// All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See http://@sbaseurl@/jsapi/jsapi/esri/copyright.txt and http://www.arcgis.com/apps/webappbuilder/copyright.txt for details.

//>>built
/*

 ====================================================================
 jsPDF - PDF Document creation from JavaScript
 Version 1.3.4 Built on 2017-04-10T14:14:44.483Z
                           CommitID cf4827d221

 Copyright (c) 2010-2016 James Hall <james@parall.ax>, https://github.com/MrRio/jsPDF
               2010 Aaron Spike, https://github.com/acspike
               2012 Willow Systems Corporation, willow-systems.com
               2012 Pablo Hess, https://github.com/pablohess
               2012 Florian Jenett, https://github.com/fjenett
               2013 Warren Weckesser, https://github.com/warrenweckesser
               2013 Youssef Beddad, https://github.com/lifof
               2013 Lee Driscoll, https://github.com/lsdriscoll
               2013 Stefan Slonevskiy, https://github.com/stefslon
               2013 Jeremy Morel, https://github.com/jmorel
               2013 Christoph Hartmann, https://github.com/chris-rock
               2014 Juan Pablo Gaviria, https://github.com/juanpgaviria
               2014 James Makes, https://github.com/dollaruw
               2014 Diego Casorran, https://github.com/diegocr
               2014 Steven Spungin, https://github.com/Flamenco
               2014 Kenneth Glassey, https://github.com/Gavvers

 Licensed under the MIT License

 Contributor(s):
    siefkenj, ahwolf, rickygu, Midnith, saintclair, eaparango,
    kim3er, mfo, alnorth, Flamenco

 ====================================================================
 jsPDF AcroForm Plugin
 Copyright (c) 2016 Alexander Weidt, https://github.com/BiggA94

 Licensed under the MIT License.
 http://opensource.org/licenses/mit-license

 ====================================================================
 jsPDF addHTML PlugIn
 Copyright (c) 2014 Diego Casorran

 Licensed under the MIT License.
 http://opensource.org/licenses/mit-license

 ====================================================================
 jsPDF addImage plugin
 Copyright (c) 2012 Jason Siefken, https://github.com/siefkenj/
               2013 Chris Dowling, https://github.com/gingerchris
               2013 Trinh Ho, https://github.com/ineedfat
               2013 Edwin Alejandro Perez, https://github.com/eaparango
               2013 Norah Smith, https://github.com/burnburnrocket
               2014 Diego Casorran, https://github.com/diegocr
               2014 James Robb, https://github.com/jamesbrobb

 Licensed under the MIT License.
 http://opensource.org/licenses/mit-license

 ====================================================================
 jsPDF Cell plugin
 Copyright (c) 2013 Youssef Beddad, youssef.beddad@gmail.com
               2013 Eduardo Menezes de Morais, eduardo.morais@usp.br
               2013 Lee Driscoll, https://github.com/lsdriscoll
               2014 Juan Pablo Gaviria, https://github.com/juanpgaviria
               2014 James Hall, james@parall.ax
               2014 Diego Casorran, https://github.com/diegocr

 Licensed under the MIT License.
 http://opensource.org/licenses/mit-license

 ====================================================================
 jsPDF fromHTML plugin. BETA stage. API subject to change. Needs browser
 Copyright (c) 2012 Willow Systems Corporation, willow-systems.com
               2014 Juan Pablo Gaviria, https://github.com/juanpgaviria
               2014 Diego Casorran, https://github.com/diegocr
               2014 Daniel Husar, https://github.com/danielhusar
               2014 Wolfgang Gassler, https://github.com/woolfg
               2014 Steven Spungin, https://github.com/flamenco

 Licensed under the MIT License.
 http://opensource.org/licenses/mit-license

 ====================================================================
 jsPDF JavaScript plugin
 Copyright (c) 2013 Youssef Beddad, youssef.beddad@gmail.com

 Licensed under the MIT License.
 http://opensource.org/licenses/mit-license

  ====================================================================
 jsPDF PNG PlugIn
 Copyright (c) 2014 James Robb, https://github.com/jamesbrobb

 Licensed under the MIT License.
 http://opensource.org/licenses/mit-license

 ====================================================================
 jsPDF split_text_to_size plugin - MIT license.
 Copyright (c) 2012 Willow Systems Corporation, willow-systems.com
               2014 Diego Casorran, https://github.com/diegocr

 Licensed under the MIT License.
 http://opensource.org/licenses/mit-license

 ====================================================================
 jsPDF total_pages plugin
 Copyright (c) 2013 Eduardo Menezes de Morais, eduardo.morais@usp.br

 Licensed under the MIT License.
 http://opensource.org/licenses/mit-license

 ====================================================================
 adler32cs
 Copyright (c) 2012 chick307 <chick307@gmail.com>

 Licensed under the MIT License.
 http://opensource.org/licenses/mit-license

 ====================================================================
         Deflate.js - https://github.com/gildas-lormeau/zip.js
         Copyright (c) 2013 Gildas Lormeau. All rights reserved.

         Redistribution and use in source and binary forms, with or without
         modification, are permitted provided that the following conditions are met:

         1. Redistributions of source code must retain the above copyright notice,
         this list of conditions and the following disclaimer.

         2. Redistributions in binary form must reproduce the above copyright
         notice, this list of conditions and the following disclaimer in
         the documentation and/or other materials provided with the distribution.

         3. The names of the authors may not be used to endorse or promote products
         derived from this software without specific prior written permission.

         THIS SOFTWARE IS PROVIDED ''AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
         INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
         FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JCRAFT,
         INC. OR ANY CONTRIBUTORS TO THIS SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT,
         INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
         LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
         OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
         LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
         NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
         EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

 ====================================================================
 html2canvas 0.5.0-beta3 <http://html2canvas.hertzen.com>
 Copyright (c) 2016 Niklas von Hertzen

 Licensed under the MIT License.
 http://opensource.org/licenses/mit-license

 ====================================================================
 base64-arraybuffer
 https://github.com/niklasvh/base64-arraybuffer

 Copyright (c) 2012 Niklas von Hertzen

 Licensed under the MIT License.
 http://opensource.org/licenses/mit-license

 ====================================================================
 PNG.js
 Copyright (c) 2011 Devon Govett

 Licensed under the MIT License.
 http://opensource.org/licenses/mit-license

 ====================================================================
 Extracted from pdf.js
 https://github.com/andreasgal/pdf.js

 Copyright (c) 2011 Mozilla Foundation

 Contributors: Andreas Gal <gal@mozilla.com>
               Chris G Jones <cjones@mozilla.com>
               Shaon Barman <shaon.barman@gmail.com>
               Vivien Nicolas <21@vingtetun.org>
               Justin D'Arcangelo <justindarc@gmail.com>
               Yury Delendik

 Licensed under the MIT License.
 http://opensource.org/licenses/mit-license

 ====================================================================
 String.prototype.trimLeft, String.prototype.trimRight are
 adapted from Chapter 5 Strings and Regular Expressions by
 Steven Levithan in the book High Performance JavaScript by
 Nicholas C. Zakas Copyright 2010 Yahoo!, Inc.,
 978-0-596-80279-0

 License: "In general, you may use the code in this book in
 your programs and documentation. You do not need to contact
 us for permission unless you’re reproducing a significant
 portion of the code. For example, writing a program that uses
 several chunks of code from this book does not require
 permission."
 https://www.safaribooksonline.com/library/view/high-performance-javascript/9781449382308/pr02s12.html

 ====================================================================
 jsPDF Annotations PlugIn
 Copyright (c) 2014 Steven Spungin (TwelveTone LLC)  steven@twelvetone.tv

 Licensed under the MIT License.
 http://opensource.org/licenses/mit-license

 ====================================================================
 jsPDF Autoprint Plugin

 Licensed under the MIT License.
 http://opensource.org/licenses/mit-license

 ====================================================================
 jsPDF Canvas PlugIn
 Copyright (c) 2014 Steven Spungin (TwelveTone LLC)  steven@twelvetone.tv

 Licensed under the MIT License.
 http://opensource.org/licenses/mit-license

 ====================================================================
 jsPDF Context2D PlugIn Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv

 Licensed under the MIT License.
 http://opensource.org/licenses/mit-license

 ====================================================================
 jsPDF Outline PlugIn
 Copyright (c) 2014 Steven Spungin (TwelveTone LLC)  steven@twelvetone.tv

 Licensed under the MIT License.
 http://opensource.org/licenses/mit-license

 ====================================================================
 jsPDF standard_fonts_metrics plugin
 Copyright (c) 2012 Willow Systems Corporation,
 willow-systems.com

 Licensed under the MIT License.
 http://opensource.org/licenses/mit-license

 ====================================================================
 jsPDF SVG plugin Copyright (c) 2012 Willow Systems
 Corporation, willow-systems.com

 Licensed under the MIT License.
 http://opensource.org/licenses/mit-license

 ====================================================================
 jsPDF XMP metadata plugin
 Copyright (c) 2016 Jussi Utunen, u-jussi@suomi24.fi

 Licensed under the MIT License.
 http://opensource.org/licenses/mit-license

 ====================================================================
 CssColors
 Copyright (c) 2014 Steven Spungin (TwelveTone LLC)  steven@twelvetone.tv

 Licensed under the MIT License.
 http://opensource.org/licenses/mit-license
 http://mths.be/punycode v1.2.4 by @mathias */
define(["dojo/_base/array","dojo/_base/declare","dojo/_base/lang","dojo/Deferred"],function(Wa,Xa,Ta,Ua){return Xa(null,{constructor:function(){this._jspdf=this._initpdf()},save:function(X,I,C,va,pa,za){var Aa=X.length,u,q=Date.now(),p,f=new Ua;pa=Ta.mixin({canvas:{parentElem:pa,elementName:"labelCanvas"}},C,va);pa.guidance.labelBorderBlackPercent=this._conformToRange(pa.guidance.labelBorderBlackPercent,0,100,50);pa.guidance.gridBlackPercent=this._conformToRange(pa.guidance.gridBlackPercent,0,100,
50);va=va.useVectorFonts?null:1;C=C.numLabelsAcross*C.numLabelsDown;pa.filenameRoot=I;!pa.useVectorFonts&&"undefined"!==typeof navigator&&navigator.msSaveOrOpenBlob&&(u=function(){confirm("Continue?")});this._createPDFLabelDocSet(pa,va,C,Aa,za,u,function(c){if(0>c||c>=Aa)return null;var m=Wa.filter(X[c],function(d){return d});++c;return m}).then(function(c){p=Date.now();console.log("Elapsed time: "+(p-q)/1E3+" sec.");f.resolve(c)});return f},_StageEnum:{START_ENV:1,FINISH_ENV:2,START_PAGE:3,FINISH_PAGE:4,
START_COL:5,START_ROW:6,DRAW_LABEL:7},_createPDFLabelDocSet:function(X,I,C,va,pa,za,Aa){return this._createPDFLabelDocSetContinuation(X,I,C,va,1,0,pa,za,Aa)},_createPDFLabelDocSetContinuation:function(X,I,C,va,pa,za,Aa,u,q){var p=new Ua;var f=-1+(I?Math.min(za+C*I,va):va);if(za>f)return p.resolve(!0),p;var c=I?Math.ceil(va/(C*I)):1;this._createPDFLabelDoc(X,c,pa,za,f,C,q).then(Ta.hitch(this,function(m){m?(Aa&&Aa.set({value:100*pa/c}),setTimeout(Ta.hitch(this,function(){u&&pa<c&&u();this._createPDFLabelDocSetContinuation(X,
I,C,va,++pa,f+1,Aa,u,q).then(function(d){p.resolve(d)})}),10)):(console.log("failure in _createPDFLabelDoc; terminate chain"),p.resolve(!1))}));return p},_createPDFLabelDoc:function(X,I,C,va,pa,za,Aa){var u=0,q=new Ua,p={},f=X.numLabelsDown,c=0,m=0;p.config=X;p.canvas=X.canvas;p.pageNum=0;p.totalPages=Math.ceil((pa-va+1)/za);p.doc=this._createPDFBuilder();if(p.doc){var d="function"===typeof X.useVectorFonts?X.useVectorFonts:X.useVectorFonts?Ta.hitch(this,this._drawUsingVector):Ta.hitch(this,this._drawUsingRaster);
for(d(this._StageEnum.START_ENV,p);va<=pa;++va){var e=Aa(va);Array.isArray(e)&&0!==e.length&&(0===u%za?(0<u&&(d(this._StageEnum.FINISH_PAGE,p),p.doc.addPage()),m=c=0,d(this._StageEnum.START_PAGE,p,p.pageNum++),d(this._StageEnum.START_COL,p,m)):0===u%f&&(d(this._StageEnum.START_COL,p,++m),c=0),d(this._StageEnum.START_ROW,p,c++),d(this._StageEnum.DRAW_LABEL,p,e),++u)}d(this._StageEnum.FINISH_PAGE,p);d(this._StageEnum.FINISH_ENV,p);X.filenameRoot&&(X=X.filenameRoot+(1===I?".pdf":"_"+C+"_"+I+".pdf"),
console.log("Saving "+X+"..."),p.doc.save(X),console.log("Saved "+X));q.resolve(!0);return q}q.resolve(!1)},_drawUsingVector:function(X,I,C){function va(pa){var za=I.config.labelWidthIn-3*I.config.insetIn;if(this._getTextWidthIn(I.doc,pa)>za){do pa=pa.slice(0,-1);while(this._getTextWidthIn(I.doc,pa)>za);pa+="..."}return pa}switch(X){case this._StageEnum.START_ENV:I.vector={fontHeightIn:I.config.fontSizePx/I.doc.internal.scaleFactor};I.vector.verticalFontGapIn=.2*I.vector.fontHeightIn;break;case this._StageEnum.START_PAGE:I.doc.setFont("sans-serif",
"normal");I.doc.setFontSize(I.config.fontSizePx);break;case this._StageEnum.FINISH_PAGE:this._drawFrame(I);break;case this._StageEnum.START_COL:I.vector.currentLabelLeftIn=I.config.pageLeftIn+C*(I.config.labelWidthIn+I.config.horizGapIn);break;case this._StageEnum.START_ROW:I.vector.currentLabelTopIn=I.config.pageTopIn+C*(I.config.labelHeightIn+I.config.vertGapIn);break;case this._StageEnum.DRAW_LABEL:C=C.map(Ta.hitch(this,va)),X=I.vector.currentLabelTopIn+I.config.labelHeightIn/2,I.doc.text(C,I.vector.currentLabelLeftIn+
I.config.insetIn,X+(2-C.length)/2*I.vector.fontHeightIn+(1-C.length)/2*I.vector.verticalFontGapIn)}},_drawUsingRaster:function(X,I,C){var va=dojo.locale&&dojo.locale.substring(0,2)||"en";var pa=I.raster?I.raster.canvas:null;var za=I.raster?I.raster.canvasLabel:null;var Aa=I.config.rasterResolutionPxPerIn;var u=/[\u0580-\u07FF]/;switch(X){case this._StageEnum.START_ENV:pa=document.getElementById(I.canvas.elementName)||this._createCanvas(I.canvas.parentElem,I.canvas.elementName,I.config.pageWidthIn*
Aa,I.config.pageHeightIn*Aa);za=document.getElementById(I.canvas.elementName+"_label")||this._createCanvas(I.canvas.parentElem,I.canvas.elementName+"_label",I.config.labelWidthIn*Aa,I.config.labelHeightIn*Aa);I.raster={pageTopPx:I.config.pageTopIn*Aa,pageRightPx:I.config.pageRightIn*Aa,pageBottomPx:I.config.pageBottomIn*Aa,pageLeftPx:I.config.pageLeftIn*Aa,labelWidthPx:I.config.labelWidthIn*Aa,labelHeightPx:I.config.labelHeightIn*Aa,labelHorizGapPx:I.config.horizGapIn*Aa,labelVertGapPx:I.config.vertGapIn*
Aa,marginPx:I.config.insetIn*Aa,fontHeightPx:I.config.fontSizePx*Aa/100*1.32};I.raster.verticalFontGapPx=.2*I.raster.fontHeightPx;I.raster.canvas=pa;I.raster.canvasLabel=za;I.raster.ctx=pa.getContext("2d");I.raster.ctxLabel=za.getContext("2d");I.raster.ctxLabel.font="normal "+I.raster.fontHeightPx+"px sans-serif";break;case this._StageEnum.FINISH_ENV:I.canvas.parentElem.removeChild(pa);I.raster.canvas=null;I.canvas.parentElem.removeChild(za);I.raster.canvasLabel=null;break;case this._StageEnum.FINISH_PAGE:C=
pa.toDataURL("image/png");I.doc.addImage(C,"png",0,0,8.5,11);I.raster.ctx.clearRect(0,0,pa.width,pa.height);this._drawFrame(I);break;case this._StageEnum.START_COL:I.raster.currentLabelLeftPx=I.raster.pageLeftPx+C*(I.raster.labelWidthPx+I.raster.labelHorizGapPx);I.raster.currentLabelRightPx=I.raster.pageLeftPx+(C+1)*I.raster.labelWidthPx+C*I.raster.labelHorizGapPx;break;case this._StageEnum.START_ROW:I.raster.currentLabelTopPx=I.raster.pageTopPx+C*(I.raster.labelHeightPx+I.raster.labelVertGapPx);
break;case this._StageEnum.DRAW_LABEL:X=I.raster.labelHeightPx/2;pa=I.raster.marginPx;X=X+(2-C.length)/2*I.raster.fontHeightPx+(1-C.length)/2*I.raster.verticalFontGapPx;I.raster.ctxLabel.clearRect(0,0,za.width,za.height);var q=za.width-I.raster.marginPx-I.raster.marginPx;for(Aa=0;Aa<C.length;++Aa)0<=["ar","he"].indexOf(va)?pa=za.width-I.raster.marginPx:u.test(C[Aa])&&(pa=za.width-I.raster.marginPx-I.raster.ctxLabel.measureText(C[Aa]).getWidth()),I.raster.ctxLabel.fillText(C[Aa],pa,X,q),X+=I.raster.verticalFontGapPx+
I.raster.fontHeightPx;I.raster.ctx.drawImage(I.raster.canvasLabel,I.raster.currentLabelLeftPx,I.raster.currentLabelTopPx)}},_conformToRange:function(X,I,C,va){X=parseFloat(X);Number.isNaN(X)&&(X=va);return Math.max(I,Math.min(C,X))},_createPDFBuilder:function(){return new this._jspdf({orientation:"portrait",unit:"in",format:"letter"})},_createCanvas:function(X,I,C,va){var pa=document.createElement("canvas");pa.id=I;pa.style.display="none";pa.style.visibility="hidden";pa.width=C;pa.height=va;X.appendChild(pa);
return pa},_getTextWidthIn:function(X,I){return X.getStringUnitWidth(I)*X.internal.getFontSize()/X.internal.scaleFactor},_drawFrame:function(X){var I=new Date,C=dojo.locale&&dojo.locale.substring(0,2)||"en";var va=X.config.pageTopIn-.08;var pa=X.config.pageHeightIn-X.config.pageBottomIn+X.config.guidance.noteFontSizePx/X.doc.internal.scaleFactor+.08;X.config.showGuidance&&(X.doc.setFont("sans-serif","italic"),X.doc.setFontSize(X.config.guidance.noteFontSizePx),(C=0<="da de en es et fi fr id it nb nl pt sr sv".split(" ").indexOf(C))&&
X.doc.text(X.config.guidance.printSuggestion,X.config.pageLeftIn+.1,va),va=(X.config.useVectorFonts?"v":"r"+X.config.rasterResolutionPxPerIn)+"  "+X.pageNum+"/"+X.totalPages,C&&(va+=("  "+I.toLocaleDateString()+" "+I.toLocaleTimeString()).replace(/\u200e/gi,"")),X.doc.text(va,X.config.pageLeftIn+.1,pa),X.config.guidance.showGrid&&(X.doc.setLineWidth(.01),X.doc.setDrawColor((1-X.config.guidance.gridBlackPercent/100).toString()),this._drawMeasurementGrid(X.doc,X.config,X.config.guidance.leftIn,X.config.guidance.rightIn,
.05,X.config.guidance.majorTickIn),this._drawMeasurementGrid(X.doc,X.config,X.config.guidance.leftIn,X.config.guidance.rightIn,.015,X.config.guidance.minorTickIn)),X.config.guidance.showLabelOutlines&&(X.doc.setLineWidth(.01),X.doc.setDrawColor((1-X.config.guidance.labelBorderBlackPercent/100).toString()),this._drawLabelsGrid(X.doc,X.config.numLabelsAcross,X.config.numLabelsDown,X.config.pageLeftIn,X.config.pageTopIn,X.config.labelWidthIn,X.config.labelHeightIn,X.config.horizGapIn,X.config.vertGapIn)),
X.doc.setDrawColor(0))},_drawLabelsGrid:function(X,I,C,va,pa,za,Aa,u,q){var p,f;for(p=0;p<I;++p)for(f=0;f<C;++f)X.rect(va+p*(za+u),pa+f*(Aa+q),za,Aa)},_drawMeasurementGrid:function(X,I,C,va,pa,za){X.rect(I.pageLeftIn,I.pageTopIn,I.pageWidthIn-I.pageLeftIn-I.pageRightIn,I.pageHeightIn-I.pageTopIn-I.pageBottomIn);this._drawVertGridTickLines(X,0,I.pageWidthIn,I.pageTopIn,pa,za);this._drawVertGridTickLines(X,0,I.pageWidthIn,I.pageHeightIn-I.pageBottomIn,-pa,za);this._drawHorizGridTickLines(X,0,I.pageHeightIn,
Math.max(C,I.pageLeftIn),pa,za);this._drawHorizGridTickLines(X,0,I.pageHeightIn,I.pageWidthIn-Math.max(va,I.pageRightIn),-pa,za)},_drawVertGridTickLines:function(X,I,C,va,pa,za){for(;I<=C;I+=za)this._drawPDFLine(X,I,va,I,va+pa)},_drawHorizGridTickLines:function(X,I,C,va,pa,za){for(;I<=C;I+=za)this._drawPDFLine(X,va,I,va+pa,I)},_drawPDFLine:function(X,I,C,va,pa){X.lines([[va-I,pa-C]],I,C)},_initpdf:function(){var X="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(u){return typeof u}:
function(u){return u&&"function"===typeof Symbol&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u};(function(){function u(p){this.value=p}function q(p){function f(e,k){try{var l=p[e](k),a=l.value;a instanceof u?Promise.resolve(a.value).then(function(h){f("next",h)},function(h){f("throw",h)}):c(l.done?"return":"normal",l.value)}catch(h){c("throw",h)}}function c(e,k){switch(e){case "return":m.resolve({value:k,done:!0});break;case "throw":m.reject(k);break;default:m.resolve({value:k,done:!1})}(m=
m.next)?f(m.key,m.arg):d=null}var m,d;this._invoke=function(e,k){return new Promise(function(l,a){l={key:e,arg:k,resolve:l,reject:a,next:null};d?d=d.next=l:(m=d=l,f(e,k))})};"function"!==typeof p.return&&(this.return=void 0)}"function"===typeof Symbol&&Symbol.asyncIterator&&(q.prototype[Symbol.asyncIterator]=function(){return this});q.prototype.next=function(p){return this._invoke("next",p)};q.prototype.throw=function(p){return this._invoke("throw",p)};q.prototype.return=function(p){return this._invoke("return",
p)};return{wrap:function(p){return function(){return new q(p.apply(this,arguments))}},await:function(p){return new u(p)}}})();var I=function(u){function q(c){var m={};this.subscribe=function(d,e,k){if("function"!==typeof e)return!1;m.hasOwnProperty(d)||(m[d]={});var l=Math.random().toString(35);m[d][l]=[e,!!k];return l};this.unsubscribe=function(d){for(var e in m)if(m[e][d])return delete m[e][d],!0;return!1};this.publish=function(d){if(m.hasOwnProperty(d)){var e=Array.prototype.slice.call(arguments,
1),k=[],l;for(l in m[d]){var a=m[d][l];try{a[0].apply(c,e)}catch(h){u.console&&console.error("jsPDF PubSub Error",h.message,h)}a[1]&&k.push(l)}k.length&&k.forEach(this.unsubscribe)}}}function p(c,m,d,e){var k={};"object"===("undefined"===typeof c?"undefined":X(c))&&(k=c,c=k.orientation,m=k.unit||m,d=k.format||d,e=k.compress||k.compressPdf||e);m=m||"mm";d=d||"a4";c=(""+(c||"P")).toLowerCase();(""+d).toLowerCase();var l=!!e&&"function"===typeof Uint8Array,a=k.textColor||"0 g",h=k.drawColor||"0 G",t=
k.fontSize||16,n=k.lineHeight||1.15,x=k.lineWidth||.200025,v=2,B=!1,D=[],K={},U={},Y,O=0,N,A=[],y=[],G=[],J=[],L=[],M=0,ia=0,P=0,qa,ca,ra,ja,ba,Da={title:"",subject:"",author:"",keywords:"",creator:""},ka={},sa=new q(ka),aa=function(z){return z.toFixed(2)},Fa=function(z){return("0"+parseInt(z)).slice(-2)},W=function(z){B?A[N].push(z):(P+=z.length+1,J.push(z))},Ga=function(){v++;D[v]=P;W(v+" 0 obj");return v},w=function(z){W("stream");W(z);W("endstream")},E=function(z,H,T,ea){var Z="F"+(Object.keys(K).length+
1).toString(10);z=K[Z]={id:Z,PostScriptName:z,fontName:H,fontStyle:T,encoding:ea,metadata:{}};U.hasOwnProperty(H)||(U[H]={});U[H][T]=Z;sa.publish("addFont",z);return Z},F=function(z,H){var T,ea;H=H||{};var Z=H.sourceEncoding||"Unicode";var ma=H.outputEncoding;if((H.autoencode||ma)&&K[Ia].metadata&&K[Ia].metadata[Z]&&K[Ia].metadata[Z].encoding&&(Z=K[Ia].metadata[Z].encoding,!ma&&K[Ia].encoding&&(ma=K[Ia].encoding),!ma&&Z.codePages&&(ma=Z.codePages[0]),"string"===typeof ma&&(ma=Z[ma]),ma)){var wa=!1;
var ua=[];Z=0;for(T=z.length;Z<T;Z++)(ea=ma[z.charCodeAt(Z)])?ua.push(String.fromCharCode(ea)):ua.push(z[Z]),ua[Z].charCodeAt(0)>>8&&(wa=!0);z=ua.join("")}for(Z=z.length;void 0===wa&&0!==Z;)z.charCodeAt(Z-1)>>8&&(wa=!0),Z--;if(wa){ua=H.noBOM?[]:[254,255];Z=0;for(T=z.length;Z<T;Z++){ea=z.charCodeAt(Z);wa=ea>>8;if(wa>>8)throw Error("Character at position "+Z+" of string '"+z+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");ua.push(wa);ua.push(ea-(wa<<8))}z=String.fromCharCode.apply(void 0,ua)}return z.replace(/\\/g,
"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},S=function(z,H){var T="string"===typeof H&&H.toLowerCase();if("string"===typeof z){var ea=z.toLowerCase();f.hasOwnProperty(ea)&&(z=f[ea][0]/na,H=f[ea][1]/na)}Array.isArray(z)&&(H=z[1],z=z[0]);if(T){switch(T.substr(0,1)){case "l":H>z&&(T="s");break;case "p":z>H&&(T="s")}"s"===T&&(Y=z,z=H,H=Y)}B=!0;A[++O]=[];G[O]={width:Number(z)||qa,height:Number(H)||ca};y[O]={};la(O)},V=function(){S.apply(this,arguments);W(aa(x*na)+" w");W(h);0!==M&&W(M+" J");0!==
ia&&W(ia+" j");sa.publish("addPage",{pageNumber:O})},R=function(z){0<z&&z<=O&&(A.splice(z,1),G.splice(z,1),O--,N>O&&(N=O),this.setPage(N))},la=function(z){0<z&&z<=O&&(N=z,qa=G[z].width,ca=G[z].height)},fa=function(z,H){z=void 0!==z?z:K[Ia].fontName;H=void 0!==H?H:K[Ia].fontStyle;void 0!==z&&(z=z.toLowerCase());switch(z){case "sans-serif":case "verdana":case "arial":case "helvetica":z="helvetica";break;case "fixed":case "monospace":case "terminal":case "courier":z="courier";break;default:z="times"}try{var T=
U[z][H]}catch(ea){}T||(T=U.times[H],null==T&&(T=U.times.normal));return T},ya=function(){B=!1;v=2;P=0;J=[];D=[];L=[];sa.publish("buildDocument");W("%PDF-1.3");var z,H,T=[];var ea=u.adler32cs||p.adler32cs;l&&"undefined"===typeof ea&&(l=!1);for(z=1;z<=O;z++){T.push(Ga());var Z=(qa=G[z].width)*na;var ma=(ca=G[z].height)*na;W("\x3c\x3c/Type /Page");W("/Parent 1 0 R");W("/Resources 2 0 R");W("/MediaBox [0 0 "+aa(Z)+" "+aa(ma)+"]");sa.publish("putPage",{pageNumber:z,page:A[z]});W("/Contents "+(v+1)+" 0 R");
W("\x3e\x3e");W("endobj");ma=A[z].join("\n");Ga();if(l){Z=[];for(H=ma.length;H--;)Z[H]=ma.charCodeAt(H);H=ea.from(ma);ma=new pa(6);ma.append(new Uint8Array(Z));ma=ma.flush();Z=new Uint8Array(ma.length+6);Z.set(new Uint8Array([120,156]));Z.set(ma,2);Z.set(new Uint8Array([H&255,H>>8&255,H>>16&255,H>>24&255]),ma.length+2);ma=String.fromCharCode.apply(null,Z);W("\x3c\x3c/Length "+ma.length+" /Filter [/FlateDecode]\x3e\x3e")}else W("\x3c\x3c/Length "+ma.length+"\x3e\x3e");w(ma);W("endobj")}D[1]=P;W("1 0 obj");
W("\x3c\x3c/Type /Pages");z="/Kids [";for(H=0;H<O;H++)z+=T[H]+" 0 R ";W(z+"]");W("/Count "+O);W("\x3e\x3e");W("endobj");sa.publish("postPutPages");sa.publish("putAdditionalObjects");for(T=0;T<L.length;T++)z=L[T],D[z.objId]=P,W(z.objId+" 0 obj"),W(z.content),W("endobj");v+=L.length;sa.publish("postPutAdditionalObjects");for(var wa in K)K.hasOwnProperty(wa)&&(T=K[wa],T.objectNumber=Ga(),W("\x3c\x3c/BaseFont/"+T.PostScriptName+"/Type/Font"),"string"===typeof T.encoding&&W("/Encoding/"+T.encoding),W("/Subtype/Type1\x3e\x3e"),
W("endobj"));sa.publish("putResources");D[2]=P;W("2 0 obj");W("\x3c\x3c");W("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]");W("/Font \x3c\x3c");for(var ua in K)K.hasOwnProperty(ua)&&W("/"+ua+" "+K[ua].objectNumber+" 0 R");W("\x3e\x3e");W("/XObject \x3c\x3c");sa.publish("putXobjectDict");W("\x3e\x3e");W("\x3e\x3e");W("endobj");sa.publish("postPutResources");Ga();W("\x3c\x3c");W("/Producer (jsPDF "+p.version+")");for(var Ca in Da)Da.hasOwnProperty(Ca)&&Da[Ca]&&W("/"+Ca.substr(0,1).toUpperCase()+Ca.substr(1)+
" ("+F(Da[Ca])+")");wa=new Date;ua=wa.getTimezoneOffset();Ca=Math.abs(ua%60);ua=[0>ua?"+":"-",Fa(Math.floor(Math.abs(ua/60))),"'",Fa(Ca),"'"].join("");W(["/CreationDate (D:",wa.getFullYear(),Fa(wa.getMonth()+1),Fa(wa.getDate()),Fa(wa.getHours()),Fa(wa.getMinutes()),Fa(wa.getSeconds()),ua,")"].join(""));W("\x3e\x3e");W("endobj");Ga();W("\x3c\x3c");W("/Type /Catalog");W("/Pages 1 0 R");ja||(ja="fullwidth");switch(ja){case "fullwidth":W("/OpenAction [3 0 R /FitH null]");break;case "fullheight":W("/OpenAction [3 0 R /FitV null]");
break;case "fullpage":W("/OpenAction [3 0 R /Fit]");break;case "original":W("/OpenAction [3 0 R /XYZ null null 1]");break;default:wa=""+ja,"%"===wa.substr(wa.length-1)&&(ja=parseInt(ja)/100),"number"===typeof ja&&W("/OpenAction [3 0 R /XYZ null null "+aa(ja)+"]")}ba||(ba="continuous");switch(ba){case "continuous":W("/PageLayout /OneColumn");break;case "single":W("/PageLayout /SinglePage");break;case "two":case "twoleft":W("/PageLayout /TwoColumnLeft");break;case "tworight":W("/PageLayout /TwoColumnRight")}ra&&
W("/PageMode /"+ra);sa.publish("putCatalog");W("\x3e\x3e");W("endobj");wa=P;W("xref");W("0 "+(v+1));W("0000000000 65535 f ");for(ua=1;ua<=v;ua++)"function"===typeof D[ua]?W(("0000000000"+D[ua]()).slice(-10)+" 00000 n "):W(("0000000000"+D[ua]).slice(-10)+" 00000 n ");W("trailer");W("\x3c\x3c");W("/Size "+(v+1));W("/Root "+v+" 0 R");W("/Info "+(v-1)+" 0 R");W("\x3e\x3e");W("startxref");W(""+wa);W("%%EOF");B=!0;return J.join("\n")},Ea=function(z){var H="S";if("F"===z)H="f";else if("FD"===z||"DF"===z)H=
"B";else if("f"===z||"f*"===z||"B"===z||"B*"===z)H=z;return H},Qa=function(){for(var z=ya(),H=z.length,T=new ArrayBuffer(H),ea=new Uint8Array(T);H--;)ea[H]=z.charCodeAt(H);return T},Ha=function(){return new Blob([Qa()],{type:"application/pdf"})},Ra=function(z){z.foo=function(){try{return z.apply(this,arguments)}catch(T){var H=T.stack||"";~H.indexOf(" at ")&&(H=H.split(" at ")[1]);H="Error in function "+H.split("\n")[0].split("\x3c")[0]+": "+T.message;if(u.console)u.console.error(H,T),u.alert&&alert(H);
else throw Error(H);}};z.foo.bar=z;return z.foo}(function(z,H){var T="dataur"===(""+z).substr(0,6)?"data:application/pdf;base64,"+btoa(ya()):0;switch(z){case void 0:return ya();case "save":if(navigator.getUserMedia&&(void 0===u.URL||void 0===u.URL.createObjectURL))return ka.output("dataurlnewwindow");T=saveAs(Ha(),H);"function"===typeof saveAs.unload&&u.setTimeout&&setTimeout(saveAs.unload,911);return T;case "arraybuffer":return Qa();case "blob":return Ha();case "bloburi":case "bloburl":return u.URL&&
u.URL.createObjectURL(Ha())||void 0;case "datauristring":case "dataurlstring":return T;case "dataurlnewwindow":if((z=u.open(T))||"undefined"===typeof safari)return z;case "datauri":case "dataurl":return u.document.location.href=T;default:throw Error('Output type "'+z+'" is not supported.');}});switch(m){case "pt":var na=1;break;case "mm":na=72/25.4000508;break;case "cm":na=72/2.54000508;break;case "in":na=72;break;case "px":na=96/72;break;case "pc":na=12;break;case "em":na=12;break;case "ex":na=6;
break;default:throw"Invalid unit: "+m;}ka.internal={pdfEscape:F,getStyle:Ea,getFont:function(){return K[fa.apply(ka,arguments)]},getFontSize:function(){return t},getLineHeight:function(){return t*n},write:function(z){W(1===arguments.length?z:Array.prototype.join.call(arguments," "))},getCoordinateString:function(z){return aa(z*na)},getVerticalCoordinateString:function(z){return aa((ca-z)*na)},collections:{},newObject:Ga,newAdditionalObject:function(){var z=2*A.length+1;z+=L.length;z={objId:z,content:""};
L.push(z);return z},newObjectDeferred:function(){v++;D[v]=function(){return P};return v},newObjectDeferredBegin:function(z){D[z]=P},putStream:w,events:sa,scaleFactor:na,pageSize:{getWidth:function(){return qa},getHeight:function(){return ca}},output:function(z,H){return Ra(z,H)},getNumberOfPages:function(){return A.length-1},pages:A,out:W,f2:aa,getPageInfo:function(z){return{objId:2*(z-1)+3,pageNumber:z,pageContext:y[z]}},getCurrentPageInfo:function(){return{objId:2*(N-1)+3,pageNumber:N,pageContext:y[N]}},
getPDFVersion:function(){return"1.3"}};ka.addPage=function(){V.apply(this,arguments);return this};ka.setPage=function(){la.apply(this,arguments);return this};ka.insertPage=function(z){this.addPage();this.movePage(N,z);return this};ka.movePage=function(z,H){if(z>H){for(var T=A[z],ea=G[z],Z=y[z];z>H;z--)A[z]=A[z-1],G[z]=G[z-1],y[z]=y[z-1];A[H]=T;G[H]=ea;y[H]=Z;this.setPage(H)}else if(z<H){T=A[z];ea=G[z];for(Z=y[z];z<H;z++)A[z]=A[z+1],G[z]=G[z+1],y[z]=y[z+1];A[H]=T;G[H]=ea;y[H]=Z;this.setPage(H)}return this};
ka.deletePage=function(){R.apply(this,arguments);return this};ka.setDisplayMode=function(z,H,T){ja=z;ba=H;ra=T;if(-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(T))throw Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+T+'" is not recognized.');return this};ka.text=function(z,H,T,ea,Z,ma){function wa(xa){xa=xa.split("\t").join(Array(k.TabLen||9).join(" "));return F(xa,ea)}"number"===typeof z&&(Y=T,T=H,H=z,z=Y);"string"===typeof z&&(z=z.match(/[\n\r]/)?
z.split(/\r\n|\r|\n/g):[z]);"string"===typeof Z&&(ma=Z,Z=null);"string"===typeof ea&&(ma=ea,ea=null);"number"===typeof ea&&(Z=ea,ea=null);var ua="",Ca="Td";Z&&(Z*=Math.PI/180,ua=Math.cos(Z),Ca=Math.sin(Z),ua=[aa(ua),aa(Ca),aa(-1*Ca),aa(ua),""].join(" "),Ca="Tm");ea=ea||{};"noBOM"in ea||(ea.noBOM=!0);"autoencode"in ea||(ea.autoencode=!0);Z="";var Ba=this.internal.getCurrentPageInfo().pageContext;!0===ea.stroke?!0!==Ba.lastTextWasStroke&&(Z="1 Tr\n",Ba.lastTextWasStroke=!0):(Ba.lastTextWasStroke&&(Z=
"0 Tr\n"),Ba.lastTextWasStroke=!1);"undefined"===typeof this._runningPageHeight&&(this._runningPageHeight=0);if("string"===typeof z)z=wa(z);else if("[object Array]"===Object.prototype.toString.call(z)){var Ma=z.concat();Ba=[];for(var Pa=Ma.length;Pa--;)Ba.push(wa(Ma.shift()));if(ma){var Ja=t*n,Q=z.map(function(xa){return this.getStringUnitWidth(xa)*t/na},this);var da=Math.max.apply(Math,Q);if("center"===ma)Ma=H-da/2,H-=Q[0]/2;else if("right"===ma)Ma=H-da,H-=Q[0];else throw Error('Unrecognized alignment option, use "center" or "right".');
var ha=H;z=Ba[0];var oa=1;for(Pa=Ba.length;oa<Pa;oa++){var ta=da-Q[oa];"center"===ma&&(ta/=2);z+=") Tj\n"+(Ma-ha+ta)+" -"+Ja+" Td ("+Ba[oa];ha=Ma+ta}}else z=Ba.join(") Tj\nT* (")}else throw Error('Type of text must be string or Array. "'+z+'" is not recognized.');T=aa((ca-T)*na);W("BT\n/"+Ia+" "+t+" Tf\n"+t*n+" TL\n"+Z+a+"\n"+ua+aa(H*na)+" "+T+" "+Ca+"\n("+z+") Tj\nET");return this};ka.lstext=function(z,H,T,ea){console.warn("jsPDF.lstext is deprecated");for(var Z=0,ma=z.length;Z<ma;Z++,H+=ea)this.text(z[Z],
H,T);return this};ka.line=function(z,H,T,ea){return this.lines([[T-z,ea-H]],z,H)};ka.clip=function(){W("W");W("S")};ka.clip_fixed=function(z){"evenodd"===z?W("W*"):W("W");W("n")};ka.lines=function(z,H,T,ea,Z,ma){"number"===typeof z&&(Y=T,T=H,H=z,z=Y);ea=ea||[1,1];W((H*na).toFixed(3)+" "+((ca-T)*na).toFixed(3)+" m ");var wa=ea[0];ea=ea[1];var ua=z.length;var Ca=T;for(T=0;T<ua;T++){var Ba=z[T];if(2===Ba.length)H=Ba[0]*wa+H,Ca=Ba[1]*ea+Ca,W((H*na).toFixed(3)+" "+((ca-Ca)*na).toFixed(3)+" l");else{var Ma=
Ba[0]*wa+H;var Pa=Ba[1]*ea+Ca;var Ja=Ba[2]*wa+H;var Q=Ba[3]*ea+Ca;H=Ba[4]*wa+H;Ca=Ba[5]*ea+Ca;W((Ma*na).toFixed(3)+" "+((ca-Pa)*na).toFixed(3)+" "+(Ja*na).toFixed(3)+" "+((ca-Q)*na).toFixed(3)+" "+(H*na).toFixed(3)+" "+((ca-Ca)*na).toFixed(3)+" c")}}ma&&W(" h");null!==Z&&W(Ea(Z));return this};ka.rect=function(z,H,T,ea,Z){Ea(Z);W([aa(z*na),aa((ca-H)*na),aa(T*na),aa(-ea*na),"re"].join(" "));null!==Z&&W(Ea(Z));return this};ka.triangle=function(z,H,T,ea,Z,ma,wa){this.lines([[T-z,ea-H],[Z-T,ma-ea],[z-
Z,H-ma]],z,H,[1,1],wa,!0);return this};ka.roundedRect=function(z,H,T,ea,Z,ma,wa){var ua=4/3*(Math.SQRT2-1);this.lines([[T-2*Z,0],[Z*ua,0,Z,ma-ma*ua,Z,ma],[0,ea-2*ma],[0,ma*ua,-(Z*ua),ma,-Z,ma],[-T+2*Z,0],[-(Z*ua),0,-Z,-(ma*ua),-Z,-ma],[0,-ea+2*ma],[0,-(ma*ua),Z*ua,-ma,Z,-ma]],z+Z,H,[1,1],wa);return this};ka.ellipse=function(z,H,T,ea,Z){var ma=4/3*(Math.SQRT2-1)*T,wa=4/3*(Math.SQRT2-1)*ea;W([aa((z+T)*na),aa((ca-H)*na),"m",aa((z+T)*na),aa((ca-(H-wa))*na),aa((z+ma)*na),aa((ca-(H-ea))*na),aa(z*na),aa((ca-
(H-ea))*na),"c"].join(" "));W([aa((z-ma)*na),aa((ca-(H-ea))*na),aa((z-T)*na),aa((ca-(H-wa))*na),aa((z-T)*na),aa((ca-H)*na),"c"].join(" "));W([aa((z-T)*na),aa((ca-(H+wa))*na),aa((z-ma)*na),aa((ca-(H+ea))*na),aa(z*na),aa((ca-(H+ea))*na),"c"].join(" "));W([aa((z+ma)*na),aa((ca-(H+ea))*na),aa((z+T)*na),aa((ca-(H+wa))*na),aa((z+T)*na),aa((ca-H)*na),"c"].join(" "));null!==Z&&W(Ea(Z));return this};ka.circle=function(z,H,T,ea){return this.ellipse(z,H,T,T,ea)};ka.setProperties=function(z){for(var H in Da)Da.hasOwnProperty(H)&&
z[H]&&(Da[H]=z[H]);return this};ka.setFontSize=function(z){t=z;return this};ka.setFont=function(z,H){Ia=fa(z,H);return this};ka.setFontStyle=ka.setFontType=function(z){Ia=fa(void 0,z);return this};ka.getFontList=function(){var z={},H,T,ea;for(H in U)if(U.hasOwnProperty(H))for(T in z[H]=ea=[],U[H])U[H].hasOwnProperty(T)&&ea.push(T);return z};ka.addFont=function(z,H,T){E(z,H,T,"StandardEncoding")};ka.setLineWidth=function(z){W((z*na).toFixed(2)+" w");return this};ka.setDrawColor=function(z,H,T,ea){z=
void 0===H||void 0===ea&&z===H===T?"string"===typeof z?z+" G":aa(z/255)+" G":void 0===ea?"string"===typeof z?[z,H,T,"RG"].join(" "):[aa(z/255),aa(H/255),aa(T/255),"RG"].join(" "):"string"===typeof z?[z,H,T,ea,"K"].join(" "):[aa(z),aa(H),aa(T),aa(ea),"K"].join(" ");W(z);return this};ka.setFillColor=function(z,H,T,ea){void 0===H||void 0===ea&&z===H===T?z="string"===typeof z?z+" g":aa(z/255)+" g":void 0===ea||"object"===("undefined"===typeof ea?"undefined":X(ea))?(z="string"===typeof z?[z,H,T,"rg"].join(" "):
[aa(z/255),aa(H/255),aa(T/255),"rg"].join(" "),ea&&0===ea.a&&(z="255 255 255 rg")):z="string"===typeof z?[z,H,T,ea,"k"].join(" "):[aa(z),aa(H),aa(T),aa(ea),"k"].join(" ");W(z);return this};ka.setTextColor=function(z,H,T){"string"===typeof z&&/^#[0-9A-Fa-f]{6}$/.test(z)&&(T=parseInt(z.substr(1),16),z=T>>16&255,H=T>>8&255,T&=255);a=0===z&&0===H&&0===T||"undefined"===typeof H?(z/255).toFixed(3)+" g":[(z/255).toFixed(3),(H/255).toFixed(3),(T/255).toFixed(3),"rg"].join(" ");return this};ka.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};ka.setLineCap=function(z){var H=this.CapJoinStyles[z];if(void 0===H)throw Error("Line cap style of '"+z+"' is not recognized. See or extend .CapJoinStyles property for valid styles");M=H;W(H+" J");return this};ka.setLineJoin=function(z){var H=this.CapJoinStyles[z];if(void 0===H)throw Error("Line join style of '"+z+"' is not recognized. See or extend .CapJoinStyles property for valid styles");ia=H;
W(H+" j");return this};ka.output=Ra;ka.save=function(z){return ka.output("save",z)};for(var Sa in p.API)p.API.hasOwnProperty(Sa)&&("events"===Sa&&p.API.events.length?function(z,H){var T;for(T=H.length-1;-1!==T;T--){var ea=H[T][0];var Z=H[T][1];z.subscribe.apply(z,[ea].concat("function"===typeof Z?[Z]:Z))}}(sa,p.API.events):ka[Sa]=p.API[Sa]);(function(){for(var z=[["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"]],H=0,T=z.length;H<T;H++){var ea=E(z[H][0],z[H][1],z[H][2],"StandardEncoding"),Z=z[H][0].split("-"),ma=Z[0];Z=Z[1]||"";U.hasOwnProperty(ma)||(U[ma]={});U[ma][Z]=
ea}sa.publish("addFonts",{fonts:K,dictionary:U})})();var Ia="F1";V(d,c);sa.publish("initialized");return ka}var f={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],
b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};p.API={events:[]};p.version="1.x-master";return p}("undefined"!==typeof self&&
self||"undefined"!==typeof window&&window||void 0);(window.AcroForm=function(u){var q=window.AcroForm;q.scale=function(k){return p.internal.scaleFactor/1*k};q.antiScale=function(k){return 1/p.internal.scaleFactor*k};var p={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null};I.API.acroformPlugin=p;var f=function(){for(var k in this.acroformPlugin.acroFormDictionaryRoot.Fields){var l=this.acroformPlugin.acroFormDictionaryRoot.Fields[k];if(l.hasAnnotation){var a={type:"reference",
object:l};I.API.annotationPlugin.annotations[this.internal.getPageInfo(l.page).pageNumber].push(a)}}},c=function(k){this.acroformPlugin.printedOut&&(this.acroformPlugin.printedOut=!1,this.acroformPlugin.acroFormDictionaryRoot=null);if(!this.acroformPlugin.acroFormDictionaryRoot){if(this.acroformPlugin.acroFormDictionaryRoot)throw Error("Exception while creating AcroformDictionary");this.acroformPlugin.acroFormDictionaryRoot=new q.AcroFormDictionary;this.acroformPlugin.internal=this.internal;this.acroformPlugin.acroFormDictionaryRoot._eventID=
this.internal.events.subscribe("postPutResources",d);this.internal.events.subscribe("buildDocument",f);this.internal.events.subscribe("putCatalog",m);this.internal.events.subscribe("postPutPages",e)}this.acroformPlugin.acroFormDictionaryRoot.Fields.push(k)},m=function(){"undefined"!=typeof this.acroformPlugin.acroFormDictionaryRoot?this.internal.write("/AcroForm "+this.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R"):console.log("Root missing...")},d=function(){this.internal.events.unsubscribe(this.acroformPlugin.acroFormDictionaryRoot._eventID);
delete this.acroformPlugin.acroFormDictionaryRoot._eventID;this.acroformPlugin.printedOut=!0},e=function(k){var l=!k;k||(this.internal.newObjectDeferredBegin(this.acroformPlugin.acroFormDictionaryRoot.objId),this.internal.out(this.acroformPlugin.acroFormDictionaryRoot.getString()));k=k||this.acroformPlugin.acroFormDictionaryRoot.Kids;for(var a in k){var h=k[a],t=h.Rect;h.Rect&&(h.Rect=q.internal.calculateCoordinates.call(this,h.Rect));this.internal.newObjectDeferredBegin(h.objId);var n="";n+=h.objId+
" 0 obj\n";n+="\x3c\x3c\n"+h.getContent();h.Rect=t;h.hasAppearanceStream&&!h.appearanceStreamContent&&(t=q.internal.calculateAppearanceStream.call(this,h),n+="/AP \x3c\x3c /N "+t+" \x3e\x3e\n",this.acroformPlugin.xForms.push(t));if(h.appearanceStreamContent){n+="/AP \x3c\x3c ";for(var x in h.appearanceStreamContent){t=h.appearanceStreamContent[x];n+="/"+x+" ";n+="\x3c\x3c ";if(1<=Object.keys(t).length||Array.isArray(t))for(a in t){var v=t[a];"function"===typeof v&&(v=v.call(this,h));n+="/"+a+" "+
v+" ";0<=this.acroformPlugin.xForms.indexOf(v)||this.acroformPlugin.xForms.push(v)}else v=t,"function"===typeof v&&(v=v.call(this,h)),n+="/"+a+" "+v+" \n",0<=this.acroformPlugin.xForms.indexOf(v)||this.acroformPlugin.xForms.push(v);n+=" \x3e\x3e\n"}n+="\x3e\x3e\n"}n+="\x3e\x3e\nendobj\n";this.internal.out(n)}if(l){k=this.acroformPlugin.xForms;for(var B in k)l=B,a=k[B],this.internal.newObjectDeferredBegin(a&&a.objId),h="",h+=a?a.getString():"",this.internal.out(h),delete k[l]}};u.addField=function(k){if(k instanceof
q.TextField){var l=k||new q.Field;l.FT="/Tx";var a=l.Ff||0;l.multiline&&(a|=4096);l.password&&(a|=8192);l.fileSelect&&(a|=1048576);l.doNotSpellCheck&&(a|=4194304);l.doNotScroll&&(a|=8388608);l.Ff=l.Ff||a;c.call(this,l)}else k instanceof q.ChoiceField?(l=k||new q.Field,l.FT="/Ch",a=l.Ff||0,l.combo&&(a=q.internal.setBitPosition(a,18),delete l.combo),l.edit&&(a=q.internal.setBitPosition(a,19),delete l.edit),l.sort&&(a=q.internal.setBitPosition(a,20),delete l.sort),l.multiSelect&&1.4<=this.internal.getPDFVersion()&&
(a=q.internal.setBitPosition(a,22),delete l.multiSelect),l.doNotSpellCheck&&1.4<=this.internal.getPDFVersion()&&(a=q.internal.setBitPosition(a,23),delete l.doNotSpellCheck),l.Ff=a,c.call(this,l)):k instanceof q.Button?(l=k||new q.Field,l.FT="/Btn",a=l.Ff||0,l.pushbutton&&(a=q.internal.setBitPosition(a,17),delete l.pushbutton),l.radio&&(a=q.internal.setBitPosition(a,16),delete l.radio),l.noToggleToOff&&(a=q.internal.setBitPosition(a,15)),l.Ff=a,c.call(this,l)):k instanceof q.ChildClass?c.call(this,
k):k&&c.call(this,k);k.page=this.acroformPlugin.internal.getCurrentPageInfo().pageNumber;return this}})(I.API);var C=window.AcroForm;C.internal={};C.createFormXObject=function(u){var q=new C.FormXObject,p=C.Appearance.internal.getHeight(u)||0;u=C.Appearance.internal.getWidth(u)||0;q.BBox=[0,0,u,p];return q};C.Appearance={CheckBox:{createAppearanceStream:function(){return{N:{On:C.Appearance.CheckBox.YesNormal},D:{On:C.Appearance.CheckBox.YesPushDown,Off:C.Appearance.CheckBox.OffPushDown}}},createMK:function(){return"\x3c\x3c /CA (3)\x3e\x3e"},
YesPushDown:function(u){var q=C.createFormXObject(u),p="";u.Q=1;var f=C.internal.calculateX(u,"3","ZapfDingbats",50);p+="0.749023 g\n                     0 0 "+C.Appearance.internal.getWidth(u)+" "+C.Appearance.internal.getHeight(u)+" re\n                     f\n                     BMC\n                     q\n                     0 0 1 rg\n                     /F13 "+f.fontSize+" Tf 0 g\n                     BT\n";p+=f.text;q.stream=p+"ET\n                     Q\n                     EMC\n";return q},
YesNormal:function(u){var q=C.createFormXObject(u),p="";u.Q=1;var f=C.internal.calculateX(u,"3","ZapfDingbats",.9*C.Appearance.internal.getHeight(u));p+="1 g\n        0 0 "+C.Appearance.internal.getWidth(u)+" "+C.Appearance.internal.getHeight(u)+" re\n        f\n        q\n        0 0 1 rg\n        0 0 "+(C.Appearance.internal.getWidth(u)-1)+" "+(C.Appearance.internal.getHeight(u)-1)+" re\n        W\n        n\n        0 g\n        BT\n        /F13 "+f.fontSize+" Tf 0 g\n";p+=f.text;q.stream=p+"ET\n                     Q\n";
return q},OffPushDown:function(u){var q=C.createFormXObject(u);u="0.749023 g\n                    0 0 "+C.Appearance.internal.getWidth(u)+" "+C.Appearance.internal.getHeight(u)+" re\n                    f\n";q.stream=u;return q}},RadioButton:{Circle:{createAppearanceStream:function(u){var q={D:{Off:C.Appearance.RadioButton.Circle.OffPushDown},N:{}};q.N[u]=C.Appearance.RadioButton.Circle.YesNormal;q.D[u]=C.Appearance.RadioButton.Circle.YesPushDown;return q},createMK:function(){return"\x3c\x3c /CA (l)\x3e\x3e"},
YesNormal:function(u){var q=C.createFormXObject(u),p="",f=C.Appearance.internal.getWidth(u)<=C.Appearance.internal.getHeight(u)?C.Appearance.internal.getWidth(u)/4:C.Appearance.internal.getHeight(u)/4;f*=.9;var c=C.Appearance.internal.Bezier_C;p+="q\n        1 0 0 1 "+C.Appearance.internal.getWidth(u)/2+" "+C.Appearance.internal.getHeight(u)/2+" cm\n        "+f+" 0 m\n        "+f+" "+f*c+" "+f*c+" "+f+" 0 "+f+" c\n        -"+f*c+" "+f+" -"+f+" "+f*c+" -"+f+" 0 c\n        -"+f+" -"+f*c+" -"+f*c+" -"+
f+" 0 -"+f+" c\n        "+f*c+" -"+f+" "+f+" -"+f*c+" "+f+" 0 c\n        f\n        Q\n";q.stream=p;return q},YesPushDown:function(u){var q=C.createFormXObject(u),p="",f=C.Appearance.internal.getWidth(u)<=C.Appearance.internal.getHeight(u)?C.Appearance.internal.getWidth(u)/4:C.Appearance.internal.getHeight(u)/4;f*=.9;var c=2*f,m=c*C.Appearance.internal.Bezier_C,d=f*C.Appearance.internal.Bezier_C;p+="0.749023 g\n                    q\n                   1 0 0 1 "+C.Appearance.internal.getWidth(u)/
2+" "+C.Appearance.internal.getHeight(u)/2+" cm\n        "+c+" 0 m\n        "+c+" "+m+" "+m+" "+c+" 0 "+c+" c\n        -"+m+" "+c+" -"+c+" "+m+" -"+c+" 0 c\n        -"+c+" -"+m+" -"+m+" -"+c+" 0 -"+c+" c\n        "+m+" -"+c+" "+c+" -"+m+" "+c+" 0 c\n                    f\n                    Q\n                    0 g\n                    q\n                    1 0 0 1 "+C.Appearance.internal.getWidth(u)/2+" "+C.Appearance.internal.getHeight(u)/2+" cm\n        "+f+" 0 m\n        "+f+" "+d+" "+d+" "+
f+" 0 "+f+" c\n        -"+d+" "+f+" -"+f+" "+d+" -"+f+" 0 c\n        -"+f+" -"+d+" -"+d+" -"+f+" 0 -"+f+" c\n        "+d+" -"+f+" "+f+" -"+d+" "+f+" 0 c\n                    f\n                    Q\n";q.stream=p;return q},OffPushDown:function(u){var q=C.createFormXObject(u),p="",f=1.8*(C.Appearance.internal.getWidth(u)<=C.Appearance.internal.getHeight(u)?C.Appearance.internal.getWidth(u)/4:C.Appearance.internal.getHeight(u)/4),c=f*C.Appearance.internal.Bezier_C;p+="0.749023 g\n                    q\n         1 0 0 1 "+
C.Appearance.internal.getWidth(u)/2+" "+C.Appearance.internal.getHeight(u)/2+" cm\n        "+f+" 0 m\n        "+f+" "+c+" "+c+" "+f+" 0 "+f+" c\n        -"+c+" "+f+" -"+f+" "+c+" -"+f+" 0 c\n        -"+f+" -"+c+" -"+c+" -"+f+" 0 -"+f+" c\n        "+c+" -"+f+" "+f+" -"+c+" "+f+" 0 c\n                    f\n                    Q\n";q.stream=p;return q}},Cross:{createAppearanceStream:function(u){var q={D:{Off:C.Appearance.RadioButton.Cross.OffPushDown},N:{}};q.N[u]=C.Appearance.RadioButton.Cross.YesNormal;
q.D[u]=C.Appearance.RadioButton.Cross.YesPushDown;return q},createMK:function(){return"\x3c\x3c /CA (8)\x3e\x3e"},YesNormal:function(u){var q=C.createFormXObject(u),p="",f=C.Appearance.internal.calculateCross(u);p+="q\n                    1 1 "+(C.Appearance.internal.getWidth(u)-2)+" "+(C.Appearance.internal.getHeight(u)-2)+" re\n                    W\n                    n\n                    "+f.x1.x+" "+f.x1.y+" m\n                    "+f.x2.x+" "+f.x2.y+" l\n                    "+f.x4.x+" "+
f.x4.y+" m\n                    "+f.x3.x+" "+f.x3.y+" l\n                    s\n                    Q\n";q.stream=p;return q},YesPushDown:function(u){var q=C.createFormXObject(u),p=C.Appearance.internal.calculateCross(u);u="0.749023 g\n                    0 0 "+C.Appearance.internal.getWidth(u)+" "+C.Appearance.internal.getHeight(u)+" re\n                    f\n                    q\n                    1 1 "+(C.Appearance.internal.getWidth(u)-2)+" "+(C.Appearance.internal.getHeight(u)-2)+" re\n                    W\n                    n\n                    "+
p.x1.x+" "+p.x1.y+" m\n                    "+p.x2.x+" "+p.x2.y+" l\n                    "+p.x4.x+" "+p.x4.y+" m\n                    "+p.x3.x+" "+p.x3.y+" l\n                    s\n                    Q\n";q.stream=u;return q},OffPushDown:function(u){var q=C.createFormXObject(u);u="0.749023 g\n                    0 0 "+C.Appearance.internal.getWidth(u)+" "+C.Appearance.internal.getHeight(u)+" re\n                    f\n";q.stream=u;return q}}},createDefaultAppearanceStream:function(u){return"/Helv 0 Tf 0 g"}};
C.Appearance.internal={Bezier_C:.551915024494,calculateCross:function(u){var q=C.Appearance.internal.getWidth(u);u=C.Appearance.internal.getHeight(u);var p=q>u?u:q;return{x1:{x:(q-p)/2,y:(u-p)/2+p},x2:{x:(q-p)/2+p,y:(u-p)/2},x3:{x:(q-p)/2,y:(u-p)/2},x4:{x:(q-p)/2+p,y:(u-p)/2+p}}}};C.Appearance.internal.getWidth=function(u){return u.Rect[2]};C.Appearance.internal.getHeight=function(u){return u.Rect[3]};C.internal.inherit=function(u,q){u.prototype=Object.create(q.prototype);u.prototype.constructor=
u};C.internal.arrayToPdfArray=function(u){if(Array.isArray(u)){var q=" [",p;for(p in u)q+=u[p].toString(),q+=p<u.length-1?" ":"";return q+"]"}};C.internal.toPdfString=function(u){u=u||"";0!==u.indexOf("(")&&(u="("+u);")"!=u.substring(u.length-1)&&(u+="(");return u};C.PDFObject=function(){var u;Object.defineProperty(this,"objId",{get:function(){u||(this.internal?u=this.internal.newObjectDeferred():I.API.acroformPlugin.internal&&(u=I.API.acroformPlugin.internal.newObjectDeferred()));u||console.log("Couldn't create Object ID");
return u},configurable:!1})};C.PDFObject.prototype.toString=function(){return this.objId+" 0 R"};C.PDFObject.prototype.getString=function(){var u=this.objId+" 0 obj\n\x3c\x3c",q=this.getContent();u+=q+"\x3e\x3e\n";this.stream&&(u=u+"stream\n"+this.stream,u+="endstream\n");return u+"endobj\n"};C.PDFObject.prototype.getContent=function(){return""+function(u){var q="",p=Object.keys(u).filter(function(d){return"content"!=d&&"appearanceStreamContent"!=d&&"_"!=d.substring(0,1)}),f;for(f in p){var c=p[f],
m=u[c];m&&(q=Array.isArray(m)?q+("/"+c+" "+C.internal.arrayToPdfArray(m)+"\n"):m instanceof C.PDFObject?q+("/"+c+" "+m.objId+" 0 R\n"):q+("/"+c+" "+m+"\n"))}return q}(this)};C.FormXObject=function(){C.PDFObject.call(this);this.Type="/XObject";this.Subtype="/Form";this.FormType=1;this.BBox;this.Matrix;this.Resources="2 0 R";this.PieceInfo;var u;Object.defineProperty(this,"Length",{enumerable:!0,get:function(){return void 0!==u?u.length:0}});Object.defineProperty(this,"stream",{enumerable:!1,set:function(q){u=
q},get:function(){return u?u:null}})};C.internal.inherit(C.FormXObject,C.PDFObject);C.AcroFormDictionary=function(){C.PDFObject.call(this);var u=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){if(0<u.length)return u}});Object.defineProperty(this,"Fields",{enumerable:!0,configurable:!0,get:function(){return u}});this.DA};C.internal.inherit(C.AcroFormDictionary,C.PDFObject);C.Field=function(){C.PDFObject.call(this);var u;Object.defineProperty(this,"Rect",{enumerable:!0,
configurable:!1,get:function(){if(u)return u},set:function(m){u=m}});var q="";Object.defineProperty(this,"FT",{enumerable:!0,set:function(m){q=m},get:function(){return q}});var p;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,set:function(m){p=m},get:function(){return!p||1>p.length?this instanceof C.ChildClass?void 0:"(FieldObject"+C.Field.FieldNum++ +")":"("==p.substring(0,1)&&p.substring(p.length-1)?p:"("+p+")"}});var f;Object.defineProperty(this,"DA",{enumerable:!0,get:function(){if(f)return"("+
f+")"},set:function(m){f=m}});var c;Object.defineProperty(this,"DV",{enumerable:!0,configurable:!0,get:function(){if(c)return c},set:function(m){c=m}});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}});Object.defineProperty(this,"hasAnnotation",{enumerable:!1,get:function(){return this.Rect||this.BC||this.BG?!0:!1}});Object.defineProperty(this,
"hasAppearanceStream",{enumerable:!1,configurable:!0,writable:!0});Object.defineProperty(this,"page",{enumerable:!1,configurable:!0,writable:!0})};C.Field.FieldNum=0;C.internal.inherit(C.Field,C.PDFObject);C.ChoiceField=function(){C.Field.call(this);this.FT="/Ch";this.Opt=[];this.V="()";this.TI=0;this.combo=!1;Object.defineProperty(this,"edit",{enumerable:!0,set:function(u){1==u?this.combo=this._edit=!0:this._edit=!1},get:function(){return this._edit?this._edit:!1},configurable:!1});this.hasAppearanceStream=
!0;Object.defineProperty(this,"V",{get:function(){C.internal.toPdfString()}})};C.internal.inherit(C.ChoiceField,C.Field);C.ListBox=function(){C.ChoiceField.call(this)};C.internal.inherit(C.ListBox,C.ChoiceField);C.ComboBox=function(){C.ListBox.call(this);this.combo=!0};C.internal.inherit(C.ComboBox,C.ListBox);C.EditBox=function(){C.ComboBox.call(this);this.edit=!0};C.internal.inherit(C.EditBox,C.ComboBox);C.Button=function(){C.Field.call(this);this.FT="/Btn"};C.internal.inherit(C.Button,C.Field);
C.PushButton=function(){C.Button.call(this);this.pushbutton=!0};C.internal.inherit(C.PushButton,C.Button);C.RadioButton=function(){C.Button.call(this);this.radio=!0;var u=[];Object.defineProperty(this,"Kids",{enumerable:!0,get:function(){if(0<u.length)return u}});Object.defineProperty(this,"__Kids",{get:function(){return u}});var q;Object.defineProperty(this,"noToggleToOff",{enumerable:!1,get:function(){return q},set:function(p){q=p}})};C.internal.inherit(C.RadioButton,C.Button);C.ChildClass=function(u,
q){C.Field.call(this);this.Parent=u;this._AppearanceType=C.Appearance.RadioButton.Circle;this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(q);this.F=C.internal.setBitPosition(this.F,3,1);this.MK=this._AppearanceType.createMK();this.AS="/Off";this._Name=q};C.internal.inherit(C.ChildClass,C.Field);C.RadioButton.prototype.setAppearance=function(u){if("createAppearanceStream"in u&&"createMK"in u)for(var q in this.__Kids){var p=this.__Kids[q];p.appearanceStreamContent=u.createAppearanceStream(p._Name);
p.MK=u.createMK()}else console.log("Couldn't assign Appearance to RadioButton. Appearance was Invalid!")};C.RadioButton.prototype.createOption=function(u){u=new C.ChildClass(this,u);this.__Kids.push(u);I.API.addField(u);return u};C.CheckBox=function(){C.Button.call(this);this.appearanceStreamContent=C.Appearance.CheckBox.createAppearanceStream();this.MK=C.Appearance.CheckBox.createMK();this.V=this.AS="/On"};C.internal.inherit(C.CheckBox,C.Button);C.TextField=function(){C.Field.call(this);this.DA=
C.Appearance.createDefaultAppearanceStream();this.F=4;var u;Object.defineProperty(this,"V",{get:function(){return u?"("+u+")":u},enumerable:!0,set:function(c){u=c}});var q;Object.defineProperty(this,"DV",{get:function(){return q?"("+q+")":q},enumerable:!0,set:function(c){q=c}});var p=!1;Object.defineProperty(this,"multiline",{enumerable:!1,get:function(){return p},set:function(c){p=c}});var f=!1;Object.defineProperty(this,"MaxLen",{enumerable:!0,get:function(){return f},set:function(c){f=c}});Object.defineProperty(this,
"hasAppearanceStream",{enumerable:!1,get:function(){return this.V||this.DV}})};C.internal.inherit(C.TextField,C.Field);C.PasswordField=function(){C.TextField.call(this);Object.defineProperty(this,"password",{value:!0,enumerable:!1,configurable:!1,writable:!1})};C.internal.inherit(C.PasswordField,C.TextField);C.internal.calculateFontSpace=function(u,q,p){p=p||"helvetica";var f=C.internal.calculateFontSpace.canvas||(C.internal.calculateFontSpace.canvas=document.createElement("canvas")),c=f.getContext("2d");
c.save();c.font=q+" "+p;u={width:c.measureText(u).getWidth()};c.fontcolor="black";c=f.getContext("2d");u.height=1.5*c.measureText("3").getWidth();c.restore();return u};C.internal.calculateX=function(u,q,p,f){f=f||12;p=p||"helvetica";var c={text:"",fontSize:""};q="("==q.substr(0,1)?q.substr(1):q;q=")"==q.substr(q.length-1)?q.substr(0,q.length-1):q;var m=q.split(" "),d=C.Appearance.internal.getHeight(u)||0;d=0>d?-d:d;var e=C.Appearance.internal.getWidth(u)||0;e=0>e?-e:e;f++;a:for(;;){q="";f--;var k=
C.internal.calculateFontSpace("3",f+"px",p).height,l=u.multiline?d-f:(d-k)/2;l+=2;var a=-2,h=a=0,t=0;if(0==f){f=12;q="(...) Tj\n";q+="% Width of Text: "+C.internal.calculateFontSpace(q,"1px").width+", FieldWidth:"+e+"\n";break}t=C.internal.calculateFontSpace(m[0]+" ",f+"px",p).width;var n="",x=0,v;for(v in m){n+=m[v]+" ";n=" "==n.substr(n.length-1)?n.substr(0,n.length-1):n;var B=parseInt(v);t=C.internal.calculateFontSpace(n+" ",f+"px",p).width;t=B+1<m.length?C.internal.calculateFontSpace(n+" "+m[B+
1],f+"px",p).width<=e-4:!1;var D=v>=m.length-1;if(t&&!D)n+=" ";else{if(!t&&!D)if(u.multiline){if((k+2)*(x+2)+2>d)continue a;h=B}else continue a;else if(D)h=B;else if(u.multiline&&(k+2)*(x+2)+2>d)continue a;for(n="";a<=h;a++)n+=m[a]+" ";n=" "==n.substr(n.length-1)?n.substr(0,n.length-1):n;t=C.internal.calculateFontSpace(n,f+"px",p).width;switch(u.Q){case 2:a=e-t-2;break;case 1:a=(e-t)/2;break;default:a=2}q+=a+" "+l+" Td\n";q+="("+n+") Tj\n";q+=-a+" 0 Td\n";l=-(f+2);t=0;a=h+1;x++;n=""}}break}c.text=
q;c.fontSize=f;return c};C.internal.calculateAppearanceStream=function(u){if(u.appearanceStreamContent)return u.appearanceStreamContent;if(u.V||u.DV){var q="",p=C.internal.calculateX(u,u.V||u.DV);q+="/Tx BMC\nq\n/F1 "+p.fontSize+" Tf\n1 0 0 1 0 0 Tm\n";q=q+"BT\n"+p.text;q+="ET\nQ\nEMC\n";u=new C.createFormXObject(u);u.stream=q;return u}};C.internal.calculateCoordinates=function(u,q,p,f){if(this.internal)if(Array.isArray(u)){u[0]=C.scale(u[0]);u[1]=C.scale(u[1]);u[2]=C.scale(u[2]);u[3]=C.scale(u[3]);
var c=u[0]||0;var m=this.internal.pageSize.getHeight()*this.internal.scaleFactor-u[3]-u[1]||0;p=u[0]+u[2]||0;u=this.internal.pageSize.getHeight()*this.internal.scaleFactor-u[1]||0}else u=C.scale(u),q=C.scale(q),p=C.scale(p),f=C.scale(f),c=u||0,m=this.internal.pageSize.getHeight()-q||0,p=u+p||0,u=this.internal.pageSize.getHeight()-q+f||0;else Array.isArray(u)?(c=u[0]||0,m=u[1]||0,p=u[0]+u[2]||0,u=u[1]+u[3]||0):(c=u||0,m=q||0,p=u+p||0,u=q+f||0);return[c,m,p,u]};C.internal.calculateColor=function(u,
q,p){var f=Array(3);f.r=u|0;f.g=q|0;f.b=p|0;return f};C.internal.getBitPosition=function(u,q){return(u||0)|1<<q-1};C.internal.setBitPosition=function(u,q,p){u=u||0;q=1<<q-1;return 1==(p||1)?u|q:u&~q};(function(u){u.addHTML=function(q,p,f,c,m){if("undefined"===typeof u.html2canvas&&"undefined"===typeof rasterizeHTML)throw Error("You need either https://github.com/niklasvh/html2canvas or https://github.com/cburgmer/rasterizeHTML.js");"number"!==typeof p&&(c=p,m=f);"function"===typeof c&&(m=c,c=null);
var d=this.internal,e=d.scaleFactor,k=d.pageSize.getWidth(),l=d.pageSize.getHeight();c=c||{};c.onrendered=function(a){p=parseInt(p)||0;f=parseInt(f)||0;var h=c.dim||{},t=h.h||0,n=h.w||Math.min(k,a.width/e)-p,x="JPEG";c.format&&(x=c.format);if(a.height>l&&c.pagesplit)t=function(){for(var B=0;;){var D=document.createElement("canvas");D.width=Math.min(k*e,a.width);D.height=Math.min(l*e,a.height-B);D.getContext("2d").drawImage(a,0,B,a.width,D.height,0,0,D.width,D.height);var K=[D,p,B?0:f,D.width/e,D.height/
e,x,null,"SLOW"];this.addImage.apply(this,K);B+=D.height;if(B>=a.height)break;this.addPage()}m(n,B,null,K)}.bind(this),"CANVAS"===a.nodeName?(h=new Image,h.onload=t,h.src=a.toDataURL("image/png"),a=h):t();else{h=Math.random().toString(35);var v=[a,p,f,n,t,x,h,"SLOW"];this.addImage.apply(this,v);m(n,t,h,v)}}.bind(this);return"undefined"===typeof u.html2canvas||c.rstz?"undefined"!==typeof rasterizeHTML?(d="drawDocument","string"===typeof q&&(d=/^http/.test(q)?"drawURL":"drawHTML"),c.width=c.width||
k*e,rasterizeHTML[d](q,void 0,c).then(function(a){c.onrendered(a.image)},function(a){m(null,a)})):null:u.html2canvas(q,c)}})(I.API);(function(u){var q=["jpeg","jpg","png"],p=function h(a){var t=this.internal.newObject(),n=this.internal.write,x=this.internal.putStream;a.n=t;n("\x3c\x3c/Type /XObject");n("/Subtype /Image");n("/Width "+a.w);n("/Height "+a.h);a.cs===this.color_spaces.INDEXED?n("/ColorSpace [/Indexed /DeviceRGB "+(a.pal.length/3-1)+" "+("smask"in a?t+2:t+1)+" 0 R]"):(n("/ColorSpace /"+
a.cs),a.cs===this.color_spaces.DEVICE_CMYK&&n("/Decode [1 0 1 0 1 0 1 0]"));n("/BitsPerComponent "+a.bpc);"f"in a&&n("/Filter /"+a.f);"dp"in a&&n("/DecodeParms \x3c\x3c"+a.dp+"\x3e\x3e");if("trns"in a&&a.trns.constructor==Array){for(var v="",B=0,D=a.trns.length;B<D;B++)v+=a.trns[B]+" "+a.trns[B]+" ";n("/Mask ["+v+"]")}"smask"in a&&n("/SMask "+(t+1)+" 0 R");n("/Length "+a.data.length+"\x3e\x3e");x(a.data);n("endobj");"smask"in a&&(t={w:a.w,h:a.h,cs:"DeviceGray",bpc:a.bpc,dp:"/Predictor "+a.p+" /Colors 1 /BitsPerComponent "+
a.bpc+" /Columns "+a.w,data:a.smask},"f"in a&&(t.f=a.f),h.call(this,t));a.cs===this.color_spaces.INDEXED&&(this.internal.newObject(),n("\x3c\x3c /Length "+a.pal.length+"\x3e\x3e"),x(this.arrayBufferToBinaryString(new Uint8Array(a.pal))),n("endobj"))},f=function(){var a=this.internal.collections.addImage_images,h;for(h in a)p.call(this,a[h])},c=function(){var a=this.internal.collections.addImage_images,h=this.internal.write,t;for(t in a){var n=a[t];h("/I"+n.i,n.n,"0","R")}},m=function(a){a&&"string"===
typeof a&&(a=a.toUpperCase());return a in u.image_compression?a:u.image_compression.NONE},d=function(a){var h=0;if(a){if(Object.keys)a=Object.keys(a).length;else{h=0;for(var t in a)a.hasOwnProperty(t)&&h++;a=h}h=a}return h},e=function(a){return"object"===("undefined"===typeof a?"undefined":X(a))&&1===a.nodeType},k=function(a,h){if(h)for(var t in h)if(a===h[t].alias){var n=h[t];break}return n};u.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"};u.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"};u.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"};u.sHashCode=function(a){return Array.prototype.reduce&&
a.split("").reduce(function(h,t){h=(h<<5)-h+t.charCodeAt(0);return h&h},0)};u.isString=function(a){return"string"===typeof a};u.extractInfoFromBase64DataURI=function(a){return/^data:([\w]+?\/([\w]+?));base64,(.+?)$/g.exec(a)};u.supportsArrayBuffer=function(){return"undefined"!==typeof ArrayBuffer&&"undefined"!==typeof Uint8Array};u.isArrayBuffer=function(a){return this.supportsArrayBuffer()?a instanceof ArrayBuffer:!1};u.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:!1};u.binaryStringToUint8Array=function(a){for(var h=a.length,t=new Uint8Array(h),n=0;n<h;n++)t[n]=a.charCodeAt(n);return t};u.arrayBufferToBinaryString=function(a){this.isArrayBuffer(a)&&(a=new Uint8Array(a));
for(var h="",t=a.byteLength,n=0;n<t;n++)h+=String.fromCharCode(a[n]);return h};u.arrayBufferToBase64=function(a){var h="";a=new Uint8Array(a);var t=a.byteLength,n=t%3;t-=n;for(var x,v,B,D,K=0;K<t;K+=3)D=a[K]<<16|a[K+1]<<8|a[K+2],x=(D&16515072)>>18,v=(D&258048)>>12,B=(D&4032)>>6,D&=63,h+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[x]+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[v]+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[B]+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[D];
1==n?(D=a[t],h+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[(D&252)>>2]+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[(D&3)<<4]+"\x3d\x3d"):2==n&&(D=a[t]<<8|a[t+1],h+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[(D&64512)>>10]+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[(D&1008)>>4]+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[(D&15)<<2]+"\x3d");return h};u.createImageInfo=function(a,h,t,
n,x,v,B,D,K,U,Y,O,N){a={alias:D,w:h,h:t,cs:n,bpc:x,i:B,data:a};v&&(a.f=v);K&&(a.dp=K);U&&(a.trns=U);Y&&(a.pal=Y);O&&(a.smask=O);N&&(a.p=N);return a};u.addImage=function(a,h,t,n,x,v,B,D,K){if("string"!==typeof h){var U=v;v=x;x=n;n=t;t=h;h=U}"object"===("undefined"===typeof a?"undefined":X(a))&&!e(a)&&"imageData"in a&&(U=a,a=U.imageData,h=U.format||h,t=U.x||t||0,n=U.y||n||0,x=U.w||x,v=U.h||v,B=U.alias||B,D=U.compression||D,K=U.rotation||U.angle||K);if(isNaN(t)||isNaN(n))throw console.error("jsPDF.addImage: Invalid coordinates",
arguments),Error("Invalid coordinates passed to jsPDF.addImage");U=this.internal.collections.addImage_images;U||(this.internal.collections.addImage_images=U={},this.internal.events.subscribe("putResources",f),this.internal.events.subscribe("putXobjectDict",c));var Y;if(!(Y=k(a,U))){if(e(a))a:{Y=a;var O=h,N=K;if("IMG"===Y.nodeName&&Y.hasAttribute("src")){var A=""+Y.getAttribute("src");if(!N&&0===A.indexOf("data:image/")){a=A;break a}!O&&/\.png(?:[?#].*)?$/i.test(A)&&(O="png")}if("CANVAS"===Y.nodeName)A=
Y;else{A=document.createElement("canvas");A.width=Y.clientWidth||Y.width;A.height=Y.clientHeight||Y.height;var y=A.getContext("2d");if(!y)throw"addImage requires canvas to be supported by browser.";if(N){var G=Math.PI/180;if("object"===("undefined"===typeof N?"undefined":X(N))){var J=N.x;var L=N.y;var M=N.bg;N=N.angle}var ia=N*G;N=Math.abs(Math.cos(ia));G=Math.abs(Math.sin(ia));var P=A.width;var qa=A.height;A.width=qa*G+P*N;A.height=qa*N+P*G;isNaN(J)&&(J=A.width/2);isNaN(L)&&(L=A.height/2);y.clearRect(0,
0,A.width,A.height);y.fillStyle=M||"white";y.fillRect(0,0,A.width,A.height);y.save();y.translate(J,L);y.rotate(ia);y.drawImage(Y,-(P/2),-(qa/2));y.rotate(-ia);y.translate(-J,-L);y.restore()}else y.drawImage(Y,0,0,A.width,A.height)}a=A.toDataURL("png"==(""+O).toLowerCase()?"image/png":"image/jpeg")}if("undefined"===typeof B||null===B)B="string"===typeof a&&u.sHashCode(a);if(!(Y=k(B,U))){this.isString(a)&&((J=this.extractInfoFromBase64DataURI(a))?(h=J[2],a=atob(J[3])):137===a.charCodeAt(0)&&80===a.charCodeAt(1)&&
78===a.charCodeAt(2)&&71===a.charCodeAt(3)&&(h="png"));h=(h||"JPEG").toLowerCase();if(-1===q.indexOf(h))throw Error("addImage currently only supports formats "+q+", not '"+h+"'");if("function"!==typeof u["process"+h.toUpperCase()])throw Error("please ensure that the plugin for '"+h+"' support is added");if(this.supportsArrayBuffer()&&!(a instanceof Uint8Array)){var ca=a;a=this.binaryStringToUint8Array(a)}Y=this["process"+h.toUpperCase()](a,d(U),B,m(D),ca);if(!Y)throw Error("An unkwown error occurred whilst processing the image");
}}ca=t;J=n;L=Y;M=Y.i;Y=x;O=v;Y||O||(O=Y=-96);0>Y&&(Y=-72*L.w/Y/this.internal.scaleFactor);0>O&&(O=-72*L.h/O/this.internal.scaleFactor);0===Y&&(Y=O*L.w/L.h);0===O&&(O=Y*L.h/L.w);y=[Y,O];O=this.internal.getCoordinateString;A=this.internal.getVerticalCoordinateString;Y=y[0];y=y[1];U[M]=L;this.internal.write("q",O(Y),"0 0",O(y),O(ca),A(J+y),"cm /I"+L.i,"Do Q");return this};u.processJPEG=function(a,h,t,n,x){n=this.color_spaces.DEVICE_RGB;var v=this.decode.DCT_DECODE;if(this.isString(a)){a:{x=a;var B;if(255===
!x.charCodeAt(0)||216===!x.charCodeAt(1)||255===!x.charCodeAt(2)||224===!x.charCodeAt(3)||74===!x.charCodeAt(6)||70===!x.charCodeAt(7)||73===!x.charCodeAt(8)||70===!x.charCodeAt(9)||0===!x.charCodeAt(10))throw Error("getJpegSize requires a binary string jpeg file");var D=256*x.charCodeAt(4)+x.charCodeAt(5);var K=4;for(B=x.length;K<B;){K+=D;if(255!==x.charCodeAt(K))throw Error("getJpegSize could not find the size of the image");if(192===x.charCodeAt(K+1)||193===x.charCodeAt(K+1)||194===x.charCodeAt(K+
1)||195===x.charCodeAt(K+1)||196===x.charCodeAt(K+1)||197===x.charCodeAt(K+1)||198===x.charCodeAt(K+1)||199===x.charCodeAt(K+1)){B=256*x.charCodeAt(K+5)+x.charCodeAt(K+6);D=256*x.charCodeAt(K+7)+x.charCodeAt(K+8);x=x.charCodeAt(K+9);K=[D,B,x];break a}else K+=2,D=256*x.charCodeAt(K)+x.charCodeAt(K+1)}K=void 0}return this.createImageInfo(a,K[0],K[1],1==K[3]?this.color_spaces.DEVICE_GRAY:n,8,v,h,t)}this.isArrayBuffer(a)&&(a=new Uint8Array(a));if(this.isArrayBufferView(a)){a:{D=a;if(65496!==(D[0]<<8|
D[1]))throw Error("Supplied data is not a JPEG");B=D.length;for(var U=(D[4]<<8)+D[5],Y=4;Y<B;){Y+=U;K=D.subarray(Y,Y+5);U=(K[2]<<8)+K[3];if((192===K[1]||194===K[1])&&255===K[0]&&7<U){K=Y+5;K=D.subarray(K,K+5);D=(K[2]<<8)+K[3];B=(K[0]<<8)+K[1];K=K[4];K={width:D,height:B,numcomponents:K};break a}Y+=2}throw Error("getJpegSizeFromBytes could not find the size of the image");}a=x||this.arrayBufferToBinaryString(a);return this.createImageInfo(a,K.width,K.height,1==K.numcomponents?this.color_spaces.DEVICE_GRAY:
n,8,v,h,t)}return null};u.processJPG=function(){return this.processJPEG.apply(this,arguments)}})(I.API);(function(u){var q={annotations:[],f2:function(p){return p.toFixed(2)},notEmpty:function(p){if("undefined"!=typeof p&&""!=p)return!0}};I.API.annotationPlugin=q;I.API.events.push(["addPage",function(p){this.annotationPlugin.annotations[p.pageNumber]=[]}]);u.events.push(["putPage",function(p){for(var f=this.annotationPlugin.annotations[p.pageNumber],c=!1,m=0;m<f.length&&!c;m++){var d=f[m];switch(d.type){case "link":if(q.notEmpty(d.options.url)||
q.notEmpty(d.options.pageNumber)){c=!0;break}case "reference":case "text":case "freetext":c=!0}}if(0!=c){this.internal.write("/Annots [");c=this.annotationPlugin.f2;var e=this.internal.scaleFactor,k=this.internal.pageSize.getHeight(),l=this.internal.getPageInfo(p.pageNumber);for(m=0;m<f.length;m++)switch(d=f[m],d.type){case "reference":this.internal.write(" "+d.object.objId+" 0 R ");break;case "text":var a=this.internal.newAdditionalObject(),h=this.internal.newAdditionalObject(),t=d.title||"Note",
n="/Rect ["+c(d.bounds.x*e)+" "+c(k-(d.bounds.y+d.bounds.h)*e)+" "+c((d.bounds.x+d.bounds.w)*e)+" "+c((k-d.bounds.y)*e)+"] ";p="\x3c\x3c/Type /Annot /Subtype /Text "+n+"/Contents ("+d.contents+")";p+=" /Popup "+h.objId+" 0 R";p+=" /P "+l.objId+" 0 R";p+=" /T ("+t+") \x3e\x3e";a.content=p;p=a.objId+" 0 R";n="/Rect ["+c((d.bounds.x+30)*e)+" "+c(k-(d.bounds.y+d.bounds.h)*e)+" "+c((d.bounds.x+d.bounds.w+30)*e)+" "+c((k-d.bounds.y)*e)+"] ";p="\x3c\x3c/Type /Annot /Subtype /Popup "+n+" /Parent "+p;d.open&&
(p+=" /Open true");p+=" \x3e\x3e";h.content=p;this.internal.write(a.objId,"0 R",h.objId,"0 R");break;case "freetext":n="/Rect ["+c(d.bounds.x*e)+" "+c((k-d.bounds.y)*e)+" "+c(d.bounds.x+d.bounds.w*e)+" "+c(k-(d.bounds.y+d.bounds.h)*e)+"] ";a=d.color||"#000000";p="\x3c\x3c/Type /Annot /Subtype /FreeText "+n+"/Contents ("+d.contents+")";p+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+a+")";p+=" /Border [0 0 0]";p+=" \x3e\x3e";this.internal.write(p);break;case "link":d.options.name?
(n=this.annotations._nameMap[d.options.name],d.options.pageNumber=n.page,d.options.top=n.y):d.options.top||(d.options.top=0);n="/Rect ["+c(d.x*e)+" "+c((k-d.y)*e)+" "+c(d.x+d.w*e)+" "+c(k-(d.y+d.h)*e)+"] ";p="";if(d.options.url)p="\x3c\x3c/Type /Annot /Subtype /Link "+n+"/Border [0 0 0] /A \x3c\x3c/S /URI /URI ("+d.options.url+") \x3e\x3e";else if(d.options.pageNumber)switch(p=this.internal.getPageInfo(d.options.pageNumber),p="\x3c\x3c/Type /Annot /Subtype /Link "+n+"/Border [0 0 0] /Dest ["+p.objId+
" 0 R",d.options.magFactor=d.options.magFactor||"XYZ",d.options.magFactor){case "Fit":p+=" /Fit]";break;case "FitH":p+=" /FitH "+d.options.top+"]";break;case "FitV":d.options.left=d.options.left||0;p+=" /FitV "+d.options.left+"]";break;default:n=c((k-d.options.top)*e),d.options.left=d.options.left||0,"undefined"===typeof d.options.zoom&&(d.options.zoom=0),p+=" /XYZ "+d.options.left+" "+n+" "+d.options.zoom+"]"}""!=p&&(p+=" \x3e\x3e",this.internal.write(p))}this.internal.write("]")}}]);u.createAnnotation=
function(p){switch(p.type){case "link":this.link(p.bounds.x,p.bounds.y,p.bounds.w,p.bounds.h,p);break;case "text":case "freetext":this.annotationPlugin.annotations[this.internal.getCurrentPageInfo().pageNumber].push(p)}};u.link=function(p,f,c,m,d){this.annotationPlugin.annotations[this.internal.getCurrentPageInfo().pageNumber].push({x:p,y:f,w:c,h:m,options:d,type:"link"})};u.link=function(p,f,c,m,d){this.annotationPlugin.annotations[this.internal.getCurrentPageInfo().pageNumber].push({x:p,y:f,w:c,
h:m,options:d,type:"link"})};u.textWithLink=function(p,f,c,m){var d=this.getTextWidth(p),e=this.internal.getLineHeight();this.text(p,f,c);this.link(f,c+.2*e-e,d,e,m);return d};u.getTextWidth=function(p){var f=this.internal.getFontSize();return this.getStringUnitWidth(p)*f/this.internal.scaleFactor};u.getLineHeight=function(){return this.internal.getLineHeight()};return this})(I.API);(function(u){u.autoPrint=function(){var q;this.internal.events.subscribe("postPutResources",function(){q=this.internal.newObject();
this.internal.write("\x3c\x3c /S/Named /Type/Action /N/Print \x3e\x3e","endobj")});this.internal.events.subscribe("putCatalog",function(){this.internal.write("/OpenAction "+q+" 0 R")});return this}})(I.API);(function(u){u.events.push(["initialized",function(){this.canvas.pdf=this}]);u.canvas={getContext:function(q){this.pdf.context2d._canvas=this;return this.pdf.context2d},style:{}};Object.defineProperty(u.canvas,"width",{get:function(){return this._width},set:function(q){this._width=q;this.getContext("2d").pageWrapX=
q+1}});Object.defineProperty(u.canvas,"height",{get:function(){return this._height},set:function(q){this._height=q;this.getContext("2d").pageWrapY=q+1}});return this})(I.API);(function(u){var q,p,f,c,m={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},d=1,e={left:0,top:0,bottom:0};u.setHeaderFunction=function(k){c=k};u.getTextDimensions=function(k){q=this.internal.getFont().fontName;p=this.table_font_size||this.internal.getFontSize();f=this.internal.getFont().fontStyle;var l=19.049976/25.4;var a=document.createElement("font");
a.id="jsPDFCell";try{a.style.fontStyle=f}catch(h){a.style.fontWeight=f}a.style.fontName=q;a.style.fontSize=p+"pt";try{a.textContent=k}catch(h){a.innerText=k}document.body.appendChild(a);k={w:(a.offsetWidth+1)*l,h:(a.offsetHeight+1)*l};document.body.removeChild(a);return k};u.cellAddPage=function(){var k=this.margins||e;this.addPage();m={x:k.left,y:k.top,w:void 0,h:void 0,ln:void 0};d+=1};u.cellInitialize=function(){m={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0};d=1};u.cell=function(k,l,a,h,t,n,
x){var v=m,B=!1;void 0!==v.ln&&(v.ln===n?(k=v.x+v.w,l=v.y):(l=this.margins||e,v.y+v.h+h+13>=this.internal.pageSize.getHeight()-l.bottom&&(this.cellAddPage(),B=!0,this.printHeaders&&this.tableHeaderRow&&this.printHeaderRow(n,!0)),l=m.y+m.h,B&&(l=23)));if(void 0!==t[0])if(this.printingHeaderRow?this.rect(k,l,a,h,"FD"):this.rect(k,l,a,h),"right"===x)for(t instanceof Array||(t=[t]),x=0;x<t.length;x++)v=t[x],B=this.getStringUnitWidth(v)*this.internal.getFontSize(),this.text(v,k+a-B-3,l+this.internal.getLineHeight()*
(x+1));else this.text(t,k+3,l+this.internal.getLineHeight());m={x:k,y:l,w:a,h:h,ln:n};return this};u.arrayMax=function(k,l){var a=k[0],h;var t=0;for(h=k.length;t<h;t+=1){var n=k[t];l?-1===l(a,n)&&(a=n):n>a&&(a=n)}return a};u.table=function(k,l,a,h,t){if(!a)throw"No data for PDF table";var n=[],x=[],v={},B={},D=[],K=[];var U=!1;var Y=!0;var O=12;var N=e;N.width=this.internal.pageSize.getWidth();t&&(!0===t.autoSize&&(U=!0),!1===t.printHeaders&&(Y=!1),t.fontSize&&(O=t.fontSize),t.css&&"undefined"!==
typeof t.css["font-size"]&&(O=16*t.css["font-size"]),t.margins&&(N=t.margins));this.lnMod=0;m={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0};d=1;this.printHeaders=Y;this.margins=N;this.setFontSize(O);this.table_font_size=O;if(void 0===h||null===h)n=Object.keys(a[0]);else if(h[0]&&"string"!==typeof h[0])for(N=19.049976/25.4,t=0,O=h.length;t<O;t+=1){var A=h[t];n.push(A.name);x.push(A.prompt);B[A.name]=A.width*N}else n=h;if(U){var y=function(J){return J[A]};t=0;for(O=n.length;t<O;t+=1){A=n[t];v[A]=
a.map(y);D.push(this.getTextDimensions(x[t]||A).w);var G=v[A];h=0;for(U=G.length;h<U;h+=1)N=G[h],D.push(this.getTextDimensions(N).w);B[A]=u.arrayMax(D);D=[]}}if(Y){v=this.calculateLineHeight(n,B,x.length?x:n);t=0;for(O=n.length;t<O;t+=1)A=n[t],K.push([k,l,B[A],v,String(x.length?x[t]:A)]);this.setTableHeaderRow(K);this.printHeaderRow(1,!1)}t=0;for(O=a.length;t<O;t+=1)for(x=a[t],v=this.calculateLineHeight(n,B,x),h=0,K=n.length;h<K;h+=1)A=n[h],this.cell(k,l,B[A],v,x[A],t+2,A.align);this.lastCellPos=
m;this.table_x=k;this.table_y=l;return this};u.calculateLineHeight=function(k,l,a){for(var h,t=0,n=0;n<k.length;n++)h=k[n],a[h]=this.splitTextToSize(String(a[h]),l[h]-3),h=this.internal.getLineHeight()*a[h].length+3,h>t&&(t=h);return t};u.setTableHeaderRow=function(k){this.tableHeaderRow=k};u.printHeaderRow=function(k,l){if(!this.tableHeaderRow)throw"Property tableHeaderRow does not exist.";var a;this.printingHeaderRow=!0;if(void 0!==c){var h=c(this,d);m={x:h[0],y:h[1],w:h[2],h:h[3],ln:-1}}this.setFontStyle("bold");
var t=[];h=0;for(a=this.tableHeaderRow.length;h<a;h+=1){this.setFillColor(200,200,200);var n=this.tableHeaderRow[h];l&&(this.margins.top=13,n[1]=this.margins&&this.margins.top||0,t.push(n));n=[].concat(n);this.cell.apply(this,n.concat(k))}0<t.length&&this.setTableHeaderRow(t);this.setFontStyle("normal");this.printingHeaderRow=!1}})(I.API);(function(u){function q(){this._isStrokeTransparent=!1;this._strokeOpacity=1;this.fillStyle=this.strokeStyle="#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(f){this._isStrokeTransparent=f._isStrokeTransparent;this._strokeOpacity=f._strokeOpacity;this.strokeStyle=f.strokeStyle;this._isFillTransparent=f._isFillTransparent;this._fillOpacity=f._fillOpacity;this.fillStyle=
f.fillStyle;this.font=f.font;this.lineWidth=f.lineWidth;this.lineJoin=f.lineJoin;this.lineCap=f.lineCap;this.textBaseline=f.textBaseline;this.textAlign=f.textAlign;this._fontSize=f._fontSize;this._transform=f._transform.slice(0);this.globalCompositeOperation=f.globalCompositeOperation;this.globalAlpha=f.globalAlpha;this._clip_path=f._clip_path.slice(0);this.ignoreClearRect=f.ignoreClearRect}}u.events.push(["initialized",function(){this.context2d.pdf=this;this.context2d.internal.pdf=this;this.context2d.ctx=
new q;this.context2d.ctxStack=[];this.context2d.path=[]}]);u.context2d={pageWrapXEnabled:!1,pageWrapYEnabled:!1,pageWrapX:9999999,pageWrapY:9999999,ctx:new q,f2:function(f){return f.toFixed(2)},fillRect:function(f,c,m,d){this._isFillTransparent()||(f=this._wrapX(f),c=this._wrapY(c),f=this._matrix_map_rect(this.ctx._transform,{x:f,y:c,w:m,h:d}),this.pdf.rect(f.x,f.y,f.w,f.h,"f"))},strokeRect:function(f,c,m,d){this._isStrokeTransparent()||(f=this._wrapX(f),c=this._wrapY(c),f=this._matrix_map_rect(this.ctx._transform,
{x:f,y:c,w:m,h:d}),this.pdf.rect(f.x,f.y,f.w,f.h,"s"))},clearRect:function(f,c,m,d){this.ctx.ignoreClearRect||(f=this._wrapX(f),c=this._wrapY(c),f=this._matrix_map_rect(this.ctx._transform,{x:f,y:c,w:m,h:d}),this.save(),this.setFillStyle("#ffffff"),this.pdf.rect(f.x,f.y,f.w,f.h,"f"),this.restore())},save:function(){this.ctx._fontSize=this.pdf.internal.getFontSize();var f=new q;f.copy(this.ctx);this.ctxStack.push(this.ctx);this.ctx=f},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(f,c,m,d){this.moveTo(f,c);this.lineTo(f+m,c);this.lineTo(f+m,c+d);this.lineTo(f,c+d);this.lineTo(f,c);this.closePath()},beginPath:function(){this.path=[]},closePath:function(){this.path.push({type:"close"})},_getRgba:function(f){var c={};if(this.internal.rxTransparent.test(f))c.r=
0,c.g=0,c.b=0,c.a=0;else{var m=this.internal.rxRgb.exec(f);null!=m?(c.r=parseInt(m[1]),c.g=parseInt(m[2]),c.b=parseInt(m[3]),c.a=1):(m=this.internal.rxRgba.exec(f),null!=m?(c.r=parseInt(m[1]),c.g=parseInt(m[2]),c.b=parseInt(m[3]),c.a=parseFloat(m[4])):(c.a=1,"#"!=f.charAt(0)&&((f=va.colorNameToHex(f))||(f="#000000")),4===f.length?(c.r=f.substring(1,2),c.r+=r,c.g=f.substring(2,3),c.g+=g,c.b=f.substring(3,4),c.b+=b):(c.r=f.substring(1,3),c.g=f.substring(3,5),c.b=f.substring(5,7)),c.r=parseInt(c.r,16),
c.g=parseInt(c.g,16),c.b=parseInt(c.b,16)))}c.style=f;return c},setFillStyle:function(f){var c,m,d;if(this.internal.rxTransparent.test(f))var e=d=m=c=0;else e=this.internal.rxRgb.exec(f),null!=e?(c=parseInt(e[1]),m=parseInt(e[2]),d=parseInt(e[3]),e=1):(e=this.internal.rxRgba.exec(f),null!=e?(c=parseInt(e[1]),m=parseInt(e[2]),d=parseInt(e[3]),e=parseFloat(e[4])):(e=1,"#"!=f.charAt(0)&&((f=va.colorNameToHex(f))||(f="#000000")),4===f.length?(c=f.substring(1,2),c+=c,m=f.substring(2,3),m+=m,d=f.substring(3,
4),d+=d):(c=f.substring(1,3),m=f.substring(3,5),d=f.substring(5,7)),c=parseInt(c,16),m=parseInt(m,16),d=parseInt(d,16)));this.ctx.fillStyle=f;this.ctx._isFillTransparent=0==e;this.ctx._fillOpacity=e;this.pdf.setFillColor(c,m,d,{a:e});this.pdf.setTextColor(c,m,d,{a:e})},setStrokeStyle:function(f){f=this._getRgba(f);this.ctx.strokeStyle=f.style;this.ctx._isStrokeTransparent=0==f.a;this.ctx._strokeOpacity=f.a;0===f.a?this.pdf.setDrawColor(255,255,255):this.pdf.setDrawColor(f.r,f.g,f.b)},fillText:function(f,
c,m,d){if(!this._isFillTransparent()){c=this._wrapX(c);m=this._wrapY(m);m=this._matrix_map_point(this.ctx._transform,[c,m]);c=m[0];m=m[1];d=57.2958*this._matrix_rotation(this.ctx._transform);if(0<this.ctx._clip_path.length){var e=window.outIntercept?"group"===window.outIntercept.type?window.outIntercept.stream:window.outIntercept:this.internal.getCurrentPage();e.push("q");var k=this.path;this.path=this.ctx._clip_path;this.ctx._clip_path=[];this._fill(null,!0);this.ctx._clip_path=this.path;this.path=
k}k=1;try{k=this._matrix_decompose(this._getTransform()).scale[0]}catch(a){console.warn(a)}if(.01>k)this.pdf.text(f,c,this._getBaseline(m),null,d);else{var l=this.pdf.internal.getFontSize();this.pdf.setFontSize(l*k);this.pdf.text(f,c,this._getBaseline(m),null,d);this.pdf.setFontSize(l)}0<this.ctx._clip_path.length&&e.push("Q")}},strokeText:function(f,c,m,d){if(!this._isStrokeTransparent()){c=this._wrapX(c);m=this._wrapY(m);m=this._matrix_map_point(this.ctx._transform,[c,m]);c=m[0];m=m[1];d=57.2958*
this._matrix_rotation(this.ctx._transform);if(0<this.ctx._clip_path.length){var e=window.outIntercept?"group"===window.outIntercept.type?window.outIntercept.stream:window.outIntercept:this.internal.getCurrentPage();e.push("q");var k=this.path;this.path=this.ctx._clip_path;this.ctx._clip_path=[];this._fill(null,!0);this.ctx._clip_path=this.path;this.path=k}k=1;try{k=this._matrix_decompose(this._getTransform()).scale[0]}catch(a){console.warn(a)}if(1===k)this.pdf.text(f,c,this._getBaseline(m),{stroke:!0},
d);else{var l=this.pdf.internal.getFontSize();this.pdf.setFontSize(l*k);this.pdf.text(f,c,this._getBaseline(m),{stroke:!0},d);this.pdf.setFontSize(l)}0<this.ctx._clip_path.length&&e.push("Q")}},setFont:function(f){this.ctx.font=f;var c=/\s*(\w+)\s+(\w+)\s+(\w+)\s+([\d\.]+)(px|pt|em)\s+(.*)?/;c=c.exec(f);if(null!=c){var m=c[1];f=c[3];var d=c[4],e=c[5];c=c[6];d="px"===e?Math.floor(parseFloat(d)):"em"===e?Math.floor(parseFloat(d)*this.pdf.getFontSize()):Math.floor(parseFloat(d));this.pdf.setFontSize(d);
"bold"===f||"700"===f?this.pdf.setFontStyle("bold"):"italic"===m?this.pdf.setFontStyle("italic"):this.pdf.setFontStyle("normal");d=c.toLowerCase().split(/\s*,\s*/);-1!=d.indexOf("arial")?d="Arial":-1!=d.indexOf("verdana")?d="Verdana":-1!=d.indexOf("helvetica")?d="Helvetica":-1!=d.indexOf("sans-serif")?d="sans-serif":-1!=d.indexOf("fixed")?d="Fixed":-1!=d.indexOf("monospace")?d="Monospace":-1!=d.indexOf("terminal")?d="Terminal":-1!=d.indexOf("courier")?d="Courier":-1!=d.indexOf("times")?d="Times":
-1!=d.indexOf("cursive")?d="Cursive":-1!=d.indexOf("fantasy")?d="Fantasy":(d.indexOf("serif"),d="Serif");this.pdf.setFont(d,"bold"===f?"bold":"normal")}else c=/\s*(\d+)(pt|px|em)\s+([\w "]+)\s*([\w "]+)?/,c=c.exec(f),null!=c&&(m=c[1],f=c[3],(c=c[4])||(c="normal"),m="em"===e?Math.floor(parseFloat(d)*this.pdf.getFontSize()):Math.floor(parseFloat(m)),this.pdf.setFontSize(m),this.pdf.setFont(f,c))},setTextBaseline:function(f){this.ctx.textBaseline=f},getTextBaseline:function(){return this.ctx.textBaseline},
setTextAlign:function(f){this.ctx.textAlign=f},getTextAlign:function(){return this.ctx.textAlign},setLineWidth:function(f){this.ctx.lineWidth=f;this.pdf.setLineWidth(f)},setLineCap:function(f){this.ctx.lineCap=f;this.pdf.setLineCap(f)},setLineJoin:function(f){this.ctx.lineJoin=f;this.pdf.setLineJoin(f)},moveTo:function(f,c){f=this._wrapX(f);c=this._wrapY(c);c=this._matrix_map_point(this.ctx._transform,[f,c]);f=c[0];c=c[1];this.path.push({type:"mt",x:f,y:c})},_wrapX:function(f){return this.pageWrapXEnabled?
f%this.pageWrapX:f},_wrapY:function(f){return this.pageWrapYEnabled?(this._gotoPage(this._page(f)),(f-this.lastBreak)%this.pageWrapY):f},transform:function(f,c,m,d,e,k){this.ctx._transform=[f,c,m,d,e,k]},setTransform:function(f,c,m,d,e,k){this.ctx._transform=[f,c,m,d,e,k]},_getTransform:function(){return this.ctx._transform},lastBreak:0,pageBreaks:[],_page:function(f){if(this.pageWrapYEnabled){for(var c=this.lastBreak=0,m=0,d=0;d<this.pageBreaks.length;d++)if(f>=this.pageBreaks[d]){c++;0===this.lastBreak&&
m++;var e=this.pageBreaks[d]-this.lastBreak;this.lastBreak=this.pageBreaks[d];e=Math.floor(e/this.pageWrapY);m+=e}0===this.lastBreak&&(e=Math.floor(f/this.pageWrapY)+1,m+=e);return m+c}return this.pdf.internal.getCurrentPageInfo().pageNumber},_gotoPage:function(f){},lineTo:function(f,c){f=this._wrapX(f);c=this._wrapY(c);c=this._matrix_map_point(this.ctx._transform,[f,c]);f=c[0];c=c[1];this.path.push({type:"lt",x:f,y:c})},bezierCurveTo:function(f,c,m,d,e,k){f=this._wrapX(f);c=this._wrapY(c);m=this._wrapX(m);
d=this._wrapY(d);e=this._wrapX(e);k=this._wrapY(k);var l=this._matrix_map_point(this.ctx._transform,[e,k]);e=l[0];k=l[1];l=this._matrix_map_point(this.ctx._transform,[f,c]);f=l[0];c=l[1];l=this._matrix_map_point(this.ctx._transform,[m,d]);m=l[0];d=l[1];this.path.push({type:"bct",x1:f,y1:c,x2:m,y2:d,x:e,y:k})},quadraticCurveTo:function(f,c,m,d){f=this._wrapX(f);c=this._wrapY(c);m=this._wrapX(m);d=this._wrapY(d);var e=this._matrix_map_point(this.ctx._transform,[m,d]);m=e[0];d=e[1];e=this._matrix_map_point(this.ctx._transform,
[f,c]);f=e[0];c=e[1];this.path.push({type:"qct",x1:f,y1:c,x:m,y:d})},arc:function(f,c,m,d,e,k){f=this._wrapX(f);c=this._wrapY(c);if(!this._matrix_is_identity(this.ctx._transform)){c=this._matrix_map_point(this.ctx._transform,[f,c]);f=c[0];c=c[1];var l=this._matrix_map_point(this.ctx._transform,[0,0]);m=this._matrix_map_point(this.ctx._transform,[0,m]);m=Math.sqrt(Math.pow(m[0]-l[0],2)+Math.pow(m[1]-l[1],2))}this.path.push({type:"arc",x:f,y:c,radius:m,startAngle:d,endAngle:e,anticlockwise:k})},drawImage:function(f,
c,m,d,e,k,l,a,h){void 0!==k&&(c=k,m=l,d=a,e=h);c=this._wrapX(c);m=this._wrapY(m);c=this._matrix_map_rect(this.ctx._transform,{x:c,y:m,w:d,h:e});this._matrix_map_rect(this.ctx._transform,{x:k,y:l,w:a,h:h});k=/data:image\/(\w+).*/i.exec(f);this.pdf.addImage(f,null!=k?k[1]:"png",c.x,c.y,c.w,c.h)},_matrix_multiply:function(f,c){var m=c[0],d=c[1],e=c[2],k=c[3],l=c[4];c=c[5];var a=m*f[0]+d*f[2],h=e*f[0]+k*f[2],t=l*f[0]+c*f[2]+f[4];d=m*f[1]+d*f[3];k=e*f[1]+k*f[3];c=l*f[1]+c*f[3]+f[5];return[a,d,h,k,t,c]},
_matrix_rotation:function(f){return Math.atan2(f[2],f[0])},_matrix_decompose:function(f){var c=f[0],m=f[1],d=f[2],e=f[3],k=Math.sqrt(c*c+m*m);c/=k;m/=k;var l=c*d+m*e;d-=c*l;e-=m*l;var a=Math.sqrt(d*d+e*e);l/=a;e/a*c<d/a*m&&(c=-c,m=-m,l=-l,k=-k);return{scale:[k,0,0,a,0,0],translate:[1,0,0,1,f[4],f[5]],rotate:[c,m,-m,c,0,0],skew:[1,0,l,1,0,0]}},_matrix_map_point:function(f,c){var m=c[0];c=c[1];return[m*f[0]+c*f[2]+f[4],m*f[1]+c*f[3]+f[5]]},_matrix_map_point_obj:function(f,c){f=this._matrix_map_point(f,
[c.x,c.y]);return{x:f[0],y:f[1]}},_matrix_map_rect:function(f,c){var m=this._matrix_map_point(f,[c.x,c.y]);f=this._matrix_map_point(f,[c.x+c.w,c.y+c.h]);return{x:m[0],y:m[1],w:f[0]-m[0],h:f[1]-m[1]}},_matrix_is_identity:function(f){return 1!=f[0]||0!=f[1]||0!=f[2]||1!=f[3]||0!=f[4]||0!=f[5]?!1:!0},rotate:function(f){this.ctx._transform=this._matrix_multiply(this.ctx._transform,[Math.cos(f),Math.sin(f),-Math.sin(f),Math.cos(f),0,0])},scale:function(f,c){this.ctx._transform=this._matrix_multiply(this.ctx._transform,
[f,0,0,c,0,0])},translate:function(f,c){this.ctx._transform=this._matrix_multiply(this.ctx._transform,[1,0,0,1,f,c])},stroke:function(){if(0<this.ctx._clip_path.length){var f=window.outIntercept?"group"===window.outIntercept.type?window.outIntercept.stream:window.outIntercept:this.internal.getCurrentPage();f.push("q");var c=this.path;this.path=this.ctx._clip_path;this.ctx._clip_path=[];this._stroke(!0);this.ctx._clip_path=this.path;this.path=c;this._stroke(!1);f.push("Q")}else this._stroke(!1)},_stroke:function(f){if(f||
!this._isStrokeTransparent()){for(var c=[],m=this.path,d=0;d<m.length;d++){var e=m[d];switch(e.type){case "mt":c.push({start:e,deltas:[],abs:[]});break;case "lt":var k=[e.x-m[d-1].x,e.y-m[d-1].y];c[c.length-1].deltas.push(k);c[c.length-1].abs.push(e);break;case "bct":k=[e.x1-m[d-1].x,e.y1-m[d-1].y,e.x2-m[d-1].x,e.y2-m[d-1].y,e.x-m[d-1].x,e.y-m[d-1].y];c[c.length-1].deltas.push(k);break;case "qct":k=[m[d-1].x+2/3*(e.x1-m[d-1].x)-m[d-1].x,m[d-1].y+2/3*(e.y1-m[d-1].y)-m[d-1].y,e.x+2/3*(e.x1-e.x)-m[d-
1].x,e.y+2/3*(e.y1-e.y)-m[d-1].y,e.x-m[d-1].x,e.y-m[d-1].y];c[c.length-1].deltas.push(k);break;case "arc":0==c.length&&c.push({start:{x:0,y:0},deltas:[],abs:[]}),c[c.length-1].arc=!0,c[c.length-1].abs.push(e)}}for(d=0;d<c.length;d++)if(m=d==c.length-1?"s":null,c[d].arc)for(e=c[d].abs,k=0;k<e.length;k++){var l=e[k],a=l.x,h=l.y;this.internal.arc2(this,a,h,l.radius,360*l.startAngle/(2*Math.PI),360*l.endAngle/(2*Math.PI),l.anticlockwise,m,f)}else a=c[d].start.x,h=c[d].start.y,f?(this.pdf.lines(c[d].deltas,
a,h,null,null),this.pdf.clip_fixed()):this.pdf.lines(c[d].deltas,a,h,null,m)}},_isFillTransparent:function(){return this.ctx._isFillTransparent||0==this.globalAlpha},_isStrokeTransparent:function(){return this.ctx._isStrokeTransparent||0==this.globalAlpha},fill:function(f){if(0<this.ctx._clip_path.length){var c=window.outIntercept?"group"===window.outIntercept.type?window.outIntercept.stream:window.outIntercept:this.internal.getCurrentPage();c.push("q");var m=this.path;this.path=this.ctx._clip_path;
this.ctx._clip_path=[];this._fill(f,!0);this.ctx._clip_path=this.path;this.path=m;this._fill(f,!1);c.push("Q")}else this._fill(f,!1)},_fill:function(f,c){if(!this._isFillTransparent()){var m="function"===typeof this.pdf.internal.newObject2;var d=window.outIntercept?"group"===window.outIntercept.type?window.outIntercept.stream:window.outIntercept:this.internal.getCurrentPage();var e=[],k=window.outIntercept;if(m)switch(this.ctx.globalCompositeOperation){case "normal":case "source-over":break;case "destination-in":case "destination-out":var l=
this.pdf.internal.newStreamObject(),a=this.pdf.internal.newObject2();a.push("\x3c\x3c/Type /ExtGState");a.push("/SMask \x3c\x3c/S /Alpha /G "+l.objId+" 0 R\x3e\x3e");a.push("\x3e\x3e");var h="MASK"+a.objId;this.pdf.internal.addGraphicsState(h,a.objId);h="/"+h+" gs";d.splice(0,0,"q");d.splice(1,0,h);d.push("Q");window.outIntercept=l;break;default:(d="/"+this.pdf.internal.blendModeMap[this.ctx.globalCompositeOperation.toUpperCase()])&&this.pdf.internal.out(d+" gs")}d=this.ctx.globalAlpha;1>this.ctx._fillOpacity&&
(d=this.ctx._fillOpacity);m&&(m=this.pdf.internal.newObject2(),m.push("\x3c\x3c/Type /ExtGState"),m.push("/CA "+d),m.push("/ca "+d),m.push("\x3e\x3e"),h="GS_O_"+m.objId,this.pdf.internal.addGraphicsState(h,m.objId),this.pdf.internal.out("/"+h+" gs"));d=this.path;for(m=0;m<d.length;m++)switch(l=d[m],l.type){case "mt":e.push({start:l,deltas:[],abs:[]});break;case "lt":h=[l.x-d[m-1].x,l.y-d[m-1].y];e[e.length-1].deltas.push(h);e[e.length-1].abs.push(l);break;case "bct":h=[l.x1-d[m-1].x,l.y1-d[m-1].y,
l.x2-d[m-1].x,l.y2-d[m-1].y,l.x-d[m-1].x,l.y-d[m-1].y];e[e.length-1].deltas.push(h);break;case "qct":h=[d[m-1].x+2/3*(l.x1-d[m-1].x)-d[m-1].x,d[m-1].y+2/3*(l.y1-d[m-1].y)-d[m-1].y,l.x+2/3*(l.x1-l.x)-d[m-1].x,l.y+2/3*(l.y1-l.y)-d[m-1].y,l.x-d[m-1].x,l.y-d[m-1].y];e[e.length-1].deltas.push(h);break;case "arc":0===e.length&&e.push({deltas:[],abs:[]});e[e.length-1].arc=!0;e[e.length-1].abs.push(l);break;case "close":e.push({close:!0})}for(m=0;m<e.length;m++)if(m==e.length-1?(h="f","evenodd"===f&&(h+=
"*")):h=null,e[m].close)this.pdf.internal.out("h"),this.pdf.internal.out("f");else if(e[m].arc)for(e[m].start&&this.internal.move2(this,e[m].start.x,e[m].start.y),h=e[m].abs,a=0;a<h.length;a++){var t=h[a];if("undefined"!==typeof t.startAngle){var n=360*t.startAngle/(2*Math.PI),x=360*t.endAngle/(2*Math.PI);d=t.x;l=t.y;0===a&&this.internal.move2(this,d,l);this.internal.arc2(this,d,l,t.radius,n,x,t.anticlockwise,null,c);a===h.length-1&&e[m].start&&(d=e[m].start.x,l=e[m].start.y,this.internal.line2(p,
d,l))}else this.internal.line2(p,t.x,t.y)}else d=e[m].start.x,l=e[m].start.y,c?(this.pdf.lines(e[m].deltas,d,l,null,null),this.pdf.clip_fixed()):this.pdf.lines(e[m].deltas,d,l,null,h);window.outIntercept=k}},pushMask:function(){if("function"!==typeof this.pdf.internal.newObject2)console.log("jsPDF v2 not enabled");else{var f=this.pdf.internal.newStreamObject(),c=this.pdf.internal.newObject2();c.push("\x3c\x3c/Type /ExtGState");c.push("/SMask \x3c\x3c/S /Alpha /G "+f.objId+" 0 R\x3e\x3e");c.push("\x3e\x3e");
f="MASK"+c.objId;this.pdf.internal.addGraphicsState(f,c.objId);this.pdf.internal.out("/"+f+" gs")}},clip:function(){if(0<this.ctx._clip_path.length)for(var f=0;f<this.path.length;f++)this.ctx._clip_path.push(this.path[f]);else this.ctx._clip_path=this.path;this.path=[]},measureText:function(f){var c=this.pdf;return{getWidth:function(){var m=c.internal.getFontSize();return c.getStringUnitWidth(f)*m/c.internal.scaleFactor*1.3333}}},_getBaseline:function(f){var c=parseInt(this.pdf.internal.getFontSize()),
m=.25*c;switch(this.ctx.textBaseline){case "bottom":return f-m;case "top":return f+c;case "hanging":return f+c-m;case "middle":return f+c/2-m;case "ideographic":return f;default:return f}}};var p=u.context2d;Object.defineProperty(p,"fillStyle",{set:function(f){this.setFillStyle(f)},get:function(){return this.ctx.fillStyle}});Object.defineProperty(p,"strokeStyle",{set:function(f){this.setStrokeStyle(f)},get:function(){return this.ctx.strokeStyle}});Object.defineProperty(p,"lineWidth",{set:function(f){this.setLineWidth(f)},
get:function(){return this.ctx.lineWidth}});Object.defineProperty(p,"lineCap",{set:function(f){this.setLineCap(f)},get:function(){return this.ctx.lineCap}});Object.defineProperty(p,"lineJoin",{set:function(f){this.setLineJoin(f)},get:function(){return this.ctx.lineJoin}});Object.defineProperty(p,"miterLimit",{set:function(f){this.ctx.miterLimit=f},get:function(){return this.ctx.miterLimit}});Object.defineProperty(p,"textBaseline",{set:function(f){this.setTextBaseline(f)},get:function(){return this.getTextBaseline()}});
Object.defineProperty(p,"textAlign",{set:function(f){this.setTextAlign(f)},get:function(){return this.getTextAlign()}});Object.defineProperty(p,"font",{set:function(f){this.setFont(f)},get:function(){return this.ctx.font}});Object.defineProperty(p,"globalCompositeOperation",{set:function(f){this.ctx.globalCompositeOperation=f},get:function(){return this.ctx.globalCompositeOperation}});Object.defineProperty(p,"globalAlpha",{set:function(f){this.ctx.globalAlpha=f},get:function(){return this.ctx.globalAlpha}});
Object.defineProperty(p,"ignoreClearRect",{set:function(f){this.ctx.ignoreClearRect=f},get:function(){return this.ctx.ignoreClearRect}});p.internal={};p.internal.rxRgb=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/;p.internal.rxRgba=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d\.]+)\s*\)/;p.internal.rxTransparent=/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/;p.internal.arc=function(f,c,m,d,e,k,l,a){var h=this.pdf.internal.scaleFactor,t=this.pdf.internal.pageSize.getHeight(),
n=this.pdf.internal.f2;d=this.createArc(d,Math.PI/180*e,Math.PI/180*k,l);for(e=0;e<d.length;e++)k=d[e],0===e?this.pdf.internal.out([n((k.x1+c)*h),n((t-(k.y1+m))*h),"m",n((k.x2+c)*h),n((t-(k.y2+m))*h),n((k.x3+c)*h),n((t-(k.y3+m))*h),n((k.x4+c)*h),n((t-(k.y4+m))*h),"c"].join(" ")):this.pdf.internal.out([n((k.x2+c)*h),n((t-(k.y2+m))*h),n((k.x3+c)*h),n((t-(k.y3+m))*h),n((k.x4+c)*h),n((t-(k.y4+m))*h),"c"].join(" ")),f._lastPoint={x:c,y:m};null!==a&&this.pdf.internal.out(this.pdf.internal.getStyle(a))};
p.internal.arc2=function(f,c,m,d,e,k,l,a,h){h?(this.arc(f,c,m,d,e,k,l,null),this.pdf.clip_fixed()):this.arc(f,c,m,d,e,k,l,a)};p.internal.move2=function(f,c,m){var d=this.pdf.internal.scaleFactor,e=this.pdf.internal.pageSize.getHeight(),k=this.pdf.internal.f2;this.pdf.internal.out([k(c*d),k((e-m)*d),"m"].join(" "));f._lastPoint={x:c,y:m}};p.internal.line2=function(f,c,m){var d=this.pdf.internal.scaleFactor,e=this.pdf.internal.pageSize.getHeight(),k=this.pdf.internal.f2;c={x:c,y:m};this.pdf.internal.out([k(c.x*
d),k((e-c.y)*d),"l"].join(" "));f._lastPoint=c};p.internal.createArc=function(f,c,m,d){var e=2*Math.PI,k=Math.PI/2,l=c;if(l<e||l>e)l%=e;for(0>l&&(l=e+l);c>m;)c-=e;c=Math.abs(m-c);c<e&&d&&(c=e-c);e=[];for(d=d?-1:1;1E-5<c;)m=l+d*Math.min(c,k),e.push(this.createSmallArc(f,l,m)),c-=Math.abs(m-l),l=m;return e};p.internal.getCurrentPage=function(){return this.pdf.internal.pages[this.pdf.internal.getCurrentPageInfo().pageNumber]};p.internal.createSmallArc=function(f,c,m){var d=(m-c)/2,e=f*Math.cos(d),k=
f*Math.sin(d),l=-k,a=e*e+l*l,h=a+e*e+l*k;a=4/3*(Math.sqrt(2*a*h)-h)/(e*k-l*e);k=e-a*l;e=l+a*e;l=-e;a=d+c;d=Math.cos(a);a=Math.sin(a);return{x1:f*Math.cos(c),y1:f*Math.sin(c),x2:k*d-e*a,y2:k*a+e*d,x3:k*d-l*a,y3:k*a+l*d,x4:f*Math.cos(m),y4:f*Math.sin(m)}};return this})(I.API);(function(u){var q=function(){function A(){}return function(y){A.prototype=y;return new A}}();var p=function(A){var y,G;var J=0;var L=A.length;var M=void 0;for(G=y=!1;!y&&J!==L;)(M=A[J]=A[J].trimLeft())&&(y=!0),J++;for(J=L-1;L&&
!G&&-1!==J;)(M=A[J]=A[J].trimRight())&&(G=!0),J--;y=/\s+$/g;G=!0;for(J=0;J!==L;)"\u2028"!=A[J]&&(M=A[J].replace(/\s+/g," "),G&&(M=M.trimLeft()),M&&(G=y.test(M)),A[J]=M),J++;return A};var f=function(A,y,G,J){this.pdf=A;this.x=y;this.y=G;this.settings=J;this.watchFunctions=[];this.init();return this};var c=function(A){var y=void 0;var G=A.split(",");for(A=G.shift();!y&&A;)y=B[A.trim().toLowerCase()],A=G.shift();return y};var m=function(A){A="auto"===A?"0px":A;-1<A.indexOf("em")&&!isNaN(Number(A.replace("em",
"")))&&(A=18.719*Number(A.replace("em",""))+"px");-1<A.indexOf("pt")&&!isNaN(Number(A.replace("pt","")))&&(A=1.333*Number(A.replace("pt",""))+"px");var y;if(y=N[A])return y;y={"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}];if(void 0!==y||(y=parseFloat(A)))return N[A]=y/16;y=A.match(/([\d\.]+)(px)/);return 3===y.length?N[A]=parseFloat(y[1])/16:N[A]=1};var d=function(A){var y=function(J){var L=function(M){return document.defaultView&&
document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(M,null):M.currentStyle?M.currentStyle:M.style}(J);return function(M){M=M.replace(/-\D/g,function(ia){return ia.charAt(1).toUpperCase()});return L[M]}}(A);A={};var G=void 0;A["font-family"]=c(y("font-family"))||"times";A["font-style"]=K[y("font-style")]||"normal";A["text-align"]=U[y("text-align")]||"left";G=D[y("font-weight")]||"normal";"bold"===G&&(A["font-style"]="normal"===A["font-style"]?G:G+A["font-style"]);A["font-size"]=
m(y("font-size"))||1;A["line-height"]=m(y("line-height"))||1;A.display="inline"===y("display")?"inline":"block";G="block"===A.display;A["margin-top"]=G&&m(y("margin-top"))||0;A["margin-bottom"]=G&&m(y("margin-bottom"))||0;A["padding-top"]=G&&m(y("padding-top"))||0;A["padding-bottom"]=G&&m(y("padding-bottom"))||0;A["margin-left"]=G&&m(y("margin-left"))||0;A["margin-right"]=G&&m(y("margin-right"))||0;A["padding-left"]=G&&m(y("padding-left"))||0;A["padding-right"]=G&&m(y("padding-right"))||0;A["page-break-before"]=
y("page-break-before")||"auto";A["float"]=Y[y("cssFloat")]||"none";A.clear=O[y("clear")]||"none";A.color=y("color");return A};var e=function(A,y,G){var J,L;var M=!1;var ia=L=void 0;if(J=G["#"+A.id])if("function"===typeof J)M=J(A,y);else for(L=0,ia=J.length;!M&&L!==ia;)M=J[L](A,y),L++;J=G[A.nodeName];if(!M&&J)if("function"===typeof J)M=J(A,y);else for(L=0,ia=J.length;!M&&L!==ia;)M=J[L](A,y),L++;return M};var k=function(A,y){var G;var J=[];var L=[];var M=0;var ia=A.rows[0].cells.length;for(G=A.clientWidth;M<
ia;){var P=A.rows[0].cells[M];L[M]={name:P.textContent.toLowerCase().replace(/\s+/g,""),prompt:P.textContent.replace(/\r?\n/g,""),width:P.clientWidth/G*y.pdf.internal.pageSize.getWidth()};M++}for(M=1;M<A.rows.length;){P=A.rows[M];G={};for(y=0;y<P.cells.length;)G[L[y].name]=P.cells[y].textContent.replace(/\r?\n/g,""),y++;J.push(G);M++}return{rows:J,headers:L}};var l={SCRIPT:1,STYLE:1,NOSCRIPT:1,OBJECT:1,EMBED:1,SELECT:1},a=1;var h=function(A,y,G){var J,L,M;var ia=A.childNodes;var P=void 0;A=d(A);if(J=
"block"===A.display)y.setBlockBoundary(),y.setBlockStyle(A);var qa=0;for(L=ia.length;qa<L;){P=ia[qa];if("object"===("undefined"===typeof P?"undefined":X(P))){y.executeWatchFunctions(P);if(1===P.nodeType&&"HEADER"===P.nodeName){var ca=P,ra=y.pdf.margins_doc.top;y.pdf.internal.events.subscribe("addPage",function(E){y.y=ra;h(ca,y,G);y.pdf.margins_doc.top=y.y+10;y.y+=10},!1)}if(8===P.nodeType&&"#comment"===P.nodeName)~P.textContent.indexOf("ADD_PAGE")&&(y.pdf.addPage(),y.y=y.pdf.margins_doc.top);else if(1!==
P.nodeType||l[P.nodeName])if(3===P.nodeType){if((M=P.nodeValue)&&"LI"===P.parentNode.nodeName)if("OL"===P.parentNode.parentNode.nodeName)M=a++ +". "+M;else{var ja=A["font-size"];var ba=(3-.75*ja)*y.pdf.internal.scaleFactor,Da=.75*ja*y.pdf.internal.scaleFactor,ka=1.74*ja/y.pdf.internal.scaleFactor;ja=function(E,F){this.pdf.circle(E+ba,F+Da,ka,"FD")}}P.ownerDocument.body.compareDocumentPosition(P)&16&&y.addText(M,A)}else"string"===typeof P&&y.addText(P,A);else{if("IMG"===P.nodeName){var sa=P.getAttribute("src");
sa=t[y.pdf.sHashCode(sa)||sa]}if(sa){y.pdf.internal.pageSize.getHeight()-y.pdf.margins_doc.bottom<y.y+P.height&&y.y>y.pdf.margins_doc.top&&(y.pdf.addPage(),y.y=y.pdf.margins_doc.top,y.executeWatchFunctions(P));M=d(P);var aa=y.x,Fa=12/y.pdf.internal.scaleFactor,W=(M["margin-left"]+M["padding-left"])*Fa,Ga=(M["margin-right"]+M["padding-right"])*Fa,w=(M["margin-top"]+M["padding-top"])*Fa;Fa*=M["margin-bottom"]+M["padding-bottom"];aa=void 0!==M["float"]&&"right"===M["float"]?aa+(y.settings.width-P.width-
Ga):aa+W;y.pdf.addImage(sa,aa,y.y+w,P.width,P.height);sa=void 0;"right"===M["float"]||"left"===M["float"]?(y.watchFunctions.push(function(E,F,S,V){return y.y>=F?(y.x+=E,y.settings.width+=S,!0):V&&1===V.nodeType&&!l[V.nodeName]&&y.x+V.width>y.pdf.margins_doc.left+y.pdf.margins_doc.width?(y.x+=E,y.y=F,y.settings.width+=S,!0):!1}.bind(this,"left"===M["float"]?-P.width-W-Ga:0,y.y+P.height+w+Fa,P.width)),y.watchFunctions.push(function(E,F,S){return y.y<E&&F===y.pdf.internal.getNumberOfPages()?1===S.nodeType&&
"both"===d(S).clear?(y.y=E,!0):!1:!0}.bind(this,y.y+P.height,y.pdf.internal.getNumberOfPages())),y.settings.width-=P.width+W+Ga,"left"===M["float"]&&(y.x+=P.width+W+Ga)):y.y+=P.height+w+Fa}else"TABLE"===P.nodeName?(M=k(P,y),y.y+=10,y.pdf.table(y.x,y.y,M.rows,M.headers,{autoSize:!1,printHeaders:G.printHeaders,margins:y.pdf.margins_doc,css:d(P)}),y.y=y.pdf.lastCellPos.y+y.pdf.lastCellPos.h+20):"OL"===P.nodeName||"UL"===P.nodeName?(a=1,e(P,y,G)||h(P,y,G),y.y+=10):"LI"===P.nodeName?(M=y.x,y.x+=20/y.pdf.internal.scaleFactor,
y.y+=3,e(P,y,G)||h(P,y,G),y.x=M):"BR"===P.nodeName?(y.y+=A["font-size"]*y.pdf.internal.scaleFactor,y.addText("\u2028",q(A))):e(P,y,G)||h(P,y,G)}}qa++}G.outY=y.y;if(J)return y.setBlockBoundary(ja)};var t={};var n=function(A,y,G,J){function L(){y.pdf.internal.events.publish("imagesLoaded");J(ia)}function M(qa,ca,ra){if(qa){var ja=new Image;ia=++P;ja.crossOrigin="";ja.onerror=ja.onload=function(){if(ja.complete&&(0===ja.src.indexOf("data:image/")&&(ja.width=ca||ja.width||0,ja.height=ra||ja.height||0),
ja.width+ja.height)){var ba=y.pdf.sHashCode(qa)||qa;t[ba]=t[ba]||ja}--P||L()};ja.src=qa}}A=A.getElementsByTagName("img");G=A.length;for(var ia,P=0;G--;)M(A[G].getAttribute("src"),A[G].width,A[G].height);return P||L()};var x=function(A,y,G){var J=A.getElementsByTagName("footer");if(0<J.length){J=J[0];A=y.pdf.internal.write;var L=y.y;y.pdf.internal.write=function(){};h(J,y,G);var M=Math.ceil(y.y-L)+5;y.y=L;y.pdf.internal.write=A;y.pdf.margins_doc.bottom+=M;A=function(P){P=void 0!==P?P.pageNumber:1;
var qa=y.y;y.y=y.pdf.internal.pageSize.getHeight()-y.pdf.margins_doc.bottom;y.pdf.margins_doc.bottom-=M;for(var ca=J.getElementsByTagName("span"),ra=0;ra<ca.length;++ra)-1<(" "+ca[ra].className+" ").replace(/[\n\t]/g," ").indexOf(" pageCounter ")&&(ca[ra].innerHTML=P),-1<(" "+ca[ra].className+" ").replace(/[\n\t]/g," ").indexOf(" totalPages ")&&(ca[ra].innerHTML="###jsPDFVarTotalPages###");h(J,y,G);y.pdf.margins_doc.bottom+=M;y.y=qa};L=J.getElementsByTagName("span");for(var ia=0;ia<L.length;++ia)-1<
(" "+L[ia].className+" ").replace(/[\n\t]/g," ").indexOf(" totalPages ")&&y.pdf.internal.events.subscribe("htmlRenderingFinished",y.pdf.putTotalPages.bind(y.pdf,"###jsPDFVarTotalPages###"),!0);y.pdf.internal.events.subscribe("addPage",A,!1);A();l.FOOTER=1}};var v=function(A,y,G,J,L,M){if(!y)return!1;"string"===typeof y||y.parentNode||(y=""+y.innerHTML);"string"===typeof y&&(y=function(qa){var ca="jsPDFhtmlText"+Date.now().toString()+(1E3*Math.random()).toFixed(0);var ra=document.createElement("div");
ra.style.cssText="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;";ra.innerHTML='\x3ciframe style\x3d"height:1px;width:1px" name\x3d"'+ca+'" /\x3e';document.body.appendChild(ra);ra=window.frames[ca];ra.document.open();ra.document.writeln(qa);ra.document.close();return ra.document.body}(y.replace(/<\/?script[^>]*?>/gi,
"")));var ia=new f(A,G,J,L),P;n.call(this,y,ia,L.elementHandlers,function(qa){x(y,ia,L.elementHandlers);h(y,ia,L.elementHandlers);ia.pdf.internal.events.publish("htmlRenderingFinished");P=ia.dispose();"function"===typeof M?M(P):qa&&console.error("jsPDF Warning: rendering issues? provide a callback to fromHTML!")});return P||{x:ia.x,y:ia.y}};f.prototype.init=function(){this.paragraph={text:[],style:[]};return this.pdf.internal.write("q")};f.prototype.dispose=function(){this.pdf.internal.write("Q");
return{x:this.x,y:this.y,ready:!0}};f.prototype.executeWatchFunctions=function(A){var y=!1,G=[];if(0<this.watchFunctions.length){for(var J=0;J<this.watchFunctions.length;++J)!0===this.watchFunctions[J](A)?y=!0:G.push(this.watchFunctions[J]);this.watchFunctions=G}return y};f.prototype.splitFragmentsIntoLines=function(A,y){var G,J,L,M,ia,P;var qa=this.pdf.internal.scaleFactor;var ca={};var ra=J=G=P=L=J=M=G=void 0;var ja=[];var ba=[ja];ra=0;for(ia=this.settings.width;A.length;)if(L=A.shift(),P=y.shift(),
L)if(G=P["font-family"],M=P["font-style"],J=ca[G+M],J||(J=this.pdf.internal.getFont(G,M).metadata.Unicode,ca[G+M]=J),G={widths:J.widths,kerning:J.kerning,fontSize:12*P["font-size"],textIndent:ra},J=this.pdf.getStringUnitWidth(L,G)*G.fontSize/qa,"\u2028"==L)ja=[],ba.push(ja);else if(ra+J>ia){ra=this.pdf.splitTextToSize(L,ia,G);for(ja.push([ra.shift(),P]);ra.length;)ja=[[ra.shift(),P]],ba.push(ja);ra=this.pdf.getStringUnitWidth(ja[0][0],G)*G.fontSize/qa}else ja.push([L,P]),ra+=J;if(void 0!==P["text-align"]&&
("center"===P["text-align"]||"right"===P["text-align"]||"justify"===P["text-align"]))for(A=0;A<ba.length;++A)y=this.pdf.getStringUnitWidth(ba[A][0][0],G)*G.fontSize/qa,0<A&&(ba[A][0][1]=q(ba[A][0][1])),y=ia-y,"right"===P["text-align"]?ba[A][0][1]["margin-left"]=y:"center"===P["text-align"]?ba[A][0][1]["margin-left"]=y/2:"justify"===P["text-align"]&&(ca=ba[A][0][0].split(" ").length-1,ba[A][0][1]["word-spacing"]=y/ca,A===ba.length-1&&(ba[A][0][1]["word-spacing"]=0));return ba};f.prototype.RenderTextFragment=
function(A,y){var G=0;this.pdf.internal.pageSize.getHeight()-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),y.color,"Td"),G=Math.max(G,y["line-height"],y["font-size"]),this.pdf.internal.write(0,(-12*G).toFixed(2),"Td"));G=this.pdf.internal.getFont(y["font-family"],
y["font-style"]);var J=this.getPdfColor(y.color);J!==this.lastTextColor&&(this.pdf.internal.write(J),this.lastTextColor=J);void 0!==y["word-spacing"]&&0<y["word-spacing"]&&this.pdf.internal.write(y["word-spacing"].toFixed(2),"Tw");this.pdf.internal.write("/"+G.id,(12*y["font-size"]).toFixed(2),"Tf","("+this.pdf.internal.pdfEscape(A)+") Tj");void 0!==y["word-spacing"]&&this.pdf.internal.write(0,"Tw")};f.prototype.getPdfColor=function(A){var y=/rgb\s*\(\s*(\d+),\s*(\d+),\s*(\d+\s*)\)/.exec(A);if(null!=
y){var G=parseInt(y[1]);var J=parseInt(y[2]);A=parseInt(y[3])}else"#"!=A.charAt(0)&&((A=va.colorNameToHex(A))||(A="#000000")),G=A.substring(1,3),G=parseInt(G,16),J=A.substring(3,5),J=parseInt(J,16),A=A.substring(5,7),A=parseInt(A,16);"string"===typeof G&&/^#[0-9A-Fa-f]{6}$/.test(G)&&(A=parseInt(G.substr(1),16),G=A>>16&255,J=A>>8&255,A&=255);y=this.f3;return 0===G&&0===J&&0===A||"undefined"===typeof J?y(G/255)+" g":[y(G/255),y(J/255),y(A/255),"rg"].join(" ")};f.prototype.f3=function(A){return A.toFixed(3)};
f.prototype.renderParagraph=function(A){var y,G;var J=p(this.paragraph.text);var L=this.paragraph.style;var M=this.paragraph.blockstyle;this.paragraph={text:[],style:[],blockstyle:{},priorblockstyle:M};if(J.join("").trim()){L=this.splitFragmentsIntoLines(J,L);var ia=G=void 0;J=12/this.pdf.internal.scaleFactor;this.priorMarginBottom=this.priorMarginBottom||0;G=(Math.max((M["margin-top"]||0)-this.priorMarginBottom,0)+(M["padding-top"]||0))*J;var P=((M["margin-bottom"]||0)+(M["padding-bottom"]||0))*
J;this.priorMarginBottom=M["margin-bottom"]||0;"always"===M["page-break-before"]&&(this.pdf.addPage(),this.y=0,G=((M["margin-top"]||0)+(M["padding-top"]||0))*J);var qa=this.pdf.internal.write;var ca=y=void 0;this.y+=G;qa("q","BT 0 g",this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td");for(var ra=0;L.length;){G=L.shift();y=ia=0;for(ca=G.length;y!==ca;){if(G[y][0].trim()){ia=Math.max(ia,G[y][1]["line-height"],G[y][1]["font-size"]);var ja=7*G[y][1]["font-size"]}y++}ca=
y=0;void 0!==G[0][1]["margin-left"]&&0<G[0][1]["margin-left"]&&(ca=this.pdf.internal.getCoordinateString(G[0][1]["margin-left"]),y=ca-ra,ra=ca);qa(y+Math.max(M["margin-left"]||0,0)*J,(-12*ia).toFixed(2),"Td");y=0;for(ca=G.length;y!==ca;)G[y][0]&&this.RenderTextFragment(G[y][0],G[y][1]),y++;this.y+=ia*J;if(this.executeWatchFunctions(G[0][1])&&0<L.length){var ba=[],Da=[];L.forEach(function(ka){for(var sa=0,aa=ka.length;sa!==aa;)ka[sa][0]&&(ba.push(ka[sa][0]+" "),Da.push(ka[sa][1])),++sa});L=this.splitFragmentsIntoLines(p(ba),
Da);qa("ET","Q");qa("q","BT 0 g",this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td")}}A&&"function"===typeof A&&A.call(this,this.x-9,this.y-ja/2);qa("ET","Q");return this.y+=P}};f.prototype.setBlockBoundary=function(A){return this.renderParagraph(A)};f.prototype.setBlockStyle=function(A){return this.paragraph.blockstyle=A};f.prototype.addText=function(A,y){this.paragraph.text.push(A);return this.paragraph.style.push(y)};var B={helvetica:"helvetica",
"sans-serif":"helvetica","times new roman":"times",serif:"times",times:"times",monospace:"courier",courier:"courier"};var D={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"};var K={normal:"normal",italic:"italic",oblique:"italic"};var U={left:"left",right:"right",center:"center",justify:"justify"};var Y={none:"none",right:"right",left:"left"};var O={none:"none",both:"both"};var N=
{normal:1};u.fromHTML=function(A,y,G,J,L,M){this.margins_doc=M||{top:0,bottom:0};J||(J={});J.elementHandlers||(J.elementHandlers={});return v(this,A,isNaN(y)?4:y,isNaN(G)?4:G,J,L)}})(I.API);(function(u){var q,p,f;u.addJS=function(c){f=c;this.internal.events.subscribe("postPutResources",function(m){q=this.internal.newObject();this.internal.write("\x3c\x3c /Names [(EmbeddedJS) "+(q+1)+" 0 R] \x3e\x3e","endobj");p=this.internal.newObject();this.internal.write("\x3c\x3c /S /JavaScript /JS (",f,") \x3e\x3e",
"endobj")});this.internal.events.subscribe("putCatalog",function(){void 0!==q&&void 0!==p&&this.internal.write("/Names \x3c\x3c/JavaScript "+q+" 0 R\x3e\x3e")});return this}})(I.API);(function(u){u.events.push(["postPutResources",function(){var q=/^(\d+) 0 obj$/;if(0<this.outline.root.children.length)for(var p=this.outline.render().split(/\r\n/),f=0;f<p.length;f++){var c=p[f],m=q.exec(c);null!=m&&this.internal.newObjectDeferredBegin(m[1]);this.internal.write(c)}if(this.outline.createNamedDestinations){p=
this.internal.pages.length;q=[];for(f=0;f<p;f++)c=this.internal.newObject(),q.push(c),c=this.internal.getPageInfo(f+1),this.internal.write("\x3c\x3c /D["+c.objId+" 0 R /XYZ null null null]\x3e\x3e endobj");p=this.internal.newObject();this.internal.write("\x3c\x3c /Names [ ");for(f=0;f<q.length;f++)this.internal.write("(page_"+(f+1)+")"+q[f]+" 0 R");this.internal.write(" ] \x3e\x3e","endobj");this.internal.newObject();this.internal.write("\x3c\x3c /Dests "+p+" 0 R");this.internal.write("\x3e\x3e",
"endobj")}}]);u.events.push(["putCatalog",function(){0<this.outline.root.children.length&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+namesOid+" 0 R"))}]);u.events.push(["initialized",function(){var q=this;q.outline={createNamedDestinations:!1,root:{children:[]}};q.outline.add=function(p,f,c){f={title:f,options:c,children:[]};null==p&&(p=this.root);p.children.push(f);return f};q.outline.render=function(){this.ctx=
{};this.ctx.val="";this.ctx.pdf=q;this.genIds_r(this.root);this.renderRoot(this.root);this.renderItems(this.root);return this.ctx.val};q.outline.genIds_r=function(p){p.id=q.internal.newObjectDeferred();for(var f=0;f<p.children.length;f++)this.genIds_r(p.children[f])};q.outline.renderRoot=function(p){this.objStart(p);this.line("/Type /Outlines");0<p.children.length&&(this.line("/First "+this.makeRef(p.children[0])),this.line("/Last "+this.makeRef(p.children[p.children.length-1])));this.line("/Count "+
this.count_r({count:0},p));this.objEnd()};q.outline.renderItems=function(p){for(var f=0;f<p.children.length;f++){var c=p.children[f];this.objStart(c);this.line("/Title "+this.makeString(c.title));this.line("/Parent "+this.makeRef(p));0<f&&this.line("/Prev "+this.makeRef(p.children[f-1]));f<p.children.length-1&&this.line("/Next "+this.makeRef(p.children[f+1]));0<c.children.length&&(this.line("/First "+this.makeRef(c.children[0])),this.line("/Last "+this.makeRef(c.children[c.children.length-1])));var m=
this.count=this.count_r({count:0},c);0<m&&this.line("/Count "+m);c.options&&c.options.pageNumber&&(c=q.internal.getPageInfo(c.options.pageNumber),this.line("/Dest ["+c.objId+" 0 R /XYZ 0 "+this.ctx.pdf.internal.pageSize.getHeight()+" 0]"));this.objEnd()}for(f=0;f<p.children.length;f++)c=p.children[f],this.renderItems(c)};q.outline.line=function(p){this.ctx.val+=p+"\r\n"};q.outline.makeRef=function(p){return p.id+" 0 R"};q.outline.makeString=function(p){return"("+q.internal.pdfEscape(p)+")"};q.outline.objStart=
function(p){this.ctx.val+="\r\n"+p.id+" 0 obj\r\n\x3c\x3c\r\n"};q.outline.objEnd=function(p){this.ctx.val+="\x3e\x3e \r\nendobj\r\n"};q.outline.count_r=function(p,f){for(var c=0;c<f.children.length;c++)p.count++,this.count_r(p,f.children[c]);return p.count}}]);return this})(I.API);(function(u){var q=function(e,k,l,a){var h=5,t=c;switch(a){case u.image_compression.FAST:h=3;t=f;break;case u.image_compression.MEDIUM:h=6;t=m;break;case u.image_compression.SLOW:h=9,t=d}a=e.length/k;for(var n=new Uint8Array(e.length+
a),x=[p,f,c,m,d],v=0,B,D,K;v<a;v++){K=v*k;B=e.subarray(K,K+k);if(t)n.set(t(B,l,D),K+v);else{for(var U=0,Y=x.length,O=[];U<Y;U++)O[U]=x[U](B,l,D);var N=U=D=void 0;Y=O.concat();for(var A=0,y=Y.length;A<y;){N=Y[A].slice(1);for(var G=0,J=N.length,L=0;G<J;)L+=Math.abs(N[G++]);N=L;if(N<U||!U)U=N,D=A;A++}n.set(O[D],K+v)}D=B}e=n;k=Uint8Array;l=Math.LOG2E*Math.log(32768)-8<<4|8;t=l<<8|0;t+=31-t%31;k=new k([l,t&255]);l=1;t=0;a=e.length;for(x=0;0<a;){n=void 0<a?void 0:a;a-=n;do l+=e[x++],t+=l;while(--n);l%=
65521;t%=65521}l=(t<<16|l)>>>0;t=new pa(h);h=t.append(e);e=t.flush();t=k.length+h.length+e.length;a=new Uint8Array(t+4);a.set(k);a.set(h,k.length);a.set(e,k.length+h.length);a[t++]=l>>>24&255;a[t++]=l>>>16&255;a[t++]=l>>>8&255;a[t++]=l&255;return u.arrayBufferToBinaryString(a)},p=function(e,k,l){e=Array.apply([],e);e.unshift(0);return e},f=function(e,k,l){l=[];var a=0,h=e.length;for(l[0]=1;a<h;a++){var t=e[a-k]||0;l[a+1]=e[a]-t+256&255}return l},c=function(e,k,l){k=[];var a=0,h=e.length;for(k[0]=
2;a<h;a++){var t=l&&l[a]||0;k[a+1]=e[a]-t+256&255}return k},m=function(e,k,l){var a=[],h=0,t=e.length;for(a[0]=3;h<t;h++){var n=e[h-k]||0;var x=l&&l[h]||0;a[h+1]=e[h]+256-(n+x>>>1)&255}return a},d=function(e,k,l){var a=[],h=0,t=e.length;for(a[0]=4;h<t;h++){var n=e[h-k]||0;var x=l&&l[h]||0;var v=l&&l[h-k]||0;var B=n+x-v,D=Math.abs(B-n),K=Math.abs(B-x);B=Math.abs(B-v);n=D<=K&&D<=B?n:K<=B?x:v;a[h+1]=e[h]-n+256&255}return a};u.processPNG=function(e,k,l,a,h){h=this.color_spaces.DEVICE_RGB;var t=this.decode.FLATE_DECODE,
n=8;this.isArrayBuffer(e)&&(e=new Uint8Array(e));if(this.isArrayBufferView(e)){if("function"!==typeof C.PNG||"function"!==typeof Aa)throw Error("PNG support requires png.js and zlib.js");var x=new C.PNG(e);e=x.imgData;n=x.bits;h=x.colorSpace;var v=x.colors;if(-1!==[4,6].indexOf(x.colorType)){if(8===x.bits){var B=32==x.pixelBitlength?new Uint32Array(x.decodePixels().buffer):16==x.pixelBitlength?new Uint16Array(x.decodePixels().buffer):new Uint8Array(x.decodePixels().buffer);var D=B.length,K=new Uint8Array(D*
x.colors),U=new Uint8Array(D),Y=x.pixelBitlength-x.bits,O=0;e=0;for(var N,A;O<D;O++){N=B[O];for(A=0;A<Y;)K[e++]=N>>>A&255,A+=x.bits;U[O]=N>>>A&255}}if(16===x.bits){B=new Uint32Array(x.decodePixels().buffer);D=B.length;K=new Uint8Array(32/x.pixelBitlength*D*x.colors);U=new Uint8Array(32/x.pixelBitlength*D);n=1<x.colors;for(Y=e=O=0;O<D;)N=B[O++],K[e++]=N>>>0&255,n&&(K[e++]=N>>>16&255,N=B[O++],K[e++]=N>>>0&255),U[Y++]=N>>>16&255;n=8}if(D=a!==u.image_compression.NONE)if(D="function"===typeof pa,!D)throw Error("requires deflate.js for compression");
D?(e=q(K,x.width*x.colors,x.colors,a),B=q(U,x.width,1,a)):(e=K,B=U,t=null)}if(3===x.colorType){h=this.color_spaces.INDEXED;var y=x.palette;if(x.transparency.indexed){K=x.transparency.indexed;O=U=0;for(D=K.length;O<D;++O)U+=K[O];U/=255;if(U===D-1&&-1!==K.indexOf(0))var G=[K.indexOf(0)];else if(U!==D){B=x.decodePixels();U=new Uint8Array(B.length);O=0;for(D=B.length;O<D;O++)U[O]=K[B[O]];B=q(U,x.width,1)}}}switch(a){case u.image_compression.FAST:a=11;break;case u.image_compression.MEDIUM:a=13;break;case u.image_compression.SLOW:a=
14;break;default:a=12}v=t===this.decode.FLATE_DECODE?"/Predictor "+a+" /Colors "+v+" /BitsPerComponent "+n+" /Columns "+x.width:"/Colors "+v+" /BitsPerComponent "+n+" /Columns "+x.width;if(this.isArrayBuffer(e)||this.isArrayBufferView(e))e=this.arrayBufferToBinaryString(e);if(B&&this.isArrayBuffer(B)||this.isArrayBufferView(B))B=this.arrayBufferToBinaryString(B);return this.createImageInfo(e,x.width,x.height,h,n,t,k,l,v,G,y,B,a)}throw Error("Unsupported PNG image data, try using JPEG instead.");}})(I.API);
(function(u){var q=u.getCharWidthsArray=function(d,e){e||(e={});var k=e.widths?e.widths:this.internal.getFont().metadata.Unicode.widths,l=k.fof?k.fof:1;e=e.kerning?e.kerning:this.internal.getFont().metadata.Unicode.kerning;var a=e.fof?e.fof:1,h,t=0,n=k[0]||l,x=[];var v=0;for(h=d.length;v<h;v++){var B=d.charCodeAt(v);x.push((k[B]||n)/l+(e[B]&&e[B][t]||0)/a);t=B}return x},p=function(d){for(var e=d.length,k=0;e;)e--,k+=d[e];return k},f=u.getStringUnitWidth=function(d,e){return p(q.call(this,d,e))},c=
function(d,e,k,l){for(var a=[],h=0,t=d.length,n=0;h!==t&&n+e[h]<k;)n+=e[h],h++;a.push(d.slice(0,h));k=h;for(n=0;h!==t;)n+e[h]>l&&(a.push(d.slice(k,h)),n=0,k=h),n+=e[h],h++;k!==h&&a.push(d.slice(k,h));return a},m=function(d,e,k){k||(k={});var l=[],a=[l],h=k.textIndent||0,t=0,n=0,x=d.split(" "),v=q(" ",k)[0],B,D;if(D=-1===k.lineIndent?x[0].length+2:k.lineIndent||0){var K=Array(D).join(" "),U=[];x.map(function(A){A=A.split(/\s*\n/);1<A.length?U=U.concat(A.map(function(y,G){return(G&&y.length?"\n":"")+
y})):U.push(A[0])});x=U;D=f(K,k)}var Y=0;for(B=x.length;Y<B;Y++){var O=0;d=x[Y];D&&"\n"==d[0]&&(d=d.substr(1),O=1);var N=q(d,k);n=p(N);if(h+t+n>e||O){if(n>e){h=c(d,N,e-(h+t),e);l.push(h.shift());for(l=[h.pop()];h.length;)a.push([h.shift()]);n=p(N.slice(d.length-l[0].length))}else l=[d];a.push(l);h=n+D}else l.push(d),h+=t+n;t=v}return a.map(D?function(A,y){return(y?K:"")+A.join(" ")}:function(A){return A.join(" ")})};u.splitTextToSize=function(d,e,k){k||(k={});var l=k.fontSize||this.internal.getFontSize();
var a=k;var h={0:1};var t={};a.widths&&a.kerning?h={widths:a.widths,kerning:a.kerning}:(a=this.internal.getFont(a.fontName,a.fontStyle),h=a.metadata.Unicode?{widths:a.metadata.Unicode.widths||h,kerning:a.metadata.Unicode.kerning||t}:{widths:h,kerning:t});d=Array.isArray(d)?d:d.split(/\r?\n/);e=1*this.internal.scaleFactor*e/l;h.textIndent=k.textIndent?1*k.textIndent*this.internal.scaleFactor/l:0;h.lineIndent=k.lineIndent;t=[];k=0;for(l=d.length;k<l;k++)t=t.concat(m(d[k],e,h));return t}})(I.API);(function(u){var q=
function(m){for(var d={},e=0;16>e;e++)d["klmnopqrstuvwxyz"[e]]="0123456789abcdef"[e];var k={},l=1,a=k,h=[],t="",n="",x=m.length-1;for(e=1;e!=x;){var v=m[e];e+=1;if("'"==v)if(D){var B=D.join("");var D=void 0}else D=[];else D?D.push(v):"{"==v?(h.push([a,B]),a={},B=void 0):"}"==v?(v=h.pop(),v[0][v[1]]=a,B=void 0,a=v[0]):"-"==v?l=-1:void 0===B?d.hasOwnProperty(v)?(t+=d[v],B=parseInt(t,16)*l,l=1,t=""):t+=v:d.hasOwnProperty(v)?(n+=d[v],a[B]=parseInt(n,16)*l,l=1,B=void 0,n=""):n+=v}return k},p={codePages:["WinAnsiEncoding"],
WinAnsiEncoding:q("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},f={Unicode:{Courier:p,"Courier-Bold":p,"Courier-BoldOblique":p,"Courier-Oblique":p,Helvetica:p,"Helvetica-Bold":p,"Helvetica-BoldOblique":p,"Helvetica-Oblique":p,"Times-Roman":p,"Times-Bold":p,"Times-BoldItalic":p,"Times-Italic":p}},c={Unicode:{"Courier-Oblique":q("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":q("{'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":q("{'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:q("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":q("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":q("{'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:q("{'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":q("{'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":q("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":q("{'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":q("{'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":q("{'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}}}")}};
u.events.push(["addFont",function(m){var d;if(d=c.Unicode[m.PostScriptName]){var e=m.metadata.Unicode?m.metadata.Unicode:m.metadata.Unicode={};e.widths=d.widths;e.kerning=d.kerning}if(d=f.Unicode[m.PostScriptName])e=m.metadata.Unicode?m.metadata.Unicode:m.metadata.Unicode={},e.encoding=d,d.codePages&&d.codePages.length&&(m.encoding=d.codePages[0])}])})(I.API);(function(u){u.addSVG=function(q,p,f,c,m){function d(a){for(var h=parseFloat(a[1]),t=parseFloat(a[2]),n=[],x=3,v=a.length;x<v;)"c"===a[x]?(n.push([parseFloat(a[x+
1]),parseFloat(a[x+2]),parseFloat(a[x+3]),parseFloat(a[x+4]),parseFloat(a[x+5]),parseFloat(a[x+6])]),x+=7):"l"===a[x]?(n.push([parseFloat(a[x+1]),parseFloat(a[x+2])]),x+=3):x+=1;return[h,t,n]}if(void 0===p||void 0===f)throw Error("addSVG needs values for 'x' and 'y'");var e=function(a){var h=a.createElement("iframe"),t=a.createElement("style");t.type="text/css";t.styleSheet?t.styleSheet.cssText=".jsPDF_sillysvg_iframe {display:none;position:absolute;}":t.appendChild(a.createTextNode(".jsPDF_sillysvg_iframe {display:none;position:absolute;}"));
a.getElementsByTagName("head")[0].appendChild(t);h.name="childframe";h.setAttribute("width",0);h.setAttribute("height",0);h.setAttribute("frameborder","0");h.setAttribute("scrolling","no");h.setAttribute("seamless","seamless");h.setAttribute("class","jsPDF_sillysvg_iframe");a.body.appendChild(h);return h}(document);e=function(a,h){h=(h.contentWindow||h.contentDocument).document;h.write(a);h.close();return h.getElementsByTagName("svg")[0]}(q,e);q=[1,1];var k=parseFloat(e.getAttribute("width")),l=parseFloat(e.getAttribute("height"));
k&&l&&(c&&m?q=[c/k,m/l]:c?q=[c/k,c/k]:m&&(q=[m/l,m/l]));e=e.childNodes;c=0;for(m=e.length;c<m;c++)k=e[c],k.tagName&&"PATH"===k.tagName.toUpperCase()&&(k=d(k.getAttribute("d").split(" ")),k[0]=k[0]*q[0]+p,k[1]=k[1]*q[1]+f,this.lines.call(this,k[2],k[0],k[1],q));return this}})(I.API);(function(u){u.putTotalPages=function(q){q=new RegExp(q,"g");for(var p=1;p<=this.internal.getNumberOfPages();p++)for(var f=0;f<this.internal.pages[p].length;f++)this.internal.pages[p][f]=this.internal.pages[p][f].replace(q,
this.internal.getNumberOfPages());return this}})(I.API);(function(u){var q="",p="",f="";u.addMetadata=function(c,m){p=m||"http://jspdf.default.namespaceuri/";q=c;this.internal.events.subscribe("postPutResources",function(){if(q){var d='\x3crdf:RDF xmlns:rdf\x3d"http://www.w3.org/1999/02/22-rdf-syntax-ns#"\x3e\x3crdf:Description rdf:about\x3d"" xmlns:jspdf\x3d"'+p+'"\x3e\x3cjspdf:metadata\x3e',e=unescape(encodeURIComponent('\x3cx:xmpmeta xmlns:x\x3d"adobe:ns:meta/"\x3e'));d=unescape(encodeURIComponent(d));
var k=unescape(encodeURIComponent(q)),l=unescape(encodeURIComponent("\x3c/jspdf:metadata\x3e\x3c/rdf:Description\x3e\x3c/rdf:RDF\x3e")),a=unescape(encodeURIComponent("\x3c/x:xmpmeta\x3e")),h=d.length+k.length+l.length+e.length+a.length;f=this.internal.newObject();this.internal.write("\x3c\x3c /Type /Metadata /Subtype /XML /Length "+h+" \x3e\x3e");this.internal.write("stream");this.internal.write(e+d+k+l+a);this.internal.write("endstream");this.internal.write("endobj")}else f=""});this.internal.events.subscribe("putCatalog",
function(){f&&this.internal.write("/Metadata "+f+" 0 R")});return this}})(I.API);I.adler32cs=function(){var u="function"===typeof ArrayBuffer&&"function"===typeof Uint8Array,q=null,p=function(){if(!u)return function(){return!1};try{var k={};"function"===typeof k.Buffer&&(q=k.Buffer)}catch(l){}return function(l){return l instanceof ArrayBuffer||null!==q&&l instanceof q}}(),f=function(){return null!==q?function(k){return(new q(k,"utf8")).toString("binary")}:function(k){return unescape(encodeURIComponent(k))}}(),
c=function(k,l){var a=k&65535;k>>>=16;for(var h=0,t=l.length;h<t;h++)a=(a+(l.charCodeAt(h)&255))%65521,k=(k+a)%65521;return(k<<16|a)>>>0},m=function(k,l){var a=k&65535;k>>>=16;for(var h=0,t=l.length;h<t;h++)a=(a+l[h])%65521,k=(k+a)%65521;return(k<<16|a)>>>0},d={},e=d.Adler32=function(){var k=function(a){if(!(this instanceof k))throw new TypeError("Constructor cannot called be as a function.");if(!isFinite(a=null==a?1:+a))throw Error("First arguments needs to be a finite number.");this.checksum=a>>>
0},l=k.prototype={};l.constructor=k;k.from=function(a){a.prototype=l;return a}(function(a){if(!(this instanceof k))throw new TypeError("Constructor cannot called be as a function.");if(null==a)throw Error("First argument needs to be a string.");this.checksum=c(1,a.toString())});k.fromUtf8=function(a){a.prototype=l;return a}(function(a){if(!(this instanceof k))throw new TypeError("Constructor cannot called be as a function.");if(null==a)throw Error("First argument needs to be a string.");a=f(a.toString());
this.checksum=c(1,a)});u&&(k.fromBuffer=function(a){a.prototype=l;return a}(function(a){if(!(this instanceof k))throw new TypeError("Constructor cannot called be as a function.");if(!p(a))throw Error("First argument needs to be ArrayBuffer.");a=new Uint8Array(a);return this.checksum=m(1,a)}));l.update=function(a){if(null==a)throw Error("First argument needs to be a string.");a=a.toString();return this.checksum=c(this.checksum,a)};l.updateUtf8=function(a){if(null==a)throw Error("First argument needs to be a string.");
a=f(a.toString());return this.checksum=c(this.checksum,a)};u&&(l.updateBuffer=function(a){if(!p(a))throw Error("First argument needs to be ArrayBuffer.");a=new Uint8Array(a);return this.checksum=m(this.checksum,a)});l.clone=function(){return new e(this.checksum)};return k}();d.from=function(k){if(null==k)throw Error("First argument needs to be a string.");return c(1,k.toString())};d.fromUtf8=function(k){if(null==k)throw Error("First argument needs to be a string.");k=f(k.toString());return c(1,k)};
u&&(d.fromBuffer=function(k){if(!p(k))throw Error("First argument need to be ArrayBuffer.");k=new Uint8Array(k);return m(1,k)});return d};var va={_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"},colorNameToHex:function(u){u=u.toLowerCase();return"undefined"!=typeof this._colorsTable[u]?this._colorsTable[u]:!1}},pa=
function(u){function q(){var a=this;a.build_tree=function(h){var t=a.dyn_tree,n=a.stat_desc.static_tree,x=a.stat_desc.elems,v,B=-1;h.heap_len=0;h.heap_max=573;for(v=0;v<x;v++)0!==t[2*v]?(h.heap[++h.heap_len]=B=v,h.depth[v]=0):t[2*v+1]=0;for(;2>h.heap_len;){var D=h.heap[++h.heap_len]=2>B?++B:0;t[2*D]=1;h.depth[D]=0;h.opt_len--;n&&(h.static_len-=n[2*D+1])}a.max_code=B;for(v=Math.floor(h.heap_len/2);1<=v;v--)h.pqdownheap(t,v);D=x;do v=h.heap[1],h.heap[1]=h.heap[h.heap_len--],h.pqdownheap(t,1),n=h.heap[1],
h.heap[--h.heap_max]=v,h.heap[--h.heap_max]=n,t[2*D]=t[2*v]+t[2*n],h.depth[D]=Math.max(h.depth[v],h.depth[n])+1,t[2*v+1]=t[2*n+1]=D,h.heap[1]=D++,h.pqdownheap(t,1);while(2<=h.heap_len);h.heap[--h.heap_max]=h.heap[1];v=a.dyn_tree;B=a.stat_desc.static_tree;var K=a.stat_desc.extra_bits,U=a.stat_desc.extra_base,Y=a.stat_desc.max_length,O=0;for(x=0;15>=x;x++)h.bl_count[x]=0;v[2*h.heap[h.heap_max]+1]=0;for(D=h.heap_max+1;573>D;D++)if(n=h.heap[D],x=v[2*v[2*n+1]+1]+1,x>Y&&(x=Y,O++),v[2*n+1]=x,!(n>a.max_code)){h.bl_count[x]++;
var N=0;n>=U&&(N=K[n-U]);var A=v[2*n];h.opt_len+=A*(x+N);B&&(h.static_len+=A*(B[2*n+1]+N))}if(0!==O){do{for(x=Y-1;0===h.bl_count[x];)x--;h.bl_count[x]--;h.bl_count[x+1]+=2;h.bl_count[Y]--;O-=2}while(0<O);for(x=Y;0!==x;x--)for(n=h.bl_count[x];0!==n;)B=h.heap[--D],B>a.max_code||(v[2*B+1]!=x&&(h.opt_len+=(x-v[2*B+1])*v[2*B],v[2*B+1]=x),n--)}v=a.max_code;D=h.bl_count;h=[];n=0;for(x=1;15>=x;x++)h[x]=n=n+D[x-1]<<1;for(D=0;D<=v;D++)if(B=t[2*D+1],0!==B){n=2*D;x=h[B]++;K=0;do K|=x&1,x>>>=1,K<<=1;while(0<--B);
t[n]=K>>>1}}}function p(a,h,t,n,x){this.static_tree=a;this.extra_bits=h;this.extra_base=t;this.elems=n;this.max_length=x}function f(a,h,t,n,x){this.good_length=a;this.max_lazy=h;this.nice_length=t;this.max_chain=n;this.func=x}function c(a,h,t,n){var x=a[2*h];a=a[2*t];return x<a||x==a&&n[h]<=n[t]}function m(){function a(){var Q;for(Q=0;286>Q;Q++)Ma[2*Q]=0;for(Q=0;30>Q;Q++)Pa[2*Q]=0;for(Q=0;19>Q;Q++)Ja[2*Q]=0;Ma[512]=1;Z=wa=L.opt_len=L.static_len=0}function h(Q,da){var ha,oa=-1,ta=Q[1],xa=0,Ka=7,Oa=
4;0===ta&&(Ka=138,Oa=3);Q[2*(da+1)+1]=65535;for(ha=0;ha<=da;ha++){var La=ta;ta=Q[2*(ha+1)+1];++xa<Ka&&La==ta||(xa<Oa?Ja[2*La]+=xa:0!==La?(La!=oa&&Ja[2*La]++,Ja[32]++):10>=xa?Ja[34]++:Ja[36]++,xa=0,oa=La,0===ta?(Ka=138,Oa=3):La==ta?(Ka=6,Oa=3):(Ka=7,Oa=4))}}function t(Q){L.pending_buf[L.pending++]=Q}function n(Q){t(Q&255);t(Q>>>8&255)}function x(Q,da){Ba>16-da?(Ca|=Q<<Ba&65535,n(Ca),Ca=Q>>>16-Ba,Ba+=da-16):(Ca|=Q<<Ba&65535,Ba+=da)}function v(Q,da){Q*=2;x(da[Q]&65535,da[Q+1]&65535)}function B(Q,da){var ha,
oa=-1,ta=Q[1],xa=0,Ka=7,Oa=4;0===ta&&(Ka=138,Oa=3);for(ha=0;ha<=da;ha++){var La=ta;ta=Q[2*(ha+1)+1];if(!(++xa<Ka&&La==ta)){if(xa<Oa){do v(La,Ja);while(0!==--xa)}else 0!==La?(La!=oa&&(v(La,Ja),xa--),v(16,Ja),x(xa-3,2)):10>=xa?(v(17,Ja),x(xa-3,3)):(v(18,Ja),x(xa-11,7));xa=0;oa=La;0===ta?(Ka=138,Oa=3):La==ta?(Ka=6,Oa=3):(Ka=7,Oa=4)}}}function D(){16==Ba?(n(Ca),Ba=Ca=0):8<=Ba&&(t(Ca&255),Ca>>>=8,Ba-=8)}function K(Q,da){var ha;L.pending_buf[ma+2*Z]=Q>>>8&255;L.pending_buf[ma+2*Z+1]=Q&255;L.pending_buf[T+
Z]=da&255;Z++;0===Q?Ma[2*da]++:(wa++,Q--,Ma[2*(q._length_code[da]+256+1)]++,Pa[2*q.d_code(Q)]++);if(0===(Z&8191)&&2<Ha){Q=8*Z;da=R-E;for(ha=0;30>ha;ha++)Q+=Pa[2*ha]*(5+q.extra_dbits[ha]);if(wa<Math.floor(Z/2)&&Q>>>3<Math.floor(da/2))return!0}return Z==ea-1}function U(Q,da){var ha=0;if(0!==Z){do{var oa=L.pending_buf[ma+2*ha]<<8&65280|L.pending_buf[ma+2*ha+1]&255;var ta=L.pending_buf[T+ha]&255;ha++;if(0===oa)v(ta,Q);else{var xa=q._length_code[ta];v(xa+256+1,Q);var Ka=q.extra_lbits[xa];0!==Ka&&(ta-=
q.base_length[xa],x(ta,Ka));oa--;xa=q.d_code(oa);v(xa,da);Ka=q.extra_dbits[xa];0!==Ka&&(oa-=q.base_dist[xa],x(oa,Ka))}}while(ha<Z)}v(256,Q);ua=Q[513]}function Y(){8<Ba?n(Ca):0<Ba&&t(Ca&255);Ba=Ca=0}function O(Q,da,ha){Y();ua=8;ha&&(n(da),n(~da));L.pending_buf.set(ba.subarray(Q,Q+da),L.pending);L.pending+=da}function N(Q){var da=0<=E?E:-1,ha=R-E,oa=0;if(0<Ha){Ia.build_tree(L);z.build_tree(L);h(Ma,Ia.max_code);h(Pa,z.max_code);H.build_tree(L);for(oa=18;3<=oa&&0===Ja[2*q.bl_order[oa]+1];oa--);L.opt_len+=
3*(oa+1)+14;var ta=L.opt_len+3+7>>>3;var xa=L.static_len+3+7>>>3;xa<=ta&&(ta=xa)}else ta=xa=ha+5;if(ha+4<=ta&&-1!=da)x(Q?1:0,3),O(da,ha,!0);else if(xa==ta)x(2+(Q?1:0),3),U(p.static_ltree,p.static_dtree);else{x(4+(Q?1:0),3);da=Ia.max_code+1;ha=z.max_code+1;oa+=1;x(da-257,5);x(ha-1,5);x(oa-4,4);for(ta=0;ta<oa;ta++)x(Ja[2*q.bl_order[ta]+1],3);B(Ma,da-1);B(Pa,ha-1);U(Ma,Pa)}a();Q&&Y();E=R;M.flush_pending()}function A(){var Q;do{var da=Da-fa-R;if(0===da&&0===R&&0===fa)da=ca;else if(-1==da)da--;else if(R>=
ca+ca-262){ba.set(ba.subarray(ca,ca+ca),0);la-=ca;R-=ca;E-=ca;var ha=Q=Fa;do{var oa=sa[--ha]&65535;sa[ha]=oa>=ca?oa-ca:0}while(0!==--Q);ha=Q=ca;do oa=ka[--ha]&65535,ka[ha]=oa>=ca?oa-ca:0;while(0!==--Q);da+=ca}if(0===M.avail_in)break;Q=M.read_buf(ba,R+fa,da);fa+=Q;3<=fa&&(aa=ba[R]&255,aa=(aa<<w^ba[R+1]&255)&Ga)}while(262>fa&&0!==M.avail_in)}function y(Q){var da=65535;for(da>P-5&&(da=P-5);;){if(1>=fa){A();if(0===fa&&0==Q)return 0;if(0===fa)break}R+=fa;fa=0;var ha=E+da;if(0===R||R>=ha)if(fa=R-ha,R=ha,
N(!1),0===M.avail_out)return 0;if(R-E>=ca-262&&(N(!1),0===M.avail_out))return 0}N(4==Q);return 0===M.avail_out?4==Q?2:0:4==Q?3:1}function G(Q){var da=Ea,ha=R,oa=ya,ta=R>ca-262?R-(ca-262):0,xa=Sa,Ka=ja,Oa=R+258,La=ba[ha+oa-1],Va=ba[ha+oa];ya>=na&&(da>>=2);xa>fa&&(xa=fa);do{var Na=Q;if(ba[Na+oa]==Va&&ba[Na+oa-1]==La&&ba[Na]==ba[ha]&&ba[++Na]==ba[ha+1]){ha+=2;for(Na++;ba[++ha]==ba[++Na]&&ba[++ha]==ba[++Na]&&ba[++ha]==ba[++Na]&&ba[++ha]==ba[++Na]&&ba[++ha]==ba[++Na]&&ba[++ha]==ba[++Na]&&ba[++ha]==ba[++Na]&&
ba[++ha]==ba[++Na]&&ha<Oa;);Na=258-(Oa-ha);ha=Oa-258;if(Na>oa){la=Q;oa=Na;if(Na>=xa)break;La=ba[ha+oa-1];Va=ba[ha+oa]}}}while((Q=ka[Q&Ka]&65535)>ta&&0!==--da);return oa<=fa?oa:fa}function J(Q){for(var da=0,ha,oa;;){if(262>fa){A();if(262>fa&&0==Q)return 0;if(0===fa)break}3<=fa&&(aa=(aa<<w^ba[R+2]&255)&Ga,da=sa[aa]&65535,ka[R&ja]=sa[aa],sa[aa]=R);ya=F;S=la;F=2;0!==da&&ya<Qa&&(R-da&65535)<=ca-262&&(2!=Ra&&(F=G(da)),5>=F&&(1==Ra||3==F&&4096<R-la)&&(F=2));if(3<=ya&&F<=ya){oa=R+fa-3;ha=K(R-1-S,ya-3);fa-=
ya-1;ya-=2;do++R<=oa&&(aa=(aa<<w^ba[R+2]&255)&Ga,da=sa[aa]&65535,ka[R&ja]=sa[aa],sa[aa]=R);while(0!==--ya);V=0;F=2;R++;if(ha&&(N(!1),0===M.avail_out))return 0}else if(0!==V){if((ha=K(0,ba[R-1]&255))&&N(!1),R++,fa--,0===M.avail_out)return 0}else V=1,R++,fa--}0!==V&&(ha=K(0,ba[R-1]&255),V=0);N(4==Q);return 0===M.avail_out?4==Q?2:0:4==Q?3:1}var L=this,M,ia,P,qa,ca,ra,ja,ba,Da,ka,sa,aa,Fa,W,Ga,w,E,F,S,V,R,la,fa,ya,Ea,Qa,Ha,Ra,na,Sa,Ia=new q,z=new q,H=new q;L.depth=[];var T,ea,Z,ma,wa,ua,Ca,Ba;L.bl_count=
[];L.heap=[];var Ma=[];var Pa=[];var Ja=[];L.pqdownheap=function(Q,da){for(var ha=L.heap,oa=ha[da],ta=da<<1;ta<=L.heap_len;){ta<L.heap_len&&c(Q,ha[ta+1],ha[ta],L.depth)&&ta++;if(c(Q,oa,ha[ta],L.depth))break;ha[da]=ha[ta];da=ta;ta<<=1}ha[da]=oa};L.deflateInit=function(Q,da,ha,oa,ta,xa){oa||(oa=8);ta||(ta=8);xa||(xa=0);Q.msg=null;-1==da&&(da=6);if(1>ta||9<ta||8!=oa||9>ha||15<ha||0>da||9<da||0>xa||2<xa)return-2;Q.dstate=L;ra=ha;ca=1<<ra;ja=ca-1;W=ta+7;Fa=1<<W;Ga=Fa-1;w=Math.floor((W+3-1)/3);ba=new Uint8Array(2*
ca);ka=[];sa=[];ea=1<<ta+6;L.pending_buf=new Uint8Array(4*ea);P=4*ea;ma=Math.floor(ea/2);T=3*ea;Ha=da;Ra=xa;Q.total_in=Q.total_out=0;Q.msg=null;L.pending=0;L.pending_out=0;ia=113;qa=0;Ia.dyn_tree=Ma;Ia.stat_desc=p.static_l_desc;z.dyn_tree=Pa;z.stat_desc=p.static_d_desc;H.dyn_tree=Ja;H.stat_desc=p.static_bl_desc;Ba=Ca=0;ua=8;a();Da=2*ca;for(Q=sa[Fa-1]=0;Q<Fa-1;Q++)sa[Q]=0;Qa=k[Ha].max_lazy;na=k[Ha].good_length;Sa=k[Ha].nice_length;Ea=k[Ha].max_chain;fa=E=R=0;F=ya=2;return aa=V=0};L.deflateEnd=function(){if(42!=
ia&&113!=ia&&666!=ia)return-2;ba=ka=sa=L.pending_buf=null;L.dstate=null;return 113==ia?-3:0};L.deflateParams=function(Q,da,ha){var oa=0;-1==da&&(da=6);if(0>da||9<da||0>ha||2<ha)return-2;k[Ha].func!=k[da].func&&0!==Q.total_in&&(oa=Q.deflate(1));Ha!=da&&(Ha=da,Qa=k[Ha].max_lazy,na=k[Ha].good_length,Sa=k[Ha].nice_length,Ea=k[Ha].max_chain);Ra=ha;return oa};L.deflateSetDictionary=function(Q,da,ha){Q=ha;var oa=0;if(!da||42!=ia)return-2;if(3>Q)return 0;Q>ca-262&&(Q=ca-262,oa=ha-Q);ba.set(da.subarray(oa,
oa+Q),0);E=R=Q;aa=ba[0]&255;aa=(aa<<w^ba[1]&255)&Ga;for(da=0;da<=Q-3;da++)aa=(aa<<w^ba[da+2]&255)&Ga,ka[da&ja]=sa[aa],sa[aa]=da;return 0};L.deflate=function(Q,da){if(4<da||0>da)return-2;if(!Q.next_out||!Q.next_in&&0!==Q.avail_in||666==ia&&4!=da)return Q.msg=l[4],-2;if(0===Q.avail_out)return Q.msg=l[7],-5;M=Q;var ha=qa;qa=da;if(42==ia){var oa=8+(ra-8<<4)<<8;var ta=(Ha-1&255)>>1;3<ta&&(ta=3);oa|=ta<<6;0!==R&&(oa|=32);ia=113;oa+=31-oa%31;t(oa>>8&255);t(oa&255)}if(0!==L.pending){if(M.flush_pending(),
0===M.avail_out)return qa=-1,0}else if(0===M.avail_in&&da<=ha&&4!=da)return M.msg=l[7],-5;if(666==ia&&0!==M.avail_in)return Q.msg=l[7],-5;if(0!==M.avail_in||0!==fa||0!=da&&666!=ia){Q=-1;switch(k[Ha].func){case 0:Q=y(da);break;case 1:a:{for(Q=0;;){if(262>fa){A();if(262>fa&&0==da){Q=0;break a}if(0===fa)break}3<=fa&&(aa=(aa<<w^ba[R+2]&255)&Ga,Q=sa[aa]&65535,ka[R&ja]=sa[aa],sa[aa]=R);0!==Q&&(R-Q&65535)<=ca-262&&2!=Ra&&(F=G(Q));if(3<=F)if(ha=K(R-la,F-3),fa-=F,F<=Qa&&3<=fa){F--;do R++,aa=(aa<<w^ba[R+2]&
255)&Ga,Q=sa[aa]&65535,ka[R&ja]=sa[aa],sa[aa]=R;while(0!==--F);R++}else R+=F,F=0,aa=ba[R]&255,aa=(aa<<w^ba[R+1]&255)&Ga;else ha=K(0,ba[R]&255),fa--,R++;if(ha&&(N(!1),0===M.avail_out)){Q=0;break a}}N(4==da);Q=0===M.avail_out?4==da?2:0:4==da?3:1}break;case 2:Q=J(da)}if(2==Q||3==Q)ia=666;if(0==Q||2==Q)return 0===M.avail_out&&(qa=-1),0;if(1==Q){if(1==da)x(2,3),v(256,p.static_ltree),D(),9>1+ua+10-Ba&&(x(2,3),v(256,p.static_ltree),D()),ua=7;else if(x(0,3),O(0,0,!0),3==da)for(Q=0;Q<Fa;Q++)sa[Q]=0;M.flush_pending();
if(0===M.avail_out)return qa=-1,0}}return 4!=da?0:1}}function d(){this.total_out=this.avail_out=this.total_in=this.avail_in=this.next_out_index=this.next_in_index=0}var e=[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];q._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];q.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];q.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];q.d_code=function(a){return 256>a?e[a]:e[256+(a>>>7)]};q.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];q.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];q.extra_blbits=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7];q.bl_order=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];p.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];p.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];p.static_l_desc=new p(p.static_ltree,q.extra_lbits,257,286,15);p.static_d_desc=new p(p.static_dtree,q.extra_dbits,0,30,15);p.static_bl_desc=new p(null,q.extra_blbits,0,19,7);var k=[new f(0,0,0,0,0),new f(4,4,8,4,1),new f(4,5,16,8,
1),new f(4,6,32,32,1),new f(4,4,16,16,2),new f(8,16,32,32,2),new f(8,16,128,128,2),new f(8,32,128,256,2),new f(32,128,258,1024,2),new f(32,258,258,4096,2)],l="need dictionary;stream end;;;stream error;data error;;buffer error;;".split(";");d.prototype={deflateInit:function(a,h){this.dstate=new m;h||(h=15);return this.dstate.deflateInit(this,a,h)},deflate:function(a){return this.dstate?this.dstate.deflate(this,a):-2},deflateEnd:function(){if(!this.dstate)return-2;var a=this.dstate.deflateEnd();this.dstate=
null;return a},deflateParams:function(a,h){return this.dstate?this.dstate.deflateParams(this,a,h):-2},deflateSetDictionary:function(a,h){return this.dstate?this.dstate.deflateSetDictionary(this,a,h):-2},read_buf:function(a,h,t){var n=this.avail_in;n>t&&(n=t);if(0===n)return 0;this.avail_in-=n;a.set(this.next_in.subarray(this.next_in_index,this.next_in_index+n),h);this.next_in_index+=n;this.total_in+=n;return n},flush_pending:function(){var a=this.dstate.pending;a>this.avail_out&&(a=this.avail_out);
0!==a&&(this.next_out.set(this.dstate.pending_buf.subarray(this.dstate.pending_out,this.dstate.pending_out+a),this.next_out_index),this.next_out_index+=a,this.dstate.pending_out+=a,this.total_out+=a,this.avail_out-=a,this.dstate.pending-=a,0===this.dstate.pending&&(this.dstate.pending_out=0))}};return function(a){var h=new d,t=new Uint8Array(512);"undefined"==typeof a&&(a=-1);h.deflateInit(a);h.next_out=t;this.append=function(n,x){var v=[],B=0,D=0,K=0;if(n.length){h.next_in_index=0;h.next_in=n;h.avail_in=
n.length;do{h.next_out_index=0;h.avail_out=512;n=h.deflate(0);if(0!=n)throw"deflating: "+h.msg;h.next_out_index&&(512==h.next_out_index?v.push(new Uint8Array(t)):v.push(new Uint8Array(t.subarray(0,h.next_out_index))));K+=h.next_out_index;x&&0<h.next_in_index&&h.next_in_index!=B&&(x(h.next_in_index),B=h.next_in_index)}while(0<h.avail_in||0===h.avail_out);var U=new Uint8Array(K);v.forEach(function(Y){U.set(Y,D);D+=Y.length});return U}};this.flush=function(){var n=[],x=0,v=0;do{h.next_out_index=0;h.avail_out=
512;var B=h.deflate(4);if(1!=B&&0!=B)throw"deflating: "+h.msg;0<512-h.avail_out&&n.push(new Uint8Array(t.subarray(0,h.next_out_index)));v+=h.next_out_index}while(0<h.avail_in||0===h.avail_out);h.deflateEnd();var D=new Uint8Array(v);n.forEach(function(K){D.set(K,x);x+=K.length});return D}}}(void 0);I.API.html2canvas=function(){return function c(q,p,f){function m(k,l){if(!p[k]){if(!q[k]){var a="function"==typeof require&&require;if(!l&&a)return a(k,!0);if(d)return d(k,!0);l=Error("Cannot find module '"+
k+"'");throw l.code="MODULE_NOT_FOUND",l;}l=p[k]={exports:{}};q[k][0].call(l.exports,function(h){var t=q[k][1][h];return m(t?t:h)},l,l.exports,c,q,p,f)}return p[k].exports}for(var d="function"==typeof require&&require,e=0;e<f.length;e++)m(f[e]);return m}({1:[function(q,p,f){(function(c){(function(m){function d(G){throw RangeError(O[G]);}function e(G,J){for(var L=G.length;L--;)G[L]=J(G[L]);return G}function k(G,J){return e(G.split(Y),J).join(".")}function l(G){for(var J=[],L=0,M=G.length,ia,P;L<M;)ia=
G.charCodeAt(L++),55296<=ia&&56319>=ia&&L<M?(P=G.charCodeAt(L++),56320==(P&64512)?J.push(((ia&1023)<<10)+(P&1023)+65536):(J.push(ia),L--)):J.push(ia);return J}function a(G){return e(G,function(J){var L="";65535<J&&(J-=65536,L+=A(J>>>10&1023|55296),J=56320|J&1023);return L+=A(J)}).join("")}function h(G,J){return G+22+75*(26>G)-((0!=J)<<5)}function t(G,J,L){var M=0;G=L?N(G/700):G>>1;for(G+=N(G/J);455<G;M+=36)G=N(G/35);return N(M+36*G/(G+38))}function n(G){var J=[],L=G.length,M=0,ia=128,P=72,qa,ca;var ra=
G.lastIndexOf("-");0>ra&&(ra=0);for(qa=0;qa<ra;++qa)128<=G.charCodeAt(qa)&&d("not-basic"),J.push(G.charCodeAt(qa));for(ra=0<ra?ra+1:0;ra<L;){qa=M;var ja=1;for(ca=36;;ca+=36){ra>=L&&d("invalid-input");var ba=G.charCodeAt(ra++);ba=10>ba-48?ba-22:26>ba-65?ba-65:26>ba-97?ba-97:36;(36<=ba||ba>N((2147483647-M)/ja))&&d("overflow");M+=ba*ja;var Da=ca<=P?1:ca>=P+26?26:ca-P;if(ba<Da)break;ba=36-Da;ja>N(2147483647/ba)&&d("overflow");ja*=ba}ja=J.length+1;P=t(M-qa,ja,0==qa);N(M/ja)>2147483647-ia&&d("overflow");
ia+=N(M/ja);M%=ja;J.splice(M++,0,ia)}return a(J)}function x(G){var J,L,M,ia=[];G=l(G);var P=G.length;var qa=128;var ca=0;var ra=72;for(M=0;M<P;++M){var ja=G[M];128>ja&&ia.push(A(ja))}for((J=L=ia.length)&&ia.push("-");J<P;){var ba=2147483647;for(M=0;M<P;++M)ja=G[M],ja>=qa&&ja<ba&&(ba=ja);var Da=J+1;ba-qa>N((2147483647-ca)/Da)&&d("overflow");ca+=(ba-qa)*Da;qa=ba;for(M=0;M<P;++M)if(ja=G[M],ja<qa&&2147483647<++ca&&d("overflow"),ja==qa){var ka=ca;for(ba=36;;ba+=36){ja=ba<=ra?1:ba>=ra+26?26:ba-ra;if(ka<
ja)break;var sa=ka-ja;ka=36-ja;ia.push(A(h(ja+sa%ka,0)));ka=N(sa/ka)}ia.push(A(h(ka,0)));ra=t(ca,Da,J==L);ca=0;++J}++ca;++qa}return ia.join("")}var v="object"==typeof f&&f,B="object"==typeof p&&p&&p.exports==v&&p,D="object"==typeof c&&c;if(D.global===D||D.window===D)m=D;var K=/^xn--/,U=/[^ -~]/,Y=/\x2E|\u3002|\uFF0E|\uFF61/g,O={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input \x3e\x3d 0x80 (not a basic code point)","invalid-input":"Invalid input"},N=Math.floor,
A=String.fromCharCode,y;D={version:"1.2.4",ucs2:{decode:l,encode:a},decode:n,encode:x,toASCII:function(G){return k(G,function(J){return U.test(J)?"xn--"+x(J):J})},toUnicode:function(G){return k(G,function(J){return K.test(J)?n(J.slice(4).toLowerCase()):J})}};if(v&&!v.nodeType)if(B)B.exports=D;else for(y in D)D.hasOwnProperty(y)&&(v[y]=D[y]);else m.punycode=D})(this)}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{}],2:[function(q,
p,f){function c(e,k){for(var l=3===e.nodeType?document.createTextNode(e.nodeValue):e.cloneNode(!1),a=e.firstChild;a;)!0!==k&&1===a.nodeType&&"SCRIPT"===a.nodeName||l.appendChild(c(a,k)),a=a.nextSibling;if(1===e.nodeType)if(l._scrollTop=e.scrollTop,l._scrollLeft=e.scrollLeft,"CANVAS"===e.nodeName)try{l&&(l.width=e.width,l.height=e.height,l.getContext("2d").putImageData(e.getContext("2d").getImageData(0,0,e.width,e.height),0,0))}catch(h){d("Unable to copy canvas content from",e,h)}else if("TEXTAREA"===
e.nodeName||"SELECT"===e.nodeName)l.value=e.value;return l}function m(e){if(1===e.nodeType)for(e.scrollTop=e._scrollTop,e.scrollLeft=e._scrollLeft,e=e.firstChild;e;)m(e),e=e.nextSibling}var d=q("./log");p.exports=function(e,k,l,a,h,t,n){var x=c(e.documentElement,h.javascriptEnabled),v=k.createElement("iframe");v.className="html2canvas-container";v.style.visibility="hidden";v.style.position="fixed";v.style.left="-10000px";v.style.top="0px";v.style.border="0";v.width=l;v.height=a;v.scrolling="no";k.body.appendChild(v);
return new Promise(function(B){var D=v.contentWindow.document;v.contentWindow.onload=v.onload=function(){var K=setInterval(function(){0<D.body.childNodes.length&&(m(D.documentElement),clearInterval(K),"view"===h.type&&(v.contentWindow.scrollTo(t,n),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||v.contentWindow.scrollY===n&&v.contentWindow.scrollX===t||(D.documentElement.style.top=-n+"px",D.documentElement.style.left=-t+"px",D.documentElement.style.position="absolute")),B(v))},50)};D.open();D.write("\x3c!DOCTYPE html\x3e\x3chtml\x3e\x3c/html\x3e");
!e.defaultView||t===e.defaultView.pageXOffset&&n===e.defaultView.pageYOffset||e.defaultView.scrollTo(t,n);D.replaceChild(D.adoptNode(x),D.documentElement);D.close()})}},{"./log":13}],3:[function(q,p,f){function c(a){this.b=this.g=this.r=0;this.a=null;this.fromArray(a)||this.namedColor(a)||this.rgb(a)||this.rgba(a)||this.hex6(a)||this.hex3(a)}c.prototype.darken=function(a){a=1-a;return new c([Math.round(this.r*a),Math.round(this.g*a),Math.round(this.b*a),this.a])};c.prototype.isTransparent=function(){return 0===
this.a};c.prototype.isBlack=function(){return 0===this.r&&0===this.g&&0===this.b};c.prototype.fromArray=function(a){Array.isArray(a)&&(this.r=Math.min(a[0],255),this.g=Math.min(a[1],255),this.b=Math.min(a[2],255),3<a.length&&(this.a=a[3]));return Array.isArray(a)};var m=/^#([a-f0-9]{3})$/i;c.prototype.hex3=function(a){var h=null;null!==(h=a.match(m))&&(this.r=parseInt(h[1][0]+h[1][0],16),this.g=parseInt(h[1][1]+h[1][1],16),this.b=parseInt(h[1][2]+h[1][2],16));return null!==h};var d=/^#([a-f0-9]{6})$/i;
c.prototype.hex6=function(a){var h=null;null!==(h=a.match(d))&&(this.r=parseInt(h[1].substring(0,2),16),this.g=parseInt(h[1].substring(2,4),16),this.b=parseInt(h[1].substring(4,6),16));return null!==h};var e=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/;c.prototype.rgb=function(a){var h=null;null!==(h=a.match(e))&&(this.r=Number(h[1]),this.g=Number(h[2]),this.b=Number(h[3]));return null!==h};var k=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d?\.?\d+)\s*\)$/;c.prototype.rgba=
function(a){var h=null;null!==(h=a.match(k))&&(this.r=Number(h[1]),this.g=Number(h[2]),this.b=Number(h[3]),this.a=Number(h[4]));return null!==h};c.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()+")"};c.prototype.namedColor=function(a){a=a.toLowerCase();var h=l[a];if(h)this.r=h[0],this.g=h[1],this.b=h[2];else if("transparent"===a)return this.r=this.g=this.b=this.a=0,!0;return!!h};c.prototype.isColor=
!0;var l={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]};p.exports=c},{}],4:[function(q,p,f){function c(O,N){var A=Y++;N=N||{};N.logging&&(v.options.logging=!0,v.options.start=Date.now());N.async=
"undefined"===typeof N.async?!0:N.async;N.allowTaint="undefined"===typeof N.allowTaint?!1:N.allowTaint;N.removeContainer="undefined"===typeof N.removeContainer?!0:N.removeContainer;N.javascriptEnabled="undefined"===typeof N.javascriptEnabled?!1:N.javascriptEnabled;N.imageTimeout="undefined"===typeof N.imageTimeout?1E4:N.imageTimeout;N.renderer="function"===typeof N.renderer?N.renderer:t;N.strict=!!N.strict;if("string"===typeof O){if("string"!==typeof N.proxy)return Promise.reject("Proxy must be used when rendering url");
var y=null!=N.width?N.width:window.innerWidth,G=null!=N.height?N.height:window.innerHeight;return K(a(O),N.proxy,document,y,G,N).then(function(J){return d(J.contentWindow.document.documentElement,J,N,y,G)})}O=(void 0===O?[document.documentElement]:O.length?O:[O])[0];O.setAttribute("data-html2canvas-node"+A,A);return m(O.ownerDocument,N,O.ownerDocument.defaultView.innerWidth,O.ownerDocument.defaultView.innerHeight,A).then(function(J){"function"===typeof N.onrendered&&(v("options.onrendered is deprecated, html2canvas returns a Promise containing the canvas"),
N.onrendered(J));return J})}function m(O,N,A,y,G){return D(O,O,A,y,N,O.defaultView.pageXOffset,O.defaultView.pageYOffset).then(function(J){v("Document cloned");var L="data-html2canvas-node"+G,M="["+L+"\x3d'"+G+"']";O.querySelector(M).removeAttribute(L);L=J.contentWindow;var ia=L.document.querySelector(M);return("function"===typeof N.onclone?Promise.resolve(N.onclone(L.document)):Promise.resolve(!0)).then(function(){return d(ia,J,N,A,y)})})}function d(O,N,A,y,G){var J=N.contentWindow,L=new h(J.document),
M=new n(A,L),ia=U(O);y="view"===A.type?y:k(J.document);G="view"===A.type?G:l(J.document);var P=new A.renderer(y,G,M,A,document);return(new x(O,P,L,M,A)).ready.then(function(){v("Finished rendering");var qa="view"===A.type?e(P.canvas,{width:P.canvas.width,height:P.canvas.height,top:0,left:0,x:0,y:0}):O===J.document.body||O===J.document.documentElement||null!=A.canvas?P.canvas:e(P.canvas,{width:null!=A.width?A.width:ia.width,height:null!=A.height?A.height:ia.height,top:ia.top,left:ia.left,x:0,y:0});
A.removeContainer&&(N.parentNode.removeChild(N),v("Cleaned up container"));return qa})}function e(O,N){var A=document.createElement("canvas"),y=Math.min(O.width-1,Math.max(0,N.left)),G=Math.min(O.width,Math.max(1,N.left+N.width)),J=Math.min(O.height-1,Math.max(0,N.top)),L=Math.min(O.height,Math.max(1,N.top+N.height));A.width=N.width;A.height=N.height;G-=y;L-=J;v("Cropping canvas at:","left:",N.left,"top:",N.top,"width:",G,"height:",L);v("Resulting crop with width",N.width,"and height",N.height,"with x",
y,"and y",J);A.getContext("2d").drawImage(O,y,J,G,L,N.x,N.y,G,L);return A}function k(O){return Math.max(Math.max(O.body.scrollWidth,O.documentElement.scrollWidth),Math.max(O.body.offsetWidth,O.documentElement.offsetWidth),Math.max(O.body.clientWidth,O.documentElement.clientWidth))}function l(O){return Math.max(Math.max(O.body.scrollHeight,O.documentElement.scrollHeight),Math.max(O.body.offsetHeight,O.documentElement.offsetHeight),Math.max(O.body.clientHeight,O.documentElement.clientHeight))}function a(O){var N=
document.createElement("a");N.href=O;N.href=N.href;return N}var h=q("./support"),t=q("./renderers/canvas"),n=q("./imageloader"),x=q("./nodeparser");f=q("./nodecontainer");var v=q("./log"),B=q("./utils"),D=q("./clone"),K=q("./proxy").loadUrlDocument,U=B.getBounds,Y=0;c.CanvasRenderer=t;c.NodeContainer=f;c.log=v;c.utils=B;q="undefined"===typeof document||"function"!==typeof Object.create||"function"!==typeof document.createElement("canvas").getContext?function(){return Promise.reject("No canvas support")}:
c;p.exports=q},{"./clone":2,"./imageloader":11,"./log":13,"./nodecontainer":14,"./nodeparser":15,"./proxy":16,"./renderers/canvas":20,"./support":22,"./utils":26}],5:[function(q,p,f){function c(e){this.src=e;m("DummyImageContainer for",e);if(!this.promise||!this.image){m("Initiating DummyImageContainer");c.prototype.image=new Image;var k=this.image;c.prototype.promise=new Promise(function(l,a){k.onload=l;k.onerror=a;k.src=d();!0===k.complete&&l(k)})}}var m=q("./log"),d=q("./utils").smallImage;p.exports=
c},{"./log":13,"./utils":26}],6:[function(q,p,f){var c=q("./utils").smallImage;p.exports=function(m,d){var e=document.createElement("div"),k=document.createElement("img"),l=document.createElement("span");e.style.visibility="hidden";e.style.fontFamily=m;e.style.fontSize=d;e.style.margin=0;e.style.padding=0;document.body.appendChild(e);k.src=c();k.width=1;k.height=1;k.style.margin=0;k.style.padding=0;k.style.verticalAlign="baseline";l.style.fontFamily=m;l.style.fontSize=d;l.style.margin=0;l.style.padding=
0;l.appendChild(document.createTextNode("Hidden Text"));e.appendChild(l);e.appendChild(k);m=k.offsetTop-l.offsetTop+1;e.removeChild(l);e.appendChild(document.createTextNode("Hidden Text"));e.style.lineHeight="normal";k.style.verticalAlign="super";k=k.offsetTop-e.offsetTop+1;document.body.removeChild(e);this.baseline=m;this.lineWidth=1;this.middle=k}},{"./utils":26}],7:[function(q,p,f){function c(){this.data={}}var m=q("./font");c.prototype.getMetrics=function(d,e){void 0===this.data[d+"-"+e]&&(this.data[d+
"-"+e]=new m(d,e));return this.data[d+"-"+e]};p.exports=c},{"./font":6}],8:[function(q,p,f){function c(e,k,l){this.image=null;this.src=e;var a=this,h=m(e);this.promise=(k?new Promise(function(t){"about:blank"===e.contentWindow.document.URL||null==e.contentWindow.document.documentElement?e.contentWindow.onload=e.onload=function(){t(e)}:t(e)}):this.proxyLoad(l.proxy,h,l)).then(function(t){return q("./core")(t.contentWindow.document.documentElement,{type:"view",width:t.width,height:t.height,proxy:l.proxy,
javascriptEnabled:l.javascriptEnabled,removeContainer:l.removeContainer,allowTaint:l.allowTaint,imageTimeout:l.imageTimeout/2})}).then(function(t){return a.image=t})}var m=q("./utils").getBounds,d=q("./proxy").loadUrlDocument;c.prototype.proxyLoad=function(e,k,l){var a=this.src;return d(a.src,e,a.ownerDocument,k.width,k.height,l)};p.exports=c},{"./core":4,"./proxy":16,"./utils":26}],9:[function(q,p,f){function c(m){this.src=m.value;this.colorStops=[];this.type=null;this.y1=this.x1=this.y0=this.x0=
.5;this.promise=Promise.resolve(!0)}c.TYPES={LINEAR:1,RADIAL:2};c.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;p.exports=c},{}],10:[function(q,p,f){p.exports=function(c,m){this.src=c;this.image=new Image;var d=this;this.tainted=null;this.promise=new Promise(function(e,k){d.image.onload=e;d.image.onerror=k;m&&(d.image.crossOrigin="anonymous");d.image.src=c;!0===d.image.complete&&e(d.image)})}},
{}],11:[function(q,p,f){function c(v,B){this.link=null;this.options=v;this.support=B;this.origin=this.getOrigin(window.location.href)}var m=q("./log"),d=q("./imagecontainer"),e=q("./dummyimagecontainer"),k=q("./proxyimagecontainer"),l=q("./framecontainer"),a=q("./svgcontainer"),h=q("./svgnodecontainer"),t=q("./lineargradientcontainer"),n=q("./webkitgradientcontainer"),x=q("./utils").bind;c.prototype.findImages=function(v){var B=[];v.reduce(function(D,K){switch(K.node.nodeName){case "IMG":return D.concat([{args:[K.node.src],
method:"url"}]);case "svg":case "IFRAME":return D.concat([{args:[K.node],method:K.node.nodeName}])}return D},[]).forEach(this.addImage(B,this.loadImage),this);return B};c.prototype.findBackgroundImage=function(v,B){B.parseBackgroundImages().filter(this.hasImageBackground).forEach(this.addImage(v,this.loadImage),this);return v};c.prototype.addImage=function(v,B){return function(D){D.args.forEach(function(K){this.imageExists(v,K)||(v.splice(0,0,B.call(this,D)),m("Added image #"+v.length,"string"===
typeof K?K.substring(0,100):K))},this)}};c.prototype.hasImageBackground=function(v){return"none"!==v.method};c.prototype.loadImage=function(v){return"url"===v.method?(v=v.args[0],!this.isSVG(v)||this.support.svg||this.options.allowTaint?v.match(/data:image\/.*;base64,/i)?new d(v.replace(/url\(['"]{0,}|['"]{0,}\)$/ig,""),!1):this.isSameOrigin(v)||!0===this.options.allowTaint||this.isSVG(v)?new d(v,!1):this.support.cors&&!this.options.allowTaint&&this.options.useCORS?new d(v,!0):this.options.proxy?
new k(v,this.options.proxy):new e(v):new a(v)):"linear-gradient"===v.method?new t(v):"gradient"===v.method?new n(v):"svg"===v.method?new h(v.args[0],this.support.svg):"IFRAME"===v.method?new l(v.args[0],this.isSameOrigin(v.args[0].src),this.options):new e(v)};c.prototype.isSVG=function(v){return"svg"===v.substring(v.length-3).toLowerCase()||a.prototype.isInline(v)};c.prototype.imageExists=function(v,B){return v.some(function(D){return D.src===B})};c.prototype.isSameOrigin=function(v){return this.getOrigin(v)===
this.origin};c.prototype.getOrigin=function(v){var B=this.link||(this.link=document.createElement("a"));B.href=v;B.href=B.href;return B.protocol+B.hostname+B.port};c.prototype.getPromise=function(v){return this.timeout(v,this.options.imageTimeout)["catch"](function(){return(new e(v.src)).promise.then(function(B){v.image=B})})};c.prototype.get=function(v){var B=null;return this.images.some(function(D){return(B=D).src===v})?B:null};c.prototype.fetch=function(v){this.images=v.reduce(x(this.findBackgroundImage,
this),this.findImages(v));this.images.forEach(function(B,D){B.promise.then(function(){m("Succesfully loaded image #"+(D+1),B)},function(K){m("Failed loading image #"+(D+1),B,K)})});this.ready=Promise.all(this.images.map(this.getPromise,this));m("Finished searching images");return this};c.prototype.timeout=function(v,B){var D,K=Promise.race([v.promise,new Promise(function(U,Y){D=setTimeout(function(){m("Timed out loading image",v);Y(v)},B)})]).then(function(U){clearTimeout(D);return U});K["catch"](function(){clearTimeout(D)});
return K};p.exports=c},{"./dummyimagecontainer":5,"./framecontainer":8,"./imagecontainer":10,"./lineargradientcontainer":12,"./log":13,"./proxyimagecontainer":17,"./svgcontainer":23,"./svgnodecontainer":24,"./utils":26,"./webkitgradientcontainer":27}],12:[function(q,p,f){function c(e){m.apply(this,arguments);this.type=m.TYPES.LINEAR;var k=c.REGEXP_DIRECTION.test(e.args[0])||!m.REGEXP_COLORSTOP.test(e.args[0]);k?e.args[0].split(/\s+/).reverse().forEach(function(l,a){switch(l){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":a=this.y0;l=this.x0;this.y0=this.y1;this.x0=this.x1;this.x1=l;this.y1=a;break;case "center":break;default:l=.01*parseFloat(l,10),isNaN(l)||(0===a?(this.y0=l,this.y1=1-this.y0):(this.x0=l,this.x1=1-this.x0))}},this):(this.y0=0,this.y1=1);this.colorStops=e.args.slice(k?1:0).map(function(l){l=l.match(m.REGEXP_COLORSTOP);var a=+l[2],h=0===a?"%":l[3];return{color:new d(l[1]),
stop:"%"===h?a/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(l,a){null===l.stop&&this.colorStops.slice(a).some(function(h,t){return null!==h.stop?(l.stop=(h.stop-this.colorStops[a-1].stop)/(t+1)+this.colorStops[a-1].stop,!0):!1},this)},this)}var m=q("./gradientcontainer"),d=q("./color");c.prototype=Object.create(m.prototype);c.REGEXP_DIRECTION=
/^\s*(?:to|left|right|top|bottom|center|\d{1,3}(?:\.\d+)?%?)(?:\s|$)/i;p.exports=c},{"./color":3,"./gradientcontainer":9}],13:[function(q,p,f){var c=function(){c.options.logging&&window.console&&window.console.log&&Function.prototype.bind.call(window.console.log,window.console).apply(window.console,[Date.now()-c.options.start+"ms","html2canvas:"].concat([].slice.call(arguments,0)))};c.options={logging:!1};p.exports=c},{}],14:[function(q,p,f){function c(n,x){this.node=n;this.parent=x;this.borders=
this.bounds=this.stack=null;this.clip=[];this.backgroundClip=[];this.computedStyles=this.visible=this.offsetBounds=null;this.colors={};this.styles={};this.transformMatrix=this.transformData=this.backgroundImages=null;this.isPseudoElement=!1;this.opacity=null}function m(n){if(n&&"matrix"===n[1])return n[2].split(",").map(function(x){return parseFloat(x.trim())});if(n&&"matrix3d"===n[1])return n=n[2].split(",").map(function(x){return parseFloat(x.trim())}),[n[0],n[1],n[4],n[5],n[12],n[13]]}function d(n){return-1!==
n.toString().indexOf("%")}function e(n){return n.replace("px","")}function k(n){return parseFloat(n)}var l=q("./color");q=q("./utils");var a=q.getBounds,h=q.parseBackgrounds,t=q.offsetBounds;c.prototype.cloneTo=function(n){n.visible=this.visible;n.borders=this.borders;n.bounds=this.bounds;n.clip=this.clip;n.backgroundClip=this.backgroundClip;n.computedStyles=this.computedStyles;n.styles=this.styles;n.backgroundImages=this.backgroundImages;n.opacity=this.opacity};c.prototype.getOpacity=function(){return null===
this.opacity?this.opacity=this.cssFloat("opacity"):this.opacity};c.prototype.assignStack=function(n){this.stack=n;n.children.push(this)};c.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"))};c.prototype.css=function(n){this.computedStyles||(this.computedStyles=
this.isPseudoElement?this.parent.computedStyle(this.before?":before":":after"):this.computedStyle(null));return this.styles[n]||(this.styles[n]=this.computedStyles[n])};c.prototype.prefixedCss=function(n){var x=["webkit","moz","ms","o"],v=this.css(n);void 0===v&&x.some(function(B){v=this.css(B+n.substr(0,1).toUpperCase()+n.substr(1));return void 0!==v},this);return void 0===v?null:v};c.prototype.computedStyle=function(n){return this.node.ownerDocument.defaultView.getComputedStyle(this.node,n)};c.prototype.cssInt=
function(n){n=parseInt(this.css(n),10);return isNaN(n)?0:n};c.prototype.color=function(n){return this.colors[n]||(this.colors[n]=new l(this.css(n)))};c.prototype.cssFloat=function(n){n=parseFloat(this.css(n));return isNaN(n)?0:n};c.prototype.fontWeight=function(){var n=this.css("fontWeight");switch(parseInt(n,10)){case 401:n="bold";break;case 400:n="normal"}return n};c.prototype.parseClip=function(){var n=this.css("clip").match(this.CLIP);return n?{top:parseInt(n[1],10),right:parseInt(n[2],10),bottom:parseInt(n[3],
10),left:parseInt(n[4],10)}:null};c.prototype.parseBackgroundImages=function(){return this.backgroundImages||(this.backgroundImages=h(this.css("backgroundImage")))};c.prototype.cssList=function(n,x){n=(this.css(n)||"").split(",");n=n[x||0]||n[0]||"auto";n=n.trim().split(" ");1===n.length&&(n=[n[0],d(n[0])?"auto":n[0]]);return n};c.prototype.parseBackgroundSize=function(n,x,v){v=this.cssList("backgroundSize",v);if(d(v[0]))var B=n.width*parseFloat(v[0])/100;else{if(/contain|cover/.test(v[0]))return x=
x.width/x.height,n.width/n.height<x^"contain"===v[0]?{width:n.height*x,height:n.height}:{width:n.width,height:n.width/x};B=parseInt(v[0],10)}n="auto"===v[0]&&"auto"===v[1]?x.height:"auto"===v[1]?B/x.width*x.height:d(v[1])?n.height*parseFloat(v[1])/100:parseInt(v[1],10);"auto"===v[0]&&(B=n/x.height*x.width);return{width:B,height:n}};c.prototype.parseBackgroundPosition=function(n,x,v,B){v=this.cssList("backgroundPosition",v);var D=d(v[0])?(n.width-(B||x).width)*(parseFloat(v[0])/100):parseInt(v[0],
10);n="auto"===v[1]?D/x.width*x.height:d(v[1])?(n.height-(B||x).height)*parseFloat(v[1])/100:parseInt(v[1],10);"auto"===v[0]&&(D=n/x.height*x.width);return{left:D,top:n}};c.prototype.parseBackgroundRepeat=function(n){return this.cssList("backgroundRepeat",n)[0]};c.prototype.parseTextShadows=function(){var n=this.css("textShadow"),x=[];if(n&&"none"!==n){n=n.match(this.TEXT_SHADOW_PROPERTY);for(var v=0;n&&v<n.length;v++){var B=n[v].match(this.TEXT_SHADOW_VALUES);x.push({color:new l(B[0]),offsetX:B[1]?
parseFloat(B[1].replace("px","")):0,offsetY:B[2]?parseFloat(B[2].replace("px","")):0,blur:B[3]?B[3].replace("px",""):0})}}return x};c.prototype.parseTransform=function(){if(!this.transformData)if(this.hasTransform()){var n=this.parseBounds(),x=this.prefixedCss("transformOrigin").split(" ").map(e).map(k);x[0]+=n.left;x[1]+=n.top;this.transformData={origin:x,matrix:this.parseTransformMatrix()}}else this.transformData={origin:[0,0],matrix:[1,0,0,1,0,0]};return this.transformData};c.prototype.parseTransformMatrix=
function(){if(!this.transformMatrix){var n=this.prefixedCss("transform");this.transformMatrix=(n=n?m(n.match(this.MATRIX_PROPERTY)):null)?n:[1,0,0,1,0,0]}return this.transformMatrix};c.prototype.parseBounds=function(){return this.bounds||(this.bounds=this.hasTransform()?t(this.node):a(this.node))};c.prototype.hasTransform=function(){return"1,0,0,1,0,0"!==this.parseTransformMatrix().join(",")||this.parent&&this.parent.hasTransform()};c.prototype.getValue=function(){var n=this.node.value||"";"SELECT"===
this.node.tagName?(n=this.node,n=(n=n.options[n.selectedIndex||0])?n.text||"":""):"password"===this.node.type&&(n=Array(n.length+1).join("\u2022"));return 0===n.length?this.node.placeholder||"":n};c.prototype.MATRIX_PROPERTY=/(matrix|matrix3d)\((.+)\)/;c.prototype.TEXT_SHADOW_PROPERTY=/((rgba|rgb)\([^\)]+\)(\s-?\d+px){0,})/g;c.prototype.TEXT_SHADOW_VALUES=/(-?\d+px)|(#.+)|(rgb\(.+\))|(rgba\(.+\))/g;c.prototype.CLIP=/^rect\((\d+)px,? (\d+)px,? (\d+)px,? (\d+)px\)$/;p.exports=c},{"./color":3,"./utils":26}],
15:[function(q,p,f){function c(w,E,F,S,V){P("Starting NodeParser");this.renderer=E;this.options=V;this.range=null;this.support=F;this.renderQueue=[];this.stack=new ka(!0,1,w.ownerDocument,null);F=new ca(w,null);V.background&&E.rectangle(0,0,E.width,E.height,new Da(V.background));if(w===w.ownerDocument.documentElement){var R=new ca(F.color("backgroundColor").isTransparent()?w.ownerDocument.body:w.ownerDocument.documentElement,null);E.rectangle(0,0,E.width,E.height,R.color("backgroundColor"))}F.visibile=
F.isElementVisible();this.createPseudoHideStyles(w.ownerDocument);this.disableAnimations(w.ownerDocument);this.nodes=[].concat.apply([],[F].concat(this.getChildren(F)).filter(function(la){return la.visible=la.isElementVisible()}).map(this.getPseudoElements,this));this.fontMetrics=new ba;P("Fetched nodes, total:",this.nodes.length);P("Calculate overflow clips");this.calculateOverflowClips();P("Start fetching images");this.images=S.fetch(this.nodes.filter(A));this.ready=this.images.ready.then(sa(function(){P("Images loaded, starting parsing");
P("Creating stacking contexts");this.createStackingContexts();P("Sorting stacking contexts");this.sortStackingContexts(this.stack);this.parse(this.stack);P("Render queue created with "+this.renderQueue.length+" items");return new Promise(sa(function(la){V.async?"function"===typeof V.async?V.async.call(this,this.renderQueue,la):0<this.renderQueue.length?(this.renderIndex=0,this.asyncRenderer(this.renderQueue,la)):la():(this.renderQueue.forEach(this.paint,this),la())},this))},this))}function m(w){return w.replace(/(\-[a-z])/g,
function(E){return E.toUpperCase().replace("-","")})}function d(){}function e(w,E,F,S){return w.map(function(V,R){if(0<V.width){var la=E.left,fa=E.top,ya=E.width,Ea=E.height-w[2].width;switch(R){case 0:Ea=w[0].width;V.args=h({c1:[la,fa],c2:[la+ya,fa],c3:[la+ya-w[1].width,fa+Ea],c4:[la+w[3].width,fa+Ea]},S[0],S[1],F.topLeftOuter,F.topLeftInner,F.topRightOuter,F.topRightInner);break;case 1:la=E.left+E.width-w[1].width;ya=w[1].width;V.args=h({c1:[la+ya,fa],c2:[la+ya,fa+Ea+w[2].width],c3:[la,fa+Ea],c4:[la,
fa+w[0].width]},S[1],S[2],F.topRightOuter,F.topRightInner,F.bottomRightOuter,F.bottomRightInner);break;case 2:fa=fa+E.height-w[2].width;Ea=w[2].width;V.args=h({c1:[la+ya,fa+Ea],c2:[la,fa+Ea],c3:[la+w[3].width,fa],c4:[la+ya-w[3].width,fa]},S[2],S[3],F.bottomRightOuter,F.bottomRightInner,F.bottomLeftOuter,F.bottomLeftInner);break;case 3:ya=w[3].width,V.args=h({c1:[la,fa+Ea+w[2].width],c2:[la,fa],c3:[la+ya,fa+w[0].width],c4:[la+ya,fa+Ea]},S[3],S[0],F.bottomLeftOuter,F.bottomLeftInner,F.topLeftOuter,
F.topLeftInner)}}return V})}function k(w,E,F,S){var V=(Math.sqrt(2)-1)/3*4,R=F*V;V*=S;F=w+F;S=E+S;return{topLeft:a({x:w,y:S},{x:w,y:S-V},{x:F-R,y:E},{x:F,y:E}),topRight:a({x:w,y:E},{x:w+R,y:E},{x:F,y:S-V},{x:F,y:S}),bottomRight:a({x:F,y:E},{x:F,y:E+V},{x:w+R,y:S},{x:w,y:S}),bottomLeft:a({x:F,y:S},{x:F-R,y:S},{x:w,y:E+V},{x:w,y:E})}}function l(w,E,F){var S=w.left,V=w.top,R=w.width;w=w.height;var la=E[0][0]<R/2?E[0][0]:R/2,fa=E[0][1]<w/2?E[0][1]:w/2,ya=E[1][0]<R/2?E[1][0]:R/2,Ea=E[1][1]<w/2?E[1][1]:
w/2,Qa=E[2][0]<R/2?E[2][0]:R/2,Ha=E[2][1]<w/2?E[2][1]:w/2,Ra=E[3][0]<R/2?E[3][0]:R/2;E=E[3][1]<w/2?E[3][1]:w/2;var na=R-ya,Sa=w-Ha,Ia=R-Qa,z=w-E;return{topLeftOuter:k(S,V,la,fa).topLeft.subdivide(.5),topLeftInner:k(S+F[3].width,V+F[0].width,Math.max(0,la-F[3].width),Math.max(0,fa-F[0].width)).topLeft.subdivide(.5),topRightOuter:k(S+na,V,ya,Ea).topRight.subdivide(.5),topRightInner:k(S+Math.min(na,R+F[3].width),V+F[0].width,na>R+F[3].width?0:ya-F[3].width,Ea-F[0].width).topRight.subdivide(.5),bottomRightOuter:k(S+
Ia,V+Sa,Qa,Ha).bottomRight.subdivide(.5),bottomRightInner:k(S+Math.min(Ia,R-F[3].width),V+Math.min(Sa,w+F[0].width),Math.max(0,Qa-F[1].width),Ha-F[2].width).bottomRight.subdivide(.5),bottomLeftOuter:k(S,V+z,Ra,E).bottomLeft.subdivide(.5),bottomLeftInner:k(S+F[3].width,V+z,Math.max(0,Ra-F[3].width),E-F[2].width).bottomLeft.subdivide(.5)}}function a(w,E,F,S){var V=function(R,la,fa){return{x:R.x+(la.x-R.x)*fa,y:R.y+(la.y-R.y)*fa}};return{start:w,startControl:E,endControl:F,end:S,subdivide:function(R){var la=
V(w,E,R),fa=V(E,F,R),ya=V(F,S,R),Ea=V(la,fa,R);fa=V(fa,ya,R);R=V(Ea,fa,R);return[a(w,la,Ea,R),a(R,fa,ya,S)]},curveTo:function(R){R.push(["bezierCurve",E.x,E.y,F.x,F.y,S.x,S.y])},curveToReversed:function(R){R.push(["bezierCurve",F.x,F.y,E.x,E.y,w.x,w.y])}}}function h(w,E,F,S,V,R,la){var fa=[];0<E[0]||0<E[1]?(fa.push(["line",S[1].start.x,S[1].start.y]),S[1].curveTo(fa)):fa.push(["line",w.c1[0],w.c1[1]]);0<F[0]||0<F[1]?(fa.push(["line",R[0].start.x,R[0].start.y]),R[0].curveTo(fa),fa.push(["line",la[0].end.x,
la[0].end.y]),la[0].curveToReversed(fa)):(fa.push(["line",w.c2[0],w.c2[1]]),fa.push(["line",w.c3[0],w.c3[1]]));0<E[0]||0<E[1]?(fa.push(["line",V[1].end.x,V[1].end.y]),V[1].curveToReversed(fa)):fa.push(["line",w.c4[0],w.c4[1]]);return fa}function t(w,E,F,S,V,R,la){0<E[0]||0<E[1]?(w.push(["line",S[0].start.x,S[0].start.y]),S[0].curveTo(w),S[1].curveTo(w)):w.push(["line",R,la]);(0<F[0]||0<F[1])&&w.push(["line",V[0].start.x,V[0].start.y])}function n(w){return 0>w.cssInt("zIndex")}function x(w){return 0<
w.cssInt("zIndex")}function v(w){return 0===w.cssInt("zIndex")}function B(w){return-1!==["inline","inline-block","inline-table"].indexOf(w.css("display"))}function D(w){return 0<w.node.data.trim().length}function K(w){return["TopLeft","TopRight","BottomRight","BottomLeft"].map(function(E){E=w.css("border"+E+"Radius").split(" ");1>=E.length&&(E[1]=E[0]);return E.map(J)})}function U(w){return w.nodeType===Node.TEXT_NODE||w.nodeType===Node.ELEMENT_NODE}function Y(w){return"static"!==w.css("position")}
function O(w){return"none"!==w.css("float")}function N(w){var E=this;return function(){return!w.apply(E,arguments)}}function A(w){return w.node.nodeType===Node.ELEMENT_NODE}function y(w){return w.node.nodeType===Node.TEXT_NODE}function G(w){return function(E,F){return E.cssInt("zIndex")+w.indexOf(E)/w.length-(F.cssInt("zIndex")+w.indexOf(F)/w.length)}}function J(w){return parseInt(w,10)}function L(w){return w.width}function M(w){return w.node.nodeType!==Node.ELEMENT_NODE||-1==="SCRIPT HEAD TITLE OBJECT BR OPTION".split(" ").indexOf(w.node.nodeName)}
function ia(w){for(var E=[],F=0,S=!1,V;w.length;)-1!==[32,13,10,9,45].indexOf(w[F])===S?(V=w.splice(0,F),V.length&&E.push(qa.ucs2.encode(V)),S=!S,F=0):F++,F>=w.length&&(V=w.splice(0,F),V.length&&E.push(qa.ucs2.encode(V)));return E}var P=q("./log"),qa=q("punycode"),ca=q("./nodecontainer"),ra=q("./textcontainer"),ja=q("./pseudoelementcontainer"),ba=q("./fontmetrics"),Da=q("./color"),ka=q("./stackingcontext");q=q("./utils");var sa=q.bind,aa=q.getBounds,Fa=q.parseBackgrounds,W=q.offsetBounds;c.prototype.calculateOverflowClips=
function(){this.nodes.forEach(function(w){if(A(w)){!0===w.isPseudoElement&&w.appendToDOM();w.borders=this.parseBorders(w);var E="hidden"===w.css("overflow")?[w.borders.clip]:[],F=w.parseClip();F&&-1!==["absolute","fixed"].indexOf(w.css("position"))&&E.push([["rect",w.bounds.left+F.left,w.bounds.top+F.top,F.right-F.left,F.bottom-F.top]]);w.clip=w.parent&&w.parent.clip.length?w.parent.clip.concat(E):E;w.backgroundClip="hidden"!==w.css("overflow")?w.clip.concat([w.borders.clip]):w.clip;!0===w.isPseudoElement&&
w.cleanDOM()}else y(w)&&(w.clip=w.parent&&w.parent.clip.length?w.parent.clip:[]);!0!==w.isPseudoElement&&(w.bounds=null)},this)};c.prototype.asyncRenderer=function(w,E,F){F=F||Date.now();this.paint(w[this.renderIndex++]);w.length===this.renderIndex?E():F+20>Date.now()?this.asyncRenderer(w,E,F):setTimeout(sa(function(){this.asyncRenderer(w,E)},this),0)};c.prototype.createPseudoHideStyles=function(w){this.createStyles(w,"."+ja.prototype.PSEUDO_HIDE_ELEMENT_CLASS_BEFORE+':before { content: "" !important; display: none !important; }.'+
ja.prototype.PSEUDO_HIDE_ELEMENT_CLASS_AFTER+':after { content: "" !important; display: none !important; }')};c.prototype.disableAnimations=function(w){this.createStyles(w,"* { -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;}")};c.prototype.createStyles=function(w,E){var F=w.createElement("style");
F.innerHTML=E;w.body.appendChild(F)};c.prototype.getPseudoElements=function(w){var E=[[w]];if(w.node.nodeType===Node.ELEMENT_NODE){var F=this.getPseudoElement(w,":before");w=this.getPseudoElement(w,":after");F&&E.push(F);w&&E.push(w)}return[].concat.apply([],E)};c.prototype.getPseudoElement=function(w,E){var F=w.computedStyle(E);if(!F||!F.content||"none"===F.content||"-moz-alt-content"===F.content||"none"===F.display)return null;var S=F.content;var V=S.substr(0,1);V=V===S.substr(S.length-1)&&V.match(/'|"/)?
S.substr(1,S.length-2):S;var R="url"===V.substr(0,3);S=document.createElement(R?"img":"html2canvaspseudoelement");w=new ja(S,w,E);for(E=F.length-1;0<=E;E--){var la=m(F.item(E));S.style[la]=F[la]}S.className=ja.prototype.PSEUDO_HIDE_ELEMENT_CLASS_BEFORE+" "+ja.prototype.PSEUDO_HIDE_ELEMENT_CLASS_AFTER;if(R)return S.src=Fa(V)[0].args[0],[w];F=document.createTextNode(V);S.appendChild(F);return[w,new ra(F,w)]};c.prototype.getChildren=function(w){return[].concat.apply([],[].filter.call(w.node.childNodes,
U).map(function(E){var F=[E.nodeType===Node.TEXT_NODE?new ra(E,w):new ca(E,w)].filter(M);return E.nodeType===Node.ELEMENT_NODE&&F.length&&"TEXTAREA"!==E.tagName?F[0].isElementVisible()?F.concat(this.getChildren(F[0])):[]:F},this))};c.prototype.newStackingContext=function(w,E){var F=new ka(E,w.getOpacity(),w.node,w.parent);w.cloneTo(F);(E?F.getParentStack(this):F.parent.stack).contexts.push(F);w.stack=F};c.prototype.createStackingContexts=function(){this.nodes.forEach(function(w){var E;if(E=A(w))(E=
this.isRootElement(w)||1>w.getOpacity())||(E=w.css("position"),E="auto"!==(-1!==["absolute","relative","fixed"].indexOf(E)?w.css("zIndex"):"auto")),E=E||this.isBodyWithTransparentRoot(w)||w.hasTransform();E?this.newStackingContext(w,!0):A(w)&&(Y(w)&&v(w)||-1!==["inline-block","inline-table"].indexOf(w.css("display"))||O(w))?this.newStackingContext(w,!1):w.assignStack(w.parent.stack)},this)};c.prototype.isBodyWithTransparentRoot=function(w){return"BODY"===w.node.nodeName&&w.parent.color("backgroundColor").isTransparent()};
c.prototype.isRootElement=function(w){return null===w.parent};c.prototype.sortStackingContexts=function(w){w.contexts.sort(G(w.contexts.slice(0)));w.contexts.forEach(this.sortStackingContexts,this)};c.prototype.parseTextBounds=function(w){return function(E,F,S){if("none"!==w.parent.css("textDecoration").substr(0,4)||0!==E.trim().length){if(this.support.rangeBounds&&!w.parent.hasTransform())return F=S.slice(0,F).join("").length,this.getRangeBounds(w.node,F,E.length);if(w.node&&"string"===typeof w.node.data)return E=
w.node.splitText(E.length),F=this.getWrapperBounds(w.node,w.parent.hasTransform()),w.node=E,F}else if(!this.support.rangeBounds||w.parent.hasTransform())w.node=w.node.splitText(E.length);return{}}};c.prototype.getWrapperBounds=function(w,E){var F=w.ownerDocument.createElement("html2canvaswrapper"),S=w.parentNode,V=w.cloneNode(!0);F.appendChild(w.cloneNode(!0));S.replaceChild(F,w);w=E?W(F):aa(F);S.replaceChild(V,F);return w};c.prototype.getRangeBounds=function(w,E,F){var S=this.range||(this.range=
w.ownerDocument.createRange());S.setStart(w,E);S.setEnd(w,E+F);return S.getBoundingClientRect()};c.prototype.parse=function(w){var E=w.contexts.filter(n),F=w.children.filter(A),S=F.filter(N(O)),V=S.filter(N(Y)).filter(N(B));F=F.filter(N(Y)).filter(O);var R=S.filter(N(Y)).filter(B);S=w.contexts.concat(S.filter(Y)).filter(v);var la=w.children.filter(y).filter(D);w=w.contexts.filter(x);E.concat(V).concat(F).concat(R).concat(S).concat(la).concat(w).forEach(function(fa){this.renderQueue.push(fa);fa instanceof
ka&&(this.parse(fa),this.renderQueue.push(new d))},this)};c.prototype.paint=function(w){try{w instanceof d?this.renderer.ctx.restore():y(w)?(!0===w.parent.isPseudoElement&&w.parent.appendToDOM(),this.paintText(w),!0===w.parent.isPseudoElement&&w.parent.cleanDOM()):this.paintNode(w)}catch(E){if(P(E),this.options.strict)throw E;}};c.prototype.paintNode=function(w){w instanceof ka&&(this.renderer.setOpacity(w.opacity),this.renderer.ctx.save(),w.hasTransform()&&this.renderer.setTransform(w.parseTransform()));
"INPUT"===w.node.nodeName&&"checkbox"===w.node.type?this.paintCheckbox(w):"INPUT"===w.node.nodeName&&"radio"===w.node.type?this.paintRadio(w):this.paintElement(w)};c.prototype.paintElement=function(w){var E=w.parseBounds();this.renderer.clip(w.backgroundClip,function(){this.renderer.renderBackground(w,E,w.borders.borders.map(L))},this);this.renderer.clip(w.clip,function(){this.renderer.renderBorders(w.borders.borders)},this);this.renderer.clip(w.backgroundClip,function(){switch(w.node.nodeName){case "svg":case "IFRAME":var F=
this.images.get(w.node);F?this.renderer.renderImage(w,E,w.borders,F):P("Error loading \x3c"+w.node.nodeName+"\x3e",w.node);break;case "IMG":(F=this.images.get(w.node.src))?this.renderer.renderImage(w,E,w.borders,F):P("Error loading \x3cimg\x3e",w.node.src);break;case "CANVAS":this.renderer.renderImage(w,E,w.borders,{image:w.node});break;case "SELECT":case "INPUT":case "TEXTAREA":this.paintFormValue(w)}},this)};c.prototype.paintCheckbox=function(w){var E=w.parseBounds(),F=Math.min(E.width,E.height),
S={width:F-1,height:F-1,top:E.top,left:E.left};E=[3,3];var V=[E,E,E,E],R=[1,1,1,1].map(function(fa){return{color:new Da("#A5A5A5"),width:fa}}),la=l(S,V,R);this.renderer.clip(w.backgroundClip,function(){this.renderer.rectangle(S.left+1,S.top+1,S.width-2,S.height-2,new Da("#DEDEDE"));this.renderer.renderBorders(e(R,S,la,V));w.node.checked&&(this.renderer.font(new Da("#424242"),"normal","normal","bold",F-3+"px","arial"),this.renderer.text("\u2714",S.left+F/6,S.top+F-1))},this)};c.prototype.paintRadio=
function(w){var E=w.parseBounds(),F=Math.min(E.width,E.height)-2;this.renderer.clip(w.backgroundClip,function(){this.renderer.circleStroke(E.left+1,E.top+1,F,new Da("#DEDEDE"),1,new Da("#A5A5A5"));w.node.checked&&this.renderer.circle(Math.ceil(E.left+F/4)+1,Math.ceil(E.top+F/4)+1,Math.floor(F/2),new Da("#424242"))},this)};c.prototype.paintFormValue=function(w){var E=w.getValue();if(0<E.length){var F=w.node.ownerDocument,S=F.createElement("html2canvaswrapper");"lineHeight textAlign fontFamily fontWeight fontSize color paddingLeft paddingTop paddingRight paddingBottom width height borderLeftStyle borderTopStyle borderLeftWidth borderTopWidth boxSizing whiteSpace wordWrap".split(" ").forEach(function(R){try{S.style[R]=
w.css(R)}catch(la){P("html2canvas: Parse: Exception caught in renderFormValue: "+la.message)}});var V=w.parseBounds();S.style.position="fixed";S.style.left=V.left+"px";S.style.top=V.top+"px";S.textContent=E;F.body.appendChild(S);this.paintText(new ra(S.firstChild,w));F.body.removeChild(S)}};c.prototype.paintText=function(w){w.applyTextTransform();var E=qa.ucs2.decode(w.node.data),F=this.options.letterRendering&&!/^(normal|none|0px)$/.test(w.parent.css("letterSpacing"))||/[^\u0000-\u00ff]/.test(w.node.data)?
E.map(function(la){return qa.ucs2.encode([la])}):ia(E);E=w.parent.fontWeight();var S=w.parent.css("fontSize"),V=w.parent.css("fontFamily"),R=w.parent.parseTextShadows();this.renderer.font(w.parent.color("color"),w.parent.css("fontStyle"),w.parent.css("fontVariant"),E,S,V);R.length?this.renderer.fontShadow(R[0].color,R[0].offsetX,R[0].offsetY,R[0].blur):this.renderer.clearShadow();this.renderer.clip(w.parent.clip,function(){F.map(this.parseTextBounds(w),this).forEach(function(la,fa){la&&(this.renderer.text(F[fa],
la.left,la.bottom),this.renderTextDecoration(w.parent,la,this.fontMetrics.getMetrics(V,S)))},this)},this)};c.prototype.renderTextDecoration=function(w,E,F){switch(w.css("textDecoration").split(" ")[0]){case "underline":this.renderer.rectangle(E.left,Math.round(E.top+F.baseline+F.lineWidth),E.width,1,w.color("color"));break;case "overline":this.renderer.rectangle(E.left,Math.round(E.top),E.width,1,w.color("color"));break;case "line-through":this.renderer.rectangle(E.left,Math.ceil(E.top+F.middle+F.lineWidth),
E.width,1,w.color("color"))}};var Ga={inset:[["darken",.6],["darken",.1],["darken",.1],["darken",.6]]};c.prototype.parseBorders=function(w){var E=w.parseBounds(),F=K(w),S=["Top","Right","Bottom","Left"].map(function(R,la){var fa=w.css("border"+R+"Style"),ya=w.color("border"+R+"Color");"inset"===fa&&ya.isBlack()&&(ya=new Da([255,255,255,ya.a]));la=Ga[fa]?Ga[fa][la]:null;return{width:w.cssInt("border"+R+"Width"),color:la?ya[la[0]](la[1]):ya,args:null}}),V=l(E,F,S);return{clip:this.parseBackgroundClip(w,
V,S,F,E),borders:e(S,E,V,F)}};c.prototype.parseBackgroundClip=function(w,E,F,S,V){var R=[];switch(w.css("backgroundClip")){case "content-box":case "padding-box":t(R,S[0],S[1],E.topLeftInner,E.topRightInner,V.left+F[3].width,V.top+F[0].width);t(R,S[1],S[2],E.topRightInner,E.bottomRightInner,V.left+V.width-F[1].width,V.top+F[0].width);t(R,S[2],S[3],E.bottomRightInner,E.bottomLeftInner,V.left+V.width-F[1].width,V.top+V.height-F[2].width);t(R,S[3],S[0],E.bottomLeftInner,E.topLeftInner,V.left+F[3].width,
V.top+V.height-F[2].width);break;default:t(R,S[0],S[1],E.topLeftOuter,E.topRightOuter,V.left,V.top),t(R,S[1],S[2],E.topRightOuter,E.bottomRightOuter,V.left+V.width,V.top),t(R,S[2],S[3],E.bottomRightOuter,E.bottomLeftOuter,V.left+V.width,V.top+V.height),t(R,S[3],S[0],E.bottomLeftOuter,E.topLeftOuter,V.left,V.top+V.height)}return R};p.exports=c},{"./color":3,"./fontmetrics":7,"./log":13,"./nodecontainer":14,"./pseudoelementcontainer":18,"./stackingcontext":21,"./textcontainer":25,"./utils":26,punycode:1}],
16:[function(q,p,f){function c(x,v,B){var D="withCredentials"in new XMLHttpRequest;if(!v)return Promise.reject("No proxy configured");var K=d(D);x=e(v,x,K);return D?l(x):m(B,x,K).then(function(U){return t(U.content)})}function m(x,v,B){return new Promise(function(D,K){var U=x.createElement("script"),Y=function(){delete window.html2canvas.proxy[B];x.body.removeChild(U)};window.html2canvas.proxy[B]=function(O){Y();D(O)};U.src=v;U.onerror=function(O){Y();K(O)};x.body.appendChild(U)})}function d(x){return x?
"":"html2canvas_"+Date.now()+"_"+ ++n+"_"+Math.round(1E5*Math.random())}function e(x,v,B){return x+"?url\x3d"+encodeURIComponent(v)+(B.length?"\x26callback\x3dhtml2canvas.proxy."+B:"")}function k(x){return function(v){var B=new DOMParser;try{var D=B.parseFromString(v,"text/html")}catch(K){a("DOMParser not supported, falling back to createHTMLDocument");D=document.implementation.createHTMLDocument("");try{D.open(),D.write(v),D.close()}catch(U){a("createHTMLDocument write not supported, falling back to document.body.innerHTML"),
D.body.innerHTML=v}}v=D.querySelector("base");v&&v.href.host||(v=D.createElement("base"),v.href=x,D.head.insertBefore(v,D.head.firstChild));return D}}var l=q("./xhr");p=q("./utils");var a=q("./log"),h=q("./clone"),t=p.decode64,n=0;f.Proxy=c;f.ProxyURL=function(x,v,B){var D="crossOrigin"in new Image,K=d(D);x=e(v,x,K);return D?Promise.resolve(x):m(B,x,K).then(function(U){return"data:"+U.type+";base64,"+U.content})};f.loadUrlDocument=function(x,v,B,D,K,U){return(new c(x,v,window.document)).then(k(x)).then(function(Y){return h(Y,
B,D,K,U,0,0)})}},{"./clone":2,"./log":13,"./utils":26,"./xhr":28}],17:[function(q,p,f){var c=q("./proxy").ProxyURL;p.exports=function(m,d){var e=document.createElement("a");e.href=m;this.src=m=e.href;this.image=new Image;var k=this;this.promise=new Promise(function(l,a){k.image.crossOrigin="Anonymous";k.image.onload=l;k.image.onerror=a;(new c(m,d,document)).then(function(h){k.image.src=h})["catch"](a)})}},{"./proxy":16}],18:[function(q,p,f){function c(d,e,k){m.call(this,d,e);this.isPseudoElement=
!0;this.before=":before"===k}var m=q("./nodecontainer");c.prototype.cloneTo=function(d){c.prototype.cloneTo.call(this,d);d.isPseudoElement=!0;d.before=this.before};c.prototype=Object.create(m.prototype);c.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()};c.prototype.cleanDOM=function(){this.node.parentNode.removeChild(this.node);this.parent.node.className=
this.parent.node.className.replace(this.getHideClass(),"")};c.prototype.getHideClass=function(){return this["PSEUDO_HIDE_ELEMENT_CLASS_"+(this.before?"BEFORE":"AFTER")]};c.prototype.PSEUDO_HIDE_ELEMENT_CLASS_BEFORE="___html2canvas___pseudoelement_before";c.prototype.PSEUDO_HIDE_ELEMENT_CLASS_AFTER="___html2canvas___pseudoelement_after";p.exports=c},{"./nodecontainer":14}],19:[function(q,p,f){function c(d,e,k,l,a){this.width=d;this.height=e;this.images=k;this.options=l;this.document=a}var m=q("./log");
c.prototype.renderImage=function(d,e,k,l){var a=d.cssInt("paddingLeft"),h=d.cssInt("paddingTop"),t=d.cssInt("paddingRight");d=d.cssInt("paddingBottom");k=k.borders;t=e.width-(k[1].width+k[3].width+a+t);d=e.height-(k[0].width+k[2].width+h+d);this.drawImage(l,0,0,l.image.width||t,l.image.height||d,e.left+a+k[3].width,e.top+h+k[0].width,t,d)};c.prototype.renderBackground=function(d,e,k){0<e.height&&0<e.width&&(this.renderBackgroundColor(d,e),this.renderBackgroundImage(d,e,k))};c.prototype.renderBackgroundColor=
function(d,e){d=d.color("backgroundColor");d.isTransparent()||this.rectangle(e.left,e.top,e.width,e.height,d)};c.prototype.renderBorders=function(d){d.forEach(this.renderBorder,this)};c.prototype.renderBorder=function(d){d.color.isTransparent()||null===d.args||this.drawShape(d.args,d.color)};c.prototype.renderBackgroundImage=function(d,e,k){d.parseBackgroundImages().reverse().forEach(function(l,a,h){switch(l.method){case "url":var t=this.images.get(l.args[0]);t?this.renderBackgroundRepeating(d,e,
t,h.length-(a+1),k):m("Error loading background-image",l.args[0]);break;case "linear-gradient":case "gradient":(a=this.images.get(l.value))?this.renderBackgroundGradient(a,e,k):m("Error loading background-image",l.args[0]);break;case "none":break;default:m("Unknown background-image type",l.args[0])}},this)};c.prototype.renderBackgroundRepeating=function(d,e,k,l,a){var h=d.parseBackgroundSize(e,k.image,l),t=d.parseBackgroundPosition(e,k.image,l,h);switch(d.parseBackgroundRepeat(l)){case "repeat-x":case "repeat no-repeat":this.backgroundRepeatShape(k,
t,h,e,e.left+a[3],e.top+t.top+a[0],99999,h.height,a);break;case "repeat-y":case "no-repeat repeat":this.backgroundRepeatShape(k,t,h,e,e.left+t.left+a[3],e.top+a[0],h.width,99999,a);break;case "no-repeat":this.backgroundRepeatShape(k,t,h,e,e.left+t.left+a[3],e.top+t.top+a[0],h.width,h.height,a);break;default:this.renderBackgroundRepeat(k,t,h,{top:e.top,left:e.left},a[3],a[0])}};p.exports=c},{"./log":13}],20:[function(q,p,f){function c(l,a){d.apply(this,arguments);this.canvas=this.options.canvas||this.document.createElement("canvas");
this.options.canvas||(this.canvas.width=l,this.canvas.height=a);this.ctx=this.canvas.getContext("2d");this.taintCtx=this.document.createElement("canvas").getContext("2d");this.ctx.textBaseline="bottom";this.variables={};k("Initialized CanvasRenderer with size",l,"x",a)}function m(l){return 0<l.length}var d=q("../renderer"),e=q("../lineargradientcontainer"),k=q("../log");c.prototype=Object.create(d.prototype);c.prototype.setFillStyle=function(l){this.ctx.fillStyle="object"===typeof l&&l.isColor?l.toString():
l;return this.ctx};c.prototype.rectangle=function(l,a,h,t,n){this.setFillStyle(n).fillRect(l,a,h,t)};c.prototype.circle=function(l,a,h,t){this.setFillStyle(t);this.ctx.beginPath();this.ctx.arc(l+h/2,a+h/2,h/2,0,2*Math.PI,!0);this.ctx.closePath();this.ctx.fill()};c.prototype.circleStroke=function(l,a,h,t,n,x){this.circle(l,a,h,t);this.ctx.strokeStyle=x.toString();this.ctx.stroke()};c.prototype.drawShape=function(l,a){this.shape(l);this.setFillStyle(a).fill()};c.prototype.taints=function(l){if(null===
l.tainted){this.taintCtx.drawImage(l.image,0,0);try{this.taintCtx.getImageData(0,0,1,1),l.tainted=!1}catch(a){this.taintCtx=document.createElement("canvas").getContext("2d"),l.tainted=!0}}return l.tainted};c.prototype.drawImage=function(l,a,h,t,n,x,v,B,D){this.taints(l)&&!this.options.allowTaint||this.ctx.drawImage(l.image,a,h,t,n,x,v,B,D)};c.prototype.clip=function(l,a,h){this.ctx.save();l.filter(m).forEach(function(t){this.shape(t).clip()},this);a.call(h);this.ctx.restore()};c.prototype.shape=function(l){this.ctx.beginPath();
l.forEach(function(a,h){"rect"===a[0]?this.ctx.rect.apply(this.ctx,a.slice(1)):this.ctx[0===h?"moveTo":a[0]+"To"].apply(this.ctx,a.slice(1))},this);this.ctx.closePath();return this.ctx};c.prototype.font=function(l,a,h,t,n,x){this.setFillStyle(l).font=[a,h,t,n,x].join(" ").split(",")[0]};c.prototype.fontShadow=function(l,a,h,t){this.setVariable("shadowColor",l.toString()).setVariable("shadowOffsetY",a).setVariable("shadowOffsetX",h).setVariable("shadowBlur",t)};c.prototype.clearShadow=function(){this.setVariable("shadowColor",
"rgba(0,0,0,0)")};c.prototype.setOpacity=function(l){this.ctx.globalAlpha=l};c.prototype.setTransform=function(l){this.ctx.translate(l.origin[0],l.origin[1]);this.ctx.transform.apply(this.ctx,l.matrix);this.ctx.translate(-l.origin[0],-l.origin[1])};c.prototype.setVariable=function(l,a){this.variables[l]!==a&&(this.variables[l]=this.ctx[l]=a);return this};c.prototype.text=function(l,a,h){this.ctx.fillText(l,a,h)};c.prototype.backgroundRepeatShape=function(l,a,h,t,n,x,v,B,D){this.clip([[["line",Math.round(n),
Math.round(x)],["line",Math.round(n+v),Math.round(x)],["line",Math.round(n+v),Math.round(B+x)],["line",Math.round(n),Math.round(B+x)]]],function(){this.renderBackgroundRepeat(l,a,h,t,D[3],D[0])},this)};c.prototype.renderBackgroundRepeat=function(l,a,h,t,n,x){n=Math.round(t.left+a.left+n);a=Math.round(t.top+a.top+x);this.setFillStyle(this.ctx.createPattern(this.resizeImage(l,h),"repeat"));this.ctx.translate(n,a);this.ctx.fill();this.ctx.translate(-n,-a)};c.prototype.renderBackgroundGradient=function(l,
a){if(l instanceof e){var h=this.ctx.createLinearGradient(a.left+a.width*l.x0,a.top+a.height*l.y0,a.left+a.width*l.x1,a.top+a.height*l.y1);l.colorStops.forEach(function(t){h.addColorStop(t.stop,t.color.toString())});this.rectangle(a.left,a.top,a.width,a.height,h)}};c.prototype.resizeImage=function(l,a){l=l.image;if(l.width===a.width&&l.height===a.height)return l;var h=document.createElement("canvas");h.width=a.width;h.height=a.height;h.getContext("2d").drawImage(l,0,0,l.width,l.height,0,0,a.width,
a.height);return h};p.exports=c},{"../lineargradientcontainer":12,"../log":13,"../renderer":19}],21:[function(q,p,f){function c(d,e,k,l){m.call(this,k,l);this.ownStacking=d;this.contexts=[];this.children=[];this.opacity=(this.parent?this.parent.stack.opacity:1)*e}var m=q("./nodecontainer");c.prototype=Object.create(m.prototype);c.prototype.getParentStack=function(d){var e=this.parent?this.parent.stack:null;return e?e.ownStacking?e:e.getParentStack(d):d.stack};p.exports=c},{"./nodecontainer":14}],
22:[function(q,p,f){function c(m){this.rangeBounds=this.testRangeBounds(m);this.cors=this.testCORS();this.svg=this.testSVG()}c.prototype.testRangeBounds=function(m){var d=!1;if(m.createRange){var e=m.createRange();if(e.getBoundingClientRect){var k=m.createElement("boundtest");k.style.height="123px";k.style.display="block";m.body.appendChild(k);e.selectNode(k);e=e.getBoundingClientRect();e=e.height;123===e&&(d=!0);m.body.removeChild(k)}}return d};c.prototype.testCORS=function(){return"undefined"!==
typeof(new Image).crossOrigin};c.prototype.testSVG=function(){var m=new Image,d=document.createElement("canvas"),e=d.getContext("2d");m.src="data:image/svg+xml,\x3csvg xmlns\x3d'http://www.w3.org/2000/svg'\x3e\x3c/svg\x3e";try{e.drawImage(m,0,0),d.toDataURL()}catch(k){return!1}return!0};p.exports=c},{}],23:[function(q,p,f){function c(e){this.src=e;this.image=null;var k=this;this.promise=this.hasFabric().then(function(){return k.isInline(e)?Promise.resolve(k.inlineFormatting(e)):m(e)}).then(function(l){return new Promise(function(a){window.html2canvas.svg.fabric.loadSVGFromString(l,
k.createCanvas.call(k,a))})})}var m=q("./xhr"),d=q("./utils").decode64;c.prototype.hasFabric=function(){return window.html2canvas.svg&&window.html2canvas.svg.fabric?Promise.resolve():Promise.reject(Error("html2canvas.svg.js is not loaded, cannot render svg"))};c.prototype.inlineFormatting=function(e){return/^data:image\/svg\+xml;base64,/.test(e)?this.decode64(this.removeContentType(e)):this.removeContentType(e)};c.prototype.removeContentType=function(e){return e.replace(/^data:image\/svg\+xml(;base64)?,/,
"")};c.prototype.isInline=function(e){return/^data:image\/svg\+xml/i.test(e)};c.prototype.createCanvas=function(e){var k=this;return function(l,a){var h=new window.html2canvas.svg.fabric.StaticCanvas("c");k.image=h.lowerCanvasEl;h.setWidth(a.width).setHeight(a.height).add(window.html2canvas.svg.fabric.util.groupSVGElements(l,a)).renderAll();e(h.lowerCanvasEl)}};c.prototype.decode64=function(e){return"function"===typeof window.atob?window.atob(e):d(e)};p.exports=c},{"./utils":26,"./xhr":28}],24:[function(q,
p,f){function c(m,d){this.src=m;this.image=null;var e=this;this.promise=d?new Promise(function(k,l){e.image=new Image;e.image.onload=k;e.image.onerror=l;e.image.src="data:image/svg+xml,"+(new XMLSerializer).serializeToString(m);!0===e.image.complete&&k(e.image)}):this.hasFabric().then(function(){return new Promise(function(k){window.html2canvas.svg.fabric.parseSVGDocument(m,e.createCanvas.call(e,k))})})}q=q("./svgcontainer");c.prototype=Object.create(q.prototype);p.exports=c},{"./svgcontainer":23}],
25:[function(q,p,f){function c(e,k){d.call(this,e,k)}function m(e,k,l){if(0<e.length)return k+l.toUpperCase()}var d=q("./nodecontainer");c.prototype=Object.create(d.prototype);c.prototype.applyTextTransform=function(){this.node.data=this.transform(this.parent.css("textTransform"))};c.prototype.transform=function(e){var k=this.node.data;switch(e){case "lowercase":return k.toLowerCase();case "capitalize":return k.replace(/(^|\s|:|-|\(|\))([a-z])/g,m);case "uppercase":return k.toUpperCase();default:return k}};
p.exports=c},{"./nodecontainer":14}],26:[function(q,p,f){f.smallImage=function(){return"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"};f.bind=function(c,m){return function(){return c.apply(m,arguments)}};f.decode64=function(c){var m=c.length,d,e="";for(d=0;d<m;d+=4){var k="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(c[d]);var l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(c[d+1]);var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(c[d+
2]);var h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(c[d+3]);k=k<<2|l>>4;l=(l&15)<<4|a>>2;var t=(a&3)<<6|h;e=64===a?e+String.fromCharCode(k):64===h||-1===h?e+String.fromCharCode(k,l):e+String.fromCharCode(k,l,t)}return e};f.getBounds=function(c){if(c.getBoundingClientRect){var m=c.getBoundingClientRect(),d=null==c.offsetWidth?m.width:c.offsetWidth;return{top:m.top,bottom:m.bottom||m.top+m.height,right:m.left+d,left:m.left,width:d,height:null==c.offsetHeight?m.height:
c.offsetHeight}}return{}};f.offsetBounds=function(c){var m=c.offsetParent?f.offsetBounds(c.offsetParent):{top:0,left:0};return{top:c.offsetTop+m.top,bottom:c.offsetTop+c.offsetHeight+m.top,right:c.offsetLeft+m.left+c.offsetWidth,left:c.offsetLeft+m.left,width:c.offsetWidth,height:c.offsetHeight}};f.parseBackgrounds=function(c){var m,d,e,k,l=[],a=0,h=0,t,n=function(){v&&('"'===m.substr(0,1)&&(m=m.substr(1,m.length-2)),m&&x.push(m),"-"===v.substr(0,1)&&0<(e=v.indexOf("-",1)+1)&&(d=v.substr(0,e),v=v.substr(e)),
l.push({prefix:d,method:v.toLowerCase(),value:k,args:x,image:null}));x=[];v=d=m=k=""};var x=[];var v=d=m=k="";c.split("").forEach(function(B){if(!(0===a&&-1<" \r\n\t".indexOf(B))){switch(B){case '"':t?t===B&&(t=null):t=B;break;case "(":if(!t){if(0===a){a=1;k+=B;return}h++}break;case ")":if(!t&&1===a){if(0===h){a=0;k+=B;n();return}h--}break;case ",":if(!t){if(0===a){n();return}if(1===a&&0===h&&!v.match(/^url$/i)){x.push(m);m="";k+=B;return}}}k+=B;0===a?v+=B:m+=B}});n();return l}},{}],27:[function(q,
p,f){function c(d){m.apply(this,arguments);this.type="linear"===d.args[0]?m.TYPES.LINEAR:m.TYPES.RADIAL}var m=q("./gradientcontainer");c.prototype=Object.create(m.prototype);p.exports=c},{"./gradientcontainer":9}],28:[function(q,p,f){p.exports=function(c){return new Promise(function(m,d){var e=new XMLHttpRequest;e.open("GET",c);e.onload=function(){200===e.status?m(e.responseText):d(Error(e.statusText))};e.onerror=function(){d(Error("Network Error"))};e.send()})}},{}]},{},[4])(4)}();!0;(function(u){var q=
function(){function p(d){var e,k;this.data=d;this.pos=8;this.palette=[];this.imgData=[];this.transparency={};this.animation=null;this.text={};for(k=null;;){var l=this.readUInt32();var a=d=void 0;d=[];for(a=0;4>a;++a)d.push(String.fromCharCode(this.data[this.pos++]));d=d.join("");switch(d){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()||Infinity,frames:[]};break;case "PLTE":this.palette=this.read(l);break;case "fcTL":k&&this.animation.frames.push(k);this.pos+=4;k={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()};d=this.readUInt16();l=this.readUInt16()||100;k.delay=1E3*d/l;k.disposeOp=this.data[this.pos++];k.blendOp=this.data[this.pos++];k.data=[];
break;case "IDAT":case "fdAT":"fdAT"===d&&(this.pos+=4,l-=4);d=(null!=k?k.data:void 0)||this.imgData;for(a=0;0<=l?a<l:a>l;0<=l?++a:--a)d.push(this.data[this.pos++]);break;case "tRNS":this.transparency={};switch(this.colorType){case 3:d=this.palette.length/3;this.transparency.indexed=this.read(l);if(this.transparency.indexed.length>d)throw Error("More transparent colors than palette size");l=d-this.transparency.indexed.length;if(0<l)for(d=0;0<=l?d<l:d>l;0<=l?++d:--d)this.transparency.indexed.push(255);
break;case 0:this.transparency.grayscale=this.read(l)[0];break;case 2:this.transparency.rgb=this.read(l)}break;case "tEXt":a=this.read(l);l=a.indexOf(0);d=String.fromCharCode.apply(String,a.slice(0,l));this.text[d]=String.fromCharCode.apply(String,a.slice(l+1));break;case "IEND":k&&this.animation.frames.push(k);a:{switch(this.colorType){case 0:case 3:case 4:k=1;break a;case 2:case 6:k=3;break a}k=void 0}this.colors=k;this.hasAlphaChannel=4===(e=this.colorType)||6===e;e=this.colors+(this.hasAlphaChannel?
1:0);this.pixelBitlength=this.bits*e;a:{switch(this.colors){case 1:e="DeviceGray";break a;case 3:e="DeviceRGB";break a}e=void 0}this.colorSpace=e;this.imgData=new Uint8Array(this.imgData);return;default:this.pos+=l}this.pos+=4;if(this.pos>this.data.length)throw Error("Incomplete or corrupt PNG file");}}p.load=function(d,e,k){"function"===typeof e&&(k=e);var l=new XMLHttpRequest;l.open("GET",d,!0);l.responseType="arraybuffer";l.onload=function(){var a=new Uint8Array(l.response||l.mozResponseArrayBuffer);
a=new p(a);"function"===typeof(null!=e?e.getContext:void 0)&&a.render(e);return"function"===typeof k?k(a):void 0};return l.send(null)};p.prototype.read=function(d){var e;var k=[];for(e=0;0<=d?e<d:e>d;0<=d?++e:--e)k.push(this.data[this.pos++]);return k};p.prototype.readUInt32=function(){var d=this.data[this.pos++]<<24;var e=this.data[this.pos++]<<16;var k=this.data[this.pos++]<<8;var l=this.data[this.pos++];return d|e|k|l};p.prototype.readUInt16=function(){var d=this.data[this.pos++]<<8;var e=this.data[this.pos++];
return d|e};p.prototype.decodePixels=function(d){var e,k,l,a,h,t,n,x;null==d&&(d=this.imgData);if(0===d.length)return new Uint8Array(0);d=new Aa(d);d=d.getBytes();var v=this.pixelBitlength/8;var B=v*this.width;var D=new Uint8Array(B*this.height);var K=d.length;for(k=a=h=0;a<K;){switch(d[a++]){case 0:for(l=e=0;e<B;l=e+=1)D[k++]=d[a++];break;case 1:for(l=t=0;t<B;l=t+=1){e=d[a++];var U=l<v?0:D[k-v];D[k++]=(e+U)%256}break;case 2:for(l=U=0;U<B;l=U+=1){e=d[a++];var Y=(l-l%v)/v;t=h&&D[(h-1)*B+Y*v+l%v];D[k++]=
(t+e)%256}break;case 3:for(l=x=0;x<B;l=x+=1)e=d[a++],Y=(l-l%v)/v,U=l<v?0:D[k-v],t=h&&D[(h-1)*B+Y*v+l%v],D[k++]=(e+Math.floor((U+t)/2))%256;break;case 4:for(l=x=0;x<B;l=x+=1){e=d[a++];Y=(l-l%v)/v;U=l<v?0:D[k-v];0===h?t=n=0:(t=D[(h-1)*B+Y*v+l%v],n=Y&&D[(h-1)*B+(Y-1)*v+l%v]);var O=U+t-n;l=Math.abs(O-U);Y=Math.abs(O-t);O=Math.abs(O-n);U=l<=Y&&l<=O?U:Y<=O?t:n;D[k++]=(e+U)%256}break;default:throw Error("Invalid filter algorithm: "+d[a-1]);}h++}return D};p.prototype.decodePalette=function(){var d,e,k,l,
a;var h=this.palette;var t=this.transparency.indexed||[];var n=new Uint8Array((t.length||0)+h.length);var x=k=d=e=0;for(l=h.length;k<l;x=k+=3)n[e++]=h[x],n[e++]=h[x+1],n[e++]=h[x+2],n[e++]=null!=(a=t[d++])?a:255;return n};p.prototype.copyToImageData=function(d,e){var k,l;var a=this.colors;var h=null;var t=this.hasAlphaChannel;this.palette.length&&(h=null!=(k=this._decodedPalette)?k:this._decodedPalette=this.decodePalette(),a=4,t=!0);d=d.data||d;var n=d.length;var x=h||e;k=l=0;if(1===a)for(;k<n;)a=
h?4*e[k/4]:l,l=x[a++],d[k++]=l,d[k++]=l,d[k++]=l,d[k++]=t?x[a++]:255,l=a;else for(;k<n;)a=h?4*e[k/4]:l,d[k++]=x[a++],d[k++]=x[a++],d[k++]=x[a++],d[k++]=t?x[a++]:255,l=a};p.prototype.decode=function(){var d=new Uint8Array(this.width*this.height*4);this.copyToImageData(d,this.decodePixels());return d};try{var f=u.document.createElement("canvas");var c=f.getContext("2d")}catch(d){return-1}var m=function(d){c.width=d.width;c.height=d.height;c.clearRect(0,0,d.width,d.height);c.putImageData(d,0,0);d=new Image;
d.src=f.toDataURL();return d};p.prototype.decodeFrames=function(d){var e,k;if(this.animation){var l=this.animation.frames;var a=[];var h=e=0;for(k=l.length;e<k;h=++e){h=l[h];var t=d.createImageData(h.width,h.height);var n=this.decodePixels(new Uint8Array(h.data));this.copyToImageData(t,n);h.imageData=t;a.push(h.image=m(t))}return a}};p.prototype.renderFrame=function(d,e){var k=this.animation.frames;var l=k[e];k=k[e-1];0===e&&d.clearRect(0,0,this.width,this.height);1===(null!=k?k.disposeOp:void 0)?
d.clearRect(k.xOffset,k.yOffset,k.width,k.height):2===(null!=k?k.disposeOp:void 0)&&d.putImageData(k.imageData,k.xOffset,k.yOffset);0===l.blendOp&&d.clearRect(l.xOffset,l.yOffset,l.width,l.height);return d.drawImage(l.image,l.xOffset,l.yOffset)};p.prototype.animate=function(d){var e,k=this;var l=0;var a=this.animation;var h=a.numFrames;var t=a.frames;var n=a.numPlays;return(e=function(){var x=l++%h;var v=t[x];k.renderFrame(d,x);if(1<h&&l/h<n)return k.animation._timeout=setTimeout(e,v.delay)})()};
p.prototype.stopAnimation=function(){var d;return clearTimeout(null!=(d=this.animation)?d._timeout:void 0)};p.prototype.render=function(d){d._png&&d._png.stopAnimation();d._png=this;d.width=this.width;d.height=this.height;d=d.getContext("2d");if(this.animation)return this.decodeFrames(d),this.animate(d);var e=d.createImageData(this.width,this.height);this.copyToImageData(e,this.decodePixels());return d.putImageData(e,0,0)};return p}();u.AcroForm.PNG=q})("undefined"!==typeof window&&window||void 0);
var za=function(){function u(){this.bufferLength=this.pos=0;this.eof=!1;this.buffer=null}u.prototype={ensureBuffer:function(q){var p=this.buffer,f=p?p.byteLength:0;if(q<f)return p;for(var c=512;c<q;)c<<=1;q=new Uint8Array(c);for(c=0;c<f;++c)q[c]=p[c];return this.buffer=q},getByte:function(){for(var q=this.pos;this.bufferLength<=q;){if(this.eof)return null;this.readBlock()}return this.buffer[this.pos++]},getBytes:function(q){var p=this.pos;if(q){this.ensureBuffer(p+q);for(q=p+q;!this.eof&&this.bufferLength<
q;)this.readBlock();var f=this.bufferLength;q>f&&(q=f)}else{for(;!this.eof;)this.readBlock();q=this.bufferLength}this.pos=q;return this.buffer.subarray(p,q)},lookChar:function(){for(var q=this.pos;this.bufferLength<=q;){if(this.eof)return null;this.readBlock()}return String.fromCharCode(this.buffer[this.pos])},getChar:function(){for(var q=this.pos;this.bufferLength<=q;){if(this.eof)return null;this.readBlock()}return String.fromCharCode(this.buffer[this.pos++])},makeSubStream:function(q,p,f){for(var c=
q+p;this.bufferLength<=c&&!this.eof;)this.readBlock();return new Stream(this.buffer,q,p,f)},skip:function(q){q||(q=1);this.pos+=q},reset:function(){this.pos=0}};return u}(),Aa=function(){function u(e){throw Error(e);}function q(e){var k=0,l=e[k++],a=e[k++];-1!=l&&-1!=a||u("Invalid header in flate stream");8!=(l&15)&&u("Unknown compression method in flate stream");0!=((l<<8)+a)%31&&u("Bad FCHECK in flate stream");a&32&&u("FDICT bit set in flate stream");this.bytes=e;this.bytesPos=k;this.codeBuf=this.codeSize=
0;za.call(this)}if("undefined"!==typeof Uint32Array){var p=new Uint32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),f=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]),c=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]),m=[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],d=[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];q.prototype=Object.create(za.prototype);q.prototype.getBits=function(e){for(var k=this.codeSize,l=this.codeBuf,a=this.bytes,h=this.bytesPos,t;k<e;)"undefined"==typeof(t=
a[h++])&&u("Bad encoding in flate stream"),l|=t<<k,k+=8;this.codeBuf=l>>e;this.codeSize=k-=e;this.bytesPos=h;return l&(1<<e)-1};q.prototype.getCode=function(e){var k=e[0],l=e[1];e=this.codeSize;for(var a=this.codeBuf,h=this.bytes,t=this.bytesPos;e<l;){var n;"undefined"==typeof(n=h[t++])&&u("Bad encoding in flate stream");a|=n<<e;e+=8}l=k[a&(1<<l)-1];k=l>>16;l&=65535;(0==e||e<k||0==k)&&u("Bad encoding in flate stream");this.codeBuf=a>>k;this.codeSize=e-k;this.bytesPos=t;return l};q.prototype.generateHuffmanTable=
function(e){for(var k=e.length,l=0,a=0;a<k;++a)e[a]>l&&(l=e[a]);for(var h=1<<l,t=new Uint32Array(h),n=1,x=0,v=2;n<=l;++n,x<<=1,v<<=1)for(var B=0;B<k;++B)if(e[B]==n){var D=0,K=x;for(a=0;a<n;++a)D=D<<1|K&1,K>>=1;for(a=D;a<h;a+=v)t[a]=n<<16|B;++x}return[t,l]};q.prototype.readBlock=function(){function e(D,K,U,Y,O){for(D=D.getBits(U)+Y;0<D--;)K[x++]=O}var k=this.getBits(3);k&1&&(this.eof=!0);k>>=1;if(0==k){var l=this.bytes,a=this.bytesPos,h;"undefined"==typeof(h=l[a++])&&u("Bad block header in flate stream");
var t=h;"undefined"==typeof(h=l[a++])&&u("Bad block header in flate stream");t|=h<<8;"undefined"==typeof(h=l[a++])&&u("Bad block header in flate stream");k=h;"undefined"==typeof(h=l[a++])&&u("Bad block header in flate stream");(k|h<<8)!=(~t&65535)&&u("Bad uncompressed block length in flate stream");this.codeSize=this.codeBuf=0;h=this.bufferLength;k=this.ensureBuffer(h+t);this.bufferLength=t=h+t;for(var n=h;n<t;++n){if("undefined"==typeof(h=l[a++])){this.eof=!0;break}k[n]=h}this.bytesPos=a}else{if(1==
k)a=m,h=d;else if(2==k){k=this.getBits(5)+257;h=this.getBits(5)+1;l=this.getBits(4)+4;a=Array(p.length);for(var x=0;x<l;)a[p[x++]]=this.getBits(3);a=this.generateHuffmanTable(a);x=l=0;h=k+h;for(t=Array(h);x<h;)n=this.getCode(a),16==n?e(this,t,2,3,l):17==n?e(this,t,3,3,l=0):18==n?e(this,t,7,11,l=0):t[x++]=l=n;a=this.generateHuffmanTable(t.slice(0,k));h=this.generateHuffmanTable(t.slice(k,h))}else u("Unknown block type in flate stream");t=(k=this.buffer)?k.length:0;for(n=this.bufferLength;;){var v=
this.getCode(a);if(256>v)n+1>=t&&(k=this.ensureBuffer(n+1),t=k.length),k[n++]=v;else{if(256==v){this.bufferLength=n;break}v-=257;v=f[v];var B=v>>16;0<B&&(B=this.getBits(B));l=(v&65535)+B;v=this.getCode(h);v=c[v];B=v>>16;0<B&&(B=this.getBits(B));v=(v&65535)+B;n+l>=t&&(k=this.ensureBuffer(n+l),t=k.length);for(B=0;B<l;++B,++n)k[n]=k[n-v]}}}};return q}}();String.prototype.trimLeft||(String.prototype.trimLeft=function(){return this.replace(/^\s+/,"")});String.prototype.trimRight||(String.prototype.trimRight=
function(){return this.replace(/\s\s*$/,"")});return I}})});