!function(e){if("object"==typeofexports&&"undefined"!=typeofmodule)module.exports=e();elseif("function"==typeofdefine&&define.amd)define([],e);else{varn;"undefined"!=typeofwindow?n=window:"undefined"!=typeofglobal?n=global:"undefined"!=typeofself&&(n=self),n.html2canvas=e()}}(function(){vare;returnfunctionn(e,f,o){functiond(t,l){if(!f[t]){if(!e[t]){vars="function"==typeofrequire&&require;if(!l&&s)returns(t,!0);if(i)returni(t,!0);varu=newError("Cannot find module '"+t+"'");throwu.code="MODULE_NOT_FOUND",u}vara=f[t]={exports:{}};e[t][0].call(a.exports,function(n){varf=e[t][1][n];returnd(f?f:n)},a,a.exports,n,e,f,o)}returnf[t].exports}for(vari="function"==typeofrequire&&require,t=0;t<o.length;t++)d(o[t]);returnd}({1:[function(n,f){(function(n,o){(function(){"use strict";functiond(e){return"function"==typeofe||"object"==typeofe&&null!==e}functioni(e){return"function"==typeofe}functiont(e){return"object"==typeofe&&null!==e}functionl(){}functions(){returnfunction(){n.nextTick(c)}}functionu(){vare=0,n=newP(c),f=document.createTextNode("");returnn.observe(f,{characterData:!0}),function(){f.data=e=++e%2}}functiona(){vare=newMessageChannel;returne.port1.onmessage=c,function(){e.port2.postMessage(0)}}functionp(){returnfunction(){setTimeout(c,1)}}functionc(){for(vare=0;M>e;e+=2){varn=R[e],f=R[e+1];n(f),R[e]=void0,R[e+1]=void0}M=0}functiony(){}functionm(){returnnewTypeError("You cannot resolve a promise with itself")}functionr(){returnnewTypeError("A promises callback cannot return that same promise.")}functionv(e){try{returne.then}catch(n){returnV.error=n,V}}functionw(e,n,f,o){try{e.call(n,f,o)}catch(d){returnd}}functionb(e,n,f){N(function(e){varo=!1,d=w(f,n,function(f){o||(o=!0,n!==f?x(e,f):k(e,f))},function(n){o||(o=!0,q(e,n))},"Settle: "+(e._label||" unknown promise"));!o&&d&&(o=!0,q(e,d))},e)}functiong(e,n){n._state===T?k(e,n._result):e._state===U?q(e,n._result):z(n,void0,function(n){x(e,n)},function(n){q(e,n)})}functionh(e,n){if(n.constructor===e.constructor)g(e,n);else{varf=v(n);f===V?q(e,V.error):void0===f?k(e,n):i(f)?b(e,n,f):k(e,n)}}functionx(e,n){e===n?q(e,m()):d(n)?h(e,n):k(e,n)}functionj(e){e._onerror&&e._onerror(e._result),A(e)}functionk(e,n){e._state===S&&(e._result=n,e._state=T,0===e._subscribers.length||N(A,e))}functionq(e,n){e._state===S&&(e._state=U,e._result=n,N(j,e))}functionz(e,n,f,o){vard=e._subscribers,i=d.length;e._onerror=null,d[i]=n,d[i+T]=f,d[i+U]=o,0===i&&e._state&&N(A,e)}functionA(e){varn=e._subscribers,f=e._state;if(0!==n.length){for(varo,d,i=e._result,t=0;t<n.length;t+=3)o=n[t],d=n[t+f],o?D(f,o,d,i):d(i);e._subscribers.length=0}}functionB(){this.error=null}functionC(e,n){try{returne(n)}catch(f){returnW.error=f,W}}functionD(e,n,f,o){vard,t,l,s,u=i(f);if(u){if(d=C(f,o),d===W?(s=!0,t=d.error,d=null):l=!0,n===d)returnvoidq(n,r())}elsed=o,l=!0;n._state!==S||(u&&l?x(n,d):s?q(n,t):e===T?k(n,d):e===U&&q(n,d))}functionE(e,n){try{n(function(n){x(e,n)},function(n){q(e,n)})}catch(f){q(e,f)}}functionF(e,n,f,o){this._instanceConstructor=e,this.promise=newe(y,o),this._abortOnReject=f,this._validateInput(n)?(this._input=n,this.length=n.length,this._remaining=n.length,this._init(),0===this.length?k(this.promise,this._result):(this.length=this.length||0,this._enumerate(),0===this._remaining&&k(this.promise,this._result))):q(this.promise,this._validationError())}functionG(){thrownewTypeError("You must pass a resolver function as the first argument to the promise constructor")}functionH(){thrownewTypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}functionI(e){this._id=en++,this._state=void0,this._result=void0,this._subscribers=[],y!==e&&(i(e)||G(),thisinstanceofI||H(),E(this,e))}varJ;J=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)};varK,L=J,M=(Date.now||function(){return(newDate).getTime()},Object.create||function(e){if(arguments.length>1)thrownewError("Second argument not supported");