-
Notifications
You must be signed in to change notification settings - Fork 0
/
html2pdf.bundle.min.js
6 lines (6 loc) · 402 KB
/
html2pdf.bundle.min.js
1
2
3
4
5
6
/**
* html2pdf.js v0.9.0
* Copyright (c) 2018 Erik Koopmans
* Released under the MIT License.
*/
!function(A,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):A.html2pdf=t()}(this,function(){"use strict";function A(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}function t(A){return A&&A.__esModule&&Object.prototype.hasOwnProperty.call(A,"default")?A.default:A}function e(A,t){return t={exports:{}},A(t,t.exports),t.exports}var n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},r=(e(function(t,e){t.exports=function(){function t(A){return"function"==typeof A}function e(){var A=setTimeout;return function(){return A(r,1)}}function r(){for(var A=0;A<v;A+=2){var t=T[A],e=T[A+1];t(e),T[A]=void 0,T[A+1]=void 0}v=0}function i(A,t){var e=arguments,n=this,r=new this.constructor(a);void 0===r[N]&&w(r);var i=n._state;return i?function(){var A=e[i-1];E(function(){return g(i,r,A,n._result)})}():f(n,r,A,t),r}function o(A){if(A&&"object"==typeof A&&A.constructor===this)return A;var t=new this(a);return l(t,A),t}function a(){}function s(A){try{return A.then}catch(A){return L.error=A,L}}function c(A,e,n){e.constructor===A.constructor&&n===i&&e.constructor.resolve===o?function(A,t){t._state===k?h(A,t._result):t._state===P?d(A,t._result):f(t,void 0,function(t){return l(A,t)},function(t){return d(A,t)})}(A,e):n===L?(d(A,L.error),L.error=null):void 0===n?h(A,e):t(n)?function(A,t,e){E(function(A){var n=!1,r=function(A,t,e,n){try{A.call(t,e,n)}catch(A){return A}}(e,t,function(e){n||(n=!0,t!==e?l(A,e):h(A,e))},function(t){n||(n=!0,d(A,t))},A._label);!n&&r&&(n=!0,d(A,r))},A)}(A,e,n):h(A,e)}function l(A,t){A===t?d(A,new TypeError("You cannot resolve a promise with itself")):!function(A){var t=typeof A;return null!==A&&("object"===t||"function"===t)}(t)?h(A,t):c(A,t,s(t))}function u(A){A._onerror&&A._onerror(A._result),B(A)}function h(A,t){A._state===O&&(A._result=t,A._state=k,0!==A._subscribers.length&&E(B,A))}function d(A,t){A._state===O&&(A._state=P,A._result=t,E(u,A))}function f(A,t,e,n){var r=A._subscribers,i=r.length;A._onerror=null,r[i]=t,r[i+k]=e,r[i+P]=n,0===i&&A._state&&E(B,A)}function B(A){var t=A._subscribers,e=A._state;if(0!==t.length){for(var n=void 0,r=void 0,i=A._result,o=0;o<t.length;o+=3)n=t[o],r=t[o+e],n?g(e,n,r,i):r(i);A._subscribers.length=0}}function p(){this.error=null}function g(A,e,n,r){var i=t(n),o=void 0,a=void 0,s=void 0,c=void 0;if(i){if((o=function(A,t){try{return A(t)}catch(A){return D.error=A,D}}(n,r))===D?(c=!0,a=o.error,o.error=null):s=!0,e===o)return void d(e,new TypeError("A promises callback cannot return that same promise."))}else o=r,s=!0;e._state!==O||(i&&s?l(e,o):c?d(e,a):A===k?h(e,o):A===P&&d(e,o))}function w(A){A[N]=R++,A._state=void 0,A._result=void 0,A._subscribers=[]}function m(A,t){this._instanceConstructor=A,this.promise=new A(a),this.promise[N]||w(this.promise),y(t)?(this.length=t.length,this._remaining=t.length,this._result=new Array(this.length),0===this.length?h(this.promise,this._result):(this.length=this.length||0,this._enumerate(t),0===this._remaining&&h(this.promise,this._result))):d(this.promise,new Error("Array Methods must be provided an Array"))}function Q(A){this[N]=R++,this._result=this._state=void 0,this._subscribers=[],a!==A&&("function"!=typeof A&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof Q?function(A,t){try{t(function(t){l(A,t)},function(t){d(A,t)})}catch(t){d(A,t)}}(this,A):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}var C=void 0;C=Array.isArray?Array.isArray:function(A){return"[object Array]"===Object.prototype.toString.call(A)};var y=C,v=0,U=void 0,F=void 0,E=function(A,t){T[v]=A,T[v+1]=t,2===(v+=2)&&(F?F(r):S())};var b="undefined"!=typeof window?window:void 0,H=b||{},x=H.MutationObserver||H.WebKitMutationObserver,_="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process),I="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;var T=new Array(1e3);var S=void 0;S=_?function(){return process.nextTick(r)}:x?function(){var A=0,t=new x(r),e=document.createTextNode("");return t.observe(e,{characterData:!0}),function(){e.data=A=++A%2}}():I?function(){var A=new MessageChannel;return A.port1.onmessage=r,function(){return A.port2.postMessage(0)}}():void 0===b&&"function"==typeof A?function(){try{var t,n=(t=A)("vertx");return U=n.runOnLoop||n.runOnContext,function(){if(void 0!==U)return function(){U(r)};return e()}()}catch(A){return e()}}():e();var N=Math.random().toString(36).substring(16);var O=void 0,k=1,P=2,L=new p;var D=new p;var R=0;m.prototype._enumerate=function(A){for(var t=0;this._state===O&&t<A.length;t++)this._eachEntry(A[t],t)},m.prototype._eachEntry=function(A,t){var e=this._instanceConstructor,n=e.resolve;if(n===o){var r=s(A);if(r===i&&A._state!==O)this._settledAt(A._state,t,A._result);else if("function"!=typeof r)this._remaining--,this._result[t]=A;else if(e===Q){var l=new e(a);c(l,A,r),this._willSettleAt(l,t)}else this._willSettleAt(new e(function(t){return t(A)}),t)}else this._willSettleAt(n(A),t)},m.prototype._settledAt=function(A,t,e){var n=this.promise;n._state===O&&(this._remaining--,A===P?d(n,e):this._result[t]=e),0===this._remaining&&h(n,this._result)},m.prototype._willSettleAt=function(A,t){var e=this;f(A,void 0,function(A){return e._settledAt(k,t,A)},function(A){return e._settledAt(P,t,A)})};Q.all=function(A){return new m(this,A).promise},Q.race=function(A){var t=this;return new t(y(A)?function(e,n){for(var r=A.length,i=0;i<r;i++)t.resolve(A[i]).then(e,n)}:function(A,t){return t(new TypeError("You must pass an array to race."))})},Q.resolve=o,Q.reject=function(A){var t=new this(a);return d(t,A),t},Q._setScheduler=function(A){F=A},Q._setAsap=function(A){E=A},Q._asap=E,Q.prototype={constructor:Q,then:i,catch:function(A){return this.then(null,A)}};return Q.polyfill=function(){var A=void 0;if(void 0!==n)A=n;else if("undefined"!=typeof self)A=self;else try{A=Function("return this")()}catch(A){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=A.Promise;if(t){var e=null;try{e=Object.prototype.toString.call(t.resolve())}catch(A){}if("[object Promise]"===e&&!t.cast)return}A.Promise=Q},Q.Promise=Q,Q}()}).polyfill(),e(function(t,e){t.exports=function(){var e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(A){return typeof A}:function(A){return A&&"function"==typeof Symbol&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},r=function(A){function n(t,a,c,l){var u={};"object"===(void 0===t?"undefined":e(t))&&(t=(u=t).orientation,a=u.unit||a,c=u.format||c,l=u.compress||u.compressPdf||l),a=a||"mm",c=c||"a4",t=(""+(t||"P")).toLowerCase(),(""+c).toLowerCase();var h,d,f,B,p,g,w,m,Q,C=!!l&&"function"==typeof Uint8Array,y=u.textColor||"0 g",v=u.drawColor||"0 G",U=u.fontSize||16,F=u.lineHeight||1.15,E=u.lineWidth||.200025,b=2,H=!1,x=[],_={},I={},T=0,S=[],N=[],O=[],k=[],P=[],L=0,D=0,R=0,K={title:"",subject:"",author:"",keywords:"",creator:""},M={},z=new function(t){var e={};this.subscribe=function(A,t,n){if("function"!=typeof t)return!1;e.hasOwnProperty(A)||(e[A]={});var r=Math.random().toString(35);return e[A][r]=[t,!!n],r},this.unsubscribe=function(A){for(var t in e)if(e[t][A])return delete e[t][A],!0;return!1},this.publish=function(n){if(e.hasOwnProperty(n)){var r=Array.prototype.slice.call(arguments,1),i=[];for(var o in e[n]){var a=e[n][o];try{a[0].apply(t,r)}catch(t){A.console&&console.error("jsPDF PubSub Error",t.message,t)}a[1]&&i.push(o)}i.length&&i.forEach(this.unsubscribe)}}}(M),q=u.hotfixes||[],X=function(A){return A.toFixed(2)},V=function(A){return A.toFixed(3)},j=function(A){return("0"+parseInt(A)).slice(-2)},G=function(A){H?S[B].push(A):(R+=A.length+1,k.push(A))},Y=function(){return b++,x[b]=R,G(b+" 0 obj"),b},J=function(A){G("stream"),G(A),G("endstream")},W=function(){var t,e,r,i,o,a,c,l,u,h=[];for(c=A.adler32cs||n.adler32cs,C&&void 0===c&&(C=!1),t=1;t<=T;t++){if(h.push(Y()),l=(p=O[t].width)*d,u=(g=O[t].height)*d,G("<</Type /Page"),G("/Parent 1 0 R"),G("/Resources 2 0 R"),G("/MediaBox [0 0 "+X(l)+" "+X(u)+"]"),z.publish("putPage",{pageNumber:t,page:S[t]}),G("/Contents "+(b+1)+" 0 R"),G(">>"),G("endobj"),e=S[t].join("\n"),Y(),C){for(r=[],i=e.length;i--;)r[i]=e.charCodeAt(i);a=c.from(e),(o=new s(6)).append(new Uint8Array(r)),e=o.flush(),(r=new Uint8Array(e.length+6)).set(new Uint8Array([120,156])),r.set(e,2),r.set(new Uint8Array([255&a,a>>8&255,a>>16&255,a>>24&255]),e.length+2),e=String.fromCharCode.apply(null,r),G("<</Length "+e.length+" /Filter [/FlateDecode]>>")}else G("<</Length "+e.length+">>");J(e),G("endobj")}x[1]=R,G("1 0 obj"),G("<</Type /Pages");var f="/Kids [";for(i=0;i<T;i++)f+=h[i]+" 0 R ";G(f+"]"),G("/Count "+T),G(">>"),G("endobj"),z.publish("postPutPages")},Z=function(A){A.objectNumber=Y(),G("<</BaseFont/"+A.PostScriptName+"/Type/Font"),"string"==typeof A.encoding&&G("/Encoding/"+A.encoding),G("/Subtype/Type1>>"),G("endobj")},$=function(){G("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),G("/Font <<");for(var A in _)_.hasOwnProperty(A)&&G("/"+A+" "+_[A].objectNumber+" 0 R");G(">>"),G("/XObject <<"),z.publish("putXobjectDict"),G(">>")},AA=function(){(function(){for(var A in _)_.hasOwnProperty(A)&&Z(_[A])})(),z.publish("putResources"),x[2]=R,G("2 0 obj"),G("<<"),$(),G(">>"),G("endobj"),z.publish("postPutResources")},tA=function(A,t,e){I.hasOwnProperty(t)||(I[t]={}),I[t][e]=A},eA=function(A,t,e,n){var r="F"+(Object.keys(_).length+1).toString(10),i=_[r]={id:r,PostScriptName:A,fontName:t,fontStyle:e,encoding:n,metadata:{}};return tA(r,t,e),z.publish("addFont",i),r},nA=function(A,t){return function(A,t){var e,n,r,i,o,a,s,c,l;if(t=t||{},r=t.sourceEncoding||"Unicode",o=t.outputEncoding,(t.autoencode||o)&&_[h].metadata&&_[h].metadata[r]&&_[h].metadata[r].encoding&&(i=_[h].metadata[r].encoding,!o&&_[h].encoding&&(o=_[h].encoding),!o&&i.codePages&&(o=i.codePages[0]),"string"==typeof o&&(o=i[o]),o)){for(s=!1,a=[],e=0,n=A.length;e<n;e++)(c=o[A.charCodeAt(e)])?a.push(String.fromCharCode(c)):a.push(A[e]),a[e].charCodeAt(0)>>8&&(s=!0);A=a.join("")}for(e=A.length;void 0===s&&0!==e;)A.charCodeAt(e-1)>>8&&(s=!0),e--;if(!s)return A;for(a=t.noBOM?[]:[254,255],e=0,n=A.length;e<n;e++){if(c=A.charCodeAt(e),(l=c>>8)>>8)throw new Error("Character at position "+e+" of string '"+A+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");a.push(l),a.push(c-(l<<8))}return String.fromCharCode.apply(void 0,a)}(A,t).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},rA=function(){(function(A,t){var e="string"==typeof t&&t.toLowerCase();if("string"==typeof A){var n=A.toLowerCase();i.hasOwnProperty(n)&&(A=i[n][0]/d,t=i[n][1]/d)}if(Array.isArray(A)&&(t=A[1],A=A[0]),e){switch(e.substr(0,1)){case"l":t>A&&(e="s");break;case"p":A>t&&(e="s")}"s"===e&&(f=A,A=t,t=f)}H=!0,S[++T]=[],O[T]={width:Number(A)||p,height:Number(t)||g},N[T]={},iA(T)}).apply(this,arguments),G(X(E*d)+" w"),G(v),0!==L&&G(L+" J"),0!==D&&G(D+" j"),z.publish("addPage",{pageNumber:T})},iA=function(A){A>0&&A<=T&&(B=A,p=O[A].width,g=O[A].height)},oA=function(A,t){var e;switch(A=void 0!==A?A:_[h].fontName,t=void 0!==t?t:_[h].fontStyle,void 0!==A&&(A=A.toLowerCase()),A){case"sans-serif":case"verdana":case"arial":case"helvetica":A="helvetica";break;case"fixed":case"monospace":case"terminal":case"courier":A="courier";break;case"serif":case"cursive":case"fantasy":default:A="times"}try{e=I[A][t]}catch(A){}return e||null==(e=I.times[t])&&(e=I.times.normal),e},aA=function(){H=!1,b=2,R=0,k=[],x=[],P=[],z.publish("buildDocument"),G("%PDF-"+r),W(),function(){z.publish("putAdditionalObjects");for(var A=0;A<P.length;A++){var t=P[A];x[t.objId]=R,G(t.objId+" 0 obj"),G(t.content),G("endobj")}b+=P.length,z.publish("postPutAdditionalObjects")}(),AA(),Y(),G("<<"),function(){G("/Producer (jsPDF "+n.version+")");for(var A in K)K.hasOwnProperty(A)&&K[A]&&G("/"+A.substr(0,1).toUpperCase()+A.substr(1)+" ("+nA(K[A])+")");var t=new Date,e=t.getTimezoneOffset(),r=e<0?"+":"-",i=Math.floor(Math.abs(e/60)),o=Math.abs(e%60),a=[r,j(i),"'",j(o),"'"].join("");G(["/CreationDate (D:",t.getFullYear(),j(t.getMonth()+1),j(t.getDate()),j(t.getHours()),j(t.getMinutes()),j(t.getSeconds()),a,")"].join(""))}(),G(">>"),G("endobj"),Y(),G("<<"),function(){switch(G("/Type /Catalog"),G("/Pages 1 0 R"),m||(m="fullwidth"),m){case"fullwidth":G("/OpenAction [3 0 R /FitH null]");break;case"fullheight":G("/OpenAction [3 0 R /FitV null]");break;case"fullpage":G("/OpenAction [3 0 R /Fit]");break;case"original":G("/OpenAction [3 0 R /XYZ null null 1]");break;default:var A=""+m;"%"===A.substr(A.length-1)&&(m=parseInt(m)/100),"number"==typeof m&&G("/OpenAction [3 0 R /XYZ null null "+X(m)+"]")}switch(Q||(Q="continuous"),Q){case"continuous":G("/PageLayout /OneColumn");break;case"single":G("/PageLayout /SinglePage");break;case"two":case"twoleft":G("/PageLayout /TwoColumnLeft");break;case"tworight":G("/PageLayout /TwoColumnRight")}w&&G("/PageMode /"+w),z.publish("putCatalog")}(),G(">>"),G("endobj");var A,t=R,e="0000000000";for(G("xref"),G("0 "+(b+1)),G(e+" 65535 f "),A=1;A<=b;A++){var i=x[A];G("function"==typeof i?(e+x[A]()).slice(-10)+" 00000 n ":(e+x[A]).slice(-10)+" 00000 n ")}return G("trailer"),G("<<"),G("/Size "+(b+1)),G("/Root "+b+" 0 R"),G("/Info "+(b-1)+" 0 R"),G(">>"),G("startxref"),G(""+t),G("%%EOF"),H=!0,k.join("\n")},sA=function(A){var t="S";return"F"===A?t="f":"FD"===A||"DF"===A?t="B":"f"!==A&&"f*"!==A&&"B"!==A&&"B*"!==A||(t=A),t},cA=function(){for(var A=aA(),t=A.length,e=new ArrayBuffer(t),n=new Uint8Array(e);t--;)n[t]=A.charCodeAt(t);return e},lA=function(){return new Blob([cA()],{type:"application/pdf"})},uA=function(t){return t.foo=function(){try{return t.apply(this,arguments)}catch(t){var e=t.stack||"";~e.indexOf(" at ")&&(e=e.split(" at ")[1]);var n="Error in function "+e.split("\n")[0].split("<")[0]+": "+t.message;if(!A.console)throw new Error(n);A.console.error(n,t),A.alert&&alert(n)}},t.foo.bar=t,t.foo}(function(t,e){var n="dataur"===(""+t).substr(0,6)?"data:application/pdf;base64,"+btoa(aA()):0;switch(t){case void 0:return aA();case"save":if(navigator.getUserMedia&&(void 0===A.URL||void 0===A.URL.createObjectURL))return M.output("dataurlnewwindow");o(lA(),e),"function"==typeof o.unload&&A.setTimeout&&setTimeout(o.unload,911);break;case"arraybuffer":return cA();case"blob":return lA();case"bloburi":case"bloburl":return A.URL&&A.URL.createObjectURL(lA())||void 0;case"datauristring":case"dataurlstring":return n;case"dataurlnewwindow":var r=A.open(n);if(r||"undefined"==typeof safari)return r;case"datauri":case"dataurl":return A.document.location.href=n;default:throw new Error('Output type "'+t+'" is not supported.')}}),hA=function(A){return!0===Array.isArray(q)&&q.indexOf(A)>-1};switch(a){case"pt":d=1;break;case"mm":d=72/25.4000508;break;case"cm":d=72/2.54000508;break;case"in":d=72;break;case"px":d=1==hA("px_scaling")?.75:96/72;break;case"pc":case"em":d=12;break;case"ex":d=6;break;default:throw"Invalid unit: "+a}M.internal={pdfEscape:nA,getStyle:sA,getFont:function(){return _[oA.apply(M,arguments)]},getFontSize:function(){return U},getLineHeight:function(){return U*F},write:function(A){G(1===arguments.length?A:Array.prototype.join.call(arguments," "))},getCoordinateString:function(A){return X(A*d)},getVerticalCoordinateString:function(A){return X((g-A)*d)},collections:{},newObject:Y,newAdditionalObject:function(){var A=2*S.length+1,t={objId:A+=P.length,content:""};return P.push(t),t},newObjectDeferred:function(){return b++,x[b]=function(){return R},b},newObjectDeferredBegin:function(A){x[A]=R},putStream:J,events:z,scaleFactor:d,pageSize:{get width(){return p},get height(){return g}},output:function(A,t){return uA(A,t)},getNumberOfPages:function(){return S.length-1},pages:S,out:G,f2:X,getPageInfo:function(A){return{objId:2*(A-1)+3,pageNumber:A,pageContext:N[A]}},getCurrentPageInfo:function(){return{objId:2*(B-1)+3,pageNumber:B,pageContext:N[B]}},getPDFVersion:function(){return r},hasHotfix:hA},M.addPage=function(){return rA.apply(this,arguments),this},M.setPage=function(){return iA.apply(this,arguments),this},M.insertPage=function(A){return this.addPage(),this.movePage(B,A),this},M.movePage=function(A,t){if(A>t){for(var e=S[A],n=O[A],r=N[A],i=A;i>t;i--)S[i]=S[i-1],O[i]=O[i-1],N[i]=N[i-1];S[t]=e,O[t]=n,N[t]=r,this.setPage(t)}else if(A<t){for(var e=S[A],n=O[A],r=N[A],i=A;i<t;i++)S[i]=S[i+1],O[i]=O[i+1],N[i]=N[i+1];S[t]=e,O[t]=n,N[t]=r,this.setPage(t)}return this},M.deletePage=function(){return function(A){A>0&&A<=T&&(S.splice(A,1),O.splice(A,1),B>--T&&(B=T),this.setPage(B))}.apply(this,arguments),this},M.setDisplayMode=function(A,t,e){if(m=A,Q=t,w=e,-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(e))throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+e+'" is not recognized.');return this},M.text=function(A,t,e,n,r,i){function o(A){return A=A.split("\t").join(Array(u.TabLen||9).join(" ")),nA(A,n)}"number"==typeof A&&(f=e,e=t,t=A,A=f),"string"==typeof A&&(A=A.match(/[\n\r]/)?A.split(/\r\n|\r|\n/g):[A]),"string"==typeof r&&(i=r,r=null),"string"==typeof n&&(i=n,n=null),"number"==typeof n&&(r=n,n=null);var a="",s="Td";if(r){r*=Math.PI/180;var c=Math.cos(r),l=Math.sin(r);a=[X(c),X(l),X(-1*l),X(c),""].join(" "),s="Tm"}"noBOM"in(n=n||{})||(n.noBOM=!0),"autoencode"in n||(n.autoencode=!0);var B="",p=this.internal.getCurrentPageInfo().pageContext;if(!0===n.stroke?!0!==p.lastTextWasStroke&&(B="1 Tr\n",p.lastTextWasStroke=!0):(p.lastTextWasStroke&&(B="0 Tr\n"),p.lastTextWasStroke=!1),void 0===this._runningPageHeight&&(this._runningPageHeight=0),"string"==typeof A)A=o(A);else{if("[object Array]"!==Object.prototype.toString.call(A))throw new Error('Type of text must be string or Array. "'+A+'" is not recognized.');for(var w=A.concat(),m=[],Q=w.length;Q--;)m.push(o(w.shift()));if(i){var C,v,E,b=U*F,H=A.map(function(A){return this.getStringUnitWidth(A)*U/d},this);if(E=Math.max.apply(Math,H),"center"===i)C=t-E/2,t-=H[0]/2;else{if("right"!==i)throw new Error('Unrecognized alignment option, use "center" or "right".');C=t-E,t-=H[0]}v=t,A=m[0];for(var x=1,Q=m.length;x<Q;x++){var _=E-H[x];"center"===i&&(_/=2),A+=") Tj\n"+(C-v+_)+" -"+b+" Td ("+m[x],v=C+_}}else A=m.join(") Tj\nT* (")}var I;return I=X((g-e)*d),G("BT\n/"+h+" "+U+" Tf\n"+U*F+" TL\n"+B+y+"\n"+a+X(t*d)+" "+I+" "+s+"\n("+A+") Tj\nET"),this},M.lstext=function(A,t,e,n){console.warn("jsPDF.lstext is deprecated");for(var r=0,i=A.length;r<i;r++,t+=n)this.text(A[r],t,e);return this},M.line=function(A,t,e,n){return this.lines([[e-A,n-t]],A,t)},M.clip=function(){G("W"),G("S")},M.clip_fixed=function(A){G("evenodd"===A?"W*":"W"),G("n")},M.lines=function(A,t,e,n,r,i){var o,a,s,c,l,u,h,B,p,w,m;for("number"==typeof A&&(f=e,e=t,t=A,A=f),n=n||[1,1],G(V(t*d)+" "+V((g-e)*d)+" m "),o=n[0],a=n[1],c=A.length,w=t,m=e,s=0;s<c;s++)2===(l=A[s]).length?(w=l[0]*o+w,m=l[1]*a+m,G(V(w*d)+" "+V((g-m)*d)+" l")):(u=l[0]*o+w,h=l[1]*a+m,B=l[2]*o+w,p=l[3]*a+m,w=l[4]*o+w,m=l[5]*a+m,G(V(u*d)+" "+V((g-h)*d)+" "+V(B*d)+" "+V((g-p)*d)+" "+V(w*d)+" "+V((g-m)*d)+" c"));return i&&G(" h"),null!==r&&G(sA(r)),this},M.rect=function(A,t,e,n,r){return sA(r),G([X(A*d),X((g-t)*d),X(e*d),X(-n*d),"re"].join(" ")),null!==r&&G(sA(r)),this},M.triangle=function(A,t,e,n,r,i,o){return this.lines([[e-A,n-t],[r-e,i-n],[A-r,t-i]],A,t,[1,1],o,!0),this},M.roundedRect=function(A,t,e,n,r,i,o){var a=4/3*(Math.SQRT2-1);return this.lines([[e-2*r,0],[r*a,0,r,i-i*a,r,i],[0,n-2*i],[0,i*a,-r*a,i,-r,i],[2*r-e,0],[-r*a,0,-r,-i*a,-r,-i],[0,2*i-n],[0,-i*a,r*a,-i,r,-i]],A+r,t,[1,1],o),this},M.ellipse=function(A,t,e,n,r){var i=4/3*(Math.SQRT2-1)*e,o=4/3*(Math.SQRT2-1)*n;return G([X((A+e)*d),X((g-t)*d),"m",X((A+e)*d),X((g-(t-o))*d),X((A+i)*d),X((g-(t-n))*d),X(A*d),X((g-(t-n))*d),"c"].join(" ")),G([X((A-i)*d),X((g-(t-n))*d),X((A-e)*d),X((g-(t-o))*d),X((A-e)*d),X((g-t)*d),"c"].join(" ")),G([X((A-e)*d),X((g-(t+o))*d),X((A-i)*d),X((g-(t+n))*d),X(A*d),X((g-(t+n))*d),"c"].join(" ")),G([X((A+i)*d),X((g-(t+n))*d),X((A+e)*d),X((g-(t+o))*d),X((A+e)*d),X((g-t)*d),"c"].join(" ")),null!==r&&G(sA(r)),this},M.circle=function(A,t,e,n){return this.ellipse(A,t,e,e,n)},M.setProperties=function(A){for(var t in K)K.hasOwnProperty(t)&&A[t]&&(K[t]=A[t]);return this},M.setFontSize=function(A){return U=A,this},M.setFont=function(A,t){return h=oA(A,t),this},M.setFontStyle=M.setFontType=function(A){return h=oA(void 0,A),this},M.getFontList=function(){var A,t,e,n={};for(A in I)if(I.hasOwnProperty(A)){n[A]=e=[];for(t in I[A])I[A].hasOwnProperty(t)&&e.push(t)}return n},M.addFont=function(A,t,e){eA(A,t,e,"StandardEncoding")},M.setLineWidth=function(A){return G((A*d).toFixed(2)+" w"),this},M.setDrawColor=function(A,t,e,n){var r;return r=void 0===t||void 0===n&&A===t===e?"string"==typeof A?A+" G":X(A/255)+" G":void 0===n?"string"==typeof A?[A,t,e,"RG"].join(" "):[X(A/255),X(t/255),X(e/255),"RG"].join(" "):"string"==typeof A?[A,t,e,n,"K"].join(" "):[X(A),X(t),X(e),X(n),"K"].join(" "),G(r),this},M.setFillColor=function(A,t,n,r){var i;return void 0===t||void 0===r&&A===t===n?i="string"==typeof A?A+" g":X(A/255)+" g":void 0===r||"object"===(void 0===r?"undefined":e(r))?(i="string"==typeof A?[A,t,n,"rg"].join(" "):[X(A/255),X(t/255),X(n/255),"rg"].join(" "),r&&0===r.a&&(i=["255","255","255","rg"].join(" "))):i="string"==typeof A?[A,t,n,r,"k"].join(" "):[X(A),X(t),X(n),X(r),"k"].join(" "),G(i),this},M.setTextColor=function(A,t,e){if("string"==typeof A&&/^#[0-9A-Fa-f]{6}$/.test(A)){var n=parseInt(A.substr(1),16);A=n>>16&255,t=n>>8&255,e=255&n}return y=0===A&&0===t&&0===e||void 0===t?V(A/255)+" g":[V(A/255),V(t/255),V(e/255),"rg"].join(" "),this},M.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},M.setLineCap=function(A){var t=this.CapJoinStyles[A];if(void 0===t)throw new Error("Line cap style of '"+A+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return L=t,G(t+" J"),this},M.setLineJoin=function(A){var t=this.CapJoinStyles[A];if(void 0===t)throw new Error("Line join style of '"+A+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return D=t,G(t+" j"),this},M.output=uA,M.save=function(A){M.output("save",A)};for(var dA in n.API)n.API.hasOwnProperty(dA)&&("events"===dA&&n.API.events.length?function(A,t){var e,n,r;for(r=t.length-1;-1!==r;r--)e=t[r][0],n=t[r][1],A.subscribe.apply(A,[e].concat("function"==typeof n?[n]:n))}(z,n.API.events):M[dA]=n.API[dA]);return function(){for(var A=[["Helvetica","helvetica","normal"],["Helvetica-Bold","helvetica","bold"],["Helvetica-Oblique","helvetica","italic"],["Helvetica-BoldOblique","helvetica","bolditalic"],["Courier","courier","normal"],["Courier-Bold","courier","bold"],["Courier-Oblique","courier","italic"],["Courier-BoldOblique","courier","bolditalic"],["Times-Roman","times","normal"],["Times-Bold","times","bold"],["Times-Italic","times","italic"],["Times-BoldItalic","times","bolditalic"],["ZapfDingbats","zapfdingbats"]],t=0,e=A.length;t<e;t++){var n=eA(A[t][0],A[t][1],A[t][2],"StandardEncoding"),r=A[t][0].split("-");tA(n,r[0],r[1]||"")}z.publish("addFonts",{fonts:_,dictionary:I})}(),h="F1",rA(c,t),z.publish("initialized"),M}var r="1.3",i={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]};return n.API={events:[]},n.version="1.x-master",t.exports?t.exports=n:A.jsPDF=n,n}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||void 0);(window.AcroForm=function(A){var t=window.AcroForm;t.scale=function(A){return A*(e.internal.scaleFactor/1)},t.antiScale=function(A){return 1/e.internal.scaleFactor*A};var e={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null};r.API.acroformPlugin=e;var n=function(){for(var A in this.acroformPlugin.acroFormDictionaryRoot.Fields){var t=this.acroformPlugin.acroFormDictionaryRoot.Fields[A];t.hasAnnotation&&i.call(this,t)}},i=function(A){var t={type:"reference",object:A};r.API.annotationPlugin.annotations[this.internal.getPageInfo(A.page).pageNumber].push(t)},o=function(A){this.acroformPlugin.printedOut&&(this.acroformPlugin.printedOut=!1,this.acroformPlugin.acroFormDictionaryRoot=null),this.acroformPlugin.acroFormDictionaryRoot||function(){if(this.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");this.acroformPlugin.acroFormDictionaryRoot=new t.AcroFormDictionary,this.acroformPlugin.internal=this.internal,this.acroformPlugin.acroFormDictionaryRoot._eventID=this.internal.events.subscribe("postPutResources",s),this.internal.events.subscribe("buildDocument",n),this.internal.events.subscribe("putCatalog",a),this.internal.events.subscribe("postPutPages",c)}.call(this),this.acroformPlugin.acroFormDictionaryRoot.Fields.push(A)},a=function(){void 0!==this.acroformPlugin.acroFormDictionaryRoot?this.internal.write("/AcroForm "+this.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R"):console.log("Root missing...")},s=function(){this.internal.events.unsubscribe(this.acroformPlugin.acroFormDictionaryRoot._eventID),delete this.acroformPlugin.acroFormDictionaryRoot._eventID,this.acroformPlugin.printedOut=!0},c=function(A){var e=!A;A||(this.internal.newObjectDeferredBegin(this.acroformPlugin.acroFormDictionaryRoot.objId),this.internal.out(this.acroformPlugin.acroFormDictionaryRoot.getString()));A=A||this.acroformPlugin.acroFormDictionaryRoot.Kids;for(var n in A){var r=A[n],i=r.Rect;r.Rect&&(r.Rect=t.internal.calculateCoordinates.call(this,r.Rect)),this.internal.newObjectDeferredBegin(r.objId);var o="";if(o+=r.objId+" 0 obj\n",o+="<<\n"+r.getContent(),r.Rect=i,r.hasAppearanceStream&&!r.appearanceStreamContent){var a=t.internal.calculateAppearanceStream.call(this,r);o+="/AP << /N "+a+" >>\n",this.acroformPlugin.xForms.push(a)}if(r.appearanceStreamContent){o+="/AP << ";for(var s in r.appearanceStreamContent){var c=r.appearanceStreamContent[s];if(o+="/"+s+" ",o+="<< ",Object.keys(c).length>=1||Array.isArray(c))for(var n in c)"function"==typeof(u=c[n])&&(u=u.call(this,r)),o+="/"+n+" "+u+" ",this.acroformPlugin.xForms.indexOf(u)>=0||this.acroformPlugin.xForms.push(u);else{var u=c;"function"==typeof u&&(u=u.call(this,r)),o+="/"+n+" "+u+" \n",this.acroformPlugin.xForms.indexOf(u)>=0||this.acroformPlugin.xForms.push(u)}o+=" >>\n"}o+=">>\n"}o+=">>\nendobj\n",this.internal.out(o)}e&&l.call(this,this.acroformPlugin.xForms)},l=function(A){for(var t in A){var e=t,n=A[t];this.internal.newObjectDeferredBegin(n&&n.objId);var r="";r+=n?n.getString():"",this.internal.out(r),delete A[e]}};A.addField=function(A){return A instanceof t.TextField?h.call(this,A):A instanceof t.ChoiceField?d.call(this,A):A instanceof t.Button?u.call(this,A):A instanceof t.ChildClass?o.call(this,A):A&&o.call(this,A),A.page=this.acroformPlugin.internal.getCurrentPageInfo().pageNumber,this};var u=function(A){(A=A||new t.Field).FT="/Btn";var e=A.Ff||0;A.pushbutton&&(e=t.internal.setBitPosition(e,17),delete A.pushbutton),A.radio&&(e=t.internal.setBitPosition(e,16),delete A.radio),A.noToggleToOff&&(e=t.internal.setBitPosition(e,15)),A.Ff=e,o.call(this,A)},h=function(A){(A=A||new t.Field).FT="/Tx";var e=A.Ff||0;A.multiline&&(e|=4096),A.password&&(e|=8192),A.fileSelect&&(e|=1<<20),A.doNotSpellCheck&&(e|=1<<22),A.doNotScroll&&(e|=1<<23),A.Ff=A.Ff||e,o.call(this,A)},d=function(A){var e=A||new t.Field;e.FT="/Ch";var n=e.Ff||0;e.combo&&(n=t.internal.setBitPosition(n,18),delete e.combo),e.edit&&(n=t.internal.setBitPosition(n,19),delete e.edit),e.sort&&(n=t.internal.setBitPosition(n,20),delete e.sort),e.multiSelect&&this.internal.getPDFVersion()>=1.4&&(n=t.internal.setBitPosition(n,22),delete e.multiSelect),e.doNotSpellCheck&&this.internal.getPDFVersion()>=1.4&&(n=t.internal.setBitPosition(n,23),delete e.doNotSpellCheck),e.Ff=n,o.call(this,e)}})(r.API);var i=window.AcroForm;i.internal={},i.createFormXObject=function(A){var t=new i.FormXObject,e=i.Appearance.internal.getHeight(A)||0,n=i.Appearance.internal.getWidth(A)||0;return t.BBox=[0,0,n,e],t},i.Appearance={CheckBox:{createAppearanceStream:function(){return{N:{On:i.Appearance.CheckBox.YesNormal},D:{On:i.Appearance.CheckBox.YesPushDown,Off:i.Appearance.CheckBox.OffPushDown}}},createMK:function(){return"<< /CA (3)>>"},YesPushDown:function(A){var t=i.createFormXObject(A),e="";A.Q=1;var n=i.internal.calculateX(A,"3","ZapfDingbats",50);return e+="0.749023 g\n 0 0 "+i.Appearance.internal.getWidth(A)+" "+i.Appearance.internal.getHeight(A)+" re\n f\n BMC\n q\n 0 0 1 rg\n /F13 "+n.fontSize+" Tf 0 g\n BT\n",e+=n.text,e+="ET\n Q\n EMC\n",t.stream=e,t},YesNormal:function(A){var t=i.createFormXObject(A),e="";A.Q=1;var n=i.internal.calculateX(A,"3","ZapfDingbats",.9*i.Appearance.internal.getHeight(A));return e+="1 g\n0 0 "+i.Appearance.internal.getWidth(A)+" "+i.Appearance.internal.getHeight(A)+" re\nf\nq\n0 0 1 rg\n0 0 "+(i.Appearance.internal.getWidth(A)-1)+" "+(i.Appearance.internal.getHeight(A)-1)+" re\nW\nn\n0 g\nBT\n/F13 "+n.fontSize+" Tf 0 g\n",e+=n.text,e+="ET\n Q\n",t.stream=e,t},OffPushDown:function(A){var t=i.createFormXObject(A),e="";return e+="0.749023 g\n 0 0 "+i.Appearance.internal.getWidth(A)+" "+i.Appearance.internal.getHeight(A)+" re\n f\n",t.stream=e,t}},RadioButton:{Circle:{createAppearanceStream:function(A){var t={D:{Off:i.Appearance.RadioButton.Circle.OffPushDown},N:{}};return t.N[A]=i.Appearance.RadioButton.Circle.YesNormal,t.D[A]=i.Appearance.RadioButton.Circle.YesPushDown,t},createMK:function(){return"<< /CA (l)>>"},YesNormal:function(A){var t=i.createFormXObject(A),e="",n=i.Appearance.internal.getWidth(A)<=i.Appearance.internal.getHeight(A)?i.Appearance.internal.getWidth(A)/4:i.Appearance.internal.getHeight(A)/4;n*=.9;var r=i.Appearance.internal.Bezier_C;return e+="q\n1 0 0 1 "+i.Appearance.internal.getWidth(A)/2+" "+i.Appearance.internal.getHeight(A)/2+" cm\n"+n+" 0 m\n"+n+" "+n*r+" "+n*r+" "+n+" 0 "+n+" c\n-"+n*r+" "+n+" -"+n+" "+n*r+" -"+n+" 0 c\n-"+n+" -"+n*r+" -"+n*r+" -"+n+" 0 -"+n+" c\n"+n*r+" -"+n+" "+n+" -"+n*r+" "+n+" 0 c\nf\nQ\n",t.stream=e,t},YesPushDown:function(A){var t=i.createFormXObject(A),e="",n=i.Appearance.internal.getWidth(A)<=i.Appearance.internal.getHeight(A)?i.Appearance.internal.getWidth(A)/4:i.Appearance.internal.getHeight(A)/4,r=2*(n*=.9),o=r*i.Appearance.internal.Bezier_C,a=n*i.Appearance.internal.Bezier_C;return e+="0.749023 g\n q\n 1 0 0 1 "+i.Appearance.internal.getWidth(A)/2+" "+i.Appearance.internal.getHeight(A)/2+" cm\n"+r+" 0 m\n"+r+" "+o+" "+o+" "+r+" 0 "+r+" c\n-"+o+" "+r+" -"+r+" "+o+" -"+r+" 0 c\n-"+r+" -"+o+" -"+o+" -"+r+" 0 -"+r+" c\n"+o+" -"+r+" "+r+" -"+o+" "+r+" 0 c\n f\n Q\n 0 g\n q\n 1 0 0 1 "+i.Appearance.internal.getWidth(A)/2+" "+i.Appearance.internal.getHeight(A)/2+" cm\n"+n+" 0 m\n"+n+" "+a+" "+a+" "+n+" 0 "+n+" c\n-"+a+" "+n+" -"+n+" "+a+" -"+n+" 0 c\n-"+n+" -"+a+" -"+a+" -"+n+" 0 -"+n+" c\n"+a+" -"+n+" "+n+" -"+a+" "+n+" 0 c\n f\n Q\n",t.stream=e,t},OffPushDown:function(A){var t=i.createFormXObject(A),e="",n=i.Appearance.internal.getWidth(A)<=i.Appearance.internal.getHeight(A)?i.Appearance.internal.getWidth(A)/4:i.Appearance.internal.getHeight(A)/4,r=2*(n*=.9),o=r*i.Appearance.internal.Bezier_C;return e+="0.749023 g\n q\n 1 0 0 1 "+i.Appearance.internal.getWidth(A)/2+" "+i.Appearance.internal.getHeight(A)/2+" cm\n"+r+" 0 m\n"+r+" "+o+" "+o+" "+r+" 0 "+r+" c\n-"+o+" "+r+" -"+r+" "+o+" -"+r+" 0 c\n-"+r+" -"+o+" -"+o+" -"+r+" 0 -"+r+" c\n"+o+" -"+r+" "+r+" -"+o+" "+r+" 0 c\n f\n Q\n",t.stream=e,t}},Cross:{createAppearanceStream:function(A){var t={D:{Off:i.Appearance.RadioButton.Cross.OffPushDown},N:{}};return t.N[A]=i.Appearance.RadioButton.Cross.YesNormal,t.D[A]=i.Appearance.RadioButton.Cross.YesPushDown,t},createMK:function(){return"<< /CA (8)>>"},YesNormal:function(A){var t=i.createFormXObject(A),e="",n=i.Appearance.internal.calculateCross(A);return e+="q\n 1 1 "+(i.Appearance.internal.getWidth(A)-2)+" "+(i.Appearance.internal.getHeight(A)-2)+" re\n W\n n\n "+n.x1.x+" "+n.x1.y+" m\n "+n.x2.x+" "+n.x2.y+" l\n "+n.x4.x+" "+n.x4.y+" m\n "+n.x3.x+" "+n.x3.y+" l\n s\n Q\n",t.stream=e,t},YesPushDown:function(A){var t=i.createFormXObject(A),e=i.Appearance.internal.calculateCross(A),n="";return n+="0.749023 g\n 0 0 "+i.Appearance.internal.getWidth(A)+" "+i.Appearance.internal.getHeight(A)+" re\n f\n q\n 1 1 "+(i.Appearance.internal.getWidth(A)-2)+" "+(i.Appearance.internal.getHeight(A)-2)+" re\n W\n n\n "+e.x1.x+" "+e.x1.y+" m\n "+e.x2.x+" "+e.x2.y+" l\n "+e.x4.x+" "+e.x4.y+" m\n "+e.x3.x+" "+e.x3.y+" l\n s\n Q\n",t.stream=n,t},OffPushDown:function(A){var t=i.createFormXObject(A),e="";return e+="0.749023 g\n 0 0 "+i.Appearance.internal.getWidth(A)+" "+i.Appearance.internal.getHeight(A)+" re\n f\n",t.stream=e,t}}},createDefaultAppearanceStream:function(A){var t="";return t+="/Helv 0 Tf 0 g"}},i.Appearance.internal={Bezier_C:.551915024494,calculateCross:function(A){var t=i.Appearance.internal.getWidth(A),e=i.Appearance.internal.getHeight(A),n=function(A,t){return A>e?e:A}(t);return{x1:{x:(t-n)/2,y:(e-n)/2+n},x2:{x:(t-n)/2+n,y:(e-n)/2},x3:{x:(t-n)/2,y:(e-n)/2},x4:{x:(t-n)/2+n,y:(e-n)/2+n}}}},i.Appearance.internal.getWidth=function(A){return A.Rect[2]},i.Appearance.internal.getHeight=function(A){return A.Rect[3]},i.internal.inherit=function(A,t){A.prototype=Object.create(t.prototype),A.prototype.constructor=A},i.internal.arrayToPdfArray=function(A){if(Array.isArray(A)){var t=" [";for(var e in A)t+=A[e].toString(),t+=e<A.length-1?" ":"";return t+="]"}},i.internal.toPdfString=function(A){return 0!==(A=A||"").indexOf("(")&&(A="("+A),")"!=A.substring(A.length-1)&&(A+="("),A},i.PDFObject=function(){var A;Object.defineProperty(this,"objId",{get:function(){return A||(this.internal?A=this.internal.newObjectDeferred():r.API.acroformPlugin.internal&&(A=r.API.acroformPlugin.internal.newObjectDeferred())),A||console.log("Couldn't create Object ID"),A},configurable:!1})},i.PDFObject.prototype.toString=function(){return this.objId+" 0 R"},i.PDFObject.prototype.getString=function(){var A=this.objId+" 0 obj\n<<";return A+=this.getContent()+">>\n",this.stream&&(A+="stream\n",A+=this.stream,A+="endstream\n"),A+="endobj\n"},i.PDFObject.prototype.getContent=function(){var A="";return A+=function(A){var t="",e=Object.keys(A).filter(function(A){return"content"!=A&&"appearanceStreamContent"!=A&&"_"!=A.substring(0,1)});for(var n in e){var r=e[n],o=A[r];o&&(Array.isArray(o)?t+="/"+r+" "+i.internal.arrayToPdfArray(o)+"\n":o instanceof i.PDFObject?t+="/"+r+" "+o.objId+" 0 R\n":t+="/"+r+" "+o+"\n")}return t}(this)},i.FormXObject=function(){i.PDFObject.call(this),this.Type="/XObject",this.Subtype="/Form",this.FormType=1,this.BBox,this.Matrix,this.Resources="2 0 R",this.PieceInfo;var A;Object.defineProperty(this,"Length",{enumerable:!0,get:function(){return void 0!==A?A.length:0}}),Object.defineProperty(this,"stream",{enumerable:!1,set:function(t){A=t},get:function(){return A||null}})},i.internal.inherit(i.FormXObject,i.PDFObject),i.AcroFormDictionary=function(){i.PDFObject.call(this);var A=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return A.length>0?A:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!0,configurable:!0,get:function(){return A}}),this.DA},i.internal.inherit(i.AcroFormDictionary,i.PDFObject),i.Field=function(){i.PDFObject.call(this);var A;Object.defineProperty(this,"Rect",{enumerable:!0,configurable:!1,get:function(){if(A)return A},set:function(t){A=t}});var t="";Object.defineProperty(this,"FT",{enumerable:!0,set:function(A){t=A},get:function(){return t}});var e;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,set:function(A){e=A},get:function(){if(!e||e.length<1){if(this instanceof i.ChildClass)return;return"(FieldObject"+i.Field.FieldNum+++")"}return"("==e.substring(0,1)&&e.substring(e.length-1)?e:"("+e+")"}});var n;Object.defineProperty(this,"DA",{enumerable:!0,get:function(){if(n)return"("+n+")"},set:function(A){n=A}});var r;Object.defineProperty(this,"DV",{enumerable:!0,configurable:!0,get:function(){if(r)return r},set:function(A){r=A}}),Object.defineProperty(this,"Type",{enumerable:!0,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,get:function(){return this.hasAnnotation?"/Widget":null}}),this.BG,Object.defineProperty(this,"hasAnnotation",{enumerable:!1,get:function(){return!!(this.Rect||this.BC||this.BG)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!1,configurable:!0,writable:!0}),Object.defineProperty(this,"page",{enumerable:!1,configurable:!0,writable:!0})},i.Field.FieldNum=0,i.internal.inherit(i.Field,i.PDFObject),i.ChoiceField=function(){i.Field.call(this),this.FT="/Ch",this.Opt=[],this.V="()",this.TI=0,this.combo=!1,Object.defineProperty(this,"edit",{enumerable:!0,set:function(A){1==A?(this._edit=!0,this.combo=!0):this._edit=!1},get:function(){return!!this._edit&&this._edit},configurable:!1}),this.hasAppearanceStream=!0,Object.defineProperty(this,"V",{get:function(){i.internal.toPdfString()}})},i.internal.inherit(i.ChoiceField,i.Field),window.ChoiceField=i.ChoiceField,i.ListBox=function(){i.ChoiceField.call(this)},i.internal.inherit(i.ListBox,i.ChoiceField),window.ListBox=i.ListBox,i.ComboBox=function(){i.ListBox.call(this),this.combo=!0},i.internal.inherit(i.ComboBox,i.ListBox),window.ComboBox=i.ComboBox,i.EditBox=function(){i.ComboBox.call(this),this.edit=!0},i.internal.inherit(i.EditBox,i.ComboBox),window.EditBox=i.EditBox,i.Button=function(){i.Field.call(this),this.FT="/Btn"},i.internal.inherit(i.Button,i.Field),window.Button=i.Button,i.PushButton=function(){i.Button.call(this),this.pushbutton=!0},i.internal.inherit(i.PushButton,i.Button),window.PushButton=i.PushButton,i.RadioButton=function(){i.Button.call(this),this.radio=!0;var A=[];Object.defineProperty(this,"Kids",{enumerable:!0,get:function(){if(A.length>0)return A}}),Object.defineProperty(this,"__Kids",{get:function(){return A}});var t;Object.defineProperty(this,"noToggleToOff",{enumerable:!1,get:function(){return t},set:function(A){t=A}})},i.internal.inherit(i.RadioButton,i.Button),window.RadioButton=i.RadioButton,i.ChildClass=function(A,t){i.Field.call(this),this.Parent=A,this._AppearanceType=i.Appearance.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(t),this.F=i.internal.setBitPosition(this.F,3,1),this.MK=this._AppearanceType.createMK(),this.AS="/Off",this._Name=t},i.internal.inherit(i.ChildClass,i.Field),i.RadioButton.prototype.setAppearance=function(A){if("createAppearanceStream"in A&&"createMK"in A)for(var t in this.__Kids){var e=this.__Kids[t];e.appearanceStreamContent=A.createAppearanceStream(e._Name),e.MK=A.createMK()}else console.log("Couldn't assign Appearance to RadioButton. Appearance was Invalid!")},i.RadioButton.prototype.createOption=function(A){var t=new i.ChildClass(this,A);return this.__Kids.push(t),r.API.addField(t),t},i.CheckBox=function(){Button.call(this),this.appearanceStreamContent=i.Appearance.CheckBox.createAppearanceStream(),this.MK=i.Appearance.CheckBox.createMK(),this.AS="/On",this.V="/On"},i.internal.inherit(i.CheckBox,i.Button),window.CheckBox=i.CheckBox,i.TextField=function(){i.Field.call(this),this.DA=i.Appearance.createDefaultAppearanceStream(),this.F=4;var A;Object.defineProperty(this,"V",{get:function(){return A?"("+A+")":A},enumerable:!0,set:function(t){A=t}});var t;Object.defineProperty(this,"DV",{get:function(){return t?"("+t+")":t},enumerable:!0,set:function(A){t=A}});var e=!1;Object.defineProperty(this,"multiline",{enumerable:!1,get:function(){return e},set:function(A){e=A}});var n=!1;Object.defineProperty(this,"MaxLen",{enumerable:!0,get:function(){return n},set:function(A){n=A}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!1,get:function(){return this.V||this.DV}})},i.internal.inherit(i.TextField,i.Field),window.TextField=i.TextField,i.PasswordField=function(){TextField.call(this),Object.defineProperty(this,"password",{value:!0,enumerable:!1,configurable:!1,writable:!1})},i.internal.inherit(i.PasswordField,i.TextField),window.PasswordField=i.PasswordField,i.internal.calculateFontSpace=function(A,t,e){var e=e||"helvetica",n=i.internal.calculateFontSpace.canvas||(i.internal.calculateFontSpace.canvas=document.createElement("canvas"));(a=n.getContext("2d")).save();var r=t+" "+e;a.font=r;var o=a.measureText(A);a.fontcolor="black";var a=n.getContext("2d");return o.height=1.5*a.measureText("3").width,a.restore(),o},i.internal.calculateX=function(A,t,e,n){var n=n||12,e=e||"helvetica",r={text:"",fontSize:""},o=(t=")"==(t="("==t.substr(0,1)?t.substr(1):t).substr(t.length-1)?t.substr(0,t.length-1):t).split(" "),a=n,s=i.Appearance.internal.getHeight(A)||0;s=s<0?-s:s;var c=i.Appearance.internal.getWidth(A)||0;c=c<0?-c:c,a++;A:for(;;){t="";a--;var l=i.internal.calculateFontSpace("3",a+"px",e).height,u=A.multiline?s-a:(s-l)/2,h=-2,d=u+=2,f=0,B=0,p=0;if(0==a){a=12,t="(...) Tj\n",t+="% Width of Text: "+i.internal.calculateFontSpace(t,"1px").width+", FieldWidth:"+c+"\n";break}p=i.internal.calculateFontSpace(o[0]+" ",a+"px",e).width;var g="",w=0;for(var m in o){g=" "==(g+=o[m]+" ").substr(g.length-1)?g.substr(0,g.length-1):g;var Q=parseInt(m);p=i.internal.calculateFontSpace(g+" ",a+"px",e).width;var C=function(A,t,n){if(A+1<o.length){var r=t+" "+o[A+1];return i.internal.calculateFontSpace(r,n+"px",e).width<=c-4}return!1}(Q,g,a),y=m>=o.length-1;if(!C||y){if(C||y){if(y)B=Q;else if(A.multiline&&(l+2)*(w+2)+2>s)continue A}else{if(!A.multiline)continue A;if((l+2)*(w+2)+2>s)continue A;B=Q}for(var v="",U=f;U<=B;U++)v+=o[U]+" ";switch(v=" "==v.substr(v.length-1)?v.substr(0,v.length-1):v,p=i.internal.calculateFontSpace(v,a+"px",e).width,A.Q){case 2:h=c-p-2;break;case 1:h=(c-p)/2;break;case 0:default:h=2}t+=h+" "+d+" Td\n",t+="("+v+") Tj\n",t+=-h+" 0 Td\n",d=-(a+2),p=0,f=B+1,w++,g=""}else g+=" "}break}return r.text=t,r.fontSize=a,r},i.internal.calculateAppearanceStream=function(A){if(A.appearanceStreamContent)return A.appearanceStreamContent;if(A.V||A.DV){var t="",e=A.V||A.DV,n=i.internal.calculateX(A,e);t+="/Tx BMC\nq\n/F1 "+n.fontSize+" Tf\n1 0 0 1 0 0 Tm\n",t+="BT\n",t+=n.text,t+="ET\n",t+="Q\nEMC\n";var r=new i.createFormXObject(A);return r.stream=t,r}},i.internal.calculateCoordinates=function(A,t,e,n){var r={};if(this.internal){var o=function(A){return A*this.internal.scaleFactor};Array.isArray(A)?(A[0]=i.scale(A[0]),A[1]=i.scale(A[1]),A[2]=i.scale(A[2]),A[3]=i.scale(A[3]),r.lowerLeft_X=A[0]||0,r.lowerLeft_Y=o.call(this,this.internal.pageSize.height)-A[3]-A[1]||0,r.upperRight_X=A[0]+A[2]||0,r.upperRight_Y=o.call(this,this.internal.pageSize.height)-A[1]||0):(A=i.scale(A),t=i.scale(t),e=i.scale(e),n=i.scale(n),r.lowerLeft_X=A||0,r.lowerLeft_Y=this.internal.pageSize.height-t||0,r.upperRight_X=A+e||0,r.upperRight_Y=this.internal.pageSize.height-t+n||0)}else Array.isArray(A)?(r.lowerLeft_X=A[0]||0,r.lowerLeft_Y=A[1]||0,r.upperRight_X=A[0]+A[2]||0,r.upperRight_Y=A[1]+A[3]||0):(r.lowerLeft_X=A||0,r.lowerLeft_Y=t||0,r.upperRight_X=A+e||0,r.upperRight_Y=t+n||0);return[r.lowerLeft_X,r.lowerLeft_Y,r.upperRight_X,r.upperRight_Y]},i.internal.calculateColor=function(A,t,e){var n=new Array(3);return n.r=0|A,n.g=0|t,n.b=0|e,n},i.internal.getBitPosition=function(A,t){var e=1;return e<<=t-1,(A=A||0)|e},i.internal.setBitPosition=function(A,t,e){A=A||0;var n=1;if(n<<=t-1,1==(e=e||1))A|=n;else A=A&~n;return A},r.API.addHTML=function(A,t,e,n,r){if("undefined"==typeof html2canvas&&"undefined"==typeof rasterizeHTML)throw new Error("You need either https://github.com/niklasvh/html2canvas or https://github.com/cburgmer/rasterizeHTML.js");"number"!=typeof t&&(n=t,r=e),"function"==typeof n&&(r=n,n=null);var i=this.internal,o=i.scaleFactor,a=i.pageSize.width,s=i.pageSize.height;if(n=n||{},n.onrendered=function(A){t=parseInt(t)||0,e=parseInt(e)||0;var i=n.dim||{},c=i.h||0,l=i.w||Math.min(a,A.width/o)-t,u="JPEG";if(n.format&&(u=n.format),A.height>s&&n.pagesplit){var h=function(){for(var n=0;;){var i=document.createElement("canvas");i.width=Math.min(a*o,A.width),i.height=Math.min(s*o,A.height-n),i.getContext("2d").drawImage(A,0,n,A.width,i.height,0,0,i.width,i.height);var c=[i,t,n?0:e,i.width/o,i.height/o,u,null,"SLOW"];if(this.addImage.apply(this,c),(n+=i.height)>=A.height)break;this.addPage()}r(l,n,null,c)}.bind(this);if("CANVAS"===A.nodeName){var d=new Image;d.onload=h,d.src=A.toDataURL("image/png"),A=d}else h()}else{var f=Math.random().toString(35),B=[A,t,e,l,c,u,f,"SLOW"];this.addImage.apply(this,B),r(l,c,f,B)}}.bind(this),"undefined"!=typeof html2canvas&&!n.rstz)return html2canvas(A,n);if("undefined"!=typeof rasterizeHTML){var c="drawDocument";return"string"==typeof A&&(c=/^http/.test(A)?"drawURL":"drawHTML"),n.width=n.width||a*o,rasterizeHTML[c](A,void 0,n).then(function(A){n.onrendered(A.image)},function(A){r(null,A)})}return null},function(A){var t=["jpeg","jpg","png"],n=function A(t){var e=this.internal.newObject(),n=this.internal.write,r=this.internal.putStream;if(t.n=e,n("<</Type /XObject"),n("/Subtype /Image"),n("/Width "+t.w),n("/Height "+t.h),t.cs===this.color_spaces.INDEXED?n("/ColorSpace [/Indexed /DeviceRGB "+(t.pal.length/3-1)+" "+("smask"in t?e+2:e+1)+" 0 R]"):(n("/ColorSpace /"+t.cs),t.cs===this.color_spaces.DEVICE_CMYK&&n("/Decode [1 0 1 0 1 0 1 0]")),n("/BitsPerComponent "+t.bpc),"f"in t&&n("/Filter /"+t.f),"dp"in t&&n("/DecodeParms <<"+t.dp+">>"),"trns"in t&&t.trns.constructor==Array){for(var i="",o=0,a=t.trns.length;o<a;o++)i+=t.trns[o]+" "+t.trns[o]+" ";n("/Mask ["+i+"]")}if("smask"in t&&n("/SMask "+(e+1)+" 0 R"),n("/Length "+t.data.length+">>"),r(t.data),n("endobj"),"smask"in t){var s="/Predictor "+t.p+" /Colors 1 /BitsPerComponent "+t.bpc+" /Columns "+t.w,c={w:t.w,h:t.h,cs:"DeviceGray",bpc:t.bpc,dp:s,data:t.smask};"f"in t&&(c.f=t.f),A.call(this,c)}t.cs===this.color_spaces.INDEXED&&(this.internal.newObject(),n("<< /Length "+t.pal.length+">>"),r(this.arrayBufferToBinaryString(new Uint8Array(t.pal))),n("endobj"))},r=function(){var A=this.internal.collections.addImage_images;for(var t in A)n.call(this,A[t])},i=function(){var A,t=this.internal.collections.addImage_images,e=this.internal.write;for(var n in t)e("/I"+(A=t[n]).i,A.n,"0","R")},o=function(t){return t&&"string"==typeof t&&(t=t.toUpperCase()),t in A.image_compression?t:A.image_compression.NONE},a=function(){var A=this.internal.collections.addImage_images;return A||(this.internal.collections.addImage_images=A={},this.internal.events.subscribe("putResources",r),this.internal.events.subscribe("putXobjectDict",i)),A},s=function(t){return"string"==typeof t&&A.sHashCode(t)},c=function(t){return"function"!=typeof A["process"+t.toUpperCase()]},l=function(A){return"object"===(void 0===A?"undefined":e(A))&&1===A.nodeType},u=function(A,t){var e;if(t)for(var n in t)if(A===t[n].alias){e=t[n];break}return e},h=function(A,t,e,n,r,i,o){var a=function(A,t,e){return A||t||(A=-96,t=-96),A<0&&(A=-1*e.w*72/A/this.internal.scaleFactor),t<0&&(t=-1*e.h*72/t/this.internal.scaleFactor),0===A&&(A=t*e.w/e.h),0===t&&(t=A*e.h/e.w),[A,t]}.call(this,e,n,r),s=this.internal.getCoordinateString,c=this.internal.getVerticalCoordinateString;e=a[0],n=a[1],o[i]=r,this.internal.write("q",s(e),"0 0",s(n),s(A),c(t+n),"cm /I"+r.i,"Do Q")};A.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"},A.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"},A.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},A.sHashCode=function(A){return Array.prototype.reduce&&A.split("").reduce(function(A,t){return(A=(A<<5)-A+t.charCodeAt(0))&A},0)},A.isString=function(A){return"string"==typeof A},A.extractInfoFromBase64DataURI=function(A){return/^data:([\w]+?\/([\w]+?));base64,(.+?)$/g.exec(A)},A.supportsArrayBuffer=function(){return"undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array},A.isArrayBuffer=function(A){return!!this.supportsArrayBuffer()&&A instanceof ArrayBuffer},A.isArrayBufferView=function(A){return!!this.supportsArrayBuffer()&&"undefined"!=typeof Uint32Array&&(A instanceof Int8Array||A instanceof Uint8Array||"undefined"!=typeof Uint8ClampedArray&&A instanceof Uint8ClampedArray||A instanceof Int16Array||A instanceof Uint16Array||A instanceof Int32Array||A instanceof Uint32Array||A instanceof Float32Array||A instanceof Float64Array)},A.binaryStringToUint8Array=function(A){for(var t=A.length,e=new Uint8Array(t),n=0;n<t;n++)e[n]=A.charCodeAt(n);return e},A.arrayBufferToBinaryString=function(A){if("function"==typeof window.atob)return atob(this.arrayBufferToBase64(A));for(var t=this.isArrayBuffer(A)?A:new Uint8Array(A),e="",n=Math.round(t.byteLength/20480),r=0;r<n;r++)e+=String.fromCharCode.apply(null,t.slice(20480*r,20480*r+20480));return e},A.arrayBufferToBase64=function(A){for(var t,e,n,r,i="",o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=new Uint8Array(A),s=a.byteLength,c=s%3,l=s-c,u=0;u<l;u+=3)t=(258048&(r=a[u]<<16|a[u+1]<<8|a[u+2]))>>12,e=(4032&r)>>6,n=63&r,i+=o[(16515072&r)>>18]+o[t]+o[e]+o[n];return 1==c?(t=(3&(r=a[l]))<<4,i+=o[(252&r)>>2]+o[t]+"=="):2==c&&(t=(1008&(r=a[l]<<8|a[l+1]))>>4,e=(15&r)<<2,i+=o[(64512&r)>>10]+o[t]+o[e]+"="),i},A.createImageInfo=function(A,t,e,n,r,i,o,a,s,c,l,u,h){var d={alias:a,w:t,h:e,cs:n,bpc:r,i:o,data:A};return i&&(d.f=i),s&&(d.dp=s),c&&(d.trns=c),l&&(d.pal=l),u&&(d.smask=u),h&&(d.p=h),d},A.addImage=function(A,n,r,i,d,f,B,p,g){if("string"!=typeof n){var w=f;f=d,d=i,i=r,r=n,n=w}if("object"===(void 0===A?"undefined":e(A))&&!l(A)&&"imageData"in A){var m=A;A=m.imageData,n=m.format||n,r=m.x||r||0,i=m.y||i||0,d=m.w||d,f=m.h||f,B=m.alias||B,p=m.compression||p,g=m.rotation||m.angle||g}if(isNaN(r)||isNaN(i))throw console.error("jsPDF.addImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addImage");var Q,C=a.call(this);if(!(Q=u(A,C))){var y;if(l(A)&&(A=function(A,t,n){if("IMG"===A.nodeName&&A.hasAttribute("src")){var r=""+A.getAttribute("src");if(!n&&0===r.indexOf("data:image/"))return r;!t&&/\.png(?:[?#].*)?$/i.test(r)&&(t="png")}if("CANVAS"===A.nodeName)var i=A;else{(i=document.createElement("canvas")).width=A.clientWidth||A.width,i.height=A.clientHeight||A.height;var o=i.getContext("2d");if(!o)throw"addImage requires canvas to be supported by browser.";if(n){var a,s,c,l,u,h,d,f,B=Math.PI/180;"object"===(void 0===n?"undefined":e(n))&&(a=n.x,s=n.y,c=n.bg,n=n.angle),f=n*B,l=Math.abs(Math.cos(f)),u=Math.abs(Math.sin(f)),h=i.width,d=i.height,i.width=d*u+h*l,i.height=d*l+h*u,isNaN(a)&&(a=i.width/2),isNaN(s)&&(s=i.height/2),o.clearRect(0,0,i.width,i.height),o.fillStyle=c||"white",o.fillRect(0,0,i.width,i.height),o.save(),o.translate(a,s),o.rotate(f),o.drawImage(A,-h/2,-d/2),o.rotate(-f),o.translate(-a,-s),o.restore()}else o.drawImage(A,0,0,i.width,i.height)}return i.toDataURL("png"==(""+t).toLowerCase()?"image/png":"image/jpeg")}(A,n,g)),function(A){return void 0===A||null===A}(B)&&(B=s(A)),!(Q=u(B,C))){if(this.isString(A)){var v=this.extractInfoFromBase64DataURI(A);v?(n=v[2],A=atob(v[3])):137===A.charCodeAt(0)&&80===A.charCodeAt(1)&&78===A.charCodeAt(2)&&71===A.charCodeAt(3)&&(n="png")}if(n=(n||"JPEG").toLowerCase(),function(A){return-1===t.indexOf(A)}(n))throw new Error("addImage currently only supports formats "+t+", not '"+n+"'");if(c(n))throw new Error("please ensure that the plugin for '"+n+"' support is added");if(this.supportsArrayBuffer()&&(A instanceof Uint8Array||(y=A,A=this.binaryStringToUint8Array(A))),!(Q=this["process"+n.toUpperCase()](A,function(A){var t=0;return A&&(t=Object.keys?Object.keys(A).length:function(A){var t=0;for(var e in A)A.hasOwnProperty(e)&&t++;return t}(A)),t}(C),B,o(p),y)))throw new Error("An unkwown error occurred whilst processing the image")}}return h.call(this,r,i,d,f,Q,Q.i,C),this};var d=function(A,t){return A.subarray(t,t+5)};A.processJPEG=function(A,t,e,n,r){var i,o=this.color_spaces.DEVICE_RGB,a=this.decode.DCT_DECODE;return this.isString(A)?(i=function(A){var t,e,n;if(255===!A.charCodeAt(0)||216===!A.charCodeAt(1)||255===!A.charCodeAt(2)||224===!A.charCodeAt(3)||!A.charCodeAt(6)==="J".charCodeAt(0)||!A.charCodeAt(7)==="F".charCodeAt(0)||!A.charCodeAt(8)==="I".charCodeAt(0)||!A.charCodeAt(9)==="F".charCodeAt(0)||0===!A.charCodeAt(10))throw new Error("getJpegSize requires a binary string jpeg file");for(var r=256*A.charCodeAt(4)+A.charCodeAt(5),i=4,o=A.length;i<o;){if(i+=r,255!==A.charCodeAt(i))throw new Error("getJpegSize could not find the size of the image");if(192===A.charCodeAt(i+1)||193===A.charCodeAt(i+1)||194===A.charCodeAt(i+1)||195===A.charCodeAt(i+1)||196===A.charCodeAt(i+1)||197===A.charCodeAt(i+1)||198===A.charCodeAt(i+1)||199===A.charCodeAt(i+1))return e=256*A.charCodeAt(i+5)+A.charCodeAt(i+6),t=256*A.charCodeAt(i+7)+A.charCodeAt(i+8),n=A.charCodeAt(i+9),[t,e,n];i+=2,r=256*A.charCodeAt(i)+A.charCodeAt(i+1)}}(A),this.createImageInfo(A,i[0],i[1],1==i[3]?this.color_spaces.DEVICE_GRAY:o,8,a,t,e)):(this.isArrayBuffer(A)&&(A=new Uint8Array(A)),this.isArrayBufferView(A)?(i=function(A){if(65496!=(A[0]<<8|A[1]))throw new Error("Supplied data is not a JPEG");for(var t,e,n,r,i=A.length,o=(A[4]<<8)+A[5],a=4;a<i;){if(a+=o,t=d(A,a),o=(t[2]<<8)+t[3],(192===t[1]||194===t[1])&&255===t[0]&&o>7)return t=d(A,a+5),e=(t[2]<<8)+t[3],n=(t[0]<<8)+t[1],r=t[4],{width:e,height:n,numcomponents:r};a+=2}throw new Error("getJpegSizeFromBytes could not find the size of the image")}(A),A=r||this.arrayBufferToBinaryString(A),this.createImageInfo(A,i.width,i.height,1==i.numcomponents?this.color_spaces.DEVICE_GRAY:o,8,a,t,e)):null)},A.processJPG=function(){return this.processJPEG.apply(this,arguments)}}(r.API),function(A){var t={annotations:[],f2:function(A){return A.toFixed(2)},notEmpty:function(A){if(void 0!==A&&""!=A)return!0}};r.API.annotationPlugin=t,r.API.events.push(["addPage",function(A){this.annotationPlugin.annotations[A.pageNumber]=[]}]),A.events.push(["putPage",function(A){for(var e=this.annotationPlugin.annotations[A.pageNumber],n=!1,r=0;r<e.length&&!n;r++)switch((c=e[r]).type){case"link":if(t.notEmpty(c.options.url)||t.notEmpty(c.options.pageNumber)){n=!0;break}case"reference":case"text":case"freetext":n=!0}if(0!=n){this.internal.write("/Annots [");for(var i=this.annotationPlugin.f2,o=this.internal.scaleFactor,a=this.internal.pageSize.height,s=this.internal.getPageInfo(A.pageNumber),r=0;r<e.length;r++){var c=e[r];switch(c.type){case"reference":this.internal.write(" "+c.object.objId+" 0 R ");break;case"text":var l=this.internal.newAdditionalObject(),u=this.internal.newAdditionalObject(),h=c.title||"Note";g="<</Type /Annot /Subtype /Text "+(f="/Rect ["+i(c.bounds.x*o)+" "+i(a-(c.bounds.y+c.bounds.h)*o)+" "+i((c.bounds.x+c.bounds.w)*o)+" "+i((a-c.bounds.y)*o)+"] ")+"/Contents ("+c.contents+")",g+=" /Popup "+u.objId+" 0 R",g+=" /P "+s.objId+" 0 R",g+=" /T ("+h+") >>",l.content=g;var d=l.objId+" 0 R";g="<</Type /Annot /Subtype /Popup "+(f="/Rect ["+i((c.bounds.x+30)*o)+" "+i(a-(c.bounds.y+c.bounds.h)*o)+" "+i((c.bounds.x+c.bounds.w+30)*o)+" "+i((a-c.bounds.y)*o)+"] ")+" /Parent "+d,c.open&&(g+=" /Open true"),g+=" >>",u.content=g,this.internal.write(l.objId,"0 R",u.objId,"0 R");break;case"freetext":var f="/Rect ["+i(c.bounds.x*o)+" "+i((a-c.bounds.y)*o)+" "+i(c.bounds.x+c.bounds.w*o)+" "+i(a-(c.bounds.y+c.bounds.h)*o)+"] ",B=c.color||"#000000";g="<</Type /Annot /Subtype /FreeText "+f+"/Contents ("+c.contents+")",g+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+B+")",g+=" /Border [0 0 0]",g+=" >>",this.internal.write(g);break;case"link":if(c.options.name){var p=this.annotations._nameMap[c.options.name];c.options.pageNumber=p.page,c.options.top=p.y}else c.options.top||(c.options.top=0);var f="/Rect ["+i(c.x*o)+" "+i((a-c.y)*o)+" "+i((c.x+c.w)*o)+" "+i((a-(c.y+c.h))*o)+"] ",g="";if(c.options.url)g="<</Type /Annot /Subtype /Link "+f+"/Border [0 0 0] /A <</S /URI /URI ("+c.options.url+") >>";else if(c.options.pageNumber)switch(g="<</Type /Annot /Subtype /Link "+f+"/Border [0 0 0] /Dest ["+(A=this.internal.getPageInfo(c.options.pageNumber)).objId+" 0 R",c.options.magFactor=c.options.magFactor||"XYZ",c.options.magFactor){case"Fit":g+=" /Fit]";break;case"FitH":g+=" /FitH "+c.options.top+"]";break;case"FitV":c.options.left=c.options.left||0,g+=" /FitV "+c.options.left+"]";break;case"XYZ":default:var w=i((a-c.options.top)*o);c.options.left=c.options.left||0,void 0===c.options.zoom&&(c.options.zoom=0),g+=" /XYZ "+c.options.left+" "+w+" "+c.options.zoom+"]"}""!=g&&(g+=" >>",this.internal.write(g))}}this.internal.write("]")}}]),A.createAnnotation=function(A){switch(A.type){case"link":this.link(A.bounds.x,A.bounds.y,A.bounds.w,A.bounds.h,A);break;case"text":case"freetext":this.annotationPlugin.annotations[this.internal.getCurrentPageInfo().pageNumber].push(A)}},A.link=function(A,t,e,n,r){this.annotationPlugin.annotations[this.internal.getCurrentPageInfo().pageNumber].push({x:A,y:t,w:e,h:n,options:r,type:"link"})},A.textWithLink=function(A,t,e,n){var r=this.getTextWidth(A),i=this.internal.getLineHeight()/this.internal.scaleFactor;return this.text(A,t,e),e+=.2*i,this.link(t,e-i,r,i,n),r},A.getTextWidth=function(A){var t=this.internal.getFontSize();return this.getStringUnitWidth(A)*t/this.internal.scaleFactor},A.getLineHeight=function(){return this.internal.getLineHeight()}}(r.API),r.API.autoPrint=function(){var A;return this.internal.events.subscribe("postPutResources",function(){A=this.internal.newObject(),this.internal.write("<< /S/Named /Type/Action /N/Print >>","endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.write("/OpenAction "+A+" 0 R")}),this},function(A){A.events.push(["initialized",function(){this.canvas.pdf=this}]),A.canvas={getContext:function(A){return this.pdf.context2d._canvas=this,this.pdf.context2d},style:{}},Object.defineProperty(A.canvas,"width",{get:function(){return this._width},set:function(A){this._width=A,this.getContext("2d").pageWrapX=A+1}}),Object.defineProperty(A.canvas,"height",{get:function(){return this._height},set:function(A){this._height=A,this.getContext("2d").pageWrapY=A+1}})}(r.API),function(A){var t,e,n,r,i={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},o=1,a=function(A,t,e,n,r){i={x:A,y:t,w:e,h:n,ln:r}},s=function(){return i},c={left:0,top:0,bottom:0};A.setHeaderFunction=function(A){r=A},A.getTextDimensions=function(A){t=this.internal.getFont().fontName,e=this.table_font_size||this.internal.getFontSize(),n=this.internal.getFont().fontStyle;var r,i;(i=document.createElement("font")).id="jsPDFCell";try{i.style.fontStyle=n}catch(A){i.style.fontWeight=n}i.style.fontName=t,i.style.fontSize=e+"pt";try{i.textContent=A}catch(t){i.innerText=A}return document.body.appendChild(i),r={w:(i.offsetWidth+1)*(19.049976/25.4),h:(i.offsetHeight+1)*(19.049976/25.4)},document.body.removeChild(i),r},A.cellAddPage=function(){var A=this.margins||c;this.addPage(),a(A.left,A.top,void 0,void 0),o+=1},A.cellInitialize=function(){i={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},o=1},A.cell=function(A,t,e,n,r,i,o){var l=s(),u=!1;if(void 0!==l.ln)if(l.ln===i)A=l.x+l.w,t=l.y;else{var h=this.margins||c;l.y+l.h+n+13>=this.internal.pageSize.height-h.bottom&&(this.cellAddPage(),u=!0,this.printHeaders&&this.tableHeaderRow&&this.printHeaderRow(i,!0)),t=s().y+s().h,u&&(t=23)}if(void 0!==r[0])if(this.printingHeaderRow?this.rect(A,t,e,n,"FD"):this.rect(A,t,e,n),"right"===o){r instanceof Array||(r=[r]);for(var d=0;d<r.length;d++){var f=r[d],B=this.getStringUnitWidth(f)*this.internal.getFontSize();this.text(f,A+e-B-3,t+this.internal.getLineHeight()*(d+1))}}else this.text(r,A+3,t+this.internal.getLineHeight());return a(A,t,e,n,i),this},A.arrayMax=function(A,t){var e,n,r,i=A[0];for(e=0,n=A.length;e<n;e+=1)r=A[e],t?-1===t(i,r)&&(i=r):r>i&&(i=r);return i},A.table=function(t,e,n,r,a){if(!n)throw"No data for PDF table";var s,l,u,h,d,f,B,p,g,w,m=[],Q=[],C={},y={},v=[],U=[],F=!1,E=!0,b=12,H=c;if(H.width=this.internal.pageSize.width,a&&(!0===a.autoSize&&(F=!0),!1===a.printHeaders&&(E=!1),a.fontSize&&(b=a.fontSize),a.css&&void 0!==a.css["font-size"]&&(b=16*a.css["font-size"]),a.margins&&(H=a.margins)),this.lnMod=0,i={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},o=1,this.printHeaders=E,this.margins=H,this.setFontSize(b),this.table_font_size=b,void 0===r||null===r)m=Object.keys(n[0]);else if(r[0]&&"string"!=typeof r[0])for(l=0,u=r.length;l<u;l+=1)s=r[l],m.push(s.name),Q.push(s.prompt),y[s.name]=s.width*(19.049976/25.4);else m=r;if(F)for(w=function(A){return A[s]},l=0,u=m.length;l<u;l+=1){for(C[s=m[l]]=n.map(w),v.push(this.getTextDimensions(Q[l]||s).w),B=0,h=(f=C[s]).length;B<h;B+=1)d=f[B],v.push(this.getTextDimensions(d).w);y[s]=A.arrayMax(v),v=[]}if(E){for(x=this.calculateLineHeight(m,y,Q.length?Q:m),l=0,u=m.length;l<u;l+=1)s=m[l],U.push([t,e,y[s],x,String(Q.length?Q[l]:s)]);this.setTableHeaderRow(U),this.printHeaderRow(1,!1)}for(l=0,u=n.length;l<u;l+=1){var x;for(p=n[l],x=this.calculateLineHeight(m,y,p),B=0,g=m.length;B<g;B+=1)s=m[B],this.cell(t,e,y[s],x,p[s],l+2,s.align)}return this.lastCellPos=i,this.table_x=t,this.table_y=e,this},A.calculateLineHeight=function(A,t,e){for(var n,r=0,i=0;i<A.length;i++){e[n=A[i]]=this.splitTextToSize(String(e[n]),t[n]-3);var o=this.internal.getLineHeight()*e[n].length+3;o>r&&(r=o)}return r},A.setTableHeaderRow=function(A){this.tableHeaderRow=A},A.printHeaderRow=function(A,t){if(!this.tableHeaderRow)throw"Property tableHeaderRow does not exist.";var e,n,i,s;if(this.printingHeaderRow=!0,void 0!==r){var c=r(this,o);a(c[0],c[1],c[2],c[3],-1)}this.setFontStyle("bold");var l=[];for(i=0,s=this.tableHeaderRow.length;i<s;i+=1)this.setFillColor(200,200,200),e=this.tableHeaderRow[i],t&&(this.margins.top=13,e[1]=this.margins&&this.margins.top||0,l.push(e)),n=[].concat(e),this.cell.apply(this,n.concat(A));l.length>0&&this.setTableHeaderRow(l),this.setFontStyle("normal"),this.printingHeaderRow=!1}}(r.API),function(A){function t(){this._isStrokeTransparent=!1,this._strokeOpacity=1,this.strokeStyle="#000000",this.fillStyle="#000000",this._isFillTransparent=!1,this._fillOpacity=1,this.font="12pt times",this.textBaseline="alphabetic",this.textAlign="start",this.lineWidth=1,this.lineJoin="miter",this.lineCap="butt",this._transform=[1,0,0,1,0,0],this.globalCompositeOperation="normal",this.globalAlpha=1,this._clip_path=[],this.ignoreClearRect=!1,this.copy=function(A){this._isStrokeTransparent=A._isStrokeTransparent,this._strokeOpacity=A._strokeOpacity,this.strokeStyle=A.strokeStyle,this._isFillTransparent=A._isFillTransparent,this._fillOpacity=A._fillOpacity,this.fillStyle=A.fillStyle,this.font=A.font,this.lineWidth=A.lineWidth,this.lineJoin=A.lineJoin,this.lineCap=A.lineCap,this.textBaseline=A.textBaseline,this.textAlign=A.textAlign,this._fontSize=A._fontSize,this._transform=A._transform.slice(0),this.globalCompositeOperation=A.globalCompositeOperation,this.globalAlpha=A.globalAlpha,this._clip_path=A._clip_path.slice(0),this.ignoreClearRect=A.ignoreClearRect}}A.events.push(["initialized",function(){this.context2d.pdf=this,this.context2d.internal.pdf=this,this.context2d.ctx=new t,this.context2d.ctxStack=[],this.context2d.path=[]}]),A.context2d={pageWrapXEnabled:!1,pageWrapYEnabled:!1,pageWrapX:9999999,pageWrapY:9999999,ctx:new t,f2:function(A){return A.toFixed(2)},fillRect:function(A,t,e,n){if(!this._isFillTransparent()){A=this._wrapX(A),t=this._wrapY(t);var r=this._matrix_map_rect(this.ctx._transform,{x:A,y:t,w:e,h:n});this.pdf.rect(r.x,r.y,r.w,r.h,"f")}},strokeRect:function(A,t,e,n){if(!this._isStrokeTransparent()){A=this._wrapX(A),t=this._wrapY(t);var r=this._matrix_map_rect(this.ctx._transform,{x:A,y:t,w:e,h:n});this.pdf.rect(r.x,r.y,r.w,r.h,"s")}},clearRect:function(A,t,e,n){if(!this.ctx.ignoreClearRect){A=this._wrapX(A),t=this._wrapY(t);var r=this._matrix_map_rect(this.ctx._transform,{x:A,y:t,w:e,h:n});this.save(),this.setFillStyle("#ffffff"),this.pdf.rect(r.x,r.y,r.w,r.h,"f"),this.restore()}},save:function(){this.ctx._fontSize=this.pdf.internal.getFontSize();var A=new t;A.copy(this.ctx),this.ctxStack.push(this.ctx),this.ctx=A},restore:function(){this.ctx=this.ctxStack.pop(),this.setFillStyle(this.ctx.fillStyle),this.setStrokeStyle(this.ctx.strokeStyle),this.setFont(this.ctx.font),this.pdf.setFontSize(this.ctx._fontSize),this.setLineCap(this.ctx.lineCap),this.setLineWidth(this.ctx.lineWidth),this.setLineJoin(this.ctx.lineJoin)},rect:function(A,t,e,n){this.moveTo(A,t),this.lineTo(A+e,t),this.lineTo(A+e,t+n),this.lineTo(A,t+n),this.lineTo(A,t),this.closePath()},beginPath:function(){this.path=[]},closePath:function(){this.path.push({type:"close"})},_getRGBA:function(A){var t,e,n,r;if(!A)return{r:0,g:0,b:0,a:0,style:A};if(this.internal.rxTransparent.test(A))t=0,e=0,n=0,r=0;else{var i=this.internal.rxRgb.exec(A);null!=i?(t=parseInt(i[1]),e=parseInt(i[2]),n=parseInt(i[3]),r=1):null!=(i=this.internal.rxRgba.exec(A))?(t=parseInt(i[1]),e=parseInt(i[2]),n=parseInt(i[3]),r=parseFloat(i[4])):(r=1,"#"!=A.charAt(0)&&((A=a.colorNameToHex(A))||(A="#000000")),4===A.length?(t=A.substring(1,2),t+=t,e=A.substring(2,3),e+=e,n=A.substring(3,4),n+=n):(t=A.substring(1,3),e=A.substring(3,5),n=A.substring(5,7)),t=parseInt(t,16),e=parseInt(e,16),n=parseInt(n,16))}return{r:t,g:e,b:n,a:r,style:A}},setFillStyle:function(A){var t=this._getRGBA(A);this.ctx.fillStyle=A,this.ctx._isFillTransparent=0===t.a,this.ctx._fillOpacity=t.a,this.pdf.setFillColor(t.r,t.g,t.b,{a:t.a}),this.pdf.setTextColor(t.r,t.g,t.b,{a:t.a})},setStrokeStyle:function(A){var t=this._getRGBA(A);this.ctx.strokeStyle=t.style,this.ctx._isStrokeTransparent=0===t.a,this.ctx._strokeOpacity=t.a,0===t.a?this.pdf.setDrawColor(255,255,255):(t.a,this.pdf.setDrawColor(t.r,t.g,t.b))},fillText:function(A,t,e,n){if(!this._isFillTransparent()){t=this._wrapX(t),e=this._wrapY(e);var r=this._matrix_map_point(this.ctx._transform,[t,e]);t=r[0],e=r[1];var i=57.2958*this._matrix_rotation(this.ctx._transform);if(this.ctx._clip_path.length>0){var o;(o=window.outIntercept?"group"===window.outIntercept.type?window.outIntercept.stream:window.outIntercept:this.internal.getCurrentPage()).push("q");var a=this.path;this.path=this.ctx._clip_path,this.ctx._clip_path=[],this._fill(null,!0),this.ctx._clip_path=this.path,this.path=a}var s=1;try{s=this._matrix_decompose(this._getTransform()).scale[0]}catch(A){console.warn(A)}if(s<.01)this.pdf.text(A,t,this._getBaseline(e),null,i);else{var c=this.pdf.internal.getFontSize();this.pdf.setFontSize(c*s),this.pdf.text(A,t,this._getBaseline(e),null,i),this.pdf.setFontSize(c)}this.ctx._clip_path.length>0&&o.push("Q")}},strokeText:function(A,t,e,n){if(!this._isStrokeTransparent()){t=this._wrapX(t),e=this._wrapY(e);var r=this._matrix_map_point(this.ctx._transform,[t,e]);t=r[0],e=r[1];var i=57.2958*this._matrix_rotation(this.ctx._transform);if(this.ctx._clip_path.length>0){var o;(o=window.outIntercept?"group"===window.outIntercept.type?window.outIntercept.stream:window.outIntercept:this.internal.getCurrentPage()).push("q");var a=this.path;this.path=this.ctx._clip_path,this.ctx._clip_path=[],this._fill(null,!0),this.ctx._clip_path=this.path,this.path=a}var s=1;try{s=this._matrix_decompose(this._getTransform()).scale[0]}catch(A){console.warn(A)}if(1===s)this.pdf.text(A,t,this._getBaseline(e),{stroke:!0},i);else{var c=this.pdf.internal.getFontSize();this.pdf.setFontSize(c*s),this.pdf.text(A,t,this._getBaseline(e),{stroke:!0},i),this.pdf.setFontSize(c)}this.ctx._clip_path.length>0&&o.push("Q")}},setFont:function(A){this.ctx.font=A;var t=/\s*(\w+)\s+(\w+)\s+(\w+)\s+([\d\.]+)(px|pt|em)\s+(.*)?/;if(null!=(l=t.exec(A))){var e=l[1],n=l[3],r=l[4],i=l[5],o=l[6];r="px"===i?Math.floor(parseFloat(r)):"em"===i?Math.floor(parseFloat(r)*this.pdf.getFontSize()):Math.floor(parseFloat(r)),this.pdf.setFontSize(r),"bold"===n||"700"===n?this.pdf.setFontStyle("bold"):"italic"===e?this.pdf.setFontStyle("italic"):this.pdf.setFontStyle("normal");var a,s=(h=o).toLowerCase().split(/\s*,\s*/);a=-1!=s.indexOf("arial")?"Arial":-1!=s.indexOf("verdana")?"Verdana":-1!=s.indexOf("helvetica")?"Helvetica":-1!=s.indexOf("sans-serif")?"sans-serif":-1!=s.indexOf("fixed")?"Fixed":-1!=s.indexOf("monospace")?"Monospace":-1!=s.indexOf("terminal")?"Terminal":-1!=s.indexOf("courier")?"Courier":-1!=s.indexOf("times")?"Times":-1!=s.indexOf("cursive")?"Cursive":-1!=s.indexOf("fantasy")?"Fantasy":(s.indexOf("serif"),"Serif");var c;c="bold"===n?"bold":"normal",this.pdf.setFont(a,c)}else{var l=(t=/\s*(\d+)(pt|px|em)\s+([\w "]+)\s*([\w "]+)?/).exec(A);if(null!=l){var u=l[1],h=l[3];(c=l[4])||(c="normal"),u="em"===i?Math.floor(parseFloat(r)*this.pdf.getFontSize()):Math.floor(parseFloat(u)),this.pdf.setFontSize(u),this.pdf.setFont(h,c)}}},setTextBaseline:function(A){this.ctx.textBaseline=A},getTextBaseline:function(){return this.ctx.textBaseline},setTextAlign:function(A){this.ctx.textAlign=A},getTextAlign:function(){return this.ctx.textAlign},setLineWidth:function(A){this.ctx.lineWidth=A,this.pdf.setLineWidth(A)},setLineCap:function(A){this.ctx.lineCap=A,this.pdf.setLineCap(A)},setLineJoin:function(A){this.ctx.lineJoin=A,this.pdf.setLineJoin(A)},moveTo:function(A,t){A=this._wrapX(A),t=this._wrapY(t);var e=this._matrix_map_point(this.ctx._transform,[A,t]),n={type:"mt",x:A=e[0],y:t=e[1]};this.path.push(n)},_wrapX:function(A){return this.pageWrapXEnabled?A%this.pageWrapX:A},_wrapY:function(A){return this.pageWrapYEnabled?(this._gotoPage(this._page(A)),(A-this.lastBreak)%this.pageWrapY):A},transform:function(A,t,e,n,r,i){this.ctx._transform=[A,t,e,n,r,i]},setTransform:function(A,t,e,n,r,i){this.ctx._transform=[A,t,e,n,r,i]},_getTransform:function(){return this.ctx._transform},lastBreak:0,pageBreaks:[],_page:function(A){if(this.pageWrapYEnabled){this.lastBreak=0;for(var t=0,e=0,n=0;n<this.pageBreaks.length;n++)if(A>=this.pageBreaks[n]){t++,0===this.lastBreak&&e++;var r=this.pageBreaks[n]-this.lastBreak;this.lastBreak=this.pageBreaks[n],e+=i=Math.floor(r/this.pageWrapY)}if(0===this.lastBreak){var i=Math.floor(A/this.pageWrapY)+1;e+=i}return e+t}return this.pdf.internal.getCurrentPageInfo().pageNumber},_gotoPage:function(A){},lineTo:function(A,t){A=this._wrapX(A),t=this._wrapY(t);var e=this._matrix_map_point(this.ctx._transform,[A,t]),n={type:"lt",x:A=e[0],y:t=e[1]};this.path.push(n)},bezierCurveTo:function(A,t,e,n,r,i){A=this._wrapX(A),t=this._wrapY(t),e=this._wrapX(e),n=this._wrapY(n),r=this._wrapX(r),i=this._wrapY(i);var o;r=(o=this._matrix_map_point(this.ctx._transform,[r,i]))[0],i=o[1];var a={type:"bct",x1:A=(o=this._matrix_map_point(this.ctx._transform,[A,t]))[0],y1:t=o[1],x2:e=(o=this._matrix_map_point(this.ctx._transform,[e,n]))[0],y2:n=o[1],x:r,y:i};this.path.push(a)},quadraticCurveTo:function(A,t,e,n){A=this._wrapX(A),t=this._wrapY(t),e=this._wrapX(e),n=this._wrapY(n);var r;e=(r=this._matrix_map_point(this.ctx._transform,[e,n]))[0],n=r[1];var i={type:"qct",x1:A=(r=this._matrix_map_point(this.ctx._transform,[A,t]))[0],y1:t=r[1],x:e,y:n};this.path.push(i)},arc:function(A,t,e,n,r,i){if(A=this._wrapX(A),t=this._wrapY(t),!this._matrix_is_identity(this.ctx._transform)){var o=this._matrix_map_point(this.ctx._transform,[A,t]);A=o[0],t=o[1];var a=this._matrix_map_point(this.ctx._transform,[0,0]),s=this._matrix_map_point(this.ctx._transform,[0,e]);e=Math.sqrt(Math.pow(s[0]-a[0],2)+Math.pow(s[1]-a[1],2))}var c={type:"arc",x:A,y:t,radius:e,startAngle:n,endAngle:r,anticlockwise:i};this.path.push(c)},drawImage:function(A,t,e,n,r,i,o,a,s){void 0!==i&&(t=i,e=o,n=a,r=s),t=this._wrapX(t),e=this._wrapY(e);var c,l=this._matrix_map_rect(this.ctx._transform,{x:t,y:e,w:n,h:r}),u=(this._matrix_map_rect(this.ctx._transform,{x:i,y:o,w:a,h:s}),/data:image\/(\w+).*/i.exec(A));c=null!=u?u[1]:"png",this.pdf.addImage(A,c,l.x,l.y,l.w,l.h)},_matrix_multiply:function(A,t){var e=t[0],n=t[1],r=t[2],i=t[3],o=t[4],a=t[5],s=e*A[0]+n*A[2],c=r*A[0]+i*A[2],l=o*A[0]+a*A[2]+A[4];return n=e*A[1]+n*A[3],i=r*A[1]+i*A[3],a=o*A[1]+a*A[3]+A[5],e=s,r=c,o=l,[e,n,r,i,o,a]},_matrix_rotation:function(A){return Math.atan2(A[2],A[0])},_matrix_decompose:function(A){var t=A[0],e=A[1],n=A[2],r=A[3],i=Math.sqrt(t*t+e*e),o=(t/=i)*n+(e/=i)*r;n-=t*o,r-=e*o;var a=Math.sqrt(n*n+r*r);return n/=a,r/=a,o/=a,t*r<e*n&&(t=-t,e=-e,o=-o,i=-i),{scale:[i,0,0,a,0,0],translate:[1,0,0,1,A[4],A[5]],rotate:[t,e,-e,t,0,0],skew:[1,0,o,1,0,0]}},_matrix_map_point:function(A,t){var e=A[0],n=A[1],r=A[2],i=A[3],o=A[4],a=A[5],s=t[0],c=t[1];return[s*e+c*r+o,s*n+c*i+a]},_matrix_map_point_obj:function(A,t){var e=this._matrix_map_point(A,[t.x,t.y]);return{x:e[0],y:e[1]}},_matrix_map_rect:function(A,t){var e=this._matrix_map_point(A,[t.x,t.y]),n=this._matrix_map_point(A,[t.x+t.w,t.y+t.h]);return{x:e[0],y:e[1],w:n[0]-e[0],h:n[1]-e[1]}},_matrix_is_identity:function(A){return 1==A[0]&&0==A[1]&&0==A[2]&&1==A[3]&&0==A[4]&&0==A[5]},rotate:function(A){var t=[Math.cos(A),Math.sin(A),-Math.sin(A),Math.cos(A),0,0];this.ctx._transform=this._matrix_multiply(this.ctx._transform,t)},scale:function(A,t){var e=[A,0,0,t,0,0];this.ctx._transform=this._matrix_multiply(this.ctx._transform,e)},translate:function(A,t){var e=[1,0,0,1,A,t];this.ctx._transform=this._matrix_multiply(this.ctx._transform,e)},stroke:function(){if(this.ctx._clip_path.length>0){var A;(A=window.outIntercept?"group"===window.outIntercept.type?window.outIntercept.stream:window.outIntercept:this.internal.getCurrentPage()).push("q");var t=this.path;this.path=this.ctx._clip_path,this.ctx._clip_path=[],this._stroke(!0),this.ctx._clip_path=this.path,this.path=t,this._stroke(!1),A.push("Q")}else this._stroke(!1)},_stroke:function(A){if(A||!this._isStrokeTransparent()){for(var t=[],e=this.path,n=0;n<e.length;n++){var r=e[n];switch(r.type){case"mt":t.push({start:r,deltas:[],abs:[]});break;case"lt":u=[r.x-e[n-1].x,r.y-e[n-1].y],t[t.length-1].deltas.push(u),t[t.length-1].abs.push(r);break;case"bct":u=[r.x1-e[n-1].x,r.y1-e[n-1].y,r.x2-e[n-1].x,r.y2-e[n-1].y,r.x-e[n-1].x,r.y-e[n-1].y],t[t.length-1].deltas.push(u);break;case"qct":var i=e[n-1].x+2/3*(r.x1-e[n-1].x),o=e[n-1].y+2/3*(r.y1-e[n-1].y),a=r.x+2/3*(r.x1-r.x),s=r.y+2/3*(r.y1-r.y),c=r.x,l=r.y,u=[i-e[n-1].x,o-e[n-1].y,a-e[n-1].x,s-e[n-1].y,c-e[n-1].x,l-e[n-1].y];t[t.length-1].deltas.push(u);break;case"arc":0==t.length&&t.push({start:{x:0,y:0},deltas:[],abs:[]}),t[t.length-1].arc=!0,t[t.length-1].abs.push(r)}}for(n=0;n<t.length;n++){var h;if(h=n==t.length-1?"s":null,t[n].arc)for(var d=t[n].abs,f=0;f<d.length;f++){var B=d[f],p=360*B.startAngle/(2*Math.PI),g=360*B.endAngle/(2*Math.PI),w=B.x,m=B.y;this.internal.arc2(this,w,m,B.radius,p,g,B.anticlockwise,h,A)}else{var w=t[n].start.x,m=t[n].start.y;A?(this.pdf.lines(t[n].deltas,w,m,null,null),this.pdf.clip_fixed()):this.pdf.lines(t[n].deltas,w,m,null,h)}}}},_isFillTransparent:function(){return this.ctx._isFillTransparent||0==this.globalAlpha},_isStrokeTransparent:function(){return this.ctx._isStrokeTransparent||0==this.globalAlpha},fill:function(A){if(this.ctx._clip_path.length>0){var t;(t=window.outIntercept?"group"===window.outIntercept.type?window.outIntercept.stream:window.outIntercept:this.internal.getCurrentPage()).push("q");var e=this.path;this.path=this.ctx._clip_path,this.ctx._clip_path=[],this._fill(A,!0),this.ctx._clip_path=this.path,this.path=e,this._fill(A,!1),t.push("Q")}else this._fill(A,!1)},_fill:function(A,t){if(!this._isFillTransparent()){var n,r="function"==typeof this.pdf.internal.newObject2;n=window.outIntercept?"group"===window.outIntercept.type?window.outIntercept.stream:window.outIntercept:this.internal.getCurrentPage();var i=[],o=window.outIntercept;if(r)switch(this.ctx.globalCompositeOperation){case"normal":case"source-over":break;case"destination-in":case"destination-out":var a=this.pdf.internal.newStreamObject(),s=this.pdf.internal.newObject2();s.push("<</Type /ExtGState"),s.push("/SMask <</S /Alpha /G "+a.objId+" 0 R>>"),s.push(">>"),d="MASK"+s.objId,this.pdf.internal.addGraphicsState(d,s.objId);var c="/"+d+" gs";n.splice(0,0,"q"),n.splice(1,0,c),n.push("Q"),window.outIntercept=a;break;default:var l="/"+this.pdf.internal.blendModeMap[this.ctx.globalCompositeOperation.toUpperCase()];l&&this.pdf.internal.out(l+" gs")}var u=this.ctx.globalAlpha;if(this.ctx._fillOpacity<1&&(u=this.ctx._fillOpacity),r){var h=this.pdf.internal.newObject2();h.push("<</Type /ExtGState"),h.push("/CA "+u),h.push("/ca "+u),h.push(">>");var d="GS_O_"+h.objId;this.pdf.internal.addGraphicsState(d,h.objId),this.pdf.internal.out("/"+d+" gs")}for(var f=this.path,B=0;B<f.length;B++){var p=f[B];switch(p.type){case"mt":i.push({start:p,deltas:[],abs:[]});break;case"lt":v=[p.x-f[B-1].x,p.y-f[B-1].y],i[i.length-1].deltas.push(v),i[i.length-1].abs.push(p);break;case"bct":v=[p.x1-f[B-1].x,p.y1-f[B-1].y,p.x2-f[B-1].x,p.y2-f[B-1].y,p.x-f[B-1].x,p.y-f[B-1].y],i[i.length-1].deltas.push(v);break;case"qct":var g=f[B-1].x+2/3*(p.x1-f[B-1].x),w=f[B-1].y+2/3*(p.y1-f[B-1].y),m=p.x+2/3*(p.x1-p.x),Q=p.y+2/3*(p.y1-p.y),C=p.x,y=p.y,v=[g-f[B-1].x,w-f[B-1].y,m-f[B-1].x,Q-f[B-1].y,C-f[B-1].x,y-f[B-1].y];i[i.length-1].deltas.push(v);break;case"arc":0===i.length&&i.push({deltas:[],abs:[]}),i[i.length-1].arc=!0,i[i.length-1].abs.push(p);break;case"close":i.push({close:!0})}}for(B=0;B<i.length;B++){var U;if(B==i.length-1?(U="f","evenodd"===A&&(U+="*")):U=null,i[B].close)this.pdf.internal.out("h"),this.pdf.internal.out("f");else if(i[B].arc){i[B].start&&this.internal.move2(this,i[B].start.x,i[B].start.y);for(var F=i[B].abs,E=0;E<F.length;E++){var b=F[E];if(void 0!==b.startAngle){var H=360*b.startAngle/(2*Math.PI),x=360*b.endAngle/(2*Math.PI),_=b.x,I=b.y;if(0===E&&this.internal.move2(this,_,I),this.internal.arc2(this,_,I,b.radius,H,x,b.anticlockwise,null,t),E===F.length-1&&i[B].start){var _=i[B].start.x,I=i[B].start.y;this.internal.line2(e,_,I)}}else this.internal.line2(e,b.x,b.y)}}else{var _=i[B].start.x,I=i[B].start.y;t?(this.pdf.lines(i[B].deltas,_,I,null,null),this.pdf.clip_fixed()):this.pdf.lines(i[B].deltas,_,I,null,U)}}window.outIntercept=o}},pushMask:function(){if("function"==typeof this.pdf.internal.newObject2){var A=this.pdf.internal.newStreamObject(),t=this.pdf.internal.newObject2();t.push("<</Type /ExtGState"),t.push("/SMask <</S /Alpha /G "+A.objId+" 0 R>>"),t.push(">>");var e="MASK"+t.objId;this.pdf.internal.addGraphicsState(e,t.objId);var n="/"+e+" gs";this.pdf.internal.out(n)}else console.log("jsPDF v2 not enabled")},clip:function(){if(this.ctx._clip_path.length>0)for(var A=0;A<this.path.length;A++)this.ctx._clip_path.push(this.path[A]);else this.ctx._clip_path=this.path;this.path=[]},measureText:function(A){var t=this.pdf;return{getWidth:function(){var e=t.internal.getFontSize(),n=t.getStringUnitWidth(A)*e/t.internal.scaleFactor;return n*=1.3333},get width(){return this.getWidth(A)}}},_getBaseline:function(A){var t=parseInt(this.pdf.internal.getFontSize()),e=.25*t;switch(this.ctx.textBaseline){case"bottom":return A-e;case"top":return A+t;case"hanging":return A+t-e;case"middle":return A+t/2-e;case"ideographic":return A;case"alphabetic":default:return A}}};var e=A.context2d;Object.defineProperty(e,"fillStyle",{set:function(A){this.setFillStyle(A)},get:function(){return this.ctx.fillStyle}}),Object.defineProperty(e,"strokeStyle",{set:function(A){this.setStrokeStyle(A)},get:function(){return this.ctx.strokeStyle}}),Object.defineProperty(e,"lineWidth",{set:function(A){this.setLineWidth(A)},get:function(){return this.ctx.lineWidth}}),Object.defineProperty(e,"lineCap",{set:function(A){this.setLineCap(A)},get:function(){return this.ctx.lineCap}}),Object.defineProperty(e,"lineJoin",{set:function(A){this.setLineJoin(A)},get:function(){return this.ctx.lineJoin}}),Object.defineProperty(e,"miterLimit",{set:function(A){this.ctx.miterLimit=A},get:function(){return this.ctx.miterLimit}}),Object.defineProperty(e,"textBaseline",{set:function(A){this.setTextBaseline(A)},get:function(){return this.getTextBaseline()}}),Object.defineProperty(e,"textAlign",{set:function(A){this.setTextAlign(A)},get:function(){return this.getTextAlign()}}),Object.defineProperty(e,"font",{set:function(A){this.setFont(A)},get:function(){return this.ctx.font}}),Object.defineProperty(e,"globalCompositeOperation",{set:function(A){this.ctx.globalCompositeOperation=A},get:function(){return this.ctx.globalCompositeOperation}}),Object.defineProperty(e,"globalAlpha",{set:function(A){this.ctx.globalAlpha=A},get:function(){return this.ctx.globalAlpha}}),Object.defineProperty(e,"ignoreClearRect",{set:function(A){this.ctx.ignoreClearRect=A},get:function(){return this.ctx.ignoreClearRect}}),e.internal={},e.internal.rxRgb=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/,e.internal.rxRgba=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d\.]+)\s*\)/,e.internal.rxTransparent=/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/,e.internal.arc=function(A,t,e,n,r,i,o,a){for(var s=this.pdf.internal.scaleFactor,c=this.pdf.internal.pageSize.height,l=this.pdf.internal.f2,u=r*(Math.PI/180),h=i*(Math.PI/180),d=this.createArc(n,u,h,o),f=0;f<d.length;f++){var B=d[f];0===f?this.pdf.internal.out([l((B.x1+t)*s),l((c-(B.y1+e))*s),"m",l((B.x2+t)*s),l((c-(B.y2+e))*s),l((B.x3+t)*s),l((c-(B.y3+e))*s),l((B.x4+t)*s),l((c-(B.y4+e))*s),"c"].join(" ")):this.pdf.internal.out([l((B.x2+t)*s),l((c-(B.y2+e))*s),l((B.x3+t)*s),l((c-(B.y3+e))*s),l((B.x4+t)*s),l((c-(B.y4+e))*s),"c"].join(" ")),A._lastPoint={x:t,y:e}}null!==a&&this.pdf.internal.out(this.pdf.internal.getStyle(a))},e.internal.arc2=function(A,t,e,n,r,i,o,a,s){var c=t,l=e;s?(this.arc(A,c,l,n,r,i,o,null),this.pdf.clip_fixed()):this.arc(A,c,l,n,r,i,o,a)},e.internal.move2=function(A,t,e){var n=this.pdf.internal.scaleFactor,r=this.pdf.internal.pageSize.height,i=this.pdf.internal.f2;this.pdf.internal.out([i(t*n),i((r-e)*n),"m"].join(" ")),A._lastPoint={x:t,y:e}},e.internal.line2=function(A,t,e){var n=this.pdf.internal.scaleFactor,r=this.pdf.internal.pageSize.height,i=this.pdf.internal.f2,o={x:t,y:e};this.pdf.internal.out([i(o.x*n),i((r-o.y)*n),"l"].join(" ")),A._lastPoint=o},e.internal.createArc=function(A,t,e,n){var r=2*Math.PI,i=Math.PI/2,o=t;for((o<r||o>r)&&(o%=r),o<0&&(o=r+o);t>e;)t-=r;var a=Math.abs(e-t);a<r&&n&&(a=r-a);for(var s=[],c=n?-1:1,l=o;a>1e-5;){var u=l+c*Math.min(a,i);s.push(this.createSmallArc(A,l,u)),a-=Math.abs(u-l),l=u}return s},e.internal.getCurrentPage=function(){return this.pdf.internal.pages[this.pdf.internal.getCurrentPageInfo().pageNumber]},e.internal.createSmallArc=function(A,t,e){var n=(e-t)/2,r=A*Math.cos(n),i=A*Math.sin(n),o=r,a=-i,s=o*o+a*a,c=s+o*r+a*i,l=4/3*(Math.sqrt(2*s*c)-c)/(o*i-a*r),u=o-l*a,h=a+l*o,d=u,f=-h,B=n+t,p=Math.cos(B),g=Math.sin(B);return{x1:A*Math.cos(t),y1:A*Math.sin(t),x2:u*p-h*g,y2:u*g+h*p,x3:d*p-f*g,y3:d*g+f*p,x4:A*Math.cos(e),y4:A*Math.sin(e)}}}(r.API),function(A){var t,n,r,i,o,s,c,l,u,h,d,f,B,p,g,w,m,Q,C,y;t=function(){function A(){}return function(t){return A.prototype=t,new A}}(),h=function(A){var t,e,n,r,i,o,a;for(e=0,n=A.length,t=void 0,r=!1,o=!1;!r&&e!==n;)(t=A[e]=A[e].trimLeft())&&(r=!0),e++;for(e=n-1;n&&!o&&-1!==e;)(t=A[e]=A[e].trimRight())&&(o=!0),e--;for(i=/\s+$/g,a=!0,e=0;e!==n;)"\u2028"!=A[e]&&(t=A[e].replace(/\s+/g," "),a&&(t=t.trimLeft()),t&&(a=i.test(t)),A[e]=t),e++;return A},f=function(A){var t,e,n;for(t=void 0,e=(n=A.split(",")).shift();!t&&e;)t=r[e.trim().toLowerCase()],e=n.shift();return t},B=function(A){(A="auto"===A?"0px":A).indexOf("em")>-1&&!isNaN(Number(A.replace("em","")))&&(A=18.719*Number(A.replace("em",""))+"px"),A.indexOf("pt")>-1&&!isNaN(Number(A.replace("pt","")))&&(A=1.333*Number(A.replace("pt",""))+"px");var t;return(t=p[A])?t:void 0!==(t={"xx-small":9,"x-small":11,small:13,medium:16,large:19,"x-large":23,"xx-large":28,auto:0}[{css_line_height_string:A}])?p[A]=t/16:(t=parseFloat(A))?p[A]=t/16:3===(t=A.match(/([\d\.]+)(px)/)).length?p[A]=parseFloat(t[1])/16:p[A]=1},u=function(A){var t,e,n;return n=function(t){var e;return e=function(A){return document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(A,null):A.currentStyle?A.currentStyle:A.style}(A),function(A){return A=A.replace(/-\D/g,function(A){return A.charAt(1).toUpperCase()}),e[A]}}(),t={},e=void 0,t["font-family"]=f(n("font-family"))||"times",t["font-style"]=i[n("font-style")]||"normal",t["text-align"]=o[n("text-align")]||"left","bold"===(e=s[n("font-weight")]||"normal")&&("normal"===t["font-style"]?t["font-style"]=e:t["font-style"]=e+t["font-style"]),t["font-size"]=B(n("font-size"))||1,t["line-height"]=B(n("line-height"))||1,t.display="inline"===n("display")?"inline":"block",e="block"===t.display,t["margin-top"]=e&&B(n("margin-top"))||0,t["margin-bottom"]=e&&B(n("margin-bottom"))||0,t["padding-top"]=e&&B(n("padding-top"))||0,t["padding-bottom"]=e&&B(n("padding-bottom"))||0,t["margin-left"]=e&&B(n("margin-left"))||0,t["margin-right"]=e&&B(n("margin-right"))||0,t["padding-left"]=e&&B(n("padding-left"))||0,t["padding-right"]=e&&B(n("padding-right"))||0,t["page-break-before"]=n("page-break-before")||"auto",t.float=c[n("cssFloat")]||"none",t.clear=l[n("clear")]||"none",t.color=n("color"),t},g=function(A,t,e){var n,r,i,o,a;if(i=!1,r=void 0,o=void 0,n=e["#"+A.id])if("function"==typeof n)i=n(A,t);else for(r=0,o=n.length;!i&&r!==o;)i=n[r](A,t),r++;if(n=e[A.nodeName],!i&&n)if("function"==typeof n)i=n(A,t);else for(r=0,o=n.length;!i&&r!==o;)i=n[r](A,t),r++;for(a=A.className?A.className.split(" "):[],r=0;r<a.length;r++)if(n=e["."+a[r]],!i&&n)if("function"==typeof n)i=n(A,t);else for(r=0,o=n.length;!i&&r!==o;)i=n[r](A,t),r++;return i},y=function(A,t){var e,n,r,i,o,a,s,c,l;for(e=[],n=[],r=0,l=A.rows[0].cells.length,s=A.clientWidth;r<l;)c=A.rows[0].cells[r],n[r]={name:c.textContent.toLowerCase().replace(/\s+/g,""),prompt:c.textContent.replace(/\r?\n/g,""),width:c.clientWidth/s*t.pdf.internal.pageSize.width},r++;for(r=1;r<A.rows.length;){for(a=A.rows[r],o={},i=0;i<a.cells.length;)o[n[i].name]=a.cells[i].textContent.replace(/\r?\n/g,""),i++;e.push(o),r++}return{rows:e,headers:n}};var v={SCRIPT:1,STYLE:1,NOSCRIPT:1,OBJECT:1,EMBED:1,SELECT:1},U=1;n=function(A,r,i){var o,a,s,c,l,h,d,f;for(a=A.childNodes,o=void 0,(l="block"===(s=u(A)).display)&&(r.setBlockBoundary(),r.setBlockStyle(s)),c=0,h=a.length;c<h;){if("object"===(void 0===(o=a[c])?"undefined":e(o))){if(r.executeWatchFunctions(o),1===o.nodeType&&"HEADER"===o.nodeName){var B=o,p=r.pdf.margins_doc.top;r.pdf.internal.events.subscribe("addPage",function(A){r.y=p,n(B,r,i),r.pdf.margins_doc.top=r.y+10,r.y+=10},!1)}if(8===o.nodeType&&"#comment"===o.nodeName)~o.textContent.indexOf("ADD_PAGE")&&(r.pdf.addPage(),r.y=r.pdf.margins_doc.top);else if(1!==o.nodeType||v[o.nodeName])if(3===o.nodeType){var m=o.nodeValue;if(o.nodeValue&&"LI"===o.parentNode.nodeName)if("OL"===o.parentNode.parentNode.nodeName)m=U+++". "+m;else{var Q=s["font-size"],C=(3-.75*Q)*r.pdf.internal.scaleFactor,F=.75*Q*r.pdf.internal.scaleFactor,E=1.74*Q/r.pdf.internal.scaleFactor;f=function(A,t){this.pdf.circle(A+C,t+F,E,"FD")}}16&o.ownerDocument.body.compareDocumentPosition(o)&&r.addText(m,s)}else"string"==typeof o&&r.addText(o,s);else{var b;if("IMG"===o.nodeName){var H=o.getAttribute("src");b=w[r.pdf.sHashCode(H)||H]}if(b){r.pdf.internal.pageSize.height-r.pdf.margins_doc.bottom<r.y+o.height&&r.y>r.pdf.margins_doc.top&&(r.pdf.addPage(),r.y=r.pdf.margins_doc.top,r.executeWatchFunctions(o));var x=u(o),_=r.x,I=12/r.pdf.internal.scaleFactor,T=(x["margin-left"]+x["padding-left"])*I,S=(x["margin-right"]+x["padding-right"])*I,N=(x["margin-top"]+x["padding-top"])*I,O=(x["margin-bottom"]+x["padding-bottom"])*I;void 0!==x.float&&"right"===x.float?_+=r.settings.width-o.width-S:_+=T,r.pdf.addImage(b,_,r.y+N,o.width,o.height),b=void 0,"right"===x.float||"left"===x.float?(r.watchFunctions.push(function(A,t,e,n){return r.y>=t?(r.x+=A,r.settings.width+=e,!0):!!(n&&1===n.nodeType&&!v[n.nodeName]&&r.x+n.width>r.pdf.margins_doc.left+r.pdf.margins_doc.width)&&(r.x+=A,r.y=t,r.settings.width+=e,!0)}.bind(this,"left"===x.float?-o.width-T-S:0,r.y+o.height+N+O,o.width)),r.watchFunctions.push(function(A,t,e){return!(r.y<A&&t===r.pdf.internal.getNumberOfPages())||1===e.nodeType&&"both"===u(e).clear&&(r.y=A,!0)}.bind(this,r.y+o.height,r.pdf.internal.getNumberOfPages())),r.settings.width-=o.width+T+S,"left"===x.float&&(r.x+=o.width+T+S)):r.y+=o.height+N+O}else if("TABLE"===o.nodeName)d=y(o,r),r.y+=10,r.pdf.table(r.x,r.y,d.rows,d.headers,{autoSize:!1,printHeaders:i.printHeaders,margins:r.pdf.margins_doc,css:u(o)}),r.y=r.pdf.lastCellPos.y+r.pdf.lastCellPos.h+20;else if("OL"===o.nodeName||"UL"===o.nodeName)U=1,g(o,r,i)||n(o,r,i),r.y+=10;else if("LI"===o.nodeName){var k=r.x;r.x+=20/r.pdf.internal.scaleFactor,r.y+=3,g(o,r,i)||n(o,r,i),r.x=k}else"BR"===o.nodeName?(r.y+=s["font-size"]*r.pdf.internal.scaleFactor,r.addText("\u2028",t(s))):g(o,r,i)||n(o,r,i)}}c++}if(i.outY=r.y,l)return r.setBlockBoundary(f)},w={},m=function(A,t,e,n){function r(){t.pdf.internal.events.publish("imagesLoaded"),n(i)}for(var i,o=A.getElementsByTagName("img"),a=o.length,s=0;a--;)!function(A,e,n){if(A){var o=new Image;i=++s,o.crossOrigin="",o.onerror=o.onload=function(){if(o.complete&&(0===o.src.indexOf("data:image/")&&(o.width=e||o.width||0,o.height=n||o.height||0),o.width+o.height)){var i=t.pdf.sHashCode(A)||A;w[i]=w[i]||o}--s||r()},o.src=A}}(o[a].getAttribute("src"),o[a].width,o[a].height);return s||r()},Q=function(A,t,e){var r=A.getElementsByTagName("footer");if(r.length>0){r=r[0];var i=t.pdf.internal.write,o=t.y;t.pdf.internal.write=function(){},n(r,t,e);var a=Math.ceil(t.y-o)+5;t.y=o,t.pdf.internal.write=i,t.pdf.margins_doc.bottom+=a;for(var s=function(A){var i=void 0!==A?A.pageNumber:1,o=t.y;t.y=t.pdf.internal.pageSize.height-t.pdf.margins_doc.bottom,t.pdf.margins_doc.bottom-=a;for(var s=r.getElementsByTagName("span"),c=0;c<s.length;++c)(" "+s[c].className+" ").replace(/[\n\t]/g," ").indexOf(" pageCounter ")>-1&&(s[c].innerHTML=i),(" "+s[c].className+" ").replace(/[\n\t]/g," ").indexOf(" totalPages ")>-1&&(s[c].innerHTML="###jsPDFVarTotalPages###");n(r,t,e),t.pdf.margins_doc.bottom+=a,t.y=o},c=r.getElementsByTagName("span"),l=0;l<c.length;++l)(" "+c[l].className+" ").replace(/[\n\t]/g," ").indexOf(" totalPages ")>-1&&t.pdf.internal.events.subscribe("htmlRenderingFinished",t.pdf.putTotalPages.bind(t.pdf,"###jsPDFVarTotalPages###"),!0);t.pdf.internal.events.subscribe("addPage",s,!1),s(),v.FOOTER=1}},C=function(A,t,e,r,i,o){if(!t)return!1;"string"==typeof t||t.parentNode||(t=""+t.innerHTML),"string"==typeof t&&(t=function(A){var t,e,n,r;return n="jsPDFhtmlText"+Date.now().toString()+(1e3*Math.random()).toFixed(0),r="position: absolute !important;clip: rect(1px 1px 1px 1px); /* IE6, IE7 */clip: rect(1px, 1px, 1px, 1px);padding:0 !important;border:0 !important;height: 1px !important;width: 1px !important; top:auto;left:-100px;overflow: hidden;",e=document.createElement("div"),e.style.cssText=r,e.innerHTML='<iframe style="height:1px;width:1px" name="'+n+'" />',document.body.appendChild(e),(t=window.frames[n]).document.open(),t.document.writeln(A),t.document.close(),t.document.body}(t.replace(/<\/?script[^>]*?>/gi,"")));var a,s=new d(A,e,r,i);return m.call(this,t,s,i.elementHandlers,function(A){Q(t,s,i.elementHandlers),n(t,s,i.elementHandlers),s.pdf.internal.events.publish("htmlRenderingFinished"),a=s.dispose(),"function"==typeof o?o(a):A&&console.error("jsPDF Warning: rendering issues? provide a callback to fromHTML!")}),a||{x:s.x,y:s.y}},(d=function(A,t,e,n){return this.pdf=A,this.x=t,this.y=e,this.settings=n,this.watchFunctions=[],this.init(),this}).prototype.init=function(){return this.paragraph={text:[],style:[]},this.pdf.internal.write("q")},d.prototype.dispose=function(){return this.pdf.internal.write("Q"),{x:this.x,y:this.y,ready:!0}},d.prototype.executeWatchFunctions=function(A){var t=!1,e=[];if(this.watchFunctions.length>0){for(var n=0;n<this.watchFunctions.length;++n)!0===this.watchFunctions[n](A)?t=!0:e.push(this.watchFunctions[n]);this.watchFunctions=e}return t},d.prototype.splitFragmentsIntoLines=function(A,e){var n,r,i,o,a,s,c,l,u,h,d,f,B,p;for(h=this.pdf.internal.scaleFactor,o={},r=void 0,u=void 0,i=void 0,a=void 0,p=void 0,l=void 0,c=void 0,s=void 0,f=[d=[]],n=0,B=this.settings.width;A.length;)if(a=A.shift(),p=e.shift(),a)if(r=p["font-family"],u=p["font-style"],(i=o[r+u])||(i=this.pdf.internal.getFont(r,u).metadata.Unicode,o[r+u]=i),l={widths:i.widths,kerning:i.kerning,fontSize:12*p["font-size"],textIndent:n},c=this.pdf.getStringUnitWidth(a,l)*l.fontSize/h,"\u2028"==a)d=[],f.push(d);else if(n+c>B){for(s=this.pdf.splitTextToSize(a,B,l),d.push([s.shift(),p]);s.length;)d=[[s.shift(),p]],f.push(d);n=this.pdf.getStringUnitWidth(d[0][0],l)*l.fontSize/h}else d.push([a,p]),n+=c;if(void 0!==p["text-align"]&&("center"===p["text-align"]||"right"===p["text-align"]||"justify"===p["text-align"]))for(var g=0;g<f.length;++g){var w=this.pdf.getStringUnitWidth(f[g][0][0],l)*l.fontSize/h;g>0&&(f[g][0][1]=t(f[g][0][1]));var m=B-w;if("right"===p["text-align"])f[g][0][1]["margin-left"]=m;else if("center"===p["text-align"])f[g][0][1]["margin-left"]=m/2;else if("justify"===p["text-align"]){var Q=f[g][0][0].split(" ").length-1;f[g][0][1]["word-spacing"]=m/Q,g===f.length-1&&(f[g][0][1]["word-spacing"]=0)}}return f},d.prototype.RenderTextFragment=function(A,t){var e,n;n=0,this.pdf.internal.pageSize.height-this.pdf.margins_doc.bottom<this.y+this.pdf.internal.getFontSize()&&(this.pdf.internal.write("ET","Q"),this.pdf.addPage(),this.y=this.pdf.margins_doc.top,this.pdf.internal.write("q","BT 0 g",this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),t.color,"Td"),n=Math.max(n,t["line-height"],t["font-size"]),this.pdf.internal.write(0,(-12*n).toFixed(2),"Td")),e=this.pdf.internal.getFont(t["font-family"],t["font-style"]);var r=this.getPdfColor(t.color);r!==this.lastTextColor&&(this.pdf.internal.write(r),this.lastTextColor=r),void 0!==t["word-spacing"]&&t["word-spacing"]>0&&this.pdf.internal.write(t["word-spacing"].toFixed(2),"Tw"),this.pdf.internal.write("/"+e.id,(12*t["font-size"]).toFixed(2),"Tf","("+this.pdf.internal.pdfEscape(A)+") Tj"),void 0!==t["word-spacing"]&&this.pdf.internal.write(0,"Tw")},d.prototype.getPdfColor=function(A){var t,e,n,r=/rgb\s*\(\s*(\d+),\s*(\d+),\s*(\d+\s*)\)/.exec(A);if(null!=r?(t=parseInt(r[1]),e=parseInt(r[2]),n=parseInt(r[3])):("#"!=A.charAt(0)&&((A=a.colorNameToHex(A))||(A="#000000")),t=A.substring(1,3),t=parseInt(t,16),e=A.substring(3,5),e=parseInt(e,16),n=A.substring(5,7),n=parseInt(n,16)),"string"==typeof t&&/^#[0-9A-Fa-f]{6}$/.test(t)){var i=parseInt(t.substr(1),16);t=i>>16&255,e=i>>8&255,n=255&i}var o=this.f3;return 0===t&&0===e&&0===n||void 0===e?o(t/255)+" g":[o(t/255),o(e/255),o(n/255),"rg"].join(" ")},d.prototype.f3=function(A){return A.toFixed(3)},d.prototype.renderParagraph=function(A){var t,e,n,r,i,o,a,s,c,l,u,d,f;if(n=h(this.paragraph.text),d=this.paragraph.style,t=this.paragraph.blockstyle,this.paragraph={text:[],style:[],blockstyle:{},priorblockstyle:t},n.join("").trim()){a=this.splitFragmentsIntoLines(n,d),o=void 0,s=void 0,e=12/this.pdf.internal.scaleFactor,this.priorMarginBottom=this.priorMarginBottom||0,u=(Math.max((t["margin-top"]||0)-this.priorMarginBottom,0)+(t["padding-top"]||0))*e,l=((t["margin-bottom"]||0)+(t["padding-bottom"]||0))*e,this.priorMarginBottom=t["margin-bottom"]||0,"always"===t["page-break-before"]&&(this.pdf.addPage(),this.y=0,u=((t["margin-top"]||0)+(t["padding-top"]||0))*e),c=this.pdf.internal.write,r=void 0,i=void 0,this.y+=u,c("q","BT 0 g",this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td");for(var B=0;a.length;){for(s=0,r=0,i=(o=a.shift()).length;r!==i;)o[r][0].trim()&&(s=Math.max(s,o[r][1]["line-height"],o[r][1]["font-size"]),f=7*o[r][1]["font-size"]),r++;var p=0,g=0;for(void 0!==o[0][1]["margin-left"]&&o[0][1]["margin-left"]>0&&(p=(g=this.pdf.internal.getCoordinateString(o[0][1]["margin-left"]))-B,B=g),c(p+Math.max(t["margin-left"]||0,0)*e,(-12*s).toFixed(2),"Td"),r=0,i=o.length;r!==i;)o[r][0]&&this.RenderTextFragment(o[r][0],o[r][1]),r++;if(this.y+=s*e,this.executeWatchFunctions(o[0][1])&&a.length>0){var w=[],m=[];a.forEach(function(A){for(var t=0,e=A.length;t!==e;)A[t][0]&&(w.push(A[t][0]+" "),m.push(A[t][1])),++t}),a=this.splitFragmentsIntoLines(h(w),m),c("ET","Q"),c("q","BT 0 g",this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td")}}return A&&"function"==typeof A&&A.call(this,this.x-9,this.y-f/2),c("ET","Q"),this.y+=l}},d.prototype.setBlockBoundary=function(A){return this.renderParagraph(A)},d.prototype.setBlockStyle=function(A){return this.paragraph.blockstyle=A},d.prototype.addText=function(A,t){return this.paragraph.text.push(A),this.paragraph.style.push(t)},r={helvetica:"helvetica","sans-serif":"helvetica","times new roman":"times",serif:"times",times:"times",monospace:"courier",courier:"courier"},s={100:"normal",200:"normal",300:"normal",400:"normal",500:"bold",600:"bold",700:"bold",800:"bold",900:"bold",normal:"normal",bold:"bold",bolder:"bold",lighter:"normal"},i={normal:"normal",italic:"italic",oblique:"italic"},o={left:"left",right:"right",center:"center",justify:"justify"},c={none:"none",right:"right",left:"left"},l={none:"none",both:"both"},p={normal:1},A.fromHTML=function(A,t,e,n,r,i){return this.margins_doc=i||{top:0,bottom:0},n||(n={}),n.elementHandlers||(n.elementHandlers={}),C(this,A,isNaN(t)?4:t,isNaN(e)?4:e,n,r)}}(r.API),function(A){var t,e,n;r.API.addJS=function(A){return n=A,this.internal.events.subscribe("postPutResources",function(A){t=this.internal.newObject(),this.internal.write("<< /Names [(EmbeddedJS) "+(t+1)+" 0 R] >>","endobj"),e=this.internal.newObject(),this.internal.write("<< /S /JavaScript /JS (",n,") >>","endobj")}),this.internal.events.subscribe("putCatalog",function(){void 0!==t&&void 0!==e&&this.internal.write("/Names <</JavaScript "+t+" 0 R>>")}),this}}(),function(A){A.events.push(["postPutResources",function(){var A=this,t=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var e=A.outline.render().split(/\r\n/),n=0;n<e.length;n++){var r=e[n],i=t.exec(r);if(null!=i){var o=i[1];A.internal.newObjectDeferredBegin(o)}A.internal.write(r)}if(this.outline.createNamedDestinations){for(var a=this.internal.pages.length,s=[],n=0;n<a;n++){var c=A.internal.newObject();s.push(c);var l=A.internal.getPageInfo(n+1);A.internal.write("<< /D["+l.objId+" 0 R /XYZ null null null]>> endobj")}var u=A.internal.newObject();for(A.internal.write("<< /Names [ "),n=0;n<s.length;n++)A.internal.write("(page_"+(n+1)+")"+s[n]+" 0 R");A.internal.write(" ] >>","endobj"),A.internal.newObject(),A.internal.write("<< /Dests "+u+" 0 R"),A.internal.write(">>","endobj")}}]),A.events.push(["putCatalog",function(){var A=this;A.outline.root.children.length>0&&(A.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&A.internal.write("/Names "+namesOid+" 0 R"))}]),A.events.push(["initialized",function(){var A=this;A.outline={createNamedDestinations:!1,root:{children:[]}},A.outline.add=function(A,t,e){var n={title:t,options:e,children:[]};return null==A&&(A=this.root),A.children.push(n),n},A.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=A,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},A.outline.genIds_r=function(t){t.id=A.internal.newObjectDeferred();for(var e=0;e<t.children.length;e++)this.genIds_r(t.children[e])},A.outline.renderRoot=function(A){this.objStart(A),this.line("/Type /Outlines"),A.children.length>0&&(this.line("/First "+this.makeRef(A.children[0])),this.line("/Last "+this.makeRef(A.children[A.children.length-1]))),this.line("/Count "+this.count_r({count:0},A)),this.objEnd()},A.outline.renderItems=function(t){for(r=0;r<t.children.length;r++){i=t.children[r],this.objStart(i),this.line("/Title "+this.makeString(i.title)),this.line("/Parent "+this.makeRef(t)),r>0&&this.line("/Prev "+this.makeRef(t.children[r-1])),r<t.children.length-1&&this.line("/Next "+this.makeRef(t.children[r+1])),i.children.length>0&&(this.line("/First "+this.makeRef(i.children[0])),this.line("/Last "+this.makeRef(i.children[i.children.length-1])));var e=this.count=this.count_r({count:0},i);if(e>0&&this.line("/Count "+e),i.options&&i.options.pageNumber){var n=A.internal.getPageInfo(i.options.pageNumber);this.line("/Dest ["+n.objId+" 0 R /XYZ 0 "+this.ctx.pdf.internal.pageSize.height+" 0]")}this.objEnd()}for(var r=0;r<t.children.length;r++){var i=t.children[r];this.renderItems(i)}},A.outline.line=function(A){this.ctx.val+=A+"\r\n"},A.outline.makeRef=function(A){return A.id+" 0 R"},A.outline.makeString=function(t){return"("+A.internal.pdfEscape(t)+")"},A.outline.objStart=function(A){this.ctx.val+="\r\n"+A.id+" 0 obj\r\n<<\r\n"},A.outline.objEnd=function(A){this.ctx.val+=">> \r\nendobj\r\n"},A.outline.count_r=function(A,t){for(var e=0;e<t.children.length;e++)A.count++,this.count_r(A,t.children[e]);return A.count}}])}(r.API),function(A){var t=function(){return"function"!=typeof PNG||"function"!=typeof l},e=function(t){return t!==A.image_compression.NONE&&n()},n=function(){var A="function"==typeof s;if(!A)throw new Error("requires deflate.js for compression");return A},r=function(t,e,n,r){var c=5,l=h;switch(r){case A.image_compression.FAST:c=3,l=u;break;case A.image_compression.MEDIUM:c=6,l=d;break;case A.image_compression.SLOW:c=9,l=f}t=a(t,e,n,l);var B=new Uint8Array(i(c)),p=o(t),g=new s(c),w=g.append(t),m=g.flush(),Q=B.length+w.length+m.length,C=new Uint8Array(Q+4);return C.set(B),C.set(w,B.length),C.set(m,B.length+w.length),C[Q++]=p>>>24&255,C[Q++]=p>>>16&255,C[Q++]=p>>>8&255,C[Q++]=255&p,A.arrayBufferToBinaryString(C)},i=function(A,t){var e=Math.LOG2E*Math.log(32768)-8<<4|8,n=e<<8;return n|=Math.min(3,(t-1&255)>>1)<<6,n|=0,n+=31-n%31,[e,255&n]},o=function(A,t){for(var e,n=1,r=0,i=A.length,o=0;i>0;){i-=e=i>t?t:i;do{r+=n+=A[o++]}while(--e);n%=65521,r%=65521}return(r<<16|n)>>>0},a=function(A,t,e,n){for(var r,i,o,a=A.length/t,s=new Uint8Array(A.length+a),c=p(),l=0;l<a;l++){if(o=l*t,r=A.subarray(o,o+t),n)s.set(n(r,e,i),o+l);else{for(var u=0,h=c.length,d=[];u<h;u++)d[u]=c[u](r,e,i);var f=g(d.concat());s.set(d[f],o+l)}i=r}return s},c=function(A,t,e){var n=Array.apply([],A);return n.unshift(0),n},u=function(A,t,e){var n,r=[],i=0,o=A.length;for(r[0]=1;i<o;i++)n=A[i-t]||0,r[i+1]=A[i]-n+256&255;return r},h=function(A,t,e){var n,r=[],i=0,o=A.length;for(r[0]=2;i<o;i++)n=e&&e[i]||0,r[i+1]=A[i]-n+256&255;return r},d=function(A,t,e){var n,r,i=[],o=0,a=A.length;for(i[0]=3;o<a;o++)n=A[o-t]||0,r=e&&e[o]||0,i[o+1]=A[o]+256-(n+r>>>1)&255;return i},f=function(A,t,e){var n,r,i,o,a=[],s=0,c=A.length;for(a[0]=4;s<c;s++)n=A[s-t]||0,r=e&&e[s]||0,i=e&&e[s-t]||0,o=B(n,r,i),a[s+1]=A[s]-o+256&255;return a},B=function(A,t,e){var n=A+t-e,r=Math.abs(n-A),i=Math.abs(n-t),o=Math.abs(n-e);return r<=i&&r<=o?A:i<=o?t:e},p=function(){return[c,u,h,d,f]},g=function(A){for(var t,e,n,r=0,i=A.length;r<i;)((t=w(A[r].slice(1)))<e||!e)&&(e=t,n=r),r++;return n},w=function(A){for(var t=0,e=A.length,n=0;t<e;)n+=Math.abs(A[t++]);return n},m=function(t){var e;switch(t){case A.image_compression.FAST:e=11;break;case A.image_compression.MEDIUM:e=13;break;case A.image_compression.SLOW:e=14;break;default:e=12}return e};A.processPNG=function(A,n,i,o,a){var s,c,l,u,h,d,f=this.color_spaces.DEVICE_RGB,B=this.decode.FLATE_DECODE,p=8;if(this.isArrayBuffer(A)&&(A=new Uint8Array(A)),this.isArrayBufferView(A)){if(t())throw new Error("PNG support requires png.js and zlib.js");if(s=new PNG(A),A=s.imgData,p=s.bits,f=s.colorSpace,u=s.colors,-1!==[4,6].indexOf(s.colorType)){if(8===s.bits)for(var g,w=(_=32==s.pixelBitlength?new Uint32Array(s.decodePixels().buffer):16==s.pixelBitlength?new Uint16Array(s.decodePixels().buffer):new Uint8Array(s.decodePixels().buffer)).length,Q=new Uint8Array(w*s.colors),C=new Uint8Array(w),y=s.pixelBitlength-s.bits,v=0,U=0;v<w;v++){for(F=_[v],g=0;g<y;)Q[U++]=F>>>g&255,g+=s.bits;C[v]=F>>>g&255}if(16===s.bits){for(var F,w=(_=new Uint32Array(s.decodePixels().buffer)).length,Q=new Uint8Array(w*(32/s.pixelBitlength)*s.colors),C=new Uint8Array(w*(32/s.pixelBitlength)),E=s.colors>1,v=0,U=0,b=0;v<w;)F=_[v++],Q[U++]=F>>>0&255,E&&(Q[U++]=F>>>16&255,F=_[v++],Q[U++]=F>>>0&255),C[b++]=F>>>16&255;p=8}e(o)?(A=r(Q,s.width*s.colors,s.colors,o),d=r(C,s.width,1,o)):(A=Q,d=C,B=null)}if(3===s.colorType&&(f=this.color_spaces.INDEXED,h=s.palette,s.transparency.indexed)){for(var H=s.transparency.indexed,x=0,v=0,w=H.length;v<w;++v)x+=H[v];if((x/=255)==w-1&&-1!==H.indexOf(0))l=[H.indexOf(0)];else if(x!==w){for(var _=s.decodePixels(),C=new Uint8Array(_.length),v=0,w=_.length;v<w;v++)C[v]=H[_[v]];d=r(C,s.width,1)}}var I=m(o);return c=B===this.decode.FLATE_DECODE?"/Predictor "+I+" /Colors "+u+" /BitsPerComponent "+p+" /Columns "+s.width:"/Colors "+u+" /BitsPerComponent "+p+" /Columns "+s.width,(this.isArrayBuffer(A)||this.isArrayBufferView(A))&&(A=this.arrayBufferToBinaryString(A)),(d&&this.isArrayBuffer(d)||this.isArrayBufferView(d))&&(d=this.arrayBufferToBinaryString(d)),this.createImageInfo(A,s.width,s.height,f,p,B,n,i,c,l,h,d,I)}throw new Error("Unsupported PNG image data, try using JPEG instead.")}}(r.API),r.API.autoPrint=function(){var A;return this.internal.events.subscribe("postPutResources",function(){A=this.internal.newObject(),this.internal.write("<< /S/Named /Type/Action /N/Print >>","endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.write("/OpenAction "+A+" 0 R")}),this},function(A){var t=A.getCharWidthsArray=function(A,t){t||(t={});var e,n,r,i=t.widths?t.widths:this.internal.getFont().metadata.Unicode.widths,o=i.fof?i.fof:1,a=t.kerning?t.kerning:this.internal.getFont().metadata.Unicode.kerning,s=a.fof?a.fof:1,c=0,l=i[0]||o,u=[];for(e=0,n=A.length;e<n;e++)r=A.charCodeAt(e),u.push((i[r]||l)/o+(a[r]&&a[r][c]||0)/s),c=r;return u},e=function(A){for(var t=A.length,e=0;t;)e+=A[--t];return e},n=A.getStringUnitWidth=function(A,n){return e(t.call(this,A,n))},r=function(A,t,e,n){for(var r=[],i=0,o=A.length,a=0;i!==o&&a+t[i]<e;)a+=t[i],i++;r.push(A.slice(0,i));var s=i;for(a=0;i!==o;)a+t[i]>n&&(r.push(A.slice(s,i)),a=0,s=i),a+=t[i],i++;return s!==i&&r.push(A.slice(s,i)),r},i=function(A,i,o){o||(o={});var a,s,c,l,u,h,d=[],f=[d],B=o.textIndent||0,p=0,g=0,w=A.split(" "),m=t(" ",o)[0];if(h=-1===o.lineIndent?w[0].length+2:o.lineIndent||0){var Q=Array(h).join(" "),C=[];w.map(function(A){(A=A.split(/\s*\n/)).length>1?C=C.concat(A.map(function(A,t){return(t&&A.length?"\n":"")+A})):C.push(A[0])}),w=C,h=n(Q,o)}for(c=0,l=w.length;c<l;c++){var y=0;if(a=w[c],h&&"\n"==a[0]&&(a=a.substr(1),y=1),s=t(a,o),g=e(s),B+p+g>i||y){if(g>i){for(u=r(a,s,i-(B+p),i),d.push(u.shift()),d=[u.pop()];u.length;)f.push([u.shift()]);g=e(s.slice(a.length-d[0].length))}else d=[a];f.push(d),B=g+h,p=m}else d.push(a),B+=p+g,p=m}if(h)v=function(A,t){return(t?Q:"")+A.join(" ")};else var v=function(A){return A.join(" ")};return f.map(v)};A.splitTextToSize=function(A,t,e){e||(e={});var n,r=e.fontSize||this.internal.getFontSize(),o=function(A){var t={0:1},e={};if(A.widths&&A.kerning)return{widths:A.widths,kerning:A.kerning};var n=this.internal.getFont(A.fontName,A.fontStyle);return n.metadata.Unicode?{widths:n.metadata.Unicode.widths||t,kerning:n.metadata.Unicode.kerning||e}:{widths:t,kerning:e}}.call(this,e);n=Array.isArray(A)?A:A.split(/\r?\n/);var a=1*this.internal.scaleFactor*t/r;o.textIndent=e.textIndent?1*e.textIndent*this.internal.scaleFactor/r:0,o.lineIndent=e.lineIndent;var s,c,l=[];for(s=0,c=n.length;s<c;s++)l=l.concat(i(n[s],a,o));return l}}(r.API),function(A){var t=function(A){for(var t={},e=0;e<"klmnopqrstuvwxyz".length;e++)t["klmnopqrstuvwxyz"[e]]="0123456789abcdef"[e];var n,r,i,o,a={},s=1,c=a,l=[],u="",h="",d=A.length-1;for(e=1;e!=d;)o=A[e],e+=1,"'"==o?n?(i=n.join(""),n=void 0):n=[]:n?n.push(o):"{"==o?(l.push([c,i]),c={},i=void 0):"}"==o?((r=l.pop())[0][r[1]]=c,i=void 0,c=r[0]):"-"==o?s=-1:void 0===i?t.hasOwnProperty(o)?(u+=t[o],i=parseInt(u,16)*s,s=1,u=""):u+=o:t.hasOwnProperty(o)?(h+=t[o],c[i]=parseInt(h,16)*s,s=1,i=void 0,h=""):h+=o;return a},e={codePages:["WinAnsiEncoding"],WinAnsiEncoding:t("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},n={Unicode:{Courier:e,"Courier-Bold":e,"Courier-BoldOblique":e,"Courier-Oblique":e,Helvetica:e,"Helvetica-Bold":e,"Helvetica-BoldOblique":e,"Helvetica-Oblique":e,"Times-Roman":e,"Times-Bold":e,"Times-BoldItalic":e,"Times-Italic":e}},r={Unicode:{"Courier-Oblique":t("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":t("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":t("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:t("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":t("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":t("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Helvetica:t("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":t("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),"Courier-Bold":t("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":t("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":t("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":t("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};A.events.push(["addFont",function(A){var t,e,i;(t=r.Unicode[A.PostScriptName])&&((e=A.metadata.Unicode?A.metadata.Unicode:A.metadata.Unicode={}).widths=t.widths,e.kerning=t.kerning),(i=n.Unicode[A.PostScriptName])&&((e=A.metadata.Unicode?A.metadata.Unicode:A.metadata.Unicode={}).encoding=i,i.codePages&&i.codePages.length&&(A.encoding=i.codePages[0]))}])}(r.API),r.API.addSVG=function(A,t,e,n,r){if(void 0===t||void 0===e)throw new Error("addSVG needs values for 'x' and 'y'");var i=function(A,t){var e=(t.contentWindow||t.contentDocument).document;return e.write(A),e.close(),e.getElementsByTagName("svg")[0]}(A,function(A){var t=A.createElement("iframe");return function(A,t){var e=t.createElement("style");e.type="text/css",e.styleSheet?e.styleSheet.cssText=A:e.appendChild(t.createTextNode(A)),t.getElementsByTagName("head")[0].appendChild(e)}(".jsPDF_sillysvg_iframe {display:none;position:absolute;}",A),t.name="childframe",t.setAttribute("width",0),t.setAttribute("height",0),t.setAttribute("frameborder","0"),t.setAttribute("scrolling","no"),t.setAttribute("seamless","seamless"),t.setAttribute("class","jsPDF_sillysvg_iframe"),A.body.appendChild(t),t}(document)),o=[1,1],a=parseFloat(i.getAttribute("width")),s=parseFloat(i.getAttribute("height"));a&&s&&(n&&r?o=[n/a,r/s]:n?o=[n/a,n/a]:r&&(o=[r/s,r/s]));var c,l,u,h,d=i.childNodes;for(c=0,l=d.length;c<l;c++)(u=d[c]).tagName&&"PATH"===u.tagName.toUpperCase()&&((h=function(A){for(var t=parseFloat(A[1]),e=parseFloat(A[2]),n=[],r=3,i=A.length;r<i;)"c"===A[r]?(n.push([parseFloat(A[r+1]),parseFloat(A[r+2]),parseFloat(A[r+3]),parseFloat(A[r+4]),parseFloat(A[r+5]),parseFloat(A[r+6])]),r+=7):"l"===A[r]?(n.push([parseFloat(A[r+1]),parseFloat(A[r+2])]),r+=3):r+=1;return[t,e,n]}(u.getAttribute("d").split(" ")))[0]=h[0]*o[0]+t,h[1]=h[1]*o[1]+e,this.lines.call(this,h[2],h[0],h[1],o));return this},r.API.putTotalPages=function(A){for(var t=new RegExp(A,"g"),e=1;e<=this.internal.getNumberOfPages();e++)for(var n=0;n<this.internal.pages[e].length;n++)this.internal.pages[e][n]=this.internal.pages[e][n].replace(t,this.internal.getNumberOfPages());return this},function(A){var t="",e="",n="";r.API.addMetadata=function(A,r){return e=r||"http:https://jspdf.default.namespaceuri/",t=A,this.internal.events.subscribe("postPutResources",function(){if(t){var A='<rdf:RDF xmlns:rdf="http:https://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+e+'"><jspdf:metadata>',r=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),i=unescape(encodeURIComponent(A)),o=unescape(encodeURIComponent(t)),a=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),s=unescape(encodeURIComponent("</x:xmpmeta>")),c=i.length+o.length+a.length+r.length+s.length;n=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+c+" >>"),this.internal.write("stream"),this.internal.write(r+i+o+a+s),this.internal.write("endstream"),this.internal.write("endobj")}else n=""}),this.internal.events.subscribe("putCatalog",function(){n&&this.internal.write("/Metadata "+n+" 0 R")}),this}}(),function(A){if(A.URL=A.URL||A.webkitURL,A.Blob&&A.URL)try{return void new Blob}catch(A){}var t=A.BlobBuilder||A.WebKitBlobBuilder||A.MozBlobBuilder||function(A){var t=function(A){return Object.prototype.toString.call(A).match(/^\[object\s(.*)\]$/)[1]},e=function(){this.data=[]},n=function(A,t,e){this.data=A,this.size=A.length,this.type=t,this.encoding=e},r=e.prototype,i=n.prototype,o=A.FileReaderSync,a=function(A){this.code=this[this.name=A]},s="NOT_FOUND_ERR SECURITY_ERR ABORT_ERR NOT_READABLE_ERR ENCODING_ERR NO_MODIFICATION_ALLOWED_ERR INVALID_STATE_ERR SYNTAX_ERR".split(" "),c=s.length,l=A.URL||A.webkitURL||A,u=l.createObjectURL,h=l.revokeObjectURL,d=l,f=A.btoa,B=A.atob,p=A.ArrayBuffer,g=A.Uint8Array,w=/^[\w-]+:\/*\[?[\w\.:-]+\]?(?::[0-9]+)?/;for(n.fake=i.fake=!0;c--;)a.prototype[s[c]]=c+1;return l.createObjectURL||(d=A.URL=function(A){var t,e=document.createElementNS("http:https://www.w3.org/1999/xhtml","a");return e.href=A,"origin"in e||("data:"===e.protocol.toLowerCase()?e.origin=null:(t=A.match(w),e.origin=t&&t[1])),e}),d.createObjectURL=function(A){var t,e=A.type;return null===e&&(e="application/octet-stream"),A instanceof n?(t="data:"+e,"base64"===A.encoding?t+";base64,"+A.data:"URI"===A.encoding?t+","+decodeURIComponent(A.data):f?t+";base64,"+f(A.data):t+","+encodeURIComponent(A.data)):u?u.call(l,A):void 0},d.revokeObjectURL=function(A){"data:"!==A.substring(0,5)&&h&&h.call(l,A)},r.append=function(A){var e=this.data;if(g&&(A instanceof p||A instanceof g)){for(var r="",i=new g(A),s=0,c=i.length;s<c;s++)r+=String.fromCharCode(i[s]);e.push(r)}else if("Blob"===t(A)||"File"===t(A)){if(!o)throw new a("NOT_READABLE_ERR");var l=new o;e.push(l.readAsBinaryString(A))}else A instanceof n?"base64"===A.encoding&&B?e.push(B(A.data)):"URI"===A.encoding?e.push(decodeURIComponent(A.data)):"raw"===A.encoding&&e.push(A.data):("string"!=typeof A&&(A+=""),e.push(unescape(encodeURIComponent(A))))},r.getBlob=function(A){return arguments.length||(A=null),new n(this.data.join(""),A,"raw")},r.toString=function(){return"[object BlobBuilder]"},i.slice=function(A,t,e){var r=arguments.length;return r<3&&(e=null),new n(this.data.slice(A,r>1?t:this.data.length),e,this.encoding)},i.toString=function(){return"[object Blob]"},i.close=function(){this.size=0,delete this.data},e}(A);A.Blob=function(A,e){var n=e?e.type||"":"",r=new t;if(A)for(var i=0,o=A.length;i<o;i++)Uint8Array&&A[i]instanceof Uint8Array?r.append(A[i].buffer):r.append(A[i]);var a=r.getBlob(n);return!a.slice&&a.webkitSlice&&(a.slice=a.webkitSlice),a};var e=Object.getPrototypeOf||function(A){return A.__proto__};A.Blob.prototype=e(new A.Blob)}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||(void 0).content||void 0);var o=o||function(A){if(!(void 0===A||"undefined"!=typeof navigator&&/MSIE [1-9]\./.test(navigator.userAgent))){var t=function(){return A.URL||A.webkitURL||A},e=A.document.createElementNS("http:https://www.w3.org/1999/xhtml","a"),n="download"in e,r=/constructor/i.test(A.HTMLElement)||A.safari,i=/CriOS\/[\d]+/.test(navigator.userAgent),o=function(t){(A.setImmediate||A.setTimeout)(function(){throw t},0)},a=function(A){setTimeout(function(){"string"==typeof A?t().revokeObjectURL(A):A.remove()},4e4)},s=function(A,t,e){for(var n=(t=[].concat(t)).length;n--;){var r=A["on"+t[n]];if("function"==typeof r)try{r.call(A,e||A)}catch(A){o(A)}}},c=function(A){return/^\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},l=function(o,l,u){u||(o=c(o));var h,d=this,f="application/octet-stream"===o.type,B=function(){s(d,"writestart progress write writeend".split(" "))};if(d.readyState=d.INIT,n)return h=t().createObjectURL(o),void setTimeout(function(){e.href=h,e.download=l,function(A){var t=new MouseEvent("click");A.dispatchEvent(t)}(e),B(),a(h),d.readyState=d.DONE});!function(){if((i||f&&r)&&A.FileReader){var e=new FileReader;return e.onloadend=function(){var t=i?e.result:e.result.replace(/^data:[^;]*;/,"data:attachment/file;");A.open(t,"_blank")||(A.location.href=t),t=void 0,d.readyState=d.DONE,B()},e.readAsDataURL(o),void(d.readyState=d.INIT)}h||(h=t().createObjectURL(o)),f?A.location.href=h:A.open(h,"_blank")||(A.location.href=h),d.readyState=d.DONE,B(),a(h)}()},u=l.prototype;return"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob?function(A,t,e){return t=t||A.name||"download",e||(A=c(A)),navigator.msSaveOrOpenBlob(A,t)}:(u.abort=function(){},u.readyState=u.INIT=0,u.WRITING=1,u.DONE=2,u.error=u.onwritestart=u.onprogress=u.onwrite=u.onabort=u.onerror=u.onwriteend=null,function(A,t,e){return new l(A,t||A.name||"download",e)})}}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||(void 0).content);!!t.exports&&(t.exports.saveAs=o),t.exports=function(){var A="function"==typeof ArrayBuffer&&"function"==typeof Uint8Array,t=null,e=function(){if(!A)return function(){return!1};try{var e={};"function"==typeof e.Buffer&&(t=e.Buffer)}catch(A){}return function(A){return A instanceof ArrayBuffer||null!==t&&A instanceof t}}(),n=null!==t?function(A){return new t(A,"utf8").toString("binary")}:function(A){return unescape(encodeURIComponent(A))},r=function(A,t){for(var e=65535&A,n=A>>>16,r=0,i=t.length;r<i;r++)n=(n+(e=(e+(255&t.charCodeAt(r)))%65521))%65521;return(n<<16|e)>>>0},i=function(A,t){for(var e=65535&A,n=A>>>16,r=0,i=t.length;r<i;r++)n=(n+(e=(e+t[r])%65521))%65521;return(n<<16|e)>>>0},o={},a=o.Adler32=function(){var t=function(A){if(!(this instanceof t))throw new TypeError("Constructor cannot called be as a function.");if(!isFinite(A=null==A?1:+A))throw new Error("First arguments needs to be a finite number.");this.checksum=A>>>0},o=t.prototype={};return o.constructor=t,t.from=function(A){return A.prototype=o,A}(function(A){if(!(this instanceof t))throw new TypeError("Constructor cannot called be as a function.");if(null==A)throw new Error("First argument needs to be a string.");this.checksum=r(1,A.toString())}),t.fromUtf8=function(A){return A.prototype=o,A}(function(A){if(!(this instanceof t))throw new TypeError("Constructor cannot called be as a function.");if(null==A)throw new Error("First argument needs to be a string.");var e=n(A.toString());this.checksum=r(1,e)}),A&&(t.fromBuffer=function(A){return A.prototype=o,A}(function(A){if(!(this instanceof t))throw new TypeError("Constructor cannot called be as a function.");if(!e(A))throw new Error("First argument needs to be ArrayBuffer.");var n=new Uint8Array(A);return this.checksum=i(1,n)})),o.update=function(A){if(null==A)throw new Error("First argument needs to be a string.");return A=A.toString(),this.checksum=r(this.checksum,A)},o.updateUtf8=function(A){if(null==A)throw new Error("First argument needs to be a string.");var t=n(A.toString());return this.checksum=r(this.checksum,t)},A&&(o.updateBuffer=function(A){if(!e(A))throw new Error("First argument needs to be ArrayBuffer.");var t=new Uint8Array(A);return this.checksum=i(this.checksum,t)}),o.clone=function(){return new a(this.checksum)},t}();return o.from=function(A){if(null==A)throw new Error("First argument needs to be a string.");return r(1,A.toString())},o.fromUtf8=function(A){if(null==A)throw new Error("First argument needs to be a string.");var t=n(A.toString());return r(1,t)},A&&(o.fromBuffer=function(A){if(!e(A))throw new Error("First argument need to be ArrayBuffer.");var t=new Uint8Array(A);return i(1,t)}),o}();var a={};a._colorsTable={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",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",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",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},a.colorNameToHex=function(A){return A=A.toLowerCase(),void 0!==this._colorsTable[A]&&this._colorsTable[A]};var s=function(A){function t(){function A(A){var t,e,r,i,o,s,c=n.dyn_tree,l=n.stat_desc.static_tree,u=n.stat_desc.extra_bits,d=n.stat_desc.extra_base,f=n.stat_desc.max_length,B=0;for(i=0;i<=a;i++)A.bl_count[i]=0;for(c[2*A.heap[A.heap_max]+1]=0,t=A.heap_max+1;t<h;t++)(i=c[2*c[2*(e=A.heap[t])+1]+1]+1)>f&&(i=f,B++),c[2*e+1]=i,e>n.max_code||(A.bl_count[i]++,o=0,e>=d&&(o=u[e-d]),s=c[2*e],A.opt_len+=s*(i+o),l&&(A.static_len+=s*(l[2*e+1]+o)));if(0!==B){do{for(i=f-1;0===A.bl_count[i];)i--;A.bl_count[i]--,A.bl_count[i+1]+=2,A.bl_count[f]--,B-=2}while(B>0);for(i=f;0!==i;i--)for(e=A.bl_count[i];0!==e;)(r=A.heap[--t])>n.max_code||(c[2*r+1]!=i&&(A.opt_len+=(i-c[2*r+1])*c[2*r],c[2*r+1]=i),e--)}}function t(A,t){var e=0;do{e|=1&A,A>>>=1,e<<=1}while(--t>0);return e>>>1}function e(A,e,n){var r,i,o,s=[],c=0;for(r=1;r<=a;r++)s[r]=c=c+n[r-1]<<1;for(i=0;i<=e;i++)0!==(o=A[2*i+1])&&(A[2*i]=t(s[o]++,o))}var n=this;n.build_tree=function(t){var r,i,o,a=n.dyn_tree,s=n.stat_desc.static_tree,c=n.stat_desc.elems,l=-1;for(t.heap_len=0,t.heap_max=h,r=0;r<c;r++)0!==a[2*r]?(t.heap[++t.heap_len]=l=r,t.depth[r]=0):a[2*r+1]=0;for(;t.heap_len<2;)a[2*(o=t.heap[++t.heap_len]=l<2?++l:0)]=1,t.depth[o]=0,t.opt_len--,s&&(t.static_len-=s[2*o+1]);for(n.max_code=l,r=Math.floor(t.heap_len/2);r>=1;r--)t.pqdownheap(a,r);o=c;do{r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],t.pqdownheap(a,1),i=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=i,a[2*o]=a[2*r]+a[2*i],t.depth[o]=Math.max(t.depth[r],t.depth[i])+1,a[2*r+1]=a[2*i+1]=o,t.heap[1]=o++,t.pqdownheap(a,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],A(t),e(a,n.max_code,t.bl_count)}}function e(A,t,e,n,r){var i=this;i.static_tree=A,i.extra_bits=t,i.extra_base=e,i.elems=n,i.max_length=r}function n(A,t,e,n,r){var i=this;i.good_length=A,i.max_lazy=t,i.nice_length=e,i.max_chain=n,i.func=r}function r(A,t,e,n){var r=A[2*t],i=A[2*e];return r<i||r==i&&n[t]<=n[e]}function i(){function A(){var A;for(A=0;A<u;A++)zA[2*A]=0;for(A=0;A<s;A++)qA[2*A]=0;for(A=0;A<c;A++)XA[2*A]=0;zA[2*d]=1,VA.opt_len=VA.static_len=0,ZA=At=0}function n(A,t){var e,n,r=-1,i=A[1],o=0,a=7,s=4;for(0===i&&(a=138,s=3),A[2*(t+1)+1]=65535,e=0;e<=t;e++)n=i,i=A[2*(e+1)+1],++o<a&&n==i||(o<s?XA[2*n]+=o:0!==n?(n!=r&&XA[2*n]++,XA[2*f]++):o<=10?XA[2*B]++:XA[2*p]++,o=0,r=n,0===i?(a=138,s=3):n==i?(a=6,s=3):(a=7,s=4))}function i(){var A;for(n(zA,jA.max_code),n(qA,GA.max_code),YA.build_tree(VA),A=c-1;A>=3&&0===XA[2*t.bl_order[A]+1];A--);return VA.opt_len+=3*(A+1)+5+5+4,A}function o(A){VA.pending_buf[VA.pending++]=A}function a(A){o(255&A),o(A>>>8&255)}function h(A,t){var e,n=t;nt>g-n?(a(et|=(e=A)<<nt&65535),et=e>>>g-nt,nt+=n-g):(et|=A<<nt&65535,nt+=n)}function T(A,t){var e=2*A;h(65535&t[e],65535&t[e+1])}function tA(A,t){var e,n,r=-1,i=A[1],o=0,a=7,s=4;for(0===i&&(a=138,s=3),e=0;e<=t;e++)if(n=i,i=A[2*(e+1)+1],!(++o<a&&n==i)){if(o<s)do{T(n,XA)}while(0!=--o);else 0!==n?(n!=r&&(T(n,XA),o--),T(f,XA),h(o-3,2)):o<=10?(T(B,XA),h(o-3,3)):(T(p,XA),h(o-11,7));o=0,r=n,0===i?(a=138,s=3):n==i?(a=6,s=3):(a=7,s=4)}}function eA(A,e,n){var r;for(h(A-257,5),h(e-1,5),h(n-4,4),r=0;r<n;r++)h(XA[2*t.bl_order[r]+1],3);tA(zA,A-1),tA(qA,e-1)}function nA(){16==nt?(a(et),et=0,nt=0):nt>=8&&(o(255&et),et>>>=8,nt-=8)}function rA(){h(J<<1,3),T(d,e.static_ltree),nA(),1+tt+10-nt<9&&(h(J<<1,3),T(d,e.static_ltree),nA()),tt=7}function iA(A,e){var n,r,i;if(VA.pending_buf[$A+2*ZA]=A>>>8&255,VA.pending_buf[$A+2*ZA+1]=255&A,VA.pending_buf[JA+ZA]=255&e,ZA++,0===A?zA[2*e]++:(At++,A--,zA[2*(t._length_code[e]+l+1)]++,qA[2*t.d_code(A)]++),0==(8191&ZA)&&DA>2){for(n=8*ZA,r=SA-xA,i=0;i<s;i++)n+=qA[2*i]*(5+t.extra_dbits[i]);if(n>>>=3,At<Math.floor(ZA/2)&&n<Math.floor(r/2))return!0}return ZA==WA-1}function oA(A,e){var n,r,i,o,a=0;if(0!==ZA)do{n=VA.pending_buf[$A+2*a]<<8&65280|255&VA.pending_buf[$A+2*a+1],r=255&VA.pending_buf[JA+a],a++,0===n?T(r,A):(T((i=t._length_code[r])+l+1,A),0!==(o=t.extra_lbits[i])&&h(r-=t.base_length[i],o),n--,T(i=t.d_code(n),e),0!==(o=t.extra_dbits[i])&&h(n-=t.base_dist[i],o))}while(a<ZA);T(d,A),tt=A[2*d+1]}function aA(){nt>8?a(et):nt>0&&o(255&et),et=0,nt=0}function sA(A,t,e){h((Y<<1)+(e?1:0),3),function(A,t,e){aA(),tt=8,e&&(a(t),a(~t)),VA.pending_buf.set(QA.subarray(A,A+t),VA.pending),VA.pending+=t}(A,t,!0)}function cA(t){(function(t,n,r){var o,a,s=0;DA>0?(jA.build_tree(VA),GA.build_tree(VA),s=i(),o=VA.opt_len+3+7>>>3,(a=VA.static_len+3+7>>>3)<=o&&(o=a)):o=a=n+5,n+4<=o&&-1!=t?sA(t,n,r):a==o?(h((J<<1)+(r?1:0),3),oA(e.static_ltree,e.static_dtree)):(h((W<<1)+(r?1:0),3),eA(jA.max_code+1,GA.max_code+1,s+1),oA(zA,qA)),A(),r&&aA()})(xA>=0?xA:-1,SA-xA,t),xA=SA,dA.flush_pending()}function lA(){var A,t,e,n;do{if(0==(n=CA-OA-SA)&&0===SA&&0===OA)n=gA;else if(-1==n)n--;else if(SA>=gA+gA-AA){QA.set(QA.subarray(gA,gA+gA),0),NA-=gA,SA-=gA,xA-=gA,e=A=FA;do{t=65535&vA[--e],vA[e]=t>=gA?t-gA:0}while(0!=--A);e=A=gA;do{t=65535&yA[--e],yA[e]=t>=gA?t-gA:0}while(0!=--A);n+=gA}if(0===dA.avail_in)return;A=dA.read_buf(QA,SA+OA,n),(OA+=A)>=Z&&(UA=255&QA[SA],UA=(UA<<HA^255&QA[SA+1])&bA)}while(OA<AA&&0!==dA.avail_in)}function uA(A){var t,e,n=PA,r=SA,i=kA,o=SA>gA-AA?SA-(gA-AA):0,a=MA,s=mA,c=SA+$,l=QA[r+i-1],u=QA[r+i];kA>=KA&&(n>>=2),a>OA&&(a=OA);do{if(t=A,QA[t+i]==u&&QA[t+i-1]==l&&QA[t]==QA[r]&&QA[++t]==QA[r+1]){r+=2,t++;do{}while(QA[++r]==QA[++t]&&QA[++r]==QA[++t]&&QA[++r]==QA[++t]&&QA[++r]==QA[++t]&&QA[++r]==QA[++t]&&QA[++r]==QA[++t]&&QA[++r]==QA[++t]&&QA[++r]==QA[++t]&&r<c);if(e=$-(c-r),r=c-$,e>i){if(NA=A,i=e,e>=a)break;l=QA[r+i-1],u=QA[r+i]}}}while((A=65535&yA[A&s])>o&&0!=--n);return i<=OA?i:OA}function hA(t){return t.total_in=t.total_out=0,t.msg=null,VA.pending=0,VA.pending_out=0,fA=V,pA=y,jA.dyn_tree=zA,jA.stat_desc=e.static_l_desc,GA.dyn_tree=qA,GA.stat_desc=e.static_d_desc,YA.dyn_tree=XA,YA.stat_desc=e.static_bl_desc,et=0,nt=0,tt=8,A(),function(){var A;for(CA=2*gA,vA[FA-1]=0,A=0;A<FA-1;A++)vA[A]=0;LA=L[DA].max_lazy,KA=L[DA].good_length,MA=L[DA].nice_length,PA=L[DA].max_chain,SA=0,xA=0,OA=0,_A=kA=Z-1,TA=0,UA=0}(),E}var dA,fA,BA,pA,gA,wA,mA,QA,CA,yA,vA,UA,FA,EA,bA,HA,xA,_A,IA,TA,SA,NA,OA,kA,PA,LA,DA,RA,KA,MA,zA,qA,XA,VA=this,jA=new t,GA=new t,YA=new t;VA.depth=[];var JA,WA,ZA,$A,At,tt,et,nt;VA.bl_count=[],VA.heap=[],zA=[],qA=[],XA=[],VA.pqdownheap=function(A,t){for(var e=VA.heap,n=e[t],i=t<<1;i<=VA.heap_len&&(i<VA.heap_len&&r(A,e[i+1],e[i],VA.depth)&&i++,!r(A,n,e[i],VA.depth));)e[t]=e[i],t=i,i<<=1;e[t]=n},VA.deflateInit=function(A,t,e,n,r,i){return n||(n=G),r||(r=N),i||(i=C),A.msg=null,t==w&&(t=6),r<1||r>S||n!=G||e<9||e>15||t<0||t>9||i<0||i>Q?x:(A.dstate=VA,wA=e,gA=1<<wA,mA=gA-1,EA=r+7,FA=1<<EA,bA=FA-1,HA=Math.floor((EA+Z-1)/Z),QA=new Uint8Array(2*gA),yA=[],vA=[],WA=1<<r+6,VA.pending_buf=new Uint8Array(4*WA),BA=4*WA,$A=Math.floor(WA/2),JA=3*WA,DA=t,RA=i,hA(A))},VA.deflateEnd=function(){return fA!=X&&fA!=V&&fA!=j?x:(VA.pending_buf=null,vA=null,yA=null,QA=null,VA.dstate=null,fA==V?_:E)},VA.deflateParams=function(A,t,e){var n=E;return t==w&&(t=6),t<0||t>9||e<0||e>Q?x:(L[DA].func!=L[t].func&&0!==A.total_in&&(n=A.deflate(v)),DA!=t&&(LA=L[DA=t].max_lazy,KA=L[DA].good_length,MA=L[DA].nice_length,PA=L[DA].max_chain),RA=e,n)},VA.deflateSetDictionary=function(A,t,e){var n,r=e,i=0;if(!t||fA!=X)return x;if(r<Z)return E;for(r>gA-AA&&(i=e-(r=gA-AA)),QA.set(t.subarray(i,i+r),0),SA=r,xA=r,UA=((UA=255&QA[0])<<HA^255&QA[1])&bA,n=0;n<=r-Z;n++)UA=(UA<<HA^255&QA[n+(Z-1)])&bA,yA[n&mA]=vA[UA],vA[UA]=n;return E},VA.deflate=function(A,t){var e,n,r,i,a;if(t>F||t<0)return x;if(!A.next_out||!A.next_in&&0!==A.avail_in||fA==j&&t!=F)return A.msg=D[H-x],x;if(0===A.avail_out)return A.msg=D[H-I],I;if(dA=A,i=pA,pA=t,fA==X&&(n=G+(wA-8<<4)<<8,(r=(DA-1&255)>>1)>3&&(r=3),n|=r<<6,0!==SA&&(n|=q),fA=V,function(A){o(A>>8&255),o(255&A)}(n+=31-n%31)),0!==VA.pending){if(dA.flush_pending(),0===dA.avail_out)return pA=-1,E}else if(0===dA.avail_in&&t<=i&&t!=F)return dA.msg=D[H-I],I;if(fA==j&&0!==dA.avail_in)return A.msg=D[H-I],I;if(0!==dA.avail_in||0!==OA||t!=y&&fA!=j){switch(a=-1,L[DA].func){case O:a=function(A){var t,e=65535;for(e>BA-5&&(e=BA-5);;){if(OA<=1){if(lA(),0===OA&&A==y)return R;if(0===OA)break}if(SA+=OA,OA=0,t=xA+e,(0===SA||SA>=t)&&(OA=SA-t,SA=t,cA(!1),0===dA.avail_out))return R;if(SA-xA>=gA-AA&&(cA(!1),0===dA.avail_out))return R}return cA(A==F),0===dA.avail_out?A==F?M:R:A==F?z:K}(t);break;case k:a=function(A){for(var t,e=0;;){if(OA<AA){if(lA(),OA<AA&&A==y)return R;if(0===OA)break}if(OA>=Z&&(UA=(UA<<HA^255&QA[SA+(Z-1)])&bA,e=65535&vA[UA],yA[SA&mA]=vA[UA],vA[UA]=SA),0!==e&&(SA-e&65535)<=gA-AA&&RA!=Q&&(_A=uA(e)),_A>=Z)if(t=iA(SA-NA,_A-Z),OA-=_A,_A<=LA&&OA>=Z){_A--;do{UA=(UA<<HA^255&QA[++SA+(Z-1)])&bA,e=65535&vA[UA],yA[SA&mA]=vA[UA],vA[UA]=SA}while(0!=--_A);SA++}else SA+=_A,_A=0,UA=255&QA[SA],UA=(UA<<HA^255&QA[SA+1])&bA;else t=iA(0,255&QA[SA]),OA--,SA++;if(t&&(cA(!1),0===dA.avail_out))return R}return cA(A==F),0===dA.avail_out?A==F?M:R:A==F?z:K}(t);break;case P:a=function(A){for(var t,e,n=0;;){if(OA<AA){if(lA(),OA<AA&&A==y)return R;if(0===OA)break}if(OA>=Z&&(UA=(UA<<HA^255&QA[SA+(Z-1)])&bA,n=65535&vA[UA],yA[SA&mA]=vA[UA],vA[UA]=SA),kA=_A,IA=NA,_A=Z-1,0!==n&&kA<LA&&(SA-n&65535)<=gA-AA&&(RA!=Q&&(_A=uA(n)),_A<=5&&(RA==m||_A==Z&&SA-NA>4096)&&(_A=Z-1)),kA>=Z&&_A<=kA){e=SA+OA-Z,t=iA(SA-1-IA,kA-Z),OA-=kA-1,kA-=2;do{++SA<=e&&(UA=(UA<<HA^255&QA[SA+(Z-1)])&bA,n=65535&vA[UA],yA[SA&mA]=vA[UA],vA[UA]=SA)}while(0!=--kA);if(TA=0,_A=Z-1,SA++,t&&(cA(!1),0===dA.avail_out))return R}else if(0!==TA){if((t=iA(0,255&QA[SA-1]))&&cA(!1),SA++,OA--,0===dA.avail_out)return R}else TA=1,SA++,OA--}return 0!==TA&&(t=iA(0,255&QA[SA-1]),TA=0),cA(A==F),0===dA.avail_out?A==F?M:R:A==F?z:K}(t)}if(a!=M&&a!=z||(fA=j),a==R||a==M)return 0===dA.avail_out&&(pA=-1),E;if(a==K){if(t==v)rA();else if(sA(0,0,!1),t==U)for(e=0;e<FA;e++)vA[e]=0;if(dA.flush_pending(),0===dA.avail_out)return pA=-1,E}}return t!=F?E:b}}function o(){var A=this;A.next_in_index=0,A.next_out_index=0,A.avail_in=0,A.total_in=0,A.avail_out=0,A.total_out=0}var a=15,s=30,c=19,l=256,u=l+1+29,h=2*u+1,d=256,f=16,B=17,p=18,g=16,w=-1,m=1,Q=2,C=0,y=0,v=1,U=3,F=4,E=0,b=1,H=2,x=-2,_=-3,I=-5,T=[0,1,2,3,4,4,5,5,6,6,6,6,7,7,7,7,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,0,0,16,17,18,18,19,19,20,20,20,20,21,21,21,21,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29];t._length_code=[0,1,2,3,4,5,6,7,8,8,9,9,10,10,11,11,12,12,12,12,13,13,13,13,14,14,14,14,15,15,15,15,16,16,16,16,16,16,16,16,17,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,28],t.base_length=[0,1,2,3,4,5,6,7,8,10,12,14,16,20,24,28,32,40,48,56,64,80,96,112,128,160,192,224,0],t.base_dist=[0,1,2,3,4,6,8,12,16,24,32,48,64,96,128,192,256,384,512,768,1024,1536,2048,3072,4096,6144,8192,12288,16384,24576],t.d_code=function(A){return A<256?T[A]:T[256+(A>>>7)]},t.extra_lbits=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],t.extra_dbits=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],t.extra_blbits=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],t.bl_order=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],e.static_ltree=[12,8,140,8,76,8,204,8,44,8,172,8,108,8,236,8,28,8,156,8,92,8,220,8,60,8,188,8,124,8,252,8,2,8,130,8,66,8,194,8,34,8,162,8,98,8,226,8,18,8,146,8,82,8,210,8,50,8,178,8,114,8,242,8,10,8,138,8,74,8,202,8,42,8,170,8,106,8,234,8,26,8,154,8,90,8,218,8,58,8,186,8,122,8,250,8,6,8,134,8,70,8,198,8,38,8,166,8,102,8,230,8,22,8,150,8,86,8,214,8,54,8,182,8,118,8,246,8,14,8,142,8,78,8,206,8,46,8,174,8,110,8,238,8,30,8,158,8,94,8,222,8,62,8,190,8,126,8,254,8,1,8,129,8,65,8,193,8,33,8,161,8,97,8,225,8,17,8,145,8,81,8,209,8,49,8,177,8,113,8,241,8,9,8,137,8,73,8,201,8,41,8,169,8,105,8,233,8,25,8,153,8,89,8,217,8,57,8,185,8,121,8,249,8,5,8,133,8,69,8,197,8,37,8,165,8,101,8,229,8,21,8,149,8,85,8,213,8,53,8,181,8,117,8,245,8,13,8,141,8,77,8,205,8,45,8,173,8,109,8,237,8,29,8,157,8,93,8,221,8,61,8,189,8,125,8,253,8,19,9,275,9,147,9,403,9,83,9,339,9,211,9,467,9,51,9,307,9,179,9,435,9,115,9,371,9,243,9,499,9,11,9,267,9,139,9,395,9,75,9,331,9,203,9,459,9,43,9,299,9,171,9,427,9,107,9,363,9,235,9,491,9,27,9,283,9,155,9,411,9,91,9,347,9,219,9,475,9,59,9,315,9,187,9,443,9,123,9,379,9,251,9,507,9,7,9,263,9,135,9,391,9,71,9,327,9,199,9,455,9,39,9,295,9,167,9,423,9,103,9,359,9,231,9,487,9,23,9,279,9,151,9,407,9,87,9,343,9,215,9,471,9,55,9,311,9,183,9,439,9,119,9,375,9,247,9,503,9,15,9,271,9,143,9,399,9,79,9,335,9,207,9,463,9,47,9,303,9,175,9,431,9,111,9,367,9,239,9,495,9,31,9,287,9,159,9,415,9,95,9,351,9,223,9,479,9,63,9,319,9,191,9,447,9,127,9,383,9,255,9,511,9,0,7,64,7,32,7,96,7,16,7,80,7,48,7,112,7,8,7,72,7,40,7,104,7,24,7,88,7,56,7,120,7,4,7,68,7,36,7,100,7,20,7,84,7,52,7,116,7,3,8,131,8,67,8,195,8,35,8,163,8,99,8,227,8],e.static_dtree=[0,5,16,5,8,5,24,5,4,5,20,5,12,5,28,5,2,5,18,5,10,5,26,5,6,5,22,5,14,5,30,5,1,5,17,5,9,5,25,5,5,5,21,5,13,5,29,5,3,5,19,5,11,5,27,5,7,5,23,5],e.static_l_desc=new e(e.static_ltree,t.extra_lbits,l+1,u,a),e.static_d_desc=new e(e.static_dtree,t.extra_dbits,0,s,a),e.static_bl_desc=new e(null,t.extra_blbits,0,c,7);var S=9,N=8,O=0,k=1,P=2,L=[new n(0,0,0,0,O),new n(4,4,8,4,k),new n(4,5,16,8,k),new n(4,6,32,32,k),new n(4,4,16,16,P),new n(8,16,32,32,P),new n(8,16,128,128,P),new n(8,32,128,256,P),new n(32,128,258,1024,P),new n(32,258,258,4096,P)],D=["need dictionary","stream end","","","stream error","data error","","buffer error","",""],R=0,K=1,M=2,z=3,q=32,X=42,V=113,j=666,G=8,Y=0,J=1,W=2,Z=3,$=258,AA=$+Z+1;return o.prototype={deflateInit:function(A,t){var e=this;return e.dstate=new i,t||(t=a),e.dstate.deflateInit(e,A,t)},deflate:function(A){var t=this;return t.dstate?t.dstate.deflate(t,A):x},deflateEnd:function(){var A=this;if(!A.dstate)return x;var t=A.dstate.deflateEnd();return A.dstate=null,t},deflateParams:function(A,t){var e=this;return e.dstate?e.dstate.deflateParams(e,A,t):x},deflateSetDictionary:function(A,t){var e=this;return e.dstate?e.dstate.deflateSetDictionary(e,A,t):x},read_buf:function(A,t,e){var n=this,r=n.avail_in;return r>e&&(r=e),0===r?0:(n.avail_in-=r,A.set(n.next_in.subarray(n.next_in_index,n.next_in_index+r),t),n.next_in_index+=r,n.total_in+=r,r)},flush_pending:function(){var A=this,t=A.dstate.pending;t>A.avail_out&&(t=A.avail_out),0!==t&&(A.next_out.set(A.dstate.pending_buf.subarray(A.dstate.pending_out,A.dstate.pending_out+t),A.next_out_index),A.next_out_index+=t,A.dstate.pending_out+=t,A.total_out+=t,A.avail_out-=t,A.dstate.pending-=t,0===A.dstate.pending&&(A.dstate.pending_out=0))}},function(A){var t=new o,e=y,n=new Uint8Array(512);void 0===A&&(A=w),t.deflateInit(A),t.next_out=n,this.append=function(A,r){var i,o=[],a=0,s=0,c=0;if(A.length){t.next_in_index=0,t.next_in=A,t.avail_in=A.length;do{if(t.next_out_index=0,t.avail_out=512,t.deflate(e)!=E)throw"deflating: "+t.msg;t.next_out_index&&(512==t.next_out_index?o.push(new Uint8Array(n)):o.push(new Uint8Array(n.subarray(0,t.next_out_index)))),c+=t.next_out_index,r&&t.next_in_index>0&&t.next_in_index!=a&&(r(t.next_in_index),a=t.next_in_index)}while(t.avail_in>0||0===t.avail_out);return i=new Uint8Array(c),o.forEach(function(A){i.set(A,s),s+=A.length}),i}},this.flush=function(){var A,e,r=[],i=0,o=0;do{if(t.next_out_index=0,t.avail_out=512,(A=t.deflate(F))!=b&&A!=E)throw"deflating: "+t.msg;512-t.avail_out>0&&r.push(new Uint8Array(n.subarray(0,t.next_out_index))),o+=t.next_out_index}while(t.avail_in>0||0===t.avail_out);return t.deflateEnd(),e=new Uint8Array(o),r.forEach(function(A){e.set(A,i),i+=A.length}),e}}}();t.exports=function t(e,n,r){function i(a,s){if(!n[a]){if(!e[a]){var c="function"==typeof A&&A;if(!s&&c)return c(a,!0);if(o)return o(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var u=n[a]={exports:{}};e[a][0].call(u.exports,function(A){return i(e[a][1][A]||A)},u,u.exports,t,e,n,r)}return n[a].exports}for(var o="function"==typeof A&&A,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(A,t,e){(function(A){!function(n){function r(A){throw RangeError(I[A])}function i(A,t){for(var e=A.length;e--;)A[e]=t(A[e]);return A}function o(A,t){return i(A.split(_),t).join(".")}function a(A){for(var t,e,n=[],r=0,i=A.length;r<i;)(t=A.charCodeAt(r++))>=55296&&t<=56319&&r<i?56320==(64512&(e=A.charCodeAt(r++)))?n.push(((1023&t)<<10)+(1023&e)+65536):(n.push(t),r--):n.push(t);return n}function s(A){return i(A,function(A){var t="";return A>65535&&(t+=N((A-=65536)>>>10&1023|55296),A=56320|1023&A),t+=N(A)}).join("")}function c(A){return A-48<10?A-22:A-65<26?A-65:A-97<26?A-97:Q}function l(A,t){return A+22+75*(A<26)-((0!=t)<<5)}function u(A,t,e){var n=0;for(A=e?S(A/U):A>>1,A+=S(A/t);A>T*y>>1;n+=Q)A=S(A/T);return S(n+(T+1)*A/(A+v))}function h(A){var t,e,n,i,o,a,l,h,d,f,B=[],p=A.length,g=0,w=E,v=F;for((e=A.lastIndexOf(b))<0&&(e=0),n=0;n<e;++n)A.charCodeAt(n)>=128&&r("not-basic"),B.push(A.charCodeAt(n));for(i=e>0?e+1:0;i<p;){for(o=g,a=1,l=Q;i>=p&&r("invalid-input"),((h=c(A.charCodeAt(i++)))>=Q||h>S((m-g)/a))&&r("overflow"),g+=h*a,d=l<=v?C:l>=v+y?y:l-v,!(h<d);l+=Q)a>S(m/(f=Q-d))&&r("overflow"),a*=f;v=u(g-o,t=B.length+1,0==o),S(g/t)>m-w&&r("overflow"),w+=S(g/t),g%=t,B.splice(g++,0,w)}return s(B)}function d(A){var t,e,n,i,o,s,c,h,d,f,B,p,g,w,v,U=[];for(p=(A=a(A)).length,t=E,e=0,o=F,s=0;s<p;++s)(B=A[s])<128&&U.push(N(B));for(n=i=U.length,i&&U.push(b);n<p;){for(c=m,s=0;s<p;++s)(B=A[s])>=t&&B<c&&(c=B);for(c-t>S((m-e)/(g=n+1))&&r("overflow"),e+=(c-t)*g,t=c,s=0;s<p;++s)if((B=A[s])<t&&++e>m&&r("overflow"),B==t){for(h=e,d=Q;f=d<=o?C:d>=o+y?y:d-o,!(h<f);d+=Q)v=h-f,w=Q-f,U.push(N(l(f+v%w,0))),h=S(v/w);U.push(N(l(h,0))),o=u(e,g,n==i),e=0,++n}++e,++t}return U.join("")}var f="object"==typeof e&&e,B="object"==typeof t&&t&&t.exports==f&&t,p="object"==typeof A&&A;p.global!==p&&p.window!==p||(n=p);var g,w,m=2147483647,Q=36,C=1,y=26,v=38,U=700,F=72,E=128,b="-",H=/^xn--/,x=/[^ -~]/,_=/\x2E|\u3002|\uFF0E|\uFF61/g,I={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},T=Q-C,S=Math.floor,N=String.fromCharCode;if(g={version:"1.2.4",ucs2:{decode:a,encode:s},decode:h,encode:d,toASCII:function(A){return o(A,function(A){return x.test(A)?"xn--"+d(A):A})},toUnicode:function(A){return o(A,function(A){return H.test(A)?h(A.slice(4).toLowerCase()):A})}},f&&!f.nodeType)if(B)B.exports=g;else for(w in g)g.hasOwnProperty(w)&&(f[w]=g[w]);else n.punycode=g}(this)}).call(this,void 0!==n?n:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(A,t,e){function n(A,t){for(var e=3===A.nodeType?document.createTextNode(A.nodeValue):A.cloneNode(!1),r=A.firstChild;r;)!0!==t&&1===r.nodeType&&"SCRIPT"===r.nodeName||e.appendChild(n(r,t)),r=r.nextSibling;return 1===A.nodeType&&(e._scrollTop=A.scrollTop,e._scrollLeft=A.scrollLeft,"CANVAS"===A.nodeName?function(A,t){try{t&&(t.width=A.width,t.height=A.height,t.getContext("2d").putImageData(A.getContext("2d").getImageData(0,0,A.width,A.height),0,0))}catch(t){i("Unable to copy canvas content from",A,t)}}(A,e):"TEXTAREA"!==A.nodeName&&"SELECT"!==A.nodeName||(e.value=A.value)),e}function r(A){if(1===A.nodeType){A.scrollTop=A._scrollTop,A.scrollLeft=A._scrollLeft;for(var t=A.firstChild;t;)r(t),t=t.nextSibling}}var i=A("./log");t.exports=function(A,t,e,i,o,a,s){var c=n(A.documentElement,o.javascriptEnabled),l=t.createElement("iframe");return l.className="html2canvas-container",l.style.visibility="hidden",l.style.position="fixed",l.style.left="-10000px",l.style.top="0px",l.style.border="0",l.width=e,l.height=i,l.scrolling="no",t.body.appendChild(l),new Promise(function(t){var e=l.contentWindow.document;l.contentWindow.onload=l.onload=function(){var A=setInterval(function(){e.body.childNodes.length>0&&(r(e.documentElement),clearInterval(A),"view"===o.type&&(l.contentWindow.scrollTo(a,s),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||l.contentWindow.scrollY===s&&l.contentWindow.scrollX===a||(e.documentElement.style.top=-s+"px",e.documentElement.style.left=-a+"px",e.documentElement.style.position="absolute")),t(l))},50)},e.open(),e.write("<!DOCTYPE html><html></html>"),function(A,t,e){!A.defaultView||t===A.defaultView.pageXOffset&&e===A.defaultView.pageYOffset||A.defaultView.scrollTo(t,e)}(A,a,s),e.replaceChild(e.adoptNode(c),e.documentElement),e.close()})}},{"./log":13}],3:[function(A,t,e){function n(A){this.r=0,this.g=0,this.b=0,this.a=null,this.fromArray(A)||this.namedColor(A)||this.rgb(A)||this.rgba(A)||this.hex6(A)||this.hex3(A)}n.prototype.darken=function(A){var t=1-A;return new n([Math.round(this.r*t),Math.round(this.g*t),Math.round(this.b*t),this.a])},n.prototype.isTransparent=function(){return 0===this.a},n.prototype.isBlack=function(){return 0===this.r&&0===this.g&&0===this.b},n.prototype.fromArray=function(A){return Array.isArray(A)&&(this.r=Math.min(A[0],255),this.g=Math.min(A[1],255),this.b=Math.min(A[2],255),A.length>3&&(this.a=A[3])),Array.isArray(A)};var r=/^#([a-f0-9]{3})$/i;n.prototype.hex3=function(A){var t=null;return null!==(t=A.match(r))&&(this.r=parseInt(t[1][0]+t[1][0],16),this.g=parseInt(t[1][1]+t[1][1],16),this.b=parseInt(t[1][2]+t[1][2],16)),null!==t};var i=/^#([a-f0-9]{6})$/i;n.prototype.hex6=function(A){var t=null;return null!==(t=A.match(i))&&(this.r=parseInt(t[1].substring(0,2),16),this.g=parseInt(t[1].substring(2,4),16),this.b=parseInt(t[1].substring(4,6),16)),null!==t};var o=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/;n.prototype.rgb=function(A){var t=null;return null!==(t=A.match(o))&&(this.r=Number(t[1]),this.g=Number(t[2]),this.b=Number(t[3])),null!==t};var a=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d?\.?\d+)\s*\)$/;n.prototype.rgba=function(A){var t=null;return null!==(t=A.match(a))&&(this.r=Number(t[1]),this.g=Number(t[2]),this.b=Number(t[3]),this.a=Number(t[4])),null!==t},n.prototype.toString=function(){return null!==this.a&&1!==this.a?"rgba("+[this.r,this.g,this.b,this.a].join(",")+")":"rgb("+[this.r,this.g,this.b].join(",")+")"},n.prototype.namedColor=function(A){A=A.toLowerCase();var t=s[A];if(t)this.r=t[0],this.g=t[1],this.b=t[2];else if("transparent"===A)return this.r=this.g=this.b=this.a=0,!0;return!!t},n.prototype.isColor=!0;var s={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};t.exports=n},{}],4:[function(A,t,e){function n(A,t){var e=g++;if((t=t||{}).logging&&(u.options.logging=!0,u.options.start=Date.now()),t.async=void 0===t.async||t.async,t.allowTaint=void 0!==t.allowTaint&&t.allowTaint,t.removeContainer=void 0===t.removeContainer||t.removeContainer,t.javascriptEnabled=void 0!==t.javascriptEnabled&&t.javascriptEnabled,t.imageTimeout=void 0===t.imageTimeout?1e4:t.imageTimeout,t.renderer="function"==typeof t.renderer?t.renderer:a,t.strict=!!t.strict,"string"==typeof A){if("string"!=typeof t.proxy)return Promise.reject("Proxy must be used when rendering url");var n=null!=t.width?t.width:window.innerWidth,i=null!=t.height?t.height:window.innerHeight;return f(function(A){var t=document.createElement("a");return t.href=A,t.href=t.href,t}(A),t.proxy,document,n,i,t).then(function(A){return r(A.contentWindow.document.documentElement,A,t,n,i)})}var o=(void 0===A?[document.documentElement]:A.length?A:[A])[0];return o.setAttribute(p+e,e),function(A,t,e,n,i){return d(A,A,e,n,t,A.defaultView.pageXOffset,A.defaultView.pageYOffset).then(function(o){u("Document cloned");var a=p+i,s="["+a+"='"+i+"']";A.querySelector(s).removeAttribute(a);var c=o.contentWindow,l=c.document.querySelector(s);return("function"==typeof t.onclone?Promise.resolve(t.onclone(c.document)):Promise.resolve(!0)).then(function(){return r(l,o,t,e,n)})})}(o.ownerDocument,t,o.ownerDocument.defaultView.innerWidth,o.ownerDocument.defaultView.innerHeight,e).then(function(A){return"function"==typeof t.onrendered&&(u("options.onrendered is deprecated, html2canvas returns a Promise containing the canvas"),t.onrendered(A)),A})}function r(A,t,e,n,r){var a=t.contentWindow,l=new o(a.document),h=new s(e,l),d=B(A),f="view"===e.type?n:function(A){return Math.max(Math.max(A.body.scrollWidth,A.documentElement.scrollWidth),Math.max(A.body.offsetWidth,A.documentElement.offsetWidth),Math.max(A.body.clientWidth,A.documentElement.clientWidth))}(a.document),p="view"===e.type?r:function(A){return Math.max(Math.max(A.body.scrollHeight,A.documentElement.scrollHeight),Math.max(A.body.offsetHeight,A.documentElement.offsetHeight),Math.max(A.body.clientHeight,A.documentElement.clientHeight))}(a.document),g=new e.renderer(f,p,h,e,document);return new c(A,g,l,h,e).ready.then(function(){u("Finished rendering");var n;return n="view"===e.type?i(g.canvas,{width:g.canvas.width,height:g.canvas.height,top:0,left:0,x:0,y:0}):A===a.document.body||A===a.document.documentElement||null!=e.canvas?g.canvas:i(g.canvas,{width:null!=e.width?e.width:d.width,height:null!=e.height?e.height:d.height,top:d.top,left:d.left,x:0,y:0}),function(A,t){t.removeContainer&&(A.parentNode.removeChild(A),u("Cleaned up container"))}(t,e),n})}function i(A,t){var e=document.createElement("canvas"),n=Math.min(A.width-1,Math.max(0,t.left)),r=Math.min(A.width,Math.max(1,t.left+t.width)),i=Math.min(A.height-1,Math.max(0,t.top)),o=Math.min(A.height,Math.max(1,t.top+t.height));e.width=t.width,e.height=t.height;var a=r-n,s=o-i;return u("Cropping canvas at:","left:",t.left,"top:",t.top,"width:",a,"height:",s),u("Resulting crop with width",t.width,"and height",t.height,"with x",n,"and y",i),e.getContext("2d").drawImage(A,n,i,a,s,t.x,t.y,a,s),e}var o=A("./support"),a=A("./renderers/canvas"),s=A("./imageloader"),c=A("./nodeparser"),l=A("./nodecontainer"),u=A("./log"),h=A("./utils"),d=A("./clone"),f=A("./proxy").loadUrlDocument,B=h.getBounds,p="data-html2canvas-node",g=0;n.CanvasRenderer=a,n.NodeContainer=l,n.log=u,n.utils=h;var w="undefined"==typeof document||"function"!=typeof Object.create||"function"!=typeof document.createElement("canvas").getContext?function(){return Promise.reject("No canvas support")}:n;t.exports=w},{"./clone":2,"./imageloader":11,"./log":13,"./nodecontainer":14,"./nodeparser":15,"./proxy":16,"./renderers/canvas":20,"./support":22,"./utils":26}],5:[function(A,t,e){function n(A){if(this.src=A,r("DummyImageContainer for",A),!this.promise||!this.image){r("Initiating DummyImageContainer"),n.prototype.image=new Image;var t=this.image;n.prototype.promise=new Promise(function(A,e){t.onload=A,t.onerror=e,t.src=i(),!0===t.complete&&A(t)})}}var r=A("./log"),i=A("./utils").smallImage;t.exports=n},{"./log":13,"./utils":26}],6:[function(A,t,e){var n=A("./utils").smallImage;t.exports=function(A,t){var e,r,i=document.createElement("div"),o=document.createElement("img"),a=document.createElement("span");i.style.visibility="hidden",i.style.fontFamily=A,i.style.fontSize=t,i.style.margin=0,i.style.padding=0,document.body.appendChild(i),o.src=n(),o.width=1,o.height=1,o.style.margin=0,o.style.padding=0,o.style.verticalAlign="baseline",a.style.fontFamily=A,a.style.fontSize=t,a.style.margin=0,a.style.padding=0,a.appendChild(document.createTextNode("Hidden Text")),i.appendChild(a),i.appendChild(o),e=o.offsetTop-a.offsetTop+1,i.removeChild(a),i.appendChild(document.createTextNode("Hidden Text")),i.style.lineHeight="normal",o.style.verticalAlign="super",r=o.offsetTop-i.offsetTop+1,document.body.removeChild(i),this.baseline=e,this.lineWidth=1,this.middle=r}},{"./utils":26}],7:[function(A,t,e){function n(){this.data={}}var r=A("./font");n.prototype.getMetrics=function(A,t){return void 0===this.data[A+"-"+t]&&(this.data[A+"-"+t]=new r(A,t)),this.data[A+"-"+t]},t.exports=n},{"./font":6}],8:[function(A,t,e){function n(t,e,n){this.image=null,this.src=t;var i=this,o=r(t);this.promise=(e?new Promise(function(A){"about:blank"===t.contentWindow.document.URL||null==t.contentWindow.document.documentElement?t.contentWindow.onload=t.onload=function(){A(t)}:A(t)}):this.proxyLoad(n.proxy,o,n)).then(function(t){return A("./core")(t.contentWindow.document.documentElement,{type:"view",width:t.width,height:t.height,proxy:n.proxy,javascriptEnabled:n.javascriptEnabled,removeContainer:n.removeContainer,allowTaint:n.allowTaint,imageTimeout:n.imageTimeout/2})}).then(function(A){return i.image=A})}var r=A("./utils").getBounds,i=A("./proxy").loadUrlDocument;n.prototype.proxyLoad=function(A,t,e){var n=this.src;return i(n.src,A,n.ownerDocument,t.width,t.height,e)},t.exports=n},{"./core":4,"./proxy":16,"./utils":26}],9:[function(A,t,e){function n(A){this.src=A.value,this.colorStops=[],this.type=null,this.x0=.5,this.y0=.5,this.x1=.5,this.y1=.5,this.promise=Promise.resolve(!0)}n.TYPES={LINEAR:1,RADIAL:2},n.REGEXP_COLORSTOP=/^\s*(rgba?\(\s*\d{1,3},\s*\d{1,3},\s*\d{1,3}(?:,\s*[0-9\.]+)?\s*\)|[a-z]{3,20}|#[a-f0-9]{3,6})(?:\s+(\d{1,3}(?:\.\d+)?)(%|px)?)?(?:\s|$)/i,t.exports=n},{}],10:[function(A,t,e){t.exports=function(A,t){this.src=A,this.image=new Image;var e=this;this.tainted=null,this.promise=new Promise(function(n,r){e.image.onload=n,e.image.onerror=r,t&&(e.image.crossOrigin="anonymous"),e.image.src=A,!0===e.image.complete&&n(e.image)})}},{}],11:[function(A,t,e){function n(A,t){this.link=null,this.options=A,this.support=t,this.origin=this.getOrigin(window.location.href)}var r=A("./log"),i=A("./imagecontainer"),o=A("./dummyimagecontainer"),a=A("./proxyimagecontainer"),s=A("./framecontainer"),c=A("./svgcontainer"),l=A("./svgnodecontainer"),u=A("./lineargradientcontainer"),h=A("./webkitgradientcontainer"),d=A("./utils").bind;n.prototype.findImages=function(A){var t=[];return A.reduce(function(A,t){switch(t.node.nodeName){case"IMG":return A.concat([{args:[t.node.src],method:"url"}]);case"svg":case"IFRAME":return A.concat([{args:[t.node],method:t.node.nodeName}])}return A},[]).forEach(this.addImage(t,this.loadImage),this),t},n.prototype.findBackgroundImage=function(A,t){return t.parseBackgroundImages().filter(this.hasImageBackground).forEach(this.addImage(A,this.loadImage),this),A},n.prototype.addImage=function(A,t){return function(e){e.args.forEach(function(n){this.imageExists(A,n)||(A.splice(0,0,t.call(this,e)),r("Added image #"+A.length,"string"==typeof n?n.substring(0,100):n))},this)}},n.prototype.hasImageBackground=function(A){return"none"!==A.method},n.prototype.loadImage=function(A){if("url"===A.method){var t=A.args[0];return!this.isSVG(t)||this.support.svg||this.options.allowTaint?t.match(/data:image\/.*;base64,/i)?new i(t.replace(/url\(['"]{0,}|['"]{0,}\)$/gi,""),!1):this.isSameOrigin(t)||!0===this.options.allowTaint||this.isSVG(t)?new i(t,!1):this.support.cors&&!this.options.allowTaint&&this.options.useCORS?new i(t,!0):this.options.proxy?new a(t,this.options.proxy):new o(t):new c(t)}return"linear-gradient"===A.method?new u(A):"gradient"===A.method?new h(A):"svg"===A.method?new l(A.args[0],this.support.svg):"IFRAME"===A.method?new s(A.args[0],this.isSameOrigin(A.args[0].src),this.options):new o(A)},n.prototype.isSVG=function(A){return"svg"===A.substring(A.length-3).toLowerCase()||c.prototype.isInline(A)},n.prototype.imageExists=function(A,t){return A.some(function(A){return A.src===t})},n.prototype.isSameOrigin=function(A){return this.getOrigin(A)===this.origin},n.prototype.getOrigin=function(A){var t=this.link||(this.link=document.createElement("a"));return t.href=A,t.href=t.href,t.protocol+t.hostname+t.port},n.prototype.getPromise=function(A){return this.timeout(A,this.options.imageTimeout).catch(function(){return new o(A.src).promise.then(function(t){A.image=t})})},n.prototype.get=function(A){var t=null;return this.images.some(function(e){return(t=e).src===A})?t:null},n.prototype.fetch=function(A){return this.images=A.reduce(d(this.findBackgroundImage,this),this.findImages(A)),this.images.forEach(function(A,t){A.promise.then(function(){r("Succesfully loaded image #"+(t+1),A)},function(e){r("Failed loading image #"+(t+1),A,e)})}),this.ready=Promise.all(this.images.map(this.getPromise,this)),r("Finished searching images"),this},n.prototype.timeout=function(A,t){var e,n=Promise.race([A.promise,new Promise(function(n,i){e=setTimeout(function(){r("Timed out loading image",A),i(A)},t)})]).then(function(A){return clearTimeout(e),A});return n.catch(function(){clearTimeout(e)}),n},t.exports=n},{"./dummyimagecontainer":5,"./framecontainer":8,"./imagecontainer":10,"./lineargradientcontainer":12,"./log":13,"./proxyimagecontainer":17,"./svgcontainer":23,"./svgnodecontainer":24,"./utils":26,"./webkitgradientcontainer":27}],12:[function(A,t,e){function n(A){r.apply(this,arguments),this.type=r.TYPES.LINEAR;var t=n.REGEXP_DIRECTION.test(A.args[0])||!r.REGEXP_COLORSTOP.test(A.args[0]);t?A.args[0].split(/\s+/).reverse().forEach(function(A,t){switch(A){case"left":this.x0=0,this.x1=1;break;case"top":this.y0=0,this.y1=1;break;case"right":this.x0=1,this.x1=0;break;case"bottom":this.y0=1,this.y1=0;break;case"to":var e=this.y0,n=this.x0;this.y0=this.y1,this.x0=this.x1,this.x1=n,this.y1=e;break;case"center":break;default:var r=.01*parseFloat(A,10);if(isNaN(r))break;0===t?(this.y0=r,this.y1=1-this.y0):(this.x0=r,this.x1=1-this.x0)}},this):(this.y0=0,this.y1=1),this.colorStops=A.args.slice(t?1:0).map(function(A){var t=A.match(r.REGEXP_COLORSTOP),e=+t[2],n=0===e?"%":t[3];return{color:new i(t[1]),stop:"%"===n?e/100:null}}),null===this.colorStops[0].stop&&(this.colorStops[0].stop=0),null===this.colorStops[this.colorStops.length-1].stop&&(this.colorStops[this.colorStops.length-1].stop=1),this.colorStops.forEach(function(A,t){null===A.stop&&this.colorStops.slice(t).some(function(e,n){return null!==e.stop&&(A.stop=(e.stop-this.colorStops[t-1].stop)/(n+1)+this.colorStops[t-1].stop,!0)},this)},this)}var r=A("./gradientcontainer"),i=A("./color");n.prototype=Object.create(r.prototype),n.REGEXP_DIRECTION=/^\s*(?:to|left|right|top|bottom|center|\d{1,3}(?:\.\d+)?%?)(?:\s|$)/i,t.exports=n},{"./color":3,"./gradientcontainer":9}],13:[function(A,t,e){var n=function(){n.options.logging&&window.console&&window.console.log&&Function.prototype.bind.call(window.console.log,window.console).apply(window.console,[Date.now()-n.options.start+"ms","html2canvas:"].concat([].slice.call(arguments,0)))};n.options={logging:!1},t.exports=n},{}],14:[function(A,t,e){function n(A,t){this.node=A,this.parent=t,this.stack=null,this.bounds=null,this.borders=null,this.clip=[],this.backgroundClip=[],this.offsetBounds=null,this.visible=null,this.computedStyles=null,this.colors={},this.styles={},this.backgroundImages=null,this.transformData=null,this.transformMatrix=null,this.isPseudoElement=!1,this.opacity=null}function r(A){return-1!==A.toString().indexOf("%")}function i(A){return A.replace("px","")}function o(A){return parseFloat(A)}var a=A("./color"),s=A("./utils"),c=s.getBounds,l=s.parseBackgrounds,u=s.offsetBounds;n.prototype.cloneTo=function(A){A.visible=this.visible,A.borders=this.borders,A.bounds=this.bounds,A.clip=this.clip,A.backgroundClip=this.backgroundClip,A.computedStyles=this.computedStyles,A.styles=this.styles,A.backgroundImages=this.backgroundImages,A.opacity=this.opacity},n.prototype.getOpacity=function(){return null===this.opacity?this.opacity=this.cssFloat("opacity"):this.opacity},n.prototype.assignStack=function(A){this.stack=A,A.children.push(this)},n.prototype.isElementVisible=function(){return this.node.nodeType===Node.TEXT_NODE?this.parent.visible:"none"!==this.css("display")&&"hidden"!==this.css("visibility")&&!this.node.hasAttribute("data-html2canvas-ignore")&&("INPUT"!==this.node.nodeName||"hidden"!==this.node.getAttribute("type"))},n.prototype.css=function(A){return this.computedStyles||(this.computedStyles=this.isPseudoElement?this.parent.computedStyle(this.before?":before":":after"):this.computedStyle(null)),this.styles[A]||(this.styles[A]=this.computedStyles[A])},n.prototype.prefixedCss=function(A){var t=this.css(A);return void 0===t&&["webkit","moz","ms","o"].some(function(e){return void 0!==(t=this.css(e+A.substr(0,1).toUpperCase()+A.substr(1)))},this),void 0===t?null:t},n.prototype.computedStyle=function(A){return this.node.ownerDocument.defaultView.getComputedStyle(this.node,A)},n.prototype.cssInt=function(A){var t=parseInt(this.css(A),10);return isNaN(t)?0:t},n.prototype.color=function(A){return this.colors[A]||(this.colors[A]=new a(this.css(A)))},n.prototype.cssFloat=function(A){var t=parseFloat(this.css(A));return isNaN(t)?0:t},n.prototype.fontWeight=function(){var A=this.css("fontWeight");switch(parseInt(A,10)){case 401:A="bold";break;case 400:A="normal"}return A},n.prototype.parseClip=function(){var A=this.css("clip").match(this.CLIP);return A?{top:parseInt(A[1],10),right:parseInt(A[2],10),bottom:parseInt(A[3],10),left:parseInt(A[4],10)}:null},n.prototype.parseBackgroundImages=function(){return this.backgroundImages||(this.backgroundImages=l(this.css("backgroundImage")))},n.prototype.cssList=function(A,t){var e=(this.css(A)||"").split(",");return e=e[t||0]||e[0]||"auto",1===(e=e.trim().split(" ")).length&&(e=[e[0],r(e[0])?"auto":e[0]]),e},n.prototype.parseBackgroundSize=function(A,t,e){var n,i,o=this.cssList("backgroundSize",e);if(r(o[0]))n=A.width*parseFloat(o[0])/100;else{if(/contain|cover/.test(o[0])){var a=A.width/A.height,s=t.width/t.height;return a<s^"contain"===o[0]?{width:A.height*s,height:A.height}:{width:A.width,height:A.width/s}}n=parseInt(o[0],10)}return i="auto"===o[0]&&"auto"===o[1]?t.height:"auto"===o[1]?n/t.width*t.height:r(o[1])?A.height*parseFloat(o[1])/100:parseInt(o[1],10),"auto"===o[0]&&(n=i/t.height*t.width),{width:n,height:i}},n.prototype.parseBackgroundPosition=function(A,t,e,n){var i,o,a=this.cssList("backgroundPosition",e);return i=r(a[0])?(A.width-(n||t).width)*(parseFloat(a[0])/100):parseInt(a[0],10),o="auto"===a[1]?i/t.width*t.height:r(a[1])?(A.height-(n||t).height)*parseFloat(a[1])/100:parseInt(a[1],10),"auto"===a[0]&&(i=o/t.height*t.width),{left:i,top:o}},n.prototype.parseBackgroundRepeat=function(A){return this.cssList("backgroundRepeat",A)[0]},n.prototype.parseTextShadows=function(){var A=this.css("textShadow"),t=[];if(A&&"none"!==A)for(var e=A.match(this.TEXT_SHADOW_PROPERTY),n=0;e&&n<e.length;n++){var r=e[n].match(this.TEXT_SHADOW_VALUES);t.push({color:new a(r[0]),offsetX:r[1]?parseFloat(r[1].replace("px","")):0,offsetY:r[2]?parseFloat(r[2].replace("px","")):0,blur:r[3]?r[3].replace("px",""):0})}return t},n.prototype.parseTransform=function(){if(!this.transformData)if(this.hasTransform()){var A=this.parseBounds(),t=this.prefixedCss("transformOrigin").split(" ").map(i).map(o);t[0]+=A.left,t[1]+=A.top,this.transformData={origin:t,matrix:this.parseTransformMatrix()}}else this.transformData={origin:[0,0],matrix:[1,0,0,1,0,0]};return this.transformData},n.prototype.parseTransformMatrix=function(){if(!this.transformMatrix){var A=this.prefixedCss("transform"),t=A?function(A){if(A&&"matrix"===A[1])return A[2].split(",").map(function(A){return parseFloat(A.trim())});if(A&&"matrix3d"===A[1]){var t=A[2].split(",").map(function(A){return parseFloat(A.trim())});return[t[0],t[1],t[4],t[5],t[12],t[13]]}}(A.match(this.MATRIX_PROPERTY)):null;this.transformMatrix=t||[1,0,0,1,0,0]}return this.transformMatrix},n.prototype.parseBounds=function(){return this.bounds||(this.bounds=this.hasTransform()?u(this.node):c(this.node))},n.prototype.hasTransform=function(){return"1,0,0,1,0,0"!==this.parseTransformMatrix().join(",")||this.parent&&this.parent.hasTransform()},n.prototype.getValue=function(){var A=this.node.value||"";return"SELECT"===this.node.tagName?A=function(A){var t=A.options[A.selectedIndex||0];return t?t.text||"":""}(this.node):"password"===this.node.type&&(A=Array(A.length+1).join("•")),0===A.length?this.node.placeholder||"":A},n.prototype.MATRIX_PROPERTY=/(matrix|matrix3d)\((.+)\)/,n.prototype.TEXT_SHADOW_PROPERTY=/((rgba|rgb)\([^\)]+\)(\s-?\d+px){0,})/g,n.prototype.TEXT_SHADOW_VALUES=/(-?\d+px)|(#.+)|(rgb\(.+\))|(rgba\(.+\))/g,n.prototype.CLIP=/^rect\((\d+)px,? (\d+)px,? (\d+)px,? (\d+)px\)$/,t.exports=n},{"./color":3,"./utils":26}],15:[function(A,t,e){function n(A,t,e,n,r){_("Starting NodeParser"),this.renderer=t,this.options=r,this.range=null,this.support=e,this.renderQueue=[],this.stack=new P(!0,1,A.ownerDocument,null);var i=new T(A,null);if(r.background&&t.rectangle(0,0,t.width,t.height,new k(r.background)),A===A.ownerDocument.documentElement){var o=new T(i.color("backgroundColor").isTransparent()?A.ownerDocument.body:A.ownerDocument.documentElement,null);t.rectangle(0,0,t.width,t.height,o.color("backgroundColor"))}i.visibile=i.isElementVisible(),this.createPseudoHideStyles(A.ownerDocument),this.disableAnimations(A.ownerDocument),this.nodes=x([i].concat(this.getChildren(i)).filter(function(A){return A.visible=A.isElementVisible()}).map(this.getPseudoElements,this)),this.fontMetrics=new O,_("Fetched nodes, total:",this.nodes.length),_("Calculate overflow clips"),this.calculateOverflowClips(),_("Start fetching images"),this.images=n.fetch(this.nodes.filter(v)),this.ready=this.images.ready.then(D(function(){return _("Images loaded, starting parsing"),_("Creating stacking contexts"),this.createStackingContexts(),_("Sorting stacking contexts"),this.sortStackingContexts(this.stack),this.parse(this.stack),_("Render queue created with "+this.renderQueue.length+" items"),new Promise(D(function(A){r.async?"function"==typeof r.async?r.async.call(this,this.renderQueue,A):this.renderQueue.length>0?(this.renderIndex=0,this.asyncRenderer(this.renderQueue,A)):A():(this.renderQueue.forEach(this.paint,this),A())},this))},this))}function r(A){return A.parent&&A.parent.clip.length}function i(A){return A.replace(/(\-[a-z])/g,function(A){return A.toUpperCase().replace("-","")})}function o(){}function a(A,t,e,n){return A.map(function(r,i){if(r.width>0){var o=t.left,a=t.top,s=t.width,c=t.height-A[2].width;switch(i){case 0:c=A[0].width,r.args=u({c1:[o,a],c2:[o+s,a],c3:[o+s-A[1].width,a+c],c4:[o+A[3].width,a+c]},n[0],n[1],e.topLeftOuter,e.topLeftInner,e.topRightOuter,e.topRightInner);break;case 1:o=t.left+t.width-A[1].width,s=A[1].width,r.args=u({c1:[o+s,a],c2:[o+s,a+c+A[2].width],c3:[o,a+c],c4:[o,a+A[0].width]},n[1],n[2],e.topRightOuter,e.topRightInner,e.bottomRightOuter,e.bottomRightInner);break;case 2:a=a+t.height-A[2].width,c=A[2].width,r.args=u({c1:[o+s,a+c],c2:[o,a+c],c3:[o+A[3].width,a],c4:[o+s-A[3].width,a]},n[2],n[3],e.bottomRightOuter,e.bottomRightInner,e.bottomLeftOuter,e.bottomLeftInner);break;case 3:s=A[3].width,r.args=u({c1:[o,a+c+A[2].width],c2:[o,a],c3:[o+s,a+A[0].width],c4:[o+s,a+c]},n[3],n[0],e.bottomLeftOuter,e.bottomLeftInner,e.topLeftOuter,e.topLeftInner)}}return r})}function s(A,t,e,n){var r=(Math.sqrt(2)-1)/3*4,i=e*r,o=n*r,a=A+e,s=t+n;return{topLeft:l({x:A,y:s},{x:A,y:s-o},{x:a-i,y:t},{x:a,y:t}),topRight:l({x:A,y:t},{x:A+i,y:t},{x:a,y:s-o},{x:a,y:s}),bottomRight:l({x:a,y:t},{x:a,y:t+o},{x:A+i,y:s},{x:A,y:s}),bottomLeft:l({x:a,y:s},{x:a-i,y:s},{x:A,y:t+o},{x:A,y:t})}}function c(A,t,e){var n=A.left,r=A.top,i=A.width,o=A.height,a=t[0][0]<i/2?t[0][0]:i/2,c=t[0][1]<o/2?t[0][1]:o/2,l=t[1][0]<i/2?t[1][0]:i/2,u=t[1][1]<o/2?t[1][1]:o/2,h=t[2][0]<i/2?t[2][0]:i/2,d=t[2][1]<o/2?t[2][1]:o/2,f=t[3][0]<i/2?t[3][0]:i/2,B=t[3][1]<o/2?t[3][1]:o/2,p=i-l,g=o-d,w=i-h,m=o-B;return{topLeftOuter:s(n,r,a,c).topLeft.subdivide(.5),topLeftInner:s(n+e[3].width,r+e[0].width,Math.max(0,a-e[3].width),Math.max(0,c-e[0].width)).topLeft.subdivide(.5),topRightOuter:s(n+p,r,l,u).topRight.subdivide(.5),topRightInner:s(n+Math.min(p,i+e[3].width),r+e[0].width,p>i+e[3].width?0:l-e[3].width,u-e[0].width).topRight.subdivide(.5),bottomRightOuter:s(n+w,r+g,h,d).bottomRight.subdivide(.5),bottomRightInner:s(n+Math.min(w,i-e[3].width),r+Math.min(g,o+e[0].width),Math.max(0,h-e[1].width),d-e[2].width).bottomRight.subdivide(.5),bottomLeftOuter:s(n,r+m,f,B).bottomLeft.subdivide(.5),bottomLeftInner:s(n+e[3].width,r+m,Math.max(0,f-e[3].width),B-e[2].width).bottomLeft.subdivide(.5)}}function l(A,t,e,n){var r=function(A,t,e){return{x:A.x+(t.x-A.x)*e,y:A.y+(t.y-A.y)*e}};return{start:A,startControl:t,endControl:e,end:n,subdivide:function(i){var o=r(A,t,i),a=r(t,e,i),s=r(e,n,i),c=r(o,a,i),u=r(a,s,i),h=r(c,u,i);return[l(A,o,c,h),l(h,u,s,n)]},curveTo:function(A){A.push(["bezierCurve",t.x,t.y,e.x,e.y,n.x,n.y])},curveToReversed:function(n){n.push(["bezierCurve",e.x,e.y,t.x,t.y,A.x,A.y])}}}function u(A,t,e,n,r,i,o){var a=[];return t[0]>0||t[1]>0?(a.push(["line",n[1].start.x,n[1].start.y]),n[1].curveTo(a)):a.push(["line",A.c1[0],A.c1[1]]),e[0]>0||e[1]>0?(a.push(["line",i[0].start.x,i[0].start.y]),i[0].curveTo(a),a.push(["line",o[0].end.x,o[0].end.y]),o[0].curveToReversed(a)):(a.push(["line",A.c2[0],A.c2[1]]),a.push(["line",A.c3[0],A.c3[1]])),t[0]>0||t[1]>0?(a.push(["line",r[1].end.x,r[1].end.y]),r[1].curveToReversed(a)):a.push(["line",A.c4[0],A.c4[1]]),a}function h(A,t,e,n,r,i,o){t[0]>0||t[1]>0?(A.push(["line",n[0].start.x,n[0].start.y]),n[0].curveTo(A),n[1].curveTo(A)):A.push(["line",i,o]),(e[0]>0||e[1]>0)&&A.push(["line",r[0].start.x,r[0].start.y])}function d(A){return A.cssInt("zIndex")<0}function f(A){return A.cssInt("zIndex")>0}function B(A){return 0===A.cssInt("zIndex")}function p(A){return-1!==["inline","inline-block","inline-table"].indexOf(A.css("display"))}function g(A){return A instanceof P}function w(A){return A.node.data.trim().length>0}function m(A){return A.nodeType===Node.TEXT_NODE||A.nodeType===Node.ELEMENT_NODE}function Q(A){return"static"!==A.css("position")}function C(A){return"none"!==A.css("float")}function y(A){var t=this;return function(){return!A.apply(t,arguments)}}function v(A){return A.node.nodeType===Node.ELEMENT_NODE}function U(A){return!0===A.isPseudoElement}function F(A){return A.node.nodeType===Node.TEXT_NODE}function E(A){return parseInt(A,10)}function b(A){return A.width}function H(A){return A.node.nodeType!==Node.ELEMENT_NODE||-1===["SCRIPT","HEAD","TITLE","OBJECT","BR","OPTION"].indexOf(A.node.nodeName)}function x(A){return[].concat.apply([],A)}var _=A("./log"),I=A("punycode"),T=A("./nodecontainer"),S=A("./textcontainer"),N=A("./pseudoelementcontainer"),O=A("./fontmetrics"),k=A("./color"),P=A("./stackingcontext"),L=A("./utils"),D=L.bind,R=L.getBounds,K=L.parseBackgrounds,M=L.offsetBounds;n.prototype.calculateOverflowClips=function(){this.nodes.forEach(function(A){if(v(A)){U(A)&&A.appendToDOM(),A.borders=this.parseBorders(A);var t="hidden"===A.css("overflow")?[A.borders.clip]:[],e=A.parseClip();e&&-1!==["absolute","fixed"].indexOf(A.css("position"))&&t.push([["rect",A.bounds.left+e.left,A.bounds.top+e.top,e.right-e.left,e.bottom-e.top]]),A.clip=r(A)?A.parent.clip.concat(t):t,A.backgroundClip="hidden"!==A.css("overflow")?A.clip.concat([A.borders.clip]):A.clip,U(A)&&A.cleanDOM()}else F(A)&&(A.clip=r(A)?A.parent.clip:[]);U(A)||(A.bounds=null)},this)},n.prototype.asyncRenderer=function(A,t,e){e=e||Date.now(),this.paint(A[this.renderIndex++]),A.length===this.renderIndex?t():e+20>Date.now()?this.asyncRenderer(A,t,e):setTimeout(D(function(){this.asyncRenderer(A,t)},this),0)},n.prototype.createPseudoHideStyles=function(A){this.createStyles(A,"."+N.prototype.PSEUDO_HIDE_ELEMENT_CLASS_BEFORE+':before { content: "" !important; display: none !important; }.'+N.prototype.PSEUDO_HIDE_ELEMENT_CLASS_AFTER+':after { content: "" !important; display: none !important; }')},n.prototype.disableAnimations=function(A){this.createStyles(A,"* { -webkit-animation: none !important; -moz-animation: none !important; -o-animation: none !important; animation: none !important; -webkit-transition: none !important; -moz-transition: none !important; -o-transition: none !important; transition: none !important;}")},n.prototype.createStyles=function(A,t){var e=A.createElement("style");e.innerHTML=t,A.body.appendChild(e)},n.prototype.getPseudoElements=function(A){var t=[[A]];if(A.node.nodeType===Node.ELEMENT_NODE){var e=this.getPseudoElement(A,":before"),n=this.getPseudoElement(A,":after");e&&t.push(e),n&&t.push(n)}return x(t)},n.prototype.getPseudoElement=function(A,t){var e=A.computedStyle(t);if(!e||!e.content||"none"===e.content||"-moz-alt-content"===e.content||"none"===e.display)return null;for(var n=function(A){var t=A.substr(0,1);return t===A.substr(A.length-1)&&t.match(/'|"/)?A.substr(1,A.length-2):A}(e.content),r="url"===n.substr(0,3),o=document.createElement(r?"img":"html2canvaspseudoelement"),a=new N(o,A,t),s=e.length-1;s>=0;s--){var c=i(e.item(s));o.style[c]=e[c]}if(o.className=N.prototype.PSEUDO_HIDE_ELEMENT_CLASS_BEFORE+" "+N.prototype.PSEUDO_HIDE_ELEMENT_CLASS_AFTER,r)return o.src=K(n)[0].args[0],[a];var l=document.createTextNode(n);return o.appendChild(l),[a,new S(l,a)]},n.prototype.getChildren=function(A){return x([].filter.call(A.node.childNodes,m).map(function(t){var e=[t.nodeType===Node.TEXT_NODE?new S(t,A):new T(t,A)].filter(H);return t.nodeType===Node.ELEMENT_NODE&&e.length&&"TEXTAREA"!==t.tagName?e[0].isElementVisible()?e.concat(this.getChildren(e[0])):[]:e},this))},n.prototype.newStackingContext=function(A,t){var e=new P(t,A.getOpacity(),A.node,A.parent);A.cloneTo(e),(t?e.getParentStack(this):e.parent.stack).contexts.push(e),A.stack=e},n.prototype.createStackingContexts=function(){this.nodes.forEach(function(A){v(A)&&(this.isRootElement(A)||function(A){return A.getOpacity()<1}(A)||function(A){var t=A.css("position");return"auto"!==(-1!==["absolute","relative","fixed"].indexOf(t)?A.css("zIndex"):"auto")}(A)||this.isBodyWithTransparentRoot(A)||A.hasTransform())?this.newStackingContext(A,!0):v(A)&&(Q(A)&&B(A)||function(A){return-1!==["inline-block","inline-table"].indexOf(A.css("display"))}(A)||C(A))?this.newStackingContext(A,!1):A.assignStack(A.parent.stack)},this)},n.prototype.isBodyWithTransparentRoot=function(A){return"BODY"===A.node.nodeName&&A.parent.color("backgroundColor").isTransparent()},n.prototype.isRootElement=function(A){return null===A.parent},n.prototype.sortStackingContexts=function(A){A.contexts.sort(function(A){return function(t,e){return t.cssInt("zIndex")+A.indexOf(t)/A.length-(e.cssInt("zIndex")+A.indexOf(e)/A.length)}}(A.contexts.slice(0))),A.contexts.forEach(this.sortStackingContexts,this)},n.prototype.parseTextBounds=function(A){return function(t,e,n){if("none"!==A.parent.css("textDecoration").substr(0,4)||0!==t.trim().length){if(this.support.rangeBounds&&!A.parent.hasTransform()){var r=n.slice(0,e).join("").length;return this.getRangeBounds(A.node,r,t.length)}if(A.node&&"string"==typeof A.node.data){var i=A.node.splitText(t.length),o=this.getWrapperBounds(A.node,A.parent.hasTransform());return A.node=i,o}}else this.support.rangeBounds&&!A.parent.hasTransform()||(A.node=A.node.splitText(t.length));return{}}},n.prototype.getWrapperBounds=function(A,t){var e=A.ownerDocument.createElement("html2canvaswrapper"),n=A.parentNode,r=A.cloneNode(!0);e.appendChild(A.cloneNode(!0)),n.replaceChild(e,A);var i=t?M(e):R(e);return n.replaceChild(r,e),i},n.prototype.getRangeBounds=function(A,t,e){var n=this.range||(this.range=A.ownerDocument.createRange());return n.setStart(A,t),n.setEnd(A,t+e),n.getBoundingClientRect()},n.prototype.parse=function(A){var t=A.contexts.filter(d),e=A.children.filter(v),n=e.filter(y(C)),r=n.filter(y(Q)).filter(y(p)),i=e.filter(y(Q)).filter(C),a=n.filter(y(Q)).filter(p),s=A.contexts.concat(n.filter(Q)).filter(B),c=A.children.filter(F).filter(w),l=A.contexts.filter(f);t.concat(r).concat(i).concat(a).concat(s).concat(c).concat(l).forEach(function(A){this.renderQueue.push(A),g(A)&&(this.parse(A),this.renderQueue.push(new o))},this)},n.prototype.paint=function(A){try{A instanceof o?this.renderer.ctx.restore():F(A)?(U(A.parent)&&A.parent.appendToDOM(),this.paintText(A),U(A.parent)&&A.parent.cleanDOM()):this.paintNode(A)}catch(A){if(_(A),this.options.strict)throw A}},n.prototype.paintNode=function(A){g(A)&&(this.renderer.setOpacity(A.opacity),this.renderer.ctx.save(),A.hasTransform()&&this.renderer.setTransform(A.parseTransform())),"INPUT"===A.node.nodeName&&"checkbox"===A.node.type?this.paintCheckbox(A):"INPUT"===A.node.nodeName&&"radio"===A.node.type?this.paintRadio(A):this.paintElement(A)},n.prototype.paintElement=function(A){var t=A.parseBounds();this.renderer.clip(A.backgroundClip,function(){this.renderer.renderBackground(A,t,A.borders.borders.map(b))},this),this.renderer.clip(A.clip,function(){this.renderer.renderBorders(A.borders.borders)},this),this.renderer.clip(A.backgroundClip,function(){switch(A.node.nodeName){case"svg":case"IFRAME":var e=this.images.get(A.node);e?this.renderer.renderImage(A,t,A.borders,e):_("Error loading <"+A.node.nodeName+">",A.node);break;case"IMG":var n=this.images.get(A.node.src);n?this.renderer.renderImage(A,t,A.borders,n):_("Error loading <img>",A.node.src);break;case"CANVAS":this.renderer.renderImage(A,t,A.borders,{image:A.node});break;case"SELECT":case"INPUT":case"TEXTAREA":this.paintFormValue(A)}},this)},n.prototype.paintCheckbox=function(A){var t=A.parseBounds(),e=Math.min(t.width,t.height),n={width:e-1,height:e-1,top:t.top,left:t.left},r=[3,3],i=[r,r,r,r],o=[1,1,1,1].map(function(A){return{color:new k("#A5A5A5"),width:A}}),s=c(n,i,o);this.renderer.clip(A.backgroundClip,function(){this.renderer.rectangle(n.left+1,n.top+1,n.width-2,n.height-2,new k("#DEDEDE")),this.renderer.renderBorders(a(o,n,s,i)),A.node.checked&&(this.renderer.font(new k("#424242"),"normal","normal","bold",e-3+"px","arial"),this.renderer.text("✔",n.left+e/6,n.top+e-1))},this)},n.prototype.paintRadio=function(A){var t=A.parseBounds(),e=Math.min(t.width,t.height)-2;this.renderer.clip(A.backgroundClip,function(){this.renderer.circleStroke(t.left+1,t.top+1,e,new k("#DEDEDE"),1,new k("#A5A5A5")),A.node.checked&&this.renderer.circle(Math.ceil(t.left+e/4)+1,Math.ceil(t.top+e/4)+1,Math.floor(e/2),new k("#424242"))},this)},n.prototype.paintFormValue=function(A){var t=A.getValue();if(t.length>0){var e=A.node.ownerDocument,n=e.createElement("html2canvaswrapper");["lineHeight","textAlign","fontFamily","fontWeight","fontSize","color","paddingLeft","paddingTop","paddingRight","paddingBottom","width","height","borderLeftStyle","borderTopStyle","borderLeftWidth","borderTopWidth","boxSizing","whiteSpace","wordWrap"].forEach(function(t){try{n.style[t]=A.css(t)}catch(A){_("html2canvas: Parse: Exception caught in renderFormValue: "+A.message)}});var r=A.parseBounds();n.style.position="fixed",n.style.left=r.left+"px",n.style.top=r.top+"px",n.textContent=t,e.body.appendChild(n),this.paintText(new S(n.firstChild,A)),e.body.removeChild(n)}},n.prototype.paintText=function(A){A.applyTextTransform();var t=I.ucs2.decode(A.node.data),e=this.options.letterRendering&&!function(A){return/^(normal|none|0px)$/.test(A.parent.css("letterSpacing"))}(A)||function(A){return/[^\u0000-\u00ff]/.test(A)}(A.node.data)?t.map(function(A){return I.ucs2.encode([A])}):function(A){for(var t,e=[],n=0,r=!1;A.length;)(function(A){return-1!==[32,13,10,9,45].indexOf(A)})(A[n])===r?((t=A.splice(0,n)).length&&e.push(I.ucs2.encode(t)),r=!r,n=0):n++,n>=A.length&&(t=A.splice(0,n)).length&&e.push(I.ucs2.encode(t));return e}(t),n=A.parent.fontWeight(),r=A.parent.css("fontSize"),i=A.parent.css("fontFamily"),o=A.parent.parseTextShadows();this.renderer.font(A.parent.color("color"),A.parent.css("fontStyle"),A.parent.css("fontVariant"),n,r,i),o.length?this.renderer.fontShadow(o[0].color,o[0].offsetX,o[0].offsetY,o[0].blur):this.renderer.clearShadow(),this.renderer.clip(A.parent.clip,function(){e.map(this.parseTextBounds(A),this).forEach(function(t,n){t&&(this.renderer.text(e[n],t.left,t.bottom),this.renderTextDecoration(A.parent,t,this.fontMetrics.getMetrics(i,r)))},this)},this)},n.prototype.renderTextDecoration=function(A,t,e){switch(A.css("textDecoration").split(" ")[0]){case"underline":this.renderer.rectangle(t.left,Math.round(t.top+e.baseline+e.lineWidth),t.width,1,A.color("color"));break;case"overline":this.renderer.rectangle(t.left,Math.round(t.top),t.width,1,A.color("color"));break;case"line-through":this.renderer.rectangle(t.left,Math.ceil(t.top+e.middle+e.lineWidth),t.width,1,A.color("color"))}};var z={inset:[["darken",.6],["darken",.1],["darken",.1],["darken",.6]]};n.prototype.parseBorders=function(A){var t=A.parseBounds(),e=function(A){return["TopLeft","TopRight","BottomRight","BottomLeft"].map(function(t){var e=A.css("border"+t+"Radius").split(" ");return e.length<=1&&(e[1]=e[0]),e.map(E)})}(A),n=["Top","Right","Bottom","Left"].map(function(t,e){var n=A.css("border"+t+"Style"),r=A.color("border"+t+"Color");"inset"===n&&r.isBlack()&&(r=new k([255,255,255,r.a]));var i=z[n]?z[n][e]:null;return{width:A.cssInt("border"+t+"Width"),color:i?r[i[0]](i[1]):r,args:null}}),r=c(t,e,n);return{clip:this.parseBackgroundClip(A,r,n,e,t),borders:a(n,t,r,e)}},n.prototype.parseBackgroundClip=function(A,t,e,n,r){var i=[];switch(A.css("backgroundClip")){case"content-box":case"padding-box":h(i,n[0],n[1],t.topLeftInner,t.topRightInner,r.left+e[3].width,r.top+e[0].width),h(i,n[1],n[2],t.topRightInner,t.bottomRightInner,r.left+r.width-e[1].width,r.top+e[0].width),h(i,n[2],n[3],t.bottomRightInner,t.bottomLeftInner,r.left+r.width-e[1].width,r.top+r.height-e[2].width),h(i,n[3],n[0],t.bottomLeftInner,t.topLeftInner,r.left+e[3].width,r.top+r.height-e[2].width);break;default:h(i,n[0],n[1],t.topLeftOuter,t.topRightOuter,r.left,r.top),h(i,n[1],n[2],t.topRightOuter,t.bottomRightOuter,r.left+r.width,r.top),h(i,n[2],n[3],t.bottomRightOuter,t.bottomLeftOuter,r.left+r.width,r.top+r.height),h(i,n[3],n[0],t.bottomLeftOuter,t.topLeftOuter,r.left,r.top+r.height)}return i},t.exports=n},{"./color":3,"./fontmetrics":7,"./log":13,"./nodecontainer":14,"./pseudoelementcontainer":18,"./stackingcontext":21,"./textcontainer":25,"./utils":26,punycode:1}],16:[function(A,t,e){function n(A,t,e){var n="withCredentials"in new XMLHttpRequest;if(!t)return Promise.reject("No proxy configured");var s=i(n),c=o(t,A,s);return n?a(c):r(e,c,s).then(function(A){return u(A.content)})}function r(A,t,e){return new Promise(function(n,r){var i=A.createElement("script"),o=function(){delete window.html2canvas.proxy[e],A.body.removeChild(i)};window.html2canvas.proxy[e]=function(A){o(),n(A)},i.src=t,i.onerror=function(A){o(),r(A)},A.body.appendChild(i)})}function i(A){return A?"":"html2canvas_"+Date.now()+"_"+ ++h+"_"+Math.round(1e5*Math.random())}function o(A,t,e){return A+"?url="+encodeURIComponent(t)+(e.length?"&callback=html2canvas.proxy."+e:"")}var a=A("./xhr"),s=A("./utils"),c=A("./log"),l=A("./clone"),u=s.decode64,h=0;e.Proxy=n,e.ProxyURL=function(A,t,e){var n="crossOrigin"in new Image,a=i(n),s=o(t,A,a);return n?Promise.resolve(s):r(e,s,a).then(function(A){return"data:"+A.type+";base64,"+A.content})},e.loadUrlDocument=function(A,t,e,r,i,o){return new n(A,t,window.document).then(function(A){return function(t){var e,n=new DOMParser;try{e=n.parseFromString(t,"text/html")}catch(A){c("DOMParser not supported, falling back to createHTMLDocument"),e=document.implementation.createHTMLDocument("");try{e.open(),e.write(t),e.close()}catch(A){c("createHTMLDocument write not supported, falling back to document.body.innerHTML"),e.body.innerHTML=t}}var r=e.querySelector("base");if(!r||!r.href.host){var i=e.createElement("base");i.href=A,e.head.insertBefore(i,e.head.firstChild)}return e}}(A)).then(function(A){return l(A,e,r,i,o,0,0)})}},{"./clone":2,"./log":13,"./utils":26,"./xhr":28}],17:[function(A,t,e){var n=A("./proxy").ProxyURL;t.exports=function(A,t){var e=document.createElement("a");e.href=A,A=e.href,this.src=A,this.image=new Image;var r=this;this.promise=new Promise(function(e,i){r.image.crossOrigin="Anonymous",r.image.onload=e,r.image.onerror=i,new n(A,t,document).then(function(A){r.image.src=A}).catch(i)})}},{"./proxy":16}],18:[function(A,t,e){function n(A,t,e){r.call(this,A,t),this.isPseudoElement=!0,this.before=":before"===e}var r=A("./nodecontainer");n.prototype.cloneTo=function(A){n.prototype.cloneTo.call(this,A),A.isPseudoElement=!0,A.before=this.before},(n.prototype=Object.create(r.prototype)).appendToDOM=function(){this.before?this.parent.node.insertBefore(this.node,this.parent.node.firstChild):this.parent.node.appendChild(this.node),this.parent.node.className+=" "+this.getHideClass()},n.prototype.cleanDOM=function(){this.node.parentNode.removeChild(this.node),this.parent.node.className=this.parent.node.className.replace(this.getHideClass(),"")},n.prototype.getHideClass=function(){return this["PSEUDO_HIDE_ELEMENT_CLASS_"+(this.before?"BEFORE":"AFTER")]},n.prototype.PSEUDO_HIDE_ELEMENT_CLASS_BEFORE="___html2canvas___pseudoelement_before",n.prototype.PSEUDO_HIDE_ELEMENT_CLASS_AFTER="___html2canvas___pseudoelement_after",t.exports=n},{"./nodecontainer":14}],19:[function(A,t,e){function n(A,t,e,n,r){this.width=A,this.height=t,this.images=e,this.options=n,this.document=r}var r=A("./log");n.prototype.renderImage=function(A,t,e,n){var r=A.cssInt("paddingLeft"),i=A.cssInt("paddingTop"),o=A.cssInt("paddingRight"),a=A.cssInt("paddingBottom"),s=e.borders,c=t.width-(s[1].width+s[3].width+r+o),l=t.height-(s[0].width+s[2].width+i+a);this.drawImage(n,0,0,n.image.width||c,n.image.height||l,t.left+r+s[3].width,t.top+i+s[0].width,c,l)},n.prototype.renderBackground=function(A,t,e){t.height>0&&t.width>0&&(this.renderBackgroundColor(A,t),this.renderBackgroundImage(A,t,e))},n.prototype.renderBackgroundColor=function(A,t){var e=A.color("backgroundColor");e.isTransparent()||this.rectangle(t.left,t.top,t.width,t.height,e)},n.prototype.renderBorders=function(A){A.forEach(this.renderBorder,this)},n.prototype.renderBorder=function(A){A.color.isTransparent()||null===A.args||this.drawShape(A.args,A.color)},n.prototype.renderBackgroundImage=function(A,t,e){A.parseBackgroundImages().reverse().forEach(function(n,i,o){switch(n.method){case"url":var a=this.images.get(n.args[0]);a?this.renderBackgroundRepeating(A,t,a,o.length-(i+1),e):r("Error loading background-image",n.args[0]);break;case"linear-gradient":case"gradient":var s=this.images.get(n.value);s?this.renderBackgroundGradient(s,t,e):r("Error loading background-image",n.args[0]);break;case"none":break;default:r("Unknown background-image type",n.args[0])}},this)},n.prototype.renderBackgroundRepeating=function(A,t,e,n,r){var i=A.parseBackgroundSize(t,e.image,n),o=A.parseBackgroundPosition(t,e.image,n,i);switch(A.parseBackgroundRepeat(n)){case"repeat-x":case"repeat no-repeat":this.backgroundRepeatShape(e,o,i,t,t.left+r[3],t.top+o.top+r[0],99999,i.height,r);break;case"repeat-y":case"no-repeat repeat":this.backgroundRepeatShape(e,o,i,t,t.left+o.left+r[3],t.top+r[0],i.width,99999,r);break;case"no-repeat":this.backgroundRepeatShape(e,o,i,t,t.left+o.left+r[3],t.top+o.top+r[0],i.width,i.height,r);break;default:this.renderBackgroundRepeat(e,o,i,{top:t.top,left:t.left},r[3],r[0])}},t.exports=n},{"./log":13}],20:[function(A,t,e){function n(A,t){i.apply(this,arguments),this.canvas=this.options.canvas||this.document.createElement("canvas"),this.options.canvas||(this.canvas.width=A,this.canvas.height=t),this.ctx=this.canvas.getContext("2d"),this.taintCtx=this.document.createElement("canvas").getContext("2d"),this.ctx.textBaseline="bottom",this.variables={},a("Initialized CanvasRenderer with size",A,"x",t)}function r(A){return A.length>0}var i=A("../renderer"),o=A("../lineargradientcontainer"),a=A("../log");(n.prototype=Object.create(i.prototype)).setFillStyle=function(A){return this.ctx.fillStyle="object"==typeof A&&A.isColor?A.toString():A,this.ctx},n.prototype.rectangle=function(A,t,e,n,r){this.setFillStyle(r).fillRect(A,t,e,n)},n.prototype.circle=function(A,t,e,n){this.setFillStyle(n),this.ctx.beginPath(),this.ctx.arc(A+e/2,t+e/2,e/2,0,2*Math.PI,!0),this.ctx.closePath(),this.ctx.fill()},n.prototype.circleStroke=function(A,t,e,n,r,i){this.circle(A,t,e,n),this.ctx.strokeStyle=i.toString(),this.ctx.stroke()},n.prototype.drawShape=function(A,t){this.shape(A),this.setFillStyle(t).fill()},n.prototype.taints=function(A){if(null===A.tainted){this.taintCtx.drawImage(A.image,0,0);try{this.taintCtx.getImageData(0,0,1,1),A.tainted=!1}catch(t){this.taintCtx=document.createElement("canvas").getContext("2d"),A.tainted=!0}}return A.tainted},n.prototype.drawImage=function(A,t,e,n,r,i,o,a,s){this.taints(A)&&!this.options.allowTaint||this.ctx.drawImage(A.image,t,e,n,r,i,o,a,s)},n.prototype.clip=function(A,t,e){this.ctx.save(),A.filter(r).forEach(function(A){this.shape(A).clip()},this),t.call(e),this.ctx.restore()},n.prototype.shape=function(A){return this.ctx.beginPath(),A.forEach(function(A,t){"rect"===A[0]?this.ctx.rect.apply(this.ctx,A.slice(1)):this.ctx[0===t?"moveTo":A[0]+"To"].apply(this.ctx,A.slice(1))},this),this.ctx.closePath(),this.ctx},n.prototype.font=function(A,t,e,n,r,i){this.setFillStyle(A).font=[t,e,n,r,i].join(" ").split(",")[0]},n.prototype.fontShadow=function(A,t,e,n){this.setVariable("shadowColor",A.toString()).setVariable("shadowOffsetY",t).setVariable("shadowOffsetX",e).setVariable("shadowBlur",n)},n.prototype.clearShadow=function(){this.setVariable("shadowColor","rgba(0,0,0,0)")},n.prototype.setOpacity=function(A){this.ctx.globalAlpha=A},n.prototype.setTransform=function(A){this.ctx.translate(A.origin[0],A.origin[1]),this.ctx.transform.apply(this.ctx,A.matrix),this.ctx.translate(-A.origin[0],-A.origin[1])},n.prototype.setVariable=function(A,t){return this.variables[A]!==t&&(this.variables[A]=this.ctx[A]=t),this},n.prototype.text=function(A,t,e){this.ctx.fillText(A,t,e)},n.prototype.backgroundRepeatShape=function(A,t,e,n,r,i,o,a,s){var c=[["line",Math.round(r),Math.round(i)],["line",Math.round(r+o),Math.round(i)],["line",Math.round(r+o),Math.round(a+i)],["line",Math.round(r),Math.round(a+i)]];this.clip([c],function(){this.renderBackgroundRepeat(A,t,e,n,s[3],s[0])},this)},n.prototype.renderBackgroundRepeat=function(A,t,e,n,r,i){var o=Math.round(n.left+t.left+r),a=Math.round(n.top+t.top+i);this.setFillStyle(this.ctx.createPattern(this.resizeImage(A,e),"repeat")),this.ctx.translate(o,a),this.ctx.fill(),this.ctx.translate(-o,-a)},n.prototype.renderBackgroundGradient=function(A,t){if(A instanceof o){var e=this.ctx.createLinearGradient(t.left+t.width*A.x0,t.top+t.height*A.y0,t.left+t.width*A.x1,t.top+t.height*A.y1);A.colorStops.forEach(function(A){e.addColorStop(A.stop,A.color.toString())}),this.rectangle(t.left,t.top,t.width,t.height,e)}},n.prototype.resizeImage=function(A,t){var e=A.image;if(e.width===t.width&&e.height===t.height)return e;var n=document.createElement("canvas");return n.width=t.width,n.height=t.height,n.getContext("2d").drawImage(e,0,0,e.width,e.height,0,0,t.width,t.height),n},t.exports=n},{"../lineargradientcontainer":12,"../log":13,"../renderer":19}],21:[function(A,t,e){function n(A,t,e,n){r.call(this,e,n),this.ownStacking=A,this.contexts=[],this.children=[],this.opacity=(this.parent?this.parent.stack.opacity:1)*t}var r=A("./nodecontainer");(n.prototype=Object.create(r.prototype)).getParentStack=function(A){var t=this.parent?this.parent.stack:null;return t?t.ownStacking?t:t.getParentStack(A):A.stack},t.exports=n},{"./nodecontainer":14}],22:[function(A,t,e){function n(A){this.rangeBounds=this.testRangeBounds(A),this.cors=this.testCORS(),this.svg=this.testSVG()}n.prototype.testRangeBounds=function(A){var t,e,n=!1;return A.createRange&&(t=A.createRange()).getBoundingClientRect&&((e=A.createElement("boundtest")).style.height="123px",e.style.display="block",A.body.appendChild(e),t.selectNode(e),123===t.getBoundingClientRect().height&&(n=!0),A.body.removeChild(e)),n},n.prototype.testCORS=function(){return void 0!==(new Image).crossOrigin},n.prototype.testSVG=function(){var A=new Image,t=document.createElement("canvas"),e=t.getContext("2d");A.src="data:image/svg+xml,<svg xmlns='http:https://www.w3.org/2000/svg'></svg>";try{e.drawImage(A,0,0),t.toDataURL()}catch(A){return!1}return!0},t.exports=n},{}],23:[function(A,t,e){function n(A){this.src=A,this.image=null;var t=this;this.promise=this.hasFabric().then(function(){return t.isInline(A)?Promise.resolve(t.inlineFormatting(A)):r(A)}).then(function(A){return new Promise(function(e){window.html2canvas.svg.fabric.loadSVGFromString(A,t.createCanvas.call(t,e))})})}var r=A("./xhr"),i=A("./utils").decode64;n.prototype.hasFabric=function(){return window.html2canvas.svg&&window.html2canvas.svg.fabric?Promise.resolve():Promise.reject(new Error("html2canvas.svg.js is not loaded, cannot render svg"))},n.prototype.inlineFormatting=function(A){return/^data:image\/svg\+xml;base64,/.test(A)?this.decode64(this.removeContentType(A)):this.removeContentType(A)},n.prototype.removeContentType=function(A){return A.replace(/^data:image\/svg\+xml(;base64)?,/,"")},n.prototype.isInline=function(A){return/^data:image\/svg\+xml/i.test(A)},n.prototype.createCanvas=function(A){var t=this;return function(e,n){var r=new window.html2canvas.svg.fabric.StaticCanvas("c");t.image=r.lowerCanvasEl,r.setWidth(n.width).setHeight(n.height).add(window.html2canvas.svg.fabric.util.groupSVGElements(e,n)).renderAll(),A(r.lowerCanvasEl)}},n.prototype.decode64=function(A){return"function"==typeof window.atob?window.atob(A):i(A)},t.exports=n},{"./utils":26,"./xhr":28}],24:[function(A,t,e){function n(A,t){this.src=A,this.image=null;var e=this;this.promise=t?new Promise(function(t,n){e.image=new Image,e.image.onload=t,e.image.onerror=n,e.image.src="data:image/svg+xml,"+(new XMLSerializer).serializeToString(A),!0===e.image.complete&&t(e.image)}):this.hasFabric().then(function(){return new Promise(function(t){window.html2canvas.svg.fabric.parseSVGDocument(A,e.createCanvas.call(e,t))})})}var r=A("./svgcontainer");n.prototype=Object.create(r.prototype),t.exports=n},{"./svgcontainer":23}],25:[function(A,t,e){function n(A,t){i.call(this,A,t)}function r(A,t,e){if(A.length>0)return t+e.toUpperCase()}var i=A("./nodecontainer");(n.prototype=Object.create(i.prototype)).applyTextTransform=function(){this.node.data=this.transform(this.parent.css("textTransform"))},n.prototype.transform=function(A){var t=this.node.data;switch(A){case"lowercase":return t.toLowerCase();case"capitalize":return t.replace(/(^|\s|:|-|\(|\))([a-z])/g,r);case"uppercase":return t.toUpperCase();default:return t}},t.exports=n},{"./nodecontainer":14}],26:[function(A,t,e){e.smallImage=function(){return"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"},e.bind=function(A,t){return function(){return A.apply(t,arguments)}},e.decode64=function(A){var t,e,n,r,i,o,a,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=A.length,l="";for(t=0;t<c;t+=4)i=s.indexOf(A[t])<<2|(e=s.indexOf(A[t+1]))>>4,o=(15&e)<<4|(n=s.indexOf(A[t+2]))>>2,a=(3&n)<<6|(r=s.indexOf(A[t+3])),l+=64===n?String.fromCharCode(i):64===r||-1===r?String.fromCharCode(i,o):String.fromCharCode(i,o,a);return l},e.getBounds=function(A){if(A.getBoundingClientRect){var t=A.getBoundingClientRect(),e=null==A.offsetWidth?t.width:A.offsetWidth;return{top:t.top,bottom:t.bottom||t.top+t.height,right:t.left+e,left:t.left,width:e,height:null==A.offsetHeight?t.height:A.offsetHeight}}return{}},e.offsetBounds=function(A){var t=A.offsetParent?e.offsetBounds(A.offsetParent):{top:0,left:0};return{top:A.offsetTop+t.top,bottom:A.offsetTop+A.offsetHeight+t.top,right:A.offsetLeft+t.left+A.offsetWidth,left:A.offsetLeft+t.left,width:A.offsetWidth,height:A.offsetHeight}},e.parseBackgrounds=function(A){var t,e,n,r,i,o,a,s=[],c=0,l=0,u=function(){t&&('"'===e.substr(0,1)&&(e=e.substr(1,e.length-2)),e&&a.push(e),"-"===t.substr(0,1)&&(r=t.indexOf("-",1)+1)>0&&(n=t.substr(0,r),t=t.substr(r)),s.push({prefix:n,method:t.toLowerCase(),value:i,args:a,image:null})),a=[],t=n=e=i=""};return a=[],t=n=e=i="",A.split("").forEach(function(A){if(!(0===c&&" \r\n\t".indexOf(A)>-1)){switch(A){case'"':o?o===A&&(o=null):o=A;break;case"(":if(o)break;if(0===c)return c=1,void(i+=A);l++;break;case")":if(o)break;if(1===c){if(0===l)return c=0,i+=A,void u();l--}break;case",":if(o)break;if(0===c)return void u();if(1===c&&0===l&&!t.match(/^url$/i))return a.push(e),e="",void(i+=A)}i+=A,0===c?t+=A:e+=A}}),u(),s}},{}],27:[function(A,t,e){function n(A){r.apply(this,arguments),this.type="linear"===A.args[0]?r.TYPES.LINEAR:r.TYPES.RADIAL}var r=A("./gradientcontainer");n.prototype=Object.create(r.prototype),t.exports=n},{"./gradientcontainer":9}],28:[function(A,t,e){t.exports=function(A){return new Promise(function(t,e){var n=new XMLHttpRequest;n.open("GET",A),n.onload=function(){200===n.status?t(n.responseText):e(new Error(n.statusText))},n.onerror=function(){e(new Error("Network Error"))},n.send()})}},{}]},{},[4])(4),function(A){var t;t=function(){function t(A){var t,e,n,r,i,o,a,s,c,l,u,h,d,f,B;for(this.data=A,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},o=null;;){switch(t=this.readUInt32(),l=function(){var A,t;for(t=[],a=A=0;A<4;a=++A)t.push(String.fromCharCode(this.data[this.pos++]));return t}.call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(t);break;case"fcTL":o&&this.animation.frames.push(o),this.pos+=4,o={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},i=this.readUInt16(),r=this.readUInt16()||100,o.delay=1e3*i/r,o.disposeOp=this.data[this.pos++],o.blendOp=this.data[this.pos++],o.data=[];break;case"IDAT":case"fdAT":for("fdAT"===l&&(this.pos+=4,t-=4),A=(null!=o?o.data:void 0)||this.imgData,a=d=0;0<=t?d<t:d>t;a=0<=t?++d:--d)A.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(n=this.palette.length/3,this.transparency.indexed=this.read(t),this.transparency.indexed.length>n)throw new Error("More transparent colors than palette size");if((u=n-this.transparency.indexed.length)>0)for(a=f=0;0<=u?f<u:f>u;a=0<=u?++f:--f)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(t)[0];break;case 2:this.transparency.rgb=this.read(t)}break;case"tEXt":s=(h=this.read(t)).indexOf(0),c=String.fromCharCode.apply(String,h.slice(0,s)),this.text[c]=String.fromCharCode.apply(String,h.slice(s+1));break;case"IEND":return o&&this.animation.frames.push(o),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=4===(B=this.colorType)||6===B,e=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*e,this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=t}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}var e,n,r;t.load=function(A,e,n){var r;return"function"==typeof e&&(n=e),(r=new XMLHttpRequest).open("GET",A,!0),r.responseType="arraybuffer",r.onload=function(){var A,i;return A=new Uint8Array(r.response||r.mozResponseArrayBuffer),i=new t(A),"function"==typeof(null!=e?e.getContext:void 0)&&i.render(e),"function"==typeof n?n(i):void 0},r.send(null)},t.prototype.read=function(A){var t,e;for(e=[],t=0;0<=A?t<A:t>A;0<=A?++t:--t)e.push(this.data[this.pos++]);return e},t.prototype.readUInt32=function(){var A,t,e,n;return A=this.data[this.pos++]<<24,t=this.data[this.pos++]<<16,e=this.data[this.pos++]<<8,n=this.data[this.pos++],A|t|e|n},t.prototype.readUInt16=function(){var A,t;return A=this.data[this.pos++]<<8,t=this.data[this.pos++],A|t},t.prototype.decodePixels=function(A){var t,e,n,r,i,o,a,s,c,u,h,d,f,B,p,g,w,m,Q,C,y,v,U;if(null==A&&(A=this.imgData),0===A.length)return new Uint8Array(0);for(A=(A=new l(A)).getBytes(),g=(d=this.pixelBitlength/8)*this.width,f=new Uint8Array(g*this.height),o=A.length,p=0,B=0,e=0;B<o;){switch(A[B++]){case 0:for(r=Q=0;Q<g;r=Q+=1)f[e++]=A[B++];break;case 1:for(r=C=0;C<g;r=C+=1)t=A[B++],i=r<d?0:f[e-d],f[e++]=(t+i)%256;break;case 2:for(r=y=0;y<g;r=y+=1)t=A[B++],n=(r-r%d)/d,w=p&&f[(p-1)*g+n*d+r%d],f[e++]=(w+t)%256;break;case 3:for(r=v=0;v<g;r=v+=1)t=A[B++],n=(r-r%d)/d,i=r<d?0:f[e-d],w=p&&f[(p-1)*g+n*d+r%d],f[e++]=(t+Math.floor((i+w)/2))%256;break;case 4:for(r=U=0;U<g;r=U+=1)t=A[B++],n=(r-r%d)/d,i=r<d?0:f[e-d],0===p?w=m=0:(w=f[(p-1)*g+n*d+r%d],m=n&&f[(p-1)*g+(n-1)*d+r%d]),a=i+w-m,s=Math.abs(a-i),u=Math.abs(a-w),h=Math.abs(a-m),c=s<=u&&s<=h?i:u<=h?w:m,f[e++]=(t+c)%256;break;default:throw new Error("Invalid filter algorithm: "+A[B-1])}p++}return f},t.prototype.decodePalette=function(){var A,t,e,n,r,i,o,a,s;for(e=this.palette,i=this.transparency.indexed||[],r=new Uint8Array((i.length||0)+e.length),n=0,A=0,t=o=0,a=e.length;o<a;t=o+=3)r[n++]=e[t],r[n++]=e[t+1],r[n++]=e[t+2],r[n++]=null!=(s=i[A++])?s:255;return r},t.prototype.copyToImageData=function(A,t){var e,n,r,i,o,a,s,c,l,u,h;if(n=this.colors,l=null,e=this.hasAlphaChannel,this.palette.length&&(l=null!=(h=this._decodedPalette)?h:this._decodedPalette=this.decodePalette(),n=4,e=!0),r=A.data||A,c=r.length,o=l||t,i=a=0,1===n)for(;i<c;)s=l?4*t[i/4]:a,u=o[s++],r[i++]=u,r[i++]=u,r[i++]=u,r[i++]=e?o[s++]:255,a=s;else for(;i<c;)s=l?4*t[i/4]:a,r[i++]=o[s++],r[i++]=o[s++],r[i++]=o[s++],r[i++]=e?o[s++]:255,a=s},t.prototype.decode=function(){var A;return A=new Uint8Array(this.width*this.height*4),this.copyToImageData(A,this.decodePixels()),A};try{n=A.document.createElement("canvas"),r=n.getContext("2d")}catch(A){return-1}return e=function(A){var t;return r.width=A.width,r.height=A.height,r.clearRect(0,0,A.width,A.height),r.putImageData(A,0,0),t=new Image,t.src=n.toDataURL(),t},t.prototype.decodeFrames=function(A){var t,n,r,i,o,a,s,c;if(this.animation){for(c=[],n=o=0,a=(s=this.animation.frames).length;o<a;n=++o)t=s[n],r=A.createImageData(t.width,t.height),i=this.decodePixels(new Uint8Array(t.data)),this.copyToImageData(r,i),t.imageData=r,c.push(t.image=e(r));return c}},t.prototype.renderFrame=function(A,t){var e,n,r;return n=this.animation.frames,e=n[t],r=n[t-1],0===t&&A.clearRect(0,0,this.width,this.height),1===(null!=r?r.disposeOp:void 0)?A.clearRect(r.xOffset,r.yOffset,r.width,r.height):2===(null!=r?r.disposeOp:void 0)&&A.putImageData(r.imageData,r.xOffset,r.yOffset),0===e.blendOp&&A.clearRect(e.xOffset,e.yOffset,e.width,e.height),A.drawImage(e.image,e.xOffset,e.yOffset)},t.prototype.animate=function(A){var t,e,n,r,i,o,a=this;return e=0,o=this.animation,r=o.numFrames,n=o.frames,i=o.numPlays,(t=function(){var o,s;if(o=e++%r,s=n[o],a.renderFrame(A,o),r>1&&e/r<i)return a.animation._timeout=setTimeout(t,s.delay)})()},t.prototype.stopAnimation=function(){var A;return clearTimeout(null!=(A=this.animation)?A._timeout:void 0)},t.prototype.render=function(A){var t,e;return A._png&&A._png.stopAnimation(),A._png=this,A.width=this.width,A.height=this.height,t=A.getContext("2d"),this.animation?(this.decodeFrames(t),this.animate(t)):(e=t.createImageData(this.width,this.height),this.copyToImageData(e,this.decodePixels()),t.putImageData(e,0,0))},t}(),A.PNG=t}("undefined"!=typeof window&&window||void 0);var c=function(){function A(){this.pos=0,this.bufferLength=0,this.eof=!1,this.buffer=null}return A.prototype={ensureBuffer:function(A){var t=this.buffer,e=t?t.byteLength:0;if(A<e)return t;for(var n=512;n<A;)n<<=1;for(var r=new Uint8Array(n),i=0;i<e;++i)r[i]=t[i];return this.buffer=r},getByte:function(){for(var A=this.pos;this.bufferLength<=A;){if(this.eof)return null;this.readBlock()}return this.buffer[this.pos++]},getBytes:function(A){var t=this.pos;if(A){for(this.ensureBuffer(t+A),n=t+A;!this.eof&&this.bufferLength<n;)this.readBlock();var e=this.bufferLength;n>e&&(n=e)}else{for(;!this.eof;)this.readBlock();var n=this.bufferLength}return this.pos=n,this.buffer.subarray(t,n)},lookChar:function(){for(var A=this.pos;this.bufferLength<=A;){if(this.eof)return null;this.readBlock()}return String.fromCharCode(this.buffer[this.pos])},getChar:function(){for(var A=this.pos;this.bufferLength<=A;){if(this.eof)return null;this.readBlock()}return String.fromCharCode(this.buffer[this.pos++])},makeSubStream:function(A,t,e){for(var n=A+t;this.bufferLength<=n&&!this.eof;)this.readBlock();return new Stream(this.buffer,A,t,e)},skip:function(A){A||(A=1),this.pos+=A},reset:function(){this.pos=0}},A}(),l=function(){function A(A){throw new Error(A)}function t(t){var e=0,n=t[e++],r=t[e++];-1!=n&&-1!=r||A("Invalid header in flate stream"),8!=(15&n)&&A("Unknown compression method in flate stream"),((n<<8)+r)%31!=0&&A("Bad FCHECK in flate stream"),32&r&&A("FDICT bit set in flate stream"),this.bytes=t,this.bytesPos=e,this.codeSize=0,this.codeBuf=0,c.call(this)}if("undefined"!=typeof Uint32Array){var e=new Uint32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),n=new Uint32Array([3,4,5,6,7,8,9,10,65547,65549,65551,65553,131091,131095,131099,131103,196643,196651,196659,196667,262211,262227,262243,262259,327811,327843,327875,327907,258,258,258]),r=new Uint32Array([1,2,3,4,65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]),i=[new Uint32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59e4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,524369,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,524368,524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,459014,524380,524316,589977,459030,524412,524348,590041,459022,524396,524332,590009,524300,524428,524364,590073,459009,524370,524306,524570,459025,524402,524338,590021,459017,524386,524322,589989,524290,524418,524354,590053,459013,524378,524314,589973,459029,524410,524346,590037,459021,524394,524330,590005,524298,524426,524362,590069,459011,524374,524310,524574,459027,524406,524342,590029,459019,524390,524326,589997,524294,524422,524358,590061,459015,524382,524318,589981,459031,524414,524350,590045,459023,524398,524334,590013,524302,524430,524366,590077,459008,524369,524305,524569,459024,524401,524337,590019,459016,524385,524321,589987,524289,524417,524353,590051,459012,524377,524313,589971,459028,524409,524345,590035,459020,524393,524329,590003,524297,524425,524361,590067,459010,524373,524309,524573,459026,524405,524341,590027,459018,524389,524325,589995,524293,524421,524357,590059,459014,524381,524317,589979,459030,524413,524349,590043,459022,524397,524333,590011,524301,524429,524365,590075,459009,524371,524307,524571,459025,524403,524339,590023,459017,524387,524323,589991,524291,524419,524355,590055,459013,524379,524315,589975,459029,524411,524347,590039,459021,524395,524331,590007,524299,524427,524363,590071,459011,524375,524311,524575,459027,524407,524343,590031,459019,524391,524327,589999,524295,524423,524359,590063,459015,524383,524319,589983,459031,524415,524351,590047,459023,524399,524335,590015,524303,524431,524367,590079]),9],o=[new Uint32Array([327680,327696,327688,327704,327684,327700,327692,327708,327682,327698,327690,327706,327686,327702,327694,0,327681,327697,327689,327705,327685,327701,327693,327709,327683,327699,327691,327707,327687,327703,327695,0]),5];return t.prototype=Object.create(c.prototype),t.prototype.getBits=function(t){for(var e,n=this.codeSize,r=this.codeBuf,i=this.bytes,o=this.bytesPos;n<t;)void 0===(e=i[o++])&&A("Bad encoding in flate stream"),r|=e<<n,n+=8;return e=r&(1<<t)-1,this.codeBuf=r>>t,this.codeSize=n-=t,this.bytesPos=o,e},t.prototype.getCode=function(t){for(var e=t[0],n=t[1],r=this.codeSize,i=this.codeBuf,o=this.bytes,a=this.bytesPos;r<n;){var s;void 0===(s=o[a++])&&A("Bad encoding in flate stream"),i|=s<<r,r+=8}var c=e[i&(1<<n)-1],l=c>>16,u=65535&c;return(0==r||r<l||0==l)&&A("Bad encoding in flate stream"),this.codeBuf=i>>l,this.codeSize=r-l,this.bytesPos=a,u},t.prototype.generateHuffmanTable=function(A){for(var t=A.length,e=0,n=0;n<t;++n)A[n]>e&&(e=A[n]);for(var r=1<<e,i=new Uint32Array(r),o=1,a=0,s=2;o<=e;++o,a<<=1,s<<=1)for(var c=0;c<t;++c)if(A[c]==o){for(var l=0,u=a,n=0;n<o;++n)l=l<<1|1&u,u>>=1;for(n=l;n<r;n+=s)i[n]=o<<16|c;++a}return[i,e]},t.prototype.readBlock=function(){function t(A,t,e,n,r){for(var i=A.getBits(e)+n;i-- >0;)t[f++]=r}var a=this.getBits(3);if(1&a&&(this.eof=!0),0!=(a>>=1)){var s,c;if(1==a)s=i,c=o;else if(2==a){for(var l=this.getBits(5)+257,u=this.getBits(5)+1,h=this.getBits(4)+4,d=Array(e.length),f=0;f<h;)d[e[f++]]=this.getBits(3);for(var B=this.generateHuffmanTable(d),p=0,f=0,g=l+u,w=new Array(g);f<g;){var m=this.getCode(B);16==m?t(this,w,2,3,p):17==m?t(this,w,3,3,p=0):18==m?t(this,w,7,11,p=0):w[f++]=p=m}s=this.generateHuffmanTable(w.slice(0,l)),c=this.generateHuffmanTable(w.slice(l,g))}else A("Unknown block type in flate stream");for(var Q=(T=this.buffer)?T.length:0,C=this.bufferLength;;){var y=this.getCode(s);if(y<256)C+1>=Q&&(Q=(T=this.ensureBuffer(C+1)).length),T[C++]=y;else{if(256==y)return void(this.bufferLength=C);var v=(y=n[y-=257])>>16;v>0&&(v=this.getBits(v)),p=(65535&y)+v,y=this.getCode(c),(v=(y=r[y])>>16)>0&&(v=this.getBits(v));var U=(65535&y)+v;C+p>=Q&&(Q=(T=this.ensureBuffer(C+p)).length);for(var F=0;F<p;++F,++C)T[C]=T[C-U]}}}else{var E,b=this.bytes,H=this.bytesPos;void 0===(E=b[H++])&&A("Bad block header in flate stream");var x=E;void 0===(E=b[H++])&&A("Bad block header in flate stream"),x|=E<<8,void 0===(E=b[H++])&&A("Bad block header in flate stream");var _=E;void 0===(E=b[H++])&&A("Bad block header in flate stream"),(_|=E<<8)!=(65535&~x)&&A("Bad uncompressed block length in flate stream"),this.codeBuf=0,this.codeSize=0;var I=this.bufferLength,T=this.ensureBuffer(I+x),S=I+x;this.bufferLength=S;for(var N=I;N<S;++N){if(void 0===(E=b[H++])){this.eof=!0;break}T[N]=E}this.bytesPos=H}},t}}();return function(A){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";void 0===A.btoa&&(A.btoa=function(A){var e,n,r,i,o,a=0,s=0,c="",l=[];if(!A)return A;do{e=(o=A.charCodeAt(a++)<<16|A.charCodeAt(a++)<<8|A.charCodeAt(a++))>>18&63,n=o>>12&63,r=o>>6&63,i=63&o,l[s++]=t.charAt(e)+t.charAt(n)+t.charAt(r)+t.charAt(i)}while(a<A.length);c=l.join("");var u=A.length%3;return(u?c.slice(0,u-3):c)+"===".slice(u||3)}),void 0===A.atob&&(A.atob=function(A){var e,n,r,i,o,a,s=0,c=0,l=[];if(!A)return A;A+="";do{e=(a=t.indexOf(A.charAt(s++))<<18|t.indexOf(A.charAt(s++))<<12|(i=t.indexOf(A.charAt(s++)))<<6|(o=t.indexOf(A.charAt(s++))))>>16&255,n=a>>8&255,r=255&a,l[c++]=64==i?String.fromCharCode(e):64==o?String.fromCharCode(e,n):String.fromCharCode(e,n,r)}while(s<A.length);return l.join("")}),Array.prototype.map||(Array.prototype.map=function(A){if(void 0===this||null===this||"function"!=typeof A)throw new TypeError;for(var t=Object(this),e=t.length>>>0,n=new Array(e),r=arguments.length>1?arguments[1]:void 0,i=0;i<e;i++)i in t&&(n[i]=A.call(r,t[i],i,t));return n}),Array.isArray||(Array.isArray=function(A){return"[object Array]"===Object.prototype.toString.call(A)}),Array.prototype.forEach||(Array.prototype.forEach=function(A,t){if(void 0===this||null===this||"function"!=typeof A)throw new TypeError;for(var e=Object(this),n=e.length>>>0,r=0;r<n;r++)r in e&&A.call(t,e[r],r,e)}),Object.keys||(Object.keys=function(){var A=Object.prototype.hasOwnProperty,t=!{toString:null}.propertyIsEnumerable("toString"),e=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],n=e.length;return function(r){if("object"!=typeof r&&("function"!=typeof r||null===r))throw new TypeError;var i,o,a=[];for(i in r)A.call(r,i)&&a.push(i);if(t)for(o=0;o<n;o++)A.call(r,e[o])&&a.push(e[o]);return a}}()),String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")}),String.prototype.trimLeft||(String.prototype.trimLeft=function(){return this.replace(/^\s+/g,"")}),String.prototype.trimRight||(String.prototype.trimRight=function(){return this.replace(/\s+$/g,"")})}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||void 0),r}()})),i=(r.saveAs,e(function(A,t){Object.defineProperty(t,"__esModule",{value:!0});t.PATH={VECTOR:0,BEZIER_CURVE:1,CIRCLE:2}}));t(i);i.PATH;var o=e(function(A,t){Object.defineProperty(t,"__esModule",{value:!0});var e=function(){return function(A,t){if(Array.isArray(A))return A;if(Symbol.iterator in Object(A))return function(A,t){var e=[],n=!0,r=!1,i=void 0;try{for(var o,a=A[Symbol.iterator]();!(n=(o=a.next()).done)&&(e.push(o.value),!t||e.length!==t);n=!0);}catch(A){r=!0,i=A}finally{try{!n&&a.return&&a.return()}finally{if(r)throw i}}return e}(A,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),n=function(){function A(A,t){for(var e=0;e<t.length;e++){var n=t[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(A,n.key,n)}}return function(t,e,n){return e&&A(t.prototype,e),n&&A(t,n),t}}(),r=/^#([a-f0-9]{3})$/i,i=function(A){var t=A.match(r);return!!t&&[parseInt(t[1][0]+t[1][0],16),parseInt(t[1][1]+t[1][1],16),parseInt(t[1][2]+t[1][2],16),null]},o=/^#([a-f0-9]{6})$/i,a=function(A){var t=A.match(o);return!!t&&[parseInt(t[1].substring(0,2),16),parseInt(t[1].substring(2,4),16),parseInt(t[1].substring(4,6),16),null]},s=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/,c=function(A){var t=A.match(s);return!!t&&[Number(t[1]),Number(t[2]),Number(t[3]),null]},l=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d?\.?\d+)\s*\)$/,u=function(A){var t=A.match(l);return!!(t&&t.length>4)&&[Number(t[1]),Number(t[2]),Number(t[3]),Number(t[4])]},h=function(A){return[Math.min(A[0],255),Math.min(A[1],255),Math.min(A[2],255),A.length>3?A[3]:null]},d=function(A){var t=B[A.toLowerCase()];return t||!1},f=function(){function A(t){!function(A,t){if(!(A instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A);var n=Array.isArray(t)?h(t):i(t)||c(t)||u(t)||d(t)||a(t)||[0,0,0,null],r=e(n,4),o=r[0],s=r[1],l=r[2],f=r[3];this.r=o,this.g=s,this.b=l,this.a=f}return n(A,[{key:"isTransparent",value:function(){return 0===this.a}},{key:"toString",value:function(){return null!==this.a&&1!==this.a?"rgba("+this.r+","+this.g+","+this.b+","+this.a+")":"rgb("+this.r+","+this.g+","+this.b+")"}}]),A}();t.default=f;var B={transparent:[0,0,0,0],aliceblue:[240,248,255,null],antiquewhite:[250,235,215,null],aqua:[0,255,255,null],aquamarine:[127,255,212,null],azure:[240,255,255,null],beige:[245,245,220,null],bisque:[255,228,196,null],black:[0,0,0,null],blanchedalmond:[255,235,205,null],blue:[0,0,255,null],blueviolet:[138,43,226,null],brown:[165,42,42,null],burlywood:[222,184,135,null],cadetblue:[95,158,160,null],chartreuse:[127,255,0,null],chocolate:[210,105,30,null],coral:[255,127,80,null],cornflowerblue:[100,149,237,null],cornsilk:[255,248,220,null],crimson:[220,20,60,null],cyan:[0,255,255,null],darkblue:[0,0,139,null],darkcyan:[0,139,139,null],darkgoldenrod:[184,134,11,null],darkgray:[169,169,169,null],darkgreen:[0,100,0,null],darkgrey:[169,169,169,null],darkkhaki:[189,183,107,null],darkmagenta:[139,0,139,null],darkolivegreen:[85,107,47,null],darkorange:[255,140,0,null],darkorchid:[153,50,204,null],darkred:[139,0,0,null],darksalmon:[233,150,122,null],darkseagreen:[143,188,143,null],darkslateblue:[72,61,139,null],darkslategray:[47,79,79,null],darkslategrey:[47,79,79,null],darkturquoise:[0,206,209,null],darkviolet:[148,0,211,null],deeppink:[255,20,147,null],deepskyblue:[0,191,255,null],dimgray:[105,105,105,null],dimgrey:[105,105,105,null],dodgerblue:[30,144,255,null],firebrick:[178,34,34,null],floralwhite:[255,250,240,null],forestgreen:[34,139,34,null],fuchsia:[255,0,255,null],gainsboro:[220,220,220,null],ghostwhite:[248,248,255,null],gold:[255,215,0,null],goldenrod:[218,165,32,null],gray:[128,128,128,null],green:[0,128,0,null],greenyellow:[173,255,47,null],grey:[128,128,128,null],honeydew:[240,255,240,null],hotpink:[255,105,180,null],indianred:[205,92,92,null],indigo:[75,0,130,null],ivory:[255,255,240,null],khaki:[240,230,140,null],lavender:[230,230,250,null],lavenderblush:[255,240,245,null],lawngreen:[124,252,0,null],lemonchiffon:[255,250,205,null],lightblue:[173,216,230,null],lightcoral:[240,128,128,null],lightcyan:[224,255,255,null],lightgoldenrodyellow:[250,250,210,null],lightgray:[211,211,211,null],lightgreen:[144,238,144,null],lightgrey:[211,211,211,null],lightpink:[255,182,193,null],lightsalmon:[255,160,122,null],lightseagreen:[32,178,170,null],lightskyblue:[135,206,250,null],lightslategray:[119,136,153,null],lightslategrey:[119,136,153,null],lightsteelblue:[176,196,222,null],lightyellow:[255,255,224,null],lime:[0,255,0,null],limegreen:[50,205,50,null],linen:[250,240,230,null],magenta:[255,0,255,null],maroon:[128,0,0,null],mediumaquamarine:[102,205,170,null],mediumblue:[0,0,205,null],mediumorchid:[186,85,211,null],mediumpurple:[147,112,219,null],mediumseagreen:[60,179,113,null],mediumslateblue:[123,104,238,null],mediumspringgreen:[0,250,154,null],mediumturquoise:[72,209,204,null],mediumvioletred:[199,21,133,null],midnightblue:[25,25,112,null],mintcream:[245,255,250,null],mistyrose:[255,228,225,null],moccasin:[255,228,181,null],navajowhite:[255,222,173,null],navy:[0,0,128,null],oldlace:[253,245,230,null],olive:[128,128,0,null],olivedrab:[107,142,35,null],orange:[255,165,0,null],orangered:[255,69,0,null],orchid:[218,112,214,null],palegoldenrod:[238,232,170,null],palegreen:[152,251,152,null],paleturquoise:[175,238,238,null],palevioletred:[219,112,147,null],papayawhip:[255,239,213,null],peachpuff:[255,218,185,null],peru:[205,133,63,null],pink:[255,192,203,null],plum:[221,160,221,null],powderblue:[176,224,230,null],purple:[128,0,128,null],rebeccapurple:[102,51,153,null],red:[255,0,0,null],rosybrown:[188,143,143,null],royalblue:[65,105,225,null],saddlebrown:[139,69,19,null],salmon:[250,128,114,null],sandybrown:[244,164,96,null],seagreen:[46,139,87,null],seashell:[255,245,238,null],sienna:[160,82,45,null],silver:[192,192,192,null],skyblue:[135,206,235,null],slateblue:[106,90,205,null],slategray:[112,128,144,null],slategrey:[112,128,144,null],snow:[255,250,250,null],springgreen:[0,255,127,null],steelblue:[70,130,180,null],tan:[210,180,140,null],teal:[0,128,128,null],thistle:[216,191,216,null],tomato:[255,99,71,null],turquoise:[64,224,208,null],violet:[238,130,238,null],wheat:[245,222,179,null],white:[255,255,255,null],whitesmoke:[245,245,245,null],yellow:[255,255,0,null],yellowgreen:[154,205,50,null]};t.TRANSPARENT=new f([0,0,0,0])});t(o);o.TRANSPARENT;var a=e(function(A,t){Object.defineProperty(t,"__esModule",{value:!0}),t.parseTextDecoration=t.TEXT_DECORATION_LINE=t.TEXT_DECORATION=t.TEXT_DECORATION_STYLE=void 0;var e=function(A){return A&&A.__esModule?A:{default:A}}(o),n=t.TEXT_DECORATION_STYLE={SOLID:0,DOUBLE:1,DOTTED:2,DASHED:3,WAVY:4},r=t.TEXT_DECORATION={NONE:null},i=t.TEXT_DECORATION_LINE={UNDERLINE:1,OVERLINE:2,LINE_THROUGH:3,BLINK:4},a=function(A){switch(A){case"underline":return i.UNDERLINE;case"overline":return i.OVERLINE;case"line-through":return i.LINE_THROUGH}return i.BLINK};t.parseTextDecoration=function(A){var t=function(A){return"none"===A?null:A.split(" ").map(a)}(A.textDecorationLine?A.textDecorationLine:A.textDecoration);if(null===t)return r.NONE;return{textDecorationLine:t,textDecorationColor:A.textDecorationColor?new e.default(A.textDecorationColor):null,textDecorationStyle:function(A){switch(A){case"double":return n.DOUBLE;case"dotted":return n.DOTTED;case"dashed":return n.DASHED;case"wavy":return n.WAVY}return n.SOLID}(A.textDecorationStyle)}}});t(a);a.parseTextDecoration,a.TEXT_DECORATION_LINE,a.TEXT_DECORATION,a.TEXT_DECORATION_STYLE;var s=e(function(A,t){Object.defineProperty(t,"__esModule",{value:!0});var e=function(){function A(A,t){for(var e=0;e<t.length;e++){var n=t[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(A,n.key,n)}}return function(t,e,n){return e&&A(t.prototype,e),n&&A(t,n),t}}(),n=function(A,t){var e=Math.max.apply(null,A.colorStops.map(function(A){return A.stop})),n=1/Math.max(1,e);A.colorStops.forEach(function(A){t.addColorStop(n*A.stop,A.color.toString())})},r=function(){function A(t){!function(A,t){if(!(A instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),this.canvas=t||document.createElement("canvas")}return e(A,[{key:"render",value:function(A){this.ctx=this.canvas.getContext("2d"),this.options=A,this.canvas.width=Math.floor(A.width*A.scale),this.canvas.height=Math.floor(A.height*A.scale),this.canvas.style.width=A.width+"px",this.canvas.style.height=A.height+"px",this.ctx.scale(this.options.scale,this.options.scale),this.ctx.translate(-A.x,-A.y),this.ctx.textBaseline="bottom",A.logger.log("Canvas renderer initialized ("+A.width+"x"+A.height+" at "+A.x+","+A.y+") with scale "+this.options.scale)}},{key:"clip",value:function(A,t){var e=this;A.length&&(this.ctx.save(),A.forEach(function(A){e.path(A),e.ctx.clip()})),t(),A.length&&this.ctx.restore()}},{key:"drawImage",value:function(A,t,e){this.ctx.drawImage(A,t.left,t.top,t.width,t.height,e.left,e.top,e.width,e.height)}},{key:"drawShape",value:function(A,t){this.path(A),this.ctx.fillStyle=t.toString(),this.ctx.fill()}},{key:"fill",value:function(A){this.ctx.fillStyle=A.toString(),this.ctx.fill()}},{key:"getTarget",value:function(){return this.canvas.getContext("2d").setTransform(1,0,0,1,0,0),Promise.resolve(this.canvas)}},{key:"path",value:function(A){var t=this;this.ctx.beginPath(),Array.isArray(A)?A.forEach(function(A,e){var n=A.type===i.PATH.VECTOR?A:A.start;0===e?t.ctx.moveTo(n.x,n.y):t.ctx.lineTo(n.x,n.y),A.type===i.PATH.BEZIER_CURVE&&t.ctx.bezierCurveTo(A.startControl.x,A.startControl.y,A.endControl.x,A.endControl.y,A.end.x,A.end.y)}):this.ctx.arc(A.x+A.radius,A.y+A.radius,A.radius,0,2*Math.PI,!0),this.ctx.closePath()}},{key:"rectangle",value:function(A,t,e,n,r){this.ctx.fillStyle=r.toString(),this.ctx.fillRect(A,t,e,n)}},{key:"renderLinearGradient",value:function(A,t){var e=this.ctx.createLinearGradient(A.left+t.direction.x1,A.top+t.direction.y1,A.left+t.direction.x0,A.top+t.direction.y0);n(t,e),this.ctx.fillStyle=e,this.ctx.fillRect(A.left,A.top,A.width,A.height)}},{key:"renderRadialGradient",value:function(A,t){var e=this,r=A.left+t.center.x,i=A.top+t.center.y,o=this.ctx.createRadialGradient(r,i,0,r,i,t.radius.x);if(o)if(n(t,o),this.ctx.fillStyle=o,t.radius.x!==t.radius.y){var a=A.left+.5*A.width,s=A.top+.5*A.height,c=t.radius.y/t.radius.x,l=1/c;this.transform(a,s,[1,0,0,c,0,0],function(){return e.ctx.fillRect(A.left,l*(A.top-s)+s,A.width,A.height*l)})}else this.ctx.fillRect(A.left,A.top,A.width,A.height)}},{key:"renderRepeat",value:function(A,t,e,n,r){this.path(A),this.ctx.fillStyle=this.ctx.createPattern(this.resizeImage(t,e),"repeat"),this.ctx.translate(n,r),this.ctx.fill(),this.ctx.translate(-n,-r)}},{key:"renderTextNode",value:function(A,t,e,n,r){var i=this;this.ctx.font=[e.fontStyle,e.fontVariant,e.fontWeight,e.fontSize,e.fontFamily].join(" "),A.forEach(function(A){if(i.ctx.fillStyle=t.toString(),r&&A.text.trim().length?r.slice(0).reverse().forEach(function(t){i.ctx.shadowColor=t.color.toString(),i.ctx.shadowOffsetX=t.offsetX*i.options.scale,i.ctx.shadowOffsetY=t.offsetY*i.options.scale,i.ctx.shadowBlur=t.blur,i.ctx.fillText(A.text,A.bounds.left,A.bounds.top+A.bounds.height)}):i.ctx.fillText(A.text,A.bounds.left,A.bounds.top+A.bounds.height),null!==n){var o=n.textDecorationColor||t;n.textDecorationLine.forEach(function(t){switch(t){case a.TEXT_DECORATION_LINE.UNDERLINE:var n=i.options.fontMetrics.getMetrics(e).baseline;i.rectangle(A.bounds.left,Math.round(A.bounds.top+n),A.bounds.width,1,o);break;case a.TEXT_DECORATION_LINE.OVERLINE:i.rectangle(A.bounds.left,Math.round(A.bounds.top),A.bounds.width,1,o);break;case a.TEXT_DECORATION_LINE.LINE_THROUGH:var r=i.options.fontMetrics.getMetrics(e).middle;i.rectangle(A.bounds.left,Math.ceil(A.bounds.top+r),A.bounds.width,1,o)}})}})}},{key:"resizeImage",value:function(A,t){if(A.width===t.width&&A.height===t.height)return A;var e=this.canvas.ownerDocument.createElement("canvas");e.width=t.width,e.height=t.height;return e.getContext("2d").drawImage(A,0,0,A.width,A.height,0,0,t.width,t.height),e}},{key:"setOpacity",value:function(A){this.ctx.globalAlpha=A}},{key:"transform",value:function(A,t,e,n){this.ctx.save(),this.ctx.translate(A,t),this.ctx.transform(e[0],e[1],e[2],e[3],e[4],e[5]),this.ctx.translate(-A,-t),n(),this.ctx.restore()}}]),A}();t.default=r});t(s);var c=e(function(A,t){Object.defineProperty(t,"__esModule",{value:!0});var e=function(){function A(A,t){for(var e=0;e<t.length;e++){var n=t[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(A,n.key,n)}}return function(t,e,n){return e&&A(t.prototype,e),n&&A(t,n),t}}(),n=function(){function A(t,e,n){!function(A,t){if(!(A instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),this.enabled="undefined"!=typeof window&&t,this.start=n||Date.now(),this.id=e}return e(A,[{key:"child",value:function(t){return new A(this.enabled,t,this.start)}},{key:"log",value:function(){if(this.enabled&&window.console&&window.console.log){for(var A=arguments.length,t=Array(A),e=0;e<A;e++)t[e]=arguments[e];Function.prototype.bind.call(window.console.log,window.console).apply(window.console,[Date.now()-this.start+"ms",this.id?"html2canvas ("+this.id+"):":"html2canvas:"].concat([].slice.call(t,0)))}}},{key:"error",value:function(){if(this.enabled&&window.console&&window.console.error){for(var A=arguments.length,t=Array(A),e=0;e<A;e++)t[e]=arguments[e];Function.prototype.bind.call(window.console.error,window.console).apply(window.console,[Date.now()-this.start+"ms",this.id?"html2canvas ("+this.id+"):":"html2canvas:"].concat([].slice.call(t,0)))}}}]),A}();t.default=n});t(c);var l=e(function(A,t){Object.defineProperty(t,"__esModule",{value:!0});t.contains=function(A,t){return 0!=(A&t)},t.distance=function(A,t){return Math.sqrt(A*A+t*t)},t.copyCSSStyles=function(A,t){for(var e=A.length-1;e>=0;e--){var n=A.item(e);"content"!==n&&t.style.setProperty(n,A.getPropertyValue(n))}return t},t.SMALL_IMAGE="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"});t(l);l.contains,l.distance,l.copyCSSStyles,l.SMALL_IMAGE;var u=e(function(A,t){Object.defineProperty(t,"__esModule",{value:!0}),t.calculateLengthFromValueWithUnit=t.LENGTH_TYPE=void 0;var e=function(){function A(A,t){for(var e=0;e<t.length;e++){var n=t[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(A,n.key,n)}}return function(t,e,n){return e&&A(t.prototype,e),n&&A(t,n),t}}(),n=(function(A){A&&A.__esModule}(G),t.LENGTH_TYPE={PX:0,PERCENTAGE:1}),r=function(){function A(t){!function(A,t){if(!(A instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),this.type="%"===t.substr(t.length-1)?n.PERCENTAGE:n.PX;var e=parseFloat(t);this.value=isNaN(e)?0:e}return e(A,[{key:"isPercentage",value:function(){return this.type===n.PERCENTAGE}},{key:"getAbsoluteValue",value:function(A){return this.isPercentage()?A*(this.value/100):this.value}}],[{key:"create",value:function(t){return new A(t)}}]),A}();t.default=r;t.calculateLengthFromValueWithUnit=function(A,t,e){switch(e){case"px":case"%":return new r(t+e);case"em":case"rem":var n=new r(t);return n.value*="em"===e?parseFloat(A.style.font.fontSize):function A(t){var e=t.parent;return e?A(e):parseFloat(t.style.font.fontSize)}(A),n;default:return new r("0")}}});t(u);u.calculateLengthFromValueWithUnit,u.LENGTH_TYPE;var h=e(function(A,t){Object.defineProperty(t,"__esModule",{value:!0});t.default=function A(t,e){!function(t,e){if(!(t instanceof A))throw new TypeError("Cannot call a class as a function")}(this),this.width=t,this.height=e}});t(h);var d=e(function(A,t){Object.defineProperty(t,"__esModule",{value:!0});t.default=function A(t,e){!function(t,e){if(!(t instanceof A))throw new TypeError("Cannot call a class as a function")}(this),this.type=i.PATH.VECTOR,this.x=t,this.y=e}});t(d);var f=e(function(A,t){Object.defineProperty(t,"__esModule",{value:!0});var e=function(){function A(A,t){for(var e=0;e<t.length;e++){var n=t[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(A,n.key,n)}}return function(t,e,n){return e&&A(t.prototype,e),n&&A(t,n),t}}(),n=function(A){return A&&A.__esModule?A:{default:A}}(d),r=function(A,t,e){return new n.default(A.x+(t.x-A.x)*e,A.y+(t.y-A.y)*e)},o=function(){function A(t,e,n,r){!function(A,t){if(!(A instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),this.type=i.PATH.BEZIER_CURVE,this.start=t,this.startControl=e,this.endControl=n,this.end=r}return e(A,[{key:"subdivide",value:function(t,e){var n=r(this.start,this.startControl,t),i=r(this.startControl,this.endControl,t),o=r(this.endControl,this.end,t),a=r(n,i,t),s=r(i,o,t),c=r(a,s,t);return e?new A(this.start,n,a,c):new A(c,s,o,this.end)}},{key:"reverse",value:function(){return new A(this.end,this.endControl,this.startControl,this.start)}}]),A}();t.default=o});t(f);var B=e(function(A,t){function e(A){return A&&A.__esModule?A:{default:A}}Object.defineProperty(t,"__esModule",{value:!0}),t.parseBoundCurves=t.calculatePaddingBoxPath=t.calculateBorderBoxPath=t.parsePathForBorder=t.parseDocumentSize=t.calculateContentBox=t.calculatePaddingBox=t.parseBounds=t.Bounds=void 0;var n=function(){function A(A,t){for(var e=0;e<t.length;e++){var n=t[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(A,n.key,n)}}return function(t,e,n){return e&&A(t.prototype,e),n&&A(t,n),t}}(),r=e(d),i=e(f),o=t.Bounds=function(){function A(t,e,n,r){!function(A,t){if(!(A instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),this.left=t,this.top=e,this.width=n,this.height=r}return n(A,null,[{key:"fromClientRect",value:function(t,e,n){return new A(t.left+e,t.top+n,t.width,t.height)}}]),A}(),a=(t.parseBounds=function(A,t,e){return o.fromClientRect(A.getBoundingClientRect(),t,e)},t.calculatePaddingBox=function(A,t){return new o(A.left+t[3].borderWidth,A.top+t[0].borderWidth,A.width-(t[1].borderWidth+t[3].borderWidth),A.height-(t[0].borderWidth+t[2].borderWidth))},t.calculateContentBox=function(A,t,e){var n=t[0].value,r=t[1].value,i=t[2].value,a=t[3].value;return new o(A.left+a+e[3].borderWidth,A.top+n+e[0].borderWidth,A.width-(e[1].borderWidth+e[3].borderWidth+a+r),A.height-(e[0].borderWidth+e[2].borderWidth+n+i))},t.parseDocumentSize=function(A){var t=A.body,e=A.documentElement;if(!t||!e)throw new Error("");var n=Math.max(Math.max(t.scrollWidth,e.scrollWidth),Math.max(t.offsetWidth,e.offsetWidth),Math.max(t.clientWidth,e.clientWidth)),r=Math.max(Math.max(t.scrollHeight,e.scrollHeight),Math.max(t.offsetHeight,e.offsetHeight),Math.max(t.clientHeight,e.clientHeight));return new o(0,0,n,r)},t.parsePathForBorder=function(A,t){switch(t){case 0:return a(A.topLeftOuter,A.topLeftInner,A.topRightOuter,A.topRightInner);case 1:return a(A.topRightOuter,A.topRightInner,A.bottomRightOuter,A.bottomRightInner);case 2:return a(A.bottomRightOuter,A.bottomRightInner,A.bottomLeftOuter,A.bottomLeftInner);case 3:default:return a(A.bottomLeftOuter,A.bottomLeftInner,A.topLeftOuter,A.topLeftInner)}},function(A,t,e,n){var r=[];return A instanceof i.default?r.push(A.subdivide(.5,!1)):r.push(A),e instanceof i.default?r.push(e.subdivide(.5,!0)):r.push(e),n instanceof i.default?r.push(n.subdivide(.5,!0).reverse()):r.push(n),t instanceof i.default?r.push(t.subdivide(.5,!1).reverse()):r.push(t),r}),s=(t.calculateBorderBoxPath=function(A){return[A.topLeftOuter,A.topRightOuter,A.bottomRightOuter,A.bottomLeftOuter]},t.calculatePaddingBoxPath=function(A){return[A.topLeftInner,A.topRightInner,A.bottomRightInner,A.bottomLeftInner]},t.parseBoundCurves=function(A,t,e){var n=e[s.TOP_LEFT][0].getAbsoluteValue(A.width),i=e[s.TOP_LEFT][1].getAbsoluteValue(A.height),o=e[s.TOP_RIGHT][0].getAbsoluteValue(A.width),a=e[s.TOP_RIGHT][1].getAbsoluteValue(A.height),l=e[s.BOTTOM_RIGHT][0].getAbsoluteValue(A.width),u=e[s.BOTTOM_RIGHT][1].getAbsoluteValue(A.height),h=e[s.BOTTOM_LEFT][0].getAbsoluteValue(A.width),d=e[s.BOTTOM_LEFT][1].getAbsoluteValue(A.height),f=[];f.push((n+o)/A.width),f.push((h+l)/A.width),f.push((i+d)/A.height),f.push((a+u)/A.height);var B=Math.max.apply(Math,f);B>1&&(n/=B,i/=B,o/=B,a/=B,l/=B,u/=B,h/=B,d/=B);var p=A.width-o,g=A.height-u,w=A.width-l,m=A.height-d;return{topLeftOuter:n>0||i>0?c(A.left,A.top,n,i,s.TOP_LEFT):new r.default(A.left,A.top),topLeftInner:n>0||i>0?c(A.left+t[3].borderWidth,A.top+t[0].borderWidth,Math.max(0,n-t[3].borderWidth),Math.max(0,i-t[0].borderWidth),s.TOP_LEFT):new r.default(A.left+t[3].borderWidth,A.top+t[0].borderWidth),topRightOuter:o>0||a>0?c(A.left+p,A.top,o,a,s.TOP_RIGHT):new r.default(A.left+A.width,A.top),topRightInner:o>0||a>0?c(A.left+Math.min(p,A.width+t[3].borderWidth),A.top+t[0].borderWidth,p>A.width+t[3].borderWidth?0:o-t[3].borderWidth,a-t[0].borderWidth,s.TOP_RIGHT):new r.default(A.left+A.width-t[1].borderWidth,A.top+t[0].borderWidth),bottomRightOuter:l>0||u>0?c(A.left+w,A.top+g,l,u,s.BOTTOM_RIGHT):new r.default(A.left+A.width,A.top+A.height),bottomRightInner:l>0||u>0?c(A.left+Math.min(w,A.width-t[3].borderWidth),A.top+Math.min(g,A.height+t[0].borderWidth),Math.max(0,l-t[1].borderWidth),u-t[2].borderWidth,s.BOTTOM_RIGHT):new r.default(A.left+A.width-t[1].borderWidth,A.top+A.height-t[2].borderWidth),bottomLeftOuter:h>0||d>0?c(A.left,A.top+m,h,d,s.BOTTOM_LEFT):new r.default(A.left,A.top+A.height),bottomLeftInner:h>0||d>0?c(A.left+t[3].borderWidth,A.top+m,Math.max(0,h-t[3].borderWidth),d-t[2].borderWidth,s.BOTTOM_LEFT):new r.default(A.left+t[3].borderWidth,A.top+A.height-t[2].borderWidth)}},{TOP_LEFT:0,TOP_RIGHT:1,BOTTOM_RIGHT:2,BOTTOM_LEFT:3}),c=function(A,t,e,n,o){var a=(Math.sqrt(2)-1)/3*4,c=e*a,l=n*a,u=A+e,h=t+n;switch(o){case s.TOP_LEFT:return new i.default(new r.default(A,h),new r.default(A,h-l),new r.default(u-c,t),new r.default(u,t));case s.TOP_RIGHT:return new i.default(new r.default(A,t),new r.default(A+c,t),new r.default(u,h-l),new r.default(u,h));case s.BOTTOM_RIGHT:return new i.default(new r.default(u,t),new r.default(u,t+l),new r.default(A+c,h),new r.default(A,h));case s.BOTTOM_LEFT:default:return new i.default(new r.default(u,h),new r.default(u-c,h),new r.default(A,t+l),new r.default(A,t))}}});t(B);B.parseBoundCurves,B.calculatePaddingBoxPath,B.calculateBorderBoxPath,B.parsePathForBorder,B.parseDocumentSize,B.calculateContentBox,B.calculatePaddingBox,B.parseBounds,B.Bounds;var p=e(function(A,t){Object.defineProperty(t,"__esModule",{value:!0}),t.parsePadding=t.PADDING_SIDES=void 0;var e=function(A){return A&&A.__esModule?A:{default:A}}(u),n=(t.PADDING_SIDES={TOP:0,RIGHT:1,BOTTOM:2,LEFT:3},["top","right","bottom","left"]);t.parsePadding=function(A){return n.map(function(t){return new e.default(A.getPropertyValue("padding-"+t))})}});t(p);p.parsePadding,p.PADDING_SIDES;var g=e(function(A,t){function e(A){return A&&A.__esModule?A:{default:A}}Object.defineProperty(t,"__esModule",{value:!0}),t.parseBackgroundImage=t.parseBackground=t.calculateBackgroundRepeatPath=t.calculateBackgroundPosition=t.calculateBackgroungPositioningArea=t.calculateBackgroungPaintingArea=t.calculateGradientBackgroundSize=t.calculateBackgroundSize=t.BACKGROUND_ORIGIN=t.BACKGROUND_CLIP=t.BACKGROUND_SIZE=t.BACKGROUND_REPEAT=void 0;var n=e(o),r=e(u),i=e(h),a=e(d),s=t.BACKGROUND_REPEAT={REPEAT:0,NO_REPEAT:1,REPEAT_X:2,REPEAT_Y:3},c=t.BACKGROUND_SIZE={AUTO:0,CONTAIN:1,COVER:2,LENGTH:3},l=t.BACKGROUND_CLIP={BORDER_BOX:0,PADDING_BOX:1,CONTENT_BOX:2},f=t.BACKGROUND_ORIGIN=l,g=function A(t){switch(function(A,t){if(!(A instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),t){case"contain":this.size=c.CONTAIN;break;case"cover":this.size=c.COVER;break;case"auto":this.size=c.AUTO;break;default:this.value=new r.default(t)}},w=(t.calculateBackgroundSize=function(A,t,e){var n=0,r=0,o=A.size;if(o[0].size===c.CONTAIN||o[0].size===c.COVER){var a=e.width/e.height,s=t.width/t.height;return a<s!=(o[0].size===c.COVER)?new i.default(e.width,e.width/s):new i.default(e.height*s,e.height)}return o[0].value&&(n=o[0].value.getAbsoluteValue(e.width)),o[0].size===c.AUTO&&o[1].size===c.AUTO?r=t.height:o[1].size===c.AUTO?r=n/t.width*t.height:o[1].value&&(r=o[1].value.getAbsoluteValue(e.height)),o[0].size===c.AUTO&&(n=r/t.height*t.width),new i.default(n,r)},t.calculateGradientBackgroundSize=function(A,t){var e=A.size,n=e[0].value?e[0].value.getAbsoluteValue(t.width):t.width,r=e[1].value?e[1].value.getAbsoluteValue(t.height):e[0].value?n:t.height;return new i.default(n,r)},new g("auto")),m=(t.calculateBackgroungPaintingArea=function(A,t){switch(t){case l.BORDER_BOX:return(0,B.calculateBorderBoxPath)(A);case l.PADDING_BOX:default:return(0,B.calculatePaddingBoxPath)(A)}},t.calculateBackgroungPositioningArea=function(A,t,e,n){var r=(0,B.calculatePaddingBox)(t,n);switch(A){case f.BORDER_BOX:return t;case f.CONTENT_BOX:var i=e[p.PADDING_SIDES.LEFT].getAbsoluteValue(t.width),o=e[p.PADDING_SIDES.RIGHT].getAbsoluteValue(t.width),a=e[p.PADDING_SIDES.TOP].getAbsoluteValue(t.width),s=e[p.PADDING_SIDES.BOTTOM].getAbsoluteValue(t.width);return new B.Bounds(r.left+i,r.top+a,r.width-i-o,r.height-a-s);case f.PADDING_BOX:default:return r}},t.calculateBackgroundPosition=function(A,t,e){return new a.default(A[0].getAbsoluteValue(e.width-t.width),A[1].getAbsoluteValue(e.height-t.height))},t.calculateBackgroundRepeatPath=function(A,t,e,n,r){switch(A.repeat){case s.REPEAT_X:return[new a.default(Math.round(r.left),Math.round(n.top+t.y)),new a.default(Math.round(r.left+r.width),Math.round(n.top+t.y)),new a.default(Math.round(r.left+r.width),Math.round(e.height+n.top+t.y)),new a.default(Math.round(r.left),Math.round(e.height+n.top+t.y))];case s.REPEAT_Y:return[new a.default(Math.round(n.left+t.x),Math.round(r.top)),new a.default(Math.round(n.left+t.x+e.width),Math.round(r.top)),new a.default(Math.round(n.left+t.x+e.width),Math.round(r.height+r.top)),new a.default(Math.round(n.left+t.x),Math.round(r.height+r.top))];case s.NO_REPEAT:return[new a.default(Math.round(n.left+t.x),Math.round(n.top+t.y)),new a.default(Math.round(n.left+t.x+e.width),Math.round(n.top+t.y)),new a.default(Math.round(n.left+t.x+e.width),Math.round(n.top+t.y+e.height)),new a.default(Math.round(n.left+t.x),Math.round(n.top+t.y+e.height))];default:return[new a.default(Math.round(r.left),Math.round(r.top)),new a.default(Math.round(r.left+r.width),Math.round(r.top)),new a.default(Math.round(r.left+r.width),Math.round(r.height+r.top)),new a.default(Math.round(r.left),Math.round(r.height+r.top))]}},t.parseBackground=function(A,t){return{backgroundColor:new n.default(A.backgroundColor),backgroundImage:C(A,t),backgroundClip:m(A.backgroundClip),backgroundOrigin:Q(A.backgroundOrigin)}},function(A){switch(A){case"padding-box":return l.PADDING_BOX;case"content-box":return l.CONTENT_BOX}return l.BORDER_BOX}),Q=function(A){switch(A){case"padding-box":return f.PADDING_BOX;case"content-box":return f.CONTENT_BOX}return f.BORDER_BOX},C=function(A,t){var e=U(A.backgroundImage).map(function(A){if("url"===A.method){var e=t.loadImage(A.args[0]);A.args=e?[e]:[]}return A}),n=A.backgroundPosition.split(","),r=A.backgroundRepeat.split(","),i=A.backgroundSize.split(",");return e.map(function(A,t){var e=(i[t]||"auto").trim().split(" ").map(y),o=(n[t]||"auto").trim().split(" ").map(v);return{source:A,repeat:function(A){switch(A.trim()){case"no-repeat":return s.NO_REPEAT;case"repeat-x":case"repeat no-repeat":return s.REPEAT_X;case"repeat-y":case"no-repeat repeat":return s.REPEAT_Y;case"repeat":return s.REPEAT}return s.REPEAT}("string"==typeof r[t]?r[t]:r[0]),size:e.length<2?[e[0],w]:[e[0],e[1]],position:o.length<2?[o[0],o[0]]:[o[0],o[1]]}})},y=function(A){return"auto"===A?w:new g(A)},v=function(A){switch(A){case"bottom":case"right":return new r.default("100%");case"left":case"top":return new r.default("0%");case"auto":return new r.default("0")}return new r.default(A)},U=t.parseBackgroundImage=function(A){var t=/^\s$/,e=[],n=[],r="",i=null,o="",a=0,s=0,c=function(){var A="";if(r){'"'===o.substr(0,1)&&(o=o.substr(1,o.length-2)),o&&n.push(o.trim());var t=r.indexOf("-",1)+1;"-"===r.substr(0,1)&&t>0&&(A=r.substr(0,t).toLowerCase(),r=r.substr(t)),"none"!==(r=r.toLowerCase())&&e.push({prefix:A,method:r,args:n})}n=[],r=o=""};return A.split("").forEach(function(A){if(0!==a||!t.test(A)){switch(A){case'"':i?i===A&&(i=null):i=A;break;case"(":if(i)break;if(0===a)return void(a=1);s++;break;case")":if(i)break;if(1===a){if(0===s)return a=0,void c();s--}break;case",":if(i)break;if(0===a)return void c();if(1===a&&0===s&&!r.match(/^url$/i))return n.push(o.trim()),void(o="")}0===a?r+=A:o+=A}}),c(),e}});t(g);g.parseBackgroundImage,g.parseBackground,g.calculateBackgroundRepeatPath,g.calculateBackgroundPosition,g.calculateBackgroungPositioningArea,g.calculateBackgroungPaintingArea,g.calculateGradientBackgroundSize,g.calculateBackgroundSize,g.BACKGROUND_ORIGIN,g.BACKGROUND_CLIP,g.BACKGROUND_SIZE,g.BACKGROUND_REPEAT;var w=e(function(A,t){Object.defineProperty(t,"__esModule",{value:!0}),t.parseBorder=t.BORDER_SIDES=t.BORDER_STYLE=void 0;var e=function(A){return A&&A.__esModule?A:{default:A}}(o),n=t.BORDER_STYLE={NONE:0,SOLID:1},r=t.BORDER_SIDES={TOP:0,RIGHT:1,BOTTOM:2,LEFT:3},i=Object.keys(r).map(function(A){return A.toLowerCase()});t.parseBorder=function(A){return i.map(function(t){var r=new e.default(A.getPropertyValue("border-"+t+"-color")),i=function(A){switch(A){case"none":return n.NONE}return n.SOLID}(A.getPropertyValue("border-"+t+"-style")),o=parseFloat(A.getPropertyValue("border-"+t+"-width"));return{borderColor:r,borderStyle:i,borderWidth:isNaN(o)?0:o}})}});t(w);w.parseBorder,w.BORDER_SIDES,w.BORDER_STYLE;var m=e(function(A,t){Object.defineProperty(t,"__esModule",{value:!0}),t.parseBorderRadius=void 0;var e=function(){return function(A,t){if(Array.isArray(A))return A;if(Symbol.iterator in Object(A))return function(A,t){var e=[],n=!0,r=!1,i=void 0;try{for(var o,a=A[Symbol.iterator]();!(n=(o=a.next()).done)&&(e.push(o.value),!t||e.length!==t);n=!0);}catch(A){r=!0,i=A}finally{try{!n&&a.return&&a.return()}finally{if(r)throw i}}return e}(A,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),n=function(A){return A&&A.__esModule?A:{default:A}}(u),r=["top-left","top-right","bottom-right","bottom-left"];t.parseBorderRadius=function(A){return r.map(function(t){var r=A.getPropertyValue("border-"+t+"-radius").split(" ").map(n.default.create),i=e(r,2),o=i[0],a=i[1];return void 0===a?[o,o]:[o,a]})}});t(m);m.parseBorderRadius;var Q=e(function(A,t){Object.defineProperty(t,"__esModule",{value:!0});var e=t.DISPLAY={NONE:1,BLOCK:2,INLINE:4,RUN_IN:8,FLOW:16,FLOW_ROOT:32,TABLE:64,FLEX:128,GRID:256,RUBY:512,SUBGRID:1024,LIST_ITEM:2048,TABLE_ROW_GROUP:4096,TABLE_HEADER_GROUP:8192,TABLE_FOOTER_GROUP:16384,TABLE_ROW:32768,TABLE_CELL:65536,TABLE_COLUMN_GROUP:1<<17,TABLE_COLUMN:1<<18,TABLE_CAPTION:1<<19,RUBY_BASE:1<<20,RUBY_TEXT:1<<21,RUBY_BASE_CONTAINER:1<<22,RUBY_TEXT_CONTAINER:1<<23,CONTENTS:1<<24,INLINE_BLOCK:1<<25,INLINE_LIST_ITEM:1<<26,INLINE_TABLE:1<<27,INLINE_FLEX:1<<28,INLINE_GRID:1<<29},n=function(A,t){return A|function(A){switch(A){case"block":return e.BLOCK;case"inline":return e.INLINE;case"run-in":return e.RUN_IN;case"flow":return e.FLOW;case"flow-root":return e.FLOW_ROOT;case"table":return e.TABLE;case"flex":return e.FLEX;case"grid":return e.GRID;case"ruby":return e.RUBY;case"subgrid":return e.SUBGRID;case"list-item":return e.LIST_ITEM;case"table-row-group":return e.TABLE_ROW_GROUP;case"table-header-group":return e.TABLE_HEADER_GROUP;case"table-footer-group":return e.TABLE_FOOTER_GROUP;case"table-row":return e.TABLE_ROW;case"table-cell":return e.TABLE_CELL;case"table-column-group":return e.TABLE_COLUMN_GROUP;case"table-column":return e.TABLE_COLUMN;case"table-caption":return e.TABLE_CAPTION;case"ruby-base":return e.RUBY_BASE;case"ruby-text":return e.RUBY_TEXT;case"ruby-base-container":return e.RUBY_BASE_CONTAINER;case"ruby-text-container":return e.RUBY_TEXT_CONTAINER;case"contents":return e.CONTENTS;case"inline-block":return e.INLINE_BLOCK;case"inline-list-item":return e.INLINE_LIST_ITEM;case"inline-table":return e.INLINE_TABLE;case"inline-flex":return e.INLINE_FLEX;case"inline-grid":return e.INLINE_GRID}return e.NONE}(t)};t.parseDisplay=function(A){return A.split(" ").reduce(n,0)}});t(Q);Q.DISPLAY,Q.parseDisplay;var C=e(function(A,t){Object.defineProperty(t,"__esModule",{value:!0});var e=t.FLOAT={NONE:0,LEFT:1,RIGHT:2,INLINE_START:3,INLINE_END:4};t.parseCSSFloat=function(A){switch(A){case"left":return e.LEFT;case"right":return e.RIGHT;case"inline-start":return e.INLINE_START;case"inline-end":return e.INLINE_END}return e.NONE}});t(C);C.FLOAT,C.parseCSSFloat;var y=e(function(A,t){Object.defineProperty(t,"__esModule",{value:!0});t.parseFont=function(A){return{fontFamily:A.fontFamily,fontSize:A.fontSize,fontStyle:A.fontStyle,fontVariant:A.fontVariant,fontWeight:function(A){switch(A){case"normal":return 400;case"bold":return 700}var t=parseInt(A,10);return isNaN(t)?400:t}(A.fontWeight)}}});t(y);y.parseFont;var v=e(function(A,t){Object.defineProperty(t,"__esModule",{value:!0});t.parseLetterSpacing=function(A){if("normal"===A)return 0;var t=parseFloat(A);return isNaN(t)?0:t}});t(v);v.parseLetterSpacing;var U=e(function(A,t){Object.defineProperty(t,"__esModule",{value:!0});var e=t.LINE_BREAK={NORMAL:"normal",STRICT:"strict"};t.parseLineBreak=function(A){switch(A){case"strict":return e.STRICT;case"normal":default:return e.NORMAL}}});t(U);U.LINE_BREAK,U.parseLineBreak;var F=e(function(A,t){Object.defineProperty(t,"__esModule",{value:!0}),t.parseListStyle=t.parseListStyleType=t.LIST_STYLE_TYPE=t.LIST_STYLE_POSITION=void 0;var e=t.LIST_STYLE_POSITION={INSIDE:0,OUTSIDE:1},n=t.LIST_STYLE_TYPE={NONE:-1,DISC:0,CIRCLE:1,SQUARE:2,DECIMAL:3,CJK_DECIMAL:4,DECIMAL_LEADING_ZERO:5,LOWER_ROMAN:6,UPPER_ROMAN:7,LOWER_GREEK:8,LOWER_ALPHA:9,UPPER_ALPHA:10,ARABIC_INDIC:11,ARMENIAN:12,BENGALI:13,CAMBODIAN:14,CJK_EARTHLY_BRANCH:15,CJK_HEAVENLY_STEM:16,CJK_IDEOGRAPHIC:17,DEVANAGARI:18,ETHIOPIC_NUMERIC:19,GEORGIAN:20,GUJARATI:21,GURMUKHI:22,HEBREW:22,HIRAGANA:23,HIRAGANA_IROHA:24,JAPANESE_FORMAL:25,JAPANESE_INFORMAL:26,KANNADA:27,KATAKANA:28,KATAKANA_IROHA:29,KHMER:30,KOREAN_HANGUL_FORMAL:31,KOREAN_HANJA_FORMAL:32,KOREAN_HANJA_INFORMAL:33,LAO:34,LOWER_ARMENIAN:35,MALAYALAM:36,MONGOLIAN:37,MYANMAR:38,ORIYA:39,PERSIAN:40,SIMP_CHINESE_FORMAL:41,SIMP_CHINESE_INFORMAL:42,TAMIL:43,TELUGU:44,THAI:45,TIBETAN:46,TRAD_CHINESE_FORMAL:47,TRAD_CHINESE_INFORMAL:48,UPPER_ARMENIAN:49,DISCLOSURE_OPEN:50,DISCLOSURE_CLOSED:51},r=t.parseListStyleType=function(A){switch(A){case"disc":return n.DISC;case"circle":return n.CIRCLE;case"square":return n.SQUARE;case"decimal":return n.DECIMAL;case"cjk-decimal":return n.CJK_DECIMAL;case"decimal-leading-zero":return n.DECIMAL_LEADING_ZERO;case"lower-roman":return n.LOWER_ROMAN;case"upper-roman":return n.UPPER_ROMAN;case"lower-greek":return n.LOWER_GREEK;case"lower-alpha":return n.LOWER_ALPHA;case"upper-alpha":return n.UPPER_ALPHA;case"arabic-indic":return n.ARABIC_INDIC;case"armenian":return n.ARMENIAN;case"bengali":return n.BENGALI;case"cambodian":return n.CAMBODIAN;case"cjk-earthly-branch":return n.CJK_EARTHLY_BRANCH;case"cjk-heavenly-stem":return n.CJK_HEAVENLY_STEM;case"cjk-ideographic":return n.CJK_IDEOGRAPHIC;case"devanagari":return n.DEVANAGARI;case"ethiopic-numeric":return n.ETHIOPIC_NUMERIC;case"georgian":return n.GEORGIAN;case"gujarati":return n.GUJARATI;case"gurmukhi":return n.GURMUKHI;case"hebrew":return n.HEBREW;case"hiragana":return n.HIRAGANA;case"hiragana-iroha":return n.HIRAGANA_IROHA;case"japanese-formal":return n.JAPANESE_FORMAL;case"japanese-informal":return n.JAPANESE_INFORMAL;case"kannada":return n.KANNADA;case"katakana":return n.KATAKANA;case"katakana-iroha":return n.KATAKANA_IROHA;case"khmer":return n.KHMER;case"korean-hangul-formal":return n.KOREAN_HANGUL_FORMAL;case"korean-hanja-formal":return n.KOREAN_HANJA_FORMAL;case"korean-hanja-informal":return n.KOREAN_HANJA_INFORMAL;case"lao":return n.LAO;case"lower-armenian":return n.LOWER_ARMENIAN;case"malayalam":return n.MALAYALAM;case"mongolian":return n.MONGOLIAN;case"myanmar":return n.MYANMAR;case"oriya":return n.ORIYA;case"persian":return n.PERSIAN;case"simp-chinese-formal":return n.SIMP_CHINESE_FORMAL;case"simp-chinese-informal":return n.SIMP_CHINESE_INFORMAL;case"tamil":return n.TAMIL;case"telugu":return n.TELUGU;case"thai":return n.THAI;case"tibetan":return n.TIBETAN;case"trad-chinese-formal":return n.TRAD_CHINESE_FORMAL;case"trad-chinese-informal":return n.TRAD_CHINESE_INFORMAL;case"upper-armenian":return n.UPPER_ARMENIAN;case"disclosure-open":return n.DISCLOSURE_OPEN;case"disclosure-closed":return n.DISCLOSURE_CLOSED;case"none":default:return n.NONE}},i=(t.parseListStyle=function(A){var t=(0,g.parseBackgroundImage)(A.getPropertyValue("list-style-image"));return{listStyleType:r(A.getPropertyValue("list-style-type")),listStyleImage:t.length?t[0]:null,listStylePosition:i(A.getPropertyValue("list-style-position"))}},function(A){switch(A){case"inside":return e.INSIDE;case"outside":default:return e.OUTSIDE}})});t(F);F.parseListStyle,F.parseListStyleType,F.LIST_STYLE_TYPE,F.LIST_STYLE_POSITION;var E=e(function(A,t){Object.defineProperty(t,"__esModule",{value:!0}),t.parseMargin=void 0;var e=function(A){return A&&A.__esModule?A:{default:A}}(u),n=["top","right","bottom","left"];t.parseMargin=function(A){return n.map(function(t){return new e.default(A.getPropertyValue("margin-"+t))})}});t(E);E.parseMargin;var b=e(function(A,t){Object.defineProperty(t,"__esModule",{value:!0});var e=t.OVERFLOW={VISIBLE:0,HIDDEN:1,SCROLL:2,AUTO:3};t.parseOverflow=function(A){switch(A){case"hidden":return e.HIDDEN;case"scroll":return e.SCROLL;case"auto":return e.AUTO;case"visible":default:return e.VISIBLE}}});t(b);b.OVERFLOW,b.parseOverflow;var H=e(function(A,t){Object.defineProperty(t,"__esModule",{value:!0});var e=t.OVERFLOW_WRAP={NORMAL:0,BREAK_WORD:1};t.parseOverflowWrap=function(A){switch(A){case"break-word":return e.BREAK_WORD;case"normal":default:return e.NORMAL}}});t(H);H.OVERFLOW_WRAP,H.parseOverflowWrap;var x=e(function(A,t){Object.defineProperty(t,"__esModule",{value:!0});var e=t.POSITION={STATIC:0,RELATIVE:1,ABSOLUTE:2,FIXED:3,STICKY:4};t.parsePosition=function(A){switch(A){case"relative":return e.RELATIVE;case"absolute":return e.ABSOLUTE;case"fixed":return e.FIXED;case"sticky":return e.STICKY}return e.STATIC}});t(x);x.POSITION,x.parsePosition;var _=e(function(A,t){Object.defineProperty(t,"__esModule",{value:!0}),t.parseTextShadow=void 0;var e=function(A){return A&&A.__esModule?A:{default:A}}(o),n=/^([+-]|\d|\.)$/i;t.parseTextShadow=function(A){if("none"===A||"string"!=typeof A)return null;for(var t="",r=!1,i=[],o=[],a=0,s=null,c=function(){t.length&&(r?i.push(parseFloat(t)):s=new e.default(t)),r=!1,t=""},l=function(){i.length&&null!==s&&o.push({color:s,offsetX:i[0]||0,offsetY:i[1]||0,blur:i[2]||0}),i.splice(0,i.length),s=null},u=0;u<A.length;u++){var h=A[u];switch(h){case"(":t+=h,a++;break;case")":t+=h,a--;break;case",":0===a?(c(),l()):t+=h;break;case" ":0===a?c():t+=h;break;default:0===t.length&&n.test(h)&&(r=!0),t+=h}}return c(),l(),0===o.length?null:o}});t(_);_.parseTextShadow;var I=e(function(A,t){Object.defineProperty(t,"__esModule",{value:!0});var e=t.TEXT_TRANSFORM={NONE:0,LOWERCASE:1,UPPERCASE:2,CAPITALIZE:3};t.parseTextTransform=function(A){switch(A){case"uppercase":return e.UPPERCASE;case"lowercase":return e.LOWERCASE;case"capitalize":return e.CAPITALIZE}return e.NONE}});t(I);I.TEXT_TRANSFORM,I.parseTextTransform;var T=e(function(A,t){Object.defineProperty(t,"__esModule",{value:!0}),t.parseTransform=void 0;var e=function(A){return A&&A.__esModule?A:{default:A}}(u),n=function(A){return parseFloat(A.trim())},r=/(matrix|matrix3d)\((.+)\)/,i=(t.parseTransform=function(A){var t=o(A.transform||A.webkitTransform||A.mozTransform||A.msTransform||A.oTransform);return null===t?null:{transform:t,transformOrigin:i(A.transformOrigin||A.webkitTransformOrigin||A.mozTransformOrigin||A.msTransformOrigin||A.oTransformOrigin)}},function(A){if("string"!=typeof A){var t=new e.default("0");return[t,t]}var n=A.split(" ").map(e.default.create);return[n[0],n[1]]}),o=function(A){if("none"===A||"string"!=typeof A)return null;var t=A.match(r);if(t){if("matrix"===t[1]){var e=t[2].split(",").map(n);return[e[0],e[1],e[2],e[3],e[4],e[5]]}var i=t[2].split(",").map(n);return[i[0],i[1],i[4],i[5],i[12],i[13]]}return null}});t(T);T.parseTransform;var S=e(function(A,t){Object.defineProperty(t,"__esModule",{value:!0});var e=t.VISIBILITY={VISIBLE:0,HIDDEN:1,COLLAPSE:2};t.parseVisibility=function(A){switch(A){case"hidden":return e.HIDDEN;case"collapse":return e.COLLAPSE;case"visible":default:return e.VISIBLE}}});t(S);S.VISIBILITY,S.parseVisibility;var N=e(function(A,t){Object.defineProperty(t,"__esModule",{value:!0});var e=t.WORD_BREAK={NORMAL:"normal",BREAK_ALL:"break-all",KEEP_ALL:"keep-all"};t.parseWordBreak=function(A){switch(A){case"break-all":return e.BREAK_ALL;case"keep-all":return e.KEEP_ALL;case"normal":default:return e.NORMAL}}});t(N);N.WORD_BREAK,N.parseWordBreak;var O=e(function(A,t){Object.defineProperty(t,"__esModule",{value:!0});t.parseZIndex=function(A){var t="auto"===A;return{auto:t,order:t?0:parseInt(A,10)}}});t(O);O.parseZIndex;var k=e(function(A,t){Object.defineProperty(t,"__esModule",{value:!0});var e=function(){function A(A,t){for(var e=0;e<t.length;e++){var n=t[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(A,n.key,n)}}return function(t,e,n){return e&&A(t.prototype,e),n&&A(t,n),t}}(),n=function(){function A(t){!function(A,t){if(!(A instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),this.element=t}return e(A,[{key:"render",value:function(A){var t=this;this.options=A,this.canvas=document.createElement("canvas"),this.ctx=this.canvas.getContext("2d"),this.canvas.width=Math.floor(A.width)*A.scale,this.canvas.height=Math.floor(A.height)*A.scale,this.canvas.style.width=A.width+"px",this.canvas.style.height=A.height+"px",A.logger.log("ForeignObject renderer initialized ("+A.width+"x"+A.height+" at "+A.x+","+A.y+") with scale "+A.scale);var e=r(Math.max(A.windowWidth,A.width)*A.scale,Math.max(A.windowHeight,A.height)*A.scale,A.scrollX*A.scale,A.scrollY*A.scale,this.element);return i(e).then(function(e){return A.backgroundColor&&(t.ctx.fillStyle=A.backgroundColor.toString(),t.ctx.fillRect(0,0,A.width*A.scale,A.height*A.scale)),t.ctx.drawImage(e,-A.x*A.scale,-A.y*A.scale),t.canvas})}}]),A}();t.default=n;var r=t.createForeignObjectSVG=function(A,t,e,n,r){var i="http:https://www.w3.org/2000/svg",o=document.createElementNS(i,"svg"),a=document.createElementNS(i,"foreignObject");return o.setAttributeNS(null,"width",A),o.setAttributeNS(null,"height",t),a.setAttributeNS(null,"width","100%"),a.setAttributeNS(null,"height","100%"),a.setAttributeNS(null,"x",e),a.setAttributeNS(null,"y",n),a.setAttributeNS(null,"externalResourcesRequired","true"),o.appendChild(a),a.appendChild(r),o},i=t.loadSerializedSVG=function(A){return new Promise(function(t,e){var n=new Image;n.onload=function(){return t(n)},n.onerror=e,n.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(A))})}});t(k);k.createForeignObjectSVG,k.loadSerializedSVG;var P=e(function(A,t){Object.defineProperty(t,"__esModule",{value:!0});var e=function(A){return 0===A[0]&&255===A[1]&&0===A[2]&&255===A[3]},n={get SUPPORT_RANGE_BOUNDS(){var A=function(A){if(A.createRange){var t=A.createRange();if(t.getBoundingClientRect){var e=A.createElement("boundtest");e.style.height="123px",e.style.display="block",A.body.appendChild(e),t.selectNode(e);var n=t.getBoundingClientRect(),r=Math.round(n.height);if(A.body.removeChild(e),123===r)return!0}}return!1}(document);return Object.defineProperty(n,"SUPPORT_RANGE_BOUNDS",{value:A}),A},get SUPPORT_SVG_DRAWING(){var A=function(A){var t=new Image,e=A.createElement("canvas"),n=e.getContext("2d");t.src="data:image/svg+xml,<svg xmlns='http:https://www.w3.org/2000/svg'></svg>";try{n.drawImage(t,0,0),e.toDataURL()}catch(A){return!1}return!0}(document);return Object.defineProperty(n,"SUPPORT_SVG_DRAWING",{value:A}),A},get SUPPORT_BASE64_DRAWING(){return function(A){var t=function(A,t){var e=new Image,n=A.createElement("canvas"),r=n.getContext("2d");return new Promise(function(A){e.src=t;var i=function(){try{r.drawImage(e,0,0),n.toDataURL()}catch(t){return A(!1)}return A(!0)};e.onload=i,e.onerror=function(){return A(!1)},!0===e.complete&&setTimeout(function(){i()},500)})}(document,A);return Object.defineProperty(n,"SUPPORT_BASE64_DRAWING",{value:function(){return t}}),t}},get SUPPORT_FOREIGNOBJECT_DRAWING(){var A="function"==typeof Array.from&&"function"==typeof window.fetch?function(A){var t=A.createElement("canvas");t.width=100,t.height=100;var n=t.getContext("2d");n.fillStyle="rgb(0, 255, 0)",n.fillRect(0,0,100,100);var r=new Image,i=t.toDataURL();r.src=i;var o=(0,k.createForeignObjectSVG)(100,100,0,0,r);return n.fillStyle="red",n.fillRect(0,0,100,100),(0,k.loadSerializedSVG)(o).then(function(t){n.drawImage(t,0,0);var r=n.getImageData(0,0,100,100).data;n.fillStyle="red",n.fillRect(0,0,100,100);var o=A.createElement("div");return o.style.backgroundImage="url("+i+")",o.style.height="100px",e(r)?(0,k.loadSerializedSVG)((0,k.createForeignObjectSVG)(100,100,0,0,o)):Promise.reject(!1)}).then(function(A){return n.drawImage(A,0,0),e(n.getImageData(0,0,100,100).data)}).catch(function(A){return!1})}(document):Promise.resolve(!1);return Object.defineProperty(n,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:A}),A},get SUPPORT_CORS_IMAGES(){var A=void 0!==(new Image).crossOrigin;return Object.defineProperty(n,"SUPPORT_CORS_IMAGES",{value:A}),A},get SUPPORT_RESPONSE_TYPE(){var A="string"==typeof(new XMLHttpRequest).responseType;return Object.defineProperty(n,"SUPPORT_RESPONSE_TYPE",{value:A}),A},get SUPPORT_CORS_XHR(){var A="withCredentials"in new XMLHttpRequest;return Object.defineProperty(n,"SUPPORT_CORS_XHR",{value:A}),A}};t.default=n});t(P);var L=e(function(A,t){Object.defineProperty(t,"__esModule",{value:!0});t.toCodePoints=function(A){for(var t=[],e=0,n=A.length;e<n;){var r=A.charCodeAt(e++);if(r>=55296&&r<=56319&&e<n){var i=A.charCodeAt(e++);56320==(64512&i)?t.push(((1023&r)<<10)+(1023&i)+65536):(t.push(r),e--)}else t.push(r)}return t},t.fromCodePoint=function(){if(String.fromCodePoint)return String.fromCodePoint.apply(String,arguments);var A=arguments.length;if(!A)return"";for(var t=[],e=-1,n="";++e<A;){var r=arguments.length<=e?void 0:arguments[e];r<=65535?t.push(r):(r-=65536,t.push(55296+(r>>10),r%1024+56320)),(e+1===A||t.length>16384)&&(n+=String.fromCharCode.apply(String,t),t.length=0)}return n};for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n="undefined"==typeof Uint8Array?[]:new Uint8Array(256),r=0;r<e.length;r++)n[e.charCodeAt(r)]=r;t.decode=function(A){var t=.75*A.length,e=A.length,r=void 0,i=0,o=void 0,a=void 0,s=void 0,c=void 0;"="===A[A.length-1]&&(t--,"="===A[A.length-2]&&t--);var l="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(t):new Array(t),u=Array.isArray(l)?l:new Uint8Array(l);for(r=0;r<e;r+=4)o=n[A.charCodeAt(r)],a=n[A.charCodeAt(r+1)],s=n[A.charCodeAt(r+2)],c=n[A.charCodeAt(r+3)],u[i++]=o<<2|a>>4,u[i++]=(15&a)<<4|s>>2,u[i++]=(3&s)<<6|63&c;return l},t.polyUint16Array=function(A){for(var t=A.length,e=[],n=0;n<t;n+=2)e.push(A[n+1]<<8|A[n]);return e},t.polyUint32Array=function(A){for(var t=A.length,e=[],n=0;n<t;n+=4)e.push(A[n+3]<<24|A[n+2]<<16|A[n+1]<<8|A[n]);return e}});t(L);L.toCodePoints,L.fromCodePoint,L.decode,L.polyUint16Array,L.polyUint32Array;var D=e(function(A,t){Object.defineProperty(t,"__esModule",{value:!0}),t.Trie=t.createTrieFromBase64=t.UTRIE2_INDEX_2_MASK=t.UTRIE2_INDEX_2_BLOCK_LENGTH=t.UTRIE2_OMITTED_BMP_INDEX_1_LENGTH=t.UTRIE2_INDEX_1_OFFSET=t.UTRIE2_UTF8_2B_INDEX_2_LENGTH=t.UTRIE2_UTF8_2B_INDEX_2_OFFSET=t.UTRIE2_INDEX_2_BMP_LENGTH=t.UTRIE2_LSCP_INDEX_2_LENGTH=t.UTRIE2_DATA_MASK=t.UTRIE2_DATA_BLOCK_LENGTH=t.UTRIE2_LSCP_INDEX_2_OFFSET=t.UTRIE2_SHIFT_1_2=t.UTRIE2_INDEX_SHIFT=t.UTRIE2_SHIFT_1=t.UTRIE2_SHIFT_2=void 0;var e=function(){function A(A,t){for(var e=0;e<t.length;e++){var n=t[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(A,n.key,n)}}return function(t,e,n){return e&&A(t.prototype,e),n&&A(t,n),t}}(),n=t.UTRIE2_SHIFT_2=5,r=t.UTRIE2_SHIFT_1=11,i=t.UTRIE2_INDEX_SHIFT=2,o=t.UTRIE2_SHIFT_1_2=r-n,a=t.UTRIE2_LSCP_INDEX_2_OFFSET=65536>>n,s=t.UTRIE2_DATA_BLOCK_LENGTH=1<<n,c=t.UTRIE2_DATA_MASK=s-1,l=t.UTRIE2_LSCP_INDEX_2_LENGTH=1024>>n,u=t.UTRIE2_INDEX_2_BMP_LENGTH=a+l,h=t.UTRIE2_UTF8_2B_INDEX_2_OFFSET=u,d=t.UTRIE2_UTF8_2B_INDEX_2_LENGTH=32,f=t.UTRIE2_INDEX_1_OFFSET=h+d,B=t.UTRIE2_OMITTED_BMP_INDEX_1_LENGTH=65536>>r,p=t.UTRIE2_INDEX_2_BLOCK_LENGTH=1<<o,g=t.UTRIE2_INDEX_2_MASK=p-1,w=(t.createTrieFromBase64=function(A){var t=(0,L.decode)(A),e=Array.isArray(t)?(0,L.polyUint32Array)(t):new Uint32Array(t),n=Array.isArray(t)?(0,L.polyUint16Array)(t):new Uint16Array(t),r=n.slice(12,e[4]/2),i=2===e[5]?n.slice((24+e[4])/2):e.slice(Math.ceil((24+e[4])/4));return new w(e[0],e[1],e[2],e[3],r,i)},t.Trie=function(){function A(t,e,n,r,i,o){!function(A,t){if(!(A instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),this.initialValue=t,this.errorValue=e,this.highStart=n,this.highValueIndex=r,this.index=i,this.data=o}return e(A,[{key:"get",value:function(A){var t=void 0;if(A>=0){if(A<55296||A>56319&&A<=65535)return t=this.index[A>>n],t=(t<<i)+(A&c),this.data[t];if(A<=65535)return t=this.index[a+(A-55296>>n)],t=(t<<i)+(A&c),this.data[t];if(A<this.highStart)return t=f-B+(A>>r),t=this.index[t],t+=A>>n&g,t=this.index[t],t=(t<<i)+(A&c),this.data[t];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue}}]),A}())});t(D);D.Trie,D.createTrieFromBase64,D.UTRIE2_INDEX_2_MASK,D.UTRIE2_INDEX_2_BLOCK_LENGTH,D.UTRIE2_OMITTED_BMP_INDEX_1_LENGTH,D.UTRIE2_INDEX_1_OFFSET,D.UTRIE2_UTF8_2B_INDEX_2_LENGTH,D.UTRIE2_UTF8_2B_INDEX_2_OFFSET,D.UTRIE2_INDEX_2_BMP_LENGTH,D.UTRIE2_LSCP_INDEX_2_LENGTH,D.UTRIE2_DATA_MASK,D.UTRIE2_DATA_BLOCK_LENGTH,D.UTRIE2_LSCP_INDEX_2_OFFSET,D.UTRIE2_SHIFT_1_2,D.UTRIE2_INDEX_SHIFT,D.UTRIE2_SHIFT_1,D.UTRIE2_SHIFT_2;var R=e(function(A,t){Object.defineProperty(t,"__esModule",{value:!0}),t.LineBreaker=t.inlineBreakOpportunities=t.lineBreakAtIndex=t.codePointsToCharacterClasses=t.UnicodeTrie=t.BREAK_ALLOWED=t.BREAK_NOT_ALLOWED=t.BREAK_MANDATORY=t.classes=t.LETTER_NUMBER_MODIFIER=void 0;var e=function(){function A(A,t){for(var e=0;e<t.length;e++){var n=t[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(A,n.key,n)}}return function(t,e,n){return e&&A(t.prototype,e),n&&A(t,n),t}}(),n=function(){return function(A,t){if(Array.isArray(A))return A;if(Symbol.iterator in Object(A))return function(A,t){var e=[],n=!0,r=!1,i=void 0;try{for(var o,a=A[Symbol.iterator]();!(n=(o=a.next()).done)&&(e.push(o.value),!t||e.length!==t);n=!0);}catch(A){r=!0,i=A}finally{try{!n&&a.return&&a.return()}finally{if(r)throw i}}return e}(A,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function(A){return A&&A.__esModule?A:{default:A}}("KwAAAAAAAAAACA4AIDoAAPAfAAACAAAAAAAIABAAGABAAEgAUABYAF4AZgBeAGYAYABoAHAAeABeAGYAfACEAIAAiACQAJgAoACoAK0AtQC9AMUAXgBmAF4AZgBeAGYAzQDVAF4AZgDRANkA3gDmAOwA9AD8AAQBDAEUARoBIgGAAIgAJwEvATcBPwFFAU0BTAFUAVwBZAFsAXMBewGDATAAiwGTAZsBogGkAawBtAG8AcIBygHSAdoB4AHoAfAB+AH+AQYCDgIWAv4BHgImAi4CNgI+AkUCTQJTAlsCYwJrAnECeQKBAk0CiQKRApkCoQKoArACuALAAsQCzAIwANQC3ALkAjAA7AL0AvwCAQMJAxADGAMwACADJgMuAzYDPgOAAEYDSgNSA1IDUgNaA1oDYANiA2IDgACAAGoDgAByA3YDfgOAAIQDgACKA5IDmgOAAIAAogOqA4AAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAK8DtwOAAIAAvwPHA88D1wPfAyAD5wPsA/QD/AOAAIAABAQMBBIEgAAWBB4EJgQuBDMEIAM7BEEEXgBJBCADUQRZBGEEaQQwADAAcQQ+AXkEgQSJBJEEgACYBIAAoASoBK8EtwQwAL8ExQSAAIAAgACAAIAAgACgAM0EXgBeAF4AXgBeAF4AXgBeANUEXgDZBOEEXgDpBPEE+QQBBQkFEQUZBSEFKQUxBTUFPQVFBUwFVAVcBV4AYwVeAGsFcwV7BYMFiwWSBV4AmgWgBacFXgBeAF4AXgBeAKsFXgCyBbEFugW7BcIFwgXIBcIFwgXQBdQF3AXkBesF8wX7BQMGCwYTBhsGIwYrBjMGOwZeAD8GRwZNBl4AVAZbBl4AXgBeAF4AXgBeAF4AXgBeAF4AXgBeAGMGXgBqBnEGXgBeAF4AXgBeAF4AXgBeAF4AXgB5BoAG4wSGBo4GkwaAAIADHgR5AF4AXgBeAJsGgABGA4AAowarBrMGswagALsGwwbLBjAA0wbaBtoG3QbaBtoG2gbaBtoG2gblBusG8wb7BgMHCwcTBxsHCwcjBysHMAc1BzUHOgdCB9oGSgdSB1oHYAfaBloHaAfaBlIH2gbaBtoG2gbaBtoG2gbaBjUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHbQdeAF4ANQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQd1B30HNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B4MH2gaKB68EgACAAIAAgACAAIAAgACAAI8HlwdeAJ8HpweAAIAArwe3B14AXgC/B8UHygcwANAH2AfgB4AA6AfwBz4B+AcACFwBCAgPCBcIogEYAR8IJwiAAC8INwg/CCADRwhPCFcIXwhnCEoDGgSAAIAAgABvCHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIfQh3CHgIeQh6CHsIfAh9CHcIeAh5CHoIewh8CH0Idwh4CHkIegh7CHwIhAiLCI4IMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAANQc1BzUHNQc1BzUHNQc1BzUHNQc1B54INQc1B6II2gaqCLIIugiAAIAAvgjGCIAAgACAAIAAgACAAIAAgACAAIAAywiHAYAA0wiAANkI3QjlCO0I9Aj8CIAAgACAAAIJCgkSCRoJIgknCTYHLwk3CZYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiWCJYIlgiAAIAAAAFAAXgBeAGAAcABeAHwAQACQAKAArQC9AJ4AXgBeAE0A3gBRAN4A7AD8AMwBGgEAAKcBNwEFAUwBXAF4QkhCmEKnArcCgAHHAsABz4LAAcABwAHAAd+C6ABoAG+C/4LAAcABwAHAAc+DF4MAAcAB54M3gweDV4Nng3eDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEeDqABVg6WDqABoQ6gAaABoAHXDvcONw/3DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DvcO9w73DncPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB7cPPwlGCU4JMACAAIAAgABWCV4JYQmAAGkJcAl4CXwJgAkwADAAMAAwAIgJgACLCZMJgACZCZ8JowmrCYAAswkwAF4AXgB8AIAAuwkABMMJyQmAAM4JgADVCTAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAqwYWBNkIMAAwADAAMADdCeAJ6AnuCR4E9gkwAP4JBQoNCjAAMACAABUK0wiAAB0KJAosCjQKgAAwADwKQwqAAEsKvQmdCVMKWwowADAAgACAALcEMACAAGMKgABrCjAAMAAwADAAMAAwADAAMAAwADAAMAAeBDAAMAAwADAAMAAwADAAMAAwADAAMAAwAIkEPQFzCnoKiQSCCooKkAqJBJgKoAqkCokEGAGsCrQKvArBCjAAMADJCtEKFQHZCuEK/gHpCvEKMAAwADAAMACAAIwE+QowAIAAPwEBCzAAMAAwADAAMACAAAkLEQswAIAAPwEZCyELgAAOCCkLMAAxCzkLMAAwADAAMAAwADAAXgBeAEELMAAwADAAMAAwADAAMAAwAEkLTQtVC4AAXAtkC4AAiQkwADAAMAAwADAAMAAwADAAbAtxC3kLgAuFC4sLMAAwAJMLlwufCzAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAApwswADAAMACAAIAAgACvC4AAgACAAIAAgACAALcLMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAvwuAAMcLgACAAIAAgACAAIAAyguAAIAAgACAAIAA0QswADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAANkLgACAAIAA4AswADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACJCR4E6AswADAAhwHwC4AA+AsADAgMEAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMACAAIAAGAwdDCUMMAAwAC0MNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQw1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHPQwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADUHNQc1BzUHNQc1BzUHNQc2BzAAMAA5DDUHNQc1BzUHNQc1BzUHNQc1BzUHNQdFDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAgACAAIAATQxSDFoMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAF4AXgBeAF4AXgBeAF4AYgxeAGoMXgBxDHkMfwxeAIUMXgBeAI0MMAAwADAAMAAwAF4AXgCVDJ0MMAAwADAAMABeAF4ApQxeAKsMswy7DF4Awgy9DMoMXgBeAF4AXgBeAF4AXgBeAF4AXgDRDNkMeQBqCeAM3Ax8AOYM7Az0DPgMXgBeAF4AXgBeAF4AXgBeAF4AXgBeAF4AXgBeAF4AXgCgAAANoAAHDQ4NFg0wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAeDSYNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIAAgACAAIAAgACAAC4NMABeAF4ANg0wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAD4NRg1ODVYNXg1mDTAAbQ0wADAAMAAwADAAMAAwADAA2gbaBtoG2gbaBtoG2gbaBnUNeg3CBYANwgWFDdoGjA3aBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gaUDZwNpA2oDdoG2gawDbcNvw3HDdoG2gbPDdYN3A3fDeYN2gbsDfMN2gbaBvoN/g3aBgYODg7aBl4AXgBeABYOXgBeACUG2gYeDl4AJA5eACwO2w3aBtoGMQ45DtoG2gbaBtoGQQ7aBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gZJDjUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B1EO2gY1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQdZDjUHNQc1BzUHNQc1B2EONQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHaA41BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B3AO2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gY1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1BzUHNQc1B2EO2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gZJDtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBtoG2gbaBkkOeA6gAKAAoAAwADAAMAAwAKAAoACgAKAAoACgAKAAgA4wADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAD//wQABAAEAAQABAAEAAQABAAEAA0AAwABAAEAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAKABMAFwAeABsAGgAeABcAFgASAB4AGwAYAA8AGAAcAEsASwBLAEsASwBLAEsASwBLAEsAGAAYAB4AHgAeABMAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAFgAbABIAHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYADQARAB4ABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkAFgAaABsAGwAbAB4AHQAdAB4ATwAXAB4ADQAeAB4AGgAbAE8ATwAOAFAAHQAdAB0ATwBPABcATwBPAE8AFgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwArAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAAQABAANAA0ASwBLAEsASwBLAEsASwBLAEsASwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUAArACsABABQAAQABAAEAAQABAAEAAQAKwArAAQABAArACsABAAEAAQAUAArACsAKwArACsAKwArACsABAArACsAKwArAFAAUAArAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAGgAaAFAAUABQAFAAUABMAB4AGwBQAB4AKwArACsABAAEAAQAKwBQAFAAUABQAFAAUAArACsAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUAArAFAAUAArACsABAArAAQABAAEAAQABAArACsAKwArAAQABAArACsABAAEAAQAKwArACsABAArACsAKwArACsAKwArAFAAUABQAFAAKwBQACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwAEAAQAUABQAFAABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUAArACsABABQAAQABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQAKwArAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwAeABsAKwArACsAKwArACsAKwBQAAQABAAEAAQABAAEACsABAAEAAQAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwArAAQABAArACsABAAEAAQAKwArACsAKwArACsAKwArAAQABAArACsAKwArAFAAUAArAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwAeAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwAEAFAAKwBQAFAAUABQAFAAUAArACsAKwBQAFAAUAArAFAAUABQAFAAKwArACsAUABQACsAUAArAFAAUAArACsAKwBQAFAAKwArACsAUABQAFAAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQAKwArACsABAAEAAQAKwAEAAQABAAEACsAKwBQACsAKwArACsAKwArAAQAKwArACsAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAB4AHgAeAB4AHgAeABsAHgArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABAArACsAKwArACsAKwArAAQABAArAFAAUABQACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAB4AUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABAArACsAKwArACsAKwArAAQABAArACsAKwArACsAKwArAFAAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwArAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAKwBcAFwAKwBcACsAKwBcACsAKwArACsAKwArAFwAXABcAFwAKwBcAFwAXABcAFwAXABcACsAXABcAFwAKwBcACsAXAArACsAXABcACsAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgArACoAKgBcACsAKwBcAFwAXABcAFwAKwBcACsAKgAqACoAKgAqACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAFwAXABcAFwAUAAOAA4ADgAOAB4ADgAOAAkADgAOAA0ACQATABMAEwATABMACQAeABMAHgAeAB4ABAAEAB4AHgAeAB4AHgAeAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUAANAAQAHgAEAB4ABAAWABEAFgARAAQABABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAAQABAAEAAQABAANAAQABABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsADQANAB4AHgAeAB4AHgAeAAQAHgAeAB4AHgAeAB4AKwAeAB4ADgAOAA0ADgAeAB4AHgAeAB4ACQAJACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgAeAB4AHgBcAFwAXABcAFwAXAAqACoAKgAqAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAKgAqACoAKgAqACoAKgBcAFwAXAAqACoAKgAqAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAXAAqAEsASwBLAEsASwBLAEsASwBLAEsAKgAqACoAKgAqACoAUABQAFAAUABQAFAAKwBQACsAKwArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQACsAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwAEAAQABAAeAA0AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAEQArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAADQANAA0AUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAA0ADQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQACsABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoADQANABUAXAANAB4ADQAbAFwAKgArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAB4AHgATABMADQANAA4AHgATABMAHgAEAAQABAAJACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAUABQAFAAUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwAeACsAKwArABMAEwBLAEsASwBLAEsASwBLAEsASwBLAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwBcAFwAXABcAFwAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcACsAKwArACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwAeAB4AXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgArACsABABLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKgAqACoAKgAqACoAKgBcACoAKgAqACoAKgAqACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAUABQAFAAUABQAFAAUAArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4ADQANAA0ADQAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAHgAeAB4AHgBQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwANAA0ADQANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwBQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsABAAEAAQAHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAABABQAFAAUABQAAQABAAEAFAAUAAEAAQABAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAKwBQACsAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAKwArAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAKwAeAB4AHgAeAB4AHgAeAA4AHgArAA0ADQANAA0ADQANAA0ACQANAA0ADQAIAAQACwAEAAQADQAJAA0ADQAMAB0AHQAeABcAFwAWABcAFwAXABYAFwAdAB0AHgAeABQAFAAUAA0AAQABAAQABAAEAAQABAAJABoAGgAaABoAGgAaABoAGgAeABcAFwAdABUAFQAeAB4AHgAeAB4AHgAYABYAEQAVABUAFQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgANAB4ADQANAA0ADQAeAA0ADQANAAcAHgAeAB4AHgArAAQABAAEAAQABAAEAAQABAAEAAQAUABQACsAKwBPAFAAUABQAFAAUAAeAB4AHgAWABEATwBQAE8ATwBPAE8AUABQAFAAUABQAB4AHgAeABYAEQArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAGwAbABsAGwAbABsAGwAaABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAaABsAGwAbABsAGgAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgBQABoAHgAdAB4AUAAeABoAHgAeAB4AHgAeAB4AHgAeAB4ATwAeAFAAGwAeAB4AUABQAFAAUABQAB4AHgAeAB0AHQAeAFAAHgBQAB4AUAAeAFAATwBQAFAAHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AUABQAFAAUABPAE8AUABQAFAAUABQAE8AUABQAE8AUABPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAE8ATwBPAE8ATwBPAE8ATwBPAE8AUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAATwAeAB4AKwArACsAKwAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB0AHQAeAB4AHgAdAB0AHgAeAB0AHgAeAB4AHQAeAB0AGwAbAB4AHQAeAB4AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB0AHgAdAB4AHQAdAB0AHQAdAB0AHgAdAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAdAB0AHQAdAB4AHgAdAB0AHgAeAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAlACUAHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBQAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAeAB4AHgAeAB0AHQAeAB4AHgAeAB0AHQAdAB4AHgAdAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB0AHQAeAB4AHQAeAB4AHgAeAB0AHQAeAB4AHgAeACUAJQAdAB0AJQAeACUAJQAlACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAHgAeAB4AHgAdAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHQAdAB0AHgAdACUAHQAdAB4AHQAdAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHQAdAB0AHQAlAB4AJQAlACUAHQAlACUAHQAdAB0AJQAlAB0AHQAlAB0AHQAlACUAJQAeAB0AHgAeAB4AHgAdAB0AJQAdAB0AHQAdAB0AHQAlACUAJQAlACUAHQAlACUAIAAlAB0AHQAlACUAJQAlACUAJQAlACUAHgAeAB4AJQAlACAAIAAgACAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeABcAFwAXABcAFwAXAB4AEwATACUAHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwArACUAJQBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAKwArACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAE8ATwBPAE8ATwBPAE8ATwAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeACsAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUAArACsAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQBQAFAAUABQACsAKwArACsAUABQAFAAUABQAFAAUABQAA0AUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQACsAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgBQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAABAAEAAQAKwAEAAQAKwArACsAKwArAAQABAAEAAQAUABQAFAAUAArAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsABAAEAAQAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsADQANAA0ADQANAA0ADQANAB4AKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AUABQAFAAUABQAFAAUABQAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAUABQAFAAUABQAA0ADQANAA0ADQANABQAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwANAA0ADQANAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAeAAQABAAEAB4AKwArAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLACsADQArAB4AKwArAAQABAAEAAQAUABQAB4AUAArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwAEAAQABAAEAAQABAAEAAQABAAOAA0ADQATABMAHgAeAB4ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0AUABQAFAAUAAEAAQAKwArAAQADQANAB4AUAArACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXABcAA0ADQANACoASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUAArACsAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANACsADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEcARwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQACsAKwAeAAQABAANAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAEAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUAArACsAUAArACsAUABQACsAKwBQAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AKwArAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAeAB4ADQANAA0ADQAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAArAAQABAArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAEAAQABAAEAAQABAAEACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAFgAWAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAKwBQACsAKwArACsAKwArAFAAKwArACsAKwBQACsAUAArAFAAKwBQAFAAUAArAFAAUAArAFAAKwArAFAAKwBQACsAUAArAFAAKwBQACsAUABQACsAUAArACsAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAUABQAFAAUAArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUAArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAlACUAJQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeACUAJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeACUAJQAlACUAJQAeACUAJQAlACUAJQAgACAAIAAlACUAIAAlACUAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIQAhACEAIQAhACUAJQAgACAAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACAAIAAlACUAJQAlACAAJQAgACAAIAAgACAAIAAgACAAIAAlACUAJQAgACUAJQAlACUAIAAgACAAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeACUAHgAlAB4AJQAlACUAJQAlACAAJQAlACUAJQAeACUAHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAIAAgACAAJQAlACUAIAAgACAAIAAgAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFwAXABcAFQAVABUAHgAeAB4AHgAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAIAAgACAAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAlACAAIAAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsA"),i=t.LETTER_NUMBER_MODIFIER=50,o=10,a=13,s=15,c=17,l=18,u=19,h=20,d=21,f=22,B=24,p=25,g=26,w=27,m=28,Q=30,C=32,y=33,v=34,U=35,F=37,E=38,b=39,H=40,x=42,_=(t.classes={BK:1,CR:2,LF:3,CM:4,NL:5,SG:6,WJ:7,ZW:8,GL:9,SP:o,ZWJ:11,B2:12,BA:a,BB:14,HY:s,CB:16,CL:c,CP:l,EX:u,IN:h,NS:d,OP:f,QU:23,IS:B,NU:p,PO:g,PR:w,SY:m,AI:29,AL:Q,CJ:31,EB:C,EM:y,H2:v,H3:U,HL:36,ID:F,JL:E,JV:b,JT:H,RI:41,SA:x,XX:43},t.BREAK_MANDATORY="!"),I=t.BREAK_NOT_ALLOWED="×",T=t.BREAK_ALLOWED="÷",S=t.UnicodeTrie=(0,D.createTrieFromBase64)(r.default),N=[Q,36],O=[1,2,3,5],k=[o,8],P=[w,g],R=O.concat(k),K=[E,b,H,v,U],M=[s,a],z=t.codePointsToCharacterClasses=function(A){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"strict",e=[],n=[],r=[];return A.forEach(function(A,o){var a=S.get(A);if(a>i?(r.push(!0),a-=i):r.push(!1),-1!==["normal","auto","loose"].indexOf(t)&&-1!==[8208,8211,12316,12448].indexOf(A))return n.push(o),e.push(16);if(4===a||11===a){if(0===o)return n.push(o),e.push(Q);var s=e[o-1];return-1===R.indexOf(s)?(n.push(n[o-1]),e.push(s)):(n.push(o),e.push(Q))}return n.push(o),31===a?e.push("strict"===t?d:F):a===x?e.push(Q):29===a?e.push(Q):43===a?A>=131072&&A<=196605||A>=196608&&A<=262141?e.push(F):e.push(Q):void e.push(a)}),[n,e,r]},q=function(A,t,e,n){var r=n[e];if(Array.isArray(A)?-1!==A.indexOf(r):A===r)for(var i=e;i<=n.length;){var a=n[++i];if(a===t)return!0;if(a!==o)break}if(r===o)for(var s=e;s>0;){var c=n[--s];if(Array.isArray(A)?-1!==A.indexOf(c):A===c)for(var l=e;l<=n.length;){var u=n[++l];if(u===t)return!0;if(u!==o)break}if(c!==o)break}return!1},X=function(A,t){for(var e=A;e>=0;){var n=t[e];if(n!==o)return n;e--}return 0},V=function(A,t,e,n,r){if(0===e[n])return I;var i=n-1;if(Array.isArray(r)&&!0===r[i])return I;var Q=i-1,x=i+1,L=t[i],D=Q>=0?t[Q]:0,R=t[x];if(2===L&&3===R)return I;if(-1!==O.indexOf(L))return _;if(-1!==O.indexOf(R))return I;if(-1!==k.indexOf(R))return I;if(8===X(i,t))return T;if(11===S.get(A[i])&&(R===F||R===C||R===y))return I;if(7===L||7===R)return I;if(9===L)return I;if(-1===[o,a,s].indexOf(L)&&9===R)return I;if(-1!==[c,l,u,B,m].indexOf(R))return I;if(X(i,t)===f)return I;if(q(23,f,i,t))return I;if(q([c,l],d,i,t))return I;if(q(12,12,i,t))return I;if(L===o)return T;if(23===L||23===R)return I;if(16===R||16===L)return T;if(-1!==[a,s,d].indexOf(R)||14===L)return I;if(36===D&&-1!==M.indexOf(L))return I;if(L===m&&36===R)return I;if(R===h&&-1!==N.concat(h,u,p,F,C,y).indexOf(L))return I;if(-1!==N.indexOf(R)&&L===p||-1!==N.indexOf(L)&&R===p)return I;if(L===w&&-1!==[F,C,y].indexOf(R)||-1!==[F,C,y].indexOf(L)&&R===g)return I;if(-1!==N.indexOf(L)&&-1!==P.indexOf(R)||-1!==P.indexOf(L)&&-1!==N.indexOf(R))return I;if(-1!==[w,g].indexOf(L)&&(R===p||-1!==[f,s].indexOf(R)&&t[x+1]===p)||-1!==[f,s].indexOf(L)&&R===p||L===p&&-1!==[p,m,B].indexOf(R))return I;if(-1!==[p,m,B,c,l].indexOf(R))for(var z=i;z>=0;){var V=t[z];if(V===p)return I;if(-1===[m,B].indexOf(V))break;z--}if(-1!==[w,g].indexOf(R))for(var j=-1!==[c,l].indexOf(L)?Q:i;j>=0;){var G=t[j];if(G===p)return I;if(-1===[m,B].indexOf(G))break;j--}if(E===L&&-1!==[E,b,v,U].indexOf(R)||-1!==[b,v].indexOf(L)&&-1!==[b,H].indexOf(R)||-1!==[H,U].indexOf(L)&&R===H)return I;if(-1!==K.indexOf(L)&&-1!==[h,g].indexOf(R)||-1!==K.indexOf(R)&&L===w)return I;if(-1!==N.indexOf(L)&&-1!==N.indexOf(R))return I;if(L===B&&-1!==N.indexOf(R))return I;if(-1!==N.concat(p).indexOf(L)&&R===f||-1!==N.concat(p).indexOf(R)&&L===l)return I;if(41===L&&41===R){for(var Y=e[i],J=1;Y>0&&(Y--,41===t[Y]);)J++;if(J%2!=0)return I}return L===C&&R===y?I:T},j=(t.lineBreakAtIndex=function(A,t){if(0===t)return I;if(t>=A.length)return _;var e=z(A),r=n(e,2),i=r[0],o=r[1];return V(A,o,i,t)},function(A,t){t||(t={lineBreak:"normal",wordBreak:"normal"});var e=z(A,t.lineBreak),r=n(e,3),i=r[0],o=r[1],a=r[2];"break-all"!==t.wordBreak&&"break-word"!==t.wordBreak||(o=o.map(function(A){return-1!==[p,Q,x].indexOf(A)?F:A}));return[i,o,"keep-all"===t.wordBreak?a.map(function(t,e){return t&&A[e]>=19968&&A[e]<=40959}):null]}),G=(t.inlineBreakOpportunities=function(A,t){var e=(0,L.toCodePoints)(A),r=I,i=j(e,t),o=n(i,3),a=o[0],s=o[1],c=o[2];return e.forEach(function(A,t){r+=(0,L.fromCodePoint)(A)+(t>=e.length-1?_:V(e,s,a,t+1,c))}),r},function(){function A(t,e,n,r){!function(A,t){if(!(A instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),this._codePoints=t,this.required=e===_,this.start=n,this.end=r}return e(A,[{key:"slice",value:function(){return L.fromCodePoint.apply(void 0,function(A){if(Array.isArray(A)){for(var t=0,e=Array(A.length);t<A.length;t++)e[t]=A[t];return e}return Array.from(A)}(this._codePoints.slice(this.start,this.end)))}}]),A}());t.LineBreaker=function(A,t){var e=(0,L.toCodePoints)(A),r=j(e,t),i=n(r,3),o=i[0],a=i[1],s=i[2],c=e.length,l=0,u=0;return{next:function(){if(u>=c)return{done:!0};for(var A=I;u<c&&(A=V(e,a,o,++u,s))===I;);if(A!==I||u===c){var t=new G(e,A,l,u);return l=u,{value:t,done:!1}}return{done:!0}}}}});t(R);R.LineBreaker,R.inlineBreakOpportunities,R.lineBreakAtIndex,R.codePointsToCharacterClasses,R.UnicodeTrie,R.BREAK_ALLOWED,R.BREAK_NOT_ALLOWED,R.BREAK_MANDATORY,R.classes,R.LETTER_NUMBER_MODIFIER;var K=e(function(A,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"toCodePoints",{enumerable:!0,get:function(){return L.toCodePoints}}),Object.defineProperty(t,"fromCodePoint",{enumerable:!0,get:function(){return L.fromCodePoint}}),Object.defineProperty(t,"LineBreaker",{enumerable:!0,get:function(){return R.LineBreaker}})});t(K);var M=e(function(A,t){Object.defineProperty(t,"__esModule",{value:!0}),t.breakWords=t.fromCodePoint=t.toCodePoints=void 0,Object.defineProperty(t,"toCodePoints",{enumerable:!0,get:function(){return K.toCodePoints}}),Object.defineProperty(t,"fromCodePoint",{enumerable:!0,get:function(){return K.fromCodePoint}});(function(A){A&&A.__esModule})(G),t.breakWords=function(A,t){for(var e=(0,K.LineBreaker)(A,{lineBreak:t.style.lineBreak,wordBreak:t.style.overflowWrap===H.OVERFLOW_WRAP.BREAK_WORD?"break-word":t.style.wordBreak}),n=[],r=void 0;!(r=e.next()).done;)n.push(r.value.slice());return n}});t(M);M.breakWords,M.fromCodePoint,M.toCodePoints;var z=e(function(A,t){Object.defineProperty(t,"__esModule",{value:!0}),t.parseTextBounds=t.TextBounds=void 0;var e=function(A){return A&&A.__esModule?A:{default:A}}(P),n=t.TextBounds=function A(t,e){!function(A,t){if(!(A instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),this.text=t,this.bounds=e},r=(t.parseTextBounds=function(A,t,o){for(var s=0!==t.style.letterSpacing?(0,M.toCodePoints)(A).map(function(A){return(0,M.fromCodePoint)(A)}):(0,M.breakWords)(A,t),c=s.length,l=o.parentNode?o.parentNode.ownerDocument.defaultView:null,u=l?l.pageXOffset:0,h=l?l.pageYOffset:0,d=[],f=0,B=0;B<c;B++){var p=s[B];if(t.style.textDecoration!==a.TEXT_DECORATION.NONE||p.trim().length>0)if(e.default.SUPPORT_RANGE_BOUNDS)d.push(new n(p,i(o,f,p.length,u,h)));else{var g=o.splitText(p.length);d.push(new n(p,r(o,u,h))),o=g}else e.default.SUPPORT_RANGE_BOUNDS||(o=o.splitText(p.length));f+=p.length}return d},function(A,t,e){var n=A.ownerDocument.createElement("html2canvaswrapper");n.appendChild(A.cloneNode(!0));var r=A.parentNode;if(r){r.replaceChild(n,A);var i=(0,B.parseBounds)(n,t,e);return n.firstChild&&r.replaceChild(n.firstChild,n),i}return new B.Bounds(0,0,0,0)}),i=function(A,t,e,n,r){var i=A.ownerDocument.createRange();return i.setStart(A,t),i.setEnd(A,t+e),B.Bounds.fromClientRect(i.getBoundingClientRect(),n,r)}});t(z);z.parseTextBounds,z.TextBounds;var q=e(function(A,t){function e(A,t,e){return A.length>0?t+e.toUpperCase():A}Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function A(A,t){for(var e=0;e<t.length;e++){var n=t[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(A,n.key,n)}}return function(t,e,n){return e&&A(t.prototype,e),n&&A(t,n),t}}(),r=function(){function A(t,e,n){!function(A,t){if(!(A instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),this.text=t,this.parent=e,this.bounds=n}return n(A,null,[{key:"fromTextNode",value:function(t,e){var n=o(t.data,e.style.textTransform);return new A(n,e,(0,z.parseTextBounds)(n,e,t))}}]),A}();t.default=r;var i=/(^|\s|:|-|\(|\))([a-z])/g,o=function(A,t){switch(t){case I.TEXT_TRANSFORM.LOWERCASE:return A.toLowerCase();case I.TEXT_TRANSFORM.CAPITALIZE:return A.replace(i,e);case I.TEXT_TRANSFORM.UPPERCASE:return A.toUpperCase();default:return A}}});t(q);var X=e(function(A,t){Object.defineProperty(t,"__esModule",{value:!0});t.default=function A(t,e,n){!function(t,e){if(!(t instanceof A))throw new TypeError("Cannot call a class as a function")}(this),this.type=i.PATH.CIRCLE,this.x=t,this.y=e,this.radius=n}});t(X);var V=e(function(A,t){function e(A){return A&&A.__esModule?A:{default:A}}Object.defineProperty(t,"__esModule",{value:!0}),t.reformatInputBounds=t.inlineSelectElement=t.inlineTextAreaElement=t.inlineInputElement=t.getInputBorderRadius=t.INPUT_BACKGROUND=t.INPUT_BORDERS=t.INPUT_COLOR=void 0;var n=e(q),r=e(X),i=e(d),a=e(o),s=e(u),c=(t.INPUT_COLOR=new a.default([42,42,42]),new a.default([165,165,165])),h=new a.default([222,222,222]),f={borderWidth:1,borderColor:c,borderStyle:w.BORDER_STYLE.SOLID},B=(t.INPUT_BORDERS=[f,f,f,f],t.INPUT_BACKGROUND={backgroundColor:h,backgroundImage:[],backgroundClip:g.BACKGROUND_CLIP.PADDING_BOX,backgroundOrigin:g.BACKGROUND_ORIGIN.PADDING_BOX},new s.default("50%")),p=[B,B],m=[p,p,p,p],Q=new s.default("3px"),C=[Q,Q],y=[C,C,C,C],v=(t.getInputBorderRadius=function(A){return"radio"===A.type?m:y},t.inlineInputElement=function(A,t){if("radio"===A.type||"checkbox"===A.type){if(A.checked){var e=Math.min(t.bounds.width,t.bounds.height);t.childNodes.push("checkbox"===A.type?[new i.default(t.bounds.left+.39363*e,t.bounds.top+.79*e),new i.default(t.bounds.left+.16*e,t.bounds.top+.5549*e),new i.default(t.bounds.left+.27347*e,t.bounds.top+.44071*e),new i.default(t.bounds.left+.39694*e,t.bounds.top+.5649*e),new i.default(t.bounds.left+.72983*e,t.bounds.top+.23*e),new i.default(t.bounds.left+.84*e,t.bounds.top+.34085*e),new i.default(t.bounds.left+.39363*e,t.bounds.top+.79*e)]:new r.default(t.bounds.left+e/4,t.bounds.top+e/4,e/4))}}else v(U(A),A,t,!1)},t.inlineTextAreaElement=function(A,t){v(A.value,A,t,!0)},t.inlineSelectElement=function(A,t){var e=A.options[A.selectedIndex||0];v(e?e.text||"":"",A,t,!1)},t.reformatInputBounds=function(A){return A.width>A.height?(A.left+=(A.width-A.height)/2,A.width=A.height):A.width<A.height&&(A.top+=(A.height-A.width)/2,A.height=A.width),A},function(A,t,e,r){var i=t.ownerDocument.body;if(A.length>0&&i){var o=t.ownerDocument.createElement("html2canvaswrapper");(0,l.copyCSSStyles)(t.ownerDocument.defaultView.getComputedStyle(t,null),o),o.style.position="absolute",o.style.left=e.bounds.left+"px",o.style.top=e.bounds.top+"px",r||(o.style.whiteSpace="nowrap");var a=t.ownerDocument.createTextNode(A);o.appendChild(a),i.appendChild(o),e.childNodes.push(n.default.fromTextNode(a,e)),i.removeChild(o)}}),U=function(A){var t="password"===A.type?new Array(A.value.length+1).join("•"):A.value;return 0===t.length?A.placeholder||"":t}});t(V);V.reformatInputBounds,V.inlineSelectElement,V.inlineTextAreaElement,V.inlineInputElement,V.getInputBorderRadius,V.INPUT_BACKGROUND,V.INPUT_BORDERS,V.INPUT_COLOR;var j=e(function(A,t){function e(A){return A&&A.__esModule?A:{default:A}}Object.defineProperty(t,"__esModule",{value:!0}),t.createCounterText=t.inlineListItemElement=t.getListOwner=void 0;var n=e(G),r=e(q),i=["OL","UL","MENU"],o=(t.getListOwner=function(A){var t=A.parent;if(!t)return null;do{if(-1!==i.indexOf(t.tagName))return t;t=t.parent}while(t);return A.parent},t.inlineListItemElement=function(A,t,e){var i=t.style.listStyle;if(i){var o=A.ownerDocument.defaultView.getComputedStyle(A,null),a=A.ownerDocument.createElement("html2canvaswrapper");switch((0,l.copyCSSStyles)(o,a),a.style.position="absolute",a.style.bottom="auto",a.style.display="block",a.style.letterSpacing="normal",i.listStylePosition){case F.LIST_STYLE_POSITION.OUTSIDE:a.style.left="auto",a.style.right=A.ownerDocument.defaultView.innerWidth-t.bounds.left-t.style.margin[1].getAbsoluteValue(t.bounds.width)+7+"px",a.style.textAlign="right";break;case F.LIST_STYLE_POSITION.INSIDE:a.style.left=t.bounds.left-t.style.margin[3].getAbsoluteValue(t.bounds.width)+"px",a.style.right="auto",a.style.textAlign="left"}var s=void 0,c=t.style.margin[0].getAbsoluteValue(t.bounds.width),u=i.listStyleImage;if(u)if("url"===u.method){var h=A.ownerDocument.createElement("img");h.src=u.args[0],a.style.top=t.bounds.top-c+"px",a.style.width="auto",a.style.height="auto",a.appendChild(h)}else{var d=.5*parseFloat(t.style.font.fontSize);a.style.top=t.bounds.top-c+t.bounds.height-1.5*d+"px",a.style.width=d+"px",a.style.height=d+"px",a.style.backgroundImage=o.listStyleImage}else"number"==typeof t.listIndex&&(s=A.ownerDocument.createTextNode(p(t.listIndex,i.listStyleType,!0)),a.appendChild(s),a.style.top=t.bounds.top-c+"px");var f=A.ownerDocument.body;f.appendChild(a),s?(t.childNodes.push(r.default.fromTextNode(s,t)),f.removeChild(a)):t.childNodes.push(new n.default(a,t,e,0))}},{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"]}),a={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:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},s={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:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},c={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:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},u=function(A,t,e,n,r,i){return A<t||A>e?p(A,r,i.length>0):n.integers.reduce(function(t,e,r){for(;A>=e;)A-=e,t+=n.values[r];return t},"")+i},h=function(A,t,e,n){var r="";do{e||A--,r=n(A)+r,A/=t}while(A*t>=t);return r},d=function(A,t,e,n,r){var i=e-t+1;return(A<0?"-":"")+(h(Math.abs(A),i,n,function(A){return(0,M.fromCodePoint)(Math.floor(A%i)+t)})+r)},f=function(A,t){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:". ",n=t.length;return h(Math.abs(A),n,!1,function(A){return t[Math.floor(A%n)]})+e},B=function(A,t,e,n,r,i){if(A<-9999||A>9999)return p(A,F.LIST_STYLE_TYPE.CJK_DECIMAL,r.length>0);var o=Math.abs(A),a=r;if(0===o)return t[0]+a;for(var s=0;o>0&&s<=4;s++){var c=o%10;0===c&&(0,l.contains)(i,1)&&""!==a?a=t[c]+a:c>1||1===c&&0===s||1===c&&1===s&&(0,l.contains)(i,2)||1===c&&1===s&&(0,l.contains)(i,4)&&A>100||1===c&&s>1&&(0,l.contains)(i,8)?a=t[c]+(s>0?e[s-1]:"")+a:1===c&&s>0&&(a=e[s-1]+a),o=Math.floor(o/10)}return(A<0?n:"")+a},p=t.createCounterText=function(A,t,e){var n=e?". ":"",r=e?"、":"",i=e?", ":"";switch(t){case F.LIST_STYLE_TYPE.DISC:return"•";case F.LIST_STYLE_TYPE.CIRCLE:return"◦";case F.LIST_STYLE_TYPE.SQUARE:return"◾";case F.LIST_STYLE_TYPE.DECIMAL_LEADING_ZERO:var l=d(A,48,57,!0,n);return l.length<4?"0"+l:l;case F.LIST_STYLE_TYPE.CJK_DECIMAL:return f(A,"〇一二三四五六七八九",r);case F.LIST_STYLE_TYPE.LOWER_ROMAN:return u(A,1,3999,o,F.LIST_STYLE_TYPE.DECIMAL,n).toLowerCase();case F.LIST_STYLE_TYPE.UPPER_ROMAN:return u(A,1,3999,o,F.LIST_STYLE_TYPE.DECIMAL,n);case F.LIST_STYLE_TYPE.LOWER_GREEK:return d(A,945,969,!1,n);case F.LIST_STYLE_TYPE.LOWER_ALPHA:return d(A,97,122,!1,n);case F.LIST_STYLE_TYPE.UPPER_ALPHA:return d(A,65,90,!1,n);case F.LIST_STYLE_TYPE.ARABIC_INDIC:return d(A,1632,1641,!0,n);case F.LIST_STYLE_TYPE.ARMENIAN:case F.LIST_STYLE_TYPE.UPPER_ARMENIAN:return u(A,1,9999,a,F.LIST_STYLE_TYPE.DECIMAL,n);case F.LIST_STYLE_TYPE.LOWER_ARMENIAN:return u(A,1,9999,a,F.LIST_STYLE_TYPE.DECIMAL,n).toLowerCase();case F.LIST_STYLE_TYPE.BENGALI:return d(A,2534,2543,!0,n);case F.LIST_STYLE_TYPE.CAMBODIAN:case F.LIST_STYLE_TYPE.KHMER:return d(A,6112,6121,!0,n);case F.LIST_STYLE_TYPE.CJK_EARTHLY_BRANCH:return f(A,"子丑寅卯辰巳午未申酉戌亥",r);case F.LIST_STYLE_TYPE.CJK_HEAVENLY_STEM:return f(A,"甲乙丙丁戊己庚辛壬癸",r);case F.LIST_STYLE_TYPE.CJK_IDEOGRAPHIC:case F.LIST_STYLE_TYPE.TRAD_CHINESE_INFORMAL:return B(A,"零一二三四五六七八九","十百千萬","負",r,14);case F.LIST_STYLE_TYPE.TRAD_CHINESE_FORMAL:return B(A,"零壹貳參肆伍陸柒捌玖","拾佰仟萬","負",r,15);case F.LIST_STYLE_TYPE.SIMP_CHINESE_INFORMAL:return B(A,"零一二三四五六七八九","十百千萬","负",r,14);case F.LIST_STYLE_TYPE.SIMP_CHINESE_FORMAL:return B(A,"零壹贰叁肆伍陆柒捌玖","拾佰仟萬","负",r,15);case F.LIST_STYLE_TYPE.JAPANESE_INFORMAL:return B(A,"〇一二三四五六七八九","十百千万","マイナス",r,0);case F.LIST_STYLE_TYPE.JAPANESE_FORMAL:return B(A,"零壱弐参四伍六七八九","拾百千万","マイナス",r,7);case F.LIST_STYLE_TYPE.KOREAN_HANGUL_FORMAL:return B(A,"영일이삼사오육칠팔구","십백천만","마이너스 ",i,7);case F.LIST_STYLE_TYPE.KOREAN_HANJA_INFORMAL:return B(A,"零一二三四五六七八九","十百千萬","마이너스 ",i,0);case F.LIST_STYLE_TYPE.KOREAN_HANJA_FORMAL:return B(A,"零壹貳參四五六七八九","拾百千","마이너스 ",i,7);case F.LIST_STYLE_TYPE.DEVANAGARI:return d(A,2406,2415,!0,n);case F.LIST_STYLE_TYPE.GEORGIAN:return u(A,1,19999,c,F.LIST_STYLE_TYPE.DECIMAL,n);case F.LIST_STYLE_TYPE.GUJARATI:return d(A,2790,2799,!0,n);case F.LIST_STYLE_TYPE.GURMUKHI:return d(A,2662,2671,!0,n);case F.LIST_STYLE_TYPE.HEBREW:return u(A,1,10999,s,F.LIST_STYLE_TYPE.DECIMAL,n);case F.LIST_STYLE_TYPE.HIRAGANA:return f(A,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case F.LIST_STYLE_TYPE.HIRAGANA_IROHA:return f(A,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case F.LIST_STYLE_TYPE.KANNADA:return d(A,3302,3311,!0,n);case F.LIST_STYLE_TYPE.KATAKANA:return f(A,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",r);case F.LIST_STYLE_TYPE.KATAKANA_IROHA:return f(A,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",r);case F.LIST_STYLE_TYPE.LAO:return d(A,3792,3801,!0,n);case F.LIST_STYLE_TYPE.MONGOLIAN:return d(A,6160,6169,!0,n);case F.LIST_STYLE_TYPE.MYANMAR:return d(A,4160,4169,!0,n);case F.LIST_STYLE_TYPE.ORIYA:return d(A,2918,2927,!0,n);case F.LIST_STYLE_TYPE.PERSIAN:return d(A,1776,1785,!0,n);case F.LIST_STYLE_TYPE.TAMIL:return d(A,3046,3055,!0,n);case F.LIST_STYLE_TYPE.TELUGU:return d(A,3174,3183,!0,n);case F.LIST_STYLE_TYPE.THAI:return d(A,3664,3673,!0,n);case F.LIST_STYLE_TYPE.TIBETAN:return d(A,3872,3881,!0,n);case F.LIST_STYLE_TYPE.DECIMAL:default:return d(A,48,57,!0,n)}}});t(j);j.createCounterText,j.inlineListItemElement,j.getListOwner;var G=e(function(A,t){Object.defineProperty(t,"__esModule",{value:!0});var e=function(){function A(A,t){for(var e=0;e<t.length;e++){var n=t[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(A,n.key,n)}}return function(t,e,n){return e&&A(t.prototype,e),n&&A(t,n),t}}(),n=function(A){return A&&A.__esModule?A:{default:A}}(o),r=["INPUT","TEXTAREA","SELECT"],i=function(){function A(t,e,i,o){var c=this;!function(A,t){if(!(A instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),this.parent=e,this.tagName=t.tagName,this.index=o,this.childNodes=[],this.listItems=[],"number"==typeof t.start&&(this.listStart=t.start);var l=t.ownerDocument.defaultView,u=l.pageXOffset,h=l.pageYOffset,d=l.getComputedStyle(t,null),f=(0,Q.parseDisplay)(d.display),k="radio"===t.type||"checkbox"===t.type,P=(0,x.parsePosition)(d.position);if(this.style={background:k?V.INPUT_BACKGROUND:(0,g.parseBackground)(d,i),border:k?V.INPUT_BORDERS:(0,w.parseBorder)(d),borderRadius:(t instanceof l.HTMLInputElement||t instanceof HTMLInputElement)&&k?(0,V.getInputBorderRadius)(t):(0,m.parseBorderRadius)(d),color:k?V.INPUT_COLOR:new n.default(d.color),display:f,float:(0,C.parseCSSFloat)(d.float),font:(0,y.parseFont)(d),letterSpacing:(0,v.parseLetterSpacing)(d.letterSpacing),listStyle:f===Q.DISPLAY.LIST_ITEM?(0,F.parseListStyle)(d):null,lineBreak:(0,U.parseLineBreak)(d.lineBreak),margin:(0,E.parseMargin)(d),opacity:parseFloat(d.opacity),overflow:-1===r.indexOf(t.tagName)?(0,b.parseOverflow)(d.overflow):b.OVERFLOW.HIDDEN,overflowWrap:(0,H.parseOverflowWrap)(d.overflowWrap?d.overflowWrap:d.wordWrap),padding:(0,p.parsePadding)(d),position:P,textDecoration:(0,a.parseTextDecoration)(d),textShadow:(0,_.parseTextShadow)(d.textShadow),textTransform:(0,I.parseTextTransform)(d.textTransform),transform:(0,T.parseTransform)(d),visibility:(0,S.parseVisibility)(d.visibility),wordBreak:(0,N.parseWordBreak)(d.wordBreak),zIndex:(0,O.parseZIndex)(P!==x.POSITION.STATIC?d.zIndex:"auto")},this.isTransformed()&&(t.style.transform="matrix(1,0,0,1,0,0)"),f===Q.DISPLAY.LIST_ITEM){var L=(0,j.getListOwner)(this);if(L){var D=L.listItems.length;L.listItems.push(this),this.listIndex=t.hasAttribute("value")&&"number"==typeof t.value?t.value:0===D?"number"==typeof L.listStart?L.listStart:1:L.listItems[D-1].listIndex+1}}"IMG"===t.tagName&&t.addEventListener("load",function(){c.bounds=(0,B.parseBounds)(t,u,h),c.curvedBounds=(0,B.parseBoundCurves)(c.bounds,c.style.border,c.style.borderRadius)}),this.image=s(t,i),this.bounds=k?(0,V.reformatInputBounds)((0,B.parseBounds)(t,u,h)):(0,B.parseBounds)(t,u,h),this.curvedBounds=(0,B.parseBoundCurves)(this.bounds,this.style.border,this.style.borderRadius)}return e(A,[{key:"getClipPaths",value:function(){var A=this.parent?this.parent.getClipPaths():[];return this.style.overflow!==b.OVERFLOW.VISIBLE?A.concat([(0,B.calculatePaddingBoxPath)(this.curvedBounds)]):A}},{key:"isInFlow",value:function(){return this.isRootElement()&&!this.isFloating()&&!this.isAbsolutelyPositioned()}},{key:"isVisible",value:function(){return!(0,l.contains)(this.style.display,Q.DISPLAY.NONE)&&this.style.opacity>0&&this.style.visibility===S.VISIBILITY.VISIBLE}},{key:"isAbsolutelyPositioned",value:function(){return this.style.position!==x.POSITION.STATIC&&this.style.position!==x.POSITION.RELATIVE}},{key:"isPositioned",value:function(){return this.style.position!==x.POSITION.STATIC}},{key:"isFloating",value:function(){return this.style.float!==C.FLOAT.NONE}},{key:"isRootElement",value:function(){return null===this.parent}},{key:"isTransformed",value:function(){return null!==this.style.transform}},{key:"isPositionedWithZIndex",value:function(){return this.isPositioned()&&!this.style.zIndex.auto}},{key:"isInlineLevel",value:function(){return(0,l.contains)(this.style.display,Q.DISPLAY.INLINE)||(0,l.contains)(this.style.display,Q.DISPLAY.INLINE_BLOCK)||(0,l.contains)(this.style.display,Q.DISPLAY.INLINE_FLEX)||(0,l.contains)(this.style.display,Q.DISPLAY.INLINE_GRID)||(0,l.contains)(this.style.display,Q.DISPLAY.INLINE_LIST_ITEM)||(0,l.contains)(this.style.display,Q.DISPLAY.INLINE_TABLE)}},{key:"isInlineBlockOrInlineTable",value:function(){return(0,l.contains)(this.style.display,Q.DISPLAY.INLINE_BLOCK)||(0,l.contains)(this.style.display,Q.DISPLAY.INLINE_TABLE)}}]),A}();t.default=i;var s=function(A,t){if(A instanceof A.ownerDocument.defaultView.SVGSVGElement||A instanceof SVGSVGElement){var e=new XMLSerializer;return t.loadImage("data:image/svg+xml,"+encodeURIComponent(e.serializeToString(A)))}switch(A.tagName){case"IMG":var n=A;return t.loadImage(n.currentSrc||n.src);case"CANVAS":var r=A;return t.loadCanvas(r);case"IFRAME":var i=A.getAttribute("data-html2canvas-internal-iframe-key");if(i)return i}return null}});t(G);var Y=e(function(A,t){Object.defineProperty(t,"__esModule",{value:!0});var e=function(){function A(A,t){for(var e=0;e<t.length;e++){var n=t[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(A,n.key,n)}}return function(t,e,n){return e&&A(t.prototype,e),n&&A(t,n),t}}(),n=(function(A){A&&A.__esModule}(G),function(){function A(t,e,n){!function(A,t){if(!(A instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),this.container=t,this.parent=e,this.contexts=[],this.children=[],this.treatAsRealStackingContext=n}return e(A,[{key:"getOpacity",value:function(){return this.parent?this.container.style.opacity*this.parent.getOpacity():this.container.style.opacity}},{key:"getRealParentStackingContext",value:function(){return!this.parent||this.treatAsRealStackingContext?this:this.parent.getRealParentStackingContext()}}]),A}());t.default=n});t(Y);var J=e(function(A,t){function e(A){return A&&A.__esModule?A:{default:A}}Object.defineProperty(t,"__esModule",{value:!0}),t.NodeParser=void 0;var n=e(Y),r=e(G),i=e(q),o=(t.NodeParser=function(A,t,e){var i=0,o=new r.default(A,null,t,i++),s=new n.default(o,null,!0);return a(A,o,s,t,i),s},["SCRIPT","HEAD","TITLE","OBJECT","BR","OPTION"]),a=function A(t,e,a,l,u){for(var h,d=t.firstChild;d;d=h){h=d.nextSibling;var f=d.ownerDocument.defaultView;if(d instanceof f.Text||d instanceof Text||f.parent&&d instanceof f.parent.Text)d.data.trim().length>0&&e.childNodes.push(i.default.fromTextNode(d,e));else if(d instanceof f.HTMLElement||d instanceof HTMLElement||f.parent&&d instanceof f.parent.HTMLElement){if(-1===o.indexOf(d.nodeName)){var B=new r.default(d,e,l,u++);if(B.isVisible()){"INPUT"===d.tagName?(0,V.inlineInputElement)(d,B):"TEXTAREA"===d.tagName?(0,V.inlineTextAreaElement)(d,B):"SELECT"===d.tagName?(0,V.inlineSelectElement)(d,B):B.style.listStyle&&B.style.listStyle.listStyleType!==F.LIST_STYLE_TYPE.NONE&&(0,j.inlineListItemElement)(d,B,l);var p="TEXTAREA"!==d.tagName,g=s(B,d);if(g||c(B)){var w=g||B.isPositioned()?a.getRealParentStackingContext():a,m=new n.default(B,w,g);w.contexts.push(m),p&&A(d,B,m,l,u)}else a.children.push(B),p&&A(d,B,a,l,u)}}}else if(d instanceof f.SVGSVGElement||d instanceof SVGSVGElement||f.parent&&d instanceof f.parent.SVGSVGElement){var Q=new r.default(d,e,l,u++),C=s(Q,d);if(C||c(Q)){var y=C||Q.isPositioned()?a.getRealParentStackingContext():a,v=new n.default(Q,y,C);y.contexts.push(v)}else a.children.push(Q)}}},s=function(A,t){return A.isRootElement()||A.isPositionedWithZIndex()||A.style.opacity<1||A.isTransformed()||l(A,t)},c=function(A){return A.isPositioned()||A.isFloating()},l=function(A,t){return"BODY"===t.nodeName&&A.parent instanceof r.default&&A.parent.style.background.backgroundColor.isTransparent()}});t(J);J.NodeParser;var W=e(function(A,t){Object.defineProperty(t,"__esModule",{value:!0}),t.FontMetrics=void 0;var e=function(){function A(A,t){for(var e=0;e<t.length;e++){var n=t[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(A,n.key,n)}}return function(t,e,n){return e&&A(t.prototype,e),n&&A(t,n),t}}();t.FontMetrics=function(){function A(t){!function(A,t){if(!(A instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),this._data={},this._document=t}return e(A,[{key:"_parseMetrics",value:function(A){var t=this._document.createElement("div"),e=this._document.createElement("img"),n=this._document.createElement("span"),r=this._document.body;if(!r)throw new Error("");t.style.visibility="hidden",t.style.fontFamily=A.fontFamily,t.style.fontSize=A.fontSize,t.style.margin="0",t.style.padding="0",r.appendChild(t),e.src=l.SMALL_IMAGE,e.width=1,e.height=1,e.style.margin="0",e.style.padding="0",e.style.verticalAlign="baseline",n.style.fontFamily=A.fontFamily,n.style.fontSize=A.fontSize,n.style.margin="0",n.style.padding="0",n.appendChild(this._document.createTextNode("Hidden Text")),t.appendChild(n),t.appendChild(e);var i=e.offsetTop-n.offsetTop+2;t.removeChild(n),t.appendChild(this._document.createTextNode("Hidden Text")),t.style.lineHeight="normal",e.style.verticalAlign="super";var o=e.offsetTop-t.offsetTop+2;return r.removeChild(t),{baseline:i,middle:o}}},{key:"getMetrics",value:function(A){var t=A.fontFamily+" "+A.fontSize;return void 0===this._data[t]&&(this._data[t]=this._parseMetrics(A)),this._data[t]}}]),A}()});t(W);W.FontMetrics;var Z=e(function(A,t){Object.defineProperty(t,"__esModule",{value:!0});var e=/([+-]?\d*\.?\d+)(deg|grad|rad|turn)/i;t.parseAngle=function(A){var t=A.match(e);if(t){var n=parseFloat(t[1]);switch(t[2].toLowerCase()){case"deg":return Math.PI*n/180;case"grad":return Math.PI/200*n;case"rad":return n;case"turn":return 2*Math.PI*n}}return null}});t(Z);Z.parseAngle;var $=e(function(A,t){function e(A){return A&&A.__esModule?A:{default:A}}function n(A,t){if(!(A instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0}),t.transformWebkitRadialGradientArgs=t.parseGradient=t.RadialGradient=t.LinearGradient=t.RADIAL_GRADIENT_SHAPE=t.GRADIENT_TYPE=void 0;var r=function(){return function(A,t){if(Array.isArray(A))return A;if(Symbol.iterator in Object(A))return function(A,t){var e=[],n=!0,r=!1,i=void 0;try{for(var o,a=A[Symbol.iterator]();!(n=(o=a.next()).done)&&(e.push(o.value),!t||e.length!==t);n=!0);}catch(A){r=!0,i=A}finally{try{!n&&a.return&&a.return()}finally{if(r)throw i}}return e}(A,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=(e(G),e(o)),a=e(u),s=/^(to )?(left|top|right|bottom)( (left|top|right|bottom))?$/i,c=/^([+-]?\d*\.?\d+)% ([+-]?\d*\.?\d+)%$/i,h=/(px)|%|( 0)$/i,d=/^(from|to|color-stop)\((?:([\d.]+)(%)?,\s*)?(.+?)\)$/i,f=/^\s*(circle|ellipse)?\s*((?:([\d.]+)(px|r?em|%)\s*(?:([\d.]+)(px|r?em|%))?)|closest-side|closest-corner|farthest-side|farthest-corner)?\s*(?:at\s*(?:(left|center|right)|([\d.]+)(px|r?em|%))\s+(?:(top|center|bottom)|([\d.]+)(px|r?em|%)))?(?:\s|$)/i,B=t.GRADIENT_TYPE={LINEAR_GRADIENT:0,RADIAL_GRADIENT:1},p=t.RADIAL_GRADIENT_SHAPE={CIRCLE:0,ELLIPSE:1},g={left:new a.default("0%"),top:new a.default("0%"),center:new a.default("50%"),right:new a.default("100%"),bottom:new a.default("100%")},w=t.LinearGradient=function A(t,e){n(this,A),this.type=B.LINEAR_GRADIENT,this.colorStops=t,this.direction=e},m=t.RadialGradient=function A(t,e,r,i){n(this,A),this.type=B.RADIAL_GRADIENT,this.colorStops=t,this.shape=e,this.center=r,this.radius=i},Q=(t.parseGradient=function(A,t,e){var n=t.args,r=t.method,i=t.prefix;return"linear-gradient"===r?C(n,e,!!i):"gradient"===r&&"linear"===n[0]?C(["to bottom"].concat(_(n.slice(3))),e,!!i):"radial-gradient"===r?y(A,"-webkit-"===i?x(n):n,e):"gradient"===r&&"radial"===n[0]?y(A,_(x(n.slice(1))),e):void 0},function(A,t,e){for(var n=[],r=t;r<A.length;r++){var o=A[r],s=h.test(o),c=o.lastIndexOf(" "),l=new i.default(s?o.substring(0,c):o),u=s?new a.default(o.substring(c+1)):r===t?new a.default("0%"):r===A.length-1?new a.default("100%"):null;n.push({color:l,stop:u})}for(var d=n.map(function(A){var t=A.color,n=A.stop;return{color:t,stop:0===e?0:n?n.getAbsoluteValue(e)/e:null}}),f=d[0].stop,B=0;B<d.length;B++)if(null!==f){var p=d[B].stop;if(null===p){for(var g=B;null===d[g].stop;)g++;for(var w=g-B+1,m=(d[g].stop-f)/w;B<g;B++)f=d[B].stop=f+m}else f=p}return d}),C=function(A,t,e){var n=(0,Z.parseAngle)(A[0]),r=s.test(A[0]),i=r||null!==n||c.test(A[0]),o=i?null!==n?v(e?n-.5*Math.PI:n,t):r?F(A[0],t):E(A[0],t):v(Math.PI,t),a=i?1:0,u=Math.min((0,l.distance)(Math.abs(o.x0)+Math.abs(o.x1),Math.abs(o.y0)+Math.abs(o.y1)),2*t.width,2*t.height);return new w(Q(A,a,u),o)},y=function(A,t,e){var n=t[0].match(f),r=n&&("circle"===n[1]||void 0!==n[3]&&void 0===n[5])?p.CIRCLE:p.ELLIPSE,i={},o={};n&&(void 0!==n[3]&&(i.x=(0,u.calculateLengthFromValueWithUnit)(A,n[3],n[4]).getAbsoluteValue(e.width)),void 0!==n[5]&&(i.y=(0,u.calculateLengthFromValueWithUnit)(A,n[5],n[6]).getAbsoluteValue(e.height)),n[7]?o.x=g[n[7].toLowerCase()]:void 0!==n[8]&&(o.x=(0,u.calculateLengthFromValueWithUnit)(A,n[8],n[9])),n[10]?o.y=g[n[10].toLowerCase()]:void 0!==n[11]&&(o.y=(0,u.calculateLengthFromValueWithUnit)(A,n[11],n[12])));var a={x:void 0===o.x?e.width/2:o.x.getAbsoluteValue(e.width),y:void 0===o.y?e.height/2:o.y.getAbsoluteValue(e.height)},s=H(n&&n[2]||"farthest-corner",r,a,i,e);return new m(Q(t,n?1:0,Math.min(s.x,s.y)),r,a,s)},v=function(A,t){var e=t.width,n=t.height,r=.5*e,i=.5*n,o=(Math.abs(e*Math.sin(A))+Math.abs(n*Math.cos(A)))/2,a=r+Math.sin(A)*o,s=i-Math.cos(A)*o;return{x0:a,x1:e-a,y0:s,y1:n-s}},U=function(A){return Math.acos(A.width/2/((0,l.distance)(A.width,A.height)/2))},F=function(A,t){switch(A){case"bottom":case"to top":return v(0,t);case"left":case"to right":return v(Math.PI/2,t);case"right":case"to left":return v(3*Math.PI/2,t);case"top right":case"right top":case"to bottom left":case"to left bottom":return v(Math.PI+U(t),t);case"top left":case"left top":case"to bottom right":case"to right bottom":return v(Math.PI-U(t),t);case"bottom left":case"left bottom":case"to top right":case"to right top":return v(U(t),t);case"bottom right":case"right bottom":case"to top left":case"to left top":return v(2*Math.PI-U(t),t);case"top":case"to bottom":default:return v(Math.PI,t)}},E=function(A,t){var e=A.split(" ").map(parseFloat),n=r(e,2),i=n[0],o=n[1],a=i/100*t.width/(o/100*t.height);return v(Math.atan(isNaN(a)?1:a)+Math.PI/2,t)},b=function(A,t,e,n){return[{x:0,y:0},{x:0,y:A.height},{x:A.width,y:0},{x:A.width,y:A.height}].reduce(function(A,r){var i=(0,l.distance)(t-r.x,e-r.y);return(n?i<A.optimumDistance:i>A.optimumDistance)?{optimumCorner:r,optimumDistance:i}:A},{optimumDistance:n?1/0:-1/0,optimumCorner:null}).optimumCorner},H=function(A,t,e,n,r){var i=e.x,o=e.y,a=0,s=0;switch(A){case"closest-side":t===p.CIRCLE?a=s=Math.min(Math.abs(i),Math.abs(i-r.width),Math.abs(o),Math.abs(o-r.height)):t===p.ELLIPSE&&(a=Math.min(Math.abs(i),Math.abs(i-r.width)),s=Math.min(Math.abs(o),Math.abs(o-r.height)));break;case"closest-corner":if(t===p.CIRCLE)a=s=Math.min((0,l.distance)(i,o),(0,l.distance)(i,o-r.height),(0,l.distance)(i-r.width,o),(0,l.distance)(i-r.width,o-r.height));else if(t===p.ELLIPSE){var c=Math.min(Math.abs(o),Math.abs(o-r.height))/Math.min(Math.abs(i),Math.abs(i-r.width)),u=b(r,i,o,!0);s=c*(a=(0,l.distance)(u.x-i,(u.y-o)/c))}break;case"farthest-side":t===p.CIRCLE?a=s=Math.max(Math.abs(i),Math.abs(i-r.width),Math.abs(o),Math.abs(o-r.height)):t===p.ELLIPSE&&(a=Math.max(Math.abs(i),Math.abs(i-r.width)),s=Math.max(Math.abs(o),Math.abs(o-r.height)));break;case"farthest-corner":if(t===p.CIRCLE)a=s=Math.max((0,l.distance)(i,o),(0,l.distance)(i,o-r.height),(0,l.distance)(i-r.width,o),(0,l.distance)(i-r.width,o-r.height));else if(t===p.ELLIPSE){var h=Math.max(Math.abs(o),Math.abs(o-r.height))/Math.max(Math.abs(i),Math.abs(i-r.width)),d=b(r,i,o,!1);s=h*(a=(0,l.distance)(d.x-i,(d.y-o)/h))}break;default:a=n.x||0,s=void 0!==n.y?n.y:a}return{x:a,y:s}},x=t.transformWebkitRadialGradientArgs=function(A){var t="",e="",n="",r="",i=0,o=/^(left|center|right|\d+(?:px|r?em|%)?)(?:\s+(top|center|bottom|\d+(?:px|r?em|%)?))?$/i,a=/^\d+(px|r?em|%)?(?:\s+\d+(px|r?em|%)?)?$/i,s=A[i].match(o);s&&i++;var c=A[i].match(/^(circle|ellipse)?\s*(closest-side|closest-corner|farthest-side|farthest-corner|contain|cover)?$/i);c&&(t=c[1]||"","contain"===(n=c[2]||"")?n="closest-side":"cover"===n&&(n="farthest-corner"),i++);var l=A[i].match(a);l&&i++;var u=A[i].match(o);u&&i++;var h=A[i].match(a);h&&i++;var d=u||s;d&&d[1]&&(r=d[1]+(/^\d+$/.test(d[1])?"px":""),d[2]&&(r+=" "+d[2]+(/^\d+$/.test(d[2])?"px":"")));var f=h||l;return f&&(e=f[0],f[1]||(e+="px")),!r||t||e||n||(e=r,r=""),r&&(r="at "+r),[[t,n,e,r].filter(function(A){return!!A}).join(" ")].concat(A.slice(i))},_=function(A){return A.map(function(A){return A.match(d)}).map(function(t,e){if(!t)return A[e];switch(t[1]){case"from":return t[4]+" 0%";case"to":return t[4]+" 100%";case"color-stop":return"%"===t[3]?t[4]+" "+t[2]:t[4]+" "+100*parseFloat(t[2])+"%"}})}});t($);$.transformWebkitRadialGradientArgs,$.parseGradient,$.RadialGradient,$.LinearGradient,$.RADIAL_GRADIENT_SHAPE,$.GRADIENT_TYPE;var AA=e(function(A,t){Object.defineProperty(t,"__esModule",{value:!0});var e=function(){return function(A,t){if(Array.isArray(A))return A;if(Symbol.iterator in Object(A))return function(A,t){var e=[],n=!0,r=!1,i=void 0;try{for(var o,a=A[Symbol.iterator]();!(n=(o=a.next()).done)&&(e.push(o.value),!t||e.length!==t);n=!0);}catch(A){r=!0,i=A}finally{try{!n&&a.return&&a.return()}finally{if(r)throw i}}return e}(A,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),n=function(){function A(A,t){for(var e=0;e<t.length;e++){var n=t[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(A,n.key,n)}}return function(t,e,n){return e&&A(t.prototype,e),n&&A(t,n),t}}(),r=function(A){return A&&A.__esModule?A:{default:A}}(q),i=function(){function A(t,e){!function(A,t){if(!(A instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),this.target=t,this.options=e,t.render(e)}return n(A,[{key:"renderNode",value:function(A){A.isVisible()&&(this.renderNodeBackgroundAndBorders(A),this.renderNodeContent(A))}},{key:"renderNodeContent",value:function(A){var t=this,e=function(){if(A.childNodes.length&&A.childNodes.forEach(function(e){if(e instanceof r.default){var n=e.parent.style;t.target.renderTextNode(e.bounds,n.color,n.font,n.textDecoration,n.textShadow)}else t.target.drawShape(e,A.style.color)}),A.image){var e=t.options.imageStore.get(A.image);if(e){var n=(0,B.calculateContentBox)(A.bounds,A.style.padding,A.style.border),i="number"==typeof e.width&&e.width>0?e.width:n.width,o="number"==typeof e.height&&e.height>0?e.height:n.height;i>0&&o>0&&t.target.clip([(0,B.calculatePaddingBoxPath)(A.curvedBounds)],function(){t.target.drawImage(e,new B.Bounds(0,0,i,o),n)})}}},n=A.getClipPaths();n.length?this.target.clip(n,e):e()}},{key:"renderNodeBackgroundAndBorders",value:function(A){var t=this,e=!A.style.background.backgroundColor.isTransparent()||A.style.background.backgroundImage.length,n=A.style.border.some(function(A){return A.borderStyle!==w.BORDER_STYLE.NONE&&!A.borderColor.isTransparent()}),r=function(){var n=(0,g.calculateBackgroungPaintingArea)(A.curvedBounds,A.style.background.backgroundClip);e&&t.target.clip([n],function(){A.style.background.backgroundColor.isTransparent()||t.target.fill(A.style.background.backgroundColor),t.renderBackgroundImage(A)}),A.style.border.forEach(function(e,n){e.borderStyle===w.BORDER_STYLE.NONE||e.borderColor.isTransparent()||t.renderBorder(e,n,A.curvedBounds)})};if(e||n){var i=A.parent?A.parent.getClipPaths():[];i.length?this.target.clip(i,r):r()}}},{key:"renderBackgroundImage",value:function(A){var t=this;A.style.background.backgroundImage.slice(0).reverse().forEach(function(e){"url"===e.source.method&&e.source.args.length?t.renderBackgroundRepeat(A,e):/gradient/i.test(e.source.method)&&t.renderBackgroundGradient(A,e)})}},{key:"renderBackgroundRepeat",value:function(A,t){var e=this.options.imageStore.get(t.source.args[0]);if(e){var n=(0,g.calculateBackgroungPositioningArea)(A.style.background.backgroundOrigin,A.bounds,A.style.padding,A.style.border),r=(0,g.calculateBackgroundSize)(t,e,n),i=(0,g.calculateBackgroundPosition)(t.position,r,n),o=(0,g.calculateBackgroundRepeatPath)(t,i,r,n,A.bounds),a=Math.round(n.left+i.x),s=Math.round(n.top+i.y);this.target.renderRepeat(o,e,r,a,s)}}},{key:"renderBackgroundGradient",value:function(A,t){var e=(0,g.calculateBackgroungPositioningArea)(A.style.background.backgroundOrigin,A.bounds,A.style.padding,A.style.border),n=(0,g.calculateGradientBackgroundSize)(t,e),r=(0,g.calculateBackgroundPosition)(t.position,n,e),i=new B.Bounds(Math.round(e.left+r.x),Math.round(e.top+r.y),n.width,n.height),o=(0,$.parseGradient)(A,t.source,i);if(o)switch(o.type){case $.GRADIENT_TYPE.LINEAR_GRADIENT:this.target.renderLinearGradient(i,o);break;case $.GRADIENT_TYPE.RADIAL_GRADIENT:this.target.renderRadialGradient(i,o)}}},{key:"renderBorder",value:function(A,t,e){this.target.drawShape((0,B.parsePathForBorder)(e,t),A.borderColor)}},{key:"renderStack",value:function(A){var t=this;if(A.container.isVisible()){var e=A.getOpacity();e!==this._opacity&&(this.target.setOpacity(A.getOpacity()),this._opacity=e);var n=A.container.style.transform;null!==n?this.target.transform(A.container.bounds.left+n.transformOrigin[0].value,A.container.bounds.top+n.transformOrigin[1].value,n.transform,function(){return t.renderStackContent(A)}):this.renderStackContent(A)}}},{key:"renderStackContent",value:function(A){var t=a(A),n=e(t,5),r=n[0],i=n[1],c=n[2],l=n[3],u=n[4],h=o(A),d=e(h,2),f=d[0],B=d[1];this.renderNodeBackgroundAndBorders(A.container),r.sort(s).forEach(this.renderStack,this),this.renderNodeContent(A.container),B.forEach(this.renderNode,this),l.forEach(this.renderStack,this),u.forEach(this.renderStack,this),f.forEach(this.renderNode,this),i.forEach(this.renderStack,this),c.sort(s).forEach(this.renderStack,this)}},{key:"render",value:function(A){this.options.backgroundColor&&this.target.rectangle(this.options.x,this.options.y,this.options.width,this.options.height,this.options.backgroundColor),this.renderStack(A);return this.target.getTarget()}}]),A}();t.default=i;var o=function(A){for(var t=[],e=[],n=A.children.length,r=0;r<n;r++){var i=A.children[r];i.isInlineLevel()?t.push(i):e.push(i)}return[t,e]},a=function(A){for(var t=[],e=[],n=[],r=[],i=[],o=A.contexts.length,a=0;a<o;a++){var s=A.contexts[a];s.container.isPositioned()||s.container.style.opacity<1||s.container.isTransformed()?s.container.style.zIndex.order<0?t.push(s):s.container.style.zIndex.order>0?n.push(s):e.push(s):s.container.isFloating()?r.push(s):i.push(s)}return[t,e,n,r,i]},s=function(A,t){return A.container.style.zIndex.order>t.container.style.zIndex.order?1:A.container.style.zIndex.order<t.container.style.zIndex.order?-1:A.container.index>t.container.index?1:-1}});t(AA);var tA=e(function(A,t){Object.defineProperty(t,"__esModule",{value:!0}),t.Proxy=void 0;var e=function(A){return A&&A.__esModule?A:{default:A}}(P);t.Proxy=function(A,t){if(!t.proxy)return Promise.reject(null);var n=t.proxy;return new Promise(function(r,i){var o=e.default.SUPPORT_CORS_XHR&&e.default.SUPPORT_RESPONSE_TYPE?"blob":"text",a=e.default.SUPPORT_CORS_XHR?new XMLHttpRequest:new XDomainRequest;if(a.onload=function(){if(a instanceof XMLHttpRequest)if(200===a.status)if("text"===o)r(a.response);else{var A=new FileReader;A.addEventListener("load",function(){return r(A.result)},!1),A.addEventListener("error",function(A){return i(A)},!1),A.readAsDataURL(a.response)}else i("");else r(a.responseText)},a.onerror=i,a.open("GET",n+"?url="+encodeURIComponent(A)+"&responseType="+o),"text"!==o&&a instanceof XMLHttpRequest&&(a.responseType=o),t.imageTimeout){var s=t.imageTimeout;a.timeout=s,a.ontimeout=function(){return i("")}}a.send()})}});t(tA);tA.Proxy;var eA=e(function(A,t){function e(A,t){if(!(A instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0}),t.ResourceStore=void 0;var n=function(){function A(A,t){for(var e=0;e<t.length;e++){var n=t[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(A,n.key,n)}}return function(t,e,n){return e&&A(t.prototype,e),n&&A(t,n),t}}(),r=function(A){return A&&A.__esModule?A:{default:A}}(P),i=function(){function A(t,n,r){e(this,A),this.options=t,this._window=r,this.origin=this.getOrigin(r.location.href),this.cache={},this.logger=n,this._index=0}return n(A,[{key:"loadImage",value:function(A){var t=this;if(this.hasResourceInCache(A))return A;if(h(A))return this.cache[A]=f(A,this.options.imageTimeout||0),A;if(!d(A)||r.default.SUPPORT_SVG_DRAWING){if(!0===this.options.allowTaint||l(A)||this.isSameOrigin(A))return this.addImage(A,A,!1);if(!this.isSameOrigin(A)){if("string"==typeof this.options.proxy)return this.cache[A]=(0,tA.Proxy)(A,this.options).then(function(A){return f(A,t.options.imageTimeout||0)}),A;if(!0===this.options.useCORS&&r.default.SUPPORT_CORS_IMAGES)return this.addImage(A,A,!0)}}}},{key:"inlineImage",value:function(A){var t=this;return l(A)?f(A,this.options.imageTimeout||0):this.hasResourceInCache(A)?this.cache[A]:this.isSameOrigin(A)||"string"!=typeof this.options.proxy?this.xhrImage(A):this.cache[A]=(0,tA.Proxy)(A,this.options).then(function(A){return f(A,t.options.imageTimeout||0)})}},{key:"xhrImage",value:function(A){var t=this;return this.cache[A]=new Promise(function(e,n){var r=new XMLHttpRequest;if(r.onreadystatechange=function(){if(4===r.readyState)if(200!==r.status)n("Failed to fetch image "+A.substring(0,256)+" with status code "+r.status);else{var t=new FileReader;t.addEventListener("load",function(){var A=t.result;e(A)},!1),t.addEventListener("error",function(A){return n(A)},!1),t.readAsDataURL(r.response)}},r.responseType="blob",t.options.imageTimeout){var i=t.options.imageTimeout;r.timeout=i,r.ontimeout=function(){return n("")}}r.open("GET",A,!0),r.send()}).then(function(A){return f(A,t.options.imageTimeout||0)}),this.cache[A]}},{key:"loadCanvas",value:function(A){var t=String(this._index++);return this.cache[t]=Promise.resolve(A),t}},{key:"hasResourceInCache",value:function(A){return void 0!==this.cache[A]}},{key:"addImage",value:function(A,t,e){var n=this,i=function(A){return new Promise(function(r,i){var o=new Image;if(o.onload=function(){return r(o)},A&&!e||(o.crossOrigin="anonymous"),o.onerror=i,o.src=t,!0===o.complete&&setTimeout(function(){r(o)},500),n.options.imageTimeout){var a=n.options.imageTimeout;setTimeout(function(){return i("")},a)}})};return this.cache[A]=u(t)&&!d(t)?r.default.SUPPORT_BASE64_DRAWING(t).then(i):i(!0),A}},{key:"isSameOrigin",value:function(A){return this.getOrigin(A)===this.origin}},{key:"getOrigin",value:function(A){var t=this._link||(this._link=this._window.document.createElement("a"));return t.href=A,t.href=t.href,t.protocol+t.hostname+t.port}},{key:"ready",value:function(){var A=this,t=Object.keys(this.cache),e=t.map(function(t){return A.cache[t].catch(function(A){return null})});return Promise.all(e).then(function(A){return new o(t,A)})}}]),A}();t.default=i;var o=t.ResourceStore=function(){function A(t,n){e(this,A),this._keys=t,this._resources=n}return n(A,[{key:"get",value:function(A){var t=this._keys.indexOf(A);return-1===t?null:this._resources[t]}}]),A}(),a=/^data:image\/svg\+xml/i,s=/^data:image\/.*;base64,/i,c=/^data:image\/.*/i,l=function(A){return c.test(A)},u=function(A){return s.test(A)},h=function(A){return"blob"===A.substr(0,4)},d=function(A){return"svg"===A.substr(-3).toLowerCase()||a.test(A)},f=function(A,t){return new Promise(function(e,n){var r=new Image;r.onload=function(){return e(r)},r.onerror=n,r.src=A,!0===r.complete&&setTimeout(function(){e(r)},500),t&&setTimeout(function(){return n("")},t)})}});t(eA);eA.ResourceStore;var nA=e(function(A,t){Object.defineProperty(t,"__esModule",{value:!0}),t.parseContent=t.resolvePseudoContent=t.popCounters=t.parseCounterReset=t.TOKEN_TYPE=t.PSEUDO_CONTENT_ITEM_TYPE=void 0;var e=function(){return function(A,t){if(Array.isArray(A))return A;if(Symbol.iterator in Object(A))return function(A,t){var e=[],n=!0,r=!1,i=void 0;try{for(var o,a=A[Symbol.iterator]();!(n=(o=a.next()).done)&&(e.push(o.value),!t||e.length!==t);n=!0);}catch(A){r=!0,i=A}finally{try{!n&&a.return&&a.return()}finally{if(r)throw i}}return e}(A,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),n=t.PSEUDO_CONTENT_ITEM_TYPE={TEXT:0,IMAGE:1},r=t.TOKEN_TYPE={STRING:0,ATTRIBUTE:1,URL:2,COUNTER:3,COUNTERS:4,OPENQUOTE:5,CLOSEQUOTE:6},i=(t.parseCounterReset=function(A,t){if(!A||!A.counterReset||"none"===A.counterReset)return[];for(var n=[],r=A.counterReset.split(/\s*,\s*/),i=r.length,o=0;o<i;o++){var a=r[o].split(/\s+/),s=e(a,2),c=s[0],l=s[1];n.push(c);var u=t.counters[c];u||(u=t.counters[c]=[]),u.push(parseInt(l||0,10))}return n},t.popCounters=function(A,t){for(var e=A.length,n=0;n<e;n++)t.counters[A[n]].pop()},t.resolvePseudoContent=function(A,t,o){if(!t||!t.content||"none"===t.content||"-moz-alt-content"===t.content||"none"===t.display)return null;var c=i(t.content),l=c.length,u=[],h="",d=t.counterIncrement;if(d&&"none"!==d){var f=d.split(/\s+/),B=e(f,2),p=B[0],g=B[1],w=o.counters[p];w&&(w[w.length-1]+=void 0===g?1:parseInt(g,10))}for(var m=0;m<l;m++){var Q=c[m];switch(Q.type){case r.STRING:h+=Q.value||"";break;case r.ATTRIBUTE:A instanceof HTMLElement&&Q.value&&(h+=A.getAttribute(Q.value)||"");break;case r.COUNTER:var C=o.counters[Q.name||""];C&&(h+=s([C[C.length-1]],"",Q.format));break;case r.COUNTERS:var y=o.counters[Q.name||""];y&&(h+=s(y,Q.glue,Q.format));break;case r.OPENQUOTE:h+=a(t,!0,o.quoteDepth),o.quoteDepth++;break;case r.CLOSEQUOTE:o.quoteDepth--,h+=a(t,!1,o.quoteDepth);break;case r.URL:h&&(u.push({type:n.TEXT,value:h}),h=""),u.push({type:n.IMAGE,value:Q.value||""})}}return h&&u.push({type:n.TEXT,value:h}),u},t.parseContent=function(A,t){if(t&&t[A])return t[A];for(var e=[],n=A.length,i=!1,a=!1,s=!1,c="",l="",u=[],h=0;h<n;h++){var d=A.charAt(h);switch(d){case"'":case'"':a?c+=d:(i=!i,s||i||(e.push({type:r.STRING,value:c}),c=""));break;case"\\":a?(c+=d,a=!1):a=!0;break;case"(":i?c+=d:(s=!0,l=c,c="",u=[]);break;case")":if(i)c+=d;else if(s){switch(c&&u.push(c),l){case"attr":u.length>0&&e.push({type:r.ATTRIBUTE,value:u[0]});break;case"counter":if(u.length>0){var f={type:r.COUNTER,name:u[0]};u.length>1&&(f.format=u[1]),e.push(f)}break;case"counters":if(u.length>0){var B={type:r.COUNTERS,name:u[0]};u.length>1&&(B.glue=u[1]),u.length>2&&(B.format=u[2]),e.push(B)}break;case"url":u.length>0&&e.push({type:r.URL,value:u[0]})}s=!1,c=""}break;case",":i?c+=d:s&&(u.push(c),c="");break;case" ":case"\t":i?c+=d:c&&(o(e,c),c="");break;default:c+=d}"\\"!==d&&(a=!1)}return c&&o(e,c),t&&(t[A]=e),e}),o=function(A,t){switch(t){case"open-quote":A.push({type:r.OPENQUOTE});break;case"close-quote":A.push({type:r.CLOSEQUOTE})}},a=function(A,t,e){var n=A.quotes?A.quotes.split(/\s+/):["'\"'","'\"'"],r=2*e;return r>=n.length&&(r=n.length-2),t||++r,n[r].replace(/^["']|["']$/g,"")},s=function(A,t,e){for(var n=A.length,r="",i=0;i<n;i++)i>0&&(r+=t||""),r+=(0,j.createCounterText)(A[i],(0,F.parseListStyleType)(e||"decimal"),!1);return r}});t(nA);nA.parseContent,nA.resolvePseudoContent,nA.popCounters,nA.parseCounterReset,nA.TOKEN_TYPE,nA.PSEUDO_CONTENT_ITEM_TYPE;var rA=e(function(A,t){function e(A){return A&&A.__esModule?A:{default:A}}Object.defineProperty(t,"__esModule",{value:!0}),t.cloneWindow=t.DocumentCloner=void 0;var n=function(){return function(A,t){if(Array.isArray(A))return A;if(Symbol.iterator in Object(A))return function(A,t){var e=[],n=!0,r=!1,i=void 0;try{for(var o,a=A[Symbol.iterator]();!(n=(o=a.next()).done)&&(e.push(o.value),!t||e.length!==t);n=!0);}catch(A){r=!0,i=A}finally{try{!n&&a.return&&a.return()}finally{if(r)throw i}}return e}(A,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function(){function A(A,t){for(var e=0;e<t.length;e++){var n=t[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(A,n.key,n)}}return function(t,e,n){return e&&A(t.prototype,e),n&&A(t,n),t}}(),i=e(eA),o=e(s),a=t.DocumentCloner=function(){function A(t,e,n,r,o){!function(A,t){if(!(A instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),this.referenceElement=t,this.scrolledElements=[],this.copyStyles=r,this.inlineImages=r,this.logger=n,this.options=e,this.renderer=o,this.resourceLoader=new i.default(e,n,window),this.pseudoContentData={counters:{},quoteDepth:0},this.documentElement=this.cloneNode(t.ownerDocument.documentElement)}return r(A,[{key:"inlineAllImages",value:function(A){var t=this;if(this.inlineImages&&A){var e=A.style;Promise.all((0,g.parseBackgroundImage)(e.backgroundImage).map(function(A){return"url"===A.method?t.resourceLoader.inlineImage(A.args[0]).then(function(A){return A&&"string"==typeof A.src?'url("'+A.src+'")':"none"}).catch(function(A){}):Promise.resolve(""+A.prefix+A.method+"("+A.args.join(",")+")")})).then(function(A){A.length>1&&(e.backgroundColor=""),e.backgroundImage=A.join(",")}),A instanceof HTMLImageElement&&this.resourceLoader.inlineImage(A.src).then(function(t){if(t&&A instanceof HTMLImageElement&&A.parentNode){var e=A.parentNode,n=(0,l.copyCSSStyles)(A.style,t.cloneNode(!1));e.replaceChild(n,A)}}).catch(function(A){})}}},{key:"inlineFonts",value:function(A){var t=this;return Promise.all(Array.from(A.styleSheets).map(function(t){return t.href?fetch(t.href).then(function(A){return A.text()}).then(function(A){return u(A,t.href)}).catch(function(A){return[]}):c(t,A)})).then(function(A){return A.reduce(function(A,t){return A.concat(t)},[])}).then(function(A){return Promise.all(A.map(function(A){return fetch(A.formats[0].src).then(function(A){return A.blob()}).then(function(A){return new Promise(function(t,e){var n=new FileReader;n.onerror=e,n.onload=function(){var A=n.result;t(A)},n.readAsDataURL(A)})}).then(function(t){return A.fontFace.setProperty("src",'url("'+t+'")'),"@font-face {"+A.fontFace.cssText+" "})}))}).then(function(e){var n=A.createElement("style");n.textContent=e.join("\n"),t.documentElement.appendChild(n)})}},{key:"createElementClone",value:function(A){var t=this;if(this.copyStyles&&A instanceof HTMLCanvasElement){var e=A.ownerDocument.createElement("img");try{return e.src=A.toDataURL(),e}catch(A){}}if(A instanceof HTMLIFrameElement){var n=A.cloneNode(!1),r=v();n.setAttribute("data-html2canvas-internal-iframe-key",r);var i=(0,B.parseBounds)(A,0,0),a=i.width,s=i.height;return this.resourceLoader.cache[r]=F(A,this.options).then(function(A){return t.renderer(A,{async:t.options.async,allowTaint:t.options.allowTaint,backgroundColor:"#ffffff",canvas:null,imageTimeout:t.options.imageTimeout,logging:t.options.logging,proxy:t.options.proxy,removeContainer:t.options.removeContainer,scale:t.options.scale,foreignObjectRendering:t.options.foreignObjectRendering,useCORS:t.options.useCORS,target:new o.default,width:a,height:s,x:0,y:0,windowWidth:A.ownerDocument.defaultView.innerWidth,windowHeight:A.ownerDocument.defaultView.innerHeight,scrollX:A.ownerDocument.defaultView.pageXOffset,scrollY:A.ownerDocument.defaultView.pageYOffset},t.logger.child(r))}).then(function(t){return new Promise(function(e,r){var i=document.createElement("img");i.onload=function(){return e(t)},i.onerror=r,i.src=t.toDataURL(),n.parentNode&&n.parentNode.replaceChild((0,l.copyCSSStyles)(A.ownerDocument.defaultView.getComputedStyle(A),i),n)})}),n}if(A instanceof HTMLStyleElement&&A.sheet&&A.sheet.cssRules){var c=[].slice.call(A.sheet.cssRules,0).reduce(function(A,e){try{return e&&e.cssText?A+e.cssText:A}catch(n){return t.logger.log("Unable to access cssText property",e.name),A}},""),u=A.cloneNode(!1);return u.textContent=c,u}return A.cloneNode(!1)}},{key:"cloneNode",value:function(A){var t=A.nodeType===Node.TEXT_NODE?document.createTextNode(A.nodeValue):this.createElementClone(A),e=A.ownerDocument.defaultView,n=A instanceof e.HTMLElement?e.getComputedStyle(A):null,r=A instanceof e.HTMLElement?e.getComputedStyle(A,":before"):null,i=A instanceof e.HTMLElement?e.getComputedStyle(A,":after"):null;this.referenceElement===A&&t instanceof e.HTMLElement&&(this.clonedReferenceElement=t),t instanceof e.HTMLBodyElement&&Q(t);for(var o=(0,nA.parseCounterReset)(n,this.pseudoContentData),a=(0,nA.resolvePseudoContent)(A,r,this.pseudoContentData),s=A.firstChild;s;s=s.nextSibling)s.nodeType===Node.ELEMENT_NODE&&("SCRIPT"===s.nodeName||s.hasAttribute("data-html2canvas-ignore")||"function"==typeof this.options.ignoreElements&&this.options.ignoreElements(s))||this.copyStyles&&"STYLE"===s.nodeName||t.appendChild(this.cloneNode(s));var c=(0,nA.resolvePseudoContent)(A,i,this.pseudoContentData);if((0,nA.popCounters)(o,this.pseudoContentData),A instanceof e.HTMLElement&&t instanceof e.HTMLElement)switch(r&&this.inlineAllImages(d(A,t,r,a,f)),i&&this.inlineAllImages(d(A,t,i,c,p)),!n||!this.copyStyles||A instanceof HTMLIFrameElement||(0,l.copyCSSStyles)(n,t),this.inlineAllImages(t),0===A.scrollTop&&0===A.scrollLeft||this.scrolledElements.push([t,A.scrollLeft,A.scrollTop]),A.nodeName){case"CANVAS":this.copyStyles||h(A,t);break;case"TEXTAREA":case"SELECT":t.value=A.value}return t}}]),A}(),c=function(A,t){return(A.cssRules?Array.from(A.cssRules):[]).filter(function(A){return A.type===CSSRule.FONT_FACE_RULE}).map(function(A){for(var e=(0,g.parseBackgroundImage)(A.style.getPropertyValue("src")),n=[],r=0;r<e.length;r++)if("url"===e[r].method&&e[r+1]&&"format"===e[r+1].method){var i=t.createElement("a");i.href=e[r].args[0],t.body&&t.body.appendChild(i);var o={src:i.href,format:e[r+1].args[0]};n.push(o)}return{formats:n.filter(function(A){return/^woff/i.test(A.format)}),fontFace:A.style}}).filter(function(A){return A.formats.length})},u=function(A,t){var e=document.implementation.createHTMLDocument(""),n=document.createElement("base");n.href=t;var r=document.createElement("style");return r.textContent=A,e.head&&e.head.appendChild(n),e.body&&e.body.appendChild(r),r.sheet?c(r.sheet,e):[]},h=function(A,t){try{if(t){t.width=A.width,t.height=A.height;var e=A.getContext("2d"),n=t.getContext("2d");e?n.putImageData(e.getImageData(0,0,A.width,A.height),0,0):n.drawImage(A,0,0)}}catch(A){}},d=function(A,t,e,n,r){if(e&&e.content&&"none"!==e.content&&"-moz-alt-content"!==e.content&&"none"!==e.display){var i=t.ownerDocument.createElement("html2canvaspseudoelement");if((0,l.copyCSSStyles)(e,i),n)for(var o=n.length,a=0;a<o;a++){var s=n[a];switch(s.type){case nA.PSEUDO_CONTENT_ITEM_TYPE.IMAGE:var c=t.ownerDocument.createElement("img");c.src=(0,g.parseBackgroundImage)("url("+s.value+")")[0].args[0],c.style.opacity="1",i.appendChild(c);break;case nA.PSEUDO_CONTENT_ITEM_TYPE.TEXT:i.appendChild(t.ownerDocument.createTextNode(s.value))}}return i.className=w+" "+m,t.className+=r===f?" "+w:" "+m,r===f?t.insertBefore(i,t.firstChild):t.appendChild(i),i}},f=":before",p=":after",w="___html2canvas___pseudoelement_before",m="___html2canvas___pseudoelement_after",Q=function(A){C(A,"."+w+f+'{\n content: "" !important;\n display: none !important;\n}\n .'+m+p+'{\n content: "" !important;\n display: none !important;\n}')},C=function(A,t){var e=A.ownerDocument.createElement("style");e.innerHTML=t,A.appendChild(e)},y=function(A){var t=n(A,3),e=t[0],r=t[1],i=t[2];e.scrollLeft=r,e.scrollTop=i},v=function(){return Math.ceil(Date.now()+1e7*Math.random()).toString(16)},U=/^data:text\/(.+);(base64)?,(.*)$/i,F=function(A,t){try{return Promise.resolve(A.contentWindow.document.documentElement)}catch(e){return t.proxy?(0,tA.Proxy)(A.src,t).then(function(A){var t=A.match(U);return t?"base64"===t[2]?window.atob(decodeURIComponent(t[3])):decodeURIComponent(t[3]):Promise.reject()}).then(function(t){return E(A.ownerDocument,(0,B.parseBounds)(A,0,0)).then(function(A){var e=A.contentWindow.document;e.open(),e.write(t);var n=b(A).then(function(){return e.documentElement});return e.close(),n})}):Promise.reject()}},E=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("data-html2canvas-ignore","true"),A.body?(A.body.appendChild(e),Promise.resolve(e)):Promise.reject("")},b=function(A){var t=A.contentWindow,e=t.document;return new Promise(function(n,r){t.onload=A.onload=e.onreadystatechange=function(){var t=setInterval(function(){e.body.childNodes.length>0&&"complete"===e.readyState&&(clearInterval(t),n(A))},50)}})},H=(t.cloneWindow=function(A,t,e,n,r,i){var o=new a(e,n,r,!1,i),s=A.defaultView.pageXOffset,c=A.defaultView.pageYOffset;return E(A,t).then(function(r){var i=r.contentWindow,a=i.document,l=b(r).then(function(){o.scrolledElements.forEach(y),i.scrollTo(t.left,t.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||i.scrollY===t.top&&i.scrollX===t.left||(a.documentElement.style.top=-t.top+"px",a.documentElement.style.left=-t.left+"px",a.documentElement.style.position="absolute");var e=Promise.resolve([r,o.clonedReferenceElement,o.resourceLoader]),s=n.onclone;return o.clonedReferenceElement instanceof i.HTMLElement||o.clonedReferenceElement instanceof A.defaultView.HTMLElement||o.clonedReferenceElement instanceof HTMLElement?"function"==typeof s?Promise.resolve().then(function(){return s(a)}).then(function(){return e}):e:Promise.reject("")});return a.open(),a.write(H(document.doctype)+"<html></html>"),function(A,t,e){!A.defaultView||t===A.defaultView.pageXOffset&&e===A.defaultView.pageYOffset||A.defaultView.scrollTo(t,e)}(e.ownerDocument,s,c),a.replaceChild(a.adoptNode(o.documentElement),a.documentElement),a.close(),l})},function(A){var t="";return A&&(t+="<!DOCTYPE ",A.name&&(t+=A.name),A.internalSubset&&(t+=A.internalSubset),A.publicId&&(t+='"'+A.publicId+'"'),A.systemId&&(t+='"'+A.systemId+'"'),t+=">"),t})});t(rA);rA.cloneWindow,rA.DocumentCloner;var iA=e(function(A,t){function e(A){return A&&A.__esModule?A:{default:A}}Object.defineProperty(t,"__esModule",{value:!0}),t.renderElement=void 0;var n=function(){return function(A,t){if(Array.isArray(A))return A;if(Symbol.iterator in Object(A))return function(A,t){var e=[],n=!0,r=!1,i=void 0;try{for(var o,a=A[Symbol.iterator]();!(n=(o=a.next()).done)&&(e.push(o.value),!t||e.length!==t);n=!0);}catch(A){r=!0,i=A}finally{try{!n&&a.return&&a.return()}finally{if(r)throw i}}return e}(A,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=(e(c),e(AA)),i=e(k),a=e(P),s=e(o);t.renderElement=function A(t,e,c){var l=t.ownerDocument,u=new B.Bounds(e.scrollX,e.scrollY,e.windowWidth,e.windowHeight),h=l.documentElement?new s.default(getComputedStyle(l.documentElement).backgroundColor):o.TRANSPARENT,d=l.body?new s.default(getComputedStyle(l.body).backgroundColor):o.TRANSPARENT,f=t===l.documentElement?h.isTransparent()?d.isTransparent()?e.backgroundColor?new s.default(e.backgroundColor):null:d:h:e.backgroundColor?new s.default(e.backgroundColor):null;return(e.foreignObjectRendering?a.default.SUPPORT_FOREIGNOBJECT_DRAWING:Promise.resolve(!1)).then(function(a){return a?function(A){return A.inlineFonts(l).then(function(){return A.resourceLoader.ready()}).then(function(){var n=new i.default(A.documentElement),r=l.defaultView,o=r.pageXOffset,a=r.pageYOffset,s="HTML"===t.tagName||"BODY"===t.tagName?(0,B.parseDocumentSize)(l):(0,B.parseBounds)(t,o,a),u=s.width,h=s.height,d=s.left,p=s.top;return n.render({backgroundColor:f,logger:c,scale:e.scale,x:"number"==typeof e.x?e.x:d,y:"number"==typeof e.y?e.y:p,width:"number"==typeof e.width?e.width:Math.ceil(u),height:"number"==typeof e.height?e.height:Math.ceil(h),windowWidth:e.windowWidth,windowHeight:e.windowHeight,scrollX:e.scrollX,scrollY:e.scrollY})})}(new rA.DocumentCloner(t,e,c,!0,A)):(0,rA.cloneWindow)(l,u,t,e,c,A).then(function(A){var t=n(A,3),i=t[0],a=t[1],s=t[2],u=(0,J.NodeParser)(a,s,c),h=a.ownerDocument;return f===u.container.style.background.backgroundColor&&(u.container.style.background.backgroundColor=o.TRANSPARENT),s.ready().then(function(A){var t=new W.FontMetrics(h),n=h.defaultView,o=n.pageXOffset,s=n.pageYOffset,d="HTML"===a.tagName||"BODY"===a.tagName?(0,B.parseDocumentSize)(l):(0,B.parseBounds)(a,o,s),p=d.width,g=d.height,w=d.left,m=d.top,Q={backgroundColor:f,fontMetrics:t,imageStore:A,logger:c,scale:e.scale,x:"number"==typeof e.x?e.x:w,y:"number"==typeof e.y?e.y:m,width:"number"==typeof e.width?e.width:Math.ceil(p),height:"number"==typeof e.height?e.height:Math.ceil(g)};if(Array.isArray(e.target))return Promise.all(e.target.map(function(A){return new r.default(A,Q).render(u)}));var C=new r.default(e.target,Q).render(u);return!0===e.removeContainer&&i.parentNode&&i.parentNode.removeChild(i),C})})})}});t(iA);iA.renderElement;var oA=t(e(function(A){function t(A){return A&&A.__esModule?A:{default:A}}var e=Object.assign||function(A){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(A[n]=e[n])}return A},n=t(s),r=t(c),i=function(A,t){var i=t||{},o=new r.default("boolean"!=typeof i.logging||i.logging);o.log("html2canvas $npm_package_version");var a=A.ownerDocument;if(!a)return Promise.reject("Provided element is not within a Document");var s=a.defaultView,c={async:!0,allowTaint:!1,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,scale:s.devicePixelRatio||1,target:new n.default(i.canvas),useCORS:!1,windowWidth:s.innerWidth,windowHeight:s.innerHeight,scrollX:s.pageXOffset,scrollY:s.pageYOffset};return(0,iA.renderElement)(A,e({},c,i),o)};i.CanvasRenderer=n.default,A.exports=i})),aA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(A){return typeof A}:function(A){return A&&"function"==typeof Symbol&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},sA=Object.assign||function(A){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(A[n]=e[n])}return A},cA=function(A){var t=void 0===A?"undefined":aA(A);return"undefined"===t?"undefined":"string"===t||A instanceof String?"string":"number"===t||A instanceof Number?"number":"function"===t||A instanceof Function?"function":A&&A.constructor===Array?"array":A&&1===A.nodeType?"element":"object"===t?"object":"unknown"},lA=function(A,t){var e=document.createElement(A);if(t.className&&(e.className=t.className),t.innerHTML){e.innerHTML=t.innerHTML;for(var n=e.getElementsByTagName("script"),r=n.length;r-- >0;null)n[r].parentNode.removeChild(n[r])}for(var i in t.style)e.style[i]=t.style[i];return e},uA=function(A,t){var e={};for(var n in A)e[n]=72*A[n]/96/t;return e},hA=function A(t){var e=sA(A.convert(Promise.resolve()),JSON.parse(JSON.stringify(A.template))),n=A.convert(Promise.resolve(),e);return n=n.setProgress(1,A,1,[A]),n=n.set(t)};(hA.prototype=Object.create(Promise.prototype)).constructor=hA,hA.convert=function(A,t){return A.__proto__=t||hA.prototype,A},hA.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],image:{type:"jpeg",quality:.95},enableLinks:!0,html2canvas:{},jsPDF:{}}},hA.prototype.from=function(A,t){return this.then(function(){switch(t=t||function(A){switch(cA(A)){case"string":return"string";case"element":return"canvas"===A.nodeName.toLowerCase?"canvas":"element";default:return"unknown"}}(A)){case"string":return this.set({src:lA("div",{innerHTML:A})});case"element":return this.set({src:A});case"canvas":return this.set({canvas:A});case"img":return this.set({img:A});default:return this.error("Unknown source type.")}})},hA.prototype.to=function(A){switch(A){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},hA.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var A={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},t={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};A.opacity=0;var e=function A(t,e){for(var n=3===t.nodeType?document.createTextNode(t.nodeValue):t.cloneNode(!1),r=t.firstChild;r;r=r.nextSibling)!0!==e&&1===r.nodeType&&"SCRIPT"===r.nodeName||n.appendChild(A(r,e));return 1===t.nodeType&&("CANVAS"===t.nodeName?(n.width=t.width,n.height=t.height,n.getContext("2d").drawImage(t,0,0)):"TEXTAREA"!==t.nodeName&&"SELECT"!==t.nodeName||(n.value=t.value),n.addEventListener("load",function(){n.scrollTop=t.scrollTop,n.scrollLeft=t.scrollLeft},!0)),n}(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=lA("div",{className:"html2pdf__overlay",style:A}),this.prop.container=lA("div",{className:"html2pdf__container",style:t}),this.prop.container.appendChild(e),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},hA.prototype.toCanvas=function(){var A=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(A).then(function(){var A=sA({},this.opt.html2canvas);return delete A.onrendered,oA(this.prop.container,A)}).then(function(A){(this.opt.html2canvas.onrendered||function(){})(A),this.prop.canvas=A,document.body.removeChild(this.prop.overlay)})},hA.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var A=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=A})},hA.prototype.toPdf=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var A=this.prop.canvas,t=this.opt,e=(A.getContext("2d"),A.height),n=Math.floor(A.width*this.prop.pageSize.inner.ratio),i=Math.ceil(e/n),o=this.prop.pageSize.inner.height,a=document.createElement("canvas"),s=a.getContext("2d");a.width=A.width,a.height=n,this.prop.pdf=this.prop.pdf||new r(t.jsPDF);for(var c=0;c<i;c++){c===i-1&&(a.height=e%n,o=a.height*this.prop.pageSize.inner.width/a.width);var l=a.width,u=a.height;s.fillStyle="white",s.fillRect(0,0,l,u),s.drawImage(A,0,c*n,l,u,0,0,l,u),c&&this.prop.pdf.addPage();var h=a.toDataURL("image/"+t.image.type,t.image.quality);this.prop.pdf.addImage(h,t.image.type,t.margin[1],t.margin[0],this.prop.pageSize.inner.width,o)}})},hA.prototype.output=function(A,t,e){return"img"===(e=e||"pdf").toLowerCase()||"image"===e.toLowerCase()?this.outputImg(A,t):this.outputPdf(A,t)},hA.prototype.outputPdf=function(A,t){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(A,t)})},hA.prototype.outputImg=function(A,t){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(A){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+A+'" is not supported.'}})},hA.prototype.save=function(A){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(A?{filename:A}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},hA.prototype.set=function(A){if("object"!==cA(A))return this;var t=Object.keys(A||{}).map(function(t){if(t in hA.template.prop)return function(){this.prop[t]=A[t]};switch(t){case"margin":return this.setMargin.bind(this,A.margin);case"jsPDF":return function(){return this.opt.jsPDF=A.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,A.pageSize);default:return function(){this.opt[t]=A[t]}}},this);return this.then(function(){return this.thenList(t)})},hA.prototype.get=function(A,t){return this.then(function(){var e=A in hA.template.prop?this.prop[A]:this.opt[A];return t?t(e):e})},hA.prototype.setMargin=function(A){return this.then(function(){switch(cA(A)){case"number":A=[A,A,A,A];case"array":if(2===A.length&&(A=[A[0],A[1],A[0],A[1]]),4===A.length)break;default:return this.error("Invalid margin array.")}this.opt.margin=A}).then(this.setPageSize)},hA.prototype.setPageSize=function(A){function t(A,t){return Math.floor(A*t/72*96)}return this.then(function(){(A=A||r.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(A.inner={width:A.width-this.opt.margin[1]-this.opt.margin[3],height:A.height-this.opt.margin[0]-this.opt.margin[2]},A.inner.px={width:t(A.inner.width,A.k),height:t(A.inner.height,A.k)},A.inner.ratio=A.inner.height/A.inner.width),this.prop.pageSize=A})},hA.prototype.setProgress=function(A,t,e,n){return null!=A&&(this.progress.val=A),null!=t&&(this.progress.state=t),null!=e&&(this.progress.n=e),null!=n&&(this.progress.stack=n),this.progress.ratio=this.progress.val/this.progress.state,this},hA.prototype.updateProgress=function(A,t,e,n){return this.setProgress(A?this.progress.val+A:null,t||null,e?this.progress.n+e:null,n?this.progress.stack.concat(n):null)},hA.prototype.then=function(A,t){var e=this;return this.thenCore(A,t,function(A,t){return e.updateProgress(null,null,1,[A]),Promise.prototype.then.call(this,function(t){return e.updateProgress(null,A),t}).then(A,t).then(function(A){return e.updateProgress(1),A})})},hA.prototype.thenCore=function(A,t,e){e=e||Promise.prototype.then;A&&(A=A.bind(this)),t&&(t=t.bind(this));var n=-1!==Promise.toString().indexOf("[native code]")&&"Promise"===Promise.name?this:hA.convert(sA({},this),Promise.prototype),r=e.call(n,A,t);return hA.convert(r,this.__proto__)},hA.prototype.thenExternal=function(A,t){return Promise.prototype.then.call(this,A,t)},hA.prototype.thenList=function(A){var t=this;return A.forEach(function(A){t=t.thenCore(A)}),t},hA.prototype.catch=function(A){A&&(A=A.bind(this));var t=Promise.prototype.catch.call(this,A);return hA.convert(t,this)},hA.prototype.catchExternal=function(A){return Promise.prototype.catch.call(this,A)},hA.prototype.error=function(A){return this.then(function(){throw new Error(A)})},hA.prototype.using=hA.prototype.set,hA.prototype.saveAs=hA.prototype.save,hA.prototype.export=hA.prototype.output,hA.prototype.run=hA.prototype.then,r.getPageSize=function(A,t,e){if("object"===(void 0===A?"undefined":aA(A))){var n=A;A=n.orientation,t=n.unit||t,e=n.format||e}t=t||"mm",e=e||"a4",A=(""+(A||"P")).toLowerCase();var r=(""+e).toLowerCase(),i={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(t){case"pt":o=1;break;case"mm":o=72/25.4;break;case"cm":o=72/2.54;break;case"in":o=72;break;case"px":o=.75;break;case"pc":case"em":o=12;break;case"ex":var o=6;break;default:throw"Invalid unit: "+t}if(i.hasOwnProperty(r))var a=i[r][1]/o,s=i[r][0]/o;else try{var a=e[1],s=e[0]}catch(A){throw new Error("Invalid format: "+e)}if("p"===A||"portrait"===A){if(A="p",s>a){c=s;s=a,a=c}}else{if("l"!==A&&"landscape"!==A)throw"Invalid orientation: "+A;if(A="l",a>s){var c=s;s=a,a=c}}return{width:s,height:a,unit:t,k:o}};var dA={toContainer:hA.prototype.toContainer};hA.prototype.toContainer=function(){return dA.toContainer.call(this).then(function(){var A=this.prop.container.querySelectorAll(".html2pdf__page-break"),t=this.prop.pageSize.inner.px.height;Array.prototype.forEach.call(A,function(A){A.style.display="block";var e=A.getBoundingClientRect();A.style.height=t-e.top%t+"px"},this)})};var fA=[],BA={toContainer:hA.prototype.toContainer,toPdf:hA.prototype.toPdf};hA.prototype.toContainer=function(){return BA.toContainer.call(this).then(function(){if(this.opt.enableLinks){var A=this.prop.container,t=A.querySelectorAll("a"),e=uA(A.getBoundingClientRect(),this.prop.pageSize.k);fA=[],Array.prototype.forEach.call(t,function(A){for(var t=A.getClientRects(),n=0;n<t.length;n++){var r=uA(t[n],this.prop.pageSize.k);r.left-=e.left,r.top-=e.top;var i=Math.floor(r.top/this.prop.pageSize.inner.height)+1,o=this.opt.margin[0]+r.top%this.prop.pageSize.inner.height,a=this.opt.margin[1]+r.left;fA.push({page:i,top:o,left:a,clientRect:r,link:A})}},this)}})},hA.prototype.toPdf=function(){return BA.toPdf.call(this).then(function(){if(this.opt.enableLinks){fA.forEach(function(A){this.prop.pdf.setPage(A.page),this.prop.pdf.link(A.left,A.top,A.clientRect.width,A.clientRect.height,{url:A.link.href})},this);var A=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(A)}})};var pA=function A(t,e){var n=new A.Worker(e);return t?n.from(t).save():n};return pA.Worker=hA,pA});