webpackJsonp([2],{"++K3":function(e,t){var n,r,i,a,o,s,l,c,u,h,d,f,p,g,m,A=!1;function v(){if(!A){A=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),v=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(f=/\b(iPhone|iP[ao]d)/.exec(e),p=/\b(iP[ao]d)/.exec(e),h=/Android/i.exec(e),g=/FBAN\/\w+;/i.exec(e),m=/Mobile/i.exec(e),d=!!/Win64/.exec(e),t){(n=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN)&&document&&document.documentMode&&(n=document.documentMode);var y=/(?:Trident\/(\d+.\d+))/.exec(e);s=y?parseFloat(y[1])+4:n,r=t[2]?parseFloat(t[2]):NaN,i=t[3]?parseFloat(t[3]):NaN,(a=t[4]?parseFloat(t[4]):NaN)?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),o=t&&t[1]?parseFloat(t[1]):NaN):o=NaN}else n=r=i=o=a=NaN;if(v){if(v[1]){var b=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);l=!b||parseFloat(b[1].replace("_","."))}else l=!1;c=!!v[2],u=!!v[3]}else l=c=u=!1}}var y={ie:function(){return v()||n},ieCompatibilityMode:function(){return v()||s>n},ie64:function(){return y.ie()&&d},firefox:function(){return v()||r},opera:function(){return v()||i},webkit:function(){return v()||a},safari:function(){return y.webkit()},chrome:function(){return v()||o},windows:function(){return v()||c},osx:function(){return v()||l},linux:function(){return v()||u},iphone:function(){return v()||f},mobile:function(){return v()||f||p||h||m},nativeApp:function(){return v()||g},android:function(){return v()||h},ipad:function(){return v()||p}};e.exports=y},"+E39":function(e,t,n){e.exports=!n("S82l")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},"+N5+":function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;function i(e,t){return r.call(e,t)}function a(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function o(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var s=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,l=new RegExp(s.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),c=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,u=n("881s");var h=/[&<>"]/,d=/[&<>"]/g,f={"&":"&","<":"<",">":">",'"':"""};function p(e){return f[e]}var g=/[.?*+^$[\]\\(){}|-]/g;var m=n("TUzn");t.lib={},t.lib.mdurl=n("HxqY"),t.lib.ucmicro=n("QgkH"),t.assign=function(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach(function(n){e[n]=t[n]})}}),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=i,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(s,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(l,function(e,t,n){return t||function(e,t){var n=0;return i(u,t)?u[t]:35===t.charCodeAt(0)&&c.test(t)&&a(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?o(n):e}(e,n)})},t.isValidEntityCode=a,t.fromCodePoint=o,t.escapeHtml=function(e){return h.test(e)?e.replace(d,p):e},t.arrayReplaceAt=function(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return m.test(e)},t.escapeRE=function(e){return e.replace(g,"\\$&")},t.normalizeReference=function(e){return e=e.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}},"+UTs":function(e,t,n){"use strict";var r=n("K6q6"),i=n("GxVO"),a=n("No7X"),o=function(){return function(){this.points=null,this.smooth=0,this.smoothConstraint=null}}(),s=function(e){function t(t){return e.call(this,t)||this}return Object(r.a)(t,e),t.prototype.getDefaultShape=function(){return new o},t.prototype.buildPath=function(e,t){a.a(e,t,!0)},t}(i.b);s.prototype.type="polygon",t.a=s},"+Y0c":function(e,t,n){"use strict";t.b=function(e){if("string"==typeof e){var t=r.get(e);return t&&t.image}return e},t.a=function(e,t,n,o,s){if(e){if("string"==typeof e){if(t&&t.__zrImageSrc===e||!n)return t;var l=r.get(e),c={hostEl:n,cb:o,cbPayload:s};return l?!a(t=l.image)&&l.pending.push(c):((t=new Image).onload=t.onerror=i,r.put(e,t.__cachedImgObj={image:t,pending:[c]}),t.src=t.__zrImageSrc=e),t}return e}return t},t.c=a;var r=new(n("zMj2").a)(50);function i(){var e=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;t=1)&&(e=1),e}s===c&&l===u||(t="reset"),(this._dirty||"reset"===t)&&(this._dirty=!1,o=this._doReset(i)),this._modBy=c,this._modDataCount=u;var d=e&&e.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var f=this._dueIndex,p=Math.min(null!=d?this._dueIndex+d:1/0,this._dueEnd);if(!i&&(o||f1&&r>0?s:o}};return a;function o(){return t=e?null:at[1]&&(t[1]=e[1])},e.prototype.unionExtentFromData=function(e,t){this.unionExtent(e.getApproximateExtent(t))},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.setExtent=function(e,t){var n=this._extent;isNaN(e)||(n[0]=e),isNaN(t)||(n[1]=t)},e.prototype.isInExtentRange=function(e){return this._extent[0]<=e&&this._extent[1]>=e},e.prototype.isBlank=function(){return this._isBlank},e.prototype.setBlank=function(e){this._isBlank=e},e}();r.c(i),t.a=i},"//Fk":function(e,t,n){e.exports={default:n("U5ju"),__esModule:!0}},"/00o":function(e,t,n){var r=n("To6e"),i=r.System,a=r.VbrMode,o=(r.Float,r.ShortBlock,r.Util,r.Arrays,r.new_array_n),s=(r.new_byte,r.new_double,r.new_float),l=r.new_float_n,c=r.new_int,u=(r.new_int_n,r.assert);function h(){var e=n("zEpL"),t=n("1xnL"),r=h.FFTOFFSET,d=h.MPG_MD_MS_LR,f=null;this.psy=null;var p=null,g=null,m=null;this.setModules=function(e,t,n,r){f=e,this.psy=t,p=t,g=r,m=n};var A=new e;this.lame_encode_mp3_frame=function(e,n,v,y,b,_){var w,x=o([2,2]);x[0][0]=new t,x[0][1]=new t,x[1][0]=new t,x[1][1]=new t;var S,C=o([2,2]);C[0][0]=new t,C[0][1]=new t,C[1][0]=new t,C[1][1]=new t;var k,T,E,B=[null,null],O=e.internal_flags,I=l([2,4]),M=[.5,.5],P=[[0,0],[0,0]],L=[[0,0],[0,0]];if(B[0]=n,B[1]=v,0==O.lame_encode_frame_init&&function(e,t){var n,r,i=e.internal_flags;if(0==i.lame_encode_frame_init){var a,o,l=s(2014),c=s(2014);for(i.lame_encode_frame_init=1,a=0,o=0;a<286+576*(1+i.mode_gr);++a)a<576*i.mode_gr?(l[a]=0,2==i.channels_out&&(c[a]=0)):(l[a]=t[0][o],2==i.channels_out&&(c[a]=t[1][o]),++o);for(r=0;r=h.FFTOFFSET),u(i.mf_size>=h.BLKSIZE+e.framesize-h.FFTOFFSET),u(i.mf_size>=512+e.framesize-32)}}(e,B),O.padding=0,(O.slot_lag-=O.frac_SpF)<0&&(O.slot_lag+=e.out_samplerate,O.padding=1),0!=O.psymodel){var D=[null,null],F=0,R=c(2);for(E=0;E0&&(M[E]=I[E][3]/M[E])),T=0;T.03125)e.ATH.adjust>=1?e.ATH.adjust=1:e.ATH.adjust=r?(e.ATH.adjust*=.075*r+.925,e.ATH.adjust=r?e.ATH.adjust=r:e.ATH.adjustr[i])return!0;if(n[i]0;){var a=r[i],o=t[a];if(o){var s=e[a],l=void 0===s||o(s,a,e);if(!0!==l)throw new TypeError("option "+a+" must be "+l)}else if(!0!==n)throw Error("Unknown option "+a)}},validators:i}},"/86O":function(e,t,n){"use strict";var r=n("K6q6"),i=n("U4LY"),a=n("wq5K"),o=n("/gxq"),s=n("3h1/"),l=n("MAom"),c=n("PD67"),u=n("8b51"),h=n("9qnA"),d={fill:"#000"},f={style:Object(o.defaults)({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},h.a.style)},p=function(e){function t(t){var n=e.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=d,n.attr(t),n}return Object(r.a)(t,e),t.prototype.childrenRef=function(){return this._children},t.prototype.update=function(){e.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var t=0;t0,L=null!=e.width&&("truncate"===e.overflow||"break"===e.overflow||"breakAll"===e.overflow),D=o.calculatedLineHeight,F=0;F=0&&"right"===(M=S[I]).align;)this._placeToken(M,e,k,A,O,"right",y),T-=M.width,O-=M.width,I--;for(B+=(r-(B-m)-(v-O)-T)/2;E<=I;)M=S[E],this._placeToken(M,e,k,A,B+M.width/2,"center",y),B+=M.width,E++;A+=k}},t.prototype._placeToken=function(e,t,n,r,i,l,c){var h=t.rich[e.styleName]||{};h.text=e.text;var d=e.verticalAlign,f=r+n/2;"top"===d?f=r+e.height/2:"bottom"===d&&(f=r+n-e.height/2),!e.isLineHolder&&w(h)&&this._renderBackground(h,t,"right"===l?i-e.width:"center"===l?i-e.width/2:i,f-e.height/2,e.width,e.height);var p=!!h.backgroundColor,g=e.textPadding;g&&(i=b(i,l,g),f-=e.height/2-g[0]-e.innerHeight/2);var m=this._getOrCreateChild(a.a),A=m.createStyle();m.useStyle(A);var _=this._defaultStyle,x=!1,S=0,C=y("fill"in h?h.fill:"fill"in t?t.fill:(x=!0,_.fill)),k=v("stroke"in h?h.stroke:"stroke"in t?t.stroke:p||c||_.autoStroke&&!x?null:(S=2,_.stroke)),T=h.textShadowBlur>0||t.textShadowBlur>0;A.text=e.text,A.x=i,A.y=f,T&&(A.shadowBlur=h.textShadowBlur||t.textShadowBlur||0,A.shadowColor=h.textShadowColor||t.textShadowColor||"transparent",A.shadowOffsetX=h.textShadowOffsetX||t.textShadowOffsetX||0,A.shadowOffsetY=h.textShadowOffsetY||t.textShadowOffsetY||0),A.textAlign=l,A.textBaseline="middle",A.font=e.font||s.a,A.opacity=Object(o.retrieve3)(h.opacity,t.opacity,1),k&&(A.lineWidth=Object(o.retrieve3)(h.lineWidth,t.lineWidth,S),A.lineDash=Object(o.retrieve2)(h.lineDash,t.lineDash),A.lineDashOffset=t.lineDashOffset||0,A.stroke=k),C&&(A.fill=C);var E=e.contentWidth,B=e.contentHeight;m.setBoundingRect(new u.a(Object(s.b)(A.x,E,A.textAlign),Object(s.c)(A.y,B,A.textBaseline),E,B))},t.prototype._renderBackground=function(e,t,n,r,i,a){var s,u,h,d=e.backgroundColor,f=e.borderWidth,p=e.borderColor,g=d&&d.image,m=d&&!g,A=e.borderRadius,v=this;if(m||e.lineHeight||f&&p){(s=this._getOrCreateChild(c.a)).useStyle(s.createStyle()),s.style.fill=null;var y=s.shape;y.x=n,y.y=r,y.width=i,y.height=a,y.r=A,s.dirtyShape()}if(m)(h=s.style).fill=d||null,h.fillOpacity=Object(o.retrieve2)(e.fillOpacity,1);else if(g){(u=this._getOrCreateChild(l.a)).onload=function(){v.dirtyStyle()};var b=u.style;b.image=d.image,b.x=n,b.y=r,b.width=i,b.height=a}f&&p&&((h=s.style).lineWidth=f,h.stroke=p,h.strokeOpacity=Object(o.retrieve2)(e.strokeOpacity,1),h.lineDash=e.borderDash,h.lineDashOffset=e.borderDashOffset||0,s.strokeContainThreshold=0,s.hasFill()&&s.hasStroke()&&(h.strokeFirst=!0,h.lineWidth*=2));var _=(s||u).style;_.shadowBlur=e.shadowBlur||0,_.shadowColor=e.shadowColor||"transparent",_.shadowOffsetX=e.shadowOffsetX||0,_.shadowOffsetY=e.shadowOffsetY||0,_.opacity=Object(o.retrieve3)(e.opacity,t.opacity,1)},t.makeFont=function(e){var t="";if(e.fontSize||e.fontFamily||e.fontWeight){var n="";n="string"!=typeof e.fontSize||-1===e.fontSize.indexOf("px")&&-1===e.fontSize.indexOf("rem")&&-1===e.fontSize.indexOf("em")?isNaN(+e.fontSize)?"12px":e.fontSize+"px":e.fontSize,t=[e.fontStyle,e.fontWeight,n,e.fontFamily||"sans-serif"].join(" ")}return t&&Object(o.trim)(t)||e.textFont||e.font},t}(h.c),g={left:!0,right:1,center:1},m={top:1,bottom:1,middle:1};function A(e){if(e){e.font=p.makeFont(e);var t=e.align;"middle"===t&&(t="center"),e.align=null==t||g[t]?t:"left";var n=e.verticalAlign;"center"===n&&(n="middle"),e.verticalAlign=null==n||m[n]?n:"top",e.padding&&(e.padding=Object(o.normalizeCssArray)(e.padding))}}function v(e,t){return null==e||t<=0||"transparent"===e||"none"===e?null:e.image||e.colorStops?"#000":e}function y(e){return null==e||"none"===e?null:e.image||e.colorStops?"#000":e}function b(e,t,n){return"right"===t?e-n[1]:"center"===t?e+n[3]/2-n[1]/2:e+n[3]}function _(e){var t=e.text;return null!=t&&(t+=""),t}function w(e){return!!(e.backgroundColor||e.lineHeight||e.borderWidth&&e.borderColor)}t.a=p},"/Aqo":function(e,t,n){"use strict";var r=n("K6q6"),i=n("/gxq"),a=n("avYi"),o=n("8b51"),s=function(e){function t(t){var n=e.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(t),n}return Object(r.a)(t,e),t.prototype.childrenRef=function(){return this._children},t.prototype.children=function(){return this._children.slice()},t.prototype.childAt=function(e){return this._children[e]},t.prototype.childOfName=function(e){for(var t=this._children,n=0;n=0&&(n.splice(r,0,e),this._doAdd(e))}return this},t.prototype.replace=function(e,t){var n=i.indexOf(this._children,e);return n>=0&&this.replaceAt(t,n),this},t.prototype.replaceAt=function(e,t){var n=this._children,r=n[t];if(e&&e!==this&&e.parent!==this&&e!==r){n[t]=e,r.parent=null;var i=this.__zr;i&&r.removeSelfFromZr(i),this._doAdd(e)}return this},t.prototype._doAdd=function(e){e.parent&&e.parent.remove(e),e.parent=this;var t=this.__zr;t&&t!==e.__zr&&e.addSelfToZr(t),t&&t.refresh()},t.prototype.remove=function(e){var t=this.__zr,n=this._children,r=i.indexOf(n,e);return r<0?this:(n.splice(r,1),e.parent=null,t&&e.removeSelfFromZr(t),t&&t.refresh(),this)},t.prototype.removeAll=function(){for(var e=this._children,t=this.__zr,n=0;n=t)){var n=this._store.getProvider();this._updateOrdinalMeta();var i=this._nameList,a=this._idList;if(n.getSource().sourceFormat===m.f&&!n.pure)for(var o=[],s=e;s0},e.prototype.ensureUniqueItemVisual=function(e,t){var n=this._itemVisuals,r=n[e];r||(r=n[e]={});var i=r[t];return null==i&&(i=this.getVisual(t),u.isArray(i)?i=i.slice():w(i)&&(i=u.extend({},i)),r[t]=i),i},e.prototype.setItemVisual=function(e,t,n){var r=this._itemVisuals[e]||{};this._itemVisuals[e]=r,w(t)?u.extend(r,t):r[t]=n},e.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},e.prototype.setLayout=function(e,t){if(w(e))for(var n in e)e.hasOwnProperty(n)&&this.setLayout(n,e[n]);else this._layout[e]=t},e.prototype.getLayout=function(e){return this._layout[e]},e.prototype.getItemLayout=function(e){return this._itemLayouts[e]},e.prototype.setItemLayout=function(e,t,n){this._itemLayouts[e]=n?u.extend(this._itemLayouts[e]||{},t):t},e.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},e.prototype.setItemGraphicEl=function(e,t){var n=this.hostModel&&this.hostModel.seriesIndex;Object(v.b)(n,this.dataType,e,t),this._graphicEls[e]=t},e.prototype.getItemGraphicEl=function(e){return this._graphicEls[e]},e.prototype.eachItemGraphicEl=function(e,t){u.each(this._graphicEls,function(n,r){n&&e&&e.call(t,n,r)})},e.prototype.cloneShallow=function(t){return t||(t=new e(this._schema?this._schema:x(this.dimensions,this._getDimInfo,this),this.hostModel)),s(t,this),t._store=this._store,t},e.prototype.wrapMethod=function(e,t){var n=this[e];"function"==typeof n&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(e),this[e]=function(){var e=n.apply(this,arguments);return t.apply(this,[e].concat(u.slice(arguments)))})},e.internalField=(r=function(e){var t=e._invertedIndicesMap;u.each(t,function(n,r){var i=e._dimInfos[r],a=i.ordinalMeta,o=e._store;if(a){n=t[r]=new S(a.categories.length);for(var s=0;s1&&(l+="__ec__"+u),r[t]=l}})),e}();t.a=T},"/bQp":function(e,t){e.exports={}},"/gxq":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.$override=function(e,t){p[e]=t},t.guid=function(){return g++},t.logError=function(){for(var e=[],t=0;t=0&&(t=e.slice(r),e=e.slice(0,r));var i=e.indexOf("?");return i>=0&&(n=e.slice(i+1),e=e.slice(0,i)),{path:e,query:n,hash:t}}(a.path||""),d=t&&t.path||"/",f=c.path?x(c.path,d,n||a.append):d,p=function(e,t,n){void 0===t&&(t={});var r,i=n||h;try{r=i(e||"")}catch(e){r={}}for(var a in t){var o=t[a];r[a]=Array.isArray(o)?o.map(u):u(o)}return r}(c.query,a.query,r&&r.options.parseQuery),g=a.hash||c.hash;return g&&"#"!==g.charAt(0)&&(g="#"+g),{_normalized:!0,path:f,query:p,hash:g}}var q,Q=[String,Object],G=[String,Array],W=function(){},$={name:"RouterLink",props:{to:{type:Q,required:!0},tag:{type:String,default:"a"},custom:Boolean,exact:Boolean,exactPath:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:G,default:"click"}},render:function(e){var t=this,n=this.$router,r=this.$route,a=n.resolve(this.to,r,this.append),o=a.location,s=a.route,l=a.href,c={},u=n.options.linkActiveClass,h=n.options.linkExactActiveClass,d=null==u?"router-link-active":u,g=null==h?"router-link-exact-active":h,m=null==this.activeClass?d:this.activeClass,A=null==this.exactActiveClass?g:this.exactActiveClass,y=s.redirectedFrom?p(null,V(s.redirectedFrom),null,n):s;c[A]=v(r,y,this.exactPath),c[m]=this.exact||this.exactPath?c[A]:function(e,t){return 0===e.path.replace(f,"/").indexOf(t.path.replace(f,"/"))&&(!t.hash||e.hash===t.hash)&&function(e,t){for(var n in t)if(!(n in e))return!1;return!0}(e.query,t.query)}(r,y);var b=c[A]?this.ariaCurrentValue:null,_=function(e){Y(e)&&(t.replace?n.replace(o,W):n.push(o,W))},w={click:Y};Array.isArray(this.event)?this.event.forEach(function(e){w[e]=_}):w[this.event]=_;var x={class:c},S=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:l,route:s,navigate:_,isActive:c[m],isExactActive:c[A]});if(S){if(1===S.length)return S[0];if(S.length>1||!S.length)return 0===S.length?e():e("span",{},S)}if("a"===this.tag)x.on=w,x.attrs={href:l,"aria-current":b};else{var C=function e(t){if(t)for(var n,r=0;r-1&&(s.params[d]=n.params[d]);return s.path=z(u.path,s.params),l(u,s,o)}if(s.path){s.params={};for(var f=0;f=e.length?n():e[i]?t(e[i],function(){r(i+1)}):r(i+1)};r(0)}var _e={redirected:2,aborted:4,cancelled:8,duplicated:16};function we(e,t){return Se(e,t,_e.redirected,'Redirected when going from "'+e.fullPath+'" to "'+function(e){if("string"==typeof e)return e;if("path"in e)return e.path;var t={};return Ce.forEach(function(n){n in e&&(t[n]=e[n])}),JSON.stringify(t,null,2)}(t)+'" via a navigation guard.')}function xe(e,t){return Se(e,t,_e.cancelled,'Navigation cancelled from "'+e.fullPath+'" to "'+t.fullPath+'" with a new navigation.')}function Se(e,t,n,r){var i=new Error(r);return i._isRouter=!0,i.from=e,i.to=t,i.type=n,i}var Ce=["params","query","hash"];function ke(e){return Object.prototype.toString.call(e).indexOf("Error")>-1}function Te(e,t){return ke(e)&&e._isRouter&&(null==t||e.type===t)}function Ee(e){return function(t,n,r){var i=!1,a=0,o=null;Be(e,function(e,t,n,s){if("function"==typeof e&&void 0===e.cid){i=!0,a++;var l,c=Me(function(t){var i;((i=t).__esModule||Ie&&"Module"===i[Symbol.toStringTag])&&(t=t.default),e.resolved="function"==typeof t?t:q.extend(t),n.components[s]=t,--a<=0&&r()}),u=Me(function(e){var t="Failed to resolve async component "+s+": "+e;o||(o=ke(e)?e:new Error(t),r(o))});try{l=e(c,u)}catch(e){u(e)}if(l)if("function"==typeof l.then)l.then(c,u);else{var h=l.component;h&&"function"==typeof h.then&&h.then(c,u)}}}),i||r()}}function Be(e,t){return Oe(e.map(function(e){return Object.keys(e.components).map(function(n){return t(e.components[n],e.instances[n],e,n)})}))}function Oe(e){return Array.prototype.concat.apply([],e)}var Ie="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function Me(e){var t=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!t)return t=!0,e.apply(this,n)}}var Pe=function(e,t){this.router=e,this.base=function(e){if(!e)if(X){var t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else e="/";"/"!==e.charAt(0)&&(e="/"+e);return e.replace(/\/$/,"")}(t),this.current=m,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function Le(e,t,n,r){var i=Be(e,function(e,r,i,a){var o=function(e,t){"function"!=typeof e&&(e=q.extend(e));return e.options[t]}(e,t);if(o)return Array.isArray(o)?o.map(function(e){return n(e,r,i,a)}):n(o,r,i,a)});return Oe(r?i.reverse():i)}function De(e,t){if(t)return function(){return e.apply(t,arguments)}}Pe.prototype.listen=function(e){this.cb=e},Pe.prototype.onReady=function(e,t){this.ready?e():(this.readyCbs.push(e),t&&this.readyErrorCbs.push(t))},Pe.prototype.onError=function(e){this.errorCbs.push(e)},Pe.prototype.transitionTo=function(e,t,n){var r,i=this;try{r=this.router.match(e,this.current)}catch(e){throw this.errorCbs.forEach(function(t){t(e)}),e}var a=this.current;this.confirmTransition(r,function(){i.updateRoute(r),t&&t(r),i.ensureURL(),i.router.afterHooks.forEach(function(e){e&&e(r,a)}),i.ready||(i.ready=!0,i.readyCbs.forEach(function(e){e(r)}))},function(e){n&&n(e),e&&!i.ready&&(Te(e,_e.redirected)&&a===m||(i.ready=!0,i.readyErrorCbs.forEach(function(t){t(e)})))})},Pe.prototype.confirmTransition=function(e,t,n){var i=this,a=this.current;this.pending=e;var o,s,l=function(e){!Te(e)&&ke(e)&&(i.errorCbs.length?i.errorCbs.forEach(function(t){t(e)}):(r(),console.error(e))),n&&n(e)},c=e.matched.length-1,u=a.matched.length-1;if(v(e,a)&&c===u&&e.matched[c]===a.matched[u])return this.ensureURL(),l(((s=Se(o=a,e,_e.duplicated,'Avoided redundant navigation to current location: "'+o.fullPath+'".')).name="NavigationDuplicated",s));var h=function(e,t){var n,r=Math.max(e.length,t.length);for(n=0;n0)){var t=this.router,n=t.options.scrollBehavior,r=Ae&&n;r&&this.listeners.push(se());var i=function(){var n=e.current,i=Re(e.base);e.current===m&&i===e._startLocation||e.transitionTo(i,function(e){r&&le(t,e,n,!0)})};window.addEventListener("popstate",i),this.listeners.push(function(){window.removeEventListener("popstate",i)})}},t.prototype.go=function(e){window.history.go(e)},t.prototype.push=function(e,t,n){var r=this,i=this.current;this.transitionTo(e,function(e){ve(S(r.base+e.fullPath)),le(r.router,e,i,!1),t&&t(e)},n)},t.prototype.replace=function(e,t,n){var r=this,i=this.current;this.transitionTo(e,function(e){ye(S(r.base+e.fullPath)),le(r.router,e,i,!1),t&&t(e)},n)},t.prototype.ensureURL=function(e){if(Re(this.base)!==this.current.fullPath){var t=S(this.base+this.current.fullPath);e?ve(t):ye(t)}},t.prototype.getCurrentLocation=function(){return Re(this.base)},t}(Pe);function Re(e){var t=window.location.pathname,n=t.toLowerCase(),r=e.toLowerCase();return!e||n!==r&&0!==n.indexOf(S(r+"/"))||(t=t.slice(e.length)),(t||"/")+window.location.search+window.location.hash}var Ne=function(e){function t(t,n,r){e.call(this,t,n),r&&function(e){var t=Re(e);if(!/^\/#/.test(t))return window.location.replace(S(e+"/#"+t)),!0}(this.base)||je()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.setupListeners=function(){var e=this;if(!(this.listeners.length>0)){var t=this.router.options.scrollBehavior,n=Ae&&t;n&&this.listeners.push(se());var r=function(){var t=e.current;je()&&e.transitionTo(Ue(),function(r){n&&le(e.router,r,t,!0),Ae||Ve(r.fullPath)})},i=Ae?"popstate":"hashchange";window.addEventListener(i,r),this.listeners.push(function(){window.removeEventListener(i,r)})}},t.prototype.push=function(e,t,n){var r=this,i=this.current;this.transitionTo(e,function(e){ze(e.fullPath),le(r.router,e,i,!1),t&&t(e)},n)},t.prototype.replace=function(e,t,n){var r=this,i=this.current;this.transitionTo(e,function(e){Ve(e.fullPath),le(r.router,e,i,!1),t&&t(e)},n)},t.prototype.go=function(e){window.history.go(e)},t.prototype.ensureURL=function(e){var t=this.current.fullPath;Ue()!==t&&(e?ze(t):Ve(t))},t.prototype.getCurrentLocation=function(){return Ue()},t}(Pe);function je(){var e=Ue();return"/"===e.charAt(0)||(Ve("/"+e),!1)}function Ue(){var e=window.location.href,t=e.indexOf("#");return t<0?"":e=e.slice(t+1)}function He(e){var t=window.location.href,n=t.indexOf("#");return(n>=0?t.slice(0,n):t)+"#"+e}function ze(e){Ae?ve(He(e)):window.location.hash=e}function Ve(e){Ae?ye(He(e)):window.location.replace(He(e))}var qe=function(e){function t(t,n){e.call(this,t,n),this.stack=[],this.index=-1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(e,t,n){var r=this;this.transitionTo(e,function(e){r.stack=r.stack.slice(0,r.index+1).concat(e),r.index++,t&&t(e)},n)},t.prototype.replace=function(e,t,n){var r=this;this.transitionTo(e,function(e){r.stack=r.stack.slice(0,r.index).concat(e),t&&t(e)},n)},t.prototype.go=function(e){var t=this,n=this.index+e;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,function(){var e=t.current;t.index=n,t.updateRoute(r),t.router.afterHooks.forEach(function(t){t&&t(r,e)})},function(e){Te(e,_e.duplicated)&&(t.index=n)})}},t.prototype.getCurrentLocation=function(){var e=this.stack[this.stack.length-1];return e?e.fullPath:"/"},t.prototype.ensureURL=function(){},t}(Pe),Qe=function(e){void 0===e&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=J(e.routes||[],this);var t=e.mode||"hash";switch(this.fallback="history"===t&&!Ae&&!1!==e.fallback,this.fallback&&(t="hash"),X||(t="abstract"),this.mode=t,t){case"history":this.history=new Fe(this,e.base);break;case"hash":this.history=new Ne(this,e.base,this.fallback);break;case"abstract":this.history=new qe(this,e.base);break;default:0}},Ge={currentRoute:{configurable:!0}};function We(e,t){return e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}Qe.prototype.match=function(e,t,n){return this.matcher.match(e,t,n)},Ge.currentRoute.get=function(){return this.history&&this.history.current},Qe.prototype.init=function(e){var t=this;if(this.apps.push(e),e.$once("hook:destroyed",function(){var n=t.apps.indexOf(e);n>-1&&t.apps.splice(n,1),t.app===e&&(t.app=t.apps[0]||null),t.app||t.history.teardown()}),!this.app){this.app=e;var n=this.history;if(n instanceof Fe||n instanceof Ne){var r=function(e){n.setupListeners(),function(e){var r=n.current,i=t.options.scrollBehavior;Ae&&i&&"fullPath"in e&&le(t,e,r,!1)}(e)};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen(function(e){t.apps.forEach(function(t){t._route=e})})}},Qe.prototype.beforeEach=function(e){return We(this.beforeHooks,e)},Qe.prototype.beforeResolve=function(e){return We(this.resolveHooks,e)},Qe.prototype.afterEach=function(e){return We(this.afterHooks,e)},Qe.prototype.onReady=function(e,t){this.history.onReady(e,t)},Qe.prototype.onError=function(e){this.history.onError(e)},Qe.prototype.push=function(e,t,n){var r=this;if(!t&&!n&&"undefined"!=typeof Promise)return new Promise(function(t,n){r.history.push(e,t,n)});this.history.push(e,t,n)},Qe.prototype.replace=function(e,t,n){var r=this;if(!t&&!n&&"undefined"!=typeof Promise)return new Promise(function(t,n){r.history.replace(e,t,n)});this.history.replace(e,t,n)},Qe.prototype.go=function(e){this.history.go(e)},Qe.prototype.back=function(){this.go(-1)},Qe.prototype.forward=function(){this.go(1)},Qe.prototype.getMatchedComponents=function(e){var t=e?e.matched?e:this.resolve(e).route:this.currentRoute;return t?[].concat.apply([],t.matched.map(function(e){return Object.keys(e.components).map(function(t){return e.components[t]})})):[]},Qe.prototype.resolve=function(e,t,n){var r=V(e,t=t||this.history.current,n,this),i=this.match(r,t),a=i.redirectedFrom||i.fullPath;return{location:r,route:i,href:function(e,t,n){var r="hash"===n?"#"+t:t;return e?S(e+"/"+r):r}(this.history.base,a,this.mode),normalizedTo:r,resolved:i}},Qe.prototype.getRoutes=function(){return this.matcher.getRoutes()},Qe.prototype.addRoute=function(e,t){this.matcher.addRoute(e,t),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},Qe.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(Qe.prototype,Ge),Qe.install=K,Qe.version="3.5.2",Qe.isNavigationFailure=Te,Qe.NavigationFailureType=_e,Qe.START_LOCATION=m,X&&window.Vue&&window.Vue.use(Qe),t.a=Qe},"/v5b":function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r,i=n("/gxq"),a=n("Tu23"),o=n("rrAD"),s="undefined"==typeof Uint32Array?Array:Uint32Array,l="undefined"==typeof Uint16Array?Array:Uint16Array,c="undefined"==typeof Int32Array?Array:Int32Array,u="undefined"==typeof Float64Array?Array:Float64Array,h={float:u,int:c,ordinal:Array,number:Array,time:u};function d(e){return e>65535?s:l}function f(e,t,n,r,i){var a=h[n||"float"];if(i){var o=e[t],s=o&&o.length;if(s!==r){for(var l=new a(r),c=0;cA[1]&&(A[1]=m)}return this._rawCount=this._count=l,{start:s,end:l}},e.prototype._initDataFromProvider=function(e,t,n){for(var r=this._provider,a=this._chunks,o=this._dimensions,s=o.length,l=this._rawExtent,c=Object(i.map)(o,function(e){return e.property}),u=0;uv[1]&&(v[1]=A)}}!r.persistent&&r.clean&&r.clean(),this._rawCount=this._count=t,this._extent=[]},e.prototype.count=function(){return this._count},e.prototype.get=function(e,t){if(!(t>=0&&t=0&&t=this._rawCount||e<0)return-1;if(!this._indices)return e;var t=this._indices,n=t[e];if(null!=n&&ne))return a;i=a-1}}return-1},e.prototype.indicesOfNearest=function(e,t,n){var r=this._chunks[e],i=[];if(!r)return i;null==n&&(n=1/0);for(var a=1/0,o=-1,s=0,l=0,c=this.count();l=0&&o<0)&&(a=h,o=u,s=0),u===o&&(i[s++]=l))}return i.length=s,i},e.prototype.getIndices=function(){var e,t=this._indices;if(t){var n=t.constructor,r=this._count;if(n===Array){e=new n(r);for(var i=0;i=u&&_<=h||isNaN(_))&&(s[l++]=g),g++}p=!0}else if(2===a){m=f[r[0]];var v=f[r[1]],y=e[r[1]][0],b=e[r[1]][1];for(A=0;A=u&&_<=h||isNaN(_))&&(w>=y&&w<=b||isNaN(w))&&(s[l++]=g),g++}p=!0}}if(!p)if(1===a)for(A=0;A=u&&_<=h||isNaN(_))&&(s[l++]=x)}else for(A=0;Ae[k][1])&&(S=!1)}S&&(s[l++]=t.getRawIndex(A))}return lm[1]&&(m[1]=g)}}}},e.prototype.lttbDownSample=function(e,t){var n,r,i,a=this.clone([e],!0),o=a._chunks[e],s=this.count(),l=0,c=Math.floor(1/t),u=this.getRawIndex(0),h=new(d(this._rawCount))(Math.ceil(s/c)+2);h[l++]=u;for(var f=1;fn&&(n=r,i=S)}h[l++]=i,u=i}return h[l++]=this.getRawIndex(s-1),a._count=l,a._indices=h,a.getRawIndex=this._getRawIdx,a},e.prototype.downSample=function(e,t,n,r){for(var i=this.clone([e],!0),a=i._chunks,o=[],s=Math.floor(1/t),l=a[e],c=this.count(),u=i._rawExtent[e]=[1/0,-1/0],h=new(d(this._rawCount))(Math.ceil(c/s)),f=0,p=0;pc-p&&(s=c-p,o.length=s);for(var g=0;gu[1]&&(u[1]=A),h[f++]=v}return i._count=f,i._indices=h,i._updateGetRawIdx(),i},e.prototype.each=function(e,t){if(this._count)for(var n=e.length,r=this._chunks,i=0,a=this.count();io&&(o=l)}return r=[a,o],this._extent[e]=r,r},e.prototype.getRawDataItem=function(e){var t=this.getRawIndex(e);if(this._provider.persistent)return this._provider.getItem(t);for(var n=[],r=this._chunks,i=0;i=0?this._indices[e]:-1},e.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},e.internalField=function(){function e(e,t,n,r){return Object(a.d)(e[r],this._dimensions[r])}r={arrayRows:e,objectRows:function(e,t,n,r){return Object(a.d)(e[t],this._dimensions[r])},keyedColumns:e,original:function(e,t,n,r){var i=e&&(null==e.value?e:e.value);return Object(a.d)(i instanceof Array?i[r]:i,this._dimensions[r])},typedArray:function(e,t,n,r){return e[r]}}}(),e}();t.b=p},"02w1":function(e,t,n){"use strict";t.__esModule=!0,t.removeResizeListener=t.addResizeListener=void 0;var r,i=n("z+gd"),a=(r=i)&&r.__esModule?r:{default:r};var o="undefined"==typeof window,s=function(e){var t=e,n=Array.isArray(t),r=0;for(t=n?t:t[Symbol.iterator]();;){var i;if(n){if(r>=t.length)break;i=t[r++]}else{if((r=t.next()).done)break;i=r.value}var a=i.target.__resizeListeners__||[];a.length&&a.forEach(function(e){e()})}};t.addResizeListener=function(e,t){o||(e.__resizeListeners__||(e.__resizeListeners__=[],e.__ro__=new a.default(s),e.__ro__.observe(e)),e.__resizeListeners__.push(t))},t.removeResizeListener=function(e,t){e&&e.__resizeListeners__&&(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),e.__resizeListeners__.length||e.__ro__.disconnect())}},"06OY":function(e,t,n){var r=n("3Eo+")("meta"),i=n("EqjI"),a=n("D2L2"),o=n("evD5").f,s=0,l=Object.isExtensible||function(){return!0},c=!n("S82l")(function(){return l(Object.preventExtensions({}))}),u=function(e){o(e,r,{value:{i:"O"+ ++s,w:{}}})},h=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,r)){if(!l(e))return"F";if(!t)return"E";u(e)}return e[r].i},getWeak:function(e,t){if(!a(e,r)){if(!l(e))return!0;if(!t)return!1;u(e)}return e[r].w},onFreeze:function(e){return c&&h.NEED&&l(e)&&!a(e,r)&&u(e),e}}},"0hxZ":function(e,t,n){var r=n("To6e"),i=(r.System,r.VbrMode,r.Float,r.ShortBlock,r.Util,r.Arrays,r.new_array_n,r.new_byte,r.new_double,r.new_float),a=(r.new_float_n,r.new_int),o=(r.new_int_n,r.assert,n("Y2/2"));e.exports=function(){this.linprebuf=i(2*o.MAX_ORDER),this.linpre=0,this.lstepbuf=i(o.MAX_SAMPLES_PER_WINDOW+o.MAX_ORDER),this.lstep=0,this.loutbuf=i(o.MAX_SAMPLES_PER_WINDOW+o.MAX_ORDER),this.lout=0,this.rinprebuf=i(2*o.MAX_ORDER),this.rinpre=0,this.rstepbuf=i(o.MAX_SAMPLES_PER_WINDOW+o.MAX_ORDER),this.rstep=0,this.routbuf=i(o.MAX_SAMPLES_PER_WINDOW+o.MAX_ORDER),this.rout=0,this.sampleWindow=0,this.totsamp=0,this.lsum=0,this.rsum=0,this.freqindex=0,this.first=0,this.A=a(0|o.STEPS_per_dB*o.MAX_dB),this.B=a(0|o.STEPS_per_dB*o.MAX_dB)}},"0kY3":function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=104)}({0:function(e,t,n){"use strict";function r(e,t,n,r,i,a,o,s){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),a&&(c._scopeId="data-v-"+a),o?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},c._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,l):[l]}return{exports:e,options:c}}n.d(t,"a",function(){return r})},10:function(e,t){e.exports=n("HJMx")},104:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["el-input-number",e.inputNumberSize?"el-input-number--"+e.inputNumberSize:"",{"is-disabled":e.inputNumberDisabled},{"is-without-controls":!e.controls},{"is-controls-right":e.controlsAtRight}],on:{dragstart:function(e){e.preventDefault()}}},[e.controls?n("span",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.decrease,expression:"decrease"}],staticClass:"el-input-number__decrease",class:{"is-disabled":e.minDisabled},attrs:{role:"button"},on:{keydown:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.decrease(t):null}}},[n("i",{class:"el-icon-"+(e.controlsAtRight?"arrow-down":"minus")})]):e._e(),e.controls?n("span",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.increase,expression:"increase"}],staticClass:"el-input-number__increase",class:{"is-disabled":e.maxDisabled},attrs:{role:"button"},on:{keydown:function(t){return"button"in t||!e._k(t.keyCode,"enter",13,t.key,"Enter")?e.increase(t):null}}},[n("i",{class:"el-icon-"+(e.controlsAtRight?"arrow-up":"plus")})]):e._e(),n("el-input",{ref:"input",attrs:{value:e.displayValue,placeholder:e.placeholder,disabled:e.inputNumberDisabled,size:e.inputNumberSize,max:e.max,min:e.min,name:e.name,label:e.label},on:{blur:e.handleBlur,focus:e.handleFocus,input:e.handleInput,change:e.handleInputChange},nativeOn:{keydown:[function(t){return"button"in t||!e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?(t.preventDefault(),e.increase(t)):null},function(t){return"button"in t||!e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?(t.preventDefault(),e.decrease(t)):null}]}})],1)};r._withStripped=!0;var i=n(10),a=n.n(i),o=n(22),s=n.n(o),l=n(30),c={name:"ElInputNumber",mixins:[s()("input")],inject:{elForm:{default:""},elFormItem:{default:""}},directives:{repeatClick:l.a},components:{ElInput:a.a},props:{step:{type:Number,default:1},stepStrictly:{type:Boolean,default:!1},max:{type:Number,default:1/0},min:{type:Number,default:-1/0},value:{},disabled:Boolean,size:String,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:""},name:String,label:String,placeholder:String,precision:{type:Number,validator:function(e){return e>=0&&e===parseInt(e,10)}}},data:function(){return{currentValue:0,userInput:null}},watch:{value:{immediate:!0,handler:function(e){var t=void 0===e?e:Number(e);if(void 0!==t){if(isNaN(t))return;if(this.stepStrictly){var n=this.getPrecision(this.step),r=Math.pow(10,n);t=Math.round(t/this.step)*r*this.step/r}void 0!==this.precision&&(t=this.toPrecision(t,this.precision))}t>=this.max&&(t=this.max),t<=this.min&&(t=this.min),this.currentValue=t,this.userInput=null,this.$emit("input",t)}}},computed:{minDisabled:function(){return this._decrease(this.value,this.step)this.max},numPrecision:function(){var e=this.value,t=this.step,n=this.getPrecision,r=this.precision,i=n(t);return void 0!==r?(i>r&&console.warn("[Element Warn][InputNumber]precision should not be less than the decimal places of step"),r):Math.max(n(e),i)},controlsAtRight:function(){return this.controls&&"right"===this.controlsPosition},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},inputNumberSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},inputNumberDisabled:function(){return this.disabled||!!(this.elForm||{}).disabled},displayValue:function(){if(null!==this.userInput)return this.userInput;var e=this.currentValue;if("number"==typeof e){if(this.stepStrictly){var t=this.getPrecision(this.step),n=Math.pow(10,t);e=Math.round(e/this.step)*n*this.step/n}void 0!==this.precision&&(e=e.toFixed(this.precision))}return e}},methods:{toPrecision:function(e,t){return void 0===t&&(t=this.numPrecision),parseFloat(Math.round(e*Math.pow(10,t))/Math.pow(10,t))},getPrecision:function(e){if(void 0===e)return 0;var t=e.toString(),n=t.indexOf("."),r=0;return-1!==n&&(r=t.length-n-1),r},_increase:function(e,t){if("number"!=typeof e&&void 0!==e)return this.currentValue;var n=Math.pow(10,this.numPrecision);return this.toPrecision((n*e+n*t)/n)},_decrease:function(e,t){if("number"!=typeof e&&void 0!==e)return this.currentValue;var n=Math.pow(10,this.numPrecision);return this.toPrecision((n*e-n*t)/n)},increase:function(){if(!this.inputNumberDisabled&&!this.maxDisabled){var e=this.value||0,t=this._increase(e,this.step);this.setCurrentValue(t)}},decrease:function(){if(!this.inputNumberDisabled&&!this.minDisabled){var e=this.value||0,t=this._decrease(e,this.step);this.setCurrentValue(t)}},handleBlur:function(e){this.$emit("blur",e)},handleFocus:function(e){this.$emit("focus",e)},setCurrentValue:function(e){var t=this.currentValue;"number"==typeof e&&void 0!==this.precision&&(e=this.toPrecision(e,this.precision)),e>=this.max&&(e=this.max),e<=this.min&&(e=this.min),t!==e&&(this.userInput=null,this.$emit("input",e),this.$emit("change",e,t),this.currentValue=e)},handleInput:function(e){this.userInput=e},handleInputChange:function(e){var t=""===e?void 0:Number(e);isNaN(t)&&""!==e||this.setCurrentValue(t),this.userInput=null},select:function(){this.$refs.input.select()}},mounted:function(){var e=this.$refs.input.$refs.input;e.setAttribute("role","spinbutton"),e.setAttribute("aria-valuemax",this.max),e.setAttribute("aria-valuemin",this.min),e.setAttribute("aria-valuenow",this.currentValue),e.setAttribute("aria-disabled",this.inputNumberDisabled)},updated:function(){this.$refs&&this.$refs.input&&this.$refs.input.$refs.input.setAttribute("aria-valuenow",this.currentValue)}},u=n(0),h=Object(u.a)(c,r,[],!1,null,null,null);h.options.__file="packages/input-number/src/input-number.vue";var d=h.exports;d.install=function(e){e.component(d.name,d)};t.default=d},2:function(e,t){e.exports=n("2kvA")},22:function(e,t){e.exports=n("1oZe")},30:function(e,t,n){"use strict";var r=n(2);t.a={bind:function(e,t,n){var i=null,a=void 0,o=function(){return n.context[t.expression].apply()},s=function(){Date.now()-a<100&&o(),clearInterval(i),i=null};Object(r.on)(e,"mousedown",function(e){0===e.button&&(a=Date.now(),Object(r.once)(document,"mouseup",s),clearInterval(i),i=setInterval(o,100))})}}}})},"0mjX":function(e,t,n){var r=n("To6e"),i=(r.System,r.VbrMode,r.Float,r.ShortBlock,r.Util,r.Arrays,r.new_array_n,r.new_byte,r.new_double,r.new_float),a=(r.new_float_n,r.new_int),o=(r.new_int_n,r.assert,n("jhNZ"));e.exports=function(){this.xr=i(576),this.l3_enc=a(576),this.scalefac=a(o.SFBMAX),this.xrpow_max=0,this.part2_3_length=0,this.big_values=0,this.count1=0,this.global_gain=0,this.scalefac_compress=0,this.block_type=0,this.mixed_block_flag=0,this.table_select=a(3),this.subblock_gain=a(4),this.region0_count=0,this.region1_count=0,this.preflag=0,this.scalefac_scale=0,this.count1table_select=0,this.part2_length=0,this.sfb_lmax=0,this.sfb_smin=0,this.psy_lmax=0,this.sfbmax=0,this.psymax=0,this.sfbdivide=0,this.width=a(o.SFBMAX),this.window=a(o.SFBMAX),this.count1bits=0,this.sfb_partition_table=null,this.slen=a(4),this.max_nonzero_coeff=0;var e=this;function t(e){return new Int32Array(e)}this.assign=function(n){var r;e.xr=(r=n.xr,new Float32Array(r)),e.l3_enc=t(n.l3_enc),e.scalefac=t(n.scalefac),e.xrpow_max=n.xrpow_max,e.part2_3_length=n.part2_3_length,e.big_values=n.big_values,e.count1=n.count1,e.global_gain=n.global_gain,e.scalefac_compress=n.scalefac_compress,e.block_type=n.block_type,e.mixed_block_flag=n.mixed_block_flag,e.table_select=t(n.table_select),e.subblock_gain=t(n.subblock_gain),e.region0_count=n.region0_count,e.region1_count=n.region1_count,e.preflag=n.preflag,e.scalefac_scale=n.scalefac_scale,e.count1table_select=n.count1table_select,e.part2_length=n.part2_length,e.sfb_lmax=n.sfb_lmax,e.sfb_smin=n.sfb_smin,e.psy_lmax=n.psy_lmax,e.sfbmax=n.sfbmax,e.psymax=n.psymax,e.sfbdivide=n.sfbdivide,e.width=t(n.width),e.window=t(n.window),e.count1bits=n.count1bits,e.sfb_partition_table=n.sfb_partition_table.slice(0),e.slen=t(n.slen),e.max_nonzero_coeff=n.max_nonzero_coeff}}},"0sHC":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("dE09"),i=n("dOVI"),a=n("C7PF"),o=n("GxVO"),s=n("TaTK"),l=n("MAom"),c=n("/Aqo"),u=n("/86O"),h=n("Of86"),d=n("udrn"),f=n("sRta"),p=n("K6q6"),g=function(){return function(){this.cx=0,this.cy=0,this.r=0,this.r0=0}}(),m=function(e){function t(t){return e.call(this,t)||this}return Object(p.a)(t,e),t.prototype.getDefaultShape=function(){return new g},t.prototype.buildPath=function(e,t){var n=t.cx,r=t.cy,i=2*Math.PI;e.moveTo(n+t.r,r),e.arc(n,r,t.r,0,i,!1),e.moveTo(n+t.r0,r),e.arc(n,r,t.r0,0,i,!0)},t}(o.b);m.prototype.type="ring";var A=m,v=n("+UTs"),y=n("BeCT"),b=n("PD67"),_=n("KsMi"),w=n("AAi1"),x=[],S=function(){return function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1}}();function C(e,t,n){var r=e.cpx2,i=e.cpy2;return null===r||null===i?[(n?w.b:w.a)(e.x1,e.cpx1,e.cpx2,e.x2,t),(n?w.b:w.a)(e.y1,e.cpy1,e.cpy2,e.y2,t)]:[(n?w.i:w.h)(e.x1,e.cpx1,e.x2,t),(n?w.i:w.h)(e.y1,e.cpy1,e.y2,t)]}var k=function(e){function t(t){return e.call(this,t)||this}return Object(p.a)(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new S},t.prototype.buildPath=function(e,t){var n=t.x1,r=t.y1,i=t.x2,a=t.y2,o=t.cpx1,s=t.cpy1,l=t.cpx2,c=t.cpy2,u=t.percent;0!==u&&(e.moveTo(n,r),null==l||null==c?(u<1&&(Object(w.n)(n,o,i,u,x),o=x[1],i=x[2],Object(w.n)(r,s,a,u,x),s=x[1],a=x[2]),e.quadraticCurveTo(o,s,i,a)):(u<1&&(Object(w.g)(n,o,l,i,u,x),o=x[1],l=x[2],i=x[3],Object(w.g)(r,s,c,a,u,x),s=x[1],c=x[2],a=x[3]),e.bezierCurveTo(o,s,l,c,i,a)))},t.prototype.pointAt=function(e){return C(this.shape,e,!1)},t.prototype.tangentAt=function(e){var t=C(this.shape,e,!0);return a.normalize(t,t)},t}(o.b);k.prototype.type="bezier-curve";var T=k,E=function(){return function(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0}}(),B=function(e){function t(t){return e.call(this,t)||this}return Object(p.a)(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new E},t.prototype.buildPath=function(e,t){var n=t.cx,r=t.cy,i=Math.max(t.r,0),a=t.startAngle,o=t.endAngle,s=t.clockwise,l=Math.cos(a),c=Math.sin(a);e.moveTo(l*i+n,c*i+r),e.arc(n,r,i,a,o,!s)},t}(o.b);B.prototype.type="arc";var O=B,I=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="compound",t}return Object(p.a)(t,e),t.prototype._updatePathDirty=function(){for(var e=this.shape.paths,t=this.shapeChanged(),n=0;nR[1]){if(o=!1,i)return o;var c=Math.abs(R[0]-F[1]),u=Math.abs(F[0]-R[1]);Math.min(c,u)>r.len()&&(cMath.abs(a[1])?a[0]>0?"right":"left":a[1]>0?"bottom":"top"},t.groupTransition=function(e,t,n){if(!e||!t)return;function r(e){var t={x:e.x,y:e.y,rotation:e.rotation};return function(e){return null!=e.shape}(e)&&(t.shape=Object(V.extend)({},e.shape)),t}var i=(a=e,o={},a.traverse(function(e){re(e)&&e.anid&&(o[e.anid]=e)}),o);var a,o;t.traverse(function(e){if(re(e)&&e.anid){var t=i[e.anid];if(t){var a=r(e);e.attr(r(t)),Object(Q.h)(e,a,n,Object(q.a)(e).dataIndex)}}})},t.clipPointsByRect=function(e,t){return Object(V.map)(e,function(e){var n=e[0];n=G(n,t.x),n=W(n,t.x+t.width);var r=e[1];return r=G(r,t.y),r=W(r,t.y+t.height),[n,r]})},t.clipRectByRect=function(e,t){var n=G(e.x,t.x),r=W(e.x+e.width,t.x+t.width),i=G(e.y,t.y),a=W(e.y+e.height,t.y+t.height);if(r>=n&&a>=i)return{x:n,y:i,width:r-n,height:a-i}},t.createIcon=function(e,t,n){var r=Object(V.extend)({rectHover:!0},t),i=r.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},e)return 0===e.indexOf("image://")?(i.image=e.slice(8),Object(V.defaults)(i,n),new l.a(r)):X(e.replace("path://",""),r,n,"center")},t.linePolygonIntersect=function(e,t,n,r,i){for(var a=0,o=i[i.length-1];a=-1e-6)return!1;var p=e-i,g=t-a,m=ae(p,g,c,u)/f;if(m<0||m>1)return!1;var A=ae(p,g,h,d)/f;return!(A<0||A>1)}function ae(e,t,n,r){return e*r-n*t}K("circle",h.a),K("ellipse",d.a),K("sector",f.a),K("ring",A),K("polygon",v.a),K("polyline",y.a),K("rect",b.a),K("line",_.a),K("bezierCurve",T),K("arc",O)},"0thk":function(e,t,n){"use strict";function r(e,t){return Array(t+1).join(e)}var i=["ADDRESS","ARTICLE","ASIDE","AUDIO","BLOCKQUOTE","BODY","CANVAS","CENTER","DD","DIR","DIV","DL","DT","FIELDSET","FIGCAPTION","FIGURE","FOOTER","FORM","FRAMESET","H1","H2","H3","H4","H5","H6","HEADER","HGROUP","HR","HTML","ISINDEX","LI","MAIN","MENU","NAV","NOFRAMES","NOSCRIPT","OL","OUTPUT","P","PRE","SECTION","TABLE","TBODY","TD","TFOOT","TH","THEAD","TR","UL"];function a(e){return c(e,i)}var o=["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"];function s(e){return c(e,o)}var l=["A","TABLE","THEAD","TBODY","TFOOT","TH","TD","IFRAME","SCRIPT","AUDIO","VIDEO"];function c(e,t){return t.indexOf(e.nodeName)>=0}function u(e,t){return e.getElementsByTagName&&t.some(function(t){return e.getElementsByTagName(t).length})}var h={};function d(e){return e?e.replace(/(\n+\s*)+/g,"\n"):""}function f(e){for(var t in this.options=e,this._keep=[],this._remove=[],this.blankRule={replacement:e.blankReplacement},this.keepReplacement=e.keepReplacement,this.defaultRule={replacement:e.defaultReplacement},this.array=[],e.rules)this.array.push(e.rules[t])}function p(e,t,n){for(var r=0;r-1)return!0}else{if("function"!=typeof r)throw new TypeError("`filter` needs to be a string, array, or function");if(r.call(e,t,n))return!0}}function m(e){var t=e.nextSibling||e.parentNode;return e.parentNode.removeChild(e),t}function A(e,t,n){return e&&e.parentNode===t||n(t)?t.nextSibling||t.parentNode:t.firstChild||t.nextSibling||t.parentNode}h.paragraph={filter:"p",replacement:function(e){return"\n\n"+e+"\n\n"}},h.lineBreak={filter:"br",replacement:function(e,t,n){return n.br+"\n"}},h.heading={filter:["h1","h2","h3","h4","h5","h6"],replacement:function(e,t,n){var i=Number(t.nodeName.charAt(1));return"setext"===n.headingStyle&&i<3?"\n\n"+e+"\n"+r(1===i?"=":"-",e.length)+"\n\n":"\n\n"+r("#",i)+" "+e+"\n\n"}},h.blockquote={filter:"blockquote",replacement:function(e){return"\n\n"+(e=(e=e.replace(/^\n+|\n+$/g,"")).replace(/^/gm,"> "))+"\n\n"}},h.list={filter:["ul","ol"],replacement:function(e,t){var n=t.parentNode;return"LI"===n.nodeName&&n.lastElementChild===t?"\n"+e:"\n\n"+e+"\n\n"}},h.listItem={filter:"li",replacement:function(e,t,n){e=e.replace(/^\n+/,"").replace(/\n+$/,"\n").replace(/\n/gm,"\n ");var r=n.bulletListMarker+" ",i=t.parentNode;if("OL"===i.nodeName){var a=i.getAttribute("start"),o=Array.prototype.indexOf.call(i.children,t);r=(a?Number(a)+o:o+1)+". "}return r+e+(t.nextSibling&&!/\n$/.test(e)?"\n":"")}},h.indentedCodeBlock={filter:function(e,t){return"indented"===t.codeBlockStyle&&"PRE"===e.nodeName&&e.firstChild&&"CODE"===e.firstChild.nodeName},replacement:function(e,t,n){return"\n\n "+t.firstChild.textContent.replace(/\n/g,"\n ")+"\n\n"}},h.fencedCodeBlock={filter:function(e,t){return"fenced"===t.codeBlockStyle&&"PRE"===e.nodeName&&e.firstChild&&"CODE"===e.firstChild.nodeName},replacement:function(e,t,n){for(var i,a=((t.firstChild.getAttribute("class")||"").match(/language-(\S+)/)||[null,""])[1],o=t.firstChild.textContent,s=n.fence.charAt(0),l=3,c=new RegExp("^"+s+"{3,}","gm");i=c.exec(o);)i[0].length>=l&&(l=i[0].length+1);var u=r(s,l);return"\n\n"+u+a+"\n"+o.replace(/\n$/,"")+"\n"+u+"\n\n"}},h.horizontalRule={filter:"hr",replacement:function(e,t,n){return"\n\n"+n.hr+"\n\n"}},h.inlineLink={filter:function(e,t){return"inlined"===t.linkStyle&&"A"===e.nodeName&&e.getAttribute("href")},replacement:function(e,t){var n=t.getAttribute("href");n&&(n=n.replace(/([()])/g,"\\$1"));var r=d(t.getAttribute("title"));return r&&(r=' "'+r.replace(/"/g,'\\"')+'"'),"["+e+"]("+n+r+")"}},h.referenceLink={filter:function(e,t){return"referenced"===t.linkStyle&&"A"===e.nodeName&&e.getAttribute("href")},replacement:function(e,t,n){var r,i,a=t.getAttribute("href"),o=d(t.getAttribute("title"));switch(o&&(o=' "'+o+'"'),n.linkReferenceStyle){case"collapsed":r="["+e+"][]",i="["+e+"]: "+a+o;break;case"shortcut":r="["+e+"]",i="["+e+"]: "+a+o;break;default:var s=this.references.length+1;r="["+e+"]["+s+"]",i="["+s+"]: "+a+o}return this.references.push(i),r},references:[],append:function(e){var t="";return this.references.length&&(t="\n\n"+this.references.join("\n")+"\n\n",this.references=[]),t}},h.emphasis={filter:["em","i"],replacement:function(e,t,n){return e.trim()?n.emDelimiter+e+n.emDelimiter:""}},h.strong={filter:["strong","b"],replacement:function(e,t,n){return e.trim()?n.strongDelimiter+e+n.strongDelimiter:""}},h.code={filter:function(e){var t=e.previousSibling||e.nextSibling,n="PRE"===e.parentNode.nodeName&&!t;return"CODE"===e.nodeName&&!n},replacement:function(e){if(!e)return"";e=e.replace(/\r?\n|\r/g," ");for(var t=/^`|^ .*?[^ ].* $|`$/.test(e)?" ":"",n="`",r=e.match(/`+/gm)||[];-1!==r.indexOf(n);)n+="`";return n+t+e+t+n}},h.image={filter:"img",replacement:function(e,t){var n=d(t.getAttribute("alt")),r=t.getAttribute("src")||"",i=d(t.getAttribute("title"));return r?"!["+n+"]("+r+(i?' "'+i+'"':"")+")":""}},f.prototype={add:function(e,t){this.array.unshift(t)},keep:function(e){this._keep.unshift({filter:e,replacement:this.keepReplacement})},remove:function(e){this._remove.unshift({filter:e,replacement:function(){return""}})},forNode:function(e){return e.isBlank?this.blankRule:(t=p(this.array,e,this.options))?t:(t=p(this._keep,e,this.options))?t:(t=p(this._remove,e,this.options))?t:this.defaultRule;var t},forEach:function(e){for(var t=0;t'+e+"","text/html").getElementById("turndown-root"):n=e.cloneNode(!0);return function(e){var t=e.element,n=e.isBlock,r=e.isVoid,i=e.isPre||function(e){return"PRE"===e.nodeName};if(t.firstChild&&!i(t)){for(var a=null,o=!1,s=null,l=A(s,t,i);l!==t;){if(3===l.nodeType||4===l.nodeType){var c=l.data.replace(/[ \r\n\t]+/g," ");if(a&&!/ $/.test(a.data)||o||" "!==c[0]||(c=c.substr(1)),!c){l=m(l);continue}l.data=c,a=l}else{if(1!==l.nodeType){l=m(l);continue}n(l)||"BR"===l.nodeName?(a&&(a.data=a.data.replace(/ $/,"")),a=null,o=!1):r(l)||i(l)?(a=null,o=!0):a&&(o=!1)}var u=A(s,l,i);s=l,l=u}a&&(a.data=a.data.replace(/ $/,""),a.data||m(a))}}({element:n,isBlock:a,isVoid:s,isPre:t.preformattedCode?x:null}),n}function x(e){return"PRE"===e.nodeName||"CODE"===e.nodeName}function S(e,t){return e.isBlock=a(e),e.isCode="CODE"===e.nodeName||e.parentNode.isCode,e.isBlank=function(e){return!s(e)&&!function(e){return c(e,l)}(e)&&/^\s*$/i.test(e.textContent)&&!function(e){return u(e,o)}(e)&&!function(e){return u(e,l)}(e)}(e),e.flankingWhitespace=function(e,t){if(e.isBlock||t.preformattedCode&&e.isCode)return{leading:"",trailing:""};var n=(r=e.textContent,i=r.match(/^(([ \t\r\n]*)(\s*))(?:(?=\S)[\s\S]*\S)?((\s*?)([ \t\r\n]*))$/),{leading:i[1],leadingAscii:i[2],leadingNonAscii:i[3],trailing:i[4],trailingNonAscii:i[5],trailingAscii:i[6]});var r,i;n.leadingAscii&&C("left",e,t)&&(n.leading=n.leadingNonAscii);n.trailingAscii&&C("right",e,t)&&(n.trailing=n.trailingNonAscii);return{leading:n.leading,trailing:n.trailing}}(e,t),e}function C(e,t,n){var r,i,o;return"left"===e?(r=t.previousSibling,i=/ $/):(r=t.nextSibling,i=/^ /),r&&(3===r.nodeType?o=i.test(r.nodeValue):n.preformattedCode&&"CODE"===r.nodeName?o=!1:1!==r.nodeType||a(r)||(o=i.test(r.textContent))),o}var k=Array.prototype.reduce,T=[[/\\/g,"\\\\"],[/\*/g,"\\*"],[/^-/g,"\\-"],[/^\+ /g,"\\+ "],[/^(=+)/g,"\\$1"],[/^(#{1,6}) /g,"\\$1 "],[/`/g,"\\`"],[/^~~~/g,"\\~~~"],[/\[/g,"\\["],[/\]/g,"\\]"],[/^>/g,"\\>"],[/_/g,"\\_"],[/^(\d+)\. /g,"$1\\. "]];function E(e){if(!(this instanceof E))return new E(e);var t={rules:h,headingStyle:"setext",hr:"* * *",bulletListMarker:"*",codeBlockStyle:"indented",fence:"```",emDelimiter:"_",strongDelimiter:"**",linkStyle:"inlined",linkReferenceStyle:"full",br:" ",preformattedCode:!1,blankReplacement:function(e,t){return t.isBlock?"\n\n":""},keepReplacement:function(e,t){return t.isBlock?"\n\n"+t.outerHTML+"\n\n":t.outerHTML},defaultReplacement:function(e,t){return t.isBlock?"\n\n"+e+"\n\n":e}};this.options=function(e){for(var t=1;t0&&"\n"===e[t-1];)t--;return e.substring(0,t)}(e),r=t.replace(/^\n*/,""),i=Math.max(e.length-n.length,t.length-r.length);return n+"\n\n".substring(0,i)+r}E.prototype={turndown:function(e){if(!function(e){return null!=e&&("string"==typeof e||e.nodeType&&(1===e.nodeType||9===e.nodeType||11===e.nodeType))}(e))throw new TypeError(e+" is not a string, or an element/document/fragment node.");if(""===e)return"";var t=B.call(this,new w(e,this.options));return function(e){var t=this;return this.rules.forEach(function(n){"function"==typeof n.append&&(e=O(e,n.append(t.options)))}),e.replace(/^[\t\r\n]+/,"").replace(/[\t\r\n\s]+$/,"")}.call(this,t)},use:function(e){if(Array.isArray(e))for(var t=0;t1||t>0&&!e.noHeader,r=0;Object(i.each)(e.blocks,function(e){h(e).planLayout(e);var t=e.__gapLevelBetweenSubBlocks;t>=r&&(r=t+(!n||t&&("section"!==e.type||e.noHeader)?0:1))}),e.__gapLevelBetweenSubBlocks=r},build:function(e,t,n,o){var c=t.noHeader,u=f(t),d=function(e,t,n,r){var o=[],s=t.blocks||[];Object(i.assert)(!s||Object(i.isArray)(s)),s=s||[];var l=e.orderMode;if(t.sortBlocks&&l){s=s.slice();var c={valueAsc:"asc",valueDesc:"desc"};if(Object(i.hasOwn)(c,l)){var u=new a.a(c[l],null);s.sort(function(e,t){return u.evaluate(e.sortParam,t.sortParam)})}else"seriesDesc"===l&&s.reverse()}var d=f(t);if(Object(i.each)(s,function(t,n){var i=h(t).build(e,t,n>0?d.html:0,r);null!=i&&o.push(i)}),!o.length)return;return"richText"===e.renderMode?o.join(d.richText):p(o.join(""),n)}(e,t,c?n:u.html,o);if(c)return d;var m=Object(r.j)(t.header,"ordinal",e.useUTC),A=l(o,e.renderMode).nameStyle;return"richText"===e.renderMode?g(e,m,A)+u.richText+d:p('
'+Object(r.d)(m)+"
"+d,n)}},nameValue:{planLayout:function(e){e.__gapLevelBetweenSubBlocks=0},build:function(e,t,n,a){var o=e.renderMode,s=t.noName,c=t.noValue,u=!t.markerType,h=t.name,d=t.value,f=e.useUTC;if(!s||!c){var m=u?"":e.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",o),A=s?"":Object(r.j)(h,"ordinal",f),v=t.valueType,y=c?[]:Object(i.isArray)(d)?Object(i.map)(d,function(e,t){return Object(r.j)(e,Object(i.isArray)(v)?v[t]:v,f)}):[Object(r.j)(d,Object(i.isArray)(v)?v[0]:v,f)],b=!u||!s,_=!u&&s,w=l(a,o),x=w.nameStyle,S=w.valueStyle;return"richText"===o?(u?"":m)+(s?"":g(e,A,x))+(c?"":function(e,t,n,r,i){var a=[i],o=r?10:20;return n&&a.push({padding:[0,0,0,o],align:"right"}),e.markupStyleCreator.wrapRichTextStyle(t.join(" "),a)}(e,y,b,_,S)):p((u?"":m)+(s?"":function(e,t,n){return''+Object(r.d)(e)+""}(A,!u,x))+(c?"":function(e,t,n,a){return''+Object(i.map)(e,function(e){return Object(r.d)(e)}).join("  ")+""}(y,b,_,S)),n)}}}};function f(e){var t=e.__gapLevelBetweenSubBlocks;return{html:c[t],richText:u[t]}}function p(e,t){return'
'+e+'
'}function g(e,t,n){return e.markupStyleCreator.wrapRichTextStyle(t,n)}var m=function(){function e(){this.richTextStyles={},this._nextStyleNameId=Object(o.i)()}return e.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},e.prototype.makeTooltipMarker=function(e,t,n){var a="richText"===n?this._generateStyleName():null,o=Object(r.i)({color:t,type:e,renderMode:n,markerId:a});return Object(i.isString)(o)?o:(this.richTextStyles[a]=o.style,o.content)},e.prototype.wrapRichTextStyle=function(e,t){var n={};Object(i.isArray)(t)?Object(i.each)(t,function(e){return Object(i.extend)(n,e)}):Object(i.extend)(n,t);var r=this._generateStyleName();return this.richTextStyles[r]=n,"{"+r+"|"+e+"}"},e}()},"1Hui":function(e,t,n){"use strict";function r(e){return null==e?0:e.length||1}function i(e){return e}var a=function(){function e(e,t,n,r,a,o){this._old=e,this._new=t,this._oldKeyGetter=n||i,this._newKeyGetter=r||i,this.context=a,this._diffModeMultiple="multiple"===o}return e.prototype.add=function(e){return this._add=e,this},e.prototype.update=function(e){return this._update=e,this},e.prototype.updateManyToOne=function(e){return this._updateManyToOne=e,this},e.prototype.updateOneToMany=function(e){return this._updateOneToMany=e,this},e.prototype.updateManyToMany=function(e){return this._updateManyToMany=e,this},e.prototype.remove=function(e){return this._remove=e,this},e.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},e.prototype._executeOneToOne=function(){var e=this._old,t=this._new,n={},i=new Array(e.length),a=new Array(t.length);this._initIndexMap(e,null,i,"_oldKeyGetter"),this._initIndexMap(t,n,a,"_newKeyGetter");for(var o=0;o1){var u=l.shift();1===l.length&&(n[s]=l[0]),this._update&&this._update(u,o)}else 1===c?(n[s]=null,this._update&&this._update(l,o)):this._remove&&this._remove(o)}this._performRestAdd(a,n)},e.prototype._executeMultiple=function(){var e=this._old,t=this._new,n={},i={},a=[],o=[];this._initIndexMap(e,n,a,"_oldKeyGetter"),this._initIndexMap(t,i,o,"_newKeyGetter");for(var s=0;s1&&1===d)this._updateManyToOne&&this._updateManyToOne(u,c),i[l]=null;else if(1===h&&d>1)this._updateOneToMany&&this._updateOneToMany(u,c),i[l]=null;else if(1===h&&1===d)this._update&&this._update(u,c),i[l]=null;else if(h>1&&d>1)this._updateManyToMany&&this._updateManyToMany(u,c),i[l]=null;else if(h>1)for(var f=0;f1)for(var s=0;s0&&(u=setTimeout(function(){if(!s){s=!0,c.abort("timeout");var e=new Error("XMLHttpRequest timeout");e.code="ETIMEDOUT",r(e)}},e.timeout)),c.setRequestHeader)for(o in p)p.hasOwnProperty(o)&&c.setRequestHeader(o,p[o]);else if(e.headers&&!function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}(e.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in e&&(c.responseType=e.responseType),"beforeSend"in e&&"function"==typeof e.beforeSend&&e.beforeSend(c),c.send(f||null),c}e.exports=l,l.XMLHttpRequest=r.XMLHttpRequest||function(){},l.XDomainRequest="withCredentials"in new l.XMLHttpRequest?l.XMLHttpRequest:r.XDomainRequest,function(e,t){for(var n=0;n=2)return a;for(var d=0;dr||l.newline?(a=0,u=g,o+=s+n,s=d.height):s=Math.max(s,d.height)}else{var m=d.height+(p?-p.y+d.y:0);(h=o+m)>i||l.newline?(a+=s+n,o=0,h=m,s=d.width):s=Math.max(s,d.width)}l.newline||(l.x=a,l.y=o,l.markRedraw(),"horizontal"===e?a=u+n:o=h+n)})}var h=u;r.curry(u,"vertical"),r.curry(u,"horizontal");function d(e,t,n){n=o.k(n||0);var r=t.width,s=t.height,l=Object(a.p)(e.left,r),c=Object(a.p)(e.top,s),u=Object(a.p)(e.right,r),h=Object(a.p)(e.bottom,s),d=Object(a.p)(e.width,r),f=Object(a.p)(e.height,s),p=n[2]+n[0],g=n[1]+n[3],m=e.aspect;switch(isNaN(d)&&(d=r-u-g-l),isNaN(f)&&(f=s-h-p-c),null!=m&&(isNaN(d)&&isNaN(f)&&(m>r/s?d=.8*r:f=.8*s),isNaN(d)&&(d=m*f),isNaN(f)&&(f=d/m)),isNaN(l)&&(l=r-u-d-g),isNaN(c)&&(c=s-h-f-p),e.left||e.right){case"center":l=r/2-d/2-n[3];break;case"right":l=r-d-g}switch(e.top||e.bottom){case"middle":case"center":c=s/2-f/2-n[0];break;case"bottom":c=s-f-p}l=l||0,c=c||0,isNaN(d)&&(d=r-g-l-(u||0)),isNaN(f)&&(f=s-p-c-(h||0));var A=new i.a(l+n[3],c+n[0],d,f);return A.margin=n,A}function f(e,t){return t&&e&&s(l,function(n){t.hasOwnProperty(n)&&(e[n]=t[n])}),e}},"1b2O":function(e,t,n){"use strict";function r(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}r.prototype.attrIndex=function(e){var t,n,r;if(!this.attrs)return-1;for(n=0,r=(t=this.attrs).length;n=0&&(n=this.attrs[t][1]),n},r.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},e.exports=r},"1gAI":function(e,t,n){var r=n("To6e"),i=r.System,a=(r.VbrMode,r.Float,r.ShortBlock,r.Util,r.Arrays),o=(r.new_array_n,r.new_byte,r.new_double,r.new_float,r.new_float_n,r.new_int),s=(r.new_int_n,r.assert),l=n("/00o"),c=n("OSvQ"),u=n("0mjX"),h=n("mlh9");e.exports=function e(){var t=null;function n(e){this.bits=0|e}this.qupvt=null,this.setModules=function(e){this.qupvt=e,t=e};var r=[[0,0],[0,0],[0,0],[0,0],[0,0],[0,1],[1,1],[1,1],[1,2],[2,2],[2,3],[2,3],[3,4],[3,4],[3,4],[4,5],[4,5],[4,6],[5,6],[5,6],[5,7],[6,7],[6,7]];function d(e,t,n,r,i,a){var o=.5946/t;for(s(e>0),e>>=1;0!=e--;)i[a++]=o>n[r++]?0:1,i[a++]=o>n[r++]?0:1}function f(e,n,r,i,a,o){s(e>0);var l=(e>>=1)%2;for(e>>=1;0!=e--;){var c,u,h,d,f,p,g,m;c=r[i++]*n,u=r[i++]*n,f=0|c,h=r[i++]*n,p=0|u,d=r[i++]*n,g=0|h,c+=t.adj43[f],m=0|d,u+=t.adj43[p],a[o++]=0|c,h+=t.adj43[g],a[o++]=0|u,d+=t.adj43[m],a[o++]=0|h,a[o++]=0|d}0!=l&&(f=0|(c=r[i++]*n),p=0|(u=r[i++]*n),c+=t.adj43[f],u+=t.adj43[p],a[o++]=0|c,a[o++]=0|u)}var p=[1,2,5,7,7,10,10,13,13,13,13,13,13,13,13];function g(e,t,n,r){var i=function(e,t,n){var r=0,i=0;do{var a=e[t++],o=e[t++];r>=16)>a&&(s=a,r++),i.bits+=s,r}(e,t,n,p[i-1],r);case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:return function(e,t,n,r,i){var a=0,o=0,s=0,l=c.ht[r].xlen,u=c.ht[r].hlen,h=c.ht[r+1].hlen,d=c.ht[r+2].hlen;do{var f=e[t+0]*l+e[t+1];t+=2,a+=u[f],o+=h[f],s+=d[f]}while(to&&(a=o,p++),a>s&&(a=s,p=r+2),i.bits+=a,p}(e,t,n,p[i-1],r);default:if(i>h.IXMAX_VAL)return r.bits=h.LARGE_BITS,-1;var a,o;for(i-=15,a=24;a<32&&!(c.ht[a].linmax>=i);a++);for(o=a-8;o<24&&!(c.ht[o].linmax>=i);o++);return function(e,t,n,r,i,a){var o,s=65536*c.ht[r].xlen+c.ht[i].xlen,l=0;do{var u=e[t++],h=e[t++];0!=u&&(u>14&&(u=15,l+=s),u*=16),0!=h&&(h>14&&(h=15,l+=s),u+=h),l+=c.largetbl[u]}while(t>=16)>o&&(l=o,r=i),a.bits+=l,r}(e,t,n,o,a,r)}}function m(e,t,r,i,a,o,s,c){for(var u=t.big_values,h=2;h=u)break;var f=a[h-2]+t.count1bits;if(r.part2_3_length<=f)break;var p=new n(f),m=g(i,d,u,p);f=p.bits,r.part2_3_length<=f||(r.assign(t),r.part2_3_length=f,r.region0_count=o[h-2],r.region1_count=h-2-o[h-2],r.table_select[0]=s[h-2],r.table_select[1]=c[h-2],r.table_select[2]=m)}}this.noquant_count_bits=function(e,t,r){var i=t.l3_enc,a=Math.min(576,t.max_nonzero_coeff+2>>1<<1);for(null!=r&&(r.sfb_count1=0);a>1&&0==(i[a-1]|i[a-2]);a-=2);t.count1=a;for(var o=0,u=0;a>3;a-=4){var h;if((2147483647&(i[a-1]|i[a-2]|i[a-3]|i[a-4]))>1)break;h=2*(2*(2*i[a-4]+i[a-3])+i[a-2])+i[a-1],o+=c.t32l[h],u+=c.t33l[h]}var d=o;if(t.count1table_select=0,o>u&&(d=u,t.count1table_select=1),t.count1bits=d,t.big_values=a,0==a)return d;if(t.block_type==l.SHORT_TYPE)(o=3*e.scalefac_band.s[3])>t.big_values&&(o=t.big_values),u=t.big_values;else if(t.block_type==l.NORM_TYPE){if(s(a<=576),o=t.region0_count=e.bv_scf[a-2],u=t.region1_count=e.bv_scf[a-1],s(o+u+2(u=a)&&(o=u);if(o=Math.min(o,a),u=Math.min(u,a),s(o>=0),s(u>=0),0c)return h.LARGE_BITS;if(function(e,n,r,i,o){var c,u,h,p=0,g=0,m=0,A=0,v=n,y=0,b=v,_=0,w=e,x=0;for(h=null!=o&&i.global_gain==o.global_gain,u=i.block_type==l.SHORT_TYPE?38:21,c=0;c<=u;c++){var S=-1;if((h||i.block_type==l.NORM_TYPE)&&(S=i.global_gain-(i.scalefac[c]+(0!=i.preflag?t.pretab[c]:0)<=0),h&&o.step[c]==S)0!=g&&(f(g,r,w,x,b,_),g=0),0!=m&&(d(m,r,w,x,b,_),m=0);else{var C,k=i.width[c];if(p+i.width[c]>i.max_nonzero_coeff&&(C=i.max_nonzero_coeff-p+1,a.fill(n,i.max_nonzero_coeff,576,0),(k=C)<0&&(k=0),c=u+1),0==g&&0==m&&(b=v,_=y,w=e,x=A),null!=o&&o.sfb_count1>0&&c>=o.sfb_count1&&o.step[c]>0&&S>=o.step[c]?(0!=g&&(f(g,r,w,x,b,_),g=0,b=v,_=y,w=e,x=A),m+=k):(0!=m&&(d(m,r,w,x,b,_),m=0,b=v,_=y,w=e,x=A),g+=k),k<=0){0!=m&&(d(m,r,w,x,b,_),m=0),0!=g&&(f(g,r,w,x,b,_),g=0);break}}c<=u&&(y+=i.width[c],A+=i.width[c],p+=i.width[c])}0!=g&&(f(g,r,w,x,b,_),g=0),0!=m&&(d(m,r,w,x,b,_),m=0)}(n,o,t.IPOW20(r.global_gain),r,i),0!=(2&e.substep_shaping))for(var u=0,p=r.global_gain+r.scalefac_scale,g=.634521682242439/t.IPOW20(p),m=0;m=0),0==e.pseudohalf[m])u+=v;else for(A=u,u+=v;A=g?o[A]:0}return this.noquant_count_bits(e,r,i)},this.best_huffman_divide=function(e,t){var r=new u,i=t.l3_enc,a=o(23),d=o(23),f=o(23),p=o(23);if(t.block_type!=l.SHORT_TYPE||1!=e.mode_gr){r.assign(t),t.block_type==l.NORM_TYPE&&(function(e,t,r,i,a,o,s){for(var l=t.big_values,c=0;c<=22;c++)i[c]=h.LARGE_BITS;for(c=0;c<16;c++){var u=e.scalefac_band.l[c+1];if(u>=l)break;var d=0,f=new n(d),p=g(r,0,u,f);d=f.bits;for(var m=0;m<8;m++){var A=e.scalefac_band.l[c+m+2];if(A>=l)break;var v=d,y=g(r,u,A,f=new n(v));v=f.bits,i[c+m]>v&&(i[c+m]=v,a[c+m]=c,o[c+m]=p,s[c+m]=y)}}}(e,t,i,a,d,f,p),m(e,r,t,i,a,d,f,p));var A=r.big_values;if(!(0==A||(i[A-2]|i[A-1])>1||(A=t.count1+2)>576)){r.assign(t),r.count1=A;var v=0,y=0;for(s(A<=576);A>r.big_values;A-=4){var b=2*(2*(2*i[A-4]+i[A-3])+i[A-2])+i[A-1];v+=c.t32l[b],y+=c.t33l[b]}if(r.big_values=A,r.count1table_select=0,v>y&&(v=y,r.count1table_select=1),r.count1bits=v,r.block_type==l.NORM_TYPE)m(e,r,t,i,a,d,f,p);else{if(r.part2_3_length=v,(v=e.scalefac_band.l[8])>A&&(v=A),v>0){var _=new n(r.part2_3_length);r.table_select[0]=g(i,0,v,_),r.part2_3_length=_.bits}A>v&&(_=new n(r.part2_3_length),r.table_select[1]=g(i,v,A,_),r.part2_3_length=_.bits),t.part2_3_length>r.part2_3_length&&t.assign(r)}}}};var A=[1,1,1,1,8,2,2,2,4,4,4,8,8,8,16,16],v=[1,2,4,8,1,2,4,8,2,4,8,2,4,8,4,8],y=[0,0,0,0,3,1,1,1,2,2,2,3,3,3,4,4],b=[0,1,2,3,0,1,2,3,1,2,3,1,2,3,2,3];e.slen1_tab=y,e.slen2_tab=b,this.best_scalefac_store=function(e,n,r,i){var a,o,u,h,d=i.tt[n][r],f=0;for(u=0,a=0;a=0),u+=p,h=-p;h<0&&0==d.l3_enc[h+u];h++);0==h&&(d.scalefac[a]=f=-2)}if(0==d.scalefac_scale&&0==d.preflag){var g=0;for(a=0;a0&&(g|=d.scalefac[a]);if(0==(1&g)&&0!=g){for(a=0;a0&&(d.scalefac[a]>>=1);d.scalefac_scale=f=1}}if(0==d.preflag&&d.block_type!=l.SHORT_TYPE&&2==e.mode_gr){for(a=11;a0&&(d.scalefac[a]-=t.pretab[a]);d.preflag=f=1}}for(o=0;o<4;o++)i.scfsi[r][o]=0;for(2==e.mode_gr&&1==n&&i.tt[0][r].block_type!=l.SHORT_TYPE&&i.tt[1][r].block_type!=l.SHORT_TYPE&&(function(e,t){for(var n,r=t.tt[1][e],i=t.tt[0][e],a=0;a=0);n++);if(n==c.scfsi_band[a+1]){for(n=c.scfsi_band[a];nd&&(r.part2_length=d,r.scalefac_compress=a)}}(r,i),f=0),a=0;ai[n]&&(e.part2_length=i[n],e.scalefac_compress=n);return e.part2_length==h.LARGE_BITS};var S=[[15,15,7,7],[15,15,7,0],[7,3,0,0],[15,31,31,0],[7,7,7,0],[3,3,0,0]];this.scale_bitcount_lsf=function(e,n){var r,a,c,u,h,d,f,p,g=o(4),m=n.scalefac;for(r=0!=n.preflag?2:0,f=0;f<4;f++)g[f]=0;if(n.block_type==l.SHORT_TYPE){a=1;var A=t.nr_of_sfb_block[r][a];for(p=0,c=0;c<4;c++)for(u=A[c]/3,f=0;fg[c]&&(g[c]=m[3*p+h])}else for(a=0,A=t.nr_of_sfb_block[r][a],p=0,c=0;c<4;c++)for(u=A[c],f=0;fg[c]&&(g[c]=m[p]);for(d=!1,c=0;c<4;c++)g[c]>S[r][c]&&(d=!0);if(!d){var v,y,b,_;for(n.sfb_partition_table=t.nr_of_sfb_block[r][a],c=0;c<4;c++)n.slen[c]=C[g[c]];switch(v=n.slen[0],y=n.slen[1],b=n.slen[2],_=n.slen[3],r){case 0:n.scalefac_compress=(5*v+y<<4)+(b<<2)+_;break;case 1:n.scalefac_compress=400+(5*v+y<<2)+b;break;case 2:n.scalefac_compress=500+3*v+y;break;default:i.err.printf("intensity stereo not implemented yet\n")}}if(!d)for(s(null!=n.sfb_partition_table),n.part2_length=0,c=0;c<4;c++)n.part2_length+=n.slen[c]*n.sfb_partition_table[c];return d};var C=[0,1,2,2,3,3,3,3,4,4,4,4,4,4,4,4];this.huffman_init=function(e){for(var t=2;t<=576;t+=2){for(var n,i=0;e.scalefac_band.l[++i]t;)n--;for(n<0&&(n=r[i][0]),e.bv_scf[t-2]=n,n=r[i][1];e.scalefac_band.l[n+e.bv_scf[t-2]+2]>t;)n--;n<0&&(n=r[i][1]),e.bv_scf[t-1]=n}}}},"1kS7":function(e,t){t.f=Object.getOwnPropertySymbols},"1oZe":function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return{methods:{focus:function(){this.$refs[e].focus()}}}}},"1xnL":function(e,t,n){var r=n("QG6P");e.exports=function(){this.thm=new r,this.en=new r}},"21It":function(e,t,n){"use strict";var r=n("FtD3");e.exports=function(e,t,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},"2HcM":function(e,t,n){"use strict";var r=n("/gxq"),i=n("wWR3"),a=n("3h1/"),o=n("vXqC"),s=n("3yJd"),l=Object(o.o)();function c(e){return"category"===e.type?function(e){var t=e.getLabelModel(),n=h(e,t);return!t.get("show")||e.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}(e):function(e){var t=e.scale.getTicks(),n=Object(s.h)(e);return{labels:r.map(t,function(t,r){return{level:t.level,formattedLabel:n(t,r),rawLabel:e.scale.getLabel(t),tickValue:t.value}})}}(e)}function u(e,t){return"category"===e.type?function(e,t){var n,i,a=d(e,"ticks"),o=Object(s.e)(t),l=f(a,o);if(l)return l;t.get("show")&&!e.scale.isBlank()||(n=[]);if(r.isFunction(o))n=m(e,o,!0);else if("auto"===o){var c=h(e,e.getLabelModel());i=c.labelCategoryInterval,n=r.map(c.labels,function(e){return e.tickValue})}else n=g(e,i=o,!0);return p(a,o,{ticks:n,tickCategoryInterval:i})}(e,t):{ticks:r.map(e.scale.getTicks(),function(e){return e.value})}}function h(e,t){var n,i=d(e,"labels"),a=Object(s.e)(t),o=f(i,a);return o||p(i,a,{labels:r.isFunction(a)?m(e,a):g(e,n="auto"===a?function(e){var t=l(e).autoInterval;return null!=t?t:l(e).autoInterval=e.calculateCategoryInterval()}(e):a),labelCategoryInterval:n})}function d(e,t){return l(e)[t]||(l(e)[t]=[])}function f(e,t){for(var n=0;n1&&h/c>2&&(u=Math.round(Math.ceil(u/c)*c));var d=Object(s.j)(e),f=o.get("showMinLabel")||d,p=o.get("showMaxLabel")||d;f&&u!==a[0]&&m(a[0]);for(var g=u;g<=a[1];g+=c)m(g);function m(e){var t={value:e};l.push(n?e:{formattedLabel:r(t),rawLabel:i.getLabel(t),tickValue:e})}return p&&g-c!==a[1]&&m(a[1]),l}function m(e,t,n){var i=e.scale,a=Object(s.h)(e),o=[];return r.each(i.getTicks(),function(e){var r=i.getLabel(e),s=e.value;t(e.value,r)&&o.push(n?s:{formattedLabel:a(e),rawLabel:r,tickValue:s})}),o}var A=[0,1],v=function(){function e(e,t,n){this.onBand=!1,this.inverse=!1,this.dim=e,this.scale=t,this._extent=n||[0,0]}return e.prototype.contain=function(e){var t=this._extent,n=Math.min(t[0],t[1]),r=Math.max(t[0],t[1]);return e>=n&&e<=r},e.prototype.containData=function(e){return this.scale.contain(e)},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.getPixelPrecision=function(e){return Object(i.f)(e||this.scale.getExtent(),this._extent)},e.prototype.setExtent=function(e,t){var n=this._extent;n[0]=e,n[1]=t},e.prototype.dataToCoord=function(e,t){var n=this._extent,r=this.scale;return e=r.normalize(e),this.onBand&&"ordinal"===r.type&&y(n=n.slice(),r.count()),Object(i.l)(e,A,n,t)},e.prototype.coordToData=function(e,t){var n=this._extent,r=this.scale;this.onBand&&"ordinal"===r.type&&y(n=n.slice(),r.count());var a=Object(i.l)(e,n,A,t);return this.scale.scale(a)},e.prototype.pointToData=function(e,t){},e.prototype.getTicksCoords=function(e){var t=(e=e||{}).tickModel||this.getTickModel(),n=u(this,t).ticks,a=Object(r.map)(n,function(e){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(e):e),tickValue:e}},this);return function(e,t,n,a){var o=t.length;if(!e.onBand||n||!o)return;var s,l,c=e.getExtent();if(1===o)t[0].coord=c[0],s=t[1]={coord:c[0]};else{var u=t[o-1].tickValue-t[0].tickValue,h=(t[o-1].coord-t[0].coord)/u;Object(r.each)(t,function(e){e.coord-=h/2});var d=e.scale.getExtent();l=1+d[1]-t[o-1].tickValue,s={coord:t[o-1].coord+h*l},t.push(s)}var f=c[0]>c[1];p(t[0].coord,c[0])&&(a?t[0].coord=c[0]:t.shift());a&&p(c[0],t[0].coord)&&t.unshift({coord:c[0]});p(c[1],s.coord)&&(a?s.coord=c[1]:t.pop());a&&p(s.coord,c[1])&&t.push({coord:c[1]});function p(e,t){return e=Object(i.v)(e),t=Object(i.v)(t),f?e>t:e0&&e<100||(e=5);var t=this.scale.getMinorTicks(e);return Object(r.map)(t,function(e){return Object(r.map)(e,function(e){return{coord:this.dataToCoord(e),tickValue:e}},this)},this)},e.prototype.getViewLabels=function(){return c(this).labels},e.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},e.prototype.getTickModel=function(){return this.model.getModel("axisTick")},e.prototype.getBandWidth=function(){var e=this._extent,t=this.scale.getExtent(),n=t[1]-t[0]+(this.onBand?1:0);0===n&&(n=1);var r=Math.abs(e[1]-e[0]);return Math.abs(r)/n},e.prototype.calculateCategoryInterval=function(){return function(e){var t=function(e){var t=e.getLabelModel();return{axisRotate:e.getRotate?e.getRotate():e.isHorizontal&&!e.isHorizontal()?90:0,labelRotate:t.get("rotate")||0,font:t.getFont()}}(e),n=Object(s.h)(e),r=(t.axisRotate-t.labelRotate)/180*Math.PI,i=e.scale,o=i.getExtent(),c=i.count();if(o[1]-o[0]<1)return 0;var u=1;c>40&&(u=Math.max(1,Math.floor(c/40)));for(var h=o[0],d=e.dataToCoord(h+1)-e.dataToCoord(h),f=Math.abs(d*Math.cos(r)),p=Math.abs(d*Math.sin(r)),g=0,m=0;h<=o[1];h+=u){var A,v,y=a.e(n({value:h}),t.font,"center","top");A=1.3*y.width,v=1.3*y.height,g=Math.max(g,A,7),m=Math.max(m,v,7)}var b=g/f,_=m/p;isNaN(b)&&(b=1/0),isNaN(_)&&(_=1/0);var w=Math.max(0,Math.floor(Math.min(b,_))),x=l(e.model),S=e.getExtent(),C=x.lastAutoInterval,k=x.lastTickCount;return null!=C&&null!=k&&Math.abs(C-w)<=1&&Math.abs(k-c)<=1&&C>w&&x.axisExtent0===S[0]&&x.axisExtent1===S[1]?w=C:(x.lastTickCount=c,x.lastAutoInterval=w,x.axisExtent0=S[0],x.axisExtent1=S[1]),w}(this)},e}();function y(e,t){var n=(e[1]-e[0])/t/2;e[0]+=n,e[1]-=n}t.a=v},"2KxR":function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},"2LoN":function(e,t,n){"use strict";var r=n("vXqC"),i=n("0sHC"),a=n("VfEi"),o=n("wWR3"),s=n("TaTK"),l=n("E+Ov"),c=n("/gxq"),u=n("lq/z"),h=n("PelO");function d(e,t){var n=e.label,r=t&&t.getTextGuideLine();return{dataIndex:e.dataIndex,dataType:e.dataType,seriesIndex:e.seriesModel.seriesIndex,text:e.label.style.text,rect:e.hostRect,labelRect:e.rect,align:n.style.align,verticalAlign:n.style.verticalAlign,labelLinePoints:function(e){if(e){for(var t=[],n=0;n=0&&n.attr(_.oldLayoutSelect),Object(c.indexOf)(f,"emphasis")>=0&&n.attr(_.oldLayoutEmphasis)),Object(i.updateProps)(n,u,t,l)}else if(n.attr(u),!Object(h.f)(n).valueAnimation){var p=Object(c.retrieve2)(n.style.opacity,1);n.style.opacity=0,Object(i.initProps)(n,{style:{opacity:p}},t,l)}if(_.oldLayout=u,n.states.select){var y=_.oldLayoutSelect={};A(y,u,v),A(y,n.states.select,v)}if(n.states.emphasis){var b=_.oldLayoutEmphasis={};A(b,u,v),A(b,n.states.emphasis,v)}Object(h.a)(n,l,d,t,t)}if(r&&!r.ignore&&!r.invisible){o=(_=m(r)).oldLayout;var _,w={points:r.shape.points};o?(r.attr({shape:o}),Object(i.updateProps)(r,{shape:w},t)):(r.setShape(w),r.style.strokePercent=0,Object(i.initProps)(r,{style:{strokePercent:1}},t)),_.oldLayout=w}},e}();t.a=function(e){e.registerUpdateLifecycle("series:beforeupdate",function(e,t,n){var r=b(t).labelManager;r||(r=b(t).labelManager=new y),r.clearLabels()}),e.registerUpdateLifecycle("series:layoutlabels",function(e,t,n){var r=b(t).labelManager;n.updatedSeries.forEach(function(e){r.addLabelsOfSeries(t.getViewOfSeriesModel(e))}),r.updateLayoutConfig(t),r.layout(t),r.processLabelsOverall()})};var b=Object(r.o)()},"2kvA":function(e,t,n){"use strict";t.__esModule=!0,t.isInContainer=t.getScrollContainer=t.isScroll=t.getStyle=t.once=t.off=t.on=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.hasClass=p,t.addClass=function(e,t){if(!e)return;for(var n=e.className,r=(t||"").split(" "),i=0,a=r.length;i-1}var g=t.getStyle=c<9?function(e,t){if(!o){if(!e||!t)return null;"float"===(t=h(t))&&(t="styleFloat");try{switch(t){case"opacity":try{return e.filters.item("alpha").opacity/100}catch(e){return 1}default:return e.style[t]||e.currentStyle?e.currentStyle[t]:null}}catch(n){return e.style[t]}}}:function(e,t){if(!o){if(!e||!t)return null;"float"===(t=h(t))&&(t="cssFloat");try{var n=document.defaultView.getComputedStyle(e,"");return e.style[t]||n?n[t]:null}catch(n){return e.style[t]}}};var m=t.isScroll=function(e,t){if(!o)return g(e,null!==t&&void 0!==t?t?"overflow-y":"overflow-x":"overflow").match(/(scroll|auto|overlay)/)};t.getScrollContainer=function(e,t){if(!o){for(var n=e;n;){if([window,document,document.documentElement].includes(n))return window;if(m(n,t))return n;n=n.parentNode}return n}},t.isInContainer=function(e,t){if(o||!e||!t)return!1;var n=e.getBoundingClientRect(),r=void 0;return r=[window,document,document.documentElement,null,void 0].includes(t)?{top:0,right:window.innerWidth,bottom:window.innerHeight,left:0}:t.getBoundingClientRect(),n.topr.top&&n.right>r.left&&n.leftt===e)}n.r(t),n.d(t,"canvastoDataURL",function(){return o}),n.d(t,"canvastoFile",function(){return s}),n.d(t,"dataURLtoFile",function(){return c}),n.d(t,"dataURLtoImage",function(){return u}),n.d(t,"downloadFile",function(){return h}),n.d(t,"filetoDataURL",function(){return d}),n.d(t,"imagetoCanvas",function(){return p}),n.d(t,"urltoBlob",function(){return g}),n.d(t,"urltoImage",function(){return m}),n.d(t,"compress",function(){return v}),n.d(t,"compressAccurately",function(){return y}),n.d(t,"EImageType",function(){return r}),function(e){e.PNG="image/png",e.JPEG="image/jpeg",e.GIF="image/gif"}(r||(r={}));var a=function(e,t,n,r){return new(n||(n=Promise))(function(i,a){function o(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})};function o(e,t=.92,n=r.JPEG){return a(this,void 0,void 0,function*(){return i(n)||(n=r.JPEG),e.toDataURL(n,t)})}function s(e,t=.92,n=r.JPEG){return new Promise(r=>e.toBlob(e=>r(e),n,t))}var l=function(e,t,n,r){return new(n||(n=Promise))(function(i,a){function o(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})};function c(e,t){return l(this,void 0,void 0,function*(){const n=e.split(",");let r=n[0].match(/:(.*?);/)[1];const a=atob(n[1]);let o=a.length;const s=new Uint8Array(o);for(;o--;)s[o]=a.charCodeAt(o);return i(t)&&(r=t),new Blob([s],{type:r})})}function u(e){return new Promise((t,n)=>{const r=new Image;r.onload=(()=>t(r)),r.onerror=(()=>n(new Error("dataURLtoImage(): dataURL is illegal"))),r.src=e})}function h(e,t){const n=document.createElement("a");n.href=window.URL.createObjectURL(e),n.download=t||Date.now().toString(36),document.body.appendChild(n);const r=document.createEvent("MouseEvents");r.initEvent("click",!1,!1),n.dispatchEvent(r),document.body.removeChild(n)}function d(e){return new Promise(t=>{const n=new FileReader;n.onloadend=(e=>t(e.target.result)),n.readAsDataURL(e)})}var f=function(e,t,n,r){return new(n||(n=Promise))(function(i,a){function o(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})};function p(e,t={}){return f(this,void 0,void 0,function*(){const n=Object.assign({},t),r=document.createElement("canvas"),i=r.getContext("2d");let a,o;for(const e in n)Object.prototype.hasOwnProperty.call(n,e)&&(n[e]=Number(n[e]));if(n.scale){const t=n.scale>0&&n.scale<10?n.scale:1;o=e.width*t,a=e.height*t}else o=n.width||n.height*e.width/e.height||e.width,a=n.height||n.width*e.height/e.width||e.height;switch([5,6,7,8].some(e=>e===n.orientation)?(r.height=o,r.width=a):(r.height=a,r.width=o),n.orientation){case 3:i.rotate(180*Math.PI/180),i.drawImage(e,-r.width,-r.height,r.width,r.height);break;case 6:i.rotate(90*Math.PI/180),i.drawImage(e,0,-r.width,r.height,r.width);break;case 8:i.rotate(270*Math.PI/180),i.drawImage(e,-r.height,0,r.height,r.width);break;case 2:i.translate(r.width,0),i.scale(-1,1),i.drawImage(e,0,0,r.width,r.height);break;case 4:i.translate(r.width,0),i.scale(-1,1),i.rotate(180*Math.PI/180),i.drawImage(e,-r.width,-r.height,r.width,r.height);break;case 5:i.translate(r.width,0),i.scale(-1,1),i.rotate(90*Math.PI/180),i.drawImage(e,0,-r.width,r.height,r.width);break;case 7:i.translate(r.width,0),i.scale(-1,1),i.rotate(270*Math.PI/180),i.drawImage(e,-r.height,0,r.height,r.width);break;default:i.drawImage(e,0,0,r.width,r.height)}return r})}function g(e){return fetch(e).then(e=>e.blob())}function m(e){return new Promise((t,n)=>{const r=new Image;r.onload=(()=>t(r)),r.onerror=(()=>n(new Error("urltoImage(): Image failed to load, please check the image URL"))),r.src=e})}var A=function(e,t,n,r){return new(n||(n=Promise))(function(i,a){function o(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})};function v(e,t={}){return A(this,void 0,void 0,function*(){if(!(e instanceof Blob))throw new Error("compress(): First arg must be a Blob object or a File object.");if("object"!=typeof t&&(t=Object.assign({quality:t})),t.quality=Number(t.quality),Number.isNaN(t.quality))return e;const n=yield d(e);let a=n.split(",")[0].match(/:(.*?);/)[1],s=r.JPEG;i(t.type)&&(s=t.type,a=t.type);const l=yield c(yield o(yield p(yield u(n),Object.assign({},t)),t.quality,s),a);return l.size>e.size?e:l})}function y(e,t={}){return A(this,void 0,void 0,function*(){if(!(e instanceof Blob))throw new Error("compressAccurately(): First arg must be a Blob object or a File object.");if("object"!=typeof t&&(t=Object.assign({size:t})),t.size=Number(t.size),Number.isNaN(t.size))return e;if(1024*t.size>e.size)return e;t.accuracy=Number(t.accuracy),(!t.accuracy||t.accuracy<.8||t.accuracy>.99)&&(t.accuracy=.95);const n=t.size*(2-t.accuracy)*1024,a=1024*t.size,s=t.size*t.accuracy*1024,l=yield d(e);let h=l.split(",")[0].match(/:(.*?);/)[1],f=r.JPEG;i(t.type)&&(f=t.type,h=t.type);const g=yield p(yield u(l),Object.assign({},t));let m,A=.5;const v=[null,null];for(let e=1;e<=7;e++){const t=.75*(m=yield o(g,A,f)).length;if(7===e){(nt)&&(m=[m,...v].filter(e=>e).sort((e,t)=>Math.abs(.75*e.length-a)-Math.abs(.75*t.length-a))[0]);break}if(nt))break;v[0]=m,A+=Math.pow(.5,e+1)}}const y=yield c(m,h);return y.size>e.size?e:y})}}])},e.exports=r()},"2uoh":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=function(){function e(){}return e.prototype.getNeedCrossZero=function(){return!this.option.scale},e.prototype.getCoordSysModel=function(){},e}()},"39cr":function(e,t,n){"use strict";n.d(t,"d",function(){return s}),n.d(t,"c",function(){return l}),n.d(t,"b",function(){return c}),n.d(t,"a",function(){return u}),n.d(t,"e",function(){return h}),n.d(t,"i",function(){return f}),n.d(t,"B",function(){return g}),t.y=m,t.m=A,t.q=function(e){return e===A(e)},t.l=function(e){switch(e){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}},t.h=v,t.r=function(e,t,n,i,a){var o=null;if("string"==typeof n)o=n;else if("function"==typeof n)o=n(e.value,t,{level:e.level});else{var s=r.extend({},d);if(e.level>0)for(var l=0;l=0;--l)if(c[u]){o=c[u];break}o=o||s.none}if(r.isArray(o)){var f=null==e.level?0:e.level>=0?e.level:o.length+e.level;f=Math.min(f,o.length-1),o=o[f]}}return v(new Date(e.value),o,a,i)},t.n=function(e,t,n){var r="number"==typeof e?i.o(e):e;switch(t=t||y(e,n)){case"year":return r[b(n)]();case"half-year":return r[_(n)]()>=6?1:0;case"quarter":return Math.floor((r[_(n)]()+1)/4);case"month":return r[_(n)]();case"day":return r[w(n)]();case"half-day":return r[x(n)]()/24;case"hour":return r[x(n)]();case"minute":return r[S(n)]();case"second":return r[C(n)]();case"millisecond":return r[k(n)]()}},t.j=b,t.w=_,t.f=w,t.o=x,t.u=S,t.z=C,t.s=k,t.k=function(e){return e?"setUTCFullYear":"setFullYear"},t.x=function(e){return e?"setUTCMonth":"setMonth"},t.g=function(e){return e?"setUTCDate":"setDate"},t.p=function(e){return e?"setUTCHours":"setHours"},t.v=function(e){return e?"setUTCMinutes":"setMinutes"},t.A=function(e){return e?"setUTCSeconds":"setSeconds"},t.t=function(e){return e?"setUTCMilliseconds":"setMilliseconds"};var r=n("/gxq"),i=n("wWR3"),a=n("S6PR"),o=n("Pdtn"),s=1e3,l=60*s,c=60*l,u=24*c,h=365*u,d={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},f={year:"{yyyy}",month:"{yyyy}-{MM}",day:"{yyyy}-{MM}-{dd}",hour:"{yyyy}-{MM}-{dd} "+d.hour,minute:"{yyyy}-{MM}-{dd} "+d.minute,second:"{yyyy}-{MM}-{dd} "+d.second,millisecond:d.none},p=["year","month","day","hour","minute","second","millisecond"],g=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function m(e,t){return"0000".substr(0,t-(e+="").length)+e}function A(e){switch(e){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return e}}function v(e,t,n,r){var s=i.o(e),l=s[b(n)](),c=s[_(n)]()+1,u=Math.floor((c-1)/4)+1,h=s[w(n)](),d=s["get"+(n?"UTC":"")+"Day"](),f=s[x(n)](),p=(f-1)%12+1,g=s[S(n)](),A=s[C(n)](),v=s[k(n)](),y=(r instanceof o.a?r:Object(a.d)(r||a.a)||Object(a.c)()).getModel("time"),T=y.get("month"),E=y.get("monthAbbr"),B=y.get("dayOfWeek"),O=y.get("dayOfWeekAbbr");return(t||"").replace(/{yyyy}/g,l+"").replace(/{yy}/g,l%100+"").replace(/{Q}/g,u+"").replace(/{MMMM}/g,T[c-1]).replace(/{MMM}/g,E[c-1]).replace(/{MM}/g,m(c,2)).replace(/{M}/g,c+"").replace(/{dd}/g,m(h,2)).replace(/{d}/g,h+"").replace(/{eeee}/g,B[d]).replace(/{ee}/g,O[d]).replace(/{e}/g,d+"").replace(/{HH}/g,m(f,2)).replace(/{H}/g,f+"").replace(/{hh}/g,m(p+"",2)).replace(/{h}/g,p+"").replace(/{mm}/g,m(g,2)).replace(/{m}/g,g+"").replace(/{ss}/g,m(A,2)).replace(/{s}/g,A+"").replace(/{SSS}/g,m(v,3)).replace(/{S}/g,v+"")}function y(e,t){var n=i.o(e),r=n[_(t)]()+1,a=n[w(t)](),o=n[x(t)](),s=n[S(t)](),l=n[C(t)](),c=0===n[k(t)](),u=c&&0===l,h=u&&0===s,d=h&&0===o,f=d&&1===a;return f&&1===r?"year":f?"month":d?"day":h?"hour":u?"minute":c?"second":"millisecond"}function b(e){return e?"getUTCFullYear":"getFullYear"}function _(e){return e?"getUTCMonth":"getMonth"}function w(e){return e?"getUTCDate":"getDate"}function x(e){return e?"getUTCHours":"getHours"}function S(e){return e?"getUTCMinutes":"getMinutes"}function C(e){return e?"getUTCSeconds":"getSeconds"}function k(e){return e?"getUTCMilliseconds":"getMilliseconds"}},"3C/1":function(e,t,n){n("M6a0"),n("zQR9"),n("+tPU"),n("qCoq"),n("UvrK"),n("Xjd4"),n("bqnK"),e.exports=n("FeBl").Map},"3Eo+":function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},"3IRH":function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},"3a40":function(e,t){!function(e){"use strict";var t=e.jsMind;if(t&&void 0===t.screenshot){var n=e.document,r=function(e){return n.createElement(e)},i=function(e,t){return e.getPropertyValue(t)},a=function(e){var t=i(e,"visibility"),n=i(e,"display");return"hidden"!==t&&"none"!==n},o={rect:function(e,t,n,r,i,a){r<2*a&&(a=r/2),i<2*a&&(a=i/2),e.moveTo(t+a,n),e.arcTo(t+r,n,t+r,n+i,a),e.arcTo(t+r,n+i,t,n+i,a),e.arcTo(t,n+i,t,n,a),e.arcTo(t,n,t+r,n,a)},text_multiline:function(e,t,n,r,i,a,o){var s="",l=t.length,c=t.split(""),u=null;e.textAlign="left",e.textBaseline="top";for(var h=0;hi&&h>0?(e.fillText(s,n,r),s=c[h],r+=o):s=u;e.fillText(s,n,r)},text_ellipsis:function(e,t,n,r,i,a){var s=r+a/2;t=o.fittingString(e,t,i);e.textAlign="left",e.textBaseline="middle",e.fillText(t,n,s,i)},fittingString:function(e,t,n){var r=e.measureText(t).width,i=e.measureText("…").width;if(r<=n||r<=i)return t;for(var a=t.length;r>=n-i&&a-- >0;)t=t.substring(0,a),r=e.measureText(t).width;return t+"…"},image:function(e,t,n,r,i,a,s,l,c){var u=new Image;u.onload=function(){e.save(),e.translate(n,r),e.save(),e.beginPath(),o.rect(e,0,0,i,a,s),e.closePath(),e.clip(),e.translate(i/2,a/2),e.rotate(l*Math.PI/180),e.drawImage(u,-i/2,-a/2),e.restore(),e.restore(),c&&c()},u.src=t}};t.screenshot=function(e){this.jm=e,this.canvas_elem=null,this.canvas_ctx=null,this._inited=!1},t.screenshot.prototype={init:function(){if(!this._inited){console.log("init");var e=r("canvas"),t=e.getContext("2d");this.canvas_elem=e,this.canvas_ctx=t,this.jm.view.e_panel.appendChild(e),this._inited=!0,this.resize()}},shoot:function(e){this.init(),this._draw(function(){e&&e(),this.clean()}.bind(this)),this._watermark()},shootDownload:function(){this.shoot(function(){this._download()}.bind(this))},shootAsDataURL:function(e){this.shoot(function(){e&&e(this.canvas_elem.toDataURL())}.bind(this))},resize:function(){this._inited&&(this.canvas_elem.width=this.jm.view.size.w,this.canvas_elem.height=this.jm.view.size.h)},clean:function(){var e=this.canvas_elem;this.canvas_ctx.clearRect(0,0,e.width,e.height)},_draw:function(e){var t=this.canvas_ctx;t.textAlign="left",t.textBaseline="top",this._draw_lines(function(){this._draw_nodes(e)}.bind(this))},_watermark:function(){var t=this.canvas_elem,n=this.canvas_ctx;n.textAlign="right",n.textBaseline="bottom",n.fillStyle="#000",n.font="11px Verdana,Arial,Helvetica,sans-serif",n.fillText("hizzgdev.github.io/jsmind",t.width-5.5,t.height-2.5),n.textAlign="left",n.fillText(e.location,5.5,t.height-2.5)},_draw_lines:function(e){this.jm.view.graph.copy_to(this.canvas_ctx,e)},_draw_nodes:function(t){var n,r=this.jm.mind.nodes;for(var i in r)n=r[i],this._draw_node(n);!function i(){console.log("check_node_ready"+new Date);var a=!0;for(var o in r)a&=(n=r[o]).ready;a?e.setTimeout(t,200):e.setTimeout(i,200)}()},_draw_node:function(e){var t=this.canvas_ctx,n=e._data.view,r=n.element,s=getComputedStyle(r);if(a(s)){var l=i(s,"background-color"),c=parseInt(i(s,"border-top-left-radius")),u=i(s,"color"),h=parseInt(i(s,"padding-left")),d=parseInt(i(s,"padding-right")),f=parseInt(i(s,"padding-top")),p=parseInt(i(s,"padding-bottom")),g=i(s,"text-overflow"),m=i(s,"font-style")+" "+i(s,"font-variant")+" "+i(s,"font-weight")+" "+i(s,"font-size")+"/"+i(s,"line-height")+" "+i(s,"font-family"),A={x:n.abs_x,y:n.abs_y,w:n.width+1,h:n.height+1},v={x:A.x+h,y:A.y+f,w:A.w-h-d,h:A.h-f-p};if(t.font=m,t.fillStyle=l,t.beginPath(),o.rect(t,A.x,A.y,A.w,A.h,c),t.closePath(),t.fill(),t.fillStyle=u,"background-image"in e.data){var y=i(s,"background-image").slice(5,-2);e.ready=!1;var b=0;"background-rotation"in e.data&&(b=e.data["background-rotation"]),o.image(t,y,A.x,A.y,A.w,A.h,c,b,function(){e.ready=!0})}if(e.topic)if("ellipsis"===g)o.text_ellipsis(t,e.topic,v.x,v.y,v.w,v.h);else{var _=parseInt(i(s,"line-height"));o.text_multiline(t,e.topic,v.x,v.y,v.w,v.h,_)}n.expander&&this._draw_expander(n.expander),"background-image"in e.data||(e.ready=!0)}else e.ready=!0},_draw_expander:function(e){var t=this.canvas_ctx,n=getComputedStyle(e);if(a(n)){var r=i(n,"left"),o=i(n,"top"),s=(i(n,"font"),parseInt(r)),l=parseInt(o),c="+"===e.innerHTML;t.lineWidth=1,t.beginPath(),t.arc(s+7,l+7,5,0,2*Math.PI,!0),t.moveTo(s+10,l+7),t.lineTo(s+4,l+7),c&&(t.moveTo(s+7,l+4),t.lineTo(s+7,l+10)),t.closePath(),t.stroke()}},_download:function(){var e=this.canvas_elem,t=this.jm.mind.name+".png";if(navigator.msSaveBlob&&e.msToBlob){var i=e.msToBlob();navigator.msSaveBlob(i,t)}else{var a=this.canvas_elem.toDataURL(),o=r("a");if("download"in o){o.style.visibility="hidden",o.href=a,o.download=t,n.body.appendChild(o);var s=n.createEvent("MouseEvents");s.initEvent("click",!0,!0),o.dispatchEvent(s),n.body.removeChild(o)}else location.href=a}},jm_event_handle:function(e,n){e===t.event_type.resize&&this.resize()}};var s=new t.plugin("screenshot",function(e){var n=new t.screenshot(e);e.screenshot=n,e.shoot=function(){n.shoot()},e.add_event_listener(function(e,t){n.jm_event_handle.call(n,e,t)})});t.register_plugin(s)}}(window)},"3fo+":function(e,t,n){e.exports=n("YAhB")},"3fs2":function(e,t,n){var r=n("RY/4"),i=n("dSzd")("iterator"),a=n("/bQp");e.exports=n("FeBl").getIteratorMethod=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||a[r(e)]}},"3h1/":function(e,t,n){"use strict";n.d(t,"a",function(){return c}),t.g=h,t.e=function(e,t,n,r){var i=((e||"")+"").split("\n");if(1===i.length)return d(i[0],t,n,r);for(var o=new a.a(0,0,0,0),s=0;s=0?parseFloat(e)/100*t:parseFloat(e):e}},"3h9r":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){n.d(t,"AcroForm",function(){return Be}),n.d(t,"AcroFormAppearance",function(){return Ce}),n.d(t,"AcroFormButton",function(){return ve}),n.d(t,"AcroFormCheckBox",function(){return we}),n.d(t,"AcroFormChoiceField",function(){return pe}),n.d(t,"AcroFormComboBox",function(){return me}),n.d(t,"AcroFormEditBox",function(){return Ae}),n.d(t,"AcroFormListBox",function(){return ge}),n.d(t,"AcroFormPasswordField",function(){return Se}),n.d(t,"AcroFormPushButton",function(){return ye}),n.d(t,"AcroFormRadioButton",function(){return be}),n.d(t,"AcroFormTextField",function(){return xe}),n.d(t,"GState",function(){return D}),n.d(t,"ShadingPattern",function(){return R}),n.d(t,"TilingPattern",function(){return N}),n.d(t,"jsPDF",function(){return j});var r=n("Oy1H"),i=n.n(r),a=n("VdNW"),o=function(){return"undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:this}();function s(){o.console&&"function"==typeof o.console.log&&o.console.log.apply(o.console,arguments)}var l={log:s,warn:function(e){o.console&&("function"==typeof o.console.warn?o.console.warn.apply(o.console,arguments):s.call(null,arguments))},error:function(e){o.console&&("function"==typeof o.console.error?o.console.error.apply(o.console,arguments):s(e))}};function c(e,t,n){var r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){p(r.response,t,n)},r.onerror=function(){l.error("could not download file")},r.send()}function u(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return t.status>=200&&t.status<=299}function h(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(n){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var d,f,p=o.saveAs||("object"!==("undefined"==typeof window?"undefined":i()(window))||window!==o?function(){}:"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype?function(e,t,n){var r=o.URL||o.webkitURL,i=document.createElement("a");t=t||e.name||"download",i.download=t,i.rel="noopener","string"==typeof e?(i.href=e,i.origin!==location.origin?u(i.href)?c(e,t,n):h(i,i.target="_blank"):h(i)):(i.href=r.createObjectURL(e),setTimeout(function(){r.revokeObjectURL(i.href)},4e4),setTimeout(function(){h(i)},0))}:"msSaveOrOpenBlob"in navigator?function(e,t,n){if(t=t||e.name||"download","string"==typeof e)if(u(e))c(e,t,n);else{var r=document.createElement("a");r.href=e,r.target="_blank",setTimeout(function(){h(r)})}else navigator.msSaveOrOpenBlob(function(e,t){return void 0===t?t={autoBom:!1}:"object"!==i()(t)&&(l.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e}(e,n),t)}:function(e,t,n,r){if((r=r||open("","_blank"))&&(r.document.title=r.document.body.innerText="downloading..."),"string"==typeof e)return c(e,t,n);var a="application/octet-stream"===e.type,s=/constructor/i.test(o.HTMLElement)||o.safari,l=/CriOS\/[\d]+/.test(navigator.userAgent);if((l||a&&s)&&"object"===("undefined"==typeof FileReader?"undefined":i()(FileReader))){var u=new FileReader;u.onloadend=function(){var e=u.result;e=l?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=e:location=e,r=null},u.readAsDataURL(e)}else{var h=o.URL||o.webkitURL,d=h.createObjectURL(e);r?r.location=d:location.href=d,r=null,setTimeout(function(){h.revokeObjectURL(d)},4e4)}}); /** * A class to parse color values * @author Stoyan Stefanov * {@link http://www.phpied.com/rgb-color-parser-in-javascript/} * @license Use it if you like it */function g(e){var t;e=e||"",this.ok=!1,"#"==e.charAt(0)&&(e=e.substr(1,6)),e={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[e=(e=e.replace(/ /g,"")).toLowerCase()]||e;for(var n=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}}],r=0;r255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var e=this.r.toString(16),t=this.g.toString(16),n=this.b.toString(16);return 1==e.length&&(e="0"+e),1==t.length&&(t="0"+t),1==n.length&&(n="0"+n),"#"+e+t+n /** * @license * Joseph Myers does not specify a particular license for his work. * * Author: Joseph Myers * Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js * * Modified by: Owen Leong */}}function m(e,t){var n=e[0],r=e[1],i=e[2],a=e[3];n=_(n=b(n=b(n=b(n=b(n=y(n=y(n=y(n=y(n=v(n=v(n=v(n=v(n,r,i,a,t[0],7,-680876936),r=v(r,i=v(i,a=v(a,n,r,i,t[1],12,-389564586),n,r,t[2],17,606105819),a,n,t[3],22,-1044525330),i,a,t[4],7,-176418897),r=v(r,i=v(i,a=v(a,n,r,i,t[5],12,1200080426),n,r,t[6],17,-1473231341),a,n,t[7],22,-45705983),i,a,t[8],7,1770035416),r=v(r,i=v(i,a=v(a,n,r,i,t[9],12,-1958414417),n,r,t[10],17,-42063),a,n,t[11],22,-1990404162),i,a,t[12],7,1804603682),r=v(r,i=v(i,a=v(a,n,r,i,t[13],12,-40341101),n,r,t[14],17,-1502002290),a,n,t[15],22,1236535329),i,a,t[1],5,-165796510),r=y(r,i=y(i,a=y(a,n,r,i,t[6],9,-1069501632),n,r,t[11],14,643717713),a,n,t[0],20,-373897302),i,a,t[5],5,-701558691),r=y(r,i=y(i,a=y(a,n,r,i,t[10],9,38016083),n,r,t[15],14,-660478335),a,n,t[4],20,-405537848),i,a,t[9],5,568446438),r=y(r,i=y(i,a=y(a,n,r,i,t[14],9,-1019803690),n,r,t[3],14,-187363961),a,n,t[8],20,1163531501),i,a,t[13],5,-1444681467),r=y(r,i=y(i,a=y(a,n,r,i,t[2],9,-51403784),n,r,t[7],14,1735328473),a,n,t[12],20,-1926607734),i,a,t[5],4,-378558),r=b(r,i=b(i,a=b(a,n,r,i,t[8],11,-2022574463),n,r,t[11],16,1839030562),a,n,t[14],23,-35309556),i,a,t[1],4,-1530992060),r=b(r,i=b(i,a=b(a,n,r,i,t[4],11,1272893353),n,r,t[7],16,-155497632),a,n,t[10],23,-1094730640),i,a,t[13],4,681279174),r=b(r,i=b(i,a=b(a,n,r,i,t[0],11,-358537222),n,r,t[3],16,-722521979),a,n,t[6],23,76029189),i,a,t[9],4,-640364487),r=b(r,i=b(i,a=b(a,n,r,i,t[12],11,-421815835),n,r,t[15],16,530742520),a,n,t[2],23,-995338651),i,a,t[0],6,-198630844),r=_(r=_(r=_(r=_(r,i=_(i,a=_(a,n,r,i,t[7],10,1126891415),n,r,t[14],15,-1416354905),a,n,t[5],21,-57434055),i=_(i,a=_(a,n=_(n,r,i,a,t[12],6,1700485571),r,i,t[3],10,-1894986606),n,r,t[10],15,-1051523),a,n,t[1],21,-2054922799),i=_(i,a=_(a,n=_(n,r,i,a,t[8],6,1873313359),r,i,t[15],10,-30611744),n,r,t[6],15,-1560198380),a,n,t[13],21,1309151649),i=_(i,a=_(a,n=_(n,r,i,a,t[4],6,-145523070),r,i,t[11],10,-1120210379),n,r,t[2],15,718787259),a,n,t[9],21,-343485551),e[0]=B(n,e[0]),e[1]=B(r,e[1]),e[2]=B(i,e[2]),e[3]=B(a,e[3])}function A(e,t,n,r,i,a){return B((t=B(B(t,e),B(r,a)))<>>32-i,n)}function v(e,t,n,r,i,a,o){return A(t&n|~t&r,e,t,i,a,o)}function y(e,t,n,r,i,a,o){return A(t&r|n&~r,e,t,i,a,o)}function b(e,t,n,r,i,a,o){return A(t^n^r,e,t,i,a,o)}function _(e,t,n,r,i,a,o){return A(n^(t|~r),e,t,i,a,o)}function w(e){var t,n=e.length,r=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=e.length;t+=64)m(r,x(e.substring(t-64,t)));e=e.substring(t-64);var i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t>2]|=e.charCodeAt(t)<<(t%4<<3);if(i[t>>2]|=128<<(t%4<<3),t>55)for(m(r,i),t=0;t<16;t++)i[t]=0;return i[14]=8*n,m(r,i),r}function x(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return n}d=o.atob.bind(o),f=o.btoa.bind(o);var S="0123456789abcdef".split("");function C(e){for(var t="",n=0;n<4;n++)t+=S[e>>8*n+4&15]+S[e>>8*n&15];return t}function k(e){return String.fromCharCode((255&e)>>0,(65280&e)>>8,(16711680&e)>>16,(4278190080&e)>>24)}function T(e){return w(e).map(k).join("")}var E="5d41402abc4b2a76b9719d911017c592"!=function(e){for(var t=0;t>16)+(t>>16)+(n>>16)<<16|65535&n}return e+t&4294967295} /** * @license * FPDF is released under a permissive license: there is no usage restriction. * You may embed it freely in your application (commercial or not), with or * without modifications. * * Reference: http://www.fpdf.org/en/script/script37.php */function O(e,t){var n,r,i,a;if(e!==n){for(var o=(i=e,a=1+(256/e.length>>0),new Array(a+1).join(i)),s=[],l=0;l<256;l++)s[l]=l;var c=0;for(l=0;l<256;l++){var u=s[l];c=(c+u+o.charCodeAt(l))%256,s[l]=s[c],s[c]=u}n=e,r=s}else s=r;var h=t.length,d=0,f=0,p="";for(l=0;l€/\f©þdSiz";var a=(t+this.padding).substr(0,32),o=(n+this.padding).substr(0,32);this.O=this.processOwnerPassword(a,o),this.P=-(1+(255^i)),this.encryptionKey=T(a+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(r)).substr(0,5),this.U=O(this.encryptionKey,this.padding)}function P(e){if(/[^\u0000-\u00ff]/.test(e))throw new Error("Invalid PDF Name Object: "+e+", Only accept ASCII characters.");for(var t="",n=e.length,r=0;r126?"#"+("0"+i.toString(16)).slice(-2):e[r]}return t}function L(e){if("object"!==i()(e))throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var t={};this.subscribe=function(e,n,r){if(r=r||!1,"string"!=typeof e||"function"!=typeof n||"boolean"!=typeof r)throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");t.hasOwnProperty(e)||(t[e]={});var i=Math.random().toString(35);return t[e][i]=[n,!!r],i},this.unsubscribe=function(e){for(var n in t)if(t[n][e])return delete t[n][e],0===Object.keys(t[n]).length&&delete t[n],!0;return!1},this.publish=function(n){if(t.hasOwnProperty(n)){var r=Array.prototype.slice.call(arguments,1),i=[];for(var a in t[n]){var s=t[n][a];try{s[0].apply(e,r)}catch(n){o.console&&l.error("jsPDF PubSub Error",n.message,n)}s[1]&&i.push(a)}i.length&&i.forEach(this.unsubscribe)}},this.getTopics=function(){return t}}function D(e){if(!(this instanceof D))return new D(e);var t="opacity,stroke-opacity".split(",");for(var n in e)e.hasOwnProperty(n)&&t.indexOf(n)>=0&&(this[n]=e[n]);this.id="",this.objectNumber=-1}function F(e,t){this.gState=e,this.matrix=t,this.id="",this.objectNumber=-1}function R(e,t,n,r,i){if(!(this instanceof R))return new R(e,t,n,r,i);this.type="axial"===e?2:3,this.coords=t,this.colors=n,F.call(this,r,i)}function N(e,t,n,r,i){if(!(this instanceof N))return new N(e,t,n,r,i);this.boundingBox=e,this.xStep=t,this.yStep=n,this.stream="",this.cloneIndex=0,F.call(this,r,i)}function j(e){var t,n="string"==typeof arguments[0]?arguments[0]:"p",r=arguments[1],a=arguments[2],s=arguments[3],c=[],u=1,h=16,d="S",m=null;"object"===i()(e=e||{})&&(n=e.orientation,r=e.unit||r,a=e.format||a,s=e.compress||e.compressPdf||s,null!==(m=e.encryption||null)&&(m.userPassword=m.userPassword||"",m.ownerPassword=m.ownerPassword||"",m.userPermissions=m.userPermissions||[]),u="number"==typeof e.userUnit?Math.abs(e.userUnit):1,void 0!==e.precision&&(t=e.precision),void 0!==e.floatPrecision&&(h=e.floatPrecision),d=e.defaultPathOperation||"S"),c=e.filters||(!0===s?["FlateEncode"]:c),r=r||"mm",n=(""+(n||"P")).toLowerCase();var A=e.putOnlyUsedFonts||!1,v={},y={internal:{},__private__:{}};y.__private__.PubSub=L;var b="1.3",_=y.__private__.getPdfVersion=function(){return b};y.__private__.setPdfVersion=function(e){b=e};var w={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]};y.__private__.getPageFormats=function(){return w};var x=y.__private__.getPageFormat=function(e){return w[e]};a=a||"a4";var S={COMPAT:"compat",ADVANCED:"advanced"},C=S.COMPAT;function k(){this.saveGraphicsState(),ce(new Ve(Se,0,0,-Se,0,bn()*Se).toString()+" cm"),this.setFontSize(this.getFontSize()/Se),d="n",C=S.ADVANCED}function T(){this.restoreGraphicsState(),d="S",C=S.COMPAT}var E=y.__private__.combineFontStyleAndFontWeight=function(e,t){if("bold"==e&&"normal"==t||"bold"==e&&400==t||"normal"==e&&"italic"==t||"bold"==e&&"italic"==t)throw new Error("Invalid Combination of fontweight and fontstyle");return t&&(e=400==t||"normal"===t?"italic"===e?"italic":"normal":700!=t&&"bold"!==t||"normal"!==e?(700==t?"bold":t)+""+e:"bold"),e};y.advancedAPI=function(e){var t=C===S.COMPAT;return t&&k.call(this),"function"!=typeof e||(e(this),t&&T.call(this)),this},y.compatAPI=function(e){var t=C===S.ADVANCED;return t&&T.call(this),"function"!=typeof e||(e(this),t&&k.call(this)),this},y.isAdvancedAPI=function(){return C===S.ADVANCED};var B,O=function(e){if(C!==S.ADVANCED)throw new Error(e+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},I=y.roundToPrecision=y.__private__.roundToPrecision=function(e,n){var r=t||n;if(isNaN(e)||isNaN(r))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return e.toFixed(r).replace(/0+$/,"")};B=y.hpf=y.__private__.hpf="number"==typeof h?function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return I(e,h)}:"smart"===h?function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return I(e,e>-1&&e<1?16:5)}:function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return I(e,16)};var F=y.f2=y.__private__.f2=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f2");return I(e,2)},U=y.__private__.f3=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f3");return I(e,3)},H=y.scale=y.__private__.scale=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.scale");return C===S.COMPAT?e*Se:C===S.ADVANCED?e:void 0},z=function(e){return H(function(e){return C===S.COMPAT?bn()-e:C===S.ADVANCED?e:void 0}(e))};y.__private__.setPrecision=y.setPrecision=function(e){"number"==typeof parseInt(e,10)&&(t=parseInt(e,10))};var V,q="00000000000000000000000000000000",Q=y.__private__.getFileId=function(){return q},G=y.__private__.setFileId=function(e){return q=void 0!==e&&/^[a-fA-F0-9]{32}$/.test(e)?e.toUpperCase():q.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),null!==m&&(Ot=new M(m.userPermissions,m.userPassword,m.ownerPassword,q)),q};y.setFileId=function(e){return G(e),this},y.getFileId=function(){return Q()};var W=y.__private__.convertDateToPDFDate=function(e){var t=e.getTimezoneOffset(),n=t<0?"+":"-",r=Math.floor(Math.abs(t/60)),i=Math.abs(t%60),a=[n,Z(r),"'",Z(i),"'"].join("");return["D:",e.getFullYear(),Z(e.getMonth()+1),Z(e.getDate()),Z(e.getHours()),Z(e.getMinutes()),Z(e.getSeconds()),a].join("")},$=y.__private__.convertPDFDateToDate=function(e){var t=parseInt(e.substr(2,4),10),n=parseInt(e.substr(6,2),10)-1,r=parseInt(e.substr(8,2),10),i=parseInt(e.substr(10,2),10),a=parseInt(e.substr(12,2),10),o=parseInt(e.substr(14,2),10);return new Date(t,n,r,i,a,o,0)},Y=y.__private__.setCreationDate=function(e){var t;if(void 0===e&&(e=new Date),e instanceof Date)t=W(e);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(e))throw new Error("Invalid argument passed to jsPDF.setCreationDate");t=e}return V=t},K=y.__private__.getCreationDate=function(e){var t=V;return"jsDate"===e&&(t=$(V)),t};y.setCreationDate=function(e){return Y(e),this},y.getCreationDate=function(e){return K(e)};var X,Z=y.__private__.padd2=function(e){return("0"+parseInt(e)).slice(-2)},J=y.__private__.padd2Hex=function(e){return("00"+(e=e.toString())).substr(e.length)},ee=0,te=[],ne=[],re=0,ie=[],ae=[],oe=!1,se=ne;y.__private__.setCustomOutputDestination=function(e){oe=!0,se=e};var le=function(e){oe||(se=e)};y.__private__.resetCustomOutputDestination=function(){oe=!1,se=ne};var ce=y.__private__.out=function(e){return e=e.toString(),re+=e.length+1,se.push(e),se},ue=y.__private__.write=function(e){return ce(1===arguments.length?e.toString():Array.prototype.join.call(arguments," "))},he=y.__private__.getArrayBuffer=function(e){for(var t=e.length,n=new ArrayBuffer(t),r=new Uint8Array(n);t--;)r[t]=e.charCodeAt(t);return n},de=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];y.__private__.getStandardFonts=function(){return de};var fe=e.fontSize||16;y.__private__.setFontSize=y.setFontSize=function(e){return fe=C===S.ADVANCED?e/Se:e,this};var pe,ge=y.__private__.getFontSize=y.getFontSize=function(){return C===S.COMPAT?fe:fe*Se},me=e.R2L||!1;y.__private__.setR2L=y.setR2L=function(e){return me=e,this},y.__private__.getR2L=y.getR2L=function(){return me};var Ae,ve=y.__private__.setZoomMode=function(e){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(e))pe=e;else if(isNaN(e)){if(-1===[void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(e))throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+e+'" is not recognized.');pe=e}else pe=parseInt(e,10)};y.__private__.getZoomMode=function(){return pe};var ye,be=y.__private__.setPageMode=function(e){if(-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(e))throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+e+'" is not recognized.');Ae=e};y.__private__.getPageMode=function(){return Ae};var _e=y.__private__.setLayoutMode=function(e){if(-1==[void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(e))throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+e+'" is not recognized.');ye=e};y.__private__.getLayoutMode=function(){return ye},y.__private__.setDisplayMode=y.setDisplayMode=function(e,t,n){return ve(e),_e(t),be(n),this};var we={title:"",subject:"",author:"",keywords:"",creator:""};y.__private__.getDocumentProperty=function(e){if(-1===Object.keys(we).indexOf(e))throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return we[e]},y.__private__.getDocumentProperties=function(){return we},y.__private__.setDocumentProperties=y.setProperties=y.setDocumentProperties=function(e){for(var t in we)we.hasOwnProperty(t)&&e[t]&&(we[t]=e[t]);return this},y.__private__.setDocumentProperty=function(e,t){if(-1===Object.keys(we).indexOf(e))throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return we[e]=t};var xe,Se,Ce,ke,Te,Ee={},Be={},Oe=[],Ie={},Me={},Pe={},Le={},De=null,Fe=0,Re=[],Ne=new L(y),je=e.hotfixes||[],Ue={},He={},ze=[],Ve=function(e,t,n,r,a,o){if(!(this instanceof i.a))return new i.a(e,t,n,r,a,o);isNaN(e)&&(e=1),isNaN(t)&&(t=0),isNaN(n)&&(n=0),isNaN(r)&&(r=1),isNaN(a)&&(a=0),isNaN(o)&&(o=0),this._matrix=[e,t,n,r,a,o]};Object.defineProperty(Ve.prototype,"sx",{get:function(){return this._matrix[0]},set:function(e){this._matrix[0]=e}}),Object.defineProperty(Ve.prototype,"shy",{get:function(){return this._matrix[1]},set:function(e){this._matrix[1]=e}}),Object.defineProperty(Ve.prototype,"shx",{get:function(){return this._matrix[2]},set:function(e){this._matrix[2]=e}}),Object.defineProperty(Ve.prototype,"sy",{get:function(){return this._matrix[3]},set:function(e){this._matrix[3]=e}}),Object.defineProperty(Ve.prototype,"tx",{get:function(){return this._matrix[4]},set:function(e){this._matrix[4]=e}}),Object.defineProperty(Ve.prototype,"ty",{get:function(){return this._matrix[5]},set:function(e){this._matrix[5]=e}}),Object.defineProperty(Ve.prototype,"a",{get:function(){return this._matrix[0]},set:function(e){this._matrix[0]=e}}),Object.defineProperty(Ve.prototype,"b",{get:function(){return this._matrix[1]},set:function(e){this._matrix[1]=e}}),Object.defineProperty(Ve.prototype,"c",{get:function(){return this._matrix[2]},set:function(e){this._matrix[2]=e}}),Object.defineProperty(Ve.prototype,"d",{get:function(){return this._matrix[3]},set:function(e){this._matrix[3]=e}}),Object.defineProperty(Ve.prototype,"e",{get:function(){return this._matrix[4]},set:function(e){this._matrix[4]=e}}),Object.defineProperty(Ve.prototype,"f",{get:function(){return this._matrix[5]},set:function(e){this._matrix[5]=e}}),Object.defineProperty(Ve.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Ve.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Ve.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Ve.prototype,"isIdentity",{get:function(){return 1===this.sx&&0===this.shy&&0===this.shx&&1===this.sy&&0===this.tx&&0===this.ty}}),Ve.prototype.join=function(e){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(B).join(e)},Ve.prototype.multiply=function(e){var t=e.sx*this.sx+e.shy*this.shx,n=e.sx*this.shy+e.shy*this.sy,r=e.shx*this.sx+e.sy*this.shx,i=e.shx*this.shy+e.sy*this.sy,a=e.tx*this.sx+e.ty*this.shx+this.tx,o=e.tx*this.shy+e.ty*this.sy+this.ty;return new Ve(t,n,r,i,a,o)},Ve.prototype.decompose=function(){var e=this.sx,t=this.shy,n=this.shx,r=this.sy,i=this.tx,a=this.ty,o=Math.sqrt(e*e+t*t),s=(e/=o)*n+(t/=o)*r;n-=e*s,r-=t*s;var l=Math.sqrt(n*n+r*r);return s/=l,e*(r/=l)>16&255,r=c>>8&255,a=255&c}if(void 0===r||void 0===o&&n===r&&r===a)if("string"==typeof n)t=n+" "+s[0];else switch(e.precision){case 2:t=F(n/255)+" "+s[0];break;case 3:default:t=U(n/255)+" "+s[0]}else if(void 0===o||"object"===i()(o)){if(o&&!isNaN(o.a)&&0===o.a)return["1.","1.","1.",s[1]].join(" ");if("string"==typeof n)t=[n,r,a,s[1]].join(" ");else switch(e.precision){case 2:t=[F(n/255),F(r/255),F(a/255),s[1]].join(" ");break;default:case 3:t=[U(n/255),U(r/255),U(a/255),s[1]].join(" ")}}else if("string"==typeof n)t=[n,r,a,o,s[2]].join(" ");else switch(e.precision){case 2:t=[F(n),F(r),F(a),F(o),s[2]].join(" ");break;case 3:default:t=[U(n),U(r),U(a),U(o),s[2]].join(" ")}return t},nt=y.__private__.getFilters=function(){return c},rt=y.__private__.putStream=function(e){var t=(e=e||{}).data||"",n=e.filters||nt(),r=e.alreadyAppliedFilters||[],i=e.addLength1||!1,a=t.length,o=e.objectId,s=function(e){return e};if(null!==m&&void 0===o)throw new Error("ObjectId must be passed to putStream for file encryption");null!==m&&(s=Ot.encryptor(o,0));var l={};!0===n&&(n=["FlateEncode"]);var c=e.additionalKeyValues||[],u=(l=void 0!==j.API.processDataByFilters?j.API.processDataByFilters(t,n):{data:t,reverseChain:[]}).reverseChain+(Array.isArray(r)?r.join(" "):r.toString());if(0!==l.data.length&&(c.push({key:"Length",value:l.data.length}),!0===i&&c.push({key:"Length1",value:a})),0!=u.length)if(u.split("/").length-1==1)c.push({key:"Filter",value:u});else{c.push({key:"Filter",value:"["+u+"]"});for(var h=0;h>"),0!==l.data.length&&(ce("stream"),ce(s(l.data)),ce("endstream"))},it=y.__private__.putPage=function(e){var t=e.number,n=e.data,r=e.objId,i=e.contentsObjId;Ke(r,!0),ce("<>"),ce("endobj");var a=n.join("\n");return C===S.ADVANCED&&(a+="\nQ"),Ke(i,!0),rt({data:a,filters:nt(),objectId:i}),ce("endobj"),r},at=y.__private__.putPages=function(){var e,t,n=[];for(e=1;e<=Fe;e++)Re[e].objId=Ye(),Re[e].contentsObjId=Ye();for(e=1;e<=Fe;e++)n.push(it({number:e,data:ae[e],objId:Re[e].objId,contentsObjId:Re[e].contentsObjId,mediaBox:Re[e].mediaBox,cropBox:Re[e].cropBox,bleedBox:Re[e].bleedBox,trimBox:Re[e].trimBox,artBox:Re[e].artBox,userUnit:Re[e].userUnit,rootDictionaryObjId:Ze,resourceDictionaryObjId:Je}));Ke(Ze,!0),ce("<>"),ce("endobj"),Ne.publish("postPutPages")},ot=function(e){Ne.publish("putFont",{font:e,out:ce,newObject:$e,putStream:rt}),!0!==e.isAlreadyPutted&&(e.objectNumber=$e(),ce("<<"),ce("/Type /Font"),ce("/BaseFont /"+P(e.postScriptName)),ce("/Subtype /Type1"),"string"==typeof e.encoding&&ce("/Encoding /"+e.encoding),ce("/FirstChar 32"),ce("/LastChar 255"),ce(">>"),ce("endobj"))},st=function(e){e.objectNumber=$e();var t=[];t.push({key:"Type",value:"/XObject"}),t.push({key:"Subtype",value:"/Form"}),t.push({key:"BBox",value:"["+[B(e.x),B(e.y),B(e.x+e.width),B(e.y+e.height)].join(" ")+"]"}),t.push({key:"Matrix",value:"["+e.matrix.toString()+"]"});var n=e.pages[1].join("\n");rt({data:n,additionalKeyValues:t,objectId:e.objectNumber}),ce("endobj")},lt=function(e,t){t||(t=21);var n=$e(),r=function(e,t){var n,r=[],i=1/(t-1);for(n=0;n<1;n+=i)r.push(n);if(r.push(1),0!=e[0].offset){var a={offset:0,color:e[0].color};e.unshift(a)}if(1!=e[e.length-1].offset){var o={offset:1,color:e[e.length-1].color};e.push(o)}for(var s="",l=0,c=0;ce[l+1].offset;)l++;var u=e[l].offset,h=(n-u)/(e[l+1].offset-u),d=e[l].color,f=e[l+1].color;s+=J(Math.round((1-h)*d[0]+h*f[0]).toString(16))+J(Math.round((1-h)*d[1]+h*f[1]).toString(16))+J(Math.round((1-h)*d[2]+h*f[2]).toString(16))}return s.trim()}(e.colors,t),i=[];i.push({key:"FunctionType",value:"0"}),i.push({key:"Domain",value:"[0.0 1.0]"}),i.push({key:"Size",value:"["+t+"]"}),i.push({key:"BitsPerSample",value:"8"}),i.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),i.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),rt({data:r,additionalKeyValues:i,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:n}),ce("endobj"),e.objectNumber=$e(),ce("<< /ShadingType "+e.type),ce("/ColorSpace /DeviceRGB");var a="/Coords ["+B(parseFloat(e.coords[0]))+" "+B(parseFloat(e.coords[1]))+" ";2===e.type?a+=B(parseFloat(e.coords[2]))+" "+B(parseFloat(e.coords[3])):a+=B(parseFloat(e.coords[2]))+" "+B(parseFloat(e.coords[3]))+" "+B(parseFloat(e.coords[4]))+" "+B(parseFloat(e.coords[5])),ce(a+="]"),e.matrix&&ce("/Matrix ["+e.matrix.toString()+"]"),ce("/Function "+n+" 0 R"),ce("/Extend [true true]"),ce(">>"),ce("endobj")},ct=function(e,t){var n=Ye(),r=$e();t.push({resourcesOid:n,objectOid:r}),e.objectNumber=r;var i=[];i.push({key:"Type",value:"/Pattern"}),i.push({key:"PatternType",value:"1"}),i.push({key:"PaintType",value:"1"}),i.push({key:"TilingType",value:"1"}),i.push({key:"BBox",value:"["+e.boundingBox.map(B).join(" ")+"]"}),i.push({key:"XStep",value:B(e.xStep)}),i.push({key:"YStep",value:B(e.yStep)}),i.push({key:"Resources",value:n+" 0 R"}),e.matrix&&i.push({key:"Matrix",value:"["+e.matrix.toString()+"]"}),rt({data:e.stream,additionalKeyValues:i,objectId:e.objectNumber}),ce("endobj")},ut=function(e){for(var t in e.objectNumber=$e(),ce("<<"),e)switch(t){case"opacity":ce("/ca "+F(e[t]));break;case"stroke-opacity":ce("/CA "+F(e[t]))}ce(">>"),ce("endobj")},ht=function(e){Ke(e.resourcesOid,!0),ce("<<"),ce("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var e in ce("/Font <<"),Ee)Ee.hasOwnProperty(e)&&(!1===A||!0===A&&v.hasOwnProperty(e))&&ce("/"+e+" "+Ee[e].objectNumber+" 0 R");ce(">>")}(),function(){if(Object.keys(Ie).length>0){for(var e in ce("/Shading <<"),Ie)Ie.hasOwnProperty(e)&&Ie[e]instanceof R&&Ie[e].objectNumber>=0&&ce("/"+e+" "+Ie[e].objectNumber+" 0 R");Ne.publish("putShadingPatternDict"),ce(">>")}}(),function(e){if(Object.keys(Ie).length>0){for(var t in ce("/Pattern <<"),Ie)Ie.hasOwnProperty(t)&&Ie[t]instanceof y.TilingPattern&&Ie[t].objectNumber>=0&&Ie[t].objectNumber>")}}(e.objectOid),function(){if(Object.keys(Pe).length>0){var e;for(e in ce("/ExtGState <<"),Pe)Pe.hasOwnProperty(e)&&Pe[e].objectNumber>=0&&ce("/"+e+" "+Pe[e].objectNumber+" 0 R");Ne.publish("putGStateDict"),ce(">>")}}(),function(){for(var e in ce("/XObject <<"),Ue)Ue.hasOwnProperty(e)&&Ue[e].objectNumber>=0&&ce("/"+e+" "+Ue[e].objectNumber+" 0 R");Ne.publish("putXobjectDict"),ce(">>")}(),ce(">>"),ce("endobj")},dt=function(){var e=[];(function(){for(var e in Ee)Ee.hasOwnProperty(e)&&(!1===A||!0===A&&v.hasOwnProperty(e))&&ot(Ee[e])})(),function(){var e;for(e in Pe)Pe.hasOwnProperty(e)&&ut(Pe[e])}(),function(){for(var e in Ue)Ue.hasOwnProperty(e)&&st(Ue[e])}(),function(e){var t;for(t in Ie)Ie.hasOwnProperty(t)&&(Ie[t]instanceof R?lt(Ie[t]):Ie[t]instanceof N&&ct(Ie[t],e))}(e),Ne.publish("putResources"),e.forEach(ht),ht({resourcesOid:Je,objectOid:Number.MAX_SAFE_INTEGER}),Ne.publish("postPutResources")},ft=function(e){Be[e.fontName]=Be[e.fontName]||{},Be[e.fontName][e.fontStyle]=e.id},pt=function(e,t,n,r,i){var a={id:"F"+(Object.keys(Ee).length+1).toString(10),postScriptName:e,fontName:t,fontStyle:n,encoding:r,isStandardFont:i||!1,metadata:{}};return Ne.publish("addFont",{font:a,instance:this}),Ee[a.id]=a,ft(a),a.id},gt=y.__private__.pdfEscape=y.pdfEscape=function(e,t){return function(e,t){var n,r,i,a,o,s,l,c,u;if(i=(t=t||{}).sourceEncoding||"Unicode",o=t.outputEncoding,(t.autoencode||o)&&Ee[xe].metadata&&Ee[xe].metadata[i]&&Ee[xe].metadata[i].encoding&&(a=Ee[xe].metadata[i].encoding,!o&&Ee[xe].encoding&&(o=Ee[xe].encoding),!o&&a.codePages&&(o=a.codePages[0]),"string"==typeof o&&(o=a[o]),o)){for(l=!1,s=[],n=0,r=e.length;n>8&&(l=!0);e=s.join("")}for(n=e.length;void 0===l&&0!==n;)e.charCodeAt(n-1)>>8&&(l=!0),n--;if(!l)return e;for(s=t.noBOM?[]:[254,255],n=0,r=e.length;n>8)>>8)throw new Error("Character at position "+n+" of string '"+e+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");s.push(u),s.push(c-(u<<8))}return String.fromCharCode.apply(void 0,s)}(e,t).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},mt=y.__private__.beginPage=function(e){ae[++Fe]=[],Re[Fe]={objId:0,contentsObjId:0,userUnit:Number(u),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(e[0]),topRightY:Number(e[1])}},vt(Fe),le(ae[X])},At=function(e,t){var r,i,o;switch(n=t||n,"string"==typeof e&&(r=x(e.toLowerCase()),Array.isArray(r)&&(i=r[0],o=r[1])),Array.isArray(e)&&(i=e[0]*Se,o=e[1]*Se),isNaN(i)&&(i=a[0],o=a[1]),(i>14400||o>14400)&&(l.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),i=Math.min(14400,i),o=Math.min(14400,o)),a=[i,o],n.substr(0,1)){case"l":o>i&&(a=[o,i]);break;case"p":i>o&&(a=[o,i])}mt(a),Yt(Wt),ce(rn),0!==un&&ce(un+" J"),0!==hn&&ce(hn+" j"),Ne.publish("addPage",{pageNumber:Fe})},vt=function(e){e>0&&e<=Fe&&(X=e)},yt=y.__private__.getNumberOfPages=y.getNumberOfPages=function(){return ae.length-1},bt=function(e,t,n){var r,i=void 0;return n=n||{},e=void 0!==e?e:Ee[xe].fontName,t=void 0!==t?t:Ee[xe].fontStyle,r=e.toLowerCase(),void 0!==Be[r]&&void 0!==Be[r][t]?i=Be[r][t]:void 0!==Be[e]&&void 0!==Be[e][t]?i=Be[e][t]:!1===n.disableWarning&&l.warn("Unable to look up font label for font '"+e+"', '"+t+"'. Refer to getFontList() for available fonts."),i||n.noFallback||null==(i=Be.times[t])&&(i=Be.times.normal),i},_t=y.__private__.putInfo=function(){var e=$e(),t=function(e){return e};for(var n in null!==m&&(t=Ot.encryptor(e,0)),ce("<<"),ce("/Producer ("+gt(t("jsPDF "+j.version))+")"),we)we.hasOwnProperty(n)&&we[n]&&ce("/"+n.substr(0,1).toUpperCase()+n.substr(1)+" ("+gt(t(we[n]))+")");ce("/CreationDate ("+gt(t(V))+")"),ce(">>"),ce("endobj")},wt=y.__private__.putCatalog=function(e){var t=(e=e||{}).rootDictionaryObjId||Ze;switch($e(),ce("<<"),ce("/Type /Catalog"),ce("/Pages "+t+" 0 R"),pe||(pe="fullwidth"),pe){case"fullwidth":ce("/OpenAction [3 0 R /FitH null]");break;case"fullheight":ce("/OpenAction [3 0 R /FitV null]");break;case"fullpage":ce("/OpenAction [3 0 R /Fit]");break;case"original":ce("/OpenAction [3 0 R /XYZ null null 1]");break;default:var n=""+pe;"%"===n.substr(n.length-1)&&(pe=parseInt(pe)/100),"number"==typeof pe&&ce("/OpenAction [3 0 R /XYZ null null "+F(pe)+"]")}switch(ye||(ye="continuous"),ye){case"continuous":ce("/PageLayout /OneColumn");break;case"single":ce("/PageLayout /SinglePage");break;case"two":case"twoleft":ce("/PageLayout /TwoColumnLeft");break;case"tworight":ce("/PageLayout /TwoColumnRight")}Ae&&ce("/PageMode /"+Ae),Ne.publish("putCatalog"),ce(">>"),ce("endobj")},xt=y.__private__.putTrailer=function(){ce("trailer"),ce("<<"),ce("/Size "+(ee+1)),ce("/Root "+ee+" 0 R"),ce("/Info "+(ee-1)+" 0 R"),null!==m&&ce("/Encrypt "+Ot.oid+" 0 R"),ce("/ID [ <"+q+"> <"+q+"> ]"),ce(">>")},St=y.__private__.putHeader=function(){ce("%PDF-"+b),ce("%ºß¬à")},Ct=y.__private__.putXRef=function(){var e="0000000000";ce("xref"),ce("0 "+(ee+1)),ce("0000000000 65535 f ");for(var t=1;t<=ee;t++)"function"==typeof te[t]?ce((e+te[t]()).slice(-10)+" 00000 n "):void 0!==te[t]?ce((e+te[t]).slice(-10)+" 00000 n "):ce("0000000000 00000 n ")},kt=y.__private__.buildDocument=function(){ee=0,re=0,ne=[],te=[],ie=[],Ze=Ye(),Je=Ye(),le(ne),Ne.publish("buildDocument"),St(),at(),function(){Ne.publish("putAdditionalObjects");for(var e=0;e"),ce("/O <"+Ot.toHexString(Ot.O)+">"),ce("/P "+Ot.P),ce(">>"),ce("endobj")),_t(),wt();var e=re;return Ct(),xt(),ce("startxref"),ce(""+e),ce("%%EOF"),le(ae[X]),ne.join("\n")},Tt=y.__private__.getBlob=function(e){return new Blob([he(e)],{type:"application/pdf"})},Et=y.output=y.__private__.output=((We=function(e,t){switch("string"==typeof(t=t||{})?t={filename:t}:t.filename=t.filename||"generated.pdf",e){case void 0:return kt();case"save":y.save(t.filename);break;case"arraybuffer":return he(kt());case"blob":return Tt(kt());case"bloburi":case"bloburl":if(void 0!==o.URL&&"function"==typeof o.URL.createObjectURL)return o.URL&&o.URL.createObjectURL(Tt(kt()))||void 0;l.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var n="",r=kt();try{n=f(r)}catch(e){n=f(unescape(encodeURIComponent(r)))}return"data:application/pdf;filename="+t.filename+";base64,"+n;case"pdfobjectnewwindow":if("[object Window]"===Object.prototype.toString.call(o)){var i="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",a=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';t.pdfObjectUrl&&(i=t.pdfObjectUrl,a="");var s='