webpackJsonp([5],{"++K3":function(e,t){var n,r,i,o,a,s,l,c,u,h,f,d,p,A,g,m=!1;function v(){if(!m){m=!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(d=/\b(iPhone|iP[ao]d)/.exec(e),p=/\b(iP[ao]d)/.exec(e),h=/Android/i.exec(e),A=/FBAN\/\w+;/i.exec(e),g=/Mobile/i.exec(e),f=!!/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,(o=t[4]?parseFloat(t[4]):NaN)?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),a=t&&t[1]?parseFloat(t[1]):NaN):a=NaN}else n=r=i=a=o=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()&&f},firefox:function(){return v()||r},opera:function(){return v()||i},webkit:function(){return v()||o},safari:function(){return y.webkit()},chrome:function(){return v()||a},windows:function(){return v()||c},osx:function(){return v()||l},linux:function(){return v()||u},iphone:function(){return v()||d},mobile:function(){return v()||d||p||h||g},nativeApp:function(){return v()||A},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})},"+F6S":function(e,t,n){"use strict";var r=n("Tt5O"),i=[["table",n("JyMz"),["paragraph","reference"]],["code",n("c7B3")],["fence",n("T1F6"),["paragraph","reference","blockquote","list"]],["blockquote",n("g8u0"),["paragraph","reference","list"]],["hr",n("DWs6"),["paragraph","reference","blockquote","list"]],["list",n("nxR5"),["paragraph","reference","blockquote"]],["reference",n("gbo6")],["heading",n("qAQK"),["paragraph","reference","blockquote"]],["lheading",n("TJ7m")],["html_block",n("Un6f"),["paragraph","reference","blockquote"]],["paragraph",n("Qz2Z")]];function o(){this.ruler=new r;for(var e=0;e=n))&&!(e.sCount[a]=l){e.line=n;break}for(r=0;r=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 a(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=/[&<>"]/,f=/[&<>"]/g,d={"&":"&","<":"<",">":">",'"':"""};function p(e){return d[e]}var A=/[.?*+^$[\]\\(){}|-]/g;var g=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;return i(u,t)?u[t]:35===t.charCodeAt(0)&&c.test(t)&&o(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?a(n):e}(e,n)})},t.isValidEntityCode=o,t.fromCodePoint=a,t.escapeHtml=function(e){return h.test(e)?e.replace(f,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 g.test(e)},t.escapeRE=function(e){return e.replace(A,"\\$&")},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("TToO"),i=n("GxVO"),o=n("No7X"),a=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 a},t.prototype.buildPath=function(e,t){o.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=o.get(e);return t&&t.image}return e},t.a=function(e,t,n,r,l){if(e){if("string"==typeof e){if(t&&t.__zrImageSrc===e||!n)return t;var c=o.get(e),u={hostEl:n,cb:r,cbPayload:l};return c?!s(t=c.image)&&c.pending.push(u):((t=i.d.loadImage(e,a,a)).__zrImageSrc=e,o.put(e,t.__cachedImgObj={image:t,pending:[u]})),t}return e}return t},t.c=s;var r=n("zMj2"),i=n("OwOc"),o=new r.a(50);function a(){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,a=this._doReset(i)),this._modBy=c,this._modDataCount=u;var f=e&&e.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var d=this._dueIndex,p=Math.min(null!=f?this._dueIndex+f:1/0,this._dueEnd);if(!i&&(a||d1&&r>0?s:a}};return o;function a(){return t=e?null:othis.angle||this.angle>Math.PI,o=r.start||0,a=r.end||0;return this.dataLabelPath?(this.dataLabelPath=this.dataLabelPath.destroy(),delete this.dataLabelPath):n(e,"destroy",t=>(this.dataLabelPath&&(this.dataLabelPath=this.dataLabelPath.destroy()),t.call(e))),this.dataLabelPath=t.arc({open:!0,longArc:Math.abs(Math.abs(o)-Math.abs(a))t.index){a=a.slice(0,r).reverse().concat(a.slice(r).reverse()),i=!0;break}for(i||a.reverse(),r=0;rMath.PI&&(i=2*Math.PI-i),(i*=u)t[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,o=r.VbrMode,a=(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,f=h.MPG_MD_MS_LR,d=null;this.psy=null;var p=null,A=null,g=null;this.setModules=function(e,t,n,r){d=e,this.psy=t,p=t,A=r,g=n};var m=new e;this.lame_encode_mp3_frame=function(e,n,v,y,b,_){var w,x=a([2,2]);x[0][0]=new t,x[0][1]=new t,x[1][0]=new t,x[1][1]=new t;var C,S=a([2,2]);S[0][0]=new t,S[0][1]=new t,S[1][0]=new t,S[1][1]=new t;var k,T,E,B=[null,null],O=e.internal_flags,M=l([2,4]),P=[.5,.5],L=[[0,0],[0,0]],D=[[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 o,a,l=s(2014),c=s(2014);for(i.lame_encode_frame_init=1,o=0,a=0;o<286+576*(1+i.mode_gr);++o)o<576*i.mode_gr?(l[o]=0,2==i.channels_out&&(c[o]=0)):(l[o]=t[0][a],2==i.channels_out&&(c[o]=t[1][a]),++a);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 I=[null,null],N=0,F=c(2);for(E=0;E0&&(P[E]=M[E][3]/P[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.adjust0,F=null!=e.width&&("truncate"===e.overflow||"break"===e.overflow||"breakAll"===e.overflow),R=a.calculatedLineHeight,j=0;j=0&&"right"===(P=w[M]).align;)this._placeToken(P,e,C,m,O,"right",y),S-=P.width,O-=P.width,M--;for(B+=(r-(B-g)-(v-O)-S)/2;E<=M;)P=w[E],this._placeToken(P,e,C,m,B+P.width/2,"center",y),B+=P.width,E++;m+=C}},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,p=r+n/2;"top"===d?p=r+e.height/2:"bottom"===d&&(p=r+n-e.height/2),!e.isLineHolder&&T(h)&&this._renderBackground(h,t,"right"===l?i-e.width:"center"===l?i-e.width/2:i,p-e.height/2,e.width,e.height);var A=!!h.backgroundColor,g=e.textPadding;g&&(i=S(i,l,g),p-=e.height/2-g[0]-e.innerHeight/2);var m=this._getOrCreateChild(o.a),v=m.createStyle();m.useStyle(v);var y=this._defaultStyle,_=!1,w=0,k=C("fill"in h?h.fill:"fill"in t?t.fill:(_=!0,y.fill)),E=x("stroke"in h?h.stroke:"stroke"in t?t.stroke:A||c||y.autoStroke&&!_?null:(w=2,y.stroke)),B=h.textShadowBlur>0||t.textShadowBlur>0;v.text=e.text,v.x=i,v.y=p,B&&(v.shadowBlur=h.textShadowBlur||t.textShadowBlur||0,v.shadowColor=h.textShadowColor||t.textShadowColor||"transparent",v.shadowOffsetX=h.textShadowOffsetX||t.textShadowOffsetX||0,v.shadowOffsetY=h.textShadowOffsetY||t.textShadowOffsetY||0),v.textAlign=l,v.textBaseline="middle",v.font=e.font||f.a,v.opacity=Object(a.retrieve3)(h.opacity,t.opacity,1),b(v,h),E&&(v.lineWidth=Object(a.retrieve3)(h.lineWidth,t.lineWidth,w),v.lineDash=Object(a.retrieve2)(h.lineDash,t.lineDash),v.lineDashOffset=t.lineDashOffset||0,v.stroke=E),k&&(v.fill=k);var O=e.contentWidth,M=e.contentHeight;m.setBoundingRect(new u.a(Object(s.a)(v.x,O,v.textAlign),Object(s.b)(v.y,M,v.textBaseline),O,M))},t.prototype._renderBackground=function(e,t,n,r,i,o){var s,u,h,f=e.backgroundColor,d=e.borderWidth,p=e.borderColor,A=f&&f.image,g=f&&!A,m=e.borderRadius,v=this;if(g||e.lineHeight||d&&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=o,y.r=m,s.dirtyShape()}if(g)(h=s.style).fill=f||null,h.fillOpacity=Object(a.retrieve2)(e.fillOpacity,1);else if(A){(u=this._getOrCreateChild(l.a)).onload=function(){v.dirtyStyle()};var b=u.style;b.image=f.image,b.x=n,b.y=r,b.width=i,b.height=o}d&&p&&((h=s.style).lineWidth=d,h.stroke=p,h.strokeOpacity=Object(a.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(a.retrieve3)(e.opacity,t.opacity,1)},t.makeFont=function(e){var t="";return _(e)&&(t=[e.fontStyle,e.fontWeight,y(e.fontSize),e.fontFamily||"sans-serif"].join(" ")),t&&Object(a.trim)(t)||e.textFont||e.font},t}(h.c),g={left:!0,right:1,center:1},m={top:1,bottom:1,middle:1},v=["fontStyle","fontWeight","fontSize","fontFamily"];function y(e){return"string"!=typeof e||-1===e.indexOf("px")&&-1===e.indexOf("rem")&&-1===e.indexOf("em")?isNaN(+e)?f.c+"px":e+"px":e}function b(e,t){for(var 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,o=this._idList;if(n.getSource().sourceFormat===g.f&&!n.pure)for(var a=[],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){w(e)?u.extend(this._layout,e):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];u.isFunction(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],o=i.ordinalMeta,a=e._store;if(o){n=t[r]=new C(o.categories.length);for(var s=0;s1&&(l+="__ec__"+u),r[t]=l}})),e}();t.a=T},"/ZbY":function(e,t,n){"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},"/bQp":function(e,t){e.exports={}},"/dO2":function(e,t,n){"use strict"; /**! * Sortable 1.10.2 * @author RubaXa * @author owenm * @license MIT */ function r(e){return(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})(e)}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(){return(o=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function l(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(e){return!1}return!1}}function b(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function _(e,t,n,r){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&y(e,t):y(e,t))||r&&e===n)return e;if(e===n)break}while(e=b(e))}return null}var w,x=/\s+/g;function C(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(x," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(x," ")}}function S(e,t,n){var r=e&&e.style;if(r){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in r||-1!==t.indexOf("webkit")||(t="-webkit-"+t),r[t]=n+("string"==typeof n?"":"px")}}function k(e,t){var n="";if("string"==typeof e)n=e;else do{var r=S(e,"transform");r&&"none"!==r&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(n)}function T(e,t,n){if(e){var r=e.getElementsByTagName(t),i=0,o=r.length;if(n)for(;i=o:i<=o))return r;if(r===E())break;r=I(r,!1)}return!1}function M(e,t,n){for(var r=0,i=0,o=e.children;i2&&void 0!==arguments[2]?arguments[2]:{},r=n.evt,i=s(n,["evt"]);W.pluginEvent.bind(Ue)(e,t,a({dragEl:q,parentEl:K,ghostEl:J,rootEl:$,nextEl:ee,lastDownEl:te,cloneEl:ne,cloneHidden:re,dragStarted:ge,putSortable:ce,activeSortable:Ue.active,originalEvent:r,oldIndex:ie,oldDraggableIndex:ae,newIndex:oe,newDraggableIndex:se,hideGhostForTarget:Ne,unhideGhostForTarget:Fe,cloneNowHidden:function(){re=!0},cloneNowShown:function(){re=!1},dispatchSortableEvent:function(e){Z({sortable:t,name:e,originalEvent:r})}},i))};function Z(e){G(a({putSortable:ce,cloneEl:ne,targetEl:q,rootEl:$,oldIndex:ie,oldDraggableIndex:ae,newIndex:oe,newDraggableIndex:se},e))}var q,K,J,$,ee,te,ne,re,ie,oe,ae,se,le,ce,ue,he,fe,de,pe,Ae,ge,me,ve,ye,be,_e=!1,we=!1,xe=[],Ce=!1,Se=!1,ke=[],Te=!1,Ee=[],Be="undefined"!=typeof document,Oe=p,Me=h||u?"cssFloat":"float",Pe=Be&&!A&&!p&&"draggable"in document.createElement("div"),Le=function(){if(Be){if(u)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),De=function(e,t){var n=S(e),r=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),i=M(e,0,t),o=M(e,1,t),a=i&&S(i),s=o&&S(o),l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+B(i).width,c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+B(o).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(i&&a.float&&"none"!==a.float){var u="left"===a.float?"left":"right";return!o||"both"!==s.clear&&s.clear!==u?"horizontal":"vertical"}return i&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||l>=r&&"none"===n[Me]||o&&"none"===n[Me]&&l+c>r)?"vertical":"horizontal"},Ie=function(e){function t(e,n){return function(r,i,o,a){var s=r.options.group.name&&i.options.group.name&&r.options.group.name===i.options.group.name;if(null==e&&(n||s))return!0;if(null==e||!1===e)return!1;if(n&&"clone"===e)return e;if("function"==typeof e)return t(e(r,i,o,a),n)(r,i,o,a);var l=(n?r:i).options.group.name;return!0===e||"string"==typeof e&&e===l||e.join&&e.indexOf(l)>-1}}var n={},i=e.group;i&&"object"==r(i)||(i={name:i}),n.name=i.name,n.checkPull=t(i.pull,!0),n.checkPut=t(i.put),n.revertClone=i.revertClone,e.group=n},Ne=function(){!Le&&J&&S(J,"display","none")},Fe=function(){!Le&&J&&S(J,"display","")};Be&&document.addEventListener("click",function(e){if(we)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),we=!1,!1},!0);var Re=function(e){if(q){e=e.touches?e.touches[0]:e;var t=(i=e.clientX,o=e.clientY,xe.some(function(e){if(!P(e)){var t=B(e),n=e[z].options.emptyInsertThreshold,r=i>=t.left-n&&i<=t.right+n,s=o>=t.top-n&&o<=t.bottom+n;return n&&r&&s?a=e:void 0}}),a);if(t){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[z]._onDragOver(n)}}var i,o,a},je=function(e){q&&q.parentNode[z]._isOutsideThisEl(e.target)};function Ue(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=o({},t),e[z]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return De(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Ue.supportPointer&&"PointerEvent"in window,emptyInsertThreshold:5};for(var r in W.initializePlugins(this,e,n),n)!(r in t)&&(t[r]=n[r]);for(var i in Ie(t),this)"_"===i.charAt(0)&&"function"==typeof this[i]&&(this[i]=this[i].bind(this));this.nativeDraggable=!t.forceFallback&&Pe,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?m(e,"pointerdown",this._onTapStart):(m(e,"mousedown",this._onTapStart),m(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(m(e,"dragover",this),m(e,"dragenter",this)),xe.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),o(this,Q())}function He(e,t,n,r,i,o,a,s){var l,c,f=e[z],d=f.options.onMove;return!window.CustomEvent||u||h?(l=document.createEvent("Event")).initEvent("move",!0,!0):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=t,l.from=e,l.dragged=n,l.draggedRect=r,l.related=i||t,l.relatedRect=o||B(t),l.willInsertAfter=s,l.originalEvent=a,e.dispatchEvent(l),d&&(c=d.call(f,l,a)),c}function ze(e){e.draggable=!1}function Qe(){Te=!1}function Ye(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,r=0;n--;)r+=t.charCodeAt(n);return r.toString(36)}function Ve(e){return setTimeout(e,0)}function We(e){return clearTimeout(e)}Ue.prototype={constructor:Ue,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(me=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,q):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,r=this.options,i=r.preventOnFilter,o=e.type,a=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,s=(a||e).target,l=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||s,c=r.filter;if(function(e){Ee.length=0;var t=e.getElementsByTagName("input"),n=t.length;for(;n--;){var r=t[n];r.checked&&Ee.push(r)}}(n),!q&&!(/mousedown|pointerdown/.test(o)&&0!==e.button||r.disabled||l.isContentEditable||(s=_(s,r.draggable,n,!1))&&s.animated||te===s)){if(ie=L(s),ae=L(s,r.draggable),"function"==typeof c){if(c.call(this,e,s,this))return Z({sortable:t,rootEl:l,name:"filter",targetEl:s,toEl:n,fromEl:n}),X("filter",t,{evt:e}),void(i&&e.cancelable&&e.preventDefault())}else if(c&&(c=c.split(",").some(function(r){if(r=_(l,r.trim(),n,!1))return Z({sortable:t,rootEl:r,name:"filter",targetEl:s,fromEl:n,toEl:n}),X("filter",t,{evt:e}),!0})))return void(i&&e.cancelable&&e.preventDefault());r.handle&&!_(l,r.handle,n,!1)||this._prepareDragStart(e,a,s)}}},_prepareDragStart:function(e,t,n){var r,i=this,o=i.el,a=i.options,s=o.ownerDocument;if(n&&!q&&n.parentNode===o){var l=B(n);if($=o,K=(q=n).parentNode,ee=q.nextSibling,te=n,le=a.group,Ue.dragged=q,ue={target:q,clientX:(t||e).clientX,clientY:(t||e).clientY},pe=ue.clientX-l.left,Ae=ue.clientY-l.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,q.style["will-change"]="all",r=function(){X("delayEnded",i,{evt:e}),Ue.eventCanceled?i._onDrop():(i._disableDelayedDragEvents(),!f&&i.nativeDraggable&&(q.draggable=!0),i._triggerDragStart(e,t),Z({sortable:i,name:"choose",originalEvent:e}),C(q,a.chosenClass,!0))},a.ignore.split(",").forEach(function(e){T(q,e.trim(),ze)}),m(s,"dragover",Re),m(s,"mousemove",Re),m(s,"touchmove",Re),m(s,"mouseup",i._onDrop),m(s,"touchend",i._onDrop),m(s,"touchcancel",i._onDrop),f&&this.nativeDraggable&&(this.options.touchStartThreshold=4,q.draggable=!0),X("delayStart",this,{evt:e}),!a.delay||a.delayOnTouchOnly&&!t||this.nativeDraggable&&(h||u))r();else{if(Ue.eventCanceled)return void this._onDrop();m(s,"mouseup",i._disableDelayedDrag),m(s,"touchend",i._disableDelayedDrag),m(s,"touchcancel",i._disableDelayedDrag),m(s,"mousemove",i._delayedDragTouchMoveHandler),m(s,"touchmove",i._delayedDragTouchMoveHandler),a.supportPointer&&m(s,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(r,a.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){q&&ze(q),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;v(e,"mouseup",this._disableDelayedDrag),v(e,"touchend",this._disableDelayedDrag),v(e,"touchcancel",this._disableDelayedDrag),v(e,"mousemove",this._delayedDragTouchMoveHandler),v(e,"touchmove",this._delayedDragTouchMoveHandler),v(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?m(document,"pointermove",this._onTouchMove):m(document,t?"touchmove":"mousemove",this._onTouchMove):(m(q,"dragend",this),m($,"dragstart",this._onDragStart));try{document.selection?Ve(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(e,t){if(_e=!1,$&&q){X("dragStarted",this,{evt:t}),this.nativeDraggable&&m(document,"dragover",je);var n=this.options;!e&&C(q,n.dragClass,!1),C(q,n.ghostClass,!0),Ue.active=this,e&&this._appendGhost(),Z({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(he){this._lastX=he.clientX,this._lastY=he.clientY,Ne();for(var e=document.elementFromPoint(he.clientX,he.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(he.clientX,he.clientY))!==t;)t=e;if(q.parentNode[z]._isOutsideThisEl(e),t)do{if(t[z]){if(t[z]._onDragOver({clientX:he.clientX,clientY:he.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);Fe()}},_onTouchMove:function(e){if(ue){var t=this.options,n=t.fallbackTolerance,r=t.fallbackOffset,i=e.touches?e.touches[0]:e,o=J&&k(J,!0),a=J&&o&&o.a,s=J&&o&&o.d,l=Oe&&be&&D(be),c=(i.clientX-ue.clientX+r.x)/(a||1)+(l?l[0]-ke[0]:0)/(a||1),u=(i.clientY-ue.clientY+r.y)/(s||1)+(l?l[1]-ke[1]:0)/(s||1);if(!Ue.active&&!_e){if(n&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))r.right+10||e.clientX<=r.right&&e.clientY>r.bottom&&e.clientX>=r.left:e.clientX>r.right&&e.clientY>r.top||e.clientX<=r.right&&e.clientY>r.bottom+10}(e,i,this)&&!g.animated){if(g===q)return j(!1);if(g&&o===e.target&&(s=g),s&&(n=B(s)),!1!==He($,o,q,t,s,n,e,!!s))return F(),o.appendChild(q),K=o,U(),j(!0)}else if(s.parentNode===o){n=B(s);var m,v,y,b=q.parentNode!==o,w=!function(e,t,n){var r=n?e.left:e.top,i=n?e.right:e.bottom,o=n?e.width:e.height,a=n?t.left:t.top,s=n?t.right:t.bottom,l=n?t.width:t.height;return r===a||i===s||r+o/2===a+l/2}(q.animated&&q.toRect||t,s.animated&&s.toRect||n,i),x=i?"top":"left",k=O(s,"top","top")||O(q,"top","top"),T=k?k.scrollTop:void 0;if(me!==s&&(v=n[x],Ce=!1,Se=!w&&l.invertSwap||b),0!==(m=function(e,t,n,r,i,o,a,s){var l=r?e.clientY:e.clientX,c=r?n.height:n.width,u=r?n.top:n.left,h=r?n.bottom:n.right,f=!1;if(!a)if(s&&yeu+c*o/2:lh-ye)return-ve}else if(l>u+c*(1-i)/2&&lh-c*o/2))return l>u+c/2?1:-1;return 0}(e,s,n,i,w?1:l.swapThreshold,null==l.invertedSwapThreshold?l.swapThreshold:l.invertedSwapThreshold,Se,me===s))){var E=L(q);do{E-=m,y=K.children[E]}while(y&&("none"===S(y,"display")||y===J))}if(0===m||y===s)return j(!1);me=s,ve=m;var M=s.nextElementSibling,D=!1,I=He($,o,q,t,s,n,e,D=1===m);if(!1!==I)return 1!==I&&-1!==I||(D=1===I),Te=!0,setTimeout(Qe,30),F(),D&&!M?o.appendChild(q):s.parentNode.insertBefore(q,D?M:s),k&&R(k,0,T-k.scrollTop),K=q.parentNode,void 0===v||Se||(ye=Math.abs(v-B(s)[x])),U(),j(!0)}if(o.contains(q))return j(!1)}return!1}function N(l,c){X(l,p,a({evt:e,isOwner:h,axis:i?"vertical":"horizontal",revert:r,dragRect:t,targetRect:n,canSort:f,fromSortable:d,target:s,completed:j,onMove:function(n,r){return He($,o,q,t,n,B(n),e,r)},changed:U},c))}function F(){N("dragOverAnimationCapture"),p.captureAnimationState(),p!==d&&d.captureAnimationState()}function j(t){return N("dragOverCompleted",{insertion:t}),t&&(h?u._hideClone():u._showClone(p),p!==d&&(C(q,ce?ce.options.ghostClass:u.options.ghostClass,!1),C(q,l.ghostClass,!0)),ce!==p&&p!==Ue.active?ce=p:p===Ue.active&&ce&&(ce=null),d===p&&(p._ignoreWhileAnimating=s),p.animateAll(function(){N("dragOverAnimationComplete"),p._ignoreWhileAnimating=null}),p!==d&&(d.animateAll(),d._ignoreWhileAnimating=null)),(s===q&&!q.animated||s===o&&!s.animated)&&(me=null),l.dragoverBubble||e.rootEl||s===document||(q.parentNode[z]._isOutsideThisEl(e.target),!t&&Re(e)),!l.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),A=!0}function U(){oe=L(q),se=L(q,l.draggable),Z({sortable:p,name:"change",toEl:o,newIndex:oe,newDraggableIndex:se,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){v(document,"mousemove",this._onTouchMove),v(document,"touchmove",this._onTouchMove),v(document,"pointermove",this._onTouchMove),v(document,"dragover",Re),v(document,"mousemove",Re),v(document,"touchmove",Re)},_offUpEvents:function(){var e=this.el.ownerDocument;v(e,"mouseup",this._onDrop),v(e,"touchend",this._onDrop),v(e,"pointerup",this._onDrop),v(e,"touchcancel",this._onDrop),v(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;oe=L(q),se=L(q,n.draggable),X("drop",this,{evt:e}),K=q&&q.parentNode,oe=L(q),se=L(q,n.draggable),Ue.eventCanceled?this._nulling():(_e=!1,Se=!1,Ce=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),We(this.cloneId),We(this._dragStartId),this.nativeDraggable&&(v(document,"drop",this),v(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),d&&S(document.body,"user-select",""),S(q,"transform",""),e&&(ge&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),J&&J.parentNode&&J.parentNode.removeChild(J),($===K||ce&&"clone"!==ce.lastPutMode)&&ne&&ne.parentNode&&ne.parentNode.removeChild(ne),q&&(this.nativeDraggable&&v(q,"dragend",this),ze(q),q.style["will-change"]="",ge&&!_e&&C(q,ce?ce.options.ghostClass:this.options.ghostClass,!1),C(q,this.options.chosenClass,!1),Z({sortable:this,name:"unchoose",toEl:K,newIndex:null,newDraggableIndex:null,originalEvent:e}),$!==K?(oe>=0&&(Z({rootEl:K,name:"add",toEl:K,fromEl:$,originalEvent:e}),Z({sortable:this,name:"remove",toEl:K,originalEvent:e}),Z({rootEl:K,name:"sort",toEl:K,fromEl:$,originalEvent:e}),Z({sortable:this,name:"sort",toEl:K,originalEvent:e})),ce&&ce.save()):oe!==ie&&oe>=0&&(Z({sortable:this,name:"update",toEl:K,originalEvent:e}),Z({sortable:this,name:"sort",toEl:K,originalEvent:e})),Ue.active&&(null!=oe&&-1!==oe||(oe=ie,se=ae),Z({sortable:this,name:"end",toEl:K,originalEvent:e}),this.save()))),this._nulling())},_nulling:function(){X("nulling",this),$=q=K=J=ee=ne=te=re=ue=he=ge=oe=se=ie=ae=me=ve=ce=le=Ue.dragged=Ue.ghost=Ue.clone=Ue.active=null,Ee.forEach(function(e){e.checked=!0}),Ee.length=fe=de=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":q&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move");e.cancelable&&e.preventDefault()}(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],n=this.el.children,r=0,i=n.length,o=this.options;r1&&(pt.forEach(function(e){r.addAnimationState({target:e,rect:mt?B(e):i}),H(e),e.fromRect=i,t.removeAnimationState(e)}),mt=!1,function(e,t){pt.forEach(function(n,r){var i=t.children[n.sortableIndex+(e?Number(r):0)];i?t.insertBefore(n,i):t.appendChild(n)})}(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(e){var t=e.sortable,n=e.isOwner,r=e.insertion,i=e.activeSortable,o=e.parentEl,a=e.putSortable,s=this.options;if(r){if(n&&i._hideClone(),gt=!1,s.animation&&pt.length>1&&(mt||!n&&!i.options.sort&&!a)){var l=B(ht,!1,!0,!0);pt.forEach(function(e){e!==ht&&(U(e,l),o.appendChild(e))}),mt=!0}if(!n)if(mt||_t(),pt.length>1){var c=dt;i._showClone(t),i.options.animation&&!dt&&c&&At.forEach(function(e){i.addAnimationState({target:e,rect:ft}),e.fromRect=ft,e.thisAnimationDuration=null})}else i._showClone(t)}},dragOverAnimationCapture:function(e){var t=e.dragRect,n=e.isOwner,r=e.activeSortable;if(pt.forEach(function(e){e.thisAnimationDuration=null}),r.options.animation&&!n&&r.multiDrag.isMultiDrag){ft=o({},t);var i=k(ht,!0);ft.top-=i.f,ft.left-=i.e}},dragOverAnimationComplete:function(){mt&&(mt=!1,_t())},drop:function(e){var t=e.originalEvent,n=e.rootEl,r=e.parentEl,i=e.sortable,o=e.dispatchSortableEvent,a=e.oldIndex,s=e.putSortable,l=s||this.sortable;if(t){var c=this.options,u=r.children;if(!vt)if(c.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),C(ht,c.selectedClass,!~pt.indexOf(ht)),~pt.indexOf(ht))pt.splice(pt.indexOf(ht),1),ct=null,G({sortable:i,rootEl:n,name:"deselect",targetEl:ht,originalEvt:t});else{if(pt.push(ht),G({sortable:i,rootEl:n,name:"select",targetEl:ht,originalEvt:t}),t.shiftKey&&ct&&i.el.contains(ct)){var h,f,d=L(ct),p=L(ht);if(~d&&~p&&d!==p)for(p>d?(f=d,h=p):(f=p,h=d+1);f1){var A=B(ht),g=L(ht,":not(."+this.options.selectedClass+")");if(!gt&&c.animation&&(ht.thisAnimationDuration=null),l.captureAnimationState(),!gt&&(c.animation&&(ht.fromRect=A,pt.forEach(function(e){if(e.thisAnimationDuration=null,e!==ht){var t=mt?B(e):A;e.fromRect=t,l.addAnimationState({target:e,rect:t})}})),_t(),pt.forEach(function(e){u[g]?r.insertBefore(e,u[g]):r.appendChild(e),g++}),a===L(ht))){var m=!1;pt.forEach(function(e){e.sortableIndex===L(e)||(m=!0)}),m&&o("update")}pt.forEach(function(e){H(e)}),l.animateAll()}ut=l}(n===r||s&&"clone"!==s.lastPutMode)&&At.forEach(function(e){e.parentNode&&e.parentNode.removeChild(e)})}},nullingGlobal:function(){this.isMultiDrag=vt=!1,At.length=0},destroyGlobal:function(){this._deselectMultiDrag(),v(document,"pointerup",this._deselectMultiDrag),v(document,"mouseup",this._deselectMultiDrag),v(document,"touchend",this._deselectMultiDrag),v(document,"keydown",this._checkKeyDown),v(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(e){if(!(void 0!==vt&&vt||ut!==this.sortable||e&&_(e.target,this.options.draggable,this.sortable.el,!1)||e&&0!==e.button))for(;pt.length;){var t=pt[0];C(t,this.options.selectedClass,!1),pt.shift(),G({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:t,originalEvt:e})}},_checkKeyDown:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},o(e,{pluginName:"multiDrag",utils:{select:function(e){var t=e.parentNode[z];t&&t.options.multiDrag&&!~pt.indexOf(e)&&(ut&&ut!==t&&(ut.multiDrag._deselectMultiDrag(),ut=t),C(e,t.options.selectedClass,!0),pt.push(e))},deselect:function(e){var t=e.parentNode[z],n=pt.indexOf(e);t&&t.options.multiDrag&&~n&&(C(e,t.options.selectedClass,!1),pt.splice(n,1))}},eventProperties:function(){var e=this,t=[],n=[];return pt.forEach(function(r){var i;t.push({multiDragElement:r,index:r.sortableIndex}),i=mt&&r!==ht?-1:mt?L(r,":not(."+e.options.selectedClass+")"):L(r),n.push({multiDragElement:r,index:i})}),{items:l(pt),clones:[].concat(At),oldIndicies:t,newIndicies:n}},optionListeners:{multiDragKey:function(e){return"ctrl"===(e=e.toLowerCase())?e="Control":e.length>1&&(e=e.charAt(0).toUpperCase()+e.substr(1)),e}}})}function bt(e,t){At.forEach(function(n,r){var i=t.children[n.sortableIndex+(e?Number(r):0)];i?t.insertBefore(n,i):t.appendChild(n)})}function _t(){pt.forEach(function(e){e!==ht&&e.parentNode&&e.parentNode.removeChild(e)})}Ue.mount(new function(){function e(){for(var e in this.defaults={scroll:!0,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===e.charAt(0)&&"function"==typeof this[e]&&(this[e]=this[e].bind(this))}return e.prototype={dragStarted:function(e){var t=e.originalEvent;this.sortable.nativeDraggable?m(document,"dragover",this._handleAutoScroll):this.options.supportPointer?m(document,"pointermove",this._handleFallbackAutoScroll):t.touches?m(document,"touchmove",this._handleFallbackAutoScroll):m(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?v(document,"dragover",this._handleAutoScroll):(v(document,"pointermove",this._handleFallbackAutoScroll),v(document,"touchmove",this._handleFallbackAutoScroll),v(document,"mousemove",this._handleFallbackAutoScroll)),nt(),tt(),clearTimeout(w),w=void 0},nulling:function(){Ke=Xe=Ge=et=Je=Ze=qe=null,$e.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,t){var n=this,r=(e.touches?e.touches[0]:e).clientX,i=(e.touches?e.touches[0]:e).clientY,o=document.elementFromPoint(r,i);if(Ke=e,t||h||u||d){it(e,this.options,o,t);var a=I(o,!0);!et||Je&&r===Ze&&i===qe||(Je&&nt(),Je=setInterval(function(){var o=I(document.elementFromPoint(r,i),!0);o!==a&&(a=o,tt()),it(e,n.options,o,t)},10),Ze=r,qe=i)}else{if(!this.options.bubbleScroll||I(o,!0)===E())return void tt();it(e,this.options,I(o,!1),!1)}}},o(e,{pluginName:"scroll",initializeByDefault:!0})}),Ue.mount(st,at),t.default=Ue},"/gxq":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.guid=function(){return A++},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}}(o.path||""),f=t&&t.path||"/",d=c.path?x(c.path,f,n||o.append):f,p=function(e,t,n){void 0===t&&(t={});var r,i=n||h;try{r=i(e||"")}catch(e){r={}}for(var o in t){var a=t[o];r[o]=Array.isArray(a)?a.map(u):u(a)}return r}(c.query,o.query,r&&r.options.parseQuery),A=o.hash||c.hash;return A&&"#"!==A.charAt(0)&&(A="#"+A),{_normalized:!0,path:d,query:p,hash:A}}var Y,V=[String,Object],W=[String,Array],G=function(){},X={name:"RouterLink",props:{to:{type:V,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:W,default:"click"}},render:function(e){var t=this,n=this.$router,r=this.$route,o=n.resolve(this.to,r,this.append),a=o.location,s=o.route,l=o.href,c={},u=n.options.linkActiveClass,h=n.options.linkExactActiveClass,f=null==u?"router-link-active":u,A=null==h?"router-link-exact-active":h,g=null==this.activeClass?f:this.activeClass,m=null==this.exactActiveClass?A:this.exactActiveClass,y=s.redirectedFrom?p(null,Q(s.redirectedFrom),null,n):s;c[m]=v(r,y,this.exactPath),c[g]=this.exact||this.exactPath?c[m]:function(e,t){return 0===e.path.replace(d,"/").indexOf(t.path.replace(d,"/"))&&(!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[m]?this.ariaCurrentValue:null,_=function(e){Z(e)&&(t.replace?n.replace(a,G):n.push(a,G))},w={click:Z};Array.isArray(this.event)?this.event.forEach(function(e){w[e]=_}):w[this.event]=_;var x={class:c},C=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:l,route:s,navigate:_,isActive:c[g],isExactActive:c[m]});if(C){if(1===C.length)return C[0];if(C.length>1||!C.length)return 0===C.length?e():e("span",{},C)}if("a"===this.tag)x.on=w,x.attrs={href:l,"aria-current":b};else{var S=function e(t){if(t)for(var n,r=0;r-1&&(s.params[f]=n.params[f]);return s.path=z(u.path,s.params),l(u,s,a)}if(s.path){s.params={};for(var d=0;d=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 Ce(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 Se.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 Ce(e,t,_e.cancelled,'Navigation cancelled from "'+e.fullPath+'" to "'+t.fullPath+'" with a new navigation.')}function Ce(e,t,n,r){var i=new Error(r);return i._isRouter=!0,i.from=e,i.to=t,i.type=n,i}var Se=["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,o=0,a=null;Be(e,function(e,t,n,s){if("function"==typeof e&&void 0===e.cid){i=!0,o++;var l,c=Pe(function(t){var i;((i=t).__esModule||Me&&"Module"===i[Symbol.toStringTag])&&(t=t.default),e.resolved="function"==typeof t?t:Y.extend(t),n.components[s]=t,--o<=0&&r()}),u=Pe(function(e){var t="Failed to resolve async component "+s+": "+e;a||(a=ke(e)?e:new Error(t),r(a))});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 Me="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function Pe(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 Le=function(e,t){this.router=e,this.base=function(e){if(!e)if(K){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=g,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function De(e,t,n,r){var i=Be(e,function(e,r,i,o){var a=function(e,t){"function"!=typeof e&&(e=Y.extend(e));return e.options[t]}(e,t);if(a)return Array.isArray(a)?a.map(function(e){return n(e,r,i,o)}):n(a,r,i,o)});return Oe(r?i.reverse():i)}function Ie(e,t){if(t)return function(){return e.apply(t,arguments)}}Le.prototype.listen=function(e){this.cb=e},Le.prototype.onReady=function(e,t){this.ready?e():(this.readyCbs.push(e),t&&this.readyErrorCbs.push(t))},Le.prototype.onError=function(e){this.errorCbs.push(e)},Le.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 o=this.current;this.confirmTransition(r,function(){i.updateRoute(r),t&&t(r),i.ensureURL(),i.router.afterHooks.forEach(function(e){e&&e(r,o)}),i.ready||(i.ready=!0,i.readyCbs.forEach(function(e){e(r)}))},function(e){n&&n(e),e&&!i.ready&&(Te(e,_e.redirected)&&o===g||(i.ready=!0,i.readyErrorCbs.forEach(function(t){t(e)})))})},Le.prototype.confirmTransition=function(e,t,n){var i=this,o=this.current;this.pending=e;var a,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=o.matched.length-1;if(v(e,o)&&c===u&&e.matched[c]===o.matched[u])return this.ensureURL(),l(((s=Ce(a=o,e,_e.duplicated,'Avoided redundant navigation to current location: "'+a.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=me&&n;r&&this.listeners.push(se());var i=function(){var n=e.current,i=Fe(e.base);e.current===g&&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(C(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(C(r.base+e.fullPath)),le(r.router,e,i,!1),t&&t(e)},n)},t.prototype.ensureURL=function(e){if(Fe(this.base)!==this.current.fullPath){var t=C(this.base+this.current.fullPath);e?ve(t):ye(t)}},t.prototype.getCurrentLocation=function(){return Fe(this.base)},t}(Le);function Fe(e){var t=window.location.pathname;return e&&0===t.toLowerCase().indexOf(e.toLowerCase())&&(t=t.slice(e.length)),(t||"/")+window.location.search+window.location.hash}var Re=function(e){function t(t,n,r){e.call(this,t,n),r&&function(e){var t=Fe(e);if(!/^\/#/.test(t))return window.location.replace(C(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=me&&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),me||Qe(r.fullPath)})},i=me?"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){Qe(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):Qe(t))},t.prototype.getCurrentLocation=function(){return Ue()},t}(Le);function je(){var e=Ue();return"/"===e.charAt(0)||(Qe("/"+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){me?ve(He(e)):window.location.hash=e}function Qe(e){me?ye(He(e)):window.location.replace(He(e))}var Ye=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}(Le),Ve=function(e){void 0===e&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=$(e.routes||[],this);var t=e.mode||"hash";switch(this.fallback="history"===t&&!me&&!1!==e.fallback,this.fallback&&(t="hash"),K||(t="abstract"),this.mode=t,t){case"history":this.history=new Ne(this,e.base);break;case"hash":this.history=new Re(this,e.base,this.fallback);break;case"abstract":this.history=new Ye(this,e.base);break;default:0}},We={currentRoute:{configurable:!0}};function Ge(e,t){return e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}Ve.prototype.match=function(e,t,n){return this.matcher.match(e,t,n)},We.currentRoute.get=function(){return this.history&&this.history.current},Ve.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 Ne||n instanceof Re){var r=function(e){n.setupListeners(),function(e){var r=n.current,i=t.options.scrollBehavior;me&&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})})}},Ve.prototype.beforeEach=function(e){return Ge(this.beforeHooks,e)},Ve.prototype.beforeResolve=function(e){return Ge(this.resolveHooks,e)},Ve.prototype.afterEach=function(e){return Ge(this.afterHooks,e)},Ve.prototype.onReady=function(e,t){this.history.onReady(e,t)},Ve.prototype.onError=function(e){this.history.onError(e)},Ve.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)},Ve.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)},Ve.prototype.go=function(e){this.history.go(e)},Ve.prototype.back=function(){this.go(-1)},Ve.prototype.forward=function(){this.go(1)},Ve.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]})})):[]},Ve.prototype.resolve=function(e,t,n){var r=Q(e,t=t||this.history.current,n,this),i=this.match(r,t),o=i.redirectedFrom||i.fullPath;return{location:r,route:i,href:function(e,t,n){var r="hash"===n?"#"+t:t;return e?C(e+"/"+r):r}(this.history.base,o,this.mode),normalizedTo:r,resolved:i}},Ve.prototype.getRoutes=function(){return this.matcher.getRoutes()},Ve.prototype.addRoute=function(e,t){this.matcher.addRoute(e,t),this.history.current!==g&&this.history.transitionTo(this.history.getCurrentLocation())},Ve.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==g&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(Ve.prototype,We),Ve.install=q,Ve.version="3.5.1",Ve.isNavigationFailure=Te,Ve.NavigationFailureType=_e,Ve.START_LOCATION=g,K&&window.Vue&&window.Vue.use(Ve),t.a=Ve},"/v5b":function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r,i=n("/gxq"),o=n("Tu23"),a=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 f(e){return e>65535?s:l}function d(e,t,n,r,i){var o=h[n||"float"];if(i){var a=e[t],s=a&&a.length;if(s!==r){for(var l=new o(r),c=0;cm[1]&&(m[1]=g)}return this._rawCount=this._count=l,{start:s,end:l}},e.prototype._initDataFromProvider=function(e,t,n){for(var r=this._provider,o=this._chunks,a=this._dimensions,s=a.length,l=this._rawExtent,c=Object(i.map)(a,function(e){return e.property}),u=0;uv[1]&&(v[1]=m)}}!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 o;i=o-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 o=1/0,a=-1,s=0,l=0,c=this.count();l=0&&a<0)&&(o=h,a=u,s=0),u===a&&(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++]=A),A++}p=!0}else if(2===o){g=d[r[0]];var v=d[r[1]],y=e[r[1]][0],b=e[r[1]][1];for(m=0;m=u&&_<=h||isNaN(_))&&(w>=y&&w<=b||isNaN(w))&&(s[l++]=A),A++}p=!0}}if(!p)if(1===o)for(m=0;m=u&&_<=h||isNaN(_))&&(s[l++]=x)}else for(m=0;me[k][1])&&(C=!1)}C&&(s[l++]=t.getRawIndex(m))}return lg[1]&&(g[1]=A)}}}},e.prototype.lttbDownSample=function(e,t){var n,r,i,o=this.clone([e],!0),a=o._chunks[e],s=this.count(),l=0,c=Math.floor(1/t),u=this.getRawIndex(0),h=new(f(this._rawCount))(Math.min(2*(Math.ceil(s/c)+2),s));h[l++]=u;for(var d=1;dn&&(n=r,i=k)}S>0&&S<_-b&&(h[l++]=Math.min(C,i),i=Math.max(C,i)),h[l++]=i,u=i}return h[l++]=this.getRawIndex(s-1),o._count=l,o._indices=h,o.getRawIndex=this._getRawIdx,o},e.prototype.downSample=function(e,t,n,r){for(var i=this.clone([e],!0),o=i._chunks,a=[],s=Math.floor(1/t),l=o[e],c=this.count(),u=i._rawExtent[e]=[1/0,-1/0],h=new(f(this._rawCount))(Math.ceil(c/s)),d=0,p=0;pc-p&&(s=c-p,a.length=s);for(var A=0;Au[1]&&(u[1]=m),h[d++]=v}return i._count=d,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,o=this.count();ia&&(a=l)}return r=[o,a],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(o.d)(e[r],this._dimensions[r])}r={arrayRows:e,objectRows:function(e,t,n,r){return Object(o.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(o.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"),o=(r=i)&&r.__esModule?r:{default:r};var a="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 o=i.target.__resizeListeners__||[];o.length&&o.forEach(function(e){e()})}};t.addResizeListener=function(e,t){a||(e.__resizeListeners__||(e.__resizeListeners__=[],e.__ro__=new o.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"),o=n("D2L2"),a=n("evD5").f,s=0,l=Object.isExtensible||function(){return!0},c=!n("S82l")(function(){return l(Object.preventExtensions({}))}),u=function(e){a(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(!o(e,r)){if(!l(e))return"F";if(!t)return"E";u(e)}return e[r].i},getWeak:function(e,t){if(!o(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)&&!o(e,r)&&u(e),e}}},"08qG":function(e,t,n){"use strict";var r=t.src_Any=n("zFpG").source,i=t.src_Cc=n("xaBl").source,o=t.src_Z=n("d6gb").source,a=t.src_P=n("T815").source,s=t.src_ZPCc=[o,a,i].join("|"),l=t.src_ZCc=[o,i].join("|"),c="(?:(?!>|<|"+s+")"+r+")",u=t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)";t.src_auth="(?:(?:(?!"+l+"|[@/]).)+@)?";var h=t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",f=t.src_host_terminator="(?=$|>|<|"+s+")(?!-|_|:\\d|\\.-|\\.(?!$|"+s+"))",d=t.src_path="(?:[/?#](?:(?!"+l+"|[()[\\]{}.,\"'?!\\-<>]).|\\[(?:(?!"+l+"|\\]).)*\\]|\\((?:(?!"+l+"|[)]).)*\\)|\\{(?:(?!"+l+'|[}]).)*\\}|\\"(?:(?!'+l+'|["]).)+\\"|\\\'(?:(?!'+l+"|[']).)+\\'|\\'(?="+c+").|\\.{2,3}[a-zA-Z0-9%/]|\\.(?!"+l+"|[.]).|\\-(?!--(?:[^-]|$))(?:-*)|\\,(?!"+l+").|\\!(?!"+l+"|[!]).|\\?(?!"+l+"|[?]).)+|\\/)?",p=t.src_email_name='[\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]+',A=t.src_xn="xn--[a-z0-9\\-]{1,59}",g=t.src_domain_root="(?:"+A+"|"+c+"{1,63})",m=t.src_domain="(?:"+A+"|(?:"+c+")|(?:"+c+"(?:-(?!-)|"+c+"){0,61}"+c+"))",v=t.src_host="(?:(?:(?:(?:"+m+")\\.)*"+g+"))",y=t.tpl_host_fuzzy="(?:"+u+"|(?:(?:(?:"+m+")\\.)+(?:%TLDS%)))",b=t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+m+")\\.)+(?:%TLDS%))";t.src_host_strict=v+f;var _=t.tpl_host_fuzzy_strict=y+f;t.src_host_port_strict=v+h+f;var w=t.tpl_host_port_fuzzy_strict=y+h+f,x=t.tpl_host_port_no_ip_fuzzy_strict=b+h+f;t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+s+"|>|$))",t.tpl_email_fuzzy="(^|<|>|\\(|"+l+")("+p+"@"+_+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|]|"+s+"))((?![$+<=>^`|])"+w+d+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|]|"+s+"))((?![$+<=>^`|])"+x+d+")"},"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),o=(r.new_float_n,r.new_int),a=(r.new_int_n,r.assert,n("Y2/2"));e.exports=function(){this.linprebuf=i(2*a.MAX_ORDER),this.linpre=0,this.lstepbuf=i(a.MAX_SAMPLES_PER_WINDOW+a.MAX_ORDER),this.lstep=0,this.loutbuf=i(a.MAX_SAMPLES_PER_WINDOW+a.MAX_ORDER),this.lout=0,this.rinprebuf=i(2*a.MAX_ORDER),this.rinpre=0,this.rstepbuf=i(a.MAX_SAMPLES_PER_WINDOW+a.MAX_ORDER),this.rstep=0,this.routbuf=i(a.MAX_SAMPLES_PER_WINDOW+a.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=o(0|a.STEPS_per_dB*a.MAX_dB),this.B=o(0|a.STEPS_per_dB*a.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=114)}({0:function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,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),o&&(c._scopeId="data-v-"+o),a?(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(a)},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")},114: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),o=n.n(i),a=n(22),s=n.n(a),l=n(30),c={name:"ElInputNumber",mixins:[s()("input")],inject:{elForm:{default:""},elFormItem:{default:""}},directives:{repeatClick:l.a},components:{ElInput:o.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 f=h.exports;f.install=function(e){e.component(f.name,f)};t.default=f},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,o=void 0,a=function(){return n.context[t.expression].apply()},s=function(){Date.now()-o<100&&a(),clearInterval(i),i=null};Object(r.on)(e,"mousedown",function(e){0===e.button&&(o=Date.now(),Object(r.once)(document,"mouseup",s),clearInterval(i),i=setInterval(a,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),o=(r.new_float_n,r.new_int),a=(r.new_int_n,r.assert,n("jhNZ"));e.exports=function(){this.xr=i(576),this.l3_enc=o(576),this.scalefac=o(a.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=o(3),this.subblock_gain=o(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=o(a.SFBMAX),this.window=o(a.SFBMAX),this.count1bits=0,this.sfb_partition_table=null,this.slen=o(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"),o=n("C7PF"),a=n("GxVO"),s=n("TaTK"),l=n("MAom"),c=n("/Aqo"),u=n("/86O"),h=n("Of86"),f=n("udrn"),d=n("sRta"),p=n("TToO"),A=function(){return function(){this.cx=0,this.cy=0,this.r=0,this.r0=0}}(),g=function(e){function t(t){return e.call(this,t)||this}return Object(p.a)(t,e),t.prototype.getDefaultShape=function(){return new A},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}(a.b);g.prototype.type="ring";var m=g,v=n("+UTs"),y=n("BeCT"),b=n("PD67"),_=n("KsMi"),w=n("AAi1"),x=[],C=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 S(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 C},t.prototype.buildPath=function(e,t){var n=t.x1,r=t.y1,i=t.x2,o=t.y2,a=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,a,i,u,x),a=x[1],i=x[2],Object(w.n)(r,s,o,u,x),s=x[1],o=x[2]),e.quadraticCurveTo(a,s,i,o)):(u<1&&(Object(w.g)(n,a,l,i,u,x),a=x[1],l=x[2],i=x[3],Object(w.g)(r,s,c,o,u,x),s=x[1],c=x[2],o=x[3]),e.bezierCurveTo(a,s,l,c,i,o)))},t.prototype.pointAt=function(e){return S(this.shape,e,!1)},t.prototype.tangentAt=function(e){var t=S(this.shape,e,!0);return o.normalize(t,t)},t}(a.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),o=t.startAngle,a=t.endAngle,s=t.clockwise,l=Math.cos(o),c=Math.sin(o);e.moveTo(l*i+n,c*i+r),e.arc(n,r,i,o,a,!s)},t}(a.b);B.prototype.type="arc";var O=B,M=n("me52"),P=n("Gw4f"),L=n("jHiU"),D=n("8b51"),I=n("4mb7"),N=[0,0],F=[0,0],R=new I.a,j=new I.a,U=function(){function e(e,t){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new I.a;for(n=0;n<2;n++)this._axes[n]=new I.a;e&&this.fromBoundingRect(e,t)}return e.prototype.fromBoundingRect=function(e,t){var n=this._corners,r=this._axes,i=e.x,o=e.y,a=i+e.width,s=o+e.height;if(n[0].set(i,o),n[1].set(a,o),n[2].set(a,s),n[3].set(i,s),t)for(var l=0;l<4;l++)n[l].transform(t);I.a.sub(r[0],n[1],n[0]),I.a.sub(r[1],n[3],n[0]),r[0].normalize(),r[1].normalize();for(l=0;l<2;l++)this._origin[l]=r[l].dot(n[0])},e.prototype.intersect=function(e,t){var n=!0,r=!t;return R.set(1/0,1/0),j.set(0,0),!this._intersectCheckOneSide(this,e,R,j,r,1)&&(n=!1,r)?n:!this._intersectCheckOneSide(e,this,R,j,r,-1)&&(n=!1,r)?n:(r||I.a.copy(t,n?R:j),n)},e.prototype._intersectCheckOneSide=function(e,t,n,r,i,o){for(var a=!0,s=0;s<2;s++){var l=this._axes[s];if(this._getProjMinMaxOnAxis(s,e._corners,N),this._getProjMinMaxOnAxis(s,t._corners,F),N[1]F[1]){if(a=!1,i)return a;var c=Math.abs(F[0]-N[1]),u=Math.abs(N[0]-F[1]);Math.min(c,u)>r.len()&&(cMath.abs(o[1])?o[0]>0?"right":"left":o[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(Y.extend)({},e.shape)),t}var i=(o=e,a={},o.traverse(function(e){ie(e)&&e.anid&&(a[e.anid]=e)}),a);var o,a;t.traverse(function(e){if(ie(e)&&e.anid){var t=i[e.anid];if(t){var o=r(e);e.attr(r(t)),Object(W.h)(e,o,n,Object(V.a)(e).dataIndex)}}})},t.clipPointsByRect=function(e,t){return Object(Y.map)(e,function(e){var n=e[0];n=G(n,t.x),n=X(n,t.x+t.width);var r=e[1];return r=G(r,t.y),r=X(r,t.y+t.height),[n,r]})},t.clipRectByRect=function(e,t){var n=G(e.x,t.x),r=X(e.x+e.width,t.x+t.width),i=G(e.y,t.y),o=X(e.y+e.height,t.y+t.height);if(r>=n&&o>=i)return{x:n,y:i,width:r-n,height:o-i}},t.createIcon=function(e,t,n){var r=Object(Y.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(Y.defaults)(i,n),new l.a(r)):J(e.replace("path://",""),r,n,"center")},t.linePolygonIntersect=function(e,t,n,r,i){for(var o=0,a=i[i.length-1];o=-1e-6)return!1;var p=e-i,A=t-o,g=ae(p,A,c,u)/d;if(g<0||g>1)return!1;var m=ae(p,A,h,f)/d;return!(m<0||m>1)}function ae(e,t,n,r){return e*r-n*t}function se(e,t){var n;e.isGroup&&(n=t(e)),n||e.traverse(t)}K("circle",h.a),K("ellipse",f.a),K("sector",d.a),K("ring",m),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 o(e){return c(e,i)}var a=["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"];function s(e){return c(e,a)}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 f(e){return e?e.replace(/(\n+\s*)+/g,"\n"):""}function d(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 g(e){var t=e.nextSibling||e.parentNode;return e.parentNode.removeChild(e),t}function m(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 o=i.getAttribute("start"),a=Array.prototype.indexOf.call(i.children,t);r=(o?Number(o)+a:a+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,o=((t.firstChild.getAttribute("class")||"").match(/language-(\S+)/)||[null,""])[1],a=t.firstChild.textContent,s=n.fence.charAt(0),l=3,c=new RegExp("^"+s+"{3,}","gm");i=c.exec(a);)i[0].length>=l&&(l=i[0].length+1);var u=r(s,l);return"\n\n"+u+o+"\n"+a.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=f(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,o=t.getAttribute("href"),a=f(t.getAttribute("title"));switch(a&&(a=' "'+a+'"'),n.linkReferenceStyle){case"collapsed":r="["+e+"][]",i="["+e+"]: "+o+a;break;case"shortcut":r="["+e+"]",i="["+e+"]: "+o+a;break;default:var s=this.references.length+1;r="["+e+"]["+s+"]",i="["+s+"]: "+o+a}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=f(t.getAttribute("alt")),r=t.getAttribute("src")||"",i=f(t.getAttribute("title"));return r?"!["+n+"]("+r+(i?' "'+i+'"':"")+")":""}},d.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 o=null,a=!1,s=null,l=m(s,t,i);l!==t;){if(3===l.nodeType||4===l.nodeType){var c=l.data.replace(/[ \r\n\t]+/g," ");if(o&&!/ $/.test(o.data)||a||" "!==c[0]||(c=c.substr(1)),!c){l=g(l);continue}l.data=c,o=l}else{if(1!==l.nodeType){l=g(l);continue}n(l)||"BR"===l.nodeName?(o&&(o.data=o.data.replace(/ $/,"")),o=null,a=!1):r(l)||i(l)?(o=null,a=!0):o&&(a=!1)}var u=m(s,l,i);s=l,l=u}o&&(o.data=o.data.replace(/ $/,""),o.data||g(o))}}({element:n,isBlock:o,isVoid:s,isPre:t.preformattedCode?x:null}),n}function x(e){return"PRE"===e.nodeName||"CODE"===e.nodeName}function C(e,t){return e.isBlock=o(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,a)}(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&&S("left",e,t)&&(n.leading=n.leadingNonAscii);n.trailingAscii&&S("right",e,t)&&(n.trailing=n.trailingNonAscii);return{leading:n.leading,trailing:n.trailing}}(e,t),e}function S(e,t,n){var r,i,a;return"left"===e?(r=t.previousSibling,i=/ $/):(r=t.nextSibling,i=/^ /),r&&(3===r.nodeType?a=i.test(r.nodeValue):n.preformattedCode&&"CODE"===r.nodeName?a=!1:1!==r.nodeType||o(r)||(a=i.test(r.textContent))),a}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||r>0&&!t.noHeader;return Object(i.each)(t.blocks,function(t){var r=e(t);r>=n&&(n=r+ +(o&&(!r||h(t)&&!t.noHeader)))}),n}return 0}(t),{html:c[d],richText:u[d]}),v=[],y=t.blocks||[];Object(i.assert)(!y||Object(i.isArray)(y)),y=y||[];var b=e.orderMode;if(t.sortBlocks&&b){y=y.slice();var _={valueAsc:"asc",valueDesc:"desc"};if(Object(i.hasOwn)(_,b)){var w=new o.a(_[b],null);y.sort(function(e,t){return w.evaluate(e.sortParam,t.sortParam)})}else"seriesDesc"===b&&y.reverse()}Object(i.each)(y,function(n,r){var o=t.valueFormatter,s=f(n)(o?Object(i.extend)(Object(i.extend)({},e),{valueFormatter:o}):e,n,r>0?m.html:0,a);null!=s&&v.push(s)});var x="richText"===e.renderMode?v.join(m.richText):A(v.join(""),p?n:m.html);if(p)return x;var C=Object(r.j)(t.header,"ordinal",e.useUTC),S=l(a,e.renderMode).nameStyle;return"richText"===e.renderMode?g(e,C,S)+m.richText+x:A('
'+Object(r.d)(C)+"
"+x,n)}function p(e,t,n,o){var a=e.renderMode,s=t.noName,c=t.noValue,u=!t.markerType,h=t.name,f=e.useUTC,d=t.valueFormatter||e.valueFormatter||function(e){return e=Object(i.isArray)(e)?e:[e],Object(i.map)(e,function(e,t){return Object(r.j)(e,Object(i.isArray)(v)?v[t]:v,f)})};if(!s||!c){var p=u?"":e.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",a),m=s?"":Object(r.j)(h,"ordinal",f),v=t.valueType,y=c?[]:d(t.value),b=!u||!s,_=!u&&s,w=l(o,a),x=w.nameStyle,C=w.valueStyle;return"richText"===a?(u?"":p)+(s?"":g(e,m,x))+(c?"":function(e,t,n,r,o){var a=[o],s=r?10:20;return n&&a.push({padding:[0,0,0,s],align:"right"}),e.markupStyleCreator.wrapRichTextStyle(Object(i.isArray)(t)?t.join(" "):t,a)}(e,y,b,_,C)):A((u?"":p)+(s?"":function(e,t,n){return''+Object(r.d)(e)+""}(m,!u,x))+(c?"":function(e,t,n,o){var a=t?"float:right;margin-left:"+(n?"10px":"20px"):"";return e=Object(i.isArray)(e)?e:[e],''+Object(i.map)(e,function(e){return Object(r.d)(e)}).join("  ")+""}(y,b,_,C)),n)}}function A(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(a.j)()}return e.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},e.prototype.makeTooltipMarker=function(e,t,n){var o="richText"===n?this._generateStyleName():null,a=Object(r.i)({color:t,type:e,renderMode:n,markerId:o});return Object(i.isString)(a)?a:(this.richTextStyles[o]=a.style,a.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 o=function(){function e(e,t,n,r,o,a){this._old=e,this._new=t,this._oldKeyGetter=n||i,this._newKeyGetter=r||i,this.context=o,this._diffModeMultiple="multiple"===a}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),o=new Array(t.length);this._initIndexMap(e,null,i,"_oldKeyGetter"),this._initIndexMap(t,n,o,"_newKeyGetter");for(var a=0;a1){var u=l.shift();1===l.length&&(n[s]=l[0]),this._update&&this._update(u,a)}else 1===c?(n[s]=null,this._update&&this._update(l,a)):this._remove&&this._remove(a)}this._performRestAdd(o,n)},e.prototype._executeMultiple=function(){var e=this._old,t=this._new,n={},i={},o=[],a=[];this._initIndexMap(e,n,o,"_oldKeyGetter"),this._initIndexMap(t,i,a,"_newKeyGetter");for(var s=0;s1&&1===f)this._updateManyToOne&&this._updateManyToOne(u,c),i[l]=null;else if(1===h&&f>1)this._updateOneToMany&&this._updateOneToMany(u,c),i[l]=null;else if(1===h&&1===f)this._update&&this._update(u,c),i[l]=null;else if(h>1&&f>1)this._updateManyToMany&&this._updateManyToMany(u,c),i[l]=null;else if(h>1)for(var d=0;d1)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(a in p)p.hasOwnProperty(a)&&c.setRequestHeader(a,p[a]);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(d||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 o;for(var f=0;fr||l.newline?(o=0,u=A,a+=s+n,s=f.height):s=Math.max(s,f.height)}else{var g=f.height+(p?-p.y+f.y:0);(h=a+g)>i||l.newline?(o+=s+n,a=0,h=g,s=f.width):s=Math.max(s,f.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),"horizontal"===e?o=u+n:a=h+n)})}var h=u;r.curry(u,"vertical"),r.curry(u,"horizontal");function f(e,t,n){n=a.k(n||0);var r=t.width,s=t.height,l=Object(o.q)(e.left,r),c=Object(o.q)(e.top,s),u=Object(o.q)(e.right,r),h=Object(o.q)(e.bottom,s),f=Object(o.q)(e.width,r),d=Object(o.q)(e.height,s),p=n[2]+n[0],A=n[1]+n[3],g=e.aspect;switch(isNaN(f)&&(f=r-u-A-l),isNaN(d)&&(d=s-h-p-c),null!=g&&(isNaN(f)&&isNaN(d)&&(g>r/s?f=.8*r:d=.8*s),isNaN(f)&&(f=g*d),isNaN(d)&&(d=f/g)),isNaN(l)&&(l=r-u-f-A),isNaN(c)&&(c=s-h-d-p),e.left||e.right){case"center":l=r/2-f/2-n[3];break;case"right":l=r-f-A}switch(e.top||e.bottom){case"middle":case"center":c=s/2-d/2-n[0];break;case"bottom":c=s-d-p}l=l||0,c=c||0,isNaN(f)&&(f=r-A-l-(u||0)),isNaN(d)&&(d=s-p-c-(h||0));var m=new i.a(l+n[3],c+n[0],f,d);return m.margin=n,m}function d(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,o=(r.VbrMode,r.Float,r.ShortBlock,r.Util,r.Arrays),a=(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 f(e,t,n,r,i,o){var a=.5946/t;for(s(e>0),e>>=1;0!=e--;)i[o++]=a>n[r++]?0:1,i[o++]=a>n[r++]?0:1}function d(e,n,r,i,o,a){s(e>0);var l=(e>>=1)%2;for(e>>=1;0!=e--;){var c,u,h,f,d,p,A,g;c=r[i++]*n,u=r[i++]*n,d=0|c,h=r[i++]*n,p=0|u,f=r[i++]*n,A=0|h,c+=t.adj43[d],g=0|f,u+=t.adj43[p],o[a++]=0|c,h+=t.adj43[A],o[a++]=0|u,f+=t.adj43[g],o[a++]=0|h,o[a++]=0|f}0!=l&&(d=0|(c=r[i++]*n),p=0|(u=r[i++]*n),c+=t.adj43[d],u+=t.adj43[p],o[a++]=0|c,o[a++]=0|u)}var p=[1,2,5,7,7,10,10,13,13,13,13,13,13,13,13];function A(e,t,n,r){var i=function(e,t,n){var r=0,i=0;do{var o=e[t++],a=e[t++];r>=16)>o&&(s=o,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 o=0,a=0,s=0,l=c.ht[r].xlen,u=c.ht[r].hlen,h=c.ht[r+1].hlen,f=c.ht[r+2].hlen;do{var d=e[t+0]*l+e[t+1];t+=2,o+=u[d],a+=h[d],s+=f[d]}while(ta&&(o=a,p++),o>s&&(o=s,p=r+2),i.bits+=o,p}(e,t,n,p[i-1],r);default:if(i>h.IXMAX_VAL)return r.bits=h.LARGE_BITS,-1;var o,a;for(i-=15,o=24;o<32&&!(c.ht[o].linmax>=i);o++);for(a=o-8;a<24&&!(c.ht[a].linmax>=i);a++);return function(e,t,n,r,i,o){var a,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)>a&&(l=a,r=i),o.bits+=l,r}(e,t,n,a,o,r)}}function g(e,t,r,i,o,a,s,c){for(var u=t.big_values,h=2;h=u)break;var d=o[h-2]+t.count1bits;if(r.part2_3_length<=d)break;var p=new n(d),g=A(i,f,u,p);d=p.bits,r.part2_3_length<=d||(r.assign(t),r.part2_3_length=d,r.region0_count=a[h-2],r.region1_count=h-2-a[h-2],r.table_select[0]=s[h-2],r.table_select[1]=c[h-2],r.table_select[2]=g)}}this.noquant_count_bits=function(e,t,r){var i=t.l3_enc,o=Math.min(576,t.max_nonzero_coeff+2>>1<<1);for(null!=r&&(r.sfb_count1=0);o>1&&0==(i[o-1]|i[o-2]);o-=2);t.count1=o;for(var a=0,u=0;o>3;o-=4){var h;if((2147483647&(i[o-1]|i[o-2]|i[o-3]|i[o-4]))>1)break;h=2*(2*(2*i[o-4]+i[o-3])+i[o-2])+i[o-1],a+=c.t32l[h],u+=c.t33l[h]}var f=a;if(t.count1table_select=0,a>u&&(f=u,t.count1table_select=1),t.count1bits=f,t.big_values=o,0==o)return f;if(t.block_type==l.SHORT_TYPE)(a=3*e.scalefac_band.s[3])>t.big_values&&(a=t.big_values),u=t.big_values;else if(t.block_type==l.NORM_TYPE){if(s(o<=576),a=t.region0_count=e.bv_scf[o-2],u=t.region1_count=e.bv_scf[o-1],s(a+u+2(u=o)&&(a=u);if(a=Math.min(a,o),u=Math.min(u,o),s(a>=0),s(u>=0),0c)return h.LARGE_BITS;if(function(e,n,r,i,a){var c,u,h,p=0,A=0,g=0,m=0,v=n,y=0,b=v,_=0,w=e,x=0;for(h=null!=a&&i.global_gain==a.global_gain,u=i.block_type==l.SHORT_TYPE?38:21,c=0;c<=u;c++){var C=-1;if((h||i.block_type==l.NORM_TYPE)&&(C=i.global_gain-(i.scalefac[c]+(0!=i.preflag?t.pretab[c]:0)<=0),h&&a.step[c]==C)0!=A&&(d(A,r,w,x,b,_),A=0),0!=g&&(f(g,r,w,x,b,_),g=0);else{var S,k=i.width[c];if(p+i.width[c]>i.max_nonzero_coeff&&(S=i.max_nonzero_coeff-p+1,o.fill(n,i.max_nonzero_coeff,576,0),(k=S)<0&&(k=0),c=u+1),0==A&&0==g&&(b=v,_=y,w=e,x=m),null!=a&&a.sfb_count1>0&&c>=a.sfb_count1&&a.step[c]>0&&C>=a.step[c]?(0!=A&&(d(A,r,w,x,b,_),A=0,b=v,_=y,w=e,x=m),g+=k):(0!=g&&(f(g,r,w,x,b,_),g=0,b=v,_=y,w=e,x=m),A+=k),k<=0){0!=g&&(f(g,r,w,x,b,_),g=0),0!=A&&(d(A,r,w,x,b,_),A=0);break}}c<=u&&(y+=i.width[c],m+=i.width[c],p+=i.width[c])}0!=A&&(d(A,r,w,x,b,_),A=0),0!=g&&(f(g,r,w,x,b,_),g=0)}(n,a,t.IPOW20(r.global_gain),r,i),0!=(2&e.substep_shaping))for(var u=0,p=r.global_gain+r.scalefac_scale,A=.634521682242439/t.IPOW20(p),g=0;g=0),0==e.pseudohalf[g])u+=v;else for(m=u,u+=v;m=A?a[m]:0}return this.noquant_count_bits(e,r,i)},this.best_huffman_divide=function(e,t){var r=new u,i=t.l3_enc,o=a(23),f=a(23),d=a(23),p=a(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,o,a,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 f=0,d=new n(f),p=A(r,0,u,d);f=d.bits;for(var g=0;g<8;g++){var m=e.scalefac_band.l[c+g+2];if(m>=l)break;var v=f,y=A(r,u,m,d=new n(v));v=d.bits,i[c+g]>v&&(i[c+g]=v,o[c+g]=c,a[c+g]=p,s[c+g]=y)}}}(e,t,i,o,f,d,p),g(e,r,t,i,o,f,d,p));var m=r.big_values;if(!(0==m||(i[m-2]|i[m-1])>1||(m=t.count1+2)>576)){r.assign(t),r.count1=m;var v=0,y=0;for(s(m<=576);m>r.big_values;m-=4){var b=2*(2*(2*i[m-4]+i[m-3])+i[m-2])+i[m-1];v+=c.t32l[b],y+=c.t33l[b]}if(r.big_values=m,r.count1table_select=0,v>y&&(v=y,r.count1table_select=1),r.count1bits=v,r.block_type==l.NORM_TYPE)g(e,r,t,i,o,f,d,p);else{if(r.part2_3_length=v,(v=e.scalefac_band.l[8])>m&&(v=m),v>0){var _=new n(r.part2_3_length);r.table_select[0]=A(i,0,v,_),r.part2_3_length=_.bits}m>v&&(_=new n(r.part2_3_length),r.table_select[1]=A(i,v,m,_),r.part2_3_length=_.bits),t.part2_3_length>r.part2_3_length&&t.assign(r)}}}};var m=[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 o,a,u,h,f=i.tt[n][r],d=0;for(u=0,o=0;o=0),u+=p,h=-p;h<0&&0==f.l3_enc[h+u];h++);0==h&&(f.scalefac[o]=d=-2)}if(0==f.scalefac_scale&&0==f.preflag){var A=0;for(o=0;o0&&(A|=f.scalefac[o]);if(0==(1&A)&&0!=A){for(o=0;o0&&(f.scalefac[o]>>=1);f.scalefac_scale=d=1}}if(0==f.preflag&&f.block_type!=l.SHORT_TYPE&&2==e.mode_gr){for(o=11;o0&&(f.scalefac[o]-=t.pretab[o]);f.preflag=d=1}}for(a=0;a<4;a++)i.scfsi[r][a]=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],o=0;o=0);n++);if(n==c.scfsi_band[o+1]){for(n=c.scfsi_band[o];nf&&(r.part2_length=f,r.scalefac_compress=o)}}(r,i),d=0),o=0;oi[n]&&(e.part2_length=i[n],e.scalefac_compress=n);return e.part2_length==h.LARGE_BITS};var C=[[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,o,c,u,h,f,d,p,A=a(4),g=n.scalefac;for(r=0!=n.preflag?2:0,d=0;d<4;d++)A[d]=0;if(n.block_type==l.SHORT_TYPE){o=1;var m=t.nr_of_sfb_block[r][o];for(p=0,c=0;c<4;c++)for(u=m[c]/3,d=0;dA[c]&&(A[c]=g[3*p+h])}else for(o=0,m=t.nr_of_sfb_block[r][o],p=0,c=0;c<4;c++)for(u=m[c],d=0;dA[c]&&(A[c]=g[p]);for(f=!1,c=0;c<4;c++)A[c]>C[r][c]&&(f=!0);if(!f){var v,y,b,_;for(n.sfb_partition_table=t.nr_of_sfb_block[r][o],c=0;c<4;c++)n.slen[c]=S[A[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(!f)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 f};var S=[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()}}}}},"1wzk":function(e,t,n){"use strict";t.a=a,n.d(t,"h",function(){return l}),t.c=function(e,t,n,r,i,o){s("enter",e,t,n,r,i,o)},t.d=c,t.e=u,t.f=function(e,t,n){function r(){e.parent&&e.parent.remove(e)}e.isGroup?e.traverse(function(e){e.isGroup||h(e,t,n,r)}):h(e,t,n,r)},t.g=function(e){o(e).oldStyle=e.style},t.b=function(e){return o(e).oldStyle};var r=n("/gxq"),i=n("vXqC"),o=Object(i.o)();function a(e,t,n,i,o){var a;if(t&&t.ecModel){var s=t.ecModel.getUpdatePayload();a=s&&s.animation}var l="update"===e;if(t&&t.isAnimationEnabled()){var c=void 0,u=void 0,h=void 0;return i?(c=Object(r.retrieve2)(i.duration,200),u=Object(r.retrieve2)(i.easing,"cubicOut"),h=0):(c=t.getShallow(l?"animationDurationUpdate":"animationDuration"),u=t.getShallow(l?"animationEasingUpdate":"animationEasing"),h=t.getShallow(l?"animationDelayUpdate":"animationDelay")),a&&(null!=a.duration&&(c=a.duration),null!=a.easing&&(u=a.easing),null!=a.delay&&(h=a.delay)),Object(r.isFunction)(h)&&(h=h(n,o)),Object(r.isFunction)(c)&&(c=c(n)),{duration:c||0,delay:h,easing:u}}return null}function s(e,t,n,i,o,s,l){var c,u=!1;Object(r.isFunction)(o)?(l=s,s=o,o=null):Object(r.isObject)(o)&&(s=o.cb,l=o.during,u=o.isFrom,c=o.removeOpt,o=o.dataIndex);var h="leave"===e;h||t.stopAnimation("leave");var f=a(e,i,o,h?c||{}:null,i&&i.getAnimationDelayParams?i.getAnimationDelayParams(t,o):null);if(f&&f.duration>0){var d=f.duration,p=f.delay,A=f.easing,g={duration:d,delay:p||0,easing:A,done:s,force:!!s||!!l,setToFinal:!h,scope:e,during:l};u?t.animateFrom(n,g):t.animateTo(n,g)}else t.stopAnimation(),!u&&t.attr(n),l&&l(1),s&&s()}function l(e,t,n,r,i,o){s("update",e,t,n,r,i,o)}function c(e){if(!e.__zr)return!0;for(var t=0;t1&&h/c>2&&(u=Math.round(Math.ceil(u/c)*c));var f=Object(s.j)(e),d=a.get("showMinLabel")||f,p=a.get("showMaxLabel")||f;d&&u!==o[0]&&g(o[0]);for(var A=u;A<=o[1];A+=c)g(A);function g(e){var t={value:e};l.push(n?e:{formattedLabel:r(t),rawLabel:i.getLabel(t),tickValue:e})}return p&&A-c!==o[1]&&g(o[1]),l}function g(e,t,n){var i=e.scale,o=Object(s.h)(e),a=[];return r.each(i.getTicks(),function(e){var r=i.getLabel(e),s=e.value;t(e.value,r)&&a.push(n?s:{formattedLabel:o(e),rawLabel:r,tickValue:s})}),a}var m=[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.g)(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.m)(e,m,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 o=Object(i.m)(e,n,m,t);return this.scale.scale(o)},e.prototype.pointToData=function(e,t){},e.prototype.getTicksCoords=function(e){var t=(e=e||{}).tickModel||this.getTickModel(),n=u(this,t).ticks,o=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,o){var a=t.length;if(!e.onBand||n||!a)return;var s,l,c=e.getExtent();if(1===a)t[0].coord=c[0],s=t[1]={coord:c[0]};else{var u=t[a-1].tickValue-t[0].tickValue,h=(t[a-1].coord-t[0].coord)/u;Object(r.each)(t,function(e){e.coord-=h/2});var f=e.scale.getExtent();l=1+f[1]-t[a-1].tickValue,s={coord:t[a-1].coord+h*l},t.push(s)}var d=c[0]>c[1];p(t[0].coord,c[0])&&(o?t[0].coord=c[0]:t.shift());o&&p(c[0],t[0].coord)&&t.unshift({coord:c[0]});p(c[1],s.coord)&&(o?s.coord=c[1]:t.pop());o&&p(s.coord,c[1])&&t.push({coord:c[1]});function p(e,t){return e=Object(i.w)(e),t=Object(i.w)(t),d?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,a=i.getExtent(),c=i.count();if(a[1]-a[0]<1)return 0;var u=1;c>40&&(u=Math.max(1,Math.floor(c/40)));for(var h=a[0],f=e.dataToCoord(h+1)-e.dataToCoord(h),d=Math.abs(f*Math.cos(r)),p=Math.abs(f*Math.sin(r)),A=0,g=0;h<=a[1];h+=u){var m,v,y=o.d(n({value:h}),t.font,"center","top");m=1.3*y.width,v=1.3*y.height,A=Math.max(A,m,7),g=Math.max(g,v,7)}var b=A/d,_=g/p;isNaN(b)&&(b=1/0),isNaN(_)&&(_=1/0);var w=Math.max(0,Math.floor(Math.min(b,_))),x=l(e.model),C=e.getExtent(),S=x.lastAutoInterval,k=x.lastTickCount;return null!=S&&null!=k&&Math.abs(S-w)<=1&&Math.abs(k-c)<=1&&S>w&&x.axisExtent0===C[0]&&x.axisExtent1===C[1]?w=S:(x.lastTickCount=c,x.lastAutoInterval=w,x.axisExtent0=C[0],x.axisExtent1=C[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"),o=n("VfEi"),a=n("wWR3"),s=n("TaTK"),l=n("E+Ov"),c=n("/gxq"),u=n("lq/z"),h=n("PelO");function f(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)(d,"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={};m(y,u,v),m(y,n.states.select,v)}if(n.states.emphasis){var b=_.oldLayoutEmphasis={};m(b,u,v),m(b,n.states.emphasis,v)}Object(h.a)(n,l,f,t,t)}if(r&&!r.ignore&&!r.invisible){a=(_=g(r)).oldLayout;var _,w={points:r.shape.points};a?(r.attr({shape:a}),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,o=r.length;i-1}var A=t.getStyle=c<9?function(e,t){if(!a){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(!a){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 g=t.isScroll=function(e,t){if(!a)return A(e,null!==t||void 0!==t?t?"overflow-y":"overflow-x":"overflow").match(/(scroll|auto)/)};t.getScrollContainer=function(e,t){if(!a){for(var n=e;n;){if([window,document,document.documentElement].includes(n))return window;if(g(n,t))return n;n=n.parentNode}return n}},t.isInContainer=function(e,t){if(a||!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 a}),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 f}),n.d(t,"imagetoCanvas",function(){return p}),n.d(t,"urltoBlob",function(){return A}),n.d(t,"urltoImage",function(){return g}),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 o=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(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(a,s)}l((r=r.apply(e,t||[])).next())})};function a(e,t=.92,n=r.JPEG){return o(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,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(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(a,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 o=atob(n[1]);let a=o.length;const s=new Uint8Array(a);for(;a--;)s[a]=o.charCodeAt(a);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 f(e){return new Promise(t=>{const n=new FileReader;n.onloadend=(e=>t(e.target.result)),n.readAsDataURL(e)})}var d=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(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(a,s)}l((r=r.apply(e,t||[])).next())})};function p(e,t={}){return d(this,void 0,void 0,function*(){const n=Object.assign({},t),r=document.createElement("canvas"),i=r.getContext("2d");let o,a;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;a=e.width*t,o=e.height*t}else a=n.width||n.height*e.width/e.height||e.width,o=n.height||n.width*e.height/e.width||e.height;switch([5,6,7,8].some(e=>e===n.orientation)?(r.height=a,r.width=o):(r.height=o,r.width=a),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 A(e){return fetch(e).then(e=>e.blob())}function g(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 m=function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(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(a,s)}l((r=r.apply(e,t||[])).next())})};function v(e,t={}){return m(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 f(e);let o=n.split(",")[0].match(/:(.*?);/)[1],s=r.JPEG;i(t.type)&&(s=t.type,o=t.type);const l=yield c(yield a(yield p(yield u(n),Object.assign({},t)),t.quality,s),o);return l.size>e.size?e:l})}function y(e,t={}){return m(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,o=1024*t.size,s=t.size*t.accuracy*1024,l=yield f(e);let h=l.split(",")[0].match(/:(.*?);/)[1],d=r.JPEG;i(t.type)&&(d=t.type,h=t.type);const A=yield p(yield u(l),Object.assign({},t));let g,m=.5;const v=[null,null];for(let e=1;e<=7;e++){const t=.75*(g=yield a(A,m,d)).length;if(7===e){(nt)&&(g=[g,...v].filter(e=>e).sort((e,t)=>Math.abs(.75*e.length-o)-Math.abs(.75*t.length-o))[0]);break}if(nt))break;v[0]=g,m+=Math.pow(.5,e+1)}}const y=yield c(g,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}()},"2vbB":function(e,t,n){"use strict";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var i=/^([a-z0-9.+-]+:)/i,o=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,s=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),l=["'"].concat(s),c=["%","/","?",";","#"].concat(l),u=["/","?","#"],h=/^[+a-z0-9A-Z_-]{0,63}$/,f=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,d={javascript:!0,"javascript:":!0},p={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};r.prototype.parse=function(e,t){var n,r,o,s,l,A=e;if(A=A.trim(),!t&&1===e.split("#").length){var g=a.exec(A);if(g)return this.pathname=g[1],g[2]&&(this.search=g[2]),this}var m=i.exec(A);if(m&&(o=(m=m[0]).toLowerCase(),this.protocol=m,A=A.substr(m.length)),(t||m||A.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(l="//"===A.substr(0,2))||m&&d[m]||(A=A.substr(2),this.slashes=!0)),!d[m]&&(l||m&&!p[m])){var v,y,b=-1;for(n=0;n127?S+="x":S+=C[k];if(!S.match(h)){var E=x.slice(0,n),B=x.slice(n+1),O=C.match(f);O&&(E.push(O[1]),B.unshift(O[2])),B.length&&(A=B.join(".")+A),this.hostname=E.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),w&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var M=A.indexOf("#");-1!==M&&(this.hash=A.substr(M),A=A.slice(0,M));var P=A.indexOf("?");return-1!==P&&(this.search=A.substr(P),A=A.slice(0,P)),A&&(this.pathname=A),p[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this},r.prototype.parseHost=function(e){var t=o.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=function(e,t){if(e&&e instanceof r)return e;var n=new r;return n.parse(e,t),n}},"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 d}),n.d(t,"B",function(){return A}),t.y=g,t.m=m,t.q=function(e){return e===m(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,o){var a=null;if(r.isString(n))a=n;else if(r.isFunction(n))a=n(e.value,t,{level:e.level});else{var s=r.extend({},f);if(e.level>0)for(var l=0;l=0;--l)if(c[u]){a=c[u];break}a=a||s.none}if(r.isArray(a)){var d=null==e.level?0:e.level>=0?e.level:a.length+e.level;d=Math.min(d,a.length-1),a=a[d]}}return v(new Date(e.value),a,o,i)},t.n=function(e,t,n){var o=r.isNumber(e)?i.p(e):e;switch(t=t||y(e,n)){case"year":return o[b(n)]();case"half-year":return o[_(n)]()>=6?1:0;case"quarter":return Math.floor((o[_(n)]()+1)/4);case"month":return o[_(n)]();case"day":return o[w(n)]();case"half-day":return o[x(n)]()/24;case"hour":return o[x(n)]();case"minute":return o[C(n)]();case"second":return o[S(n)]();case"millisecond":return o[k(n)]()}},t.j=b,t.w=_,t.f=w,t.o=x,t.u=C,t.z=S,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"),o=n("S6PR"),a=n("Pdtn"),s=1e3,l=60*s,c=60*l,u=24*c,h=365*u,f={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}"},d={year:"{yyyy}",month:"{yyyy}-{MM}",day:"{yyyy}-{MM}-{dd}",hour:"{yyyy}-{MM}-{dd} "+f.hour,minute:"{yyyy}-{MM}-{dd} "+f.minute,second:"{yyyy}-{MM}-{dd} "+f.second,millisecond:f.none},p=["year","month","day","hour","minute","second","millisecond"],A=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function g(e,t){return"0000".substr(0,t-(e+="").length)+e}function m(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.p(e),l=s[b(n)](),c=s[_(n)]()+1,u=Math.floor((c-1)/3)+1,h=s[w(n)](),f=s["get"+(n?"UTC":"")+"Day"](),d=s[x(n)](),p=(d-1)%12+1,A=s[C(n)](),m=s[S(n)](),v=s[k(n)](),y=(r instanceof a.a?r:Object(o.d)(r||o.a)||Object(o.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,g(c,2)).replace(/{M}/g,c+"").replace(/{dd}/g,g(h,2)).replace(/{d}/g,h+"").replace(/{eeee}/g,B[f]).replace(/{ee}/g,O[f]).replace(/{e}/g,f+"").replace(/{HH}/g,g(d,2)).replace(/{H}/g,d+"").replace(/{hh}/g,g(p+"",2)).replace(/{h}/g,p+"").replace(/{mm}/g,g(A,2)).replace(/{m}/g,A+"").replace(/{ss}/g,g(m,2)).replace(/{s}/g,m+"").replace(/{SSS}/g,g(v,3)).replace(/{S}/g,v+"")}function y(e,t){var n=i.p(e),r=n[_(t)]()+1,o=n[w(t)](),a=n[x(t)](),s=n[C(t)](),l=n[S(t)](),c=0===n[k(t)](),u=c&&0===l,h=u&&0===s,f=h&&0===a,d=f&&1===o;return d&&1===r?"year":d?"month":f?"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 C(e){return e?"getUTCMinutes":"getMinutes"}function S(e){return e?"getUTCSeconds":"getSeconds"}function k(e){return e?"getUTCMilliseconds":"getMilliseconds"}},"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}},"3QKf":function(e,t,n){"use strict";var r={};function i(e,t,n){var o,a,s,l,c,u="";for("string"!=typeof t&&(n=t,t=i.defaultChars),void 0===n&&(n=!0),c=function(e){var t,n,i=r[e];if(i)return i;for(i=r[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?i.push(n):i.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1=56320&&l<=57343){u+=encodeURIComponent(e[o]+e[o+1]),o++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[o]);return u}i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",e.exports=i},"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)},o=function(e){var t=i(e,"visibility"),n=i(e,"display");return"hidden"!==t&&"none"!==n},a={rect:function(e,t,n,r,i,o){r<2*o&&(o=r/2),i<2*o&&(o=i/2),e.moveTo(t+o,n),e.arcTo(t+r,n,t+r,n+i,o),e.arcTo(t+r,n+i,t,n+i,o),e.arcTo(t,n+i,t,n,o),e.arcTo(t,n,t+r,n,o)},text_multiline:function(e,t,n,r,i,o,a){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+=a):s=u;e.fillText(s,n,r)},text_ellipsis:function(e,t,n,r,i,o){var s=r+o/2;t=a.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 o=t.length;r>=n-i&&o-- >0;)t=t.substring(0,o),r=e.measureText(t).width;return t+"…"},image:function(e,t,n,r,i,o,s,l,c){var u=new Image;u.onload=function(){e.save(),e.translate(n,r),e.save(),e.beginPath(),a.rect(e,0,0,i,o,s),e.closePath(),e.clip(),e.translate(i/2,o/2),e.rotate(l*Math.PI/180),e.drawImage(u,-i/2,-o/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 o=!0;for(var a in r)o&=(n=r[a]).ready;o?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(o(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")),f=parseInt(i(s,"padding-right")),d=parseInt(i(s,"padding-top")),p=parseInt(i(s,"padding-bottom")),A=i(s,"text-overflow"),g=i(s,"font-style")+" "+i(s,"font-variant")+" "+i(s,"font-weight")+" "+i(s,"font-size")+"/"+i(s,"line-height")+" "+i(s,"font-family"),m={x:n.abs_x,y:n.abs_y,w:n.width+1,h:n.height+1},v={x:m.x+h,y:m.y+d,w:m.w-h-f,h:m.h-d-p};if(t.font=g,t.fillStyle=l,t.beginPath(),a.rect(t,m.x,m.y,m.w,m.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"]),a.image(t,y,m.x,m.y,m.w,m.h,c,b,function(){e.ready=!0})}if(e.topic)if("ellipsis"===A)a.text_ellipsis(t,e.topic,v.x,v.y,v.w,v.h);else{var _=parseInt(i(s,"line-height"));a.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(o(n)){var r=i(n,"left"),a=i(n,"top"),s=(i(n,"font"),parseInt(r)),l=parseInt(a),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 o=this.canvas_elem.toDataURL(),a=r("a");if("download"in a){a.style.visibility="hidden",a.href=o,a.download=t,n.body.appendChild(a);var s=n.createEvent("MouseEvents");s.initEvent("click",!0,!0),a.dispatchEvent(s),n.body.removeChild(a)}else location.href=o}},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"),o=n("/bQp");e.exports=n("FeBl").getIteratorMethod=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||o[r(e)]}},"3h1/":function(e,t,n){"use strict";t.f=s,t.d=function(e,t,n,i){var o=((e||"")+"").split("\n");if(1===o.length)return l(o[0],t,n,i);for(var a=new r.a(0,0,0,0),s=0;s=0?parseFloat(e)/100*t:parseFloat(e):e}},"3h9r":function(e,t,n){"use strict";(function(e){var r=n("niwQ"),i=n.n(r),o=n("WJhs"),a=function(){return"undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:this}();function s(){a.console&&"function"==typeof a.console.log&&a.console.log.apply(a.console,arguments)}var l={log:s,warn:function(e){a.console&&("function"==typeof a.console.warn?a.console.warn.apply(a.console,arguments):s.call(null,arguments))},error:function(e){a.console&&("function"==typeof a.console.error?a.console.error.apply(a.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 f,d,p=a.saveAs||("object"!==("undefined"==typeof window?"undefined":i()(window))||window!==a?function(){}:"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype?function(e,t,n){var r=a.URL||a.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 o="application/octet-stream"===e.type,s=/constructor/i.test(a.HTMLElement)||a.safari,l=/CriOS\/[\d]+/.test(navigator.userAgent);if((l||o&&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=a.URL||a.webkitURL,f=h.createObjectURL(e);r?r.location=f:location.href=f,r=null,setTimeout(function(){h.revokeObjectURL(f)},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 A(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 g(e,t){var n=e[0],r=e[1],i=e[2],o=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,o,t[0],7,-680876936),r=v(r,i=v(i,o=v(o,n,r,i,t[1],12,-389564586),n,r,t[2],17,606105819),o,n,t[3],22,-1044525330),i,o,t[4],7,-176418897),r=v(r,i=v(i,o=v(o,n,r,i,t[5],12,1200080426),n,r,t[6],17,-1473231341),o,n,t[7],22,-45705983),i,o,t[8],7,1770035416),r=v(r,i=v(i,o=v(o,n,r,i,t[9],12,-1958414417),n,r,t[10],17,-42063),o,n,t[11],22,-1990404162),i,o,t[12],7,1804603682),r=v(r,i=v(i,o=v(o,n,r,i,t[13],12,-40341101),n,r,t[14],17,-1502002290),o,n,t[15],22,1236535329),i,o,t[1],5,-165796510),r=y(r,i=y(i,o=y(o,n,r,i,t[6],9,-1069501632),n,r,t[11],14,643717713),o,n,t[0],20,-373897302),i,o,t[5],5,-701558691),r=y(r,i=y(i,o=y(o,n,r,i,t[10],9,38016083),n,r,t[15],14,-660478335),o,n,t[4],20,-405537848),i,o,t[9],5,568446438),r=y(r,i=y(i,o=y(o,n,r,i,t[14],9,-1019803690),n,r,t[3],14,-187363961),o,n,t[8],20,1163531501),i,o,t[13],5,-1444681467),r=y(r,i=y(i,o=y(o,n,r,i,t[2],9,-51403784),n,r,t[7],14,1735328473),o,n,t[12],20,-1926607734),i,o,t[5],4,-378558),r=b(r,i=b(i,o=b(o,n,r,i,t[8],11,-2022574463),n,r,t[11],16,1839030562),o,n,t[14],23,-35309556),i,o,t[1],4,-1530992060),r=b(r,i=b(i,o=b(o,n,r,i,t[4],11,1272893353),n,r,t[7],16,-155497632),o,n,t[10],23,-1094730640),i,o,t[13],4,681279174),r=b(r,i=b(i,o=b(o,n,r,i,t[0],11,-358537222),n,r,t[3],16,-722521979),o,n,t[6],23,76029189),i,o,t[9],4,-640364487),r=b(r,i=b(i,o=b(o,n,r,i,t[12],11,-421815835),n,r,t[15],16,530742520),o,n,t[2],23,-995338651),i,o,t[0],6,-198630844),r=_(r=_(r=_(r=_(r,i=_(i,o=_(o,n,r,i,t[7],10,1126891415),n,r,t[14],15,-1416354905),o,n,t[5],21,-57434055),i=_(i,o=_(o,n=_(n,r,i,o,t[12],6,1700485571),r,i,t[3],10,-1894986606),n,r,t[10],15,-1051523),o,n,t[1],21,-2054922799),i=_(i,o=_(o,n=_(n,r,i,o,t[8],6,1873313359),r,i,t[15],10,-30611744),n,r,t[6],15,-1560198380),o,n,t[13],21,1309151649),i=_(i,o=_(o,n=_(n,r,i,o,t[4],6,-145523070),r,i,t[11],10,-1120210379),n,r,t[2],15,718787259),o,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(o,e[3])}function m(e,t,n,r,i,o){return B((t=B(B(t,e),B(r,o)))<>>32-i,n)}function v(e,t,n,r,i,o,a){return m(t&n|~t&r,e,t,i,o,a)}function y(e,t,n,r,i,o,a){return m(t&r|n&~r,e,t,i,o,a)}function b(e,t,n,r,i,o,a){return m(t^n^r,e,t,i,o,a)}function _(e,t,n,r,i,o,a){return m(n^(t|~r),e,t,i,o,a)}function w(e){var t,n=e.length,r=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=e.length;t+=64)g(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(g(r,i),t=0;t<16;t++)i[t]=0;return i[14]=8*n,g(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}f=a.atob.bind(a),d=a.btoa.bind(a);var C="0123456789abcdef".split("");function S(e){for(var t="",n=0;n<4;n++)t+=C[e>>8*n+4&15]+C[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,o;if(e!==n){for(var a=(i=e,o=1+(256/e.length>>0),new Array(o+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+a.charCodeAt(l))%256,s[l]=s[c],s[c]=u}n=e,r=s}else s=r;var h=t.length,f=0,d=0,p="";for(l=0;l€/\f©þdSiz";var o=(t+this.padding).substr(0,32),a=(n+this.padding).substr(0,32);this.O=this.processOwnerPassword(o,a),this.P=-(1+(255^i)),this.encryptionKey=T(o+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(r)).substr(0,5),this.U=O(this.encryptionKey,this.padding)}function L(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 D(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 o in t[n]){var s=t[n][o];try{s[0].apply(e,r)}catch(n){a.console&&l.error("jsPDF PubSub Error",n.message,n)}s[1]&&i.push(o)}i.length&&i.forEach(this.unsubscribe)}},this.getTopics=function(){return t}}function I(e){if(!(this instanceof I))return new I(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 N(e,t){this.gState=e,this.matrix=t,this.id="",this.objectNumber=-1}function F(e,t,n,r,i){if(!(this instanceof F))return new F(e,t,n,r,i);this.type="axial"===e?2:3,this.coords=t,this.colors=n,N.call(this,r,i)}function R(e,t,n,r,i){if(!(this instanceof R))return new R(e,t,n,r,i);this.boundingBox=e,this.xStep=t,this.yStep=n,this.stream="",this.cloneIndex=0,N.call(this,r,i)}function j(e){var t,n="string"==typeof arguments[0]?arguments[0]:"p",r=arguments[1],o=arguments[2],s=arguments[3],c=[],u=1,h=16,f="S",g=null;"object"===i()(e=e||{})&&(n=e.orientation,r=e.unit||r,o=e.format||o,s=e.compress||e.compressPdf||s,null!==(g=e.encryption||null)&&(g.userPassword=g.userPassword||"",g.ownerPassword=g.ownerPassword||"",g.userPermissions=g.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),f=e.defaultPathOperation||"S"),c=e.filters||(!0===s?["FlateEncode"]:c),r=r||"mm",n=(""+(n||"P")).toLowerCase();var m=e.putOnlyUsedFonts||!1,v={},y={internal:{},__private__:{}};y.__private__.PubSub=D;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]};o=o||"a4";var C={COMPAT:"compat",ADVANCED:"advanced"},S=C.COMPAT;function k(){this.saveGraphicsState(),ce(new Qe(Ce,0,0,-Ce,0,bn()*Ce).toString()+" cm"),this.setFontSize(this.getFontSize()/Ce),f="n",S=C.ADVANCED}function T(){this.restoreGraphicsState(),f="S",S=C.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=S===C.COMPAT;return t&&k.call(this),"function"!=typeof e||(e(this),t&&T.call(this)),this},y.compatAPI=function(e){var t=S===C.ADVANCED;return t&&T.call(this),"function"!=typeof e||(e(this),t&&k.call(this)),this},y.isAdvancedAPI=function(){return S===C.ADVANCED};var B,O=function(e){if(S!==C.ADVANCED)throw new Error(e+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},M=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 M(e,h)}:"smart"===h?function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return M(e,e>-1&&e<1?16:5)}:function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return M(e,16)};var N=y.f2=y.__private__.f2=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f2");return M(e,2)},U=y.__private__.f3=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f3");return M(e,3)},H=y.scale=y.__private__.scale=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.scale");return S===C.COMPAT?e*Ce:S===C.ADVANCED?e:void 0},z=function(e){return H(function(e){return S===C.COMPAT?bn()-e:S===C.ADVANCED?e:void 0}(e))};y.__private__.setPrecision=y.setPrecision=function(e){"number"==typeof parseInt(e,10)&&(t=parseInt(e,10))};var Q,Y="00000000000000000000000000000000",V=y.__private__.getFileId=function(){return Y},W=y.__private__.setFileId=function(e){return Y=void 0!==e&&/^[a-fA-F0-9]{32}$/.test(e)?e.toUpperCase():Y.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),null!==g&&(Ot=new P(g.userPermissions,g.userPassword,g.ownerPassword,Y)),Y};y.setFileId=function(e){return W(e),this},y.getFileId=function(){return V()};var G=y.__private__.convertDateToPDFDate=function(e){var t=e.getTimezoneOffset(),n=t<0?"+":"-",r=Math.floor(Math.abs(t/60)),i=Math.abs(t%60),o=[n,J(r),"'",J(i),"'"].join("");return["D:",e.getFullYear(),J(e.getMonth()+1),J(e.getDate()),J(e.getHours()),J(e.getMinutes()),J(e.getSeconds()),o].join("")},X=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),o=parseInt(e.substr(12,2),10),a=parseInt(e.substr(14,2),10);return new Date(t,n,r,i,o,a,0)},Z=y.__private__.setCreationDate=function(e){var t;if(void 0===e&&(e=new Date),e instanceof Date)t=G(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 Q=t},q=y.__private__.getCreationDate=function(e){var t=Q;return"jsDate"===e&&(t=X(Q)),t};y.setCreationDate=function(e){return Z(e),this},y.getCreationDate=function(e){return q(e)};var K,J=y.__private__.padd2=function(e){return("0"+parseInt(e)).slice(-2)},$=y.__private__.padd2Hex=function(e){return("00"+(e=e.toString())).substr(e.length)},ee=0,te=[],ne=[],re=0,ie=[],oe=[],ae=!1,se=ne;y.__private__.setCustomOutputDestination=function(e){ae=!0,se=e};var le=function(e){ae||(se=e)};y.__private__.resetCustomOutputDestination=function(){ae=!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},fe=[["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 fe};var de=e.fontSize||16;y.__private__.setFontSize=y.setFontSize=function(e){return de=S===C.ADVANCED?e/Ce:e,this};var pe,Ae=y.__private__.getFontSize=y.getFontSize=function(){return S===C.COMPAT?de:de*Ce},ge=e.R2L||!1;y.__private__.setR2L=y.setR2L=function(e){return ge=e,this},y.__private__.getR2L=y.getR2L=function(){return ge};var me,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.');me=e};y.__private__.getPageMode=function(){return me};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,Ce,Se,ke,Te,Ee={},Be={},Oe=[],Me={},Pe={},Le={},De={},Ie=null,Ne=0,Fe=[],Re=new D(y),je=e.hotfixes||[],Ue={},He={},ze=[],Qe=function(e,t,n,r,o,a){if(!(this instanceof i.a))return new i.a(e,t,n,r,o,a);isNaN(e)&&(e=1),isNaN(t)&&(t=0),isNaN(n)&&(n=0),isNaN(r)&&(r=1),isNaN(o)&&(o=0),isNaN(a)&&(a=0),this._matrix=[e,t,n,r,o,a]};Object.defineProperty(Qe.prototype,"sx",{get:function(){return this._matrix[0]},set:function(e){this._matrix[0]=e}}),Object.defineProperty(Qe.prototype,"shy",{get:function(){return this._matrix[1]},set:function(e){this._matrix[1]=e}}),Object.defineProperty(Qe.prototype,"shx",{get:function(){return this._matrix[2]},set:function(e){this._matrix[2]=e}}),Object.defineProperty(Qe.prototype,"sy",{get:function(){return this._matrix[3]},set:function(e){this._matrix[3]=e}}),Object.defineProperty(Qe.prototype,"tx",{get:function(){return this._matrix[4]},set:function(e){this._matrix[4]=e}}),Object.defineProperty(Qe.prototype,"ty",{get:function(){return this._matrix[5]},set:function(e){this._matrix[5]=e}}),Object.defineProperty(Qe.prototype,"a",{get:function(){return this._matrix[0]},set:function(e){this._matrix[0]=e}}),Object.defineProperty(Qe.prototype,"b",{get:function(){return this._matrix[1]},set:function(e){this._matrix[1]=e}}),Object.defineProperty(Qe.prototype,"c",{get:function(){return this._matrix[2]},set:function(e){this._matrix[2]=e}}),Object.defineProperty(Qe.prototype,"d",{get:function(){return this._matrix[3]},set:function(e){this._matrix[3]=e}}),Object.defineProperty(Qe.prototype,"e",{get:function(){return this._matrix[4]},set:function(e){this._matrix[4]=e}}),Object.defineProperty(Qe.prototype,"f",{get:function(){return this._matrix[5]},set:function(e){this._matrix[5]=e}}),Object.defineProperty(Qe.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Qe.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Qe.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Qe.prototype,"isIdentity",{get:function(){return 1===this.sx&&0===this.shy&&0===this.shx&&1===this.sy&&0===this.tx&&0===this.ty}}),Qe.prototype.join=function(e){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(B).join(e)},Qe.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,o=e.tx*this.sx+e.ty*this.shx+this.tx,a=e.tx*this.shy+e.ty*this.sy+this.ty;return new Qe(t,n,r,i,o,a)},Qe.prototype.decompose=function(){var e=this.sx,t=this.shy,n=this.shx,r=this.sy,i=this.tx,o=this.ty,a=Math.sqrt(e*e+t*t),s=(e/=a)*n+(t/=a)*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,o=255&c}if(void 0===r||void 0===a&&n===r&&r===o)if("string"==typeof n)t=n+" "+s[0];else switch(e.precision){case 2:t=N(n/255)+" "+s[0];break;case 3:default:t=U(n/255)+" "+s[0]}else if(void 0===a||"object"===i()(a)){if(a&&!isNaN(a.a)&&0===a.a)return["1.","1.","1.",s[1]].join(" ");if("string"==typeof n)t=[n,r,o,s[1]].join(" ");else switch(e.precision){case 2:t=[N(n/255),N(r/255),N(o/255),s[1]].join(" ");break;default:case 3:t=[U(n/255),U(r/255),U(o/255),s[1]].join(" ")}}else if("string"==typeof n)t=[n,r,o,a,s[2]].join(" ");else switch(e.precision){case 2:t=[N(n),N(r),N(o),N(a),s[2]].join(" ");break;case 3:default:t=[U(n),U(r),U(o),U(a),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,o=t.length,a=e.objectId,s=function(e){return e};if(null!==g&&void 0===a)throw new Error("ObjectId must be passed to putStream for file encryption");null!==g&&(s=Ot.encryptor(a,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:o})),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;qe(r,!0),ce("<>"),ce("endobj");var o=n.join("\n");return S===C.ADVANCED&&(o+="\nQ"),qe(i,!0),rt({data:o,filters:nt(),objectId:i}),ce("endobj"),r},ot=y.__private__.putPages=function(){var e,t,n=[];for(e=1;e<=Ne;e++)Fe[e].objId=Ze(),Fe[e].contentsObjId=Ze();for(e=1;e<=Ne;e++)n.push(it({number:e,data:oe[e],objId:Fe[e].objId,contentsObjId:Fe[e].contentsObjId,mediaBox:Fe[e].mediaBox,cropBox:Fe[e].cropBox,bleedBox:Fe[e].bleedBox,trimBox:Fe[e].trimBox,artBox:Fe[e].artBox,userUnit:Fe[e].userUnit,rootDictionaryObjId:Je,resourceDictionaryObjId:$e}));qe(Je,!0),ce("<>"),ce("endobj"),Re.publish("postPutPages")},at=function(e){Re.publish("putFont",{font:e,out:ce,newObject:Xe,putStream:rt}),!0!==e.isAlreadyPutted&&(e.objectNumber=Xe(),ce("<<"),ce("/Type /Font"),ce("/BaseFont /"+L(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=Xe();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=Xe(),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 o={offset:0,color:e[0].color};e.unshift(o)}if(1!=e[e.length-1].offset){var a={offset:1,color:e[e.length-1].color};e.push(a)}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),f=e[l].color,d=e[l+1].color;s+=$(Math.round((1-h)*f[0]+h*d[0]).toString(16))+$(Math.round((1-h)*f[1]+h*d[1]).toString(16))+$(Math.round((1-h)*f[2]+h*d[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=Xe(),ce("<< /ShadingType "+e.type),ce("/ColorSpace /DeviceRGB");var o="/Coords ["+B(parseFloat(e.coords[0]))+" "+B(parseFloat(e.coords[1]))+" ";2===e.type?o+=B(parseFloat(e.coords[2]))+" "+B(parseFloat(e.coords[3])):o+=B(parseFloat(e.coords[2]))+" "+B(parseFloat(e.coords[3]))+" "+B(parseFloat(e.coords[4]))+" "+B(parseFloat(e.coords[5])),ce(o+="]"),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=Ze(),r=Xe();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=Xe(),ce("<<"),e)switch(t){case"opacity":ce("/ca "+N(e[t]));break;case"stroke-opacity":ce("/CA "+N(e[t]))}ce(">>"),ce("endobj")},ht=function(e){qe(e.resourcesOid,!0),ce("<<"),ce("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var e in ce("/Font <<"),Ee)Ee.hasOwnProperty(e)&&(!1===m||!0===m&&v.hasOwnProperty(e))&&ce("/"+e+" "+Ee[e].objectNumber+" 0 R");ce(">>")}(),function(){if(Object.keys(Me).length>0){for(var e in ce("/Shading <<"),Me)Me.hasOwnProperty(e)&&Me[e]instanceof F&&Me[e].objectNumber>=0&&ce("/"+e+" "+Me[e].objectNumber+" 0 R");Re.publish("putShadingPatternDict"),ce(">>")}}(),function(e){if(Object.keys(Me).length>0){for(var t in ce("/Pattern <<"),Me)Me.hasOwnProperty(t)&&Me[t]instanceof y.TilingPattern&&Me[t].objectNumber>=0&&Me[t].objectNumber>")}}(e.objectOid),function(){if(Object.keys(Le).length>0){var e;for(e in ce("/ExtGState <<"),Le)Le.hasOwnProperty(e)&&Le[e].objectNumber>=0&&ce("/"+e+" "+Le[e].objectNumber+" 0 R");Re.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");Re.publish("putXobjectDict"),ce(">>")}(),ce(">>"),ce("endobj")},ft=function(){var e=[];(function(){for(var e in Ee)Ee.hasOwnProperty(e)&&(!1===m||!0===m&&v.hasOwnProperty(e))&&at(Ee[e])})(),function(){var e;for(e in Le)Le.hasOwnProperty(e)&&ut(Le[e])}(),function(){for(var e in Ue)Ue.hasOwnProperty(e)&&st(Ue[e])}(),function(e){var t;for(t in Me)Me.hasOwnProperty(t)&&(Me[t]instanceof F?lt(Me[t]):Me[t]instanceof R&&ct(Me[t],e))}(e),Re.publish("putResources"),e.forEach(ht),ht({resourcesOid:$e,objectOid:Number.MAX_SAFE_INTEGER}),Re.publish("postPutResources")},dt=function(e){Be[e.fontName]=Be[e.fontName]||{},Be[e.fontName][e.fontStyle]=e.id},pt=function(e,t,n,r,i){var o={id:"F"+(Object.keys(Ee).length+1).toString(10),postScriptName:e,fontName:t,fontStyle:n,encoding:r,isStandardFont:i||!1,metadata:{}};return Re.publish("addFont",{font:o,instance:this}),Ee[o.id]=o,dt(o),o.id},At=y.__private__.pdfEscape=y.pdfEscape=function(e,t){return function(e,t){var n,r,i,o,a,s,l,c,u;if(i=(t=t||{}).sourceEncoding||"Unicode",a=t.outputEncoding,(t.autoencode||a)&&Ee[xe].metadata&&Ee[xe].metadata[i]&&Ee[xe].metadata[i].encoding&&(o=Ee[xe].metadata[i].encoding,!a&&Ee[xe].encoding&&(a=Ee[xe].encoding),!a&&o.codePages&&(a=o.codePages[0]),"string"==typeof a&&(a=o[a]),a)){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,"\\)")},gt=y.__private__.beginPage=function(e){oe[++Ne]=[],Fe[Ne]={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(Ne),le(oe[K])},mt=function(e,t){var r,i,a;switch(n=t||n,"string"==typeof e&&(r=x(e.toLowerCase()),Array.isArray(r)&&(i=r[0],a=r[1])),Array.isArray(e)&&(i=e[0]*Ce,a=e[1]*Ce),isNaN(i)&&(i=o[0],a=o[1]),(i>14400||a>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),a=Math.min(14400,a)),o=[i,a],n.substr(0,1)){case"l":a>i&&(o=[a,i]);break;case"p":i>a&&(o=[a,i])}gt(o),Zt(Gt),ce(rn),0!==un&&ce(un+" J"),0!==hn&&ce(hn+" j"),Re.publish("addPage",{pageNumber:Ne})},vt=function(e){e>0&&e<=Ne&&(K=e)},yt=y.__private__.getNumberOfPages=y.getNumberOfPages=function(){return oe.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=Xe(),t=function(e){return e};for(var n in null!==g&&(t=Ot.encryptor(e,0)),ce("<<"),ce("/Producer ("+At(t("jsPDF "+j.version))+")"),we)we.hasOwnProperty(n)&&we[n]&&ce("/"+n.substr(0,1).toUpperCase()+n.substr(1)+" ("+At(t(we[n]))+")");ce("/CreationDate ("+At(t(Q))+")"),ce(">>"),ce("endobj")},wt=y.__private__.putCatalog=function(e){var t=(e=e||{}).rootDictionaryObjId||Je;switch(Xe(),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 "+N(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")}me&&ce("/PageMode /"+me),Re.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!==g&&ce("/Encrypt "+Ot.oid+" 0 R"),ce("/ID [ <"+Y+"> <"+Y+"> ]"),ce(">>")},Ct=y.__private__.putHeader=function(){ce("%PDF-"+b),ce("%ºß¬à")},St=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=[],Je=Ze(),$e=Ze(),le(ne),Re.publish("buildDocument"),Ct(),ot(),function(){Re.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 St(),xt(),ce("startxref"),ce(""+e),ce("%%EOF"),le(oe[K]),ne.join("\n")},Tt=y.__private__.getBlob=function(e){return new Blob([he(e)],{type:"application/pdf"})},Et=y.output=y.__private__.output=((Ge=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!==a.URL&&"function"==typeof a.URL.createObjectURL)return a.URL&&a.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=d(r)}catch(e){n=d(unescape(encodeURIComponent(r)))}return"data:application/pdf;filename="+t.filename+";base64,"+n;case"pdfobjectnewwindow":if("[object Window]"===Object.prototype.toString.call(a)){var i="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",o=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';t.pdfObjectUrl&&(i=t.pdfObjectUrl,o="");var s='