vendor.bc3479efe4e7d435ff02.js 3.0 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. webpackJsonp([0],{"++K3":function(t,e){var n,i,r,o,a,s,l,c,u,h,d,f,p,A,g,v=!1;function m(){if(!v){v=!0;var t=navigator.userAgent,e=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(t),m=/(Mac OS X)|(Windows)|(Linux)/.exec(t);if(f=/\b(iPhone|iP[ao]d)/.exec(t),p=/\b(iP[ao]d)/.exec(t),h=/Android/i.exec(t),A=/FBAN\/\w+;/i.exec(t),g=/Mobile/i.exec(t),d=!!/Win64/.exec(t),e){(n=e[1]?parseFloat(e[1]):e[5]?parseFloat(e[5]):NaN)&&document&&document.documentMode&&(n=document.documentMode);var y=/(?:Trident\/(\d+.\d+))/.exec(t);s=y?parseFloat(y[1])+4:n,i=e[2]?parseFloat(e[2]):NaN,r=e[3]?parseFloat(e[3]):NaN,(o=e[4]?parseFloat(e[4]):NaN)?(e=/(?:Chrome\/(\d+\.\d+))/.exec(t),a=e&&e[1]?parseFloat(e[1]):NaN):a=NaN}else n=i=r=a=o=NaN;if(m){if(m[1]){var b=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(t);l=!b||parseFloat(b[1].replace("_","."))}else l=!1;c=!!m[2],u=!!m[3]}else l=c=u=!1}}var y={ie:function(){return m()||n},ieCompatibilityMode:function(){return m()||s>n},ie64:function(){return y.ie()&&d},firefox:function(){return m()||i},opera:function(){return m()||r},webkit:function(){return m()||o},safari:function(){return y.webkit()},chrome:function(){return m()||a},windows:function(){return m()||c},osx:function(){return m()||l},linux:function(){return m()||u},iphone:function(){return m()||f},mobile:function(){return m()||f||p||h||g},nativeApp:function(){return m()||A},android:function(){return m()||h},ipad:function(){return m()||p}};t.exports=y},"+E39":function(t,e,n){t.exports=!n("S82l")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},"+N5+":function(t,e,n){"use strict";var i=Object.prototype.hasOwnProperty;function r(t,e){return i.call(t,e)}function o(t){return!(t>=55296&&t<=57343)&&(!(t>=64976&&t<=65007)&&(65535!=(65535&t)&&65534!=(65535&t)&&(!(t>=0&&t<=8)&&(11!==t&&(!(t>=14&&t<=31)&&(!(t>=127&&t<=159)&&!(t>1114111)))))))}function a(t){if(t>65535){var e=55296+((t-=65536)>>10),n=56320+(1023&t);return String.fromCharCode(e,n)}return String.fromCharCode(t)}var s=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,l=new RegExp(s.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),c=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i,u=n("881s");var h=/[&<>"]/,d=/[&<>"]/g,f={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function p(t){return f[t]}var A=/[.?*+^$[\]\\(){}|-]/g;var g=n("TUzn");e.lib={},e.lib.mdurl=n("HxqY"),e.lib.ucmicro=n("QgkH"),e.assign=function(t){return Array.prototype.slice.call(arguments,1).forEach(function(e){if(e){if("object"!=typeof e)throw new TypeError(e+"must be object");Object.keys(e).forEach(function(n){t[n]=e[n]})}}),t},e.isString=function(t){return"[object String]"===function(t){return Object.prototype.toString.call(t)}(t)},e.has=r,e.unescapeMd=function(t){return t.indexOf("\\")<0?t:t.replace(s,"$1")},e.unescapeAll=function(t){return t.indexOf("\\")<0&&t.indexOf("&")<0?t:t.replace(l,function(t,e,n){return e||function(t,e){var n;return r(u,e)?u[e]:35===e.charCodeAt(0)&&c.test(e)&&o(n="x"===e[1].toLowerCase()?parseInt(e.slice(2),16):parseInt(e.slice(1),10))?a(n):t}(t,n)})},e.isValidEntityCode=o,e.fromCodePoint=a,e.escapeHtml=function(t){return h.test(t)?t.replace(d,p):t},e.arrayReplaceAt=function(t,e,n){return[].concat(t.slice(0,e),n,t.slice(e+1))},e.isSpace=function(t){switch(t){case 9:case 32:return!0}return!1},e.isWhiteSpace=function(t){if(t>=8192&&t<=8202)return!0;switch(t){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},e.isMdAsciiPunct=function(t){switch(t){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}},e.isPunctChar=function(t){return g.test(t)},e.escapeRE=function(t){return t.replace(A,"\\$&")},e.normalizeReference=function(t){return t=t.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(t=t.replace(/ẞ/g,"ß")),t.toLowerCase().toUpperCase()}},"+ZMJ":function(t,e,n){var i=n("lOnJ");t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},"+tPU":function(t,e,n){n("xGkn");for(var i=n("7KvD"),r=n("hJx8"),o=n("/bQp"),a=n("dSzd")("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var c=s[l],u=i[c],h=u&&u.prototype;h&&!h[a]&&r(h,a,c),o[c]=o.Array}},"//Fk":function(t,e,n){t.exports={default:n("U5ju"),__esModule:!0}},"/OLh":function(t,e,n){"use strict";t.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},"/bQp":function(t,e){t.exports={}},"/gxq":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.guid=function(){return A++},e.logError=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];"undefined"!=typeof console&&console.error.apply(console,t)},e.clone=g,e.merge=v,e.mergeAll=function(t,e){for(var n=t[0],i=1,r=t.length;i<r;i++)n=v(n,t[i],e);return n},e.extend=m,e.defaults=y,n.d(e,"createCanvas",function(){return b}),e.indexOf=function(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n}return-1},e.inherits=function(t,e){var n=t.prototype;function i(){}for(var r in i.prototype=e.prototype,t.prototype=new i,n)n.hasOwnProperty(r)&&(t.prototype[r]=n[r]);t.prototype.constructor=t,t.superClass=e},e.mixin=function(t,e,n){if(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var i=Object.getOwnPropertyNames(e),r=0;r<i.length;r++){var o=i[r];"constructor"!==o&&(n?null!=e[o]:null==t[o])&&(t[o]=e[o])}else y(t,e,n)},e.isArrayLike=function(t){if(!t)return!1;if("string"==typeof t)return!1;return"number"==typeof t.length},e.each=_,e.map=function(t,e,n){if(!t)return[];if(!e)return I(t);if(t.map&&t.map===h)return t.map(e,n);for(var i=[],r=0,o=t.length;r<o;r++)i.push(e.call(n,t[r],r,t));return i},e.reduce=w,e.filter=function(t,e,n){if(!t)return[];if(!e)return I(t);if(t.filter&&t.filter===c)return t.filter(e,n);for(var i=[],r=0,o=t.length;r<o;r++)e.call(n,t[r],r,t)&&i.push(t[r]);return i},e.find=function(t,e,n){if(!t||!e)return;for(var i=0,r=t.length;i<r;i++)if(e.call(n,t[i],i,t))return t[i]},e.keys=x,n.d(e,"bind",function(){return C}),n.d(e,"curry",function(){return S}),e.isArray=B,e.isFunction=k,e.isString=function(t){return"string"==typeof t},e.isStringSafe=function(t){return"[object String]"===a.call(t)},e.isNumber=function(t){return"number"==typeof t},e.isObject=T,e.isBuiltInObject=O,e.isTypedArray=function(t){return!!o[a.call(t)]},e.isDom=E,e.isGradientObject=function(t){return null!=t.colorStops},e.isImagePatternObject=function(t){return null!=t.image},e.isRegExp=function(t){return"[object RegExp]"===a.call(t)},e.eqNaN=function(t){return t!=t},e.retrieve=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=0,i=t.length;n<i;n++)if(null!=t[n])return t[n]},e.retrieve2=function(t,e){return null!=t?t:e},e.retrieve3=function(t,e,n){return null!=t?t:null!=e?e:n},e.slice=I,e.normalizeCssArray=function(t){if("number"==typeof t)return[t,t,t,t];var e=t.length;if(2===e)return[t[0],t[1],t[0],t[1]];if(3===e)return[t[0],t[1],t[2],t[1]];return t},e.assert=function(t,e){if(!t)throw new Error(e)},e.trim=function(t){return null==t?null:"function"==typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},e.setAsPrimitive=function(t){t[M]=!0},e.isPrimitive=D,n.d(e,"HashMap",function(){return P}),e.createHashMap=function(t){return new P(t)},e.concatArray=function(t,e){for(var n=new t.constructor(t.length+e.length),i=0;i<t.length;i++)n[i]=t[i];for(var r=t.length,i=0;i<e.length;i++)n[i+r]=e[i];return n},e.createObject=function(t,e){var n;if(Object.create)n=Object.create(t);else{var i=function(){};i.prototype=t,n=new i}e&&m(n,e);return n},e.disableUserSelect=function(t){var e=t.style;e.webkitUserSelect="none",e.userSelect="none",e.webkitTapHighlightColor="rgba(0,0,0,0)",e["-webkit-touch-callout"]="none"},e.hasOwn=function(t,e){return t.hasOwnProperty(e)},e.noop=function(){},n.d(e,"RADIAN_TO_DEGREE",function(){return N});var i=n("OwOc"),r=w(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(t,e){return t["[object "+e+"]"]=!0,t},{}),o=w(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(t,e){return t["[object "+e+"Array]"]=!0,t},{}),a=Object.prototype.toString,s=Array.prototype,l=s.forEach,c=s.filter,u=s.slice,h=s.map,d=function(){}.constructor,f=d?d.prototype:null,p="__proto__",A=2311;function g(t){if(null==t||"object"!=typeof t)return t;var e=t,n=a.call(t);if("[object Array]"===n){if(!D(t)){e=[];for(var i=0,s=t.length;i<s;i++)e[i]=g(t[i])}}else if(o[n]){if(!D(t)){var l=t.constructor;if(l.from)e=l.from(t);else{e=new l(t.length);for(i=0,s=t.length;i<s;i++)e[i]=t[i]}}}else if(!r[n]&&!D(t)&&!E(t))for(var c in e={},t)t.hasOwnProperty(c)&&c!==p&&(e[c]=g(t[c]));return e}function v(t,e,n){if(!T(e)||!T(t))return n?g(e):t;for(var i in e)if(e.hasOwnProperty(i)&&i!==p){var r=t[i],o=e[i];!T(o)||!T(r)||B(o)||B(r)||E(o)||E(r)||O(o)||O(r)||D(o)||D(r)?!n&&i in t||(t[i]=g(e[i])):v(r,o,n)}return t}function m(t,e){if(Object.assign)Object.assign(t,e);else for(var n in e)e.hasOwnProperty(n)&&n!==p&&(t[n]=e[n]);return t}function y(t,e,n){for(var i=x(e),r=0;r<i.length;r++){var o=i[r];(n?null!=e[o]:null==t[o])&&(t[o]=e[o])}return t}var b=i.d.createCanvas;function _(t,e,n){if(t&&e)if(t.forEach&&t.forEach===l)t.forEach(e,n);else if(t.length===+t.length)for(var i=0,r=t.length;i<r;i++)e.call(n,t[i],i,t);else for(var o in t)t.hasOwnProperty(o)&&e.call(n,t[o],o,t)}function w(t,e,n,i){if(t&&e){for(var r=0,o=t.length;r<o;r++)n=e.call(i,n,t[r],r,t);return n}}function x(t){if(!t)return[];if(Object.keys)return Object.keys(t);var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e}var C=f&&k(f.bind)?f.call.bind(f.bind):function(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return function(){return t.apply(e,n.concat(u.call(arguments)))}};function S(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return function(){return t.apply(this,e.concat(u.call(arguments)))}}function B(t){return Array.isArray?Array.isArray(t):"[object Array]"===a.call(t)}function k(t){return"function"==typeof t}function T(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function O(t){return!!r[a.call(t)]}function E(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}function I(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return u.apply(t,e)}var M="__ec_primitive__";function D(t){return t[M]}var L=function(){function t(){this.data={}}return t.prototype.delete=function(t){var e=this.has(t);return e&&delete this.data[t],e},t.prototype.has=function(t){return this.data.hasOwnProperty(t)},t.prototype.get=function(t){return this.data[t]},t.prototype.set=function(t,e){return this.data[t]=e,this},t.prototype.keys=function(){return x(this.data)},t.prototype.forEach=function(t){var e=this.data;for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)},t}(),F="function"==typeof Map;var P=function(){function t(e){var n=B(e);this.data=F?new Map:new L;var i=this;function r(t,e){n?i.set(t,e):i.set(e,t)}e instanceof t?e.each(r):e&&_(e,r)}return t.prototype.hasKey=function(t){return this.data.has(t)},t.prototype.get=function(t){return this.data.get(t)},t.prototype.set=function(t,e){return this.data.set(t,e),e},t.prototype.each=function(t,e){this.data.forEach(function(n,i){t.call(e,n,i)})},t.prototype.keys=function(){var t=this.data.keys();return F?Array.from(t):t},t.prototype.removeKey=function(t){this.data.delete(t)},t}();var N=180/Math.PI},"/n6Q":function(t,e,n){n("zQR9"),n("+tPU"),t.exports=n("Kh4W").f("iterator")},"/ocq":function(t,e,n){"use strict";
  2. /*!
  3. * vue-router v3.5.1
  4. * (c) 2021 Evan You
  5. * @license MIT
  6. */function i(t,e){0}function r(t,e){for(var n in e)t[n]=e[n];return t}var o=/[!'()*]/g,a=function(t){return"%"+t.charCodeAt(0).toString(16)},s=/%2C/g,l=function(t){return encodeURIComponent(t).replace(o,a).replace(s,",")};function c(t){try{return decodeURIComponent(t)}catch(t){0}return t}var u=function(t){return null==t||"object"==typeof t?t:String(t)};function h(t){var e={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach(function(t){var n=t.replace(/\+/g," ").split("="),i=c(n.shift()),r=n.length>0?c(n.join("=")):null;void 0===e[i]?e[i]=r:Array.isArray(e[i])?e[i].push(r):e[i]=[e[i],r]}),e):e}function d(t){var e=t?Object.keys(t).map(function(e){var n=t[e];if(void 0===n)return"";if(null===n)return l(e);if(Array.isArray(n)){var i=[];return n.forEach(function(t){void 0!==t&&(null===t?i.push(l(e)):i.push(l(e)+"="+l(t)))}),i.join("&")}return l(e)+"="+l(n)}).filter(function(t){return t.length>0}).join("&"):null;return e?"?"+e:""}var f=/\/?$/;function p(t,e,n,i){var r=i&&i.options.stringifyQuery,o=e.query||{};try{o=A(o)}catch(t){}var a={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:o,params:e.params||{},fullPath:v(e,r),matched:t?function(t){var e=[];for(;t;)e.unshift(t),t=t.parent;return e}(t):[]};return n&&(a.redirectedFrom=v(n,r)),Object.freeze(a)}function A(t){if(Array.isArray(t))return t.map(A);if(t&&"object"==typeof t){var e={};for(var n in t)e[n]=A(t[n]);return e}return t}var g=p(null,{path:"/"});function v(t,e){var n=t.path,i=t.query;void 0===i&&(i={});var r=t.hash;return void 0===r&&(r=""),(n||"/")+(e||d)(i)+r}function m(t,e,n){return e===g?t===e:!!e&&(t.path&&e.path?t.path.replace(f,"")===e.path.replace(f,"")&&(n||t.hash===e.hash&&y(t.query,e.query)):!(!t.name||!e.name)&&(t.name===e.name&&(n||t.hash===e.hash&&y(t.query,e.query)&&y(t.params,e.params))))}function y(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t).sort(),i=Object.keys(e).sort();return n.length===i.length&&n.every(function(n,r){var o=t[n];if(i[r]!==n)return!1;var a=e[n];return null==o||null==a?o===a:"object"==typeof o&&"object"==typeof a?y(o,a):String(o)===String(a)})}function b(t){for(var e=0;e<t.matched.length;e++){var n=t.matched[e];for(var i in n.instances){var r=n.instances[i],o=n.enteredCbs[i];if(r&&o){delete n.enteredCbs[i];for(var a=0;a<o.length;a++)r._isBeingDestroyed||o[a](r)}}}}var _={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,i=e.children,o=e.parent,a=e.data;a.routerView=!0;for(var s=o.$createElement,l=n.name,c=o.$route,u=o._routerViewCache||(o._routerViewCache={}),h=0,d=!1;o&&o._routerRoot!==o;){var f=o.$vnode?o.$vnode.data:{};f.routerView&&h++,f.keepAlive&&o._directInactive&&o._inactive&&(d=!0),o=o.$parent}if(a.routerViewDepth=h,d){var p=u[l],A=p&&p.component;return A?(p.configProps&&w(A,a,p.route,p.configProps),s(A,a,i)):s()}var g=c.matched[h],v=g&&g.components[l];if(!g||!v)return u[l]=null,s();u[l]={component:v},a.registerRouteInstance=function(t,e){var n=g.instances[l];(e&&n!==t||!e&&n===t)&&(g.instances[l]=e)},(a.hook||(a.hook={})).prepatch=function(t,e){g.instances[l]=e.componentInstance},a.hook.init=function(t){t.data.keepAlive&&t.componentInstance&&t.componentInstance!==g.instances[l]&&(g.instances[l]=t.componentInstance),b(c)};var m=g.props&&g.props[l];return m&&(r(u[l],{route:c,configProps:m}),w(v,a,c,m)),s(v,a,i)}};function w(t,e,n,i){var o=e.props=function(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0;default:0}}(n,i);if(o){o=e.props=r({},o);var a=e.attrs=e.attrs||{};for(var s in o)t.props&&s in t.props||(a[s]=o[s],delete o[s])}}function x(t,e,n){var i=t.charAt(0);if("/"===i)return t;if("?"===i||"#"===i)return e+t;var r=e.split("/");n&&r[r.length-1]||r.pop();for(var o=t.replace(/^\//,"").split("/"),a=0;a<o.length;a++){var s=o[a];".."===s?r.pop():"."!==s&&r.push(s)}return""!==r[0]&&r.unshift(""),r.join("/")}function C(t){return t.replace(/\/\//g,"/")}var S=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},B=R,k=M,T=function(t,e){return L(M(t,e),e)},O=L,E=U,I=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function M(t,e){for(var n,i=[],r=0,o=0,a="",s=e&&e.delimiter||"/";null!=(n=I.exec(t));){var l=n[0],c=n[1],u=n.index;if(a+=t.slice(o,u),o=u+l.length,c)a+=c[1];else{var h=t[o],d=n[2],f=n[3],p=n[4],A=n[5],g=n[6],v=n[7];a&&(i.push(a),a="");var m=null!=d&&null!=h&&h!==d,y="+"===g||"*"===g,b="?"===g||"*"===g,_=n[2]||s,w=p||A;i.push({name:f||r++,prefix:d||"",delimiter:_,optional:b,repeat:y,partial:m,asterisk:!!v,pattern:w?P(w):v?".*":"[^"+F(_)+"]+?"})}}return o<t.length&&(a+=t.substr(o)),a&&i.push(a),i}function D(t){return encodeURI(t).replace(/[\/?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function L(t,e){for(var n=new Array(t.length),i=0;i<t.length;i++)"object"==typeof t[i]&&(n[i]=new RegExp("^(?:"+t[i].pattern+")$",j(e)));return function(e,i){for(var r="",o=e||{},a=(i||{}).pretty?D:encodeURIComponent,s=0;s<t.length;s++){var l=t[s];if("string"!=typeof l){var c,u=o[l.name];if(null==u){if(l.optional){l.partial&&(r+=l.prefix);continue}throw new TypeError('Expected "'+l.name+'" to be defined')}if(S(u)){if(!l.repeat)throw new TypeError('Expected "'+l.name+'" to not repeat, but received `'+JSON.stringify(u)+"`");if(0===u.length){if(l.optional)continue;throw new TypeError('Expected "'+l.name+'" to not be empty')}for(var h=0;h<u.length;h++){if(c=a(u[h]),!n[s].test(c))throw new TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'", but received `'+JSON.stringify(c)+"`");r+=(0===h?l.prefix:l.delimiter)+c}}else{if(c=l.asterisk?encodeURI(u).replace(/[?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}):a(u),!n[s].test(c))throw new TypeError('Expected "'+l.name+'" to match "'+l.pattern+'", but received "'+c+'"');r+=l.prefix+c}}else r+=l}return r}}function F(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function P(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function N(t,e){return t.keys=e,t}function j(t){return t&&t.sensitive?"":"i"}function U(t,e,n){S(e)||(n=e||n,e=[]);for(var i=(n=n||{}).strict,r=!1!==n.end,o="",a=0;a<t.length;a++){var s=t[a];if("string"==typeof s)o+=F(s);else{var l=F(s.prefix),c="(?:"+s.pattern+")";e.push(s),s.repeat&&(c+="(?:"+l+c+")*"),o+=c=s.optional?s.partial?l+"("+c+")?":"(?:"+l+"("+c+"))?":l+"("+c+")"}}var u=F(n.delimiter||"/"),h=o.slice(-u.length)===u;return i||(o=(h?o.slice(0,-u.length):o)+"(?:"+u+"(?=$))?"),o+=r?"$":i&&h?"":"(?="+u+"|$)",N(new RegExp("^"+o,j(n)),e)}function R(t,e,n){return S(e)||(n=e||n,e=[]),n=n||{},t instanceof RegExp?function(t,e){var n=t.source.match(/\((?!\?)/g);if(n)for(var i=0;i<n.length;i++)e.push({name:i,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return N(t,e)}(t,e):S(t)?function(t,e,n){for(var i=[],r=0;r<t.length;r++)i.push(R(t[r],e,n).source);return N(new RegExp("(?:"+i.join("|")+")",j(n)),e)}(t,e,n):function(t,e,n){return U(M(t,n),e,n)}(t,e,n)}B.parse=k,B.compile=T,B.tokensToFunction=O,B.tokensToRegExp=E;var Q=Object.create(null);function H(t,e,n){e=e||{};try{var i=Q[t]||(Q[t]=B.compile(t));return"string"==typeof e.pathMatch&&(e[0]=e.pathMatch),i(e,{pretty:!0})}catch(t){return""}finally{delete e[0]}}function V(t,e,n,i){var o="string"==typeof t?{path:t}:t;if(o._normalized)return o;if(o.name){var a=(o=r({},t)).params;return a&&"object"==typeof a&&(o.params=r({},a)),o}if(!o.path&&o.params&&e){(o=r({},o))._normalized=!0;var s=r(r({},e.params),o.params);if(e.name)o.name=e.name,o.params=s;else if(e.matched.length){var l=e.matched[e.matched.length-1].path;o.path=H(l,s,e.path)}else 0;return o}var c=function(t){var e="",n="",i=t.indexOf("#");i>=0&&(e=t.slice(i),t=t.slice(0,i));var r=t.indexOf("?");return r>=0&&(n=t.slice(r+1),t=t.slice(0,r)),{path:t,query:n,hash:e}}(o.path||""),d=e&&e.path||"/",f=c.path?x(c.path,d,n||o.append):d,p=function(t,e,n){void 0===e&&(e={});var i,r=n||h;try{i=r(t||"")}catch(t){i={}}for(var o in e){var a=e[o];i[o]=Array.isArray(a)?a.map(u):u(a)}return i}(c.query,o.query,i&&i.options.parseQuery),A=o.hash||c.hash;return A&&"#"!==A.charAt(0)&&(A="#"+A),{_normalized:!0,path:f,query:p,hash:A}}var z,$=[String,Object],G=[String,Array],W=function(){},K={name:"RouterLink",props:{to:{type:$,required:!0},tag:{type:String,default:"a"},custom:Boolean,exact:Boolean,exactPath:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:G,default:"click"}},render:function(t){var e=this,n=this.$router,i=this.$route,o=n.resolve(this.to,i,this.append),a=o.location,s=o.route,l=o.href,c={},u=n.options.linkActiveClass,h=n.options.linkExactActiveClass,d=null==u?"router-link-active":u,A=null==h?"router-link-exact-active":h,g=null==this.activeClass?d:this.activeClass,v=null==this.exactActiveClass?A:this.exactActiveClass,y=s.redirectedFrom?p(null,V(s.redirectedFrom),null,n):s;c[v]=m(i,y,this.exactPath),c[g]=this.exact||this.exactPath?c[v]:function(t,e){return 0===t.path.replace(f,"/").indexOf(e.path.replace(f,"/"))&&(!e.hash||t.hash===e.hash)&&function(t,e){for(var n in e)if(!(n in t))return!1;return!0}(t.query,e.query)}(i,y);var b=c[v]?this.ariaCurrentValue:null,_=function(t){Y(t)&&(e.replace?n.replace(a,W):n.push(a,W))},w={click:Y};Array.isArray(this.event)?this.event.forEach(function(t){w[t]=_}):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[v]});if(C){if(1===C.length)return C[0];if(C.length>1||!C.length)return 0===C.length?t():t("span",{},C)}if("a"===this.tag)x.on=w,x.attrs={href:l,"aria-current":b};else{var S=function t(e){if(e)for(var n,i=0;i<e.length;i++){if("a"===(n=e[i]).tag)return n;if(n.children&&(n=t(n.children)))return n}}(this.$slots.default);if(S){S.isStatic=!1;var B=S.data=r({},S.data);for(var k in B.on=B.on||{},B.on){var T=B.on[k];k in w&&(B.on[k]=Array.isArray(T)?T:[T])}for(var O in w)O in B.on?B.on[O].push(w[O]):B.on[O]=_;var E=S.data.attrs=r({},S.data.attrs);E.href=l,E["aria-current"]=b}else x.on=w}return t(this.tag,x,this.$slots.default)}};function Y(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||t.defaultPrevented||void 0!==t.button&&0!==t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function X(t){if(!X.installed||z!==t){X.installed=!0,z=t;var e=function(t){return void 0!==t},n=function(t,n){var i=t.$options._parentVnode;e(i)&&e(i=i.data)&&e(i=i.registerRouteInstance)&&i(t,n)};t.mixin({beforeCreate:function(){e(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),t.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,n(this,this)},destroyed:function(){n(this)}}),Object.defineProperty(t.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(t.prototype,"$route",{get:function(){return this._routerRoot._route}}),t.component("RouterView",_),t.component("RouterLink",K);var i=t.config.optionMergeStrategies;i.beforeRouteEnter=i.beforeRouteLeave=i.beforeRouteUpdate=i.created}}var q="undefined"!=typeof window;function Z(t,e,n,i,r){var o=e||[],a=n||Object.create(null),s=i||Object.create(null);t.forEach(function(t){!function t(e,n,i,r,o,a){var s=r.path;var l=r.name;0;var c=r.pathToRegexpOptions||{};var u=function(t,e,n){n||(t=t.replace(/\/$/,""));if("/"===t[0])return t;if(null==e)return t;return C(e.path+"/"+t)}(s,o,c.strict);"boolean"==typeof r.caseSensitive&&(c.sensitive=r.caseSensitive);var h={path:u,regex:function(t,e){var n=B(t,[],e);return n}(u,c),components:r.components||{default:r.component},alias:r.alias?"string"==typeof r.alias?[r.alias]:r.alias:[],instances:{},enteredCbs:{},name:l,parent:o,matchAs:a,redirect:r.redirect,beforeEnter:r.beforeEnter,meta:r.meta||{},props:null==r.props?{}:r.components?r.props:{default:r.props}};r.children&&r.children.forEach(function(r){var o=a?C(a+"/"+r.path):void 0;t(e,n,i,r,h,o)});n[h.path]||(e.push(h.path),n[h.path]=h);if(void 0!==r.alias)for(var d=Array.isArray(r.alias)?r.alias:[r.alias],f=0;f<d.length;++f){var p=d[f];0;var A={path:p,children:r.children};t(e,n,i,A,o,h.path||"/")}l&&(i[l]||(i[l]=h))}(o,a,s,t,r)});for(var l=0,c=o.length;l<c;l++)"*"===o[l]&&(o.push(o.splice(l,1)[0]),c--,l--);return{pathList:o,pathMap:a,nameMap:s}}function J(t,e){var n=Z(t),i=n.pathList,r=n.pathMap,o=n.nameMap;function a(t,n,a){var s=V(t,n,!1,e),c=s.name;if(c){var u=o[c];if(!u)return l(null,s);var h=u.regex.keys.filter(function(t){return!t.optional}).map(function(t){return t.name});if("object"!=typeof s.params&&(s.params={}),n&&"object"==typeof n.params)for(var d in n.params)!(d in s.params)&&h.indexOf(d)>-1&&(s.params[d]=n.params[d]);return s.path=H(u.path,s.params),l(u,s,a)}if(s.path){s.params={};for(var f=0;f<i.length;f++){var p=i[f],A=r[p];if(tt(A.regex,s.path,s.params))return l(A,s,a)}}return l(null,s)}function s(t,n){var i=t.redirect,r="function"==typeof i?i(p(t,n,null,e)):i;if("string"==typeof r&&(r={path:r}),!r||"object"!=typeof r)return l(null,n);var s=r,c=s.name,u=s.path,h=n.query,d=n.hash,f=n.params;if(h=s.hasOwnProperty("query")?s.query:h,d=s.hasOwnProperty("hash")?s.hash:d,f=s.hasOwnProperty("params")?s.params:f,c){o[c];return a({_normalized:!0,name:c,query:h,hash:d,params:f},void 0,n)}if(u){var A=function(t,e){return x(t,e.parent?e.parent.path:"/",!0)}(u,t);return a({_normalized:!0,path:H(A,f),query:h,hash:d},void 0,n)}return l(null,n)}function l(t,n,i){return t&&t.redirect?s(t,i||n):t&&t.matchAs?function(t,e,n){var i=a({_normalized:!0,path:H(n,e.params)});if(i){var r=i.matched,o=r[r.length-1];return e.params=i.params,l(o,e)}return l(null,e)}(0,n,t.matchAs):p(t,n,i,e)}return{match:a,addRoute:function(t,e){var n="object"!=typeof t?o[t]:void 0;Z([e||t],i,r,o,n),n&&Z(n.alias.map(function(t){return{path:t,children:[e]}}),i,r,o,n)},getRoutes:function(){return i.map(function(t){return r[t]})},addRoutes:function(t){Z(t,i,r,o)}}}function tt(t,e,n){var i=e.match(t);if(!i)return!1;if(!n)return!0;for(var r=1,o=i.length;r<o;++r){var a=t.keys[r-1];a&&(n[a.name||"pathMatch"]="string"==typeof i[r]?c(i[r]):i[r])}return!0}var et=q&&window.performance&&window.performance.now?window.performance:Date;function nt(){return et.now().toFixed(3)}var it=nt();function rt(){return it}function ot(t){return it=t}var at=Object.create(null);function st(){"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual");var t=window.location.protocol+"//"+window.location.host,e=window.location.href.replace(t,""),n=r({},window.history.state);return n.key=rt(),window.history.replaceState(n,"",e),window.addEventListener("popstate",ut),function(){window.removeEventListener("popstate",ut)}}function lt(t,e,n,i){if(t.app){var r=t.options.scrollBehavior;r&&t.app.$nextTick(function(){var o=function(){var t=rt();if(t)return at[t]}(),a=r.call(t,e,n,i?o:null);a&&("function"==typeof a.then?a.then(function(t){At(t,o)}).catch(function(t){0}):At(a,o))})}}function ct(){var t=rt();t&&(at[t]={x:window.pageXOffset,y:window.pageYOffset})}function ut(t){ct(),t.state&&t.state.key&&ot(t.state.key)}function ht(t){return ft(t.x)||ft(t.y)}function dt(t){return{x:ft(t.x)?t.x:window.pageXOffset,y:ft(t.y)?t.y:window.pageYOffset}}function ft(t){return"number"==typeof t}var pt=/^#\d/;function At(t,e){var n,i="object"==typeof t;if(i&&"string"==typeof t.selector){var r=pt.test(t.selector)?document.getElementById(t.selector.slice(1)):document.querySelector(t.selector);if(r){var o=t.offset&&"object"==typeof t.offset?t.offset:{};e=function(t,e){var n=document.documentElement.getBoundingClientRect(),i=t.getBoundingClientRect();return{x:i.left-n.left-e.x,y:i.top-n.top-e.y}}(r,o={x:ft((n=o).x)?n.x:0,y:ft(n.y)?n.y:0})}else ht(t)&&(e=dt(t))}else i&&ht(t)&&(e=dt(t));e&&("scrollBehavior"in document.documentElement.style?window.scrollTo({left:e.x,top:e.y,behavior:t.behavior}):window.scrollTo(e.x,e.y))}var gt,vt=q&&((-1===(gt=window.navigator.userAgent).indexOf("Android 2.")&&-1===gt.indexOf("Android 4.0")||-1===gt.indexOf("Mobile Safari")||-1!==gt.indexOf("Chrome")||-1!==gt.indexOf("Windows Phone"))&&window.history&&"function"==typeof window.history.pushState);function mt(t,e){ct();var n=window.history;try{if(e){var i=r({},n.state);i.key=rt(),n.replaceState(i,"",t)}else n.pushState({key:ot(nt())},"",t)}catch(n){window.location[e?"replace":"assign"](t)}}function yt(t){mt(t,!0)}function bt(t,e,n){var i=function(r){r>=t.length?n():t[r]?e(t[r],function(){i(r+1)}):i(r+1)};i(0)}var _t={redirected:2,aborted:4,cancelled:8,duplicated:16};function wt(t,e){return Ct(t,e,_t.redirected,'Redirected when going from "'+t.fullPath+'" to "'+function(t){if("string"==typeof t)return t;if("path"in t)return t.path;var e={};return St.forEach(function(n){n in t&&(e[n]=t[n])}),JSON.stringify(e,null,2)}(e)+'" via a navigation guard.')}function xt(t,e){return Ct(t,e,_t.cancelled,'Navigation cancelled from "'+t.fullPath+'" to "'+e.fullPath+'" with a new navigation.')}function Ct(t,e,n,i){var r=new Error(i);return r._isRouter=!0,r.from=t,r.to=e,r.type=n,r}var St=["params","query","hash"];function Bt(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function kt(t,e){return Bt(t)&&t._isRouter&&(null==e||t.type===e)}function Tt(t){return function(e,n,i){var r=!1,o=0,a=null;Ot(t,function(t,e,n,s){if("function"==typeof t&&void 0===t.cid){r=!0,o++;var l,c=Mt(function(e){var r;((r=e).__esModule||It&&"Module"===r[Symbol.toStringTag])&&(e=e.default),t.resolved="function"==typeof e?e:z.extend(e),n.components[s]=e,--o<=0&&i()}),u=Mt(function(t){var e="Failed to resolve async component "+s+": "+t;a||(a=Bt(t)?t:new Error(e),i(a))});try{l=t(c,u)}catch(t){u(t)}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)}}}),r||i()}}function Ot(t,e){return Et(t.map(function(t){return Object.keys(t.components).map(function(n){return e(t.components[n],t.instances[n],t,n)})}))}function Et(t){return Array.prototype.concat.apply([],t)}var It="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function Mt(t){var e=!1;return function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];if(!e)return e=!0,t.apply(this,n)}}var Dt=function(t,e){this.router=t,this.base=function(t){if(!t)if(q){var e=document.querySelector("base");t=(t=e&&e.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else t="/";"/"!==t.charAt(0)&&(t="/"+t);return t.replace(/\/$/,"")}(e),this.current=g,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function Lt(t,e,n,i){var r=Ot(t,function(t,i,r,o){var a=function(t,e){"function"!=typeof t&&(t=z.extend(t));return t.options[e]}(t,e);if(a)return Array.isArray(a)?a.map(function(t){return n(t,i,r,o)}):n(a,i,r,o)});return Et(i?r.reverse():r)}function Ft(t,e){if(e)return function(){return t.apply(e,arguments)}}Dt.prototype.listen=function(t){this.cb=t},Dt.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},Dt.prototype.onError=function(t){this.errorCbs.push(t)},Dt.prototype.transitionTo=function(t,e,n){var i,r=this;try{i=this.router.match(t,this.current)}catch(t){throw this.errorCbs.forEach(function(e){e(t)}),t}var o=this.current;this.confirmTransition(i,function(){r.updateRoute(i),e&&e(i),r.ensureURL(),r.router.afterHooks.forEach(function(t){t&&t(i,o)}),r.ready||(r.ready=!0,r.readyCbs.forEach(function(t){t(i)}))},function(t){n&&n(t),t&&!r.ready&&(kt(t,_t.redirected)&&o===g||(r.ready=!0,r.readyErrorCbs.forEach(function(e){e(t)})))})},Dt.prototype.confirmTransition=function(t,e,n){var r=this,o=this.current;this.pending=t;var a,s,l=function(t){!kt(t)&&Bt(t)&&(r.errorCbs.length?r.errorCbs.forEach(function(e){e(t)}):(i(),console.error(t))),n&&n(t)},c=t.matched.length-1,u=o.matched.length-1;if(m(t,o)&&c===u&&t.matched[c]===o.matched[u])return this.ensureURL(),l(((s=Ct(a=o,t,_t.duplicated,'Avoided redundant navigation to current location: "'+a.fullPath+'".')).name="NavigationDuplicated",s));var h=function(t,e){var n,i=Math.max(t.length,e.length);for(n=0;n<i&&t[n]===e[n];n++);return{updated:e.slice(0,n),activated:e.slice(n),deactivated:t.slice(n)}}(this.current.matched,t.matched),d=h.updated,f=h.deactivated,p=h.activated,A=function(e,n){if(r.pending!==t)return l(xt(o,t));try{e(t,o,function(e){!1===e?(r.ensureURL(!0),l(function(t,e){return Ct(t,e,_t.aborted,'Navigation aborted from "'+t.fullPath+'" to "'+e.fullPath+'" via a navigation guard.')}(o,t))):Bt(e)?(r.ensureURL(!0),l(e)):"string"==typeof e||"object"==typeof e&&("string"==typeof e.path||"string"==typeof e.name)?(l(wt(o,t)),"object"==typeof e&&e.replace?r.replace(e):r.push(e)):n(e)})}catch(t){l(t)}};bt([].concat(function(t){return Lt(t,"beforeRouteLeave",Ft,!0)}(f),this.router.beforeHooks,function(t){return Lt(t,"beforeRouteUpdate",Ft)}(d),p.map(function(t){return t.beforeEnter}),Tt(p)),A,function(){bt(function(t){return Lt(t,"beforeRouteEnter",function(t,e,n,i){return function(t,e,n){return function(i,r,o){return t(i,r,function(t){"function"==typeof t&&(e.enteredCbs[n]||(e.enteredCbs[n]=[]),e.enteredCbs[n].push(t)),o(t)})}}(t,n,i)})}(p).concat(r.router.resolveHooks),A,function(){if(r.pending!==t)return l(xt(o,t));r.pending=null,e(t),r.router.app&&r.router.app.$nextTick(function(){b(t)})})})},Dt.prototype.updateRoute=function(t){this.current=t,this.cb&&this.cb(t)},Dt.prototype.setupListeners=function(){},Dt.prototype.teardown=function(){this.listeners.forEach(function(t){t()}),this.listeners=[],this.current=g,this.pending=null};var Pt=function(t){function e(e,n){t.call(this,e,n),this._startLocation=Nt(this.base)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router,n=e.options.scrollBehavior,i=vt&&n;i&&this.listeners.push(st());var r=function(){var n=t.current,r=Nt(t.base);t.current===g&&r===t._startLocation||t.transitionTo(r,function(t){i&&lt(e,t,n,!0)})};window.addEventListener("popstate",r),this.listeners.push(function(){window.removeEventListener("popstate",r)})}},e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var i=this,r=this.current;this.transitionTo(t,function(t){mt(C(i.base+t.fullPath)),lt(i.router,t,r,!1),e&&e(t)},n)},e.prototype.replace=function(t,e,n){var i=this,r=this.current;this.transitionTo(t,function(t){yt(C(i.base+t.fullPath)),lt(i.router,t,r,!1),e&&e(t)},n)},e.prototype.ensureURL=function(t){if(Nt(this.base)!==this.current.fullPath){var e=C(this.base+this.current.fullPath);t?mt(e):yt(e)}},e.prototype.getCurrentLocation=function(){return Nt(this.base)},e}(Dt);function Nt(t){var e=window.location.pathname;return t&&0===e.toLowerCase().indexOf(t.toLowerCase())&&(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var jt=function(t){function e(e,n,i){t.call(this,e,n),i&&function(t){var e=Nt(t);if(!/^\/#/.test(e))return window.location.replace(C(t+"/#"+e)),!0}(this.base)||Ut()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router.options.scrollBehavior,n=vt&&e;n&&this.listeners.push(st());var i=function(){var e=t.current;Ut()&&t.transitionTo(Rt(),function(i){n&&lt(t.router,i,e,!0),vt||Vt(i.fullPath)})},r=vt?"popstate":"hashchange";window.addEventListener(r,i),this.listeners.push(function(){window.removeEventListener(r,i)})}},e.prototype.push=function(t,e,n){var i=this,r=this.current;this.transitionTo(t,function(t){Ht(t.fullPath),lt(i.router,t,r,!1),e&&e(t)},n)},e.prototype.replace=function(t,e,n){var i=this,r=this.current;this.transitionTo(t,function(t){Vt(t.fullPath),lt(i.router,t,r,!1),e&&e(t)},n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;Rt()!==e&&(t?Ht(e):Vt(e))},e.prototype.getCurrentLocation=function(){return Rt()},e}(Dt);function Ut(){var t=Rt();return"/"===t.charAt(0)||(Vt("/"+t),!1)}function Rt(){var t=window.location.href,e=t.indexOf("#");return e<0?"":t=t.slice(e+1)}function Qt(t){var e=window.location.href,n=e.indexOf("#");return(n>=0?e.slice(0,n):e)+"#"+t}function Ht(t){vt?mt(Qt(t)):window.location.hash=t}function Vt(t){vt?yt(Qt(t)):window.location.replace(Qt(t))}var zt=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var i=this;this.transitionTo(t,function(t){i.stack=i.stack.slice(0,i.index+1).concat(t),i.index++,e&&e(t)},n)},e.prototype.replace=function(t,e,n){var i=this;this.transitionTo(t,function(t){i.stack=i.stack.slice(0,i.index).concat(t),e&&e(t)},n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var i=this.stack[n];this.confirmTransition(i,function(){var t=e.current;e.index=n,e.updateRoute(i),e.router.afterHooks.forEach(function(e){e&&e(i,t)})},function(t){kt(t,_t.duplicated)&&(e.index=n)})}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(Dt),$t=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=J(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!vt&&!1!==t.fallback,this.fallback&&(e="hash"),q||(e="abstract"),this.mode=e,e){case"history":this.history=new Pt(this,t.base);break;case"hash":this.history=new jt(this,t.base,this.fallback);break;case"abstract":this.history=new zt(this,t.base);break;default:0}},Gt={currentRoute:{configurable:!0}};function Wt(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}$t.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},Gt.currentRoute.get=function(){return this.history&&this.history.current},$t.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",function(){var n=e.apps.indexOf(t);n>-1&&e.apps.splice(n,1),e.app===t&&(e.app=e.apps[0]||null),e.app||e.history.teardown()}),!this.app){this.app=t;var n=this.history;if(n instanceof Pt||n instanceof jt){var i=function(t){n.setupListeners(),function(t){var i=n.current,r=e.options.scrollBehavior;vt&&r&&"fullPath"in t&&lt(e,t,i,!1)}(t)};n.transitionTo(n.getCurrentLocation(),i,i)}n.listen(function(t){e.apps.forEach(function(e){e._route=t})})}},$t.prototype.beforeEach=function(t){return Wt(this.beforeHooks,t)},$t.prototype.beforeResolve=function(t){return Wt(this.resolveHooks,t)},$t.prototype.afterEach=function(t){return Wt(this.afterHooks,t)},$t.prototype.onReady=function(t,e){this.history.onReady(t,e)},$t.prototype.onError=function(t){this.history.onError(t)},$t.prototype.push=function(t,e,n){var i=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise(function(e,n){i.history.push(t,e,n)});this.history.push(t,e,n)},$t.prototype.replace=function(t,e,n){var i=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise(function(e,n){i.history.replace(t,e,n)});this.history.replace(t,e,n)},$t.prototype.go=function(t){this.history.go(t)},$t.prototype.back=function(){this.go(-1)},$t.prototype.forward=function(){this.go(1)},$t.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map(function(t){return Object.keys(t.components).map(function(e){return t.components[e]})})):[]},$t.prototype.resolve=function(t,e,n){var i=V(t,e=e||this.history.current,n,this),r=this.match(i,e),o=r.redirectedFrom||r.fullPath;return{location:i,route:r,href:function(t,e,n){var i="hash"===n?"#"+e:e;return t?C(t+"/"+i):i}(this.history.base,o,this.mode),normalizedTo:i,resolved:r}},$t.prototype.getRoutes=function(){return this.matcher.getRoutes()},$t.prototype.addRoute=function(t,e){this.matcher.addRoute(t,e),this.history.current!==g&&this.history.transitionTo(this.history.getCurrentLocation())},$t.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==g&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties($t.prototype,Gt),$t.install=X,$t.version="3.5.1",$t.isNavigationFailure=kt,$t.NavigationFailureType=_t,$t.START_LOCATION=g,q&&window.Vue&&window.Vue.use($t),e.a=$t},"02w1":function(t,e,n){"use strict";e.__esModule=!0,e.removeResizeListener=e.addResizeListener=void 0;var i,r=n("z+gd"),o=(i=r)&&i.__esModule?i:{default:i};var a="undefined"==typeof window,s=function(t){var e=t,n=Array.isArray(e),i=0;for(e=n?e:e[Symbol.iterator]();;){var r;if(n){if(i>=e.length)break;r=e[i++]}else{if((i=e.next()).done)break;r=i.value}var o=r.target.__resizeListeners__||[];o.length&&o.forEach(function(t){t()})}};e.addResizeListener=function(t,e){a||(t.__resizeListeners__||(t.__resizeListeners__=[],t.__ro__=new o.default(s),t.__ro__.observe(t)),t.__resizeListeners__.push(e))},e.removeResizeListener=function(t,e){t&&t.__resizeListeners__&&(t.__resizeListeners__.splice(t.__resizeListeners__.indexOf(e),1),t.__resizeListeners__.length||t.__ro__.disconnect())}},"06OY":function(t,e,n){var i=n("3Eo+")("meta"),r=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(t){a(t,i,{value:{i:"O"+ ++s,w:{}}})},h=t.exports={KEY:i,NEED:!1,fastKey:function(t,e){if(!r(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,i)){if(!l(t))return"F";if(!e)return"E";u(t)}return t[i].i},getWeak:function(t,e){if(!o(t,i)){if(!l(t))return!0;if(!e)return!1;u(t)}return t[i].w},onFreeze:function(t){return c&&h.NEED&&l(t)&&!o(t,i)&&u(t),t}}},"0kY3":function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=114)}({0:function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(t,e){return l.call(e),u(t,e)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:c}}n.d(e,"a",function(){return i})},10:function(t,e){t.exports=n("HJMx")},114:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["el-input-number",t.inputNumberSize?"el-input-number--"+t.inputNumberSize:"",{"is-disabled":t.inputNumberDisabled},{"is-without-controls":!t.controls},{"is-controls-right":t.controlsAtRight}],on:{dragstart:function(t){t.preventDefault()}}},[t.controls?n("span",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:t.decrease,expression:"decrease"}],staticClass:"el-input-number__decrease",class:{"is-disabled":t.minDisabled},attrs:{role:"button"},on:{keydown:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.decrease(e):null}}},[n("i",{class:"el-icon-"+(t.controlsAtRight?"arrow-down":"minus")})]):t._e(),t.controls?n("span",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:t.increase,expression:"increase"}],staticClass:"el-input-number__increase",class:{"is-disabled":t.maxDisabled},attrs:{role:"button"},on:{keydown:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.increase(e):null}}},[n("i",{class:"el-icon-"+(t.controlsAtRight?"arrow-up":"plus")})]):t._e(),n("el-input",{ref:"input",attrs:{value:t.displayValue,placeholder:t.placeholder,disabled:t.inputNumberDisabled,size:t.inputNumberSize,max:t.max,min:t.min,name:t.name,label:t.label},on:{blur:t.handleBlur,focus:t.handleFocus,input:t.handleInput,change:t.handleInputChange},nativeOn:{keydown:[function(e){return"button"in e||!t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])?(e.preventDefault(),t.increase(e)):null},function(e){return"button"in e||!t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])?(e.preventDefault(),t.decrease(e)):null}]}})],1)};i._withStripped=!0;var r=n(10),o=n.n(r),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(t){return t>=0&&t===parseInt(t,10)}}},data:function(){return{currentValue:0,userInput:null}},watch:{value:{immediate:!0,handler:function(t){var e=void 0===t?t:Number(t);if(void 0!==e){if(isNaN(e))return;if(this.stepStrictly){var n=this.getPrecision(this.step),i=Math.pow(10,n);e=Math.round(e/this.step)*i*this.step/i}void 0!==this.precision&&(e=this.toPrecision(e,this.precision))}e>=this.max&&(e=this.max),e<=this.min&&(e=this.min),this.currentValue=e,this.userInput=null,this.$emit("input",e)}}},computed:{minDisabled:function(){return this._decrease(this.value,this.step)<this.min},maxDisabled:function(){return this._increase(this.value,this.step)>this.max},numPrecision:function(){var t=this.value,e=this.step,n=this.getPrecision,i=this.precision,r=n(e);return void 0!==i?(r>i&&console.warn("[Element Warn][InputNumber]precision should not be less than the decimal places of step"),i):Math.max(n(t),r)},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 t=this.currentValue;if("number"==typeof t){if(this.stepStrictly){var e=this.getPrecision(this.step),n=Math.pow(10,e);t=Math.round(t/this.step)*n*this.step/n}void 0!==this.precision&&(t=t.toFixed(this.precision))}return t}},methods:{toPrecision:function(t,e){return void 0===e&&(e=this.numPrecision),parseFloat(Math.round(t*Math.pow(10,e))/Math.pow(10,e))},getPrecision:function(t){if(void 0===t)return 0;var e=t.toString(),n=e.indexOf("."),i=0;return-1!==n&&(i=e.length-n-1),i},_increase:function(t,e){if("number"!=typeof t&&void 0!==t)return this.currentValue;var n=Math.pow(10,this.numPrecision);return this.toPrecision((n*t+n*e)/n)},_decrease:function(t,e){if("number"!=typeof t&&void 0!==t)return this.currentValue;var n=Math.pow(10,this.numPrecision);return this.toPrecision((n*t-n*e)/n)},increase:function(){if(!this.inputNumberDisabled&&!this.maxDisabled){var t=this.value||0,e=this._increase(t,this.step);this.setCurrentValue(e)}},decrease:function(){if(!this.inputNumberDisabled&&!this.minDisabled){var t=this.value||0,e=this._decrease(t,this.step);this.setCurrentValue(e)}},handleBlur:function(t){this.$emit("blur",t)},handleFocus:function(t){this.$emit("focus",t)},setCurrentValue:function(t){var e=this.currentValue;"number"==typeof t&&void 0!==this.precision&&(t=this.toPrecision(t,this.precision)),t>=this.max&&(t=this.max),t<=this.min&&(t=this.min),e!==t&&(this.userInput=null,this.$emit("input",t),this.$emit("change",t,e),this.currentValue=t)},handleInput:function(t){this.userInput=t},handleInputChange:function(t){var e=""===t?void 0:Number(t);isNaN(e)&&""!==t||this.setCurrentValue(e),this.userInput=null},select:function(){this.$refs.input.select()}},mounted:function(){var t=this.$refs.input.$refs.input;t.setAttribute("role","spinbutton"),t.setAttribute("aria-valuemax",this.max),t.setAttribute("aria-valuemin",this.min),t.setAttribute("aria-valuenow",this.currentValue),t.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,i,[],!1,null,null,null);h.options.__file="packages/input-number/src/input-number.vue";var d=h.exports;d.install=function(t){t.component(d.name,d)};e.default=d},2:function(t,e){t.exports=n("2kvA")},22:function(t,e){t.exports=n("1oZe")},30:function(t,e,n){"use strict";var i=n(2);e.a={bind:function(t,e,n){var r=null,o=void 0,a=function(){return n.context[e.expression].apply()},s=function(){Date.now()-o<100&&a(),clearInterval(r),r=null};Object(i.on)(t,"mousedown",function(t){0===t.button&&(o=Date.now(),Object(i.once)(document,"mouseup",s),clearInterval(r),r=setInterval(a,100))})}}}})},"1Xk4":function(t,e,n){"use strict";var i=n("awF4"),r=n("Rl2i"),o=n("sD9O"),a=n("q+vg");function s(t,e,n){var i=t;return r(e)?(n=e,"string"==typeof t&&(i={uri:t})):i=a(e,{uri:t}),i.callback=n,i}function l(t,e,n){return c(e=s(t,e,n))}function c(t){if(void 0===t.callback)throw new Error("callback argument missing");var e=!1,n=function(n,i,r){e||(e=!0,t.callback(n,i,r))};function i(t){return clearTimeout(u),t instanceof Error||(t=new Error(""+(t||"Unknown XMLHttpRequest Error"))),t.statusCode=0,n(t,v)}function r(){if(!s){var e;clearTimeout(u),e=t.useXDR&&void 0===c.status?200:1223===c.status?204:c.status;var i=v,r=null;return 0!==e?(i={body:function(){var t=void 0;if(t=c.response?c.response:c.responseText||function(t){if("document"===t.responseType)return t.responseXML;var e=t.responseXML&&"parsererror"===t.responseXML.documentElement.nodeName;return""!==t.responseType||e?null:t.responseXML}(c),g)try{t=JSON.parse(t)}catch(t){}return t}(),statusCode:e,method:d,headers:{},url:h,rawRequest:c},c.getAllResponseHeaders&&(i.headers=o(c.getAllResponseHeaders()))):r=new Error("Internal XMLHttpRequest Error"),n(r,i,i.body)}}var a,s,c=t.xhr||null;c||(c=t.cors||t.useXDR?new l.XDomainRequest:new l.XMLHttpRequest);var u,h=c.url=t.uri||t.url,d=c.method=t.method||"GET",f=t.body||t.data,p=c.headers=t.headers||{},A=!!t.sync,g=!1,v={body:void 0,headers:{},statusCode:0,method:d,url:h,rawRequest:c};if("json"in t&&!1!==t.json&&(g=!0,p.accept||p.Accept||(p.Accept="application/json"),"GET"!==d&&"HEAD"!==d&&(p["content-type"]||p["Content-Type"]||(p["Content-Type"]="application/json"),f=JSON.stringify(!0===t.json?f:t.json))),c.onreadystatechange=function(){4===c.readyState&&setTimeout(r,0)},c.onload=r,c.onerror=i,c.onprogress=function(){},c.onabort=function(){s=!0},c.ontimeout=i,c.open(d,h,!A,t.username,t.password),A||(c.withCredentials=!!t.withCredentials),!A&&t.timeout>0&&(u=setTimeout(function(){if(!s){s=!0,c.abort("timeout");var t=new Error("XMLHttpRequest timeout");t.code="ETIMEDOUT",i(t)}},t.timeout)),c.setRequestHeader)for(a in p)p.hasOwnProperty(a)&&c.setRequestHeader(a,p[a]);else if(t.headers&&!function(t){for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}(t.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in t&&(c.responseType=t.responseType),"beforeSend"in t&&"function"==typeof t.beforeSend&&t.beforeSend(c),c.send(f||null),c}t.exports=l,l.XMLHttpRequest=i.XMLHttpRequest||function(){},l.XDomainRequest="withCredentials"in new l.XMLHttpRequest?l.XMLHttpRequest:i.XDomainRequest,function(t,e){for(var n=0;n<t.length;n++)e(t[n])}(["get","put","post","patch","head","delete"],function(t){l["delete"===t?"del":t]=function(e,n,i){return(n=s(e,n,i)).method=t.toUpperCase(),c(n)}})},"1b2O":function(t,e,n){"use strict";function i(t,e,n){this.type=t,this.tag=e,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}i.prototype.attrIndex=function(t){var e,n,i;if(!this.attrs)return-1;for(n=0,i=(e=this.attrs).length;n<i;n++)if(e[n][0]===t)return n;return-1},i.prototype.attrPush=function(t){this.attrs?this.attrs.push(t):this.attrs=[t]},i.prototype.attrSet=function(t,e){var n=this.attrIndex(t),i=[t,e];n<0?this.attrPush(i):this.attrs[n]=i},i.prototype.attrGet=function(t){var e=this.attrIndex(t),n=null;return e>=0&&(n=this.attrs[e][1]),n},i.prototype.attrJoin=function(t,e){var n=this.attrIndex(t);n<0?this.attrPush([t,e]):this.attrs[n][1]=this.attrs[n][1]+" "+e},t.exports=i},"1kS7":function(t,e){e.f=Object.getOwnPropertySymbols},"1oZe":function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t){return{methods:{focus:function(){this.$refs[t].focus()}}}}},"21It":function(t,e,n){"use strict";var i=n("FtD3");t.exports=function(t,e,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?e(i("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},"2KxR":function(t,e){t.exports=function(t,e,n,i){if(!(t instanceof e)||void 0!==i&&i in t)throw TypeError(n+": incorrect invocation!");return t}},"2kvA":function(t,e,n){"use strict";e.__esModule=!0,e.isInContainer=e.getScrollContainer=e.isScroll=e.getStyle=e.once=e.off=e.on=void 0;var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.hasClass=p,e.addClass=function(t,e){if(!t)return;for(var n=t.className,i=(e||"").split(" "),r=0,o=i.length;r<o;r++){var a=i[r];a&&(t.classList?t.classList.add(a):p(t,a)||(n+=" "+a))}t.classList||(t.className=n)},e.removeClass=function(t,e){if(!t||!e)return;for(var n=e.split(" "),i=" "+t.className+" ",r=0,o=n.length;r<o;r++){var a=n[r];a&&(t.classList?t.classList.remove(a):p(t,a)&&(i=i.replace(" "+a+" "," ")))}t.classList||(t.className=u(i))},e.setStyle=function t(e,n,r){if(!e||!n)return;if("object"===(void 0===n?"undefined":i(n)))for(var o in n)n.hasOwnProperty(o)&&t(e,o,n[o]);else"opacity"===(n=h(n))&&c<9?e.style.filter=isNaN(r)?"":"alpha(opacity="+100*r+")":e.style[n]=r};var r,o=n("7+uW");var a=((r=o)&&r.__esModule?r:{default:r}).default.prototype.$isServer,s=/([\:\-\_]+(.))/g,l=/^moz([A-Z])/,c=a?0:Number(document.documentMode),u=function(t){return(t||"").replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g,"")},h=function(t){return t.replace(s,function(t,e,n,i){return i?n.toUpperCase():n}).replace(l,"Moz$1")},d=e.on=!a&&document.addEventListener?function(t,e,n){t&&e&&n&&t.addEventListener(e,n,!1)}:function(t,e,n){t&&e&&n&&t.attachEvent("on"+e,n)},f=e.off=!a&&document.removeEventListener?function(t,e,n){t&&e&&t.removeEventListener(e,n,!1)}:function(t,e,n){t&&e&&t.detachEvent("on"+e,n)};e.once=function(t,e,n){d(t,e,function i(){n&&n.apply(this,arguments),f(t,e,i)})};function p(t,e){if(!t||!e)return!1;if(-1!==e.indexOf(" "))throw new Error("className should not contain space.");return t.classList?t.classList.contains(e):(" "+t.className+" ").indexOf(" "+e+" ")>-1}var A=e.getStyle=c<9?function(t,e){if(!a){if(!t||!e)return null;"float"===(e=h(e))&&(e="styleFloat");try{switch(e){case"opacity":try{return t.filters.item("alpha").opacity/100}catch(t){return 1}default:return t.style[e]||t.currentStyle?t.currentStyle[e]:null}}catch(n){return t.style[e]}}}:function(t,e){if(!a){if(!t||!e)return null;"float"===(e=h(e))&&(e="cssFloat");try{var n=document.defaultView.getComputedStyle(t,"");return t.style[e]||n?n[e]:null}catch(n){return t.style[e]}}};var g=e.isScroll=function(t,e){if(!a)return A(t,null!==e||void 0!==e?e?"overflow-y":"overflow-x":"overflow").match(/(scroll|auto)/)};e.getScrollContainer=function(t,e){if(!a){for(var n=t;n;){if([window,document,document.documentElement].includes(n))return window;if(g(n,e))return n;n=n.parentNode}return n}},e.isInContainer=function(t,e){if(a||!t||!e)return!1;var n=t.getBoundingClientRect(),i=void 0;return i=[window,document,document.documentElement,null,void 0].includes(e)?{top:0,right:window.innerWidth,bottom:window.innerHeight,left:0}:e.getBoundingClientRect(),n.top<i.bottom&&n.bottom>i.top&&n.right>i.left&&n.left<i.right}},"3C/1":function(t,e,n){n("M6a0"),n("zQR9"),n("+tPU"),n("qCoq"),n("UvrK"),n("Xjd4"),n("bqnK"),t.exports=n("FeBl").Map},"3Eo+":function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},"3IRH":function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},"3fo+":function(t,e,n){t.exports=n("YAhB")},"3fs2":function(t,e,n){var i=n("RY/4"),r=n("dSzd")("iterator"),o=n("/bQp");t.exports=n("FeBl").getIteratorMethod=function(t){if(void 0!=t)return t[r]||t["@@iterator"]||o[i(t)]}},"3kQQ":function(t,e,n){"use strict";var i=n("+N5+").unescapeAll;t.exports=function(t,e,n){var r,o,a=0,s=e,l={ok:!1,pos:0,lines:0,str:""};if(s>=n)return l;if(34!==(o=t.charCodeAt(s))&&39!==o&&40!==o)return l;for(s++,40===o&&(o=41);s<n;){if((r=t.charCodeAt(s))===o)return l.pos=s+1,l.lines=a,l.str=i(t.slice(e+1,s)),l.ok=!0,l;if(40===r&&41===o)return l;10===r?a++:92===r&&s+1<n&&(s++,10===t.charCodeAt(s)&&a++),s++}return l}},"4WTo":function(t,e,n){var i=n("NWt+");t.exports=function(t,e){var n=[];return i(t,!1,n.push,n,e),n}},"4aIT":function(t,e,n){"use strict";var i=n("/OLh"),r=n("wzKY").HTML_OPEN_CLOSE_TAG_RE,o=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+i.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(r.source+"\\s*$"),/^$/,!1]];t.exports=function(t,e,n,i){var r,a,s,l,c=t.bMarks[e]+t.tShift[e],u=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;if(!t.md.options.html)return!1;if(60!==t.src.charCodeAt(c))return!1;for(l=t.src.slice(c,u),r=0;r<o.length&&!o[r][0].test(l);r++);if(r===o.length)return!1;if(i)return o[r][2];if(a=e+1,!o[r][1].test(l))for(;a<n&&!(t.sCount[a]<t.blkIndent);a++)if(c=t.bMarks[a]+t.tShift[a],u=t.eMarks[a],l=t.src.slice(c,u),o[r][1].test(l)){0!==l.length&&a++;break}return t.line=a,(s=t.push("html_block","",0)).map=[e,a],s.content=t.getLines(e,a,t.blkIndent,!0),!0}},"4mcu":function(t,e){t.exports=function(){}},"52gC":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},"5PlU":function(t,e,n){var i=n("RY/4"),r=n("dSzd")("iterator"),o=n("/bQp");t.exports=n("FeBl").isIterable=function(t){var e=Object(t);return void 0!==e[r]||"@@iterator"in e||o.hasOwnProperty(i(e))}},"5QVw":function(t,e,n){t.exports={default:n("BwfY"),__esModule:!0}},"5VQ+":function(t,e,n){"use strict";var i=n("cGG2");t.exports=function(t,e){i.forEach(t,function(n,i){i!==e&&i.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[i])})}},"5zde":function(t,e,n){n("zQR9"),n("qyJz"),t.exports=n("FeBl").Array.from},"6Twh":function(t,e,n){"use strict";e.__esModule=!0,e.default=function(){if(o.default.prototype.$isServer)return 0;if(void 0!==a)return a;var t=document.createElement("div");t.className="el-scrollbar__wrap",t.style.visibility="hidden",t.style.width="100px",t.style.position="absolute",t.style.top="-9999px",document.body.appendChild(t);var e=t.offsetWidth;t.style.overflow="scroll";var n=document.createElement("div");n.style.width="100%",t.appendChild(n);var i=n.offsetWidth;return t.parentNode.removeChild(t),a=e-i};var i,r=n("7+uW"),o=(i=r)&&i.__esModule?i:{default:i};var a=void 0},"6nDL":function(t,e,n){"use strict";var i=n("+N5+").arrayReplaceAt;function r(t){return/^<\/a\s*>/i.test(t)}t.exports=function(t){var e,n,o,a,s,l,c,u,h,d,f,p,A,g,v,m,y,b,_=t.tokens;if(t.md.options.linkify)for(n=0,o=_.length;n<o;n++)if("inline"===_[n].type&&t.md.linkify.pretest(_[n].content))for(A=0,e=(a=_[n].children).length-1;e>=0;e--)if("link_close"!==(l=a[e]).type){if("html_inline"===l.type&&(b=l.content,/^<a[>\s]/i.test(b)&&A>0&&A--,r(l.content)&&A++),!(A>0)&&"text"===l.type&&t.md.linkify.test(l.content)){for(h=l.content,y=t.md.linkify.match(h),c=[],p=l.level,f=0,y.length>0&&0===y[0].index&&e>0&&"text_special"===a[e-1].type&&(y=y.slice(1)),u=0;u<y.length;u++)g=y[u].url,v=t.md.normalizeLink(g),t.md.validateLink(v)&&(m=y[u].text,m=y[u].schema?"mailto:"!==y[u].schema||/^mailto:/i.test(m)?t.md.normalizeLinkText(m):t.md.normalizeLinkText("mailto:"+m).replace(/^mailto:/,""):t.md.normalizeLinkText("http://"+m).replace(/^http:\/\//,""),(d=y[u].index)>f&&((s=new t.Token("text","",0)).content=h.slice(f,d),s.level=p,c.push(s)),(s=new t.Token("link_open","a",1)).attrs=[["href",v]],s.level=p++,s.markup="linkify",s.info="auto",c.push(s),(s=new t.Token("text","",0)).content=m,s.level=p,c.push(s),(s=new t.Token("link_close","a",-1)).level=--p,s.markup="linkify",s.info="auto",c.push(s),f=y[u].lastIndex);f<h.length&&((s=new t.Token("text","",0)).content=h.slice(f),s.level=p,c.push(s)),_[n].children=a=i(a,e,c)}}else for(e--;a[e].level!==l.level&&"link_open"!==a[e].type;)e--}},"7+uW":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){
  7. /*!
  8. * Vue.js v2.6.12
  9. * (c) 2014-2020 Evan You
  10. * Released under the MIT License.
  11. */
  12. var n=Object.freeze({});function i(t){return void 0===t||null===t}function r(t){return void 0!==t&&null!==t}function o(t){return!0===t}function a(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function s(t){return null!==t&&"object"==typeof t}var l=Object.prototype.toString;function c(t){return"[object Object]"===l.call(t)}function u(t){return"[object RegExp]"===l.call(t)}function h(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function d(t){return r(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function f(t){return null==t?"":Array.isArray(t)||c(t)&&t.toString===l?JSON.stringify(t,null,2):String(t)}function p(t){var e=parseFloat(t);return isNaN(e)?t:e}function A(t,e){for(var n=Object.create(null),i=t.split(","),r=0;r<i.length;r++)n[i[r]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}var g=A("slot,component",!0),v=A("key,ref,slot,slot-scope,is");function m(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}var y=Object.prototype.hasOwnProperty;function b(t,e){return y.call(t,e)}function _(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var w=/-(\w)/g,x=_(function(t){return t.replace(w,function(t,e){return e?e.toUpperCase():""})}),C=_(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),S=/\B([A-Z])/g,B=_(function(t){return t.replace(S,"-$1").toLowerCase()});var k=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function T(t,e){e=e||0;for(var n=t.length-e,i=new Array(n);n--;)i[n]=t[n+e];return i}function O(t,e){for(var n in e)t[n]=e[n];return t}function E(t){for(var e={},n=0;n<t.length;n++)t[n]&&O(e,t[n]);return e}function I(t,e,n){}var M=function(t,e,n){return!1},D=function(t){return t};function L(t,e){if(t===e)return!0;var n=s(t),i=s(e);if(!n||!i)return!n&&!i&&String(t)===String(e);try{var r=Array.isArray(t),o=Array.isArray(e);if(r&&o)return t.length===e.length&&t.every(function(t,n){return L(t,e[n])});if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(r||o)return!1;var a=Object.keys(t),l=Object.keys(e);return a.length===l.length&&a.every(function(n){return L(t[n],e[n])})}catch(t){return!1}}function F(t,e){for(var n=0;n<t.length;n++)if(L(t[n],e))return n;return-1}function P(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}var N="data-server-rendered",j=["component","directive","filter"],U=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],R={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:M,isReservedAttr:M,isUnknownElement:M,getTagNamespace:I,parsePlatformTagName:D,mustUseProp:M,async:!0,_lifecycleHooks:U},Q=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function H(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function V(t,e,n,i){Object.defineProperty(t,e,{value:n,enumerable:!!i,writable:!0,configurable:!0})}var z=new RegExp("[^"+Q.source+".$_\\d]");var $,G="__proto__"in{},W="undefined"!=typeof window,K="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,Y=K&&WXEnvironment.platform.toLowerCase(),X=W&&window.navigator.userAgent.toLowerCase(),q=X&&/msie|trident/.test(X),Z=X&&X.indexOf("msie 9.0")>0,J=X&&X.indexOf("edge/")>0,tt=(X&&X.indexOf("android"),X&&/iphone|ipad|ipod|ios/.test(X)||"ios"===Y),et=(X&&/chrome\/\d+/.test(X),X&&/phantomjs/.test(X),X&&X.match(/firefox\/(\d+)/)),nt={}.watch,it=!1;if(W)try{var rt={};Object.defineProperty(rt,"passive",{get:function(){it=!0}}),window.addEventListener("test-passive",null,rt)}catch(t){}var ot=function(){return void 0===$&&($=!W&&!K&&void 0!==t&&(t.process&&"server"===t.process.env.VUE_ENV)),$},at=W&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function st(t){return"function"==typeof t&&/native code/.test(t.toString())}var lt,ct="undefined"!=typeof Symbol&&st(Symbol)&&"undefined"!=typeof Reflect&&st(Reflect.ownKeys);lt="undefined"!=typeof Set&&st(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var ut=I,ht=0,dt=function(){this.id=ht++,this.subs=[]};dt.prototype.addSub=function(t){this.subs.push(t)},dt.prototype.removeSub=function(t){m(this.subs,t)},dt.prototype.depend=function(){dt.target&&dt.target.addDep(this)},dt.prototype.notify=function(){var t=this.subs.slice();for(var e=0,n=t.length;e<n;e++)t[e].update()},dt.target=null;var ft=[];function pt(t){ft.push(t),dt.target=t}function At(){ft.pop(),dt.target=ft[ft.length-1]}var gt=function(t,e,n,i,r,o,a,s){this.tag=t,this.data=e,this.children=n,this.text=i,this.elm=r,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},vt={child:{configurable:!0}};vt.child.get=function(){return this.componentInstance},Object.defineProperties(gt.prototype,vt);var mt=function(t){void 0===t&&(t="");var e=new gt;return e.text=t,e.isComment=!0,e};function yt(t){return new gt(void 0,void 0,void 0,String(t))}function bt(t){var e=new gt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var _t=Array.prototype,wt=Object.create(_t);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var e=_t[t];V(wt,t,function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];var r,o=e.apply(this,n),a=this.__ob__;switch(t){case"push":case"unshift":r=n;break;case"splice":r=n.slice(2)}return r&&a.observeArray(r),a.dep.notify(),o})});var xt=Object.getOwnPropertyNames(wt),Ct=!0;function St(t){Ct=t}var Bt=function(t){var e;this.value=t,this.dep=new dt,this.vmCount=0,V(t,"__ob__",this),Array.isArray(t)?(G?(e=wt,t.__proto__=e):function(t,e,n){for(var i=0,r=n.length;i<r;i++){var o=n[i];V(t,o,e[o])}}(t,wt,xt),this.observeArray(t)):this.walk(t)};function kt(t,e){var n;if(s(t)&&!(t instanceof gt))return b(t,"__ob__")&&t.__ob__ instanceof Bt?n=t.__ob__:Ct&&!ot()&&(Array.isArray(t)||c(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new Bt(t)),e&&n&&n.vmCount++,n}function Tt(t,e,n,i,r){var o=new dt,a=Object.getOwnPropertyDescriptor(t,e);if(!a||!1!==a.configurable){var s=a&&a.get,l=a&&a.set;s&&!l||2!==arguments.length||(n=t[e]);var c=!r&&kt(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=s?s.call(t):n;return dt.target&&(o.depend(),c&&(c.dep.depend(),Array.isArray(e)&&function t(e){for(var n=void 0,i=0,r=e.length;i<r;i++)(n=e[i])&&n.__ob__&&n.__ob__.dep.depend(),Array.isArray(n)&&t(n)}(e))),e},set:function(e){var i=s?s.call(t):n;e===i||e!=e&&i!=i||s&&!l||(l?l.call(t,e):n=e,c=!r&&kt(e),o.notify())}})}}function Ot(t,e,n){if(Array.isArray(t)&&h(e))return t.length=Math.max(t.length,e),t.splice(e,1,n),n;if(e in t&&!(e in Object.prototype))return t[e]=n,n;var i=t.__ob__;return t._isVue||i&&i.vmCount?n:i?(Tt(i.value,e,n),i.dep.notify(),n):(t[e]=n,n)}function Et(t,e){if(Array.isArray(t)&&h(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||b(t,e)&&(delete t[e],n&&n.dep.notify())}}Bt.prototype.walk=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)Tt(t,e[n])},Bt.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)kt(t[e])};var It=R.optionMergeStrategies;function Mt(t,e){if(!e)return t;for(var n,i,r,o=ct?Reflect.ownKeys(e):Object.keys(e),a=0;a<o.length;a++)"__ob__"!==(n=o[a])&&(i=t[n],r=e[n],b(t,n)?i!==r&&c(i)&&c(r)&&Mt(i,r):Ot(t,n,r));return t}function Dt(t,e,n){return n?function(){var i="function"==typeof e?e.call(n,n):e,r="function"==typeof t?t.call(n,n):t;return i?Mt(i,r):r}:e?t?function(){return Mt("function"==typeof e?e.call(this,this):e,"function"==typeof t?t.call(this,this):t)}:e:t}function Lt(t,e){var n=e?t?t.concat(e):Array.isArray(e)?e:[e]:t;return n?function(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}(n):n}function Ft(t,e,n,i){var r=Object.create(t||null);return e?O(r,e):r}It.data=function(t,e,n){return n?Dt(t,e,n):e&&"function"!=typeof e?t:Dt(t,e)},U.forEach(function(t){It[t]=Lt}),j.forEach(function(t){It[t+"s"]=Ft}),It.watch=function(t,e,n,i){if(t===nt&&(t=void 0),e===nt&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var r={};for(var o in O(r,t),e){var a=r[o],s=e[o];a&&!Array.isArray(a)&&(a=[a]),r[o]=a?a.concat(s):Array.isArray(s)?s:[s]}return r},It.props=It.methods=It.inject=It.computed=function(t,e,n,i){if(!t)return e;var r=Object.create(null);return O(r,t),e&&O(r,e),r},It.provide=Dt;var Pt=function(t,e){return void 0===e?t:e};function Nt(t,e,n){if("function"==typeof e&&(e=e.options),function(t,e){var n=t.props;if(n){var i,r,o={};if(Array.isArray(n))for(i=n.length;i--;)"string"==typeof(r=n[i])&&(o[x(r)]={type:null});else if(c(n))for(var a in n)r=n[a],o[x(a)]=c(r)?r:{type:r};t.props=o}}(e),function(t,e){var n=t.inject;if(n){var i=t.inject={};if(Array.isArray(n))for(var r=0;r<n.length;r++)i[n[r]]={from:n[r]};else if(c(n))for(var o in n){var a=n[o];i[o]=c(a)?O({from:o},a):{from:a}}}}(e),function(t){var e=t.directives;if(e)for(var n in e){var i=e[n];"function"==typeof i&&(e[n]={bind:i,update:i})}}(e),!e._base&&(e.extends&&(t=Nt(t,e.extends,n)),e.mixins))for(var i=0,r=e.mixins.length;i<r;i++)t=Nt(t,e.mixins[i],n);var o,a={};for(o in t)s(o);for(o in e)b(t,o)||s(o);function s(i){var r=It[i]||Pt;a[i]=r(t[i],e[i],n,i)}return a}function jt(t,e,n,i){if("string"==typeof n){var r=t[e];if(b(r,n))return r[n];var o=x(n);if(b(r,o))return r[o];var a=C(o);return b(r,a)?r[a]:r[n]||r[o]||r[a]}}function Ut(t,e,n,i){var r=e[t],o=!b(n,t),a=n[t],s=Ht(Boolean,r.type);if(s>-1)if(o&&!b(r,"default"))a=!1;else if(""===a||a===B(t)){var l=Ht(String,r.type);(l<0||s<l)&&(a=!0)}if(void 0===a){a=function(t,e,n){if(!b(e,"default"))return;var i=e.default;0;if(t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n])return t._props[n];return"function"==typeof i&&"Function"!==Rt(e.type)?i.call(t):i}(i,r,t);var c=Ct;St(!0),kt(a),St(c)}return a}function Rt(t){var e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:""}function Qt(t,e){return Rt(t)===Rt(e)}function Ht(t,e){if(!Array.isArray(e))return Qt(e,t)?0:-1;for(var n=0,i=e.length;n<i;n++)if(Qt(e[n],t))return n;return-1}function Vt(t,e,n){pt();try{if(e)for(var i=e;i=i.$parent;){var r=i.$options.errorCaptured;if(r)for(var o=0;o<r.length;o++)try{if(!1===r[o].call(i,t,e,n))return}catch(t){$t(t,i,"errorCaptured hook")}}$t(t,e,n)}finally{At()}}function zt(t,e,n,i,r){var o;try{(o=n?t.apply(e,n):t.call(e))&&!o._isVue&&d(o)&&!o._handled&&(o.catch(function(t){return Vt(t,i,r+" (Promise/async)")}),o._handled=!0)}catch(t){Vt(t,i,r)}return o}function $t(t,e,n){if(R.errorHandler)try{return R.errorHandler.call(null,t,e,n)}catch(e){e!==t&&Gt(e,null,"config.errorHandler")}Gt(t,e,n)}function Gt(t,e,n){if(!W&&!K||"undefined"==typeof console)throw t;console.error(t)}var Wt,Kt=!1,Yt=[],Xt=!1;function qt(){Xt=!1;var t=Yt.slice(0);Yt.length=0;for(var e=0;e<t.length;e++)t[e]()}if("undefined"!=typeof Promise&&st(Promise)){var Zt=Promise.resolve();Wt=function(){Zt.then(qt),tt&&setTimeout(I)},Kt=!0}else if(q||"undefined"==typeof MutationObserver||!st(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())Wt="undefined"!=typeof setImmediate&&st(setImmediate)?function(){setImmediate(qt)}:function(){setTimeout(qt,0)};else{var Jt=1,te=new MutationObserver(qt),ee=document.createTextNode(String(Jt));te.observe(ee,{characterData:!0}),Wt=function(){Jt=(Jt+1)%2,ee.data=String(Jt)},Kt=!0}function ne(t,e){var n;if(Yt.push(function(){if(t)try{t.call(e)}catch(t){Vt(t,e,"nextTick")}else n&&n(e)}),Xt||(Xt=!0,Wt()),!t&&"undefined"!=typeof Promise)return new Promise(function(t){n=t})}var ie=new lt;function re(t){!function t(e,n){var i,r;var o=Array.isArray(e);if(!o&&!s(e)||Object.isFrozen(e)||e instanceof gt)return;if(e.__ob__){var a=e.__ob__.dep.id;if(n.has(a))return;n.add(a)}if(o)for(i=e.length;i--;)t(e[i],n);else for(r=Object.keys(e),i=r.length;i--;)t(e[r[i]],n)}(t,ie),ie.clear()}var oe=_(function(t){var e="&"===t.charAt(0),n="~"===(t=e?t.slice(1):t).charAt(0),i="!"===(t=n?t.slice(1):t).charAt(0);return{name:t=i?t.slice(1):t,once:n,capture:i,passive:e}});function ae(t,e){function n(){var t=arguments,i=n.fns;if(!Array.isArray(i))return zt(i,null,arguments,e,"v-on handler");for(var r=i.slice(),o=0;o<r.length;o++)zt(r[o],null,t,e,"v-on handler")}return n.fns=t,n}function se(t,e,n,r,a,s){var l,c,u,h;for(l in t)c=t[l],u=e[l],h=oe(l),i(c)||(i(u)?(i(c.fns)&&(c=t[l]=ae(c,s)),o(h.once)&&(c=t[l]=a(h.name,c,h.capture)),n(h.name,c,h.capture,h.passive,h.params)):c!==u&&(u.fns=c,t[l]=u));for(l in e)i(t[l])&&r((h=oe(l)).name,e[l],h.capture)}function le(t,e,n){var a;t instanceof gt&&(t=t.data.hook||(t.data.hook={}));var s=t[e];function l(){n.apply(this,arguments),m(a.fns,l)}i(s)?a=ae([l]):r(s.fns)&&o(s.merged)?(a=s).fns.push(l):a=ae([s,l]),a.merged=!0,t[e]=a}function ce(t,e,n,i,o){if(r(e)){if(b(e,n))return t[n]=e[n],o||delete e[n],!0;if(b(e,i))return t[n]=e[i],o||delete e[i],!0}return!1}function ue(t){return a(t)?[yt(t)]:Array.isArray(t)?function t(e,n){var s=[];var l,c,u,h;for(l=0;l<e.length;l++)i(c=e[l])||"boolean"==typeof c||(u=s.length-1,h=s[u],Array.isArray(c)?c.length>0&&(he((c=t(c,(n||"")+"_"+l))[0])&&he(h)&&(s[u]=yt(h.text+c[0].text),c.shift()),s.push.apply(s,c)):a(c)?he(h)?s[u]=yt(h.text+c):""!==c&&s.push(yt(c)):he(c)&&he(h)?s[u]=yt(h.text+c.text):(o(e._isVList)&&r(c.tag)&&i(c.key)&&r(n)&&(c.key="__vlist"+n+"_"+l+"__"),s.push(c)));return s}(t):void 0}function he(t){return r(t)&&r(t.text)&&!1===t.isComment}function de(t,e){if(t){for(var n=Object.create(null),i=ct?Reflect.ownKeys(t):Object.keys(t),r=0;r<i.length;r++){var o=i[r];if("__ob__"!==o){for(var a=t[o].from,s=e;s;){if(s._provided&&b(s._provided,a)){n[o]=s._provided[a];break}s=s.$parent}if(!s)if("default"in t[o]){var l=t[o].default;n[o]="function"==typeof l?l.call(e):l}else 0}}return n}}function fe(t,e){if(!t||!t.length)return{};for(var n={},i=0,r=t.length;i<r;i++){var o=t[i],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==e&&o.fnContext!==e||!a||null==a.slot)(n.default||(n.default=[])).push(o);else{var s=a.slot,l=n[s]||(n[s]=[]);"template"===o.tag?l.push.apply(l,o.children||[]):l.push(o)}}for(var c in n)n[c].every(pe)&&delete n[c];return n}function pe(t){return t.isComment&&!t.asyncFactory||" "===t.text}function Ae(t,e,i){var r,o=Object.keys(e).length>0,a=t?!!t.$stable:!o,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&i&&i!==n&&s===i.$key&&!o&&!i.$hasNormal)return i;for(var l in r={},t)t[l]&&"$"!==l[0]&&(r[l]=ge(e,l,t[l]))}else r={};for(var c in e)c in r||(r[c]=ve(e,c));return t&&Object.isExtensible(t)&&(t._normalized=r),V(r,"$stable",a),V(r,"$key",s),V(r,"$hasNormal",o),r}function ge(t,e,n){var i=function(){var t=arguments.length?n.apply(null,arguments):n({});return(t=t&&"object"==typeof t&&!Array.isArray(t)?[t]:ue(t))&&(0===t.length||1===t.length&&t[0].isComment)?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:i,enumerable:!0,configurable:!0}),i}function ve(t,e){return function(){return t[e]}}function me(t,e){var n,i,o,a,l;if(Array.isArray(t)||"string"==typeof t)for(n=new Array(t.length),i=0,o=t.length;i<o;i++)n[i]=e(t[i],i);else if("number"==typeof t)for(n=new Array(t),i=0;i<t;i++)n[i]=e(i+1,i);else if(s(t))if(ct&&t[Symbol.iterator]){n=[];for(var c=t[Symbol.iterator](),u=c.next();!u.done;)n.push(e(u.value,n.length)),u=c.next()}else for(a=Object.keys(t),n=new Array(a.length),i=0,o=a.length;i<o;i++)l=a[i],n[i]=e(t[l],l,i);return r(n)||(n=[]),n._isVList=!0,n}function ye(t,e,n,i){var r,o=this.$scopedSlots[t];o?(n=n||{},i&&(n=O(O({},i),n)),r=o(n)||e):r=this.$slots[t]||e;var a=n&&n.slot;return a?this.$createElement("template",{slot:a},r):r}function be(t){return jt(this.$options,"filters",t)||D}function _e(t,e){return Array.isArray(t)?-1===t.indexOf(e):t!==e}function we(t,e,n,i,r){var o=R.keyCodes[e]||n;return r&&i&&!R.keyCodes[e]?_e(r,i):o?_e(o,t):i?B(i)!==e:void 0}function xe(t,e,n,i,r){if(n)if(s(n)){var o;Array.isArray(n)&&(n=E(n));var a=function(a){if("class"===a||"style"===a||v(a))o=t;else{var s=t.attrs&&t.attrs.type;o=i||R.mustUseProp(e,s,a)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var l=x(a),c=B(a);l in o||c in o||(o[a]=n[a],r&&((t.on||(t.on={}))["update:"+a]=function(t){n[a]=t}))};for(var l in n)a(l)}else;return t}function Ce(t,e){var n=this._staticTrees||(this._staticTrees=[]),i=n[t];return i&&!e?i:(Be(i=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,null,this),"__static__"+t,!1),i)}function Se(t,e,n){return Be(t,"__once__"+e+(n?"_"+n:""),!0),t}function Be(t,e,n){if(Array.isArray(t))for(var i=0;i<t.length;i++)t[i]&&"string"!=typeof t[i]&&ke(t[i],e+"_"+i,n);else ke(t,e,n)}function ke(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function Te(t,e){if(e)if(c(e)){var n=t.on=t.on?O({},t.on):{};for(var i in e){var r=n[i],o=e[i];n[i]=r?[].concat(r,o):o}}else;return t}function Oe(t,e,n,i){e=e||{$stable:!n};for(var r=0;r<t.length;r++){var o=t[r];Array.isArray(o)?Oe(o,e,n):o&&(o.proxy&&(o.fn.proxy=!0),e[o.key]=o.fn)}return i&&(e.$key=i),e}function Ee(t,e){for(var n=0;n<e.length;n+=2){var i=e[n];"string"==typeof i&&i&&(t[e[n]]=e[n+1])}return t}function Ie(t,e){return"string"==typeof t?e+t:t}function Me(t){t._o=Se,t._n=p,t._s=f,t._l=me,t._t=ye,t._q=L,t._i=F,t._m=Ce,t._f=be,t._k=we,t._b=xe,t._v=yt,t._e=mt,t._u=Oe,t._g=Te,t._d=Ee,t._p=Ie}function De(t,e,i,r,a){var s,l=this,c=a.options;b(r,"_uid")?(s=Object.create(r))._original=r:(s=r,r=r._original);var u=o(c._compiled),h=!u;this.data=t,this.props=e,this.children=i,this.parent=r,this.listeners=t.on||n,this.injections=de(c.inject,r),this.slots=function(){return l.$slots||Ae(t.scopedSlots,l.$slots=fe(i,r)),l.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Ae(t.scopedSlots,this.slots())}}),u&&(this.$options=c,this.$slots=this.slots(),this.$scopedSlots=Ae(t.scopedSlots,this.$slots)),c._scopeId?this._c=function(t,e,n,i){var o=He(s,t,e,n,i,h);return o&&!Array.isArray(o)&&(o.fnScopeId=c._scopeId,o.fnContext=r),o}:this._c=function(t,e,n,i){return He(s,t,e,n,i,h)}}function Le(t,e,n,i,r){var o=bt(t);return o.fnContext=n,o.fnOptions=i,e.slot&&((o.data||(o.data={})).slot=e.slot),o}function Fe(t,e){for(var n in e)t[x(n)]=e[n]}Me(De.prototype);var Pe={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var n=t;Pe.prepatch(n,n)}else{(t.componentInstance=function(t,e){var n={_isComponent:!0,_parentVnode:t,parent:e},i=t.data.inlineTemplate;r(i)&&(n.render=i.render,n.staticRenderFns=i.staticRenderFns);return new t.componentOptions.Ctor(n)}(t,Ze)).$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var i=e.componentOptions;!function(t,e,i,r,o){0;var a=r.data.scopedSlots,s=t.$scopedSlots,l=!!(a&&!a.$stable||s!==n&&!s.$stable||a&&t.$scopedSlots.$key!==a.$key),c=!!(o||t.$options._renderChildren||l);t.$options._parentVnode=r,t.$vnode=r,t._vnode&&(t._vnode.parent=r);if(t.$options._renderChildren=o,t.$attrs=r.data.attrs||n,t.$listeners=i||n,e&&t.$options.props){St(!1);for(var u=t._props,h=t.$options._propKeys||[],d=0;d<h.length;d++){var f=h[d],p=t.$options.props;u[f]=Ut(f,p,e,t)}St(!0),t.$options.propsData=e}i=i||n;var A=t.$options._parentListeners;t.$options._parentListeners=i,qe(t,i,A),c&&(t.$slots=fe(o,r.context),t.$forceUpdate());0}(e.componentInstance=t.componentInstance,i.propsData,i.listeners,e,i.children)},insert:function(t){var e,n=t.context,i=t.componentInstance;i._isMounted||(i._isMounted=!0,nn(i,"mounted")),t.data.keepAlive&&(n._isMounted?((e=i)._inactive=!1,on.push(e)):en(i,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?function t(e,n){if(n&&(e._directInactive=!0,tn(e)))return;if(!e._inactive){e._inactive=!0;for(var i=0;i<e.$children.length;i++)t(e.$children[i]);nn(e,"deactivated")}}(e,!0):e.$destroy())}},Ne=Object.keys(Pe);function je(t,e,a,l,c){if(!i(t)){var u=a.$options._base;if(s(t)&&(t=u.extend(t)),"function"==typeof t){var h;if(i(t.cid)&&void 0===(t=function(t,e){if(o(t.error)&&r(t.errorComp))return t.errorComp;if(r(t.resolved))return t.resolved;var n=ze;n&&r(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n);if(o(t.loading)&&r(t.loadingComp))return t.loadingComp;if(n&&!r(t.owners)){var a=t.owners=[n],l=!0,c=null,u=null;n.$on("hook:destroyed",function(){return m(a,n)});var h=function(t){for(var e=0,n=a.length;e<n;e++)a[e].$forceUpdate();t&&(a.length=0,null!==c&&(clearTimeout(c),c=null),null!==u&&(clearTimeout(u),u=null))},f=P(function(n){t.resolved=$e(n,e),l?a.length=0:h(!0)}),p=P(function(e){r(t.errorComp)&&(t.error=!0,h(!0))}),A=t(f,p);return s(A)&&(d(A)?i(t.resolved)&&A.then(f,p):d(A.component)&&(A.component.then(f,p),r(A.error)&&(t.errorComp=$e(A.error,e)),r(A.loading)&&(t.loadingComp=$e(A.loading,e),0===A.delay?t.loading=!0:c=setTimeout(function(){c=null,i(t.resolved)&&i(t.error)&&(t.loading=!0,h(!1))},A.delay||200)),r(A.timeout)&&(u=setTimeout(function(){u=null,i(t.resolved)&&p(null)},A.timeout)))),l=!1,t.loading?t.loadingComp:t.resolved}}(h=t,u)))return function(t,e,n,i,r){var o=mt();return o.asyncFactory=t,o.asyncMeta={data:e,context:n,children:i,tag:r},o}(h,e,a,l,c);e=e||{},Sn(t),r(e.model)&&function(t,e){var n=t.model&&t.model.prop||"value",i=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[n]=e.model.value;var o=e.on||(e.on={}),a=o[i],s=e.model.callback;r(a)?(Array.isArray(a)?-1===a.indexOf(s):a!==s)&&(o[i]=[s].concat(a)):o[i]=s}(t.options,e);var f=function(t,e,n){var o=e.options.props;if(!i(o)){var a={},s=t.attrs,l=t.props;if(r(s)||r(l))for(var c in o){var u=B(c);ce(a,l,c,u,!0)||ce(a,s,c,u,!1)}return a}}(e,t);if(o(t.options.functional))return function(t,e,i,o,a){var s=t.options,l={},c=s.props;if(r(c))for(var u in c)l[u]=Ut(u,c,e||n);else r(i.attrs)&&Fe(l,i.attrs),r(i.props)&&Fe(l,i.props);var h=new De(i,l,a,o,t),d=s.render.call(null,h._c,h);if(d instanceof gt)return Le(d,i,h.parent,s);if(Array.isArray(d)){for(var f=ue(d)||[],p=new Array(f.length),A=0;A<f.length;A++)p[A]=Le(f[A],i,h.parent,s);return p}}(t,f,e,a,l);var p=e.on;if(e.on=e.nativeOn,o(t.options.abstract)){var A=e.slot;e={},A&&(e.slot=A)}!function(t){for(var e=t.hook||(t.hook={}),n=0;n<Ne.length;n++){var i=Ne[n],r=e[i],o=Pe[i];r===o||r&&r._merged||(e[i]=r?Ue(o,r):o)}}(e);var g=t.options.name||c;return new gt("vue-component-"+t.cid+(g?"-"+g:""),e,void 0,void 0,void 0,a,{Ctor:t,propsData:f,listeners:p,tag:c,children:l},h)}}}function Ue(t,e){var n=function(n,i){t(n,i),e(n,i)};return n._merged=!0,n}var Re=1,Qe=2;function He(t,e,n,l,c,u){return(Array.isArray(n)||a(n))&&(c=l,l=n,n=void 0),o(u)&&(c=Qe),function(t,e,n,a,l){if(r(n)&&r(n.__ob__))return mt();r(n)&&r(n.is)&&(e=n.is);if(!e)return mt();0;Array.isArray(a)&&"function"==typeof a[0]&&((n=n||{}).scopedSlots={default:a[0]},a.length=0);l===Qe?a=ue(a):l===Re&&(a=function(t){for(var e=0;e<t.length;e++)if(Array.isArray(t[e]))return Array.prototype.concat.apply([],t);return t}(a));var c,u;if("string"==typeof e){var h;u=t.$vnode&&t.$vnode.ns||R.getTagNamespace(e),c=R.isReservedTag(e)?new gt(R.parsePlatformTagName(e),n,a,void 0,void 0,t):n&&n.pre||!r(h=jt(t.$options,"components",e))?new gt(e,n,a,void 0,void 0,t):je(h,n,t,a,e)}else c=je(e,n,t,a);return Array.isArray(c)?c:r(c)?(r(u)&&function t(e,n,a){e.ns=n;"foreignObject"===e.tag&&(n=void 0,a=!0);if(r(e.children))for(var s=0,l=e.children.length;s<l;s++){var c=e.children[s];r(c.tag)&&(i(c.ns)||o(a)&&"svg"!==c.tag)&&t(c,n,a)}}(c,u),r(n)&&function(t){s(t.style)&&re(t.style);s(t.class)&&re(t.class)}(n),c):mt()}(t,e,n,l,c)}var Ve,ze=null;function $e(t,e){return(t.__esModule||ct&&"Module"===t[Symbol.toStringTag])&&(t=t.default),s(t)?e.extend(t):t}function Ge(t){return t.isComment&&t.asyncFactory}function We(t){if(Array.isArray(t))for(var e=0;e<t.length;e++){var n=t[e];if(r(n)&&(r(n.componentOptions)||Ge(n)))return n}}function Ke(t,e){Ve.$on(t,e)}function Ye(t,e){Ve.$off(t,e)}function Xe(t,e){var n=Ve;return function i(){null!==e.apply(null,arguments)&&n.$off(t,i)}}function qe(t,e,n){Ve=t,se(e,n||{},Ke,Ye,Xe,t),Ve=void 0}var Ze=null;function Je(t){var e=Ze;return Ze=t,function(){Ze=e}}function tn(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function en(t,e){if(e){if(t._directInactive=!1,tn(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)en(t.$children[n]);nn(t,"activated")}}function nn(t,e){pt();var n=t.$options[e],i=e+" hook";if(n)for(var r=0,o=n.length;r<o;r++)zt(n[r],t,null,t,i);t._hasHookEvent&&t.$emit("hook:"+e),At()}var rn=[],on=[],an={},sn=!1,ln=!1,cn=0;var un=0,hn=Date.now;if(W&&!q){var dn=window.performance;dn&&"function"==typeof dn.now&&hn()>document.createEvent("Event").timeStamp&&(hn=function(){return dn.now()})}function fn(){var t,e;for(un=hn(),ln=!0,rn.sort(function(t,e){return t.id-e.id}),cn=0;cn<rn.length;cn++)(t=rn[cn]).before&&t.before(),e=t.id,an[e]=null,t.run();var n=on.slice(),i=rn.slice();cn=rn.length=on.length=0,an={},sn=ln=!1,function(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,en(t[e],!0)}(n),function(t){var e=t.length;for(;e--;){var n=t[e],i=n.vm;i._watcher===n&&i._isMounted&&!i._isDestroyed&&nn(i,"updated")}}(i),at&&R.devtools&&at.emit("flush")}var pn=0,An=function(t,e,n,i,r){this.vm=t,r&&(t._watcher=this),t._watchers.push(this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++pn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new lt,this.newDepIds=new lt,this.expression="","function"==typeof e?this.getter=e:(this.getter=function(t){if(!z.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}(e),this.getter||(this.getter=I)),this.value=this.lazy?void 0:this.get()};An.prototype.get=function(){var t;pt(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(t){if(!this.user)throw t;Vt(t,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&re(t),At(),this.cleanupDeps()}return t},An.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},An.prototype.cleanupDeps=function(){for(var t=this.deps.length;t--;){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},An.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(t){var e=t.id;if(null==an[e]){if(an[e]=!0,ln){for(var n=rn.length-1;n>cn&&rn[n].id>t.id;)n--;rn.splice(n+1,0,t)}else rn.push(t);sn||(sn=!0,ne(fn))}}(this)},An.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||s(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){Vt(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},An.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},An.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},An.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||m(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var gn={enumerable:!0,configurable:!0,get:I,set:I};function vn(t,e,n){gn.get=function(){return this[e][n]},gn.set=function(t){this[e][n]=t},Object.defineProperty(t,n,gn)}function mn(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},i=t._props={},r=t.$options._propKeys=[],o=!t.$parent;o||St(!1);var a=function(o){r.push(o);var a=Ut(o,e,n,t);Tt(i,o,a),o in t||vn(t,"_props",o)};for(var s in e)a(s);St(!0)}(t,e.props),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]="function"!=typeof e[n]?I:k(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;c(e=t._data="function"==typeof e?function(t,e){pt();try{return t.call(e,e)}catch(t){return Vt(t,e,"data()"),{}}finally{At()}}(e,t):e||{})||(e={});var n=Object.keys(e),i=t.$options.props,r=(t.$options.methods,n.length);for(;r--;){var o=n[r];0,i&&b(i,o)||H(o)||vn(t,"_data",o)}kt(e,!0)}(t):kt(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),i=ot();for(var r in e){var o=e[r],a="function"==typeof o?o:o.get;0,i||(n[r]=new An(t,a||I,I,yn)),r in t||bn(t,r,o)}}(t,e.computed),e.watch&&e.watch!==nt&&function(t,e){for(var n in e){var i=e[n];if(Array.isArray(i))for(var r=0;r<i.length;r++)xn(t,n,i[r]);else xn(t,n,i)}}(t,e.watch)}var yn={lazy:!0};function bn(t,e,n){var i=!ot();"function"==typeof n?(gn.get=i?_n(e):wn(n),gn.set=I):(gn.get=n.get?i&&!1!==n.cache?_n(e):wn(n.get):I,gn.set=n.set||I),Object.defineProperty(t,e,gn)}function _n(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),dt.target&&e.depend(),e.value}}function wn(t){return function(){return t.call(this,this)}}function xn(t,e,n,i){return c(n)&&(i=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,i)}var Cn=0;function Sn(t){var e=t.options;if(t.super){var n=Sn(t.super);if(n!==t.superOptions){t.superOptions=n;var i=function(t){var e,n=t.options,i=t.sealedOptions;for(var r in n)n[r]!==i[r]&&(e||(e={}),e[r]=n[r]);return e}(t);i&&O(t.extendOptions,i),(e=t.options=Nt(n,t.extendOptions)).name&&(e.components[e.name]=t)}}return e}function Bn(t){this._init(t)}function kn(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,i=n.cid,r=t._Ctor||(t._Ctor={});if(r[i])return r[i];var o=t.name||n.options.name;var a=function(t){this._init(t)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=e++,a.options=Nt(n.options,t),a.super=n,a.options.props&&function(t){var e=t.options.props;for(var n in e)vn(t.prototype,"_props",n)}(a),a.options.computed&&function(t){var e=t.options.computed;for(var n in e)bn(t.prototype,n,e[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,j.forEach(function(t){a[t]=n[t]}),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=O({},a.options),r[i]=a,a}}function Tn(t){return t&&(t.Ctor.options.name||t.tag)}function On(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!u(t)&&t.test(e)}function En(t,e){var n=t.cache,i=t.keys,r=t._vnode;for(var o in n){var a=n[o];if(a){var s=Tn(a.componentOptions);s&&!e(s)&&In(n,o,i,r)}}}function In(t,e,n,i){var r=t[e];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),t[e]=null,m(n,e)}!function(t){t.prototype._init=function(t){var e=this;e._uid=Cn++,e._isVue=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),i=e._parentVnode;n.parent=e.parent,n._parentVnode=i;var r=i.componentOptions;n.propsData=r.propsData,n._parentListeners=r.listeners,n._renderChildren=r.children,n._componentTag=r.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=Nt(Sn(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&qe(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,i=t.$vnode=e._parentVnode,r=i&&i.context;t.$slots=fe(e._renderChildren,r),t.$scopedSlots=n,t._c=function(e,n,i,r){return He(t,e,n,i,r,!1)},t.$createElement=function(e,n,i,r){return He(t,e,n,i,r,!0)};var o=i&&i.data;Tt(t,"$attrs",o&&o.attrs||n,null,!0),Tt(t,"$listeners",e._parentListeners||n,null,!0)}(e),nn(e,"beforeCreate"),function(t){var e=de(t.$options.inject,t);e&&(St(!1),Object.keys(e).forEach(function(n){Tt(t,n,e[n])}),St(!0))}(e),mn(e),function(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}(e),nn(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}(Bn),function(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=Ot,t.prototype.$delete=Et,t.prototype.$watch=function(t,e,n){if(c(e))return xn(this,t,e,n);(n=n||{}).user=!0;var i=new An(this,t,e,n);if(n.immediate)try{e.call(this,i.value)}catch(t){Vt(t,this,'callback for immediate watcher "'+i.expression+'"')}return function(){i.teardown()}}}(Bn),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var i=this;if(Array.isArray(t))for(var r=0,o=t.length;r<o;r++)i.$on(t[r],n);else(i._events[t]||(i._events[t]=[])).push(n),e.test(t)&&(i._hasHookEvent=!0);return i},t.prototype.$once=function(t,e){var n=this;function i(){n.$off(t,i),e.apply(n,arguments)}return i.fn=e,n.$on(t,i),n},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(t)){for(var i=0,r=t.length;i<r;i++)n.$off(t[i],e);return n}var o,a=n._events[t];if(!a)return n;if(!e)return n._events[t]=null,n;for(var s=a.length;s--;)if((o=a[s])===e||o.fn===e){a.splice(s,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?T(n):n;for(var i=T(arguments,1),r='event handler for "'+t+'"',o=0,a=n.length;o<a;o++)zt(n[o],e,i,e,r)}return e}}(Bn),function(t){t.prototype._update=function(t,e){var n=this,i=n.$el,r=n._vnode,o=Je(n);n._vnode=t,n.$el=r?n.__patch__(r,t):n.__patch__(n.$el,t,e,!1),o(),i&&(i.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},t.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){nn(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||m(e.$children,t),t._watcher&&t._watcher.teardown();for(var n=t._watchers.length;n--;)t._watchers[n].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),nn(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}(Bn),function(t){Me(t.prototype),t.prototype.$nextTick=function(t){return ne(t,this)},t.prototype._render=function(){var t,e=this,n=e.$options,i=n.render,r=n._parentVnode;r&&(e.$scopedSlots=Ae(r.data.scopedSlots,e.$slots,e.$scopedSlots)),e.$vnode=r;try{ze=e,t=i.call(e._renderProxy,e.$createElement)}catch(n){Vt(n,e,"render"),t=e._vnode}finally{ze=null}return Array.isArray(t)&&1===t.length&&(t=t[0]),t instanceof gt||(t=mt()),t.parent=r,t}}(Bn);var Mn=[String,RegExp,Array],Dn={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:Mn,exclude:Mn,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)In(this.cache,t,this.keys)},mounted:function(){var t=this;this.$watch("include",function(e){En(t,function(t){return On(e,t)})}),this.$watch("exclude",function(e){En(t,function(t){return!On(e,t)})})},render:function(){var t=this.$slots.default,e=We(t),n=e&&e.componentOptions;if(n){var i=Tn(n),r=this.include,o=this.exclude;if(r&&(!i||!On(r,i))||o&&i&&On(o,i))return e;var a=this.cache,s=this.keys,l=null==e.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):e.key;a[l]?(e.componentInstance=a[l].componentInstance,m(s,l),s.push(l)):(a[l]=e,s.push(l),this.max&&s.length>parseInt(this.max)&&In(a,s[0],s,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return R}};Object.defineProperty(t,"config",e),t.util={warn:ut,extend:O,mergeOptions:Nt,defineReactive:Tt},t.set=Ot,t.delete=Et,t.nextTick=ne,t.observable=function(t){return kt(t),t},t.options=Object.create(null),j.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,O(t.options.components,Dn),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=T(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Nt(this.options,t),this}}(t),kn(t),function(t){j.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&c(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}(t)}(Bn),Object.defineProperty(Bn.prototype,"$isServer",{get:ot}),Object.defineProperty(Bn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Bn,"FunctionalRenderContext",{value:De}),Bn.version="2.6.12";var Ln=A("style,class"),Fn=A("input,textarea,option,select,progress"),Pn=function(t,e,n){return"value"===n&&Fn(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Nn=A("contenteditable,draggable,spellcheck"),jn=A("events,caret,typing,plaintext-only"),Un=function(t,e){return zn(e)||"false"===e?"false":"contenteditable"===t&&jn(e)?e:"true"},Rn=A("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Qn="http://www.w3.org/1999/xlink",Hn=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Vn=function(t){return Hn(t)?t.slice(6,t.length):""},zn=function(t){return null==t||!1===t};function $n(t){for(var e=t.data,n=t,i=t;r(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(e=Gn(i.data,e));for(;r(n=n.parent);)n&&n.data&&(e=Gn(e,n.data));return function(t,e){if(r(t)||r(e))return Wn(t,Kn(e));return""}(e.staticClass,e.class)}function Gn(t,e){return{staticClass:Wn(t.staticClass,e.staticClass),class:r(t.class)?[t.class,e.class]:e.class}}function Wn(t,e){return t?e?t+" "+e:t:e||""}function Kn(t){return Array.isArray(t)?function(t){for(var e,n="",i=0,o=t.length;i<o;i++)r(e=Kn(t[i]))&&""!==e&&(n&&(n+=" "),n+=e);return n}(t):s(t)?function(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}(t):"string"==typeof t?t:""}var Yn={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Xn=A("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),qn=A("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Zn=function(t){return Xn(t)||qn(t)};function Jn(t){return qn(t)?"svg":"math"===t?"math":void 0}var ti=Object.create(null);var ei=A("text,number,password,search,email,tel,url");function ni(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}var ii=Object.freeze({createElement:function(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)},createElementNS:function(t,e){return document.createElementNS(Yn[t],e)},createTextNode:function(t){return document.createTextNode(t)},createComment:function(t){return document.createComment(t)},insertBefore:function(t,e,n){t.insertBefore(e,n)},removeChild:function(t,e){t.removeChild(e)},appendChild:function(t,e){t.appendChild(e)},parentNode:function(t){return t.parentNode},nextSibling:function(t){return t.nextSibling},tagName:function(t){return t.tagName},setTextContent:function(t,e){t.textContent=e},setStyleScope:function(t,e){t.setAttribute(e,"")}}),ri={create:function(t,e){oi(e)},update:function(t,e){t.data.ref!==e.data.ref&&(oi(t,!0),oi(e))},destroy:function(t){oi(t,!0)}};function oi(t,e){var n=t.data.ref;if(r(n)){var i=t.context,o=t.componentInstance||t.elm,a=i.$refs;e?Array.isArray(a[n])?m(a[n],o):a[n]===o&&(a[n]=void 0):t.data.refInFor?Array.isArray(a[n])?a[n].indexOf(o)<0&&a[n].push(o):a[n]=[o]:a[n]=o}}var ai=new gt("",{},[]),si=["create","activate","update","remove","destroy"];function li(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&r(t.data)===r(e.data)&&function(t,e){if("input"!==t.tag)return!0;var n,i=r(n=t.data)&&r(n=n.attrs)&&n.type,o=r(n=e.data)&&r(n=n.attrs)&&n.type;return i===o||ei(i)&&ei(o)}(t,e)||o(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&i(e.asyncFactory.error))}function ci(t,e,n){var i,o,a={};for(i=e;i<=n;++i)r(o=t[i].key)&&(a[o]=i);return a}var ui={create:hi,update:hi,destroy:function(t){hi(t,ai)}};function hi(t,e){(t.data.directives||e.data.directives)&&function(t,e){var n,i,r,o=t===ai,a=e===ai,s=fi(t.data.directives,t.context),l=fi(e.data.directives,e.context),c=[],u=[];for(n in l)i=s[n],r=l[n],i?(r.oldValue=i.value,r.oldArg=i.arg,Ai(r,"update",e,t),r.def&&r.def.componentUpdated&&u.push(r)):(Ai(r,"bind",e,t),r.def&&r.def.inserted&&c.push(r));if(c.length){var h=function(){for(var n=0;n<c.length;n++)Ai(c[n],"inserted",e,t)};o?le(e,"insert",h):h()}u.length&&le(e,"postpatch",function(){for(var n=0;n<u.length;n++)Ai(u[n],"componentUpdated",e,t)});if(!o)for(n in s)l[n]||Ai(s[n],"unbind",t,t,a)}(t,e)}var di=Object.create(null);function fi(t,e){var n,i,r=Object.create(null);if(!t)return r;for(n=0;n<t.length;n++)(i=t[n]).modifiers||(i.modifiers=di),r[pi(i)]=i,i.def=jt(e.$options,"directives",i.name);return r}function pi(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function Ai(t,e,n,i,r){var o=t.def&&t.def[e];if(o)try{o(n.elm,t,n,i,r)}catch(i){Vt(i,n.context,"directive "+t.name+" "+e+" hook")}}var gi=[ri,ui];function vi(t,e){var n=e.componentOptions;if(!(r(n)&&!1===n.Ctor.options.inheritAttrs||i(t.data.attrs)&&i(e.data.attrs))){var o,a,s=e.elm,l=t.data.attrs||{},c=e.data.attrs||{};for(o in r(c.__ob__)&&(c=e.data.attrs=O({},c)),c)a=c[o],l[o]!==a&&mi(s,o,a);for(o in(q||J)&&c.value!==l.value&&mi(s,"value",c.value),l)i(c[o])&&(Hn(o)?s.removeAttributeNS(Qn,Vn(o)):Nn(o)||s.removeAttribute(o))}}function mi(t,e,n){t.tagName.indexOf("-")>-1?yi(t,e,n):Rn(e)?zn(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Nn(e)?t.setAttribute(e,Un(e,n)):Hn(e)?zn(n)?t.removeAttributeNS(Qn,Vn(e)):t.setAttributeNS(Qn,e,n):yi(t,e,n)}function yi(t,e,n){if(zn(n))t.removeAttribute(e);else{if(q&&!Z&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var i=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",i)};t.addEventListener("input",i),t.__ieph=!0}t.setAttribute(e,n)}}var bi={create:vi,update:vi};function _i(t,e){var n=e.elm,o=e.data,a=t.data;if(!(i(o.staticClass)&&i(o.class)&&(i(a)||i(a.staticClass)&&i(a.class)))){var s=$n(e),l=n._transitionClasses;r(l)&&(s=Wn(s,Kn(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var wi,xi,Ci,Si,Bi,ki,Ti={create:_i,update:_i},Oi=/[\w).+\-_$\]]/;function Ei(t){var e,n,i,r,o,a=!1,s=!1,l=!1,c=!1,u=0,h=0,d=0,f=0;for(i=0;i<t.length;i++)if(n=e,e=t.charCodeAt(i),a)39===e&&92!==n&&(a=!1);else if(s)34===e&&92!==n&&(s=!1);else if(l)96===e&&92!==n&&(l=!1);else if(c)47===e&&92!==n&&(c=!1);else if(124!==e||124===t.charCodeAt(i+1)||124===t.charCodeAt(i-1)||u||h||d){switch(e){case 34:s=!0;break;case 39:a=!0;break;case 96:l=!0;break;case 40:d++;break;case 41:d--;break;case 91:h++;break;case 93:h--;break;case 123:u++;break;case 125:u--}if(47===e){for(var p=i-1,A=void 0;p>=0&&" "===(A=t.charAt(p));p--);A&&Oi.test(A)||(c=!0)}}else void 0===r?(f=i+1,r=t.slice(0,i).trim()):g();function g(){(o||(o=[])).push(t.slice(f,i).trim()),f=i+1}if(void 0===r?r=t.slice(0,i).trim():0!==f&&g(),o)for(i=0;i<o.length;i++)r=Ii(r,o[i]);return r}function Ii(t,e){var n=e.indexOf("(");if(n<0)return'_f("'+e+'")('+t+")";var i=e.slice(0,n),r=e.slice(n+1);return'_f("'+i+'")('+t+(")"!==r?","+r:r)}function Mi(t,e){console.error("[Vue compiler]: "+t)}function Di(t,e){return t?t.map(function(t){return t[e]}).filter(function(t){return t}):[]}function Li(t,e,n,i,r){(t.props||(t.props=[])).push(zi({name:e,value:n,dynamic:r},i)),t.plain=!1}function Fi(t,e,n,i,r){(r?t.dynamicAttrs||(t.dynamicAttrs=[]):t.attrs||(t.attrs=[])).push(zi({name:e,value:n,dynamic:r},i)),t.plain=!1}function Pi(t,e,n,i){t.attrsMap[e]=n,t.attrsList.push(zi({name:e,value:n},i))}function Ni(t,e,n,i,r,o,a,s){(t.directives||(t.directives=[])).push(zi({name:e,rawName:n,value:i,arg:r,isDynamicArg:o,modifiers:a},s)),t.plain=!1}function ji(t,e,n){return n?"_p("+e+',"'+t+'")':t+e}function Ui(t,e,i,r,o,a,s,l){var c;(r=r||n).right?l?e="("+e+")==='click'?'contextmenu':("+e+")":"click"===e&&(e="contextmenu",delete r.right):r.middle&&(l?e="("+e+")==='click'?'mouseup':("+e+")":"click"===e&&(e="mouseup")),r.capture&&(delete r.capture,e=ji("!",e,l)),r.once&&(delete r.once,e=ji("~",e,l)),r.passive&&(delete r.passive,e=ji("&",e,l)),r.native?(delete r.native,c=t.nativeEvents||(t.nativeEvents={})):c=t.events||(t.events={});var u=zi({value:i.trim(),dynamic:l},s);r!==n&&(u.modifiers=r);var h=c[e];Array.isArray(h)?o?h.unshift(u):h.push(u):c[e]=h?o?[u,h]:[h,u]:u,t.plain=!1}function Ri(t,e){return t.rawAttrsMap[":"+e]||t.rawAttrsMap["v-bind:"+e]||t.rawAttrsMap[e]}function Qi(t,e,n){var i=Hi(t,":"+e)||Hi(t,"v-bind:"+e);if(null!=i)return Ei(i);if(!1!==n){var r=Hi(t,e);if(null!=r)return JSON.stringify(r)}}function Hi(t,e,n){var i;if(null!=(i=t.attrsMap[e]))for(var r=t.attrsList,o=0,a=r.length;o<a;o++)if(r[o].name===e){r.splice(o,1);break}return n&&delete t.attrsMap[e],i}function Vi(t,e){for(var n=t.attrsList,i=0,r=n.length;i<r;i++){var o=n[i];if(e.test(o.name))return n.splice(i,1),o}}function zi(t,e){return e&&(null!=e.start&&(t.start=e.start),null!=e.end&&(t.end=e.end)),t}function $i(t,e,n){var i=n||{},r=i.number,o="$$v";i.trim&&(o="(typeof $$v === 'string'? $$v.trim(): $$v)"),r&&(o="_n("+o+")");var a=Gi(e,o);t.model={value:"("+e+")",expression:JSON.stringify(e),callback:"function ($$v) {"+a+"}"}}function Gi(t,e){var n=function(t){if(t=t.trim(),wi=t.length,t.indexOf("[")<0||t.lastIndexOf("]")<wi-1)return(Si=t.lastIndexOf("."))>-1?{exp:t.slice(0,Si),key:'"'+t.slice(Si+1)+'"'}:{exp:t,key:null};xi=t,Si=Bi=ki=0;for(;!Ki();)Yi(Ci=Wi())?qi(Ci):91===Ci&&Xi(Ci);return{exp:t.slice(0,Bi),key:t.slice(Bi+1,ki)}}(t);return null===n.key?t+"="+e:"$set("+n.exp+", "+n.key+", "+e+")"}function Wi(){return xi.charCodeAt(++Si)}function Ki(){return Si>=wi}function Yi(t){return 34===t||39===t}function Xi(t){var e=1;for(Bi=Si;!Ki();)if(Yi(t=Wi()))qi(t);else if(91===t&&e++,93===t&&e--,0===e){ki=Si;break}}function qi(t){for(var e=t;!Ki()&&(t=Wi())!==e;);}var Zi,Ji="__r",tr="__c";function er(t,e,n){var i=Zi;return function r(){null!==e.apply(null,arguments)&&rr(t,r,n,i)}}var nr=Kt&&!(et&&Number(et[1])<=53);function ir(t,e,n,i){if(nr){var r=un,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=r||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}Zi.addEventListener(t,e,it?{capture:n,passive:i}:n)}function rr(t,e,n,i){(i||Zi).removeEventListener(t,e._wrapper||e,n)}function or(t,e){if(!i(t.data.on)||!i(e.data.on)){var n=e.data.on||{},o=t.data.on||{};Zi=e.elm,function(t){if(r(t[Ji])){var e=q?"change":"input";t[e]=[].concat(t[Ji],t[e]||[]),delete t[Ji]}r(t[tr])&&(t.change=[].concat(t[tr],t.change||[]),delete t[tr])}(n),se(n,o,ir,rr,er,e.context),Zi=void 0}}var ar,sr={create:or,update:or};function lr(t,e){if(!i(t.data.domProps)||!i(e.data.domProps)){var n,o,a=e.elm,s=t.data.domProps||{},l=e.data.domProps||{};for(n in r(l.__ob__)&&(l=e.data.domProps=O({},l)),s)n in l||(a[n]="");for(n in l){if(o=l[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),o===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=o;var c=i(o)?"":String(o);cr(a,c)&&(a.value=c)}else if("innerHTML"===n&&qn(a.tagName)&&i(a.innerHTML)){(ar=ar||document.createElement("div")).innerHTML="<svg>"+o+"</svg>";for(var u=ar.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;u.firstChild;)a.appendChild(u.firstChild)}else if(o!==s[n])try{a[n]=o}catch(t){}}}}function cr(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,i=t._vModifiers;if(r(i)){if(i.number)return p(n)!==p(e);if(i.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var ur={create:lr,update:lr},hr=_(function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach(function(t){if(t){var i=t.split(n);i.length>1&&(e[i[0].trim()]=i[1].trim())}}),e});function dr(t){var e=fr(t.style);return t.staticStyle?O(t.staticStyle,e):e}function fr(t){return Array.isArray(t)?E(t):"string"==typeof t?hr(t):t}var pr,Ar=/^--/,gr=/\s*!important$/,vr=function(t,e,n){if(Ar.test(e))t.style.setProperty(e,n);else if(gr.test(n))t.style.setProperty(B(e),n.replace(gr,""),"important");else{var i=yr(e);if(Array.isArray(n))for(var r=0,o=n.length;r<o;r++)t.style[i]=n[r];else t.style[i]=n}},mr=["Webkit","Moz","ms"],yr=_(function(t){if(pr=pr||document.createElement("div").style,"filter"!==(t=x(t))&&t in pr)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<mr.length;n++){var i=mr[n]+e;if(i in pr)return i}});function br(t,e){var n=e.data,o=t.data;if(!(i(n.staticStyle)&&i(n.style)&&i(o.staticStyle)&&i(o.style))){var a,s,l=e.elm,c=o.staticStyle,u=o.normalizedStyle||o.style||{},h=c||u,d=fr(e.data.style)||{};e.data.normalizedStyle=r(d.__ob__)?O({},d):d;var f=function(t,e){var n,i={};if(e)for(var r=t;r.componentInstance;)(r=r.componentInstance._vnode)&&r.data&&(n=dr(r.data))&&O(i,n);(n=dr(t.data))&&O(i,n);for(var o=t;o=o.parent;)o.data&&(n=dr(o.data))&&O(i,n);return i}(e,!0);for(s in h)i(f[s])&&vr(l,s,"");for(s in f)(a=f[s])!==h[s]&&vr(l,s,null==a?"":a)}}var _r={create:br,update:br},wr=/\s+/;function xr(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(wr).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Cr(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(wr).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",i=" "+e+" ";n.indexOf(i)>=0;)n=n.replace(i," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function Sr(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&O(e,Br(t.name||"v")),O(e,t),e}return"string"==typeof t?Br(t):void 0}}var Br=_(function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}}),kr=W&&!Z,Tr="transition",Or="animation",Er="transition",Ir="transitionend",Mr="animation",Dr="animationend";kr&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Er="WebkitTransition",Ir="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Mr="WebkitAnimation",Dr="webkitAnimationEnd"));var Lr=W?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Fr(t){Lr(function(){Lr(t)})}function Pr(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),xr(t,e))}function Nr(t,e){t._transitionClasses&&m(t._transitionClasses,e),Cr(t,e)}function jr(t,e,n){var i=Rr(t,e),r=i.type,o=i.timeout,a=i.propCount;if(!r)return n();var s=r===Tr?Ir:Dr,l=0,c=function(){t.removeEventListener(s,u),n()},u=function(e){e.target===t&&++l>=a&&c()};setTimeout(function(){l<a&&c()},o+1),t.addEventListener(s,u)}var Ur=/\b(transform|all)(,|$)/;function Rr(t,e){var n,i=window.getComputedStyle(t),r=(i[Er+"Delay"]||"").split(", "),o=(i[Er+"Duration"]||"").split(", "),a=Qr(r,o),s=(i[Mr+"Delay"]||"").split(", "),l=(i[Mr+"Duration"]||"").split(", "),c=Qr(s,l),u=0,h=0;return e===Tr?a>0&&(n=Tr,u=a,h=o.length):e===Or?c>0&&(n=Or,u=c,h=l.length):h=(n=(u=Math.max(a,c))>0?a>c?Tr:Or:null)?n===Tr?o.length:l.length:0,{type:n,timeout:u,propCount:h,hasTransform:n===Tr&&Ur.test(i[Er+"Property"])}}function Qr(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map(function(e,n){return Hr(e)+Hr(t[n])}))}function Hr(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function Vr(t,e){var n=t.elm;r(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var o=Sr(t.data.transition);if(!i(o)&&!r(n._enterCb)&&1===n.nodeType){for(var a=o.css,l=o.type,c=o.enterClass,u=o.enterToClass,h=o.enterActiveClass,d=o.appearClass,f=o.appearToClass,A=o.appearActiveClass,g=o.beforeEnter,v=o.enter,m=o.afterEnter,y=o.enterCancelled,b=o.beforeAppear,_=o.appear,w=o.afterAppear,x=o.appearCancelled,C=o.duration,S=Ze,B=Ze.$vnode;B&&B.parent;)S=B.context,B=B.parent;var k=!S._isMounted||!t.isRootInsert;if(!k||_||""===_){var T=k&&d?d:c,O=k&&A?A:h,E=k&&f?f:u,I=k&&b||g,M=k&&"function"==typeof _?_:v,D=k&&w||m,L=k&&x||y,F=p(s(C)?C.enter:C);0;var N=!1!==a&&!Z,j=Gr(M),U=n._enterCb=P(function(){N&&(Nr(n,E),Nr(n,O)),U.cancelled?(N&&Nr(n,T),L&&L(n)):D&&D(n),n._enterCb=null});t.data.show||le(t,"insert",function(){var e=n.parentNode,i=e&&e._pending&&e._pending[t.key];i&&i.tag===t.tag&&i.elm._leaveCb&&i.elm._leaveCb(),M&&M(n,U)}),I&&I(n),N&&(Pr(n,T),Pr(n,O),Fr(function(){Nr(n,T),U.cancelled||(Pr(n,E),j||($r(F)?setTimeout(U,F):jr(n,l,U)))})),t.data.show&&(e&&e(),M&&M(n,U)),N||j||U()}}}function zr(t,e){var n=t.elm;r(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var o=Sr(t.data.transition);if(i(o)||1!==n.nodeType)return e();if(!r(n._leaveCb)){var a=o.css,l=o.type,c=o.leaveClass,u=o.leaveToClass,h=o.leaveActiveClass,d=o.beforeLeave,f=o.leave,A=o.afterLeave,g=o.leaveCancelled,v=o.delayLeave,m=o.duration,y=!1!==a&&!Z,b=Gr(f),_=p(s(m)?m.leave:m);0;var w=n._leaveCb=P(function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[t.key]=null),y&&(Nr(n,u),Nr(n,h)),w.cancelled?(y&&Nr(n,c),g&&g(n)):(e(),A&&A(n)),n._leaveCb=null});v?v(x):x()}function x(){w.cancelled||(!t.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[t.key]=t),d&&d(n),y&&(Pr(n,c),Pr(n,h),Fr(function(){Nr(n,c),w.cancelled||(Pr(n,u),b||($r(_)?setTimeout(w,_):jr(n,l,w)))})),f&&f(n,w),y||b||w())}}function $r(t){return"number"==typeof t&&!isNaN(t)}function Gr(t){if(i(t))return!1;var e=t.fns;return r(e)?Gr(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function Wr(t,e){!0!==e.data.show&&Vr(e)}var Kr=function(t){var e,n,s={},l=t.modules,c=t.nodeOps;for(e=0;e<si.length;++e)for(s[si[e]]=[],n=0;n<l.length;++n)r(l[n][si[e]])&&s[si[e]].push(l[n][si[e]]);function u(t){var e=c.parentNode(t);r(e)&&c.removeChild(e,t)}function h(t,e,n,i,a,l,u){if(r(t.elm)&&r(l)&&(t=l[u]=bt(t)),t.isRootInsert=!a,!function(t,e,n,i){var a=t.data;if(r(a)){var l=r(t.componentInstance)&&a.keepAlive;if(r(a=a.hook)&&r(a=a.init)&&a(t,!1),r(t.componentInstance))return d(t,e),f(n,t.elm,i),o(l)&&function(t,e,n,i){for(var o,a=t;a.componentInstance;)if(a=a.componentInstance._vnode,r(o=a.data)&&r(o=o.transition)){for(o=0;o<s.activate.length;++o)s.activate[o](ai,a);e.push(a);break}f(n,t.elm,i)}(t,e,n,i),!0}}(t,e,n,i)){var h=t.data,A=t.children,g=t.tag;r(g)?(t.elm=t.ns?c.createElementNS(t.ns,g):c.createElement(g,t),m(t),p(t,A,e),r(h)&&v(t,e),f(n,t.elm,i)):o(t.isComment)?(t.elm=c.createComment(t.text),f(n,t.elm,i)):(t.elm=c.createTextNode(t.text),f(n,t.elm,i))}}function d(t,e){r(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,g(t)?(v(t,e),m(t)):(oi(t),e.push(t))}function f(t,e,n){r(t)&&(r(n)?c.parentNode(n)===t&&c.insertBefore(t,e,n):c.appendChild(t,e))}function p(t,e,n){if(Array.isArray(e))for(var i=0;i<e.length;++i)h(e[i],n,t.elm,null,!0,e,i);else a(t.text)&&c.appendChild(t.elm,c.createTextNode(String(t.text)))}function g(t){for(;t.componentInstance;)t=t.componentInstance._vnode;return r(t.tag)}function v(t,n){for(var i=0;i<s.create.length;++i)s.create[i](ai,t);r(e=t.data.hook)&&(r(e.create)&&e.create(ai,t),r(e.insert)&&n.push(t))}function m(t){var e;if(r(e=t.fnScopeId))c.setStyleScope(t.elm,e);else for(var n=t;n;)r(e=n.context)&&r(e=e.$options._scopeId)&&c.setStyleScope(t.elm,e),n=n.parent;r(e=Ze)&&e!==t.context&&e!==t.fnContext&&r(e=e.$options._scopeId)&&c.setStyleScope(t.elm,e)}function y(t,e,n,i,r,o){for(;i<=r;++i)h(n[i],o,t,e,!1,n,i)}function b(t){var e,n,i=t.data;if(r(i))for(r(e=i.hook)&&r(e=e.destroy)&&e(t),e=0;e<s.destroy.length;++e)s.destroy[e](t);if(r(e=t.children))for(n=0;n<t.children.length;++n)b(t.children[n])}function _(t,e,n){for(;e<=n;++e){var i=t[e];r(i)&&(r(i.tag)?(w(i),b(i)):u(i.elm))}}function w(t,e){if(r(e)||r(t.data)){var n,i=s.remove.length+1;for(r(e)?e.listeners+=i:e=function(t,e){function n(){0==--n.listeners&&u(t)}return n.listeners=e,n}(t.elm,i),r(n=t.componentInstance)&&r(n=n._vnode)&&r(n.data)&&w(n,e),n=0;n<s.remove.length;++n)s.remove[n](t,e);r(n=t.data.hook)&&r(n=n.remove)?n(t,e):e()}else u(t.elm)}function x(t,e,n,i){for(var o=n;o<i;o++){var a=e[o];if(r(a)&&li(t,a))return o}}function C(t,e,n,a,l,u){if(t!==e){r(e.elm)&&r(a)&&(e=a[l]=bt(e));var d=e.elm=t.elm;if(o(t.isAsyncPlaceholder))r(e.asyncFactory.resolved)?k(t.elm,e,n):e.isAsyncPlaceholder=!0;else if(o(e.isStatic)&&o(t.isStatic)&&e.key===t.key&&(o(e.isCloned)||o(e.isOnce)))e.componentInstance=t.componentInstance;else{var f,p=e.data;r(p)&&r(f=p.hook)&&r(f=f.prepatch)&&f(t,e);var A=t.children,v=e.children;if(r(p)&&g(e)){for(f=0;f<s.update.length;++f)s.update[f](t,e);r(f=p.hook)&&r(f=f.update)&&f(t,e)}i(e.text)?r(A)&&r(v)?A!==v&&function(t,e,n,o,a){for(var s,l,u,d=0,f=0,p=e.length-1,A=e[0],g=e[p],v=n.length-1,m=n[0],b=n[v],w=!a;d<=p&&f<=v;)i(A)?A=e[++d]:i(g)?g=e[--p]:li(A,m)?(C(A,m,o,n,f),A=e[++d],m=n[++f]):li(g,b)?(C(g,b,o,n,v),g=e[--p],b=n[--v]):li(A,b)?(C(A,b,o,n,v),w&&c.insertBefore(t,A.elm,c.nextSibling(g.elm)),A=e[++d],b=n[--v]):li(g,m)?(C(g,m,o,n,f),w&&c.insertBefore(t,g.elm,A.elm),g=e[--p],m=n[++f]):(i(s)&&(s=ci(e,d,p)),i(l=r(m.key)?s[m.key]:x(m,e,d,p))?h(m,o,t,A.elm,!1,n,f):li(u=e[l],m)?(C(u,m,o,n,f),e[l]=void 0,w&&c.insertBefore(t,u.elm,A.elm)):h(m,o,t,A.elm,!1,n,f),m=n[++f]);d>p?y(t,i(n[v+1])?null:n[v+1].elm,n,f,v,o):f>v&&_(e,d,p)}(d,A,v,n,u):r(v)?(r(t.text)&&c.setTextContent(d,""),y(d,null,v,0,v.length-1,n)):r(A)?_(A,0,A.length-1):r(t.text)&&c.setTextContent(d,""):t.text!==e.text&&c.setTextContent(d,e.text),r(p)&&r(f=p.hook)&&r(f=f.postpatch)&&f(t,e)}}}function S(t,e,n){if(o(n)&&r(t.parent))t.parent.data.pendingInsert=e;else for(var i=0;i<e.length;++i)e[i].data.hook.insert(e[i])}var B=A("attrs,class,staticClass,staticStyle,key");function k(t,e,n,i){var a,s=e.tag,l=e.data,c=e.children;if(i=i||l&&l.pre,e.elm=t,o(e.isComment)&&r(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(r(l)&&(r(a=l.hook)&&r(a=a.init)&&a(e,!0),r(a=e.componentInstance)))return d(e,n),!0;if(r(s)){if(r(c))if(t.hasChildNodes())if(r(a=l)&&r(a=a.domProps)&&r(a=a.innerHTML)){if(a!==t.innerHTML)return!1}else{for(var u=!0,h=t.firstChild,f=0;f<c.length;f++){if(!h||!k(h,c[f],n,i)){u=!1;break}h=h.nextSibling}if(!u||h)return!1}else p(e,c,n);if(r(l)){var A=!1;for(var g in l)if(!B(g)){A=!0,v(e,n);break}!A&&l.class&&re(l.class)}}else t.data!==e.text&&(t.data=e.text);return!0}return function(t,e,n,a){if(!i(e)){var l,u=!1,d=[];if(i(t))u=!0,h(e,d);else{var f=r(t.nodeType);if(!f&&li(t,e))C(t,e,d,null,null,a);else{if(f){if(1===t.nodeType&&t.hasAttribute(N)&&(t.removeAttribute(N),n=!0),o(n)&&k(t,e,d))return S(e,d,!0),t;l=t,t=new gt(c.tagName(l).toLowerCase(),{},[],void 0,l)}var p=t.elm,A=c.parentNode(p);if(h(e,d,p._leaveCb?null:A,c.nextSibling(p)),r(e.parent))for(var v=e.parent,m=g(e);v;){for(var y=0;y<s.destroy.length;++y)s.destroy[y](v);if(v.elm=e.elm,m){for(var w=0;w<s.create.length;++w)s.create[w](ai,v);var x=v.data.hook.insert;if(x.merged)for(var B=1;B<x.fns.length;B++)x.fns[B]()}else oi(v);v=v.parent}r(A)?_([t],0,0):r(t.tag)&&b(t)}}return S(e,d,u),e.elm}r(t)&&b(t)}}({nodeOps:ii,modules:[bi,Ti,sr,ur,_r,W?{create:Wr,activate:Wr,remove:function(t,e){!0!==t.data.show?zr(t,e):e()}}:{}].concat(gi)});Z&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&no(t,"input")});var Yr={inserted:function(t,e,n,i){"select"===n.tag?(i.elm&&!i.elm._vOptions?le(n,"postpatch",function(){Yr.componentUpdated(t,e,n)}):Xr(t,e,n.context),t._vOptions=[].map.call(t.options,Jr)):("textarea"===n.tag||ei(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",to),t.addEventListener("compositionend",eo),t.addEventListener("change",eo),Z&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Xr(t,e,n.context);var i=t._vOptions,r=t._vOptions=[].map.call(t.options,Jr);if(r.some(function(t,e){return!L(t,i[e])}))(t.multiple?e.value.some(function(t){return Zr(t,r)}):e.value!==e.oldValue&&Zr(e.value,r))&&no(t,"change")}}};function Xr(t,e,n){qr(t,e,n),(q||J)&&setTimeout(function(){qr(t,e,n)},0)}function qr(t,e,n){var i=e.value,r=t.multiple;if(!r||Array.isArray(i)){for(var o,a,s=0,l=t.options.length;s<l;s++)if(a=t.options[s],r)o=F(i,Jr(a))>-1,a.selected!==o&&(a.selected=o);else if(L(Jr(a),i))return void(t.selectedIndex!==s&&(t.selectedIndex=s));r||(t.selectedIndex=-1)}}function Zr(t,e){return e.every(function(e){return!L(e,t)})}function Jr(t){return"_value"in t?t._value:t.value}function to(t){t.target.composing=!0}function eo(t){t.target.composing&&(t.target.composing=!1,no(t.target,"input"))}function no(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function io(t){return!t.componentInstance||t.data&&t.data.transition?t:io(t.componentInstance._vnode)}var ro={model:Yr,show:{bind:function(t,e,n){var i=e.value,r=(n=io(n)).data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;i&&r?(n.data.show=!0,Vr(n,function(){t.style.display=o})):t.style.display=i?o:"none"},update:function(t,e,n){var i=e.value;!i!=!e.oldValue&&((n=io(n)).data&&n.data.transition?(n.data.show=!0,i?Vr(n,function(){t.style.display=t.__vOriginalDisplay}):zr(n,function(){t.style.display="none"})):t.style.display=i?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,i,r){r||(t.style.display=t.__vOriginalDisplay)}}},oo={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function ao(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?ao(We(e.children)):t}function so(t){var e={},n=t.$options;for(var i in n.propsData)e[i]=t[i];var r=n._parentListeners;for(var o in r)e[x(o)]=r[o];return e}function lo(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var co=function(t){return t.tag||Ge(t)},uo=function(t){return"show"===t.name},ho={name:"transition",props:oo,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(co)).length){0;var i=this.mode;0;var r=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return r;var o=ao(r);if(!o)return r;if(this._leaving)return lo(t,r);var s="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?s+"comment":s+o.tag:a(o.key)?0===String(o.key).indexOf(s)?o.key:s+o.key:o.key;var l=(o.data||(o.data={})).transition=so(this),c=this._vnode,u=ao(c);if(o.data.directives&&o.data.directives.some(uo)&&(o.data.show=!0),u&&u.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(o,u)&&!Ge(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var h=u.data.transition=O({},l);if("out-in"===i)return this._leaving=!0,le(h,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),lo(t,r);if("in-out"===i){if(Ge(o))return c;var d,f=function(){d()};le(l,"afterEnter",f),le(l,"enterCancelled",f),le(h,"delayLeave",function(t){d=t})}}return r}}},fo=O({tag:String,moveClass:String},oo);function po(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Ao(t){t.data.newPos=t.elm.getBoundingClientRect()}function go(t){var e=t.data.pos,n=t.data.newPos,i=e.left-n.left,r=e.top-n.top;if(i||r){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+i+"px,"+r+"px)",o.transitionDuration="0s"}}delete fo.mode;var vo={Transition:ho,TransitionGroup:{props:fo,beforeMount:function(){var t=this,e=this._update;this._update=function(n,i){var r=Je(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,r(),e.call(t,n,i)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],o=this.children=[],a=so(this),s=0;s<r.length;s++){var l=r[s];if(l.tag)if(null!=l.key&&0!==String(l.key).indexOf("__vlist"))o.push(l),n[l.key]=l,(l.data||(l.data={})).transition=a;else;}if(i){for(var c=[],u=[],h=0;h<i.length;h++){var d=i[h];d.data.transition=a,d.data.pos=d.elm.getBoundingClientRect(),n[d.key]?c.push(d):u.push(d)}this.kept=t(e,null,c),this.removed=u}return t(e,null,o)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(po),t.forEach(Ao),t.forEach(go),this._reflow=document.body.offsetHeight,t.forEach(function(t){if(t.data.moved){var n=t.elm,i=n.style;Pr(n,e),i.transform=i.WebkitTransform=i.transitionDuration="",n.addEventListener(Ir,n._moveCb=function t(i){i&&i.target!==n||i&&!/transform$/.test(i.propertyName)||(n.removeEventListener(Ir,t),n._moveCb=null,Nr(n,e))})}}))},methods:{hasMove:function(t,e){if(!kr)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach(function(t){Cr(n,t)}),xr(n,e),n.style.display="none",this.$el.appendChild(n);var i=Rr(n);return this.$el.removeChild(n),this._hasMove=i.hasTransform}}}};Bn.config.mustUseProp=Pn,Bn.config.isReservedTag=Zn,Bn.config.isReservedAttr=Ln,Bn.config.getTagNamespace=Jn,Bn.config.isUnknownElement=function(t){if(!W)return!0;if(Zn(t))return!1;if(t=t.toLowerCase(),null!=ti[t])return ti[t];var e=document.createElement(t);return t.indexOf("-")>-1?ti[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:ti[t]=/HTMLUnknownElement/.test(e.toString())},O(Bn.options.directives,ro),O(Bn.options.components,vo),Bn.prototype.__patch__=W?Kr:I,Bn.prototype.$mount=function(t,e){return function(t,e,n){return t.$el=e,t.$options.render||(t.$options.render=mt),nn(t,"beforeMount"),new An(t,function(){t._update(t._render(),n)},I,{before:function(){t._isMounted&&!t._isDestroyed&&nn(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,nn(t,"mounted")),t}(this,t=t&&W?ni(t):void 0,e)},W&&setTimeout(function(){R.devtools&&at&&at.emit("init",Bn)},0);var mo=/\{\{((?:.|\r?\n)+?)\}\}/g,yo=/[-.*+?^${}()|[\]\/\\]/g,bo=_(function(t){var e=t[0].replace(yo,"\\$&"),n=t[1].replace(yo,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+n,"g")});function _o(t,e){var n=e?bo(e):mo;if(n.test(t)){for(var i,r,o,a=[],s=[],l=n.lastIndex=0;i=n.exec(t);){(r=i.index)>l&&(s.push(o=t.slice(l,r)),a.push(JSON.stringify(o)));var c=Ei(i[1].trim());a.push("_s("+c+")"),s.push({"@binding":c}),l=r+i[0].length}return l<t.length&&(s.push(o=t.slice(l)),a.push(JSON.stringify(o))),{expression:a.join("+"),tokens:s}}}var wo={staticKeys:["staticClass"],transformNode:function(t,e){e.warn;var n=Hi(t,"class");n&&(t.staticClass=JSON.stringify(n));var i=Qi(t,"class",!1);i&&(t.classBinding=i)},genData:function(t){var e="";return t.staticClass&&(e+="staticClass:"+t.staticClass+","),t.classBinding&&(e+="class:"+t.classBinding+","),e}};var xo,Co={staticKeys:["staticStyle"],transformNode:function(t,e){e.warn;var n=Hi(t,"style");n&&(t.staticStyle=JSON.stringify(hr(n)));var i=Qi(t,"style",!1);i&&(t.styleBinding=i)},genData:function(t){var e="";return t.staticStyle&&(e+="staticStyle:"+t.staticStyle+","),t.styleBinding&&(e+="style:("+t.styleBinding+"),"),e}},So=function(t){return(xo=xo||document.createElement("div")).innerHTML=t,xo.textContent},Bo=A("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),ko=A("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),To=A("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),Oo=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Eo=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Io="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+Q.source+"]*",Mo="((?:"+Io+"\\:)?"+Io+")",Do=new RegExp("^<"+Mo),Lo=/^\s*(\/?)>/,Fo=new RegExp("^<\\/"+Mo+"[^>]*>"),Po=/^<!DOCTYPE [^>]+>/i,No=/^<!\--/,jo=/^<!\[/,Uo=A("script,style,textarea",!0),Ro={},Qo={"&lt;":"<","&gt;":">","&quot;":'"',"&amp;":"&","&#10;":"\n","&#9;":"\t","&#39;":"'"},Ho=/&(?:lt|gt|quot|amp|#39);/g,Vo=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,zo=A("pre,textarea",!0),$o=function(t,e){return t&&zo(t)&&"\n"===e[0]};function Go(t,e){var n=e?Vo:Ho;return t.replace(n,function(t){return Qo[t]})}var Wo,Ko,Yo,Xo,qo,Zo,Jo,ta,ea=/^@|^v-on:/,na=/^v-|^@|^:|^#/,ia=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,ra=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,oa=/^\(|\)$/g,aa=/^\[.*\]$/,sa=/:(.*)$/,la=/^:|^\.|^v-bind:/,ca=/\.[^.\]]+(?=[^\]]*$)/g,ua=/^v-slot(:|$)|^#/,ha=/[\r\n]/,da=/\s+/g,fa=_(So),pa="_empty_";function Aa(t,e,n){return{type:1,tag:t,attrsList:e,attrsMap:function(t){for(var e={},n=0,i=t.length;n<i;n++)e[t[n].name]=t[n].value;return e}(e),rawAttrsMap:{},parent:n,children:[]}}function ga(t,e){Wo=e.warn||Mi,Zo=e.isPreTag||M,Jo=e.mustUseProp||M,ta=e.getTagNamespace||M;var n=e.isReservedTag||M;(function(t){return!!t.component||!n(t.tag)}),Yo=Di(e.modules,"transformNode"),Xo=Di(e.modules,"preTransformNode"),qo=Di(e.modules,"postTransformNode"),Ko=e.delimiters;var i,r,o=[],a=!1!==e.preserveWhitespace,s=e.whitespace,l=!1,c=!1;function u(t){if(h(t),l||t.processed||(t=va(t,e)),o.length||t===i||i.if&&(t.elseif||t.else)&&ya(i,{exp:t.elseif,block:t}),r&&!t.forbidden)if(t.elseif||t.else)a=t,(s=function(t){var e=t.length;for(;e--;){if(1===t[e].type)return t[e];t.pop()}}(r.children))&&s.if&&ya(s,{exp:a.elseif,block:a});else{if(t.slotScope){var n=t.slotTarget||'"default"';(r.scopedSlots||(r.scopedSlots={}))[n]=t}r.children.push(t),t.parent=r}var a,s;t.children=t.children.filter(function(t){return!t.slotScope}),h(t),t.pre&&(l=!1),Zo(t.tag)&&(c=!1);for(var u=0;u<qo.length;u++)qo[u](t,e)}function h(t){if(!c)for(var e;(e=t.children[t.children.length-1])&&3===e.type&&" "===e.text;)t.children.pop()}return function(t,e){for(var n,i,r=[],o=e.expectHTML,a=e.isUnaryTag||M,s=e.canBeLeftOpenTag||M,l=0;t;){if(n=t,i&&Uo(i)){var c=0,u=i.toLowerCase(),h=Ro[u]||(Ro[u]=new RegExp("([\\s\\S]*?)(</"+u+"[^>]*>)","i")),d=t.replace(h,function(t,n,i){return c=i.length,Uo(u)||"noscript"===u||(n=n.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),$o(u,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""});l+=t.length-d.length,t=d,B(u,l-c,l)}else{var f=t.indexOf("<");if(0===f){if(No.test(t)){var p=t.indexOf("--\x3e");if(p>=0){e.shouldKeepComment&&e.comment(t.substring(4,p),l,l+p+3),x(p+3);continue}}if(jo.test(t)){var A=t.indexOf("]>");if(A>=0){x(A+2);continue}}var g=t.match(Po);if(g){x(g[0].length);continue}var v=t.match(Fo);if(v){var m=l;x(v[0].length),B(v[1],m,l);continue}var y=C();if(y){S(y),$o(y.tagName,t)&&x(1);continue}}var b=void 0,_=void 0,w=void 0;if(f>=0){for(_=t.slice(f);!(Fo.test(_)||Do.test(_)||No.test(_)||jo.test(_)||(w=_.indexOf("<",1))<0);)f+=w,_=t.slice(f);b=t.substring(0,f)}f<0&&(b=t),b&&x(b.length),e.chars&&b&&e.chars(b,l-b.length,l)}if(t===n){e.chars&&e.chars(t);break}}function x(e){l+=e,t=t.substring(e)}function C(){var e=t.match(Do);if(e){var n,i,r={tagName:e[1],attrs:[],start:l};for(x(e[0].length);!(n=t.match(Lo))&&(i=t.match(Eo)||t.match(Oo));)i.start=l,x(i[0].length),i.end=l,r.attrs.push(i);if(n)return r.unarySlash=n[1],x(n[0].length),r.end=l,r}}function S(t){var n=t.tagName,l=t.unarySlash;o&&("p"===i&&To(n)&&B(i),s(n)&&i===n&&B(n));for(var c=a(n)||!!l,u=t.attrs.length,h=new Array(u),d=0;d<u;d++){var f=t.attrs[d],p=f[3]||f[4]||f[5]||"",A="a"===n&&"href"===f[1]?e.shouldDecodeNewlinesForHref:e.shouldDecodeNewlines;h[d]={name:f[1],value:Go(p,A)}}c||(r.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:h,start:t.start,end:t.end}),i=n),e.start&&e.start(n,h,c,t.start,t.end)}function B(t,n,o){var a,s;if(null==n&&(n=l),null==o&&(o=l),t)for(s=t.toLowerCase(),a=r.length-1;a>=0&&r[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var c=r.length-1;c>=a;c--)e.end&&e.end(r[c].tag,n,o);r.length=a,i=a&&r[a-1].tag}else"br"===s?e.start&&e.start(t,[],!0,n,o):"p"===s&&(e.start&&e.start(t,[],!1,n,o),e.end&&e.end(t,n,o))}B()}(t,{warn:Wo,expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,canBeLeftOpenTag:e.canBeLeftOpenTag,shouldDecodeNewlines:e.shouldDecodeNewlines,shouldDecodeNewlinesForHref:e.shouldDecodeNewlinesForHref,shouldKeepComment:e.comments,outputSourceRange:e.outputSourceRange,start:function(t,n,a,s,h){var d=r&&r.ns||ta(t);q&&"svg"===d&&(n=function(t){for(var e=[],n=0;n<t.length;n++){var i=t[n];wa.test(i.name)||(i.name=i.name.replace(xa,""),e.push(i))}return e}(n));var f,p=Aa(t,n,r);d&&(p.ns=d),"style"!==(f=p).tag&&("script"!==f.tag||f.attrsMap.type&&"text/javascript"!==f.attrsMap.type)||ot()||(p.forbidden=!0);for(var A=0;A<Xo.length;A++)p=Xo[A](p,e)||p;l||(!function(t){null!=Hi(t,"v-pre")&&(t.pre=!0)}(p),p.pre&&(l=!0)),Zo(p.tag)&&(c=!0),l?function(t){var e=t.attrsList,n=e.length;if(n)for(var i=t.attrs=new Array(n),r=0;r<n;r++)i[r]={name:e[r].name,value:JSON.stringify(e[r].value)},null!=e[r].start&&(i[r].start=e[r].start,i[r].end=e[r].end);else t.pre||(t.plain=!0)}(p):p.processed||(ma(p),function(t){var e=Hi(t,"v-if");if(e)t.if=e,ya(t,{exp:e,block:t});else{null!=Hi(t,"v-else")&&(t.else=!0);var n=Hi(t,"v-else-if");n&&(t.elseif=n)}}(p),function(t){null!=Hi(t,"v-once")&&(t.once=!0)}(p)),i||(i=p),a?u(p):(r=p,o.push(p))},end:function(t,e,n){var i=o[o.length-1];o.length-=1,r=o[o.length-1],u(i)},chars:function(t,e,n){if(r&&(!q||"textarea"!==r.tag||r.attrsMap.placeholder!==t)){var i,o,u,h=r.children;if(t=c||t.trim()?"script"===(i=r).tag||"style"===i.tag?t:fa(t):h.length?s?"condense"===s&&ha.test(t)?"":" ":a?" ":"":"")c||"condense"!==s||(t=t.replace(da," ")),!l&&" "!==t&&(o=_o(t,Ko))?u={type:2,expression:o.expression,tokens:o.tokens,text:t}:" "===t&&h.length&&" "===h[h.length-1].text||(u={type:3,text:t}),u&&h.push(u)}},comment:function(t,e,n){if(r){var i={type:3,text:t,isComment:!0};0,r.children.push(i)}}}),i}function va(t,e){var n,i;!function(t){var e=Qi(t,"key");if(e){t.key=e}}(t),t.plain=!t.key&&!t.scopedSlots&&!t.attrsList.length,(i=Qi(n=t,"ref"))&&(n.ref=i,n.refInFor=function(t){for(var e=t;e;){if(void 0!==e.for)return!0;e=e.parent}return!1}(n)),function(t){var e;"template"===t.tag?(e=Hi(t,"scope"),t.slotScope=e||Hi(t,"slot-scope")):(e=Hi(t,"slot-scope"))&&(t.slotScope=e);var n=Qi(t,"slot");n&&(t.slotTarget='""'===n?'"default"':n,t.slotTargetDynamic=!(!t.attrsMap[":slot"]&&!t.attrsMap["v-bind:slot"]),"template"===t.tag||t.slotScope||Fi(t,"slot",n,Ri(t,"slot")));if("template"===t.tag){var i=Vi(t,ua);if(i){0;var r=ba(i),o=r.name,a=r.dynamic;t.slotTarget=o,t.slotTargetDynamic=a,t.slotScope=i.value||pa}}else{var s=Vi(t,ua);if(s){0;var l=t.scopedSlots||(t.scopedSlots={}),c=ba(s),u=c.name,h=c.dynamic,d=l[u]=Aa("template",[],t);d.slotTarget=u,d.slotTargetDynamic=h,d.children=t.children.filter(function(t){if(!t.slotScope)return t.parent=d,!0}),d.slotScope=s.value||pa,t.children=[],t.plain=!1}}}(t),function(t){"slot"===t.tag&&(t.slotName=Qi(t,"name"))}(t),function(t){var e;(e=Qi(t,"is"))&&(t.component=e);null!=Hi(t,"inline-template")&&(t.inlineTemplate=!0)}(t);for(var r=0;r<Yo.length;r++)t=Yo[r](t,e)||t;return function(t){var e,n,i,r,o,a,s,l,c=t.attrsList;for(e=0,n=c.length;e<n;e++){if(i=r=c[e].name,o=c[e].value,na.test(i))if(t.hasBindings=!0,(a=_a(i.replace(na,"")))&&(i=i.replace(ca,"")),la.test(i))i=i.replace(la,""),o=Ei(o),(l=aa.test(i))&&(i=i.slice(1,-1)),a&&(a.prop&&!l&&"innerHtml"===(i=x(i))&&(i="innerHTML"),a.camel&&!l&&(i=x(i)),a.sync&&(s=Gi(o,"$event"),l?Ui(t,'"update:"+('+i+")",s,null,!1,0,c[e],!0):(Ui(t,"update:"+x(i),s,null,!1,0,c[e]),B(i)!==x(i)&&Ui(t,"update:"+B(i),s,null,!1,0,c[e])))),a&&a.prop||!t.component&&Jo(t.tag,t.attrsMap.type,i)?Li(t,i,o,c[e],l):Fi(t,i,o,c[e],l);else if(ea.test(i))i=i.replace(ea,""),(l=aa.test(i))&&(i=i.slice(1,-1)),Ui(t,i,o,a,!1,0,c[e],l);else{var u=(i=i.replace(na,"")).match(sa),h=u&&u[1];l=!1,h&&(i=i.slice(0,-(h.length+1)),aa.test(h)&&(h=h.slice(1,-1),l=!0)),Ni(t,i,r,o,h,l,a,c[e])}else Fi(t,i,JSON.stringify(o),c[e]),!t.component&&"muted"===i&&Jo(t.tag,t.attrsMap.type,i)&&Li(t,i,"true",c[e])}}(t),t}function ma(t){var e;if(e=Hi(t,"v-for")){var n=function(t){var e=t.match(ia);if(!e)return;var n={};n.for=e[2].trim();var i=e[1].trim().replace(oa,""),r=i.match(ra);r?(n.alias=i.replace(ra,"").trim(),n.iterator1=r[1].trim(),r[2]&&(n.iterator2=r[2].trim())):n.alias=i;return n}(e);n&&O(t,n)}}function ya(t,e){t.ifConditions||(t.ifConditions=[]),t.ifConditions.push(e)}function ba(t){var e=t.name.replace(ua,"");return e||"#"!==t.name[0]&&(e="default"),aa.test(e)?{name:e.slice(1,-1),dynamic:!0}:{name:'"'+e+'"',dynamic:!1}}function _a(t){var e=t.match(ca);if(e){var n={};return e.forEach(function(t){n[t.slice(1)]=!0}),n}}var wa=/^xmlns:NS\d+/,xa=/^NS\d+:/;function Ca(t){return Aa(t.tag,t.attrsList.slice(),t.parent)}var Sa=[wo,Co,{preTransformNode:function(t,e){if("input"===t.tag){var n,i=t.attrsMap;if(!i["v-model"])return;if((i[":type"]||i["v-bind:type"])&&(n=Qi(t,"type")),i.type||n||!i["v-bind"]||(n="("+i["v-bind"]+").type"),n){var r=Hi(t,"v-if",!0),o=r?"&&("+r+")":"",a=null!=Hi(t,"v-else",!0),s=Hi(t,"v-else-if",!0),l=Ca(t);ma(l),Pi(l,"type","checkbox"),va(l,e),l.processed=!0,l.if="("+n+")==='checkbox'"+o,ya(l,{exp:l.if,block:l});var c=Ca(t);Hi(c,"v-for",!0),Pi(c,"type","radio"),va(c,e),ya(l,{exp:"("+n+")==='radio'"+o,block:c});var u=Ca(t);return Hi(u,"v-for",!0),Pi(u,":type",n),va(u,e),ya(l,{exp:r,block:u}),a?l.else=!0:s&&(l.elseif=s),l}}}}];var Ba,ka,Ta={expectHTML:!0,modules:Sa,directives:{model:function(t,e,n){n;var i=e.value,r=e.modifiers,o=t.tag,a=t.attrsMap.type;if(t.component)return $i(t,i,r),!1;if("select"===o)!function(t,e,n){var i='var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(n&&n.number?"_n(val)":"val")+"});";i=i+" "+Gi(e,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),Ui(t,"change",i,null,!0)}(t,i,r);else if("input"===o&&"checkbox"===a)!function(t,e,n){var i=n&&n.number,r=Qi(t,"value")||"null",o=Qi(t,"true-value")||"true",a=Qi(t,"false-value")||"false";Li(t,"checked","Array.isArray("+e+")?_i("+e+","+r+")>-1"+("true"===o?":("+e+")":":_q("+e+","+o+")")),Ui(t,"change","var $$a="+e+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(i?"_n("+r+")":r)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Gi(e,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Gi(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Gi(e,"$$c")+"}",null,!0)}(t,i,r);else if("input"===o&&"radio"===a)!function(t,e,n){var i=n&&n.number,r=Qi(t,"value")||"null";Li(t,"checked","_q("+e+","+(r=i?"_n("+r+")":r)+")"),Ui(t,"change",Gi(e,r),null,!0)}(t,i,r);else if("input"===o||"textarea"===o)!function(t,e,n){var i=t.attrsMap.type,r=n||{},o=r.lazy,a=r.number,s=r.trim,l=!o&&"range"!==i,c=o?"change":"range"===i?Ji:"input",u="$event.target.value";s&&(u="$event.target.value.trim()"),a&&(u="_n("+u+")");var h=Gi(e,u);l&&(h="if($event.target.composing)return;"+h),Li(t,"value","("+e+")"),Ui(t,c,h,null,!0),(s||a)&&Ui(t,"blur","$forceUpdate()")}(t,i,r);else if(!R.isReservedTag(o))return $i(t,i,r),!1;return!0},text:function(t,e){e.value&&Li(t,"textContent","_s("+e.value+")",e)},html:function(t,e){e.value&&Li(t,"innerHTML","_s("+e.value+")",e)}},isPreTag:function(t){return"pre"===t},isUnaryTag:Bo,mustUseProp:Pn,canBeLeftOpenTag:ko,isReservedTag:Zn,getTagNamespace:Jn,staticKeys:function(t){return t.reduce(function(t,e){return t.concat(e.staticKeys||[])},[]).join(",")}(Sa)},Oa=_(function(t){return A("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(t?","+t:""))});function Ea(t,e){t&&(Ba=Oa(e.staticKeys||""),ka=e.isReservedTag||M,function t(e){e.static=function(t){if(2===t.type)return!1;if(3===t.type)return!0;return!(!t.pre&&(t.hasBindings||t.if||t.for||g(t.tag)||!ka(t.tag)||function(t){for(;t.parent;){if("template"!==(t=t.parent).tag)return!1;if(t.for)return!0}return!1}(t)||!Object.keys(t).every(Ba)))}(e);if(1===e.type){if(!ka(e.tag)&&"slot"!==e.tag&&null==e.attrsMap["inline-template"])return;for(var n=0,i=e.children.length;n<i;n++){var r=e.children[n];t(r),r.static||(e.static=!1)}if(e.ifConditions)for(var o=1,a=e.ifConditions.length;o<a;o++){var s=e.ifConditions[o].block;t(s),s.static||(e.static=!1)}}}(t),function t(e,n){if(1===e.type){if((e.static||e.once)&&(e.staticInFor=n),e.static&&e.children.length&&(1!==e.children.length||3!==e.children[0].type))return void(e.staticRoot=!0);if(e.staticRoot=!1,e.children)for(var i=0,r=e.children.length;i<r;i++)t(e.children[i],n||!!e.for);if(e.ifConditions)for(var o=1,a=e.ifConditions.length;o<a;o++)t(e.ifConditions[o].block,n)}}(t,!1))}var Ia=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,Ma=/\([^)]*?\);*$/,Da=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,La={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Fa={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Pa=function(t){return"if("+t+")return null;"},Na={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Pa("$event.target !== $event.currentTarget"),ctrl:Pa("!$event.ctrlKey"),shift:Pa("!$event.shiftKey"),alt:Pa("!$event.altKey"),meta:Pa("!$event.metaKey"),left:Pa("'button' in $event && $event.button !== 0"),middle:Pa("'button' in $event && $event.button !== 1"),right:Pa("'button' in $event && $event.button !== 2")};function ja(t,e){var n=e?"nativeOn:":"on:",i="",r="";for(var o in t){var a=Ua(t[o]);t[o]&&t[o].dynamic?r+=o+","+a+",":i+='"'+o+'":'+a+","}return i="{"+i.slice(0,-1)+"}",r?n+"_d("+i+",["+r.slice(0,-1)+"])":n+i}function Ua(t){if(!t)return"function(){}";if(Array.isArray(t))return"["+t.map(function(t){return Ua(t)}).join(",")+"]";var e=Da.test(t.value),n=Ia.test(t.value),i=Da.test(t.value.replace(Ma,""));if(t.modifiers){var r="",o="",a=[];for(var s in t.modifiers)if(Na[s])o+=Na[s],La[s]&&a.push(s);else if("exact"===s){var l=t.modifiers;o+=Pa(["ctrl","shift","alt","meta"].filter(function(t){return!l[t]}).map(function(t){return"$event."+t+"Key"}).join("||"))}else a.push(s);return a.length&&(r+=function(t){return"if(!$event.type.indexOf('key')&&"+t.map(Ra).join("&&")+")return null;"}(a)),o&&(r+=o),"function($event){"+r+(e?"return "+t.value+"($event)":n?"return ("+t.value+")($event)":i?"return "+t.value:t.value)+"}"}return e||n?t.value:"function($event){"+(i?"return "+t.value:t.value)+"}"}function Ra(t){var e=parseInt(t,10);if(e)return"$event.keyCode!=="+e;var n=La[t],i=Fa[t];return"_k($event.keyCode,"+JSON.stringify(t)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(i)+")"}var Qa={on:function(t,e){t.wrapListeners=function(t){return"_g("+t+","+e.value+")"}},bind:function(t,e){t.wrapData=function(n){return"_b("+n+",'"+t.tag+"',"+e.value+","+(e.modifiers&&e.modifiers.prop?"true":"false")+(e.modifiers&&e.modifiers.sync?",true":"")+")"}},cloak:I},Ha=function(t){this.options=t,this.warn=t.warn||Mi,this.transforms=Di(t.modules,"transformCode"),this.dataGenFns=Di(t.modules,"genData"),this.directives=O(O({},Qa),t.directives);var e=t.isReservedTag||M;this.maybeComponent=function(t){return!!t.component||!e(t.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Va(t,e){var n=new Ha(e);return{render:"with(this){return "+(t?za(t,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function za(t,e){if(t.parent&&(t.pre=t.pre||t.parent.pre),t.staticRoot&&!t.staticProcessed)return $a(t,e);if(t.once&&!t.onceProcessed)return Ga(t,e);if(t.for&&!t.forProcessed)return Ka(t,e);if(t.if&&!t.ifProcessed)return Wa(t,e);if("template"!==t.tag||t.slotTarget||e.pre){if("slot"===t.tag)return function(t,e){var n=t.slotName||'"default"',i=Za(t,e),r="_t("+n+(i?","+i:""),o=t.attrs||t.dynamicAttrs?es((t.attrs||[]).concat(t.dynamicAttrs||[]).map(function(t){return{name:x(t.name),value:t.value,dynamic:t.dynamic}})):null,a=t.attrsMap["v-bind"];!o&&!a||i||(r+=",null");o&&(r+=","+o);a&&(r+=(o?"":",null")+","+a);return r+")"}(t,e);var n;if(t.component)n=function(t,e,n){var i=e.inlineTemplate?null:Za(e,n,!0);return"_c("+t+","+Ya(e,n)+(i?","+i:"")+")"}(t.component,t,e);else{var i;(!t.plain||t.pre&&e.maybeComponent(t))&&(i=Ya(t,e));var r=t.inlineTemplate?null:Za(t,e,!0);n="_c('"+t.tag+"'"+(i?","+i:"")+(r?","+r:"")+")"}for(var o=0;o<e.transforms.length;o++)n=e.transforms[o](t,n);return n}return Za(t,e)||"void 0"}function $a(t,e){t.staticProcessed=!0;var n=e.pre;return t.pre&&(e.pre=t.pre),e.staticRenderFns.push("with(this){return "+za(t,e)+"}"),e.pre=n,"_m("+(e.staticRenderFns.length-1)+(t.staticInFor?",true":"")+")"}function Ga(t,e){if(t.onceProcessed=!0,t.if&&!t.ifProcessed)return Wa(t,e);if(t.staticInFor){for(var n="",i=t.parent;i;){if(i.for){n=i.key;break}i=i.parent}return n?"_o("+za(t,e)+","+e.onceId+++","+n+")":za(t,e)}return $a(t,e)}function Wa(t,e,n,i){return t.ifProcessed=!0,function t(e,n,i,r){if(!e.length)return r||"_e()";var o=e.shift();return o.exp?"("+o.exp+")?"+a(o.block)+":"+t(e,n,i,r):""+a(o.block);function a(t){return i?i(t,n):t.once?Ga(t,n):za(t,n)}}(t.ifConditions.slice(),e,n,i)}function Ka(t,e,n,i){var r=t.for,o=t.alias,a=t.iterator1?","+t.iterator1:"",s=t.iterator2?","+t.iterator2:"";return t.forProcessed=!0,(i||"_l")+"(("+r+"),function("+o+a+s+"){return "+(n||za)(t,e)+"})"}function Ya(t,e){var n="{",i=function(t,e){var n=t.directives;if(!n)return;var i,r,o,a,s="directives:[",l=!1;for(i=0,r=n.length;i<r;i++){o=n[i],a=!0;var c=e.directives[o.name];c&&(a=!!c(t,o,e.warn)),a&&(l=!0,s+='{name:"'+o.name+'",rawName:"'+o.rawName+'"'+(o.value?",value:("+o.value+"),expression:"+JSON.stringify(o.value):"")+(o.arg?",arg:"+(o.isDynamicArg?o.arg:'"'+o.arg+'"'):"")+(o.modifiers?",modifiers:"+JSON.stringify(o.modifiers):"")+"},")}if(l)return s.slice(0,-1)+"]"}(t,e);i&&(n+=i+","),t.key&&(n+="key:"+t.key+","),t.ref&&(n+="ref:"+t.ref+","),t.refInFor&&(n+="refInFor:true,"),t.pre&&(n+="pre:true,"),t.component&&(n+='tag:"'+t.tag+'",');for(var r=0;r<e.dataGenFns.length;r++)n+=e.dataGenFns[r](t);if(t.attrs&&(n+="attrs:"+es(t.attrs)+","),t.props&&(n+="domProps:"+es(t.props)+","),t.events&&(n+=ja(t.events,!1)+","),t.nativeEvents&&(n+=ja(t.nativeEvents,!0)+","),t.slotTarget&&!t.slotScope&&(n+="slot:"+t.slotTarget+","),t.scopedSlots&&(n+=function(t,e,n){var i=t.for||Object.keys(e).some(function(t){var n=e[t];return n.slotTargetDynamic||n.if||n.for||Xa(n)}),r=!!t.if;if(!i)for(var o=t.parent;o;){if(o.slotScope&&o.slotScope!==pa||o.for){i=!0;break}o.if&&(r=!0),o=o.parent}var a=Object.keys(e).map(function(t){return qa(e[t],n)}).join(",");return"scopedSlots:_u(["+a+"]"+(i?",null,true":"")+(!i&&r?",null,false,"+function(t){var e=5381,n=t.length;for(;n;)e=33*e^t.charCodeAt(--n);return e>>>0}(a):"")+")"}(t,t.scopedSlots,e)+","),t.model&&(n+="model:{value:"+t.model.value+",callback:"+t.model.callback+",expression:"+t.model.expression+"},"),t.inlineTemplate){var o=function(t,e){var n=t.children[0];0;if(n&&1===n.type){var i=Va(n,e.options);return"inlineTemplate:{render:function(){"+i.render+"},staticRenderFns:["+i.staticRenderFns.map(function(t){return"function(){"+t+"}"}).join(",")+"]}"}}(t,e);o&&(n+=o+",")}return n=n.replace(/,$/,"")+"}",t.dynamicAttrs&&(n="_b("+n+',"'+t.tag+'",'+es(t.dynamicAttrs)+")"),t.wrapData&&(n=t.wrapData(n)),t.wrapListeners&&(n=t.wrapListeners(n)),n}function Xa(t){return 1===t.type&&("slot"===t.tag||t.children.some(Xa))}function qa(t,e){var n=t.attrsMap["slot-scope"];if(t.if&&!t.ifProcessed&&!n)return Wa(t,e,qa,"null");if(t.for&&!t.forProcessed)return Ka(t,e,qa);var i=t.slotScope===pa?"":String(t.slotScope),r="function("+i+"){return "+("template"===t.tag?t.if&&n?"("+t.if+")?"+(Za(t,e)||"undefined")+":undefined":Za(t,e)||"undefined":za(t,e))+"}",o=i?"":",proxy:true";return"{key:"+(t.slotTarget||'"default"')+",fn:"+r+o+"}"}function Za(t,e,n,i,r){var o=t.children;if(o.length){var a=o[0];if(1===o.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?e.maybeComponent(a)?",1":",0":"";return""+(i||za)(a,e)+s}var l=n?function(t,e){for(var n=0,i=0;i<t.length;i++){var r=t[i];if(1===r.type){if(Ja(r)||r.ifConditions&&r.ifConditions.some(function(t){return Ja(t.block)})){n=2;break}(e(r)||r.ifConditions&&r.ifConditions.some(function(t){return e(t.block)}))&&(n=1)}}return n}(o,e.maybeComponent):0,c=r||ts;return"["+o.map(function(t){return c(t,e)}).join(",")+"]"+(l?","+l:"")}}function Ja(t){return void 0!==t.for||"template"===t.tag||"slot"===t.tag}function ts(t,e){return 1===t.type?za(t,e):3===t.type&&t.isComment?(i=t,"_e("+JSON.stringify(i.text)+")"):"_v("+(2===(n=t).type?n.expression:ns(JSON.stringify(n.text)))+")";var n,i}function es(t){for(var e="",n="",i=0;i<t.length;i++){var r=t[i],o=ns(r.value);r.dynamic?n+=r.name+","+o+",":e+='"'+r.name+'":'+o+","}return e="{"+e.slice(0,-1)+"}",n?"_d("+e+",["+n.slice(0,-1)+"])":e}function ns(t){return t.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)");function is(t,e){try{return new Function(t)}catch(n){return e.push({err:n,code:t}),I}}function rs(t){var e=Object.create(null);return function(n,i,r){(i=O({},i)).warn;delete i.warn;var o=i.delimiters?String(i.delimiters)+n:n;if(e[o])return e[o];var a=t(n,i);var s={},l=[];return s.render=is(a.render,l),s.staticRenderFns=a.staticRenderFns.map(function(t){return is(t,l)}),e[o]=s}}var os,as,ss=(os=function(t,e){var n=ga(t.trim(),e);!1!==e.optimize&&Ea(n,e);var i=Va(n,e);return{ast:n,render:i.render,staticRenderFns:i.staticRenderFns}},function(t){function e(e,n){var i=Object.create(t),r=[],o=[],a=function(t,e,n){(n?o:r).push(t)};if(n)for(var s in n.modules&&(i.modules=(t.modules||[]).concat(n.modules)),n.directives&&(i.directives=O(Object.create(t.directives||null),n.directives)),n)"modules"!==s&&"directives"!==s&&(i[s]=n[s]);i.warn=a;var l=os(e.trim(),i);return l.errors=r,l.tips=o,l}return{compile:e,compileToFunctions:rs(e)}})(Ta),ls=(ss.compile,ss.compileToFunctions);function cs(t){return(as=as||document.createElement("div")).innerHTML=t?'<a href="\n"/>':'<div a="\n"/>',as.innerHTML.indexOf("&#10;")>0}var us=!!W&&cs(!1),hs=!!W&&cs(!0),ds=_(function(t){var e=ni(t);return e&&e.innerHTML}),fs=Bn.prototype.$mount;Bn.prototype.$mount=function(t,e){if((t=t&&ni(t))===document.body||t===document.documentElement)return this;var n=this.$options;if(!n.render){var i=n.template;if(i)if("string"==typeof i)"#"===i.charAt(0)&&(i=ds(i));else{if(!i.nodeType)return this;i=i.innerHTML}else t&&(i=function(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}(t));if(i){0;var r=ls(i,{outputSourceRange:!1,shouldDecodeNewlines:us,shouldDecodeNewlinesForHref:hs,delimiters:n.delimiters,comments:n.comments},this),o=r.render,a=r.staticRenderFns;n.render=o,n.staticRenderFns=a}}return fs.call(this,t,e)},Bn.compile=ls,e.default=Bn}.call(e,n("DuR2"))},"76UX":function(t,e,n){"use strict";var i="undefined"!=typeof Symbol&&Symbol,r=n("9MlZ");t.exports=function(){return"function"==typeof i&&("function"==typeof Symbol&&("symbol"==typeof i("foo")&&("symbol"==typeof Symbol("bar")&&r())))}},"77Pl":function(t,e,n){var i=n("EqjI");t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},"7Doy":function(t,e,n){var i=n("EqjI"),r=n("7UMu"),o=n("dSzd")("species");t.exports=function(t){var e;return r(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!r(e.prototype)||(e=void 0),i(e)&&null===(e=e[o])&&(e=void 0)),void 0===e?Array:e}},"7GwW":function(t,e,n){"use strict";var i=n("cGG2"),r=n("21It"),o=n("p1b6"),a=n("DQCr"),s=n("Oi+a"),l=n("oJlt"),c=n("GHBc"),u=n("FtD3");t.exports=function(t){return new Promise(function(e,n){var h=t.data,d=t.headers;i.isFormData(h)&&delete d["Content-Type"];var f=new XMLHttpRequest;if(t.auth){var p=t.auth.username||"",A=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";d.Authorization="Basic "+btoa(p+":"+A)}var g=s(t.baseURL,t.url);if(f.open(t.method.toUpperCase(),a(g,t.params,t.paramsSerializer),!0),f.timeout=t.timeout,f.onreadystatechange=function(){if(f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))){var i="getAllResponseHeaders"in f?l(f.getAllResponseHeaders()):null,o={data:t.responseType&&"text"!==t.responseType?f.response:f.responseText,status:f.status,statusText:f.statusText,headers:i,config:t,request:f};r(e,n,o),f=null}},f.onabort=function(){f&&(n(u("Request aborted",t,"ECONNABORTED",f)),f=null)},f.onerror=function(){n(u("Network Error",t,null,f)),f=null},f.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(u(e,t,"ECONNABORTED",f)),f=null},i.isStandardBrowserEnv()){var v=(t.withCredentials||c(g))&&t.xsrfCookieName?o.read(t.xsrfCookieName):void 0;v&&(d[t.xsrfHeaderName]=v)}if("setRequestHeader"in f&&i.forEach(d,function(t,e){void 0===h&&"content-type"===e.toLowerCase()?delete d[e]:f.setRequestHeader(e,t)}),i.isUndefined(t.withCredentials)||(f.withCredentials=!!t.withCredentials),t.responseType)try{f.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&f.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(t){f&&(f.abort(),n(t),f=null)}),h||(h=null),f.send(h)})}},"7J9s":function(t,e,n){"use strict";e.__esModule=!0,e.PopupManager=void 0;var i=l(n("7+uW")),r=l(n("jmaC")),o=l(n("OAzY")),a=l(n("6Twh")),s=n("2kvA");function l(t){return t&&t.__esModule?t:{default:t}}var c=1,u=void 0;e.default={props:{visible:{type:Boolean,default:!1},openDelay:{},closeDelay:{},zIndex:{},modal:{type:Boolean,default:!1},modalFade:{type:Boolean,default:!0},modalClass:{},modalAppendToBody:{type:Boolean,default:!1},lockScroll:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!1},closeOnClickModal:{type:Boolean,default:!1}},beforeMount:function(){this._popupId="popup-"+c++,o.default.register(this._popupId,this)},beforeDestroy:function(){o.default.deregister(this._popupId),o.default.closeModal(this._popupId),this.restoreBodyStyle()},data:function(){return{opened:!1,bodyPaddingRight:null,computedBodyPaddingRight:0,withoutHiddenClass:!0,rendered:!1}},watch:{visible:function(t){var e=this;if(t){if(this._opening)return;this.rendered?this.open():(this.rendered=!0,i.default.nextTick(function(){e.open()}))}else this.close()}},methods:{open:function(t){var e=this;this.rendered||(this.rendered=!0);var n=(0,r.default)({},this.$props||this,t);this._closeTimer&&(clearTimeout(this._closeTimer),this._closeTimer=null),clearTimeout(this._openTimer);var i=Number(n.openDelay);i>0?this._openTimer=setTimeout(function(){e._openTimer=null,e.doOpen(n)},i):this.doOpen(n)},doOpen:function(t){if(!this.$isServer&&(!this.willOpen||this.willOpen())&&!this.opened){this._opening=!0;var e=this.$el,n=t.modal,i=t.zIndex;if(i&&(o.default.zIndex=i),n&&(this._closing&&(o.default.closeModal(this._popupId),this._closing=!1),o.default.openModal(this._popupId,o.default.nextZIndex(),this.modalAppendToBody?void 0:e,t.modalClass,t.modalFade),t.lockScroll)){this.withoutHiddenClass=!(0,s.hasClass)(document.body,"el-popup-parent--hidden"),this.withoutHiddenClass&&(this.bodyPaddingRight=document.body.style.paddingRight,this.computedBodyPaddingRight=parseInt((0,s.getStyle)(document.body,"paddingRight"),10)),u=(0,a.default)();var r=document.documentElement.clientHeight<document.body.scrollHeight,l=(0,s.getStyle)(document.body,"overflowY");u>0&&(r||"scroll"===l)&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.computedBodyPaddingRight+u+"px"),(0,s.addClass)(document.body,"el-popup-parent--hidden")}"static"===getComputedStyle(e).position&&(e.style.position="absolute"),e.style.zIndex=o.default.nextZIndex(),this.opened=!0,this.onOpen&&this.onOpen(),this.doAfterOpen()}},doAfterOpen:function(){this._opening=!1},close:function(){var t=this;if(!this.willClose||this.willClose()){null!==this._openTimer&&(clearTimeout(this._openTimer),this._openTimer=null),clearTimeout(this._closeTimer);var e=Number(this.closeDelay);e>0?this._closeTimer=setTimeout(function(){t._closeTimer=null,t.doClose()},e):this.doClose()}},doClose:function(){this._closing=!0,this.onClose&&this.onClose(),this.lockScroll&&setTimeout(this.restoreBodyStyle,200),this.opened=!1,this.doAfterClose()},doAfterClose:function(){o.default.closeModal(this._popupId),this._closing=!1},restoreBodyStyle:function(){this.modal&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.bodyPaddingRight,(0,s.removeClass)(document.body,"el-popup-parent--hidden")),this.withoutHiddenClass=!0}}},e.PopupManager=o.default},"7KvD":function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"7UMu":function(t,e,n){var i=n("R9M2");t.exports=Array.isArray||function(t){return"Array"==i(t)}},"7ar3":function(t,e,n){"use strict";var i=SyntaxError,r=Function,o=TypeError,a=function(t){try{return r('"use strict"; return ('+t+").constructor;")()}catch(t){}},s=Object.getOwnPropertyDescriptor;if(s)try{s({},"")}catch(t){s=null}var l=function(){throw new o},c=s?function(){try{return arguments.callee,l}catch(t){try{return s(arguments,"callee").get}catch(t){return l}}}():l,u=n("76UX")(),h=Object.getPrototypeOf||function(t){return t.__proto__},d={},f="undefined"==typeof Uint8Array?void 0:h(Uint8Array),p={"%AggregateError%":"undefined"==typeof AggregateError?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":u?h([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":d,"%AsyncGenerator%":d,"%AsyncGeneratorFunction%":d,"%AsyncIteratorPrototype%":d,"%Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"%BigInt%":"undefined"==typeof BigInt?void 0:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?void 0:FinalizationRegistry,"%Function%":r,"%GeneratorFunction%":d,"%Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":u?h(h([][Symbol.iterator]())):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%Map%":"undefined"==typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&u?h((new Map)[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?void 0:Promise,"%Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&u?h((new Set)[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":u?h(""[Symbol.iterator]()):void 0,"%Symbol%":u?Symbol:void 0,"%SyntaxError%":i,"%ThrowTypeError%":c,"%TypedArray%":f,"%TypeError%":o,"%Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?void 0:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet},A={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},g=n("PiFy"),v=n("XfW5"),m=g.call(Function.call,Array.prototype.concat),y=g.call(Function.apply,Array.prototype.splice),b=g.call(Function.call,String.prototype.replace),_=g.call(Function.call,String.prototype.slice),w=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,x=/\\(\\)?/g,C=function(t,e){var n,r=t;if(v(A,r)&&(r="%"+(n=A[r])[0]+"%"),v(p,r)){var s=p[r];if(s===d&&(s=function t(e){var n;if("%AsyncFunction%"===e)n=a("async function () {}");else if("%GeneratorFunction%"===e)n=a("function* () {}");else if("%AsyncGeneratorFunction%"===e)n=a("async function* () {}");else if("%AsyncGenerator%"===e){var i=t("%AsyncGeneratorFunction%");i&&(n=i.prototype)}else if("%AsyncIteratorPrototype%"===e){var r=t("%AsyncGenerator%");r&&(n=h(r.prototype))}return p[e]=n,n}(r)),void 0===s&&!e)throw new o("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:s}}throw new i("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new o('"allowMissing" argument must be a boolean');var n=function(t){var e=_(t,0,1),n=_(t,-1);if("%"===e&&"%"!==n)throw new i("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==e)throw new i("invalid intrinsic syntax, expected opening `%`");var r=[];return b(t,w,function(t,e,n,i){r[r.length]=n?b(i,x,"$1"):e||t}),r}(t),r=n.length>0?n[0]:"",a=C("%"+r+"%",e),l=a.name,c=a.value,u=!1,h=a.alias;h&&(r=h[0],y(n,m([0,1],h)));for(var d=1,f=!0;d<n.length;d+=1){var A=n[d],g=_(A,0,1),S=_(A,-1);if(('"'===g||"'"===g||"`"===g||'"'===S||"'"===S||"`"===S)&&g!==S)throw new i("property names with quotes must have matching quotes");if("constructor"!==A&&f||(u=!0),v(p,l="%"+(r+="."+A)+"%"))c=p[l];else if(null!=c){if(!(A in c)){if(!e)throw new o("base intrinsic for "+t+" exists, but the property is not available.");return}if(s&&d+1>=n.length){var B=s(c,A);c=(f=!!B)&&"get"in B&&!("originalValue"in B.get)?B.get:c[A]}else f=v(c,A),c=c[A];f&&!u&&(p[l]=c)}}return c}},"82Mu":function(t,e,n){var i=n("7KvD"),r=n("L42u").set,o=i.MutationObserver||i.WebKitMutationObserver,a=i.process,s=i.Promise,l="process"==n("R9M2")(a);t.exports=function(){var t,e,n,c=function(){var i,r;for(l&&(i=a.domain)&&i.exit();t;){r=t.fn,t=t.next;try{r()}catch(i){throw t?n():e=void 0,i}}e=void 0,i&&i.enter()};if(l)n=function(){a.nextTick(c)};else if(!o||i.navigator&&i.navigator.standalone)if(s&&s.resolve){var u=s.resolve(void 0);n=function(){u.then(c)}}else n=function(){r.call(i,c)};else{var h=!0,d=document.createTextNode("");new o(c).observe(d,{characterData:!0}),n=function(){d.data=h=!h}}return function(i){var r={fn:i,next:void 0};e&&(e.next=r),t||(t=r,n()),e=r}}},"835U":function(t,e,n){"use strict";e.__esModule=!0,e.isString=function(t){return"[object String]"===Object.prototype.toString.call(t)},e.isObject=function(t){return"[object Object]"===Object.prototype.toString.call(t)},e.isHtmlElement=function(t){return t&&t.nodeType===Node.ELEMENT_NODE};e.isFunction=function(t){return t&&"[object Function]"==={}.toString.call(t)},e.isUndefined=function(t){return void 0===t},e.isDefined=function(t){return void 0!==t&&null!==t}},"880/":function(t,e,n){t.exports=n("hJx8")},"881s":function(t,e,n){"use strict";t.exports=n("MfCb")},"8PNL":function(t,e,n){"use strict";var i=n("1b2O");function r(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}r.prototype.Token=i,t.exports=r},"94VQ":function(t,e,n){"use strict";var i=n("Yobk"),r=n("X8DO"),o=n("e6n0"),a={};n("hJx8")(a,n("dSzd")("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=i(a,{next:r(1,n)}),o(t,e+" Iterator")}},"9Bbf":function(t,e,n){"use strict";var i=n("kM2E");t.exports=function(t){i(i.S,t,{of:function(){for(var t=arguments.length,e=new Array(t);t--;)e[t]=arguments[t];return new this(e)}})}},"9C8M":function(t,e,n){"use strict";var i=n("evD5").f,r=n("Yobk"),o=n("xH/j"),a=n("+ZMJ"),s=n("2KxR"),l=n("NWt+"),c=n("vIB/"),u=n("EGZi"),h=n("bRrM"),d=n("+E39"),f=n("06OY").fastKey,p=n("LIJb"),A=d?"_s":"size",g=function(t,e){var n,i=f(e);if("F"!==i)return t._i[i];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,n,c){var u=t(function(t,i){s(t,u,e,"_i"),t._t=e,t._i=r(null),t._f=void 0,t._l=void 0,t[A]=0,void 0!=i&&l(i,n,t[c],t)});return o(u.prototype,{clear:function(){for(var t=p(this,e),n=t._i,i=t._f;i;i=i.n)i.r=!0,i.p&&(i.p=i.p.n=void 0),delete n[i.i];t._f=t._l=void 0,t[A]=0},delete:function(t){var n=p(this,e),i=g(n,t);if(i){var r=i.n,o=i.p;delete n._i[i.i],i.r=!0,o&&(o.n=r),r&&(r.p=o),n._f==i&&(n._f=r),n._l==i&&(n._l=o),n[A]--}return!!i},forEach:function(t){p(this,e);for(var n,i=a(t,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(i(n.v,n.k,this);n&&n.r;)n=n.p},has:function(t){return!!g(p(this,e),t)}}),d&&i(u.prototype,"size",{get:function(){return p(this,e)[A]}}),u},def:function(t,e,n){var i,r,o=g(t,e);return o?o.v=n:(t._l=o={i:r=f(e,!0),k:e,v:n,p:i=t._l,n:void 0,r:!1},t._f||(t._f=o),i&&(i.n=o),t[A]++,"F"!==r&&(t._i[r]=o)),t},getEntry:g,setStrong:function(t,e,n){c(t,e,function(t,n){this._t=p(t,e),this._k=n,this._l=void 0},function(){for(var t=this._k,e=this._l;e&&e.r;)e=e.p;return this._t&&(this._l=e=e?e.n:this._t._f)?u(0,"keys"==t?e.k:"values"==t?e.v:[e.k,e.v]):(this._t=void 0,u(1))},n?"entries":"values",!n,!0),h(e)}}},"9MlZ":function(t,e,n){"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),n=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var i=Object.getOwnPropertySymbols(t);if(1!==i.length||i[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var r=Object.getOwnPropertyDescriptor(t,e);if(42!==r.value||!0!==r.enumerable)return!1}return!0}},"9v3E":function(t,e,n){"use strict";var i=n("BldQ"),r=[["text",n("Hvbp")],["linkify",n("hCci")],["newline",n("YNYx")],["escape",n("z7gM")],["backticks",n("LAoY")],["strikethrough",n("HVvo").tokenize],["emphasis",n("Inmu").tokenize],["link",n("EL1N")],["image",n("WCAV")],["autolink",n("W1VW")],["html_inline",n("ryq5")],["entity",n("sIya")]],o=[["balance_pairs",n("GmDp")],["strikethrough",n("HVvo").postProcess],["emphasis",n("Inmu").postProcess],["fragments_join",n("rYzl")]];function a(){var t;for(this.ruler=new i,t=0;t<r.length;t++)this.ruler.push(r[t][0],r[t][1]);for(this.ruler2=new i,t=0;t<o.length;t++)this.ruler2.push(o[t][0],o[t][1])}a.prototype.skipToken=function(t){var e,n,i=t.pos,r=this.ruler.getRules(""),o=r.length,a=t.md.options.maxNesting,s=t.cache;if(void 0===s[i]){if(t.level<a){for(n=0;n<o;n++)if(t.level++,e=r[n](t,!0),t.level--,e){if(i>=t.pos)throw new Error("inline rule didn't increment state.pos");break}}else t.pos=t.posMax;e||t.pos++,s[i]=t.pos}else t.pos=s[i]},a.prototype.tokenize=function(t){for(var e,n,i,r=this.ruler.getRules(""),o=r.length,a=t.posMax,s=t.md.options.maxNesting;t.pos<a;){if(i=t.pos,t.level<s)for(n=0;n<o;n++)if(e=r[n](t,!1)){if(i>=t.pos)throw new Error("inline rule didn't increment state.pos");break}if(e){if(t.pos>=a)break}else t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()},a.prototype.parse=function(t,e,n,i){var r,o,a,s=new this.State(t,e,n,i);for(this.tokenize(s),a=(o=this.ruler2.getRules("")).length,r=0;r<a;r++)o[r](s)},a.prototype.State=n("gEWq"),t.exports=a},ALrJ:function(t,e,n){var i=n("+ZMJ"),r=n("MU5D"),o=n("sB3e"),a=n("QRG4"),s=n("oeOm");t.exports=function(t,e){var n=1==t,l=2==t,c=3==t,u=4==t,h=6==t,d=5==t||h,f=e||s;return function(e,s,p){for(var A,g,v=o(e),m=r(v),y=i(s,p,3),b=a(m.length),_=0,w=n?f(e,b):l?f(e,0):void 0;b>_;_++)if((d||_ in m)&&(g=y(A=m[_],_,v),t))if(n)w[_]=g;else if(g)switch(t){case 3:return!0;case 5:return A;case 6:return _;case 2:w.push(A)}else if(u)return!1;return h?-1:c||u?u:w}}},AMCD:function(t,e,n){"use strict";e.__esModule=!0,e.validateRangeInOneMonth=e.extractTimeFormat=e.extractDateFormat=e.nextYear=e.prevYear=e.nextMonth=e.prevMonth=e.changeYearMonthAndClampDate=e.timeWithinRange=e.limitTimeRange=e.clearMilliseconds=e.clearTime=e.modifyWithTimeString=e.modifyTime=e.modifyDate=e.range=e.getRangeMinutes=e.getMonthDays=e.getPrevMonthLastDays=e.getRangeHours=e.getWeekNumber=e.getStartDateOfMonth=e.nextDate=e.prevDate=e.getFirstDayOfMonth=e.getDayCountOfYear=e.getDayCountOfMonth=e.parseDate=e.formatDate=e.isDateObject=e.isDate=e.toDate=e.getI18nSettings=void 0;var i,r=n("eNfa"),o=(i=r)&&i.__esModule?i:{default:i},a=n("urW8");var s=["sun","mon","tue","wed","thu","fri","sat"],l=["jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec"],c=e.getI18nSettings=function(){return{dayNamesShort:s.map(function(t){return(0,a.t)("el.datepicker.weeks."+t)}),dayNames:s.map(function(t){return(0,a.t)("el.datepicker.weeks."+t)}),monthNamesShort:l.map(function(t){return(0,a.t)("el.datepicker.months."+t)}),monthNames:l.map(function(t,e){return(0,a.t)("el.datepicker.month"+(e+1))}),amPm:["am","pm"]}},u=e.toDate=function(t){return h(t)?new Date(t):null},h=e.isDate=function(t){return null!==t&&void 0!==t&&(!isNaN(new Date(t).getTime())&&!Array.isArray(t))},d=(e.isDateObject=function(t){return t instanceof Date},e.formatDate=function(t,e){return(t=u(t))?o.default.format(t,e||"yyyy-MM-dd",c()):""},e.parseDate=function(t,e){return o.default.parse(t,e||"yyyy-MM-dd",c())}),f=e.getDayCountOfMonth=function(t,e){return 3===e||5===e||8===e||10===e?30:1===e?t%4==0&&t%100!=0||t%400==0?29:28:31},p=(e.getDayCountOfYear=function(t){return t%400==0||t%100!=0&&t%4==0?366:365},e.getFirstDayOfMonth=function(t){var e=new Date(t.getTime());return e.setDate(1),e.getDay()},e.prevDate=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return new Date(t.getFullYear(),t.getMonth(),t.getDate()-e)});e.nextDate=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return new Date(t.getFullYear(),t.getMonth(),t.getDate()+e)},e.getStartDateOfMonth=function(t,e){var n=new Date(t,e,1),i=n.getDay();return p(n,0===i?7:i)},e.getWeekNumber=function(t){if(!h(t))return null;var e=new Date(t.getTime());e.setHours(0,0,0,0),e.setDate(e.getDate()+3-(e.getDay()+6)%7);var n=new Date(e.getFullYear(),0,4);return 1+Math.round(((e.getTime()-n.getTime())/864e5-3+(n.getDay()+6)%7)/7)},e.getRangeHours=function(t){var e=[],n=[];if((t||[]).forEach(function(t){var e=t.map(function(t){return t.getHours()});n=n.concat(function(t,e){for(var n=[],i=t;i<=e;i++)n.push(i);return n}(e[0],e[1]))}),n.length)for(var i=0;i<24;i++)e[i]=-1===n.indexOf(i);else for(var r=0;r<24;r++)e[r]=!1;return e},e.getPrevMonthLastDays=function(t,e){if(e<=0)return[];var n=new Date(t.getTime());n.setDate(0);var i=n.getDate();return g(e).map(function(t,n){return i-(e-n-1)})},e.getMonthDays=function(t){var e=new Date(t.getFullYear(),t.getMonth()+1,0).getDate();return g(e).map(function(t,e){return e+1})};function A(t,e,n,i){for(var r=e;r<n;r++)t[r]=i}e.getRangeMinutes=function(t,e){var n=new Array(60);return t.length>0?t.forEach(function(t){var i=t[0],r=t[1],o=i.getHours(),a=i.getMinutes(),s=r.getHours(),l=r.getMinutes();o===e&&s!==e?A(n,a,60,!0):o===e&&s===e?A(n,a,l+1,!0):o!==e&&s===e?A(n,0,l+1,!0):o<e&&s>e&&A(n,0,60,!0)}):A(n,0,60,!0),n};var g=e.range=function(t){return Array.apply(null,{length:t}).map(function(t,e){return e})},v=e.modifyDate=function(t,e,n,i){return new Date(e,n,i,t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds())},m=e.modifyTime=function(t,e,n,i){return new Date(t.getFullYear(),t.getMonth(),t.getDate(),e,n,i,t.getMilliseconds())},y=(e.modifyWithTimeString=function(t,e){return null!=t&&e?(e=d(e,"HH:mm:ss"),m(t,e.getHours(),e.getMinutes(),e.getSeconds())):t},e.clearTime=function(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate())},e.clearMilliseconds=function(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),0)},e.limitTimeRange=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"HH:mm:ss";if(0===e.length)return t;var i=function(t){return o.default.parse(o.default.format(t,n),n)},r=i(t),a=e.map(function(t){return t.map(i)});if(a.some(function(t){return r>=t[0]&&r<=t[1]}))return t;var s=a[0][0],l=a[0][0];return a.forEach(function(t){s=new Date(Math.min(t[0],s)),l=new Date(Math.max(t[1],s))}),v(r<s?s:l,t.getFullYear(),t.getMonth(),t.getDate())}),b=(e.timeWithinRange=function(t,e,n){return y(t,e,n).getTime()===t.getTime()},e.changeYearMonthAndClampDate=function(t,e,n){var i=Math.min(t.getDate(),f(e,n));return v(t,e,n,i)});e.prevMonth=function(t){var e=t.getFullYear(),n=t.getMonth();return 0===n?b(t,e-1,11):b(t,e,n-1)},e.nextMonth=function(t){var e=t.getFullYear(),n=t.getMonth();return 11===n?b(t,e+1,0):b(t,e,n+1)},e.prevYear=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=t.getFullYear(),i=t.getMonth();return b(t,n-e,i)},e.nextYear=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=t.getFullYear(),i=t.getMonth();return b(t,n+e,i)},e.extractDateFormat=function(t){return t.replace(/\W?m{1,2}|\W?ZZ/g,"").replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi,"").trim()},e.extractTimeFormat=function(t){return t.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?y{2,4}/g,"").trim()},e.validateRangeInOneMonth=function(t,e){return t.getMonth()===e.getMonth()&&t.getFullYear()===e.getFullYear()}},BDhv:function(t,e,n){var i=n("kM2E");i(i.P+i.R,"Set",{toJSON:n("m9gC")("Set")})},BO1k:function(t,e,n){t.exports={default:n("fxRn"),__esModule:!0}},BldQ:function(t,e,n){"use strict";function i(){this.__rules__=[],this.__cache__=null}i.prototype.__find__=function(t){for(var e=0;e<this.__rules__.length;e++)if(this.__rules__[e].name===t)return e;return-1},i.prototype.__compile__=function(){var t=this,e=[""];t.__rules__.forEach(function(t){t.enabled&&t.alt.forEach(function(t){e.indexOf(t)<0&&e.push(t)})}),t.__cache__={},e.forEach(function(e){t.__cache__[e]=[],t.__rules__.forEach(function(n){n.enabled&&(e&&n.alt.indexOf(e)<0||t.__cache__[e].push(n.fn))})})},i.prototype.at=function(t,e,n){var i=this.__find__(t),r=n||{};if(-1===i)throw new Error("Parser rule not found: "+t);this.__rules__[i].fn=e,this.__rules__[i].alt=r.alt||[],this.__cache__=null},i.prototype.before=function(t,e,n,i){var r=this.__find__(t),o=i||{};if(-1===r)throw new Error("Parser rule not found: "+t);this.__rules__.splice(r,0,{name:e,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},i.prototype.after=function(t,e,n,i){var r=this.__find__(t),o=i||{};if(-1===r)throw new Error("Parser rule not found: "+t);this.__rules__.splice(r+1,0,{name:e,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},i.prototype.push=function(t,e,n){var i=n||{};this.__rules__.push({name:t,enabled:!0,fn:e,alt:i.alt||[]}),this.__cache__=null},i.prototype.enable=function(t,e){Array.isArray(t)||(t=[t]);var n=[];return t.forEach(function(t){var i=this.__find__(t);if(i<0){if(e)return;throw new Error("Rules manager: invalid rule name "+t)}this.__rules__[i].enabled=!0,n.push(t)},this),this.__cache__=null,n},i.prototype.enableOnly=function(t,e){Array.isArray(t)||(t=[t]),this.__rules__.forEach(function(t){t.enabled=!1}),this.enable(t,e)},i.prototype.disable=function(t,e){Array.isArray(t)||(t=[t]);var n=[];return t.forEach(function(t){var i=this.__find__(t);if(i<0){if(e)return;throw new Error("Rules manager: invalid rule name "+t)}this.__rules__[i].enabled=!1,n.push(t)},this),this.__cache__=null,n},i.prototype.getRules=function(t){return null===this.__cache__&&this.__compile__(),this.__cache__[t]||[]},t.exports=i},BwfY:function(t,e,n){n("fWfb"),n("M6a0"),n("OYls"),n("QWe/"),t.exports=n("FeBl").Symbol},CXw9:function(t,e,n){"use strict";var i,r,o,a,s=n("O4g8"),l=n("7KvD"),c=n("+ZMJ"),u=n("RY/4"),h=n("kM2E"),d=n("EqjI"),f=n("lOnJ"),p=n("2KxR"),A=n("NWt+"),g=n("t8x9"),v=n("L42u").set,m=n("82Mu")(),y=n("qARP"),b=n("dNDb"),_=n("iUbK"),w=n("fJUb"),x=l.TypeError,C=l.process,S=C&&C.versions,B=S&&S.v8||"",k=l.Promise,T="process"==u(C),O=function(){},E=r=y.f,I=!!function(){try{var t=k.resolve(1),e=(t.constructor={})[n("dSzd")("species")]=function(t){t(O,O)};return(T||"function"==typeof PromiseRejectionEvent)&&t.then(O)instanceof e&&0!==B.indexOf("6.6")&&-1===_.indexOf("Chrome/66")}catch(t){}}(),M=function(t){var e;return!(!d(t)||"function"!=typeof(e=t.then))&&e},D=function(t,e){if(!t._n){t._n=!0;var n=t._c;m(function(){for(var i=t._v,r=1==t._s,o=0,a=function(e){var n,o,a,s=r?e.ok:e.fail,l=e.resolve,c=e.reject,u=e.domain;try{s?(r||(2==t._h&&P(t),t._h=1),!0===s?n=i:(u&&u.enter(),n=s(i),u&&(u.exit(),a=!0)),n===e.promise?c(x("Promise-chain cycle")):(o=M(n))?o.call(n,l,c):l(n)):c(i)}catch(t){u&&!a&&u.exit(),c(t)}};n.length>o;)a(n[o++]);t._c=[],t._n=!1,e&&!t._h&&L(t)})}},L=function(t){v.call(l,function(){var e,n,i,r=t._v,o=F(t);if(o&&(e=b(function(){T?C.emit("unhandledRejection",r,t):(n=l.onunhandledrejection)?n({promise:t,reason:r}):(i=l.console)&&i.error&&i.error("Unhandled promise rejection",r)}),t._h=T||F(t)?2:1),t._a=void 0,o&&e.e)throw e.v})},F=function(t){return 1!==t._h&&0===(t._a||t._c).length},P=function(t){v.call(l,function(){var e;T?C.emit("rejectionHandled",t):(e=l.onrejectionhandled)&&e({promise:t,reason:t._v})})},N=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),D(e,!0))},j=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw x("Promise can't be resolved itself");(e=M(t))?m(function(){var i={_w:n,_d:!1};try{e.call(t,c(j,i,1),c(N,i,1))}catch(t){N.call(i,t)}}):(n._v=t,n._s=1,D(n,!1))}catch(t){N.call({_w:n,_d:!1},t)}}};I||(k=function(t){p(this,k,"Promise","_h"),f(t),i.call(this);try{t(c(j,this,1),c(N,this,1))}catch(t){N.call(this,t)}},(i=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n("xH/j")(k.prototype,{then:function(t,e){var n=E(g(this,k));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=T?C.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&D(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new i;this.promise=t,this.resolve=c(j,t,1),this.reject=c(N,t,1)},y.f=E=function(t){return t===k||t===a?new o(t):r(t)}),h(h.G+h.W+h.F*!I,{Promise:k}),n("e6n0")(k,"Promise"),n("bRrM")("Promise"),a=n("FeBl").Promise,h(h.S+h.F*!I,"Promise",{reject:function(t){var e=E(this);return(0,e.reject)(t),e.promise}}),h(h.S+h.F*(s||!I),"Promise",{resolve:function(t){return w(s&&this===a?k:this,t)}}),h(h.S+h.F*!(I&&n("dY0y")(function(t){k.all(t).catch(O)})),"Promise",{all:function(t){var e=this,n=E(e),i=n.resolve,r=n.reject,o=b(function(){var n=[],o=0,a=1;A(t,!1,function(t){var s=o++,l=!1;n.push(void 0),a++,e.resolve(t).then(function(t){l||(l=!0,n[s]=t,--a||i(n))},r)}),--a||i(n)});return o.e&&r(o.v),n.promise},race:function(t){var e=this,n=E(e),i=n.reject,r=b(function(){A(t,!1,function(t){e.resolve(t).then(n.resolve,i)})});return r.e&&i(r.v),n.promise}})},Cdx3:function(t,e,n){var i=n("sB3e"),r=n("lktj");n("uqUo")("keys",function(){return function(t){return r(i(t))}})},CoRl:function(t,e,n){"use strict";t.exports=function(t){var e={};t=t||{},e.src_Any=n("Mur9").source,e.src_Cc=n("DNGd").source,e.src_Z=n("gxby").source,e.src_P=n("TUzn").source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|");return e.src_pseudo_letter="(?:(?![><|]|"+e.src_ZPCc+")"+e.src_Any+")",e.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]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|[><|]|"+e.src_ZPCc+")(?!"+(t["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+e.src_ZCc+"|[.]|$)|"+(t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+e.src_ZCc+"|$)|;(?!"+e.src_ZCc+"|$)|\\!+(?!"+e.src_ZCc+"|[!]|$)|\\?(?!"+e.src_ZCc+"|[?]|$))+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy='(^|[><|]|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}},CwSZ:function(t,e,n){"use strict";var i=n("Zoe1"),r=n("p8xL"),o=n("XgCd"),a=Object.prototype.hasOwnProperty,s={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},l=Array.isArray,c=Array.prototype.push,u=function(t,e){c.apply(t,l(e)?e:[e])},h=Date.prototype.toISOString,d=o.default,f={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,format:d,formatter:o.formatters[d],indices:!1,serializeDate:function(t){return h.call(t)},skipNulls:!1,strictNullHandling:!1},p=function t(e,n,o,a,s,c,h,d,p,A,g,v,m,y,b){var _,w=e;if(b.has(e))throw new RangeError("Cyclic object value");if("function"==typeof h?w=h(n,w):w instanceof Date?w=A(w):"comma"===o&&l(w)&&(w=r.maybeMap(w,function(t){return t instanceof Date?A(t):t})),null===w){if(a)return c&&!m?c(n,f.encoder,y,"key",g):n;w=""}if("string"==typeof(_=w)||"number"==typeof _||"boolean"==typeof _||"symbol"==typeof _||"bigint"==typeof _||r.isBuffer(w))return c?[v(m?n:c(n,f.encoder,y,"key",g))+"="+v(c(w,f.encoder,y,"value",g))]:[v(n)+"="+v(String(w))];var x,C=[];if(void 0===w)return C;if("comma"===o&&l(w))x=[{value:w.length>0?w.join(",")||null:void 0}];else if(l(h))x=h;else{var S=Object.keys(w);x=d?S.sort(d):S}for(var B=0;B<x.length;++B){var k=x[B],T="object"==typeof k&&void 0!==k.value?k.value:w[k];if(!s||null!==T){var O=l(w)?"function"==typeof o?o(n,k):n:n+(p?"."+k:"["+k+"]");b.set(e,!0);var E=i();u(C,t(T,O,o,a,s,c,h,d,p,A,g,v,m,y,E))}}return C};t.exports=function(t,e){var n,r=t,c=function(t){if(!t)return f;if(null!==t.encoder&&void 0!==t.encoder&&"function"!=typeof t.encoder)throw new TypeError("Encoder has to be a function.");var e=t.charset||f.charset;if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=o.default;if(void 0!==t.format){if(!a.call(o.formatters,t.format))throw new TypeError("Unknown format option provided.");n=t.format}var i=o.formatters[n],r=f.filter;return("function"==typeof t.filter||l(t.filter))&&(r=t.filter),{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:f.addQueryPrefix,allowDots:void 0===t.allowDots?f.allowDots:!!t.allowDots,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:f.charsetSentinel,delimiter:void 0===t.delimiter?f.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:f.encode,encoder:"function"==typeof t.encoder?t.encoder:f.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:f.encodeValuesOnly,filter:r,format:n,formatter:i,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:f.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:f.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:f.strictNullHandling}}(e);"function"==typeof c.filter?r=(0,c.filter)("",r):l(c.filter)&&(n=c.filter);var h,d=[];if("object"!=typeof r||null===r)return"";h=e&&e.arrayFormat in s?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices";var A=s[h];n||(n=Object.keys(r)),c.sort&&n.sort(c.sort);for(var g=i(),v=0;v<n.length;++v){var m=n[v];c.skipNulls&&null===r[m]||u(d,p(r[m],m,A,c.strictNullHandling,c.skipNulls,c.encode?c.encoder:null,c.filter,c.sort,c.allowDots,c.serializeDate,c.format,c.formatter,c.encodeValuesOnly,c.charset,g))}var y=d.join(c.delimiter),b=!0===c.addQueryPrefix?"?":"";return c.charsetSentinel&&("iso-8859-1"===c.charset?b+="utf8=%26%2310003%3B&":b+="utf8=%E2%9C%93&"),y.length>0?b+y:""}},CzOf:function(t,e,n){"use strict";e.parseLinkLabel=n("tBlf"),e.parseLinkDestination=n("ujtc"),e.parseLinkTitle=n("3kQQ")},D2L2:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},DDCP:function(t,e,n){"use strict";var i=n("p8xL"),r=Object.prototype.hasOwnProperty,o=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:i.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(t){return t.replace(/&#(\d+);/g,function(t,e){return String.fromCharCode(parseInt(e,10))})},l=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},c=function(t,e,n,i){if(t){var o=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,a=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(o),c=s?o.slice(0,s.index):o,u=[];if(c){if(!n.plainObjects&&r.call(Object.prototype,c)&&!n.allowPrototypes)return;u.push(c)}for(var h=0;n.depth>0&&null!==(s=a.exec(o))&&h<n.depth;){if(h+=1,!n.plainObjects&&r.call(Object.prototype,s[1].slice(1,-1))&&!n.allowPrototypes)return;u.push(s[1])}return s&&u.push("["+o.slice(s.index)+"]"),function(t,e,n,i){for(var r=i?e:l(e,n),o=t.length-1;o>=0;--o){var a,s=t[o];if("[]"===s&&n.parseArrays)a=[].concat(r);else{a=n.plainObjects?Object.create(null):{};var c="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,u=parseInt(c,10);n.parseArrays||""!==c?!isNaN(u)&&s!==c&&String(u)===c&&u>=0&&n.parseArrays&&u<=n.arrayLimit?(a=[])[u]=r:a[c]=r:a={0:r}}r=a}return r}(u,e,n,i)}};t.exports=function(t,e){var n=function(t){if(!t)return a;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?a.charset:t.charset;return{allowDots:void 0===t.allowDots?a.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:a.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:a.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:a.comma,decoder:"function"==typeof t.decoder?t.decoder:a.decoder,delimiter:"string"==typeof t.delimiter||i.isRegExp(t.delimiter)?t.delimiter:a.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:a.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:a.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:a.strictNullHandling}}(e);if(""===t||null===t||void 0===t)return n.plainObjects?Object.create(null):{};for(var u="string"==typeof t?function(t,e){var n,c={},u=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,h=e.parameterLimit===1/0?void 0:e.parameterLimit,d=u.split(e.delimiter,h),f=-1,p=e.charset;if(e.charsetSentinel)for(n=0;n<d.length;++n)0===d[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===d[n]?p="utf-8":"utf8=%26%2310003%3B"===d[n]&&(p="iso-8859-1"),f=n,n=d.length);for(n=0;n<d.length;++n)if(n!==f){var A,g,v=d[n],m=v.indexOf("]="),y=-1===m?v.indexOf("="):m+1;-1===y?(A=e.decoder(v,a.decoder,p,"key"),g=e.strictNullHandling?null:""):(A=e.decoder(v.slice(0,y),a.decoder,p,"key"),g=i.maybeMap(l(v.slice(y+1),e),function(t){return e.decoder(t,a.decoder,p,"value")})),g&&e.interpretNumericEntities&&"iso-8859-1"===p&&(g=s(g)),v.indexOf("[]=")>-1&&(g=o(g)?[g]:g),r.call(c,A)?c[A]=i.combine(c[A],g):c[A]=g}return c}(t,n):t,h=n.plainObjects?Object.create(null):{},d=Object.keys(u),f=0;f<d.length;++f){var p=d[f],A=c(p,u[p],n,"string"==typeof t);h=i.merge(h,A,n)}return!0===n.allowSparse?h:i.compact(h)}},DNGd:function(t,e){t.exports=/[\0-\x1F\x7F-\x9F]/},DQCr:function(t,e,n){"use strict";var i=n("cGG2");function r(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var o;if(n)o=n(e);else if(i.isURLSearchParams(e))o=e.toString();else{var a=[];i.forEach(e,function(t,e){null!==t&&void 0!==t&&(i.isArray(t)?e+="[]":t=[t],i.forEach(t,function(t){i.isDate(t)?t=t.toISOString():i.isObject(t)&&(t=JSON.stringify(t)),a.push(r(e)+"="+r(t))}))}),o=a.join("&")}if(o){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}},DQJY:function(t,e,n){"use strict";e.__esModule=!0;var i,r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=n("hyEB"),a=(i=o)&&i.__esModule?i:{default:i};var s,l=l||{};l.Dialog=function(t,e,n){var i=this;if(this.dialogNode=t,null===this.dialogNode||"dialog"!==this.dialogNode.getAttribute("role"))throw new Error("Dialog() requires a DOM element with ARIA role of dialog.");"string"==typeof e?this.focusAfterClosed=document.getElementById(e):"object"===(void 0===e?"undefined":r(e))?this.focusAfterClosed=e:this.focusAfterClosed=null,"string"==typeof n?this.focusFirst=document.getElementById(n):"object"===(void 0===n?"undefined":r(n))?this.focusFirst=n:this.focusFirst=null,this.focusFirst?this.focusFirst.focus():a.default.focusFirstDescendant(this.dialogNode),this.lastFocus=document.activeElement,s=function(t){i.trapFocus(t)},this.addListeners()},l.Dialog.prototype.addListeners=function(){document.addEventListener("focus",s,!0)},l.Dialog.prototype.removeListeners=function(){document.removeEventListener("focus",s,!0)},l.Dialog.prototype.closeDialog=function(){var t=this;this.removeListeners(),this.focusAfterClosed&&setTimeout(function(){t.focusAfterClosed.focus()})},l.Dialog.prototype.trapFocus=function(t){a.default.IgnoreUtilFocusChanges||(this.dialogNode.contains(t.target)?this.lastFocus=t.target:(a.default.focusFirstDescendant(this.dialogNode),this.lastFocus===document.activeElement&&a.default.focusLastDescendant(this.dialogNode),this.lastFocus=document.activeElement))},e.default=l.Dialog},DRaW:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parse=A,e.lift=function(t,e){var n=A(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,n[i]>255?n[i]=255:n[i]<0&&(n[i]=0);return _(n,4===n.length?"rgba":"rgb")}},e.toHex=function(t){var e=A(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)},e.fastLerp=v,n.d(e,"fastMapToColor",function(){return m}),e.lerp=y,n.d(e,"mapToColor",function(){return b}),e.modifyHSL=function(t,e,n,i){var r=A(t);if(t)return r=function(t){if(!t)return;var e,n,i=t[0]/255,r=t[1]/255,o=t[2]/255,a=Math.min(i,r,o),s=Math.max(i,r,o),l=s-a,c=(s+a)/2;if(0===l)e=0,n=0;else{n=c<.5?l/(s+a):l/(2-s-a);var u=((s-i)/6+l/2)/l,h=((s-r)/6+l/2)/l,d=((s-o)/6+l/2)/l;i===s?e=d-h:r===s?e=1/3+u-d:o===s&&(e=2/3+h-u),e<0&&(e+=1),e>1&&(e-=1)}var f=[360*e,n,c];null!=t[3]&&f.push(t[3]);return f}(r),null!=e&&(r[0]=(o=e,(o=Math.round(o))<0?0:o>360?360:o)),null!=n&&(r[1]=s(n)),null!=i&&(r[2]=s(i)),_(g(r),"rgba");var o},e.modifyAlpha=function(t,e){var n=A(t);if(n&&null!=e)return n[3]=o(e),_(n,"rgba")},e.stringify=_,e.lum=function(t,e){var n=A(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0},e.random=function(){return _([Math.round(255*Math.random()),Math.round(255*Math.random()),Math.round(255*Math.random())],"rgb")};var i={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function r(t){return(t=Math.round(t))<0?0:t>255?255:t}function o(t){return t<0?0:t>1?1:t}function a(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?r(parseFloat(e)/100*255):r(parseInt(e,10))}function s(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?o(parseFloat(e)/100):o(parseFloat(e))}function l(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function c(t,e,n){return t+(e-t)*n}function u(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function h(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var d=new(n("zMj2").a)(20),f=null;function p(t,e){f&&h(f,e),f=d.put(t,f||e.slice())}function A(t,e){if(t){e=e||[];var n=d.get(t);if(n)return h(e,n);var r=(t+="").replace(/ /g,"").toLowerCase();if(r in i)return h(e,i[r]),p(t,e),e;var o,l=r.length;if("#"===r.charAt(0))return 4===l||5===l?(o=parseInt(r.slice(1,4),16))>=0&&o<=4095?(u(e,(3840&o)>>4|(3840&o)>>8,240&o|(240&o)>>4,15&o|(15&o)<<4,5===l?parseInt(r.slice(4),16)/15:1),p(t,e),e):void u(e,0,0,0,1):7===l||9===l?(o=parseInt(r.slice(1,7),16))>=0&&o<=16777215?(u(e,(16711680&o)>>16,(65280&o)>>8,255&o,9===l?parseInt(r.slice(7),16)/255:1),p(t,e),e):void u(e,0,0,0,1):void 0;var c=r.indexOf("("),f=r.indexOf(")");if(-1!==c&&f+1===l){var A=r.substr(0,c),v=r.substr(c+1,f-(c+1)).split(","),m=1;switch(A){case"rgba":if(4!==v.length)return 3===v.length?u(e,+v[0],+v[1],+v[2],1):u(e,0,0,0,1);m=s(v.pop());case"rgb":return v.length>=3?(u(e,a(v[0]),a(v[1]),a(v[2]),3===v.length?m:s(v[3])),p(t,e),e):void u(e,0,0,0,1);case"hsla":return 4!==v.length?void u(e,0,0,0,1):(v[3]=s(v[3]),g(v,e),p(t,e),e);case"hsl":return 3!==v.length?void u(e,0,0,0,1):(g(v,e),p(t,e),e);default:return}}u(e,0,0,0,1)}}function g(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=s(t[1]),o=s(t[2]),a=o<=.5?o*(i+1):o+i-o*i,c=2*o-a;return u(e=e||[],r(255*l(c,a,n+1/3)),r(255*l(c,a,n)),r(255*l(c,a,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function v(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var i=t*(e.length-1),a=Math.floor(i),s=Math.ceil(i),l=e[a],u=e[s],h=i-a;return n[0]=r(c(l[0],u[0],h)),n[1]=r(c(l[1],u[1],h)),n[2]=r(c(l[2],u[2],h)),n[3]=o(c(l[3],u[3],h)),n}}var m=v;function y(t,e,n){if(e&&e.length&&t>=0&&t<=1){var i=t*(e.length-1),a=Math.floor(i),s=Math.ceil(i),l=A(e[a]),u=A(e[s]),h=i-a,d=_([r(c(l[0],u[0],h)),r(c(l[1],u[1],h)),r(c(l[2],u[2],h)),o(c(l[3],u[3],h))],"rgba");return n?{color:d,leftIndex:a,rightIndex:s,value:i}:d}}var b=y;function _(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}}},DUeU:function(t,e,n){"use strict";var i=n("cGG2");t.exports=function(t,e){e=e||{};var n={},r=["url","method","data"],o=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function l(t,e){return i.isPlainObject(t)&&i.isPlainObject(e)?i.merge(t,e):i.isPlainObject(e)?i.merge({},e):i.isArray(e)?e.slice():e}function c(r){i.isUndefined(e[r])?i.isUndefined(t[r])||(n[r]=l(void 0,t[r])):n[r]=l(t[r],e[r])}i.forEach(r,function(t){i.isUndefined(e[t])||(n[t]=l(void 0,e[t]))}),i.forEach(o,c),i.forEach(a,function(r){i.isUndefined(e[r])?i.isUndefined(t[r])||(n[r]=l(void 0,t[r])):n[r]=l(void 0,e[r])}),i.forEach(s,function(i){i in e?n[i]=l(t[i],e[i]):i in t&&(n[i]=l(void 0,t[i]))});var u=r.concat(o).concat(a).concat(s),h=Object.keys(t).concat(Object.keys(e)).filter(function(t){return-1===u.indexOf(t)});return i.forEach(h,c),n}},Dd8w:function(t,e,n){"use strict";e.__esModule=!0;var i,r=n("woOf"),o=(i=r)&&i.__esModule?i:{default:i};e.default=o.default||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t}},Dia2:function(t,e,n){
  13. /**
  14. * @license
  15. * Video.js 6.13.0 <http://videojs.com/>
  16. * Copyright Brightcove, Inc. <https://www.brightcove.com/>
  17. * Available under Apache License Version 2.0
  18. * <https://github.com/videojs/video.js/blob/master/LICENSE>
  19. *
  20. * Includes vtt.js <https://github.com/mozilla/vtt.js>
  21. * Available under Apache License Version 2.0
  22. * <https://github.com/mozilla/vtt.js/blob/master/LICENSE>
  23. */
  24. function i(t){return t&&"object"==typeof t&&"default"in t?t.default:t}var r,o=i(n("awF4")),a=i(n("dwO+")),s=i(n("sN1u")),l=i(n("I/+Z")),c=i(n("1Xk4")),u=i(n("ciWi")),h="6.13.0",d=o.navigator&&o.navigator.userAgent||"",f=/AppleWebKit\/([\d.]+)/i.exec(d),p=f?parseFloat(f.pop()):null,A=/iPad/i.test(d),g=/iPhone/i.test(d)&&!A,v=/iPod/i.test(d),m=g||A||v,y=(r=d.match(/OS (\d+)_/i))&&r[1]?r[1]:null,b=/Android/i.test(d),_=function(){var t=d.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i);if(!t)return null;var e=t[1]&&parseFloat(t[1]),n=t[2]&&parseFloat(t[2]);return e&&n?parseFloat(t[1]+"."+t[2]):e||null}(),w=b&&/webkit/i.test(d)&&_<2.3,x=b&&_<5&&p<537,C=/Firefox/i.test(d),S=/Edge/i.test(d),B=!S&&(/Chrome/i.test(d)||/CriOS/i.test(d)),k=function(){var t=d.match(/(Chrome|CriOS)\/(\d+)/);return t&&t[2]?parseFloat(t[2]):null}(),T=/MSIE\s8\.0/.test(d),O=function(){var t=/MSIE\s(\d+)\.\d/.exec(d),e=t&&parseFloat(t[1]);return!e&&/Trident\/7.0/i.test(d)&&/rv:11.0/.test(d)&&(e=11),e}(),E=/Safari/i.test(d)&&!B&&!b&&!S,I=(E||m)&&!B,M=tt()&&("ontouchstart"in o||o.navigator.maxTouchPoints||o.DocumentTouch&&o.document instanceof o.DocumentTouch),D=tt()&&"backgroundSize"in o.document.createElement("video").style,L=(Object.freeze||Object)({IS_IPAD:A,IS_IPHONE:g,IS_IPOD:v,IS_IOS:m,IOS_VERSION:y,IS_ANDROID:b,ANDROID_VERSION:_,IS_OLD_ANDROID:w,IS_NATIVE_ANDROID:x,IS_FIREFOX:C,IS_EDGE:S,IS_CHROME:B,CHROME_VERSION:k,IS_IE8:T,IE_VERSION:O,IS_SAFARI:E,IS_ANY_SAFARI:I,TOUCH_ENABLED:M,BACKGROUND_SIZE_SUPPORTED:D}),F="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},P=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},N=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)},j=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e},U=function(t,e){return t.raw=e,t},R=Object.prototype.toString,Q=function(t){return z(t)?Object.keys(t):[]};function H(t,e){Q(t).forEach(function(n){return e(t[n],n)})}function V(t){for(var e=arguments.length,n=Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return Object.assign?Object.assign.apply(Object,[t].concat(n)):(n.forEach(function(e){e&&H(e,function(e,n){t[n]=e})}),t)}function z(t){return!!t&&"object"===(void 0===t?"undefined":F(t))}function $(t){return z(t)&&"[object Object]"===R.call(t)&&t.constructor===Object}var G=[],W=function(t,e){return function(n,i,r,a){var s=e.levels[i],l=new RegExp("^("+s+")$");if("log"!==n&&r.unshift(n.toUpperCase()+":"),r.unshift(t+":"),G&&G.push([].concat(r)),o.console){var c=o.console[n];c||"debug"!==n||(c=o.console.info||o.console.log),c&&s&&l.test(n)&&(a&&(r=r.map(function(t){if(z(t)||Array.isArray(t))try{return JSON.stringify(t)}catch(e){return String(t)}return String(t)}).join(" ")),c.apply?c[Array.isArray(r)?"apply":"call"](o.console,r):c(r))}}};var K=function t(e){var n="info",i=void 0,r=function t(){for(var e=t.stringify||O&&O<11,r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];i("log",n,o,e)};return i=W(e,r),r.createLogger=function(n){return t(e+": "+n)},r.levels={all:"debug|log|warn|error",off:"",debug:"debug|log|warn|error",info:"log|warn|error",warn:"warn|error",error:"error",DEFAULT:n},r.level=function(t){if("string"==typeof t){if(!r.levels.hasOwnProperty(t))throw new Error('"'+t+'" in not a valid log level');n=t}return n},(r.history=function(){return G?[].concat(G):[]}).filter=function(t){return(G||[]).filter(function(e){return new RegExp(".*"+t+".*").test(e[0])})},r.history.clear=function(){G&&(G.length=0)},r.history.disable=function(){null!==G&&(G.length=0,G=null)},r.history.enable=function(){null===G&&(G=[])},r.error=function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return i("error",n,e)},r.warn=function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return i("warn",n,e)},r.debug=function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return i("debug",n,e)},r}("VIDEOJS"),Y=K.createLogger;function X(t,e){if(!t||!e)return"";if("function"==typeof o.getComputedStyle){var n=o.getComputedStyle(t);return n?n[e]:""}return t.currentStyle[e]||""}var q=U(["Setting attributes in the second argument of createEl()\n has been deprecated. Use the third argument instead.\n createEl(type, properties, attributes). Attempting to set "," to ","."],["Setting attributes in the second argument of createEl()\n has been deprecated. Use the third argument instead.\n createEl(type, properties, attributes). Attempting to set "," to ","."]);function Z(t){return"string"==typeof t&&/\S/.test(t)}function J(t){if(/\s/.test(t))throw new Error("class has illegal whitespace characters")}function tt(){return a===o.document&&void 0!==a.createElement}function et(t){return z(t)&&1===t.nodeType}function nt(){try{return o.parent!==o.self}catch(t){return!0}}function it(t){return function(e,n){if(!Z(e))return a[t](null);Z(n)&&(n=a.querySelector(n));var i=et(n)?n:a;return i[t]&&i[t](e)}}function rt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments[3],r=a.createElement(t);return Object.getOwnPropertyNames(e).forEach(function(t){var n=e[t];-1!==t.indexOf("aria-")||"role"===t||"type"===t?(K.warn(s(q,t,n)),r.setAttribute(t,n)):"textContent"===t?ot(r,n):r[t]=n}),Object.getOwnPropertyNames(n).forEach(function(t){r.setAttribute(t,n[t])}),i&&Ct(r,i),r}function ot(t,e){return void 0===t.textContent?t.innerText=e:t.textContent=e,t}function at(t,e){e.firstChild?e.insertBefore(t,e.firstChild):e.appendChild(t)}function st(t,e){return J(e),t.classList?t.classList.contains(e):(n=e,new RegExp("(^|\\s)"+n+"($|\\s)")).test(t.className);var n}function lt(t,e){return t.classList?t.classList.add(e):st(t,e)||(t.className=(t.className+" "+e).trim()),t}function ct(t,e){return t.classList?t.classList.remove(e):(J(e),t.className=t.className.split(/\s+/).filter(function(t){return t!==e}).join(" ")),t}function ut(t,e,n){var i=st(t,e);if("function"==typeof n&&(n=n(t,e)),"boolean"!=typeof n&&(n=!i),n!==i)return n?lt(t,e):ct(t,e),t}function ht(t,e){Object.getOwnPropertyNames(e).forEach(function(n){var i=e[n];null===i||void 0===i||!1===i?t.removeAttribute(n):t.setAttribute(n,!0===i?"":i)})}function dt(t){var e={},n=",autoplay,controls,playsinline,loop,muted,default,defaultMuted,";if(t&&t.attributes&&t.attributes.length>0)for(var i=t.attributes,r=i.length-1;r>=0;r--){var o=i[r].name,a=i[r].value;"boolean"!=typeof t[o]&&-1===n.indexOf(","+o+",")||(a=null!==a),e[o]=a}return e}function ft(t,e){return t.getAttribute(e)}function pt(t,e,n){t.setAttribute(e,n)}function At(t,e){t.removeAttribute(e)}function gt(){a.body.focus(),a.onselectstart=function(){return!1}}function vt(){a.onselectstart=function(){return!0}}function mt(t){if(t&&t.getBoundingClientRect&&t.parentNode){var e=t.getBoundingClientRect(),n={};return["bottom","height","left","right","top","width"].forEach(function(t){void 0!==e[t]&&(n[t]=e[t])}),n.height||(n.height=parseFloat(X(t,"height"))),n.width||(n.width=parseFloat(X(t,"width"))),n}}function yt(t){var e=void 0;if(t.getBoundingClientRect&&t.parentNode&&(e=t.getBoundingClientRect()),!e)return{left:0,top:0};var n=a.documentElement,i=a.body,r=n.clientLeft||i.clientLeft||0,s=o.pageXOffset||i.scrollLeft,l=e.left+s-r,c=n.clientTop||i.clientTop||0,u=o.pageYOffset||i.scrollTop,h=e.top+u-c;return{left:Math.round(l),top:Math.round(h)}}function bt(t,e){var n={},i=yt(t),r=t.offsetWidth,o=t.offsetHeight,a=i.top,s=i.left,l=e.pageY,c=e.pageX;return e.changedTouches&&(c=e.changedTouches[0].pageX,l=e.changedTouches[0].pageY),n.y=Math.max(0,Math.min(1,(a-l+o)/o)),n.x=Math.max(0,Math.min(1,(c-s)/r)),n}function _t(t){return z(t)&&3===t.nodeType}function wt(t){for(;t.firstChild;)t.removeChild(t.firstChild);return t}function xt(t){return"function"==typeof t&&(t=t()),(Array.isArray(t)?t:[t]).map(function(t){return"function"==typeof t&&(t=t()),et(t)||_t(t)?t:"string"==typeof t&&/\S/.test(t)?a.createTextNode(t):void 0}).filter(function(t){return t})}function Ct(t,e){return xt(e).forEach(function(e){return t.appendChild(e)}),t}function St(t,e){return Ct(wt(t),e)}function Bt(t){return void 0===t.button&&void 0===t.buttons||(0===t.button&&void 0===t.buttons||(9===O||0===t.button&&1===t.buttons))}var kt=it("querySelector"),Tt=it("querySelectorAll"),Ot=(Object.freeze||Object)({isReal:tt,isEl:et,isInFrame:nt,createEl:rt,textContent:ot,prependTo:at,hasClass:st,addClass:lt,removeClass:ct,toggleClass:ut,setAttributes:ht,getAttributes:dt,getAttribute:ft,setAttribute:pt,removeAttribute:At,blockTextSelection:gt,unblockTextSelection:vt,getBoundingClientRect:mt,findPosition:yt,getPointerPosition:bt,isTextNode:_t,emptyEl:wt,normalizeContent:xt,appendContent:Ct,insertContent:St,isSingleLeftClick:Bt,$:kt,$$:Tt}),Et=1;function It(){return Et++}var Mt={},Dt="vdata"+(new Date).getTime();function Lt(t){var e=t[Dt];return e||(e=t[Dt]=It()),Mt[e]||(Mt[e]={}),Mt[e]}function Ft(t){var e=t[Dt];return!!e&&!!Object.getOwnPropertyNames(Mt[e]).length}function Pt(t){var e=t[Dt];if(e){delete Mt[e];try{delete t[Dt]}catch(e){t.removeAttribute?t.removeAttribute(Dt):t[Dt]=null}}}function Nt(t,e){var n=Lt(t);0===n.handlers[e].length&&(delete n.handlers[e],t.removeEventListener?t.removeEventListener(e,n.dispatcher,!1):t.detachEvent&&t.detachEvent("on"+e,n.dispatcher)),Object.getOwnPropertyNames(n.handlers).length<=0&&(delete n.handlers,delete n.dispatcher,delete n.disabled),0===Object.getOwnPropertyNames(n).length&&Pt(t)}function jt(t,e,n,i){n.forEach(function(n){t(e,n,i)})}function Ut(t){function e(){return!0}function n(){return!1}if(!t||!t.isPropagationStopped){var i=t||o.event;for(var r in t={},i)"layerX"!==r&&"layerY"!==r&&"keyLocation"!==r&&"webkitMovementX"!==r&&"webkitMovementY"!==r&&("returnValue"===r&&i.preventDefault||(t[r]=i[r]));if(t.target||(t.target=t.srcElement||a),t.relatedTarget||(t.relatedTarget=t.fromElement===t.target?t.toElement:t.fromElement),t.preventDefault=function(){i.preventDefault&&i.preventDefault(),t.returnValue=!1,i.returnValue=!1,t.defaultPrevented=!0},t.defaultPrevented=!1,t.stopPropagation=function(){i.stopPropagation&&i.stopPropagation(),t.cancelBubble=!0,i.cancelBubble=!0,t.isPropagationStopped=e},t.isPropagationStopped=n,t.stopImmediatePropagation=function(){i.stopImmediatePropagation&&i.stopImmediatePropagation(),t.isImmediatePropagationStopped=e,t.stopPropagation()},t.isImmediatePropagationStopped=n,null!==t.clientX&&void 0!==t.clientX){var s=a.documentElement,l=a.body;t.pageX=t.clientX+(s&&s.scrollLeft||l&&l.scrollLeft||0)-(s&&s.clientLeft||l&&l.clientLeft||0),t.pageY=t.clientY+(s&&s.scrollTop||l&&l.scrollTop||0)-(s&&s.clientTop||l&&l.clientTop||0)}t.which=t.charCode||t.keyCode,null!==t.button&&void 0!==t.button&&(t.button=1&t.button?0:4&t.button?1:2&t.button?2:0)}return t}var Rt=!1;!function(){try{var t=Object.defineProperty({},"passive",{get:function(){Rt=!0}});o.addEventListener("test",null,t),o.removeEventListener("test",null,t)}catch(t){}}();var Qt=["touchstart","touchmove"];function Ht(t,e,n){if(Array.isArray(e))return jt(Ht,t,e,n);var i=Lt(t);if(i.handlers||(i.handlers={}),i.handlers[e]||(i.handlers[e]=[]),n.guid||(n.guid=It()),i.handlers[e].push(n),i.dispatcher||(i.disabled=!1,i.dispatcher=function(e,n){if(!i.disabled){e=Ut(e);var r=i.handlers[e.type];if(r)for(var o=r.slice(0),a=0,s=o.length;a<s&&!e.isImmediatePropagationStopped();a++)try{o[a].call(t,e,n)}catch(t){K.error(t)}}}),1===i.handlers[e].length)if(t.addEventListener){var r=!1;Rt&&Qt.indexOf(e)>-1&&(r={passive:!0}),t.addEventListener(e,i.dispatcher,r)}else t.attachEvent&&t.attachEvent("on"+e,i.dispatcher)}function Vt(t,e,n){if(Ft(t)){var i=Lt(t);if(i.handlers){if(Array.isArray(e))return jt(Vt,t,e,n);var r=function(t,e){i.handlers[e]=[],Nt(t,e)};if(void 0!==e){var o=i.handlers[e];if(o)if(n){if(n.guid)for(var a=0;a<o.length;a++)o[a].guid===n.guid&&o.splice(a--,1);Nt(t,e)}else r(t,e)}else for(var s in i.handlers)Object.prototype.hasOwnProperty.call(i.handlers||{},s)&&r(t,s)}}}function zt(t,e,n){var i=Ft(t)?Lt(t):{},r=t.parentNode||t.ownerDocument;if("string"==typeof e?e={type:e,target:t}:e.target||(e.target=t),e=Ut(e),i.dispatcher&&i.dispatcher.call(t,e,n),r&&!e.isPropagationStopped()&&!0===e.bubbles)zt.call(null,r,e,n);else if(!r&&!e.defaultPrevented){var o=Lt(e.target);e.target[e.type]&&(o.disabled=!0,"function"==typeof e.target[e.type]&&e.target[e.type](),o.disabled=!1)}return!e.defaultPrevented}function $t(t,e,n){if(Array.isArray(e))return jt($t,t,e,n);var i=function i(){Vt(t,e,i),n.apply(this,arguments)};i.guid=n.guid=n.guid||It(),Ht(t,e,i)}var Gt=(Object.freeze||Object)({fixEvent:Ut,on:Ht,off:Vt,trigger:zt,one:$t}),Wt=!1,Kt=void 0,Yt=function(){if(tt()&&!1!==Kt.options.autoSetup){var t=a.getElementsByTagName("video"),e=a.getElementsByTagName("audio"),n=a.getElementsByTagName("video-js"),i=[];if(t&&t.length>0)for(var r=0,o=t.length;r<o;r++)i.push(t[r]);if(e&&e.length>0)for(var s=0,l=e.length;s<l;s++)i.push(e[s]);if(n&&n.length>0)for(var c=0,u=n.length;c<u;c++)i.push(n[c]);if(i&&i.length>0)for(var h=0,d=i.length;h<d;h++){var f=i[h];if(!f||!f.getAttribute){Xt(1);break}void 0===f.player&&null!==f.getAttribute("data-setup")&&Kt(f)}else Wt||Xt(1)}};function Xt(t,e){e&&(Kt=e),o.setTimeout(Yt,t)}tt()&&"complete"===a.readyState?Wt=!0:$t(o,"load",function(){Wt=!0});var qt=function(t){var e=a.createElement("style");return e.className=t,e},Zt=function(t,e){t.styleSheet?t.styleSheet.cssText=e:t.textContent=e},Jt=function(t,e,n){e.guid||(e.guid=It());var i=function(){return e.apply(t,arguments)};return i.guid=n?n+"_"+e.guid:e.guid,i},te=function(t,e){var n=Date.now();return function(){var i=Date.now();i-n>=e&&(t.apply(void 0,arguments),n=i)}},ee=function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:o,r=void 0,a=function(){var o=this,a=arguments,s=function(){r=null,s=null,n||t.apply(o,a)};!r&&n&&t.apply(o,a),i.clearTimeout(r),r=i.setTimeout(s,e)};return a.cancel=function(){i.clearTimeout(r),r=null},a},ne=function(){};ne.prototype.allowedEvents_={},ne.prototype.on=function(t,e){var n=this.addEventListener;this.addEventListener=function(){},Ht(this,t,e),this.addEventListener=n},ne.prototype.addEventListener=ne.prototype.on,ne.prototype.off=function(t,e){Vt(this,t,e)},ne.prototype.removeEventListener=ne.prototype.off,ne.prototype.one=function(t,e){var n=this.addEventListener;this.addEventListener=function(){},$t(this,t,e),this.addEventListener=n},ne.prototype.trigger=function(t){var e=t.type||t;"string"==typeof t&&(t={type:e}),t=Ut(t),this.allowedEvents_[e]&&this["on"+e]&&this["on"+e](t),zt(this,t)},ne.prototype.dispatchEvent=ne.prototype.trigger;var ie=function(t){return t instanceof ne||!!t.eventBusEl_&&["on","one","off","trigger"].every(function(e){return"function"==typeof t[e]})},re=function(t){return"string"==typeof t&&/\S/.test(t)||Array.isArray(t)&&!!t.length},oe=function(t){if(!t.nodeName&&!ie(t))throw new Error("Invalid target; must be a DOM node or evented object.")},ae=function(t){if(!re(t))throw new Error("Invalid event type; must be a non-empty string or array.")},se=function(t){if("function"!=typeof t)throw new Error("Invalid listener; must be a function.")},le=function(t,e){var n=e.length<3||e[0]===t||e[0]===t.eventBusEl_,i=void 0,r=void 0,o=void 0;return n?(i=t.eventBusEl_,e.length>=3&&e.shift(),r=e[0],o=e[1]):(i=e[0],r=e[1],o=e[2]),oe(i),ae(r),se(o),{isTargetingSelf:n,target:i,type:r,listener:o=Jt(t,o)}},ce=function(t,e,n,i){oe(t),t.nodeName?Gt[e](t,n,i):t[e](n,i)},ue={on:function(){for(var t=this,e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];var r=le(this,n),o=r.isTargetingSelf,a=r.target,s=r.type,l=r.listener;if(ce(a,"on",s,l),!o){var c=function(){return t.off(a,s,l)};c.guid=l.guid;var u=function(){return t.off("dispose",c)};u.guid=l.guid,ce(this,"on","dispose",c),ce(a,"on","dispose",u)}},one:function(){for(var t=this,e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];var r=le(this,n),o=r.isTargetingSelf,a=r.target,s=r.type,l=r.listener;if(o)ce(a,"one",s,l);else{var c=function e(){for(var n=arguments.length,i=Array(n),r=0;r<n;r++)i[r]=arguments[r];t.off(a,s,e),l.apply(null,i)};c.guid=l.guid,ce(a,"one",s,c)}},off:function(t,e,n){if(!t||re(t))Vt(this.eventBusEl_,t,e);else{var i=t,r=e;oe(i),ae(r),se(n),n=Jt(this,n),this.off("dispose",n),i.nodeName?(Vt(i,r,n),Vt(i,"dispose",n)):ie(i)&&(i.off(r,n),i.off("dispose",n))}},trigger:function(t,e){return zt(this.eventBusEl_,t,e)}};function he(t){var e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).eventBusKey;if(e){if(!t[e].nodeName)throw new Error('The eventBusKey "'+e+'" does not refer to an element.');t.eventBusEl_=t[e]}else t.eventBusEl_=rt("span",{className:"vjs-event-bus"});return V(t,ue),t.on("dispose",function(){t.off(),o.setTimeout(function(){t.eventBusEl_=null},0)}),t}var de={state:{},setState:function(t){var e=this;"function"==typeof t&&(t=t());var n=void 0;return H(t,function(t,i){e.state[i]!==t&&((n=n||{})[i]={from:e.state[i],to:t}),e.state[i]=t}),n&&ie(this)&&this.trigger({changes:n,type:"statechanged"}),n}};function fe(t,e){return V(t,de),t.state=V({},t.state,e),"function"==typeof t.handleStateChanged&&ie(t)&&t.on("statechanged",t.handleStateChanged),t}function pe(t){return"string"!=typeof t?t:t.charAt(0).toUpperCase()+t.slice(1)}function Ae(){for(var t={},e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return n.forEach(function(e){e&&H(e,function(e,n){$(e)?($(t[n])||(t[n]={}),t[n]=Ae(t[n],e)):t[n]=e})}),t}var ge=function(){function t(e,n,i){if(P(this,t),!e&&this.play?this.player_=e=this:this.player_=e,this.options_=Ae({},this.options_),n=this.options_=Ae(this.options_,n),this.id_=n.id||n.el&&n.el.id,!this.id_){var r=e&&e.id&&e.id()||"no_player";this.id_=r+"_component_"+It()}this.name_=n.name||null,n.el?this.el_=n.el:!1!==n.createEl&&(this.el_=this.createEl()),!1!==n.evented&&he(this,{eventBusKey:this.el_?"el_":null}),fe(this,this.constructor.defaultState),this.children_=[],this.childIndex_={},this.childNameIndex_={},!1!==n.initChildren&&this.initChildren(),this.ready(i),!1!==n.reportTouchActivity&&this.enableTouchActivity()}return t.prototype.dispose=function(){if(this.trigger({type:"dispose",bubbles:!1}),this.children_)for(var t=this.children_.length-1;t>=0;t--)this.children_[t].dispose&&this.children_[t].dispose();this.children_=null,this.childIndex_=null,this.childNameIndex_=null,this.el_&&(this.el_.parentNode&&this.el_.parentNode.removeChild(this.el_),Pt(this.el_),this.el_=null),this.player_=null},t.prototype.player=function(){return this.player_},t.prototype.options=function(t){return K.warn("this.options() has been deprecated and will be moved to the constructor in 6.0"),t?(this.options_=Ae(this.options_,t),this.options_):this.options_},t.prototype.el=function(){return this.el_},t.prototype.createEl=function(t,e,n){return rt(t,e,n)},t.prototype.localize=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,i=this.player_.language&&this.player_.language(),r=this.player_.languages&&this.player_.languages(),o=r&&r[i],a=i&&i.split("-")[0],s=r&&r[a],l=n;return o&&o[t]?l=o[t]:s&&s[t]&&(l=s[t]),e&&(l=l.replace(/\{(\d+)\}/g,function(t,n){var i=e[n-1],r=i;return void 0===i&&(r=t),r})),l},t.prototype.contentEl=function(){return this.contentEl_||this.el_},t.prototype.id=function(){return this.id_},t.prototype.name=function(){return this.name_},t.prototype.children=function(){return this.children_},t.prototype.getChildById=function(t){return this.childIndex_[t]},t.prototype.getChild=function(t){if(t)return t=pe(t),this.childNameIndex_[t]},t.prototype.addChild=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.children_.length,r=void 0,o=void 0;if("string"==typeof e){o=pe(e);var a=n.componentClass||o;n.name=o;var s=t.getComponent(a);if(!s)throw new Error("Component "+a+" does not exist");if("function"!=typeof s)return null;r=new s(this.player_||this,n)}else r=e;if(this.children_.splice(i,0,r),"function"==typeof r.id&&(this.childIndex_[r.id()]=r),(o=o||r.name&&pe(r.name()))&&(this.childNameIndex_[o]=r),"function"==typeof r.el&&r.el()){var l=this.contentEl().children[i]||null;this.contentEl().insertBefore(r.el(),l)}return r},t.prototype.removeChild=function(t){if("string"==typeof t&&(t=this.getChild(t)),t&&this.children_){for(var e=!1,n=this.children_.length-1;n>=0;n--)if(this.children_[n]===t){e=!0,this.children_.splice(n,1);break}if(e){this.childIndex_[t.id()]=null,this.childNameIndex_[t.name()]=null;var i=t.el();i&&i.parentNode===this.contentEl()&&this.contentEl().removeChild(t.el())}}},t.prototype.initChildren=function(){var e=this,n=this.options_.children;if(n){var i=this.options_,r=void 0,o=t.getComponent("Tech");(r=Array.isArray(n)?n:Object.keys(n)).concat(Object.keys(this.options_).filter(function(t){return!r.some(function(e){return"string"==typeof e?t===e:t===e.name})})).map(function(t){var i=void 0,r=void 0;return"string"==typeof t?r=n[i=t]||e.options_[i]||{}:(i=t.name,r=t),{name:i,opts:r}}).filter(function(e){var n=t.getComponent(e.opts.componentClass||pe(e.name));return n&&!o.isTech(n)}).forEach(function(t){var n=t.name,r=t.opts;if(void 0!==i[n]&&(r=i[n]),!1!==r){!0===r&&(r={}),r.playerOptions=e.options_.playerOptions;var o=e.addChild(n,r);o&&(e[n]=o)}})}},t.prototype.buildCSSClass=function(){return""},t.prototype.ready=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t)return this.isReady_?void(e?t.call(this):this.setTimeout(t,1)):(this.readyQueue_=this.readyQueue_||[],void this.readyQueue_.push(t))},t.prototype.triggerReady=function(){this.isReady_=!0,this.setTimeout(function(){var t=this.readyQueue_;this.readyQueue_=[],t&&t.length>0&&t.forEach(function(t){t.call(this)},this),this.trigger("ready")},1)},t.prototype.$=function(t,e){return kt(t,e||this.contentEl())},t.prototype.$$=function(t,e){return Tt(t,e||this.contentEl())},t.prototype.hasClass=function(t){return st(this.el_,t)},t.prototype.addClass=function(t){lt(this.el_,t)},t.prototype.removeClass=function(t){ct(this.el_,t)},t.prototype.toggleClass=function(t,e){ut(this.el_,t,e)},t.prototype.show=function(){this.removeClass("vjs-hidden")},t.prototype.hide=function(){this.addClass("vjs-hidden")},t.prototype.lockShowing=function(){this.addClass("vjs-lock-showing")},t.prototype.unlockShowing=function(){this.removeClass("vjs-lock-showing")},t.prototype.getAttribute=function(t){return ft(this.el_,t)},t.prototype.setAttribute=function(t,e){pt(this.el_,t,e)},t.prototype.removeAttribute=function(t){At(this.el_,t)},t.prototype.width=function(t,e){return this.dimension("width",t,e)},t.prototype.height=function(t,e){return this.dimension("height",t,e)},t.prototype.dimensions=function(t,e){this.width(t,!0),this.height(e)},t.prototype.dimension=function(t,e,n){if(void 0!==e)return null!==e&&e==e||(e=0),-1!==(""+e).indexOf("%")||-1!==(""+e).indexOf("px")?this.el_.style[t]=e:this.el_.style[t]="auto"===e?"":e+"px",void(n||this.trigger("componentresize"));if(!this.el_)return 0;var i=this.el_.style[t],r=i.indexOf("px");return-1!==r?parseInt(i.slice(0,r),10):parseInt(this.el_["offset"+pe(t)],10)},t.prototype.currentDimension=function(t){var e=0;if("width"!==t&&"height"!==t)throw new Error("currentDimension only accepts width or height value");if("function"==typeof o.getComputedStyle){var n=o.getComputedStyle(this.el_);e=n.getPropertyValue(t)||n[t]}if(0===(e=parseFloat(e))){var i="offset"+pe(t);e=this.el_[i]}return e},t.prototype.currentDimensions=function(){return{width:this.currentDimension("width"),height:this.currentDimension("height")}},t.prototype.currentWidth=function(){return this.currentDimension("width")},t.prototype.currentHeight=function(){return this.currentDimension("height")},t.prototype.focus=function(){this.el_.focus()},t.prototype.blur=function(){this.el_.blur()},t.prototype.emitTapEvents=function(){var t=0,e=null,n=void 0;this.on("touchstart",function(i){1===i.touches.length&&(e={pageX:i.touches[0].pageX,pageY:i.touches[0].pageY},t=(new Date).getTime(),n=!0)}),this.on("touchmove",function(t){if(t.touches.length>1)n=!1;else if(e){var i=t.touches[0].pageX-e.pageX,r=t.touches[0].pageY-e.pageY;Math.sqrt(i*i+r*r)>10&&(n=!1)}});var i=function(){n=!1};this.on("touchleave",i),this.on("touchcancel",i),this.on("touchend",function(i){(e=null,!0===n)&&((new Date).getTime()-t<200&&(i.preventDefault(),this.trigger("tap")))})},t.prototype.enableTouchActivity=function(){if(this.player()&&this.player().reportUserActivity){var t=Jt(this.player(),this.player().reportUserActivity),e=void 0;this.on("touchstart",function(){t(),this.clearInterval(e),e=this.setInterval(t,250)});var n=function(n){t(),this.clearInterval(e)};this.on("touchmove",t),this.on("touchend",n),this.on("touchcancel",n)}},t.prototype.setTimeout=function(t,e){var n,i,r=this;return t=Jt(this,t),n=o.setTimeout(function(){r.off("dispose",i),t()},e),(i=function(){return r.clearTimeout(n)}).guid="vjs-timeout-"+n,this.on("dispose",i),n},t.prototype.clearTimeout=function(t){o.clearTimeout(t);var e=function(){};return e.guid="vjs-timeout-"+t,this.off("dispose",e),t},t.prototype.setInterval=function(t,e){var n=this;t=Jt(this,t);var i=o.setInterval(t,e),r=function(){return n.clearInterval(i)};return r.guid="vjs-interval-"+i,this.on("dispose",r),i},t.prototype.clearInterval=function(t){o.clearInterval(t);var e=function(){};return e.guid="vjs-interval-"+t,this.off("dispose",e),t},t.prototype.requestAnimationFrame=function(t){var e,n,i=this;return this.supportsRaf_?(t=Jt(this,t),e=o.requestAnimationFrame(function(){i.off("dispose",n),t()}),(n=function(){return i.cancelAnimationFrame(e)}).guid="vjs-raf-"+e,this.on("dispose",n),e):this.setTimeout(t,1e3/60)},t.prototype.cancelAnimationFrame=function(t){if(this.supportsRaf_){o.cancelAnimationFrame(t);var e=function(){};return e.guid="vjs-raf-"+t,this.off("dispose",e),t}return this.clearTimeout(t)},t.registerComponent=function(e,n){if("string"!=typeof e||!e)throw new Error('Illegal component name, "'+e+'"; must be a non-empty string.');var i=t.getComponent("Tech"),r=i&&i.isTech(n),o=t===n||t.prototype.isPrototypeOf(n.prototype);if(r||!o){var a=void 0;throw a=r?"techs must be registered using Tech.registerTech()":"must be a Component subclass",new Error('Illegal component, "'+e+'"; '+a+".")}e=pe(e),t.components_||(t.components_={});var s=t.getComponent("Player");if("Player"===e&&s&&s.players){var l=s.players,c=Object.keys(l);if(l&&c.length>0&&c.map(function(t){return l[t]}).every(Boolean))throw new Error("Can not register Player component after player has been created.")}return t.components_[e]=n,n},t.getComponent=function(e){if(e)return e=pe(e),t.components_&&t.components_[e]?t.components_[e]:void 0},t}();function ve(t,e,n,i){return function(t,e,n){if("number"!=typeof e||e<0||e>n)throw new Error("Failed to execute '"+t+"' on 'TimeRanges': The index provided ("+e+") is non-numeric or out of bounds (0-"+n+").")}(t,i,n.length-1),n[i][e]}function me(t){return void 0===t||0===t.length?{length:0,start:function(){throw new Error("This TimeRanges object is empty")},end:function(){throw new Error("This TimeRanges object is empty")}}:{length:t.length,start:ve.bind(null,"start",0,t),end:ve.bind(null,"end",1,t)}}function ye(t,e){return Array.isArray(t)?me(t):void 0===t||void 0===e?me():me([[t,e]])}function be(t,e){var n=0,i=void 0,r=void 0;if(!e)return 0;t&&t.length||(t=ye(0,0));for(var o=0;o<t.length;o++)i=t.start(o),(r=t.end(o))>e&&(r=e),n+=r-i;return n/e}ge.prototype.supportsRaf_="function"==typeof o.requestAnimationFrame&&"function"==typeof o.cancelAnimationFrame,ge.registerComponent("Component",ge);for(var _e={},we=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],xe=we[0],Ce=void 0,Se=0;Se<we.length;Se++)if(we[Se][1]in a){Ce=we[Se];break}if(Ce)for(var Be=0;Be<Ce.length;Be++)_e[xe[Be]]=Ce[Be];function ke(t){if(t instanceof ke)return t;"number"==typeof t?this.code=t:"string"==typeof t?this.message=t:z(t)&&("number"==typeof t.code&&(this.code=t.code),V(this,t)),this.message||(this.message=ke.defaultMessages[this.code]||"")}ke.prototype.code=0,ke.prototype.message="",ke.prototype.status=null,ke.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"],ke.defaultMessages={1:"You aborted the media playback",2:"A network error caused the media download to fail part-way.",3:"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.",4:"The media could not be loaded, either because the server or network failed or because the format is not supported.",5:"The media is encrypted and we do not have the keys to decrypt it."};for(var Te=0;Te<ke.errorTypes.length;Te++)ke[ke.errorTypes[Te]]=Te,ke.prototype[ke.errorTypes[Te]]=Te;function Oe(t){return void 0!==t&&null!==t&&"function"==typeof t.then}function Ee(t){Oe(t)&&t.then(null,function(t){})}var Ie=function(t){return["kind","label","language","id","inBandMetadataTrackDispatchType","mode","src"].reduce(function(e,n,i){return t[n]&&(e[n]=t[n]),e},{cues:t.cues&&Array.prototype.map.call(t.cues,function(t){return{startTime:t.startTime,endTime:t.endTime,text:t.text,id:t.id}})})},Me=function(t){var e=t.$$("track"),n=Array.prototype.map.call(e,function(t){return t.track});return Array.prototype.map.call(e,function(t){var e=Ie(t.track);return t.src&&(e.src=t.src),e}).concat(Array.prototype.filter.call(t.textTracks(),function(t){return-1===n.indexOf(t)}).map(Ie))},De=function(t,e){return t.forEach(function(t){var n=e.addRemoteTextTrack(t).track;!t.src&&t.cues&&t.cues.forEach(function(t){return n.addCue(t)})}),e.textTracks()},Le="vjs-modal-dialog",Fe=function(t){function e(n,i){P(this,e);var r=j(this,t.call(this,n,i));return r.opened_=r.hasBeenOpened_=r.hasBeenFilled_=!1,r.closeable(!r.options_.uncloseable),r.content(r.options_.content),r.contentEl_=rt("div",{className:Le+"-content"},{role:"document"}),r.descEl_=rt("p",{className:Le+"-description vjs-control-text",id:r.el().getAttribute("aria-describedby")}),ot(r.descEl_,r.description()),r.el_.appendChild(r.descEl_),r.el_.appendChild(r.contentEl_),r}return N(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:this.buildCSSClass(),tabIndex:-1},{"aria-describedby":this.id()+"_description","aria-hidden":"true","aria-label":this.label(),role:"dialog"})},e.prototype.dispose=function(){this.contentEl_=null,this.descEl_=null,this.previouslyActiveEl_=null,t.prototype.dispose.call(this)},e.prototype.buildCSSClass=function(){return Le+" vjs-hidden "+t.prototype.buildCSSClass.call(this)},e.prototype.handleKeyPress=function(t){27===t.which&&this.closeable()&&this.close()},e.prototype.label=function(){return this.localize(this.options_.label||"Modal Window")},e.prototype.description=function(){var t=this.options_.description||this.localize("This is a modal window.");return this.closeable()&&(t+=" "+this.localize("This modal can be closed by pressing the Escape key or activating the close button.")),t},e.prototype.open=function(){if(!this.opened_){var t=this.player();this.trigger("beforemodalopen"),this.opened_=!0,(this.options_.fillAlways||!this.hasBeenOpened_&&!this.hasBeenFilled_)&&this.fill(),this.wasPlaying_=!t.paused(),this.options_.pauseOnOpen&&this.wasPlaying_&&t.pause(),this.closeable()&&this.on(this.el_.ownerDocument,"keydown",Jt(this,this.handleKeyPress)),this.hadControls_=t.controls(),t.controls(!1),this.show(),this.conditionalFocus_(),this.el().setAttribute("aria-hidden","false"),this.trigger("modalopen"),this.hasBeenOpened_=!0}},e.prototype.opened=function(t){return"boolean"==typeof t&&this[t?"open":"close"](),this.opened_},e.prototype.close=function(){if(this.opened_){var t=this.player();this.trigger("beforemodalclose"),this.opened_=!1,this.wasPlaying_&&this.options_.pauseOnOpen&&t.play(),this.closeable()&&this.off(this.el_.ownerDocument,"keydown",Jt(this,this.handleKeyPress)),this.hadControls_&&t.controls(!0),this.hide(),this.el().setAttribute("aria-hidden","true"),this.trigger("modalclose"),this.conditionalBlur_(),this.options_.temporary&&this.dispose()}},e.prototype.closeable=function(t){if("boolean"==typeof t){var e=this.closeable_=!!t,n=this.getChild("closeButton");if(e&&!n){var i=this.contentEl_;this.contentEl_=this.el_,n=this.addChild("closeButton",{controlText:"Close Modal Dialog"}),this.contentEl_=i,this.on(n,"close",this.close)}!e&&n&&(this.off(n,"close",this.close),this.removeChild(n),n.dispose())}return this.closeable_},e.prototype.fill=function(){this.fillWith(this.content())},e.prototype.fillWith=function(t){var e=this.contentEl(),n=e.parentNode,i=e.nextSibling;this.trigger("beforemodalfill"),this.hasBeenFilled_=!0,n.removeChild(e),this.empty(),St(e,t),this.trigger("modalfill"),i?n.insertBefore(e,i):n.appendChild(e);var r=this.getChild("closeButton");r&&n.appendChild(r.el_)},e.prototype.empty=function(){this.trigger("beforemodalempty"),wt(this.contentEl()),this.trigger("modalempty")},e.prototype.content=function(t){return void 0!==t&&(this.content_=t),this.content_},e.prototype.conditionalFocus_=function(){var t=a.activeElement,e=this.player_.el_;this.previouslyActiveEl_=null,(e.contains(t)||e===t)&&(this.previouslyActiveEl_=t,this.focus(),this.on(a,"keydown",this.handleKeyDown))},e.prototype.conditionalBlur_=function(){this.previouslyActiveEl_&&(this.previouslyActiveEl_.focus(),this.previouslyActiveEl_=null),this.off(a,"keydown",this.handleKeyDown)},e.prototype.handleKeyDown=function(t){if(9===t.which){for(var e=this.focusableEls_(),n=this.el_.querySelector(":focus"),i=void 0,r=0;r<e.length;r++)if(n===e[r]){i=r;break}a.activeElement===this.el_&&(i=0),t.shiftKey&&0===i?(e[e.length-1].focus(),t.preventDefault()):t.shiftKey||i!==e.length-1||(e[0].focus(),t.preventDefault())}},e.prototype.focusableEls_=function(){var t=this.el_.querySelectorAll("*");return Array.prototype.filter.call(t,function(t){return(t instanceof o.HTMLAnchorElement||t instanceof o.HTMLAreaElement)&&t.hasAttribute("href")||(t instanceof o.HTMLInputElement||t instanceof o.HTMLSelectElement||t instanceof o.HTMLTextAreaElement||t instanceof o.HTMLButtonElement)&&!t.hasAttribute("disabled")||t instanceof o.HTMLIFrameElement||t instanceof o.HTMLObjectElement||t instanceof o.HTMLEmbedElement||t.hasAttribute("tabindex")&&-1!==t.getAttribute("tabindex")||t.hasAttribute("contenteditable")})},e}(ge);Fe.prototype.options_={pauseOnOpen:!0,temporary:!0},ge.registerComponent("ModalDialog",Fe);var Pe=function(t){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;P(this,e);var r=j(this,t.call(this));if(!i&&(i=r,T))for(var o in i=a.createElement("custom"),e.prototype)"constructor"!==o&&(i[o]=e.prototype[o]);i.tracks_=[],Object.defineProperty(i,"length",{get:function(){return this.tracks_.length}});for(var s=0;s<n.length;s++)i.addTrack(n[s]);return j(r,i)}return N(e,t),e.prototype.addTrack=function(t){var e=this.tracks_.length;""+e in this||Object.defineProperty(this,e,{get:function(){return this.tracks_[e]}}),-1===this.tracks_.indexOf(t)&&(this.tracks_.push(t),this.trigger({track:t,type:"addtrack"}))},e.prototype.removeTrack=function(t){for(var e=void 0,n=0,i=this.length;n<i;n++)if(this[n]===t){(e=this[n]).off&&e.off(),this.tracks_.splice(n,1);break}e&&this.trigger({track:e,type:"removetrack"})},e.prototype.getTrackById=function(t){for(var e=null,n=0,i=this.length;n<i;n++){var r=this[n];if(r.id===t){e=r;break}}return e},e}(ne);for(var Ne in Pe.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack"},Pe.prototype.allowedEvents_)Pe.prototype["on"+Ne]=null;var je=function(t,e){for(var n=0;n<t.length;n++)Object.keys(t[n]).length&&e.id!==t[n].id&&(t[n].enabled=!1)},Ue=function(t){function e(){var n,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];P(this,e);for(var r=void 0,o=i.length-1;o>=0;o--)if(i[o].enabled){je(i,i[o]);break}if(T){for(var s in r=a.createElement("custom"),Pe.prototype)"constructor"!==s&&(r[s]=Pe.prototype[s]);for(var l in e.prototype)"constructor"!==l&&(r[l]=e.prototype[l])}return(r=n=j(this,t.call(this,i,r))).changing_=!1,j(n,r)}return N(e,t),e.prototype.addTrack=function(e){var n=this;e.enabled&&je(this,e),t.prototype.addTrack.call(this,e),e.addEventListener&&e.addEventListener("enabledchange",function(){n.changing_||(n.changing_=!0,je(n,e),n.changing_=!1,n.trigger("change"))})},e}(Pe),Re=function(t,e){for(var n=0;n<t.length;n++)Object.keys(t[n]).length&&e.id!==t[n].id&&(t[n].selected=!1)},Qe=function(t){function e(){var n,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];P(this,e);for(var r=void 0,o=i.length-1;o>=0;o--)if(i[o].selected){Re(i,i[o]);break}if(T){for(var s in r=a.createElement("custom"),Pe.prototype)"constructor"!==s&&(r[s]=Pe.prototype[s]);for(var l in e.prototype)"constructor"!==l&&(r[l]=e.prototype[l])}return(r=n=j(this,t.call(this,i,r))).changing_=!1,Object.defineProperty(r,"selectedIndex",{get:function(){for(var t=0;t<this.length;t++)if(this[t].selected)return t;return-1},set:function(){}}),j(n,r)}return N(e,t),e.prototype.addTrack=function(e){var n=this;e.selected&&Re(this,e),t.prototype.addTrack.call(this,e),e.addEventListener&&e.addEventListener("selectedchange",function(){n.changing_||(n.changing_=!0,Re(n,e),n.changing_=!1,n.trigger("change"))})},e}(Pe),He=function(t){function e(){var n,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];P(this,e);var r=void 0;if(T){for(var o in r=a.createElement("custom"),Pe.prototype)"constructor"!==o&&(r[o]=Pe.prototype[o]);for(var s in e.prototype)"constructor"!==s&&(r[s]=e.prototype[s])}return n=j(this,t.call(this,i,r)),j(n,r=n)}return N(e,t),e.prototype.addTrack=function(e){t.prototype.addTrack.call(this,e),e.addEventListener("modechange",Jt(this,function(){this.trigger("change")}));-1===["metadata","chapters"].indexOf(e.kind)&&e.addEventListener("modechange",Jt(this,function(){this.trigger("selectedlanguagechange")}))},e}(Pe),Ve=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];P(this,t);var n=this;if(T)for(var i in n=a.createElement("custom"),t.prototype)"constructor"!==i&&(n[i]=t.prototype[i]);n.trackElements_=[],Object.defineProperty(n,"length",{get:function(){return this.trackElements_.length}});for(var r=0,o=e.length;r<o;r++)n.addTrackElement_(e[r]);if(T)return n}return t.prototype.addTrackElement_=function(t){var e=this.trackElements_.length;""+e in this||Object.defineProperty(this,e,{get:function(){return this.trackElements_[e]}}),-1===this.trackElements_.indexOf(t)&&this.trackElements_.push(t)},t.prototype.getTrackElementByTrack_=function(t){for(var e=void 0,n=0,i=this.trackElements_.length;n<i;n++)if(t===this.trackElements_[n].track){e=this.trackElements_[n];break}return e},t.prototype.removeTrackElement_=function(t){for(var e=0,n=this.trackElements_.length;e<n;e++)if(t===this.trackElements_[e]){this.trackElements_.splice(e,1);break}},t}(),ze=function(){function t(e){P(this,t);var n=this;if(T)for(var i in n=a.createElement("custom"),t.prototype)"constructor"!==i&&(n[i]=t.prototype[i]);if(t.prototype.setCues_.call(n,e),Object.defineProperty(n,"length",{get:function(){return this.length_}}),T)return n}return t.prototype.setCues_=function(t){var e=this.length||0,n=0,i=t.length;this.cues_=t,this.length_=t.length;var r=function(t){""+t in this||Object.defineProperty(this,""+t,{get:function(){return this.cues_[t]}})};if(e<i)for(n=e;n<i;n++)r.call(this,n)},t.prototype.getCueById=function(t){for(var e=null,n=0,i=this.length;n<i;n++){var r=this[n];if(r.id===t){e=r;break}}return e},t}(),$e={alternative:"alternative",captions:"captions",main:"main",sign:"sign",subtitles:"subtitles",commentary:"commentary"},Ge={alternative:"alternative",descriptions:"descriptions",main:"main","main-desc":"main-desc",translation:"translation",commentary:"commentary"},We={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"},Ke={disabled:"disabled",hidden:"hidden",showing:"showing"},Ye=function(t){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};P(this,e);var i=j(this,t.call(this)),r=i;if(T)for(var o in r=a.createElement("custom"),e.prototype)"constructor"!==o&&(r[o]=e.prototype[o]);var s={id:n.id||"vjs_track_"+It(),kind:n.kind||"",label:n.label||"",language:n.language||""},l=function(t){Object.defineProperty(r,t,{get:function(){return s[t]},set:function(){}})};for(var c in s)l(c);return j(i,r)}return N(e,t),e}(ne),Xe=function(t){var e=["protocol","hostname","port","pathname","search","hash","host"],n=a.createElement("a");n.href=t;var i=""===n.host&&"file:"!==n.protocol,r=void 0;i&&((r=a.createElement("div")).innerHTML='<a href="'+t+'"></a>',n=r.firstChild,r.setAttribute("style","display:none; position:absolute;"),a.body.appendChild(r));for(var s={},l=0;l<e.length;l++)s[e[l]]=n[e[l]];return"http:"===s.protocol&&(s.host=s.host.replace(/:80$/,"")),"https:"===s.protocol&&(s.host=s.host.replace(/:443$/,"")),s.protocol||(s.protocol=o.location.protocol),i&&a.body.removeChild(r),s},qe=function(t){if(!t.match(/^https?:\/\//)){var e=a.createElement("div");e.innerHTML='<a href="'+t+'">x</a>',t=e.firstChild.href}return t},Ze=function(t){if("string"==typeof t){var e=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/i.exec(t);if(e)return e.pop().toLowerCase()}return""},Je=function(t){var e=o.location,n=Xe(t);return(":"===n.protocol?e.protocol:n.protocol)+n.host!==e.protocol+e.host},tn=(Object.freeze||Object)({parseUrl:Xe,getAbsoluteURL:qe,getFileExtension:Ze,isCrossOrigin:Je}),en=function(t,e){var n=new o.WebVTT.Parser(o,o.vttjs,o.WebVTT.StringDecoder()),i=[];n.oncue=function(t){e.addCue(t)},n.onparsingerror=function(t){i.push(t)},n.onflush=function(){e.trigger({type:"loadeddata",target:e})},n.parse(t),i.length>0&&(o.console&&o.console.groupCollapsed&&o.console.groupCollapsed("Text Track parsing errors for "+e.src),i.forEach(function(t){return K.error(t)}),o.console&&o.console.groupEnd&&o.console.groupEnd()),n.flush()},nn=function(t,e){var n={uri:t},i=Je(t);i&&(n.cors=i),c(n,Jt(this,function(t,n,i){if(t)return K.error(t,n);if(e.loaded_=!0,"function"!=typeof o.WebVTT){if(e.tech_){var r=function(){return en(i,e)};e.tech_.on("vttjsloaded",r),e.tech_.on("vttjserror",function(){K.error("vttjs failed to load, stopping trying to process "+e.src),e.tech_.off("vttjsloaded",r)})}}else en(i,e)}))},rn=function(t){function e(){var n,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(P(this,e),!i.tech)throw new Error("A tech was not provided.");var r=Ae(i,{kind:We[i.kind]||"subtitles",language:i.language||i.srclang||""}),o=Ke[r.mode]||"disabled",a=r.default;"metadata"!==r.kind&&"chapters"!==r.kind||(o="hidden");var s=n=j(this,t.call(this,r));if(s.tech_=r.tech,T)for(var l in e.prototype)"constructor"!==l&&(s[l]=e.prototype[l]);s.cues_=[],s.activeCues_=[];var c=new ze(s.cues_),u=new ze(s.activeCues_),h=!1,d=Jt(s,function(){this.activeCues=this.activeCues,h&&(this.trigger("cuechange"),h=!1)});return"disabled"!==o&&s.tech_.ready(function(){s.tech_.on("timeupdate",d)},!0),Object.defineProperty(s,"default",{get:function(){return a},set:function(){}}),Object.defineProperty(s,"mode",{get:function(){return o},set:function(t){var e=this;Ke[t]&&("disabled"!==(o=t)?this.tech_.ready(function(){e.tech_.on("timeupdate",d)},!0):this.tech_.off("timeupdate",d),this.trigger("modechange"))}}),Object.defineProperty(s,"cues",{get:function(){return this.loaded_?c:null},set:function(){}}),Object.defineProperty(s,"activeCues",{get:function(){if(!this.loaded_)return null;if(0===this.cues.length)return u;for(var t=this.tech_.currentTime(),e=[],n=0,i=this.cues.length;n<i;n++){var r=this.cues[n];r.startTime<=t&&r.endTime>=t?e.push(r):r.startTime===r.endTime&&r.startTime<=t&&r.startTime+.5>=t&&e.push(r)}if(h=!1,e.length!==this.activeCues_.length)h=!0;else for(var o=0;o<e.length;o++)-1===this.activeCues_.indexOf(e[o])&&(h=!0);return this.activeCues_=e,u.setCues_(this.activeCues_),u},set:function(){}}),r.src?(s.src=r.src,nn(r.src,s)):s.loaded_=!0,j(n,s)}return N(e,t),e.prototype.addCue=function(t){var e=t;if(o.vttjs&&!(t instanceof o.vttjs.VTTCue)){for(var n in e=new o.vttjs.VTTCue(t.startTime,t.endTime,t.text),t)n in e||(e[n]=t[n]);e.id=t.id,e.originalCue_=t}for(var i=this.tech_.textTracks(),r=0;r<i.length;r++)i[r]!==this&&i[r].removeCue(e);this.cues_.push(e),this.cues.setCues_(this.cues_)},e.prototype.removeCue=function(t){for(var e=this.cues_.length;e--;){var n=this.cues_[e];if(n===t||n.originalCue_&&n.originalCue_===t){this.cues_.splice(e,1),this.cues.setCues_(this.cues_);break}}},e}(Ye);rn.prototype.allowedEvents_={cuechange:"cuechange"};var on=function(t){function e(){var n,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};P(this,e);var r=Ae(i,{kind:Ge[i.kind]||""}),o=n=j(this,t.call(this,r)),a=!1;if(T)for(var s in e.prototype)"constructor"!==s&&(o[s]=e.prototype[s]);return Object.defineProperty(o,"enabled",{get:function(){return a},set:function(t){"boolean"==typeof t&&t!==a&&(a=t,this.trigger("enabledchange"))}}),r.enabled&&(o.enabled=r.enabled),o.loaded_=!0,j(n,o)}return N(e,t),e}(Ye),an=function(t){function e(){var n,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};P(this,e);var r=Ae(i,{kind:$e[i.kind]||""}),o=n=j(this,t.call(this,r)),a=!1;if(T)for(var s in e.prototype)"constructor"!==s&&(o[s]=e.prototype[s]);return Object.defineProperty(o,"selected",{get:function(){return a},set:function(t){"boolean"==typeof t&&t!==a&&(a=t,this.trigger("selectedchange"))}}),r.selected&&(o.selected=r.selected),j(n,o)}return N(e,t),e}(Ye),sn=0,ln=2,cn=function(t){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};P(this,e);var i=j(this,t.call(this)),r=void 0,o=i;if(T)for(var s in o=a.createElement("custom"),e.prototype)"constructor"!==s&&(o[s]=e.prototype[s]);var l=new rn(n);return o.kind=l.kind,o.src=l.src,o.srclang=l.language,o.label=l.label,o.default=l.default,Object.defineProperty(o,"readyState",{get:function(){return r}}),Object.defineProperty(o,"track",{get:function(){return l}}),r=sn,l.addEventListener("loadeddata",function(){r=ln,o.trigger({type:"load",target:o})}),T?j(i,o):i}return N(e,t),e}(ne);cn.prototype.allowedEvents_={load:"load"},cn.NONE=sn,cn.LOADING=1,cn.LOADED=ln,cn.ERROR=3;var un={audio:{ListClass:Ue,TrackClass:on,capitalName:"Audio"},video:{ListClass:Qe,TrackClass:an,capitalName:"Video"},text:{ListClass:He,TrackClass:rn,capitalName:"Text"}};Object.keys(un).forEach(function(t){un[t].getterName=t+"Tracks",un[t].privateName=t+"Tracks_"});var hn={remoteText:{ListClass:He,TrackClass:rn,capitalName:"RemoteText",getterName:"remoteTextTracks",privateName:"remoteTextTracks_"},remoteTextEl:{ListClass:Ve,TrackClass:cn,capitalName:"RemoteTextTrackEls",getterName:"remoteTextTrackEls",privateName:"remoteTextTrackEls_"}},dn=Ae(un,hn);hn.names=Object.keys(hn),un.names=Object.keys(un),dn.names=[].concat(hn.names).concat(un.names);var fn=function(t){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};P(this,e),n.reportTouchActivity=!1;var r=j(this,t.call(this,null,n,i));return r.hasStarted_=!1,r.on("playing",function(){this.hasStarted_=!0}),r.on("loadstart",function(){this.hasStarted_=!1}),dn.names.forEach(function(t){var e=dn[t];n&&n[e.getterName]&&(r[e.privateName]=n[e.getterName])}),r.featuresProgressEvents||r.manualProgressOn(),r.featuresTimeupdateEvents||r.manualTimeUpdatesOn(),["Text","Audio","Video"].forEach(function(t){!1===n["native"+t+"Tracks"]&&(r["featuresNative"+t+"Tracks"]=!1)}),!1===n.nativeCaptions||!1===n.nativeTextTracks?r.featuresNativeTextTracks=!1:!0!==n.nativeCaptions&&!0!==n.nativeTextTracks||(r.featuresNativeTextTracks=!0),r.featuresNativeTextTracks||r.emulateTextTracks(),r.autoRemoteTextTracks_=new dn.text.ListClass,r.initTrackListeners(),n.nativeControlsForTouch||r.emitTapEvents(),r.constructor&&(r.name_=r.constructor.name||"Unknown Tech"),r}return N(e,t),e.prototype.triggerSourceset=function(t){var e=this;this.isReady_||this.one("ready",function(){return e.setTimeout(function(){return e.triggerSourceset(t)},1)}),this.trigger({src:t,type:"sourceset"})},e.prototype.manualProgressOn=function(){this.on("durationchange",this.onDurationChange),this.manualProgress=!0,this.one("ready",this.trackProgress)},e.prototype.manualProgressOff=function(){this.manualProgress=!1,this.stopTrackingProgress(),this.off("durationchange",this.onDurationChange)},e.prototype.trackProgress=function(t){this.stopTrackingProgress(),this.progressInterval=this.setInterval(Jt(this,function(){var t=this.bufferedPercent();this.bufferedPercent_!==t&&this.trigger("progress"),this.bufferedPercent_=t,1===t&&this.stopTrackingProgress()}),500)},e.prototype.onDurationChange=function(t){this.duration_=this.duration()},e.prototype.buffered=function(){return ye(0,0)},e.prototype.bufferedPercent=function(){return be(this.buffered(),this.duration_)},e.prototype.stopTrackingProgress=function(){this.clearInterval(this.progressInterval)},e.prototype.manualTimeUpdatesOn=function(){this.manualTimeUpdates=!0,this.on("play",this.trackCurrentTime),this.on("pause",this.stopTrackingCurrentTime)},e.prototype.manualTimeUpdatesOff=function(){this.manualTimeUpdates=!1,this.stopTrackingCurrentTime(),this.off("play",this.trackCurrentTime),this.off("pause",this.stopTrackingCurrentTime)},e.prototype.trackCurrentTime=function(){this.currentTimeInterval&&this.stopTrackingCurrentTime(),this.currentTimeInterval=this.setInterval(function(){this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},250)},e.prototype.stopTrackingCurrentTime=function(){this.clearInterval(this.currentTimeInterval),this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},e.prototype.dispose=function(){this.clearTracks(un.names),this.manualProgress&&this.manualProgressOff(),this.manualTimeUpdates&&this.manualTimeUpdatesOff(),t.prototype.dispose.call(this)},e.prototype.clearTracks=function(t){var e=this;(t=[].concat(t)).forEach(function(t){for(var n=e[t+"Tracks"]()||[],i=n.length;i--;){var r=n[i];"text"===t&&e.removeRemoteTextTrack(r),n.removeTrack(r)}})},e.prototype.cleanupAutoTextTracks=function(){for(var t=this.autoRemoteTextTracks_||[],e=t.length;e--;){var n=t[e];this.removeRemoteTextTrack(n)}},e.prototype.reset=function(){},e.prototype.error=function(t){return void 0!==t&&(this.error_=new ke(t),this.trigger("error")),this.error_},e.prototype.played=function(){return this.hasStarted_?ye(0,0):ye()},e.prototype.setCurrentTime=function(){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},e.prototype.initTrackListeners=function(){var t=this;un.names.forEach(function(e){var n=un[e],i=function(){t.trigger(e+"trackchange")},r=t[n.getterName]();r.addEventListener("removetrack",i),r.addEventListener("addtrack",i),t.on("dispose",function(){r.removeEventListener("removetrack",i),r.removeEventListener("addtrack",i)})})},e.prototype.addWebVttScript_=function(){var t=this;if(!o.WebVTT)if(a.body.contains(this.el())){if(!this.options_["vtt.js"]&&$(u)&&Object.keys(u).length>0)return void this.trigger("vttjsloaded");var e=a.createElement("script");e.src=this.options_["vtt.js"]||"https://vjs.zencdn.net/vttjs/0.12.4/vtt.min.js",e.onload=function(){t.trigger("vttjsloaded")},e.onerror=function(){t.trigger("vttjserror")},this.on("dispose",function(){e.onload=null,e.onerror=null}),o.WebVTT=!0,this.el().parentNode.appendChild(e)}else this.ready(this.addWebVttScript_)},e.prototype.emulateTextTracks=function(){var t=this,e=this.textTracks(),n=this.remoteTextTracks(),i=function(t){return e.addTrack(t.track)},r=function(t){return e.removeTrack(t.track)};n.on("addtrack",i),n.on("removetrack",r),this.addWebVttScript_();var o=function(){return t.trigger("texttrackchange")},a=function(){o();for(var t=0;t<e.length;t++){var n=e[t];n.removeEventListener("cuechange",o),"showing"===n.mode&&n.addEventListener("cuechange",o)}};a(),e.addEventListener("change",a),e.addEventListener("addtrack",a),e.addEventListener("removetrack",a),this.on("dispose",function(){n.off("addtrack",i),n.off("removetrack",r),e.removeEventListener("change",a),e.removeEventListener("addtrack",a),e.removeEventListener("removetrack",a);for(var t=0;t<e.length;t++){e[t].removeEventListener("cuechange",o)}})},e.prototype.addTextTrack=function(t,e,n){if(!t)throw new Error("TextTrack kind is required but was not provided");return function(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=t.textTracks();r.kind=e,n&&(r.label=n),i&&(r.language=i),r.tech=t;var a=new dn.text.TrackClass(r);return o.addTrack(a),a}(this,t,e,n)},e.prototype.createRemoteTextTrack=function(t){var e=Ae(t,{tech:this});return new hn.remoteTextEl.TrackClass(e)},e.prototype.addRemoteTextTrack=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1],i=this.createRemoteTextTrack(e);return!0!==n&&!1!==n&&(K.warn('Calling addRemoteTextTrack without explicitly setting the "manualCleanup" parameter to `true` is deprecated and default to `false` in future version of video.js'),n=!0),this.remoteTextTrackEls().addTrackElement_(i),this.remoteTextTracks().addTrack(i.track),!0!==n&&this.ready(function(){return t.autoRemoteTextTracks_.addTrack(i.track)}),i},e.prototype.removeRemoteTextTrack=function(t){var e=this.remoteTextTrackEls().getTrackElementByTrack_(t);this.remoteTextTrackEls().removeTrackElement_(e),this.remoteTextTracks().removeTrack(t),this.autoRemoteTextTracks_.removeTrack(t)},e.prototype.getVideoPlaybackQuality=function(){return{}},e.prototype.setPoster=function(){},e.prototype.playsinline=function(){},e.prototype.setPlaysinline=function(){},e.prototype.canPlayType=function(){return""},e.canPlayType=function(){return""},e.canPlaySource=function(t,n){return e.canPlayType(t.type)},e.isTech=function(t){return t.prototype instanceof e||t instanceof e||t===e},e.registerTech=function(t,n){if(e.techs_||(e.techs_={}),!e.isTech(n))throw new Error("Tech "+t+" must be a Tech");if(!e.canPlayType)throw new Error("Techs must have a static canPlayType method on them");if(!e.canPlaySource)throw new Error("Techs must have a static canPlaySource method on them");return t=pe(t),e.techs_[t]=n,"Tech"!==t&&e.defaultTechOrder_.push(t),n},e.getTech=function(t){if(t)return t=pe(t),e.techs_&&e.techs_[t]?e.techs_[t]:o&&o.videojs&&o.videojs[t]?(K.warn("The "+t+" tech was added to the videojs object when it should be registered using videojs.registerTech(name, tech)"),o.videojs[t]):void 0},e}(ge);dn.names.forEach(function(t){var e=dn[t];fn.prototype[e.getterName]=function(){return this[e.privateName]=this[e.privateName]||new e.ListClass,this[e.privateName]}}),fn.prototype.featuresVolumeControl=!0,fn.prototype.featuresMuteControl=!0,fn.prototype.featuresFullscreenResize=!1,fn.prototype.featuresPlaybackRate=!1,fn.prototype.featuresProgressEvents=!1,fn.prototype.featuresSourceset=!1,fn.prototype.featuresTimeupdateEvents=!1,fn.prototype.featuresNativeTextTracks=!1,fn.withSourceHandlers=function(t){t.registerSourceHandler=function(e,n){var i=t.sourceHandlers;i||(i=t.sourceHandlers=[]),void 0===n&&(n=i.length),i.splice(n,0,e)},t.canPlayType=function(e){for(var n=t.sourceHandlers||[],i=void 0,r=0;r<n.length;r++)if(i=n[r].canPlayType(e))return i;return""},t.selectSourceHandler=function(e,n){for(var i=t.sourceHandlers||[],r=0;r<i.length;r++)if(i[r].canHandleSource(e,n))return i[r];return null},t.canPlaySource=function(e,n){var i=t.selectSourceHandler(e,n);return i?i.canHandleSource(e,n):""};["seekable","seeking","duration"].forEach(function(t){var e=this[t];"function"==typeof e&&(this[t]=function(){return this.sourceHandler_&&this.sourceHandler_[t]?this.sourceHandler_[t].apply(this.sourceHandler_,arguments):e.apply(this,arguments)})},t.prototype),t.prototype.setSource=function(e){var n=t.selectSourceHandler(e,this.options_);n||(t.nativeSourceHandler?n=t.nativeSourceHandler:K.error("No source hander found for the current source.")),this.disposeSourceHandler(),this.off("dispose",this.disposeSourceHandler),n!==t.nativeSourceHandler&&(this.currentSource_=e),this.sourceHandler_=n.handleSource(e,this,this.options_),this.on("dispose",this.disposeSourceHandler)},t.prototype.disposeSourceHandler=function(){this.currentSource_&&(this.clearTracks(["audio","video"]),this.currentSource_=null),this.cleanupAutoTextTracks(),this.sourceHandler_&&(this.sourceHandler_.dispose&&this.sourceHandler_.dispose(),this.sourceHandler_=null)}},ge.registerComponent("Tech",fn),fn.registerTech("Tech",fn),fn.defaultTechOrder_=[];var pn={},An={},gn={};function vn(t,e,n){t.setTimeout(function(){return function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];var i=arguments[2];var r=arguments[3];var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];var a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];var s=n[0],l=n.slice(1);if("string"==typeof s)t(e,pn[s],i,r,o,a);else if(s){var c=function(t,e){var n=An[t.id()],i=null;if(void 0===n||null===n)return i=e(t),An[t.id()]=[[e,i]],i;for(var r=0;r<n.length;r++){var o=n[r],a=o[0],s=o[1];a===e&&(i=s)}null===i&&(i=e(t),n.push([e,i]));return i}(r,s);if(!c.setSource)return o.push(c),t(e,l,i,r,o,a);c.setSource(V({},e),function(n,s){if(n)return t(e,l,i,r,o,a);o.push(c),t(s,e.type===s.type?l:pn[s.type],i,r,o,a)})}else l.length?t(e,l,i,r,o,a):a?i(e,o):t(e,pn["*"],i,r,o,!0)}(e,pn[e.type],n,t)},1)}function mn(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r="call"+pe(n),o=t.reduce(wn(r),i),a=o===gn,s=a?null:e[n](o);return function(t,e,n,i){for(var r=t.length-1;r>=0;r--){var o=t[r];o[e]&&o[e](i,n)}}(t,n,s,a),s}var yn={buffered:1,currentTime:1,duration:1,seekable:1,played:1,paused:1},bn={setCurrentTime:1},_n={play:1,pause:1};function wn(t){return function(e,n){return e===gn?gn:n[t]?n[t](e):e}}var xn={opus:"video/ogg",ogv:"video/ogg",mp4:"video/mp4",mov:"video/mp4",m4v:"video/mp4",mkv:"video/x-matroska",mp3:"audio/mpeg",aac:"audio/aac",oga:"audio/ogg",m3u8:"application/x-mpegURL"},Cn=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=Ze(t);return xn[e.toLowerCase()]||""};function Sn(t){var e=Cn(t.src);return!t.type&&e&&(t.type=e),t}var Bn=function(t){function e(n,i,r){P(this,e);var o=Ae({createEl:!1},i),a=j(this,t.call(this,n,o,r));if(i.playerOptions.sources&&0!==i.playerOptions.sources.length)n.src(i.playerOptions.sources);else for(var s=0,l=i.playerOptions.techOrder;s<l.length;s++){var c=pe(l[s]),u=fn.getTech(c);if(c||(u=ge.getComponent(c)),u&&u.isSupported()){n.loadTech_(c);break}}return a}return N(e,t),e}(ge);ge.registerComponent("MediaLoader",Bn);var kn=function(t){function e(n,i){P(this,e);var r=j(this,t.call(this,n,i));return r.emitTapEvents(),r.enable(),r}return N(e,t),e.prototype.createEl=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};n=V({innerHTML:'<span aria-hidden="true" class="vjs-icon-placeholder"></span>',className:this.buildCSSClass(),tabIndex:0},n),"button"===e&&K.error("Creating a ClickableComponent with an HTML element of "+e+" is not supported; use a Button instead."),i=V({role:"button"},i),this.tabIndex_=n.tabIndex;var r=t.prototype.createEl.call(this,e,n,i);return this.createControlTextEl(r),r},e.prototype.dispose=function(){this.controlTextEl_=null,t.prototype.dispose.call(this)},e.prototype.createControlTextEl=function(t){return this.controlTextEl_=rt("span",{className:"vjs-control-text"},{"aria-live":"polite"}),t&&t.appendChild(this.controlTextEl_),this.controlText(this.controlText_,t),this.controlTextEl_},e.prototype.controlText=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.el();if(void 0===t)return this.controlText_||"Need Text";var n=this.localize(t);this.controlText_=t,ot(this.controlTextEl_,n),this.nonIconControl||e.setAttribute("title",n)},e.prototype.buildCSSClass=function(){return"vjs-control vjs-button "+t.prototype.buildCSSClass.call(this)},e.prototype.enable=function(){this.enabled_||(this.enabled_=!0,this.removeClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","false"),void 0!==this.tabIndex_&&this.el_.setAttribute("tabIndex",this.tabIndex_),this.on(["tap","click"],this.handleClick),this.on("focus",this.handleFocus),this.on("blur",this.handleBlur))},e.prototype.disable=function(){this.enabled_=!1,this.addClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","true"),void 0!==this.tabIndex_&&this.el_.removeAttribute("tabIndex"),this.off(["tap","click"],this.handleClick),this.off("focus",this.handleFocus),this.off("blur",this.handleBlur)},e.prototype.handleClick=function(t){},e.prototype.handleFocus=function(t){Ht(a,"keydown",Jt(this,this.handleKeyPress))},e.prototype.handleKeyPress=function(e){32===e.which||13===e.which?(e.preventDefault(),this.trigger("click")):t.prototype.handleKeyPress&&t.prototype.handleKeyPress.call(this,e)},e.prototype.handleBlur=function(t){Vt(a,"keydown",Jt(this,this.handleKeyPress))},e}(ge);ge.registerComponent("ClickableComponent",kn);var Tn=function(t){function e(n,i){P(this,e);var r=j(this,t.call(this,n,i));return r.update(),n.on("posterchange",Jt(r,r.update)),r}return N(e,t),e.prototype.dispose=function(){this.player().off("posterchange",this.update),t.prototype.dispose.call(this)},e.prototype.createEl=function(){var t=rt("div",{className:"vjs-poster",tabIndex:-1});return D||(this.fallbackImg_=rt("img"),t.appendChild(this.fallbackImg_)),t},e.prototype.update=function(t){var e=this.player().poster();this.setSrc(e),e?this.show():this.hide()},e.prototype.setSrc=function(t){if(this.fallbackImg_)this.fallbackImg_.src=t;else{var e="";t&&(e='url("'+t+'")'),this.el_.style.backgroundImage=e}},e.prototype.handleClick=function(t){this.player_.controls()&&(this.player_.paused()?Ee(this.player_.play()):this.player_.pause())},e}(kn);ge.registerComponent("PosterImage",Tn);var On={monospace:"monospace",sansSerif:"sans-serif",serif:"serif",monospaceSansSerif:'"Andale Mono", "Lucida Console", monospace',monospaceSerif:'"Courier New", monospace',proportionalSansSerif:"sans-serif",proportionalSerif:"serif",casual:'"Comic Sans MS", Impact, fantasy',script:'"Monotype Corsiva", cursive',smallcaps:'"Andale Mono", "Lucida Console", monospace, sans-serif'};function En(t,e){var n=void 0;if(4===t.length)n=t[1]+t[1]+t[2]+t[2]+t[3]+t[3];else{if(7!==t.length)throw new Error("Invalid color code provided, "+t+"; must be formatted as e.g. #f0e or #f604e2.");n=t.slice(1)}return"rgba("+parseInt(n.slice(0,2),16)+","+parseInt(n.slice(2,4),16)+","+parseInt(n.slice(4,6),16)+","+e+")"}function In(t,e,n){try{t.style[e]=n}catch(t){return}}var Mn=function(t){function e(n,i,r){P(this,e);var a=j(this,t.call(this,n,i,r)),s=Jt(a,a.updateDisplay);return n.on("loadstart",Jt(a,a.toggleDisplay)),n.on("texttrackchange",s),n.on("loadstart",Jt(a,a.preselectTrack)),n.ready(Jt(a,function(){if(n.tech_&&n.tech_.featuresNativeTextTracks)this.hide();else{n.on("fullscreenchange",s),n.on("playerresize",s),o.addEventListener&&o.addEventListener("orientationchange",s),n.on("dispose",function(){return o.removeEventListener("orientationchange",s)});for(var t=this.options_.playerOptions.tracks||[],e=0;e<t.length;e++)this.player_.addRemoteTextTrack(t[e],!0);this.preselectTrack()}})),a}return N(e,t),e.prototype.preselectTrack=function(){for(var t={captions:1,subtitles:1},e=this.player_.textTracks(),n=this.player_.cache_.selectedLanguage,i=void 0,r=void 0,o=void 0,a=0;a<e.length;a++){var s=e[a];n&&n.enabled&&n.language===s.language?s.kind===n.kind?o=s:o||(o=s):n&&!n.enabled?(o=null,i=null,r=null):s.default&&("descriptions"!==s.kind||i?s.kind in t&&!r&&(r=s):i=s)}o?o.mode="showing":r?r.mode="showing":i&&(i.mode="showing")},e.prototype.toggleDisplay=function(){this.player_.tech_&&this.player_.tech_.featuresNativeTextTracks?this.hide():this.show()},e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-text-track-display"},{"aria-live":"off","aria-atomic":"true"})},e.prototype.clearDisplay=function(){"function"==typeof o.WebVTT&&o.WebVTT.processCues(o,[],this.el_)},e.prototype.updateDisplay=function(){var t=this.player_.textTracks();this.clearDisplay();for(var e=null,n=null,i=t.length;i--;){var r=t[i];"showing"===r.mode&&("descriptions"===r.kind?e=r:n=r)}n?("off"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","off"),this.updateForTrack(n)):e&&("assertive"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","assertive"),this.updateForTrack(e))},e.prototype.updateForTrack=function(t){if("function"==typeof o.WebVTT&&t.activeCues){for(var e=[],n=0;n<t.activeCues.length;n++)e.push(t.activeCues[n]);if(o.WebVTT.processCues(o,e,this.el_),this.player_.textTrackSettings)for(var i=this.player_.textTrackSettings.getValues(),r=e.length;r--;){var a=e[r];if(a){var s=a.displayState;if(i.color&&(s.firstChild.style.color=i.color),i.textOpacity&&In(s.firstChild,"color",En(i.color||"#fff",i.textOpacity)),i.backgroundColor&&(s.firstChild.style.backgroundColor=i.backgroundColor),i.backgroundOpacity&&In(s.firstChild,"backgroundColor",En(i.backgroundColor||"#000",i.backgroundOpacity)),i.windowColor&&(i.windowOpacity?In(s,"backgroundColor",En(i.windowColor,i.windowOpacity)):s.style.backgroundColor=i.windowColor),i.edgeStyle&&("dropshadow"===i.edgeStyle?s.firstChild.style.textShadow="2px 2px 3px #222, 2px 2px 4px #222, 2px 2px 5px #222":"raised"===i.edgeStyle?s.firstChild.style.textShadow="1px 1px #222, 2px 2px #222, 3px 3px #222":"depressed"===i.edgeStyle?s.firstChild.style.textShadow="1px 1px #ccc, 0 1px #ccc, -1px -1px #222, 0 -1px #222":"uniform"===i.edgeStyle&&(s.firstChild.style.textShadow="0 0 4px #222, 0 0 4px #222, 0 0 4px #222, 0 0 4px #222")),i.fontPercent&&1!==i.fontPercent){var l=o.parseFloat(s.style.fontSize);s.style.fontSize=l*i.fontPercent+"px",s.style.height="auto",s.style.top="auto",s.style.bottom="2px"}i.fontFamily&&"default"!==i.fontFamily&&("small-caps"===i.fontFamily?s.firstChild.style.fontVariant="small-caps":s.firstChild.style.fontFamily=On[i.fontFamily])}}}},e}(ge);ge.registerComponent("TextTrackDisplay",Mn);var Dn=function(t){function e(){return P(this,e),j(this,t.apply(this,arguments))}return N(e,t),e.prototype.createEl=function(){var e=this.player_.isAudio(),n=this.localize(e?"Audio Player":"Video Player"),i=rt("span",{className:"vjs-control-text",innerHTML:this.localize("{1} is loading.",[n])}),r=t.prototype.createEl.call(this,"div",{className:"vjs-loading-spinner",dir:"ltr"});return r.appendChild(i),r},e}(ge);ge.registerComponent("LoadingSpinner",Dn);var Ln=function(t){function e(){return P(this,e),j(this,t.apply(this,arguments))}return N(e,t),e.prototype.createEl=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e=V({innerHTML:'<span aria-hidden="true" class="vjs-icon-placeholder"></span>',className:this.buildCSSClass()},e),n=V({type:"button"},n);var i=ge.prototype.createEl.call(this,"button",e,n);return this.createControlTextEl(i),i},e.prototype.addChild=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.constructor.name;return K.warn("Adding an actionable (user controllable) child to a Button ("+n+") is not supported; use a ClickableComponent instead."),ge.prototype.addChild.call(this,t,e)},e.prototype.enable=function(){t.prototype.enable.call(this),this.el_.removeAttribute("disabled")},e.prototype.disable=function(){t.prototype.disable.call(this),this.el_.setAttribute("disabled","disabled")},e.prototype.handleKeyPress=function(e){32!==e.which&&13!==e.which&&t.prototype.handleKeyPress.call(this,e)},e}(kn);ge.registerComponent("Button",Ln);var Fn=function(t){function e(n,i){P(this,e);var r=j(this,t.call(this,n,i));return r.mouseused_=!1,r.on("mousedown",r.handleMouseDown),r}return N(e,t),e.prototype.buildCSSClass=function(){return"vjs-big-play-button"},e.prototype.handleClick=function(t){var e=this.player_.play();if(this.mouseused_&&t.clientX&&t.clientY)Ee(e);else{var n=this.player_.getChild("controlBar"),i=n&&n.getChild("playToggle");if(i){var r=function(){return i.focus()};Oe(e)?e.then(r,function(){}):this.setTimeout(r,1)}else this.player_.focus()}},e.prototype.handleKeyPress=function(e){this.mouseused_=!1,t.prototype.handleKeyPress.call(this,e)},e.prototype.handleMouseDown=function(t){this.mouseused_=!0},e}(Ln);Fn.prototype.controlText_="Play Video",ge.registerComponent("BigPlayButton",Fn);var Pn=function(t){function e(n,i){P(this,e);var r=j(this,t.call(this,n,i));return r.controlText(i&&i.controlText||r.localize("Close")),r}return N(e,t),e.prototype.buildCSSClass=function(){return"vjs-close-button "+t.prototype.buildCSSClass.call(this)},e.prototype.handleClick=function(t){this.trigger({type:"close",bubbles:!1})},e}(Ln);ge.registerComponent("CloseButton",Pn);var Nn=function(t){function e(n,i){P(this,e);var r=j(this,t.call(this,n,i));return r.on(n,"play",r.handlePlay),r.on(n,"pause",r.handlePause),r.on(n,"ended",r.handleEnded),r}return N(e,t),e.prototype.buildCSSClass=function(){return"vjs-play-control "+t.prototype.buildCSSClass.call(this)},e.prototype.handleClick=function(t){this.player_.paused()?this.player_.play():this.player_.pause()},e.prototype.handleSeeked=function(t){this.removeClass("vjs-ended"),this.player_.paused()?this.handlePause(t):this.handlePlay(t)},e.prototype.handlePlay=function(t){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.controlText("Pause")},e.prototype.handlePause=function(t){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.controlText("Play")},e.prototype.handleEnded=function(t){this.removeClass("vjs-playing"),this.addClass("vjs-ended"),this.controlText("Replay"),this.one(this.player_,"seeked",this.handleSeeked)},e}(Ln);Nn.prototype.controlText_="Play",ge.registerComponent("PlayToggle",Nn);var jn=function(t,e){t=t<0?0:t;var n=Math.floor(t%60),i=Math.floor(t/60%60),r=Math.floor(t/3600),o=Math.floor(e/60%60),a=Math.floor(e/3600);return(isNaN(t)||t===1/0)&&(r=i=n="-"),(r=r>0||a>0?r+":":"")+(i=((r||o>=10)&&i<10?"0"+i:i)+":")+(n=n<10?"0"+n:n)},Un=jn;var Rn=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;return Un(t,e)},Qn=function(t){function e(n,i){P(this,e);var r=j(this,t.call(this,n,i));return r.throttledUpdateContent=te(Jt(r,r.updateContent),25),r.on(n,"timeupdate",r.throttledUpdateContent),r}return N(e,t),e.prototype.createEl=function(e){var n=this.buildCSSClass(),i=t.prototype.createEl.call(this,"div",{className:n+" vjs-time-control vjs-control",innerHTML:'<span class="vjs-control-text">'+this.localize(this.labelText_)+" </span>"});return this.contentEl_=rt("span",{className:n+"-display"},{"aria-live":"off"}),this.updateTextNode_(),i.appendChild(this.contentEl_),i},e.prototype.dispose=function(){this.contentEl_=null,this.textNode_=null,t.prototype.dispose.call(this)},e.prototype.updateTextNode_=function(){if(this.contentEl_){for(;this.contentEl_.firstChild;)this.contentEl_.removeChild(this.contentEl_.firstChild);this.textNode_=a.createTextNode(this.formattedTime_||this.formatTime_(0)),this.contentEl_.appendChild(this.textNode_)}},e.prototype.formatTime_=function(t){return Rn(t)},e.prototype.updateFormattedTime_=function(t){var e=this.formatTime_(t);e!==this.formattedTime_&&(this.formattedTime_=e,this.requestAnimationFrame(this.updateTextNode_))},e.prototype.updateContent=function(t){},e}(ge);Qn.prototype.labelText_="Time",Qn.prototype.controlText_="Time",ge.registerComponent("TimeDisplay",Qn);var Hn=function(t){function e(n,i){P(this,e);var r=j(this,t.call(this,n,i));return r.on(n,"ended",r.handleEnded),r}return N(e,t),e.prototype.buildCSSClass=function(){return"vjs-current-time"},e.prototype.updateContent=function(t){var e=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();this.updateFormattedTime_(e)},e.prototype.handleEnded=function(t){this.player_.duration()&&this.updateFormattedTime_(this.player_.duration())},e}(Qn);Hn.prototype.labelText_="Current Time",Hn.prototype.controlText_="Current Time",ge.registerComponent("CurrentTimeDisplay",Hn);var Vn=function(t){function e(n,i){P(this,e);var r=j(this,t.call(this,n,i));return r.on(n,"durationchange",r.updateContent),r.on(n,"loadedmetadata",r.throttledUpdateContent),r}return N(e,t),e.prototype.buildCSSClass=function(){return"vjs-duration"},e.prototype.updateContent=function(t){var e=this.player_.duration();e&&this.duration_!==e&&(this.duration_=e,this.updateFormattedTime_(e))},e}(Qn);Vn.prototype.labelText_="Duration",Vn.prototype.controlText_="Duration",ge.registerComponent("DurationDisplay",Vn);var zn=function(t){function e(){return P(this,e),j(this,t.apply(this,arguments))}return N(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-time-control vjs-time-divider",innerHTML:"<div><span>/</span></div>"})},e}(ge);ge.registerComponent("TimeDivider",zn);var $n=function(t){function e(n,i){P(this,e);var r=j(this,t.call(this,n,i));return r.on(n,"durationchange",r.throttledUpdateContent),r.on(n,"ended",r.handleEnded),r}return N(e,t),e.prototype.buildCSSClass=function(){return"vjs-remaining-time"},e.prototype.formatTime_=function(e){return"-"+t.prototype.formatTime_.call(this,e)},e.prototype.updateContent=function(t){this.player_.duration()&&(this.player_.remainingTimeDisplay?this.updateFormattedTime_(this.player_.remainingTimeDisplay()):this.updateFormattedTime_(this.player_.remainingTime()))},e.prototype.handleEnded=function(t){this.player_.duration()&&this.updateFormattedTime_(0)},e}(Qn);$n.prototype.labelText_="Remaining Time",$n.prototype.controlText_="Remaining Time",ge.registerComponent("RemainingTimeDisplay",$n);var Gn=function(t){function e(n,i){P(this,e);var r=j(this,t.call(this,n,i));return r.updateShowing(),r.on(r.player(),"durationchange",r.updateShowing),r}return N(e,t),e.prototype.createEl=function(){var e=t.prototype.createEl.call(this,"div",{className:"vjs-live-control vjs-control"});return this.contentEl_=rt("div",{className:"vjs-live-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Stream Type")+" </span>"+this.localize("LIVE")},{"aria-live":"off"}),e.appendChild(this.contentEl_),e},e.prototype.dispose=function(){this.contentEl_=null,t.prototype.dispose.call(this)},e.prototype.updateShowing=function(t){this.player().duration()===1/0?this.show():this.hide()},e}(ge);ge.registerComponent("LiveDisplay",Gn);var Wn=function(t){function e(n,i){P(this,e);var r=j(this,t.call(this,n,i));return r.bar=r.getChild(r.options_.barName),r.vertical(!!r.options_.vertical),r.enable(),r}return N(e,t),e.prototype.enabled=function(){return this.enabled_},e.prototype.enable=function(){this.enabled()||(this.on("mousedown",this.handleMouseDown),this.on("touchstart",this.handleMouseDown),this.on("focus",this.handleFocus),this.on("blur",this.handleBlur),this.on("click",this.handleClick),this.on(this.player_,"controlsvisible",this.update),this.playerEvent&&this.on(this.player_,this.playerEvent,this.update),this.removeClass("disabled"),this.setAttribute("tabindex",0),this.enabled_=!0)},e.prototype.disable=function(){if(this.enabled()){var t=this.bar.el_.ownerDocument;this.off("mousedown",this.handleMouseDown),this.off("touchstart",this.handleMouseDown),this.off("focus",this.handleFocus),this.off("blur",this.handleBlur),this.off("click",this.handleClick),this.off(this.player_,"controlsvisible",this.update),this.off(t,"mousemove",this.handleMouseMove),this.off(t,"mouseup",this.handleMouseUp),this.off(t,"touchmove",this.handleMouseMove),this.off(t,"touchend",this.handleMouseUp),this.removeAttribute("tabindex"),this.addClass("disabled"),this.playerEvent&&this.off(this.player_,this.playerEvent,this.update),this.enabled_=!1}},e.prototype.createEl=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.className=n.className+" vjs-slider",n=V({tabIndex:0},n),i=V({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},i),t.prototype.createEl.call(this,e,n,i)},e.prototype.handleMouseDown=function(t){var e=this.bar.el_.ownerDocument;"mousedown"===t.type&&t.preventDefault(),"touchstart"!==t.type||B||t.preventDefault(),gt(),this.addClass("vjs-sliding"),this.trigger("slideractive"),this.on(e,"mousemove",this.handleMouseMove),this.on(e,"mouseup",this.handleMouseUp),this.on(e,"touchmove",this.handleMouseMove),this.on(e,"touchend",this.handleMouseUp),this.handleMouseMove(t)},e.prototype.handleMouseMove=function(t){},e.prototype.handleMouseUp=function(){var t=this.bar.el_.ownerDocument;vt(),this.removeClass("vjs-sliding"),this.trigger("sliderinactive"),this.off(t,"mousemove",this.handleMouseMove),this.off(t,"mouseup",this.handleMouseUp),this.off(t,"touchmove",this.handleMouseMove),this.off(t,"touchend",this.handleMouseUp),this.update()},e.prototype.update=function(){if(this.el_){var t=this.getPercent(),e=this.bar;if(e){("number"!=typeof t||t!=t||t<0||t===1/0)&&(t=0);var n=(100*t).toFixed(2)+"%",i=e.el().style;return this.vertical()?i.height=n:i.width=n,t}}},e.prototype.calculateDistance=function(t){var e=bt(this.el_,t);return this.vertical()?e.y:e.x},e.prototype.handleFocus=function(){this.on(this.bar.el_.ownerDocument,"keydown",this.handleKeyPress)},e.prototype.handleKeyPress=function(t){37===t.which||40===t.which?(t.preventDefault(),this.stepBack()):38!==t.which&&39!==t.which||(t.preventDefault(),this.stepForward())},e.prototype.handleBlur=function(){this.off(this.bar.el_.ownerDocument,"keydown",this.handleKeyPress)},e.prototype.handleClick=function(t){t.stopImmediatePropagation(),t.preventDefault()},e.prototype.vertical=function(t){if(void 0===t)return this.vertical_||!1;this.vertical_=!!t,this.vertical_?this.addClass("vjs-slider-vertical"):this.addClass("vjs-slider-horizontal")},e}(ge);ge.registerComponent("Slider",Wn);var Kn=function(t){function e(n,i){P(this,e);var r=j(this,t.call(this,n,i));return r.partEls_=[],r.on(n,"progress",r.update),r}return N(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-load-progress",innerHTML:'<span class="vjs-control-text"><span>'+this.localize("Loaded")+"</span>: 0%</span>"})},e.prototype.dispose=function(){this.partEls_=null,t.prototype.dispose.call(this)},e.prototype.update=function(t){var e=this.player_.buffered(),n=this.player_.duration(),i=this.player_.bufferedEnd(),r=this.partEls_,o=function(t,e){var n=t/e||0;return 100*(n>=1?1:n)+"%"};this.el_.style.width=o(i,n);for(var a=0;a<e.length;a++){var s=e.start(a),l=e.end(a),c=r[a];c||(c=this.el_.appendChild(rt()),r[a]=c),c.style.left=o(s,i),c.style.width=o(l-s,i)}for(var u=r.length;u>e.length;u--)this.el_.removeChild(r[u-1]);r.length=e.length},e}(ge);ge.registerComponent("LoadProgressBar",Kn);var Yn=function(t){function e(){return P(this,e),j(this,t.apply(this,arguments))}return N(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-time-tooltip"})},e.prototype.update=function(t,e,n){var i=mt(this.el_),r=mt(this.player_.el()),o=t.width*e;if(r&&i){var a=t.left-r.left+o,s=t.width-o+(r.right-t.right),l=i.width/2;a<l?l+=l-a:s<l&&(l=s),l<0?l=0:l>i.width&&(l=i.width),this.el_.style.right="-"+l+"px",ot(this.el_,n)}},e}(ge);ge.registerComponent("TimeTooltip",Yn);var Xn=function(t){function e(){return P(this,e),j(this,t.apply(this,arguments))}return N(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-play-progress vjs-slider-bar",innerHTML:'<span class="vjs-control-text"><span>'+this.localize("Progress")+"</span>: 0%</span>"})},e.prototype.update=function(t,e){var n=this;this.rafId_&&this.cancelAnimationFrame(this.rafId_),this.rafId_=this.requestAnimationFrame(function(){var i=n.player_.scrubbing()?n.player_.getCache().currentTime:n.player_.currentTime(),r=Rn(i,n.player_.duration()),o=n.getChild("timeTooltip");o&&o.update(t,e,r)})},e}(ge);Xn.prototype.options_={children:[]},O&&!(O>8)||m||b||Xn.prototype.options_.children.push("timeTooltip"),ge.registerComponent("PlayProgressBar",Xn);var qn=function(t){function e(n,i){P(this,e);var r=j(this,t.call(this,n,i));return r.update=te(Jt(r,r.update),25),r}return N(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},e.prototype.update=function(t,e){var n=this;this.rafId_&&this.cancelAnimationFrame(this.rafId_),this.rafId_=this.requestAnimationFrame(function(){var i=n.player_.duration(),r=Rn(e*i,i);n.el_.style.left=t.width*e+"px",n.getChild("timeTooltip").update(t,e,r)})},e}(ge);qn.prototype.options_={children:["timeTooltip"]},ge.registerComponent("MouseTimeDisplay",qn);var Zn=function(t){function e(n,i){P(this,e);var r=j(this,t.call(this,n,i));return r.setEventHandlers_(),r}return N(e,t),e.prototype.setEventHandlers_=function(){var t=this;this.update=te(Jt(this,this.update),30),this.on(this.player_,"timeupdate",this.update),this.on(this.player_,"ended",this.handleEnded),this.updateInterval=null,this.on(this.player_,["playing"],function(){t.clearInterval(t.updateInterval),t.updateInterval=t.setInterval(function(){t.requestAnimationFrame(function(){t.update()})},30)}),this.on(this.player_,["ended","pause","waiting"],function(){t.clearInterval(t.updateInterval)}),this.on(this.player_,["timeupdate","ended"],this.update)},e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-progress-holder"},{"aria-label":this.localize("Progress Bar")})},e.prototype.update_=function(t,e){var n=this.player_.duration();this.el_.setAttribute("aria-valuenow",(100*e).toFixed(2)),this.el_.setAttribute("aria-valuetext",this.localize("progress bar timing: currentTime={1} duration={2}",[Rn(t,n),Rn(n,n)],"{1} of {2}")),this.bar.update(mt(this.el_),e)},e.prototype.update=function(e){var n=t.prototype.update.call(this);return this.update_(this.getCurrentTime_(),n),n},e.prototype.getCurrentTime_=function(){return this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime()},e.prototype.handleEnded=function(t){this.update_(this.player_.duration(),1)},e.prototype.getPercent=function(){var t=this.getCurrentTime_()/this.player_.duration();return t>=1?1:t},e.prototype.handleMouseDown=function(e){Bt(e)&&(e.stopPropagation(),this.player_.scrubbing(!0),this.videoWasPlaying=!this.player_.paused(),this.player_.pause(),t.prototype.handleMouseDown.call(this,e))},e.prototype.handleMouseMove=function(t){if(Bt(t)){var e=this.calculateDistance(t)*this.player_.duration();e===this.player_.duration()&&(e-=.1),this.player_.currentTime(e)}},e.prototype.enable=function(){t.prototype.enable.call(this);var e=this.getChild("mouseTimeDisplay");e&&e.show()},e.prototype.disable=function(){t.prototype.disable.call(this);var e=this.getChild("mouseTimeDisplay");e&&e.hide()},e.prototype.handleMouseUp=function(e){t.prototype.handleMouseUp.call(this,e),e&&e.stopPropagation(),this.player_.scrubbing(!1),this.player_.trigger({type:"timeupdate",target:this,manuallyTriggered:!0}),this.videoWasPlaying&&Ee(this.player_.play())},e.prototype.stepForward=function(){this.player_.currentTime(this.player_.currentTime()+5)},e.prototype.stepBack=function(){this.player_.currentTime(this.player_.currentTime()-5)},e.prototype.handleAction=function(t){this.player_.paused()?this.player_.play():this.player_.pause()},e.prototype.handleKeyPress=function(e){32===e.which||13===e.which?(e.preventDefault(),this.handleAction(e)):t.prototype.handleKeyPress&&t.prototype.handleKeyPress.call(this,e)},e}(Wn);Zn.prototype.options_={children:["loadProgressBar","playProgressBar"],barName:"playProgressBar"},O&&!(O>8)||m||b||Zn.prototype.options_.children.splice(1,0,"mouseTimeDisplay"),Zn.prototype.playerEvent="timeupdate",ge.registerComponent("SeekBar",Zn);var Jn=function(t){function e(n,i){P(this,e);var r=j(this,t.call(this,n,i));return r.handleMouseMove=te(Jt(r,r.handleMouseMove),25),r.throttledHandleMouseSeek=te(Jt(r,r.handleMouseSeek),25),r.enable(),r}return N(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-progress-control vjs-control"})},e.prototype.handleMouseMove=function(t){var e=this.getChild("seekBar");if(e){var n=e.getChild("mouseTimeDisplay"),i=e.el(),r=mt(i),o=bt(i,t).x;o>1?o=1:o<0&&(o=0),n&&n.update(r,o)}},e.prototype.handleMouseSeek=function(t){var e=this.getChild("seekBar");e&&e.handleMouseMove(t)},e.prototype.enabled=function(){return this.enabled_},e.prototype.disable=function(){this.children().forEach(function(t){return t.disable&&t.disable()}),this.enabled()&&(this.off(["mousedown","touchstart"],this.handleMouseDown),this.off(this.el_,"mousemove",this.handleMouseMove),this.handleMouseUp(),this.addClass("disabled"),this.enabled_=!1)},e.prototype.enable=function(){this.children().forEach(function(t){return t.enable&&t.enable()}),this.enabled()||(this.on(["mousedown","touchstart"],this.handleMouseDown),this.on(this.el_,"mousemove",this.handleMouseMove),this.removeClass("disabled"),this.enabled_=!0)},e.prototype.handleMouseDown=function(t){var e=this.el_.ownerDocument,n=this.getChild("seekBar");n&&n.handleMouseDown(t),this.on(e,"mousemove",this.throttledHandleMouseSeek),this.on(e,"touchmove",this.throttledHandleMouseSeek),this.on(e,"mouseup",this.handleMouseUp),this.on(e,"touchend",this.handleMouseUp)},e.prototype.handleMouseUp=function(t){var e=this.el_.ownerDocument,n=this.getChild("seekBar");n&&n.handleMouseUp(t),this.off(e,"mousemove",this.throttledHandleMouseSeek),this.off(e,"touchmove",this.throttledHandleMouseSeek),this.off(e,"mouseup",this.handleMouseUp),this.off(e,"touchend",this.handleMouseUp)},e}(ge);Jn.prototype.options_={children:["seekBar"]},ge.registerComponent("ProgressControl",Jn);var ti=function(t){function e(n,i){P(this,e);var r=j(this,t.call(this,n,i));return r.on(n,"fullscreenchange",r.handleFullscreenChange),!1===a[_e.fullscreenEnabled]&&r.disable(),r}return N(e,t),e.prototype.buildCSSClass=function(){return"vjs-fullscreen-control "+t.prototype.buildCSSClass.call(this)},e.prototype.handleFullscreenChange=function(t){this.player_.isFullscreen()?this.controlText("Non-Fullscreen"):this.controlText("Fullscreen")},e.prototype.handleClick=function(t){this.player_.isFullscreen()?this.player_.exitFullscreen():this.player_.requestFullscreen()},e}(Ln);ti.prototype.controlText_="Fullscreen",ge.registerComponent("FullscreenToggle",ti);var ei=function(t,e){e.tech_&&!e.tech_.featuresVolumeControl&&t.addClass("vjs-hidden"),t.on(e,"loadstart",function(){e.tech_.featuresVolumeControl?t.removeClass("vjs-hidden"):t.addClass("vjs-hidden")})},ni=function(t){function e(){return P(this,e),j(this,t.apply(this,arguments))}return N(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-volume-level",innerHTML:'<span class="vjs-control-text"></span>'})},e}(ge);ge.registerComponent("VolumeLevel",ni);var ii=function(t){function e(n,i){P(this,e);var r=j(this,t.call(this,n,i));return r.on("slideractive",r.updateLastVolume_),r.on(n,"volumechange",r.updateARIAAttributes),n.ready(function(){return r.updateARIAAttributes()}),r}return N(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-volume-bar vjs-slider-bar"},{"aria-label":this.localize("Volume Level"),"aria-live":"polite"})},e.prototype.handleMouseDown=function(e){Bt(e)&&t.prototype.handleMouseDown.call(this,e)},e.prototype.handleMouseMove=function(t){Bt(t)&&(this.checkMuted(),this.player_.volume(this.calculateDistance(t)))},e.prototype.checkMuted=function(){this.player_.muted()&&this.player_.muted(!1)},e.prototype.getPercent=function(){return this.player_.muted()?0:this.player_.volume()},e.prototype.stepForward=function(){this.checkMuted(),this.player_.volume(this.player_.volume()+.1)},e.prototype.stepBack=function(){this.checkMuted(),this.player_.volume(this.player_.volume()-.1)},e.prototype.updateARIAAttributes=function(t){var e=this.player_.muted()?0:this.volumeAsPercentage_();this.el_.setAttribute("aria-valuenow",e),this.el_.setAttribute("aria-valuetext",e+"%")},e.prototype.volumeAsPercentage_=function(){return Math.round(100*this.player_.volume())},e.prototype.updateLastVolume_=function(){var t=this,e=this.player_.volume();this.one("sliderinactive",function(){0===t.player_.volume()&&t.player_.lastVolume_(e)})},e}(Wn);ii.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"},ii.prototype.playerEvent="volumechange",ge.registerComponent("VolumeBar",ii);var ri=function(t){function e(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};P(this,e),i.vertical=i.vertical||!1,(void 0===i.volumeBar||$(i.volumeBar))&&(i.volumeBar=i.volumeBar||{},i.volumeBar.vertical=i.vertical);var r=j(this,t.call(this,n,i));return ei(r,n),r.throttledHandleMouseMove=te(Jt(r,r.handleMouseMove),25),r.on("mousedown",r.handleMouseDown),r.on("touchstart",r.handleMouseDown),r.on(r.volumeBar,["focus","slideractive"],function(){r.volumeBar.addClass("vjs-slider-active"),r.addClass("vjs-slider-active"),r.trigger("slideractive")}),r.on(r.volumeBar,["blur","sliderinactive"],function(){r.volumeBar.removeClass("vjs-slider-active"),r.removeClass("vjs-slider-active"),r.trigger("sliderinactive")}),r}return N(e,t),e.prototype.createEl=function(){var e="vjs-volume-horizontal";return this.options_.vertical&&(e="vjs-volume-vertical"),t.prototype.createEl.call(this,"div",{className:"vjs-volume-control vjs-control "+e})},e.prototype.handleMouseDown=function(t){var e=this.el_.ownerDocument;this.on(e,"mousemove",this.throttledHandleMouseMove),this.on(e,"touchmove",this.throttledHandleMouseMove),this.on(e,"mouseup",this.handleMouseUp),this.on(e,"touchend",this.handleMouseUp)},e.prototype.handleMouseUp=function(t){var e=this.el_.ownerDocument;this.off(e,"mousemove",this.throttledHandleMouseMove),this.off(e,"touchmove",this.throttledHandleMouseMove),this.off(e,"mouseup",this.handleMouseUp),this.off(e,"touchend",this.handleMouseUp)},e.prototype.handleMouseMove=function(t){this.volumeBar.handleMouseMove(t)},e}(ge);ri.prototype.options_={children:["volumeBar"]},ge.registerComponent("VolumeControl",ri);var oi=function(t,e){e.tech_&&!e.tech_.featuresMuteControl&&t.addClass("vjs-hidden"),t.on(e,"loadstart",function(){e.tech_.featuresMuteControl?t.removeClass("vjs-hidden"):t.addClass("vjs-hidden")})},ai=function(t){function e(n,i){P(this,e);var r=j(this,t.call(this,n,i));return oi(r,n),r.on(n,["loadstart","volumechange"],r.update),r}return N(e,t),e.prototype.buildCSSClass=function(){return"vjs-mute-control "+t.prototype.buildCSSClass.call(this)},e.prototype.handleClick=function(t){var e=this.player_.volume(),n=this.player_.lastVolume_();if(0===e){var i=n<.1?.1:n;this.player_.volume(i),this.player_.muted(!1)}else this.player_.muted(!this.player_.muted())},e.prototype.update=function(t){this.updateIcon_(),this.updateControlText_()},e.prototype.updateIcon_=function(){var t=this.player_.volume(),e=3;m&&this.player_.muted(this.player_.tech_.el_.muted),0===t||this.player_.muted()?e=0:t<.33?e=1:t<.67&&(e=2);for(var n=0;n<4;n++)ct(this.el_,"vjs-vol-"+n);lt(this.el_,"vjs-vol-"+e)},e.prototype.updateControlText_=function(){var t=this.player_.muted()||0===this.player_.volume()?"Unmute":"Mute";this.controlText()!==t&&this.controlText(t)},e}(Ln);ai.prototype.controlText_="Mute",ge.registerComponent("MuteToggle",ai);var si=function(t){function e(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};P(this,e),void 0!==i.inline?i.inline=i.inline:i.inline=!0,(void 0===i.volumeControl||$(i.volumeControl))&&(i.volumeControl=i.volumeControl||{},i.volumeControl.vertical=!i.inline);var r=j(this,t.call(this,n,i));return r.on(n,["loadstart"],r.volumePanelState_),r.on(r.volumeControl,["slideractive"],r.sliderActive_),r.on(r.volumeControl,["sliderinactive"],r.sliderInactive_),r}return N(e,t),e.prototype.sliderActive_=function(){this.addClass("vjs-slider-active")},e.prototype.sliderInactive_=function(){this.removeClass("vjs-slider-active")},e.prototype.volumePanelState_=function(){this.volumeControl.hasClass("vjs-hidden")&&this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-hidden"),this.volumeControl.hasClass("vjs-hidden")&&!this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-mute-toggle-only")},e.prototype.createEl=function(){var e="vjs-volume-panel-horizontal";return this.options_.inline||(e="vjs-volume-panel-vertical"),t.prototype.createEl.call(this,"div",{className:"vjs-volume-panel vjs-control "+e})},e}(ge);si.prototype.options_={children:["muteToggle","volumeControl"]},ge.registerComponent("VolumePanel",si);var li=function(t){function e(n,i){P(this,e);var r=j(this,t.call(this,n,i));return i&&(r.menuButton_=i.menuButton),r.focusedChild_=-1,r.on("keydown",r.handleKeyPress),r}return N(e,t),e.prototype.addItem=function(t){this.addChild(t),t.on("click",Jt(this,function(e){this.menuButton_&&(this.menuButton_.unpressButton(),"CaptionSettingsMenuItem"!==t.name()&&this.menuButton_.focus())}))},e.prototype.createEl=function(){var e=this.options_.contentElType||"ul";this.contentEl_=rt(e,{className:"vjs-menu-content"}),this.contentEl_.setAttribute("role","menu");var n=t.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});return n.appendChild(this.contentEl_),Ht(n,"click",function(t){t.preventDefault(),t.stopImmediatePropagation()}),n},e.prototype.dispose=function(){this.contentEl_=null,t.prototype.dispose.call(this)},e.prototype.handleKeyPress=function(t){37===t.which||40===t.which?(t.preventDefault(),this.stepForward()):38!==t.which&&39!==t.which||(t.preventDefault(),this.stepBack())},e.prototype.stepForward=function(){var t=0;void 0!==this.focusedChild_&&(t=this.focusedChild_+1),this.focus(t)},e.prototype.stepBack=function(){var t=0;void 0!==this.focusedChild_&&(t=this.focusedChild_-1),this.focus(t)},e.prototype.focus=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=this.children().slice();e.length&&e[0].className&&/vjs-menu-title/.test(e[0].className)&&e.shift(),e.length>0&&(t<0?t=0:t>=e.length&&(t=e.length-1),this.focusedChild_=t,e[t].el_.focus())},e}(ge);ge.registerComponent("Menu",li);var ci=function(t){function e(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};P(this,e);var r=j(this,t.call(this,n,i));r.menuButton_=new Ln(n,i),r.menuButton_.controlText(r.controlText_),r.menuButton_.el_.setAttribute("aria-haspopup","true");var o=Ln.prototype.buildCSSClass();return r.menuButton_.el_.className=r.buildCSSClass()+" "+o,r.menuButton_.removeClass("vjs-control"),r.addChild(r.menuButton_),r.update(),r.enabled_=!0,r.on(r.menuButton_,"tap",r.handleClick),r.on(r.menuButton_,"click",r.handleClick),r.on(r.menuButton_,"focus",r.handleFocus),r.on(r.menuButton_,"blur",r.handleBlur),r.on("keydown",r.handleSubmenuKeyPress),r}return N(e,t),e.prototype.update=function(){var t=this.createMenu();this.menu&&(this.menu.dispose(),this.removeChild(this.menu)),this.menu=t,this.addChild(t),this.buttonPressed_=!1,this.menuButton_.el_.setAttribute("aria-expanded","false"),this.items&&this.items.length<=this.hideThreshold_?this.hide():this.show()},e.prototype.createMenu=function(){var t=new li(this.player_,{menuButton:this});if(this.hideThreshold_=0,this.options_.title){var e=rt("li",{className:"vjs-menu-title",innerHTML:pe(this.options_.title),tabIndex:-1});this.hideThreshold_+=1,t.children_.unshift(e),at(e,t.contentEl())}if(this.items=this.createItems(),this.items)for(var n=0;n<this.items.length;n++)t.addItem(this.items[n]);return t},e.prototype.createItems=function(){},e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:this.buildWrapperCSSClass()},{})},e.prototype.buildWrapperCSSClass=function(){var e="vjs-menu-button";return!0===this.options_.inline?e+="-inline":e+="-popup","vjs-menu-button "+e+" "+Ln.prototype.buildCSSClass()+" "+t.prototype.buildCSSClass.call(this)},e.prototype.buildCSSClass=function(){var e="vjs-menu-button";return!0===this.options_.inline?e+="-inline":e+="-popup","vjs-menu-button "+e+" "+t.prototype.buildCSSClass.call(this)},e.prototype.controlText=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.menuButton_.el();return this.menuButton_.controlText(t,e)},e.prototype.handleClick=function(t){this.one(this.menu.contentEl(),"mouseleave",Jt(this,function(t){this.unpressButton(),this.el_.blur()})),this.buttonPressed_?this.unpressButton():this.pressButton()},e.prototype.focus=function(){this.menuButton_.focus()},e.prototype.blur=function(){this.menuButton_.blur()},e.prototype.handleFocus=function(){Ht(a,"keydown",Jt(this,this.handleKeyPress))},e.prototype.handleBlur=function(){Vt(a,"keydown",Jt(this,this.handleKeyPress))},e.prototype.handleKeyPress=function(t){27===t.which||9===t.which?(this.buttonPressed_&&this.unpressButton(),9!==t.which&&(t.preventDefault(),this.menuButton_.el_.focus())):38!==t.which&&40!==t.which||this.buttonPressed_||(this.pressButton(),t.preventDefault())},e.prototype.handleSubmenuKeyPress=function(t){27!==t.which&&9!==t.which||(this.buttonPressed_&&this.unpressButton(),9!==t.which&&(t.preventDefault(),this.menuButton_.el_.focus()))},e.prototype.pressButton=function(){if(this.enabled_){if(this.buttonPressed_=!0,this.menu.lockShowing(),this.menuButton_.el_.setAttribute("aria-expanded","true"),m&&nt())return;this.menu.focus()}},e.prototype.unpressButton=function(){this.enabled_&&(this.buttonPressed_=!1,this.menu.unlockShowing(),this.menuButton_.el_.setAttribute("aria-expanded","false"))},e.prototype.disable=function(){this.unpressButton(),this.enabled_=!1,this.addClass("vjs-disabled"),this.menuButton_.disable()},e.prototype.enable=function(){this.enabled_=!0,this.removeClass("vjs-disabled"),this.menuButton_.enable()},e}(ge);ge.registerComponent("MenuButton",ci);var ui=function(t){function e(n,i){P(this,e);var r=i.tracks,o=j(this,t.call(this,n,i));if(o.items.length<=1&&o.hide(),!r)return j(o);var a=Jt(o,o.update);return r.addEventListener("removetrack",a),r.addEventListener("addtrack",a),o.player_.on("ready",a),o.player_.on("dispose",function(){r.removeEventListener("removetrack",a),r.removeEventListener("addtrack",a)}),o}return N(e,t),e}(ci);ge.registerComponent("TrackButton",ui);var hi=function(t){function e(n,i){P(this,e);var r=j(this,t.call(this,n,i));return r.selectable=i.selectable,r.isSelected_=i.selected||!1,r.multiSelectable=i.multiSelectable,r.selected(r.isSelected_),r.selectable?r.multiSelectable?r.el_.setAttribute("role","menuitemcheckbox"):r.el_.setAttribute("role","menuitemradio"):r.el_.setAttribute("role","menuitem"),r}return N(e,t),e.prototype.createEl=function(e,n,i){return this.nonIconControl=!0,t.prototype.createEl.call(this,"li",V({className:"vjs-menu-item",innerHTML:'<span class="vjs-menu-item-text">'+this.localize(this.options_.label)+"</span>",tabIndex:-1},n),i)},e.prototype.handleClick=function(t){this.selected(!0)},e.prototype.selected=function(t){this.selectable&&(t?(this.addClass("vjs-selected"),this.el_.setAttribute("aria-checked","true"),this.controlText(", selected"),this.isSelected_=!0):(this.removeClass("vjs-selected"),this.el_.setAttribute("aria-checked","false"),this.controlText(""),this.isSelected_=!1))},e}(kn);ge.registerComponent("MenuItem",hi);var di=function(t){function e(n,i){P(this,e);var r=i.track,s=n.textTracks();i.label=r.label||r.language||"Unknown",i.selected="showing"===r.mode;var l=j(this,t.call(this,n,i));l.track=r;var c=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];l.handleTracksChange.apply(l,e)},u=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];l.handleSelectedLanguageChange.apply(l,e)};if(n.on(["loadstart","texttrackchange"],c),s.addEventListener("change",c),s.addEventListener("selectedlanguagechange",u),l.on("dispose",function(){n.off(["loadstart","texttrackchange"],c),s.removeEventListener("change",c),s.removeEventListener("selectedlanguagechange",u)}),void 0===s.onchange){var h=void 0;l.on(["tap","click"],function(){if("object"!==F(o.Event))try{h=new o.Event("change")}catch(t){}h||(h=a.createEvent("Event")).initEvent("change",!0,!0),s.dispatchEvent(h)})}return l.handleTracksChange(),l}return N(e,t),e.prototype.handleClick=function(e){var n=this.track.kind,i=this.track.kinds,r=this.player_.textTracks();if(i||(i=[n]),t.prototype.handleClick.call(this,e),r)for(var o=0;o<r.length;o++){var a=r[o];a===this.track&&i.indexOf(a.kind)>-1?"showing"!==a.mode&&(a.mode="showing"):"disabled"!==a.mode&&(a.mode="disabled")}},e.prototype.handleTracksChange=function(t){var e="showing"===this.track.mode;e!==this.isSelected_&&this.selected(e)},e.prototype.handleSelectedLanguageChange=function(t){if("showing"===this.track.mode){var e=this.player_.cache_.selectedLanguage;if(e&&e.enabled&&e.language===this.track.language&&e.kind!==this.track.kind)return;this.player_.cache_.selectedLanguage={enabled:!0,language:this.track.language,kind:this.track.kind}}},e.prototype.dispose=function(){this.track=null,t.prototype.dispose.call(this)},e}(hi);ge.registerComponent("TextTrackMenuItem",di);var fi=function(t){function e(n,i){return P(this,e),i.track={player:n,kind:i.kind,kinds:i.kinds,default:!1,mode:"disabled"},i.kinds||(i.kinds=[i.kind]),i.label?i.track.label=i.label:i.track.label=i.kinds.join(" and ")+" off",i.selectable=!0,i.multiSelectable=!1,j(this,t.call(this,n,i))}return N(e,t),e.prototype.handleTracksChange=function(t){for(var e=this.player().textTracks(),n=!0,i=0,r=e.length;i<r;i++){var o=e[i];if(this.options_.kinds.indexOf(o.kind)>-1&&"showing"===o.mode){n=!1;break}}n!==this.isSelected_&&this.selected(n)},e.prototype.handleSelectedLanguageChange=function(t){for(var e=this.player().textTracks(),n=!0,i=0,r=e.length;i<r;i++){var o=e[i];if(["captions","descriptions","subtitles"].indexOf(o.kind)>-1&&"showing"===o.mode){n=!1;break}}n&&(this.player_.cache_.selectedLanguage={enabled:!1})},e}(di);ge.registerComponent("OffTextTrackMenuItem",fi);var pi=function(t){function e(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return P(this,e),i.tracks=n.textTracks(),j(this,t.call(this,n,i))}return N(e,t),e.prototype.createItems=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:di,n=void 0;this.label_&&(n=this.label_+" off"),t.push(new fi(this.player_,{kinds:this.kinds_,kind:this.kind_,label:n})),this.hideThreshold_+=1;var i=this.player_.textTracks();Array.isArray(this.kinds_)||(this.kinds_=[this.kind_]);for(var r=0;r<i.length;r++){var o=i[r];if(this.kinds_.indexOf(o.kind)>-1){var a=new e(this.player_,{track:o,selectable:!0,multiSelectable:!1});a.addClass("vjs-"+o.kind+"-menu-item"),t.push(a)}}return t},e}(ui);ge.registerComponent("TextTrackButton",pi);var Ai=function(t){function e(n,i){P(this,e);var r=i.track,o=i.cue,a=n.currentTime();i.selectable=!0,i.multiSelectable=!1,i.label=o.text,i.selected=o.startTime<=a&&a<o.endTime;var s=j(this,t.call(this,n,i));return s.track=r,s.cue=o,r.addEventListener("cuechange",Jt(s,s.update)),s}return N(e,t),e.prototype.handleClick=function(e){t.prototype.handleClick.call(this),this.player_.currentTime(this.cue.startTime),this.update(this.cue.startTime)},e.prototype.update=function(t){var e=this.cue,n=this.player_.currentTime();this.selected(e.startTime<=n&&n<e.endTime)},e}(hi);ge.registerComponent("ChaptersTrackMenuItem",Ai);var gi=function(t){function e(n,i,r){return P(this,e),j(this,t.call(this,n,i,r))}return N(e,t),e.prototype.buildCSSClass=function(){return"vjs-chapters-button "+t.prototype.buildCSSClass.call(this)},e.prototype.buildWrapperCSSClass=function(){return"vjs-chapters-button "+t.prototype.buildWrapperCSSClass.call(this)},e.prototype.update=function(e){this.track_&&(!e||"addtrack"!==e.type&&"removetrack"!==e.type)||this.setTrack(this.findChaptersTrack()),t.prototype.update.call(this)},e.prototype.setTrack=function(t){if(this.track_!==t){if(this.updateHandler_||(this.updateHandler_=this.update.bind(this)),this.track_){var e=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);e&&e.removeEventListener("load",this.updateHandler_),this.track_=null}if(this.track_=t,this.track_){this.track_.mode="hidden";var n=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);n&&n.addEventListener("load",this.updateHandler_)}}},e.prototype.findChaptersTrack=function(){for(var t=this.player_.textTracks()||[],e=t.length-1;e>=0;e--){var n=t[e];if(n.kind===this.kind_)return n}},e.prototype.getMenuCaption=function(){return this.track_&&this.track_.label?this.track_.label:this.localize(pe(this.kind_))},e.prototype.createMenu=function(){return this.options_.title=this.getMenuCaption(),t.prototype.createMenu.call(this)},e.prototype.createItems=function(){var t=[];if(!this.track_)return t;var e=this.track_.cues;if(!e)return t;for(var n=0,i=e.length;n<i;n++){var r=e[n],o=new Ai(this.player_,{track:this.track_,cue:r});t.push(o)}return t},e}(pi);gi.prototype.kind_="chapters",gi.prototype.controlText_="Chapters",ge.registerComponent("ChaptersButton",gi);var vi=function(t){function e(n,i,r){P(this,e);var o=j(this,t.call(this,n,i,r)),a=n.textTracks(),s=Jt(o,o.handleTracksChange);return a.addEventListener("change",s),o.on("dispose",function(){a.removeEventListener("change",s)}),o}return N(e,t),e.prototype.handleTracksChange=function(t){for(var e=this.player().textTracks(),n=!1,i=0,r=e.length;i<r;i++){var o=e[i];if(o.kind!==this.kind_&&"showing"===o.mode){n=!0;break}}n?this.disable():this.enable()},e.prototype.buildCSSClass=function(){return"vjs-descriptions-button "+t.prototype.buildCSSClass.call(this)},e.prototype.buildWrapperCSSClass=function(){return"vjs-descriptions-button "+t.prototype.buildWrapperCSSClass.call(this)},e}(pi);vi.prototype.kind_="descriptions",vi.prototype.controlText_="Descriptions",ge.registerComponent("DescriptionsButton",vi);var mi=function(t){function e(n,i,r){return P(this,e),j(this,t.call(this,n,i,r))}return N(e,t),e.prototype.buildCSSClass=function(){return"vjs-subtitles-button "+t.prototype.buildCSSClass.call(this)},e.prototype.buildWrapperCSSClass=function(){return"vjs-subtitles-button "+t.prototype.buildWrapperCSSClass.call(this)},e}(pi);mi.prototype.kind_="subtitles",mi.prototype.controlText_="Subtitles",ge.registerComponent("SubtitlesButton",mi);var yi=function(t){function e(n,i){P(this,e),i.track={player:n,kind:i.kind,label:i.kind+" settings",selectable:!1,default:!1,mode:"disabled"},i.selectable=!1,i.name="CaptionSettingsMenuItem";var r=j(this,t.call(this,n,i));return r.addClass("vjs-texttrack-settings"),r.controlText(", opens "+i.kind+" settings dialog"),r}return N(e,t),e.prototype.handleClick=function(t){this.player().getChild("textTrackSettings").open()},e}(di);ge.registerComponent("CaptionSettingsMenuItem",yi);var bi=function(t){function e(n,i,r){return P(this,e),j(this,t.call(this,n,i,r))}return N(e,t),e.prototype.buildCSSClass=function(){return"vjs-captions-button "+t.prototype.buildCSSClass.call(this)},e.prototype.buildWrapperCSSClass=function(){return"vjs-captions-button "+t.prototype.buildWrapperCSSClass.call(this)},e.prototype.createItems=function(){var e=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||!this.player().getChild("textTrackSettings")||(e.push(new yi(this.player_,{kind:this.kind_})),this.hideThreshold_+=1),t.prototype.createItems.call(this,e)},e}(pi);bi.prototype.kind_="captions",bi.prototype.controlText_="Captions",ge.registerComponent("CaptionsButton",bi);var _i=function(t){function e(){return P(this,e),j(this,t.apply(this,arguments))}return N(e,t),e.prototype.createEl=function(e,n,i){var r='<span class="vjs-menu-item-text">'+this.localize(this.options_.label);return"captions"===this.options_.track.kind&&(r+='\n <span aria-hidden="true" class="vjs-icon-placeholder"></span>\n <span class="vjs-control-text"> '+this.localize("Captions")+"</span>\n "),r+="</span>",t.prototype.createEl.call(this,e,V({innerHTML:r},n),i)},e}(di);ge.registerComponent("SubsCapsMenuItem",_i);var wi=function(t){function e(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};P(this,e);var r=j(this,t.call(this,n,i));return r.label_="subtitles",["en","en-us","en-ca","fr-ca"].indexOf(r.player_.language_)>-1&&(r.label_="captions"),r.menuButton_.controlText(pe(r.label_)),r}return N(e,t),e.prototype.buildCSSClass=function(){return"vjs-subs-caps-button "+t.prototype.buildCSSClass.call(this)},e.prototype.buildWrapperCSSClass=function(){return"vjs-subs-caps-button "+t.prototype.buildWrapperCSSClass.call(this)},e.prototype.createItems=function(){var e=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||!this.player().getChild("textTrackSettings")||(e.push(new yi(this.player_,{kind:this.label_})),this.hideThreshold_+=1),e=t.prototype.createItems.call(this,e,_i)},e}(pi);wi.prototype.kinds_=["captions","subtitles"],wi.prototype.controlText_="Subtitles",ge.registerComponent("SubsCapsButton",wi);var xi=function(t){function e(n,i){P(this,e);var r=i.track,o=n.audioTracks();i.label=r.label||r.language||"Unknown",i.selected=r.enabled;var a=j(this,t.call(this,n,i));a.track=r,a.addClass("vjs-"+r.kind+"-menu-item");var s=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];a.handleTracksChange.apply(a,e)};return o.addEventListener("change",s),a.on("dispose",function(){o.removeEventListener("change",s)}),a}return N(e,t),e.prototype.createEl=function(e,n,i){var r='<span class="vjs-menu-item-text">'+this.localize(this.options_.label);return"main-desc"===this.options_.track.kind&&(r+='\n <span aria-hidden="true" class="vjs-icon-placeholder"></span>\n <span class="vjs-control-text"> '+this.localize("Descriptions")+"</span>\n "),r+="</span>",t.prototype.createEl.call(this,e,V({innerHTML:r},n),i)},e.prototype.handleClick=function(e){var n=this.player_.audioTracks();t.prototype.handleClick.call(this,e);for(var i=0;i<n.length;i++){var r=n[i];r.enabled=r===this.track}},e.prototype.handleTracksChange=function(t){this.selected(this.track.enabled)},e}(hi);ge.registerComponent("AudioTrackMenuItem",xi);var Ci=function(t){function e(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return P(this,e),i.tracks=n.audioTracks(),j(this,t.call(this,n,i))}return N(e,t),e.prototype.buildCSSClass=function(){return"vjs-audio-button "+t.prototype.buildCSSClass.call(this)},e.prototype.buildWrapperCSSClass=function(){return"vjs-audio-button "+t.prototype.buildWrapperCSSClass.call(this)},e.prototype.createItems=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.hideThreshold_=1;for(var e=this.player_.audioTracks(),n=0;n<e.length;n++){var i=e[n];t.push(new xi(this.player_,{track:i,selectable:!0,multiSelectable:!1}))}return t},e}(ui);Ci.prototype.controlText_="Audio Track",ge.registerComponent("AudioTrackButton",Ci);var Si=function(t){function e(n,i){P(this,e);var r=i.rate,o=parseFloat(r,10);i.label=r,i.selected=1===o,i.selectable=!0,i.multiSelectable=!1;var a=j(this,t.call(this,n,i));return a.label=r,a.rate=o,a.on(n,"ratechange",a.update),a}return N(e,t),e.prototype.handleClick=function(e){t.prototype.handleClick.call(this),this.player().playbackRate(this.rate)},e.prototype.update=function(t){this.selected(this.player().playbackRate()===this.rate)},e}(hi);Si.prototype.contentElType="button",ge.registerComponent("PlaybackRateMenuItem",Si);var Bi=function(t){function e(n,i){P(this,e);var r=j(this,t.call(this,n,i));return r.updateVisibility(),r.updateLabel(),r.on(n,"loadstart",r.updateVisibility),r.on(n,"ratechange",r.updateLabel),r}return N(e,t),e.prototype.createEl=function(){var e=t.prototype.createEl.call(this);return this.labelEl_=rt("div",{className:"vjs-playback-rate-value",innerHTML:"1x"}),e.appendChild(this.labelEl_),e},e.prototype.dispose=function(){this.labelEl_=null,t.prototype.dispose.call(this)},e.prototype.buildCSSClass=function(){return"vjs-playback-rate "+t.prototype.buildCSSClass.call(this)},e.prototype.buildWrapperCSSClass=function(){return"vjs-playback-rate "+t.prototype.buildWrapperCSSClass.call(this)},e.prototype.createMenu=function(){var t=new li(this.player()),e=this.playbackRates();if(e)for(var n=e.length-1;n>=0;n--)t.addChild(new Si(this.player(),{rate:e[n]+"x"}));return t},e.prototype.updateARIAAttributes=function(){this.el().setAttribute("aria-valuenow",this.player().playbackRate())},e.prototype.handleClick=function(t){for(var e=this.player().playbackRate(),n=this.playbackRates(),i=n[0],r=0;r<n.length;r++)if(n[r]>e){i=n[r];break}this.player().playbackRate(i)},e.prototype.playbackRates=function(){return this.options_.playbackRates||this.options_.playerOptions&&this.options_.playerOptions.playbackRates},e.prototype.playbackRateSupported=function(){return this.player().tech_&&this.player().tech_.featuresPlaybackRate&&this.playbackRates()&&this.playbackRates().length>0},e.prototype.updateVisibility=function(t){this.playbackRateSupported()?this.removeClass("vjs-hidden"):this.addClass("vjs-hidden")},e.prototype.updateLabel=function(t){this.playbackRateSupported()&&(this.labelEl_.innerHTML=this.player().playbackRate()+"x")},e}(ci);Bi.prototype.controlText_="Playback Rate",ge.registerComponent("PlaybackRateMenuButton",Bi);var ki=function(t){function e(){return P(this,e),j(this,t.apply(this,arguments))}return N(e,t),e.prototype.buildCSSClass=function(){return"vjs-spacer "+t.prototype.buildCSSClass.call(this)},e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},e}(ge);ge.registerComponent("Spacer",ki);var Ti=function(t){function e(){return P(this,e),j(this,t.apply(this,arguments))}return N(e,t),e.prototype.buildCSSClass=function(){return"vjs-custom-control-spacer "+t.prototype.buildCSSClass.call(this)},e.prototype.createEl=function(){var e=t.prototype.createEl.call(this,{className:this.buildCSSClass()});return e.innerHTML=" ",e},e}(ki);ge.registerComponent("CustomControlSpacer",Ti);var Oi=function(t){function e(){return P(this,e),j(this,t.apply(this,arguments))}return N(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-control-bar",dir:"ltr"})},e}(ge);Oi.prototype.options_={children:["playToggle","volumePanel","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subsCapsButton","audioTrackButton","fullscreenToggle"]},ge.registerComponent("ControlBar",Oi);var Ei=function(t){function e(n,i){P(this,e);var r=j(this,t.call(this,n,i));return r.on(n,"error",r.open),r}return N(e,t),e.prototype.buildCSSClass=function(){return"vjs-error-display "+t.prototype.buildCSSClass.call(this)},e.prototype.content=function(){var t=this.player().error();return t?this.localize(t.message):""},e}(Fe);Ei.prototype.options_=Ae(Fe.prototype.options_,{pauseOnOpen:!1,fillAlways:!0,temporary:!1,uncloseable:!0}),ge.registerComponent("ErrorDisplay",Ei);var Ii=["#000","Black"],Mi=["#00F","Blue"],Di=["#0FF","Cyan"],Li=["#0F0","Green"],Fi=["#F0F","Magenta"],Pi=["#F00","Red"],Ni=["#FFF","White"],ji=["#FF0","Yellow"],Ui=["1","Opaque"],Ri=["0.5","Semi-Transparent"],Qi=["0","Transparent"],Hi={backgroundColor:{selector:".vjs-bg-color > select",id:"captions-background-color-%s",label:"Color",options:[Ii,Ni,Pi,Li,Mi,ji,Fi,Di]},backgroundOpacity:{selector:".vjs-bg-opacity > select",id:"captions-background-opacity-%s",label:"Transparency",options:[Ui,Ri,Qi]},color:{selector:".vjs-fg-color > select",id:"captions-foreground-color-%s",label:"Color",options:[Ni,Ii,Pi,Li,Mi,ji,Fi,Di]},edgeStyle:{selector:".vjs-edge-style > select",id:"%s",label:"Text Edge Style",options:[["none","None"],["raised","Raised"],["depressed","Depressed"],["uniform","Uniform"],["dropshadow","Dropshadow"]]},fontFamily:{selector:".vjs-font-family > select",id:"captions-font-family-%s",label:"Font Family",options:[["proportionalSansSerif","Proportional Sans-Serif"],["monospaceSansSerif","Monospace Sans-Serif"],["proportionalSerif","Proportional Serif"],["monospaceSerif","Monospace Serif"],["casual","Casual"],["script","Script"],["small-caps","Small Caps"]]},fontPercent:{selector:".vjs-font-percent > select",id:"captions-font-size-%s",label:"Font Size",options:[["0.50","50%"],["0.75","75%"],["1.00","100%"],["1.25","125%"],["1.50","150%"],["1.75","175%"],["2.00","200%"],["3.00","300%"],["4.00","400%"]],default:2,parser:function(t){return"1.00"===t?null:Number(t)}},textOpacity:{selector:".vjs-text-opacity > select",id:"captions-foreground-opacity-%s",label:"Transparency",options:[Ui,Ri]},windowColor:{selector:".vjs-window-color > select",id:"captions-window-color-%s",label:"Color"},windowOpacity:{selector:".vjs-window-opacity > select",id:"captions-window-opacity-%s",label:"Transparency",options:[Qi,Ri,Ui]}};function Vi(t,e){if(e&&(t=e(t)),t&&"none"!==t)return t}Hi.windowColor.options=Hi.backgroundColor.options;var zi=function(t){function e(n,i){P(this,e),i.temporary=!1;var r=j(this,t.call(this,n,i));return r.updateDisplay=Jt(r,r.updateDisplay),r.fill(),r.hasBeenOpened_=r.hasBeenFilled_=!0,r.endDialog=rt("p",{className:"vjs-control-text",textContent:r.localize("End of dialog window.")}),r.el().appendChild(r.endDialog),r.setDefaults(),void 0===i.persistTextTrackSettings&&(r.options_.persistTextTrackSettings=r.options_.playerOptions.persistTextTrackSettings),r.on(r.$(".vjs-done-button"),"click",function(){r.saveSettings(),r.close()}),r.on(r.$(".vjs-default-button"),"click",function(){r.setDefaults(),r.updateDisplay()}),H(Hi,function(t){r.on(r.$(t.selector),"change",r.updateDisplay)}),r.options_.persistTextTrackSettings&&r.restoreSettings(),r}return N(e,t),e.prototype.dispose=function(){this.endDialog=null,t.prototype.dispose.call(this)},e.prototype.createElSelect_=function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"label",r=Hi[t],o=r.id.replace("%s",this.id_),a=[n,o].join(" ").trim();return["<"+i+' id="'+o+'" class="'+("label"===i?"vjs-label":"")+'">',this.localize(r.label),"</"+i+">",'<select aria-labelledby="'+a+'">'].concat(r.options.map(function(t){var n=o+"-"+t[1].replace(/\W+/g,"");return['<option id="'+n+'" value="'+t[0]+'" ','aria-labelledby="'+a+" "+n+'">',e.localize(t[1]),"</option>"].join("")})).concat("</select>").join("")},e.prototype.createElFgColor_=function(){var t="captions-text-legend-"+this.id_;return['<fieldset class="vjs-fg-color vjs-track-setting">','<legend id="'+t+'">',this.localize("Text"),"</legend>",this.createElSelect_("color",t),'<span class="vjs-text-opacity vjs-opacity">',this.createElSelect_("textOpacity",t),"</span>","</fieldset>"].join("")},e.prototype.createElBgColor_=function(){var t="captions-background-"+this.id_;return['<fieldset class="vjs-bg-color vjs-track-setting">','<legend id="'+t+'">',this.localize("Background"),"</legend>",this.createElSelect_("backgroundColor",t),'<span class="vjs-bg-opacity vjs-opacity">',this.createElSelect_("backgroundOpacity",t),"</span>","</fieldset>"].join("")},e.prototype.createElWinColor_=function(){var t="captions-window-"+this.id_;return['<fieldset class="vjs-window-color vjs-track-setting">','<legend id="'+t+'">',this.localize("Window"),"</legend>",this.createElSelect_("windowColor",t),'<span class="vjs-window-opacity vjs-opacity">',this.createElSelect_("windowOpacity",t),"</span>","</fieldset>"].join("")},e.prototype.createElColors_=function(){return rt("div",{className:"vjs-track-settings-colors",innerHTML:[this.createElFgColor_(),this.createElBgColor_(),this.createElWinColor_()].join("")})},e.prototype.createElFont_=function(){return rt("div",{className:"vjs-track-settings-font",innerHTML:['<fieldset class="vjs-font-percent vjs-track-setting">',this.createElSelect_("fontPercent","","legend"),"</fieldset>",'<fieldset class="vjs-edge-style vjs-track-setting">',this.createElSelect_("edgeStyle","","legend"),"</fieldset>",'<fieldset class="vjs-font-family vjs-track-setting">',this.createElSelect_("fontFamily","","legend"),"</fieldset>"].join("")})},e.prototype.createElControls_=function(){var t=this.localize("restore all settings to the default values");return rt("div",{className:"vjs-track-settings-controls",innerHTML:['<button type="button" class="vjs-default-button" title="'+t+'">',this.localize("Reset"),'<span class="vjs-control-text"> '+t+"</span>","</button>",'<button type="button" class="vjs-done-button">'+this.localize("Done")+"</button>"].join("")})},e.prototype.content=function(){return[this.createElColors_(),this.createElFont_(),this.createElControls_()]},e.prototype.label=function(){return this.localize("Caption Settings Dialog")},e.prototype.description=function(){return this.localize("Beginning of dialog window. Escape will cancel and close the window.")},e.prototype.buildCSSClass=function(){return t.prototype.buildCSSClass.call(this)+" vjs-text-track-settings"},e.prototype.getValues=function(){var t=this;return function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Q(t).reduce(function(n,i){return e(n,t[i],i)},n)}(Hi,function(e,n,i){var r,o,a=(r=t.$(n.selector),o=n.parser,Vi(r.options[r.options.selectedIndex].value,o));return void 0!==a&&(e[i]=a),e},{})},e.prototype.setValues=function(t){var e=this;H(Hi,function(n,i){!function(t,e,n){if(e)for(var i=0;i<t.options.length;i++)if(Vi(t.options[i].value,n)===e){t.selectedIndex=i;break}}(e.$(n.selector),t[i],n.parser)})},e.prototype.setDefaults=function(){var t=this;H(Hi,function(e){var n=e.hasOwnProperty("default")?e.default:0;t.$(e.selector).selectedIndex=n})},e.prototype.restoreSettings=function(){var t=void 0;try{t=JSON.parse(o.localStorage.getItem("vjs-text-track-settings"))}catch(t){K.warn(t)}t&&this.setValues(t)},e.prototype.saveSettings=function(){if(this.options_.persistTextTrackSettings){var t=this.getValues();try{Object.keys(t).length?o.localStorage.setItem("vjs-text-track-settings",JSON.stringify(t)):o.localStorage.removeItem("vjs-text-track-settings")}catch(t){K.warn(t)}}},e.prototype.updateDisplay=function(){var t=this.player_.getChild("textTrackDisplay");t&&t.updateDisplay()},e.prototype.conditionalBlur_=function(){this.previouslyActiveEl_=null,this.off(a,"keydown",this.handleKeyDown);var t=this.player_.controlBar,e=t&&t.subsCapsButton,n=t&&t.captionsButton;e?e.focus():n&&n.focus()},e}(Fe);ge.registerComponent("TextTrackSettings",zi);var $i=function(t){function e(n,i){P(this,e);var r=i.ResizeObserver||o.ResizeObserver;null===i.ResizeObserver&&(r=!1);var a=Ae({createEl:!r},i),s=j(this,t.call(this,n,a));return s.ResizeObserver=i.ResizeObserver||o.ResizeObserver,s.loadListener_=null,s.resizeObserver_=null,s.debouncedHandler_=ee(function(){s.resizeHandler()},100,!1,s),r?(s.resizeObserver_=new s.ResizeObserver(s.debouncedHandler_),s.resizeObserver_.observe(n.el())):(s.loadListener_=function(){s.el_&&s.el_.contentWindow&&Ht(s.el_.contentWindow,"resize",s.debouncedHandler_)},s.one("load",s.loadListener_)),s}return N(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"iframe",{className:"vjs-resize-manager"})},e.prototype.resizeHandler=function(){this.player_&&this.player_.trigger&&this.player_.trigger("playerresize")},e.prototype.dispose=function(){this.debouncedHandler_&&this.debouncedHandler_.cancel(),this.resizeObserver_&&(this.player_.el()&&this.resizeObserver_.unobserve(this.player_.el()),this.resizeObserver_.disconnect()),this.el_&&this.el_.contentWindow&&Vt(this.el_.contentWindow,"resize",this.debouncedHandler_),this.loadListener_&&this.off("load",this.loadListener_),this.ResizeObserver=null,this.resizeObserver=null,this.debouncedHandler_=null,this.loadListener_=null},e}(ge);ge.registerComponent("ResizeManager",$i);var Gi=function(t){var e=t.el();if(e.hasAttribute("src"))return t.triggerSourceset(e.src),!0;var n=t.$$("source"),i=[],r="";if(!n.length)return!1;for(var o=0;o<n.length;o++){var a=n[o].src;a&&-1===i.indexOf(a)&&i.push(a)}return!!i.length&&(1===i.length&&(r=i[0]),t.triggerSourceset(r),!0)},Wi={};T||(Wi=Object.defineProperty({},"innerHTML",{get:function(){return this.cloneNode(!0).innerHTML},set:function(t){var e=a.createElement(this.nodeName.toLowerCase());e.innerHTML=t;for(var n=a.createDocumentFragment();e.childNodes.length;)n.appendChild(e.childNodes[0]);return this.innerText="",o.Element.prototype.appendChild.call(this,n),this.innerHTML}}));var Ki=function(t,e){for(var n={},i=0;i<t.length&&!((n=Object.getOwnPropertyDescriptor(t[i],e))&&n.set&&n.get);i++);return n.enumerable=!0,n.configurable=!0,n},Yi=function(t){var e=t.el();if(!e.resetSourceWatch_){var n={},i=function(t){return Ki([t.el(),o.HTMLMediaElement.prototype,o.Element.prototype,Wi],"innerHTML")}(t),r=function(n){return function(){for(var i=arguments.length,r=Array(i),o=0;o<i;o++)r[o]=arguments[o];var a=n.apply(e,r);return Gi(t),a}};["append","appendChild","insertAdjacentHTML"].forEach(function(t){e[t]&&(n[t]=e[t],e[t]=r(n[t]))}),Object.defineProperty(e,"innerHTML",Ae(i,{set:r(i.set)})),e.resetSourceWatch_=function(){e.resetSourceWatch_=null,Object.keys(n).forEach(function(t){e[t]=n[t]}),Object.defineProperty(e,"innerHTML",i)},t.one("sourceset",e.resetSourceWatch_)}},Xi={};T||(Xi=Object.defineProperty({},"src",{get:function(){return this.hasAttribute("src")?qe(o.Element.prototype.getAttribute.call(this,"src")):""},set:function(t){return o.Element.prototype.setAttribute.call(this,"src",t),t}}));var qi=function(t){if(t.featuresSourceset){var e=t.el();if(!e.resetSourceset_){var n=function(t){return Ki([t.el(),o.HTMLMediaElement.prototype,Xi],"src")}(t),i=e.setAttribute,r=e.load;Object.defineProperty(e,"src",Ae(n,{set:function(i){var r=n.set.call(e,i);return t.triggerSourceset(e.src),r}})),e.setAttribute=function(n,r){var o=i.call(e,n,r);return/src/i.test(n)&&t.triggerSourceset(e.src),o},e.load=function(){var n=r.call(e);return Gi(t)||(t.triggerSourceset(""),Yi(t)),n},e.currentSrc?t.triggerSourceset(e.currentSrc):Gi(t)||Yi(t),e.resetSourceset_=function(){e.resetSourceset_=null,e.load=r,e.setAttribute=i,Object.defineProperty(e,"src",n),e.resetSourceWatch_&&e.resetSourceWatch_()}}}},Zi=U(["Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.\n This may prevent text tracks from loading."],["Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.\n This may prevent text tracks from loading."]),Ji=function(t){function e(n,i){P(this,e);var r=j(this,t.call(this,n,i)),o=n.source,a=!1;if(o&&(r.el_.currentSrc!==o.src||n.tag&&3===n.tag.initNetworkState_)?r.setSource(o):r.handleLateInit_(r.el_),n.enableSourceset&&r.setupSourcesetHandling_(),r.el_.hasChildNodes()){for(var l=r.el_.childNodes,c=l.length,u=[];c--;){var h=l[c];"track"===h.nodeName.toLowerCase()&&(r.featuresNativeTextTracks?(r.remoteTextTrackEls().addTrackElement_(h),r.remoteTextTracks().addTrack(h.track),r.textTracks().addTrack(h.track),a||r.el_.hasAttribute("crossorigin")||!Je(h.src)||(a=!0)):u.push(h))}for(var d=0;d<u.length;d++)r.el_.removeChild(u[d])}return r.proxyNativeTracks_(),r.featuresNativeTextTracks&&a&&K.warn(s(Zi)),r.restoreMetadataTracksInIOSNativePlayer_(),(M||g||x)&&!0===n.nativeControlsForTouch&&r.setControls(!0),r.proxyWebkitFullscreen_(),r.triggerReady(),r}return N(e,t),e.prototype.dispose=function(){this.el_&&this.el_.resetSourceset_&&this.el_.resetSourceset_(),e.disposeMediaElement(this.el_),this.options_=null,t.prototype.dispose.call(this)},e.prototype.setupSourcesetHandling_=function(){qi(this)},e.prototype.restoreMetadataTracksInIOSNativePlayer_=function(){var t=this.textTracks(),e=void 0,n=function(){e=[];for(var n=0;n<t.length;n++){var i=t[n];"metadata"===i.kind&&e.push({track:i,storedMode:i.mode})}};n(),t.addEventListener("change",n),this.on("dispose",function(){return t.removeEventListener("change",n)});var i=function n(){for(var i=0;i<e.length;i++){var r=e[i];"disabled"===r.track.mode&&r.track.mode!==r.storedMode&&(r.track.mode=r.storedMode)}t.removeEventListener("change",n)};this.on("webkitbeginfullscreen",function(){t.removeEventListener("change",n),t.removeEventListener("change",i),t.addEventListener("change",i)}),this.on("webkitendfullscreen",function(){t.removeEventListener("change",n),t.addEventListener("change",n),t.removeEventListener("change",i)})},e.prototype.proxyNativeTracks_=function(){var t=this;un.names.forEach(function(e){var n=un[e],i=t.el()[n.getterName],r=t[n.getterName]();if(t["featuresNative"+n.capitalName+"Tracks"]&&i&&i.addEventListener){var o={change:function(t){r.trigger({type:"change",target:r,currentTarget:r,srcElement:r})},addtrack:function(t){r.addTrack(t.track)},removetrack:function(t){r.removeTrack(t.track)}},a=function(){for(var t=[],e=0;e<r.length;e++){for(var n=!1,o=0;o<i.length;o++)if(i[o]===r[e]){n=!0;break}n||t.push(r[e])}for(;t.length;)r.removeTrack(t.shift())};Object.keys(o).forEach(function(e){var n=o[e];i.addEventListener(e,n),t.on("dispose",function(t){return i.removeEventListener(e,n)})}),t.on("loadstart",a),t.on("dispose",function(e){return t.off("loadstart",a)})}})},e.prototype.createEl=function(){var t=this.options_.tag;if(!t||!this.options_.playerElIngest&&!this.movingMediaElementInDOM){if(t){var n=t.cloneNode(!0);t.parentNode&&t.parentNode.insertBefore(n,t),e.disposeMediaElement(t),t=n}else{t=a.createElement("video");var i=Ae({},this.options_.tag&&dt(this.options_.tag));M&&!0===this.options_.nativeControlsForTouch||delete i.controls,ht(t,V(i,{id:this.options_.techId,class:"vjs-tech"}))}t.playerId=this.options_.playerId}void 0!==this.options_.preload&&pt(t,"preload",this.options_.preload);for(var r=["loop","muted","playsinline","autoplay"],o=0;o<r.length;o++){var s=r[o],l=this.options_[s];void 0!==l&&(l?pt(t,s,s):At(t,s),t[s]=l)}return t},e.prototype.handleLateInit_=function(t){if(0!==t.networkState&&3!==t.networkState){if(0===t.readyState){var e=!1,n=function(){e=!0};this.on("loadstart",n);var i=function(){e||this.trigger("loadstart")};return this.on("loadedmetadata",i),void this.ready(function(){this.off("loadstart",n),this.off("loadedmetadata",i),e||this.trigger("loadstart")})}var r=["loadstart"];r.push("loadedmetadata"),t.readyState>=2&&r.push("loadeddata"),t.readyState>=3&&r.push("canplay"),t.readyState>=4&&r.push("canplaythrough"),this.ready(function(){r.forEach(function(t){this.trigger(t)},this)})}},e.prototype.setCurrentTime=function(t){try{this.el_.currentTime=t}catch(t){K(t,"Video is not ready. (Video.js)")}},e.prototype.duration=function(){var t=this;if(this.el_.duration===1/0&&b&&B&&0===this.el_.currentTime){return this.on("timeupdate",function e(){t.el_.currentTime>0&&(t.el_.duration===1/0&&t.trigger("durationchange"),t.off("timeupdate",e))}),NaN}return this.el_.duration||NaN},e.prototype.width=function(){return this.el_.offsetWidth},e.prototype.height=function(){return this.el_.offsetHeight},e.prototype.proxyWebkitFullscreen_=function(){var t=this;if("webkitDisplayingFullscreen"in this.el_){var e=function(){this.trigger("fullscreenchange",{isFullscreen:!1})},n=function(){"webkitPresentationMode"in this.el_&&"picture-in-picture"!==this.el_.webkitPresentationMode&&(this.one("webkitendfullscreen",e),this.trigger("fullscreenchange",{isFullscreen:!0}))};this.on("webkitbeginfullscreen",n),this.on("dispose",function(){t.off("webkitbeginfullscreen",n),t.off("webkitendfullscreen",e)})}},e.prototype.supportsFullScreen=function(){if("function"==typeof this.el_.webkitEnterFullScreen){var t=o.navigator&&o.navigator.userAgent||"";if(/Android/.test(t)||!/Chrome|Mac OS X 10.5/.test(t))return!0}return!1},e.prototype.enterFullScreen=function(){var t=this.el_;t.paused&&t.networkState<=t.HAVE_METADATA?(this.el_.play(),this.setTimeout(function(){t.pause(),t.webkitEnterFullScreen()},0)):t.webkitEnterFullScreen()},e.prototype.exitFullScreen=function(){this.el_.webkitExitFullScreen()},e.prototype.src=function(t){if(void 0===t)return this.el_.src;this.setSrc(t)},e.prototype.reset=function(){e.resetMediaElement(this.el_)},e.prototype.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc},e.prototype.setControls=function(t){this.el_.controls=!!t},e.prototype.addTextTrack=function(e,n,i){return this.featuresNativeTextTracks?this.el_.addTextTrack(e,n,i):t.prototype.addTextTrack.call(this,e,n,i)},e.prototype.createRemoteTextTrack=function(e){if(!this.featuresNativeTextTracks)return t.prototype.createRemoteTextTrack.call(this,e);var n=a.createElement("track");return e.kind&&(n.kind=e.kind),e.label&&(n.label=e.label),(e.language||e.srclang)&&(n.srclang=e.language||e.srclang),e.default&&(n.default=e.default),e.id&&(n.id=e.id),e.src&&(n.src=e.src),n},e.prototype.addRemoteTextTrack=function(e,n){var i=t.prototype.addRemoteTextTrack.call(this,e,n);return this.featuresNativeTextTracks&&this.el().appendChild(i),i},e.prototype.removeRemoteTextTrack=function(e){if(t.prototype.removeRemoteTextTrack.call(this,e),this.featuresNativeTextTracks)for(var n=this.$$("track"),i=n.length;i--;)e!==n[i]&&e!==n[i].track||this.el().removeChild(n[i])},e.prototype.getVideoPlaybackQuality=function(){if("function"==typeof this.el().getVideoPlaybackQuality)return this.el().getVideoPlaybackQuality();var t={};return void 0!==this.el().webkitDroppedFrameCount&&void 0!==this.el().webkitDecodedFrameCount&&(t.droppedVideoFrames=this.el().webkitDroppedFrameCount,t.totalVideoFrames=this.el().webkitDecodedFrameCount),o.performance&&"function"==typeof o.performance.now?t.creationTime=o.performance.now():o.performance&&o.performance.timing&&"number"==typeof o.performance.timing.navigationStart&&(t.creationTime=o.Date.now()-o.performance.timing.navigationStart),t},e}(fn);if(tt()){Ji.TEST_VID=a.createElement("video");var tr=a.createElement("track");tr.kind="captions",tr.srclang="en",tr.label="English",Ji.TEST_VID.appendChild(tr)}Ji.isSupported=function(){try{Ji.TEST_VID.volume=.5}catch(t){return!1}return!(!Ji.TEST_VID||!Ji.TEST_VID.canPlayType)},Ji.canPlayType=function(t){return Ji.TEST_VID.canPlayType(t)},Ji.canPlaySource=function(t,e){return Ji.canPlayType(t.type)},Ji.canControlVolume=function(){try{var t=Ji.TEST_VID.volume;return Ji.TEST_VID.volume=t/2+.1,t!==Ji.TEST_VID.volume}catch(t){return!1}},Ji.canMuteVolume=function(){try{var t=Ji.TEST_VID.muted;return Ji.TEST_VID.muted=!t,Ji.TEST_VID.muted?pt(Ji.TEST_VID,"muted","muted"):At(Ji.TEST_VID,"muted"),t!==Ji.TEST_VID.muted}catch(t){return!1}},Ji.canControlPlaybackRate=function(){if(b&&B&&k<58)return!1;try{var t=Ji.TEST_VID.playbackRate;return Ji.TEST_VID.playbackRate=t/2+.1,t!==Ji.TEST_VID.playbackRate}catch(t){return!1}},Ji.canOverrideAttributes=function(){if(T)return!1;try{var t=function(){};Object.defineProperty(a.createElement("video"),"src",{get:t,set:t}),Object.defineProperty(a.createElement("audio"),"src",{get:t,set:t}),Object.defineProperty(a.createElement("video"),"innerHTML",{get:t,set:t}),Object.defineProperty(a.createElement("audio"),"innerHTML",{get:t,set:t})}catch(t){return!1}return!0},Ji.supportsNativeTextTracks=function(){return I||m&&B},Ji.supportsNativeVideoTracks=function(){return!(!Ji.TEST_VID||!Ji.TEST_VID.videoTracks)},Ji.supportsNativeAudioTracks=function(){return!(!Ji.TEST_VID||!Ji.TEST_VID.audioTracks)},Ji.Events=["loadstart","suspend","abort","error","emptied","stalled","loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","seeking","seeked","ended","durationchange","timeupdate","progress","play","pause","ratechange","resize","volumechange"],Ji.prototype.featuresVolumeControl=Ji.canControlVolume(),Ji.prototype.featuresMuteControl=Ji.canMuteVolume(),Ji.prototype.featuresPlaybackRate=Ji.canControlPlaybackRate(),Ji.prototype.featuresSourceset=Ji.canOverrideAttributes(),Ji.prototype.movingMediaElementInDOM=!m,Ji.prototype.featuresFullscreenResize=!0,Ji.prototype.featuresProgressEvents=!0,Ji.prototype.featuresTimeupdateEvents=!0,Ji.prototype.featuresNativeTextTracks=Ji.supportsNativeTextTracks(),Ji.prototype.featuresNativeVideoTracks=Ji.supportsNativeVideoTracks(),Ji.prototype.featuresNativeAudioTracks=Ji.supportsNativeAudioTracks();var er=Ji.TEST_VID&&Ji.TEST_VID.constructor.prototype.canPlayType,nr=/^application\/(?:x-|vnd\.apple\.)mpegurl/i,ir=/^video\/mp4/i;Ji.patchCanPlayType=function(){_>=4&&!C&&!B?Ji.TEST_VID.constructor.prototype.canPlayType=function(t){return t&&nr.test(t)?"maybe":er.call(this,t)}:w&&(Ji.TEST_VID.constructor.prototype.canPlayType=function(t){return t&&ir.test(t)?"maybe":er.call(this,t)})},Ji.unpatchCanPlayType=function(){var t=Ji.TEST_VID.constructor.prototype.canPlayType;return Ji.TEST_VID.constructor.prototype.canPlayType=er,t},Ji.patchCanPlayType(),Ji.disposeMediaElement=function(t){if(t){for(t.parentNode&&t.parentNode.removeChild(t);t.hasChildNodes();)t.removeChild(t.firstChild);t.removeAttribute("src"),"function"==typeof t.load&&function(){try{t.load()}catch(t){}}()}},Ji.resetMediaElement=function(t){if(t){for(var e=t.querySelectorAll("source"),n=e.length;n--;)t.removeChild(e[n]);t.removeAttribute("src"),"function"==typeof t.load&&function(){try{t.load()}catch(t){}}()}},["muted","defaultMuted","autoplay","controls","loop","playsinline"].forEach(function(t){Ji.prototype[t]=function(){return this.el_[t]||this.el_.hasAttribute(t)}}),["muted","defaultMuted","autoplay","loop","playsinline"].forEach(function(t){Ji.prototype["set"+pe(t)]=function(e){this.el_[t]=e,e?this.el_.setAttribute(t,t):this.el_.removeAttribute(t)}}),["paused","currentTime","buffered","volume","poster","preload","error","seeking","seekable","ended","playbackRate","defaultPlaybackRate","played","networkState","readyState","videoWidth","videoHeight"].forEach(function(t){Ji.prototype[t]=function(){return this.el_[t]}}),["volume","src","poster","preload","playbackRate","defaultPlaybackRate"].forEach(function(t){Ji.prototype["set"+pe(t)]=function(e){this.el_[t]=e}}),["pause","load","play"].forEach(function(t){Ji.prototype[t]=function(){return this.el_[t]()}}),fn.withSourceHandlers(Ji),Ji.nativeSourceHandler={},Ji.nativeSourceHandler.canPlayType=function(t){try{return Ji.TEST_VID.canPlayType(t)}catch(t){return""}},Ji.nativeSourceHandler.canHandleSource=function(t,e){if(t.type)return Ji.nativeSourceHandler.canPlayType(t.type);if(t.src){var n=Ze(t.src);return Ji.nativeSourceHandler.canPlayType("video/"+n)}return""},Ji.nativeSourceHandler.handleSource=function(t,e,n){e.setSrc(t.src)},Ji.nativeSourceHandler.dispose=function(){},Ji.registerSourceHandler(Ji.nativeSourceHandler),fn.registerTech("Html5",Ji);var rr=U(["\n Using the tech directly can be dangerous. I hope you know what you're doing.\n See https://github.com/videojs/video.js/issues/2617 for more info.\n "],["\n Using the tech directly can be dangerous. I hope you know what you're doing.\n See https://github.com/videojs/video.js/issues/2617 for more info.\n "]),or=["progress","abort","suspend","emptied","stalled","loadedmetadata","loadeddata","timeupdate","resize","volumechange","texttrackchange"],ar={canplay:"CanPlay",canplaythrough:"CanPlayThrough",playing:"Playing",seeked:"Seeked"},sr=["tiny","xsmall","small","medium","large","xlarge","huge"],lr={};sr.forEach(function(t){var e="x"===t.charAt(0)?"x-"+t.substring(1):t;lr[t]="vjs-layout-"+e});var cr={tiny:210,xsmall:320,small:425,medium:768,large:1440,xlarge:2560,huge:1/0},ur=function(t){function e(n,i,r){if(P(this,e),n.id=n.id||i.id||"vjs_video_"+It(),(i=V(e.getTagSettings(n),i)).initChildren=!1,i.createEl=!1,i.evented=!1,i.reportTouchActivity=!1,!i.language)if("function"==typeof n.closest){var o=n.closest("[lang]");o&&o.getAttribute&&(i.language=o.getAttribute("lang"))}else for(var a=n;a&&1===a.nodeType;){if(dt(a).hasOwnProperty("lang")){i.language=a.getAttribute("lang");break}a=a.parentNode}var s=j(this,t.call(this,null,i,r));if(s.log=Y(s.id_),s.isPosterFromTech_=!1,s.queuedCallbacks_=[],s.isReady_=!1,s.hasStarted_=!1,s.userActive_=!1,!s.options_||!s.options_.techOrder||!s.options_.techOrder.length)throw new Error("No techOrder specified. Did you overwrite videojs.options instead of just changing the properties you want to override?");if(s.tag=n,s.tagAttributes=n&&dt(n),s.language(s.options_.language),i.languages){var l={};Object.getOwnPropertyNames(i.languages).forEach(function(t){l[t.toLowerCase()]=i.languages[t]}),s.languages_=l}else s.languages_=e.prototype.options_.languages;s.cache_={},s.poster_=i.poster||"",s.controls_=!!i.controls,s.cache_.lastVolume=1,n.controls=!1,n.removeAttribute("controls"),n.hasAttribute("autoplay")?s.options_.autoplay=!0:s.autoplay(s.options_.autoplay),s.scrubbing_=!1,s.el_=s.createEl(),s.cache_.lastPlaybackRate=s.defaultPlaybackRate(),he(s,{eventBusKey:"el_"});var c=Ae(s.options_);if(i.plugins){var u=i.plugins;Object.keys(u).forEach(function(t){if("function"!=typeof this[t])throw new Error('plugin "'+t+'" does not exist');this[t](u[t])},s)}s.options_.playerOptions=c,s.middleware_=[],s.initChildren(),s.isAudio("audio"===n.nodeName.toLowerCase()),s.controls()?s.addClass("vjs-controls-enabled"):s.addClass("vjs-controls-disabled"),s.el_.setAttribute("role","region"),s.isAudio()?s.el_.setAttribute("aria-label",s.localize("Audio Player")):s.el_.setAttribute("aria-label",s.localize("Video Player")),s.isAudio()&&s.addClass("vjs-audio"),s.flexNotSupported_()&&s.addClass("vjs-no-flex"),m||s.addClass("vjs-workinghover"),e.players[s.id_]=s;var d=h.split(".")[0];return s.addClass("vjs-v"+d),s.userActive(!0),s.reportUserActivity(),s.one("play",s.listenForUserActivity_),s.on("fullscreenchange",s.handleFullscreenChange_),s.on("stageclick",s.handleStageClick_),s.breakpoints(s.options_.breakpoints),s.responsive(s.options_.responsive),s.changingSrc_=!1,s.playWaitingForReady_=!1,s.playOnLoadstart_=null,s}return N(e,t),e.prototype.dispose=function(){this.trigger("dispose"),this.off("dispose"),this.styleEl_&&this.styleEl_.parentNode&&(this.styleEl_.parentNode.removeChild(this.styleEl_),this.styleEl_=null),e.players[this.id_]=null,this.tag&&this.tag.player&&(this.tag.player=null),this.el_&&this.el_.player&&(this.el_.player=null),this.tech_&&(this.tech_.dispose(),this.isPosterFromTech_=!1,this.poster_=""),this.playerElIngest_&&(this.playerElIngest_=null),this.tag&&(this.tag=null),An[this.id()]=null,t.prototype.dispose.call(this)},e.prototype.createEl=function(){var e=this.tag,n=void 0,i=this.playerElIngest_=e.parentNode&&e.parentNode.hasAttribute&&e.parentNode.hasAttribute("data-vjs-player"),r="video-js"===this.tag.tagName.toLowerCase();i?n=this.el_=e.parentNode:r||(n=this.el_=t.prototype.createEl.call(this,"div"));var s=dt(e);if(r){for(n=this.el_=e,e=this.tag=a.createElement("video");n.children.length;)e.appendChild(n.firstChild);st(n,"video-js")||lt(n,"video-js"),n.appendChild(e),i=this.playerElIngest_=n,["autoplay","controls","crossOrigin","defaultMuted","defaultPlaybackRate","loop","muted","playbackRate","src","volume"].forEach(function(t){void 0!==n[t]&&(e[t]=n[t])})}if(e.setAttribute("tabindex","-1"),s.tabindex="-1",O&&(e.setAttribute("role","application"),s.role="application"),e.removeAttribute("width"),e.removeAttribute("height"),"width"in s&&delete s.width,"height"in s&&delete s.height,Object.getOwnPropertyNames(s).forEach(function(t){"class"===t?(n.className+=" "+s[t],r&&(e.className+=" "+s[t])):(n.setAttribute(t,s[t]),r&&e.setAttribute(t,s[t]))}),e.playerId=e.id,e.id+="_html5_api",e.className="vjs-tech",e.player=n.player=this,this.addClass("vjs-paused"),!0!==o.VIDEOJS_NO_DYNAMIC_STYLE){this.styleEl_=qt("vjs-styles-dimensions");var l=kt(".vjs-styles-defaults"),c=kt("head");c.insertBefore(this.styleEl_,l?l.nextSibling:c.firstChild)}this.fill_=!1,this.fluid_=!1,this.width(this.options_.width),this.height(this.options_.height),this.fill(this.options_.fill),this.fluid(this.options_.fluid),this.aspectRatio(this.options_.aspectRatio);for(var u=e.getElementsByTagName("a"),h=0;h<u.length;h++){var d=u.item(h);lt(d,"vjs-hidden"),d.setAttribute("hidden","hidden")}return e.initNetworkState_=e.networkState,e.parentNode&&!i&&e.parentNode.insertBefore(n,e),at(e,n),this.children_.unshift(e),this.el_.setAttribute("lang",this.language_),this.el_=n,n},e.prototype.width=function(t){return this.dimension("width",t)},e.prototype.height=function(t){return this.dimension("height",t)},e.prototype.dimension=function(t,e){var n=t+"_";if(void 0===e)return this[n]||0;if(""===e)return this[n]=void 0,void this.updateStyleEl_();var i=parseFloat(e);isNaN(i)?K.error('Improper value "'+e+'" supplied for for '+t):(this[n]=i,this.updateStyleEl_())},e.prototype.fluid=function(t){if(void 0===t)return!!this.fluid_;this.fluid_=!!t,t?(this.addClass("vjs-fluid"),this.fill(!1)):this.removeClass("vjs-fluid"),this.updateStyleEl_()},e.prototype.fill=function(t){if(void 0===t)return!!this.fill_;this.fill_=!!t,t?(this.addClass("vjs-fill"),this.fluid(!1)):this.removeClass("vjs-fill")},e.prototype.aspectRatio=function(t){if(void 0===t)return this.aspectRatio_;if(!/^\d+\:\d+$/.test(t))throw new Error("Improper value supplied for aspect ratio. The format should be width:height, for example 16:9.");this.aspectRatio_=t,this.fluid(!0),this.updateStyleEl_()},e.prototype.updateStyleEl_=function(){if(!0!==o.VIDEOJS_NO_DYNAMIC_STYLE){var t=void 0,e=void 0,n=void 0,i=(void 0!==this.aspectRatio_&&"auto"!==this.aspectRatio_?this.aspectRatio_:this.videoWidth()>0?this.videoWidth()+":"+this.videoHeight():"16:9").split(":"),r=i[1]/i[0];t=void 0!==this.width_?this.width_:void 0!==this.height_?this.height_/r:this.videoWidth()||300,e=void 0!==this.height_?this.height_:t*r,n=/^[^a-zA-Z]/.test(this.id())?"dimensions-"+this.id():this.id()+"-dimensions",this.addClass(n),Zt(this.styleEl_,"\n ."+n+" {\n width: "+t+"px;\n height: "+e+"px;\n }\n\n ."+n+".vjs-fluid {\n padding-top: "+100*r+"%;\n }\n ")}else{var a="number"==typeof this.width_?this.width_:this.options_.width,s="number"==typeof this.height_?this.height_:this.options_.height,l=this.tech_&&this.tech_.el();l&&(a>=0&&(l.width=a),s>=0&&(l.height=s))}},e.prototype.loadTech_=function(t,e){var n=this;this.tech_&&this.unloadTech_();var i=pe(t),r=t.charAt(0).toLowerCase()+t.slice(1);"Html5"!==i&&this.tag&&(fn.getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null),this.techName_=i,this.isReady_=!1;var o={source:e,autoplay:"string"!=typeof this.autoplay()&&this.autoplay(),nativeControlsForTouch:this.options_.nativeControlsForTouch,playerId:this.id(),techId:this.id()+"_"+r+"_api",playsinline:this.options_.playsinline,preload:this.options_.preload,loop:this.options_.loop,muted:this.options_.muted,poster:this.poster(),language:this.language(),playerElIngest:this.playerElIngest_||!1,"vtt.js":this.options_["vtt.js"],canOverridePoster:!!this.options_.techCanOverridePoster,enableSourceset:this.options_.enableSourceset};dn.names.forEach(function(t){var e=dn[t];o[e.getterName]=n[e.privateName]}),V(o,this.options_[i]),V(o,this.options_[r]),V(o,this.options_[t.toLowerCase()]),this.tag&&(o.tag=this.tag),e&&e.src===this.cache_.src&&this.cache_.currentTime>0&&(o.startTime=this.cache_.currentTime);var a=fn.getTech(t);if(!a)throw new Error("No Tech named '"+i+"' exists! '"+i+"' should be registered using videojs.registerTech()'");this.tech_=new a(o),this.tech_.ready(Jt(this,this.handleTechReady_),!0),De(this.textTracksJson_||[],this.tech_),or.forEach(function(t){n.on(n.tech_,t,n["handleTech"+pe(t)+"_"])}),Object.keys(ar).forEach(function(t){n.on(n.tech_,t,function(e){0===n.tech_.playbackRate()&&n.tech_.seeking()?n.queuedCallbacks_.push({callback:n["handleTech"+ar[t]+"_"].bind(n),event:e}):n["handleTech"+ar[t]+"_"](e)})}),this.on(this.tech_,"loadstart",this.handleTechLoadStart_),this.on(this.tech_,"sourceset",this.handleTechSourceset_),this.on(this.tech_,"waiting",this.handleTechWaiting_),this.on(this.tech_,"ended",this.handleTechEnded_),this.on(this.tech_,"seeking",this.handleTechSeeking_),this.on(this.tech_,"play",this.handleTechPlay_),this.on(this.tech_,"firstplay",this.handleTechFirstPlay_),this.on(this.tech_,"pause",this.handleTechPause_),this.on(this.tech_,"durationchange",this.handleTechDurationChange_),this.on(this.tech_,"fullscreenchange",this.handleTechFullscreenChange_),this.on(this.tech_,"error",this.handleTechError_),this.on(this.tech_,"loadedmetadata",this.updateStyleEl_),this.on(this.tech_,"posterchange",this.handleTechPosterChange_),this.on(this.tech_,"textdata",this.handleTechTextData_),this.on(this.tech_,"ratechange",this.handleTechRateChange_),this.usingNativeControls(this.techGet_("controls")),this.controls()&&!this.usingNativeControls()&&this.addTechControlsListeners_(),this.tech_.el().parentNode===this.el()||"Html5"===i&&this.tag||at(this.tech_.el(),this.el()),this.tag&&(this.tag.player=null,this.tag=null)},e.prototype.unloadTech_=function(){var t=this;dn.names.forEach(function(e){var n=dn[e];t[n.privateName]=t[n.getterName]()}),this.textTracksJson_=Me(this.tech_),this.isReady_=!1,this.tech_.dispose(),this.tech_=!1,this.isPosterFromTech_&&(this.poster_="",this.trigger("posterchange")),this.isPosterFromTech_=!1},e.prototype.tech=function(t){return void 0===t&&K.warn(s(rr)),this.tech_},e.prototype.addTechControlsListeners_=function(){this.removeTechControlsListeners_(),this.on(this.tech_,"mousedown",this.handleTechClick_),this.on(this.tech_,"touchstart",this.handleTechTouchStart_),this.on(this.tech_,"touchmove",this.handleTechTouchMove_),this.on(this.tech_,"touchend",this.handleTechTouchEnd_),this.on(this.tech_,"tap",this.handleTechTap_)},e.prototype.removeTechControlsListeners_=function(){this.off(this.tech_,"tap",this.handleTechTap_),this.off(this.tech_,"touchstart",this.handleTechTouchStart_),this.off(this.tech_,"touchmove",this.handleTechTouchMove_),this.off(this.tech_,"touchend",this.handleTechTouchEnd_),this.off(this.tech_,"mousedown",this.handleTechClick_)},e.prototype.handleTechReady_=function(){if(this.triggerReady(),this.cache_.volume&&this.techCall_("setVolume",this.cache_.volume),this.handleTechPosterChange_(),this.handleTechDurationChange_(),(this.src()||this.currentSrc())&&this.tag&&this.options_.autoplay&&this.paused())try{delete this.tag.poster}catch(t){K("deleting tag.poster throws in some browsers",t)}},e.prototype.handleTechLoadStart_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-seeking"),this.error(null),this.paused()?(this.hasStarted(!1),this.trigger("loadstart")):(this.trigger("loadstart"),this.trigger("firstplay")),this.manualAutoplay_(this.autoplay())},e.prototype.manualAutoplay_=function(t){var e=this;if(this.tech_&&"string"==typeof t){var n=function(){var t=e.muted();e.muted(!0);var n=e.play();if(n&&n.then&&n.catch)return n.catch(function(n){e.muted(t)})},i=void 0;if("any"===t?(i=this.play())&&i.then&&i.catch&&i.catch(function(){return n()}):i="muted"===t?n():this.play(),i&&i.then&&i.catch)return i.then(function(){e.trigger({type:"autoplay-success",autoplay:t})}).catch(function(n){e.trigger({type:"autoplay-failure",autoplay:t})})}},e.prototype.updateSourceCaches_=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=t,n="";"string"!=typeof e&&(e=t.src,n=t.type),this.cache_.source=this.cache_.source||{},this.cache_.sources=this.cache_.sources||[],e&&!n&&(n=function(t,e){if(!e)return"";if(t.cache_.source.src===e&&t.cache_.source.type)return t.cache_.source.type;var n=t.cache_.sources.filter(function(t){return t.src===e});if(n.length)return n[0].type;for(var i=t.$$("source"),r=0;r<i.length;r++){var o=i[r];if(o.type&&o.src&&o.src===e)return o.type}return Cn(e)}(this,e)),this.cache_.source=Ae({},t,{src:e,type:n});for(var i=this.cache_.sources.filter(function(t){return t.src&&t.src===e}),r=[],o=this.$$("source"),a=[],s=0;s<o.length;s++){var l=dt(o[s]);r.push(l),l.src&&l.src===e&&a.push(l.src)}a.length&&!i.length?this.cache_.sources=r:i.length||(this.cache_.sources=[this.cache_.source]),this.cache_.src=e},e.prototype.handleTechSourceset_=function(t){var e=this;if(!this.changingSrc_){var n=function(t){return e.updateSourceCaches_(t)},i=this.currentSource().src,r=t.src;if(i&&!/^blob:/.test(i)&&/^blob:/.test(r)&&(!this.lastSource_||this.lastSource_.tech!==r&&this.lastSource_.player!==i)&&(n=function(){}),n(r),!t.src){this.tech_.one(["sourceset","loadstart"],function t(n){if("sourceset"!==n.type){var i=e.techGet("currentSrc");e.lastSource_.tech=i,e.updateSourceCaches_(i)}e.tech_.off(["sourceset","loadstart"],t)})}}this.lastSource_={player:this.currentSource().src,tech:t.src},this.trigger({src:t.src,type:"sourceset"})},e.prototype.hasStarted=function(t){if(void 0===t)return this.hasStarted_;t!==this.hasStarted_&&(this.hasStarted_=t,this.hasStarted_?(this.addClass("vjs-has-started"),this.trigger("firstplay")):this.removeClass("vjs-has-started"))},e.prototype.handleTechPlay_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.hasStarted(!0),this.trigger("play")},e.prototype.handleTechRateChange_=function(){this.tech_.playbackRate()>0&&0===this.cache_.lastPlaybackRate&&(this.queuedCallbacks_.forEach(function(t){return t.callback(t.event)}),this.queuedCallbacks_=[]),this.cache_.lastPlaybackRate=this.tech_.playbackRate(),this.trigger("ratechange")},e.prototype.handleTechWaiting_=function(){var t=this;this.addClass("vjs-waiting"),this.trigger("waiting"),this.one("timeupdate",function(){return t.removeClass("vjs-waiting")})},e.prototype.handleTechCanPlay_=function(){this.removeClass("vjs-waiting"),this.trigger("canplay")},e.prototype.handleTechCanPlayThrough_=function(){this.removeClass("vjs-waiting"),this.trigger("canplaythrough")},e.prototype.handleTechPlaying_=function(){this.removeClass("vjs-waiting"),this.trigger("playing")},e.prototype.handleTechSeeking_=function(){this.addClass("vjs-seeking"),this.trigger("seeking")},e.prototype.handleTechSeeked_=function(){this.removeClass("vjs-seeking"),this.trigger("seeked")},e.prototype.handleTechFirstPlay_=function(){this.options_.starttime&&(K.warn("Passing the `starttime` option to the player will be deprecated in 6.0"),this.currentTime(this.options_.starttime)),this.addClass("vjs-has-started"),this.trigger("firstplay")},e.prototype.handleTechPause_=function(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.trigger("pause")},e.prototype.handleTechEnded_=function(){this.addClass("vjs-ended"),this.options_.loop?(this.currentTime(0),this.play()):this.paused()||this.pause(),this.trigger("ended")},e.prototype.handleTechDurationChange_=function(){this.duration(this.techGet_("duration"))},e.prototype.handleTechClick_=function(t){Bt(t)&&this.controls_&&(this.paused()?Ee(this.play()):this.pause())},e.prototype.handleTechTap_=function(){this.userActive(!this.userActive())},e.prototype.handleTechTouchStart_=function(){this.userWasActive=this.userActive()},e.prototype.handleTechTouchMove_=function(){this.userWasActive&&this.reportUserActivity()},e.prototype.handleTechTouchEnd_=function(t){t.preventDefault()},e.prototype.handleFullscreenChange_=function(){this.isFullscreen()?this.addClass("vjs-fullscreen"):this.removeClass("vjs-fullscreen")},e.prototype.handleStageClick_=function(){this.reportUserActivity()},e.prototype.handleTechFullscreenChange_=function(t,e){e&&this.isFullscreen(e.isFullscreen),this.trigger("fullscreenchange")},e.prototype.handleTechError_=function(){var t=this.tech_.error();this.error(t)},e.prototype.handleTechTextData_=function(){var t=null;arguments.length>1&&(t=arguments[1]),this.trigger("textdata",t)},e.prototype.getCache=function(){return this.cache_},e.prototype.techCall_=function(t,e){this.ready(function(){if(t in bn)return function(t,e,n,i){return e[n](t.reduce(wn(n),i))}(this.middleware_,this.tech_,t,e);if(t in _n)return mn(this.middleware_,this.tech_,t,e);try{this.tech_&&this.tech_[t](e)}catch(t){throw K(t),t}},!0)},e.prototype.techGet_=function(t){if(this.tech_&&this.tech_.isReady_){if(t in yn)return function(t,e,n){return t.reduceRight(wn(n),e[n]())}(this.middleware_,this.tech_,t);if(t in _n)return mn(this.middleware_,this.tech_,t);try{return this.tech_[t]()}catch(e){if(void 0===this.tech_[t])throw K("Video.js: "+t+" method not defined for "+this.techName_+" playback technology.",e),e;if("TypeError"===e.name)throw K("Video.js: "+t+" unavailable on "+this.techName_+" playback technology element.",e),this.tech_.isReady_=!1,e;throw K(e),e}}},e.prototype.play=function(){var t=this,e=this.options_.Promise||o.Promise;return e?new e(function(e){t.play_(e)}):this.play_()},e.prototype.play_=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ee;if(this.playOnLoadstart_&&this.off("loadstart",this.playOnLoadstart_),this.isReady_){if(!this.changingSrc_&&(this.src()||this.currentSrc()))return void e(this.techGet_("play"));this.playOnLoadstart_=function(){t.playOnLoadstart_=null,e(t.play())},this.one("loadstart",this.playOnLoadstart_)}else{if(this.playWaitingForReady_)return;this.playWaitingForReady_=!0,this.ready(function(){t.playWaitingForReady_=!1,e(t.play())})}},e.prototype.pause=function(){this.techCall_("pause")},e.prototype.paused=function(){return!1!==this.techGet_("paused")},e.prototype.played=function(){return this.techGet_("played")||ye(0,0)},e.prototype.scrubbing=function(t){if(void 0===t)return this.scrubbing_;this.scrubbing_=!!t,t?this.addClass("vjs-scrubbing"):this.removeClass("vjs-scrubbing")},e.prototype.currentTime=function(t){return void 0!==t?(t<0&&(t=0),void this.techCall_("setCurrentTime",t)):(this.cache_.currentTime=this.techGet_("currentTime")||0,this.cache_.currentTime)},e.prototype.duration=function(t){if(void 0===t)return void 0!==this.cache_.duration?this.cache_.duration:NaN;(t=parseFloat(t))<0&&(t=1/0),t!==this.cache_.duration&&(this.cache_.duration=t,t===1/0?this.addClass("vjs-live"):this.removeClass("vjs-live"),this.trigger("durationchange"))},e.prototype.remainingTime=function(){return this.duration()-this.currentTime()},e.prototype.remainingTimeDisplay=function(){return Math.floor(this.duration())-Math.floor(this.currentTime())},e.prototype.buffered=function(){var t=this.techGet_("buffered");return t&&t.length||(t=ye(0,0)),t},e.prototype.bufferedPercent=function(){return be(this.buffered(),this.duration())},e.prototype.bufferedEnd=function(){var t=this.buffered(),e=this.duration(),n=t.end(t.length-1);return n>e&&(n=e),n},e.prototype.volume=function(t){var e=void 0;return void 0!==t?(e=Math.max(0,Math.min(1,parseFloat(t))),this.cache_.volume=e,this.techCall_("setVolume",e),void(e>0&&this.lastVolume_(e))):(e=parseFloat(this.techGet_("volume")),isNaN(e)?1:e)},e.prototype.muted=function(t){if(void 0===t)return this.techGet_("muted")||!1;this.techCall_("setMuted",t)},e.prototype.defaultMuted=function(t){return void 0!==t?this.techCall_("setDefaultMuted",t):this.techGet_("defaultMuted")||!1},e.prototype.lastVolume_=function(t){if(void 0===t||0===t)return this.cache_.lastVolume;this.cache_.lastVolume=t},e.prototype.supportsFullScreen=function(){return this.techGet_("supportsFullScreen")||!1},e.prototype.isFullscreen=function(t){if(void 0===t)return!!this.isFullscreen_;this.isFullscreen_=!!t},e.prototype.requestFullscreen=function(){var t=_e;this.isFullscreen(!0),t.requestFullscreen?(Ht(a,t.fullscreenchange,Jt(this,function e(n){this.isFullscreen(a[t.fullscreenElement]),!1===this.isFullscreen()&&Vt(a,t.fullscreenchange,e),this.trigger("fullscreenchange")})),this.el_[t.requestFullscreen]()):this.tech_.supportsFullScreen()?this.techCall_("enterFullScreen"):(this.enterFullWindow(),this.trigger("fullscreenchange"))},e.prototype.exitFullscreen=function(){var t=_e;this.isFullscreen(!1),t.requestFullscreen?a[t.exitFullscreen]():this.tech_.supportsFullScreen()?this.techCall_("exitFullScreen"):(this.exitFullWindow(),this.trigger("fullscreenchange"))},e.prototype.enterFullWindow=function(){this.isFullWindow=!0,this.docOrigOverflow=a.documentElement.style.overflow,Ht(a,"keydown",Jt(this,this.fullWindowOnEscKey)),a.documentElement.style.overflow="hidden",lt(a.body,"vjs-full-window"),this.trigger("enterFullWindow")},e.prototype.fullWindowOnEscKey=function(t){27===t.keyCode&&(!0===this.isFullscreen()?this.exitFullscreen():this.exitFullWindow())},e.prototype.exitFullWindow=function(){this.isFullWindow=!1,Vt(a,"keydown",this.fullWindowOnEscKey),a.documentElement.style.overflow=this.docOrigOverflow,ct(a.body,"vjs-full-window"),this.trigger("exitFullWindow")},e.prototype.canPlayType=function(t){for(var e=void 0,n=0,i=this.options_.techOrder;n<i.length;n++){var r=i[n],o=fn.getTech(r);if(o||(o=ge.getComponent(r)),o){if(o.isSupported()&&(e=o.canPlayType(t)))return e}else K.error('The "'+r+'" tech is undefined. Skipped browser support check for that tech.')}return""},e.prototype.selectSource=function(t){var e,n=this,i=this.options_.techOrder.map(function(t){return[t,fn.getTech(t)]}).filter(function(t){var e=t[0],n=t[1];return n?n.isSupported():(K.error('The "'+e+'" tech is undefined. Skipped browser support check for that tech.'),!1)}),r=function(t,e,n){var i=void 0;return t.some(function(t){return e.some(function(e){if(i=n(t,e))return!0})}),i},o=function(t,e){var i=t[0];if(t[1].canPlaySource(e,n.options_[i.toLowerCase()]))return{source:e,tech:i}};return(this.options_.sourceOrder?r(t,i,(e=o,function(t,n){return e(n,t)})):r(i,t,o))||!1},e.prototype.src=function(t){var e=this;if(void 0===t)return this.cache_.src||"";var n=function t(e){if(Array.isArray(e)){var n=[];e.forEach(function(e){e=t(e),Array.isArray(e)?n=n.concat(e):z(e)&&n.push(e)}),e=n}else e="string"==typeof e&&e.trim()?[Sn({src:e})]:z(e)&&"string"==typeof e.src&&e.src&&e.src.trim()?[Sn(e)]:[];return e}(t);n.length?(this.changingSrc_=!0,this.cache_.sources=n,this.updateSourceCaches_(n[0]),vn(this,n[0],function(t,i){var r,o;if(e.middleware_=i,e.cache_.sources=n,e.updateSourceCaches_(t),e.src_(t))return n.length>1?e.src(n.slice(1)):(e.changingSrc_=!1,e.setTimeout(function(){this.error({code:4,message:this.localize(this.options_.notSupportedMessage)})},0),void e.triggerReady());r=i,o=e.tech_,r.forEach(function(t){return t.setTech&&t.setTech(o)})})):this.setTimeout(function(){this.error({code:4,message:this.localize(this.options_.notSupportedMessage)})},0)},e.prototype.src_=function(t){var e,n,i=this,r=this.selectSource([t]);return!r||(e=r.tech,n=this.techName_,pe(e)!==pe(n)?(this.changingSrc_=!0,this.loadTech_(r.tech,r.source),this.tech_.ready(function(){i.changingSrc_=!1}),!1):(this.ready(function(){this.tech_.constructor.prototype.hasOwnProperty("setSource")?this.techCall_("setSource",t):this.techCall_("src",t.src),this.changingSrc_=!1},!0),!1))},e.prototype.load=function(){this.techCall_("load")},e.prototype.reset=function(){this.tech_&&this.tech_.clearTracks("text"),this.loadTech_(this.options_.techOrder[0],null),this.techCall_("reset")},e.prototype.currentSources=function(){var t=this.currentSource(),e=[];return 0!==Object.keys(t).length&&e.push(t),this.cache_.sources||e},e.prototype.currentSource=function(){return this.cache_.source||{}},e.prototype.currentSrc=function(){return this.currentSource()&&this.currentSource().src||""},e.prototype.currentType=function(){return this.currentSource()&&this.currentSource().type||""},e.prototype.preload=function(t){return void 0!==t?(this.techCall_("setPreload",t),void(this.options_.preload=t)):this.techGet_("preload")},e.prototype.autoplay=function(t){if(void 0===t)return this.options_.autoplay||!1;var e=void 0;"string"==typeof t&&/(any|play|muted)/.test(t)?(this.options_.autoplay=t,this.manualAutoplay_(t),e=!1):this.options_.autoplay=!!t,e=e||this.options_.autoplay,this.tech_&&this.techCall_("setAutoplay",e)},e.prototype.playsinline=function(t){return void 0!==t?(this.techCall_("setPlaysinline",t),this.options_.playsinline=t,this):this.techGet_("playsinline")},e.prototype.loop=function(t){return void 0!==t?(this.techCall_("setLoop",t),void(this.options_.loop=t)):this.techGet_("loop")},e.prototype.poster=function(t){if(void 0===t)return this.poster_;t||(t=""),t!==this.poster_&&(this.poster_=t,this.techCall_("setPoster",t),this.isPosterFromTech_=!1,this.trigger("posterchange"))},e.prototype.handleTechPosterChange_=function(){if((!this.poster_||this.options_.techCanOverridePoster)&&this.tech_&&this.tech_.poster){var t=this.tech_.poster()||"";t!==this.poster_&&(this.poster_=t,this.isPosterFromTech_=!0,this.trigger("posterchange"))}},e.prototype.controls=function(t){if(void 0===t)return!!this.controls_;t=!!t,this.controls_!==t&&(this.controls_=t,this.usingNativeControls()&&this.techCall_("setControls",t),this.controls_?(this.removeClass("vjs-controls-disabled"),this.addClass("vjs-controls-enabled"),this.trigger("controlsenabled"),this.usingNativeControls()||this.addTechControlsListeners_()):(this.removeClass("vjs-controls-enabled"),this.addClass("vjs-controls-disabled"),this.trigger("controlsdisabled"),this.usingNativeControls()||this.removeTechControlsListeners_()))},e.prototype.usingNativeControls=function(t){if(void 0===t)return!!this.usingNativeControls_;t=!!t,this.usingNativeControls_!==t&&(this.usingNativeControls_=t,this.usingNativeControls_?(this.addClass("vjs-using-native-controls"),this.trigger("usingnativecontrols")):(this.removeClass("vjs-using-native-controls"),this.trigger("usingcustomcontrols")))},e.prototype.error=function(t){return void 0===t?this.error_||null:null===t?(this.error_=t,this.removeClass("vjs-error"),void(this.errorDisplay&&this.errorDisplay.close())):(this.error_=new ke(t),this.addClass("vjs-error"),K.error("(CODE:"+this.error_.code+" "+ke.errorTypes[this.error_.code]+")",this.error_.message,this.error_),void this.trigger("error"))},e.prototype.reportUserActivity=function(t){this.userActivity_=!0},e.prototype.userActive=function(t){if(void 0===t)return this.userActive_;if((t=!!t)!==this.userActive_){if(this.userActive_=t,this.userActive_)return this.userActivity_=!0,this.removeClass("vjs-user-inactive"),this.addClass("vjs-user-active"),void this.trigger("useractive");this.tech_&&this.tech_.one("mousemove",function(t){t.stopPropagation(),t.preventDefault()}),this.userActivity_=!1,this.removeClass("vjs-user-active"),this.addClass("vjs-user-inactive"),this.trigger("userinactive")}},e.prototype.listenForUserActivity_=function(){var t=void 0,e=void 0,n=void 0,i=Jt(this,this.reportUserActivity);this.on("mousedown",function(){i(),this.clearInterval(t),t=this.setInterval(i,250)}),this.on("mousemove",function(t){t.screenX===e&&t.screenY===n||(e=t.screenX,n=t.screenY,i())}),this.on("mouseup",function(e){i(),this.clearInterval(t)}),this.on("keydown",i),this.on("keyup",i);var r=void 0;this.setInterval(function(){if(this.userActivity_){this.userActivity_=!1,this.userActive(!0),this.clearTimeout(r);var t=this.options_.inactivityTimeout;t<=0||(r=this.setTimeout(function(){this.userActivity_||this.userActive(!1)},t))}},250)},e.prototype.playbackRate=function(t){if(void 0===t)return this.tech_&&this.tech_.featuresPlaybackRate?this.cache_.lastPlaybackRate||this.techGet_("playbackRate"):1;this.techCall_("setPlaybackRate",t)},e.prototype.defaultPlaybackRate=function(t){return void 0!==t?this.techCall_("setDefaultPlaybackRate",t):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("defaultPlaybackRate"):1},e.prototype.isAudio=function(t){if(void 0===t)return!!this.isAudio_;this.isAudio_=!!t},e.prototype.addTextTrack=function(t,e,n){if(this.tech_)return this.tech_.addTextTrack(t,e,n)},e.prototype.addRemoteTextTrack=function(t,e){if(this.tech_)return this.tech_.addRemoteTextTrack(t,e)},e.prototype.removeRemoteTextTrack=function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).track,e=void 0===t?arguments[0]:t;if(this.tech_)return this.tech_.removeRemoteTextTrack(e)},e.prototype.getVideoPlaybackQuality=function(){return this.techGet_("getVideoPlaybackQuality")},e.prototype.videoWidth=function(){return this.tech_&&this.tech_.videoWidth&&this.tech_.videoWidth()||0},e.prototype.videoHeight=function(){return this.tech_&&this.tech_.videoHeight&&this.tech_.videoHeight()||0},e.prototype.language=function(t){if(void 0===t)return this.language_;this.language_=String(t).toLowerCase()},e.prototype.languages=function(){return Ae(e.prototype.options_.languages,this.languages_)},e.prototype.toJSON=function(){var t=Ae(this.options_),e=t.tracks;t.tracks=[];for(var n=0;n<e.length;n++){var i=e[n];(i=Ae(i)).player=void 0,t.tracks[n]=i}return t},e.prototype.createModal=function(t,e){var n=this;(e=e||{}).content=t||"";var i=new Fe(this,e);return this.addChild(i),i.on("dispose",function(){n.removeChild(i)}),i.open(),i},e.prototype.updateCurrentBreakpoint_=function(){if(this.responsive())for(var t=this.currentBreakpoint(),e=this.currentWidth(),n=0;n<sr.length;n++){var i=sr[n];if(e<=this.breakpoints_[i]){if(t===i)return;t&&this.removeClass(lr[t]),this.addClass(lr[i]),this.breakpoint_=i;break}}},e.prototype.removeCurrentBreakpoint_=function(){var t=this.currentBreakpointClass();this.breakpoint_="",t&&this.removeClass(t)},e.prototype.breakpoints=function(t){return void 0===t?V(this.breakpoints_):(this.breakpoint_="",this.breakpoints_=V({},cr,t),this.updateCurrentBreakpoint_(),V(this.breakpoints_))},e.prototype.responsive=function(t){return void 0===t?this.responsive_:(t=Boolean(t))!==this.responsive_?(this.responsive_=t,t?(this.on("playerresize",this.updateCurrentBreakpoint_),this.updateCurrentBreakpoint_()):(this.off("playerresize",this.updateCurrentBreakpoint_),this.removeCurrentBreakpoint_()),t):void 0},e.prototype.currentBreakpoint=function(){return this.breakpoint_},e.prototype.currentBreakpointClass=function(){return lr[this.breakpoint_]||""},e.getTagSettings=function(t){var e={sources:[],tracks:[]},n=dt(t),i=n["data-setup"];if(st(t,"vjs-fill")&&(n.fill=!0),st(t,"vjs-fluid")&&(n.fluid=!0),null!==i){var r=l(i||"{}"),o=r[0],a=r[1];o&&K.error(o),V(n,a)}if(V(e,n),t.hasChildNodes())for(var s=t.childNodes,c=0,u=s.length;c<u;c++){var h=s[c],d=h.nodeName.toLowerCase();"source"===d?e.sources.push(dt(h)):"track"===d&&e.tracks.push(dt(h))}return e},e.prototype.flexNotSupported_=function(){var t=a.createElement("i");return!("flexBasis"in t.style||"webkitFlexBasis"in t.style||"mozFlexBasis"in t.style||"msFlexBasis"in t.style||"msFlexOrder"in t.style)},e}(ge);dn.names.forEach(function(t){var e=dn[t];ur.prototype[e.getterName]=function(){return this.tech_?this.tech_[e.getterName]():(this[e.privateName]=this[e.privateName]||new e.ListClass,this[e.privateName])}}),ur.players={};var hr=o.navigator;ur.prototype.options_={techOrder:fn.defaultTechOrder_,html5:{},flash:{},inactivityTimeout:2e3,playbackRates:[],children:["mediaLoader","posterImage","textTrackDisplay","loadingSpinner","bigPlayButton","controlBar","errorDisplay","textTrackSettings"],language:hr&&(hr.languages&&hr.languages[0]||hr.userLanguage||hr.language)||"en",languages:{},notSupportedMessage:"No compatible source was found for this media.",breakpoints:{},responsive:!1},T||ur.prototype.options_.children.push("resizeManager"),["ended","seeking","seekable","networkState","readyState"].forEach(function(t){ur.prototype[t]=function(){return this.techGet_(t)}}),or.forEach(function(t){ur.prototype["handleTech"+pe(t)+"_"]=function(){return this.trigger(t)}}),ge.registerComponent("Player",ur);var dr={},fr=function(t){return dr.hasOwnProperty(t)},pr=function(t){return fr(t)?dr[t]:void 0},Ar=function(t,e){t.activePlugins_=t.activePlugins_||{},t.activePlugins_[e]=!0},gr=function(t,e,n){var i=(n?"before":"")+"pluginsetup";t.trigger(i,e),t.trigger(i+":"+e.name,e)},vr=function(t,e){return e.prototype.name=t,function(){gr(this,{name:t,plugin:e,instance:null},!0);for(var n=arguments.length,i=Array(n),r=0;r<n;r++)i[r]=arguments[r];var o=new(Function.prototype.bind.apply(e,[null].concat([this].concat(i))));return this[t]=function(){return o},gr(this,o.getEventHash()),o}},mr=function(){function t(e){if(P(this,t),this.constructor===t)throw new Error("Plugin must be sub-classed; not directly instantiated.");this.player=e,he(this),delete this.trigger,fe(this,this.constructor.defaultState),Ar(e,this.name),this.dispose=Jt(this,this.dispose),e.on("dispose",this.dispose)}return t.prototype.version=function(){return this.constructor.VERSION},t.prototype.getEventHash=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t.name=this.name,t.plugin=this.constructor,t.instance=this,t},t.prototype.trigger=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return zt(this.eventBusEl_,t,this.getEventHash(e))},t.prototype.handleStateChanged=function(t){},t.prototype.dispose=function(){var t=this.name,e=this.player;this.trigger("dispose"),this.off(),e.off("dispose",this.dispose),e.activePlugins_[t]=!1,this.player=this.state=null,e[t]=vr(t,dr[t])},t.isBasic=function(e){var n="string"==typeof e?pr(e):e;return"function"==typeof n&&!t.prototype.isPrototypeOf(n.prototype)},t.registerPlugin=function(e,n){if("string"!=typeof e)throw new Error('Illegal plugin name, "'+e+'", must be a string, was '+(void 0===e?"undefined":F(e))+".");if(fr(e))K.warn('A plugin named "'+e+'" already exists. You may want to avoid re-registering plugins!');else if(ur.prototype.hasOwnProperty(e))throw new Error('Illegal plugin name, "'+e+'", cannot share a name with an existing player method!');if("function"!=typeof n)throw new Error('Illegal plugin for "'+e+'", must be a function, was '+(void 0===n?"undefined":F(n))+".");return dr[e]=n,"plugin"!==e&&(t.isBasic(n)?ur.prototype[e]=function(t,e){var n=function(){gr(this,{name:t,plugin:e,instance:null},!0);var n=e.apply(this,arguments);return Ar(this,t),gr(this,{name:t,plugin:e,instance:n}),n};return Object.keys(e).forEach(function(t){n[t]=e[t]}),n}(e,n):ur.prototype[e]=vr(e,n)),n},t.deregisterPlugin=function(t){if("plugin"===t)throw new Error("Cannot de-register base plugin.");fr(t)&&(delete dr[t],delete ur.prototype[t])},t.getPlugins=function(){var t=void 0;return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:Object.keys(dr)).forEach(function(e){var n=pr(e);n&&((t=t||{})[e]=n)}),t},t.getPluginVersion=function(t){var e=pr(t);return e&&e.VERSION||""},t}();mr.getPlugin=pr,mr.BASE_PLUGIN_NAME="plugin",mr.registerPlugin("plugin",mr),ur.prototype.usingPlugin=function(t){return!!this.activePlugins_&&!0===this.activePlugins_[t]},ur.prototype.hasPlugin=function(t){return!!fr(t)};"undefined"==typeof HTMLVideoElement&&tt()&&(a.createElement("video"),a.createElement("audio"),a.createElement("track"),a.createElement("video-js"));var yr=function(t){return 0===t.indexOf("#")?t.slice(1):t};function br(t,e,n){var i=br.getPlayer(t);if(i)return e&&K.warn('Player "'+t+'" is already initialised. Options will not be applied.'),n&&i.ready(n),i;var r="string"==typeof t?kt("#"+yr(t)):t;if(!et(r))throw new TypeError("The element or ID supplied is not valid. (videojs)");a.body.contains(r)||K.warn("The element supplied is not included in the DOM"),e=e||{},br.hooks("beforesetup").forEach(function(t){var n=t(r,Ae(e));z(n)&&!Array.isArray(n)?e=Ae(e,n):K.error("please return an object in beforesetup hooks")});var o=ge.getComponent("Player");return i=new o(r,e,n),br.hooks("setup").forEach(function(t){return t(i)}),i}if(br.hooks_={},br.hooks=function(t,e){return br.hooks_[t]=br.hooks_[t]||[],e&&(br.hooks_[t]=br.hooks_[t].concat(e)),br.hooks_[t]},br.hook=function(t,e){br.hooks(t,e)},br.hookOnce=function(t,e){br.hooks(t,[].concat(e).map(function(e){return function n(){return br.removeHook(t,n),e.apply(void 0,arguments)}}))},br.removeHook=function(t,e){var n=br.hooks(t).indexOf(e);return!(n<=-1)&&(br.hooks_[t]=br.hooks_[t].slice(),br.hooks_[t].splice(n,1),!0)},!0!==o.VIDEOJS_NO_DYNAMIC_STYLE&&tt()){var _r=kt(".vjs-styles-defaults");if(!_r){_r=qt("vjs-styles-defaults");var wr=kt("head");wr&&wr.insertBefore(_r,wr.firstChild),Zt(_r,"\n .video-js {\n width: 300px;\n height: 150px;\n }\n\n .vjs-fluid {\n padding-top: 56.25%\n }\n ")}}Xt(1,br),br.VERSION=h,br.options=ur.prototype.options_,br.getPlayers=function(){return ur.players},br.getPlayer=function(t){var e=ur.players,n=void 0;if("string"==typeof t){var i=yr(t),r=e[i];if(r)return r;n=kt("#"+i)}else n=t;if(et(n)){var o=n,a=o.player,s=o.playerId;if(a||e[s])return a||e[s]}},br.getAllPlayers=function(){return Object.keys(ur.players).map(function(t){return ur.players[t]}).filter(Boolean)},br.players=ur.players,br.getComponent=ge.getComponent,br.registerComponent=function(t,e){fn.isTech(e)&&K.warn("The "+t+" tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)"),ge.registerComponent.call(ge,t,e)},br.getTech=fn.getTech,br.registerTech=fn.registerTech,br.use=function(t,e){pn[t]=pn[t]||[],pn[t].push(e)},!T&&Object.defineProperty?(Object.defineProperty(br,"middleware",{value:{},writeable:!1,enumerable:!0}),Object.defineProperty(br.middleware,"TERMINATOR",{value:gn,writeable:!1,enumerable:!0})):br.middleware={TERMINATOR:gn},br.browser=L,br.TOUCH_ENABLED=M,br.extend=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=function(){t.apply(this,arguments)},i={};for(var r in"object"===(void 0===e?"undefined":F(e))?(e.constructor!==Object.prototype.constructor&&(n=e.constructor),i=e):"function"==typeof e&&(n=e),function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":F(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(t.super_=e)}(n,t),i)i.hasOwnProperty(r)&&(n.prototype[r]=i[r]);return n},br.mergeOptions=Ae,br.bind=Jt,br.registerPlugin=mr.registerPlugin,br.deregisterPlugin=mr.deregisterPlugin,br.plugin=function(t,e){return K.warn("videojs.plugin() is deprecated; use videojs.registerPlugin() instead"),mr.registerPlugin(t,e)},br.getPlugins=mr.getPlugins,br.getPlugin=mr.getPlugin,br.getPluginVersion=mr.getPluginVersion,br.addLanguage=function(t,e){var n;return t=(""+t).toLowerCase(),br.options.languages=Ae(br.options.languages,((n={})[t]=e,n)),br.options.languages[t]},br.log=K,br.createLogger=Y,br.createTimeRange=br.createTimeRanges=ye,br.formatTime=Rn,br.setFormatTime=function(t){Un=t},br.resetFormatTime=function(){Un=jn},br.parseUrl=Xe,br.isCrossOrigin=Je,br.EventTarget=ne,br.on=Ht,br.one=$t,br.off=Vt,br.trigger=zt,br.xhr=c,br.TextTrack=rn,br.AudioTrack=on,br.VideoTrack=an,["isEl","isTextNode","createEl","hasClass","addClass","removeClass","toggleClass","setAttributes","getAttributes","emptyEl","appendContent","insertContent"].forEach(function(t){br[t]=function(){return K.warn("videojs."+t+"() is deprecated; use videojs.dom."+t+"() instead"),Ot[t].apply(null,arguments)}}),br.computedStyle=X,br.dom=Ot,br.url=tn,t.exports=br},DlMc:function(t,e,n){var i=n("gApy"),r=n("DtRx"),o=r;o.v1=i,o.v4=r,t.exports=o},DtRx:function(t,e,n){var i=n("i4uy"),r=n("MAlW");t.exports=function(t,e,n){var o=e&&n||0;"string"==typeof t&&(e="binary"===t?new Array(16):null,t=null);var a=(t=t||{}).random||(t.rng||i)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,e)for(var s=0;s<16;++s)e[o+s]=a[s];return e||r(a)}},DuR2:function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},DvOw:function(t,e){var n={"":!0,up:!0};function i(t){return"number"==typeof t&&t>=0&&t<=100}t.exports=function(){var t=100,e=3,r=0,o=100,a=0,s=100,l="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return t},set:function(e){if(!i(e))throw new Error("Width must be between 0 and 100.");t=e}},lines:{enumerable:!0,get:function(){return e},set:function(t){if("number"!=typeof t)throw new TypeError("Lines must be set to a number.");e=t}},regionAnchorY:{enumerable:!0,get:function(){return o},set:function(t){if(!i(t))throw new Error("RegionAnchorX must be between 0 and 100.");o=t}},regionAnchorX:{enumerable:!0,get:function(){return r},set:function(t){if(!i(t))throw new Error("RegionAnchorY must be between 0 and 100.");r=t}},viewportAnchorY:{enumerable:!0,get:function(){return s},set:function(t){if(!i(t))throw new Error("ViewportAnchorY must be between 0 and 100.");s=t}},viewportAnchorX:{enumerable:!0,get:function(){return a},set:function(t){if(!i(t))throw new Error("ViewportAnchorX must be between 0 and 100.");a=t}},scroll:{enumerable:!0,get:function(){return l},set:function(t){var e=function(t){return"string"==typeof t&&!!n[t.toLowerCase()]&&t.toLowerCase()}(t);if(!1===e)throw new SyntaxError("An invalid or illegal string was specified.");l=e}}})}},"E/in":function(t,e,n){"use strict";e.__esModule=!0,e.isDef=function(t){return void 0!==t&&null!==t},e.isKorean=function(t){return/([(\uAC00-\uD7AF)|(\u3130-\u318F)])+/gi.test(t)}},EAZf:function(t,e,n){var i;i=function(t,e){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.i=function(t){return t},n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=6)}([function(e,n){e.exports=t},function(t,e,n){"use strict";e.a=function t(){var e={};var n=!1;var i=0;var r=arguments.length;"[object Boolean]"===Object.prototype.toString.call(arguments[0])&&(n=arguments[0],i++);function o(i){for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n&&"[object Object]"===Object.prototype.toString.call(i[r])?e[r]=t(!0,e[r],i[r]):e[r]=i[r])}for(;i<r;i++){var a=arguments[i];o(a)}return e}},function(t,n){t.exports=e},function(t,e,n){"use strict";var i=n(0),r=n.n(i),o=n(1),a=n(2),s=n.n(a);e.a=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.images,i=void 0===e?[]:e,a=t.options,l=void 0===a?{}:a;l=n.i(o.a)(l,{inline:!1});var c=new(s.a.extend({render:function(t){return t("div",{style:{display:"none"},class:["__viewer-token"]},i.map(function(e){return t("img",{attrs:"string"==typeof e?{src:e}:e})}))}}));c.$mount(),document.body.appendChild(c.$el);var u=new r.a(c.$el,l),h=u.destroy.bind(u);return u.destroy=function(){return h(),c.$destroy(),document.body.removeChild(c.$el),u},u.show(),c.$el.addEventListener("hidden",function(){this.viewer===u&&u.destroy()}),u}},function(t,e,n){"use strict";(function(t){var i=n(0),r=n.n(i),o=n(7),a=(n.n(o),n(2)),s=n.n(a);e.a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.name,a=void 0===i?"viewer":i,l=e.debug,c=void 0!==l&&l;function u(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];s.a.nextTick(function(){i&&!function(t){var e=t.innerHTML.match(/<img([\w\W]+?)[\\/]?>/g),n=e?e.join(""):void 0;return t.__viewerImageDiffCache===n?(f("Element change detected, but image(s) has not changed"),!1):(f("Image change detected"),t.__viewerImageDiffCache=n,!0)}(t)||(n||!t["$"+a]?(h(t),t["$"+a]=new r.a(t,e),f("Viewer created")):(t["$"+a].update(),f("Viewer updated")))})}function h(t){t["$"+a]&&(t["$"+a].destroy(),delete t["$"+a],f("Viewer destroyed"))}function d(t){t.__viewerMutationObserver&&(t.__viewerMutationObserver.disconnect(),delete t.__viewerMutationObserver,f("Observer destroyed"))}function f(){var t;c&&(t=console).log.apply(t,arguments)}var p={bind:function(e,i,r){f("Viewer bind");var a=n.i(o.debounce)(50,u);a(e,i.value),function(t,e,n,i){var r=e.expression;r&&/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/.test(r)?(t.__viewerUnwatch=n.context.$watch(r,function(e,n){f("Change detected by watcher: ",r),i(t,e,!0)},{deep:!0}),f("Watcher created, expression: ",r)):f("Only simple dot-delimited paths can create watcher")}(e,i,r,a),i.modifiers.static||function(e,n,i,r){d(e);var o=t.MutationObserver||t.WebKitMutationObserver||t.MozMutationObserver;if(o){var a=new o(function(t){t.forEach(function(t){f("Viewer mutation:"+t.type),i(e,n,r,!0)})});a.observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),e.__viewerMutationObserver=a,f("Observer created")}else f("Observer not supported")}(e,i.value,a,i.modifiers.rebuild)},unbind:function(t,e){f("Viewer unbind"),d(t),function(t){t.__viewerUnwatch&&(t.__viewerUnwatch(),delete t.__viewerUnwatch,f("Watcher destroyed"))}(t),h(t)}};return p}}).call(e,n(9))},function(t,e,n){var i=n(10)(n(8),n(11),null,null);i.options.__file="/Volumes/public/Workspace/web/v-viewer/src/component.vue",i.esModule&&Object.keys(i.esModule).some(function(t){return"default"!==t&&"__esModule"!==t})&&console.error("named exports are not supported in *.vue files."),i.options.functional&&console.error("[vue-loader] component.vue: functional components are not supported with templates, they should use render functions."),t.exports=i.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),r=n(0),o=n.n(r),a=n(5),s=n.n(a),l=n(4),c=n(3);n.d(e,"component",function(){return s.a}),n.d(e,"directive",function(){return l.a}),n.d(e,"api",function(){return c.a}),n.d(e,"Viewer",function(){return o.a}),e.default={install:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.name,a=void 0===r?"viewer":r,u=e.debug,h=void 0!==u&&u,d=e.defaultOptions;o.a.setDefaults(d),t.component(a,n.i(i.a)(s.a,{name:a})),t.directive(a,n.i(l.a)({name:a,debug:h})),t.prototype["$"+a+"Api"]=c.a},setDefaults:function(t){o.a.setDefaults(t)}}},function(t,e,n){var i,r,o,a,s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};a=function(t){"use strict";function e(t,e,n,i){var r,o=!1,a=0;function s(){r&&clearTimeout(r)}function l(){for(var l=arguments.length,c=new Array(l),u=0;u<l;u++)c[u]=arguments[u];var h=this,d=Date.now()-a;function f(){a=Date.now(),n.apply(h,c)}o||(i&&!r&&f(),s(),void 0===i&&d>t?f():!0!==e&&(r=setTimeout(i?function(){r=void 0}:f,void 0===i?t-d:t)))}return"boolean"!=typeof e&&(i=n,n=e,e=void 0),l.cancel=function(){s(),o=!0},l}t.debounce=function(t,n,i){return void 0===i?e(t,n,!1):e(t,i,!1!==n)},t.throttle=e,Object.defineProperty(t,"__esModule",{value:!0})},"object"===s(e)&&void 0!==t?a(e):(r=[e],void 0===(o="function"==typeof(i=a)?i.apply(e,r):i)||(t.exports=o))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),r=n.n(i);e.default={props:{images:{type:Array},rebuild:{type:Boolean,default:!1},trigger:{},options:{type:Object}},data:function(){return{}},computed:{},methods:{onChange:function(){this.rebuild?this.rebuildViewer():this.updateViewer()},rebuildViewer:function(){this.destroyViewer(),this.createViewer()},updateViewer:function(){this.$viewer?(this.$viewer.update(),this.$emit("inited",this.$viewer)):this.createViewer()},destroyViewer:function(){this.$viewer&&this.$viewer.destroy()},createViewer:function(){this.$viewer=new r.a(this.$el,this.options),this.$emit("inited",this.$viewer)}},watch:{images:function(){var t=this;this.$nextTick(function(){t.onChange()})},trigger:{handler:function(){var t=this;this.$nextTick(function(){t.onChange()})},deep:!0},options:{handler:function(){var t=this;this.$nextTick(function(){t.rebuildViewer()})},deep:!0}},mounted:function(){this.createViewer()},destroyed:function(){this.destroyViewer()}}},function(t,e){var n,i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"===("undefined"==typeof window?"undefined":i(window))&&(n=window)}t.exports=n},function(t,e){t.exports=function(t,e,n,i){var r,o=t=t||{},a=typeof t.default;"object"!==a&&"function"!==a||(r=t,o=t.default);var s="function"==typeof o?o.options:o;if(e&&(s.render=e.render,s.staticRenderFns=e.staticRenderFns),n&&(s._scopeId=n),i){var l=Object.create(s.computed||null);Object.keys(i).forEach(function(t){var e=i[t];l[t]=function(){return e}}),s.computed=l}return{esModule:r,exports:o,options:s}}},function(t,e,n){t.exports={render:function(){var t=this.$createElement;return(this._self._c||t)("div",[this._t("default",null,{images:this.images,options:this.options})],2)},staticRenderFns:[]},t.exports.render._withStripped=!0}])},t.exports=i(n("IinW"),n("7+uW"))},EGZi:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},EKTV:function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=83)}({0:function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(t,e){return l.call(e),u(t,e)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:c}}n.d(e,"a",function(){return i})},4:function(t,e){t.exports=n("fPll")},83:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("label",{staticClass:"el-checkbox",class:[t.border&&t.checkboxSize?"el-checkbox--"+t.checkboxSize:"",{"is-disabled":t.isDisabled},{"is-bordered":t.border},{"is-checked":t.isChecked}],attrs:{id:t.id}},[n("span",{staticClass:"el-checkbox__input",class:{"is-disabled":t.isDisabled,"is-checked":t.isChecked,"is-indeterminate":t.indeterminate,"is-focus":t.focus},attrs:{tabindex:!!t.indeterminate&&0,role:!!t.indeterminate&&"checkbox","aria-checked":!!t.indeterminate&&"mixed"}},[n("span",{staticClass:"el-checkbox__inner"}),t.trueLabel||t.falseLabel?n("input",{directives:[{name:"model",rawName:"v-model",value:t.model,expression:"model"}],staticClass:"el-checkbox__original",attrs:{type:"checkbox","aria-hidden":t.indeterminate?"true":"false",name:t.name,disabled:t.isDisabled,"true-value":t.trueLabel,"false-value":t.falseLabel},domProps:{checked:Array.isArray(t.model)?t._i(t.model,null)>-1:t._q(t.model,t.trueLabel)},on:{change:[function(e){var n=t.model,i=e.target,r=i.checked?t.trueLabel:t.falseLabel;if(Array.isArray(n)){var o=t._i(n,null);i.checked?o<0&&(t.model=n.concat([null])):o>-1&&(t.model=n.slice(0,o).concat(n.slice(o+1)))}else t.model=r},t.handleChange],focus:function(e){t.focus=!0},blur:function(e){t.focus=!1}}}):n("input",{directives:[{name:"model",rawName:"v-model",value:t.model,expression:"model"}],staticClass:"el-checkbox__original",attrs:{type:"checkbox","aria-hidden":t.indeterminate?"true":"false",disabled:t.isDisabled,name:t.name},domProps:{value:t.label,checked:Array.isArray(t.model)?t._i(t.model,t.label)>-1:t.model},on:{change:[function(e){var n=t.model,i=e.target,r=!!i.checked;if(Array.isArray(n)){var o=t.label,a=t._i(n,o);i.checked?a<0&&(t.model=n.concat([o])):a>-1&&(t.model=n.slice(0,a).concat(n.slice(a+1)))}else t.model=r},t.handleChange],focus:function(e){t.focus=!0},blur:function(e){t.focus=!1}}})]),t.$slots.default||t.label?n("span",{staticClass:"el-checkbox__label"},[t._t("default"),t.$slots.default?t._e():[t._v(t._s(t.label))]],2):t._e()])};i._withStripped=!0;var r=n(4),o={name:"ElCheckbox",mixins:[n.n(r).a],inject:{elForm:{default:""},elFormItem:{default:""}},componentName:"ElCheckbox",data:function(){return{selfModel:!1,focus:!1,isLimitExceeded:!1}},computed:{model:{get:function(){return this.isGroup?this.store:void 0!==this.value?this.value:this.selfModel},set:function(t){this.isGroup?(this.isLimitExceeded=!1,void 0!==this._checkboxGroup.min&&t.length<this._checkboxGroup.min&&(this.isLimitExceeded=!0),void 0!==this._checkboxGroup.max&&t.length>this._checkboxGroup.max&&(this.isLimitExceeded=!0),!1===this.isLimitExceeded&&this.dispatch("ElCheckboxGroup","input",[t])):(this.$emit("input",t),this.selfModel=t)}},isChecked:function(){return"[object Boolean]"==={}.toString.call(this.model)?this.model:Array.isArray(this.model)?this.model.indexOf(this.label)>-1:null!==this.model&&void 0!==this.model?this.model===this.trueLabel:void 0},isGroup:function(){for(var t=this.$parent;t;){if("ElCheckboxGroup"===t.$options.componentName)return this._checkboxGroup=t,!0;t=t.$parent}return!1},store:function(){return this._checkboxGroup?this._checkboxGroup.value:this.value},isLimitDisabled:function(){var t=this._checkboxGroup,e=t.max,n=t.min;return!(!e&&!n)&&this.model.length>=e&&!this.isChecked||this.model.length<=n&&this.isChecked},isDisabled:function(){return this.isGroup?this._checkboxGroup.disabled||this.disabled||(this.elForm||{}).disabled||this.isLimitDisabled:this.disabled||(this.elForm||{}).disabled},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},checkboxSize:function(){var t=this.size||this._elFormItemSize||(this.$ELEMENT||{}).size;return this.isGroup&&this._checkboxGroup.checkboxGroupSize||t}},props:{value:{},label:{},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:String,trueLabel:[String,Number],falseLabel:[String,Number],id:String,controls:String,border:Boolean,size:String},methods:{addToStore:function(){Array.isArray(this.model)&&-1===this.model.indexOf(this.label)?this.model.push(this.label):this.model=this.trueLabel||!0},handleChange:function(t){var e=this;if(!this.isLimitExceeded){var n=void 0;n=t.target.checked?void 0===this.trueLabel||this.trueLabel:void 0!==this.falseLabel&&this.falseLabel,this.$emit("change",n,t),this.$nextTick(function(){e.isGroup&&e.dispatch("ElCheckboxGroup","change",[e._checkboxGroup.value])})}}},created:function(){this.checked&&this.addToStore()},mounted:function(){this.indeterminate&&this.$el.setAttribute("aria-controls",this.controls)},watch:{value:function(t){this.dispatch("ElFormItem","el.form.change",t)}}},a=n(0),s=Object(a.a)(o,i,[],!1,null,null,null);s.options.__file="packages/checkbox/src/checkbox.vue";var l=s.exports;l.install=function(t){t.component(l.name,l)};e.default=l}})},EKta:function(t,e,n){"use strict";e.byteLength=function(t){var e=c(t),n=e[0],i=e[1];return 3*(n+i)/4-i},e.toByteArray=function(t){var e,n,i=c(t),a=i[0],s=i[1],l=new o(function(t,e,n){return 3*(e+n)/4-n}(0,a,s)),u=0,h=s>0?a-4:a;for(n=0;n<h;n+=4)e=r[t.charCodeAt(n)]<<18|r[t.charCodeAt(n+1)]<<12|r[t.charCodeAt(n+2)]<<6|r[t.charCodeAt(n+3)],l[u++]=e>>16&255,l[u++]=e>>8&255,l[u++]=255&e;2===s&&(e=r[t.charCodeAt(n)]<<2|r[t.charCodeAt(n+1)]>>4,l[u++]=255&e);1===s&&(e=r[t.charCodeAt(n)]<<10|r[t.charCodeAt(n+1)]<<4|r[t.charCodeAt(n+2)]>>2,l[u++]=e>>8&255,l[u++]=255&e);return l},e.fromByteArray=function(t){for(var e,n=t.length,r=n%3,o=[],a=0,s=n-r;a<s;a+=16383)o.push(u(t,a,a+16383>s?s:a+16383));1===r?(e=t[n-1],o.push(i[e>>2]+i[e<<4&63]+"==")):2===r&&(e=(t[n-2]<<8)+t[n-1],o.push(i[e>>10]+i[e>>4&63]+i[e<<2&63]+"="));return o.join("")};for(var i=[],r=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=a.length;s<l;++s)i[s]=a[s],r[a.charCodeAt(s)]=s;function c(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function u(t,e,n){for(var r,o,a=[],s=e;s<n;s+=3)r=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(255&t[s+2]),a.push(i[(o=r)>>18&63]+i[o>>12&63]+i[o>>6&63]+i[63&o]);return a.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},EL1N:function(t,e,n){"use strict";var i=n("+N5+").normalizeReference,r=n("+N5+").isSpace;t.exports=function(t,e){var n,o,a,s,l,c,u,h,d="",f="",p=t.pos,A=t.posMax,g=t.pos,v=!0;if(91!==t.src.charCodeAt(t.pos))return!1;if(l=t.pos+1,(s=t.md.helpers.parseLinkLabel(t,t.pos,!0))<0)return!1;if((c=s+1)<A&&40===t.src.charCodeAt(c)){for(v=!1,c++;c<A&&(o=t.src.charCodeAt(c),r(o)||10===o);c++);if(c>=A)return!1;if(g=c,(u=t.md.helpers.parseLinkDestination(t.src,c,t.posMax)).ok){for(d=t.md.normalizeLink(u.str),t.md.validateLink(d)?c=u.pos:d="",g=c;c<A&&(o=t.src.charCodeAt(c),r(o)||10===o);c++);if(u=t.md.helpers.parseLinkTitle(t.src,c,t.posMax),c<A&&g!==c&&u.ok)for(f=u.str,c=u.pos;c<A&&(o=t.src.charCodeAt(c),r(o)||10===o);c++);}(c>=A||41!==t.src.charCodeAt(c))&&(v=!0),c++}if(v){if(void 0===t.env.references)return!1;if(c<A&&91===t.src.charCodeAt(c)?(g=c+1,(c=t.md.helpers.parseLinkLabel(t,c))>=0?a=t.src.slice(g,c++):c=s+1):c=s+1,a||(a=t.src.slice(l,s)),!(h=t.env.references[i(a)]))return t.pos=p,!1;d=h.href,f=h.title}return e||(t.pos=l,t.posMax=s,t.push("link_open","a",1).attrs=n=[["href",d]],f&&n.push(["title",f]),t.linkLevel++,t.md.inline.tokenize(t),t.linkLevel--,t.push("link_close","a",-1)),t.pos=c,t.posMax=A,!0}},EqBC:function(t,e,n){"use strict";var i=n("kM2E"),r=n("FeBl"),o=n("7KvD"),a=n("t8x9"),s=n("fJUb");i(i.P+i.R,"Promise",{finally:function(t){var e=a(this,r.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then(function(){return n})}:t,n?function(n){return s(e,t()).then(function(){throw n})}:t)}})},EqjI:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},EuP9:function(t,e,n){"use strict";(function(t){
  25. /*!
  26. * The buffer module from node.js, for the browser.
  27. *
  28. * @author Feross Aboukhadijeh <http://feross.org>
  29. * @license MIT
  30. */
  31. var i=n("EKta"),r=n("ujcs"),o=n("sOR5");function a(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(t,e){if(a()<e)throw new RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=l.prototype:(null===t&&(t=new l(e)),t.length=e),t}function l(t,e,n){if(!(l.TYPED_ARRAY_SUPPORT||this instanceof l))return new l(t,e,n);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return h(this,t)}return c(this,t,e,n)}function c(t,e,n,i){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,n,i){if(e.byteLength,n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(i||0))throw new RangeError("'length' is out of bounds");e=void 0===n&&void 0===i?new Uint8Array(e):void 0===i?new Uint8Array(e,n):new Uint8Array(e,n,i);l.TYPED_ARRAY_SUPPORT?(t=e).__proto__=l.prototype:t=d(t,e);return t}(t,e,n,i):"string"==typeof e?function(t,e,n){"string"==typeof n&&""!==n||(n="utf8");if(!l.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var i=0|p(e,n),r=(t=s(t,i)).write(e,n);r!==i&&(t=t.slice(0,r));return t}(t,e,n):function(t,e){if(l.isBuffer(e)){var n=0|f(e.length);return 0===(t=s(t,n)).length?t:(e.copy(t,0,0,n),t)}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(i=e.length)!=i?s(t,0):d(t,e);if("Buffer"===e.type&&o(e.data))return d(t,e.data)}var i;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function u(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function h(t,e){if(u(e),t=s(t,e<0?0:0|f(e)),!l.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function d(t,e){var n=e.length<0?0:0|f(e.length);t=s(t,n);for(var i=0;i<n;i+=1)t[i]=255&e[i];return t}function f(t){if(t>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|t}function p(t,e){if(l.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return R(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Q(t).length;default:if(i)return R(t).length;e=(""+e).toLowerCase(),i=!0}}function A(t,e,n){var i=t[e];t[e]=t[n],t[n]=i}function g(t,e,n,i,r){if(0===t.length)return-1;if("string"==typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(r)return-1;n=t.length-1}else if(n<0){if(!r)return-1;n=0}if("string"==typeof e&&(e=l.from(e,i)),l.isBuffer(e))return 0===e.length?-1:v(t,e,n,i,r);if("number"==typeof e)return e&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):v(t,[e],n,i,r);throw new TypeError("val must be string, number or Buffer")}function v(t,e,n,i,r){var o,a=1,s=t.length,l=e.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(t.length<2||e.length<2)return-1;a=2,s/=2,l/=2,n/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(r){var u=-1;for(o=n;o<s;o++)if(c(t,o)===c(e,-1===u?0:o-u)){if(-1===u&&(u=o),o-u+1===l)return u*a}else-1!==u&&(o-=o-u),u=-1}else for(n+l>s&&(n=s-l),o=n;o>=0;o--){for(var h=!0,d=0;d<l;d++)if(c(t,o+d)!==c(e,d)){h=!1;break}if(h)return o}return-1}function m(t,e,n,i){n=Number(n)||0;var r=t.length-n;i?(i=Number(i))>r&&(i=r):i=r;var o=e.length;if(o%2!=0)throw new TypeError("Invalid hex string");i>o/2&&(i=o/2);for(var a=0;a<i;++a){var s=parseInt(e.substr(2*a,2),16);if(isNaN(s))return a;t[n+a]=s}return a}function y(t,e,n,i){return H(R(e,t.length-n),t,n,i)}function b(t,e,n,i){return H(function(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}(e),t,n,i)}function _(t,e,n,i){return b(t,e,n,i)}function w(t,e,n,i){return H(Q(e),t,n,i)}function x(t,e,n,i){return H(function(t,e){for(var n,i,r,o=[],a=0;a<t.length&&!((e-=2)<0);++a)n=t.charCodeAt(a),i=n>>8,r=n%256,o.push(r),o.push(i);return o}(e,t.length-n),t,n,i)}function C(t,e,n){return 0===e&&n===t.length?i.fromByteArray(t):i.fromByteArray(t.slice(e,n))}function S(t,e,n){n=Math.min(t.length,n);for(var i=[],r=e;r<n;){var o,a,s,l,c=t[r],u=null,h=c>239?4:c>223?3:c>191?2:1;if(r+h<=n)switch(h){case 1:c<128&&(u=c);break;case 2:128==(192&(o=t[r+1]))&&(l=(31&c)<<6|63&o)>127&&(u=l);break;case 3:o=t[r+1],a=t[r+2],128==(192&o)&&128==(192&a)&&(l=(15&c)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:o=t[r+1],a=t[r+2],s=t[r+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(l=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(u=l)}null===u?(u=65533,h=1):u>65535&&(u-=65536,i.push(u>>>10&1023|55296),u=56320|1023&u),i.push(u),r+=h}return function(t){var e=t.length;if(e<=B)return String.fromCharCode.apply(String,t);var n="",i=0;for(;i<e;)n+=String.fromCharCode.apply(String,t.slice(i,i+=B));return n}(i)}e.Buffer=l,e.SlowBuffer=function(t){+t!=t&&(t=0);return l.alloc(+t)},e.INSPECT_MAX_BYTES=50,l.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),e.kMaxLength=a(),l.poolSize=8192,l._augment=function(t){return t.__proto__=l.prototype,t},l.from=function(t,e,n){return c(null,t,e,n)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(t,e,n){return function(t,e,n,i){return u(e),e<=0?s(t,e):void 0!==n?"string"==typeof i?s(t,e).fill(n,i):s(t,e).fill(n):s(t,e)}(null,t,e,n)},l.allocUnsafe=function(t){return h(null,t)},l.allocUnsafeSlow=function(t){return h(null,t)},l.isBuffer=function(t){return!(null==t||!t._isBuffer)},l.compare=function(t,e){if(!l.isBuffer(t)||!l.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,i=e.length,r=0,o=Math.min(n,i);r<o;++r)if(t[r]!==e[r]){n=t[r],i=e[r];break}return n<i?-1:i<n?1:0},l.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(t,e){if(!o(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return l.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var i=l.allocUnsafe(e),r=0;for(n=0;n<t.length;++n){var a=t[n];if(!l.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(i,r),r+=a.length}return i},l.byteLength=p,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)A(this,e,e+1);return this},l.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)A(this,e,e+3),A(this,e+1,e+2);return this},l.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)A(this,e,e+7),A(this,e+1,e+6),A(this,e+2,e+5),A(this,e+3,e+4);return this},l.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?S(this,0,t):function(t,e,n){var i=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return O(this,e,n);case"utf8":case"utf-8":return S(this,e,n);case"ascii":return k(this,e,n);case"latin1":case"binary":return T(this,e,n);case"base64":return C(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,n);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}.apply(this,arguments)},l.prototype.equals=function(t){if(!l.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===l.compare(this,t)},l.prototype.inspect=function(){var t="",n=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),"<Buffer "+t+">"},l.prototype.compare=function(t,e,n,i,r){if(!l.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),e<0||n>t.length||i<0||r>this.length)throw new RangeError("out of range index");if(i>=r&&e>=n)return 0;if(i>=r)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,r>>>=0,this===t)return 0;for(var o=r-i,a=n-e,s=Math.min(o,a),c=this.slice(i,r),u=t.slice(e,n),h=0;h<s;++h)if(c[h]!==u[h]){o=c[h],a=u[h];break}return o<a?-1:a<o?1:0},l.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},l.prototype.indexOf=function(t,e,n){return g(this,t,e,n,!0)},l.prototype.lastIndexOf=function(t,e,n){return g(this,t,e,n,!1)},l.prototype.write=function(t,e,n,i){if(void 0===e)i="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)i=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(n)?(n|=0,void 0===i&&(i="utf8")):(i=n,n=void 0)}var r=this.length-e;if((void 0===n||n>r)&&(n=r),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return m(this,t,e,n);case"utf8":case"utf-8":return y(this,t,e,n);case"ascii":return b(this,t,e,n);case"latin1":case"binary":return _(this,t,e,n);case"base64":return w(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var B=4096;function k(t,e,n){var i="";n=Math.min(t.length,n);for(var r=e;r<n;++r)i+=String.fromCharCode(127&t[r]);return i}function T(t,e,n){var i="";n=Math.min(t.length,n);for(var r=e;r<n;++r)i+=String.fromCharCode(t[r]);return i}function O(t,e,n){var i=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>i)&&(n=i);for(var r="",o=e;o<n;++o)r+=U(t[o]);return r}function E(t,e,n){for(var i=t.slice(e,n),r="",o=0;o<i.length;o+=2)r+=String.fromCharCode(i[o]+256*i[o+1]);return r}function I(t,e,n){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function M(t,e,n,i,r,o){if(!l.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||e<o)throw new RangeError('"value" argument is out of bounds');if(n+i>t.length)throw new RangeError("Index out of range")}function D(t,e,n,i){e<0&&(e=65535+e+1);for(var r=0,o=Math.min(t.length-n,2);r<o;++r)t[n+r]=(e&255<<8*(i?r:1-r))>>>8*(i?r:1-r)}function L(t,e,n,i){e<0&&(e=4294967295+e+1);for(var r=0,o=Math.min(t.length-n,4);r<o;++r)t[n+r]=e>>>8*(i?r:3-r)&255}function F(t,e,n,i,r,o){if(n+i>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function P(t,e,n,i,o){return o||F(t,0,n,4),r.write(t,e,n,i,23,4),n+4}function N(t,e,n,i,o){return o||F(t,0,n,8),r.write(t,e,n,i,52,8),n+8}l.prototype.slice=function(t,e){var n,i=this.length;if(t=~~t,e=void 0===e?i:~~e,t<0?(t+=i)<0&&(t=0):t>i&&(t=i),e<0?(e+=i)<0&&(e=0):e>i&&(e=i),e<t&&(e=t),l.TYPED_ARRAY_SUPPORT)(n=this.subarray(t,e)).__proto__=l.prototype;else{var r=e-t;n=new l(r,void 0);for(var o=0;o<r;++o)n[o]=this[o+t]}return n},l.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||I(t,e,this.length);for(var i=this[t],r=1,o=0;++o<e&&(r*=256);)i+=this[t+o]*r;return i},l.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||I(t,e,this.length);for(var i=this[t+--e],r=1;e>0&&(r*=256);)i+=this[t+--e]*r;return i},l.prototype.readUInt8=function(t,e){return e||I(t,1,this.length),this[t]},l.prototype.readUInt16LE=function(t,e){return e||I(t,2,this.length),this[t]|this[t+1]<<8},l.prototype.readUInt16BE=function(t,e){return e||I(t,2,this.length),this[t]<<8|this[t+1]},l.prototype.readUInt32LE=function(t,e){return e||I(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},l.prototype.readUInt32BE=function(t,e){return e||I(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},l.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||I(t,e,this.length);for(var i=this[t],r=1,o=0;++o<e&&(r*=256);)i+=this[t+o]*r;return i>=(r*=128)&&(i-=Math.pow(2,8*e)),i},l.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||I(t,e,this.length);for(var i=e,r=1,o=this[t+--i];i>0&&(r*=256);)o+=this[t+--i]*r;return o>=(r*=128)&&(o-=Math.pow(2,8*e)),o},l.prototype.readInt8=function(t,e){return e||I(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},l.prototype.readInt16LE=function(t,e){e||I(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(t,e){e||I(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(t,e){return e||I(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},l.prototype.readInt32BE=function(t,e){return e||I(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},l.prototype.readFloatLE=function(t,e){return e||I(t,4,this.length),r.read(this,t,!0,23,4)},l.prototype.readFloatBE=function(t,e){return e||I(t,4,this.length),r.read(this,t,!1,23,4)},l.prototype.readDoubleLE=function(t,e){return e||I(t,8,this.length),r.read(this,t,!0,52,8)},l.prototype.readDoubleBE=function(t,e){return e||I(t,8,this.length),r.read(this,t,!1,52,8)},l.prototype.writeUIntLE=function(t,e,n,i){(t=+t,e|=0,n|=0,i)||M(this,t,e,n,Math.pow(2,8*n)-1,0);var r=1,o=0;for(this[e]=255&t;++o<n&&(r*=256);)this[e+o]=t/r&255;return e+n},l.prototype.writeUIntBE=function(t,e,n,i){(t=+t,e|=0,n|=0,i)||M(this,t,e,n,Math.pow(2,8*n)-1,0);var r=n-1,o=1;for(this[e+r]=255&t;--r>=0&&(o*=256);)this[e+r]=t/o&255;return e+n},l.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,1,255,0),l.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},l.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):D(this,t,e,!0),e+2},l.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):D(this,t,e,!1),e+2},l.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):L(this,t,e,!0),e+4},l.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):L(this,t,e,!1),e+4},l.prototype.writeIntLE=function(t,e,n,i){if(t=+t,e|=0,!i){var r=Math.pow(2,8*n-1);M(this,t,e,n,r-1,-r)}var o=0,a=1,s=0;for(this[e]=255&t;++o<n&&(a*=256);)t<0&&0===s&&0!==this[e+o-1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+n},l.prototype.writeIntBE=function(t,e,n,i){if(t=+t,e|=0,!i){var r=Math.pow(2,8*n-1);M(this,t,e,n,r-1,-r)}var o=n-1,a=1,s=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+n},l.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,1,127,-128),l.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},l.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):D(this,t,e,!0),e+2},l.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):D(this,t,e,!1),e+2},l.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):L(this,t,e,!0),e+4},l.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||M(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):L(this,t,e,!1),e+4},l.prototype.writeFloatLE=function(t,e,n){return P(this,t,e,!0,n)},l.prototype.writeFloatBE=function(t,e,n){return P(this,t,e,!1,n)},l.prototype.writeDoubleLE=function(t,e,n){return N(this,t,e,!0,n)},l.prototype.writeDoubleBE=function(t,e,n){return N(this,t,e,!1,n)},l.prototype.copy=function(t,e,n,i){if(n||(n=0),i||0===i||(i=this.length),e>=t.length&&(e=t.length),e||(e=0),i>0&&i<n&&(i=n),i===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-e<i-n&&(i=t.length-e+n);var r,o=i-n;if(this===t&&n<e&&e<i)for(r=o-1;r>=0;--r)t[r+e]=this[r+n];else if(o<1e3||!l.TYPED_ARRAY_SUPPORT)for(r=0;r<o;++r)t[r+e]=this[r+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+o),e);return o},l.prototype.fill=function(t,e,n,i){if("string"==typeof t){if("string"==typeof e?(i=e,e=0,n=this.length):"string"==typeof n&&(i=n,n=this.length),1===t.length){var r=t.charCodeAt(0);r<256&&(t=r)}if(void 0!==i&&"string"!=typeof i)throw new TypeError("encoding must be a string");if("string"==typeof i&&!l.isEncoding(i))throw new TypeError("Unknown encoding: "+i)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;var o;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(o=e;o<n;++o)this[o]=t;else{var a=l.isBuffer(t)?t:R(new l(t,i).toString()),s=a.length;for(o=0;o<n-e;++o)this[o+e]=a[o%s]}return this};var j=/[^+\/0-9A-Za-z-_]/g;function U(t){return t<16?"0"+t.toString(16):t.toString(16)}function R(t,e){var n;e=e||1/0;for(var i=t.length,r=null,o=[],a=0;a<i;++a){if((n=t.charCodeAt(a))>55295&&n<57344){if(!r){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===i){(e-=3)>-1&&o.push(239,191,189);continue}r=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(e-=3)>-1&&o.push(239,191,189);if(r=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function Q(t){return i.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(j,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function H(t,e,n,i){for(var r=0;r<i&&!(r+n>=e.length||r>=t.length);++r)e[r+n]=t[r];return r}}).call(e,n("DuR2"))},FCB1:function(t,e,n){"use strict";t.exports=function(t,e,n){var i,r,o,a,s,l,c=e+1,u=t.md.block.ruler.getRules("paragraph");for(l=t.parentType,t.parentType="paragraph";c<n&&!t.isEmpty(c);c++)if(!(t.sCount[c]-t.blkIndent>3||t.sCount[c]<0)){for(r=!1,o=0,a=u.length;o<a;o++)if(u[o](t,c,n,!0)){r=!0;break}if(r)break}return i=t.getLines(e,c,t.blkIndent,!1).trim(),t.line=c,(s=t.push("paragraph_open","p",1)).map=[e,t.line],(s=t.push("inline","",0)).content=i,s.map=[e,t.line],s.children=[],s=t.push("paragraph_close","p",-1),t.parentType=l,!0}},FeBl:function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},FtD3:function(t,e,n){"use strict";var i=n("t8qj");t.exports=function(t,e,n,r,o){var a=new Error(t);return i(a,e,n,r,o)}},GHBc:function(t,e,n){"use strict";var i=n("cGG2");t.exports=i.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(t){var i=t;return e&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=r(window.location.href),function(e){var n=i.isString(e)?r(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},GegP:function(t,e){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=119)}({0:function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(t,e){return l.call(e),u(t,e)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:c}}n.d(e,"a",function(){return i})},119:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"el-progress",class:["el-progress--"+t.type,t.status?"is-"+t.status:"",{"el-progress--without-text":!t.showText,"el-progress--text-inside":t.textInside}],attrs:{role:"progressbar","aria-valuenow":t.percentage,"aria-valuemin":"0","aria-valuemax":"100"}},["line"===t.type?n("div",{staticClass:"el-progress-bar"},[n("div",{staticClass:"el-progress-bar__outer",style:{height:t.strokeWidth+"px"}},[n("div",{staticClass:"el-progress-bar__inner",style:t.barStyle},[t.showText&&t.textInside?n("div",{staticClass:"el-progress-bar__innerText"},[t._v(t._s(t.content))]):t._e()])])]):n("div",{staticClass:"el-progress-circle",style:{height:t.width+"px",width:t.width+"px"}},[n("svg",{attrs:{viewBox:"0 0 100 100"}},[n("path",{staticClass:"el-progress-circle__track",style:t.trailPathStyle,attrs:{d:t.trackPath,stroke:"#e5e9f2","stroke-width":t.relativeStrokeWidth,fill:"none"}}),n("path",{staticClass:"el-progress-circle__path",style:t.circlePathStyle,attrs:{d:t.trackPath,stroke:t.stroke,fill:"none","stroke-linecap":t.strokeLinecap,"stroke-width":t.percentage?t.relativeStrokeWidth:0}})])]),t.showText&&!t.textInside?n("div",{staticClass:"el-progress__text",style:{fontSize:t.progressTextSize+"px"}},[t.status?n("i",{class:t.iconClass}):[t._v(t._s(t.content))]],2):t._e()])};i._withStripped=!0;var r={name:"ElProgress",props:{type:{type:String,default:"line",validator:function(t){return["line","circle","dashboard"].indexOf(t)>-1}},percentage:{type:Number,default:0,required:!0,validator:function(t){return t>=0&&t<=100}},status:{type:String,validator:function(t){return["success","exception","warning"].indexOf(t)>-1}},strokeWidth:{type:Number,default:6},strokeLinecap:{type:String,default:"round"},textInside:{type:Boolean,default:!1},width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:[String,Array,Function],default:""},format:Function},computed:{barStyle:function(){var t={};return t.width=this.percentage+"%",t.backgroundColor=this.getCurrentColor(this.percentage),t},relativeStrokeWidth:function(){return(this.strokeWidth/this.width*100).toFixed(1)},radius:function(){return"circle"===this.type||"dashboard"===this.type?parseInt(50-parseFloat(this.relativeStrokeWidth)/2,10):0},trackPath:function(){var t=this.radius,e="dashboard"===this.type;return"\n M 50 50\n m 0 "+(e?"":"-")+t+"\n a "+t+" "+t+" 0 1 1 0 "+(e?"-":"")+2*t+"\n a "+t+" "+t+" 0 1 1 0 "+(e?"":"-")+2*t+"\n "},perimeter:function(){return 2*Math.PI*this.radius},rate:function(){return"dashboard"===this.type?.75:1},strokeDashoffset:function(){return-1*this.perimeter*(1-this.rate)/2+"px"},trailPathStyle:function(){return{strokeDasharray:this.perimeter*this.rate+"px, "+this.perimeter+"px",strokeDashoffset:this.strokeDashoffset}},circlePathStyle:function(){return{strokeDasharray:this.perimeter*this.rate*(this.percentage/100)+"px, "+this.perimeter+"px",strokeDashoffset:this.strokeDashoffset,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease"}},stroke:function(){var t=void 0;if(this.color)t=this.getCurrentColor(this.percentage);else switch(this.status){case"success":t="#13ce66";break;case"exception":t="#ff4949";break;case"warning":t="#e6a23c";break;default:t="#20a0ff"}return t},iconClass:function(){return"warning"===this.status?"el-icon-warning":"line"===this.type?"success"===this.status?"el-icon-circle-check":"el-icon-circle-close":"success"===this.status?"el-icon-check":"el-icon-close"},progressTextSize:function(){return"line"===this.type?12+.4*this.strokeWidth:.111111*this.width+2},content:function(){return"function"==typeof this.format?this.format(this.percentage)||"":this.percentage+"%"}},methods:{getCurrentColor:function(t){return"function"==typeof this.color?this.color(t):"string"==typeof this.color?this.color:this.getLevelColor(t)},getLevelColor:function(t){for(var e=this.getColorArray().sort(function(t,e){return t.percentage-e.percentage}),n=0;n<e.length;n++)if(e[n].percentage>t)return e[n].color;return e[e.length-1].color},getColorArray:function(){var t=this.color,e=100/t.length;return t.map(function(t,n){return"string"==typeof t?{color:t,percentage:(n+1)*e}:t})}}},o=n(0),a=Object(o.a)(r,i,[],!1,null,null,null);a.options.__file="packages/progress/src/progress.vue";var s=a.exports;s.install=function(t){t.component(s.name,s)};e.default=s}})},GmDp:function(t,e,n){"use strict";function i(t){var e,n,i,r,o,a,s,l,c={},u=t.length;if(u){var h=0,d=-2,f=[];for(e=0;e<u;e++)if(i=t[e],f.push(0),t[h].marker===i.marker&&d===i.token-1||(h=e),d=i.token,i.length=i.length||0,i.close){for(c.hasOwnProperty(i.marker)||(c[i.marker]=[-1,-1,-1,-1,-1,-1]),o=c[i.marker][(i.open?3:0)+i.length%3],a=n=h-f[h]-1;n>o;n-=f[n]+1)if((r=t[n]).marker===i.marker&&r.open&&r.end<0&&(s=!1,(r.close||i.open)&&(r.length+i.length)%3==0&&(r.length%3==0&&i.length%3==0||(s=!0)),!s)){l=n>0&&!t[n-1].open?f[n-1]+1:0,f[e]=e-n+l,f[n]=l,i.open=!1,r.end=e,r.close=!1,a=-1,d=-2;break}-1!==a&&(c[i.marker][(i.open?3:0)+(i.length||0)%3]=a)}}}t.exports=function(t){var e,n=t.tokens_meta,r=t.tokens_meta.length;for(i(t.delimiters),e=0;e<r;e++)n[e]&&n[e].delimiters&&i(n[e].delimiters)}},Gu7T:function(t,e,n){"use strict";e.__esModule=!0;var i,r=n("c/Tr"),o=(i=r)&&i.__esModule?i:{default:i};e.default=function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return(0,o.default)(t)}},GybJ:function(t,e,n){var i="function"==typeof Map&&Map.prototype,r=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=i&&r&&"function"==typeof r.get?r.get:null,a=i&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=s&&l&&"function"==typeof l.get?l.get:null,u=s&&Set.prototype.forEach,h="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,d="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,f=Boolean.prototype.valueOf,p=Object.prototype.toString,A=Function.prototype.toString,g=String.prototype.match,v="function"==typeof BigInt?BigInt.prototype.valueOf:null,m=Object.getOwnPropertySymbols,y="function"==typeof Symbol?Symbol.prototype.toString:null,b=Object.prototype.propertyIsEnumerable,_=n(0).custom,w=_&&B(_)?_:null;function x(t,e,n){var i="double"===(n.quoteStyle||e)?'"':"'";return i+t+i}function C(t){return String(t).replace(/"/g,"&quot;")}function S(t){return"[object Array]"===O(t)}function B(t){return"[object Symbol]"===O(t)}t.exports=function t(e,n,i,r){var s=n||{};if(T(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(T(s,"maxStringLength")&&("number"==typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var l=!T(s,"customInspect")||s.customInspect;if("boolean"!=typeof l)throw new TypeError('option "customInspect", if provided, must be `true` or `false`');if(T(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return function t(e,n){if(e.length>n.maxStringLength){var i=e.length-n.maxStringLength,r="... "+i+" more character"+(i>1?"s":"");return t(e.slice(0,n.maxStringLength),n)+r}var o=e.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,I);return x(o,"single",n)}(e,s);if("number"==typeof e)return 0===e?1/0/e>0?"0":"-0":String(e);if("bigint"==typeof e)return String(e)+"n";var p=void 0===s.depth?5:s.depth;if(void 0===i&&(i=0),i>=p&&p>0&&"object"==typeof e)return S(e)?"[Array]":"[Object]";var m=function(t,e){var n;if("\t"===t.indent)n="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;n=Array(t.indent+1).join(" ")}return{base:n,prev:Array(e+1).join(n)}}(s,i);if(void 0===r)r=[];else if(E(r,e)>=0)return"[Circular]";function b(e,n,o){if(n&&(r=r.slice()).push(n),o){var a={depth:s.depth};return T(s,"quoteStyle")&&(a.quoteStyle=s.quoteStyle),t(e,a,i+1,r)}return t(e,s,i+1,r)}if("function"==typeof e){var _=function(t){if(t.name)return t.name;var e=g.call(A.call(t),/^function\s*([\w$]+)/);if(e)return e[1];return null}(e),k=P(e,b);return"[Function"+(_?": "+_:" (anonymous)")+"]"+(k.length>0?" { "+k.join(", ")+" }":"")}if(B(e)){var N=y.call(e);return"object"==typeof e?M(N):N}if(function(t){if(!t||"object"!=typeof t)return!1;if("undefined"!=typeof HTMLElement&&t instanceof HTMLElement)return!0;return"string"==typeof t.nodeName&&"function"==typeof t.getAttribute}(e)){for(var j="<"+String(e.nodeName).toLowerCase(),U=e.attributes||[],R=0;R<U.length;R++)j+=" "+U[R].name+"="+x(C(U[R].value),"double",s);return j+=">",e.childNodes&&e.childNodes.length&&(j+="..."),j+="</"+String(e.nodeName).toLowerCase()+">"}if(S(e)){if(0===e.length)return"[]";var Q=P(e,b);return m&&!function(t){for(var e=0;e<t.length;e++)if(E(t[e],"\n")>=0)return!1;return!0}(Q)?"["+F(Q,m)+"]":"[ "+Q.join(", ")+" ]"}if(function(t){return"[object Error]"===O(t)}(e)){var H=P(e,b);return 0===H.length?"["+String(e)+"]":"{ ["+String(e)+"] "+H.join(", ")+" }"}if("object"==typeof e&&l){if(w&&"function"==typeof e[w])return e[w]();if("function"==typeof e.inspect)return e.inspect()}if(function(t){if(!o||!t||"object"!=typeof t)return!1;try{o.call(t);try{c.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var V=[];return a.call(e,function(t,n){V.push(b(n,e,!0)+" => "+b(t,e))}),L("Map",o.call(e),V,m)}if(function(t){if(!c||!t||"object"!=typeof t)return!1;try{c.call(t);try{o.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var z=[];return u.call(e,function(t){z.push(b(t,e))}),L("Set",c.call(e),z,m)}if(function(t){if(!h||!t||"object"!=typeof t)return!1;try{h.call(t,h);try{d.call(t,d)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return D("WeakMap");if(function(t){if(!d||!t||"object"!=typeof t)return!1;try{d.call(t,d);try{h.call(t,h)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return D("WeakSet");if(function(t){return"[object Number]"===O(t)}(e))return M(b(Number(e)));if(function(t){return"[object BigInt]"===O(t)}(e))return M(b(v.call(e)));if(function(t){return"[object Boolean]"===O(t)}(e))return M(f.call(e));if(function(t){return"[object String]"===O(t)}(e))return M(b(String(e)));if(!function(t){return"[object Date]"===O(t)}(e)&&!function(t){return"[object RegExp]"===O(t)}(e)){var $=P(e,b);return 0===$.length?"{}":m?"{"+F($,m)+"}":"{ "+$.join(", ")+" }"}return String(e)};var k=Object.prototype.hasOwnProperty||function(t){return t in this};function T(t,e){return k.call(t,e)}function O(t){return p.call(t)}function E(t,e){if(t.indexOf)return t.indexOf(e);for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return-1}function I(t){var e=t.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return n?"\\"+n:"\\x"+(e<16?"0":"")+e.toString(16).toUpperCase()}function M(t){return"Object("+t+")"}function D(t){return t+" { ? }"}function L(t,e,n,i){return t+" ("+e+") {"+(i?F(n,i):n.join(", "))+"}"}function F(t,e){if(0===t.length)return"";var n="\n"+e.prev+e.base;return n+t.join(","+n)+"\n"+e.prev}function P(t,e){var n=S(t),i=[];if(n){i.length=t.length;for(var r=0;r<t.length;r++)i[r]=T(t,r)?e(t[r],t):""}for(var o in t)T(t,o)&&(n&&String(Number(o))===o&&o<t.length||(/[^\w$]/.test(o)?i.push(e(o,t)+": "+e(t[o],t)):i.push(o+": "+e(t[o],t))));if("function"==typeof m)for(var a=m(t),s=0;s<a.length;s++)b.call(t,a[s])&&i.push("["+e(a[s])+"]: "+e(t[a[s]],t));return i}},H8dH:function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!t||!e)throw new Error("instance & callback is required");var r=!1,o=function(){r||(r=!0,e&&e.apply(null,arguments))};i?t.$once("after-leave",o):t.$on("after-leave",o),setTimeout(function(){o()},n+100)}},HJMx:function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=76)}({0:function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(t,e){return l.call(e),u(t,e)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:c}}n.d(e,"a",function(){return i})},11:function(t,e){t.exports=n("aW5l")},21:function(t,e){t.exports=n("E/in")},4:function(t,e){t.exports=n("fPll")},76:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["textarea"===t.type?"el-textarea":"el-input",t.inputSize?"el-input--"+t.inputSize:"",{"is-disabled":t.inputDisabled,"is-exceed":t.inputExceed,"el-input-group":t.$slots.prepend||t.$slots.append,"el-input-group--append":t.$slots.append,"el-input-group--prepend":t.$slots.prepend,"el-input--prefix":t.$slots.prefix||t.prefixIcon,"el-input--suffix":t.$slots.suffix||t.suffixIcon||t.clearable||t.showPassword}],on:{mouseenter:function(e){t.hovering=!0},mouseleave:function(e){t.hovering=!1}}},["textarea"!==t.type?[t.$slots.prepend?n("div",{staticClass:"el-input-group__prepend"},[t._t("prepend")],2):t._e(),"textarea"!==t.type?n("input",t._b({ref:"input",staticClass:"el-input__inner",attrs:{tabindex:t.tabindex,type:t.showPassword?t.passwordVisible?"text":"password":t.type,disabled:t.inputDisabled,readonly:t.readonly,autocomplete:t.autoComplete||t.autocomplete,"aria-label":t.label},on:{compositionstart:t.handleCompositionStart,compositionupdate:t.handleCompositionUpdate,compositionend:t.handleCompositionEnd,input:t.handleInput,focus:t.handleFocus,blur:t.handleBlur,change:t.handleChange}},"input",t.$attrs,!1)):t._e(),t.$slots.prefix||t.prefixIcon?n("span",{staticClass:"el-input__prefix"},[t._t("prefix"),t.prefixIcon?n("i",{staticClass:"el-input__icon",class:t.prefixIcon}):t._e()],2):t._e(),t.getSuffixVisible()?n("span",{staticClass:"el-input__suffix"},[n("span",{staticClass:"el-input__suffix-inner"},[t.showClear&&t.showPwdVisible&&t.isWordLimitVisible?t._e():[t._t("suffix"),t.suffixIcon?n("i",{staticClass:"el-input__icon",class:t.suffixIcon}):t._e()],t.showClear?n("i",{staticClass:"el-input__icon el-icon-circle-close el-input__clear",on:{mousedown:function(t){t.preventDefault()},click:t.clear}}):t._e(),t.showPwdVisible?n("i",{staticClass:"el-input__icon el-icon-view el-input__clear",on:{click:t.handlePasswordVisible}}):t._e(),t.isWordLimitVisible?n("span",{staticClass:"el-input__count"},[n("span",{staticClass:"el-input__count-inner"},[t._v("\n "+t._s(t.textLength)+"/"+t._s(t.upperLimit)+"\n ")])]):t._e()],2),t.validateState?n("i",{staticClass:"el-input__icon",class:["el-input__validateIcon",t.validateIcon]}):t._e()]):t._e(),t.$slots.append?n("div",{staticClass:"el-input-group__append"},[t._t("append")],2):t._e()]:n("textarea",t._b({ref:"textarea",staticClass:"el-textarea__inner",style:t.textareaStyle,attrs:{tabindex:t.tabindex,disabled:t.inputDisabled,readonly:t.readonly,autocomplete:t.autoComplete||t.autocomplete,"aria-label":t.label},on:{compositionstart:t.handleCompositionStart,compositionupdate:t.handleCompositionUpdate,compositionend:t.handleCompositionEnd,input:t.handleInput,focus:t.handleFocus,blur:t.handleBlur,change:t.handleChange}},"textarea",t.$attrs,!1)),t.isWordLimitVisible&&"textarea"===t.type?n("span",{staticClass:"el-input__count"},[t._v(t._s(t.textLength)+"/"+t._s(t.upperLimit))]):t._e()],2)};i._withStripped=!0;var r=n(4),o=n.n(r),a=n(11),s=n.n(a),l=void 0,c="\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important\n",u=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function h(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;l||(l=document.createElement("textarea"),document.body.appendChild(l));var i=function(t){var e=window.getComputedStyle(t),n=e.getPropertyValue("box-sizing"),i=parseFloat(e.getPropertyValue("padding-bottom"))+parseFloat(e.getPropertyValue("padding-top")),r=parseFloat(e.getPropertyValue("border-bottom-width"))+parseFloat(e.getPropertyValue("border-top-width"));return{contextStyle:u.map(function(t){return t+":"+e.getPropertyValue(t)}).join(";"),paddingSize:i,borderSize:r,boxSizing:n}}(t),r=i.paddingSize,o=i.borderSize,a=i.boxSizing,s=i.contextStyle;l.setAttribute("style",s+";"+c),l.value=t.value||t.placeholder||"";var h=l.scrollHeight,d={};"border-box"===a?h+=o:"content-box"===a&&(h-=r),l.value="";var f=l.scrollHeight-r;if(null!==e){var p=f*e;"border-box"===a&&(p=p+r+o),h=Math.max(p,h),d.minHeight=p+"px"}if(null!==n){var A=f*n;"border-box"===a&&(A=A+r+o),h=Math.min(A,h)}return d.height=h+"px",l.parentNode&&l.parentNode.removeChild(l),l=null,d}var d=n(9),f=n.n(d),p=n(21),A={name:"ElInput",componentName:"ElInput",mixins:[o.a,s.a],inheritAttrs:!1,inject:{elForm:{default:""},elFormItem:{default:""}},data:function(){return{textareaCalcStyle:{},hovering:!1,focused:!1,isComposing:!1,passwordVisible:!1}},props:{value:[String,Number],size:String,resize:String,form:String,disabled:Boolean,readonly:Boolean,type:{type:String,default:"text"},autosize:{type:[Boolean,Object],default:!1},autocomplete:{type:String,default:"off"},autoComplete:{type:String,validator:function(t){return!0}},validateEvent:{type:Boolean,default:!0},suffixIcon:String,prefixIcon:String,label:String,clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},tabindex:String},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},validateState:function(){return this.elFormItem?this.elFormItem.validateState:""},needStatusIcon:function(){return!!this.elForm&&this.elForm.statusIcon},validateIcon:function(){return{validating:"el-icon-loading",success:"el-icon-circle-check",error:"el-icon-circle-close"}[this.validateState]},textareaStyle:function(){return f()({},this.textareaCalcStyle,{resize:this.resize})},inputSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},inputDisabled:function(){return this.disabled||(this.elForm||{}).disabled},nativeInputValue:function(){return null===this.value||void 0===this.value?"":String(this.value)},showClear:function(){return this.clearable&&!this.inputDisabled&&!this.readonly&&this.nativeInputValue&&(this.focused||this.hovering)},showPwdVisible:function(){return this.showPassword&&!this.inputDisabled&&!this.readonly&&(!!this.nativeInputValue||this.focused)},isWordLimitVisible:function(){return this.showWordLimit&&this.$attrs.maxlength&&("text"===this.type||"textarea"===this.type)&&!this.inputDisabled&&!this.readonly&&!this.showPassword},upperLimit:function(){return this.$attrs.maxlength},textLength:function(){return"number"==typeof this.value?String(this.value).length:(this.value||"").length},inputExceed:function(){return this.isWordLimitVisible&&this.textLength>this.upperLimit}},watch:{value:function(t){this.$nextTick(this.resizeTextarea),this.validateEvent&&this.dispatch("ElFormItem","el.form.change",[t])},nativeInputValue:function(){this.setNativeInputValue()},type:function(){var t=this;this.$nextTick(function(){t.setNativeInputValue(),t.resizeTextarea(),t.updateIconOffset()})}},methods:{focus:function(){this.getInput().focus()},blur:function(){this.getInput().blur()},getMigratingConfig:function(){return{props:{icon:"icon is removed, use suffix-icon / prefix-icon instead.","on-icon-click":"on-icon-click is removed."},events:{click:"click is removed."}}},handleBlur:function(t){this.focused=!1,this.$emit("blur",t),this.validateEvent&&this.dispatch("ElFormItem","el.form.blur",[this.value])},select:function(){this.getInput().select()},resizeTextarea:function(){if(!this.$isServer){var t=this.autosize;if("textarea"===this.type)if(t){var e=t.minRows,n=t.maxRows;this.textareaCalcStyle=h(this.$refs.textarea,e,n)}else this.textareaCalcStyle={minHeight:h(this.$refs.textarea).minHeight}}},setNativeInputValue:function(){var t=this.getInput();t&&t.value!==this.nativeInputValue&&(t.value=this.nativeInputValue)},handleFocus:function(t){this.focused=!0,this.$emit("focus",t)},handleCompositionStart:function(){this.isComposing=!0},handleCompositionUpdate:function(t){var e=t.target.value,n=e[e.length-1]||"";this.isComposing=!Object(p.isKorean)(n)},handleCompositionEnd:function(t){this.isComposing&&(this.isComposing=!1,this.handleInput(t))},handleInput:function(t){this.isComposing||t.target.value!==this.nativeInputValue&&(this.$emit("input",t.target.value),this.$nextTick(this.setNativeInputValue))},handleChange:function(t){this.$emit("change",t.target.value)},calcIconOffset:function(t){var e=[].slice.call(this.$el.querySelectorAll(".el-input__"+t)||[]);if(e.length){for(var n=null,i=0;i<e.length;i++)if(e[i].parentNode===this.$el){n=e[i];break}if(n){var r={suffix:"append",prefix:"prepend"}[t];this.$slots[r]?n.style.transform="translateX("+("suffix"===t?"-":"")+this.$el.querySelector(".el-input-group__"+r).offsetWidth+"px)":n.removeAttribute("style")}}},updateIconOffset:function(){this.calcIconOffset("prefix"),this.calcIconOffset("suffix")},clear:function(){this.$emit("input",""),this.$emit("change",""),this.$emit("clear")},handlePasswordVisible:function(){this.passwordVisible=!this.passwordVisible,this.focus()},getInput:function(){return this.$refs.input||this.$refs.textarea},getSuffixVisible:function(){return this.$slots.suffix||this.suffixIcon||this.showClear||this.showPassword||this.isWordLimitVisible||this.validateState&&this.needStatusIcon}},created:function(){this.$on("inputSelect",this.select)},mounted:function(){this.setNativeInputValue(),this.resizeTextarea(),this.updateIconOffset()},updated:function(){this.$nextTick(this.updateIconOffset)}},g=n(0),v=Object(g.a)(A,i,[],!1,null,null,null);v.options.__file="packages/input/src/input.vue";var m=v.exports;m.install=function(t){t.component(m.name,m)};e.default=m},9:function(t,e){t.exports=n("jmaC")}})},HVvo:function(t,e,n){"use strict";function i(t,e){var n,i,r,o,a,s=[],l=e.length;for(n=0;n<l;n++)126===(r=e[n]).marker&&-1!==r.end&&(o=e[r.end],(a=t.tokens[r.token]).type="s_open",a.tag="s",a.nesting=1,a.markup="~~",a.content="",(a=t.tokens[o.token]).type="s_close",a.tag="s",a.nesting=-1,a.markup="~~",a.content="","text"===t.tokens[o.token-1].type&&"~"===t.tokens[o.token-1].content&&s.push(o.token-1));for(;s.length;){for(i=(n=s.pop())+1;i<t.tokens.length&&"s_close"===t.tokens[i].type;)i++;n!==--i&&(a=t.tokens[i],t.tokens[i]=t.tokens[n],t.tokens[n]=a)}}t.exports.tokenize=function(t,e){var n,i,r,o,a=t.pos,s=t.src.charCodeAt(a);if(e)return!1;if(126!==s)return!1;if(r=(i=t.scanDelims(t.pos,!0)).length,o=String.fromCharCode(s),r<2)return!1;for(r%2&&(t.push("text","",0).content=o,r--),n=0;n<r;n+=2)t.push("text","",0).content=o+o,t.delimiters.push({marker:s,length:0,token:t.tokens.length-1,end:-1,open:i.can_open,close:i.can_close});return t.pos+=i.length,!0},t.exports.postProcess=function(t){var e,n=t.tokens_meta,r=t.tokens_meta.length;for(i(t,t.delimiters),e=0;e<r;e++)n[e]&&n[e].delimiters&&i(t,n[e].delimiters)}},HpRW:function(t,e,n){"use strict";var i=n("kM2E"),r=n("lOnJ"),o=n("+ZMJ"),a=n("NWt+");t.exports=function(t){i(i.S,t,{from:function(t){var e,n,i,s,l=arguments[1];return r(this),(e=void 0!==l)&&r(l),void 0==t?new this:(n=[],e?(i=0,s=o(l,arguments[2],2),a(t,!1,function(t){n.push(s(t,i++))})):a(t,!1,n.push,n),new this(n))}})}},Hvbp:function(t,e,n){"use strict";function i(t){switch(t){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}t.exports=function(t,e){for(var n=t.pos;n<t.posMax&&!i(t.src.charCodeAt(n));)n++;return n!==t.pos&&(e||(t.pending+=t.src.slice(t.pos,n)),t.pos=n,!0)}},HxqY:function(t,e,n){"use strict";t.exports.encode=n("TilA"),t.exports.decode=n("zW4X"),t.exports.format=n("K8D5"),t.exports.parse=n("Jv26")},HzcN:function(t,e,n){var i=n("uY1a"),r=n("ON3O");t.exports={throttle:i,debounce:r}},"I/+Z":function(t,e){t.exports=function(t,e){var n,i=null;try{n=JSON.parse(t,e)}catch(t){i=t}return[i,n]}},I95x:function(t,e){
  32. /*!
  33. * screenfull
  34. * v4.2.1 - 2019-07-27
  35. * (c) Sindre Sorhus; MIT License
  36. */
  37. !function(){"use strict";var e="undefined"!=typeof window&&void 0!==window.document?window.document:{},n=void 0!==t&&t.exports,i="undefined"!=typeof Element&&"ALLOW_KEYBOARD_INPUT"in Element,r=function(){for(var t,n=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],i=0,r=n.length,o={};i<r;i++)if((t=n[i])&&t[1]in e){for(i=0;i<t.length;i++)o[n[0][i]]=t[i];return o}return!1}(),o={change:r.fullscreenchange,error:r.fullscreenerror},a={request:function(t){return new Promise(function(n,o){var a,s=r.requestFullscreen,l=function(){this.off("change",l),n()}.bind(this);this.on("change",l),t=t||e.documentElement,a=/ Version\/5\.1(?:\.\d+)? Safari\//.test(navigator.userAgent)?t[s]():t[s](i?Element.ALLOW_KEYBOARD_INPUT:{}),Promise.resolve(a).catch(o)}.bind(this))},exit:function(){return new Promise(function(t){if(this.isFullscreen){var n=function(){this.off("change",n),t()}.bind(this);e[r.exitFullscreen](),this.on("change",n)}else t()}.bind(this))},toggle:function(t){return this.isFullscreen?this.exit():this.request(t)},onchange:function(t){this.on("change",t)},onerror:function(t){this.on("error",t)},on:function(t,n){var i=o[t];i&&e.addEventListener(i,n,!1)},off:function(t,n){var i=o[t];i&&e.removeEventListener(i,n,!1)},raw:r};r?(Object.defineProperties(a,{isFullscreen:{get:function(){return Boolean(e[r.fullscreenElement])}},element:{enumerable:!0,get:function(){return e[r.fullscreenElement]}},enabled:{enumerable:!0,get:function(){return Boolean(e[r.fullscreenEnabled])}}}),n?(t.exports=a,t.exports.default=a):window.screenfull=a):n?t.exports=!1:window.screenfull=!1}()},ISYW:function(t,e,n){"use strict";e.__esModule=!0;var i,r=n("7+uW"),o=(i=r)&&i.__esModule?i:{default:i},a=n("2kvA");var s=[],l="@@clickoutsideContext",c=void 0,u=0;function h(t,e,n){return function(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!(n&&n.context&&i.target&&r.target)||t.contains(i.target)||t.contains(r.target)||t===i.target||n.context.popperElm&&(n.context.popperElm.contains(i.target)||n.context.popperElm.contains(r.target))||(e.expression&&t[l].methodName&&n.context[t[l].methodName]?n.context[t[l].methodName]():t[l].bindingFn&&t[l].bindingFn())}}!o.default.prototype.$isServer&&(0,a.on)(document,"mousedown",function(t){return c=t}),!o.default.prototype.$isServer&&(0,a.on)(document,"mouseup",function(t){s.forEach(function(e){return e[l].documentHandler(t,c)})}),e.default={bind:function(t,e,n){s.push(t);var i=u++;t[l]={id:i,documentHandler:h(t,e,n),methodName:e.expression,bindingFn:e.value}},update:function(t,e,n){t[l].documentHandler=h(t,e,n),t[l].methodName=e.expression,t[l].bindingFn=e.value},unbind:function(t){for(var e=s.length,n=0;n<e;n++)if(s[n][l].id===t[l].id){s.splice(n,1);break}delete t[l]}}},Ibhu:function(t,e,n){var i=n("D2L2"),r=n("TcQ7"),o=n("vFc/")(!1),a=n("ax3d")("IE_PROTO");t.exports=function(t,e){var n,s=r(t),l=0,c=[];for(n in s)n!=a&&i(s,n)&&c.push(n);for(;e.length>l;)i(s,n=e[l++])&&(~o(c,n)||c.push(n));return c}},IinW:function(t,e,n){
  38. /*!
  39. * Viewer.js v1.10.5
  40. * https://fengyuanchen.github.io/viewerjs
  41. *
  42. * Copyright 2015-present Chen Fengyuan
  43. * Released under the MIT license
  44. *
  45. * Date: 2022-04-05T08:21:02.491Z
  46. */
  47. var i;i=function(){"use strict";function t(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function e(e){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?t(Object(i),!0).forEach(function(t){r(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):t(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}function n(t){"@babel/helpers - typeof";return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o={backdrop:!0,button:!0,navbar:!0,title:!0,toolbar:!0,className:"",container:"body",filter:null,fullscreen:!0,inheritedAttributes:["crossOrigin","decoding","isMap","loading","referrerPolicy","sizes","srcset","useMap"],initialViewIndex:0,inline:!1,interval:5e3,keyboard:!0,focus:!0,loading:!0,loop:!0,minWidth:200,minHeight:100,movable:!0,rotatable:!0,scalable:!0,zoomable:!0,zoomOnTouch:!0,zoomOnWheel:!0,slideOnTouch:!0,toggleOnDblclick:!0,tooltip:!0,transition:!0,zIndex:2015,zIndexInline:0,zoomRatio:.1,minZoomRatio:.01,maxZoomRatio:100,url:"src",ready:null,show:null,shown:null,hide:null,hidden:null,view:null,viewed:null,move:null,moved:null,rotate:null,rotated:null,scale:null,scaled:null,zoom:null,zoomed:null,play:null,stop:null},a="undefined"!=typeof window&&void 0!==window.document,s=a?window:{},l=!(!a||!s.document.documentElement)&&"ontouchstart"in s.document.documentElement,c=!!a&&"PointerEvent"in s,u="".concat("viewer","-active"),h="".concat("viewer","-close"),d="".concat("viewer","-fade"),f="".concat("viewer","-fixed"),p="".concat("viewer","-fullscreen"),A="".concat("viewer","-fullscreen-exit"),g="".concat("viewer","-hide"),v="".concat("viewer","-hide-md-down"),m="".concat("viewer","-hide-sm-down"),y="".concat("viewer","-hide-xs-down"),b="".concat("viewer","-in"),_="".concat("viewer","-invisible"),w="".concat("viewer","-loading"),x="".concat("viewer","-move"),C="".concat("viewer","-open"),S="".concat("viewer","-show"),B="".concat("viewer","-transition"),k=c?"pointerdown":l?"touchstart":"mousedown",T=c?"pointermove":l?"touchmove":"mousemove",O=c?"pointerup pointercancel":l?"touchend touchcancel":"mouseup",E="".concat("viewer","Action"),I=/\s\s*/,M=["zoom-in","zoom-out","one-to-one","reset","prev","play","next","rotate-left","rotate-right","flip-horizontal","flip-vertical"];function D(t){return"string"==typeof t}var L=Number.isNaN||s.isNaN;function F(t){return"number"==typeof t&&!L(t)}function P(t){return void 0===t}function N(t){return"object"===n(t)&&null!==t}var j=Object.prototype.hasOwnProperty;function U(t){if(!N(t))return!1;try{var e=t.constructor,n=e.prototype;return e&&n&&j.call(n,"isPrototypeOf")}catch(t){return!1}}function R(t){return"function"==typeof t}function Q(t,e){if(t&&R(e))if(Array.isArray(t)||F(t.length)){var n,i=t.length;for(n=0;n<i&&!1!==e.call(t,t[n],n,t);n+=1);}else N(t)&&Object.keys(t).forEach(function(n){e.call(t,t[n],n,t)});return t}var H=Object.assign||function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return N(t)&&n.length>0&&n.forEach(function(e){N(e)&&Object.keys(e).forEach(function(n){t[n]=e[n]})}),t},V=/^(?:width|height|left|top|marginLeft|marginTop)$/;function z(t,e){var n=t.style;Q(e,function(t,e){V.test(e)&&F(t)&&(t+="px"),n[e]=t})}function $(t,e){return!(!t||!e)&&(t.classList?t.classList.contains(e):t.className.indexOf(e)>-1)}function G(t,e){if(t&&e)if(F(t.length))Q(t,function(t){G(t,e)});else if(t.classList)t.classList.add(e);else{var n=t.className.trim();n?n.indexOf(e)<0&&(t.className="".concat(n," ").concat(e)):t.className=e}}function W(t,e){t&&e&&(F(t.length)?Q(t,function(t){W(t,e)}):t.classList?t.classList.remove(e):t.className.indexOf(e)>=0&&(t.className=t.className.replace(e,"")))}function K(t,e,n){e&&(F(t.length)?Q(t,function(t){K(t,e,n)}):n?G(t,e):W(t,e))}var Y=/([a-z\d])([A-Z])/g;function X(t){return t.replace(Y,"$1-$2").toLowerCase()}function q(t,e){return N(t[e])?t[e]:t.dataset?t.dataset[e]:t.getAttribute("data-".concat(X(e)))}function Z(t,e,n){N(n)?t[e]=n:t.dataset?t.dataset[e]=n:t.setAttribute("data-".concat(X(e)),n)}var J=function(){var t=!1;if(a){var e=!1,n=function(){},i=Object.defineProperty({},"once",{get:function(){return t=!0,e},set:function(t){e=t}});s.addEventListener("test",n,i),s.removeEventListener("test",n,i)}return t}();function tt(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=n;e.trim().split(I).forEach(function(e){if(!J){var o=t.listeners;o&&o[e]&&o[e][n]&&(r=o[e][n],delete o[e][n],0===Object.keys(o[e]).length&&delete o[e],0===Object.keys(o).length&&delete t.listeners)}t.removeEventListener(e,r,i)})}function et(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=n;e.trim().split(I).forEach(function(e){if(i.once&&!J){var o=t.listeners,a=void 0===o?{}:o;r=function(){delete a[e][n],t.removeEventListener(e,r,i);for(var o=arguments.length,s=new Array(o),l=0;l<o;l++)s[l]=arguments[l];n.apply(t,s)},a[e]||(a[e]={}),a[e][n]&&t.removeEventListener(e,a[e][n],i),a[e][n]=r,t.listeners=a}t.addEventListener(e,r,i)})}function nt(t,n,i,r){var o;return R(Event)&&R(CustomEvent)?o=new CustomEvent(n,e({bubbles:!0,cancelable:!0,detail:i},r)):(o=document.createEvent("CustomEvent")).initCustomEvent(n,!0,!0,i),t.dispatchEvent(o)}function it(t){var e=t.rotate,n=t.scaleX,i=t.scaleY,r=t.translateX,o=t.translateY,a=[];F(r)&&0!==r&&a.push("translateX(".concat(r,"px)")),F(o)&&0!==o&&a.push("translateY(".concat(o,"px)")),F(e)&&0!==e&&a.push("rotate(".concat(e,"deg)")),F(n)&&1!==n&&a.push("scaleX(".concat(n,")")),F(i)&&1!==i&&a.push("scaleY(".concat(i,")"));var s=a.length?a.join(" "):"none";return{WebkitTransform:s,msTransform:s,transform:s}}var rt=s.navigator&&/(Macintosh|iPhone|iPod|iPad).*AppleWebKit/i.test(s.navigator.userAgent);function ot(t,e,n){var i=document.createElement("img");if(t.naturalWidth&&!rt)return n(t.naturalWidth,t.naturalHeight),i;var r=document.body||document.documentElement;return i.onload=function(){n(i.width,i.height),rt||r.removeChild(i)},Q(e.inheritedAttributes,function(e){var n=t.getAttribute(e);null!==n&&i.setAttribute(e,n)}),i.src=t.src,rt||(i.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",r.appendChild(i)),i}function at(t){switch(t){case 2:return y;case 3:return m;case 4:return v;default:return""}}function st(t,n){var i=t.pageX,r=t.pageY,o={endX:i,endY:r};return n?o:e({timeStamp:Date.now(),startX:i,startY:r},o)}var lt,ct={render:function(){this.initContainer(),this.initViewer(),this.initList(),this.renderViewer()},initBody:function(){var t=this.element.ownerDocument,e=t.body||t.documentElement;this.body=e,this.scrollbarWidth=window.innerWidth-t.documentElement.clientWidth,this.initialBodyPaddingRight=e.style.paddingRight,this.initialBodyComputedPaddingRight=window.getComputedStyle(e).paddingRight},initContainer:function(){this.containerData={width:window.innerWidth,height:window.innerHeight}},initViewer:function(){var t,e=this.options,n=this.parent;e.inline&&(t={width:Math.max(n.offsetWidth,e.minWidth),height:Math.max(n.offsetHeight,e.minHeight)},this.parentData=t),!this.fulled&&t||(t=this.containerData),this.viewerData=H({},t)},renderViewer:function(){this.options.inline&&!this.fulled&&z(this.viewer,this.viewerData)},initList:function(){var t=this,e=this.element,n=this.options,i=this.list,r=[];i.innerHTML="",Q(this.images,function(e,o){var a=e.src,s=e.alt||function(t){return D(t)?decodeURIComponent(t.replace(/^.*\//,"").replace(/[?&#].*$/,"")):""}(a),l=t.getImageURL(e);if(a||l){var c=document.createElement("li"),u=document.createElement("img");Q(n.inheritedAttributes,function(t){var n=e.getAttribute(t);null!==n&&u.setAttribute(t,n)}),u.src=a||l,u.alt=s,u.setAttribute("data-original-url",l||a),c.setAttribute("data-index",o),c.setAttribute("data-viewer-action","view"),c.setAttribute("role","button"),n.keyboard&&c.setAttribute("tabindex",0),c.appendChild(u),i.appendChild(c),r.push(c)}}),this.items=r,Q(r,function(e){var i,r,o=e.firstElementChild;Z(o,"filled",!0),n.loading&&G(e,w),et(o,"load",i=function(i){tt(o,"error",r),n.loading&&W(e,w),t.loadImage(i)},{once:!0}),et(o,"error",r=function(){tt(o,"load",i),n.loading&&W(e,w)},{once:!0})}),n.transition&&et(e,"viewed",function(){G(i,B)},{once:!0})},renderList:function(){var t=this.index,e=this.items[t];if(e){var n=e.nextElementSibling,i=parseInt(window.getComputedStyle(n||e).marginLeft,10),r=e.offsetWidth,o=r+i;z(this.list,H({width:o*this.length-i},it({translateX:(this.viewerData.width-r)/2-o*t})))}},resetList:function(){var t=this.list;t.innerHTML="",W(t,B),z(t,it({translateX:0}))},initImage:function(t){var e,n=this,i=this.options,r=this.image,o=this.viewerData,a=this.footer.offsetHeight,s=o.width,l=Math.max(o.height-a,a),c=this.imageData||{};this.imageInitializing={abort:function(){e.onload=null}},e=ot(r,i,function(e,r){var o=e/r,a=s,u=l;n.imageInitializing=!1,l*o>s?u=s/o:a=l*o,a=Math.min(.9*a,e),u=Math.min(.9*u,r);var h=(s-a)/2,d=(l-u)/2,f={left:h,top:d,x:h,y:d,width:a,height:u,oldRatio:1,ratio:a/e,aspectRatio:o,naturalWidth:e,naturalHeight:r},p=H({},f);i.rotatable&&(f.rotate=c.rotate||0,p.rotate=0),i.scalable&&(f.scaleX=c.scaleX||1,f.scaleY=c.scaleY||1,p.scaleX=1,p.scaleY=1),n.imageData=f,n.initialImageData=p,t&&t()})},renderImage:function(t){var e=this,n=this.image,i=this.imageData;if(z(n,H({width:i.width,height:i.height,marginLeft:i.x,marginTop:i.y},it(i))),t)if((this.viewing||this.moving||this.rotating||this.scaling||this.zooming)&&this.options.transition&&$(n,B)){var r=function(){e.imageRendering=!1,t()};this.imageRendering={abort:function(){tt(n,"transitionend",r)}},et(n,"transitionend",r,{once:!0})}else t()},resetImage:function(){if(this.viewing||this.viewed){var t=this.image;this.viewing&&this.viewing.abort(),t.parentNode.removeChild(t),this.image=null}}},ut={bind:function(){var t=this.options,e=this.viewer,n=this.canvas,i=this.element.ownerDocument;et(e,"click",this.onClick=this.click.bind(this)),et(e,"dragstart",this.onDragStart=this.dragstart.bind(this)),et(n,k,this.onPointerDown=this.pointerdown.bind(this)),et(i,T,this.onPointerMove=this.pointermove.bind(this)),et(i,O,this.onPointerUp=this.pointerup.bind(this)),et(i,"keydown",this.onKeyDown=this.keydown.bind(this)),et(window,"resize",this.onResize=this.resize.bind(this)),t.zoomable&&t.zoomOnWheel&&et(e,"wheel",this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),t.toggleOnDblclick&&et(n,"dblclick",this.onDblclick=this.dblclick.bind(this))},unbind:function(){var t=this.options,e=this.viewer,n=this.canvas,i=this.element.ownerDocument;tt(e,"click",this.onClick),tt(e,"dragstart",this.onDragStart),tt(n,k,this.onPointerDown),tt(i,T,this.onPointerMove),tt(i,O,this.onPointerUp),tt(i,"keydown",this.onKeyDown),tt(window,"resize",this.onResize),t.zoomable&&t.zoomOnWheel&&tt(e,"wheel",this.onWheel,{passive:!1,capture:!0}),t.toggleOnDblclick&&tt(n,"dblclick",this.onDblclick)}},ht={click:function(t){var e=this.options,n=this.imageData,i=t.target,r=q(i,E);switch(r||"img"!==i.localName||"li"!==i.parentElement.localName||(r=q(i=i.parentElement,E)),l&&t.isTrusted&&i===this.canvas&&clearTimeout(this.clickCanvasTimeout),r){case"mix":this.played?this.stop():e.inline?this.fulled?this.exit():this.full():this.hide();break;case"hide":this.hide();break;case"view":this.view(q(i,"index"));break;case"zoom-in":this.zoom(.1,!0);break;case"zoom-out":this.zoom(-.1,!0);break;case"one-to-one":this.toggle();break;case"reset":this.reset();break;case"prev":this.prev(e.loop);break;case"play":this.play(e.fullscreen);break;case"next":this.next(e.loop);break;case"rotate-left":this.rotate(-90);break;case"rotate-right":this.rotate(90);break;case"flip-horizontal":this.scaleX(-n.scaleX||-1);break;case"flip-vertical":this.scaleY(-n.scaleY||-1);break;default:this.played&&this.stop()}},dblclick:function(t){t.preventDefault(),this.viewed&&t.target===this.image&&(l&&t.isTrusted&&clearTimeout(this.doubleClickImageTimeout),this.toggle(t.isTrusted?t:t.detail&&t.detail.originalEvent))},load:function(){var t=this;this.timeout&&(clearTimeout(this.timeout),this.timeout=!1);var e=this.element,n=this.options,i=this.image,r=this.index,o=this.viewerData;W(i,_),n.loading&&W(this.canvas,w),i.style.cssText="height:0;"+"margin-left:".concat(o.width/2,"px;")+"margin-top:".concat(o.height/2,"px;")+"max-width:none!important;position:relative;width:0;",this.initImage(function(){K(i,x,n.movable),K(i,B,n.transition),t.renderImage(function(){t.viewed=!0,t.viewing=!1,R(n.viewed)&&et(e,"viewed",n.viewed,{once:!0}),nt(e,"viewed",{originalImage:t.images[r],index:r,image:i},{cancelable:!1})})})},loadImage:function(t){var e=t.target,n=e.parentNode,i=n.offsetWidth||30,r=n.offsetHeight||50,o=!!q(e,"filled");ot(e,this.options,function(t,n){var a=t/n,s=i,l=r;r*a>i?o?s=r*a:l=i/a:o?l=i/a:s=r*a,z(e,H({width:s,height:l},it({translateX:(i-s)/2,translateY:(r-l)/2})))})},keydown:function(t){var e=this.options;if(e.keyboard){var n=t.keyCode||t.which||t.charCode;switch(n){case 13:this.viewer.contains(t.target)&&this.click(t)}if(this.fulled)switch(n){case 27:this.played?this.stop():e.inline?this.fulled&&this.exit():this.hide();break;case 32:this.played&&this.stop();break;case 37:this.prev(e.loop);break;case 38:t.preventDefault(),this.zoom(e.zoomRatio,!0);break;case 39:this.next(e.loop);break;case 40:t.preventDefault(),this.zoom(-e.zoomRatio,!0);break;case 48:case 49:t.ctrlKey&&(t.preventDefault(),this.toggle())}}},dragstart:function(t){"img"===t.target.localName&&t.preventDefault()},pointerdown:function(t){var e=this.options,n=this.pointers,i=t.buttons,r=t.button;if(!(!this.viewed||this.showing||this.viewing||this.hiding||("mousedown"===t.type||"pointerdown"===t.type&&"mouse"===t.pointerType)&&(F(i)&&1!==i||F(r)&&0!==r||t.ctrlKey))){t.preventDefault(),t.changedTouches?Q(t.changedTouches,function(t){n[t.identifier]=st(t)}):n[t.pointerId||0]=st(t);var o=!!e.movable&&"move";e.zoomOnTouch&&e.zoomable&&Object.keys(n).length>1?o="zoom":e.slideOnTouch&&("touch"===t.pointerType||"touchstart"===t.type)&&this.isSwitchable()&&(o="switch"),!e.transition||"move"!==o&&"zoom"!==o||W(this.image,B),this.action=o}},pointermove:function(t){var e=this.pointers,n=this.action;this.viewed&&n&&(t.preventDefault(),t.changedTouches?Q(t.changedTouches,function(t){H(e[t.identifier]||{},st(t,!0))}):H(e[t.pointerId||0]||{},st(t,!0)),this.change(t))},pointerup:function(t){var e,n=this,i=this.options,r=this.action,o=this.pointers;t.changedTouches?Q(t.changedTouches,function(t){e=o[t.identifier],delete o[t.identifier]}):(e=o[t.pointerId||0],delete o[t.pointerId||0]),r&&(t.preventDefault(),!i.transition||"move"!==r&&"zoom"!==r||G(this.image,B),this.action=!1,l&&"zoom"!==r&&e&&Date.now()-e.timeStamp<500&&(clearTimeout(this.clickCanvasTimeout),clearTimeout(this.doubleClickImageTimeout),i.toggleOnDblclick&&this.viewed&&t.target===this.image?this.imageClicked?(this.imageClicked=!1,this.doubleClickImageTimeout=setTimeout(function(){nt(n.image,"dblclick",{originalEvent:t})},50)):(this.imageClicked=!0,this.doubleClickImageTimeout=setTimeout(function(){n.imageClicked=!1},500)):(this.imageClicked=!1,i.backdrop&&"static"!==i.backdrop&&t.target===this.canvas&&(this.clickCanvasTimeout=setTimeout(function(){nt(n.canvas,"click",{originalEvent:t})},50)))))},resize:function(){var t=this;if(this.isShown&&!this.hiding&&(this.fulled&&(this.close(),this.initBody(),this.open()),this.initContainer(),this.initViewer(),this.renderViewer(),this.renderList(),this.viewed&&this.initImage(function(){t.renderImage()}),this.played)){if(this.options.fullscreen&&this.fulled&&!(document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement))return void this.stop();Q(this.player.getElementsByTagName("img"),function(e){et(e,"load",t.loadImage.bind(t),{once:!0}),nt(e,"load")})}},wheel:function(t){var e=this;if(this.viewed&&(t.preventDefault(),!this.wheeling)){this.wheeling=!0,setTimeout(function(){e.wheeling=!1},50);var n=Number(this.options.zoomRatio)||.1,i=1;t.deltaY?i=t.deltaY>0?1:-1:t.wheelDelta?i=-t.wheelDelta/120:t.detail&&(i=t.detail>0?1:-1),this.zoom(-i*n,!0,t)}}},dt={show:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.element,n=this.options;if(n.inline||this.showing||this.isShown||this.showing)return this;if(!this.ready)return this.build(),this.ready&&this.show(t),this;if(R(n.show)&&et(e,"show",n.show,{once:!0}),!1===nt(e,"show")||!this.ready)return this;this.hiding&&this.transitioning.abort(),this.showing=!0,this.open();var i=this.viewer;if(W(i,g),i.setAttribute("role","dialog"),i.setAttribute("aria-labelledby",this.title.id),i.setAttribute("aria-modal",!0),i.removeAttribute("aria-hidden"),n.transition&&!t){var r=this.shown.bind(this);this.transitioning={abort:function(){tt(i,"transitionend",r),W(i,b)}},G(i,B),i.initialOffsetWidth=i.offsetWidth,et(i,"transitionend",r,{once:!0}),G(i,b)}else G(i,b),this.shown();return this},hide:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=this.element,i=this.options;if(i.inline||this.hiding||!this.isShown&&!this.showing)return this;if(R(i.hide)&&et(n,"hide",i.hide,{once:!0}),!1===nt(n,"hide"))return this;this.showing&&this.transitioning.abort(),this.hiding=!0,this.played?this.stop():this.viewing&&this.viewing.abort();var r=this.viewer,o=this.image,a=function(){W(r,b),t.hidden()};if(i.transition&&!e){var s=function e(n){n&&n.target===r&&(tt(r,"transitionend",e),t.hidden())},l=function(){$(r,B)?(et(r,"transitionend",s),W(r,b)):a()};this.transitioning={abort:function(){t.viewed&&$(o,B)?tt(o,"transitionend",l):$(r,B)&&tt(r,"transitionend",s)}},this.viewed&&$(o,B)?(et(o,"transitionend",l,{once:!0}),this.zoomTo(0,!1,null,!0)):l()}else a();return this},view:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.options.initialViewIndex;if(e=Number(e)||0,this.hiding||this.played||e<0||e>=this.length||this.viewed&&e===this.index)return this;if(!this.isShown)return this.index=e,this.show();this.viewing&&this.viewing.abort();var n=this.element,i=this.options,r=this.title,o=this.canvas,a=this.items[e],s=a.querySelector("img"),l=q(s,"originalUrl"),c=s.getAttribute("alt"),h=document.createElement("img");if(Q(i.inheritedAttributes,function(t){var e=s.getAttribute(t);null!==e&&h.setAttribute(t,e)}),h.src=l,h.alt=c,R(i.view)&&et(n,"view",i.view,{once:!0}),!1===nt(n,"view",{originalImage:this.images[e],index:e,image:h})||!this.isShown||this.hiding||this.played)return this;var d=this.items[this.index];d&&(W(d,u),d.removeAttribute("aria-selected")),G(a,u),a.setAttribute("aria-selected",!0),i.focus&&a.focus(),this.image=h,this.viewed=!1,this.index=e,this.imageData={},G(h,_),i.loading&&G(o,w),o.innerHTML="",o.appendChild(h),this.renderList(),r.innerHTML="";var f,p,A=function(){var e,n=t.imageData,o=Array.isArray(i.title)?i.title[1]:i.title;r.innerHTML=D(e=R(o)?o.call(t,h,n):"".concat(c," (").concat(n.naturalWidth," × ").concat(n.naturalHeight,")"))?e.replace(/&(?!amp;|quot;|#39;|lt;|gt;)/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;"):e};return et(n,"viewed",A,{once:!0}),this.viewing={abort:function(){tt(n,"viewed",A),h.complete?t.imageRendering?t.imageRendering.abort():t.imageInitializing&&t.imageInitializing.abort():(h.src="",tt(h,"load",f),t.timeout&&clearTimeout(t.timeout))}},h.complete?this.load():(et(h,"load",f=function(){tt(h,"error",p),t.load()},{once:!0}),et(h,"error",p=function(){tt(h,"load",f),t.timeout&&(clearTimeout(t.timeout),t.timeout=!1),W(h,_),i.loading&&W(t.canvas,w)},{once:!0}),this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout(function(){W(h,_),t.timeout=!1},1e3)),this},prev:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.index-1;return e<0&&(e=t?this.length-1:0),this.view(e),this},next:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.length-1,n=this.index+1;return n>e&&(n=t?0:e),this.view(n),this},move:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,n=this.imageData;return this.moveTo(P(t)?t:n.x+Number(t),P(e)?e:n.y+Number(e)),this},moveTo:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=this.element,o=this.options,a=this.imageData;if(t=Number(t),n=Number(n),this.viewed&&!this.played&&o.movable){var s=a.x,l=a.y,c=!1;if(F(t)?c=!0:t=s,F(n)?c=!0:n=l,c){if(R(o.move)&&et(r,"move",o.move,{once:!0}),!1===nt(r,"move",{x:t,y:n,oldX:s,oldY:l,originalEvent:i}))return this;a.x=t,a.y=n,a.left=t,a.top=n,this.moving=!0,this.renderImage(function(){e.moving=!1,R(o.moved)&&et(r,"moved",o.moved,{once:!0}),nt(r,"moved",{x:t,y:n,oldX:s,oldY:l,originalEvent:i},{cancelable:!1})})}}return this},rotate:function(t){return this.rotateTo((this.imageData.rotate||0)+Number(t)),this},rotateTo:function(t){var e=this,n=this.element,i=this.options,r=this.imageData;if(F(t=Number(t))&&this.viewed&&!this.played&&i.rotatable){var o=r.rotate;if(R(i.rotate)&&et(n,"rotate",i.rotate,{once:!0}),!1===nt(n,"rotate",{degree:t,oldDegree:o}))return this;r.rotate=t,this.rotating=!0,this.renderImage(function(){e.rotating=!1,R(i.rotated)&&et(n,"rotated",i.rotated,{once:!0}),nt(n,"rotated",{degree:t,oldDegree:o},{cancelable:!1})})}return this},scaleX:function(t){return this.scale(t,this.imageData.scaleY),this},scaleY:function(t){return this.scale(this.imageData.scaleX,t),this},scale:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,i=this.element,r=this.options,o=this.imageData;if(t=Number(t),n=Number(n),this.viewed&&!this.played&&r.scalable){var a=o.scaleX,s=o.scaleY,l=!1;if(F(t)?l=!0:t=a,F(n)?l=!0:n=s,l){if(R(r.scale)&&et(i,"scale",r.scale,{once:!0}),!1===nt(i,"scale",{scaleX:t,scaleY:n,oldScaleX:a,oldScaleY:s}))return this;o.scaleX=t,o.scaleY=n,this.scaling=!0,this.renderImage(function(){e.scaling=!1,R(r.scaled)&&et(i,"scaled",r.scaled,{once:!0}),nt(i,"scaled",{scaleX:t,scaleY:n,oldScaleX:a,oldScaleY:s},{cancelable:!1})})}}return this},zoom:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=this.imageData;return t=(t=Number(t))<0?1/(1-t):1+t,this.zoomTo(i.width*t/i.naturalWidth,e,n),this},zoomTo:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=this.element,a=this.options,s=this.pointers,l=this.imageData,c=l.x,u=l.y,h=l.width,d=l.height,f=l.naturalWidth,p=l.naturalHeight;if(F(t=Math.max(0,t))&&this.viewed&&!this.played&&(r||a.zoomable)){if(!r){var A=Math.max(.01,a.minZoomRatio),g=Math.min(100,a.maxZoomRatio);t=Math.min(Math.max(t,A),g)}if(i)switch(i.type){case"wheel":a.zoomRatio>=.055&&t>.95&&t<1.05&&(t=1);break;case"pointermove":case"touchmove":case"mousemove":t>.99&&t<1.01&&(t=1)}var v=f*t,m=p*t,y=v-h,b=m-d,_=l.ratio;if(R(a.zoom)&&et(o,"zoom",a.zoom,{once:!0}),!1===nt(o,"zoom",{ratio:t,oldRatio:_,originalEvent:i}))return this;if(this.zooming=!0,i){var w=function(t){var e=t.getBoundingClientRect();return{left:e.left+(window.pageXOffset-document.documentElement.clientLeft),top:e.top+(window.pageYOffset-document.documentElement.clientTop)}}(this.viewer),x=s&&Object.keys(s).length>0?function(t){var e=0,n=0,i=0;return Q(t,function(t){var r=t.startX,o=t.startY;e+=r,n+=o,i+=1}),{pageX:e/=i,pageY:n/=i}}(s):{pageX:i.pageX,pageY:i.pageY};l.x-=y*((x.pageX-w.left-c)/h),l.y-=b*((x.pageY-w.top-u)/d)}else l.x-=y/2,l.y-=b/2;l.left=l.x,l.top=l.y,l.width=v,l.height=m,l.oldRatio=_,l.ratio=t,this.renderImage(function(){e.zooming=!1,R(a.zoomed)&&et(o,"zoomed",a.zoomed,{once:!0}),nt(o,"zoomed",{ratio:t,oldRatio:_,originalEvent:i},{cancelable:!1})}),n&&this.tooltip()}return this},play:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.isShown||this.played)return this;var n=this.element,i=this.options;if(R(i.play)&&et(n,"play",i.play,{once:!0}),!1===nt(n,"play"))return this;var r=this.player,o=this.loadImage.bind(this),a=[],s=0,l=0;if(this.played=!0,this.onLoadWhenPlay=o,e&&this.requestFullscreen(e),G(r,S),Q(this.items,function(t,e){var n=t.querySelector("img"),c=document.createElement("img");c.src=q(n,"originalUrl"),c.alt=n.getAttribute("alt"),c.referrerPolicy=n.referrerPolicy,s+=1,G(c,d),K(c,B,i.transition),$(t,u)&&(G(c,b),l=e),a.push(c),et(c,"load",o,{once:!0}),r.appendChild(c)}),F(i.interval)&&i.interval>0){var c=function e(){t.playing=setTimeout(function(){W(a[l],b),G(a[l=(l+=1)<s?l:0],b),e()},i.interval)};s>1&&c()}return this},stop:function(){var t=this;if(!this.played)return this;var e=this.element,n=this.options;if(R(n.stop)&&et(e,"stop",n.stop,{once:!0}),!1===nt(e,"stop"))return this;var i=this.player;return this.played=!1,clearTimeout(this.playing),Q(i.getElementsByTagName("img"),function(e){tt(e,"load",t.onLoadWhenPlay)}),W(i,S),i.innerHTML="",this.exitFullscreen(),this},full:function(){var t=this,e=this.options,n=this.viewer,i=this.image,r=this.list;return!this.isShown||this.played||this.fulled||!e.inline?this:(this.fulled=!0,this.open(),G(this.button,A),e.transition&&(W(r,B),this.viewed&&W(i,B)),G(n,f),n.setAttribute("role","dialog"),n.setAttribute("aria-labelledby",this.title.id),n.setAttribute("aria-modal",!0),n.removeAttribute("style"),z(n,{zIndex:e.zIndex}),e.focus&&this.enforceFocus(),this.initContainer(),this.viewerData=H({},this.containerData),this.renderList(),this.viewed&&this.initImage(function(){t.renderImage(function(){e.transition&&setTimeout(function(){G(i,B),G(r,B)},0)})}),this)},exit:function(){var t=this,e=this.options,n=this.viewer,i=this.image,r=this.list;return this.isShown&&!this.played&&this.fulled&&e.inline?(this.fulled=!1,this.close(),W(this.button,A),e.transition&&(W(r,B),this.viewed&&W(i,B)),e.focus&&this.clearEnforceFocus(),n.removeAttribute("role"),n.removeAttribute("aria-labelledby"),n.removeAttribute("aria-modal"),W(n,f),z(n,{zIndex:e.zIndexInline}),this.viewerData=H({},this.parentData),this.renderViewer(),this.renderList(),this.viewed&&this.initImage(function(){t.renderImage(function(){e.transition&&setTimeout(function(){G(i,B),G(r,B)},0)})}),this):this},tooltip:function(){var t=this,e=this.options,n=this.tooltipBox,i=this.imageData;return this.viewed&&!this.played&&e.tooltip?(n.textContent="".concat(Math.round(100*i.ratio),"%"),this.tooltipping?clearTimeout(this.tooltipping):e.transition?(this.fading&&nt(n,"transitionend"),G(n,S),G(n,d),G(n,B),n.removeAttribute("aria-hidden"),n.initialOffsetWidth=n.offsetWidth,G(n,b)):(G(n,S),n.removeAttribute("aria-hidden")),this.tooltipping=setTimeout(function(){e.transition?(et(n,"transitionend",function(){W(n,S),W(n,d),W(n,B),n.setAttribute("aria-hidden",!0),t.fading=!1},{once:!0}),W(n,b),t.fading=!0):(W(n,S),n.setAttribute("aria-hidden",!0)),t.tooltipping=!1},1e3),this):this},toggle:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return 1===this.imageData.ratio?this.zoomTo(this.imageData.oldRatio,!0,t):this.zoomTo(1,!0,t),this},reset:function(){return this.viewed&&!this.played&&(this.imageData=H({},this.initialImageData),this.renderImage()),this},update:function(){var t=this,e=this.element,n=this.options,i=this.isImg;if(i&&!e.parentNode)return this.destroy();var r=[];if(Q(i?[e]:e.querySelectorAll("img"),function(e){R(n.filter)?n.filter.call(t,e)&&r.push(e):t.getImageURL(e)&&r.push(e)}),!r.length)return this;if(this.images=r,this.length=r.length,this.ready){var o=[];if(Q(this.items,function(t,e){var n=t.querySelector("img"),i=r[e];i&&n&&i.src===n.src&&i.alt===n.alt||o.push(e)}),z(this.list,{width:"auto"}),this.initList(),this.isShown)if(this.length){if(this.viewed){var a=o.indexOf(this.index);if(a>=0)this.viewed=!1,this.view(Math.max(Math.min(this.index-a,this.length-1),0));else{var s=this.items[this.index];G(s,u),s.setAttribute("aria-selected",!0)}}}else this.image=null,this.viewed=!1,this.index=0,this.imageData={},this.canvas.innerHTML="",this.title.innerHTML=""}else this.build();return this},destroy:function(){var t=this.element,e=this.options;return t.viewer?(this.destroyed=!0,this.ready?(this.played&&this.stop(),e.inline?(this.fulled&&this.exit(),this.unbind()):this.isShown?(this.viewing&&(this.imageRendering?this.imageRendering.abort():this.imageInitializing&&this.imageInitializing.abort()),this.hiding&&this.transitioning.abort(),this.hidden()):this.showing&&(this.transitioning.abort(),this.hidden()),this.ready=!1,this.viewer.parentNode.removeChild(this.viewer)):e.inline&&(this.delaying?this.delaying.abort():this.initializing&&this.initializing.abort()),e.inline||tt(t,"click",this.onStart),t.viewer=void 0,this):this}},ft={getImageURL:function(t){var e=this.options.url;return e=D(e)?t.getAttribute(e):R(e)?e.call(this,t):""},enforceFocus:function(){var t=this;this.clearEnforceFocus(),et(document,"focusin",this.onFocusin=function(e){var n=t.viewer,i=e.target;if(i!==document&&i!==n&&!n.contains(i)){for(;i;){if(null!==i.getAttribute("tabindex")||"true"===i.getAttribute("aria-modal"))return;i=i.parentElement}n.focus()}})},clearEnforceFocus:function(){this.onFocusin&&(tt(document,"focusin",this.onFocusin),this.onFocusin=null)},open:function(){var t=this.body;G(t,C),t.style.paddingRight="".concat(this.scrollbarWidth+(parseFloat(this.initialBodyComputedPaddingRight)||0),"px")},close:function(){var t=this.body;W(t,C),t.style.paddingRight=this.initialBodyPaddingRight},shown:function(){var t=this.element,e=this.options,n=this.viewer;this.fulled=!0,this.isShown=!0,this.render(),this.bind(),this.showing=!1,e.focus&&(n.focus(),this.enforceFocus()),R(e.shown)&&et(t,"shown",e.shown,{once:!0}),!1!==nt(t,"shown")&&this.ready&&this.isShown&&!this.hiding&&this.view(this.index)},hidden:function(){var t=this.element,e=this.options,n=this.viewer;e.fucus&&this.clearEnforceFocus(),this.fulled=!1,this.viewed=!1,this.isShown=!1,this.close(),this.unbind(),G(n,g),n.removeAttribute("role"),n.removeAttribute("aria-labelledby"),n.removeAttribute("aria-modal"),n.setAttribute("aria-hidden",!0),this.resetList(),this.resetImage(),this.hiding=!1,this.destroyed||(R(e.hidden)&&et(t,"hidden",e.hidden,{once:!0}),nt(t,"hidden",null,{cancelable:!1}))},requestFullscreen:function(t){var e=this.element.ownerDocument;if(this.fulled&&!(e.fullscreenElement||e.webkitFullscreenElement||e.mozFullScreenElement||e.msFullscreenElement)){var n=e.documentElement;n.requestFullscreen?U(t)?n.requestFullscreen(t):n.requestFullscreen():n.webkitRequestFullscreen?n.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):n.mozRequestFullScreen?n.mozRequestFullScreen():n.msRequestFullscreen&&n.msRequestFullscreen()}},exitFullscreen:function(){var t=this.element.ownerDocument;this.fulled&&(t.fullscreenElement||t.webkitFullscreenElement||t.mozFullScreenElement||t.msFullscreenElement)&&(t.exitFullscreen?t.exitFullscreen():t.webkitExitFullscreen?t.webkitExitFullscreen():t.mozCancelFullScreen?t.mozCancelFullScreen():t.msExitFullscreen&&t.msExitFullscreen())},change:function(t){var n=this.options,i=this.pointers,r=i[Object.keys(i)[0]];if(r){var o=r.endX-r.startX,a=r.endY-r.startY;switch(this.action){case"move":this.move(o,a,t);break;case"zoom":this.zoom(function(t){var n=e({},t),i=[];return Q(t,function(t,e){delete n[e],Q(n,function(e){var n=Math.abs(t.startX-e.startX),r=Math.abs(t.startY-e.startY),o=Math.abs(t.endX-e.endX),a=Math.abs(t.endY-e.endY),s=Math.sqrt(n*n+r*r),l=(Math.sqrt(o*o+a*a)-s)/s;i.push(l)})}),i.sort(function(t,e){return Math.abs(t)<Math.abs(e)}),i[0]}(i),!1,t);break;case"switch":this.action="switched";var s=Math.abs(o);s>1&&s>Math.abs(a)&&(this.pointers={},o>1?this.prev(n.loop):o<-1&&this.next(n.loop))}Q(i,function(t){t.startX=t.endX,t.startY=t.endY})}},isSwitchable:function(){var t=this.imageData,e=this.viewerData;return this.length>1&&t.x>=0&&t.y>=0&&t.width<=e.width&&t.height<=e.height}},pt=s.Viewer,At=(lt=-1,function(){return lt+=1}),gt=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!e||1!==e.nodeType)throw new Error("The first argument is required and must be an element.");this.element=e,this.options=H({},o,U(n)&&n),this.action=!1,this.fading=!1,this.fulled=!1,this.hiding=!1,this.imageClicked=!1,this.imageData={},this.index=this.options.initialViewIndex,this.isImg=!1,this.isShown=!1,this.length=0,this.moving=!1,this.played=!1,this.playing=!1,this.pointers={},this.ready=!1,this.rotating=!1,this.scaling=!1,this.showing=!1,this.timeout=!1,this.tooltipping=!1,this.viewed=!1,this.viewing=!1,this.wheeling=!1,this.zooming=!1,this.id=At(),this.init()}var e,n,r;return e=t,r=[{key:"noConflict",value:function(){return window.Viewer=pt,t}},{key:"setDefaults",value:function(t){H(o,U(t)&&t)}}],(n=[{key:"init",value:function(){var t=this,e=this.element,n=this.options;if(!e.viewer){e.viewer=this,n.focus&&!n.keyboard&&(n.focus=!1);var i="img"===e.localName,r=[];if(Q(i?[e]:e.querySelectorAll("img"),function(e){R(n.filter)?n.filter.call(t,e)&&r.push(e):t.getImageURL(e)&&r.push(e)}),this.isImg=i,this.length=r.length,this.images=r,this.initBody(),P(document.createElement("viewer").style.transition)&&(n.transition=!1),n.inline){var o=0,a=function(){var e;(o+=1)===t.length&&(t.initializing=!1,t.delaying={abort:function(){clearTimeout(e)}},e=setTimeout(function(){t.delaying=!1,t.build()},0))};this.initializing={abort:function(){Q(r,function(t){t.complete||(tt(t,"load",a),tt(t,"error",a))})}},Q(r,function(t){var e,n;t.complete?a():(et(t,"load",e=function(){tt(t,"error",n),a()},{once:!0}),et(t,"error",n=function(){tt(t,"load",e),a()},{once:!0}))})}else et(e,"click",this.onStart=function(e){var i=e.target;"img"!==i.localName||R(n.filter)&&!n.filter.call(t,i)||t.view(t.images.indexOf(i))})}}},{key:"build",value:function(){if(!this.ready){var t=this.element,e=this.options,n=t.parentNode,i=document.createElement("div");i.innerHTML='<div class="viewer-container" tabindex="-1" touch-action="none"><div class="viewer-canvas"></div><div class="viewer-footer"><div class="viewer-title"></div><div class="viewer-toolbar"></div><div class="viewer-navbar"><ul class="viewer-list" role="navigation"></ul></div></div><div class="viewer-tooltip" role="alert" aria-hidden="true"></div><div class="viewer-button" data-viewer-action="mix" role="button"></div><div class="viewer-player"></div></div>';var r=i.querySelector(".".concat("viewer","-container")),o=r.querySelector(".".concat("viewer","-title")),a=r.querySelector(".".concat("viewer","-toolbar")),s=r.querySelector(".".concat("viewer","-navbar")),l=r.querySelector(".".concat("viewer","-button")),c=r.querySelector(".".concat("viewer","-canvas"));if(this.parent=n,this.viewer=r,this.title=o,this.toolbar=a,this.navbar=s,this.button=l,this.canvas=c,this.footer=r.querySelector(".".concat("viewer","-footer")),this.tooltipBox=r.querySelector(".".concat("viewer","-tooltip")),this.player=r.querySelector(".".concat("viewer","-player")),this.list=r.querySelector(".".concat("viewer","-list")),r.id="".concat("viewer").concat(this.id),o.id="".concat("viewer","Title").concat(this.id),G(o,e.title?at(Array.isArray(e.title)?e.title[0]:e.title):g),G(s,e.navbar?at(e.navbar):g),K(l,g,!e.button),e.keyboard&&l.setAttribute("tabindex",0),e.backdrop&&(G(r,"".concat("viewer","-backdrop")),e.inline||"static"===e.backdrop||Z(c,E,"hide")),D(e.className)&&e.className&&e.className.split(I).forEach(function(t){G(r,t)}),e.toolbar){var u=document.createElement("ul"),A=U(e.toolbar),v=M.slice(0,3),m=M.slice(7,9),y=M.slice(9);A||G(a,at(e.toolbar)),Q(A?e.toolbar:M,function(t,n){var i=A&&U(t),r=A?X(n):t,o=i&&!P(t.show)?t.show:t;if(o&&(e.zoomable||-1===v.indexOf(r))&&(e.rotatable||-1===m.indexOf(r))&&(e.scalable||-1===y.indexOf(r))){var a=i&&!P(t.size)?t.size:t,s=i&&!P(t.click)?t.click:t,l=document.createElement("li");e.keyboard&&l.setAttribute("tabindex",0),l.setAttribute("role","button"),G(l,"".concat("viewer","-").concat(r)),R(s)||Z(l,E,r),F(o)&&G(l,at(o)),-1!==["small","large"].indexOf(a)?G(l,"".concat("viewer","-").concat(a)):"play"===r&&G(l,"".concat("viewer","-large")),R(s)&&et(l,"click",s),u.appendChild(l)}}),a.appendChild(u)}else G(a,g);if(!e.rotatable){var b=a.querySelectorAll('li[class*="rotate"]');G(b,_),Q(b,function(t){a.appendChild(t)})}if(e.inline)G(l,p),z(r,{zIndex:e.zIndexInline}),"static"===window.getComputedStyle(n).position&&z(n,{position:"relative"}),n.insertBefore(r,t.nextSibling);else{G(l,h),G(r,f),G(r,d),G(r,g),z(r,{zIndex:e.zIndex});var w=e.container;D(w)&&(w=t.ownerDocument.querySelector(w)),w||(w=this.body),w.appendChild(r)}e.inline&&(this.render(),this.bind(),this.isShown=!0),this.ready=!0,R(e.ready)&&et(t,"ready",e.ready,{once:!0}),!1!==nt(t,"ready")?this.ready&&e.inline&&this.view(this.index):this.ready=!1}}}])&&i(e.prototype,n),r&&i(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();return H(gt.prototype,ct,ut,ht,dt,ft),gt},t.exports=i()},Inmu:function(t,e,n){"use strict";function i(t,e){var n,i,r,o,a,s;for(n=e.length-1;n>=0;n--)95!==(i=e[n]).marker&&42!==i.marker||-1!==i.end&&(r=e[i.end],s=n>0&&e[n-1].end===i.end+1&&e[n-1].marker===i.marker&&e[n-1].token===i.token-1&&e[i.end+1].token===r.token+1,a=String.fromCharCode(i.marker),(o=t.tokens[i.token]).type=s?"strong_open":"em_open",o.tag=s?"strong":"em",o.nesting=1,o.markup=s?a+a:a,o.content="",(o=t.tokens[r.token]).type=s?"strong_close":"em_close",o.tag=s?"strong":"em",o.nesting=-1,o.markup=s?a+a:a,o.content="",s&&(t.tokens[e[n-1].token].content="",t.tokens[e[i.end+1].token].content="",n--))}t.exports.tokenize=function(t,e){var n,i,r=t.pos,o=t.src.charCodeAt(r);if(e)return!1;if(95!==o&&42!==o)return!1;for(i=t.scanDelims(t.pos,42===o),n=0;n<i.length;n++)t.push("text","",0).content=String.fromCharCode(o),t.delimiters.push({marker:o,length:i.length,token:t.tokens.length-1,end:-1,open:i.can_open,close:i.can_close});return t.pos+=i.length,!0},t.exports.postProcess=function(t){var e,n=t.tokens_meta,r=t.tokens_meta.length;for(i(t,t.delimiters),e=0;e<r;e++)n[e]&&n[e].delimiters&&i(t,n[e].delimiters)}},"JP+z":function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),i=0;i<n.length;i++)n[i]=arguments[i];return t.apply(e,n)}}},Jv26:function(t,e,n){"use strict";function i(){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 r=/^([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}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={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};i.prototype.parse=function(t,e){var n,i,o,s,l,A=t;if(A=A.trim(),!e&&1===t.split("#").length){var g=a.exec(A);if(g)return this.pathname=g[1],g[2]&&(this.search=g[2]),this}var v=r.exec(A);if(v&&(o=(v=v[0]).toLowerCase(),this.protocol=v,A=A.substr(v.length)),(e||v||A.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(l="//"===A.substr(0,2))||v&&f[v]||(A=A.substr(2),this.slashes=!0)),!f[v]&&(l||v&&!p[v])){var m,y,b=-1;for(n=0;n<u.length;n++)-1!==(s=A.indexOf(u[n]))&&(-1===b||s<b)&&(b=s);for(-1!==(y=-1===b?A.lastIndexOf("@"):A.lastIndexOf("@",b))&&(m=A.slice(0,y),A=A.slice(y+1),this.auth=m),b=-1,n=0;n<c.length;n++)-1!==(s=A.indexOf(c[n]))&&(-1===b||s<b)&&(b=s);-1===b&&(b=A.length),":"===A[b-1]&&b--;var _=A.slice(0,b);A=A.slice(b),this.parseHost(_),this.hostname=this.hostname||"";var w="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!w){var x=this.hostname.split(/\./);for(n=0,i=x.length;n<i;n++){var C=x[n];if(C&&!C.match(h)){for(var S="",B=0,k=C.length;B<k;B++)C.charCodeAt(B)>127?S+="x":S+=C[B];if(!S.match(h)){var T=x.slice(0,n),O=x.slice(n+1),E=C.match(d);E&&(T.push(E[1]),O.unshift(E[2])),O.length&&(A=O.join(".")+A),this.hostname=T.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),w&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var I=A.indexOf("#");-1!==I&&(this.hash=A.substr(I),A=A.slice(0,I));var M=A.indexOf("?");return-1!==M&&(this.search=A.substr(M),A=A.slice(0,M)),A&&(this.pathname=A),p[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this},i.prototype.parseHost=function(t){var e=o.exec(t);e&&(":"!==(e=e[0])&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)},t.exports=function(t,e){if(t&&t instanceof i)return t;var n=new i;return n.parse(t,e),n}},K0Yi:function(t,e,n){var i;"undefined"!=typeof self&&self,i=function(){return function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="dist/",e(e.s=8)}([function(t,e){function n(t,e){var n=t[1]||"",i=t[3];if(!i)return n;if(e&&"function"==typeof btoa){var r=function(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}(i);return[n].concat(i.sources.map(function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"})).concat([r]).join("\n")}return[n].join("\n")}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i=n(e,t);return e[2]?"@media "+e[2]+"{"+i+"}":i}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var i={},r=0;r<this.length;r++){var o=this[r][0];"number"==typeof o&&(i[o]=!0)}for(r=0;r<t.length;r++){var a=t[r];"number"==typeof a[0]&&i[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}},function(t,e,n){function i(t){for(var e=0;e<t.length;e++){var n=t[e],i=c[n.id];if(i){i.refs++;for(var r=0;r<i.parts.length;r++)i.parts[r](n.parts[r]);for(;r<n.parts.length;r++)i.parts.push(o(n.parts[r]));i.parts.length>n.parts.length&&(i.parts.length=n.parts.length)}else{var a=[];for(r=0;r<n.parts.length;r++)a.push(o(n.parts[r]));c[n.id]={id:n.id,refs:1,parts:a}}}}function r(){var t=document.createElement("style");return t.type="text/css",u.appendChild(t),t}function o(t){var e,n,i=document.querySelector("style["+g+'~="'+t.id+'"]');if(i){if(f)return p;i.parentNode.removeChild(i)}if(v){var o=d++;i=h||(h=r()),e=a.bind(null,i,o,!1),n=a.bind(null,i,o,!0)}else i=r(),e=function(t,e){var n=e.css,i=e.media,r=e.sourceMap;if(i&&t.setAttribute("media",i),A.ssrId&&t.setAttribute(g,e.id),r&&(n+="\n/*# sourceURL="+r.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}.bind(null,i),n=function(){i.parentNode.removeChild(i)};return e(t),function(i){if(i){if(i.css===t.css&&i.media===t.media&&i.sourceMap===t.sourceMap)return;e(t=i)}else n()}}function a(t,e,n,i){var r=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=m(e,r);else{var o=document.createTextNode(r),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}var s="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!s)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var l=n(12),c={},u=s&&(document.head||document.getElementsByTagName("head")[0]),h=null,d=0,f=!1,p=function(){},A=null,g="data-vue-ssr-id",v="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());t.exports=function(t,e,n,r){f=n,A=r||{};var o=l(t,e);return i(o),function(e){for(var n=[],r=0;r<o.length;r++){var a=o[r];(s=c[a.id]).refs--,n.push(s)}e?i(o=l(t,e)):o=[];for(r=0;r<n.length;r++){var s;if(0===(s=n[r]).refs){for(var u=0;u<s.parts.length;u++)s.parts[u]();delete c[s.id]}}}};var m=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}()},function(t,e){t.exports=function(t,e,n,i,r,o){var a,s=t=t||{},l=typeof t.default;"object"!==l&&"function"!==l||(a=t,s=t.default);var c,u="function"==typeof s?s.options:s;if(e&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns,u._compiled=!0),n&&(u.functional=!0),r&&(u._scopeId=r),o?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=c):i&&(c=i),c){var h=u.functional,d=h?u.render:u.beforeCreate;h?(u._injectStyles=c,u.render=function(t,e){return c.call(e),d(t,e)}):u.beforeCreate=d?[].concat(d,c):[c]}return{esModule:a,exports:s,options:u}}},function(t,e,n){"use strict";var i=n(4),r=n(5);n.n(r),e.a={name:"VueAudio",mixins:[i.a],props:["width"],data:function(){return{min:0,max:100,slider:null,thunk:null,per:0,rate:1,isMute:!0,curVolume:.5,totalWidth:500}},watch:{curProgress:function(t){document.onmouseup||(this.per=t)}},computed:{curProgress:function(){return(Math.round(1e4*this.progress)/100).toFixed(2)},scale:function(){return(this.per-this.min)/(this.max-this.min)},pWidth:function(){return this.slider?this.slider.offsetWidth*this.scale+"px":"0px"},left:function(){return this.slider?this.slider.offsetWidth*this.scale-this.thunk.offsetWidth/2+"px":"0px"}},methods:{handleModifyProgress:function(t){if("slider"===t.target.className||"process"===t.target.className){var e=t.offsetX/this.slider.offsetWidth;this.setProgress(e)}},handleSetRate:function(){1===this.rate?(this.rate=.9,this.setRate(this.rate)):.9===this.rate?(this.rate=1.2,this.setRate(this.rate)):(this.rate=1,this.setRate(this.rate))},handleToggleMute:function(){this.isMute?this.isMute=!1:this.isMute=!0,this.toggleMute()},handleSetVolume:function(t){t?this.curVolume+=.1:this.curVolume-=.1,this.curVolume>1?this.curVolume=1:this.curVolume<0&&(this.curVolume=0),this.setVolume(this.curVolume)},_sToMs:function(t){if("number"!=typeof t)return"00:00";t=parseInt(t);var e=void 0;return e=Math.floor(t/60),t%=60,t+="",(e=1==(e+="").length?"0"+e:e)+":"+(t=1==t.length?"0"+t:t)}},mounted:function(){var t=this;this.width&&"number"==typeof this.width&&(this.totalWidth=this.width+"px"),this.setVolume(this.curVolume),this.slider=this.$refs.slider,this.thunk=this.$refs.trunk,this.thunk.onmousedown=function(e){var n=parseInt(t.pWidth),i=e.clientX;return document.onmousemove=function(e){var r=(e.clientX-i+n)/t.slider.offsetWidth;t.per=Math.ceil((t.max-t.min)*r+t.min),t.per=Math.max(t.per,t.min),t.per=Math.min(t.per,t.max)},document.onmouseup=function(){document.onmousemove=document.onmouseup=null,t.setProgress(t.scale)},!1}}}},function(t,e,n){"use strict";var i=n(13),r=(n.n(i),n(15)),o=n.n(r),a=n(16),s=n.n(a),l=n(17),c=n.n(l),u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.a={props:{audioSource:{type:String,required:!0,validator:function(t){return"string"==typeof t&&t.length>0}},autoplay:{type:Boolean,default:!1},loop:{type:Boolean,default:!1},preload:{type:Boolean,default:!0},html5:{type:Boolean,default:!1},formats:{type:Array,default:function(){return[]}},xhrWithCredentials:{type:Boolean,default:!1}},data:function(){var t=this;return{_howl:null,playing:!1,muted:!1,volume:1,rate:1,seek:0,duration:0,_polls:{seek:{id:null,interval:250,hook:function(){t.seek=t.$data._howl.seek()}}},_howlEvents:[{name:"load",hook:function(){t.duration=t.$data._howl.duration()}},"loaderror","playerror",{name:"play",hook:function(){t.playing=!0}},{name:"end",hook:function(){t.playing=!1}},{name:"pause",hook:function(){t.playing=!1}},{name:"stop",hook:function(){t.playing=!1,null!=t.$data._howl&&(t.seek=t.$data._howl.seek())}},"mute",{name:"volume",hook:function(){t.volume=t.$data._howl.volume()}},{name:"rate",hook:function(){t.rate=t.$data._howl.rate()}},{name:"seek",hook:function(){t.playing||(t.seek=t.$data._howl.seek())}},"fade"]}},computed:{progress:function(){return 0===this.duration?0:this.seek/this.duration}},created:function(){this._initialize()},beforeDestroy:function(){this._cleanup()},watch:{playing:function(t){this.seek=this.$data._howl.seek(),t?this.$data._polls.seek.id=setInterval(this.$data._polls.seek.hook,this.$data._polls.seek.interval):clearInterval(this.$data._polls.seek.id)},audioSource:function(t){this._reinitialize()}},methods:{_reinitialize:function(){this._cleanup(!1),this._initialize()},_initialize:function(){var t=this;this.$data._howl=new i.Howl({src:this.audioSource,volume:this.volume,html5:this.html5,loop:this.loop,preload:this.preload,autoplay:this.autoplay,mute:this.muted,rate:this.rate,format:this.formats,xhrWithCredentials:this.xhrWithCredentials});var e=this.$data._howl.duration();this.duration=e,e>0&&this.$emit("load"),this.$data._howlEvents=this.$data._howlEvents.map(function(e){"string"==typeof e&&(e={name:e});var n=function(n,i){"function"==typeof e.hook&&e.hook(n,i),t.$emit(e.name,n,i)};return t.$data._howl.on(e.name,n),c()({},e,{handler:n})})},_cleanup:function(){var t=this,e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.$data._howl&&this.stop(),s()(this.$data._polls).forEach(function(t){null!=t.id&&clearInterval(t.id)}),this.$data._howlEvents.map(function(e){if(e.handler){t.$data._howl&&t.$data._howl.off(e.name,e.handler);var n=c()({},e);return delete n.handler,n}return e}),this.$data._howl=null,this.duration=0,e&&(this.muted=!1,this.volume=1,this.rate=1)},play:function(){this.playing||this.$data._howl.play()},pause:function(){this.playing&&this.$data._howl.pause()},togglePlayback:function(){this.playing?this.$data._howl.pause():this.$data._howl.play()},stop:function(){this.$data._howl.stop()},mute:function(){this.$data._howl.mute(!0),this.muted=!0},unmute:function(){this.$data._howl.mute(!1),this.muted=!1},toggleMute:function(){this.$data._howl.mute(!this.muted),this.muted=!this.muted},setVolume:function(t){if("number"!=typeof t)throw new Error("volume must be a number, got a "+(void 0===t?"undefined":u(t))+" instead");this.$data._howl.volume(o()(t,0,1))},setRate:function(t){if("number"!=typeof t)throw new Error("rate must be a number, got a "+(void 0===t?"undefined":u(t))+" instead");this.$data._howl.rate(o()(t,.5,4))},setSeek:function(t){if("number"!=typeof t)throw new Error("seek must be a number, got a "+(void 0===t?"undefined":u(t))+" instead");this.$data._howl.seek(o()(t,0,this.duration))},setProgress:function(t){if("number"!=typeof t)throw new Error("progress must be a number, got a "+(void 0===t?"undefined":u(t))+" instead");this.setSeek(o()(t,0,1)*this.duration)}}}},function(t,e,n){var i=n(18);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),n(1)("53c61571",i,!0,{})},function(t,e,n){t.exports=n.p+"fonts_/iconfont.c27c4ff.eot"},function(t,e,n){"use strict";var i=n(4),r=n(5);n.n(r),e.a={name:"MiniAudio",mixins:[i.a],props:["width"],data:function(){return{min:0,max:100,slider:null,thunk:null,per:0,rate:1,isMute:!0,curVolume:.5,totalWidth:500}},watch:{curProgress:function(t){document.onmouseup||(this.per=t)}},computed:{curProgress:function(){return(Math.round(1e4*this.progress)/100).toFixed(2)},scale:function(){return(this.per-this.min)/(this.max-this.min)},pWidth:function(){return this.slider?this.slider.offsetWidth*this.scale+"px":"0px"},left:function(){return this.slider?this.slider.offsetWidth*this.scale-this.thunk.offsetWidth/2+"px":"0px"}},methods:{handleModifyProgress:function(t){if("slider"===t.target.className||"process"===t.target.className){var e=t.offsetX/this.slider.offsetWidth;this.setProgress(e)}},handleToggleMute:function(){this.isMute?this.isMute=!1:this.isMute=!0,this.toggleMute()},_sToMs:function(t){if("number"!=typeof t)return"00:00";t=parseInt(t);var e=void 0;return e=Math.floor(t/60),t%=60,t+="",(e=1==(e+="").length?"0"+e:e)+":"+(t=1==t.length?"0"+t:t)}},mounted:function(){var t=this;this.width&&"number"==typeof this.width&&(this.totalWidth=this.width+"px"),this.setVolume(this.curVolume),this.slider=this.$refs.slider,this.thunk=this.$refs.trunk,this.thunk.onmousedown=function(e){var n=parseInt(t.pWidth),i=e.clientX;return document.onmousemove=function(e){var r=(e.clientX-i+n)/t.slider.offsetWidth;t.per=Math.ceil((t.max-t.min)*r+t.min),t.per=Math.max(t.per,t.min),t.per=Math.min(t.per,t.max)},document.onmouseup=function(){document.onmousemove=document.onmouseup=null,t.setProgress(t.scale)},!1}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"VueAudioPlugin",function(){return a});var i=n(9),r=n(24);n.d(e,"VueAudio",function(){return i.a});var o={VueAudio:i.a,MiniAudio:r.a},a={install:function(t,e){Object.keys(o).forEach(function(e){t.component(o[e].name,o[e])})}};"undefined"!=typeof window&&window.Vue&&window.Vue.use(a),e.default=a},function(t,e,n){"use strict";var i=n(3),r=n(23),o=function(t){n(10)},a=n(2)(i.a,r.a,!1,o,"data-v-14400722",null);e.a=a.exports},function(t,e,n){var i=n(11);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),n(1)("26d24087",i,!0,{})},function(t,e,n){(t.exports=n(0)(!1)).push([t.i,".vueAudioBetter[data-v-14400722]{overflow:hidden;width:500px;margin:0 auto;background-color:#f3f2bd;border-radius:8px;box-shadow:5px 5px 10px -4px #63645e;background-image:linear-gradient(90deg,#9ca5f5,#7ff5ae)}.vueAudioBetter .total[data-v-14400722]{margin:20px auto;display:flex;align-items:center;justify-content:space-around;width:80%}.vueAudioBetter .operatorButton[data-v-14400722]{margin:0 auto;display:flex;align-items:center;justify-content:space-around;width:80%;height:38px}.operatorButton .rate[data-v-14400722]{font-size:32px}.operatorButton span[data-v-14400722]{font-size:24px;color:#0c0c0cb8;cursor:pointer}.operatorButton span[data-v-14400722]:first-child{color:#4a3535;font-size:28px}.operatorButton span[data-v-14400722]:hover{font-size:30px}.operatorButton span[data-v-14400722]:last-child:hover{font-size:36px}.vueAudioBetter .slider[data-v-14400722]{position:relative;margin:26px auto;width:80%;height:10px;background:#f8f7f7;border-radius:5px;cursor:pointer}.slider .process[data-v-14400722]{position:absolute;left:0;top:0;width:112px;height:10px;border-radius:5px;background:#409eff}.slider .thunk[data-v-14400722]{position:absolute;left:100px;top:-7px;width:20px;height:20px}.slider .block[data-v-14400722]{width:20px;height:20px;border-radius:50%;border:2px solid #409eff;background:#fff;transition:all .2s}.slider .block[data-v-14400722]:hover{transform:scale(1.1);opacity:.6}.slider .progressInfo[data-v-14400722]{position:absolute;top:-28px;color:#117eeb;font-weight:600}.operatorButton .iconfont[data-v-14400722]:active{position:relative;top:2px;left:2px}",""])},function(t,e){t.exports=function(t,e){for(var n=[],i={},r=0;r<e.length;r++){var o=e[r],a=o[0],s={id:t+":"+r,css:o[1],media:o[2],sourceMap:o[3]};i[a]?i[a].parts.push(s):n.push(i[a]={id:a,parts:[s]})}return n}},function(t,e,n){(function(n){var i;
  48. /*!
  49. * howler.js v2.1.2
  50. * howlerjs.com
  51. *
  52. * (c) 2013-2019, James Simpson of GoldFire Studios
  53. * goldfirestudios.com
  54. *
  55. * MIT License
  56. */!function(){"use strict";var r=function(){this.init()};r.prototype={init:function(){var t=this||o;return t._counter=1e3,t._html5AudioPool=[],t.html5PoolSize=10,t._codecs={},t._howls=[],t._muted=!1,t._volume=1,t._canPlayEvent="canplaythrough",t._navigator="undefined"!=typeof window&&window.navigator?window.navigator:null,t.masterGain=null,t.noAudio=!1,t.usingWebAudio=!0,t.autoSuspend=!0,t.ctx=null,t.autoUnlock=!0,t._setup(),t},volume:function(t){var e=this||o;if(t=parseFloat(t),e.ctx||f(),void 0!==t&&t>=0&&t<=1){if(e._volume=t,e._muted)return e;e.usingWebAudio&&e.masterGain.gain.setValueAtTime(t,o.ctx.currentTime);for(var n=0;n<e._howls.length;n++)if(!e._howls[n]._webAudio)for(var i=e._howls[n]._getSoundIds(),r=0;r<i.length;r++){var a=e._howls[n]._soundById(i[r]);a&&a._node&&(a._node.volume=a._volume*t)}return e}return e._volume},mute:function(t){var e=this||o;e.ctx||f(),e._muted=t,e.usingWebAudio&&e.masterGain.gain.setValueAtTime(t?0:e._volume,o.ctx.currentTime);for(var n=0;n<e._howls.length;n++)if(!e._howls[n]._webAudio)for(var i=e._howls[n]._getSoundIds(),r=0;r<i.length;r++){var a=e._howls[n]._soundById(i[r]);a&&a._node&&(a._node.muted=!!t||a._muted)}return e},unload:function(){for(var t=this||o,e=t._howls.length-1;e>=0;e--)t._howls[e].unload();return t.usingWebAudio&&t.ctx&&void 0!==t.ctx.close&&(t.ctx.close(),t.ctx=null,f()),t},codecs:function(t){return(this||o)._codecs[t.replace(/^x-/,"")]},_setup:function(){var t=this||o;if(t.state=t.ctx&&t.ctx.state||"suspended",t._autoSuspend(),!t.usingWebAudio)if("undefined"!=typeof Audio)try{void 0===(new Audio).oncanplaythrough&&(t._canPlayEvent="canplay")}catch(e){t.noAudio=!0}else t.noAudio=!0;try{(new Audio).muted&&(t.noAudio=!0)}catch(t){}return t.noAudio||t._setupCodecs(),t},_setupCodecs:function(){var t=this||o,e=null;try{e="undefined"!=typeof Audio?new Audio:null}catch(e){return t}if(!e||"function"!=typeof e.canPlayType)return t;var n=e.canPlayType("audio/mpeg;").replace(/^no$/,""),i=t._navigator&&t._navigator.userAgent.match(/OPR\/([0-6].)/g),r=i&&parseInt(i[0].split("/")[1],10)<33;return t._codecs={mp3:!(r||!n&&!e.canPlayType("audio/mp3;").replace(/^no$/,"")),mpeg:!!n,opus:!!e.canPlayType('audio/ogg; codecs="opus"').replace(/^no$/,""),ogg:!!e.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),oga:!!e.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),wav:!!e.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),aac:!!e.canPlayType("audio/aac;").replace(/^no$/,""),caf:!!e.canPlayType("audio/x-caf;").replace(/^no$/,""),m4a:!!(e.canPlayType("audio/x-m4a;")||e.canPlayType("audio/m4a;")||e.canPlayType("audio/aac;")).replace(/^no$/,""),mp4:!!(e.canPlayType("audio/x-mp4;")||e.canPlayType("audio/mp4;")||e.canPlayType("audio/aac;")).replace(/^no$/,""),weba:!!e.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,""),webm:!!e.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,""),dolby:!!e.canPlayType('audio/mp4; codecs="ec-3"').replace(/^no$/,""),flac:!!(e.canPlayType("audio/x-flac;")||e.canPlayType("audio/flac;")).replace(/^no$/,"")},t},_unlockAudio:function(){var t=this||o;if(!t._audioUnlocked&&t.ctx){t._audioUnlocked=!1,t.autoUnlock=!1,t._mobileUnloaded||44100===t.ctx.sampleRate||(t._mobileUnloaded=!0,t.unload()),t._scratchBuffer=t.ctx.createBuffer(1,1,22050);var e=function(n){for(var i=0;i<t.html5PoolSize;i++)try{var r=new Audio;r._unlocked=!0,t._releaseHtml5Audio(r)}catch(n){t.noAudio=!0}for(i=0;i<t._howls.length;i++)if(!t._howls[i]._webAudio)for(var o=t._howls[i]._getSoundIds(),a=0;a<o.length;a++){var s=t._howls[i]._soundById(o[a]);s&&s._node&&!s._node._unlocked&&(s._node._unlocked=!0,s._node.load())}t._autoResume();var l=t.ctx.createBufferSource();l.buffer=t._scratchBuffer,l.connect(t.ctx.destination),void 0===l.start?l.noteOn(0):l.start(0),"function"==typeof t.ctx.resume&&t.ctx.resume(),l.onended=function(){l.disconnect(0),t._audioUnlocked=!0,document.removeEventListener("touchstart",e,!0),document.removeEventListener("touchend",e,!0),document.removeEventListener("click",e,!0);for(var n=0;n<t._howls.length;n++)t._howls[n]._emit("unlock")}};return document.addEventListener("touchstart",e,!0),document.addEventListener("touchend",e,!0),document.addEventListener("click",e,!0),t}},_obtainHtml5Audio:function(){var t=this||o;if(t._html5AudioPool.length)return t._html5AudioPool.pop();var e=(new Audio).play();return e&&"undefined"!=typeof Promise&&(e instanceof Promise||"function"==typeof e.then)&&e.catch(function(){console.warn("HTML5 Audio pool exhausted, returning potentially locked audio object.")}),new Audio},_releaseHtml5Audio:function(t){var e=this||o;return t._unlocked&&e._html5AudioPool.push(t),e},_autoSuspend:function(){var t=this;if(t.autoSuspend&&t.ctx&&void 0!==t.ctx.suspend&&o.usingWebAudio){for(var e=0;e<t._howls.length;e++)if(t._howls[e]._webAudio)for(var n=0;n<t._howls[e]._sounds.length;n++)if(!t._howls[e]._sounds[n]._paused)return t;return t._suspendTimer&&clearTimeout(t._suspendTimer),t._suspendTimer=setTimeout(function(){t.autoSuspend&&(t._suspendTimer=null,t.state="suspending",t.ctx.suspend().then(function(){t.state="suspended",t._resumeAfterSuspend&&(delete t._resumeAfterSuspend,t._autoResume())}))},3e4),t}},_autoResume:function(){var t=this;if(t.ctx&&void 0!==t.ctx.resume&&o.usingWebAudio)return"running"===t.state&&t._suspendTimer?(clearTimeout(t._suspendTimer),t._suspendTimer=null):"suspended"===t.state?(t.ctx.resume().then(function(){t.state="running";for(var e=0;e<t._howls.length;e++)t._howls[e]._emit("resume")}),t._suspendTimer&&(clearTimeout(t._suspendTimer),t._suspendTimer=null)):"suspending"===t.state&&(t._resumeAfterSuspend=!0),t}};var o=new r,a=function(t){t.src&&0!==t.src.length?this.init(t):console.error("An array of source files must be passed with any new Howl.")};a.prototype={init:function(t){var e=this;return o.ctx||f(),e._autoplay=t.autoplay||!1,e._format="string"!=typeof t.format?t.format:[t.format],e._html5=t.html5||!1,e._muted=t.mute||!1,e._loop=t.loop||!1,e._pool=t.pool||5,e._preload="boolean"!=typeof t.preload||t.preload,e._rate=t.rate||1,e._sprite=t.sprite||{},e._src="string"!=typeof t.src?t.src:[t.src],e._volume=void 0!==t.volume?t.volume:1,e._xhrWithCredentials=t.xhrWithCredentials||!1,e._duration=0,e._state="unloaded",e._sounds=[],e._endTimers={},e._queue=[],e._playLock=!1,e._onend=t.onend?[{fn:t.onend}]:[],e._onfade=t.onfade?[{fn:t.onfade}]:[],e._onload=t.onload?[{fn:t.onload}]:[],e._onloaderror=t.onloaderror?[{fn:t.onloaderror}]:[],e._onplayerror=t.onplayerror?[{fn:t.onplayerror}]:[],e._onpause=t.onpause?[{fn:t.onpause}]:[],e._onplay=t.onplay?[{fn:t.onplay}]:[],e._onstop=t.onstop?[{fn:t.onstop}]:[],e._onmute=t.onmute?[{fn:t.onmute}]:[],e._onvolume=t.onvolume?[{fn:t.onvolume}]:[],e._onrate=t.onrate?[{fn:t.onrate}]:[],e._onseek=t.onseek?[{fn:t.onseek}]:[],e._onunlock=t.onunlock?[{fn:t.onunlock}]:[],e._onresume=[],e._webAudio=o.usingWebAudio&&!e._html5,void 0!==o.ctx&&o.ctx&&o.autoUnlock&&o._unlockAudio(),o._howls.push(e),e._autoplay&&e._queue.push({event:"play",action:function(){e.play()}}),e._preload&&e.load(),e},load:function(){var t=this,e=null;if(!o.noAudio){"string"==typeof t._src&&(t._src=[t._src]);for(var n=0;n<t._src.length;n++){var i,r;if(t._format&&t._format[n])i=t._format[n];else{if("string"!=typeof(r=t._src[n])){t._emit("loaderror",null,"Non-string found in selected audio sources - ignoring.");continue}(i=/^data:audio\/([^;,]+);/i.exec(r))||(i=/\.([^.]+)$/.exec(r.split("?",1)[0])),i&&(i=i[1].toLowerCase())}if(i||console.warn('No file extension was found. Consider using the "format" property or specify an extension.'),i&&o.codecs(i)){e=t._src[n];break}}return e?(t._src=e,t._state="loading","https:"===window.location.protocol&&"http:"===e.slice(0,5)&&(t._html5=!0,t._webAudio=!1),new s(t),t._webAudio&&c(t),t):void t._emit("loaderror",null,"No codec support for selected audio sources.")}t._emit("loaderror",null,"No audio support.")},play:function(t,e){var n=this,i=null;if("number"==typeof t)i=t,t=null;else{if("string"==typeof t&&"loaded"===n._state&&!n._sprite[t])return null;if(void 0===t&&(t="__default",!n._playLock)){for(var r=0,a=0;a<n._sounds.length;a++)n._sounds[a]._paused&&!n._sounds[a]._ended&&(r++,i=n._sounds[a]._id);1===r?t=null:i=null}}var s=i?n._soundById(i):n._inactiveSound();if(!s)return null;if(i&&!t&&(t=s._sprite||"__default"),"loaded"!==n._state){s._sprite=t,s._ended=!1;var l=s._id;return n._queue.push({event:"play",action:function(){n.play(l)}}),l}if(i&&!s._paused)return e||n._loadQueue("play"),s._id;n._webAudio&&o._autoResume();var c=Math.max(0,s._seek>0?s._seek:n._sprite[t][0]/1e3),u=Math.max(0,(n._sprite[t][0]+n._sprite[t][1])/1e3-c),h=1e3*u/Math.abs(s._rate),d=n._sprite[t][0]/1e3,f=(n._sprite[t][0]+n._sprite[t][1])/1e3,p=!(!s._loop&&!n._sprite[t][2]);s._sprite=t,s._ended=!1;var A=function(){s._paused=!1,s._seek=c,s._start=d,s._stop=f,s._loop=p};if(!(c>=f)){var g=s._node;if(n._webAudio){var v=function(){n._playLock=!1,A(),n._refreshBuffer(s);var t=s._muted||n._muted?0:s._volume;g.gain.setValueAtTime(t,o.ctx.currentTime),s._playStart=o.ctx.currentTime,void 0===g.bufferSource.start?s._loop?g.bufferSource.noteGrainOn(0,c,86400):g.bufferSource.noteGrainOn(0,c,u):s._loop?g.bufferSource.start(0,c,86400):g.bufferSource.start(0,c,u),h!==1/0&&(n._endTimers[s._id]=setTimeout(n._ended.bind(n,s),h)),e||setTimeout(function(){n._emit("play",s._id),n._loadQueue()},0)};"running"===o.state?v():(n._playLock=!0,n.once("resume",v),n._clearTimer(s._id))}else{var m=function(){g.currentTime=c,g.muted=s._muted||n._muted||o._muted||g.muted,g.volume=s._volume*o.volume(),g.playbackRate=s._rate;try{var i=g.play();if(i&&"undefined"!=typeof Promise&&(i instanceof Promise||"function"==typeof i.then)?(n._playLock=!0,A(),i.then(function(){n._playLock=!1,g._unlocked=!0,e||(n._emit("play",s._id),n._loadQueue())}).catch(function(){n._playLock=!1,n._emit("playerror",s._id,"Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction."),s._ended=!0,s._paused=!0})):e||(n._playLock=!1,A(),n._emit("play",s._id),n._loadQueue()),g.playbackRate=s._rate,g.paused)return void n._emit("playerror",s._id,"Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction.");"__default"!==t||s._loop?n._endTimers[s._id]=setTimeout(n._ended.bind(n,s),h):(n._endTimers[s._id]=function(){n._ended(s),g.removeEventListener("ended",n._endTimers[s._id],!1)},g.addEventListener("ended",n._endTimers[s._id],!1))}catch(t){n._emit("playerror",s._id,t)}};"data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA"===g.src&&(g.src=n._src,g.load());var y=window&&window.ejecta||!g.readyState&&o._navigator.isCocoonJS;if(g.readyState>=3||y)m();else{n._playLock=!0;var b=function(){m(),g.removeEventListener(o._canPlayEvent,b,!1)};g.addEventListener(o._canPlayEvent,b,!1),n._clearTimer(s._id)}}return s._id}n._ended(s)},pause:function(t){var e=this;if("loaded"!==e._state||e._playLock)return e._queue.push({event:"pause",action:function(){e.pause(t)}}),e;for(var n=e._getSoundIds(t),i=0;i<n.length;i++){e._clearTimer(n[i]);var r=e._soundById(n[i]);if(r&&!r._paused&&(r._seek=e.seek(n[i]),r._rateSeek=0,r._paused=!0,e._stopFade(n[i]),r._node))if(e._webAudio){if(!r._node.bufferSource)continue;void 0===r._node.bufferSource.stop?r._node.bufferSource.noteOff(0):r._node.bufferSource.stop(0),e._cleanBuffer(r._node)}else isNaN(r._node.duration)&&r._node.duration!==1/0||r._node.pause();arguments[1]||e._emit("pause",r?r._id:null)}return e},stop:function(t,e){var n=this;if("loaded"!==n._state||n._playLock)return n._queue.push({event:"stop",action:function(){n.stop(t)}}),n;for(var i=n._getSoundIds(t),r=0;r<i.length;r++){n._clearTimer(i[r]);var o=n._soundById(i[r]);o&&(o._seek=o._start||0,o._rateSeek=0,o._paused=!0,o._ended=!0,n._stopFade(i[r]),o._node&&(n._webAudio?o._node.bufferSource&&(void 0===o._node.bufferSource.stop?o._node.bufferSource.noteOff(0):o._node.bufferSource.stop(0),n._cleanBuffer(o._node)):isNaN(o._node.duration)&&o._node.duration!==1/0||(o._node.currentTime=o._start||0,o._node.pause(),o._node.duration===1/0&&n._clearSound(o._node))),e||n._emit("stop",o._id))}return n},mute:function(t,e){var n=this;if("loaded"!==n._state||n._playLock)return n._queue.push({event:"mute",action:function(){n.mute(t,e)}}),n;if(void 0===e){if("boolean"!=typeof t)return n._muted;n._muted=t}for(var i=n._getSoundIds(e),r=0;r<i.length;r++){var a=n._soundById(i[r]);a&&(a._muted=t,a._interval&&n._stopFade(a._id),n._webAudio&&a._node?a._node.gain.setValueAtTime(t?0:a._volume,o.ctx.currentTime):a._node&&(a._node.muted=!!o._muted||t),n._emit("mute",a._id))}return n},volume:function(){var t,e,n,i=this,r=arguments;if(0===r.length)return i._volume;if(1===r.length||2===r.length&&void 0===r[1]?i._getSoundIds().indexOf(r[0])>=0?e=parseInt(r[0],10):t=parseFloat(r[0]):r.length>=2&&(t=parseFloat(r[0]),e=parseInt(r[1],10)),!(void 0!==t&&t>=0&&t<=1))return(n=e?i._soundById(e):i._sounds[0])?n._volume:0;if("loaded"!==i._state||i._playLock)return i._queue.push({event:"volume",action:function(){i.volume.apply(i,r)}}),i;void 0===e&&(i._volume=t),e=i._getSoundIds(e);for(var a=0;a<e.length;a++)(n=i._soundById(e[a]))&&(n._volume=t,r[2]||i._stopFade(e[a]),i._webAudio&&n._node&&!n._muted?n._node.gain.setValueAtTime(t,o.ctx.currentTime):n._node&&!n._muted&&(n._node.volume=t*o.volume()),i._emit("volume",n._id));return i},fade:function(t,e,n,i){var r=this;if("loaded"!==r._state||r._playLock)return r._queue.push({event:"fade",action:function(){r.fade(t,e,n,i)}}),r;t=parseFloat(t),e=parseFloat(e),n=parseFloat(n),r.volume(t,i);for(var a=r._getSoundIds(i),s=0;s<a.length;s++){var l=r._soundById(a[s]);if(l){if(i||r._stopFade(a[s]),r._webAudio&&!l._muted){var c=o.ctx.currentTime,u=c+n/1e3;l._volume=t,l._node.gain.setValueAtTime(t,c),l._node.gain.linearRampToValueAtTime(e,u)}r._startFadeInterval(l,t,e,n,a[s],void 0===i)}}return r},_startFadeInterval:function(t,e,n,i,r,o){var a=this,s=e,l=n-e,c=Math.abs(l/.01),u=Math.max(4,c>0?i/c:i),h=Date.now();t._fadeTo=n,t._interval=setInterval(function(){var r=(Date.now()-h)/i;h=Date.now(),s+=l*r,s=Math.max(0,s),s=Math.min(1,s),s=Math.round(100*s)/100,a._webAudio?t._volume=s:a.volume(s,t._id,!0),o&&(a._volume=s),(n<e&&s<=n||n>e&&s>=n)&&(clearInterval(t._interval),t._interval=null,t._fadeTo=null,a.volume(n,t._id),a._emit("fade",t._id))},u)},_stopFade:function(t){var e=this,n=e._soundById(t);return n&&n._interval&&(e._webAudio&&n._node.gain.cancelScheduledValues(o.ctx.currentTime),clearInterval(n._interval),n._interval=null,e.volume(n._fadeTo,t),n._fadeTo=null,e._emit("fade",t)),e},loop:function(){var t,e,n,i=this,r=arguments;if(0===r.length)return i._loop;if(1===r.length){if("boolean"!=typeof r[0])return!!(n=i._soundById(parseInt(r[0],10)))&&n._loop;t=r[0],i._loop=t}else 2===r.length&&(t=r[0],e=parseInt(r[1],10));for(var o=i._getSoundIds(e),a=0;a<o.length;a++)(n=i._soundById(o[a]))&&(n._loop=t,i._webAudio&&n._node&&n._node.bufferSource&&(n._node.bufferSource.loop=t,t&&(n._node.bufferSource.loopStart=n._start||0,n._node.bufferSource.loopEnd=n._stop)));return i},rate:function(){var t,e,n,i=this,r=arguments;if(0===r.length)e=i._sounds[0]._id;else if(1===r.length){i._getSoundIds().indexOf(r[0])>=0?e=parseInt(r[0],10):t=parseFloat(r[0])}else 2===r.length&&(t=parseFloat(r[0]),e=parseInt(r[1],10));if("number"!=typeof t)return(n=i._soundById(e))?n._rate:i._rate;if("loaded"!==i._state||i._playLock)return i._queue.push({event:"rate",action:function(){i.rate.apply(i,r)}}),i;void 0===e&&(i._rate=t),e=i._getSoundIds(e);for(var a=0;a<e.length;a++)if(n=i._soundById(e[a])){i.playing(e[a])&&(n._rateSeek=i.seek(e[a]),n._playStart=i._webAudio?o.ctx.currentTime:n._playStart),n._rate=t,i._webAudio&&n._node&&n._node.bufferSource?n._node.bufferSource.playbackRate.setValueAtTime(t,o.ctx.currentTime):n._node&&(n._node.playbackRate=t);var s=i.seek(e[a]),l=1e3*((i._sprite[n._sprite][0]+i._sprite[n._sprite][1])/1e3-s)/Math.abs(n._rate);!i._endTimers[e[a]]&&n._paused||(i._clearTimer(e[a]),i._endTimers[e[a]]=setTimeout(i._ended.bind(i,n),l)),i._emit("rate",n._id)}return i},seek:function(){var t,e,n=this,i=arguments;if(0===i.length)e=n._sounds[0]._id;else if(1===i.length){n._getSoundIds().indexOf(i[0])>=0?e=parseInt(i[0],10):n._sounds.length&&(e=n._sounds[0]._id,t=parseFloat(i[0]))}else 2===i.length&&(t=parseFloat(i[0]),e=parseInt(i[1],10));if(void 0===e)return n;if("loaded"!==n._state||n._playLock)return n._queue.push({event:"seek",action:function(){n.seek.apply(n,i)}}),n;var r=n._soundById(e);if(r){if(!("number"==typeof t&&t>=0)){if(n._webAudio){var a=n.playing(e)?o.ctx.currentTime-r._playStart:0,s=r._rateSeek?r._rateSeek-r._seek:0;return r._seek+(s+a*Math.abs(r._rate))}return r._node.currentTime}var l=n.playing(e);l&&n.pause(e,!0),r._seek=t,r._ended=!1,n._clearTimer(e),n._webAudio||!r._node||isNaN(r._node.duration)||(r._node.currentTime=t);var c=function(){n._emit("seek",e),l&&n.play(e,!0)};if(l&&!n._webAudio){var u=function(){n._playLock?setTimeout(u,0):c()};setTimeout(u,0)}else c()}return n},playing:function(t){var e=this;if("number"==typeof t){var n=e._soundById(t);return!!n&&!n._paused}for(var i=0;i<e._sounds.length;i++)if(!e._sounds[i]._paused)return!0;return!1},duration:function(t){var e=this,n=e._duration,i=e._soundById(t);return i&&(n=e._sprite[i._sprite][1]/1e3),n},state:function(){return this._state},unload:function(){for(var t=this,e=t._sounds,n=0;n<e.length;n++)e[n]._paused||t.stop(e[n]._id),t._webAudio||(t._clearSound(e[n]._node),e[n]._node.removeEventListener("error",e[n]._errorFn,!1),e[n]._node.removeEventListener(o._canPlayEvent,e[n]._loadFn,!1),o._releaseHtml5Audio(e[n]._node)),delete e[n]._node,t._clearTimer(e[n]._id);var i=o._howls.indexOf(t);i>=0&&o._howls.splice(i,1);var r=!0;for(n=0;n<o._howls.length;n++)if(o._howls[n]._src===t._src||t._src.indexOf(o._howls[n]._src)>=0){r=!1;break}return l&&r&&delete l[t._src],o.noAudio=!1,t._state="unloaded",t._sounds=[],t=null,null},on:function(t,e,n,i){var r=this["_on"+t];return"function"==typeof e&&r.push(i?{id:n,fn:e,once:i}:{id:n,fn:e}),this},off:function(t,e,n){var i=this,r=i["_on"+t],o=0;if("number"==typeof e&&(n=e,e=null),e||n)for(o=0;o<r.length;o++){var a=n===r[o].id;if(e===r[o].fn&&a||!e&&a){r.splice(o,1);break}}else if(t)i["_on"+t]=[];else{var s=Object.keys(i);for(o=0;o<s.length;o++)0===s[o].indexOf("_on")&&Array.isArray(i[s[o]])&&(i[s[o]]=[])}return i},once:function(t,e,n){return this.on(t,e,n,1),this},_emit:function(t,e,n){for(var i=this,r=i["_on"+t],o=r.length-1;o>=0;o--)r[o].id&&r[o].id!==e&&"load"!==t||(setTimeout(function(t){t.call(this,e,n)}.bind(i,r[o].fn),0),r[o].once&&i.off(t,r[o].fn,r[o].id));return i._loadQueue(t),i},_loadQueue:function(t){var e=this;if(e._queue.length>0){var n=e._queue[0];n.event===t&&(e._queue.shift(),e._loadQueue()),t||n.action()}return e},_ended:function(t){var e=this,n=t._sprite;if(!e._webAudio&&t._node&&!t._node.paused&&!t._node.ended&&t._node.currentTime<t._stop)return setTimeout(e._ended.bind(e,t),100),e;var i=!(!t._loop&&!e._sprite[n][2]);if(e._emit("end",t._id),!e._webAudio&&i&&e.stop(t._id,!0).play(t._id),e._webAudio&&i){e._emit("play",t._id),t._seek=t._start||0,t._rateSeek=0,t._playStart=o.ctx.currentTime;var r=1e3*(t._stop-t._start)/Math.abs(t._rate);e._endTimers[t._id]=setTimeout(e._ended.bind(e,t),r)}return e._webAudio&&!i&&(t._paused=!0,t._ended=!0,t._seek=t._start||0,t._rateSeek=0,e._clearTimer(t._id),e._cleanBuffer(t._node),o._autoSuspend()),e._webAudio||i||e.stop(t._id,!0),e},_clearTimer:function(t){var e=this;if(e._endTimers[t]){if("function"!=typeof e._endTimers[t])clearTimeout(e._endTimers[t]);else{var n=e._soundById(t);n&&n._node&&n._node.removeEventListener("ended",e._endTimers[t],!1)}delete e._endTimers[t]}return e},_soundById:function(t){for(var e=this,n=0;n<e._sounds.length;n++)if(t===e._sounds[n]._id)return e._sounds[n];return null},_inactiveSound:function(){var t=this;t._drain();for(var e=0;e<t._sounds.length;e++)if(t._sounds[e]._ended)return t._sounds[e].reset();return new s(t)},_drain:function(){var t=this,e=t._pool,n=0,i=0;if(!(t._sounds.length<e)){for(i=0;i<t._sounds.length;i++)t._sounds[i]._ended&&n++;for(i=t._sounds.length-1;i>=0;i--){if(n<=e)return;t._sounds[i]._ended&&(t._webAudio&&t._sounds[i]._node&&t._sounds[i]._node.disconnect(0),t._sounds.splice(i,1),n--)}}},_getSoundIds:function(t){if(void 0===t){for(var e=[],n=0;n<this._sounds.length;n++)e.push(this._sounds[n]._id);return e}return[t]},_refreshBuffer:function(t){return t._node.bufferSource=o.ctx.createBufferSource(),t._node.bufferSource.buffer=l[this._src],t._panner?t._node.bufferSource.connect(t._panner):t._node.bufferSource.connect(t._node),t._node.bufferSource.loop=t._loop,t._loop&&(t._node.bufferSource.loopStart=t._start||0,t._node.bufferSource.loopEnd=t._stop||0),t._node.bufferSource.playbackRate.setValueAtTime(t._rate,o.ctx.currentTime),this},_cleanBuffer:function(t){var e=o._navigator&&o._navigator.vendor.indexOf("Apple")>=0;if(o._scratchBuffer&&t.bufferSource&&(t.bufferSource.onended=null,t.bufferSource.disconnect(0),e))try{t.bufferSource.buffer=o._scratchBuffer}catch(t){}return t.bufferSource=null,this},_clearSound:function(t){/MSIE |Trident\//.test(o._navigator&&o._navigator.userAgent)||(t.src="data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA")}};var s=function(t){this._parent=t,this.init()};s.prototype={init:function(){var t=this,e=t._parent;return t._muted=e._muted,t._loop=e._loop,t._volume=e._volume,t._rate=e._rate,t._seek=0,t._paused=!0,t._ended=!0,t._sprite="__default",t._id=++o._counter,e._sounds.push(t),t.create(),t},create:function(){var t=this,e=t._parent,n=o._muted||t._muted||t._parent._muted?0:t._volume;return e._webAudio?(t._node=void 0===o.ctx.createGain?o.ctx.createGainNode():o.ctx.createGain(),t._node.gain.setValueAtTime(n,o.ctx.currentTime),t._node.paused=!0,t._node.connect(o.masterGain)):(t._node=o._obtainHtml5Audio(),t._errorFn=t._errorListener.bind(t),t._node.addEventListener("error",t._errorFn,!1),t._loadFn=t._loadListener.bind(t),t._node.addEventListener(o._canPlayEvent,t._loadFn,!1),t._node.src=e._src,t._node.preload="auto",t._node.volume=n*o.volume(),t._node.load()),t},reset:function(){var t=this,e=t._parent;return t._muted=e._muted,t._loop=e._loop,t._volume=e._volume,t._rate=e._rate,t._seek=0,t._rateSeek=0,t._paused=!0,t._ended=!0,t._sprite="__default",t._id=++o._counter,t},_errorListener:function(){var t=this;t._parent._emit("loaderror",t._id,t._node.error?t._node.error.code:0),t._node.removeEventListener("error",t._errorFn,!1)},_loadListener:function(){var t=this,e=t._parent;e._duration=Math.ceil(10*t._node.duration)/10,0===Object.keys(e._sprite).length&&(e._sprite={__default:[0,1e3*e._duration]}),"loaded"!==e._state&&(e._state="loaded",e._emit("load"),e._loadQueue()),t._node.removeEventListener(o._canPlayEvent,t._loadFn,!1)}};var l={},c=function(t){var e=t._src;if(l[e])return t._duration=l[e].duration,void d(t);if(/^data:[^;]+;base64,/.test(e)){for(var n=atob(e.split(",")[1]),i=new Uint8Array(n.length),r=0;r<n.length;++r)i[r]=n.charCodeAt(r);h(i.buffer,t)}else{var o=new XMLHttpRequest;o.open("GET",e,!0),o.withCredentials=t._xhrWithCredentials,o.responseType="arraybuffer",o.onload=function(){var e=(o.status+"")[0];"0"===e||"2"===e||"3"===e?h(o.response,t):t._emit("loaderror",null,"Failed loading audio file with status: "+o.status+".")},o.onerror=function(){t._webAudio&&(t._html5=!0,t._webAudio=!1,t._sounds=[],delete l[e],t.load())},u(o)}},u=function(t){try{t.send()}catch(e){t.onerror()}},h=function(t,e){var n=function(){e._emit("loaderror",null,"Decoding audio data failed.")},i=function(t){t&&e._sounds.length>0?(l[e._src]=t,d(e,t)):n()};"undefined"!=typeof Promise&&1===o.ctx.decodeAudioData.length?o.ctx.decodeAudioData(t).then(i).catch(n):o.ctx.decodeAudioData(t,i,n)},d=function(t,e){e&&!t._duration&&(t._duration=e.duration),0===Object.keys(t._sprite).length&&(t._sprite={__default:[0,1e3*t._duration]}),"loaded"!==t._state&&(t._state="loaded",t._emit("load"),t._loadQueue())},f=function(){if(o.usingWebAudio){try{"undefined"!=typeof AudioContext?o.ctx=new AudioContext:"undefined"!=typeof webkitAudioContext?o.ctx=new webkitAudioContext:o.usingWebAudio=!1}catch(t){o.usingWebAudio=!1}o.ctx||(o.usingWebAudio=!1);var t=/iP(hone|od|ad)/.test(o._navigator&&o._navigator.platform),e=o._navigator&&o._navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/),n=e?parseInt(e[1],10):null;if(t&&n&&n<9){var i=/safari/.test(o._navigator&&o._navigator.userAgent.toLowerCase());(o._navigator&&o._navigator.standalone&&!i||o._navigator&&!o._navigator.standalone&&!i)&&(o.usingWebAudio=!1)}o.usingWebAudio&&(o.masterGain=void 0===o.ctx.createGain?o.ctx.createGainNode():o.ctx.createGain(),o.masterGain.gain.setValueAtTime(o._muted?0:1,o.ctx.currentTime),o.masterGain.connect(o.ctx.destination)),o._setup()}};void 0!==(i=function(){return{Howler:o,Howl:a}}.apply(e,[]))&&(t.exports=i),e.Howler=o,e.Howl=a,"undefined"!=typeof window?(window.HowlerGlobal=r,window.Howler=o,window.Howl=a,window.Sound=s):void 0!==n&&(n.HowlerGlobal=r,n.Howler=o,n.Howl=a,n.Sound=s)}(),
  57. /*!
  58. * Spatial Plugin - Adds support for stereo and 3D audio where Web Audio is supported.
  59. *
  60. * howler.js v2.1.2
  61. * howlerjs.com
  62. *
  63. * (c) 2013-2019, James Simpson of GoldFire Studios
  64. * goldfirestudios.com
  65. *
  66. * MIT License
  67. */
  68. function(){"use strict";HowlerGlobal.prototype._pos=[0,0,0],HowlerGlobal.prototype._orientation=[0,0,-1,0,1,0],HowlerGlobal.prototype.stereo=function(t){var e=this;if(!e.ctx||!e.ctx.listener)return e;for(var n=e._howls.length-1;n>=0;n--)e._howls[n].stereo(t);return e},HowlerGlobal.prototype.pos=function(t,e,n){var i=this;return i.ctx&&i.ctx.listener?(e="number"!=typeof e?i._pos[1]:e,n="number"!=typeof n?i._pos[2]:n,"number"!=typeof t?i._pos:(i._pos=[t,e,n],void 0!==i.ctx.listener.positionX?(i.ctx.listener.positionX.setTargetAtTime(i._pos[0],Howler.ctx.currentTime,.1),i.ctx.listener.positionY.setTargetAtTime(i._pos[1],Howler.ctx.currentTime,.1),i.ctx.listener.positionZ.setTargetAtTime(i._pos[2],Howler.ctx.currentTime,.1)):i.ctx.listener.setPosition(i._pos[0],i._pos[1],i._pos[2]),i)):i},HowlerGlobal.prototype.orientation=function(t,e,n,i,r,o){var a=this;if(!a.ctx||!a.ctx.listener)return a;var s=a._orientation;return e="number"!=typeof e?s[1]:e,n="number"!=typeof n?s[2]:n,i="number"!=typeof i?s[3]:i,r="number"!=typeof r?s[4]:r,o="number"!=typeof o?s[5]:o,"number"!=typeof t?s:(a._orientation=[t,e,n,i,r,o],void 0!==a.ctx.listener.forwardX?(a.ctx.listener.forwardX.setTargetAtTime(t,Howler.ctx.currentTime,.1),a.ctx.listener.forwardY.setTargetAtTime(e,Howler.ctx.currentTime,.1),a.ctx.listener.forwardZ.setTargetAtTime(n,Howler.ctx.currentTime,.1),a.ctx.listener.upX.setTargetAtTime(t,Howler.ctx.currentTime,.1),a.ctx.listener.upY.setTargetAtTime(e,Howler.ctx.currentTime,.1),a.ctx.listener.upZ.setTargetAtTime(n,Howler.ctx.currentTime,.1)):a.ctx.listener.setOrientation(t,e,n,i,r,o),a)},Howl.prototype.init=function(t){return function(e){var n=this;return n._orientation=e.orientation||[1,0,0],n._stereo=e.stereo||null,n._pos=e.pos||null,n._pannerAttr={coneInnerAngle:void 0!==e.coneInnerAngle?e.coneInnerAngle:360,coneOuterAngle:void 0!==e.coneOuterAngle?e.coneOuterAngle:360,coneOuterGain:void 0!==e.coneOuterGain?e.coneOuterGain:0,distanceModel:void 0!==e.distanceModel?e.distanceModel:"inverse",maxDistance:void 0!==e.maxDistance?e.maxDistance:1e4,panningModel:void 0!==e.panningModel?e.panningModel:"HRTF",refDistance:void 0!==e.refDistance?e.refDistance:1,rolloffFactor:void 0!==e.rolloffFactor?e.rolloffFactor:1},n._onstereo=e.onstereo?[{fn:e.onstereo}]:[],n._onpos=e.onpos?[{fn:e.onpos}]:[],n._onorientation=e.onorientation?[{fn:e.onorientation}]:[],t.call(this,e)}}(Howl.prototype.init),Howl.prototype.stereo=function(e,n){var i=this;if(!i._webAudio)return i;if("loaded"!==i._state)return i._queue.push({event:"stereo",action:function(){i.stereo(e,n)}}),i;var r=void 0===Howler.ctx.createStereoPanner?"spatial":"stereo";if(void 0===n){if("number"!=typeof e)return i._stereo;i._stereo=e,i._pos=[e,0,0]}for(var o=i._getSoundIds(n),a=0;a<o.length;a++){var s=i._soundById(o[a]);if(s){if("number"!=typeof e)return s._stereo;s._stereo=e,s._pos=[e,0,0],s._node&&(s._pannerAttr.panningModel="equalpower",s._panner&&s._panner.pan||t(s,r),"spatial"===r?void 0!==s._panner.positionX?(s._panner.positionX.setValueAtTime(e,Howler.ctx.currentTime),s._panner.positionY.setValueAtTime(0,Howler.ctx.currentTime),s._panner.positionZ.setValueAtTime(0,Howler.ctx.currentTime)):s._panner.setPosition(e,0,0):s._panner.pan.setValueAtTime(e,Howler.ctx.currentTime)),i._emit("stereo",s._id)}}return i},Howl.prototype.pos=function(e,n,i,r){var o=this;if(!o._webAudio)return o;if("loaded"!==o._state)return o._queue.push({event:"pos",action:function(){o.pos(e,n,i,r)}}),o;if(n="number"!=typeof n?0:n,i="number"!=typeof i?-.5:i,void 0===r){if("number"!=typeof e)return o._pos;o._pos=[e,n,i]}for(var a=o._getSoundIds(r),s=0;s<a.length;s++){var l=o._soundById(a[s]);if(l){if("number"!=typeof e)return l._pos;l._pos=[e,n,i],l._node&&(l._panner&&!l._panner.pan||t(l,"spatial"),void 0!==l._panner.positionX?(l._panner.positionX.setValueAtTime(e,Howler.ctx.currentTime),l._panner.positionY.setValueAtTime(n,Howler.ctx.currentTime),l._panner.positionZ.setValueAtTime(i,Howler.ctx.currentTime)):l._panner.setPosition(e,n,i)),o._emit("pos",l._id)}}return o},Howl.prototype.orientation=function(e,n,i,r){var o=this;if(!o._webAudio)return o;if("loaded"!==o._state)return o._queue.push({event:"orientation",action:function(){o.orientation(e,n,i,r)}}),o;if(n="number"!=typeof n?o._orientation[1]:n,i="number"!=typeof i?o._orientation[2]:i,void 0===r){if("number"!=typeof e)return o._orientation;o._orientation=[e,n,i]}for(var a=o._getSoundIds(r),s=0;s<a.length;s++){var l=o._soundById(a[s]);if(l){if("number"!=typeof e)return l._orientation;l._orientation=[e,n,i],l._node&&(l._panner||(l._pos||(l._pos=o._pos||[0,0,-.5]),t(l,"spatial")),void 0!==l._panner.orientationX?(l._panner.orientationX.setValueAtTime(e,Howler.ctx.currentTime),l._panner.orientationY.setValueAtTime(n,Howler.ctx.currentTime),l._panner.orientationZ.setValueAtTime(i,Howler.ctx.currentTime)):l._panner.setOrientation(e,n,i)),o._emit("orientation",l._id)}}return o},Howl.prototype.pannerAttr=function(){var e,n,i,r=this,o=arguments;if(!r._webAudio)return r;if(0===o.length)return r._pannerAttr;if(1===o.length){if("object"!=typeof o[0])return(i=r._soundById(parseInt(o[0],10)))?i._pannerAttr:r._pannerAttr;e=o[0],void 0===n&&(e.pannerAttr||(e.pannerAttr={coneInnerAngle:e.coneInnerAngle,coneOuterAngle:e.coneOuterAngle,coneOuterGain:e.coneOuterGain,distanceModel:e.distanceModel,maxDistance:e.maxDistance,refDistance:e.refDistance,rolloffFactor:e.rolloffFactor,panningModel:e.panningModel}),r._pannerAttr={coneInnerAngle:void 0!==e.pannerAttr.coneInnerAngle?e.pannerAttr.coneInnerAngle:r._coneInnerAngle,coneOuterAngle:void 0!==e.pannerAttr.coneOuterAngle?e.pannerAttr.coneOuterAngle:r._coneOuterAngle,coneOuterGain:void 0!==e.pannerAttr.coneOuterGain?e.pannerAttr.coneOuterGain:r._coneOuterGain,distanceModel:void 0!==e.pannerAttr.distanceModel?e.pannerAttr.distanceModel:r._distanceModel,maxDistance:void 0!==e.pannerAttr.maxDistance?e.pannerAttr.maxDistance:r._maxDistance,refDistance:void 0!==e.pannerAttr.refDistance?e.pannerAttr.refDistance:r._refDistance,rolloffFactor:void 0!==e.pannerAttr.rolloffFactor?e.pannerAttr.rolloffFactor:r._rolloffFactor,panningModel:void 0!==e.pannerAttr.panningModel?e.pannerAttr.panningModel:r._panningModel})}else 2===o.length&&(e=o[0],n=parseInt(o[1],10));for(var a=r._getSoundIds(n),s=0;s<a.length;s++)if(i=r._soundById(a[s])){var l=i._pannerAttr;l={coneInnerAngle:void 0!==e.coneInnerAngle?e.coneInnerAngle:l.coneInnerAngle,coneOuterAngle:void 0!==e.coneOuterAngle?e.coneOuterAngle:l.coneOuterAngle,coneOuterGain:void 0!==e.coneOuterGain?e.coneOuterGain:l.coneOuterGain,distanceModel:void 0!==e.distanceModel?e.distanceModel:l.distanceModel,maxDistance:void 0!==e.maxDistance?e.maxDistance:l.maxDistance,refDistance:void 0!==e.refDistance?e.refDistance:l.refDistance,rolloffFactor:void 0!==e.rolloffFactor?e.rolloffFactor:l.rolloffFactor,panningModel:void 0!==e.panningModel?e.panningModel:l.panningModel};var c=i._panner;c?(c.coneInnerAngle=l.coneInnerAngle,c.coneOuterAngle=l.coneOuterAngle,c.coneOuterGain=l.coneOuterGain,c.distanceModel=l.distanceModel,c.maxDistance=l.maxDistance,c.refDistance=l.refDistance,c.rolloffFactor=l.rolloffFactor,c.panningModel=l.panningModel):(i._pos||(i._pos=r._pos||[0,0,-.5]),t(i,"spatial"))}return r},Sound.prototype.init=function(t){return function(){var e=this,n=e._parent;e._orientation=n._orientation,e._stereo=n._stereo,e._pos=n._pos,e._pannerAttr=n._pannerAttr,t.call(this),e._stereo?n.stereo(e._stereo):e._pos&&n.pos(e._pos[0],e._pos[1],e._pos[2],e._id)}}(Sound.prototype.init),Sound.prototype.reset=function(t){return function(){var e=this,n=e._parent;return e._orientation=n._orientation,e._stereo=n._stereo,e._pos=n._pos,e._pannerAttr=n._pannerAttr,e._stereo?n.stereo(e._stereo):e._pos?n.pos(e._pos[0],e._pos[1],e._pos[2],e._id):e._panner&&(e._panner.disconnect(0),e._panner=void 0,n._refreshBuffer(e)),t.call(this)}}(Sound.prototype.reset);var t=function(t,e){"spatial"===(e=e||"spatial")?(t._panner=Howler.ctx.createPanner(),t._panner.coneInnerAngle=t._pannerAttr.coneInnerAngle,t._panner.coneOuterAngle=t._pannerAttr.coneOuterAngle,t._panner.coneOuterGain=t._pannerAttr.coneOuterGain,t._panner.distanceModel=t._pannerAttr.distanceModel,t._panner.maxDistance=t._pannerAttr.maxDistance,t._panner.refDistance=t._pannerAttr.refDistance,t._panner.rolloffFactor=t._pannerAttr.rolloffFactor,t._panner.panningModel=t._pannerAttr.panningModel,void 0!==t._panner.positionX?(t._panner.positionX.setValueAtTime(t._pos[0],Howler.ctx.currentTime),t._panner.positionY.setValueAtTime(t._pos[1],Howler.ctx.currentTime),t._panner.positionZ.setValueAtTime(t._pos[2],Howler.ctx.currentTime)):t._panner.setPosition(t._pos[0],t._pos[1],t._pos[2]),void 0!==t._panner.orientationX?(t._panner.orientationX.setValueAtTime(t._orientation[0],Howler.ctx.currentTime),t._panner.orientationY.setValueAtTime(t._orientation[1],Howler.ctx.currentTime),t._panner.orientationZ.setValueAtTime(t._orientation[2],Howler.ctx.currentTime)):t._panner.setOrientation(t._orientation[0],t._orientation[1],t._orientation[2])):(t._panner=Howler.ctx.createStereoPanner(),t._panner.pan.setValueAtTime(t._stereo,Howler.ctx.currentTime)),t._panner.connect(t._node),t._paused||t._parent.pause(t._id,!0).play(t._id,!0)}}()}).call(e,n(14))},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";t.exports=function(t,e,n){if(e>n)throw new RangeError("`min` should be lower than `max`");return t<e?e:t>n?n:t}},function(t,e,n){"use strict";t.exports=function(t){return Object.keys(t).map(function(e){return t[e]})}},function(t,e,n){"use strict";
  69. /*
  70. object-assign
  71. (c) Sindre Sorhus
  72. @license MIT
  73. */
  74. var i=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(t){i[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var n,a,s=function(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(t),l=1;l<arguments.length;l++){for(var c in n=Object(arguments[l]))r.call(n,c)&&(s[c]=n[c]);if(i){a=i(n);for(var u=0;u<a.length;u++)o.call(n,a[u])&&(s[a[u]]=n[a[u]])}}return s}},function(t,e,n){var i=n(19);(t.exports=n(0)(!1)).push([t.i,"@font-face{font-family:iconfont;src:url("+i(n(6))+");src:url("+i(n(6))+'#iefix) format("embedded-opentype"),url("data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAhwAAsAAAAAFIAAAAgjAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCEbAqYbJNwATYCJANACyIABCAFhG0HgX0bFxFRlFBSF9lPTZ4Etp2Ms+EMcC7A4UYBAA8AAJgAFEgRD//t9799ZuaKP1n/N1SSRrx5IpFJLCKZKhYyidI8UrKX8O6dezMgjh2V5FcjUmiXtL30p5S8y316fk5PqfmxcBvCTbsQNtIEKPwaqJpEaiLh34HNgdY3r0yUidGpIi/uJPq5+f+/n6sTq1saTR/e1gqnU8L/82cc7jbkYWrNkniiUsU8QiMTadITkRSJnE4oCYO1lQNeNLRRhL0Vv/N2Ar2DDvTdvrh7ZKMKRgL1nupMstGaVwkYQxtbO04t4oNKm16mn4D39vPjP7gQCEmVsUMfPjlP2dGv3C7M7BiPtYJ9PoHXs8g4jynEJ2fKRznH5y3tXU2L55iNWXq39Ku1j8/f+fzvH36JMOVh3NE2/vl9E497dywtbLhx2TrdJv/mJVlRqbU6vcZgNJktRI3QEdofZDnPdhlF8OtNkAh7ByCD/QlQwP4CqMD+RhQ1v++D1rIHAB3YQ0TR8wcBDRgPYADjA4xgpiBCzB0EmAcw5GClTzmMuYmVNVZNGL9rRZZ4yaCzuSesNVzoZbMQhyiyEgutN4WFboxgs51MuVyBIGEu34TNfI4bvqoKuJhAYM7tkISXC1v5JY4Ly1fQIY2lUPUzW2jpeRhGX8VkKzbs+WVaKlLOiq3WDBK9p6dy7tAB3OKIjtRqvc13kdLVWfFzA63XFyrn1g7gT12V83eNPdNLtczA6Awyw6YSfTEKmGXpKgShyl+yhmGQv2wFAOytMMtVp59Yg4WnIRh5OUQhVq1BUGNP4SkDJNFTyoPL0/i6DjBab2qfk0QfqzxotuxxRAemzSlYsio6eNqdoJTSZQYfUMjWJE06UjG9X6SndmvDdymVKvFFgxMqnZ3DMNWqJqVEZVLJFHZswexCKcAADKoJeSHorfte8h9De9tyD7MrzqvJnh4e091tkgAGVUecD+lXRRoZuey+y5cvPhYlnkp+x1R0sQo/H4HvoRCt1riEDCfjU6Si0YUoa1pWuqh3t/1wsWRHj6iiwI/Y4IrGu0SixTIUYDTAIOo4BLP/4PE59stp5TW/cMcxVWlCARYH1pVpAA2hgNyKwGQzZmbnws+nKI6mRKTPvEMsl3s76kLkhD88ecgNPVB3NTpfgc5Xp0aZUnUAd7gUnJ6FgiUmUkL+9cZjej2llxJarTAzpE5nltEGQ4qE4D4FhHf3H12j/5wyfEHrPiO1n7ayMBiT3bSH49WH1KUeyvDwYWr6qjpdJcZCy2TvQlPisbjuratqqsuEkGAMZXEBb/lL8CAuz8qOOKMuYkhEg5BMUfEyyfYvfA003n63jr5yKHz0xJJjcp1d/MTG0fCql6S/7vYoAokg3qd4z/HD5e2Yv8kInvYyRHFJb4aPmCRIZjKKZqFGSNgkYxUEPbto3HvztPCfnEzac1oyXWornbPSaPhCayEffwW4GrctiXPdJHlbkfoSJGB2fmEi/JDMuP/Vq587jSbQ0XvCk2Ykge4zf4VszgqxrB0tL/6UHebQxBt76fxL7jutSG9e2kivhxn6qesjuqXljVdmzIPMZz64OmK9yRxUdYSXFiYPBocOFqZElv58tfBB7bNxH2I1Mn9PGrpnD5qDonQsMiOYQWITReUVkElTzopghTO5lUax7PbmqbQ2rpYpldadEd5OWypsO5GffKTTujJEJ9PDqk+3FH0ksyWaExTZ0dlRomY09tx4ZZvm+zRNyMMH6vKUj87Zhmw3ESpWxPnpzYsna7Mrb9RsiyZecQkdrP8SfpDCX+UTeXkmJaig4pPu1k/pF48sC6QI32ndVf1JG+ehXS07NEevdQUnY9zaP70lytkN/vtOPi53GhtPUo455Q6A3MUVWqyjFhaoqXyxlboo5++P3PndD+48wsqgY7e3o3eAII72kVNqoVwoc5bj8iPnn/CGVYkcx1+tetp9b1UnC777Tu5Qfcu3vcfqV0cOOvWvPhRVmk1l32g/holC8/+/OCP82y/dDbMsvgvxMNblx7fEcZs5s8hxZJbTjVhAfp8Z/yh5KtkcRDzzdcgfG8t3KHRUC8lIhVRNcixU0x4d8R+MPla2tJFx6i22vT37LQ729spVps5cYFgfgr0LxKz0bc3U+5X19HH4669h5T7+IsNVgrByvnEbpybt/bD+HZHlPTn14T564uIGznGG4xnmB6ZgUMX4CayBbazymjJW+QE4ACwCP2f1AYyakDo+QwNp6vZtzG5A3fbnnSrT6N8Q7P/OnLf+rM3Z7Y2MbkV+gVbCUoMtir3noPLjpL5V+RoYaZstaBWQTVFCzzPY0YyNvzX5Xm/7ZozvlShpHEBZ67iyaM+jyuASqrWuod45l2cPttCAKB3Oek1QWHlDyewzylbelUX7iyr7/lFtFTDqPYqFSw5ORsv4KYIkSHnc4zoxtRIJNJ7Vv4esVUqsOq3/M6DT+Tz0gmb5JdSAcxzh2llEpLhCU/GL5G5QloZbNDkk5DWJbMP3letILzEVG3cLAhLp8Cku1rPUEkZNTUzGWx9/D2RaShIGuv22fAaQo5fPhTxBD+UlrXt1uy9NnbZMhIhQuGyLjAp3QQQoeYnBWfdOOZAgnuaIIqvBJ8OpvtRbn1e3PHXz9ciedxWsyFGiijqaaKOLPoYYY4o5lliF0OwzQ1rpRJK+LtvqspxE06pTmaaVocuBHIOx7mo17CxAejhiePiyXTTV14oJZUIvEdvPWtlykGhMSjhsLJlxZGwa3ZayN3gietB4v0HjMY2HKl233KAtlYcx") format("woff2"),url('+i(n(20))+') format("woff"),url('+i(n(21))+') format("truetype"),url('+i(n(22))+'#iconfont) format("svg")}.iconfont{font-family:iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-notificationfill:before{content:"\\E66A"}.icon-roundaddfill:before{content:"\\E6D8"}.icon-notificationforbidfill:before{content:"\\E6DB"}.icon-speed-:before{content:"\\E6F8"}.icon-speed-1:before{content:"\\E6F9"}.icon-speed-2:before{content:"\\E6FA"}.icon-subtract_fill:before{content:"\\E808"}.icon-pausecircle-fill:before{content:"\\E7CB"}.icon-stopcircle-fill:before{content:"\\E7CC"}.icon-playcircle-fill:before{content:"\\E7CD"}.icon-pausecircle:before{content:"\\E80D"}.icon-stopcircle:before{content:"\\E80E"}.icon-playcircle:before{content:"\\E80F"}.icon-minus:before{content:"\\E828"}.icon-plus:before{content:"\\E829"}',""])},function(t,e){t.exports=function(t){return"string"!=typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),/["'() \t\n]/.test(t)?'"'+t.replace(/"/g,'\\"').replace(/\n/g,"\\n")+'"':t)}},function(t,e,n){t.exports=n.p+"fonts_/iconfont.4175e88.woff"},function(t,e,n){t.exports=n.p+"fonts_/iconfont.169d273.ttf"},function(t,e,n){t.exports=n.p+"iconfont.svg?9df776fc48542e6eefa4869722fb14a3"},function(t,e,n){"use strict";var i={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vueAudioBetter",style:{width:t.totalWidth}},[n("div",{staticClass:"total"},[n("span",{staticStyle:{"font-weight":"700"}},[t._v(t._s(t._sToMs(t.seek))+" / "+t._s(t._sToMs(t.duration)))]),t._v(" "),n("span",{staticStyle:{"font-weight":"700"}},[t._v(t._s(t.curProgress)+"%")])]),t._v(" "),n("div",{staticClass:"operatorButton"},[t.playing?n("span",{staticClass:"iconfont icon-pausecircle-fill",on:{click:t.togglePlayback}}):n("span",{staticClass:"iconfont icon-playcircle-fill",on:{click:t.togglePlayback}}),t._v(" "),n("span",{staticClass:"iconfont icon-stopcircle-fill",on:{click:t.stop}}),t._v(" "),t.isMute?n("span",{staticClass:"iconfont icon-notificationfill",on:{click:t.handleToggleMute}}):n("span",{staticClass:"iconfont icon-notificationforbidfill",on:{click:t.handleToggleMute}}),t._v(" "),n("span",{staticClass:"iconfont icon-roundaddfill",on:{click:function(e){return t.handleSetVolume(!0)}}}),t._v(" "),n("span",{staticClass:"iconfont icon-subtract_fill",on:{click:function(e){return t.handleSetVolume(!1)}}}),t._v(" "),.9===t.rate?n("span",{staticClass:"iconfont icon-speed-2 rate",on:{click:t.handleSetRate}}):t._e(),t._v(" "),1===t.rate?n("span",{staticClass:"iconfont icon-speed-1 rate",on:{click:t.handleSetRate}}):t._e(),t._v(" "),1.2===t.rate?n("span",{staticClass:"iconfont icon-speed- rate",on:{click:t.handleSetRate}}):t._e()]),t._v(" "),n("div",{ref:"slider",staticClass:"slider",on:{click:t.handleModifyProgress}},[n("div",{staticClass:"progressInfo"}),t._v(" "),n("div",{staticClass:"process",style:{width:t.pWidth}}),t._v(" "),n("div",{ref:"trunk",staticClass:"thunk",style:{left:t.left}},[n("div",{staticClass:"block"})])])])},staticRenderFns:[]};e.a=i},function(t,e,n){"use strict";var i=n(7),r=n(27),o=function(t){n(25)},a=n(2)(i.a,r.a,!1,o,"data-v-3a8dc9f9",null);e.a=a.exports},function(t,e,n){var i=n(26);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),n(1)("5920a118",i,!0,{})},function(t,e,n){(t.exports=n(0)(!1)).push([t.i,".vueAudioBetter[data-v-3a8dc9f9]{display:flex;align-items:center;justify-content:space-between;overflow:hidden;width:300px;height:40px;line-height:40px;margin:14px;padding:0 14px;border-radius:20px;box-shadow:5px 5px 10px -4px #63645e;background-image:linear-gradient(90deg,#9ca5f5,#7ff5ae)}.vueAudioBetter span[data-v-3a8dc9f9]{font-size:16px;color:#1f0719c7;cursor:pointer}.operate span[data-v-3a8dc9f9]:last-child{position:relative;top:-1px;font-size:14px;color:#1f0719c7;cursor:default}.vueAudioBetter .iconfont[data-v-3a8dc9f9]:active{position:relative;top:2px;left:2px}.vueAudioBetter .slider[data-v-3a8dc9f9]{position:relative;width:40%;height:4px;background:#f8f7f7;border-radius:2px;cursor:pointer}.slider .process[data-v-3a8dc9f9]{position:absolute;left:0;top:0;width:112px;height:4px;border-radius:2px;background:#409eff}.slider .thunk[data-v-3a8dc9f9]{position:absolute;left:100px;top:-3px;width:8px;height:8px}.slider .block[data-v-3a8dc9f9]{width:8px;height:8px;border-radius:50%;border:1px solid #409eff;background:#fff;transition:all .2s}.slider .block[data-v-3a8dc9f9]:hover{transform:scale(1.1);opacity:.6}.slider .progressInfo[data-v-3a8dc9f9]{position:absolute;top:-28px;color:#117eeb;font-weight:600}",""])},function(t,e,n){"use strict";var i={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vueAudioBetter",style:{width:t.totalWidth}},[n("div",{staticClass:"operate"},[t.playing?n("span",{staticClass:"iconfont icon-pausecircle-fill",on:{click:t.togglePlayback}}):n("span",{staticClass:"iconfont icon-playcircle-fill",on:{click:t.togglePlayback}}),t._v(" "),n("span",{staticClass:"iconfont icon-stopcircle-fill",on:{click:t.stop}}),t._v(" "),n("span",{staticStyle:{color:"white","padding-left":"6px"}},[t._v(t._s(t._sToMs(t.seek))+" / "+t._s(t._sToMs(t.duration)))])]),t._v(" "),n("div",{ref:"slider",staticClass:"slider",on:{click:t.handleModifyProgress}},[n("div",{staticClass:"progressInfo"}),t._v(" "),n("div",{staticClass:"process",style:{width:t.pWidth}}),t._v(" "),n("div",{ref:"trunk",staticClass:"thunk",style:{left:t.left}},[n("div",{staticClass:"block"})])]),t._v(" "),t.isMute?n("span",{staticClass:"iconfont icon-notificationfill",on:{click:t.handleToggleMute}}):n("span",{staticClass:"iconfont icon-notificationforbidfill",on:{click:t.handleToggleMute}})])},staticRenderFns:[]};e.a=i}])},t.exports=i()},K8D5:function(t,e,n){"use strict";t.exports=function(t){var e="";return e+=t.protocol||"",e+=t.slashes?"//":"",e+=t.auth?t.auth+"@":"",t.hostname&&-1!==t.hostname.indexOf(":")?e+="["+t.hostname+"]":e+=t.hostname||"",e+=t.port?":"+t.port:"",e+=t.pathname||"",e+=t.search||"",e+=t.hash||""}},KCLY:function(t,e,n){"use strict";(function(e){var i=n("cGG2"),r=n("5VQ+"),o={"Content-Type":"application/x-www-form-urlencoded"};function a(t,e){!i.isUndefined(t)&&i.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var s,l={adapter:("undefined"!=typeof XMLHttpRequest?s=n("7GwW"):void 0!==e&&"[object process]"===Object.prototype.toString.call(e)&&(s=n("7GwW")),s),transformRequest:[function(t,e){return r(e,"Accept"),r(e,"Content-Type"),i.isFormData(t)||i.isArrayBuffer(t)||i.isBuffer(t)||i.isStream(t)||i.isFile(t)||i.isBlob(t)?t:i.isArrayBufferView(t)?t.buffer:i.isURLSearchParams(t)?(a(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):i.isObject(t)?(a(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300}};l.headers={common:{Accept:"application/json, text/plain, */*"}},i.forEach(["delete","get","head"],function(t){l.headers[t]={}}),i.forEach(["post","put","patch"],function(t){l.headers[t]=i.merge(o)}),t.exports=l}).call(e,n("W2nU"))},Kh4W:function(t,e,n){e.f=n("dSzd")},L42u:function(t,e,n){var i,r,o,a=n("+ZMJ"),s=n("knuC"),l=n("RPLV"),c=n("ON07"),u=n("7KvD"),h=u.process,d=u.setImmediate,f=u.clearImmediate,p=u.MessageChannel,A=u.Dispatch,g=0,v={},m=function(){var t=+this;if(v.hasOwnProperty(t)){var e=v[t];delete v[t],e()}},y=function(t){m.call(t.data)};d&&f||(d=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return v[++g]=function(){s("function"==typeof t?t:Function(t),e)},i(g),g},f=function(t){delete v[t]},"process"==n("R9M2")(h)?i=function(t){h.nextTick(a(m,t,1))}:A&&A.now?i=function(t){A.now(a(m,t,1))}:p?(o=(r=new p).port2,r.port1.onmessage=y,i=a(o.postMessage,o,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(i=function(t){u.postMessage(t+"","*")},u.addEventListener("message",y,!1)):i="onreadystatechange"in c("script")?function(t){l.appendChild(c("script")).onreadystatechange=function(){l.removeChild(this),m.call(t)}}:function(t){setTimeout(a(m,t,1),0)}),t.exports={set:d,clear:f}},LAoY:function(t,e,n){"use strict";t.exports=function(t,e){var n,i,r,o,a,s,l,c,u=t.pos;if(96!==t.src.charCodeAt(u))return!1;for(n=u,u++,i=t.posMax;u<i&&96===t.src.charCodeAt(u);)u++;if(l=(r=t.src.slice(n,u)).length,t.backticksScanned&&(t.backticks[l]||0)<=n)return e||(t.pending+=r),t.pos+=l,!0;for(s=u;-1!==(a=t.src.indexOf("`",s));){for(s=a+1;s<i&&96===t.src.charCodeAt(s);)s++;if((c=s-a)===l)return e||((o=t.push("code_inline","code",0)).markup=r,o.content=t.src.slice(u,a).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),t.pos=s,!0;t.backticks[c]=a}return t.backticksScanned=!0,e||(t.pending+=r),t.pos+=l,!0}},LIJb:function(t,e,n){var i=n("EqjI");t.exports=function(t,e){if(!i(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},LKZe:function(t,e,n){var i=n("NpIQ"),r=n("X8DO"),o=n("TcQ7"),a=n("MmMw"),s=n("D2L2"),l=n("SfB7"),c=Object.getOwnPropertyDescriptor;e.f=n("+E39")?c:function(t,e){if(t=o(t),e=a(e,!0),l)try{return c(t,e)}catch(t){}if(s(t,e))return r(!i.f.call(t,e),t[e])}},LSQh:function(t,e,n){"use strict";t.exports=function(t){var e,n,i,r,o,a,s=t.tokens;for(e=0,n=s.length;e<n;e++)if("inline"===s[e].type){for(o=(i=s[e].children).length,r=0;r<o;r++)"text_special"===i[r].type&&(i[r].type="text");for(r=a=0;r<o;r++)"text"===i[r].type&&r+1<o&&"text"===i[r+1].type?i[r+1].content=i[r].content+i[r+1].content:(r!==a&&(i[a]=i[r]),a++);r!==a&&(i.length=a)}}},Lw6n:function(module,exports,__webpack_require__){(function(global){var n;this||self,n=function(){return function(){var __webpack_modules__={4264:function(t,e,n){t.exports=n(7588)},5036:function(t,e,n){n(1719),n(5677),n(6394),n(5334),n(6969),n(2021),n(8328),n(2129);var i=n(1287);t.exports=i.Promise},2582:function(t,e,n){n(1646),n(6394),n(2004),n(462),n(8407),n(2429),n(1172),n(8288),n(1274),n(8201),n(6626),n(3211),n(9952),n(15),n(9831),n(7521),n(2972),n(6956),n(5222),n(2257);var i=n(1287);t.exports=i.Symbol},8257:function(t,e,n){var i=n(7583),r=n(9212),o=n(5637),a=i.TypeError;t.exports=function(t){if(r(t))return t;throw a(o(t)+" is not a function")}},1186:function(t,e,n){var i=n(7583),r=n(2097),o=n(5637),a=i.TypeError;t.exports=function(t){if(r(t))return t;throw a(o(t)+" is not a constructor")}},9882:function(t,e,n){var i=n(7583),r=n(9212),o=i.String,a=i.TypeError;t.exports=function(t){if("object"==typeof t||r(t))return t;throw a("Can't set "+o(t)+" as a prototype")}},6288:function(t,e,n){var i=n(3649),r=n(3590),o=n(4615),a=i("unscopables"),s=Array.prototype;null==s[a]&&o.f(s,a,{configurable:!0,value:r(null)}),t.exports=function(t){s[a][t]=!0}},4761:function(t,e,n){var i=n(7583),r=n(2447),o=i.TypeError;t.exports=function(t,e){if(r(e,t))return t;throw o("Incorrect invocation")}},2569:function(t,e,n){var i=n(7583),r=n(794),o=i.String,a=i.TypeError;t.exports=function(t){if(r(t))return t;throw a(o(t)+" is not an object")}},5766:function(t,e,n){var i=n(2977),r=n(6782),o=n(1825),a=function(t){return function(e,n,a){var s,l=i(e),c=o(l),u=r(a,c);if(t&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((t||u in l)&&l[u]===n)return t||u||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},4805:function(t,e,n){var i=n(2938),r=n(7386),o=n(5044),a=n(1324),s=n(1825),l=n(4822),c=r([].push),u=function(t){var e=1==t,n=2==t,r=3==t,u=4==t,h=6==t,d=7==t,f=5==t||h;return function(p,A,g,v){for(var m,y,b=a(p),_=o(b),w=i(A,g),x=s(_),C=0,S=v||l,B=e?S(p,x):n||d?S(p,0):void 0;x>C;C++)if((f||C in _)&&(y=w(m=_[C],C,b),t))if(e)B[C]=y;else if(y)switch(t){case 3:return!0;case 5:return m;case 6:return C;case 2:c(B,m)}else switch(t){case 4:return!1;case 7:c(B,m)}return h?-1:r||u?u:B}};t.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},9269:function(t,e,n){var i=n(6544),r=n(3649),o=n(4061),a=r("species");t.exports=function(t){return o>=51||!i(function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo})}},4546:function(t,e,n){var i=n(7583),r=n(6782),o=n(1825),a=n(5999),s=i.Array,l=Math.max;t.exports=function(t,e,n){for(var i=o(t),c=r(e,i),u=r(void 0===n?i:n,i),h=s(l(u-c,0)),d=0;c<u;c++,d++)a(h,d,t[c]);return h.length=d,h}},6917:function(t,e,n){var i=n(7386);t.exports=i([].slice)},5289:function(t,e,n){var i=n(7583),r=n(4521),o=n(2097),a=n(794),s=n(3649)("species"),l=i.Array;t.exports=function(t){var e;return r(t)&&(e=t.constructor,(o(e)&&(e===l||r(e.prototype))||a(e)&&null===(e=e[s]))&&(e=void 0)),void 0===e?l:e}},4822:function(t,e,n){var i=n(5289);t.exports=function(t,e){return new(i(t))(0===e?0:e)}},3616:function(t,e,n){var i=n(3649)("iterator"),r=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){r=!0}};a[i]=function(){return this},Array.from(a,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!r)return!1;var n=!1;try{var o={};o[i]=function(){return{next:function(){return{done:n=!0}}}},t(o)}catch(t){}return n}},9624:function(t,e,n){var i=n(7386),r=i({}.toString),o=i("".slice);t.exports=function(t){return o(r(t),8,-1)}},3058:function(t,e,n){var i=n(7583),r=n(8191),o=n(9212),a=n(9624),s=n(3649)("toStringTag"),l=i.Object,c="Arguments"==a(function(){return arguments}());t.exports=r?a:function(t){var e,n,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=l(t),s))?n:c?a(e):"Object"==(i=a(e))&&o(e.callee)?"Arguments":i}},1509:function(t,e,n){var i=n(7386)("".replace),r=String(Error("zxcasd").stack),o=/\n\s*at [^:]*:[^\n]*/,a=o.test(r);t.exports=function(t,e){if(a&&"string"==typeof t)for(;e--;)t=i(t,o,"");return t}},3478:function(t,e,n){var i=n(2870),r=n(929),o=n(6683),a=n(4615);t.exports=function(t,e,n){for(var s=r(e),l=a.f,c=o.f,u=0;u<s.length;u++){var h=s[u];i(t,h)||n&&i(n,h)||l(t,h,c(e,h))}}},926:function(t,e,n){var i=n(6544);t.exports=!i(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})},4683:function(t,e,n){"use strict";var i=n(2365).IteratorPrototype,r=n(3590),o=n(4677),a=n(8821),s=n(339),l=function(){return this};t.exports=function(t,e,n,c){var u=e+" Iterator";return t.prototype=r(i,{next:o(+!c,n)}),a(t,u,!1,!0),s[u]=l,t}},57:function(t,e,n){var i=n(8494),r=n(4615),o=n(4677);t.exports=i?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},4677:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},5999:function(t,e,n){"use strict";var i=n(8734),r=n(4615),o=n(4677);t.exports=function(t,e,n){var a=i(e);a in t?r.f(t,a,o(0,n)):t[a]=n}},9012:function(t,e,n){"use strict";var i=n(7263),r=n(8262),o=n(6268),a=n(4340),s=n(9212),l=n(4683),c=n(729),u=n(7496),h=n(8821),d=n(57),f=n(1270),p=n(3649),A=n(339),g=n(2365),v=a.PROPER,m=a.CONFIGURABLE,y=g.IteratorPrototype,b=g.BUGGY_SAFARI_ITERATORS,_=p("iterator"),w="keys",x="values",C="entries",S=function(){return this};t.exports=function(t,e,n,a,p,g,B){l(n,e,a);var k,T,O,E=function(t){if(t===p&&F)return F;if(!b&&t in D)return D[t];switch(t){case w:case x:case C:return function(){return new n(this,t)}}return function(){return new n(this)}},I=e+" Iterator",M=!1,D=t.prototype,L=D[_]||D["@@iterator"]||p&&D[p],F=!b&&L||E(p),P="Array"==e&&D.entries||L;if(P&&(k=c(P.call(new t)))!==Object.prototype&&k.next&&(o||c(k)===y||(u?u(k,y):s(k[_])||f(k,_,S)),h(k,I,!0,!0),o&&(A[I]=S)),v&&p==x&&L&&L.name!==x&&(!o&&m?d(D,"name",x):(M=!0,F=function(){return r(L,this)})),p)if(T={values:E(x),keys:g?F:E(w),entries:E(C)},B)for(O in T)(b||M||!(O in D))&&f(D,O,T[O]);else i({target:e,proto:!0,forced:b||M},T);return o&&!B||D[_]===F||f(D,_,F,{name:p}),A[e]=F,T}},2219:function(t,e,n){var i=n(1287),r=n(2870),o=n(491),a=n(4615).f;t.exports=function(t){var e=i.Symbol||(i.Symbol={});r(e,t)||a(e,t,{value:o.f(t)})}},8494:function(t,e,n){var i=n(6544);t.exports=!i(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},6668:function(t,e,n){var i=n(7583),r=n(794),o=i.document,a=r(o)&&r(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},6778:function(t){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},9307:function(t,e,n){var i=n(6668)("span").classList,r=i&&i.constructor&&i.constructor.prototype;t.exports=r===Object.prototype?void 0:r},2274:function(t){t.exports="object"==typeof window},3256:function(t,e,n){var i=n(6918),r=n(7583);t.exports=/ipad|iphone|ipod/i.test(i)&&void 0!==r.Pebble},7020:function(t,e,n){var i=n(6918);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(i)},5354:function(t,e,n){var i=n(9624),r=n(7583);t.exports="process"==i(r.process)},6846:function(t,e,n){var i=n(6918);t.exports=/web0s(?!.*chrome)/i.test(i)},6918:function(t,e,n){var i=n(5897);t.exports=i("navigator","userAgent")||""},4061:function(t,e,n){var i,r,o=n(7583),a=n(6918),s=o.process,l=o.Deno,c=s&&s.versions||l&&l.version,u=c&&c.v8;u&&(r=(i=u.split("."))[0]>0&&i[0]<4?1:+(i[0]+i[1])),!r&&a&&(!(i=a.match(/Edge\/(\d+)/))||i[1]>=74)&&(i=a.match(/Chrome\/(\d+)/))&&(r=+i[1]),t.exports=r},5690:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},1178:function(t,e,n){var i=n(6544),r=n(4677);t.exports=!i(function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",r(1,7)),7!==t.stack)})},7263:function(t,e,n){var i=n(7583),r=n(6683).f,o=n(57),a=n(1270),s=n(460),l=n(3478),c=n(4451);t.exports=function(t,e){var n,u,h,d,f,p=t.target,A=t.global,g=t.stat;if(n=A?i:g?i[p]||s(p,{}):(i[p]||{}).prototype)for(u in e){if(d=e[u],h=t.noTargetGet?(f=r(n,u))&&f.value:n[u],!c(A?u:p+(g?".":"#")+u,t.forced)&&void 0!==h){if(typeof d==typeof h)continue;l(d,h)}(t.sham||h&&h.sham)&&o(d,"sham",!0),a(n,u,d,t)}}},6544:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},1611:function(t,e,n){var i=n(8987),r=Function.prototype,o=r.apply,a=r.call;t.exports="object"==typeof Reflect&&Reflect.apply||(i?a.bind(o):function(){return a.apply(o,arguments)})},2938:function(t,e,n){var i=n(7386),r=n(8257),o=n(8987),a=i(i.bind);t.exports=function(t,e){return r(t),void 0===e?t:o?a(t,e):function(){return t.apply(e,arguments)}}},8987:function(t,e,n){var i=n(6544);t.exports=!i(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})},8262:function(t,e,n){var i=n(8987),r=Function.prototype.call;t.exports=i?r.bind(r):function(){return r.apply(r,arguments)}},4340:function(t,e,n){var i=n(8494),r=n(2870),o=Function.prototype,a=i&&Object.getOwnPropertyDescriptor,s=r(o,"name"),l=s&&"something"===function(){}.name,c=s&&(!i||i&&a(o,"name").configurable);t.exports={EXISTS:s,PROPER:l,CONFIGURABLE:c}},7386:function(t,e,n){var i=n(8987),r=Function.prototype,o=r.bind,a=r.call,s=i&&o.bind(a,a);t.exports=i?function(t){return t&&s(t)}:function(t){return t&&function(){return a.apply(t,arguments)}}},5897:function(t,e,n){var i=n(7583),r=n(9212);t.exports=function(t,e){return arguments.length<2?function(t){return r(t)?t:void 0}(i[t]):i[t]&&i[t][e]}},8272:function(t,e,n){var i=n(3058),r=n(911),o=n(339),a=n(3649)("iterator");t.exports=function(t){if(null!=t)return r(t,a)||r(t,"@@iterator")||o[i(t)]}},6307:function(t,e,n){var i=n(7583),r=n(8262),o=n(8257),a=n(2569),s=n(5637),l=n(8272),c=i.TypeError;t.exports=function(t,e){var n=arguments.length<2?l(t):e;if(o(n))return a(r(n,t));throw c(s(t)+" is not iterable")}},911:function(t,e,n){var i=n(8257);t.exports=function(t,e){var n=t[e];return null==n?void 0:i(n)}},7583:function(t,e,n){var i=function(t){return t&&t.Math==Math&&t};t.exports=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},2870:function(t,e,n){var i=n(7386),r=n(1324),o=i({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(r(t),e)}},4639:function(t){t.exports={}},2716:function(t,e,n){var i=n(7583);t.exports=function(t,e){var n=i.console;n&&n.error&&(1==arguments.length?n.error(t):n.error(t,e))}},482:function(t,e,n){var i=n(5897);t.exports=i("document","documentElement")},275:function(t,e,n){var i=n(8494),r=n(6544),o=n(6668);t.exports=!i&&!r(function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a})},5044:function(t,e,n){var i=n(7583),r=n(7386),o=n(6544),a=n(9624),s=i.Object,l=r("".split);t.exports=o(function(){return!s("z").propertyIsEnumerable(0)})?function(t){return"String"==a(t)?l(t,""):s(t)}:s},9734:function(t,e,n){var i=n(7386),r=n(9212),o=n(1314),a=i(Function.toString);r(o.inspectSource)||(o.inspectSource=function(t){return a(t)}),t.exports=o.inspectSource},4402:function(t,e,n){var i=n(794),r=n(57);t.exports=function(t,e){i(e)&&"cause"in e&&r(t,"cause",e.cause)}},2743:function(t,e,n){var i,r,o,a=n(9491),s=n(7583),l=n(7386),c=n(794),u=n(57),h=n(2870),d=n(1314),f=n(9137),p=n(4639),A="Object already initialized",g=s.TypeError,v=s.WeakMap;if(a||d.state){var m=d.state||(d.state=new v),y=l(m.get),b=l(m.has),_=l(m.set);i=function(t,e){if(b(m,t))throw new g(A);return e.facade=t,_(m,t,e),e},r=function(t){return y(m,t)||{}},o=function(t){return b(m,t)}}else{var w=f("state");p[w]=!0,i=function(t,e){if(h(t,w))throw new g(A);return e.facade=t,u(t,w,e),e},r=function(t){return h(t,w)?t[w]:{}},o=function(t){return h(t,w)}}t.exports={set:i,get:r,has:o,enforce:function(t){return o(t)?r(t):i(t,{})},getterFor:function(t){return function(e){var n;if(!c(e)||(n=r(e)).type!==t)throw g("Incompatible receiver, "+t+" required");return n}}}},114:function(t,e,n){var i=n(3649),r=n(339),o=i("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||a[o]===t)}},4521:function(t,e,n){var i=n(9624);t.exports=Array.isArray||function(t){return"Array"==i(t)}},9212:function(t){t.exports=function(t){return"function"==typeof t}},2097:function(t,e,n){var i=n(7386),r=n(6544),o=n(9212),a=n(3058),s=n(5897),l=n(9734),c=function(){},u=[],h=s("Reflect","construct"),d=/^\s*(?:class|function)\b/,f=i(d.exec),p=!d.exec(c),A=function(t){if(!o(t))return!1;try{return h(c,u,t),!0}catch(t){return!1}},g=function(t){if(!o(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!f(d,l(t))}catch(t){return!0}};g.sham=!0,t.exports=!h||r(function(){var t;return A(A.call)||!A(Object)||!A(function(){t=!0})||t})?g:A},4451:function(t,e,n){var i=n(6544),r=n(9212),o=/#|\.prototype\./,a=function(t,e){var n=l[s(t)];return n==u||n!=c&&(r(e)?i(e):!!e)},s=a.normalize=function(t){return String(t).replace(o,".").toLowerCase()},l=a.data={},c=a.NATIVE="N",u=a.POLYFILL="P";t.exports=a},794:function(t,e,n){var i=n(9212);t.exports=function(t){return"object"==typeof t?null!==t:i(t)}},6268:function(t){t.exports=!1},5871:function(t,e,n){var i=n(7583),r=n(5897),o=n(9212),a=n(2447),s=n(7786),l=i.Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return o(e)&&a(e.prototype,l(t))}},4026:function(t,e,n){var i=n(7583),r=n(2938),o=n(8262),a=n(2569),s=n(5637),l=n(114),c=n(1825),u=n(2447),h=n(6307),d=n(8272),f=n(7093),p=i.TypeError,A=function(t,e){this.stopped=t,this.result=e},g=A.prototype;t.exports=function(t,e,n){var i,v,m,y,b,_,w,x=n&&n.that,C=!(!n||!n.AS_ENTRIES),S=!(!n||!n.IS_ITERATOR),B=!(!n||!n.INTERRUPTED),k=r(e,x),T=function(t){return i&&f(i,"normal",t),new A(!0,t)},O=function(t){return C?(a(t),B?k(t[0],t[1],T):k(t[0],t[1])):B?k(t,T):k(t)};if(S)i=t;else{if(!(v=d(t)))throw p(s(t)+" is not iterable");if(l(v)){for(m=0,y=c(t);y>m;m++)if((b=O(t[m]))&&u(g,b))return b;return new A(!1)}i=h(t,v)}for(_=i.next;!(w=o(_,i)).done;){try{b=O(w.value)}catch(t){f(i,"throw",t)}if("object"==typeof b&&b&&u(g,b))return b}return new A(!1)}},7093:function(t,e,n){var i=n(8262),r=n(2569),o=n(911);t.exports=function(t,e,n){var a,s;r(t);try{if(!(a=o(t,"return"))){if("throw"===e)throw n;return n}a=i(a,t)}catch(t){s=!0,a=t}if("throw"===e)throw n;if(s)throw a;return r(a),n}},2365:function(t,e,n){"use strict";var i,r,o,a=n(6544),s=n(9212),l=n(3590),c=n(729),u=n(1270),h=n(3649),d=n(6268),f=h("iterator"),p=!1;[].keys&&("next"in(o=[].keys())?(r=c(c(o)))!==Object.prototype&&(i=r):p=!0),null==i||a(function(){var t={};return i[f].call(t)!==t})?i={}:d&&(i=l(i)),s(i[f])||u(i,f,function(){return this}),t.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:p}},339:function(t){t.exports={}},1825:function(t,e,n){var i=n(97);t.exports=function(t){return i(t.length)}},2095:function(t,e,n){var i,r,o,a,s,l,c,u,h=n(7583),d=n(2938),f=n(6683).f,p=n(8117).set,A=n(7020),g=n(3256),v=n(6846),m=n(5354),y=h.MutationObserver||h.WebKitMutationObserver,b=h.document,_=h.process,w=h.Promise,x=f(h,"queueMicrotask"),C=x&&x.value;C||(i=function(){var t,e;for(m&&(t=_.domain)&&t.exit();r;){e=r.fn,r=r.next;try{e()}catch(t){throw r?a():o=void 0,t}}o=void 0,t&&t.enter()},A||m||v||!y||!b?!g&&w&&w.resolve?((c=w.resolve(void 0)).constructor=w,u=d(c.then,c),a=function(){u(i)}):m?a=function(){_.nextTick(i)}:(p=d(p,h),a=function(){p(i)}):(s=!0,l=b.createTextNode(""),new y(i).observe(l,{characterData:!0}),a=function(){l.data=s=!s})),t.exports=C||function(t){var e={fn:t,next:void 0};o&&(o.next=e),r||(r=e,a()),o=e}},783:function(t,e,n){var i=n(7583);t.exports=i.Promise},8640:function(t,e,n){var i=n(4061),r=n(6544);t.exports=!!Object.getOwnPropertySymbols&&!r(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&i&&i<41})},9491:function(t,e,n){var i=n(7583),r=n(9212),o=n(9734),a=i.WeakMap;t.exports=r(a)&&/native code/.test(o(a))},5084:function(t,e,n){"use strict";var i=n(8257);t.exports.f=function(t){return new function(t){var e,n;this.promise=new t(function(t,i){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=i}),this.resolve=i(e),this.reject=i(n)}(t)}},2764:function(t,e,n){var i=n(8320);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:i(t)}},3590:function(t,e,n){var i,r=n(2569),o=n(8728),a=n(5690),s=n(4639),l=n(482),c=n(6668),u=n(9137)("IE_PROTO"),h=function(){},d=function(t){return"<script>"+t+"<\/script>"},f=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},p=function(){try{i=new ActiveXObject("htmlfile")}catch(t){}var t,e;p="undefined"!=typeof document?document.domain&&i?f(i):((e=c("iframe")).style.display="none",l.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(d("document.F=Object")),t.close(),t.F):f(i);for(var n=a.length;n--;)delete p.prototype[a[n]];return p()};s[u]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(h.prototype=r(t),n=new h,h.prototype=null,n[u]=t):n=p(),void 0===e?n:o.f(n,e)}},8728:function(t,e,n){var i=n(8494),r=n(7670),o=n(4615),a=n(2569),s=n(2977),l=n(5432);e.f=i&&!r?Object.defineProperties:function(t,e){a(t);for(var n,i=s(e),r=l(e),c=r.length,u=0;c>u;)o.f(t,n=r[u++],i[n]);return t}},4615:function(t,e,n){var i=n(7583),r=n(8494),o=n(275),a=n(7670),s=n(2569),l=n(8734),c=i.TypeError,u=Object.defineProperty,h=Object.getOwnPropertyDescriptor;e.f=r?a?function(t,e,n){if(s(t),e=l(e),s(n),"function"==typeof t&&"prototype"===e&&"value"in n&&"writable"in n&&!n.writable){var i=h(t,e);i&&i.writable&&(t[e]=n.value,n={configurable:"configurable"in n?n.configurable:i.configurable,enumerable:"enumerable"in n?n.enumerable:i.enumerable,writable:!1})}return u(t,e,n)}:u:function(t,e,n){if(s(t),e=l(e),s(n),o)try{return u(t,e,n)}catch(t){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},6683:function(t,e,n){var i=n(8494),r=n(8262),o=n(112),a=n(4677),s=n(2977),l=n(8734),c=n(2870),u=n(275),h=Object.getOwnPropertyDescriptor;e.f=i?h:function(t,e){if(t=s(t),e=l(e),u)try{return h(t,e)}catch(t){}if(c(t,e))return a(!r(o.f,t,e),t[e])}},3130:function(t,e,n){var i=n(9624),r=n(2977),o=n(9275).f,a=n(4546),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return s&&"Window"==i(t)?function(t){try{return o(t)}catch(t){return a(s)}}(t):o(r(t))}},9275:function(t,e,n){var i=n(8356),r=n(5690).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,r)}},4012:function(t,e){e.f=Object.getOwnPropertySymbols},729:function(t,e,n){var i=n(7583),r=n(2870),o=n(9212),a=n(1324),s=n(9137),l=n(926),c=s("IE_PROTO"),u=i.Object,h=u.prototype;t.exports=l?u.getPrototypeOf:function(t){var e=a(t);if(r(e,c))return e[c];var n=e.constructor;return o(n)&&e instanceof n?n.prototype:e instanceof u?h:null}},2447:function(t,e,n){var i=n(7386);t.exports=i({}.isPrototypeOf)},8356:function(t,e,n){var i=n(7386),r=n(2870),o=n(2977),a=n(5766).indexOf,s=n(4639),l=i([].push);t.exports=function(t,e){var n,i=o(t),c=0,u=[];for(n in i)!r(s,n)&&r(i,n)&&l(u,n);for(;e.length>c;)r(i,n=e[c++])&&(~a(u,n)||l(u,n));return u}},5432:function(t,e,n){var i=n(8356),r=n(5690);t.exports=Object.keys||function(t){return i(t,r)}},112:function(t,e){"use strict";var n={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,r=i&&!n.call({1:2},1);e.f=r?function(t){var e=i(this,t);return!!e&&e.enumerable}:n},7496:function(t,e,n){var i=n(7386),r=n(2569),o=n(9882);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=i(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),e=n instanceof Array}catch(t){}return function(n,i){return r(n),o(i),e?t(n,i):n.__proto__=i,n}}():void 0)},3060:function(t,e,n){"use strict";var i=n(8191),r=n(3058);t.exports=i?{}.toString:function(){return"[object "+r(this)+"]"}},6252:function(t,e,n){var i=n(7583),r=n(8262),o=n(9212),a=n(794),s=i.TypeError;t.exports=function(t,e){var n,i;if("string"===e&&o(n=t.toString)&&!a(i=r(n,t)))return i;if(o(n=t.valueOf)&&!a(i=r(n,t)))return i;if("string"!==e&&o(n=t.toString)&&!a(i=r(n,t)))return i;throw s("Can't convert object to primitive value")}},929:function(t,e,n){var i=n(5897),r=n(7386),o=n(9275),a=n(4012),s=n(2569),l=r([].concat);t.exports=i("Reflect","ownKeys")||function(t){var e=o.f(s(t)),n=a.f;return n?l(e,n(t)):e}},1287:function(t,e,n){var i=n(7583);t.exports=i},544:function(t){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},5732:function(t,e,n){var i=n(2569),r=n(794),o=n(5084);t.exports=function(t,e){if(i(t),r(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},2723:function(t){var e=function(){this.head=null,this.tail=null};e.prototype={add:function(t){var e={item:t,next:null};this.head?this.tail.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return this.head=t.next,this.tail===t&&(this.tail=null),t.item}},t.exports=e},6893:function(t,e,n){var i=n(1270);t.exports=function(t,e,n){for(var r in e)i(t,r,e[r],n);return t}},1270:function(t,e,n){var i=n(7583),r=n(9212),o=n(2870),a=n(57),s=n(460),l=n(9734),c=n(2743),u=n(4340).CONFIGURABLE,h=c.get,d=c.enforce,f=String(String).split("String");(t.exports=function(t,e,n,l){var c,h=!!l&&!!l.unsafe,p=!!l&&!!l.enumerable,A=!!l&&!!l.noTargetGet,g=l&&void 0!==l.name?l.name:e;r(n)&&("Symbol("===String(g).slice(0,7)&&(g="["+String(g).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!o(n,"name")||u&&n.name!==g)&&a(n,"name",g),(c=d(n)).source||(c.source=f.join("string"==typeof g?g:""))),t!==i?(h?!A&&t[e]&&(p=!0):delete t[e],p?t[e]=n:a(t,e,n)):p?t[e]=n:s(e,n)})(Function.prototype,"toString",function(){return r(this)&&h(this).source||l(this)})},3955:function(t,e,n){var i=n(7583).TypeError;t.exports=function(t){if(null==t)throw i("Can't call method on "+t);return t}},460:function(t,e,n){var i=n(7583),r=Object.defineProperty;t.exports=function(t,e){try{r(i,t,{value:e,configurable:!0,writable:!0})}catch(n){i[t]=e}return e}},7730:function(t,e,n){"use strict";var i=n(5897),r=n(4615),o=n(3649),a=n(8494),s=o("species");t.exports=function(t){var e=i(t),n=r.f;a&&e&&!e[s]&&n(e,s,{configurable:!0,get:function(){return this}})}},8821:function(t,e,n){var i=n(4615).f,r=n(2870),o=n(3649)("toStringTag");t.exports=function(t,e,n){t&&!n&&(t=t.prototype),t&&!r(t,o)&&i(t,o,{configurable:!0,value:e})}},9137:function(t,e,n){var i=n(7836),r=n(8284),o=i("keys");t.exports=function(t){return o[t]||(o[t]=r(t))}},1314:function(t,e,n){var i=n(7583),r=n(460),o="__core-js_shared__",a=i[o]||r(o,{});t.exports=a},7836:function(t,e,n){var i=n(6268),r=n(1314);(t.exports=function(t,e){return r[t]||(r[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.21.1",mode:i?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE",source:"https://github.com/zloirock/core-js"})},564:function(t,e,n){var i=n(2569),r=n(1186),o=n(3649)("species");t.exports=function(t,e){var n,a=i(t).constructor;return void 0===a||null==(n=i(a)[o])?e:r(n)}},6389:function(t,e,n){var i=n(7386),r=n(7486),o=n(8320),a=n(3955),s=i("".charAt),l=i("".charCodeAt),c=i("".slice),u=function(t){return function(e,n){var i,u,h=o(a(e)),d=r(n),f=h.length;return d<0||d>=f?t?"":void 0:(i=l(h,d))<55296||i>56319||d+1===f||(u=l(h,d+1))<56320||u>57343?t?s(h,d):i:t?c(h,d,d+2):u-56320+(i-55296<<10)+65536}};t.exports={codeAt:u(!1),charAt:u(!0)}},8117:function(t,e,n){var i,r,o,a,s=n(7583),l=n(1611),c=n(2938),u=n(9212),h=n(2870),d=n(6544),f=n(482),p=n(6917),A=n(6668),g=n(7520),v=n(7020),m=n(5354),y=s.setImmediate,b=s.clearImmediate,_=s.process,w=s.Dispatch,x=s.Function,C=s.MessageChannel,S=s.String,B=0,k={};try{i=s.location}catch(t){}var T=function(t){if(h(k,t)){var e=k[t];delete k[t],e()}},O=function(t){return function(){T(t)}},E=function(t){T(t.data)},I=function(t){s.postMessage(S(t),i.protocol+"//"+i.host)};y&&b||(y=function(t){g(arguments.length,1);var e=u(t)?t:x(t),n=p(arguments,1);return k[++B]=function(){l(e,void 0,n)},r(B),B},b=function(t){delete k[t]},m?r=function(t){_.nextTick(O(t))}:w&&w.now?r=function(t){w.now(O(t))}:C&&!v?(a=(o=new C).port2,o.port1.onmessage=E,r=c(a.postMessage,a)):s.addEventListener&&u(s.postMessage)&&!s.importScripts&&i&&"file:"!==i.protocol&&!d(I)?(r=I,s.addEventListener("message",E,!1)):r="onreadystatechange"in A("script")?function(t){f.appendChild(A("script")).onreadystatechange=function(){f.removeChild(this),T(t)}}:function(t){setTimeout(O(t),0)}),t.exports={set:y,clear:b}},6782:function(t,e,n){var i=n(7486),r=Math.max,o=Math.min;t.exports=function(t,e){var n=i(t);return n<0?r(n+e,0):o(n,e)}},2977:function(t,e,n){var i=n(5044),r=n(3955);t.exports=function(t){return i(r(t))}},7486:function(t){var e=Math.ceil,n=Math.floor;t.exports=function(t){var i=+t;return i!=i||0===i?0:(i>0?n:e)(i)}},97:function(t,e,n){var i=n(7486),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},1324:function(t,e,n){var i=n(7583),r=n(3955),o=i.Object;t.exports=function(t){return o(r(t))}},2670:function(t,e,n){var i=n(7583),r=n(8262),o=n(794),a=n(5871),s=n(911),l=n(6252),c=n(3649),u=i.TypeError,h=c("toPrimitive");t.exports=function(t,e){if(!o(t)||a(t))return t;var n,i=s(t,h);if(i){if(void 0===e&&(e="default"),n=r(i,t,e),!o(n)||a(n))return n;throw u("Can't convert object to primitive value")}return void 0===e&&(e="number"),l(t,e)}},8734:function(t,e,n){var i=n(2670),r=n(5871);t.exports=function(t){var e=i(t,"string");return r(e)?e:e+""}},8191:function(t,e,n){var i={};i[n(3649)("toStringTag")]="z",t.exports="[object z]"===String(i)},8320:function(t,e,n){var i=n(7583),r=n(3058),o=i.String;t.exports=function(t){if("Symbol"===r(t))throw TypeError("Cannot convert a Symbol value to a string");return o(t)}},5637:function(t,e,n){var i=n(7583).String;t.exports=function(t){try{return i(t)}catch(t){return"Object"}}},8284:function(t,e,n){var i=n(7386),r=0,o=Math.random(),a=i(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++r+o,36)}},7786:function(t,e,n){var i=n(8640);t.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},7670:function(t,e,n){var i=n(8494),r=n(6544);t.exports=i&&r(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},7520:function(t,e,n){var i=n(7583).TypeError;t.exports=function(t,e){if(t<e)throw i("Not enough arguments");return t}},491:function(t,e,n){var i=n(3649);e.f=i},3649:function(t,e,n){var i=n(7583),r=n(7836),o=n(2870),a=n(8284),s=n(8640),l=n(7786),c=r("wks"),u=i.Symbol,h=u&&u.for,d=l?u:u&&u.withoutSetter||a;t.exports=function(t){if(!o(c,t)||!s&&"string"!=typeof c[t]){var e="Symbol."+t;s&&o(u,t)?c[t]=u[t]:c[t]=l&&h?h(e):d(e)}return c[t]}},1719:function(t,e,n){"use strict";var i=n(7263),r=n(7583),o=n(2447),a=n(729),s=n(7496),l=n(3478),c=n(3590),u=n(57),h=n(4677),d=n(1509),f=n(4402),p=n(4026),A=n(2764),g=n(3649),v=n(1178),m=g("toStringTag"),y=r.Error,b=[].push,_=function(t,e){var n,i=arguments.length>2?arguments[2]:void 0,r=o(w,this);s?n=s(new y,r?a(this):w):(n=r?this:c(w),u(n,m,"Error")),void 0!==e&&u(n,"message",A(e)),v&&u(n,"stack",d(n.stack,1)),f(n,i);var l=[];return p(t,b,{that:l}),u(n,"errors",l),n};s?s(_,y):l(_,y,{name:!0});var w=_.prototype=c(y.prototype,{constructor:h(1,_),message:h(1,""),name:h(1,"AggregateError")});i({global:!0},{AggregateError:_})},1646:function(t,e,n){"use strict";var i=n(7263),r=n(7583),o=n(6544),a=n(4521),s=n(794),l=n(1324),c=n(1825),u=n(5999),h=n(4822),d=n(9269),f=n(3649),p=n(4061),A=f("isConcatSpreadable"),g=9007199254740991,v="Maximum allowed index exceeded",m=r.TypeError,y=p>=51||!o(function(){var t=[];return t[A]=!1,t.concat()[0]!==t}),b=d("concat"),_=function(t){if(!s(t))return!1;var e=t[A];return void 0!==e?!!e:a(t)};i({target:"Array",proto:!0,forced:!y||!b},{concat:function(t){var e,n,i,r,o,a=l(this),s=h(a,0),d=0;for(e=-1,i=arguments.length;e<i;e++)if(_(o=-1===e?a:arguments[e])){if(d+(r=c(o))>g)throw m(v);for(n=0;n<r;n++,d++)n in o&&u(s,d,o[n])}else{if(d>=g)throw m(v);u(s,d++,o)}return s.length=d,s}})},5677:function(t,e,n){"use strict";var i=n(2977),r=n(6288),o=n(339),a=n(2743),s=n(4615).f,l=n(9012),c=n(6268),u=n(8494),h="Array Iterator",d=a.set,f=a.getterFor(h);t.exports=l(Array,"Array",function(t,e){d(this,{type:h,target:i(t),index:0,kind:e})},function(){var t=f(this),e=t.target,n=t.kind,i=t.index++;return!e||i>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:i,done:!1}:"values"==n?{value:e[i],done:!1}:{value:[i,e[i]],done:!1}},"values");var p=o.Arguments=o.Array;if(r("keys"),r("values"),r("entries"),!c&&u&&"values"!==p.name)try{s(p,"name",{value:"values"})}catch(t){}},6956:function(t,e,n){var i=n(7583);n(8821)(i.JSON,"JSON",!0)},5222:function(t,e,n){n(8821)(Math,"Math",!0)},6394:function(t,e,n){var i=n(8191),r=n(1270),o=n(3060);i||r(Object.prototype,"toString",o,{unsafe:!0})},6969:function(t,e,n){"use strict";var i=n(7263),r=n(8262),o=n(8257),a=n(5084),s=n(544),l=n(4026);i({target:"Promise",stat:!0},{allSettled:function(t){var e=this,n=a.f(e),i=n.resolve,c=n.reject,u=s(function(){var n=o(e.resolve),a=[],s=0,c=1;l(t,function(t){var o=s++,l=!1;c++,r(n,e,t).then(function(t){l||(l=!0,a[o]={status:"fulfilled",value:t},--c||i(a))},function(t){l||(l=!0,a[o]={status:"rejected",reason:t},--c||i(a))})}),--c||i(a)});return u.error&&c(u.value),n.promise}})},2021:function(t,e,n){"use strict";var i=n(7263),r=n(8257),o=n(5897),a=n(8262),s=n(5084),l=n(544),c=n(4026),u="No one promise resolved";i({target:"Promise",stat:!0},{any:function(t){var e=this,n=o("AggregateError"),i=s.f(e),h=i.resolve,d=i.reject,f=l(function(){var i=r(e.resolve),o=[],s=0,l=1,f=!1;c(t,function(t){var r=s++,c=!1;l++,a(i,e,t).then(function(t){c||f||(f=!0,h(t))},function(t){c||f||(c=!0,o[r]=t,--l||d(new n(o,u)))})}),--l||d(new n(o,u))});return f.error&&d(f.value),i.promise}})},8328:function(t,e,n){"use strict";var i=n(7263),r=n(6268),o=n(783),a=n(6544),s=n(5897),l=n(9212),c=n(564),u=n(5732),h=n(1270);if(i({target:"Promise",proto:!0,real:!0,forced:!!o&&a(function(){o.prototype.finally.call({then:function(){}},function(){})})},{finally:function(t){var e=c(this,s("Promise")),n=l(t);return this.then(n?function(n){return u(e,t()).then(function(){return n})}:t,n?function(n){return u(e,t()).then(function(){throw n})}:t)}}),!r&&l(o)){var d=s("Promise").prototype.finally;o.prototype.finally!==d&&h(o.prototype,"finally",d,{unsafe:!0})}},5334:function(t,e,n){"use strict";var i,r,o,a,s=n(7263),l=n(6268),c=n(7583),u=n(5897),h=n(8262),d=n(783),f=n(1270),p=n(6893),A=n(7496),g=n(8821),v=n(7730),m=n(8257),y=n(9212),b=n(794),_=n(4761),w=n(9734),x=n(4026),C=n(3616),S=n(564),B=n(8117).set,k=n(2095),T=n(5732),O=n(2716),E=n(5084),I=n(544),M=n(2723),D=n(2743),L=n(4451),F=n(3649),P=n(2274),N=n(5354),j=n(4061),U=F("species"),R="Promise",Q=D.getterFor(R),H=D.set,V=D.getterFor(R),z=d&&d.prototype,$=d,G=z,W=c.TypeError,K=c.document,Y=c.process,X=E.f,q=X,Z=!!(K&&K.createEvent&&c.dispatchEvent),J=y(c.PromiseRejectionEvent),tt="unhandledrejection",et=!1,nt=L(R,function(){var t=w($),e=t!==String($);if(!e&&66===j)return!0;if(l&&!G.finally)return!0;if(j>=51&&/native code/.test(t))return!1;var n=new $(function(t){t(1)}),i=function(t){t(function(){},function(){})};return(n.constructor={})[U]=i,!(et=n.then(function(){})instanceof i)||!e&&P&&!J}),it=nt||!C(function(t){$.all(t).catch(function(){})}),rt=function(t){var e;return!(!b(t)||!y(e=t.then))&&e},ot=function(t,e){var n,i,r,o=e.value,a=1==e.state,s=a?t.ok:t.fail,l=t.resolve,c=t.reject,u=t.domain;try{s?(a||(2===e.rejection&&ut(e),e.rejection=1),!0===s?n=o:(u&&u.enter(),n=s(o),u&&(u.exit(),r=!0)),n===t.promise?c(W("Promise-chain cycle")):(i=rt(n))?h(i,n,l,c):l(n)):c(o)}catch(t){u&&!r&&u.exit(),c(t)}},at=function(t,e){t.notified||(t.notified=!0,k(function(){for(var n,i=t.reactions;n=i.get();)ot(n,t);t.notified=!1,e&&!t.rejection&&lt(t)}))},st=function(t,e,n){var i,r;Z?((i=K.createEvent("Event")).promise=e,i.reason=n,i.initEvent(t,!1,!0),c.dispatchEvent(i)):i={promise:e,reason:n},!J&&(r=c["on"+t])?r(i):t===tt&&O("Unhandled promise rejection",n)},lt=function(t){h(B,c,function(){var e,n=t.facade,i=t.value;if(ct(t)&&(e=I(function(){N?Y.emit("unhandledRejection",i,n):st(tt,n,i)}),t.rejection=N||ct(t)?2:1,e.error))throw e.value})},ct=function(t){return 1!==t.rejection&&!t.parent},ut=function(t){h(B,c,function(){var e=t.facade;N?Y.emit("rejectionHandled",e):st("rejectionhandled",e,t.value)})},ht=function(t,e,n){return function(i){t(e,i,n)}},dt=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,at(t,!0))},ft=function t(e,n,i){if(!e.done){e.done=!0,i&&(e=i);try{if(e.facade===n)throw W("Promise can't be resolved itself");var r=rt(n);r?k(function(){var i={done:!1};try{h(r,n,ht(t,i,e),ht(dt,i,e))}catch(t){dt(i,t,e)}}):(e.value=n,e.state=1,at(e,!1))}catch(t){dt({done:!1},t,e)}}};if(nt&&(G=($=function(t){_(this,G),m(t),h(i,this);var e=Q(this);try{t(ht(ft,e),ht(dt,e))}catch(t){dt(e,t)}}).prototype,(i=function(t){H(this,{type:R,done:!1,notified:!1,parent:!1,reactions:new M,rejection:!1,state:0,value:void 0})}).prototype=p(G,{then:function(t,e){var n=V(this),i=X(S(this,$));return n.parent=!0,i.ok=!y(t)||t,i.fail=y(e)&&e,i.domain=N?Y.domain:void 0,0==n.state?n.reactions.add(i):k(function(){ot(i,n)}),i.promise},catch:function(t){return this.then(void 0,t)}}),r=function(){var t=new i,e=Q(t);this.promise=t,this.resolve=ht(ft,e),this.reject=ht(dt,e)},E.f=X=function(t){return t===$||t===o?new r(t):q(t)},!l&&y(d)&&z!==Object.prototype)){a=z.then,et||(f(z,"then",function(t,e){var n=this;return new $(function(t,e){h(a,n,t,e)}).then(t,e)},{unsafe:!0}),f(z,"catch",G.catch,{unsafe:!0}));try{delete z.constructor}catch(t){}A&&A(z,G)}s({global:!0,wrap:!0,forced:nt},{Promise:$}),g($,R,!1,!0),v(R),o=u(R),s({target:R,stat:!0,forced:nt},{reject:function(t){var e=X(this);return h(e.reject,void 0,t),e.promise}}),s({target:R,stat:!0,forced:l||nt},{resolve:function(t){return T(l&&this===o?$:this,t)}}),s({target:R,stat:!0,forced:it},{all:function(t){var e=this,n=X(e),i=n.resolve,r=n.reject,o=I(function(){var n=m(e.resolve),o=[],a=0,s=1;x(t,function(t){var l=a++,c=!1;s++,h(n,e,t).then(function(t){c||(c=!0,o[l]=t,--s||i(o))},r)}),--s||i(o)});return o.error&&r(o.value),n.promise},race:function(t){var e=this,n=X(e),i=n.reject,r=I(function(){var r=m(e.resolve);x(t,function(t){h(r,e,t).then(n.resolve,i)})});return r.error&&i(r.value),n.promise}})},2257:function(t,e,n){var i=n(7263),r=n(7583),o=n(8821);i({global:!0},{Reflect:{}}),o(r.Reflect,"Reflect",!0)},2129:function(t,e,n){"use strict";var i=n(6389).charAt,r=n(8320),o=n(2743),a=n(9012),s="String Iterator",l=o.set,c=o.getterFor(s);a(String,"String",function(t){l(this,{type:s,string:r(t),index:0})},function(){var t,e=c(this),n=e.string,r=e.index;return r>=n.length?{value:void 0,done:!0}:(t=i(n,r),e.index+=t.length,{value:t,done:!1})})},462:function(t,e,n){n(2219)("asyncIterator")},8407:function(t,e,n){"use strict";var i=n(7263),r=n(8494),o=n(7583),a=n(7386),s=n(2870),l=n(9212),c=n(2447),u=n(8320),h=n(4615).f,d=n(3478),f=o.Symbol,p=f&&f.prototype;if(r&&l(f)&&(!("description"in p)||void 0!==f().description)){var A={},g=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:u(arguments[0]),e=c(p,this)?new f(t):void 0===t?f():f(t);return""===t&&(A[e]=!0),e};d(g,f),g.prototype=p,p.constructor=g;var v="Symbol(test)"==String(f("test")),m=a(p.toString),y=a(p.valueOf),b=/^Symbol\((.*)\)[^)]+$/,_=a("".replace),w=a("".slice);h(p,"description",{configurable:!0,get:function(){var t=y(this),e=m(t);if(s(A,t))return"";var n=v?w(e,7,-1):_(e,b,"$1");return""===n?void 0:n}}),i({global:!0,forced:!0},{Symbol:g})}},2429:function(t,e,n){n(2219)("hasInstance")},1172:function(t,e,n){n(2219)("isConcatSpreadable")},8288:function(t,e,n){n(2219)("iterator")},2004:function(t,e,n){"use strict";var i=n(7263),r=n(7583),o=n(5897),a=n(1611),s=n(8262),l=n(7386),c=n(6268),u=n(8494),h=n(8640),d=n(6544),f=n(2870),p=n(4521),A=n(9212),g=n(794),v=n(2447),m=n(5871),y=n(2569),b=n(1324),_=n(2977),w=n(8734),x=n(8320),C=n(4677),S=n(3590),B=n(5432),k=n(9275),T=n(3130),O=n(4012),E=n(6683),I=n(4615),M=n(8728),D=n(112),L=n(6917),F=n(1270),P=n(7836),N=n(9137),j=n(4639),U=n(8284),R=n(3649),Q=n(491),H=n(2219),V=n(8821),z=n(2743),$=n(4805).forEach,G=N("hidden"),W="Symbol",K=R("toPrimitive"),Y=z.set,X=z.getterFor(W),q=Object.prototype,Z=r.Symbol,J=Z&&Z.prototype,tt=r.TypeError,et=r.QObject,nt=o("JSON","stringify"),it=E.f,rt=I.f,ot=T.f,at=D.f,st=l([].push),lt=P("symbols"),ct=P("op-symbols"),ut=P("string-to-symbol-registry"),ht=P("symbol-to-string-registry"),dt=P("wks"),ft=!et||!et.prototype||!et.prototype.findChild,pt=u&&d(function(){return 7!=S(rt({},"a",{get:function(){return rt(this,"a",{value:7}).a}})).a})?function(t,e,n){var i=it(q,e);i&&delete q[e],rt(t,e,n),i&&t!==q&&rt(q,e,i)}:rt,At=function(t,e){var n=lt[t]=S(J);return Y(n,{type:W,tag:t,description:e}),u||(n.description=e),n},gt=function(t,e,n){t===q&&gt(ct,e,n),y(t);var i=w(e);return y(n),f(lt,i)?(n.enumerable?(f(t,G)&&t[G][i]&&(t[G][i]=!1),n=S(n,{enumerable:C(0,!1)})):(f(t,G)||rt(t,G,C(1,{})),t[G][i]=!0),pt(t,i,n)):rt(t,i,n)},vt=function(t,e){y(t);var n=_(e),i=B(n).concat(_t(n));return $(i,function(e){u&&!s(mt,n,e)||gt(t,e,n[e])}),t},mt=function(t){var e=w(t),n=s(at,this,e);return!(this===q&&f(lt,e)&&!f(ct,e))&&(!(n||!f(this,e)||!f(lt,e)||f(this,G)&&this[G][e])||n)},yt=function(t,e){var n=_(t),i=w(e);if(n!==q||!f(lt,i)||f(ct,i)){var r=it(n,i);return!r||!f(lt,i)||f(n,G)&&n[G][i]||(r.enumerable=!0),r}},bt=function(t){var e=ot(_(t)),n=[];return $(e,function(t){f(lt,t)||f(j,t)||st(n,t)}),n},_t=function(t){var e=t===q,n=ot(e?ct:_(t)),i=[];return $(n,function(t){!f(lt,t)||e&&!f(q,t)||st(i,lt[t])}),i};if(h||(F(J=(Z=function(){if(v(J,this))throw tt("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?x(arguments[0]):void 0,e=U(t);return u&&ft&&pt(q,e,{configurable:!0,set:function t(n){this===q&&s(t,ct,n),f(this,G)&&f(this[G],e)&&(this[G][e]=!1),pt(this,e,C(1,n))}}),At(e,t)}).prototype,"toString",function(){return X(this).tag}),F(Z,"withoutSetter",function(t){return At(U(t),t)}),D.f=mt,I.f=gt,M.f=vt,E.f=yt,k.f=T.f=bt,O.f=_t,Q.f=function(t){return At(R(t),t)},u&&(rt(J,"description",{configurable:!0,get:function(){return X(this).description}}),c||F(q,"propertyIsEnumerable",mt,{unsafe:!0}))),i({global:!0,wrap:!0,forced:!h,sham:!h},{Symbol:Z}),$(B(dt),function(t){H(t)}),i({target:W,stat:!0,forced:!h},{for:function(t){var e=x(t);if(f(ut,e))return ut[e];var n=Z(e);return ut[e]=n,ht[n]=e,n},keyFor:function(t){if(!m(t))throw tt(t+" is not a symbol");if(f(ht,t))return ht[t]},useSetter:function(){ft=!0},useSimple:function(){ft=!1}}),i({target:"Object",stat:!0,forced:!h,sham:!u},{create:function(t,e){return void 0===e?S(t):vt(S(t),e)},defineProperty:gt,defineProperties:vt,getOwnPropertyDescriptor:yt}),i({target:"Object",stat:!0,forced:!h},{getOwnPropertyNames:bt,getOwnPropertySymbols:_t}),i({target:"Object",stat:!0,forced:d(function(){O.f(1)})},{getOwnPropertySymbols:function(t){return O.f(b(t))}}),nt&&i({target:"JSON",stat:!0,forced:!h||d(function(){var t=Z();return"[null]"!=nt([t])||"{}"!=nt({a:t})||"{}"!=nt(Object(t))})},{stringify:function(t,e,n){var i=L(arguments),r=e;if((g(e)||void 0!==t)&&!m(t))return p(e)||(e=function(t,e){if(A(r)&&(e=s(r,this,t,e)),!m(e))return e}),i[1]=e,a(nt,null,i)}}),!J[K]){var wt=J.valueOf;F(J,K,function(t){return s(wt,this)})}V(Z,W),j[G]=!0},8201:function(t,e,n){n(2219)("matchAll")},1274:function(t,e,n){n(2219)("match")},6626:function(t,e,n){n(2219)("replace")},3211:function(t,e,n){n(2219)("search")},9952:function(t,e,n){n(2219)("species")},15:function(t,e,n){n(2219)("split")},9831:function(t,e,n){n(2219)("toPrimitive")},7521:function(t,e,n){n(2219)("toStringTag")},2972:function(t,e,n){n(2219)("unscopables")},4655:function(t,e,n){var i=n(7583),r=n(6778),o=n(9307),a=n(5677),s=n(57),l=n(3649),c=l("iterator"),u=l("toStringTag"),h=a.values,d=function(t,e){if(t){if(t[c]!==h)try{s(t,c,h)}catch(e){t[c]=h}if(t[u]||s(t,u,e),r[e])for(var n in a)if(t[n]!==a[n])try{s(t,n,a[n])}catch(e){t[n]=a[n]}}};for(var f in r)d(i[f]&&i[f].prototype,f);d(o,"DOMTokenList")},8765:function(t,e,n){var i=n(5036);n(4655),t.exports=i},5441:function(t,e,n){var i=n(2582);n(4655),t.exports=i},7705:function(t){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n="",i=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n}).join("")},e.i=function(t,n,i,r,o){"string"==typeof t&&(t=[[null,t,void 0]]);var a={};if(i)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var c=0;c<t.length;c++){var u=[].concat(t[c]);i&&a[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),e.push(u))}},e}},6738:function(t){"use strict";t.exports=function(t){return t[1]}},8679:function(t){var e=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,n=window.WeakMap;if(void 0===n){var i=Object.defineProperty,r=Date.now()%1e9;(n=function(){this.name="__st"+(1e9*Math.random()>>>0)+r+++"__"}).prototype={set:function(t,e){var n=t[this.name];return n&&n[0]===t?n[1]=e:i(t,this.name,{value:[t,e],writable:!0}),this},get:function(t){var e;return(e=t[this.name])&&e[0]===t?e[1]:void 0},delete:function(t){var e=t[this.name];if(!e)return!1;var n=e[0]===t;return e[0]=e[1]=void 0,n},has:function(t){var e=t[this.name];return!!e&&e[0]===t}}}var o=new n,a=window.msSetImmediate;if(!a){var s=[],l=String(Math.random());window.addEventListener("message",function(t){if(t.data===l){var e=s;s=[],e.forEach(function(t){t()})}}),a=function(t){s.push(t),window.postMessage(l,"*")}}var c=!1,u=[];function h(){c=!1;var t=u;u=[],t.sort(function(t,e){return t.uid_-e.uid_});var e=!1;t.forEach(function(t){var n=t.takeRecords();!function(t){t.nodes_.forEach(function(e){var n=o.get(e);n&&n.forEach(function(e){e.observer===t&&e.removeTransientObservers()})})}(t),n.length&&(t.callback_(n,t),e=!0)}),e&&h()}function d(t,e){for(var n=t;n;n=n.parentNode){var i=o.get(n);if(i)for(var r=0;r<i.length;r++){var a=i[r],s=a.options;if(n===t||s.subtree){var l=e(s);l&&a.enqueue(l)}}}}var f,p,A=0;function g(t){this.callback_=t,this.nodes_=[],this.records_=[],this.uid_=++A}function v(t,e){this.type=t,this.target=e,this.addedNodes=[],this.removedNodes=[],this.previousSibling=null,this.nextSibling=null,this.attributeName=null,this.attributeNamespace=null,this.oldValue=null}function m(t,e){return f=new v(t,e)}function y(t){return p||((n=new v((e=f).type,e.target)).addedNodes=e.addedNodes.slice(),n.removedNodes=e.removedNodes.slice(),n.previousSibling=e.previousSibling,n.nextSibling=e.nextSibling,n.attributeName=e.attributeName,n.attributeNamespace=e.attributeNamespace,n.oldValue=e.oldValue,(p=n).oldValue=t,p);var e,n}function b(t,e,n){this.observer=t,this.target=e,this.options=n,this.transientObservedNodes=[]}g.prototype={observe:function(t,e){var n;if(n=t,t=window.ShadowDOMPolyfill&&window.ShadowDOMPolyfill.wrapIfNeeded(n)||n,!e.childList&&!e.attributes&&!e.characterData||e.attributeOldValue&&!e.attributes||e.attributeFilter&&e.attributeFilter.length&&!e.attributes||e.characterDataOldValue&&!e.characterData)throw new SyntaxError;var i,r=o.get(t);r||o.set(t,r=[]);for(var a=0;a<r.length;a++)if(r[a].observer===this){(i=r[a]).removeListeners(),i.options=e;break}i||(i=new b(this,t,e),r.push(i),this.nodes_.push(t)),i.addListeners()},disconnect:function(){this.nodes_.forEach(function(t){for(var e=o.get(t),n=0;n<e.length;n++){var i=e[n];if(i.observer===this){i.removeListeners(),e.splice(n,1);break}}},this),this.records_=[]},takeRecords:function(){var t=this.records_;return this.records_=[],t}},b.prototype={enqueue:function(t){var e,n=this.observer.records_,i=n.length;if(n.length>0){var r=function(t,e){return t===e?t:!p||(n=t)!==p&&n!==f?null:p;var n}(n[i-1],t);if(r)return void(n[i-1]=r)}else e=this.observer,u.push(e),c||(c=!0,a(h));n[i]=t},addListeners:function(){this.addListeners_(this.target)},addListeners_:function(t){var e=this.options;e.attributes&&t.addEventListener("DOMAttrModified",this,!0),e.characterData&&t.addEventListener("DOMCharacterDataModified",this,!0),e.childList&&t.addEventListener("DOMNodeInserted",this,!0),(e.childList||e.subtree)&&t.addEventListener("DOMNodeRemoved",this,!0)},removeListeners:function(){this.removeListeners_(this.target)},removeListeners_:function(t){var e=this.options;e.attributes&&t.removeEventListener("DOMAttrModified",this,!0),e.characterData&&t.removeEventListener("DOMCharacterDataModified",this,!0),e.childList&&t.removeEventListener("DOMNodeInserted",this,!0),(e.childList||e.subtree)&&t.removeEventListener("DOMNodeRemoved",this,!0)},addTransientObserver:function(t){if(t!==this.target){this.addListeners_(t),this.transientObservedNodes.push(t);var e=o.get(t);e||o.set(t,e=[]),e.push(this)}},removeTransientObservers:function(){var t=this.transientObservedNodes;this.transientObservedNodes=[],t.forEach(function(t){this.removeListeners_(t);for(var e=o.get(t),n=0;n<e.length;n++)if(e[n]===this){e.splice(n,1);break}},this)},handleEvent:function(t){switch(t.stopImmediatePropagation(),t.type){case"DOMAttrModified":var e=t.attrName,n=t.relatedNode.namespaceURI,i=t.target;(o=new m("attributes",i)).attributeName=e,o.attributeNamespace=n;var r=null;"undefined"!=typeof MutationEvent&&t.attrChange===MutationEvent.ADDITION||(r=t.prevValue),d(i,function(t){if(t.attributes&&(!t.attributeFilter||!t.attributeFilter.length||-1!==t.attributeFilter.indexOf(e)||-1!==t.attributeFilter.indexOf(n)))return t.attributeOldValue?y(r):o});break;case"DOMCharacterDataModified":var o=m("characterData",i=t.target);r=t.prevValue,d(i,function(t){if(t.characterData)return t.characterDataOldValue?y(r):o});break;case"DOMNodeRemoved":this.addTransientObserver(t.target);case"DOMNodeInserted":i=t.relatedNode;var a,s,l=t.target;"DOMNodeInserted"===t.type?(a=[l],s=[]):(a=[],s=[l]);var c=l.previousSibling,u=l.nextSibling;(o=m("childList",i)).addedNodes=a,o.removedNodes=s,o.previousSibling=c,o.nextSibling=u,d(i,function(t){if(t.childList)return o})}f=p=void 0}},e||(e=g),t.exports=e},7588:function(t){var e=function(t){"use strict";var e,n=Object.prototype,i=n.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",a=r.asyncIterator||"@@asyncIterator",s=r.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var r=e&&e.prototype instanceof g?e:g,o=Object.create(r.prototype),a=new T(i||[]);return o._invoke=function(t,e,n){var i=h;return function(r,o){if(i===f)throw new Error("Generator is already running");if(i===p){if("throw"===r)throw o;return E()}for(n.method=r,n.arg=o;;){var a=n.delegate;if(a){var s=S(a,n);if(s){if(s===A)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===h)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=f;var l=u(t,e,n);if("normal"===l.type){if(i=n.done?p:d,l.arg===A)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(i=p,n.method="throw",n.arg=l.arg)}}}(t,n,a),o}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var h="suspendedStart",d="suspendedYield",f="executing",p="completed",A={};function g(){}function v(){}function m(){}var y={};l(y,o,function(){return this});var b=Object.getPrototypeOf,_=b&&b(b(O([])));_&&_!==n&&i.call(_,o)&&(y=_);var w=m.prototype=g.prototype=Object.create(y);function x(t){["next","throw","return"].forEach(function(e){l(t,e,function(t){return this._invoke(e,t)})})}function C(t,e){function n(r,o,a,s){var l=u(t[r],t,o);if("throw"!==l.type){var c=l.arg,h=c.value;return h&&"object"==typeof h&&i.call(h,"__await")?e.resolve(h.__await).then(function(t){n("next",t,a,s)},function(t){n("throw",t,a,s)}):e.resolve(h).then(function(t){c.value=t,a(c)},function(t){return n("throw",t,a,s)})}s(l.arg)}var r;this._invoke=function(t,i){function o(){return new e(function(e,r){n(t,i,e,r)})}return r=r?r.then(o,o):o()}}function S(t,n){var i=t.iterator[n.method];if(i===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=e,S(t,n),"throw"===n.method))return A;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return A}var r=u(i,t.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,A;var o=r.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,A):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,A)}function B(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function k(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(B,this),this.reset(!0)}function O(t){if(t){var n=t[o];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,a=function n(){for(;++r<t.length;)if(i.call(t,r))return n.value=t[r],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}return{next:E}}function E(){return{value:e,done:!0}}return v.prototype=m,l(w,"constructor",m),l(m,"constructor",v),v.displayName=l(m,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,l(t,s,"GeneratorFunction")),t.prototype=Object.create(w),t},t.awrap=function(t){return{__await:t}},x(C.prototype),l(C.prototype,a,function(){return this}),t.AsyncIterator=C,t.async=function(e,n,i,r,o){void 0===o&&(o=Promise);var a=new C(c(e,n,i,r),o);return t.isGeneratorFunction(n)?a:a.next().then(function(t){return t.done?t.value:a.next()})},x(w),l(w,s,"Generator"),l(w,o,function(){return this}),l(w,"toString",function(){return"[object Generator]"}),t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var i=e.pop();if(i in t)return n.value=i,n.done=!1,n}return n.done=!0,n}},t.values=O,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(k),!t)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function r(i,r){return s.type="throw",s.arg=t,n.next=i,r&&(n.method="next",n.arg=e),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),c=i.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,A):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),A},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),k(n),A}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var r=i.arg;k(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,i){return this.delegate={iterator:O(t),resultName:n,nextLoc:i},"next"===this.method&&(this.arg=e),A}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}},8702:function(t,e,n){"use strict";n.d(e,{Z:function(){return F}});var i=n(4296),r=n(6464),o=n(6881),a=n(2942),s=n(7003),l=n(3379),c=n.n(l),u=n(7795),h=n.n(u),d=n(569),f=n.n(d),p=n(3565),A=n.n(p),g=n(9216),v=n.n(g),m=n(4589),y=n.n(m),b=n(5313),_={};b.Z&&b.Z.locals&&(_.locals=b.Z.locals);var w,x=0,C={};C.styleTagTransform=y(),C.setAttributes=A(),C.insert=f().bind(null,"head"),C.domAPI=h(),C.insertStyleElement=v(),_.use=function(t){return C.options=t||{},x++||(w=c()(b.Z,C)),_},_.unuse=function(){x>0&&!--x&&(w(),w=null)};var S=_;function B(t){var e,n;return{c:function(){e=(0,a.bi5)("svg"),n=(0,a.bi5)("path"),(0,a.Ljt)(n,"d","M599.99999 832.000004h47.999999a24 24 0 0 0 23.999999-24V376.000013a24 24 0 0 0-23.999999-24h-47.999999a24 24 0 0 0-24 24v431.999991a24 24 0 0 0 24 24zM927.999983 160.000017h-164.819997l-67.999998-113.399998A95.999998 95.999998 0 0 0 612.819989 0.00002H411.179993a95.999998 95.999998 0 0 0-82.319998 46.599999L260.819996 160.000017H95.999999A31.999999 31.999999 0 0 0 64 192.000016v32a31.999999 31.999999 0 0 0 31.999999 31.999999h32v671.999987a95.999998 95.999998 0 0 0 95.999998 95.999998h575.999989a95.999998 95.999998 0 0 0 95.999998-95.999998V256.000015h31.999999a31.999999 31.999999 0 0 0 32-31.999999V192.000016a31.999999 31.999999 0 0 0-32-31.999999zM407.679993 101.820018A12 12 0 0 1 417.999993 96.000018h187.999996a12 12 0 0 1 10.3 5.82L651.219989 160.000017H372.779994zM799.999986 928.000002H223.999997V256.000015h575.999989z m-423.999992-95.999998h47.999999a24 24 0 0 0 24-24V376.000013a24 24 0 0 0-24-24h-47.999999a24 24 0 0 0-24 24v431.999991a24 24 0 0 0 24 24z"),(0,a.Ljt)(e,"class","vc-icon-delete"),(0,a.Ljt)(e,"viewBox","0 0 1024 1024"),(0,a.Ljt)(e,"width","200"),(0,a.Ljt)(e,"height","200")},m:function(t,i){(0,a.$Tr)(t,e,i),(0,a.R3I)(e,n)},d:function(t){t&&(0,a.ogt)(e)}}}function k(t){var e,n,i;return{c:function(){e=(0,a.bi5)("svg"),n=(0,a.bi5)("path"),i=(0,a.bi5)("path"),(0,a.Ljt)(n,"d","M874.154197 150.116875A511.970373 511.970373 0 1 0 1023.993986 511.991687a511.927744 511.927744 0 0 0-149.839789-361.874812z m-75.324866 648.382129A405.398688 405.398688 0 1 1 917.422301 511.991687a405.313431 405.313431 0 0 1-118.59297 286.507317z"),(0,a.Ljt)(i,"d","M725.039096 299.274605a54.351559 54.351559 0 0 0-76.731613 0l-135.431297 135.431297L377.274375 299.274605a54.436817 54.436817 0 0 0-76.944756 76.987385l135.388668 135.431297-135.388668 135.473925a54.436817 54.436817 0 0 0 76.944756 76.987385l135.388668-135.431297 135.431297 135.473926a54.436817 54.436817 0 0 0 76.731613-76.987385l-135.388668-135.473926 135.388668-135.431296a54.479445 54.479445 0 0 0 0.213143-77.030014z"),(0,a.Ljt)(e,"viewBox","0 0 1024 1024"),(0,a.Ljt)(e,"width","200"),(0,a.Ljt)(e,"height","200")},m:function(t,r){(0,a.$Tr)(t,e,r),(0,a.R3I)(e,n),(0,a.R3I)(e,i)},d:function(t){t&&(0,a.ogt)(e)}}}function T(t){var e,n;return{c:function(){e=(0,a.bi5)("svg"),n=(0,a.bi5)("path"),(0,a.Ljt)(n,"fill-rule","evenodd"),(0,a.Ljt)(n,"d","M5.75 1a.75.75 0 00-.75.75v3c0 .414.336.75.75.75h4.5a.75.75 0 00.75-.75v-3a.75.75 0 00-.75-.75h-4.5zm.75 3V2.5h3V4h-3zm-2.874-.467a.75.75 0 00-.752-1.298A1.75 1.75 0 002 3.75v9.5c0 .966.784 1.75 1.75 1.75h8.5A1.75 1.75 0 0014 13.25v-9.5a1.75 1.75 0 00-.874-1.515.75.75 0 10-.752 1.298.25.25 0 01.126.217v9.5a.25.25 0 01-.25.25h-8.5a.25.25 0 01-.25-.25v-9.5a.25.25 0 01.126-.217z"),(0,a.Ljt)(e,"class","vc-icon-copy"),(0,a.Ljt)(e,"viewBox","0 0 16 16")},m:function(t,i){(0,a.$Tr)(t,e,i),(0,a.R3I)(e,n)},d:function(t){t&&(0,a.ogt)(e)}}}function O(t){var e,n;return{c:function(){e=(0,a.bi5)("svg"),n=(0,a.bi5)("path"),(0,a.Ljt)(n,"fill-rule","evenodd"),(0,a.Ljt)(n,"d","M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z"),(0,a.Ljt)(e,"class","vc-icon-suc"),(0,a.Ljt)(e,"viewBox","0 0 16 16")},m:function(t,i){(0,a.$Tr)(t,e,i),(0,a.R3I)(e,n)},d:function(t){t&&(0,a.ogt)(e)}}}function E(t){var e,n,i;return{c:function(){e=(0,a.bi5)("svg"),n=(0,a.bi5)("path"),i=(0,a.bi5)("path"),(0,a.Ljt)(n,"d","M776.533333 1024 162.133333 1024C72.533333 1024 0 951.466667 0 861.866667L0 247.466667C0 157.866667 72.533333 85.333333 162.133333 85.333333L469.333333 85.333333c25.6 0 42.666667 17.066667 42.666667 42.666667s-17.066667 42.666667-42.666667 42.666667L162.133333 170.666667C119.466667 170.666667 85.333333 204.8 85.333333 247.466667l0 610.133333c0 42.666667 34.133333 76.8 76.8 76.8l610.133333 0c42.666667 0 76.8-34.133333 76.8-76.8L849.066667 554.666667c0-25.6 17.066667-42.666667 42.666667-42.666667s42.666667 17.066667 42.666667 42.666667l0 307.2C938.666667 951.466667 866.133333 1024 776.533333 1024z"),(0,a.Ljt)(i,"d","M256 810.666667c-12.8 0-21.333333-4.266667-29.866667-12.8C217.6 789.333333 213.333333 772.266667 213.333333 759.466667l42.666667-213.333333c0-8.533333 4.266667-17.066667 12.8-21.333333l512-512c17.066667-17.066667 42.666667-17.066667 59.733333 0l170.666667 170.666667c17.066667 17.066667 17.066667 42.666667 0 59.733333l-512 512c-4.266667 4.266667-12.8 8.533333-21.333333 12.8l-213.333333 42.666667C260.266667 810.666667 260.266667 810.666667 256 810.666667zM337.066667 576l-25.6 136.533333 136.533333-25.6L921.6 213.333333 810.666667 102.4 337.066667 576z"),(0,a.Ljt)(e,"class","vc-icon-edit"),(0,a.Ljt)(e,"viewBox","0 0 1024 1024"),(0,a.Ljt)(e,"width","200"),(0,a.Ljt)(e,"height","200")},m:function(t,r){(0,a.$Tr)(t,e,r),(0,a.R3I)(e,n),(0,a.R3I)(e,i)},d:function(t){t&&(0,a.ogt)(e)}}}function I(t){var e,n;return{c:function(){e=(0,a.bi5)("svg"),n=(0,a.bi5)("path"),(0,a.Ljt)(n,"d","M581.338005 987.646578c-2.867097 4.095853-4.573702 8.669555-8.191705 12.287558a83.214071 83.214071 0 0 1-60.959939 24.029001 83.214071 83.214071 0 0 1-61.028203-24.029001c-3.618003-3.618003-5.324608-8.191705-8.123441-12.15103L24.370323 569.050448a83.418864 83.418864 0 0 1 117.892289-117.89229l369.923749 369.92375L1308.829682 24.438587A83.418864 83.418864 0 0 1 1426.721971 142.194348L581.338005 987.646578z"),(0,a.Ljt)(e,"class","vc-icon-don"),(0,a.Ljt)(e,"viewBox","0 0 1501 1024"),(0,a.Ljt)(e,"width","200"),(0,a.Ljt)(e,"height","200")},m:function(t,i){(0,a.$Tr)(t,e,i),(0,a.R3I)(e,n)},d:function(t){t&&(0,a.ogt)(e)}}}function M(t){var e,n;return{c:function(){e=(0,a.bi5)("svg"),n=(0,a.bi5)("path"),(0,a.Ljt)(n,"d","M894.976 574.464q0 78.848-29.696 148.48t-81.408 123.392-121.856 88.064-151.04 41.472q-5.12 1.024-9.216 1.536t-9.216 0.512l-177.152 0q-17.408 0-34.304-6.144t-30.208-16.896-22.016-25.088-8.704-29.696 8.192-29.696 21.504-24.576 29.696-16.384 33.792-6.144l158.72 1.024q54.272 0 102.4-19.968t83.968-53.76 56.32-79.36 20.48-97.792q0-49.152-18.432-92.16t-50.688-76.8-75.264-54.784-93.184-26.112q-2.048 0-2.56 0.512t-2.56 0.512l-162.816 0 0 80.896q0 17.408-13.824 25.6t-44.544-10.24q-8.192-5.12-26.112-17.92t-41.984-30.208-50.688-36.864l-51.2-38.912q-15.36-12.288-26.624-22.016t-11.264-24.064q0-12.288 12.8-25.6t29.184-26.624q18.432-15.36 44.032-35.84t50.688-39.936 45.056-35.328 28.16-22.016q24.576-17.408 39.936-7.168t16.384 30.72l0 81.92 162.816 0q5.12 0 10.752 1.024t10.752 2.048q79.872 8.192 149.504 41.984t121.344 87.552 80.896 123.392 29.184 147.456z"),(0,a.Ljt)(e,"class","vc-icon-cancel"),(0,a.Ljt)(e,"viewBox","0 0 1024 1024"),(0,a.Ljt)(e,"width","200"),(0,a.Ljt)(e,"height","200")},m:function(t,i){(0,a.$Tr)(t,e,i),(0,a.R3I)(e,n)},d:function(t){t&&(0,a.ogt)(e)}}}function D(t){var e,n,i,r,o,s,l,c,u,h="delete"===t[0]&&B(),d="clear"===t[0]&&k(),f="copy"===t[0]&&T(),p="success"===t[0]&&O(),A="edit"===t[0]&&E(),g="done"===t[0]&&I(),v="cancel"===t[0]&&M();return{c:function(){e=(0,a.bGB)("i"),h&&h.c(),n=(0,a.DhX)(),d&&d.c(),i=(0,a.DhX)(),f&&f.c(),r=(0,a.DhX)(),p&&p.c(),o=(0,a.DhX)(),A&&A.c(),s=(0,a.DhX)(),g&&g.c(),l=(0,a.DhX)(),v&&v.c(),(0,a.Ljt)(e,"class","vc-icon")},m:function(m,y){(0,a.$Tr)(m,e,y),h&&h.m(e,null),(0,a.R3I)(e,n),d&&d.m(e,null),(0,a.R3I)(e,i),f&&f.m(e,null),(0,a.R3I)(e,r),p&&p.m(e,null),(0,a.R3I)(e,o),A&&A.m(e,null),(0,a.R3I)(e,s),g&&g.m(e,null),(0,a.R3I)(e,l),v&&v.m(e,null),c||(u=(0,a.oLt)(e,"click",t[1]),c=!0)},p:function(t,a){a[0],"delete"===t[0]?h||((h=B()).c(),h.m(e,n)):h&&(h.d(1),h=null),"clear"===t[0]?d||((d=k()).c(),d.m(e,i)):d&&(d.d(1),d=null),"copy"===t[0]?f||((f=T()).c(),f.m(e,r)):f&&(f.d(1),f=null),"success"===t[0]?p||((p=O()).c(),p.m(e,o)):p&&(p.d(1),p=null),"edit"===t[0]?A||((A=E()).c(),A.m(e,s)):A&&(A.d(1),A=null),"done"===t[0]?g||((g=I()).c(),g.m(e,l)):g&&(g.d(1),g=null),"cancel"===t[0]?v||((v=M()).c(),v.m(e,null)):v&&(v.d(1),v=null)},i:a.ZTd,o:a.ZTd,d:function(t){t&&(0,a.ogt)(e),h&&h.d(),d&&d.d(),f&&f.d(),p&&p.d(),A&&A.d(),g&&g.d(),v&&v.d(),c=!1,u()}}}function L(t,e,n){var i=e.name;return(0,s.H3)(function(){S.use()}),(0,s.ev)(function(){S.unuse()}),t.$$set=function(t){"name"in t&&n(0,i=t.name)},[i,function(e){a.cKT.call(this,t,e)}]}var F=function(t){function e(e){var n;return n=t.call(this)||this,(0,a.S1n)((0,r.Z)(n),e,L,D,a.N8,{name:0}),n}return(0,o.Z)(e,t),(0,i.Z)(e,[{key:"name",get:function(){return this.$$.ctx[0]},set:function(t){this.$$set({name:t}),(0,a.yl1)()}}]),e}(a.f_C)},3903:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var _babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(6464),_babel_runtime_helpers_inheritsLoose__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(6881),svelte_internal__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(2942),svelte__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(7003),_component_icon_icon_svelte__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(8702),_logTool__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(8665),_log_model__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(5629),_logCommand_less__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(3411);function get_each_context(t,e,n){var i=t.slice();return i[28]=e[n],i}function create_if_block_2(t){var e,n,i;return{c:function(){(e=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.bGB)("li")).textContent="Close",(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(e,"class","vc-cmd-prompted-hide")},m:function(r,o){(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.$Tr)(r,e,o),n||(i=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.oLt)(e,"click",t[5]),n=!0)},p:svelte_internal__WEBPACK_IMPORTED_MODULE_0__.ZTd,d:function(t){t&&(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.ogt)(e),n=!1,i()}}}function create_else_block(t){var e;return{c:function(){(e=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.bGB)("li")).textContent="No Prompted"},m:function(t,n){(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.$Tr)(t,e,n)},p:svelte_internal__WEBPACK_IMPORTED_MODULE_0__.ZTd,d:function(t){t&&(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.ogt)(e)}}}function create_each_block(t){var e,n,i,r,o=t[28].text+"";function a(){return t[14](t[28])}return{c:function(){e=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.bGB)("li"),n=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.fLW)(o)},m:function(t,o){(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.$Tr)(t,e,o),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(e,n),i||(r=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.oLt)(e,"click",a),i=!0)},p:function(e,i){t=e,8&i&&o!==(o=t[28].text+"")&&(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.rTO)(n,o)},d:function(t){t&&(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.ogt)(e),i=!1,r()}}}function create_if_block_1(t){var e,n,i,r,o;return n=new _component_icon_icon_svelte__WEBPACK_IMPORTED_MODULE_2__.Z({props:{name:"clear"}}),{c:function(){e=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.bGB)("div"),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.YCL)(n.$$.fragment),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(e,"class","vc-cmd-clear-btn")},m:function(a,s){(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.$Tr)(a,e,s),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.yef)(n,e,null),i=!0,r||(o=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.oLt)(e,"click",(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.AT7)(t[17])),r=!0)},p:svelte_internal__WEBPACK_IMPORTED_MODULE_0__.ZTd,i:function(t){i||((0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ui)(n.$$.fragment,t),i=!0)},o:function(t){(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.etI)(n.$$.fragment,t),i=!1},d:function(t){t&&(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.ogt)(e),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.vpE)(n),r=!1,o()}}}function create_if_block(t){var e,n,i,r,o;return n=new _component_icon_icon_svelte__WEBPACK_IMPORTED_MODULE_2__.Z({props:{name:"clear"}}),{c:function(){e=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.bGB)("div"),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.YCL)(n.$$.fragment),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(e,"class","vc-cmd-clear-btn")},m:function(a,s){(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.$Tr)(a,e,s),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.yef)(n,e,null),i=!0,r||(o=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.oLt)(e,"click",(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.AT7)(t[19])),r=!0)},p:svelte_internal__WEBPACK_IMPORTED_MODULE_0__.ZTd,i:function(t){i||((0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ui)(n.$$.fragment,t),i=!0)},o:function(t){(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.etI)(n.$$.fragment,t),i=!1},d:function(t){t&&(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.ogt)(e),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.vpE)(n),r=!1,o()}}}function create_fragment(t){for(var e,n,i,r,o,a,s,l,c,u,h,d,f,p,A,g,v,m,y,b,_,w=t[3].length>0&&create_if_block_2(t),x=t[3],C=[],S=0;S<x.length;S+=1)C[S]=create_each_block(get_each_context(t,x,S));var B=null;x.length||(B=create_else_block(t));var k=t[1].length>0&&create_if_block_1(t),T=t[4].length>0&&create_if_block(t);return{c:function(){e=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.bGB)("form"),n=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.bGB)("ul"),w&&w.c(),i=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.DhX)();for(var y=0;y<C.length;y+=1)C[y].c();B&&B.c(),r=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.DhX)(),o=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.bGB)("div"),a=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.bGB)("textarea"),s=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.DhX)(),k&&k.c(),l=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.DhX)(),(c=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.bGB)("button")).textContent="OK",u=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.DhX)(),h=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.bGB)("form"),d=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.bGB)("ul"),f=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.DhX)(),p=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.bGB)("div"),A=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.bGB)("textarea"),g=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.DhX)(),T&&T.c(),v=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.DhX)(),(m=(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.bGB)("button")).textContent="Filter",(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(n,"class","vc-cmd-prompted"),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(n,"style",t[2]),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(a,"class","vc-cmd-input"),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(a,"placeholder","command..."),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(o,"class","vc-cmd-input-wrap"),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(c,"class","vc-cmd-btn"),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(c,"type","submit"),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(e,"class","vc-cmd"),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(d,"class","vc-cmd-prompted"),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(A,"class","vc-cmd-input"),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(A,"placeholder","filter..."),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(p,"class","vc-cmd-input-wrap"),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(m,"class","vc-cmd-btn"),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(m,"type","submit"),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(h,"class","vc-cmd vc-filter")},m:function(x,S){(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.$Tr)(x,e,S),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(e,n),w&&w.m(n,null),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(n,i);for(var O=0;O<C.length;O+=1)C[O].m(n,null);B&&B.m(n,null),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(e,r),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(e,o),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(o,a),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.BmG)(a,t[1]),t[16](a),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(o,s),k&&k.m(o,null),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(e,l),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(e,c),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.$Tr)(x,u,S),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.$Tr)(x,h,S),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(h,d),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(h,f),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(h,p),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(p,A),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.BmG)(A,t[4]),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(p,g),T&&T.m(p,null),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(h,v),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.R3I)(h,m),y=!0,b||(_=[(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.oLt)(a,"input",t[15]),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.oLt)(a,"keydown",t[10]),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.oLt)(a,"keyup",t[11]),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.oLt)(a,"focus",t[8]),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.oLt)(a,"blur",t[9]),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.oLt)(e,"submit",(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.AT7)(t[12])),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.oLt)(A,"input",t[18]),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.oLt)(h,"submit",(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.AT7)(t[13]))],b=!0)},p:function(t,e){var r=e[0];if(t[3].length>0?w?w.p(t,r):((w=create_if_block_2(t)).c(),w.m(n,i)):w&&(w.d(1),w=null),136&r){var s;for(x=t[3],s=0;s<x.length;s+=1){var l=get_each_context(t,x,s);C[s]?C[s].p(l,r):(C[s]=create_each_block(l),C[s].c(),C[s].m(n,null))}for(;s<C.length;s+=1)C[s].d(1);C.length=x.length,!x.length&&B?B.p(t,r):x.length?B&&(B.d(1),B=null):((B=create_else_block(t)).c(),B.m(n,null))}(!y||4&r)&&(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ljt)(n,"style",t[2]),2&r&&(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.BmG)(a,t[1]),t[1].length>0?k?(k.p(t,r),2&r&&(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ui)(k,1)):((k=create_if_block_1(t)).c(),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ui)(k,1),k.m(o,null)):k&&((0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.dvw)(),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.etI)(k,1,1,function(){k=null}),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.gbL)()),16&r&&(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.BmG)(A,t[4]),t[4].length>0?T?(T.p(t,r),16&r&&(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ui)(T,1)):((T=create_if_block(t)).c(),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ui)(T,1),T.m(p,null)):T&&((0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.dvw)(),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.etI)(T,1,1,function(){T=null}),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.gbL)())},i:function(t){y||((0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ui)(k),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.Ui)(T),y=!0)},o:function(t){(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.etI)(k),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.etI)(T),y=!1},d:function(n){n&&(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.ogt)(e),w&&w.d(),(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.RMB)(C,n),B&&B.d(),t[16](null),k&&k.d(),n&&(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.ogt)(u),n&&(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.ogt)(h),T&&T.d(),b=!1,(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.j7q)(_)}}}function instance($$self,$$props,$$invalidate){var module=_log_model__WEBPACK_IMPORTED_MODULE_3__.W.getSingleton(_log_model__WEBPACK_IMPORTED_MODULE_3__.W,"VConsoleLogModel"),cachedObjKeys={},dispatch=(0,svelte__WEBPACK_IMPORTED_MODULE_1__.x)(),cmdElement,cmdValue="",promptedStyle="",promptedList=[],filterValue="";(0,svelte__WEBPACK_IMPORTED_MODULE_1__.H3)(function(){_logCommand_less__WEBPACK_IMPORTED_MODULE_4__.Z.use()}),(0,svelte__WEBPACK_IMPORTED_MODULE_1__.ev)(function(){_logCommand_less__WEBPACK_IMPORTED_MODULE_4__.Z.unuse()});var evalCommand=function(t){module.evalCommand(t)},moveCursorToPos=function(t,e){t.setSelectionRange&&setTimeout(function(){t.setSelectionRange(e,e)},1)},clearPromptedList=function(){$$invalidate(2,promptedStyle="display: none;"),$$invalidate(3,promptedList=[])},updatePromptedList=function updatePromptedList(identifier){if(""!==cmdValue){identifier||(identifier=(0,_logTool__WEBPACK_IMPORTED_MODULE_5__.oj)(cmdValue));var objName="window",keyName=cmdValue;if("."!==identifier.front.text&&"["!==identifier.front.text||(objName=identifier.front.before,keyName=""!==identifier.back.text?identifier.back.before:identifier.front.after),keyName=keyName.replace(/(^['"]+)|(['"']+$)/g,""),!cachedObjKeys[objName])try{cachedObjKeys[objName]=Object.getOwnPropertyNames(eval("("+objName+")")).sort()}catch(t){}try{if(cachedObjKeys[objName])for(var i=0;i<cachedObjKeys[objName].length&&!(promptedList.length>=100);i++){var key=String(cachedObjKeys[objName][i]),keyPattern=new RegExp("^"+keyName,"i");if(keyPattern.test(key)){var completeCmd=objName;"."===identifier.front.text||""===identifier.front.text?completeCmd+="."+key:"["===identifier.front.text&&(completeCmd+="['"+key+"']"),promptedList.push({text:key,value:completeCmd})}}}catch(t){}if(promptedList.length>0){var m=Math.min(200,31*(promptedList.length+1));$$invalidate(2,promptedStyle="display: block; height: "+m+"px; margin-top: "+(-m-2)+"px;"),$$invalidate(3,promptedList)}else clearPromptedList()}else clearPromptedList()},autoCompleteBrackets=function(t,e){if(8!==e&&46!==e&&""===t.front.after)switch(t.front.text){case"[":return $$invalidate(1,cmdValue+="]"),void moveCursorToPos(cmdElement,cmdValue.length-1);case"(":return $$invalidate(1,cmdValue+=")"),void moveCursorToPos(cmdElement,cmdValue.length-1);case"{":return $$invalidate(1,cmdValue+="}"),void moveCursorToPos(cmdElement,cmdValue.length-1)}},dispatchFilterEvent=function(){dispatch("filterText",{filterText:filterValue})},onTapClearText=function(t){"cmd"===t?($$invalidate(1,cmdValue=""),clearPromptedList()):"filter"===t&&($$invalidate(4,filterValue=""),dispatchFilterEvent())},onTapPromptedItem=function onTapPromptedItem(item){var type="";try{type=eval("typeof "+item.value)}catch(t){}$$invalidate(1,cmdValue=item.value+("function"===type?"()":"")),clearPromptedList()},onCmdFocus=function(){updatePromptedList()},onCmdBlur=function(){},onCmdKeyDown=function(t){13===t.keyCode&&(t.preventDefault(),onCmdSubmit())},onCmdKeyUp=function(t){$$invalidate(3,promptedList=[]);var e=(0,_logTool__WEBPACK_IMPORTED_MODULE_5__.oj)(t.target.value);autoCompleteBrackets(e,t.keyCode),updatePromptedList(e)},onCmdSubmit=function(){""!==cmdValue&&evalCommand(cmdValue),clearPromptedList()},onFilterSubmit=function(t){dispatchFilterEvent()},click_handler=function(t){return onTapPromptedItem(t)};function textarea0_input_handler(){cmdValue=this.value,$$invalidate(1,cmdValue)}function textarea0_binding(t){svelte_internal__WEBPACK_IMPORTED_MODULE_0__.VnY[t?"unshift":"push"](function(){$$invalidate(0,cmdElement=t)})}var click_handler_1=function(){return onTapClearText("cmd")};function textarea1_input_handler(){filterValue=this.value,$$invalidate(4,filterValue)}var click_handler_2=function(){return onTapClearText("filter")};return[cmdElement,cmdValue,promptedStyle,promptedList,filterValue,clearPromptedList,onTapClearText,onTapPromptedItem,onCmdFocus,onCmdBlur,onCmdKeyDown,onCmdKeyUp,onCmdSubmit,onFilterSubmit,click_handler,textarea0_input_handler,textarea0_binding,click_handler_1,textarea1_input_handler,click_handler_2]}var LogCommand=function(t){function e(e){var n;return n=t.call(this)||this,(0,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.S1n)((0,_babel_runtime_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_7__.Z)(n),e,instance,create_fragment,svelte_internal__WEBPACK_IMPORTED_MODULE_0__.N8,{}),n}return(0,_babel_runtime_helpers_inheritsLoose__WEBPACK_IMPORTED_MODULE_6__.Z)(e,t),e}(svelte_internal__WEBPACK_IMPORTED_MODULE_0__.f_C);__webpack_exports__.Z=LogCommand},4687:function(t,e,n){"use strict";n.d(e,{x:function(){return r}});var i=n(3313),r=function(){var t=(0,i.fZ)({updateTime:0}),e=t.subscribe,n=t.set,r=t.update;return{subscribe:e,set:n,update:r,updateTime:function(){r(function(t){return t.updateTime=Date.now(),t})}}}()},643:function(t,e,n){"use strict";n.d(e,{N:function(){return i}});var i=function(){function t(){this._onDataUpdateCallbacks=[]}return t.getSingleton=function(e,n){return n||(n=e.toString()),t.singleton[n]||(t.singleton[n]=new e),t.singleton[n]},t}();i.singleton={}},5103:function(t,e,n){"use strict";function i(t){var e=t>0?new Date(t):new Date,n=e.getDate()<10?"0"+e.getDate():e.getDate(),i=e.getMonth()<9?"0"+(e.getMonth()+1):e.getMonth()+1,r=e.getFullYear(),o=e.getHours()<10?"0"+e.getHours():e.getHours(),a=e.getMinutes()<10?"0"+e.getMinutes():e.getMinutes(),s=e.getSeconds()<10?"0"+e.getSeconds():e.getSeconds(),l=e.getMilliseconds()<10?"0"+e.getMilliseconds():e.getMilliseconds();return l<100&&(l="0"+l),{time:+e,year:r,month:i,day:n,hour:o,minute:a,second:s,millisecond:l}}function r(t){return"[object Number]"===Object.prototype.toString.call(t)}function o(t){return"bigint"==typeof t}function a(t){return"string"==typeof t}function s(t){return"[object Array]"===Object.prototype.toString.call(t)}function l(t){return"boolean"==typeof t}function c(t){return void 0===t}function u(t){return null===t}function h(t){return"symbol"==typeof t}function d(t){return!("[object Object]"!==Object.prototype.toString.call(t)&&(r(t)||o(t)||a(t)||l(t)||s(t)||u(t)||f(t)||c(t)||h(t)))}function f(t){return"function"==typeof t}function p(t){return"object"==typeof HTMLElement?t instanceof HTMLElement:t&&"object"==typeof t&&null!==t&&1===t.nodeType&&"string"==typeof t.nodeName}function A(t){var e=Object.prototype.toString.call(t);return"[object Window]"===e||"[object DOMWindow]"===e||"[object global]"===e}function g(t){return null!=t&&"string"!=typeof t&&"boolean"!=typeof t&&"number"!=typeof t&&"function"!=typeof t&&"symbol"!=typeof t&&"bigint"!=typeof t&&"undefined"!=typeof Symbol&&"function"==typeof t[Symbol.iterator]}function v(t){return Object.prototype.toString.call(t).replace(/\[object (.*)\]/,"$1")}n.d(e,{C4:function(){return o},DV:function(){return y},FJ:function(){return A},Ft:function(){return u},HD:function(){return a},H_:function(){return N},KL:function(){return k},Kn:function(){return d},MH:function(){return I},PO:function(){return b},QI:function(){return P},QK:function(){return M},TW:function(){return g},_3:function(){return i},_D:function(){return D},cF:function(){return F},hZ:function(){return B},hj:function(){return r},id:function(){return T},jn:function(){return l},kJ:function(){return s},kK:function(){return p},mf:function(){return f},o8:function(){return c},po:function(){return L},qr:function(){return E},qt:function(){return j},rE:function(){return x},yk:function(){return h},zl:function(){return v}});var m=/(function|class) ([^ \{\()}]{1,})[\(| ]/;function y(t){var e;if(null==t)return"";var n=m.exec((null==t||null==(e=t.constructor)?void 0:e.toString())||"");return n&&n.length>1?n[2]:""}function b(t){var e,n=Object.prototype.hasOwnProperty;if(!t||"object"!=typeof t||t.nodeType||A(t))return!1;try{if(t.constructor&&!n.call(t,"constructor")&&!n.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}for(e in t);return void 0===e||n.call(t,e)}var _=/[\n\t]/g,w=function(t){return{"\n":"\\n","\t":"\\t"}[t]};function x(t){return"string"!=typeof t?t:String(t).replace(_,w)}var C=function(t,e){void 0===e&&(e=0);var n="";return a(t)?(e>0&&(t=T(t,e)),n+='"'+x(t)+'"'):h(t)?n+=String(t).replace(/^Symbol\((.*)\)$/i,'Symbol("$1")'):f(t)?n+=(t.name||"function")+"()":o(t)?n+=String(t)+"n":n+=String(t),n},S=function t(e,n,i){if(void 0===i&&(i=0),d(e)||s(e))if(n.circularFinder(e)){var r="";if(s(e))r="(Circular Array)";else if(d(e)){var o;r="(Circular "+((null==(o=e.constructor)?void 0:o.name)||"Object")+")"}n.ret+=n.standardJSON?'"'+r+'"':r}else{var l="",c="";if(n.pretty){for(var u=0;u<=i;u++)l+=" ";c="\n"}var f="{",p="}";s(e)&&(f="[",p="]"),n.ret+=f+c;for(var A=I(e),g=0;g<A.length;g++){var v=A[g];n.ret+=l;try{s(e)||(d(v)||s(v)||h(v)?n.ret+=Object.prototype.toString.call(v):a(v)&&n.standardJSON?n.ret+='"'+v+'"':n.ret+=v,n.ret+=": ")}catch(t){continue}try{var m=e[v];if(s(m))n.maxDepth>-1&&i>=n.maxDepth?n.ret+="Array("+m.length+")":t(m,n,i+1);else if(d(m)){var y;n.maxDepth>-1&&i>=n.maxDepth?n.ret+=((null==(y=m.constructor)?void 0:y.name)||"Object")+" {}":t(m,n,i+1)}else n.ret+=C(m,n.keyMaxLen)}catch(t){n.ret+=n.standardJSON?'"(PARSE_ERROR)"':"(PARSE_ERROR)"}if(n.keyMaxLen>0&&n.ret.length>=10*n.keyMaxLen){n.ret+=", (...)";break}g<A.length-1&&(n.ret+=", "),n.ret+=c}n.ret+=l.substring(0,l.length-2)+p}else n.ret+=C(e,n.keyMaxLen)};function B(t,e){void 0===e&&(e={maxDepth:-1,keyMaxLen:-1,pretty:!1,standardJSON:!1});var n,i=Object.assign({ret:"",maxDepth:-1,keyMaxLen:-1,pretty:!1,standardJSON:!1,circularFinder:(n=new WeakSet,function(t){if("object"==typeof t&&null!==t){if(n.has(t))return!0;n.add(t)}return!1})},e);return S(t,i),i.ret}function k(t){return t<=0?"":t>=1e6?(t/1e3/1e3).toFixed(1)+" MB":t>=1e3?(t/1e3).toFixed(1)+" KB":t+" B"}function T(t,e){return t.length>e&&(t=t.substring(0,e)+"...("+k(function(t){try{return encodeURI(t).split(/%(?:u[0-9A-F]{2})?[0-9A-F]{2}|./).length-1}catch(t){return 0}}(t))+")"),t}var O=function(t,e){return String(t).localeCompare(String(e),void 0,{numeric:!0,sensitivity:"base"})};function E(t){return t.sort(O)}function I(t){return d(t)||s(t)?Object.keys(t):[]}function M(t){var e=I(t);return function(t){return d(t)||s(t)?Object.getOwnPropertyNames(t):[]}(t).filter(function(t){return-1===e.indexOf(t)})}function D(t){return d(t)||s(t)?Object.getOwnPropertySymbols(t):[]}function L(t,e){window.localStorage&&(t="vConsole_"+t,localStorage.setItem(t,e))}function F(t){if(window.localStorage)return t="vConsole_"+t,localStorage.getItem(t)}function P(t){return void 0===t&&(t=""),"__vc_"+t+Math.random().toString(36).substring(2,8)}function N(){return"undefined"!=typeof window&&!!window.__wxConfig&&!!window.wx&&!!window.__virtualDOM__}function j(t){if(N()&&"function"==typeof window.wx[t])try{for(var e,n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];return(e=window.wx[t]).call.apply(e,[window.wx].concat(i))}catch(e){return void console.debug("[vConsole] Fail to call wx."+t+"():",e)}}},5629:function(t,e,n){"use strict";n.d(e,{W:function(){return p}});var i=n(8270),r=n(6881),o=n(5103),a=n(643),s=n(4687),l=n(8665),c=n(9923);function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function h(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?u(Object(n),!0).forEach(function(e){(0,i.Z)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function d(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return f(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var p=function(t){function e(){for(var e,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return(e=t.call.apply(t,[this].concat(i))||this).LOG_METHODS=["log","info","warn","debug","error"],e.ADDED_LOG_PLUGIN_ID=[],e.maxLogNumber=1e3,e.logCounter=0,e.groupLevel=0,e.groupLabelCollapsedStack=[],e.pluginPattern=void 0,e.logQueue=[],e.flushLogScheduled=!1,e.origConsole={},e}(0,r.Z)(e,t);var n=e.prototype;return n.bindPlugin=function(t){return!(this.ADDED_LOG_PLUGIN_ID.indexOf(t)>-1||(0===this.ADDED_LOG_PLUGIN_ID.length&&this.mockConsole(),c.O.create(t),this.ADDED_LOG_PLUGIN_ID.push(t),this.pluginPattern=new RegExp("^\\[("+this.ADDED_LOG_PLUGIN_ID.join("|")+")\\]$","i"),0))},n.unbindPlugin=function(t){var e=this.ADDED_LOG_PLUGIN_ID.indexOf(t);return-1!==e&&(this.ADDED_LOG_PLUGIN_ID.splice(e,1),c.O.delete(t),0===this.ADDED_LOG_PLUGIN_ID.length&&this.unmockConsole(),!0)},n.mockConsole=function(){var t=this;"function"!=typeof this.origConsole.log&&(window.console?(this.LOG_METHODS.map(function(e){t.origConsole[e]=window.console[e]}),this.origConsole.time=window.console.time,this.origConsole.timeEnd=window.console.timeEnd,this.origConsole.clear=window.console.clear,this.origConsole.group=window.console.group,this.origConsole.groupCollapsed=window.console.groupCollapsed,this.origConsole.groupEnd=window.console.groupEnd):window.console={},this._mockConsoleLog(),this._mockConsoleTime(),this._mockConsoleGroup(),this._mockConsoleClear(),window._vcOrigConsole=this.origConsole)},n._mockConsoleLog=function(){var t=this;this.LOG_METHODS.map(function(e){window.console[e]=function(){for(var n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];t.addLog({type:e,origData:i||[]})}.bind(window.console)})},n._mockConsoleTime=function(){var t=this,e={};window.console.time=function(t){void 0===t&&(t=""),e[t]=Date.now()}.bind(window.console),window.console.timeEnd=function(n){void 0===n&&(n="");var i=e[n],r=0;i&&(r=Date.now()-i,delete e[n]),t.addLog({type:"log",origData:[n+": "+r+"ms"]})}.bind(window.console)},n._mockConsoleGroup=function(){var t=this,e=function(e){return function(n){void 0===n&&(n="console.group");var i=Symbol(n);t.groupLabelCollapsedStack.push({label:i,collapsed:e}),t.addLog({type:"log",origData:[n],isGroupHeader:e?2:1,isGroupCollapsed:!1},{noOrig:!0}),t.groupLevel++,e?t.origConsole.groupCollapsed(n):t.origConsole.group(n)}.bind(window.console)};window.console.group=e(!1),window.console.groupCollapsed=e(!0),window.console.groupEnd=function(){t.groupLabelCollapsedStack.pop(),t.groupLevel=Math.max(0,t.groupLevel-1),t.origConsole.groupEnd()}.bind(window.console)},n._mockConsoleClear=function(){var t=this;window.console.clear=function(){t.resetGroup(),t.clearLog();for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];t.callOriginalConsole.apply(t,["clear"].concat(n))}.bind(window.console)},n.unmockConsole=function(){for(var t in this.origConsole)window.console[t]=this.origConsole[t],delete this.origConsole[t];window._vcOrigConsole&&delete window._vcOrigConsole},n.callOriginalConsole=function(t){if("function"==typeof this.origConsole[t]){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];this.origConsole[t].apply(window.console,n)}},n.resetGroup=function(){for(;this.groupLevel>0;)console.groupEnd()},n.clearLog=function(){var t=c.O.getAll();for(var e in t)this.clearPluginLog(e)},n.clearPluginLog=function(t){var e=this.logQueue;this.logQueue=[];for(var n,i=d(e);!(n=i()).done;){var r=n.value;this._extractPluginIdByLog(r)!==t&&this.logQueue.push(r)}c.O.get(t).update(function(t){return t.logList.length=0,t}),s.x.updateTime()},n.addLog=function(t,e){void 0===t&&(t={type:"log",origData:[],isGroupHeader:0,isGroupCollapsed:!1});var n=this.groupLabelCollapsedStack[this.groupLabelCollapsedStack.length-2],i=this.groupLabelCollapsedStack[this.groupLabelCollapsedStack.length-1],r={_id:o.QI(),type:t.type,cmdType:null==e?void 0:e.cmdType,toggle:{},date:Date.now(),data:(0,l.b1)(t.origData||[]),repeated:0,groupLabel:null==i?void 0:i.label,groupLevel:this.groupLevel,groupHeader:t.isGroupHeader,groupCollapsed:t.isGroupHeader?!(null==n||!n.collapsed):!(null==i||!i.collapsed)};this._signalLog(r),null!=e&&e.noOrig||this.callOriginalConsole.apply(this,[t.type].concat(t.origData))},n.evalCommand=function(t){this.addLog({type:"log",origData:[t]},{cmdType:"input"});var e=void 0;try{e=eval.call(window,"("+t+")")}catch(n){try{e=eval.call(window,t)}catch(t){}}this.addLog({type:"log",origData:[e]},{cmdType:"output"})},n._signalLog=function(t){var e=this;this.flushLogScheduled||(this.flushLogScheduled=!0,window.requestAnimationFrame(function(){e.flushLogScheduled=!1,e._flushLogs()})),this.logQueue.push(t)},n._flushLogs=function(){var t=this,e=this.logQueue;this.logQueue=[];for(var n,i={},r=d(e);!(n=r()).done;){var o=n.value,a=this._extractPluginIdByLog(o);(i[a]=i[a]||[]).push(o)}for(var l=function(e){var n=i[e];c.O.get(e).update(function(e){for(var i,r=[].concat(e.logList),o=d(n);!(i=o()).done;){var a=i.value;t._isRepeatedLog(r,a)?t._updateLastLogRepeated(r):r.push(a)}return{logList:r=t._limitLogListLength(r)}})},u=0,h=Object.keys(i);u<h.length;u++)l(h[u]);s.x.updateTime()},n._extractPluginIdByLog=function(t){var e,n="default",i=null==(e=t.data[0])?void 0:e.origData;if(o.HD(i)){var r=i.match(this.pluginPattern);if(null!==r&&r.length>1){var a=r[1].toLowerCase();this.ADDED_LOG_PLUGIN_ID.indexOf(a)>-1&&(n=a,t.data.shift())}}return n},n._isRepeatedLog=function(t,e){var n=t[t.length-1];if(!n)return!1;var i=!1;if(e.type===n.type&&e.cmdType===n.cmdType&&e.data.length===n.data.length){i=!0;for(var r=0;r<e.data.length;r++)if(e.data[r].origData!==n.data[r].origData){i=!1;break}}return i},n._updateLastLogRepeated=function(t){var e=t[t.length-1],n=e.repeated?e.repeated+1:2;return t[t.length-1]=h(h({},e),{},{repeated:n}),t},n._limitLogListLength=function(t){var e=t.length,n=this.maxLogNumber;return e>n?t.slice(e-n,e):t},e}(a.N)},9923:function(t,e,n){"use strict";n.d(e,{O:function(){return r}});var i=n(3313),r=function(){function t(){}return t.create=function(t){return this.storeMap[t]||(this.storeMap[t]=(0,i.fZ)({logList:[]})),this.storeMap[t]},t.delete=function(t){this.storeMap[t]&&delete this.storeMap[t]},t.get=function(t){return this.storeMap[t]},t.getRaw=function(t){return(0,i.U2)(this.storeMap[t])},t.getAll=function(){return this.storeMap},t}();r.storeMap={}},8665:function(t,e,n){"use strict";n.d(e,{HX:function(){return u},LH:function(){return o},Tg:function(){return f},b1:function(){return d},oj:function(){return c}});var i=n(5103),r=function(t){var e=i.hZ(t,{maxDepth:0}),n=e.substring(0,36),r=i.DV(t);return e.length>36&&(n+="..."),i.rE(r+" "+n)},o=function(t,e){void 0===e&&(e=!0);var n="undefined",o=t;return t instanceof f?(n="uninvocatable",o="(...)"):i.kJ(t)?(n="array",o=r(t)):i.Kn(t)?(n="object",o=r(t)):i.HD(t)?(n="string",o=i.rE(t),e&&(o='"'+o+'"')):i.hj(t)?(n="number",o=String(t)):i.C4(t)?(n="bigint",o=String(t)+"n"):i.jn(t)?(n="boolean",o=String(t)):i.Ft(t)?(n="null",o="null"):i.o8(t)?(n="undefined",o="undefined"):i.mf(t)?(n="function",o=(t.name||"function")+"()"):i.yk(t)&&(n="symbol",o=String(t)),{text:o,valueType:n}},a=[".","[","(","{","}"],s=["]",")","}"],l=function(t,e,n){void 0===n&&(n=0);for(var i={text:"",pos:-1,before:"",after:""},r=t.length-1;r>=n;r--){var o=e.indexOf(t[r]);if(o>-1){i.text=e[o],i.pos=r,i.before=t.substring(n,r),i.after=t.substring(r+1,t.length);break}}return i},c=function(t){var e=l(t,a,0);return{front:e,back:l(t,s,e.pos+1)}},u=function(t,e){if(""===e)return!0;for(var n=0;n<t.data.length;n++)if("string"==typeof t.data[n].origData&&t.data[n].origData.indexOf(e)>-1)return!0;return!1},h=/(\%[csdo] )|( \%[csdo])/g,d=function(t){if(h.lastIndex=0,i.HD(t[0])&&h.test(t[0])){for(var e,n=[].concat(t),r=n.shift().split(h).filter(function(t){return void 0!==t&&""!==t}),o=n,a=[],s=!1,l="";r.length>0;){var c=r.shift();if(/ ?\%c ?/.test(c)?o.length>0?"string"!=typeof(l=o.shift())&&(l=""):(e=c,l="",s=!0):/ ?\%[sd] ?/.test(c)?(e=o.length>0?i.Kn(o[0])?i.DV(o.shift()):String(o.shift()):c,s=!0):/ ?\%o ?/.test(c)?(e=o.length>0?o.shift():c,s=!0):(e=c,s=!0),s){var u={origData:e};l&&(u.style=l),a.push(u),s=!1,e=void 0,l=""}}for(var d=0;d<o.length;d++)a.push({origData:o[d]});return a}for(var f=[],p=0;p<t.length;p++)f.push({origData:t[p]});return f},f=function(){}},5313:function(t,e,n){"use strict";var i=n(6738),r=n.n(i),o=n(7705),a=n.n(o)()(r());a.push([t.id,".vc-icon {\n word-break: normal;\n white-space: normal;\n overflow: visible;\n}\n.vc-icon svg {\n fill: var(--VC-FG-2);\n height: 1em;\n width: 1em;\n vertical-align: -0.11em;\n}\n.vc-icon .vc-icon-delete {\n vertical-align: -0.11em;\n}\n.vc-icon .vc-icon-copy {\n height: 1.1em;\n width: 1.1em;\n vertical-align: -0.16em;\n}\n.vc-icon .vc-icon-suc {\n fill: var(--VC-TEXTGREEN);\n height: 1.1em;\n width: 1.1em;\n vertical-align: -0.16em;\n}\n",""]),e.Z=a},1142:function(t,e,n){"use strict";var i=n(6738),r=n.n(i),o=n(7705),a=n.n(o)()(r());a.push([t.id,".vc-scroller-viewport {\n position: relative;\n overflow: hidden;\n height: 100%;\n}\n.vc-scroller-contents {\n min-height: 100%;\n will-change: transform;\n}\n.vc-scroller-items {\n will-change: height;\n position: relative;\n}\n.vc-scroller-item {\n display: none;\n position: absolute;\n left: 0;\n right: 0;\n}\n.vc-scroller-viewport.static .vc-scroller-item {\n display: block;\n position: static;\n}\n.vc-scroller-scrollbar-track {\n width: 4px;\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n padding: 1px;\n}\n.vc-scroller-scrollbar-thumb {\n position: relative;\n width: 100%;\n height: 100%;\n background: rgba(0, 0, 0, 0.5);\n border-radius: 999px;\n}\n",""]),e.Z=a},3283:function(t,e,n){"use strict";var i=n(6738),r=n.n(i),o=n(7705),a=n.n(o)()(r());a.push([t.id,'#__vconsole {\n --VC-BG-0: #ededed;\n --VC-BG-1: #f7f7f7;\n --VC-BG-2: #fff;\n --VC-BG-3: #f7f7f7;\n --VC-BG-4: #4c4c4c;\n --VC-BG-5: #fff;\n --VC-BG-6: rgba(0, 0, 0, 0.1);\n --VC-FG-0: rgba(0, 0, 0, 0.9);\n --VC-FG-HALF: rgba(0, 0, 0, 0.9);\n --VC-FG-1: rgba(0, 0, 0, 0.5);\n --VC-FG-2: rgba(0, 0, 0, 0.3);\n --VC-FG-3: rgba(0, 0, 0, 0.1);\n --VC-RED: #fa5151;\n --VC-ORANGE: #fa9d3b;\n --VC-YELLOW: #ffc300;\n --VC-GREEN: #91d300;\n --VC-LIGHTGREEN: #95ec69;\n --VC-BRAND: #07c160;\n --VC-BLUE: #10aeff;\n --VC-INDIGO: #1485ee;\n --VC-PURPLE: #6467f0;\n --VC-LINK: #576b95;\n --VC-TEXTGREEN: #06ae56;\n --VC-FG: black;\n --VC-BG: white;\n --VC-BG-COLOR-ACTIVE: #ececec;\n --VC-WARN-BG: #fff3cc;\n --VC-WARN-BORDER: #ffe799;\n --VC-ERROR-BG: #fedcdc;\n --VC-ERROR-BORDER: #fdb9b9;\n --VC-DOM-TAG-NAME-COLOR: #881280;\n --VC-DOM-ATTRIBUTE-NAME-COLOR: #994500;\n --VC-DOM-ATTRIBUTE-VALUE-COLOR: #1a1aa6;\n --VC-CODE-KEY-FG: #881391;\n --VC-CODE-PRIVATE-KEY-FG: #cfa1d3;\n --VC-CODE-FUNC-FG: #0d22aa;\n --VC-CODE-NUMBER-FG: #1c00cf;\n --VC-CODE-STR-FG: #c41a16;\n --VC-CODE-NULL-FG: #808080;\n color: var(--VC-FG-0);\n font-size: 13px;\n font-family: Helvetica Neue, Helvetica, Arial, sans-serif;\n -webkit-user-select: auto;\n /* global */\n}\n#__vconsole .vc-max-height {\n max-height: 19.23076923em;\n}\n#__vconsole .vc-max-height-line {\n max-height: 6.30769231em;\n}\n#__vconsole .vc-min-height {\n min-height: 3.07692308em;\n}\n#__vconsole dd,\n#__vconsole dl,\n#__vconsole pre {\n margin: 0;\n}\n#__vconsole pre {\n white-space: pre-wrap;\n}\n#__vconsole i {\n font-style: normal;\n}\n.vc-table {\n height: 100%;\n}\n.vc-table .vc-table-row {\n line-height: 1.5;\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -webkit-flex-direction: row;\n -moz-box-orient: horizontal;\n -moz-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n -webkit-flex-wrap: wrap;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n overflow: hidden;\n border-bottom: 1px solid var(--VC-FG-3);\n}\n.vc-table .vc-table-row.vc-left-border {\n border-left: 1px solid var(--VC-FG-3);\n}\n.vc-table .vc-table-row-icon {\n margin-left: 4px;\n}\n.vc-table .vc-table-col {\n -webkit-box-flex: 1;\n -webkit-flex: 1;\n -moz-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n padding: 0.23076923em 0.30769231em;\n border-left: 1px solid var(--VC-FG-3);\n overflow: auto;\n}\n.vc-table .vc-table-col:first-child {\n border: none;\n}\n.vc-table .vc-table-col-value {\n white-space: pre-wrap;\n word-break: break-word;\n /*white-space: nowrap;\n text-overflow: ellipsis;*/\n -webkit-overflow-scrolling: touch;\n}\n.vc-table .vc-small .vc-table-col {\n padding: 0 0.30769231em;\n font-size: 0.92307692em;\n}\n.vc-table .vc-table-col-2 {\n -webkit-box-flex: 2;\n -webkit-flex: 2;\n -moz-box-flex: 2;\n -ms-flex: 2;\n flex: 2;\n}\n.vc-table .vc-table-col-3 {\n -webkit-box-flex: 3;\n -webkit-flex: 3;\n -moz-box-flex: 3;\n -ms-flex: 3;\n flex: 3;\n}\n.vc-table .vc-table-col-4 {\n -webkit-box-flex: 4;\n -webkit-flex: 4;\n -moz-box-flex: 4;\n -ms-flex: 4;\n flex: 4;\n}\n.vc-table .vc-table-col-5 {\n -webkit-box-flex: 5;\n -webkit-flex: 5;\n -moz-box-flex: 5;\n -ms-flex: 5;\n flex: 5;\n}\n.vc-table .vc-table-col-6 {\n -webkit-box-flex: 6;\n -webkit-flex: 6;\n -moz-box-flex: 6;\n -ms-flex: 6;\n flex: 6;\n}\n.vc-table .vc-table-row-error {\n border-color: var(--VC-ERROR-BORDER);\n background-color: var(--VC-ERROR-BG);\n}\n.vc-table .vc-table-row-error .vc-table-col {\n color: var(--VC-RED);\n border-color: var(--VC-ERROR-BORDER);\n}\n.vc-table .vc-table-col-title {\n font-weight: bold;\n}\n.vc-table .vc-table-action {\n display: flex;\n justify-content: space-evenly;\n}\n.vc-table .vc-table-action .vc-icon {\n flex: 1;\n text-align: center;\n display: block;\n}\n.vc-table .vc-table-action .vc-icon:hover {\n background: var(--VC-BG-3);\n}\n.vc-table .vc-table-action .vc-icon:active {\n background: var(--VC-BG-1);\n}\n.vc-table .vc-table-input {\n width: 100%;\n border: none;\n color: var(--VC-FG-0);\n background-color: var(--VC-BG-6);\n height: 3.53846154em;\n}\n.vc-table .vc-table-input:focus {\n background-color: var(--VC-FG-2);\n}\n@media (prefers-color-scheme: dark) {\n #__vconsole:not([data-theme="light"]) {\n --VC-BG-0: #191919;\n --VC-BG-1: #1f1f1f;\n --VC-BG-2: #232323;\n --VC-BG-3: #2f2f2f;\n --VC-BG-4: #606060;\n --VC-BG-5: #2c2c2c;\n --VC-BG-6: rgba(255, 255, 255, 0.2);\n --VC-FG-0: rgba(255, 255, 255, 0.8);\n --VC-FG-HALF: rgba(255, 255, 255, 0.6);\n --VC-FG-1: rgba(255, 255, 255, 0.5);\n --VC-FG-2: rgba(255, 255, 255, 0.3);\n --VC-FG-3: rgba(255, 255, 255, 0.05);\n --VC-RED: #fa5151;\n --VC-ORANGE: #c87d2f;\n --VC-YELLOW: #cc9c00;\n --VC-GREEN: #74a800;\n --VC-LIGHTGREEN: #28b561;\n --VC-BRAND: #07c160;\n --VC-BLUE: #10aeff;\n --VC-INDIGO: #1196ff;\n --VC-PURPLE: #8183ff;\n --VC-LINK: #7d90a9;\n --VC-TEXTGREEN: #259c5c;\n --VC-FG: white;\n --VC-BG: black;\n --VC-BG-COLOR-ACTIVE: #282828;\n --VC-WARN-BG: #332700;\n --VC-WARN-BORDER: #664e00;\n --VC-ERROR-BG: #321010;\n --VC-ERROR-BORDER: #642020;\n --VC-DOM-TAG-NAME-COLOR: #5DB0D7;\n --VC-DOM-ATTRIBUTE-NAME-COLOR: #9BBBDC;\n --VC-DOM-ATTRIBUTE-VALUE-COLOR: #f29766;\n --VC-CODE-KEY-FG: #e36eec;\n --VC-CODE-PRIVATE-KEY-FG: #f4c5f7;\n --VC-CODE-FUNC-FG: #556af2;\n --VC-CODE-NUMBER-FG: #9980ff;\n --VC-CODE-STR-FG: #e93f3b;\n --VC-CODE-NULL-FG: #808080;\n }\n}\n#__vconsole[data-theme="dark"] {\n --VC-BG-0: #191919;\n --VC-BG-1: #1f1f1f;\n --VC-BG-2: #232323;\n --VC-BG-3: #2f2f2f;\n --VC-BG-4: #606060;\n --VC-BG-5: #2c2c2c;\n --VC-BG-6: rgba(255, 255, 255, 0.2);\n --VC-FG-0: rgba(255, 255, 255, 0.8);\n --VC-FG-HALF: rgba(255, 255, 255, 0.6);\n --VC-FG-1: rgba(255, 255, 255, 0.5);\n --VC-FG-2: rgba(255, 255, 255, 0.3);\n --VC-FG-3: rgba(255, 255, 255, 0.05);\n --VC-RED: #fa5151;\n --VC-ORANGE: #c87d2f;\n --VC-YELLOW: #cc9c00;\n --VC-GREEN: #74a800;\n --VC-LIGHTGREEN: #28b561;\n --VC-BRAND: #07c160;\n --VC-BLUE: #10aeff;\n --VC-INDIGO: #1196ff;\n --VC-PURPLE: #8183ff;\n --VC-LINK: #7d90a9;\n --VC-TEXTGREEN: #259c5c;\n --VC-FG: white;\n --VC-BG: black;\n --VC-BG-COLOR-ACTIVE: #282828;\n --VC-WARN-BG: #332700;\n --VC-WARN-BORDER: #664e00;\n --VC-ERROR-BG: #321010;\n --VC-ERROR-BORDER: #642020;\n --VC-DOM-TAG-NAME-COLOR: #5DB0D7;\n --VC-DOM-ATTRIBUTE-NAME-COLOR: #9BBBDC;\n --VC-DOM-ATTRIBUTE-VALUE-COLOR: #f29766;\n --VC-CODE-KEY-FG: #e36eec;\n --VC-CODE-PRIVATE-KEY-FG: #f4c5f7;\n --VC-CODE-FUNC-FG: #556af2;\n --VC-CODE-NUMBER-FG: #9980ff;\n --VC-CODE-STR-FG: #e93f3b;\n --VC-CODE-NULL-FG: #808080;\n}\n.vc-tabbar {\n border-bottom: 1px solid var(--VC-FG-3);\n overflow-x: auto;\n height: 3em;\n width: auto;\n white-space: nowrap;\n}\n.vc-tabbar .vc-tab {\n display: inline-block;\n line-height: 3em;\n padding: 0 1.15384615em;\n border-right: 1px solid var(--VC-FG-3);\n text-decoration: none;\n color: var(--VC-FG-0);\n -webkit-tap-highlight-color: transparent;\n -webkit-touch-callout: none;\n}\n.vc-tabbar .vc-tab:active {\n background-color: rgba(0, 0, 0, 0.15);\n}\n.vc-tabbar .vc-tab.vc-actived {\n background-color: var(--VC-BG-1);\n}\n.vc-toolbar {\n border-top: 1px solid var(--VC-FG-3);\n line-height: 3em;\n position: absolute;\n left: 0;\n right: 0;\n bottom: 0;\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -webkit-flex-direction: row;\n -moz-box-orient: horizontal;\n -moz-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n}\n.vc-toolbar .vc-tool {\n display: none;\n font-style: normal;\n text-decoration: none;\n color: var(--VC-FG-0);\n width: 50%;\n -webkit-box-flex: 1;\n -webkit-flex: 1;\n -moz-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n text-align: center;\n position: relative;\n -webkit-touch-callout: none;\n}\n.vc-toolbar .vc-tool.vc-toggle,\n.vc-toolbar .vc-tool.vc-global-tool {\n display: block;\n}\n.vc-toolbar .vc-tool:active {\n background-color: rgba(0, 0, 0, 0.15);\n}\n.vc-toolbar .vc-tool:after {\n content: " ";\n position: absolute;\n top: 0.53846154em;\n bottom: 0.53846154em;\n right: 0;\n border-left: 1px solid var(--VC-FG-3);\n}\n.vc-toolbar .vc-tool-last:after {\n border: none;\n}\n.vc-topbar {\n background-color: var(--VC-BG-1);\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -webkit-flex-direction: row;\n -moz-box-orient: horizontal;\n -moz-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n -webkit-flex-wrap: wrap;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n width: 100%;\n}\n.vc-topbar .vc-toptab {\n display: none;\n -webkit-box-flex: 1;\n -webkit-flex: 1;\n -moz-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n line-height: 2.30769231em;\n padding: 0 1.15384615em;\n border-bottom: 1px solid var(--VC-FG-3);\n text-decoration: none;\n text-align: center;\n color: var(--VC-FG-0);\n -webkit-tap-highlight-color: transparent;\n -webkit-touch-callout: none;\n}\n.vc-topbar .vc-toptab.vc-toggle {\n display: block;\n}\n.vc-topbar .vc-toptab:active {\n background-color: rgba(0, 0, 0, 0.15);\n}\n.vc-topbar .vc-toptab.vc-actived {\n border-bottom: 1px solid var(--VC-INDIGO);\n}\n.vc-mask {\n display: none;\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background: rgba(0, 0, 0, 0);\n z-index: 10001;\n -webkit-transition: background 0.3s;\n transition: background 0.3s;\n -webkit-tap-highlight-color: transparent;\n overflow-y: scroll;\n}\n.vc-panel {\n display: none;\n position: fixed;\n min-height: 85%;\n left: 0;\n right: 0;\n bottom: -100%;\n z-index: 10002;\n background-color: var(--VC-BG-0);\n transition: bottom 0.3s;\n}\n.vc-toggle .vc-switch {\n display: none;\n}\n.vc-toggle .vc-mask {\n background: rgba(0, 0, 0, 0.6);\n display: block;\n}\n.vc-toggle .vc-panel {\n bottom: 0;\n}\n.vc-content {\n background-color: var(--VC-BG-2);\n overflow-x: hidden;\n overflow-y: auto;\n position: absolute;\n top: 3.07692308em;\n left: 0;\n right: 0;\n bottom: 3.07692308em;\n -webkit-overflow-scrolling: touch;\n margin-bottom: constant(safe-area-inset-bottom);\n margin-bottom: env(safe-area-inset-bottom);\n}\n.vc-content.vc-has-topbar {\n top: 5.46153846em;\n}\n.vc-plugin-box {\n display: none;\n position: relative;\n min-height: 100%;\n}\n.vc-plugin-box.vc-fixed-height {\n height: 100%;\n}\n.vc-plugin-box.vc-actived {\n display: block;\n}\n.vc-plugin-content {\n display: flex;\n width: 100%;\n height: 100%;\n overflow-y: auto;\n flex-direction: column;\n -webkit-tap-highlight-color: transparent;\n}\n.vc-plugin-content:empty:before {\n content: "Empty";\n color: var(--VC-FG-1);\n position: absolute;\n top: 45%;\n left: 0;\n right: 0;\n bottom: 0;\n font-size: 1.15384615em;\n text-align: center;\n}\n.vc-plugin-empty {\n color: var(--VC-FG-1);\n font-size: 1.15384615em;\n height: 100%;\n width: 100%;\n padding: 1.15384615em 0;\n text-align: center;\n display: flex;\n flex-direction: column;\n justify-content: center;\n}\n@supports (bottom: constant(safe-area-inset-bottom)) or (bottom: env(safe-area-inset-bottom)) {\n .vc-toolbar,\n .vc-switch {\n bottom: constant(safe-area-inset-bottom);\n bottom: env(safe-area-inset-bottom);\n }\n}\n',""]),e.Z=a},7558:function(t,e,n){"use strict";var i=n(6738),r=n.n(i),o=n(7705),a=n.n(o)()(r());a.push([t.id,".vc-switch {\n display: block;\n position: fixed;\n right: 0.76923077em;\n bottom: 0.76923077em;\n color: #FFF;\n background-color: var(--VC-BRAND);\n line-height: 1;\n font-size: 1.07692308em;\n padding: 0.61538462em 1.23076923em;\n z-index: 10000;\n border-radius: 0.30769231em;\n box-shadow: 0 0 0.61538462em rgba(0, 0, 0, 0.4);\n}\n",""]),e.Z=a},5670:function(t,e,n){"use strict";var i=n(6738),r=n.n(i),o=n(7705),a=n.n(o)()(r());a.push([t.id,'/* color */\n.vcelm-node {\n color: var(--VC-DOM-TAG-NAME-COLOR);\n}\n.vcelm-k {\n color: var(--VC-DOM-ATTRIBUTE-NAME-COLOR);\n}\n.vcelm-v {\n color: var(--VC-DOM-ATTRIBUTE-VALUE-COLOR);\n}\n.vcelm-l.vc-actived > .vcelm-node {\n background-color: var(--VC-FG-3);\n}\n/* layout */\n.vcelm-l {\n padding-left: 8px;\n position: relative;\n word-wrap: break-word;\n line-height: 1.2;\n}\n/*.vcelm-l.vcelm-noc {\n padding-left: 0;\n}*/\n.vcelm-l .vcelm-node:active {\n background-color: var(--VC-BG-COLOR-ACTIVE);\n}\n.vcelm-l.vcelm-noc .vcelm-node:active {\n background-color: transparent;\n}\n.vcelm-t {\n white-space: pre-wrap;\n word-wrap: break-word;\n}\n/* level */\n/* arrow */\n.vcelm-l:before {\n content: "";\n display: block;\n position: absolute;\n top: 6px;\n left: 3px;\n width: 0;\n height: 0;\n border: transparent solid 3px;\n border-left-color: var(--VC-FG-1);\n}\n.vcelm-l.vc-toggle:before {\n display: block;\n top: 6px;\n left: 0;\n border-top-color: var(--VC-FG-1);\n border-left-color: transparent;\n}\n.vcelm-l.vcelm-noc:before {\n display: none;\n}\n',""]),e.Z=a},3327:function(t,e,n){"use strict";var i=n(6738),r=n.n(i),o=n(7705),a=n.n(o)()(r());a.push([t.id,"",""]),e.Z=a},1130:function(t,e,n){"use strict";var i=n(6738),r=n.n(i),o=n(7705),a=n.n(o)()(r());a.push([t.id,".vc-cmd {\n height: 3.07692308em;\n border-top: 1px solid var(--VC-FG-3);\n display: flex;\n flex-direction: row;\n}\n.vc-cmd.vc-filter {\n bottom: 0;\n}\n.vc-cmd-input-wrap {\n display: flex;\n align-items: center;\n flex: 1;\n position: relative;\n height: 2.15384615em;\n padding: 0.46153846em 0.61538462em;\n}\n.vc-cmd-input {\n width: 100%;\n border: none;\n resize: none;\n outline: none;\n padding: 0;\n font-size: 0.92307692em;\n background-color: transparent;\n color: var(--VC-FG-0);\n}\n.vc-cmd-input::-webkit-input-placeholder {\n line-height: 2.15384615em;\n}\n.vc-cmd-btn {\n width: 3.07692308em;\n border: none;\n background-color: var(--VC-BG-0);\n color: var(--VC-FG-0);\n outline: none;\n -webkit-touch-callout: none;\n font-size: 1em;\n}\n.vc-cmd-clear-btn {\n flex: 1 3.07692308em;\n text-align: center;\n line-height: 3.07692308em;\n}\n.vc-cmd-btn:active,\n.vc-cmd-clear-btn:active {\n background-color: var(--VC-BG-COLOR-ACTIVE);\n}\n.vc-cmd-prompted {\n position: absolute;\n left: 0.46153846em;\n right: 0.46153846em;\n background-color: var(--VC-BG-3);\n border: 1px solid var(--VC-FG-3);\n overflow-x: scroll;\n display: none;\n}\n.vc-cmd-prompted li {\n list-style: none;\n line-height: 30px;\n padding: 0 0.46153846em;\n border-bottom: 1px solid var(--VC-FG-3);\n}\n.vc-cmd-prompted li:active {\n background-color: var(--VC-BG-COLOR-ACTIVE);\n}\n.vc-cmd-prompted-hide {\n text-align: center;\n}\n",""]),e.Z=a},7147:function(t,e,n){"use strict";var i=n(6738),r=n.n(i),o=n(7705),a=n.n(o)()(r());a.push([t.id,'.vc-log-row {\n margin: 0;\n padding: 0.46153846em 0.61538462em;\n overflow: hidden;\n line-height: 1.3;\n border-bottom: 1px solid var(--VC-FG-3);\n word-break: break-word;\n position: relative;\n display: flex;\n}\n.vc-log-info {\n color: var(--VC-PURPLE);\n}\n.vc-log-debug {\n color: var(--VC-YELLOW);\n}\n.vc-log-warn {\n color: var(--VC-ORANGE);\n border-color: var(--VC-WARN-BORDER);\n background-color: var(--VC-WARN-BG);\n}\n.vc-log-error {\n color: var(--VC-RED);\n border-color: var(--VC-ERROR-BORDER);\n background-color: var(--VC-ERROR-BG);\n}\n.vc-logrow-icon {\n margin-left: auto;\n}\n.vc-log-padding {\n width: 1.53846154em;\n border-left: 1px solid var(--VC-FG-3);\n}\n.vc-log-group .vc-log-content {\n font-weight: bold;\n}\n.vc-log-group-toggle {\n padding-left: 0.76923077em;\n}\n.vc-log-group-toggle {\n display: block;\n font-style: italic;\n padding-left: 0.76923077em;\n position: relative;\n}\n.vc-log-group-toggle:active {\n background-color: var(--VC-BG-COLOR-ACTIVE);\n}\n.vc-log-group > .vc-log-group-toggle::before {\n content: "";\n position: absolute;\n top: 0.30769231em;\n left: 0.15384615em;\n width: 0;\n height: 0;\n border: transparent solid 0.30769231em;\n border-left-color: var(--VC-FG-1);\n}\n.vc-log-group.vc-toggle > .vc-log-group-toggle::before {\n top: 0.46153846em;\n left: 0;\n border-top-color: var(--VC-FG-1);\n border-left-color: transparent;\n}\n.vc-log-time {\n width: 6.15384615em;\n color: #777;\n}\n.vc-log-repeat i {\n margin-right: 0.30769231em;\n padding: 0 6.5px;\n color: #D7E0EF;\n background-color: #42597F;\n border-radius: 8.66666667px;\n}\n.vc-log-error .vc-log-repeat i {\n color: #901818;\n background-color: var(--VC-RED);\n}\n.vc-log-warn .vc-log-repeat i {\n color: #987D20;\n background-color: #F4BD02;\n}\n.vc-log-content {\n flex: 1;\n}\n.vc-log-input,\n.vc-log-output {\n padding-left: 0.92307692em;\n}\n.vc-log-input:before,\n.vc-log-output:before {\n content: "›";\n position: absolute;\n top: 0.15384615em;\n left: 0;\n font-size: 1.23076923em;\n color: #6A5ACD;\n}\n.vc-log-output:before {\n content: "‹";\n}\n',""]),e.Z=a},1237:function(t,e,n){"use strict";var i=n(6738),r=n.n(i),o=n(7705),a=n.n(o)()(r());a.push([t.id,'.vc-log-tree {\n display: block;\n overflow: auto;\n position: relative;\n -webkit-overflow-scrolling: touch;\n}\n.vc-log-tree-node {\n display: block;\n font-style: italic;\n padding-left: 0.76923077em;\n position: relative;\n}\n.vc-log-tree.vc-is-tree > .vc-log-tree-node:active {\n background-color: var(--VC-BG-COLOR-ACTIVE);\n}\n.vc-log-tree.vc-is-tree > .vc-log-tree-node::before {\n content: "";\n position: absolute;\n top: 0.30769231em;\n left: 0.15384615em;\n width: 0;\n height: 0;\n border: transparent solid 0.30769231em;\n border-left-color: var(--VC-FG-1);\n}\n.vc-log-tree.vc-is-tree.vc-toggle > .vc-log-tree-node::before {\n top: 0.46153846em;\n left: 0;\n border-top-color: var(--VC-FG-1);\n border-left-color: transparent;\n}\n.vc-log-tree-child {\n margin-left: 0.76923077em;\n}\n.vc-log-tree-loadmore {\n text-decoration: underline;\n padding-left: 1.84615385em;\n position: relative;\n color: var(--VC-CODE-FUNC-FG);\n}\n.vc-log-tree-loadmore::before {\n content: "››";\n position: absolute;\n top: -0.15384615em;\n left: 0.76923077em;\n font-size: 1.23076923em;\n color: var(--VC-CODE-FUNC-FG);\n}\n.vc-log-tree-loadmore:active {\n background-color: var(--VC-BG-COLOR-ACTIVE);\n}\n',""]),e.Z=a},845:function(t,e,n){"use strict";var i=n(6738),r=n.n(i),o=n(7705),a=n.n(o)()(r());a.push([t.id,".vc-log-key {\n color: var(--VC-CODE-KEY-FG);\n}\n.vc-log-key-private {\n color: var(--VC-CODE-PRIVATE-KEY-FG);\n}\n.vc-log-val {\n white-space: pre-line;\n}\n.vc-log-val-function {\n color: var(--VC-CODE-FUNC-FG);\n font-style: italic !important;\n}\n.vc-log-val-bigint {\n color: var(--VC-CODE-FUNC-FG);\n}\n.vc-log-val-number,\n.vc-log-val-boolean {\n color: var(--VC-CODE-NUMBER-FG);\n}\n.vc-log-val-string {\n white-space: pre-wrap;\n}\n.vc-log-val-string.vc-log-val-haskey {\n color: var(--VC-CODE-STR-FG);\n white-space: normal;\n}\n.vc-log-val-null,\n.vc-log-val-undefined,\n.vc-log-val-uninvocatable {\n color: var(--VC-CODE-NULL-FG);\n}\n.vc-log-val-symbol {\n color: var(--VC-CODE-STR-FG);\n}\n",""]),e.Z=a},8747:function(t,e,n){"use strict";var i=n(6738),r=n.n(i),o=n(7705),a=n.n(o)()(r());a.push([t.id,".vc-group .vc-group-preview {\n -webkit-touch-callout: none;\n}\n.vc-group .vc-group-preview:active {\n background-color: var(--VC-BG-COLOR-ACTIVE);\n}\n.vc-group .vc-group-detail {\n display: none;\n padding: 0 0 0.76923077em 1.53846154em;\n border-bottom: 1px solid var(--VC-FG-3);\n}\n.vc-group.vc-actived .vc-group-detail {\n display: block;\n background-color: var(--VC-BG-1);\n}\n.vc-group.vc-actived .vc-table-row {\n background-color: var(--VC-BG-2);\n}\n.vc-group.vc-actived .vc-group-preview {\n background-color: var(--VC-BG-1);\n}\n",""]),e.Z=a},3411:function(t,e,n){"use strict";var i=n(3379),r=n.n(i),o=n(7795),a=n.n(o),s=n(569),l=n.n(s),c=n(3565),u=n.n(c),h=n(9216),d=n.n(h),f=n(4589),p=n.n(f),A=n(1130),g={};A.Z&&A.Z.locals&&(g.locals=A.Z.locals);var v,m=0,y={};y.styleTagTransform=p(),y.setAttributes=u(),y.insert=l().bind(null,"head"),y.domAPI=a(),y.insertStyleElement=d(),g.use=function(t){return y.options=t||{},m++||(v=r()(A.Z,y)),g},g.unuse=function(){m>0&&!--m&&(v(),v=null)},e.Z=g},3379:function(t){"use strict";var e=[];function n(t){for(var n=-1,i=0;i<e.length;i++)if(e[i].identifier===t){n=i;break}return n}function i(t,i){for(var o={},a=[],s=0;s<t.length;s++){var l=t[s],c=i.base?l[0]+i.base:l[0],u=o[c]||0,h="".concat(c," ").concat(u);o[c]=u+1;var d=n(h),f={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var p=r(f,i);i.byIndex=s,e.splice(s,0,{identifier:h,updater:p,references:1})}a.push(h)}return a}function r(t,e){var n=e.domAPI(e);return n.update(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,r){var o=i(t=t||[],r=r||{});return function(t){t=t||[];for(var a=0;a<o.length;a++){var s=n(o[a]);e[s].references--}for(var l=i(t,r),c=0;c<o.length;c++){var u=n(o[c]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}o=l}}},569:function(t){"use strict";var e={};t.exports=function(t,n){var i=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},9216:function(t){"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},3565:function(t,e,n){"use strict";t.exports=function(t){var e=n.nc;e&&t.setAttribute("nonce",e)}},7795:function(t){"use strict";t.exports=function(t){var e=t.insertStyleElement(t);return{update:function(n){!function(t,e,n){var i="";n.supports&&(i+="@supports (".concat(n.supports,") {")),n.media&&(i+="@media ".concat(n.media," {"));var r=void 0!==n.layer;r&&(i+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),i+=n.css,r&&(i+="}"),n.media&&(i+="}"),n.supports&&(i+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleTagTransform(i,t,e.options)}(e,t,n)},remove:function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(e)}}}},4589:function(t){"use strict";t.exports=function(t,e){if(e.styleSheet)e.styleSheet.cssText=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}},6464:function(t,e,n){"use strict";function i(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,{Z:function(){return i}})},4296:function(t,e,n){"use strict";function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function r(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}n.d(e,{Z:function(){return r}})},8270:function(t,e,n){"use strict";function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,{Z:function(){return i}})},6881:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});var i=n(2717);function r(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,(0,i.Z)(t,e)}},2717:function(t,e,n){"use strict";function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}n.d(e,{Z:function(){return i}})},7003:function(t,e,n){"use strict";n.d(e,{H3:function(){return i.H3E},ev:function(){return i.evW},x:function(){return i.xa3}});var i=n(2942)},2942:function(t,e,n){"use strict";n.d(e,{f_C:function(){return vt},hjT:function(){return q},R3I:function(){return _},Ljt:function(){return D},akz:function(){return ht},VnY:function(){return $},cKT:function(){return V},gbL:function(){return ot},FIv:function(){return f},XGm:function(){return y},xa3:function(){return H},YCL:function(){return dt},nuO:function(){return p},vpE:function(){return pt},RMB:function(){return C},ogt:function(){return x},bGB:function(){return S},cSb:function(){return O},yl1:function(){return tt},VOJ:function(){return m},u2N:function(){return g},$XI:function(){return d},lig:function(){return lt},dvw:function(){return rt},S1n:function(){return gt},$Tr:function(){return w},sBU:function(){return l},oLt:function(){return E},yef:function(){return ft},ZTd:function(){return r},AqN:function(){return u},evW:function(){return Q},H3E:function(){return R},cly:function(){return ct},AT7:function(){return I},j7q:function(){return s},N8:function(){return c},rTO:function(){return L},BmG:function(){return F},fxP:function(){return b},czc:function(){return P},DhX:function(){return T},XET:function(){return M},LdU:function(){return h},bi5:function(){return B},fLW:function(){return k},VHj:function(){return N},Ui:function(){return at},etI:function(){return st},GQg:function(){return ut},kmG:function(){return v}});n(2717);var i;n(6881);function r(){}function o(t){return t()}function a(){return Object.create(null)}function s(t){t.forEach(o)}function l(t){return"function"==typeof t}function c(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function u(t,e){return t!=t?e==e:t!==e}function h(t){if(null==t)return r;for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];var o=t.subscribe.apply(t,n);return o.unsubscribe?function(){return o.unsubscribe()}:o}function d(t){var e;return h(t,function(t){return e=t})(),e}function f(t,e,n){t.$$.on_destroy.push(h(e,n))}function p(t,e,n,i){if(t){var r=A(t,e,n,i);return t[0](r)}}function A(t,e,n,i){return t[1]&&i?function(t,e){for(var n in e)t[n]=e[n];return t}(n.ctx.slice(),t[1](i(e))):n.ctx}function g(t,e,n,i){if(t[2]&&i){var r=t[2](i(n));if(void 0===e.dirty)return r;if("object"==typeof r){for(var o=[],a=Math.max(e.dirty.length,r.length),s=0;s<a;s+=1)o[s]=e.dirty[s]|r[s];return o}return e.dirty|r}return e.dirty}function v(t,e,n,i,r,o){if(r){var a=A(e,n,i,o);t.p(a,r)}}function m(t){if(t.ctx.length>32){for(var e=[],n=t.ctx.length/32,i=0;i<n;i++)e[i]=-1;return e}return-1}function y(t){var e={};for(var n in t)e[n]=!0;return e}function b(t,e,n){return t.set(n),e}function _(t,e){t.appendChild(e)}function w(t,e,n){t.insertBefore(e,n||null)}function x(t){t.parentNode.removeChild(t)}function C(t,e){for(var n=0;n<t.length;n+=1)t[n]&&t[n].d(e)}function S(t){return document.createElement(t)}function B(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function k(t){return document.createTextNode(t)}function T(){return k(" ")}function O(){return k("")}function E(t,e,n,i){return t.addEventListener(e,n,i),function(){return t.removeEventListener(e,n,i)}}function I(t){return function(e){return e.preventDefault(),t.call(this,e)}}function M(t){return function(e){return e.stopPropagation(),t.call(this,e)}}function D(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function L(t,e){e=""+e,t.wholeText!==e&&(t.data=e)}function F(t,e){t.value=null==e?"":e}function P(t,e,n,i){null===n?t.style.removeProperty(e):t.style.setProperty(e,n,i?"important":"")}function N(t,e,n){t.classList[n?"add":"remove"](e)}function j(t){i=t}function U(){if(!i)throw new Error("Function called outside component initialization");return i}function R(t){U().$$.on_mount.push(t)}function Q(t){U().$$.on_destroy.push(t)}function H(){var t=U();return function(e,n){var i=t.$$.callbacks[e];if(i){var r=function(t,e,n){void 0===n&&(n=!1);var i=document.createEvent("CustomEvent");return i.initCustomEvent(t,n,!1,e),i}(e,n);i.slice().forEach(function(e){e.call(t,r)})}}}function V(t,e){var n=this,i=t.$$.callbacks[e.type];i&&i.slice().forEach(function(t){return t.call(n,e)})}new Set,new Map;var z=[],$=[],G=[],W=[],K=Promise.resolve(),Y=!1;function X(t){G.push(t)}function q(t){W.push(t)}var Z=new Set,J=0;function tt(){var t=i;do{for(;J<z.length;){var e=z[J];J++,j(e),et(e.$$)}for(j(null),z.length=0,J=0;$.length;)$.pop()();for(var n=0;n<G.length;n+=1){var r=G[n];Z.has(r)||(Z.add(r),r())}G.length=0}while(z.length);for(;W.length;)W.pop()();Y=!1,Z.clear(),j(t)}function et(t){if(null!==t.fragment){t.update(),s(t.before_update);var e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(X)}}var nt,it=new Set;function rt(){nt={r:0,c:[],p:nt}}function ot(){nt.r||s(nt.c),nt=nt.p}function at(t,e){t&&t.i&&(it.delete(t),t.i(e))}function st(t,e,n,i){if(t&&t.o){if(it.has(t))return;it.add(t),nt.c.push(function(){it.delete(t),i&&(n&&t.d(1),i())}),t.o(e)}}var lt="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function ct(t,e){st(t,1,1,function(){e.delete(t.key)})}function ut(t,e,n,i,r,o,a,s,l,c,u,h){for(var d=t.length,f=o.length,p=d,A={};p--;)A[t[p].key]=p;var g=[],v=new Map,m=new Map;for(p=f;p--;){var y=h(r,o,p),b=n(y),_=a.get(b);_?i&&_.p(y,e):(_=c(b,y)).c(),v.set(b,g[p]=_),b in A&&m.set(b,Math.abs(p-A[b]))}var w=new Set,x=new Set;function C(t){at(t,1),t.m(s,u),a.set(t.key,t),u=t.first,f--}for(;d&&f;){var S=g[f-1],B=t[d-1],k=S.key,T=B.key;S===B?(u=S.first,d--,f--):v.has(T)?!a.has(k)||w.has(k)?C(S):x.has(T)?d--:m.get(k)>m.get(T)?(x.add(k),C(S)):(w.add(T),d--):(l(B,a),d--)}for(;d--;){var O=t[d];v.has(O.key)||l(O,a)}for(;f;)C(g[f-1]);return g}function ht(t,e,n){var i=t.$$.props[e];void 0!==i&&(t.$$.bound[i]=n,n(t.$$.ctx[i]))}function dt(t){t&&t.c()}function ft(t,e,n,i){var r=t.$$,a=r.fragment,c=r.on_mount,u=r.on_destroy,h=r.after_update;a&&a.m(e,n),i||X(function(){var e=c.map(o).filter(l);u?u.push.apply(u,e):s(e),t.$$.on_mount=[]}),h.forEach(X)}function pt(t,e){var n=t.$$;null!==n.fragment&&(s(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function At(t,e){-1===t.$$.dirty[0]&&(z.push(t),Y||(Y=!0,K.then(tt)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function gt(t,e,n,o,l,c,u,h){void 0===h&&(h=[-1]);var d=i;j(t);var f=t.$$={fragment:null,ctx:null,props:c,update:r,not_equal:l,bound:a(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(d?d.$$.context:[])),callbacks:a(),dirty:h,skip_bound:!1,root:e.target||d.$$.root};u&&u(f.root);var p,A=!1;if(f.ctx=n?n(t,e.props||{},function(e,n){var i=!(arguments.length<=2)&&arguments.length-2?arguments.length<=2?void 0:arguments[2]:n;return f.ctx&&l(f.ctx[e],f.ctx[e]=i)&&(!f.skip_bound&&f.bound[e]&&f.bound[e](i),A&&At(t,e)),n}):[],f.update(),A=!0,s(f.before_update),f.fragment=!!o&&o(f.ctx),e.target){if(e.hydrate){var g=(p=e.target,Array.from(p.childNodes));f.fragment&&f.fragment.l(g),g.forEach(x)}else f.fragment&&f.fragment.c();e.intro&&at(t.$$.fragment),ft(t,e.target,e.anchor,e.customElement),tt()}j(d)}new Set(["allowfullscreen","allowpaymentrequest","async","autofocus","autoplay","checked","controls","default","defer","disabled","formnovalidate","hidden","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected"]),"function"==typeof HTMLElement&&HTMLElement;var vt=function(){function t(){}var e=t.prototype;return e.$destroy=function(){pt(this,1),this.$destroy=r},e.$on=function(t,e){var n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),function(){var t=n.indexOf(e);-1!==t&&n.splice(t,1)}},e.$set=function(t){this.$$set&&!function(t){return 0===Object.keys(t).length}(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)},t}()},3313:function(t,e,n){"use strict";n.d(e,{U2:function(){return i.$XI},fZ:function(){return s}});var i=n(2942);function r(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var a=[];function s(t,e){var n;void 0===e&&(e=i.ZTd);var o=new Set;function s(e){if((0,i.N8)(t,e)&&(t=e,n)){for(var s,l=!a.length,c=r(o);!(s=c()).done;){var u=s.value;u[1](),a.push(u,t)}if(l){for(var h=0;h<a.length;h+=2)a[h][0](a[h+1]);a.length=0}}}return{set:s,update:function(e){s(e(t))},subscribe:function(r,a){void 0===a&&(a=i.ZTd);var l=[r,a];return o.add(l),1===o.size&&(n=e(s)||i.ZTd),r(t),function(){o.delete(l),0===o.size&&(n(),n=null)}}}}}},__webpack_module_cache__={};function __webpack_require__(t){var e=__webpack_module_cache__[t];if(void 0!==e)return e.exports;var n=__webpack_module_cache__[t]={id:t,exports:{}};return __webpack_modules__[t](n,n.exports,__webpack_require__),n.exports}__webpack_require__.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return __webpack_require__.d(e,{a:e}),e},__webpack_require__.d=function(t,e){for(var n in e)__webpack_require__.o(e,n)&&!__webpack_require__.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),__webpack_require__.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)};var __webpack_exports__={};return function(){"use strict";__webpack_require__.d(__webpack_exports__,{default:function(){return _r}}),__webpack_require__(5441),__webpack_require__(8765);var t=__webpack_require__(4296),e=__webpack_require__(5103),n={one:function(t,e){void 0===e&&(e=document);try{return e.querySelector(t)||void 0}catch(t){return}},all:function(t,e){void 0===e&&(e=document);try{var n=e.querySelectorAll(t);return[].slice.call(n)}catch(t){return[]}},addClass:function(t,n){if(t)for(var i=(0,e.kJ)(t)?t:[t],r=0;r<i.length;r++){var o=(i[r].className||"").split(" ");o.indexOf(n)>-1||(o.push(n),i[r].className=o.join(" "))}},removeClass:function(t,n){if(t)for(var i=(0,e.kJ)(t)?t:[t],r=0;r<i.length;r++){for(var o=i[r].className.split(" "),a=0;a<o.length;a++)o[a]==n&&(o[a]="");i[r].className=o.join(" ").trim()}},hasClass:function(t,e){return!(!t||!t.classList)&&t.classList.contains(e)},bind:function(t,n,i,r){void 0===r&&(r=!1),t&&((0,e.kJ)(t)?t:[t]).forEach(function(t){t.addEventListener(n,i,!!r)})},delegate:function(t,e,i,r){t&&t.addEventListener(e,function(e){var o=n.all(i,t);if(o)t:for(var a=0;a<o.length;a++)for(var s=e.target;s;){if(s==o[a]){r.call(s,e,s);break t}if((s=s.parentNode)==t)break}},!1)},removeChildren:function(t){for(;t.firstChild;)t.removeChild(t.lastChild);return t}},i=n,r=__webpack_require__(6464),o=__webpack_require__(6881),a=__webpack_require__(2942),s=__webpack_require__(7003),l=__webpack_require__(3379),c=__webpack_require__.n(l),u=__webpack_require__(7795),h=__webpack_require__.n(u),d=__webpack_require__(569),f=__webpack_require__.n(d),p=__webpack_require__(3565),A=__webpack_require__.n(p),g=__webpack_require__(9216),v=__webpack_require__.n(g),m=__webpack_require__(4589),y=__webpack_require__.n(m),b=__webpack_require__(7558),_={};b.Z&&b.Z.locals&&(_.locals=b.Z.locals);var w,x=0,C={};C.styleTagTransform=y(),C.setAttributes=A(),C.insert=f().bind(null,"head"),C.domAPI=h(),C.insertStyleElement=v(),_.use=function(t){return C.options=t||{},x++||(w=c()(b.Z,C)),_},_.unuse=function(){x>0&&!--x&&(w(),w=null)};var S=_;function B(t){var e,n,i,r;return{c:function(){e=(0,a.bGB)("div"),n=(0,a.fLW)("vConsole"),(0,a.Ljt)(e,"class","vc-switch"),(0,a.czc)(e,"right",t[2].x+"px"),(0,a.czc)(e,"bottom",t[2].y+"px"),(0,a.czc)(e,"display",t[0]?"block":"none")},m:function(o,s){(0,a.$Tr)(o,e,s),(0,a.R3I)(e,n),t[8](e),i||(r=[(0,a.oLt)(e,"touchstart",t[3],{passive:!1}),(0,a.oLt)(e,"touchend",t[4],{passive:!1}),(0,a.oLt)(e,"touchmove",t[5],{passive:!1}),(0,a.oLt)(e,"click",t[7])],i=!0)},p:function(t,n){var i=n[0];4&i&&(0,a.czc)(e,"right",t[2].x+"px"),4&i&&(0,a.czc)(e,"bottom",t[2].y+"px"),1&i&&(0,a.czc)(e,"display",t[0]?"block":"none")},i:a.ZTd,o:a.ZTd,d:function(n){n&&(0,a.ogt)(e),t[8](null),i=!1,(0,a.j7q)(r)}}}function k(t,n,i){var r,o=n.show,l=void 0===o||o,c=n.position,u=void 0===c?{x:0,y:0}:c,h={hasMoved:!1,x:0,y:0,startX:0,startY:0,endX:0,endY:0},d={x:0,y:0};(0,s.H3)(function(){S.use()}),(0,s.ev)(function(){S.unuse()});var f=function(t,n){var r=p(t,n);t=r[0],n=r[1],h.x=t,h.y=n,i(2,d.x=t,d),i(2,d.y=n,d),e.po("switch_x",t+""),e.po("switch_y",n+"")},p=function(t,e){var n=Math.max(document.documentElement.offsetWidth,window.innerWidth),i=Math.max(document.documentElement.offsetHeight,window.innerHeight);return t+r.offsetWidth>n&&(t=n-r.offsetWidth),e+r.offsetHeight>i&&(e=i-r.offsetHeight),t<0&&(t=0),e<20&&(e=20),[t,e]};return t.$$set=function(t){"show"in t&&i(0,l=t.show),"position"in t&&i(6,u=t.position)},t.$$.update=function(){66&t.$$.dirty&&r&&f(u.x,u.y)},[l,r,d,function(t){h.startX=t.touches[0].pageX,h.startY=t.touches[0].pageY,h.hasMoved=!1},function(t){h.hasMoved&&(h.startX=0,h.startY=0,h.hasMoved=!1,f(h.endX,h.endY))},function(t){if(!(t.touches.length<=0)){var e=t.touches[0].pageX-h.startX,n=t.touches[0].pageY-h.startY,r=Math.floor(h.x-e),o=Math.floor(h.y-n),a=p(r,o);r=a[0],o=a[1],i(2,d.x=r,d),i(2,d.y=o,d),h.endX=r,h.endY=o,h.hasMoved=!0,t.preventDefault()}},u,function(e){a.cKT.call(this,t,e)},function(t){a.VnY[t?"unshift":"push"](function(){i(1,r=t)})}]}var T=function(e){function n(t){var n;return n=e.call(this)||this,(0,a.S1n)((0,r.Z)(n),t,k,B,a.N8,{show:0,position:6}),n}return(0,o.Z)(n,e),(0,t.Z)(n,[{key:"show",get:function(){return this.$$.ctx[0]},set:function(t){this.$$set({show:t}),(0,a.yl1)()}},{key:"position",get:function(){return this.$$.ctx[6]},set:function(t){this.$$set({position:t}),(0,a.yl1)()}}]),n}(a.f_C);function O(t){var e,n;return{c:function(){e=(0,a.bGB)("div"),(0,a.Ljt)(e,"id",n="__vc_plug_"+t[0]),(0,a.Ljt)(e,"class","vc-plugin-box"),(0,a.VHj)(e,"vc-fixed-height",t[1]),(0,a.VHj)(e,"vc-actived",t[2])},m:function(n,i){(0,a.$Tr)(n,e,i),t[6](e)},p:function(t,i){var r=i[0];1&r&&n!==(n="__vc_plug_"+t[0])&&(0,a.Ljt)(e,"id",n),2&r&&(0,a.VHj)(e,"vc-fixed-height",t[1]),4&r&&(0,a.VHj)(e,"vc-actived",t[2])},i:a.ZTd,o:a.ZTd,d:function(n){n&&(0,a.ogt)(e),t[6](null)}}}function E(t,n,i){var r=n.pluginId,o=void 0===r?"":r,s=n.fixedHeight,l=void 0!==s&&s,c=n.actived,u=void 0!==c&&c,h=n.content,d=void 0===h?void 0:h,f=void 0,p=void 0;return t.$$set=function(t){"pluginId"in t&&i(0,o=t.pluginId),"fixedHeight"in t&&i(1,l=t.fixedHeight),"actived"in t&&i(2,u=t.actived),"content"in t&&i(4,d=t.content)},t.$$.update=function(){57&t.$$.dirty&&p!==o&&d&&f&&(i(5,p=o),i(3,f.innerHTML="",f),(0,e.HD)(d)?i(3,f.innerHTML=d,f):(0,e.kK)(d)&&f.appendChild(d))},[o,l,u,f,d,p,function(t){a.VnY[t?"unshift":"push"](function(){i(3,f=t),i(5,p),i(0,o),i(4,d)})}]}var I=function(e){function n(t){var n;return n=e.call(this)||this,(0,a.S1n)((0,r.Z)(n),t,E,O,a.N8,{pluginId:0,fixedHeight:1,actived:2,content:4}),n}return(0,o.Z)(n,e),(0,t.Z)(n,[{key:"pluginId",get:function(){return this.$$.ctx[0]},set:function(t){this.$$set({pluginId:t}),(0,a.yl1)()}},{key:"fixedHeight",get:function(){return this.$$.ctx[1]},set:function(t){this.$$set({fixedHeight:t}),(0,a.yl1)()}},{key:"actived",get:function(){return this.$$.ctx[2]},set:function(t){this.$$set({actived:t}),(0,a.yl1)()}},{key:"content",get:function(){return this.$$.ctx[4]},set:function(t){this.$$set({content:t}),(0,a.yl1)()}}]),n}(a.f_C),M=__webpack_require__(4687),D=__webpack_require__(3283),L={};D.Z&&D.Z.locals&&(L.locals=D.Z.locals);var F,P=0,N={};N.styleTagTransform=y(),N.setAttributes=A(),N.insert=f().bind(null,"head"),N.domAPI=h(),N.insertStyleElement=v(),L.use=function(t){return N.options=t||{},P++||(F=c()(D.Z,N)),L},L.unuse=function(){P>0&&!--P&&(F(),F=null)};var j=L;function U(t,e,n){var i=t.slice();return i[39]=e[n][0],i[40]=e[n][1],i}function R(t,e,n){var i=t.slice();return i[43]=e[n],i[45]=n,i}function Q(t,e,n){var i=t.slice();return i[39]=e[n][0],i[40]=e[n][1],i}function H(t,e,n){var i=t.slice();return i[39]=e[n][0],i[40]=e[n][1],i}function V(t,e,n){var i=t.slice();return i[43]=e[n],i[45]=n,i}function z(t,e,n){var i=t.slice();return i[39]=e[n][0],i[40]=e[n][1],i}function $(t){var e,n,i,r,o,s=t[40].name+"";function l(){return t[25](t[40])}return{c:function(){e=(0,a.bGB)("a"),n=(0,a.fLW)(s),(0,a.Ljt)(e,"class","vc-tab"),(0,a.Ljt)(e,"id",i="__vc_tab_"+t[40].id),(0,a.VHj)(e,"vc-actived",t[40].id===t[2])},m:function(t,i){(0,a.$Tr)(t,e,i),(0,a.R3I)(e,n),r||(o=(0,a.oLt)(e,"click",l),r=!0)},p:function(r,o){t=r,8&o[0]&&s!==(s=t[40].name+"")&&(0,a.rTO)(n,s),8&o[0]&&i!==(i="__vc_tab_"+t[40].id)&&(0,a.Ljt)(e,"id",i),12&o[0]&&(0,a.VHj)(e,"vc-actived",t[40].id===t[2])},d:function(t){t&&(0,a.ogt)(e),r=!1,o()}}}function G(t){var e,n=t[40].hasTabPanel&&$(t);return{c:function(){n&&n.c(),e=(0,a.cSb)()},m:function(t,i){n&&n.m(t,i),(0,a.$Tr)(t,e,i)},p:function(t,i){t[40].hasTabPanel?n?n.p(t,i):((n=$(t)).c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null)},d:function(t){n&&n.d(t),t&&(0,a.ogt)(e)}}}function W(t){var e,n,i,r,o,s=t[43].name+"";function l(){for(var e,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return(e=t)[26].apply(e,[t[40],t[45]].concat(i))}return{c:function(){e=(0,a.bGB)("i"),n=(0,a.fLW)(s),(0,a.Ljt)(e,"class",i="vc-toptab vc-topbar-"+t[40].id+" "+t[43].className),(0,a.VHj)(e,"vc-toggle",t[40].id===t[2]),(0,a.VHj)(e,"vc-actived",t[43].actived)},m:function(t,i){(0,a.$Tr)(t,e,i),(0,a.R3I)(e,n),r||(o=(0,a.oLt)(e,"click",l),r=!0)},p:function(r,o){t=r,8&o[0]&&s!==(s=t[43].name+"")&&(0,a.rTO)(n,s),8&o[0]&&i!==(i="vc-toptab vc-topbar-"+t[40].id+" "+t[43].className)&&(0,a.Ljt)(e,"class",i),12&o[0]&&(0,a.VHj)(e,"vc-toggle",t[40].id===t[2]),8&o[0]&&(0,a.VHj)(e,"vc-actived",t[43].actived)},d:function(t){t&&(0,a.ogt)(e),r=!1,o()}}}function K(t){for(var e,n=t[40].topbarList,i=[],r=0;r<n.length;r+=1)i[r]=W(V(t,n,r));return{c:function(){for(var t=0;t<i.length;t+=1)i[t].c();e=(0,a.cSb)()},m:function(t,n){for(var r=0;r<i.length;r+=1)i[r].m(t,n);(0,a.$Tr)(t,e,n)},p:function(t,r){if(8204&r[0]){var o;for(n=t[40].topbarList,o=0;o<n.length;o+=1){var a=V(t,n,o);i[o]?i[o].p(a,r):(i[o]=W(a),i[o].c(),i[o].m(e.parentNode,e))}for(;o<i.length;o+=1)i[o].d(1);i.length=n.length}},d:function(t){(0,a.RMB)(i,t),t&&(0,a.ogt)(e)}}}function Y(t){var e,n,i,r=I;function o(t){var e;return{props:{pluginId:t[40].id,fixedHeight:null==(e=t[40].tabOptions)?void 0:e.fixedHeight,actived:t[40].id===t[2],content:t[40].content}}}return r&&(e=new r(o(t))),{c:function(){e&&(0,a.YCL)(e.$$.fragment),n=(0,a.cSb)()},m:function(t,r){e&&(0,a.yef)(e,t,r),(0,a.$Tr)(t,n,r),i=!0},p:function(t,i){var s,l={};if(8&i[0]&&(l.pluginId=t[40].id),8&i[0]&&(l.fixedHeight=null==(s=t[40].tabOptions)?void 0:s.fixedHeight),12&i[0]&&(l.actived=t[40].id===t[2]),8&i[0]&&(l.content=t[40].content),r!==(r=I)){if(e){(0,a.dvw)();var c=e;(0,a.etI)(c.$$.fragment,1,0,function(){(0,a.vpE)(c,1)}),(0,a.gbL)()}r?(e=new r(o(t)),(0,a.YCL)(e.$$.fragment),(0,a.Ui)(e.$$.fragment,1),(0,a.yef)(e,n.parentNode,n)):e=null}else r&&e.$set(l)},i:function(t){i||(e&&(0,a.Ui)(e.$$.fragment,t),i=!0)},o:function(t){e&&(0,a.etI)(e.$$.fragment,t),i=!1},d:function(t){t&&(0,a.ogt)(n),e&&(0,a.vpE)(e,t)}}}function X(t){var e,n,i,r,o,s=t[43].name+"";function l(){for(var e,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return(e=t)[28].apply(e,[t[40],t[45]].concat(i))}return{c:function(){e=(0,a.bGB)("i"),n=(0,a.fLW)(s),(0,a.Ljt)(e,"class",i="vc-tool vc-tool-"+t[40].id),(0,a.VHj)(e,"vc-global-tool",t[43].global),(0,a.VHj)(e,"vc-toggle",t[40].id===t[2])},m:function(t,i){(0,a.$Tr)(t,e,i),(0,a.R3I)(e,n),r||(o=(0,a.oLt)(e,"click",l),r=!0)},p:function(r,o){t=r,8&o[0]&&s!==(s=t[43].name+"")&&(0,a.rTO)(n,s),8&o[0]&&i!==(i="vc-tool vc-tool-"+t[40].id)&&(0,a.Ljt)(e,"class",i),8&o[0]&&(0,a.VHj)(e,"vc-global-tool",t[43].global),12&o[0]&&(0,a.VHj)(e,"vc-toggle",t[40].id===t[2])},d:function(t){t&&(0,a.ogt)(e),r=!1,o()}}}function q(t){for(var e,n=t[40].toolbarList,i=[],r=0;r<n.length;r+=1)i[r]=X(R(t,n,r));return{c:function(){for(var t=0;t<i.length;t+=1)i[t].c();e=(0,a.cSb)()},m:function(t,n){for(var r=0;r<i.length;r+=1)i[r].m(t,n);(0,a.$Tr)(t,e,n)},p:function(t,r){if(16396&r[0]){var o;for(n=t[40].toolbarList,o=0;o<n.length;o+=1){var a=R(t,n,o);i[o]?i[o].p(a,r):(i[o]=X(a),i[o].c(),i[o].m(e.parentNode,e))}for(;o<i.length;o+=1)i[o].d(1);i.length=n.length}},d:function(t){(0,a.RMB)(i,t),t&&(0,a.ogt)(e)}}}function Z(t){var e,n,i,r,o,s,l,c,u,h,d,f,p,A,g,v,m,y,b,_,w;function x(e){t[23](e)}function C(e){t[24](e)}var S={};void 0!==t[0]&&(S.show=t[0]),void 0!==t[1]&&(S.position=t[1]),n=new T({props:S}),a.VnY.push(function(){return(0,a.akz)(n,"show",x)}),a.VnY.push(function(){return(0,a.akz)(n,"position",C)}),n.$on("click",t[10]);for(var B=Object.entries(t[3]),k=[],O=0;O<B.length;O+=1)k[O]=G(z(t,B,O));for(var E=Object.entries(t[3]),I=[],M=0;M<E.length;M+=1)I[M]=K(H(t,E,M));for(var D=Object.entries(t[3]),L=[],F=0;F<D.length;F+=1)L[F]=Y(Q(t,D,F));for(var P=function(t){return(0,a.etI)(L[t],1,1,function(){L[t]=null})},N=Object.entries(t[3]),j=[],R=0;R<N.length;R+=1)j[R]=q(U(t,N,R));return{c:function(){var i,r;e=(0,a.bGB)("div"),(0,a.YCL)(n.$$.fragment),o=(0,a.DhX)(),s=(0,a.bGB)("div"),l=(0,a.DhX)(),c=(0,a.bGB)("div"),u=(0,a.bGB)("div");for(var b=0;b<k.length;b+=1)k[b].c();h=(0,a.DhX)(),d=(0,a.bGB)("div");for(var _=0;_<I.length;_+=1)I[_].c();f=(0,a.DhX)(),p=(0,a.bGB)("div");for(var w=0;w<L.length;w+=1)L[w].c();A=(0,a.DhX)(),g=(0,a.bGB)("div");for(var x=0;x<j.length;x+=1)j[x].c();v=(0,a.DhX)(),(m=(0,a.bGB)("i")).textContent="Hide",(0,a.Ljt)(s,"class","vc-mask"),(0,a.czc)(s,"display",t[8]?"block":"none"),(0,a.Ljt)(u,"class","vc-tabbar"),(0,a.Ljt)(d,"class","vc-topbar"),(0,a.Ljt)(p,"class","vc-content"),(0,a.VHj)(p,"vc-has-topbar",(null==(i=t[3][t[2]])||null==(r=i.topbarList)?void 0:r.length)>0),(0,a.Ljt)(m,"class","vc-tool vc-global-tool vc-tool-last vc-hide"),(0,a.Ljt)(g,"class","vc-toolbar"),(0,a.Ljt)(c,"class","vc-panel"),(0,a.czc)(c,"display",t[7]?"block":"none"),(0,a.Ljt)(e,"id","__vconsole"),(0,a.Ljt)(e,"style",y=t[5]?"font-size:"+t[5]+";":""),(0,a.Ljt)(e,"data-theme",t[4]),(0,a.VHj)(e,"vc-toggle",t[6])},m:function(i,r){(0,a.$Tr)(i,e,r),(0,a.yef)(n,e,null),(0,a.R3I)(e,o),(0,a.R3I)(e,s),(0,a.R3I)(e,l),(0,a.R3I)(e,c),(0,a.R3I)(c,u);for(var y=0;y<k.length;y+=1)k[y].m(u,null);(0,a.R3I)(c,h),(0,a.R3I)(c,d);for(var x=0;x<I.length;x+=1)I[x].m(d,null);(0,a.R3I)(c,f),(0,a.R3I)(c,p);for(var C=0;C<L.length;C+=1)L[C].m(p,null);t[27](p),(0,a.R3I)(c,A),(0,a.R3I)(c,g);for(var S=0;S<j.length;S+=1)j[S].m(g,null);(0,a.R3I)(g,v),(0,a.R3I)(g,m),b=!0,_||(w=[(0,a.oLt)(s,"click",t[11]),(0,a.oLt)(p,"touchstart",t[15]),(0,a.oLt)(p,"touchmove",t[16]),(0,a.oLt)(p,"touchend",t[17]),(0,a.oLt)(p,"scroll",t[18]),(0,a.oLt)(m,"click",t[11]),(0,a.oLt)(e,"touchstart",t[19].touchStart,{passive:!1,capture:!0}),(0,a.oLt)(e,"touchmove",t[19].touchMove,{passive:!1,capture:!0}),(0,a.oLt)(e,"touchend",t[19].touchEnd,{passive:!1,capture:!0})],_=!0)},p:function(t,o){var l,h,f={};if(!i&&1&o[0]&&(i=!0,f.show=t[0],(0,a.hjT)(function(){return i=!1})),!r&&2&o[0]&&(r=!0,f.position=t[1],(0,a.hjT)(function(){return r=!1})),n.$set(f),(!b||256&o[0])&&(0,a.czc)(s,"display",t[8]?"block":"none"),4108&o[0]){var A;for(B=Object.entries(t[3]),A=0;A<B.length;A+=1){var m=z(t,B,A);k[A]?k[A].p(m,o):(k[A]=G(m),k[A].c(),k[A].m(u,null))}for(;A<k.length;A+=1)k[A].d(1);k.length=B.length}if(8204&o[0]){var _;for(E=Object.entries(t[3]),_=0;_<E.length;_+=1){var w=H(t,E,_);I[_]?I[_].p(w,o):(I[_]=K(w),I[_].c(),I[_].m(d,null))}for(;_<I.length;_+=1)I[_].d(1);I.length=E.length}if(12&o[0]){var x;for(D=Object.entries(t[3]),x=0;x<D.length;x+=1){var C=Q(t,D,x);L[x]?(L[x].p(C,o),(0,a.Ui)(L[x],1)):(L[x]=Y(C),L[x].c(),(0,a.Ui)(L[x],1),L[x].m(p,null))}for((0,a.dvw)(),x=D.length;x<L.length;x+=1)P(x);(0,a.gbL)()}if(12&o[0]&&(0,a.VHj)(p,"vc-has-topbar",(null==(l=t[3][t[2]])||null==(h=l.topbarList)?void 0:h.length)>0),16396&o[0]){var S;for(N=Object.entries(t[3]),S=0;S<N.length;S+=1){var T=U(t,N,S);j[S]?j[S].p(T,o):(j[S]=q(T),j[S].c(),j[S].m(g,v))}for(;S<j.length;S+=1)j[S].d(1);j.length=N.length}(!b||128&o[0])&&(0,a.czc)(c,"display",t[7]?"block":"none"),(!b||32&o[0]&&y!==(y=t[5]?"font-size:"+t[5]+";":""))&&(0,a.Ljt)(e,"style",y),(!b||16&o[0])&&(0,a.Ljt)(e,"data-theme",t[4]),64&o[0]&&(0,a.VHj)(e,"vc-toggle",t[6])},i:function(t){if(!b){(0,a.Ui)(n.$$.fragment,t);for(var e=0;e<D.length;e+=1)(0,a.Ui)(L[e]);b=!0}},o:function(t){(0,a.etI)(n.$$.fragment,t),L=L.filter(Boolean);for(var e=0;e<L.length;e+=1)(0,a.etI)(L[e]);b=!1},d:function(i){i&&(0,a.ogt)(e),(0,a.vpE)(n),(0,a.RMB)(k,i),(0,a.RMB)(I,i),(0,a.RMB)(L,i),t[27](null),(0,a.RMB)(j,i),_=!1,(0,a.j7q)(w)}}}function J(t,n,i){var r,o,l=n.theme,c=void 0===l?"":l,u=n.disableScrolling,h=void 0!==u&&u,d=n.show,f=void 0!==d&&d,p=n.showSwitchButton,A=void 0===p||p,g=n.switchButtonPosition,v=void 0===g?{x:0,y:0}:g,m=n.activedPluginId,y=void 0===m?"":m,b=n.pluginList,_=void 0===b?{}:b,w=(0,s.x)(),x=!1,C="",S=!1,B=!1,k=!1,T=!0,O=0,E=null,I={};(0,s.H3)(function(){var t=document.querySelectorAll('[name="viewport"]');if(t&&t[0]){var e=(t[t.length-1].getAttribute("content")||"").match(/initial\-scale\=\d+(\.\d+)?/),n=e?parseFloat(e[0].split("=")[1]):1;1!==n&&i(5,C=Math.floor(1/n*13)+"px")}j.use&&j.use(),r=M.x.subscribe(function(t){f&&O!==t.updateTime&&(O=t.updateTime,D())})}),(0,s.ev)(function(){j.unuse&&j.unuse(),r&&r()});var D=function(){!h&&T&&o&&i(9,o.scrollTop=o.scrollHeight-o.offsetHeight,o)},L=function(t){t!==y&&(i(2,y=t),w("changePanel",{pluginId:t}),setTimeout(function(){o&&i(9,o.scrollTop=I[y]||0,o)},0))},F=function(t,n,r){var o=_[n].topbarList[r],a=!0;if(e.mf(o.onClick)&&(a=o.onClick.call(t.target,t,o.data)),!1===a);else{for(var s=0;s<_[n].topbarList.length;s++)i(3,_[n].topbarList[s].actived=r===s,_);i(3,_)}},P=function(t,n,i){var r=_[n].toolbarList[i];e.mf(r.onClick)&&r.onClick.call(t.target,t,r.data)},N={tapTime:700,tapBoundary:10,lastTouchStartTime:0,touchstartX:0,touchstartY:0,touchHasMoved:!1,targetElem:null},U={touchStart:function(t){if(0===N.lastTouchStartTime){var e=t.targetTouches[0];N.touchstartX=e.pageX,N.touchstartY=e.pageY,N.lastTouchStartTime=t.timeStamp,N.targetElem=t.target.nodeType===Node.TEXT_NODE?t.target.parentNode:t.target}},touchMove:function(t){var e=t.changedTouches[0];(Math.abs(e.pageX-N.touchstartX)>N.tapBoundary||Math.abs(e.pageY-N.touchstartY)>N.tapBoundary)&&(N.touchHasMoved=!0)},touchEnd:function(t){if(!1===N.touchHasMoved&&t.timeStamp-N.lastTouchStartTime<N.tapTime&&null!=N.targetElem){var e=!1;switch(N.targetElem.tagName.toLowerCase()){case"textarea":e=!0;break;case"select":e=!N.targetElem.disabled&&!N.targetElem.readOnly;break;case"input":switch(N.targetElem.type){case"button":case"checkbox":case"file":case"image":case"radio":case"submit":e=!1;break;default:e=!N.targetElem.disabled&&!N.targetElem.readOnly}}e?N.targetElem.focus():t.preventDefault();var n=t.changedTouches[0],i=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window,screenX:n.screenX,screenY:n.screenY,clientX:n.clientX,clientY:n.clientY});N.targetElem.dispatchEvent(i)}N.lastTouchStartTime=0,N.touchHasMoved=!1,N.targetElem=null}};return t.$$set=function(t){"theme"in t&&i(4,c=t.theme),"disableScrolling"in t&&i(20,h=t.disableScrolling),"show"in t&&i(21,f=t.show),"showSwitchButton"in t&&i(0,A=t.showSwitchButton),"switchButtonPosition"in t&&i(1,v=t.switchButtonPosition),"activedPluginId"in t&&i(2,y=t.activedPluginId),"pluginList"in t&&i(3,_=t.pluginList)},t.$$.update=function(){6291456&t.$$.dirty[0]&&(!0===f?(i(7,B=!0),i(8,k=!0),E&&clearTimeout(E),i(22,E=setTimeout(function(){i(6,S=!0),D()},10))):(i(6,S=!1),E&&clearTimeout(E),i(22,E=setTimeout(function(){i(7,B=!1),i(8,k=!1)},330))))},[A,v,y,_,c,C,S,B,k,o,function(t){w("show",{show:!0})},function(t){w("show",{show:!1})},L,F,P,function(t){if("INPUT"!==t.target.tagName&&"TEXTAREA"!==t.target.tagName){var e=!1;if("function"==typeof window.getComputedStyle){var n=window.getComputedStyle(t.target);"auto"!==n.overflow&&"initial"!==n.overflow&&"scroll"!==n.overflow||(e=!0)}if(!e){var r=o.scrollTop,a=o.scrollHeight,s=r+o.offsetHeight;0===r?(i(9,o.scrollTop=1,o),0===o.scrollTop&&(x=!0)):s===a&&(i(9,o.scrollTop=r-1,o),o.scrollTop===r&&(x=!0))}}},function(t){x&&t.preventDefault()},function(t){x=!1},function(t){f&&(T=o.scrollTop+o.offsetHeight>=o.scrollHeight-50,I[y]=o.scrollTop)},U,h,f,E,function(t){i(0,A=t)},function(t){i(1,v=t)},function(t){return L(t.id)},function(t,e,n){return F(n,t.id,e)},function(t){a.VnY[t?"unshift":"push"](function(){i(9,o=t)})},function(t,e,n){return P(n,t.id,e)}]}var tt=function(e){function n(t){var n;return n=e.call(this)||this,(0,a.S1n)((0,r.Z)(n),t,J,Z,a.N8,{theme:4,disableScrolling:20,show:21,showSwitchButton:0,switchButtonPosition:1,activedPluginId:2,pluginList:3},null,[-1,-1]),n}return(0,o.Z)(n,e),(0,t.Z)(n,[{key:"theme",get:function(){return this.$$.ctx[4]},set:function(t){this.$$set({theme:t}),(0,a.yl1)()}},{key:"disableScrolling",get:function(){return this.$$.ctx[20]},set:function(t){this.$$set({disableScrolling:t}),(0,a.yl1)()}},{key:"show",get:function(){return this.$$.ctx[21]},set:function(t){this.$$set({show:t}),(0,a.yl1)()}},{key:"showSwitchButton",get:function(){return this.$$.ctx[0]},set:function(t){this.$$set({showSwitchButton:t}),(0,a.yl1)()}},{key:"switchButtonPosition",get:function(){return this.$$.ctx[1]},set:function(t){this.$$set({switchButtonPosition:t}),(0,a.yl1)()}},{key:"activedPluginId",get:function(){return this.$$.ctx[2]},set:function(t){this.$$set({activedPluginId:t}),(0,a.yl1)()}},{key:"pluginList",get:function(){return this.$$.ctx[3]},set:function(t){this.$$set({pluginList:t}),(0,a.yl1)()}}]),n}(a.f_C),et=function(){function n(t,e){void 0===e&&(e="newPlugin"),this.isReady=!1,this.eventMap=new Map,this.exporter=void 0,this._id=void 0,this._name=void 0,this._vConsole=void 0,this.id=t,this.name=e,this.isReady=!1}var i=n.prototype;return i.on=function(t,e){return this.eventMap.set(t,e),this},i.onRemove=function(){this.unbindExporter()},i.trigger=function(t,e){var n=this.eventMap.get(t);if("function"==typeof n)n.call(this,e);else{var i="on"+t.charAt(0).toUpperCase()+t.slice(1);"function"==typeof this[i]&&this[i].call(this,e)}return this},i.bindExporter=function(){if(this._vConsole&&this.exporter){var t="default"===this.id?"log":this.id;this._vConsole[t]=this.exporter}},i.unbindExporter=function(){var t="default"===this.id?"log":this.id;this._vConsole&&this._vConsole[t]&&(this._vConsole[t]=void 0)},i.getUniqueID=function(t){return void 0===t&&(t=""),(0,e.QI)(t)},(0,t.Z)(n,[{key:"id",get:function(){return this._id},set:function(t){if("string"!=typeof t)throw"[vConsole] Plugin ID must be a string.";if(!t)throw"[vConsole] Plugin ID cannot be empty.";this._id=t.toLowerCase()}},{key:"name",get:function(){return this._name},set:function(t){if("string"!=typeof t)throw"[vConsole] Plugin name must be a string.";if(!t)throw"[vConsole] Plugin name cannot be empty.";this._name=t}},{key:"vConsole",get:function(){return this._vConsole||void 0},set:function(t){if(!t)throw"[vConsole] vConsole cannot be empty";this._vConsole=t,this.bindExporter()}}]),n}(),nt=function(t){function e(e,n,i,r){var o;return(o=t.call(this,e,n)||this).CompClass=void 0,o.compInstance=void 0,o.initialProps=void 0,o.CompClass=i,o.initialProps=r,o}(0,o.Z)(e,t);var n=e.prototype;return n.onReady=function(){this.isReady=!0},n.onRenderTab=function(t){var e=document.createElement("div"),n=this.compInstance=new this.CompClass({target:e,props:this.initialProps});t(e.firstElementChild,n.options)},n.onRemove=function(){t.prototype.onRemove&&t.prototype.onRemove.call(this),this.compInstance&&this.compInstance.$destroy()},e}(et),it=__webpack_require__(8665),rt=__webpack_require__(9923),ot=__webpack_require__(8702);function at(t){var e,n;return(e=new ot.Z({props:{name:t[0]?"success":"copy"}})).$on("click",t[1]),{c:function(){(0,a.YCL)(e.$$.fragment)},m:function(t,i){(0,a.yef)(e,t,i),n=!0},p:function(t,n){var i={};1&n[0]&&(i.name=t[0]?"success":"copy"),e.$set(i)},i:function(t){n||((0,a.Ui)(e.$$.fragment,t),n=!0)},o:function(t){(0,a.etI)(e.$$.fragment,t),n=!1},d:function(t){(0,a.vpE)(e,t)}}}function st(t,n,i){var r=n.content,o=void 0===r?"":r,a=n.handler,s=void 0===a?void 0:a,l={target:document.documentElement},c=!1;return t.$$set=function(t){"content"in t&&i(2,o=t.content),"handler"in t&&i(3,s=t.handler)},[c,function(t){(function(t,e){var n=(void 0===e?{}:e).target,i=void 0===n?document.body:n,r=document.createElement("textarea"),o=document.activeElement;r.value=t,r.setAttribute("readonly",""),r.style.contain="strict",r.style.position="absolute",r.style.left="-9999px",r.style.fontSize="12pt";var a=document.getSelection(),s=!1;a.rangeCount>0&&(s=a.getRangeAt(0)),i.append(r),r.select(),r.selectionStart=0,r.selectionEnd=t.length;try{document.execCommand("copy")}catch(t){}r.remove(),s&&(a.removeAllRanges(),a.addRange(s)),o&&o.focus()})(e.mf(s)?s(o)||"":e.Kn(o)||e.kJ(o)?e.hZ(o,{maxDepth:10,keyMaxLen:1e4,pretty:!1,standardJSON:!0}):o,l),i(0,c=!0),setTimeout(function(){i(0,c=!1)},600)},o,s]}var lt=function(e){function n(t){var n;return n=e.call(this)||this,(0,a.S1n)((0,r.Z)(n),t,st,at,a.N8,{content:2,handler:3}),n}return(0,o.Z)(n,e),(0,t.Z)(n,[{key:"content",get:function(){return this.$$.ctx[2]},set:function(t){this.$$set({content:t}),(0,a.yl1)()}},{key:"handler",get:function(){return this.$$.ctx[3]},set:function(t){this.$$set({handler:t}),(0,a.yl1)()}}]),n}(a.f_C),ct=__webpack_require__(845),ut={};ct.Z&&ct.Z.locals&&(ut.locals=ct.Z.locals);var ht,dt=0,ft={};ft.styleTagTransform=y(),ft.setAttributes=A(),ft.insert=f().bind(null,"head"),ft.domAPI=h(),ft.insertStyleElement=v(),ut.use=function(t){return ft.options=t||{},dt++||(ht=c()(ct.Z,ft)),ut},ut.unuse=function(){dt>0&&!--dt&&(ht(),ht=null)};var pt=ut;function At(t){var n,i,r,o=e.rE(t[1])+"";return{c:function(){n=(0,a.bGB)("i"),i=(0,a.fLW)(o),r=(0,a.fLW)(":"),(0,a.Ljt)(n,"class","vc-log-key"),(0,a.VHj)(n,"vc-log-key-symbol","symbol"===t[2]),(0,a.VHj)(n,"vc-log-key-private","private"===t[2])},m:function(t,e){(0,a.$Tr)(t,n,e),(0,a.R3I)(n,i),(0,a.$Tr)(t,r,e)},p:function(t,r){2&r&&o!==(o=e.rE(t[1])+"")&&(0,a.rTO)(i,o),4&r&&(0,a.VHj)(n,"vc-log-key-symbol","symbol"===t[2]),4&r&&(0,a.VHj)(n,"vc-log-key-private","private"===t[2])},d:function(t){t&&(0,a.ogt)(n),t&&(0,a.ogt)(r)}}}function gt(t){var e,n,i,r,o=void 0!==t[1]&&At(t);return{c:function(){o&&o.c(),e=(0,a.DhX)(),n=(0,a.bGB)("i"),i=(0,a.fLW)(t[3]),(0,a.Ljt)(n,"class",r="vc-log-val vc-log-val-"+t[4]),(0,a.Ljt)(n,"style",t[0]),(0,a.VHj)(n,"vc-log-val-haskey",void 0!==t[1])},m:function(t,r){o&&o.m(t,r),(0,a.$Tr)(t,e,r),(0,a.$Tr)(t,n,r),(0,a.R3I)(n,i)},p:function(t,s){var l=s[0];void 0!==t[1]?o?o.p(t,l):((o=At(t)).c(),o.m(e.parentNode,e)):o&&(o.d(1),o=null),8&l&&(0,a.rTO)(i,t[3]),16&l&&r!==(r="vc-log-val vc-log-val-"+t[4])&&(0,a.Ljt)(n,"class",r),1&l&&(0,a.Ljt)(n,"style",t[0]),18&l&&(0,a.VHj)(n,"vc-log-val-haskey",void 0!==t[1])},i:a.ZTd,o:a.ZTd,d:function(t){o&&o.d(t),t&&(0,a.ogt)(e),t&&(0,a.ogt)(n)}}}function vt(t,e,n){var i=e.origData,r=e.style,o=void 0===r?"":r,a=e.dataKey,l=void 0===a?void 0:a,c=e.keyType,u=void 0===c?"":c,h="",d="",f=!1;return(0,s.H3)(function(){pt.use()}),(0,s.ev)(function(){pt.unuse()}),t.$$set=function(t){"origData"in t&&n(5,i=t.origData),"style"in t&&n(0,o=t.style),"dataKey"in t&&n(1,l=t.dataKey),"keyType"in t&&n(2,u=t.keyType)},t.$$.update=function(){if(122&t.$$.dirty){n(6,f=void 0!==l);var e=(0,it.LH)(i,f);n(4,d=e.valueType),n(3,h=e.text),f||"string"!==d||n(3,h=h.replace(/\\n/g,"\n").replace(/\\t/g," "))}},[o,l,u,h,d,i,f]}var mt=function(e){function n(t){var n;return n=e.call(this)||this,(0,a.S1n)((0,r.Z)(n),t,vt,gt,a.AqN,{origData:5,style:0,dataKey:1,keyType:2}),n}return(0,o.Z)(n,e),(0,t.Z)(n,[{key:"origData",get:function(){return this.$$.ctx[5]},set:function(t){this.$$set({origData:t}),(0,a.yl1)()}},{key:"style",get:function(){return this.$$.ctx[0]},set:function(t){this.$$set({style:t}),(0,a.yl1)()}},{key:"dataKey",get:function(){return this.$$.ctx[1]},set:function(t){this.$$set({dataKey:t}),(0,a.yl1)()}},{key:"keyType",get:function(){return this.$$.ctx[2]},set:function(t){this.$$set({keyType:t}),(0,a.yl1)()}}]),n}(a.f_C),yt=__webpack_require__(1237),bt={};yt.Z&&yt.Z.locals&&(bt.locals=yt.Z.locals);var _t,wt=0,xt={};xt.styleTagTransform=y(),xt.setAttributes=A(),xt.insert=f().bind(null,"head"),xt.domAPI=h(),xt.insertStyleElement=v(),bt.use=function(t){return xt.options=t||{},wt++||(_t=c()(yt.Z,xt)),bt},bt.unuse=function(){wt>0&&!--wt&&(_t(),_t=null)};var Ct=bt;function St(t,e,n){var i=t.slice();return i[19]=e[n],i[21]=n,i}function Bt(t,e,n){var i=t.slice();return i[19]=e[n],i}function kt(t,e,n){var i=t.slice();return i[19]=e[n],i[21]=n,i}function Tt(t){for(var e,n,i,r,o,s,l,c=[],u=new Map,h=[],d=new Map,f=[],p=new Map,A=t[7],g=function(t){return t[19]},v=0;v<A.length;v+=1){var m=kt(t,A,v),y=g(m);u.set(y,c[v]=Et(y,m))}for(var b=t[11]<t[7].length&&It(t),_=t[9],w=function(t){return t[19]},x=0;x<_.length;x+=1){var C=Bt(t,_,x),S=w(C);d.set(S,h[x]=Mt(S,C))}for(var B=t[8],k=function(t){return t[19]},T=0;T<B.length;T+=1){var O=St(t,B,T),E=k(O);p.set(E,f[T]=Lt(E,O))}var I=t[12]<t[8].length&&Ft(t),M=t[10]&&Pt(t);return{c:function(){e=(0,a.bGB)("div");for(var t=0;t<c.length;t+=1)c[t].c();n=(0,a.DhX)(),b&&b.c(),i=(0,a.DhX)();for(var l=0;l<h.length;l+=1)h[l].c();r=(0,a.DhX)();for(var u=0;u<f.length;u+=1)f[u].c();o=(0,a.DhX)(),I&&I.c(),s=(0,a.DhX)(),M&&M.c(),(0,a.Ljt)(e,"class","vc-log-tree-child")},m:function(t,u){(0,a.$Tr)(t,e,u);for(var d=0;d<c.length;d+=1)c[d].m(e,null);(0,a.R3I)(e,n),b&&b.m(e,null),(0,a.R3I)(e,i);for(var p=0;p<h.length;p+=1)h[p].m(e,null);(0,a.R3I)(e,r);for(var A=0;A<f.length;A+=1)f[A].m(e,null);(0,a.R3I)(e,o),I&&I.m(e,null),(0,a.R3I)(e,s),M&&M.m(e,null),l=!0},p:function(t,l){67721&l&&(A=t[7],(0,a.dvw)(),c=(0,a.GQg)(c,l,g,1,t,A,u,e,a.cly,Et,n,kt),(0,a.gbL)()),t[11]<t[7].length?b?b.p(t,l):((b=It(t)).c(),b.m(e,i)):b&&(b.d(1),b=null),66057&l&&(_=t[9],(0,a.dvw)(),h=(0,a.GQg)(h,l,w,1,t,_,d,e,a.cly,Mt,r,Bt),(0,a.gbL)()),69897&l&&(B=t[8],(0,a.dvw)(),f=(0,a.GQg)(f,l,k,1,t,B,p,e,a.cly,Lt,o,St),(0,a.gbL)()),t[12]<t[8].length?I?I.p(t,l):((I=Ft(t)).c(),I.m(e,s)):I&&(I.d(1),I=null),t[10]?M?(M.p(t,l),1024&l&&(0,a.Ui)(M,1)):((M=Pt(t)).c(),(0,a.Ui)(M,1),M.m(e,null)):M&&((0,a.dvw)(),(0,a.etI)(M,1,1,function(){M=null}),(0,a.gbL)())},i:function(t){if(!l){for(var e=0;e<A.length;e+=1)(0,a.Ui)(c[e]);for(var n=0;n<_.length;n+=1)(0,a.Ui)(h[n]);for(var i=0;i<B.length;i+=1)(0,a.Ui)(f[i]);(0,a.Ui)(M),l=!0}},o:function(t){for(var e=0;e<c.length;e+=1)(0,a.etI)(c[e]);for(var n=0;n<h.length;n+=1)(0,a.etI)(h[n]);for(var i=0;i<f.length;i+=1)(0,a.etI)(f[i]);(0,a.etI)(M),l=!1},d:function(t){t&&(0,a.ogt)(e);for(var n=0;n<c.length;n+=1)c[n].d();b&&b.d();for(var i=0;i<h.length;i+=1)h[i].d();for(var r=0;r<f.length;r+=1)f[r].d();I&&I.d(),M&&M.d()}}}function Ot(t){var e,n;return e=new Ut({props:{origData:t[16](t[19]),dataKey:t[19],keyPath:t[3]+"."+t[19],toggle:t[0]}}),{c:function(){(0,a.YCL)(e.$$.fragment)},m:function(t,i){(0,a.yef)(e,t,i),n=!0},p:function(t,n){var i={};128&n&&(i.origData=t[16](t[19])),128&n&&(i.dataKey=t[19]),136&n&&(i.keyPath=t[3]+"."+t[19]),1&n&&(i.toggle=t[0]),e.$set(i)},i:function(t){n||((0,a.Ui)(e.$$.fragment,t),n=!0)},o:function(t){(0,a.etI)(e.$$.fragment,t),n=!1},d:function(t){(0,a.vpE)(e,t)}}}function Et(t,e){var n,i,r,o=e[21]<e[11]&&Ot(e);return{key:t,first:null,c:function(){n=(0,a.cSb)(),o&&o.c(),i=(0,a.cSb)(),this.first=n},m:function(t,e){(0,a.$Tr)(t,n,e),o&&o.m(t,e),(0,a.$Tr)(t,i,e),r=!0},p:function(t,n){(e=t)[21]<e[11]?o?(o.p(e,n),2176&n&&(0,a.Ui)(o,1)):((o=Ot(e)).c(),(0,a.Ui)(o,1),o.m(i.parentNode,i)):o&&((0,a.dvw)(),(0,a.etI)(o,1,1,function(){o=null}),(0,a.gbL)())},i:function(t){r||((0,a.Ui)(o),r=!0)},o:function(t){(0,a.etI)(o),r=!1},d:function(t){t&&(0,a.ogt)(n),o&&o.d(t),t&&(0,a.ogt)(i)}}}function It(t){var e,n,i,r,o=t[14](t[7].length-t[11])+"";return{c:function(){e=(0,a.bGB)("div"),n=(0,a.fLW)(o),(0,a.Ljt)(e,"class","vc-log-tree-loadmore")},m:function(o,s){(0,a.$Tr)(o,e,s),(0,a.R3I)(e,n),i||(r=(0,a.oLt)(e,"click",t[17]),i=!0)},p:function(t,e){2176&e&&o!==(o=t[14](t[7].length-t[11])+"")&&(0,a.rTO)(n,o)},d:function(t){t&&(0,a.ogt)(e),i=!1,r()}}}function Mt(t,e){var n,i,r;return i=new Ut({props:{origData:e[16](e[19]),dataKey:String(e[19]),keyType:"symbol",keyPath:e[3]+"["+String(e[19])+"]",toggle:e[0]}}),{key:t,first:null,c:function(){n=(0,a.cSb)(),(0,a.YCL)(i.$$.fragment),this.first=n},m:function(t,e){(0,a.$Tr)(t,n,e),(0,a.yef)(i,t,e),r=!0},p:function(t,n){e=t;var r={};512&n&&(r.origData=e[16](e[19])),512&n&&(r.dataKey=String(e[19])),520&n&&(r.keyPath=e[3]+"["+String(e[19])+"]"),1&n&&(r.toggle=e[0]),i.$set(r)},i:function(t){r||((0,a.Ui)(i.$$.fragment,t),r=!0)},o:function(t){(0,a.etI)(i.$$.fragment,t),r=!1},d:function(t){t&&(0,a.ogt)(n),(0,a.vpE)(i,t)}}}function Dt(t){var e,n;return e=new Ut({props:{origData:t[16](t[19]),dataKey:t[19],keyType:"private",keyPath:t[3]+"."+t[19],toggle:t[0]}}),{c:function(){(0,a.YCL)(e.$$.fragment)},m:function(t,i){(0,a.yef)(e,t,i),n=!0},p:function(t,n){var i={};256&n&&(i.origData=t[16](t[19])),256&n&&(i.dataKey=t[19]),264&n&&(i.keyPath=t[3]+"."+t[19]),1&n&&(i.toggle=t[0]),e.$set(i)},i:function(t){n||((0,a.Ui)(e.$$.fragment,t),n=!0)},o:function(t){(0,a.etI)(e.$$.fragment,t),n=!1},d:function(t){(0,a.vpE)(e,t)}}}function Lt(t,e){var n,i,r,o=e[21]<e[12]&&Dt(e);return{key:t,first:null,c:function(){n=(0,a.cSb)(),o&&o.c(),i=(0,a.cSb)(),this.first=n},m:function(t,e){(0,a.$Tr)(t,n,e),o&&o.m(t,e),(0,a.$Tr)(t,i,e),r=!0},p:function(t,n){(e=t)[21]<e[12]?o?(o.p(e,n),4352&n&&(0,a.Ui)(o,1)):((o=Dt(e)).c(),(0,a.Ui)(o,1),o.m(i.parentNode,i)):o&&((0,a.dvw)(),(0,a.etI)(o,1,1,function(){o=null}),(0,a.gbL)())},i:function(t){r||((0,a.Ui)(o),r=!0)},o:function(t){(0,a.etI)(o),r=!1},d:function(t){t&&(0,a.ogt)(n),o&&o.d(t),t&&(0,a.ogt)(i)}}}function Ft(t){var e,n,i,r,o=t[14](t[8].length-t[12])+"";return{c:function(){e=(0,a.bGB)("div"),n=(0,a.fLW)(o),(0,a.Ljt)(e,"class","vc-log-tree-loadmore")},m:function(o,s){(0,a.$Tr)(o,e,s),(0,a.R3I)(e,n),i||(r=(0,a.oLt)(e,"click",t[18]),i=!0)},p:function(t,e){4352&e&&o!==(o=t[14](t[8].length-t[12])+"")&&(0,a.rTO)(n,o)},d:function(t){t&&(0,a.ogt)(e),i=!1,r()}}}function Pt(t){var e,n;return e=new Ut({props:{origData:t[16]("__proto__"),dataKey:"__proto__",keyType:"private",keyPath:t[3]+".__proto__",toggle:t[0]}}),{c:function(){(0,a.YCL)(e.$$.fragment)},m:function(t,i){(0,a.yef)(e,t,i),n=!0},p:function(t,n){var i={};8&n&&(i.keyPath=t[3]+".__proto__"),1&n&&(i.toggle=t[0]),e.$set(i)},i:function(t){n||((0,a.Ui)(e.$$.fragment,t),n=!0)},o:function(t){(0,a.etI)(e.$$.fragment,t),n=!1},d:function(t){(0,a.vpE)(e,t)}}}function Nt(t){var e,n,i,r,o,s,l;i=new mt({props:{origData:t[1],dataKey:t[2],keyType:t[4]}});var c=t[6]&&t[5]&&Tt(t);return{c:function(){e=(0,a.bGB)("div"),n=(0,a.bGB)("div"),(0,a.YCL)(i.$$.fragment),r=(0,a.DhX)(),c&&c.c(),(0,a.Ljt)(n,"class","vc-log-tree-node"),(0,a.Ljt)(e,"class","vc-log-tree"),(0,a.Ljt)(e,"data-keypath",t[3]),(0,a.VHj)(e,"vc-toggle",t[5]),(0,a.VHj)(e,"vc-is-tree",t[6])},m:function(u,h){(0,a.$Tr)(u,e,h),(0,a.R3I)(e,n),(0,a.yef)(i,n,null),(0,a.R3I)(e,r),c&&c.m(e,null),o=!0,s||(l=(0,a.oLt)(n,"click",(0,a.XET)(t[15])),s=!0)},p:function(t,n){var r=n[0],s={};2&r&&(s.origData=t[1]),4&r&&(s.dataKey=t[2]),16&r&&(s.keyType=t[4]),i.$set(s),t[6]&&t[5]?c?(c.p(t,r),96&r&&(0,a.Ui)(c,1)):((c=Tt(t)).c(),(0,a.Ui)(c,1),c.m(e,null)):c&&((0,a.dvw)(),(0,a.etI)(c,1,1,function(){c=null}),(0,a.gbL)()),(!o||8&r)&&(0,a.Ljt)(e,"data-keypath",t[3]),32&r&&(0,a.VHj)(e,"vc-toggle",t[5]),64&r&&(0,a.VHj)(e,"vc-is-tree",t[6])},i:function(t){o||((0,a.Ui)(i.$$.fragment,t),(0,a.Ui)(c),o=!0)},o:function(t){(0,a.etI)(i.$$.fragment,t),(0,a.etI)(c),o=!1},d:function(t){t&&(0,a.ogt)(e),(0,a.vpE)(i),c&&c.d(),s=!1,l()}}}function jt(t,n,i){var r,o,a,l=n.origData,c=n.dataKey,u=void 0===c?void 0:c,h=n.keyPath,d=void 0===h?"":h,f=n.keyType,p=void 0===f?"":f,A=n.toggle,g=void 0===A?{}:A,v=!1,m=!1,y=!1,b=50,_=50;(0,s.H3)(function(){Ct.use()}),(0,s.ev)(function(){Ct.unuse()});var w=function(t){"enum"===t?i(11,b+=50):"nonEnum"===t&&i(12,_+=50)};return t.$$set=function(t){"origData"in t&&i(1,l=t.origData),"dataKey"in t&&i(2,u=t.dataKey),"keyPath"in t&&i(3,d=t.keyPath),"keyType"in t&&i(4,p=t.keyType),"toggle"in t&&i(0,g=t.toggle)},t.$$.update=function(){1003&t.$$.dirty&&(i(5,v=g[d]||!1),i(6,m=!(l instanceof it.Tg)&&(e.kJ(l)||e.Kn(l))),m&&v&&(i(7,r=r||e.qr(e.MH(l))),i(8,o=o||e.qr(e.QK(l))),i(9,a=a||e._D(l)),i(10,y=e.Kn(l)&&-1===o.indexOf("__proto__"))))},[g,l,u,d,p,v,m,r,o,a,y,b,_,w,function(t){return"(..."+t+" Key"+(t>1?"s":"")+" Left)"},function(){i(5,v=!v),i(0,g[d]=v,g)},function(t){try{return l[t]}catch(t){return new it.Tg}},function(){return w("enum")},function(){return w("nonEnum")}]}var Ut=function(e){function n(t){var n;return n=e.call(this)||this,(0,a.S1n)((0,r.Z)(n),t,jt,Nt,a.AqN,{origData:1,dataKey:2,keyPath:3,keyType:4,toggle:0}),n}return(0,o.Z)(n,e),(0,t.Z)(n,[{key:"origData",get:function(){return this.$$.ctx[1]},set:function(t){this.$$set({origData:t}),(0,a.yl1)()}},{key:"dataKey",get:function(){return this.$$.ctx[2]},set:function(t){this.$$set({dataKey:t}),(0,a.yl1)()}},{key:"keyPath",get:function(){return this.$$.ctx[3]},set:function(t){this.$$set({keyPath:t}),(0,a.yl1)()}},{key:"keyType",get:function(){return this.$$.ctx[4]},set:function(t){this.$$set({keyType:t}),(0,a.yl1)()}},{key:"toggle",get:function(){return this.$$.ctx[0]},set:function(t){this.$$set({toggle:t}),(0,a.yl1)()}}]),n}(a.f_C),Rt=Ut,Qt=__webpack_require__(7147),Ht={};Qt.Z&&Qt.Z.locals&&(Ht.locals=Qt.Z.locals);var Vt,zt=0,$t={};$t.styleTagTransform=y(),$t.setAttributes=A(),$t.insert=f().bind(null,"head"),$t.domAPI=h(),$t.insertStyleElement=v(),Ht.use=function(t){return $t.options=t||{},zt++||(Vt=c()(Qt.Z,$t)),Ht},Ht.unuse=function(){zt>0&&!--zt&&(Vt(),Vt=null)};var Gt=Ht;function Wt(t,e,n){var i=t.slice();return i[9]=e[n],i[11]=n,i}function Kt(t,e,n){var i=t.slice();return i[12]=e[n],i}function Yt(t){for(var e,n,i,r,o,s,l,c,u,h,d,f,p,A=[],g=new Map,v=t[0].groupLevel&&Xt(t),m=t[2]>0&&Zt(t),y=t[1]&&Jt(t),b=t[0].repeated&&te(t),_=t[0].data,w=function(t){return t[11]},x=0;x<_.length;x+=1){var C=Wt(t,_,x),S=w(C);g.set(S,A[x]=ie(S,C))}return u=new lt({props:{handler:t[6]}}),{c:function(){e=(0,a.bGB)("div"),v&&v.c(),n=(0,a.DhX)(),m&&m.c(),i=(0,a.DhX)(),y&&y.c(),r=(0,a.DhX)(),b&&b.c(),o=(0,a.DhX)(),s=(0,a.bGB)("div");for(var d=0;d<A.length;d+=1)A[d].c();l=(0,a.DhX)(),c=(0,a.bGB)("div"),(0,a.YCL)(u.$$.fragment),(0,a.Ljt)(s,"class","vc-log-content"),(0,a.Ljt)(c,"class","vc-logrow-icon"),(0,a.Ljt)(e,"class",h="vc-log-row vc-log-"+t[0].type),(0,a.VHj)(e,"vc-log-input","input"===t[0].cmdType),(0,a.VHj)(e,"vc-log-output","output"===t[0].cmdType),(0,a.VHj)(e,"vc-log-group",t[2]>0),(0,a.VHj)(e,"vc-toggle",1===t[2])},m:function(h,g){(0,a.$Tr)(h,e,g),v&&v.m(e,null),(0,a.R3I)(e,n),m&&m.m(e,null),(0,a.R3I)(e,i),y&&y.m(e,null),(0,a.R3I)(e,r),b&&b.m(e,null),(0,a.R3I)(e,o),(0,a.R3I)(e,s);for(var _=0;_<A.length;_+=1)A[_].m(s,null);(0,a.R3I)(e,l),(0,a.R3I)(e,c),(0,a.yef)(u,c,null),d=!0,f||(p=(0,a.oLt)(e,"click",t[5]),f=!0)},p:function(t,l){t[0].groupLevel?v?v.p(t,l):((v=Xt(t)).c(),v.m(e,n)):v&&(v.d(1),v=null),t[2]>0?m||((m=Zt(t)).c(),m.m(e,i)):m&&(m.d(1),m=null),t[1]?y?y.p(t,l):((y=Jt(t)).c(),y.m(e,r)):y&&(y.d(1),y=null),t[0].repeated?b?b.p(t,l):((b=te(t)).c(),b.m(e,o)):b&&(b.d(1),b=null),17&l&&(_=t[0].data,(0,a.dvw)(),A=(0,a.GQg)(A,l,w,1,t,_,g,s,a.cly,ie,null,Wt),(0,a.gbL)()),(!d||1&l&&h!==(h="vc-log-row vc-log-"+t[0].type))&&(0,a.Ljt)(e,"class",h),1&l&&(0,a.VHj)(e,"vc-log-input","input"===t[0].cmdType),1&l&&(0,a.VHj)(e,"vc-log-output","output"===t[0].cmdType),5&l&&(0,a.VHj)(e,"vc-log-group",t[2]>0),5&l&&(0,a.VHj)(e,"vc-toggle",1===t[2])},i:function(t){if(!d){for(var e=0;e<_.length;e+=1)(0,a.Ui)(A[e]);(0,a.Ui)(u.$$.fragment,t),d=!0}},o:function(t){for(var e=0;e<A.length;e+=1)(0,a.etI)(A[e]);(0,a.etI)(u.$$.fragment,t),d=!1},d:function(t){t&&(0,a.ogt)(e),v&&v.d(),m&&m.d(),y&&y.d(),b&&b.d();for(var n=0;n<A.length;n+=1)A[n].d();(0,a.vpE)(u),f=!1,p()}}}function Xt(t){for(var e,n=new Array(t[0].groupLevel),i=[],r=0;r<n.length;r+=1)i[r]=qt(Kt(t,n,r));return{c:function(){for(var t=0;t<i.length;t+=1)i[t].c();e=(0,a.cSb)()},m:function(t,n){for(var r=0;r<i.length;r+=1)i[r].m(t,n);(0,a.$Tr)(t,e,n)},p:function(t,r){if(1&r){var o;for(n=new Array(t[0].groupLevel),o=0;o<n.length;o+=1){var a=Kt(t,n,o);i[o]?i[o].p(a,r):(i[o]=qt(a),i[o].c(),i[o].m(e.parentNode,e))}for(;o<i.length;o+=1)i[o].d(1);i.length=n.length}},d:function(t){(0,a.RMB)(i,t),t&&(0,a.ogt)(e)}}}function qt(t){var e;return{c:function(){e=(0,a.bGB)("i"),(0,a.Ljt)(e,"class","vc-log-padding")},m:function(t,n){(0,a.$Tr)(t,e,n)},p:a.ZTd,d:function(t){t&&(0,a.ogt)(e)}}}function Zt(t){var e;return{c:function(){e=(0,a.bGB)("div"),(0,a.Ljt)(e,"class","vc-log-group-toggle")},m:function(t,n){(0,a.$Tr)(t,e,n)},d:function(t){t&&(0,a.ogt)(e)}}}function Jt(t){var e,n;return{c:function(){e=(0,a.bGB)("div"),n=(0,a.fLW)(t[3]),(0,a.Ljt)(e,"class","vc-log-time")},m:function(t,i){(0,a.$Tr)(t,e,i),(0,a.R3I)(e,n)},p:function(t,e){8&e&&(0,a.rTO)(n,t[3])},d:function(t){t&&(0,a.ogt)(e)}}}function te(t){var e,n,i,r=t[0].repeated+"";return{c:function(){e=(0,a.bGB)("div"),n=(0,a.bGB)("i"),i=(0,a.fLW)(r),(0,a.Ljt)(e,"class","vc-log-repeat")},m:function(t,r){(0,a.$Tr)(t,e,r),(0,a.R3I)(e,n),(0,a.R3I)(n,i)},p:function(t,e){1&e&&r!==(r=t[0].repeated+"")&&(0,a.rTO)(i,r)},d:function(t){t&&(0,a.ogt)(e)}}}function ee(t){var e,n;return e=new mt({props:{origData:t[9].origData,style:t[9].style}}),{c:function(){(0,a.YCL)(e.$$.fragment)},m:function(t,i){(0,a.yef)(e,t,i),n=!0},p:function(t,n){var i={};1&n&&(i.origData=t[9].origData),1&n&&(i.style=t[9].style),e.$set(i)},i:function(t){n||((0,a.Ui)(e.$$.fragment,t),n=!0)},o:function(t){(0,a.etI)(e.$$.fragment,t),n=!1},d:function(t){(0,a.vpE)(e,t)}}}function ne(t){var e,n;return e=new Rt({props:{origData:t[9].origData,keyPath:String(t[11]),toggle:t[0].toggle}}),{c:function(){(0,a.YCL)(e.$$.fragment)},m:function(t,i){(0,a.yef)(e,t,i),n=!0},p:function(t,n){var i={};1&n&&(i.origData=t[9].origData),1&n&&(i.keyPath=String(t[11])),1&n&&(i.toggle=t[0].toggle),e.$set(i)},i:function(t){n||((0,a.Ui)(e.$$.fragment,t),n=!0)},o:function(t){(0,a.etI)(e.$$.fragment,t),n=!1},d:function(t){(0,a.vpE)(e,t)}}}function ie(t,e){var n,i,r,o,s,l,c=[ne,ee],u=[];function h(t,e){return 1&e&&(i=null),null==i&&(i=!!t[4](t[9].origData)),i?0:1}return r=h(e,-1),o=u[r]=c[r](e),{key:t,first:null,c:function(){n=(0,a.cSb)(),o.c(),s=(0,a.cSb)(),this.first=n},m:function(t,e){(0,a.$Tr)(t,n,e),u[r].m(t,e),(0,a.$Tr)(t,s,e),l=!0},p:function(t,n){var i=r;(r=h(e=t,n))===i?u[r].p(e,n):((0,a.dvw)(),(0,a.etI)(u[i],1,1,function(){u[i]=null}),(0,a.gbL)(),(o=u[r])?o.p(e,n):(o=u[r]=c[r](e)).c(),(0,a.Ui)(o,1),o.m(s.parentNode,s))},i:function(t){l||((0,a.Ui)(o),l=!0)},o:function(t){(0,a.etI)(o),l=!1},d:function(t){t&&(0,a.ogt)(n),u[r].d(t),t&&(0,a.ogt)(s)}}}function re(t){var e,n,i=t[0]&&Yt(t);return{c:function(){i&&i.c(),e=(0,a.cSb)()},m:function(t,r){i&&i.m(t,r),(0,a.$Tr)(t,e,r),n=!0},p:function(t,n){var r=n[0];t[0]?i?(i.p(t,r),1&r&&(0,a.Ui)(i,1)):((i=Yt(t)).c(),(0,a.Ui)(i,1),i.m(e.parentNode,e)):i&&((0,a.dvw)(),(0,a.etI)(i,1,1,function(){i=null}),(0,a.gbL)())},i:function(t){n||((0,a.Ui)(i),n=!0)},o:function(t){(0,a.etI)(i),n=!1},d:function(t){i&&i.d(t),t&&(0,a.ogt)(e)}}}function oe(t,n,i){var r=n.log,o=n.showTimestamps,a=void 0!==o&&o,l=n.groupHeader,c=void 0===l?0:l,u=(0,s.x)(),h="",d=function(t,e){var n="000"+t;return n.substring(n.length-e)};return(0,s.H3)(function(){Gt.use()}),(0,s.ev)(function(){Gt.unuse()}),t.$$set=function(t){"log"in t&&i(0,r=t.log),"showTimestamps"in t&&i(1,a=t.showTimestamps),"groupHeader"in t&&i(2,c=t.groupHeader)},t.$$.update=function(){if(3&t.$$.dirty&&a){var e=new Date(r.date);i(3,h=d(e.getHours(),2)+":"+d(e.getMinutes(),2)+":"+d(e.getSeconds(),2)+":"+d(e.getMilliseconds(),3))}},[r,a,c,h,function(t){return!(t instanceof it.Tg)&&(e.kJ(t)||e.Kn(t))},function(){c>0&&u("groupCollapsed",{groupLabel:r.groupLabel,groupHeader:1===c?2:1,isGroupCollapsed:1===c})},function(){var t=[];try{for(var n=0;n<r.data.length;n++)e.HD(r.data[n].origData)||e.hj(r.data[n].origData)?t.push(r.data[n].origData):t.push(e.hZ(r.data[n].origData,{maxDepth:10,keyMaxLen:1e4,pretty:!1,standardJSON:!0}))}catch(t){}return t.join(" ")}]}var ae=function(e){function n(t){var n;return n=e.call(this)||this,(0,a.S1n)((0,r.Z)(n),t,oe,re,a.AqN,{log:0,showTimestamps:1,groupHeader:2}),n}return(0,o.Z)(n,e),(0,t.Z)(n,[{key:"log",get:function(){return this.$$.ctx[0]},set:function(t){this.$$set({log:t}),(0,a.yl1)()}},{key:"showTimestamps",get:function(){return this.$$.ctx[1]},set:function(t){this.$$set({showTimestamps:t}),(0,a.yl1)()}},{key:"groupHeader",get:function(){return this.$$.ctx[2]},set:function(t){this.$$set({groupHeader:t}),(0,a.yl1)()}}]),n}(a.f_C),se=__webpack_require__(3903),le=__webpack_require__(3327),ce={};le.Z&&le.Z.locals&&(ce.locals=le.Z.locals);var ue,he=0,de={};de.styleTagTransform=y(),de.setAttributes=A(),de.insert=f().bind(null,"head"),de.domAPI=h(),de.insertStyleElement=v(),ce.use=function(t){return de.options=t||{},he++||(ue=c()(le.Z,de)),ce},ce.unuse=function(){he>0&&!--he&&(ue(),ue=null)};var fe=ce,pe=__webpack_require__(4264),Ae=__webpack_require__.n(pe),ge=function(){function t(t){console.debug("[vConsole] `ResizeObserver` is not supported in the browser, vConsole cannot render correctly."),t([{contentRect:{height:30}}],this)}var e=t.prototype;return e.disconnect=function(){},e.observe=function(t,e){},e.unobserve=function(t){},t}(),ve=function(){return"function"==typeof window.ResizeObserver},me=function(){return window.ResizeObserver||ge};function ye(t){var e,n,i=t[6].default,r=(0,a.nuO)(i,t,t[5],null);return{c:function(){e=(0,a.bGB)("div"),r&&r.c(),(0,a.Ljt)(e,"class","vc-scroller-item"),(0,a.czc)(e,"display",t[0]?"block":"none",!1),(0,a.czc)(e,"top",t[3]?t[1]+"px":"auto",!1)},m:function(i,o){(0,a.$Tr)(i,e,o),r&&r.m(e,null),t[7](e),n=!0},p:function(t,o){var s=o[0];r&&r.p&&(!n||32&s)&&(0,a.kmG)(r,i,t,t[5],n?(0,a.u2N)(i,t[5],s,null):(0,a.VOJ)(t[5]),null),1&s&&(0,a.czc)(e,"display",t[0]?"block":"none",!1),2&s&&(0,a.czc)(e,"top",t[3]?t[1]+"px":"auto",!1)},i:function(t){n||((0,a.Ui)(r,t),n=!0)},o:function(t){(0,a.etI)(r,t),n=!1},d:function(n){n&&(0,a.ogt)(e),r&&r.d(n),t[7](null)}}}function be(t,e,n){var i,r=e.$$slots,o=void 0===r?{}:r,l=e.$$scope,c=e.show,u=void 0===c?!ve():c,h=e.top,d=e.onResize,f=void 0===d?function(){}:d,p=null,A=ve();return(0,s.H3)(function(){if(u&&f(i.getBoundingClientRect().height),A){var t=me();(p=new t(function(t){var e=t[0];u&&f(e.contentRect.height)})).observe(i)}}),(0,s.ev)(function(){A&&p.disconnect()}),t.$$set=function(t){"show"in t&&n(0,u=t.show),"top"in t&&n(1,h=t.top),"onResize"in t&&n(4,f=t.onResize),"$$scope"in t&&n(5,l=t.$$scope)},[u,h,i,A,f,l,o,function(t){a.VnY[t?"unshift":"push"](function(){n(2,i=t)})}]}var _e=function(e){function n(t){var n;return n=e.call(this)||this,(0,a.S1n)((0,r.Z)(n),t,be,ye,a.N8,{show:0,top:1,onResize:4}),n}return(0,o.Z)(n,e),(0,t.Z)(n,[{key:"show",get:function(){return this.$$.ctx[0]},set:function(t){this.$$set({show:t}),(0,a.yl1)()}},{key:"top",get:function(){return this.$$.ctx[1]},set:function(t){this.$$set({top:t}),(0,a.yl1)()}},{key:"onResize",get:function(){return this.$$.ctx[4]},set:function(t){this.$$set({onResize:t}),(0,a.yl1)()}}]),n}(a.f_C),we=function(){function t(){this._x=0,this._endX=0,this._v=0,this._startTime=0,this._endTime=0}var e=t.prototype;return e.set=function(t,e,n,i){this._x=t,this._endX=e,this._v=(e-t)/n,this._startTime=i||Date.now(),this._endTime=this._startTime+n},e.x=function(t){if(this.done(t))return this._endX;var e=t-this._startTime;return this._x+this._v*e},e.dx=function(t){return this.done(t)?0:this._v},e.done=function(t){return t>=this._endTime},t}(),xe=function(){function t(t){this._drag=void 0,this._dragLog=void 0,this._x=0,this._v=0,this._startTime=0,this._drag=t,this._dragLog=Math.log(t)}var e=t.prototype;return e.set=function(t,e,n){this._x=t,this._v=e,this._startTime=n||Date.now()},e.x=function(t){var e=(t-this._startTime)/1e3;return this._x+this._v*Math.pow(this._drag,e)/this._dragLog-this._v/this._dragLog},e.dx=function(t){var e=(t-this._startTime)/1e3;return this._v*Math.pow(this._drag,e)},e.done=function(t){return Math.abs(this.dx(t))<3},t}(),Ce=function(t,e){return t>e-.1&&t<e+.1},Se=function(t){return Ce(t,0)},Be=function(){function t(t,e,n){this._solver=void 0,this._solution=void 0,this._endPosition=void 0,this._startTime=void 0,this._solver=function(t,e,n){var i=n,r=t,o=e,a=i*i-4*r*o;if(0==a){var s=-i/(2*r);return function(t,e){var n=t,i=e/(s*t);return{x:function(t){return(n+i*t)*Math.pow(Math.E,s*t)},dx:function(t){return(s*(n+i*t)+i)*Math.pow(Math.E,s*t)}}}}if(a>0){var l=(-i-Math.sqrt(a))/(2*r),c=(-i+Math.sqrt(a))/(2*r);return function(t,e){var n=(e-l*t)/(c-l),i=t-n;return{x:function(t){return i*Math.pow(Math.E,l*t)+n*Math.pow(Math.E,c*t)},dx:function(t){return i*l*Math.pow(Math.E,l*t)+n*c*Math.pow(Math.E,c*t)}}}}var u=Math.sqrt(4*r*o-i*i)/(2*r),h=-i/2*r;return function(t,e){var n=t,i=(e-h*t)/u;return{x:function(t){return Math.pow(Math.E,h*t)*(n*Math.cos(u*t)+i*Math.sin(u*t))},dx:function(t){var e=Math.pow(Math.E,h*t),r=Math.cos(u*t),o=Math.sin(u*t);return e*(i*u*r-n*u*o)+h*e*(i*o+n*r)}}}}(t,e,n),this._solution=null,this._endPosition=0,this._startTime=0}var e=t.prototype;return e.x=function(t){if(!this._solution)return 0;var e=(t-this._startTime)/1e3;return this._endPosition+this._solution.x(e)},e.dx=function(t){if(!this._solution)return 0;var e=(t-this._startTime)/1e3;return this._solution.dx(e)},e.set=function(t,e,n,i){i||(i=Date.now()),this._endPosition=t,e==t&&Se(n)||(this._solution=this._solver(e-t,n),this._startTime=i)},e.done=function(t){return t||(t=Date.now()),Ce(this.x(t),this._endPosition)&&Se(this.dx(t))},t}(),ke=function(){function t(t,e){this._enableSpring=e,this._getExtend=void 0,this._friction=new xe(.05),this._spring=new Be(1,90,20),this._toEdge=!1,this._getExtend=t}var e=t.prototype;return e.set=function(t,e,n){if(void 0===n&&(n=Date.now()),this._friction.set(t,e,n),t>0&&e>=0)this._toEdge=!0,this._enableSpring&&this._spring.set(0,t,e,n);else{var i=this._getExtend();t<-i&&e<=0?(this._toEdge=!0,this._enableSpring&&this._spring.set(-i,t,e,n)):this._toEdge=!1}},e.x=function(t){if(this._enableSpring&&this._toEdge)return this._spring.x(t);var e=this._friction.x(t),n=this._friction.dx(t);if(e>0&&n>=0){if(this._toEdge=!0,!this._enableSpring)return 0;this._spring.set(0,e,n,t)}else{var i=this._getExtend();if(e<-i&&n<=0){if(this._toEdge=!0,!this._enableSpring)return-i;this._spring.set(-i,e,n,t)}}return e},e.dx=function(t){return this._toEdge?this._enableSpring?this._spring.dx(t):0:this._friction.dx(t)},e.done=function(t){return this._toEdge?!this._enableSpring||this._spring.done(t):this._friction.done(t)},t}();function Te(t,e){var n,i;return function r(){if(!i){var o=Date.now();e(o),t.done(o)||(n=requestAnimationFrame(r))}}(),{cancel:function(){cancelAnimationFrame(n),i=!0}}}var Oe=function(){function t(t,e){this._updatePosition=e,this._scrollModel=void 0,this._linearModel=void 0,this._startPosition=0,this._position=0,this._animate=null,this._getExtent=void 0,this._getExtent=t,this._scrollModel=new ke(t,!1),this._linearModel=new we}var e=t.prototype;return e.onTouchStart=function(){var t=this._position;if(t>0)t*=0;else{var e=this._getExtent();t<-e&&(t=0*(t+e)-e)}this._startPosition=this._position=t,this._animate&&(this._animate.cancel(),this._animate=null),this._updatePosition(-t)},e.onTouchMove=function(t,e){var n=e+this._startPosition;if(n>0)n*=0;else{var i=this._getExtent();n<-i&&(n=0*(n+i)-i)}this._position=n,this._updatePosition(-n)},e.onTouchEnd=function(t,e,n,i){var r=this,o=e+this._startPosition;if(o>0)o*=0;else{var a=this._getExtent();o<-a&&(o=0*(o+a)-a)}if(this._position=o,this._updatePosition(-o),!(Math.abs(e)<=.1&&Math.abs(i)<=.1)){var s=this._scrollModel;s.set(o,i),this._animate=Te(s,function(t){var e=r._position=s.x(t);r._updatePosition(-e)})}},e.onTouchCancel=function(){var t=this,e=this._position;if(e>0)e*=0;else{var n=this._getExtent();e<-n&&(e=0*(e+n)-n)}this._position=e;var i=this._scrollModel;i.set(e,0),this._animate=Te(i,function(e){var n=t._position=i.x(e);t._updatePosition(-n)})},e.onWheel=function(t,e){var n=this._position-e;if(this._animate&&(this._animate.cancel(),this._animate=null),n>0)n=0;else{var i=this._getExtent();n<-i&&(n=-i)}this._position=n,this._updatePosition(-n)},e.getPosition=function(){return-this._position},e.updatePosition=function(t){var e=-t-this._position;this._startPosition+=e,this._position+=e;var n=this._position;this._updatePosition(-n);var i=this._scrollModel,r=Date.now();if(!i.done(r)){var o=i.dx(r);i.set(n,o,r)}},e.scrollTo=function(t,e){var n=this;if(this._animate&&(this._animate.cancel(),this._animate=null),e>0){var i=this._linearModel;i.set(this._position,-t,e),this._animate=Te(this._linearModel,function(t){var e=n._position=i.x(t);n._updatePosition(-e)})}else this._updatePosition(t)},t}();function Ee(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var Ie=function(t){var e=null,n=!1;return{trigger:function(){null===e?function i(){n=!1,t(),e=requestAnimationFrame(function(){e=null,n&&i()})}():n=!0},cancel:function(){e&&(cancelAnimationFrame(e),n=!1,e=null)}}},Me=function(){function t(t){var e=this;this._handler=t,this._touchId=null,this._startX=0,this._startY=0,this._historyX=[],this._historyY=[],this._historyTime=[],this._wheelDeltaX=0,this._wheelDeltaY=0,this._onTouchMove=function(){var t=e._historyX[e._historyX.length-1],n=e._historyY[e._historyY.length-1];e._handler.onTouchMove(t,n)},this._onWheel=Ie(function(){var t=e._wheelDeltaX,n=e._wheelDeltaY;e._wheelDeltaX=0,e._wheelDeltaY=0,e._handler.onWheel(t,n)}),this.handleTouchStart=function(t){var n;if("1"!==(null==(n=t.target.dataset)?void 0:n.scrollable)){t.preventDefault();var i=t.touches[0];e._touchId=i.identifier,e._startX=i.pageX,e._startY=i.pageY,e._historyX=[0],e._historyY=[0],e._historyTime=[Date.now()],e._handler.onTouchStart()}},this.handleTouchMove=function(t){var n;if("1"!==(null==(n=t.target.dataset)?void 0:n.scrollable)){t.preventDefault();var i=e._getTouchDelta(t);null!==i&&(e._historyX.push(i.x),e._historyY.push(i.y),e._historyTime.push(Date.now()),e._onTouchMove())}},this.handleTouchEnd=function(t){var n;if("1"!==(null==(n=t.target.dataset)?void 0:n.scrollable)){t.preventDefault();var i=e._getTouchDelta(t);if(null!==i){for(var r=0,o=0,a=Date.now(),s=i.y,l=i.x,c=e._historyTime,u=c.length-1;u>0;u-=1){var h=a-c[u];if(h>30){r=1e3*(l-e._historyX[u])/h,o=1e3*(s-e._historyY[u])/h;break}}e._touchId=null,e._handler.onTouchEnd(i.x,i.y,r,o)}}},this.handleTouchCancel=function(t){var n;"1"!==(null==(n=t.target.dataset)?void 0:n.scrollable)&&(t.preventDefault(),null!==e._getTouchDelta(t)&&(e._touchId=null,e._handler.onTouchCancel()))},this.handleWheel=function(t){var n;"1"!==(null==(n=t.target.dataset)?void 0:n.scrollable)&&(t.preventDefault(),e._wheelDeltaX+=t.deltaX,e._wheelDeltaY+=t.deltaY,e._onWheel.trigger())}}return t.prototype._getTouchDelta=function(t){if(null===this._touchId)return null;for(var e,n=function(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return Ee(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ee(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(t.changedTouches);!(e=n()).done;){var i=e.value;if(i.identifier===this._touchId)return{x:i.pageX-this._startX,y:i.pageY-this._startY}}return null},t}(),De=__webpack_require__(1142),Le={};De.Z&&De.Z.locals&&(Le.locals=De.Z.locals);var Fe,Pe=0,Ne={};Ne.styleTagTransform=y(),Ne.setAttributes=A(),Ne.insert=f().bind(null,"head"),Ne.domAPI=h(),Ne.insertStyleElement=v(),Le.use=function(t){return Ne.options=t||{},Pe++||(Fe=c()(De.Z,Ne)),Le},Le.unuse=function(){Pe>0&&!--Pe&&(Fe(),Fe=null)};var je=Le,Ue=function(){var t=[],e=[],n=0,i=0,r=0,o=0,a=0;return function(s,l,c){if(r===s&&o===l&&a===c)return t;var u=e.length,h=l<=i?Math.max(0,Math.min(l,Math.max(n,Math.min(i-1,c-u)))):l,d=n<=c?Math.max(c,Math.min(s,Math.max(n+1,Math.min(i,h+u)))):c;if(0===u||d-h<u){for(var f=t.length=e.length=c-l,p=0;p<f;p+=1)e[p]=p,t[p]={key:p,index:p+l,show:!0};return n=l,i=c,r=s,o=l,a=c,t}var A=0,g=0,v=0,m=0;i<h||d<n?(v=h,m=h+u):n<h?(g=h-n,v=h,m=h+u):d<i?(g=u-(i-d),v=d-u,m=d):h<=n&&i<=d&&(v=n,m=i);for(var y=h;y<l;y+=1,A+=1){var b=e[(g+A)%u],_=t[y-h];_.key=b,_.index=y,_.show=!1}for(var w=l,x=0;w<c;w+=1){var C=void 0;v<=w&&w<m?(C=e[(g+A)%u],A+=1):(C=u+x,x+=1);var S=w-h;if(S<t.length){var B=t[S];B.key=C,B.index=w,B.show=!0}else t.push({key:C,index:w,show:!0})}for(var k=c;k<d;k+=1,A+=1){var T=e[(g+A)%u],O=t[k-h];O.key=T,O.index=k,O.show=!1}for(var E=0;E<t.length;E+=1)e[E]=t[E].key;return t.sort(function(t,e){return t.key-e.key}),n=h,i=d,r=s,o=l,a=c,t}},Re=a.lig.Map,Qe=function(t){return{}},He=function(t){return{}},Ve=function(t){return{}},ze=function(t){return{}};function $e(t,e,n){var i=t.slice();return i[53]=e[n],i[55]=n,i}var Ge=function(t){return{item:1025&t[0]}},We=function(t){return{item:t[0][t[53].index]}},Ke=function(t){return{}},Ye=function(t){return{}};function Xe(t){var e,n,i=t[24].header,r=(0,a.nuO)(i,t,t[31],Ye);return{c:function(){e=(0,a.bGB)("div"),r&&r.c(),(0,a.Ljt)(e,"class","vc-scroller-header")},m:function(i,o){(0,a.$Tr)(i,e,o),r&&r.m(e,null),t[25](e),n=!0},p:function(t,e){r&&r.p&&(!n||1&e[1])&&(0,a.kmG)(r,i,t,t[31],n?(0,a.u2N)(i,t[31],e,Ke):(0,a.VOJ)(t[31]),Ye)},i:function(t){n||((0,a.Ui)(r,t),n=!0)},o:function(t){(0,a.etI)(r,t),n=!1},d:function(n){n&&(0,a.ogt)(e),r&&r.d(n),t[25](null)}}}function qe(t){var e,n=t[24].empty,i=(0,a.nuO)(n,t,t[31],ze);return{c:function(){i&&i.c()},m:function(t,n){i&&i.m(t,n),e=!0},p:function(t,r){i&&i.p&&(!e||1&r[1])&&(0,a.kmG)(i,n,t,t[31],e?(0,a.u2N)(n,t[31],r,Ve):(0,a.VOJ)(t[31]),ze)},i:function(t){e||((0,a.Ui)(i,t),e=!0)},o:function(t){(0,a.etI)(i,t),e=!1},d:function(t){i&&i.d(t)}}}function Ze(t){for(var e,n,i=[],r=new Re,o=t[10],s=function(t){return t[53].key},l=0;l<o.length;l+=1){var c=$e(t,o,l),u=s(c);r.set(u,i[l]=tn(u,c))}return{c:function(){for(var t=0;t<i.length;t+=1)i[t].c();e=(0,a.cSb)()},m:function(t,r){for(var o=0;o<i.length;o+=1)i[o].m(t,r);(0,a.$Tr)(t,e,r),n=!0},p:function(t,n){17921&n[0]|1&n[1]&&(o=t[10],(0,a.dvw)(),i=(0,a.GQg)(i,n,s,1,t,o,r,e.parentNode,a.cly,tn,e,$e),(0,a.gbL)())},i:function(t){if(!n){for(var e=0;e<o.length;e+=1)(0,a.Ui)(i[e]);n=!0}},o:function(t){for(var e=0;e<i.length;e+=1)(0,a.etI)(i[e]);n=!1},d:function(t){for(var n=0;n<i.length;n+=1)i[n].d(t);t&&(0,a.ogt)(e)}}}function Je(t){var e,n,i=t[24].item,r=(0,a.nuO)(i,t,t[31],We),o=r||function(t){var e;return{c:function(){e=(0,a.fLW)("Missing template")},m:function(t,n){(0,a.$Tr)(t,e,n)},d:function(t){t&&(0,a.ogt)(e)}}}();return{c:function(){o&&o.c(),e=(0,a.DhX)()},m:function(t,i){o&&o.m(t,i),(0,a.$Tr)(t,e,i),n=!0},p:function(t,e){r&&r.p&&(!n||1025&e[0]|1&e[1])&&(0,a.kmG)(r,i,t,t[31],n?(0,a.u2N)(i,t[31],e,Ge):(0,a.VOJ)(t[31]),We)},i:function(t){n||((0,a.Ui)(o,t),n=!0)},o:function(t){(0,a.etI)(o,t),n=!1},d:function(t){o&&o.d(t),t&&(0,a.ogt)(e)}}}function tn(t,e){var n,i,r;function o(){for(var t,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return(t=e)[26].apply(t,[e[53]].concat(i))}return i=new _e({props:{show:e[53].show,top:e[9][e[53].index],onResize:o,$$slots:{default:[Je]},$$scope:{ctx:e}}}),{key:t,first:null,c:function(){n=(0,a.cSb)(),(0,a.YCL)(i.$$.fragment),this.first=n},m:function(t,e){(0,a.$Tr)(t,n,e),(0,a.yef)(i,t,e),r=!0},p:function(t,n){e=t;var r={};1024&n[0]&&(r.show=e[53].show),1536&n[0]&&(r.top=e[9][e[53].index]),1024&n[0]&&(r.onResize=o),1025&n[0]|1&n[1]&&(r.$$scope={dirty:n,ctx:e}),i.$set(r)},i:function(t){r||((0,a.Ui)(i.$$.fragment,t),r=!0)},o:function(t){(0,a.etI)(i.$$.fragment,t),r=!1},d:function(t){t&&(0,a.ogt)(n),(0,a.vpE)(i,t)}}}function en(t){var e,n,i=t[24].footer,r=(0,a.nuO)(i,t,t[31],He);return{c:function(){e=(0,a.bGB)("div"),r&&r.c(),(0,a.Ljt)(e,"class","vc-scroller-footer")},m:function(i,o){(0,a.$Tr)(i,e,o),r&&r.m(e,null),t[28](e),n=!0},p:function(t,e){r&&r.p&&(!n||1&e[1])&&(0,a.kmG)(r,i,t,t[31],n?(0,a.u2N)(i,t[31],e,Qe):(0,a.VOJ)(t[31]),He)},i:function(t){n||((0,a.Ui)(r,t),n=!0)},o:function(t){(0,a.etI)(r,t),n=!1},d:function(n){n&&(0,a.ogt)(e),r&&r.d(n),t[28](null)}}}function nn(t){var e,n,i=t[7]+"%",r=t[8]+"%";return{c:function(){e=(0,a.bGB)("div"),n=(0,a.bGB)("div"),(0,a.Ljt)(n,"class","vc-scroller-scrollbar-thumb"),(0,a.czc)(n,"height",i,!1),(0,a.czc)(n,"top",r,!1),(0,a.Ljt)(e,"class","vc-scroller-scrollbar-track"),(0,a.czc)(e,"display",t[7]<100?"block":"none",!1)},m:function(t,i){(0,a.$Tr)(t,e,i),(0,a.R3I)(e,n)},p:function(t,o){128&o[0]&&i!==(i=t[7]+"%")&&(0,a.czc)(n,"height",i,!1),256&o[0]&&r!==(r=t[8]+"%")&&(0,a.czc)(n,"top",r,!1),128&o[0]&&(0,a.czc)(e,"display",t[7]<100?"block":"none",!1)},d:function(t){t&&(0,a.ogt)(e)}}}function rn(t){var e,n,i,r,o,s,l,c,u,h,d,f=t[15].header&&Xe(t),p=[Ze,qe],A=[];function g(t,e){return t[0].length?0:1}o=g(t),s=A[o]=p[o](t);var v=t[15].footer&&en(t),m=t[1]&&nn(t);return{c:function(){e=(0,a.bGB)("div"),n=(0,a.bGB)("div"),f&&f.c(),i=(0,a.DhX)(),r=(0,a.bGB)("div"),s.c(),l=(0,a.DhX)(),v&&v.c(),c=(0,a.DhX)(),m&&m.c(),(0,a.Ljt)(r,"class","vc-scroller-items"),(0,a.Ljt)(n,"class","vc-scroller-contents"),(0,a.Ljt)(e,"class","vc-scroller-viewport"),(0,a.VHj)(e,"static",!t[13])},m:function(s,p){(0,a.$Tr)(s,e,p),(0,a.R3I)(e,n),f&&f.m(n,null),(0,a.R3I)(n,i),(0,a.R3I)(n,r),A[o].m(r,null),t[27](r),(0,a.R3I)(n,l),v&&v.m(n,null),t[29](n),(0,a.R3I)(e,c),m&&m.m(e,null),t[30](e),u=!0,h||(d=[(0,a.oLt)(e,"touchstart",function(){(0,a.sBU)(t[13]?t[11].handleTouchStart:t[12])&&(t[13]?t[11].handleTouchStart:t[12]).apply(this,arguments)}),(0,a.oLt)(e,"touchmove",function(){(0,a.sBU)(t[13]?t[11].handleTouchMove:t[12])&&(t[13]?t[11].handleTouchMove:t[12]).apply(this,arguments)}),(0,a.oLt)(e,"touchend",function(){(0,a.sBU)(t[13]?t[11].handleTouchEnd:t[12])&&(t[13]?t[11].handleTouchEnd:t[12]).apply(this,arguments)}),(0,a.oLt)(e,"touchcancel",function(){(0,a.sBU)(t[13]?t[11].handleTouchCancel:t[12])&&(t[13]?t[11].handleTouchCancel:t[12]).apply(this,arguments)}),(0,a.oLt)(e,"wheel",function(){(0,a.sBU)(t[13]?t[11].handleWheel:t[12])&&(t[13]?t[11].handleWheel:t[12]).apply(this,arguments)})],h=!0)},p:function(l,c){(t=l)[15].header?f?(f.p(t,c),32768&c[0]&&(0,a.Ui)(f,1)):((f=Xe(t)).c(),(0,a.Ui)(f,1),f.m(n,i)):f&&((0,a.dvw)(),(0,a.etI)(f,1,1,function(){f=null}),(0,a.gbL)());var u=o;(o=g(t))===u?A[o].p(t,c):((0,a.dvw)(),(0,a.etI)(A[u],1,1,function(){A[u]=null}),(0,a.gbL)(),(s=A[o])?s.p(t,c):(s=A[o]=p[o](t)).c(),(0,a.Ui)(s,1),s.m(r,null)),t[15].footer?v?(v.p(t,c),32768&c[0]&&(0,a.Ui)(v,1)):((v=en(t)).c(),(0,a.Ui)(v,1),v.m(n,null)):v&&((0,a.dvw)(),(0,a.etI)(v,1,1,function(){v=null}),(0,a.gbL)()),t[1]?m?m.p(t,c):((m=nn(t)).c(),m.m(e,null)):m&&(m.d(1),m=null)},i:function(t){u||((0,a.Ui)(f),(0,a.Ui)(s),(0,a.Ui)(v),u=!0)},o:function(t){(0,a.etI)(f),(0,a.etI)(s),(0,a.etI)(v),u=!1},d:function(n){n&&(0,a.ogt)(e),f&&f.d(),A[o].d(),t[27](null),v&&v.d(),t[29](null),m&&m.d(),t[30](null),h=!1,(0,a.j7q)(d)}}}function on(t,e,n){var i,r,o,l,c,u,h,d=e.$$slots,f=void 0===d?{}:d,p=e.$$scope,A=(0,a.XGm)(f),g=this&&this.__awaiter||function(t,e,n,i){return new(n||(n=Promise))(function(r,o){function a(t){try{l(i.next(t))}catch(t){o(t)}}function s(t){try{l(i.throw(t))}catch(t){o(t)}}function l(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(a,s)}l((i=i.apply(t,e||[])).next())})},v=e.items,m=e.itemKey,y=void 0===m?void 0:m,b=e.itemHeight,_=void 0===b?void 0:b,w=e.buffer,x=void 0===w?200:w,C=e.stickToBottom,S=void 0!==C&&C,B=e.scrollbar,k=void 0!==B&&B,T=e.start,O=void 0===T?0:T,E=e.end,I=void 0===E?0:E,M=0,D=0,L=0,F=0,P=100,N=0,j=[],U=[],R=[],Q=Ue(),H=function(){return Math.max(0,F+M+D-L)},V=!0,z=!1,$=[],G=!1,W=!1,K=ve(),Y=function(t,e){var n;(0,s.H3)(function(){var i=t();if(i){e(i.getBoundingClientRect().height),n&&n.disconnect();var r=me();(n=new r(function(t){var n=t[0];e(n.contentRect.height)})).observe(i)}else e(0),n&&(n.disconnect(),n=null)}),(0,s.ev)(function(){n&&(n.disconnect(),n=null)})},X=function(){var t=u.getPosition(),e=100/(F+M+D);n(8,N=t*e),n(7,P=L*e)},q=function(t){var e=H();(t||u.getPosition()>e)&&u.updatePosition(e)},Z=function(t){!function(t,e,i){for(var r=new Map,o=0;o<$.length;o+=1){var a=$[o],s=void 0===y?a:a[y];r.set(s,j[o])}n(9,U.length=j.length=t.length,U);for(var l=0,h=0;h<t.length;h+=1){var d=t[h],f=void 0===y?d:d[y];r.has(f)?j[h]=r.get(f):j[h]=i,n(9,U[h]=l,U),l+=j[h]}F=Math.max(l,e-M-D),$=t,K?(J(t,u.getPosition(),e),n(6,c.style.height=F+"px",c),q(V&&S),X()):J(t,0,9e6)}(t,L,_)};function J(t,e,i){for(var r=0,o=0;r<t.length&&o+j[r]<e-x;)o+=j[r],r+=1;for(n(16,O=r);r<t.length&&i&&o<e+i+x;)o+=j[r],r+=1;n(17,I=r),n(10,R=Q(t.length,O,I))}var tt=function(t,e){return g(void 0,void 0,void 0,Ae().mark(function i(){var r,o,a,s;return Ae().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:if(j[t]!==e&&0!==L){i.next=2;break}return i.abrupt("return");case 2:for(r=j[t],j[t]=e,o=v.length,a=t;a<o-1;a+=1)n(9,U[a+1]=U[a]+j[a],U);return F=Math.max(U[o-1]+j[o-1],L-M-D),s=u.getPosition(),z=!0,U[t]+r<s?u.updatePosition(s+e-r):q(V&&S),i.next=12,new Promise(function(t){return setTimeout(t,0)});case 12:J(v,u.getPosition(),L),n(6,c.style.height=F+"px",c),X();case 15:case"end":return i.stop()}},i)}))};(0,s.H3)(function(){n(23,G=!0),je.use()}),(0,s.ev)(function(){je.unuse()}),K&&(K&&(u=u||new Oe(H,function(t){return g(void 0,void 0,void 0,Ae().mark(function e(){var i;return Ae().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(i=H(),V=Math.abs(t-i)<=1,n(5,l.style.transform="translateY("+-t+"px) translateZ(0)",l),X(),!z){e.next=8;break}z=!1,e.next=11;break;case 8:return e.next=10,new Promise(function(t){return setTimeout(t,0)});case 10:J(v,t,L);case 11:case"end":return e.stop()}},e)}))}),n(11,h=h||new Me(u))),!W&&K&&(Y(function(){return o},function(t){return g(void 0,void 0,void 0,Ae().mark(function e(){var i,r;return Ae().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(L!==t){e.next=2;break}return e.abrupt("return");case 2:for(L=t,i=0,r=0;r<v.length;r+=1)i+=j[r];return F=Math.max(i,L-D),n(6,c.style.height=F+"px",c),e.next=9,new Promise(function(t){return setTimeout(t,0)});case 9:Z(v),J(v,u.getPosition(),L),0!==L&&q(V&&S),X();case 13:case"end":return e.stop()}},e)}))}),Y(function(){return r},function(t){if(D!==t){D=t;for(var e=0,i=0;i<v.length;i+=1)e+=j[i];F=Math.max(e,L-M-D),n(6,c.style.height=F+"px",c),0!==L&&q(V&&S),X()}}),Y(function(){return i},function(t){M!==t&&(M=t,Z(v),X())})));var et={scrollTo:function(t){if(K){var e=U[Math.max(0,Math.min(v.length-1,t))],n=Math.min(H(),e),i=Math.min(Math.floor(500*Math.abs(u.getPosition()-n)/2e3),500);u.scrollTo(n,i)}}};return t.$$set=function(t){"items"in t&&n(0,v=t.items),"itemKey"in t&&n(18,y=t.itemKey),"itemHeight"in t&&n(19,_=t.itemHeight),"buffer"in t&&n(20,x=t.buffer),"stickToBottom"in t&&n(21,S=t.stickToBottom),"scrollbar"in t&&n(1,k=t.scrollbar),"start"in t&&n(16,O=t.start),"end"in t&&n(17,I=t.end),"$$scope"in t&&n(31,p=t.$$scope)},t.$$.update=function(){8388609&t.$$.dirty[0]&&G&&(K||n(4,o.parentElement.style.height="auto",o),Z(v),W=!0)},[v,k,i,r,o,l,c,P,N,U,R,h,function(){},K,tt,A,O,I,y,_,x,S,et,G,f,function(t){a.VnY[t?"unshift":"push"](function(){n(2,i=t)})},function(t,e){return tt(t.index,e)},function(t){a.VnY[t?"unshift":"push"](function(){n(6,c=t)})},function(t){a.VnY[t?"unshift":"push"](function(){n(3,r=t)})},function(t){a.VnY[t?"unshift":"push"](function(){n(5,l=t)})},function(t){a.VnY[t?"unshift":"push"](function(){n(4,o=t),n(23,G),n(13,K),n(0,v)})},p]}var an=function(e){function n(t){var n;return n=e.call(this)||this,(0,a.S1n)((0,r.Z)(n),t,on,rn,a.N8,{items:0,itemKey:18,itemHeight:19,buffer:20,stickToBottom:21,scrollbar:1,start:16,end:17,handler:22},null,[-1,-1]),n}return(0,o.Z)(n,e),(0,t.Z)(n,[{key:"items",get:function(){return this.$$.ctx[0]},set:function(t){this.$$set({items:t}),(0,a.yl1)()}},{key:"itemKey",get:function(){return this.$$.ctx[18]},set:function(t){this.$$set({itemKey:t}),(0,a.yl1)()}},{key:"itemHeight",get:function(){return this.$$.ctx[19]},set:function(t){this.$$set({itemHeight:t}),(0,a.yl1)()}},{key:"buffer",get:function(){return this.$$.ctx[20]},set:function(t){this.$$set({buffer:t}),(0,a.yl1)()}},{key:"stickToBottom",get:function(){return this.$$.ctx[21]},set:function(t){this.$$set({stickToBottom:t}),(0,a.yl1)()}},{key:"scrollbar",get:function(){return this.$$.ctx[1]},set:function(t){this.$$set({scrollbar:t}),(0,a.yl1)()}},{key:"start",get:function(){return this.$$.ctx[16]},set:function(t){this.$$set({start:t}),(0,a.yl1)()}},{key:"end",get:function(){return this.$$.ctx[17]},set:function(t){this.$$set({end:t}),(0,a.yl1)()}},{key:"handler",get:function(){return this.$$.ctx[22]}}]),n}(a.f_C);function sn(t){var e;return{c:function(){(e=(0,a.bGB)("div")).textContent="Empty",(0,a.Ljt)(e,"slot","empty"),(0,a.Ljt)(e,"class","vc-plugin-empty")},m:function(t,n){(0,a.$Tr)(t,e,n)},p:a.ZTd,d:function(t){t&&(0,a.ogt)(e)}}}function ln(t){var e,n;return(e=new ae({props:{slot:"item",log:t[16],showTimestamps:t[1],groupHeader:t[16].groupHeader}})).$on("groupCollapsed",t[6]),{c:function(){(0,a.YCL)(e.$$.fragment)},m:function(t,i){(0,a.yef)(e,t,i),n=!0},p:function(t,n){var i={};65536&n&&(i.log=t[16]),2&n&&(i.showTimestamps=t[1]),65536&n&&(i.groupHeader=t[16].groupHeader),e.$set(i)},i:function(t){n||((0,a.Ui)(e.$$.fragment,t),n=!0)},o:function(t){(0,a.etI)(e.$$.fragment,t),n=!1},d:function(t){(0,a.vpE)(e,t)}}}function cn(t){var e,n;return(e=new se.Z({})).$on("filterText",t[5]),{c:function(){(0,a.YCL)(e.$$.fragment)},m:function(t,i){(0,a.yef)(e,t,i),n=!0},p:a.ZTd,i:function(t){n||((0,a.Ui)(e.$$.fragment,t),n=!0)},o:function(t){(0,a.etI)(e.$$.fragment,t),n=!1},d:function(t){(0,a.vpE)(e,t)}}}function un(t){var e,n,i=t[0]&&cn(t);return{c:function(){i&&i.c(),e=(0,a.cSb)()},m:function(t,r){i&&i.m(t,r),(0,a.$Tr)(t,e,r),n=!0},p:function(t,n){t[0]?i?(i.p(t,n),1&n&&(0,a.Ui)(i,1)):((i=cn(t)).c(),(0,a.Ui)(i,1),i.m(e.parentNode,e)):i&&((0,a.dvw)(),(0,a.etI)(i,1,1,function(){i=null}),(0,a.gbL)())},i:function(t){n||((0,a.Ui)(i),n=!0)},o:function(t){(0,a.etI)(i),n=!1},d:function(t){i&&i.d(t),t&&(0,a.ogt)(e)}}}function hn(t){var e,n,i,r;function o(e){t[15](e)}var s={items:t[4],itemKey:"_id",itemHeight:30,buffer:100,stickToBottom:!0,scrollbar:!0,$$slots:{footer:[un],item:[ln,function(t){return{16:t.item}},function(t){return t.item?65536:0}],empty:[sn]},$$scope:{ctx:t}};return void 0!==t[3]&&(s.handler=t[3]),n=new an({props:s}),a.VnY.push(function(){return(0,a.akz)(n,"handler",o)}),{c:function(){e=(0,a.bGB)("div"),(0,a.YCL)(n.$$.fragment),(0,a.Ljt)(e,"class","vc-plugin-content"),(0,a.VHj)(e,"vc-logs-has-cmd",t[0])},m:function(t,i){(0,a.$Tr)(t,e,i),(0,a.yef)(n,e,null),r=!0},p:function(t,r){var o=r[0],s={};16&o&&(s.items=t[4]),196611&o&&(s.$$scope={dirty:o,ctx:t}),!i&&8&o&&(i=!0,s.handler=t[3],(0,a.hjT)(function(){return i=!1})),n.$set(s),1&o&&(0,a.VHj)(e,"vc-logs-has-cmd",t[0])},i:function(t){r||((0,a.Ui)(n.$$.fragment,t),r=!0)},o:function(t){(0,a.etI)(n.$$.fragment,t),r=!1},d:function(t){t&&(0,a.ogt)(e),(0,a.vpE)(n)}}}function dn(t,e,n){var i,r=a.ZTd;t.$$.on_destroy.push(function(){return r()});var o,l,c=e.pluginId,u=void 0===c?"default":c,h=e.showCmd,d=void 0!==h&&h,f=e.filterType,p=void 0===f?"all":f,A=e.showTimestamps,g=void 0!==A&&A,v=!1,m="",y=[];return(0,s.H3)(function(){fe.use()}),(0,s.ev)(function(){fe.unuse()}),t.$$set=function(t){"pluginId"in t&&n(7,u=t.pluginId),"showCmd"in t&&n(0,d=t.showCmd),"filterType"in t&&n(8,p=t.filterType),"showTimestamps"in t&&n(1,g=t.showTimestamps)},t.$$.update=function(){29056&t.$$.dirty&&(v||(n(2,o=rt.O.get(u)),r(),r=(0,a.LdU)(o,function(t){return n(14,i=t)}),n(12,v=!0)),n(4,y=i.logList.filter(function(t){return("all"===p||p===t.type)&&(""===m||(0,it.HX)(t,m))&&!t.groupCollapsed})))},[d,g,o,l,y,function(t){n(13,m=t.detail.filterText||"")},function(t){var e=t.detail.groupLabel,n=t.detail.groupHeader,i=t.detail.isGroupCollapsed;o.update(function(t){return t.logList.forEach(function(t){t.groupLabel===e&&(t.groupHeader>0?t.groupHeader=n:t.groupCollapsed=i)}),t})},u,p,function(){l.scrollTo(0)},function(){l.scrollTo(y.length-1)},{fixedHeight:!0},v,m,i,function(t){n(3,l=t)}]}var fn=function(e){function n(t){var n;return n=e.call(this)||this,(0,a.S1n)((0,r.Z)(n),t,dn,hn,a.N8,{pluginId:7,showCmd:0,filterType:8,showTimestamps:1,scrollToTop:9,scrollToBottom:10,options:11}),n}return(0,o.Z)(n,e),(0,t.Z)(n,[{key:"pluginId",get:function(){return this.$$.ctx[7]},set:function(t){this.$$set({pluginId:t}),(0,a.yl1)()}},{key:"showCmd",get:function(){return this.$$.ctx[0]},set:function(t){this.$$set({showCmd:t}),(0,a.yl1)()}},{key:"filterType",get:function(){return this.$$.ctx[8]},set:function(t){this.$$set({filterType:t}),(0,a.yl1)()}},{key:"showTimestamps",get:function(){return this.$$.ctx[1]},set:function(t){this.$$set({showTimestamps:t}),(0,a.yl1)()}},{key:"scrollToTop",get:function(){return this.$$.ctx[9]}},{key:"scrollToBottom",get:function(){return this.$$.ctx[10]}},{key:"options",get:function(){return this.$$.ctx[11]}}]),n}(a.f_C),pn=__webpack_require__(5629),An=function(){function t(t){this.model=void 0,this.pluginId=void 0,this.pluginId=t}return t.prototype.destroy=function(){this.model=void 0},t}(),gn=function(t){function e(){for(var e,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return(e=t.call.apply(t,[this].concat(i))||this).model=pn.W.getSingleton(pn.W,"VConsoleLogModel"),e}(0,o.Z)(e,t);var n=e.prototype;return n.log=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];this.addLog.apply(this,["log"].concat(e))},n.info=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];this.addLog.apply(this,["info"].concat(e))},n.debug=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];this.addLog.apply(this,["debug"].concat(e))},n.warn=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];this.addLog.apply(this,["warn"].concat(e))},n.error=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];this.addLog.apply(this,["error"].concat(e))},n.clear=function(){this.model&&this.model.clearPluginLog(this.pluginId)},n.addLog=function(t){if(this.model){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];n.unshift("["+this.pluginId+"]"),this.model.addLog({type:t,origData:n},{noOrig:!0})}},e}(An),vn=function(t){function e(e,n){var i;return(i=t.call(this,e,n,fn,{pluginId:e,filterType:"all"})||this).model=pn.W.getSingleton(pn.W,"VConsoleLogModel"),i.isReady=!1,i.isShow=!1,i.isInBottom=!0,i.model.bindPlugin(e),i.exporter=new gn(e),i}(0,o.Z)(e,t);var n=e.prototype;return n.onReady=function(){var e,n;t.prototype.onReady.call(this),this.model.maxLogNumber=Number(null==(e=this.vConsole.option.log)?void 0:e.maxLogNumber)||1e3,this.compInstance.showTimestamps=!(null==(n=this.vConsole.option.log)||!n.showTimestamps)},n.onRemove=function(){t.prototype.onRemove.call(this),this.model.unbindPlugin(this.id)},n.onAddTopBar=function(t){for(var e=this,n=["All","Log","Info","Warn","Error"],i=[],r=0;r<n.length;r++)i.push({name:n[r],data:{type:n[r].toLowerCase()},actived:0===r,className:"",onClick:function(t,n){if(n.type===e.compInstance.filterType)return!1;e.compInstance.filterType=n.type}});i[0].className="vc-actived",t(i)},n.onAddTool=function(t){var e=this;t([{name:"Clear",global:!1,onClick:function(t){e.model.clearPluginLog(e.id),e.vConsole.triggerEvent("clearLog")}},{name:"Top",global:!1,onClick:function(t){e.compInstance.scrollToTop()}},{name:"Bottom",global:!1,onClick:function(t){e.compInstance.scrollToBottom()}}])},n.onUpdateOption=function(){var t,e,n,i;(null==(t=this.vConsole.option.log)?void 0:t.maxLogNumber)!==this.model.maxLogNumber&&(this.model.maxLogNumber=Number(null==(n=this.vConsole.option.log)?void 0:n.maxLogNumber)||1e3),!(null==(e=this.vConsole.option.log)||!e.showTimestamps)!==this.compInstance.showTimestamps&&(this.compInstance.showTimestamps=!(null==(i=this.vConsole.option.log)||!i.showTimestamps))},e}(nt),mn=function(t){function n(){for(var e,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return(e=t.call.apply(t,[this].concat(i))||this).onErrorHandler=void 0,e.resourceErrorHandler=void 0,e.rejectionHandler=void 0,e}(0,o.Z)(n,t);var i=n.prototype;return i.onReady=function(){t.prototype.onReady.call(this),this.bindErrors(),this.compInstance.showCmd=!0},i.onRemove=function(){t.prototype.onRemove.call(this),this.unbindErrors()},i.bindErrors=function(){e.FJ(window)&&e.mf(window.addEventListener)&&(this.catchWindowOnError(),this.catchResourceError(),this.catchUnhandledRejection())},i.unbindErrors=function(){e.FJ(window)&&e.mf(window.addEventListener)&&(window.removeEventListener("error",this.onErrorHandler),window.removeEventListener("error",this.resourceErrorHandler),window.removeEventListener("unhandledrejection",this.rejectionHandler))},i.catchWindowOnError=function(){var t=this;this.onErrorHandler=this.onErrorHandler?this.onErrorHandler:function(e){var n=e.message;e.filename&&(n+="\\n\\t"+e.filename.replace(location.origin,""),(e.lineno||e.colno)&&(n+=":"+e.lineno+":"+e.colno)),n+="\\n"+(!!e.error&&!!e.error.stack&&e.error.stack.toString()||""),t.model.addLog({type:"error",origData:[n]},{noOrig:!0})},window.removeEventListener("error",this.onErrorHandler),window.addEventListener("error",this.onErrorHandler)},i.catchResourceError=function(){var t=this;this.resourceErrorHandler=this.resourceErrorHandler?this.resourceErrorHandler:function(e){var n=e.target;if(["link","video","script","img","audio"].indexOf(n.localName)>-1){var i=n.href||n.src||n.currentSrc;t.model.addLog({type:"error",origData:["GET <"+n.localName+"> error: "+i]},{noOrig:!0})}},window.removeEventListener("error",this.resourceErrorHandler),window.addEventListener("error",this.resourceErrorHandler,!0)},i.catchUnhandledRejection=function(){var t=this;this.rejectionHandler=this.rejectionHandler?this.rejectionHandler:function(e){var n=e&&e.reason,i="Uncaught (in promise) ",r=[i,n];n instanceof Error&&(r=[i,{name:n.name,message:n.message,stack:n.stack}]),t.model.addLog({type:"error",origData:r},{noOrig:!0})},window.removeEventListener("unhandledrejection",this.rejectionHandler),window.addEventListener("unhandledrejection",this.rejectionHandler)},n}(vn),yn=function(t){function e(){return t.apply(this,arguments)||this}(0,o.Z)(e,t);var n=e.prototype;return n.onReady=function(){t.prototype.onReady.call(this),this.printSystemInfo()},n.printSystemInfo=function(){var t=navigator.userAgent,e=[],n=t.match(/MicroMessenger\/([\d\.]+)/i),i=n&&n[1]?n[1]:null;"servicewechat.com"===location.host||console.info("[system]","Location:",location.href);var r=t.match(/(ipod).*\s([\d_]+)/i),o=t.match(/(ipad).*\s([\d_]+)/i),a=t.match(/(iphone)\sos\s([\d_]+)/i),s=t.match(/(android)\s([\d\.]+)/i),l=t.match(/(Mac OS X)\s([\d_]+)/i);e=[],s?e.push("Android "+s[2]):a?e.push("iPhone, iOS "+a[2].replace(/_/g,".")):o?e.push("iPad, iOS "+o[2].replace(/_/g,".")):r?e.push("iPod, iOS "+r[2].replace(/_/g,".")):l&&e.push("Mac, MacOS "+l[2].replace(/_/g,".")),i&&e.push("WeChat "+i),console.info("[system]","Client:",e.length?e.join(", "):"Unknown");var c=t.toLowerCase().match(/ nettype\/([^ ]+)/g);c&&c[0]&&(e=[(c=c[0].split("/"))[1]],console.info("[system]","Network:",e.length?e.join(", "):"Unknown")),console.info("[system]","UA:",t),setTimeout(function(){var t=window.performance||window.msPerformance||window.webkitPerformance;if(t&&t.timing){var e=t.timing;e.navigationStart&&console.info("[system]","navigationStart:",e.navigationStart),e.navigationStart&&e.domainLookupStart&&console.info("[system]","navigation:",e.domainLookupStart-e.navigationStart+"ms"),e.domainLookupEnd&&e.domainLookupStart&&console.info("[system]","dns:",e.domainLookupEnd-e.domainLookupStart+"ms"),e.connectEnd&&e.connectStart&&(e.connectEnd&&e.secureConnectionStart?console.info("[system]","tcp (ssl):",e.connectEnd-e.connectStart+"ms ("+(e.connectEnd-e.secureConnectionStart)+"ms)"):console.info("[system]","tcp:",e.connectEnd-e.connectStart+"ms")),e.responseStart&&e.requestStart&&console.info("[system]","request:",e.responseStart-e.requestStart+"ms"),e.responseEnd&&e.responseStart&&console.info("[system]","response:",e.responseEnd-e.responseStart+"ms"),e.domComplete&&e.domLoading&&(e.domContentLoadedEventStart&&e.domLoading?console.info("[system]","domComplete (domLoaded):",e.domComplete-e.domLoading+"ms ("+(e.domContentLoadedEventStart-e.domLoading)+"ms)"):console.info("[system]","domComplete:",e.domComplete-e.domLoading+"ms")),e.loadEventEnd&&e.loadEventStart&&console.info("[system]","loadEvent:",e.loadEventEnd-e.loadEventStart+"ms"),e.navigationStart&&e.loadEventEnd&&console.info("[system]","total (DOM):",e.loadEventEnd-e.navigationStart+"ms ("+(e.domComplete-e.navigationStart)+"ms)")}},0)},e}(vn),bn=__webpack_require__(3313),_n=__webpack_require__(643);function wn(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return xn(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?xn(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function xn(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var Cn=function(t,n){void 0===n&&(n={}),e.Kn(n)||(n={});var i=t?t.split("?"):[];if(i.shift(),i.length>0)for(var r,o=wn(i=i.join("?").split("&"));!(r=o()).done;){var a=r.value.split("=");try{n[a[0]]=decodeURIComponent(a[1])}catch(t){n[a[0]]=a[1]}}return n},Sn=function(t,n){var i="";switch(t){case"":case"text":case"json":if(e.HD(n))try{i=JSON.parse(n),i=e.hZ(i,{maxDepth:10,keyMaxLen:1e4,pretty:!0,standardJSON:!0})}catch(t){i=e.id(String(n),1e4)}else e.Kn(n)||e.kJ(n)?i=e.hZ(n,{maxDepth:10,keyMaxLen:1e4,pretty:!0,standardJSON:!0}):void 0!==n&&(i=Object.prototype.toString.call(n));break;default:void 0!==n&&(i=Object.prototype.toString.call(n))}return i},Bn=function(t){if(!t)return null;var n=null;if("string"==typeof t)try{n=JSON.parse(t)}catch(e){var i=t.split("&");if(1===i.length)n=t;else{n={};for(var r,o=wn(i);!(r=o()).done;){var a=r.value.split("=");n[a[0]]=void 0===a[1]?"undefined":a[1]}}}else if(e.TW(t)){n={};for(var s,l=wn(t);!(s=l()).done;){var c=s.value,u=c[0],h=c[1];n[u]="string"==typeof h?h:"[object Object]"}}else n=e.PO(t)?t:"[object "+e.zl(t)+"]";return n},kn=function(t){return void 0===t&&(t=""),t.startsWith("//")&&(t=""+new URL(window.location.href).protocol+t),t.startsWith("http")?new URL(t):new URL(t,window.location.href)},Tn=function(){this.id="",this.name="",this.method="",this.url="",this.status=0,this.statusText="",this.cancelState=0,this.readyState=0,this.header=null,this.responseType="",this.requestType=void 0,this.requestHeader=null,this.response=void 0,this.responseSize=0,this.responseSizeText="",this.startTime=0,this.startTimeText="",this.endTime=0,this.costTime=0,this.getData=null,this.postData=null,this.actived=!1,this.noVConsole=!1,this.id=(0,e.QI)()},On=function(t){function e(n){var i;return(i=t.call(this)||this)._response=void 0,new Proxy(n,e.Handler)||(0,r.Z)(i)}return(0,o.Z)(e,t),e}(Tn);On.Handler={get:function(t,e){return"response"===e?t._response:Reflect.get(t,e)},set:function(t,e,n){var i;switch(e){case"response":return t._response=Sn(t.responseType,n),!0;case"url":var r=(null==(i=n=String(n))?void 0:i.replace(new RegExp("[/]*$"),"").split("/").pop())||"Unknown";Reflect.set(t,"name",r);var o=Cn(n,t.getData);Reflect.set(t,"getData",o);break;case"status":var a=String(n)||"Unknown";Reflect.set(t,"statusText",a);break;case"startTime":if(n&&t.endTime){var s=t.endTime-n;Reflect.set(t,"costTime",s)}break;case"endTime":if(n&&t.startTime){var l=n-t.startTime;Reflect.set(t,"costTime",l)}}return Reflect.set(t,e,n)}};var En=function(){function t(t,e){var n=this;this.XMLReq=void 0,this.item=void 0,this.onUpdateCallback=void 0,this.XMLReq=t,this.XMLReq.onreadystatechange=function(){n.onReadyStateChange()},this.XMLReq.onabort=function(){n.onAbort()},this.XMLReq.ontimeout=function(){n.onTimeout()},this.item=new Tn,this.item.requestType="xhr",this.onUpdateCallback=e}var n=t.prototype;return n.get=function(t,e){switch(e){case"_noVConsole":return this.item.noVConsole;case"open":return this.getOpen(t);case"send":return this.getSend(t);case"setRequestHeader":return this.getSetRequestHeader(t);default:var n=Reflect.get(t,e);return"function"==typeof n?n.bind(t):n}},n.set=function(t,e,n){switch(e){case"_noVConsole":return void(this.item.noVConsole=!!n);case"onreadystatechange":return this.setOnReadyStateChange(t,e,n);case"onabort":return this.setOnAbort(t,e,n);case"ontimeout":return this.setOnTimeout(t,e,n)}return Reflect.set(t,e,n)},n.onReadyStateChange=function(){this.item.readyState=this.XMLReq.readyState,this.item.responseType=this.XMLReq.responseType,this.item.endTime=Date.now(),this.item.costTime=this.item.endTime-this.item.startTime,this.updateItemByReadyState(),this.item.response=Sn(this.item.responseType,this.item.response),this.triggerUpdate()},n.onAbort=function(){this.item.cancelState=1,this.item.statusText="Abort",this.triggerUpdate()},n.onTimeout=function(){this.item.cancelState=3,this.item.statusText="Timeout",this.triggerUpdate()},n.triggerUpdate=function(){this.item.noVConsole||this.onUpdateCallback(this.item)},n.getOpen=function(t){var e=this,n=Reflect.get(t,"open");return function(){for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];var a=r[0],s=r[1];return e.item.method=a?a.toUpperCase():"GET",e.item.url=s||"",e.item.name=e.item.url.replace(new RegExp("[/]*$"),"").split("/").pop()||"",e.item.getData=Cn(e.item.url,{}),e.triggerUpdate(),n.apply(t,r)}},n.getSend=function(t){var e=this,n=Reflect.get(t,"send");return function(){for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];var a=r[0];return e.item.postData=Bn(a),e.triggerUpdate(),n.apply(t,r)}},n.getSetRequestHeader=function(t){var e=this,n=Reflect.get(t,"setRequestHeader");return function(){e.item.requestHeader||(e.item.requestHeader={});for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return e.item.requestHeader[r[0]]=r[1],e.triggerUpdate(),n.apply(t,r)}},n.setOnReadyStateChange=function(t,e,n){var i=this;return Reflect.set(t,e,function(){i.onReadyStateChange();for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];n.apply(t,r)})},n.setOnAbort=function(t,e,n){var i=this;return Reflect.set(t,e,function(){i.onAbort();for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];n.apply(t,r)})},n.setOnTimeout=function(t,e,n){var i=this;return Reflect.set(t,e,function(){i.onTimeout();for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];n.apply(t,r)})},n.updateItemByReadyState=function(){switch(this.XMLReq.readyState){case 0:case 1:if(this.item.status=0,this.item.statusText="Pending",!this.item.startTime){this.item.startTime=Date.now();var t=(0,e._3)(this.item.startTime);this.item.startTimeText=t.year+"-"+t.month+"-"+t.day+" "+t.hour+":"+t.minute+":"+t.second+"."+t.millisecond}break;case 2:this.item.status=this.XMLReq.status,this.item.statusText="Loading",this.item.header={};for(var n=(this.XMLReq.getAllResponseHeaders()||"").split("\n"),i=0;i<n.length;i++){var r=n[i];if(r){var o=r.split(": "),a=o[0],s=o.slice(1).join(": ");this.item.header[a]=s}}break;case 3:this.item.status=this.XMLReq.status,this.item.statusText="Loading",this.XMLReq.response&&this.XMLReq.response.length&&(this.item.responseSize=this.XMLReq.response.length,this.item.responseSizeText=(0,e.KL)(this.item.responseSize));break;case 4:this.item.status=this.XMLReq.status||this.item.status||0,this.item.statusText=String(this.item.status),this.item.endTime=Date.now(),this.item.costTime=this.item.endTime-(this.item.startTime||this.item.endTime),this.item.response=this.XMLReq.response,this.XMLReq.response&&this.XMLReq.response.length&&(this.item.responseSize=this.XMLReq.response.length,this.item.responseSizeText=(0,e.KL)(this.item.responseSize));break;default:this.item.status=this.XMLReq.status,this.item.statusText="Unknown"}},t}(),In=function(){function t(){}return t.create=function(t){return new Proxy(XMLHttpRequest,{construct:function(e){var n=new e;return new Proxy(n,new En(n,t))}})},t}();function Mn(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return Dn(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Dn(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Dn(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}In.origXMLHttpRequest=XMLHttpRequest;var Ln=function(){function t(t,e,n){this.resp=void 0,this.item=void 0,this.onUpdateCallback=void 0,this.resp=t,this.item=e,this.onUpdateCallback=n,this.mockReader()}var n=t.prototype;return n.set=function(t,e,n){return Reflect.set(t,e,n)},n.get=function(t,e){var n=this,i=Reflect.get(t,e);switch(e){case"arrayBuffer":case"blob":case"formData":case"json":case"text":return function(){return n.item.responseType=e.toLowerCase(),i.apply(t).then(function(t){return n.item.response=Sn(n.item.responseType,t),n.onUpdateCallback(n.item),t})}}return"function"==typeof i?i.bind(t):i},n.mockReader=function(){var t,n=this;if(this.resp.body&&"function"==typeof this.resp.body.getReader){var i=this.resp.body.getReader;this.resp.body.getReader=function(){var r=i.apply(n.resp.body);if(4===n.item.readyState)return r;var o=r.read,a=r.cancel;return n.item.responseType="arraybuffer",r.read=function(){return o.apply(r).then(function(i){if(t){var r=new Uint8Array(t.length+i.value.length);r.set(t),r.set(i.value,t.length),t=r}else t=new Uint8Array(i.value);return n.item.endTime=Date.now(),n.item.costTime=n.item.endTime-(n.item.startTime||n.item.endTime),n.item.readyState=i.done?4:3,n.item.statusText=i.done?String(n.item.status):"Loading",n.item.responseSize=t.length,n.item.responseSizeText=e.KL(n.item.responseSize),i.done&&(n.item.response=Sn(n.item.responseType,t)),n.onUpdateCallback(n.item),i})},r.cancel=function(){n.item.cancelState=2,n.item.statusText="Cancel",n.item.endTime=Date.now(),n.item.costTime=n.item.endTime-(n.item.startTime||n.item.endTime),n.item.response=Sn(n.item.responseType,t),n.onUpdateCallback(n.item);for(var e=arguments.length,i=new Array(e),o=0;o<e;o++)i[o]=arguments[o];return a.apply(r,i)},r}}},t}(),Fn=function(){function t(t){this.onUpdateCallback=void 0,this.onUpdateCallback=t}var n=t.prototype;return n.apply=function(t,e,n){var i=this,r=n[0],o=n[1],a=new Tn;return this.beforeFetch(a,r,o),t.apply(window,n).then(this.afterFetch(a)).catch(function(t){throw a.endTime=Date.now(),a.costTime=a.endTime-(a.startTime||a.endTime),i.onUpdateCallback(a),t})},n.beforeFetch=function(t,n,i){var r,o="GET",a=null;if(e.HD(n)?(o=(null==i?void 0:i.method)||"GET",r=kn(n),a=(null==i?void 0:i.headers)||null):(o=n.method||"GET",r=kn(n.url),a=n.headers),t.method=o,t.requestType="fetch",t.requestHeader=a,t.url=r.toString(),t.name=(r.pathname.split("/").pop()||"")+r.search,t.status=0,t.statusText="Pending",t.readyState=1,!t.startTime){t.startTime=Date.now();var s=e._3(t.startTime);t.startTimeText=s.year+"-"+s.month+"-"+s.day+" "+s.hour+":"+s.minute+":"+s.second+"."+s.millisecond}if("[object Headers]"===Object.prototype.toString.call(a)){t.requestHeader={};for(var l,c=Mn(a);!(l=c()).done;){var u=l.value,h=u[0],d=u[1];t.requestHeader[h]=d}}else t.requestHeader=a;if(r.search&&r.searchParams){t.getData={};for(var f,p=Mn(r.searchParams);!(f=p()).done;){var A=f.value,g=A[0],v=A[1];t.getData[g]=v}}null!=i&&i.body&&(t.postData=Bn(i.body)),this.onUpdateCallback(t)},n.afterFetch=function(t){var n=this;return function(i){t.endTime=Date.now(),t.costTime=t.endTime-(t.startTime||t.endTime),t.status=i.status,t.statusText=String(i.status);var r=!1;t.header={};for(var o,a=Mn(i.headers);!(o=a()).done;){var s=o.value,l=s[0],c=s[1];t.header[l]=c,r=c.toLowerCase().indexOf("chunked")>-1||r}return r?t.readyState=3:(t.readyState=4,n.handleResponseBody(i.clone(),t).then(function(i){t.responseSize="string"==typeof i?i.length:i.byteLength,t.responseSizeText=e.KL(t.responseSize),t.response=Sn(t.responseType,i),n.onUpdateCallback(t)})),n.onUpdateCallback(t),new Proxy(i,new Ln(i,t,n.onUpdateCallback))}},n.handleResponseBody=function(t,e){var n=t.headers.get("content-type");return n&&n.includes("application/json")?(e.responseType="json",t.text()):n&&(n.includes("text/html")||n.includes("text/plain"))?(e.responseType="text",t.text()):(e.responseType="arraybuffer",t.arrayBuffer())},t}(),Pn=function(){function t(){}return t.create=function(t){return new Proxy(fetch,new Fn(t))},t}();function Nn(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}Pn.origFetch=fetch;var jn=function(){function t(t){this.onUpdateCallback=void 0,this.onUpdateCallback=t}return t.prototype.apply=function(t,e,n){var i=n[0],r=n[1],o=new Tn,a=kn(i);if(o.method="POST",o.url=i,o.name=(a.pathname.split("/").pop()||"")+a.search,o.requestType="ping",o.requestHeader={"Content-Type":function(t){return t instanceof Blob?t.type:t instanceof FormData?"multipart/form-data":t instanceof URLSearchParams?"application/x-www-form-urlencoded;charset=UTF-8":"text/plain;charset=UTF-8"}(r)},o.status=0,o.statusText="Pending",a.search&&a.searchParams){o.getData={};for(var s,l=function(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return Nn(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Nn(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(a.searchParams);!(s=l()).done;){var c=s.value,u=c[0],h=c[1];o.getData[u]=h}}o.postData=Bn(r),o.startTime||(o.startTime=Date.now()),this.onUpdateCallback(o);var d=t.apply(e,n);return d?(o.endTime=Date.now(),o.costTime=o.endTime-(o.startTime||o.endTime),o.status=0,o.statusText="Sent",o.readyState=4):(o.status=500,o.statusText="Unknown"),this.onUpdateCallback(o),d},t}(),Un=function(){function t(){}return t.create=function(t){return new Proxy(navigator.sendBeacon,new jn(t))},t}();Un.origSendBeacon=navigator.sendBeacon;var Rn=(0,bn.fZ)({}),Qn=function(t){function e(){var e;return(e=t.call(this)||this).maxNetworkNumber=1e3,e.ignoreUrlRegExp=void 0,e.itemCounter=0,e.mockXHR(),e.mockFetch(),e.mockSendBeacon(),e}(0,o.Z)(e,t);var n=e.prototype;return n.unMock=function(){window.hasOwnProperty("XMLHttpRequest")&&(window.XMLHttpRequest=In.origXMLHttpRequest),window.hasOwnProperty("fetch")&&(window.fetch=Pn.origFetch),window.navigator.sendBeacon&&(window.navigator.sendBeacon=Un.origSendBeacon)},n.clearLog=function(){Rn.set({})},n.updateRequest=function(t,e){var n,i=e.url;if(!i||null==(n=this.ignoreUrlRegExp)||!n.test(i)){var r=(0,bn.U2)(Rn),o=!!r[t];if(o){var a=r[t];for(var s in e)a[s]=e[s];e=a}Rn.update(function(n){return n[t]=e,n}),o||(M.x.updateTime(),this.limitListLength())}},n.mockXHR=function(){var t=this;window.hasOwnProperty("XMLHttpRequest")&&(window.XMLHttpRequest=In.create(function(e){t.updateRequest(e.id,e)}))},n.mockFetch=function(){var t=this;window.hasOwnProperty("fetch")&&(window.fetch=Pn.create(function(e){t.updateRequest(e.id,e)}))},n.mockSendBeacon=function(){var t,e,n=this;null!=(t=window)&&null!=(e=t.navigator)&&e.sendBeacon&&(window.navigator.sendBeacon=Un.create(function(t){n.updateRequest(t.id,t)}))},n.limitListLength=function(){var t=this;if(this.itemCounter++,this.itemCounter%10==0){this.itemCounter=0;var e=(0,bn.U2)(Rn),n=Object.keys(e);n.length>this.maxNetworkNumber-10&&Rn.update(function(e){for(var i=n.splice(0,n.length-t.maxNetworkNumber+10),r=0;r<i.length;r++)e[i[r]]=void 0,delete e[i[r]];return e})}},e}(_n.N),Hn=__webpack_require__(8747),Vn={};Hn.Z&&Hn.Z.locals&&(Vn.locals=Hn.Z.locals);var zn,$n=0,Gn={};Gn.styleTagTransform=y(),Gn.setAttributes=A(),Gn.insert=f().bind(null,"head"),Gn.domAPI=h(),Gn.insertStyleElement=v(),Vn.use=function(t){return Gn.options=t||{},$n++||(zn=c()(Hn.Z,Gn)),Vn},Vn.unuse=function(){$n>0&&!--$n&&(zn(),zn=null)};var Wn=Vn;function Kn(t,e,n){var i=t.slice();return i[11]=e[n][0],i[12]=e[n][1],i}function Yn(t,e,n){var i=t.slice();return i[11]=e[n][0],i[12]=e[n][1],i}function Xn(t,e,n){var i=t.slice();return i[11]=e[n][0],i[12]=e[n][1],i}function qn(t,e,n){var i=t.slice();return i[11]=e[n][0],i[12]=e[n][1],i}function Zn(t){var e,n,i;return{c:function(){e=(0,a.fLW)("("),n=(0,a.fLW)(t[0]),i=(0,a.fLW)(")")},m:function(t,r){(0,a.$Tr)(t,e,r),(0,a.$Tr)(t,n,r),(0,a.$Tr)(t,i,r)},p:function(t,e){1&e&&(0,a.rTO)(n,t[0])},d:function(t){t&&(0,a.ogt)(e),t&&(0,a.ogt)(n),t&&(0,a.ogt)(i)}}}function Jn(t){var e,n,i,r,o,s,l=t[0]>0&&Zn(t);return{c:function(){e=(0,a.bGB)("dl"),n=(0,a.bGB)("dd"),i=(0,a.fLW)("Name "),l&&l.c(),(r=(0,a.bGB)("dd")).textContent="Method",(o=(0,a.bGB)("dd")).textContent="Status",(s=(0,a.bGB)("dd")).textContent="Time",(0,a.Ljt)(n,"class","vc-table-col vc-table-col-4"),(0,a.Ljt)(r,"class","vc-table-col"),(0,a.Ljt)(o,"class","vc-table-col"),(0,a.Ljt)(s,"class","vc-table-col"),(0,a.Ljt)(e,"class","vc-table-row")},m:function(t,c){(0,a.$Tr)(t,e,c),(0,a.R3I)(e,n),(0,a.R3I)(n,i),l&&l.m(n,null),(0,a.R3I)(e,r),(0,a.R3I)(e,o),(0,a.R3I)(e,s)},p:function(t,e){t[0]>0?l?l.p(t,e):((l=Zn(t)).c(),l.m(n,null)):l&&(l.d(1),l=null)},d:function(t){t&&(0,a.ogt)(e),l&&l.d()}}}function ti(t){var e;return{c:function(){(e=(0,a.bGB)("div")).textContent="Empty",(0,a.Ljt)(e,"slot","empty"),(0,a.Ljt)(e,"class","vc-plugin-empty")},m:function(t,n){(0,a.$Tr)(t,e,n)},p:a.ZTd,d:function(t){t&&(0,a.ogt)(e)}}}function ei(t){var e,n,i,r,o,s,l,c;s=new lt({props:{content:t[10].requestHeader}});for(var u=Object.entries(t[10].requestHeader),h=[],d=0;d<u.length;d+=1)h[d]=ni(qn(t,u,d));return{c:function(){e=(0,a.bGB)("div"),n=(0,a.bGB)("dl"),i=(0,a.bGB)("dt"),r=(0,a.fLW)("Request Headers\n "),o=(0,a.bGB)("i"),(0,a.YCL)(s.$$.fragment),l=(0,a.DhX)();for(var t=0;t<h.length;t+=1)h[t].c();(0,a.Ljt)(o,"class","vc-table-row-icon"),(0,a.Ljt)(i,"class","vc-table-col vc-table-col-title"),(0,a.Ljt)(n,"class","vc-table-row vc-left-border")},m:function(t,u){(0,a.$Tr)(t,e,u),(0,a.R3I)(e,n),(0,a.R3I)(n,i),(0,a.R3I)(i,r),(0,a.R3I)(i,o),(0,a.yef)(s,o,null),(0,a.R3I)(e,l);for(var d=0;d<h.length;d+=1)h[d].m(e,null);c=!0},p:function(t,n){var i={};if(1024&n&&(i.content=t[10].requestHeader),s.$set(i),1040&n){var r;for(u=Object.entries(t[10].requestHeader),r=0;r<u.length;r+=1){var o=qn(t,u,r);h[r]?h[r].p(o,n):(h[r]=ni(o),h[r].c(),h[r].m(e,null))}for(;r<h.length;r+=1)h[r].d(1);h.length=u.length}},i:function(t){c||((0,a.Ui)(s.$$.fragment,t),c=!0)},o:function(t){(0,a.etI)(s.$$.fragment,t),c=!1},d:function(t){t&&(0,a.ogt)(e),(0,a.vpE)(s),(0,a.RMB)(h,t)}}}function ni(t){var e,n,i,r,o,s,l,c=t[11]+"",u=t[4](t[12])+"";return{c:function(){e=(0,a.bGB)("div"),n=(0,a.bGB)("div"),i=(0,a.fLW)(c),r=(0,a.DhX)(),o=(0,a.bGB)("div"),s=(0,a.fLW)(u),l=(0,a.DhX)(),(0,a.Ljt)(n,"class","vc-table-col vc-table-col-2"),(0,a.Ljt)(o,"class","vc-table-col vc-table-col-4 vc-table-col-value vc-max-height-line"),(0,a.Ljt)(e,"class","vc-table-row vc-left-border vc-small")},m:function(t,c){(0,a.$Tr)(t,e,c),(0,a.R3I)(e,n),(0,a.R3I)(n,i),(0,a.R3I)(e,r),(0,a.R3I)(e,o),(0,a.R3I)(o,s),(0,a.R3I)(e,l)},p:function(t,e){1024&e&&c!==(c=t[11]+"")&&(0,a.rTO)(i,c),1024&e&&u!==(u=t[4](t[12])+"")&&(0,a.rTO)(s,u)},d:function(t){t&&(0,a.ogt)(e)}}}function ii(t){var e,n,i,r,o,s,l,c;s=new lt({props:{content:t[10].getData}});for(var u=Object.entries(t[10].getData),h=[],d=0;d<u.length;d+=1)h[d]=ri(Xn(t,u,d));return{c:function(){e=(0,a.bGB)("div"),n=(0,a.bGB)("dl"),i=(0,a.bGB)("dt"),r=(0,a.fLW)("Query String Parameters\n "),o=(0,a.bGB)("i"),(0,a.YCL)(s.$$.fragment),l=(0,a.DhX)();for(var t=0;t<h.length;t+=1)h[t].c();(0,a.Ljt)(o,"class","vc-table-row-icon"),(0,a.Ljt)(i,"class","vc-table-col vc-table-col-title"),(0,a.Ljt)(n,"class","vc-table-row vc-left-border")},m:function(t,u){(0,a.$Tr)(t,e,u),(0,a.R3I)(e,n),(0,a.R3I)(n,i),(0,a.R3I)(i,r),(0,a.R3I)(i,o),(0,a.yef)(s,o,null),(0,a.R3I)(e,l);for(var d=0;d<h.length;d+=1)h[d].m(e,null);c=!0},p:function(t,n){var i={};if(1024&n&&(i.content=t[10].getData),s.$set(i),1040&n){var r;for(u=Object.entries(t[10].getData),r=0;r<u.length;r+=1){var o=Xn(t,u,r);h[r]?h[r].p(o,n):(h[r]=ri(o),h[r].c(),h[r].m(e,null))}for(;r<h.length;r+=1)h[r].d(1);h.length=u.length}},i:function(t){c||((0,a.Ui)(s.$$.fragment,t),c=!0)},o:function(t){(0,a.etI)(s.$$.fragment,t),c=!1},d:function(t){t&&(0,a.ogt)(e),(0,a.vpE)(s),(0,a.RMB)(h,t)}}}function ri(t){var e,n,i,r,o,s,l,c=t[11]+"",u=t[4](t[12])+"";return{c:function(){e=(0,a.bGB)("div"),n=(0,a.bGB)("div"),i=(0,a.fLW)(c),r=(0,a.DhX)(),o=(0,a.bGB)("div"),s=(0,a.fLW)(u),l=(0,a.DhX)(),(0,a.Ljt)(n,"class","vc-table-col vc-table-col-2"),(0,a.Ljt)(o,"class","vc-table-col vc-table-col-4 vc-table-col-value vc-max-height-line"),(0,a.Ljt)(e,"class","vc-table-row vc-left-border vc-small")},m:function(t,c){(0,a.$Tr)(t,e,c),(0,a.R3I)(e,n),(0,a.R3I)(n,i),(0,a.R3I)(e,r),(0,a.R3I)(e,o),(0,a.R3I)(o,s),(0,a.R3I)(e,l)},p:function(t,e){1024&e&&c!==(c=t[11]+"")&&(0,a.rTO)(i,c),1024&e&&u!==(u=t[4](t[12])+"")&&(0,a.rTO)(s,u)},d:function(t){t&&(0,a.ogt)(e)}}}function oi(t){var e,n,i,r,o,s,l,c;function u(t,e){return"string"==typeof t[10].postData?si:ai}s=new lt({props:{content:t[10].postData}});var h=u(t),d=h(t);return{c:function(){e=(0,a.bGB)("div"),n=(0,a.bGB)("dl"),i=(0,a.bGB)("dt"),r=(0,a.fLW)("Request Payload\n "),o=(0,a.bGB)("i"),(0,a.YCL)(s.$$.fragment),l=(0,a.DhX)(),d.c(),(0,a.Ljt)(o,"class","vc-table-row-icon"),(0,a.Ljt)(i,"class","vc-table-col vc-table-col-title"),(0,a.Ljt)(n,"class","vc-table-row vc-left-border")},m:function(t,u){(0,a.$Tr)(t,e,u),(0,a.R3I)(e,n),(0,a.R3I)(n,i),(0,a.R3I)(i,r),(0,a.R3I)(i,o),(0,a.yef)(s,o,null),(0,a.R3I)(e,l),d.m(e,null),c=!0},p:function(t,n){var i={};1024&n&&(i.content=t[10].postData),s.$set(i),h===(h=u(t))&&d?d.p(t,n):(d.d(1),(d=h(t))&&(d.c(),d.m(e,null)))},i:function(t){c||((0,a.Ui)(s.$$.fragment,t),c=!0)},o:function(t){(0,a.etI)(s.$$.fragment,t),c=!1},d:function(t){t&&(0,a.ogt)(e),(0,a.vpE)(s),d.d()}}}function ai(t){for(var e,n=Object.entries(t[10].postData),i=[],r=0;r<n.length;r+=1)i[r]=li(Yn(t,n,r));return{c:function(){for(var t=0;t<i.length;t+=1)i[t].c();e=(0,a.cSb)()},m:function(t,n){for(var r=0;r<i.length;r+=1)i[r].m(t,n);(0,a.$Tr)(t,e,n)},p:function(t,r){if(1040&r){var o;for(n=Object.entries(t[10].postData),o=0;o<n.length;o+=1){var a=Yn(t,n,o);i[o]?i[o].p(a,r):(i[o]=li(a),i[o].c(),i[o].m(e.parentNode,e))}for(;o<i.length;o+=1)i[o].d(1);i.length=n.length}},d:function(t){(0,a.RMB)(i,t),t&&(0,a.ogt)(e)}}}function si(t){var e,n,i,r=t[10].postData+"";return{c:function(){e=(0,a.bGB)("div"),n=(0,a.bGB)("pre"),i=(0,a.fLW)(r),(0,a.Ljt)(n,"class","vc-table-col vc-table-col-value vc-max-height-line"),(0,a.Ljt)(n,"data-scrollable","1"),(0,a.Ljt)(e,"class","vc-table-row vc-left-border vc-small")},m:function(t,r){(0,a.$Tr)(t,e,r),(0,a.R3I)(e,n),(0,a.R3I)(n,i)},p:function(t,e){1024&e&&r!==(r=t[10].postData+"")&&(0,a.rTO)(i,r)},d:function(t){t&&(0,a.ogt)(e)}}}function li(t){var e,n,i,r,o,s,l,c=t[11]+"",u=t[4](t[12])+"";return{c:function(){e=(0,a.bGB)("div"),n=(0,a.bGB)("div"),i=(0,a.fLW)(c),r=(0,a.DhX)(),o=(0,a.bGB)("div"),s=(0,a.fLW)(u),l=(0,a.DhX)(),(0,a.Ljt)(n,"class","vc-table-col vc-table-col-2"),(0,a.Ljt)(o,"class","vc-table-col vc-table-col-4 vc-table-col-value vc-max-height-line"),(0,a.Ljt)(o,"data-scrollable","1"),(0,a.Ljt)(e,"class","vc-table-row vc-left-border vc-small")},m:function(t,c){(0,a.$Tr)(t,e,c),(0,a.R3I)(e,n),(0,a.R3I)(n,i),(0,a.R3I)(e,r),(0,a.R3I)(e,o),(0,a.R3I)(o,s),(0,a.R3I)(e,l)},p:function(t,e){1024&e&&c!==(c=t[11]+"")&&(0,a.rTO)(i,c),1024&e&&u!==(u=t[4](t[12])+"")&&(0,a.rTO)(s,u)},d:function(t){t&&(0,a.ogt)(e)}}}function ci(t){var e,n,i,r,o,s,l,c;s=new lt({props:{content:t[10].header}});for(var u=Object.entries(t[10].header),h=[],d=0;d<u.length;d+=1)h[d]=ui(Kn(t,u,d));return{c:function(){e=(0,a.bGB)("div"),n=(0,a.bGB)("dl"),i=(0,a.bGB)("dt"),r=(0,a.fLW)("Response Headers\n "),o=(0,a.bGB)("i"),(0,a.YCL)(s.$$.fragment),l=(0,a.DhX)();for(var t=0;t<h.length;t+=1)h[t].c();(0,a.Ljt)(o,"class","vc-table-row-icon"),(0,a.Ljt)(i,"class","vc-table-col vc-table-col-title"),(0,a.Ljt)(n,"class","vc-table-row vc-left-border")},m:function(t,u){(0,a.$Tr)(t,e,u),(0,a.R3I)(e,n),(0,a.R3I)(n,i),(0,a.R3I)(i,r),(0,a.R3I)(i,o),(0,a.yef)(s,o,null),(0,a.R3I)(e,l);for(var d=0;d<h.length;d+=1)h[d].m(e,null);c=!0},p:function(t,n){var i={};if(1024&n&&(i.content=t[10].header),s.$set(i),1040&n){var r;for(u=Object.entries(t[10].header),r=0;r<u.length;r+=1){var o=Kn(t,u,r);h[r]?h[r].p(o,n):(h[r]=ui(o),h[r].c(),h[r].m(e,null))}for(;r<h.length;r+=1)h[r].d(1);h.length=u.length}},i:function(t){c||((0,a.Ui)(s.$$.fragment,t),c=!0)},o:function(t){(0,a.etI)(s.$$.fragment,t),c=!1},d:function(t){t&&(0,a.ogt)(e),(0,a.vpE)(s),(0,a.RMB)(h,t)}}}function ui(t){var e,n,i,r,o,s,l,c=t[11]+"",u=t[4](t[12])+"";return{c:function(){e=(0,a.bGB)("div"),n=(0,a.bGB)("div"),i=(0,a.fLW)(c),r=(0,a.DhX)(),o=(0,a.bGB)("div"),s=(0,a.fLW)(u),l=(0,a.DhX)(),(0,a.Ljt)(n,"class","vc-table-col vc-table-col-2"),(0,a.Ljt)(o,"class","vc-table-col vc-table-col-4 vc-table-col-value vc-max-height-line"),(0,a.Ljt)(e,"class","vc-table-row vc-left-border vc-small")},m:function(t,c){(0,a.$Tr)(t,e,c),(0,a.R3I)(e,n),(0,a.R3I)(n,i),(0,a.R3I)(e,r),(0,a.R3I)(e,o),(0,a.R3I)(o,s),(0,a.R3I)(e,l)},p:function(t,e){1024&e&&c!==(c=t[11]+"")&&(0,a.rTO)(i,c),1024&e&&u!==(u=t[4](t[12])+"")&&(0,a.rTO)(s,u)},d:function(t){t&&(0,a.ogt)(e)}}}function hi(t){var e,n,i,r,o,s=t[10].responseSizeText+"";return{c:function(){e=(0,a.bGB)("div"),(n=(0,a.bGB)("div")).textContent="Size",i=(0,a.DhX)(),r=(0,a.bGB)("div"),o=(0,a.fLW)(s),(0,a.Ljt)(n,"class","vc-table-col vc-table-col-2"),(0,a.Ljt)(r,"class","vc-table-col vc-table-col-4 vc-table-col-value vc-max-height-line"),(0,a.Ljt)(e,"class","vc-table-row vc-left-border vc-small")},m:function(t,s){(0,a.$Tr)(t,e,s),(0,a.R3I)(e,n),(0,a.R3I)(e,i),(0,a.R3I)(e,r),(0,a.R3I)(r,o)},p:function(t,e){1024&e&&s!==(s=t[10].responseSizeText+"")&&(0,a.rTO)(o,s)},d:function(t){t&&(0,a.ogt)(e)}}}function di(t){var e,n,i,r,o,s,l,c,u,h,d,f,p,A,g,v,m,y,b,_,w,x,C,S,B,k,T,O,E,I,M,D,L,F,P,N,j,U,R,Q,H,V,z,$,G,W,K,Y,X,q,Z,J,tt,et,nt,it,rt,ot,at,st,ct,ut,ht,dt,ft,pt,At,gt,vt=t[10].name+"",mt=t[10].method+"",yt=t[10].statusText+"",bt=t[10].costTime+"",_t=t[10].url+"",wt=t[10].method+"",xt=t[10].requestType+"",Ct=t[10].status+"",St=t[10].startTimeText+"",Bt=(t[10].response||"")+"";function kt(){return t[7](t[10])}y=new lt({props:{handler:t[3],content:t[10]}});var Tt=null!==t[10].requestHeader&&ei(t),Ot=null!==t[10].getData&&ii(t),Et=null!==t[10].postData&&oi(t),It=null!==t[10].header&&ci(t);at=new lt({props:{content:t[10].response}});var Mt=t[10].responseSize>0&&hi(t);return{c:function(){e=(0,a.bGB)("div"),n=(0,a.bGB)("dl"),i=(0,a.bGB)("dd"),r=(0,a.fLW)(vt),o=(0,a.bGB)("dd"),s=(0,a.fLW)(mt),l=(0,a.bGB)("dd"),c=(0,a.fLW)(yt),u=(0,a.bGB)("dd"),h=(0,a.fLW)(bt),d=(0,a.DhX)(),f=(0,a.bGB)("div"),p=(0,a.bGB)("div"),A=(0,a.bGB)("dl"),g=(0,a.bGB)("dt"),v=(0,a.fLW)("General\n "),m=(0,a.bGB)("i"),(0,a.YCL)(y.$$.fragment),b=(0,a.DhX)(),_=(0,a.bGB)("div"),(w=(0,a.bGB)("div")).textContent="URL",x=(0,a.DhX)(),C=(0,a.bGB)("div"),S=(0,a.fLW)(_t),B=(0,a.DhX)(),k=(0,a.bGB)("div"),(T=(0,a.bGB)("div")).textContent="Method",O=(0,a.DhX)(),E=(0,a.bGB)("div"),I=(0,a.fLW)(wt),M=(0,a.DhX)(),D=(0,a.bGB)("div"),(L=(0,a.bGB)("div")).textContent="Request Type",F=(0,a.DhX)(),P=(0,a.bGB)("div"),N=(0,a.fLW)(xt),j=(0,a.DhX)(),U=(0,a.bGB)("div"),(R=(0,a.bGB)("div")).textContent="HTTP Status",Q=(0,a.DhX)(),H=(0,a.bGB)("div"),V=(0,a.fLW)(Ct),z=(0,a.DhX)(),$=(0,a.bGB)("div"),(G=(0,a.bGB)("div")).textContent="Start Time",W=(0,a.DhX)(),K=(0,a.bGB)("div"),Y=(0,a.fLW)(St),X=(0,a.DhX)(),Tt&&Tt.c(),q=(0,a.DhX)(),Ot&&Ot.c(),Z=(0,a.DhX)(),Et&&Et.c(),J=(0,a.DhX)(),It&&It.c(),tt=(0,a.DhX)(),et=(0,a.bGB)("div"),nt=(0,a.bGB)("dl"),it=(0,a.bGB)("dt"),rt=(0,a.fLW)("Response\n "),ot=(0,a.bGB)("i"),(0,a.YCL)(at.$$.fragment),st=(0,a.DhX)(),Mt&&Mt.c(),ct=(0,a.DhX)(),ut=(0,a.bGB)("div"),ht=(0,a.bGB)("pre"),dt=(0,a.fLW)(Bt),(0,a.Ljt)(i,"class","vc-table-col vc-table-col-4"),(0,a.Ljt)(o,"class","vc-table-col"),(0,a.Ljt)(l,"class","vc-table-col"),(0,a.Ljt)(u,"class","vc-table-col"),(0,a.Ljt)(n,"class","vc-table-row vc-group-preview"),(0,a.VHj)(n,"vc-table-row-error",t[10].status>=400),(0,a.Ljt)(m,"class","vc-table-row-icon"),(0,a.Ljt)(g,"class","vc-table-col vc-table-col-title"),(0,a.Ljt)(A,"class","vc-table-row vc-left-border"),(0,a.Ljt)(w,"class","vc-table-col vc-table-col-2"),(0,a.Ljt)(C,"class","vc-table-col vc-table-col-4 vc-table-col-value vc-max-height-line"),(0,a.Ljt)(_,"class","vc-table-row vc-left-border vc-small"),(0,a.Ljt)(T,"class","vc-table-col vc-table-col-2"),(0,a.Ljt)(E,"class","vc-table-col vc-table-col-4 vc-table-col-value vc-max-height-line"),(0,a.Ljt)(k,"class","vc-table-row vc-left-border vc-small"),(0,a.Ljt)(L,"class","vc-table-col vc-table-col-2"),(0,a.Ljt)(P,"class","vc-table-col vc-table-col-4 vc-table-col-value vc-max-height-line"),(0,a.Ljt)(D,"class","vc-table-row vc-left-border vc-small"),(0,a.Ljt)(R,"class","vc-table-col vc-table-col-2"),(0,a.Ljt)(H,"class","vc-table-col vc-table-col-4 vc-table-col-value vc-max-height-line"),(0,a.Ljt)(U,"class","vc-table-row vc-left-border vc-small"),(0,a.Ljt)(G,"class","vc-table-col vc-table-col-2"),(0,a.Ljt)(K,"class","vc-table-col vc-table-col-4 vc-table-col-value vc-max-height-line"),(0,a.Ljt)($,"class","vc-table-row vc-left-border vc-small"),(0,a.Ljt)(ot,"class","vc-table-row-icon"),(0,a.Ljt)(it,"class","vc-table-col vc-table-col-title"),(0,a.Ljt)(nt,"class","vc-table-row vc-left-border"),(0,a.Ljt)(ht,"class","vc-table-col vc-max-height vc-min-height"),(0,a.Ljt)(ht,"data-scrollable","1"),(0,a.Ljt)(ut,"class","vc-table-row vc-left-border vc-small"),(0,a.Ljt)(f,"class","vc-group-detail"),(0,a.Ljt)(e,"slot","item"),(0,a.Ljt)(e,"class","vc-group"),(0,a.Ljt)(e,"id",ft=t[10].id),(0,a.VHj)(e,"vc-actived",t[10].actived)},m:function(t,lt){(0,a.$Tr)(t,e,lt),(0,a.R3I)(e,n),(0,a.R3I)(n,i),(0,a.R3I)(i,r),(0,a.R3I)(n,o),(0,a.R3I)(o,s),(0,a.R3I)(n,l),(0,a.R3I)(l,c),(0,a.R3I)(n,u),(0,a.R3I)(u,h),(0,a.R3I)(e,d),(0,a.R3I)(e,f),(0,a.R3I)(f,p),(0,a.R3I)(p,A),(0,a.R3I)(A,g),(0,a.R3I)(g,v),(0,a.R3I)(g,m),(0,a.yef)(y,m,null),(0,a.R3I)(p,b),(0,a.R3I)(p,_),(0,a.R3I)(_,w),(0,a.R3I)(_,x),(0,a.R3I)(_,C),(0,a.R3I)(C,S),(0,a.R3I)(p,B),(0,a.R3I)(p,k),(0,a.R3I)(k,T),(0,a.R3I)(k,O),(0,a.R3I)(k,E),(0,a.R3I)(E,I),(0,a.R3I)(p,M),(0,a.R3I)(p,D),(0,a.R3I)(D,L),(0,a.R3I)(D,F),(0,a.R3I)(D,P),(0,a.R3I)(P,N),(0,a.R3I)(p,j),(0,a.R3I)(p,U),(0,a.R3I)(U,R),(0,a.R3I)(U,Q),(0,a.R3I)(U,H),(0,a.R3I)(H,V),(0,a.R3I)(p,z),(0,a.R3I)(p,$),(0,a.R3I)($,G),(0,a.R3I)($,W),(0,a.R3I)($,K),(0,a.R3I)(K,Y),(0,a.R3I)(f,X),Tt&&Tt.m(f,null),(0,a.R3I)(f,q),Ot&&Ot.m(f,null),(0,a.R3I)(f,Z),Et&&Et.m(f,null),(0,a.R3I)(f,J),It&&It.m(f,null),(0,a.R3I)(f,tt),(0,a.R3I)(f,et),(0,a.R3I)(et,nt),(0,a.R3I)(nt,it),(0,a.R3I)(it,rt),(0,a.R3I)(it,ot),(0,a.yef)(at,ot,null),(0,a.R3I)(et,st),Mt&&Mt.m(et,null),(0,a.R3I)(et,ct),(0,a.R3I)(et,ut),(0,a.R3I)(ut,ht),(0,a.R3I)(ht,dt),pt=!0,At||(gt=(0,a.oLt)(n,"click",kt),At=!0)},p:function(i,o){t=i,(!pt||1024&o)&&vt!==(vt=t[10].name+"")&&(0,a.rTO)(r,vt),(!pt||1024&o)&&mt!==(mt=t[10].method+"")&&(0,a.rTO)(s,mt),(!pt||1024&o)&&yt!==(yt=t[10].statusText+"")&&(0,a.rTO)(c,yt),(!pt||1024&o)&&bt!==(bt=t[10].costTime+"")&&(0,a.rTO)(h,bt),1024&o&&(0,a.VHj)(n,"vc-table-row-error",t[10].status>=400);var l={};1024&o&&(l.content=t[10]),y.$set(l),(!pt||1024&o)&&_t!==(_t=t[10].url+"")&&(0,a.rTO)(S,_t),(!pt||1024&o)&&wt!==(wt=t[10].method+"")&&(0,a.rTO)(I,wt),(!pt||1024&o)&&xt!==(xt=t[10].requestType+"")&&(0,a.rTO)(N,xt),(!pt||1024&o)&&Ct!==(Ct=t[10].status+"")&&(0,a.rTO)(V,Ct),(!pt||1024&o)&&St!==(St=t[10].startTimeText+"")&&(0,a.rTO)(Y,St),null!==t[10].requestHeader?Tt?(Tt.p(t,o),1024&o&&(0,a.Ui)(Tt,1)):((Tt=ei(t)).c(),(0,a.Ui)(Tt,1),Tt.m(f,q)):Tt&&((0,a.dvw)(),(0,a.etI)(Tt,1,1,function(){Tt=null}),(0,a.gbL)()),null!==t[10].getData?Ot?(Ot.p(t,o),1024&o&&(0,a.Ui)(Ot,1)):((Ot=ii(t)).c(),(0,a.Ui)(Ot,1),Ot.m(f,Z)):Ot&&((0,a.dvw)(),(0,a.etI)(Ot,1,1,function(){Ot=null}),(0,a.gbL)()),null!==t[10].postData?Et?(Et.p(t,o),1024&o&&(0,a.Ui)(Et,1)):((Et=oi(t)).c(),(0,a.Ui)(Et,1),Et.m(f,J)):Et&&((0,a.dvw)(),(0,a.etI)(Et,1,1,function(){Et=null}),(0,a.gbL)()),null!==t[10].header?It?(It.p(t,o),1024&o&&(0,a.Ui)(It,1)):((It=ci(t)).c(),(0,a.Ui)(It,1),It.m(f,tt)):It&&((0,a.dvw)(),(0,a.etI)(It,1,1,function(){It=null}),(0,a.gbL)());var u={};1024&o&&(u.content=t[10].response),at.$set(u),t[10].responseSize>0?Mt?Mt.p(t,o):((Mt=hi(t)).c(),Mt.m(et,ct)):Mt&&(Mt.d(1),Mt=null),(!pt||1024&o)&&Bt!==(Bt=(t[10].response||"")+"")&&(0,a.rTO)(dt,Bt),(!pt||1024&o&&ft!==(ft=t[10].id))&&(0,a.Ljt)(e,"id",ft),1024&o&&(0,a.VHj)(e,"vc-actived",t[10].actived)},i:function(t){pt||((0,a.Ui)(y.$$.fragment,t),(0,a.Ui)(Tt),(0,a.Ui)(Ot),(0,a.Ui)(Et),(0,a.Ui)(It),(0,a.Ui)(at.$$.fragment,t),pt=!0)},o:function(t){(0,a.etI)(y.$$.fragment,t),(0,a.etI)(Tt),(0,a.etI)(Ot),(0,a.etI)(Et),(0,a.etI)(It),(0,a.etI)(at.$$.fragment,t),pt=!1},d:function(t){t&&(0,a.ogt)(e),(0,a.vpE)(y),Tt&&Tt.d(),Ot&&Ot.d(),Et&&Et.d(),It&&It.d(),(0,a.vpE)(at),Mt&&Mt.d(),At=!1,gt()}}}function fi(t){var e,n,i,r;return i=new an({props:{items:t[1],itemKey:"id",itemHeight:30,buffer:100,stickToBottom:!0,scrollbar:!0,$$slots:{item:[di,function(t){return{10:t.item}},function(t){return t.item?1024:0}],empty:[ti],header:[Jn]},$$scope:{ctx:t}}}),{c:function(){e=(0,a.bGB)("div"),n=(0,a.bGB)("div"),(0,a.YCL)(i.$$.fragment),(0,a.Ljt)(n,"class","vc-plugin-content"),(0,a.Ljt)(e,"class","vc-table")},m:function(t,o){(0,a.$Tr)(t,e,o),(0,a.R3I)(e,n),(0,a.yef)(i,n,null),r=!0},p:function(t,e){var n=e[0],r={};2&n&&(r.items=t[1]),2098177&n&&(r.$$scope={dirty:n,ctx:t}),i.$set(r)},i:function(t){r||((0,a.Ui)(i.$$.fragment,t),r=!0)},o:function(t){(0,a.etI)(i.$$.fragment,t),r=!1},d:function(t){t&&(0,a.ogt)(e),(0,a.vpE)(i)}}}function pi(t,n,i){var r;(0,a.FIv)(t,Rn,function(t){return i(6,r=t)});var o=0,l=function(t){i(0,o=Object.keys(t).length)},c=Rn.subscribe(l);l(r);var u=[],h=function(t){(0,a.fxP)(Rn,r[t].actived=!r[t].actived,r)};return(0,s.H3)(function(){Wn.use()}),(0,s.ev)(function(){c(),Wn.unuse()}),t.$$.update=function(){64&t.$$.dirty&&i(1,u=Object.values(r))},[o,u,h,function(t){var n="curl -X "+t.method;return"string"==typeof t.postData?n+=" -d '"+t.postData+"'":"object"==typeof t.postData&&null!==t.postData&&(n+=" -d '"+e.hZ(t.postData)+"'"),n+" '"+t.url+"'"},function(t){return e.Kn(t)||e.kJ(t)?e.hZ(t,{maxDepth:10,keyMaxLen:1e4,pretty:!0}):t},{fixedHeight:!0},r,function(t){return h(t.id)}]}var Ai=function(e){function n(t){var n;return n=e.call(this)||this,(0,a.S1n)((0,r.Z)(n),t,pi,fi,a.N8,{options:5}),n}return(0,o.Z)(n,e),(0,t.Z)(n,[{key:"options",get:function(){return this.$$.ctx[5]}}]),n}(a.f_C),gi=function(t){function e(){for(var e,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return(e=t.call.apply(t,[this].concat(i))||this).model=Qn.getSingleton(Qn,"VConsoleNetworkModel"),e}(0,o.Z)(e,t);var n=e.prototype;return n.add=function(t){var e=new On(new Tn);for(var n in t)e[n]=t[n];return e.startTime=e.startTime||Date.now(),e.requestType=e.requestType||"custom",this.model.updateRequest(e.id,e),e},n.update=function(t,e){this.model.updateRequest(t,e)},n.clear=function(){this.model.clearLog()},e}(An),vi=function(t){function e(e,n,i){var r;return void 0===i&&(i={}),(r=t.call(this,e,n,Ai,i)||this).model=Qn.getSingleton(Qn,"VConsoleNetworkModel"),r.exporter=void 0,r.exporter=new gi(e),r}(0,o.Z)(e,t);var n=e.prototype;return n.onReady=function(){t.prototype.onReady.call(this),this.onUpdateOption()},n.onAddTool=function(t){var e=this;t([{name:"Clear",global:!1,onClick:function(t){e.model.clearLog()}}])},n.onRemove=function(){t.prototype.onRemove.call(this),this.model&&this.model.unMock()},n.onUpdateOption=function(){var t,e,n;(null==(t=this.vConsole.option.network)?void 0:t.maxNetworkNumber)!==this.model.maxNetworkNumber&&(this.model.maxNetworkNumber=Number(null==(n=this.vConsole.option.network)?void 0:n.maxNetworkNumber)||1e3),null!=(e=this.vConsole.option.network)&&e.ignoreUrlRegExp&&(this.model.ignoreUrlRegExp=this.vConsole.option.network.ignoreUrlRegExp)},e}(nt),mi=__webpack_require__(8679),yi=__webpack_require__.n(mi),bi=(0,bn.fZ)(),_i=(0,bn.fZ)(),wi=__webpack_require__(5670),xi={};wi.Z&&wi.Z.locals&&(xi.locals=wi.Z.locals);var Ci,Si=0,Bi={};Bi.styleTagTransform=y(),Bi.setAttributes=A(),Bi.insert=f().bind(null,"head"),Bi.domAPI=h(),Bi.insertStyleElement=v(),xi.use=function(t){return Bi.options=t||{},Si++||(Ci=c()(wi.Z,Bi)),xi},xi.unuse=function(){Si>0&&!--Si&&(Ci(),Ci=null)};var ki=xi;function Ti(t,e,n){var i=t.slice();return i[8]=e[n],i}function Oi(t,e,n){var i=t.slice();return i[11]=e[n],i}function Ei(t){var e,n,i,r=t[0].nodeType===Node.ELEMENT_NODE&&Ii(t),o=t[0].nodeType===Node.TEXT_NODE&&Hi(t);return{c:function(){e=(0,a.bGB)("div"),r&&r.c(),n=(0,a.DhX)(),o&&o.c(),(0,a.Ljt)(e,"class","vcelm-l"),(0,a.VHj)(e,"vc-actived",t[0]._isActived),(0,a.VHj)(e,"vc-toggle",t[0]._isExpand),(0,a.VHj)(e,"vcelm-noc",t[0]._isSingleLine)},m:function(t,s){(0,a.$Tr)(t,e,s),r&&r.m(e,null),(0,a.R3I)(e,n),o&&o.m(e,null),i=!0},p:function(t,i){t[0].nodeType===Node.ELEMENT_NODE?r?(r.p(t,i),1&i&&(0,a.Ui)(r,1)):((r=Ii(t)).c(),(0,a.Ui)(r,1),r.m(e,n)):r&&((0,a.dvw)(),(0,a.etI)(r,1,1,function(){r=null}),(0,a.gbL)()),t[0].nodeType===Node.TEXT_NODE?o?o.p(t,i):((o=Hi(t)).c(),o.m(e,null)):o&&(o.d(1),o=null),1&i&&(0,a.VHj)(e,"vc-actived",t[0]._isActived),1&i&&(0,a.VHj)(e,"vc-toggle",t[0]._isExpand),1&i&&(0,a.VHj)(e,"vcelm-noc",t[0]._isSingleLine)},i:function(t){i||((0,a.Ui)(r),i=!0)},o:function(t){(0,a.etI)(r),i=!1},d:function(t){t&&(0,a.ogt)(e),r&&r.d(),o&&o.d()}}}function Ii(t){var e,n,i,r,o,s,l,c,u,h,d=t[0].nodeName+"",f=(t[0].className||t[0].attributes.length)&&Mi(t),p=t[0]._isNullEndTag&&Pi(t),A=t[0].childNodes.length>0&&Ni(t),g=!t[0]._isNullEndTag&&Qi(t);return{c:function(){e=(0,a.bGB)("span"),n=(0,a.fLW)("<"),i=(0,a.fLW)(d),f&&f.c(),r=(0,a.cSb)(),p&&p.c(),o=(0,a.fLW)(">"),A&&A.c(),s=(0,a.cSb)(),g&&g.c(),l=(0,a.cSb)(),(0,a.Ljt)(e,"class","vcelm-node")},m:function(d,v){(0,a.$Tr)(d,e,v),(0,a.R3I)(e,n),(0,a.R3I)(e,i),f&&f.m(e,null),(0,a.R3I)(e,r),p&&p.m(e,null),(0,a.R3I)(e,o),A&&A.m(d,v),(0,a.$Tr)(d,s,v),g&&g.m(d,v),(0,a.$Tr)(d,l,v),c=!0,u||(h=(0,a.oLt)(e,"click",t[2]),u=!0)},p:function(t,n){(!c||1&n)&&d!==(d=t[0].nodeName+"")&&(0,a.rTO)(i,d),t[0].className||t[0].attributes.length?f?f.p(t,n):((f=Mi(t)).c(),f.m(e,r)):f&&(f.d(1),f=null),t[0]._isNullEndTag?p||((p=Pi(t)).c(),p.m(e,o)):p&&(p.d(1),p=null),t[0].childNodes.length>0?A?(A.p(t,n),1&n&&(0,a.Ui)(A,1)):((A=Ni(t)).c(),(0,a.Ui)(A,1),A.m(s.parentNode,s)):A&&((0,a.dvw)(),(0,a.etI)(A,1,1,function(){A=null}),(0,a.gbL)()),t[0]._isNullEndTag?g&&(g.d(1),g=null):g?g.p(t,n):((g=Qi(t)).c(),g.m(l.parentNode,l))},i:function(t){c||((0,a.Ui)(A),c=!0)},o:function(t){(0,a.etI)(A),c=!1},d:function(t){t&&(0,a.ogt)(e),f&&f.d(),p&&p.d(),A&&A.d(t),t&&(0,a.ogt)(s),g&&g.d(t),t&&(0,a.ogt)(l),u=!1,h()}}}function Mi(t){for(var e,n=t[0].attributes,i=[],r=0;r<n.length;r+=1)i[r]=Fi(Oi(t,n,r));return{c:function(){e=(0,a.bGB)("i");for(var t=0;t<i.length;t+=1)i[t].c();(0,a.Ljt)(e,"class","vcelm-k")},m:function(t,n){(0,a.$Tr)(t,e,n);for(var r=0;r<i.length;r+=1)i[r].m(e,null)},p:function(t,r){if(1&r){var o;for(n=t[0].attributes,o=0;o<n.length;o+=1){var a=Oi(t,n,o);i[o]?i[o].p(a,r):(i[o]=Fi(a),i[o].c(),i[o].m(e,null))}for(;o<i.length;o+=1)i[o].d(1);i.length=n.length}},d:function(t){t&&(0,a.ogt)(e),(0,a.RMB)(i,t)}}}function Di(t){var e,n=t[11].name+"";return{c:function(){e=(0,a.fLW)(n)},m:function(t,n){(0,a.$Tr)(t,e,n)},p:function(t,i){1&i&&n!==(n=t[11].name+"")&&(0,a.rTO)(e,n)},d:function(t){t&&(0,a.ogt)(e)}}}function Li(t){var e,n,i,r,o,s=t[11].name+"",l=t[11].value+"";return{c:function(){e=(0,a.fLW)(s),n=(0,a.fLW)('="'),i=(0,a.bGB)("i"),r=(0,a.fLW)(l),o=(0,a.fLW)('"'),(0,a.Ljt)(i,"class","vcelm-v")},m:function(t,s){(0,a.$Tr)(t,e,s),(0,a.$Tr)(t,n,s),(0,a.$Tr)(t,i,s),(0,a.R3I)(i,r),(0,a.$Tr)(t,o,s)},p:function(t,n){1&n&&s!==(s=t[11].name+"")&&(0,a.rTO)(e,s),1&n&&l!==(l=t[11].value+"")&&(0,a.rTO)(r,l)},d:function(t){t&&(0,a.ogt)(e),t&&(0,a.ogt)(n),t&&(0,a.ogt)(i),t&&(0,a.ogt)(o)}}}function Fi(t){var e,n;function i(t,e){return""!==t[11].value?Li:Di}var r=i(t),o=r(t);return{c:function(){e=(0,a.fLW)(" \n "),o.c(),n=(0,a.cSb)()},m:function(t,i){(0,a.$Tr)(t,e,i),o.m(t,i),(0,a.$Tr)(t,n,i)},p:function(t,e){r===(r=i(t))&&o?o.p(t,e):(o.d(1),(o=r(t))&&(o.c(),o.m(n.parentNode,n)))},d:function(t){t&&(0,a.ogt)(e),o.d(t),t&&(0,a.ogt)(n)}}}function Pi(t){var e;return{c:function(){e=(0,a.fLW)("/")},m:function(t,n){(0,a.$Tr)(t,e,n)},d:function(t){t&&(0,a.ogt)(e)}}}function Ni(t){var e,n,i,r,o=[Ui,ji],s=[];function l(t,e){return t[0]._isExpand?1:0}return e=l(t),n=s[e]=o[e](t),{c:function(){n.c(),i=(0,a.cSb)()},m:function(t,n){s[e].m(t,n),(0,a.$Tr)(t,i,n),r=!0},p:function(t,r){var c=e;(e=l(t))===c?s[e].p(t,r):((0,a.dvw)(),(0,a.etI)(s[c],1,1,function(){s[c]=null}),(0,a.gbL)(),(n=s[e])?n.p(t,r):(n=s[e]=o[e](t)).c(),(0,a.Ui)(n,1),n.m(i.parentNode,i))},i:function(t){r||((0,a.Ui)(n),r=!0)},o:function(t){(0,a.etI)(n),r=!1},d:function(t){s[e].d(t),t&&(0,a.ogt)(i)}}}function ji(t){for(var e,n,i=t[0].childNodes,r=[],o=0;o<i.length;o+=1)r[o]=Ri(Ti(t,i,o));var s=function(t){return(0,a.etI)(r[t],1,1,function(){r[t]=null})};return{c:function(){for(var t=0;t<r.length;t+=1)r[t].c();e=(0,a.cSb)()},m:function(t,i){for(var o=0;o<r.length;o+=1)r[o].m(t,i);(0,a.$Tr)(t,e,i),n=!0},p:function(t,n){if(1&n){var o;for(i=t[0].childNodes,o=0;o<i.length;o+=1){var l=Ti(t,i,o);r[o]?(r[o].p(l,n),(0,a.Ui)(r[o],1)):(r[o]=Ri(l),r[o].c(),(0,a.Ui)(r[o],1),r[o].m(e.parentNode,e))}for((0,a.dvw)(),o=i.length;o<r.length;o+=1)s(o);(0,a.gbL)()}},i:function(t){if(!n){for(var e=0;e<i.length;e+=1)(0,a.Ui)(r[e]);n=!0}},o:function(t){r=r.filter(Boolean);for(var e=0;e<r.length;e+=1)(0,a.etI)(r[e]);n=!1},d:function(t){(0,a.RMB)(r,t),t&&(0,a.ogt)(e)}}}function Ui(t){var e;return{c:function(){e=(0,a.fLW)("...")},m:function(t,n){(0,a.$Tr)(t,e,n)},p:a.ZTd,i:a.ZTd,o:a.ZTd,d:function(t){t&&(0,a.ogt)(e)}}}function Ri(t){var e,n,i;return(e=new $i({props:{node:t[8]}})).$on("toggleNode",t[4]),{c:function(){(0,a.YCL)(e.$$.fragment),n=(0,a.DhX)()},m:function(t,r){(0,a.yef)(e,t,r),(0,a.$Tr)(t,n,r),i=!0},p:function(t,n){var i={};1&n&&(i.node=t[8]),e.$set(i)},i:function(t){i||((0,a.Ui)(e.$$.fragment,t),i=!0)},o:function(t){(0,a.etI)(e.$$.fragment,t),i=!1},d:function(t){(0,a.vpE)(e,t),t&&(0,a.ogt)(n)}}}function Qi(t){var e,n,i,r,o=t[0].nodeName+"";return{c:function(){e=(0,a.bGB)("span"),n=(0,a.fLW)("</"),i=(0,a.fLW)(o),r=(0,a.fLW)(">"),(0,a.Ljt)(e,"class","vcelm-node")},m:function(t,o){(0,a.$Tr)(t,e,o),(0,a.R3I)(e,n),(0,a.R3I)(e,i),(0,a.R3I)(e,r)},p:function(t,e){1&e&&o!==(o=t[0].nodeName+"")&&(0,a.rTO)(i,o)},d:function(t){t&&(0,a.ogt)(e)}}}function Hi(t){var e,n,i=t[1](t[0].textContent)+"";return{c:function(){e=(0,a.bGB)("span"),n=(0,a.fLW)(i),(0,a.Ljt)(e,"class","vcelm-t vcelm-noc")},m:function(t,i){(0,a.$Tr)(t,e,i),(0,a.R3I)(e,n)},p:function(t,e){1&e&&i!==(i=t[1](t[0].textContent)+"")&&(0,a.rTO)(n,i)},d:function(t){t&&(0,a.ogt)(e)}}}function Vi(t){var e,n,i=t[0]&&Ei(t);return{c:function(){i&&i.c(),e=(0,a.cSb)()},m:function(t,r){i&&i.m(t,r),(0,a.$Tr)(t,e,r),n=!0},p:function(t,n){var r=n[0];t[0]?i?(i.p(t,r),1&r&&(0,a.Ui)(i,1)):((i=Ei(t)).c(),(0,a.Ui)(i,1),i.m(e.parentNode,e)):i&&((0,a.dvw)(),(0,a.etI)(i,1,1,function(){i=null}),(0,a.gbL)())},i:function(t){n||((0,a.Ui)(i),n=!0)},o:function(t){(0,a.etI)(i),n=!1},d:function(t){i&&i.d(t),t&&(0,a.ogt)(e)}}}function zi(t,e,n){var i;(0,a.FIv)(t,_i,function(t){return n(3,i=t)});var r=e.node,o=(0,s.x)(),l=["br","hr","img","input","link","meta"];return(0,s.H3)(function(){ki.use()}),(0,s.ev)(function(){ki.unuse()}),t.$$set=function(t){"node"in t&&n(0,r=t.node)},t.$$.update=function(){9&t.$$.dirty&&r&&(n(0,r._isActived=r===i,r),n(0,r._isNullEndTag=function(t){return l.indexOf(t.nodeName)>-1}(r),r),n(0,r._isSingleLine=0===r.childNodes.length||r._isNullEndTag,r))},[r,function(t){return t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},function(){r._isNullEndTag||(n(0,r._isExpand=!r._isExpand,r),o("toggleNode",{node:r}))},i,function(e){a.cKT.call(this,t,e)}]}var $i=function(e){function n(t){var n;return n=e.call(this)||this,(0,a.S1n)((0,r.Z)(n),t,zi,Vi,a.N8,{node:0}),n}return(0,o.Z)(n,e),(0,t.Z)(n,[{key:"node",get:function(){return this.$$.ctx[0]},set:function(t){this.$$set({node:t}),(0,a.yl1)()}}]),n}(a.f_C),Gi=$i;function Wi(t){var e,n,i;return(n=new Gi({props:{node:t[0]}})).$on("toggleNode",t[1]),{c:function(){e=(0,a.bGB)("div"),(0,a.YCL)(n.$$.fragment),(0,a.Ljt)(e,"class","vc-plugin-content")},m:function(t,r){(0,a.$Tr)(t,e,r),(0,a.yef)(n,e,null),i=!0},p:function(t,e){var i={};1&e[0]&&(i.node=t[0]),n.$set(i)},i:function(t){i||((0,a.Ui)(n.$$.fragment,t),i=!0)},o:function(t){(0,a.etI)(n.$$.fragment,t),i=!1},d:function(t){t&&(0,a.ogt)(e),(0,a.vpE)(n)}}}function Ki(t,e,n){var i;return(0,a.FIv)(t,bi,function(t){return n(0,i=t)}),[i,function(e){a.cKT.call(this,t,e)}]}var Yi=function(t){function e(e){var n;return n=t.call(this)||this,(0,a.S1n)((0,r.Z)(n),e,Ki,Wi,a.N8,{}),n}return(0,o.Z)(e,t),e}(a.f_C),Xi=function(t){function e(e,n,i){var r;return void 0===i&&(i={}),(r=t.call(this,e,n,Yi,i)||this).isInited=!1,r.observer=void 0,r.nodeMap=void 0,r}(0,o.Z)(e,t);var n=e.prototype;return n.onShow=function(){this.isInited||this._init()},n.onRemove=function(){t.prototype.onRemove.call(this),this.isInited&&(this.observer.disconnect(),this.isInited=!1,this.nodeMap=void 0,bi.set(void 0))},n.onAddTool=function(t){var e=this;t([{name:"Expand",global:!1,onClick:function(t){e._expandActivedNode()}},{name:"Collapse",global:!1,onClick:function(t){e._collapseActivedNode()}}])},n._init=function(){var t=this;this.isInited=!0,this.nodeMap=new WeakMap;var e=this._generateVNode(document.documentElement);e._isExpand=!0,_i.set(e),bi.set(e),this.compInstance.$on("toggleNode",function(t){_i.set(t.detail.node)}),this.observer=new(yi())(function(e){for(var n=0;n<e.length;n++){var i=e[n];t._isInVConsole(i.target)||t._handleMutation(i)}}),this.observer.observe(document.documentElement,{attributes:!0,childList:!0,characterData:!0,subtree:!0})},n._handleMutation=function(t){switch(t.type){case"childList":t.removedNodes.length>0&&this._onChildRemove(t),t.addedNodes.length>0&&this._onChildAdd(t);break;case"attributes":this._onAttributesChange(t);break;case"characterData":this._onCharacterDataChange(t)}},n._onChildRemove=function(t){var e=this.nodeMap.get(t.target);if(e){for(var n=0;n<t.removedNodes.length;n++){var i=this.nodeMap.get(t.removedNodes[n]);if(i){for(var r=0;r<e.childNodes.length;r++)if(e.childNodes[r]===i){e.childNodes.splice(r,1);break}this.nodeMap.delete(t.removedNodes[n])}}this._refreshStore()}},n._onChildAdd=function(t){var e=this.nodeMap.get(t.target);if(e){for(var n=0;n<t.addedNodes.length;n++){var i=t.addedNodes[n],r=this._generateVNode(i);if(r){var o=void 0,a=i;do{if(null===a.nextSibling)break;a.nodeType===Node.ELEMENT_NODE&&(o=this.nodeMap.get(a.nextSibling)||void 0),a=a.nextSibling}while(void 0===o);if(void 0===o)e.childNodes.push(r);else for(var s=0;s<e.childNodes.length;s++)if(e.childNodes[s]===o){e.childNodes.splice(s,0,r);break}}}this._refreshStore()}},n._onAttributesChange=function(t){this._updateVNodeAttributes(t.target),this._refreshStore()},n._onCharacterDataChange=function(t){var e=this.nodeMap.get(t.target);e&&(e.textContent=t.target.textContent,this._refreshStore())},n._generateVNode=function(t){if(!this._isIgnoredNode(t)){var e={nodeType:t.nodeType,nodeName:t.nodeName.toLowerCase(),textContent:"",id:"",className:"",attributes:[],childNodes:[]};if(this.nodeMap.set(t,e),e.nodeType!=t.TEXT_NODE&&e.nodeType!=t.DOCUMENT_TYPE_NODE||(e.textContent=t.textContent),t.childNodes.length>0){e.childNodes=[];for(var n=0;n<t.childNodes.length;n++){var i=this._generateVNode(t.childNodes[n]);i&&e.childNodes.push(i)}}return this._updateVNodeAttributes(t),e}},n._updateVNodeAttributes=function(t){var e=this.nodeMap.get(t);if(e&&t instanceof Element&&(e.id=t.id||"",e.className=t.className||"",t.hasAttributes&&t.hasAttributes())){e.attributes=[];for(var n=0;n<t.attributes.length;n++)e.attributes.push({name:t.attributes[n].name,value:t.attributes[n].value||""})}},n._expandActivedNode=function(){var t=(0,bn.U2)(_i);if(t._isExpand)for(var e=0;e<t.childNodes.length;e++)t.childNodes[e]._isExpand=!0;else t._isExpand=!0;this._refreshStore()},n._collapseActivedNode=function(){var t=(0,bn.U2)(_i);if(t._isExpand){for(var e=!1,n=0;n<t.childNodes.length;n++)t.childNodes[n]._isExpand&&(e=!0,t.childNodes[n]._isExpand=!1);e||(t._isExpand=!1),this._refreshStore()}},n._isIgnoredNode=function(t){if(t.nodeType===t.TEXT_NODE){if(""===t.textContent.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$|\n+/g,""))return!0}else if(t.nodeType===t.COMMENT_NODE)return!0;return!1},n._isInVConsole=function(t){for(var e=t;void 0!==e;){if("__vconsole"==e.id)return!0;e=e.parentElement||void 0}return!1},n._refreshStore=function(){bi.update(function(t){return t})},e}(nt);function qi(t,e,n,i,r,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function Zi(t){return function(){var e=this,n=arguments;return new Promise(function(i,r){var o=t.apply(e,n);function a(t){qi(o,i,r,a,s,"next",t)}function s(t){qi(o,i,r,a,s,"throw",t)}a(void 0)})}}var Ji=__webpack_require__(8270);function tr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function er(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?tr(Object(n),!0).forEach(function(e){(0,Ji.Z)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):tr(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var nr=function(t){if(!t||0===t.length)return{};for(var e={},n=t.split(";"),i=0;i<n.length;i++){var r=n[i].indexOf("=");if(!(r<0)){var o=n[i].substring(0,r).replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),a=n[i].substring(r+1,n[i].length);try{o=decodeURIComponent(o)}catch(t){}try{a=decodeURIComponent(a)}catch(t){}e[o]=a}}return e},ir=function(t,e,n){"undefined"!=typeof document&&void 0!==document.cookie&&(document.cookie=encodeURIComponent(t)+"="+encodeURIComponent(e)+function(t){void 0===t&&(t={});var e=t,n=e.path,i=e.domain,r=e.expires,o=e.secure,a=e.sameSite,s=["none","lax","strict"].indexOf((a||"").toLowerCase())>-1?a:null;return[null==n?"":";path="+n,null==i?"":";domain="+i,null==r?"":";expires="+r.toUTCString(),void 0===o||!1===o?"":";secure",null===s?"":";SameSite="+s].join("")}(n))},rr=function(){return"undefined"==typeof document||void 0===document.cookie?"":document.cookie},or=function(){function e(){}var n=e.prototype;return n.key=function(t){return t<this.keys.length?this.keys[t]:null},n.setItem=function(t,e,n){ir(t,e,n)},n.getItem=function(t){var e=nr(rr());return Object.prototype.hasOwnProperty.call(e,t)?e[t]:null},n.removeItem=function(t,e){for(var n,i,r=["","/"],o=(null==(n=location)||null==(i=n.hostname)?void 0:i.split("."))||[];o.length>1;)r.push(o.join(".")),o.shift();for(var a=0;a<r.length;a++)for(var s,l,c=(null==(s=location)||null==(l=s.pathname)?void 0:l.split("/"))||[],u="";c.length>0;){u+=("/"===u?"":"/")+c.shift();var h=er(er({},e),{},{path:u,domain:r[a],expires:new Date(0)});ir(t,"",h)}},n.clear=function(){for(var t=[].concat(this.keys),e=0;e<t.length;e++)this.removeItem(t[e])},(0,t.Z)(e,[{key:"length",get:function(){return this.keys.length}},{key:"keys",get:function(){var t=nr(rr());return Object.keys(t).sort()}}]),e}(),ar=function(){function n(){this.keys=[],this.currentSize=0,this.limitSize=0}var i=n.prototype;return i.key=function(t){return t<this.keys.length?this.keys[t]:null},i.prepare=function(){var t=Zi(Ae().mark(function t(){var n=this;return Ae().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",new Promise(function(t,i){(0,e.qt)("getStorageInfo",{success:function(e){n.keys=e?e.keys.sort():[],n.currentSize=e?e.currentSize:0,n.limitSize=e?e.limitSize:0,t(!0)},fail:function(){i(!1)}})}));case 1:case"end":return t.stop()}},t)}));return function(){return t.apply(this,arguments)}}(),i.getItem=function(t){return new Promise(function(n,i){(0,e.qt)("getStorage",{key:t,success:function(t){var e=t.data;if("object"==typeof t.data)try{e=JSON.stringify(t.data)}catch(t){}n(e)},fail:function(t){i(t)}})})},i.setItem=function(t,n){return new Promise(function(i,r){(0,e.qt)("setStorage",{key:t,data:n,success:function(t){i(t)},fail:function(t){r(t)}})})},i.removeItem=function(t){return new Promise(function(n,i){(0,e.qt)("removeStorage",{key:t,success:function(t){n(t)},fail:function(t){i(t)}})})},i.clear=function(){return new Promise(function(t,n){(0,e.qt)("clearStorage",{success:function(e){t(e)},fail:function(t){n(t)}})})},(0,t.Z)(n,[{key:"length",get:function(){return this.keys.length}}]),n}(),sr={updateTime:(0,bn.fZ)(0),activedName:(0,bn.fZ)(null),defaultStorages:(0,bn.fZ)(["cookies","localStorage","sessionStorage"])},lr=function(n){function i(){var t;return(t=n.call(this)||this).storage=new Map,sr.activedName.subscribe(function(t){var e=(0,bn.U2)(sr.defaultStorages);e.length>0&&-1===e.indexOf(t)&&sr.activedName.set(e[0])}),sr.defaultStorages.subscribe(function(e){-1===e.indexOf((0,bn.U2)(sr.activedName))&&sr.activedName.set(e[0]),t.updateEnabledStorages()}),t}(0,o.Z)(i,n);var r=i.prototype;return r.getItem=function(){var t=Zi(Ae().mark(function t(e){return Ae().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.activedStorage){t.next=2;break}return t.abrupt("return","");case 2:return t.next=4,this.promisify(this.activedStorage.getItem(e));case 4:return t.abrupt("return",t.sent);case 5:case"end":return t.stop()}},t,this)}));return function(e){return t.apply(this,arguments)}}(),r.setItem=function(){var t=Zi(Ae().mark(function t(e,n){var i;return Ae().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.activedStorage){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,this.promisify(this.activedStorage.setItem(e,n));case 4:return i=t.sent,this.refresh(),t.abrupt("return",i);case 7:case"end":return t.stop()}},t,this)}));return function(e,n){return t.apply(this,arguments)}}(),r.removeItem=function(){var t=Zi(Ae().mark(function t(e){var n;return Ae().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.activedStorage){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,this.promisify(this.activedStorage.removeItem(e));case 4:return n=t.sent,this.refresh(),t.abrupt("return",n);case 7:case"end":return t.stop()}},t,this)}));return function(e){return t.apply(this,arguments)}}(),r.clear=function(){var t=Zi(Ae().mark(function t(){var e;return Ae().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(this.activedStorage){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,this.promisify(this.activedStorage.clear());case 4:return e=t.sent,this.refresh(),t.abrupt("return",e);case 7:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}(),r.refresh=function(){sr.updateTime.set(Date.now())},r.getEntries=function(){var t=Zi(Ae().mark(function t(){var e,n,i,r,o;return Ae().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e=this.activedStorage){t.next=3;break}return t.abrupt("return",[]);case 3:if("function"!=typeof e.prepare){t.next=6;break}return t.next=6,e.prepare();case 6:n=[],i=0;case 8:if(!(i<e.length)){t.next=17;break}return r=e.key(i),t.next=12,this.getItem(r);case 12:o=t.sent,n.push([r,o]);case 14:i++,t.next=8;break;case 17:return t.abrupt("return",n);case 18:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}(),r.updateEnabledStorages=function(){var t=(0,bn.U2)(sr.defaultStorages);t.indexOf("cookies")>-1?void 0!==document.cookie&&this.storage.set("cookies",new or):this.deleteStorage("cookies"),t.indexOf("localStorage")>-1?window.localStorage&&this.storage.set("localStorage",window.localStorage):this.deleteStorage("localStorage"),t.indexOf("sessionStorage")>-1?window.sessionStorage&&this.storage.set("sessionStorage",window.sessionStorage):this.deleteStorage("sessionStorage"),t.indexOf("wxStorage")>-1?(0,e.H_)()&&this.storage.set("wxStorage",new ar):this.deleteStorage("wxStorage")},r.promisify=function(t){return"string"==typeof t||null==t?Promise.resolve(t):t},r.deleteStorage=function(t){this.storage.has(t)&&this.storage.delete(t)},(0,t.Z)(i,[{key:"activedStorage",get:function(){return this.storage.get((0,bn.U2)(sr.activedName))}}]),i}(_n.N);function cr(t,e,n){var i=t.slice();return i[20]=e[n][0],i[21]=e[n][1],i[23]=n,i}function ur(t){var e;return{c:function(){(e=(0,a.bGB)("div")).textContent="Empty",(0,a.Ljt)(e,"class","vc-plugin-empty")},m:function(t,n){(0,a.$Tr)(t,e,n)},p:a.ZTd,d:function(t){t&&(0,a.ogt)(e)}}}function hr(t){var e,n,i,r,o,s=t[20]+"",l=t[5](t[21])+"";return{c:function(){e=(0,a.bGB)("div"),n=(0,a.fLW)(s),i=(0,a.DhX)(),r=(0,a.bGB)("div"),o=(0,a.fLW)(l),(0,a.Ljt)(e,"class","vc-table-col"),(0,a.Ljt)(r,"class","vc-table-col vc-table-col-2")},m:function(t,s){(0,a.$Tr)(t,e,s),(0,a.R3I)(e,n),(0,a.$Tr)(t,i,s),(0,a.$Tr)(t,r,s),(0,a.R3I)(r,o)},p:function(t,e){1&e&&s!==(s=t[20]+"")&&(0,a.rTO)(n,s),1&e&&l!==(l=t[5](t[21])+"")&&(0,a.rTO)(o,l)},d:function(t){t&&(0,a.ogt)(e),t&&(0,a.ogt)(i),t&&(0,a.ogt)(r)}}}function dr(t){var e,n,i,r,o,s,l;return{c:function(){e=(0,a.bGB)("div"),n=(0,a.bGB)("textarea"),i=(0,a.DhX)(),r=(0,a.bGB)("div"),o=(0,a.bGB)("textarea"),(0,a.Ljt)(n,"class","vc-table-input"),(0,a.Ljt)(e,"class","vc-table-col"),(0,a.Ljt)(o,"class","vc-table-input"),(0,a.Ljt)(r,"class","vc-table-col vc-table-col-2")},m:function(c,u){(0,a.$Tr)(c,e,u),(0,a.R3I)(e,n),(0,a.BmG)(n,t[2]),(0,a.$Tr)(c,i,u),(0,a.$Tr)(c,r,u),(0,a.R3I)(r,o),(0,a.BmG)(o,t[3]),s||(l=[(0,a.oLt)(n,"input",t[11]),(0,a.oLt)(o,"input",t[12])],s=!0)},p:function(t,e){4&e&&(0,a.BmG)(n,t[2]),8&e&&(0,a.BmG)(o,t[3])},d:function(t){t&&(0,a.ogt)(e),t&&(0,a.ogt)(i),t&&(0,a.ogt)(r),s=!1,(0,a.j7q)(l)}}}function fr(t){var e,n,i,r,o,s;return(e=new ot.Z({props:{name:"delete"}})).$on("click",function(){return t[14](t[20])}),i=new lt({props:{content:[t[20],t[21]].join("=")}}),(o=new ot.Z({props:{name:"edit"}})).$on("click",function(){return t[15](t[20],t[21],t[23])}),{c:function(){(0,a.YCL)(e.$$.fragment),n=(0,a.DhX)(),(0,a.YCL)(i.$$.fragment),r=(0,a.DhX)(),(0,a.YCL)(o.$$.fragment)},m:function(t,l){(0,a.yef)(e,t,l),(0,a.$Tr)(t,n,l),(0,a.yef)(i,t,l),(0,a.$Tr)(t,r,l),(0,a.yef)(o,t,l),s=!0},p:function(e,n){t=e;var r={};1&n&&(r.content=[t[20],t[21]].join("=")),i.$set(r)},i:function(t){s||((0,a.Ui)(e.$$.fragment,t),(0,a.Ui)(i.$$.fragment,t),(0,a.Ui)(o.$$.fragment,t),s=!0)},o:function(t){(0,a.etI)(e.$$.fragment,t),(0,a.etI)(i.$$.fragment,t),(0,a.etI)(o.$$.fragment,t),s=!1},d:function(t){(0,a.vpE)(e,t),t&&(0,a.ogt)(n),(0,a.vpE)(i,t),t&&(0,a.ogt)(r),(0,a.vpE)(o,t)}}}function pr(t){var e,n,i,r;return(e=new ot.Z({props:{name:"cancel"}})).$on("click",t[9]),(i=new ot.Z({props:{name:"done"}})).$on("click",function(){return t[13](t[20])}),{c:function(){(0,a.YCL)(e.$$.fragment),n=(0,a.DhX)(),(0,a.YCL)(i.$$.fragment)},m:function(t,o){(0,a.yef)(e,t,o),(0,a.$Tr)(t,n,o),(0,a.yef)(i,t,o),r=!0},p:function(e,n){t=e},i:function(t){r||((0,a.Ui)(e.$$.fragment,t),(0,a.Ui)(i.$$.fragment,t),r=!0)},o:function(t){(0,a.etI)(e.$$.fragment,t),(0,a.etI)(i.$$.fragment,t),r=!1},d:function(t){(0,a.vpE)(e,t),t&&(0,a.ogt)(n),(0,a.vpE)(i,t)}}}function Ar(t){var e,n,i,r,o,s,l;function c(t,e){return t[1]===t[23]?dr:hr}var u=c(t),h=u(t),d=[pr,fr],f=[];function p(t,e){return t[1]===t[23]?0:1}return r=p(t),o=f[r]=d[r](t),{c:function(){e=(0,a.bGB)("div"),h.c(),n=(0,a.DhX)(),i=(0,a.bGB)("div"),o.c(),s=(0,a.DhX)(),(0,a.Ljt)(i,"class","vc-table-col vc-table-col-1 vc-table-action"),(0,a.Ljt)(e,"class","vc-table-row")},m:function(t,o){(0,a.$Tr)(t,e,o),h.m(e,null),(0,a.R3I)(e,n),(0,a.R3I)(e,i),f[r].m(i,null),(0,a.R3I)(e,s),l=!0},p:function(t,s){u===(u=c(t))&&h?h.p(t,s):(h.d(1),(h=u(t))&&(h.c(),h.m(e,n)));var l=r;(r=p(t))===l?f[r].p(t,s):((0,a.dvw)(),(0,a.etI)(f[l],1,1,function(){f[l]=null}),(0,a.gbL)(),(o=f[r])?o.p(t,s):(o=f[r]=d[r](t)).c(),(0,a.Ui)(o,1),o.m(i,null))},i:function(t){l||((0,a.Ui)(o),l=!0)},o:function(t){(0,a.etI)(o),l=!1},d:function(t){t&&(0,a.ogt)(e),h.d(),f[r].d()}}}function gr(t){for(var e,n,i,r,o=t[0],s=[],l=0;l<o.length;l+=1)s[l]=Ar(cr(t,o,l));var c=function(t){return(0,a.etI)(s[t],1,1,function(){s[t]=null})},u=null;return o.length||(u=ur()),{c:function(){e=(0,a.bGB)("div"),(n=(0,a.bGB)("div")).innerHTML='<div class="vc-table-col">Key</div> \n <div class="vc-table-col vc-table-col-2">Value</div> \n <div class="vc-table-col vc-table-col-1 vc-table-action"></div>',i=(0,a.DhX)();for(var t=0;t<s.length;t+=1)s[t].c();u&&u.c(),(0,a.Ljt)(n,"class","vc-table-row"),(0,a.Ljt)(e,"class","vc-table")},m:function(t,o){(0,a.$Tr)(t,e,o),(0,a.R3I)(e,n),(0,a.R3I)(e,i);for(var l=0;l<s.length;l+=1)s[l].m(e,null);u&&u.m(e,null),r=!0},p:function(t,n){var i=n[0];if(1007&i){var r;for(o=t[0],r=0;r<o.length;r+=1){var l=cr(t,o,r);s[r]?(s[r].p(l,i),(0,a.Ui)(s[r],1)):(s[r]=Ar(l),s[r].c(),(0,a.Ui)(s[r],1),s[r].m(e,null))}for((0,a.dvw)(),r=o.length;r<s.length;r+=1)c(r);(0,a.gbL)(),!o.length&&u?u.p(t,i):o.length?u&&(u.d(1),u=null):((u=ur()).c(),u.m(e,null))}},i:function(t){if(!r){for(var e=0;e<o.length;e+=1)(0,a.Ui)(s[e]);r=!0}},o:function(t){s=s.filter(Boolean);for(var e=0;e<s.length;e+=1)(0,a.etI)(s[e]);r=!1},d:function(t){t&&(0,a.ogt)(e),(0,a.RMB)(s,t),u&&u.d()}}}function vr(t,n,i){var r,o=this&&this.__awaiter||function(t,e,n,i){return new(n||(n=Promise))(function(r,o){function a(t){try{l(i.next(t))}catch(t){o(t)}}function s(t){try{l(i.throw(t))}catch(t){o(t)}}function l(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(a,s)}l((i=i.apply(t,e||[])).next())})},s=lr.getSingleton(lr,"VConsoleStorageModel"),l=sr.updateTime;(0,a.FIv)(t,l,function(t){return i(10,r=t)});var c=[],u=-1,h="",d="",f=function(){i(1,u=-1),i(2,h=""),i(3,d="")},p=function(t){return o(void 0,void 0,void 0,Ae().mark(function e(){return Ae().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s.removeItem(t);case 2:case"end":return e.stop()}},e)}))},A=function(t){return o(void 0,void 0,void 0,Ae().mark(function e(){return Ae().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(h===t){e.next=3;break}return e.next=3,s.removeItem(t);case 3:s.setItem(h,d),f();case 5:case"end":return e.stop()}},e)}))},g=function(t,e,n){return o(void 0,void 0,void 0,Ae().mark(function r(){return Ae().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:i(2,h=t),i(3,d=e),i(1,u=n);case 3:case"end":return r.stop()}},r)}))};return t.$$.update=function(){1024&t.$$.dirty&&r&&o(void 0,void 0,void 0,Ae().mark(function t(){return Ae().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return f(),t.t0=i,t.next=4,s.getEntries();case 4:t.t1=c=t.sent,(0,t.t0)(0,t.t1);case 6:case"end":return t.stop()}},t)}))},[c,u,h,d,l,function(t){return(0,e.id)(t,1024)},p,A,g,function(){f()},r,function(){h=this.value,i(2,h)},function(){d=this.value,i(3,d)},function(t){return A(t)},function(t){return p(t)},function(t,e,n){return g(t,e,n)}]}var mr=function(t){function e(e){var n;return n=t.call(this)||this,(0,a.S1n)((0,r.Z)(n),e,vr,gr,a.N8,{}),n}return(0,o.Z)(e,t),e}(a.f_C),yr=function(t){function n(e,n,i){var r;return void 0===i&&(i={}),(r=t.call(this,e,n,mr,i)||this).model=lr.getSingleton(lr,"VConsoleStorageModel"),r.onAddTopBarCallback=void 0,r}(0,o.Z)(n,t);var i=n.prototype;return i.onReady=function(){t.prototype.onReady.call(this),this.onUpdateOption()},i.onShow=function(){this.model.refresh()},i.onAddTopBar=function(t){this.onAddTopBarCallback=t,this.updateTopBar()},i.onAddTool=function(t){var e=this;t([{name:"Add",global:!1,onClick:function(){e.model.setItem("new_"+Date.now(),"new_value")}},{name:"Refresh",global:!1,onClick:function(){e.model.refresh()}},{name:"Clear",global:!1,onClick:function(){e.model.clear()}}])},i.onUpdateOption=function(){var t,n=null==(t=this.vConsole.option.storage)?void 0:t.defaultStorages;(0,e.kJ)(n)&&(n=n.length>0?n:["cookies"])!==(0,bn.U2)(sr.defaultStorages)&&(sr.defaultStorages.set(n),sr.activedName.set(n[0]),this.updateTopBar())},i.updateTopBar=function(){var t=this;if("function"==typeof this.onAddTopBarCallback){for(var e=(0,bn.U2)(sr.defaultStorages),n=[],i=0;i<e.length;i++){var r=e[i];n.push({name:r[0].toUpperCase()+r.substring(1),data:{name:r},actived:r===(0,bn.U2)(sr.activedName),onClick:function(e,n){var i=(0,bn.U2)(sr.activedName);if(n.name===i)return!1;sr.activedName.set(n.name),t.model.refresh()}})}this.onAddTopBarCallback(n)}},n}(nt),br=function(){function n(t){var r=this;if(this.version="3.15.1",this.isInited=!1,this.option={},this.compInstance=void 0,this.pluginList={},this.log=void 0,this.system=void 0,this.network=void 0,n.instance&&n.instance instanceof n)return console.debug("[vConsole] vConsole is already exists."),n.instance;if(n.instance=this,this.isInited=!1,this.option={defaultPlugins:["system","network","element","storage"],log:{},network:{},storage:{}},e.Kn(t))for(var o in t)this.option[o]=t[o];void 0!==this.option.maxLogNumber&&(this.option.log.maxLogNumber=this.option.maxLogNumber,console.debug("[vConsole] Deprecated option: `maxLogNumber`, use `log.maxLogNumber` instead.")),void 0!==this.option.onClearLog&&console.debug("[vConsole] Deprecated option: `onClearLog`."),void 0!==this.option.maxNetworkNumber&&(this.option.network.maxNetworkNumber=this.option.maxNetworkNumber,console.debug("[vConsole] Deprecated option: `maxNetworkNumber`, use `network.maxNetworkNumber` instead.")),this._addBuiltInPlugins();var a,s=function(){r.isInited||(r._initComponent(),r._autoRun())};void 0!==document?"loading"===document.readyState?i.bind(window,"DOMContentLoaded",s):s():a=setTimeout(function t(){document&&"complete"==document.readyState?(a&&clearTimeout(a),s()):a=setTimeout(t,1)},1)}var r=n.prototype;return r._addBuiltInPlugins=function(){this.addPlugin(new mn("default","Log"));var t=this.option.defaultPlugins,n={system:{proto:yn,name:"System"}};if(n.network={proto:vi,name:"Network"},n.element={proto:Xi,name:"Element"},n.storage={proto:yr,name:"Storage"},t&&e.kJ(t))for(var i=0;i<t.length;i++){var r=n[t[i]];r?this.addPlugin(new r.proto(t[i],r.name)):console.debug("[vConsole] Unrecognized default plugin ID:",t[i])}},r._initComponent=function(){var t=this;if(!i.one("#__vconsole")){var n,r=1*e.cF("switch_x"),o=1*e.cF("switch_y");"string"==typeof this.option.target?n=document.querySelector(this.option.target):this.option.target instanceof HTMLElement&&(n=this.option.target),n instanceof HTMLElement||(n=document.documentElement),this.compInstance=new tt({target:n,props:{switchButtonPosition:{x:r,y:o}}}),this.compInstance.$on("show",function(e){e.detail.show?t.show():t.hide()}),this.compInstance.$on("changePanel",function(e){var n=e.detail.pluginId;t.showPlugin(n)})}this._updateComponentByOptions()},r._updateComponentByOptions=function(){if(this.compInstance){if(this.compInstance.theme!==this.option.theme){var t=this.option.theme;t="light"!==t&&"dark"!==t?"":t,this.compInstance.theme=t}this.compInstance.disableScrolling!==this.option.disableLogScrolling&&(this.compInstance.disableScrolling=!!this.option.disableLogScrolling)}},r.setSwitchPosition=function(t,e){this.compInstance.switchButtonPosition={x:t,y:e}},r._autoRun=function(){for(var t in this.isInited=!0,this.pluginList)this._initPlugin(this.pluginList[t]);this._showFirstPluginWhenEmpty(),this.triggerEvent("ready")},r._showFirstPluginWhenEmpty=function(){var t=Object.keys(this.pluginList);""===this.compInstance.activedPluginId&&t.length>0&&this.showPlugin(t[0])},r.triggerEvent=function(t,n){var i=this;t="on"+t.charAt(0).toUpperCase()+t.slice(1),e.mf(this.option[t])&&setTimeout(function(){i.option[t].apply(i,n)},0)},r._initPlugin=function(t){var e=this;t.vConsole=this,this.compInstance.pluginList[t.id]={id:t.id,name:t.name,hasTabPanel:!1,tabOptions:void 0,topbarList:[],toolbarList:[],content:void 0,contentContainer:void 0},this.compInstance.pluginList=this._reorderPluginList(this.compInstance.pluginList),t.trigger("init"),t.trigger("renderTab",function(n,i){void 0===i&&(i={});var r=e.compInstance.pluginList[t.id];r.hasTabPanel=!0,r.tabOptions=i,n&&(e.compInstance.pluginList[t.id].content=n),e.compInstance.pluginList=e.compInstance.pluginList}),t.trigger("addTopBar",function(n){if(n){for(var i=[],r=0;r<n.length;r++){var o=n[r];i.push({name:o.name||"Undefined",className:o.className||"",actived:!!o.actived,data:o.data,onClick:o.onClick})}e.compInstance.pluginList[t.id].topbarList=i,e.compInstance.pluginList=e.compInstance.pluginList}}),t.trigger("addTool",function(n){if(n){for(var i=[],r=0;r<n.length;r++){var o=n[r];i.push({name:o.name||"Undefined",global:!!o.global,data:o.data,onClick:o.onClick})}e.compInstance.pluginList[t.id].toolbarList=i,e.compInstance.pluginList=e.compInstance.pluginList}}),t.isReady=!0,t.trigger("ready")},r._triggerPluginsEvent=function(t){for(var e in this.pluginList)this.pluginList[e].isReady&&this.pluginList[e].trigger(t)},r._triggerPluginEvent=function(t,e){var n=this.pluginList[t];n&&n.isReady&&n.trigger(e)},r._reorderPluginList=function(t){var n=this;if(!e.kJ(this.option.pluginOrder))return t;for(var i=Object.keys(t).sort(function(t,e){var i=n.option.pluginOrder.indexOf(t),r=n.option.pluginOrder.indexOf(e);return i===r?0:-1===i?1:-1===r?-1:i-r}),r={},o=0;o<i.length;o++)r[i[o]]=t[i[o]];return r},r.addPlugin=function(t){return void 0!==this.pluginList[t.id]?(console.debug("[vConsole] Plugin `"+t.id+"` has already been added."),!1):(this.pluginList[t.id]=t,this.isInited&&(this._initPlugin(t),this._showFirstPluginWhenEmpty()),!0)},r.removePlugin=function(t){t=(t+"").toLowerCase();var e=this.pluginList[t];if(void 0===e)return console.debug("[vConsole] Plugin `"+t+"` does not exist."),!1;e.trigger("remove");try{delete this.pluginList[t],delete this.compInstance.pluginList[t]}catch(e){this.pluginList[t]=void 0,this.compInstance.pluginList[t]=void 0}return this.compInstance.pluginList=this.compInstance.pluginList,this.compInstance.activedPluginId==t&&(this.compInstance.activedPluginId="",this._showFirstPluginWhenEmpty()),!0},r.show=function(){this.isInited&&(this.compInstance.show=!0,this._triggerPluginsEvent("showConsole"))},r.hide=function(){this.isInited&&(this.compInstance.show=!1,this._triggerPluginsEvent("hideConsole"))},r.showSwitch=function(){this.isInited&&(this.compInstance.showSwitchButton=!0)},r.hideSwitch=function(){this.isInited&&(this.compInstance.showSwitchButton=!1)},r.showPlugin=function(t){this.isInited&&(this.pluginList[t]||console.debug("[vConsole] Plugin `"+t+"` does not exist."),this.compInstance.activedPluginId&&this._triggerPluginEvent(this.compInstance.activedPluginId,"hide"),this.compInstance.activedPluginId=t,this._triggerPluginEvent(this.compInstance.activedPluginId,"show"))},r.setOption=function(t,n){if("string"==typeof t){for(var i=t.split("."),r=this.option,o=0;o<i.length;o++){if("__proto__"===i[o]||"constructor"===i[o]||"prototype"===i[o])return void console.debug("[vConsole] Cannot set `"+i[o]+"` in `vConsole.setOption()`.");void 0===r[i[o]]&&(r[i[o]]={}),o===i.length-1&&(r[i[o]]=n),r=r[i[o]]}this._triggerPluginsEvent("updateOption"),this._updateComponentByOptions()}else if(e.Kn(t)){for(var a in t)"__proto__"!==a&&"constructor"!==a&&"prototype"!==a?this.option[a]=t[a]:console.debug("[vConsole] Cannot set `"+a+"` in `vConsole.setOption()`.");this._triggerPluginsEvent("updateOption"),this._updateComponentByOptions()}else console.debug("[vConsole] The first parameter of `vConsole.setOption()` must be a string or an object.")},r.destroy=function(){if(this.isInited){this.isInited=!1,n.instance=void 0;for(var t=Object.keys(this.pluginList),e=t.length-1;e>=0;e--)this.removePlugin(t[e]);this.compInstance.$destroy()}},(0,t.Z)(n,null,[{key:"instance",get:function(){return window.__VCONSOLE_INSTANCE},set:function(t){void 0===t||t instanceof n?window.__VCONSOLE_INSTANCE=t:console.debug("[vConsole] Cannot set `VConsole.instance` because the value is not the instance of VConsole.")}}]),n}();br.VConsolePlugin=void 0,br.VConsoleLogPlugin=void 0,br.VConsoleDefaultPlugin=void 0,br.VConsoleSystemPlugin=void 0,br.VConsoleNetworkPlugin=void 0,br.VConsoleElementPlugin=void 0,br.VConsoleStoragePlugin=void 0,br.VConsolePlugin=et,br.VConsoleLogPlugin=vn,br.VConsoleDefaultPlugin=mn,br.VConsoleSystemPlugin=yn,br.VConsoleNetworkPlugin=vi,br.VConsoleElementPlugin=Xi,br.VConsoleStoragePlugin=yr;var _r=br}(),__webpack_exports__=__webpack_exports__.default,__webpack_exports__}()},module.exports=n()}).call(exports,__webpack_require__("DuR2"))},"M+GW":function(t,e,n){"use strict";var i=n("+N5+").isSpace;t.exports=function(t,e,n,r){var o,a,s,l,c,u,h,d,f,p,A,g,v,m,y,b,_,w,x,C,S=t.lineMax,B=t.bMarks[e]+t.tShift[e],k=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;if(62!==t.src.charCodeAt(B))return!1;if(r)return!0;for(p=[],A=[],m=[],y=[],w=t.md.block.ruler.getRules("blockquote"),v=t.parentType,t.parentType="blockquote",d=e;d<n&&(C=t.sCount[d]<t.blkIndent,!((B=t.bMarks[d]+t.tShift[d])>=(k=t.eMarks[d])));d++)if(62!==t.src.charCodeAt(B++)||C){if(u)break;for(_=!1,s=0,c=w.length;s<c;s++)if(w[s](t,d,n,!0)){_=!0;break}if(_){t.lineMax=d,0!==t.blkIndent&&(p.push(t.bMarks[d]),A.push(t.bsCount[d]),y.push(t.tShift[d]),m.push(t.sCount[d]),t.sCount[d]-=t.blkIndent);break}p.push(t.bMarks[d]),A.push(t.bsCount[d]),y.push(t.tShift[d]),m.push(t.sCount[d]),t.sCount[d]=-1}else{for(l=t.sCount[d]+1,32===t.src.charCodeAt(B)?(B++,l++,o=!1,b=!0):9===t.src.charCodeAt(B)?(b=!0,(t.bsCount[d]+l)%4==3?(B++,l++,o=!1):o=!0):b=!1,f=l,p.push(t.bMarks[d]),t.bMarks[d]=B;B<k&&(a=t.src.charCodeAt(B),i(a));)9===a?f+=4-(f+t.bsCount[d]+(o?1:0))%4:f++,B++;u=B>=k,A.push(t.bsCount[d]),t.bsCount[d]=t.sCount[d]+1+(b?1:0),m.push(t.sCount[d]),t.sCount[d]=f-l,y.push(t.tShift[d]),t.tShift[d]=B-t.bMarks[d]}for(g=t.blkIndent,t.blkIndent=0,(x=t.push("blockquote_open","blockquote",1)).markup=">",x.map=h=[e,0],t.md.block.tokenize(t,e,d),(x=t.push("blockquote_close","blockquote",-1)).markup=">",t.lineMax=S,t.parentType=v,h[1]=t.line,s=0;s<y.length;s++)t.bMarks[s+e]=p[s],t.tShift[s+e]=y[s],t.sCount[s+e]=m[s],t.bsCount[s+e]=A[s];return t.blkIndent=g,!0}},M4fF:function(t,e,n){(function(t,i){var r;
  75. /**
  76. * @license
  77. * Lodash <https://lodash.com/>
  78. * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
  79. * Released under MIT license <https://lodash.com/license>
  80. * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
  81. * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
  82. */(function(){var o,a=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",c="Invalid `variable` option passed into `_.template`",u="__lodash_hash_undefined__",h=500,d="__lodash_placeholder__",f=1,p=2,A=4,g=1,v=2,m=1,y=2,b=4,_=8,w=16,x=32,C=64,S=128,B=256,k=512,T=30,O="...",E=800,I=16,M=1,D=2,L=1/0,F=9007199254740991,P=1.7976931348623157e308,N=NaN,j=4294967295,U=j-1,R=j>>>1,Q=[["ary",S],["bind",m],["bindKey",y],["curry",_],["curryRight",w],["flip",k],["partial",x],["partialRight",C],["rearg",B]],H="[object Arguments]",V="[object Array]",z="[object AsyncFunction]",$="[object Boolean]",G="[object Date]",W="[object DOMException]",K="[object Error]",Y="[object Function]",X="[object GeneratorFunction]",q="[object Map]",Z="[object Number]",J="[object Null]",tt="[object Object]",et="[object Proxy]",nt="[object RegExp]",it="[object Set]",rt="[object String]",ot="[object Symbol]",at="[object Undefined]",st="[object WeakMap]",lt="[object WeakSet]",ct="[object ArrayBuffer]",ut="[object DataView]",ht="[object Float32Array]",dt="[object Float64Array]",ft="[object Int8Array]",pt="[object Int16Array]",At="[object Int32Array]",gt="[object Uint8Array]",vt="[object Uint8ClampedArray]",mt="[object Uint16Array]",yt="[object Uint32Array]",bt=/\b__p \+= '';/g,_t=/\b(__p \+=) '' \+/g,wt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,xt=/&(?:amp|lt|gt|quot|#39);/g,Ct=/[&<>"']/g,St=RegExp(xt.source),Bt=RegExp(Ct.source),kt=/<%-([\s\S]+?)%>/g,Tt=/<%([\s\S]+?)%>/g,Ot=/<%=([\s\S]+?)%>/g,Et=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,It=/^\w*$/,Mt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Dt=/[\\^$.*+?()[\]{}|]/g,Lt=RegExp(Dt.source),Ft=/^\s+/,Pt=/\s/,Nt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,jt=/\{\n\/\* \[wrapped with (.+)\] \*/,Ut=/,? & /,Rt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Qt=/[()=,{}\[\]\/\s]/,Ht=/\\(\\)?/g,Vt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,zt=/\w*$/,$t=/^[-+]0x[0-9a-f]+$/i,Gt=/^0b[01]+$/i,Wt=/^\[object .+?Constructor\]$/,Kt=/^0o[0-7]+$/i,Yt=/^(?:0|[1-9]\d*)$/,Xt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,qt=/($^)/,Zt=/['\n\r\u2028\u2029\\]/g,Jt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",te="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ee="[\\ud800-\\udfff]",ne="["+te+"]",ie="["+Jt+"]",re="\\d+",oe="[\\u2700-\\u27bf]",ae="[a-z\\xdf-\\xf6\\xf8-\\xff]",se="[^\\ud800-\\udfff"+te+re+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",le="\\ud83c[\\udffb-\\udfff]",ce="[^\\ud800-\\udfff]",ue="(?:\\ud83c[\\udde6-\\uddff]){2}",he="[\\ud800-\\udbff][\\udc00-\\udfff]",de="[A-Z\\xc0-\\xd6\\xd8-\\xde]",fe="(?:"+ae+"|"+se+")",pe="(?:"+de+"|"+se+")",Ae="(?:"+ie+"|"+le+")"+"?",ge="[\\ufe0e\\ufe0f]?"+Ae+("(?:\\u200d(?:"+[ce,ue,he].join("|")+")[\\ufe0e\\ufe0f]?"+Ae+")*"),ve="(?:"+[oe,ue,he].join("|")+")"+ge,me="(?:"+[ce+ie+"?",ie,ue,he,ee].join("|")+")",ye=RegExp("['’]","g"),be=RegExp(ie,"g"),_e=RegExp(le+"(?="+le+")|"+me+ge,"g"),we=RegExp([de+"?"+ae+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[ne,de,"$"].join("|")+")",pe+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[ne,de+fe,"$"].join("|")+")",de+"?"+fe+"+(?:['’](?:d|ll|m|re|s|t|ve))?",de+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",re,ve].join("|"),"g"),xe=RegExp("[\\u200d\\ud800-\\udfff"+Jt+"\\ufe0e\\ufe0f]"),Ce=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Se=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Be=-1,ke={};ke[ht]=ke[dt]=ke[ft]=ke[pt]=ke[At]=ke[gt]=ke[vt]=ke[mt]=ke[yt]=!0,ke[H]=ke[V]=ke[ct]=ke[$]=ke[ut]=ke[G]=ke[K]=ke[Y]=ke[q]=ke[Z]=ke[tt]=ke[nt]=ke[it]=ke[rt]=ke[st]=!1;var Te={};Te[H]=Te[V]=Te[ct]=Te[ut]=Te[$]=Te[G]=Te[ht]=Te[dt]=Te[ft]=Te[pt]=Te[At]=Te[q]=Te[Z]=Te[tt]=Te[nt]=Te[it]=Te[rt]=Te[ot]=Te[gt]=Te[vt]=Te[mt]=Te[yt]=!0,Te[K]=Te[Y]=Te[st]=!1;var Oe={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ee=parseFloat,Ie=parseInt,Me="object"==typeof t&&t&&t.Object===Object&&t,De="object"==typeof self&&self&&self.Object===Object&&self,Le=Me||De||Function("return this")(),Fe="object"==typeof e&&e&&!e.nodeType&&e,Pe=Fe&&"object"==typeof i&&i&&!i.nodeType&&i,Ne=Pe&&Pe.exports===Fe,je=Ne&&Me.process,Ue=function(){try{var t=Pe&&Pe.require&&Pe.require("util").types;return t||je&&je.binding&&je.binding("util")}catch(t){}}(),Re=Ue&&Ue.isArrayBuffer,Qe=Ue&&Ue.isDate,He=Ue&&Ue.isMap,Ve=Ue&&Ue.isRegExp,ze=Ue&&Ue.isSet,$e=Ue&&Ue.isTypedArray;function Ge(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function We(t,e,n,i){for(var r=-1,o=null==t?0:t.length;++r<o;){var a=t[r];e(i,a,n(a),t)}return i}function Ke(t,e){for(var n=-1,i=null==t?0:t.length;++n<i&&!1!==e(t[n],n,t););return t}function Ye(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function Xe(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(!e(t[n],n,t))return!1;return!0}function qe(t,e){for(var n=-1,i=null==t?0:t.length,r=0,o=[];++n<i;){var a=t[n];e(a,n,t)&&(o[r++]=a)}return o}function Ze(t,e){return!!(null==t?0:t.length)&&cn(t,e,0)>-1}function Je(t,e,n){for(var i=-1,r=null==t?0:t.length;++i<r;)if(n(e,t[i]))return!0;return!1}function tn(t,e){for(var n=-1,i=null==t?0:t.length,r=Array(i);++n<i;)r[n]=e(t[n],n,t);return r}function en(t,e){for(var n=-1,i=e.length,r=t.length;++n<i;)t[r+n]=e[n];return t}function nn(t,e,n,i){var r=-1,o=null==t?0:t.length;for(i&&o&&(n=t[++r]);++r<o;)n=e(n,t[r],r,t);return n}function rn(t,e,n,i){var r=null==t?0:t.length;for(i&&r&&(n=t[--r]);r--;)n=e(n,t[r],r,t);return n}function on(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(e(t[n],n,t))return!0;return!1}var an=fn("length");function sn(t,e,n){var i;return n(t,function(t,n,r){if(e(t,n,r))return i=n,!1}),i}function ln(t,e,n,i){for(var r=t.length,o=n+(i?1:-1);i?o--:++o<r;)if(e(t[o],o,t))return o;return-1}function cn(t,e,n){return e==e?function(t,e,n){var i=n-1,r=t.length;for(;++i<r;)if(t[i]===e)return i;return-1}(t,e,n):ln(t,hn,n)}function un(t,e,n,i){for(var r=n-1,o=t.length;++r<o;)if(i(t[r],e))return r;return-1}function hn(t){return t!=t}function dn(t,e){var n=null==t?0:t.length;return n?gn(t,e)/n:N}function fn(t){return function(e){return null==e?o:e[t]}}function pn(t){return function(e){return null==t?o:t[e]}}function An(t,e,n,i,r){return r(t,function(t,r,o){n=i?(i=!1,t):e(n,t,r,o)}),n}function gn(t,e){for(var n,i=-1,r=t.length;++i<r;){var a=e(t[i]);a!==o&&(n=n===o?a:n+a)}return n}function vn(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}function mn(t){return t?t.slice(0,Fn(t)+1).replace(Ft,""):t}function yn(t){return function(e){return t(e)}}function bn(t,e){return tn(e,function(e){return t[e]})}function _n(t,e){return t.has(e)}function wn(t,e){for(var n=-1,i=t.length;++n<i&&cn(e,t[n],0)>-1;);return n}function xn(t,e){for(var n=t.length;n--&&cn(e,t[n],0)>-1;);return n}var Cn=pn({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Sn=pn({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function Bn(t){return"\\"+Oe[t]}function kn(t){return xe.test(t)}function Tn(t){var e=-1,n=Array(t.size);return t.forEach(function(t,i){n[++e]=[i,t]}),n}function On(t,e){return function(n){return t(e(n))}}function En(t,e){for(var n=-1,i=t.length,r=0,o=[];++n<i;){var a=t[n];a!==e&&a!==d||(t[n]=d,o[r++]=n)}return o}function In(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function Mn(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=[t,t]}),n}function Dn(t){return kn(t)?function(t){var e=_e.lastIndex=0;for(;_e.test(t);)++e;return e}(t):an(t)}function Ln(t){return kn(t)?function(t){return t.match(_e)||[]}(t):function(t){return t.split("")}(t)}function Fn(t){for(var e=t.length;e--&&Pt.test(t.charAt(e)););return e}var Pn=pn({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var Nn=function t(e){var n,i=(e=null==e?Le:Nn.defaults(Le.Object(),e,Nn.pick(Le,Se))).Array,r=e.Date,Pt=e.Error,Jt=e.Function,te=e.Math,ee=e.Object,ne=e.RegExp,ie=e.String,re=e.TypeError,oe=i.prototype,ae=Jt.prototype,se=ee.prototype,le=e["__core-js_shared__"],ce=ae.toString,ue=se.hasOwnProperty,he=0,de=(n=/[^.]+$/.exec(le&&le.keys&&le.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",fe=se.toString,pe=ce.call(ee),Ae=Le._,ge=ne("^"+ce.call(ue).replace(Dt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ve=Ne?e.Buffer:o,me=e.Symbol,_e=e.Uint8Array,xe=ve?ve.allocUnsafe:o,Oe=On(ee.getPrototypeOf,ee),Me=ee.create,De=se.propertyIsEnumerable,Fe=oe.splice,Pe=me?me.isConcatSpreadable:o,je=me?me.iterator:o,Ue=me?me.toStringTag:o,an=function(){try{var t=Qo(ee,"defineProperty");return t({},"",{}),t}catch(t){}}(),pn=e.clearTimeout!==Le.clearTimeout&&e.clearTimeout,jn=r&&r.now!==Le.Date.now&&r.now,Un=e.setTimeout!==Le.setTimeout&&e.setTimeout,Rn=te.ceil,Qn=te.floor,Hn=ee.getOwnPropertySymbols,Vn=ve?ve.isBuffer:o,zn=e.isFinite,$n=oe.join,Gn=On(ee.keys,ee),Wn=te.max,Kn=te.min,Yn=r.now,Xn=e.parseInt,qn=te.random,Zn=oe.reverse,Jn=Qo(e,"DataView"),ti=Qo(e,"Map"),ei=Qo(e,"Promise"),ni=Qo(e,"Set"),ii=Qo(e,"WeakMap"),ri=Qo(ee,"create"),oi=ii&&new ii,ai={},si=fa(Jn),li=fa(ti),ci=fa(ei),ui=fa(ni),hi=fa(ii),di=me?me.prototype:o,fi=di?di.valueOf:o,pi=di?di.toString:o;function Ai(t){if(Es(t)&&!ys(t)&&!(t instanceof yi)){if(t instanceof mi)return t;if(ue.call(t,"__wrapped__"))return pa(t)}return new mi(t)}var gi=function(){function t(){}return function(e){if(!Os(e))return{};if(Me)return Me(e);t.prototype=e;var n=new t;return t.prototype=o,n}}();function vi(){}function mi(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=o}function yi(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=j,this.__views__=[]}function bi(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function _i(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function wi(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function xi(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new wi;++e<n;)this.add(t[e])}function Ci(t){var e=this.__data__=new _i(t);this.size=e.size}function Si(t,e){var n=ys(t),i=!n&&ms(t),r=!n&&!i&&xs(t),o=!n&&!i&&!r&&js(t),a=n||i||r||o,s=a?vn(t.length,ie):[],l=s.length;for(var c in t)!e&&!ue.call(t,c)||a&&("length"==c||r&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Ko(c,l))||s.push(c);return s}function Bi(t){var e=t.length;return e?t[xr(0,e-1)]:o}function ki(t,e){return ua(ro(t),Pi(e,0,t.length))}function Ti(t){return ua(ro(t))}function Oi(t,e,n){(n===o||As(t[e],n))&&(n!==o||e in t)||Li(t,e,n)}function Ei(t,e,n){var i=t[e];ue.call(t,e)&&As(i,n)&&(n!==o||e in t)||Li(t,e,n)}function Ii(t,e){for(var n=t.length;n--;)if(As(t[n][0],e))return n;return-1}function Mi(t,e,n,i){return Qi(t,function(t,r,o){e(i,t,n(t),o)}),i}function Di(t,e){return t&&oo(e,al(e),t)}function Li(t,e,n){"__proto__"==e&&an?an(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function Fi(t,e){for(var n=-1,r=e.length,a=i(r),s=null==t;++n<r;)a[n]=s?o:el(t,e[n]);return a}function Pi(t,e,n){return t==t&&(n!==o&&(t=t<=n?t:n),e!==o&&(t=t>=e?t:e)),t}function Ni(t,e,n,i,r,a){var s,l=e&f,c=e&p,u=e&A;if(n&&(s=r?n(t,i,r,a):n(t)),s!==o)return s;if(!Os(t))return t;var h=ys(t);if(h){if(s=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&ue.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!l)return ro(t,s)}else{var d=zo(t),g=d==Y||d==X;if(xs(t))return Zr(t,l);if(d==tt||d==H||g&&!r){if(s=c||g?{}:Go(t),!l)return c?function(t,e){return oo(t,Vo(t),e)}(t,function(t,e){return t&&oo(e,sl(e),t)}(s,t)):function(t,e){return oo(t,Ho(t),e)}(t,Di(s,t))}else{if(!Te[d])return r?t:{};s=function(t,e,n){var i,r,o,a=t.constructor;switch(e){case ct:return Jr(t);case $:case G:return new a(+t);case ut:return function(t,e){var n=e?Jr(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case ht:case dt:case ft:case pt:case At:case gt:case vt:case mt:case yt:return to(t,n);case q:return new a;case Z:case rt:return new a(t);case nt:return(o=new(r=t).constructor(r.source,zt.exec(r))).lastIndex=r.lastIndex,o;case it:return new a;case ot:return i=t,fi?ee(fi.call(i)):{}}}(t,d,l)}}a||(a=new Ci);var v=a.get(t);if(v)return v;a.set(t,s),Fs(t)?t.forEach(function(i){s.add(Ni(i,e,n,i,t,a))}):Is(t)&&t.forEach(function(i,r){s.set(r,Ni(i,e,n,r,t,a))});var m=h?o:(u?c?Lo:Do:c?sl:al)(t);return Ke(m||t,function(i,r){m&&(i=t[r=i]),Ei(s,r,Ni(i,e,n,r,t,a))}),s}function ji(t,e,n){var i=n.length;if(null==t)return!i;for(t=ee(t);i--;){var r=n[i],a=e[r],s=t[r];if(s===o&&!(r in t)||!a(s))return!1}return!0}function Ui(t,e,n){if("function"!=typeof t)throw new re(l);return aa(function(){t.apply(o,n)},e)}function Ri(t,e,n,i){var r=-1,o=Ze,s=!0,l=t.length,c=[],u=e.length;if(!l)return c;n&&(e=tn(e,yn(n))),i?(o=Je,s=!1):e.length>=a&&(o=_n,s=!1,e=new xi(e));t:for(;++r<l;){var h=t[r],d=null==n?h:n(h);if(h=i||0!==h?h:0,s&&d==d){for(var f=u;f--;)if(e[f]===d)continue t;c.push(h)}else o(e,d,i)||c.push(h)}return c}Ai.templateSettings={escape:kt,evaluate:Tt,interpolate:Ot,variable:"",imports:{_:Ai}},Ai.prototype=vi.prototype,Ai.prototype.constructor=Ai,mi.prototype=gi(vi.prototype),mi.prototype.constructor=mi,yi.prototype=gi(vi.prototype),yi.prototype.constructor=yi,bi.prototype.clear=function(){this.__data__=ri?ri(null):{},this.size=0},bi.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},bi.prototype.get=function(t){var e=this.__data__;if(ri){var n=e[t];return n===u?o:n}return ue.call(e,t)?e[t]:o},bi.prototype.has=function(t){var e=this.__data__;return ri?e[t]!==o:ue.call(e,t)},bi.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=ri&&e===o?u:e,this},_i.prototype.clear=function(){this.__data__=[],this.size=0},_i.prototype.delete=function(t){var e=this.__data__,n=Ii(e,t);return!(n<0||(n==e.length-1?e.pop():Fe.call(e,n,1),--this.size,0))},_i.prototype.get=function(t){var e=this.__data__,n=Ii(e,t);return n<0?o:e[n][1]},_i.prototype.has=function(t){return Ii(this.__data__,t)>-1},_i.prototype.set=function(t,e){var n=this.__data__,i=Ii(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this},wi.prototype.clear=function(){this.size=0,this.__data__={hash:new bi,map:new(ti||_i),string:new bi}},wi.prototype.delete=function(t){var e=Uo(this,t).delete(t);return this.size-=e?1:0,e},wi.prototype.get=function(t){return Uo(this,t).get(t)},wi.prototype.has=function(t){return Uo(this,t).has(t)},wi.prototype.set=function(t,e){var n=Uo(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this},xi.prototype.add=xi.prototype.push=function(t){return this.__data__.set(t,u),this},xi.prototype.has=function(t){return this.__data__.has(t)},Ci.prototype.clear=function(){this.__data__=new _i,this.size=0},Ci.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Ci.prototype.get=function(t){return this.__data__.get(t)},Ci.prototype.has=function(t){return this.__data__.has(t)},Ci.prototype.set=function(t,e){var n=this.__data__;if(n instanceof _i){var i=n.__data__;if(!ti||i.length<a-1)return i.push([t,e]),this.size=++n.size,this;n=this.__data__=new wi(i)}return n.set(t,e),this.size=n.size,this};var Qi=lo(Yi),Hi=lo(Xi,!0);function Vi(t,e){var n=!0;return Qi(t,function(t,i,r){return n=!!e(t,i,r)}),n}function zi(t,e,n){for(var i=-1,r=t.length;++i<r;){var a=t[i],s=e(a);if(null!=s&&(l===o?s==s&&!Ns(s):n(s,l)))var l=s,c=a}return c}function $i(t,e){var n=[];return Qi(t,function(t,i,r){e(t,i,r)&&n.push(t)}),n}function Gi(t,e,n,i,r){var o=-1,a=t.length;for(n||(n=Wo),r||(r=[]);++o<a;){var s=t[o];e>0&&n(s)?e>1?Gi(s,e-1,n,i,r):en(r,s):i||(r[r.length]=s)}return r}var Wi=co(),Ki=co(!0);function Yi(t,e){return t&&Wi(t,e,al)}function Xi(t,e){return t&&Ki(t,e,al)}function qi(t,e){return qe(e,function(e){return Bs(t[e])})}function Zi(t,e){for(var n=0,i=(e=Kr(e,t)).length;null!=t&&n<i;)t=t[da(e[n++])];return n&&n==i?t:o}function Ji(t,e,n){var i=e(t);return ys(t)?i:en(i,n(t))}function tr(t){return null==t?t===o?at:J:Ue&&Ue in ee(t)?function(t){var e=ue.call(t,Ue),n=t[Ue];try{t[Ue]=o;var i=!0}catch(t){}var r=fe.call(t);return i&&(e?t[Ue]=n:delete t[Ue]),r}(t):function(t){return fe.call(t)}(t)}function er(t,e){return t>e}function nr(t,e){return null!=t&&ue.call(t,e)}function ir(t,e){return null!=t&&e in ee(t)}function rr(t,e,n){for(var r=n?Je:Ze,a=t[0].length,s=t.length,l=s,c=i(s),u=1/0,h=[];l--;){var d=t[l];l&&e&&(d=tn(d,yn(e))),u=Kn(d.length,u),c[l]=!n&&(e||a>=120&&d.length>=120)?new xi(l&&d):o}d=t[0];var f=-1,p=c[0];t:for(;++f<a&&h.length<u;){var A=d[f],g=e?e(A):A;if(A=n||0!==A?A:0,!(p?_n(p,g):r(h,g,n))){for(l=s;--l;){var v=c[l];if(!(v?_n(v,g):r(t[l],g,n)))continue t}p&&p.push(g),h.push(A)}}return h}function or(t,e,n){var i=null==(t=ia(t,e=Kr(e,t)))?t:t[da(Sa(e))];return null==i?o:Ge(i,t,n)}function ar(t){return Es(t)&&tr(t)==H}function sr(t,e,n,i,r){return t===e||(null==t||null==e||!Es(t)&&!Es(e)?t!=t&&e!=e:function(t,e,n,i,r,a){var s=ys(t),l=ys(e),c=s?V:zo(t),u=l?V:zo(e),h=(c=c==H?tt:c)==tt,d=(u=u==H?tt:u)==tt,f=c==u;if(f&&xs(t)){if(!xs(e))return!1;s=!0,h=!1}if(f&&!h)return a||(a=new Ci),s||js(t)?Io(t,e,n,i,r,a):function(t,e,n,i,r,o,a){switch(n){case ut:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case ct:return!(t.byteLength!=e.byteLength||!o(new _e(t),new _e(e)));case $:case G:case Z:return As(+t,+e);case K:return t.name==e.name&&t.message==e.message;case nt:case rt:return t==e+"";case q:var s=Tn;case it:var l=i&g;if(s||(s=In),t.size!=e.size&&!l)return!1;var c=a.get(t);if(c)return c==e;i|=v,a.set(t,e);var u=Io(s(t),s(e),i,r,o,a);return a.delete(t),u;case ot:if(fi)return fi.call(t)==fi.call(e)}return!1}(t,e,c,n,i,r,a);if(!(n&g)){var p=h&&ue.call(t,"__wrapped__"),A=d&&ue.call(e,"__wrapped__");if(p||A){var m=p?t.value():t,y=A?e.value():e;return a||(a=new Ci),r(m,y,n,i,a)}}return!!f&&(a||(a=new Ci),function(t,e,n,i,r,a){var s=n&g,l=Do(t),c=l.length,u=Do(e).length;if(c!=u&&!s)return!1;for(var h=c;h--;){var d=l[h];if(!(s?d in e:ue.call(e,d)))return!1}var f=a.get(t),p=a.get(e);if(f&&p)return f==e&&p==t;var A=!0;a.set(t,e),a.set(e,t);for(var v=s;++h<c;){d=l[h];var m=t[d],y=e[d];if(i)var b=s?i(y,m,d,e,t,a):i(m,y,d,t,e,a);if(!(b===o?m===y||r(m,y,n,i,a):b)){A=!1;break}v||(v="constructor"==d)}if(A&&!v){var _=t.constructor,w=e.constructor;_!=w&&"constructor"in t&&"constructor"in e&&!("function"==typeof _&&_ instanceof _&&"function"==typeof w&&w instanceof w)&&(A=!1)}return a.delete(t),a.delete(e),A}(t,e,n,i,r,a))}(t,e,n,i,sr,r))}function lr(t,e,n,i){var r=n.length,a=r,s=!i;if(null==t)return!a;for(t=ee(t);r--;){var l=n[r];if(s&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++r<a;){var c=(l=n[r])[0],u=t[c],h=l[1];if(s&&l[2]){if(u===o&&!(c in t))return!1}else{var d=new Ci;if(i)var f=i(u,h,c,t,e,d);if(!(f===o?sr(h,u,g|v,i,d):f))return!1}}return!0}function cr(t){return!(!Os(t)||de&&de in t)&&(Bs(t)?ge:Wt).test(fa(t))}function ur(t){return"function"==typeof t?t:null==t?Ml:"object"==typeof t?ys(t)?gr(t[0],t[1]):Ar(t):Ql(t)}function hr(t){if(!Jo(t))return Gn(t);var e=[];for(var n in ee(t))ue.call(t,n)&&"constructor"!=n&&e.push(n);return e}function dr(t){if(!Os(t))return function(t){var e=[];if(null!=t)for(var n in ee(t))e.push(n);return e}(t);var e=Jo(t),n=[];for(var i in t)("constructor"!=i||!e&&ue.call(t,i))&&n.push(i);return n}function fr(t,e){return t<e}function pr(t,e){var n=-1,r=_s(t)?i(t.length):[];return Qi(t,function(t,i,o){r[++n]=e(t,i,o)}),r}function Ar(t){var e=Ro(t);return 1==e.length&&e[0][2]?ea(e[0][0],e[0][1]):function(n){return n===t||lr(n,t,e)}}function gr(t,e){return Xo(t)&&ta(e)?ea(da(t),e):function(n){var i=el(n,t);return i===o&&i===e?nl(n,t):sr(e,i,g|v)}}function vr(t,e,n,i,r){t!==e&&Wi(e,function(a,s){if(r||(r=new Ci),Os(a))!function(t,e,n,i,r,a,s){var l=ra(t,n),c=ra(e,n),u=s.get(c);if(u)Oi(t,n,u);else{var h=a?a(l,c,n+"",t,e,s):o,d=h===o;if(d){var f=ys(c),p=!f&&xs(c),A=!f&&!p&&js(c);h=c,f||p||A?ys(l)?h=l:ws(l)?h=ro(l):p?(d=!1,h=Zr(c,!0)):A?(d=!1,h=to(c,!0)):h=[]:Ds(c)||ms(c)?(h=l,ms(l)?h=Gs(l):Os(l)&&!Bs(l)||(h=Go(c))):d=!1}d&&(s.set(c,h),r(h,c,i,a,s),s.delete(c)),Oi(t,n,h)}}(t,e,s,n,vr,i,r);else{var l=i?i(ra(t,s),a,s+"",t,e,r):o;l===o&&(l=a),Oi(t,s,l)}},sl)}function mr(t,e){var n=t.length;if(n)return Ko(e+=e<0?n:0,n)?t[e]:o}function yr(t,e,n){var i=-1;return e=tn(e=e.length?tn(e,function(t){return ys(t)?function(e){return Zi(e,1===t.length?t[0]:t)}:t}):[Ml],yn(jo())),function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}(pr(t,function(t,n,r){return{criteria:tn(e,function(e){return e(t)}),index:++i,value:t}}),function(t,e){return function(t,e,n){for(var i=-1,r=t.criteria,o=e.criteria,a=r.length,s=n.length;++i<a;){var l=eo(r[i],o[i]);if(l){if(i>=s)return l;var c=n[i];return l*("desc"==c?-1:1)}}return t.index-e.index}(t,e,n)})}function br(t,e,n){for(var i=-1,r=e.length,o={};++i<r;){var a=e[i],s=Zi(t,a);n(s,a)&&Tr(o,Kr(a,t),s)}return o}function _r(t,e,n,i){var r=i?un:cn,o=-1,a=e.length,s=t;for(t===e&&(e=ro(e)),n&&(s=tn(t,yn(n)));++o<a;)for(var l=0,c=e[o],u=n?n(c):c;(l=r(s,u,l,i))>-1;)s!==t&&Fe.call(s,l,1),Fe.call(t,l,1);return t}function wr(t,e){for(var n=t?e.length:0,i=n-1;n--;){var r=e[n];if(n==i||r!==o){var o=r;Ko(r)?Fe.call(t,r,1):Rr(t,r)}}return t}function xr(t,e){return t+Qn(qn()*(e-t+1))}function Cr(t,e){var n="";if(!t||e<1||e>F)return n;do{e%2&&(n+=t),(e=Qn(e/2))&&(t+=t)}while(e);return n}function Sr(t,e){return sa(na(t,e,Ml),t+"")}function Br(t){return Bi(Al(t))}function kr(t,e){var n=Al(t);return ua(n,Pi(e,0,n.length))}function Tr(t,e,n,i){if(!Os(t))return t;for(var r=-1,a=(e=Kr(e,t)).length,s=a-1,l=t;null!=l&&++r<a;){var c=da(e[r]),u=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(r!=s){var h=l[c];(u=i?i(h,c,l):o)===o&&(u=Os(h)?h:Ko(e[r+1])?[]:{})}Ei(l,c,u),l=l[c]}return t}var Or=oi?function(t,e){return oi.set(t,e),t}:Ml,Er=an?function(t,e){return an(t,"toString",{configurable:!0,enumerable:!1,value:Ol(e),writable:!0})}:Ml;function Ir(t){return ua(Al(t))}function Mr(t,e,n){var r=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var a=i(o);++r<o;)a[r]=t[r+e];return a}function Dr(t,e){var n;return Qi(t,function(t,i,r){return!(n=e(t,i,r))}),!!n}function Lr(t,e,n){var i=0,r=null==t?i:t.length;if("number"==typeof e&&e==e&&r<=R){for(;i<r;){var o=i+r>>>1,a=t[o];null!==a&&!Ns(a)&&(n?a<=e:a<e)?i=o+1:r=o}return r}return Fr(t,e,Ml,n)}function Fr(t,e,n,i){var r=0,a=null==t?0:t.length;if(0===a)return 0;for(var s=(e=n(e))!=e,l=null===e,c=Ns(e),u=e===o;r<a;){var h=Qn((r+a)/2),d=n(t[h]),f=d!==o,p=null===d,A=d==d,g=Ns(d);if(s)var v=i||A;else v=u?A&&(i||f):l?A&&f&&(i||!p):c?A&&f&&!p&&(i||!g):!p&&!g&&(i?d<=e:d<e);v?r=h+1:a=h}return Kn(a,U)}function Pr(t,e){for(var n=-1,i=t.length,r=0,o=[];++n<i;){var a=t[n],s=e?e(a):a;if(!n||!As(s,l)){var l=s;o[r++]=0===a?0:a}}return o}function Nr(t){return"number"==typeof t?t:Ns(t)?N:+t}function jr(t){if("string"==typeof t)return t;if(ys(t))return tn(t,jr)+"";if(Ns(t))return pi?pi.call(t):"";var e=t+"";return"0"==e&&1/t==-L?"-0":e}function Ur(t,e,n){var i=-1,r=Ze,o=t.length,s=!0,l=[],c=l;if(n)s=!1,r=Je;else if(o>=a){var u=e?null:So(t);if(u)return In(u);s=!1,r=_n,c=new xi}else c=e?[]:l;t:for(;++i<o;){var h=t[i],d=e?e(h):h;if(h=n||0!==h?h:0,s&&d==d){for(var f=c.length;f--;)if(c[f]===d)continue t;e&&c.push(d),l.push(h)}else r(c,d,n)||(c!==l&&c.push(d),l.push(h))}return l}function Rr(t,e){return null==(t=ia(t,e=Kr(e,t)))||delete t[da(Sa(e))]}function Qr(t,e,n,i){return Tr(t,e,n(Zi(t,e)),i)}function Hr(t,e,n,i){for(var r=t.length,o=i?r:-1;(i?o--:++o<r)&&e(t[o],o,t););return n?Mr(t,i?0:o,i?o+1:r):Mr(t,i?o+1:0,i?r:o)}function Vr(t,e){var n=t;return n instanceof yi&&(n=n.value()),nn(e,function(t,e){return e.func.apply(e.thisArg,en([t],e.args))},n)}function zr(t,e,n){var r=t.length;if(r<2)return r?Ur(t[0]):[];for(var o=-1,a=i(r);++o<r;)for(var s=t[o],l=-1;++l<r;)l!=o&&(a[o]=Ri(a[o]||s,t[l],e,n));return Ur(Gi(a,1),e,n)}function $r(t,e,n){for(var i=-1,r=t.length,a=e.length,s={};++i<r;){var l=i<a?e[i]:o;n(s,t[i],l)}return s}function Gr(t){return ws(t)?t:[]}function Wr(t){return"function"==typeof t?t:Ml}function Kr(t,e){return ys(t)?t:Xo(t,e)?[t]:ha(Ws(t))}var Yr=Sr;function Xr(t,e,n){var i=t.length;return n=n===o?i:n,!e&&n>=i?t:Mr(t,e,n)}var qr=pn||function(t){return Le.clearTimeout(t)};function Zr(t,e){if(e)return t.slice();var n=t.length,i=xe?xe(n):new t.constructor(n);return t.copy(i),i}function Jr(t){var e=new t.constructor(t.byteLength);return new _e(e).set(new _e(t)),e}function to(t,e){var n=e?Jr(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function eo(t,e){if(t!==e){var n=t!==o,i=null===t,r=t==t,a=Ns(t),s=e!==o,l=null===e,c=e==e,u=Ns(e);if(!l&&!u&&!a&&t>e||a&&s&&c&&!l&&!u||i&&s&&c||!n&&c||!r)return 1;if(!i&&!a&&!u&&t<e||u&&n&&r&&!i&&!a||l&&n&&r||!s&&r||!c)return-1}return 0}function no(t,e,n,r){for(var o=-1,a=t.length,s=n.length,l=-1,c=e.length,u=Wn(a-s,0),h=i(c+u),d=!r;++l<c;)h[l]=e[l];for(;++o<s;)(d||o<a)&&(h[n[o]]=t[o]);for(;u--;)h[l++]=t[o++];return h}function io(t,e,n,r){for(var o=-1,a=t.length,s=-1,l=n.length,c=-1,u=e.length,h=Wn(a-l,0),d=i(h+u),f=!r;++o<h;)d[o]=t[o];for(var p=o;++c<u;)d[p+c]=e[c];for(;++s<l;)(f||o<a)&&(d[p+n[s]]=t[o++]);return d}function ro(t,e){var n=-1,r=t.length;for(e||(e=i(r));++n<r;)e[n]=t[n];return e}function oo(t,e,n,i){var r=!n;n||(n={});for(var a=-1,s=e.length;++a<s;){var l=e[a],c=i?i(n[l],t[l],l,n,t):o;c===o&&(c=t[l]),r?Li(n,l,c):Ei(n,l,c)}return n}function ao(t,e){return function(n,i){var r=ys(n)?We:Mi,o=e?e():{};return r(n,t,jo(i,2),o)}}function so(t){return Sr(function(e,n){var i=-1,r=n.length,a=r>1?n[r-1]:o,s=r>2?n[2]:o;for(a=t.length>3&&"function"==typeof a?(r--,a):o,s&&Yo(n[0],n[1],s)&&(a=r<3?o:a,r=1),e=ee(e);++i<r;){var l=n[i];l&&t(e,l,i,a)}return e})}function lo(t,e){return function(n,i){if(null==n)return n;if(!_s(n))return t(n,i);for(var r=n.length,o=e?r:-1,a=ee(n);(e?o--:++o<r)&&!1!==i(a[o],o,a););return n}}function co(t){return function(e,n,i){for(var r=-1,o=ee(e),a=i(e),s=a.length;s--;){var l=a[t?s:++r];if(!1===n(o[l],l,o))break}return e}}function uo(t){return function(e){var n=kn(e=Ws(e))?Ln(e):o,i=n?n[0]:e.charAt(0),r=n?Xr(n,1).join(""):e.slice(1);return i[t]()+r}}function ho(t){return function(e){return nn(Bl(ml(e).replace(ye,"")),t,"")}}function fo(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=gi(t.prototype),i=t.apply(n,e);return Os(i)?i:n}}function po(t){return function(e,n,i){var r=ee(e);if(!_s(e)){var a=jo(n,3);e=al(e),n=function(t){return a(r[t],t,r)}}var s=t(e,n,i);return s>-1?r[a?e[s]:s]:o}}function Ao(t){return Mo(function(e){var n=e.length,i=n,r=mi.prototype.thru;for(t&&e.reverse();i--;){var a=e[i];if("function"!=typeof a)throw new re(l);if(r&&!s&&"wrapper"==Po(a))var s=new mi([],!0)}for(i=s?i:n;++i<n;){var c=Po(a=e[i]),u="wrapper"==c?Fo(a):o;s=u&&qo(u[0])&&u[1]==(S|_|x|B)&&!u[4].length&&1==u[9]?s[Po(u[0])].apply(s,u[3]):1==a.length&&qo(a)?s[c]():s.thru(a)}return function(){var t=arguments,i=t[0];if(s&&1==t.length&&ys(i))return s.plant(i).value();for(var r=0,o=n?e[r].apply(this,t):i;++r<n;)o=e[r].call(this,o);return o}})}function go(t,e,n,r,a,s,l,c,u,h){var d=e&S,f=e&m,p=e&y,A=e&(_|w),g=e&k,v=p?o:fo(t);return function m(){for(var y=arguments.length,b=i(y),_=y;_--;)b[_]=arguments[_];if(A)var w=No(m),x=function(t,e){for(var n=t.length,i=0;n--;)t[n]===e&&++i;return i}(b,w);if(r&&(b=no(b,r,a,A)),s&&(b=io(b,s,l,A)),y-=x,A&&y<h){var C=En(b,w);return xo(t,e,go,m.placeholder,n,b,C,c,u,h-y)}var S=f?n:this,B=p?S[t]:t;return y=b.length,c?b=function(t,e){for(var n=t.length,i=Kn(e.length,n),r=ro(t);i--;){var a=e[i];t[i]=Ko(a,n)?r[a]:o}return t}(b,c):g&&y>1&&b.reverse(),d&&u<y&&(b.length=u),this&&this!==Le&&this instanceof m&&(B=v||fo(B)),B.apply(S,b)}}function vo(t,e){return function(n,i){return function(t,e,n,i){return Yi(t,function(t,r,o){e(i,n(t),r,o)}),i}(n,t,e(i),{})}}function mo(t,e){return function(n,i){var r;if(n===o&&i===o)return e;if(n!==o&&(r=n),i!==o){if(r===o)return i;"string"==typeof n||"string"==typeof i?(n=jr(n),i=jr(i)):(n=Nr(n),i=Nr(i)),r=t(n,i)}return r}}function yo(t){return Mo(function(e){return e=tn(e,yn(jo())),Sr(function(n){var i=this;return t(e,function(t){return Ge(t,i,n)})})})}function bo(t,e){var n=(e=e===o?" ":jr(e)).length;if(n<2)return n?Cr(e,t):e;var i=Cr(e,Rn(t/Dn(e)));return kn(e)?Xr(Ln(i),0,t).join(""):i.slice(0,t)}function _o(t){return function(e,n,r){return r&&"number"!=typeof r&&Yo(e,n,r)&&(n=r=o),e=Hs(e),n===o?(n=e,e=0):n=Hs(n),function(t,e,n,r){for(var o=-1,a=Wn(Rn((e-t)/(n||1)),0),s=i(a);a--;)s[r?a:++o]=t,t+=n;return s}(e,n,r=r===o?e<n?1:-1:Hs(r),t)}}function wo(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=$s(e),n=$s(n)),t(e,n)}}function xo(t,e,n,i,r,a,s,l,c,u){var h=e&_;e|=h?x:C,(e&=~(h?C:x))&b||(e&=~(m|y));var d=[t,e,r,h?a:o,h?s:o,h?o:a,h?o:s,l,c,u],f=n.apply(o,d);return qo(t)&&oa(f,d),f.placeholder=i,la(f,t,e)}function Co(t){var e=te[t];return function(t,n){if(t=$s(t),(n=null==n?0:Kn(Vs(n),292))&&zn(t)){var i=(Ws(t)+"e").split("e");return+((i=(Ws(e(i[0]+"e"+(+i[1]+n)))+"e").split("e"))[0]+"e"+(+i[1]-n))}return e(t)}}var So=ni&&1/In(new ni([,-0]))[1]==L?function(t){return new ni(t)}:Nl;function Bo(t){return function(e){var n=zo(e);return n==q?Tn(e):n==it?Mn(e):function(t,e){return tn(e,function(e){return[e,t[e]]})}(e,t(e))}}function ko(t,e,n,r,a,s,c,u){var h=e&y;if(!h&&"function"!=typeof t)throw new re(l);var f=r?r.length:0;if(f||(e&=~(x|C),r=a=o),c=c===o?c:Wn(Vs(c),0),u=u===o?u:Vs(u),f-=a?a.length:0,e&C){var p=r,A=a;r=a=o}var g=h?o:Fo(t),v=[t,e,n,r,a,p,A,s,c,u];if(g&&function(t,e){var n=t[1],i=e[1],r=n|i,o=r<(m|y|S),a=i==S&&n==_||i==S&&n==B&&t[7].length<=e[8]||i==(S|B)&&e[7].length<=e[8]&&n==_;if(!o&&!a)return t;i&m&&(t[2]=e[2],r|=n&m?0:b);var s=e[3];if(s){var l=t[3];t[3]=l?no(l,s,e[4]):s,t[4]=l?En(t[3],d):e[4]}(s=e[5])&&(l=t[5],t[5]=l?io(l,s,e[6]):s,t[6]=l?En(t[5],d):e[6]),(s=e[7])&&(t[7]=s),i&S&&(t[8]=null==t[8]?e[8]:Kn(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=r}(v,g),t=v[0],e=v[1],n=v[2],r=v[3],a=v[4],!(u=v[9]=v[9]===o?h?0:t.length:Wn(v[9]-f,0))&&e&(_|w)&&(e&=~(_|w)),e&&e!=m)k=e==_||e==w?function(t,e,n){var r=fo(t);return function a(){for(var s=arguments.length,l=i(s),c=s,u=No(a);c--;)l[c]=arguments[c];var h=s<3&&l[0]!==u&&l[s-1]!==u?[]:En(l,u);return(s-=h.length)<n?xo(t,e,go,a.placeholder,o,l,h,o,o,n-s):Ge(this&&this!==Le&&this instanceof a?r:t,this,l)}}(t,e,u):e!=x&&e!=(m|x)||a.length?go.apply(o,v):function(t,e,n,r){var o=e&m,a=fo(t);return function e(){for(var s=-1,l=arguments.length,c=-1,u=r.length,h=i(u+l),d=this&&this!==Le&&this instanceof e?a:t;++c<u;)h[c]=r[c];for(;l--;)h[c++]=arguments[++s];return Ge(d,o?n:this,h)}}(t,e,n,r);else var k=function(t,e,n){var i=e&m,r=fo(t);return function e(){return(this&&this!==Le&&this instanceof e?r:t).apply(i?n:this,arguments)}}(t,e,n);return la((g?Or:oa)(k,v),t,e)}function To(t,e,n,i){return t===o||As(t,se[n])&&!ue.call(i,n)?e:t}function Oo(t,e,n,i,r,a){return Os(t)&&Os(e)&&(a.set(e,t),vr(t,e,o,Oo,a),a.delete(e)),t}function Eo(t){return Ds(t)?o:t}function Io(t,e,n,i,r,a){var s=n&g,l=t.length,c=e.length;if(l!=c&&!(s&&c>l))return!1;var u=a.get(t),h=a.get(e);if(u&&h)return u==e&&h==t;var d=-1,f=!0,p=n&v?new xi:o;for(a.set(t,e),a.set(e,t);++d<l;){var A=t[d],m=e[d];if(i)var y=s?i(m,A,d,e,t,a):i(A,m,d,t,e,a);if(y!==o){if(y)continue;f=!1;break}if(p){if(!on(e,function(t,e){if(!_n(p,e)&&(A===t||r(A,t,n,i,a)))return p.push(e)})){f=!1;break}}else if(A!==m&&!r(A,m,n,i,a)){f=!1;break}}return a.delete(t),a.delete(e),f}function Mo(t){return sa(na(t,o,ba),t+"")}function Do(t){return Ji(t,al,Ho)}function Lo(t){return Ji(t,sl,Vo)}var Fo=oi?function(t){return oi.get(t)}:Nl;function Po(t){for(var e=t.name+"",n=ai[e],i=ue.call(ai,e)?n.length:0;i--;){var r=n[i],o=r.func;if(null==o||o==t)return r.name}return e}function No(t){return(ue.call(Ai,"placeholder")?Ai:t).placeholder}function jo(){var t=Ai.iteratee||Dl;return t=t===Dl?ur:t,arguments.length?t(arguments[0],arguments[1]):t}function Uo(t,e){var n,i,r=t.__data__;return("string"==(i=typeof(n=e))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?r["string"==typeof e?"string":"hash"]:r.map}function Ro(t){for(var e=al(t),n=e.length;n--;){var i=e[n],r=t[i];e[n]=[i,r,ta(r)]}return e}function Qo(t,e){var n=function(t,e){return null==t?o:t[e]}(t,e);return cr(n)?n:o}var Ho=Hn?function(t){return null==t?[]:(t=ee(t),qe(Hn(t),function(e){return De.call(t,e)}))}:zl,Vo=Hn?function(t){for(var e=[];t;)en(e,Ho(t)),t=Oe(t);return e}:zl,zo=tr;function $o(t,e,n){for(var i=-1,r=(e=Kr(e,t)).length,o=!1;++i<r;){var a=da(e[i]);if(!(o=null!=t&&n(t,a)))break;t=t[a]}return o||++i!=r?o:!!(r=null==t?0:t.length)&&Ts(r)&&Ko(a,r)&&(ys(t)||ms(t))}function Go(t){return"function"!=typeof t.constructor||Jo(t)?{}:gi(Oe(t))}function Wo(t){return ys(t)||ms(t)||!!(Pe&&t&&t[Pe])}function Ko(t,e){var n=typeof t;return!!(e=null==e?F:e)&&("number"==n||"symbol"!=n&&Yt.test(t))&&t>-1&&t%1==0&&t<e}function Yo(t,e,n){if(!Os(n))return!1;var i=typeof e;return!!("number"==i?_s(n)&&Ko(e,n.length):"string"==i&&e in n)&&As(n[e],t)}function Xo(t,e){if(ys(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!Ns(t))||It.test(t)||!Et.test(t)||null!=e&&t in ee(e)}function qo(t){var e=Po(t),n=Ai[e];if("function"!=typeof n||!(e in yi.prototype))return!1;if(t===n)return!0;var i=Fo(n);return!!i&&t===i[0]}(Jn&&zo(new Jn(new ArrayBuffer(1)))!=ut||ti&&zo(new ti)!=q||ei&&"[object Promise]"!=zo(ei.resolve())||ni&&zo(new ni)!=it||ii&&zo(new ii)!=st)&&(zo=function(t){var e=tr(t),n=e==tt?t.constructor:o,i=n?fa(n):"";if(i)switch(i){case si:return ut;case li:return q;case ci:return"[object Promise]";case ui:return it;case hi:return st}return e});var Zo=le?Bs:$l;function Jo(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||se)}function ta(t){return t==t&&!Os(t)}function ea(t,e){return function(n){return null!=n&&n[t]===e&&(e!==o||t in ee(n))}}function na(t,e,n){return e=Wn(e===o?t.length-1:e,0),function(){for(var r=arguments,o=-1,a=Wn(r.length-e,0),s=i(a);++o<a;)s[o]=r[e+o];o=-1;for(var l=i(e+1);++o<e;)l[o]=r[o];return l[e]=n(s),Ge(t,this,l)}}function ia(t,e){return e.length<2?t:Zi(t,Mr(e,0,-1))}function ra(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var oa=ca(Or),aa=Un||function(t,e){return Le.setTimeout(t,e)},sa=ca(Er);function la(t,e,n){var i=e+"";return sa(t,function(t,e){var n=e.length;if(!n)return t;var i=n-1;return e[i]=(n>1?"& ":"")+e[i],e=e.join(n>2?", ":" "),t.replace(Nt,"{\n/* [wrapped with "+e+"] */\n")}(i,function(t,e){return Ke(Q,function(n){var i="_."+n[0];e&n[1]&&!Ze(t,i)&&t.push(i)}),t.sort()}(function(t){var e=t.match(jt);return e?e[1].split(Ut):[]}(i),n)))}function ca(t){var e=0,n=0;return function(){var i=Yn(),r=I-(i-n);if(n=i,r>0){if(++e>=E)return arguments[0]}else e=0;return t.apply(o,arguments)}}function ua(t,e){var n=-1,i=t.length,r=i-1;for(e=e===o?i:e;++n<e;){var a=xr(n,r),s=t[a];t[a]=t[n],t[n]=s}return t.length=e,t}var ha=function(t){var e=cs(t,function(t){return n.size===h&&n.clear(),t}),n=e.cache;return e}(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Mt,function(t,n,i,r){e.push(i?r.replace(Ht,"$1"):n||t)}),e});function da(t){if("string"==typeof t||Ns(t))return t;var e=t+"";return"0"==e&&1/t==-L?"-0":e}function fa(t){if(null!=t){try{return ce.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function pa(t){if(t instanceof yi)return t.clone();var e=new mi(t.__wrapped__,t.__chain__);return e.__actions__=ro(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var Aa=Sr(function(t,e){return ws(t)?Ri(t,Gi(e,1,ws,!0)):[]}),ga=Sr(function(t,e){var n=Sa(e);return ws(n)&&(n=o),ws(t)?Ri(t,Gi(e,1,ws,!0),jo(n,2)):[]}),va=Sr(function(t,e){var n=Sa(e);return ws(n)&&(n=o),ws(t)?Ri(t,Gi(e,1,ws,!0),o,n):[]});function ma(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=null==n?0:Vs(n);return r<0&&(r=Wn(i+r,0)),ln(t,jo(e,3),r)}function ya(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=i-1;return n!==o&&(r=Vs(n),r=n<0?Wn(i+r,0):Kn(r,i-1)),ln(t,jo(e,3),r,!0)}function ba(t){return null!=t&&t.length?Gi(t,1):[]}function _a(t){return t&&t.length?t[0]:o}var wa=Sr(function(t){var e=tn(t,Gr);return e.length&&e[0]===t[0]?rr(e):[]}),xa=Sr(function(t){var e=Sa(t),n=tn(t,Gr);return e===Sa(n)?e=o:n.pop(),n.length&&n[0]===t[0]?rr(n,jo(e,2)):[]}),Ca=Sr(function(t){var e=Sa(t),n=tn(t,Gr);return(e="function"==typeof e?e:o)&&n.pop(),n.length&&n[0]===t[0]?rr(n,o,e):[]});function Sa(t){var e=null==t?0:t.length;return e?t[e-1]:o}var Ba=Sr(ka);function ka(t,e){return t&&t.length&&e&&e.length?_r(t,e):t}var Ta=Mo(function(t,e){var n=null==t?0:t.length,i=Fi(t,e);return wr(t,tn(e,function(t){return Ko(t,n)?+t:t}).sort(eo)),i});function Oa(t){return null==t?t:Zn.call(t)}var Ea=Sr(function(t){return Ur(Gi(t,1,ws,!0))}),Ia=Sr(function(t){var e=Sa(t);return ws(e)&&(e=o),Ur(Gi(t,1,ws,!0),jo(e,2))}),Ma=Sr(function(t){var e=Sa(t);return e="function"==typeof e?e:o,Ur(Gi(t,1,ws,!0),o,e)});function Da(t){if(!t||!t.length)return[];var e=0;return t=qe(t,function(t){if(ws(t))return e=Wn(t.length,e),!0}),vn(e,function(e){return tn(t,fn(e))})}function La(t,e){if(!t||!t.length)return[];var n=Da(t);return null==e?n:tn(n,function(t){return Ge(e,o,t)})}var Fa=Sr(function(t,e){return ws(t)?Ri(t,e):[]}),Pa=Sr(function(t){return zr(qe(t,ws))}),Na=Sr(function(t){var e=Sa(t);return ws(e)&&(e=o),zr(qe(t,ws),jo(e,2))}),ja=Sr(function(t){var e=Sa(t);return e="function"==typeof e?e:o,zr(qe(t,ws),o,e)}),Ua=Sr(Da);var Ra=Sr(function(t){var e=t.length,n=e>1?t[e-1]:o;return La(t,n="function"==typeof n?(t.pop(),n):o)});function Qa(t){var e=Ai(t);return e.__chain__=!0,e}function Ha(t,e){return e(t)}var Va=Mo(function(t){var e=t.length,n=e?t[0]:0,i=this.__wrapped__,r=function(e){return Fi(e,t)};return!(e>1||this.__actions__.length)&&i instanceof yi&&Ko(n)?((i=i.slice(n,+n+(e?1:0))).__actions__.push({func:Ha,args:[r],thisArg:o}),new mi(i,this.__chain__).thru(function(t){return e&&!t.length&&t.push(o),t})):this.thru(r)});var za=ao(function(t,e,n){ue.call(t,n)?++t[n]:Li(t,n,1)});var $a=po(ma),Ga=po(ya);function Wa(t,e){return(ys(t)?Ke:Qi)(t,jo(e,3))}function Ka(t,e){return(ys(t)?Ye:Hi)(t,jo(e,3))}var Ya=ao(function(t,e,n){ue.call(t,n)?t[n].push(e):Li(t,n,[e])});var Xa=Sr(function(t,e,n){var r=-1,o="function"==typeof e,a=_s(t)?i(t.length):[];return Qi(t,function(t){a[++r]=o?Ge(e,t,n):or(t,e,n)}),a}),qa=ao(function(t,e,n){Li(t,n,e)});function Za(t,e){return(ys(t)?tn:pr)(t,jo(e,3))}var Ja=ao(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]});var ts=Sr(function(t,e){if(null==t)return[];var n=e.length;return n>1&&Yo(t,e[0],e[1])?e=[]:n>2&&Yo(e[0],e[1],e[2])&&(e=[e[0]]),yr(t,Gi(e,1),[])}),es=jn||function(){return Le.Date.now()};function ns(t,e,n){return e=n?o:e,e=t&&null==e?t.length:e,ko(t,S,o,o,o,o,e)}function is(t,e){var n;if("function"!=typeof e)throw new re(l);return t=Vs(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=o),n}}var rs=Sr(function(t,e,n){var i=m;if(n.length){var r=En(n,No(rs));i|=x}return ko(t,i,e,n,r)}),os=Sr(function(t,e,n){var i=m|y;if(n.length){var r=En(n,No(os));i|=x}return ko(e,i,t,n,r)});function as(t,e,n){var i,r,a,s,c,u,h=0,d=!1,f=!1,p=!0;if("function"!=typeof t)throw new re(l);function A(e){var n=i,a=r;return i=r=o,h=e,s=t.apply(a,n)}function g(t){var n=t-u;return u===o||n>=e||n<0||f&&t-h>=a}function v(){var t=es();if(g(t))return m(t);c=aa(v,function(t){var n=e-(t-u);return f?Kn(n,a-(t-h)):n}(t))}function m(t){return c=o,p&&i?A(t):(i=r=o,s)}function y(){var t=es(),n=g(t);if(i=arguments,r=this,u=t,n){if(c===o)return function(t){return h=t,c=aa(v,e),d?A(t):s}(u);if(f)return qr(c),c=aa(v,e),A(u)}return c===o&&(c=aa(v,e)),s}return e=$s(e)||0,Os(n)&&(d=!!n.leading,a=(f="maxWait"in n)?Wn($s(n.maxWait)||0,e):a,p="trailing"in n?!!n.trailing:p),y.cancel=function(){c!==o&&qr(c),h=0,i=u=r=c=o},y.flush=function(){return c===o?s:m(es())},y}var ss=Sr(function(t,e){return Ui(t,1,e)}),ls=Sr(function(t,e,n){return Ui(t,$s(e)||0,n)});function cs(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new re(l);var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var a=t.apply(this,i);return n.cache=o.set(r,a)||o,a};return n.cache=new(cs.Cache||wi),n}function us(t){if("function"!=typeof t)throw new re(l);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}cs.Cache=wi;var hs=Yr(function(t,e){var n=(e=1==e.length&&ys(e[0])?tn(e[0],yn(jo())):tn(Gi(e,1),yn(jo()))).length;return Sr(function(i){for(var r=-1,o=Kn(i.length,n);++r<o;)i[r]=e[r].call(this,i[r]);return Ge(t,this,i)})}),ds=Sr(function(t,e){var n=En(e,No(ds));return ko(t,x,o,e,n)}),fs=Sr(function(t,e){var n=En(e,No(fs));return ko(t,C,o,e,n)}),ps=Mo(function(t,e){return ko(t,B,o,o,o,e)});function As(t,e){return t===e||t!=t&&e!=e}var gs=wo(er),vs=wo(function(t,e){return t>=e}),ms=ar(function(){return arguments}())?ar:function(t){return Es(t)&&ue.call(t,"callee")&&!De.call(t,"callee")},ys=i.isArray,bs=Re?yn(Re):function(t){return Es(t)&&tr(t)==ct};function _s(t){return null!=t&&Ts(t.length)&&!Bs(t)}function ws(t){return Es(t)&&_s(t)}var xs=Vn||$l,Cs=Qe?yn(Qe):function(t){return Es(t)&&tr(t)==G};function Ss(t){if(!Es(t))return!1;var e=tr(t);return e==K||e==W||"string"==typeof t.message&&"string"==typeof t.name&&!Ds(t)}function Bs(t){if(!Os(t))return!1;var e=tr(t);return e==Y||e==X||e==z||e==et}function ks(t){return"number"==typeof t&&t==Vs(t)}function Ts(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=F}function Os(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Es(t){return null!=t&&"object"==typeof t}var Is=He?yn(He):function(t){return Es(t)&&zo(t)==q};function Ms(t){return"number"==typeof t||Es(t)&&tr(t)==Z}function Ds(t){if(!Es(t)||tr(t)!=tt)return!1;var e=Oe(t);if(null===e)return!0;var n=ue.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&ce.call(n)==pe}var Ls=Ve?yn(Ve):function(t){return Es(t)&&tr(t)==nt};var Fs=ze?yn(ze):function(t){return Es(t)&&zo(t)==it};function Ps(t){return"string"==typeof t||!ys(t)&&Es(t)&&tr(t)==rt}function Ns(t){return"symbol"==typeof t||Es(t)&&tr(t)==ot}var js=$e?yn($e):function(t){return Es(t)&&Ts(t.length)&&!!ke[tr(t)]};var Us=wo(fr),Rs=wo(function(t,e){return t<=e});function Qs(t){if(!t)return[];if(_s(t))return Ps(t)?Ln(t):ro(t);if(je&&t[je])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[je]());var e=zo(t);return(e==q?Tn:e==it?In:Al)(t)}function Hs(t){return t?(t=$s(t))===L||t===-L?(t<0?-1:1)*P:t==t?t:0:0===t?t:0}function Vs(t){var e=Hs(t),n=e%1;return e==e?n?e-n:e:0}function zs(t){return t?Pi(Vs(t),0,j):0}function $s(t){if("number"==typeof t)return t;if(Ns(t))return N;if(Os(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Os(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=mn(t);var n=Gt.test(t);return n||Kt.test(t)?Ie(t.slice(2),n?2:8):$t.test(t)?N:+t}function Gs(t){return oo(t,sl(t))}function Ws(t){return null==t?"":jr(t)}var Ks=so(function(t,e){if(Jo(e)||_s(e))oo(e,al(e),t);else for(var n in e)ue.call(e,n)&&Ei(t,n,e[n])}),Ys=so(function(t,e){oo(e,sl(e),t)}),Xs=so(function(t,e,n,i){oo(e,sl(e),t,i)}),qs=so(function(t,e,n,i){oo(e,al(e),t,i)}),Zs=Mo(Fi);var Js=Sr(function(t,e){t=ee(t);var n=-1,i=e.length,r=i>2?e[2]:o;for(r&&Yo(e[0],e[1],r)&&(i=1);++n<i;)for(var a=e[n],s=sl(a),l=-1,c=s.length;++l<c;){var u=s[l],h=t[u];(h===o||As(h,se[u])&&!ue.call(t,u))&&(t[u]=a[u])}return t}),tl=Sr(function(t){return t.push(o,Oo),Ge(cl,o,t)});function el(t,e,n){var i=null==t?o:Zi(t,e);return i===o?n:i}function nl(t,e){return null!=t&&$o(t,e,ir)}var il=vo(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=fe.call(e)),t[e]=n},Ol(Ml)),rl=vo(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=fe.call(e)),ue.call(t,e)?t[e].push(n):t[e]=[n]},jo),ol=Sr(or);function al(t){return _s(t)?Si(t):hr(t)}function sl(t){return _s(t)?Si(t,!0):dr(t)}var ll=so(function(t,e,n){vr(t,e,n)}),cl=so(function(t,e,n,i){vr(t,e,n,i)}),ul=Mo(function(t,e){var n={};if(null==t)return n;var i=!1;e=tn(e,function(e){return e=Kr(e,t),i||(i=e.length>1),e}),oo(t,Lo(t),n),i&&(n=Ni(n,f|p|A,Eo));for(var r=e.length;r--;)Rr(n,e[r]);return n});var hl=Mo(function(t,e){return null==t?{}:function(t,e){return br(t,e,function(e,n){return nl(t,n)})}(t,e)});function dl(t,e){if(null==t)return{};var n=tn(Lo(t),function(t){return[t]});return e=jo(e),br(t,n,function(t,n){return e(t,n[0])})}var fl=Bo(al),pl=Bo(sl);function Al(t){return null==t?[]:bn(t,al(t))}var gl=ho(function(t,e,n){return e=e.toLowerCase(),t+(n?vl(e):e)});function vl(t){return Sl(Ws(t).toLowerCase())}function ml(t){return(t=Ws(t))&&t.replace(Xt,Cn).replace(be,"")}var yl=ho(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),bl=ho(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),_l=uo("toLowerCase");var wl=ho(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()});var xl=ho(function(t,e,n){return t+(n?" ":"")+Sl(e)});var Cl=ho(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),Sl=uo("toUpperCase");function Bl(t,e,n){return t=Ws(t),(e=n?o:e)===o?function(t){return Ce.test(t)}(t)?function(t){return t.match(we)||[]}(t):function(t){return t.match(Rt)||[]}(t):t.match(e)||[]}var kl=Sr(function(t,e){try{return Ge(t,o,e)}catch(t){return Ss(t)?t:new Pt(t)}}),Tl=Mo(function(t,e){return Ke(e,function(e){e=da(e),Li(t,e,rs(t[e],t))}),t});function Ol(t){return function(){return t}}var El=Ao(),Il=Ao(!0);function Ml(t){return t}function Dl(t){return ur("function"==typeof t?t:Ni(t,f))}var Ll=Sr(function(t,e){return function(n){return or(n,t,e)}}),Fl=Sr(function(t,e){return function(n){return or(t,n,e)}});function Pl(t,e,n){var i=al(e),r=qi(e,i);null!=n||Os(e)&&(r.length||!i.length)||(n=e,e=t,t=this,r=qi(e,al(e)));var o=!(Os(n)&&"chain"in n&&!n.chain),a=Bs(t);return Ke(r,function(n){var i=e[n];t[n]=i,a&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__);return(n.__actions__=ro(this.__actions__)).push({func:i,args:arguments,thisArg:t}),n.__chain__=e,n}return i.apply(t,en([this.value()],arguments))})}),t}function Nl(){}var jl=yo(tn),Ul=yo(Xe),Rl=yo(on);function Ql(t){return Xo(t)?fn(da(t)):function(t){return function(e){return Zi(e,t)}}(t)}var Hl=_o(),Vl=_o(!0);function zl(){return[]}function $l(){return!1}var Gl=mo(function(t,e){return t+e},0),Wl=Co("ceil"),Kl=mo(function(t,e){return t/e},1),Yl=Co("floor");var Xl,ql=mo(function(t,e){return t*e},1),Zl=Co("round"),Jl=mo(function(t,e){return t-e},0);return Ai.after=function(t,e){if("function"!=typeof e)throw new re(l);return t=Vs(t),function(){if(--t<1)return e.apply(this,arguments)}},Ai.ary=ns,Ai.assign=Ks,Ai.assignIn=Ys,Ai.assignInWith=Xs,Ai.assignWith=qs,Ai.at=Zs,Ai.before=is,Ai.bind=rs,Ai.bindAll=Tl,Ai.bindKey=os,Ai.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return ys(t)?t:[t]},Ai.chain=Qa,Ai.chunk=function(t,e,n){e=(n?Yo(t,e,n):e===o)?1:Wn(Vs(e),0);var r=null==t?0:t.length;if(!r||e<1)return[];for(var a=0,s=0,l=i(Rn(r/e));a<r;)l[s++]=Mr(t,a,a+=e);return l},Ai.compact=function(t){for(var e=-1,n=null==t?0:t.length,i=0,r=[];++e<n;){var o=t[e];o&&(r[i++]=o)}return r},Ai.concat=function(){var t=arguments.length;if(!t)return[];for(var e=i(t-1),n=arguments[0],r=t;r--;)e[r-1]=arguments[r];return en(ys(n)?ro(n):[n],Gi(e,1))},Ai.cond=function(t){var e=null==t?0:t.length,n=jo();return t=e?tn(t,function(t){if("function"!=typeof t[1])throw new re(l);return[n(t[0]),t[1]]}):[],Sr(function(n){for(var i=-1;++i<e;){var r=t[i];if(Ge(r[0],this,n))return Ge(r[1],this,n)}})},Ai.conforms=function(t){return function(t){var e=al(t);return function(n){return ji(n,t,e)}}(Ni(t,f))},Ai.constant=Ol,Ai.countBy=za,Ai.create=function(t,e){var n=gi(t);return null==e?n:Di(n,e)},Ai.curry=function t(e,n,i){var r=ko(e,_,o,o,o,o,o,n=i?o:n);return r.placeholder=t.placeholder,r},Ai.curryRight=function t(e,n,i){var r=ko(e,w,o,o,o,o,o,n=i?o:n);return r.placeholder=t.placeholder,r},Ai.debounce=as,Ai.defaults=Js,Ai.defaultsDeep=tl,Ai.defer=ss,Ai.delay=ls,Ai.difference=Aa,Ai.differenceBy=ga,Ai.differenceWith=va,Ai.drop=function(t,e,n){var i=null==t?0:t.length;return i?Mr(t,(e=n||e===o?1:Vs(e))<0?0:e,i):[]},Ai.dropRight=function(t,e,n){var i=null==t?0:t.length;return i?Mr(t,0,(e=i-(e=n||e===o?1:Vs(e)))<0?0:e):[]},Ai.dropRightWhile=function(t,e){return t&&t.length?Hr(t,jo(e,3),!0,!0):[]},Ai.dropWhile=function(t,e){return t&&t.length?Hr(t,jo(e,3),!0):[]},Ai.fill=function(t,e,n,i){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&Yo(t,e,n)&&(n=0,i=r),function(t,e,n,i){var r=t.length;for((n=Vs(n))<0&&(n=-n>r?0:r+n),(i=i===o||i>r?r:Vs(i))<0&&(i+=r),i=n>i?0:zs(i);n<i;)t[n++]=e;return t}(t,e,n,i)):[]},Ai.filter=function(t,e){return(ys(t)?qe:$i)(t,jo(e,3))},Ai.flatMap=function(t,e){return Gi(Za(t,e),1)},Ai.flatMapDeep=function(t,e){return Gi(Za(t,e),L)},Ai.flatMapDepth=function(t,e,n){return n=n===o?1:Vs(n),Gi(Za(t,e),n)},Ai.flatten=ba,Ai.flattenDeep=function(t){return null!=t&&t.length?Gi(t,L):[]},Ai.flattenDepth=function(t,e){return null!=t&&t.length?Gi(t,e=e===o?1:Vs(e)):[]},Ai.flip=function(t){return ko(t,k)},Ai.flow=El,Ai.flowRight=Il,Ai.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,i={};++e<n;){var r=t[e];i[r[0]]=r[1]}return i},Ai.functions=function(t){return null==t?[]:qi(t,al(t))},Ai.functionsIn=function(t){return null==t?[]:qi(t,sl(t))},Ai.groupBy=Ya,Ai.initial=function(t){return null!=t&&t.length?Mr(t,0,-1):[]},Ai.intersection=wa,Ai.intersectionBy=xa,Ai.intersectionWith=Ca,Ai.invert=il,Ai.invertBy=rl,Ai.invokeMap=Xa,Ai.iteratee=Dl,Ai.keyBy=qa,Ai.keys=al,Ai.keysIn=sl,Ai.map=Za,Ai.mapKeys=function(t,e){var n={};return e=jo(e,3),Yi(t,function(t,i,r){Li(n,e(t,i,r),t)}),n},Ai.mapValues=function(t,e){var n={};return e=jo(e,3),Yi(t,function(t,i,r){Li(n,i,e(t,i,r))}),n},Ai.matches=function(t){return Ar(Ni(t,f))},Ai.matchesProperty=function(t,e){return gr(t,Ni(e,f))},Ai.memoize=cs,Ai.merge=ll,Ai.mergeWith=cl,Ai.method=Ll,Ai.methodOf=Fl,Ai.mixin=Pl,Ai.negate=us,Ai.nthArg=function(t){return t=Vs(t),Sr(function(e){return mr(e,t)})},Ai.omit=ul,Ai.omitBy=function(t,e){return dl(t,us(jo(e)))},Ai.once=function(t){return is(2,t)},Ai.orderBy=function(t,e,n,i){return null==t?[]:(ys(e)||(e=null==e?[]:[e]),ys(n=i?o:n)||(n=null==n?[]:[n]),yr(t,e,n))},Ai.over=jl,Ai.overArgs=hs,Ai.overEvery=Ul,Ai.overSome=Rl,Ai.partial=ds,Ai.partialRight=fs,Ai.partition=Ja,Ai.pick=hl,Ai.pickBy=dl,Ai.property=Ql,Ai.propertyOf=function(t){return function(e){return null==t?o:Zi(t,e)}},Ai.pull=Ba,Ai.pullAll=ka,Ai.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?_r(t,e,jo(n,2)):t},Ai.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?_r(t,e,o,n):t},Ai.pullAt=Ta,Ai.range=Hl,Ai.rangeRight=Vl,Ai.rearg=ps,Ai.reject=function(t,e){return(ys(t)?qe:$i)(t,us(jo(e,3)))},Ai.remove=function(t,e){var n=[];if(!t||!t.length)return n;var i=-1,r=[],o=t.length;for(e=jo(e,3);++i<o;){var a=t[i];e(a,i,t)&&(n.push(a),r.push(i))}return wr(t,r),n},Ai.rest=function(t,e){if("function"!=typeof t)throw new re(l);return Sr(t,e=e===o?e:Vs(e))},Ai.reverse=Oa,Ai.sampleSize=function(t,e,n){return e=(n?Yo(t,e,n):e===o)?1:Vs(e),(ys(t)?ki:kr)(t,e)},Ai.set=function(t,e,n){return null==t?t:Tr(t,e,n)},Ai.setWith=function(t,e,n,i){return i="function"==typeof i?i:o,null==t?t:Tr(t,e,n,i)},Ai.shuffle=function(t){return(ys(t)?Ti:Ir)(t)},Ai.slice=function(t,e,n){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&Yo(t,e,n)?(e=0,n=i):(e=null==e?0:Vs(e),n=n===o?i:Vs(n)),Mr(t,e,n)):[]},Ai.sortBy=ts,Ai.sortedUniq=function(t){return t&&t.length?Pr(t):[]},Ai.sortedUniqBy=function(t,e){return t&&t.length?Pr(t,jo(e,2)):[]},Ai.split=function(t,e,n){return n&&"number"!=typeof n&&Yo(t,e,n)&&(e=n=o),(n=n===o?j:n>>>0)?(t=Ws(t))&&("string"==typeof e||null!=e&&!Ls(e))&&!(e=jr(e))&&kn(t)?Xr(Ln(t),0,n):t.split(e,n):[]},Ai.spread=function(t,e){if("function"!=typeof t)throw new re(l);return e=null==e?0:Wn(Vs(e),0),Sr(function(n){var i=n[e],r=Xr(n,0,e);return i&&en(r,i),Ge(t,this,r)})},Ai.tail=function(t){var e=null==t?0:t.length;return e?Mr(t,1,e):[]},Ai.take=function(t,e,n){return t&&t.length?Mr(t,0,(e=n||e===o?1:Vs(e))<0?0:e):[]},Ai.takeRight=function(t,e,n){var i=null==t?0:t.length;return i?Mr(t,(e=i-(e=n||e===o?1:Vs(e)))<0?0:e,i):[]},Ai.takeRightWhile=function(t,e){return t&&t.length?Hr(t,jo(e,3),!1,!0):[]},Ai.takeWhile=function(t,e){return t&&t.length?Hr(t,jo(e,3)):[]},Ai.tap=function(t,e){return e(t),t},Ai.throttle=function(t,e,n){var i=!0,r=!0;if("function"!=typeof t)throw new re(l);return Os(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),as(t,e,{leading:i,maxWait:e,trailing:r})},Ai.thru=Ha,Ai.toArray=Qs,Ai.toPairs=fl,Ai.toPairsIn=pl,Ai.toPath=function(t){return ys(t)?tn(t,da):Ns(t)?[t]:ro(ha(Ws(t)))},Ai.toPlainObject=Gs,Ai.transform=function(t,e,n){var i=ys(t),r=i||xs(t)||js(t);if(e=jo(e,4),null==n){var o=t&&t.constructor;n=r?i?new o:[]:Os(t)&&Bs(o)?gi(Oe(t)):{}}return(r?Ke:Yi)(t,function(t,i,r){return e(n,t,i,r)}),n},Ai.unary=function(t){return ns(t,1)},Ai.union=Ea,Ai.unionBy=Ia,Ai.unionWith=Ma,Ai.uniq=function(t){return t&&t.length?Ur(t):[]},Ai.uniqBy=function(t,e){return t&&t.length?Ur(t,jo(e,2)):[]},Ai.uniqWith=function(t,e){return e="function"==typeof e?e:o,t&&t.length?Ur(t,o,e):[]},Ai.unset=function(t,e){return null==t||Rr(t,e)},Ai.unzip=Da,Ai.unzipWith=La,Ai.update=function(t,e,n){return null==t?t:Qr(t,e,Wr(n))},Ai.updateWith=function(t,e,n,i){return i="function"==typeof i?i:o,null==t?t:Qr(t,e,Wr(n),i)},Ai.values=Al,Ai.valuesIn=function(t){return null==t?[]:bn(t,sl(t))},Ai.without=Fa,Ai.words=Bl,Ai.wrap=function(t,e){return ds(Wr(e),t)},Ai.xor=Pa,Ai.xorBy=Na,Ai.xorWith=ja,Ai.zip=Ua,Ai.zipObject=function(t,e){return $r(t||[],e||[],Ei)},Ai.zipObjectDeep=function(t,e){return $r(t||[],e||[],Tr)},Ai.zipWith=Ra,Ai.entries=fl,Ai.entriesIn=pl,Ai.extend=Ys,Ai.extendWith=Xs,Pl(Ai,Ai),Ai.add=Gl,Ai.attempt=kl,Ai.camelCase=gl,Ai.capitalize=vl,Ai.ceil=Wl,Ai.clamp=function(t,e,n){return n===o&&(n=e,e=o),n!==o&&(n=(n=$s(n))==n?n:0),e!==o&&(e=(e=$s(e))==e?e:0),Pi($s(t),e,n)},Ai.clone=function(t){return Ni(t,A)},Ai.cloneDeep=function(t){return Ni(t,f|A)},Ai.cloneDeepWith=function(t,e){return Ni(t,f|A,e="function"==typeof e?e:o)},Ai.cloneWith=function(t,e){return Ni(t,A,e="function"==typeof e?e:o)},Ai.conformsTo=function(t,e){return null==e||ji(t,e,al(e))},Ai.deburr=ml,Ai.defaultTo=function(t,e){return null==t||t!=t?e:t},Ai.divide=Kl,Ai.endsWith=function(t,e,n){t=Ws(t),e=jr(e);var i=t.length,r=n=n===o?i:Pi(Vs(n),0,i);return(n-=e.length)>=0&&t.slice(n,r)==e},Ai.eq=As,Ai.escape=function(t){return(t=Ws(t))&&Bt.test(t)?t.replace(Ct,Sn):t},Ai.escapeRegExp=function(t){return(t=Ws(t))&&Lt.test(t)?t.replace(Dt,"\\$&"):t},Ai.every=function(t,e,n){var i=ys(t)?Xe:Vi;return n&&Yo(t,e,n)&&(e=o),i(t,jo(e,3))},Ai.find=$a,Ai.findIndex=ma,Ai.findKey=function(t,e){return sn(t,jo(e,3),Yi)},Ai.findLast=Ga,Ai.findLastIndex=ya,Ai.findLastKey=function(t,e){return sn(t,jo(e,3),Xi)},Ai.floor=Yl,Ai.forEach=Wa,Ai.forEachRight=Ka,Ai.forIn=function(t,e){return null==t?t:Wi(t,jo(e,3),sl)},Ai.forInRight=function(t,e){return null==t?t:Ki(t,jo(e,3),sl)},Ai.forOwn=function(t,e){return t&&Yi(t,jo(e,3))},Ai.forOwnRight=function(t,e){return t&&Xi(t,jo(e,3))},Ai.get=el,Ai.gt=gs,Ai.gte=vs,Ai.has=function(t,e){return null!=t&&$o(t,e,nr)},Ai.hasIn=nl,Ai.head=_a,Ai.identity=Ml,Ai.includes=function(t,e,n,i){t=_s(t)?t:Al(t),n=n&&!i?Vs(n):0;var r=t.length;return n<0&&(n=Wn(r+n,0)),Ps(t)?n<=r&&t.indexOf(e,n)>-1:!!r&&cn(t,e,n)>-1},Ai.indexOf=function(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=null==n?0:Vs(n);return r<0&&(r=Wn(i+r,0)),cn(t,e,r)},Ai.inRange=function(t,e,n){return e=Hs(e),n===o?(n=e,e=0):n=Hs(n),function(t,e,n){return t>=Kn(e,n)&&t<Wn(e,n)}(t=$s(t),e,n)},Ai.invoke=ol,Ai.isArguments=ms,Ai.isArray=ys,Ai.isArrayBuffer=bs,Ai.isArrayLike=_s,Ai.isArrayLikeObject=ws,Ai.isBoolean=function(t){return!0===t||!1===t||Es(t)&&tr(t)==$},Ai.isBuffer=xs,Ai.isDate=Cs,Ai.isElement=function(t){return Es(t)&&1===t.nodeType&&!Ds(t)},Ai.isEmpty=function(t){if(null==t)return!0;if(_s(t)&&(ys(t)||"string"==typeof t||"function"==typeof t.splice||xs(t)||js(t)||ms(t)))return!t.length;var e=zo(t);if(e==q||e==it)return!t.size;if(Jo(t))return!hr(t).length;for(var n in t)if(ue.call(t,n))return!1;return!0},Ai.isEqual=function(t,e){return sr(t,e)},Ai.isEqualWith=function(t,e,n){var i=(n="function"==typeof n?n:o)?n(t,e):o;return i===o?sr(t,e,o,n):!!i},Ai.isError=Ss,Ai.isFinite=function(t){return"number"==typeof t&&zn(t)},Ai.isFunction=Bs,Ai.isInteger=ks,Ai.isLength=Ts,Ai.isMap=Is,Ai.isMatch=function(t,e){return t===e||lr(t,e,Ro(e))},Ai.isMatchWith=function(t,e,n){return n="function"==typeof n?n:o,lr(t,e,Ro(e),n)},Ai.isNaN=function(t){return Ms(t)&&t!=+t},Ai.isNative=function(t){if(Zo(t))throw new Pt(s);return cr(t)},Ai.isNil=function(t){return null==t},Ai.isNull=function(t){return null===t},Ai.isNumber=Ms,Ai.isObject=Os,Ai.isObjectLike=Es,Ai.isPlainObject=Ds,Ai.isRegExp=Ls,Ai.isSafeInteger=function(t){return ks(t)&&t>=-F&&t<=F},Ai.isSet=Fs,Ai.isString=Ps,Ai.isSymbol=Ns,Ai.isTypedArray=js,Ai.isUndefined=function(t){return t===o},Ai.isWeakMap=function(t){return Es(t)&&zo(t)==st},Ai.isWeakSet=function(t){return Es(t)&&tr(t)==lt},Ai.join=function(t,e){return null==t?"":$n.call(t,e)},Ai.kebabCase=yl,Ai.last=Sa,Ai.lastIndexOf=function(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=i;return n!==o&&(r=(r=Vs(n))<0?Wn(i+r,0):Kn(r,i-1)),e==e?function(t,e,n){for(var i=n+1;i--;)if(t[i]===e)return i;return i}(t,e,r):ln(t,hn,r,!0)},Ai.lowerCase=bl,Ai.lowerFirst=_l,Ai.lt=Us,Ai.lte=Rs,Ai.max=function(t){return t&&t.length?zi(t,Ml,er):o},Ai.maxBy=function(t,e){return t&&t.length?zi(t,jo(e,2),er):o},Ai.mean=function(t){return dn(t,Ml)},Ai.meanBy=function(t,e){return dn(t,jo(e,2))},Ai.min=function(t){return t&&t.length?zi(t,Ml,fr):o},Ai.minBy=function(t,e){return t&&t.length?zi(t,jo(e,2),fr):o},Ai.stubArray=zl,Ai.stubFalse=$l,Ai.stubObject=function(){return{}},Ai.stubString=function(){return""},Ai.stubTrue=function(){return!0},Ai.multiply=ql,Ai.nth=function(t,e){return t&&t.length?mr(t,Vs(e)):o},Ai.noConflict=function(){return Le._===this&&(Le._=Ae),this},Ai.noop=Nl,Ai.now=es,Ai.pad=function(t,e,n){t=Ws(t);var i=(e=Vs(e))?Dn(t):0;if(!e||i>=e)return t;var r=(e-i)/2;return bo(Qn(r),n)+t+bo(Rn(r),n)},Ai.padEnd=function(t,e,n){t=Ws(t);var i=(e=Vs(e))?Dn(t):0;return e&&i<e?t+bo(e-i,n):t},Ai.padStart=function(t,e,n){t=Ws(t);var i=(e=Vs(e))?Dn(t):0;return e&&i<e?bo(e-i,n)+t:t},Ai.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),Xn(Ws(t).replace(Ft,""),e||0)},Ai.random=function(t,e,n){if(n&&"boolean"!=typeof n&&Yo(t,e,n)&&(e=n=o),n===o&&("boolean"==typeof e?(n=e,e=o):"boolean"==typeof t&&(n=t,t=o)),t===o&&e===o?(t=0,e=1):(t=Hs(t),e===o?(e=t,t=0):e=Hs(e)),t>e){var i=t;t=e,e=i}if(n||t%1||e%1){var r=qn();return Kn(t+r*(e-t+Ee("1e-"+((r+"").length-1))),e)}return xr(t,e)},Ai.reduce=function(t,e,n){var i=ys(t)?nn:An,r=arguments.length<3;return i(t,jo(e,4),n,r,Qi)},Ai.reduceRight=function(t,e,n){var i=ys(t)?rn:An,r=arguments.length<3;return i(t,jo(e,4),n,r,Hi)},Ai.repeat=function(t,e,n){return e=(n?Yo(t,e,n):e===o)?1:Vs(e),Cr(Ws(t),e)},Ai.replace=function(){var t=arguments,e=Ws(t[0]);return t.length<3?e:e.replace(t[1],t[2])},Ai.result=function(t,e,n){var i=-1,r=(e=Kr(e,t)).length;for(r||(r=1,t=o);++i<r;){var a=null==t?o:t[da(e[i])];a===o&&(i=r,a=n),t=Bs(a)?a.call(t):a}return t},Ai.round=Zl,Ai.runInContext=t,Ai.sample=function(t){return(ys(t)?Bi:Br)(t)},Ai.size=function(t){if(null==t)return 0;if(_s(t))return Ps(t)?Dn(t):t.length;var e=zo(t);return e==q||e==it?t.size:hr(t).length},Ai.snakeCase=wl,Ai.some=function(t,e,n){var i=ys(t)?on:Dr;return n&&Yo(t,e,n)&&(e=o),i(t,jo(e,3))},Ai.sortedIndex=function(t,e){return Lr(t,e)},Ai.sortedIndexBy=function(t,e,n){return Fr(t,e,jo(n,2))},Ai.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var i=Lr(t,e);if(i<n&&As(t[i],e))return i}return-1},Ai.sortedLastIndex=function(t,e){return Lr(t,e,!0)},Ai.sortedLastIndexBy=function(t,e,n){return Fr(t,e,jo(n,2),!0)},Ai.sortedLastIndexOf=function(t,e){if(null!=t&&t.length){var n=Lr(t,e,!0)-1;if(As(t[n],e))return n}return-1},Ai.startCase=xl,Ai.startsWith=function(t,e,n){return t=Ws(t),n=null==n?0:Pi(Vs(n),0,t.length),e=jr(e),t.slice(n,n+e.length)==e},Ai.subtract=Jl,Ai.sum=function(t){return t&&t.length?gn(t,Ml):0},Ai.sumBy=function(t,e){return t&&t.length?gn(t,jo(e,2)):0},Ai.template=function(t,e,n){var i=Ai.templateSettings;n&&Yo(t,e,n)&&(e=o),t=Ws(t),e=Xs({},e,i,To);var r,a,s=Xs({},e.imports,i.imports,To),l=al(s),u=bn(s,l),h=0,d=e.interpolate||qt,f="__p += '",p=ne((e.escape||qt).source+"|"+d.source+"|"+(d===Ot?Vt:qt).source+"|"+(e.evaluate||qt).source+"|$","g"),A="//# sourceURL="+(ue.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Be+"]")+"\n";t.replace(p,function(e,n,i,o,s,l){return i||(i=o),f+=t.slice(h,l).replace(Zt,Bn),n&&(r=!0,f+="' +\n__e("+n+") +\n'"),s&&(a=!0,f+="';\n"+s+";\n__p += '"),i&&(f+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),h=l+e.length,e}),f+="';\n";var g=ue.call(e,"variable")&&e.variable;if(g){if(Qt.test(g))throw new Pt(c)}else f="with (obj) {\n"+f+"\n}\n";f=(a?f.replace(bt,""):f).replace(_t,"$1").replace(wt,"$1;"),f="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(r?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var v=kl(function(){return Jt(l,A+"return "+f).apply(o,u)});if(v.source=f,Ss(v))throw v;return v},Ai.times=function(t,e){if((t=Vs(t))<1||t>F)return[];var n=j,i=Kn(t,j);e=jo(e),t-=j;for(var r=vn(i,e);++n<t;)e(n);return r},Ai.toFinite=Hs,Ai.toInteger=Vs,Ai.toLength=zs,Ai.toLower=function(t){return Ws(t).toLowerCase()},Ai.toNumber=$s,Ai.toSafeInteger=function(t){return t?Pi(Vs(t),-F,F):0===t?t:0},Ai.toString=Ws,Ai.toUpper=function(t){return Ws(t).toUpperCase()},Ai.trim=function(t,e,n){if((t=Ws(t))&&(n||e===o))return mn(t);if(!t||!(e=jr(e)))return t;var i=Ln(t),r=Ln(e);return Xr(i,wn(i,r),xn(i,r)+1).join("")},Ai.trimEnd=function(t,e,n){if((t=Ws(t))&&(n||e===o))return t.slice(0,Fn(t)+1);if(!t||!(e=jr(e)))return t;var i=Ln(t);return Xr(i,0,xn(i,Ln(e))+1).join("")},Ai.trimStart=function(t,e,n){if((t=Ws(t))&&(n||e===o))return t.replace(Ft,"");if(!t||!(e=jr(e)))return t;var i=Ln(t);return Xr(i,wn(i,Ln(e))).join("")},Ai.truncate=function(t,e){var n=T,i=O;if(Os(e)){var r="separator"in e?e.separator:r;n="length"in e?Vs(e.length):n,i="omission"in e?jr(e.omission):i}var a=(t=Ws(t)).length;if(kn(t)){var s=Ln(t);a=s.length}if(n>=a)return t;var l=n-Dn(i);if(l<1)return i;var c=s?Xr(s,0,l).join(""):t.slice(0,l);if(r===o)return c+i;if(s&&(l+=c.length-l),Ls(r)){if(t.slice(l).search(r)){var u,h=c;for(r.global||(r=ne(r.source,Ws(zt.exec(r))+"g")),r.lastIndex=0;u=r.exec(h);)var d=u.index;c=c.slice(0,d===o?l:d)}}else if(t.indexOf(jr(r),l)!=l){var f=c.lastIndexOf(r);f>-1&&(c=c.slice(0,f))}return c+i},Ai.unescape=function(t){return(t=Ws(t))&&St.test(t)?t.replace(xt,Pn):t},Ai.uniqueId=function(t){var e=++he;return Ws(t)+e},Ai.upperCase=Cl,Ai.upperFirst=Sl,Ai.each=Wa,Ai.eachRight=Ka,Ai.first=_a,Pl(Ai,(Xl={},Yi(Ai,function(t,e){ue.call(Ai.prototype,e)||(Xl[e]=t)}),Xl),{chain:!1}),Ai.VERSION="4.17.21",Ke(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){Ai[t].placeholder=Ai}),Ke(["drop","take"],function(t,e){yi.prototype[t]=function(n){n=n===o?1:Wn(Vs(n),0);var i=this.__filtered__&&!e?new yi(this):this.clone();return i.__filtered__?i.__takeCount__=Kn(n,i.__takeCount__):i.__views__.push({size:Kn(n,j),type:t+(i.__dir__<0?"Right":"")}),i},yi.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),Ke(["filter","map","takeWhile"],function(t,e){var n=e+1,i=n==M||3==n;yi.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:jo(t,3),type:n}),e.__filtered__=e.__filtered__||i,e}}),Ke(["head","last"],function(t,e){var n="take"+(e?"Right":"");yi.prototype[t]=function(){return this[n](1).value()[0]}}),Ke(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");yi.prototype[t]=function(){return this.__filtered__?new yi(this):this[n](1)}}),yi.prototype.compact=function(){return this.filter(Ml)},yi.prototype.find=function(t){return this.filter(t).head()},yi.prototype.findLast=function(t){return this.reverse().find(t)},yi.prototype.invokeMap=Sr(function(t,e){return"function"==typeof t?new yi(this):this.map(function(n){return or(n,t,e)})}),yi.prototype.reject=function(t){return this.filter(us(jo(t)))},yi.prototype.slice=function(t,e){t=Vs(t);var n=this;return n.__filtered__&&(t>0||e<0)?new yi(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==o&&(n=(e=Vs(e))<0?n.dropRight(-e):n.take(e-t)),n)},yi.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},yi.prototype.toArray=function(){return this.take(j)},Yi(yi.prototype,function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),i=/^(?:head|last)$/.test(e),r=Ai[i?"take"+("last"==e?"Right":""):e],a=i||/^find/.test(e);r&&(Ai.prototype[e]=function(){var e=this.__wrapped__,s=i?[1]:arguments,l=e instanceof yi,c=s[0],u=l||ys(e),h=function(t){var e=r.apply(Ai,en([t],s));return i&&d?e[0]:e};u&&n&&"function"==typeof c&&1!=c.length&&(l=u=!1);var d=this.__chain__,f=!!this.__actions__.length,p=a&&!d,A=l&&!f;if(!a&&u){e=A?e:new yi(this);var g=t.apply(e,s);return g.__actions__.push({func:Ha,args:[h],thisArg:o}),new mi(g,d)}return p&&A?t.apply(this,s):(g=this.thru(h),p?i?g.value()[0]:g.value():g)})}),Ke(["pop","push","shift","sort","splice","unshift"],function(t){var e=oe[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:pop|shift)$/.test(t);Ai.prototype[t]=function(){var t=arguments;if(i&&!this.__chain__){var r=this.value();return e.apply(ys(r)?r:[],t)}return this[n](function(n){return e.apply(ys(n)?n:[],t)})}}),Yi(yi.prototype,function(t,e){var n=Ai[e];if(n){var i=n.name+"";ue.call(ai,i)||(ai[i]=[]),ai[i].push({name:e,func:n})}}),ai[go(o,y).name]=[{name:"wrapper",func:o}],yi.prototype.clone=function(){var t=new yi(this.__wrapped__);return t.__actions__=ro(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=ro(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=ro(this.__views__),t},yi.prototype.reverse=function(){if(this.__filtered__){var t=new yi(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},yi.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=ys(t),i=e<0,r=n?t.length:0,o=function(t,e,n){for(var i=-1,r=n.length;++i<r;){var o=n[i],a=o.size;switch(o.type){case"drop":t+=a;break;case"dropRight":e-=a;break;case"take":e=Kn(e,t+a);break;case"takeRight":t=Wn(t,e-a)}}return{start:t,end:e}}(0,r,this.__views__),a=o.start,s=o.end,l=s-a,c=i?s:a-1,u=this.__iteratees__,h=u.length,d=0,f=Kn(l,this.__takeCount__);if(!n||!i&&r==l&&f==l)return Vr(t,this.__actions__);var p=[];t:for(;l--&&d<f;){for(var A=-1,g=t[c+=e];++A<h;){var v=u[A],m=v.iteratee,y=v.type,b=m(g);if(y==D)g=b;else if(!b){if(y==M)continue t;break t}}p[d++]=g}return p},Ai.prototype.at=Va,Ai.prototype.chain=function(){return Qa(this)},Ai.prototype.commit=function(){return new mi(this.value(),this.__chain__)},Ai.prototype.next=function(){this.__values__===o&&(this.__values__=Qs(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?o:this.__values__[this.__index__++]}},Ai.prototype.plant=function(t){for(var e,n=this;n instanceof vi;){var i=pa(n);i.__index__=0,i.__values__=o,e?r.__wrapped__=i:e=i;var r=i;n=n.__wrapped__}return r.__wrapped__=t,e},Ai.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof yi){var e=t;return this.__actions__.length&&(e=new yi(this)),(e=e.reverse()).__actions__.push({func:Ha,args:[Oa],thisArg:o}),new mi(e,this.__chain__)}return this.thru(Oa)},Ai.prototype.toJSON=Ai.prototype.valueOf=Ai.prototype.value=function(){return Vr(this.__wrapped__,this.__actions__)},Ai.prototype.first=Ai.prototype.head,je&&(Ai.prototype[je]=function(){return this}),Ai}();Le._=Nn,(r=function(){return Nn}.call(e,n,e,i))===o||(i.exports=r)}).call(this)}).call(e,n("DuR2"),n("3IRH")(t))},M6a0:function(t,e){},MAlW:function(t,e){for(var n=[],i=0;i<256;++i)n[i]=(i+256).toString(16).substr(1);t.exports=function(t,e){var i=e||0,r=n;return[r[t[i++]],r[t[i++]],r[t[i++]],r[t[i++]],"-",r[t[i++]],r[t[i++]],"-",r[t[i++]],r[t[i++]],"-",r[t[i++]],r[t[i++]],"-",r[t[i++]],r[t[i++]],r[t[i++]],r[t[i++]],r[t[i++]],r[t[i++]]].join("")}},MHwQ:function(t,e,n){"use strict";var i=n("BldQ"),r=[["normalize",n("N/bT")],["block",n("q/Lo")],["inline",n("uiO5")],["linkify",n("6nDL")],["replacements",n("ai7u")],["smartquotes",n("S/pY")],["text_join",n("LSQh")]];function o(){this.ruler=new i;for(var t=0;t<r.length;t++)this.ruler.push(r[t][0],r[t][1])}o.prototype.process=function(t){var e,n,i;for(e=0,n=(i=this.ruler.getRules("")).length;e<n;e++)i[e](t)},o.prototype.State=n("8PNL"),t.exports=o},MU5D:function(t,e,n){var i=n("R9M2");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},Mhyx:function(t,e,n){var i=n("/bQp"),r=n("dSzd")("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||o[r]===t)}},MmMw:function(t,e,n){var i=n("EqjI");t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},Mur9:function(t,e){t.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},"N/bT":function(t,e,n){"use strict";var i=/\r\n?|\n/g,r=/\0/g;t.exports=function(t){var e;e=(e=t.src.replace(i,"\n")).replace(r,"�"),t.src=e}},NMof:function(t,e,n){"use strict";var i,r;"function"==typeof Symbol&&Symbol.iterator;void 0===(r="function"==typeof(i=function(){var t=window,e={placement:"bottom",gpuAcceleration:!0,offset:0,boundariesElement:"viewport",boundariesPadding:5,preventOverflowOrder:["left","right","top","bottom"],flipBehavior:"flip",arrowElement:"[x-arrow]",arrowOffset:0,modifiers:["shift","offset","preventOverflow","keepTogether","arrow","flip","applyStyle"],modifiersIgnored:[],forceAbsolute:!1};function n(t,n,i){this._reference=t.jquery?t[0]:t,this.state={};var r=void 0===n||null===n,o=n&&"[object Object]"===Object.prototype.toString.call(n);return this._popper=r||o?this.parse(o?n:{}):n.jquery?n[0]:n,this._options=Object.assign({},e,i),this._options.modifiers=this._options.modifiers.map(function(t){if(-1===this._options.modifiersIgnored.indexOf(t))return"applyStyle"===t&&this._popper.setAttribute("x-placement",this._options.placement),this.modifiers[t]||t}.bind(this)),this.state.position=this._getPosition(this._popper,this._reference),u(this._popper,{position:this.state.position,top:0}),this.update(),this._setupEventListeners(),this}function i(e){var n=e.style.display,i=e.style.visibility;e.style.display="block",e.style.visibility="hidden";e.offsetWidth;var r=t.getComputedStyle(e),o=parseFloat(r.marginTop)+parseFloat(r.marginBottom),a=parseFloat(r.marginLeft)+parseFloat(r.marginRight),s={width:e.offsetWidth+a,height:e.offsetHeight+o};return e.style.display=n,e.style.visibility=i,s}function r(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function o(t){var e=Object.assign({},t);return e.right=e.left+e.width,e.bottom=e.top+e.height,e}function a(t,e){var n,i=0;for(n in t){if(t[n]===e)return i;i++}return null}function s(e,n){return t.getComputedStyle(e,null)[n]}function l(e){var n=e.offsetParent;return n!==t.document.body&&n?n:t.document.documentElement}function c(e){var n=e.parentNode;return n?n===t.document?t.document.body.scrollTop||t.document.body.scrollLeft?t.document.body:t.document.documentElement:-1!==["scroll","auto"].indexOf(s(n,"overflow"))||-1!==["scroll","auto"].indexOf(s(n,"overflow-x"))||-1!==["scroll","auto"].indexOf(s(n,"overflow-y"))?n:c(e.parentNode):e}function u(t,e){Object.keys(e).forEach(function(n){var i,r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&(""!==(i=e[n])&&!isNaN(parseFloat(i))&&isFinite(i))&&(r="px"),t.style[n]=e[n]+r})}function h(t){var e={width:t.offsetWidth,height:t.offsetHeight,left:t.offsetLeft,top:t.offsetTop};return e.right=e.left+e.width,e.bottom=e.top+e.height,e}function d(t){var e=t.getBoundingClientRect(),n=-1!=navigator.userAgent.indexOf("MSIE")&&"HTML"===t.tagName?-t.scrollTop:e.top;return{left:e.left,top:n,right:e.right,bottom:e.bottom,width:e.right-e.left,height:e.bottom-n}}function f(e){for(var n=["","ms","webkit","moz","o"],i=0;i<n.length;i++){var r=n[i]?n[i]+e.charAt(0).toUpperCase()+e.slice(1):e;if(void 0!==t.document.body.style[r])return r}return null}return n.prototype.destroy=function(){return this._popper.removeAttribute("x-placement"),this._popper.style.left="",this._popper.style.position="",this._popper.style.top="",this._popper.style[f("transform")]="",this._removeEventListeners(),this._options.removeOnDestroy&&this._popper.remove(),this},n.prototype.update=function(){var t={instance:this,styles:{}};t.placement=this._options.placement,t._originalPlacement=this._options.placement,t.offsets=this._getOffsets(this._popper,this._reference,t.placement),t.boundaries=this._getBoundaries(t,this._options.boundariesPadding,this._options.boundariesElement),t=this.runModifiers(t,this._options.modifiers),"function"==typeof this.state.updateCallback&&this.state.updateCallback(t)},n.prototype.onCreate=function(t){return t(this),this},n.prototype.onUpdate=function(t){return this.state.updateCallback=t,this},n.prototype.parse=function(e){var n={tagName:"div",classNames:["popper"],attributes:[],parent:t.document.body,content:"",contentType:"text",arrowTagName:"div",arrowClassNames:["popper__arrow"],arrowAttributes:["x-arrow"]};e=Object.assign({},n,e);var i=t.document,r=i.createElement(e.tagName);if(s(r,e.classNames),l(r,e.attributes),"node"===e.contentType?r.appendChild(e.content.jquery?e.content[0]:e.content):"html"===e.contentType?r.innerHTML=e.content:r.textContent=e.content,e.arrowTagName){var o=i.createElement(e.arrowTagName);s(o,e.arrowClassNames),l(o,e.arrowAttributes),r.appendChild(o)}var a=e.parent.jquery?e.parent[0]:e.parent;if("string"==typeof a){if((a=i.querySelectorAll(e.parent)).length>1&&console.warn("WARNING: the given `parent` query("+e.parent+") matched more than one element, the first one will be used"),0===a.length)throw"ERROR: the given `parent` doesn't exists!";a=a[0]}return a.length>1&&a instanceof Element==!1&&(console.warn("WARNING: you have passed as parent a list of elements, the first one will be used"),a=a[0]),a.appendChild(r),r;function s(t,e){e.forEach(function(e){t.classList.add(e)})}function l(t,e){e.forEach(function(e){t.setAttribute(e.split(":")[0],e.split(":")[1]||"")})}},n.prototype._getPosition=function(e,n){l(n);return this._options.forceAbsolute?"absolute":function e(n){if(n===t.document.body)return!1;if("fixed"===s(n,"position"))return!0;return n.parentNode?e(n.parentNode):n}(n)?"fixed":"absolute"},n.prototype._getOffsets=function(t,e,n){n=n.split("-")[0];var r={};r.position=this.state.position;var o="fixed"===r.position,a=function(t,e,n){var i=d(t),r=d(e);if(n){var o=c(e);r.top+=o.scrollTop,r.bottom+=o.scrollTop,r.left+=o.scrollLeft,r.right+=o.scrollLeft}return{top:i.top-r.top,left:i.left-r.left,bottom:i.top-r.top+i.height,right:i.left-r.left+i.width,width:i.width,height:i.height}}(e,l(t),o),s=i(t);return-1!==["right","left"].indexOf(n)?(r.top=a.top+a.height/2-s.height/2,r.left="left"===n?a.left-s.width:a.right):(r.left=a.left+a.width/2-s.width/2,r.top="top"===n?a.top-s.height:a.bottom),r.width=s.width,r.height=s.height,{popper:r,reference:a}},n.prototype._setupEventListeners=function(){if(this.state.updateBound=this.update.bind(this),t.addEventListener("resize",this.state.updateBound),"window"!==this._options.boundariesElement){var e=c(this._reference);e!==t.document.body&&e!==t.document.documentElement||(e=t),e.addEventListener("scroll",this.state.updateBound),this.state.scrollTarget=e}},n.prototype._removeEventListeners=function(){t.removeEventListener("resize",this.state.updateBound),"window"!==this._options.boundariesElement&&this.state.scrollTarget&&(this.state.scrollTarget.removeEventListener("scroll",this.state.updateBound),this.state.scrollTarget=null),this.state.updateBound=null},n.prototype._getBoundaries=function(e,n,i){var r,o,a={};if("window"===i){var s=t.document.body,u=t.document.documentElement;r=Math.max(s.scrollHeight,s.offsetHeight,u.clientHeight,u.scrollHeight,u.offsetHeight),a={top:0,right:Math.max(s.scrollWidth,s.offsetWidth,u.clientWidth,u.scrollWidth,u.offsetWidth),bottom:r,left:0}}else if("viewport"===i){var d=l(this._popper),f=c(this._popper),p=h(d),A="fixed"===e.offsets.popper.position?0:(o=f)==document.body?Math.max(document.documentElement.scrollTop,document.body.scrollTop):o.scrollTop,g="fixed"===e.offsets.popper.position?0:function(t){return t==document.body?Math.max(document.documentElement.scrollLeft,document.body.scrollLeft):t.scrollLeft}(f);a={top:0-(p.top-A),right:t.document.documentElement.clientWidth-(p.left-g),bottom:t.document.documentElement.clientHeight-(p.top-A),left:0-(p.left-g)}}else a=l(this._popper)===i?{top:0,left:0,right:i.clientWidth,bottom:i.clientHeight}:h(i);return a.left+=n,a.right-=n,a.top=a.top+n,a.bottom=a.bottom-n,a},n.prototype.runModifiers=function(t,e,n){var i=e.slice();return void 0!==n&&(i=this._options.modifiers.slice(0,a(this._options.modifiers,n))),i.forEach(function(e){var n;(n=e)&&"[object Function]"==={}.toString.call(n)&&(t=e.call(this,t))}.bind(this)),t},n.prototype.isModifierRequired=function(t,e){var n=a(this._options.modifiers,t);return!!this._options.modifiers.slice(0,n).filter(function(t){return t===e}).length},n.prototype.modifiers={},n.prototype.modifiers.applyStyle=function(t){var e,n={position:t.offsets.popper.position},i=Math.round(t.offsets.popper.left),r=Math.round(t.offsets.popper.top);return this._options.gpuAcceleration&&(e=f("transform"))?(n[e]="translate3d("+i+"px, "+r+"px, 0)",n.top=0,n.left=0):(n.left=i,n.top=r),Object.assign(n,t.styles),u(this._popper,n),this._popper.setAttribute("x-placement",t.placement),this.isModifierRequired(this.modifiers.applyStyle,this.modifiers.arrow)&&t.offsets.arrow&&u(t.arrowElement,t.offsets.arrow),t},n.prototype.modifiers.shift=function(t){var e=t.placement,n=e.split("-")[0],i=e.split("-")[1];if(i){var r=t.offsets.reference,a=o(t.offsets.popper),s={y:{start:{top:r.top},end:{top:r.top+r.height-a.height}},x:{start:{left:r.left},end:{left:r.left+r.width-a.width}}},l=-1!==["bottom","top"].indexOf(n)?"x":"y";t.offsets.popper=Object.assign(a,s[l][i])}return t},n.prototype.modifiers.preventOverflow=function(t){var e=this._options.preventOverflowOrder,n=o(t.offsets.popper),i={left:function(){var e=n.left;return n.left<t.boundaries.left&&(e=Math.max(n.left,t.boundaries.left)),{left:e}},right:function(){var e=n.left;return n.right>t.boundaries.right&&(e=Math.min(n.left,t.boundaries.right-n.width)),{left:e}},top:function(){var e=n.top;return n.top<t.boundaries.top&&(e=Math.max(n.top,t.boundaries.top)),{top:e}},bottom:function(){var e=n.top;return n.bottom>t.boundaries.bottom&&(e=Math.min(n.top,t.boundaries.bottom-n.height)),{top:e}}};return e.forEach(function(e){t.offsets.popper=Object.assign(n,i[e]())}),t},n.prototype.modifiers.keepTogether=function(t){var e=o(t.offsets.popper),n=t.offsets.reference,i=Math.floor;return e.right<i(n.left)&&(t.offsets.popper.left=i(n.left)-e.width),e.left>i(n.right)&&(t.offsets.popper.left=i(n.right)),e.bottom<i(n.top)&&(t.offsets.popper.top=i(n.top)-e.height),e.top>i(n.bottom)&&(t.offsets.popper.top=i(n.bottom)),t},n.prototype.modifiers.flip=function(t){if(!this.isModifierRequired(this.modifiers.flip,this.modifiers.preventOverflow))return console.warn("WARNING: preventOverflow modifier is required by flip modifier in order to work, be sure to include it before flip!"),t;if(t.flipped&&t.placement===t._originalPlacement)return t;var e=t.placement.split("-")[0],n=r(e),i=t.placement.split("-")[1]||"",a=[];return(a="flip"===this._options.flipBehavior?[e,n]:this._options.flipBehavior).forEach(function(s,l){if(e===s&&a.length!==l+1){e=t.placement.split("-")[0],n=r(e);var c=o(t.offsets.popper),u=-1!==["right","bottom"].indexOf(e);(u&&Math.floor(t.offsets.reference[e])>Math.floor(c[n])||!u&&Math.floor(t.offsets.reference[e])<Math.floor(c[n]))&&(t.flipped=!0,t.placement=a[l+1],i&&(t.placement+="-"+i),t.offsets.popper=this._getOffsets(this._popper,this._reference,t.placement).popper,t=this.runModifiers(t,this._options.modifiers,this._flip))}}.bind(this)),t},n.prototype.modifiers.offset=function(t){var e=this._options.offset,n=t.offsets.popper;return-1!==t.placement.indexOf("left")?n.top-=e:-1!==t.placement.indexOf("right")?n.top+=e:-1!==t.placement.indexOf("top")?n.left-=e:-1!==t.placement.indexOf("bottom")&&(n.left+=e),t},n.prototype.modifiers.arrow=function(t){var e=this._options.arrowElement,n=this._options.arrowOffset;if("string"==typeof e&&(e=this._popper.querySelector(e)),!e)return t;if(!this._popper.contains(e))return console.warn("WARNING: `arrowElement` must be child of its popper element!"),t;if(!this.isModifierRequired(this.modifiers.arrow,this.modifiers.keepTogether))return console.warn("WARNING: keepTogether modifier is required by arrow modifier in order to work, be sure to include it before arrow!"),t;var r={},a=t.placement.split("-")[0],s=o(t.offsets.popper),l=t.offsets.reference,c=-1!==["left","right"].indexOf(a),u=c?"height":"width",h=c?"top":"left",d=c?"left":"top",f=c?"bottom":"right",p=i(e)[u];l[f]-p<s[h]&&(t.offsets.popper[h]-=s[h]-(l[f]-p)),l[h]+p>s[f]&&(t.offsets.popper[h]+=l[h]+p-s[f]);var A=l[h]+(n||l[u]/2-p/2)-s[h];return A=Math.max(Math.min(s[u]-p-8,A),8),r[h]=A,r[d]="",t.offsets.arrow=r,t.arrowElement=e,t},Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:function(t){if(void 0===t||null===t)throw new TypeError("Cannot convert first argument to object");for(var e=Object(t),n=1;n<arguments.length;n++){var i=arguments[n];if(void 0!==i&&null!==i){i=Object(i);for(var r=Object.keys(i),o=0,a=r.length;o<a;o++){var s=r[o],l=Object.getOwnPropertyDescriptor(i,s);void 0!==l&&l.enumerable&&(e[s]=i[s])}}}return e}}),n})?i.call(e,n,e,t):i)||(t.exports=r)},"NWt+":function(t,e,n){var i=n("+ZMJ"),r=n("msXi"),o=n("Mhyx"),a=n("77Pl"),s=n("QRG4"),l=n("3fs2"),c={},u={};(e=t.exports=function(t,e,n,h,d){var f,p,A,g,v=d?function(){return t}:l(t),m=i(n,h,e?2:1),y=0;if("function"!=typeof v)throw TypeError(t+" is not iterable!");if(o(v)){for(f=s(t.length);f>y;y++)if((g=e?m(a(p=t[y])[0],p[1]):m(t[y]))===c||g===u)return g}else for(A=v.call(t);!(p=A.next()).done;)if((g=r(A,m,p.value,e))===c||g===u)return g}).BREAK=c,e.RETURN=u},NYxO:function(t,e,n){"use strict";(function(t){var n=("undefined"!=typeof window?window:void 0!==t?t:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function i(t,e){if(void 0===e&&(e=[]),null===t||"object"!=typeof t)return t;var n,r=(n=function(e){return e.original===t},e.filter(n)[0]);if(r)return r.copy;var o=Array.isArray(t)?[]:{};return e.push({original:t,copy:o}),Object.keys(t).forEach(function(n){o[n]=i(t[n],e)}),o}function r(t,e){Object.keys(t).forEach(function(n){return e(t[n],n)})}function o(t){return null!==t&&"object"==typeof t}var a=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"==typeof n?n():n)||{}},s={namespaced:{configurable:!0}};s.namespaced.get=function(){return!!this._rawModule.namespaced},a.prototype.addChild=function(t,e){this._children[t]=e},a.prototype.removeChild=function(t){delete this._children[t]},a.prototype.getChild=function(t){return this._children[t]},a.prototype.hasChild=function(t){return t in this._children},a.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},a.prototype.forEachChild=function(t){r(this._children,t)},a.prototype.forEachGetter=function(t){this._rawModule.getters&&r(this._rawModule.getters,t)},a.prototype.forEachAction=function(t){this._rawModule.actions&&r(this._rawModule.actions,t)},a.prototype.forEachMutation=function(t){this._rawModule.mutations&&r(this._rawModule.mutations,t)},Object.defineProperties(a.prototype,s);var l=function(t){this.register([],t,!1)};l.prototype.get=function(t){return t.reduce(function(t,e){return t.getChild(e)},this.root)},l.prototype.getNamespace=function(t){var e=this.root;return t.reduce(function(t,n){return t+((e=e.getChild(n)).namespaced?n+"/":"")},"")},l.prototype.update=function(t){!function t(e,n,i){0;n.update(i);if(i.modules)for(var r in i.modules){if(!n.getChild(r))return void 0;t(e.concat(r),n.getChild(r),i.modules[r])}}([],this.root,t)},l.prototype.register=function(t,e,n){var i=this;void 0===n&&(n=!0);var o=new a(e,n);0===t.length?this.root=o:this.get(t.slice(0,-1)).addChild(t[t.length-1],o);e.modules&&r(e.modules,function(e,r){i.register(t.concat(r),e,n)})},l.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],i=e.getChild(n);i&&i.runtime&&e.removeChild(n)},l.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var c;var u=function(t){var e=this;void 0===t&&(t={}),!c&&"undefined"!=typeof window&&window.Vue&&m(window.Vue);var i=t.plugins;void 0===i&&(i=[]);var r=t.strict;void 0===r&&(r=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new l(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new c,this._makeLocalGettersCache=Object.create(null);var o=this,a=this.dispatch,s=this.commit;this.dispatch=function(t,e){return a.call(o,t,e)},this.commit=function(t,e,n){return s.call(o,t,e,n)},this.strict=r;var u=this._modules.root.state;A(this,u,[],this._modules.root),p(this,u),i.forEach(function(t){return t(e)}),(void 0!==t.devtools?t.devtools:c.config.devtools)&&function(t){n&&(t._devtoolHook=n,n.emit("vuex:init",t),n.on("vuex:travel-to-state",function(e){t.replaceState(e)}),t.subscribe(function(t,e){n.emit("vuex:mutation",t,e)},{prepend:!0}),t.subscribeAction(function(t,e){n.emit("vuex:action",t,e)},{prepend:!0}))}(this)},h={state:{configurable:!0}};function d(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function f(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;A(t,n,[],t._modules.root,!0),p(t,n,e)}function p(t,e,n){var i=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var o={};r(t._wrappedGetters,function(e,n){o[n]=function(t,e){return function(){return t(e)}}(e,t),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})});var a=c.config.silent;c.config.silent=!0,t._vm=new c({data:{$$state:e},computed:o}),c.config.silent=a,t.strict&&function(t){t._vm.$watch(function(){return this._data.$$state},function(){0},{deep:!0,sync:!0})}(t),i&&(n&&t._withCommit(function(){i._data.$$state=null}),c.nextTick(function(){return i.$destroy()}))}function A(t,e,n,i,r){var o=!n.length,a=t._modules.getNamespace(n);if(i.namespaced&&(t._modulesNamespaceMap[a],t._modulesNamespaceMap[a]=i),!o&&!r){var s=g(e,n.slice(0,-1)),l=n[n.length-1];t._withCommit(function(){c.set(s,l,i.state)})}var u=i.context=function(t,e,n){var i=""===e,r={dispatch:i?t.dispatch:function(n,i,r){var o=v(n,i,r),a=o.payload,s=o.options,l=o.type;return s&&s.root||(l=e+l),t.dispatch(l,a)},commit:i?t.commit:function(n,i,r){var o=v(n,i,r),a=o.payload,s=o.options,l=o.type;s&&s.root||(l=e+l),t.commit(l,a,s)}};return Object.defineProperties(r,{getters:{get:i?function(){return t.getters}:function(){return function(t,e){if(!t._makeLocalGettersCache[e]){var n={},i=e.length;Object.keys(t.getters).forEach(function(r){if(r.slice(0,i)===e){var o=r.slice(i);Object.defineProperty(n,o,{get:function(){return t.getters[r]},enumerable:!0})}}),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}(t,e)}},state:{get:function(){return g(t.state,n)}}}),r}(t,a,n);i.forEachMutation(function(e,n){!function(t,e,n,i){(t._mutations[e]||(t._mutations[e]=[])).push(function(e){n.call(t,i.state,e)})}(t,a+n,e,u)}),i.forEachAction(function(e,n){var i=e.root?n:a+n,r=e.handler||e;!function(t,e,n,i){(t._actions[e]||(t._actions[e]=[])).push(function(e){var r,o=n.call(t,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:t.getters,rootState:t.state},e);return(r=o)&&"function"==typeof r.then||(o=Promise.resolve(o)),t._devtoolHook?o.catch(function(e){throw t._devtoolHook.emit("vuex:error",e),e}):o})}(t,i,r,u)}),i.forEachGetter(function(e,n){!function(t,e,n,i){if(t._wrappedGetters[e])return void 0;t._wrappedGetters[e]=function(t){return n(i.state,i.getters,t.state,t.getters)}}(t,a+n,e,u)}),i.forEachChild(function(i,o){A(t,e,n.concat(o),i,r)})}function g(t,e){return e.reduce(function(t,e){return t[e]},t)}function v(t,e,n){return o(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function m(t){c&&t===c||
  83. /*!
  84. * vuex v3.6.2
  85. * (c) 2021 Evan You
  86. * @license MIT
  87. */
  88. function(t){if(Number(t.version.split(".")[0])>=2)t.mixin({beforeCreate:n});else{var e=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[n].concat(t.init):n,e.call(this,t)}}function n(){var t=this.$options;t.store?this.$store="function"==typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}(c=t)}h.state.get=function(){return this._vm._data.$$state},h.state.set=function(t){0},u.prototype.commit=function(t,e,n){var i=this,r=v(t,e,n),o=r.type,a=r.payload,s=(r.options,{type:o,payload:a}),l=this._mutations[o];l&&(this._withCommit(function(){l.forEach(function(t){t(a)})}),this._subscribers.slice().forEach(function(t){return t(s,i.state)}))},u.prototype.dispatch=function(t,e){var n=this,i=v(t,e),r=i.type,o=i.payload,a={type:r,payload:o},s=this._actions[r];if(s){try{this._actionSubscribers.slice().filter(function(t){return t.before}).forEach(function(t){return t.before(a,n.state)})}catch(t){0}var l=s.length>1?Promise.all(s.map(function(t){return t(o)})):s[0](o);return new Promise(function(t,e){l.then(function(e){try{n._actionSubscribers.filter(function(t){return t.after}).forEach(function(t){return t.after(a,n.state)})}catch(t){0}t(e)},function(t){try{n._actionSubscribers.filter(function(t){return t.error}).forEach(function(e){return e.error(a,n.state,t)})}catch(t){0}e(t)})})}},u.prototype.subscribe=function(t,e){return d(t,this._subscribers,e)},u.prototype.subscribeAction=function(t,e){return d("function"==typeof t?{before:t}:t,this._actionSubscribers,e)},u.prototype.watch=function(t,e,n){var i=this;return this._watcherVM.$watch(function(){return t(i.state,i.getters)},e,n)},u.prototype.replaceState=function(t){var e=this;this._withCommit(function(){e._vm._data.$$state=t})},u.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),A(this,this.state,t,this._modules.get(t),n.preserveState),p(this,this.state)},u.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var n=g(e.state,t.slice(0,-1));c.delete(n,t[t.length-1])}),f(this)},u.prototype.hasModule=function(t){return"string"==typeof t&&(t=[t]),this._modules.isRegistered(t)},u.prototype.hotUpdate=function(t){this._modules.update(t),f(this,!0)},u.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(u.prototype,h);var y=C(function(t,e){var n={};return x(e).forEach(function(e){var i=e.key,r=e.val;n[i]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var i=S(this.$store,"mapState",t);if(!i)return;e=i.context.state,n=i.context.getters}return"function"==typeof r?r.call(this,e,n):e[r]},n[i].vuex=!0}),n}),b=C(function(t,e){var n={};return x(e).forEach(function(e){var i=e.key,r=e.val;n[i]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var i=this.$store.commit;if(t){var o=S(this.$store,"mapMutations",t);if(!o)return;i=o.context.commit}return"function"==typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}}),n}),_=C(function(t,e){var n={};return x(e).forEach(function(e){var i=e.key,r=e.val;r=t+r,n[i]=function(){if(!t||S(this.$store,"mapGetters",t))return this.$store.getters[r]},n[i].vuex=!0}),n}),w=C(function(t,e){var n={};return x(e).forEach(function(e){var i=e.key,r=e.val;n[i]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var i=this.$store.dispatch;if(t){var o=S(this.$store,"mapActions",t);if(!o)return;i=o.context.dispatch}return"function"==typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}}),n});function x(t){return function(t){return Array.isArray(t)||o(t)}(t)?Array.isArray(t)?t.map(function(t){return{key:t,val:t}}):Object.keys(t).map(function(e){return{key:e,val:t[e]}}):[]}function C(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function S(t,e,n){return t._modulesNamespaceMap[n]}function B(t,e,n){var i=n?t.groupCollapsed:t.group;try{i.call(t,e)}catch(n){t.log(e)}}function k(t){try{t.groupEnd()}catch(e){t.log("—— log end ——")}}function T(){var t=new Date;return" @ "+O(t.getHours(),2)+":"+O(t.getMinutes(),2)+":"+O(t.getSeconds(),2)+"."+O(t.getMilliseconds(),3)}function O(t,e){return n="0",i=e-t.toString().length,new Array(i+1).join(n)+t;var n,i}var E={Store:u,install:m,version:"3.6.2",mapState:y,mapMutations:b,mapGetters:_,mapActions:w,createNamespacedHelpers:function(t){return{mapState:y.bind(null,t),mapGetters:_.bind(null,t),mapMutations:b.bind(null,t),mapActions:w.bind(null,t)}},createLogger:function(t){void 0===t&&(t={});var e=t.collapsed;void 0===e&&(e=!0);var n=t.filter;void 0===n&&(n=function(t,e,n){return!0});var r=t.transformer;void 0===r&&(r=function(t){return t});var o=t.mutationTransformer;void 0===o&&(o=function(t){return t});var a=t.actionFilter;void 0===a&&(a=function(t,e){return!0});var s=t.actionTransformer;void 0===s&&(s=function(t){return t});var l=t.logMutations;void 0===l&&(l=!0);var c=t.logActions;void 0===c&&(c=!0);var u=t.logger;return void 0===u&&(u=console),function(t){var h=i(t.state);void 0!==u&&(l&&t.subscribe(function(t,a){var s=i(a);if(n(t,h,s)){var l=T(),c=o(t),d="mutation "+t.type+l;B(u,d,e),u.log("%c prev state","color: #9E9E9E; font-weight: bold",r(h)),u.log("%c mutation","color: #03A9F4; font-weight: bold",c),u.log("%c next state","color: #4CAF50; font-weight: bold",r(s)),k(u)}h=s}),c&&t.subscribeAction(function(t,n){if(a(t,n)){var i=T(),r=s(t),o="action "+t.type+i;B(u,o,e),u.log("%c action","color: #03A9F4; font-weight: bold",r),k(u)}}))}}};e.a=E}).call(e,n("DuR2"))},NpIQ:function(t,e){e.f={}.propertyIsEnumerable},O4g8:function(t,e){t.exports=!0},O7JS:function(t,e){t.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},OAzY:function(t,e,n){"use strict";e.__esModule=!0;var i,r=n("7+uW"),o=(i=r)&&i.__esModule?i:{default:i},a=n("2kvA");var s=!1,l=!1,c=void 0,u=function(){if(!o.default.prototype.$isServer){var t=d.modalDom;return t?s=!0:(s=!1,t=document.createElement("div"),d.modalDom=t,t.addEventListener("touchmove",function(t){t.preventDefault(),t.stopPropagation()}),t.addEventListener("click",function(){d.doOnModalClick&&d.doOnModalClick()})),t}},h={},d={modalFade:!0,getInstance:function(t){return h[t]},register:function(t,e){t&&e&&(h[t]=e)},deregister:function(t){t&&(h[t]=null,delete h[t])},nextZIndex:function(){return d.zIndex++},modalStack:[],doOnModalClick:function(){var t=d.modalStack[d.modalStack.length-1];if(t){var e=d.getInstance(t.id);e&&e.closeOnClickModal&&e.close()}},openModal:function(t,e,n,i,r){if(!o.default.prototype.$isServer&&t&&void 0!==e){this.modalFade=r;for(var l=this.modalStack,c=0,h=l.length;c<h;c++){if(l[c].id===t)return}var d=u();if((0,a.addClass)(d,"v-modal"),this.modalFade&&!s&&(0,a.addClass)(d,"v-modal-enter"),i)i.trim().split(/\s+/).forEach(function(t){return(0,a.addClass)(d,t)});setTimeout(function(){(0,a.removeClass)(d,"v-modal-enter")},200),n&&n.parentNode&&11!==n.parentNode.nodeType?n.parentNode.appendChild(d):document.body.appendChild(d),e&&(d.style.zIndex=e),d.tabIndex=0,d.style.display="",this.modalStack.push({id:t,zIndex:e,modalClass:i})}},closeModal:function(t){var e=this.modalStack,n=u();if(e.length>0){var i=e[e.length-1];if(i.id===t){if(i.modalClass)i.modalClass.trim().split(/\s+/).forEach(function(t){return(0,a.removeClass)(n,t)});e.pop(),e.length>0&&(n.style.zIndex=e[e.length-1].zIndex)}else for(var r=e.length-1;r>=0;r--)if(e[r].id===t){e.splice(r,1);break}}0===e.length&&(this.modalFade&&(0,a.addClass)(n,"v-modal-leave"),setTimeout(function(){0===e.length&&(n.parentNode&&n.parentNode.removeChild(n),n.style.display="none",d.modalDom=void 0),(0,a.removeClass)(n,"v-modal-leave")},200))}};Object.defineProperty(d,"zIndex",{configurable:!0,get:function(){return l||(c=c||(o.default.prototype.$ELEMENT||{}).zIndex||2e3,l=!0),c},set:function(t){c=t}});o.default.prototype.$isServer||window.addEventListener("keydown",function(t){if(27===t.keyCode){var e=function(){if(!o.default.prototype.$isServer&&d.modalStack.length>0){var t=d.modalStack[d.modalStack.length-1];if(!t)return;return d.getInstance(t.id)}}();e&&e.closeOnPressEscape&&(e.handleClose?e.handleClose():e.handleAction?e.handleAction("cancel"):e.close())}}),e.default=d},ON07:function(t,e,n){var i=n("EqjI"),r=n("7KvD").document,o=i(r)&&i(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},ON3O:function(t,e,n){var i=n("uY1a");t.exports=function(t,e,n){return void 0===n?i(t,e,!1):i(t,n,!1!==e)}},OYls:function(t,e,n){n("crlp")("asyncIterator")},"Oi+a":function(t,e,n){"use strict";var i=n("dIwP"),r=n("qRfI");t.exports=function(t,e){return t&&!i(e)?r(t,e):e}},OwOc:function(t,e,n){"use strict";n.d(e,"c",function(){return i}),n.d(e,"b",function(){return r}),n.d(e,"a",function(){return o}),n.d(e,"d",function(){return h}),e.e=function(t){for(var e in h)t[e]&&(h[e]=t[e])};var i=12,r="sans-serif",o=i+"px "+r,a=20,s=100;var l,c,u=function(t){var e={};if("undefined"==typeof JSON)return e;for(var n=0;n<t.length;n++){var i=String.fromCharCode(n+32),r=(t.charCodeAt(n)-a)/s;e[i]=r}return e}("007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N"),h={createCanvas:function(){return"undefined"!=typeof document&&document.createElement("canvas")},measureText:function(t,e){if(!l){var n=h.createCanvas();l=n&&n.getContext("2d")}if(l)return c!==e&&(c=l.font=e||o),l.measureText(t);t=t||"";var r=/(\d+)px/.exec(e=e||o),a=r&&+r[1]||i,s=0;if(e.indexOf("mono")>=0)s=a*t.length;else for(var d=0;d<t.length;d++){var f=u[t[d]];s+=null==f?a:f*a}return{width:s}},loadImage:function(t,e,n){var i=new Image;return i.onload=e,i.onerror=n,i.src=t,i}}},PMNR:function(t,e,n){(function(e,n,i){var r,o;o=function(){return function t(e,n,i){function o(s,l){if(!n[s]){if(!e[s]){if(!l&&("function"==typeof r&&r))return r(s,!0);if(a)return a(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[s]={exports:{}};e[s][0].call(u.exports,function(t){return o(e[s][1][t]||t)},u,u.exports,t,e,n,i)}return n[s].exports}for(var a="function"==typeof r&&r,s=0;s<i.length;s++)o(i[s]);return o}({1:[function(t,e,n){"use strict";var i=t("./utils"),r=t("./support"),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.encode=function(t){for(var e,n,r,a,s,l,c,u=[],h=0,d=t.length,f=d,p="string"!==i.getTypeOf(t);h<t.length;)f=d-h,r=p?(e=t[h++],n=h<d?t[h++]:0,h<d?t[h++]:0):(e=t.charCodeAt(h++),n=h<d?t.charCodeAt(h++):0,h<d?t.charCodeAt(h++):0),a=e>>2,s=(3&e)<<4|n>>4,l=1<f?(15&n)<<2|r>>6:64,c=2<f?63&r:64,u.push(o.charAt(a)+o.charAt(s)+o.charAt(l)+o.charAt(c));return u.join("")},n.decode=function(t){var e,n,i,a,s,l,c=0,u=0,h="data:";if(t.substr(0,h.length)===h)throw new Error("Invalid base64 input, it looks like a data url.");var d,f=3*(t=t.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(t.charAt(t.length-1)===o.charAt(64)&&f--,t.charAt(t.length-2)===o.charAt(64)&&f--,f%1!=0)throw new Error("Invalid base64 input, bad content length.");for(d=r.uint8array?new Uint8Array(0|f):new Array(0|f);c<t.length;)e=o.indexOf(t.charAt(c++))<<2|(a=o.indexOf(t.charAt(c++)))>>4,n=(15&a)<<4|(s=o.indexOf(t.charAt(c++)))>>2,i=(3&s)<<6|(l=o.indexOf(t.charAt(c++))),d[u++]=e,64!==s&&(d[u++]=n),64!==l&&(d[u++]=i);return d}},{"./support":30,"./utils":32}],2:[function(t,e,n){"use strict";var i=t("./external"),r=t("./stream/DataWorker"),o=t("./stream/Crc32Probe"),a=t("./stream/DataLengthProbe");function s(t,e,n,i,r){this.compressedSize=t,this.uncompressedSize=e,this.crc32=n,this.compression=i,this.compressedContent=r}s.prototype={getContentWorker:function(){var t=new r(i.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new a("data_length")),e=this;return t.on("end",function(){if(this.streamInfo.data_length!==e.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),t},getCompressedWorker:function(){return new r(i.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(t,e,n){return t.pipe(new o).pipe(new a("uncompressedSize")).pipe(e.compressWorker(n)).pipe(new a("compressedSize")).withStreamInfo("compression",e)},e.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(t,e,n){"use strict";var i=t("./stream/GenericWorker");n.STORE={magic:"\0\0",compressWorker:function(){return new i("STORE compression")},uncompressWorker:function(){return new i("STORE decompression")}},n.DEFLATE=t("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(t,e,n){"use strict";var i=t("./utils"),r=function(){for(var t,e=[],n=0;n<256;n++){t=n;for(var i=0;i<8;i++)t=1&t?3988292384^t>>>1:t>>>1;e[n]=t}return e}();e.exports=function(t,e){return void 0!==t&&t.length?"string"!==i.getTypeOf(t)?function(t,e,n,i){var o=r,a=0+n;t^=-1;for(var s=0;s<a;s++)t=t>>>8^o[255&(t^e[s])];return-1^t}(0|e,t,t.length):function(t,e,n,i){var o=r,a=0+n;t^=-1;for(var s=0;s<a;s++)t=t>>>8^o[255&(t^e.charCodeAt(s))];return-1^t}(0|e,t,t.length):0}},{"./utils":32}],5:[function(t,e,n){"use strict";n.base64=!1,n.binary=!1,n.dir=!1,n.createFolders=!0,n.date=null,n.compression=null,n.compressionOptions=null,n.comment=null,n.unixPermissions=null,n.dosPermissions=null},{}],6:[function(t,e,n){"use strict";var i;i="undefined"!=typeof Promise?Promise:t("lie"),e.exports={Promise:i}},{lie:37}],7:[function(t,e,n){"use strict";var i="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,r=t("pako"),o=t("./utils"),a=t("./stream/GenericWorker"),s=i?"uint8array":"array";function l(t,e){a.call(this,"FlateWorker/"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=e,this.meta={}}n.magic="\b\0",o.inherits(l,a),l.prototype.processChunk=function(t){this.meta=t.meta,null===this._pako&&this._createPako(),this._pako.push(o.transformTo(s,t.data),!1)},l.prototype.flush=function(){a.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},l.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new r[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var t=this;this._pako.onData=function(e){t.push({data:e,meta:t.meta})}},n.compressWorker=function(t){return new l("Deflate",t)},n.uncompressWorker=function(){return new l("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(t,e,n){"use strict";function i(t,e){var n,i="";for(n=0;n<e;n++)i+=String.fromCharCode(255&t),t>>>=8;return i}function r(t,e,n,r,a,u){var h,d,f=t.file,p=t.compression,A=u!==s.utf8encode,g=o.transformTo("string",u(f.name)),v=o.transformTo("string",s.utf8encode(f.name)),m=f.comment,y=o.transformTo("string",u(m)),b=o.transformTo("string",s.utf8encode(m)),_=v.length!==f.name.length,w=b.length!==m.length,x="",C="",S="",B=f.dir,k=f.date,T={crc32:0,compressedSize:0,uncompressedSize:0};e&&!n||(T.crc32=t.crc32,T.compressedSize=t.compressedSize,T.uncompressedSize=t.uncompressedSize);var O=0;e&&(O|=8),A||!_&&!w||(O|=2048);var E=0,I=0;B&&(E|=16),"UNIX"===a?(I=798,E|=function(t,e){var n=t;return t||(n=B?16893:33204),(65535&n)<<16}(f.unixPermissions)):(I=20,E|=63&(f.dosPermissions||0)),h=k.getUTCHours(),h<<=6,h|=k.getUTCMinutes(),h<<=5,h|=k.getUTCSeconds()/2,d=k.getUTCFullYear()-1980,d<<=4,d|=k.getUTCMonth()+1,d<<=5,d|=k.getUTCDate(),_&&(x+="up"+i((C=i(1,1)+i(l(g),4)+v).length,2)+C),w&&(x+="uc"+i((S=i(1,1)+i(l(y),4)+b).length,2)+S);var M="";return M+="\n\0",M+=i(O,2),M+=p.magic,M+=i(h,2),M+=i(d,2),M+=i(T.crc32,4),M+=i(T.compressedSize,4),M+=i(T.uncompressedSize,4),M+=i(g.length,2),M+=i(x.length,2),{fileRecord:c.LOCAL_FILE_HEADER+M+g+x,dirRecord:c.CENTRAL_FILE_HEADER+i(I,2)+M+i(y.length,2)+"\0\0\0\0"+i(E,4)+i(r,4)+g+x+y}}var o=t("../utils"),a=t("../stream/GenericWorker"),s=t("../utf8"),l=t("../crc32"),c=t("../signature");function u(t,e,n,i){a.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=e,this.zipPlatform=n,this.encodeFileName=i,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}o.inherits(u,a),u.prototype.push=function(t){var e=t.meta.percent||0,n=this.entriesCount,i=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,a.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:n?(e+100*(n-i-1))/n:100}}))},u.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var e=this.streamFiles&&!t.file.dir;if(e){var n=r(t,e,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},u.prototype.closedSource=function(t){this.accumulate=!1;var e=this.streamFiles&&!t.file.dir,n=r(t,e,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),e)this.push({data:function(t){return c.DATA_DESCRIPTOR+i(t.crc32,4)+i(t.compressedSize,4)+i(t.uncompressedSize,4)}(t),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},u.prototype.flush=function(){for(var t=this.bytesWritten,e=0;e<this.dirRecords.length;e++)this.push({data:this.dirRecords[e],meta:{percent:100}});var n=this.bytesWritten-t,r=function(t,e,n,r,a){var s=o.transformTo("string",a(r));return c.CENTRAL_DIRECTORY_END+"\0\0\0\0"+i(t,2)+i(t,2)+i(e,4)+i(n,4)+i(s.length,2)+s}(this.dirRecords.length,n,t,this.zipComment,this.encodeFileName);this.push({data:r,meta:{percent:100}})},u.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},u.prototype.registerPrevious=function(t){this._sources.push(t);var e=this;return t.on("data",function(t){e.processChunk(t)}),t.on("end",function(){e.closedSource(e.previous.streamInfo),e._sources.length?e.prepareNextSource():e.end()}),t.on("error",function(t){e.error(t)}),this},u.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},u.prototype.error=function(t){var e=this._sources;if(!a.prototype.error.call(this,t))return!1;for(var n=0;n<e.length;n++)try{e[n].error(t)}catch(t){}return!0},u.prototype.lock=function(){a.prototype.lock.call(this);for(var t=this._sources,e=0;e<t.length;e++)t[e].lock()},e.exports=u},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(t,e,n){"use strict";var i=t("../compressions"),r=t("./ZipFileWorker");n.generateWorker=function(t,e,n){var o=new r(e.streamFiles,n,e.platform,e.encodeFileName),a=0;try{t.forEach(function(t,n){a++;var r=function(t,e){var n=t||e,r=i[n];if(!r)throw new Error(n+" is not a valid compression method !");return r}(n.options.compression,e.compression),s=n.options.compressionOptions||e.compressionOptions||{},l=n.dir,c=n.date;n._compressWorker(r,s).withStreamInfo("file",{name:t,dir:l,date:c,comment:n.comment||"",unixPermissions:n.unixPermissions,dosPermissions:n.dosPermissions}).pipe(o)}),o.entriesCount=a}catch(t){o.error(t)}return o}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(t,e,n){"use strict";function i(){if(!(this instanceof i))return new i;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var t=new i;for(var e in this)"function"!=typeof this[e]&&(t[e]=this[e]);return t}}(i.prototype=t("./object")).loadAsync=t("./load"),i.support=t("./support"),i.defaults=t("./defaults"),i.version="3.10.1",i.loadAsync=function(t,e){return(new i).loadAsync(t,e)},i.external=t("./external"),e.exports=i},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(t,e,n){"use strict";var i=t("./utils"),r=t("./external"),o=t("./utf8"),a=t("./zipEntries"),s=t("./stream/Crc32Probe"),l=t("./nodejsUtils");function c(t){return new r.Promise(function(e,n){var i=t.decompressed.getContentWorker().pipe(new s);i.on("error",function(t){n(t)}).on("end",function(){i.streamInfo.crc32!==t.decompressed.crc32?n(new Error("Corrupted zip : CRC32 mismatch")):e()}).resume()})}e.exports=function(t,e){var n=this;return e=i.extend(e||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:o.utf8decode}),l.isNode&&l.isStream(t)?r.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):i.prepareContent("the loaded zip file",t,!0,e.optimizedBinaryString,e.base64).then(function(t){var n=new a(e);return n.load(t),n}).then(function(t){var n=[r.Promise.resolve(t)],i=t.files;if(e.checkCRC32)for(var o=0;o<i.length;o++)n.push(c(i[o]));return r.Promise.all(n)}).then(function(t){for(var r=t.shift(),o=r.files,a=0;a<o.length;a++){var s=o[a],l=s.fileNameStr,c=i.resolve(s.fileNameStr);n.file(c,s.decompressed,{binary:!0,optimizedBinaryString:!0,date:s.date,dir:s.dir,comment:s.fileCommentStr.length?s.fileCommentStr:null,unixPermissions:s.unixPermissions,dosPermissions:s.dosPermissions,createFolders:e.createFolders}),s.dir||(n.file(c).unsafeOriginalName=l)}return r.zipComment.length&&(n.comment=r.zipComment),n})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(t,e,n){"use strict";var i=t("../utils"),r=t("../stream/GenericWorker");function o(t,e){r.call(this,"Nodejs stream input adapter for "+t),this._upstreamEnded=!1,this._bindStream(e)}i.inherits(o,r),o.prototype._bindStream=function(t){var e=this;(this._stream=t).pause(),t.on("data",function(t){e.push({data:t,meta:{percent:0}})}).on("error",function(t){e.isPaused?this.generatedError=t:e.error(t)}).on("end",function(){e.isPaused?e._upstreamEnded=!0:e.end()})},o.prototype.pause=function(){return!!r.prototype.pause.call(this)&&(this._stream.pause(),!0)},o.prototype.resume=function(){return!!r.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},e.exports=o},{"../stream/GenericWorker":28,"../utils":32}],13:[function(t,e,n){"use strict";var i=t("readable-stream").Readable;function r(t,e,n){i.call(this,e),this._helper=t;var r=this;t.on("data",function(t,e){r.push(t)||r._helper.pause(),n&&n(e)}).on("error",function(t){r.emit("error",t)}).on("end",function(){r.push(null)})}t("../utils").inherits(r,i),r.prototype._read=function(){this._helper.resume()},e.exports=r},{"../utils":32,"readable-stream":16}],14:[function(t,n,i){"use strict";n.exports={isNode:void 0!==e,newBufferFrom:function(t,n){if(e.from&&e.from!==Uint8Array.from)return e.from(t,n);if("number"==typeof t)throw new Error('The "data" argument must not be a number');return new e(t,n)},allocBuffer:function(t){if(e.alloc)return e.alloc(t);var n=new e(t);return n.fill(0),n},isBuffer:function(t){return e.isBuffer(t)},isStream:function(t){return t&&"function"==typeof t.on&&"function"==typeof t.pause&&"function"==typeof t.resume}}},{}],15:[function(t,e,n){"use strict";function i(t,e,n){var i,r=o.getTypeOf(e),s=o.extend(n||{},l);s.date=s.date||new Date,null!==s.compression&&(s.compression=s.compression.toUpperCase()),"string"==typeof s.unixPermissions&&(s.unixPermissions=parseInt(s.unixPermissions,8)),s.unixPermissions&&16384&s.unixPermissions&&(s.dir=!0),s.dosPermissions&&16&s.dosPermissions&&(s.dir=!0),s.dir&&(t=A(t)),s.createFolders&&(i=p(t))&&g.call(this,i,!0);var h="string"===r&&!1===s.binary&&!1===s.base64;n&&void 0!==n.binary||(s.binary=!h),(e instanceof c&&0===e.uncompressedSize||s.dir||!e||0===e.length)&&(s.base64=!1,s.binary=!0,e="",s.compression="STORE",r="string");var v;v=e instanceof c||e instanceof a?e:d.isNode&&d.isStream(e)?new f(t,e):o.prepareContent(t,e,s.binary,s.optimizedBinaryString,s.base64);var m=new u(t,v,s);this.files[t]=m}var r=t("./utf8"),o=t("./utils"),a=t("./stream/GenericWorker"),s=t("./stream/StreamHelper"),l=t("./defaults"),c=t("./compressedObject"),u=t("./zipObject"),h=t("./generate"),d=t("./nodejsUtils"),f=t("./nodejs/NodejsStreamInputAdapter"),p=function(t){"/"===t.slice(-1)&&(t=t.substring(0,t.length-1));var e=t.lastIndexOf("/");return 0<e?t.substring(0,e):""},A=function(t){return"/"!==t.slice(-1)&&(t+="/"),t},g=function(t,e){return e=void 0!==e?e:l.createFolders,t=A(t),this.files[t]||i.call(this,t,null,{dir:!0,createFolders:e}),this.files[t]};function v(t){return"[object RegExp]"===Object.prototype.toString.call(t)}var m={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(t){var e,n,i;for(e in this.files)i=this.files[e],(n=e.slice(this.root.length,e.length))&&e.slice(0,this.root.length)===this.root&&t(n,i)},filter:function(t){var e=[];return this.forEach(function(n,i){t(n,i)&&e.push(i)}),e},file:function(t,e,n){if(1!==arguments.length)return t=this.root+t,i.call(this,t,e,n),this;if(v(t)){var r=t;return this.filter(function(t,e){return!e.dir&&r.test(t)})}var o=this.files[this.root+t];return o&&!o.dir?o:null},folder:function(t){if(!t)return this;if(v(t))return this.filter(function(e,n){return n.dir&&t.test(e)});var e=this.root+t,n=g.call(this,e),i=this.clone();return i.root=n.name,i},remove:function(t){t=this.root+t;var e=this.files[t];if(e||("/"!==t.slice(-1)&&(t+="/"),e=this.files[t]),e&&!e.dir)delete this.files[t];else for(var n=this.filter(function(e,n){return n.name.slice(0,t.length)===t}),i=0;i<n.length;i++)delete this.files[n[i].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(t){var e,n={};try{if((n=o.extend(t||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:r.utf8encode})).type=n.type.toLowerCase(),n.compression=n.compression.toUpperCase(),"binarystring"===n.type&&(n.type="string"),!n.type)throw new Error("No output type specified.");o.checkSupport(n.type),"darwin"!==n.platform&&"freebsd"!==n.platform&&"linux"!==n.platform&&"sunos"!==n.platform||(n.platform="UNIX"),"win32"===n.platform&&(n.platform="DOS");var i=n.comment||this.comment||"";e=h.generateWorker(this,n,i)}catch(t){(e=new a("error")).error(t)}return new s(e,n.type||"string",n.mimeType)},generateAsync:function(t,e){return this.generateInternalStream(t).accumulate(e)},generateNodeStream:function(t,e){return(t=t||{}).type||(t.type="nodebuffer"),this.generateInternalStream(t).toNodejsStream(e)}};e.exports=m},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(t,e,n){"use strict";e.exports=t("stream")},{stream:void 0}],17:[function(t,e,n){"use strict";var i=t("./DataReader");function r(t){i.call(this,t);for(var e=0;e<this.data.length;e++)t[e]=255&t[e]}t("../utils").inherits(r,i),r.prototype.byteAt=function(t){return this.data[this.zero+t]},r.prototype.lastIndexOfSignature=function(t){for(var e=t.charCodeAt(0),n=t.charCodeAt(1),i=t.charCodeAt(2),r=t.charCodeAt(3),o=this.length-4;0<=o;--o)if(this.data[o]===e&&this.data[o+1]===n&&this.data[o+2]===i&&this.data[o+3]===r)return o-this.zero;return-1},r.prototype.readAndCheckSignature=function(t){var e=t.charCodeAt(0),n=t.charCodeAt(1),i=t.charCodeAt(2),r=t.charCodeAt(3),o=this.readData(4);return e===o[0]&&n===o[1]&&i===o[2]&&r===o[3]},r.prototype.readData=function(t){if(this.checkOffset(t),0===t)return[];var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=r},{"../utils":32,"./DataReader":18}],18:[function(t,e,n){"use strict";var i=t("../utils");function r(t){this.data=t,this.length=t.length,this.index=0,this.zero=0}r.prototype={checkOffset:function(t){this.checkIndex(this.index+t)},checkIndex:function(t){if(this.length<this.zero+t||t<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+t+"). Corrupted zip ?")},setIndex:function(t){this.checkIndex(t),this.index=t},skip:function(t){this.setIndex(this.index+t)},byteAt:function(){},readInt:function(t){var e,n=0;for(this.checkOffset(t),e=this.index+t-1;e>=this.index;e--)n=(n<<8)+this.byteAt(e);return this.index+=t,n},readString:function(t){return i.transformTo("string",this.readData(t))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var t=this.readInt(4);return new Date(Date.UTC(1980+(t>>25&127),(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1))}},e.exports=r},{"../utils":32}],19:[function(t,e,n){"use strict";var i=t("./Uint8ArrayReader");function r(t){i.call(this,t)}t("../utils").inherits(r,i),r.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=r},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(t,e,n){"use strict";var i=t("./DataReader");function r(t){i.call(this,t)}t("../utils").inherits(r,i),r.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},r.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},r.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},r.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=r},{"../utils":32,"./DataReader":18}],21:[function(t,e,n){"use strict";var i=t("./ArrayReader");function r(t){i.call(this,t)}t("../utils").inherits(r,i),r.prototype.readData=function(t){if(this.checkOffset(t),0===t)return new Uint8Array(0);var e=this.data.subarray(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=r},{"../utils":32,"./ArrayReader":17}],22:[function(t,e,n){"use strict";var i=t("../utils"),r=t("../support"),o=t("./ArrayReader"),a=t("./StringReader"),s=t("./NodeBufferReader"),l=t("./Uint8ArrayReader");e.exports=function(t){var e=i.getTypeOf(t);return i.checkSupport(e),"string"!==e||r.uint8array?"nodebuffer"===e?new s(t):r.uint8array?new l(i.transformTo("uint8array",t)):new o(i.transformTo("array",t)):new a(t)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(t,e,n){"use strict";n.LOCAL_FILE_HEADER="PK",n.CENTRAL_FILE_HEADER="PK",n.CENTRAL_DIRECTORY_END="PK",n.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",n.ZIP64_CENTRAL_DIRECTORY_END="PK",n.DATA_DESCRIPTOR="PK\b"},{}],24:[function(t,e,n){"use strict";var i=t("./GenericWorker"),r=t("../utils");function o(t){i.call(this,"ConvertWorker to "+t),this.destType=t}r.inherits(o,i),o.prototype.processChunk=function(t){this.push({data:r.transformTo(this.destType,t.data),meta:t.meta})},e.exports=o},{"../utils":32,"./GenericWorker":28}],25:[function(t,e,n){"use strict";var i=t("./GenericWorker"),r=t("../crc32");function o(){i.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}t("../utils").inherits(o,i),o.prototype.processChunk=function(t){this.streamInfo.crc32=r(t.data,this.streamInfo.crc32||0),this.push(t)},e.exports=o},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(t,e,n){"use strict";var i=t("../utils"),r=t("./GenericWorker");function o(t){r.call(this,"DataLengthProbe for "+t),this.propName=t,this.withStreamInfo(t,0)}i.inherits(o,r),o.prototype.processChunk=function(t){if(t){var e=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=e+t.data.length}r.prototype.processChunk.call(this,t)},e.exports=o},{"../utils":32,"./GenericWorker":28}],27:[function(t,e,n){"use strict";var i=t("../utils"),r=t("./GenericWorker");function o(t){r.call(this,"DataWorker");var e=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,t.then(function(t){e.dataIsReady=!0,e.data=t,e.max=t&&t.length||0,e.type=i.getTypeOf(t),e.isPaused||e._tickAndRepeat()},function(t){e.error(t)})}i.inherits(o,r),o.prototype.cleanUp=function(){r.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!r.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,i.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(i.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var t=null,e=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":t=this.data.substring(this.index,e);break;case"uint8array":t=this.data.subarray(this.index,e);break;case"array":case"nodebuffer":t=this.data.slice(this.index,e)}return this.index=e,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})},e.exports=o},{"../utils":32,"./GenericWorker":28}],28:[function(t,e,n){"use strict";function i(t){this.name=t||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}i.prototype={push:function(t){this.emit("data",t)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(t){this.emit("error",t)}return!0},error:function(t){return!this.isFinished&&(this.isPaused?this.generatedError=t:(this.isFinished=!0,this.emit("error",t),this.previous&&this.previous.error(t),this.cleanUp()),!0)},on:function(t,e){return this._listeners[t].push(e),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(t,e){if(this._listeners[t])for(var n=0;n<this._listeners[t].length;n++)this._listeners[t][n].call(this,e)},pipe:function(t){return t.registerPrevious(this)},registerPrevious:function(t){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=t.streamInfo,this.mergeStreamInfo(),this.previous=t;var e=this;return t.on("data",function(t){e.processChunk(t)}),t.on("end",function(){e.end()}),t.on("error",function(t){e.error(t)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var t=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),t=!0),this.previous&&this.previous.resume(),!t},flush:function(){},processChunk:function(t){this.push(t)},withStreamInfo:function(t,e){return this.extraStreamInfo[t]=e,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var t in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,t)&&(this.streamInfo[t]=this.extraStreamInfo[t])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var t="Worker "+this.name;return this.previous?this.previous+" -> "+t:t}},e.exports=i},{}],29:[function(t,n,i){"use strict";var r=t("../utils"),o=t("./ConvertWorker"),a=t("./GenericWorker"),s=t("../base64"),l=t("../support"),c=t("../external"),u=null;if(l.nodestream)try{u=t("../nodejs/NodejsStreamOutputAdapter")}catch(t){}function h(t,e,n){var i=e;switch(e){case"blob":case"arraybuffer":i="uint8array";break;case"base64":i="string"}try{this._internalType=i,this._outputType=e,this._mimeType=n,r.checkSupport(i),this._worker=t.pipe(new o(i)),t.lock()}catch(t){this._worker=new a("error"),this._worker.error(t)}}h.prototype={accumulate:function(t){return function(t,n){return new c.Promise(function(i,o){var a=[],l=t._internalType,c=t._outputType,u=t._mimeType;t.on("data",function(t,e){a.push(t),n&&n(e)}).on("error",function(t){a=[],o(t)}).on("end",function(){try{var t=function(t,e,n){switch(t){case"blob":return r.newBlob(r.transformTo("arraybuffer",e),n);case"base64":return s.encode(e);default:return r.transformTo(t,e)}}(c,function(t,n){var i,r=0,o=null,a=0;for(i=0;i<n.length;i++)a+=n[i].length;switch(t){case"string":return n.join("");case"array":return Array.prototype.concat.apply([],n);case"uint8array":for(o=new Uint8Array(a),i=0;i<n.length;i++)o.set(n[i],r),r+=n[i].length;return o;case"nodebuffer":return e.concat(n);default:throw new Error("concat : unsupported type '"+t+"'")}}(l,a),u);i(t)}catch(t){o(t)}a=[]}).resume()})}(this,t)},on:function(t,e){var n=this;return"data"===t?this._worker.on(t,function(t){e.call(n,t.data,t.meta)}):this._worker.on(t,function(){r.delay(e,arguments,n)}),this},resume:function(){return r.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(t){if(r.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new u(this,{objectMode:"nodebuffer"!==this._outputType},t)}},n.exports=h},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(t,n,i){"use strict";if(i.base64=!0,i.array=!0,i.string=!0,i.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,i.nodebuffer=void 0!==e,i.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)i.blob=!1;else{var r=new ArrayBuffer(0);try{i.blob=0===new Blob([r],{type:"application/zip"}).size}catch(t){try{var o=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);o.append(r),i.blob=0===o.getBlob("application/zip").size}catch(t){i.blob=!1}}}try{i.nodestream=!!t("readable-stream").Readable}catch(t){i.nodestream=!1}},{"readable-stream":16}],31:[function(t,e,n){"use strict";for(var i=t("./utils"),r=t("./support"),o=t("./nodejsUtils"),a=t("./stream/GenericWorker"),s=new Array(256),l=0;l<256;l++)s[l]=252<=l?6:248<=l?5:240<=l?4:224<=l?3:192<=l?2:1;function c(){a.call(this,"utf-8 decode"),this.leftOver=null}function u(){a.call(this,"utf-8 encode")}s[254]=s[254]=1,n.utf8encode=function(t){return r.nodebuffer?o.newBufferFrom(t,"utf-8"):function(t){var e,n,i,o,a,s=t.length,l=0;for(o=0;o<s;o++)55296==(64512&(n=t.charCodeAt(o)))&&o+1<s&&56320==(64512&(i=t.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(i-56320),o++),l+=n<128?1:n<2048?2:n<65536?3:4;for(e=r.uint8array?new Uint8Array(l):new Array(l),o=a=0;a<l;o++)55296==(64512&(n=t.charCodeAt(o)))&&o+1<s&&56320==(64512&(i=t.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(i-56320),o++),n<128?e[a++]=n:(n<2048?e[a++]=192|n>>>6:(n<65536?e[a++]=224|n>>>12:(e[a++]=240|n>>>18,e[a++]=128|n>>>12&63),e[a++]=128|n>>>6&63),e[a++]=128|63&n);return e}(t)},n.utf8decode=function(t){return r.nodebuffer?i.transformTo("nodebuffer",t).toString("utf-8"):function(t){var e,n,r,o,a=t.length,l=new Array(2*a);for(e=n=0;e<a;)if((r=t[e++])<128)l[n++]=r;else if(4<(o=s[r]))l[n++]=65533,e+=o-1;else{for(r&=2===o?31:3===o?15:7;1<o&&e<a;)r=r<<6|63&t[e++],o--;1<o?l[n++]=65533:r<65536?l[n++]=r:(r-=65536,l[n++]=55296|r>>10&1023,l[n++]=56320|1023&r)}return l.length!==n&&(l.subarray?l=l.subarray(0,n):l.length=n),i.applyFromCharCode(l)}(t=i.transformTo(r.uint8array?"uint8array":"array",t))},i.inherits(c,a),c.prototype.processChunk=function(t){var e=i.transformTo(r.uint8array?"uint8array":"array",t.data);if(this.leftOver&&this.leftOver.length){if(r.uint8array){var o=e;(e=new Uint8Array(o.length+this.leftOver.length)).set(this.leftOver,0),e.set(o,this.leftOver.length)}else e=this.leftOver.concat(e);this.leftOver=null}var a=function(t,e){var n;for((e=e||t.length)>t.length&&(e=t.length),n=e-1;0<=n&&128==(192&t[n]);)n--;return n<0?e:0===n?e:n+s[t[n]]>e?n:e}(e),l=e;a!==e.length&&(r.uint8array?(l=e.subarray(0,a),this.leftOver=e.subarray(a,e.length)):(l=e.slice(0,a),this.leftOver=e.slice(a,e.length))),this.push({data:n.utf8decode(l),meta:t.meta})},c.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:n.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},n.Utf8DecodeWorker=c,i.inherits(u,a),u.prototype.processChunk=function(t){this.push({data:n.utf8encode(t.data),meta:t.meta})},n.Utf8EncodeWorker=u},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(t,e,n){"use strict";var i=t("./support"),r=t("./base64"),o=t("./nodejsUtils"),a=t("./external");function s(t){return t}function l(t,e){for(var n=0;n<t.length;++n)e[n]=255&t.charCodeAt(n);return e}t("setimmediate"),n.newBlob=function(t,e){n.checkSupport("blob");try{return new Blob([t],{type:e})}catch(n){try{var i=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return i.append(t),i.getBlob(e)}catch(t){throw new Error("Bug : can't construct the Blob.")}}};var c={stringifyByChunk:function(t,e,n){var i=[],r=0,o=t.length;if(o<=n)return String.fromCharCode.apply(null,t);for(;r<o;)"array"===e||"nodebuffer"===e?i.push(String.fromCharCode.apply(null,t.slice(r,Math.min(r+n,o)))):i.push(String.fromCharCode.apply(null,t.subarray(r,Math.min(r+n,o)))),r+=n;return i.join("")},stringifyByChar:function(t){for(var e="",n=0;n<t.length;n++)e+=String.fromCharCode(t[n]);return e},applyCanBeUsed:{uint8array:function(){try{return i.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(t){return!1}}(),nodebuffer:function(){try{return i.nodebuffer&&1===String.fromCharCode.apply(null,o.allocBuffer(1)).length}catch(t){return!1}}()}};function u(t){var e=65536,i=n.getTypeOf(t),r=!0;if("uint8array"===i?r=c.applyCanBeUsed.uint8array:"nodebuffer"===i&&(r=c.applyCanBeUsed.nodebuffer),r)for(;1<e;)try{return c.stringifyByChunk(t,i,e)}catch(t){e=Math.floor(e/2)}return c.stringifyByChar(t)}function h(t,e){for(var n=0;n<t.length;n++)e[n]=t[n];return e}n.applyFromCharCode=u;var d={};d.string={string:s,array:function(t){return l(t,new Array(t.length))},arraybuffer:function(t){return d.string.uint8array(t).buffer},uint8array:function(t){return l(t,new Uint8Array(t.length))},nodebuffer:function(t){return l(t,o.allocBuffer(t.length))}},d.array={string:u,array:s,arraybuffer:function(t){return new Uint8Array(t).buffer},uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return o.newBufferFrom(t)}},d.arraybuffer={string:function(t){return u(new Uint8Array(t))},array:function(t){return h(new Uint8Array(t),new Array(t.byteLength))},arraybuffer:s,uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return o.newBufferFrom(new Uint8Array(t))}},d.uint8array={string:u,array:function(t){return h(t,new Array(t.length))},arraybuffer:function(t){return t.buffer},uint8array:s,nodebuffer:function(t){return o.newBufferFrom(t)}},d.nodebuffer={string:u,array:function(t){return h(t,new Array(t.length))},arraybuffer:function(t){return d.nodebuffer.uint8array(t).buffer},uint8array:function(t){return h(t,new Uint8Array(t.length))},nodebuffer:s},n.transformTo=function(t,e){if(e=e||"",!t)return e;n.checkSupport(t);var i=n.getTypeOf(e);return d[i][t](e)},n.resolve=function(t){for(var e=t.split("/"),n=[],i=0;i<e.length;i++){var r=e[i];"."===r||""===r&&0!==i&&i!==e.length-1||(".."===r?n.pop():n.push(r))}return n.join("/")},n.getTypeOf=function(t){return"string"==typeof t?"string":"[object Array]"===Object.prototype.toString.call(t)?"array":i.nodebuffer&&o.isBuffer(t)?"nodebuffer":i.uint8array&&t instanceof Uint8Array?"uint8array":i.arraybuffer&&t instanceof ArrayBuffer?"arraybuffer":void 0},n.checkSupport=function(t){if(!i[t.toLowerCase()])throw new Error(t+" is not supported by this platform")},n.MAX_VALUE_16BITS=65535,n.MAX_VALUE_32BITS=-1,n.pretty=function(t){var e,n,i="";for(n=0;n<(t||"").length;n++)i+="\\x"+((e=t.charCodeAt(n))<16?"0":"")+e.toString(16).toUpperCase();return i},n.delay=function(t,e,n){setImmediate(function(){t.apply(n||null,e||[])})},n.inherits=function(t,e){function n(){}n.prototype=e.prototype,t.prototype=new n},n.extend=function(){var t,e,n={};for(t=0;t<arguments.length;t++)for(e in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],e)&&void 0===n[e]&&(n[e]=arguments[t][e]);return n},n.prepareContent=function(t,e,o,s,c){return a.Promise.resolve(e).then(function(t){return i.blob&&(t instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(t)))&&"undefined"!=typeof FileReader?new a.Promise(function(e,n){var i=new FileReader;i.onload=function(t){e(t.target.result)},i.onerror=function(t){n(t.target.error)},i.readAsArrayBuffer(t)}):t}).then(function(e){var u=n.getTypeOf(e);return u?("arraybuffer"===u?e=n.transformTo("uint8array",e):"string"===u&&(c?e=r.decode(e):o&&!0!==s&&(e=function(t){return l(t,i.uint8array?new Uint8Array(t.length):new Array(t.length))}(e))),e):a.Promise.reject(new Error("Can't read the data of '"+t+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(t,e,n){"use strict";var i=t("./reader/readerFor"),r=t("./utils"),o=t("./signature"),a=t("./zipEntry"),s=t("./support");function l(t){this.files=[],this.loadOptions=t}l.prototype={checkSignature:function(t){if(!this.reader.readAndCheckSignature(t)){this.reader.index-=4;var e=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+r.pretty(e)+", expected "+r.pretty(t)+")")}},isSignature:function(t,e){var n=this.reader.index;this.reader.setIndex(t);var i=this.reader.readString(4)===e;return this.reader.setIndex(n),i},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var t=this.reader.readData(this.zipCommentLength),e=s.uint8array?"uint8array":"array",n=r.transformTo(e,t);this.zipComment=this.loadOptions.decodeFileName(n)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var t,e,n,i=this.zip64EndOfCentralSize-44;0<i;)t=this.reader.readInt(2),e=this.reader.readInt(4),n=this.reader.readData(e),this.zip64ExtensibleData[t]={id:t,length:e,value:n}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var t,e;for(t=0;t<this.files.length;t++)e=this.files[t],this.reader.setIndex(e.localHeaderOffset),this.checkSignature(o.LOCAL_FILE_HEADER),e.readLocalPart(this.reader),e.handleUTF8(),e.processAttributes()},readCentralDir:function(){var t;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(o.CENTRAL_FILE_HEADER);)(t=new a({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(t);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var t=this.reader.lastIndexOfSignature(o.CENTRAL_DIRECTORY_END);if(t<0)throw this.isSignature(0,o.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(t);var e=t;if(this.checkSignature(o.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===r.MAX_VALUE_16BITS||this.diskWithCentralDirStart===r.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===r.MAX_VALUE_16BITS||this.centralDirRecords===r.MAX_VALUE_16BITS||this.centralDirSize===r.MAX_VALUE_32BITS||this.centralDirOffset===r.MAX_VALUE_32BITS){if(this.zip64=!0,(t=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(t),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,o.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var n=this.centralDirOffset+this.centralDirSize;this.zip64&&(n+=20,n+=12+this.zip64EndOfCentralSize);var i=e-n;if(0<i)this.isSignature(e,o.CENTRAL_FILE_HEADER)||(this.reader.zero=i);else if(i<0)throw new Error("Corrupted zip: missing "+Math.abs(i)+" bytes.")},prepareReader:function(t){this.reader=i(t)},load:function(t){this.prepareReader(t),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},e.exports=l},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(t,e,n){"use strict";var i=t("./reader/readerFor"),r=t("./utils"),o=t("./compressedObject"),a=t("./crc32"),s=t("./utf8"),l=t("./compressions"),c=t("./support");function u(t,e){this.options=t,this.loadOptions=e}u.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(t){var e,n;if(t.skip(22),this.fileNameLength=t.readInt(2),n=t.readInt(2),this.fileName=t.readData(this.fileNameLength),t.skip(n),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(e=function(t){for(var e in l)if(Object.prototype.hasOwnProperty.call(l,e)&&l[e].magic===t)return l[e];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+r.pretty(this.compressionMethod)+" unknown (inner file : "+r.transformTo("string",this.fileName)+")");this.decompressed=new o(this.compressedSize,this.uncompressedSize,this.crc32,e,t.readData(this.compressedSize))},readCentralPart:function(t){this.versionMadeBy=t.readInt(2),t.skip(2),this.bitFlag=t.readInt(2),this.compressionMethod=t.readString(2),this.date=t.readDate(),this.crc32=t.readInt(4),this.compressedSize=t.readInt(4),this.uncompressedSize=t.readInt(4);var e=t.readInt(2);if(this.extraFieldsLength=t.readInt(2),this.fileCommentLength=t.readInt(2),this.diskNumberStart=t.readInt(2),this.internalFileAttributes=t.readInt(2),this.externalFileAttributes=t.readInt(4),this.localHeaderOffset=t.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");t.skip(e),this.readExtraFields(t),this.parseZIP64ExtraField(t),this.fileComment=t.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var t=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0==t&&(this.dosPermissions=63&this.externalFileAttributes),3==t&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var t=i(this.extraFields[1].value);this.uncompressedSize===r.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===r.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===r.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===r.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(t){var e,n,i,r=t.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});t.index+4<r;)e=t.readInt(2),n=t.readInt(2),i=t.readData(n),this.extraFields[e]={id:e,length:n,value:i};t.setIndex(r)},handleUTF8:function(){var t=c.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=s.utf8decode(this.fileName),this.fileCommentStr=s.utf8decode(this.fileComment);else{var e=this.findExtraFieldUnicodePath();if(null!==e)this.fileNameStr=e;else{var n=r.transformTo(t,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var i=this.findExtraFieldUnicodeComment();if(null!==i)this.fileCommentStr=i;else{var o=r.transformTo(t,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(o)}}},findExtraFieldUnicodePath:function(){var t=this.extraFields[28789];if(t){var e=i(t.value);return 1!==e.readInt(1)?null:a(this.fileName)!==e.readInt(4)?null:s.utf8decode(e.readData(t.length-5))}return null},findExtraFieldUnicodeComment:function(){var t=this.extraFields[25461];if(t){var e=i(t.value);return 1!==e.readInt(1)?null:a(this.fileComment)!==e.readInt(4)?null:s.utf8decode(e.readData(t.length-5))}return null}},e.exports=u},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(t,e,n){"use strict";function i(t,e,n){this.name=t,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this.unixPermissions=n.unixPermissions,this.dosPermissions=n.dosPermissions,this._data=e,this._dataBinary=n.binary,this.options={compression:n.compression,compressionOptions:n.compressionOptions}}var r=t("./stream/StreamHelper"),o=t("./stream/DataWorker"),a=t("./utf8"),s=t("./compressedObject"),l=t("./stream/GenericWorker");i.prototype={internalStream:function(t){var e=null,n="string";try{if(!t)throw new Error("No output type specified.");var i="string"===(n=t.toLowerCase())||"text"===n;"binarystring"!==n&&"text"!==n||(n="string"),e=this._decompressWorker();var o=!this._dataBinary;o&&!i&&(e=e.pipe(new a.Utf8EncodeWorker)),!o&&i&&(e=e.pipe(new a.Utf8DecodeWorker))}catch(t){(e=new l("error")).error(t)}return new r(e,n,"")},async:function(t,e){return this.internalStream(t).accumulate(e)},nodeStream:function(t,e){return this.internalStream(t||"nodebuffer").toNodejsStream(e)},_compressWorker:function(t,e){if(this._data instanceof s&&this._data.compression.magic===t.magic)return this._data.getCompressedWorker();var n=this._decompressWorker();return this._dataBinary||(n=n.pipe(new a.Utf8EncodeWorker)),s.createWorkerFrom(n,t,e)},_decompressWorker:function(){return this._data instanceof s?this._data.getContentWorker():this._data instanceof l?this._data:new o(this._data)}};for(var c=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],u=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},h=0;h<c.length;h++)i.prototype[c[h]]=u;e.exports=i},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(t,e,i){(function(t){"use strict";var n,i,r=t.MutationObserver||t.WebKitMutationObserver;if(r){var o=0,a=new r(u),s=t.document.createTextNode("");a.observe(s,{characterData:!0}),n=function(){s.data=o=++o%2}}else if(t.setImmediate||void 0===t.MessageChannel)n="document"in t&&"onreadystatechange"in t.document.createElement("script")?function(){var e=t.document.createElement("script");e.onreadystatechange=function(){u(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},t.document.documentElement.appendChild(e)}:function(){setTimeout(u,0)};else{var l=new t.MessageChannel;l.port1.onmessage=u,n=function(){l.port2.postMessage(0)}}var c=[];function u(){var t,e;i=!0;for(var n=c.length;n;){for(e=c,c=[],t=-1;++t<n;)e[t]();n=c.length}i=!1}e.exports=function(t){1!==c.push(t)||i||n()}}).call(this,void 0!==n?n:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],37:[function(t,e,n){"use strict";var i=t("immediate");function r(){}var o={},a=["REJECTED"],s=["FULFILLED"],l=["PENDING"];function c(t){if("function"!=typeof t)throw new TypeError("resolver must be a function");this.state=l,this.queue=[],this.outcome=void 0,t!==r&&f(this,t)}function u(t,e,n){this.promise=t,"function"==typeof e&&(this.onFulfilled=e,this.callFulfilled=this.otherCallFulfilled),"function"==typeof n&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function h(t,e,n){i(function(){var i;try{i=e(n)}catch(i){return o.reject(t,i)}i===t?o.reject(t,new TypeError("Cannot resolve promise with itself")):o.resolve(t,i)})}function d(t){var e=t&&t.then;if(t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof e)return function(){e.apply(t,arguments)}}function f(t,e){var n=!1;function i(e){n||(n=!0,o.reject(t,e))}function r(e){n||(n=!0,o.resolve(t,e))}var a=p(function(){e(r,i)});"error"===a.status&&i(a.value)}function p(t,e){var n={};try{n.value=t(e),n.status="success"}catch(t){n.status="error",n.value=t}return n}(e.exports=c).prototype.finally=function(t){if("function"!=typeof t)return this;var e=this.constructor;return this.then(function(n){return e.resolve(t()).then(function(){return n})},function(n){return e.resolve(t()).then(function(){throw n})})},c.prototype.catch=function(t){return this.then(null,t)},c.prototype.then=function(t,e){if("function"!=typeof t&&this.state===s||"function"!=typeof e&&this.state===a)return this;var n=new this.constructor(r);return this.state!==l?h(n,this.state===s?t:e,this.outcome):this.queue.push(new u(n,t,e)),n},u.prototype.callFulfilled=function(t){o.resolve(this.promise,t)},u.prototype.otherCallFulfilled=function(t){h(this.promise,this.onFulfilled,t)},u.prototype.callRejected=function(t){o.reject(this.promise,t)},u.prototype.otherCallRejected=function(t){h(this.promise,this.onRejected,t)},o.resolve=function(t,e){var n=p(d,e);if("error"===n.status)return o.reject(t,n.value);var i=n.value;if(i)f(t,i);else{t.state=s,t.outcome=e;for(var r=-1,a=t.queue.length;++r<a;)t.queue[r].callFulfilled(e)}return t},o.reject=function(t,e){t.state=a,t.outcome=e;for(var n=-1,i=t.queue.length;++n<i;)t.queue[n].callRejected(e);return t},c.resolve=function(t){return t instanceof this?t:o.resolve(new this(r),t)},c.reject=function(t){var e=new this(r);return o.reject(e,t)},c.all=function(t){var e=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var n=t.length,i=!1;if(!n)return this.resolve([]);for(var a=new Array(n),s=0,l=-1,c=new this(r);++l<n;)u(t[l],l);return c;function u(t,r){e.resolve(t).then(function(t){a[r]=t,++s!==n||i||(i=!0,o.resolve(c,a))},function(t){i||(i=!0,o.reject(c,t))})}},c.race=function(t){if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var e=t.length,n=!1;if(!e)return this.resolve([]);for(var i,a=-1,s=new this(r);++a<e;)i=t[a],this.resolve(i).then(function(t){n||(n=!0,o.resolve(s,t))},function(t){n||(n=!0,o.reject(s,t))});return s}},{immediate:36}],38:[function(t,e,n){"use strict";var i={};(0,t("./lib/utils/common").assign)(i,t("./lib/deflate"),t("./lib/inflate"),t("./lib/zlib/constants")),e.exports=i},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(t,e,n){"use strict";var i=t("./zlib/deflate"),r=t("./utils/common"),o=t("./utils/strings"),a=t("./zlib/messages"),s=t("./zlib/zstream"),l=Object.prototype.toString,c=0,u=-1,h=0,d=8;function f(t){if(!(this instanceof f))return new f(t);this.options=r.assign({level:u,method:d,chunkSize:16384,windowBits:15,memLevel:8,strategy:h,to:""},t||{});var e=this.options;e.raw&&0<e.windowBits?e.windowBits=-e.windowBits:e.gzip&&0<e.windowBits&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var n=i.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(n!==c)throw new Error(a[n]);if(e.header&&i.deflateSetHeader(this.strm,e.header),e.dictionary){var p;if(p="string"==typeof e.dictionary?o.string2buf(e.dictionary):"[object ArrayBuffer]"===l.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,(n=i.deflateSetDictionary(this.strm,p))!==c)throw new Error(a[n]);this._dict_set=!0}}function p(t,e){var n=new f(e);if(n.push(t,!0),n.err)throw n.msg||a[n.err];return n.result}f.prototype.push=function(t,e){var n,a,s=this.strm,u=this.options.chunkSize;if(this.ended)return!1;a=e===~~e?e:!0===e?4:0,"string"==typeof t?s.input=o.string2buf(t):"[object ArrayBuffer]"===l.call(t)?s.input=new Uint8Array(t):s.input=t,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new r.Buf8(u),s.next_out=0,s.avail_out=u),1!==(n=i.deflate(s,a))&&n!==c)return this.onEnd(n),!(this.ended=!0);0!==s.avail_out&&(0!==s.avail_in||4!==a&&2!==a)||("string"===this.options.to?this.onData(o.buf2binstring(r.shrinkBuf(s.output,s.next_out))):this.onData(r.shrinkBuf(s.output,s.next_out)))}while((0<s.avail_in||0===s.avail_out)&&1!==n);return 4===a?(n=i.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===c):2!==a||(this.onEnd(c),!(s.avail_out=0))},f.prototype.onData=function(t){this.chunks.push(t)},f.prototype.onEnd=function(t){t===c&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=r.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},n.Deflate=f,n.deflate=p,n.deflateRaw=function(t,e){return(e=e||{}).raw=!0,p(t,e)},n.gzip=function(t,e){return(e=e||{}).gzip=!0,p(t,e)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(t,e,n){"use strict";var i=t("./zlib/inflate"),r=t("./utils/common"),o=t("./utils/strings"),a=t("./zlib/constants"),s=t("./zlib/messages"),l=t("./zlib/zstream"),c=t("./zlib/gzheader"),u=Object.prototype.toString;function h(t){if(!(this instanceof h))return new h(t);this.options=r.assign({chunkSize:16384,windowBits:0,to:""},t||{});var e=this.options;e.raw&&0<=e.windowBits&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(0<=e.windowBits&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),15<e.windowBits&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var n=i.inflateInit2(this.strm,e.windowBits);if(n!==a.Z_OK)throw new Error(s[n]);this.header=new c,i.inflateGetHeader(this.strm,this.header)}function d(t,e){var n=new h(e);if(n.push(t,!0),n.err)throw n.msg||s[n.err];return n.result}h.prototype.push=function(t,e){var n,s,l,c,h,d,f=this.strm,p=this.options.chunkSize,A=this.options.dictionary,g=!1;if(this.ended)return!1;s=e===~~e?e:!0===e?a.Z_FINISH:a.Z_NO_FLUSH,"string"==typeof t?f.input=o.binstring2buf(t):"[object ArrayBuffer]"===u.call(t)?f.input=new Uint8Array(t):f.input=t,f.next_in=0,f.avail_in=f.input.length;do{if(0===f.avail_out&&(f.output=new r.Buf8(p),f.next_out=0,f.avail_out=p),(n=i.inflate(f,a.Z_NO_FLUSH))===a.Z_NEED_DICT&&A&&(d="string"==typeof A?o.string2buf(A):"[object ArrayBuffer]"===u.call(A)?new Uint8Array(A):A,n=i.inflateSetDictionary(this.strm,d)),n===a.Z_BUF_ERROR&&!0===g&&(n=a.Z_OK,g=!1),n!==a.Z_STREAM_END&&n!==a.Z_OK)return this.onEnd(n),!(this.ended=!0);f.next_out&&(0!==f.avail_out&&n!==a.Z_STREAM_END&&(0!==f.avail_in||s!==a.Z_FINISH&&s!==a.Z_SYNC_FLUSH)||("string"===this.options.to?(l=o.utf8border(f.output,f.next_out),c=f.next_out-l,h=o.buf2string(f.output,l),f.next_out=c,f.avail_out=p-c,c&&r.arraySet(f.output,f.output,l,c,0),this.onData(h)):this.onData(r.shrinkBuf(f.output,f.next_out)))),0===f.avail_in&&0===f.avail_out&&(g=!0)}while((0<f.avail_in||0===f.avail_out)&&n!==a.Z_STREAM_END);return n===a.Z_STREAM_END&&(s=a.Z_FINISH),s===a.Z_FINISH?(n=i.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===a.Z_OK):s!==a.Z_SYNC_FLUSH||(this.onEnd(a.Z_OK),!(f.avail_out=0))},h.prototype.onData=function(t){this.chunks.push(t)},h.prototype.onEnd=function(t){t===a.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=r.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},n.Inflate=h,n.inflate=d,n.inflateRaw=function(t,e){return(e=e||{}).raw=!0,d(t,e)},n.ungzip=d},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(t,e,n){"use strict";var i="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;n.assign=function(t){for(var e=Array.prototype.slice.call(arguments,1);e.length;){var n=e.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(var i in n)n.hasOwnProperty(i)&&(t[i]=n[i])}}return t},n.shrinkBuf=function(t,e){return t.length===e?t:t.subarray?t.subarray(0,e):(t.length=e,t)};var r={arraySet:function(t,e,n,i,r){if(e.subarray&&t.subarray)t.set(e.subarray(n,n+i),r);else for(var o=0;o<i;o++)t[r+o]=e[n+o]},flattenChunks:function(t){var e,n,i,r,o,a;for(e=i=0,n=t.length;e<n;e++)i+=t[e].length;for(a=new Uint8Array(i),e=r=0,n=t.length;e<n;e++)o=t[e],a.set(o,r),r+=o.length;return a}},o={arraySet:function(t,e,n,i,r){for(var o=0;o<i;o++)t[r+o]=e[n+o]},flattenChunks:function(t){return[].concat.apply([],t)}};n.setTyped=function(t){t?(n.Buf8=Uint8Array,n.Buf16=Uint16Array,n.Buf32=Int32Array,n.assign(n,r)):(n.Buf8=Array,n.Buf16=Array,n.Buf32=Array,n.assign(n,o))},n.setTyped(i)},{}],42:[function(t,e,n){"use strict";var i=t("./common"),r=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(t){r=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){o=!1}for(var a=new i.Buf8(256),s=0;s<256;s++)a[s]=252<=s?6:248<=s?5:240<=s?4:224<=s?3:192<=s?2:1;function l(t,e){if(e<65537&&(t.subarray&&o||!t.subarray&&r))return String.fromCharCode.apply(null,i.shrinkBuf(t,e));for(var n="",a=0;a<e;a++)n+=String.fromCharCode(t[a]);return n}a[254]=a[254]=1,n.string2buf=function(t){var e,n,r,o,a,s=t.length,l=0;for(o=0;o<s;o++)55296==(64512&(n=t.charCodeAt(o)))&&o+1<s&&56320==(64512&(r=t.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(r-56320),o++),l+=n<128?1:n<2048?2:n<65536?3:4;for(e=new i.Buf8(l),o=a=0;a<l;o++)55296==(64512&(n=t.charCodeAt(o)))&&o+1<s&&56320==(64512&(r=t.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(r-56320),o++),n<128?e[a++]=n:(n<2048?e[a++]=192|n>>>6:(n<65536?e[a++]=224|n>>>12:(e[a++]=240|n>>>18,e[a++]=128|n>>>12&63),e[a++]=128|n>>>6&63),e[a++]=128|63&n);return e},n.buf2binstring=function(t){return l(t,t.length)},n.binstring2buf=function(t){for(var e=new i.Buf8(t.length),n=0,r=e.length;n<r;n++)e[n]=t.charCodeAt(n);return e},n.buf2string=function(t,e){var n,i,r,o,s=e||t.length,c=new Array(2*s);for(n=i=0;n<s;)if((r=t[n++])<128)c[i++]=r;else if(4<(o=a[r]))c[i++]=65533,n+=o-1;else{for(r&=2===o?31:3===o?15:7;1<o&&n<s;)r=r<<6|63&t[n++],o--;1<o?c[i++]=65533:r<65536?c[i++]=r:(r-=65536,c[i++]=55296|r>>10&1023,c[i++]=56320|1023&r)}return l(c,i)},n.utf8border=function(t,e){var n;for((e=e||t.length)>t.length&&(e=t.length),n=e-1;0<=n&&128==(192&t[n]);)n--;return n<0?e:0===n?e:n+a[t[n]]>e?n:e}},{"./common":41}],43:[function(t,e,n){"use strict";e.exports=function(t,e,n,i){for(var r=65535&t|0,o=t>>>16&65535|0,a=0;0!==n;){for(n-=a=2e3<n?2e3:n;o=o+(r=r+e[i++]|0)|0,--a;);r%=65521,o%=65521}return r|o<<16|0}},{}],44:[function(t,e,n){"use strict";e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(t,e,n){"use strict";var i=function(){for(var t,e=[],n=0;n<256;n++){t=n;for(var i=0;i<8;i++)t=1&t?3988292384^t>>>1:t>>>1;e[n]=t}return e}();e.exports=function(t,e,n,r){var o=i,a=r+n;t^=-1;for(var s=r;s<a;s++)t=t>>>8^o[255&(t^e[s])];return-1^t}},{}],46:[function(t,e,n){"use strict";var i,r=t("../utils/common"),o=t("./trees"),a=t("./adler32"),s=t("./crc32"),l=t("./messages"),c=0,u=4,h=0,d=-2,f=-1,p=4,A=2,g=8,v=9,m=286,y=30,b=19,_=2*m+1,w=15,x=3,C=258,S=C+x+1,B=42,k=113,T=1,O=2,E=3,I=4;function M(t,e){return t.msg=l[e],e}function D(t){return(t<<1)-(4<t?9:0)}function L(t){for(var e=t.length;0<=--e;)t[e]=0}function F(t){var e=t.state,n=e.pending;n>t.avail_out&&(n=t.avail_out),0!==n&&(r.arraySet(t.output,e.pending_buf,e.pending_out,n,t.next_out),t.next_out+=n,e.pending_out+=n,t.total_out+=n,t.avail_out-=n,e.pending-=n,0===e.pending&&(e.pending_out=0))}function P(t,e){o._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,F(t.strm)}function N(t,e){t.pending_buf[t.pending++]=e}function j(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function U(t,e){var n,i,r=t.max_chain_length,o=t.strstart,a=t.prev_length,s=t.nice_match,l=t.strstart>t.w_size-S?t.strstart-(t.w_size-S):0,c=t.window,u=t.w_mask,h=t.prev,d=t.strstart+C,f=c[o+a-1],p=c[o+a];t.prev_length>=t.good_match&&(r>>=2),s>t.lookahead&&(s=t.lookahead);do{if(c[(n=e)+a]===p&&c[n+a-1]===f&&c[n]===c[o]&&c[++n]===c[o+1]){o+=2,n++;do{}while(c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&o<d);if(i=C-(d-o),o=d-C,a<i){if(t.match_start=e,s<=(a=i))break;f=c[o+a-1],p=c[o+a]}}}while((e=h[e&u])>l&&0!=--r);return a<=t.lookahead?a:t.lookahead}function R(t){var e,n,i,o,l,c,u,h,d,f,p=t.w_size;do{if(o=t.window_size-t.lookahead-t.strstart,t.strstart>=p+(p-S)){for(r.arraySet(t.window,t.window,p,p,0),t.match_start-=p,t.strstart-=p,t.block_start-=p,e=n=t.hash_size;i=t.head[--e],t.head[e]=p<=i?i-p:0,--n;);for(e=n=p;i=t.prev[--e],t.prev[e]=p<=i?i-p:0,--n;);o+=p}if(0===t.strm.avail_in)break;if(c=t.strm,u=t.window,h=t.strstart+t.lookahead,f=void 0,(d=o)<(f=c.avail_in)&&(f=d),n=0===f?0:(c.avail_in-=f,r.arraySet(u,c.input,c.next_in,f,h),1===c.state.wrap?c.adler=a(c.adler,u,f,h):2===c.state.wrap&&(c.adler=s(c.adler,u,f,h)),c.next_in+=f,c.total_in+=f,f),t.lookahead+=n,t.lookahead+t.insert>=x)for(l=t.strstart-t.insert,t.ins_h=t.window[l],t.ins_h=(t.ins_h<<t.hash_shift^t.window[l+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[l+x-1])&t.hash_mask,t.prev[l&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=l,l++,t.insert--,!(t.lookahead+t.insert<x)););}while(t.lookahead<S&&0!==t.strm.avail_in)}function Q(t,e){for(var n,i;;){if(t.lookahead<S){if(R(t),t.lookahead<S&&e===c)return T;if(0===t.lookahead)break}if(n=0,t.lookahead>=x&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+x-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==n&&t.strstart-n<=t.w_size-S&&(t.match_length=U(t,n)),t.match_length>=x)if(i=o._tr_tally(t,t.strstart-t.match_start,t.match_length-x),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=x){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+x-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart,0!=--t.match_length;);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else i=o._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(i&&(P(t,!1),0===t.strm.avail_out))return T}return t.insert=t.strstart<x-1?t.strstart:x-1,e===u?(P(t,!0),0===t.strm.avail_out?E:I):t.last_lit&&(P(t,!1),0===t.strm.avail_out)?T:O}function H(t,e){for(var n,i,r;;){if(t.lookahead<S){if(R(t),t.lookahead<S&&e===c)return T;if(0===t.lookahead)break}if(n=0,t.lookahead>=x&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+x-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=x-1,0!==n&&t.prev_length<t.max_lazy_match&&t.strstart-n<=t.w_size-S&&(t.match_length=U(t,n),t.match_length<=5&&(1===t.strategy||t.match_length===x&&4096<t.strstart-t.match_start)&&(t.match_length=x-1)),t.prev_length>=x&&t.match_length<=t.prev_length){for(r=t.strstart+t.lookahead-x,i=o._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-x),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=r&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+x-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!=--t.prev_length;);if(t.match_available=0,t.match_length=x-1,t.strstart++,i&&(P(t,!1),0===t.strm.avail_out))return T}else if(t.match_available){if((i=o._tr_tally(t,0,t.window[t.strstart-1]))&&P(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return T}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(i=o._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<x-1?t.strstart:x-1,e===u?(P(t,!0),0===t.strm.avail_out?E:I):t.last_lit&&(P(t,!1),0===t.strm.avail_out)?T:O}function V(t,e,n,i,r){this.good_length=t,this.max_lazy=e,this.nice_length=n,this.max_chain=i,this.func=r}function z(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=g,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new r.Buf16(2*_),this.dyn_dtree=new r.Buf16(2*(2*y+1)),this.bl_tree=new r.Buf16(2*(2*b+1)),L(this.dyn_ltree),L(this.dyn_dtree),L(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new r.Buf16(w+1),this.heap=new r.Buf16(2*m+1),L(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new r.Buf16(2*m+1),L(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function $(t){var e;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=A,(e=t.state).pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?B:k,t.adler=2===e.wrap?0:1,e.last_flush=c,o._tr_init(e),h):M(t,d)}function G(t){var e=$(t);return e===h&&function(t){t.window_size=2*t.w_size,L(t.head),t.max_lazy_match=i[t.level].max_lazy,t.good_match=i[t.level].good_length,t.nice_match=i[t.level].nice_length,t.max_chain_length=i[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=x-1,t.match_available=0,t.ins_h=0}(t.state),e}function W(t,e,n,i,o,a){if(!t)return d;var s=1;if(e===f&&(e=6),i<0?(s=0,i=-i):15<i&&(s=2,i-=16),o<1||v<o||n!==g||i<8||15<i||e<0||9<e||a<0||p<a)return M(t,d);8===i&&(i=9);var l=new z;return(t.state=l).strm=t,l.wrap=s,l.gzhead=null,l.w_bits=i,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=o+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+x-1)/x),l.window=new r.Buf8(2*l.w_size),l.head=new r.Buf16(l.hash_size),l.prev=new r.Buf16(l.w_size),l.lit_bufsize=1<<o+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new r.Buf8(l.pending_buf_size),l.d_buf=1*l.lit_bufsize,l.l_buf=3*l.lit_bufsize,l.level=e,l.strategy=a,l.method=n,G(t)}i=[new V(0,0,0,0,function(t,e){var n=65535;for(n>t.pending_buf_size-5&&(n=t.pending_buf_size-5);;){if(t.lookahead<=1){if(R(t),0===t.lookahead&&e===c)return T;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var i=t.block_start+n;if((0===t.strstart||t.strstart>=i)&&(t.lookahead=t.strstart-i,t.strstart=i,P(t,!1),0===t.strm.avail_out))return T;if(t.strstart-t.block_start>=t.w_size-S&&(P(t,!1),0===t.strm.avail_out))return T}return t.insert=0,e===u?(P(t,!0),0===t.strm.avail_out?E:I):(t.strstart>t.block_start&&(P(t,!1),t.strm.avail_out),T)}),new V(4,4,8,4,Q),new V(4,5,16,8,Q),new V(4,6,32,32,Q),new V(4,4,16,16,H),new V(8,16,32,32,H),new V(8,16,128,128,H),new V(8,32,128,256,H),new V(32,128,258,1024,H),new V(32,258,258,4096,H)],n.deflateInit=function(t,e){return W(t,e,g,15,8,0)},n.deflateInit2=W,n.deflateReset=G,n.deflateResetKeep=$,n.deflateSetHeader=function(t,e){return t&&t.state?2!==t.state.wrap?d:(t.state.gzhead=e,h):d},n.deflate=function(t,e){var n,r,a,l;if(!t||!t.state||5<e||e<0)return t?M(t,d):d;if(r=t.state,!t.output||!t.input&&0!==t.avail_in||666===r.status&&e!==u)return M(t,0===t.avail_out?-5:d);if(r.strm=t,n=r.last_flush,r.last_flush=e,r.status===B)if(2===r.wrap)t.adler=0,N(r,31),N(r,139),N(r,8),r.gzhead?(N(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),N(r,255&r.gzhead.time),N(r,r.gzhead.time>>8&255),N(r,r.gzhead.time>>16&255),N(r,r.gzhead.time>>24&255),N(r,9===r.level?2:2<=r.strategy||r.level<2?4:0),N(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(N(r,255&r.gzhead.extra.length),N(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(t.adler=s(t.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(N(r,0),N(r,0),N(r,0),N(r,0),N(r,0),N(r,9===r.level?2:2<=r.strategy||r.level<2?4:0),N(r,3),r.status=k);else{var f=g+(r.w_bits-8<<4)<<8;f|=(2<=r.strategy||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(f|=32),f+=31-f%31,r.status=k,j(r,f),0!==r.strstart&&(j(r,t.adler>>>16),j(r,65535&t.adler)),t.adler=1}if(69===r.status)if(r.gzhead.extra){for(a=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>a&&(t.adler=s(t.adler,r.pending_buf,r.pending-a,a)),F(t),a=r.pending,r.pending!==r.pending_buf_size));)N(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>a&&(t.adler=s(t.adler,r.pending_buf,r.pending-a,a)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(73===r.status)if(r.gzhead.name){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(t.adler=s(t.adler,r.pending_buf,r.pending-a,a)),F(t),a=r.pending,r.pending===r.pending_buf_size)){l=1;break}l=r.gzindex<r.gzhead.name.length?255&r.gzhead.name.charCodeAt(r.gzindex++):0,N(r,l)}while(0!==l);r.gzhead.hcrc&&r.pending>a&&(t.adler=s(t.adler,r.pending_buf,r.pending-a,a)),0===l&&(r.gzindex=0,r.status=91)}else r.status=91;if(91===r.status)if(r.gzhead.comment){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(t.adler=s(t.adler,r.pending_buf,r.pending-a,a)),F(t),a=r.pending,r.pending===r.pending_buf_size)){l=1;break}l=r.gzindex<r.gzhead.comment.length?255&r.gzhead.comment.charCodeAt(r.gzindex++):0,N(r,l)}while(0!==l);r.gzhead.hcrc&&r.pending>a&&(t.adler=s(t.adler,r.pending_buf,r.pending-a,a)),0===l&&(r.status=103)}else r.status=103;if(103===r.status&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&F(t),r.pending+2<=r.pending_buf_size&&(N(r,255&t.adler),N(r,t.adler>>8&255),t.adler=0,r.status=k)):r.status=k),0!==r.pending){if(F(t),0===t.avail_out)return r.last_flush=-1,h}else if(0===t.avail_in&&D(e)<=D(n)&&e!==u)return M(t,-5);if(666===r.status&&0!==t.avail_in)return M(t,-5);if(0!==t.avail_in||0!==r.lookahead||e!==c&&666!==r.status){var p=2===r.strategy?function(t,e){for(var n;;){if(0===t.lookahead&&(R(t),0===t.lookahead)){if(e===c)return T;break}if(t.match_length=0,n=o._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,n&&(P(t,!1),0===t.strm.avail_out))return T}return t.insert=0,e===u?(P(t,!0),0===t.strm.avail_out?E:I):t.last_lit&&(P(t,!1),0===t.strm.avail_out)?T:O}(r,e):3===r.strategy?function(t,e){for(var n,i,r,a,s=t.window;;){if(t.lookahead<=C){if(R(t),t.lookahead<=C&&e===c)return T;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=x&&0<t.strstart&&(i=s[r=t.strstart-1])===s[++r]&&i===s[++r]&&i===s[++r]){a=t.strstart+C;do{}while(i===s[++r]&&i===s[++r]&&i===s[++r]&&i===s[++r]&&i===s[++r]&&i===s[++r]&&i===s[++r]&&i===s[++r]&&r<a);t.match_length=C-(a-r),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=x?(n=o._tr_tally(t,1,t.match_length-x),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(n=o._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),n&&(P(t,!1),0===t.strm.avail_out))return T}return t.insert=0,e===u?(P(t,!0),0===t.strm.avail_out?E:I):t.last_lit&&(P(t,!1),0===t.strm.avail_out)?T:O}(r,e):i[r.level].func(r,e);if(p!==E&&p!==I||(r.status=666),p===T||p===E)return 0===t.avail_out&&(r.last_flush=-1),h;if(p===O&&(1===e?o._tr_align(r):5!==e&&(o._tr_stored_block(r,0,0,!1),3===e&&(L(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),F(t),0===t.avail_out))return r.last_flush=-1,h}return e!==u?h:r.wrap<=0?1:(2===r.wrap?(N(r,255&t.adler),N(r,t.adler>>8&255),N(r,t.adler>>16&255),N(r,t.adler>>24&255),N(r,255&t.total_in),N(r,t.total_in>>8&255),N(r,t.total_in>>16&255),N(r,t.total_in>>24&255)):(j(r,t.adler>>>16),j(r,65535&t.adler)),F(t),0<r.wrap&&(r.wrap=-r.wrap),0!==r.pending?h:1)},n.deflateEnd=function(t){var e;return t&&t.state?(e=t.state.status)!==B&&69!==e&&73!==e&&91!==e&&103!==e&&e!==k&&666!==e?M(t,d):(t.state=null,e===k?M(t,-3):h):d},n.deflateSetDictionary=function(t,e){var n,i,o,s,l,c,u,f,p=e.length;if(!t||!t.state)return d;if(2===(s=(n=t.state).wrap)||1===s&&n.status!==B||n.lookahead)return d;for(1===s&&(t.adler=a(t.adler,e,p,0)),n.wrap=0,p>=n.w_size&&(0===s&&(L(n.head),n.strstart=0,n.block_start=0,n.insert=0),f=new r.Buf8(n.w_size),r.arraySet(f,e,p-n.w_size,n.w_size,0),e=f,p=n.w_size),l=t.avail_in,c=t.next_in,u=t.input,t.avail_in=p,t.next_in=0,t.input=e,R(n);n.lookahead>=x;){for(i=n.strstart,o=n.lookahead-(x-1);n.ins_h=(n.ins_h<<n.hash_shift^n.window[i+x-1])&n.hash_mask,n.prev[i&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=i,i++,--o;);n.strstart=i,n.lookahead=x-1,R(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=x-1,n.match_available=0,t.next_in=c,t.input=u,t.avail_in=l,n.wrap=s,h},n.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(t,e,n){"use strict";e.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(t,e,n){"use strict";e.exports=function(t,e){var n,i,r,o,a,s,l,c,u,h,d,f,p,A,g,v,m,y,b,_,w,x,C,S,B;n=t.state,i=t.next_in,S=t.input,r=i+(t.avail_in-5),o=t.next_out,B=t.output,a=o-(e-t.avail_out),s=o+(t.avail_out-257),l=n.dmax,c=n.wsize,u=n.whave,h=n.wnext,d=n.window,f=n.hold,p=n.bits,A=n.lencode,g=n.distcode,v=(1<<n.lenbits)-1,m=(1<<n.distbits)-1;t:do{p<15&&(f+=S[i++]<<p,p+=8,f+=S[i++]<<p,p+=8),y=A[f&v];e:for(;;){if(f>>>=b=y>>>24,p-=b,0==(b=y>>>16&255))B[o++]=65535&y;else{if(!(16&b)){if(0==(64&b)){y=A[(65535&y)+(f&(1<<b)-1)];continue e}if(32&b){n.mode=12;break t}t.msg="invalid literal/length code",n.mode=30;break t}_=65535&y,(b&=15)&&(p<b&&(f+=S[i++]<<p,p+=8),_+=f&(1<<b)-1,f>>>=b,p-=b),p<15&&(f+=S[i++]<<p,p+=8,f+=S[i++]<<p,p+=8),y=g[f&m];n:for(;;){if(f>>>=b=y>>>24,p-=b,!(16&(b=y>>>16&255))){if(0==(64&b)){y=g[(65535&y)+(f&(1<<b)-1)];continue n}t.msg="invalid distance code",n.mode=30;break t}if(w=65535&y,p<(b&=15)&&(f+=S[i++]<<p,(p+=8)<b&&(f+=S[i++]<<p,p+=8)),l<(w+=f&(1<<b)-1)){t.msg="invalid distance too far back",n.mode=30;break t}if(f>>>=b,p-=b,(b=o-a)<w){if(u<(b=w-b)&&n.sane){t.msg="invalid distance too far back",n.mode=30;break t}if(C=d,(x=0)===h){if(x+=c-b,b<_){for(_-=b;B[o++]=d[x++],--b;);x=o-w,C=B}}else if(h<b){if(x+=c+h-b,(b-=h)<_){for(_-=b;B[o++]=d[x++],--b;);if(x=0,h<_){for(_-=b=h;B[o++]=d[x++],--b;);x=o-w,C=B}}}else if(x+=h-b,b<_){for(_-=b;B[o++]=d[x++],--b;);x=o-w,C=B}for(;2<_;)B[o++]=C[x++],B[o++]=C[x++],B[o++]=C[x++],_-=3;_&&(B[o++]=C[x++],1<_&&(B[o++]=C[x++]))}else{for(x=o-w;B[o++]=B[x++],B[o++]=B[x++],B[o++]=B[x++],2<(_-=3););_&&(B[o++]=B[x++],1<_&&(B[o++]=B[x++]))}break}}break}}while(i<r&&o<s);i-=_=p>>3,f&=(1<<(p-=_<<3))-1,t.next_in=i,t.next_out=o,t.avail_in=i<r?r-i+5:5-(i-r),t.avail_out=o<s?s-o+257:257-(o-s),n.hold=f,n.bits=p}},{}],49:[function(t,e,n){"use strict";var i=t("../utils/common"),r=t("./adler32"),o=t("./crc32"),a=t("./inffast"),s=t("./inftrees"),l=1,c=2,u=0,h=-2,d=1,f=852,p=592;function A(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function g(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=d,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new i.Buf32(f),e.distcode=e.distdyn=new i.Buf32(p),e.sane=1,e.back=-1,u):h}function v(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,g(t)):h}function m(t,e){var n,i;return t&&t.state?(i=t.state,e<0?(n=0,e=-e):(n=1+(e>>4),e<48&&(e&=15)),e&&(e<8||15<e)?h:(null!==i.window&&i.wbits!==e&&(i.window=null),i.wrap=n,i.wbits=e,v(t))):h}function y(t,e){var n,r;return t?(r=new function(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new i.Buf16(320),this.work=new i.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0},(t.state=r).window=null,(n=m(t,e))!==u&&(t.state=null),n):h}var b,_,w=!0;function x(t){if(w){var e;for(b=new i.Buf32(512),_=new i.Buf32(32),e=0;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(s(l,t.lens,0,288,b,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;s(c,t.lens,0,32,_,0,t.work,{bits:5}),w=!1}t.lencode=b,t.lenbits=9,t.distcode=_,t.distbits=5}function C(t,e,n,r){var o,a=t.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new i.Buf8(a.wsize)),r>=a.wsize?(i.arraySet(a.window,e,n-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):(r<(o=a.wsize-a.wnext)&&(o=r),i.arraySet(a.window,e,n-r,o,a.wnext),(r-=o)?(i.arraySet(a.window,e,n-r,r,0),a.wnext=r,a.whave=a.wsize):(a.wnext+=o,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=o))),0}n.inflateReset=v,n.inflateReset2=m,n.inflateResetKeep=g,n.inflateInit=function(t){return y(t,15)},n.inflateInit2=y,n.inflate=function(t,e){var n,f,p,g,v,m,y,b,_,w,S,B,k,T,O,E,I,M,D,L,F,P,N,j,U=0,R=new i.Buf8(4),Q=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!t||!t.state||!t.output||!t.input&&0!==t.avail_in)return h;12===(n=t.state).mode&&(n.mode=13),v=t.next_out,p=t.output,y=t.avail_out,g=t.next_in,f=t.input,m=t.avail_in,b=n.hold,_=n.bits,w=m,S=y,P=u;t:for(;;)switch(n.mode){case d:if(0===n.wrap){n.mode=13;break}for(;_<16;){if(0===m)break t;m--,b+=f[g++]<<_,_+=8}if(2&n.wrap&&35615===b){R[n.check=0]=255&b,R[1]=b>>>8&255,n.check=o(n.check,R,2,0),_=b=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&b)<<8)+(b>>8))%31){t.msg="incorrect header check",n.mode=30;break}if(8!=(15&b)){t.msg="unknown compression method",n.mode=30;break}if(_-=4,F=8+(15&(b>>>=4)),0===n.wbits)n.wbits=F;else if(F>n.wbits){t.msg="invalid window size",n.mode=30;break}n.dmax=1<<F,t.adler=n.check=1,n.mode=512&b?10:12,_=b=0;break;case 2:for(;_<16;){if(0===m)break t;m--,b+=f[g++]<<_,_+=8}if(n.flags=b,8!=(255&n.flags)){t.msg="unknown compression method",n.mode=30;break}if(57344&n.flags){t.msg="unknown header flags set",n.mode=30;break}n.head&&(n.head.text=b>>8&1),512&n.flags&&(R[0]=255&b,R[1]=b>>>8&255,n.check=o(n.check,R,2,0)),_=b=0,n.mode=3;case 3:for(;_<32;){if(0===m)break t;m--,b+=f[g++]<<_,_+=8}n.head&&(n.head.time=b),512&n.flags&&(R[0]=255&b,R[1]=b>>>8&255,R[2]=b>>>16&255,R[3]=b>>>24&255,n.check=o(n.check,R,4,0)),_=b=0,n.mode=4;case 4:for(;_<16;){if(0===m)break t;m--,b+=f[g++]<<_,_+=8}n.head&&(n.head.xflags=255&b,n.head.os=b>>8),512&n.flags&&(R[0]=255&b,R[1]=b>>>8&255,n.check=o(n.check,R,2,0)),_=b=0,n.mode=5;case 5:if(1024&n.flags){for(;_<16;){if(0===m)break t;m--,b+=f[g++]<<_,_+=8}n.length=b,n.head&&(n.head.extra_len=b),512&n.flags&&(R[0]=255&b,R[1]=b>>>8&255,n.check=o(n.check,R,2,0)),_=b=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&(m<(B=n.length)&&(B=m),B&&(n.head&&(F=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),i.arraySet(n.head.extra,f,g,B,F)),512&n.flags&&(n.check=o(n.check,f,B,g)),m-=B,g+=B,n.length-=B),n.length))break t;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===m)break t;for(B=0;F=f[g+B++],n.head&&F&&n.length<65536&&(n.head.name+=String.fromCharCode(F)),F&&B<m;);if(512&n.flags&&(n.check=o(n.check,f,B,g)),m-=B,g+=B,F)break t}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===m)break t;for(B=0;F=f[g+B++],n.head&&F&&n.length<65536&&(n.head.comment+=String.fromCharCode(F)),F&&B<m;);if(512&n.flags&&(n.check=o(n.check,f,B,g)),m-=B,g+=B,F)break t}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;_<16;){if(0===m)break t;m--,b+=f[g++]<<_,_+=8}if(b!==(65535&n.check)){t.msg="header crc mismatch",n.mode=30;break}_=b=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),t.adler=n.check=0,n.mode=12;break;case 10:for(;_<32;){if(0===m)break t;m--,b+=f[g++]<<_,_+=8}t.adler=n.check=A(b),_=b=0,n.mode=11;case 11:if(0===n.havedict)return t.next_out=v,t.avail_out=y,t.next_in=g,t.avail_in=m,n.hold=b,n.bits=_,2;t.adler=n.check=1,n.mode=12;case 12:if(5===e||6===e)break t;case 13:if(n.last){b>>>=7&_,_-=7&_,n.mode=27;break}for(;_<3;){if(0===m)break t;m--,b+=f[g++]<<_,_+=8}switch(n.last=1&b,_-=1,3&(b>>>=1)){case 0:n.mode=14;break;case 1:if(x(n),n.mode=20,6!==e)break;b>>>=2,_-=2;break t;case 2:n.mode=17;break;case 3:t.msg="invalid block type",n.mode=30}b>>>=2,_-=2;break;case 14:for(b>>>=7&_,_-=7&_;_<32;){if(0===m)break t;m--,b+=f[g++]<<_,_+=8}if((65535&b)!=(b>>>16^65535)){t.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&b,_=b=0,n.mode=15,6===e)break t;case 15:n.mode=16;case 16:if(B=n.length){if(m<B&&(B=m),y<B&&(B=y),0===B)break t;i.arraySet(p,f,g,B,v),m-=B,g+=B,y-=B,v+=B,n.length-=B;break}n.mode=12;break;case 17:for(;_<14;){if(0===m)break t;m--,b+=f[g++]<<_,_+=8}if(n.nlen=257+(31&b),b>>>=5,_-=5,n.ndist=1+(31&b),b>>>=5,_-=5,n.ncode=4+(15&b),b>>>=4,_-=4,286<n.nlen||30<n.ndist){t.msg="too many length or distance symbols",n.mode=30;break}n.have=0,n.mode=18;case 18:for(;n.have<n.ncode;){for(;_<3;){if(0===m)break t;m--,b+=f[g++]<<_,_+=8}n.lens[Q[n.have++]]=7&b,b>>>=3,_-=3}for(;n.have<19;)n.lens[Q[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,N={bits:n.lenbits},P=s(0,n.lens,0,19,n.lencode,0,n.work,N),n.lenbits=N.bits,P){t.msg="invalid code lengths set",n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;E=(U=n.lencode[b&(1<<n.lenbits)-1])>>>16&255,I=65535&U,!((O=U>>>24)<=_);){if(0===m)break t;m--,b+=f[g++]<<_,_+=8}if(I<16)b>>>=O,_-=O,n.lens[n.have++]=I;else{if(16===I){for(j=O+2;_<j;){if(0===m)break t;m--,b+=f[g++]<<_,_+=8}if(b>>>=O,_-=O,0===n.have){t.msg="invalid bit length repeat",n.mode=30;break}F=n.lens[n.have-1],B=3+(3&b),b>>>=2,_-=2}else if(17===I){for(j=O+3;_<j;){if(0===m)break t;m--,b+=f[g++]<<_,_+=8}_-=O,F=0,B=3+(7&(b>>>=O)),b>>>=3,_-=3}else{for(j=O+7;_<j;){if(0===m)break t;m--,b+=f[g++]<<_,_+=8}_-=O,F=0,B=11+(127&(b>>>=O)),b>>>=7,_-=7}if(n.have+B>n.nlen+n.ndist){t.msg="invalid bit length repeat",n.mode=30;break}for(;B--;)n.lens[n.have++]=F}}if(30===n.mode)break;if(0===n.lens[256]){t.msg="invalid code -- missing end-of-block",n.mode=30;break}if(n.lenbits=9,N={bits:n.lenbits},P=s(l,n.lens,0,n.nlen,n.lencode,0,n.work,N),n.lenbits=N.bits,P){t.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,N={bits:n.distbits},P=s(c,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,N),n.distbits=N.bits,P){t.msg="invalid distances set",n.mode=30;break}if(n.mode=20,6===e)break t;case 20:n.mode=21;case 21:if(6<=m&&258<=y){t.next_out=v,t.avail_out=y,t.next_in=g,t.avail_in=m,n.hold=b,n.bits=_,a(t,S),v=t.next_out,p=t.output,y=t.avail_out,g=t.next_in,f=t.input,m=t.avail_in,b=n.hold,_=n.bits,12===n.mode&&(n.back=-1);break}for(n.back=0;E=(U=n.lencode[b&(1<<n.lenbits)-1])>>>16&255,I=65535&U,!((O=U>>>24)<=_);){if(0===m)break t;m--,b+=f[g++]<<_,_+=8}if(E&&0==(240&E)){for(M=O,D=E,L=I;E=(U=n.lencode[L+((b&(1<<M+D)-1)>>M)])>>>16&255,I=65535&U,!(M+(O=U>>>24)<=_);){if(0===m)break t;m--,b+=f[g++]<<_,_+=8}b>>>=M,_-=M,n.back+=M}if(b>>>=O,_-=O,n.back+=O,n.length=I,0===E){n.mode=26;break}if(32&E){n.back=-1,n.mode=12;break}if(64&E){t.msg="invalid literal/length code",n.mode=30;break}n.extra=15&E,n.mode=22;case 22:if(n.extra){for(j=n.extra;_<j;){if(0===m)break t;m--,b+=f[g++]<<_,_+=8}n.length+=b&(1<<n.extra)-1,b>>>=n.extra,_-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;E=(U=n.distcode[b&(1<<n.distbits)-1])>>>16&255,I=65535&U,!((O=U>>>24)<=_);){if(0===m)break t;m--,b+=f[g++]<<_,_+=8}if(0==(240&E)){for(M=O,D=E,L=I;E=(U=n.distcode[L+((b&(1<<M+D)-1)>>M)])>>>16&255,I=65535&U,!(M+(O=U>>>24)<=_);){if(0===m)break t;m--,b+=f[g++]<<_,_+=8}b>>>=M,_-=M,n.back+=M}if(b>>>=O,_-=O,n.back+=O,64&E){t.msg="invalid distance code",n.mode=30;break}n.offset=I,n.extra=15&E,n.mode=24;case 24:if(n.extra){for(j=n.extra;_<j;){if(0===m)break t;m--,b+=f[g++]<<_,_+=8}n.offset+=b&(1<<n.extra)-1,b>>>=n.extra,_-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){t.msg="invalid distance too far back",n.mode=30;break}n.mode=25;case 25:if(0===y)break t;if(B=S-y,n.offset>B){if((B=n.offset-B)>n.whave&&n.sane){t.msg="invalid distance too far back",n.mode=30;break}k=B>n.wnext?(B-=n.wnext,n.wsize-B):n.wnext-B,B>n.length&&(B=n.length),T=n.window}else T=p,k=v-n.offset,B=n.length;for(y<B&&(B=y),y-=B,n.length-=B;p[v++]=T[k++],--B;);0===n.length&&(n.mode=21);break;case 26:if(0===y)break t;p[v++]=n.length,y--,n.mode=21;break;case 27:if(n.wrap){for(;_<32;){if(0===m)break t;m--,b|=f[g++]<<_,_+=8}if(S-=y,t.total_out+=S,n.total+=S,S&&(t.adler=n.check=n.flags?o(n.check,p,S,v-S):r(n.check,p,S,v-S)),S=y,(n.flags?b:A(b))!==n.check){t.msg="incorrect data check",n.mode=30;break}_=b=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;_<32;){if(0===m)break t;m--,b+=f[g++]<<_,_+=8}if(b!==(4294967295&n.total)){t.msg="incorrect length check",n.mode=30;break}_=b=0}n.mode=29;case 29:P=1;break t;case 30:P=-3;break t;case 31:return-4;case 32:default:return h}return t.next_out=v,t.avail_out=y,t.next_in=g,t.avail_in=m,n.hold=b,n.bits=_,(n.wsize||S!==t.avail_out&&n.mode<30&&(n.mode<27||4!==e))&&C(t,t.output,t.next_out,S-t.avail_out)?(n.mode=31,-4):(w-=t.avail_in,S-=t.avail_out,t.total_in+=w,t.total_out+=S,n.total+=S,n.wrap&&S&&(t.adler=n.check=n.flags?o(n.check,p,S,t.next_out-S):r(n.check,p,S,t.next_out-S)),t.data_type=n.bits+(n.last?64:0)+(12===n.mode?128:0)+(20===n.mode||15===n.mode?256:0),(0==w&&0===S||4===e)&&P===u&&(P=-5),P)},n.inflateEnd=function(t){if(!t||!t.state)return h;var e=t.state;return e.window&&(e.window=null),t.state=null,u},n.inflateGetHeader=function(t,e){var n;return t&&t.state?0==(2&(n=t.state).wrap)?h:((n.head=e).done=!1,u):h},n.inflateSetDictionary=function(t,e){var n,i=e.length;return t&&t.state?0!==(n=t.state).wrap&&11!==n.mode?h:11===n.mode&&r(1,e,i,0)!==n.check?-3:C(t,e,i,i)?(n.mode=31,-4):(n.havedict=1,u):h},n.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(t,e,n){"use strict";var i=t("../utils/common"),r=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],o=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],a=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],s=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];e.exports=function(t,e,n,l,c,u,h,d){var f,p,A,g,v,m,y,b,_,w=d.bits,x=0,C=0,S=0,B=0,k=0,T=0,O=0,E=0,I=0,M=0,D=null,L=0,F=new i.Buf16(16),P=new i.Buf16(16),N=null,j=0;for(x=0;x<=15;x++)F[x]=0;for(C=0;C<l;C++)F[e[n+C]]++;for(k=w,B=15;1<=B&&0===F[B];B--);if(B<k&&(k=B),0===B)return c[u++]=20971520,c[u++]=20971520,d.bits=1,0;for(S=1;S<B&&0===F[S];S++);for(k<S&&(k=S),x=E=1;x<=15;x++)if(E<<=1,(E-=F[x])<0)return-1;if(0<E&&(0===t||1!==B))return-1;for(P[1]=0,x=1;x<15;x++)P[x+1]=P[x]+F[x];for(C=0;C<l;C++)0!==e[n+C]&&(h[P[e[n+C]]++]=C);if(m=0===t?(D=N=h,19):1===t?(D=r,L-=257,N=o,j-=257,256):(D=a,N=s,-1),x=S,v=u,O=C=M=0,A=-1,g=(I=1<<(T=k))-1,1===t&&852<I||2===t&&592<I)return 1;for(;;){for(y=x-O,_=h[C]<m?(b=0,h[C]):h[C]>m?(b=N[j+h[C]],D[L+h[C]]):(b=96,0),f=1<<x-O,S=p=1<<T;c[v+(M>>O)+(p-=f)]=y<<24|b<<16|_|0,0!==p;);for(f=1<<x-1;M&f;)f>>=1;if(0!==f?(M&=f-1,M+=f):M=0,C++,0==--F[x]){if(x===B)break;x=e[n+h[C]]}if(k<x&&(M&g)!==A){for(0===O&&(O=k),v+=S,E=1<<(T=x-O);T+O<B&&!((E-=F[T+O])<=0);)T++,E<<=1;if(I+=1<<T,1===t&&852<I||2===t&&592<I)return 1;c[A=M&g]=k<<24|T<<16|v-u|0}}return 0!==M&&(c[v+M]=x-O<<24|64<<16|0),d.bits=k,0}},{"../utils/common":41}],51:[function(t,e,n){"use strict";e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(t,e,n){"use strict";var i=t("../utils/common");function r(t){for(var e=t.length;0<=--e;)t[e]=0}var o=0,a=256,s=a+1+29,l=30,c=19,u=2*s+1,h=15,d=16,f=256,p=16,A=17,g=18,v=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],m=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],y=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],b=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],_=new Array(2*(s+2));r(_);var w=new Array(2*l);r(w);var x=new Array(512);r(x);var C=new Array(256);r(C);var S=new Array(29);r(S);var B,k,T,O=new Array(l);function E(t,e,n,i,r){this.static_tree=t,this.extra_bits=e,this.extra_base=n,this.elems=i,this.max_length=r,this.has_stree=t&&t.length}function I(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}function M(t){return t<256?x[t]:x[256+(t>>>7)]}function D(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function L(t,e,n){t.bi_valid>d-n?(t.bi_buf|=e<<t.bi_valid&65535,D(t,t.bi_buf),t.bi_buf=e>>d-t.bi_valid,t.bi_valid+=n-d):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=n)}function F(t,e,n){L(t,n[2*e],n[2*e+1])}function P(t,e){for(var n=0;n|=1&t,t>>>=1,n<<=1,0<--e;);return n>>>1}function N(t,e,n){var i,r,o=new Array(h+1),a=0;for(i=1;i<=h;i++)o[i]=a=a+n[i-1]<<1;for(r=0;r<=e;r++){var s=t[2*r+1];0!==s&&(t[2*r]=P(o[s]++,s))}}function j(t){var e;for(e=0;e<s;e++)t.dyn_ltree[2*e]=0;for(e=0;e<l;e++)t.dyn_dtree[2*e]=0;for(e=0;e<c;e++)t.bl_tree[2*e]=0;t.dyn_ltree[2*f]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function U(t){8<t.bi_valid?D(t,t.bi_buf):0<t.bi_valid&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function R(t,e,n,i){var r=2*e,o=2*n;return t[r]<t[o]||t[r]===t[o]&&i[e]<=i[n]}function Q(t,e,n){for(var i=t.heap[n],r=n<<1;r<=t.heap_len&&(r<t.heap_len&&R(e,t.heap[r+1],t.heap[r],t.depth)&&r++,!R(e,i,t.heap[r],t.depth));)t.heap[n]=t.heap[r],n=r,r<<=1;t.heap[n]=i}function H(t,e,n){var i,r,o,s,l=0;if(0!==t.last_lit)for(;i=t.pending_buf[t.d_buf+2*l]<<8|t.pending_buf[t.d_buf+2*l+1],r=t.pending_buf[t.l_buf+l],l++,0===i?F(t,r,e):(F(t,(o=C[r])+a+1,e),0!==(s=v[o])&&L(t,r-=S[o],s),F(t,o=M(--i),n),0!==(s=m[o])&&L(t,i-=O[o],s)),l<t.last_lit;);F(t,f,e)}function V(t,e){var n,i,r,o=e.dyn_tree,a=e.stat_desc.static_tree,s=e.stat_desc.has_stree,l=e.stat_desc.elems,c=-1;for(t.heap_len=0,t.heap_max=u,n=0;n<l;n++)0!==o[2*n]?(t.heap[++t.heap_len]=c=n,t.depth[n]=0):o[2*n+1]=0;for(;t.heap_len<2;)o[2*(r=t.heap[++t.heap_len]=c<2?++c:0)]=1,t.depth[r]=0,t.opt_len--,s&&(t.static_len-=a[2*r+1]);for(e.max_code=c,n=t.heap_len>>1;1<=n;n--)Q(t,o,n);for(r=l;n=t.heap[1],t.heap[1]=t.heap[t.heap_len--],Q(t,o,1),i=t.heap[1],t.heap[--t.heap_max]=n,t.heap[--t.heap_max]=i,o[2*r]=o[2*n]+o[2*i],t.depth[r]=(t.depth[n]>=t.depth[i]?t.depth[n]:t.depth[i])+1,o[2*n+1]=o[2*i+1]=r,t.heap[1]=r++,Q(t,o,1),2<=t.heap_len;);t.heap[--t.heap_max]=t.heap[1],function(t,e){var n,i,r,o,a,s,l=e.dyn_tree,c=e.max_code,d=e.stat_desc.static_tree,f=e.stat_desc.has_stree,p=e.stat_desc.extra_bits,A=e.stat_desc.extra_base,g=e.stat_desc.max_length,v=0;for(o=0;o<=h;o++)t.bl_count[o]=0;for(l[2*t.heap[t.heap_max]+1]=0,n=t.heap_max+1;n<u;n++)g<(o=l[2*l[2*(i=t.heap[n])+1]+1]+1)&&(o=g,v++),l[2*i+1]=o,c<i||(t.bl_count[o]++,a=0,A<=i&&(a=p[i-A]),s=l[2*i],t.opt_len+=s*(o+a),f&&(t.static_len+=s*(d[2*i+1]+a)));if(0!==v){do{for(o=g-1;0===t.bl_count[o];)o--;t.bl_count[o]--,t.bl_count[o+1]+=2,t.bl_count[g]--,v-=2}while(0<v);for(o=g;0!==o;o--)for(i=t.bl_count[o];0!==i;)c<(r=t.heap[--n])||(l[2*r+1]!==o&&(t.opt_len+=(o-l[2*r+1])*l[2*r],l[2*r+1]=o),i--)}}(t,e),N(o,c,t.bl_count)}function z(t,e,n){var i,r,o=-1,a=e[1],s=0,l=7,c=4;for(0===a&&(l=138,c=3),e[2*(n+1)+1]=65535,i=0;i<=n;i++)r=a,a=e[2*(i+1)+1],++s<l&&r===a||(s<c?t.bl_tree[2*r]+=s:0!==r?(r!==o&&t.bl_tree[2*r]++,t.bl_tree[2*p]++):s<=10?t.bl_tree[2*A]++:t.bl_tree[2*g]++,o=r,c=(s=0)===a?(l=138,3):r===a?(l=6,3):(l=7,4))}function $(t,e,n){var i,r,o=-1,a=e[1],s=0,l=7,c=4;for(0===a&&(l=138,c=3),i=0;i<=n;i++)if(r=a,a=e[2*(i+1)+1],!(++s<l&&r===a)){if(s<c)for(;F(t,r,t.bl_tree),0!=--s;);else 0!==r?(r!==o&&(F(t,r,t.bl_tree),s--),F(t,p,t.bl_tree),L(t,s-3,2)):s<=10?(F(t,A,t.bl_tree),L(t,s-3,3)):(F(t,g,t.bl_tree),L(t,s-11,7));o=r,c=(s=0)===a?(l=138,3):r===a?(l=6,3):(l=7,4)}}r(O);var G=!1;function W(t,e,n,r){L(t,(o<<1)+(r?1:0),3),function(t,e,n,r){U(t),D(t,n),D(t,~n),i.arraySet(t.pending_buf,t.window,e,n,t.pending),t.pending+=n}(t,e,n)}n._tr_init=function(t){G||(function(){var t,e,n,i,r,o=new Array(h+1);for(i=n=0;i<28;i++)for(S[i]=n,t=0;t<1<<v[i];t++)C[n++]=i;for(C[n-1]=i,i=r=0;i<16;i++)for(O[i]=r,t=0;t<1<<m[i];t++)x[r++]=i;for(r>>=7;i<l;i++)for(O[i]=r<<7,t=0;t<1<<m[i]-7;t++)x[256+r++]=i;for(e=0;e<=h;e++)o[e]=0;for(t=0;t<=143;)_[2*t+1]=8,t++,o[8]++;for(;t<=255;)_[2*t+1]=9,t++,o[9]++;for(;t<=279;)_[2*t+1]=7,t++,o[7]++;for(;t<=287;)_[2*t+1]=8,t++,o[8]++;for(N(_,s+1,o),t=0;t<l;t++)w[2*t+1]=5,w[2*t]=P(t,5);B=new E(_,v,a+1,s,h),k=new E(w,m,0,l,h),T=new E(new Array(0),y,0,c,7)}(),G=!0),t.l_desc=new I(t.dyn_ltree,B),t.d_desc=new I(t.dyn_dtree,k),t.bl_desc=new I(t.bl_tree,T),t.bi_buf=0,t.bi_valid=0,j(t)},n._tr_stored_block=W,n._tr_flush_block=function(t,e,n,i){var r,o,s=0;0<t.level?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,n=4093624447;for(e=0;e<=31;e++,n>>>=1)if(1&n&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<a;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),V(t,t.l_desc),V(t,t.d_desc),s=function(t){var e;for(z(t,t.dyn_ltree,t.l_desc.max_code),z(t,t.dyn_dtree,t.d_desc.max_code),V(t,t.bl_desc),e=c-1;3<=e&&0===t.bl_tree[2*b[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),r=t.opt_len+3+7>>>3,(o=t.static_len+3+7>>>3)<=r&&(r=o)):r=o=n+5,n+4<=r&&-1!==e?W(t,e,n,i):4===t.strategy||o===r?(L(t,2+(i?1:0),3),H(t,_,w)):(L(t,4+(i?1:0),3),function(t,e,n,i){var r;for(L(t,e-257,5),L(t,n-1,5),L(t,i-4,4),r=0;r<i;r++)L(t,t.bl_tree[2*b[r]+1],3);$(t,t.dyn_ltree,e-1),$(t,t.dyn_dtree,n-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,s+1),H(t,t.dyn_ltree,t.dyn_dtree)),j(t),i&&U(t)},n._tr_tally=function(t,e,n){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&n,t.last_lit++,0===e?t.dyn_ltree[2*n]++:(t.matches++,e--,t.dyn_ltree[2*(C[n]+a+1)]++,t.dyn_dtree[2*M(e)]++),t.last_lit===t.lit_bufsize-1},n._tr_align=function(t){L(t,2,3),F(t,f,_),function(t){16===t.bi_valid?(D(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):8<=t.bi_valid&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}},{"../utils/common":41}],53:[function(t,e,n){"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(t,e,r){(function(t){!function(t,e){"use strict";if(!t.setImmediate){var n,r,o,a,s=1,l={},c=!1,u=t.document,h=Object.getPrototypeOf&&Object.getPrototypeOf(t);h=h&&h.setTimeout?h:t,n="[object process]"==={}.toString.call(t.process)?function(t){i.nextTick(function(){f(t)})}:function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?(a="setImmediate$"+Math.random()+"$",t.addEventListener?t.addEventListener("message",p,!1):t.attachEvent("onmessage",p),function(e){t.postMessage(a+e,"*")}):t.MessageChannel?((o=new MessageChannel).port1.onmessage=function(t){f(t.data)},function(t){o.port2.postMessage(t)}):u&&"onreadystatechange"in u.createElement("script")?(r=u.documentElement,function(t){var e=u.createElement("script");e.onreadystatechange=function(){f(t),e.onreadystatechange=null,r.removeChild(e),e=null},r.appendChild(e)}):function(t){setTimeout(f,0,t)},h.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),i=0;i<e.length;i++)e[i]=arguments[i+1];var r={callback:t,args:e};return l[s]=r,n(s),s++},h.clearImmediate=d}function d(t){delete l[t]}function f(t){if(c)setTimeout(f,0,t);else{var n=l[t];if(n){c=!0;try{!function(t){var n=t.callback,i=t.args;switch(i.length){case 0:n();break;case 1:n(i[0]);break;case 2:n(i[0],i[1]);break;case 3:n(i[0],i[1],i[2]);break;default:n.apply(e,i)}}(n)}finally{d(t),c=!1}}}}function p(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(a)&&f(+e.data.slice(a.length))}}("undefined"==typeof self?void 0===t?this:t:self)}).call(this,void 0!==n?n:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[10])(10)},t.exports=o()}).call(e,n("EuP9").Buffer,n("DuR2"),n("W2nU"))},PiFy:function(t,e,n){"use strict";var i=n("fRHV");t.exports=Function.prototype.bind||i},PzxK:function(t,e,n){var i=n("D2L2"),r=n("sB3e"),o=n("ax3d")("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),i(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},QHhf:function(t,e,n){"use strict";var i=n("1b2O"),r=n("+N5+").isSpace;function o(t,e,n,i){var o,a,s,l,c,u,h,d;for(this.src=t,this.md=e,this.env=n,this.tokens=i,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",d=!1,s=l=u=h=0,c=(a=this.src).length;l<c;l++){if(o=a.charCodeAt(l),!d){if(r(o)){u++,9===o?h+=4-h%4:h++;continue}d=!0}10!==o&&l!==c-1||(10!==o&&l++,this.bMarks.push(s),this.eMarks.push(l),this.tShift.push(u),this.sCount.push(h),this.bsCount.push(0),d=!1,u=0,h=0,s=l+1)}this.bMarks.push(a.length),this.eMarks.push(a.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}o.prototype.push=function(t,e,n){var r=new i(t,e,n);return r.block=!0,n<0&&this.level--,r.level=this.level,n>0&&this.level++,this.tokens.push(r),r},o.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]},o.prototype.skipEmptyLines=function(t){for(var e=this.lineMax;t<e&&!(this.bMarks[t]+this.tShift[t]<this.eMarks[t]);t++);return t},o.prototype.skipSpaces=function(t){for(var e,n=this.src.length;t<n&&(e=this.src.charCodeAt(t),r(e));t++);return t},o.prototype.skipSpacesBack=function(t,e){if(t<=e)return t;for(;t>e;)if(!r(this.src.charCodeAt(--t)))return t+1;return t},o.prototype.skipChars=function(t,e){for(var n=this.src.length;t<n&&this.src.charCodeAt(t)===e;t++);return t},o.prototype.skipCharsBack=function(t,e,n){if(t<=n)return t;for(;t>n;)if(e!==this.src.charCodeAt(--t))return t+1;return t},o.prototype.getLines=function(t,e,n,i){var o,a,s,l,c,u,h,d=t;if(t>=e)return"";for(u=new Array(e-t),o=0;d<e;d++,o++){for(a=0,h=l=this.bMarks[d],c=d+1<e||i?this.eMarks[d]+1:this.eMarks[d];l<c&&a<n;){if(s=this.src.charCodeAt(l),r(s))9===s?a+=4-(a+this.bsCount[d])%4:a++;else{if(!(l-h<this.tShift[d]))break;a++}l++}u[o]=a>n?new Array(a-n+1).join(" ")+this.src.slice(l,c):this.src.slice(l,c)}return u.join("")},o.prototype.Token=i,t.exports=o},QRG4:function(t,e,n){var i=n("UuGF"),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},"QWe/":function(t,e,n){n("crlp")("observable")},QgkH:function(t,e,n){"use strict";e.Any=n("Mur9"),e.Cc=n("DNGd"),e.Cf=n("O7JS"),e.P=n("TUzn"),e.Z=n("gxby")},R4wc:function(t,e,n){var i=n("kM2E");i(i.S+i.F,"Object",{assign:n("To3L")})},R9M2:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},RDoK:function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=116)}({0:function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(t,e){return l.call(e),u(t,e)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:c}}n.d(e,"a",function(){return i})},116:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("label",{staticClass:"el-radio",class:[t.border&&t.radioSize?"el-radio--"+t.radioSize:"",{"is-disabled":t.isDisabled},{"is-focus":t.focus},{"is-bordered":t.border},{"is-checked":t.model===t.label}],attrs:{role:"radio","aria-checked":t.model===t.label,"aria-disabled":t.isDisabled,tabindex:t.tabIndex},on:{keydown:function(e){if(!("button"in e)&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"]))return null;e.stopPropagation(),e.preventDefault(),t.model=t.isDisabled?t.model:t.label}}},[n("span",{staticClass:"el-radio__input",class:{"is-disabled":t.isDisabled,"is-checked":t.model===t.label}},[n("span",{staticClass:"el-radio__inner"}),n("input",{directives:[{name:"model",rawName:"v-model",value:t.model,expression:"model"}],ref:"radio",staticClass:"el-radio__original",attrs:{type:"radio","aria-hidden":"true",name:t.name,disabled:t.isDisabled,tabindex:"-1"},domProps:{value:t.label,checked:t._q(t.model,t.label)},on:{focus:function(e){t.focus=!0},blur:function(e){t.focus=!1},change:[function(e){t.model=t.label},t.handleChange]}})]),n("span",{staticClass:"el-radio__label",on:{keydown:function(t){t.stopPropagation()}}},[t._t("default"),t.$slots.default?t._e():[t._v(t._s(t.label))]],2)])};i._withStripped=!0;var r=n(4),o={name:"ElRadio",mixins:[n.n(r).a],inject:{elForm:{default:""},elFormItem:{default:""}},componentName:"ElRadio",props:{value:{},label:{},disabled:Boolean,name:String,border:Boolean,size:String},data:function(){return{focus:!1}},computed:{isGroup:function(){for(var t=this.$parent;t;){if("ElRadioGroup"===t.$options.componentName)return this._radioGroup=t,!0;t=t.$parent}return!1},model:{get:function(){return this.isGroup?this._radioGroup.value:this.value},set:function(t){this.isGroup?this.dispatch("ElRadioGroup","input",[t]):this.$emit("input",t),this.$refs.radio&&(this.$refs.radio.checked=this.model===this.label)}},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},radioSize:function(){var t=this.size||this._elFormItemSize||(this.$ELEMENT||{}).size;return this.isGroup&&this._radioGroup.radioGroupSize||t},isDisabled:function(){return this.isGroup?this._radioGroup.disabled||this.disabled||(this.elForm||{}).disabled:this.disabled||(this.elForm||{}).disabled},tabIndex:function(){return this.isDisabled||this.isGroup&&this.model!==this.label?-1:0}},methods:{handleChange:function(){var t=this;this.$nextTick(function(){t.$emit("change",t.model),t.isGroup&&t.dispatch("ElRadioGroup","handleChange",t.model)})}}},a=n(0),s=Object(a.a)(o,i,[],!1,null,null,null);s.options.__file="packages/radio/src/radio.vue";var l=s.exports;l.install=function(t){t.component(l.name,l)};e.default=l},4:function(t,e){t.exports=n("fPll")}})},RPLV:function(t,e,n){var i=n("7KvD").document;t.exports=i&&i.documentElement},"RY/4":function(t,e,n){var i=n("R9M2"),r=n("dSzd")("toStringTag"),o="Arguments"==i(function(){return arguments}());t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),r))?n:o?i(e):"Object"==(a=i(e))&&"function"==typeof e.callee?"Arguments":a}},Rl2i:function(t,e){t.exports=function(t){if(!t)return!1;var e=n.call(t);return"[object Function]"===e||"function"==typeof t&&"[object RegExp]"!==e||"undefined"!=typeof window&&(t===window.setTimeout||t===window.alert||t===window.confirm||t===window.prompt)};var n=Object.prototype.toString},Rrel:function(t,e,n){var i=n("TcQ7"),r=n("n0T6").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?function(t){try{return r(t)}catch(t){return a.slice()}}(t):r(i(t))}},"S/pY":function(t,e,n){"use strict";var i=n("+N5+").isWhiteSpace,r=n("+N5+").isPunctChar,o=n("+N5+").isMdAsciiPunct,a=/['"]/,s=/['"]/g,l="’";function c(t,e,n){return t.slice(0,e)+n+t.slice(e+1)}function u(t,e){var n,a,u,h,d,f,p,A,g,v,m,y,b,_,w,x,C,S,B,k,T;for(B=[],n=0;n<t.length;n++){for(a=t[n],p=t[n].level,C=B.length-1;C>=0&&!(B[C].level<=p);C--);if(B.length=C+1,"text"===a.type){d=0,f=(u=a.content).length;t:for(;d<f&&(s.lastIndex=d,h=s.exec(u));){if(w=x=!0,d=h.index+1,S="'"===h[0],g=32,h.index-1>=0)g=u.charCodeAt(h.index-1);else for(C=n-1;C>=0&&("softbreak"!==t[C].type&&"hardbreak"!==t[C].type);C--)if(t[C].content){g=t[C].content.charCodeAt(t[C].content.length-1);break}if(v=32,d<f)v=u.charCodeAt(d);else for(C=n+1;C<t.length&&("softbreak"!==t[C].type&&"hardbreak"!==t[C].type);C++)if(t[C].content){v=t[C].content.charCodeAt(0);break}if(m=o(g)||r(String.fromCharCode(g)),y=o(v)||r(String.fromCharCode(v)),b=i(g),(_=i(v))?w=!1:y&&(b||m||(w=!1)),b?x=!1:m&&(_||y||(x=!1)),34===v&&'"'===h[0]&&g>=48&&g<=57&&(x=w=!1),w&&x&&(w=m,x=y),w||x){if(x)for(C=B.length-1;C>=0&&(A=B[C],!(B[C].level<p));C--)if(A.single===S&&B[C].level===p){A=B[C],S?(k=e.md.options.quotes[2],T=e.md.options.quotes[3]):(k=e.md.options.quotes[0],T=e.md.options.quotes[1]),a.content=c(a.content,h.index,T),t[A.token].content=c(t[A.token].content,A.pos,k),d+=T.length-1,A.token===n&&(d+=k.length-1),f=(u=a.content).length,B.length=C;continue t}w?B.push({token:n,pos:h.index,single:S,level:p}):x&&S&&(a.content=c(a.content,h.index,l))}else S&&(a.content=c(a.content,h.index,l))}}}}t.exports=function(t){var e;if(t.md.options.typographer)for(e=t.tokens.length-1;e>=0;e--)"inline"===t.tokens[e].type&&a.test(t.tokens[e].content)&&u(t.tokens[e].children,t)}},S82l:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},SFHI:function(t,e,n){"use strict";var i=n("BldQ"),r=[["table",n("efRz"),["paragraph","reference"]],["code",n("UDBF")],["fence",n("i0+k"),["paragraph","reference","blockquote","list"]],["blockquote",n("M+GW"),["paragraph","reference","blockquote","list"]],["hr",n("tNJR"),["paragraph","reference","blockquote","list"]],["list",n("aBKc"),["paragraph","reference","blockquote"]],["reference",n("u8ag")],["html_block",n("4aIT"),["paragraph","reference","blockquote"]],["heading",n("pgii"),["paragraph","reference","blockquote"]],["lheading",n("xyVx")],["paragraph",n("FCB1")]];function o(){this.ruler=new i;for(var t=0;t<r.length;t++)this.ruler.push(r[t][0],r[t][1],{alt:(r[t][2]||[]).slice()})}o.prototype.tokenize=function(t,e,n){for(var i,r,o,a=this.ruler.getRules(""),s=a.length,l=e,c=!1,u=t.md.options.maxNesting;l<n&&(t.line=l=t.skipEmptyLines(l),!(l>=n))&&!(t.sCount[l]<t.blkIndent);){if(t.level>=u){t.line=n;break}for(o=t.line,r=0;r<s;r++)if(i=a[r](t,l,n,!1)){if(o>=t.line)throw new Error("block rule didn't increment state.line");break}if(!i)throw new Error("none of the block rules matched");t.tight=!c,t.isEmpty(t.line-1)&&(c=!0),(l=t.line)<n&&t.isEmpty(l)&&(c=!0,l++,t.line=l)}},o.prototype.parse=function(t,e,n,i){var r;t&&(r=new this.State(t,e,n,i),this.tokenize(r,r.line,r.lineMax))},o.prototype.State=n("QHhf"),t.exports=o},SLDG:function(t,e,n){"use strict";t.exports=function(t){return"object"==typeof t&&!0===t.isAxiosError}},STLj:function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=53)}({0:function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(t,e){return l.call(e),u(t,e)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:c}}n.d(e,"a",function(){return i})},3:function(t,e){t.exports=n("ylDJ")},33:function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"el-select-dropdown__item",class:{selected:t.itemSelected,"is-disabled":t.disabled||t.groupDisabled||t.limitReached,hover:t.hover},on:{mouseenter:t.hoverItem,click:function(e){return e.stopPropagation(),t.selectOptionClick(e)}}},[t._t("default",[n("span",[t._v(t._s(t.currentLabel))])])],2)};i._withStripped=!0;var r=n(4),o=n.n(r),a=n(3),s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},l={mixins:[o.a],name:"ElOption",componentName:"ElOption",inject:["select"],props:{value:{required:!0},label:[String,Number],created:Boolean,disabled:{type:Boolean,default:!1}},data:function(){return{index:-1,groupDisabled:!1,visible:!0,hitState:!1,hover:!1}},computed:{isObject:function(){return"[object object]"===Object.prototype.toString.call(this.value).toLowerCase()},currentLabel:function(){return this.label||(this.isObject?"":this.value)},currentValue:function(){return this.value||this.label||""},itemSelected:function(){return this.select.multiple?this.contains(this.select.value,this.value):this.isEqual(this.value,this.select.value)},limitReached:function(){return!!this.select.multiple&&(!this.itemSelected&&(this.select.value||[]).length>=this.select.multipleLimit&&this.select.multipleLimit>0)}},watch:{currentLabel:function(){this.created||this.select.remote||this.dispatch("ElSelect","setSelected")},value:function(t,e){var n=this.select,i=n.remote,r=n.valueKey;if(!this.created&&!i){if(r&&"object"===(void 0===t?"undefined":s(t))&&"object"===(void 0===e?"undefined":s(e))&&t[r]===e[r])return;this.dispatch("ElSelect","setSelected")}}},methods:{isEqual:function(t,e){if(this.isObject){var n=this.select.valueKey;return Object(a.getValueByPath)(t,n)===Object(a.getValueByPath)(e,n)}return t===e},contains:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments[1];if(this.isObject){var n=this.select.valueKey;return t&&t.some(function(t){return Object(a.getValueByPath)(t,n)===Object(a.getValueByPath)(e,n)})}return t&&t.indexOf(e)>-1},handleGroupDisabled:function(t){this.groupDisabled=t},hoverItem:function(){this.disabled||this.groupDisabled||(this.select.hoverIndex=this.select.options.indexOf(this))},selectOptionClick:function(){!0!==this.disabled&&!0!==this.groupDisabled&&this.dispatch("ElSelect","handleOptionClick",[this,!0])},queryChange:function(t){this.visible=new RegExp(Object(a.escapeRegexpString)(t),"i").test(this.currentLabel)||this.created,this.visible||this.select.filteredOptionsCount--}},created:function(){this.select.options.push(this),this.select.cachedOptions.push(this),this.select.optionsCount++,this.select.filteredOptionsCount++,this.$on("queryChange",this.queryChange),this.$on("handleGroupDisabled",this.handleGroupDisabled)},beforeDestroy:function(){var t=this.select,e=t.selected,n=t.multiple?e:[e],i=this.select.cachedOptions.indexOf(this),r=n.indexOf(this);i>-1&&r<0&&this.select.cachedOptions.splice(i,1),this.select.onOptionDestroy(this.select.options.indexOf(this))}},c=n(0),u=Object(c.a)(l,i,[],!1,null,null,null);u.options.__file="packages/select/src/option.vue";e.a=u.exports},4:function(t,e){t.exports=n("fPll")},53:function(t,e,n){"use strict";n.r(e);var i=n(33);i.a.install=function(t){t.component(i.a.name,i.a)},e.default=i.a}})},SXzR:function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=74)}({0:function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(t,e){return l.call(e),u(t,e)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:c}}n.d(e,"a",function(){return i})},2:function(t,e){t.exports=n("2kvA")},3:function(t,e){t.exports=n("ylDJ")},5:function(t,e){t.exports=n("fKx3")},7:function(t,e){t.exports=n("7+uW")},74:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",[n("transition",{attrs:{name:t.transition},on:{"after-enter":t.handleAfterEnter,"after-leave":t.handleAfterLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:!t.disabled&&t.showPopper,expression:"!disabled && showPopper"}],ref:"popper",staticClass:"el-popover el-popper",class:[t.popperClass,t.content&&"el-popover--plain"],style:{width:t.width+"px"},attrs:{role:"tooltip",id:t.tooltipId,"aria-hidden":t.disabled||!t.showPopper?"true":"false"}},[t.title?n("div",{staticClass:"el-popover__title",domProps:{textContent:t._s(t.title)}}):t._e(),t._t("default",[t._v(t._s(t.content))])],2)]),n("span",{ref:"wrapper",staticClass:"el-popover__reference-wrapper"},[t._t("reference")],2)],1)};i._withStripped=!0;var r=n(5),o=n.n(r),a=n(2),s=n(3),l={name:"ElPopover",mixins:[o.a],props:{trigger:{type:String,default:"click",validator:function(t){return["click","focus","hover","manual"].indexOf(t)>-1}},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:200},title:String,disabled:Boolean,content:String,reference:{},popperClass:String,width:{},visibleArrow:{default:!0},arrowOffset:{type:Number,default:0},transition:{type:String,default:"fade-in-linear"},tabindex:{type:Number,default:0}},computed:{tooltipId:function(){return"el-popover-"+Object(s.generateId)()}},watch:{showPopper:function(t){this.disabled||(t?this.$emit("show"):this.$emit("hide"))}},mounted:function(){var t=this,e=this.referenceElm=this.reference||this.$refs.reference,n=this.popper||this.$refs.popper;!e&&this.$refs.wrapper.children&&(e=this.referenceElm=this.$refs.wrapper.children[0]),e&&(Object(a.addClass)(e,"el-popover__reference"),e.setAttribute("aria-describedby",this.tooltipId),e.setAttribute("tabindex",this.tabindex),n.setAttribute("tabindex",0),"click"!==this.trigger&&(Object(a.on)(e,"focusin",function(){t.handleFocus();var n=e.__vue__;n&&"function"==typeof n.focus&&n.focus()}),Object(a.on)(n,"focusin",this.handleFocus),Object(a.on)(e,"focusout",this.handleBlur),Object(a.on)(n,"focusout",this.handleBlur)),Object(a.on)(e,"keydown",this.handleKeydown),Object(a.on)(e,"click",this.handleClick)),"click"===this.trigger?(Object(a.on)(e,"click",this.doToggle),Object(a.on)(document,"click",this.handleDocumentClick)):"hover"===this.trigger?(Object(a.on)(e,"mouseenter",this.handleMouseEnter),Object(a.on)(n,"mouseenter",this.handleMouseEnter),Object(a.on)(e,"mouseleave",this.handleMouseLeave),Object(a.on)(n,"mouseleave",this.handleMouseLeave)):"focus"===this.trigger&&(this.tabindex<0&&console.warn("[Element Warn][Popover]a negative taindex means that the element cannot be focused by tab key"),e.querySelector("input, textarea")?(Object(a.on)(e,"focusin",this.doShow),Object(a.on)(e,"focusout",this.doClose)):(Object(a.on)(e,"mousedown",this.doShow),Object(a.on)(e,"mouseup",this.doClose)))},beforeDestroy:function(){this.cleanup()},deactivated:function(){this.cleanup()},methods:{doToggle:function(){this.showPopper=!this.showPopper},doShow:function(){this.showPopper=!0},doClose:function(){this.showPopper=!1},handleFocus:function(){Object(a.addClass)(this.referenceElm,"focusing"),"click"!==this.trigger&&"focus"!==this.trigger||(this.showPopper=!0)},handleClick:function(){Object(a.removeClass)(this.referenceElm,"focusing")},handleBlur:function(){Object(a.removeClass)(this.referenceElm,"focusing"),"click"!==this.trigger&&"focus"!==this.trigger||(this.showPopper=!1)},handleMouseEnter:function(){var t=this;clearTimeout(this._timer),this.openDelay?this._timer=setTimeout(function(){t.showPopper=!0},this.openDelay):this.showPopper=!0},handleKeydown:function(t){27===t.keyCode&&"manual"!==this.trigger&&this.doClose()},handleMouseLeave:function(){var t=this;clearTimeout(this._timer),this.closeDelay?this._timer=setTimeout(function(){t.showPopper=!1},this.closeDelay):this.showPopper=!1},handleDocumentClick:function(t){var e=this.reference||this.$refs.reference,n=this.popper||this.$refs.popper;!e&&this.$refs.wrapper.children&&(e=this.referenceElm=this.$refs.wrapper.children[0]),this.$el&&e&&!this.$el.contains(t.target)&&!e.contains(t.target)&&n&&!n.contains(t.target)&&(this.showPopper=!1)},handleAfterEnter:function(){this.$emit("after-enter")},handleAfterLeave:function(){this.$emit("after-leave"),this.doDestroy()},cleanup:function(){(this.openDelay||this.closeDelay)&&clearTimeout(this._timer)}},destroyed:function(){var t=this.reference;Object(a.off)(t,"click",this.doToggle),Object(a.off)(t,"mouseup",this.doClose),Object(a.off)(t,"mousedown",this.doShow),Object(a.off)(t,"focusin",this.doShow),Object(a.off)(t,"focusout",this.doClose),Object(a.off)(t,"mousedown",this.doShow),Object(a.off)(t,"mouseup",this.doClose),Object(a.off)(t,"mouseleave",this.handleMouseLeave),Object(a.off)(t,"mouseenter",this.handleMouseEnter),Object(a.off)(document,"click",this.handleDocumentClick)}},c=n(0),u=Object(c.a)(l,i,[],!1,null,null,null);u.options.__file="packages/popover/src/main.vue";var h=u.exports,d=function(t,e,n){var i=e.expression?e.value:e.arg,r=n.context.$refs[i];r&&(Array.isArray(r)?r[0].$refs.reference=t:r.$refs.reference=t)},f={bind:function(t,e,n){d(t,e,n)},inserted:function(t,e,n){d(t,e,n)}},p=n(7);n.n(p).a.directive("popover",f),h.install=function(t){t.directive("popover",f),t.component(h.name,h)},h.directive=f;e.default=h}})},SfB7:function(t,e,n){t.exports=!n("+E39")&&!n("S82l")(function(){return 7!=Object.defineProperty(n("ON07")("div"),"a",{get:function(){return 7}}).a})},SldL:function(t,e){!function(e){"use strict";var n,i=Object.prototype,r=i.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag",c="object"==typeof t,u=e.regeneratorRuntime;if(u)c&&(t.exports=u);else{(u=e.regeneratorRuntime=c?t.exports:{}).wrap=b;var h="suspendedStart",d="suspendedYield",f="executing",p="completed",A={},g={};g[a]=function(){return this};var v=Object.getPrototypeOf,m=v&&v(v(I([])));m&&m!==i&&r.call(m,a)&&(g=m);var y=C.prototype=w.prototype=Object.create(g);x.prototype=y.constructor=C,C.constructor=x,C[l]=x.displayName="GeneratorFunction",u.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===x||"GeneratorFunction"===(e.displayName||e.name))},u.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,C):(t.__proto__=C,l in t||(t[l]="GeneratorFunction")),t.prototype=Object.create(y),t},u.awrap=function(t){return{__await:t}},S(B.prototype),B.prototype[s]=function(){return this},u.AsyncIterator=B,u.async=function(t,e,n,i){var r=new B(b(t,e,n,i));return u.isGeneratorFunction(e)?r:r.next().then(function(t){return t.done?t.value:r.next()})},S(y),y[l]="Generator",y[a]=function(){return this},y.toString=function(){return"[object Generator]"},u.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var i=e.pop();if(i in t)return n.value=i,n.done=!1,n}return n.done=!0,n}},u.values=I,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(O),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function i(i,r){return s.type="throw",s.arg=t,e.next=i,r&&(e.method="next",e.arg=n),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,A):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),A},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),O(n),A}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var r=i.arg;O(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,i){return this.delegate={iterator:I(t),resultName:e,nextLoc:i},"next"===this.method&&(this.arg=n),A}}}function b(t,e,n,i){var r=e&&e.prototype instanceof w?e:w,o=Object.create(r.prototype),a=new E(i||[]);return o._invoke=function(t,e,n){var i=h;return function(r,o){if(i===f)throw new Error("Generator is already running");if(i===p){if("throw"===r)throw o;return M()}for(n.method=r,n.arg=o;;){var a=n.delegate;if(a){var s=k(a,n);if(s){if(s===A)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===h)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=f;var l=_(t,e,n);if("normal"===l.type){if(i=n.done?p:d,l.arg===A)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(i=p,n.method="throw",n.arg=l.arg)}}}(t,n,a),o}function _(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function w(){}function x(){}function C(){}function S(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function B(t){var e;this._invoke=function(n,i){function o(){return new Promise(function(e,o){!function e(n,i,o,a){var s=_(t[n],t,i);if("throw"!==s.type){var l=s.arg,c=l.value;return c&&"object"==typeof c&&r.call(c,"__await")?Promise.resolve(c.__await).then(function(t){e("next",t,o,a)},function(t){e("throw",t,o,a)}):Promise.resolve(c).then(function(t){l.value=t,o(l)},a)}a(s.arg)}(n,i,e,o)})}return e=e?e.then(o,o):o()}}function k(t,e){var i=t.iterator[e.method];if(i===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=n,k(t,e),"throw"===e.method))return A;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return A}var r=_(i,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,A;var o=r.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,A):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,A)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function I(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function e(){for(;++i<t.length;)if(r.call(t,i))return e.value=t[i],e.done=!1,e;return e.value=n,e.done=!0,e};return o.next=o}}return{next:M}}function M(){return{value:n,done:!0}}}(function(){return this}()||Function("return this")())},SvnF:function(t,e,n){"use strict";e.__esModule=!0;var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.default=function(t){return function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),a=1;a<e;a++)n[a-1]=arguments[a];return 1===n.length&&"object"===i(n[0])&&(n=n[0]),n&&n.hasOwnProperty||(n={}),t.replace(o,function(e,i,o,a){var s=void 0;return"{"===t[a-1]&&"}"===t[a+e.length]?o:null===(s=(0,r.hasOwn)(n,o)?n[o]:null)||void 0===s?"":s})}};var r=n("ylDJ"),o=/(%|)\{([0-9a-zA-Z_]+)\}/g},TMZu:function(t,e,n){"use strict";t.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},TNV1:function(t,e,n){"use strict";var i=n("cGG2");t.exports=function(t,e,n){return i.forEach(n,function(n){t=n(t,e)}),t}},TQvf:function(t,e,n){
  89. /*!
  90. * clipboard.js v2.0.10
  91. * https://clipboardjs.com/
  92. *
  93. * Licensed MIT © Zeno Rocha
  94. */
  95. var i;i=function(){return function(){var t={686:function(t,e,n){"use strict";n.d(e,{default:function(){return b}});var i=n(279),r=n.n(i),o=n(370),a=n.n(o),s=n(817),l=n.n(s);function c(t){try{return document.execCommand(t)}catch(t){return!1}}var u=function(t){var e=l()(t);return c("cut"),e};var h=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body},n="";if("string"==typeof t){var i=function(t){var e="rtl"===document.documentElement.getAttribute("dir"),n=document.createElement("textarea");n.style.fontSize="12pt",n.style.border="0",n.style.padding="0",n.style.margin="0",n.style.position="absolute",n.style[e?"right":"left"]="-9999px";var i=window.pageYOffset||document.documentElement.scrollTop;return n.style.top="".concat(i,"px"),n.setAttribute("readonly",""),n.value=t,n}(t);e.container.appendChild(i),n=l()(i),c("copy"),i.remove()}else n=l()(t),c("copy");return n};function d(t){"@babel/helpers - typeof";return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var f=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.action,n=void 0===e?"copy":e,i=t.container,r=t.target,o=t.text;if("copy"!==n&&"cut"!==n)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==r){if(!r||"object"!==d(r)||1!==r.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===n&&r.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===n&&(r.hasAttribute("readonly")||r.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return o?h(o,{container:i}):r?"cut"===n?u(r):h(r,{container:i}):void 0};function p(t){"@babel/helpers - typeof";return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function A(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function g(t,e){return(g=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function v(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function(){var n,i=m(t);if(e){var r=m(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return function(t,e){if(e&&("object"===p(e)||"function"==typeof e))return e;return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,n)}}function m(t){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function y(t,e){var n="data-clipboard-".concat(t);if(e.hasAttribute(n))return e.getAttribute(n)}var b=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&g(t,e)}(s,r());var e,n,i,o=v(s);function s(t,e){var n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(n=o.call(this)).resolveOptions(e),n.listenClick(t),n}return e=s,i=[{key:"copy",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body};return h(t,e)}},{key:"cut",value:function(t){return u(t)}},{key:"isSupported",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],e="string"==typeof t?[t]:t,n=!!document.queryCommandSupported;return e.forEach(function(t){n=n&&!!document.queryCommandSupported(t)}),n}}],(n=[{key:"resolveOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof t.action?t.action:this.defaultAction,this.target="function"==typeof t.target?t.target:this.defaultTarget,this.text="function"==typeof t.text?t.text:this.defaultText,this.container="object"===p(t.container)?t.container:document.body}},{key:"listenClick",value:function(t){var e=this;this.listener=a()(t,"click",function(t){return e.onClick(t)})}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget,n=this.action(e)||"copy",i=f({action:n,container:this.container,target:this.target(e),text:this.text(e)});this.emit(i?"success":"error",{action:n,text:i,trigger:e,clearSelection:function(){e&&e.focus(),document.activeElement.blur(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(t){return y("action",t)}},{key:"defaultTarget",value:function(t){var e=y("target",t);if(e)return document.querySelector(e)}},{key:"defaultText",value:function(t){return y("text",t)}},{key:"destroy",value:function(){this.listener.destroy()}}])&&A(e.prototype,n),i&&A(e,i),s}()},828:function(t){var e=9;if("undefined"!=typeof Element&&!Element.prototype.matches){var n=Element.prototype;n.matches=n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}t.exports=function(t,n){for(;t&&t.nodeType!==e;){if("function"==typeof t.matches&&t.matches(n))return t;t=t.parentNode}}},438:function(t,e,n){var i=n(828);function r(t,e,n,r,o){var a=function(t,e,n,r){return function(n){n.delegateTarget=i(n.target,e),n.delegateTarget&&r.call(t,n)}}.apply(this,arguments);return t.addEventListener(n,a,o),{destroy:function(){t.removeEventListener(n,a,o)}}}t.exports=function(t,e,n,i,o){return"function"==typeof t.addEventListener?r.apply(null,arguments):"function"==typeof n?r.bind(null,document).apply(null,arguments):("string"==typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,function(t){return r(t,e,n,i,o)}))}},879:function(t,e){e.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},e.nodeList=function(t){var n=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in t&&(0===t.length||e.node(t[0]))},e.string=function(t){return"string"==typeof t||t instanceof String},e.fn=function(t){return"[object Function]"===Object.prototype.toString.call(t)}},370:function(t,e,n){var i=n(879),r=n(438);t.exports=function(t,e,n){if(!t&&!e&&!n)throw new Error("Missing required arguments");if(!i.string(e))throw new TypeError("Second argument must be a String");if(!i.fn(n))throw new TypeError("Third argument must be a Function");if(i.node(t))return function(t,e,n){return t.addEventListener(e,n),{destroy:function(){t.removeEventListener(e,n)}}}(t,e,n);if(i.nodeList(t))return function(t,e,n){return Array.prototype.forEach.call(t,function(t){t.addEventListener(e,n)}),{destroy:function(){Array.prototype.forEach.call(t,function(t){t.removeEventListener(e,n)})}}}(t,e,n);if(i.string(t))return function(t,e,n){return r(document.body,t,e,n)}(t,e,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},817:function(t){t.exports=function(t){var e;if("SELECT"===t.nodeName)t.focus(),e=t.value;else if("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName){var n=t.hasAttribute("readonly");n||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),n||t.removeAttribute("readonly"),e=t.value}else{t.hasAttribute("contenteditable")&&t.focus();var i=window.getSelection(),r=document.createRange();r.selectNodeContents(t),i.removeAllRanges(),i.addRange(r),e=i.toString()}return e}},279:function(t){function e(){}e.prototype={on:function(t,e,n){var i=this.e||(this.e={});return(i[t]||(i[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){var i=this;function r(){i.off(t,r),e.apply(n,arguments)}return r._=e,this.on(t,r,n)},emit:function(t){for(var e=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),i=0,r=n.length;i<r;i++)n[i].fn.apply(n[i].ctx,e);return this},off:function(t,e){var n=this.e||(this.e={}),i=n[t],r=[];if(i&&e)for(var o=0,a=i.length;o<a;o++)i[o].fn!==e&&i[o].fn._!==e&&r.push(i[o]);return r.length?n[t]=r:delete n[t],this}},t.exports=e,t.exports.TinyEmitter=e}},e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={exports:{}};return t[i](r,r.exports,n),r.exports}return n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n(686)}().default},t.exports=i()},TUzn:function(t,e){t.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},TcQ7:function(t,e,n){var i=n("MU5D"),r=n("52gC");t.exports=function(t){return i(r(t))}},TilA:function(t,e,n){"use strict";var i={};function r(t,e,n){var o,a,s,l,c,u="";for("string"!=typeof e&&(n=e,e=r.defaultChars),void 0===n&&(n=!0),c=function(t){var e,n,r=i[t];if(r)return r;for(r=i[t]=[],e=0;e<128;e++)n=String.fromCharCode(e),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2));for(e=0;e<t.length;e++)r[t.charCodeAt(e)]=t[e];return r}(e),o=0,a=t.length;o<a;o++)if(s=t.charCodeAt(o),n&&37===s&&o+2<a&&/^[0-9a-f]{2}$/i.test(t.slice(o+1,o+3)))u+=t.slice(o,o+3),o+=2;else if(s<128)u+=c[s];else if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1<a&&(l=t.charCodeAt(o+1))>=56320&&l<=57343){u+=encodeURIComponent(t[o]+t[o+1]),o++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(t[o]);return u}r.defaultChars=";/?:@&=+$,-_.!~*'()#",r.componentChars="-_.!~*'()",t.exports=r},TmV0:function(t,e,n){n("fZOM"),t.exports=n("FeBl").Object.values},To3L:function(t,e,n){"use strict";var i=n("+E39"),r=n("lktj"),o=n("1kS7"),a=n("NpIQ"),s=n("sB3e"),l=n("MU5D"),c=Object.assign;t.exports=!c||n("S82l")(function(){var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach(function(t){e[t]=t}),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=i})?function(t,e){for(var n=s(t),c=arguments.length,u=1,h=o.f,d=a.f;c>u;)for(var f,p=l(arguments[u++]),A=h?r(p).concat(h(p)):r(p),g=A.length,v=0;g>v;)f=A[v++],i&&!d.call(p,f)||(n[f]=p[f]);return n}:c},U5ju:function(t,e,n){n("M6a0"),n("zQR9"),n("+tPU"),n("CXw9"),n("EqBC"),n("jKW+"),t.exports=n("FeBl").Promise},UDBF:function(t,e,n){"use strict";t.exports=function(t,e,n){var i,r,o;if(t.sCount[e]-t.blkIndent<4)return!1;for(r=i=e+1;i<n;)if(t.isEmpty(i))i++;else{if(!(t.sCount[i]-t.blkIndent>=4))break;r=++i}return t.line=r,(o=t.push("code_block","code",0)).content=t.getLines(e,r,4+t.blkIndent,!1)+"\n",o.map=[e,t.line],!0}},UuGF:function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},UvrK:function(t,e,n){var i=n("kM2E");i(i.P+i.R,"Map",{toJSON:n("m9gC")("Map")})},V3tA:function(t,e,n){n("R4wc"),t.exports=n("FeBl").Object.assign},"VU/8":function(t,e){t.exports=function(t,e,n,i,r,o){var a,s=t=t||{},l=typeof t.default;"object"!==l&&"function"!==l||(a=t,s=t.default);var c,u="function"==typeof s?s.options:s;if(e&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns,u._compiled=!0),n&&(u.functional=!0),r&&(u._scopeId=r),o?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=c):i&&(c=i),c){var h=u.functional,d=h?u.render:u.beforeCreate;h?(u._injectStyles=c,u.render=function(t,e){return c.call(e),d(t,e)}):u.beforeCreate=d?[].concat(d,c):[c]}return{esModule:a,exports:s,options:u}}},Vi3T:function(t,e,n){"use strict";e.__esModule=!0,e.default={el:{colorpicker:{confirm:"确定",clear:"清空"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",selectDate:"选择日期",selectTime:"选择时间",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",prevYear:"前一年",nextYear:"后一年",prevMonth:"上个月",nextMonth:"下个月",year:"年",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!"},upload:{deleteTip:"按 delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"}}}},W1VW:function(t,e,n){"use strict";var i=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,r=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/;t.exports=function(t,e){var n,o,a,s,l,c,u=t.pos;if(60!==t.src.charCodeAt(u))return!1;for(l=t.pos,c=t.posMax;;){if(++u>=c)return!1;if(60===(s=t.src.charCodeAt(u)))return!1;if(62===s)break}return n=t.src.slice(l+1,u),r.test(n)?(o=t.md.normalizeLink(n),!!t.md.validateLink(o)&&(e||((a=t.push("link_open","a",1)).attrs=[["href",o]],a.markup="autolink",a.info="auto",(a=t.push("text","",0)).content=t.md.normalizeLinkText(n),(a=t.push("link_close","a",-1)).markup="autolink",a.info="auto"),t.pos+=n.length+2,!0)):!!i.test(n)&&(o=t.md.normalizeLink("mailto:"+n),!!t.md.validateLink(o)&&(e||((a=t.push("link_open","a",1)).attrs=[["href",o]],a.markup="autolink",a.info="auto",(a=t.push("text","",0)).content=t.md.normalizeLinkText(n),(a=t.push("link_close","a",-1)).markup="autolink",a.info="auto"),t.pos+=n.length+2,!0))}},W2nU:function(t,e){var n,i,r=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(t){n=o}try{i="function"==typeof clearTimeout?clearTimeout:a}catch(t){i=a}}();var l,c=[],u=!1,h=-1;function d(){u&&l&&(u=!1,l.length?c=l.concat(c):h=-1,c.length&&f())}function f(){if(!u){var t=s(d);u=!0;for(var e=c.length;e;){for(l=c,c=[];++h<e;)l&&l[h].run();h=-1,e=c.length}l=null,u=!1,function(t){if(i===clearTimeout)return clearTimeout(t);if((i===a||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(t);try{i(t)}catch(e){try{return i.call(null,t)}catch(e){return i.call(this,t)}}}(t)}}function p(t,e){this.fun=t,this.array=e}function A(){}r.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];c.push(new p(t,e)),1!==c.length||u||s(f)},p.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=A,r.addListener=A,r.once=A,r.off=A,r.removeListener=A,r.removeAllListeners=A,r.emit=A,r.prependListener=A,r.prependOnceListener=A,r.listeners=function(t){return[]},r.binding=function(t){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(t){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},WCAV:function(t,e,n){"use strict";var i=n("+N5+").normalizeReference,r=n("+N5+").isSpace;t.exports=function(t,e){var n,o,a,s,l,c,u,h,d,f,p,A,g,v="",m=t.pos,y=t.posMax;if(33!==t.src.charCodeAt(t.pos))return!1;if(91!==t.src.charCodeAt(t.pos+1))return!1;if(c=t.pos+2,(l=t.md.helpers.parseLinkLabel(t,t.pos+1,!1))<0)return!1;if((u=l+1)<y&&40===t.src.charCodeAt(u)){for(u++;u<y&&(o=t.src.charCodeAt(u),r(o)||10===o);u++);if(u>=y)return!1;for(g=u,(d=t.md.helpers.parseLinkDestination(t.src,u,t.posMax)).ok&&(v=t.md.normalizeLink(d.str),t.md.validateLink(v)?u=d.pos:v=""),g=u;u<y&&(o=t.src.charCodeAt(u),r(o)||10===o);u++);if(d=t.md.helpers.parseLinkTitle(t.src,u,t.posMax),u<y&&g!==u&&d.ok)for(f=d.str,u=d.pos;u<y&&(o=t.src.charCodeAt(u),r(o)||10===o);u++);else f="";if(u>=y||41!==t.src.charCodeAt(u))return t.pos=m,!1;u++}else{if(void 0===t.env.references)return!1;if(u<y&&91===t.src.charCodeAt(u)?(g=u+1,(u=t.md.helpers.parseLinkLabel(t,u))>=0?s=t.src.slice(g,u++):u=l+1):u=l+1,s||(s=t.src.slice(c,l)),!(h=t.env.references[i(s)]))return t.pos=m,!1;v=h.href,f=h.title}return e||(a=t.src.slice(c,l),t.md.inline.parse(a,t.md,t.env,A=[]),(p=t.push("image","img",0)).attrs=n=[["src",v],["alt",""]],p.children=A,p.content=a,f&&n.push(["title",f])),t.pos=u,t.posMax=y,!0}},WER7:function(t,e,n){"use strict";var i=n("PiFy"),r=n("7ar3"),o=r("%Function.prototype.apply%"),a=r("%Function.prototype.call%"),s=r("%Reflect.apply%",!0)||i.call(a,o),l=r("%Object.getOwnPropertyDescriptor%",!0),c=r("%Object.defineProperty%",!0),u=r("%Math.max%");if(c)try{c({},"a",{value:1})}catch(t){c=null}t.exports=function(t){var e=s(i,a,arguments);l&&c&&(l(e,"length").configurable&&c(e,"length",{value:1+u(0,t.length-(arguments.length-1))}));return e};var h=function(){return s(i,o,arguments)};c?c(t.exports,"apply",{value:h}):t.exports.apply=h},X8DO:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},XLwt:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i={};n.d(i,"create",function(){return v}),n.d(i,"copy",function(){return m}),n.d(i,"clone",function(){return y}),n.d(i,"set",function(){return b}),n.d(i,"add",function(){return _}),n.d(i,"scaleAndAdd",function(){return w}),n.d(i,"sub",function(){return x}),n.d(i,"len",function(){return C}),n.d(i,"length",function(){return S}),n.d(i,"lenSquare",function(){return B}),n.d(i,"lengthSquare",function(){return k}),n.d(i,"mul",function(){return T}),n.d(i,"div",function(){return O}),n.d(i,"dot",function(){return E}),n.d(i,"scale",function(){return I}),n.d(i,"normalize",function(){return M}),n.d(i,"distance",function(){return D}),n.d(i,"dist",function(){return L}),n.d(i,"distanceSquare",function(){return F}),n.d(i,"distSquare",function(){return P}),n.d(i,"negate",function(){return N}),n.d(i,"lerp",function(){return j}),n.d(i,"applyTransform",function(){return U}),n.d(i,"min",function(){return R}),n.d(i,"max",function(){return Q});var r={};n.d(r,"create",function(){return pt}),n.d(r,"identity",function(){return At}),n.d(r,"copy",function(){return gt}),n.d(r,"mul",function(){return vt}),n.d(r,"translate",function(){return mt}),n.d(r,"rotate",function(){return yt}),n.d(r,"scale",function(){return bt}),n.d(r,"invert",function(){return _t}),n.d(r,"clone",function(){return wt});var o={};n.d(o,"init",function(){return oi}),n.d(o,"dispose",function(){return ai}),n.d(o,"disposeAll",function(){return si}),n.d(o,"getInstance",function(){return li}),n.d(o,"registerPainter",function(){return ci}),n.d(o,"version",function(){return ui});var a={};n.d(a,"updateProps",function(){return ec}),n.d(a,"initProps",function(){return nc}),n.d(a,"removeElement",function(){return rc}),n.d(a,"removeElementWithFadeOut",function(){return ac}),n.d(a,"isElementRemoved",function(){return ic}),n.d(a,"extendShape",function(){return hc}),n.d(a,"extendPath",function(){return fc}),n.d(a,"registerShape",function(){return pc}),n.d(a,"getShapeClass",function(){return Ac}),n.d(a,"makePath",function(){return gc}),n.d(a,"makeImage",function(){return vc}),n.d(a,"mergePath",function(){return yc}),n.d(a,"resizePath",function(){return bc}),n.d(a,"subPixelOptimizeLine",function(){return _c}),n.d(a,"subPixelOptimizeRect",function(){return wc}),n.d(a,"subPixelOptimize",function(){return xc}),n.d(a,"getTransform",function(){return Cc}),n.d(a,"applyTransform",function(){return Sc}),n.d(a,"transformDirection",function(){return Bc}),n.d(a,"groupTransition",function(){return Tc}),n.d(a,"clipPointsByRect",function(){return Oc}),n.d(a,"clipRectByRect",function(){return Ec}),n.d(a,"createIcon",function(){return Ic}),n.d(a,"linePolygonIntersect",function(){return Mc}),n.d(a,"lineLineIntersect",function(){return Dc}),n.d(a,"setTooltipConfig",function(){return Fc}),n.d(a,"traverseElements",function(){return Nc}),n.d(a,"Group",function(){return ei}),n.d(a,"Image",function(){return ia}),n.d(a,"Text",function(){return ka}),n.d(a,"Circle",function(){return Js}),n.d(a,"Ellipse",function(){return nl}),n.d(a,"Sector",function(){return ml}),n.d(a,"Ring",function(){return _l}),n.d(a,"Polygon",function(){return Sl}),n.d(a,"Polyline",function(){return Tl}),n.d(a,"Rect",function(){return ha}),n.d(a,"Line",function(){return Ml}),n.d(a,"BezierCurve",function(){return Nl}),n.d(a,"Arc",function(){return Rl}),n.d(a,"IncrementalDisplayable",function(){return ql}),n.d(a,"CompoundPath",function(){return Ql}),n.d(a,"LinearGradient",function(){return Vl}),n.d(a,"RadialGradient",function(){return zl}),n.d(a,"BoundingRect",function(){return Mt}),n.d(a,"OrientedBoundingRect",function(){return Yl}),n.d(a,"Point",function(){return xt}),n.d(a,"Path",function(){return Xo});var s={};n.d(s,"createList",function(){return Sy}),n.d(s,"getLayoutRect",function(){return gh}),n.d(s,"createDimensions",function(){return om}),n.d(s,"dataStack",function(){return By}),n.d(s,"createSymbol",function(){return OA}),n.d(s,"createScale",function(){return ky}),n.d(s,"mixinAxisModelCommonMethods",function(){return Ty}),n.d(s,"getECData",function(){return Ta}),n.d(s,"enableHoverEmphasis",function(){return _s}),n.d(s,"createTextStyle",function(){return Oy});var l={};n.d(l,"linearMap",function(){return fi}),n.d(l,"round",function(){return Ai}),n.d(l,"asc",function(){return gi}),n.d(l,"getPrecision",function(){return vi}),n.d(l,"getPrecisionSafe",function(){return mi}),n.d(l,"getPixelPrecision",function(){return yi}),n.d(l,"getPercentWithPrecision",function(){return bi}),n.d(l,"MAX_SAFE_INTEGER",function(){return xi}),n.d(l,"remRadian",function(){return Ci}),n.d(l,"isRadianAroundZero",function(){return Si}),n.d(l,"parseDate",function(){return ki}),n.d(l,"quantity",function(){return Ti}),n.d(l,"quantityExponent",function(){return Oi}),n.d(l,"nice",function(){return Ei}),n.d(l,"quantile",function(){return Ii}),n.d(l,"reformIntervals",function(){return Mi}),n.d(l,"isNumeric",function(){return Li}),n.d(l,"numericToNumber",function(){return Di});var c={};n.d(c,"parse",function(){return ki}),n.d(c,"format",function(){return Fu});var u={};n.d(u,"extendShape",function(){return hc}),n.d(u,"extendPath",function(){return fc}),n.d(u,"makePath",function(){return gc}),n.d(u,"makeImage",function(){return vc}),n.d(u,"mergePath",function(){return yc}),n.d(u,"resizePath",function(){return bc}),n.d(u,"createIcon",function(){return Ic}),n.d(u,"updateProps",function(){return ec}),n.d(u,"initProps",function(){return nc}),n.d(u,"getTransform",function(){return Cc}),n.d(u,"clipPointsByRect",function(){return Oc}),n.d(u,"clipRectByRect",function(){return Ec}),n.d(u,"registerShape",function(){return pc}),n.d(u,"getShapeClass",function(){return Ac}),n.d(u,"Group",function(){return ei}),n.d(u,"Image",function(){return ia}),n.d(u,"Text",function(){return ka}),n.d(u,"Circle",function(){return Js}),n.d(u,"Ellipse",function(){return nl}),n.d(u,"Sector",function(){return ml}),n.d(u,"Ring",function(){return _l}),n.d(u,"Polygon",function(){return Sl}),n.d(u,"Polyline",function(){return Tl}),n.d(u,"Rect",function(){return ha}),n.d(u,"Line",function(){return Ml}),n.d(u,"BezierCurve",function(){return Nl}),n.d(u,"Arc",function(){return Rl}),n.d(u,"IncrementalDisplayable",function(){return ql}),n.d(u,"CompoundPath",function(){return Ql}),n.d(u,"LinearGradient",function(){return Vl}),n.d(u,"RadialGradient",function(){return zl}),n.d(u,"BoundingRect",function(){return Mt});var h={};n.d(h,"addCommas",function(){return Ju}),n.d(h,"toCamelCase",function(){return th}),n.d(h,"normalizeCssArray",function(){return eh}),n.d(h,"encodeHTML",function(){return tt}),n.d(h,"formatTpl",function(){return oh}),n.d(h,"getTooltipMarker",function(){return ah}),n.d(h,"formatTime",function(){return sh}),n.d(h,"capitalFirst",function(){return lh}),n.d(h,"truncateText",function(){return Or}),n.d(h,"getTextRect",function(){return Zu});var d={};n.d(d,"map",function(){return g.map}),n.d(d,"each",function(){return g.each}),n.d(d,"indexOf",function(){return g.indexOf}),n.d(d,"inherits",function(){return g.inherits}),n.d(d,"reduce",function(){return g.reduce}),n.d(d,"filter",function(){return g.filter}),n.d(d,"bind",function(){return g.bind}),n.d(d,"curry",function(){return g.curry}),n.d(d,"isArray",function(){return g.isArray}),n.d(d,"isString",function(){return g.isString}),n.d(d,"isObject",function(){return g.isObject}),n.d(d,"isFunction",function(){return g.isFunction}),n.d(d,"extend",function(){return g.extend}),n.d(d,"defaults",function(){return g.defaults}),n.d(d,"clone",function(){return g.clone}),n.d(d,"merge",function(){return g.merge});
  96. /*! *****************************************************************************
  97. Copyright (c) Microsoft Corporation.
  98. Permission to use, copy, modify, and/or distribute this software for any
  99. purpose with or without fee is hereby granted.
  100. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
  101. REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  102. AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
  103. INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  104. LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  105. OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  106. PERFORMANCE OF THIS SOFTWARE.
  107. ***************************************************************************** */
  108. var f=function(t,e){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function p(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}f(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}Object.create;Object.create;var A=n("YNzw"),g=n("/gxq");function v(t,e){return null==t&&(t=0),null==e&&(e=0),[t,e]}function m(t,e){return t[0]=e[0],t[1]=e[1],t}function y(t){return[t[0],t[1]]}function b(t,e,n){return t[0]=e,t[1]=n,t}function _(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t}function w(t,e,n,i){return t[0]=e[0]+n[0]*i,t[1]=e[1]+n[1]*i,t}function x(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function C(t){return Math.sqrt(B(t))}var S=C;function B(t){return t[0]*t[0]+t[1]*t[1]}var k=B;function T(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t}function O(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t}function E(t,e){return t[0]*e[0]+t[1]*e[1]}function I(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t}function M(t,e){var n=C(e);return 0===n?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t[1]=e[1]/n),t}function D(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var L=D;function F(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var P=F;function N(t,e){return t[0]=-e[0],t[1]=-e[1],t}function j(t,e,n,i){return t[0]=e[0]+i*(n[0]-e[0]),t[1]=e[1]+i*(n[1]-e[1]),t}function U(t,e,n){var i=e[0],r=e[1];return t[0]=n[0]*i+n[2]*r+n[4],t[1]=n[1]*i+n[3]*r+n[5],t}function R(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t}function Q(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}var H=function(){return function(t,e){this.target=t,this.topTarget=e&&e.topTarget}}(),V=function(){function t(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return t.prototype._dragStart=function(t){for(var e=t.target;e&&!e.draggable;)e=e.parent||e.__hostTarget;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new H(e,t),"dragstart",t.event))},t.prototype._drag=function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,i=t.offsetY,r=n-this._x,o=i-this._y;this._x=n,this._y=i,e.drift(r,o,t),this.handler.dispatchToElement(new H(e,t),"drag",t.event);var a=this.handler.findHover(n,i,e).target,s=this._dropTarget;this._dropTarget=a,e!==a&&(s&&a!==s&&this.handler.dispatchToElement(new H(s,t),"dragleave",t.event),a&&a!==s&&this.handler.dispatchToElement(new H(a,t),"dragenter",t.event))}},t.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new H(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new H(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},t}(),z=function(){function t(t){t&&(this._$eventProcessor=t)}return t.prototype.on=function(t,e,n,i){this._$handlers||(this._$handlers={});var r=this._$handlers;if("function"==typeof e&&(i=n,n=e,e=null),!n||!t)return this;var o=this._$eventProcessor;null!=e&&o&&o.normalizeQuery&&(e=o.normalizeQuery(e)),r[t]||(r[t]=[]);for(var a=0;a<r[t].length;a++)if(r[t][a].h===n)return this;var s={h:n,query:e,ctx:i||this,callAtLast:n.zrEventfulCallAtLast},l=r[t].length-1,c=r[t][l];return c&&c.callAtLast?r[t].splice(l,0,s):r[t].push(s),this},t.prototype.isSilent=function(t){var e=this._$handlers;return!e||!e[t]||!e[t].length},t.prototype.off=function(t,e){var n=this._$handlers;if(!n)return this;if(!t)return this._$handlers={},this;if(e){if(n[t]){for(var i=[],r=0,o=n[t].length;r<o;r++)n[t][r].h!==e&&i.push(n[t][r]);n[t]=i}n[t]&&0===n[t].length&&delete n[t]}else delete n[t];return this},t.prototype.trigger=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],r=this._$eventProcessor;if(i)for(var o=e.length,a=i.length,s=0;s<a;s++){var l=i[s];if(!r||!r.filter||null==l.query||r.filter(t,l.query))switch(o){case 0:l.h.call(l.ctx);break;case 1:l.h.call(l.ctx,e[0]);break;case 2:l.h.call(l.ctx,e[0],e[1]);break;default:l.h.apply(l.ctx,e)}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t.prototype.triggerWithContext=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],r=this._$eventProcessor;if(i)for(var o=e.length,a=e[o-1],s=i.length,l=0;l<s;l++){var c=i[l];if(!r||!r.filter||null==c.query||r.filter(t,c.query))switch(o){case 0:c.h.call(a);break;case 1:c.h.call(a,e[0]);break;case 2:c.h.call(a,e[0],e[1]);break;default:c.h.apply(a,e.slice(1,o-1))}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t}(),$=Math.log(2);function G(t,e,n,i,r,o){var a=i+"-"+r,s=t.length;if(o.hasOwnProperty(a))return o[a];if(1===e){var l=Math.round(Math.log((1<<s)-1&~r)/$);return t[n][l]}for(var c=i|1<<n,u=n+1;i&1<<u;)u++;for(var h=0,d=0,f=0;d<s;d++){var p=1<<d;p&r||(h+=(f%2?-1:1)*t[n][d]*G(t,e-1,u,c,r|p,o),f++)}return o[a]=h,h}function W(t,e){var n=[[t[0],t[1],1,0,0,0,-e[0]*t[0],-e[0]*t[1]],[0,0,0,t[0],t[1],1,-e[1]*t[0],-e[1]*t[1]],[t[2],t[3],1,0,0,0,-e[2]*t[2],-e[2]*t[3]],[0,0,0,t[2],t[3],1,-e[3]*t[2],-e[3]*t[3]],[t[4],t[5],1,0,0,0,-e[4]*t[4],-e[4]*t[5]],[0,0,0,t[4],t[5],1,-e[5]*t[4],-e[5]*t[5]],[t[6],t[7],1,0,0,0,-e[6]*t[6],-e[6]*t[7]],[0,0,0,t[6],t[7],1,-e[7]*t[6],-e[7]*t[7]]],i={},r=G(n,8,0,0,0,i);if(0!==r){for(var o=[],a=0;a<8;a++)for(var s=0;s<8;s++)null==o[s]&&(o[s]=0),o[s]+=((a+s)%2?-1:1)*G(n,7,0===a?1:0,1<<a,1<<s,i)/r*e[a];return function(t,e,n){var i=e*o[6]+n*o[7]+1;t[0]=(e*o[0]+n*o[1]+o[2])/i,t[1]=(e*o[3]+n*o[4]+o[5])/i}}}var K="___zrEVENTSAVED",Y=[];function X(t,e,n,i,r){if(e.getBoundingClientRect&&A.a.domSupported&&!q(e)){var o=e[K]||(e[K]={}),a=function(t,e,n){for(var i=n?"invTrans":"trans",r=e[i],o=e.srcCoords,a=[],s=[],l=!0,c=0;c<4;c++){var u=t[c].getBoundingClientRect(),h=2*c,d=u.left,f=u.top;a.push(d,f),l=l&&o&&d===o[h]&&f===o[h+1],s.push(t[c].offsetLeft,t[c].offsetTop)}return l&&r?r:(e.srcCoords=a,e[i]=n?W(s,a):W(a,s))}(function(t,e){var n=e.markers;if(n)return n;n=e.markers=[];for(var i=["left","right"],r=["top","bottom"],o=0;o<4;o++){var a=document.createElement("div"),s=a.style,l=o%2,c=(o>>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[l]+":0",r[c]+":0",i[1-l]+":auto",r[1-c]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return n}(e,o),o,r);if(a)return a(t,n,i),!0}return!1}function q(t){return"CANVAS"===t.nodeName.toUpperCase()}var Z=/([&<>"'])/g,J={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function tt(t){return null==t?"":(t+"").replace(Z,function(t,e){return J[e]})}var et=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,nt=[],it=A.a.browser.firefox&&+A.a.browser.version.split(".")[0]<39;function rt(t,e,n,i){return n=n||{},i?ot(t,e,n):it&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):ot(t,e,n),n}function ot(t,e,n){if(A.a.domSupported&&t.getBoundingClientRect){var i=e.clientX,r=e.clientY;if(q(t)){var o=t.getBoundingClientRect();return n.zrX=i-o.left,void(n.zrY=r-o.top)}if(X(nt,t,i,r))return n.zrX=nt[0],void(n.zrY=nt[1])}n.zrX=n.zrY=0}function at(t){return t||window.event}function st(t,e,n){if(null!=(e=at(e)).zrX)return e;var i=e.type;if(i&&i.indexOf("touch")>=0){var r="touchend"!==i?e.targetTouches[0]:e.changedTouches[0];r&&rt(t,r,e,n)}else{rt(t,e,e,n);var o=function(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,i=t.deltaY;if(null==n||null==i)return e;return 3*(0!==i?Math.abs(i):Math.abs(n))*(i>0?-1:i<0?1:n>0?-1:1)}(e);e.zrDelta=o?o/120:-(e.detail||0)/3}var a=e.button;return null==e.which&&void 0!==a&&et.test(e.type)&&(e.which=1&a?1:2&a?3:4&a?2:0),e}function lt(t,e,n,i){t.addEventListener(e,n,i)}var ct=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function ut(t){return 2===t.which||3===t.which}var ht=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,n){var i=t.touches;if(i){for(var r={points:[],touches:[],target:e,event:t},o=0,a=i.length;o<a;o++){var s=i[o],l=rt(n,s,{});r.points.push([l.zrX,l.zrY]),r.touches.push(s)}this._track.push(r)}},t.prototype._recognize=function(t){for(var e in ft)if(ft.hasOwnProperty(e)){var n=ft[e](this._track,t);if(n)return n}},t}();function dt(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}var ft={pinch:function(t,e){var n=t.length;if(n){var i,r=(t[n-1]||{}).points,o=(t[n-2]||{}).points||r;if(o&&o.length>1&&r&&r.length>1){var a=dt(r)/dt(o);!isFinite(a)&&(a=1),e.pinchScale=a;var s=[((i=r)[0][0]+i[1][0])/2,(i[0][1]+i[1][1])/2];return e.pinchX=s[0],e.pinchY=s[1],{type:"pinch",target:t[0].target,event:e}}}}};function pt(){return[1,0,0,1,0,0]}function At(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function gt(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function vt(t,e,n){var i=e[0]*n[0]+e[2]*n[1],r=e[1]*n[0]+e[3]*n[1],o=e[0]*n[2]+e[2]*n[3],a=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4],l=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=i,t[1]=r,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t}function mt(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t}function yt(t,e,n){var i=e[0],r=e[2],o=e[4],a=e[1],s=e[3],l=e[5],c=Math.sin(n),u=Math.cos(n);return t[0]=i*u+a*c,t[1]=-i*c+a*u,t[2]=r*u+s*c,t[3]=-r*c+u*s,t[4]=u*o+c*l,t[5]=u*l-c*o,t}function bt(t,e,n){var i=n[0],r=n[1];return t[0]=e[0]*i,t[1]=e[1]*r,t[2]=e[2]*i,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*r,t}function _t(t,e){var n=e[0],i=e[2],r=e[4],o=e[1],a=e[3],s=e[5],l=n*a-o*i;return l?(l=1/l,t[0]=a*l,t[1]=-o*l,t[2]=-i*l,t[3]=n*l,t[4]=(i*s-a*r)*l,t[5]=(o*r-n*s)*l,t):null}function wt(t){var e=[1,0,0,1,0,0];return gt(e,t),e}var xt=function(){function t(t,e){this.x=t||0,this.y=e||0}return t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(t,e){return this.x=t,this.y=e,this},t.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},t.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.scale=function(t){this.x*=t,this.y*=t},t.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},t.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},t.prototype.dot=function(t){return this.x*t.x+this.y*t.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},t.prototype.distance=function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,n=this.y-t.y;return e*e+n*n},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(t){if(t){var e=this.x,n=this.y;return this.x=t[0]*e+t[2]*n+t[4],this.y=t[1]*e+t[3]*n+t[5],this}},t.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},t.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},t.set=function(t,e,n){t.x=e,t.y=n},t.copy=function(t,e){t.x=e.x,t.y=e.y},t.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},t.lenSquare=function(t){return t.x*t.x+t.y*t.y},t.dot=function(t,e){return t.x*e.x+t.y*e.y},t.add=function(t,e,n){t.x=e.x+n.x,t.y=e.y+n.y},t.sub=function(t,e,n){t.x=e.x-n.x,t.y=e.y-n.y},t.scale=function(t,e,n){t.x=e.x*n,t.y=e.y*n},t.scaleAndAdd=function(t,e,n,i){t.x=e.x+n.x*i,t.y=e.y+n.y*i},t.lerp=function(t,e,n,i){var r=1-i;t.x=r*e.x+i*n.x,t.y=r*e.y+i*n.y},t}(),Ct=Math.min,St=Math.max,Bt=new xt,kt=new xt,Tt=new xt,Ot=new xt,Et=new xt,It=new xt,Mt=function(){function t(t,e,n,i){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i),this.x=t,this.y=e,this.width=n,this.height=i}return t.prototype.union=function(t){var e=Ct(t.x,this.x),n=Ct(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=St(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=St(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=e,this.y=n},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){var e=this,n=t.width/e.width,i=t.height/e.height,r=[1,0,0,1,0,0];return mt(r,r,[-e.x,-e.y]),bt(r,r,[n,i]),mt(r,r,[t.x,t.y]),r},t.prototype.intersect=function(e,n){if(!e)return!1;e instanceof t||(e=t.create(e));var i=this,r=i.x,o=i.x+i.width,a=i.y,s=i.y+i.height,l=e.x,c=e.x+e.width,u=e.y,h=e.y+e.height,d=!(o<l||c<r||s<u||h<a);if(n){var f=1/0,p=0,A=Math.abs(o-l),g=Math.abs(c-r),v=Math.abs(s-u),m=Math.abs(h-a),y=Math.min(A,g),b=Math.min(v,m);o<l||c<r?y>p&&(p=y,A<g?xt.set(It,-A,0):xt.set(It,g,0)):y<f&&(f=y,A<g?xt.set(Et,A,0):xt.set(Et,-g,0)),s<u||h<a?b>p&&(p=b,v<m?xt.set(It,0,-v):xt.set(It,0,m)):y<f&&(f=y,v<m?xt.set(Et,0,v):xt.set(Et,0,-m))}return n&&xt.copy(n,d?Et:It),d},t.prototype.contain=function(t,e){return t>=this.x&&t<=this.x+this.width&&e>=this.y&&e<=this.y+this.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},t.applyTransform=function(e,n,i){if(i){if(i[1]<1e-5&&i[1]>-1e-5&&i[2]<1e-5&&i[2]>-1e-5){var r=i[0],o=i[3],a=i[4],s=i[5];return e.x=n.x*r+a,e.y=n.y*o+s,e.width=n.width*r,e.height=n.height*o,e.width<0&&(e.x+=e.width,e.width=-e.width),void(e.height<0&&(e.y+=e.height,e.height=-e.height))}Bt.x=Tt.x=n.x,Bt.y=Ot.y=n.y,kt.x=Ot.x=n.x+n.width,kt.y=Tt.y=n.y+n.height,Bt.transform(i),Ot.transform(i),kt.transform(i),Tt.transform(i),e.x=Ct(Bt.x,kt.x,Tt.x,Ot.x),e.y=Ct(Bt.y,kt.y,Tt.y,Ot.y);var l=St(Bt.x,kt.x,Tt.x,Ot.x),c=St(Bt.y,kt.y,Tt.y,Ot.y);e.width=l-e.x,e.height=c-e.y}else e!==n&&t.copy(e,n)},t}(),Dt="silent";function Lt(){ct(this.event)}var Ft=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return p(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(z),Pt=function(){return function(t,e){this.x=t,this.y=e}}(),Nt=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],jt=new Mt(0,0,0,0),Ut=function(t){function e(e,n,i,r,o){var a=t.call(this)||this;return a._hovered=new Pt(0,0),a.storage=e,a.painter=n,a.painterRoot=r,a._pointerSize=o,i=i||new Ft,a.proxy=null,a.setHandlerProxy(i),a._draggingMgr=new V(a),a}return p(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(g.each(Nt,function(e){t.on&&t.on(e,this[e],this)},this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var e=t.zrX,n=t.zrY,i=Ht(this,e,n),r=this._hovered,o=r.target;o&&!o.__zr&&(o=(r=this.findHover(r.x,r.y)).target);var a=this._hovered=i?new Pt(e,n):this.findHover(e,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(r,"mouseout",t),this.dispatchToElement(a,"mousemove",t),s&&s!==o&&this.dispatchToElement(a,"mouseover",t)},e.prototype.mouseout=function(t){var e=t.zrEventControl;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new Pt(0,0)},e.prototype.dispatch=function(t,e){var n=this[t];n&&n.call(this,e)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},e.prototype.dispatchToElement=function(t,e,n){var i=(t=t||{}).target;if(!i||!i.silent){for(var r="on"+e,o=function(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:Lt}}(e,t,n);i&&(i[r]&&(o.cancelBubble=!!i[r].call(i,o)),i.trigger(e,o),i=i.__hostTarget?i.__hostTarget:i.parent,!o.cancelBubble););o.cancelBubble||(this.trigger(e,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(t){"function"==typeof t[r]&&t[r].call(t,o),t.trigger&&t.trigger(e,o)}))}},e.prototype.findHover=function(t,e,n){var i=this.storage.getDisplayList(),r=new Pt(t,e);if(Qt(i,r,t,e,n),this._pointerSize&&!r.target){for(var o=[],a=this._pointerSize,s=a/2,l=new Mt(t-s,e-s,a,a),c=i.length-1;c>=0;c--){var u=i[c];u===n||u.ignore||u.ignoreCoarsePointer||u.parent&&u.parent.ignoreCoarsePointer||(jt.copy(u.getBoundingRect()),u.transform&&jt.applyTransform(u.transform),jt.intersect(l)&&o.push(u))}if(o.length)for(var h=Math.PI/12,d=2*Math.PI,f=0;f<s;f+=4)for(var p=0;p<d;p+=h){if(Qt(o,r,t+f*Math.cos(p),e+f*Math.sin(p),n),r.target)return r}}return r},e.prototype.processGesture=function(t,e){this._gestureMgr||(this._gestureMgr=new ht);var n=this._gestureMgr;"start"===e&&n.clear();var i=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&n.clear(),i){var r=i.type;t.gestureEvent=r;var o=new Pt;o.target=i.target,this.dispatchToElement(o,r,i.event)}},e}(z);function Rt(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){for(var i=t,r=void 0,o=!1;i;){if(i.ignoreClip&&(o=!0),!o){var a=i.getClipPath();if(a&&!a.contain(e,n))return!1;i.silent&&(r=!0)}var s=i.__hostTarget;i=s||i.parent}return!r||Dt}return!1}function Qt(t,e,n,i,r){for(var o=t.length-1;o>=0;o--){var a=t[o],s=void 0;if(a!==r&&!a.ignore&&(s=Rt(a,n,i))&&(!e.topTarget&&(e.topTarget=a),s!==Dt)){e.target=a;break}}}function Ht(t,e,n){var i=t.painter;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}g.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){Ut.prototype[t]=function(e){var n,i,r=e.zrX,o=e.zrY,a=Ht(this,r,o);if("mouseup"===t&&a||(i=(n=this.findHover(r,o)).target),"mousedown"===t)this._downEl=i,this._downPoint=[e.zrX,e.zrY],this._upEl=i;else if("mouseup"===t)this._upEl=i;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||L(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}});var Vt=Ut,zt=32,$t=7;function Gt(t,e,n,i){var r=e+1;if(r===n)return 1;if(i(t[r++],t[e])<0){for(;r<n&&i(t[r],t[r-1])<0;)r++;!function(t,e,n){n--;for(;e<n;){var i=t[e];t[e++]=t[n],t[n--]=i}}(t,e,r)}else for(;r<n&&i(t[r],t[r-1])>=0;)r++;return r-e}function Wt(t,e,n,i,r){for(i===e&&i++;i<n;i++){for(var o,a=t[i],s=e,l=i;s<l;)r(a,t[o=s+l>>>1])<0?l=o:s=o+1;var c=i-s;switch(c){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;c>0;)t[s+c]=t[s+c-1],c--}t[s]=a}}function Kt(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])>0){for(s=i-r;l<s&&o(t,e[n+r+l])>0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}else{for(s=r+1;l<s&&o(t,e[n+r-l])<=0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s);var c=a;a=r-l,l=r-c}for(a++;a<l;){var u=a+(l-a>>>1);o(t,e[n+u])>0?a=u+1:l=u}return l}function Yt(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])<0){for(s=r+1;l<s&&o(t,e[n+r-l])<0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s);var c=a;a=r-l,l=r-c}else{for(s=i-r;l<s&&o(t,e[n+r+l])>=0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}for(a++;a<l;){var u=a+(l-a>>>1);o(t,e[n+u])<0?l=u:a=u+1}return l}function Xt(t,e){var n,i,r,o=$t,a=0;n=t.length;var s=[];function l(n){var l=i[n],c=r[n],u=i[n+1],h=r[n+1];r[n]=c+h,n===a-3&&(i[n+1]=i[n+2],r[n+1]=r[n+2]),a--;var d=Yt(t[u],t,l,c,0,e);l+=d,0!==(c-=d)&&0!==(h=Kt(t[l+c-1],t,u,h,h-1,e))&&(c<=h?function(n,i,r,a){var l=0;for(l=0;l<i;l++)s[l]=t[n+l];var c=0,u=r,h=n;if(t[h++]=t[u++],0==--a){for(l=0;l<i;l++)t[h+l]=s[c+l];return}if(1===i){for(l=0;l<a;l++)t[h+l]=t[u+l];return void(t[h+a]=s[c])}var d,f,p,A=o;for(;;){d=0,f=0,p=!1;do{if(e(t[u],s[c])<0){if(t[h++]=t[u++],f++,d=0,0==--a){p=!0;break}}else if(t[h++]=s[c++],d++,f=0,1==--i){p=!0;break}}while((d|f)<A);if(p)break;do{if(0!==(d=Yt(t[u],s,c,i,0,e))){for(l=0;l<d;l++)t[h+l]=s[c+l];if(h+=d,c+=d,(i-=d)<=1){p=!0;break}}if(t[h++]=t[u++],0==--a){p=!0;break}if(0!==(f=Kt(s[c],t,u,a,0,e))){for(l=0;l<f;l++)t[h+l]=t[u+l];if(h+=f,u+=f,0===(a-=f)){p=!0;break}}if(t[h++]=s[c++],1==--i){p=!0;break}A--}while(d>=$t||f>=$t);if(p)break;A<0&&(A=0),A+=2}if((o=A)<1&&(o=1),1===i){for(l=0;l<a;l++)t[h+l]=t[u+l];t[h+a]=s[c]}else{if(0===i)throw new Error;for(l=0;l<i;l++)t[h+l]=s[c+l]}}(l,c,u,h):function(n,i,r,a){var l=0;for(l=0;l<a;l++)s[l]=t[r+l];var c=n+i-1,u=a-1,h=r+a-1,d=0,f=0;if(t[h--]=t[c--],0==--i){for(d=h-(a-1),l=0;l<a;l++)t[d+l]=s[l];return}if(1===a){for(f=(h-=i)+1,d=(c-=i)+1,l=i-1;l>=0;l--)t[f+l]=t[d+l];return void(t[h]=s[u])}var p=o;for(;;){var A=0,g=0,v=!1;do{if(e(s[u],t[c])<0){if(t[h--]=t[c--],A++,g=0,0==--i){v=!0;break}}else if(t[h--]=s[u--],g++,A=0,1==--a){v=!0;break}}while((A|g)<p);if(v)break;do{if(0!==(A=i-Yt(s[u],t,n,i,i-1,e))){for(i-=A,f=(h-=A)+1,d=(c-=A)+1,l=A-1;l>=0;l--)t[f+l]=t[d+l];if(0===i){v=!0;break}}if(t[h--]=s[u--],1==--a){v=!0;break}if(0!==(g=a-Kt(t[c],s,0,a,a-1,e))){for(a-=g,f=(h-=g)+1,d=(u-=g)+1,l=0;l<g;l++)t[f+l]=s[d+l];if(a<=1){v=!0;break}}if(t[h--]=t[c--],0==--i){v=!0;break}p--}while(A>=$t||g>=$t);if(v)break;p<0&&(p=0),p+=2}(o=p)<1&&(o=1);if(1===a){for(f=(h-=i)+1,d=(c-=i)+1,l=i-1;l>=0;l--)t[f+l]=t[d+l];t[h]=s[u]}else{if(0===a)throw new Error;for(d=h-(a-1),l=0;l<a;l++)t[d+l]=s[l]}}(l,c,u,h))}return n<120?5:n<1542?10:n<119151?19:40,i=[],r=[],{mergeRuns:function(){for(;a>1;){var t=a-2;if(t>=1&&r[t-1]<=r[t]+r[t+1]||t>=2&&r[t-2]<=r[t]+r[t-1])r[t-1]<r[t+1]&&t--;else if(r[t]>r[t+1])break;l(t)}},forceMergeRuns:function(){for(;a>1;){var t=a-2;t>0&&r[t-1]<r[t+1]&&t--,l(t)}},pushRun:function(t,e){i[a]=t,r[a]=e,a+=1}}}function qt(t,e,n,i){n||(n=0),i||(i=t.length);var r=i-n;if(!(r<2)){var o=0;if(r<zt)Wt(t,n,i,n+(o=Gt(t,n,i,e)),e);else{var a=Xt(t,e),s=function(t){for(var e=0;t>=zt;)e|=1&t,t>>=1;return t+e}(r);do{if((o=Gt(t,n,i,e))<s){var l=r;l>s&&(l=s),Wt(t,n,n+l,n+o,e),o=l}a.pushRun(n,o),a.mergeRuns(),r-=o,n+=o}while(0!==r);a.forceMergeRuns()}}}var Zt=1,Jt=4,te=!1;function ee(){te||(te=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function ne(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var ie=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=ne}return t.prototype.traverse=function(t,e){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(t,e)},t.prototype.getDisplayList=function(t,e){e=e||!1;var n=this._displayList;return!t&&n.length||this.updateDisplayList(e),n},t.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var e=this._roots,n=this._displayList,i=0,r=e.length;i<r;i++)this._updateAndAddDisplayable(e[i],null,t);n.length=this._displayListLen,qt(n,ne)},t.prototype._updateAndAddDisplayable=function(t,e,n){if(!t.ignore||n){t.beforeUpdate(),t.update(),t.afterUpdate();var i=t.getClipPath();if(t.ignoreClip)e=null;else if(i){e=e?e.slice():[];for(var r=i,o=t;r;)r.parent=o,r.updateTransform(),e.push(r),o=r,r=r.getClipPath()}if(t.childrenRef){for(var a=t.childrenRef(),s=0;s<a.length;s++){var l=a[s];t.__dirty&&(l.__dirty|=Zt),this._updateAndAddDisplayable(l,e,n)}t.__dirty=0}else{var c=t;e&&e.length?c.__clipPaths=e:c.__clipPaths&&c.__clipPaths.length>0&&(c.__clipPaths=[]),isNaN(c.z)&&(ee(),c.z=0),isNaN(c.z2)&&(ee(),c.z2=0),isNaN(c.zlevel)&&(ee(),c.zlevel=0),this._displayList[this._displayListLen++]=c}var u=t.getDecalElement&&t.getDecalElement();u&&this._updateAndAddDisplayable(u,e,n);var h=t.getTextGuideLine();h&&this._updateAndAddDisplayable(h,e,n);var d=t.getTextContent();d&&this._updateAndAddDisplayable(d,e,n)}},t.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},t.prototype.delRoot=function(t){if(t instanceof Array)for(var e=0,n=t.length;e<n;e++)this.delRoot(t[e]);else{var i=g.indexOf(this._roots,t);i>=0&&this._roots.splice(i,1)}},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}(),re=A.a.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)},oe={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-oe.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*oe.bounceIn(2*t):.5*oe.bounceOut(2*t-1)+.5}},ae=oe,se=Math.pow,le=Math.sqrt,ce=1e-8,ue=1e-4,he=le(3),de=1/3,fe=v(),pe=v(),Ae=v();function ge(t){return t>-ce&&t<ce}function ve(t){return t>ce||t<-ce}function me(t,e,n,i,r){var o=1-r;return o*o*(o*t+3*r*e)+r*r*(r*i+3*o*n)}function ye(t,e,n,i,r){var o=1-r;return 3*(((e-t)*o+2*(n-e)*r)*o+(i-n)*r*r)}function be(t,e,n,i,r,o){var a=i+3*(e-n)-t,s=3*(n-2*e+t),l=3*(e-t),c=t-r,u=s*s-3*a*l,h=s*l-9*a*c,d=l*l-3*s*c,f=0;if(ge(u)&&ge(h)){if(ge(s))o[0]=0;else(C=-l/s)>=0&&C<=1&&(o[f++]=C)}else{var p=h*h-4*u*d;if(ge(p)){var A=h/u,g=-A/2;(C=-s/a+A)>=0&&C<=1&&(o[f++]=C),g>=0&&g<=1&&(o[f++]=g)}else if(p>0){var v=le(p),m=u*s+1.5*a*(-h+v),y=u*s+1.5*a*(-h-v);(C=(-s-((m=m<0?-se(-m,de):se(m,de))+(y=y<0?-se(-y,de):se(y,de))))/(3*a))>=0&&C<=1&&(o[f++]=C)}else{var b=(2*u*s-3*a*h)/(2*le(u*u*u)),_=Math.acos(b)/3,w=le(u),x=Math.cos(_),C=(-s-2*w*x)/(3*a),S=(g=(-s+w*(x+he*Math.sin(_)))/(3*a),(-s+w*(x-he*Math.sin(_)))/(3*a));C>=0&&C<=1&&(o[f++]=C),g>=0&&g<=1&&(o[f++]=g),S>=0&&S<=1&&(o[f++]=S)}}return f}function _e(t,e,n,i,r){var o=6*n-12*e+6*t,a=9*e+3*i-3*t-9*n,s=3*e-3*t,l=0;if(ge(a)){if(ve(o))(u=-s/o)>=0&&u<=1&&(r[l++]=u)}else{var c=o*o-4*a*s;if(ge(c))r[0]=-o/(2*a);else if(c>0){var u,h=le(c),d=(-o-h)/(2*a);(u=(-o+h)/(2*a))>=0&&u<=1&&(r[l++]=u),d>=0&&d<=1&&(r[l++]=d)}}return l}function we(t,e,n,i,r,o){var a=(e-t)*r+t,s=(n-e)*r+e,l=(i-n)*r+n,c=(s-a)*r+a,u=(l-s)*r+s,h=(u-c)*r+c;o[0]=t,o[1]=a,o[2]=c,o[3]=h,o[4]=h,o[5]=u,o[6]=l,o[7]=i}function xe(t,e,n,i,r,o,a,s,l,c,u){var h,d,f,p,A,g=.005,v=1/0;fe[0]=l,fe[1]=c;for(var m=0;m<1;m+=.05)pe[0]=me(t,n,r,a,m),pe[1]=me(e,i,o,s,m),(p=P(fe,pe))<v&&(h=m,v=p);v=1/0;for(var y=0;y<32&&!(g<ue);y++)d=h-g,f=h+g,pe[0]=me(t,n,r,a,d),pe[1]=me(e,i,o,s,d),p=P(pe,fe),d>=0&&p<v?(h=d,v=p):(Ae[0]=me(t,n,r,a,f),Ae[1]=me(e,i,o,s,f),A=P(Ae,fe),f<=1&&A<v?(h=f,v=A):g*=.5);return u&&(u[0]=me(t,n,r,a,h),u[1]=me(e,i,o,s,h)),le(v)}function Ce(t,e,n,i,r,o,a,s,l){for(var c=t,u=e,h=0,d=1/l,f=1;f<=l;f++){var p=f*d,A=me(t,n,r,a,p),g=me(e,i,o,s,p),v=A-c,m=g-u;h+=Math.sqrt(v*v+m*m),c=A,u=g}return h}function Se(t,e,n,i){var r=1-i;return r*(r*t+2*i*e)+i*i*n}function Be(t,e,n,i){return 2*((1-i)*(e-t)+i*(n-e))}function ke(t,e,n){var i=t+n-2*e;return 0===i?.5:(t-e)/i}function Te(t,e,n,i,r){var o=(e-t)*i+t,a=(n-e)*i+e,s=(a-o)*i+o;r[0]=t,r[1]=o,r[2]=s,r[3]=s,r[4]=a,r[5]=n}function Oe(t,e,n,i,r,o,a,s,l){var c,u=.005,h=1/0;fe[0]=a,fe[1]=s;for(var d=0;d<1;d+=.05){pe[0]=Se(t,n,r,d),pe[1]=Se(e,i,o,d),(g=P(fe,pe))<h&&(c=d,h=g)}h=1/0;for(var f=0;f<32&&!(u<ue);f++){var p=c-u,A=c+u;pe[0]=Se(t,n,r,p),pe[1]=Se(e,i,o,p);var g=P(pe,fe);if(p>=0&&g<h)c=p,h=g;else{Ae[0]=Se(t,n,r,A),Ae[1]=Se(e,i,o,A);var v=P(Ae,fe);A<=1&&v<h?(c=A,h=v):u*=.5}}return l&&(l[0]=Se(t,n,r,c),l[1]=Se(e,i,o,c)),le(h)}function Ee(t,e,n,i,r,o,a){for(var s=t,l=e,c=0,u=1/a,h=1;h<=a;h++){var d=h*u,f=Se(t,n,r,d),p=Se(e,i,o,d),A=f-s,g=p-l;c+=Math.sqrt(A*A+g*g),s=f,l=p}return c}var Ie=/cubic-bezier\(([0-9,\.e ]+)\)/;function Me(t){var e=t&&Ie.exec(t);if(e){var n=e[1].split(","),i=+Object(g.trim)(n[0]),r=+Object(g.trim)(n[1]),o=+Object(g.trim)(n[2]),a=+Object(g.trim)(n[3]);if(isNaN(i+r+o+a))return;var s=[];return function(t){return t<=0?0:t>=1?1:be(0,i,o,1,t,s)&&me(0,r,a,1,s[0])}}}var De=function(){function t(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||g.noop,this.ondestroy=t.ondestroy||g.noop,this.onrestart=t.onrestart||g.noop,t.easing&&this.setEasing(t.easing)}return t.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),!this._paused){var n=this._life,i=t-this._startTime-this._pausedTime,r=i/n;r<0&&(r=0),r=Math.min(r,1);var o=this.easingFunc,a=o?o(r):r;if(this.onframe(a),1===r){if(!this.loop)return!0;var s=i%n;this._startTime=t-s,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=e},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=Object(g.isFunction)(t)?t:ae[t]||Me(t)},t}(),Le=n("DRaW"),Fe=n("edjc"),Pe=Array.prototype.slice;function Ne(t,e,n){return(e-t)*n+t}function je(t,e,n,i){for(var r=e.length,o=0;o<r;o++)t[o]=Ne(e[o],n[o],i);return t}function Ue(t,e,n,i){for(var r=e.length,o=0;o<r;o++)t[o]=e[o]+n[o]*i;return t}function Re(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a<r;a++){t[a]||(t[a]=[]);for(var s=0;s<o;s++)t[a][s]=e[a][s]+n[a][s]*i}return t}function Qe(t,e){for(var n=t.length,i=e.length,r=n>i?e:t,o=Math.min(n,i),a=r[o-1]||{color:[0,0,0,0],offset:0},s=o;s<Math.max(n,i);s++)r.push({offset:a.offset,color:a.color.slice()})}function He(t,e,n){var i=t,r=e;if(i.push&&r.push){var o=i.length,a=r.length;if(o!==a)if(o>a)i.length=a;else for(var s=o;s<a;s++)i.push(1===n?r[s]:Pe.call(r[s]));var l=i[0]&&i[0].length;for(s=0;s<i.length;s++)if(1===n)isNaN(i[s])&&(i[s]=r[s]);else for(var c=0;c<l;c++)isNaN(i[s][c])&&(i[s][c]=r[s][c])}}function Ve(t){if(Object(g.isArrayLike)(t)){var e=t.length;if(Object(g.isArrayLike)(t[0])){for(var n=[],i=0;i<e;i++)n.push(Pe.call(t[i]));return n}return Pe.call(t)}return t}function ze(t){return t[0]=Math.floor(t[0])||0,t[1]=Math.floor(t[1])||0,t[2]=Math.floor(t[2])||0,t[3]=null==t[3]?1:t[3],"rgba("+t.join(",")+")"}var $e=1,Ge=2,We=4,Ke=5;function Ye(t){return t===We||t===Ke}function Xe(t){return t===$e||t===Ge}var qe=[0,0,0,0],Ze=function(){function t(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=t}return t.prototype.isFinished=function(){return this._finished},t.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},t.prototype.needsAnimate=function(){return this.keyframes.length>=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var i=this.keyframes,r=i.length,o=!1,a=6,s=e;if(Object(g.isArrayLike)(e)){var l=function(t){return Object(g.isArrayLike)(t&&t[0])?2:1}(e);a=l,(1===l&&!Object(g.isNumber)(e[0])||2===l&&!Object(g.isNumber)(e[0][0]))&&(o=!0)}else if(Object(g.isNumber)(e)&&!Object(g.eqNaN)(e))a=0;else if(Object(g.isString)(e))if(isNaN(+e)){var c=Le.parse(e);c&&(s=c,a=3)}else a=0;else if(Object(g.isGradientObject)(e)){var u=Object(g.extend)({},s);u.colorStops=Object(g.map)(e.colorStops,function(t){return{offset:t.offset,color:Le.parse(t.color)}}),Object(Fe.m)(e)?a=We:Object(Fe.o)(e)&&(a=Ke),s=u}0===r?this.valType=a:a===this.valType&&6!==a||(o=!0),this.discrete=this.discrete||o;var h={time:t,value:s,rawValue:e,percent:0};return n&&(h.easing=n,h.easingFunc=Object(g.isFunction)(n)?n:ae[n]||Me(n)),i.push(h),h},t.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort(function(t,e){return t.time-e.time});for(var i=this.valType,r=n.length,o=n[r-1],a=this.discrete,s=Xe(i),l=Ye(i),c=0;c<r;c++){var u=n[c],h=u.value,d=o.value;u.percent=u.time/t,a||(s&&c!==r-1?He(h,d,i):l&&Qe(h.colorStops,d.colorStops))}if(!a&&i!==Ke&&e&&this.needsAnimate()&&e.needsAnimate()&&i===e.valType&&!e._finished){this._additiveTrack=e;var f=n[0].value;for(c=0;c<r;c++)0===i?n[c].additiveValue=n[c].value-f:3===i?n[c].additiveValue=Ue([],n[c].value,f,-1):Xe(i)&&(n[c].additiveValue=i===$e?Ue([],n[c].value,f,-1):Re([],n[c].value,f,-1))}},t.prototype.step=function(t,e){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var n,i,r,o=null!=this._additiveTrack,a=o?"additiveValue":"value",s=this.valType,l=this.keyframes,c=l.length,u=this.propName,h=3===s,d=this._lastFr,f=Math.min;if(1===c)i=r=l[0];else{if(e<0)n=0;else if(e<this._lastFrP){for(n=f(d+1,c-1);n>=0&&!(l[n].percent<=e);n--);n=f(n,c-2)}else{for(n=d;n<c&&!(l[n].percent>e);n++);n=f(n-1,c-2)}r=l[n+1],i=l[n]}if(i&&r){this._lastFr=n,this._lastFrP=e;var p=r.percent-i.percent,A=0===p?1:f((e-i.percent)/p,1);r.easingFunc&&(A=r.easingFunc(A));var v=o?this._additiveValue:h?qe:t[u];if(!Xe(s)&&!h||v||(v=this._additiveValue=[]),this.discrete)t[u]=A<1?i.rawValue:r.rawValue;else if(Xe(s))s===$e?je(v,i[a],r[a],A):function(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a<r;a++){t[a]||(t[a]=[]);for(var s=0;s<o;s++)t[a][s]=Ne(e[a][s],n[a][s],i)}}(v,i[a],r[a],A);else if(Ye(s)){var m=i[a],y=r[a],b=s===We;t[u]={type:b?"linear":"radial",x:Ne(m.x,y.x,A),y:Ne(m.y,y.y,A),colorStops:Object(g.map)(m.colorStops,function(t,e){var n=y.colorStops[e];return{offset:Ne(t.offset,n.offset,A),color:ze(je([],t.color,n.color,A))}}),global:y.global},b?(t[u].x2=Ne(m.x2,y.x2,A),t[u].y2=Ne(m.y2,y.y2,A)):t[u].r=Ne(m.r,y.r,A)}else if(h)je(v,i[a],r[a],A),o||(t[u]=ze(v));else{var _=Ne(i[a],r[a],A);o?this._additiveValue=_:t[u]=_}o&&this._addToTarget(t)}}},t.prototype._addToTarget=function(t){var e=this.valType,n=this.propName,i=this._additiveValue;0===e?t[n]=t[n]+i:3===e?(Le.parse(t[n],qe),Ue(qe,qe,i,1),t[n]=ze(qe)):e===$e?Ue(t[n],t[n],i,1):e===Ge&&Re(t[n],t[n],i,1)},t}(),Je=function(){function t(t,e,n,i){this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&i?Object(g.logError)("Can' use additive animation on looped animation."):(this._additiveAnimators=i,this._allowDiscrete=n)}return t.prototype.getMaxTime=function(){return this._maxTime},t.prototype.getDelay=function(){return this._delay},t.prototype.getLoop=function(){return this._loop},t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(t){this._target=t},t.prototype.when=function(t,e,n){return this.whenWithKeys(t,e,Object(g.keys)(e),n)},t.prototype.whenWithKeys=function(t,e,n,i){for(var r=this._tracks,o=0;o<n.length;o++){var a=n[o],s=r[a];if(!s){s=r[a]=new Ze(a);var l=void 0,c=this._getAdditiveTrack(a);if(c){var u=c.keyframes,h=u[u.length-1];l=h&&h.value,3===c.valType&&l&&(l=ze(l))}else l=this._target[a];if(null==l)continue;t>0&&s.addKeyframe(0,Ve(l),i),this._trackKeys.push(a)}s.addKeyframe(t,Ve(e[a]),i)}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,n=0;n<e;n++)t[n].call(this)},t.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,e=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,e)for(var n=0;n<e.length;n++)e[n].call(this)},t.prototype._setTracksFinished=function(){for(var t=this._tracks,e=this._trackKeys,n=0;n<e.length;n++)t[e[n]].setFinished()},t.prototype._getAdditiveTrack=function(t){var e,n=this._additiveAnimators;if(n)for(var i=0;i<n.length;i++){var r=n[i].getTrack(t);r&&(e=r)}return e},t.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var e=this,n=[],i=this._maxTime||0,r=0;r<this._trackKeys.length;r++){var o=this._trackKeys[r],a=this._tracks[o],s=this._getAdditiveTrack(o),l=a.keyframes,c=l.length;if(a.prepare(i,s),a.needsAnimate())if(!this._allowDiscrete&&a.discrete){var u=l[c-1];u&&(e._target[a.propName]=u.rawValue),a.setFinished()}else n.push(a)}if(n.length||this._force){var h=new De({life:i,loop:this._loop,delay:this._delay||0,onframe:function(t){e._started=2;var i=e._additiveAnimators;if(i){for(var r=!1,o=0;o<i.length;o++)if(i[o]._clip){r=!0;break}r||(e._additiveAnimators=null)}for(o=0;o<n.length;o++)n[o].step(e._target,t);var a=e._onframeCbs;if(a)for(o=0;o<a.length;o++)a[o](e._target,t)},ondestroy:function(){e._doneCallback()}});this._clip=h,this.animation&&this.animation.addClip(h),t&&h.setEasing(t)}else this._doneCallback();return this}},t.prototype.stop=function(t){if(this._clip){var e=this._clip;t&&e.onframe(1),this._abortedCallback()}},t.prototype.delay=function(t){return this._delay=t,this},t.prototype.during=function(t){return t&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(t)),this},t.prototype.done=function(t){return t&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(t)),this},t.prototype.aborted=function(t){return t&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(t)),this},t.prototype.getClip=function(){return this._clip},t.prototype.getTrack=function(t){return this._tracks[t]},t.prototype.getTracks=function(){var t=this;return Object(g.map)(this._trackKeys,function(e){return t._tracks[e]})},t.prototype.stopTracks=function(t,e){if(!t.length||!this._clip)return!0;for(var n=this._tracks,i=this._trackKeys,r=0;r<t.length;r++){var o=n[t[r]];o&&!o.isFinished()&&(e?o.step(this._target,1):1===this._started&&o.step(this._target,0),o.setFinished())}var a=!0;for(r=0;r<i.length;r++)if(!n[i[r]].isFinished()){a=!1;break}return a&&this._abortedCallback(),a},t.prototype.saveTo=function(t,e,n){if(t){e=e||this._trackKeys;for(var i=0;i<e.length;i++){var r=e[i],o=this._tracks[r];if(o&&!o.isFinished()){var a=o.keyframes,s=a[n?0:a.length-1];s&&(t[r]=Ve(s.rawValue))}}}},t.prototype.__changeFinalValue=function(t,e){e=e||Object(g.keys)(t);for(var n=0;n<e.length;n++){var i=e[n],r=this._tracks[i];if(r){var o=r.keyframes;if(o.length>1){var a=o.pop();r.addKeyframe(a.time,t[i]),r.prepare(this._maxTime,r.getAdditiveTrack())}}}},t}();function tn(){return(new Date).getTime()}var en,nn,rn=function(t){function e(e){var n=t.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,e=e||{},n.stage=e.stage||{},n}return p(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},e.prototype.removeClip=function(t){if(t.animation){var e=t.prev,n=t.next;e?e.next=n:this._head=n,n?n.prev=e:this._tail=e,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},e.prototype.update=function(t){for(var e=tn()-this._pausedTime,n=e-this._time,i=this._head;i;){var r=i.next;i.step(e,n)?(i.ondestroy(),this.removeClip(i),i=r):i=r}this._time=e,t||(this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;this._running=!0,re(function e(){t._running&&(re(e),!t._paused&&t.update())})},e.prototype.start=function(){this._running||(this._time=tn(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=tn(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=tn()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var t=this._head;t;){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._head=this._tail=null},e.prototype.isFinished=function(){return null==this._head},e.prototype.animate=function(t,e){e=e||{},this.start();var n=new Je(t,e.loop);return this.addAnimator(n),n},e}(z),on=A.a.domSupported,an=(nn={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},{mouse:en=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],touch:["touchstart","touchend","touchmove"],pointer:g.map(en,function(t){var e=t.replace("mouse","pointer");return nn.hasOwnProperty(e)?e:t})}),sn={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},ln=!1;function cn(t){var e=t.pointerType;return"pen"===e||"touch"===e}function un(t){t&&(t.zrByTouch=!0)}function hn(t,e){for(var n=e,i=!1;n&&9!==n.nodeType&&!(i=n.domBelongToZr||n!==e&&n===t.painterRoot);)n=n.parentNode;return i}var dn=function(){return function(t,e){this.stopPropagation=g.noop,this.stopImmediatePropagation=g.noop,this.preventDefault=g.noop,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY}}(),fn={mousedown:function(t){t=st(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=st(this.dom,t);var e=this.__mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=st(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){hn(this,(t=st(this.dom,t)).toElement||t.relatedTarget)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){ln=!0,t=st(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){ln||(t=st(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){un(t=st(this.dom,t)),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),fn.mousemove.call(this,t),fn.mousedown.call(this,t)},touchmove:function(t){un(t=st(this.dom,t)),this.handler.processGesture(t,"change"),fn.mousemove.call(this,t)},touchend:function(t){un(t=st(this.dom,t)),this.handler.processGesture(t,"end"),fn.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<300&&fn.click.call(this,t)},pointerdown:function(t){fn.mousedown.call(this,t)},pointermove:function(t){cn(t)||fn.mousemove.call(this,t)},pointerup:function(t){fn.mouseup.call(this,t)},pointerout:function(t){cn(t)||fn.mouseout.call(this,t)}};g.each(["click","dblclick","contextmenu"],function(t){fn[t]=function(e){e=st(this.dom,e),this.trigger(t,e)}});var pn={pointermove:function(t){cn(t)||pn.mousemove.call(this,t)},pointerup:function(t){pn.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function An(t,e){var n=e.domHandlers;A.a.pointerEventsSupported?g.each(an.pointer,function(i){vn(e,i,function(e){n[i].call(t,e)})}):(A.a.touchEventsSupported&&g.each(an.touch,function(i){vn(e,i,function(r){n[i].call(t,r),function(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout(function(){t.touching=!1,t.touchTimer=null},700)}(e)})}),g.each(an.mouse,function(i){vn(e,i,function(r){r=at(r),e.touching||n[i].call(t,r)})}))}function gn(t,e){function n(n){vn(e,n,function(i){i=at(i),hn(t,i.target)||(i=function(t,e){return st(t.dom,new dn(t,e),!0)}(t,i),e.domHandlers[n].call(t,i))},{capture:!0})}A.a.pointerEventsSupported?g.each(sn.pointer,n):A.a.touchEventsSupported||g.each(sn.mouse,n)}function vn(t,e,n,i){t.mounted[e]=n,t.listenerOpts[e]=i,lt(t.domTarget,e,n,i)}function mn(t){var e,n,i,r,o=t.mounted;for(var a in o)o.hasOwnProperty(a)&&(e=t.domTarget,n=a,i=o[a],r=t.listenerOpts[a],e.removeEventListener(n,i,r));t.mounted={}}var yn=function(){return function(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e}}(),bn=function(t){function e(e,n){var i=t.call(this)||this;return i.__pointerCapturing=!1,i.dom=e,i.painterRoot=n,i._localHandlerScope=new yn(e,fn),on&&(i._globalHandlerScope=new yn(document,pn)),An(i,i._localHandlerScope),i}return p(e,t),e.prototype.dispose=function(){mn(this._localHandlerScope),on&&mn(this._globalHandlerScope)},e.prototype.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},e.prototype.__togglePointerCapture=function(t){if(this.__mayPointerCapture=null,on&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?gn(this,e):mn(e)}},e}(z),_n=1;A.a.hasGlobalWindow&&(_n=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var wn=_n,xn=.4,Cn=At,Sn=5e-5;function Bn(t){return t>Sn||t<-Sn}var kn=[],Tn=[],On=[1,0,0,1,0,0],En=Math.abs,In=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function Mn(t,e){for(var n=0;n<In.length;n++){var i=In[n];t[i]=e[i]}}var Dn=function(){function t(){}var e;return t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},t.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},t.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},t.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},t.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},t.prototype.needLocalTransform=function(){return Bn(this.rotation)||Bn(this.x)||Bn(this.y)||Bn(this.scaleX-1)||Bn(this.scaleY-1)||Bn(this.skewX)||Bn(this.skewY)},t.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;e||t?(n=n||[1,0,0,1,0,0],e?this.getLocalTransform(n):Cn(n),t&&(e?vt(n,t,n):gt(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&Cn(n)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(kn);var n=kn[0]<0?-1:1,i=kn[1]<0?-1:1,r=((kn[0]-n)*e+n)/kn[0]||0,o=((kn[1]-i)*e+i)/kn[1]||0;t[0]*=r,t[1]*=r,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||[1,0,0,1,0,0],_t(this.invTransform,t)},t.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},t.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),r=Math.PI/2+i-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(r),e=Math.sqrt(e),this.skewX=r,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(vt(Tn,t.invTransform,e),e=Tn);var n=this.originX,i=this.originY;(n||i)&&(On[4]=n,On[5]=i,vt(Tn,e,On),Tn[4]-=n,Tn[5]-=i,e=Tn),this.setLocalTransform(e)}},t.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},t.prototype.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&U(n,n,i),n},t.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&U(n,n,i),n},t.prototype.getLineScale=function(){var t=this.transform;return t&&En(t[0]-1)>1e-10&&En(t[3]-1)>1e-10?Math.sqrt(En(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(t){Mn(this,t)},t.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,i=t.originY||0,r=t.scaleX,o=t.scaleY,a=t.anchorX,s=t.anchorY,l=t.rotation||0,c=t.x,u=t.y,h=t.skewX?Math.tan(t.skewX):0,d=t.skewY?Math.tan(-t.skewY):0;if(n||i||a||s){var f=n+a,p=i+s;e[4]=-f*r-h*p*o,e[5]=-p*o-d*f*r}else e[4]=e[5]=0;return e[0]=r,e[3]=o,e[1]=d*r,e[2]=h*o,l&&yt(e,e,l),e[4]+=n+c,e[5]+=i+u,e},t.initDefaultProps=((e=t.prototype).scaleX=e.scaleY=e.globalScaleRatio=1,void(e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0)),t}(),Ln=n("zMj2"),Fn=n("OwOc"),Pn={};function Nn(t,e){e=e||Fn.a;var n=Pn[e];n||(n=Pn[e]=new Ln.a(500));var i=n.get(t);return null==i&&(i=Fn.d.measureText(t,e).width,n.put(t,i)),i}function jn(t,e,n,i){var r=Nn(t,e),o=Hn(e),a=Rn(0,r,n),s=Qn(0,o,i);return new Mt(a,s,r,o)}function Un(t,e,n,i){var r=((t||"")+"").split("\n");if(1===r.length)return jn(r[0],e,n,i);for(var o=new Mt(0,0,0,0),a=0;a<r.length;a++){var s=jn(r[a],e,n,i);0===a?o.copy(s):o.union(s)}return o}function Rn(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function Qn(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function Hn(t){return Nn("国",t)}function Vn(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function zn(t,e,n){var i=e.position||"inside",r=null!=e.distance?e.distance:5,o=n.height,a=n.width,s=o/2,l=n.x,c=n.y,u="left",h="top";if(i instanceof Array)l+=Vn(i[0],n.width),c+=Vn(i[1],n.height),u=null,h=null;else switch(i){case"left":l-=r,c+=s,u="right",h="middle";break;case"right":l+=r+a,c+=s,h="middle";break;case"top":l+=a/2,c-=r,u="center",h="bottom";break;case"bottom":l+=a/2,c+=o+r,u="center";break;case"inside":l+=a/2,c+=s,u="center",h="middle";break;case"insideLeft":l+=r,c+=s,h="middle";break;case"insideRight":l+=a-r,c+=s,u="right",h="middle";break;case"insideTop":l+=a/2,c+=r,u="center";break;case"insideBottom":l+=a/2,c+=o-r,u="center",h="bottom";break;case"insideTopLeft":l+=r,c+=r;break;case"insideTopRight":l+=a-r,c+=r,u="right";break;case"insideBottomLeft":l+=r,c+=o-r,h="bottom";break;case"insideBottomRight":l+=a-r,c+=o-r,u="right",h="bottom"}return(t=t||{}).x=l,t.y=c,t.align=u,t.verticalAlign=h,t}var $n=In.concat(["ignore"]),Gn=Object(g.reduce)(In,function(t,e){return t[e]=!0,t},{ignore:!1}),Wn={},Kn=new Mt(0,0,0,0),Yn=function(){function t(t){this.id=Object(g.guid)(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,n){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,r=e.innerTransformable,o=void 0,a=void 0,s=!1;r.parent=i?this:null;var l=!1;if(r.copyTransform(e),null!=n.position){var c=Kn;n.layoutRect?c.copy(n.layoutRect):c.copy(this.getBoundingRect()),i||c.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(Wn,n,c):zn(Wn,n,c),r.x=Wn.x,r.y=Wn.y,o=Wn.align,a=Wn.verticalAlign;var u=n.origin;if(u&&null!=n.rotation){var h=void 0,d=void 0;"center"===u?(h=.5*c.width,d=.5*c.height):(h=Vn(u[0],c.width),d=Vn(u[1],c.height)),l=!0,r.originX=-r.x+h+(i?0:c.x),r.originY=-r.y+d+(i?0:c.y)}}null!=n.rotation&&(r.rotation=n.rotation);var f=n.offset;f&&(r.x+=f[0],r.y+=f[1],l||(r.originX=-f[0],r.originY=-f[1]));var p=null==n.inside?"string"==typeof n.position&&n.position.indexOf("inside")>=0:n.inside,A=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),g=void 0,v=void 0,m=void 0;p&&this.canBeInsideText()?(g=n.insideFill,v=n.insideStroke,null!=g&&"auto"!==g||(g=this.getInsideTextFill()),null!=v&&"auto"!==v||(v=this.getInsideTextStroke(g),m=!0)):(g=n.outsideFill,v=n.outsideStroke,null!=g&&"auto"!==g||(g=this.getOutsideFill()),null!=v&&"auto"!==v||(v=this.getOutsideStroke(g),m=!0)),(g=g||"#000")===A.fill&&v===A.stroke&&m===A.autoStroke&&o===A.align&&a===A.verticalAlign||(s=!0,A.fill=g,A.stroke=v,A.autoStroke=m,A.align=o,A.verticalAlign=a,e.setDefaultTextStyle(A)),e.__dirty|=Zt,s&&e.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(t){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?"#ccc":"#333"},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"==typeof e&&Object(Le.parse)(e);n||(n=[255,255,255,1]);for(var i=n[3],r=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*i+(r?0:255)*(1-i);return n[3]=1,Object(Le.stringify)(n,"rgba")},t.prototype.traverse=function(t,e){},t.prototype.attrKV=function(t,e){"textConfig"===t?this.setTextConfig(e):"textContent"===t?this.setTextContent(e):"clipPath"===t?this.setClipPath(e):"extra"===t?(this.extra=this.extra||{},Object(g.extend)(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(t,e){if("string"==typeof t)this.attrKV(t,e);else if(Object(g.isObject)(t))for(var n=t,i=Object(g.keys)(n),r=0;r<i.length;r++){var o=i[r];this.attrKV(o,t[o])}return this.markRedraw(),this},t.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var e=this._normalState,n=0;n<this.animators.length;n++){var i=this.animators[n],r=i.__fromStateTransition;if(!(i.getLoop()||r&&"__zr_normal__"!==r)){var o=i.targetName,a=o?e[o]:e;i.saveTo(a)}}},t.prototype._innerSaveToNormal=function(t){var e=this._normalState;e||(e=this._normalState={}),t.textConfig&&!e.textConfig&&(e.textConfig=this.textConfig),this._savePrimaryToNormal(t,e,$n)},t.prototype._savePrimaryToNormal=function(t,e,n){for(var i=0;i<n.length;i++){var r=n[i];null==t[r]||r in e||(e[r]=this[r])}},t.prototype.hasState=function(){return this.currentStates.length>0},t.prototype.getState=function(t){return this.states[t]},t.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},t.prototype.clearStates=function(t){this.useState("__zr_normal__",!1,t)},t.prototype.useState=function(t,e,n,i){var r="__zr_normal__"===t;if(this.hasState()||!r){var o=this.currentStates,a=this.stateTransition;if(!(Object(g.indexOf)(o,t)>=0)||!e&&1!==o.length){var s;if(this.stateProxy&&!r&&(s=this.stateProxy(t)),s||(s=this.states&&this.states[t]),s||r){r||this.saveCurrentToNormalState(s);var l=!!(s&&s.hoverLayer||i);l&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,s,this._normalState,e,!n&&!this.__inHover&&a&&a.duration>0,a);var c=this._textContent,u=this._textGuide;return c&&c.useState(t,e,n,l),u&&u.useState(t,e,n,l),r?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!l&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Zt),s}Object(g.logError)("State "+t+" not exists.")}}},t.prototype.useStates=function(t,e,n){if(t.length){var i=[],r=this.currentStates,o=t.length,a=o===r.length;if(a)for(var s=0;s<o;s++)if(t[s]!==r[s]){a=!1;break}if(a)return;for(s=0;s<o;s++){var l=t[s],c=void 0;this.stateProxy&&(c=this.stateProxy(l,t)),c||(c=this.states[l]),c&&i.push(c)}var u=i[o-1],h=!!(u&&u.hoverLayer||n);h&&this._toggleHoverLayerFlag(!0);var d=this._mergeStates(i),f=this.stateTransition;this.saveCurrentToNormalState(d),this._applyStateObj(t.join(","),d,this._normalState,!1,!e&&!this.__inHover&&f&&f.duration>0,f);var p=this._textContent,A=this._textGuide;p&&p.useStates(t,e,h),A&&A.useStates(t,e,h),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!h&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Zt)}else this.clearStates()},t.prototype._updateAnimationTargets=function(){for(var t=0;t<this.animators.length;t++){var e=this.animators[t];e.targetName&&e.changeTarget(this[e.targetName])}},t.prototype.removeState=function(t){var e=Object(g.indexOf)(this.currentStates,t);if(e>=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},t.prototype.replaceState=function(t,e,n){var i=this.currentStates.slice(),r=Object(g.indexOf)(i,t),o=Object(g.indexOf)(i,e)>=0;r>=0?o?i.splice(r,1):i[r]=e:n&&!o&&i.push(e),this.useStates(i)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,n={},i=0;i<t.length;i++){var r=t[i];Object(g.extend)(n,r),r.textConfig&&(e=e||{},Object(g.extend)(e,r.textConfig))}return e&&(n.textConfig=e),n},t.prototype._applyStateObj=function(t,e,n,i,r,o){var a=!(e&&i);e&&e.textConfig?(this.textConfig=Object(g.extend)({},i?this.textConfig:n.textConfig),Object(g.extend)(this.textConfig,e.textConfig)):a&&n.textConfig&&(this.textConfig=n.textConfig);for(var s={},l=!1,c=0;c<$n.length;c++){var u=$n[c],h=r&&Gn[u];e&&null!=e[u]?h?(l=!0,s[u]=e[u]):this[u]=e[u]:a&&null!=n[u]&&(h?(l=!0,s[u]=n[u]):this[u]=n[u])}if(!r)for(c=0;c<this.animators.length;c++){var d=this.animators[c],f=d.targetName;d.getLoop()||d.__changeFinalValue(f?(e||n)[f]:e||n)}l&&this._transitionState(t,s,o)},t.prototype._attachComponent=function(t){if((!t.__zr||t.__hostTarget)&&t!==this){var e=this.__zr;e&&t.addSelfToZr(e),t.__zr=e,t.__hostTarget=this}},t.prototype._detachComponent=function(t){t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__hostTarget=null},t.prototype.getClipPath=function(){return this._clipPath},t.prototype.setClipPath=function(t){this._clipPath&&this._clipPath!==t&&this.removeClipPath(),this._attachComponent(t),this._clipPath=t,this.markRedraw()},t.prototype.removeClipPath=function(){var t=this._clipPath;t&&(this._detachComponent(t),this._clipPath=null,this.markRedraw())},t.prototype.getTextContent=function(){return this._textContent},t.prototype.setTextContent=function(t){var e=this._textContent;e!==t&&(e&&e!==t&&this.removeTextContent(),t.innerTransformable=new Dn,this._attachComponent(t),this._textContent=t,this.markRedraw())},t.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),Object(g.extend)(this.textConfig,t),this.markRedraw()},t.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},t.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.innerTransformable=null,this._detachComponent(t),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},t.prototype.getTextGuideLine=function(){return this._textGuide},t.prototype.setTextGuideLine=function(t){this._textGuide&&this._textGuide!==t&&this.removeTextGuideLine(),this._attachComponent(t),this._textGuide=t,this.markRedraw()},t.prototype.removeTextGuideLine=function(){var t=this._textGuide;t&&(this._detachComponent(t),this._textGuide=null,this.markRedraw())},t.prototype.markRedraw=function(){this.__dirty|=Zt;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},t.prototype.dirty=function(){this.markRedraw()},t.prototype._toggleHoverLayerFlag=function(t){this.__inHover=t;var e=this._textContent,n=this._textGuide;e&&(e.__inHover=t),n&&(n.__inHover=t)},t.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.addAnimator(e[n]);this._clipPath&&this._clipPath.addSelfToZr(t),this._textContent&&this._textContent.addSelfToZr(t),this._textGuide&&this._textGuide.addSelfToZr(t)}},t.prototype.removeSelfFromZr=function(t){if(this.__zr){this.__zr=null;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.removeAnimator(e[n]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},t.prototype.animate=function(t,e,n){var i=t?this[t]:this;var r=new Je(i,e,n);return t&&(r.targetName=t),this.addAnimator(r,t),r},t.prototype.addAnimator=function(t,e){var n=this.__zr,i=this;t.during(function(){i.updateDuringAnimation(e)}).done(function(){var e=i.animators,n=Object(g.indexOf)(e,t);n>=0&&e.splice(n,1)}),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var n=this.animators,i=n.length,r=[],o=0;o<i;o++){var a=n[o];t&&t!==a.scope?r.push(a):a.stop(e)}return this.animators=r,this},t.prototype.animateTo=function(t,e,n){Xn(this,t,e,n)},t.prototype.animateFrom=function(t,e,n){Xn(this,t,e,n,!0)},t.prototype._transitionState=function(t,e,n,i){for(var r=Xn(this,e,n,i),o=0;o<r.length;o++)r[o].__fromStateTransition=t},t.prototype.getBoundingRect=function(){return null},t.prototype.getPaintRect=function(){return null},t.initDefaultProps=function(){var e=t.prototype;e.type="element",e.name="",e.ignore=e.silent=e.isGroup=e.draggable=e.dragging=e.ignoreClip=e.__inHover=!1,e.__dirty=Zt;function n(t,n,i,r){function o(t,e){Object.defineProperty(e,0,{get:function(){return t[i]},set:function(e){t[i]=e}}),Object.defineProperty(e,1,{get:function(){return t[r]},set:function(e){t[r]=e}})}Object.defineProperty(e,t,{get:function(){this[n]||o(this,this[n]=[]);return this[n]},set:function(t){this[i]=t[0],this[r]=t[1],this[n]=t,o(this,t)}})}Object.defineProperty&&(n("position","_legacyPos","x","y"),n("scale","_legacyScale","scaleX","scaleY"),n("origin","_legacyOrigin","originX","originY"))}(),t}();function Xn(t,e,n,i,r){var o=[];!function t(e,n,i,r,o,a,s,l){var c=Object(g.keys)(r);var u=o.duration;var h=o.delay;var d=o.additive;var f=o.setToFinal;var p=!Object(g.isObject)(a);var A=e.animators;var v=[];for(var m=0;m<c.length;m++){var y=c[m],b=r[y];if(null!=b&&null!=i[y]&&(p||a[y]))if(!Object(g.isObject)(b)||Object(g.isArrayLike)(b)||Object(g.isGradientObject)(b))v.push(y);else{if(n){l||(i[y]=b,e.updateDuringAnimation(n));continue}t(e,y,i[y],b,o,a&&a[y],s,l)}else l||(i[y]=b,e.updateDuringAnimation(n),v.push(y))}var _=v.length;if(!d&&_)for(var w=0;w<A.length;w++){var x=A[w];if(x.targetName===n){var C=x.stopTracks(v);if(C){var S=Object(g.indexOf)(A,x);A.splice(S,1)}}}o.force||(v=Object(g.filter)(v,function(t){return e=r[t],n=i[t],!(e===n||Object(g.isArrayLike)(e)&&Object(g.isArrayLike)(n)&&function(t,e){var n=t.length;if(n!==e.length)return!1;for(var i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}(e,n));var e,n}),_=v.length);if(_>0||o.force&&!s.length){var B=void 0,k=void 0,T=void 0;if(l){k={},f&&(B={});for(var w=0;w<_;w++){var y=v[w];k[y]=i[y],f?B[y]=r[y]:i[y]=r[y]}}else if(f){T={};for(var w=0;w<_;w++){var y=v[w];T[y]=Ve(i[y]),Zn(i,r,y)}}var x=new Je(i,!1,!1,d?Object(g.filter)(A,function(t){return t.targetName===n}):null);x.targetName=n,o.scope&&(x.scope=o.scope),f&&B&&x.whenWithKeys(0,B,v),T&&x.whenWithKeys(0,T,v),x.whenWithKeys(null==u?500:u,l?k:r,v).delay(h||0),e.addAnimator(x,n),s.push(x)}}(t,"",t,e,n=n||{},i,o,r);var a=o.length,s=!1,l=n.done,c=n.aborted,u=function(){s=!0,--a<=0&&(s?l&&l():c&&c())},h=function(){--a<=0&&(s?l&&l():c&&c())};a||l&&l(),o.length>0&&n.during&&o[0].during(function(t,e){n.during(e)});for(var d=0;d<o.length;d++){var f=o[d];u&&f.done(u),h&&f.aborted(h),n.force&&f.duration(n.duration),f.start(n.easing)}return o}function qn(t,e,n){for(var i=0;i<n;i++)t[i]=e[i]}function Zn(t,e,n){if(Object(g.isArrayLike)(e[n]))if(Object(g.isArrayLike)(t[n])||(t[n]=[]),Object(g.isTypedArray)(e[n])){var i=e[n].length;t[n].length!==i&&(t[n]=new e[n].constructor(i),qn(t[n],e[n],i))}else{var r=e[n],o=t[n],a=r.length;if(c=r,Object(g.isArrayLike)(c[0]))for(var s=r[0].length,l=0;l<a;l++)o[l]?qn(o[l],r[l],s):o[l]=Array.prototype.slice.call(r[l]);else qn(o,r,a);o.length=r.length}else t[n]=e[n];var c}Object(g.mixin)(Yn,z),Object(g.mixin)(Yn,Dn);var Jn=Yn,ti=function(t){function e(e){var n=t.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(e),n}return p(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.children=function(){return this._children.slice()},e.prototype.childAt=function(t){return this._children[t]},e.prototype.childOfName=function(t){for(var e=this._children,n=0;n<e.length;n++)if(e[n].name===t)return e[n]},e.prototype.childCount=function(){return this._children.length},e.prototype.add=function(t){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),this},e.prototype.addBefore=function(t,e){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var n=this._children,i=n.indexOf(e);i>=0&&(n.splice(i,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var n=g.indexOf(this._children,t);return n>=0&&this.replaceAt(e,n),this},e.prototype.replaceAt=function(t,e){var n=this._children,i=n[e];if(t&&t!==this&&t.parent!==this&&t!==i){n[e]=t,i.parent=null;var r=this.__zr;r&&i.removeSelfFromZr(r),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},e.prototype.remove=function(t){var e=this.__zr,n=this._children,i=g.indexOf(n,t);return i<0?this:(n.splice(i,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh(),this)},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,n=0;n<t.length;n++){var i=t[n];e&&i.removeSelfFromZr(e),i.parent=null}return t.length=0,this},e.prototype.eachChild=function(t,e){for(var n=this._children,i=0;i<n.length;i++){var r=n[i];t.call(e,r,i)}return this},e.prototype.traverse=function(t,e){for(var n=0;n<this._children.length;n++){var i=this._children[n],r=t.call(e,i);i.isGroup&&!r&&i.traverse(t,e)}return this},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++){this._children[n].addSelfToZr(e)}},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++){this._children[n].removeSelfFromZr(e)}},e.prototype.getBoundingRect=function(t){for(var e=new Mt(0,0,0,0),n=t||this._children,i=[],r=null,o=0;o<n.length;o++){var a=n[o];if(!a.ignore&&!a.invisible){var s=a.getBoundingRect(),l=a.getLocalTransform(i);l?(Mt.applyTransform(e,s,l),(r=r||e.clone()).union(e)):(r=r||s.clone()).union(s)}}return r||e},e}(Jn);ti.prototype.type="group";var ei=ti,ni={},ii={};
  109. /*!
  110. * ZRender, a high performance 2d drawing library.
  111. *
  112. * Copyright (c) 2013, Baidu Inc.
  113. * All rights reserved.
  114. *
  115. * LICENSE
  116. * https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
  117. */var ri=function(){function t(t,e,n){var i=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=e,this.id=t;var r=new ie,o=n.renderer||"canvas";ni[o]||(o=g.keys(ni)[0]),n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var a=new ni[o](e,r,n,t),s=n.ssr||a.ssrOnly;this.storage=r,this.painter=a;var l,c=A.a.node||A.a.worker||s?null:new bn(a.getViewportRoot(),a.root),u=n.useCoarsePointer;(null==u||"auto"===u?A.a.touchEventsSupported:!!u)&&(l=g.retrieve2(n.pointerSize,44)),this.handler=new Vt(r,a,c,a.root,l),this.animation=new rn({stage:{update:s?null:function(){return i._flush(!0)}}}),s||this.animation.start()}return t.prototype.add=function(t){t&&(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},t.prototype.remove=function(t){t&&(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},t.prototype.configLayer=function(t,e){this.painter.configLayer&&this.painter.configLayer(t,e),this.refresh()},t.prototype.setBackgroundColor=function(t){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=function(t){if(!t)return!1;if("string"==typeof t)return Object(Le.lum)(t,1)<xn;if(t.colorStops){for(var e=t.colorStops,n=0,i=e.length,r=0;r<i;r++)n+=Object(Le.lum)(e[r].color,1);return(n/=i)<xn}return!1}(t)},t.prototype.getBackgroundColor=function(){return this._backgroundColor},t.prototype.setDarkMode=function(t){this._darkMode=t},t.prototype.isDarkMode=function(){return this._darkMode},t.prototype.refreshImmediately=function(t){t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},t.prototype.refresh=function(){this._needsRefresh=!0,this.animation.start()},t.prototype.flush=function(){this._flush(!1)},t.prototype._flush=function(t){var e,n=tn();this._needsRefresh&&(e=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately());var i=tn();e?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:i-n})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){this.animation.start(),this._stillFrameAccum=0},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover()},t.prototype.resize=function(t){t=t||{},this.painter.resize(t.width,t.height),this.handler.resize()},t.prototype.clearAnimation=function(){this.animation.clear()},t.prototype.getWidth=function(){return this.painter.getWidth()},t.prototype.getHeight=function(){return this.painter.getHeight()},t.prototype.setCursorStyle=function(t){this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){return this.handler.findHover(t,e)},t.prototype.on=function(t,e,n){return this.handler.on(t,e,n),this},t.prototype.off=function(t,e){this.handler.off(t,e)},t.prototype.trigger=function(t,e){this.handler.trigger(t,e)},t.prototype.clear=function(){for(var t=this.storage.getRoots(),e=0;e<t.length;e++)t[e]instanceof ei&&t[e].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()},t.prototype.dispose=function(){var t;this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,t=this.id,delete ii[t]},t}();function oi(t,e){var n=new ri(g.guid(),t,e);return ii[n.id]=n,n}function ai(t){t.dispose()}function si(){for(var t in ii)ii.hasOwnProperty(t)&&ii[t].dispose();ii={}}function li(t){return ii[t]}function ci(t,e){ni[t]=e}var ui="5.4.3",hi=1e-4,di=20;function fi(t,e,n,i){var r=e[0],o=e[1],a=n[0],s=n[1],l=o-r,c=s-a;if(0===l)return 0===c?a:(a+s)/2;if(i)if(l>0){if(t<=r)return a;if(t>=o)return s}else{if(t>=r)return a;if(t<=o)return s}else{if(t===r)return a;if(t===o)return s}return(t-r)/l*c+a}function pi(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return g.isString(t)?(n=t,n.replace(/^\s+|\s+$/g,"")).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t;var n}function Ai(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),di),t=(+t).toFixed(e),n?t:+t}function gi(t){return t.sort(function(t,e){return t-e}),t}function vi(t){if(t=+t,isNaN(t))return 0;if(t>1e-14)for(var e=1,n=0;n<15;n++,e*=10)if(Math.round(t*e)/e===t)return n;return mi(t)}function mi(t){var e=t.toString().toLowerCase(),n=e.indexOf("e"),i=n>0?+e.slice(n+1):0,r=n>0?n:e.length,o=e.indexOf("."),a=o<0?0:r-1-o;return Math.max(0,a-i)}function yi(t,e){var n=Math.log,i=Math.LN10,r=Math.floor(n(t[1]-t[0])/i),o=Math.round(n(Math.abs(e[1]-e[0]))/i),a=Math.min(Math.max(-r+o,0),20);return isFinite(a)?a:20}function bi(t,e,n){return t[e]&&_i(t,n)[e]||0}function _i(t,e){var n=g.reduce(t,function(t,e){return t+(isNaN(e)?0:e)},0);if(0===n)return[];for(var i=Math.pow(10,e),r=g.map(t,function(t){return(isNaN(t)?0:t)/n*i*100}),o=100*i,a=g.map(r,function(t){return Math.floor(t)}),s=g.reduce(a,function(t,e){return t+e},0),l=g.map(r,function(t,e){return t-a[e]});s<o;){for(var c=Number.NEGATIVE_INFINITY,u=null,h=0,d=l.length;h<d;++h)l[h]>c&&(c=l[h],u=h);++a[u],l[u]=0,++s}return g.map(a,function(t){return t/i})}function wi(t,e){var n=Math.max(vi(t),vi(e)),i=t+e;return n>di?i:Ai(i,n)}var xi=9007199254740991;function Ci(t){var e=2*Math.PI;return(t%e+e)%e}function Si(t){return t>-hi&&t<hi}var Bi=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function ki(t){if(t instanceof Date)return t;if(g.isString(t)){var e=Bi.exec(t);if(!e)return new Date(NaN);if(e[8]){var n=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(n-=+e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,n,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0))}return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0)}return null==t?new Date(NaN):new Date(Math.round(t))}function Ti(t){return Math.pow(10,Oi(t))}function Oi(t){if(0===t)return 0;var e=Math.floor(Math.log(t)/Math.LN10);return t/Math.pow(10,e)>=10&&e++,e}function Ei(t,e){var n=Oi(t),i=Math.pow(10,n),r=t/i;return t=(e?r<1.5?1:r<2.5?2:r<4?3:r<7?5:10:r<1?1:r<2?2:r<3?3:r<5?5:10)*i,n>=-20?+t.toFixed(n<0?-n:0):t}function Ii(t,e){var n=(t.length-1)*e+1,i=Math.floor(n),r=+t[i-1],o=n-i;return o?r+o*(t[i]-r):r}function Mi(t){t.sort(function(t,e){return function t(e,n,i){return e.interval[i]<n.interval[i]||e.interval[i]===n.interval[i]&&(e.close[i]-n.close[i]==(i?-1:1)||!i&&t(e,n,1))}(t,e,0)?-1:1});for(var e=-1/0,n=1,i=0;i<t.length;){for(var r=t[i].interval,o=t[i].close,a=0;a<2;a++)r[a]<=e&&(r[a]=e,o[a]=a?1:1-n),e=r[a],n=o[a];r[0]===r[1]&&o[0]*o[1]!=1?t.splice(i,1):i++}return t}function Di(t){var e=parseFloat(t);return e==t&&(0!==e||!g.isString(t)||t.indexOf("x")<=0)?e:NaN}function Li(t){return!isNaN(Di(t))}function Fi(){return Math.round(9*Math.random())}function Pi(t,e){return null==t?e:null==e?t:t*e/function t(e,n){return 0===n?e:t(n,e%n)}(t,e)}"undefined"!=typeof console&&console.warn&&console.log;function Ni(t){0}function ji(t){throw new Error(t)}function Ui(t,e,n){return(e-t)*n+t}var Ri="series\0",Qi="\0_ec_\0";function Hi(t){return t instanceof Array?t:null==t?[]:[t]}function Vi(t,e,n){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var i=0,r=n.length;i<r;i++){var o=n[i];!t.emphasis[e].hasOwnProperty(o)&&t[e].hasOwnProperty(o)&&(t.emphasis[e][o]=t[e][o])}}}var zi=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function $i(t){return!Object(g.isObject)(t)||Object(g.isArray)(t)||t instanceof Date?t:t.value}function Gi(t){return Object(g.isObject)(t)&&!(t instanceof Array)}function Wi(t,e,n){var i="normalMerge"===n,r="replaceMerge"===n,o="replaceAll"===n;t=t||[],e=(e||[]).slice();var a=Object(g.createHashMap)();Object(g.each)(e,function(t,n){Object(g.isObject)(t)||(e[n]=null)});var s,l,c=function(t,e,n){var i=[];if("replaceAll"===n)return i;for(var r=0;r<t.length;r++){var o=t[r];o&&null!=o.id&&e.set(o.id,r),i.push({existing:"replaceMerge"===n||Zi(o)?null:o,newOption:null,keyInfo:null,brandNew:null})}return i}(t,a,n);return(i||r)&&function(t,e,n,i){Object(g.each)(i,function(r,o){if(r&&null!=r.id){var a=Yi(r.id),s=n.get(a);if(null!=s){var l=t[s];Object(g.assert)(!l.newOption,'Duplicated option on id "'+a+'".'),l.newOption=r,l.existing=e[s],i[o]=null}}})}(c,t,a,e),i&&function(t,e){Object(g.each)(e,function(n,i){if(n&&null!=n.name)for(var r=0;r<t.length;r++){var o=t[r].existing;if(!t[r].newOption&&o&&(null==o.id||null==n.id)&&!Zi(n)&&!Zi(o)&&Ki("name",o,n))return t[r].newOption=n,void(e[i]=null)}})}(c,e),i||r?function(t,e,n){Object(g.each)(e,function(e){if(e){for(var i,r=0;(i=t[r])&&(i.newOption||Zi(i.existing)||i.existing&&null!=e.id&&!Ki("id",e,i.existing));)r++;i?(i.newOption=e,i.brandNew=n):t.push({newOption:e,brandNew:n,existing:null,keyInfo:null}),r++}})}(c,e,r):o&&function(t,e){Object(g.each)(e,function(e){t.push({newOption:e,brandNew:!0,existing:null,keyInfo:null})})}(c,e),s=c,l=Object(g.createHashMap)(),Object(g.each)(s,function(t){var e=t.existing;e&&l.set(e.id,t)}),Object(g.each)(s,function(t){var e=t.newOption;Object(g.assert)(!e||null==e.id||!l.get(e.id)||l.get(e.id)===t,"id duplicates: "+(e&&e.id)),e&&null!=e.id&&l.set(e.id,t),!t.keyInfo&&(t.keyInfo={})}),Object(g.each)(s,function(t,e){var n=t.existing,i=t.newOption,r=t.keyInfo;if(Object(g.isObject)(i)){if(r.name=null!=i.name?Yi(i.name):n?n.name:Ri+e,n)r.id=Yi(n.id);else if(null!=i.id)r.id=Yi(i.id);else{var o=0;do{r.id="\0"+r.name+"\0"+o++}while(l.get(r.id))}l.set(r.id,t)}}),c}function Ki(t,e,n){var i=Xi(e[t],null),r=Xi(n[t],null);return null!=i&&null!=r&&i===r}function Yi(t){return Xi(t,"")}function Xi(t,e){return null==t?e:Object(g.isString)(t)?t:Object(g.isNumber)(t)||Object(g.isStringSafe)(t)?t+"":e}function qi(t){var e=t.name;return!(!e||!e.indexOf(Ri))}function Zi(t){return t&&null!=t.id&&0===Yi(t.id).indexOf(Qi)}function Ji(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?Object(g.isArray)(e.dataIndex)?Object(g.map)(e.dataIndex,function(e){return t.indexOfRawIndex(e)}):t.indexOfRawIndex(e.dataIndex):null!=e.name?Object(g.isArray)(e.name)?Object(g.map)(e.name,function(e){return t.indexOfName(e)}):t.indexOfName(e.name):void 0}function tr(){var t="__ec_inner_"+er++;return function(e){return e[t]||(e[t]={})}}var er=Fi();function nr(t,e,n){var i=ir(e,n),r=i.mainTypeSpecified,o=i.queryOptionMap,a=i.others,s=n?n.defaultMainType:null;return!r&&s&&o.set(s,{}),o.each(function(e,i){var r=ar(t,i,e,{useDefault:s===i,enableAll:!n||null==n.enableAll||n.enableAll,enableNone:!n||null==n.enableNone||n.enableNone});a[i+"Models"]=r.models,a[i+"Model"]=r.models[0]}),a}function ir(t,e){var n;if(Object(g.isString)(t)){var i={};i[t+"Index"]=0,n=i}else n=t;var r=Object(g.createHashMap)(),o={},a=!1;return Object(g.each)(n,function(t,n){if("dataIndex"!==n&&"dataIndexInside"!==n){var i=n.match(/^(\w+)(Index|Id|Name)$/)||[],s=i[1],l=(i[2]||"").toLowerCase();if(s&&l&&!(e&&e.includeMainTypes&&Object(g.indexOf)(e.includeMainTypes,s)<0))a=a||!!s,(r.get(s)||r.set(s,{}))[l]=t}else o[n]=t}),{mainTypeSpecified:a,queryOptionMap:r,others:o}}var rr={useDefault:!0,enableAll:!1,enableNone:!1},or={useDefault:!1,enableAll:!0,enableNone:!0};function ar(t,e,n,i){i=i||rr;var r=n.index,o=n.id,a=n.name,s={models:null,specified:null!=r||null!=o||null!=a};if(!s.specified){var l=void 0;return s.models=i.useDefault&&(l=t.getComponent(e))?[l]:[],s}return"none"===r||!1===r?(Object(g.assert)(i.enableNone,'`"none"` or `false` is not a valid value on index option.'),s.models=[],s):("all"===r&&(Object(g.assert)(i.enableAll,'`"all"` is not a valid value on index option.'),r=o=a=null),s.models=t.queryComponents({mainType:e,index:r,id:o,name:a}),s)}function sr(t,e,n){t.setAttribute?t.setAttribute(e,n):t[e]=n}function lr(t,e){var n=Object(g.createHashMap)(),i=[];return Object(g.each)(t,function(t){var r=e(t);(n.get(r)||(i.push(r),n.set(r,[]))).push(t)}),{keys:i,buckets:n}}function cr(t,e,n,i,r){var o=null==e||"auto"===e;if(null==i)return i;if(Object(g.isNumber)(i))return Ai(p=Ui(n||0,i,r),o?Math.max(vi(n||0),vi(i)):e);if(Object(g.isString)(i))return r<1?n:i;for(var a=[],s=n,l=i,c=Math.max(s?s.length:0,l.length),u=0;u<c;++u){var h=t.getDimensionInfo(u);if(h&&"ordinal"===h.type)a[u]=(r<1&&s?s:l)[u];else{var d=s&&s[u]?s[u]:0,f=l[u],p=Ui(d,f,r);a[u]=Ai(p,o?Math.max(vi(d),vi(f)):e)}}return a}var ur=".",hr="___EC__COMPONENT__CONTAINER___",dr="___EC__EXTENDED_CLASS___";function fr(t){var e={main:"",sub:""};if(t){var n=t.split(ur);e.main=n[0]||"",e.sub=n[1]||""}return e}function pr(t,e){t.$constructor=t,t.extend=function(t){var e,n,i=this;return n=i,g.isFunction(n)&&/^class\s/.test(Function.prototype.toString.call(n))?e=function(t){function e(){return t.apply(this,arguments)||this}return p(e,t),e}(i):(e=function(){(t.$constructor||i).apply(this,arguments)},g.inherits(e,this)),g.extend(e.prototype,t),e[dr]=!0,e.extend=this.extend,e.superCall=vr,e.superApply=mr,e.superClass=i,e}}function Ar(t,e){t.extend=e.extend}var gr=Math.round(10*Math.random());function vr(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return this.superClass.prototype[e].apply(t,n)}function mr(t,e,n){return this.superClass.prototype[e].apply(t,n)}function yr(t){var e={};t.registerClass=function(t){var n,i=t.type||t.prototype.type;if(i){n=i,g.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(n),'componentType "'+n+'" illegal'),t.prototype.type=i;var r=fr(i);if(r.sub){if(r.sub!==hr){((function(t){var n=e[t.main];n&&n[hr]||((n=e[t.main]={})[hr]=!0);return n})(r))[r.sub]=t}}else e[r.main]=t}return t},t.getClass=function(t,n,i){var r=e[t];if(r&&r[hr]&&(r=n?r[n]:null),i&&!r)throw new Error(n?"Component "+t+"."+(n||"")+" is used but not imported.":t+".type should be specified.");return r},t.getClassesByMainType=function(t){var n=fr(t),i=[],r=e[n.main];return r&&r[hr]?g.each(r,function(t,e){e!==hr&&i.push(t)}):i.push(r),i},t.hasClass=function(t){var n=fr(t);return!!e[n.main]},t.getAllClassMainTypes=function(){var t=[];return g.each(e,function(e,n){t.push(n)}),t},t.hasSubTypes=function(t){var n=fr(t),i=e[n.main];return i&&i[hr]}}function br(t,e){for(var n=0;n<t.length;n++)t[n][1]||(t[n][1]=t[n][0]);return e=e||!1,function(n,i,r){for(var o={},a=0;a<t.length;a++){var s=t[a][1];if(!(i&&g.indexOf(i,s)>=0||r&&g.indexOf(r,s)<0)){var l=n.getShallow(s,e);null!=l&&(o[t[a][0]]=l)}}return o}}var _r=br([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),wr=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return _r(this,t,e)},t}(),xr=new Ln.a(50);function Cr(t){if("string"==typeof t){var e=xr.get(t);return e&&e.image}return t}function Sr(t,e,n,i,r){if(t){if("string"==typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var o=xr.get(t),a={hostEl:n,cb:i,cbPayload:r};return o?!kr(e=o.image)&&o.pending.push(a):((e=Fn.d.loadImage(t,Br,Br)).__zrImageSrc=t,xr.put(t,e.__cachedImgObj={image:e,pending:[a]})),e}return t}return e}function Br(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var n=t.pending[e],i=n.cb;i&&i(this,n.cbPayload),n.hostEl.dirty()}t.pending.length=0}function kr(t){return t&&t.width&&t.height}var Tr=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function Or(t,e,n,i,r){if(!e)return"";var o=(t+"").split("\n");r=Er(e,n,i,r);for(var a=0,s=o.length;a<s;a++)o[a]=Ir(o[a],r);return o.join("\n")}function Er(t,e,n,i){i=i||{};var r=Object(g.extend)({},i);r.font=e,n=Object(g.retrieve2)(n,"..."),r.maxIterations=Object(g.retrieve2)(i.maxIterations,2);var o=r.minChar=Object(g.retrieve2)(i.minChar,0);r.cnCharWidth=Nn("国",e);var a=r.ascCharWidth=Nn("a",e);r.placeholder=Object(g.retrieve2)(i.placeholder,"");for(var s=t=Math.max(0,t-1),l=0;l<o&&s>=a;l++)s-=a;var c=Nn(n,e);return c>s&&(n="",c=0),s=t-c,r.ellipsis=n,r.ellipsisWidth=c,r.contentWidth=s,r.containerWidth=t,r}function Ir(t,e){var n=e.containerWidth,i=e.font,r=e.contentWidth;if(!n)return"";var o=Nn(t,i);if(o<=n)return t;for(var a=0;;a++){if(o<=r||a>=e.maxIterations){t+=e.ellipsis;break}var s=0===a?Mr(t,r,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*r/o):0;o=Nn(t=t.substr(0,s),i)}return""===t&&(t=e.placeholder),t}function Mr(t,e,n,i){for(var r=0,o=0,a=t.length;o<a&&r<e;o++){var s=t.charCodeAt(o);r+=0<=s&&s<=127?n:i}return o}var Dr=function(){return function(){}}(),Lr=function(){return function(t){this.tokens=[],t&&(this.tokens=t)}}(),Fr=function(){return function(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]}}();function Pr(t,e,n,i,r){var o,a,s=""===e,l=r&&n.rich[r]||{},c=t.lines,u=l.font||n.font,h=!1;if(i){var d=l.padding,f=d?d[1]+d[3]:0;if(null!=l.width&&"auto"!==l.width){var p=Vn(l.width,i.width)+f;c.length>0&&p+i.accumWidth>i.width&&(o=e.split("\n"),h=!0),i.accumWidth=p}else{var A=Ur(e,u,i.width,i.breakAll,i.accumWidth);i.accumWidth=A.accumWidth+f,a=A.linesWidths,o=A.lines}}else o=e.split("\n");for(var g=0;g<o.length;g++){var v=o[g],m=new Dr;if(m.styleName=r,m.text=v,m.isLineHolder=!v&&!s,"number"==typeof l.width?m.width=l.width:m.width=a?a[g]:Nn(v,u),g||h)c.push(new Lr([m]));else{var y=(c[c.length-1]||(c[0]=new Lr)).tokens,b=y.length;1===b&&y[0].isLineHolder?y[0]=m:(v||!b||s)&&y.push(m)}}}var Nr=Object(g.reduce)(",&?/;] ".split(""),function(t,e){return t[e]=!0,t},{});function jr(t){return!function(t){var e=t.charCodeAt(0);return e>=32&&e<=591||e>=880&&e<=4351||e>=4608&&e<=5119||e>=7680&&e<=8303}(t)||!!Nr[t]}function Ur(t,e,n,i,r){for(var o=[],a=[],s="",l="",c=0,u=0,h=0;h<t.length;h++){var d=t.charAt(h);if("\n"!==d){var f=Nn(d,e),p=!i&&!jr(d);(o.length?u+f>n:r+u+f>n)?u?(s||l)&&(p?(s||(s=l,l="",u=c=0),o.push(s),a.push(u-c),l+=d,s="",u=c+=f):(l&&(s+=l,l="",c=0),o.push(s),a.push(u),s=d,u=f)):p?(o.push(l),a.push(c),l=d,c=f):(o.push(d),a.push(f)):(u+=f,p?(l+=d,c+=f):(l&&(s+=l,l="",c=0),s+=d))}else l&&(s+=l,u+=c),o.push(s),a.push(u),s="",l="",c=0,u=0}return o.length||s||(s=t,l="",c=0),l&&(s+=l),s&&(o.push(s),a.push(u)),1===o.length&&(u+=r),{accumWidth:u,lines:o,linesWidths:a}}var Rr="__zr_style_"+Math.round(10*Math.random()),Qr={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},Hr={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};Qr[Rr]=!0;var Vr=["z","z2","invisible"],zr=["invisible"],$r=function(t){function e(e){return t.call(this,e)||this}var n;return p(e,t),e.prototype._init=function(e){for(var n=Object(g.keys)(e),i=0;i<n.length;i++){var r=n[i];"style"===r?this.useStyle(e[r]):t.prototype.attrKV.call(this,r,e[r])}this.style||this.useStyle({})},e.prototype.beforeBrush=function(){},e.prototype.afterBrush=function(){},e.prototype.innerBeforeBrush=function(){},e.prototype.innerAfterBrush=function(){},e.prototype.shouldBePainted=function(t,e,n,i){var r=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&function(t,e,n){Gr.copy(t.getBoundingRect()),t.transform&&Gr.applyTransform(t.transform);return Wr.width=e,Wr.height=n,!Gr.intersect(Wr)}(this,t,e)||r&&!r[0]&&!r[3])return!1;if(n&&this.__clipPaths)for(var o=0;o<this.__clipPaths.length;++o)if(this.__clipPaths[o].isZeroArea())return!1;if(i&&this.parent)for(var a=this.parent;a;){if(a.ignore)return!1;a=a.parent}return!0},e.prototype.contain=function(t,e){return this.rectContain(t,e)},e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.rectContain=function(t,e){var n=this.transformCoordToLocal(t,e);return this.getBoundingRect().contain(n[0],n[1])},e.prototype.getPaintRect=function(){var t=this._paintRect;if(!this._paintRect||this.__dirty){var e=this.transform,n=this.getBoundingRect(),i=this.style,r=i.shadowBlur||0,o=i.shadowOffsetX||0,a=i.shadowOffsetY||0;t=this._paintRect||(this._paintRect=new Mt(0,0,0,0)),e?Mt.applyTransform(t,n,e):t.copy(n),(r||o||a)&&(t.width+=2*r+Math.abs(o),t.height+=2*r+Math.abs(a),t.x=Math.min(t.x,t.x+o-r),t.y=Math.min(t.y,t.y+a-r));var s=this.dirtyRectTolerance;t.isZero()||(t.x=Math.floor(t.x-s),t.y=Math.floor(t.y-s),t.width=Math.ceil(t.width+1+2*s),t.height=Math.ceil(t.height+1+2*s))}return t},e.prototype.setPrevPaintRect=function(t){t?(this._prevPaintRect=this._prevPaintRect||new Mt(0,0,0,0),this._prevPaintRect.copy(t)):this._prevPaintRect=null},e.prototype.getPrevPaintRect=function(){return this._prevPaintRect},e.prototype.animateStyle=function(t){return this.animate("style",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():this.markRedraw()},e.prototype.attrKV=function(e,n){"style"!==e?t.prototype.attrKV.call(this,e,n):this.style?this.setStyle(n):this.useStyle(n)},e.prototype.setStyle=function(t,e){return"string"==typeof t?this.style[t]=e:Object(g.extend)(this.style,t),this.dirtyStyle(),this},e.prototype.dirtyStyle=function(t){t||this.markRedraw(),this.__dirty|=2,this._rect&&(this._rect=null)},e.prototype.dirty=function(){this.dirtyStyle()},e.prototype.styleChanged=function(){return!!(2&this.__dirty)},e.prototype.styleUpdated=function(){this.__dirty&=-3},e.prototype.createStyle=function(t){return Object(g.createObject)(Qr,t)},e.prototype.useStyle=function(t){t[Rr]||(t=this.createStyle(t)),this.__inHover?this.__hoverStyle=t:this.style=t,this.dirtyStyle()},e.prototype.isStyleObject=function(t){return t[Rr]},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.style&&!n.style&&(n.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(e,n,Vr)},e.prototype._applyStateObj=function(e,n,i,r,o,a){t.prototype._applyStateObj.call(this,e,n,i,r,o,a);var s,l=!(n&&r);if(n&&n.style?o?r?s=n.style:(s=this._mergeStyle(this.createStyle(),i.style),this._mergeStyle(s,n.style)):(s=this._mergeStyle(this.createStyle(),r?this.style:i.style),this._mergeStyle(s,n.style)):l&&(s=i.style),s)if(o){var c=this.style;if(this.style=this.createStyle(l?{}:c),l)for(var u=Object(g.keys)(c),h=0;h<u.length;h++){(f=u[h])in s&&(s[f]=s[f],this.style[f]=c[f])}var d=Object(g.keys)(s);for(h=0;h<d.length;h++){var f=d[h];this.style[f]=this.style[f]}this._transitionState(e,{style:s},a,this.getAnimationStyleProps())}else this.useStyle(s);var p=this.__inHover?zr:Vr;for(h=0;h<p.length;h++){f=p[h];n&&null!=n[f]?this[f]=n[f]:l&&null!=i[f]&&(this[f]=i[f])}},e.prototype._mergeStates=function(e){for(var n,i=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var o=e[r];o.style&&(n=n||{},this._mergeStyle(n,o.style))}return n&&(i.style=n),i},e.prototype._mergeStyle=function(t,e){return Object(g.extend)(t,e),t},e.prototype.getAnimationStyleProps=function(){return Hr},e.initDefaultProps=((n=e.prototype).type="displayable",n.invisible=!1,n.z=0,n.z2=0,n.zlevel=0,n.culling=!1,n.cursor="pointer",n.rectHover=!1,n.incremental=!1,n._rect=null,n.dirtyRectTolerance=0,void(n.__dirty=2|Zt)),e}(Jn),Gr=new Mt(0,0,0,0),Wr=new Mt(0,0,0,0);var Kr=$r,Yr=Math.min,Xr=Math.max,qr=Math.sin,Zr=Math.cos,Jr=2*Math.PI,to=v(),eo=v(),no=v();function io(t,e,n){if(0!==t.length){for(var i=t[0],r=i[0],o=i[0],a=i[1],s=i[1],l=1;l<t.length;l++)i=t[l],r=Yr(r,i[0]),o=Xr(o,i[0]),a=Yr(a,i[1]),s=Xr(s,i[1]);e[0]=r,e[1]=a,n[0]=o,n[1]=s}}function ro(t,e,n,i,r,o){r[0]=Yr(t,n),r[1]=Yr(e,i),o[0]=Xr(t,n),o[1]=Xr(e,i)}var oo=[],ao=[];function so(t,e,n,i,r,o,a,s,l,c){var u=_e,h=me,d=u(t,n,r,a,oo);l[0]=1/0,l[1]=1/0,c[0]=-1/0,c[1]=-1/0;for(var f=0;f<d;f++){var p=h(t,n,r,a,oo[f]);l[0]=Yr(p,l[0]),c[0]=Xr(p,c[0])}d=u(e,i,o,s,ao);for(f=0;f<d;f++){var A=h(e,i,o,s,ao[f]);l[1]=Yr(A,l[1]),c[1]=Xr(A,c[1])}l[0]=Yr(t,l[0]),c[0]=Xr(t,c[0]),l[0]=Yr(a,l[0]),c[0]=Xr(a,c[0]),l[1]=Yr(e,l[1]),c[1]=Xr(e,c[1]),l[1]=Yr(s,l[1]),c[1]=Xr(s,c[1])}function lo(t,e,n,i,r,o,a,s){var l=ke,c=Se,u=Xr(Yr(l(t,n,r),1),0),h=Xr(Yr(l(e,i,o),1),0),d=c(t,n,r,u),f=c(e,i,o,h);a[0]=Yr(t,r,d),a[1]=Yr(e,o,f),s[0]=Xr(t,r,d),s[1]=Xr(e,o,f)}function co(t,e,n,i,r,o,a,s,l){var c=R,u=Q,h=Math.abs(r-o);if(h%Jr<1e-4&&h>1e-4)return s[0]=t-n,s[1]=e-i,l[0]=t+n,void(l[1]=e+i);if(to[0]=Zr(r)*n+t,to[1]=qr(r)*i+e,eo[0]=Zr(o)*n+t,eo[1]=qr(o)*i+e,c(s,to,eo),u(l,to,eo),(r%=Jr)<0&&(r+=Jr),(o%=Jr)<0&&(o+=Jr),r>o&&!a?o+=Jr:r<o&&a&&(r+=Jr),a){var d=o;o=r,r=d}for(var f=0;f<o;f+=Math.PI/2)f>r&&(no[0]=Zr(f)*n+t,no[1]=qr(f)*i+e,c(s,no,s),u(l,no,l))}var uo={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},ho=[],fo=[],po=[],Ao=[],go=[],vo=[],mo=Math.min,yo=Math.max,bo=Math.cos,_o=Math.sin,wo=Math.abs,xo=Math.PI,Co=2*xo,So="undefined"!=typeof Float32Array,Bo=[];function ko(t){return Math.round(t/xo*1e8)/1e8%2*xo}function To(t,e){var n=ko(t[0]);n<0&&(n+=Co);var i=n-t[0],r=t[1];r+=i,!e&&r-n>=Co?r=n+Co:e&&n-r>=Co?r=n-Co:!e&&n>r?r=n+(Co-ko(n-r)):e&&n<r&&(r=n-(Co-ko(r-n))),t[0]=n,t[1]=r}var Oo=function(){function t(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}var e;return t.prototype.increaseVersion=function(){this._version++},t.prototype.getVersion=function(){return this._version},t.prototype.setScale=function(t,e,n){(n=n||0)>0&&(this._ux=wo(n/wn/t)||0,this._uy=wo(n/wn/e)||0)},t.prototype.setDPR=function(t){this.dpr=t},t.prototype.setContext=function(t){this._ctx=t},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(uo.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},t.prototype.lineTo=function(t,e){var n=wo(t-this._xi),i=wo(e-this._yi),r=n>this._ux||i>this._uy;if(this.addData(uo.L,t,e),this._ctx&&r&&this._ctx.lineTo(t,e),r)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=n*n+i*i;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},t.prototype.bezierCurveTo=function(t,e,n,i,r,o){return this._drawPendingPt(),this.addData(uo.C,t,e,n,i,r,o),this._ctx&&this._ctx.bezierCurveTo(t,e,n,i,r,o),this._xi=r,this._yi=o,this},t.prototype.quadraticCurveTo=function(t,e,n,i){return this._drawPendingPt(),this.addData(uo.Q,t,e,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,i),this._xi=n,this._yi=i,this},t.prototype.arc=function(t,e,n,i,r,o){this._drawPendingPt(),Bo[0]=i,Bo[1]=r,To(Bo,o),i=Bo[0];var a=(r=Bo[1])-i;return this.addData(uo.A,t,e,n,n,i,a,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,i,r,o),this._xi=bo(r)*n+t,this._yi=_o(r)*n+e,this},t.prototype.arcTo=function(t,e,n,i,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},t.prototype.rect=function(t,e,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,i),this.addData(uo.R,t,e,n,i),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(uo.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},t.prototype.fill=function(t){t&&t.fill(),this.toStatic()},t.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},t.prototype.len=function(){return this._len},t.prototype.setData=function(t){var e=t.length;this.data&&this.data.length===e||!So||(this.data=new Float32Array(e));for(var n=0;n<e;n++)this.data[n]=t[n];this._len=e},t.prototype.appendPath=function(t){t instanceof Array||(t=[t]);for(var e=t.length,n=0,i=this._len,r=0;r<e;r++)n+=t[r].len();So&&this.data instanceof Float32Array&&(this.data=new Float32Array(i+n));for(r=0;r<e;r++)for(var o=t[r].data,a=0;a<o.length;a++)this.data[i++]=o[a];this._len=i},t.prototype.addData=function(t,e,n,i,r,o,a,s,l){if(this._saveData){var c=this.data;this._len+arguments.length>c.length&&(this._expandData(),c=this.data);for(var u=0;u<arguments.length;u++)c[this._len++]=arguments[u]}},t.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e<this._len;e++)t[e]=this.data[e];this.data=t}},t.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,So&&this._len>11&&(this.data=new Float32Array(t)))}},t.prototype.getBoundingRect=function(){po[0]=po[1]=go[0]=go[1]=Number.MAX_VALUE,Ao[0]=Ao[1]=vo[0]=vo[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,i=0,r=0,o=0;for(t=0;t<this._len;){var a=e[t++],s=1===t;switch(s&&(r=n=e[t],o=i=e[t+1]),a){case uo.M:n=r=e[t++],i=o=e[t++],go[0]=r,go[1]=o,vo[0]=r,vo[1]=o;break;case uo.L:ro(n,i,e[t],e[t+1],go,vo),n=e[t++],i=e[t++];break;case uo.C:so(n,i,e[t++],e[t++],e[t++],e[t++],e[t],e[t+1],go,vo),n=e[t++],i=e[t++];break;case uo.Q:lo(n,i,e[t++],e[t++],e[t],e[t+1],go,vo),n=e[t++],i=e[t++];break;case uo.A:var l=e[t++],c=e[t++],u=e[t++],h=e[t++],d=e[t++],f=e[t++]+d;t+=1;var p=!e[t++];s&&(r=bo(d)*u+l,o=_o(d)*h+c),co(l,c,u,h,d,f,p,go,vo),n=bo(f)*u+l,i=_o(f)*h+c;break;case uo.R:ro(r=n=e[t++],o=i=e[t++],r+e[t++],o+e[t++],go,vo);break;case uo.Z:n=r,i=o}R(po,po,go),Q(Ao,Ao,vo)}return 0===t&&(po[0]=po[1]=Ao[0]=Ao[1]=0),new Mt(po[0],po[1],Ao[0]-po[0],Ao[1]-po[1])},t.prototype._calculateLength=function(){var t=this.data,e=this._len,n=this._ux,i=this._uy,r=0,o=0,a=0,s=0;this._pathSegLen||(this._pathSegLen=[]);for(var l=this._pathSegLen,c=0,u=0,h=0;h<e;){var d=t[h++],f=1===h;f&&(a=r=t[h],s=o=t[h+1]);var p=-1;switch(d){case uo.M:r=a=t[h++],o=s=t[h++];break;case uo.L:var A=t[h++],g=(y=t[h++])-o;(wo(O=A-r)>n||wo(g)>i||h===e-1)&&(p=Math.sqrt(O*O+g*g),r=A,o=y);break;case uo.C:var v=t[h++],m=t[h++],y=(A=t[h++],t[h++]),b=t[h++],_=t[h++];p=Ce(r,o,v,m,A,y,b,_,10),r=b,o=_;break;case uo.Q:p=Ee(r,o,v=t[h++],m=t[h++],A=t[h++],y=t[h++],10),r=A,o=y;break;case uo.A:var w=t[h++],x=t[h++],C=t[h++],S=t[h++],B=t[h++],k=t[h++],T=k+B;h+=1;t[h++];f&&(a=bo(B)*C+w,s=_o(B)*S+x),p=yo(C,S)*mo(Co,Math.abs(k)),r=bo(T)*C+w,o=_o(T)*S+x;break;case uo.R:a=r=t[h++],s=o=t[h++],p=2*t[h++]+2*t[h++];break;case uo.Z:var O=a-r;g=s-o;p=Math.sqrt(O*O+g*g),r=a,o=s}p>=0&&(l[u++]=p,c+=p)}return this._pathLen=c,c},t.prototype.rebuildPath=function(t,e){var n,i,r,o,a,s,l,c,u,h,d=this.data,f=this._ux,p=this._uy,A=this._len,g=e<1,v=0,m=0,y=0;if(!g||(this._pathSegLen||this._calculateLength(),l=this._pathSegLen,c=e*this._pathLen))t:for(var b=0;b<A;){var _=d[b++],w=1===b;switch(w&&(n=r=d[b],i=o=d[b+1]),_!==uo.L&&y>0&&(t.lineTo(u,h),y=0),_){case uo.M:n=r=d[b++],i=o=d[b++],t.moveTo(r,o);break;case uo.L:a=d[b++],s=d[b++];var x=wo(a-r),C=wo(s-o);if(x>f||C>p){if(g){if(v+(K=l[m++])>c){var S=(c-v)/K;t.lineTo(r*(1-S)+a*S,o*(1-S)+s*S);break t}v+=K}t.lineTo(a,s),r=a,o=s,y=0}else{var B=x*x+C*C;B>y&&(u=a,h=s,y=B)}break;case uo.C:var k=d[b++],T=d[b++],O=d[b++],E=d[b++],I=d[b++],M=d[b++];if(g){if(v+(K=l[m++])>c){we(r,k,O,I,S=(c-v)/K,ho),we(o,T,E,M,S,fo),t.bezierCurveTo(ho[1],fo[1],ho[2],fo[2],ho[3],fo[3]);break t}v+=K}t.bezierCurveTo(k,T,O,E,I,M),r=I,o=M;break;case uo.Q:k=d[b++],T=d[b++],O=d[b++],E=d[b++];if(g){if(v+(K=l[m++])>c){Te(r,k,O,S=(c-v)/K,ho),Te(o,T,E,S,fo),t.quadraticCurveTo(ho[1],fo[1],ho[2],fo[2]);break t}v+=K}t.quadraticCurveTo(k,T,O,E),r=O,o=E;break;case uo.A:var D=d[b++],L=d[b++],F=d[b++],P=d[b++],N=d[b++],j=d[b++],U=d[b++],R=!d[b++],Q=F>P?F:P,H=wo(F-P)>.001,V=N+j,z=!1;if(g)v+(K=l[m++])>c&&(V=N+j*(c-v)/K,z=!0),v+=K;if(H&&t.ellipse?t.ellipse(D,L,F,P,U,N,V,R):t.arc(D,L,Q,N,V,R),z)break t;w&&(n=bo(N)*F+D,i=_o(N)*P+L),r=bo(V)*F+D,o=_o(V)*P+L;break;case uo.R:n=r=d[b],i=o=d[b+1],a=d[b++],s=d[b++];var $=d[b++],G=d[b++];if(g){if(v+(K=l[m++])>c){var W=c-v;t.moveTo(a,s),t.lineTo(a+mo(W,$),s),(W-=$)>0&&t.lineTo(a+$,s+mo(W,G)),(W-=G)>0&&t.lineTo(a+yo($-W,0),s+G),(W-=$)>0&&t.lineTo(a,s+yo(G-W,0));break t}v+=K}t.rect(a,s,$,G);break;case uo.Z:if(g){var K;if(v+(K=l[m++])>c){S=(c-v)/K;t.lineTo(r*(1-S)+n*S,o*(1-S)+i*S);break t}v+=K}t.closePath(),r=n,o=i}}},t.prototype.clone=function(){var e=new t,n=this.data;return e.data=n.slice?n.slice():Array.prototype.slice.call(n),e._len=this._len,e},t.CMD=uo,t.initDefaultProps=((e=t.prototype)._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,void(e._version=0)),t}();function Eo(t,e,n,i,r,o,a){if(0===r)return!1;var s=r,l=0;if(a>e+s&&a>i+s||a<e-s&&a<i-s||o>t+s&&o>n+s||o<t-s&&o<n-s)return!1;if(t===n)return Math.abs(o-t)<=s/2;var c=(l=(e-i)/(t-n))*o-a+(t*i-n*e)/(t-n);return c*c/(l*l+1)<=s/2*s/2}function Io(t,e,n,i,r,o,a,s,l,c,u){if(0===l)return!1;var h=l;return!(u>e+h&&u>i+h&&u>o+h&&u>s+h||u<e-h&&u<i-h&&u<o-h&&u<s-h||c>t+h&&c>n+h&&c>r+h&&c>a+h||c<t-h&&c<n-h&&c<r-h&&c<a-h)&&xe(t,e,n,i,r,o,a,s,c,u,null)<=h/2}function Mo(t,e,n,i,r,o,a,s,l){if(0===a)return!1;var c=a;return!(l>e+c&&l>i+c&&l>o+c||l<e-c&&l<i-c&&l<o-c||s>t+c&&s>n+c&&s>r+c||s<t-c&&s<n-c&&s<r-c)&&Oe(t,e,n,i,r,o,s,l,null)<=c/2}var Do=2*Math.PI;function Lo(t){return(t%=Do)<0&&(t+=Do),t}var Fo=2*Math.PI;function Po(t,e,n,i,r,o,a,s,l){if(0===a)return!1;var c=a;s-=t,l-=e;var u=Math.sqrt(s*s+l*l);if(u-c>n||u+c<n)return!1;if(Math.abs(i-r)%Fo<1e-4)return!0;if(o){var h=i;i=Lo(r),r=Lo(h)}else i=Lo(i),r=Lo(r);i>r&&(r+=Fo);var d=Math.atan2(l,s);return d<0&&(d+=Fo),d>=i&&d<=r||d+Fo>=i&&d+Fo<=r}function No(t,e,n,i,r,o){if(o>e&&o>i||o<e&&o<i)return 0;if(i===e)return 0;var a=(o-e)/(i-e),s=i<e?1:-1;1!==a&&0!==a||(s=i<e?.5:-.5);var l=a*(n-t)+t;return l===r?1/0:l>r?s:0}var jo=Oo.CMD,Uo=2*Math.PI,Ro=1e-4;var Qo=[-1,-1,-1],Ho=[-1,-1];function Vo(t,e,n,i,r,o,a,s,l,c){if(c>e&&c>i&&c>o&&c>s||c<e&&c<i&&c<o&&c<s)return 0;var u,h=be(e,i,o,s,c,Qo);if(0===h)return 0;for(var d=0,f=-1,p=void 0,A=void 0,g=0;g<h;g++){var v=Qo[g],m=0===v||1===v?.5:1;me(t,n,r,a,v)<l||(f<0&&(f=_e(e,i,o,s,Ho),Ho[1]<Ho[0]&&f>1&&(void 0,u=Ho[0],Ho[0]=Ho[1],Ho[1]=u),p=me(e,i,o,s,Ho[0]),f>1&&(A=me(e,i,o,s,Ho[1]))),2===f?v<Ho[0]?d+=p<e?m:-m:v<Ho[1]?d+=A<p?m:-m:d+=s<A?m:-m:v<Ho[0]?d+=p<e?m:-m:d+=s<p?m:-m)}return d}function zo(t,e,n,i,r,o,a,s){if(s>e&&s>i&&s>o||s<e&&s<i&&s<o)return 0;var l=function(t,e,n,i,r){var o=t-2*e+n,a=2*(e-t),s=t-i,l=0;if(ge(o))ve(a)&&(u=-s/a)>=0&&u<=1&&(r[l++]=u);else{var c=a*a-4*o*s;if(ge(c))(u=-a/(2*o))>=0&&u<=1&&(r[l++]=u);else if(c>0){var u,h=le(c),d=(-a-h)/(2*o);(u=(-a+h)/(2*o))>=0&&u<=1&&(r[l++]=u),d>=0&&d<=1&&(r[l++]=d)}}return l}(e,i,o,s,Qo);if(0===l)return 0;var c=ke(e,i,o);if(c>=0&&c<=1){for(var u=0,h=Se(e,i,o,c),d=0;d<l;d++){var f=0===Qo[d]||1===Qo[d]?.5:1;Se(t,n,r,Qo[d])<a||(Qo[d]<c?u+=h<e?f:-f:u+=o<h?f:-f)}return u}f=0===Qo[0]||1===Qo[0]?.5:1;return Se(t,n,r,Qo[0])<a?0:o<e?f:-f}function $o(t,e,n,i,r,o,a,s){if((s-=e)>n||s<-n)return 0;var l=Math.sqrt(n*n-s*s);Qo[0]=-l,Qo[1]=l;var c=Math.abs(i-r);if(c<1e-4)return 0;if(c>=Uo-1e-4){i=0,r=Uo;var u=o?1:-1;return a>=Qo[0]+t&&a<=Qo[1]+t?u:0}if(i>r){var h=i;i=r,r=h}i<0&&(i+=Uo,r+=Uo);for(var d=0,f=0;f<2;f++){var p=Qo[f];if(p+t>a){var A=Math.atan2(s,p);u=o?1:-1;A<0&&(A=Uo+A),(A>=i&&A<=r||A+Uo>=i&&A+Uo<=r)&&(A>Math.PI/2&&A<1.5*Math.PI&&(u=-u),d+=u)}}return d}function Go(t,e,n,i,r){for(var o,a,s,l,c=t.data,u=t.len(),h=0,d=0,f=0,p=0,A=0,g=0;g<u;){var v=c[g++],m=1===g;switch(v===jo.M&&g>1&&(n||(h+=No(d,f,p,A,i,r))),m&&(p=d=c[g],A=f=c[g+1]),v){case jo.M:d=p=c[g++],f=A=c[g++];break;case jo.L:if(n){if(Eo(d,f,c[g],c[g+1],e,i,r))return!0}else h+=No(d,f,c[g],c[g+1],i,r)||0;d=c[g++],f=c[g++];break;case jo.C:if(n){if(Io(d,f,c[g++],c[g++],c[g++],c[g++],c[g],c[g+1],e,i,r))return!0}else h+=Vo(d,f,c[g++],c[g++],c[g++],c[g++],c[g],c[g+1],i,r)||0;d=c[g++],f=c[g++];break;case jo.Q:if(n){if(Mo(d,f,c[g++],c[g++],c[g],c[g+1],e,i,r))return!0}else h+=zo(d,f,c[g++],c[g++],c[g],c[g+1],i,r)||0;d=c[g++],f=c[g++];break;case jo.A:var y=c[g++],b=c[g++],_=c[g++],w=c[g++],x=c[g++],C=c[g++];g+=1;var S=!!(1-c[g++]);o=Math.cos(x)*_+y,a=Math.sin(x)*w+b,m?(p=o,A=a):h+=No(d,f,o,a,i,r);var B=(i-y)*w/_+y;if(n){if(Po(y,b,w,x,x+C,S,e,B,r))return!0}else h+=$o(y,b,w,x,x+C,S,B,r);d=Math.cos(x+C)*_+y,f=Math.sin(x+C)*w+b;break;case jo.R:if(p=d=c[g++],A=f=c[g++],o=p+c[g++],a=A+c[g++],n){if(Eo(p,A,o,A,e,i,r)||Eo(o,A,o,a,e,i,r)||Eo(o,a,p,a,e,i,r)||Eo(p,a,p,A,e,i,r))return!0}else h+=No(o,A,o,a,i,r),h+=No(p,a,p,A,i,r);break;case jo.Z:if(n){if(Eo(d,f,p,A,e,i,r))return!0}else h+=No(d,f,p,A,i,r);d=p,f=A}}return n||(s=f,l=A,Math.abs(s-l)<Ro)||(h+=No(d,f,p,A,i,r)||0),0!==h}var Wo=Object(g.defaults)({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},Qr),Ko={style:Object(g.defaults)({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},Hr.style)},Yo=In.concat(["invisible","culling","z","z2","zlevel","parent"]),Xo=function(t){function e(e){return t.call(this,e)||this}var n;return p(e,t),e.prototype.update=function(){var n=this;t.prototype.update.call(this);var i=this.style;if(i.decal){var r=this._decalEl=this._decalEl||new e;r.buildPath===e.prototype.buildPath&&(r.buildPath=function(t){n.buildPath(t,n.shape)}),r.silent=!0;var o=r.style;for(var a in i)o[a]!==i[a]&&(o[a]=i[a]);o.fill=i.fill?i.decal:null,o.decal=null,o.shadowColor=null,i.strokeFirst&&(o.stroke=null);for(var s=0;s<Yo.length;++s)r[Yo[s]]=this[Yo[s]];r.__dirty|=Zt}else this._decalEl&&(this._decalEl=null)},e.prototype.getDecalElement=function(){return this._decalEl},e.prototype._init=function(e){var n=Object(g.keys)(e);this.shape=this.getDefaultShape();var i=this.getDefaultStyle();i&&this.useStyle(i);for(var r=0;r<n.length;r++){var o=n[r],a=e[o];"style"===o?this.style?Object(g.extend)(this.style,a):this.useStyle(a):"shape"===o?Object(g.extend)(this.shape,a):t.prototype.attrKV.call(this,o,a)}this.style||this.useStyle({})},e.prototype.getDefaultStyle=function(){return null},e.prototype.getDefaultShape=function(){return{}},e.prototype.canBeInsideText=function(){return this.hasFill()},e.prototype.getInsideTextFill=function(){var t=this.style.fill;if("none"!==t){if(Object(g.isString)(t)){var e=Object(Le.lum)(t,0);return e>.5?"#333":e>.2?"#eee":"#ccc"}if(t)return"#ccc"}return"#333"},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(Object(g.isString)(e)){var n=this.__zr;if(!(!n||!n.isDarkMode())===Object(Le.lum)(t,0)<xn)return e}},e.prototype.buildPath=function(t,e,n){},e.prototype.pathUpdated=function(){this.__dirty&=~Jt},e.prototype.getUpdatedPathProxy=function(t){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},e.prototype.createPathProxy=function(){this.path=new Oo(!1)},e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,n=!t;if(n){var i=!1;this.path||(i=!0,this.createPathProxy());var r=this.path;(i||this.__dirty&Jt)&&(r.beginPath(),this.buildPath(r,this.shape,!1),this.pathUpdated()),t=r.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||n){o.copy(t);var a=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return t},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),r=this.style;if(t=n[0],e=n[1],i.contain(t,e)){var o=this.path;if(this.hasStroke()){var a=r.lineWidth,s=r.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),function(t,e,n,i){return Go(t,e,!0,n,i)}(o,a/s,t,e)))return!0}if(this.hasFill())return function(t,e,n){return Go(t,0,!1,e,n)}(o,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=Jt,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(t){return this.animate("shape",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(e,n){"shape"===e?this.setShape(n):t.prototype.attrKV.call(this,e,n)},e.prototype.setShape=function(t,e){var n=this.shape;return n||(n=this.shape={}),"string"==typeof t?n[t]=e:Object(g.extend)(n,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(this.__dirty&Jt)},e.prototype.createStyle=function(t){return Object(g.createObject)(Wo,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=Object(g.extend)({},this.shape))},e.prototype._applyStateObj=function(e,n,i,r,o,a){t.prototype._applyStateObj.call(this,e,n,i,r,o,a);var s,l=!(n&&r);if(n&&n.shape?o?r?s=n.shape:(s=Object(g.extend)({},i.shape),Object(g.extend)(s,n.shape)):(s=Object(g.extend)({},r?this.shape:i.shape),Object(g.extend)(s,n.shape)):l&&(s=i.shape),s)if(o){this.shape=Object(g.extend)({},this.shape);for(var c={},u=Object(g.keys)(s),h=0;h<u.length;h++){var d=u[h];"object"==typeof s[d]?this.shape[d]=s[d]:c[d]=s[d]}this._transitionState(e,{shape:c},a)}else this.shape=s,this.dirtyShape()},e.prototype._mergeStates=function(e){for(var n,i=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var o=e[r];o.shape&&(n=n||{},this._mergeStyle(n,o.shape))}return n&&(i.shape=n),i},e.prototype.getAnimationStyleProps=function(){return Ko},e.prototype.isZeroArea=function(){return!1},e.extend=function(t){var n=function(e){function n(n){var i=e.call(this,n)||this;return t.init&&t.init.call(i,n),i}return p(n,e),n.prototype.getDefaultStyle=function(){return Object(g.clone)(t.style)},n.prototype.getDefaultShape=function(){return Object(g.clone)(t.shape)},n}(e);for(var i in t)"function"==typeof t[i]&&(n.prototype[i]=t[i]);return n},e.initDefaultProps=((n=e.prototype).type="path",n.strokeContainThreshold=5,n.segmentIgnoreThreshold=0,n.subPixelOptimize=!1,n.autoBatch=!1,void(n.__dirty=2|Zt|Jt)),e}(Kr),qo=Object(g.defaults)({strokeFirst:!0,font:Fn.a,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},Wo),Zo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return p(e,t),e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.createStyle=function(t){return Object(g.createObject)(qo,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var e=t.text;null!=e?e+="":e="";var n=Un(e,t.font,t.textAlign,t.textBaseline);if(n.x+=t.x||0,n.y+=t.y||0,this.hasStroke()){var i=t.lineWidth;n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i}this._rect=n}return this._rect},e.initDefaultProps=void(e.prototype.dirtyRectTolerance=10),e}(Kr);Zo.prototype.type="tspan";var Jo=Zo,ta=Object(g.defaults)({x:0,y:0},Qr),ea={style:Object(g.defaults)({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},Hr.style)};var na=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return p(e,t),e.prototype.createStyle=function(t){return Object(g.createObject)(ta,t)},e.prototype._getSize=function(t){var e=this.style,n=e[t];if(null!=n)return n;var i,r=(i=e.image)&&"string"!=typeof i&&i.width&&i.height?e.image:this.__image;if(!r)return 0;var o="width"===t?"height":"width",a=e[o];return null==a?r[t]:r[t]/r[o]*a},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return ea},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new Mt(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(Kr);na.prototype.type="image";var ia=na;var ra=Math.round;function oa(t,e,n){if(e){var i=e.x1,r=e.x2,o=e.y1,a=e.y2;t.x1=i,t.x2=r,t.y1=o,t.y2=a;var s=n&&n.lineWidth;return s?(ra(2*i)===ra(2*r)&&(t.x1=t.x2=sa(i,s,!0)),ra(2*o)===ra(2*a)&&(t.y1=t.y2=sa(o,s,!0)),t):t}}function aa(t,e,n){if(e){var i=e.x,r=e.y,o=e.width,a=e.height;t.x=i,t.y=r,t.width=o,t.height=a;var s=n&&n.lineWidth;return s?(t.x=sa(i,s,!0),t.y=sa(r,s,!0),t.width=Math.max(sa(i+o,s,!1)-t.x,0===o?0:1),t.height=Math.max(sa(r+a,s,!1)-t.y,0===a?0:1),t):t}}function sa(t,e,n){if(!e)return t;var i=ra(2*t);return(i+ra(e))%2==0?i/2:(i+(n?1:-1))/2}var la=function(){return function(){this.x=0,this.y=0,this.width=0,this.height=0}}(),ca={},ua=function(t){function e(e){return t.call(this,e)||this}return p(e,t),e.prototype.getDefaultShape=function(){return new la},e.prototype.buildPath=function(t,e){var n,i,r,o;if(this.subPixelOptimize){var a=aa(ca,e,this.style);n=a.x,i=a.y,r=a.width,o=a.height,a.r=e.r,e=a}else n=e.x,i=e.y,r=e.width,o=e.height;e.r?function(t,e){var n,i,r,o,a,s=e.x,l=e.y,c=e.width,u=e.height,h=e.r;c<0&&(s+=c,c=-c),u<0&&(l+=u,u=-u),"number"==typeof h?n=i=r=o=h:h instanceof Array?1===h.length?n=i=r=o=h[0]:2===h.length?(n=r=h[0],i=o=h[1]):3===h.length?(n=h[0],i=o=h[1],r=h[2]):(n=h[0],i=h[1],r=h[2],o=h[3]):n=i=r=o=0,n+i>c&&(n*=c/(a=n+i),i*=c/a),r+o>c&&(r*=c/(a=r+o),o*=c/a),i+r>u&&(i*=u/(a=i+r),r*=u/a),n+o>u&&(n*=u/(a=n+o),o*=u/a),t.moveTo(s+n,l),t.lineTo(s+c-i,l),0!==i&&t.arc(s+c-i,l+i,i,-Math.PI/2,0),t.lineTo(s+c,l+u-r),0!==r&&t.arc(s+c-r,l+u-r,r,0,Math.PI/2),t.lineTo(s+o,l+u),0!==o&&t.arc(s+o,l+u-o,o,Math.PI/2,Math.PI),t.lineTo(s,l+n),0!==n&&t.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}(t,e):t.rect(n,i,r,o)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(Xo);ua.prototype.type="rect";var ha=ua,da={fill:"#000"},fa={style:Object(g.defaults)({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},Hr.style)},pa=function(t){function e(e){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=da,n.attr(e),n}return p(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;e<this._children.length;e++){var n=this._children[e];n.zlevel=this.zlevel,n.z=this.z,n.z2=this.z2,n.culling=this.culling,n.cursor=this.cursor,n.invisible=this.invisible}},e.prototype.updateTransform=function(){var e=this.innerTransformable;e?(e.updateTransform(),e.transform&&(this.transform=e.transform)):t.prototype.updateTransform.call(this)},e.prototype.getLocalTransform=function(e){var n=this.innerTransformable;return n?n.getLocalTransform(e):t.prototype.getLocalTransform.call(this,e)},e.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),t.prototype.getComputedTransform.call(this)},e.prototype._updateSubTexts=function(){var t;this._childCursor=0,_a(t=this.style),Object(g.each)(t.rich,_a),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=e},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=null},e.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var t=new Mt(0,0,0,0),e=this._children,n=[],i=null,r=0;r<e.length;r++){var o=e[r],a=o.getBoundingRect(),s=o.getLocalTransform(n);s?(t.copy(a),t.applyTransform(s),(i=i||t.clone()).union(t)):(i=i||a.clone()).union(a)}this._rect=i||t}return this._rect},e.prototype.setDefaultTextStyle=function(t){this._defaultStyle=t||da},e.prototype.setTextContent=function(t){0},e.prototype._mergeStyle=function(t,e){if(!e)return t;var n=e.rich,i=t.rich||n&&{};return Object(g.extend)(t,e),n&&i?(this._mergeRich(i,n),t.rich=i):i&&(t.rich=i),t},e.prototype._mergeRich=function(t,e){for(var n=Object(g.keys)(e),i=0;i<n.length;i++){var r=n[i];t[r]=t[r]||{},Object(g.extend)(t[r],e[r])}},e.prototype.getAnimationStyleProps=function(){return fa},e.prototype._getOrCreateChild=function(t){var e=this._children[this._childCursor];return e&&e instanceof t||(e=new t),this._children[this._childCursor++]=e,e.__zr=this.__zr,e.parent=this,e},e.prototype._updatePlainTexts=function(){var t=this.style,e=t.font||Fn.a,n=t.padding,i=function(t,e){null!=t&&(t+="");var n,i=e.overflow,r=e.padding,o=e.font,a="truncate"===i,s=Hn(o),l=Object(g.retrieve2)(e.lineHeight,s),c=!!e.backgroundColor,u="truncate"===e.lineOverflow,h=e.width,d=(n=null==h||"break"!==i&&"breakAll"!==i?t?t.split("\n"):[]:t?Ur(t,e.font,h,"breakAll"===i,0).lines:[]).length*l,f=Object(g.retrieve2)(e.height,d);if(d>f&&u){var p=Math.floor(f/l);n=n.slice(0,p)}if(t&&a&&null!=h)for(var A=Er(h,o,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),v=0;v<n.length;v++)n[v]=Ir(n[v],A);var m=f,y=0;for(v=0;v<n.length;v++)y=Math.max(Nn(n[v],o),y);null==h&&(h=y);var b=y;return r&&(m+=r[0]+r[2],b+=r[1]+r[3],h+=r[1]+r[3]),c&&(b=h),{lines:n,height:f,outerWidth:b,outerHeight:m,lineHeight:l,calculatedLineHeight:s,contentWidth:y,contentHeight:d,width:h}}(Sa(t),t),r=Ba(t),o=!!t.backgroundColor,a=i.outerHeight,s=i.outerWidth,l=i.contentWidth,c=i.lines,u=i.lineHeight,h=this._defaultStyle,d=t.x||0,f=t.y||0,p=t.align||h.align||"left",A=t.verticalAlign||h.verticalAlign||"top",v=d,m=Qn(f,i.contentHeight,A);if(r||n){var y=Rn(d,s,p),b=Qn(f,a,A);r&&this._renderBackground(t,t,y,b,s,a)}m+=u/2,n&&(v=Ca(d,p,n),"top"===A?m+=n[0]:"bottom"===A&&(m-=n[2]));for(var _=0,w=!1,x=(xa("fill"in t?t.fill:(w=!0,h.fill))),C=(wa("stroke"in t?t.stroke:o||h.autoStroke&&!w?null:(_=2,h.stroke))),S=t.textShadowBlur>0,B=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),k=i.calculatedLineHeight,T=0;T<c.length;T++){var O=this._getOrCreateChild(Jo),E=O.createStyle();O.useStyle(E),E.text=c[T],E.x=v,E.y=m,p&&(E.textAlign=p),E.textBaseline="middle",E.opacity=t.opacity,E.strokeFirst=!0,S&&(E.shadowBlur=t.textShadowBlur||0,E.shadowColor=t.textShadowColor||"transparent",E.shadowOffsetX=t.textShadowOffsetX||0,E.shadowOffsetY=t.textShadowOffsetY||0),E.stroke=C,E.fill=x,C&&(E.lineWidth=t.lineWidth||_,E.lineDash=t.lineDash,E.lineDashOffset=t.lineDashOffset||0),E.font=e,ya(E,t),m+=u,B&&O.setBoundingRect(new Mt(Rn(E.x,t.width,E.textAlign),Qn(E.y,k,E.textBaseline),l,k))}},e.prototype._updateRichTexts=function(){var t=this.style,e=function(t,e){var n=new Fr;if(null!=t&&(t+=""),!t)return n;for(var i,r=e.width,o=e.height,a=e.overflow,s="break"!==a&&"breakAll"!==a||null==r?null:{width:r,accumWidth:0,breakAll:"breakAll"===a},l=Tr.lastIndex=0;null!=(i=Tr.exec(t));){var c=i.index;c>l&&Pr(n,t.substring(l,c),e,s),Pr(n,i[2],e,s,i[1]),l=Tr.lastIndex}l<t.length&&Pr(n,t.substring(l,t.length),e,s);var u=[],h=0,d=0,f=e.padding,p="truncate"===a,A="truncate"===e.lineOverflow;function v(t,e,n){t.width=e,t.lineHeight=n,h+=n,d=Math.max(d,e)}t:for(var m=0;m<n.lines.length;m++){for(var y=n.lines[m],b=0,_=0,w=0;w<y.tokens.length;w++){var x=(D=y.tokens[w]).styleName&&e.rich[D.styleName]||{},C=D.textPadding=x.padding,S=C?C[1]+C[3]:0,B=D.font=x.font||e.font;D.contentHeight=Hn(B);var k=Object(g.retrieve2)(x.height,D.contentHeight);if(D.innerHeight=k,C&&(k+=C[0]+C[2]),D.height=k,D.lineHeight=Object(g.retrieve3)(x.lineHeight,e.lineHeight,k),D.align=x&&x.align||e.align,D.verticalAlign=x&&x.verticalAlign||"middle",A&&null!=o&&h+D.lineHeight>o){w>0?(y.tokens=y.tokens.slice(0,w),v(y,_,b),n.lines=n.lines.slice(0,m+1)):n.lines=n.lines.slice(0,m);break t}var T=x.width,O=null==T||"auto"===T;if("string"==typeof T&&"%"===T.charAt(T.length-1))D.percentWidth=T,u.push(D),D.contentWidth=Nn(D.text,B);else{if(O){var E=x.backgroundColor,I=E&&E.image;I&&kr(I=Cr(I))&&(D.width=Math.max(D.width,I.width*k/I.height))}var M=p&&null!=r?r-_:null;null!=M&&M<D.width?!O||M<S?(D.text="",D.width=D.contentWidth=0):(D.text=Or(D.text,M-S,B,e.ellipsis,{minChar:e.truncateMinChar}),D.width=D.contentWidth=Nn(D.text,B)):D.contentWidth=Nn(D.text,B)}D.width+=S,_+=D.width,x&&(b=Math.max(b,D.lineHeight))}v(y,_,b)}for(n.outerWidth=n.width=Object(g.retrieve2)(r,d),n.outerHeight=n.height=Object(g.retrieve2)(o,h),n.contentHeight=h,n.contentWidth=d,f&&(n.outerWidth+=f[1]+f[3],n.outerHeight+=f[0]+f[2]),m=0;m<u.length;m++){var D,L=(D=u[m]).percentWidth;D.width=parseInt(L,10)/100*n.width}return n}(Sa(t),t),n=e.width,i=e.outerWidth,r=e.outerHeight,o=t.padding,a=t.x||0,s=t.y||0,l=this._defaultStyle,c=t.align||l.align,u=t.verticalAlign||l.verticalAlign,h=Rn(a,i,c),d=Qn(s,r,u),f=h,p=d;o&&(f+=o[3],p+=o[0]);var A=f+n;Ba(t)&&this._renderBackground(t,t,h,d,i,r);for(var v=!!t.backgroundColor,m=0;m<e.lines.length;m++){for(var y=e.lines[m],b=y.tokens,_=b.length,w=y.lineHeight,x=y.width,C=0,S=f,B=A,k=_-1,T=void 0;C<_&&(!(T=b[C]).align||"left"===T.align);)this._placeToken(T,t,w,p,S,"left",v),x-=T.width,S+=T.width,C++;for(;k>=0&&"right"===(T=b[k]).align;)this._placeToken(T,t,w,p,B,"right",v),x-=T.width,B-=T.width,k--;for(S+=(n-(S-f)-(A-B)-x)/2;C<=k;)T=b[C],this._placeToken(T,t,w,p,S+T.width/2,"center",v),S+=T.width,C++;p+=w}},e.prototype._placeToken=function(t,e,n,i,r,o,a){var s=e.rich[t.styleName]||{};s.text=t.text;var l=t.verticalAlign,c=i+n/2;"top"===l?c=i+t.height/2:"bottom"===l&&(c=i+n-t.height/2),!t.isLineHolder&&Ba(s)&&this._renderBackground(s,e,"right"===o?r-t.width:"center"===o?r-t.width/2:r,c-t.height/2,t.width,t.height);var u=!!s.backgroundColor,h=t.textPadding;h&&(r=Ca(r,o,h),c-=t.height/2-h[0]-t.innerHeight/2);var d=this._getOrCreateChild(Jo),f=d.createStyle();d.useStyle(f);var p=this._defaultStyle,A=!1,v=0,m=xa("fill"in s?s.fill:"fill"in e?e.fill:(A=!0,p.fill)),y=wa("stroke"in s?s.stroke:"stroke"in e?e.stroke:u||a||p.autoStroke&&!A?null:(v=2,p.stroke)),b=s.textShadowBlur>0||e.textShadowBlur>0;f.text=t.text,f.x=r,f.y=c,b&&(f.shadowBlur=s.textShadowBlur||e.textShadowBlur||0,f.shadowColor=s.textShadowColor||e.textShadowColor||"transparent",f.shadowOffsetX=s.textShadowOffsetX||e.textShadowOffsetX||0,f.shadowOffsetY=s.textShadowOffsetY||e.textShadowOffsetY||0),f.textAlign=o,f.textBaseline="middle",f.font=t.font||Fn.a,f.opacity=Object(g.retrieve3)(s.opacity,e.opacity,1),ya(f,s),y&&(f.lineWidth=Object(g.retrieve3)(s.lineWidth,e.lineWidth,v),f.lineDash=Object(g.retrieve2)(s.lineDash,e.lineDash),f.lineDashOffset=e.lineDashOffset||0,f.stroke=y),m&&(f.fill=m);var _=t.contentWidth,w=t.contentHeight;d.setBoundingRect(new Mt(Rn(f.x,_,f.textAlign),Qn(f.y,w,f.textBaseline),_,w))},e.prototype._renderBackground=function(t,e,n,i,r,o){var a,s,l,c=t.backgroundColor,u=t.borderWidth,h=t.borderColor,d=c&&c.image,f=c&&!d,p=t.borderRadius,A=this;if(f||t.lineHeight||u&&h){(a=this._getOrCreateChild(ha)).useStyle(a.createStyle()),a.style.fill=null;var v=a.shape;v.x=n,v.y=i,v.width=r,v.height=o,v.r=p,a.dirtyShape()}if(f)(l=a.style).fill=c||null,l.fillOpacity=Object(g.retrieve2)(t.fillOpacity,1);else if(d){(s=this._getOrCreateChild(ia)).onload=function(){A.dirtyStyle()};var m=s.style;m.image=c.image,m.x=n,m.y=i,m.width=r,m.height=o}u&&h&&((l=a.style).lineWidth=u,l.stroke=h,l.strokeOpacity=Object(g.retrieve2)(t.strokeOpacity,1),l.lineDash=t.borderDash,l.lineDashOffset=t.borderDashOffset||0,a.strokeContainThreshold=0,a.hasFill()&&a.hasStroke()&&(l.strokeFirst=!0,l.lineWidth*=2));var y=(a||s).style;y.shadowBlur=t.shadowBlur||0,y.shadowColor=t.shadowColor||"transparent",y.shadowOffsetX=t.shadowOffsetX||0,y.shadowOffsetY=t.shadowOffsetY||0,y.opacity=Object(g.retrieve3)(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";return ba(t)&&(e=[t.fontStyle,t.fontWeight,ma(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),e&&Object(g.trim)(e)||t.textFont||t.font},e}(Kr),Aa={left:!0,right:1,center:1},ga={top:1,bottom:1,middle:1},va=["fontStyle","fontWeight","fontSize","fontFamily"];function ma(t){return"string"!=typeof t||-1===t.indexOf("px")&&-1===t.indexOf("rem")&&-1===t.indexOf("em")?isNaN(+t)?Fn.c+"px":t+"px":t}function ya(t,e){for(var n=0;n<va.length;n++){var i=va[n],r=e[i];null!=r&&(t[i]=r)}}function ba(t){return null!=t.fontSize||t.fontFamily||t.fontWeight}function _a(t){if(t){t.font=pa.makeFont(t);var e=t.align;"middle"===e&&(e="center"),t.align=null==e||Aa[e]?e:"left";var n=t.verticalAlign;"center"===n&&(n="middle"),t.verticalAlign=null==n||ga[n]?n:"top",t.padding&&(t.padding=Object(g.normalizeCssArray)(t.padding))}}function wa(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function xa(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function Ca(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}function Sa(t){var e=t.text;return null!=e&&(e+=""),e}function Ba(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&t.borderColor)}var ka=pa,Ta=tr(),Oa=function(t,e,n,i){if(i){var r=Ta(i);r.dataIndex=n,r.dataType=e,r.seriesIndex=t,"group"===i.type&&i.traverse(function(i){var r=Ta(i);r.seriesIndex=t,r.dataIndex=n,r.dataType=e})}},Ea=1,Ia={},Ma=tr(),Da=tr(),La=0,Fa=1,Pa=2,Na=["emphasis","blur","select"],ja=["normal","emphasis","blur","select"],Ua=10,Ra=9,Qa="highlight",Ha="downplay",Va="select",za="unselect",$a="toggleSelect";function Ga(t){return null!=t&&"none"!==t}var Wa=new Ln.a(100);function Ka(t){if(Object(g.isString)(t)){var e=Wa.get(t);return e||(e=Le.lift(t,-.1),Wa.put(t,e)),e}if(Object(g.isGradientObject)(t)){var n=Object(g.extend)({},t);return n.colorStops=Object(g.map)(t.colorStops,function(t){return{offset:t.offset,color:Le.lift(t.color,-.1)}}),n}return t}function Ya(t,e,n){t.onHoverStateChange&&(t.hoverState||0)!==n&&t.onHoverStateChange(e),t.hoverState=n}function Xa(t){Ya(t,"emphasis",Pa)}function qa(t){t.hoverState===Pa&&Ya(t,"normal",La)}function Za(t){Ya(t,"blur",Fa)}function Ja(t){t.hoverState===Fa&&Ya(t,"normal",La)}function ts(t){t.selected=!0}function es(t){t.selected=!1}function ns(t,e,n){e(t,n)}function is(t,e,n){ns(t,e,n),t.isGroup&&t.traverse(function(t){ns(t,e,n)})}function rs(t,e){switch(e){case"emphasis":t.hoverState=Pa;break;case"normal":t.hoverState=La;break;case"blur":t.hoverState=Fa;break;case"select":t.selected=!0}}function os(t,e){var n=this.states[t];if(this.style){if("emphasis"===t)return function(t,e,n,i){var r=n&&Object(g.indexOf)(n,"select")>=0,o=!1;if(t instanceof Xo){var a=Ma(t),s=r&&a.selectFill||a.normalFill,l=r&&a.selectStroke||a.normalStroke;if(Ga(s)||Ga(l)){var c=(i=i||{}).style||{};"inherit"===c.fill?(o=!0,i=Object(g.extend)({},i),(c=Object(g.extend)({},c)).fill=s):!Ga(c.fill)&&Ga(s)?(o=!0,i=Object(g.extend)({},i),(c=Object(g.extend)({},c)).fill=Ka(s)):!Ga(c.stroke)&&Ga(l)&&(o||(i=Object(g.extend)({},i),c=Object(g.extend)({},c)),c.stroke=Ka(l)),i.style=c}}if(i&&null==i.z2){o||(i=Object(g.extend)({},i));var u=t.z2EmphasisLift;i.z2=t.z2+(null!=u?u:Ua)}return i}(this,0,e,n);if("blur"===t)return function(t,e,n){var i=Object(g.indexOf)(t.currentStates,e)>=0,r=t.style.opacity,o=i?null:function(t,e,n,i){for(var r=t.style,o={},a=0;a<e.length;a++){var s=e[a],l=r[s];o[s]=null==l?i&&i[s]:l}for(a=0;a<t.animators.length;a++){var c=t.animators[a];c.__fromStateTransition&&c.__fromStateTransition.indexOf(n)<0&&"style"===c.targetName&&c.saveTo(o,e)}return o}(t,["opacity"],e,{opacity:1}),a=(n=n||{}).style||{};return null==a.opacity&&(n=Object(g.extend)({},n),a=Object(g.extend)({opacity:i?r:.1*o.opacity},a),n.style=a),n}(this,t,n);if("select"===t)return function(t,e,n){if(n&&null==n.z2){n=Object(g.extend)({},n);var i=t.z2SelectLift;n.z2=t.z2+(null!=i?i:Ra)}return n}(this,0,n)}return n}function as(t){t.stateProxy=os;var e=t.getTextContent(),n=t.getTextGuideLine();e&&(e.stateProxy=os),n&&(n.stateProxy=os)}function ss(t,e){!As(t,e)&&!t.__highByOuter&&is(t,Xa)}function ls(t,e){!As(t,e)&&!t.__highByOuter&&is(t,qa)}function cs(t,e){t.__highByOuter|=1<<(e||0),is(t,Xa)}function us(t,e){!(t.__highByOuter&=~(1<<(e||0)))&&is(t,qa)}function hs(t){is(t,Za)}function ds(t){is(t,Ja)}function fs(t){is(t,ts)}function ps(t){is(t,es)}function As(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function gs(t){var e=t.getModel(),n=[],i=[];e.eachComponent(function(e,r){var o=Da(r),a="series"===e,s=a?t.getViewOfSeriesModel(r):t.getViewOfComponentModel(r);!a&&i.push(s),o.isBlured&&(s.group.traverse(function(t){Ja(t)}),a&&n.push(r)),o.isBlured=!1}),Object(g.each)(i,function(t){t&&t.toggleBlurSeries&&t.toggleBlurSeries(n,!1,e)})}function vs(t,e,n,i){var r=i.getModel();function o(t,e){for(var n=0;n<e.length;n++){var i=t.getItemGraphicEl(e[n]);i&&ds(i)}}if(n=n||"coordinateSystem",null!=t&&e&&"none"!==e){var a=r.getSeriesByIndex(t),s=a.coordinateSystem;s&&s.master&&(s=s.master);var l=[];r.eachSeries(function(t){var r=a===t,c=t.coordinateSystem;if(c&&c.master&&(c=c.master),!("series"===n&&!r||"coordinateSystem"===n&&!(c&&s?c===s:r)||"series"===e&&r)){if(i.getViewOfSeriesModel(t).group.traverse(function(t){Za(t)}),Object(g.isArrayLike)(e))o(t.getData(),e);else if(Object(g.isObject)(e))for(var u=Object(g.keys)(e),h=0;h<u.length;h++)o(t.getData(u[h]),e[u[h]]);l.push(t),Da(t).isBlured=!0}}),r.eachComponent(function(t,e){if("series"!==t){var n=i.getViewOfComponentModel(e);n&&n.toggleBlurSeries&&n.toggleBlurSeries(l,!0,r)}})}}function ms(t,e,n){if(null!=t&&null!=e){var i=n.getModel().getComponent(t,e);if(i){Da(i).isBlured=!0;var r=n.getViewOfComponentModel(i);r&&r.focusBlurEnabled&&r.group.traverse(function(t){Za(t)})}}}function ys(t,e,n,i){var r={focusSelf:!1,dispatchers:null};if(null==t||"series"===t||null==e||null==n)return r;var o=i.getModel().getComponent(t,e);if(!o)return r;var a=i.getViewOfComponentModel(o);if(!a||!a.findHighDownDispatchers)return r;for(var s,l=a.findHighDownDispatchers(n),c=0;c<l.length;c++)if("self"===Ta(l[c]).focus){s=!0;break}return{focusSelf:s,dispatchers:l}}function bs(t){var e=t.getAllData();Object(g.each)(e,function(e){var n=e.data,i=e.type;n.eachItemGraphicEl(function(e,n){t.isSelected(n,i)?fs(e):ps(e)})})}function _s(t,e,n){ks(t,!0),is(t,as),xs(t,e,n)}function ws(t,e,n,i){i?function(t){ks(t,!1)}(t):_s(t,e,n)}function xs(t,e,n){var i=Ta(t);null!=e?(i.focus=e,i.blurScope=n):i.focus&&(i.focus=null)}var Cs=["emphasis","blur","select"],Ss={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function Bs(t,e,n,i){n=n||"itemStyle";for(var r=0;r<Cs.length;r++){var o=Cs[r],a=e.getModel([o,n]);t.ensureState(o).style=i?i(a):a[Ss[n]]()}}function ks(t,e){var n=!1===e,i=t;t.highDownSilentOnTouch&&(i.__highDownSilentOnTouch=t.highDownSilentOnTouch),n&&!i.__highDownDispatcher||(i.__highByOuter=i.__highByOuter||0,i.__highDownDispatcher=!n)}function Ts(t){return!(!t||!t.__highDownDispatcher)}function Os(t){var e=t.type;return e===Va||e===za||e===$a}function Es(t){var e=t.type;return e===Qa||e===Ha}var Is=Oo.CMD,Ms=[[],[],[]],Ds=Math.sqrt,Ls=Math.atan2;function Fs(t,e){if(e){var n,i,r,o,a,s,l=t.data,c=t.len(),u=Is.M,h=Is.C,d=Is.L,f=Is.R,p=Is.A,A=Is.Q;for(r=0,o=0;r<c;){switch(n=l[r++],o=r,i=0,n){case u:case d:i=1;break;case h:i=3;break;case A:i=2;break;case p:var g=e[4],v=e[5],m=Ds(e[0]*e[0]+e[1]*e[1]),y=Ds(e[2]*e[2]+e[3]*e[3]),b=Ls(-e[1]/y,e[0]/m);l[r]*=m,l[r++]+=g,l[r]*=y,l[r++]+=v,l[r++]*=m,l[r++]*=y,l[r++]+=b,l[r++]+=b,o=r+=2;break;case f:s[0]=l[r++],s[1]=l[r++],U(s,s,e),l[o++]=s[0],l[o++]=s[1],s[0]+=l[r++],s[1]+=l[r++],U(s,s,e),l[o++]=s[0],l[o++]=s[1]}for(a=0;a<i;a++){var _=Ms[a];_[0]=l[r++],_[1]=l[r++],U(_,_,e),l[o++]=_[0],l[o++]=_[1]}}t.increaseVersion()}}var Ps=Math.sqrt,Ns=Math.sin,js=Math.cos,Us=Math.PI;function Rs(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function Qs(t,e){return(t[0]*e[0]+t[1]*e[1])/(Rs(t)*Rs(e))}function Hs(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(Qs(t,e))}function Vs(t,e,n,i,r,o,a,s,l,c,u){var h=l*(Us/180),d=js(h)*(t-n)/2+Ns(h)*(e-i)/2,f=-1*Ns(h)*(t-n)/2+js(h)*(e-i)/2,p=d*d/(a*a)+f*f/(s*s);p>1&&(a*=Ps(p),s*=Ps(p));var A=(r===o?-1:1)*Ps((a*a*(s*s)-a*a*(f*f)-s*s*(d*d))/(a*a*(f*f)+s*s*(d*d)))||0,g=A*a*f/s,v=A*-s*d/a,m=(t+n)/2+js(h)*g-Ns(h)*v,y=(e+i)/2+Ns(h)*g+js(h)*v,b=Hs([1,0],[(d-g)/a,(f-v)/s]),_=[(d-g)/a,(f-v)/s],w=[(-1*d-g)/a,(-1*f-v)/s],x=Hs(_,w);if(Qs(_,w)<=-1&&(x=Us),Qs(_,w)>=1&&(x=0),x<0){var C=Math.round(x/Us*1e6)/1e6;x=2*Us+C%2*Us}u.addData(c,m,y,a,s,b,x,h,o)}var zs=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,$s=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;var Gs=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return p(e,t),e.prototype.applyTransform=function(t){},e}(Xo);function Ws(t){return null!=t.setData}function Ks(t,e){var n=function(t){var e=new Oo;if(!t)return e;var n,i=0,r=0,o=i,a=r,s=Oo.CMD,l=t.match(zs);if(!l)return e;for(var c=0;c<l.length;c++){for(var u=l[c],h=u.charAt(0),d=void 0,f=u.match($s)||[],p=f.length,A=0;A<p;A++)f[A]=parseFloat(f[A]);for(var g=0;g<p;){var v=void 0,m=void 0,y=void 0,b=void 0,_=void 0,w=void 0,x=void 0,C=i,S=r,B=void 0,k=void 0;switch(h){case"l":i+=f[g++],r+=f[g++],d=s.L,e.addData(d,i,r);break;case"L":i=f[g++],r=f[g++],d=s.L,e.addData(d,i,r);break;case"m":i+=f[g++],r+=f[g++],d=s.M,e.addData(d,i,r),o=i,a=r,h="l";break;case"M":i=f[g++],r=f[g++],d=s.M,e.addData(d,i,r),o=i,a=r,h="L";break;case"h":i+=f[g++],d=s.L,e.addData(d,i,r);break;case"H":i=f[g++],d=s.L,e.addData(d,i,r);break;case"v":r+=f[g++],d=s.L,e.addData(d,i,r);break;case"V":r=f[g++],d=s.L,e.addData(d,i,r);break;case"C":d=s.C,e.addData(d,f[g++],f[g++],f[g++],f[g++],f[g++],f[g++]),i=f[g-2],r=f[g-1];break;case"c":d=s.C,e.addData(d,f[g++]+i,f[g++]+r,f[g++]+i,f[g++]+r,f[g++]+i,f[g++]+r),i+=f[g-2],r+=f[g-1];break;case"S":v=i,m=r,B=e.len(),k=e.data,n===s.C&&(v+=i-k[B-4],m+=r-k[B-3]),d=s.C,C=f[g++],S=f[g++],i=f[g++],r=f[g++],e.addData(d,v,m,C,S,i,r);break;case"s":v=i,m=r,B=e.len(),k=e.data,n===s.C&&(v+=i-k[B-4],m+=r-k[B-3]),d=s.C,C=i+f[g++],S=r+f[g++],i+=f[g++],r+=f[g++],e.addData(d,v,m,C,S,i,r);break;case"Q":C=f[g++],S=f[g++],i=f[g++],r=f[g++],d=s.Q,e.addData(d,C,S,i,r);break;case"q":C=f[g++]+i,S=f[g++]+r,i+=f[g++],r+=f[g++],d=s.Q,e.addData(d,C,S,i,r);break;case"T":v=i,m=r,B=e.len(),k=e.data,n===s.Q&&(v+=i-k[B-4],m+=r-k[B-3]),i=f[g++],r=f[g++],d=s.Q,e.addData(d,v,m,i,r);break;case"t":v=i,m=r,B=e.len(),k=e.data,n===s.Q&&(v+=i-k[B-4],m+=r-k[B-3]),i+=f[g++],r+=f[g++],d=s.Q,e.addData(d,v,m,i,r);break;case"A":y=f[g++],b=f[g++],_=f[g++],w=f[g++],x=f[g++],Vs(C=i,S=r,i=f[g++],r=f[g++],w,x,y,b,_,d=s.A,e);break;case"a":y=f[g++],b=f[g++],_=f[g++],w=f[g++],x=f[g++],Vs(C=i,S=r,i+=f[g++],r+=f[g++],w,x,y,b,_,d=s.A,e)}}"z"!==h&&"Z"!==h||(d=s.Z,e.addData(d),i=o,r=a),n=d}return e.toStatic(),e}(t),i=Object(g.extend)({},e);return i.buildPath=function(t){if(Ws(t)){t.setData(n.data),(e=t.getContext())&&t.rebuildPath(e,1)}else{var e=t;n.rebuildPath(e,1)}},i.applyTransform=function(t){Fs(n,t),this.dirtyShape()},i}function Ys(t,e){return new Gs(Ks(t,e))}function Xs(t,e){e=e||{};var n=new Xo;return t.shape&&n.setShape(t.shape),n.setStyle(t.style),e.bakeTransform?Fs(n.path,t.getComputedTransform()):e.toLocal?n.setLocalTransform(t.getComputedTransform()):n.copyTransform(t),n.buildPath=t.buildPath,n.applyTransform=n.applyTransform,n.z=t.z,n.z2=t.z2,n.zlevel=t.zlevel,n}var qs=function(){return function(){this.cx=0,this.cy=0,this.r=0}}(),Zs=function(t){function e(e){return t.call(this,e)||this}return p(e,t),e.prototype.getDefaultShape=function(){return new qs},e.prototype.buildPath=function(t,e){t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI)},e}(Xo);Zs.prototype.type="circle";var Js=Zs,tl=function(){return function(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}}(),el=function(t){function e(e){return t.call(this,e)||this}return p(e,t),e.prototype.getDefaultShape=function(){return new tl},e.prototype.buildPath=function(t,e){var n=.5522848,i=e.cx,r=e.cy,o=e.rx,a=e.ry,s=o*n,l=a*n;t.moveTo(i-o,r),t.bezierCurveTo(i-o,r-l,i-s,r-a,i,r-a),t.bezierCurveTo(i+s,r-a,i+o,r-l,i+o,r),t.bezierCurveTo(i+o,r+l,i+s,r+a,i,r+a),t.bezierCurveTo(i-s,r+a,i-o,r+l,i-o,r),t.closePath()},e}(Xo);el.prototype.type="ellipse";var nl=el,il=Math.PI,rl=2*il,ol=Math.sin,al=Math.cos,sl=Math.acos,ll=Math.atan2,cl=Math.abs,ul=Math.sqrt,hl=Math.max,dl=Math.min,fl=1e-4;function pl(t,e,n,i,r,o,a){var s=t-n,l=e-i,c=(a?o:-o)/ul(s*s+l*l),u=c*l,h=-c*s,d=t+u,f=e+h,p=n+u,A=i+h,g=(d+p)/2,v=(f+A)/2,m=p-d,y=A-f,b=m*m+y*y,_=r-o,w=d*A-p*f,x=(y<0?-1:1)*ul(hl(0,_*_*b-w*w)),C=(w*y-m*x)/b,S=(-w*m-y*x)/b,B=(w*y+m*x)/b,k=(-w*m+y*x)/b,T=C-g,O=S-v,E=B-g,I=k-v;return T*T+O*O>E*E+I*I&&(C=B,S=k),{cx:C,cy:S,x0:-u,y0:-h,x1:C*(r/_-1),y1:S*(r/_-1)}}function Al(t,e){var n,i=hl(e.r,0),r=hl(e.r0||0,0),o=i>0;if(o||r>0){if(o||(i=r,r=0),r>i){var a=i;i=r,r=a}var s=e.startAngle,l=e.endAngle;if(!isNaN(s)&&!isNaN(l)){var c=e.cx,u=e.cy,h=!!e.clockwise,d=cl(l-s),f=d>rl&&d%rl;if(f>fl&&(d=f),i>fl)if(d>rl-fl)t.moveTo(c+i*al(s),u+i*ol(s)),t.arc(c,u,i,s,l,!h),r>fl&&(t.moveTo(c+r*al(l),u+r*ol(l)),t.arc(c,u,r,l,s,h));else{var p=void 0,A=void 0,v=void 0,m=void 0,y=void 0,b=void 0,_=void 0,w=void 0,x=void 0,C=void 0,S=void 0,B=void 0,k=void 0,T=void 0,O=void 0,E=void 0,I=i*al(s),M=i*ol(s),D=r*al(l),L=r*ol(l),F=d>fl;if(F){var P=e.cornerRadius;P&&(p=(n=function(t){var e;if(Object(g.isArray)(t)){var n=t.length;if(!n)return t;e=1===n?[t[0],t[0],0,0]:2===n?[t[0],t[0],t[1],t[1]]:3===n?t.concat(t[2]):t}else e=[t,t,t,t];return e}(P))[0],A=n[1],v=n[2],m=n[3]);var N=cl(i-r)/2;if(y=dl(N,v),b=dl(N,m),_=dl(N,p),w=dl(N,A),S=x=hl(y,b),B=C=hl(_,w),(x>fl||C>fl)&&(k=i*al(l),T=i*ol(l),O=r*al(s),E=r*ol(s),d<il)){var j=function(t,e,n,i,r,o,a,s){var l=n-t,c=i-e,u=a-r,h=s-o,d=h*l-u*c;if(!(d*d<fl))return[t+(d=(u*(e-o)-h*(t-r))/d)*l,e+d*c]}(I,M,O,E,k,T,D,L);if(j){var U=I-j[0],R=M-j[1],Q=k-j[0],H=T-j[1],V=1/ol(sl((U*Q+R*H)/(ul(U*U+R*R)*ul(Q*Q+H*H)))/2),z=ul(j[0]*j[0]+j[1]*j[1]);S=dl(x,(i-z)/(V+1)),B=dl(C,(r-z)/(V-1))}}}if(F)if(S>fl){var $=dl(v,S),G=dl(m,S),W=pl(O,E,I,M,i,$,h),K=pl(k,T,D,L,i,G,h);t.moveTo(c+W.cx+W.x0,u+W.cy+W.y0),S<x&&$===G?t.arc(c+W.cx,u+W.cy,S,ll(W.y0,W.x0),ll(K.y0,K.x0),!h):($>0&&t.arc(c+W.cx,u+W.cy,$,ll(W.y0,W.x0),ll(W.y1,W.x1),!h),t.arc(c,u,i,ll(W.cy+W.y1,W.cx+W.x1),ll(K.cy+K.y1,K.cx+K.x1),!h),G>0&&t.arc(c+K.cx,u+K.cy,G,ll(K.y1,K.x1),ll(K.y0,K.x0),!h))}else t.moveTo(c+I,u+M),t.arc(c,u,i,s,l,!h);else t.moveTo(c+I,u+M);if(r>fl&&F)if(B>fl){$=dl(p,B),W=pl(D,L,k,T,r,-(G=dl(A,B)),h),K=pl(I,M,O,E,r,-$,h);t.lineTo(c+W.cx+W.x0,u+W.cy+W.y0),B<C&&$===G?t.arc(c+W.cx,u+W.cy,B,ll(W.y0,W.x0),ll(K.y0,K.x0),!h):(G>0&&t.arc(c+W.cx,u+W.cy,G,ll(W.y0,W.x0),ll(W.y1,W.x1),!h),t.arc(c,u,r,ll(W.cy+W.y1,W.cx+W.x1),ll(K.cy+K.y1,K.cx+K.x1),h),$>0&&t.arc(c+K.cx,u+K.cy,$,ll(K.y1,K.x1),ll(K.y0,K.x0),!h))}else t.lineTo(c+D,u+L),t.arc(c,u,r,l,s,h);else t.lineTo(c+D,u+L)}else t.moveTo(c,u);t.closePath()}}}var gl=function(){return function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0}}(),vl=function(t){function e(e){return t.call(this,e)||this}return p(e,t),e.prototype.getDefaultShape=function(){return new gl},e.prototype.buildPath=function(t,e){Al(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(Xo);vl.prototype.type="sector";var ml=vl,yl=function(){return function(){this.cx=0,this.cy=0,this.r=0,this.r0=0}}(),bl=function(t){function e(e){return t.call(this,e)||this}return p(e,t),e.prototype.getDefaultShape=function(){return new yl},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=2*Math.PI;t.moveTo(n+e.r,i),t.arc(n,i,e.r,0,r,!1),t.moveTo(n+e.r0,i),t.arc(n,i,e.r0,0,r,!0)},e}(Xo);bl.prototype.type="ring";var _l=bl;function wl(t,e,n){var i=e.smooth,r=e.points;if(r&&r.length>=2){if(i){var o=function(t,e,n,i){var r,o,a,s,l=[],c=[],u=[],h=[];if(i){a=[1/0,1/0],s=[-1/0,-1/0];for(var d=0,f=t.length;d<f;d++)R(a,a,t[d]),Q(s,s,t[d]);R(a,a,i[0]),Q(s,s,i[1])}for(d=0,f=t.length;d<f;d++){var p=t[d];if(n)r=t[d?d-1:f-1],o=t[(d+1)%f];else{if(0===d||d===f-1){l.push(y(t[d]));continue}r=t[d-1],o=t[d+1]}x(c,o,r),I(c,c,e);var A=D(p,r),g=D(p,o),v=A+g;0!==v&&(A/=v,g/=v),I(u,c,-A),I(h,c,g);var m=_([],p,u),b=_([],p,h);i&&(Q(m,m,a),R(m,m,s),Q(b,b,a),R(b,b,s)),l.push(m),l.push(b)}return n&&l.push(l.shift()),l}(r,i,n,e.smoothConstraint);t.moveTo(r[0][0],r[0][1]);for(var a=r.length,s=0;s<(n?a:a-1);s++){var l=o[2*s],c=o[2*s+1],u=r[(s+1)%a];t.bezierCurveTo(l[0],l[1],c[0],c[1],u[0],u[1])}}else{t.moveTo(r[0][0],r[0][1]);s=1;for(var h=r.length;s<h;s++)t.lineTo(r[s][0],r[s][1])}n&&t.closePath()}}var xl=function(){return function(){this.points=null,this.smooth=0,this.smoothConstraint=null}}(),Cl=function(t){function e(e){return t.call(this,e)||this}return p(e,t),e.prototype.getDefaultShape=function(){return new xl},e.prototype.buildPath=function(t,e){wl(t,e,!0)},e}(Xo);Cl.prototype.type="polygon";var Sl=Cl,Bl=function(){return function(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}}(),kl=function(t){function e(e){return t.call(this,e)||this}return p(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Bl},e.prototype.buildPath=function(t,e){wl(t,e,!1)},e}(Xo);kl.prototype.type="polyline";var Tl=kl,Ol={},El=function(){return function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}}(),Il=function(t){function e(e){return t.call(this,e)||this}return p(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new El},e.prototype.buildPath=function(t,e){var n,i,r,o;if(this.subPixelOptimize){var a=oa(Ol,e,this.style);n=a.x1,i=a.y1,r=a.x2,o=a.y2}else n=e.x1,i=e.y1,r=e.x2,o=e.y2;var s=e.percent;0!==s&&(t.moveTo(n,i),s<1&&(r=n*(1-s)+r*s,o=i*(1-s)+o*s),t.lineTo(r,o))},e.prototype.pointAt=function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]},e}(Xo);Il.prototype.type="line";var Ml=Il,Dl=[],Ll=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 Fl(t,e,n){var i=t.cpx2,r=t.cpy2;return null!=i||null!=r?[(n?ye:me)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?ye:me)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?Be:Se)(t.x1,t.cpx1,t.x2,e),(n?Be:Se)(t.y1,t.cpy1,t.y2,e)]}var Pl=function(t){function e(e){return t.call(this,e)||this}return p(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Ll},e.prototype.buildPath=function(t,e){var n=e.x1,i=e.y1,r=e.x2,o=e.y2,a=e.cpx1,s=e.cpy1,l=e.cpx2,c=e.cpy2,u=e.percent;0!==u&&(t.moveTo(n,i),null==l||null==c?(u<1&&(Te(n,a,r,u,Dl),a=Dl[1],r=Dl[2],Te(i,s,o,u,Dl),s=Dl[1],o=Dl[2]),t.quadraticCurveTo(a,s,r,o)):(u<1&&(we(n,a,l,r,u,Dl),a=Dl[1],l=Dl[2],r=Dl[3],we(i,s,c,o,u,Dl),s=Dl[1],c=Dl[2],o=Dl[3]),t.bezierCurveTo(a,s,l,c,r,o)))},e.prototype.pointAt=function(t){return Fl(this.shape,t,!1)},e.prototype.tangentAt=function(t){var e=Fl(this.shape,t,!0);return M(e,e)},e}(Xo);Pl.prototype.type="bezier-curve";var Nl=Pl,jl=function(){return function(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0}}(),Ul=function(t){function e(e){return t.call(this,e)||this}return p(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new jl},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r,0),o=e.startAngle,a=e.endAngle,s=e.clockwise,l=Math.cos(o),c=Math.sin(o);t.moveTo(l*r+n,c*r+i),t.arc(n,i,r,o,a,!s)},e}(Xo);Ul.prototype.type="arc";var Rl=Ul,Ql=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="compound",e}return p(e,t),e.prototype._updatePathDirty=function(){for(var t=this.shape.paths,e=this.shapeChanged(),n=0;n<t.length;n++)e=e||t[n].shapeChanged();e&&this.dirtyShape()},e.prototype.beforeBrush=function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),n=0;n<t.length;n++)t[n].path||t[n].createPathProxy(),t[n].path.setScale(e[0],e[1],t[n].segmentIgnoreThreshold)},e.prototype.buildPath=function(t,e){for(var n=e.paths||[],i=0;i<n.length;i++)n[i].buildPath(t,n[i].shape,!0)},e.prototype.afterBrush=function(){for(var t=this.shape.paths||[],e=0;e<t.length;e++)t[e].pathUpdated()},e.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),Xo.prototype.getBoundingRect.call(this)},e}(Xo),Hl=function(){function t(t){this.colorStops=t||[]}return t.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},t}(),Vl=function(t){function e(e,n,i,r,o,a){var s=t.call(this,o)||this;return s.x=null==e?0:e,s.y=null==n?0:n,s.x2=null==i?1:i,s.y2=null==r?0:r,s.type="linear",s.global=a||!1,s}return p(e,t),e}(Hl),zl=function(t){function e(e,n,i,r,o){var a=t.call(this,r)||this;return a.x=null==e?.5:e,a.y=null==n?.5:n,a.r=null==i?.5:i,a.type="radial",a.global=o||!1,a}return p(e,t),e}(Hl),$l=[0,0],Gl=[0,0],Wl=new xt,Kl=new xt,Yl=function(){function t(t,e){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new xt;for(n=0;n<2;n++)this._axes[n]=new xt;t&&this.fromBoundingRect(t,e)}return t.prototype.fromBoundingRect=function(t,e){var n=this._corners,i=this._axes,r=t.x,o=t.y,a=r+t.width,s=o+t.height;if(n[0].set(r,o),n[1].set(a,o),n[2].set(a,s),n[3].set(r,s),e)for(var l=0;l<4;l++)n[l].transform(e);xt.sub(i[0],n[1],n[0]),xt.sub(i[1],n[3],n[0]),i[0].normalize(),i[1].normalize();for(l=0;l<2;l++)this._origin[l]=i[l].dot(n[0])},t.prototype.intersect=function(t,e){var n=!0,i=!e;return Wl.set(1/0,1/0),Kl.set(0,0),!this._intersectCheckOneSide(this,t,Wl,Kl,i,1)&&(n=!1,i)?n:!this._intersectCheckOneSide(t,this,Wl,Kl,i,-1)&&(n=!1,i)?n:(i||xt.copy(e,n?Wl:Kl),n)},t.prototype._intersectCheckOneSide=function(t,e,n,i,r,o){for(var a=!0,s=0;s<2;s++){var l=this._axes[s];if(this._getProjMinMaxOnAxis(s,t._corners,$l),this._getProjMinMaxOnAxis(s,e._corners,Gl),$l[1]<Gl[0]||$l[0]>Gl[1]){if(a=!1,r)return a;var c=Math.abs(Gl[0]-$l[1]),u=Math.abs($l[0]-Gl[1]);Math.min(c,u)>i.len()&&(c<u?xt.scale(i,l,-c*o):xt.scale(i,l,u*o))}else if(n){c=Math.abs(Gl[0]-$l[1]),u=Math.abs($l[0]-Gl[1]);Math.min(c,u)<n.len()&&(c<u?xt.scale(n,l,c*o):xt.scale(n,l,-u*o))}}return a},t.prototype._getProjMinMaxOnAxis=function(t,e,n){for(var i=this._axes[t],r=this._origin,o=e[0].dot(i)+r[t],a=o,s=o,l=1;l<e.length;l++){var c=e[l].dot(i)+r[t];a=Math.min(c,a),s=Math.max(c,s)}n[0]=a,n[1]=s},t}(),Xl=[],ql=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.notClear=!0,e.incremental=!0,e._displayables=[],e._temporaryDisplayables=[],e._cursor=0,e}return p(e,t),e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.useStyle=function(){this.style={}},e.prototype.getCursor=function(){return this._cursor},e.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},e.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},e.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},e.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.markRedraw()},e.prototype.addDisplayables=function(t,e){e=e||!1;for(var n=0;n<t.length;n++)this.addDisplayable(t[n],e)},e.prototype.getDisplayables=function(){return this._displayables},e.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},e.prototype.eachPendingDisplayable=function(t){for(var e=this._cursor;e<this._displayables.length;e++)t&&t(this._displayables[e]);for(e=0;e<this._temporaryDisplayables.length;e++)t&&t(this._temporaryDisplayables[e])},e.prototype.update=function(){this.updateTransform();for(var t=this._cursor;t<this._displayables.length;t++){(e=this._displayables[t]).parent=this,e.update(),e.parent=null}for(t=0;t<this._temporaryDisplayables.length;t++){var e;(e=this._temporaryDisplayables[t]).parent=this,e.update(),e.parent=null}},e.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new Mt(1/0,1/0,-1/0,-1/0),e=0;e<this._displayables.length;e++){var n=this._displayables[e],i=n.getBoundingRect().clone();n.needLocalTransform()&&i.applyTransform(n.getLocalTransform(Xl)),t.union(i)}this._rect=t}return this._rect},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e);if(this.getBoundingRect().contain(n[0],n[1]))for(var i=0;i<this._displayables.length;i++){if(this._displayables[i].contain(t,e))return!0}return!1},e}(Kr),Zl=tr();function Jl(t,e,n,i,r){var o;if(e&&e.ecModel){var a=e.ecModel.getUpdatePayload();o=a&&a.animation}var s="update"===t;if(e&&e.isAnimationEnabled()){var l=void 0,c=void 0,u=void 0;return i?(l=Object(g.retrieve2)(i.duration,200),c=Object(g.retrieve2)(i.easing,"cubicOut"),u=0):(l=e.getShallow(s?"animationDurationUpdate":"animationDuration"),c=e.getShallow(s?"animationEasingUpdate":"animationEasing"),u=e.getShallow(s?"animationDelayUpdate":"animationDelay")),o&&(null!=o.duration&&(l=o.duration),null!=o.easing&&(c=o.easing),null!=o.delay&&(u=o.delay)),Object(g.isFunction)(u)&&(u=u(n,r)),Object(g.isFunction)(l)&&(l=l(n)),{duration:l||0,delay:u,easing:c}}return null}function tc(t,e,n,i,r,o,a){var s,l=!1;Object(g.isFunction)(r)?(a=o,o=r,r=null):Object(g.isObject)(r)&&(o=r.cb,a=r.during,l=r.isFrom,s=r.removeOpt,r=r.dataIndex);var c="leave"===t;c||e.stopAnimation("leave");var u=Jl(t,i,r,c?s||{}:null,i&&i.getAnimationDelayParams?i.getAnimationDelayParams(e,r):null);if(u&&u.duration>0){var h=u.duration,d=u.delay,f=u.easing,p={duration:h,delay:d||0,easing:f,done:o,force:!!o||!!a,setToFinal:!c,scope:t,during:a};l?e.animateFrom(n,p):e.animateTo(n,p)}else e.stopAnimation(),!l&&e.attr(n),a&&a(1),o&&o()}function ec(t,e,n,i,r,o){tc("update",t,e,n,i,r,o)}function nc(t,e,n,i,r,o){tc("enter",t,e,n,i,r,o)}function ic(t){if(!t.__zr)return!0;for(var e=0;e<t.animators.length;e++){if("leave"===t.animators[e].scope)return!0}return!1}function rc(t,e,n,i,r,o){ic(t)||tc("leave",t,e,n,i,r,o)}function oc(t,e,n,i){t.removeTextContent(),t.removeTextGuideLine(),rc(t,{style:{opacity:0}},e,n,i)}function ac(t,e,n){function i(){t.parent&&t.parent.remove(t)}t.isGroup?t.traverse(function(t){t.isGroup||oc(t,e,n,i)}):oc(t,e,n,i)}function sc(t){Zl(t).oldStyle=t.style}var lc=Math.max,cc=Math.min,uc={};function hc(t){return Xo.extend(t)}var dc=function(t,e){var n=Ks(t,e);return function(t){function e(e){var i=t.call(this,e)||this;return i.applyTransform=n.applyTransform,i.buildPath=n.buildPath,i}return p(e,t),e}(Gs)};function fc(t,e){return dc(t,e)}function pc(t,e){uc[t]=e}function Ac(t){if(uc.hasOwnProperty(t))return uc[t]}function gc(t,e,n,i){var r=Ys(t,e);return n&&("center"===i&&(n=mc(n,r.getBoundingRect())),bc(r,n)),r}function vc(t,e,n){var i=new ia({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===n){var r={width:t.width,height:t.height};i.setStyle(mc(e,r))}}});return i}function mc(t,e){var n,i=e.width/e.height,r=t.height*i;return n=r<=t.width?t.height:(r=t.width)/i,{x:t.x+t.width/2-r/2,y:t.y+t.height/2-n/2,width:r,height:n}}var yc=function(t,e){for(var n=[],i=t.length,r=0;r<i;r++){var o=t[r];n.push(o.getUpdatedPathProxy(!0))}var a=new Xo(e);return a.createPathProxy(),a.buildPath=function(t){if(Ws(t)){t.appendPath(n);var e=t.getContext();e&&t.rebuildPath(e,1)}},a};function bc(t,e){if(t.applyTransform){var n=t.getBoundingRect().calculateTransform(e);t.applyTransform(n)}}function _c(t,e){return oa(t,t,{lineWidth:e}),t}function wc(t){return aa(t.shape,t.shape,t.style),t}var xc=sa;function Cc(t,e){for(var n=At([]);t&&t!==e;)vt(n,t.getLocalTransform(),n),t=t.parent;return n}function Sc(t,e,n){return e&&!Object(g.isArrayLike)(e)&&(e=Dn.getLocalTransform(e)),n&&(e=_t([],e)),U([],t,e)}function Bc(t,e,n){var i=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),r=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),o=["left"===t?-i:"right"===t?i:0,"top"===t?-r:"bottom"===t?r:0];return o=Sc(o,e,n),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function kc(t){return!t.isGroup}function Tc(t,e,n){if(t&&e){var i,r=(i={},t.traverse(function(t){kc(t)&&t.anid&&(i[t.anid]=t)}),i);e.traverse(function(t){if(kc(t)&&t.anid){var e=r[t.anid];if(e){var i=o(t);t.attr(o(e)),ec(t,i,n,Ta(t).dataIndex)}}})}function o(t){var e={x:t.x,y:t.y,rotation:t.rotation};return function(t){return null!=t.shape}(t)&&(e.shape=Object(g.extend)({},t.shape)),e}}function Oc(t,e){return Object(g.map)(t,function(t){var n=t[0];n=lc(n,e.x),n=cc(n,e.x+e.width);var i=t[1];return i=lc(i,e.y),[n,i=cc(i,e.y+e.height)]})}function Ec(t,e){var n=lc(t.x,e.x),i=cc(t.x+t.width,e.x+e.width),r=lc(t.y,e.y),o=cc(t.y+t.height,e.y+e.height);if(i>=n&&o>=r)return{x:n,y:r,width:i-n,height:o-r}}function Ic(t,e,n){var i=Object(g.extend)({rectHover:!0},e),r=i.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(r.image=t.slice(8),Object(g.defaults)(r,n),new ia(i)):gc(t.replace("path://",""),i,n,"center")}function Mc(t,e,n,i,r){for(var o=0,a=r[r.length-1];o<r.length;o++){var s=r[o];if(Dc(t,e,n,i,s[0],s[1],a[0],a[1]))return!0;a=s}}function Dc(t,e,n,i,r,o,a,s){var l,c=n-t,u=i-e,h=a-r,d=s-o,f=Lc(h,d,c,u);if((l=f)<=1e-6&&l>=-1e-6)return!1;var p=t-r,A=e-o,g=Lc(p,A,c,u)/f;if(g<0||g>1)return!1;var v=Lc(p,A,h,d)/f;return!(v<0||v>1)}function Lc(t,e,n,i){return t*i-n*e}function Fc(t){var e=t.itemTooltipOption,n=t.componentModel,i=t.itemName,r=Object(g.isString)(e)?{formatter:e}:e,o=n.mainType,a=n.componentIndex,s={componentType:o,name:i,$vars:["name"]};s[o+"Index"]=a;var l=t.formatterParamsExtra;l&&Object(g.each)(Object(g.keys)(l),function(t){Object(g.hasOwn)(s,t)||(s[t]=l[t],s.$vars.push(t))});var c=Ta(t.el);c.componentMainType=o,c.componentIndex=a,c.tooltipConfig={name:i,option:Object(g.defaults)({content:i,formatterParams:s},r)}}function Pc(t,e){var n;t.isGroup&&(n=e(t)),n||t.traverse(e)}function Nc(t,e){if(t)if(Object(g.isArray)(t))for(var n=0;n<t.length;n++)Pc(t[n],e);else Pc(t,e)}pc("circle",Js),pc("ellipse",nl),pc("sector",ml),pc("ring",_l),pc("polygon",Sl),pc("polyline",Tl),pc("rect",ha),pc("line",Ml),pc("bezierCurve",Nl),pc("arc",Rl);var jc={};function Uc(t,e){for(var n=0;n<Na.length;n++){var i=Na[n],r=e[i],o=t.ensureState(i);o.style=o.style||{},o.style.text=r}var a=t.currentStates.slice();t.clearStates(!0),t.setStyle({text:e.normal}),t.useStates(a,!0)}function Rc(t,e,n){var i,r=t.labelFetcher,o=t.labelDataIndex,a=t.labelDimIndex,s=e.normal;r&&(i=r.getFormattedLabel(o,"normal",null,a,s&&s.get("formatter"),null!=n?{interpolatedValue:n}:null)),null==i&&(i=Object(g.isFunction)(t.defaultText)?t.defaultText(o,t,n):t.defaultText);for(var l={normal:i},c=0;c<Na.length;c++){var u=Na[c],h=e[u];l[u]=Object(g.retrieve2)(r?r.getFormattedLabel(o,u,null,a,h&&h.get("formatter")):null,i)}return l}function Qc(t,e,n,i){n=n||jc;for(var r=t instanceof ka,o=!1,a=0;a<ja.length;a++){if((d=e[ja[a]])&&d.getShallow("show")){o=!0;break}}var s=r?t:t.getTextContent();if(o){r||(s||(s=new ka,t.setTextContent(s)),t.stateProxy&&(s.stateProxy=t.stateProxy));var l=Rc(n,e),c=e.normal,u=!!c.getShallow("show"),h=Vc(c,i&&i.normal,n,!1,!r);h.text=l.normal,r||t.setTextConfig(zc(c,n,!1));for(a=0;a<Na.length;a++){var d,f=Na[a];if(d=e[f]){var p=s.ensureState(f),A=!!Object(g.retrieve2)(d.getShallow("show"),u);if(A!==u&&(p.ignore=!A),p.style=Vc(d,i&&i[f],n,!0,!r),p.style.text=l[f],!r)t.ensureState(f).textConfig=zc(d,n,!0)}}s.silent=!!c.getShallow("silent"),null!=s.style.x&&(h.x=s.style.x),null!=s.style.y&&(h.y=s.style.y),s.ignore=!u,s.useStyle(h),s.dirty(),n.enableTextSetter&&(Xc(s).setLabelText=function(t){var i=Rc(n,e,t);Uc(s,i)})}else s&&(s.ignore=!0);t.dirty()}function Hc(t,e){e=e||"label";for(var n={normal:t.getModel(e)},i=0;i<Na.length;i++){var r=Na[i];n[r]=t.getModel([r,e])}return n}function Vc(t,e,n,i,r){var o={};return function(t,e,n,i,r){n=n||jc;var o,a=e.ecModel,s=a&&a.option.textStyle,l=function(t){var e;for(;t&&t!==t.ecModel;){var n=(t.option||jc).rich;if(n){e=e||{};for(var i=Object(g.keys)(n),r=0;r<i.length;r++){var o=i[r];e[o]=1}}t=t.parentModel}return e}(e);if(l)for(var c in o={},l)if(l.hasOwnProperty(c)){var u=e.getModel(["rich",c]);Kc(o[c]={},u,s,n,i,r,!1,!0)}o&&(t.rich=o);var h=e.get("overflow");h&&(t.overflow=h);var d=e.get("minMargin");null!=d&&(t.margin=d);Kc(t,e,s,n,i,r,!0,!1)}(o,t,n,i,r),e&&Object(g.extend)(o,e),o}function zc(t,e,n){e=e||{};var i,r={},o=t.getShallow("rotate"),a=Object(g.retrieve2)(t.getShallow("distance"),n?null:5),s=t.getShallow("offset");return"outside"===(i=t.getShallow("position")||(n?null:"inside"))&&(i=e.defaultOutsidePosition||"top"),null!=i&&(r.position=i),null!=s&&(r.offset=s),null!=o&&(o*=Math.PI/180,r.rotation=o),null!=a&&(r.distance=a),r.outsideFill="inherit"===t.get("color")?e.inheritColor||null:"auto",r}var $c=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],Gc=["align","lineHeight","width","height","tag","verticalAlign"],Wc=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function Kc(t,e,n,i,r,o,a,s){n=!r&&n||jc;var l=i&&i.inheritColor,c=e.getShallow("color"),u=e.getShallow("textBorderColor"),h=Object(g.retrieve2)(e.getShallow("opacity"),n.opacity);"inherit"!==c&&"auto"!==c||(c=l||null),"inherit"!==u&&"auto"!==u||(u=l||null),o||(c=c||n.color,u=u||n.textBorderColor),null!=c&&(t.fill=c),null!=u&&(t.stroke=u);var d=Object(g.retrieve2)(e.getShallow("textBorderWidth"),n.textBorderWidth);null!=d&&(t.lineWidth=d);var f=Object(g.retrieve2)(e.getShallow("textBorderType"),n.textBorderType);null!=f&&(t.lineDash=f);var p=Object(g.retrieve2)(e.getShallow("textBorderDashOffset"),n.textBorderDashOffset);null!=p&&(t.lineDashOffset=p),r||null!=h||s||(h=i&&i.defaultOpacity),null!=h&&(t.opacity=h),r||o||null==t.fill&&i.inheritColor&&(t.fill=i.inheritColor);for(var A=0;A<$c.length;A++){var v=$c[A];null!=(y=Object(g.retrieve2)(e.getShallow(v),n[v]))&&(t[v]=y)}for(A=0;A<Gc.length;A++){v=Gc[A];null!=(y=e.getShallow(v))&&(t[v]=y)}if(null==t.verticalAlign){var m=e.getShallow("baseline");null!=m&&(t.verticalAlign=m)}if(!a||!i.disableBox){for(A=0;A<Wc.length;A++){var y;v=Wc[A];null!=(y=e.getShallow(v))&&(t[v]=y)}var b=e.getShallow("borderType");null!=b&&(t.borderDash=b),"auto"!==t.backgroundColor&&"inherit"!==t.backgroundColor||!l||(t.backgroundColor=l),"auto"!==t.borderColor&&"inherit"!==t.borderColor||!l||(t.borderColor=l)}}function Yc(t,e){var n=e&&e.getModel("textStyle");return Object(g.trim)([t.fontStyle||n&&n.getShallow("fontStyle")||"",t.fontWeight||n&&n.getShallow("fontWeight")||"",(t.fontSize||n&&n.getShallow("fontSize")||12)+"px",t.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))}var Xc=tr();function qc(t,e,n,i){if(t){var r=Xc(t);r.prevValue=r.value,r.value=n;var o=e.normal;r.valueAnimation=o.get("valueAnimation"),r.valueAnimation&&(r.precision=o.get("precision"),r.defaultInterpolatedText=i,r.statesModels=e)}}function Zc(t,e,n,i,r){var o=Xc(t);if(o.valueAnimation&&o.prevValue!==o.value){var a=o.defaultInterpolatedText,s=Object(g.retrieve2)(o.interpolatedValue,o.prevValue),l=o.value;t.percent=0,(null==o.prevValue?nc:ec)(t,{percent:1},i,e,null,function(i){var c=cr(n,o.precision,s,l,i);o.interpolatedValue=1===i?null:c;var u=Rc({labelDataIndex:e,labelFetcher:r,defaultText:a?a(c):c+""},o.statesModels,c);Uc(t,u)})}}var Jc,tu,eu=["textStyle","color"],nu=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],iu=new ka,ru=function(){function t(){}return t.prototype.getTextColor=function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(eu):null)},t.prototype.getFont=function(){return Yc({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},t.prototype.getTextRect=function(t){for(var e={text:t,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},n=0;n<nu.length;n++)e[nu[n]]=this.getShallow(nu[n]);return iu.useStyle(e),iu.update(),iu.getBoundingRect()},t}(),ou=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],au=br(ou),su=function(){function t(){}return t.prototype.getLineStyle=function(t){return au(this,t)},t}(),lu=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],cu=br(lu),uu=function(){function t(){}return t.prototype.getItemStyle=function(t,e){return cu(this,t,e)},t}(),hu=function(){function t(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}return t.prototype.init=function(t,e,n){for(var i=[],r=3;r<arguments.length;r++)i[r-3]=arguments[r]},t.prototype.mergeOption=function(t,e){Object(g.merge)(this.option,t,!0)},t.prototype.get=function(t,e){return null==t?this.option:this._doGet(this.parsePath(t),!e&&this.parentModel)},t.prototype.getShallow=function(t,e){var n=this.option,i=null==n?n:n[t];if(null==i&&!e){var r=this.parentModel;r&&(i=r.getShallow(t))}return i},t.prototype.getModel=function(e,n){var i=null!=e,r=i?this.parsePath(e):null;return new t(i?this._doGet(r):this.option,n=n||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(r)),this.ecModel)},t.prototype.isEmpty=function(){return null==this.option},t.prototype.restoreData=function(){},t.prototype.clone=function(){return new(0,this.constructor)(Object(g.clone)(this.option))},t.prototype.parsePath=function(t){return"string"==typeof t?t.split("."):t},t.prototype.resolveParentPath=function(t){return t},t.prototype.isAnimationEnabled=function(){if(!A.a.node&&this.option){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},t.prototype._doGet=function(t,e){var n=this.option;if(!t)return n;for(var i=0;i<t.length&&(!t[i]||null!=(n=n&&"object"==typeof n?n[t[i]]:null));i++);return null==n&&e&&(n=e._doGet(this.resolveParentPath(t),e.parentModel)),n},t}();pr(hu),Jc=hu,tu=["__\0is_clz",gr++].join("_"),Jc.prototype[tu]=!0,Jc.isInstance=function(t){return!(!t||!t[tu])},Object(g.mixin)(hu,su),Object(g.mixin)(hu,uu),Object(g.mixin)(hu,wr),Object(g.mixin)(hu,ru);var du=hu,fu=Math.round(10*Math.random());function pu(t){return[t||"",fu++].join("_")}function Au(t,e){return g.merge(g.merge({},t,!0),e,!0)}var gu="ZH",vu="EN",mu=vu,yu={},bu={},_u=A.a.domSupported&&(document.documentElement.lang||navigator.language||navigator.browserLanguage).toUpperCase().indexOf(gu)>-1?gu:mu;function wu(t,e){t=t.toUpperCase(),bu[t]=new du(e),yu[t]=e}function xu(t){return bu[t]}wu(vu,{time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}}),wu(gu,{time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}});var Cu=1e3,Su=60*Cu,Bu=60*Su,ku=24*Bu,Tu=365*ku,Ou={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}"},Eu={year:"{yyyy}",month:"{yyyy}-{MM}",day:"{yyyy}-{MM}-{dd}",hour:"{yyyy}-{MM}-{dd} "+Ou.hour,minute:"{yyyy}-{MM}-{dd} "+Ou.minute,second:"{yyyy}-{MM}-{dd} "+Ou.second,millisecond:Ou.none},Iu=["year","month","day","hour","minute","second","millisecond"],Mu=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function Du(t,e){return"0000".substr(0,e-(t+="").length)+t}function Lu(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function Fu(t,e,n,i){var r=ki(t),o=r[ju(n)](),a=r[Uu(n)]()+1,s=Math.floor((a-1)/3)+1,l=r[Ru(n)](),c=r["get"+(n?"UTC":"")+"Day"](),u=r[Qu(n)](),h=(u-1)%12+1,d=r[Hu(n)](),f=r[Vu(n)](),p=r[zu(n)](),A=(i instanceof du?i:xu(i||_u)||bu[mu]).getModel("time"),g=A.get("month"),v=A.get("monthAbbr"),m=A.get("dayOfWeek"),y=A.get("dayOfWeekAbbr");return(e||"").replace(/{yyyy}/g,o+"").replace(/{yy}/g,o%100+"").replace(/{Q}/g,s+"").replace(/{MMMM}/g,g[a-1]).replace(/{MMM}/g,v[a-1]).replace(/{MM}/g,Du(a,2)).replace(/{M}/g,a+"").replace(/{dd}/g,Du(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,m[c]).replace(/{ee}/g,y[c]).replace(/{e}/g,c+"").replace(/{HH}/g,Du(u,2)).replace(/{H}/g,u+"").replace(/{hh}/g,Du(h+"",2)).replace(/{h}/g,h+"").replace(/{mm}/g,Du(d,2)).replace(/{m}/g,d+"").replace(/{ss}/g,Du(f,2)).replace(/{s}/g,f+"").replace(/{SSS}/g,Du(p,3)).replace(/{S}/g,p+"")}function Pu(t,e){var n=ki(t),i=n[Uu(e)]()+1,r=n[Ru(e)](),o=n[Qu(e)](),a=n[Hu(e)](),s=n[Vu(e)](),l=0===n[zu(e)](),c=l&&0===s,u=c&&0===a,h=u&&0===o,d=h&&1===r;return d&&1===i?"year":d?"month":h?"day":u?"hour":c?"minute":l?"second":"millisecond"}function Nu(t,e,n){var i=g.isNumber(t)?ki(t):t;switch(e=e||Pu(t,n)){case"year":return i[ju(n)]();case"half-year":return i[Uu(n)]()>=6?1:0;case"quarter":return Math.floor((i[Uu(n)]()+1)/4);case"month":return i[Uu(n)]();case"day":return i[Ru(n)]();case"half-day":return i[Qu(n)]()/24;case"hour":return i[Qu(n)]();case"minute":return i[Hu(n)]();case"second":return i[Vu(n)]();case"millisecond":return i[zu(n)]()}}function ju(t){return t?"getUTCFullYear":"getFullYear"}function Uu(t){return t?"getUTCMonth":"getMonth"}function Ru(t){return t?"getUTCDate":"getDate"}function Qu(t){return t?"getUTCHours":"getHours"}function Hu(t){return t?"getUTCMinutes":"getMinutes"}function Vu(t){return t?"getUTCSeconds":"getSeconds"}function zu(t){return t?"getUTCMilliseconds":"getMilliseconds"}function $u(t){return t?"setUTCFullYear":"setFullYear"}function Gu(t){return t?"setUTCMonth":"setMonth"}function Wu(t){return t?"setUTCDate":"setDate"}function Ku(t){return t?"setUTCHours":"setHours"}function Yu(t){return t?"setUTCMinutes":"setMinutes"}function Xu(t){return t?"setUTCSeconds":"setSeconds"}function qu(t){return t?"setUTCMilliseconds":"setMilliseconds"}function Zu(t,e,n,i,r,o,a,s){return new ka({style:{text:t,font:e,align:n,verticalAlign:i,padding:r,rich:o,overflow:a?"truncate":null,lineHeight:s}}).getBoundingRect()}function Ju(t){if(!Li(t))return g.isString(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function th(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,function(t,e){return e.toUpperCase()}),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var eh=g.normalizeCssArray;function nh(t,e,n){function i(t){return t&&g.trim(t)?t:"-"}function r(t){return!(null==t||isNaN(t)||!isFinite(t))}var o="time"===e,a=t instanceof Date;if(o||a){var s=o?ki(t):t;if(!isNaN(+s))return Fu(s,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",n);if(a)return"-"}if("ordinal"===e)return g.isStringSafe(t)?i(t):g.isNumber(t)&&r(t)?t+"":"-";var l=Di(t);return r(l)?Ju(l):g.isStringSafe(t)?i(t):"boolean"==typeof t?t+"":"-"}var ih=["a","b","c","d","e","f","g"],rh=function(t,e){return"{"+t+(null==e?"":e)+"}"};function oh(t,e,n){g.isArray(e)||(e=[e]);var i=e.length;if(!i)return"";for(var r=e[0].$vars||[],o=0;o<r.length;o++){var a=ih[o];t=t.replace(rh(a),rh(a,0))}for(var s=0;s<i;s++)for(var l=0;l<r.length;l++){var c=e[s][r[l]];t=t.replace(rh(ih[l],s),n?tt(c):c)}return t}function ah(t,e){var n=g.isString(t)?{color:t,extraCssText:e}:t||{},i=n.color,r=n.type;e=n.extraCssText;var o=n.renderMode||"html";return i?"html"===o?"subItem"===r?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+tt(i)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+tt(i)+";"+(e||"")+'"></span>':{renderMode:o,content:"{"+(n.markerId||"markerX")+"|} ",style:"subItem"===r?{width:4,height:4,borderRadius:2,backgroundColor:i}:{width:10,height:10,borderRadius:5,backgroundColor:i}}:""}function sh(t,e,n){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var i=ki(e),r=n?"getUTC":"get",o=i[r+"FullYear"](),a=i[r+"Month"]()+1,s=i[r+"Date"](),l=i[r+"Hours"](),c=i[r+"Minutes"](),u=i[r+"Seconds"](),h=i[r+"Milliseconds"]();return t=t.replace("MM",Du(a,2)).replace("M",a).replace("yyyy",o).replace("yy",Du(o%100+"",2)).replace("dd",Du(s,2)).replace("d",s).replace("hh",Du(l,2)).replace("h",l).replace("mm",Du(c,2)).replace("m",c).replace("ss",Du(u,2)).replace("s",u).replace("SSS",Du(h,3))}function lh(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t}function ch(t,e){return e=e||"transparent",g.isString(t)?t:g.isObject(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function uh(t,e){if("_blank"===e||"blank"===e){var n=window.open();n.opener=null,n.location.href=t}else window.open(t,e)}var hh=g.each,dh=["left","right","top","bottom","width","height"],fh=[["width","left","right"],["height","top","bottom"]];function ph(t,e,n,i,r){var o=0,a=0;null==i&&(i=1/0),null==r&&(r=1/0);var s=0;e.eachChild(function(l,c){var u,h,d=l.getBoundingRect(),f=e.childAt(c+1),p=f&&f.getBoundingRect();if("horizontal"===t){var A=d.width+(p?-p.x+d.x:0);(u=o+A)>i||l.newline?(o=0,u=A,a+=s+n,s=d.height):s=Math.max(s,d.height)}else{var g=d.height+(p?-p.y+d.y:0);(h=a+g)>r||l.newline?(o+=s+n,a=0,h=g,s=d.width):s=Math.max(s,d.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),"horizontal"===t?o=u+n:a=h+n)})}var Ah=ph;g.curry(ph,"vertical"),g.curry(ph,"horizontal");function gh(t,e,n){n=eh(n||0);var i=e.width,r=e.height,o=pi(t.left,i),a=pi(t.top,r),s=pi(t.right,i),l=pi(t.bottom,r),c=pi(t.width,i),u=pi(t.height,r),h=n[2]+n[0],d=n[1]+n[3],f=t.aspect;switch(isNaN(c)&&(c=i-s-d-o),isNaN(u)&&(u=r-l-h-a),null!=f&&(isNaN(c)&&isNaN(u)&&(f>i/r?c=.8*i:u=.8*r),isNaN(c)&&(c=f*u),isNaN(u)&&(u=c/f)),isNaN(o)&&(o=i-s-c-d),isNaN(a)&&(a=r-l-u-h),t.left||t.right){case"center":o=i/2-c/2-n[3];break;case"right":o=i-c-d}switch(t.top||t.bottom){case"middle":case"center":a=r/2-u/2-n[0];break;case"bottom":a=r-u-h}o=o||0,a=a||0,isNaN(c)&&(c=i-d-o-(s||0)),isNaN(u)&&(u=r-h-a-(l||0));var p=new Mt(o+n[3],a+n[0],c,u);return p.margin=n,p}function vh(t,e,n,i,r,o){var a,s=!r||!r.hv||r.hv[0],l=!r||!r.hv||r.hv[1],c=r&&r.boundingMode||"all";if((o=o||t).x=t.x,o.y=t.y,!s&&!l)return!1;if("raw"===c)a="group"===t.type?new Mt(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(a=t.getBoundingRect(),t.needLocalTransform()){var u=t.getLocalTransform();(a=a.clone()).applyTransform(u)}var h=gh(g.defaults({width:a.width,height:a.height},e),n,i),d=s?h.x-a.x:0,f=l?h.y-a.y:0;return"raw"===c?(o.x=d,o.y=f):(o.x+=d,o.y+=f),o===t&&t.markRedraw(),!0}function mh(t){var e=t.layoutMode||t.constructor.layoutMode;return g.isObject(e)?e:e?{type:e}:null}function yh(t,e,n){var i=n&&n.ignoreSize;!g.isArray(i)&&(i=[i,i]);var r=a(fh[0],0),o=a(fh[1],1);function a(n,r){var o={},a=0,c={},u=0;if(hh(n,function(e){c[e]=t[e]}),hh(n,function(t){s(e,t)&&(o[t]=c[t]=e[t]),l(o,t)&&a++,l(c,t)&&u++}),i[r])return l(e,n[1])?c[n[2]]=null:l(e,n[2])&&(c[n[1]]=null),c;if(2!==u&&a){if(a>=2)return o;for(var h=0;h<n.length;h++){var d=n[h];if(!s(o,d)&&s(t,d)){o[d]=t[d];break}}return o}return c}function s(t,e){return t.hasOwnProperty(e)}function l(t,e){return null!=t[e]&&"auto"!==t[e]}function c(t,e,n){hh(t,function(t){e[t]=n[t]})}c(fh[0],t,r),c(fh[1],t,o)}function bh(t){return _h({},t)}function _h(t,e){return e&&t&&hh(dh,function(n){e.hasOwnProperty(n)&&(t[n]=e[n])}),t}var wh=tr(),xh=function(t){function e(e,n,i){var r=t.call(this,e,n,i)||this;return r.uid=pu("ec_cpt_model"),r}var n;return p(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=mh(this),i=n?bh(t):{},r=e.getTheme();g.merge(t,r.get(this.mainType)),g.merge(t,this.getDefaultOption()),n&&yh(t,i,n)},e.prototype.mergeOption=function(t,e){g.merge(this.option,t,!0);var n=mh(this);n&&yh(this.option,t,n)},e.prototype.optionUpdated=function(t,e){},e.prototype.getDefaultOption=function(){var t=this.constructor;if(!function(t){return!(!t||!t[dr])}(t))return t.defaultOption;var e=wh(this);if(!e.defaultOption){for(var n=[],i=t;i;){var r=i.prototype.defaultOption;r&&n.push(r),i=i.superClass}for(var o={},a=n.length-1;a>=0;a--)o=g.merge(o,n[a],!0);e.defaultOption=o}return e.defaultOption},e.prototype.getReferringComponents=function(t,e){var n=t+"Index",i=t+"Id";return ar(this.ecModel,t,{index:this.get(n,!0),id:this.get(i,!0)},e)},e.prototype.getBoxLayoutParams=function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}},e.prototype.getZLevelKey=function(){return""},e.prototype.setZLevel=function(t){this.option.zlevel=t},e.protoInitialize=((n=e.prototype).type="component",n.id="",n.name="",n.mainType="",n.subType="",void(n.componentIndex=0)),e}(du);Ar(xh,du),yr(xh),function(t){var e={};t.registerSubTypeDefaulter=function(t,n){var i=fr(t);e[i.main]=n},t.determineSubType=function(n,i){var r=i.type;if(!r){var o=fr(n).main;t.hasSubTypes(n)&&e[o]&&(r=e[o](i))}return r}}(xh),function(t,e){function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}t.topologicalTravel=function(t,i,r,o){if(t.length){var a=function(t){var i={},r=[];return g.each(t,function(o){var a=n(i,o),s=function(t,e){var n=[];return g.each(t,function(t){g.indexOf(e,t)>=0&&n.push(t)}),n}(a.originalDeps=e(o),t);a.entryCount=s.length,0===a.entryCount&&r.push(o),g.each(s,function(t){g.indexOf(a.predecessor,t)<0&&a.predecessor.push(t);var e=n(i,t);g.indexOf(e.successor,t)<0&&e.successor.push(o)})}),{graph:i,noEntryList:r}}(i),s=a.graph,l=a.noEntryList,c={};for(g.each(t,function(t){c[t]=!0});l.length;){var u=l.pop(),h=s[u],d=!!c[u];d&&(r.call(o,u,h.originalDeps.slice()),delete c[u]),g.each(h.successor,d?p:f)}g.each(c,function(){var t="";throw new Error(t)})}function f(t){s[t].entryCount--,0===s[t].entryCount&&l.push(t)}function p(t){c[t]=!0,f(t)}}}(xh,function(t){var e=[];g.each(xh.getClassesByMainType(t),function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])}),e=g.map(e,function(t){return fr(t).main}),"dataset"!==t&&g.indexOf(e,"dataset")<=0&&e.unshift("dataset");return e});var Ch=xh,Sh="";"undefined"!=typeof navigator&&(Sh=navigator.platform||"");var Bh="rgba(0, 0, 0, 0.2)",kh={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:Bh,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Bh,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Bh,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Bh,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Bh,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Bh,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:Sh.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1},Th=Object(g.createHashMap)(["tooltip","label","itemName","itemId","itemGroupId","seriesName"]),Oh="original",Eh="arrayRows",Ih="objectRows",Mh="keyedColumns",Dh="typedArray",Lh="unknown",Fh="column",Ph="row",Nh={Must:1,Might:2,Not:3},jh=tr();function Uh(t,e,n){var i={},r=Qh(e);if(!r||!t)return i;var o,a,s=[],l=[],c=e.ecModel,u=jh(c).datasetMap,h=r.uid+"_"+n.seriesLayoutBy;t=t.slice(),Object(g.each)(t,function(e,n){var r=Object(g.isObject)(e)?e:t[n]={name:e};"ordinal"===r.type&&null==o&&(o=n,a=p(r)),i[r.name]=[]});var d=u.get(h)||u.set(h,{categoryWayDim:a,valueWayDim:0});function f(t,e,n){for(var i=0;i<n;i++)t.push(e+i)}function p(t){var e=t.dimsDef;return e?e.length:1}return Object(g.each)(t,function(t,e){var n=t.name,r=p(t);if(null==o){var a=d.valueWayDim;f(i[n],a,r),f(l,a,r),d.valueWayDim+=r}else if(o===e)f(i[n],0,r),f(s,0,r);else{a=d.categoryWayDim;f(i[n],a,r),f(l,a,r),d.categoryWayDim+=r}}),s.length&&(i.itemName=s),l.length&&(i.seriesName=l),i}function Rh(t,e,n){var i={};if(!Qh(t))return i;var r,o=e.sourceFormat,a=e.dimensionsDefine;o!==Ih&&o!==Mh||Object(g.each)(a,function(t,e){"name"===(Object(g.isObject)(t)?t.name:t)&&(r=e)});var s=function(){for(var t={},i={},s=[],l=0,c=Math.min(5,n);l<c;l++){var u=Vh(e.data,o,e.seriesLayoutBy,a,e.startIndex,l);s.push(u);var h=u===Nh.Not;if(h&&null==t.v&&l!==r&&(t.v=l),(null==t.n||t.n===t.v||!h&&s[t.n]===Nh.Not)&&(t.n=l),d(t)&&s[t.n]!==Nh.Not)return t;h||(u===Nh.Might&&null==i.v&&l!==r&&(i.v=l),null!=i.n&&i.n!==i.v||(i.n=l))}function d(t){return null!=t.v&&null!=t.n}return d(t)?t:d(i)?i:null}();if(s){i.value=[s.v];var l=null!=r?r:s.n;i.itemName=[l],i.seriesName=[l]}return i}function Qh(t){if(!t.get("data",!0))return ar(t.ecModel,"dataset",{index:t.get("datasetIndex",!0),id:t.get("datasetId",!0)},rr).models[0]}function Hh(t,e){return Vh(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}function Vh(t,e,n,i,r,o){var a,s,l;if(Object(g.isTypedArray)(t))return Nh.Not;if(i){var c=i[o];Object(g.isObject)(c)?(s=c.name,l=c.type):Object(g.isString)(c)&&(s=c)}if(null!=l)return"ordinal"===l?Nh.Must:Nh.Not;if(e===Eh){var u=t;if(n===Ph){for(var h=u[o],d=0;d<(h||[]).length&&d<5;d++)if(null!=(a=b(h[r+d])))return a}else for(d=0;d<u.length&&d<5;d++){var f=u[r+d];if(f&&null!=(a=b(f[o])))return a}}else if(e===Ih){var p=t;if(!s)return Nh.Not;for(d=0;d<p.length&&d<5;d++){if((m=p[d])&&null!=(a=b(m[s])))return a}}else if(e===Mh){var A=t;if(!s)return Nh.Not;if(!(h=A[s])||Object(g.isTypedArray)(h))return Nh.Not;for(d=0;d<h.length&&d<5;d++)if(null!=(a=b(h[d])))return a}else if(e===Oh){var v=t;for(d=0;d<v.length&&d<5;d++){var m,y=$i(m=v[d]);if(!Object(g.isArray)(y))return Nh.Not;if(null!=(a=b(y[o])))return a}}function b(t){var e=Object(g.isString)(t);return null!=t&&isFinite(t)&&""!==t?e?Nh.Might:Nh.Not:e&&"-"!==t?Nh.Must:void 0}return Nh.Not}var zh=Object(g.createHashMap)();var $h,Gh,Wh,Kh=tr(),Yh=tr(),Xh=function(){function t(){}return t.prototype.getColorFromPalette=function(t,e,n){var i=Hi(this.get("color",!0)),r=this.get("colorLayer",!0);return Zh(this,Kh,i,r,t,e,n)},t.prototype.clearColorPalette=function(){var t,e;(e=Kh)(t=this).paletteIdx=0,e(t).paletteNameMap={}},t}();function qh(t,e,n,i){var r=Hi(t.get(["aria","decal","decals"]));return Zh(t,Yh,r,null,e,n,i)}function Zh(t,e,n,i,r,o,a){var s=e(o=o||t),l=s.paletteIdx||0,c=s.paletteNameMap=s.paletteNameMap||{};if(c.hasOwnProperty(r))return c[r];var u=null!=a&&i?function(t,e){for(var n=t.length,i=0;i<n;i++)if(t[i].length>e)return t[i];return t[n-1]}(i,a):n;if((u=u||n)&&u.length){var h=u[l];return r&&(c[r]=h),s.paletteIdx=(l+1)%u.length,h}}var Jh=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return p(e,t),e.prototype.init=function(t,e,n,i,r,o){i=i||{},this.option=null,this._theme=new du(i),this._locale=new du(r),this._optionManager=o},e.prototype.setOption=function(t,e,n){var i=nd(e);this._optionManager.setOption(t,n,i),this._resetOption(null,i)},e.prototype.resetOption=function(t,e){return this._resetOption(t,nd(e))},e.prototype._resetOption=function(t,e){var n=!1,i=this._optionManager;if(!t||"recreate"===t){var r=i.mountOption("recreate"===t);0,this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(r,e)):Wh(this,r),n=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var o=i.getTimelineOption(this);o&&(n=!0,this._mergeOption(o,e))}if(!t||"recreate"===t||"media"===t){var a=i.getMediaOption(this);a.length&&Object(g.each)(a,function(t){n=!0,this._mergeOption(t,e)},this)}return n},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,e){var n=this.option,i=this._componentsMap,r=this._componentsCount,o=[],a=Object(g.createHashMap)(),s=e&&e.replaceMergeMainTypeMap;jh(this).datasetMap=Object(g.createHashMap)(),Object(g.each)(t,function(t,e){null!=t&&(Ch.hasClass(e)?e&&(o.push(e),a.set(e,!0)):n[e]=null==n[e]?Object(g.clone)(t):Object(g.merge)(n[e],t,!0))}),s&&s.each(function(t,e){Ch.hasClass(e)&&!a.get(e)&&(o.push(e),a.set(e,!0))}),Ch.topologicalTravel(o,Ch.getAllClassMainTypes(),function(e){var o=function(t,e,n){var i=zh.get(e);if(!i)return n;var r=i(t);return r?n.concat(r):n}(this,e,Hi(t[e])),a=i.get(e),l=a?s&&s.get(e)?"replaceMerge":"normalMerge":"replaceAll",c=Wi(a,o,l);(function(t,e,n){Object(g.each)(t,function(t){var i=t.newOption;Object(g.isObject)(i)&&(t.keyInfo.mainType=e,t.keyInfo.subType=function(t,e,n,i){return e.type?e.type:n?n.subType:i.determineSubType(t,e)}(e,i,t.existing,n))})})(c,e,Ch),n[e]=null,i.set(e,null),r.set(e,0);var u,h=[],d=[],f=0;Object(g.each)(c,function(t,n){var i=t.existing,r=t.newOption;if(r){var o="series"===e,a=Ch.getClass(e,t.keyInfo.subType,!o);if(!a)return;if("tooltip"===e){if(u)return;u=!0}if(i&&i.constructor===a)i.name=t.keyInfo.name,i.mergeOption(r,this),i.optionUpdated(r,!1);else{var s=Object(g.extend)({componentIndex:n},t.keyInfo);i=new a(r,this,this,s),Object(g.extend)(i,s),t.brandNew&&(i.__requireNewView=!0),i.init(r,this,this),i.optionUpdated(null,!0)}}else i&&(i.mergeOption({},this),i.optionUpdated({},!1));i?(h.push(i.option),d.push(i),f++):(h.push(void 0),d.push(void 0))},this),n[e]=h,i.set(e,d),r.set(e,f),"series"===e&&$h(this)},this),this._seriesIndices||$h(this)},e.prototype.getOption=function(){var t=Object(g.clone)(this.option);return Object(g.each)(t,function(e,n){if(Ch.hasClass(n)){for(var i=Hi(e),r=i.length,o=!1,a=r-1;a>=0;a--)i[a]&&!Zi(i[a])?o=!0:(i[a]=null,!o&&r--);i.length=r,t[n]=i}}),delete t["\0_ec_inner"],t},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,e){var n=this._componentsMap.get(t);if(n){var i=n[e||0];if(i)return i;if(null==e)for(var r=0;r<n.length;r++)if(n[r])return n[r]}},e.prototype.queryComponents=function(t){var e=t.mainType;if(!e)return[];var n,i=t.index,r=t.id,o=t.name,a=this._componentsMap.get(e);return a&&a.length?(null!=i?(n=[],Object(g.each)(Hi(i),function(t){a[t]&&n.push(a[t])})):n=null!=r?td("id",r,a):null!=o?td("name",o,a):Object(g.filter)(a,function(t){return!!t}),ed(n,t)):[]},e.prototype.findComponents=function(t){var e,n,i,r,o,a=t.query,s=t.mainType,l=(n=s+"Index",i=s+"Id",r=s+"Name",!(e=a)||null==e[n]&&null==e[i]&&null==e[r]?null:{mainType:s,index:e[n],id:e[i],name:e[r]}),c=l?this.queryComponents(l):Object(g.filter)(this._componentsMap.get(s),function(t){return!!t});return o=ed(c,t),t.filter?Object(g.filter)(o,t.filter):o},e.prototype.eachComponent=function(t,e,n){var i=this._componentsMap;if(Object(g.isFunction)(t)){var r=e,o=t;i.each(function(t,e){for(var n=0;t&&n<t.length;n++){var i=t[n];i&&o.call(r,e,i,i.componentIndex)}})}else for(var a=Object(g.isString)(t)?i.get(t):Object(g.isObject)(t)?this.findComponents(t):null,s=0;a&&s<a.length;s++){var l=a[s];l&&e.call(n,l,l.componentIndex)}},e.prototype.getSeriesByName=function(t){var e=Xi(t,null);return Object(g.filter)(this._componentsMap.get("series"),function(t){return!!t&&null!=e&&t.name===e})},e.prototype.getSeriesByIndex=function(t){return this._componentsMap.get("series")[t]},e.prototype.getSeriesByType=function(t){return Object(g.filter)(this._componentsMap.get("series"),function(e){return!!e&&e.subType===t})},e.prototype.getSeries=function(){return Object(g.filter)(this._componentsMap.get("series"),function(t){return!!t})},e.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},e.prototype.eachSeries=function(t,e){Gh(this),Object(g.each)(this._seriesIndices,function(n){var i=this._componentsMap.get("series")[n];t.call(e,i,n)},this)},e.prototype.eachRawSeries=function(t,e){Object(g.each)(this._componentsMap.get("series"),function(n){n&&t.call(e,n,n.componentIndex)})},e.prototype.eachSeriesByType=function(t,e,n){Gh(this),Object(g.each)(this._seriesIndices,function(i){var r=this._componentsMap.get("series")[i];r.subType===t&&e.call(n,r,i)},this)},e.prototype.eachRawSeriesByType=function(t,e,n){return Object(g.each)(this.getSeriesByType(t),e,n)},e.prototype.isSeriesFiltered=function(t){return Gh(this),null==this._seriesIndicesMap.get(t.componentIndex)},e.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},e.prototype.filterSeries=function(t,e){Gh(this);var n=[];Object(g.each)(this._seriesIndices,function(i){var r=this._componentsMap.get("series")[i];t.call(e,r,i)&&n.push(i)},this),this._seriesIndices=n,this._seriesIndicesMap=Object(g.createHashMap)(n)},e.prototype.restoreData=function(t){$h(this);var e=this._componentsMap,n=[];e.each(function(t,e){Ch.hasClass(e)&&n.push(e)}),Ch.topologicalTravel(n,Ch.getAllClassMainTypes(),function(n){Object(g.each)(e.get(n),function(e){!e||"series"===n&&function(t,e){if(e){var n=e.seriesIndex,i=e.seriesId,r=e.seriesName;return null!=n&&t.componentIndex!==n||null!=i&&t.id!==i||null!=r&&t.name!==r}}(e,t)||e.restoreData()})})},e.internalField=($h=function(t){var e=t._seriesIndices=[];Object(g.each)(t._componentsMap.get("series"),function(t){t&&e.push(t.componentIndex)}),t._seriesIndicesMap=Object(g.createHashMap)(e)},Gh=function(t){},void(Wh=function(t,e){t.option={},t.option["\0_ec_inner"]=1,t._componentsMap=Object(g.createHashMap)({series:[]}),t._componentsCount=Object(g.createHashMap)();var n,i,r,o=e.aria;Object(g.isObject)(o)&&null==o.enabled&&(o.enabled=!0),n=e,i=t._theme.option,r=n.color&&!n.colorLayer,Object(g.each)(i,function(t,e){"colorLayer"===e&&r||Ch.hasClass(e)||("object"==typeof t?n[e]=n[e]?Object(g.merge)(n[e],t,!1):Object(g.clone)(t):null==n[e]&&(n[e]=t))}),Object(g.merge)(e,kh,!1),t._mergeOption(e,null)})),e}(du);function td(t,e,n){if(Object(g.isArray)(e)){var i=Object(g.createHashMap)();return Object(g.each)(e,function(t){null!=t&&(null!=Xi(t,null)&&i.set(t,!0))}),Object(g.filter)(n,function(e){return e&&i.get(e[t])})}var r=Xi(e,null);return Object(g.filter)(n,function(e){return e&&null!=r&&e[t]===r})}function ed(t,e){return e.hasOwnProperty("subType")?Object(g.filter)(t,function(t){return t&&t.subType===e.subType}):t}function nd(t){var e=Object(g.createHashMap)();return t&&Object(g.each)(Hi(t.replaceMerge),function(t){e.set(t,!0)}),{replaceMergeMainTypeMap:e}}Object(g.mixin)(Jh,Xh);var id=Jh,rd=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],od=function(){return function(t){g.each(rd,function(e){this[e]=g.bind(t[e],t)},this)}}(),ad={},sd=function(){function t(){this._coordinateSystems=[]}return t.prototype.create=function(t,e){var n=[];g.each(ad,function(i,r){var o=i.create(t,e);n=n.concat(o||[])}),this._coordinateSystems=n},t.prototype.update=function(t,e){g.each(this._coordinateSystems,function(n){n.update&&n.update(t,e)})},t.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},t.register=function(t,e){ad[t]=e},t.get=function(t){return ad[t]},t}(),ld=/^(min|max)?(.+)$/;function cd(t,e,n){var i={width:e,height:n,aspectratio:e/n},r=!0;return Object(g.each)(t,function(t,e){var n=e.match(ld);if(n&&n[1]&&n[2]){var o=n[1],a=n[2].toLowerCase();(function(t,e,n){return"min"===n?t>=e:"max"===n?t<=e:t===e})(i[a],t,o)||(r=!1)}}),r}var ud=function(){function t(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return t.prototype.setOption=function(t,e,n){t&&(Object(g.each)(Hi(t.series),function(t){t&&t.data&&Object(g.isTypedArray)(t.data)&&Object(g.setAsPrimitive)(t.data)}),Object(g.each)(Hi(t.dataset),function(t){t&&t.source&&Object(g.isTypedArray)(t.source)&&Object(g.setAsPrimitive)(t.source)})),t=Object(g.clone)(t);var i=this._optionBackup,r=function(t,e,n){var i,r,o=[],a=t.baseOption,s=t.timeline,l=t.options,c=t.media,u=!!t.media,h=!!(l||s||a&&a.timeline);a?(r=a).timeline||(r.timeline=s):((h||u)&&(t.options=t.media=null),r=t);u&&Object(g.isArray)(c)&&Object(g.each)(c,function(t){t&&t.option&&(t.query?o.push(t):i||(i=t))});function d(t){Object(g.each)(e,function(e){e(t,n)})}return d(r),Object(g.each)(l,function(t){return d(t)}),Object(g.each)(o,function(t){return d(t.option)}),{baseOption:r,timelineOptions:l||[],mediaDefault:i,mediaList:o}}(t,e,!i);this._newBaseOption=r.baseOption,i?(r.timelineOptions.length&&(i.timelineOptions=r.timelineOptions),r.mediaList.length&&(i.mediaList=r.mediaList),r.mediaDefault&&(i.mediaDefault=r.mediaDefault)):this._optionBackup=r},t.prototype.mountOption=function(t){var e=this._optionBackup;return this._timelineOptions=e.timelineOptions,this._mediaList=e.mediaList,this._mediaDefault=e.mediaDefault,this._currentMediaIndices=[],Object(g.clone)(t?e.baseOption:this._newBaseOption)},t.prototype.getTimelineOption=function(t){var e,n=this._timelineOptions;if(n.length){var i=t.getComponent("timeline");i&&(e=Object(g.clone)(n[i.getCurrentIndex()]))}return e},t.prototype.getMediaOption=function(t){var e,n,i=this._api.getWidth(),r=this._api.getHeight(),o=this._mediaList,a=this._mediaDefault,s=[],l=[];if(!o.length&&!a)return l;for(var c=0,u=o.length;c<u;c++)cd(o[c].query,i,r)&&s.push(c);return!s.length&&a&&(s=[-1]),s.length&&(e=s,n=this._currentMediaIndices,e.join(",")!==n.join(","))&&(l=Object(g.map)(s,function(t){return Object(g.clone)(-1===t?a.option:o[t].option)})),this._currentMediaIndices=s,l},t}(),hd=g.each,dd=g.isObject,fd=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function pd(t){var e=t&&t.itemStyle;if(e)for(var n=0,i=fd.length;n<i;n++){var r=fd[n],o=e.normal,a=e.emphasis;o&&o[r]&&(t[r]=t[r]||{},t[r].normal?g.merge(t[r].normal,o[r]):t[r].normal=o[r],o[r]=null),a&&a[r]&&(t[r]=t[r]||{},t[r].emphasis?g.merge(t[r].emphasis,a[r]):t[r].emphasis=a[r],a[r]=null)}}function Ad(t,e,n){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var i=t[e].normal,r=t[e].emphasis;i&&(n?(t[e].normal=t[e].emphasis=null,g.defaults(t[e],i)):t[e]=i),r&&(t.emphasis=t.emphasis||{},t.emphasis[e]=r,r.focus&&(t.emphasis.focus=r.focus),r.blurScope&&(t.emphasis.blurScope=r.blurScope))}}function gd(t){Ad(t,"itemStyle"),Ad(t,"lineStyle"),Ad(t,"areaStyle"),Ad(t,"label"),Ad(t,"labelLine"),Ad(t,"upperLabel"),Ad(t,"edgeLabel")}function vd(t,e){var n=dd(t)&&t[e],i=dd(n)&&n.textStyle;if(i){0;for(var r=0,o=zi.length;r<o;r++){var a=zi[r];i.hasOwnProperty(a)&&(n[a]=i[a])}}}function md(t){t&&(gd(t),vd(t,"label"),t.emphasis&&vd(t.emphasis,"label"))}function yd(t){return g.isArray(t)?t:t?[t]:[]}function bd(t){return(g.isArray(t)?t[0]:t)||{}}function _d(t,e){hd(yd(t.series),function(t){dd(t)&&function(t){if(dd(t)){pd(t),gd(t),vd(t,"label"),vd(t,"upperLabel"),vd(t,"edgeLabel"),t.emphasis&&(vd(t.emphasis,"label"),vd(t.emphasis,"upperLabel"),vd(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&(pd(e),md(e));var n=t.markLine;n&&(pd(n),md(n));var i=t.markArea;i&&md(i);var r=t.data;if("graph"===t.type){r=r||t.nodes;var o=t.links||t.edges;if(o&&!g.isTypedArray(o))for(var a=0;a<o.length;a++)md(o[a]);g.each(t.categories,function(t){gd(t)})}if(r&&!g.isTypedArray(r))for(a=0;a<r.length;a++)md(r[a]);if((e=t.markPoint)&&e.data){var s=e.data;for(a=0;a<s.length;a++)md(s[a])}if((n=t.markLine)&&n.data){var l=n.data;for(a=0;a<l.length;a++)g.isArray(l[a])?(md(l[a][0]),md(l[a][1])):md(l[a])}"gauge"===t.type?(vd(t,"axisLabel"),vd(t,"title"),vd(t,"detail")):"treemap"===t.type?(Ad(t.breadcrumb,"itemStyle"),g.each(t.levels,function(t){gd(t)})):"tree"===t.type&&gd(t.leaves)}}(t)});var n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];e&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),hd(n,function(e){hd(yd(t[e]),function(t){t&&(vd(t,"axisLabel"),vd(t.axisPointer,"label"))})}),hd(yd(t.parallel),function(t){var e=t&&t.parallelAxisDefault;vd(e,"axisLabel"),vd(e&&e.axisPointer,"label")}),hd(yd(t.calendar),function(t){Ad(t,"itemStyle"),vd(t,"dayLabel"),vd(t,"monthLabel"),vd(t,"yearLabel")}),hd(yd(t.radar),function(t){vd(t,"name"),t.name&&null==t.axisName&&(t.axisName=t.name,delete t.name),null!=t.nameGap&&null==t.axisNameGap&&(t.axisNameGap=t.nameGap,delete t.nameGap)}),hd(yd(t.geo),function(t){dd(t)&&(md(t),hd(yd(t.regions),function(t){md(t)}))}),hd(yd(t.timeline),function(t){md(t),Ad(t,"label"),Ad(t,"itemStyle"),Ad(t,"controlStyle",!0);var e=t.data;g.isArray(e)&&g.each(e,function(t){g.isObject(t)&&(Ad(t,"label"),Ad(t,"itemStyle"))})}),hd(yd(t.toolbox),function(t){Ad(t,"iconStyle"),hd(t.feature,function(t){Ad(t,"iconStyle")})}),vd(bd(t.axisPointer),"label"),vd(bd(t.tooltip).axisPointer,"label")}function wd(t){t&&Object(g.each)(xd,function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])})}var xd=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],Cd=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],Sd=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function Bd(t){var e=t&&t.itemStyle;if(e)for(var n=0;n<Sd.length;n++){var i=Sd[n][1],r=Sd[n][0];null!=e[i]&&(e[r]=e[i])}}function kd(t){t&&"edge"===t.alignTo&&null!=t.margin&&null==t.edgeDistance&&(t.edgeDistance=t.margin)}function Td(t){t&&t.downplay&&!t.blur&&(t.blur=t.downplay)}function Od(t,e){_d(t,e),t.series=Hi(t.series),Object(g.each)(t.series,function(t){if(Object(g.isObject)(t)){var e,n=t.type;if("line"===n)null!=t.clipOverflow&&(t.clip=t.clipOverflow);else if("pie"===n||"gauge"===n){if(null!=t.clockWise&&(t.clockwise=t.clockWise),kd(t.label),(o=t.data)&&!Object(g.isTypedArray)(o))for(var i=0;i<o.length;i++)kd(o[i]);null!=t.hoverOffset&&(t.emphasis=t.emphasis||{},(t.emphasis.scaleSize=null)&&(t.emphasis.scaleSize=t.hoverOffset))}else if("gauge"===n){var r=function(t,e){for(var n=e.split(","),i=t,r=0;r<n.length&&null!=(i=i&&i[n[r]]);r++);return i}(t,"pointer.color");null!=r&&function(t,e,n,i){for(var r,o=e.split(","),a=t,s=0;s<o.length-1;s++)null==a[r=o[s]]&&(a[r]={}),a=a[r];(i||null==a[o[s]])&&(a[o[s]]=n)}(t,"itemStyle.color",r)}else if("bar"===n){var o;if(Bd(t),Bd(t.backgroundStyle),Bd(t.emphasis),(o=t.data)&&!Object(g.isTypedArray)(o))for(i=0;i<o.length;i++)"object"==typeof o[i]&&(Bd(o[i]),Bd(o[i]&&o[i].emphasis))}else if("sunburst"===n){var a=t.highlightPolicy;a&&(t.emphasis=t.emphasis||{},t.emphasis.focus||(t.emphasis.focus=a)),Td(t),function t(e,n){if(e)for(var i=0;i<e.length;i++)n(e[i]),e[i]&&t(e[i].children,n)}(t.data,Td)}else"graph"===n||"sankey"===n?(e=t)&&null!=e.focusNodeAdjacency&&(e.emphasis=e.emphasis||{},null==e.emphasis.focus&&(e.emphasis.focus="adjacency")):"map"===n&&(t.mapType&&!t.map&&(t.map=t.mapType),t.mapLocation&&Object(g.defaults)(t,t.mapLocation));null!=t.hoverAnimation&&(t.emphasis=t.emphasis||{},t.emphasis&&null==t.emphasis.scale&&(t.emphasis.scale=t.hoverAnimation)),wd(t)}}),t.dataRange&&(t.visualMap=t.dataRange),Object(g.each)(Cd,function(e){var n=t[e];n&&(Object(g.isArray)(n)||(n=[n]),Object(g.each)(n,function(t){wd(t)}))})}function Ed(t){Object(g.each)(t,function(e,n){var i=[],r=[NaN,NaN],o=[e.stackResultDimension,e.stackedOverDimension],a=e.data,s=e.isStackedByIndex,l=e.seriesModel.get("stackStrategy")||"samesign";a.modify(o,function(o,c,u){var h,d,f=a.get(e.stackedDimension,u);if(isNaN(f))return r;s?d=a.getRawIndex(u):h=a.get(e.stackedByDimension,u);for(var p=NaN,A=n-1;A>=0;A--){var g=t[A];if(s||(d=g.data.rawIndexOf(g.stackedByDimension,h)),d>=0){var v=g.data.getByRawIndex(g.stackResultDimension,d);if("all"===l||"positive"===l&&v>0||"negative"===l&&v<0||"samesign"===l&&f>=0&&v>0||"samesign"===l&&f<=0&&v<0){f=wi(f,v),p=v;break}}}return i[0]=f,i[1]=p,i})})}var Id,Md,Dd,Ld,Fd,Pd=function(){return function(t){this.data=t.data||(t.sourceFormat===Mh?{}:[]),this.sourceFormat=t.sourceFormat||Lh,this.seriesLayoutBy=t.seriesLayoutBy||Fh,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;n<e.length;n++){var i=e[n];null==i.type&&Hh(this,n)===Nh.Must&&(i.type="ordinal")}}}();function Nd(t){return t instanceof Pd}function jd(t,e,n){n=n||Rd(t);var i=e.seriesLayoutBy,r=function(t,e,n,i,r){var o,a;if(!t)return{dimensionsDefine:Qd(r),startIndex:a,dimensionsDetectedCount:o};if(e===Eh){var s=t;"auto"===i||null==i?Hd(function(t){null!=t&&"-"!==t&&(Object(g.isString)(t)?null==a&&(a=1):a=0)},n,s,10):a=Object(g.isNumber)(i)?i:i?1:0,r||1!==a||(r=[],Hd(function(t,e){r[e]=null!=t?t+"":""},n,s,1/0)),o=r?r.length:n===Ph?s.length:s[0]?s[0].length:null}else if(e===Ih)r||(r=function(t){var e,n=0;for(;n<t.length&&!(e=t[n++]););if(e)return Object(g.keys)(e)}(t));else if(e===Mh)r||(r=[],Object(g.each)(t,function(t,e){r.push(e)}));else if(e===Oh){var l=$i(t[0]);o=Object(g.isArray)(l)&&l.length||1}return{startIndex:a,dimensionsDefine:Qd(r),dimensionsDetectedCount:o}}(t,n,i,e.sourceHeader,e.dimensions);return new Pd({data:t,sourceFormat:n,seriesLayoutBy:i,dimensionsDefine:r.dimensionsDefine,startIndex:r.startIndex,dimensionsDetectedCount:r.dimensionsDetectedCount,metaRawOption:Object(g.clone)(e)})}function Ud(t){return new Pd({data:t,sourceFormat:Object(g.isTypedArray)(t)?Dh:Oh})}function Rd(t){var e=Lh;if(Object(g.isTypedArray)(t))e=Dh;else if(Object(g.isArray)(t)){0===t.length&&(e=Eh);for(var n=0,i=t.length;n<i;n++){var r=t[n];if(null!=r){if(Object(g.isArray)(r)){e=Eh;break}if(Object(g.isObject)(r)){e=Ih;break}}}}else if(Object(g.isObject)(t))for(var o in t)if(Object(g.hasOwn)(t,o)&&Object(g.isArrayLike)(t[o])){e=Mh;break}return e}function Qd(t){if(t){var e=Object(g.createHashMap)();return Object(g.map)(t,function(t,n){var i={name:(t=Object(g.isObject)(t)?t:{name:t}).name,displayName:t.displayName,type:t.type};if(null==i.name)return i;i.name+="",null==i.displayName&&(i.displayName=i.name);var r=e.get(i.name);return r?i.name+="-"+r.count++:e.set(i.name,{count:1}),i})}}function Hd(t,e,n,i){if(e===Ph)for(var r=0;r<n.length&&r<i;r++)t(n[r]?n[r][0]:null,r);else{var o=n[0]||[];for(r=0;r<o.length&&r<i;r++)t(o[r],r)}}function Vd(t){var e=t.sourceFormat;return e===Ih||e===Mh}var zd=function(){function t(t,e){var n=Nd(t)?t:Ud(t);this._source=n;var i=this._data=n.data;n.sourceFormat===Dh&&(this._offset=0,this._dimSize=e,this._data=i),Fd(this,i,n)}var e;return t.prototype.getSource=function(){return this._source},t.prototype.count=function(){return 0},t.prototype.getItem=function(t,e){},t.prototype.appendData=function(t){},t.prototype.clean=function(){},t.protoInitialize=((e=t.prototype).pure=!1,void(e.persistent=!0)),t.internalField=function(){var t;Fd=function(t,r,o){var a=o.sourceFormat,s=o.seriesLayoutBy,l=o.startIndex,c=o.dimensionsDefine,u=Ld[tf(a,s)];if(Object(g.extend)(t,u),a===Dh)t.getItem=e,t.count=i,t.fillStorage=n;else{var h=Wd(a,s);t.getItem=Object(g.bind)(h,null,r,l,c);var d=Xd(a,s);t.count=Object(g.bind)(d,null,r,l,c)}};var e=function(t,e){t-=this._offset,e=e||[];for(var n=this._data,i=this._dimSize,r=i*t,o=0;o<i;o++)e[o]=n[r+o];return e},n=function(t,e,n,i){for(var r=this._data,o=this._dimSize,a=0;a<o;a++){for(var s=i[a],l=null==s[0]?1/0:s[0],c=null==s[1]?-1/0:s[1],u=e-t,h=n[a],d=0;d<u;d++){var f=r[d*o+a];h[t+d]=f,f<l&&(l=f),f>c&&(c=f)}s[0]=l,s[1]=c}},i=function(){return this._data?this._data.length/this._dimSize:0};function r(t){for(var e=0;e<t.length;e++)this._data.push(t[e])}(t={})[Eh+"_"+Fh]={pure:!0,appendData:r},t[Eh+"_"+Ph]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[Ih]={pure:!0,appendData:r},t[Mh]={pure:!0,appendData:function(t){var e=this._data;Object(g.each)(t,function(t,n){for(var i=e[n]||(e[n]=[]),r=0;r<(t||[]).length;r++)i.push(t[r])})}},t[Oh]={appendData:r},t[Dh]={persistent:!1,pure:!0,appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}},Ld=t}(),t}(),$d=function(t,e,n,i){return t[i]},Gd=((Id={})[Eh+"_"+Fh]=function(t,e,n,i){return t[i+e]},Id[Eh+"_"+Ph]=function(t,e,n,i,r){i+=e;for(var o=r||[],a=t,s=0;s<a.length;s++){var l=a[s];o[s]=l?l[i]:null}return o},Id[Ih]=$d,Id[Mh]=function(t,e,n,i,r){for(var o=r||[],a=0;a<n.length;a++){var s=n[a].name;0;var l=t[s];o[a]=l?l[i]:null}return o},Id[Oh]=$d,Id);function Wd(t,e){var n=Gd[tf(t,e)];return n}var Kd=function(t,e,n){return t.length},Yd=((Md={})[Eh+"_"+Fh]=function(t,e,n){return Math.max(0,t.length-e)},Md[Eh+"_"+Ph]=function(t,e,n){var i=t[0];return i?Math.max(0,i.length-e):0},Md[Ih]=Kd,Md[Mh]=function(t,e,n){var i=n[0].name;var r=t[i];return r?r.length:0},Md[Oh]=Kd,Md);function Xd(t,e){var n=Yd[tf(t,e)];return n}var qd=function(t,e,n){return t[e]},Zd=((Dd={})[Eh]=qd,Dd[Ih]=function(t,e,n){return t[n]},Dd[Mh]=qd,Dd[Oh]=function(t,e,n){var i=$i(t);return i instanceof Array?i[e]:i},Dd[Dh]=qd,Dd);function Jd(t){var e=Zd[t];return e}function tf(t,e){return t===Eh?t+"_"+e:t}function ef(t,e,n){if(t){var i=t.getRawDataItem(e);if(null!=i){var r=t.getStore(),o=r.getSource().sourceFormat;if(null!=n){var a=t.getDimensionIndex(n),s=r.getDimensionProperty(a);return Jd(o)(i,a,s)}var l=i;return o===Oh&&(l=$i(i)),l}}}var nf=/\{@(.+?)\}/g,rf=function(){function t(){}return t.prototype.getDataParams=function(t,e){var n=this.getData(e),i=this.getRawValue(t,e),r=n.getRawIndex(t),o=n.getName(t),a=n.getRawDataItem(t),s=n.getItemVisual(t,"style"),l=s&&s[n.getItemVisual(t,"drawType")||"fill"],c=s&&s.stroke,u=this.mainType,h="series"===u,d=n.userOutput&&n.userOutput.get();return{componentType:u,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:h?this.subType:null,seriesIndex:this.seriesIndex,seriesId:h?this.id:null,seriesName:h?this.name:null,name:o,dataIndex:r,data:a,dataType:e,value:i,color:l,borderColor:c,dimensionNames:d?d.fullDimensions:null,encode:d?d.encode:null,$vars:["seriesName","name","value"]}},t.prototype.getFormattedLabel=function(t,e,n,i,r,o){e=e||"normal";var a=this.getData(n),s=this.getDataParams(t,n);(o&&(s.value=o.interpolatedValue),null!=i&&g.isArray(s.value)&&(s.value=s.value[i]),r)||(r=a.getItemModel(t).get("normal"===e?["label","formatter"]:[e,"label","formatter"]));return g.isFunction(r)?(s.status=e,s.dimensionIndex=i,r(s)):g.isString(r)?oh(r,s).replace(nf,function(e,n){var i=n.length,r=n;"["===r.charAt(0)&&"]"===r.charAt(i-1)&&(r=+r.slice(1,i-1));var s=ef(a,t,r);if(o&&g.isArray(o.interpolatedValue)){var l=a.getDimensionIndex(r);l>=0&&(s=o.interpolatedValue[l])}return null!=s?s+"":""}):void 0},t.prototype.getRawValue=function(t,e){return ef(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();function of(t){var e,n;return g.isObject(t)?t.type&&(n=t):e=t,{text:e,frag:n}}function af(t){return new sf(t)}var sf=function(){function t(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){var e,n=this._upstream,i=t&&t.skip;if(this._dirty&&n){var r=this.context;r.data=r.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!i&&(e=this._plan(this.context));var o,a=u(this._modBy),s=this._modDataCount||0,l=u(t&&t.modBy),c=t&&t.modDataCount||0;function u(t){return!(t>=1)&&(t=1),t}a===l&&s===c||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,o=this._doReset(i)),this._modBy=l,this._modDataCount=c;var h=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var d=this._dueIndex,f=Math.min(null!=h?this._dueIndex+h:1/0,this._dueEnd);if(!i&&(o||d<f)){var p=this._progress;if(Object(g.isArray)(p))for(var A=0;A<p.length;A++)this._doProgress(p[A],d,f,l,c);else this._doProgress(p,d,f,l,c)}this._dueIndex=f;var v=null!=this._settedOutputEnd?this._settedOutputEnd:f;0,this._outputDueEnd=v}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()},t.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},t.prototype._doProgress=function(t,e,n,i,r){lf.reset(e,n,i,r),this._callingProgress=t,this._callingProgress({start:e,end:n,count:n-e,next:lf.next},this.context)},t.prototype._doReset=function(t){var e,n;this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null,!t&&this._reset&&((e=this._reset(this.context))&&e.progress&&(n=e.forceFirstProgress,e=e.progress),Object(g.isArray)(e)&&!e.length&&(e=null)),this._progress=e,this._modBy=this._modDataCount=null;var i=this._downstream;return i&&i.dirty(),n},t.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},t.prototype.pipe=function(t){(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},t.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},t.prototype.getUpstream=function(){return this._upstream},t.prototype.getDownstream=function(){return this._downstream},t.prototype.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},t}(),lf=function(){var t,e,n,i,r,o={reset:function(l,c,u,h){e=l,t=c,n=u,i=h,r=Math.ceil(i/n),o.next=n>1&&i>0?s:a}};return o;function a(){return e<t?e++:null}function s(){var o=e%r*n+Math.ceil(e/r),a=e>=t?null:o<i?o:e;return e++,a}}();function cf(t,e){var n=e&&e.type;return"ordinal"===n?t:("time"!==n||Object(g.isNumber)(t)||null==t||"-"===t||(t=+ki(t)),null==t||""===t?NaN:+t)}var uf=Object(g.createHashMap)({number:function(t){return parseFloat(t)},time:function(t){return+ki(t)},trim:function(t){return Object(g.isString)(t)?Object(g.trim)(t):t}});function hf(t){return uf.get(t)}var df={lt:function(t,e){return t<e},lte:function(t,e){return t<=e},gt:function(t,e){return t>e},gte:function(t,e){return t>=e}},ff=function(){function t(t,e){if(!Object(g.isNumber)(e)){var n="";0,ji(n)}this._opFn=df[t],this._rvalFloat=Di(e)}return t.prototype.evaluate=function(t){return Object(g.isNumber)(t)?this._opFn(t,this._rvalFloat):this._opFn(Di(t),this._rvalFloat)},t}(),pf=function(){function t(t,e){var n="desc"===t;this._resultLT=n?1:-1,null==e&&(e=n?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var n=Object(g.isNumber)(t)?t:Di(t),i=Object(g.isNumber)(e)?e:Di(e),r=isNaN(n),o=isNaN(i);if(r&&(n=this._incomparable),o&&(i=this._incomparable),r&&o){var a=Object(g.isString)(t),s=Object(g.isString)(e);a&&(n=s?t:0),s&&(i=a?e:0)}return n<i?this._resultLT:n>i?-this._resultLT:0},t}(),Af=function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=Di(e)}return t.prototype.evaluate=function(t){var e=t===this._rval;if(!e){var n=typeof t;n===this._rvalTypeof||"number"!==n&&"number"!==this._rvalTypeof||(e=Di(t)===this._rvalFloat)}return this._isEQ?e:!e},t}();function gf(t,e){return"eq"===t||"ne"===t?new Af("eq"===t,e):Object(g.hasOwn)(df,t)?new ff(t,e):null}var vf=function(){function t(){}return t.prototype.getRawData=function(){throw new Error("not supported")},t.prototype.getRawDataItem=function(t){throw new Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(t){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(t,e){},t.prototype.retrieveValueFromItem=function(t,e){},t.prototype.convertValue=function(t,e){return cf(t,e)},t}();function mf(t){var e=t.sourceFormat;if(!Cf(e)){var n="";0,ji(n)}return t.data}function yf(t){var e=t.sourceFormat,n=t.data;if(!Cf(e)){var i="";0,ji(i)}if(e===Eh){for(var r=[],o=0,a=n.length;o<a;o++)r.push(n[o].slice());return r}if(e===Ih){for(r=[],o=0,a=n.length;o<a;o++)r.push(Object(g.extend)({},n[o]));return r}}function bf(t,e,n){if(null!=n)return Object(g.isNumber)(n)||!isNaN(n)&&!Object(g.hasOwn)(e,n)?t[n]:Object(g.hasOwn)(e,n)?e[n]:void 0}function _f(t){return Object(g.clone)(t)}var wf=Object(g.createHashMap)();function xf(t,e,n,i){var r="";e.length||ji(r),Object(g.isObject)(t)||ji(r);var o=t.type,a=wf.get(o);a||ji(r);var s=Object(g.map)(e,function(t){return function(t,e){var n=new vf,i=t.data,r=n.sourceFormat=t.sourceFormat,o=t.startIndex,a="";t.seriesLayoutBy!==Fh&&ji(a);var s=[],l={},c=t.dimensionsDefine;if(c)Object(g.each)(c,function(t,e){var n=t.name,i={index:e,name:n,displayName:t.displayName};if(s.push(i),null!=n){var r="";Object(g.hasOwn)(l,n)&&ji(r),l[n]=i}});else for(var u=0;u<t.dimensionsDetectedCount;u++)s.push({index:u});var h=Wd(r,Fh);e.__isBuiltIn&&(n.getRawDataItem=function(t){return h(i,o,s,t)},n.getRawData=Object(g.bind)(mf,null,t)),n.cloneRawData=Object(g.bind)(yf,null,t);var d=Xd(r,Fh);n.count=Object(g.bind)(d,null,i,o,s);var f=Jd(r);n.retrieveValue=function(t,e){var n=h(i,o,s,t);return p(n,e)};var p=n.retrieveValueFromItem=function(t,e){if(null!=t){var n=s[e];return n?f(t,e,n.name):void 0}};return n.getDimensionInfo=Object(g.bind)(bf,null,s,l),n.cloneAllDimensionInfo=Object(g.bind)(_f,null,s),n}(t,a)}),l=Hi(a.transform({upstream:s[0],upstreamList:s,config:Object(g.clone)(t.config)}));return Object(g.map)(l,function(t,n){var i,r="";Object(g.isObject)(t)||ji(r),t.data||ji(r),Cf(Rd(t.data))||ji(r);var o=e[0];if(o&&0===n&&!t.dimensions){var a=o.startIndex;a&&(t.data=o.data.slice(0,a).concat(t.data)),i={seriesLayoutBy:Fh,sourceHeader:a,dimensions:o.metaRawOption.dimensions}}else i={seriesLayoutBy:Fh,sourceHeader:0,dimensions:t.dimensions};return jd(t.data,i,null)})}function Cf(t){return t===Eh||t===Ih}var Sf,Bf="undefined"==typeof Uint32Array?Array:Uint32Array,kf="undefined"==typeof Uint16Array?Array:Uint16Array,Tf="undefined"==typeof Int32Array?Array:Int32Array,Of="undefined"==typeof Float64Array?Array:Float64Array,Ef={float:Of,int:Tf,ordinal:Array,number:Array,time:Of};function If(t){return t>65535?Bf:kf}function Mf(t,e,n,i,r){var o=Ef[n||"float"];if(r){var a=t[e],s=a&&a.length;if(s!==i){for(var l=new o(i),c=0;c<s;c++)l[c]=a[c];t[e]=l}}else t[e]=new o(i)}var Df=function(){function t(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=Object(g.createHashMap)()}return t.prototype.initData=function(t,e,n){this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var i=t.getSource(),r=this.defaultDimValueGetter=Sf[i.sourceFormat];this._dimValueGetter=n||r,this._rawExtent=[];Vd(i);this._dimensions=Object(g.map)(e,function(t){return{type:t.type,property:t.property}}),this._initDataFromProvider(0,t.count())},t.prototype.getProvider=function(){return this._provider},t.prototype.getSource=function(){return this._provider.getSource()},t.prototype.ensureCalculationDimension=function(t,e){var n=this._calcDimNameToIdx,i=this._dimensions,r=n.get(t);if(null!=r){if(i[r].type===e)return r}else r=i.length;return i[r]={type:e},n.set(t,r),this._chunks[r]=new Ef[e||"float"](this._rawCount),this._rawExtent[r]=[1/0,-1/0],r},t.prototype.collectOrdinalMeta=function(t,e){var n=this._chunks[t],i=this._dimensions[t],r=this._rawExtent,o=i.ordinalOffset||0,a=n.length;0===o&&(r[t]=[1/0,-1/0]);for(var s=r[t],l=o;l<a;l++){var c=n[l]=e.parseAndCollect(n[l]);isNaN(c)||(s[0]=Math.min(c,s[0]),s[1]=Math.max(c,s[1]))}i.ordinalMeta=e,i.ordinalOffset=a,i.type="ordinal"},t.prototype.getOrdinalMeta=function(t){return this._dimensions[t].ordinalMeta},t.prototype.getDimensionProperty=function(t){var e=this._dimensions[t];return e&&e.property},t.prototype.appendData=function(t){var e=this._provider,n=this.count();e.appendData(t);var i=e.count();return e.persistent||(i+=n),n<i&&this._initDataFromProvider(n,i,!0),[n,i]},t.prototype.appendValues=function(t,e){for(var n=this._chunks,i=this._dimensions,r=i.length,o=this._rawExtent,a=this.count(),s=a+Math.max(t.length,e||0),l=0;l<r;l++){Mf(n,l,(f=i[l]).type,s,!0)}for(var c=[],u=a;u<s;u++)for(var h=u-a,d=0;d<r;d++){var f=i[d],p=Sf.arrayRows.call(this,t[h]||c,f.property,h,d);n[d][u]=p;var A=o[d];p<A[0]&&(A[0]=p),p>A[1]&&(A[1]=p)}return this._rawCount=this._count=s,{start:a,end:s}},t.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,r=this._chunks,o=this._dimensions,a=o.length,s=this._rawExtent,l=Object(g.map)(o,function(t){return t.property}),c=0;c<a;c++){var u=o[c];s[c]||(s[c]=[1/0,-1/0]),Mf(r,c,u.type,e,n)}if(i.fillStorage)i.fillStorage(t,e,r,s);else for(var h=[],d=t;d<e;d++){h=i.getItem(d,h);for(var f=0;f<a;f++){var p=r[f],A=this._dimValueGetter(h,l[f],d,f);p[d]=A;var v=s[f];A<v[0]&&(v[0]=A),A>v[1]&&(v[1]=A)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e<this._count))return NaN;var n=this._chunks[t];return n?n[this.getRawIndex(e)]:NaN},t.prototype.getValues=function(t,e){var n=[],i=[];if(null==e){e=t,t=[];for(var r=0;r<this._dimensions.length;r++)i.push(r)}else i=t;r=0;for(var o=i.length;r<o;r++)n.push(this.get(i[r],e));return n},t.prototype.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return NaN;var n=this._chunks[t];return n?n[e]:NaN},t.prototype.getSum=function(t){var e=0;if(this._chunks[t])for(var n=0,i=this.count();n<i;n++){var r=this.get(t,n);isNaN(r)||(e+=r)}return e},t.prototype.getMedian=function(t){var e=[];this.each([t],function(t){isNaN(t)||e.push(t)});var n=e.sort(function(t,e){return t-e}),i=this.count();return 0===i?0:i%2==1?n[(i-1)/2]:(n[i/2]+n[i/2-1])/2},t.prototype.indexOfRawIndex=function(t){if(t>=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&n<this._count&&n===t)return t;for(var i=0,r=this._count-1;i<=r;){var o=(i+r)/2|0;if(e[o]<t)i=o+1;else{if(!(e[o]>t))return o;r=o-1}}return-1},t.prototype.indicesOfNearest=function(t,e,n){var i=this._chunks[t],r=[];if(!i)return r;null==n&&(n=1/0);for(var o=1/0,a=-1,s=0,l=0,c=this.count();l<c;l++){var u=e-i[this.getRawIndex(l)],h=Math.abs(u);h<=n&&((h<o||h===o&&u>=0&&a<0)&&(o=h,a=u,s=0),u===a&&(r[s++]=l))}return r.length=s,r},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,i=this._count;if(n===Array){t=new n(i);for(var r=0;r<i;r++)t[r]=e[r]}else t=new n(e.buffer,0,i)}else{t=new(n=If(this._rawCount))(this.count());for(r=0;r<t.length;r++)t[r]=r}return t},t.prototype.filter=function(t,e){if(!this._count)return this;for(var n=this.clone(),i=n.count(),r=new(If(n._rawCount))(i),o=[],a=t.length,s=0,l=t[0],c=n._chunks,u=0;u<i;u++){var h=void 0,d=n.getRawIndex(u);if(0===a)h=e(u);else if(1===a){h=e(c[l][d],u)}else{for(var f=0;f<a;f++)o[f]=c[t[f]][d];o[f]=u,h=e.apply(null,o)}h&&(r[s++]=d)}return s<i&&(n._indices=r),n._count=s,n._extent=[],n._updateGetRawIdx(),n},t.prototype.selectRange=function(t){var e=this.clone(),n=e._count;if(!n)return this;var i=Object(g.keys)(t),r=i.length;if(!r)return this;var o=e.count(),a=new(If(e._rawCount))(o),s=0,l=i[0],c=t[l][0],u=t[l][1],h=e._chunks,d=!1;if(!e._indices){var f=0;if(1===r){for(var p=h[i[0]],A=0;A<n;A++){((b=p[A])>=c&&b<=u||isNaN(b))&&(a[s++]=f),f++}d=!0}else if(2===r){p=h[i[0]];var v=h[i[1]],m=t[i[1]][0],y=t[i[1]][1];for(A=0;A<n;A++){var b=p[A],_=v[A];(b>=c&&b<=u||isNaN(b))&&(_>=m&&_<=y||isNaN(_))&&(a[s++]=f),f++}d=!0}}if(!d)if(1===r)for(A=0;A<o;A++){var w=e.getRawIndex(A);((b=h[i[0]][w])>=c&&b<=u||isNaN(b))&&(a[s++]=w)}else for(A=0;A<o;A++){for(var x=!0,C=(w=e.getRawIndex(A),0);C<r;C++){var S=i[C];((b=h[S][w])<t[S][0]||b>t[S][1])&&(x=!1)}x&&(a[s++]=e.getRawIndex(A))}return s<o&&(e._indices=a),e._count=s,e._extent=[],e._updateGetRawIdx(),e},t.prototype.map=function(t,e){var n=this.clone(t);return this._updateDims(n,t,e),n},t.prototype.modify=function(t,e){this._updateDims(this,t,e)},t.prototype._updateDims=function(t,e,n){for(var i=t._chunks,r=[],o=e.length,a=t.count(),s=[],l=t._rawExtent,c=0;c<e.length;c++)l[e[c]]=[1/0,-1/0];for(var u=0;u<a;u++){for(var h=t.getRawIndex(u),d=0;d<o;d++)s[d]=i[e[d]][h];s[o]=u;var f=n&&n.apply(null,s);if(null!=f){"object"!=typeof f&&(r[0]=f,f=r);for(c=0;c<f.length;c++){var p=e[c],A=f[c],g=l[p],v=i[p];v&&(v[h]=A),A<g[0]&&(g[0]=A),A>g[1]&&(g[1]=A)}}}},t.prototype.lttbDownSample=function(t,e){var n,i,r,o=this.clone([t],!0),a=o._chunks[t],s=this.count(),l=0,c=Math.floor(1/e),u=this.getRawIndex(0),h=new(If(this._rawCount))(Math.min(2*(Math.ceil(s/c)+2),s));h[l++]=u;for(var d=1;d<s-1;d+=c){for(var f=Math.min(d+c,s-1),p=Math.min(d+2*c,s),A=(p+f)/2,g=0,v=f;v<p;v++){var m=a[S=this.getRawIndex(v)];isNaN(m)||(g+=m)}g/=p-f;var y=d,b=Math.min(d+c,s),_=d-1,w=a[u];n=-1,r=y;var x=-1,C=0;for(v=y;v<b;v++){var S;m=a[S=this.getRawIndex(v)];isNaN(m)?(C++,x<0&&(x=S)):(i=Math.abs((_-A)*(m-w)-(_-v)*(g-w)))>n&&(n=i,r=S)}C>0&&C<b-y&&(h[l++]=Math.min(x,r),r=Math.max(x,r)),h[l++]=r,u=r}return h[l++]=this.getRawIndex(s-1),o._count=l,o._indices=h,o.getRawIndex=this._getRawIdx,o},t.prototype.downSample=function(t,e,n,i){for(var r=this.clone([t],!0),o=r._chunks,a=[],s=Math.floor(1/e),l=o[t],c=this.count(),u=r._rawExtent[t]=[1/0,-1/0],h=new(If(this._rawCount))(Math.ceil(c/s)),d=0,f=0;f<c;f+=s){s>c-f&&(s=c-f,a.length=s);for(var p=0;p<s;p++){var A=this.getRawIndex(f+p);a[p]=l[A]}var g=n(a),v=this.getRawIndex(Math.min(f+i(a,g)||0,c-1));l[v]=g,g<u[0]&&(u[0]=g),g>u[1]&&(u[1]=g),h[d++]=v}return r._count=d,r._indices=h,r._updateGetRawIdx(),r},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,r=0,o=this.count();r<o;r++){var a=this.getRawIndex(r);switch(n){case 0:e(r);break;case 1:e(i[t[0]][a],r);break;case 2:e(i[t[0]][a],i[t[1]][a],r);break;default:for(var s=0,l=[];s<n;s++)l[s]=i[t[s]][a];l[s]=r,e.apply(null,l)}}},t.prototype.getDataExtent=function(t){var e=this._chunks[t],n=[1/0,-1/0];if(!e)return n;var i,r=this.count();if(!this._indices)return this._rawExtent[t].slice();if(i=this._extent[t])return i.slice();for(var o=(i=n)[0],a=i[1],s=0;s<r;s++){var l=e[this.getRawIndex(s)];l<o&&(o=l),l>a&&(a=l)}return i=[o,a],this._extent[t]=i,i},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],i=this._chunks,r=0;r<i.length;r++)n.push(i[r][e]);return n},t.prototype.clone=function(e,n){var i,r,o=new t,a=this._chunks,s=e&&Object(g.reduce)(e,function(t,e){return t[e]=!0,t},{});if(s)for(var l=0;l<a.length;l++)o._chunks[l]=s[l]?(i=a[l],r=void 0,(r=i.constructor)===Array?i.slice():new r(i)):a[l];else o._chunks=a;return this._copyCommonProps(o),n||(o._indices=this._cloneIndices()),o._updateGetRawIdx(),o},t.prototype._copyCommonProps=function(t){t._count=this._count,t._rawCount=this._rawCount,t._provider=this._provider,t._dimensions=this._dimensions,t._extent=Object(g.clone)(this._extent),t._rawExtent=Object(g.clone)(this._rawExtent)},t.prototype._cloneIndices=function(){if(this._indices){var t=this._indices.constructor,e=void 0;if(t===Array){var n=this._indices.length;e=new t(n);for(var i=0;i<n;i++)e[i]=this._indices[i]}else e=new t(this._indices);return e}return null},t.prototype._getRawIdxIdentity=function(t){return t},t.prototype._getRawIdx=function(t){return t<this._count&&t>=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,n,i){return cf(t[i],this._dimensions[i])}Sf={arrayRows:t,objectRows:function(t,e,n,i){return cf(t[e],this._dimensions[i])},keyedColumns:t,original:function(t,e,n,i){var r=t&&(null==t.value?t:t.value);return cf(r instanceof Array?r[i]:r,this._dimensions[i])},typedArray:function(t,e,n,i){return t[i]}}}(),t}(),Lf=function(){function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,n=this._sourceHost,i=this._getUpstreamSourceManagers(),r=!!i.length;if(Pf(n)){var o=n,a=void 0,s=void 0,l=void 0;if(r){var c=i[0];c.prepareSource(),a=(l=c.getSource()).data,s=l.sourceFormat,e=[c._getVersionSign()]}else a=o.get("data",!0),s=Object(g.isTypedArray)(a)?Dh:Oh,e=[];var u=this._getSourceMetaRawOption()||{},h=l&&l.metaRawOption||{},d=Object(g.retrieve2)(u.seriesLayoutBy,h.seriesLayoutBy)||null,f=Object(g.retrieve2)(u.sourceHeader,h.sourceHeader),p=Object(g.retrieve2)(u.dimensions,h.dimensions);t=d!==h.seriesLayoutBy||!!f!=!!h.sourceHeader||p?[jd(a,{seriesLayoutBy:d,sourceHeader:f,dimensions:p},s)]:[]}else{var A=n;if(r){var v=this._applyTransform(i);t=v.sourceList,e=v.upstreamSignList}else{t=[jd(A.get("source",!0),this._getSourceMetaRawOption(),null)],e=[]}}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,i=n.get("transform",!0),r=n.get("fromTransformResult",!0);if(null!=r){var o="";1!==t.length&&Nf(o)}var a,s=[],l=[];return Object(g.each)(t,function(t){t.prepareSource();var e=t.getSource(r||0),n="";null==r||e||Nf(n),s.push(e),l.push(t._getVersionSign())}),i?e=function(t,e,n){var i=Hi(t),r=i.length,o="";r||ji(o);for(var a=0,s=r;a<s;a++)e=xf(i[a],e),a!==s-1&&(e.length=Math.max(e.length,1));return e}(i,s,n.componentIndex):null!=r&&(e=[(a=s[0],new Pd({data:a.data,sourceFormat:a.sourceFormat,seriesLayoutBy:a.seriesLayoutBy,dimensionsDefine:Object(g.clone)(a.dimensionsDefine),startIndex:a.startIndex,dimensionsDetectedCount:a.dimensionsDetectedCount}))]),{sourceList:e,upstreamSignList:l}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e<t.length;e++){var n=t[e];if(n._isDirty()||this._upstreamSignList[e]!==n._getVersionSign())return!0}},t.prototype.getSource=function(t){t=t||0;var e=this._sourceList[t];if(!e){var n=this._getUpstreamSourceManagers();return n[0]&&n[0].getSource(t)}return e},t.prototype.getSharedDataStore=function(t){var e=t.makeStoreSchema();return this._innerGetDataStore(e.dimensions,t.source,e.hash)},t.prototype._innerGetDataStore=function(t,e,n){var i=this._storeList,r=i[0];r||(r=i[0]={});var o=r[n];if(!o){var a=this._getUpstreamSourceManagers()[0];Pf(this._sourceHost)&&a?o=a._innerGetDataStore(t,e,n):(o=new Df).initData(new zd(e,t.length),t),r[n]=o}return o},t.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(Pf(t)){var e=Qh(t);return e?[e.getSourceManager()]:[]}return Object(g.map)(function(t){return t.get("transform",!0)||t.get("fromTransformResult",!0)?ar(t.ecModel,"dataset",{index:t.get("fromDatasetIndex",!0),id:t.get("fromDatasetId",!0)},rr).models:[]}(t),function(t){return t.getSourceManager()})},t.prototype._getSourceMetaRawOption=function(){var t,e,n,i=this._sourceHost;if(Pf(i))t=i.get("seriesLayoutBy",!0),e=i.get("sourceHeader",!0),n=i.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var r=i;t=r.get("seriesLayoutBy",!0),e=r.get("sourceHeader",!0),n=r.get("dimensions",!0)}return{seriesLayoutBy:t,sourceHeader:e,dimensions:n}},t}();function Ff(t){t.option.transform&&Object(g.setAsPrimitive)(t.option.transform)}function Pf(t){return"series"===t.mainType}function Nf(t){throw new Error(t)}var jf="line-height:1";function Uf(t,e){var n=t.color||"#6e7079",i=t.fontSize||12,r=t.fontWeight||"400",o=t.color||"#464646",a=t.fontSize||14,s=t.fontWeight||"900";return"html"===e?{nameStyle:"font-size:"+tt(i+"")+"px;color:"+tt(n)+";font-weight:"+tt(r+""),valueStyle:"font-size:"+tt(a+"")+"px;color:"+tt(o)+";font-weight:"+tt(s+"")}:{nameStyle:{fontSize:i,fill:n,fontWeight:r},valueStyle:{fontSize:a,fill:o,fontWeight:s}}}var Rf=[0,10,20,30],Qf=["","\n","\n\n","\n\n\n"];function Hf(t,e){return e.type=t,e}function Vf(t){return"section"===t.type}function zf(t){return Vf(t)?$f:Gf}function $f(t,e,n,i){var r,o=e.noHeader,a=(r=function t(e){if(Vf(e)){var n=0,i=e.blocks.length,r=i>1||i>0&&!e.noHeader;return Object(g.each)(e.blocks,function(e){var i=t(e);i>=n&&(n=i+ +(r&&(!i||Vf(e)&&!e.noHeader)))}),n}return 0}(e),{html:Rf[r],richText:Qf[r]}),s=[],l=e.blocks||[];Object(g.assert)(!l||Object(g.isArray)(l)),l=l||[];var c=t.orderMode;if(e.sortBlocks&&c){l=l.slice();var u={valueAsc:"asc",valueDesc:"desc"};if(Object(g.hasOwn)(u,c)){var h=new pf(u[c],null);l.sort(function(t,e){return h.evaluate(t.sortParam,e.sortParam)})}else"seriesDesc"===c&&l.reverse()}Object(g.each)(l,function(n,r){var o=e.valueFormatter,l=zf(n)(o?Object(g.extend)(Object(g.extend)({},t),{valueFormatter:o}):t,n,r>0?a.html:0,i);null!=l&&s.push(l)});var d="richText"===t.renderMode?s.join(a.richText):Kf(s.join(""),o?n:a.html);if(o)return d;var f=nh(e.header,"ordinal",t.useUTC),p=Uf(i,t.renderMode).nameStyle;return"richText"===t.renderMode?Yf(t,f,p)+a.richText+d:Kf('<div style="'+p+";"+jf+';">'+tt(f)+"</div>"+d,n)}function Gf(t,e,n,i){var r=t.renderMode,o=e.noName,a=e.noValue,s=!e.markerType,l=e.name,c=t.useUTC,u=e.valueFormatter||t.valueFormatter||function(t){return t=Object(g.isArray)(t)?t:[t],Object(g.map)(t,function(t,e){return nh(t,Object(g.isArray)(f)?f[e]:f,c)})};if(!o||!a){var h=s?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",r),d=o?"":nh(l,"ordinal",c),f=e.valueType,p=a?[]:u(e.value),A=!s||!o,v=!s&&o,m=Uf(i,r),y=m.nameStyle,b=m.valueStyle;return"richText"===r?(s?"":h)+(o?"":Yf(t,d,y))+(a?"":function(t,e,n,i,r){var o=[r],a=i?10:20;return n&&o.push({padding:[0,0,0,a],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(Object(g.isArray)(e)?e.join(" "):e,o)}(t,p,A,v,b)):Kf((s?"":h)+(o?"":function(t,e,n){return'<span style="'+n+";"+(e?"margin-left:2px":"")+'">'+tt(t)+"</span>"}(d,!s,y))+(a?"":function(t,e,n,i){var r=e?"float:right;margin-left:"+(n?"10px":"20px"):"";return t=Object(g.isArray)(t)?t:[t],'<span style="'+r+";"+i+'">'+Object(g.map)(t,function(t){return tt(t)}).join("&nbsp;&nbsp;")+"</span>"}(p,A,v,b)),n)}}function Wf(t,e,n,i,r,o){if(t)return zf(t)({useUTC:r,renderMode:n,orderMode:i,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,o)}function Kf(t,e){return'<div style="'+("margin: "+e+"px 0 0")+";"+jf+';">'+t+'<div style="clear:both"></div></div>'}function Yf(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function Xf(t,e){return ch(t.getData().getItemVisual(e,"style")[t.visualDrawType])}function qf(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var Zf=function(){function t(){this.richTextStyles={},this._nextStyleNameId=Fi()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var i="richText"===n?this._generateStyleName():null,r=ah({color:e,type:t,renderMode:n,markerId:i});return Object(g.isString)(r)?r:(this.richTextStyles[i]=r.style,r.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};Object(g.isArray)(e)?Object(g.each)(e,function(t){return Object(g.extend)(n,t)}):Object(g.extend)(n,e);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},t}();function Jf(t){var e,n,i,r,o=t.series,a=t.dataIndex,s=t.multipleSeries,l=o.getData(),c=l.mapDimensionsAll("defaultedTooltip"),u=c.length,h=o.getRawValue(a),d=Object(g.isArray)(h),f=Xf(o,a);if(u>1||d&&!u){var p=function(t,e,n,i,r){var o=e.getData(),a=Object(g.reduce)(t,function(t,e,n){var i=o.getDimensionInfo(n);return t=t||i&&!1!==i.tooltip&&null!=i.displayName},!1),s=[],l=[],c=[];function u(t,e){var n=o.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(a?c.push(Hf("nameValue",{markerType:"subItem",markerColor:r,name:n.displayName,value:t,valueType:n.type})):(s.push(t),l.push(n.type)))}return i.length?Object(g.each)(i,function(t){u(ef(o,n,t),t)}):Object(g.each)(t,u),{inlineValues:s,inlineValueTypes:l,blocks:c}}(h,o,a,c,f);e=p.inlineValues,n=p.inlineValueTypes,i=p.blocks,r=p.inlineValues[0]}else if(u){var A=l.getDimensionInfo(c[0]);r=e=ef(l,a,c[0]),n=A.type}else r=e=d?h[0]:h;var v=qi(o),m=v&&o.name||"",y=l.getName(a),b=s?m:y;return Hf("section",{header:m,noHeader:s||!v,sortParam:r,blocks:[Hf("nameValue",{markerType:"item",markerColor:f,name:b,noName:!Object(g.trim)(b),value:e,valueType:n})].concat(i||[])})}var tp=tr();function ep(t,e){return t.getName(e)||t.getId(e)}var np="__universalTransitionEnabled",ip=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}var n;return p(e,t),e.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=af({count:op,reset:ap}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),(tp(this).sourceManager=new Lf(this)).prepareSource();var i=this.getInitialData(t,n);lp(i,this),this.dataTask.context.data=i,tp(this).dataBeforeProcessed=i,rp(this),this._initSelectedMapFromData(i)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=mh(this),i=n?bh(t):{},r=this.subType;Ch.hasClass(r)&&(r+="Series"),g.merge(t,e.getTheme().get(this.subType)),g.merge(t,this.getDefaultOption()),Vi(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&yh(t,i,n)},e.prototype.mergeOption=function(t,e){t=g.merge(this.option,t,!0),this.fillDataTextStyle(t.data);var n=mh(this);n&&yh(this.option,t,n);var i=tp(this).sourceManager;i.dirty(),i.prepareSource();var r=this.getInitialData(t,e);lp(r,this),this.dataTask.dirty(),this.dataTask.context.data=r,tp(this).dataBeforeProcessed=r,rp(this),this._initSelectedMapFromData(r)},e.prototype.fillDataTextStyle=function(t){if(t&&!g.isTypedArray(t))for(var e=["show"],n=0;n<t.length;n++)t[n]&&t[n].label&&Vi(t[n],"label",e)},e.prototype.getInitialData=function(t,e){},e.prototype.appendData=function(t){this.getRawData().appendData(t.data)},e.prototype.getData=function(t){var e=up(this);if(e){var n=e.context.data;return null==t?n:n.getLinkedData(t)}return tp(this).data},e.prototype.getAllData=function(){var t=this.getData();return t&&t.getLinkedDataAll?t.getLinkedDataAll():[{data:t}]},e.prototype.setData=function(t){var e=up(this);if(e){var n=e.context;n.outputData=t,e!==this.dataTask&&(n.data=t)}tp(this).data=t},e.prototype.getEncode=function(){var t=this.get("encode",!0);if(t)return g.createHashMap(t)},e.prototype.getSourceManager=function(){return tp(this).sourceManager},e.prototype.getSource=function(){return this.getSourceManager().getSource()},e.prototype.getRawData=function(){return tp(this).dataBeforeProcessed},e.prototype.getColorBy=function(){return this.get("colorBy")||"series"},e.prototype.isColorBySeries=function(){return"series"===this.getColorBy()},e.prototype.getBaseAxis=function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},e.prototype.formatTooltip=function(t,e,n){return Jf({series:this,dataIndex:t,multipleSeries:e})},e.prototype.isAnimationEnabled=function(){var t=this.ecModel;if(A.a.node&&(!t||!t.ssr))return!1;var e=this.getShallow("animation");return e&&this.getData().count()>this.getShallow("animationThreshold")&&(e=!1),!!e},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(t,e,n){var i=this.ecModel,r=Xh.prototype.getColorFromPalette.call(this,t,e,n);return r||(r=i.getColorFromPalette(t,e,n)),r},e.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},e.prototype.getProgressive=function(){return this.get("progressive")},e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},e.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},e.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n){var i=this.option.selectedMode,r=this.getData(e);if("series"===i||"all"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var o=0;o<t.length;o++){var a=ep(r,t[o]);n[a]=!1,this._selectedDataIndicesMap[a]=-1}}},e.prototype.toggleSelect=function(t,e){for(var n=[],i=0;i<t.length;i++)n[0]=t[i],this.isSelected(t[i],e)?this.unselect(n,e):this.select(n,e)},e.prototype.getSelectedDataIndices=function(){if("all"===this.option.selectedMap)return[].slice.call(this.getData().getIndices());for(var t=this._selectedDataIndicesMap,e=g.keys(t),n=[],i=0;i<e.length;i++){var r=t[e[i]];r>=0&&n.push(r)}return n},e.prototype.isSelected=function(t,e){var n=this.option.selectedMap;if(!n)return!1;var i=this.getData(e);return("all"===n||n[ep(i,t)])&&!i.getItemModel(t).get(["select","disabled"])},e.prototype.isUniversalTransitionEnabled=function(){if(this[np])return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},e.prototype._innerSelect=function(t,e){var n,i,r=this.option,o=r.selectedMode,a=e.length;if(o&&a)if("series"===o)r.selectedMap="all";else if("multiple"===o){g.isObject(r.selectedMap)||(r.selectedMap={});for(var s=r.selectedMap,l=0;l<a;l++){var c=e[l];s[h=ep(t,c)]=!0,this._selectedDataIndicesMap[h]=t.getRawIndex(c)}}else if("single"===o||!0===o){var u=e[a-1],h=ep(t,u);r.selectedMap=((n={})[h]=!0,n),this._selectedDataIndicesMap=((i={})[h]=t.getRawIndex(u),i)}},e.prototype._initSelectedMapFromData=function(t){if(!this.option.selectedMap){var e=[];t.hasItemOption&&t.each(function(n){var i=t.getRawDataItem(n);i&&i.selected&&e.push(n)}),e.length>0&&this._innerSelect(t,e)}},e.registerClass=function(t){return Ch.registerClass(t)},e.protoInitialize=((n=e.prototype).type="series.__base__",n.seriesIndex=0,n.ignoreStyleOnData=!1,n.hasSymbolVisual=!1,n.defaultSymbol="circle",n.visualStyleAccessPath="itemStyle",void(n.visualDrawType="fill")),e}(Ch);function rp(t){var e=t.name;qi(t)||(t.name=function(t){var e=t.getRawData(),n=e.mapDimensionsAll("seriesName"),i=[];return g.each(n,function(t){var n=e.getDimensionInfo(t);n.displayName&&i.push(n.displayName)}),i.join(" ")}(t)||e)}function op(t){return t.model.getRawData().count()}function ap(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),sp}function sp(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function lp(t,e){g.each(g.concatArray(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),function(n){t.wrapMethod(n,g.curry(cp,e))})}function cp(t,e){var n=up(t);return n&&n.setOutputEnd((e||this).count()),e}function up(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var i=n.currentTask;if(i){var r=i.agentStubMap;r&&(i=r.get(t.uid))}return i}}g.mixin(ip,rf),g.mixin(ip,Xh),Ar(ip,Ch);var hp=ip,dp=function(){function t(){this.group=new ei,this.uid=pu("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){},t.prototype.updateLayout=function(t,e,n,i){},t.prototype.updateVisual=function(t,e,n,i){},t.prototype.toggleBlurSeries=function(t,e,n){},t.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},t}();pr(dp),yr(dp);var fp=dp;function pp(){var t=tr();return function(e){var n=t(e),i=e.pipelineContext,r=!!n.large,o=!!n.progressiveRender,a=n.large=!(!i||!i.large),s=n.progressiveRender=!(!i||!i.progressiveRender);return!(r===a&&o===s)&&"reset"}}var Ap=tr(),gp=pp(),vp=function(){function t(){this.group=new ei,this.uid=pu("viewChart"),this.renderTask=af({plan:bp,reset:_p}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){0},t.prototype.highlight=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&yp(r,i,"emphasis")},t.prototype.downplay=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&yp(r,i,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateLayout=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.eachRendered=function(t){Nc(this.group,t)},t.markUpdateMethod=function(t,e){Ap(t).updateMethod=e},t.protoInitialize=void(t.prototype.type="chart"),t}();function mp(t,e,n){t&&Ts(t)&&("emphasis"===e?cs:us)(t,n)}function yp(t,e,n){var i=Ji(t,e),r=e&&null!=e.highlightKey?function(t){var e=Ia[t];return null==e&&Ea<=32&&(e=Ia[t]=Ea++),e}(e.highlightKey):null;null!=i?Object(g.each)(Hi(i),function(e){mp(t.getItemGraphicEl(e),n,r)}):t.eachItemGraphicEl(function(t){mp(t,n,r)})}function bp(t){return gp(t.model)}function _p(t){var e=t.model,n=t.ecModel,i=t.api,r=t.payload,o=e.pipelineContext.progressiveRender,a=t.view,s=r&&Ap(r).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](e,n,i,r),wp[l]}pr(vp),yr(vp);var wp={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}},xp=vp,Cp="\0__throttleOriginMethod",Sp="\0__throttleRate",Bp="\0__throttleType";function kp(t,e,n){var i,r,o,a,s,l=0,c=0,u=null;function h(){c=(new Date).getTime(),u=null,t.apply(o,a||[])}e=e||0;var d=function(){for(var t=[],d=0;d<arguments.length;d++)t[d]=arguments[d];i=(new Date).getTime(),o=this,a=t;var f=s||e,p=s||n;s=null,r=i-(p?l:c)-f,clearTimeout(u),p?u=setTimeout(h,f):r>=0?h():u=setTimeout(h,-r),l=i};return d.clear=function(){u&&(clearTimeout(u),u=null)},d.debounceNextCall=function(t){s=t},d}function Tp(t,e,n,i){var r=t[e];if(r){var o=r[Cp]||r,a=r[Bp];if(r[Sp]!==n||a!==i){if(null==n||!i)return t[e]=o;(r=t[e]=kp(o,n,"debounce"===i))[Cp]=o,r[Bp]=i,r[Sp]=n}return r}}function Op(t,e){var n=t[e];n&&n[Cp]&&(n.clear&&n.clear(),t[e]=n[Cp])}var Ep=tr(),Ip={itemStyle:br(lu,!0),lineStyle:br(ou,!0)},Mp={lineStyle:"stroke",itemStyle:"fill"};function Dp(t,e){var n=t.visualStyleMapper||Ip[e];return n||(console.warn("Unknown style type '"+e+"'."),Ip.itemStyle)}function Lp(t,e){var n=t.visualDrawType||Mp[e];return n||(console.warn("Unknown style type '"+e+"'."),"fill")}var Fp={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=t.getModel(i),o=Dp(t,i)(r),a=r.getShallow("decal");a&&(n.setVisual("decal",a),a.dirty=!0);var s=Lp(t,i),l=o[s],c=Object(g.isFunction)(l)?l:null,u="auto"===o.fill||"auto"===o.stroke;if(!o[s]||c||u){var h=t.getColorFromPalette(t.name,null,e.getSeriesCount());o[s]||(o[s]=h,n.setVisual("colorFromPalette",!0)),o.fill="auto"===o.fill||Object(g.isFunction)(o.fill)?h:o.fill,o.stroke="auto"===o.stroke||Object(g.isFunction)(o.stroke)?h:o.stroke}if(n.setVisual("style",o),n.setVisual("drawType",s),!e.isSeriesFiltered(t)&&c)return n.setVisual("colorFromPalette",!1),{dataEach:function(e,n){var i=t.getDataParams(n),r=Object(g.extend)({},o);r[s]=c(i),e.setItemVisual(n,"style",r)}}}},Pp=new du,Np={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!t.ignoreStyleOnData&&!e.isSeriesFiltered(t)){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=Dp(t,i),o=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[i]){Pp.option=n[i];var a=r(Pp),s=t.ensureUniqueItemVisual(e,"style");Object(g.extend)(s,a),Pp.option.decal&&(t.setItemVisual(e,"decal",Pp.option.decal),Pp.option.decal.dirty=!0),o in a&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}},jp={performRawSeries:!0,overallReset:function(t){var e=Object(g.createHashMap)();t.eachSeries(function(t){var n=t.getColorBy();if(!t.isColorBySeries()){var i=t.type+"-"+n,r=e.get(i);r||(r={},e.set(i,r)),Ep(t).scope=r}}),t.eachSeries(function(e){if(!e.isColorBySeries()&&!t.isSeriesFiltered(e)){var n=e.getRawData(),i={},r=e.getData(),o=Ep(e).scope,a=e.visualStyleAccessPath||"itemStyle",s=Lp(e,a);r.each(function(t){var e=r.getRawIndex(t);i[e]=t}),n.each(function(t){var a=i[t];if(r.getItemVisual(a,"colorFromPalette")){var l=r.ensureUniqueItemVisual(a,"style"),c=n.getName(t)||t+"",u=n.count();l[s]=e.getColorFromPalette(c,o,u)}})}})}},Up=Math.PI;var Rp=function(){function t(t,e,n,i){this._stageTaskMap=Object(g.createHashMap)(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}return t.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each(function(t){var e=t.overallTask;e&&e.dirty()})},t.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,r=!e&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex?n.step:null,o=i&&i.modDataCount;return{step:r,modBy:null!=o?Math.ceil(o/r):null,modDataCount:o}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData().count(),r=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,o=t.get("large")&&i>=t.get("largeThreshold"),a="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=n.context={progressiveRender:r,modDataCount:a,large:o}},t.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=Object(g.createHashMap)();t.eachSeries(function(t){var i=t.getProgressive(),r=t.uid;n.set(r,{id:r,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),e._pipe(t,t.dataTask)})},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;Object(g.each)(this._allHandlers,function(i){var r=t.get(i.uid)||t.set(i.uid,{}),o="";Object(g.assert)(!(i.reset&&i.overallReset),o),i.reset&&this._createSeriesStageTask(i,r,e,n),i.overallReset&&this._createOverallStageTask(i,r,e,n)},this)},t.prototype.prepareView=function(t,e,n,i){var r=t.renderTask,o=r.context;o.model=e,o.ecModel=n,o.api=i,r.__block=!t.incrementalPrepareRender,this._pipe(e,r)},t.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},t.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},t.prototype._performStageTasks=function(t,e,n,i){i=i||{};var r=!1,o=this;function a(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}Object(g.each)(t,function(t,s){if(!i.visualType||i.visualType===t.visualType){var l=o._stageTaskMap.get(t.uid),c=l.seriesTaskMap,u=l.overallTask;if(u){var h,d=u.agentStubMap;d.each(function(t){a(i,t)&&(t.dirty(),h=!0)}),h&&u.dirty(),o.updatePayload(u,n);var f=o.getPerformArgs(u,i.block);d.each(function(t){t.perform(f)}),u.perform(f)&&(r=!0)}else c&&c.each(function(s,l){a(i,s)&&s.dirty();var c=o.getPerformArgs(s,i.block);c.skip=!t.performRawSeries&&e.isSeriesFiltered(s.context.model),o.updatePayload(s,n),s.perform(c)&&(r=!0)})}}),this.unfinished=r||this.unfinished},t.prototype.performSeriesTasks=function(t){var e;t.eachSeries(function(t){e=t.dataTask.perform()||e}),this.unfinished=e||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each(function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)})},t.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},t.prototype._createSeriesStageTask=function(t,e,n,i){var r=this,o=e.seriesTaskMap,a=e.seriesTaskMap=Object(g.createHashMap)(),s=t.seriesType,l=t.getTargetSeries;function c(e){var s=e.uid,l=a.set(s,o&&o.get(s)||af({plan:$p,reset:Gp,count:Yp}));l.context={model:e,ecModel:n,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:r},r._pipe(e,l)}t.createOnAllSeries?n.eachRawSeries(c):s?n.eachRawSeriesByType(s,c):l&&l(n,i).each(c)},t.prototype._createOverallStageTask=function(t,e,n,i){var r=this,o=e.overallTask=e.overallTask||af({reset:Qp});o.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:r};var a=o.agentStubMap,s=o.agentStubMap=Object(g.createHashMap)(),l=t.seriesType,c=t.getTargetSeries,u=!0,h=!1,d="";function f(t){var e=t.uid,n=s.set(e,a&&a.get(e)||(h=!0,af({reset:Hp,onDirty:zp})));n.context={model:t,overallProgress:u},n.agent=o,n.__block=u,r._pipe(t,n)}Object(g.assert)(!t.createOnAllSeries,d),l?n.eachRawSeriesByType(l,f):c?c(n,i).each(f):(u=!1,Object(g.each)(n.getSeries(),f)),h&&o.dirty()},t.prototype._pipe=function(t,e){var n=t.uid,i=this._pipelineMap.get(n);!i.head&&(i.head=e),i.tail&&i.tail.pipe(e),i.tail=e,e.__idxInPipeline=i.count++,e.__pipeline=i},t.wrapStageHandler=function(t,e){return Object(g.isFunction)(t)&&(t={overallReset:t,seriesType:function(t){Xp=null;try{t(qp,Zp)}catch(t){}return Xp}(t)}),t.uid=pu("stageHandler"),e&&(t.visualType=e),t},t}();function Qp(t){t.overallReset(t.ecModel,t.api,t.payload)}function Hp(t){return t.overallProgress&&Vp}function Vp(){this.agent.dirty(),this.getDownstream().dirty()}function zp(){this.agent&&this.agent.dirty()}function $p(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function Gp(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=Hi(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?Object(g.map)(e,function(t,e){return Kp(e)}):Wp}var Wp=Kp(0);function Kp(t){return function(e,n){var i=n.data,r=n.resetDefines[t];if(r&&r.dataEach)for(var o=e.start;o<e.end;o++)r.dataEach(i,o);else r&&r.progress&&r.progress(e,i)}}function Yp(t){return t.data.count()}var Xp,qp={},Zp={};function Jp(t,e){for(var n in e.prototype)t[n]=g.noop}Jp(qp,id),Jp(Zp,od),qp.eachSeriesByType=qp.eachRawSeriesByType=function(t){Xp=t},qp.eachComponent=function(t){"series"===t.mainType&&t.subType&&(Xp=t.subType)};var tA=Rp,eA=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],nA={color:eA,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],eA]},iA=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],rA={darkMode:!0,color:iA,backgroundColor:"#100C2A",axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:"#B9B8CE"}},textStyle:{color:"#B9B8CE"},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:"#B9B8CE"}},dataZoom:{borderColor:"#71708A",textStyle:{color:"#B9B8CE"},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:"#B9B8CE"}},timeline:{lineStyle:{color:"#B9B8CE"},label:{color:"#B9B8CE"},controlStyle:{color:"#B9B8CE",borderColor:"#B9B8CE"}},calendar:{itemStyle:{color:"#100C2A"},dayLabel:{color:"#B9B8CE"},monthLabel:{color:"#B9B8CE"},yearLabel:{color:"#B9B8CE"}},timeAxis:{axisLine:{lineStyle:{color:"#B9B8CE"}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}},logAxis:{axisLine:{lineStyle:{color:"#B9B8CE"}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}},valueAxis:{axisLine:{lineStyle:{color:"#B9B8CE"}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}},categoryAxis:{axisLine:{lineStyle:{color:"#B9B8CE"}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}},line:{symbol:"circle"},graph:{color:iA},gauge:{title:{color:"#B9B8CE"},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:"#B9B8CE"},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};rA.categoryAxis.splitLine.show=!1;var oA=rA,aA=function(){function t(){}return t.prototype.normalizeQuery=function(t){var e={},n={},i={};if(g.isString(t)){var r=fr(t);e.mainType=r.main||null,e.subType=r.sub||null}else{var o=["Index","Name","Id"],a={name:1,dataIndex:1,dataType:1};g.each(t,function(t,r){for(var s=!1,l=0;l<o.length;l++){var c=o[l],u=r.lastIndexOf(c);if(u>0&&u===r.length-c.length){var h=r.slice(0,u);"data"!==h&&(e.mainType=h,e[c.toLowerCase()]=t,s=!0)}}a.hasOwnProperty(r)&&(n[r]=t,s=!0),s||(i[r]=t)})}return{cptQuery:e,dataQuery:n,otherQuery:i}},t.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var i=n.targetEl,r=n.packedEvent,o=n.model,a=n.view;if(!o||!a)return!0;var s=e.cptQuery,l=e.dataQuery;return c(s,o,"mainType")&&c(s,o,"subType")&&c(s,o,"index","componentIndex")&&c(s,o,"name")&&c(s,o,"id")&&c(l,r,"name")&&c(l,r,"dataIndex")&&c(l,r,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(t,e.otherQuery,i,r));function c(t,e,n,i){return null==t[n]||e[i||n]===t[n]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),sA=["symbol","symbolSize","symbolRotate","symbolOffset"],lA=sA.concat(["symbolKeepAspect"]),cA={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){for(var i={},r={},o=!1,a=0;a<sA.length;a++){var s=sA[a],l=t.get(s);Object(g.isFunction)(l)?(o=!0,r[s]=l):i[s]=l}if(i.symbol=i.symbol||t.defaultSymbol,n.setVisual(Object(g.extend)({legendIcon:t.legendIcon||i.symbol,symbolKeepAspect:t.get("symbolKeepAspect")},i)),!e.isSeriesFiltered(t)){var c=Object(g.keys)(r);return{dataEach:o?function(e,n){for(var i=t.getRawValue(n),o=t.getDataParams(n),a=0;a<c.length;a++){var s=c[a];e.setItemVisual(n,s,r[s](i,o))}}:null}}}}},uA={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(t.hasSymbolVisual&&!e.isSeriesFiltered(t))return{dataEach:t.getData().hasItemOption?function(t,e){for(var n=t.getItemModel(e),i=0;i<lA.length;i++){var r=lA[i],o=n.getShallow(r,!0);null!=o&&t.setItemVisual(e,r,o)}}:null}}};function hA(t,e,n){switch(n){case"color":return t.getItemVisual(e,"style")[t.getVisual("drawType")];case"opacity":return t.getItemVisual(e,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getItemVisual(e,n);default:0}}function dA(t,e){switch(e){case"color":return t.getVisual("style")[t.getVisual("drawType")];case"opacity":return t.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getVisual(e);default:0}}function fA(t,e,n,i){switch(n){case"color":t.ensureUniqueItemVisual(e,"style")[t.getVisual("drawType")]=i,t.setItemVisual(e,"colorFromPalette",!1);break;case"opacity":t.ensureUniqueItemVisual(e,"style").opacity=i;break;case"symbol":case"symbolSize":case"liftZ":t.setItemVisual(e,n,i);break;default:0}}function pA(t,e){Object(g.each)([[t+"ToggleSelect","toggleSelect"],[t+"Select","select"],[t+"UnSelect","unselect"]],function(n){e(n[0],function(e,i,r){e=Object(g.extend)({},e),r.dispatchAction(Object(g.extend)(e,{type:n[1],seriesIndex:function(e,n){var i=[];return e.eachComponent({mainType:"series",subType:t,query:n},function(t){i.push(t.seriesIndex)}),i}(i,e)}))})})}function AA(t,e,n,i,r){var o=t+e;n.isSilent(o)||i.eachComponent({mainType:"series",subType:"pie"},function(t){for(var e=t.seriesIndex,i=t.option.selectedMap,a=r.selected,s=0;s<a.length;s++)if(a[s].seriesIndex===e){var l=t.getData(),c=Ji(l,r.fromActionPayload);n.trigger(o,{type:o,seriesId:t.id,name:Object(g.isArray)(c)?l.getName(c[0]):l.getName(c),selected:Object(g.isString)(i)?i:Object(g.extend)({},i)})}})}function gA(t,e,n){for(var i;t&&(!e(t)||(i=t,!n));)t=t.__hostTarget||t.parent;return i}var vA=Math.round(9*Math.random()),mA="function"==typeof Object.defineProperty,yA=function(){function t(){this._id="__ec_inner_"+vA++}return t.prototype.get=function(t){return this._guard(t)[this._id]},t.prototype.set=function(t,e){var n=this._guard(t);return mA?Object.defineProperty(n,this._id,{value:e,enumerable:!1,configurable:!0}):n[this._id]=e,this},t.prototype.delete=function(t){return!!this.has(t)&&(delete this._guard(t)[this._id],!0)},t.prototype.has=function(t){return!!this._guard(t)[this._id]},t.prototype._guard=function(t){if(t!==Object(t))throw TypeError("Value of WeakMap is not a non-null object.");return t},t}(),bA=Xo.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,o=e.height/2;t.moveTo(n,i-o),t.lineTo(n+r,i+o),t.lineTo(n-r,i+o),t.closePath()}}),_A=Xo.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,o=e.height/2;t.moveTo(n,i-o),t.lineTo(n+r,i),t.lineTo(n,i+o),t.lineTo(n-r,i),t.closePath()}}),wA=Xo.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.x,i=e.y,r=e.width/5*3,o=Math.max(r,e.height),a=r/2,s=a*a/(o-a),l=i-o+a+s,c=Math.asin(s/a),u=Math.cos(c)*a,h=Math.sin(c),d=Math.cos(c),f=.6*a,p=.7*a;t.moveTo(n-u,l+s),t.arc(n,l,a,Math.PI-c,2*Math.PI+c),t.bezierCurveTo(n+u-h*f,l+s+d*f,n,i-p,n,i),t.bezierCurveTo(n,i-p,n-u+h*f,l+s+d*f,n-u,l+s),t.closePath()}}),xA=Xo.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.height,i=e.width,r=e.x,o=e.y,a=i/3*2;t.moveTo(r,o),t.lineTo(r+a,o+n),t.lineTo(r,o+n/4*3),t.lineTo(r-a,o+n),t.lineTo(r,o),t.closePath()}}),CA={line:Ml,rect:ha,roundRect:ha,square:ha,circle:Js,diamond:_A,pin:wA,arrow:xA,triangle:bA},SA={line:function(t,e,n,i,r){r.x1=t,r.y1=e+i/2,r.x2=t+n,r.y2=e+i/2},rect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i},roundRect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i,r.r=Math.min(n,i)/4},square:function(t,e,n,i,r){var o=Math.min(n,i);r.x=t,r.y=e,r.width=o,r.height=o},circle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.r=Math.min(n,i)/2},diamond:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i},pin:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},arrow:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},triangle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i}},BA={};Object(g.each)(CA,function(t,e){BA[e]=new t});var kA=Xo.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,n){var i=zn(t,e,n),r=this.shape;return r&&"pin"===r.symbolType&&"inside"===e.position&&(i.y=n.y+.4*n.height),i},buildPath:function(t,e,n){var i=e.symbolType;if("none"!==i){var r=BA[i];r||(r=BA[i="rect"]),SA[i](e.x,e.y,e.width,e.height,r.shape),r.buildPath(t,r.shape,n)}}});function TA(t,e){if("image"!==this.type){var n=this.style;this.__isEmptyBrush?(n.stroke=t,n.fill=e||"#fff",n.lineWidth=2):"line"===this.shape.symbolType?n.stroke=t:n.fill=t,this.markRedraw()}}function OA(t,e,n,i,r,o,a){var s,l=0===t.indexOf("empty");return l&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),(s=0===t.indexOf("image://")?vc(t.slice(8),new Mt(e,n,i,r),a?"center":"cover"):0===t.indexOf("path://")?gc(t.slice(7),{},new Mt(e,n,i,r),a?"center":"cover"):new kA({shape:{symbolType:t,x:e,y:n,width:i,height:r}})).__isEmptyBrush=l,s.setColor=TA,o&&s.setColor(o),s}function EA(t){return Object(g.isArray)(t)||(t=[+t,+t]),[t[0]||0,t[1]||0]}function IA(t,e){if(null!=t)return Object(g.isArray)(t)||(t=[t,t]),[pi(t[0],e[0])||0,pi(Object(g.retrieve2)(t[1],t[0]),e[1])||0]}function MA(t){return isFinite(t)}function DA(t,e,n){for(var i="radial"===e.type?function(t,e,n){var i=n.width,r=n.height,o=Math.min(i,r),a=null==e.x?.5:e.x,s=null==e.y?.5:e.y,l=null==e.r?.5:e.r;return e.global||(a=a*i+n.x,s=s*r+n.y,l*=o),a=MA(a)?a:.5,s=MA(s)?s:.5,l=l>=0&&MA(l)?l:.5,t.createRadialGradient(a,s,0,a,s,l)}(t,e,n):function(t,e,n){var i=null==e.x?0:e.x,r=null==e.x2?1:e.x2,o=null==e.y?0:e.y,a=null==e.y2?0:e.y2;return e.global||(i=i*n.width+n.x,r=r*n.width+n.x,o=o*n.height+n.y,a=a*n.height+n.y),i=MA(i)?i:0,r=MA(r)?r:1,o=MA(o)?o:0,a=MA(a)?a:0,t.createLinearGradient(i,o,r,a)}(t,e,n),r=e.colorStops,o=0;o<r.length;o++)i.addColorStop(r[o].offset,r[o].color);return i}function LA(t){return parseInt(t,10)}function FA(t,e,n){var i=["width","height"][e],r=["clientWidth","clientHeight"][e],o=["paddingLeft","paddingTop"][e],a=["paddingRight","paddingBottom"][e];if(null!=n[i]&&"auto"!==n[i])return parseFloat(n[i]);var s=document.defaultView.getComputedStyle(t);return(t[r]||LA(s[i])||LA(t.style[i]))-(LA(s[o])||0)-(LA(s[a])||0)|0}function PA(t){var e,n,i=t.style,r=i.lineDash&&i.lineWidth>0&&(e=i.lineDash,n=i.lineWidth,e&&"solid"!==e&&n>0?"dashed"===e?[4*n,2*n]:"dotted"===e?[n]:Object(g.isNumber)(e)?[e]:Object(g.isArray)(e)?e:null:null),o=i.lineDashOffset;if(r){var a=i.strokeNoScale&&t.getLineScale?t.getLineScale():1;a&&1!==a&&(r=Object(g.map)(r,function(t){return t/a}),o/=a)}return[r,o]}var NA=new Oo(!0);function jA(t){var e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))}function UA(t){return"string"==typeof t&&"none"!==t}function RA(t){var e=t.fill;return null!=e&&"none"!==e}function QA(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var n=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=n}else t.fill()}function HA(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var n=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=n}else t.stroke()}function VA(t,e,n){var i=Sr(e.image,e.__image,n);if(kr(i)){var r=t.createPattern(i,e.repeat||"repeat");if("function"==typeof DOMMatrix&&r&&r.setTransform){var o=new DOMMatrix;o.translateSelf(e.x||0,e.y||0),o.rotateSelf(0,0,(e.rotation||0)*g.RADIAN_TO_DEGREE),o.scaleSelf(e.scaleX||1,e.scaleY||1),r.setTransform(o)}return r}}var zA=["shadowBlur","shadowOffsetX","shadowOffsetY"],$A=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function GA(t,e,n,i,r){var o=!1;if(!i&&e===(n=n||{}))return!1;if(i||e.opacity!==n.opacity){JA(t,r),o=!0;var a=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(a)?Qr.opacity:a}(i||e.blend!==n.blend)&&(o||(JA(t,r),o=!0),t.globalCompositeOperation=e.blend||Qr.blend);for(var s=0;s<zA.length;s++){var l=zA[s];(i||e[l]!==n[l])&&(o||(JA(t,r),o=!0),t[l]=t.dpr*(e[l]||0))}return(i||e.shadowColor!==n.shadowColor)&&(o||(JA(t,r),o=!0),t.shadowColor=e.shadowColor||Qr.shadowColor),o}function WA(t,e,n,i,r){var o=tg(e,r.inHover),a=i?null:n&&tg(n,r.inHover)||{};if(o===a)return!1;var s=GA(t,o,a,i,r);if((i||o.fill!==a.fill)&&(s||(JA(t,r),s=!0),UA(o.fill)&&(t.fillStyle=o.fill)),(i||o.stroke!==a.stroke)&&(s||(JA(t,r),s=!0),UA(o.stroke)&&(t.strokeStyle=o.stroke)),(i||o.opacity!==a.opacity)&&(s||(JA(t,r),s=!0),t.globalAlpha=null==o.opacity?1:o.opacity),e.hasStroke()){var l=o.lineWidth/(o.strokeNoScale&&e.getLineScale?e.getLineScale():1);t.lineWidth!==l&&(s||(JA(t,r),s=!0),t.lineWidth=l)}for(var c=0;c<$A.length;c++){var u=$A[c],h=u[0];(i||o[h]!==a[h])&&(s||(JA(t,r),s=!0),t[h]=o[h]||u[1])}return s}function KA(t,e){var n=e.transform,i=t.dpr||1;n?t.setTransform(i*n[0],i*n[1],i*n[2],i*n[3],i*n[4],i*n[5]):t.setTransform(i,0,0,i,0,0)}var YA=1,XA=2,qA=3,ZA=4;function JA(t,e){e.batchFill&&t.fill(),e.batchStroke&&t.stroke(),e.batchFill="",e.batchStroke=""}function tg(t,e){return e&&t.__hoverStyle||t.style}function eg(t,e){ng(t,e,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function ng(t,e,n,i){var r=e.transform;if(!e.shouldBePainted(n.viewWidth,n.viewHeight,!1,!1))return e.__dirty&=~Zt,void(e.__isRendered=!1);var o=e.__clipPaths,a=n.prevElClipPaths,s=!1,l=!1;if(a&&!function(t,e){if(t===e||!t&&!e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!0;return!1}(o,a)||(a&&a.length&&(JA(t,n),t.restore(),l=s=!0,n.prevElClipPaths=null,n.allClipped=!1,n.prevEl=null),o&&o.length&&(JA(t,n),t.save(),function(t,e,n){for(var i=!1,r=0;r<t.length;r++){var o=t[r];i=i||o.isZeroArea(),KA(e,o),e.beginPath(),o.buildPath(e,o.shape),e.clip()}n.allClipped=i}(o,t,n),s=!0),n.prevElClipPaths=o),n.allClipped)e.__isRendered=!1;else{e.beforeBrush&&e.beforeBrush(),e.innerBeforeBrush();var c=n.prevEl;c||(l=s=!0);var u,h,d=e instanceof Xo&&e.autoBatch&&function(t){var e=RA(t),n=jA(t);return!(t.lineDash||!(+e^+n)||e&&"string"!=typeof t.fill||n&&"string"!=typeof t.stroke||t.strokePercent<1||t.strokeOpacity<1||t.fillOpacity<1)}(e.style);s||(u=r,h=c.transform,u&&h?u[0]!==h[0]||u[1]!==h[1]||u[2]!==h[2]||u[3]!==h[3]||u[4]!==h[4]||u[5]!==h[5]:u||h)?(JA(t,n),KA(t,e)):d||JA(t,n);var f=tg(e,n.inHover);e instanceof Xo?(n.lastDrawType!==YA&&(l=!0,n.lastDrawType=YA),WA(t,e,c,l,n),d&&(n.batchFill||n.batchStroke)||t.beginPath(),function(t,e,n,i){var r,o=jA(n),a=RA(n),s=n.strokePercent,l=s<1,c=!e.path;e.silent&&!l||!c||e.createPathProxy();var u=e.path||NA,h=e.__dirty;if(!i){var d=n.fill,f=n.stroke,p=a&&!!d.colorStops,A=o&&!!f.colorStops,g=a&&!!d.image,v=o&&!!f.image,m=void 0,y=void 0,b=void 0,_=void 0,w=void 0;(p||A)&&(w=e.getBoundingRect()),p&&(m=h?DA(t,d,w):e.__canvasFillGradient,e.__canvasFillGradient=m),A&&(y=h?DA(t,f,w):e.__canvasStrokeGradient,e.__canvasStrokeGradient=y),g&&(b=h||!e.__canvasFillPattern?VA(t,d,e):e.__canvasFillPattern,e.__canvasFillPattern=b),v&&(_=h||!e.__canvasStrokePattern?VA(t,f,e):e.__canvasStrokePattern,e.__canvasStrokePattern=b),p?t.fillStyle=m:g&&(b?t.fillStyle=b:a=!1),A?t.strokeStyle=y:v&&(_?t.strokeStyle=_:o=!1)}var x,C,S=e.getGlobalScale();u.setScale(S[0],S[1],e.segmentIgnoreThreshold),t.setLineDash&&n.lineDash&&(x=(r=PA(e))[0],C=r[1]);var B=!0;(c||h&Jt)&&(u.setDPR(t.dpr),l?u.setContext(null):(u.setContext(t),B=!1),u.reset(),e.buildPath(u,e.shape,i),u.toStatic(),e.pathUpdated()),B&&u.rebuildPath(t,l?s:1),x&&(t.setLineDash(x),t.lineDashOffset=C),i||(n.strokeFirst?(o&&HA(t,n),a&&QA(t,n)):(a&&QA(t,n),o&&HA(t,n))),x&&t.setLineDash([])}(t,e,f,d),d&&(n.batchFill=f.fill||"",n.batchStroke=f.stroke||"")):e instanceof Jo?(n.lastDrawType!==qA&&(l=!0,n.lastDrawType=qA),WA(t,e,c,l,n),function(t,e,n){var i,r=n.text;if(null!=r&&(r+=""),r){t.font=n.font||Fn.a,t.textAlign=n.textAlign,t.textBaseline=n.textBaseline;var o=void 0,a=void 0;t.setLineDash&&n.lineDash&&(o=(i=PA(e))[0],a=i[1]),o&&(t.setLineDash(o),t.lineDashOffset=a),n.strokeFirst?(jA(n)&&t.strokeText(r,n.x,n.y),RA(n)&&t.fillText(r,n.x,n.y)):(RA(n)&&t.fillText(r,n.x,n.y),jA(n)&&t.strokeText(r,n.x,n.y)),o&&t.setLineDash([])}}(t,e,f)):e instanceof ia?(n.lastDrawType!==XA&&(l=!0,n.lastDrawType=XA),function(t,e,n,i,r){GA(t,tg(e,r.inHover),n&&tg(n,r.inHover),i,r)}(t,e,c,l,n),function(t,e,n){var i=e.__image=Sr(n.image,e.__image,e,e.onload);if(i&&kr(i)){var r=n.x||0,o=n.y||0,a=e.getWidth(),s=e.getHeight(),l=i.width/i.height;if(null==a&&null!=s?a=s*l:null==s&&null!=a?s=a/l:null==a&&null==s&&(a=i.width,s=i.height),n.sWidth&&n.sHeight){var c=n.sx||0,u=n.sy||0;t.drawImage(i,c,u,n.sWidth,n.sHeight,r,o,a,s)}else if(n.sx&&n.sy){var h=a-(c=n.sx),d=s-(u=n.sy);t.drawImage(i,c,u,h,d,r,o,a,s)}else t.drawImage(i,r,o,a,s)}}(t,e,f)):e.getTemporalDisplayables&&(n.lastDrawType!==ZA&&(l=!0,n.lastDrawType=ZA),function(t,e,n){var i=e.getDisplayables(),r=e.getTemporalDisplayables();t.save();var o,a,s={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:n.viewWidth,viewHeight:n.viewHeight,inHover:n.inHover};for(o=e.getCursor(),a=i.length;o<a;o++){var l=i[o];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),ng(t,l,s,o===a-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}for(var c=0,u=r.length;c<u;c++){var l=r[c];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),ng(t,l,s,c===u-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}e.clearTemporalDisplayables(),e.notClear=!0,t.restore()}(t,e,n)),d&&i&&JA(t,n),e.innerAfterBrush(),e.afterBrush&&e.afterBrush(),n.prevEl=e,e.__dirty=0,e.__isRendered=!0}}var ig=new yA,rg=new Ln.a(100),og=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function ag(t,e){if("none"===t)return null;var n=e.getDevicePixelRatio(),i=e.getZr(),r="svg"===i.painter.type;t.dirty&&ig.delete(t);var o=ig.get(t);if(o)return o;var a=Object(g.defaults)(t,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});"none"===a.backgroundColor&&(a.backgroundColor=null);var s={repeat:"repeat"};return function(t){for(var e,o=[n],s=!0,l=0;l<og.length;++l){var c=a[og[l]];if(null!=c&&!Object(g.isArray)(c)&&!Object(g.isString)(c)&&!Object(g.isNumber)(c)&&"boolean"!=typeof c){s=!1;break}o.push(c)}if(s){e=o.join(",")+(r?"-svg":"");var u=rg.get(e);u&&(r?t.svgElement=u:t.image=u)}var h,d=function t(e){if(!e||0===e.length)return[[0,0]];if(Object(g.isNumber)(e)){var n=Math.ceil(e);return[[n,n]]}var i=!0;for(var r=0;r<e.length;++r)if(!Object(g.isNumber)(e[r])){i=!1;break}if(i)return t([e]);var o=[];for(var r=0;r<e.length;++r)if(Object(g.isNumber)(e[r])){var n=Math.ceil(e[r]);o.push([n,n])}else{var n=Object(g.map)(e[r],function(t){return Math.ceil(t)});n.length%2==1?o.push(n.concat(n)):o.push(n)}return o}(a.dashArrayX),f=function(t){if(!t||"object"==typeof t&&0===t.length)return[0,0];if(Object(g.isNumber)(t)){var e=Math.ceil(t);return[e,e]}var n=Object(g.map)(t,function(t){return Math.ceil(t)});return t.length%2?n.concat(n):n}(a.dashArrayY),p=function t(e){if(!e||0===e.length)return[["rect"]];if(Object(g.isString)(e))return[[e]];var n=!0;for(var i=0;i<e.length;++i)if(!Object(g.isString)(e[i])){n=!1;break}if(n)return t([e]);var r=[];for(var i=0;i<e.length;++i)Object(g.isString)(e[i])?r.push([e[i]]):r.push(e[i]);return r}(a.symbol),A=(_=d,Object(g.map)(_,function(t){return sg(t)})),v=sg(f),m=!r&&Fn.d.createCanvas(),y=r&&{tag:"g",attrs:{},key:"dcl",children:[]},b=function(){for(var t=1,e=0,n=A.length;e<n;++e)t=Pi(t,A[e]);for(var i=1,e=0,n=p.length;e<n;++e)i=Pi(i,p[e].length);t*=i;var r=v*A.length*p.length;return{width:Math.max(1,Math.min(t,a.maxTileWidth)),height:Math.max(1,Math.min(r,a.maxTileHeight))}}();var _;m&&(m.width=b.width*n,m.height=b.height*n,h=m.getContext("2d"));(function(){h&&(h.clearRect(0,0,m.width,m.height),a.backgroundColor&&(h.fillStyle=a.backgroundColor,h.fillRect(0,0,m.width,m.height)));for(var t=0,e=0;e<f.length;++e)t+=f[e];if(!(t<=0))for(var o=-v,s=0,l=0,c=0;o<b.height;){if(s%2==0){for(var u=l/2%p.length,A=0,g=0,_=0;A<2*b.width;){for(var w=0,e=0;e<d[c].length;++e)w+=d[c][e];if(w<=0)break;if(g%2==0){var x=.5*(1-a.symbolSize),C=A+d[c][g]*x,S=o+f[s]*x,B=d[c][g]*a.symbolSize,k=f[s]*a.symbolSize,T=_/2%p[u].length;O(C,S,B,k,p[u][T])}A+=d[c][g],++_,++g===d[c].length&&(g=0)}++c===d.length&&(c=0)}o+=f[s],++l,++s===f.length&&(s=0)}function O(t,e,o,s,l){var c=r?1:n,u=OA(l,t*c,e*c,o*c,s*c,a.color,a.symbolKeepAspect);if(r){var d=i.painter.renderOneToVNode(u);d&&y.children.push(d)}else eg(h,u)}})(),s&&rg.put(e,m||y);t.image=m,t.svgElement=y,t.svgWidth=b.width,t.svgHeight=b.height}(s),s.rotation=a.rotation,s.scaleX=s.scaleY=r?1:1/n,ig.set(t,s),t.dirty=!1,s}function sg(t){for(var e=0,n=0;n<t.length;++n)e+=t[n];return t.length%2==1?2*e:e}var lg=new z,cg={};function ug(t){return cg[t]}var hg={zrender:"5.4.3"},dg=2e3,fg=1e3,pg=3e3,Ag={PROCESSOR:{FILTER:1e3,SERIES_FILTER:800,STATISTIC:5e3},VISUAL:{LAYOUT:fg,PROGRESSIVE_LAYOUT:1100,GLOBAL:2e3,CHART:pg,POST_CHART_LAYOUT:4600,COMPONENT:4e3,BRUSH:5e3,CHART_ITEM:4500,ARIA:6e3,DECAL:7e3}},gg=/^[a-zA-Z0-9_]+$/,vg="__connectUpdateStatus";function mg(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(!this.isDisposed())return bg(this,t,e);zg(this.id)}}function yg(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return bg(this,t,e)}}function bg(t,e,n){return n[0]=n[0]&&n[0].toLowerCase(),z.prototype[e].apply(t,n)}var _g,wg,xg,Cg,Sg,Bg,kg,Tg,Og,Eg,Ig,Mg,Dg,Lg,Fg,Pg,Ng,jg,Ug=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return p(e,t),e}(z),Rg=Ug.prototype;Rg.on=yg("on"),Rg.off=yg("off");var Qg=function(t){function e(e,n,i){var r=t.call(this,new aA)||this;r._chartsViews=[],r._chartsMap={},r._componentsViews=[],r._componentsMap={},r._pendingActions=[],i=i||{},Object(g.isString)(n)&&(n=Xg[n]),r._dom=e;var o="canvas",a="auto",s=!1,l=r._zr=oi(e,{renderer:i.renderer||o,devicePixelRatio:i.devicePixelRatio,width:i.width,height:i.height,ssr:i.ssr,useDirtyRect:Object(g.retrieve2)(i.useDirtyRect,s),useCoarsePointer:Object(g.retrieve2)(i.useCoarsePointer,a),pointerSize:i.pointerSize});r._ssr=i.ssr,r._throttledZrFlush=kp(Object(g.bind)(l.flush,l),17),(n=Object(g.clone)(n))&&Od(n,!0),r._theme=n,r._locale=function(t){if(Object(g.isString)(t)){var e=yu[t.toUpperCase()]||{};return t===gu||t===vu?Object(g.clone)(e):Object(g.merge)(Object(g.clone)(e),Object(g.clone)(yu[mu]),!1)}return Object(g.merge)(Object(g.clone)(t),Object(g.clone)(yu[mu]),!1)}(i.locale||_u),r._coordSysMgr=new sd;var c=r._api=Fg(r);function u(t,e){return t.__prio-e.__prio}return qt(Yg,u),qt(Wg,u),r._scheduler=new tA(r,c,Wg,Yg),r._messageCenter=new Ug,r._initEvents(),r.resize=Object(g.bind)(r.resize,r),l.animation.on("frame",r._onframe,r),Eg(l,r),Ig(l,r),Object(g.setAsPrimitive)(r),r}return p(e,t),e.prototype._onframe=function(){if(!this._disposed){jg(this);var t=this._scheduler;if(this.__pendingUpdate){var e=this.__pendingUpdate.silent;this.__flagInMainProcess=!0;try{_g(this),Cg.update.call(this,null,this.__pendingUpdate.updateParams)}catch(t){throw this.__flagInMainProcess=!1,this.__pendingUpdate=null,t}this._zr.flush(),this.__flagInMainProcess=!1,this.__pendingUpdate=null,Tg.call(this,e),Og.call(this,e)}else if(t.unfinished){var n=1,i=this._model,r=this._api;t.unfinished=!1;do{var o=+new Date;t.performSeriesTasks(i),t.performDataProcessorTasks(i),Bg(this,i),t.performVisualTasks(i),Lg(this,this._model,r,"remain",{}),n-=+new Date-o}while(n>0&&t.unfinished);t.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(t,e,n){if(!this.__flagInMainProcess)if(this._disposed)zg(this.id);else{var i,r,o;if(Object(g.isObject)(e)&&(n=e.lazyUpdate,i=e.silent,r=e.replaceMerge,o=e.transition,e=e.notMerge),this.__flagInMainProcess=!0,!this._model||e){var a=new ud(this._api),s=this._theme,l=this._model=new id;l.scheduler=this._scheduler,l.ssr=this._ssr,l.init(null,null,null,s,this._locale,a)}this._model.setOption(t,{replaceMerge:r},Kg);var c={seriesTransition:o,optionChanged:!0};if(n)this.__pendingUpdate={silent:i,updateParams:c},this.__flagInMainProcess=!1,this.getZr().wakeUp();else{try{_g(this),Cg.update.call(this,null,c)}catch(t){throw this.__pendingUpdate=null,this.__flagInMainProcess=!1,t}this._ssr||this._zr.flush(),this.__pendingUpdate=null,this.__flagInMainProcess=!1,Tg.call(this,i),Og.call(this,i)}}},e.prototype.setTheme=function(){Ni()},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||A.a.hasGlobalWindow&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){t=t||{};var e=this._zr.painter;return e.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){t=t||{};var e=this._zr.painter;return e.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){if(A.a.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return Object(g.each)(e,function(t){t.stopAnimation(null,!0)}),t.painter.toDataURL()}},e.prototype.getDataURL=function(t){if(!this._disposed){var e=(t=t||{}).excludeComponents,n=this._model,i=[],r=this;Object(g.each)(e,function(t){n.eachComponent({mainType:t},function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(i.push(e),e.group.ignore=!0)})});var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return Object(g.each)(i,function(t){t.group.ignore=!1}),o}zg(this.id)},e.prototype.getConnectedDataURL=function(t){if(!this._disposed){var e="svg"===t.type,n=this.group,i=Math.min,r=Math.max;if(Jg[n]){var o=1/0,a=1/0,s=-1/0,l=-1/0,c=[],u=t&&t.pixelRatio||this.getDevicePixelRatio();Object(g.each)(Zg,function(u,h){if(u.group===n){var d=e?u.getZr().painter.getSvgDom().innerHTML:u.renderToCanvas(Object(g.clone)(t)),f=u.getDom().getBoundingClientRect();o=i(f.left,o),a=i(f.top,a),s=r(f.right,s),l=r(f.bottom,l),c.push({dom:d,left:f.left,top:f.top})}});var h=(s*=u)-(o*=u),d=(l*=u)-(a*=u),f=Fn.d.createCanvas(),p=oi(f,{renderer:e?"svg":"canvas"});if(p.resize({width:h,height:d}),e){var A="";return Object(g.each)(c,function(t){var e=t.left-o,n=t.top-a;A+='<g transform="translate('+e+","+n+')">'+t.dom+"</g>"}),p.painter.getSvgRoot().innerHTML=A,t.connectedBackgroundColor&&p.painter.setBackgroundColor(t.connectedBackgroundColor),p.refreshImmediately(),p.painter.toDataURL()}return t.connectedBackgroundColor&&p.add(new ha({shape:{x:0,y:0,width:h,height:d},style:{fill:t.connectedBackgroundColor}})),Object(g.each)(c,function(t){var e=new ia({style:{x:t.left*u-o,y:t.top*u-a,image:t.dom}});p.add(e)}),p.refreshImmediately(),f.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}zg(this.id)},e.prototype.convertToPixel=function(t,e){return Sg(this,"convertToPixel",t,e)},e.prototype.convertFromPixel=function(t,e){return Sg(this,"convertFromPixel",t,e)},e.prototype.containPixel=function(t,e){if(!this._disposed){var n,i=nr(this._model,t);return Object(g.each)(i,function(t,i){i.indexOf("Models")>=0&&Object(g.each)(t,function(t){var r=t.coordinateSystem;if(r&&r.containPoint)n=n||!!r.containPoint(e);else if("seriesModels"===i){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(n=n||o.containPoint(e,t))}else 0},this)},this),!!n}zg(this.id)},e.prototype.getVisual=function(t,e){var n=nr(this._model,t,{defaultMainType:"series"}),i=n.seriesModel;var r=i.getData(),o=n.hasOwnProperty("dataIndexInside")?n.dataIndexInside:n.hasOwnProperty("dataIndex")?r.indexOfRawIndex(n.dataIndex):null;return null!=o?hA(r,o,e):dA(r,e)},e.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},e.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},e.prototype._initEvents=function(){var t,e,n,i=this;Object(g.each)(Vg,function(t){var e=function(e){var n,r=i.getModel(),o=e.target,a="globalout"===t;if(a?n={}:o&&gA(o,function(t){var e=Ta(t);if(e&&null!=e.dataIndex){var i=e.dataModel||r.getSeriesByIndex(e.seriesIndex);return n=i&&i.getDataParams(e.dataIndex,e.dataType)||{},!0}if(e.eventData)return n=Object(g.extend)({},e.eventData),!0},!0),n){var s=n.componentType,l=n.componentIndex;"markLine"!==s&&"markPoint"!==s&&"markArea"!==s||(s="series",l=n.seriesIndex);var c=s&&null!=l&&r.getComponent(s,l),u=c&&i["series"===c.mainType?"_chartsMap":"_componentsMap"][c.__viewId];0,n.event=e,n.type=t,i._$eventProcessor.eventInfo={targetEl:o,packedEvent:n,model:c,view:u},i.trigger(t,n)}};e.zrEventfulCallAtLast=!0,i._zr.on(t,e,i)}),Object(g.each)(Gg,function(t,e){i._messageCenter.on(e,function(t){this.trigger(e,t)},i)}),Object(g.each)(["selectchanged"],function(t){i._messageCenter.on(t,function(e){this.trigger(t,e)},i)}),t=this._messageCenter,e=this,n=this._api,t.on("selectchanged",function(t){var i=n.getModel();t.isFromClick?(AA("map","selectchanged",e,i,t),AA("pie","selectchanged",e,i,t)):"select"===t.fromAction?(AA("map","selected",e,i,t),AA("pie","selected",e,i,t)):"unselect"===t.fromAction&&(AA("map","unselected",e,i,t),AA("pie","unselected",e,i,t))})},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){this._disposed?zg(this.id):this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)zg(this.id);else{this._disposed=!0,this.getDom()&&sr(this.getDom(),nv,"");var t=this._api,e=this._model;Object(g.each)(this._componentsViews,function(n){n.dispose(e,t)}),Object(g.each)(this._chartsViews,function(n){n.dispose(e,t)}),this._zr.dispose(),this._dom=this._model=this._chartsMap=this._componentsMap=this._chartsViews=this._componentsViews=this._scheduler=this._api=this._zr=this._throttledZrFlush=this._theme=this._coordSysMgr=this._messageCenter=null,delete Zg[this.id]}},e.prototype.resize=function(t){if(!this.__flagInMainProcess)if(this._disposed)zg(this.id);else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),i=t&&t.silent;this.__pendingUpdate&&(null==i&&(i=this.__pendingUpdate.silent),n=!0,this.__pendingUpdate=null),this.__flagInMainProcess=!0;try{n&&_g(this),Cg.update.call(this,{type:"resize",animation:Object(g.extend)({duration:0},t&&t.animation)})}catch(t){throw this.__flagInMainProcess=!1,t}this.__flagInMainProcess=!1,Tg.call(this,i),Og.call(this,i)}}},e.prototype.showLoading=function(t,e){if(this._disposed)zg(this.id);else if(Object(g.isObject)(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),qg[t]){var n=qg[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},e.prototype.hideLoading=function(){this._disposed?zg(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},e.prototype.makeActionFromEvent=function(t){var e=Object(g.extend)({},t);return e.type=Gg[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)zg(this.id);else if(Object(g.isObject)(e)||(e={silent:!!e}),$g[t.type]&&this._model)if(this.__flagInMainProcess)this._pendingActions.push(t);else{var n=e.silent;kg.call(this,t,n);var i=e.flush;i?this._zr.flush():!1!==i&&A.a.browser.weChat&&this._throttledZrFlush(),Tg.call(this,n),Og.call(this,n)}},e.prototype.updateLabelLayout=function(){lg.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed)zg(this.id);else{var e=t.seriesIndex,n=this.getModel().getSeriesByIndex(e);0,n.appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},e.internalField=function(){function t(t){t.clearColorPalette(),t.eachSeries(function(t){t.clearColorPalette()})}function e(t){for(var e=[],n=t.currentStates,i=0;i<n.length;i++){var r=n[i];"emphasis"!==r&&"blur"!==r&&"select"!==r&&e.push(r)}t.selected&&t.states.select&&e.push("select"),t.hoverState===Pa&&t.states.emphasis?e.push("emphasis"):t.hoverState===Fa&&t.states.blur&&e.push("blur"),t.useStates(e)}function n(t,e){if(!t.preventAutoZ){var n=t.get("z")||0,i=t.get("zlevel")||0;e.eachRendered(function(t){return function t(e,n,i,r){var o=e.getTextContent();var a=e.getTextGuideLine();var s=e.isGroup;if(s)for(var l=e.childrenRef(),c=0;c<l.length;c++)r=Math.max(t(l[c],n,i,r),r);else e.z=n,e.zlevel=i,r=Math.max(e.z2,r);o&&(o.z=n,o.zlevel=i,isFinite(r)&&(o.z2=r+2));if(a){var u=e.textGuideLineConfig;a.z=n,a.zlevel=i,isFinite(r)&&(a.z2=r+(u&&u.showAbove?1:-1))}return r}(t,n,i,-1/0),!0})}}function i(t,e){e.eachRendered(function(t){if(!ic(t)){var e=t.getTextContent(),n=t.getTextGuideLine();t.stateTransition&&(t.stateTransition=null),e&&e.stateTransition&&(e.stateTransition=null),n&&n.stateTransition&&(n.stateTransition=null),t.hasState()?(t.prevStates=t.currentStates,t.clearStates()):t.prevStates&&(t.prevStates=null)}})}function r(t,n){var i=t.getModel("stateAnimation"),r=t.isAnimationEnabled(),o=i.get("duration"),a=o>0?{duration:o,delay:i.get("delay"),easing:i.get("easing")}:null;n.eachRendered(function(t){if(t.states&&t.states.emphasis){if(ic(t))return;if(t instanceof Xo&&function(t){var e=Ma(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var n=t.states.select||{};e.selectFill=n.style&&n.style.fill||null,e.selectStroke=n.style&&n.style.stroke||null}(t),t.__dirty){var n=t.prevStates;n&&t.useStates(n)}if(r){t.stateTransition=a;var i=t.getTextContent(),o=t.getTextGuideLine();i&&(i.stateTransition=a),o&&(o.stateTransition=a)}t.__dirty&&e(t)}})}_g=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),wg(t,!0),wg(t,!1),e.plan()},wg=function(t,e){for(var n=t._model,i=t._scheduler,r=e?t._componentsViews:t._chartsViews,o=e?t._componentsMap:t._chartsMap,a=t._zr,s=t._api,l=0;l<r.length;l++)r[l].__alive=!1;function c(t){var l=t.__requireNewView;t.__requireNewView=!1;var c="_ec_"+t.id+"_"+t.type,u=!l&&o[c];if(!u){var h=fr(t.type),d=e?fp.getClass(h.main,h.sub):xp.getClass(h.sub);0,(u=new d).init(n,s),o[c]=u,r.push(u),a.add(u.group)}t.__viewId=u.__id=c,u.__alive=!0,u.__model=t,u.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},!e&&i.prepareView(u,t,n,s)}e?n.eachComponent(function(t,e){"series"!==t&&c(e)}):n.eachSeries(c);for(l=0;l<r.length;){var u=r[l];u.__alive?l++:(!e&&u.renderTask.dispose(),a.remove(u.group),u.dispose(n,s),r.splice(l,1),o[u.__id]===u&&delete o[u.__id],u.__id=u.group.__ecComponentInfo=null)}},xg=function(t,e,n,i,r){var o=t._model;if(o.setUpdatePayload(n),i){var a={};a[i+"Id"]=n[i+"Id"],a[i+"Index"]=n[i+"Index"],a[i+"Name"]=n[i+"Name"];var s={mainType:i,query:a};r&&(s.subType=r);var l,c=n.excludeSeriesId;null!=c&&(l=Object(g.createHashMap)(),Object(g.each)(Hi(c),function(t){var e=Xi(t,null);null!=e&&l.set(e,!0)})),o&&o.eachComponent(s,function(e){if(!(l&&null!=l.get(e.id)))if(Es(n))if(e instanceof hp)n.type!==Qa||n.notBlur||e.get(["emphasis","disabled"])||function(t,e,n){var i=t.seriesIndex,r=t.getData(e.dataType);if(r){var o=Ji(r,e);o=(Object(g.isArray)(o)?o[0]:o)||0;var a=r.getItemGraphicEl(o);if(!a)for(var s=r.count(),l=0;!a&&l<s;)a=r.getItemGraphicEl(l++);if(a){var c=Ta(a);vs(i,c.focus,c.blurScope,n)}else{var u=t.get(["emphasis","focus"]),h=t.get(["emphasis","blurScope"]);null!=u&&vs(i,u,h,n)}}}(e,n,t._api);else{var i=ys(e.mainType,e.componentIndex,n.name,t._api),r=i.focusSelf,o=i.dispatchers;n.type===Qa&&r&&!n.notBlur&&ms(e.mainType,e.componentIndex,t._api),o&&Object(g.each)(o,function(t){n.type===Qa?cs(t):us(t)})}else Os(n)&&e instanceof hp&&(!function(t,e,n){if(Os(e)){var i=e.dataType,r=Ji(t.getData(i),e);Object(g.isArray)(r)||(r=[r]),t[e.type===$a?"toggleSelect":e.type===Va?"select":"unselect"](r,i)}}(e,n,t._api),bs(e),Ng(t))},t),o&&o.eachComponent(s,function(e){l&&null!=l.get(e.id)||u(t["series"===i?"_chartsMap":"_componentsMap"][e.__viewId])},t)}else Object(g.each)([].concat(t._componentsViews).concat(t._chartsViews),u);function u(i){i&&i.__alive&&i[e]&&i[e](i.__model,o,t._api,n)}},Cg={prepareAndUpdate:function(t){_g(this),Cg.update.call(this,t,{optionChanged:null!=t.newOption})},update:function(e,n){var i=this._model,r=this._api,o=this._zr,a=this._coordSysMgr,s=this._scheduler;if(i){i.setUpdatePayload(e),s.restoreData(i,e),s.performSeriesTasks(i),a.create(i,r),s.performDataProcessorTasks(i,e),Bg(this,i),a.update(i,r),t(i),s.performVisualTasks(i,e),Mg(this,i,r,e,n);var l=i.get("backgroundColor")||"transparent",c=i.get("darkMode");o.setBackgroundColor(l),null!=c&&"auto"!==c&&o.setDarkMode(c),lg.trigger("afterupdate",i,r)}},updateTransform:function(e){var n=this,i=this._model,r=this._api;if(i){i.setUpdatePayload(e);var o=[];i.eachComponent(function(t,a){if("series"!==t){var s=n.getViewOfComponentModel(a);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(a,i,r,e);l&&l.update&&o.push(s)}else o.push(s)}});var a=Object(g.createHashMap)();i.eachSeries(function(t){var o=n._chartsMap[t.__viewId];if(o.updateTransform){var s=o.updateTransform(t,i,r,e);s&&s.update&&a.set(t.uid,1)}else a.set(t.uid,1)}),t(i),this._scheduler.performVisualTasks(i,e,{setDirty:!0,dirtyMap:a}),Lg(this,i,r,e,{},a),lg.trigger("afterupdate",i,r)}},updateView:function(e){var n=this._model;n&&(n.setUpdatePayload(e),xp.markUpdateMethod(e,"updateView"),t(n),this._scheduler.performVisualTasks(n,e,{setDirty:!0}),Mg(this,n,this._api,e,{}),lg.trigger("afterupdate",n,this._api))},updateVisual:function(e){var n=this,i=this._model;i&&(i.setUpdatePayload(e),i.eachSeries(function(t){t.getData().clearAllVisual()}),xp.markUpdateMethod(e,"updateVisual"),t(i),this._scheduler.performVisualTasks(i,e,{visualType:"visual",setDirty:!0}),i.eachComponent(function(t,r){if("series"!==t){var o=n.getViewOfComponentModel(r);o&&o.__alive&&o.updateVisual(r,i,n._api,e)}}),i.eachSeries(function(t){n._chartsMap[t.__viewId].updateVisual(t,i,n._api,e)}),lg.trigger("afterupdate",i,this._api))},updateLayout:function(t){Cg.update.call(this,t)}},Sg=function(t,e,n,i){if(t._disposed)zg(t.id);else{for(var r,o=t._model,a=t._coordSysMgr.getCoordinateSystems(),s=nr(o,n),l=0;l<a.length;l++){var c=a[l];if(c[e]&&null!=(r=c[e](o,s,i)))return r}0}},Bg=function(t,e){var n=t._chartsMap,i=t._scheduler;e.eachSeries(function(t){i.updateStreamModes(t,n[t.__viewId])})},kg=function(t,e){var n=this,i=this.getModel(),r=t.type,o=t.escapeConnect,a=$g[r],s=a.actionInfo,l=(s.update||"update").split(":"),c=l.pop(),u=null!=l[0]&&fr(l[0]);this.__flagInMainProcess=!0;var h=[t],d=!1;t.batch&&(d=!0,h=Object(g.map)(t.batch,function(e){return(e=Object(g.defaults)(Object(g.extend)({},e),t)).batch=null,e}));var f,p=[],A=Os(t),v=Es(t);if(v&&gs(this._api),Object(g.each)(h,function(e){if((f=(f=a.action(e,n._model,n._api))||Object(g.extend)({},e)).type=s.event||f.type,p.push(f),v){var i=ir(t),r=i.queryOptionMap,o=i.mainTypeSpecified?r.keys()[0]:"series";xg(n,c,e,o),Ng(n)}else A?(xg(n,c,e,"series"),Ng(n)):u&&xg(n,c,e,u.main,u.sub)}),"none"!==c&&!v&&!A&&!u)try{this.__pendingUpdate?(_g(this),Cg.update.call(this,t),this.__pendingUpdate=null):Cg[c].call(this,t)}catch(t){throw this.__flagInMainProcess=!1,t}if(f=d?{type:s.event||r,escapeConnect:o,batch:p}:p[0],this.__flagInMainProcess=!1,!e){var m=this._messageCenter;if(m.trigger(f.type,f),A){var y={type:"selectchanged",escapeConnect:o,selected:function(t){var e=[];return t.eachSeries(function(t){var n=t.getAllData();Object(g.each)(n,function(n){n.data;var i=n.type,r=t.getSelectedDataIndices();if(r.length>0){var o={dataIndex:r,seriesIndex:t.seriesIndex};null!=i&&(o.dataType=i),e.push(o)}})}),e}(i),isFromClick:t.isFromClick||!1,fromAction:t.type,fromActionPayload:t};m.trigger(y.type,y)}}},Tg=function(t){for(var e=this._pendingActions;e.length;){var n=e.shift();kg.call(this,n,t)}},Og=function(t){!t&&this.trigger("updated")},Eg=function(t,e){t.on("rendered",function(n){e.trigger("rendered",n),!t.animation.isFinished()||e.__pendingUpdate||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")})},Ig=function(t,e){t.on("mouseover",function(t){var n=gA(t.target,Ts);n&&(!function(t,e,n){var i=Ta(t),r=ys(i.componentMainType,i.componentIndex,i.componentHighDownName,n),o=r.dispatchers,a=r.focusSelf;o?(a&&ms(i.componentMainType,i.componentIndex,n),Object(g.each)(o,function(t){return ss(t,e)})):(vs(i.seriesIndex,i.focus,i.blurScope,n),"self"===i.focus&&ms(i.componentMainType,i.componentIndex,n),ss(t,e))}(n,t,e._api),Ng(e))}).on("mouseout",function(t){var n=gA(t.target,Ts);n&&(!function(t,e,n){gs(n);var i=Ta(t),r=ys(i.componentMainType,i.componentIndex,i.componentHighDownName,n).dispatchers;r?Object(g.each)(r,function(t){return ls(t,e)}):ls(t,e)}(n,t,e._api),Ng(e))}).on("click",function(t){var n=gA(t.target,function(t){return null!=Ta(t).dataIndex},!0);if(n){var i=n.selected?"unselect":"select",r=Ta(n);e._api.dispatchAction({type:i,dataType:r.dataType,dataIndexInside:r.dataIndex,seriesIndex:r.seriesIndex,isFromClick:!0})}})},Mg=function(t,e,n,i,r){!function(t){var e=[],n=[],i=!1;if(t.eachComponent(function(t,r){var o=r.get("zlevel")||0,a=r.get("z")||0,s=r.getZLevelKey();i=i||!!s,("series"===t?n:e).push({zlevel:o,z:a,idx:r.componentIndex,type:t,key:s})}),i){var r,o,a=e.concat(n);qt(a,function(t,e){return t.zlevel===e.zlevel?t.z-e.z:t.zlevel-e.zlevel}),Object(g.each)(a,function(e){var n=t.getComponent(e.type,e.idx),i=e.zlevel,a=e.key;null!=r&&(i=Math.max(r,i)),a?(i===r&&a!==o&&i++,o=a):o&&(i===r&&i++,o=""),r=i,n.setZLevel(i)})}}(e),Dg(t,e,n,i,r),Object(g.each)(t._chartsViews,function(t){t.__alive=!1}),Lg(t,e,n,i,r),Object(g.each)(t._chartsViews,function(t){t.__alive||t.remove(e,n)})},Dg=function(t,e,o,a,s,l){Object(g.each)(l||t._componentsViews,function(t){var s=t.__model;i(s,t),t.render(s,e,o,a),n(s,t),r(s,t)})},Lg=function(t,e,o,a,s,l){var c=t._scheduler;s=Object(g.extend)(s||{},{updatedSeries:e.getSeries()}),lg.trigger("series:beforeupdate",e,o,s);var u=!1;e.eachSeries(function(e){var n=t._chartsMap[e.__viewId];n.__alive=!0;var r=n.renderTask;c.updatePayload(r,a),i(e,n),l&&l.get(e.uid)&&r.dirty(),r.perform(c.getPerformArgs(r))&&(u=!0),n.group.silent=!!e.get("silent"),function(t,e){var n=t.get("blendMode")||null;e.eachRendered(function(t){t.isGroup||(t.style.blend=n)})}(e,n),bs(e)}),c.unfinished=u||c.unfinished,lg.trigger("series:layoutlabels",e,o,s),lg.trigger("series:transition",e,o,s),e.eachSeries(function(e){var i=t._chartsMap[e.__viewId];n(e,i),r(e,i)}),function(t,e){var n=0;t._zr.storage.traverse(function(t){t.isGroup||n++}),n>e.get("hoverLayerThreshold")&&!A.a.node&&!A.a.worker&&e.eachSeries(function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.eachRendered(function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)})}})}(t,e),lg.trigger("series:afterupdate",e,o,s)},Ng=function(t){t.__needsUpdateStatus=!0,t.getZr().wakeUp()},jg=function(t){t.__needsUpdateStatus&&(t.getZr().storage.traverse(function(t){ic(t)||e(t)}),t.__needsUpdateStatus=!1)},Fg=function(t){return new(function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return p(n,e),n.prototype.getCoordinateSystems=function(){return t._coordSysMgr.getCoordinateSystems()},n.prototype.getComponentByElement=function(e){for(;e;){var n=e.__ecComponentInfo;if(null!=n)return t._model.getComponent(n.mainType,n.index);e=e.parent}},n.prototype.enterEmphasis=function(e,n){cs(e,n),Ng(t)},n.prototype.leaveEmphasis=function(e,n){us(e,n),Ng(t)},n.prototype.enterBlur=function(e){hs(e),Ng(t)},n.prototype.leaveBlur=function(e){ds(e),Ng(t)},n.prototype.enterSelect=function(e){fs(e),Ng(t)},n.prototype.leaveSelect=function(e){ps(e),Ng(t)},n.prototype.getModel=function(){return t.getModel()},n.prototype.getViewOfComponentModel=function(e){return t.getViewOfComponentModel(e)},n.prototype.getViewOfSeriesModel=function(e){return t.getViewOfSeriesModel(e)},n}(od))(t)},Pg=function(t){function e(t,e){for(var n=0;n<t.length;n++){t[n][vg]=e}}Object(g.each)(Gg,function(n,i){t._messageCenter.on(i,function(n){if(Jg[t.group]&&0!==t[vg]){if(n&&n.escapeConnect)return;var i=t.makeActionFromEvent(n),r=[];Object(g.each)(Zg,function(e){e!==t&&e.group===t.group&&r.push(e)}),e(r,0),Object(g.each)(r,function(t){1!==t[vg]&&t.dispatchAction(i)}),e(r,2)}})})}}(),e}(z),Hg=Qg.prototype;Hg.on=mg("on"),Hg.off=mg("off"),Hg.one=function(t,e,n){var i=this;Ni(),this.on.call(this,t,function n(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];e&&e.apply&&e.apply(this,r),i.off(t,n)},n)};var Vg=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function zg(t){0}var $g={},Gg={},Wg=[],Kg=[],Yg=[],Xg={},qg={},Zg={},Jg={},tv=+new Date-0,ev=+new Date-0,nv="_echarts_instance_";function iv(t,e,n){var i=!(n&&n.ssr);if(i){0;var r=lv(t);if(r)return r;0}var o=new Qg(t,e,n);return o.id="ec_"+tv++,Zg[o.id]=o,i&&sr(t,nv,o.id),Pg(o),lg.trigger("afterinit",o),o}function rv(t){if(Object(g.isArray)(t)){var e=t;t=null,Object(g.each)(e,function(e){null!=e.group&&(t=e.group)}),t=t||"g_"+ev++,Object(g.each)(e,function(e){e.group=t})}return Jg[t]=!0,t}function ov(t){Jg[t]=!1}var av=ov;function sv(t){Object(g.isString)(t)?t=Zg[t]:t instanceof Qg||(t=lv(t)),t instanceof Qg&&!t.isDisposed()&&t.dispose()}function lv(t){return Zg[function(t,e){return t.getAttribute?t.getAttribute(e):t[e]}(t,nv)]}function cv(t){return Zg[t]}function uv(t,e){Xg[t]=e}function hv(t){Object(g.indexOf)(Kg,t)<0&&Kg.push(t)}function dv(t,e){wv(Wg,t,e,dg)}function fv(t){Av("afterinit",t)}function pv(t){Av("afterupdate",t)}function Av(t,e){lg.on(t,e)}function gv(t,e,n){Object(g.isFunction)(e)&&(n=e,e="");var i=Object(g.isObject)(t)?t.type:[t,t={event:e}][0];t.event=(t.event||i).toLowerCase(),e=t.event,Gg[e]||(Object(g.assert)(gg.test(i)&&gg.test(e)),$g[i]||($g[i]={action:n,actionInfo:t}),Gg[e]=i)}function vv(t,e){sd.register(t,e)}function mv(t){var e=sd.get(t);if(e)return e.getDimensionsInfo?e.getDimensionsInfo():e.dimensions.slice()}function yv(t,e){wv(Yg,t,e,fg,"layout")}function bv(t,e){wv(Yg,t,e,pg,"visual")}var _v=[];function wv(t,e,n,i,r){if((Object(g.isFunction)(e)||Object(g.isObject)(e))&&(n=e,e=i),!(Object(g.indexOf)(_v,n)>=0)){_v.push(n);var o=tA.wrapStageHandler(n,r);o.__prio=e,o.__raw=n,t.push(o)}}function xv(t,e){qg[t]=e}function Cv(t){Object(Fn.e)({createCanvas:t})}function Sv(t,e,n){var i=ug("registerMap");i&&i(t,e,n)}function Bv(t){var e=ug("getMap");return e&&e(t)}var kv=function(t){var e=(t=Object(g.clone)(t)).type,n="";e||ji(n);var i=e.split(":");2!==i.length&&ji(n);var r=!1;"echarts"===i[0]&&(e=i[1],r=!0),t.__isBuiltIn=r,wf.set(e,t)};bv(2e3,Fp),bv(4500,Np),bv(4500,jp),bv(2e3,cA),bv(4500,uA),bv(7e3,function(t,e){t.eachRawSeries(function(n){if(!t.isSeriesFiltered(n)){var i=n.getData();i.hasItemVisual()&&i.each(function(t){var n=i.getItemVisual(t,"decal");n&&(i.ensureUniqueItemVisual(t,"style").decal=ag(n,e))});var r=i.getVisual("decal");r&&(i.getVisual("style").decal=ag(r,e))}})}),hv(Od),dv(900,function(t){var e=Object(g.createHashMap)();t.eachSeries(function(t){var n=t.get("stack");if(n){var i=e.get(n)||e.set(n,[]),r=t.getData(),o={stackResultDimension:r.getCalculationInfo("stackResultDimension"),stackedOverDimension:r.getCalculationInfo("stackedOverDimension"),stackedDimension:r.getCalculationInfo("stackedDimension"),stackedByDimension:r.getCalculationInfo("stackedByDimension"),isStackedByIndex:r.getCalculationInfo("isStackedByIndex"),data:r,seriesModel:t};if(!o.stackedDimension||!o.isStackedByIndex&&!o.stackedByDimension)return;i.length&&r.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(o)}}),e.each(Ed)}),xv("default",function(t,e){e=e||{},g.defaults(e,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new ei,i=new ha({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(i);var r,o=new ka({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),a=new ha({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return n.add(a),e.showSpinner&&((r=new Rl({shape:{startAngle:-Up/2,endAngle:-Up/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*Up/2}).start("circularInOut"),r.animateShape(!0).when(1e3,{startAngle:3*Up/2}).delay(300).start("circularInOut"),n.add(r)),n.resize=function(){var n=o.getBoundingRect().width,s=e.showSpinner?e.spinnerRadius:0,l=(t.getWidth()-2*s-(e.showSpinner&&n?10:0)-n)/2-(e.showSpinner&&n?0:5+n/2)+(e.showSpinner?0:n/2)+(n?0:s),c=t.getHeight()/2;e.showSpinner&&r.setShape({cx:l,cy:c}),a.setShape({x:l-s,y:c-s,width:2*s,height:2*s}),i.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},n.resize(),n}),gv({type:Qa,event:Qa,update:Qa},g.noop),gv({type:Ha,event:Ha,update:Ha},g.noop),gv({type:Va,event:Va,update:Va},g.noop),gv({type:za,event:za,update:za},g.noop),gv({type:$a,event:$a,update:$a},g.noop),uv("light",nA),uv("dark",oA);var Tv={},Ov=[],Ev={registerPreprocessor:hv,registerProcessor:dv,registerPostInit:fv,registerPostUpdate:pv,registerUpdateLifecycle:Av,registerAction:gv,registerCoordinateSystem:vv,registerLayout:yv,registerVisual:bv,registerTransform:kv,registerLoading:xv,registerMap:Sv,registerImpl:function(t,e){cg[t]=e},PRIORITY:Ag,ComponentModel:Ch,ComponentView:fp,SeriesModel:hp,ChartView:xp,registerComponentModel:function(t){Ch.registerClass(t)},registerComponentView:function(t){fp.registerClass(t)},registerSeriesModel:function(t){hp.registerClass(t)},registerChartView:function(t){xp.registerClass(t)},registerSubTypeDefaulter:function(t,e){Ch.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){ci(t,e)}};function Iv(t){Object(g.isArray)(t)?Object(g.each)(t,function(t){Iv(t)}):Object(g.indexOf)(Ov,t)>=0||(Ov.push(t),Object(g.isFunction)(t)&&(t={install:t}),t.install(Ev))}function Mv(t){return null==t?0:t.length||1}function Dv(t){return t}var Lv=function(){function t(t,e,n,i,r,o){this._old=t,this._new=e,this._oldKeyGetter=n||Dv,this._newKeyGetter=i||Dv,this.context=r,this._diffModeMultiple="multiple"===o}return t.prototype.add=function(t){return this._add=t,this},t.prototype.update=function(t){return this._update=t,this},t.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},t.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},t.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},t.prototype.remove=function(t){return this._remove=t,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var t=this._old,e=this._new,n={},i=new Array(t.length),r=new Array(e.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(e,n,r,"_newKeyGetter");for(var o=0;o<t.length;o++){var a=i[o],s=n[a],l=Mv(s);if(l>1){var c=s.shift();1===s.length&&(n[a]=s[0]),this._update&&this._update(c,o)}else 1===l?(n[a]=null,this._update&&this._update(s,o)):this._remove&&this._remove(o)}this._performRestAdd(r,n)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},i={},r=[],o=[];this._initIndexMap(t,n,r,"_oldKeyGetter"),this._initIndexMap(e,i,o,"_newKeyGetter");for(var a=0;a<r.length;a++){var s=r[a],l=n[s],c=i[s],u=Mv(l),h=Mv(c);if(u>1&&1===h)this._updateManyToOne&&this._updateManyToOne(c,l),i[s]=null;else if(1===u&&h>1)this._updateOneToMany&&this._updateOneToMany(c,l),i[s]=null;else if(1===u&&1===h)this._update&&this._update(c,l),i[s]=null;else if(u>1&&h>1)this._updateManyToMany&&this._updateManyToMany(c,l),i[s]=null;else if(u>1)for(var d=0;d<u;d++)this._remove&&this._remove(l[d]);else this._remove&&this._remove(l)}this._performRestAdd(o,i)},t.prototype._performRestAdd=function(t,e){for(var n=0;n<t.length;n++){var i=t[n],r=e[i],o=Mv(r);if(o>1)for(var a=0;a<o;a++)this._add&&this._add(r[a]);else 1===o&&this._add&&this._add(r);e[i]=null}},t.prototype._initIndexMap=function(t,e,n,i){for(var r=this._diffModeMultiple,o=0;o<t.length;o++){var a="_ec_"+this[i](t[o],o);if(r||(n[o]=a),e){var s=e[a],l=Mv(s);0===l?(e[a]=o,r&&n.push(a)):1===l?e[a]=[s,o]:s.push(o)}}},t}(),Fv=function(){function t(t,e){this._encode=t,this._schema=e}return t.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},t.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},t}();function Pv(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function Nv(t){return"category"===t?"ordinal":"time"===t?"time":"float"}var jv=function(){return function(t){this.otherDims={},null!=t&&g.extend(this,t)}}(),Uv=tr(),Rv={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},Qv=function(){function t(t){this.dimensions=t.dimensions,this._dimOmitted=t.dimensionOmitted,this.source=t.source,this._fullDimCount=t.fullDimensionCount,this._updateDimOmitted(t.dimensionOmitted)}return t.prototype.isDimensionOmitted=function(){return this._dimOmitted},t.prototype._updateDimOmitted=function(t){this._dimOmitted=t,t&&(this._dimNameMap||(this._dimNameMap=zv(this.source)))},t.prototype.getSourceDimensionIndex=function(t){return Object(g.retrieve2)(this._dimNameMap.get(t),-1)},t.prototype.getSourceDimension=function(t){var e=this.source.dimensionsDefine;if(e)return e[t]},t.prototype.makeStoreSchema=function(){for(var t=this._fullDimCount,e=Vd(this.source),n=!$v(t),i="",r=[],o=0,a=0;o<t;o++){var s=void 0,l=void 0,c=void 0,u=this.dimensions[a];if(u&&u.storeDimIndex===o)s=e?u.name:null,l=u.type,c=u.ordinalMeta,a++;else{var h=this.getSourceDimension(o);h&&(s=e?h.name:null,l=h.type)}r.push({property:s,type:l,ordinalMeta:c}),!e||null==s||u&&u.isCalculationCoord||(i+=n?s.replace(/\`/g,"`1").replace(/\$/g,"`2"):s),i+="$",i+=Rv[l]||"f",c&&(i+=c.uid),i+="$"}var d=this.source;return{dimensions:r,hash:[d.seriesLayoutBy,d.startIndex,i].join("$$")}},t.prototype.makeOutputDimensionNames=function(){for(var t=[],e=0,n=0;e<this._fullDimCount;e++){var i=void 0,r=this.dimensions[n];if(r&&r.storeDimIndex===e)r.isCalculationCoord||(i=r.name),n++;else{var o=this.getSourceDimension(e);o&&(i=o.name)}t.push(i)}return t},t.prototype.appendCalculationDimension=function(t){this.dimensions.push(t),t.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},t}();function Hv(t){return t instanceof Qv}function Vv(t){for(var e=Object(g.createHashMap)(),n=0;n<(t||[]).length;n++){var i=t[n],r=Object(g.isObject)(i)?i.name:i;null!=r&&null==e.get(r)&&e.set(r,n)}return e}function zv(t){var e=Uv(t);return e.dimNameMap||(e.dimNameMap=Vv(t.dimensionsDefine))}function $v(t){return t>30}var Gv,Wv,Kv,Yv,Xv,qv,Zv,Jv=g.isObject,tm=g.map,em="undefined"==typeof Int32Array?Array:Int32Array,nm=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],im=["_approximateExtent"],rm=function(){function t(t,e){var n;this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var i=!1;Hv(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,n=t),n=n||["x","y"];for(var r={},o=[],a={},s=!1,l={},c=0;c<n.length;c++){var u=n[c],h=g.isString(u)?new jv({name:u}):u instanceof jv?u:new jv(u),d=h.name;h.type=h.type||"float",h.coordDim||(h.coordDim=d,h.coordDimIndex=0);var f=h.otherDims=h.otherDims||{};o.push(d),r[d]=h,null!=l[d]&&(s=!0),h.createInvertedIndices&&(a[d]=[]),0===f.itemName&&(this._nameDimIdx=c),0===f.itemId&&(this._idDimIdx=c),i&&(h.storeDimIndex=c)}if(this.dimensions=o,this._dimInfos=r,this._initGetDimensionInfo(s),this.hostModel=e,this._invertedIndicesMap=a,this._dimOmitted){var p=this._dimIdxToName=g.createHashMap();g.each(o,function(t){p.set(r[t].storeDimIndex,t)})}}return t.prototype.getDimension=function(t){var e=this._recognizeDimIndex(t);if(null==e)return t;if(e=t,!this._dimOmitted)return this.dimensions[e];var n=this._dimIdxToName.get(e);if(null!=n)return n;var i=this._schema.getSourceDimension(e);return i?i.name:void 0},t.prototype.getDimensionIndex=function(t){var e=this._recognizeDimIndex(t);if(null!=e)return e;if(null==t)return-1;var n=this._getDimInfo(t);return n?n.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(t):-1},t.prototype._recognizeDimIndex=function(t){if(g.isNumber(t)||null!=t&&!isNaN(t)&&!this._getDimInfo(t)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(t)<0))return+t},t.prototype._getStoreDimIndex=function(t){var e=this.getDimensionIndex(t);return e},t.prototype.getDimensionInfo=function(t){return this._getDimInfo(this.getDimension(t))},t.prototype._initGetDimensionInfo=function(t){var e=this._dimInfos;this._getDimInfo=t?function(t){return e.hasOwnProperty(t)?e[t]:void 0}:function(t){return e[t]}},t.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},t.prototype.mapDimension=function(t,e){var n=this._dimSummary;if(null==e)return n.encodeFirstDimNotExtra[t];var i=n.encode[t];return i?i[e]:null},t.prototype.mapDimensionsAll=function(t){return(this._dimSummary.encode[t]||[]).slice()},t.prototype.getStore=function(){return this._store},t.prototype.initData=function(t,e,n){var i,r=this;if(t instanceof Df&&(i=t),!i){var o=this.dimensions,a=Nd(t)||g.isArrayLike(t)?new zd(t,o.length):t;i=new Df;var s=tm(o,function(t){return{type:r._dimInfos[t].type,property:t}});i.initData(a,s,n)}this._store=i,this._nameList=(e||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,i.count()),this._dimSummary=function(t,e){var n={},i=n.encode={},r=Object(g.createHashMap)(),o=[],a=[],s={};Object(g.each)(t.dimensions,function(e){var n,l=t.getDimensionInfo(e),c=l.coordDim;if(c){var u=l.coordDimIndex;Pv(i,c)[u]=e,l.isExtraCoord||(r.set(c,1),"ordinal"!==(n=l.type)&&"time"!==n&&(o[0]=e),Pv(s,c)[u]=t.getDimensionIndex(l.name)),l.defaultTooltip&&a.push(e)}Th.each(function(t,e){var n=Pv(i,e),r=l.otherDims[e];null!=r&&!1!==r&&(n[r]=l.name)})});var l=[],c={};r.each(function(t,e){var n=i[e];c[e]=n[0],l=l.concat(n)}),n.dataDimsOnCoord=l,n.dataDimIndicesOnCoord=Object(g.map)(l,function(e){return t.getDimensionInfo(e).storeDimIndex}),n.encodeFirstDimNotExtra=c;var u=i.label;u&&u.length&&(o=u.slice());var h=i.tooltip;return h&&h.length?a=h.slice():a.length||(a=o.slice()),i.defaultedLabel=o,i.defaultedTooltip=a,n.userOutput=new Fv(s,e),n}(this,this._schema),this.userOutput=this._dimSummary.userOutput},t.prototype.appendData=function(t){var e=this._store.appendData(t);this._doInit(e[0],e[1])},t.prototype.appendValues=function(t,e){var n=this._store.appendValues(t,e.length),i=n.start,r=n.end,o=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),e)for(var a=i;a<r;a++){var s=a-i;this._nameList[a]=e[s],o&&Zv(this,a)}},t.prototype._updateOrdinalMeta=function(){for(var t=this._store,e=this.dimensions,n=0;n<e.length;n++){var i=this._dimInfos[e[n]];i.ordinalMeta&&t.collectOrdinalMeta(i.storeDimIndex,i.ordinalMeta)}},t.prototype._shouldMakeIdFromName=function(){var t=this._store.getProvider();return null==this._idDimIdx&&t.getSource().sourceFormat!==Dh&&!t.fillStorage},t.prototype._doInit=function(t,e){if(!(t>=e)){var n=this._store.getProvider();this._updateOrdinalMeta();var i=this._nameList,r=this._idList;if(n.getSource().sourceFormat===Oh&&!n.pure)for(var o=[],a=t;a<e;a++){var s=n.getItem(a,o);if(!this.hasItemOption&&Gi(s)&&(this.hasItemOption=!0),s){var l=s.name;null==i[a]&&null!=l&&(i[a]=Xi(l,null));var c=s.id;null==r[a]&&null!=c&&(r[a]=Xi(c,null))}}if(this._shouldMakeIdFromName())for(a=t;a<e;a++)Zv(this,a);Gv(this)}},t.prototype.getApproximateExtent=function(t){return this._approximateExtent[t]||this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},t.prototype.getCalculationInfo=function(t){return this._calculationInfo[t]},t.prototype.setCalculationInfo=function(t,e){Jv(t)?g.extend(this._calculationInfo,t):this._calculationInfo[t]=e},t.prototype.getName=function(t){var e=this.getRawIndex(t),n=this._nameList[e];return null==n&&null!=this._nameDimIdx&&(n=Kv(this,this._nameDimIdx,e)),null==n&&(n=""),n},t.prototype._getCategory=function(t,e){var n=this._store.get(t,e),i=this._store.getOrdinalMeta(t);return i?i.categories[n]:n},t.prototype.getId=function(t){return Wv(this,this.getRawIndex(t))},t.prototype.count=function(){return this._store.count()},t.prototype.get=function(t,e){var n=this._store,i=this._dimInfos[t];if(i)return n.get(i.storeDimIndex,e)},t.prototype.getByRawIndex=function(t,e){var n=this._store,i=this._dimInfos[t];if(i)return n.getByRawIndex(i.storeDimIndex,e)},t.prototype.getIndices=function(){return this._store.getIndices()},t.prototype.getDataExtent=function(t){return this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.getSum=function(t){return this._store.getSum(this._getStoreDimIndex(t))},t.prototype.getMedian=function(t){return this._store.getMedian(this._getStoreDimIndex(t))},t.prototype.getValues=function(t,e){var n=this,i=this._store;return g.isArray(t)?i.getValues(tm(t,function(t){return n._getStoreDimIndex(t)}),e):i.getValues(t)},t.prototype.hasValue=function(t){for(var e=this._dimSummary.dataDimIndicesOnCoord,n=0,i=e.length;n<i;n++)if(isNaN(this._store.get(e[n],t)))return!1;return!0},t.prototype.indexOfName=function(t){for(var e=0,n=this._store.count();e<n;e++)if(this.getName(e)===t)return e;return-1},t.prototype.getRawIndex=function(t){return this._store.getRawIndex(t)},t.prototype.indexOfRawIndex=function(t){return this._store.indexOfRawIndex(t)},t.prototype.rawIndexOf=function(t,e){var n=t&&this._invertedIndicesMap[t];var i=n[e];return null==i||isNaN(i)?-1:i},t.prototype.indicesOfNearest=function(t,e,n){return this._store.indicesOfNearest(this._getStoreDimIndex(t),e,n)},t.prototype.each=function(t,e,n){g.isFunction(t)&&(n=e,e=t,t=[]);var i=n||this,r=tm(Yv(t),this._getStoreDimIndex,this);this._store.each(r,i?g.bind(e,i):e)},t.prototype.filterSelf=function(t,e,n){g.isFunction(t)&&(n=e,e=t,t=[]);var i=n||this,r=tm(Yv(t),this._getStoreDimIndex,this);return this._store=this._store.filter(r,i?g.bind(e,i):e),this},t.prototype.selectRange=function(t){var e=this,n={},i=g.keys(t),r=[];return g.each(i,function(i){var o=e._getStoreDimIndex(i);n[o]=t[i],r.push(o)}),this._store=this._store.selectRange(n),this},t.prototype.mapArray=function(t,e,n){g.isFunction(t)&&(n=e,e=t,t=[]),n=n||this;var i=[];return this.each(t,function(){i.push(e&&e.apply(this,arguments))},n),i},t.prototype.map=function(t,e,n,i){var r=n||i||this,o=tm(Yv(t),this._getStoreDimIndex,this),a=qv(this);return a._store=this._store.map(o,r?g.bind(e,r):e),a},t.prototype.modify=function(t,e,n,i){var r=n||i||this;var o=tm(Yv(t),this._getStoreDimIndex,this);this._store.modify(o,r?g.bind(e,r):e)},t.prototype.downSample=function(t,e,n,i){var r=qv(this);return r._store=this._store.downSample(this._getStoreDimIndex(t),e,n,i),r},t.prototype.lttbDownSample=function(t,e){var n=qv(this);return n._store=this._store.lttbDownSample(this._getStoreDimIndex(t),e),n},t.prototype.getRawDataItem=function(t){return this._store.getRawDataItem(t)},t.prototype.getItemModel=function(t){var e=this.hostModel,n=this.getRawDataItem(t);return new du(n,e,e&&e.ecModel)},t.prototype.diff=function(t){var e=this;return new Lv(t?t.getStore().getIndices():[],this.getStore().getIndices(),function(e){return Wv(t,e)},function(t){return Wv(e,t)})},t.prototype.getVisual=function(t){var e=this._visual;return e&&e[t]},t.prototype.setVisual=function(t,e){this._visual=this._visual||{},Jv(t)?g.extend(this._visual,t):this._visual[t]=e},t.prototype.getItemVisual=function(t,e){var n=this._itemVisuals[t],i=n&&n[e];return null==i?this.getVisual(e):i},t.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,i=n[t];i||(i=n[t]={});var r=i[e];return null==r&&(r=this.getVisual(e),g.isArray(r)?r=r.slice():Jv(r)&&(r=g.extend({},r)),i[e]=r),r},t.prototype.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,Jv(e)?g.extend(i,e):i[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){Jv(t)?g.extend(this._layout,t):this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?g.extend(this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel&&this.hostModel.seriesIndex;Oa(n,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){g.each(this._graphicEls,function(n,i){n&&t&&t.call(e,n,i)})},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:tm(this.dimensions,this._getDimInfo,this),this.hostModel)),Xv(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];g.isFunction(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(g.slice(arguments)))})},t.internalField=(Gv=function(t){var e=t._invertedIndicesMap;g.each(e,function(n,i){var r=t._dimInfos[i],o=r.ordinalMeta,a=t._store;if(o){n=e[i]=new em(o.categories.length);for(var s=0;s<n.length;s++)n[s]=-1;for(s=0;s<a.count();s++)n[a.get(r.storeDimIndex,s)]=s}})},Kv=function(t,e,n){return Xi(t._getCategory(e,n),null)},Wv=function(t,e){var n=t._idList[e];return null==n&&null!=t._idDimIdx&&(n=Kv(t,t._idDimIdx,e)),null==n&&(n="e\0\0"+e),n},Yv=function(t){return g.isArray(t)||(t=null!=t?[t]:[]),t},qv=function(e){var n=new t(e._schema?e._schema:tm(e.dimensions,e._getDimInfo,e),e.hostModel);return Xv(n,e),n},Xv=function(t,e){g.each(nm.concat(e.__wrappedMethods||[]),function(n){e.hasOwnProperty(n)&&(t[n]=e[n])}),t.__wrappedMethods=e.__wrappedMethods,g.each(im,function(n){t[n]=g.clone(e[n])}),t._calculationInfo=g.extend({},e._calculationInfo)},void(Zv=function(t,e){var n=t._nameList,i=t._idList,r=t._nameDimIdx,o=t._idDimIdx,a=n[e],s=i[e];if(null==a&&null!=r&&(n[e]=a=Kv(t,r,e)),null==s&&null!=o&&(i[e]=s=Kv(t,o,e)),null==s&&null!=a){var l=t._nameRepeatCount,c=l[a]=(l[a]||0)+1;s=a,c>1&&(s+="__ec__"+c),i[e]=s}})),t}();function om(t,e){return am(t,e).dimensions}function am(t,e){Nd(t)||(t=Ud(t));var n=(e=e||{}).coordDimensions||[],i=e.dimensionsDefine||t.dimensionsDefine||[],r=Object(g.createHashMap)(),o=[],a=function(t,e,n,i){var r=Math.max(t.dimensionsDetectedCount||1,e.length,n.length,i||0);return Object(g.each)(e,function(t){var e;Object(g.isObject)(t)&&(e=t.dimsDef)&&(r=Math.max(r,e.length))}),r}(t,n,i,e.dimensionsCount),s=e.canOmitUnusedDimensions&&$v(a),l=i===t.dimensionsDefine,c=l?zv(t):Vv(i),u=e.encodeDefine;!u&&e.encodeDefaulter&&(u=e.encodeDefaulter(t,a));for(var h=Object(g.createHashMap)(u),d=new Tf(a),f=0;f<d.length;f++)d[f]=-1;function p(t){var e=d[t];if(e<0){var n=i[t],r=Object(g.isObject)(n)?n:{name:n},a=new jv,s=r.name;null!=s&&null!=c.get(s)&&(a.name=a.displayName=s),null!=r.type&&(a.type=r.type),null!=r.displayName&&(a.displayName=r.displayName);var l=o.length;return d[t]=l,a.storeDimIndex=t,o.push(a),a}return o[e]}if(!s)for(f=0;f<a;f++)p(f);h.each(function(t,e){var n=Hi(t).slice();if(1===n.length&&!Object(g.isString)(n[0])&&n[0]<0)h.set(e,!1);else{var i=h.set(e,[]);Object(g.each)(n,function(t,n){var r=Object(g.isString)(t)?c.get(t):t;null!=r&&r<a&&(i[n]=r,v(p(r),e,n))})}});var A=0;function v(t,e,n){null!=Th.get(e)?t.otherDims[e]=n:(t.coordDim=e,t.coordDimIndex=n,r.set(e,!0))}Object(g.each)(n,function(t){var e,n,i,r;if(Object(g.isString)(t))e=t,r={};else{e=(r=t).name;var o=r.ordinalMeta;r.ordinalMeta=null,(r=Object(g.extend)({},r)).ordinalMeta=o,n=r.dimsDef,i=r.otherDims,r.name=r.coordDim=r.coordDimIndex=r.dimsDef=r.otherDims=null}var s=h.get(e);if(!1!==s){if(!(s=Hi(s)).length)for(var c=0;c<(n&&n.length||1);c++){for(;A<a&&null!=p(A).coordDim;)A++;A<a&&s.push(A++)}Object(g.each)(s,function(t,o){var a=p(t);if(l&&null!=r.type&&(a.type=r.type),v(Object(g.defaults)(a,r),e,o),null==a.name&&n){var s=n[o];!Object(g.isObject)(s)&&(s={name:s}),a.name=a.displayName=s.name,a.defaultTooltip=s.defaultTooltip}i&&Object(g.defaults)(a.otherDims,i)})}});var m=e.generateCoord,y=e.generateCoordCount,b=null!=y;y=m?y||1:0;var _=m||"value";function w(t){null==t.name&&(t.name=t.coordDim)}if(s)Object(g.each)(o,function(t){w(t)}),o.sort(function(t,e){return t.storeDimIndex-e.storeDimIndex});else for(var x=0;x<a;x++){var C=p(x);null==C.coordDim&&(C.coordDim=sm(_,r,b),C.coordDimIndex=0,(!m||y<=0)&&(C.isExtraCoord=!0),y--),w(C),null!=C.type||Hh(t,x)!==Nh.Must&&(!C.isExtraCoord||null==C.otherDims.itemName&&null==C.otherDims.seriesName)||(C.type="ordinal")}return function(t){for(var e=Object(g.createHashMap)(),n=0;n<t.length;n++){var i=t[n],r=i.name,o=e.get(r)||0;o>0&&(i.name=r+(o-1)),o++,e.set(r,o)}}(o),new Qv({source:t,dimensions:o,fullDimensionCount:a,dimensionOmitted:s})}function sm(t,e,n){if(n||e.hasKey(t)){for(var i=0;e.hasKey(t+i);)i++;t+=i}return e.set(t,!0),t}var lm=function(){return function(t){this.coordSysDims=[],this.axisMap=Object(g.createHashMap)(),this.categoryAxisMap=Object(g.createHashMap)(),this.coordSysName=t}}();var cm={cartesian2d:function(t,e,n,i){var r=t.getReferringComponents("xAxis",rr).models[0],o=t.getReferringComponents("yAxis",rr).models[0];e.coordSysDims=["x","y"],n.set("x",r),n.set("y",o),um(r)&&(i.set("x",r),e.firstCategoryDimIndex=0),um(o)&&(i.set("y",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,i){var r=t.getReferringComponents("singleAxis",rr).models[0];e.coordSysDims=["single"],n.set("single",r),um(r)&&(i.set("single",r),e.firstCategoryDimIndex=0)},polar:function(t,e,n,i){var r=t.getReferringComponents("polar",rr).models[0],o=r.findAxisModel("radiusAxis"),a=r.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),um(o)&&(i.set("radius",o),e.firstCategoryDimIndex=0),um(a)&&(i.set("angle",a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,i){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,i){var r=t.ecModel,o=r.getComponent("parallel",t.get("parallelIndex")),a=e.coordSysDims=o.dimensions.slice();Object(g.each)(o.parallelAxisIndex,function(t,o){var s=r.getComponent("parallelAxis",t),l=a[o];n.set(l,s),um(s)&&(i.set(l,s),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=o))})}};function um(t){return"category"===t.get("type")}function hm(t,e,n){var i,r,o,a=(n=n||{}).byIndex,s=n.stackedCoordDimension;!function(t){return!Hv(t.schema)}(e)?(r=e.schema,i=r.dimensions,o=e.store):i=e;var l,c,u,h,d=!(!t||!t.get("stack"));if(Object(g.each)(i,function(t,e){Object(g.isString)(t)&&(i[e]=t={name:t}),d&&!t.isExtraCoord&&(a||l||!t.ordinalMeta||(l=t),c||"ordinal"===t.type||"time"===t.type||s&&s!==t.coordDim||(c=t))}),!c||a||l||(a=!0),c){u="__\0ecstackresult_"+t.id,h="__\0ecstackedover_"+t.id,l&&(l.createInvertedIndices=!0);var f=c.coordDim,p=c.type,A=0;Object(g.each)(i,function(t){t.coordDim===f&&A++});var v={name:u,coordDim:f,coordDimIndex:A,type:p,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length},m={name:h,coordDim:h,coordDimIndex:A+1,type:p,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length+1};r?(o&&(v.storeDimIndex=o.ensureCalculationDimension(h,p),m.storeDimIndex=o.ensureCalculationDimension(u,p)),r.appendCalculationDimension(v),r.appendCalculationDimension(m)):(i.push(v),i.push(m))}return{stackedDimension:c&&c.name,stackedByDimension:l&&l.name,isStackedByIndex:a,stackedOverDimension:h,stackResultDimension:u}}function dm(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function fm(t,e){return dm(t,e)?t.getCalculationInfo("stackResultDimension"):e}var pm=function(t,e,n){n=n||{};var i,r=e.getSourceManager(),o=!1;t?(o=!0,i=Ud(t)):o=(i=r.getSource()).sourceFormat===Oh;var a=function(t){var e=t.get("coordinateSystem"),n=new lm(e),i=cm[e];if(i)return i(t,n,n.axisMap,n.categoryAxisMap),n}(e),s=function(t,e){var n,i=t.get("coordinateSystem"),r=sd.get(i);return e&&e.coordSysDims&&(n=g.map(e.coordSysDims,function(t){var n={name:t},i=e.axisMap.get(t);if(i){var r=i.get("type");n.type=Nv(r)}return n})),n||(n=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),n}(e,a),l=n.useEncodeDefaulter,c=g.isFunction(l)?l:l?g.curry(Uh,s,e):null,u=am(i,{coordDimensions:s,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:c,canOmitUnusedDimensions:!o}),h=function(t,e,n){var i,r;return n&&g.each(t,function(t,o){var a=t.coordDim,s=n.categoryAxisMap.get(a);s&&(null==i&&(i=o),t.ordinalMeta=s.getOrdinalMeta(),e&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(r=!0)}),r||null==i||(t[i].otherDims.itemName=0),i}(u.dimensions,n.createInvertedIndices,a),d=o?null:r.getSharedDataStore(u),f=hm(e,{schema:u,store:d}),p=new rm(u,e);p.setCalculationInfo(f);var A=null!=h&&function(t){if(t.sourceFormat===Oh){var e=function(t){for(var e=0;e<t.length&&null==t[e];)e++;return t[e]}(t.data||[]);return!g.isArray($i(e))}}(i)?function(t,e,n,i){return i===h?n:this.defaultDimValueGetter(t,e,n,i)}:null;return p.hasItemOption=!1,p.initData(o?i:d,null,A),p},Am=function(){function t(t){this._setting=t||{},this._extent=[1/0,-1/0]}return t.prototype.getSetting=function(t){return this._setting[t]},t.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1])},t.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},t.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(t){this._isBlank=t},t}();yr(Am);var gm=Am,vm=0;function mm(t){return Object(g.isObject)(t)&&null!=t.value?t.value:t+""}var ym=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++vm}return t.createByAxisModel=function(e){var n=e.option,i=n.data,r=i&&Object(g.map)(i,mm);return new t({categories:r,needCollect:!r,deduplication:!1!==n.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if(!Object(g.isString)(t)&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var i=this._getOrCreateMap();return null==(e=i.get(t))&&(n?(e=this.categories.length,this.categories[e]=t,i.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=Object(g.createHashMap)(this.categories))},t}();function bm(t){return"interval"===t.type||"log"===t.type}function _m(t,e,n,i){var r={},o=t[1]-t[0],a=r.interval=Ei(o/e,!0);null!=n&&a<n&&(a=r.interval=n),null!=i&&a>i&&(a=r.interval=i);var s=r.intervalPrecision=xm(a);return function(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),Cm(t,0,e),Cm(t,1,e),t[0]>t[1]&&(t[0]=t[1])}(r.niceTickExtent=[Ai(Math.ceil(t[0]/a)*a,s),Ai(Math.floor(t[1]/a)*a,s)],t),r}function wm(t){var e=Math.pow(10,Oi(t)),n=t/e;return n?2===n?n=3:3===n?n=5:n*=2:n=1,Ai(n*e)}function xm(t){return vi(t)+2}function Cm(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function Sm(t,e){return t>=e[0]&&t<=e[1]}function Bm(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function km(t,e){return t*(e[1]-e[0])+e[0]}var Tm=function(t){function e(e){var n=t.call(this,e)||this;n.type="ordinal";var i=n.getSetting("ordinalMeta");return i||(i=new ym({})),Object(g.isArray)(i)&&(i=new ym({categories:Object(g.map)(i,function(t){return Object(g.isObject)(t)?t.value:t})})),n._ordinalMeta=i,n._extent=n.getSetting("extent")||[0,i.categories.length-1],n}return p(e,t),e.prototype.parse=function(t){return null==t?NaN:Object(g.isString)(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},e.prototype.contain=function(t){return Sm(t=this.parse(t),this._extent)&&null!=this._ordinalMeta.categories[t]},e.prototype.normalize=function(t){return Bm(t=this._getTickNumber(this.parse(t)),this._extent)},e.prototype.scale=function(t){return t=Math.round(km(t,this._extent)),this.getRawOrdinalNumber(t)},e.prototype.getTicks=function(){for(var t=[],e=this._extent,n=e[0];n<=e[1];)t.push({value:n}),n++;return t},e.prototype.getMinorTicks=function(t){},e.prototype.setSortInfo=function(t){if(null!=t){for(var e=t.ordinalNumbers,n=this._ordinalNumbersByTick=[],i=this._ticksByOrdinalNumber=[],r=0,o=this._ordinalMeta.categories.length,a=Math.min(o,e.length);r<a;++r){var s=e[r];n[r]=s,i[s]=r}for(var l=0;r<o;++r){for(;null!=i[l];)l++;n.push(l),i[l]=r}}else this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null},e.prototype._getTickNumber=function(t){var e=this._ticksByOrdinalNumber;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getRawOrdinalNumber=function(t){var e=this._ordinalNumbersByTick;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getLabel=function(t){if(!this.isBlank()){var e=this.getRawOrdinalNumber(t.value),n=this._ordinalMeta.categories[e];return null==n?"":n+""}},e.prototype.count=function(){return this._extent[1]-this._extent[0]+1},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.isInExtentRange=function(t){return t=this._getTickNumber(t),this._extent[0]<=t&&this._extent[1]>=t},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.calcNiceTicks=function(){},e.prototype.calcNiceExtent=function(){},e.type="ordinal",e}(gm);gm.registerClass(Tm);var Om=Tm,Em=Ai,Im=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return p(e,t),e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return Sm(t,this._extent)},e.prototype.normalize=function(t){return Bm(t,this._extent)},e.prototype.scale=function(t){return km(t,this._extent)},e.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(e)||(n[1]=parseFloat(e))},e.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1]),this.setExtent(e[0],e[1])},e.prototype.getInterval=function(){return this._interval},e.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=xm(t)},e.prototype.getTicks=function(t){var e=this._interval,n=this._extent,i=this._niceExtent,r=this._intervalPrecision,o=[];if(!e)return o;n[0]<i[0]&&(t?o.push({value:Em(i[0]-e,r)}):o.push({value:n[0]}));for(var a=i[0];a<=i[1]&&(o.push({value:a}),(a=Em(a+e,r))!==o[o.length-1].value);)if(o.length>1e4)return[];var s=o.length?o[o.length-1].value:i[1];return n[1]>s&&(t?o.push({value:Em(s+e,r)}):o.push({value:n[1]})),o},e.prototype.getMinorTicks=function(t){for(var e=this.getTicks(!0),n=[],i=this.getExtent(),r=1;r<e.length;r++){for(var o=e[r],a=e[r-1],s=0,l=[],c=(o.value-a.value)/t;s<t-1;){var u=Em(a.value+(s+1)*c);u>i[0]&&u<i[1]&&l.push(u),s++}n.push(l)}return n},e.prototype.getLabel=function(t,e){if(null==t)return"";var n=e&&e.precision;return null==n?n=vi(t.value)||0:"auto"===n&&(n=this._intervalPrecision),Ju(Em(t.value,n,!0))},e.prototype.calcNiceTicks=function(t,e,n){t=t||5;var i=this._extent,r=i[1]-i[0];if(isFinite(r)){r<0&&(r=-r,i.reverse());var o=_m(i,t,e,n);this._intervalPrecision=o.intervalPrecision,this._interval=o.interval,this._niceExtent=o.niceTickExtent}},e.prototype.calcNiceExtent=function(t){var e=this._extent;if(e[0]===e[1])if(0!==e[0]){var n=Math.abs(e[0]);t.fixMax?e[0]-=n/2:(e[1]+=n/2,e[0]-=n/2)}else e[1]=1;var i=e[1]-e[0];isFinite(i)||(e[0]=0,e[1]=1),this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval);var r=this._interval;t.fixMin||(e[0]=Em(Math.floor(e[0]/r)*r)),t.fixMax||(e[1]=Em(Math.ceil(e[1]/r)*r))},e.prototype.setNiceExtent=function(t,e){this._niceExtent=[t,e]},e.type="interval",e}(gm);gm.registerClass(Im);var Mm=Im,Dm="undefined"!=typeof Float32Array,Lm=Dm?Float32Array:Array;function Fm(t){return Object(g.isArray)(t)?Dm?new Float32Array(t):t:new Lm(t)}var Pm="__ec_stack_";function Nm(t){return t.get("stack")||Pm+t.seriesIndex}function jm(t){return t.dim+t.index}function Um(t,e){var n=[];return e.eachSeriesByType(t,function(t){zm(t)&&n.push(t)}),n}function Rm(t){var e=function(t){var e={};Object(g.each)(t,function(t){var n=t.coordinateSystem.getBaseAxis();if("time"===n.type||"value"===n.type)for(var i=t.getData(),r=n.dim+"_"+n.index,o=i.getDimensionIndex(i.mapDimension(n.dim)),a=i.getStore(),s=0,l=a.count();s<l;++s){var c=a.get(o,s);e[r]?e[r].push(c):e[r]=[c]}});var n={};for(var i in e)if(e.hasOwnProperty(i)){var r=e[i];if(r){r.sort(function(t,e){return t-e});for(var o=null,a=1;a<r.length;++a){var s=r[a]-r[a-1];s>0&&(o=null===o?s:Math.min(o,s))}n[i]=o}}return n}(t),n=[];return Object(g.each)(t,function(t){var i,r=t.coordinateSystem.getBaseAxis(),o=r.getExtent();if("category"===r.type)i=r.getBandWidth();else if("value"===r.type||"time"===r.type){var a=r.dim+"_"+r.index,s=e[a],l=Math.abs(o[1]-o[0]),c=r.scale.getExtent(),u=Math.abs(c[1]-c[0]);i=s?l/u*s:l}else{var h=t.getData();i=Math.abs(o[1]-o[0])/h.count()}var d=pi(t.get("barWidth"),i),f=pi(t.get("barMaxWidth"),i),p=pi(t.get("barMinWidth")||($m(t)?.5:1),i),A=t.get("barGap"),g=t.get("barCategoryGap");n.push({bandWidth:i,barWidth:d,barMaxWidth:f,barMinWidth:p,barGap:A,barCategoryGap:g,axisKey:jm(r),stackId:Nm(t)})}),Qm(n)}function Qm(t){var e={};Object(g.each)(t,function(t,n){var i=t.axisKey,r=t.bandWidth,o=e[i]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=o.stacks;e[i]=o;var s=t.stackId;a[s]||o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var c=t.barMaxWidth;c&&(a[s].maxWidth=c);var u=t.barMinWidth;u&&(a[s].minWidth=u);var h=t.barGap;null!=h&&(o.gap=h);var d=t.barCategoryGap;null!=d&&(o.categoryGap=d)});var n={};return Object(g.each)(e,function(t,e){n[e]={};var i=t.stacks,r=t.bandWidth,o=t.categoryGap;if(null==o){var a=Object(g.keys)(i).length;o=Math.max(35-4*a,15)+"%"}var s=pi(o,r),l=pi(t.gap,1),c=t.remainedWidth,u=t.autoWidthCount,h=(c-s)/(u+(u-1)*l);h=Math.max(h,0),Object(g.each)(i,function(t){var e=t.maxWidth,n=t.minWidth;if(t.width){i=t.width;e&&(i=Math.min(i,e)),n&&(i=Math.max(i,n)),t.width=i,c-=i+l*i,u--}else{var i=h;e&&e<i&&(i=Math.min(e,c)),n&&n>i&&(i=n),i!==h&&(t.width=i,c-=i+l*i,u--)}}),h=(c-s)/(u+(u-1)*l),h=Math.max(h,0);var d,f=0;Object(g.each)(i,function(t,e){t.width||(t.width=h),d=t,f+=t.width*(1+l)}),d&&(f-=d.width*l);var p=-f/2;Object(g.each)(i,function(t,i){n[e][i]=n[e][i]||{bandWidth:r,offset:p,width:t.width},p+=t.width*(1+l)})}),n}function Hm(t,e){var n=Um(t,e),i=Rm(n);Object(g.each)(n,function(t){var e=t.getData(),n=t.coordinateSystem.getBaseAxis(),r=Nm(t),o=i[jm(n)][r],a=o.offset,s=o.width;e.setLayout({bandWidth:o.bandWidth,offset:a,size:s})})}function Vm(t){return{seriesType:t,plan:pp(),reset:function(t){if(zm(t)){var e=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),r=n.getOtherAxis(i),o=e.getDimensionIndex(e.mapDimension(r.dim)),a=e.getDimensionIndex(e.mapDimension(i.dim)),s=t.get("showBackground",!0),l=e.mapDimension(r.dim),c=e.getCalculationInfo("stackResultDimension"),u=dm(e,l)&&!!e.getCalculationInfo("stackedOnSeries"),h=r.isHorizontal(),d=function(t,e){return e.toGlobalCoord(e.dataToCoord("log"===e.type?1:0))}(0,r),f=$m(t),p=t.get("barMinHeight")||0,A=c&&e.getDimensionIndex(c),g=e.getLayout("size"),v=e.getLayout("offset");return{progress:function(t,e){for(var i,r=t.count,l=f&&Fm(3*r),c=f&&s&&Fm(3*r),m=f&&Fm(r),y=n.master.getRect(),b=h?y.width:y.height,_=e.getStore(),w=0;null!=(i=t.next());){var x=_.get(u?A:o,i),C=_.get(a,i),S=d,B=void 0;u&&(B=+x-_.get(o,i));var k=void 0,T=void 0,O=void 0,E=void 0;if(h){var I=n.dataToPoint([x,C]);if(u)S=n.dataToPoint([B,C])[0];k=S,T=I[1]+v,O=I[0]-S,E=g,Math.abs(O)<p&&(O=(O<0?-1:1)*p)}else{I=n.dataToPoint([C,x]);if(u)S=n.dataToPoint([C,B])[1];k=I[0]+v,T=S,O=g,E=I[1]-S,Math.abs(E)<p&&(E=(E<=0?-1:1)*p)}f?(l[w]=k,l[w+1]=T,l[w+2]=h?O:E,c&&(c[w]=h?y.x:k,c[w+1]=h?T:y.y,c[w+2]=b),m[i]=i):e.setItemLayout(i,{x:k,y:T,width:O,height:E}),w+=3}f&&e.setLayout({largePoints:l,largeDataIndices:m,largeBackgroundPoints:c,valueAxisHorizontal:h})}}}}}}function zm(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function $m(t){return t.pipelineContext&&t.pipelineContext.large}var Gm=function(t){function e(e){var n=t.call(this,e)||this;return n.type="time",n}return p(e,t),e.prototype.getLabel=function(t){var e=this.getSetting("useUTC");return Fu(t.value,Eu[function(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}(Lu(this._minLevelUnit))]||Eu.second,e,this.getSetting("locale"))},e.prototype.getFormattedLabel=function(t,e,n){var i=this.getSetting("useUTC");return function(t,e,n,i,r){var o=null;if(g.isString(n))o=n;else if(g.isFunction(n))o=n(t.value,e,{level:t.level});else{var a=g.extend({},Ou);if(t.level>0)for(var s=0;s<Iu.length;++s)a[Iu[s]]="{primary|"+a[Iu[s]]+"}";var l=n?!1===n.inherit?n:g.defaults(n,a):a,c=Pu(t.value,r);if(l[c])o=l[c];else if(l.inherit){for(s=Mu.indexOf(c)-1;s>=0;--s)if(l[c]){o=l[c];break}o=o||a.none}if(g.isArray(o)){var u=null==t.level?0:t.level>=0?t.level:o.length+t.level;o=o[u=Math.min(u,o.length-1)]}}return Fu(new Date(t.value),o,r,i)}(t,e,n,this.getSetting("locale"),i)},e.prototype.getTicks=function(){var t=this._interval,e=this._extent,n=[];if(!t)return n;n.push({value:e[0],level:0});var i=this.getSetting("useUTC"),r=function(t,e,n,i){var r=Mu,o=0;function a(t,e,n,r,o,a,s){for(var l=new Date(e),c=e,u=l[r]();c<n&&c<=i[1];)s.push({value:c}),u+=t,l[o](u),c=l.getTime();s.push({value:c,notAdd:!0})}function s(t,r,o){var s=[],l=!r.length;if(!function(t,e,n,i){var r=ki(e),o=ki(n),a=function(t){return Nu(r,t,i)===Nu(o,t,i)},s=function(){return a("year")},l=function(){return s()&&a("month")},c=function(){return l()&&a("day")},u=function(){return c()&&a("hour")},h=function(){return u()&&a("minute")},d=function(){return h()&&a("second")};switch(t){case"year":return s();case"month":return l();case"day":return c();case"hour":return u();case"minute":return h();case"second":return d();case"millisecond":return d()&&a("millisecond")}}(Lu(t),i[0],i[1],n)){l&&(r=[{value:function(t,e,n){var i=new Date(t);switch(Lu(e)){case"year":case"month":i[Gu(n)](0);case"day":i[Wu(n)](1);case"hour":i[Ku(n)](0);case"minute":i[Yu(n)](0);case"second":i[Xu(n)](0),i[qu(n)](0)}return i.getTime()}(new Date(i[0]),t,n)},{value:i[1]}]);for(var c=0;c<r.length-1;c++){var u=r[c].value,h=r[c+1].value;if(u!==h){var d=void 0,f=void 0,p=void 0,A=!1;switch(t){case"year":d=Math.max(1,Math.round(e/ku/365)),f=ju(n),p=$u(n);break;case"half-year":case"quarter":case"month":d=Ym(e),f=Uu(n),p=Gu(n);break;case"week":case"half-week":case"day":d=Km(e,31),f=Ru(n),p=Wu(n),A=!0;break;case"half-day":case"quarter-day":case"hour":d=Xm(e),f=Qu(n),p=Ku(n);break;case"minute":d=qm(e,!0),f=Hu(n),p=Yu(n);break;case"second":d=qm(e,!1),f=Vu(n),p=Xu(n);break;case"millisecond":d=Zm(e),f=zu(n),p=qu(n)}a(d,u,h,f,p,A,s),"year"===t&&o.length>1&&0===c&&o.unshift({value:o[0].value-d})}}for(var c=0;c<s.length;c++)o.push(s[c]);return s}}for(var l=[],c=[],u=0,h=0,d=0;d<r.length&&o++<1e4;++d){var f=Lu(r[d]);if((b=r[d])===Lu(b)){s(r[d],l[l.length-1]||[],c);var p=r[d+1]?Lu(r[d+1]):null;if(f!==p){if(c.length){h=u,c.sort(function(t,e){return t.value-e.value});for(var A=[],v=0;v<c.length;++v){var m=c[v].value;0!==v&&c[v-1].value===m||(A.push(c[v]),m>=i[0]&&m<=i[1]&&u++)}var y=(i[1]-i[0])/e;if(u>1.5*y&&h>y/1.5)break;if(l.push(A),u>y||t===r[d])break}c=[]}}}var b;0;for(var _=Object(g.filter)(Object(g.map)(l,function(t){return Object(g.filter)(t,function(t){return t.value>=i[0]&&t.value<=i[1]&&!t.notAdd})}),function(t){return t.length>0}),w=[],x=_.length-1,d=0;d<_.length;++d)for(var C=_[d],S=0;S<C.length;++S)w.push({value:C[S].value,level:x-d});w.sort(function(t,e){return t.value-e.value});for(var B=[],d=0;d<w.length;++d)0!==d&&w[d].value===w[d-1].value||B.push(w[d]);return B}(this._minLevelUnit,this._approxInterval,i,e);return(n=n.concat(r)).push({value:e[1],level:0}),n},e.prototype.calcNiceExtent=function(t){var e=this._extent;if(e[0]===e[1]&&(e[0]-=ku,e[1]+=ku),e[1]===-1/0&&e[0]===1/0){var n=new Date;e[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),e[0]=e[1]-ku}this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval)},e.prototype.calcNiceTicks=function(t,e,n){t=t||10;var i=this._extent,r=i[1]-i[0];this._approxInterval=r/t,null!=e&&this._approxInterval<e&&(this._approxInterval=e),null!=n&&this._approxInterval>n&&(this._approxInterval=n);var o=Wm.length,a=Math.min(function(t,e,n,i){for(;n<i;){var r=n+i>>>1;t[r][1]<e?n=r+1:i=r}return n}(Wm,this._approxInterval,0,o),o-1);this._interval=Wm[a][1],this._minLevelUnit=Wm[Math.max(a-1,0)][0]},e.prototype.parse=function(t){return Object(g.isNumber)(t)?t:+ki(t)},e.prototype.contain=function(t){return Sm(this.parse(t),this._extent)},e.prototype.normalize=function(t){return Bm(this.parse(t),this._extent)},e.prototype.scale=function(t){return km(t,this._extent)},e.type="time",e}(Mm),Wm=[["second",Cu],["minute",Su],["hour",Bu],["quarter-day",6*Bu],["half-day",12*Bu],["day",1.2*ku],["half-week",3.5*ku],["week",7*ku],["month",31*ku],["quarter",95*ku],["half-year",Tu/2],["year",Tu]];function Km(t,e){return(t/=ku)>16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function Ym(t){return(t/=30*ku)>6?6:t>3?3:t>2?2:1}function Xm(t){return(t/=Bu)>12?12:t>6?6:t>3.5?4:t>2?2:1}function qm(t,e){return(t/=e?Su:Cu)>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function Zm(t){return Ei(t,!0)}gm.registerClass(Gm);var Jm=Gm,ty=gm.prototype,ey=Mm.prototype,ny=Ai,iy=Math.floor,ry=Math.ceil,oy=Math.pow,ay=Math.log,sy=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new Mm,e._interval=0,e}return p(e,t),e.prototype.getTicks=function(t){var e=this._originalScale,n=this._extent,i=e.getExtent(),r=ey.getTicks.call(this,t);return g.map(r,function(t){var e=t.value,r=Ai(oy(this.base,e));return r=e===n[0]&&this._fixMin?cy(r,i[0]):r,{value:r=e===n[1]&&this._fixMax?cy(r,i[1]):r}},this)},e.prototype.setExtent=function(t,e){var n=ay(this.base);t=ay(Math.max(0,t))/n,e=ay(Math.max(0,e))/n,ey.setExtent.call(this,t,e)},e.prototype.getExtent=function(){var t=this.base,e=ty.getExtent.call(this);e[0]=oy(t,e[0]),e[1]=oy(t,e[1]);var n=this._originalScale.getExtent();return this._fixMin&&(e[0]=cy(e[0],n[0])),this._fixMax&&(e[1]=cy(e[1],n[1])),e},e.prototype.unionExtent=function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=ay(t[0])/ay(e),t[1]=ay(t[1])/ay(e),ty.unionExtent.call(this,t)},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.calcNiceTicks=function(t){t=t||10;var e=this._extent,n=e[1]-e[0];if(!(n===1/0||n<=0)){var i=Ti(n);for(t/n*i<=.5&&(i*=10);!isNaN(i)&&Math.abs(i)<1&&Math.abs(i)>0;)i*=10;var r=[Ai(ry(e[0]/i)*i),Ai(iy(e[1]/i)*i)];this._interval=i,this._niceExtent=r}},e.prototype.calcNiceExtent=function(t){ey.calcNiceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return Sm(t=ay(t)/ay(this.base),this._extent)},e.prototype.normalize=function(t){return Bm(t=ay(t)/ay(this.base),this._extent)},e.prototype.scale=function(t){return t=km(t,this._extent),oy(this.base,t)},e.type="log",e}(gm),ly=sy.prototype;function cy(t,e){return ny(t,vi(e))}ly.getMinorTicks=ey.getMinorTicks,ly.getLabel=ey.getLabel,gm.registerClass(sy);var uy=sy,hy=function(){function t(t,e,n){this._prepareParams(t,e,n)}return t.prototype._prepareParams=function(t,e,n){n[1]<n[0]&&(n=[NaN,NaN]),this._dataMin=n[0],this._dataMax=n[1];var i=this._isOrdinal="ordinal"===t.type;this._needCrossZero="interval"===t.type&&e.getNeedCrossZero&&e.getNeedCrossZero();var r=this._modelMinRaw=e.get("min",!0);Object(g.isFunction)(r)?this._modelMinNum=Ay(t,r({min:n[0],max:n[1]})):"dataMin"!==r&&(this._modelMinNum=Ay(t,r));var o=this._modelMaxRaw=e.get("max",!0);if(Object(g.isFunction)(o)?this._modelMaxNum=Ay(t,o({min:n[0],max:n[1]})):"dataMax"!==o&&(this._modelMaxNum=Ay(t,o)),i)this._axisDataLen=e.getCategories().length;else{var a=e.get("boundaryGap"),s=Object(g.isArray)(a)?a:[a||0,a||0];"boolean"==typeof s[0]||"boolean"==typeof s[1]?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[Vn(s[0],1),Vn(s[1],1)]}},t.prototype.calculate=function(){var t=this._isOrdinal,e=this._dataMin,n=this._dataMax,i=this._axisDataLen,r=this._boundaryGapInner,o=t?null:n-e||Math.abs(e),a="dataMin"===this._modelMinRaw?e:this._modelMinNum,s="dataMax"===this._modelMaxRaw?n:this._modelMaxNum,l=null!=a,c=null!=s;null==a&&(a=t?i?0:NaN:e-r[0]*o),null==s&&(s=t?i?i-1:NaN:n+r[1]*o),(null==a||!isFinite(a))&&(a=NaN),(null==s||!isFinite(s))&&(s=NaN);var u=Object(g.eqNaN)(a)||Object(g.eqNaN)(s)||t&&!i;this._needCrossZero&&(a>0&&s>0&&!l&&(a=0),a<0&&s<0&&!c&&(s=0));var h=this._determinedMin,d=this._determinedMax;return null!=h&&(a=h,l=!0),null!=d&&(s=d,c=!0),{min:a,max:s,minFixed:l,maxFixed:c,isBlank:u}},t.prototype.modifyDataMinMax=function(t,e){this[fy[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){var n=dy[t];this[n]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),dy={min:"_determinedMin",max:"_determinedMax"},fy={min:"_dataMin",max:"_dataMax"};function py(t,e,n){var i=t.rawExtentInfo;return i||(i=new hy(t,e,n),t.rawExtentInfo=i,i)}function Ay(t,e){return null==e?null:Object(g.eqNaN)(e)?NaN:t.parse(e)}function gy(t,e){var n=t.type,i=py(t,e,t.getExtent()).calculate();t.setBlank(i.isBlank);var r=i.min,o=i.max,a=e.ecModel;if(a&&"time"===n){var s=Um("bar",a),l=!1;if(g.each(s,function(t){l=l||t.getBaseAxis()===e.axis}),l){var c=Rm(s),u=function(t,e,n,i){var r=n.axis.getExtent(),o=r[1]-r[0],a=function(t,e,n){if(t&&e){var i=t[jm(e)];return null!=i&&null!=n?i[Nm(n)]:i}}(i,n.axis);if(void 0===a)return{min:t,max:e};var s=1/0;g.each(a,function(t){s=Math.min(t.offset,s)});var l=-1/0;g.each(a,function(t){l=Math.max(t.offset+t.width,l)}),s=Math.abs(s),l=Math.abs(l);var c=s+l,u=e-t,h=u/(1-(s+l)/o)-u;return{min:t-=h*(s/c),max:e+=h*(l/c)}}(r,o,e,c);r=u.min,o=u.max}}return{extent:[r,o],fixMin:i.minFixed,fixMax:i.maxFixed}}function vy(t,e){var n=e,i=gy(t,n),r=i.extent,o=n.get("splitNumber");t instanceof uy&&(t.base=n.get("logBase"));var a=t.type,s=n.get("interval"),l="interval"===a||"time"===a;t.setExtent(r[0],r[1]),t.calcNiceExtent({splitNumber:o,fixMin:i.fixMin,fixMax:i.fixMax,minInterval:l?n.get("minInterval"):null,maxInterval:l?n.get("maxInterval"):null}),null!=s&&t.setInterval&&t.setInterval(s)}function my(t,e){if(e=e||t.get("type"))switch(e){case"category":return new Om({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new Jm({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(gm.getClass(e)||Mm)}}function yy(t){var e,n,i=t.getLabelModel().get("formatter"),r="category"===t.type?t.scale.getExtent()[0]:null;return"time"===t.scale.type?(n=i,function(e,i){return t.scale.getFormattedLabel(e,i,n)}):g.isString(i)?function(e){return function(n){var i=t.scale.getLabel(n);return e.replace("{value}",null!=i?i:"")}}(i):g.isFunction(i)?(e=i,function(n,i){return null!=r&&(i=n.value-r),e(by(t,n),i,null!=n.level?{level:n.level}:null)}):function(e){return t.scale.getLabel(e)}}function by(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function _y(t){var e=t.get("interval");return null==e?"auto":e}function wy(t){return"category"===t.type&&0===_y(t.getLabelModel())}function xy(t,e){var n={};return g.each(t.mapDimensionsAll(e),function(e){n[fm(t,e)]=!0}),g.keys(n)}var Cy=function(){function t(){}return t.prototype.getNeedCrossZero=function(){return!this.option.scale},t.prototype.getCoordSysModel=function(){},t}();function Sy(t){return pm(null,t)}var By={isDimensionStacked:dm,enableDataStack:hm,getStackedDimension:fm};function ky(t,e){var n=e;e instanceof du||(n=new du(e));var i=my(n);return i.setExtent(t[0],t[1]),vy(i,n),i}function Ty(t){g.mixin(t,Cy)}function Oy(t,e){return Vc(t,null,null,"normal"!==(e=e||{}).state)}var Ey=1e-8;function Iy(t,e){return Math.abs(t-e)<Ey}function My(t,e,n){var i=0,r=t[0];if(!r)return!1;for(var o=1;o<t.length;o++){var a=t[o];i+=No(r[0],r[1],a[0],a[1],e,n),r=a}var s=t[0];return Iy(r[0],s[0])&&Iy(r[1],s[1])||(i+=No(r[0],r[1],s[0],s[1],e,n)),0!==i}var Dy=[];function Ly(t,e){for(var n=0;n<t.length;n++)U(t[n],t[n],e)}function Fy(t,e,n,i){for(var r=0;r<t.length;r++){var o=t[r];i&&(o=i.project(o)),o&&isFinite(o[0])&&isFinite(o[1])&&(R(e,e,o),Q(n,n,o))}}var Py=function(){function t(t){this.name=t}return t.prototype.setCenter=function(t){this._center=t},t.prototype.getCenter=function(){var t=this._center;return t||(t=this._center=this.calcCenter()),t},t}(),Ny=function(){return function(t,e){this.type="polygon",this.exterior=t,this.interiors=e}}(),jy=function(){return function(t){this.type="linestring",this.points=t}}(),Uy=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.type="geoJSON",r.geometries=n,r._center=i&&[i[0],i[1]],r}return p(e,t),e.prototype.calcCenter=function(){for(var t,e=this.geometries,n=0,i=0;i<e.length;i++){var r=e[i],o=r.exterior,a=o&&o.length;a>n&&(t=r,n=a)}if(t)return function(t){for(var e=0,n=0,i=0,r=t.length,o=t[r-1][0],a=t[r-1][1],s=0;s<r;s++){var l=t[s][0],c=t[s][1],u=o*c-l*a;e+=u,n+=(o+l)*u,i+=(a+c)*u,o=l,a=c}return e?[n/e/3,i/e/3,e]:[t[0][0]||0,t[0][1]||0]}(t.exterior);var s=this.getBoundingRect();return[s.x+s.width/2,s.y+s.height/2]},e.prototype.getBoundingRect=function(t){var e=this._rect;if(e&&!t)return e;var n=[1/0,1/0],i=[-1/0,-1/0],r=this.geometries;return Object(g.each)(r,function(e){"polygon"===e.type?Fy(e.exterior,n,i,t):Object(g.each)(e.points,function(e){Fy(e,n,i,t)})}),isFinite(n[0])&&isFinite(n[1])&&isFinite(i[0])&&isFinite(i[1])||(n[0]=n[1]=i[0]=i[1]=0),e=new Mt(n[0],n[1],i[0]-n[0],i[1]-n[1]),t||(this._rect=e),e},e.prototype.contain=function(t){var e=this.getBoundingRect(),n=this.geometries;if(!e.contain(t[0],t[1]))return!1;t:for(var i=0,r=n.length;i<r;i++){var o=n[i];if("polygon"===o.type){var a=o.exterior,s=o.interiors;if(My(a,t[0],t[1])){for(var l=0;l<(s?s.length:0);l++)if(My(s[l],t[0],t[1]))continue t;return!0}}}return!1},e.prototype.transformTo=function(t,e,n,i){var r=this.getBoundingRect(),o=r.width/r.height;n?i||(i=n/o):n=o*i;for(var a=new Mt(t,e,n,i),s=r.calculateTransform(a),l=this.geometries,c=0;c<l.length;c++){var u=l[c];"polygon"===u.type?(Ly(u.exterior,s),Object(g.each)(u.interiors,function(t){Ly(t,s)})):Object(g.each)(u.points,function(t){Ly(t,s)})}(r=this._rect).copy(a),this._center=[r.x+r.width/2,r.y+r.height/2]},e.prototype.cloneShallow=function(t){null==t&&(t=this.name);var n=new e(t,this.geometries,this._center);return n._rect=this._rect,n.transformTo=null,n},e}(Py),Ry=function(t){function e(e,n){var i=t.call(this,e)||this;return i.type="geoSVG",i._elOnlyForCalculate=n,i}return p(e,t),e.prototype.calcCenter=function(){for(var t=this._elOnlyForCalculate,e=t.getBoundingRect(),n=[e.x+e.width/2,e.y+e.height/2],i=At(Dy),r=t;r&&!r.isGeoSVGGraphicRoot;)vt(i,r.getLocalTransform(),i),r=r.parent;return _t(i,i),U(n,n,i),n},e}(Py);function Qy(t,e,n){for(var i=0;i<t.length;i++)t[i]=Hy(t[i],e[i],n)}function Hy(t,e,n){for(var i=[],r=e[0],o=e[1],a=0;a<t.length;a+=2){var s=t.charCodeAt(a)-64,l=t.charCodeAt(a+1)-64;s=s>>1^-(1&s),l=l>>1^-(1&l),r=s+=r,o=l+=o,i.push([s/n,l/n])}return i}function Vy(t,e){return t=function(t){if(!t.UTF8Encoding)return t;var e=t,n=e.UTF8Scale;null==n&&(n=1024);var i=e.features;return g.each(i,function(t){var e=t.geometry,i=e.encodeOffsets,r=e.coordinates;if(i)switch(e.type){case"LineString":e.coordinates=Hy(r,i,n);break;case"Polygon":case"MultiLineString":Qy(r,i,n);break;case"MultiPolygon":g.each(r,function(t,e){return Qy(t,i[e],n)})}}),e.UTF8Encoding=!1,e}(t),g.map(g.filter(t.features,function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0}),function(t){var n=t.properties,i=t.geometry,r=[];switch(i.type){case"Polygon":var o=i.coordinates;r.push(new Ny(o[0],o.slice(1)));break;case"MultiPolygon":g.each(i.coordinates,function(t){t[0]&&r.push(new Ny(t[0],t.slice(1)))});break;case"LineString":r.push(new jy([i.coordinates]));break;case"MultiLineString":r.push(new jy(i.coordinates))}var a=new Uy(n[e||"name"],r,n.cp);return a.properties=n,a})}var zy=tr();function $y(t){return"category"===t.type?function(t){var e=t.getLabelModel(),n=Wy(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}(t):function(t){var e=t.scale.getTicks(),n=yy(t);return{labels:g.map(e,function(e,i){return{level:e.level,formattedLabel:n(e,i),rawLabel:t.scale.getLabel(e),tickValue:e.value}})}}(t)}function Gy(t,e){return"category"===t.type?function(t,e){var n,i,r=Ky(t,"ticks"),o=_y(e),a=Yy(r,o);if(a)return a;e.get("show")&&!t.scale.isBlank()||(n=[]);if(g.isFunction(o))n=Zy(t,o,!0);else if("auto"===o){var s=Wy(t,t.getLabelModel());i=s.labelCategoryInterval,n=g.map(s.labels,function(t){return t.tickValue})}else n=qy(t,i=o,!0);return Xy(r,o,{ticks:n,tickCategoryInterval:i})}(t,e):{ticks:g.map(t.scale.getTicks(),function(t){return t.value})}}function Wy(t,e){var n,i=Ky(t,"labels"),r=_y(e),o=Yy(i,r);return o||Xy(i,r,{labels:g.isFunction(r)?Zy(t,r):qy(t,n="auto"===r?function(t){var e=zy(t).autoInterval;return null!=e?e:zy(t).autoInterval=t.calculateCategoryInterval()}(t):r),labelCategoryInterval:n})}function Ky(t,e){return zy(t)[e]||(zy(t)[e]=[])}function Yy(t,e){for(var n=0;n<t.length;n++)if(t[n].key===e)return t[n].value}function Xy(t,e,n){return t.push({key:e,value:n}),n}function qy(t,e,n){var i=yy(t),r=t.scale,o=r.getExtent(),a=t.getLabelModel(),s=[],l=Math.max((e||0)+1,1),c=o[0],u=r.count();0!==c&&l>1&&u/l>2&&(c=Math.round(Math.ceil(c/l)*l));var h=wy(t),d=a.get("showMinLabel")||h,f=a.get("showMaxLabel")||h;d&&c!==o[0]&&A(o[0]);for(var p=c;p<=o[1];p+=l)A(p);function A(t){var e={value:t};s.push(n?t:{formattedLabel:i(e),rawLabel:r.getLabel(e),tickValue:t})}return f&&p-l!==o[1]&&A(o[1]),s}function Zy(t,e,n){var i=t.scale,r=yy(t),o=[];return g.each(i.getTicks(),function(t){var a=i.getLabel(t),s=t.value;e(t.value,a)&&o.push(n?s:{formattedLabel:r(t),rawLabel:a,tickValue:s})}),o}var Jy=[0,1];function tb(t,e){var n=(t[1]-t[0])/e/2;t[0]+=n,t[1]-=n}var eb=function(){function t(t,e,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=n||[0,0]}return t.prototype.contain=function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=n&&t<=i},t.prototype.containData=function(t){return this.scale.contain(t)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(t){return yi(t||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(t,e){var n=this._extent;n[0]=t,n[1]=e},t.prototype.dataToCoord=function(t,e){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&"ordinal"===i.type&&tb(n=n.slice(),i.count()),fi(t,Jy,n,e)},t.prototype.coordToData=function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&tb(n=n.slice(),i.count());var r=fi(t,n,Jy,e);return this.scale.scale(r)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){var e=(t=t||{}).tickModel||this.getTickModel(),n=Gy(this,e).ticks,i=Object(g.map)(n,function(t){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(t):t),tickValue:t}},this);return function(t,e,n,i){var r=e.length;if(!t.onBand||n||!r)return;var o,a,s=t.getExtent();if(1===r)e[0].coord=s[0],o=e[1]={coord:s[0]};else{var l=e[r-1].tickValue-e[0].tickValue,c=(e[r-1].coord-e[0].coord)/l;Object(g.each)(e,function(t){t.coord-=c/2});var u=t.scale.getExtent();a=1+u[1]-e[r-1].tickValue,o={coord:e[r-1].coord+c*a},e.push(o)}var h=s[0]>s[1];d(e[0].coord,s[0])&&(i?e[0].coord=s[0]:e.shift());i&&d(s[0],e[0].coord)&&e.unshift({coord:s[0]});d(s[1],o.coord)&&(i?o.coord=s[1]:e.pop());i&&d(o.coord,s[1])&&e.push({coord:s[1]});function d(t,e){return t=Ai(t),e=Ai(e),h?t>e:t<e}}(this,i,e.get("alignWithLabel"),t.clamp),i},t.prototype.getMinorTicksCoords=function(){if("ordinal"===this.scale.type)return[];var t=this.model.getModel("minorTick").get("splitNumber");t>0&&t<100||(t=5);var e=this.scale.getMinorTicks(t);return Object(g.map)(e,function(t){return Object(g.map)(t,function(t){return{coord:this.dataToCoord(t),tickValue:t}},this)},this)},t.prototype.getViewLabels=function(){return $y(this).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);0===n&&(n=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/n},t.prototype.calculateCategoryInterval=function(){return function(t){var e=function(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}(t),n=yy(t),i=(e.axisRotate-e.labelRotate)/180*Math.PI,r=t.scale,o=r.getExtent(),a=r.count();if(o[1]-o[0]<1)return 0;var s=1;a>40&&(s=Math.max(1,Math.floor(a/40)));for(var l=o[0],c=t.dataToCoord(l+1)-t.dataToCoord(l),u=Math.abs(c*Math.cos(i)),h=Math.abs(c*Math.sin(i)),d=0,f=0;l<=o[1];l+=s){var p,A,g=Un(n({value:l}),e.font,"center","top");p=1.3*g.width,A=1.3*g.height,d=Math.max(d,p,7),f=Math.max(f,A,7)}var v=d/u,m=f/h;isNaN(v)&&(v=1/0),isNaN(m)&&(m=1/0);var y=Math.max(0,Math.floor(Math.min(v,m))),b=zy(t.model),_=t.getExtent(),w=b.lastAutoInterval,x=b.lastTickCount;return null!=w&&null!=x&&Math.abs(w-y)<=1&&Math.abs(x-a)<=1&&w>y&&b.axisExtent0===_[0]&&b.axisExtent1===_[1]?y=w:(b.lastTickCount=a,b.lastAutoInterval=y,b.axisExtent0=_[0],b.axisExtent1=_[1]),y}(this)},t}();function nb(t){var e=Ch.extend(t);return Ch.registerClass(e),e}function ib(t){var e=fp.extend(t);return fp.registerClass(e),e}function rb(t){var e=hp.extend(t);return hp.registerClass(e),e}function ob(t){var e=xp.extend(t);return xp.registerClass(e),e}var ab=2*Math.PI,sb=Oo.CMD,lb=["top","right","bottom","left"];function cb(t,e,n,i,r){var o=n.width,a=n.height;switch(t){case"top":i.set(n.x+o/2,n.y-e),r.set(0,-1);break;case"bottom":i.set(n.x+o/2,n.y+a+e),r.set(0,1);break;case"left":i.set(n.x-e,n.y+a/2),r.set(-1,0);break;case"right":i.set(n.x+o+e,n.y+a/2),r.set(1,0)}}function ub(t,e,n,i,r,o,a,s,l){a-=t,s-=e;var c=Math.sqrt(a*a+s*s),u=(a/=c)*n+t,h=(s/=c)*n+e;if(Math.abs(i-r)%ab<1e-4)return l[0]=u,l[1]=h,c-n;if(o){var d=i;i=Lo(r),r=Lo(d)}else i=Lo(i),r=Lo(r);i>r&&(r+=ab);var f=Math.atan2(s,a);if(f<0&&(f+=ab),f>=i&&f<=r||f+ab>=i&&f+ab<=r)return l[0]=u,l[1]=h,c-n;var p=n*Math.cos(i)+t,A=n*Math.sin(i)+e,g=n*Math.cos(r)+t,v=n*Math.sin(r)+e,m=(p-a)*(p-a)+(A-s)*(A-s),y=(g-a)*(g-a)+(v-s)*(v-s);return m<y?(l[0]=p,l[1]=A,Math.sqrt(m)):(l[0]=g,l[1]=v,Math.sqrt(y))}function hb(t,e,n,i,r,o,a,s){var l=r-t,c=o-e,u=n-t,h=i-e,d=Math.sqrt(u*u+h*h),f=(l*(u/=d)+c*(h/=d))/d;s&&(f=Math.min(Math.max(f,0),1)),f*=d;var p=a[0]=t+f*u,A=a[1]=e+f*h;return Math.sqrt((p-r)*(p-r)+(A-o)*(A-o))}function db(t,e,n,i,r,o,a){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i);var s=t+n,l=e+i,c=a[0]=Math.min(Math.max(r,t),s),u=a[1]=Math.min(Math.max(o,e),l);return Math.sqrt((c-r)*(c-r)+(u-o)*(u-o))}var fb=[];function pb(t,e,n){var i=db(e.x,e.y,e.width,e.height,t.x,t.y,fb);return n.set(fb[0],fb[1]),i}function Ab(t,e,n){for(var i,r,o=0,a=0,s=0,l=0,c=1/0,u=e.data,h=t.x,d=t.y,f=0;f<u.length;){var p=u[f++];1===f&&(s=o=u[f],l=a=u[f+1]);var A=c;switch(p){case sb.M:o=s=u[f++],a=l=u[f++];break;case sb.L:A=hb(o,a,u[f],u[f+1],h,d,fb,!0),o=u[f++],a=u[f++];break;case sb.C:A=xe(o,a,u[f++],u[f++],u[f++],u[f++],u[f],u[f+1],h,d,fb),o=u[f++],a=u[f++];break;case sb.Q:A=Oe(o,a,u[f++],u[f++],u[f],u[f+1],h,d,fb),o=u[f++],a=u[f++];break;case sb.A:var g=u[f++],v=u[f++],m=u[f++],y=u[f++],b=u[f++],_=u[f++];f+=1;var w=!!(1-u[f++]);i=Math.cos(b)*m+g,r=Math.sin(b)*y+v,f<=1&&(s=i,l=r),A=ub(g,v,y,b,b+_,w,(h-g)*y/m+g,d,fb),o=Math.cos(b+_)*m+g,a=Math.sin(b+_)*y+v;break;case sb.R:A=db(s=o=u[f++],l=a=u[f++],u[f++],u[f++],h,d,fb);break;case sb.Z:A=hb(o,a,s,l,h,d,fb,!0),o=s,a=l}A<c&&(c=A,n.set(fb[0],fb[1]))}return c}var gb=new xt,vb=new xt,mb=new xt,yb=new xt,bb=new xt;function _b(t,e){if(t){var n=t.getTextGuideLine(),i=t.getTextContent();if(i&&n){var r=t.textGuideLineConfig||{},o=[[0,0],[0,0],[0,0]],a=r.candidates||lb,s=i.getBoundingRect().clone();s.applyTransform(i.getComputedTransform());var l=1/0,c=r.anchor,u=t.getComputedTransform(),h=u&&_t([],u),d=e.get("length2")||0;c&&mb.copy(c);for(var f=0;f<a.length;f++){cb(a[f],0,s,gb,yb),xt.scaleAndAdd(vb,gb,yb,d),vb.transform(h);var p=t.getBoundingRect(),A=c?c.distance(vb):t instanceof Xo?Ab(vb,t.path,mb):pb(vb,p,mb);A<l&&(l=A,vb.transform(u),mb.transform(u),mb.toArray(o[0]),vb.toArray(o[1]),gb.toArray(o[2]))}Cb(o,e.get("minTurnAngle")),n.setShape({points:o})}}}var wb=[],xb=new xt;function Cb(t,e){if(e<=180&&e>0){e=e/180*Math.PI,gb.fromArray(t[0]),vb.fromArray(t[1]),mb.fromArray(t[2]),xt.sub(yb,gb,vb),xt.sub(bb,mb,vb);var n=yb.len(),i=bb.len();if(!(n<.001||i<.001)){yb.scale(1/n),bb.scale(1/i);var r=yb.dot(bb);if(Math.cos(e)<r){var o=hb(vb.x,vb.y,mb.x,mb.y,gb.x,gb.y,wb,!1);xb.fromArray(wb),xb.scaleAndAdd(bb,o/Math.tan(Math.PI-e));var a=mb.x!==vb.x?(xb.x-vb.x)/(mb.x-vb.x):(xb.y-vb.y)/(mb.y-vb.y);if(isNaN(a))return;a<0?xt.copy(xb,vb):a>1&&xt.copy(xb,mb),xb.toArray(t[1])}}}}function Sb(t,e,n){if(n<=180&&n>0){n=n/180*Math.PI,gb.fromArray(t[0]),vb.fromArray(t[1]),mb.fromArray(t[2]),xt.sub(yb,vb,gb),xt.sub(bb,mb,vb);var i=yb.len(),r=bb.len();if(!(i<.001||r<.001))if(yb.scale(1/i),bb.scale(1/r),yb.dot(e)<Math.cos(n)){var o=hb(vb.x,vb.y,mb.x,mb.y,gb.x,gb.y,wb,!1);xb.fromArray(wb);var a=Math.PI/2,s=a+Math.acos(bb.dot(e))-n;if(s>=a)xt.copy(xb,mb);else{xb.scaleAndAdd(bb,o/Math.tan(Math.PI/2-s));var l=mb.x!==vb.x?(xb.x-vb.x)/(mb.x-vb.x):(xb.y-vb.y)/(mb.y-vb.y);if(isNaN(l))return;l<0?xt.copy(xb,vb):l>1&&xt.copy(xb,mb)}xb.toArray(t[1])}}}function Bb(t,e,n,i){var r="normal"===n,o=r?t:t.ensureState(n);o.ignore=e;var a=i.get("smooth");a&&!0===a&&(a=.3),o.shape=o.shape||{},a>0&&(o.shape.smooth=a);var s=i.getModel("lineStyle").getLineStyle();r?t.useStyle(s):o.style=s}function kb(t,e){var n=e.smooth,i=e.points;if(i)if(t.moveTo(i[0][0],i[0][1]),n>0&&i.length>=3){var r=L(i[0],i[1]),o=L(i[1],i[2]);if(!r||!o)return t.lineTo(i[1][0],i[1][1]),void t.lineTo(i[2][0],i[2][1]);var a=Math.min(r,o)*n,s=j([],i[1],i[0],a/r),l=j([],i[1],i[2],a/o),c=j([],s,l,.5);t.bezierCurveTo(s[0],s[1],s[0],s[1],c[0],c[1]),t.bezierCurveTo(l[0],l[1],l[0],l[1],i[2][0],i[2][1])}else for(var u=1;u<i.length;u++)t.lineTo(i[u][0],i[u][1])}function Tb(t,e,n){var i=t.getTextGuideLine(),r=t.getTextContent();if(r){for(var o=e.normal,a=o.get("show"),s=r.ignore,l=0;l<ja.length;l++){var c=ja[l],u=e[c],h="normal"===c;if(u){var d=u.get("show");if((h?s:Object(g.retrieve2)(r.states[c]&&r.states[c].ignore,s))||!Object(g.retrieve2)(d,a)){var f=h?i:i&&i.states[c];f&&(f.ignore=!0);continue}i||(i=new Tl,t.setTextGuideLine(i),h||!s&&a||Bb(i,!0,"normal",e.normal),t.stateProxy&&(i.stateProxy=t.stateProxy)),Bb(i,!1,c,u)}}if(i){Object(g.defaults)(i.style,n),i.style.fill=null;var p=o.get("showAbove");(t.textGuideLineConfig=t.textGuideLineConfig||{}).showAbove=p||!1,i.buildPath=kb}}else i&&t.removeTextGuideLine()}function Ob(t,e){e=e||"labelLine";for(var n={normal:t.getModel(e)},i=0;i<Na.length;i++){var r=Na[i];n[r]=t.getModel([r,e])}return n}function Eb(t){for(var e=[],n=0;n<t.length;n++){var i=t[n];if(!i.defaultAttr.ignore){var r=i.label,o=r.getComputedTransform(),a=r.getBoundingRect(),s=!o||o[1]<1e-5&&o[2]<1e-5,l=r.style.margin||0,c=a.clone();c.applyTransform(o),c.x-=l/2,c.y-=l/2,c.width+=l,c.height+=l;var u=s?new Yl(a,o):null;e.push({label:r,labelLine:i.labelLine,rect:c,localRect:a,obb:u,priority:i.priority,defaultAttr:i.defaultAttr,layoutOption:i.computedLayoutOption,axisAligned:s,transform:o})}}return e}function Ib(t,e,n,i,r,o){var a=t.length;if(!(a<2)){t.sort(function(t,n){return t.rect[e]-n.rect[e]});for(var s,l=0,c=!1,u=[],h=0,d=0;d<a;d++){var f=t[d],p=f.rect;(s=p[e]-l)<0&&(p[e]-=s,f.label[e]-=s,c=!0);var A=Math.max(-s,0);u.push(A),h+=A,l=p[e]+p[n]}h>0&&o&&w(-h/a,0,a);var g,v,m=t[0],y=t[a-1];return b(),g<0&&x(-g,.8),v<0&&x(v,.8),b(),_(g,v,1),_(v,g,-1),b(),g<0&&C(-g),v<0&&C(v),c}function b(){g=m.rect[e]-i,v=r-y.rect[e]-y.rect[n]}function _(t,e,n){if(t<0){var i=Math.min(e,-t);if(i>0){w(i*n,0,a);var r=i+t;r<0&&x(-r*n,1)}else x(-t*n,1)}}function w(n,i,r){0!==n&&(c=!0);for(var o=i;o<r;o++){var a=t[o];a.rect[e]+=n,a.label[e]+=n}}function x(i,r){for(var o=[],s=0,l=1;l<a;l++){var c=t[l-1].rect,u=Math.max(t[l].rect[e]-c[e]-c[n],0);o.push(u),s+=u}if(s){var h=Math.min(Math.abs(i)/s,r);if(i>0)for(l=0;l<a-1;l++){w(o[l]*h,0,l+1)}else for(l=a-1;l>0;l--){w(-(o[l-1]*h),l,a)}}}function C(t){var e=t<0?-1:1;t=Math.abs(t);for(var n=Math.ceil(t/(a-1)),i=0;i<a-1;i++)if(e>0?w(n,0,i+1):w(-n,a-i-1,a),(t-=n)<=0)return}}function Mb(t,e,n,i){return Ib(t,"y","height",e,n,i)}function Db(t){var e=[];t.sort(function(t,e){return e.priority-t.priority});var n=new Mt(0,0,0,0);function i(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}for(var r=0;r<t.length;r++){var o=t[r],a=o.axisAligned,s=o.localRect,l=o.transform,c=o.label,u=o.labelLine;n.copy(o.rect),n.width-=.1,n.height-=.1,n.x+=.05,n.y+=.05;for(var h=o.obb,d=!1,f=0;f<e.length;f++){var p=e[f];if(n.intersect(p.rect)){if(a&&p.axisAligned){d=!0;break}if(p.obb||(p.obb=new Yl(p.localRect,p.transform)),h||(h=new Yl(s,l)),h.intersect(p.obb)){d=!0;break}}}d?(i(c),u&&i(u)):(c.attr("ignore",o.defaultAttr.ignore),u&&u.attr("ignore",o.defaultAttr.labelGuideIgnore),e.push(o))}}function Lb(t,e){var n=t.label,i=e&&e.getTextGuideLine();return{dataIndex:t.dataIndex,dataType:t.dataType,seriesIndex:t.seriesModel.seriesIndex,text:t.label.style.text,rect:t.hostRect,labelRect:t.rect,align:n.style.align,verticalAlign:n.style.verticalAlign,labelLinePoints:function(t){if(t){for(var e=[],n=0;n<t.length;n++)e.push(t[n].slice());return e}}(i&&i.shape.points)}}var Fb=["align","verticalAlign","width","height","fontSize"],Pb=new Dn,Nb=tr(),jb=tr();function Ub(t,e,n){for(var i=0;i<n.length;i++){var r=n[i];null!=e[r]&&(t[r]=e[r])}}var Rb=["x","y","rotation"],Qb=function(){function t(){this._labelList=[],this._chartViewList=[]}return t.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},t.prototype._addLabel=function(t,e,n,i,r){var o=i.style,a=i.__hostTarget.textConfig||{},s=i.getComputedTransform(),l=i.getBoundingRect().plain();Mt.applyTransform(l,l,s),s?Pb.setLocalTransform(s):(Pb.x=Pb.y=Pb.rotation=Pb.originX=Pb.originY=0,Pb.scaleX=Pb.scaleY=1);var c,u=i.__hostTarget;if(u){c=u.getBoundingRect().plain();var h=u.getComputedTransform();Mt.applyTransform(c,c,h)}var d=c&&u.getTextGuideLine();this._labelList.push({label:i,labelLine:d,seriesModel:n,dataIndex:t,dataType:e,layoutOption:r,computedLayoutOption:null,rect:l,hostRect:c,priority:c?c.width*c.height:0,defaultAttr:{ignore:i.ignore,labelGuideIgnore:d&&d.ignore,x:Pb.x,y:Pb.y,scaleX:Pb.scaleX,scaleY:Pb.scaleY,rotation:Pb.rotation,style:{x:o.x,y:o.y,align:o.align,verticalAlign:o.verticalAlign,width:o.width,height:o.height,fontSize:o.fontSize},cursor:i.cursor,attachedPos:a.position,attachedRot:a.rotation}})},t.prototype.addLabelsOfSeries=function(t){var e=this;this._chartViewList.push(t);var n=t.__model,i=n.get("labelLayout");(Object(g.isFunction)(i)||Object(g.keys)(i).length)&&t.group.traverse(function(t){if(t.ignore)return!0;var r=t.getTextContent(),o=Ta(t);r&&!r.disableLabelLayout&&e._addLabel(o.dataIndex,o.dataType,n,r,i)})},t.prototype.updateLayoutConfig=function(t){var e=t.getWidth(),n=t.getHeight();function i(t,e){return function(){_b(t,e)}}for(var r=0;r<this._labelList.length;r++){var o=this._labelList[r],a=o.label,s=a.__hostTarget,l=o.defaultAttr,c=void 0;c=(c=Object(g.isFunction)(o.layoutOption)?o.layoutOption(Lb(o,s)):o.layoutOption)||{},o.computedLayoutOption=c;var u=Math.PI/180;s&&s.setTextConfig({local:!1,position:null!=c.x||null!=c.y?null:l.attachedPos,rotation:null!=c.rotate?c.rotate*u:l.attachedRot,offset:[c.dx||0,c.dy||0]});var h=!1;if(null!=c.x?(a.x=pi(c.x,e),a.setStyle("x",0),h=!0):(a.x=l.x,a.setStyle("x",l.style.x)),null!=c.y?(a.y=pi(c.y,n),a.setStyle("y",0),h=!0):(a.y=l.y,a.setStyle("y",l.style.y)),c.labelLinePoints){var d=s.getTextGuideLine();d&&(d.setShape({points:c.labelLinePoints}),h=!1)}Nb(a).needsUpdateLabelLine=h,a.rotation=null!=c.rotate?c.rotate*u:l.rotation,a.scaleX=l.scaleX,a.scaleY=l.scaleY;for(var f=0;f<Fb.length;f++){var p=Fb[f];a.setStyle(p,null!=c[p]?c[p]:l.style[p])}if(c.draggable){if(a.draggable=!0,a.cursor="move",s){var A=o.seriesModel;if(null!=o.dataIndex)A=o.seriesModel.getData(o.dataType).getItemModel(o.dataIndex);a.on("drag",i(s,A.getModel("labelLine")))}}else a.off("drag"),a.cursor=l.cursor}},t.prototype.layout=function(t){var e,n=t.getWidth(),i=t.getHeight(),r=Eb(this._labelList),o=Object(g.filter)(r,function(t){return"shiftX"===t.layoutOption.moveOverlap}),a=Object(g.filter)(r,function(t){return"shiftY"===t.layoutOption.moveOverlap});Ib(o,"x","width",0,n,e),Mb(a,0,i),Db(Object(g.filter)(r,function(t){return t.layoutOption.hideOverlap}))},t.prototype.processLabelsOverall=function(){var t=this;Object(g.each)(this._chartViewList,function(e){var n=e.__model,i=e.ignoreLabelLineUpdate,r=n.isAnimationEnabled();e.group.traverse(function(e){if(e.ignore&&!e.forceLabelAnimation)return!0;var o=!i,a=e.getTextContent();!o&&a&&(o=Nb(a).needsUpdateLabelLine),o&&t._updateLabelLine(e,n),r&&t._animateLabels(e,n)})})},t.prototype._updateLabelLine=function(t,e){var n=t.getTextContent(),i=Ta(t),r=i.dataIndex;if(n&&null!=r){var o=e.getData(i.dataType),a=o.getItemModel(r),s={},l=o.getItemVisual(r,"style"),c=o.getVisual("drawType");s.stroke=l[c];var u=a.getModel("labelLine");Tb(t,Ob(a),s),_b(t,u)}},t.prototype._animateLabels=function(t,e){var n=t.getTextContent(),i=t.getTextGuideLine();if(n&&(t.forceLabelAnimation||!n.ignore&&!n.invisible&&!t.disableLabelAnimation&&!ic(t))){var r=(f=Nb(n)).oldLayout,o=Ta(t),a=o.dataIndex,s={x:n.x,y:n.y,rotation:n.rotation},l=e.getData(o.dataType);if(r){n.attr(r);var c=t.prevStates;c&&(Object(g.indexOf)(c,"select")>=0&&n.attr(f.oldLayoutSelect),Object(g.indexOf)(c,"emphasis")>=0&&n.attr(f.oldLayoutEmphasis)),ec(n,s,e,a)}else if(n.attr(s),!Xc(n).valueAnimation){var u=Object(g.retrieve2)(n.style.opacity,1);n.style.opacity=0,nc(n,{style:{opacity:u}},e,a)}if(f.oldLayout=s,n.states.select){var h=f.oldLayoutSelect={};Ub(h,s,Rb),Ub(h,n.states.select,Rb)}if(n.states.emphasis){var d=f.oldLayoutEmphasis={};Ub(d,s,Rb),Ub(d,n.states.emphasis,Rb)}Zc(n,a,l,e,e)}if(i&&!i.ignore&&!i.invisible){r=(f=jb(i)).oldLayout;var f,p={points:i.shape.points};r?(i.attr({shape:r}),ec(i,{shape:p},e)):(i.setShape(p),i.style.strokePercent=0,nc(i,{style:{strokePercent:1}},e)),f.oldLayout=p}},t}(),Hb=tr();function Vb(t){t.registerUpdateLifecycle("series:beforeupdate",function(t,e,n){var i=Hb(e).labelManager;i||(i=Hb(e).labelManager=new Qb),i.clearLabels()}),t.registerUpdateLifecycle("series:layoutlabels",function(t,e,n){var i=Hb(e).labelManager;n.updatedSeries.forEach(function(t){i.addLabelsOfSeries(e.getViewOfSeriesModel(t))}),i.updateLayoutConfig(e),i.layout(e),i.processLabelsOverall()})}Iv(Vb);var zb=Math.sin,$b=Math.cos,Gb=Math.PI,Wb=2*Math.PI,Kb=180/Gb,Yb=function(){function t(){}return t.prototype.reset=function(t){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,t||4)},t.prototype.moveTo=function(t,e){this._add("M",t,e)},t.prototype.lineTo=function(t,e){this._add("L",t,e)},t.prototype.bezierCurveTo=function(t,e,n,i,r,o){this._add("C",t,e,n,i,r,o)},t.prototype.quadraticCurveTo=function(t,e,n,i){this._add("Q",t,e,n,i)},t.prototype.arc=function(t,e,n,i,r,o){this.ellipse(t,e,n,n,0,i,r,o)},t.prototype.ellipse=function(t,e,n,i,r,o,a,s){var l=a-o,c=!s,u=Math.abs(l),h=Object(Fe.j)(u-Wb)||(c?l>=Wb:-l>=Wb),d=l>0?l%Wb:l%Wb+Wb,f=!1;f=!!h||!Object(Fe.j)(u)&&d>=Gb==!!c;var p=t+n*$b(o),A=e+i*zb(o);this._start&&this._add("M",p,A);var g=Math.round(r*Kb);if(h){var v=1/this._p,m=(c?1:-1)*(Wb-v);this._add("A",n,i,g,1,+c,t+n*$b(o+m),e+i*zb(o+m)),v>.01&&this._add("A",n,i,g,0,+c,p,A)}else{var y=t+n*$b(a),b=e+i*zb(a);this._add("A",n,i,g,+f,+c,y,b)}},t.prototype.rect=function(t,e,n,i){this._add("M",t,e),this._add("l",n,0),this._add("l",0,i),this._add("l",-n,0),this._add("Z")},t.prototype.closePath=function(){this._d.length>0&&this._add("Z")},t.prototype._add=function(t,e,n,i,r,o,a,s,l){for(var c=[],u=this._p,h=1;h<arguments.length;h++){var d=arguments[h];if(isNaN(d))return void(this._invalid=!0);c.push(Math.round(d*u)/u)}this._d.push(t+c.join(" ")),this._start="Z"===t},t.prototype.generateStr=function(){this._str=this._invalid?"":this._d.join(""),this._d=[]},t.prototype.getStr=function(){return this._str},t}(),Xb="none",qb=Math.round;var Zb=["lineCap","miterLimit","lineJoin"],Jb=Object(g.map)(Zb,function(t){return"stroke-"+t.toLowerCase()});function t_(t,e,n,i){var r=null==e.opacity?1:e.opacity;if(n instanceof ia)t("opacity",r);else{if(function(t){var e=t.fill;return null!=e&&e!==Xb}(e)){var o=Object(Fe.p)(e.fill);t("fill",o.color);var a=null!=e.fillOpacity?e.fillOpacity*o.opacity*r:o.opacity*r;(i||a<1)&&t("fill-opacity",a)}else t("fill",Xb);if(function(t){var e=t.stroke;return null!=e&&e!==Xb}(e)){var s=Object(Fe.p)(e.stroke);t("stroke",s.color);var l=e.strokeNoScale?n.getLineScale():1,c=l?(e.lineWidth||0)/l:0,u=null!=e.strokeOpacity?e.strokeOpacity*s.opacity*r:s.opacity*r,h=e.strokeFirst;if((i||1!==c)&&t("stroke-width",c),(i||h)&&t("paint-order",h?"stroke":"fill"),(i||u<1)&&t("stroke-opacity",u),e.lineDash){var d=PA(n),f=d[0],p=d[1];f&&(p=qb(p||0),t("stroke-dasharray",f.join(",")),(p||i)&&t("stroke-dashoffset",p))}else i&&t("stroke-dasharray",Xb);for(var A=0;A<Zb.length;A++){var g=Zb[A];if(i||e[g]!==Wo[g]){var v=e[g]||Wo[g];v&&t(Jb[A],v)}}}else i&&t("stroke",Xb)}}var e_="http://www.w3.org/2000/svg",n_="http://www.w3.org/1999/xlink",i_="http://www.w3.org/2000/xmlns/",r_="http://www.w3.org/XML/1998/namespace";function o_(t){return document.createElementNS(e_,t)}function a_(t,e,n,i,r){return{tag:t,attrs:n||{},children:i,text:r,key:e}}function s_(t,e){var n=(e=e||{}).newline?"\n":"";return function t(e){var i=e.children,r=e.tag,o=e.attrs,a=e.text;return function(t,e){var n=[];if(e)for(var i in e){var r=e[i],o=i;!1!==r&&(!0!==r&&null!=r&&(o+='="'+r+'"'),n.push(o))}return"<"+t+" "+n.join(" ")+">"}(r,o)+("style"!==r?tt(a):a||"")+(i?""+n+Object(g.map)(i,function(e){return t(e)}).join(n)+n:"")+"</"+r+">"}(t)}function l_(t){return{zrId:t,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssClassIdx:0,cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function c_(t,e,n,i){return a_("svg","root",{width:t,height:e,xmlns:e_,"xmlns:xlink":n_,version:"1.1",baseProfile:"full",viewBox:!!i&&"0 0 "+t+" "+e},n)}var u_={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},h_="transform-origin";function d_(t,e,n){var i=Object(g.extend)({},t.shape);Object(g.extend)(i,e),t.buildPath(n,i);var r=new Yb;return r.reset(Object(Fe.f)(t)),n.rebuildPath(r,1),r.generateStr(),r.getStr()}function f_(t,e){var n=e.originX,i=e.originY;(n||i)&&(t[h_]=n+"px "+i+"px")}var p_={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function A_(t,e){var n=e.zrId+"-ani-"+e.cssAnimIdx++;return e.cssAnims[n]=t,n}function g_(t){return Object(g.isString)(t)?u_[t]?"cubic-bezier("+u_[t]+")":Me(t)?t:"":""}function v_(t,e,n,i){var r=t.animators,o=r.length,a=[];if(t instanceof Ql){if(v=function(t,e,n){var i,r,o=t.shape.paths,a={};if(Object(g.each)(o,function(t){var e=l_(n.zrId);e.animation=!0,v_(t,{},e,!0);var o=e.cssAnims,s=e.cssNodes,l=Object(g.keys)(o),c=l.length;if(c){var u=o[r=l[c-1]];for(var h in u){var d=u[h];a[h]=a[h]||{d:""},a[h].d+=d.d||""}for(var f in s){var p=s[f].animation;p.indexOf(r)>=0&&(i=p)}}}),i){e.d=!1;var s=A_(a,n);return i.replace(r,s)}}(t,e,n))a.push(v);else if(!o)return}else if(!o)return;for(var s={},l=0;l<o;l++){var c=r[l],u=[c.getMaxTime()/1e3+"s"],h=g_(c.getClip().easing),d=c.getDelay();h?u.push(h):u.push("linear"),d&&u.push(d/1e3+"s"),c.getLoop()&&u.push("infinite");var f=u.join(" ");s[f]=s[f]||[f,[]],s[f][1].push(c)}function p(r){var o,a=r[1],s=a.length,l={},c={},u={},h="animation-timing-function";function d(t,e,n){for(var i=t.getTracks(),r=t.getMaxTime(),o=0;o<i.length;o++){var a=i[o];if(a.needsAnimate()){var s=a.keyframes,l=a.propName;if(n&&(l=n(l)),l)for(var c=0;c<s.length;c++){var u=s[c],d=Math.round(u.time/r*100)+"%",f=g_(u.easing),p=u.rawValue;(Object(g.isString)(p)||Object(g.isNumber)(p))&&(e[d]=e[d]||{},e[d][l]=u.rawValue,f&&(e[d][h]=f))}}}}for(var f=0;f<s;f++){(C=(x=a[f]).targetName)?"shape"===C&&d(x,c):!i&&d(x,l)}for(var p in l){var A={};Mn(A,t),Object(g.extend)(A,l[p]);var v=Object(Fe.g)(A),m=l[p][h];u[p]=v?{transform:v}:{},f_(u[p],A),m&&(u[p][h]=m)}var y=!0;for(var p in c){u[p]=u[p]||{};var b=!o;m=c[p][h];b&&(o=new Oo);var _=o.len();o.reset(),u[p].d=d_(t,c[p],o);var w=o.len();if(!b&&_!==w){y=!1;break}m&&(u[p][h]=m)}if(!y)for(var p in u)delete u[p].d;if(!i)for(f=0;f<s;f++){var x,C;"style"===(C=(x=a[f]).targetName)&&d(x,u,function(t){return p_[t]})}var S,B=Object(g.keys)(u),k=!0;for(f=1;f<B.length;f++){var T=B[f-1],O=B[f];if(u[T][h_]!==u[O][h_]){k=!1;break}S=u[T][h_]}if(k&&S){for(var p in u)u[p][h_]&&delete u[p][h_];e[h_]=S}if(Object(g.filter)(B,function(t){return Object(g.keys)(u[t]).length>0}).length)return A_(u,n)+" "+r[0]+" both"}for(var A in s){var v;(v=p(s[A]))&&a.push(v)}if(a.length){var m=n.zrId+"-cls-"+n.cssClassIdx++;n.cssNodes["."+m]={animation:a.join(",")},e.class=m}}var m_=Math.round;function y_(t){return t&&Object(g.isString)(t.src)}function b_(t){return t&&Object(g.isFunction)(t.toDataURL)}function __(t,e,n,i){t_(function(r,o){var a="fill"===r||"stroke"===r;a&&Object(Fe.k)(o)?I_(e,t,r,i):a&&Object(Fe.n)(o)?M_(n,t,r,i):t[r]=o},e,n,!1),function(t,e,n){var i=t.style;if(Object(Fe.i)(i)){var r=Object(Fe.h)(t),o=n.shadowCache,a=o[r];if(!a){var s=t.getGlobalScale(),l=s[0],c=s[1];if(!l||!c)return;var u=i.shadowOffsetX||0,h=i.shadowOffsetY||0,d=i.shadowBlur,f=Object(Fe.p)(i.shadowColor),p=f.opacity,A=f.color,g=d/2/l,v=d/2/c,m=g+" "+v;a=n.zrId+"-s"+n.shadowIdx++,n.defs[a]=a_("filter",a,{id:a,x:"-100%",y:"-100%",width:"300%",height:"300%"},[a_("feDropShadow","",{dx:u/l,dy:h/c,stdDeviation:m,"flood-color":A,"flood-opacity":p})]),o[r]=a}e.filter=Object(Fe.d)(a)}}(n,t,i)}function w_(t){return Object(Fe.j)(t[0]-1)&&Object(Fe.j)(t[1])&&Object(Fe.j)(t[2])&&Object(Fe.j)(t[3]-1)}function x_(t,e,n){if(e&&(!function(t){return Object(Fe.j)(t[4])&&Object(Fe.j)(t[5])}(e)||!w_(e))){var i=n?10:1e4;t.transform=w_(e)?"translate("+m_(e[4]*i)/i+" "+m_(e[5]*i)/i+")":Object(Fe.e)(e)}}function C_(t,e,n){for(var i=t.points,r=[],o=0;o<i.length;o++)r.push(m_(i[o][0]*n)/n),r.push(m_(i[o][1]*n)/n);e.points=r.join(" ")}function S_(t){return!t.smooth}var B_,k_,T_={circle:[(B_=["cx","cy","r"],k_=Object(g.map)(B_,function(t){return"string"==typeof t?[t,t]:t}),function(t,e,n){for(var i=0;i<k_.length;i++){var r=k_[i],o=t[r[0]];null!=o&&(e[r[1]]=m_(o*n)/n)}})],polyline:[C_,S_],polygon:[C_,S_]};function O_(t,e){var n=t.style,i=t.shape,r=T_[t.type],o={},a=e.animation,s="path",l=t.style.strokePercent,c=e.compress&&Object(Fe.f)(t)||4;if(!r||e.willUpdate||r[1]&&!r[1](i)||a&&function(t){for(var e=t.animators,n=0;n<e.length;n++)if("shape"===e[n].targetName)return!0;return!1}(t)||l<1){var u=!t.path||t.shapeChanged();t.path||t.createPathProxy();var h=t.path;u&&(h.beginPath(),t.buildPath(h,t.shape),t.pathUpdated());var d=h.getVersion(),f=t,p=f.__svgPathBuilder;f.__svgPathVersion===d&&p&&l===f.__svgPathStrokePercent||(p||(p=f.__svgPathBuilder=new Yb),p.reset(c),h.rebuildPath(p,l),p.generateStr(),f.__svgPathVersion=d,f.__svgPathStrokePercent=l),o.d=p.getStr()}else{s=t.type;var A=Math.pow(10,c);r[0](i,o,A)}return x_(o,t.transform),__(o,n,t,e),e.animation&&v_(t,o,e),a_(s,t.id+"",o)}function E_(t,e){return t instanceof Xo?O_(t,e):t instanceof ia?function(t,e){var n=t.style,i=n.image;if(i&&!Object(g.isString)(i)&&(y_(i)?i=i.src:b_(i)&&(i=i.toDataURL())),i){var r=n.x||0,o=n.y||0,a={href:i,width:n.width,height:n.height};return r&&(a.x=r),o&&(a.y=o),x_(a,t.transform),__(a,n,t,e),e.animation&&v_(t,a,e),a_("image",t.id+"",a)}}(t,e):t instanceof Jo?function(t,e){var n=t.style,i=n.text;if(null!=i&&(i+=""),i&&!isNaN(n.x)&&!isNaN(n.y)){var r=n.font||Fn.a,o=n.x||0,a=Object(Fe.b)(n.y||0,Hn(r),n.textBaseline),s={"dominant-baseline":"central","text-anchor":Fe.a[n.textAlign]||n.textAlign};if(ba(n)){var l="",c=n.fontStyle,u=ma(n.fontSize);if(!parseFloat(u))return;var h=n.fontFamily||Fn.b,d=n.fontWeight;l+="font-size:"+u+";font-family:"+h+";",c&&"normal"!==c&&(l+="font-style:"+c+";"),d&&"normal"!==d&&(l+="font-weight:"+d+";"),s.style=l}else s.style="font: "+r;return i.match(/\s/)&&(s["xml:space"]="preserve"),o&&(s.x=o),a&&(s.y=a),x_(s,t.transform),__(s,n,t,e),e.animation&&v_(t,s,e),a_("text",t.id+"",s,void 0,i)}}(t,e):void 0}function I_(t,e,n,i){var r,o=t[n],a={gradientUnits:o.global?"userSpaceOnUse":"objectBoundingBox"};if(Object(Fe.m)(o))r="linearGradient",a.x1=o.x,a.y1=o.y,a.x2=o.x2,a.y2=o.y2;else{if(!Object(Fe.o)(o))return void 0;r="radialGradient",a.cx=Object(g.retrieve2)(o.x,.5),a.cy=Object(g.retrieve2)(o.y,.5),a.r=Object(g.retrieve2)(o.r,.5)}for(var s=o.colorStops,l=[],c=0,u=s.length;c<u;++c){var h=100*Object(Fe.q)(s[c].offset)+"%",d=s[c].color,f=Object(Fe.p)(d),p=f.color,A=f.opacity,v={offset:h};v["stop-color"]=p,A<1&&(v["stop-opacity"]=A),l.push(a_("stop",c+"",v))}var m=s_(a_(r,"",a,l)),y=i.gradientCache,b=y[m];b||(b=i.zrId+"-g"+i.gradientIdx++,y[m]=b,a.id=b,i.defs[b]=a_(r,b,a,l)),e[n]=Object(Fe.d)(b)}function M_(t,e,n,i){var r,o=t.style[n],a=t.getBoundingRect(),s={},l=o.repeat,c="no-repeat"===l,u="repeat-x"===l,h="repeat-y"===l;if(Object(Fe.l)(o)){var d=o.imageWidth,f=o.imageHeight,p=void 0,A=o.image;if(Object(g.isString)(A)?p=A:y_(A)?p=A.src:b_(A)&&(p=A.toDataURL()),"undefined"==typeof Image){var v="Image width/height must been given explictly in svg-ssr renderer.";Object(g.assert)(d,v),Object(g.assert)(f,v)}else if(null==d||null==f){var m=function(t,e){if(t){var n=t.elm,i=d||e.width,r=f||e.height;"pattern"===t.tag&&(u?(r=1,i/=a.width):h&&(i=1,r/=a.height)),t.attrs.width=i,t.attrs.height=r,n&&(n.setAttribute("width",i),n.setAttribute("height",r))}},y=Sr(p,null,t,function(t){c||m(x,t),m(r,t)});y&&y.width&&y.height&&(d=d||y.width,f=f||y.height)}r=a_("image","img",{href:p,width:d,height:f}),s.width=d,s.height=f}else o.svgElement&&(r=Object(g.clone)(o.svgElement),s.width=o.svgWidth,s.height=o.svgHeight);if(r){var b,_;c?b=_=1:u?(_=1,b=s.width/a.width):h?(b=1,_=s.height/a.height):s.patternUnits="userSpaceOnUse",null==b||isNaN(b)||(s.width=b),null==_||isNaN(_)||(s.height=_);var w=Object(Fe.g)(o);w&&(s.patternTransform=w);var x=a_("pattern","",s,[r]),C=s_(x),S=i.patternCache,B=S[C];B||(B=i.zrId+"-p"+i.patternIdx++,S[C]=B,s.id=B,x=i.defs[B]=a_("pattern",B,s,[r])),e[n]=Object(Fe.d)(B)}}function D_(t,e,n){var i=n.clipPathCache,r=n.defs,o=i[t.id];if(!o){var a={id:o=n.zrId+"-c"+n.clipPathIdx++};i[t.id]=o,r[o]=a_("clipPath",o,a,[O_(t,n)])}e["clip-path"]=Object(Fe.d)(o)}function L_(t){return document.createTextNode(t)}function F_(t,e,n){t.insertBefore(e,n)}function P_(t,e){t.removeChild(e)}function N_(t,e){t.appendChild(e)}function j_(t){return t.parentNode}function U_(t){return t.nextSibling}function R_(t,e){t.textContent=e}var Q_=58,H_=120,V_=a_("","");function z_(t){return void 0===t}function $_(t){return void 0!==t}function G_(t,e,n){for(var i={},r=e;r<=n;++r){var o=t[r].key;void 0!==o&&(i[o]=r)}return i}function W_(t,e){var n=t.key===e.key;return t.tag===e.tag&&n}function K_(t){var e,n=t.children,i=t.tag;if($_(i)){var r=t.elm=o_(i);if(q_(V_,t),Object(g.isArray)(n))for(e=0;e<n.length;++e){var o=n[e];null!=o&&N_(r,K_(o))}else $_(t.text)&&!Object(g.isObject)(t.text)&&N_(r,L_(t.text))}else t.elm=L_(t.text);return t.elm}function Y_(t,e,n,i,r){for(;i<=r;++i){var o=n[i];null!=o&&F_(t,K_(o),e)}}function X_(t,e,n,i){for(;n<=i;++n){var r=e[n];if(null!=r)if($_(r.tag))P_(j_(r.elm),r.elm);else P_(t,r.elm)}}function q_(t,e){var n,i=e.elm,r=t&&t.attrs||{},o=e.attrs||{};if(r!==o){for(n in o){var a=o[n];r[n]!==a&&(!0===a?i.setAttribute(n,""):!1===a?i.removeAttribute(n):n.charCodeAt(0)!==H_?i.setAttribute(n,a):"xmlns:xlink"===n||"xmlns"===n?i.setAttributeNS(i_,n,a):n.charCodeAt(3)===Q_?i.setAttributeNS(r_,n,a):n.charCodeAt(5)===Q_?i.setAttributeNS(n_,n,a):i.setAttribute(n,a))}for(n in r)n in o||i.removeAttribute(n)}}function Z_(t,e){var n=e.elm=t.elm,i=t.children,r=e.children;t!==e&&(q_(t,e),z_(e.text)?$_(i)&&$_(r)?i!==r&&function(t,e,n){for(var i,r,o,a=0,s=0,l=e.length-1,c=e[0],u=e[l],h=n.length-1,d=n[0],f=n[h];a<=l&&s<=h;)null==c?c=e[++a]:null==u?u=e[--l]:null==d?d=n[++s]:null==f?f=n[--h]:W_(c,d)?(Z_(c,d),c=e[++a],d=n[++s]):W_(u,f)?(Z_(u,f),u=e[--l],f=n[--h]):W_(c,f)?(Z_(c,f),F_(t,c.elm,U_(u.elm)),c=e[++a],f=n[--h]):W_(u,d)?(Z_(u,d),F_(t,u.elm,c.elm),u=e[--l],d=n[++s]):(z_(i)&&(i=G_(e,a,l)),z_(r=i[d.key])?F_(t,K_(d),c.elm):(o=e[r]).tag!==d.tag?F_(t,K_(d),c.elm):(Z_(o,d),e[r]=void 0,F_(t,o.elm,c.elm)),d=n[++s]);(a<=l||s<=h)&&(a>l?Y_(t,null==n[h+1]?null:n[h+1].elm,n,s,h):X_(t,e,a,l))}(n,i,r):$_(r)?($_(t.text)&&R_(n,""),Y_(n,null,r,0,r.length-1)):$_(i)?X_(n,i,0,i.length-1):$_(t.text)&&R_(n,""):t.text!==e.text&&($_(i)&&X_(n,i,0,i.length-1),R_(n,e.text)))}var J_=0;function tw(t){return function(){0}}var ew=function(){function t(t,e,n){if(this.type="svg",this.refreshHover=tw("refreshHover"),this.configLayer=tw("configLayer"),this.storage=e,this._opts=n=Object(g.extend)({},n),this.root=t,this._id="zr"+J_++,this._oldVNode=c_(n.width,n.height),t&&!n.ssr){var i=this._viewport=document.createElement("div");i.style.cssText="position:relative;overflow:hidden";var r=this._svgDom=this._oldVNode.elm=o_("svg");q_(null,this._oldVNode),i.appendChild(r),t.appendChild(i)}this.resize(n.width,n.height)}return t.prototype.getType=function(){return this.type},t.prototype.getViewportRoot=function(){return this._viewport},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.getSvgDom=function(){return this._svgDom},t.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",function(t,e){if(W_(t,e))Z_(t,e);else{var n=t.elm,i=j_(n);K_(e),null!==i&&(F_(i,e.elm,U_(n)),X_(i,[t],0,0))}}(this._oldVNode,t),this._oldVNode=t}},t.prototype.renderOneToVNode=function(t){return E_(t,l_(this._id))},t.prototype.renderToVNode=function(t){t=t||{};var e=this.storage.getDisplayList(!0),n=this._width,i=this._height,r=l_(this._id);r.animation=t.animation,r.willUpdate=t.willUpdate,r.compress=t.compress;var o=[],a=this._bgVNode=function(t,e,n,i){var r;if(n&&"none"!==n)if(r=a_("rect","bg",{width:t,height:e,x:"0",y:"0",id:"0"}),Object(Fe.k)(n))I_({fill:n},r.attrs,"fill",i);else if(Object(Fe.n)(n))M_({style:{fill:n},dirty:g.noop,getBoundingRect:function(){return{width:t,height:e}}},r.attrs,"fill",i);else{var o=Object(Fe.p)(n),a=o.color,s=o.opacity;r.attrs.fill=a,s<1&&(r.attrs["fill-opacity"]=s)}return r}(n,i,this._backgroundColor,r);a&&o.push(a);var s=t.compress?null:this._mainVNode=a_("g","main",{},[]);this._paintList(e,r,s?s.children:o),s&&o.push(s);var l=Object(g.map)(Object(g.keys)(r.defs),function(t){return r.defs[t]});if(l.length&&o.push(a_("defs","defs",{},l)),t.animation){var c=function(t,e,n){var i=(n=n||{}).newline?"\n":"",r=" {"+i,o=i+"}",a=Object(g.map)(Object(g.keys)(t),function(e){return e+r+Object(g.map)(Object(g.keys)(t[e]),function(n){return n+":"+t[e][n]+";"}).join(i)+o}).join(i),s=Object(g.map)(Object(g.keys)(e),function(t){return"@keyframes "+t+r+Object(g.map)(Object(g.keys)(e[t]),function(n){return n+r+Object(g.map)(Object(g.keys)(e[t][n]),function(i){var r=e[t][n][i];return"d"===i&&(r='path("'+r+'")'),i+":"+r+";"}).join(i)+o}).join(i)+o}).join(i);return a||s?["<![CDATA[",a,s,"]]>"].join(i):""}(r.cssNodes,r.cssAnims,{newline:!0});if(c){var u=a_("style","stl",{},[],c);o.push(u)}}return c_(n,i,o,t.useViewBox)},t.prototype.renderToString=function(t){return t=t||{},s_(this.renderToVNode({animation:Object(g.retrieve2)(t.cssAnimation,!0),willUpdate:!1,compress:!0,useViewBox:Object(g.retrieve2)(t.useViewBox,!0)}),{newline:!0})},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t},t.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},t.prototype._paintList=function(t,e,n){for(var i,r,o=t.length,a=[],s=0,l=0,c=0;c<o;c++){var u=t[c];if(!u.invisible){var h=u.__clipPaths,d=h&&h.length||0,f=r&&r.length||0,p=void 0;for(p=Math.max(d-1,f-1);p>=0&&(!h||!r||h[p]!==r[p]);p--);for(var A=f-1;A>p;A--)i=a[--s-1];for(var g=p+1;g<d;g++){var v={};D_(h[g],v,e);var m=a_("g","clip-g-"+l++,v,[]);(i?i.children:n).push(m),a[s++]=m,i=m}r=h;var y=E_(u,e);y&&(i?i.children:n).push(y)}}},t.prototype.resize=function(t,e){var n=this._opts,i=this.root,r=this._viewport;if(null!=t&&(n.width=t),null!=e&&(n.height=e),i&&r&&(r.style.display="none",t=FA(i,0,n),e=FA(i,1,n),r.style.display=""),this._width!==t||this._height!==e){if(this._width=t,this._height=e,r){var o=r.style;o.width=t+"px",o.height=e+"px"}if(Object(Fe.n)(this._backgroundColor))this.refresh();else{var a=this._svgDom;a&&(a.setAttribute("width",t),a.setAttribute("height",e));var s=this._bgVNode&&this._bgVNode.elm;s&&(s.setAttribute("width",t),s.setAttribute("height",e))}}},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t.prototype.dispose=function(){this.root&&(this.root.innerHTML=""),this._svgDom=this._viewport=this.storage=this._oldVNode=this._bgVNode=this._mainVNode=null},t.prototype.clear=function(){this._svgDom&&(this._svgDom.innerHTML=null),this._oldVNode=null},t.prototype.toDataURL=function(t){var e=this.renderToString(),n="data:image/svg+xml;";return t?(e=Object(Fe.c)(e))&&n+"base64,"+e:n+"charset=UTF-8,"+encodeURIComponent(e)},t}();function nw(t,e,n){var i=Fn.d.createCanvas(),r=e.getWidth(),o=e.getHeight(),a=i.style;return a&&(a.position="absolute",a.left="0",a.top="0",a.width=r+"px",a.height=o+"px",i.setAttribute("data-zr-dom-id",t)),i.width=r*n,i.height=o*n,i}var iw=function(t){function e(e,n,i){var r,o=t.call(this)||this;o.motionBlur=!1,o.lastFrameAlpha=.7,o.dpr=1,o.virtual=!1,o.config={},o.incremental=!1,o.zlevel=0,o.maxRepaintRectCount=5,o.__dirty=!0,o.__firstTimePaint=!0,o.__used=!1,o.__drawIndex=0,o.__startIndex=0,o.__endIndex=0,o.__prevStartIndex=null,o.__prevEndIndex=null,i=i||wn,"string"==typeof e?r=nw(e,n,i):g.isObject(e)&&(e=(r=e).id),o.id=e,o.dom=r;var a=r.style;return a&&(g.disableUserSelect(r),r.onselectstart=function(){return!1},a.padding="0",a.margin="0",a.borderWidth="0"),o.painter=n,o.dpr=i,o}return p(e,t),e.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},e.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},e.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},e.prototype.setUnpainted=function(){this.__firstTimePaint=!0},e.prototype.createBackBuffer=function(){var t=this.dpr;this.domBack=nw("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!==t&&this.ctxBack.scale(t,t)},e.prototype.createRepaintRects=function(t,e,n,i){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var r,o=[],a=this.maxRepaintRectCount,s=!1,l=new Mt(0,0,0,0);function c(t){if(t.isFinite()&&!t.isZero())if(0===o.length){(e=new Mt(0,0,0,0)).copy(t),o.push(e)}else{for(var e,n=!1,i=1/0,r=0,c=0;c<o.length;++c){var u=o[c];if(u.intersect(t)){var h=new Mt(0,0,0,0);h.copy(u),h.union(t),o[c]=h,n=!0;break}if(s){l.copy(t),l.union(u);var d=t.width*t.height,f=u.width*u.height,p=l.width*l.height-d-f;p<i&&(i=p,r=c)}}if(s&&(o[r].union(t),n=!0),!n)(e=new Mt(0,0,0,0)).copy(t),o.push(e);s||(s=o.length>=a)}}for(var u=this.__startIndex;u<this.__endIndex;++u){if(f=t[u]){var h=f.shouldBePainted(n,i,!0,!0);(p=f.__isRendered&&(f.__dirty&Zt||!h)?f.getPrevPaintRect():null)&&c(p);var d=h&&(f.__dirty&Zt||!f.__isRendered)?f.getPaintRect():null;d&&c(d)}}for(u=this.__prevStartIndex;u<this.__prevEndIndex;++u){var f,p;h=(f=e[u]).shouldBePainted(n,i,!0,!0);if(f&&(!h||!f.__zr)&&f.__isRendered)(p=f.getPrevPaintRect())&&c(p)}do{r=!1;for(u=0;u<o.length;)if(o[u].isZero())o.splice(u,1);else{for(var A=u+1;A<o.length;)o[u].intersect(o[A])?(r=!0,o[u].union(o[A]),o.splice(A,1)):A++;u++}}while(r);return this._paintRects=o,o},e.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},e.prototype.resize=function(t,e){var n=this.dpr,i=this.dom,r=i.style,o=this.domBack;r&&(r.width=t+"px",r.height=e+"px"),i.width=t*n,i.height=e*n,o&&(o.width=t*n,o.height=e*n,1!==n&&this.ctxBack.scale(n,n))},e.prototype.clear=function(t,e,n){var i=this.dom,r=this.ctx,o=i.width,a=i.height;e=e||this.clearColor;var s=this.motionBlur&&!t,l=this.lastFrameAlpha,c=this.dpr,u=this;s&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(i,0,0,o/c,a/c));var h=this.domBack;function d(t,n,i,o){if(r.clearRect(t,n,i,o),e&&"transparent"!==e){var a=void 0;if(g.isGradientObject(e))a=(e.global||e.__width===i&&e.__height===o)&&e.__canvasGradient||DA(r,e,{x:0,y:0,width:i,height:o}),e.__canvasGradient=a,e.__width=i,e.__height=o;else g.isImagePatternObject(e)&&(e.scaleX=e.scaleX||c,e.scaleY=e.scaleY||c,a=VA(r,e,{dirty:function(){u.setUnpainted(),u.__painter.refresh()}}));r.save(),r.fillStyle=a||e,r.fillRect(t,n,i,o),r.restore()}s&&(r.save(),r.globalAlpha=l,r.drawImage(h,t,n,i,o),r.restore())}!n||s?d(0,0,o,a):n.length&&g.each(n,function(t){d(t.x*c,t.y*c,t.width*c,t.height*c)})},e}(z),rw=314159;var ow=function(){function t(t,e,n,i){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var r=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=n=g.extend({},n||{}),this.dpr=n.devicePixelRatio||wn,this._singleCanvas=r,this.root=t,t.style&&(g.disableUserSelect(t),t.innerHTML=""),this.storage=e;var o=this._zlevelList;this._prevDisplayList=[];var a=this._layers;if(r){var s=t,l=s.width,c=s.height;null!=n.width&&(l=n.width),null!=n.height&&(c=n.height),this.dpr=n.devicePixelRatio||1,s.width=l*this.dpr,s.height=c*this.dpr,this._width=l,this._height=c;var u=new iw(s,this,this.dpr);u.__builtin__=!0,u.initContext(),a[rw]=u,u.zlevel=rw,o.push(rw),this._domRoot=t}else{this._width=FA(t,0,n),this._height=FA(t,1,n);var h=this._domRoot=function(t,e){var n=document.createElement("div");return n.style.cssText=["position:relative","width:"+t+"px","height:"+e+"px","padding:0","margin:0","border-width:0"].join(";")+";",n}(this._width,this._height);t.appendChild(h)}}return t.prototype.getType=function(){return"canvas"},t.prototype.isSingleCanvas=function(){return this._singleCanvas},t.prototype.getViewportRoot=function(){return this._domRoot},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.refresh=function(t){var e=this.storage.getDisplayList(!0),n=this._prevDisplayList,i=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,n,t,this._redrawId);for(var r=0;r<i.length;r++){var o=i[r],a=this._layers[o];if(!a.__builtin__&&a.refresh){var s=0===r?this._backgroundColor:null;a.refresh(s)}}return this._opts.useDirtyRect&&(this._prevDisplayList=e.slice()),this},t.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},t.prototype._paintHoverList=function(t){var e=t.length,n=this._hoverlayer;if(n&&n.clear(),e){for(var i,r={inHover:!0,viewWidth:this._width,viewHeight:this._height},o=0;o<e;o++){var a=t[o];a.__inHover&&(n||(n=this._hoverlayer=this.getLayer(1e5)),i||(i=n.ctx).save(),ng(i,a,r,o===e-1))}i&&i.restore()}},t.prototype.getHoverLayer=function(){return this.getLayer(1e5)},t.prototype.paintOne=function(t,e){eg(t,e)},t.prototype._paintList=function(t,e,n,i){if(this._redrawId===i){n=n||!1,this._updateLayerStatus(t);var r=this._doPaintList(t,e,n),o=r.finished,a=r.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),a&&this._paintHoverList(t),o)this.eachLayer(function(t){t.afterBrush&&t.afterBrush()});else{var s=this;re(function(){s._paintList(t,e,n,i)})}}},t.prototype._compositeManually=function(){var t=this.getLayer(rw).ctx,e=this._domRoot.width,n=this._domRoot.height;t.clearRect(0,0,e,n),this.eachBuiltinLayer(function(i){i.virtual&&t.drawImage(i.dom,0,0,e,n)})},t.prototype._doPaintList=function(t,e,n){for(var i=this,r=[],o=this._opts.useDirtyRect,a=0;a<this._zlevelList.length;a++){var s=this._zlevelList[a],l=this._layers[s];l.__builtin__&&l!==this._hoverlayer&&(l.__dirty||n)&&r.push(l)}for(var c=!0,u=!1,h=function(a){var s,l=r[a],h=l.ctx,f=o&&l.createRepaintRects(t,e,d._width,d._height),p=n?l.__startIndex:l.__drawIndex,A=!n&&l.incremental&&Date.now,g=A&&Date.now(),v=l.zlevel===d._zlevelList[0]?d._backgroundColor:null;if(l.__startIndex===l.__endIndex)l.clear(!1,v,f);else if(p===l.__startIndex){var m=t[p];m.incremental&&m.notClear&&!n||l.clear(!1,v,f)}-1===p&&(console.error("For some unknown reason. drawIndex is -1"),p=l.__startIndex);var y=function(e){var n={inHover:!1,allClipped:!1,prevEl:null,viewWidth:i._width,viewHeight:i._height};for(s=p;s<l.__endIndex;s++){var r=t[s];if(r.__inHover&&(u=!0),i._doPaintEl(r,l,o,e,n,s===l.__endIndex-1),A)if(Date.now()-g>15)break}n.prevElClipPaths&&h.restore()};if(f)if(0===f.length)s=l.__endIndex;else for(var b=d.dpr,_=0;_<f.length;++_){var w=f[_];h.save(),h.beginPath(),h.rect(w.x*b,w.y*b,w.width*b,w.height*b),h.clip(),y(w),h.restore()}else h.save(),y(),h.restore();l.__drawIndex=s,l.__drawIndex<l.__endIndex&&(c=!1)},d=this,f=0;f<r.length;f++)h(f);return A.a.wxa&&g.each(this._layers,function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()}),{finished:c,needsRefreshHover:u}},t.prototype._doPaintEl=function(t,e,n,i,r,o){var a=e.ctx;if(n){var s=t.getPaintRect();(!i||s&&s.intersect(i))&&(ng(a,t,r,o),t.setPrevPaintRect(s))}else ng(a,t,r,o)},t.prototype.getLayer=function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=rw);var n=this._layers[t];return n||((n=new iw("zr_"+t,this,this.dpr)).zlevel=t,n.__builtin__=!0,this._layerConfig[t]?g.merge(n,this._layerConfig[t],!0):this._layerConfig[t-.01]&&g.merge(n,this._layerConfig[t-.01],!0),e&&(n.virtual=e),this.insertLayer(t,n),n.initContext()),n},t.prototype.insertLayer=function(t,e){var n=this._layers,i=this._zlevelList,r=i.length,o=this._domRoot,a=null,s=-1;if(!n[t]&&function(t){return!!t&&(!!t.__builtin__||"function"==typeof t.resize&&"function"==typeof t.refresh)}(e)){if(r>0&&t>i[0]){for(s=0;s<r-1&&!(i[s]<t&&i[s+1]>t);s++);a=n[i[s]]}if(i.splice(s+1,0,t),n[t]=e,!e.virtual)if(a){var l=a.dom;l.nextSibling?o.insertBefore(e.dom,l.nextSibling):o.appendChild(e.dom)}else o.firstChild?o.insertBefore(e.dom,o.firstChild):o.appendChild(e.dom);e.__painter=this}},t.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i];t.call(e,this._layers[r],r)}},t.prototype.eachBuiltinLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i],o=this._layers[r];o.__builtin__&&t.call(e,o,r)}},t.prototype.eachOtherLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i],o=this._layers[r];o.__builtin__||t.call(e,o,r)}},t.prototype.getLayers=function(){return this._layers},t.prototype._updateLayerStatus=function(t){function e(t){o&&(o.__endIndex!==t&&(o.__dirty=!0),o.__endIndex=t)}if(this.eachBuiltinLayer(function(t,e){t.__dirty=t.__used=!1}),this._singleCanvas)for(var n=1;n<t.length;n++){if((s=t[n]).zlevel!==t[n-1].zlevel||s.incremental){this._needsManuallyCompositing=!0;break}}var i,r,o=null,a=0;for(r=0;r<t.length;r++){var s,l=(s=t[r]).zlevel,c=void 0;i!==l&&(i=l,a=0),s.incremental?((c=this.getLayer(l+.001,this._needsManuallyCompositing)).incremental=!0,a=1):c=this.getLayer(l+(a>0?.01:0),this._needsManuallyCompositing),c.__builtin__||g.logError("ZLevel "+l+" has been used by unkown layer "+c.id),c!==o&&(c.__used=!0,c.__startIndex!==r&&(c.__dirty=!0),c.__startIndex=r,c.incremental?c.__drawIndex=-1:c.__drawIndex=r,e(r),o=c),s.__dirty&Zt&&!s.__inHover&&(c.__dirty=!0,c.incremental&&c.__drawIndex<0&&(c.__drawIndex=r))}e(r),this.eachBuiltinLayer(function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)})},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(t){t.clear()},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t,g.each(this._layers,function(t){t.setUnpainted()})},t.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?g.merge(n[t],e,!0):n[t]=e;for(var i=0;i<this._zlevelList.length;i++){var r=this._zlevelList[i];if(r===t||r===t+.01){var o=this._layers[r];g.merge(o,n[t],!0)}}}},t.prototype.delLayer=function(t){var e=this._layers,n=this._zlevelList,i=e[t];i&&(i.dom.parentNode.removeChild(i.dom),delete e[t],n.splice(g.indexOf(n,t),1))},t.prototype.resize=function(t,e){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var i=this._opts,r=this.root;if(null!=t&&(i.width=t),null!=e&&(i.height=e),t=FA(r,0,i),e=FA(r,1,i),n.style.display="",this._width!==t||e!==this._height){for(var o in n.style.width=t+"px",n.style.height=e+"px",this._layers)this._layers.hasOwnProperty(o)&&this._layers[o].resize(t,e);this.refresh(!0)}this._width=t,this._height=e}else{if(null==t||null==e)return;this._width=t,this._height=e,this.getLayer(rw).resize(t,e)}return this},t.prototype.clearLayer=function(t){var e=this._layers[t];e&&e.clear()},t.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},t.prototype.getRenderedCanvas=function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._layers[rw].dom;var e=new iw("image",this,t.pixelRatio||this.dpr);e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor);var n=e.ctx;if(t.pixelRatio<=this.dpr){this.refresh();var i=e.dom.width,r=e.dom.height;this.eachLayer(function(t){t.__builtin__?n.drawImage(t.dom,0,0,i,r):t.renderToCanvas&&(n.save(),t.renderToCanvas(n),n.restore())})}else for(var o={inHover:!1,viewWidth:this._width,viewHeight:this._height},a=this.storage.getDisplayList(!0),s=0,l=a.length;s<l;s++){var c=a[s];ng(n,c,o,s===l-1)}return e.dom},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t}();var aw=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return p(e,t),e.prototype.getInitialData=function(t){return pm(null,this,{useEncodeDefaulter:!0})},e.prototype.getLegendIcon=function(t){var e=new ei,n=OA("line",0,t.itemHeight/2,t.itemWidth,0,t.lineStyle.stroke,!1);e.add(n),n.setStyle(t.lineStyle);var i=this.getData().getVisual("symbol"),r=this.getData().getVisual("symbolRotate"),o="none"===i?"circle":i,a=.8*t.itemHeight,s=OA(o,(t.itemWidth-a)/2,(t.itemHeight-a)/2,a,a,t.itemStyle.fill);e.add(s),s.setStyle(t.itemStyle);var l="inherit"===t.iconRotate?r:t.iconRotate||0;return s.rotation=l*Math.PI/180,s.setOrigin([t.itemWidth/2,t.itemHeight/2]),o.indexOf("empty")>-1&&(s.style.stroke=s.style.fill,s.style.fill="#fff",s.style.lineWidth=2),e},e.type="series.line",e.dependencies=["grid","polar"],e.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},e}(hp);function sw(t,e){var n=t.mapDimensionsAll("defaultedLabel"),i=n.length;if(1===i){var r=ef(t,e,n[0]);return null!=r?r+"":null}if(i){for(var o=[],a=0;a<n.length;a++)o.push(ef(t,e,n[a]));return o.join(" ")}}function lw(t,e){var n=t.mapDimensionsAll("defaultedLabel");if(!Object(g.isArray)(e))return e+"";for(var i=[],r=0;r<n.length;r++){var o=t.getDimensionIndex(n[r]);o>=0&&i.push(e[o])}return i.join(" ")}function cw(t,e){this.parent.drift(t,e)}var uw=function(t){function e(e,n,i,r){var o=t.call(this)||this;return o.updateData(e,n,i,r),o}return p(e,t),e.prototype._createSymbol=function(t,e,n,i,r){this.removeAll();var o=OA(t,-1,-1,2,2,null,r);o.attr({z2:100,culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),o.drift=cw,this._symbolType=t,this.add(o)},e.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},e.prototype.getSymbolType=function(){return this._symbolType},e.prototype.getSymbolPath=function(){return this.childAt(0)},e.prototype.highlight=function(){cs(this.childAt(0))},e.prototype.downplay=function(){us(this.childAt(0))},e.prototype.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},e.prototype.setDraggable=function(t,e){var n=this.childAt(0);n.draggable=t,n.cursor=!e&&t?"move":n.cursor},e.prototype.updateData=function(t,n,i,r){this.silent=!1;var o=t.getItemVisual(n,"symbol")||"circle",a=t.hostModel,s=e.getSymbolSize(t,n),l=o!==this._symbolType,c=r&&r.disableAnimation;if(l){var u=t.getItemVisual(n,"symbolKeepAspect");this._createSymbol(o,t,n,s,u)}else{(d=this.childAt(0)).silent=!1;var h={scaleX:s[0]/2,scaleY:s[1]/2};c?d.attr(h):ec(d,h,a,n),sc(d)}if(this._updateCommon(t,n,s,i,r),l){var d=this.childAt(0);if(!c){h={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:d.style.opacity}};d.scaleX=d.scaleY=0,d.style.opacity=0,nc(d,h,a,n)}}c&&this.childAt(0).stopAnimation("leave")},e.prototype._updateCommon=function(t,e,n,i,r){var o,a,s,l,c,u,h,d,f,p=this.childAt(0),A=t.hostModel;if(i&&(o=i.emphasisItemStyle,a=i.blurItemStyle,s=i.selectItemStyle,l=i.focus,c=i.blurScope,h=i.labelStatesModels,d=i.hoverScale,f=i.cursorStyle,u=i.emphasisDisabled),!i||t.hasItemOption){var v=i&&i.itemModel?i.itemModel:t.getItemModel(e),m=v.getModel("emphasis");o=m.getModel("itemStyle").getItemStyle(),s=v.getModel(["select","itemStyle"]).getItemStyle(),a=v.getModel(["blur","itemStyle"]).getItemStyle(),l=m.get("focus"),c=m.get("blurScope"),u=m.get("disabled"),h=Hc(v),d=m.getShallow("scale"),f=v.getShallow("cursor")}var y=t.getItemVisual(e,"symbolRotate");p.attr("rotation",(y||0)*Math.PI/180||0);var b=IA(t.getItemVisual(e,"symbolOffset"),n);b&&(p.x=b[0],p.y=b[1]),f&&p.attr("cursor",f);var _=t.getItemVisual(e,"style"),w=_.fill;if(p instanceof ia){var x=p.style;p.useStyle(Object(g.extend)({image:x.image,x:x.x,y:x.y,width:x.width,height:x.height},_))}else p.__isEmptyBrush?p.useStyle(Object(g.extend)({},_)):p.useStyle(_),p.style.decal=null,p.setColor(w,r&&r.symbolInnerColor),p.style.strokeNoScale=!0;var C=t.getItemVisual(e,"liftZ"),S=this._z2;null!=C?null==S&&(this._z2=p.z2,p.z2+=C):null!=S&&(p.z2=S,this._z2=null);var B=r&&r.useNameLabel;Qc(p,h,{labelFetcher:A,labelDataIndex:e,defaultText:function(e){return B?t.getName(e):sw(t,e)},inheritColor:w,defaultOpacity:_.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var k=p.ensureState("emphasis");k.style=o,p.ensureState("select").style=s,p.ensureState("blur").style=a;var T=null==d||!0===d?Math.max(1.1,3/this._sizeY):isFinite(d)&&d>0?+d:1;k.scaleX=this._sizeX*T,k.scaleY=this._sizeY*T,this.setSymbolScale(1),ws(this,l,c,u)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,e,n){var i=this.childAt(0),r=Ta(this).dataIndex,o=n&&n.animation;if(this.silent=i.silent=!0,n&&n.fadeLabel){var a=i.getTextContent();a&&rc(a,{style:{opacity:0}},e,{dataIndex:r,removeOpt:o,cb:function(){i.removeTextContent()}})}else i.removeTextContent();rc(i,{style:{opacity:0},scaleX:0,scaleY:0},e,{dataIndex:r,cb:t,removeOpt:o})},e.getSymbolSize=function(t,e){return EA(t.getItemVisual(e,"symbolSize"))},e}(ei);function hw(t,e,n,i){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(i.isIgnore&&i.isIgnore(n))&&!(i.clipShape&&!i.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(n,"symbol")}function dw(t){return null==t||Object(g.isObject)(t)||(t={isIgnore:t}),t||{}}function fw(t){var e=t.hostModel,n=e.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:Hc(e),cursorStyle:e.get("cursor")}}var pw=function(){function t(t){this.group=new ei,this._SymbolCtor=t||uw}return t.prototype.updateData=function(t,e){this._progressiveEls=null,e=dw(e);var n=this.group,i=t.hostModel,r=this._data,o=this._SymbolCtor,a=e.disableAnimation,s=fw(t),l={disableAnimation:a},c=e.getSymbolPoint||function(e){return t.getItemLayout(e)};r||n.removeAll(),t.diff(r).add(function(i){var r=c(i);if(hw(t,r,i,e)){var a=new o(t,i,s,l);a.setPosition(r),t.setItemGraphicEl(i,a),n.add(a)}}).update(function(u,h){var d=r.getItemGraphicEl(h),f=c(u);if(hw(t,f,u,e)){var p=t.getItemVisual(u,"symbol")||"circle",A=d&&d.getSymbolType&&d.getSymbolType();if(!d||A&&A!==p)n.remove(d),(d=new o(t,u,s,l)).setPosition(f);else{d.updateData(t,u,s,l);var g={x:f[0],y:f[1]};a?d.attr(g):ec(d,g,i)}n.add(d),t.setItemGraphicEl(u,d)}else n.remove(d)}).remove(function(t){var e=r.getItemGraphicEl(t);e&&e.fadeOut(function(){n.remove(e)},i)}).execute(),this._getSymbolPoint=c,this._data=t},t.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl(function(e,n){var i=t._getSymbolPoint(n);e.setPosition(i),e.markRedraw()})},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=fw(t),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e,n){function i(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],n=dw(n);for(var r=t.start;r<t.end;r++){var o=e.getItemLayout(r);if(hw(e,o,r,n)){var a=new this._SymbolCtor(e,r,this._seriesScope);a.traverse(i),a.setPosition(o),this.group.add(a),e.setItemGraphicEl(r,a),this._progressiveEls.push(a)}}},t.prototype.eachRendered=function(t){Nc(this._progressiveEls||this.group,t)},t.prototype.remove=function(t){var e=this.group,n=this._data;n&&t?n.eachItemGraphicEl(function(t){t.fadeOut(function(){e.remove(t)},n.hostModel)}):e.removeAll()},t}();function Aw(t,e,n){var i=t.getBaseAxis(),r=t.getOtherAxis(i),o=function(t,e){var n=0,i=t.scale.getExtent();"start"===e?n=i[0]:"end"===e?n=i[1]:Object(g.isNumber)(e)&&!isNaN(e)?n=e:i[0]>0?n=i[0]:i[1]<0&&(n=i[1]);return n}(r,n),a=i.dim,s=r.dim,l=e.mapDimension(s),c=e.mapDimension(a),u="x"===s||"radius"===s?1:0,h=Object(g.map)(t.dimensions,function(t){return e.mapDimension(t)}),d=!1,f=e.getCalculationInfo("stackResultDimension");return dm(e,h[0])&&(d=!0,h[0]=f),dm(e,h[1])&&(d=!0,h[1]=f),{dataDimsForPoint:h,valueStart:o,valueAxisDim:s,baseAxisDim:a,stacked:!!d,valueDim:l,baseDim:c,baseDataOffset:u,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function gw(t,e,n,i){var r=NaN;t.stacked&&(r=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(r)&&(r=t.valueStart);var o=t.baseDataOffset,a=[];return a[o]=n.get(t.baseDim,i),a[1-o]=r,e.dataToPoint(a)}var vw=Math.min,mw=Math.max;function yw(t,e){return isNaN(t)||isNaN(e)}function bw(t,e,n,i,r,o,a,s,l){for(var c,u,h,d,f,p,A=n,g=0;g<i;g++){var v=e[2*A],m=e[2*A+1];if(A>=r||A<0)break;if(yw(v,m)){if(l){A+=o;continue}break}if(A===n)t[o>0?"moveTo":"lineTo"](v,m),h=v,d=m;else{var y=v-c,b=m-u;if(y*y+b*b<.5){A+=o;continue}if(a>0){for(var _=A+o,w=e[2*_],x=e[2*_+1];w===v&&x===m&&g<i;)g++,A+=o,w=e[2*(_+=o)],x=e[2*_+1],y=(v=e[2*A])-c,b=(m=e[2*A+1])-u;var C=g+1;if(l)for(;yw(w,x)&&C<i;)C++,w=e[2*(_+=o)],x=e[2*_+1];var S=.5,B=0,k=0,T=void 0,O=void 0;if(C>=i||yw(w,x))f=v,p=m;else{B=w-c,k=x-u;var E=v-c,I=w-v,M=m-u,D=x-m,L=void 0,F=void 0;if("x"===s){L=Math.abs(E),F=Math.abs(I);var P=B>0?1:-1;f=v-P*L*a,p=m,T=v+P*F*a,O=m}else if("y"===s){L=Math.abs(M),F=Math.abs(D);var N=k>0?1:-1;f=v,p=m-N*L*a,T=v,O=m+N*F*a}else L=Math.sqrt(E*E+M*M),f=v-B*a*(1-(S=(F=Math.sqrt(I*I+D*D))/(F+L))),p=m-k*a*(1-S),O=m+k*a*S,T=vw(T=v+B*a*S,mw(w,v)),O=vw(O,mw(x,m)),T=mw(T,vw(w,v)),p=m-(k=(O=mw(O,vw(x,m)))-m)*L/F,f=vw(f=v-(B=T-v)*L/F,mw(c,v)),p=vw(p,mw(u,m)),f=mw(f,vw(c,v)),p=mw(p,vw(u,m)),T=v+(B=v-f)*F/L,O=m+(k=m-p)*F/L}t.bezierCurveTo(h,d,f,p,v,m),h=T,d=O}else t.lineTo(v,m)}c=v,u=m,A+=o}return g}var _w=function(){return function(){this.smooth=0,this.smoothConstraint=!0}}(),ww=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polyline",n}return p(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new _w},e.prototype.buildPath=function(t,e){var n=e.points,i=0,r=n.length/2;if(e.connectNulls){for(;r>0&&yw(n[2*r-2],n[2*r-1]);r--);for(;i<r&&yw(n[2*i],n[2*i+1]);i++);}for(;i<r;)i+=bw(t,n,i,r,r,1,e.smooth,e.smoothMonotone,e.connectNulls)+1},e.prototype.getPointOn=function(t,e){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var n,i,r=this.path.data,o=Oo.CMD,a="x"===e,s=[],l=0;l<r.length;){var c=void 0,u=void 0,h=void 0,d=void 0,f=void 0,p=void 0,A=void 0;switch(r[l++]){case o.M:n=r[l++],i=r[l++];break;case o.L:if(c=r[l++],u=r[l++],(A=a?(t-n)/(c-n):(t-i)/(u-i))<=1&&A>=0){var g=a?(u-i)*A+i:(c-n)*A+n;return a?[t,g]:[g,t]}n=c,i=u;break;case o.C:c=r[l++],u=r[l++],h=r[l++],d=r[l++],f=r[l++],p=r[l++];var v=a?be(n,c,h,f,t,s):be(i,u,d,p,t,s);if(v>0)for(var m=0;m<v;m++){var y=s[m];if(y<=1&&y>=0){g=a?me(i,u,d,p,y):me(n,c,h,f,y);return a?[t,g]:[g,t]}}n=f,i=p}}},e}(Xo),xw=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return p(e,t),e}(_w),Cw=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polygon",n}return p(e,t),e.prototype.getDefaultShape=function(){return new xw},e.prototype.buildPath=function(t,e){var n=e.points,i=e.stackedOnPoints,r=0,o=n.length/2,a=e.smoothMonotone;if(e.connectNulls){for(;o>0&&yw(n[2*o-2],n[2*o-1]);o--);for(;r<o&&yw(n[2*r],n[2*r+1]);r++);}for(;r<o;){var s=bw(t,n,r,o,o,1,e.smooth,a,e.connectNulls);bw(t,i,r+s-1,s,o,-1,e.stackedOnSmooth,a,e.connectNulls),r+=s+1,t.closePath()}},e}(Xo);function Sw(t,e,n,i,r){var o=t.getArea(),a=o.x,s=o.y,l=o.width,c=o.height,u=n.get(["lineStyle","width"])||2;a-=u/2,s-=u/2,l+=u,c+=u,a=Math.floor(a),l=Math.round(l);var h=new ha({shape:{x:a,y:s,width:l,height:c}});if(e){var d=t.getBaseAxis(),f=d.isHorizontal(),p=d.inverse;f?(p&&(h.shape.x+=l),h.shape.width=0):(p||(h.shape.y+=c),h.shape.height=0);var A=Object(g.isFunction)(r)?function(t){r(t,h)}:null;nc(h,{shape:{width:l,height:c,x:a,y:s}},n,null,i,A)}return h}function Bw(t,e,n){var i=t.getArea(),r=Ai(i.r0,1),o=Ai(i.r,1),a=new ml({shape:{cx:Ai(t.cx,1),cy:Ai(t.cy,1),r0:r,r:o,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}});e&&("angle"===t.getBaseAxis().dim?a.shape.endAngle=i.startAngle:a.shape.r=r,nc(a,{shape:{endAngle:i.endAngle,r:o}},n));return a}function kw(t,e,n,i,r){return t?"polar"===t.type?Bw(t,e,n):"cartesian2d"===t.type?Sw(t,e,n,i,r):null:null}function Tw(t,e){return t.type===e}function Ow(t,e){if(t.length===e.length){for(var n=0;n<t.length;n++)if(t[n]!==e[n])return;return!0}}function Ew(t){for(var e=1/0,n=1/0,i=-1/0,r=-1/0,o=0;o<t.length;){var a=t[o++],s=t[o++];isNaN(a)||(e=Math.min(a,e),i=Math.max(a,i)),isNaN(s)||(n=Math.min(s,n),r=Math.max(s,r))}return[[e,n],[i,r]]}function Iw(t,e){var n=Ew(t),i=n[0],r=n[1],o=Ew(e),a=o[0],s=o[1];return Math.max(Math.abs(i[0]-a[0]),Math.abs(i[1]-a[1]),Math.abs(r[0]-s[0]),Math.abs(r[1]-s[1]))}function Mw(t){return g.isNumber(t)?t:t?.5:0}function Dw(t,e,n,i){var r=e.getBaseAxis(),o="x"===r.dim||"radius"===r.dim?0:1,a=[],s=0,l=[],c=[],u=[],h=[];if(i){for(s=0;s<t.length;s+=2)isNaN(t[s])||isNaN(t[s+1])||h.push(t[s],t[s+1]);t=h}for(s=0;s<t.length-2;s+=2)switch(u[0]=t[s+2],u[1]=t[s+3],c[0]=t[s],c[1]=t[s+1],a.push(c[0],c[1]),n){case"end":l[o]=u[o],l[1-o]=c[1-o],a.push(l[0],l[1]);break;case"middle":var d=(c[o]+u[o])/2,f=[];l[o]=f[o]=d,l[1-o]=c[1-o],f[1-o]=u[1-o],a.push(l[0],l[1]),a.push(f[0],f[1]);break;default:l[o]=c[o],l[1-o]=u[1-o],a.push(l[0],l[1])}return a.push(t[s++],t[s++]),a}function Lw(t,e,n){var i=t.getVisual("visualMeta");if(i&&i.length&&t.count()&&"cartesian2d"===e.type){for(var r,o,a=i.length-1;a>=0;a--){var s=t.getDimensionInfo(i[a].dimension);if("x"===(r=s&&s.coordDim)||"y"===r){o=i[a];break}}if(o){var l=e.getAxis(r),c=g.map(o.stops,function(t){return{coord:l.toGlobalCoord(l.dataToCoord(t.value)),color:t.color}}),u=c.length,h=o.outerColors.slice();u&&c[0].coord>c[u-1].coord&&(c.reverse(),h.reverse());var d=function(t,e){var n,i,r=[],o=t.length;function a(t,e,n){var i=t.coord,r=(n-i)/(e.coord-i);return{coord:n,color:Object(Le.lerp)(r,[t.color,e.color])}}for(var s=0;s<o;s++){var l=t[s],c=l.coord;if(c<0)n=l;else{if(c>e){i?r.push(a(i,l,e)):n&&r.push(a(n,l,0),a(n,l,e));break}n&&(r.push(a(n,l,0)),n=null),r.push(l),i=l}}return r}(c,"x"===r?n.getWidth():n.getHeight()),f=d.length;if(!f&&u)return c[0].coord<0?h[1]?h[1]:c[u-1].color:h[0]?h[0]:c[0].color;var p=d[0].coord-10,A=d[f-1].coord+10,v=A-p;if(v<.001)return"transparent";g.each(d,function(t){t.offset=(t.coord-p)/v}),d.push({offset:f?d[f-1].offset:.5,color:h[1]||"transparent"}),d.unshift({offset:f?d[0].offset:.5,color:h[0]||"transparent"});var m=new Vl(0,0,0,0,d,!0);return m[r]=p,m[r+"2"]=A,m}}}function Fw(t,e,n){var i=t.get("showAllSymbol"),r="auto"===i;if(!i||r){var o=n.getAxesByScale("ordinal")[0];if(o&&(!r||!function(t,e){var n=t.getExtent(),i=Math.abs(n[1]-n[0])/t.scale.count();isNaN(i)&&(i=0);for(var r=e.count(),o=Math.max(1,Math.round(r/5)),a=0;a<r;a+=o)if(1.5*uw.getSymbolSize(e,a)[t.isHorizontal()?1:0]>i)return!1;return!0}(o,e))){var a=e.mapDimension(o.dim),s={};return g.each(o.getViewLabels(),function(t){var e=o.scale.getRawOrdinalNumber(t.tickValue);s[e]=1}),function(t){return!s.hasOwnProperty(e.get(a,t))}}}}function Pw(t,e){return[t[2*e],t[2*e+1]]}function Nw(t){if(t.get(["endLabel","show"]))return!0;for(var e=0;e<Na.length;e++)if(t.get([Na[e],"endLabel","show"]))return!0;return!1}function jw(t,e,n,i){if(Tw(e,"cartesian2d")){var r=i.getModel("endLabel"),o=r.get("valueAnimation"),a=i.getData(),s={lastFrameIndex:0},l=Nw(i)?function(n,i){t._endLabelOnDuring(n,i,a,s,o,r,e)}:null,c=e.getBaseAxis().isHorizontal(),u=Sw(e,n,i,function(){var e=t._endLabel;e&&n&&null!=s.originalX&&e.attr({x:s.originalX,y:s.originalY})},l);if(!i.get("clip",!0)){var h=u.shape,d=Math.max(h.width,h.height);c?(h.y-=d,h.height+=2*d):(h.x-=d,h.width+=2*d)}return l&&l(1,u),u}return Bw(e,n,i)}var Uw=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return p(e,t),e.prototype.init=function(){var t=new ei,e=new pw;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},e.prototype.render=function(t,e,n){var i=this,r=t.coordinateSystem,o=this.group,a=t.getData(),s=t.getModel("lineStyle"),l=t.getModel("areaStyle"),c=a.getLayout("points")||[],u="polar"===r.type,h=this._coordSys,d=this._symbolDraw,f=this._polyline,p=this._polygon,A=this._lineGroup,v=!e.ssr&&t.isAnimationEnabled(),m=!l.isEmpty(),y=l.get("origin"),b=Aw(r,a,y),_=m&&function(t,e,n){if(!n.valueDim)return[];for(var i=e.count(),r=Fm(2*i),o=0;o<i;o++){var a=gw(n,t,e,o);r[2*o]=a[0],r[2*o+1]=a[1]}return r}(r,a,b),w=t.get("showSymbol"),x=t.get("connectNulls"),C=w&&!u&&Fw(t,a,r),S=this._data;S&&S.eachItemGraphicEl(function(t,e){t.__temp&&(o.remove(t),S.setItemGraphicEl(e,null))}),w||d.remove(),o.add(A);var B,k=!u&&t.get("step");r&&r.getArea&&t.get("clip",!0)&&(null!=(B=r.getArea()).width?(B.x-=.1,B.y-=.1,B.width+=.2,B.height+=.2):B.r0&&(B.r0-=.5,B.r+=.5)),this._clipShapeForSymbol=B;var T=Lw(a,r,n)||a.getVisual("style")[a.getVisual("drawType")];if(f&&h.type===r.type&&k===this._step){m&&!p?p=this._newPolygon(c,_):p&&!m&&(A.remove(p),p=this._polygon=null),u||this._initOrUpdateEndLabel(t,r,ch(T));var O=A.getClipPath();if(O)nc(O,{shape:jw(this,r,!1,t).shape},t);else A.setClipPath(jw(this,r,!0,t));w&&d.updateData(a,{isIgnore:C,clipShape:B,disableAnimation:!0,getSymbolPoint:function(t){return[c[2*t],c[2*t+1]]}}),Ow(this._stackedOnPoints,_)&&Ow(this._points,c)||(v?this._doUpdateAnimation(a,_,r,n,k,y,x):(k&&(c=Dw(c,r,k,x),_&&(_=Dw(_,r,k,x))),f.setShape({points:c}),p&&p.setShape({points:c,stackedOnPoints:_})))}else w&&d.updateData(a,{isIgnore:C,clipShape:B,disableAnimation:!0,getSymbolPoint:function(t){return[c[2*t],c[2*t+1]]}}),v&&this._initSymbolLabelAnimation(a,r,B),k&&(c=Dw(c,r,k,x),_&&(_=Dw(_,r,k,x))),f=this._newPolyline(c),m?p=this._newPolygon(c,_):p&&(A.remove(p),p=this._polygon=null),u||this._initOrUpdateEndLabel(t,r,ch(T)),A.setClipPath(jw(this,r,!0,t));var E=t.getModel("emphasis"),I=E.get("focus"),M=E.get("blurScope"),D=E.get("disabled");(f.useStyle(g.defaults(s.getLineStyle(),{fill:"none",stroke:T,lineJoin:"bevel"})),Bs(f,t,"lineStyle"),f.style.lineWidth>0&&"bolder"===t.get(["emphasis","lineStyle","width"]))&&(f.getState("emphasis").style.lineWidth=+f.style.lineWidth+1);Ta(f).seriesIndex=t.seriesIndex,ws(f,I,M,D);var L=Mw(t.get("smooth")),F=t.get("smoothMonotone");if(f.setShape({smooth:L,smoothMonotone:F,connectNulls:x}),p){var P=a.getCalculationInfo("stackedOnSeries"),N=0;p.useStyle(g.defaults(l.getAreaStyle(),{fill:T,opacity:.7,lineJoin:"bevel",decal:a.getVisual("style").decal})),P&&(N=Mw(P.get("smooth"))),p.setShape({smooth:L,stackedOnSmooth:N,smoothMonotone:F,connectNulls:x}),Bs(p,t,"areaStyle"),Ta(p).seriesIndex=t.seriesIndex,ws(p,I,M,D)}var j=function(t){i._changePolyState(t)};a.eachItemGraphicEl(function(t){t&&(t.onHoverStateChange=j)}),this._polyline.onHoverStateChange=j,this._data=a,this._coordSys=r,this._stackedOnPoints=_,this._points=c,this._step=k,this._valueOrigin=y,t.get("triggerLineEvent")&&(this.packEventData(t,f),p&&this.packEventData(t,p))},e.prototype.packEventData=function(t,e){Ta(e).eventData={componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line"}},e.prototype.highlight=function(t,e,n,i){var r=t.getData(),o=Ji(r,i);if(this._changePolyState("emphasis"),!(o instanceof Array)&&null!=o&&o>=0){var a=r.getLayout("points"),s=r.getItemGraphicEl(o);if(!s){var l=a[2*o],c=a[2*o+1];if(isNaN(l)||isNaN(c))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,c))return;var u=t.get("zlevel")||0,h=t.get("z")||0;(s=new uw(r,o)).x=l,s.y=c,s.setZ(u,h);var d=s.getSymbolPath().getTextContent();d&&(d.zlevel=u,d.z=h,d.z2=this._polyline.z2+1),s.__temp=!0,r.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else xp.prototype.highlight.call(this,t,e,n,i)},e.prototype.downplay=function(t,e,n,i){var r=t.getData(),o=Ji(r,i);if(this._changePolyState("normal"),null!=o&&o>=0){var a=r.getItemGraphicEl(o);a&&(a.__temp?(r.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else xp.prototype.downplay.call(this,t,e,n,i)},e.prototype._changePolyState=function(t){var e=this._polygon;rs(this._polyline,t),e&&rs(e,t)},e.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new ww({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(e),this._polyline=e,e},e.prototype._newPolygon=function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new Cw({shape:{points:t,stackedOnPoints:e},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},e.prototype._initSymbolLabelAnimation=function(t,e,n){var i,r,o=e.getBaseAxis(),a=o.inverse;"cartesian2d"===e.type?(i=o.isHorizontal(),r=!1):"polar"===e.type&&(i="angle"===o.dim,r=!0);var s=t.hostModel,l=s.get("animationDuration");g.isFunction(l)&&(l=l(null));var c=s.get("animationDelay")||0,u=g.isFunction(c)?c(null):c;t.eachItemGraphicEl(function(t,o){var s=t;if(s){var h=[t.x,t.y],d=void 0,f=void 0,p=void 0;if(n)if(r){var A=n,v=e.pointToCoord(h);i?(d=A.startAngle,f=A.endAngle,p=-v[1]/180*Math.PI):(d=A.r0,f=A.r,p=v[0])}else{var m=n;i?(d=m.x,f=m.x+m.width,p=t.x):(d=m.y+m.height,f=m.y,p=t.y)}var y=f===d?0:(p-d)/(f-d);a&&(y=1-y);var b=g.isFunction(c)?c(o):l*y+u,_=s.getSymbolPath(),w=_.getTextContent();s.attr({scaleX:0,scaleY:0}),s.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:b}),w&&w.animateFrom({style:{opacity:0}},{duration:300,delay:b}),_.disableLabelAnimation=!0}})},e.prototype._initOrUpdateEndLabel=function(t,e,n){var i=t.getModel("endLabel");if(Nw(t)){var r=t.getData(),o=this._polyline,a=r.getLayout("points");if(!a)return o.removeTextContent(),void(this._endLabel=null);var s=this._endLabel;s||((s=this._endLabel=new ka({z2:200})).ignoreClip=!0,o.setTextContent(this._endLabel),o.disableLabelAnimation=!0);var l=function(t){for(var e,n,i=t.length/2;i>0&&(e=t[2*i-2],n=t[2*i-1],isNaN(e)||isNaN(n));i--);return i-1}(a);l>=0&&(Qc(o,Hc(t,"endLabel"),{inheritColor:n,labelFetcher:t,labelDataIndex:l,defaultText:function(t,e,n){return null!=n?lw(r,n):sw(r,t)},enableTextSetter:!0},function(t,e){var n=e.getBaseAxis(),i=n.isHorizontal(),r=n.inverse,o=i?r?"right":"left":"center",a=i?"middle":r?"top":"bottom";return{normal:{align:t.get("align")||o,verticalAlign:t.get("verticalAlign")||a}}}(i,e)),o.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(t,e,n,i,r,o,a){var s=this._endLabel,l=this._polyline;if(s){t<1&&null==i.originalX&&(i.originalX=s.x,i.originalY=s.y);var c=n.getLayout("points"),u=n.hostModel,h=u.get("connectNulls"),d=o.get("precision"),f=o.get("distance")||0,p=a.getBaseAxis(),A=p.isHorizontal(),g=p.inverse,v=e.shape,m=g?A?v.x:v.y+v.height:A?v.x+v.width:v.y,y=(A?f:0)*(g?-1:1),b=(A?0:-f)*(g?-1:1),_=A?"x":"y",w=function(t,e,n){for(var i,r,o=t.length/2,a="x"===n?0:1,s=0,l=-1,c=0;c<o;c++)if(r=t[2*c+a],!isNaN(r)&&!isNaN(t[2*c+1-a]))if(0!==c){if(i<=e&&r>=e||i>=e&&r<=e){l=c;break}s=c,i=r}else i=r;return{range:[s,l],t:(e-i)/(r-i)}}(c,m,_),x=w.range,C=x[1]-x[0],S=void 0;if(C>=1){if(C>1&&!h){var B=Pw(c,x[0]);s.attr({x:B[0]+y,y:B[1]+b}),r&&(S=u.getRawValue(x[0]))}else{(B=l.getPointOn(m,_))&&s.attr({x:B[0]+y,y:B[1]+b});var k=u.getRawValue(x[0]),T=u.getRawValue(x[1]);r&&(S=cr(n,d,k,T,w.t))}i.lastFrameIndex=x[0]}else{var O=1===t||i.lastFrameIndex>0?x[0]:0;B=Pw(c,O);r&&(S=u.getRawValue(O)),s.attr({x:B[0]+y,y:B[1]+b})}r&&Xc(s).setLabelText(S)}},e.prototype._doUpdateAnimation=function(t,e,n,i,r,o,a){var s=this._polyline,l=this._polygon,c=t.hostModel,u=function(t,e,n,i,r,o,a,s){for(var l=function(t,e){var n=[];return e.diff(t).add(function(t){n.push({cmd:"+",idx:t})}).update(function(t,e){n.push({cmd:"=",idx:e,idx1:t})}).remove(function(t){n.push({cmd:"-",idx:t})}).execute(),n}(t,e),c=[],u=[],h=[],d=[],f=[],p=[],A=[],g=Aw(r,e,a),v=t.getLayout("points")||[],m=e.getLayout("points")||[],y=0;y<l.length;y++){var b=l[y],_=!0,w=void 0,x=void 0;switch(b.cmd){case"=":w=2*b.idx,x=2*b.idx1;var C=v[w],S=v[w+1],B=m[x],k=m[x+1];(isNaN(C)||isNaN(S))&&(C=B,S=k),c.push(C,S),u.push(B,k),h.push(n[w],n[w+1]),d.push(i[x],i[x+1]),A.push(e.getRawIndex(b.idx1));break;case"+":var T=b.idx,O=g.dataDimsForPoint,E=r.dataToPoint([e.get(O[0],T),e.get(O[1],T)]);x=2*T,c.push(E[0],E[1]),u.push(m[x],m[x+1]);var I=gw(g,r,e,T);h.push(I[0],I[1]),d.push(i[x],i[x+1]),A.push(e.getRawIndex(T));break;case"-":_=!1}_&&(f.push(b),p.push(p.length))}p.sort(function(t,e){return A[t]-A[e]});var M=c.length,D=Fm(M),L=Fm(M),F=Fm(M),P=Fm(M),N=[];for(y=0;y<p.length;y++){var j=p[y],U=2*y,R=2*j;D[U]=c[R],D[U+1]=c[R+1],L[U]=u[R],L[U+1]=u[R+1],F[U]=h[R],F[U+1]=h[R+1],P[U]=d[R],P[U+1]=d[R+1],N[y]=f[j]}return{current:D,next:L,stackedOnCurrent:F,stackedOnNext:P,status:N}}(this._data,t,this._stackedOnPoints,e,this._coordSys,0,this._valueOrigin),h=u.current,d=u.stackedOnCurrent,f=u.next,p=u.stackedOnNext;if(r&&(h=Dw(u.current,n,r,a),d=Dw(u.stackedOnCurrent,n,r,a),f=Dw(u.next,n,r,a),p=Dw(u.stackedOnNext,n,r,a)),Iw(h,f)>3e3||l&&Iw(d,p)>3e3)return s.stopAnimation(),s.setShape({points:f}),void(l&&(l.stopAnimation(),l.setShape({points:f,stackedOnPoints:p})));s.shape.__points=u.current,s.shape.points=h;var A={shape:{points:f}};u.current!==h&&(A.shape.__points=u.next),s.stopAnimation(),ec(s,A,c),l&&(l.setShape({points:h,stackedOnPoints:d}),l.stopAnimation(),ec(l,{shape:{stackedOnPoints:p}},c),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var g=[],v=u.status,m=0;m<v.length;m++){if("="===v[m].cmd){var y=t.getItemGraphicEl(v[m].idx1);y&&g.push({el:y,ptIdx:m})}}s.animators&&s.animators.length&&s.animators[0].during(function(){l&&l.dirtyShape();for(var t=s.shape.__points,e=0;e<g.length;e++){var n=g[e].el,i=2*g[e].ptIdx;n.x=t[i],n.y=t[i+1],n.markRedraw()}})},e.prototype.remove=function(t){var e=this.group,n=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),n&&n.eachItemGraphicEl(function(t,i){t.__temp&&(e.remove(t),n.setItemGraphicEl(i,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},e.type="line",e}(xp);function Rw(t,e){return{seriesType:t,plan:pp(),reset:function(t){var n=t.getData(),i=t.coordinateSystem,r=t.pipelineContext,o=e||r.large;if(i){var a=Object(g.map)(i.dimensions,function(t){return n.mapDimension(t)}).slice(0,2),s=a.length,l=n.getCalculationInfo("stackResultDimension");dm(n,a[0])&&(a[0]=l),dm(n,a[1])&&(a[1]=l);var c=n.getStore(),u=n.getDimensionIndex(a[0]),h=n.getDimensionIndex(a[1]);return s&&{progress:function(t,e){for(var n=t.end-t.start,r=o&&Fm(n*s),a=[],l=[],d=t.start,f=0;d<t.end;d++){var p=void 0;if(1===s){var A=c.get(u,d);p=i.dataToPoint(A,null,l)}else a[0]=c.get(u,d),a[1]=c.get(h,d),p=i.dataToPoint(a,null,l);o?(r[f++]=p[0],r[f++]=p[1]):e.setItemLayout(d,p.slice())}o&&e.setLayout("points",r)}}}}}}var Qw={average:function(t){for(var e=0,n=0,i=0;i<t.length;i++)isNaN(t[i])||(e+=t[i],n++);return 0===n?NaN:e/n},sum:function(t){for(var e=0,n=0;n<t.length;n++)e+=t[n]||0;return e},max:function(t){for(var e=-1/0,n=0;n<t.length;n++)t[n]>e&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n<t.length;n++)t[n]<e&&(e=t[n]);return isFinite(e)?e:NaN},nearest:function(t){return t[0]}},Hw=function(t){return Math.round(t.length/2)};function Vw(t){return{seriesType:t,reset:function(t,e,n){var i=t.getData(),r=t.get("sampling"),o=t.coordinateSystem,a=i.count();if(a>10&&"cartesian2d"===o.type&&r){var s=o.getBaseAxis(),l=o.getOtherAxis(s),c=s.getExtent(),u=n.getDevicePixelRatio(),h=Math.abs(c[1]-c[0])*(u||1),d=Math.round(a/h);if(isFinite(d)&&d>1){"lttb"===r&&t.setData(i.lttbDownSample(i.mapDimension(l.dim),1/d));var f=void 0;Object(g.isString)(r)?f=Qw[r]:Object(g.isFunction)(r)&&(f=r),f&&t.setData(i.downSample(i.mapDimension(l.dim),1/d,f,Hw))}}}}}var zw=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.getInitialData=function(t,e){return pm(null,this,{useEncodeDefaulter:!0})},e.prototype.getMarkerPosition=function(t,e,n){var i=this.coordinateSystem;if(i&&i.clampData){var r=i.clampData(t),o=i.dataToPoint(r);if(n)Object(g.each)(i.getAxes(),function(t,n){if("category"===t.type&&null!=e){var i=t.getTicksCoords(),a=r[n],s="x1"===e[n]||"y1"===e[n];if(s&&(a+=1),i.length<2)return;if(2===i.length)return void(o[n]=t.toGlobalCoord(t.getExtent()[s?1:0]));for(var l=void 0,c=void 0,u=1,h=0;h<i.length;h++){var d=i[h].coord,f=h===i.length-1?i[h-1].tickValue+u:i[h].tickValue;if(f===a){c=d;break}if(f<a)l=d;else if(null!=l&&f>a){c=(d+l)/2;break}1===h&&(u=f-i[0].tickValue)}null==c&&(l?l&&(c=i[i.length-1].coord):c=i[0].coord),o[n]=t.toGlobalCoord(c)}});else{var a=this.getData(),s=a.getLayout("offset"),l=a.getLayout("size"),c=i.getBaseAxis().isHorizontal()?0:1;o[c]+=s+l/2}return o}return[NaN,NaN]},e.type="series.__base_bar__",e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},e}(hp);hp.registerClass(zw);var $w=zw,Gw=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.getInitialData=function(){return pm(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},e.prototype.getProgressive=function(){return!!this.get("large")&&this.get("progressive")},e.prototype.getProgressiveThreshold=function(){var t=this.get("progressiveThreshold"),e=this.get("largeThreshold");return e>t&&(t=e),t},e.prototype.brushSelector=function(t,e,n){return n.rect(e.getItemLayout(t))},e.type="series.bar",e.dependencies=["grid","polar"],e.defaultOption=Au($w.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),e}($w),Ww=function(){return function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0}}(),Kw=function(t){function e(e){var n=t.call(this,e)||this;return n.type="sausage",n}return p(e,t),e.prototype.getDefaultShape=function(){return new Ww},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r0||0,0),o=Math.max(e.r,0),a=.5*(o-r),s=r+a,l=e.startAngle,c=e.endAngle,u=e.clockwise,h=2*Math.PI,d=u?c-l<h:l-c<h;d||(l=c-(u?h:-h));var f=Math.cos(l),p=Math.sin(l),A=Math.cos(c),g=Math.sin(c);d?(t.moveTo(f*r+n,p*r+i),t.arc(f*s+n,p*s+i,a,-Math.PI+l,l,!u)):t.moveTo(f*o+n,p*o+i),t.arc(n,i,o,l,c,!u),t.arc(A*s+n,g*s+i,a,c-2*Math.PI,c-Math.PI,!u),0!==r&&t.arc(n,i,r,c,l,u)},e}(Xo);function Yw(t,e,n){return e*Math.sin(t)*(n?-1:1)}function Xw(t,e,n){return e*Math.cos(t)*(n?1:-1)}function qw(t,e,n){var i=t.get("borderRadius");if(null==i)return n?{cornerRadius:0}:null;Object(g.isArray)(i)||(i=[i,i,i,i]);var r=Math.abs(e.r||0-e.r0||0);return{cornerRadius:Object(g.map)(i,function(t){return Vn(t,r)})}}var Zw=Math.max,Jw=Math.min;var tx=function(t){function e(){var n=t.call(this)||this;return n.type=e.type,n._isFirstFrame=!0,n}return p(e,t),e.prototype.render=function(t,e,n,i){this._model=t,this._removeOnRenderedListener(n),this._updateDrawMode(t);var r=t.get("coordinateSystem");("cartesian2d"===r||"polar"===r)&&(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(t,e,n):this._renderNormal(t,e,n,i))},e.prototype.incrementalPrepareRender=function(t){this._clear(),this._updateDrawMode(t),this._updateLargeClip(t)},e.prototype.incrementalRender=function(t,e){this._progressiveEls=[],this._incrementalRenderLarge(t,e)},e.prototype.eachRendered=function(t){Nc(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},e.prototype._renderNormal=function(t,e,n,i){var r,o=this.group,a=t.getData(),s=this._data,l=t.coordinateSystem,c=l.getBaseAxis();"cartesian2d"===l.type?r=c.isHorizontal():"polar"===l.type&&(r="angle"===c.dim);var u=t.isAnimationEnabled()?t:null,h=function(t,e){var n=t.get("realtimeSort",!0),i=e.getBaseAxis();0;if(n&&"category"===i.type&&"cartesian2d"===e.type)return{baseAxis:i,otherAxis:e.getOtherAxis(i)}}(t,l);h&&this._enableRealtimeSort(h,a,n);var d=t.get("clip",!0)||h,f=function(t,e){var n=t.getArea&&t.getArea();if(Tw(t,"cartesian2d")){var i=t.getBaseAxis();if("category"!==i.type||!i.onBand){var r=e.getLayout("bandWidth");i.isHorizontal()?(n.x-=r,n.width+=2*r):(n.y-=r,n.height+=2*r)}}return n}(l,a);o.removeClipPath();var p=t.get("roundCap",!0),A=t.get("showBackground",!0),g=t.getModel("backgroundStyle"),v=g.get("borderRadius")||0,m=[],y=this._backgroundEls,b=i&&i.isInitSort,_=i&&"changeAxisOrder"===i.type;function w(t){var e=lx[l.type](a,t),n=function(t,e,n){return new("polar"===t.type?ml:ha)({shape:Ax(e,n,t),silent:!0,z2:0})}(l,r,e);return n.useStyle(g.getItemStyle()),"cartesian2d"===l.type?n.setShape("r",v):n.setShape("cornerRadius",v),m[t]=n,n}a.diff(s).add(function(e){var n=a.getItemModel(e),i=lx[l.type](a,e,n);if(A&&w(e),a.hasValue(e)&&sx[l.type](i)){var s=!1;d&&(s=ex[l.type](f,i));var g=nx[l.type](t,a,e,i,r,u,c.model,!1,p);h&&(g.forceLabelAnimation=!0),ux(g,a,e,n,i,t,r,"polar"===l.type),b?g.attr({shape:i}):h?ix(h,u,g,i,e,r,!1,!1):nc(g,{shape:i},t,e),a.setItemGraphicEl(e,g),o.add(g),g.ignore=s}}).update(function(e,n){var i=a.getItemModel(e),x=lx[l.type](a,e,i);if(A){var C=void 0;0===y.length?C=w(n):((C=y[n]).useStyle(g.getItemStyle()),"cartesian2d"===l.type?C.setShape("r",v):C.setShape("cornerRadius",v),m[e]=C);var S=lx[l.type](a,e);ec(C,{shape:Ax(r,S,l)},u,e)}var B=s.getItemGraphicEl(n);if(a.hasValue(e)&&sx[l.type](x)){var k=!1;if(d&&(k=ex[l.type](f,x))&&o.remove(B),B?sc(B):B=nx[l.type](t,a,e,x,r,u,c.model,!!B,p),h&&(B.forceLabelAnimation=!0),_){var T=B.getTextContent();if(T){var O=Xc(T);null!=O.prevValue&&(O.prevValue=O.value)}}else ux(B,a,e,i,x,t,r,"polar"===l.type);b?B.attr({shape:x}):h?ix(h,u,B,x,e,r,!0,_):ec(B,{shape:x},t,e,null),a.setItemGraphicEl(e,B),B.ignore=k,o.add(B)}else o.remove(B)}).remove(function(e){var n=s.getItemGraphicEl(e);n&&ac(n,t,e)}).execute();var x=this._backgroundGroup||(this._backgroundGroup=new ei);x.removeAll();for(var C=0;C<m.length;++C)x.add(m[C]);o.add(x),this._backgroundEls=m,this._data=a},e.prototype._renderLarge=function(t,e,n){this._clear(),fx(t,this.group),this._updateLargeClip(t)},e.prototype._incrementalRenderLarge=function(t,e){this._removeBackground(),fx(e,this.group,this._progressiveEls,!0)},e.prototype._updateLargeClip=function(t){var e=t.get("clip",!0)&&kw(t.coordinateSystem,!1,t),n=this.group;e?n.setClipPath(e):n.removeClipPath()},e.prototype._enableRealtimeSort=function(t,e,n){var i=this;if(e.count()){var r=t.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(e,t,n),this._isFirstFrame=!1;else{var o=function(t){var n=e.getItemGraphicEl(t),i=n&&n.shape;return i&&Math.abs(r.isHorizontal()?i.height:i.width)||0};this._onRendered=function(){i._updateSortWithinSameData(e,o,r,n)},n.getZr().on("rendered",this._onRendered)}}},e.prototype._dataSort=function(t,e,n){var i=[];return t.each(t.mapDimension(e.dim),function(t,e){var r=n(e);r=null==r?NaN:r,i.push({dataIndex:e,mappedValue:r,ordinalNumber:t})}),i.sort(function(t,e){return e.mappedValue-t.mappedValue}),{ordinalNumbers:Object(g.map)(i,function(t){return t.ordinalNumber})}},e.prototype._isOrderChangedWithinSameData=function(t,e,n){for(var i=n.scale,r=t.mapDimension(n.dim),o=Number.MAX_VALUE,a=0,s=i.getOrdinalMeta().categories.length;a<s;++a){var l=t.rawIndexOf(r,i.getRawOrdinalNumber(a)),c=l<0?Number.MIN_VALUE:e(t.indexOfRawIndex(l));if(c>o)return!0;o=c}return!1},e.prototype._isOrderDifferentInView=function(t,e){for(var n=e.scale,i=n.getExtent(),r=Math.max(0,i[0]),o=Math.min(i[1],n.getOrdinalMeta().categories.length-1);r<=o;++r)if(t.ordinalNumbers[r]!==n.getRawOrdinalNumber(r))return!0},e.prototype._updateSortWithinSameData=function(t,e,n,i){if(this._isOrderChangedWithinSameData(t,e,n)){var r=this._dataSort(t,n,e);this._isOrderDifferentInView(r,n)&&(this._removeOnRenderedListener(i),i.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:r}))}},e.prototype._dispatchInitSort=function(t,e,n){var i=e.baseAxis,r=this._dataSort(t,i,function(n){return t.get(t.mapDimension(e.otherAxis.dim),n)});n.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",isInitSort:!0,axisId:i.index,sortInfo:r})},e.prototype.remove=function(t,e){this._clear(this._model),this._removeOnRenderedListener(e)},e.prototype.dispose=function(t,e){this._removeOnRenderedListener(e)},e.prototype._removeOnRenderedListener=function(t){this._onRendered&&(t.getZr().off("rendered",this._onRendered),this._onRendered=null)},e.prototype._clear=function(t){var e=this.group,n=this._data;t&&t.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl(function(e){ac(e,t,Ta(e).dataIndex)})):e.removeAll(),this._data=null,this._isFirstFrame=!0},e.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},e.type="bar",e}(xp),ex={cartesian2d:function(t,e){var n=e.width<0?-1:1,i=e.height<0?-1:1;n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height);var r=t.x+t.width,o=t.y+t.height,a=Zw(e.x,t.x),s=Jw(e.x+e.width,r),l=Zw(e.y,t.y),c=Jw(e.y+e.height,o),u=s<a,h=c<l;return e.x=u&&a>r?s:a,e.y=h&&l>o?c:l,e.width=u?0:s-a,e.height=h?0:c-l,n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height),u||h},polar:function(t,e){var n=e.r0<=e.r?1:-1;if(n<0){var i=e.r;e.r=e.r0,e.r0=i}var r=Jw(e.r,t.r),o=Zw(e.r0,t.r0);e.r=r,e.r0=o;var a=r-o<0;if(n<0){i=e.r;e.r=e.r0,e.r0=i}return a}},nx={cartesian2d:function(t,e,n,i,r,o,a,s,l){var c=new ha({shape:Object(g.extend)({},i),z2:1});(c.__dataIndex=n,c.name="item",o)&&(c.shape[r?"height":"width"]=0);return c},polar:function(t,e,n,i,r,o,a,s,l){var c=!r&&l?Kw:ml,u=new c({shape:i,z2:1});u.name="item";var h,d,f=cx(r);if(u.calculateTextPosition=(h=f,d=({isRoundCap:c===Kw}||{}).isRoundCap,function(t,e,n){var i=e.position;if(!i||i instanceof Array)return zn(t,e,n);var r=h(i),o=null!=e.distance?e.distance:5,a=this.shape,s=a.cx,l=a.cy,c=a.r,u=a.r0,f=(c+u)/2,p=a.startAngle,A=a.endAngle,g=(p+A)/2,v=d?Math.abs(c-u)/2:0,m=Math.cos,y=Math.sin,b=s+c*m(p),_=l+c*y(p),w="left",x="top";switch(r){case"startArc":b=s+(u-o)*m(g),_=l+(u-o)*y(g),w="center",x="top";break;case"insideStartArc":b=s+(u+o)*m(g),_=l+(u+o)*y(g),w="center",x="bottom";break;case"startAngle":b=s+f*m(p)+Yw(p,o+v,!1),_=l+f*y(p)+Xw(p,o+v,!1),w="right",x="middle";break;case"insideStartAngle":b=s+f*m(p)+Yw(p,-o+v,!1),_=l+f*y(p)+Xw(p,-o+v,!1),w="left",x="middle";break;case"middle":b=s+f*m(g),_=l+f*y(g),w="center",x="middle";break;case"endArc":b=s+(c+o)*m(g),_=l+(c+o)*y(g),w="center",x="bottom";break;case"insideEndArc":b=s+(c-o)*m(g),_=l+(c-o)*y(g),w="center",x="top";break;case"endAngle":b=s+f*m(A)+Yw(A,o+v,!0),_=l+f*y(A)+Xw(A,o+v,!0),w="left",x="middle";break;case"insideEndAngle":b=s+f*m(A)+Yw(A,-o+v,!0),_=l+f*y(A)+Xw(A,-o+v,!0),w="right",x="middle";break;default:return zn(t,e,n)}return(t=t||{}).x=b,t.y=_,t.align=w,t.verticalAlign=x,t}),o){var p=u.shape,A=r?"r":"endAngle",g={};p[A]=r?i.r0:i.startAngle,g[A]=i[A],(s?ec:nc)(u,{shape:g},o)}return u}};function ix(t,e,n,i,r,o,a,s){var l,c;o?(c={x:i.x,width:i.width},l={y:i.y,height:i.height}):(c={y:i.y,height:i.height},l={x:i.x,width:i.width}),s||(a?ec:nc)(n,{shape:l},e,r,null);var u=e?t.baseAxis.model:null;(a?ec:nc)(n,{shape:c},u,r)}function rx(t,e){for(var n=0;n<e.length;n++)if(!isFinite(t[e[n]]))return!0;return!1}var ox=["x","y","width","height"],ax=["cx","cy","r","startAngle","endAngle"],sx={cartesian2d:function(t){return!rx(t,ox)},polar:function(t){return!rx(t,ax)}},lx={cartesian2d:function(t,e,n){var i=t.getItemLayout(e),r=n?function(t,e){var n=t.get(["itemStyle","borderColor"]);if(!n||"none"===n)return 0;var i=t.get(["itemStyle","borderWidth"])||0,r=isNaN(e.width)?Number.MAX_VALUE:Math.abs(e.width),o=isNaN(e.height)?Number.MAX_VALUE:Math.abs(e.height);return Math.min(i,r,o)}(n,i):0,o=i.width>0?1:-1,a=i.height>0?1:-1;return{x:i.x+o*r/2,y:i.y+a*r/2,width:i.width-o*r,height:i.height-a*r}},polar:function(t,e,n){var i=t.getItemLayout(e);return{cx:i.cx,cy:i.cy,r0:i.r0,r:i.r,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}}};function cx(t){return function(t){var e=t?"Arc":"Angle";return function(t){switch(t){case"start":case"insideStart":case"end":case"insideEnd":return t+e;default:return t}}}(t)}function ux(t,e,n,i,r,o,a,s){var l=e.getItemVisual(n,"style");if(s){if(!o.get("roundCap")){var c=t.shape,u=qw(i.getModel("itemStyle"),c,!0);Object(g.extend)(c,u),t.setShape(c)}}else{var h=i.get(["itemStyle","borderRadius"])||0;t.setShape("r",h)}t.useStyle(l);var d=i.getShallow("cursor");d&&t.attr("cursor",d);var f=s?a?r.r>=r.r0?"endArc":"startArc":r.endAngle>=r.startAngle?"endAngle":"startAngle":a?r.height>=0?"bottom":"top":r.width>=0?"right":"left",p=Hc(i);Qc(t,p,{labelFetcher:o,labelDataIndex:n,defaultText:sw(o.getData(),n),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:f});var A=t.getTextContent();if(s&&A){var v=i.get(["label","position"]);t.textConfig.inside="middle"===v||null,function(t,e,n,i){if(Object(g.isNumber)(i))t.setTextConfig({rotation:i});else if(Object(g.isArray)(e))t.setTextConfig({rotation:0});else{var r,o=t.shape,a=o.clockwise?o.startAngle:o.endAngle,s=o.clockwise?o.endAngle:o.startAngle,l=(a+s)/2,c=n(e);switch(c){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":r=l;break;case"startAngle":case"insideStartAngle":r=a;break;case"endAngle":case"insideEndAngle":r=s;break;default:return void t.setTextConfig({rotation:0})}var u=1.5*Math.PI-r;"middle"===c&&u>Math.PI/2&&u<1.5*Math.PI&&(u-=Math.PI),t.setTextConfig({rotation:u})}}(t,"outside"===v?f:v,cx(a),i.get(["label","rotate"]))}qc(A,p,o.getRawValue(n),function(t){return lw(e,t)});var m=i.getModel(["emphasis"]);ws(t,m.get("focus"),m.get("blurScope"),m.get("disabled")),Bs(t,i),function(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}(r)&&(t.style.fill="none",t.style.stroke="none",Object(g.each)(t.states,function(t){t.style&&(t.style.fill=t.style.stroke="none")}))}var hx=function(){return function(){}}(),dx=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeBar",n}return p(e,t),e.prototype.getDefaultShape=function(){return new hx},e.prototype.buildPath=function(t,e){for(var n=e.points,i=this.baseDimIdx,r=1-this.baseDimIdx,o=[],a=[],s=this.barWidth,l=0;l<n.length;l+=3)a[i]=s,a[r]=n[l+2],o[i]=n[l+i],o[r]=n[l+r],t.rect(o[0],o[1],a[0],a[1])},e}(Xo);function fx(t,e,n,i){var r=t.getData(),o=r.getLayout("valueAxisHorizontal")?1:0,a=r.getLayout("largeDataIndices"),s=r.getLayout("size"),l=t.getModel("backgroundStyle"),c=r.getLayout("largeBackgroundPoints");if(c){var u=new dx({shape:{points:c},incremental:!!i,silent:!0,z2:0});u.baseDimIdx=o,u.largeDataIndices=a,u.barWidth=s,u.useStyle(l.getItemStyle()),e.add(u),n&&n.push(u)}var h=new dx({shape:{points:r.getLayout("largePoints")},incremental:!!i,ignoreCoarsePointer:!0,z2:1});h.baseDimIdx=o,h.largeDataIndices=a,h.barWidth=s,e.add(h),h.useStyle(r.getVisual("style")),Ta(h).seriesIndex=t.seriesIndex,t.get("silent")||(h.on("mousedown",px),h.on("mousemove",px)),n&&n.push(h)}var px=kp(function(t){var e=function(t,e,n){for(var i=t.baseDimIdx,r=1-i,o=t.shape.points,a=t.largeDataIndices,s=[],l=[],c=t.barWidth,u=0,h=o.length/3;u<h;u++){var d=3*u;if(l[i]=c,l[r]=o[d+2],s[i]=o[d+i],s[r]=o[d+r],l[r]<0&&(s[r]+=l[r],l[r]=-l[r]),e>=s[0]&&e<=s[0]+l[0]&&n>=s[1]&&n<=s[1]+l[1])return a[u]}return-1}(this,t.offsetX,t.offsetY);Ta(this).dataIndex=e>=0?e:null},30,!1);function Ax(t,e,n){if(Tw(n,"cartesian2d")){var i=e,r=n.getArea();return{x:t?i.x:r.x,y:t?r.y:i.y,width:t?i.width:r.width,height:t?r.height:i.height}}var o=e;return{cx:(r=n.getArea()).cx,cy:r.cy,r0:t?r.r0:o.r0,r:t?r.r:o.r,startAngle:t?o.startAngle:0,endAngle:t?o.endAngle:2*Math.PI}}var gx=tx;var vx=2*Math.PI,mx=Math.PI/180;function yx(t,e){return gh(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function bx(t,e){var n=yx(t,e),i=t.get("center"),r=t.get("radius");g.isArray(r)||(r=[0,r]);var o,a,s=pi(n.width,e.getWidth()),l=pi(n.height,e.getHeight()),c=Math.min(s,l),u=pi(r[0],c/2),h=pi(r[1],c/2),d=t.coordinateSystem;if(d){var f=d.dataToPoint(i);o=f[0]||0,a=f[1]||0}else g.isArray(i)||(i=[i,i]),o=pi(i[0],s)+n.x,a=pi(i[1],l)+n.y;return{cx:o,cy:a,r0:u,r:h}}function _x(t,e,n){e.eachSeriesByType(t,function(t){var e=t.getData(),i=e.mapDimension("value"),r=yx(t,n),o=bx(t,n),a=o.cx,s=o.cy,l=o.r,c=o.r0,u=-t.get("startAngle")*mx,h=t.get("minAngle")*mx,d=0;e.each(i,function(t){!isNaN(t)&&d++});var f=e.getSum(i),p=Math.PI/(f||d)*2,A=t.get("clockwise"),g=t.get("roseType"),v=t.get("stillShowZeroSum"),m=e.getDataExtent(i);m[0]=0;var y=vx,b=0,_=u,w=A?1:-1;if(e.setLayout({viewRect:r,r:l}),e.each(i,function(t,n){var i;if(isNaN(t))e.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:A,cx:a,cy:s,r0:c,r:g?NaN:l});else{(i="area"!==g?0===f&&v?p:t*p:vx/d)<h?(i=h,y-=h):b+=t;var r=_+w*i;e.setItemLayout(n,{angle:i,startAngle:_,endAngle:r,clockwise:A,cx:a,cy:s,r0:c,r:g?fi(t,m,[c,l]):l}),_=r}}),y<vx&&d)if(y<=.001){var x=vx/d;e.each(i,function(t,n){if(!isNaN(t)){var i=e.getItemLayout(n);i.angle=x,i.startAngle=u+w*n*x,i.endAngle=u+w*(n+1)*x}})}else p=y/b,_=u,e.each(i,function(t,n){if(!isNaN(t)){var i=e.getItemLayout(n),r=i.angle===h?h:t*p;i.startAngle=_,i.endAngle=_+w*r,_+=w*r}})})}function wx(t){return{seriesType:t,reset:function(t,e){var n=e.findComponents({mainType:"legend"});if(n&&n.length){var i=t.getData();i.filterSelf(function(t){for(var e=i.getName(t),r=0;r<n.length;r++)if(!n[r].isSelected(e))return!1;return!0})}}}}var xx=Math.PI/180;function Cx(t,e,n,i,r,o,a,s,l,c){if(!(t.length<2)){for(var u=t.length,h=0;h<u;h++)if("outer"===t[h].position&&"labelLine"===t[h].labelAlignTo){var d=t[h].label.x-c;t[h].linePoints[1][0]+=d,t[h].label.x=c}Mb(t,l,l+a)&&function(t){for(var o={list:[],maxY:0},a={list:[],maxY:0},s=0;s<t.length;s++)if("none"===t[s].labelAlignTo){var l=t[s],c=l.label.y>n?a:o,u=Math.abs(l.label.y-n);if(u>=c.maxY){var h=l.label.x-e-l.len2*r,d=i+l.len,p=Math.abs(h)<d?Math.sqrt(u*u/(1-h*h/d/d)):d;c.rB=p,c.maxY=u}c.list.push(l)}f(o),f(a)}(t)}function f(t){for(var o=t.rB,a=o*o,s=0;s<t.list.length;s++){var l=t.list[s],c=Math.abs(l.label.y-n),u=i+l.len,h=u*u,d=Math.sqrt((1-Math.abs(c*c/a))*h),f=e+(d+l.len2)*r,p=f-l.label.x;Sx(l,l.targetTextWidth-p*r,!0),l.label.x=f}}}function Sx(t,e,n){if(void 0===n&&(n=!1),null==t.labelStyleWidth){var i=t.label,r=i.style,o=t.rect,a=r.backgroundColor,s=r.padding,l=s?s[1]+s[3]:0,c=r.overflow,u=o.width+(a?0:l);if(e<u||n){var h=o.height;if(c&&c.match("break")){i.setStyle("backgroundColor",null),i.setStyle("width",e-l);var d=i.getBoundingRect();i.setStyle("width",Math.ceil(d.width)),i.setStyle("backgroundColor",a)}else{var f=e-l,p=e<u?f:n?f>t.unconstrainedWidth?null:f:null;i.setStyle("width",p)}var A=i.getBoundingRect();o.width=A.width;var g=(i.style.margin||0)+2.1;o.height=A.height+g,o.y-=(o.height-h)/2}}}function Bx(t){return"center"===t.position}function kx(t){var e,n,i=t.getData(),r=[],o=!1,a=(t.get("minShowLabelAngle")||0)*xx,s=i.getLayout("viewRect"),l=i.getLayout("r"),c=s.width,u=s.x,h=s.y,d=s.height;function f(t){t.ignore=!0}i.each(function(t){var s=i.getItemGraphicEl(t),h=s.shape,d=s.getTextContent(),p=s.getTextGuideLine(),A=i.getItemModel(t),v=A.getModel("label"),m=v.get("position")||A.get(["emphasis","label","position"]),y=v.get("distanceToLabelLine"),b=v.get("alignTo"),_=pi(v.get("edgeDistance"),c),w=v.get("bleedMargin"),x=A.getModel("labelLine"),C=x.get("length");C=pi(C,c);var S=x.get("length2");if(S=pi(S,c),Math.abs(h.endAngle-h.startAngle)<a)return Object(g.each)(d.states,f),d.ignore=!0,void(p&&(Object(g.each)(p.states,f),p.ignore=!0));if(function(t){if(!t.ignore)return!0;for(var e in t.states)if(!1===t.states[e].ignore)return!0;return!1}(d)){var B,k,T,O,E=(h.startAngle+h.endAngle)/2,I=Math.cos(E),M=Math.sin(E);e=h.cx,n=h.cy;var D="inside"===m||"inner"===m;if("center"===m)B=h.cx,k=h.cy,O="center";else{var L=(D?(h.r+h.r0)/2*I:h.r*I)+e,F=(D?(h.r+h.r0)/2*M:h.r*M)+n;if(B=L+3*I,k=F+3*M,!D){var P=L+I*(C+l-h.r),N=F+M*(C+l-h.r),j=P+(I<0?-1:1)*S;B="edge"===b?I<0?u+_:u+c-_:j+(I<0?-y:y),k=N,T=[[L,F],[P,N],[j,N]]}O=D?"center":"edge"===b?I>0?"right":"left":I>0?"left":"right"}var U=Math.PI,R=0,Q=v.get("rotate");if(Object(g.isNumber)(Q))R=Q*(U/180);else if("center"===m)R=0;else if("radial"===Q||!0===Q){R=I<0?-E+U:-E}else if("tangential"===Q&&"outside"!==m&&"outer"!==m){var H=Math.atan2(I,M);H<0&&(H=2*U+H),M>0&&(H=U+H),R=H-U}if(o=!!R,d.x=B,d.y=k,d.rotation=R,d.setStyle({verticalAlign:"middle"}),D){d.setStyle({align:O});var V=d.states.select;V&&(V.x+=d.x,V.y+=d.y)}else{var z=d.getBoundingRect().clone();z.applyTransform(d.getComputedTransform());var $=(d.style.margin||0)+2.1;z.y-=$/2,z.height+=$,r.push({label:d,labelLine:p,position:m,len:C,len2:S,minTurnAngle:x.get("minTurnAngle"),maxSurfaceAngle:x.get("maxSurfaceAngle"),surfaceNormal:new xt(I,M),linePoints:T,textAlign:O,labelDistance:y,labelAlignTo:b,edgeDistance:_,bleedMargin:w,rect:z,unconstrainedWidth:z.width,labelStyleWidth:d.style.width})}s.setTextConfig({inside:D})}}),!o&&t.get("avoidLabelOverlap")&&function(t,e,n,i,r,o,a,s){for(var l=[],c=[],u=Number.MAX_VALUE,h=-Number.MAX_VALUE,d=0;d<t.length;d++){var f=t[d].label;Bx(t[d])||(f.x<e?(u=Math.min(u,f.x),l.push(t[d])):(h=Math.max(h,f.x),c.push(t[d])))}for(d=0;d<t.length;d++)if(!Bx(g=t[d])&&g.linePoints){if(null!=g.labelStyleWidth)continue;f=g.label;var p=g.linePoints,A=void 0;A="edge"===g.labelAlignTo?f.x<e?p[2][0]-g.labelDistance-a-g.edgeDistance:a+r-g.edgeDistance-p[2][0]-g.labelDistance:"labelLine"===g.labelAlignTo?f.x<e?u-a-g.bleedMargin:a+r-h-g.bleedMargin:f.x<e?f.x-a-g.bleedMargin:a+r-f.x-g.bleedMargin,g.targetTextWidth=A,Sx(g,A)}for(Cx(c,e,n,i,1,0,o,0,s,h),Cx(l,e,n,i,-1,0,o,0,s,u),d=0;d<t.length;d++){var g;if(!Bx(g=t[d])&&g.linePoints){f=g.label,p=g.linePoints;var v="edge"===g.labelAlignTo,m=f.style.padding,y=m?m[1]+m[3]:0,b=f.style.backgroundColor?0:y,_=g.rect.width+b,w=p[1][0]-p[2][0];v?f.x<e?p[2][0]=a+g.edgeDistance+_+g.labelDistance:p[2][0]=a+r-g.edgeDistance-_-g.labelDistance:(f.x<e?p[2][0]=f.x+g.labelDistance:p[2][0]=f.x-g.labelDistance,p[1][0]=p[2][0]+w),p[1][1]=p[2][1]=f.y}}}(r,e,n,l,c,d,u,h);for(var p=0;p<r.length;p++){var A=r[p],v=A.label,m=A.labelLine,y=isNaN(v.x)||isNaN(v.y);if(v){v.setStyle({align:A.textAlign}),y&&(Object(g.each)(v.states,f),v.ignore=!0);var b=v.states.select;b&&(b.x+=v.x,b.y+=v.y)}if(m){var _=A.linePoints;y||!_?(Object(g.each)(m.states,f),m.ignore=!0):(Cb(_,A.minTurnAngle),Sb(_,A.surfaceNormal,A.maxSurfaceAngle),m.setShape({points:_}),v.__hostTarget.textGuideLineConfig={anchor:new xt(_[0][0],_[0][1])})}}}var Tx=function(t){function e(e,n,i){var r=t.call(this)||this;r.z2=2;var o=new ka;return r.setTextContent(o),r.updateData(e,n,i,!0),r}return p(e,t),e.prototype.updateData=function(t,e,n,i){var r=t.hostModel,o=t.getItemModel(e),a=o.getModel("emphasis"),s=t.getItemLayout(e),l=Object(g.extend)(qw(o.getModel("itemStyle"),s,!0),s);if(isNaN(l.startAngle))this.setShape(l);else{if(i){this.setShape(l);var c=r.getShallow("animationType");r.ecModel.ssr?(nc(this,{scaleX:0,scaleY:0},r,{dataIndex:e,isFrom:!0}),this.originX=l.cx,this.originY=l.cy):"scale"===c?(this.shape.r=s.r0,nc(this,{shape:{r:s.r}},r,e)):null!=n?(this.setShape({startAngle:n,endAngle:n}),nc(this,{shape:{startAngle:s.startAngle,endAngle:s.endAngle}},r,e)):(this.shape.endAngle=s.startAngle,ec(this,{shape:{endAngle:s.endAngle}},r,e))}else sc(this),ec(this,{shape:l},r,e);this.useStyle(t.getItemVisual(e,"style")),Bs(this,o);var u=(s.startAngle+s.endAngle)/2,h=r.get("selectedOffset"),d=Math.cos(u)*h,f=Math.sin(u)*h,p=o.getShallow("cursor");p&&this.attr("cursor",p),this._updateLabel(r,t,e),this.ensureState("emphasis").shape=Object(g.extend)({r:s.r+(a.get("scale")&&a.get("scaleSize")||0)},qw(a.getModel("itemStyle"),s)),Object(g.extend)(this.ensureState("select"),{x:d,y:f,shape:qw(o.getModel(["select","itemStyle"]),s)}),Object(g.extend)(this.ensureState("blur"),{shape:qw(o.getModel(["blur","itemStyle"]),s)});var A=this.getTextGuideLine(),v=this.getTextContent();A&&Object(g.extend)(A.ensureState("select"),{x:d,y:f}),Object(g.extend)(v.ensureState("select"),{x:d,y:f}),ws(this,a.get("focus"),a.get("blurScope"),a.get("disabled"))}},e.prototype._updateLabel=function(t,e,n){var i=e.getItemModel(n),r=i.getModel("labelLine"),o=e.getItemVisual(n,"style"),a=o&&o.fill,s=o&&o.opacity;Qc(this,Hc(i),{labelFetcher:e.hostModel,labelDataIndex:n,inheritColor:a,defaultOpacity:s,defaultText:t.getFormattedLabel(n,"normal")||e.getName(n)});var l=this.getTextContent();this.setTextConfig({position:null,rotation:null}),l.attr({z2:10});var c=t.get(["label","position"]);if("outside"!==c&&"outer"!==c)this.removeTextGuideLine();else{var u=this.getTextGuideLine();u||(u=new Tl,this.setTextGuideLine(u)),Tb(this,Ob(i),{stroke:a,opacity:Object(g.retrieve3)(r.get(["lineStyle","opacity"]),s,1)})}},e}(ml),Ox=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ignoreLabelLineUpdate=!0,e}return p(e,t),e.prototype.render=function(t,e,n,i){var r,o=t.getData(),a=this._data,s=this.group;if(!a&&o.count()>0){for(var l=o.getItemLayout(0),c=1;isNaN(l&&l.startAngle)&&c<o.count();++c)l=o.getItemLayout(c);l&&(r=l.startAngle)}if(this._emptyCircleSector&&s.remove(this._emptyCircleSector),0===o.count()&&t.get("showEmptyCircle")){var u=new ml({shape:bx(t,n)});u.useStyle(t.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=u,s.add(u)}o.diff(a).add(function(t){var e=new Tx(o,t,r);o.setItemGraphicEl(t,e),s.add(e)}).update(function(t,e){var n=a.getItemGraphicEl(e);n.updateData(o,t,r),n.off("click"),s.add(n),o.setItemGraphicEl(t,n)}).remove(function(e){ac(a.getItemGraphicEl(e),t,e)}).execute(),kx(t),"expansion"!==t.get("animationTypeUpdate")&&(this._data=o)},e.prototype.dispose=function(){},e.prototype.containPoint=function(t,e){var n=e.getData().getItemLayout(0);if(n){var i=t[0]-n.cx,r=t[1]-n.cy,o=Math.sqrt(i*i+r*r);return o<=n.r&&o>=n.r0}},e.type="pie",e}(xp);function Ex(t,e,n){e=Object(g.isArray)(e)&&{coordDimensions:e}||Object(g.extend)({encodeDefine:t.getEncode()},e);var i=t.getSource(),r=am(i,e).dimensions,o=new rm(r,t);return o.initData(i,n),o}var Ix=function(){function t(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}return t.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},t.prototype.containName=function(t){return this._getRawData().indexOfName(t)>=0},t.prototype.indexOfName=function(t){return this._getDataWithEncodedVisual().indexOfName(t)},t.prototype.getItemVisual=function(t,e){return this._getDataWithEncodedVisual().getItemVisual(t,e)},t}(),Mx=tr(),Dx=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return p(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new Ix(g.bind(this.getData,this),g.bind(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.mergeOption=function(){t.prototype.mergeOption.apply(this,arguments)},e.prototype.getInitialData=function(){return Ex(this,{coordDimensions:["value"],encodeDefaulter:g.curry(Rh,this)})},e.prototype.getDataParams=function(e){var n=this.getData(),i=Mx(n),r=i.seats;if(!r){var o=[];n.each(n.mapDimension("value"),function(t){o.push(t)}),r=i.seats=_i(o,n.hostModel.get("percentPrecision"))}var a=t.prototype.getDataParams.call(this,e);return a.percent=r[e]||0,a.$vars.push("percent"),a},e.prototype._defaultLabelLine=function(t){Vi(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.type="series.pie",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},e}(hp);var Lx=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return p(e,t),e.prototype.getInitialData=function(t,e){return pm(null,this,{useEncodeDefaulter:!0})},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},e.prototype.brushSelector=function(t,e,n){return n.point(e.getItemLayout(t))},e.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},e.type="series.scatter",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},e}(hp),Fx=function(){return function(){}}(),Px=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return p(e,t),e.prototype.getDefaultShape=function(){return new Fx},e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.buildPath=function(t,e){var n,i=e.points,r=e.size,o=this.symbolProxy,a=o.shape,s=t.getContext?t.getContext():t,l=s&&r[0]<4,c=this.softClipShape;if(l)this._ctx=s;else{for(this._ctx=null,n=this._off;n<i.length;){var u=i[n++],h=i[n++];isNaN(u)||isNaN(h)||(c&&!c.contain(u,h)||(a.x=u-r[0]/2,a.y=h-r[1]/2,a.width=r[0],a.height=r[1],o.buildPath(t,a,!0)))}this.incremental&&(this._off=n,this.notClear=!0)}},e.prototype.afterBrush=function(){var t,e=this.shape,n=e.points,i=e.size,r=this._ctx,o=this.softClipShape;if(r){for(t=this._off;t<n.length;){var a=n[t++],s=n[t++];isNaN(a)||isNaN(s)||(o&&!o.contain(a,s)||r.fillRect(a-i[0]/2,s-i[1]/2,i[0],i[1]))}this.incremental&&(this._off=t,this.notClear=!0)}},e.prototype.findDataIndex=function(t,e){for(var n=this.shape,i=n.points,r=n.size,o=Math.max(r[0],4),a=Math.max(r[1],4),s=i.length/2-1;s>=0;s--){var l=2*s,c=i[l]-o/2,u=i[l+1]-a/2;if(t>=c&&e>=u&&t<=c+o&&e<=u+a)return s}return-1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();return t=n[0],e=n[1],i.contain(t,e)?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape,n=e.points,i=e.size,r=i[0],o=i[1],a=1/0,s=1/0,l=-1/0,c=-1/0,u=0;u<n.length;){var h=n[u++],d=n[u++];a=Math.min(h,a),l=Math.max(h,l),s=Math.min(d,s),c=Math.max(d,c)}t=this._rect=new Mt(a-r/2,s-o/2,l-a+r,c-s+o)}return t},e}(Xo),Nx=function(){function t(){this.group=new ei}return t.prototype.updateData=function(t,e){this._clear();var n=this._create();n.setShape({points:t.getLayout("points")}),this._setCommon(n,t,e)},t.prototype.updateLayout=function(t){var e=t.getLayout("points");this.group.eachChild(function(t){if(null!=t.startIndex){var n=2*(t.endIndex-t.startIndex),i=4*t.startIndex*2;e=new Float32Array(e.buffer,i,n)}t.setShape("points",e),t.reset()})},t.prototype.incrementalPrepareUpdate=function(t){this._clear()},t.prototype.incrementalUpdate=function(t,e,n){var i=this._newAdded[0],r=e.getLayout("points"),o=i&&i.shape.points;if(o&&o.length<2e4){var a=o.length,s=new Float32Array(a+r.length);s.set(o),s.set(r,a),i.endIndex=t.end,i.setShape({points:s})}else{this._newAdded=[];var l=this._create();l.startIndex=t.start,l.endIndex=t.end,l.incremental=!0,l.setShape({points:r}),this._setCommon(l,e,n)}},t.prototype.eachRendered=function(t){this._newAdded[0]&&t(this._newAdded[0])},t.prototype._create=function(){var t=new Px({cursor:"default"});return t.ignoreCoarsePointer=!0,this.group.add(t),this._newAdded.push(t),t},t.prototype._setCommon=function(t,e,n){var i=e.hostModel;n=n||{};var r=e.getVisual("symbolSize");t.setShape("size",r instanceof Array?r:[r,r]),t.softClipShape=n.clipShape||null,t.symbolProxy=OA(e.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var o=t.shape.size[0]<4;t.useStyle(i.getModel("itemStyle").getItemStyle(o?["color","shadowBlur","shadowColor"]:["color"]));var a=e.getVisual("style"),s=a&&a.fill;s&&t.setColor(s);var l=Ta(t);l.seriesIndex=i.seriesIndex,t.on("mousemove",function(e){l.dataIndex=null;var n=t.hoverDataIdx;n>=0&&(l.dataIndex=n+(t.startIndex||0))})},t.prototype.remove=function(){this._clear()},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),jx=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.render=function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).updateData(i,{clipShape:this._getClipShape(t)}),this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).incrementalPrepareUpdate(i),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._symbolDraw.incrementalUpdate(t,e.getData(),{clipShape:this._getClipShape(e)}),this._finished=t.end===e.getData().count()},e.prototype.updateTransform=function(t,e,n){var i=t.getData();if(this.group.dirty(),!this._finished||i.count()>1e4)return{update:!0};var r=Rw("").reset(t,e,n);r.progress&&r.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout(i)},e.prototype.eachRendered=function(t){this._symbolDraw&&this._symbolDraw.eachRendered(t)},e.prototype._getClipShape=function(t){var e=t.coordinateSystem,n=e&&e.getArea&&e.getArea();return t.get("clip",!0)?n:null},e.prototype._updateSymbolDraw=function(t,e){var n=this._symbolDraw,i=e.pipelineContext.large;return n&&i===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=i?new Nx:new pw,this._isLargeDraw=i,this.group.removeAll()),this.group.add(n.group),n},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},e.prototype.dispose=function(){},e.type="scatter",e}(xp),Ux=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return p(e,t),e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},e}(Ch),Rx=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return p(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",rr).models[0]},e.type="cartesian2dAxis",e}(Ch);g.mixin(Rx,Cy);var Qx={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},Hx=g.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},Qx),Vx=g.merge({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},Qx),zx={category:Hx,value:Vx,time:g.merge({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},Vx),log:g.defaults({logBase:10},Vx)},$x={value:1,category:1,time:1,log:1};function Gx(t,e,n,i){Object(g.each)($x,function(r,o){var a=Object(g.merge)(Object(g.merge)({},zx[o],!0),i,!0),s=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e+"Axis."+o,n}return p(n,t),n.prototype.mergeDefaultAndTheme=function(t,e){var n=mh(this),i=n?bh(t):{},r=e.getTheme();Object(g.merge)(t,r.get(o+"Axis")),Object(g.merge)(t,this.getDefaultOption()),t.type=Wx(t),n&&yh(t,i,n)},n.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=ym.createByAxisModel(this))},n.prototype.getCategories=function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},n.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},n.type=e+"Axis."+o,n.defaultOption=a,n}(n);t.registerComponentModel(s)}),t.registerSubTypeDefaulter(e+"Axis",Wx)}function Wx(t){return t.type||(t.data?"category":"value")}var Kx=["x","y"];function Yx(t){return"interval"===t.type||"time"===t.type}var Xx=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=Kx,e}return p(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(Yx(t)&&Yx(e)){var n=t.getExtent(),i=e.getExtent(),r=this.dataToPoint([n[0],i[0]]),o=this.dataToPoint([n[1],i[1]]),a=n[1]-n[0],s=i[1]-i[0];if(a&&s){var l=(o[0]-r[0])/a,c=(o[1]-r[1])/s,u=r[0]-n[0]*l,h=r[1]-i[0]*c,d=this._transform=[l,0,0,c,u,h];this._invTransform=_t([],d)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(t){var e=this.getAxis("x"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},e.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},e.prototype.containZone=function(t,e){var n=this.dataToPoint(t),i=this.dataToPoint(e),r=this.getArea(),o=new Mt(n[0],n[1],i[0]-n[0],i[1]-n[1]);return r.intersect(o)},e.prototype.dataToPoint=function(t,e,n){n=n||[];var i=t[0],r=t[1];if(this._transform&&null!=i&&isFinite(i)&&null!=r&&isFinite(r))return U(n,t,this._transform);var o=this.getAxis("x"),a=this.getAxis("y");return n[0]=o.toGlobalCoord(o.dataToCoord(i,e)),n[1]=a.toGlobalCoord(a.dataToCoord(r,e)),n},e.prototype.clampData=function(t,e){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,r=n.getExtent(),o=i.getExtent(),a=n.parse(t[0]),s=i.parse(t[1]);return(e=e||[])[0]=Math.min(Math.max(Math.min(r[0],r[1]),a),Math.max(r[0],r[1])),e[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),e},e.prototype.pointToData=function(t,e){var n=[];if(this._invTransform)return U(n,t,this._invTransform);var i=this.getAxis("x"),r=this.getAxis("y");return n[0]=i.coordToData(i.toLocalCoord(t[0]),e),n[1]=r.coordToData(r.toLocalCoord(t[1]),e),n},e.prototype.getOtherAxis=function(t){return this.getAxis("x"===t.dim?"y":"x")},e.prototype.getArea=function(){var t=this.getAxis("x").getGlobalExtent(),e=this.getAxis("y").getGlobalExtent(),n=Math.min(t[0],t[1]),i=Math.min(e[0],e[1]),r=Math.max(t[0],t[1])-n,o=Math.max(e[0],e[1])-i;return new Mt(n,i,r,o)},e}(function(){function t(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return t.prototype.getAxis=function(t){return this._axes[t]},t.prototype.getAxes=function(){return g.map(this._dimList,function(t){return this._axes[t]},this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),g.filter(this.getAxes(),function(e){return e.scale.type===t})},t.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},t}()),qx=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.index=0,a.type=r||"value",a.position=o||"bottom",a}return p(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.getGlobalExtent=function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},e.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},e.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e}(eb);function Zx(t,e,n){n=n||{};var i=t.coordinateSystem,r=e.axis,o={},a=r.getAxesOnZeroOf()[0],s=r.position,l=a?"onZero":s,c=r.dim,u=i.getRect(),h=[u.x,u.x+u.width,u.y,u.y+u.height],d={left:0,right:1,top:0,bottom:1,onZero:2},f=e.get("offset")||0,p="x"===c?[h[2]-f,h[3]+f]:[h[0]-f,h[1]+f];if(a){var A=a.toGlobalCoord(a.dataToCoord(0));p[d.onZero]=Math.max(Math.min(A,p[1]),p[0])}o.position=["y"===c?p[d[l]]:h[0],"x"===c?p[d[l]]:h[3]],o.rotation=Math.PI/2*("x"===c?0:1);o.labelDirection=o.tickDirection=o.nameDirection={top:-1,bottom:1,left:-1,right:1}[s],o.labelOffset=a?p[d[s]]-p[d.onZero]:0,e.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),g.retrieve(n.labelInside,e.get(["axisLabel","inside"]))&&(o.labelDirection=-o.labelDirection);var v=e.get(["axisLabel","rotate"]);return o.labelRotate="top"===l?-v:v,o.z2=1,o}function Jx(t){return"cartesian2d"===t.get("coordinateSystem")}function tC(t){var e={xAxisModel:null,yAxisModel:null};return g.each(e,function(n,i){var r=i.replace(/Model$/,""),o=t.getReferringComponents(r,rr).models[0];e[i]=o}),e}var eC=Math.log;function nC(t,e,n){var i=Mm.prototype,r=i.getTicks.call(n),o=i.getTicks.call(n,!0),a=r.length-1,s=i.getInterval.call(n),l=gy(t,e),c=l.extent,u=l.fixMin,h=l.fixMax;if("log"===t.type){var d=eC(t.base);c=[eC(c[0])/d,eC(c[1])/d]}t.setExtent(c[0],c[1]),t.calcNiceExtent({splitNumber:a,fixMin:u,fixMax:h});var f=i.getExtent.call(t);u&&(c[0]=f[0]),h&&(c[1]=f[1]);var p=i.getInterval.call(t),A=c[0],g=c[1];if(u&&h)p=(g-A)/a;else if(u)for(g=c[0]+p*a;g<c[1]&&isFinite(g)&&isFinite(c[1]);)p=wm(p),g=c[0]+p*a;else if(h)for(A=c[1]-p*a;A>c[0]&&isFinite(A)&&isFinite(c[0]);)p=wm(p),A=c[1]-p*a;else{t.getTicks().length-1>a&&(p=wm(p));var v=p*a;(A=Ai((g=Math.ceil(c[1]/p)*p)-v))<0&&c[0]>=0?(A=0,g=Ai(v)):g>0&&c[1]<=0&&(g=0,A=-Ai(v))}var m=(r[0].value-o[0].value)/s,y=(r[a].value-o[a].value)/s;i.setExtent.call(t,A+p*m,g+p*y),i.setInterval.call(t,p),(m||y)&&i.setNiceExtent.call(t,A+p,g-p)}function iC(t,e){return t.getCoordSysModel()===e}function rC(t,e,n,i){n.getAxesOnZeroOf=function(){return r?[r]:[]};var r,o=t[e],a=n.model,s=a.get(["axisLine","onZero"]),l=a.get(["axisLine","onZeroAxisIndex"]);if(s){if(null!=l)oC(o[l])&&(r=o[l]);else for(var c in o)if(o.hasOwnProperty(c)&&oC(o[c])&&!i[u(o[c])]){r=o[c];break}r&&(i[u(r)]=!0)}function u(t){return t.dim+"_"+t.index}}function oC(t){return t&&"category"!==t.type&&"time"!==t.type&&function(t){var e=t.scale.getExtent(),n=e[0],i=e[1];return!(n>0&&i>0||n<0&&i<0)}(t)}var aC=function(){function t(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=Kx,this._initCartesian(t,e,n),this.model=t}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(t,e){var n=this._axesMap;function i(t){var e,n=Object(g.keys)(t),i=n.length;if(i){for(var r=[],o=i-1;o>=0;o--){var a=t[+n[o]],s=a.model,l=a.scale;bm(l)&&s.get("alignTicks")&&null==s.get("interval")?r.push(a):(vy(l,s),bm(l)&&(e=a))}r.length&&(e||vy((e=r.pop()).scale,e.model),Object(g.each)(r,function(t){nC(t.scale,t.model,e.scale)}))}}this._updateScale(t,this.model),i(n.x),i(n.y);var r={};Object(g.each)(n.x,function(t){rC(n,"y",t,r)}),Object(g.each)(n.y,function(t){rC(n,"x",t,r)}),this.resize(this.model,e)},t.prototype.resize=function(t,e,n){var i=t.getBoxLayoutParams(),r=!n&&t.get("containLabel"),o=gh(i,{width:e.getWidth(),height:e.getHeight()});this._rect=o;var a=this._axesList;function s(){Object(g.each)(a,function(t){var e=t.isHorizontal(),n=e?[0,o.width]:[0,o.height],i=t.inverse?1:0;t.setExtent(n[i],n[1-i]),function(t,e){var n=t.getExtent(),i=n[0]+n[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return i-t+e}}(t,e?o.x:o.y)})}s(),r&&(Object(g.each)(a,function(t){if(!t.model.get(["axisLabel","inside"])){var e=function(t){var e=t.model,n=t.scale;if(e.get(["axisLabel","show"])&&!n.isBlank()){var i,r,o=n.getExtent();r=n instanceof Om?n.count():(i=n.getTicks()).length;var a,s,l,c,u,h,d,f,p=t.getLabelModel(),A=yy(t),g=1;r>40&&(g=Math.ceil(r/40));for(var v=0;v<r;v+=g){var m=A(i?i[v]:{value:o[0]+v},v),y=p.getTextRect(m),b=(s=y,l=p.get("rotate")||0,c=l*Math.PI/180,u=s.width,h=s.height,d=u*Math.abs(Math.cos(c))+Math.abs(h*Math.sin(c)),f=u*Math.abs(Math.sin(c))+Math.abs(h*Math.cos(c)),new Mt(s.x,s.y,d,f));a?a.union(b):a=b}return a}}(t);if(e){var n=t.isHorizontal()?"height":"width",i=t.model.get(["axisLabel","margin"]);o[n]-=e[n]+i,"top"===t.position?o.y+=e.height+i:"left"===t.position&&(o.x+=e.width+i)}}}),s()),Object(g.each)(this._coordsList,function(t){t.calcAffineTransform()})},t.prototype.getAxis=function(t,e){var n=this._axesMap[t];if(null!=n)return n[e||0]},t.prototype.getAxes=function(){return this._axesList.slice()},t.prototype.getCartesian=function(t,e){if(null!=t&&null!=e){var n="x"+t+"y"+e;return this._coordsMap[n]}Object(g.isObject)(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var i=0,r=this._coordsList;i<r.length;i++)if(r[i].getAxis("x").index===t||r[i].getAxis("y").index===e)return r[i]},t.prototype.getCartesians=function(){return this._coordsList.slice()},t.prototype.convertToPixel=function(t,e,n){var i=this._findConvertTarget(e);return i.cartesian?i.cartesian.dataToPoint(n):i.axis?i.axis.toGlobalCoord(i.axis.dataToCoord(n)):null},t.prototype.convertFromPixel=function(t,e,n){var i=this._findConvertTarget(e);return i.cartesian?i.cartesian.pointToData(n):i.axis?i.axis.coordToData(i.axis.toLocalCoord(n)):null},t.prototype._findConvertTarget=function(t){var e,n,i=t.seriesModel,r=t.xAxisModel||i&&i.getReferringComponents("xAxis",rr).models[0],o=t.yAxisModel||i&&i.getReferringComponents("yAxis",rr).models[0],a=t.gridModel,s=this._coordsList;if(i)e=i.coordinateSystem,Object(g.indexOf)(s,e)<0&&(e=null);else if(r&&o)e=this.getCartesian(r.componentIndex,o.componentIndex);else if(r)n=this.getAxis("x",r.componentIndex);else if(o)n=this.getAxis("y",o.componentIndex);else if(a){a.coordinateSystem===this&&(e=this._coordsList[0])}return{cartesian:e,axis:n}},t.prototype.containPoint=function(t){var e=this._coordsList[0];if(e)return e.containPoint(t)},t.prototype._initCartesian=function(t,e,n){var i=this,r=this,o={left:!1,right:!1,top:!1,bottom:!1},a={x:{},y:{}},s={x:0,y:0};if(e.eachComponent("xAxis",l("x"),this),e.eachComponent("yAxis",l("y"),this),!s.x||!s.y)return this._axesMap={},void(this._axesList=[]);function l(e){return function(n,i){if(iC(n,t)){var l=n.get("position");"x"===e?"top"!==l&&"bottom"!==l&&(l=o.bottom?"top":"bottom"):"left"!==l&&"right"!==l&&(l=o.left?"right":"left"),o[l]=!0;var c=new qx(e,my(n),[0,0],n.get("type"),l),u="category"===c.type;c.onBand=u&&n.get("boundaryGap"),c.inverse=n.get("inverse"),n.axis=c,c.model=n,c.grid=r,c.index=i,r._axesList.push(c),a[e][i]=c,s[e]++}}}this._axesMap=a,Object(g.each)(a.x,function(e,n){Object(g.each)(a.y,function(r,o){var a="x"+n+"y"+o,s=new Xx(a);s.master=i,s.model=t,i._coordsMap[a]=s,i._coordsList.push(s),s.addAxis(e),s.addAxis(r)})})},t.prototype._updateScale=function(t,e){function n(t,e){Object(g.each)(xy(t,e.dim),function(n){e.scale.unionExtentFromData(t,n)})}Object(g.each)(this._axesList,function(t){if(t.scale.setExtent(1/0,-1/0),"category"===t.type){var e=t.model.get("categorySortInfo");t.scale.setSortInfo(e)}}),t.eachSeries(function(t){if(Jx(t)){var i=tC(t),r=i.xAxisModel,o=i.yAxisModel;if(!iC(r,e)||!iC(o,e))return;var a=this.getCartesian(r.componentIndex,o.componentIndex),s=t.getData(),l=a.getAxis("x"),c=a.getAxis("y");n(s,l),n(s,c)}},this)},t.prototype.getTooltipAxes=function(t){var e=[],n=[];return Object(g.each)(this.getCartesians(),function(i){var r=null!=t&&"auto"!==t?i.getAxis(t):i.getBaseAxis(),o=i.getOtherAxis(r);Object(g.indexOf)(e,r)<0&&e.push(r),Object(g.indexOf)(n,o)<0&&n.push(o)}),{baseAxes:e,otherAxes:n}},t.create=function(e,n){var i=[];return e.eachComponent("grid",function(r,o){var a=new t(r,e,n);a.name="grid_"+o,a.resize(r,n,!0),r.coordinateSystem=a,i.push(a)}),e.eachSeries(function(t){if(Jx(t)){var e=tC(t),n=e.xAxisModel,i=e.yAxisModel,r=n.getCoordSysModel();0;var o=r.coordinateSystem;t.coordinateSystem=o.getCartesian(n.componentIndex,i.componentIndex)}}),i},t.dimensions=Kx,t}(),sC=Math.PI,lC=function(){function t(t,e){this.group=new ei,this.opt=e,this.axisModel=t,Object(g.defaults)(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new ei({x:e.position[0],y:e.position[1],rotation:e.rotation});n.updateTransform(),this._transformGroup=n}return t.prototype.hasBuilder=function(t){return!!cC[t]},t.prototype.add=function(t){cC[t](this.opt,this.axisModel,this.group,this._transformGroup)},t.prototype.getGroup=function(){return this.group},t.innerTextLayout=function(t,e,n){var i,r,o=Ci(e-t);return Si(o)?(r=n>0?"top":"bottom",i="center"):Si(o-sC)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=o>0&&o<sC?n>0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:i,textVerticalAlign:r}},t.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},t.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},t}(),cC={axisLine:function(t,e,n,i){var r=e.get(["axisLine","show"]);if("auto"===r&&t.handleAutoShown&&(r=t.handleAutoShown("axisLine")),r){var o=e.axis.getExtent(),a=i.transform,s=[o[0],0],l=[o[1],0],c=s[0]>l[0];a&&(U(s,s,a),U(l,l,a));var u=Object(g.extend)({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),h=new Ml({shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:u,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});_c(h.shape,h.style.lineWidth),h.anid="line",n.add(h);var d=e.get(["axisLine","symbol"]);if(null!=d){var f=e.get(["axisLine","symbolSize"]);Object(g.isString)(d)&&(d=[d,d]),(Object(g.isString)(f)||Object(g.isNumber)(f))&&(f=[f,f]);var p=IA(e.get(["axisLine","symbolOffset"])||0,f),A=f[0],v=f[1];Object(g.each)([{rotate:t.rotation+Math.PI/2,offset:p[0],r:0},{rotate:t.rotation-Math.PI/2,offset:p[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],function(e,i){if("none"!==d[i]&&null!=d[i]){var r=OA(d[i],-A/2,-v/2,A,v,u.stroke,!0),o=e.r+e.offset,a=c?l:s;r.attr({rotation:e.rotate,x:a[0]+o*Math.cos(t.rotation),y:a[1]-o*Math.sin(t.rotation),silent:!0,z2:11}),n.add(r)}})}}},axisTickLabel:function(t,e,n,i){var r=function(t,e,n,i){var r=n.axis,o=n.getModel("axisTick"),a=o.get("show");"auto"===a&&i.handleAutoShown&&(a=i.handleAutoShown("axisTick"));if(!a||r.scale.isBlank())return;for(var s=o.getModel("lineStyle"),l=i.tickDirection*o.get("length"),c=fC(r.getTicksCoords(),e.transform,l,Object(g.defaults)(s.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),u=0;u<c.length;u++)t.add(c[u]);return c}(n,i,e,t),o=function(t,e,n,i){var r=n.axis;if(!Object(g.retrieve)(i.axisLabelShow,n.get(["axisLabel","show"]))||r.scale.isBlank())return;var o=n.getModel("axisLabel"),a=o.get("margin"),s=r.getViewLabels(),l=(Object(g.retrieve)(i.labelRotate,o.get("rotate"))||0)*sC/180,c=lC.innerTextLayout(i.rotation,l,i.labelDirection),u=n.getCategories&&n.getCategories(!0),h=[],d=lC.isLabelSilent(n),f=n.get("triggerEvent");return Object(g.each)(s,function(s,l){var p="ordinal"===r.scale.type?r.scale.getRawOrdinalNumber(s.tickValue):s.tickValue,A=s.formattedLabel,v=s.rawLabel,m=o;if(u&&u[p]){var y=u[p];Object(g.isObject)(y)&&y.textStyle&&(m=new du(y.textStyle,o,n.ecModel))}var b=m.getTextColor()||n.get(["axisLine","lineStyle","color"]),_=r.dataToCoord(p),w=new ka({x:_,y:i.labelOffset+i.labelDirection*a,rotation:c.rotation,silent:d,z2:10+(s.level||0),style:Vc(m,{text:A,align:m.getShallow("align",!0)||c.textAlign,verticalAlign:m.getShallow("verticalAlign",!0)||m.getShallow("baseline",!0)||c.textVerticalAlign,fill:Object(g.isFunction)(b)?b("category"===r.type?v:"value"===r.type?p+"":p,l):b})});if(w.anid="label_"+p,f){var x=lC.makeAxisEventDataBase(n);x.targetType="axisLabel",x.value=v,x.tickIndex=l,"category"===r.type&&(x.dataIndex=p),Ta(w).eventData=x}e.add(w),w.updateTransform(),h.push(w),t.add(w),w.decomposeTransform()}),h}(n,i,e,t);((function(t,e,n){if(wy(t.axis))return;var i=t.get(["axisLabel","showMinLabel"]),r=t.get(["axisLabel","showMaxLabel"]);e=e||[],n=n||[];var o=e[0],a=e[1],s=e[e.length-1],l=e[e.length-2],c=n[0],u=n[1],h=n[n.length-1],d=n[n.length-2];!1===i?(uC(o),uC(c)):hC(o,a)&&(i?(uC(a),uC(u)):(uC(o),uC(c)));!1===r?(uC(s),uC(h)):hC(l,s)&&(r?(uC(l),uC(d)):(uC(s),uC(h)))})(e,o,r),function(t,e,n,i){var r=n.axis,o=n.getModel("minorTick");if(!o.get("show")||r.scale.isBlank())return;var a=r.getMinorTicksCoords();if(!a.length)return;for(var s=o.getModel("lineStyle"),l=i*o.get("length"),c=Object(g.defaults)(s.getLineStyle(),Object(g.defaults)(n.getModel("axisTick").getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])})),u=0;u<a.length;u++)for(var h=fC(a[u],e.transform,l,c,"minorticks_"+u),d=0;d<h.length;d++)t.add(h[d])}(n,i,e,t.tickDirection),e.get(["axisLabel","hideOverlap"]))&&Db(Eb(Object(g.map)(o,function(t){return{label:t,priority:t.z2,defaultAttr:{ignore:t.ignore}}})))},axisName:function(t,e,n,i){var r=Object(g.retrieve)(t.axisName,e.get("name"));if(r){var o,a,s=e.get("nameLocation"),l=t.nameDirection,c=e.getModel("nameTextStyle"),u=e.get("nameGap")||0,h=e.axis.getExtent(),d=h[0]>h[1]?-1:1,f=["start"===s?h[0]-d*u:"end"===s?h[1]+d*u:(h[0]+h[1])/2,dC(s)?t.labelOffset+l*u:0],p=e.get("nameRotate");null!=p&&(p=p*sC/180),dC(s)?o=lC.innerTextLayout(t.rotation,null!=p?p:t.rotation,l):(o=function(t,e,n,i){var r,o,a=Ci(n-t),s=i[0]>i[1],l="start"===e&&!s||"start"!==e&&s;Si(a-sC/2)?(o=l?"bottom":"top",r="center"):Si(a-1.5*sC)?(o=l?"top":"bottom",r="center"):(o="middle",r=a<1.5*sC&&a>sC/2?l?"left":"right":l?"right":"left");return{rotation:a,textAlign:r,textVerticalAlign:o}}(t.rotation,s,p||0,h),null!=(a=t.axisNameAvailableWidth)&&(a=Math.abs(a/Math.sin(o.rotation)),!isFinite(a)&&(a=null)));var A=c.getFont(),v=e.get("nameTruncate",!0)||{},m=v.ellipsis,y=Object(g.retrieve)(t.nameTruncateMaxWidth,v.maxWidth,a),b=new ka({x:f[0],y:f[1],rotation:o.rotation,silent:lC.isLabelSilent(e),style:Vc(c,{text:r,font:A,overflow:"truncate",width:y,ellipsis:m,fill:c.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:c.get("align")||o.textAlign,verticalAlign:c.get("verticalAlign")||o.textVerticalAlign}),z2:1});if(Fc({el:b,componentModel:e,itemName:r}),b.__fullText=r,b.anid="name",e.get("triggerEvent")){var _=lC.makeAxisEventDataBase(e);_.targetType="axisName",_.name=r,Ta(b).eventData=_}i.add(b),b.updateTransform(),n.add(b),b.decomposeTransform()}}};function uC(t){t&&(t.ignore=!0)}function hC(t,e){var n=t&&t.getBoundingRect().clone(),i=e&&e.getBoundingRect().clone();if(n&&i){var r=At([]);return yt(r,r,-t.rotation),n.applyTransform(vt([],r,t.getLocalTransform())),i.applyTransform(vt([],r,e.getLocalTransform())),n.intersect(i)}}function dC(t){return"middle"===t||"center"===t}function fC(t,e,n,i,r){for(var o=[],a=[],s=[],l=0;l<t.length;l++){var c=t[l].coord;a[0]=c,a[1]=0,s[0]=c,s[1]=n,e&&(U(a,a,e),U(s,s,e));var u=new Ml({shape:{x1:a[0],y1:a[1],x2:s[0],y2:s[1]},style:i,z2:2,autoBatch:!0,silent:!0});_c(u.shape,u.style.lineWidth),u.anid=r+"_"+t[l].tickValue,o.push(u)}return o}var pC=lC;function AC(t,e){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return function(t,e,n){var i=e.getComponent("tooltip"),r=e.getComponent("axisPointer"),o=r.get("link",!0)||[],a=[];Object(g.each)(n.getCoordinateSystems(),function(n){if(n.axisPointerEnabled){var s=yC(n.model),l=t.coordSysAxesInfo[s]={};t.coordSysMap[s]=n;var c=n.model,u=c.getModel("tooltip",i);if(Object(g.each)(n.getAxes(),Object(g.curry)(p,!1,null)),n.getTooltipAxes&&i&&u.get("show")){var h="axis"===u.get("trigger"),d="cross"===u.get(["axisPointer","type"]),f=n.getTooltipAxes(u.get(["axisPointer","axis"]));(h||d)&&Object(g.each)(f.baseAxes,Object(g.curry)(p,!d||"cross",h)),d&&Object(g.each)(f.otherAxes,Object(g.curry)(p,"cross",!1))}}function p(i,s,c){var h=c.model.getModel("axisPointer",r),d=h.get("show");if(d&&("auto"!==d||i||mC(h))){null==s&&(s=h.get("triggerTooltip"));var f=(h=i?function(t,e,n,i,r,o){var a=e.getModel("axisPointer"),s={};Object(g.each)(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(t){s[t]=Object(g.clone)(a.get(t))}),s.snap="category"!==t.type&&!!o,"cross"===a.get("type")&&(s.type="line");var l=s.label||(s.label={});if(null==l.show&&(l.show=!1),"cross"===r){var c=a.get(["label","show"]);if(l.show=null==c||c,!o){var u=s.lineStyle=a.get("crossStyle");u&&Object(g.defaults)(l,u.textStyle)}}return t.model.getModel("axisPointer",new du(s,n,i))}(c,u,r,e,i,s):h).get("snap"),p=yC(c.model),A=s||f||"category"===c.type,v=t.axesInfo[p]={key:p,axis:c,coordSys:n,axisPointerModel:h,triggerTooltip:s,involveSeries:A,snap:f,useHandle:mC(h),seriesModels:[],linkGroup:null};l[p]=v,t.seriesInvolved=t.seriesInvolved||A;var m=function(t,e){for(var n=e.model,i=e.dim,r=0;r<t.length;r++){var o=t[r]||{};if(gC(o[i+"AxisId"],n.id)||gC(o[i+"AxisIndex"],n.componentIndex)||gC(o[i+"AxisName"],n.name))return r}}(o,c);if(null!=m){var y=a[m]||(a[m]={axesInfo:{}});y.axesInfo[p]=v,y.mapper=o[m].mapper,v.linkGroup=y}}}})}(n,t,e),n.seriesInvolved&&function(t,e){e.eachSeries(function(e){var n=e.coordinateSystem,i=e.get(["tooltip","trigger"],!0),r=e.get(["tooltip","show"],!0);n&&"none"!==i&&!1!==i&&"item"!==i&&!1!==r&&!1!==e.get(["axisPointer","show"],!0)&&Object(g.each)(t.coordSysAxesInfo[yC(n.model)],function(t){var i=t.axis;n.getAxis(i.dim)===i&&(t.seriesModels.push(e),null==t.seriesDataCount&&(t.seriesDataCount=0),t.seriesDataCount+=e.getData().count())})})}(n,t),n}function gC(t,e){return"all"===t||Object(g.isArray)(t)&&Object(g.indexOf)(t,e)>=0||t===e}function vC(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[yC(t)]}function mC(t){return!!t.get(["handle","show"])}function yC(t){return t.type+"||"+t.id}var bC={},_C=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.render=function(e,n,i,r){this.axisPointerClass&&function(t){var e=vC(t);if(e){var n=e.axisPointerModel,i=e.axis.scale,r=n.option,o=n.get("status"),a=n.get("value");null!=a&&(a=i.parse(a));var s=mC(n);null==o&&(r.status=s?"show":"hide");var l=i.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==a||a>l[1])&&(a=l[1]),a<l[0]&&(a=l[0]),r.value=a,s&&(r.status=e.axis.scale.isBlank()?"hide":"show")}}(e),t.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(e,i,!0)},e.prototype.updateAxisPointer=function(t,e,n,i){this._doUpdateAxisPointerClass(t,n,!1)},e.prototype.remove=function(t,e){var n=this._axisPointer;n&&n.remove(e)},e.prototype.dispose=function(e,n){this._disposeAxisPointer(n),t.prototype.dispose.apply(this,arguments)},e.prototype._doUpdateAxisPointerClass=function(t,n,i){var r=e.getAxisPointerClass(this.axisPointerClass);if(r){var o=function(t){var e=vC(t);return e&&e.axisPointerModel}(t);o?(this._axisPointer||(this._axisPointer=new r)).render(t,o,n,i):this._disposeAxisPointer(n)}},e.prototype._disposeAxisPointer=function(t){this._axisPointer&&this._axisPointer.dispose(t),this._axisPointer=null},e.registerAxisPointerClass=function(t,e){bC[t]=e},e.getAxisPointerClass=function(t){return t&&bC[t]},e.type="axis",e}(fp),wC=tr();function xC(t,e,n,i){var r=n.axis;if(!r.scale.isBlank()){var o=n.getModel("splitArea"),a=o.getModel("areaStyle"),s=a.get("color"),l=i.coordinateSystem.getRect(),c=r.getTicksCoords({tickModel:o,clamp:!0});if(c.length){var u=s.length,h=wC(t).splitAreaColors,d=g.createHashMap(),f=0;if(h)for(var p=0;p<c.length;p++){var A=h.get(c[p].tickValue);if(null!=A){f=(A+(u-1)*p)%u;break}}var v=r.toGlobalCoord(c[0].coord),m=a.getAreaStyle();s=g.isArray(s)?s:[s];for(p=1;p<c.length;p++){var y=r.toGlobalCoord(c[p].coord),b=void 0,_=void 0,w=void 0,x=void 0;r.isHorizontal()?(b=v,_=l.y,w=y-b,x=l.height,v=b+w):(b=l.x,_=v,w=l.width,v=_+(x=y-_));var C=c[p-1].tickValue;null!=C&&d.set(C,f),e.add(new ha({anid:null!=C?"area_"+C:null,shape:{x:b,y:_,width:w,height:x},style:g.defaults({fill:s[f]},m),autoBatch:!0,silent:!0})),f=(f+1)%u}wC(t).splitAreaColors=d}}}function CC(t){wC(t).splitAreaColors=null}var SC=["axisLine","axisTickLabel","axisName"],BC=["splitArea","splitLine","minorSplitLine"],kC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="CartesianAxisPointer",n}return p(e,t),e.prototype.render=function(e,n,i,r){this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new ei,this.group.add(this._axisGroup),e.get("show")){var a=e.getCoordSysModel(),s=Zx(a,e),l=new pC(e,g.extend({handleAutoShown:function(t){for(var n=a.coordinateSystem.getCartesians(),i=0;i<n.length;i++)if(bm(n[i].getOtherAxis(e.axis).scale))return!0;return!1}},s));g.each(SC,l.add,l),this._axisGroup.add(l.getGroup()),g.each(BC,function(t){e.get([t,"show"])&&TC[t](this,this._axisGroup,e,a)},this),r&&"changeAxisOrder"===r.type&&r.isInitSort||Tc(o,this._axisGroup,e),t.prototype.render.call(this,e,n,i,r)}},e.prototype.remove=function(){CC(this)},e.type="cartesianAxis",e}(_C),TC={splitLine:function(t,e,n,i){var r=n.axis;if(!r.scale.isBlank()){var o=n.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color");s=g.isArray(s)?s:[s];for(var l=i.coordinateSystem.getRect(),c=r.isHorizontal(),u=0,h=r.getTicksCoords({tickModel:o}),d=[],f=[],p=a.getLineStyle(),A=0;A<h.length;A++){var v=r.toGlobalCoord(h[A].coord);c?(d[0]=v,d[1]=l.y,f[0]=v,f[1]=l.y+l.height):(d[0]=l.x,d[1]=v,f[0]=l.x+l.width,f[1]=v);var m=u++%s.length,y=h[A].tickValue,b=new Ml({anid:null!=y?"line_"+h[A].tickValue:null,autoBatch:!0,shape:{x1:d[0],y1:d[1],x2:f[0],y2:f[1]},style:g.defaults({stroke:s[m]},p),silent:!0});_c(b.shape,p.lineWidth),e.add(b)}}},minorSplitLine:function(t,e,n,i){var r=n.axis,o=n.getModel("minorSplitLine").getModel("lineStyle"),a=i.coordinateSystem.getRect(),s=r.isHorizontal(),l=r.getMinorTicksCoords();if(l.length)for(var c=[],u=[],h=o.getLineStyle(),d=0;d<l.length;d++)for(var f=0;f<l[d].length;f++){var p=r.toGlobalCoord(l[d][f].coord);s?(c[0]=p,c[1]=a.y,u[0]=p,u[1]=a.y+a.height):(c[0]=a.x,c[1]=p,u[0]=a.x+a.width,u[1]=p);var A=new Ml({anid:"minor_line_"+l[d][f].tickValue,autoBatch:!0,shape:{x1:c[0],y1:c[1],x2:u[0],y2:u[1]},style:h,silent:!0});_c(A.shape,h.lineWidth),e.add(A)}},splitArea:function(t,e,n,i){xC(t,e,n,i)}},OC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.type="xAxis",e}(kC),EC=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=OC.type,e}return p(e,t),e.type="yAxis",e}(kC),IC=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="grid",e}return p(e,t),e.prototype.render=function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new ha({shape:t.coordinateSystem.getRect(),style:Object(g.defaults)({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))},e.type="grid",e}(fp),MC={offset:0};function DC(t){t.registerComponentView(IC),t.registerComponentModel(Ux),t.registerCoordinateSystem("cartesian2d",aC),Gx(t,"x",Rx,MC),Gx(t,"y",Rx,MC),t.registerComponentView(OC),t.registerComponentView(EC),t.registerPreprocessor(function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})})}function LC(t){t.eachSeriesByType("radar",function(t){var e=t.getData(),n=[],i=t.coordinateSystem;if(i){var r=i.getIndicatorAxes();g.each(r,function(t,o){e.each(e.mapDimension(r[o].dim),function(t,e){n[e]=n[e]||[];var r=i.dataToPoint(t,o);n[e][o]=FC(r)?r:PC(i)})}),e.each(function(t){var r=g.find(n[t],function(t){return FC(t)})||PC(i);n[t].push(r.slice()),e.setItemLayout(t,n[t])})}})}function FC(t){return!isNaN(t[0])&&!isNaN(t[1])}function PC(t){return[t.cx,t.cy]}function NC(t){var e=t.polar;if(e){g.isArray(e)||(e=[e]);var n=[];g.each(e,function(e,i){e.indicator?(e.type&&!e.shape&&(e.shape=e.type),t.radar=t.radar||[],g.isArray(t.radar)||(t.radar=[t.radar]),t.radar.push(e)):n.push(e)}),t.polar=n}g.each(t.series,function(t){t&&"radar"===t.type&&t.polarIndex&&(t.radarIndex=t.polarIndex)})}var jC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.render=function(t,e,n){var i=t.coordinateSystem,r=this.group,o=t.getData(),s=this._data;function l(t,e){var n=t.getItemVisual(e,"symbol")||"circle";if("none"!==n){var i=EA(t.getItemVisual(e,"symbolSize")),r=OA(n,-1,-1,2,2),o=t.getItemVisual(e,"symbolRotate")||0;return r.attr({style:{strokeNoScale:!0},z2:100,scaleX:i[0]/2,scaleY:i[1]/2,rotation:o*Math.PI/180||0}),r}}function c(e,n,i,r,o,s){i.removeAll();for(var c=0;c<n.length-1;c++){var u=l(r,o);u&&(u.__dimIdx=c,e[c]?(u.setPosition(e[c]),a[s?"initProps":"updateProps"](u,{x:n[c][0],y:n[c][1]},t,o)):u.setPosition(n[c]),i.add(u))}}function u(t){return g.map(t,function(t){return[i.cx,i.cy]})}o.diff(s).add(function(e){var n=o.getItemLayout(e);if(n){var i=new Sl,r=new Tl,a={shape:{points:n}};i.shape.points=u(n),r.shape.points=u(n),nc(i,a,t,e),nc(r,a,t,e);var s=new ei,l=new ei;s.add(r),s.add(i),s.add(l),c(r.shape.points,n,l,o,e,!0),o.setItemGraphicEl(e,s)}}).update(function(e,n){var i=s.getItemGraphicEl(n),r=i.childAt(0),a=i.childAt(1),l=i.childAt(2),u={shape:{points:o.getItemLayout(e)}};u.shape.points&&(c(r.shape.points,u.shape.points,l,o,e,!1),sc(a),sc(r),ec(r,u,t),ec(a,u,t),o.setItemGraphicEl(e,i))}).remove(function(t){r.remove(s.getItemGraphicEl(t))}).execute(),o.eachItemGraphicEl(function(t,e){var n=o.getItemModel(e),i=t.childAt(0),a=t.childAt(1),s=t.childAt(2),l=o.getItemVisual(e,"style"),c=l.fill;r.add(t),i.useStyle(g.defaults(n.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:c})),Bs(i,n,"lineStyle"),Bs(a,n,"areaStyle");var u=n.getModel("areaStyle"),h=u.isEmpty()&&u.parentModel.isEmpty();a.ignore=h,g.each(["emphasis","select","blur"],function(t){var e=n.getModel([t,"areaStyle"]),i=e.isEmpty()&&e.parentModel.isEmpty();a.ensureState(t).ignore=i&&h}),a.useStyle(g.defaults(u.getAreaStyle(),{fill:c,opacity:.7,decal:l.decal}));var d=n.getModel("emphasis"),f=d.getModel("itemStyle").getItemStyle();s.eachChild(function(t){if(t instanceof ia){var i=t.style;t.useStyle(g.extend({image:i.image,x:i.x,y:i.y,width:i.width,height:i.height},l))}else t.useStyle(l),t.setColor(c),t.style.strokeNoScale=!0;t.ensureState("emphasis").style=g.clone(f);var r=o.getStore().get(o.getDimensionIndex(t.__dimIdx),e);(null==r||isNaN(r))&&(r=""),Qc(t,Hc(n),{labelFetcher:o.hostModel,labelDataIndex:e,labelDimIndex:t.__dimIdx,defaultText:r,inheritColor:c,defaultOpacity:l.opacity})}),ws(t,d.get("focus"),d.get("blurScope"),d.get("disabled"))}),this._data=o},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.type="radar",e}(xp),UC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return p(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new Ix(g.bind(this.getData,this),g.bind(this.getRawData,this))},e.prototype.getInitialData=function(t,e){return Ex(this,{generateCoord:"indicator_",generateCoordCount:1/0})},e.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=this.coordinateSystem.getIndicatorAxes(),o=this.getData().getName(t),a=""===o?this.name:o,s=Xf(this,t);return Hf("section",{header:a,sortBlocks:!0,blocks:g.map(r,function(e){var n=i.get(i.mapDimension(e.dim),t);return Hf("nameValue",{markerType:"subItem",markerColor:s,name:e.name,value:n,sortParam:n})})})},e.prototype.getTooltipPosition=function(t){if(null!=t)for(var e=this.getData(),n=this.coordinateSystem,i=e.getValues(g.map(n.dimensions,function(t){return e.mapDimension(t)}),t),r=0,o=i.length;r<o;r++)if(!isNaN(i[r])){var a=n.getIndicatorAxes();return n.coordToPoint(a[r].dataToCoord(i[r]),r)}},e.type="series.radar",e.dependencies=["radar"],e.defaultOption={z:2,colorBy:"data",coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid",join:"round"},label:{position:"top"},symbolSize:8},e}(hp),RC=zx.value;function QC(t,e){return g.defaults({show:e},t)}var HC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.optionUpdated=function(){var t=this.get("boundaryGap"),e=this.get("splitNumber"),n=this.get("scale"),i=this.get("axisLine"),r=this.get("axisTick"),o=this.get("axisLabel"),a=this.get("axisName"),s=this.get(["axisName","show"]),l=this.get(["axisName","formatter"]),c=this.get("axisNameGap"),u=this.get("triggerEvent"),h=g.map(this.get("indicator")||[],function(h){null!=h.max&&h.max>0&&!h.min?h.min=0:null!=h.min&&h.min<0&&!h.max&&(h.max=0);var d=a;null!=h.color&&(d=g.defaults({color:h.color},a));var f=g.merge(g.clone(h),{boundaryGap:t,splitNumber:e,scale:n,axisLine:i,axisTick:r,axisLabel:o,name:h.text,showName:s,nameLocation:"end",nameGap:c,nameTextStyle:d,triggerEvent:u},!1);if(g.isString(l)){var p=f.name;f.name=l.replace("{value}",null!=p?p:"")}else g.isFunction(l)&&(f.name=l(f.name,f));var A=new du(f,null,this.ecModel);return g.mixin(A,Cy.prototype),A.mainType="radar",A.componentIndex=this.componentIndex,A},this);this._indicatorModels=h},e.prototype.getIndicatorModels=function(){return this._indicatorModels},e.type="radar",e.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:g.merge({lineStyle:{color:"#bbb"}},RC.axisLine),axisLabel:QC(RC.axisLabel,!1),axisTick:QC(RC.axisTick,!1),splitLine:QC(RC.splitLine,!0),splitArea:QC(RC.splitArea,!0),indicator:[]},e}(Ch),VC=["axisLine","axisTickLabel","axisName"],zC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.render=function(t,e,n){this.group.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},e.prototype._buildAxes=function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes(),i=g.map(n,function(t){var n=t.model.get("showName")?t.name:"";return new pC(t.model,{axisName:n,position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})});g.each(i,function(t){g.each(VC,t.add,t),this.group.add(t.getGroup())},this)},e.prototype._buildSplitLineAndArea=function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes();if(n.length){var i=t.get("shape"),r=t.getModel("splitLine"),o=t.getModel("splitArea"),a=r.getModel("lineStyle"),s=o.getModel("areaStyle"),l=r.get("show"),c=o.get("show"),u=a.get("color"),h=s.get("color"),d=g.isArray(u)?u:[u],f=g.isArray(h)?h:[h],p=[],A=[];if("circle"===i)for(var v=n[0].getTicksCoords(),m=e.cx,y=e.cy,b=0;b<v.length;b++){if(l)p[T(p,d,b)].push(new Js({shape:{cx:m,cy:y,r:v[b].coord}}));if(c&&b<v.length-1)A[T(A,f,b)].push(new _l({shape:{cx:m,cy:y,r0:v[b].coord,r:v[b+1].coord}}))}else{var _,w=g.map(n,function(t,n){var i=t.getTicksCoords();return _=null==_?i.length-1:Math.min(i.length-1,_),g.map(i,function(t){return e.coordToPoint(t.coord,n)})}),x=[];for(b=0;b<=_;b++){for(var C=[],S=0;S<n.length;S++)C.push(w[S][b]);if(C[0]&&C.push(C[0].slice()),l)p[T(p,d,b)].push(new Tl({shape:{points:C}}));if(c&&x)A[T(A,f,b-1)].push(new Sl({shape:{points:C.concat(x)}}));x=C.slice().reverse()}}var B=a.getLineStyle(),k=s.getAreaStyle();g.each(A,function(t,e){this.group.add(yc(t,{style:g.defaults({stroke:"none",fill:f[e%f.length]},k),silent:!0}))},this),g.each(p,function(t,e){this.group.add(yc(t,{style:g.defaults({fill:"none",stroke:d[e%d.length]},B),silent:!0}))},this)}function T(t,e,n){var i=n%e.length;return t[i]=t[i]||[],i}},e.type="radar",e}(fp),$C=function(t){function e(e,n,i){var r=t.call(this,e,n,i)||this;return r.type="value",r.angle=0,r.name="",r}return p(e,t),e}(eb),GC=function(){function t(t,e,n){this.dimensions=[],this._model=t,this._indicatorAxes=Object(g.map)(t.getIndicatorModels(),function(t,e){var n="indicator_"+e,i=new $C(n,new Mm);return i.name=t.get("name"),i.model=t,t.axis=i,this.dimensions.push(n),i},this),this.resize(t,n)}return t.prototype.getIndicatorAxes=function(){return this._indicatorAxes},t.prototype.dataToPoint=function(t,e){var n=this._indicatorAxes[e];return this.coordToPoint(n.dataToCoord(t),e)},t.prototype.coordToPoint=function(t,e){var n=this._indicatorAxes[e].angle;return[this.cx+t*Math.cos(n),this.cy-t*Math.sin(n)]},t.prototype.pointToData=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=Math.sqrt(e*e+n*n);e/=i,n/=i;for(var r,o=Math.atan2(-n,e),a=1/0,s=-1,l=0;l<this._indicatorAxes.length;l++){var c=this._indicatorAxes[l],u=Math.abs(o-c.angle);u<a&&(r=c,s=l,a=u)}return[s,+(r&&r.coordToData(i))]},t.prototype.resize=function(t,e){var n=t.get("center"),i=e.getWidth(),r=e.getHeight(),o=Math.min(i,r)/2;this.cx=pi(n[0],i),this.cy=pi(n[1],r),this.startAngle=t.get("startAngle")*Math.PI/180;var a=t.get("radius");(Object(g.isString)(a)||Object(g.isNumber)(a))&&(a=[0,a]),this.r0=pi(a[0],o),this.r=pi(a[1],o),Object(g.each)(this._indicatorAxes,function(t,e){t.setExtent(this.r0,this.r);var n=this.startAngle+e*Math.PI*2/this._indicatorAxes.length;n=Math.atan2(Math.sin(n),Math.cos(n)),t.angle=n},this)},t.prototype.update=function(t,e){var n=this._indicatorAxes,i=this._model;Object(g.each)(n,function(t){t.scale.setExtent(1/0,-1/0)}),t.eachSeriesByType("radar",function(e,r){if("radar"===e.get("coordinateSystem")&&t.getComponent("radar",e.get("radarIndex"))===i){var o=e.getData();Object(g.each)(n,function(t){t.scale.unionExtentFromData(o,o.mapDimension(t.dim))})}},this);var r=i.get("splitNumber"),o=new Mm;o.setExtent(0,r),o.setInterval(1),Object(g.each)(n,function(t,e){nC(t.scale,t.model,o)})},t.prototype.convertToPixel=function(t,e,n){return console.warn("Not implemented."),null},t.prototype.convertFromPixel=function(t,e,n){return console.warn("Not implemented."),null},t.prototype.containPoint=function(t){return console.warn("Not implemented."),!1},t.create=function(e,n){var i=[];return e.eachComponent("radar",function(r){var o=new t(r,e,n);i.push(o),r.coordinateSystem=o}),e.eachSeriesByType("radar",function(t){"radar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("radarIndex")||0])}),i},t.dimensions=[],t}();function WC(t){t.registerCoordinateSystem("radar",GC),t.registerComponentModel(HC),t.registerComponentView(zC),t.registerVisual({seriesType:"radar",reset:function(t){var e=t.getData();e.each(function(t){e.setItemVisual(t,"legendIcon","roundRect")}),e.setVisual("legendIcon","roundRect")}})}var KC="\0_ec_interaction_mutex";function YC(t,e){return!!XC(t)[e]}function XC(t){return t[KC]||(t[KC]={})}function qC(t,e,n,i,r){t.pointerChecker&&t.pointerChecker(i,r.originX,r.originY)&&(ct(i.event),ZC(t,e,n,i,r))}function ZC(t,e,n,i,r){r.isAvailableBehavior=Object(g.bind)(JC,null,n,i),t.trigger(e,r)}function JC(t,e,n){var i=n[t];return!t||i&&(!Object(g.isString)(i)||e.event[i+"Key"])}gv({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},g.noop);var tS=function(t){function e(e){var n=t.call(this)||this;n._zr=e;var i=Object(g.bind)(n._mousedownHandler,n),r=Object(g.bind)(n._mousemoveHandler,n),o=Object(g.bind)(n._mouseupHandler,n),a=Object(g.bind)(n._mousewheelHandler,n),s=Object(g.bind)(n._pinchHandler,n);return n.enable=function(t,n){this.disable(),this._opt=Object(g.defaults)(Object(g.clone)(n)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==t&&(t=!0),!0!==t&&"move"!==t&&"pan"!==t||(e.on("mousedown",i),e.on("mousemove",r),e.on("mouseup",o)),!0!==t&&"scale"!==t&&"zoom"!==t||(e.on("mousewheel",a),e.on("pinch",s))},n.disable=function(){e.off("mousedown",i),e.off("mousemove",r),e.off("mouseup",o),e.off("mousewheel",a),e.off("pinch",s)},n}return p(e,t),e.prototype.isDragging=function(){return this._dragging},e.prototype.isPinching=function(){return this._pinching},e.prototype.setPointerChecker=function(t){this.pointerChecker=t},e.prototype.dispose=function(){this.disable()},e.prototype._mousedownHandler=function(t){if(!ut(t)){for(var e=t.target;e;){if(e.draggable)return;e=e.__hostTarget||e.parent}var n=t.offsetX,i=t.offsetY;this.pointerChecker&&this.pointerChecker(t,n,i)&&(this._x=n,this._y=i,this._dragging=!0)}},e.prototype._mousemoveHandler=function(t){if(this._dragging&&JC("moveOnMouseMove",t,this._opt)&&"pinch"!==t.gestureEvent&&!YC(this._zr,"globalPan")){var e=t.offsetX,n=t.offsetY,i=this._x,r=this._y,o=e-i,a=n-r;this._x=e,this._y=n,this._opt.preventDefaultMouseMove&&ct(t.event),ZC(this,"pan","moveOnMouseMove",t,{dx:o,dy:a,oldX:i,oldY:r,newX:e,newY:n,isAvailableBehavior:null})}},e.prototype._mouseupHandler=function(t){ut(t)||(this._dragging=!1)},e.prototype._mousewheelHandler=function(t){var e=JC("zoomOnMouseWheel",t,this._opt),n=JC("moveOnMouseWheel",t,this._opt),i=t.wheelDelta,r=Math.abs(i),o=t.offsetX,a=t.offsetY;if(0!==i&&(e||n)){if(e){var s=r>3?1.4:r>1?1.2:1.1;qC(this,"zoom","zoomOnMouseWheel",t,{scale:i>0?s:1/s,originX:o,originY:a,isAvailableBehavior:null})}if(n){var l=Math.abs(i);qC(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(i>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:o,originY:a,isAvailableBehavior:null})}}},e.prototype._pinchHandler=function(t){YC(this._zr,"globalPan")||qC(this,"zoom",null,t,{scale:t.pinchScale>1?1.1:1/1.1,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})},e}(z);function eS(t,e,n){var i=t.target;i.x+=e,i.y+=n,i.dirty()}function nS(t,e,n,i){var r=t.target,o=t.zoomLimit,a=t.zoom=t.zoom||1;if(a*=e,o){var s=o.min||0,l=o.max||1/0;a=Math.max(Math.min(l,a),s)}var c=a/t.zoom;t.zoom=a,r.x-=(n-r.x)*(c-1),r.y-=(i-r.y)*(c-1),r.scaleX*=c,r.scaleY*=c,r.dirty()}var iS,rS={axisPointer:1,tooltip:1,brush:1};function oS(t,e,n){var i=e.getComponentByElement(t.topTarget),r=i&&i.coordinateSystem;return i&&i!==n&&!rS.hasOwnProperty(i.mainType)&&r&&r.model!==n}function aS(t){Object(g.isString)(t)&&(t=(new DOMParser).parseFromString(t,"text/xml"));var e=t;for(9===e.nodeType&&(e=e.firstChild);"svg"!==e.nodeName.toLowerCase()||1!==e.nodeType;)e=e.nextSibling;return e}var sS={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},lS=Object(g.keys)(sS),cS={"alignment-baseline":"textBaseline","stop-color":"stopColor"},uS=Object(g.keys)(cS),hS=function(){function t(){this._defs={},this._root=null}return t.prototype.parse=function(t,e){e=e||{};var n=aS(t);this._defsUsePending=[];var i=new ei;this._root=i;var r=[],o=n.getAttribute("viewBox")||"",a=parseFloat(n.getAttribute("width")||e.width),s=parseFloat(n.getAttribute("height")||e.height);isNaN(a)&&(a=null),isNaN(s)&&(s=null),vS(n,i,null,!0,!1);for(var l,c,u=n.firstChild;u;)this._parseNode(u,i,r,null,!1,!1),u=u.nextSibling;if(function(t,e){for(var n=0;n<e.length;n++){var i=e[n];i[0].style[i[1]]=t[i[2]]}}(this._defs,this._defsUsePending),this._defsUsePending=[],o){var h=_S(o);h.length>=4&&(l={x:parseFloat(h[0]||0),y:parseFloat(h[1]||0),width:parseFloat(h[2]),height:parseFloat(h[3])})}if(l&&null!=a&&null!=s&&(c=BS(l,{x:0,y:0,width:a,height:s}),!e.ignoreViewBox)){var d=i;(i=new ei).add(d),d.scaleX=d.scaleY=c.scale,d.x=c.x,d.y=c.y}return e.ignoreRootClip||null==a||null==s||i.setClipPath(new ha({shape:{x:0,y:0,width:a,height:s}})),{root:i,width:a,height:s,viewBoxRect:l,viewBoxTransform:c,named:r}},t.prototype._parseNode=function(t,e,n,i,r,o){var a,s=t.nodeName.toLowerCase(),l=i;if("defs"===s&&(r=!0),"text"===s&&(o=!0),"defs"===s||"switch"===s)a=e;else{if(!r){var c=iS[s];if(c&&Object(g.hasOwn)(iS,s)){a=c.call(this,t,e);var u=t.getAttribute("name");if(u){var h={name:u,namedFrom:null,svgNodeTagLower:s,el:a};n.push(h),"g"===s&&(l=h)}else i&&n.push({name:i.name,namedFrom:i,svgNodeTagLower:s,el:a});e.add(a)}}var d=dS[s];if(d&&Object(g.hasOwn)(dS,s)){var f=d.call(this,t),p=t.getAttribute("id");p&&(this._defs[p]=f)}}if(a&&a.isGroup)for(var A=t.firstChild;A;)1===A.nodeType?this._parseNode(A,a,n,l,r,o):3===A.nodeType&&o&&this._parseText(A,a),A=A.nextSibling},t.prototype._parseText=function(t,e){var n=new Jo({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});AS(e,n),vS(t,n,this._defsUsePending,!1,!1),function(t,e){var n=e.__selfStyle;if(n){var i=n.textBaseline,r=i;i&&"auto"!==i?"baseline"===i?r="alphabetic":"before-edge"===i||"text-before-edge"===i?r="top":"after-edge"===i||"text-after-edge"===i?r="bottom":"central"!==i&&"mathematical"!==i||(r="middle"):r="alphabetic",t.style.textBaseline=r}var o=e.__inheritedStyle;if(o){var a=o.textAlign,s=a;a&&("middle"===a&&(s="center"),t.style.textAlign=s)}}(n,e);var i=n.style,r=i.fontSize;r&&r<9&&(i.fontSize=9,n.scaleX*=r/9,n.scaleY*=r/9);var o=(i.fontSize||i.fontFamily)&&[i.fontStyle,i.fontWeight,(i.fontSize||12)+"px",i.fontFamily||"sans-serif"].join(" ");i.font=o;var a=n.getBoundingRect();return this._textX+=a.width,e.add(n),n},t.internalField=void(iS={g:function(t,e){var n=new ei;return AS(e,n),vS(t,n,this._defsUsePending,!1,!1),n},rect:function(t,e){var n=new ha;return AS(e,n),vS(t,n,this._defsUsePending,!1,!1),n.setShape({x:parseFloat(t.getAttribute("x")||"0"),y:parseFloat(t.getAttribute("y")||"0"),width:parseFloat(t.getAttribute("width")||"0"),height:parseFloat(t.getAttribute("height")||"0")}),n.silent=!0,n},circle:function(t,e){var n=new Js;return AS(e,n),vS(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),n.silent=!0,n},line:function(t,e){var n=new Ml;return AS(e,n),vS(t,n,this._defsUsePending,!1,!1),n.setShape({x1:parseFloat(t.getAttribute("x1")||"0"),y1:parseFloat(t.getAttribute("y1")||"0"),x2:parseFloat(t.getAttribute("x2")||"0"),y2:parseFloat(t.getAttribute("y2")||"0")}),n.silent=!0,n},ellipse:function(t,e){var n=new nl;return AS(e,n),vS(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),rx:parseFloat(t.getAttribute("rx")||"0"),ry:parseFloat(t.getAttribute("ry")||"0")}),n.silent=!0,n},polygon:function(t,e){var n,i=t.getAttribute("points");i&&(n=gS(i));var r=new Sl({shape:{points:n||[]},silent:!0});return AS(e,r),vS(t,r,this._defsUsePending,!1,!1),r},polyline:function(t,e){var n,i=t.getAttribute("points");i&&(n=gS(i));var r=new Tl({shape:{points:n||[]},silent:!0});return AS(e,r),vS(t,r,this._defsUsePending,!1,!1),r},image:function(t,e){var n=new ia;return AS(e,n),vS(t,n,this._defsUsePending,!1,!1),n.setStyle({image:t.getAttribute("xlink:href")||t.getAttribute("href"),x:+t.getAttribute("x"),y:+t.getAttribute("y"),width:+t.getAttribute("width"),height:+t.getAttribute("height")}),n.silent=!0,n},text:function(t,e){var n=t.getAttribute("x")||"0",i=t.getAttribute("y")||"0",r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(r),this._textY=parseFloat(i)+parseFloat(o);var a=new ei;return AS(e,a),vS(t,a,this._defsUsePending,!1,!0),a},tspan:function(t,e){var n=t.getAttribute("x"),i=t.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=i&&(this._textY=parseFloat(i));var r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0",a=new ei;return AS(e,a),vS(t,a,this._defsUsePending,!1,!0),this._textX+=parseFloat(r),this._textY+=parseFloat(o),a},path:function(t,e){var n=Ys(t.getAttribute("d")||"");return AS(e,n),vS(t,n,this._defsUsePending,!1,!1),n.silent=!0,n}}),t}(),dS={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||"0",10),n=parseInt(t.getAttribute("y1")||"0",10),i=parseInt(t.getAttribute("x2")||"10",10),r=parseInt(t.getAttribute("y2")||"0",10),o=new Vl(e,n,i,r);return fS(t,o),pS(t,o),o},radialgradient:function(t){var e=parseInt(t.getAttribute("cx")||"0",10),n=parseInt(t.getAttribute("cy")||"0",10),i=parseInt(t.getAttribute("r")||"0",10),r=new zl(e,n,i);return fS(t,r),pS(t,r),r}};function fS(t,e){"userSpaceOnUse"===t.getAttribute("gradientUnits")&&(e.global=!0)}function pS(t,e){for(var n=t.firstChild;n;){if(1===n.nodeType&&"stop"===n.nodeName.toLocaleLowerCase()){var i=n.getAttribute("offset"),r=void 0;r=i&&i.indexOf("%")>0?parseInt(i,10)/100:i?parseFloat(i):0;var o={};SS(n,o,o);var a=o.stopColor||n.getAttribute("stop-color")||"#000000";e.colorStops.push({offset:r,color:a})}n=n.nextSibling}}function AS(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),Object(g.defaults)(e.__inheritedStyle,t.__inheritedStyle))}function gS(t){for(var e=_S(t),n=[],i=0;i<e.length;i+=2){var r=parseFloat(e[i]),o=parseFloat(e[i+1]);n.push([r,o])}return n}function vS(t,e,n,i,r){var o=e,a=o.__inheritedStyle=o.__inheritedStyle||{},s={};1===t.nodeType&&(function(t,e){var n=t.getAttribute("transform");if(n){var i=[],r=null;(n=n.replace(/,/g," ")).replace(wS,function(t,e,n){return i.push(e,n),""});for(var o=i.length-1;o>0;o-=2){var a=i[o],s=i[o-1],l=_S(a);switch(r=r||[1,0,0,1,0,0],s){case"translate":mt(r,r,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":bt(r,r,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":yt(r,r,-parseFloat(l[0])*xS);break;case"skewX":var c=Math.tan(parseFloat(l[0])*xS);vt(r,[1,0,c,1,0,0],r);break;case"skewY":var u=Math.tan(parseFloat(l[0])*xS);vt(r,[1,u,0,1,0,0],r);break;case"matrix":r[0]=parseFloat(l[0]),r[1]=parseFloat(l[1]),r[2]=parseFloat(l[2]),r[3]=parseFloat(l[3]),r[4]=parseFloat(l[4]),r[5]=parseFloat(l[5])}}e.setLocalTransform(r)}}(t,e),SS(t,a,s),i||function(t,e,n){for(var i=0;i<lS.length;i++){var r=lS[i],o=t.getAttribute(r);null!=o&&(e[sS[r]]=o)}for(var i=0;i<uS.length;i++){var r=uS[i],o=t.getAttribute(r);null!=o&&(n[cS[r]]=o)}}(t,a,s)),o.style=o.style||{},null!=a.fill&&(o.style.fill=yS(o,"fill",a.fill,n)),null!=a.stroke&&(o.style.stroke=yS(o,"stroke",a.stroke,n)),Object(g.each)(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(t){null!=a[t]&&(o.style[t]=parseFloat(a[t]))}),Object(g.each)(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign"],function(t){null!=a[t]&&(o.style[t]=a[t])}),r&&(o.__selfStyle=s),a.lineDash&&(o.style.lineDash=Object(g.map)(_S(a.lineDash),function(t){return parseFloat(t)})),"hidden"!==a.visibility&&"collapse"!==a.visibility||(o.invisible=!0),"none"===a.display&&(o.ignore=!0)}var mS=/^url\(\s*#(.*?)\)/;function yS(t,e,n,i){var r=n&&n.match(mS);if(!r)return"none"===n&&(n=null),n;var o=Object(g.trim)(r[1]);i.push([t,e,o])}var bS=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function _S(t){return t.match(bS)||[]}var wS=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g,xS=Math.PI/180;var CS=/([^\s:;]+)\s*:\s*([^:;]+)/g;function SS(t,e,n){var i,r=t.getAttribute("style");if(r)for(CS.lastIndex=0;null!=(i=CS.exec(r));){var o=i[1],a=Object(g.hasOwn)(sS,o)?sS[o]:null;a&&(e[a]=i[2]);var s=Object(g.hasOwn)(cS,o)?cS[o]:null;s&&(n[s]=i[2])}}function BS(t,e){var n=e.width/t.width,i=e.height/t.height,r=Math.min(n,i);return{scale:r,x:-(t.x+t.width/2)*r+(e.x+e.width/2),y:-(t.y+t.height/2)*r+(e.y+e.height/2)}}var kS=Object(g.createHashMap)(["rect","circle","line","ellipse","polygon","polyline","path","text","tspan","g"]),TS=function(){function t(t,e){this.type="geoSVG",this._usedGraphicMap=Object(g.createHashMap)(),this._freedGraphics=[],this._mapName=t,this._parsedXML=aS(e)}return t.prototype.load=function(){var t=this._firstGraphic;if(!t){t=this._firstGraphic=this._buildGraphic(this._parsedXML),this._freedGraphics.push(t),this._boundingRect=this._firstGraphic.boundingRect.clone();var e=function(t){var e=[],n=Object(g.createHashMap)();return Object(g.each)(t,function(t){if(null==t.namedFrom){var i=new Ry(t.name,t.el);e.push(i),n.set(t.name,i)}}),{regions:e,regionsMap:n}}(t.named),n=e.regions,i=e.regionsMap;this._regions=n,this._regionsMap=i}return{boundingRect:this._boundingRect,regions:this._regions,regionsMap:this._regionsMap}},t.prototype._buildGraphic=function(t){var e,n,i,r;try{n=(e=t&&(i=t,r={ignoreViewBox:!0,ignoreRootClip:!0},(new hS).parse(i,r))||{}).root,Object(g.assert)(null!=n)}catch(t){throw new Error("Invalid svg format\n"+t.message)}var o=new ei;o.add(n),o.isGeoSVGGraphicRoot=!0;var a=e.width,s=e.height,l=e.viewBoxRect,c=this._boundingRect;if(!c){var u=void 0,h=void 0,d=void 0,f=void 0;if(null!=a?(u=0,d=a):l&&(u=l.x,d=l.width),null!=s?(h=0,f=s):l&&(h=l.y,f=l.height),null==u||null==h){var p=n.getBoundingRect();null==u&&(u=p.x,d=p.width),null==h&&(h=p.y,f=p.height)}c=this._boundingRect=new Mt(u,h,d,f)}if(l){var A=BS(l,c);n.scaleX=n.scaleY=A.scale,n.x=A.x,n.y=A.y}o.setClipPath(new ha({shape:c.plain()}));var v=[];return Object(g.each)(e.named,function(t){var e;null!=kS.get(t.svgNodeTagLower)&&(v.push(t),(e=t.el).silent=!1,e.isGroup&&e.traverse(function(t){t.silent=!1}))}),{root:o,boundingRect:c,named:v}},t.prototype.useGraphic=function(t){var e=this._usedGraphicMap,n=e.get(t);return n||(n=this._freedGraphics.pop()||this._buildGraphic(this._parsedXML),e.set(t,n),n)},t.prototype.freeGraphic=function(t){var e=this._usedGraphicMap,n=e.get(t);n&&(e.removeKey(t),this._freedGraphics.push(n))},t}();for(var OS=[126,25],ES="南海诸岛",IS=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],MS=0;MS<IS.length;MS++)for(var DS=0;DS<IS[MS].length;DS++)IS[MS][DS][0]/=10.5,IS[MS][DS][1]/=-14,IS[MS][DS][0]+=OS[0],IS[MS][DS][1]+=OS[1];var LS={"南海诸岛":[32,80],"广东":[0,-10],"香港":[10,5],"澳门":[-10,10],"天津":[5,5]};var FS=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];var PS=function(){function t(t,e,n){var i;this.type="geoJSON",this._parsedMap=Object(g.createHashMap)(),this._mapName=t,this._specialAreas=n,this._geoJSON=(i=e,Object(g.isString)(i)?"undefined"!=typeof JSON&&JSON.parse?JSON.parse(i):new Function("return ("+i+");")():i)}return t.prototype.load=function(t,e){e=e||"name";var n=this._parsedMap.get(e);if(!n){var i=this._parseToRegions(e);n=this._parsedMap.set(e,{regions:i,boundingRect:function(t){for(var e,n=0;n<t.length;n++){var i=t[n].getBoundingRect();(e=e||i.clone()).union(i)}return e}(i)})}var r=Object(g.createHashMap)(),o=[];return Object(g.each)(n.regions,function(e){var n=e.name;t&&Object(g.hasOwn)(t,n)&&(e=e.cloneShallow(n=t[n])),o.push(e),r.set(n,e)}),{regions:o,boundingRect:n.boundingRect||new Mt(0,0,0,0),regionsMap:r}},t.prototype._parseToRegions=function(t){var e,n=this._mapName,i=this._geoJSON;try{e=i?Vy(i,t):[]}catch(t){throw new Error("Invalid geoJson format\n"+t.message)}return function(t,e){if("china"===t){for(var n=0;n<e.length;n++)if(e[n].name===ES)return;e.push(new Uy(ES,g.map(IS,function(t){return{type:"polygon",exterior:t}}),OS))}}(n,e),Object(g.each)(e,function(t){var e=t.name;!function(t,e){if("china"===t){var n=LS[e.name];if(n){var i=e.getCenter();i[0]+=n[0]/10.5,i[1]+=-n[1]/14,e.setCenter(i)}}}(n,t),function(t,e){"china"===t&&"台湾"===e.name&&e.geometries.push({type:"polygon",exterior:FS[0]})}(n,t);var i=this._specialAreas&&this._specialAreas[e];i&&t.transformTo(i.left,i.top,i.width,i.height)},this),e},t.prototype.getMapForUser=function(){return{geoJson:this._geoJSON,geoJSON:this._geoJSON,specialAreas:this._specialAreas}},t}();var NS=Object(g.createHashMap)(),jS={registerMap:function(t,e,n){if(e.svg){var i=new TS(t,e.svg);NS.set(t,i)}else{var r=e.geoJson||e.geoJSON;r&&!e.features?n=e.specialAreas:r=e;i=new PS(t,r,n);NS.set(t,i)}},getGeoResource:function(t){return NS.get(t)},getMapForUser:function(t){var e=NS.get(t);return e&&"geoJSON"===e.type&&e.getMapForUser()},load:function(t,e,n){var i=NS.get(t);if(i)return i.load(e,n)}},US=["rect","circle","line","ellipse","polygon","polyline","path"],RS=g.createHashMap(US),QS=g.createHashMap(US.concat(["g"])),HS=g.createHashMap(US.concat(["g"])),VS=tr();function zS(t){var e=t.getItemStyle(),n=t.get("areaColor");return null!=n&&(e.fill=n),e}function $S(t){var e=t.style;e&&(e.stroke=e.stroke||e.fill,e.fill=null)}function GS(t,e,n,i){var r=i.getModel("itemStyle"),o=i.getModel(["emphasis","itemStyle"]),a=i.getModel(["blur","itemStyle"]),s=i.getModel(["select","itemStyle"]),l=zS(r),c=zS(o),u=zS(s),h=zS(a),d=t.data;if(d){var f=d.getItemVisual(n,"style"),p=d.getItemVisual(n,"decal");t.isVisualEncodedByVisualMap&&f.fill&&(l.fill=f.fill),p&&(l.decal=ag(p,t.api))}e.setStyle(l),e.style.strokeNoScale=!0,e.ensureState("emphasis").style=c,e.ensureState("select").style=u,e.ensureState("blur").style=h,as(e)}function WS(t,e,n,i,r,o,a){var s=t.data,l=t.isGeo,c=s&&isNaN(s.get(s.mapDimension("value"),o)),u=s&&s.getItemLayout(o);if(l||c||u&&u.showLabel){var h=l?n:o,d=void 0;(!s||o>=0)&&(d=r);var f=a?{normal:{align:"center",verticalAlign:"middle"}}:null;Qc(e,Hc(i),{labelFetcher:d,labelDataIndex:h,defaultText:n},f);var p=e.getTextContent();if(p&&(VS(p).ignore=p.ignore,e.textConfig&&a)){var A=e.getBoundingRect().clone();e.textConfig.layoutRect=A,e.textConfig.position=[(a[0]-A.x)/A.width*100+"%",(a[1]-A.y)/A.height*100+"%"]}e.disableLabelAnimation=!0}else e.removeTextContent(),e.removeTextConfig(),e.disableLabelAnimation=null}function KS(t,e,n,i,r,o){t.data?t.data.setItemGraphicEl(o,e):Ta(e).eventData={componentType:"geo",componentIndex:r.componentIndex,geoIndex:r.componentIndex,name:n,region:i&&i.option||{}}}function YS(t,e,n,i,r){t.data||Fc({el:e,componentModel:r,itemName:n,itemTooltipOption:i.get("tooltip")})}function XS(t,e,n,i,r){e.highDownSilentOnTouch=!!r.get("selectedMode");var o=i.getModel("emphasis"),a=o.get("focus");return ws(e,a,o.get("blurScope"),o.get("disabled")),t.isGeo&&function(t,e,n){var i=Ta(t);i.componentMainType=e.mainType,i.componentIndex=e.componentIndex,i.componentHighDownName=n}(e,r,n),a}function qS(t,e,n){var i,r=[];function o(){i=[]}function a(){i.length&&(r.push(i),i=[])}var s=e({polygonStart:o,polygonEnd:a,lineStart:o,lineEnd:a,point:function(t,e){isFinite(t)&&isFinite(e)&&i.push([t,e])},sphere:function(){}});return!n&&s.polygonStart(),g.each(t,function(t){s.lineStart();for(var e=0;e<t.length;e++)s.point(t[e][0],t[e][1]);s.lineEnd()}),!n&&s.polygonEnd(),r}var ZS=function(){function t(t){var e=new ei;this.uid=pu("ec_map_draw"),this._controller=new tS(t.getZr()),this._controllerHost={target:e},this.group=e,e.add(this._regionsGroup=new ei),e.add(this._svgGroup=new ei)}return t.prototype.draw=function(t,e,n,i,r){var o="geo"===t.mainType,a=t.getData&&t.getData();o&&e.eachComponent({mainType:"series",subType:"map"},function(e){a||e.getHostGeoModel()!==t||(a=e.getData())});var s=t.coordinateSystem,l=this._regionsGroup,c=this.group,u=s.getTransformInfo(),h=u.raw,d=u.roam;!l.childAt(0)||r?(c.x=d.x,c.y=d.y,c.scaleX=d.scaleX,c.scaleY=d.scaleY,c.dirty()):ec(c,d,t);var f=a&&a.getVisual("visualMeta")&&a.getVisual("visualMeta").length>0,p={api:n,geo:s,mapOrGeoModel:t,data:a,isVisualEncodedByVisualMap:f,isGeo:o,transformInfoRaw:h};"geoJSON"===s.resourceType?this._buildGeoJSON(p):"geoSVG"===s.resourceType&&this._buildSVG(p),this._updateController(t,e,n),this._updateMapSelectHandler(t,l,n,i)},t.prototype._buildGeoJSON=function(t){var e=this._regionsGroupByName=g.createHashMap(),n=g.createHashMap(),i=this._regionsGroup,r=t.transformInfoRaw,o=t.mapOrGeoModel,a=t.data,s=t.geo.projection,l=s&&s.stream;function c(t,e){return e&&(t=e(t)),t&&[t[0]*r.scaleX+r.x,t[1]*r.scaleY+r.y]}function u(t){return{shape:{points:function(t){for(var e=[],n=!l&&s&&s.project,i=0;i<t.length;++i){var r=c(t[i],n);r&&e.push(r)}return e}(t)}}}i.removeAll(),g.each(t.geo.regions,function(r){var h=r.name,d=e.get(h),f=n.get(h)||{},p=f.dataIdx,A=f.regionModel;d||(d=e.set(h,new ei),i.add(d),p=a?a.indexOfName(h):null,A=t.isGeo?o.getRegionModel(h):a?a.getItemModel(p):null,n.set(h,{dataIdx:p,regionModel:A}));var v=[],m=[];g.each(r.geometries,function(t){if("polygon"===t.type){var e=[t.exterior].concat(t.interiors||[]);l&&(e=qS(e,l)),g.each(e,function(t){v.push(new Sl(u(t)))})}else{var n=t.points;l&&(n=qS(n,l,!0)),g.each(n,function(t){m.push(new Tl(u(t)))})}});var y=c(r.getCenter(),s&&s.project);function b(e,n){if(e.length){var i=new Ql({culling:!0,segmentIgnoreThreshold:1,shape:{paths:e}});d.add(i),GS(t,i,p,A),WS(t,i,h,A,o,p,y),n&&($S(i),g.each(i.states,$S))}}b(v),b(m,!0)}),e.each(function(e,i){var r=n.get(i),a=r.dataIdx,s=r.regionModel;KS(t,e,i,s,o,a),YS(t,e,i,s,o),XS(t,e,i,s,o)},this)},t.prototype._buildSVG=function(t){var e=t.geo.map,n=t.transformInfoRaw;this._svgGroup.x=n.x,this._svgGroup.y=n.y,this._svgGroup.scaleX=n.scaleX,this._svgGroup.scaleY=n.scaleY,this._svgResourceChanged(e)&&(this._freeSVG(),this._useSVG(e));var i=this._svgDispatcherMap=g.createHashMap(),r=!1;g.each(this._svgGraphicRecord.named,function(e){var n=e.name,o=t.mapOrGeoModel,a=t.data,s=e.svgNodeTagLower,l=e.el,c=a?a.indexOfName(n):null,u=o.getRegionModel(n);(null!=RS.get(s)&&l instanceof Kr&&GS(t,l,c,u),l instanceof Kr&&(l.culling=!0),l.z2EmphasisLift=0,e.namedFrom)||(null!=HS.get(s)&&WS(t,l,n,u,o,c,null),KS(t,l,n,u,o,c),YS(t,l,n,u,o),null!=QS.get(s)&&("self"===XS(t,l,n,u,o)&&(r=!0),(i.get(n)||i.set(n,[])).push(l)))},this),this._enableBlurEntireSVG(r,t)},t.prototype._enableBlurEntireSVG=function(t,e){if(t&&e.isGeo){var n=e.mapOrGeoModel.getModel(["blur","itemStyle"]).getItemStyle().opacity;this._svgGraphicRecord.root.traverse(function(t){if(!t.isGroup){as(t);var e=t.ensureState("blur").style||{};null==e.opacity&&null!=n&&(e.opacity=n),t.ensureState("emphasis")}})}},t.prototype.remove=function(){this._regionsGroup.removeAll(),this._regionsGroupByName=null,this._svgGroup.removeAll(),this._freeSVG(),this._controller.dispose(),this._controllerHost=null},t.prototype.findHighDownDispatchers=function(t,e){if(null==t)return[];var n=e.coordinateSystem;if("geoJSON"===n.resourceType){var i=this._regionsGroupByName;if(i){var r=i.get(t);return r?[r]:[]}}else if("geoSVG"===n.resourceType)return this._svgDispatcherMap&&this._svgDispatcherMap.get(t)||[]},t.prototype._svgResourceChanged=function(t){return this._svgMapName!==t},t.prototype._useSVG=function(t){var e=jS.getGeoResource(t);if(e&&"geoSVG"===e.type){var n=e.useGraphic(this.uid);this._svgGroup.add(n.root),this._svgGraphicRecord=n,this._svgMapName=t}},t.prototype._freeSVG=function(){var t=this._svgMapName;if(null!=t){var e=jS.getGeoResource(t);e&&"geoSVG"===e.type&&e.freeGraphic(this.uid),this._svgGraphicRecord=null,this._svgDispatcherMap=null,this._svgGroup.removeAll(),this._svgMapName=null}},t.prototype._updateController=function(t,e,n){var i=t.coordinateSystem,r=this._controller,o=this._controllerHost;o.zoomLimit=t.get("scaleLimit"),o.zoom=i.getZoom(),r.enable(t.get("roam")||!1);var a=t.mainType;function s(){var e={type:"geoRoam",componentType:a};return e[a+"Id"]=t.id,e}r.off("pan").on("pan",function(t){this._mouseDownFlag=!1,eS(o,t.dx,t.dy),n.dispatchAction(g.extend(s(),{dx:t.dx,dy:t.dy,animation:{duration:0}}))},this),r.off("zoom").on("zoom",function(t){this._mouseDownFlag=!1,nS(o,t.scale,t.originX,t.originY),n.dispatchAction(g.extend(s(),{zoom:t.scale,originX:t.originX,originY:t.originY,animation:{duration:0}}))},this),r.setPointerChecker(function(e,r,o){return i.containPoint([r,o])&&!oS(e,n,t)})},t.prototype.resetForLabelLayout=function(){this.group.traverse(function(t){var e=t.getTextContent();e&&(e.ignore=VS(e).ignore)})},t.prototype._updateMapSelectHandler=function(t,e,n,i){var r=this;e.off("mousedown"),e.off("click"),t.get("selectedMode")&&(e.on("mousedown",function(){r._mouseDownFlag=!0}),e.on("click",function(t){r._mouseDownFlag&&(r._mouseDownFlag=!1)}))},t}(),JS=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.render=function(t,e,n,i){if(!i||"mapToggleSelect"!==i.type||i.from!==this.uid){var r=this.group;if(r.removeAll(),!t.getHostGeoModel()){if(this._mapDraw&&i&&"geoRoam"===i.type&&this._mapDraw.resetForLabelLayout(),i&&"geoRoam"===i.type&&"series"===i.componentType&&i.seriesId===t.id)(o=this._mapDraw)&&r.add(o.group);else if(t.needsDrawMap){var o=this._mapDraw||new ZS(n);r.add(o.group),o.draw(t,e,n,this,i),this._mapDraw=o}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;t.get("showLegendSymbol")&&e.getComponent("legend")&&this._renderSymbols(t,e,n)}}},e.prototype.remove=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},e.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},e.prototype._renderSymbols=function(t,e,n){var i=t.originalData,r=this.group;i.each(i.mapDimension("value"),function(e,n){if(!isNaN(e)){var o=i.getItemLayout(n);if(o&&o.point){var a=o.point,s=o.offset,l=new Js({style:{fill:t.getData().getVisual("style").fill},shape:{cx:a[0]+9*s,cy:a[1],r:3},silent:!0,z2:8+(s?0:Ua+1)});if(!s){var c=t.mainSeries.getData(),u=i.getName(n),h=c.indexOfName(u),d=i.getItemModel(n),f=d.getModel("label"),p=c.getItemGraphicEl(h);Qc(l,Hc(d),{labelFetcher:{getFormattedLabel:function(e,n){return t.getFormattedLabel(h,n)}},defaultText:u}),l.disableLabelAnimation=!0,f.get("position")||l.setTextConfig({position:"bottom"}),p.onHoverStateChange=function(t){rs(l,t)}}r.add(l)}}})},e.type="map",e}(xp),tB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.needsDrawMap=!1,n.seriesGroup=[],n.getTooltipPosition=function(t){if(null!=t){var e=this.getData().getName(t),n=this.coordinateSystem,i=n.getRegion(e);return i&&n.dataToPoint(i.getCenter())}},n}return p(e,t),e.prototype.getInitialData=function(t){for(var e=Ex(this,{coordDimensions:["value"],encodeDefaulter:g.curry(Rh,this)}),n=g.createHashMap(),i=[],r=0,o=e.count();r<o;r++){var a=e.getName(r);n.set(a,!0)}var s=jS.load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return g.each(s.regions,function(t){var e=t.name;n.get(e)||i.push(e)}),e.appendValues([],i),e},e.prototype.getHostGeoModel=function(){var t=this.option.geoIndex;return null!=t?this.ecModel.getComponent("geo",t):null},e.prototype.getMapType=function(){return(this.getHostGeoModel()||this).option.map},e.prototype.getRawValue=function(t){var e=this.getData();return e.get(e.mapDimension("value"),t)},e.prototype.getRegionModel=function(t){var e=this.getData();return e.getItemModel(e.indexOfName(t))},e.prototype.formatTooltip=function(t,e,n){for(var i=this.getData(),r=this.getRawValue(t),o=i.getName(t),a=this.seriesGroup,s=[],l=0;l<a.length;l++){var c=a[l].originalData.indexOfName(o),u=i.mapDimension("value");isNaN(a[l].originalData.get(u,c))||s.push(a[l].name)}return Hf("section",{header:s.join(", "),noHeader:!s.length,blocks:[Hf("nameValue",{name:o,value:r})]})},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.getLegendIcon=function(t){var e=t.icon||"roundRect",n=OA(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill);return n.setStyle(t.itemStyle),n.style.stroke="none",e.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n},e.type="series.map",e.dependencies=["geo"],e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},e}(hp);function eB(t){var e={};t.eachSeriesByType("map",function(t){var n=t.getHostGeoModel(),i=n?"o"+n.id:"i"+t.getMapType();(e[i]=e[i]||[]).push(t)}),g.each(e,function(t,e){for(var n,i,r,o=(n=g.map(t,function(t){return t.getData()}),i=t[0].get("mapValueCalculation"),r={},g.each(n,function(t){t.each(t.mapDimension("value"),function(e,n){var i="ec-"+t.getName(n);r[i]=r[i]||[],isNaN(e)||r[i].push(e)})}),n[0].map(n[0].mapDimension("value"),function(t,e){for(var o,a="ec-"+n[0].getName(e),s=0,l=1/0,c=-1/0,u=r[a].length,h=0;h<u;h++)l=Math.min(l,r[a][h]),c=Math.max(c,r[a][h]),s+=r[a][h];return o="min"===i?l:"max"===i?c:"average"===i?s/u:s,0===u?NaN:o})),a=0;a<t.length;a++)t[a].originalData=t[a].getData();for(a=0;a<t.length;a++)t[a].seriesGroup=t,t[a].needsDrawMap=0===a&&!t[a].getHostGeoModel(),t[a].setData(o.cloneShallow()),t[a].mainSeries=t[0]})}function nB(t){var e={};t.eachSeriesByType("map",function(n){var i=n.getMapType();if(!n.getHostGeoModel()&&!e[i]){var r={};g.each(n.seriesGroup,function(e){var n=e.coordinateSystem,i=e.originalData;e.get("showLegendSymbol")&&t.getComponent("legend")&&i.each(i.mapDimension("value"),function(t,e){var o=i.getName(e),a=n.getRegion(o);if(a&&!isNaN(t)){var s=r[o]||0,l=n.dataToPoint(a.getCenter());r[o]=s+1,i.setItemLayout(e,{point:l,offset:s})}})});var o=n.getData();o.each(function(t){var e=o.getName(t),n=o.getItemLayout(t)||{};n.showLabel=!r[e],o.setItemLayout(t,n)}),e[i]=!0}})}var iB=U;function rB(t){var e=t.seriesModel;return e?e.coordinateSystem:null}var oB=function(t){function e(e){var n=t.call(this)||this;return n.type="view",n.dimensions=["x","y"],n._roamTransformable=new Dn,n._rawTransformable=new Dn,n.name=e,n}return p(e,t),e.prototype.setBoundingRect=function(t,e,n,i){return this._rect=new Mt(t,e,n,i),this._rect},e.prototype.getBoundingRect=function(){return this._rect},e.prototype.setViewRect=function(t,e,n,i){this._transformTo(t,e,n,i),this._viewRect=new Mt(t,e,n,i)},e.prototype._transformTo=function(t,e,n,i){var r=this.getBoundingRect(),o=this._rawTransformable;o.transform=r.calculateTransform(new Mt(t,e,n,i));var a=o.parent;o.parent=null,o.decomposeTransform(),o.parent=a,this._updateTransform()},e.prototype.setCenter=function(t,e){t&&(this._center=[pi(t[0],e.getWidth()),pi(t[1],e.getHeight())],this._updateCenterAndZoom())},e.prototype.setZoom=function(t){t=t||1;var e=this.zoomLimit;e&&(null!=e.max&&(t=Math.min(e.max,t)),null!=e.min&&(t=Math.max(e.min,t))),this._zoom=t,this._updateCenterAndZoom()},e.prototype.getDefaultCenter=function(){var t=this.getBoundingRect();return[t.x+t.width/2,t.y+t.height/2]},e.prototype.getCenter=function(){return this._center||this.getDefaultCenter()},e.prototype.getZoom=function(){return this._zoom||1},e.prototype.getRoamTransform=function(){return this._roamTransformable.getLocalTransform()},e.prototype._updateCenterAndZoom=function(){var t=this._rawTransformable.getLocalTransform(),e=this._roamTransformable,n=this.getDefaultCenter(),i=this.getCenter(),r=this.getZoom();i=U([],i,t),n=U([],n,t),e.originX=i[0],e.originY=i[1],e.x=n[0]-i[0],e.y=n[1]-i[1],e.scaleX=e.scaleY=r,this._updateTransform()},e.prototype._updateTransform=function(){var t=this._roamTransformable,e=this._rawTransformable;e.parent=t,t.updateTransform(),e.updateTransform(),gt(this.transform||(this.transform=[]),e.transform||[1,0,0,1,0,0]),this._rawTransform=e.getLocalTransform(),this.invTransform=this.invTransform||[],_t(this.invTransform,this.transform),this.decomposeTransform()},e.prototype.getTransformInfo=function(){var t=this._rawTransformable,e=this._roamTransformable,n=new Dn;return n.transform=e.transform,n.decomposeTransform(),{roam:{x:n.x,y:n.y,scaleX:n.scaleX,scaleY:n.scaleY},raw:{x:t.x,y:t.y,scaleX:t.scaleX,scaleY:t.scaleY}}},e.prototype.getViewRect=function(){return this._viewRect},e.prototype.getViewRectAfterRoam=function(){var t=this.getBoundingRect().clone();return t.applyTransform(this.transform),t},e.prototype.dataToPoint=function(t,e,n){var i=e?this._rawTransform:this.transform;return n=n||[],i?iB(n,t,i):m(n,t)},e.prototype.pointToData=function(t){var e=this.invTransform;return e?iB([],t,e):[t[0],t[1]]},e.prototype.convertToPixel=function(t,e,n){var i=rB(e);return i===this?i.dataToPoint(n):null},e.prototype.convertFromPixel=function(t,e,n){var i=rB(e);return i===this?i.pointToData(n):null},e.prototype.containPoint=function(t){return this.getViewRectAfterRoam().contain(t[0],t[1])},e.dimensions=["x","y"],e}(Dn),aB={geoJSON:{aspectScale:.75,invertLongitute:!0},geoSVG:{aspectScale:1,invertLongitute:!1}},sB=["lng","lat"],lB=function(t){function e(e,n,i){var r=t.call(this,e)||this;r.dimensions=sB,r.type="geo",r._nameCoordMap=g.createHashMap(),r.map=n;var o,a=i.projection,s=jS.load(n,i.nameMap,i.nameProperty),l=jS.getGeoResource(n),c=(r.resourceType=l?l.type:null,r.regions=s.regions),u=aB[l.type];if(r._regionsMap=s.regionsMap,r.regions=s.regions,r.projection=a,a)for(var h=0;h<c.length;h++){var d=c[h].getBoundingRect(a);(o=o||d.clone()).union(d)}else o=s.boundingRect;return r.setBoundingRect(o.x,o.y,o.width,o.height),r.aspectScale=a?1:g.retrieve2(i.aspectScale,u.aspectScale),r._invertLongitute=!a&&u.invertLongitute,r}return p(e,t),e.prototype._transformTo=function(t,e,n,i){var r=this.getBoundingRect(),o=this._invertLongitute;r=r.clone(),o&&(r.y=-r.y-r.height);var a=this._rawTransformable;a.transform=r.calculateTransform(new Mt(t,e,n,i));var s=a.parent;a.parent=null,a.decomposeTransform(),a.parent=s,o&&(a.scaleY=-a.scaleY),this._updateTransform()},e.prototype.getRegion=function(t){return this._regionsMap.get(t)},e.prototype.getRegionByCoord=function(t){for(var e=this.regions,n=0;n<e.length;n++){var i=e[n];if("geoJSON"===i.type&&i.contain(t))return e[n]}},e.prototype.addGeoCoord=function(t,e){this._nameCoordMap.set(t,e)},e.prototype.getGeoCoord=function(t){var e=this._regionsMap.get(t);return this._nameCoordMap.get(t)||e&&e.getCenter()},e.prototype.dataToPoint=function(t,e,n){if(g.isString(t)&&(t=this.getGeoCoord(t)),t){var i=this.projection;return i&&(t=i.project(t)),t&&this.projectedToPoint(t,e,n)}},e.prototype.pointToData=function(t){var e=this.projection;return e&&(t=e.unproject(t)),t&&this.pointToProjected(t)},e.prototype.pointToProjected=function(e){return t.prototype.pointToData.call(this,e)},e.prototype.projectedToPoint=function(e,n,i){return t.prototype.dataToPoint.call(this,e,n,i)},e.prototype.convertToPixel=function(t,e,n){var i=cB(e);return i===this?i.dataToPoint(n):null},e.prototype.convertFromPixel=function(t,e,n){var i=cB(e);return i===this?i.pointToData(n):null},e}(oB);function cB(t){var e=t.geoModel,n=t.seriesModel;return e?e.coordinateSystem:n?n.coordinateSystem||(n.getReferringComponents("geo",rr).models[0]||{}).coordinateSystem:null}g.mixin(lB,oB);var uB=lB;function hB(t,e){var n=t.get("boundingCoords");if(null!=n){var i=n[0],r=n[1];if(isFinite(i[0])&&isFinite(i[1])&&isFinite(r[0])&&isFinite(r[1])){var o=this.projection;if(o){var a=i[0],s=i[1],l=r[0],c=r[1];i=[1/0,1/0],r=[-1/0,-1/0];var u=function(t,e,n,a){for(var s=n-t,l=a-e,c=0;c<=100;c++){var u=c/100,h=o.project([t+s*u,e+l*u]);R(i,i,h),Q(r,r,h)}};u(a,s,l,s),u(l,s,l,c),u(l,c,a,c),u(a,c,l,s)}this.setBoundingRect(i[0],i[1],r[0]-i[0],r[1]-i[1])}else 0}var h,d,f,p=this.getBoundingRect(),A=t.get("layoutCenter"),g=t.get("layoutSize"),v=e.getWidth(),m=e.getHeight(),y=p.width/p.height*this.aspectScale,b=!1;if(A&&g&&(h=[pi(A[0],v),pi(A[1],m)],d=pi(g,Math.min(v,m)),isNaN(h[0])||isNaN(h[1])||isNaN(d)||(b=!0)),b)f={},y>1?(f.width=d,f.height=d/y):(f.height=d,f.width=d*y),f.y=h[1]-f.height/2,f.x=h[0]-f.width/2;else{var _=t.getBoxLayoutParams();_.aspect=y,f=gh(_,{width:v,height:m})}this.setViewRect(f.x,f.y,f.width,f.height),this.setCenter(t.get("center"),e),this.setZoom(t.get("zoom"))}var dB=new(function(){function t(){this.dimensions=sB}return t.prototype.create=function(t,e){var n=[];function i(t){return{nameProperty:t.get("nameProperty"),aspectScale:t.get("aspectScale"),projection:t.get("projection")}}t.eachComponent("geo",function(t,r){var o=t.get("map"),a=new uB(o+r,o,g.extend({nameMap:t.get("nameMap")},i(t)));a.zoomLimit=t.get("scaleLimit"),n.push(a),t.coordinateSystem=a,a.model=t,a.resize=hB,a.resize(t,e)}),t.eachSeries(function(t){if("geo"===t.get("coordinateSystem")){var e=t.get("geoIndex")||0;t.coordinateSystem=n[e]}});var r={};return t.eachSeriesByType("map",function(t){if(!t.getHostGeoModel()){var e=t.getMapType();r[e]=r[e]||[],r[e].push(t)}}),g.each(r,function(t,r){var o=g.map(t,function(t){return t.get("nameMap")}),a=new uB(r,r,g.extend({nameMap:g.mergeAll(o)},i(t[0])));a.zoomLimit=g.retrieve.apply(null,g.map(t,function(t){return t.get("scaleLimit")})),n.push(a),a.resize=hB,a.resize(t[0],e),g.each(t,function(t){t.coordinateSystem=a,function(t,e){g.each(e.get("geoCoord"),function(e,n){t.addGeoCoord(n,e)})}(a,t)})}),n},t.prototype.getFilledRegions=function(t,e,n,i){for(var r=(t||[]).slice(),o=g.createHashMap(),a=0;a<r.length;a++)o.set(r[a].name,r[a]);var s=jS.load(e,n,i);return g.each(s.regions,function(t){var e=t.name;!o.get(e)&&r.push({name:e})}),r},t}()),fB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.init=function(t,e,n){var i=jS.getGeoResource(t.map);if(i&&"geoJSON"===i.type){var r=t.itemStyle=t.itemStyle||{};"color"in r||(r.color="#eee")}this.mergeDefaultAndTheme(t,n),Vi(t,"label",["show"])},e.prototype.optionUpdated=function(){var t=this,e=this.option;e.regions=dB.getFilledRegions(e.regions,e.map,e.nameMap,e.nameProperty);var n={};this._optionModelMap=g.reduce(e.regions||[],function(e,i){var r=i.name;return r&&(e.set(r,new du(i,t,t.ecModel)),i.selected&&(n[r]=!0)),e},g.createHashMap()),e.selectedMap||(e.selectedMap=n)},e.prototype.getRegionModel=function(t){return this._optionModelMap.get(t)||new du(null,this,this.ecModel)},e.prototype.getFormattedLabel=function(t,e){var n=this.getRegionModel(t),i="normal"===e?n.get(["label","formatter"]):n.get(["emphasis","label","formatter"]),r={name:t};return g.isFunction(i)?(r.status=e,i(r)):g.isString(i)?i.replace("{a}",null!=t?t:""):void 0},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.select=function(t){var e=this.option,n=e.selectedMode;n&&("multiple"!==n&&(e.selectedMap=null),(e.selectedMap||(e.selectedMap={}))[t]=!0)},e.prototype.unSelect=function(t){var e=this.option.selectedMap;e&&(e[t]=!1)},e.prototype.toggleSelected=function(t){this[this.isSelected(t)?"unSelect":"select"](t)},e.prototype.isSelected=function(t){var e=this.option.selectedMap;return!(!e||!e[t])},e.type="geo",e.layoutMode="box",e.defaultOption={z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},e}(Ch);function pB(t,e){return t.pointToProjected?t.pointToProjected(e):t.pointToData(e)}function AB(t,e,n,i){var r=t.getZoom(),o=t.getCenter(),a=e.zoom,s=t.projectedToPoint?t.projectedToPoint(o):t.dataToPoint(o);if(null!=e.dx&&null!=e.dy&&(s[0]-=e.dx,s[1]-=e.dy,t.setCenter(pB(t,s),i)),null!=a){if(n){var l=n.min||0,c=n.max||1/0;a=Math.max(Math.min(r*a,c),l)/r}t.scaleX*=a,t.scaleY*=a;var u=(e.originX-t.x)*(a-1),h=(e.originY-t.y)*(a-1);t.x-=u,t.y-=h,t.updateTransform(),t.setCenter(pB(t,s),i),t.setZoom(a*r)}return{center:t.getCenter(),zoom:t.getZoom()}}var gB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.focusBlurEnabled=!0,n}return p(e,t),e.prototype.init=function(t,e){this._api=e},e.prototype.render=function(t,e,n,i){if(this._model=t,!t.get("show"))return this._mapDraw&&this._mapDraw.remove(),void(this._mapDraw=null);this._mapDraw||(this._mapDraw=new ZS(n));var r=this._mapDraw;r.draw(t,e,n,this,i),r.group.on("click",this._handleRegionClick,this),r.group.silent=t.get("silent"),this.group.add(r.group),this.updateSelectStatus(t,e,n)},e.prototype._handleRegionClick=function(t){var e;gA(t.target,function(t){return null!=(e=Ta(t).eventData)},!0),e&&this._api.dispatchAction({type:"geoToggleSelect",geoId:this._model.id,name:e.name})},e.prototype.updateSelectStatus=function(t,e,n){var i=this;this._mapDraw.group.traverse(function(t){var e=Ta(t).eventData;if(e)return i._model.isSelected(e.name)?n.enterSelect(t):n.leaveSelect(t),!0})},e.prototype.findHighDownDispatchers=function(t){return this._mapDraw&&this._mapDraw.findHighDownDispatchers(t,this._model)},e.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove()},e.type="geo",e}(fp);function vB(t,e,n){jS.registerMap(t,e,n)}function mB(t){function e(e,n){n.update="geo:updateSelectStatus",t.registerAction(n,function(t,n){var i={},r=[];return n.eachComponent({mainType:"geo",query:t},function(n){n[e](t.name);var o=n.coordinateSystem;Object(g.each)(o.regions,function(t){i[t.name]=n.isSelected(t.name)||!1});var a=[];Object(g.each)(i,function(t,e){i[e]&&a.push(e)}),r.push({geoIndex:n.componentIndex,name:a})}),{selected:i,allSelected:r,name:t.name}})}t.registerCoordinateSystem("geo",dB),t.registerComponentModel(fB),t.registerComponentView(gB),t.registerImpl("registerMap",vB),t.registerImpl("getMap",function(t){return jS.getMapForUser(t)}),e("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),e("select",{type:"geoSelect",event:"geoselected"}),e("unSelect",{type:"geoUnSelect",event:"geounselected"}),t.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},function(t,e,n){var i=t.componentType||"series";e.eachComponent({mainType:i,query:t},function(e){var r=e.coordinateSystem;if("geo"===r.type){var o=AB(r,t,e.get("scaleLimit"),n);e.setCenter&&e.setCenter(o.center),e.setZoom&&e.setZoom(o.zoom),"series"===i&&Object(g.each)(e.seriesGroup,function(t){t.setCenter(o.center),t.setZoom(o.zoom)})}})})}function yB(t,e){var n=t.isExpand?t.children:[],i=t.parentNode.children,r=t.hierNode.i?i[t.hierNode.i-1]:null;if(n.length){!function(t){var e=t.children,n=e.length,i=0,r=0;for(;--n>=0;){var o=e[n];o.hierNode.prelim+=i,o.hierNode.modifier+=i,r+=o.hierNode.change,i+=o.hierNode.shift+r}}(t);var o=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;r?(t.hierNode.prelim=r.hierNode.prelim+e(t,r),t.hierNode.modifier=t.hierNode.prelim-o):t.hierNode.prelim=o}else r&&(t.hierNode.prelim=r.hierNode.prelim+e(t,r));t.parentNode.hierNode.defaultAncestor=function(t,e,n,i){if(e){for(var r=t,o=t,a=o.parentNode.children[0],s=e,l=r.hierNode.modifier,c=o.hierNode.modifier,u=a.hierNode.modifier,h=s.hierNode.modifier;s=xB(s),o=CB(o),s&&o;){r=xB(r),a=CB(a),r.hierNode.ancestor=t;var d=s.hierNode.prelim+h-o.hierNode.prelim-c+i(s,o);d>0&&(BB(SB(s,t,n),t,d),c+=d,l+=d),h+=s.hierNode.modifier,c+=o.hierNode.modifier,l+=r.hierNode.modifier,u+=a.hierNode.modifier}s&&!xB(r)&&(r.hierNode.thread=s,r.hierNode.modifier+=h-l),o&&!CB(a)&&(a.hierNode.thread=o,a.hierNode.modifier+=c-u,n=t)}return n}(t,r,t.parentNode.hierNode.defaultAncestor||i[0],e)}function bB(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function _B(t){return arguments.length?t:kB}function wB(t,e){return t-=Math.PI/2,{x:e*Math.cos(t),y:e*Math.sin(t)}}function xB(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function CB(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function SB(t,e,n){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:n}function BB(t,e,n){var i=n/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=i,e.hierNode.shift+=n,e.hierNode.modifier+=n,e.hierNode.prelim+=n,t.hierNode.change+=i}function kB(t,e){return t.parentNode===e.parentNode?1:2}var TB=function(){return function(){this.parentPoint=[],this.childPoints=[]}}(),OB=function(t){function e(e){return t.call(this,e)||this}return p(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new TB},e.prototype.buildPath=function(t,e){var n=e.childPoints,i=n.length,r=e.parentPoint,o=n[0],a=n[i-1];if(1===i)return t.moveTo(r[0],r[1]),void t.lineTo(o[0],o[1]);var s=e.orient,l="TB"===s||"BT"===s?0:1,c=1-l,u=pi(e.forkPosition,1),h=[];h[l]=r[l],h[c]=r[c]+(a[c]-r[c])*u,t.moveTo(r[0],r[1]),t.lineTo(h[0],h[1]),t.moveTo(o[0],o[1]),h[l]=o[l],t.lineTo(h[0],h[1]),h[l]=a[l],t.lineTo(h[0],h[1]),t.lineTo(a[0],a[1]);for(var d=1;d<i-1;d++){var f=n[d];t.moveTo(f[0],f[1]),h[l]=f[l],t.lineTo(h[0],h[1])}},e}(Xo);function EB(t,e){var n=t.getItemLayout(e);return n&&!isNaN(n.x)&&!isNaN(n.y)}function IB(t,e,n,i,r){var o=!n,a=t.tree.getNodeByDataIndex(e),s=a.getModel(),l=a.getVisual("style").fill,c=!1===a.isExpand&&0!==a.children.length?l:"#fff",u=t.tree.root,h=a.parentNode===u?a:a.parentNode||a,d=t.getItemGraphicEl(h.dataIndex),f=h.getLayout(),p=d?{x:d.__oldX,y:d.__oldY,rawX:d.__radialOldRawX,rawY:d.__radialOldRawY}:f,A=a.getLayout();o?((n=new uw(t,e,null,{symbolInnerColor:c,useNameLabel:!0})).x=p.x,n.y=p.y):n.updateData(t,e,null,{symbolInnerColor:c,useNameLabel:!0}),n.__radialOldRawX=n.__radialRawX,n.__radialOldRawY=n.__radialRawY,n.__radialRawX=A.rawX,n.__radialRawY=A.rawY,i.add(n),t.setItemGraphicEl(e,n),n.__oldX=n.x,n.__oldY=n.y,ec(n,{x:A.x,y:A.y},r);var v=n.getSymbolPath();if("radial"===r.get("layout")){var m=u.children[0],y=m.getLayout(),b=m.children.length,_=void 0,w=void 0;if(A.x===y.x&&!0===a.isExpand&&m.children.length){var x={x:(m.children[0].getLayout().x+m.children[b-1].getLayout().x)/2,y:(m.children[0].getLayout().y+m.children[b-1].getLayout().y)/2};(_=Math.atan2(x.y-y.y,x.x-y.x))<0&&(_=2*Math.PI+_),(w=x.x<y.x)&&(_-=Math.PI)}else(_=Math.atan2(A.y-y.y,A.x-y.x))<0&&(_=2*Math.PI+_),0===a.children.length||0!==a.children.length&&!1===a.isExpand?(w=A.x<y.x)&&(_-=Math.PI):(w=A.x>y.x)||(_-=Math.PI);var C=w?"left":"right",S=s.getModel("label"),B=S.get("rotate"),k=B*(Math.PI/180),T=v.getTextContent();T&&(v.setTextConfig({position:S.get("position")||C,rotation:null==B?-_:k,origin:"center"}),T.setStyle("verticalAlign","middle"))}var O=s.get(["emphasis","focus"]),E="relative"===O?g.concatArray(a.getAncestorsIndices(),a.getDescendantIndices()):"ancestor"===O?a.getAncestorsIndices():"descendant"===O?a.getDescendantIndices():null;E&&(Ta(n).focus=E),function(t,e,n,i,r,o,a,s){var l=e.getModel(),c=t.get("edgeShape"),u=t.get("layout"),h=t.getOrient(),d=t.get(["lineStyle","curveness"]),f=t.get("edgeForkPosition"),p=l.getModel("lineStyle").getLineStyle(),A=i.__edge;if("curve"===c)e.parentNode&&e.parentNode!==n&&(A||(A=i.__edge=new Nl({shape:FB(u,h,d,r,r)})),ec(A,{shape:FB(u,h,d,o,a)},t));else if("polyline"===c)if("orthogonal"===u){if(e!==n&&e.children&&0!==e.children.length&&!0===e.isExpand){for(var v=e.children,m=[],y=0;y<v.length;y++){var b=v[y].getLayout();m.push([b.x,b.y])}A||(A=i.__edge=new OB({shape:{parentPoint:[a.x,a.y],childPoints:[[a.x,a.y]],orient:h,forkPosition:f}})),ec(A,{shape:{parentPoint:[a.x,a.y],childPoints:m}},t)}}else 0;A&&("polyline"!==c||e.isExpand)&&(A.useStyle(g.defaults({strokeNoScale:!0,fill:null},p)),Bs(A,l,"lineStyle"),as(A),s.add(A))}(r,a,u,n,p,f,A,i),n.__edge&&(n.onHoverStateChange=function(e){if("blur"!==e){var i=a.parentNode&&t.getItemGraphicEl(a.parentNode.dataIndex);i&&i.hoverState===Fa||rs(n.__edge,e)}})}function MB(t,e,n,i,r){var o=DB(e.tree.root,t),a=o.source,s=o.sourceLayout,l=e.getItemGraphicEl(t.dataIndex);if(l){var c=e.getItemGraphicEl(a.dataIndex).__edge,u=l.__edge||(!1===a.isExpand||1===a.children.length?c:void 0),h=i.get("edgeShape"),d=i.get("layout"),f=i.get("orient"),p=i.get(["lineStyle","curveness"]);u&&("curve"===h?rc(u,{shape:FB(d,f,p,s,s),style:{opacity:0}},i,{cb:function(){n.remove(u)},removeOpt:r}):"polyline"===h&&"orthogonal"===i.get("layout")&&rc(u,{shape:{parentPoint:[s.x,s.y],childPoints:[[s.x,s.y]]},style:{opacity:0}},i,{cb:function(){n.remove(u)},removeOpt:r}))}}function DB(t,e){for(var n,i=e.parentNode===t?e:e.parentNode||e;null==(n=i.getLayout());)i=i.parentNode===t?i:i.parentNode||i;return{source:i,sourceLayout:n}}function LB(t,e,n,i,r){var o=t.tree.getNodeByDataIndex(e),a=DB(t.tree.root,o).sourceLayout,s={duration:r.get("animationDurationUpdate"),easing:r.get("animationEasingUpdate")};rc(n,{x:a.x+1,y:a.y+1},r,{cb:function(){i.remove(n),t.setItemGraphicEl(e,null)},removeOpt:s}),n.fadeOut(null,t.hostModel,{fadeLabel:!0,animation:s}),o.children.forEach(function(e){MB(e,t,i,r,s)}),MB(o,t,i,r,s)}function FB(t,e,n,i,r){var o,a,s,l,c,u,h,d;if("radial"===t){c=i.rawX,h=i.rawY,u=r.rawX,d=r.rawY;var f=wB(c,h),p=wB(c,h+(d-h)*n),A=wB(u,d+(h-d)*n),g=wB(u,d);return{x1:f.x||0,y1:f.y||0,x2:g.x||0,y2:g.y||0,cpx1:p.x||0,cpy1:p.y||0,cpx2:A.x||0,cpy2:A.y||0}}return c=i.x,h=i.y,u=r.x,d=r.y,"LR"!==e&&"RL"!==e||(o=c+(u-c)*n,a=h,s=u+(c-u)*n,l=d),"TB"!==e&&"BT"!==e||(o=c,a=h+(d-h)*n,s=u,l=d+(h-d)*n),{x1:c,y1:h,x2:u,y2:d,cpx1:o,cpy1:a,cpx2:s,cpy2:l}}var PB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._mainGroup=new ei,n}return p(e,t),e.prototype.init=function(t,e){this._controller=new tS(e.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},e.prototype.render=function(t,e,n){var i=t.getData(),r=t.layoutInfo,o=this._mainGroup;"radial"===t.get("layout")?(o.x=r.x+r.width/2,o.y=r.y+r.height/2):(o.x=r.x,o.y=r.y),this._updateViewCoordSys(t,n),this._updateController(t,e,n);var a=this._data;i.diff(a).add(function(e){EB(i,e)&&IB(i,e,null,o,t)}).update(function(e,n){var r=a.getItemGraphicEl(n);EB(i,e)?IB(i,e,r,o,t):r&&LB(a,n,r,o,t)}).remove(function(e){var n=a.getItemGraphicEl(e);n&&LB(a,e,n,o,t)}).execute(),this._nodeScaleRatio=t.get("nodeScaleRatio"),this._updateNodeAndLinkScale(t),!0===t.get("expandAndCollapse")&&i.eachItemGraphicEl(function(e,i){e.off("click").on("click",function(){n.dispatchAction({type:"treeExpandAndCollapse",seriesId:t.id,dataIndex:i})})}),this._data=i},e.prototype._updateViewCoordSys=function(t,e){var n=t.getData(),i=[];n.each(function(t){var e=n.getItemLayout(t);!e||isNaN(e.x)||isNaN(e.y)||i.push([+e.x,+e.y])});var r=[],o=[];io(i,r,o);var a=this._min,s=this._max;o[0]-r[0]==0&&(r[0]=a?a[0]:r[0]-1,o[0]=s?s[0]:o[0]+1),o[1]-r[1]==0&&(r[1]=a?a[1]:r[1]-1,o[1]=s?s[1]:o[1]+1);var l=t.coordinateSystem=new oB;l.zoomLimit=t.get("scaleLimit"),l.setBoundingRect(r[0],r[1],o[0]-r[0],o[1]-r[1]),l.setCenter(t.get("center"),e),l.setZoom(t.get("zoom")),this.group.attr({x:l.x,y:l.y,scaleX:l.scaleX,scaleY:l.scaleY}),this._min=r,this._max=o},e.prototype._updateController=function(t,e,n){var i=this,r=this._controller,o=this._controllerHost,a=this.group;r.setPointerChecker(function(e,i,r){var o=a.getBoundingRect();return o.applyTransform(a.transform),o.contain(i,r)&&!oS(e,n,t)}),r.enable(t.get("roam")),o.zoomLimit=t.get("scaleLimit"),o.zoom=t.coordinateSystem.getZoom(),r.off("pan").off("zoom").on("pan",function(e){eS(o,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"treeRoam",dx:e.dx,dy:e.dy})}).on("zoom",function(e){nS(o,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"treeRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),i._updateNodeAndLinkScale(t),n.updateLabelLayout()})},e.prototype._updateNodeAndLinkScale=function(t){var e=t.getData(),n=this._getNodeGlobalScale(t);e.eachItemGraphicEl(function(t,e){t.setSymbolScale(n)})},e.prototype._getNodeGlobalScale=function(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var n=this._nodeScaleRatio,i=e.scaleX||1;return((e.getZoom()-1)*n+1)/i},e.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},e.prototype.remove=function(){this._mainGroup.removeAll(),this._data=null},e.type="tree",e}(xp),NB=tr();function jB(t,e){if(NB(i=this).mainData===i){var n=Object(g.extend)({},NB(this).datas);n[this.dataType]=e,VB(e,n,t)}else zB(e,this.dataType,NB(this).mainData,t);var i;return e}function UB(t,e){return t.struct&&t.struct.update(),e}function RB(t,e){return Object(g.each)(NB(e).datas,function(n,i){n!==e&&zB(n.cloneShallow(),i,e,t)}),e}function QB(t){var e=NB(this).mainData;return null==t||null==e?e:NB(e).datas[t]}function HB(){var t=NB(this).mainData;return null==t?[{data:t}]:Object(g.map)(Object(g.keys)(NB(t).datas),function(e){return{type:e,data:NB(t).datas[e]}})}function VB(t,e,n){NB(t).datas={},Object(g.each)(e,function(e,i){zB(e,i,t,n)})}function zB(t,e,n,i){NB(n).datas[e]=t,NB(t).mainData=n,t.dataType=e,i.struct&&(t[i.structAttr]=i.struct,i.struct[i.datasAttr[e]]=t),t.getLinkedData=QB,t.getLinkedDataAll=HB}var $B=function(t){var e=t.mainData,n=t.datas;n||(n={main:e},t.datasAttr={main:"data"}),t.datas=t.mainData=null,VB(e,n,t),Object(g.each)(n,function(n){Object(g.each)(e.TRANSFERABLE_METHODS,function(e){n.wrapMethod(e,Object(g.curry)(jB,t))})}),e.wrapMethod("cloneShallow",Object(g.curry)(RB,t)),Object(g.each)(e.CHANGABLE_METHODS,function(n){e.wrapMethod(n,Object(g.curry)(UB,t))}),Object(g.assert)(n[e.dataType]===e)},GB=function(){function t(t,e){this.depth=0,this.height=0,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.isExpand=!1,this.name=t||"",this.hostTree=e}return t.prototype.isRemoved=function(){return this.dataIndex<0},t.prototype.eachNode=function(t,e,n){g.isFunction(t)&&(n=e,e=t,t=null),t=t||{},g.isString(t)&&(t={order:t});var i,r=t.order||"preorder",o=this[t.attr||"children"];"preorder"===r&&(i=e.call(n,this));for(var a=0;!i&&a<o.length;a++)o[a].eachNode(t,e,n);"postorder"===r&&e.call(n,this)},t.prototype.updateDepthAndHeight=function(t){var e=0;this.depth=t;for(var n=0;n<this.children.length;n++){var i=this.children[n];i.updateDepthAndHeight(t+1),i.height>e&&(e=i.height)}this.height=e+1},t.prototype.getNodeById=function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,i=n.length;e<i;e++){var r=n[e].getNodeById(t);if(r)return r}},t.prototype.contains=function(t){if(t===this)return!0;for(var e=0,n=this.children,i=n.length;e<i;e++){var r=n[e].contains(t);if(r)return r}},t.prototype.getAncestors=function(t){for(var e=[],n=t?this:this.parentNode;n;)e.push(n),n=n.parentNode;return e.reverse(),e},t.prototype.getAncestorsIndices=function(){for(var t=[],e=this;e;)t.push(e.dataIndex),e=e.parentNode;return t.reverse(),t},t.prototype.getDescendantIndices=function(){var t=[];return this.eachNode(function(e){t.push(e.dataIndex)}),t},t.prototype.getValue=function(t){var e=this.hostTree.data;return e.getStore().get(e.getDimensionIndex(t||"value"),this.dataIndex)},t.prototype.setLayout=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},t.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},t.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostTree.data.getItemModel(this.dataIndex).getModel(t)},t.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},t.prototype.setVisual=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},t.prototype.getVisual=function(t){return this.hostTree.data.getItemVisual(this.dataIndex,t)},t.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},t.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},t.prototype.getChildIndex=function(){if(this.parentNode){for(var t=this.parentNode.children,e=0;e<t.length;++e)if(t[e]===this)return e;return-1}return-1},t.prototype.isAncestorOf=function(t){for(var e=t.parentNode;e;){if(e===this)return!0;e=e.parentNode}return!1},t.prototype.isDescendantOf=function(t){return t!==this&&t.isAncestorOf(this)},t}();var WB=function(){function t(t){this.type="tree",this._nodes=[],this.hostModel=t}return t.prototype.eachNode=function(t,e,n){this.root.eachNode(t,e,n)},t.prototype.getNodeByDataIndex=function(t){var e=this.data.getRawIndex(t);return this._nodes[e]},t.prototype.getNodeById=function(t){return this.root.getNodeById(t)},t.prototype.update=function(){for(var t=this.data,e=this._nodes,n=0,i=e.length;n<i;n++)e[n].dataIndex=-1;for(n=0,i=t.count();n<i;n++)e[t.getRawIndex(n)].dataIndex=n},t.prototype.clearLayouts=function(){this.data.clearItemLayouts()},t.createTree=function(e,n,i){var r=new t(n),o=[],a=1;!function t(e,n){var i=e.value;a=Math.max(a,g.isArray(i)?i.length:1);o.push(e);var s=new GB(Xi(e.name,""),r);n?function(t,e){var n=e.children;if(t.parentNode===e)return;n.push(t),t.parentNode=e}(s,n):r.root=s;r._nodes.push(s);var l=e.children;if(l)for(var c=0;c<l.length;c++)t(l[c],s)}(e),r.root.updateDepthAndHeight(0);var s=am(o,{coordDimensions:["value"],dimensionsCount:a}).dimensions,l=new rm(s,n);return l.initData(o),i&&i(l),$B({mainData:l,struct:r,structAttr:"tree"}),r.update(),r},t}();function KB(t,e,n){if(t&&g.indexOf(e,t.type)>=0){var i=n.getData().tree.root,r=t.targetNode;if(g.isString(r)&&(r=i.getNodeById(r)),r&&i.contains(r))return{node:r};var o=t.targetNodeId;if(null!=o&&(r=i.getNodeById(o)))return{node:r}}}function YB(t){for(var e=[];t;)(t=t.parentNode)&&e.push(t);return e.reverse()}function XB(t,e){var n=YB(t);return g.indexOf(n,e)>=0}function qB(t,e){for(var n=[];t;){var i=t.dataIndex;n.push({name:t.name,dataIndex:i,value:e.getRawValue(i)}),t=t.parentNode}return n.reverse(),n}var ZB=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasSymbolVisual=!0,e.ignoreStyleOnData=!0,e}return p(e,t),e.prototype.getInitialData=function(t){var e={name:t.name,children:t.data},n=t.leaves||{},i=new du(n,this,this.ecModel),r=WB.createTree(e,this,function(t){t.wrapMethod("getItemModel",function(t,e){var n=r.getNodeByDataIndex(e);return n&&n.children.length&&n.isExpand||(t.parentModel=i),t})});var o=0;r.eachNode("preorder",function(t){t.depth>o&&(o=t.depth)});var a=t.expandAndCollapse&&t.initialTreeDepth>=0?t.initialTreeDepth:o;return r.root.eachNode("preorder",function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=a}),r.data},e.prototype.getOrient=function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.formatTooltip=function(t,e,n){for(var i=this.getData().tree,r=i.root.children[0],o=i.getNodeByDataIndex(t),a=o.getValue(),s=o.name;o&&o!==r;)s=o.parentNode.name+"."+s,o=o.parentNode;return Hf("nameValue",{name:s,value:a,noValue:isNaN(a)||null==a})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=qB(i,this),n.collapsed=!i.isExpand,n},e.type="series.tree",e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},e}(hp);function JB(t,e){for(var n,i=[t];n=i.pop();)if(e(n),n.isExpand){var r=n.children;if(r.length)for(var o=r.length-1;o>=0;o--)i.push(r[o])}}function tk(t,e){t.eachSeriesByType("tree",function(t){!function(t,e){var n=function(t,e){return gh(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=n;var i=t.get("layout"),r=0,o=0,a=null;"radial"===i?(r=2*Math.PI,o=Math.min(n.height,n.width)/2,a=_B(function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth})):(r=n.width,o=n.height,a=_B());var s=t.getData().tree.root,l=s.children[0];if(l){!function(t){var e=t;e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var n,i,r=[e];n=r.pop();)if(i=n.children,n.isExpand&&i.length)for(var o=i.length-1;o>=0;o--){var a=i[o];a.hierNode={defaultAncestor:null,ancestor:a,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},r.push(a)}}(s),function(t,e,n){for(var i,r=[t],o=[];i=r.pop();)if(o.push(i),i.isExpand){var a=i.children;if(a.length)for(var s=0;s<a.length;s++)r.push(a[s])}for(;i=o.pop();)e(i,n)}(l,yB,a),s.hierNode.modifier=-l.hierNode.prelim,JB(l,bB);var c=l,u=l,h=l;JB(l,function(t){var e=t.getLayout().x;e<c.getLayout().x&&(c=t),e>u.getLayout().x&&(u=t),t.depth>h.depth&&(h=t)});var d=c===u?1:a(c,u)/2,f=d-c.getLayout().x,p=0,A=0,g=0,v=0;if("radial"===i)p=r/(u.getLayout().x+d+f),A=o/(h.depth-1||1),JB(l,function(t){g=(t.getLayout().x+f)*p,v=(t.depth-1)*A;var e=wB(g,v);t.setLayout({x:e.x,y:e.y,rawX:g,rawY:v},!0)});else{var m=t.getOrient();"RL"===m||"LR"===m?(A=o/(u.getLayout().x+d+f),p=r/(h.depth-1||1),JB(l,function(t){v=(t.getLayout().x+f)*A,g="LR"===m?(t.depth-1)*p:r-(t.depth-1)*p,t.setLayout({x:g,y:v},!0)})):"TB"!==m&&"BT"!==m||(p=r/(u.getLayout().x+d+f),A=o/(h.depth-1||1),JB(l,function(t){g=(t.getLayout().x+f)*p,v="TB"===m?(t.depth-1)*A:o-(t.depth-1)*A,t.setLayout({x:g,y:v},!0)}))}}}(t,e)})}function ek(t){t.eachSeriesByType("tree",function(t){var e=t.getData();e.tree.eachNode(function(t){var n=t.getModel().getModel("itemStyle").getItemStyle(),i=e.ensureUniqueItemVisual(t.dataIndex,"style");Object(g.extend)(i,n)})})}var nk=["treemapZoomToNode","treemapRender","treemapMove"];function ik(t){var e={};t.getData().tree.eachNode(function(n){for(var i=n;i&&i.depth>1;)i=i.parentNode;var r=qh(t.ecModel,i.name||i.dataIndex+"",e);n.setVisual("decal",r)})}var rk=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.preventUsingHoverLayer=!0,n}return p(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};!function t(e){var n=0;g.each(e.children,function(e){t(e);var i=e.value;g.isArray(i)&&(i=i[0]),n+=i});var i=e.value;g.isArray(i)&&(i=i[0]);(null==i||isNaN(i))&&(i=n);i<0&&(i=0);g.isArray(e.value)?e.value[0]=i:e.value=i}(n);var i=t.levels||[],r=this.designatedVisualItemStyle={},o=new du({itemStyle:r},this,e);i=t.levels=function(t,e){var n,i,r=Hi(e.get("color")),o=Hi(e.get(["aria","decal","decals"]));if(!r)return;t=t||[],g.each(t,function(t){var e=new du(t),r=e.get("color"),o=e.get("decal");(e.get(["itemStyle","color"])||r&&"none"!==r)&&(n=!0),(e.get(["itemStyle","decal"])||o&&"none"!==o)&&(i=!0)});var a=t[0]||(t[0]={});n||(a.color=r.slice());!i&&o&&(a.decal=o.slice());return t}(i,e);var a=g.map(i||[],function(t){return new du(t,o,e)},this),s=WB.createTree(n,this,function(t){t.wrapMethod("getItemModel",function(t,e){var n=s.getNodeByDataIndex(e),i=n?a[n.depth]:null;return t.parentModel=i||o,t})});return s.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=this.getRawValue(t);return Hf("nameValue",{name:i.getName(t),value:r})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=qB(i,this),n.treePathInfo=n.treeAncestors,n},e.prototype.setLayoutInfo=function(t){this.layoutInfo=this.layoutInfo||{},g.extend(this.layoutInfo,t)},e.prototype.mapIdToIndex=function(t){var e=this._idIndexMap;e||(e=this._idIndexMap=g.createHashMap(),this._idIndexMapCount=0);var n=e.get(t);return null==n&&e.set(t,n=this._idIndexMapCount++),n},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},e.prototype.enableAriaDecal=function(){ik(this)},e.type="series.treemap",e.layoutMode="box",e.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.1024,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},e}(hp),ok=5;function ak(t,e,n,i,r,o){var a=[[r?t:t-ok,e],[t+n,e],[t+n,e+i],[r?t:t-ok,e+i]];return!o&&a.splice(2,0,[t+n+ok,e+i/2]),!r&&a.push([t,e+i/2]),a}function sk(t,e,n){Ta(t).eventData={componentType:"series",componentSubType:"treemap",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&qB(n,e)}}var lk=function(){function t(t){this.group=new ei,t.add(this.group)}return t.prototype.render=function(t,e,n,i){var r=t.getModel("breadcrumb"),o=this.group;if(o.removeAll(),r.get("show")&&n){var a=r.getModel("itemStyle"),s=r.getModel("emphasis"),l=a.getModel("textStyle"),c=s.getModel(["itemStyle","textStyle"]),u={pos:{left:r.get("left"),right:r.get("right"),top:r.get("top"),bottom:r.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:r.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,u,l),this._renderContent(t,u,a,s,l,c,i),vh(o,u.pos,u.box)}},t.prototype._prepare=function(t,e,n){for(var i=t;i;i=i.parentNode){var r=Xi(i.getModel().get("name"),""),o=n.getTextRect(r),a=Math.max(o.width+16,e.emptyItemWidth);e.totalWidth+=a+8,e.renderList.push({node:i,text:r,width:a})}},t.prototype._renderContent=function(t,e,n,i,r,o,a){for(var s,l,c,u,h,d,f,p,A,v=0,m=e.emptyItemWidth,y=t.get(["breadcrumb","height"]),b=(s=e.pos,l=e.box,u=l.width,h=l.height,d=pi(s.left,u),f=pi(s.top,h),p=pi(s.right,u),A=pi(s.bottom,h),(isNaN(d)||isNaN(parseFloat(s.left)))&&(d=0),(isNaN(p)||isNaN(parseFloat(s.right)))&&(p=u),(isNaN(f)||isNaN(parseFloat(s.top)))&&(f=0),(isNaN(A)||isNaN(parseFloat(s.bottom)))&&(A=h),c=eh(c||0),{width:Math.max(p-d-c[1]-c[3],0),height:Math.max(A-f-c[0]-c[2],0)}),_=e.totalWidth,w=e.renderList,x=i.getModel("itemStyle").getItemStyle(),C=w.length-1;C>=0;C--){var S=w[C],B=S.node,k=S.width,T=S.text;_>b.width&&(_-=k-m,k=m,T=null);var O=new Sl({shape:{points:ak(v,0,k,y,C===w.length-1,0===C)},style:Object(g.defaults)(n.getItemStyle(),{lineJoin:"bevel"}),textContent:new ka({style:Vc(r,{text:T})}),textConfig:{position:"inside"},z2:1e4*Ua,onclick:Object(g.curry)(a,B)});O.disableLabelAnimation=!0,O.getTextContent().ensureState("emphasis").style=Vc(o,{text:T}),O.ensureState("emphasis").style=x,ws(O,i.get("focus"),i.get("blurScope"),i.get("disabled")),this.group.add(O),sk(O,t,B),v+=k+8}},t.prototype.remove=function(){this.group.removeAll()},t}(),ck=function(){function t(){this._storage=[],this._elExistsMap={}}return t.prototype.add=function(t,e,n,i,r){return!this._elExistsMap[t.id]&&(this._elExistsMap[t.id]=!0,this._storage.push({el:t,target:e,duration:n,delay:i,easing:r}),!0)},t.prototype.finished=function(t){return this._finishedCallback=t,this},t.prototype.start=function(){for(var t=this,e=this._storage.length,n=function(){--e<=0&&(t._storage.length=0,t._elExistsMap={},t._finishedCallback&&t._finishedCallback())},i=0,r=this._storage.length;i<r;i++){var o=this._storage[i];o.el.animateTo(o.target,{duration:o.duration,delay:o.delay,easing:o.easing,setToFinal:!0,done:n,aborted:n})}return this},t}();var uk=ei,hk=ha,dk="label",fk="upperLabel",pk=10*Ua,Ak=2*Ua,gk=3*Ua,vk=br([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),mk=function(t){var e=vk(t);return e.stroke=e.fill=e.lineWidth=null,e},yk=tr();var bk=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._state="ready",n._storage={nodeGroup:[],background:[],content:[]},n}return p(e,t),e.prototype.render=function(t,e,n,i){var r=e.findComponents({mainType:"series",subType:"treemap",query:i});if(!(Object(g.indexOf)(r,t)<0)){this.seriesModel=t,this.api=n,this.ecModel=e;var o=KB(i,["treemapZoomToNode","treemapRootToNode"],t),a=i&&i.type,s=t.layoutInfo,l=!this._oldTree,c=this._storage,u="treemapRootToNode"===a&&o&&c?{rootNodeGroup:c.nodeGroup[o.node.getRawIndex()],direction:i.direction}:null,h=this._giveContainerGroup(s),d=t.get("animation"),f=this._doRender(h,t,u);!d||l||a&&"treemapZoomToNode"!==a&&"treemapRootToNode"!==a?f.renderFinally():this._doAnimation(h,f,t,u),this._resetController(n),this._renderBreadcrumb(t,n,o)}},e.prototype._giveContainerGroup=function(t){var e=this._containerGroup;return e||(e=this._containerGroup=new uk,this._initEvents(e),this.group.add(e)),e.x=t.x,e.y=t.y,e},e.prototype._doRender=function(t,e,n){var i=e.getData().tree,r=this._oldTree,o={nodeGroup:[],background:[],content:[]},a={nodeGroup:[],background:[],content:[]},s=this._storage,l=[];function c(t,i,r,c){return function(t,e,n,i,r,o,a,s,l,c){if(!a)return;var u=a.getLayout(),h=t.getData(),d=a.getModel();if(h.setItemGraphicEl(a.dataIndex,null),!u||!u.isInView)return;var f=u.width,p=u.height,A=u.borderWidth,v=u.invisible,m=a.getRawIndex(),y=s&&s.getRawIndex(),b=a.viewChildren,_=u.upperHeight,w=b&&b.length,x=d.getModel("itemStyle"),C=d.getModel(["emphasis","itemStyle"]),S=d.getModel(["blur","itemStyle"]),B=d.getModel(["select","itemStyle"]),k=x.get("borderRadius")||0,T=U("nodeGroup",uk);if(!T)return;if(l.add(T),T.x=u.x||0,T.y=u.y||0,T.markRedraw(),yk(T).nodeWidth=f,yk(T).nodeHeight=p,u.isAboveViewRoot)return T;var O=U("background",hk,c,Ak);O&&function(e,n,i){var r=Ta(n);if(r.dataIndex=a.dataIndex,r.seriesIndex=t.seriesIndex,n.setShape({x:0,y:0,width:f,height:p,r:k}),v)P(n);else{n.invisible=!1;var o=a.getVisual("style"),s=o.stroke,l=mk(x);l.fill=s;var c=vk(C);c.fill=C.get("borderColor");var u=vk(S);u.fill=S.get("borderColor");var h=vk(B);if(h.fill=B.get("borderColor"),i){var d=f-2*A;N(n,s,o.opacity,{x:A,y:0,width:d,height:_})}else n.removeTextContent();n.setStyle(l),n.ensureState("emphasis").style=c,n.ensureState("blur").style=u,n.ensureState("select").style=h,as(n)}e.add(n)}(T,O,w&&u.upperLabelHeight);var E=d.getModel("emphasis"),I=E.get("focus"),M=E.get("blurScope"),D=E.get("disabled"),L="ancestor"===I?a.getAncestorsIndices():"descendant"===I?a.getDescendantIndices():I;if(w)Ts(T)&&ks(T,!1),O&&(ks(O,!D),h.setItemGraphicEl(a.dataIndex,O),xs(O,L,M));else{var F=U("content",hk,c,gk);F&&function(e,n){var i=Ta(n);i.dataIndex=a.dataIndex,i.seriesIndex=t.seriesIndex;var r=Math.max(f-2*A,0),o=Math.max(p-2*A,0);if(n.culling=!0,n.setShape({x:A,y:A,width:r,height:o,r:k}),v)P(n);else{n.invisible=!1;var s=a.getVisual("style"),l=s.fill,c=mk(x);c.fill=l,c.decal=s.decal;var u=vk(C),h=vk(S),d=vk(B);N(n,l,s.opacity,null),n.setStyle(c),n.ensureState("emphasis").style=u,n.ensureState("blur").style=h,n.ensureState("select").style=d,as(n)}e.add(n)}(T,F),O.disableMorphing=!0,O&&Ts(O)&&ks(O,!1),ks(T,!D),h.setItemGraphicEl(a.dataIndex,T),xs(T,L,M)}return T;function P(t){!t.invisible&&o.push(t)}function N(e,n,i,r){var o=d.getModel(r?fk:dk),s=Xi(d.get("name"),null),l=o.getShallow("show");Qc(e,Hc(d,r?fk:dk),{defaultText:l?s:null,inheritColor:n,defaultOpacity:i,labelFetcher:t,labelDataIndex:a.dataIndex});var c=e.getTextContent();if(c){var h=c.style,f=Object(g.normalizeCssArray)(h.padding||0);r&&(e.setTextConfig({layoutRect:r}),c.disableLabelLayout=!0),c.beforeUpdate=function(){var t=Math.max((r?r.width:e.shape.width)-f[1]-f[3],0),n=Math.max((r?r.height:e.shape.height)-f[0]-f[2],0);h.width===t&&h.height===n||c.setStyle({width:t,height:n})},h.truncateMinChar=2,h.lineOverflow="truncate",j(h,r,u);var p=c.getState("emphasis");j(p?p.style:null,r,u)}}function j(e,n,i){var r=e?e.text:null;if(!n&&i.isLeafRoot&&null!=r){var o=t.get("drillDownIcon",!0);e.text=o?o+" "+r:r}}function U(t,o,s,l){var c=null!=y&&n[t][y],u=r[t];return c?(n[t][y]=null,function(t,e){var n=t[m]={};e instanceof uk?(n.oldX=e.x,n.oldY=e.y):n.oldShape=Object(g.extend)({},e.shape)}(u,c)):v||((c=new o)instanceof Kr&&(c.z2=function(t,e){return t*pk+e}(s,l)),function(t,e){var n=t[m]={},o=a.parentNode,s=e instanceof ei;if(o&&(!i||"drillDown"===i.direction)){var l=0,c=0,u=r.background[o.getRawIndex()];!i&&u&&u.oldShape&&(l=u.oldShape.width,c=u.oldShape.height),s?(n.oldX=0,n.oldY=c):n.oldShape={x:l,y:c,width:0,height:0}}n.fadein=!s}(u,c)),e[t][m]=c}}(e,a,s,n,o,l,t,i,r,c)}!function t(e,n,i,r,o){r?(n=e,Object(g.each)(e,function(t,e){!t.isRemoved()&&s(e,e)})):new Lv(n,e,a,a).add(s).update(s).remove(Object(g.curry)(s,null)).execute();function a(t){return t.getId()}function s(a,s){var l=null!=a?e[a]:null,u=null!=s?n[s]:null,h=c(l,u,i,o);h&&t(l&&l.viewChildren||[],u&&u.viewChildren||[],h,r,o+1)}}(i.root?[i.root]:[],r&&r.root?[r.root]:[],t,i===r||!r,0);var u=function(t){var e={nodeGroup:[],background:[],content:[]};return t&&Object(g.each)(t,function(t,n){var i=e[n];Object(g.each)(t,function(t){t&&(i.push(t),yk(t).willDelete=!0)})}),e}(s);return this._oldTree=i,this._storage=a,{lastsForAnimation:o,willDeleteEls:u,renderFinally:function(){Object(g.each)(u,function(t){Object(g.each)(t,function(t){t.parent&&t.parent.remove(t)})}),Object(g.each)(l,function(t){t.invisible=!0,t.dirty()})}}},e.prototype._doAnimation=function(t,e,n,i){var r=n.get("animationDurationUpdate"),o=n.get("animationEasing"),a=(Object(g.isFunction)(r)?0:r)||0,s=(Object(g.isFunction)(o)?null:o)||"cubicOut",l=new ck;Object(g.each)(e.willDeleteEls,function(t,e){Object(g.each)(t,function(t,n){if(!t.invisible){var r,o=t.parent,c=yk(o);if(i&&"drillDown"===i.direction)r=o===i.rootNodeGroup?{shape:{x:0,y:0,width:c.nodeWidth,height:c.nodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var u=0,h=0;c.willDelete||(u=c.nodeWidth/2,h=c.nodeHeight/2),r="nodeGroup"===e?{x:u,y:h,style:{opacity:0}}:{shape:{x:u,y:h,width:0,height:0},style:{opacity:0}}}r&&l.add(t,r,a,0,s)}})}),Object(g.each)(this._storage,function(t,n){Object(g.each)(t,function(t,i){var r=e.lastsForAnimation[n][i],o={};r&&(t instanceof ei?null!=r.oldX&&(o.x=t.x,o.y=t.y,t.x=r.oldX,t.y=r.oldY):(r.oldShape&&(o.shape=Object(g.extend)({},t.shape),t.setShape(r.oldShape)),r.fadein?(t.setStyle("opacity",0),o.style={opacity:1}):1!==t.style.opacity&&(o.style={opacity:1})),l.add(t,o,a,0,s))})},this),this._state="animating",l.finished(Object(g.bind)(function(){this._state="ready",e.renderFinally()},this)).start()},e.prototype._resetController=function(t){var e=this._controller;e||((e=this._controller=new tS(t.getZr())).enable(this.seriesModel.get("roam")),e.on("pan",Object(g.bind)(this._onPan,this)),e.on("zoom",Object(g.bind)(this._onZoom,this)));var n=new Mt(0,0,t.getWidth(),t.getHeight());e.setPointerChecker(function(t,e,i){return n.contain(e,i)})},e.prototype._clearController=function(){var t=this._controller;t&&(t.dispose(),t=null)},e.prototype._onPan=function(t){if("animating"!==this._state&&(Math.abs(t.dx)>3||Math.abs(t.dy)>3)){var e=this.seriesModel.getData().tree.root;if(!e)return;var n=e.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+t.dx,y:n.y+t.dy,width:n.width,height:n.height}})}},e.prototype._onZoom=function(t){var e=t.originX,n=t.originY;if("animating"!==this._state){var i=this.seriesModel.getData().tree.root;if(!i)return;var r=i.getLayout();if(!r)return;var o=new Mt(r.x,r.y,r.width,r.height),a=this.seriesModel.layoutInfo,s=[1,0,0,1,0,0];mt(s,s,[-(e-=a.x),-(n-=a.y)]),bt(s,s,[t.scale,t.scale]),mt(s,s,[e,n]),o.applyTransform(s),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:o.x,y:o.y,width:o.width,height:o.height}})}},e.prototype._initEvents=function(t){var e=this;t.on("click",function(t){if("ready"===e._state){var n=e.seriesModel.get("nodeClick",!0);if(n){var i=e.findTarget(t.offsetX,t.offsetY);if(i){var r=i.node;if(r.getLayout().isLeafRoot)e._rootToNode(i);else if("zoomToNode"===n)e._zoomToNode(i);else if("link"===n){var o=r.hostTree.data.getItemModel(r.dataIndex),a=o.get("link",!0),s=o.get("target",!0)||"blank";a&&uh(a,s)}}}}},this)},e.prototype._renderBreadcrumb=function(t,e,n){var i=this;n||(n=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2))||(n={node:t.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new lk(this.group))).render(t,e,n.node,function(e){"animating"!==i._state&&(XB(t.getViewRoot(),e)?i._rootToNode({node:e}):i._zoomToNode({node:e}))})},e.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage={nodeGroup:[],background:[],content:[]},this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},e.prototype.dispose=function(){this._clearController()},e.prototype._zoomToNode=function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype._rootToNode=function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype.findTarget=function(t,e){var n;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},function(i){var r=this._storage.background[i.getRawIndex()];if(r){var o=r.transformCoordToLocal(t,e),a=r.shape;if(!(a.x<=o[0]&&o[0]<=a.x+a.width&&a.y<=o[1]&&o[1]<=a.y+a.height))return!1;n={node:i,offsetX:o[0],offsetY:o[1]}}},this),n},e.type="treemap",e}(xp),_k=g.each,wk=g.isObject,xk=-1,Ck=function(){function t(e){var n=e.mappingMethod,i=e.type,r=this.option=g.clone(e);this.type=i,this.mappingMethod=n,this._normalizeData=Lk[n];var o=t.visualHandlers[i];this.applyVisual=o.applyVisual,this.getColorMapper=o.getColorMapper,this._normalizedToVisual=o._normalizedToVisual[n],"piecewise"===n?(Sk(r),function(t){var e=t.pieceList;t.hasSpecialVisual=!1,g.each(e,function(e,n){e.originIndex=n,null!=e.visual&&(t.hasSpecialVisual=!0)})}(r)):"category"===n?r.categories?function(t){var e=t.categories,n=t.categoryMap={},i=t.visual;if(_k(e,function(t,e){n[t]=e}),!g.isArray(i)){var r=[];g.isObject(i)?_k(i,function(t,e){var i=n[e];r[null!=i?i:xk]=t}):r[xk]=i,i=Dk(t,r)}for(var o=e.length-1;o>=0;o--)null==i[o]&&(delete n[e[o]],e.pop())}(r):Sk(r,!0):(g.assert("linear"!==n||r.dataExtent),Sk(r))}return t.prototype.mapValueToVisual=function(t){var e=this._normalizeData(t);return this._normalizedToVisual(e,t)},t.prototype.getNormalizer=function(){return g.bind(this._normalizeData,this)},t.listVisualTypes=function(){return g.keys(t.visualHandlers)},t.isValidType=function(e){return t.visualHandlers.hasOwnProperty(e)},t.eachVisual=function(t,e,n){g.isObject(t)?g.each(t,e,n):e.call(n,t)},t.mapVisual=function(e,n,i){var r,o=g.isArray(e)?[]:g.isObject(e)?{}:(r=!0,null);return t.eachVisual(e,function(t,e){var a=n.call(i,t,e);r?o=a:o[e]=a}),o},t.retrieveVisuals=function(e){var n,i={};return e&&_k(t.visualHandlers,function(t,r){e.hasOwnProperty(r)&&(i[r]=e[r],n=!0)}),n?i:null},t.prepareVisualTypes=function(t){if(g.isArray(t))t=t.slice();else{if(!wk(t))return[];var e=[];_k(t,function(t,n){e.push(n)}),t=e}return t.sort(function(t,e){return"color"===e&&"color"!==t&&0===t.indexOf("color")?1:-1}),t},t.dependsOn=function(t,e){return"color"===e?!(!t||0!==t.indexOf(e)):t===e},t.findPieceIndex=function(t,e,n){for(var i,r=1/0,o=0,a=e.length;o<a;o++){var s=e[o].value;if(null!=s){if(s===t||g.isString(s)&&s===t+"")return o;n&&h(s,o)}}for(o=0,a=e.length;o<a;o++){var l=e[o],c=l.interval,u=l.close;if(c){if(c[0]===-1/0){if(Fk(u[1],t,c[1]))return o}else if(c[1]===1/0){if(Fk(u[0],c[0],t))return o}else if(Fk(u[0],c[0],t)&&Fk(u[1],t,c[1]))return o;n&&h(c[0],o),n&&h(c[1],o)}}if(n)return t===1/0?e.length-1:t===-1/0?0:i;function h(e,n){var o=Math.abs(e-t);o<r&&(r=o,i=n)}},t.visualHandlers={color:{applyVisual:Tk("color"),getColorMapper:function(){var t=this.option;return g.bind("category"===t.mappingMethod?function(t,e){return!e&&(t=this._normalizeData(t)),Ok.call(this,t)}:function(e,n,i){var r=!!i;return!n&&(e=this._normalizeData(e)),i=Le.fastLerp(e,t.parsedVisual,i),r?i:Le.stringify(i,"rgba")},this)},_normalizedToVisual:{linear:function(t){return Le.stringify(Le.fastLerp(t,this.option.parsedVisual),"rgba")},category:Ok,piecewise:function(t,e){var n=Mk.call(this,e);return null==n&&(n=Le.stringify(Le.fastLerp(t,this.option.parsedVisual),"rgba")),n},fixed:Ek}},colorHue:Bk(function(t,e){return Le.modifyHSL(t,e)}),colorSaturation:Bk(function(t,e){return Le.modifyHSL(t,null,e)}),colorLightness:Bk(function(t,e){return Le.modifyHSL(t,null,null,e)}),colorAlpha:Bk(function(t,e){return Le.modifyAlpha(t,e)}),decal:{applyVisual:Tk("decal"),_normalizedToVisual:{linear:null,category:Ok,piecewise:null,fixed:null}},opacity:{applyVisual:Tk("opacity"),_normalizedToVisual:Ik([0,1])},liftZ:{applyVisual:Tk("liftZ"),_normalizedToVisual:{linear:Ek,category:Ek,piecewise:Ek,fixed:Ek}},symbol:{applyVisual:function(t,e,n){n("symbol",this.mapValueToVisual(t))},_normalizedToVisual:{linear:kk,category:Ok,piecewise:function(t,e){var n=Mk.call(this,e);return null==n&&(n=kk.call(this,t)),n},fixed:Ek}},symbolSize:{applyVisual:Tk("symbolSize"),_normalizedToVisual:Ik([0,1])}},t}();function Sk(t,e){var n=t.visual,i=[];g.isObject(n)?_k(n,function(t){i.push(t)}):null!=n&&i.push(n);e||1!==i.length||{color:1,symbol:1}.hasOwnProperty(t.type)||(i[1]=i[0]),Dk(t,i)}function Bk(t){return{applyVisual:function(e,n,i){var r=this.mapValueToVisual(e);i("color",t(n("color"),r))},_normalizedToVisual:Ik([0,1])}}function kk(t){var e=this.option.visual;return e[Math.round(fi(t,[0,1],[0,e.length-1],!0))]||{}}function Tk(t){return function(e,n,i){i(t,this.mapValueToVisual(e))}}function Ok(t){var e=this.option.visual;return e[this.option.loop&&t!==xk?t%e.length:t]}function Ek(){return this.option.visual[0]}function Ik(t){return{linear:function(e){return fi(e,t,this.option.visual,!0)},category:Ok,piecewise:function(e,n){var i=Mk.call(this,n);return null==i&&(i=fi(e,t,this.option.visual,!0)),i},fixed:Ek}}function Mk(t){var e=this.option,n=e.pieceList;if(e.hasSpecialVisual){var i=n[Ck.findPieceIndex(t,n)];if(i&&i.visual)return i.visual[this.type]}}function Dk(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=g.map(e,function(t){var e=Le.parse(t);return e||[0,0,0,1]})),e}var Lk={linear:function(t){return fi(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,n=Ck.findPieceIndex(t,e,!0);if(null!=n)return fi(n,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return null==e?xk:e},fixed:g.noop};function Fk(t,e,n){return t?e<=n:e<n}var Pk=Ck,Nk="itemStyle",jk=tr(),Uk={seriesType:"treemap",reset:function(t){var e=t.getData().tree.root;e.isRemoved()||function t(e,n,i,r){var o=e.getModel();var a=e.getLayout();var s=e.hostTree.data;if(!a||a.invisible||!a.isInView)return;var l=o.getModel(Nk);var c=function(t,e,n){var i=Object(g.extend)({},e),r=n.designatedVisualItemStyle;return Object(g.each)(["color","colorAlpha","colorSaturation"],function(n){r[n]=e[n];var o=t.get(n);r[n]=null,null!=o&&(i[n]=o)}),i}(l,n,r);var u=s.ensureUniqueItemVisual(e.dataIndex,"style");var h=l.get("borderColor");var d=l.get("borderColorSaturation");var f;null!=d&&(f=Rk(c),h=function(t,e){return null!=e?Object(Le.modifyHSL)(e,null,null,t):null}(d,f));u.stroke=h;var p=e.viewChildren;if(p&&p.length){var A=function(t,e,n,i,r,o){if(!o||!o.length)return;var a=Hk(e,"color")||null!=r.color&&"none"!==r.color&&(Hk(e,"colorAlpha")||Hk(e,"colorSaturation"));if(!a)return;var s=e.get("visualMin"),l=e.get("visualMax"),c=n.dataExtent.slice();null!=s&&s<c[0]&&(c[0]=s),null!=l&&l>c[1]&&(c[1]=l);var u=e.get("colorMappingBy"),h={type:a.name,dataExtent:c,visual:a.range};"color"!==h.type||"index"!==u&&"id"!==u?h.mappingMethod="linear":(h.mappingMethod="category",h.loop=!0);var d=new Pk(h);return jk(d).drColorMappingBy=u,d}(0,o,a,0,c,p);Object(g.each)(p,function(e,n){if(e.depth>=i.length||e===i[e.depth]){var a=function(t,e,n,i,r,o){var a=Object(g.extend)({},e);if(r){var s=r.type,l="color"===s&&jk(r).drColorMappingBy,c="index"===l?i:"id"===l?o.mapIdToIndex(n.getId()):n.getValue(t.get("visualDimension"));a[s]=r.mapValueToVisual(c)}return a}(o,c,e,n,A,r);t(e,a,i,r)}})}else f=Rk(c),u.fill=f}(e,{},t.getViewRoot().getAncestors(),t)}};function Rk(t){var e=Qk(t,"color");if(e){var n=Qk(t,"colorAlpha"),i=Qk(t,"colorSaturation");return i&&(e=Object(Le.modifyHSL)(e,null,null,i)),n&&(e=Object(Le.modifyAlpha)(e,n)),e}}function Qk(t,e){var n=t[e];if(null!=n&&"none"!==n)return n}function Hk(t,e){var n=t.get(e);return Object(g.isArray)(n)&&n.length?{name:e,range:n}:null}var Vk=Math.max,zk=Math.min,$k=g.retrieve,Gk=g.each,Wk=["itemStyle","borderWidth"],Kk=["itemStyle","gapWidth"],Yk=["upperLabel","show"],Xk=["upperLabel","height"],qk={seriesType:"treemap",reset:function(t,e,n,i){var r=n.getWidth(),o=n.getHeight(),a=t.option,s=gh(t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),l=a.size||[],c=pi($k(s.width,l[0]),r),u=pi($k(s.height,l[1]),o),h=i&&i.type,d=KB(i,["treemapZoomToNode","treemapRootToNode"],t),f="treemapRender"===h||"treemapMove"===h?i.rootRect:null,p=t.getViewRoot(),A=YB(p);if("treemapMove"!==h){var v="treemapZoomToNode"===h?function(t,e,n,i,r){var o,a=(e||{}).node,s=[i,r];if(!a||a===n)return s;var l=i*r,c=l*t.option.zoomToNodeRatio;for(;o=a.parentNode;){for(var u=0,h=o.children,d=0,f=h.length;d<f;d++)u+=h[d].getValue();var p=a.getValue();if(0===p)return s;c*=u/p;var A=o.getModel(),g=A.get(Wk),v=Math.max(g,tT(A));(c+=4*g*g+(3*g+v)*Math.pow(c,.5))>xi&&(c=xi),a=o}c<l&&(c=l);var m=Math.pow(c/l,.5);return[i*m,r*m]}(t,d,p,c,u):f?[f.width,f.height]:[c,u],m=a.sort;m&&"asc"!==m&&"desc"!==m&&(m="desc");var y={squareRatio:a.squareRatio,sort:m,leafDepth:a.leafDepth};p.hostTree.clearLayouts();var b={x:0,y:0,width:v[0],height:v[1],area:v[0]*v[1]};p.setLayout(b),function t(e,n,i,r){var o;var a;if(e.isRemoved())return;var s=e.getLayout();o=s.width;a=s.height;var l=e.getModel();var c=l.get(Wk);var u=l.get(Kk)/2;var h=tT(l);var d=Math.max(c,h);var f=c-u;var p=d-u;e.setLayout({borderWidth:c,upperHeight:d,upperLabelHeight:h},!0);o=Vk(o-2*f,0);a=Vk(a-f-p,0);var A=o*a;var v=function(t,e,n,i,r,o){var a=t.children||[],s=i.sort;"asc"!==s&&"desc"!==s&&(s=null);var l=null!=i.leafDepth&&i.leafDepth<=o;if(r&&!l)return t.viewChildren=[];!function(t,e){e&&t.sort(function(t,n){var i="asc"===e?t.getValue()-n.getValue():n.getValue()-t.getValue();return 0===i?"asc"===e?t.dataIndex-n.dataIndex:n.dataIndex-t.dataIndex:i})}(a=g.filter(a,function(t){return!t.isRemoved()}),s);var c=function(t,e,n){for(var i=0,r=0,o=e.length;r<o;r++)i+=e[r].getValue();var a,s=t.get("visualDimension");e&&e.length?"value"===s&&n?(a=[e[e.length-1].getValue(),e[0].getValue()],"asc"===n&&a.reverse()):(a=[1/0,-1/0],Gk(e,function(t){var e=t.getValue(s);e<a[0]&&(a[0]=e),e>a[1]&&(a[1]=e)})):a=[NaN,NaN];return{sum:i,dataExtent:a}}(e,a,s);if(0===c.sum)return t.viewChildren=[];if(c.sum=function(t,e,n,i,r){if(!i)return n;for(var o=t.get("visibleMin"),a=r.length,s=a,l=a-1;l>=0;l--){var c=r["asc"===i?a-l-1:l].getValue();c/n*e<o&&(s=l,n-=c)}return"asc"===i?r.splice(0,a-s):r.splice(s,a-s),n}(e,n,c.sum,s,a),0===c.sum)return t.viewChildren=[];for(var u=0,h=a.length;u<h;u++){var d=a[u].getValue()/c.sum*n;a[u].setLayout({area:d})}l&&(a.length&&t.setLayout({isLeafRoot:!0},!0),a.length=0);return t.viewChildren=a,t.setLayout({dataExtent:c.dataExtent},!0),a}(e,l,A,n,i,r);if(!v.length)return;var m={x:f,y:p,width:o,height:a};var y=zk(o,a);var b=1/0;var _=[];_.area=0;for(var w=0,x=v.length;w<x;){var C=v[w];_.push(C),_.area+=C.getLayout().area;var S=Zk(_,y,n.squareRatio);S<=b?(w++,b=S):(_.area-=_.pop().getLayout().area,Jk(_,y,m,u,!1),y=zk(m.width,m.height),_.length=_.area=0,b=1/0)}_.length&&Jk(_,y,m,u,!0);if(!i){var B=l.get("childrenVisibleMin");null!=B&&A<B&&(i=!0)}for(var w=0,x=v.length;w<x;w++)t(v[w],n,i,r+1)}(p,y,!1,0),b=p.getLayout(),Gk(A,function(t,e){var n=(A[e+1]||p).getValue();t.setLayout(g.extend({dataExtent:[n,n],borderWidth:0,upperHeight:0},b))})}var _=t.getData().tree.root;_.setLayout(function(t,e,n){if(e)return{x:e.x,y:e.y};var i={x:0,y:0};if(!n)return i;var r=n.node,o=r.getLayout();if(!o)return i;var a=[o.width/2,o.height/2],s=r;for(;s;){var l=s.getLayout();a[0]+=l.x,a[1]+=l.y,s=s.parentNode}return{x:t.width/2-a[0],y:t.height/2-a[1]}}(s,f,d),!0),t.setLayoutInfo(s),function t(e,n,i,r,o){var a=e.getLayout();var s=i[o];var l=s&&s===e;if(s&&!l||o===i.length&&e!==r)return;e.setLayout({isInView:!0,invisible:!l&&!n.intersect(a),isAboveViewRoot:l},!0);var c=new Mt(n.x-a.x,n.y-a.y,n.width,n.height);Gk(e.viewChildren||[],function(e){t(e,c,i,r,o+1)})}(_,new Mt(-s.x,-s.y,r,o),A,p,0)}};function Zk(t,e,n){for(var i=0,r=1/0,o=0,a=void 0,s=t.length;o<s;o++)(a=t[o].getLayout().area)&&(a<r&&(r=a),a>i&&(i=a));var l=t.area*t.area,c=e*e*n;return l?Vk(c*i/l,l/(c*r)):1/0}function Jk(t,e,n,i,r){var o=e===n.width?0:1,a=1-o,s=["x","y"],l=["width","height"],c=n[s[o]],u=e?t.area/e:0;(r||u>n[l[a]])&&(u=n[l[a]]);for(var h=0,d=t.length;h<d;h++){var f=t[h],p={},A=u?f.getLayout().area/u:0,g=p[l[a]]=Vk(u-2*i,0),v=n[s[o]]+n[l[o]]-c,m=h===d-1||v<A?v:A,y=p[l[o]]=Vk(m-2*i,0);p[s[a]]=n[s[a]]+zk(i,g/2),p[s[o]]=c+zk(i,y/2),c+=m,f.setLayout(p,!0)}n[s[a]]+=u,n[l[a]]-=u}function tT(t){return t.get(Yk)?t.get(Xk):0}function eT(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.eachSeriesByType("graph",function(t){var n=t.getCategoriesData(),i=t.getGraph().data,r=n.mapArray(n.getName);i.filterSelf(function(t){var n=i.getItemModel(t).getShallow("category");if(null!=n){Object(g.isNumber)(n)&&(n=r[n]);for(var o=0;o<e.length;o++)if(!e[o].isSelected(n))return!1}return!0})})}function nT(t){var e={};t.eachSeriesByType("graph",function(t){var n=t.getCategoriesData(),i=t.getData(),r={};n.each(function(i){var o=n.getName(i);r["ec-"+o]=i;var a=n.getItemModel(i),s=a.getModel("itemStyle").getItemStyle();s.fill||(s.fill=t.getColorFromPalette(o,e)),n.setItemVisual(i,"style",s);for(var l=["symbol","symbolSize","symbolKeepAspect"],c=0;c<l.length;c++){var u=a.getShallow(l[c],!0);null!=u&&n.setItemVisual(i,l[c],u)}}),n.count()&&i.each(function(t){var e=i.getItemModel(t).getShallow("category");if(null!=e){Object(g.isString)(e)&&(e=r["ec-"+e]);var o=n.getItemVisual(e,"style"),a=i.ensureUniqueItemVisual(t,"style");Object(g.extend)(a,o);for(var s=["symbol","symbolSize","symbolKeepAspect"],l=0;l<s.length;l++)i.setItemVisual(t,s[l],n.getItemVisual(e,s[l]))}})})}function iT(t){return t instanceof Array||(t=[t,t]),t}function rT(t){t.eachSeriesByType("graph",function(t){var e=t.getGraph(),n=t.getEdgeData(),i=iT(t.get("edgeSymbol")),r=iT(t.get("edgeSymbolSize"));n.setVisual("fromSymbol",i&&i[0]),n.setVisual("toSymbol",i&&i[1]),n.setVisual("fromSymbolSize",r&&r[0]),n.setVisual("toSymbolSize",r&&r[1]),n.setVisual("style",t.getModel("lineStyle").getLineStyle()),n.each(function(t){var i=n.getItemModel(t),r=e.getEdgeByIndex(t),o=iT(i.getShallow("symbol",!0)),a=iT(i.getShallow("symbolSize",!0)),s=i.getModel("lineStyle").getLineStyle(),l=n.ensureUniqueItemVisual(t,"style");switch(Object(g.extend)(l,s),l.stroke){case"source":var c=r.node1.getVisual("style");l.stroke=c&&c.fill;break;case"target":c=r.node2.getVisual("style");l.stroke=c&&c.fill}o[0]&&r.setVisual("fromSymbol",o[0]),o[1]&&r.setVisual("toSymbol",o[1]),a[0]&&r.setVisual("fromSymbolSize",a[0]),a[1]&&r.setVisual("toSymbolSize",a[1])})})}var oT=function(t){return t.get("autoCurveness")||null},aT=function(t,e){var n=oT(t),i=20,r=[];if(g.isNumber(n))i=n;else if(g.isArray(n))return void(t.__curvenessList=n);e>i&&(i=e);var o=i%2?i+2:i+3;r=[];for(var a=0;a<o;a++)r.push((a%2?a+1:a)/10*(a%2?-1:1));t.__curvenessList=r},sT=function(t,e,n){var i=[t.id,t.dataIndex].join("."),r=[e.id,e.dataIndex].join(".");return[n.uid,i,r].join("--\x3e")},lT=function(t){var e=t.split("--\x3e");return[e[0],e[2],e[1]].join("--\x3e")},cT=function(t,e){var n=sT(t.node1,t.node2,e);return e.__edgeMap[n]},uT=function(t,e){return hT(sT(t.node1,t.node2,e),e)+hT(sT(t.node2,t.node1,e),e)},hT=function(t,e){var n=e.__edgeMap;return n[t]?n[t].length:0};function dT(t,e,n,i){var r=oT(e),o=g.isArray(r);if(!r)return null;var a=cT(t,e);if(!a)return null;for(var s=-1,l=0;l<a.length;l++)if(a[l]===n){s=l;break}var c=uT(t,e);aT(e,c),t.lineStyle=t.lineStyle||{};var u=sT(t.node1,t.node2,e),h=e.__curvenessList,d=o?0:c%2?0:1;if(a.isForward)return h[d+s];var f=lT(u),p=hT(f,e),A=h[s+p+d];return i?o?r&&0===r[0]?(p+d)%2?A:-A:((p%2?0:1)+d)%2?A:-A:(p+d)%2?A:-A:h[s+p+d]}function fT(t){var e=t.coordinateSystem;if(!e||"view"===e.type){var n=t.getGraph();n.eachNode(function(t){var e=t.getModel();t.setLayout([+e.get("x"),+e.get("y")])}),pT(n,t)}}function pT(t,e){t.eachEdge(function(t,n){var i=g.retrieve3(t.getModel().get(["lineStyle","curveness"]),-dT(t,e,n,!0),0),r=y(t.node1.getLayout()),o=y(t.node2.getLayout()),a=[r,o];+i&&a.push([(r[0]+o[0])/2-(r[1]-o[1])*i,(r[1]+o[1])/2-(o[0]-r[0])*i]),t.setLayout(a)})}function AT(t,e){t.eachSeriesByType("graph",function(t){var e=t.get("layout"),n=t.coordinateSystem;if(n&&"view"!==n.type){var i=t.getData(),r=[];Object(g.each)(n.dimensions,function(t){r=r.concat(i.mapDimensionsAll(t))});for(var o=0;o<i.count();o++){for(var a=[],s=!1,l=0;l<r.length;l++){var c=i.get(r[l],o);isNaN(c)||(s=!0),a.push(c)}s?i.setItemLayout(o,n.dataToPoint(a)):i.setItemLayout(o,[NaN,NaN])}pT(i.graph,t)}else e&&"none"!==e||fT(t)})}function gT(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var n=t.option.nodeScaleRatio,i=e.scaleX;return((e.getZoom()-1)*n+1)/i}function vT(t){var e=t.getVisual("symbolSize");return e instanceof Array&&(e=(e[0]+e[1])/2),+e}var mT=Math.PI,yT=[];function bT(t,e,n,i){var r=t.coordinateSystem;if(!r||"view"===r.type){var o=r.getBoundingRect(),a=t.getData(),s=a.graph,l=o.width/2+o.x,c=o.height/2+o.y,u=Math.min(o.width,o.height)/2,h=a.count();if(a.setLayout({cx:l,cy:c}),h){if(n){var d=r.pointToData(i),f=d[0],p=d[1],A=[f-l,p-c];M(A,A),I(A,A,u),n.setLayout([l+A[0],c+A[1]],!0),wT(n,t.get(["circular","rotateLabel"]),l,c)}_T[e](t,s,a,u,l,c,h),s.eachEdge(function(e,n){var i,r=g.retrieve3(e.getModel().get(["lineStyle","curveness"]),dT(e,t,n),0),o=y(e.node1.getLayout()),a=y(e.node2.getLayout()),s=(o[0]+a[0])/2,u=(o[1]+a[1])/2;+r&&(i=[l*(r*=3)+s*(1-r),c*r+u*(1-r)]),e.setLayout([o,a,i])})}}}var _T={value:function(t,e,n,i,r,o,a){var s=0,l=n.getSum("value"),c=2*Math.PI/(l||a);e.eachNode(function(t){var e=t.getValue("value"),n=c*(l?e:1)/2;s+=n,t.setLayout([i*Math.cos(s)+r,i*Math.sin(s)+o]),s+=n})},symbolSize:function(t,e,n,i,r,o,a){var s=0;yT.length=a;var l=gT(t);e.eachNode(function(t){var e=vT(t);isNaN(e)&&(e=2),e<0&&(e=0),e*=l;var n=Math.asin(e/2/i);isNaN(n)&&(n=mT/2),yT[t.dataIndex]=n,s+=2*n});var c=(2*mT-s)/a/2,u=0;e.eachNode(function(t){var e=c+yT[t.dataIndex];u+=e,(!t.getLayout()||!t.getLayout().fixed)&&t.setLayout([i*Math.cos(u)+r,i*Math.sin(u)+o]),u+=e})}};function wT(t,e,n,i){var r=t.getGraphicEl();if(r){var o=t.getModel().get(["label","rotate"])||0,a=r.getSymbolPath();if(e){var s=t.getLayout(),l=Math.atan2(s[1]-i,s[0]-n);l<0&&(l=2*Math.PI+l);var c=s[0]<n;c&&(l-=Math.PI);var u=c?"left":"right";a.setTextConfig({rotation:-l,position:u,origin:"center"});var h=a.ensureState("emphasis");g.extend(h.textConfig||(h.textConfig={}),{position:u})}else a.setTextConfig({rotation:o*=Math.PI/180})}}function xT(t){t.eachSeriesByType("graph",function(t){"circular"===t.get("layout")&&bT(t,"symbolSize")})}var CT=w;function ST(t){t.eachSeriesByType("graph",function(t){var e=t.coordinateSystem;if(!e||"view"===e.type)if("force"===t.get("layout")){var n=t.preservedPoints||{},i=t.getGraph(),r=i.data,o=i.edgeData,a=t.getModel("force"),s=a.get("initLayout");t.preservedPoints?r.each(function(t){var e=r.getId(t);r.setItemLayout(t,n[e]||[NaN,NaN])}):s&&"none"!==s?"circular"===s&&bT(t,"value"):fT(t);var l=r.getDataExtent("value"),c=o.getDataExtent("value"),u=a.get("repulsion"),h=a.get("edgeLength"),d=g.isArray(u)?u:[u,u],f=g.isArray(h)?h:[h,h];f=[f[1],f[0]];var p=r.mapArray("value",function(t,e){var n=r.getItemLayout(e),i=fi(t,l,d);return isNaN(i)&&(i=(d[0]+d[1])/2),{w:i,rep:i,fixed:r.getItemModel(e).get("fixed"),p:!n||isNaN(n[0])||isNaN(n[1])?null:n}}),A=o.mapArray("value",function(e,n){var r=i.getEdgeByIndex(n),o=fi(e,c,f);isNaN(o)&&(o=(f[0]+f[1])/2);var a=r.getModel(),s=g.retrieve3(r.getModel().get(["lineStyle","curveness"]),-dT(r,t,n,!0),0);return{n1:p[r.node1.dataIndex],n2:p[r.node2.dataIndex],d:o,curveness:s,ignoreForceLayout:a.get("ignoreForceLayout")}}),_=e.getBoundingRect(),w=function(t,e,n){for(var i=t,r=e,o=n.rect,a=o.width,s=o.height,l=[o.x+a/2,o.y+s/2],c=null==n.gravity?.1:n.gravity,u=0;u<i.length;u++){var h=i[u];h.p||(h.p=v(a*(Math.random()-.5)+l[0],s*(Math.random()-.5)+l[1])),h.pp=y(h.p),h.edges=null}var d,f,p=null==n.friction?.6:n.friction,A=p;return{warmUp:function(){A=.8*p},setFixed:function(t){i[t].fixed=!0},setUnfixed:function(t){i[t].fixed=!1},beforeStep:function(t){d=t},afterStep:function(t){f=t},step:function(t){d&&d(i,r);for(var e=[],n=i.length,o=0;o<r.length;o++){var a=r[o];if(!a.ignoreForceLayout){var s=a.n1;x(e,(g=a.n2).p,s.p);var u=C(e)-a.d,h=g.w/(s.w+g.w);isNaN(h)&&(h=0),M(e,e),!s.fixed&&CT(s.p,s.p,e,h*u*A),!g.fixed&&CT(g.p,g.p,e,-(1-h)*u*A)}}for(o=0;o<n;o++)(_=i[o]).fixed||(x(e,l,_.p),CT(_.p,_.p,e,c*A));for(o=0;o<n;o++){s=i[o];for(var p=o+1;p<n;p++){var g;x(e,(g=i[p]).p,s.p),0===(u=C(e))&&(b(e,Math.random()-.5,Math.random()-.5),u=1);var v=(s.rep+g.rep)/u/u;!s.fixed&&CT(s.pp,s.pp,e,v),!g.fixed&&CT(g.pp,g.pp,e,-v)}}var y=[];for(o=0;o<n;o++){var _;(_=i[o]).fixed||(x(y,_.p,_.pp),CT(_.p,_.p,y,A),m(_.pp,_.p))}var w=(A*=.992)<.01;f&&f(i,r,w),t&&t(w)}}}(p,A,{rect:_,gravity:a.get("gravity"),friction:a.get("friction")});w.beforeStep(function(t,e){for(var n=0,r=t.length;n<r;n++)t[n].fixed&&m(t[n].p,i.getNodeByIndex(n).getLayout())}),w.afterStep(function(t,e,o){for(var a=0,s=t.length;a<s;a++)t[a].fixed||i.getNodeByIndex(a).setLayout(t[a].p),n[r.getId(a)]=t[a].p;for(a=0,s=e.length;a<s;a++){var l=e[a],c=i.getEdgeByIndex(a),u=l.n1.p,h=l.n2.p,d=c.getLayout();(d=d?d.slice():[])[0]=d[0]||[],d[1]=d[1]||[],m(d[0],u),m(d[1],h),+l.curveness&&(d[2]=[(u[0]+h[0])/2-(u[1]-h[1])*l.curveness,(u[1]+h[1])/2-(h[0]-u[0])*l.curveness]),c.setLayout(d)}}),t.forceLayout=w,t.preservedPoints=n,w.step()}else t.forceLayout=null})}function BT(t,e){var n=[];return t.eachSeriesByType("graph",function(t){var i=t.get("coordinateSystem");if(!i||"view"===i){var r=t.getData(),o=[],a=[];io(r.mapArray(function(t){var e=r.getItemModel(t);return[+e.get("x"),+e.get("y")]}),o,a),a[0]-o[0]==0&&(a[0]+=1,o[0]-=1),a[1]-o[1]==0&&(a[1]+=1,o[1]-=1);var s=(a[0]-o[0])/(a[1]-o[1]),l=function(t,e,n){return gh(Object(g.extend)(t.getBoxLayoutParams(),{aspect:n}),{width:e.getWidth(),height:e.getHeight()})}(t,e,s);isNaN(s)&&(o=[l.x,l.y],a=[l.x+l.width,l.y+l.height]);var c=a[0]-o[0],u=a[1]-o[1],h=l.width,d=l.height,f=t.coordinateSystem=new oB;f.zoomLimit=t.get("scaleLimit"),f.setBoundingRect(o[0],o[1],c,u),f.setViewRect(l.x,l.y,h,d),f.setCenter(t.get("center"),e),f.setZoom(t.get("zoom")),n.push(f)}}),n}var kT=Ml.prototype,TT=Nl.prototype,OT=function(){return function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}}();!function(t){function e(){return null!==t&&t.apply(this,arguments)||this}p(e,t)}(OT);function ET(t){return isNaN(+t.cpx1)||isNaN(+t.cpy1)}var IT=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-line",n}return p(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new OT},e.prototype.buildPath=function(t,e){ET(e)?kT.buildPath.call(this,t,e):TT.buildPath.call(this,t,e)},e.prototype.pointAt=function(t){return ET(this.shape)?kT.pointAt.call(this,t):TT.pointAt.call(this,t)},e.prototype.tangentAt=function(t){var e=this.shape,n=ET(e)?[e.x2-e.x1,e.y2-e.y1]:TT.tangentAt.call(this,t);return M(n,n)},e}(Xo),MT=["fromSymbol","toSymbol"];function DT(t){return"_"+t+"Type"}function LT(t,e,n){var i=e.getItemVisual(n,t);if(i&&"none"!==i){var r=e.getItemVisual(n,t+"Size"),o=e.getItemVisual(n,t+"Rotate"),a=e.getItemVisual(n,t+"Offset"),s=e.getItemVisual(n,t+"KeepAspect"),l=EA(r),c=IA(a||0,l),u=OA(i,-l[0]/2+c[0],-l[1]/2+c[1],l[0],l[1],null,s);return u.__specifiedRotation=null==o||isNaN(o)?void 0:+o*Math.PI/180||0,u.name=t,u}}function FT(t,e){t.x1=e[0][0],t.y1=e[0][1],t.x2=e[1][0],t.y2=e[1][1],t.percent=1;var n=e[2];n?(t.cpx1=n[0],t.cpy1=n[1]):(t.cpx1=NaN,t.cpy1=NaN)}var PT=function(t){function e(e,n,i){var r=t.call(this)||this;return r._createLine(e,n,i),r}return p(e,t),e.prototype._createLine=function(t,e,n){var i=t.hostModel,r=function(t){var e=new IT({name:"line",subPixelOptimize:!0});return FT(e.shape,t),e}(t.getItemLayout(e));r.shape.percent=0,nc(r,{shape:{percent:1}},i,e),this.add(r),Object(g.each)(MT,function(n){var i=LT(n,t,e);this.add(i),this[DT(n)]=t.getItemVisual(e,n)},this),this._updateCommonStl(t,e,n)},e.prototype.updateData=function(t,e,n){var i=t.hostModel,r=this.childOfName("line"),o=t.getItemLayout(e),a={shape:{}};FT(a.shape,o),ec(r,a,i,e),Object(g.each)(MT,function(n){var i=t.getItemVisual(e,n),r=DT(n);if(this[r]!==i){this.remove(this.childOfName(n));var o=LT(n,t,e);this.add(o)}this[r]=i},this),this._updateCommonStl(t,e,n)},e.prototype.getLinePath=function(){return this.childAt(0)},e.prototype._updateCommonStl=function(t,e,n){var i=t.hostModel,r=this.childOfName("line"),o=n&&n.emphasisLineStyle,a=n&&n.blurLineStyle,s=n&&n.selectLineStyle,l=n&&n.labelStatesModels,c=n&&n.emphasisDisabled,u=n&&n.focus,h=n&&n.blurScope;if(!n||t.hasItemOption){var d=t.getItemModel(e),f=d.getModel("emphasis");o=f.getModel("lineStyle").getLineStyle(),a=d.getModel(["blur","lineStyle"]).getLineStyle(),s=d.getModel(["select","lineStyle"]).getLineStyle(),c=f.get("disabled"),u=f.get("focus"),h=f.get("blurScope"),l=Hc(d)}var p=t.getItemVisual(e,"style"),A=p.stroke;r.useStyle(p),r.style.fill=null,r.style.strokeNoScale=!0,r.ensureState("emphasis").style=o,r.ensureState("blur").style=a,r.ensureState("select").style=s,Object(g.each)(MT,function(t){var e=this.childOfName(t);if(e){e.setColor(A),e.style.opacity=p.opacity;for(var n=0;n<Na.length;n++){var i=Na[n],o=r.getState(i);if(o){var a=o.style||{},s=e.ensureState(i),l=s.style||(s.style={});null!=a.stroke&&(l[e.__isEmptyBrush?"stroke":"fill"]=a.stroke),null!=a.opacity&&(l.opacity=a.opacity)}}e.markRedraw()}},this);var v=i.getRawValue(e);Qc(this,l,{labelDataIndex:e,labelFetcher:{getFormattedLabel:function(e,n){return i.getFormattedLabel(e,n,t.dataType)}},inheritColor:A||"#000",defaultOpacity:p.opacity,defaultText:(null==v?t.getName(e):isFinite(v)?Ai(v):v)+""});var m=this.getTextContent();if(m){var y=l.normal;m.__align=m.style.align,m.__verticalAlign=m.style.verticalAlign,m.__position=y.get("position")||"middle";var b=y.get("distance");Object(g.isArray)(b)||(b=[b,b]),m.__labelDistance=b}this.setTextConfig({position:null,local:!0,inside:!1}),ws(this,u,h,c)},e.prototype.highlight=function(){cs(this)},e.prototype.downplay=function(){us(this)},e.prototype.updateLayout=function(t,e){this.setLinePoints(t.getItemLayout(e))},e.prototype.setLinePoints=function(t){var e=this.childOfName("line");FT(e.shape,t),e.dirty()},e.prototype.beforeUpdate=function(){var t=this.childOfName("fromSymbol"),e=this.childOfName("toSymbol"),n=this.getTextContent();if(t||e||n&&!n.ignore){for(var i=1,r=this.parent;r;)r.scaleX&&(i/=r.scaleX),r=r.parent;var o=this.childOfName("line");if(this.__dirty||o.__dirty){var a=o.shape.percent,s=o.pointAt(0),l=o.pointAt(a),c=x([],l,s);if(M(c,c),t&&(t.setPosition(s),w(t,0),t.scaleX=t.scaleY=i*a,t.markRedraw()),e&&(e.setPosition(l),w(e,1),e.scaleX=e.scaleY=i*a,e.markRedraw()),n&&!n.ignore){n.x=n.y=0,n.originX=n.originY=0;var u=void 0,h=void 0,d=n.__labelDistance,f=d[0]*i,p=d[1]*i,A=a/2,g=o.tangentAt(A),v=[g[1],-g[0]],m=o.pointAt(A);v[1]>0&&(v[0]=-v[0],v[1]=-v[1]);var y=g[0]<0?-1:1;if("start"!==n.__position&&"end"!==n.__position){var b=-Math.atan2(g[1],g[0]);l[0]<s[0]&&(b=Math.PI+b),n.rotation=b}var _=void 0;switch(n.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":_=-p,h="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":_=p,h="top";break;default:_=0,h="middle"}switch(n.__position){case"end":n.x=c[0]*f+l[0],n.y=c[1]*p+l[1],u=c[0]>.8?"left":c[0]<-.8?"right":"center",h=c[1]>.8?"top":c[1]<-.8?"bottom":"middle";break;case"start":n.x=-c[0]*f+s[0],n.y=-c[1]*p+s[1],u=c[0]>.8?"right":c[0]<-.8?"left":"center",h=c[1]>.8?"bottom":c[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":n.x=f*y+s[0],n.y=s[1]+_,u=g[0]<0?"right":"left",n.originX=-f*y,n.originY=-_;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":n.x=m[0],n.y=m[1]+_,u="center",n.originY=-_;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":n.x=-f*y+l[0],n.y=l[1]+_,u=g[0]>=0?"right":"left",n.originX=f*y,n.originY=-_}n.scaleX=n.scaleY=i,n.setStyle({verticalAlign:n.__verticalAlign||h,align:n.__align||u})}}}function w(t,e){var n=t.__specifiedRotation;if(null==n){var i=o.tangentAt(e);t.attr("rotation",(1===e?-1:1)*Math.PI/2-Math.atan2(i[1],i[0]))}else t.attr("rotation",n)}},e}(ei);function NT(t){var e=t.hostModel,n=e.getModel("emphasis");return{lineStyle:e.getModel("lineStyle").getLineStyle(),emphasisLineStyle:n.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:e.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:e.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:n.get("disabled"),blurScope:n.get("blurScope"),focus:n.get("focus"),labelStatesModels:Hc(e)}}function jT(t){return isNaN(t[0])||isNaN(t[1])}function UT(t){return t&&!jT(t[0])&&!jT(t[1])}var RT=function(){function t(t){this.group=new ei,this._LineCtor=t||PT}return t.prototype.updateData=function(t){var e=this;this._progressiveEls=null;var n=this.group,i=this._lineData;this._lineData=t,i||n.removeAll();var r=NT(t);t.diff(i).add(function(n){e._doAdd(t,n,r)}).update(function(n,o){e._doUpdate(i,t,o,n,r)}).remove(function(t){n.remove(i.getItemGraphicEl(t))}).execute()},t.prototype.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl(function(e,n){e.updateLayout(t,n)},this)},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=NT(t),this._lineData=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e){function n(t){t.isGroup||function(t){return t.animators&&t.animators.length>0}(t)||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[];for(var i=t.start;i<t.end;i++){if(UT(e.getItemLayout(i))){var r=new this._LineCtor(e,i,this._seriesScope);r.traverse(n),this.group.add(r),e.setItemGraphicEl(i,r),this._progressiveEls.push(r)}}},t.prototype.remove=function(){this.group.removeAll()},t.prototype.eachRendered=function(t){Nc(this._progressiveEls||this.group,t)},t.prototype._doAdd=function(t,e,n){if(UT(t.getItemLayout(e))){var i=new this._LineCtor(t,e,n);t.setItemGraphicEl(e,i),this.group.add(i)}},t.prototype._doUpdate=function(t,e,n,i,r){var o=t.getItemGraphicEl(n);UT(e.getItemLayout(i))?(o?o.updateData(e,i,r):o=new this._LineCtor(e,i,r),e.setItemGraphicEl(i,o),this.group.add(o)):this.group.remove(o)},t}(),QT=[],HT=[],VT=[],zT=Se,$T=P,GT=Math.abs;function WT(t,e,n){for(var i,r=t[0],o=t[1],a=t[2],s=1/0,l=n*n,c=.1,u=.1;u<=.9;u+=.1){QT[0]=zT(r[0],o[0],a[0],u),QT[1]=zT(r[1],o[1],a[1],u),(f=GT($T(QT,e)-l))<s&&(s=f,i=u)}for(var h=0;h<32;h++){var d=i+c;HT[0]=zT(r[0],o[0],a[0],i),HT[1]=zT(r[1],o[1],a[1],i),VT[0]=zT(r[0],o[0],a[0],d),VT[1]=zT(r[1],o[1],a[1],d);var f=$T(HT,e)-l;if(GT(f)<.01)break;var p=$T(VT,e)-l;c/=2,f<0?p>=0?i+=c:i-=c:p>=0?i-=c:i+=c}return i}function KT(t,e){var n=[],i=Te,r=[[],[],[]],o=[[],[]],a=[];e/=2,t.eachEdge(function(t,s){var l=t.getLayout(),c=t.getVisual("fromSymbol"),u=t.getVisual("toSymbol");l.__original||(l.__original=[y(l[0]),y(l[1])],l[2]&&l.__original.push(y(l[2])));var h=l.__original;if(null!=l[2]){if(m(r[0],h[0]),m(r[1],h[2]),m(r[2],h[1]),c&&"none"!==c){var d=vT(t.node1),f=WT(r,h[0],d*e);i(r[0][0],r[1][0],r[2][0],f,n),r[0][0]=n[3],r[1][0]=n[4],i(r[0][1],r[1][1],r[2][1],f,n),r[0][1]=n[3],r[1][1]=n[4]}if(u&&"none"!==u){d=vT(t.node2),f=WT(r,h[1],d*e);i(r[0][0],r[1][0],r[2][0],f,n),r[1][0]=n[1],r[2][0]=n[2],i(r[0][1],r[1][1],r[2][1],f,n),r[1][1]=n[1],r[2][1]=n[2]}m(l[0],r[0]),m(l[1],r[2]),m(l[2],r[1])}else{if(m(o[0],h[0]),m(o[1],h[1]),x(a,o[1],o[0]),M(a,a),c&&"none"!==c){d=vT(t.node1);w(o[0],o[0],a,d*e)}if(u&&"none"!==u){d=vT(t.node2);w(o[1],o[1],a,-d*e)}m(l[0],o[0]),m(l[1],o[1])}})}function YT(t){return"view"===t.type}var XT=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.init=function(t,e){var n=new pw,i=new RT,r=this.group;this._controller=new tS(e.getZr()),this._controllerHost={target:r},r.add(n.group),r.add(i.group),this._symbolDraw=n,this._lineDraw=i,this._firstRender=!0},e.prototype.render=function(t,e,n){var i=this,r=t.coordinateSystem;this._model=t;var o=this._symbolDraw,a=this._lineDraw,s=this.group;if(YT(r)){var l={x:r.x,y:r.y,scaleX:r.scaleX,scaleY:r.scaleY};this._firstRender?s.attr(l):ec(s,l,t)}KT(t.getGraph(),gT(t));var c=t.getData();o.updateData(c);var u=t.getEdgeData();a.updateData(u),this._updateNodeAndLinkScale(),this._updateController(t,e,n),clearTimeout(this._layoutTimeout);var h=t.forceLayout,d=t.get(["force","layoutAnimation"]);h&&this._startForceLayoutIteration(h,d);var f=t.get("layout");c.graph.eachNode(function(e){var n=e.dataIndex,r=e.getGraphicEl(),o=e.getModel();if(r){r.off("drag").off("dragend");var a=o.get("draggable");a&&r.on("drag",function(o){switch(f){case"force":h.warmUp(),!i._layouting&&i._startForceLayoutIteration(h,d),h.setFixed(n),c.setItemLayout(n,[r.x,r.y]);break;case"circular":c.setItemLayout(n,[r.x,r.y]),e.setLayout({fixed:!0},!0),bT(t,"symbolSize",e,[o.offsetX,o.offsetY]),i.updateLayout(t);break;case"none":default:c.setItemLayout(n,[r.x,r.y]),pT(t.getGraph(),t),i.updateLayout(t)}}).on("dragend",function(){h&&h.setUnfixed(n)}),r.setDraggable(a,!!o.get("cursor")),"adjacency"===o.get(["emphasis","focus"])&&(Ta(r).focus=e.getAdjacentDataIndices())}}),c.graph.eachEdge(function(t){var e=t.getGraphicEl(),n=t.getModel().get(["emphasis","focus"]);e&&"adjacency"===n&&(Ta(e).focus={edge:[t.dataIndex],node:[t.node1.dataIndex,t.node2.dataIndex]})});var p="circular"===t.get("layout")&&t.get(["circular","rotateLabel"]),A=c.getLayout("cx"),g=c.getLayout("cy");c.graph.eachNode(function(t){wT(t,p,A,g)}),this._firstRender=!1},e.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},e.prototype._startForceLayoutIteration=function(t,e){var n=this;!function i(){t.step(function(t){n.updateLayout(n._model),(n._layouting=!t)&&(e?n._layoutTimeout=setTimeout(i,16):i())})}()},e.prototype._updateController=function(t,e,n){var i=this,r=this._controller,o=this._controllerHost,a=this.group;r.setPointerChecker(function(e,i,r){var o=a.getBoundingRect();return o.applyTransform(a.transform),o.contain(i,r)&&!oS(e,n,t)}),YT(t.coordinateSystem)?(r.enable(t.get("roam")),o.zoomLimit=t.get("scaleLimit"),o.zoom=t.coordinateSystem.getZoom(),r.off("pan").off("zoom").on("pan",function(e){eS(o,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"graphRoam",dx:e.dx,dy:e.dy})}).on("zoom",function(e){nS(o,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"graphRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),i._updateNodeAndLinkScale(),KT(t.getGraph(),gT(t)),i._lineDraw.updateLayout(),n.updateLabelLayout()})):r.disable()},e.prototype._updateNodeAndLinkScale=function(){var t=this._model,e=t.getData(),n=gT(t);e.eachItemGraphicEl(function(t,e){t&&t.setSymbolScale(n)})},e.prototype.updateLayout=function(t){KT(t.getGraph(),gT(t)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},e.type="graph",e}(xp);function qT(t){return"_EC_"+t}var ZT=function(){function t(t){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=t||!1}return t.prototype.isDirected=function(){return this._directed},t.prototype.addNode=function(t,e){t=null==t?""+e:""+t;var n=this._nodesMap;if(!n[qT(t)]){var i=new JT(t,e);return i.hostGraph=this,this.nodes.push(i),n[qT(t)]=i,i}},t.prototype.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},t.prototype.getNodeById=function(t){return this._nodesMap[qT(t)]},t.prototype.addEdge=function(t,e,n){var i=this._nodesMap,r=this._edgesMap;if(g.isNumber(t)&&(t=this.nodes[t]),g.isNumber(e)&&(e=this.nodes[e]),t instanceof JT||(t=i[qT(t)]),e instanceof JT||(e=i[qT(e)]),t&&e){var o=t.id+"-"+e.id,a=new tO(t,e,n);return a.hostGraph=this,this._directed&&(t.outEdges.push(a),e.inEdges.push(a)),t.edges.push(a),t!==e&&e.edges.push(a),this.edges.push(a),r[o]=a,a}},t.prototype.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},t.prototype.getEdge=function(t,e){t instanceof JT&&(t=t.id),e instanceof JT&&(e=e.id);var n=this._edgesMap;return this._directed?n[t+"-"+e]:n[t+"-"+e]||n[e+"-"+t]},t.prototype.eachNode=function(t,e){for(var n=this.nodes,i=n.length,r=0;r<i;r++)n[r].dataIndex>=0&&t.call(e,n[r],r)},t.prototype.eachEdge=function(t,e){for(var n=this.edges,i=n.length,r=0;r<i;r++)n[r].dataIndex>=0&&n[r].node1.dataIndex>=0&&n[r].node2.dataIndex>=0&&t.call(e,n[r],r)},t.prototype.breadthFirstTraverse=function(t,e,n,i){if(e instanceof JT||(e=this._nodesMap[qT(e)]),e){for(var r="out"===n?"outEdges":"in"===n?"inEdges":"edges",o=0;o<this.nodes.length;o++)this.nodes[o].__visited=!1;if(!t.call(i,e,null))for(var a=[e];a.length;){var s=a.shift(),l=s[r];for(o=0;o<l.length;o++){var c=l[o],u=c.node1===s?c.node2:c.node1;if(!u.__visited){if(t.call(i,u,s))return;a.push(u),u.__visited=!0}}}}},t.prototype.update=function(){for(var t=this.data,e=this.edgeData,n=this.nodes,i=this.edges,r=0,o=n.length;r<o;r++)n[r].dataIndex=-1;for(r=0,o=t.count();r<o;r++)n[t.getRawIndex(r)].dataIndex=r;e.filterSelf(function(t){var n=i[e.getRawIndex(t)];return n.node1.dataIndex>=0&&n.node2.dataIndex>=0});for(r=0,o=i.length;r<o;r++)i[r].dataIndex=-1;for(r=0,o=e.count();r<o;r++)i[e.getRawIndex(r)].dataIndex=r},t.prototype.clone=function(){for(var e=new t(this._directed),n=this.nodes,i=this.edges,r=0;r<n.length;r++)e.addNode(n[r].id,n[r].dataIndex);for(r=0;r<i.length;r++){var o=i[r];e.addEdge(o.node1.id,o.node2.id,o.dataIndex)}return e},t}(),JT=function(){function t(t,e){this.inEdges=[],this.outEdges=[],this.edges=[],this.dataIndex=-1,this.id=null==t?"":t,this.dataIndex=null==e?-1:e}return t.prototype.degree=function(){return this.edges.length},t.prototype.inDegree=function(){return this.inEdges.length},t.prototype.outDegree=function(){return this.outEdges.length},t.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostGraph.data.getItemModel(this.dataIndex).getModel(t)},t.prototype.getAdjacentDataIndices=function(){for(var t={edge:[],node:[]},e=0;e<this.edges.length;e++){var n=this.edges[e];n.dataIndex<0||(t.edge.push(n.dataIndex),t.node.push(n.node1.dataIndex,n.node2.dataIndex))}return t},t}(),tO=function(){function t(t,e,n){this.dataIndex=-1,this.node1=t,this.node2=e,this.dataIndex=null==n?-1:n}return t.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostGraph.edgeData.getItemModel(this.dataIndex).getModel(t)},t.prototype.getAdjacentDataIndices=function(){return{edge:[this.dataIndex],node:[this.node1.dataIndex,this.node2.dataIndex]}},t}();function eO(t,e){return{getValue:function(n){var i=this[t][e];return i.getStore().get(i.getDimensionIndex(n||"value"),this.dataIndex)},setVisual:function(n,i){this.dataIndex>=0&&this[t][e].setItemVisual(this.dataIndex,n,i)},getVisual:function(n){return this[t][e].getItemVisual(this.dataIndex,n)},setLayout:function(n,i){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,n,i)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}}g.mixin(JT,eO("hostGraph","data")),g.mixin(tO,eO("hostGraph","edgeData"));var nO=ZT;function iO(t,e,n,i,r){for(var o=new nO(i),a=0;a<t.length;a++)o.addNode(g.retrieve(t[a].id,t[a].name,a),a);var s=[],l=[],c=0;for(a=0;a<e.length;a++){var u=e[a],h=u.source,d=u.target;o.addEdge(h,d,c)&&(l.push(u),s.push(g.retrieve(Xi(u.id,null),h+" > "+d)),c++)}var f,p=n.get("coordinateSystem");if("cartesian2d"===p||"polar"===p)f=pm(t,n);else{var A=sd.get(p),v=A&&A.dimensions||[];g.indexOf(v,"value")<0&&v.concat(["value"]);var m=am(t,{coordDimensions:v,encodeDefine:n.getEncode()}).dimensions;(f=new rm(m,n)).initData(t)}var y=new rm(["value"],n);return y.initData(l,s),r&&r(f,y),$B({mainData:f,struct:o,structAttr:"graph",datas:{node:f,edge:y},datasAttr:{node:"data",edge:"edgeData"}}),o.update(),o}var rO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return p(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments);var n=this;function i(){return n._categoriesData}this.legendVisualProvider=new Ix(i,i),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},e.prototype.mergeDefaultAndTheme=function(e){t.prototype.mergeDefaultAndTheme.apply(this,arguments),Vi(e,"edgeLabel",["show"])},e.prototype.getInitialData=function(t,e){var n,i=t.edges||t.links||[],r=t.data||t.nodes||[],o=this;if(r&&i){oT(n=this)&&(n.__curvenessList=[],n.__edgeMap={},aT(n));var a=iO(r,i,this,!0,function(t,e){t.wrapMethod("getItemModel",function(t){var e=o._categoriesModels,n=t.getShallow("category"),i=e[n];return i&&(i.parentModel=t.parentModel,t.parentModel=i),t});var n=du.prototype.getModel;function i(t,e){var i=n.call(this,t,e);return i.resolveParentPath=r,i}function r(t){if(t&&("label"===t[0]||"label"===t[1])){var e=t.slice();return"label"===t[0]?e[0]="edgeLabel":"label"===t[1]&&(e[1]="edgeLabel"),e}return t}e.wrapMethod("getItemModel",function(t){return t.resolveParentPath=r,t.getModel=i,t})});return g.each(a.edges,function(t){!function(t,e,n,i){if(oT(n)){var r=sT(t,e,n),o=n.__edgeMap,a=o[lT(r)];o[r]&&!a?o[r].isForward=!0:a&&o[r]&&(a.isForward=!0,o[r].isForward=!1),o[r]=o[r]||[],o[r].push(i)}}(t.node1,t.node2,this,t.dataIndex)},this),a.data}},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.getCategoriesData=function(){return this._categoriesData},e.prototype.formatTooltip=function(t,e,n){if("edge"===n){var i=this.getData(),r=this.getDataParams(t,n),o=i.graph.getEdgeByIndex(t),a=i.getName(o.node1.dataIndex),s=i.getName(o.node2.dataIndex),l=[];return null!=a&&l.push(a),null!=s&&l.push(s),Hf("nameValue",{name:l.join(" > "),value:r.value,noValue:null==r.value})}return Jf({series:this,dataIndex:t,multipleSeries:e})},e.prototype._updateCategoriesData=function(){var t=g.map(this.option.categories||[],function(t){return null!=t.value?t:g.extend({value:0},t)}),e=new rm(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray(function(t){return e.getItemModel(t)})},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.isAnimationEnabled=function(){return t.prototype.isAnimationEnabled.call(this)&&!("force"===this.get("layout")&&this.get(["force","layoutAnimation"]))},e.type="series.graph",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(hp),oO={type:"graphRoam",event:"graphRoam",update:"none"};var aO=function(){return function(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0}}(),sO=function(t){function e(e){var n=t.call(this,e)||this;return n.type="pointer",n}return p(e,t),e.prototype.getDefaultShape=function(){return new aO},e.prototype.buildPath=function(t,e){var n=Math.cos,i=Math.sin,r=e.r,o=e.width,a=e.angle,s=e.x-n(a)*o*(o>=r/3?1:2),l=e.y-i(a)*o*(o>=r/3?1:2);a=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+n(a)*o,e.y+i(a)*o),t.lineTo(e.x+n(e.angle)*r,e.y+i(e.angle)*r),t.lineTo(e.x-n(a)*o,e.y-i(a)*o),t.lineTo(s,l)},e}(Xo);function lO(t,e){var n=null==t?"":t+"";return e&&(Object(g.isString)(e)?n=e.replace("{value}",n):Object(g.isFunction)(e)&&(n=e(t))),n}var cO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.render=function(t,e,n){this.group.removeAll();var i=t.get(["axisLine","lineStyle","color"]),r=function(t,e){var n=t.get("center"),i=e.getWidth(),r=e.getHeight(),o=Math.min(i,r);return{cx:pi(n[0],e.getWidth()),cy:pi(n[1],e.getHeight()),r:pi(t.get("radius"),o/2)}}(t,n);this._renderMain(t,e,n,i,r),this._data=t.getData()},e.prototype.dispose=function(){},e.prototype._renderMain=function(t,e,n,i,r){var o=this.group,a=t.get("clockwise"),s=-t.get("startAngle")/180*Math.PI,l=-t.get("endAngle")/180*Math.PI,c=t.getModel("axisLine"),u=c.get("roundCap")?Kw:ml,h=c.get("show"),d=c.getModel("lineStyle"),f=d.get("width"),p=[s,l];To(p,!a);for(var A=(l=p[1])-(s=p[0]),v=s,m=[],y=0;h&&y<i.length;y++){var b=new u({shape:{startAngle:v,endAngle:l=s+A*Math.min(Math.max(i[y][0],0),1),cx:r.cx,cy:r.cy,clockwise:a,r0:r.r-f,r:r.r},silent:!0});b.setStyle({fill:i[y][1]}),b.setStyle(d.getLineStyle(["color","width"])),m.push(b),v=l}m.reverse(),Object(g.each)(m,function(t){return o.add(t)});var _=function(t){if(t<=0)return i[0][1];var e;for(e=0;e<i.length;e++)if(i[e][0]>=t&&(0===e?0:i[e-1][0])<t)return i[e][1];return i[e-1][1]};this._renderTicks(t,e,n,_,r,s,l,a,f),this._renderTitleAndDetail(t,e,n,_,r),this._renderAnchor(t,r),this._renderPointer(t,e,n,_,r,s,l,a,f)},e.prototype._renderTicks=function(t,e,n,i,r,o,a,s,l){for(var c,u,h=this.group,d=r.cx,f=r.cy,p=r.r,A=+t.get("min"),v=+t.get("max"),m=t.getModel("splitLine"),y=t.getModel("axisTick"),b=t.getModel("axisLabel"),_=t.get("splitNumber"),w=y.get("splitNumber"),x=pi(m.get("length"),p),C=pi(y.get("length"),p),S=o,B=(a-o)/_,k=B/w,T=m.getModel("lineStyle").getLineStyle(),O=y.getModel("lineStyle").getLineStyle(),E=m.get("distance"),I=0;I<=_;I++){if(c=Math.cos(S),u=Math.sin(S),m.get("show")){var M=new Ml({shape:{x1:c*(p-(D=E?E+l:l))+d,y1:u*(p-D)+f,x2:c*(p-x-D)+d,y2:u*(p-x-D)+f},style:T,silent:!0});"auto"===T.stroke&&M.setStyle({stroke:i(I/_)}),h.add(M)}if(b.get("show")){var D=b.get("distance")+E,L=lO(Ai(I/_*(v-A)+A),b.get("formatter")),F=i(I/_),P=c*(p-x-D)+d,N=u*(p-x-D)+f,j=b.get("rotate"),U=0;"radial"===j?(U=-S+2*Math.PI)>Math.PI/2&&(U+=Math.PI):"tangential"===j?U=-S-Math.PI/2:Object(g.isNumber)(j)&&(U=j*Math.PI/180),0===U?h.add(new ka({style:Vc(b,{text:L,x:P,y:N,verticalAlign:u<-.8?"top":u>.8?"bottom":"middle",align:c<-.4?"left":c>.4?"right":"center"},{inheritColor:F}),silent:!0})):h.add(new ka({style:Vc(b,{text:L,x:P,y:N,verticalAlign:"middle",align:"center"},{inheritColor:F}),silent:!0,originX:P,originY:N,rotation:U}))}if(y.get("show")&&I!==_){D=(D=y.get("distance"))?D+l:l;for(var R=0;R<=w;R++){c=Math.cos(S),u=Math.sin(S);var Q=new Ml({shape:{x1:c*(p-D)+d,y1:u*(p-D)+f,x2:c*(p-C-D)+d,y2:u*(p-C-D)+f},silent:!0,style:O});"auto"===O.stroke&&Q.setStyle({stroke:i((I+R/w)/_)}),h.add(Q),S+=k}S-=k}else S+=B}},e.prototype._renderPointer=function(t,e,n,i,r,o,a,s,l){var c=this.group,u=this._data,h=this._progressEls,d=[],f=t.get(["pointer","show"]),p=t.getModel("progress"),A=p.get("show"),v=t.getData(),m=v.mapDimension("value"),y=+t.get("min"),b=+t.get("max"),_=[y,b],w=[o,a];function x(e,n){var i,o=v.getItemModel(e).getModel("pointer"),a=pi(o.get("width"),r.r),s=pi(o.get("length"),r.r),l=t.get(["pointer","icon"]),c=o.get("offsetCenter"),u=pi(c[0],r.r),h=pi(c[1],r.r),d=o.get("keepAspect");return(i=l?OA(l,u-a/2,h-s,a,s,null,d):new sO({shape:{angle:-Math.PI/2,width:a,r:s,x:u,y:h}})).rotation=-(n+Math.PI/2),i.x=r.cx,i.y=r.cy,i}function C(t,e){var n=p.get("roundCap")?Kw:ml,i=p.get("overlap"),a=i?p.get("width"):l/v.count(),c=i?r.r-a:r.r-(t+1)*a,u=i?r.r:r.r-t*a,h=new n({shape:{startAngle:o,endAngle:e,cx:r.cx,cy:r.cy,clockwise:s,r0:c,r:u}});return i&&(h.z2=b-v.get(m,t)%b),h}(A||f)&&(v.diff(u).add(function(e){var n=v.get(m,e);if(f){var i=x(e,o);nc(i,{rotation:-((isNaN(+n)?w[0]:fi(n,_,w,!0))+Math.PI/2)},t),c.add(i),v.setItemGraphicEl(e,i)}if(A){var r=C(e,o),a=p.get("clip");nc(r,{shape:{endAngle:fi(n,_,w,a)}},t),c.add(r),Oa(t.seriesIndex,v.dataType,e,r),d[e]=r}}).update(function(e,n){var i=v.get(m,e);if(f){var r=u.getItemGraphicEl(n),a=r?r.rotation:o,s=x(e,a);s.rotation=a,ec(s,{rotation:-((isNaN(+i)?w[0]:fi(i,_,w,!0))+Math.PI/2)},t),c.add(s),v.setItemGraphicEl(e,s)}if(A){var l=h[n],g=C(e,l?l.shape.endAngle:o),y=p.get("clip");ec(g,{shape:{endAngle:fi(i,_,w,y)}},t),c.add(g),Oa(t.seriesIndex,v.dataType,e,g),d[e]=g}}).execute(),v.each(function(t){var e=v.getItemModel(t),n=e.getModel("emphasis"),r=n.get("focus"),o=n.get("blurScope"),a=n.get("disabled");if(f){var s=v.getItemGraphicEl(t),l=v.getItemVisual(t,"style"),c=l.fill;if(s instanceof ia){var u=s.style;s.useStyle(Object(g.extend)({image:u.image,x:u.x,y:u.y,width:u.width,height:u.height},l))}else s.useStyle(l),"pointer"!==s.type&&s.setColor(c);s.setStyle(e.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===s.style.fill&&s.setStyle("fill",i(fi(v.get(m,t),_,[0,1],!0))),s.z2EmphasisLift=0,Bs(s,e),ws(s,r,o,a)}if(A){var h=d[t];h.useStyle(v.getItemVisual(t,"style")),h.setStyle(e.getModel(["progress","itemStyle"]).getItemStyle()),h.z2EmphasisLift=0,Bs(h,e),ws(h,r,o,a)}}),this._progressEls=d)},e.prototype._renderAnchor=function(t,e){var n=t.getModel("anchor");if(n.get("show")){var i=n.get("size"),r=n.get("icon"),o=n.get("offsetCenter"),a=n.get("keepAspect"),s=OA(r,e.cx-i/2+pi(o[0],e.r),e.cy-i/2+pi(o[1],e.r),i,i,null,a);s.z2=n.get("showAbove")?1:0,s.setStyle(n.getModel("itemStyle").getItemStyle()),this.group.add(s)}},e.prototype._renderTitleAndDetail=function(t,e,n,i,r){var o=this,a=t.getData(),s=a.mapDimension("value"),l=+t.get("min"),c=+t.get("max"),u=new ei,h=[],d=[],f=t.isAnimationEnabled(),p=t.get(["pointer","showAbove"]);a.diff(this._data).add(function(t){h[t]=new ka({silent:!0}),d[t]=new ka({silent:!0})}).update(function(t,e){h[t]=o._titleEls[e],d[t]=o._detailEls[e]}).execute(),a.each(function(e){var n=a.getItemModel(e),o=a.get(s,e),A=new ei,g=i(fi(o,[l,c],[0,1],!0)),v=n.getModel("title");if(v.get("show")){var m=v.get("offsetCenter"),y=r.cx+pi(m[0],r.r),b=r.cy+pi(m[1],r.r);(T=h[e]).attr({z2:p?0:2,style:Vc(v,{x:y,y:b,text:a.getName(e),align:"center",verticalAlign:"middle"},{inheritColor:g})}),A.add(T)}var _=n.getModel("detail");if(_.get("show")){var w=_.get("offsetCenter"),x=r.cx+pi(w[0],r.r),C=r.cy+pi(w[1],r.r),S=pi(_.get("width"),r.r),B=pi(_.get("height"),r.r),k=t.get(["progress","show"])?a.getItemVisual(e,"style").fill:g,T=d[e],O=_.get("formatter");T.attr({z2:p?0:2,style:Vc(_,{x:x,y:C,text:lO(o,O),width:isNaN(S)?null:S,height:isNaN(B)?null:B,align:"center",verticalAlign:"middle"},{inheritColor:k})}),qc(T,{normal:_},o,function(t){return lO(t,O)}),f&&Zc(T,e,a,t,{getFormattedLabel:function(t,e,n,i,r,a){return lO(a?a.interpolatedValue:o,O)}}),A.add(T)}u.add(A)}),this.group.add(u),this._titleEls=h,this._detailEls=d},e.type="gauge",e}(xp),uO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="itemStyle",n}return p(e,t),e.prototype.getInitialData=function(t,e){return Ex(this,["value"])},e.type="series.gauge",e.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},e}(hp);var hO=["itemStyle","opacity"],dO=function(t){function e(e,n){var i=t.call(this)||this,r=i,o=new Tl,a=new ka;return r.setTextContent(a),i.setTextGuideLine(o),i.updateData(e,n,!0),i}return p(e,t),e.prototype.updateData=function(t,e,n){var i=t.hostModel,r=t.getItemModel(e),o=t.getItemLayout(e),a=r.getModel("emphasis"),s=r.get(hO);s=null==s?1:s,n||sc(this),this.useStyle(t.getItemVisual(e,"style")),this.style.lineJoin="round",n?(this.setShape({points:o.points}),this.style.opacity=0,nc(this,{style:{opacity:s}},i,e)):ec(this,{style:{opacity:s},shape:{points:o.points}},i,e),Bs(this,r),this._updateLabel(t,e),ws(this,a.get("focus"),a.get("blurScope"),a.get("disabled"))},e.prototype._updateLabel=function(t,e){var n=this.getTextGuideLine(),i=this.getTextContent(),r=t.hostModel,o=t.getItemModel(e),a=t.getItemLayout(e).label,s=t.getItemVisual(e,"style"),l=s.fill;Qc(i,Hc(o),{labelFetcher:t.hostModel,labelDataIndex:e,defaultOpacity:s.opacity,defaultText:t.getName(e)},{normal:{align:a.textAlign,verticalAlign:a.verticalAlign}}),this.setTextConfig({local:!0,inside:!!a.inside,insideStroke:l,outsideFill:l});var c=a.linePoints;n.setShape({points:c}),this.textGuideLineConfig={anchor:c?new xt(c[0][0],c[0][1]):null},ec(i,{style:{x:a.x,y:a.y}},r,e),i.attr({rotation:a.rotation,originX:a.x,originY:a.y,z2:10}),Tb(this,Ob(o),{stroke:l})},e}(Sl),fO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreLabelLineUpdate=!0,n}return p(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this._data,o=this.group;i.diff(r).add(function(t){var e=new dO(i,t);i.setItemGraphicEl(t,e),o.add(e)}).update(function(t,e){var n=r.getItemGraphicEl(e);n.updateData(i,t),o.add(n),i.setItemGraphicEl(t,n)}).remove(function(e){ac(r.getItemGraphicEl(e),t,e)}).execute(),this._data=i},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.prototype.dispose=function(){},e.type="funnel",e}(xp),pO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new Ix(g.bind(this.getData,this),g.bind(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.getInitialData=function(t,e){return Ex(this,{coordDimensions:["value"],encodeDefaulter:g.curry(Rh,this)})},e.prototype._defaultLabelLine=function(t){Vi(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.prototype.getDataParams=function(e){var n=this.getData(),i=t.prototype.getDataParams.call(this,e),r=n.mapDimension("value"),o=n.getSum(r);return i.percent=o?+(n.get(r,e)/o*100).toFixed(2):0,i.$vars.push("percent"),i},e.type="series.funnel",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(hp);function AO(t,e){t.eachSeriesByType("funnel",function(t){var n=t.getData(),i=n.mapDimension("value"),r=t.get("sort"),o=function(t,e){return gh(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e),a=t.get("orient"),s=o.width,l=o.height,c=function(t,e){for(var n=t.mapDimension("value"),i=t.mapArray(n,function(t){return t}),r=[],o="ascending"===e,a=0,s=t.count();a<s;a++)r[a]=a;return Object(g.isFunction)(e)?r.sort(e):"none"!==e&&r.sort(function(t,e){return o?i[t]-i[e]:i[e]-i[t]}),r}(n,r),u=o.x,h=o.y,d="horizontal"===a?[pi(t.get("minSize"),l),pi(t.get("maxSize"),l)]:[pi(t.get("minSize"),s),pi(t.get("maxSize"),s)],f=n.getDataExtent(i),p=t.get("min"),A=t.get("max");null==p&&(p=Math.min(f[0],0)),null==A&&(A=f[1]);var v=t.get("funnelAlign"),m=t.get("gap"),y=(("horizontal"===a?s:l)-m*(n.count()-1))/n.count(),b=function(t,e){if("horizontal"===a){var r=fi(n.get(i,t)||0,[p,A],d,!0),o=void 0;switch(v){case"top":o=h;break;case"center":o=h+(l-r)/2;break;case"bottom":o=h+(l-r)}return[[e,o],[e,o+r]]}var c,f=fi(n.get(i,t)||0,[p,A],d,!0);switch(v){case"left":c=u;break;case"center":c=u+(s-f)/2;break;case"right":c=u+s-f}return[[c,e],[c+f,e]]};"ascending"===r&&(y=-y,m=-m,"horizontal"===a?u+=s:h+=l,c=c.reverse());for(var _=0;_<c.length;_++){var w=c[_],x=c[_+1],C=n.getItemModel(w);if("horizontal"===a){var S=C.get(["itemStyle","width"]);null==S?S=y:(S=pi(S,s),"ascending"===r&&(S=-S));var B=b(w,u),k=b(x,u+S);u+=S+m,n.setItemLayout(w,{points:B.concat(k.slice().reverse())})}else{var T=C.get(["itemStyle","height"]);null==T?T=y:(T=pi(T,l),"ascending"===r&&(T=-T));B=b(w,h),k=b(x,h+T);h+=T+m,n.setItemLayout(w,{points:B.concat(k.slice().reverse())})}}!function(t){var e=t.hostModel.get("orient");t.each(function(n){var i,r,o,a,s=t.getItemModel(n),l=s.getModel("label").get("position"),c=s.getModel("labelLine"),u=t.getItemLayout(n),h=u.points,d="inner"===l||"inside"===l||"center"===l||"insideLeft"===l||"insideRight"===l;if(d)"insideLeft"===l?(r=(h[0][0]+h[3][0])/2+5,o=(h[0][1]+h[3][1])/2,i="left"):"insideRight"===l?(r=(h[1][0]+h[2][0])/2-5,o=(h[1][1]+h[2][1])/2,i="right"):(r=(h[0][0]+h[1][0]+h[2][0]+h[3][0])/4,o=(h[0][1]+h[1][1]+h[2][1]+h[3][1])/4,i="center"),a=[[r,o],[r,o]];else{var f=void 0,p=void 0,A=void 0,g=void 0,v=c.get("length");"left"===l?(f=(h[3][0]+h[0][0])/2,p=(h[3][1]+h[0][1])/2,r=(A=f-v)-5,i="right"):"right"===l?(f=(h[1][0]+h[2][0])/2,p=(h[1][1]+h[2][1])/2,r=(A=f+v)+5,i="left"):"top"===l?(f=(h[3][0]+h[0][0])/2,o=(g=(p=(h[3][1]+h[0][1])/2)-v)-5,i="center"):"bottom"===l?(f=(h[1][0]+h[2][0])/2,o=(g=(p=(h[1][1]+h[2][1])/2)+v)+5,i="center"):"rightTop"===l?(f="horizontal"===e?h[3][0]:h[1][0],p="horizontal"===e?h[3][1]:h[1][1],"horizontal"===e?(o=(g=p-v)-5,i="center"):(r=(A=f+v)+5,i="top")):"rightBottom"===l?(f=h[2][0],p=h[2][1],"horizontal"===e?(o=(g=p+v)+5,i="center"):(r=(A=f+v)+5,i="bottom")):"leftTop"===l?(f=h[0][0],p="horizontal"===e?h[0][1]:h[1][1],"horizontal"===e?(o=(g=p-v)-5,i="center"):(r=(A=f-v)-5,i="right")):"leftBottom"===l?(f="horizontal"===e?h[1][0]:h[3][0],p="horizontal"===e?h[1][1]:h[2][1],"horizontal"===e?(o=(g=p+v)+5,i="center"):(r=(A=f-v)-5,i="right")):(f=(h[1][0]+h[2][0])/2,p=(h[1][1]+h[2][1])/2,"horizontal"===e?(o=(g=p+v)+5,i="center"):(r=(A=f+v)+5,i="left")),"horizontal"===e?r=A=f:o=g=p,a=[[f,p],[A,g]]}u.label={linePoints:a,x:r,y:o,verticalAlign:"middle",textAlign:i,inside:d}})}(n)})}var gO=.3;function vO(t,e,n,i){for(var r,o=[],a=0;a<n.length;a++){var s=n[a],l=t.get(t.mapDimension(s),e);r=l,("category"===i.getAxis(s).type?null==r:null==r||isNaN(r))||o.push(i.dataToPoint(l,s))}return o}function mO(t,e,n,i,r){var o=vO(t,n,i,r),a=new Tl({shape:{points:o},z2:10});return e.add(a),t.setItemGraphicEl(n,a),a}function yO(t){var e=t.get("smooth",!0);return!0===e&&(e=gO),e=Di(e),Object(g.eqNaN)(e)&&(e=0),{smooth:e}}function bO(t,e,n,i){t.useStyle(e.getItemVisual(n,"style")),t.style.fill=null,t.setShape("smooth",i.smooth);var r=e.getItemModel(n),o=r.getModel("emphasis");Bs(t,r,"lineStyle"),ws(t,o.get("focus"),o.get("blurScope"),o.get("disabled"))}var _O=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._dataGroup=new ei,n._initialized=!1,n}return p(e,t),e.prototype.init=function(){this.group.add(this._dataGroup)},e.prototype.render=function(t,e,n,i){this._progressiveEls=null;var r=this._dataGroup,o=t.getData(),a=this._data,s=t.coordinateSystem,l=s.dimensions,c=yO(t);if(o.diff(a).add(function(t){bO(mO(o,r,t,l,s),o,t,c)}).update(function(e,n){var i=a.getItemGraphicEl(n),r=vO(o,e,l,s);o.setItemGraphicEl(e,i),ec(i,{shape:{points:r}},t,e),sc(i),bO(i,o,e,c)}).remove(function(t){var e=a.getItemGraphicEl(t);r.remove(e)}).execute(),!this._initialized){this._initialized=!0;var u=function(t,e,n){var i=t.model,r=t.getRect(),o=new ha({shape:{x:r.x,y:r.y,width:r.width,height:r.height}}),a="horizontal"===i.get("layout")?"width":"height";return o.setShape(a,0),nc(o,{shape:{width:r.width,height:r.height}},e,n),o}(s,t,function(){setTimeout(function(){r.removeClipPath()})});r.setClipPath(u)}this._data=o},e.prototype.incrementalPrepareRender=function(t,e,n){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},e.prototype.incrementalRender=function(t,e,n){for(var i=e.getData(),r=e.coordinateSystem,o=r.dimensions,a=yO(e),s=this._progressiveEls=[],l=t.start;l<t.end;l++){var c=mO(i,this._dataGroup,l,o,r);c.incremental=!0,bO(c,i,l,a),s.push(c)}},e.prototype.remove=function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null},e.type="parallel",e}(xp);function wO(t){var e=t.ecModel.getComponent("parallel",t.get("parallelIndex"));if(e){var n={};return Object(g.each)(e.dimensions,function(t){var e=+t.replace("dim","");n[t]=e}),n}}var xO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return p(e,t),e.prototype.getInitialData=function(t,e){return pm(null,this,{useEncodeDefaulter:Object(g.bind)(wO,null,this)})},e.prototype.getRawIndicesByActiveState=function(t){var e=this.coordinateSystem,n=this.getData(),i=[];return e.eachActiveState(n,function(e,r){t===e&&i.push(n.getRawIndex(r))}),i},e.type="series.parallel",e.dependencies=["parallel"],e.defaultOption={z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"},e}(hp),CO=["lineStyle","opacity"],SO={seriesType:"parallel",reset:function(t,e){var n=t.coordinateSystem,i={normal:t.get(["lineStyle","opacity"]),active:t.get("activeOpacity"),inactive:t.get("inactiveOpacity")};return{progress:function(t,e){n.eachActiveState(e,function(t,n){var r=i[t];if("normal"===t&&e.hasItemOption){var o=e.getItemModel(n).get(CO,!0);null!=o&&(r=o)}e.ensureUniqueItemVisual(n,"style").opacity=r},t.start,t.end)}}}};function BO(t){!function(t){if(t.parallel)return;var e=!1;g.each(t.series,function(t){t&&"parallel"===t.type&&(e=!0)}),e&&(t.parallel=[{}])}(t),function(t){var e=Hi(t.parallelAxis);g.each(e,function(e){if(g.isObject(e)){var n=e.parallelIndex||0,i=Hi(t.parallel)[n];i&&i.parallelAxisDefault&&g.merge(e,i.parallelAxisDefault,!1)}})}(t)}var kO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.render=function(t,e,n){this._model=t,this._api=n,this._handlers||(this._handlers={},Object(g.each)(TO,function(t,e){n.getZr().on(e,this._handlers[e]=Object(g.bind)(t,this))},this)),Tp(this,"_throttledDispatchExpand",t.get("axisExpandRate"),"fixRate")},e.prototype.dispose=function(t,e){Op(this,"_throttledDispatchExpand"),Object(g.each)(this._handlers,function(t,n){e.getZr().off(n,t)}),this._handlers=null},e.prototype._throttledDispatchExpand=function(t){this._dispatchExpand(t)},e.prototype._dispatchExpand=function(t){t&&this._api.dispatchAction(Object(g.extend)({type:"parallelAxisExpand"},t))},e.type="parallel",e}(fp),TO={mousedown:function(t){OO(this,"click")&&(this._mouseDownPoint=[t.offsetX,t.offsetY])},mouseup:function(t){var e=this._mouseDownPoint;if(OO(this,"click")&&e){var n=[t.offsetX,t.offsetY];if(Math.pow(e[0]-n[0],2)+Math.pow(e[1]-n[1],2)>5)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==i.behavior&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&OO(this,"mousemove")){var e=this._model,n=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),i=n.behavior;"jump"===i&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===i?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===i?null:{duration:0}})}}};function OO(t,e){var n=t._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===e}var EO=kO,IO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.init=function(){t.prototype.init.apply(this,arguments),this.mergeOption({})},e.prototype.mergeOption=function(t){var e=this.option;t&&g.merge(e,t,!0),this._initDimensions()},e.prototype.contains=function(t,e){var n=t.get("parallelIndex");return null!=n&&e.getComponent("parallel",n)===this},e.prototype.setAxisExpand=function(t){g.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(e){t.hasOwnProperty(e)&&(this.option[e]=t[e])},this)},e.prototype._initDimensions=function(){var t=this.dimensions=[],e=this.parallelAxisIndex=[],n=g.filter(this.ecModel.queryComponents({mainType:"parallelAxis"}),function(t){return(t.get("parallelIndex")||0)===this.componentIndex},this);g.each(n,function(n){t.push("dim"+n.get("dim")),e.push(n.componentIndex)})},e.type="parallel",e.dependencies=["parallelAxis"],e.layoutMode="box",e.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},e}(Ch),MO=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.type=r||"value",a.axisIndex=o,a}return p(e,t),e.prototype.isHorizontal=function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")},e}(eb);function DO(t,e,n,i,r,o){t=t||0;var a=n[1]-n[0];if(null!=r&&(r=FO(r,[0,a])),null!=o&&(o=Math.max(o,null!=r?r:0)),"all"===i){var s=Math.abs(e[1]-e[0]);r=o=FO(s=FO(s,[0,a]),[r,o]),i=0}e[0]=FO(e[0],n),e[1]=FO(e[1],n);var l=LO(e,i);e[i]+=t;var c,u=r||0,h=n.slice();return l.sign<0?h[0]+=u:h[1]-=u,e[i]=FO(e[i],h),c=LO(e,i),null!=r&&(c.sign!==l.sign||c.span<r)&&(e[1-i]=e[i]+l.sign*r),c=LO(e,i),null!=o&&c.span>o&&(e[1-i]=e[i]+c.sign*o),e}function LO(t,e){var n=t[e]-t[1-e];return{span:Math.abs(n),sign:n>0?-1:n<0?1:e?-1:1}}function FO(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}var PO=g.each,NO=Math.min,jO=Math.max,UO=Math.floor,RO=Math.ceil,QO=Ai,HO=Math.PI;function VO(t,e){return NO(jO(t,e[0]),e[1])}var zO=function(){function t(t,e,n){this.type="parallel",this._axesMap=g.createHashMap(),this._axesLayout={},this.dimensions=t.dimensions,this._model=t,this._init(t,e,n)}return t.prototype._init=function(t,e,n){var i=t.dimensions,r=t.parallelAxisIndex;PO(i,function(t,n){var i=r[n],o=e.getComponent("parallelAxis",i),a=this._axesMap.set(t,new MO(t,my(o),[0,0],o.get("type"),i)),s="category"===a.type;a.onBand=s&&o.get("boundaryGap"),a.inverse=o.get("inverse"),o.axis=a,a.model=o,a.coordinateSystem=o.coordinateSystem=this},this)},t.prototype.update=function(t,e){this._updateAxesFromSeries(this._model,t)},t.prototype.containPoint=function(t){var e=this._makeLayoutInfo(),n=e.axisBase,i=e.layoutBase,r=e.pixelDimIndex,o=t[1-r],a=t[r];return o>=n&&o<=n+e.axisLength&&a>=i&&a<=i+e.layoutLength},t.prototype.getModel=function(){return this._model},t.prototype._updateAxesFromSeries=function(t,e){e.eachSeries(function(n){if(t.contains(n,e)){var i=n.getData();PO(this.dimensions,function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(i,i.mapDimension(t)),vy(e.scale,e.model)},this)}},this)},t.prototype.resize=function(t,e){this._rect=gh(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},t.prototype.getRect=function(){return this._rect},t.prototype._makeLayoutInfo=function(){var t,e=this._model,n=this._rect,i=["x","y"],r=["width","height"],o=e.get("layout"),a="horizontal"===o?0:1,s=n[r[a]],l=[0,s],c=this.dimensions.length,u=VO(e.get("axisExpandWidth"),l),h=VO(e.get("axisExpandCount")||0,[0,c]),d=e.get("axisExpandable")&&c>3&&c>h&&h>1&&u>0&&s>0,f=e.get("axisExpandWindow");f?(t=VO(f[1]-f[0],l),f[1]=f[0]+t):(t=VO(u*(h-1),l),(f=[u*(e.get("axisExpandCenter")||UO(c/2))-t/2])[1]=f[0]+t);var p=(s-t)/(c-h);p<3&&(p=0);var A=[UO(QO(f[0]/u,1))+1,RO(QO(f[1]/u,1))-1],g=p/u*f[0];return{layout:o,pixelDimIndex:a,layoutBase:n[i[a]],layoutLength:s,axisBase:n[i[1-a]],axisLength:n[r[1-a]],axisExpandable:d,axisExpandWidth:u,axisCollapseWidth:p,axisExpandWindow:f,axisCount:c,winInnerIndices:A,axisExpandWindow0Pos:g}},t.prototype._layoutAxes=function(){var t=this._rect,e=this._axesMap,n=this.dimensions,i=this._makeLayoutInfo(),r=i.layout;e.each(function(t){var e=[0,i.axisLength],n=t.inverse?1:0;t.setExtent(e[n],e[1-n])}),PO(n,function(e,n){var o=(i.axisExpandable?function(t,e){var n,i,r=e.layoutLength,o=e.axisExpandWidth,a=e.axisCount,s=e.axisCollapseWidth,l=e.winInnerIndices,c=s,u=!1;t<l[0]?(n=t*s,i=s):t<=l[1]?(n=e.axisExpandWindow0Pos+t*o-e.axisExpandWindow[0],c=o,u=!0):(n=r-(a-1-t)*s,i=s);return{position:n,axisNameAvailableWidth:c,axisLabelShow:u,nameTruncateMaxWidth:i}}:function(t,e){var n=e.layoutLength/(e.axisCount-1);return{position:n*t,axisNameAvailableWidth:n,axisLabelShow:!0}})(n,i),a={horizontal:{x:o.position,y:i.axisLength},vertical:{x:0,y:o.position}},s={horizontal:HO/2,vertical:0},l=[a[r].x+t.x,a[r].y+t.y],c=s[r],u=[1,0,0,1,0,0];yt(u,u,c),mt(u,u,l),this._axesLayout[e]={position:l,rotation:c,transform:u,axisNameAvailableWidth:o.axisNameAvailableWidth,axisLabelShow:o.axisLabelShow,nameTruncateMaxWidth:o.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},t.prototype.getAxis=function(t){return this._axesMap.get(t)},t.prototype.dataToPoint=function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},t.prototype.eachActiveState=function(t,e,n,i){null==n&&(n=0),null==i&&(i=t.count());var r=this._axesMap,o=this.dimensions,a=[],s=[];g.each(o,function(e){a.push(t.mapDimension(e)),s.push(r.get(e).model)});for(var l=this.hasAxisBrushed(),c=n;c<i;c++){var u=void 0;if(l){u="active";for(var h=t.getValues(a,c),d=0,f=o.length;d<f;d++){if("inactive"===s[d].getActiveState(h[d])){u="inactive";break}}}else u="normal";e(u,c)}},t.prototype.hasAxisBrushed=function(){for(var t=this.dimensions,e=this._axesMap,n=!1,i=0,r=t.length;i<r;i++)"normal"!==e.get(t[i]).model.getActiveState()&&(n=!0);return n},t.prototype.axisCoordToPoint=function(t,e){return Sc([t,0],this._axesLayout[e].transform)},t.prototype.getAxisLayout=function(t){return g.clone(this._axesLayout[t])},t.prototype.getSlidedAxisExpandWindow=function(t){var e=this._makeLayoutInfo(),n=e.pixelDimIndex,i=e.axisExpandWindow.slice(),r=i[1]-i[0],o=[0,e.axisExpandWidth*(e.axisCount-1)];if(!this.containPoint(t))return{behavior:"none",axisExpandWindow:i};var a,s=t[n]-e.layoutBase-e.axisExpandWindow0Pos,l="slide",c=e.axisCollapseWidth,u=this._model.get("axisExpandSlideTriggerArea"),h=null!=u[0];if(c)h&&c&&s<r*u[0]?(l="jump",a=s-r*u[2]):h&&c&&s>r*(1-u[0])?(l="jump",a=s-r*(1-u[2])):(a=s-r*u[1])>=0&&(a=s-r*(1-u[1]))<=0&&(a=0),(a*=e.axisExpandWidth/c)?DO(a,i,o,"all"):l="none";else{var d=i[1]-i[0];(i=[jO(0,o[1]*s/d-d/2)])[1]=NO(o[1],i[0]+d),i[0]=i[1]-d}return{axisExpandWindow:i,behavior:l}},t}();var $O={create:function(t,e){var n=[];return t.eachComponent("parallel",function(i,r){var o=new zO(i,t,e);o.name="parallel_"+r,o.resize(i,e),i.coordinateSystem=o,o.model=i,n.push(o)}),t.eachSeries(function(t){if("parallel"===t.get("coordinateSystem")){var e=t.getReferringComponents("parallel",rr).models[0];t.coordinateSystem=e.coordinateSystem}}),n}},GO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.activeIntervals=[],n}return p(e,t),e.prototype.getAreaSelectStyle=function(){return br([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},e.prototype.setActiveIntervals=function(t){var e=this.activeIntervals=g.clone(t);if(e)for(var n=e.length-1;n>=0;n--)gi(e[n])},e.prototype.getActiveState=function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t||isNaN(+t))return"inactive";if(1===e.length){var n=e[0];if(n[0]<=t&&t<=n[1])return"active"}else for(var i=0,r=e.length;i<r;i++)if(e[i][0]<=t&&t<=e[i][1])return"active";return"inactive"},e}(Ch);g.mixin(GO,Cy);var WO=GO,KO=!0,YO=Math.min,XO=Math.max,qO=Math.pow,ZO=1e4,JO=6,tE=6,eE={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},nE={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},iE={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},rE=0,oE=function(t){function e(e){var n=t.call(this)||this;return n._track=[],n._covers=[],n._handlers={},n._zr=e,n.group=new ei,n._uid="brushController_"+rE++,Object(g.each)(ME,function(t,e){this._handlers[e]=Object(g.bind)(t,this)},n),n}return p(e,t),e.prototype.enableBrush=function(t){return this._brushType&&this._doDisableBrush(),t.brushType&&this._doEnableBrush(t),this},e.prototype._doEnableBrush=function(t){var e=this._zr;this._enableGlobalPan||function(t,e,n){XC(t)[e]=n}(e,"globalPan",this._uid),Object(g.each)(this._handlers,function(t,n){e.on(n,t)}),this._brushType=t.brushType,this._brushOption=Object(g.merge)(Object(g.clone)(iE),t,!0)},e.prototype._doDisableBrush=function(){var t=this._zr;!function(t,e,n){var i=XC(t);i[e]===n&&(i[e]=null)}(t,"globalPan",this._uid),Object(g.each)(this._handlers,function(e,n){t.off(n,e)}),this._brushType=this._brushOption=null},e.prototype.setPanels=function(t){if(t&&t.length){var e=this._panels={};Object(g.each)(t,function(t){e[t.panelId]=Object(g.clone)(t)})}else this._panels=null;return this},e.prototype.mount=function(t){t=t||{},this._enableGlobalPan=t.enableGlobalPan;var e=this.group;return this._zr.add(e),e.attr({x:t.x||0,y:t.y||0,rotation:t.rotation||0,scaleX:t.scaleX||1,scaleY:t.scaleY||1}),this._transform=e.getLocalTransform(),this},e.prototype.updateCovers=function(t){t=Object(g.map)(t,function(t){return Object(g.merge)(Object(g.clone)(iE),t,!0)});var e="\0-brush-index-",n=this._covers,i=this._covers=[],r=this,o=this._creatingCover;return new Lv(n,t,function(t,e){return a(t.__brushOption,e)},a).add(s).update(s).remove(function(t){n[t]!==o&&r.group.remove(n[t])}).execute(),this;function a(t,n){return(null!=t.id?t.id:e+n)+"-"+t.brushType}function s(e,a){var s=t[e];if(null!=a&&n[a]===o)i[e]=n[a];else{var l=i[e]=null!=a?(n[a].__brushOption=s,n[a]):sE(r,aE(r,s));uE(r,l)}}},e.prototype.unmount=function(){return this.enableBrush(!1),pE(this),this._zr.remove(this.group),this},e.prototype.dispose=function(){this.unmount(),this.off()},e}(z);function aE(t,e){var n=LE[e.brushType].createCover(t,e);return n.__brushOption=e,cE(n,e),t.group.add(n),n}function sE(t,e){var n=hE(e);return n.endCreating&&(n.endCreating(t,e),cE(e,e.__brushOption)),e}function lE(t,e){var n=e.__brushOption;hE(e).updateCoverShape(t,e,n.range,n)}function cE(t,e){var n=e.z;null==n&&(n=ZO),t.traverse(function(t){t.z=n,t.z2=n})}function uE(t,e){hE(e).updateCommon(t,e),lE(t,e)}function hE(t){return LE[t.__brushOption.brushType]}function dE(t,e,n){var i,r=t._panels;if(!r)return KO;var o=t._transform;return Object(g.each)(r,function(t){t.isTargetByCursor(e,n,o)&&(i=t)}),i}function fE(t,e){var n=t._panels;if(!n)return KO;var i=e.__brushOption.panelId;return null!=i?n[i]:KO}function pE(t){var e=t._covers,n=e.length;return Object(g.each)(e,function(e){t.group.remove(e)},t),e.length=0,!!n}function AE(t,e){var n=Object(g.map)(t._covers,function(t){var e=t.__brushOption,n=Object(g.clone)(e.range);return{brushType:e.brushType,panelId:e.panelId,range:n}});t.trigger("brush",{areas:n,isEnd:!!e.isEnd,removeOnClick:!!e.removeOnClick})}function gE(t){var e=t.length-1;return e<0&&(e=0),[t[0],t[e]]}function vE(t,e,n,i){var r=new ei;return r.add(new ha({name:"main",style:_E(n),silent:!0,draggable:!0,cursor:"move",drift:Object(g.curry)(CE,t,e,r,["n","s","w","e"]),ondragend:Object(g.curry)(AE,e,{isEnd:!0})})),Object(g.each)(i,function(n){r.add(new ha({name:n.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:Object(g.curry)(CE,t,e,r,n),ondragend:Object(g.curry)(AE,e,{isEnd:!0})}))}),r}function mE(t,e,n,i){var r=i.brushStyle.lineWidth||0,o=XO(r,tE),a=n[0][0],s=n[1][0],l=a-r/2,c=s-r/2,u=n[0][1],h=n[1][1],d=u-o+r/2,f=h-o+r/2,p=u-a,A=h-s,g=p+r,v=A+r;bE(t,e,"main",a,s,p,A),i.transformable&&(bE(t,e,"w",l,c,o,v),bE(t,e,"e",d,c,o,v),bE(t,e,"n",l,c,g,o),bE(t,e,"s",l,f,g,o),bE(t,e,"nw",l,c,o,o),bE(t,e,"ne",d,c,o,o),bE(t,e,"sw",l,f,o,o),bE(t,e,"se",d,f,o,o))}function yE(t,e){var n=e.__brushOption,i=n.transformable,r=e.childAt(0);r.useStyle(_E(n)),r.attr({silent:!i,cursor:i?"move":"default"}),Object(g.each)([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],function(n){var r=e.childOfName(n.join("")),o=1===n.length?xE(t,n[0]):function(t,e){var n=[xE(t,e[0]),xE(t,e[1])];return("e"===n[0]||"w"===n[0])&&n.reverse(),n.join("")}(t,n);r&&r.attr({silent:!i,invisible:!i,cursor:i?nE[o]+"-resize":null})})}function bE(t,e,n,i,r,o,a){var s,l,c,u,h,d=e.childOfName(n);d&&d.setShape((s=kE(t,e,[[i,r],[i+o,r+a]]),l=YO(s[0][0],s[1][0]),c=YO(s[0][1],s[1][1]),u=XO(s[0][0],s[1][0]),h=XO(s[0][1],s[1][1]),{x:l,y:c,width:u-l,height:h-c}))}function _E(t){return Object(g.defaults)({strokeNoScale:!0},t.brushStyle)}function wE(t,e,n,i){var r=[YO(t,n),YO(e,i)],o=[XO(t,n),XO(e,i)];return[[r[0],o[0]],[r[1],o[1]]]}function xE(t,e){return{left:"w",right:"e",top:"n",bottom:"s"}[Bc({w:"left",e:"right",n:"top",s:"bottom"}[e],function(t){return Cc(t.group)}(t))]}function CE(t,e,n,i,r,o){var a=n.__brushOption,s=t.toRectRange(a.range),l=BE(e,r,o);Object(g.each)(i,function(t){var e=eE[t];s[e[0]][e[1]]+=l[e[0]]}),a.range=t.fromRectRange(wE(s[0][0],s[1][0],s[0][1],s[1][1])),uE(e,n),AE(e,{isEnd:!1})}function SE(t,e,n,i){var r=e.__brushOption.range,o=BE(t,n,i);Object(g.each)(r,function(t){t[0]+=o[0],t[1]+=o[1]}),uE(t,e),AE(t,{isEnd:!1})}function BE(t,e,n){var i=t.group,r=i.transformCoordToLocal(e,n),o=i.transformCoordToLocal(0,0);return[r[0]-o[0],r[1]-o[1]]}function kE(t,e,n){var i=fE(t,e);return i&&i!==KO?i.clipPath(n,t._transform):Object(g.clone)(n)}function TE(t){var e=t.event;e.preventDefault&&e.preventDefault()}function OE(t,e,n){return t.childOfName("main").contain(e,n)}function EE(t,e,n,i){var r,o=t._creatingCover,a=t._creatingPanel,s=t._brushOption;if(t._track.push(n.slice()),function(t){var e=t._track;if(!e.length)return!1;var n=e[e.length-1],i=e[0],r=n[0]-i[0],o=n[1]-i[1];return qO(r*r+o*o,.5)>JO}(t)||o){if(a&&!o){"single"===s.brushMode&&pE(t);var l=Object(g.clone)(s);l.brushType=IE(l.brushType,a),l.panelId=a===KO?null:a.panelId,o=t._creatingCover=aE(t,l),t._covers.push(o)}if(o){var c=LE[IE(t._brushType,a)];o.__brushOption.range=c.getCreatingRange(kE(t,o,t._track)),i&&(sE(t,o),c.updateCommon(t,o)),lE(t,o),r={isEnd:i}}}else i&&"single"===s.brushMode&&s.removeOnClick&&dE(t,e,n)&&pE(t)&&(r={isEnd:i,removeOnClick:!0});return r}function IE(t,e){return"auto"===t?e.defaultBrushType:t}var ME={mousedown:function(t){if(this._dragging)DE(this,t);else if(!t.target||!t.target.draggable){TE(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null,(this._creatingPanel=dE(this,t,e))&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=t.offsetX,n=t.offsetY,i=this.group.transformCoordToLocal(e,n);if(function(t,e,n){if(t._brushType&&!function(t,e,n){var i=t._zr;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}(t,e.offsetX,e.offsetY)){var i=t._zr,r=t._covers,o=dE(t,e,n);if(!t._dragging)for(var a=0;a<r.length;a++){var s=r[a].__brushOption;if(o&&(o===KO||s.panelId===o.panelId)&&LE[s.brushType].contain(r[a],n[0],n[1]))return}o&&i.setCursorStyle("crosshair")}}(this,t,i),this._dragging){TE(t);var r=EE(this,t,i,!1);r&&AE(this,r)}},mouseup:function(t){DE(this,t)}};function DE(t,e){if(t._dragging){TE(e);var n=e.offsetX,i=e.offsetY,r=EE(t,e,t.group.transformCoordToLocal(n,i),!0);t._dragging=!1,t._track=[],t._creatingCover=null,r&&AE(t,r)}}var LE={lineX:FE(0),lineY:FE(1),rect:{createCover:function(t,e){function n(t){return t}return vE({toRectRange:n,fromRectRange:n},t,e,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(t){var e=gE(t);return wE(e[1][0],e[1][1],e[0][0],e[0][1])},updateCoverShape:function(t,e,n,i){mE(t,e,n,i)},updateCommon:yE,contain:OE},polygon:{createCover:function(t,e){var n=new ei;return n.add(new Tl({name:"main",style:_E(e),silent:!0})),n},getCreatingRange:function(t){return t},endCreating:function(t,e){e.remove(e.childAt(0)),e.add(new Sl({name:"main",draggable:!0,drift:Object(g.curry)(SE,t,e),ondragend:Object(g.curry)(AE,t,{isEnd:!0})}))},updateCoverShape:function(t,e,n,i){e.childAt(0).setShape({points:kE(t,e,n)})},updateCommon:yE,contain:OE}};function FE(t){return{createCover:function(e,n){return vE({toRectRange:function(e){var n=[e,[0,100]];return t&&n.reverse(),n},fromRectRange:function(e){return e[t]}},e,n,[[["w"],["e"]],[["n"],["s"]]][t])},getCreatingRange:function(e){var n=gE(e);return[YO(n[0][t],n[1][t]),XO(n[0][t],n[1][t])]},updateCoverShape:function(e,n,i,r){var o,a=fE(e,n);if(a!==KO&&a.getLinearBrushOtherExtent)o=a.getLinearBrushOtherExtent(t);else{var s=e._zr;o=[0,[s.getWidth(),s.getHeight()][1-t]]}var l=[i,o];t&&l.reverse(),mE(e,n,l,r)},updateCommon:yE,contain:OE}}var PE=oE;function NE(t){return t=RE(t),function(e){return Oc(e,t)}}function jE(t,e){return t=RE(t),function(n){var i=null!=e?e:n,r=i?t.width:t.height,o=i?t.x:t.y;return[o,o+(r||0)]}}function UE(t,e,n){var i=RE(t);return function(t,r){return i.contain(r[0],r[1])&&!oS(t,e,n)}}function RE(t){return Mt.create(t)}var QE=["axisLine","axisTickLabel","axisName"];var HE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.init=function(e,n){t.prototype.init.apply(this,arguments),(this._brushController=new PE(n.getZr())).on("brush",g.bind(this._onBrush,this))},e.prototype.render=function(t,e,n,i){if(!function(t,e,n){return n&&"axisAreaSelect"===n.type&&e.findComponents({mainType:"parallelAxis",query:n})[0]===t}(t,e,i)){this.axisModel=t,this.api=n,this.group.removeAll();var r=this._axisGroup;if(this._axisGroup=new ei,this.group.add(this._axisGroup),t.get("show")){var o=function(t,e){return e.getComponent("parallel",t.get("parallelIndex"))}(t,e),a=o.coordinateSystem,s=t.getAreaSelectStyle(),l=s.width,c=t.axis.dim,u=a.getAxisLayout(c),h=g.extend({strokeContainThreshold:l},u),d=new pC(t,h);g.each(QE,d.add,d),this._axisGroup.add(d.getGroup()),this._refreshBrushController(h,s,t,o,l,n),Tc(r,this._axisGroup,t)}}},e.prototype._refreshBrushController=function(t,e,n,i,r,o){var a=n.axis.getExtent(),s=a[1]-a[0],l=Math.min(30,.1*Math.abs(s)),c=Mt.create({x:a[0],y:-r/2,width:s,height:r});c.x-=l,c.width+=2*l,this._brushController.mount({enableGlobalPan:!0,rotation:t.rotation,x:t.position[0],y:t.position[1]}).setPanels([{panelId:"pl",clipPath:NE(c),isTargetByCursor:UE(c,o,i),getLinearBrushOtherExtent:jE(c,0)}]).enableBrush({brushType:"lineX",brushStyle:e,removeOnClick:!0}).updateCovers(function(t){var e=t.axis;return g.map(t.activeIntervals,function(t){return{brushType:"lineX",panelId:"pl",range:[e.dataToCoord(t[0],!0),e.dataToCoord(t[1],!0)]}})}(n))},e.prototype._onBrush=function(t){var e=t.areas,n=this.axisModel,i=n.axis,r=g.map(e,function(t){return[i.coordToData(t.range[0],!0),i.coordToData(t.range[1],!0)]});(!n.option.realtime===t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:n.id,intervals:r})},e.prototype.dispose=function(){this._brushController.dispose()},e.type="parallelAxis",e}(fp),VE={type:"axisAreaSelect",event:"axisAreaSelected"};var zE={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function $E(t){t.registerComponentView(EO),t.registerComponentModel(IO),t.registerCoordinateSystem("parallel",$O),t.registerPreprocessor(BO),t.registerComponentModel(WO),t.registerComponentView(HE),Gx(t,"parallel",WO,zE),function(t){t.registerAction(VE,function(t,e){e.eachComponent({mainType:"parallelAxis",query:t},function(e){e.axis.model.setActiveIntervals(t.intervals)})}),t.registerAction("parallelAxisExpand",function(t,e){e.eachComponent({mainType:"parallel",query:t},function(e){e.setAxisExpand(t)})})}(t)}var GE=function(){return function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0}}(),WE=function(t){function e(e){return t.call(this,e)||this}return p(e,t),e.prototype.getDefaultShape=function(){return new GE},e.prototype.buildPath=function(t,e){var n=e.extent;t.moveTo(e.x1,e.y1),t.bezierCurveTo(e.cpx1,e.cpy1,e.cpx2,e.cpy2,e.x2,e.y2),"vertical"===e.orient?(t.lineTo(e.x2+n,e.y2),t.bezierCurveTo(e.cpx2+n,e.cpy2,e.cpx1+n,e.cpy1,e.x1+n,e.y1)):(t.lineTo(e.x2,e.y2+n),t.bezierCurveTo(e.cpx2,e.cpy2+n,e.cpx1,e.cpy1+n,e.x1,e.y1+n)),t.closePath()},e.prototype.highlight=function(){cs(this)},e.prototype.downplay=function(){us(this)},e}(Xo);var KE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._focusAdjacencyDisabled=!1,n}return p(e,t),e.prototype.render=function(t,e,n){var i=this,r=t.getGraph(),o=this.group,a=t.layoutInfo,s=a.width,l=a.height,c=t.getData(),u=t.getData("edge"),h=t.get("orient");this._model=t,o.removeAll(),o.x=a.x,o.y=a.y,r.eachEdge(function(e){var n=new WE,i=Ta(n);i.dataIndex=e.dataIndex,i.seriesIndex=t.seriesIndex,i.dataType="edge";var r,a,c,d,f,p,A,v,m=e.getModel(),y=m.getModel("lineStyle"),b=y.get("curveness"),_=e.node1.getLayout(),w=e.node1.getModel(),x=w.get("localX"),C=w.get("localY"),S=e.node2.getLayout(),B=e.node2.getModel(),k=B.get("localX"),T=B.get("localY"),O=e.getLayout();switch(n.shape.extent=Math.max(1,O.dy),n.shape.orient=h,"vertical"===h?(r=(null!=x?x*s:_.x)+O.sy,a=(null!=C?C*l:_.y)+_.dy,c=(null!=k?k*s:S.x)+O.ty,f=r,p=a*(1-b)+(d=null!=T?T*l:S.y)*b,A=c,v=a*b+d*(1-b)):(r=(null!=x?x*s:_.x)+_.dx,a=(null!=C?C*l:_.y)+O.sy,f=r*(1-b)+(c=null!=k?k*s:S.x)*b,p=a,A=r*b+c*(1-b),v=d=(null!=T?T*l:S.y)+O.ty),n.setShape({x1:r,y1:a,x2:c,y2:d,cpx1:f,cpy1:p,cpx2:A,cpy2:v}),n.useStyle(y.getItemStyle()),n.style.fill){case"source":n.style.fill=e.node1.getVisual("color"),n.style.decal=e.node1.getVisual("style").decal;break;case"target":n.style.fill=e.node2.getVisual("color"),n.style.decal=e.node2.getVisual("style").decal;break;case"gradient":var E=e.node1.getVisual("color"),I=e.node2.getVisual("color");Object(g.isString)(E)&&Object(g.isString)(I)&&(n.style.fill=new Vl(0,0,+("horizontal"===h),+("vertical"===h),[{color:E,offset:0},{color:I,offset:1}]))}Qc(n,Hc(m,"edgeLabel"),{labelFetcher:t,labelDataIndex:e.dataIndex,defaultText:""+m.get("value")}),n.setTextConfig({position:"inside"});var M=m.getModel("emphasis");Bs(n,m,"lineStyle",function(t){return t.getItemStyle()}),o.add(n),u.setItemGraphicEl(e.dataIndex,n);var D=M.get("focus");ws(n,"adjacency"===D?e.getAdjacentDataIndices():D,M.get("blurScope"),M.get("disabled")),Ta(n).dataType="edge"}),r.eachNode(function(e){var n=e.getLayout(),i=e.getModel(),r=i.get("localX"),a=i.get("localY"),u=i.getModel("emphasis"),h=new ha({shape:{x:null!=r?r*s:n.x,y:null!=a?a*l:n.y,width:n.dx,height:n.dy},style:i.getModel("itemStyle").getItemStyle(),z2:10});Qc(h,Hc(i),{labelFetcher:t,labelDataIndex:e.dataIndex,defaultText:e.id}),h.disableLabelAnimation=!0,h.setStyle("fill",e.getVisual("color")),h.setStyle("decal",e.getVisual("style").decal),Bs(h,i),o.add(h),c.setItemGraphicEl(e.dataIndex,h),Ta(h).dataType="node";var d=u.get("focus");ws(h,"adjacency"===d?e.getAdjacentDataIndices():d,u.get("blurScope"),u.get("disabled"))}),c.eachItemGraphicEl(function(e,r){c.getItemModel(r).get("draggable")&&(e.drift=function(e,o){i._focusAdjacencyDisabled=!0,this.shape.x+=e,this.shape.y+=o,this.dirty(),n.dispatchAction({type:"dragNode",seriesId:t.id,dataIndex:c.getRawIndex(r),localX:this.shape.x/s,localY:this.shape.y/l})},e.ondragend=function(){i._focusAdjacencyDisabled=!1},e.draggable=!0,e.cursor="move")}),!this._data&&t.isAnimationEnabled()&&o.setClipPath(function(t,e,n){var i=new ha({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return nc(i,{shape:{width:t.width+20}},e,n),i}(o.getBoundingRect(),t,function(){o.removeClipPath()})),this._data=t.getData()},e.prototype.dispose=function(){},e.type="sankey",e}(xp),YE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.getInitialData=function(t,e){var n=t.edges||t.links,i=t.data||t.nodes,r=t.levels;this.levelModels=[];for(var o=this.levelModels,a=0;a<r.length;a++)null!=r[a].depth&&r[a].depth>=0&&(o[r[a].depth]=new du(r[a],this,e));if(i&&n)return iO(i,n,this,!0,function(t,e){t.wrapMethod("getItemModel",function(t,e){var n=t.parentModel,i=n.getData().getItemLayout(e);if(i){var r=i.depth,o=n.levelModels[r];o&&(t.parentModel=o)}return t}),e.wrapMethod("getItemModel",function(t,e){var n=t.parentModel,i=n.getGraph().getEdgeByIndex(e),r=i.node1.getLayout();if(r){var o=r.depth,a=n.levelModels[o];a&&(t.parentModel=a)}return t})}).data},e.prototype.setNodePosition=function(t,e){var n=(this.option.data||this.option.nodes)[t];n.localX=e[0],n.localY=e[1]},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.formatTooltip=function(t,e,n){function i(t){return isNaN(t)||null==t}if("edge"===n){var r=this.getDataParams(t,n),o=r.data,a=r.value;return Hf("nameValue",{name:o.source+" -- "+o.target,value:a,noValue:i(a)})}var s=this.getGraph().getNodeByIndex(t).getLayout().value,l=this.getDataParams(t,n).data.name;return Hf("nameValue",{name:null!=l?l+"":null,value:s,noValue:i(s)})},e.prototype.optionUpdated=function(){},e.prototype.getDataParams=function(e,n){var i=t.prototype.getDataParams.call(this,e,n);if(null==i.value&&"node"===n){var r=this.getGraph().getNodeByIndex(e).getLayout().value;i.value=r}return i},e.type="series.sankey",e.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},e}(hp);function XE(t,e){t.eachSeriesByType("sankey",function(t){var n=t.get("nodeWidth"),i=t.get("nodeGap"),r=function(t,e){return gh(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=r;var o=r.width,a=r.height,s=t.getGraph(),l=s.nodes,c=s.edges;!function(t){g.each(t,function(t){var e=aI(t.outEdges,oI),n=aI(t.inEdges,oI),i=t.getValue()||0,r=Math.max(e,n,i);t.setLayout({value:r},!0)})}(l),function(t,e,n,i,r,o,a,s,l){(function(t,e,n,i,r,o,a){for(var s=[],l=[],c=[],u=[],h=0,d=0;d<e.length;d++)s[d]=1;for(var d=0;d<t.length;d++)l[d]=t[d].inEdges.length,0===l[d]&&c.push(t[d]);var f=-1;for(;c.length;){for(var p=0;p<c.length;p++){var A=c[p],v=A.hostGraph.data.getRawDataItem(A.dataIndex),m=null!=v.depth&&v.depth>=0;m&&v.depth>f&&(f=v.depth),A.setLayout({depth:m?v.depth:h},!0),"vertical"===o?A.setLayout({dy:n},!0):A.setLayout({dx:n},!0);for(var y=0;y<A.outEdges.length;y++){var b=A.outEdges[y],_=e.indexOf(b);s[_]=0;var w=b.node2,x=t.indexOf(w);0==--l[x]&&u.indexOf(w)<0&&u.push(w)}}++h,c=u,u=[]}for(var d=0;d<s.length;d++)if(1===s[d])throw new Error("Sankey is a DAG, the original data has cycle!");var C=f>h-1?f:h-1;a&&"left"!==a&&function(t,e,n,i){if("right"===e){for(var r=[],o=t,a=0;o.length;){for(var s=0;s<o.length;s++){var l=o[s];l.setLayout({skNodeHeight:a},!0);for(var c=0;c<l.inEdges.length;c++){var u=l.inEdges[c];r.indexOf(u.node1)<0&&r.push(u.node1)}}o=r,r=[],++a}g.each(t,function(t){qE(t)||t.setLayout({depth:Math.max(0,i-t.getLayout().skNodeHeight)},!0)})}else"justify"===e&&function(t,e){g.each(t,function(t){qE(t)||t.outEdges.length||t.setLayout({depth:e},!0)})}(t,i)}(t,a,0,C);!function(t,e,n){g.each(t,function(t){var i=t.getLayout().depth*e;"vertical"===n?t.setLayout({y:i},!0):t.setLayout({x:i},!0)})}(t,"vertical"===o?(r-n)/C:(i-n)/C,o)})(t,e,n,r,o,s,l),function(t,e,n,i,r,o,a){var s=function(t,e){var n=[],i="vertical"===e?"y":"x",r=lr(t,function(t){return t.getLayout()[i]});return r.keys.sort(function(t,e){return t-e}),g.each(r.keys,function(t){n.push(r.buckets.get(t))}),n}(t,a);(function(t,e,n,i,r,o){var a=1/0;g.each(t,function(t){var e=t.length,s=0;g.each(t,function(t){s+=t.getLayout().value});var l="vertical"===o?(i-(e-1)*r)/s:(n-(e-1)*r)/s;l<a&&(a=l)}),g.each(t,function(t){g.each(t,function(t,e){var n=t.getLayout().value*a;"vertical"===o?(t.setLayout({x:e},!0),t.setLayout({dx:n},!0)):(t.setLayout({y:e},!0),t.setLayout({dy:n},!0))})}),g.each(e,function(t){var e=+t.getValue()*a;t.setLayout({dy:e},!0)})})(s,e,n,i,r,a),ZE(s,r,n,i,a);for(var l=1;o>0;o--)JE(s,l*=.99,a),ZE(s,r,n,i,a),sI(s,l,a),ZE(s,r,n,i,a)}(t,e,o,r,i,a,s),function(t,e){var n="vertical"===e?"x":"y";g.each(t,function(t){t.outEdges.sort(function(t,e){return t.node2.getLayout()[n]-e.node2.getLayout()[n]}),t.inEdges.sort(function(t,e){return t.node1.getLayout()[n]-e.node1.getLayout()[n]})}),g.each(t,function(t){var e=0,n=0;g.each(t.outEdges,function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy}),g.each(t.inEdges,function(t){t.setLayout({ty:n},!0),n+=t.getLayout().dy})})}(t,s)}(l,c,n,i,o,a,0!==g.filter(l,function(t){return 0===t.getLayout().value}).length?0:t.get("layoutIterations"),t.get("orient"),t.get("nodeAlign"))})}function qE(t){var e=t.hostGraph.data.getRawDataItem(t.dataIndex);return null!=e.depth&&e.depth>=0}function ZE(t,e,n,i,r){var o="vertical"===r?"x":"y";g.each(t,function(t){var a,s,l;t.sort(function(t,e){return t.getLayout()[o]-e.getLayout()[o]});for(var c=0,u=t.length,h="vertical"===r?"dx":"dy",d=0;d<u;d++)(l=c-(s=t[d]).getLayout()[o])>0&&(a=s.getLayout()[o]+l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),c=s.getLayout()[o]+s.getLayout()[h]+e;if((l=c-e-("vertical"===r?i:n))>0){a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0),c=a;for(d=u-2;d>=0;--d)(l=(s=t[d]).getLayout()[o]+s.getLayout()[h]+e-c)>0&&(a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),c=s.getLayout()[o]}})}function JE(t,e,n){g.each(t.slice().reverse(),function(t){g.each(t,function(t){if(t.outEdges.length){var i=aI(t.outEdges,tI,n)/aI(t.outEdges,oI);if(isNaN(i)){var r=t.outEdges.length;i=r?aI(t.outEdges,eI,n)/r:0}if("vertical"===n){var o=t.getLayout().x+(i-rI(t,n))*e;t.setLayout({x:o},!0)}else{var a=t.getLayout().y+(i-rI(t,n))*e;t.setLayout({y:a},!0)}}})})}function tI(t,e){return rI(t.node2,e)*t.getValue()}function eI(t,e){return rI(t.node2,e)}function nI(t,e){return rI(t.node1,e)*t.getValue()}function iI(t,e){return rI(t.node1,e)}function rI(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function oI(t){return t.getValue()}function aI(t,e,n){for(var i=0,r=t.length,o=-1;++o<r;){var a=+e(t[o],n);isNaN(a)||(i+=a)}return i}function sI(t,e,n){g.each(t,function(t){g.each(t,function(t){if(t.inEdges.length){var i=aI(t.inEdges,nI,n)/aI(t.inEdges,oI);if(isNaN(i)){var r=t.inEdges.length;i=r?aI(t.inEdges,iI,n)/r:0}if("vertical"===n){var o=t.getLayout().x+(i-rI(t,n))*e;t.setLayout({x:o},!0)}else{var a=t.getLayout().y+(i-rI(t,n))*e;t.setLayout({y:a},!0)}}})})}function lI(t){t.eachSeriesByType("sankey",function(t){var e=t.getGraph(),n=e.nodes,i=e.edges;if(n.length){var r=1/0,o=-1/0;g.each(n,function(t){var e=t.getLayout().value;e<r&&(r=e),e>o&&(o=e)}),g.each(n,function(e){var n=new Pk({type:"color",mappingMethod:"linear",dataExtent:[r,o],visual:t.get("color")}).mapValueToVisual(e.getLayout().value),i=e.getModel().get(["itemStyle","color"]);null!=i?(e.setVisual("color",i),e.setVisual("style",{fill:i})):(e.setVisual("color",n),e.setVisual("style",{fill:n}))})}i.length&&g.each(i,function(t){var e=t.getModel().get("lineStyle");t.setVisual("style",e)})})}var cI=function(){function t(){}return t.prototype.getInitialData=function(t,e){var n,i,r=e.getComponent("xAxis",this.get("xAxisIndex")),o=e.getComponent("yAxis",this.get("yAxisIndex")),a=r.get("type"),s=o.get("type");"category"===a?(t.layout="horizontal",n=r.getOrdinalMeta(),i=!0):"category"===s?(t.layout="vertical",n=o.getOrdinalMeta(),i=!0):t.layout=t.layout||"horizontal";var l=["x","y"],c="horizontal"===t.layout?0:1,u=this._baseAxisDim=l[c],h=l[1-c],d=[r,o],f=d[c].get("type"),p=d[1-c].get("type"),A=t.data;if(A&&i){var v=[];g.each(A,function(t,e){var n;g.isArray(t)?(n=t.slice(),t.unshift(e)):g.isArray(t.value)?((n=g.extend({},t)).value=n.value.slice(),t.value.unshift(e)):n=t,v.push(n)}),t.data=v}var m=this.defaultValueDimensions,y=[{name:u,type:Nv(f),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:h,type:Nv(p),dimsDef:m.slice()}];return Ex(this,{coordDimensions:y,dimensionsCount:m.length+1,encodeDefaulter:g.curry(Uh,y,this)})},t.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},t}(),uI=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],n.visualDrawType="stroke",n}return p(e,t),e.type="series.boxplot",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},e}(hp);Object(g.mixin)(uI,cI,!0);var hI=uI,dI=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this.group,o=this._data;this._data||r.removeAll();var a="horizontal"===t.get("layout")?1:0;i.diff(o).add(function(t){if(i.hasValue(t)){var e=AI(i.getItemLayout(t),i,t,a,!0);i.setItemGraphicEl(t,e),r.add(e)}}).update(function(t,e){var n=o.getItemGraphicEl(e);if(i.hasValue(t)){var s=i.getItemLayout(t);n?(sc(n),gI(s,n,i,t)):n=AI(s,i,t,a),r.add(n),i.setItemGraphicEl(t,n)}else r.remove(n)}).remove(function(t){var e=o.getItemGraphicEl(t);e&&r.remove(e)}).execute(),this._data=i},e.prototype.remove=function(t){var e=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl(function(t){t&&e.remove(t)})},e.type="boxplot",e}(xp),fI=function(){return function(){}}(),pI=function(t){function e(e){var n=t.call(this,e)||this;return n.type="boxplotBoxPath",n}return p(e,t),e.prototype.getDefaultShape=function(){return new fI},e.prototype.buildPath=function(t,e){var n=e.points,i=0;for(t.moveTo(n[i][0],n[i][1]),i++;i<4;i++)t.lineTo(n[i][0],n[i][1]);for(t.closePath();i<n.length;i++)t.moveTo(n[i][0],n[i][1]),i++,t.lineTo(n[i][0],n[i][1])},e}(Xo);function AI(t,e,n,i,r){var o=t.ends,a=new pI({shape:{points:r?function(t,e,n){return g.map(t,function(t){return(t=t.slice())[e]=n.initBaseline,t})}(o,i,t):o}});return gI(t,a,e,n,r),a}function gI(t,e,n,i,r){var o=n.hostModel;(0,a[r?"initProps":"updateProps"])(e,{shape:{points:t.ends}},o,i),e.useStyle(n.getItemVisual(i,"style")),e.style.strokeNoScale=!0,e.z2=100;var s=n.getItemModel(i),l=s.getModel("emphasis");Bs(e,s),ws(e,l.get("focus"),l.get("blurScope"),l.get("disabled"))}var vI=dI,mI=g.each;function yI(t){var e=function(t){var e=[],n=[];return t.eachSeriesByType("boxplot",function(t){var i=t.getBaseAxis(),r=g.indexOf(n,i);r<0&&(r=n.length,n[r]=i,e[r]={axis:i,seriesModels:[]}),e[r].seriesModels.push(t)}),e}(t);mI(e,function(t){var e=t.seriesModels;e.length&&(!function(t){var e,n=t.axis,i=t.seriesModels,r=i.length,o=t.boxWidthList=[],a=t.boxOffsetList=[],s=[];if("category"===n.type)e=n.getBandWidth();else{var l=0;mI(i,function(t){l=Math.max(l,t.getData().count())});var c=n.getExtent();e=Math.abs(c[1]-c[0])/l}mI(i,function(t){var n=t.get("boxWidth");g.isArray(n)||(n=[n,n]),s.push([pi(n[0],e)||0,pi(n[1],e)||0])});var u=.8*e-2,h=u/r*.3,d=(u-h*(r-1))/r,f=d/2-u/2;mI(i,function(t,e){a.push(f),f+=h+d,o.push(Math.min(Math.max(d,s[e][0]),s[e][1]))})}(t),mI(e,function(e,n){!function(t,e,n){var i=t.coordinateSystem,r=t.getData(),o=n/2,a="horizontal"===t.get("layout")?0:1,s=1-a,l=["x","y"],c=r.mapDimension(l[a]),u=r.mapDimensionsAll(l[s]);if(null==c||u.length<5)return;for(var h=0;h<r.count();h++){var d=r.get(c,h),f=y(d,u[2],h),p=y(d,u[0],h),A=y(d,u[1],h),g=y(d,u[3],h),v=y(d,u[4],h),m=[];b(m,A,!1),b(m,g,!0),m.push(p,A,v,g),_(m,p),_(m,v),_(m,f),r.setItemLayout(h,{initBaseline:f[s],ends:m})}function y(t,n,o){var l,c=r.get(n,o),u=[];return u[a]=t,u[s]=c,isNaN(t)||isNaN(c)?l=[NaN,NaN]:(l=i.dataToPoint(u))[a]+=e,l}function b(t,e,n){var i=e.slice(),r=e.slice();i[a]+=o,r[a]-=o,n?t.push(i,r):t.push(r,i)}function _(t,e){var n=e.slice(),i=e.slice();n[a]-=o,i[a]+=o,t.push(n,i)}}(e,t.boxOffsetList[n],t.boxWidthList[n])}))})}var bI={type:"echarts:boxplot",transform:function(t){var e=t.upstream;if(e.sourceFormat!==Eh){var n="";0,ji(n)}var i=function(t,e){for(var n=[],i=[],r=(e=e||{}).boundIQR,o="none"===r||0===r,a=0;a<t.length;a++){var s=gi(t[a].slice()),l=Ii(s,.25),c=Ii(s,.5),u=Ii(s,.75),h=s[0],d=s[s.length-1],f=(null==r?1.5:r)*(u-l),p=o?h:Math.max(h,l-f),A=o?d:Math.min(d,u+f),v=e.itemNameFormatter,m=Object(g.isFunction)(v)?v({value:a}):Object(g.isString)(v)?v.replace("{value}",a+""):a+"";n.push([m,p,l,c,u,A]);for(var y=0;y<s.length;y++){var b=s[y];if(b<p||b>A){var _=[m,b];i.push(_)}}}return{boxData:n,outliers:i}}(e.getRawData(),t.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:i.boxData},{data:i.outliers}]}};var _I=["color","borderColor"],wI=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.render=function(t,e,n){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},e.prototype.incrementalPrepareRender=function(t,e,n){this._clear(),this._updateDrawMode(t)},e.prototype.incrementalRender=function(t,e,n,i){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(t,e):this._incrementalRenderNormal(t,e)},e.prototype.eachRendered=function(t){Nc(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},e.prototype._renderNormal=function(t){var e=t.getData(),n=this._data,i=this.group,r=e.getLayout("isSimpleBox"),o=t.get("clip",!0),a=t.coordinateSystem,s=a.getArea&&a.getArea();this._data||i.removeAll(),e.diff(n).add(function(n){if(e.hasValue(n)){var a=e.getItemLayout(n);if(o&&BI(s,a))return;var l=SI(a,n,!0);nc(l,{shape:{points:a.ends}},t,n),kI(l,e,n,r),i.add(l),e.setItemGraphicEl(n,l)}}).update(function(a,l){var c=n.getItemGraphicEl(l);if(e.hasValue(a)){var u=e.getItemLayout(a);o&&BI(s,u)?i.remove(c):(c?(ec(c,{shape:{points:u.ends}},t,a),sc(c)):c=SI(u,a),kI(c,e,a,r),i.add(c),e.setItemGraphicEl(a,c))}else i.remove(c)}).remove(function(t){var e=n.getItemGraphicEl(t);e&&i.remove(e)}).execute(),this._data=e},e.prototype._renderLarge=function(t){this._clear(),EI(t,this.group);var e=t.get("clip",!0)?kw(t.coordinateSystem,!1,t):null;e?this.group.setClipPath(e):this.group.removeClipPath()},e.prototype._incrementalRenderNormal=function(t,e){for(var n,i=e.getData(),r=i.getLayout("isSimpleBox");null!=(n=t.next());){var o=SI(i.getItemLayout(n),n);kI(o,i,n,r),o.incremental=!0,this.group.add(o),this._progressiveEls.push(o)}},e.prototype._incrementalRenderLarge=function(t,e){EI(e,this.group,this._progressiveEls,!0)},e.prototype.remove=function(t){this._clear()},e.prototype._clear=function(){this.group.removeAll(),this._data=null},e.type="candlestick",e}(xp),xI=function(){return function(){}}(),CI=function(t){function e(e){var n=t.call(this,e)||this;return n.type="normalCandlestickBox",n}return p(e,t),e.prototype.getDefaultShape=function(){return new xI},e.prototype.buildPath=function(t,e){var n=e.points;this.__simpleBox?(t.moveTo(n[4][0],n[4][1]),t.lineTo(n[6][0],n[6][1])):(t.moveTo(n[0][0],n[0][1]),t.lineTo(n[1][0],n[1][1]),t.lineTo(n[2][0],n[2][1]),t.lineTo(n[3][0],n[3][1]),t.closePath(),t.moveTo(n[4][0],n[4][1]),t.lineTo(n[5][0],n[5][1]),t.moveTo(n[6][0],n[6][1]),t.lineTo(n[7][0],n[7][1]))},e}(Xo);function SI(t,e,n){var i=t.ends;return new CI({shape:{points:n?function(t,e){return g.map(t,function(t){return(t=t.slice())[1]=e.initBaseline,t})}(i,t):i},z2:100})}function BI(t,e){for(var n=!0,i=0;i<e.ends.length;i++)if(t.contain(e.ends[i][0],e.ends[i][1])){n=!1;break}return n}function kI(t,e,n,i){var r=e.getItemModel(n);t.useStyle(e.getItemVisual(n,"style")),t.style.strokeNoScale=!0,t.__simpleBox=i,Bs(t,r)}var TI=function(){return function(){}}(),OI=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeCandlestickBox",n}return p(e,t),e.prototype.getDefaultShape=function(){return new TI},e.prototype.buildPath=function(t,e){for(var n=e.points,i=0;i<n.length;)if(this.__sign===n[i++]){var r=n[i++];t.moveTo(r,n[i++]),t.lineTo(r,n[i++])}else i+=3},e}(Xo);function EI(t,e,n,i){var r=t.getData(),o=r.getLayout("largePoints"),a=new OI({shape:{points:o},__sign:1,ignoreCoarsePointer:!0});e.add(a);var s=new OI({shape:{points:o},__sign:-1,ignoreCoarsePointer:!0});e.add(s);var l=new OI({shape:{points:o},__sign:0,ignoreCoarsePointer:!0});e.add(l),II(1,a,t,r),II(-1,s,t,r),II(0,l,t,r),i&&(a.incremental=!0,s.incremental=!0),n&&n.push(a,s)}function II(t,e,n,i){var r=n.get(["itemStyle",t>0?"borderColor":"borderColor0"])||n.get(["itemStyle",t>0?"color":"color0"]);0===t&&(r=n.get(["itemStyle","borderColorDoji"]));var o=n.getModel("itemStyle").getItemStyle(_I);e.useStyle(o),e.style.fill=null,e.style.stroke=r}var MI=wI,DI=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],n}return p(e,t),e.prototype.getShadowDim=function(){return"open"},e.prototype.brushSelector=function(t,e,n){var i=e.getItemLayout(t);return i&&n.rect(i.brushRect)},e.type="series.candlestick",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderColorDoji:null,borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},e}(hp);Object(g.mixin)(DI,cI,!0);var LI=DI;function FI(t){t&&g.isArray(t.series)&&g.each(t.series,function(t){g.isObject(t)&&"k"===t.type&&(t.type="candlestick")})}var PI=["itemStyle","borderColor"],NI=["itemStyle","borderColor0"],jI=["itemStyle","borderColorDoji"],UI=["itemStyle","color"],RI=["itemStyle","color0"],QI={seriesType:"candlestick",plan:pp(),performRawSeries:!0,reset:function(t,e){function n(t,e){return e.get(t>0?UI:RI)}function i(t,e){return e.get(0===t?jI:t>0?PI:NI)}if(!e.isSeriesFiltered(t))return!t.pipelineContext.large&&{progress:function(t,e){for(var r;null!=(r=t.next());){var o=e.getItemModel(r),a=e.getItemLayout(r).sign,s=o.getItemStyle();s.fill=n(a,o),s.stroke=i(a,o)||s.fill;var l=e.ensureUniqueItemVisual(r,"style");Object(g.extend)(l,s)}}}}};function HI(t,e,n,i,r,o){return n>i?-1:n<i?1:o?0:e>0?t.get(r,e-1)<=i?1:-1:1}var VI={seriesType:"candlestick",plan:pp(),reset:function(t){var e=t.coordinateSystem,n=t.getData(),i=function(t,e){var n,i=t.getBaseAxis(),r="category"===i.type?i.getBandWidth():(n=i.getExtent(),Math.abs(n[1]-n[0])/e.count()),o=pi(Object(g.retrieve2)(t.get("barMaxWidth"),r),r),a=pi(Object(g.retrieve2)(t.get("barMinWidth"),1),r),s=t.get("barWidth");return null!=s?pi(s,r):Math.max(Math.min(r/2,o),a)}(t,n),r=0,o=1,a=["x","y"],s=n.getDimensionIndex(n.mapDimension(a[r])),l=Object(g.map)(n.mapDimensionsAll(a[o]),n.getDimensionIndex,n),c=l[0],u=l[1],h=l[2],d=l[3];if(n.setLayout({candleWidth:i,isSimpleBox:i<=1.3}),!(s<0||l.length<4))return{progress:t.pipelineContext.large?function(n,i){var a,l,f=Fm(4*n.count),p=0,A=[],g=[],v=i.getStore(),m=!!t.get(["itemStyle","borderColorDoji"]);for(;null!=(l=n.next());){var y=v.get(s,l),b=v.get(c,l),_=v.get(u,l),w=v.get(h,l),x=v.get(d,l);isNaN(y)||isNaN(w)||isNaN(x)?(f[p++]=NaN,p+=3):(f[p++]=HI(v,l,b,_,u,m),A[r]=y,A[o]=w,a=e.dataToPoint(A,null,g),f[p++]=a?a[0]:NaN,f[p++]=a?a[1]:NaN,A[o]=x,a=e.dataToPoint(A,null,g),f[p++]=a?a[1]:NaN)}i.setLayout("largePoints",f)}:function(t,n){var a,l=n.getStore();for(;null!=(a=t.next());){var f=l.get(s,a),p=l.get(c,a),A=l.get(u,a),g=l.get(h,a),v=l.get(d,a),m=Math.min(p,A),y=Math.max(p,A),b=k(m,f),_=k(y,f),w=k(g,f),x=k(v,f),C=[];T(C,_,0),T(C,b,1),C.push(E(x),E(_),E(w),E(b));var S=n.getItemModel(a),B=!!S.get(["itemStyle","borderColorDoji"]);n.setItemLayout(a,{sign:HI(l,a,p,A,u,B),initBaseline:p>A?_[o]:b[o],ends:C,brushRect:O(g,v,f)})}function k(t,n){var i=[];return i[r]=n,i[o]=t,isNaN(n)||isNaN(t)?[NaN,NaN]:e.dataToPoint(i)}function T(t,e,n){var o=e.slice(),a=e.slice();o[r]=xc(o[r]+i/2,1,!1),a[r]=xc(a[r]-i/2,1,!0),n?t.push(o,a):t.push(a,o)}function O(t,e,n){var a=k(t,n),s=k(e,n);return a[r]-=i/2,s[r]-=i/2,{x:a[0],y:a[1],width:o?i:s[0]-a[0],height:o?s[1]-a[1]:i}}function E(t){return t[r]=xc(t[r],1),t}}}}};function zI(t,e){var n=e.rippleEffectColor||e.color;t.eachChild(function(t){t.attr({z:e.z,zlevel:e.zlevel,style:{stroke:"stroke"===e.brushType?n:null,fill:"fill"===e.brushType?n:null}})})}var $I=function(t){function e(e,n){var i=t.call(this)||this,r=new uw(e,n),o=new ei;return i.add(r),i.add(o),i.updateData(e,n),i}return p(e,t),e.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},e.prototype.startEffectAnimation=function(t){for(var e=t.symbolType,n=t.color,i=t.rippleNumber,r=this.childAt(1),o=0;o<i;o++){var a=OA(e,-1,-1,2,2,n);a.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scaleX:.5,scaleY:.5});var s=-o/i*t.period+t.effectOffset;a.animate("",!0).when(t.period,{scaleX:t.rippleScale/2,scaleY:t.rippleScale/2}).delay(s).start(),a.animateStyle(!0).when(t.period,{opacity:0}).delay(s).start(),r.add(a)}zI(r,t)},e.prototype.updateEffectAnimation=function(t){for(var e=this._effectCfg,n=this.childAt(1),i=["symbolType","period","rippleScale","rippleNumber"],r=0;r<i.length;r++){var o=i[r];if(e[o]!==t[o])return this.stopEffectAnimation(),void this.startEffectAnimation(t)}zI(n,t)},e.prototype.highlight=function(){cs(this)},e.prototype.downplay=function(){us(this)},e.prototype.getSymbolType=function(){var t=this.childAt(0);return t&&t.getSymbolType()},e.prototype.updateData=function(t,e){var n=this,i=t.hostModel;this.childAt(0).updateData(t,e);var r=this.childAt(1),o=t.getItemModel(e),a=t.getItemVisual(e,"symbol"),s=EA(t.getItemVisual(e,"symbolSize")),l=t.getItemVisual(e,"style"),c=l&&l.fill,u=o.getModel("emphasis");r.setScale(s),r.traverse(function(t){t.setStyle("fill",c)});var h=IA(t.getItemVisual(e,"symbolOffset"),s);h&&(r.x=h[0],r.y=h[1]);var d=t.getItemVisual(e,"symbolRotate");r.rotation=(d||0)*Math.PI/180||0;var f={};f.showEffectOn=i.get("showEffectOn"),f.rippleScale=o.get(["rippleEffect","scale"]),f.brushType=o.get(["rippleEffect","brushType"]),f.period=1e3*o.get(["rippleEffect","period"]),f.effectOffset=e/t.count(),f.z=i.getShallow("z")||0,f.zlevel=i.getShallow("zlevel")||0,f.symbolType=a,f.color=c,f.rippleEffectColor=o.get(["rippleEffect","color"]),f.rippleNumber=o.get(["rippleEffect","number"]),"render"===f.showEffectOn?(this._effectCfg?this.updateEffectAnimation(f):this.startEffectAnimation(f),this._effectCfg=f):(this._effectCfg=null,this.stopEffectAnimation(),this.onHoverStateChange=function(t){"emphasis"===t?"render"!==f.showEffectOn&&n.startEffectAnimation(f):"normal"===t&&"render"!==f.showEffectOn&&n.stopEffectAnimation()}),this._effectCfg=f,ws(this,u.get("focus"),u.get("blurScope"),u.get("disabled"))},e.prototype.fadeOut=function(t){t&&t()},e}(ei),GI=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.init=function(){this._symbolDraw=new pw($I)},e.prototype.render=function(t,e,n){var i=t.getData(),r=this._symbolDraw;r.updateData(i,{clipShape:this._getClipShape(t)}),this.group.add(r.group)},e.prototype._getClipShape=function(t){var e=t.coordinateSystem,n=e&&e.getArea&&e.getArea();return t.get("clip",!0)?n:null},e.prototype.updateTransform=function(t,e,n){var i=t.getData();this.group.dirty();var r=Rw("").reset(t,e,n);r.progress&&r.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout()},e.prototype._updateGroupTransform=function(t){var e=t.coordinateSystem;e&&e.getRoamTransform&&(this.group.transform=wt(e.getRoamTransform()),this.group.decomposeTransform())},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0)},e.type="effectScatter",e}(xp),WI=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return p(e,t),e.prototype.getInitialData=function(t,e){return pm(null,this,{useEncodeDefaulter:!0})},e.prototype.brushSelector=function(t,e,n){return n.point(e.getItemLayout(t))},e.type="series.effectScatter",e.dependencies=["grid","polar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",clip:!0,rippleEffect:{period:4,scale:2.5,brushType:"fill",number:3},universalTransition:{divideShape:"clone"},symbolSize:10},e}(hp);var KI=function(t){function e(e,n,i){var r=t.call(this)||this;return r.add(r.createLine(e,n,i)),r._updateEffectSymbol(e,n),r}return p(e,t),e.prototype.createLine=function(t,e,n){return new PT(t,e,n)},e.prototype._updateEffectSymbol=function(t,e){var n=t.getItemModel(e).getModel("effect"),i=n.get("symbolSize"),r=n.get("symbol");g.isArray(i)||(i=[i,i]);var o=t.getItemVisual(e,"style"),a=n.get("color")||o&&o.stroke,s=this.childAt(1);this._symbolType!==r&&(this.remove(s),(s=OA(r,-.5,-.5,1,1,a)).z2=100,s.culling=!0,this.add(s)),s&&(s.setStyle("shadowColor",a),s.setStyle(n.getItemStyle(["color"])),s.scaleX=i[0],s.scaleY=i[1],s.setColor(a),this._symbolType=r,this._symbolScale=i,this._updateEffectAnimation(t,n,e))},e.prototype._updateEffectAnimation=function(t,e,n){var i=this.childAt(1);if(i){var r=t.getItemLayout(n),o=1e3*e.get("period"),a=e.get("loop"),s=e.get("roundTrip"),l=e.get("constantSpeed"),c=g.retrieve(e.get("delay"),function(e){return e/t.count()*o/3});if(i.ignore=!0,this._updateAnimationPoints(i,r),l>0&&(o=this._getLineLength(i)/l*1e3),o!==this._period||a!==this._loop||s!==this._roundTrip){i.stopAnimation();var u=void 0;u=g.isFunction(c)?c(n):c,i.__t>0&&(u=-o*i.__t),this._animateSymbol(i,o,u,a,s)}this._period=o,this._loop=a,this._roundTrip=s}},e.prototype._animateSymbol=function(t,e,n,i,r){if(e>0){t.__t=0;var o=this,a=t.animate("",i).when(r?2*e:e,{__t:r?2:1}).delay(n).during(function(){o._updateSymbolPosition(t)});i||a.done(function(){o.remove(t)}),a.start()}},e.prototype._getLineLength=function(t){return L(t.__p1,t.__cp1)+L(t.__cp1,t.__p2)},e.prototype._updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},e.prototype.updateData=function(t,e,n){this.childAt(0).updateData(t,e,n),this._updateEffectSymbol(t,e)},e.prototype._updateSymbolPosition=function(t){var e=t.__p1,n=t.__p2,i=t.__cp1,r=t.__t<1?t.__t:2-t.__t,o=[t.x,t.y],a=o.slice(),s=Se,l=Be;o[0]=s(e[0],i[0],n[0],r),o[1]=s(e[1],i[1],n[1],r);var c=t.__t<1?l(e[0],i[0],n[0],r):l(n[0],i[0],e[0],1-r),u=t.__t<1?l(e[1],i[1],n[1],r):l(n[1],i[1],e[1],1-r);t.rotation=-Math.atan2(u,c)-Math.PI/2,"line"!==this._symbolType&&"rect"!==this._symbolType&&"roundRect"!==this._symbolType||(void 0!==t.__lastT&&t.__lastT<t.__t?(t.scaleY=1.05*L(a,o),1===r&&(o[0]=a[0]+(o[0]-a[0])/2,o[1]=a[1]+(o[1]-a[1])/2)):1===t.__lastT?t.scaleY=2*L(e,o):t.scaleY=this._symbolScale[1]),t.__lastT=t.__t,t.ignore=!1,t.x=o[0],t.y=o[1]},e.prototype.updateLayout=function(t,e){this.childAt(0).updateLayout(t,e);var n=t.getItemModel(e).getModel("effect");this._updateEffectAnimation(t,n,e)},e}(ei),YI=function(t){function e(e,n,i){var r=t.call(this)||this;return r._createPolyline(e,n,i),r}return p(e,t),e.prototype._createPolyline=function(t,e,n){var i=t.getItemLayout(e),r=new Tl({shape:{points:i}});this.add(r),this._updateCommonStl(t,e,n)},e.prototype.updateData=function(t,e,n){var i=t.hostModel;ec(this.childAt(0),{shape:{points:t.getItemLayout(e)}},i,e),this._updateCommonStl(t,e,n)},e.prototype._updateCommonStl=function(t,e,n){var i=this.childAt(0),r=t.getItemModel(e),o=n&&n.emphasisLineStyle,a=n&&n.focus,s=n&&n.blurScope,l=n&&n.emphasisDisabled;if(!n||t.hasItemOption){var c=r.getModel("emphasis");o=c.getModel("lineStyle").getLineStyle(),l=c.get("disabled"),a=c.get("focus"),s=c.get("blurScope")}i.useStyle(t.getItemVisual(e,"style")),i.style.fill=null,i.style.strokeNoScale=!0,i.ensureState("emphasis").style=o,ws(this,a,s,l)},e.prototype.updateLayout=function(t,e){this.childAt(0).setShape("points",t.getItemLayout(e))},e}(ei),XI=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._lastFrame=0,e._lastFramePercent=0,e}return p(e,t),e.prototype.createLine=function(t,e,n){return new YI(t,e,n)},e.prototype._updateAnimationPoints=function(t,e){this._points=e;for(var n=[0],i=0,r=1;r<e.length;r++){var o=e[r-1],a=e[r];i+=L(o,a),n.push(i)}if(0!==i){for(r=0;r<n.length;r++)n[r]/=i;this._offsets=n,this._length=i}else this._length=0},e.prototype._getLineLength=function(){return this._length},e.prototype._updateSymbolPosition=function(t){var e=t.__t<1?t.__t:2-t.__t,n=this._points,i=this._offsets,r=n.length;if(i){var o,a=this._lastFrame;if(e<this._lastFramePercent){for(o=Math.min(a+1,r-1);o>=0&&!(i[o]<=e);o--);o=Math.min(o,r-2)}else{for(o=a;o<r&&!(i[o]>e);o++);o=Math.min(o-1,r-2)}var s=(e-i[o])/(i[o+1]-i[o]),l=n[o],c=n[o+1];t.x=l[0]*(1-s)+s*c[0],t.y=l[1]*(1-s)+s*c[1];var u=t.__t<1?c[0]-l[0]:l[0]-c[0],h=t.__t<1?c[1]-l[1]:l[1]-c[1];t.rotation=-Math.atan2(h,u)-Math.PI/2,this._lastFrame=o,this._lastFramePercent=e,t.ignore=!1}},e}(KI),qI=function(){return function(){this.polyline=!1,this.curveness=0,this.segs=[]}}(),ZI=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return p(e,t),e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new qI},e.prototype.buildPath=function(t,e){var n,i=e.segs,r=e.curveness;if(e.polyline)for(n=this._off;n<i.length;){var o=i[n++];if(o>0){t.moveTo(i[n++],i[n++]);for(var a=1;a<o;a++)t.lineTo(i[n++],i[n++])}}else for(n=this._off;n<i.length;){var s=i[n++],l=i[n++],c=i[n++],u=i[n++];if(t.moveTo(s,l),r>0){var h=(s+c)/2-(l-u)*r,d=(l+u)/2-(c-s)*r;t.quadraticCurveTo(h,d,c,u)}else t.lineTo(c,u)}this.incremental&&(this._off=n,this.notClear=!0)},e.prototype.findDataIndex=function(t,e){var n=this.shape,i=n.segs,r=n.curveness,o=this.style.lineWidth;if(n.polyline)for(var a=0,s=0;s<i.length;){var l=i[s++];if(l>0)for(var c=i[s++],u=i[s++],h=1;h<l;h++){if(Eo(c,u,d=i[s++],f=i[s++],o,t,e))return a}a++}else for(a=0,s=0;s<i.length;){c=i[s++],u=i[s++];var d=i[s++],f=i[s++];if(r>0){if(Mo(c,u,(c+d)/2-(u-f)*r,(u+f)/2-(d-c)*r,d,f,o,t,e))return a}else if(Eo(c,u,d,f,o,t,e))return a;a++}return-1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();return t=n[0],e=n[1],i.contain(t,e)?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape.segs,n=1/0,i=1/0,r=-1/0,o=-1/0,a=0;a<e.length;){var s=e[a++],l=e[a++];n=Math.min(s,n),r=Math.max(s,r),i=Math.min(l,i),o=Math.max(l,o)}t=this._rect=new Mt(n,i,r,o)}return t},e}(Xo),JI=function(){function t(){this.group=new ei}return t.prototype.updateData=function(t){this._clear();var e=this._create();e.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(e,t)},t.prototype.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clear()},t.prototype.incrementalUpdate=function(t,e){var n=this._newAdded[0],i=e.getLayout("linesPoints"),r=n&&n.shape.segs;if(r&&r.length<2e4){var o=r.length,a=new Float32Array(o+i.length);a.set(r),a.set(i,o),n.setShape({segs:a})}else{this._newAdded=[];var s=this._create();s.incremental=!0,s.setShape({segs:i}),this._setCommon(s,e),s.__startIndex=t.start}},t.prototype.remove=function(){this._clear()},t.prototype.eachRendered=function(t){this._newAdded[0]&&t(this._newAdded[0])},t.prototype._create=function(){var t=new ZI({cursor:"default",ignoreCoarsePointer:!0});return this._newAdded.push(t),this.group.add(t),t},t.prototype._setCommon=function(t,e,n){var i=e.hostModel;t.setShape({polyline:i.get("polyline"),curveness:i.get(["lineStyle","curveness"])}),t.useStyle(i.getModel("lineStyle").getLineStyle()),t.style.strokeNoScale=!0;var r=e.getVisual("style");r&&r.stroke&&t.setStyle("stroke",r.stroke),t.setStyle("fill",null);var o=Ta(t);o.seriesIndex=i.seriesIndex,t.on("mousemove",function(e){o.dataIndex=null;var n=t.hoverDataIdx;n>0&&(o.dataIndex=n+t.__startIndex)})},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),tM={seriesType:"lines",plan:pp(),reset:function(t){var e=t.coordinateSystem;if(e){var n=t.get("polyline"),i=t.pipelineContext.large;return{progress:function(r,o){var a=[];if(i){var s=void 0,l=r.end-r.start;if(n){for(var c=0,u=r.start;u<r.end;u++)c+=t.getLineCoordsCount(u);s=new Float32Array(l+2*c)}else s=new Float32Array(4*l);var h=0,d=[];for(u=r.start;u<r.end;u++){var f=t.getLineCoords(u,a);n&&(s[h++]=f);for(var p=0;p<f;p++)d=e.dataToPoint(a[p],!1,d),s[h++]=d[0],s[h++]=d[1]}o.setLayout("linesPoints",s)}else for(u=r.start;u<r.end;u++){var A=o.getItemModel(u),g=(f=t.getLineCoords(u,a),[]);if(n)for(var v=0;v<f;v++)g.push(e.dataToPoint(a[v]));else{g[0]=e.dataToPoint(a[0]),g[1]=e.dataToPoint(a[1]);var m=A.get(["lineStyle","curveness"]);+m&&(g[2]=[(g[0][0]+g[1][0])/2-(g[0][1]-g[1][1])*m,(g[0][1]+g[1][1])/2-(g[1][0]-g[0][0])*m])}o.setItemLayout(u,g)}}}}}},eM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this._updateLineDraw(i,t),o=t.get("zlevel"),a=t.get(["effect","trailLength"]),s=n.getZr(),l="svg"===s.painter.getType();l||s.painter.getLayer(o).clear(!0),null==this._lastZlevel||l||s.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(t)&&a>0&&(l||s.configLayer(o,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(a/10+.9,1),0)})),r.updateData(i);var c=t.get("clip",!0)&&kw(t.coordinateSystem,!1,t);c?this.group.setClipPath(c):this.group.removeClipPath(),this._lastZlevel=o,this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData();this._updateLineDraw(i,t).incrementalPrepareUpdate(i),this._clearLayer(n),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._lineDraw.incrementalUpdate(t,e.getData()),this._finished=t.end===e.getData().count()},e.prototype.eachRendered=function(t){this._lineDraw&&this._lineDraw.eachRendered(t)},e.prototype.updateTransform=function(t,e,n){var i=t.getData(),r=t.pipelineContext;if(!this._finished||r.large||r.progressiveRender)return{update:!0};var o=tM.reset(t,e,n);o.progress&&o.progress({start:0,end:i.count(),count:i.count()},i),this._lineDraw.updateLayout(),this._clearLayer(n)},e.prototype._updateLineDraw=function(t,e){var n=this._lineDraw,i=this._showEffect(e),r=!!e.get("polyline"),o=e.pipelineContext.large;return n&&i===this._hasEffet&&r===this._isPolyline&&o===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=o?new JI:new RT(r?i?XI:YI:i?KI:PT),this._hasEffet=i,this._isPolyline=r,this._isLargeDraw=o),this.group.add(n.group),n},e.prototype._showEffect=function(t){return!!t.get(["effect","show"])},e.prototype._clearLayer=function(t){var e=t.getZr();"svg"===e.painter.getType()||null==this._lastZlevel||e.painter.getLayer(this._lastZlevel).clear(!0)},e.prototype.remove=function(t,e){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(e)},e.prototype.dispose=function(t,e){this.remove(t,e)},e.type="lines",e}(xp),nM="undefined"==typeof Uint32Array?Array:Uint32Array,iM="undefined"==typeof Float64Array?Array:Float64Array;function rM(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=Object(g.map)(e,function(t){var e={coords:[t[0].coord,t[1].coord]};return t[0].name&&(e.fromName=t[0].name),t[1].name&&(e.toName=t[1].name),Object(g.mergeAll)([e,t[0],t[1]])}))}var oM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return p(e,t),e.prototype.init=function(e){e.data=e.data||[],rM(e);var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count)),t.prototype.init.apply(this,arguments)},e.prototype.mergeOption=function(e){if(rM(e),e.data){var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count))}t.prototype.mergeOption.apply(this,arguments)},e.prototype.appendData=function(t){var e=this._processFlatCoordsArray(t.data);e.flatCoords&&(this._flatCoords?(this._flatCoords=Object(g.concatArray)(this._flatCoords,e.flatCoords),this._flatCoordsOffset=Object(g.concatArray)(this._flatCoordsOffset,e.flatCoordsOffset)):(this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset),t.data=new Float32Array(e.count)),this.getRawData().appendData(t.data)},e.prototype._getCoordsFromItemModel=function(t){var e=this.getData().getItemModel(t),n=e.option instanceof Array?e.option:e.getShallow("coords");return n},e.prototype.getLineCoordsCount=function(t){return this._flatCoordsOffset?this._flatCoordsOffset[2*t+1]:this._getCoordsFromItemModel(t).length},e.prototype.getLineCoords=function(t,e){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*t],i=this._flatCoordsOffset[2*t+1],r=0;r<i;r++)e[r]=e[r]||[],e[r][0]=this._flatCoords[n+2*r],e[r][1]=this._flatCoords[n+2*r+1];return i}var o=this._getCoordsFromItemModel(t);for(r=0;r<o.length;r++)e[r]=e[r]||[],e[r][0]=o[r][0],e[r][1]=o[r][1];return o.length},e.prototype._processFlatCoordsArray=function(t){var e=0;if(this._flatCoords&&(e=this._flatCoords.length),Object(g.isNumber)(t[0])){for(var n=t.length,i=new nM(n),r=new iM(n),o=0,a=0,s=0,l=0;l<n;){s++;var c=t[l++];i[a++]=o+e,i[a++]=c;for(var u=0;u<c;u++){var h=t[l++],d=t[l++];r[o++]=h,r[o++]=d}}return{flatCoordsOffset:new Uint32Array(i.buffer,0,a),flatCoords:r,count:s}}return{flatCoordsOffset:null,flatCoords:null,count:t.length}},e.prototype.getInitialData=function(t,e){var n=new rm(["value"],this);return n.hasItemOption=!1,n.initData(t.data,[],function(t,e,i,r){if(t instanceof Array)return NaN;n.hasItemOption=!0;var o=t.value;return null!=o?o instanceof Array?o[r]:o:void 0}),n},e.prototype.formatTooltip=function(t,e,n){var i=this.getData().getItemModel(t),r=i.get("name");if(r)return r;var o=i.get("fromName"),a=i.get("toName"),s=[];return null!=o&&s.push(o),null!=a&&s.push(a),Hf("nameValue",{name:s.join(" > ")})},e.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},e.prototype.getZLevelKey=function(){var t=this.getModel("effect"),e=t.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:t.get("show")&&e>0?e+"":""},e.type="series.lines",e.dependencies=["grid","polar","geo","calendar"],e.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},e}(hp);function aM(t){return t instanceof Array||(t=[t,t]),t}var sM={seriesType:"lines",reset:function(t){var e=aM(t.get("symbol")),n=aM(t.get("symbolSize")),i=t.getData();return i.setVisual("fromSymbol",e&&e[0]),i.setVisual("toSymbol",e&&e[1]),i.setVisual("fromSymbolSize",n&&n[0]),i.setVisual("toSymbolSize",n&&n[1]),{dataEach:i.hasItemOption?function(t,e){var n=t.getItemModel(e),i=aM(n.getShallow("symbol",!0)),r=aM(n.getShallow("symbolSize",!0));i[0]&&t.setItemVisual(e,"fromSymbol",i[0]),i[1]&&t.setItemVisual(e,"toSymbol",i[1]),r[0]&&t.setItemVisual(e,"fromSymbolSize",r[0]),r[1]&&t.setItemVisual(e,"toSymbolSize",r[1])}:null}}};var lM=function(){function t(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var t=Fn.d.createCanvas();this.canvas=t}return t.prototype.update=function(t,e,n,i,r,o){var a=this._getBrush(),s=this._getGradient(r,"inRange"),l=this._getGradient(r,"outOfRange"),c=this.pointSize+this.blurSize,u=this.canvas,h=u.getContext("2d"),d=t.length;u.width=e,u.height=n;for(var f=0;f<d;++f){var p=t[f],A=p[0],g=p[1],v=i(p[2]);h.globalAlpha=v,h.drawImage(a,A-c,g-c)}if(!u.width||!u.height)return u;for(var m=h.getImageData(0,0,u.width,u.height),y=m.data,b=0,_=y.length,w=this.minOpacity,x=this.maxOpacity-w;b<_;){v=y[b+3]/256;var C=4*Math.floor(255*v);if(v>0){var S=o(v)?s:l;v>0&&(v=v*x+w),y[b++]=S[C],y[b++]=S[C+1],y[b++]=S[C+2],y[b++]=S[C+3]*v*256}else b+=4}return h.putImageData(m,0,0),u},t.prototype._getBrush=function(){var t=this._brushCanvas||(this._brushCanvas=Fn.d.createCanvas()),e=this.pointSize+this.blurSize,n=2*e;t.width=n,t.height=n;var i=t.getContext("2d");return i.clearRect(0,0,n,n),i.shadowOffsetX=n,i.shadowBlur=this.blurSize,i.shadowColor="#000",i.beginPath(),i.arc(-e,e,this.pointSize,0,2*Math.PI,!0),i.closePath(),i.fill(),t},t.prototype._getGradient=function(t,e){for(var n=this._gradientPixels,i=n[e]||(n[e]=new Uint8ClampedArray(1024)),r=[0,0,0,0],o=0,a=0;a<256;a++)t[e](a/255,!0,r),i[o++]=r[0],i[o++]=r[1],i[o++]=r[2],i[o++]=r[3];return i},t}();function cM(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}var uM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.render=function(t,e,n){var i;e.eachComponent("visualMap",function(e){e.eachTargetSeries(function(n){n===t&&(i=e)})}),this._progressiveEls=null,this.group.removeAll();var r=t.coordinateSystem;"cartesian2d"===r.type||"calendar"===r.type?this._renderOnCartesianAndCalendar(t,n,0,t.getData().count()):cM(r)&&this._renderOnGeo(r,t,i,n)},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll()},e.prototype.incrementalRender=function(t,e,n,i){var r=e.coordinateSystem;r&&(cM(r)?this.render(e,n,i):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(e,i,t.start,t.end,!0)))},e.prototype.eachRendered=function(t){Nc(this._progressiveEls||this.group,t)},e.prototype._renderOnCartesianAndCalendar=function(t,e,n,i,r){var o,a,s,l,c=t.coordinateSystem,u=Tw(c,"cartesian2d");if(u){var h=c.getAxis("x"),d=c.getAxis("y");0,o=h.getBandWidth()+.5,a=d.getBandWidth()+.5,s=h.scale.getExtent(),l=d.scale.getExtent()}for(var f=this.group,p=t.getData(),A=t.getModel(["emphasis","itemStyle"]).getItemStyle(),g=t.getModel(["blur","itemStyle"]).getItemStyle(),v=t.getModel(["select","itemStyle"]).getItemStyle(),m=t.get(["itemStyle","borderRadius"]),y=Hc(t),b=t.getModel("emphasis"),_=b.get("focus"),w=b.get("blurScope"),x=b.get("disabled"),C=u?[p.mapDimension("x"),p.mapDimension("y"),p.mapDimension("value")]:[p.mapDimension("time"),p.mapDimension("value")],S=n;S<i;S++){var B=void 0,k=p.getItemVisual(S,"style");if(u){var T=p.get(C[0],S),O=p.get(C[1],S);if(isNaN(p.get(C[2],S))||isNaN(T)||isNaN(O)||T<s[0]||T>s[1]||O<l[0]||O>l[1])continue;var E=c.dataToPoint([T,O]);B=new ha({shape:{x:E[0]-o/2,y:E[1]-a/2,width:o,height:a},style:k})}else{if(isNaN(p.get(C[1],S)))continue;B=new ha({z2:1,shape:c.dataToRect([p.get(C[0],S)]).contentShape,style:k})}if(p.hasItemOption){var I=p.getItemModel(S),M=I.getModel("emphasis");A=M.getModel("itemStyle").getItemStyle(),g=I.getModel(["blur","itemStyle"]).getItemStyle(),v=I.getModel(["select","itemStyle"]).getItemStyle(),m=I.get(["itemStyle","borderRadius"]),_=M.get("focus"),w=M.get("blurScope"),x=M.get("disabled"),y=Hc(I)}B.shape.r=m;var D=t.getRawValue(S),L="-";D&&null!=D[2]&&(L=D[2]+""),Qc(B,y,{labelFetcher:t,labelDataIndex:S,defaultOpacity:k.opacity,defaultText:L}),B.ensureState("emphasis").style=A,B.ensureState("blur").style=g,B.ensureState("select").style=v,ws(B,_,w,x),B.incremental=r,r&&(B.states.emphasis.hoverLayer=!0),f.add(B),p.setItemGraphicEl(S,B),this._progressiveEls&&this._progressiveEls.push(B)}},e.prototype._renderOnGeo=function(t,e,n,i){var r=n.targetVisuals.inRange,o=n.targetVisuals.outOfRange,a=e.getData(),s=this._hmLayer||this._hmLayer||new lM;s.blurSize=e.get("blurSize"),s.pointSize=e.get("pointSize"),s.minOpacity=e.get("minOpacity"),s.maxOpacity=e.get("maxOpacity");var l=t.getViewRect().clone(),c=t.getRoamTransform();l.applyTransform(c);var u=Math.max(l.x,0),h=Math.max(l.y,0),d=Math.min(l.width+l.x,i.getWidth()),f=Math.min(l.height+l.y,i.getHeight()),p=d-u,A=f-h,v=[a.mapDimension("lng"),a.mapDimension("lat"),a.mapDimension("value")],m=a.mapArray(v,function(e,n,i){var r=t.dataToPoint([e,n]);return r[0]-=u,r[1]-=h,r.push(i),r}),y=n.getExtent(),b="visualMap.continuous"===n.type?function(t,e){var n=t[1]-t[0];return e=[(e[0]-t[0])/n,(e[1]-t[0])/n],function(t){return t>=e[0]&&t<=e[1]}}(y,n.option.range):function(t,e,n){var i=t[1]-t[0],r=(e=g.map(e,function(e){return{interval:[(e.interval[0]-t[0])/i,(e.interval[1]-t[0])/i]}})).length,o=0;return function(t){var i;for(i=o;i<r;i++)if((a=e[i].interval)[0]<=t&&t<=a[1]){o=i;break}if(i===r)for(i=o-1;i>=0;i--){var a;if((a=e[i].interval)[0]<=t&&t<=a[1]){o=i;break}}return i>=0&&i<r&&n[i]}}(y,n.getPieceList(),n.option.selected);s.update(m,p,A,r.color.getNormalizer(),{inRange:r.color.getColorMapper(),outOfRange:o.color.getColorMapper()},b);var _=new ia({style:{width:p,height:A,x:u,y:h,image:s.canvas},silent:!0});this.group.add(_)},e.type="heatmap",e}(xp),hM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.getInitialData=function(t,e){return pm(null,this,{generateCoord:"value"})},e.prototype.preventIncremental=function(){var t=sd.get(this.get("coordinateSystem"));if(t&&t.dimensions)return"lng"===t.dimensions[0]&&"lat"===t.dimensions[1]},e.type="series.heatmap",e.dependencies=["grid","geo","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},e}(hp);var dM=["itemStyle","borderWidth"],fM=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],pM=new Js;function AM(t,e,n,i){var r=t.getItemLayout(e),o=n.get("symbolRepeat"),a=n.get("symbolClip"),s=n.get("symbolPosition")||"start",l=(n.get("symbolRotate")||0)*Math.PI/180||0,c=n.get("symbolPatternSize")||2,u=n.isAnimationEnabled(),h={dataIndex:e,layout:r,itemModel:n,symbolType:t.getItemVisual(e,"symbol")||"circle",style:t.getItemVisual(e,"style"),symbolClip:a,symbolRepeat:o,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:c,rotation:l,animationModel:u?n:null,hoverScale:u&&n.get(["emphasis","scale"]),z2:n.getShallow("z",!0)||0};!function(t,e,n,i,r){var o,a=i.valueDim,s=t.get("symbolBoundingData"),l=i.coordSys.getOtherAxis(i.coordSys.getBaseAxis()),c=l.toGlobalCoord(l.dataToCoord(0)),u=1-+(n[a.wh]<=0);if(g.isArray(s)){var h=[gM(l,s[0])-c,gM(l,s[1])-c];h[1]<h[0]&&h.reverse(),o=h[u]}else o=null!=s?gM(l,s)-c:e?i.coordSysExtent[a.index][u]-c:n[a.wh];r.boundingLength=o,e&&(r.repeatCutLength=n[a.wh]);r.pxSign=o>0?1:-1}(n,o,r,i,h),function(t,e,n,i,r,o,a,s,l,c){var u,h=l.valueDim,d=l.categoryDim,f=Math.abs(n[d.wh]),p=t.getItemVisual(e,"symbolSize");u=g.isArray(p)?p.slice():null==p?["100%","100%"]:[p,p];u[d.index]=pi(u[d.index],f),u[h.index]=pi(u[h.index],i?f:Math.abs(o)),c.symbolSize=u,(c.symbolScale=[u[0]/s,u[1]/s])[h.index]*=(l.isHorizontal?-1:1)*a}(t,e,r,o,0,h.boundingLength,h.pxSign,c,i,h),function(t,e,n,i,r){var o=t.get(dM)||0;o&&(pM.attr({scaleX:e[0],scaleY:e[1],rotation:n}),pM.updateTransform(),o/=pM.getLineScale(),o*=e[i.valueDim.index]);r.valueLineWidth=o||0}(n,h.symbolScale,l,i,h);var d=h.symbolSize;return function(t,e,n,i,r,o,a,s,l,c,u,h){var d=u.categoryDim,f=u.valueDim,p=h.pxSign,A=Math.max(e[f.index]+s,0),v=A;if(i){var m=Math.abs(l),y=g.retrieve(t.get("symbolMargin"),"15%")+"",b=!1;y.lastIndexOf("!")===y.length-1&&(b=!0,y=y.slice(0,y.length-1));var _=pi(y,e[f.index]),w=Math.max(A+2*_,0),x=b?0:2*_,C=Li(i),S=C?i:IM((m+x)/w),B=m-S*A;_=B/2/(b?S:Math.max(S-1,1)),w=A+2*_,x=b?0:2*_,C||"fixed"===i||(S=c?IM((Math.abs(c)+x)/w):0),v=S*w-x,h.repeatTimes=S,h.symbolMargin=_}var k=p*(v/2),T=h.pathPosition=[];T[d.index]=n[d.wh]/2,T[f.index]="start"===a?k:"end"===a?l-k:l/2,o&&(T[0]+=o[0],T[1]+=o[1]);var O=h.bundlePosition=[];O[d.index]=n[d.xy],O[f.index]=n[f.xy];var E=h.barRectShape=g.extend({},n);E[f.wh]=p*Math.max(Math.abs(n[f.wh]),Math.abs(T[f.index]+k)),E[d.wh]=n[d.wh];var I=h.clipShape={};I[d.xy]=-n[d.xy],I[d.wh]=u.ecSize[d.wh],I[f.xy]=0,I[f.wh]=n[f.wh]}(n,d,r,o,0,IA(n.get("symbolOffset"),d),s,h.valueLineWidth,h.boundingLength,h.repeatCutLength,i,h),h}function gM(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function vM(t){var e=t.symbolPatternSize,n=OA(t.symbolType,-e/2,-e/2,e,e);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function mM(t,e,n,i){var r=t.__pictorialBundle,o=n.symbolSize,a=n.valueLineWidth,s=n.pathPosition,l=e.valueDim,c=n.repeatTimes||0,u=0,h=o[e.valueDim.index]+a+2*n.symbolMargin;for(TM(t,function(t){t.__pictorialAnimationIndex=u,t.__pictorialRepeatTimes=c,u<c?OM(t,null,p(u),n,i):OM(t,null,{scaleX:0,scaleY:0},n,i,function(){r.remove(t)}),u++});u<c;u++){var d=vM(n);d.__pictorialAnimationIndex=u,d.__pictorialRepeatTimes=c,r.add(d);var f=p(u);OM(d,{x:f.x,y:f.y,scaleX:0,scaleY:0},{scaleX:f.scaleX,scaleY:f.scaleY,rotation:f.rotation},n,i)}function p(t){var e=s.slice(),i=n.pxSign,r=t;return("start"===n.symbolRepeatDirection?i>0:i<0)&&(r=c-1-t),e[l.index]=h*(r-c/2+.5)+s[l.index],{x:e[0],y:e[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation}}}function yM(t,e,n,i){var r=t.__pictorialBundle,o=t.__pictorialMainPath;o?OM(o,null,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation},n,i):(o=t.__pictorialMainPath=vM(n),r.add(o),OM(o,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:0,scaleY:0,rotation:n.rotation},{scaleX:n.symbolScale[0],scaleY:n.symbolScale[1]},n,i))}function bM(t,e,n){var i=g.extend({},e.barRectShape),r=t.__pictorialBarRect;r?OM(r,null,{shape:i},e,n):((r=t.__pictorialBarRect=new ha({z2:2,shape:i,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}})).disableMorphing=!0,t.add(r))}function _M(t,e,n,i){if(n.symbolClip){var r=t.__pictorialClipPath,o=g.extend({},n.clipShape),s=e.valueDim,l=n.animationModel,c=n.dataIndex;if(r)ec(r,{shape:o},l,c);else{o[s.wh]=0,r=new ha({shape:o}),t.__pictorialBundle.setClipPath(r),t.__pictorialClipPath=r;var u={};u[s.wh]=n.clipShape[s.wh],a[i?"updateProps":"initProps"](r,{shape:u},l,c)}}}function wM(t,e){var n=t.getItemModel(e);return n.getAnimationDelayParams=xM,n.isAnimationEnabled=CM,n}function xM(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function CM(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function SM(t,e,n,i){var r=new ei,o=new ei;return r.add(o),r.__pictorialBundle=o,o.x=n.bundlePosition[0],o.y=n.bundlePosition[1],n.symbolRepeat?mM(r,e,n):yM(r,0,n),bM(r,n,i),_M(r,e,n,i),r.__pictorialShapeStr=kM(t,n),r.__pictorialSymbolMeta=n,r}function BM(t,e,n,i){var r=i.__pictorialBarRect;r&&r.removeTextContent();var o=[];TM(i,function(t){o.push(t)}),i.__pictorialMainPath&&o.push(i.__pictorialMainPath),i.__pictorialClipPath&&(n=null),g.each(o,function(t){rc(t,{scaleX:0,scaleY:0},n,e,function(){i.parent&&i.parent.remove(i)})}),t.setItemGraphicEl(e,null)}function kM(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function TM(t,e,n){g.each(t.__pictorialBundle.children(),function(i){i!==t.__pictorialBarRect&&e.call(n,i)})}function OM(t,e,n,i,r,o){e&&t.attr(e),i.symbolClip&&!r?n&&t.attr(n):n&&a[r?"updateProps":"initProps"](t,n,i.animationModel,i.dataIndex,o)}function EM(t,e,n){var i=n.dataIndex,r=n.itemModel,o=r.getModel("emphasis"),a=o.getModel("itemStyle").getItemStyle(),s=r.getModel(["blur","itemStyle"]).getItemStyle(),l=r.getModel(["select","itemStyle"]).getItemStyle(),c=r.getShallow("cursor"),u=o.get("focus"),h=o.get("blurScope"),d=o.get("scale");TM(t,function(t){if(t instanceof ia){var e=t.style;t.useStyle(g.extend({image:e.image,x:e.x,y:e.y,width:e.width,height:e.height},n.style))}else t.useStyle(n.style);var i=t.ensureState("emphasis");i.style=a,d&&(i.scaleX=1.1*t.scaleX,i.scaleY=1.1*t.scaleY),t.ensureState("blur").style=s,t.ensureState("select").style=l,c&&(t.cursor=c),t.z2=n.z2});var f=e.valueDim.posDesc[+(n.boundingLength>0)];Qc(t.__pictorialBarRect,Hc(r),{labelFetcher:e.seriesModel,labelDataIndex:i,defaultText:sw(e.seriesModel.getData(),i),inheritColor:n.style.fill,defaultOpacity:n.style.opacity,defaultOutsidePosition:f}),ws(t,u,h,o.get("disabled"))}function IM(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var MM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.render=function(t,e,n){var i=this.group,r=t.getData(),o=this._data,a=t.coordinateSystem,s=a.getBaseAxis().isHorizontal(),l=a.master.getRect(),c={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:t,coordSys:a,coordSysExtent:[[l.x,l.x+l.width],[l.y,l.y+l.height]],isHorizontal:s,valueDim:fM[+s],categoryDim:fM[1-+s]};return r.diff(o).add(function(t){if(r.hasValue(t)){var e=wM(r,t),n=AM(r,t,e,c),o=SM(r,c,n);r.setItemGraphicEl(t,o),i.add(o),EM(o,c,n)}}).update(function(t,e){var n=o.getItemGraphicEl(e);if(r.hasValue(t)){var a=wM(r,t),s=AM(r,t,a,c),l=kM(r,s);n&&l!==n.__pictorialShapeStr&&(i.remove(n),r.setItemGraphicEl(t,null),n=null),n?function(t,e,n){var i=n.animationModel,r=n.dataIndex;ec(t.__pictorialBundle,{x:n.bundlePosition[0],y:n.bundlePosition[1]},i,r),n.symbolRepeat?mM(t,e,n,!0):yM(t,e,n,!0);bM(t,n,!0),_M(t,e,n,!0)}(n,c,s):n=SM(r,c,s,!0),r.setItemGraphicEl(t,n),n.__pictorialSymbolMeta=s,i.add(n),EM(n,c,s)}else i.remove(n)}).remove(function(t){var e=o.getItemGraphicEl(t);e&&BM(o,t,e.__pictorialSymbolMeta.animationModel,e)}).execute(),this._data=r,this.group},e.prototype.remove=function(t,e){var n=this.group,i=this._data;t.get("animation")?i&&i.eachItemGraphicEl(function(e){BM(i,Ta(e).dataIndex,t,e)}):n.removeAll()},e.type="pictorialBar",e}(xp),DM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n.defaultSymbol="roundRect",n}return p(e,t),e.prototype.getInitialData=function(e){return e.stack=null,t.prototype.getInitialData.apply(this,arguments)},e.type="series.pictorialBar",e.dependencies=["grid"],e.defaultOption=Au($w.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),e}($w);var LM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._layers=[],n}return p(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this,o=this.group,a=t.getLayerSeries(),s=i.getLayout("layoutInfo"),l=s.rect,c=s.boundaryGap;function u(t){return t.name}o.x=0,o.y=l.y+c[0];var h=[];function d(e,n,s){var l=r._layers;if("remove"!==e){for(var c,u,d=[],f=[],p=a[n].indices,A=0;A<p.length;A++){var g=i.getItemLayout(p[A]),v=g.x,m=g.y0,y=g.y;d.push(v,m),f.push(v,m+y),c=i.getItemVisual(p[A],"style")}var b=i.getItemLayout(p[0]),_=t.getModel("label").get("margin"),w=t.getModel("emphasis");if("add"===e){var x=h[n]=new ei;u=new Cw({shape:{points:d,stackedOnPoints:f,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),x.add(u),o.add(x),t.isAnimationEnabled()&&u.setClipPath(function(t,e,n){var i=new ha({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return nc(i,{shape:{x:t.x-50,width:t.width+100,height:t.height+20}},e,n),i}(u.getBoundingRect(),t,function(){u.removeClipPath()}))}else{x=l[s];u=x.childAt(0),o.add(x),h[n]=x,ec(u,{shape:{points:d,stackedOnPoints:f}},t),sc(u)}Qc(u,Hc(t),{labelDataIndex:p[A-1],defaultText:i.getName(p[A-1]),inheritColor:c.fill},{normal:{verticalAlign:"middle"}}),u.setTextConfig({position:null,local:!0});var C=u.getTextContent();C&&(C.x=b.x-_,C.y=b.y0+b.y/2),u.useStyle(c),i.setItemGraphicEl(n,u),Bs(u,t),ws(u,w.get("focus"),w.get("blurScope"),w.get("disabled"))}else o.remove(l[n])}new Lv(this._layersSeries||[],a,u,u).add(Object(g.bind)(d,this,"add")).update(Object(g.bind)(d,this,"update")).remove(Object(g.bind)(d,this,"remove")).execute(),this._layersSeries=a,this._layers=h},e.type="themeRiver",e}(xp),FM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new Ix(g.bind(this.getData,this),g.bind(this.getRawData,this))},e.prototype.fixData=function(t){var e=t.length,n={},i=[];lr(t,function(t){return n.hasOwnProperty(t[0]+"")||(n[t[0]+""]=-1),t[2]}).buckets.each(function(t,e){i.push({name:e,dataList:t})});for(var r=i.length,o=0;o<r;++o){for(var a=i[o].name,s=0;s<i[o].dataList.length;++s){var l=i[o].dataList[s][0]+"";n[l]=o}for(var l in n)n.hasOwnProperty(l)&&n[l]!==o&&(n[l]=o,t[e]=[l,0,a],e++)}return t},e.prototype.getInitialData=function(t,e){for(var n=this.getReferringComponents("singleAxis",rr).models[0].get("type"),i=g.filter(t.data,function(t){return void 0!==t[2]}),r=this.fixData(i||[]),o=[],a=this.nameMap=g.createHashMap(),s=0,l=0;l<r.length;++l)o.push(r[l][2]),a.get(r[l][2])||(a.set(r[l][2],s),s++);var c=am(r,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:Nv(n)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}).dimensions,u=new rm(c,this);return u.initData(r),u},e.prototype.getLayerSeries=function(){for(var t=this.getData(),e=t.count(),n=[],i=0;i<e;++i)n[i]=i;var r=t.mapDimension("single"),o=[];return lr(n,function(e){return t.get("name",e)}).buckets.each(function(e,n){e.sort(function(e,n){return t.get(r,e)-t.get(r,n)}),o.push({name:n,indices:e})}),o},e.prototype.getAxisTooltipData=function(t,e,n){g.isArray(t)||(t=t?[t]:[]);for(var i,r=this.getData(),o=this.getLayerSeries(),a=[],s=o.length,l=0;l<s;++l){for(var c=Number.MAX_VALUE,u=-1,h=o[l].indices.length,d=0;d<h;++d){var f=r.get(t[0],o[l].indices[d]),p=Math.abs(f-e);p<=c&&(i=f,c=p,u=o[l].indices[d])}a.push(u)}return{dataIndices:a,nestestValue:i}},e.prototype.formatTooltip=function(t,e,n){var i=this.getData();return Hf("nameValue",{name:i.getName(t),value:i.get(i.mapDimension("value"),t)})},e.type="series.themeRiver",e.dependencies=["singleAxis"],e.defaultOption={z:2,colorBy:"data",coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",fontSize:11},emphasis:{label:{show:!0}}},e}(hp);function PM(t,e){t.eachSeriesByType("themeRiver",function(t){var e=t.getData(),n=t.coordinateSystem,i={},r=n.getRect();i.rect=r;var o=t.get("boundaryGap"),a=n.getAxis();(i.boundaryGap=o,"horizontal"===a.orient)?(o[0]=pi(o[0],r.height),o[1]=pi(o[1],r.height),NM(e,t,r.height-o[0]-o[1])):(o[0]=pi(o[0],r.width),o[1]=pi(o[1],r.width),NM(e,t,r.width-o[0]-o[1]));e.setLayout("layoutInfo",i)})}function NM(t,e,n){if(t.count())for(var i,r=e.coordinateSystem,o=e.getLayerSeries(),a=t.mapDimension("single"),s=t.mapDimension("value"),l=g.map(o,function(e){return g.map(e.indices,function(e){var n=r.dataToPoint(t.get(a,e));return n[1]=t.get(s,e),n})}),c=function(t){for(var e=t.length,n=t[0].length,i=[],r=[],o=0,a=0;a<n;++a){for(var s=0,l=0;l<e;++l)s+=t[l][a][1];s>o&&(o=s),i.push(s)}for(var c=0;c<n;++c)r[c]=(o-i[c])/2;o=0;for(var u=0;u<n;++u){var h=i[u]+r[u];h>o&&(o=h)}return{y0:r,max:o}}(l),u=c.y0,h=n/c.max,d=o.length,f=o[0].indices.length,p=0;p<f;++p){i=u[p]*h,t.setItemLayout(o[0].indices[p],{layerIndex:0,x:l[0][p][0],y0:i,y:l[0][p][1]*h});for(var A=1;A<d;++A)i+=l[A-1][p][1]*h,t.setItemLayout(o[A].indices[p],{layerIndex:A,x:l[A][p][0],y0:i,y:l[A][p][1]*h})}}var jM=2,UM=4,RM=function(t){function e(e,n,i,r){var o=t.call(this)||this;o.z2=jM,o.textConfig={inside:!0},Ta(o).seriesIndex=n.seriesIndex;var a=new ka({z2:UM,silent:e.getModel().get(["label","silent"])});return o.setTextContent(a),o.updateData(!0,e,n,i,r),o}return p(e,t),e.prototype.updateData=function(t,e,n,i,r){this.node=e,e.piece=this,n=n||this._seriesModel,i=i||this._ecModel;var o=this;Ta(o).dataIndex=e.dataIndex;var a=e.getModel(),s=a.getModel("emphasis"),l=e.getLayout(),c=g.extend({},l);c.label=null;var u=e.getVisual("style");u.lineJoin="bevel";var h=e.getVisual("decal");h&&(u.decal=ag(h,r));var d=qw(a.getModel("itemStyle"),c,!0);g.extend(c,d),g.each(Na,function(t){var e=o.ensureState(t),n=a.getModel([t,"itemStyle"]);e.style=n.getItemStyle();var i=qw(n,c);i&&(e.shape=i)}),t?(o.setShape(c),o.shape.r=l.r0,nc(o,{shape:{r:l.r}},n,e.dataIndex)):(ec(o,{shape:c},n),sc(o)),o.useStyle(u),this._updateLabel(n);var f=a.getShallow("cursor");f&&o.attr("cursor",f),this._seriesModel=n||this._seriesModel,this._ecModel=i||this._ecModel;var p=s.get("focus");ws(this,"ancestor"===p?e.getAncestorsIndices():"descendant"===p?e.getDescendantIndices():p,s.get("blurScope"),s.get("disabled"))},e.prototype._updateLabel=function(t){var e=this,n=this.node.getModel(),i=n.getModel("label"),r=this.node.getLayout(),o=r.endAngle-r.startAngle,a=(r.startAngle+r.endAngle)/2,s=Math.cos(a),l=Math.sin(a),c=this,u=c.getTextContent(),h=this.node.dataIndex,d=i.get("minAngle")/180*Math.PI,f=i.get("show")&&!(null!=d&&Math.abs(o)<d);function p(t,e){var n=t.get(e);return null==n?i.get(e):n}u.ignore=!f,g.each(ja,function(i){var d="normal"===i?n.getModel("label"):n.getModel([i,"label"]),f="normal"===i,A=f?u:u.ensureState(i),v=t.getFormattedLabel(h,i);f&&(v=v||e.node.name),A.style=Vc(d,{},null,"normal"!==i,!0),v&&(A.style.text=v);var m=d.get("show");null==m||f||(A.ignore=!m);var y,b=p(d,"position"),_=f?c:c.states[i],w=_.style.fill;_.textConfig={outsideFill:"inherit"===d.get("color")?w:null,inside:"outside"!==b};var x=p(d,"distance")||0,C=p(d,"align");"outside"===b?(y=r.r+x,C=a>Math.PI/2?"right":"left"):C&&"center"!==C?"left"===C?(y=r.r0+x,a>Math.PI/2&&(C="right")):"right"===C&&(y=r.r-x,a>Math.PI/2&&(C="left")):(y=o===2*Math.PI&&0===r.r0?0:(r.r+r.r0)/2,C="center"),A.style.align=C,A.style.verticalAlign=p(d,"verticalAlign")||"middle",A.x=y*s+r.cx,A.y=y*l+r.cy;var S=p(d,"rotate"),B=0;"radial"===S?(B=Lo(-a))>Math.PI/2&&B<1.5*Math.PI&&(B+=Math.PI):"tangential"===S?(B=Math.PI/2-a)>Math.PI/2?B-=Math.PI:B<-Math.PI/2&&(B+=Math.PI):g.isNumber(S)&&(B=S*Math.PI/180),A.rotation=B}),u.dirtyStyle()},e}(ml),QM="sunburstRootToNode",HM="sunburstHighlight",VM="sunburstUnhighlight";var zM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.render=function(t,e,n,i){var r=this;this.seriesModel=t,this.api=n,this.ecModel=e;var o=t.getData(),a=o.tree.root,s=t.getViewRoot(),l=this.group,c=t.get("renderLabelForZeroData"),u=[];s.eachNode(function(t){u.push(t)});var h=this._oldChildren||[];!function(i,r){if(0===i.length&&0===r.length)return;function s(t){return t.getId()}function u(s,u){var h=null==s?null:i[s],d=null==u?null:r[u];!function(i,r){c||!i||i.getValue()||(i=null);if(i!==a&&r!==a)if(r&&r.piece)i?(r.piece.updateData(!1,i,t,e,n),o.setItemGraphicEl(i.dataIndex,r.piece)):function(t){if(!t)return;t.piece&&(l.remove(t.piece),t.piece=null)}(r);else if(i){var s=new RM(i,t,e,n);l.add(s),o.setItemGraphicEl(i.dataIndex,s)}}(h,d)}new Lv(r,i,s,s).add(u).update(u).remove(g.curry(u,null)).execute()}(u,h),function(i,o){o.depth>0?(r.virtualPiece?r.virtualPiece.updateData(!1,i,t,e,n):(r.virtualPiece=new RM(i,t,e,n),l.add(r.virtualPiece)),o.piece.off("click"),r.virtualPiece.on("click",function(t){r._rootToNode(o.parentNode)})):r.virtualPiece&&(l.remove(r.virtualPiece),r.virtualPiece=null)}(a,s),this._initEvents(),this._oldChildren=u},e.prototype._initEvents=function(){var t=this;this.group.off("click"),this.group.on("click",function(e){var n=!1;t.seriesModel.getViewRoot().eachNode(function(i){if(!n&&i.piece&&i.piece===e.target){var r=i.getModel().get("nodeClick");if("rootToNode"===r)t._rootToNode(i);else if("link"===r){var o=i.getModel(),a=o.get("link");if(a)uh(a,o.get("target",!0)||"_blank")}n=!0}})})},e.prototype._rootToNode=function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:QM,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},e.prototype.containPoint=function(t,e){var n=e.getData().getItemLayout(0);if(n){var i=t[0]-n.cx,r=t[1]-n.cy,o=Math.sqrt(i*i+r*r);return o<=n.r&&o>=n.r0}},e.type="sunburst",e}(xp);var $M=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreStyleOnData=!0,n}return p(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};!function t(e){var n=0;g.each(e.children,function(e){t(e);var i=e.value;g.isArray(i)&&(i=i[0]),n+=i});var i=e.value;g.isArray(i)&&(i=i[0]);(null==i||isNaN(i))&&(i=n);i<0&&(i=0);g.isArray(e.value)?e.value[0]=i:e.value=i}(n);var i=this._levelModels=g.map(t.levels||[],function(t){return new du(t,this,e)},this),r=WB.createTree(n,this,function(t){t.wrapMethod("getItemModel",function(t,e){var n=r.getNodeByDataIndex(e),o=i[n.depth];return o&&(t.parentModel=o),t})});return r.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treePathInfo=qB(i,this),n},e.prototype.getLevelModel=function(t){return this._levelModels&&this._levelModels[t.depth]},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},e.prototype.enableAriaDecal=function(){ik(this)},e.type="series.sunburst",e.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},e}(hp),GM=Math.PI/180;function WM(t,e,n){e.eachSeriesByType(t,function(t){var e=t.get("center"),i=t.get("radius");g.isArray(i)||(i=[0,i]),g.isArray(e)||(e=[e,e]);var r=n.getWidth(),o=n.getHeight(),a=Math.min(r,o),s=pi(e[0],r),l=pi(e[1],o),c=pi(i[0],a/2),u=pi(i[1],a/2),h=-t.get("startAngle")*GM,d=t.get("minAngle")*GM,f=t.getData().tree.root,p=t.getViewRoot(),A=p.depth,v=t.get("sort");null!=v&&function t(e,n){var i=e.children||[];e.children=function(t,e){if(g.isFunction(e)){var n=g.map(t,function(t,e){var n=t.getValue();return{params:{depth:t.depth,height:t.height,dataIndex:t.dataIndex,getValue:function(){return n}},index:e}});return n.sort(function(t,n){return e(t.params,n.params)}),g.map(n,function(e){return t[e.index]})}var i="asc"===e;return t.sort(function(t,e){var n=(t.getValue()-e.getValue())*(i?1:-1);return 0===n?(t.dataIndex-e.dataIndex)*(i?-1:1):n})}(i,n);i.length&&g.each(e.children,function(e){t(e,n)})}(p,v);var m=0;g.each(p.children,function(t){!isNaN(t.getValue())&&m++});var y=p.getValue(),b=Math.PI/(y||m)*2,_=p.depth>0,w=p.height-(_?-1:1),x=(u-c)/(w||1),C=t.get("clockwise"),S=t.get("stillShowZeroSum"),B=C?1:-1,k=function(e,n){if(e){var i=n;if(e!==f){var r=e.getValue(),o=0===y&&S?b:r*b;o<d&&(o=d),i=n+B*o;var u=e.depth-A-(_?-1:1),h=c+x*u,p=c+x*(u+1),v=t.getLevelModel(e);if(v){var m=v.get("r0",!0),w=v.get("r",!0),T=v.get("radius",!0);null!=T&&(m=T[0],w=T[1]),null!=m&&(h=pi(m,a/2)),null!=w&&(p=pi(w,a/2))}e.setLayout({angle:o,startAngle:n,endAngle:i,clockwise:C,cx:s,cy:l,r0:h,r:p})}if(e.children&&e.children.length){var O=0;g.each(e.children,function(t){O+=k(t,n+O)})}return i-n}};if(_){var T=c,O=c+x,E=2*Math.PI;f.setLayout({angle:E,startAngle:h,endAngle:h+E,clockwise:C,cx:s,cy:l,r0:T,r:O})}k(p,h)})}function KM(t){var e={};t.eachSeriesByType("sunburst",function(t){var n=t.getData(),i=n.tree;i.eachNode(function(r){var o=r.getModel().getModel("itemStyle").getItemStyle();o.fill||(o.fill=function(t,n,i){for(var r=t;r&&r.depth>1;)r=r.parentNode;var o=n.getColorFromPalette(r.name||r.dataIndex+"",e);return t.depth>1&&Object(g.isString)(o)&&(o=Object(Le.lift)(o,(t.depth-1)/(i-1)*.5)),o}(r,t,i.root.height));var a=n.ensureUniqueItemVisual(r.dataIndex,"style");Object(g.extend)(a,o)})})}var YM={color:"fill",borderColor:"stroke"},XM={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},qM=tr(),ZM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},e.prototype.getInitialData=function(t,e){return pm(null,this)},e.prototype.getDataParams=function(e,n,i){var r=t.prototype.getDataParams.call(this,e,n);return i&&(r.info=qM(i).info),r},e.type="series.custom",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},e}(hp);function JM(t,e){return e=e||[0,0],g.map(["x","y"],function(n,i){var r=this.getAxis(n),o=e[i],a=t[i]/2;return"category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-a)-r.dataToCoord(o+a))},this)}function tD(t,e){return e=e||[0,0],g.map([0,1],function(n){var i=e[n],r=t[n]/2,o=[],a=[];return o[n]=i-r,a[n]=i+r,o[1-n]=a[1-n]=e[1-n],Math.abs(this.dataToPoint(o)[n]-this.dataToPoint(a)[n])},this)}function eD(t,e){var n=this.getAxis(),i=e instanceof Array?e[0]:e,r=(t instanceof Array?t[0]:t)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(i-r)-n.dataToCoord(i+r))}function nD(t,e){return e=e||[0,0],g.map(["Radius","Angle"],function(n,i){var r=this["get"+n+"Axis"](),o=e[i],a=t[i]/2,s="category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-a)-r.dataToCoord(o+a));return"Angle"===n&&(s=s*Math.PI/180),s},this)}function iD(t,e,n,i){return t&&(t.legacy||!1!==t.legacy&&!n&&!i&&"tspan"!==e&&("text"===e||Object(g.hasOwn)(t,"text")))}function rD(t,e,n){var i,r,o,a=t;if("text"===e)o=a;else{o={},Object(g.hasOwn)(a,"text")&&(o.text=a.text),Object(g.hasOwn)(a,"rich")&&(o.rich=a.rich),Object(g.hasOwn)(a,"textFill")&&(o.fill=a.textFill),Object(g.hasOwn)(a,"textStroke")&&(o.stroke=a.textStroke),Object(g.hasOwn)(a,"fontFamily")&&(o.fontFamily=a.fontFamily),Object(g.hasOwn)(a,"fontSize")&&(o.fontSize=a.fontSize),Object(g.hasOwn)(a,"fontStyle")&&(o.fontStyle=a.fontStyle),Object(g.hasOwn)(a,"fontWeight")&&(o.fontWeight=a.fontWeight),r={type:"text",style:o,silent:!0},i={};var s=Object(g.hasOwn)(a,"textPosition");n?i.position=s?a.textPosition:"inside":s&&(i.position=a.textPosition),Object(g.hasOwn)(a,"textPosition")&&(i.position=a.textPosition),Object(g.hasOwn)(a,"textOffset")&&(i.offset=a.textOffset),Object(g.hasOwn)(a,"textRotation")&&(i.rotation=a.textRotation),Object(g.hasOwn)(a,"textDistance")&&(i.distance=a.textDistance)}return oD(o,t),Object(g.each)(o.rich,function(t){oD(t,t)}),{textConfig:i,textContent:r}}function oD(t,e){e&&(e.font=e.textFont||e.font,Object(g.hasOwn)(e,"textStrokeWidth")&&(t.lineWidth=e.textStrokeWidth),Object(g.hasOwn)(e,"textAlign")&&(t.align=e.textAlign),Object(g.hasOwn)(e,"textVerticalAlign")&&(t.verticalAlign=e.textVerticalAlign),Object(g.hasOwn)(e,"textLineHeight")&&(t.lineHeight=e.textLineHeight),Object(g.hasOwn)(e,"textWidth")&&(t.width=e.textWidth),Object(g.hasOwn)(e,"textHeight")&&(t.height=e.textHeight),Object(g.hasOwn)(e,"textBackgroundColor")&&(t.backgroundColor=e.textBackgroundColor),Object(g.hasOwn)(e,"textPadding")&&(t.padding=e.textPadding),Object(g.hasOwn)(e,"textBorderColor")&&(t.borderColor=e.textBorderColor),Object(g.hasOwn)(e,"textBorderWidth")&&(t.borderWidth=e.textBorderWidth),Object(g.hasOwn)(e,"textBorderRadius")&&(t.borderRadius=e.textBorderRadius),Object(g.hasOwn)(e,"textBoxShadowColor")&&(t.shadowColor=e.textBoxShadowColor),Object(g.hasOwn)(e,"textBoxShadowBlur")&&(t.shadowBlur=e.textBoxShadowBlur),Object(g.hasOwn)(e,"textBoxShadowOffsetX")&&(t.shadowOffsetX=e.textBoxShadowOffsetX),Object(g.hasOwn)(e,"textBoxShadowOffsetY")&&(t.shadowOffsetY=e.textBoxShadowOffsetY))}function aD(t,e,n){var i=t;i.textPosition=i.textPosition||n.position||"inside",null!=n.offset&&(i.textOffset=n.offset),null!=n.rotation&&(i.textRotation=n.rotation),null!=n.distance&&(i.textDistance=n.distance);var r=i.textPosition.indexOf("inside")>=0,o=t.fill||"#000";sD(i,e);var a=null==i.textFill;return r?a&&(i.textFill=n.insideFill||"#fff",!i.textStroke&&n.insideStroke&&(i.textStroke=n.insideStroke),!i.textStroke&&(i.textStroke=o),null==i.textStrokeWidth&&(i.textStrokeWidth=2)):(a&&(i.textFill=t.fill||n.outsideFill||"#000"),!i.textStroke&&n.outsideStroke&&(i.textStroke=n.outsideStroke)),i.text=e.text,i.rich=e.rich,Object(g.each)(e.rich,function(t){sD(t,t)}),i}function sD(t,e){e&&(Object(g.hasOwn)(e,"fill")&&(t.textFill=e.fill),Object(g.hasOwn)(e,"stroke")&&(t.textStroke=e.fill),Object(g.hasOwn)(e,"lineWidth")&&(t.textStrokeWidth=e.lineWidth),Object(g.hasOwn)(e,"font")&&(t.font=e.font),Object(g.hasOwn)(e,"fontStyle")&&(t.fontStyle=e.fontStyle),Object(g.hasOwn)(e,"fontWeight")&&(t.fontWeight=e.fontWeight),Object(g.hasOwn)(e,"fontSize")&&(t.fontSize=e.fontSize),Object(g.hasOwn)(e,"fontFamily")&&(t.fontFamily=e.fontFamily),Object(g.hasOwn)(e,"align")&&(t.textAlign=e.align),Object(g.hasOwn)(e,"verticalAlign")&&(t.textVerticalAlign=e.verticalAlign),Object(g.hasOwn)(e,"lineHeight")&&(t.textLineHeight=e.lineHeight),Object(g.hasOwn)(e,"width")&&(t.textWidth=e.width),Object(g.hasOwn)(e,"height")&&(t.textHeight=e.height),Object(g.hasOwn)(e,"backgroundColor")&&(t.textBackgroundColor=e.backgroundColor),Object(g.hasOwn)(e,"padding")&&(t.textPadding=e.padding),Object(g.hasOwn)(e,"borderColor")&&(t.textBorderColor=e.borderColor),Object(g.hasOwn)(e,"borderWidth")&&(t.textBorderWidth=e.borderWidth),Object(g.hasOwn)(e,"borderRadius")&&(t.textBorderRadius=e.borderRadius),Object(g.hasOwn)(e,"shadowColor")&&(t.textBoxShadowColor=e.shadowColor),Object(g.hasOwn)(e,"shadowBlur")&&(t.textBoxShadowBlur=e.shadowBlur),Object(g.hasOwn)(e,"shadowOffsetX")&&(t.textBoxShadowOffsetX=e.shadowOffsetX),Object(g.hasOwn)(e,"shadowOffsetY")&&(t.textBoxShadowOffsetY=e.shadowOffsetY),Object(g.hasOwn)(e,"textShadowColor")&&(t.textShadowColor=e.textShadowColor),Object(g.hasOwn)(e,"textShadowBlur")&&(t.textShadowBlur=e.textShadowBlur),Object(g.hasOwn)(e,"textShadowOffsetX")&&(t.textShadowOffsetX=e.textShadowOffsetX),Object(g.hasOwn)(e,"textShadowOffsetY")&&(t.textShadowOffsetY=e.textShadowOffsetY))}var lD={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},cD=Object(g.keys)(lD),uD=(Object(g.reduce)(In,function(t,e){return t[e]=1,t},{}),In.join(", "),["","style","shape","extra"]),hD=tr();function dD(t,e,n,i,r){var o=t+"Animation",a=Jl(t,i,r)||{},s=hD(e).userDuring;return a.duration>0&&(a.during=s?Object(g.bind)(yD,{el:e,userDuring:s}):null,a.setToFinal=!0,a.scope=t),Object(g.extend)(a,n[o]),a}function fD(t,e,n,i){var r=(i=i||{}).dataIndex,o=i.isInit,a=i.clearStyle,s=n.isAnimationEnabled(),l=hD(t),c=e.style;l.userDuring=e.during;var u={},h={};if(function(t,e,n){for(var i=0;i<cD.length;i++){var r=cD[i],o=lD[r],a=e[r];a&&(n[o[0]]=a[0],n[o[1]]=a[1])}for(var i=0;i<In.length;i++){var s=In[i];null!=e[s]&&(n[s]=e[s])}}(0,e,h),_D("shape",e,h),_D("extra",e,h),!o&&s&&(function(t,e,n){for(var i=e.transition,r=gD(i)?In:Hi(i||[]),o=0;o<r.length;o++){var a=r[o];if("style"!==a&&"shape"!==a&&"extra"!==a){var s=t[a];0,n[a]=s}}}(t,e,u),bD("shape",t,e,u),bD("extra",t,e,u),function(t,e,n,i){if(!n)return;var r,o=t.style;if(o){var a=n.transition,s=e.transition;if(a&&!gD(a)){var l=Hi(a);!r&&(r=i.style={});for(var c=0;c<l.length;c++){var u=l[c],h=o[u];r[u]=h}}else if(t.getAnimationStyleProps&&(gD(s)||gD(a)||Object(g.indexOf)(s,"style")>=0)){var d=t.getAnimationStyleProps(),f=d?d.style:null;if(f){!r&&(r=i.style={});for(var p=Object(g.keys)(n),c=0;c<p.length;c++){var u=p[c];if(f[u]){var h=o[u];r[u]=h}}}}}}(t,e,c,u)),h.style=c,function(t,e,n){var i=e.style;if(!t.isGroup&&i){if(n){t.useStyle({});for(var r=t.animators,o=0;o<r.length;o++){var a=r[o];"style"===a.targetName&&a.changeTarget(t.style)}}t.setStyle(i)}e&&(e.style=null,e&&t.attr(e),e.style=i)}(t,h,a),function(t,e){Object(g.hasOwn)(e,"silent")&&(t.silent=e.silent),Object(g.hasOwn)(e,"ignore")&&(t.ignore=e.ignore),t instanceof Kr&&Object(g.hasOwn)(e,"invisible")&&(t.invisible=e.invisible);t instanceof Xo&&Object(g.hasOwn)(e,"autoBatch")&&(t.autoBatch=e.autoBatch)}(t,e),s)if(o){var d={};Object(g.each)(uD,function(t){var n=t?e[t]:e;n&&n.enterFrom&&(t&&(d[t]=d[t]||{}),Object(g.extend)(t?d[t]:d,n.enterFrom))});var f=dD("enter",t,e,n,r);f.duration>0&&t.animateFrom(d,f)}else!function(t,e,n,i,r){if(r){var o=dD("update",t,e,i,n);o.duration>0&&t.animateFrom(r,o)}}(t,e,r||0,n,u);pD(t,e),c?t.dirty():t.markRedraw()}function pD(t,e){for(var n=hD(t).leaveToProps,i=0;i<uD.length;i++){var r=uD[i],o=r?e[r]:e;o&&o.leaveTo&&(n||(n=hD(t).leaveToProps={}),r&&(n[r]=n[r]||{}),Object(g.extend)(r?n[r]:n,o.leaveTo))}}function AD(t,e,n,i){if(t){var r=t.parent,o=hD(t).leaveToProps;if(o){var a=dD("update",t,e,n,0);a.done=function(){r.remove(t),i&&i()},t.animateTo(o,a)}else r.remove(t),i&&i()}}function gD(t){return"all"===t}var vD={},mD={setTransform:function(t,e){return vD.el[t]=e,this},getTransform:function(t){return vD.el[t]},setShape:function(t,e){var n=vD.el;return(n.shape||(n.shape={}))[t]=e,n.dirtyShape&&n.dirtyShape(),this},getShape:function(t){var e=vD.el.shape;if(e)return e[t]},setStyle:function(t,e){var n=vD.el,i=n.style;return i&&(i[t]=e,n.dirtyStyle&&n.dirtyStyle()),this},getStyle:function(t){var e=vD.el.style;if(e)return e[t]},setExtra:function(t,e){return(vD.el.extra||(vD.el.extra={}))[t]=e,this},getExtra:function(t){var e=vD.el.extra;if(e)return e[t]}};function yD(){var t=this.el;if(t){var e=hD(t).userDuring,n=this.userDuring;e===n?(vD.el=t,n(mD)):this.el=this.userDuring=null}}function bD(t,e,n,i){var r=n[t];if(r){var o,a=e[t];if(a){var s=n.transition,l=r.transition;if(l)if(!o&&(o=i[t]={}),gD(l))Object(g.extend)(o,a);else for(var c=Hi(l),u=0;u<c.length;u++){var h=a[f=c[u]];o[f]=h}else if(gD(s)||Object(g.indexOf)(s,t)>=0){!o&&(o=i[t]={});var d=Object(g.keys)(a);for(u=0;u<d.length;u++){var f;h=a[f=d[u]];wD(r[f],h)&&(o[f]=h)}}}}}function _D(t,e,n){var i=e[t];if(i)for(var r=n[t]={},o=Object(g.keys)(i),a=0;a<o.length;a++){var s=o[a];r[s]=Ve(i[s])}}function wD(t,e){return Object(g.isArrayLike)(t)?t!==e:null!=t&&isFinite(t)}var xD=tr(),CD=["percent","easing","shape","style","extra"];function SD(t){t.stopAnimation("keyframe"),t.attr(xD(t))}function BD(t,e,n){if(n.isAnimationEnabled()&&e)if(Object(g.isArray)(e))Object(g.each)(e,function(e){BD(t,e,n)});else{var i=e.keyframes,r=e.duration;if(n&&null==r){var o=Jl("enter",n,0);r=o&&o.duration}if(i&&r){var a=xD(t);Object(g.each)(uD,function(n){if(!n||t[n]){var o;i.sort(function(t,e){return t.percent-e.percent}),Object(g.each)(i,function(i){var s=t.animators,l=n?i[n]:i;if(l){var c=Object(g.keys)(l);if(n||(c=Object(g.filter)(c,function(t){return Object(g.indexOf)(CD,t)<0})),c.length){o||((o=t.animate(n,e.loop,!0)).scope="keyframe");for(var u=0;u<s.length;u++)s[u]!==o&&s[u].targetName===o.targetName&&s[u].stopTracks(c);n&&(a[n]=a[n]||{});var h=n?a[n]:a;Object(g.each)(c,function(e){h[e]=((n?t[n]:t)||{})[e]}),o.whenWithKeys(r*i.percent,l,c,i.easing)}}}),o&&o.delay(e.delay||0).duration(r).start(e.easing)}})}}}var kD="emphasis",TD="normal",OD=[TD,kD,"blur","select"],ED={normal:["itemStyle"],emphasis:[kD,"itemStyle"],blur:["blur","itemStyle"],select:["select","itemStyle"]},ID={normal:["label"],emphasis:[kD,"label"],blur:["blur","label"],select:["select","label"]},MD=["x","y"],DD="e\0\0",LD={normal:{},emphasis:{},blur:{},select:{}},FD={cartesian2d:function(t){var e=t.master.getRect();return{coordSys:{type:"cartesian2d",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:g.bind(JM,t)}}},geo:function(t){var e=t.getBoundingRect();return{coordSys:{type:"geo",x:e.x,y:e.y,width:e.width,height:e.height,zoom:t.getZoom()},api:{coord:function(e){return t.dataToPoint(e)},size:g.bind(tD,t)}}},single:function(t){var e=t.getRect();return{coordSys:{type:"singleAxis",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:Object(g.bind)(eD,t)}}},polar:function(t){var e=t.getRadiusAxis(),n=t.getAngleAxis(),i=e.getExtent();return i[0]>i[1]&&i.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:i[1],r0:i[0]},api:{coord:function(i){var r=e.dataToRadius(i[0]),o=n.dataToAngle(i[1]),a=t.coordToPoint([r,o]);return a.push(r,o*Math.PI/180),a},size:g.bind(nD,t)}}},calendar:function(t){var e=t.getRect(),n=t.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(e,n){return t.dataToPoint(e,n)}}}}};function PD(t){return t instanceof Xo}function ND(t){return t instanceof Kr}var jD=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.render=function(t,e,n,i){this._progressiveEls=null;var r=this._data,o=t.getData(),a=this.group,s=VD(t,o,e,n);r||a.removeAll(),o.diff(r).add(function(e){zD(n,null,e,s(e,i),t,a,o)}).remove(function(e){var n=r.getItemGraphicEl(e);n&&AD(n,qM(n).option,t)}).update(function(e,l){var c=r.getItemGraphicEl(l);zD(n,c,e,s(e,i),t,a,o)}).execute();var l=t.get("clip",!0)?kw(t.coordinateSystem,!1,t):null;l?a.setClipPath(l):a.removeClipPath(),this._data=o},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll(),this._data=null},e.prototype.incrementalRender=function(t,e,n,i,r){var o=e.getData(),a=VD(e,o,n,i),s=this._progressiveEls=[];function l(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}for(var c=t.start;c<t.end;c++){var u=zD(null,null,c,a(c,r),e,this.group,o);u&&(u.traverse(l),s.push(u))}},e.prototype.eachRendered=function(t){Nc(this._progressiveEls||this.group,t)},e.prototype.filterForExposedEvent=function(t,e,n,i){var r=e.element;if(null==r||n.name===r)return!0;for(;(n=n.__hostTarget||n.parent)&&n!==this.group;)if(n.name===r)return!0;return!1},e.type="custom",e}(xp);function UD(t){var e,n=t.type;if("path"===n){var i=t.shape,r=null!=i.width&&null!=i.height?{x:i.x||0,y:i.y||0,width:i.width,height:i.height}:null,o=tL(i);e=gc(o,null,r,i.layout||"center"),qM(e).customPathData=o}else if("image"===n)e=new ia({}),qM(e).customImagePath=t.style.image;else if("text"===n)e=new ka({});else if("group"===n)e=new ei;else{if("compoundPath"===n)throw new Error('"compoundPath" is not supported yet.');var a=Ac(n);if(!a){var s="";0,ji(s)}e=new a}return qM(e).customGraphicType=n,e.name=t.name,e.z2EmphasisLift=1,e.z2SelectLift=1,e}function RD(t,e,n,i,r,o,a){SD(e);var s=r&&r.normal.cfg;s&&e.setTextConfig(s),i&&null==i.transition&&(i.transition=MD);var l=i&&i.style;if(l){if("text"===e.type){var c=l;Object(g.hasOwn)(c,"textFill")&&(c.fill=c.textFill),Object(g.hasOwn)(c,"textStroke")&&(c.stroke=c.textStroke)}var u=void 0,h=PD(e)?l.decal:null;t&&h&&(h.dirty=!0,u=ag(h,t)),l.__decalPattern=u}ND(e)&&(l&&(u=l.__decalPattern)&&(l.decal=u));fD(e,i,o,{dataIndex:n,isInit:a,clearStyle:!0}),BD(e,i.keyframeAnimation,o)}function QD(t,e,n,i,r){var o=e.isGroup?null:e,a=r&&r[t].cfg;if(o){var s=o.ensureState(t);if(!1===i){var l=o.getState(t);l&&(l.style=null)}else s.style=i||null;a&&(s.textConfig=a),as(o)}}function HD(t,e,n){var i=n===TD,r=i?e:KD(e,n),o=r?r.z2:null;null!=o&&((i?t:t.ensureState(n)).z2=o||0)}function VD(t,e,n,i){var r=t.get("renderItem"),o=t.coordinateSystem,a={};o&&(a=o.prepareCustoms?o.prepareCustoms(o):FD[o.type](o));for(var s,l,c=Object(g.defaults)({getWidth:i.getWidth,getHeight:i.getHeight,getZr:i.getZr,getDevicePixelRatio:i.getDevicePixelRatio,value:function(t,n){return null==n&&(n=s),e.getStore().get(e.getDimensionIndex(t||0),n)},style:function(n,i){0;null==i&&(i=s);var r=e.getItemVisual(i,"style"),o=r&&r.fill,a=r&&r.opacity,l=y(i,TD).getItemStyle();null!=o&&(l.fill=o),null!=a&&(l.opacity=a);var c={inheritColor:Object(g.isString)(o)?o:"#000"},u=b(i,TD),h=Vc(u,null,c,!1,!0);h.text=u.getShallow("show")?Object(g.retrieve2)(t.getFormattedLabel(i,TD),sw(e,i)):null;var d=zc(u,c,!1);return w(n,l),l=aD(l,h,d),n&&_(l,n),l.legacy=!0,l},ordinalRawValue:function(t,n){null==n&&(n=s),t=t||0;var i=e.getDimensionInfo(t);if(!i){var r=e.getDimensionIndex(t);return r>=0?e.getStore().get(r,n):void 0}var o=e.get(i.name,n),a=i&&i.ordinalMeta;return a?a.categories[o]:o},styleEmphasis:function(n,i){0;null==i&&(i=s);var r=y(i,kD).getItemStyle(),o=b(i,kD),a=Vc(o,null,null,!0,!0);a.text=o.getShallow("show")?Object(g.retrieve3)(t.getFormattedLabel(i,kD),t.getFormattedLabel(i,TD),sw(e,i)):null;var l=zc(o,null,!0);return w(n,r),r=aD(r,a,l),n&&_(r,n),r.legacy=!0,r},visual:function(t,n){if(null==n&&(n=s),Object(g.hasOwn)(YM,t)){var i=e.getItemVisual(n,"style");return i?i[YM[t]]:null}if(Object(g.hasOwn)(XM,t))return e.getItemVisual(n,t)},barLayout:function(t){if("cartesian2d"===o.type){var e=o.getBaseAxis();return function(t){var e=[],n=t.axis;if("category"===n.type){for(var i=n.getBandWidth(),r=0;r<t.count;r++)e.push(Object(g.defaults)({bandWidth:i,axisKey:"axis0",stackId:Pm+r},t));var o=Qm(e),a=[];for(r=0;r<t.count;r++){var s=o.axis0[Pm+r];s.offsetCenter=s.offset+s.width/2,a.push(s)}return a}}(Object(g.defaults)({axis:e},t))}},currentSeriesIndices:function(){return n.getCurrentSeriesIndices()},font:function(t){return Yc(t,n)}},a.api||{}),u={context:{},seriesId:t.id,seriesName:t.name,seriesIndex:t.seriesIndex,coordSys:a.coordSys,dataInsideLength:e.count(),encode:function(t){var e={};return Object(g.each)(t.dimensions,function(n){var i=t.getDimensionInfo(n);if(!i.isExtraCoord){var r=i.coordDim;(e[r]=e[r]||[])[i.coordDimIndex]=t.getDimensionIndex(n)}}),e}(t.getData())},h={},d={},f={},p={},A=0;A<OD.length;A++){var v=OD[A];f[v]=t.getModel(ED[v]),p[v]=t.getModel(ID[v])}function m(t){return t===s?l||(l=e.getItemModel(t)):e.getItemModel(t)}function y(t,n){return e.hasItemOption?t===s?h[n]||(h[n]=m(t).getModel(ED[n])):m(t).getModel(ED[n]):f[n]}function b(t,n){return e.hasItemOption?t===s?d[n]||(d[n]=m(t).getModel(ID[n])):m(t).getModel(ID[n]):p[n]}return function(t,n){return s=t,l=null,h={},d={},r&&r(Object(g.defaults)({dataIndexInside:t,dataIndex:e.getRawIndex(t),actionType:n?n.type:null},u),c)};function _(t,e){for(var n in e)Object(g.hasOwn)(e,n)&&(t[n]=e[n])}function w(t,e){t&&(t.textFill&&(e.textFill=t.textFill),t.textPosition&&(e.textPosition=t.textPosition))}}function zD(t,e,n,i,r,o,a){if(i){var s=$D(t,e,n,i,r,o);return s&&a.setItemGraphicEl(n,s),s&&ws(s,i.focus,i.blurScope,i.emphasisDisabled),s}o.remove(e)}function $D(t,e,n,i,r,o){var a=-1,s=e;e&&GD(e,i,r)&&(a=Object(g.indexOf)(o.childrenRef(),e),e=null);var l,c,u=!e,h=e;h?h.clearStates():(h=UD(i),s&&(l=s,(c=h).copyTransform(l),ND(c)&&ND(l)&&(c.setStyle(l.style),c.z=l.z,c.z2=l.z2,c.zlevel=l.zlevel,c.invisible=l.invisible,c.ignore=l.ignore,PD(c)&&PD(l)&&c.setShape(l.shape)))),!1===i.morph?h.disableMorphing=!0:h.disableMorphing&&(h.disableMorphing=!1),LD.normal.cfg=LD.normal.conOpt=LD.emphasis.cfg=LD.emphasis.conOpt=LD.blur.cfg=LD.blur.conOpt=LD.select.cfg=LD.select.conOpt=null,LD.isLegacy=!1,function(t,e,n,i,r,o){if(t.isGroup)return;WD(n,null,o),WD(n,kD,o);var a=o.normal.conOpt,s=o.emphasis.conOpt,l=o.blur.conOpt,c=o.select.conOpt;if(null!=a||null!=s||null!=c||null!=l){var u=t.getTextContent();if(!1===a)u&&t.removeTextContent();else{a=o.normal.conOpt=a||{type:"text"},u?u.clearStates():(u=UD(a),t.setTextContent(u)),RD(null,u,e,a,null,i,r);for(var h=a&&a.style,d=0;d<OD.length;d++){var f=OD[d];if(f!==TD){var p=o[f].conOpt;QD(f,u,0,YD(a,p,f),null)}}h?u.dirty():u.markRedraw()}}}(h,n,i,r,u,LD),function(t,e,n,i,r){var o=n.clipPath;if(!1===o)t&&t.getClipPath()&&t.removeClipPath();else if(o){var a=t.getClipPath();a&&GD(a,o,i)&&(a=null),a||(a=UD(o),t.setClipPath(a)),RD(null,a,e,o,null,i,r)}}(h,n,i,r,u),RD(t,h,n,i,LD,r,u),Object(g.hasOwn)(i,"info")&&(qM(h).info=i.info);for(var d=0;d<OD.length;d++){var f=OD[d];if(f!==TD){var p=KD(i,f);QD(f,h,0,YD(i,p,f),LD)}}return function(t,e,n){if(!t.isGroup){var i=t,r=n.currentZ,o=n.currentZLevel;i.z=r,i.zlevel=o;var a=e.z2;null!=a&&(i.z2=a||0);for(var s=0;s<OD.length;s++)HD(i,e,OD[s])}}(h,i,r),"group"===i.type&&function(t,e,n,i,r){var o=i.children,a=o?o.length:0,s=i.$mergeChildren,l="byName"===s||i.diffChildrenByName,c=!1===s;if(!a&&!l&&!c)return;if(l)return u={api:t,oldChildren:e.children()||[],newChildren:o||[],dataIndex:n,seriesModel:r,group:e},void new Lv(u.oldChildren,u.newChildren,qD,qD,u).add(ZD).update(ZD).remove(JD).execute();var u;c&&e.removeAll();for(var h=0;h<a;h++){var d=o[h],f=e.childAt(h);d?(null==d.ignore&&(d.ignore=!1),$D(t,f,n,d,r,e)):f.ignore=!0}for(var p=e.childCount()-1;p>=h;p--){var A=e.childAt(p);XD(e,A,r)}}(t,h,n,i,r),a>=0?o.replaceAt(h,a):o.add(h),h}function GD(t,e,n){var i,r=qM(t),o=e.type,a=e.shape,s=e.style;return n.isUniversalTransitionEnabled()||null!=o&&o!==r.customGraphicType||"path"===o&&((i=a)&&(Object(g.hasOwn)(i,"pathData")||Object(g.hasOwn)(i,"d")))&&tL(a)!==r.customPathData||"image"===o&&Object(g.hasOwn)(s,"image")&&s.image!==r.customImagePath}function WD(t,e,n){var i=e?KD(t,e):t,r=e?YD(t,i,kD):t.style,o=t.type,a=i?i.textConfig:null,s=t.textContent,l=s?e?KD(s,e):s:null;if(r&&(n.isLegacy||iD(r,o,!!a,!!l))){n.isLegacy=!0;var c=rD(r,o,!e);!a&&c.textConfig&&(a=c.textConfig),!l&&c.textContent&&(l=c.textContent)}if(!e&&l){var u=l;!u.type&&(u.type="text")}var h=e?n[e]:n.normal;h.cfg=a,h.conOpt=l}function KD(t,e){return e?t?t[e]:null:t}function YD(t,e,n){var i=e&&e.style;return null==i&&n===kD&&t&&(i=t.styleEmphasis),i}function XD(t,e,n){e&&AD(e,qM(t).option,n)}function qD(t,e){var n=t&&t.name;return null!=n?n:DD+e}function ZD(t,e){var n=this.context,i=null!=t?n.newChildren[t]:null,r=null!=e?n.oldChildren[e]:null;$D(n.api,r,n.dataIndex,i,n.seriesModel,n.group)}function JD(t){var e=this.context,n=e.oldChildren[t];n&&AD(n,qM(n).option,e.seriesModel)}function tL(t){return t&&(t.pathData||t.d)}var eL=tr(),nL=g.clone,iL=g.bind;function rL(t,e,n,i){(function t(e,n){if(g.isObject(e)&&g.isObject(n)){var i=!0;return g.each(n,function(n,r){i=i&&t(e[r],n)}),!!i}return e===n})(eL(n).lastProp,i)||(eL(n).lastProp=i,e?ec(n,i,t):(n.stopAnimation(),n.attr(i)))}function oL(t,e){t[e.get(["label","show"])?"show":"hide"]()}function aL(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function sL(t,e,n){var i=e.get("z"),r=e.get("zlevel");t&&t.traverse(function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=r&&(t.zlevel=r),t.silent=n)})}var lL=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(t,e,n,i){var r=e.get("value"),o=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,i||this._lastValue!==r||this._lastStatus!==o){this._lastValue=r,this._lastStatus=o;var a=this._group,s=this._handle;if(!o||"hide"===o)return a&&a.hide(),void(s&&s.hide());a&&a.show(),s&&s.show();var l={};this.makeElOption(l,r,t,e,n);var c=l.graphicKey;c!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=c;var u=this._moveAnimation=this.determineAnimation(t,e);if(a){var h=g.curry(rL,e,u);this.updatePointerEl(a,l,h),this.updateLabelEl(a,l,h,e)}else a=this._group=new ei,this.createPointerEl(a,l,t,e),this.createLabelEl(a,l,t,e),n.getZr().add(a);sL(a,e,!0),this._renderHandle(r)}},t.prototype.remove=function(t){this.clear(t)},t.prototype.dispose=function(t){this.clear(t)},t.prototype.determineAnimation=function(t,e){var n=e.get("animation"),i=t.axis,r="category"===i.type,o=e.get("snap");if(!o&&!r)return!1;if("auto"===n||null==n){var a=this.animationThreshold;if(r&&i.getBandWidth()>a)return!0;if(o){var s=vC(t).seriesDataCount,l=i.getExtent();return Math.abs(l[0]-l[1])/s>a}return!1}return!0===n},t.prototype.makeElOption=function(t,e,n,i,r){},t.prototype.createPointerEl=function(t,e,n,i){var r=e.pointer;if(r){var o=eL(t).pointerEl=new a[r.type](nL(e.pointer));t.add(o)}},t.prototype.createLabelEl=function(t,e,n,i){if(e.label){var r=eL(t).labelEl=new ka(nL(e.label));t.add(r),oL(r,i)}},t.prototype.updatePointerEl=function(t,e,n){var i=eL(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),n(i,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,n,i){var r=eL(t).labelEl;r&&(r.setStyle(e.label.style),n(r,{x:e.label.x,y:e.label.y}),oL(r,i))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,i=this._api.getZr(),r=this._handle,o=n.getModel("handle"),a=n.get("status");if(!o.get("show")||!a||"hide"===a)return r&&i.remove(r),void(this._handle=null);this._handle||(e=!0,r=this._handle=Ic(o.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){ct(t.event)},onmousedown:iL(this._onHandleDragMove,this,0,0),drift:iL(this._onHandleDragMove,this),ondragend:iL(this._onHandleDragEnd,this)}),i.add(r)),sL(r,n,!1),r.setStyle(o.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=o.get("size");g.isArray(s)||(s=[s,s]),r.scaleX=s[0]/2,r.scaleY=s[1]/2,Tp(this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){rL(this._axisPointerModel,!e&&this._moveAnimation,this._handle,aL(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(aL(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(aL(i)),eL(n).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){if(this._dragging=!1,this._handle){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,i=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),i&&e.remove(i),this._group=null,this._handle=null,this._payloadInfo=null),Op(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}},t}();function cL(t){var e,n=t.get("type"),i=t.getModel(n+"Style");return"line"===n?(e=i.getLineStyle()).fill=null:"shadow"===n&&((e=i.getAreaStyle()).stroke=null),e}function uL(t,e,n,i,r){var o=hL(n.get("value"),e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),a=n.getModel("label"),s=eh(a.get("padding")||0),l=a.getFont(),c=Un(o,l),u=r.position,h=c.width+s[1]+s[3],d=c.height+s[0]+s[2],f=r.align;"right"===f&&(u[0]-=h),"center"===f&&(u[0]-=h/2);var p=r.verticalAlign;"bottom"===p&&(u[1]-=d),"middle"===p&&(u[1]-=d/2),function(t,e,n,i){var r=i.getWidth(),o=i.getHeight();t[0]=Math.min(t[0]+e,r)-e,t[1]=Math.min(t[1]+n,o)-n,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}(u,h,d,i);var A=a.get("backgroundColor");A&&"auto"!==A||(A=e.get(["axisLine","lineStyle","color"])),t.label={x:u[0],y:u[1],style:Vc(a,{text:o,font:l,fill:a.getTextColor(),padding:s,backgroundColor:A}),z2:10}}function hL(t,e,n,i,r){t=e.scale.parse(t);var o=e.scale.getLabel({value:t},{precision:r.precision}),a=r.formatter;if(a){var s={value:by(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};g.each(i,function(t){var e=n.getSeriesByIndex(t.seriesIndex),i=t.dataIndexInside,r=e&&e.getDataParams(i);r&&s.seriesData.push(r)}),g.isString(a)?o=a.replace("{value}",o):g.isFunction(a)&&(o=a(s))}return o}function dL(t,e,n){var i=[1,0,0,1,0,0];return yt(i,i,n.rotation),mt(i,i,n.position),Sc([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}function fL(t,e,n,i,r,o){var a=pC.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get(["label","margin"]),uL(e,i,r,o,{position:dL(i.axis,t,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function pL(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}}function AL(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}function gL(t,e,n,i,r,o){return{cx:t,cy:e,r0:n,r:i,startAngle:r,endAngle:o,clockwise:!0}}var vL=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return p(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.grid,s=i.get("type"),l=mL(a,o).getOtherAxis(o).getGlobalExtent(),c=o.toGlobalCoord(o.dataToCoord(e,!0));if(s&&"none"!==s){var u=cL(i),h=yL[s](o,c,l);h.style=u,t.graphicKey=h.type,t.pointer=h}fL(e,t,Zx(a.model,n),n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=Zx(e.axis.grid.model,e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=dL(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.grid,a=r.getGlobalExtent(!0),s=mL(o,r).getOtherAxis(r).getGlobalExtent(),l="x"===r.dim?0:1,c=[t.x,t.y];c[l]+=e[l],c[l]=Math.min(a[1],c[l]),c[l]=Math.max(a[0],c[l]);var u=(s[1]+s[0])/2,h=[u,u];h[l]=c[l];return{x:c[0],y:c[1],rotation:t.rotation,cursorPoint:h,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][l]}},e}(lL);function mL(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var yL={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:pL([e,n[0]],[e,n[1]],bL(t))}},shadow:function(t,e,n){var i=Math.max(1,t.getBandWidth()),r=n[1]-n[0];return{type:"Rect",shape:AL([e-i/2,n[0]],[i,r],bL(t))}}};function bL(t){return"x"===t.dim?0:1}var _L=vL,wL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.type="axisPointer",e.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},e}(Ch),xL=tr(),CL=g.each;function SL(t,e,n){if(!A.a.node){var i=e.getZr();xL(i).records||(xL(i).records={}),function(t,e){if(xL(t).initialized)return;function n(n,i){t.on(n,function(n){var r=function(t){var e={showTip:[],hideTip:[]},n=function(i){var r=e[i.type];r?r.push(i):(i.dispatchAction=n,t.dispatchAction(i))};return{dispatchAction:n,pendings:e}}(e);CL(xL(t).records,function(t){t&&i(t,n,r.dispatchAction)}),function(t,e){var n,i=t.showTip.length,r=t.hideTip.length;i?n=t.showTip[i-1]:r&&(n=t.hideTip[r-1]);n&&(n.dispatchAction=null,e.dispatchAction(n))}(r.pendings,e)})}xL(t).initialized=!0,n("click",g.curry(kL,"click")),n("mousemove",g.curry(kL,"mousemove")),n("globalout",BL)}(i,e),(xL(i).records[t]||(xL(i).records[t]={})).handler=n}}function BL(t,e,n){t.handler("leave",null,n)}function kL(t,e,n,i){e.handler(t,n,i)}function TL(t,e){if(!A.a.node){var n=e.getZr();(xL(n).records||{})[t]&&(xL(n).records[t]=null)}}var OL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.render=function(t,e,n){var i=e.getComponent("tooltip"),r=t.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";SL("axisPointer",n,function(t,e,n){"none"!==r&&("leave"===t||r.indexOf(t)>=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})})},e.prototype.remove=function(t,e){TL("axisPointer",e)},e.prototype.dispose=function(t,e){TL("axisPointer",e)},e.type="axisPointer",e}(fp);function EL(t,e){var n,i=[],r=t.seriesIndex;if(null==r||!(n=e.getSeriesByIndex(r)))return{point:[]};var o=n.getData(),a=Ji(o,t);if(null==a||a<0||g.isArray(a))return{point:[]};var s=o.getItemGraphicEl(a),l=n.coordinateSystem;if(n.getTooltipPosition)i=n.getTooltipPosition(a)||[];else if(l&&l.dataToPoint)if(t.isStacked){var c=l.getBaseAxis(),u=l.getOtherAxis(c).dim,h=c.dim,d="x"===u||"radius"===u?1:0,f=o.mapDimension(h),p=[];p[d]=o.get(f,a),p[1-d]=o.get(o.getCalculationInfo("stackResultDimension"),a),i=l.dataToPoint(p)||[]}else i=l.dataToPoint(o.getValues(g.map(l.dimensions,function(t){return o.mapDimension(t)}),a))||[];else if(s){var A=s.getBoundingRect().clone();A.applyTransform(s.transform),i=[A.x+A.width/2,A.y+A.height/2]}return{point:i,el:s}}var IL=tr();function ML(t,e,n){var i=t.currTrigger,r=[t.x,t.y],o=t,a=t.dispatchAction||Object(g.bind)(n.dispatchAction,n),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){NL(r)&&(r=EL({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},e).point);var l=NL(r),c=o.axesInfo,u=s.axesInfo,h="leave"===i||NL(r),d={},f={},p={list:[],map:{}},A={showPointer:Object(g.curry)(LL,f),showTooltip:Object(g.curry)(FL,p)};Object(g.each)(s.coordSysMap,function(t,e){var n=l||t.containPoint(r);Object(g.each)(s.coordSysAxesInfo[e],function(t,e){var i=t.axis,o=function(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}(c,t);if(!h&&n&&(!c||o)){var a=o&&o.value;null!=a||l||(a=i.pointToData(r)),null!=a&&DL(t,a,A,!1,d)}})});var v={};return Object(g.each)(u,function(t,e){var n=t.linkGroup;n&&!f[e]&&Object(g.each)(n.axesInfo,function(e,i){var r=f[i];if(e!==t&&r){var o=r.value;n.mapper&&(o=t.axis.scale.parse(n.mapper(o,PL(e),PL(t)))),v[t.key]=o}})}),Object(g.each)(v,function(t,e){DL(u[e],t,A,!0,d)}),function(t,e,n){var i=n.axesInfo=[];Object(g.each)(e,function(e,n){var r=e.axisPointerModel.option,o=t[n];o?(!e.useHandle&&(r.status="show"),r.value=o.value,r.seriesDataIndices=(o.payloadBatch||[]).slice()):!e.useHandle&&(r.status="hide"),"show"===r.status&&i.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:r.value})})}(f,u,d),function(t,e,n,i){if(NL(e)||!t.list.length)return void i({type:"hideTip"});var r=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};i({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:t.list})}(p,r,t,a),function(t,e,n){var i=n.getZr(),r=IL(i).axisPointerLastHighlights||{},o=IL(i).axisPointerLastHighlights={};Object(g.each)(t,function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&Object(g.each)(n.seriesDataIndices,function(t){var e=t.seriesIndex+" | "+t.dataIndex;o[e]=t})});var a=[],s=[];Object(g.each)(r,function(t,e){!o[e]&&s.push(t)}),Object(g.each)(o,function(t,e){!r[e]&&a.push(t)}),s.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:s}),a.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:a})}(u,0,n),d}}function DL(t,e,n,i,r){var o=t.axis;if(!o.scale.isBlank()&&o.containData(e))if(t.involveSeries){var a=function(t,e){var n=e.axis,i=n.dim,r=t,o=[],a=Number.MAX_VALUE,s=-1;return Object(g.each)(e.seriesModels,function(e,l){var c,u,h=e.getData().mapDimensionsAll(i);if(e.getAxisTooltipData){var d=e.getAxisTooltipData(h,t,n);u=d.dataIndices,c=d.nestestValue}else{if(!(u=e.getData().indicesOfNearest(h[0],t,"category"===n.type?.5:null)).length)return;c=e.getData().get(h[0],u[0])}if(null!=c&&isFinite(c)){var f=t-c,p=Math.abs(f);p<=a&&((p<a||f>=0&&s<0)&&(a=p,s=f,r=c,o.length=0),Object(g.each)(u,function(t){o.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})}))}}),{payloadBatch:o,snapToValue:r}}(e,t),s=a.payloadBatch,l=a.snapToValue;s[0]&&null==r.seriesIndex&&Object(g.extend)(r,s[0]),!i&&t.snap&&o.containData(l)&&null!=l&&(e=l),n.showPointer(t,e,s),n.showTooltip(t,a,l)}else n.showPointer(t,e)}function LL(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function FL(t,e,n,i){var r=n.payloadBatch,o=e.axis,a=o.model,s=e.axisPointerModel;if(e.triggerTooltip&&r.length){var l=e.coordSys.model,c=yC(l),u=t.map[c];u||(u=t.map[c]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(u)),u.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:i,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:r.slice()})}}function PL(t){var e=t.axis.model,n={},i=n.axisDim=t.axis.dim;return n.axisIndex=n[i+"AxisIndex"]=e.componentIndex,n.axisName=n[i+"AxisName"]=e.name,n.axisId=n[i+"AxisId"]=e.id,n}function NL(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function jL(t){_C.registerAxisPointerClass("CartesianAxisPointer",_L),t.registerComponentModel(wL),t.registerComponentView(OL),t.registerPreprocessor(function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!Object(g.isArray)(e)&&(t.axisPointer.link=[e])}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=AC(t,e)}),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},ML)}var UL=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return p(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis;"angle"===o.dim&&(this.animationThreshold=Math.PI/18);var a=o.polar,s=a.getOtherAxis(o).getExtent(),l=o.dataToCoord(e),c=i.get("type");if(c&&"none"!==c){var u=cL(i),h=RL[c](o,a,l,s);h.style=u,t.graphicKey=h.type,t.pointer=h}uL(t,n,i,r,function(t,e,n,i,r){var o=e.axis,a=o.dataToCoord(t),s=i.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var l,c,u,h=i.getRadiusAxis().getExtent();if("radius"===o.dim){var d=[1,0,0,1,0,0];yt(d,d,s),mt(d,d,[i.cx,i.cy]),l=Sc([a,-r],d);var f=e.getModel("axisLabel").get("rotate")||0,p=pC.innerTextLayout(s,f*Math.PI/180,-1);c=p.textAlign,u=p.textVerticalAlign}else{var A=h[1];l=i.coordToPoint([A+r,a]);var g=i.cx,v=i.cy;c=Math.abs(l[0]-g)/A<.3?"center":l[0]>g?"left":"right",u=Math.abs(l[1]-v)/A<.3?"middle":l[1]>v?"top":"bottom"}return{position:l,align:c,verticalAlign:u}}(e,n,0,a,i.get(["label","margin"])))},e}(lL);var RL={line:function(t,e,n,i){return"angle"===t.dim?{type:"Line",shape:pL(e.coordToPoint([i[0],n]),e.coordToPoint([i[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,i){var r=Math.max(1,t.getBandWidth()),o=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:gL(e.cx,e.cy,i[0],i[1],(-n-r/2)*o,(r/2-n)*o)}:{type:"Sector",shape:gL(e.cx,e.cy,n-r/2,n+r/2,0,2*Math.PI)}}},QL=UL,HL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.findAxisModel=function(t){var e;return this.ecModel.eachComponent(t,function(t){t.getCoordSysModel()===this&&(e=t)},this),e},e.type="polar",e.dependencies=["radiusAxis","angleAxis"],e.defaultOption={z:0,center:["50%","50%"],radius:"80%"},e}(Ch),VL=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return p(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",rr).models[0]},e.type="polarAxis",e}(Ch);g.mixin(VL,Cy);var zL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.type="angleAxis",e}(VL),$L=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.type="radiusAxis",e}(VL),GL=function(t){function e(e,n){return t.call(this,"radius",e,n)||this}return p(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e}(eb);GL.prototype.dataToRadius=eb.prototype.dataToCoord,GL.prototype.radiusToData=eb.prototype.coordToData;var WL=GL,KL=tr(),YL=function(t){function e(e,n){return t.call(this,"angle",e,n||[0,360])||this}return p(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e.prototype.calculateCategoryInterval=function(){var t=this.getLabelModel(),e=this.scale,n=e.getExtent(),i=e.count();if(n[1]-n[0]<1)return 0;var r=n[0],o=this.dataToCoord(r+1)-this.dataToCoord(r),a=Math.abs(o),s=Un(null==r?"":r+"",t.getFont(),"center","top"),l=Math.max(s.height,7)/a;isNaN(l)&&(l=1/0);var c=Math.max(0,Math.floor(l)),u=KL(this.model),h=u.lastAutoInterval,d=u.lastTickCount;return null!=h&&null!=d&&Math.abs(h-c)<=1&&Math.abs(d-i)<=1&&h>c?c=h:(u.lastTickCount=i,u.lastAutoInterval=c),c},e}(eb);YL.prototype.dataToAngle=eb.prototype.dataToCoord,YL.prototype.angleToData=eb.prototype.coordToData;var XL=YL,qL=["radius","angle"];function ZL(t){var e=t.seriesModel,n=t.polarModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}var JL=function(){function t(t){this.dimensions=qL,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new WL,this._angleAxis=new XL,this.axisPointerEnabled=!0,this.name=t||"",this._radiusAxis.polar=this._angleAxis.polar=this}return t.prototype.containPoint=function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},t.prototype.containData=function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},t.prototype.getAxis=function(t){return this["_"+t+"Axis"]},t.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},t.prototype.getAxesByScale=function(t){var e=[],n=this._angleAxis,i=this._radiusAxis;return n.scale.type===t&&e.push(n),i.scale.type===t&&e.push(i),e},t.prototype.getAngleAxis=function(){return this._angleAxis},t.prototype.getRadiusAxis=function(){return this._radiusAxis},t.prototype.getOtherAxis=function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},t.prototype.getTooltipAxes=function(t){var e=null!=t&&"auto"!==t?this.getAxis(t):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},t.prototype.dataToPoint=function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},t.prototype.pointToData=function(t,e){var n=this.pointToCoord(t);return[this._radiusAxis.radiusToData(n[0],e),this._angleAxis.angleToData(n[1],e)]},t.prototype.pointToCoord=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=this.getAngleAxis(),r=i.getExtent(),o=Math.min(r[0],r[1]),a=Math.max(r[0],r[1]);i.inverse?o=a-360:a=o+360;var s=Math.sqrt(e*e+n*n);e/=s,n/=s;for(var l=Math.atan2(-n,e)/Math.PI*180,c=l<o?1:-1;l<o||l>a;)l+=360*c;return[s,l]},t.prototype.coordToPoint=function(t){var e=t[0],n=t[1]/180*Math.PI;return[Math.cos(n)*e+this.cx,-Math.sin(n)*e+this.cy]},t.prototype.getArea=function(){var t=this.getAngleAxis(),e=this.getRadiusAxis().getExtent().slice();e[0]>e[1]&&e.reverse();var n=t.getExtent(),i=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:e[0],r:e[1],startAngle:-n[0]*i,endAngle:-n[1]*i,clockwise:t.inverse,contain:function(t,e){var n=t-this.cx,i=e-this.cy,r=n*n+i*i-1e-4,o=this.r,a=this.r0;return r<=o*o&&r>=a*a}}},t.prototype.convertToPixel=function(t,e,n){return ZL(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return ZL(e)===this?this.pointToData(n):null},t}();function tF(t,e){var n=this,i=n.getAngleAxis(),r=n.getRadiusAxis();if(i.scale.setExtent(1/0,-1/0),r.scale.setExtent(1/0,-1/0),t.eachSeries(function(t){if(t.coordinateSystem===n){var e=t.getData();g.each(xy(e,"radius"),function(t){r.scale.unionExtentFromData(e,t)}),g.each(xy(e,"angle"),function(t){i.scale.unionExtentFromData(e,t)})}}),vy(i.scale,i.model),vy(r.scale,r.model),"category"===i.type&&!i.onBand){var o=i.getExtent(),a=360/i.scale.count();i.inverse?o[1]+=a:o[1]-=a,i.setExtent(o[0],o[1])}}function eF(t,e){if(t.type=e.get("type"),t.scale=my(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),function(t){return"angleAxis"===t.mainType}(e)){t.inverse=t.inverse!==e.get("clockwise");var n=e.get("startAngle");t.setExtent(n,n+(t.inverse?-360:360))}e.axis=t,t.model=e}var nF={dimensions:qL,create:function(t,e){var n=[];return t.eachComponent("polar",function(t,i){var r=new JL(i+"");r.update=tF;var o=r.getRadiusAxis(),a=r.getAngleAxis(),s=t.findAxisModel("radiusAxis"),l=t.findAxisModel("angleAxis");eF(o,s),eF(a,l),function(t,e,n){var i=e.get("center"),r=n.getWidth(),o=n.getHeight();t.cx=pi(i[0],r),t.cy=pi(i[1],o);var a=t.getRadiusAxis(),s=Math.min(r,o)/2,l=e.get("radius");null==l?l=[0,"100%"]:g.isArray(l)||(l=[0,l]);var c=[pi(l[0],s),pi(l[1],s)];a.inverse?a.setExtent(c[1],c[0]):a.setExtent(c[0],c[1])}(r,t,e),n.push(r),t.coordinateSystem=r,r.model=t}),t.eachSeries(function(t){if("polar"===t.get("coordinateSystem")){var e=t.getReferringComponents("polar",rr).models[0];0,t.coordinateSystem=e.coordinateSystem}}),n}},iF=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function rF(t,e,n){e[1]>e[0]&&(e=e.slice().reverse());var i=t.coordToPoint([e[0],n]),r=t.coordToPoint([e[1],n]);return{x1:i[0],y1:i[1],x2:r[0],y2:r[1]}}function oF(t){return t.getRadiusAxis().inverse?0:1}function aF(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coord-n.coord)-360)<1e-4&&t.pop()}var sF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="PolarAxisPointer",n}return p(e,t),e.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var n=t.axis,i=n.polar,r=i.getRadiusAxis().getExtent(),o=n.getTicksCoords(),a=n.getMinorTicksCoords(),s=g.map(n.getViewLabels(),function(t){t=g.clone(t);var e=n.scale,i="ordinal"===e.type?e.getRawOrdinalNumber(t.tickValue):t.tickValue;return t.coord=n.dataToCoord(i),t});aF(s),aF(o),g.each(iF,function(e){!t.get([e,"show"])||n.scale.isBlank()&&"axisLine"!==e||lF[e](this.group,t,i,o,a,r,s)},this)}},e.type="angleAxis",e}(_C),lF={axisLine:function(t,e,n,i,r,o){var a,s=e.getModel(["axisLine","lineStyle"]),l=oF(n),c=l?0:1;(a=0===o[c]?new Js({shape:{cx:n.cx,cy:n.cy,r:o[l]},style:s.getLineStyle(),z2:1,silent:!0}):new _l({shape:{cx:n.cx,cy:n.cy,r:o[l],r0:o[c]},style:s.getLineStyle(),z2:1,silent:!0})).style.fill=null,t.add(a)},axisTick:function(t,e,n,i,r,o){var a=e.getModel("axisTick"),s=(a.get("inside")?-1:1)*a.get("length"),l=o[oF(n)],c=g.map(i,function(t){return new Ml({shape:rF(n,[l,l+s],t.coord)})});t.add(yc(c,{style:g.defaults(a.getModel("lineStyle").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(t,e,n,i,r,o){if(r.length){for(var a=e.getModel("axisTick"),s=e.getModel("minorTick"),l=(a.get("inside")?-1:1)*s.get("length"),c=o[oF(n)],u=[],h=0;h<r.length;h++)for(var d=0;d<r[h].length;d++)u.push(new Ml({shape:rF(n,[c,c+l],r[h][d].coord)}));t.add(yc(u,{style:g.defaults(s.getModel("lineStyle").getLineStyle(),g.defaults(a.getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])}))}))}},axisLabel:function(t,e,n,i,r,o,a){var s=e.getCategories(!0),l=e.getModel("axisLabel"),c=l.get("margin"),u=e.get("triggerEvent");g.each(a,function(i,r){var a=l,h=i.tickValue,d=o[oF(n)],f=n.coordToPoint([d+c,i.coord]),p=n.cx,A=n.cy,v=Math.abs(f[0]-p)/d<.3?"center":f[0]>p?"left":"right",m=Math.abs(f[1]-A)/d<.3?"middle":f[1]>A?"top":"bottom";if(s&&s[h]){var y=s[h];g.isObject(y)&&y.textStyle&&(a=new du(y.textStyle,l,l.ecModel))}var b=new ka({silent:pC.isLabelSilent(e),style:Vc(a,{x:f[0],y:f[1],fill:a.getTextColor()||e.get(["axisLine","lineStyle","color"]),text:i.formattedLabel,align:v,verticalAlign:m})});if(t.add(b),u){var _=pC.makeAxisEventDataBase(e);_.targetType="axisLabel",_.value=i.rawLabel,Ta(b).eventData=_}},this)},splitLine:function(t,e,n,i,r,o){var a=e.getModel("splitLine").getModel("lineStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var c=[],u=0;u<i.length;u++){var h=l++%s.length;c[h]=c[h]||[],c[h].push(new Ml({shape:rF(n,o,i[u].coord)}))}for(u=0;u<c.length;u++)t.add(yc(c[u],{style:g.defaults({stroke:s[u%s.length]},a.getLineStyle()),silent:!0,z:e.get("z")}))},minorSplitLine:function(t,e,n,i,r,o){if(r.length){for(var a=e.getModel("minorSplitLine").getModel("lineStyle"),s=[],l=0;l<r.length;l++)for(var c=0;c<r[l].length;c++)s.push(new Ml({shape:rF(n,o,r[l][c].coord)}));t.add(yc(s,{style:a.getLineStyle(),silent:!0,z:e.get("z")}))}},splitArea:function(t,e,n,i,r,o){if(i.length){var a=e.getModel("splitArea").getModel("areaStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var c=[],u=Math.PI/180,h=-i[0].coord*u,d=Math.min(o[0],o[1]),f=Math.max(o[0],o[1]),p=e.get("clockwise"),A=1,v=i.length;A<=v;A++){var m=A===v?i[0].coord:i[A].coord,y=l++%s.length;c[y]=c[y]||[],c[y].push(new ml({shape:{cx:n.cx,cy:n.cy,r0:d,r:f,startAngle:h,endAngle:-m*u,clockwise:p},silent:!0})),h=-m*u}for(A=0;A<c.length;A++)t.add(yc(c[A],{style:g.defaults({fill:s[A%s.length]},a.getAreaStyle()),silent:!0}))}}},cF=sF,uF=["axisLine","axisTickLabel","axisName"],hF=["splitLine","splitArea","minorSplitLine"],dF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="PolarAxisPointer",n}return p(e,t),e.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var n=this._axisGroup,i=this._axisGroup=new ei;this.group.add(i);var r=t.axis,o=r.polar,a=o.getAngleAxis(),s=r.getTicksCoords(),l=r.getMinorTicksCoords(),c=a.getExtent()[0],u=r.getExtent(),h=function(t,e,n){return{position:[t.cx,t.cy],rotation:n/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:e.getModel("axisLabel").get("rotate"),z2:1}}(o,t,c),d=new pC(t,h);g.each(uF,d.add,d),i.add(d.getGroup()),Tc(n,i,t),g.each(hF,function(e){t.get([e,"show"])&&!r.scale.isBlank()&&fF[e](this.group,t,o,c,u,s,l)},this)}},e.type="radiusAxis",e}(_C),fF={splitLine:function(t,e,n,i,r,o){var a=e.getModel("splitLine").getModel("lineStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var c=[],u=0;u<o.length;u++){var h=l++%s.length;c[h]=c[h]||[],c[h].push(new Js({shape:{cx:n.cx,cy:n.cy,r:Math.max(o[u].coord,0)}}))}for(u=0;u<c.length;u++)t.add(yc(c[u],{style:g.defaults({stroke:s[u%s.length],fill:null},a.getLineStyle()),silent:!0}))},minorSplitLine:function(t,e,n,i,r,o,a){if(a.length){for(var s=e.getModel("minorSplitLine").getModel("lineStyle"),l=[],c=0;c<a.length;c++)for(var u=0;u<a[c].length;u++)l.push(new Js({shape:{cx:n.cx,cy:n.cy,r:a[c][u].coord}}));t.add(yc(l,{style:g.defaults({fill:null},s.getLineStyle()),silent:!0}))}},splitArea:function(t,e,n,i,r,o){if(o.length){var a=e.getModel("splitArea").getModel("areaStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var c=[],u=o[0].coord,h=1;h<o.length;h++){var d=l++%s.length;c[d]=c[d]||[],c[d].push(new ml({shape:{cx:n.cx,cy:n.cy,r0:u,r:o[h].coord,startAngle:0,endAngle:2*Math.PI},silent:!0})),u=o[h].coord}for(h=0;h<c.length;h++)t.add(yc(c[h],{style:g.defaults({fill:s[h%s.length]},a.getAreaStyle()),silent:!0}))}}};var pF=dF;function AF(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function gF(t,e){return e.dim+t.model.componentIndex}var vF=function(t,e,n){var i={},r=function(t){var e={};g.each(t,function(t,n){var i=t.getData(),r=t.coordinateSystem,o=r.getBaseAxis(),a=gF(r,o),s=o.getExtent(),l="category"===o.type?o.getBandWidth():Math.abs(s[1]-s[0])/i.count(),c=e[a]||{bandWidth:l,remainedWidth:l,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},u=c.stacks;e[a]=c;var h=AF(t);u[h]||c.autoWidthCount++,u[h]=u[h]||{width:0,maxWidth:0};var d=pi(t.get("barWidth"),l),f=pi(t.get("barMaxWidth"),l),p=t.get("barGap"),A=t.get("barCategoryGap");d&&!u[h].width&&(d=Math.min(c.remainedWidth,d),u[h].width=d,c.remainedWidth-=d),f&&(u[h].maxWidth=f),null!=p&&(c.gap=p),null!=A&&(c.categoryGap=A)});var n={};return g.each(e,function(t,e){n[e]={};var i=t.stacks,r=t.bandWidth,o=pi(t.categoryGap,r),a=pi(t.gap,1),s=t.remainedWidth,l=t.autoWidthCount,c=(s-o)/(l+(l-1)*a);c=Math.max(c,0),g.each(i,function(t,e){var n=t.maxWidth;n&&n<c&&(n=Math.min(n,s),t.width&&(n=Math.min(n,t.width)),s-=n,t.width=n,l--)}),c=(s-o)/(l+(l-1)*a),c=Math.max(c,0);var u,h=0;g.each(i,function(t,e){t.width||(t.width=c),u=t,h+=t.width*(1+a)}),u&&(h-=u.width*a);var d=-h/2;g.each(i,function(t,i){n[e][i]=n[e][i]||{offset:d,width:t.width},d+=t.width*(1+a)})}),n}(g.filter(e.getSeriesByType(t),function(t){return!e.isSeriesFiltered(t)&&t.coordinateSystem&&"polar"===t.coordinateSystem.type}));e.eachSeriesByType(t,function(t){if("polar"===t.coordinateSystem.type){var e=t.getData(),n=t.coordinateSystem,o=n.getBaseAxis(),a=gF(n,o),s=AF(t),l=r[a][s],c=l.offset,u=l.width,h=n.getOtherAxis(o),d=t.coordinateSystem.cx,f=t.coordinateSystem.cy,p=t.get("barMinHeight")||0,A=t.get("barMinAngle")||0;i[s]=i[s]||[];for(var g=e.mapDimension(h.dim),v=e.mapDimension(o.dim),m=dm(e,g),y="radius"!==o.dim||!t.get("roundCap",!0),b=h.dataToCoord(0),_=0,w=e.count();_<w;_++){var x=e.get(g,_),C=e.get(v,_),S=x>=0?"p":"n",B=b;m&&(i[s][C]||(i[s][C]={p:b,n:b}),B=i[s][C][S]);var k=void 0,T=void 0,O=void 0,E=void 0;if("radius"===h.dim){var I=h.dataToCoord(x)-b,M=o.dataToCoord(C);Math.abs(I)<p&&(I=(I<0?-1:1)*p),k=B,T=B+I,E=(O=M-c)-u,m&&(i[s][C][S]=T)}else{var D=h.dataToCoord(x,y)-b,L=o.dataToCoord(C);Math.abs(D)<A&&(D=(D<0?-1:1)*A),T=(k=L+c)+u,O=B,E=B+D,m&&(i[s][C][S]=E)}e.setItemLayout(_,{cx:d,cy:f,r0:k,r:T,startAngle:-O*Math.PI/180,endAngle:-E*Math.PI/180,clockwise:O>=E})}}})},mF={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},yF={splitNumber:5},bF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.type="polar",e}(fp);function _F(t,e){e=e||{};var n=t.coordinateSystem,i=t.axis,r={},o=i.position,a=i.orient,s=n.getRect(),l=[s.x,s.x+s.width,s.y,s.y+s.height],c={horizontal:{top:l[2],bottom:l[3]},vertical:{left:l[0],right:l[1]}};r.position=["vertical"===a?c.vertical[o]:l[0],"horizontal"===a?c.horizontal[o]:l[3]];r.rotation=Math.PI/2*{horizontal:0,vertical:1}[a];r.labelDirection=r.tickDirection=r.nameDirection={top:-1,bottom:1,right:1,left:-1}[o],t.get(["axisTick","inside"])&&(r.tickDirection=-r.tickDirection),g.retrieve(e.labelInside,t.get(["axisLabel","inside"]))&&(r.labelDirection=-r.labelDirection);var u=e.rotate;return null==u&&(u=t.get(["axisLabel","rotate"])),r.labelRotation="top"===o?-u:u,r.z2=1,r}var wF=["axisLine","axisTickLabel","axisName"],xF=["splitArea","splitLine"],CF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="SingleAxisPointer",n}return p(e,t),e.prototype.render=function(e,n,i,r){var o=this.group;o.removeAll();var a=this._axisGroup;this._axisGroup=new ei;var s=_F(e),l=new pC(e,s);g.each(wF,l.add,l),o.add(this._axisGroup),o.add(l.getGroup()),g.each(xF,function(t){e.get([t,"show"])&&SF[t](this,this.group,this._axisGroup,e)},this),Tc(a,this._axisGroup,e),t.prototype.render.call(this,e,n,i,r)},e.prototype.remove=function(){CC(this)},e.type="singleAxis",e}(_C),SF={splitLine:function(t,e,n,i){var r=i.axis;if(!r.scale.isBlank()){var o=i.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color");s=s instanceof Array?s:[s];for(var l=a.get("width"),c=i.coordinateSystem.getRect(),u=r.isHorizontal(),h=[],d=0,f=r.getTicksCoords({tickModel:o}),p=[],A=[],v=0;v<f.length;++v){var m=r.toGlobalCoord(f[v].coord);u?(p[0]=m,p[1]=c.y,A[0]=m,A[1]=c.y+c.height):(p[0]=c.x,p[1]=m,A[0]=c.x+c.width,A[1]=m);var y=new Ml({shape:{x1:p[0],y1:p[1],x2:A[0],y2:A[1]},silent:!0});_c(y.shape,l);var b=d++%s.length;h[b]=h[b]||[],h[b].push(y)}var _=a.getLineStyle(["color"]);for(v=0;v<h.length;++v)e.add(yc(h[v],{style:g.defaults({stroke:s[v%s.length]},_),silent:!0}))}},splitArea:function(t,e,n,i){xC(t,n,i,i)}},BF=CF,kF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.getCoordSysModel=function(){return this},e.type="singleAxis",e.layoutMode="box",e.defaultOption={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}},e}(Ch);Object(g.mixin)(kF,Cy.prototype);var TF=kF,OF=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.type=r||"value",a.position=o||"bottom",a}return p(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.pointToData=function(t,e){return this.coordinateSystem.pointToData(t)[0]},e}(eb),EF=["single"];function IF(t){var e=t.seriesModel,n=t.singleAxisModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}var MF=function(){function t(t,e,n){this.type="single",this.dimension="single",this.dimensions=EF,this.axisPointerEnabled=!0,this.model=t,this._init(t,e,n)}return t.prototype._init=function(t,e,n){var i=this.dimension,r=new OF(i,my(t),[0,0],t.get("type"),t.get("position")),o="category"===r.type;r.onBand=o&&t.get("boundaryGap"),r.inverse=t.get("inverse"),r.orient=t.get("orient"),t.axis=r,r.model=t,r.coordinateSystem=this,this._axis=r},t.prototype.update=function(t,e){t.eachSeries(function(t){if(t.coordinateSystem===this){var e=t.getData();Object(g.each)(e.mapDimensionsAll(this.dimension),function(t){this._axis.scale.unionExtentFromData(e,t)},this),vy(this._axis.scale,this._axis.model)}},this)},t.prototype.resize=function(t,e){this._rect=gh({left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")},{width:e.getWidth(),height:e.getHeight()}),this._adjustAxis()},t.prototype.getRect=function(){return this._rect},t.prototype._adjustAxis=function(){var t=this._rect,e=this._axis,n=e.isHorizontal(),i=n?[0,t.width]:[0,t.height],r=e.inverse?1:0;e.setExtent(i[r],i[1-r]),this._updateAxisTransform(e,n?t.x:t.y)},t.prototype._updateAxisTransform=function(t,e){var n=t.getExtent(),i=n[0]+n[1],r=t.isHorizontal();t.toGlobalCoord=r?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord=r?function(t){return t-e}:function(t){return i-t+e}},t.prototype.getAxis=function(){return this._axis},t.prototype.getBaseAxis=function(){return this._axis},t.prototype.getAxes=function(){return[this._axis]},t.prototype.getTooltipAxes=function(){return{baseAxes:[this.getAxis()],otherAxes:[]}},t.prototype.containPoint=function(t){var e=this.getRect(),n=this.getAxis();return"horizontal"===n.orient?n.contain(n.toLocalCoord(t[0]))&&t[1]>=e.y&&t[1]<=e.y+e.height:n.contain(n.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},t.prototype.pointToData=function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},t.prototype.dataToPoint=function(t){var e=this.getAxis(),n=this.getRect(),i=[],r="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),i[r]=e.toGlobalCoord(e.dataToCoord(+t)),i[1-r]=0===r?n.y+n.height/2:n.x+n.width/2,i},t.prototype.convertToPixel=function(t,e,n){return IF(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return IF(e)===this?this.pointToData(n):null},t}();var DF={create:function(t,e){var n=[];return t.eachComponent("singleAxis",function(i,r){var o=new MF(i,t,e);o.name="single_"+r,o.resize(i,e),i.coordinateSystem=o,n.push(o)}),t.eachSeries(function(t){if("singleAxis"===t.get("coordinateSystem")){var e=t.getReferringComponents("singleAxis",rr).models[0];t.coordinateSystem=e&&e.coordinateSystem}}),n},dimensions:EF},LF=["x","y"],FF=["width","height"],PF=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return p(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.coordinateSystem,s=UF(a,1-jF(o)),l=a.dataToPoint(e)[0],c=i.get("type");if(c&&"none"!==c){var u=cL(i),h=NF[c](o,l,s);h.style=u,t.graphicKey=h.type,t.pointer=h}fL(e,t,_F(n),n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=_F(e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=dL(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.coordinateSystem,a=jF(r),s=UF(o,a),l=[t.x,t.y];l[a]+=e[a],l[a]=Math.min(s[1],l[a]),l[a]=Math.max(s[0],l[a]);var c=UF(o,1-a),u=(c[1]+c[0])/2,h=[u,u];return h[a]=l[a],{x:l[0],y:l[1],rotation:t.rotation,cursorPoint:h,tooltipOption:{verticalAlign:"middle"}}},e}(lL),NF={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:pL([e,n[0]],[e,n[1]],jF(t))}},shadow:function(t,e,n){var i=t.getBandWidth(),r=n[1]-n[0];return{type:"Rect",shape:AL([e-i/2,n[0]],[i,r],jF(t))}}};function jF(t){return t.isHorizontal()?0:1}function UF(t,e){var n=t.getRect();return[n[LF[e]],n[LF[e]]+n[FF[e]]]}var RF=PF,QF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.type="single",e}(fp);function HF(t,e){var n,i=t.cellSize;1===(n=g.isArray(i)?i:t.cellSize=[i,i]).length&&(n[1]=n[0]);var r=g.map([0,1],function(t){return function(t,e){return null!=t[fh[e][0]]||null!=t[fh[e][1]]&&null!=t[fh[e][2]]}(e,t)&&(n[t]="auto"),null!=n[t]&&"auto"!==n[t]});yh(t,e,{type:"box",ignoreSize:r})}var VF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.init=function(e,n,i){var r=bh(e);t.prototype.init.apply(this,arguments),HF(e,r)},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),HF(this.option,e)},e.prototype.getCellSize=function(){return this.option.cellSize},e.type="calendar",e.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},e}(Ch),zF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.render=function(t,e,n){var i=this.group;i.removeAll();var r=t.coordinateSystem,o=r.getRangeInfo(),a=r.getOrient(),s=e.getLocaleModel();this._renderDayRect(t,o,i),this._renderLines(t,o,a,i),this._renderYearText(t,o,a,i),this._renderMonthText(t,s,a,i),this._renderWeekText(t,s,o,a,i)},e.prototype._renderDayRect=function(t,e,n){for(var i=t.coordinateSystem,r=t.getModel("itemStyle").getItemStyle(),o=i.getCellWidth(),a=i.getCellHeight(),s=e.start.time;s<=e.end.time;s=i.getNextNDay(s,1).time){var l=i.dataToRect([s],!1).tl,c=new ha({shape:{x:l[0],y:l[1],width:o,height:a},cursor:"default",style:r});n.add(c)}},e.prototype._renderLines=function(t,e,n,i){var r=this,o=t.coordinateSystem,a=t.getModel(["splitLine","lineStyle"]).getLineStyle(),s=t.get(["splitLine","show"]),l=a.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var c=e.start,u=0;c.time<=e.end.time;u++){d(c.formatedDate),0===u&&(c=o.getDateInfo(e.start.y+"-"+e.start.m));var h=c.date;h.setMonth(h.getMonth()+1),c=o.getDateInfo(h)}function d(e){r._firstDayOfMonth.push(o.getDateInfo(e)),r._firstDayPoints.push(o.dataToRect([e],!1).tl);var l=r._getLinePointsOfOneWeek(t,e,n);r._tlpoints.push(l[0]),r._blpoints.push(l[l.length-1]),s&&r._drawSplitline(l,a,i)}d(o.getNextNDay(e.end.time,1).formatedDate),s&&this._drawSplitline(r._getEdgesPoints(r._tlpoints,l,n),a,i),s&&this._drawSplitline(r._getEdgesPoints(r._blpoints,l,n),a,i)},e.prototype._getEdgesPoints=function(t,e,n){var i=[t[0].slice(),t[t.length-1].slice()],r="horizontal"===n?0:1;return i[0][r]=i[0][r]-e/2,i[1][r]=i[1][r]+e/2,i},e.prototype._drawSplitline=function(t,e,n){var i=new Tl({z2:20,shape:{points:t},style:e});n.add(i)},e.prototype._getLinePointsOfOneWeek=function(t,e,n){for(var i=t.coordinateSystem,r=i.getDateInfo(e),o=[],a=0;a<7;a++){var s=i.getNextNDay(r.time,a),l=i.dataToRect([s.time],!1);o[2*s.day]=l.tl,o[2*s.day+1]=l["horizontal"===n?"bl":"tr"]}return o},e.prototype._formatterLabel=function(t,e){return Object(g.isString)(t)&&t?(n=t,i=e,g.each(i,function(t,e){n=n.replace("{"+e+"}",r?tt(t):t)}),n):Object(g.isFunction)(t)?t(e):e.nameMap;var n,i,r},e.prototype._yearTextPositionControl=function(t,e,n,i,r){var o=e[0],a=e[1],s=["center","bottom"];"bottom"===i?(a+=r,s=["center","top"]):"left"===i?o-=r:"right"===i?(o+=r,s=["center","top"]):a-=r;var l=0;return"left"!==i&&"right"!==i||(l=Math.PI/2),{rotation:l,x:o,y:a,style:{align:s[0],verticalAlign:s[1]}}},e.prototype._renderYearText=function(t,e,n,i){var r=t.getModel("yearLabel");if(r.get("show")){var o=r.get("margin"),a=r.get("position");a||(a="horizontal"!==n?"top":"left");var s=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],l=(s[0][0]+s[1][0])/2,c=(s[0][1]+s[1][1])/2,u="horizontal"===n?0:1,h={top:[l,s[u][1]],bottom:[l,s[1-u][1]],left:[s[1-u][0],c],right:[s[u][0],c]},d=e.start.y;+e.end.y>+e.start.y&&(d=d+"-"+e.end.y);var f=r.get("formatter"),p={start:e.start.y,end:e.end.y,nameMap:d},A=this._formatterLabel(f,p),g=new ka({z2:30,style:Vc(r,{text:A})});g.attr(this._yearTextPositionControl(g,h[a],n,a,o)),i.add(g)}},e.prototype._monthTextPositionControl=function(t,e,n,i,r){var o="left",a="top",s=t[0],l=t[1];return"horizontal"===n?(l+=r,e&&(o="center"),"start"===i&&(a="bottom")):(s+=r,e&&(a="middle"),"start"===i&&(o="right")),{x:s,y:l,align:o,verticalAlign:a}},e.prototype._renderMonthText=function(t,e,n,i){var r=t.getModel("monthLabel");if(r.get("show")){var o=r.get("nameMap"),a=r.get("margin"),s=r.get("position"),l=r.get("align"),c=[this._tlpoints,this._blpoints];o&&!Object(g.isString)(o)||(o&&(e=xu(o)||e),o=e.get(["time","monthAbbr"])||[]);var u="start"===s?0:1,h="horizontal"===n?0:1;a="start"===s?-a:a;for(var d="center"===l,f=0;f<c[u].length-1;f++){var p=c[u][f].slice(),A=this._firstDayOfMonth[f];if(d){var v=this._firstDayPoints[f];p[h]=(v[h]+c[0][f+1][h])/2}var m=r.get("formatter"),y=o[+A.m-1],b={yyyy:A.y,yy:(A.y+"").slice(2),MM:A.m,M:+A.m,nameMap:y},_=this._formatterLabel(m,b),w=new ka({z2:30,style:Object(g.extend)(Vc(r,{text:_}),this._monthTextPositionControl(p,d,n,s,a))});i.add(w)}}},e.prototype._weekTextPositionControl=function(t,e,n,i,r){var o="center",a="middle",s=t[0],l=t[1],c="start"===n;return"horizontal"===e?(s=s+i+(c?1:-1)*r[0]/2,o=c?"right":"left"):(l=l+i+(c?1:-1)*r[1]/2,a=c?"bottom":"top"),{x:s,y:l,align:o,verticalAlign:a}},e.prototype._renderWeekText=function(t,e,n,i,r){var o=t.getModel("dayLabel");if(o.get("show")){var a=t.coordinateSystem,s=o.get("position"),l=o.get("nameMap"),c=o.get("margin"),u=a.getFirstDayOfWeek();if(!l||Object(g.isString)(l))l&&(e=xu(l)||e),l=e.get(["time","dayOfWeekShort"])||Object(g.map)(e.get(["time","dayOfWeekAbbr"]),function(t){return t[0]});var h=a.getNextNDay(n.end.time,7-n.lweek).time,d=[a.getCellWidth(),a.getCellHeight()];c=pi(c,Math.min(d[1],d[0])),"start"===s&&(h=a.getNextNDay(n.start.time,-(7+n.fweek)).time,c=-c);for(var f=0;f<7;f++){var p,A=a.getNextNDay(h,f),v=a.dataToRect([A.time],!1).center;p=Math.abs((f+u)%7);var m=new ka({z2:30,style:Object(g.extend)(Vc(o,{text:l[p]}),this._weekTextPositionControl(v,i,s,c,d))});r.add(m)}}},e.type="calendar",e}(fp);function $F(t){var e=t.calendarModel,n=t.seriesModel;return e?e.coordinateSystem:n?n.coordinateSystem:null}var GF=function(){function t(e,n,i){this.type="calendar",this.dimensions=t.dimensions,this.getDimensionsInfo=t.getDimensionsInfo,this._model=e}return t.getDimensionsInfo=function(){return[{name:"time",type:"time"},"value"]},t.prototype.getRangeInfo=function(){return this._rangeInfo},t.prototype.getModel=function(){return this._model},t.prototype.getRect=function(){return this._rect},t.prototype.getCellWidth=function(){return this._sw},t.prototype.getCellHeight=function(){return this._sh},t.prototype.getOrient=function(){return this._orient},t.prototype.getFirstDayOfWeek=function(){return this._firstDayOfWeek},t.prototype.getDateInfo=function(t){var e=(t=ki(t)).getFullYear(),n=t.getMonth()+1,i=n<10?"0"+n:""+n,r=t.getDate(),o=r<10?"0"+r:""+r,a=t.getDay();return{y:e+"",m:i,d:o,day:a=Math.abs((a+7-this.getFirstDayOfWeek())%7),time:t.getTime(),formatedDate:e+"-"+i+"-"+o,date:t}},t.prototype.getNextNDay=function(t,e){return 0===(e=e||0)?this.getDateInfo(t):((t=new Date(this.getDateInfo(t).time)).setDate(t.getDate()+e),this.getDateInfo(t))},t.prototype.update=function(t,e){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var n=this._rangeInfo.weeks||1,i=["width","height"],r=this._model.getCellSize().slice(),o=this._model.getBoxLayoutParams(),a="horizontal"===this._orient?[n,7]:[7,n];g.each([0,1],function(t){c(r,t)&&(o[i[t]]=r[t]*a[t])});var s={width:e.getWidth(),height:e.getHeight()},l=this._rect=gh(o,s);function c(t,e){return null!=t[e]&&"auto"!==t[e]}g.each([0,1],function(t){c(r,t)||(r[t]=l[i[t]]/a[t])}),this._sw=r[0],this._sh=r[1]},t.prototype.dataToPoint=function(t,e){g.isArray(t)&&(t=t[0]),null==e&&(e=!0);var n=this.getDateInfo(t),i=this._rangeInfo,r=n.formatedDate;if(e&&!(n.time>=i.start.time&&n.time<i.end.time+864e5))return[NaN,NaN];var o=n.day,a=this._getRangeInfo([i.start.time,r]).nthWeek;return"vertical"===this._orient?[this._rect.x+o*this._sw+this._sw/2,this._rect.y+a*this._sh+this._sh/2]:[this._rect.x+a*this._sw+this._sw/2,this._rect.y+o*this._sh+this._sh/2]},t.prototype.pointToData=function(t){var e=this.pointToDate(t);return e&&e.time},t.prototype.dataToRect=function(t,e){var n=this.dataToPoint(t,e);return{contentShape:{x:n[0]-(this._sw-this._lineWidth)/2,y:n[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:n,tl:[n[0]-this._sw/2,n[1]-this._sh/2],tr:[n[0]+this._sw/2,n[1]-this._sh/2],br:[n[0]+this._sw/2,n[1]+this._sh/2],bl:[n[0]-this._sw/2,n[1]+this._sh/2]}},t.prototype.pointToDate=function(t){var e=Math.floor((t[0]-this._rect.x)/this._sw)+1,n=Math.floor((t[1]-this._rect.y)/this._sh)+1,i=this._rangeInfo.range;return"vertical"===this._orient?this._getDateByWeeksAndDay(n,e-1,i):this._getDateByWeeksAndDay(e,n-1,i)},t.prototype.convertToPixel=function(t,e,n){var i=$F(e);return i===this?i.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){var i=$F(e);return i===this?i.pointToData(n):null},t.prototype.containPoint=function(t){return console.warn("Not implemented."),!1},t.prototype._initRangeOption=function(){var t,e=this._model.get("range");if(g.isArray(e)&&1===e.length&&(e=e[0]),g.isArray(e))t=e;else{var n=e.toString();if(/^\d{4}$/.test(n)&&(t=[n+"-01-01",n+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(n)){var i=this.getDateInfo(n),r=i.date;r.setMonth(r.getMonth()+1);var o=this.getNextNDay(r,-1);t=[i.formatedDate,o.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(n)&&(t=[n,n])}if(!t)return e;var a=this._getRangeInfo(t);return a.start.time>a.end.time&&t.reverse(),t},t.prototype._getRangeInfo=function(t){var e,n=[this.getDateInfo(t[0]),this.getDateInfo(t[1])];n[0].time>n[1].time&&(e=!0,n.reverse());var i=Math.floor(n[1].time/864e5)-Math.floor(n[0].time/864e5)+1,r=new Date(n[0].time),o=r.getDate(),a=n[1].date.getDate();r.setDate(o+i-1);var s=r.getDate();if(s!==a)for(var l=r.getTime()-n[1].time>0?1:-1;(s=r.getDate())!==a&&(r.getTime()-n[1].time)*l>0;)i-=l,r.setDate(s-l);var c=Math.floor((i+n[0].day+6)/7),u=e?1-c:c-1;return e&&n.reverse(),{range:[n[0].formatedDate,n[1].formatedDate],start:n[0],end:n[1],allDay:i,weeks:c,nthWeek:u,fweek:n[0].day,lweek:n[1].day}},t.prototype._getDateByWeeksAndDay=function(t,e,n){var i=this._getRangeInfo(n);if(t>i.weeks||0===t&&e<i.fweek||t===i.weeks&&e>i.lweek)return null;var r=7*(t-1)-i.fweek+e,o=new Date(i.start.time);return o.setDate(+i.start.d+r),this.getDateInfo(o)},t.create=function(e,n){var i=[];return e.eachComponent("calendar",function(r){var o=new t(r,e,n);i.push(o),r.coordinateSystem=o}),e.eachSeries(function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("calendarIndex")||0])}),i},t.dimensions=["time","value"],t}();function WF(t,e){var n;return g.each(e,function(e){null!=t[e]&&"auto"!==t[e]&&(n=!0)}),n}var KF=["transition","enterFrom","leaveTo"],YF=KF.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function XF(t,e,n){if(n&&(!t[n]&&e[n]&&(t[n]={}),t=t[n],e=e[n]),t&&e)for(var i=n?KF:YF,r=0;r<i.length;r++){var o=i[r];null==t[o]&&null!=e[o]&&(t[o]=e[o])}}var qF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.preventAutoZ=!0,n}return p(e,t),e.prototype.mergeOption=function(e,n){var i=this.option.elements;this.option.elements=null,t.prototype.mergeOption.call(this,e,n),this.option.elements=i},e.prototype.optionUpdated=function(t,e){var n=this.option,i=(e?n:t).elements,r=n.elements=e?[]:n.elements,o=[];this._flatten(i,o,null);var a=Wi(r,o,"normalMerge"),s=this._elOptionsToUpdate=[];g.each(a,function(t,e){var n=t.newOption;n&&(s.push(n),function(t,e){var n=t.existing;if(e.id=t.keyInfo.id,!e.type&&n&&(e.type=n.type),null==e.parentId){var i=e.parentOption;i?e.parentId=i.id:n&&(e.parentId=n.parentId)}e.parentOption=null}(t,n),function(t,e,n){var i=g.extend({},n),r=t[e],o=n.$action||"merge";"merge"===o?r?(g.merge(r,i,!0),yh(r,i,{ignoreSize:!0}),_h(n,r),XF(n,r),XF(n,r,"shape"),XF(n,r,"style"),XF(n,r,"extra"),n.clipPath=r.clipPath):t[e]=i:"replace"===o?t[e]=i:"remove"===o&&r&&(t[e]=null)}(r,e,n),function(t,e){if(t&&(t.hv=e.hv=[WF(e,["left","right"]),WF(e,["top","bottom"])],"group"===t.type)){var n=t,i=e;null==n.width&&(n.width=i.width=0),null==n.height&&(n.height=i.height=0)}}(r[e],n))},this),n.elements=g.filter(r,function(t){return t&&delete t.$action,null!=t})},e.prototype._flatten=function(t,e,n){g.each(t,function(t){if(t){n&&(t.parentOption=n),e.push(t);var i=t.children;i&&i.length&&this._flatten(i,e,t),delete t.children}},this)},e.prototype.useElOptionsToUpdate=function(){var t=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,t},e.type="graphic",e.defaultOption={elements:[]},e}(Ch),ZF={path:null,compoundPath:null,group:ei,image:ia,text:ka},JF=tr(),tP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.init=function(){this._elMap=g.createHashMap()},e.prototype.render=function(t,e,n){t!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=t,this._updateElements(t),this._relocate(t,n)},e.prototype._updateElements=function(t){var e=t.useElOptionsToUpdate();if(e){var n=this._elMap,i=this.group,r=t.get("z"),o=t.get("zlevel");g.each(e,function(e){var a=Xi(e.id,null),s=null!=a?n.get(a):null,l=Xi(e.parentId,null),c=null!=l?n.get(l):i,u=e.type,h=e.style;"text"===u&&h&&e.hv&&e.hv[1]&&(h.textVerticalAlign=h.textBaseline=h.verticalAlign=h.align=null);var d=e.textContent,f=e.textConfig;if(h&&iD(h,u,!!f,!!d)){var p=rD(h,u,!0);!f&&p.textConfig&&(f=e.textConfig=p.textConfig),!d&&p.textContent&&(d=p.textContent)}var A=function(t){return t=g.extend({},t),g.each(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(dh),function(e){delete t[e]}),t}(e);var v=e.$action||"merge",m="merge"===v,y="replace"===v;if(m){var b=s;(k=!s)?b=nP(a,c,e.type,n):(b&&(JF(b).isNew=!1),SD(b)),b&&(fD(b,A,t,{isInit:k}),rP(b,e,r,o))}else if(y){iP(s,e,n,t);var _=nP(a,c,e.type,n);_&&(fD(_,A,t,{isInit:!0}),rP(_,e,r,o))}else"remove"===v&&(pD(s,e),iP(s,e,n,t));var w=n.get(a);if(w&&d)if(m){var x=w.getTextContent();x?x.attr(d):w.setTextContent(new ka(d))}else y&&w.setTextContent(new ka(d));if(w){var C=e.clipPath;if(C){var S=C.type,B=void 0,k=!1;if(m){var T=w.getClipPath();B=(k=!T||JF(T).type!==S)?eP(S):T}else y&&(k=!0,B=eP(S));w.setClipPath(B),fD(B,C,t,{isInit:k}),BD(B,C.keyframeAnimation,t)}var O=JF(w);w.setTextConfig(f),O.option=e,function(t,e,n){var i=Ta(t).eventData;t.silent||t.ignore||i||(i=Ta(t).eventData={componentType:"graphic",componentIndex:e.componentIndex,name:t.name});i&&(i.info=n.info)}(w,t,e),Fc({el:w,componentModel:t,itemName:w.name,itemTooltipOption:e.tooltip}),BD(w,e.keyframeAnimation,t)}})}},e.prototype._relocate=function(t,e){for(var n=t.option.elements,i=this.group,r=this._elMap,o=e.getWidth(),a=e.getHeight(),s=["x","y"],l=0;l<n.length;l++){if((p=null!=(f=Xi((d=n[l]).id,null))?r.get(f):null)&&p.isGroup){var c=(A=p.parent)===i,u=JF(p),h=JF(A);u.width=pi(u.option.width,c?o:h.width)||0,u.height=pi(u.option.height,c?a:h.height)||0}}for(l=n.length-1;l>=0;l--){var d,f,p;if(p=null!=(f=Xi((d=n[l]).id,null))?r.get(f):null){var A=p.parent,v=(h=JF(A),{}),m=vh(p,d,A===i?{width:o,height:a}:{width:h.width,height:h.height},null,{hv:d.hv,boundingMode:d.bounding},v);if(!JF(p).isNew&&m){for(var y=d.transition,b={},_=0;_<s.length;_++){var w=s[_],x=v[w];y&&(gD(y)||g.indexOf(y,w)>=0)?b[w]=x:p[w]=x}ec(p,b,t,0)}else p.attr(v)}}},e.prototype._clear=function(){var t=this,e=this._elMap;e.each(function(n){iP(n,JF(n).option,e,t._lastGraphicModel)}),this._elMap=g.createHashMap()},e.prototype.dispose=function(){this._clear()},e.type="graphic",e}(fp);function eP(t){var e=g.hasOwn(ZF,t)?ZF[t]:Ac(t);var n=new e({});return JF(n).type=t,n}function nP(t,e,n,i){var r=eP(n);return e.add(r),i.set(t,r),JF(r).id=t,JF(r).isNew=!0,r}function iP(t,e,n,i){t&&t.parent&&("group"===t.type&&t.traverse(function(t){iP(t,e,n,i)}),AD(t,e,i),n.removeKey(JF(t).id))}function rP(t,e,n,i){t.isGroup||g.each([["cursor",Kr.prototype.cursor],["zlevel",i||0],["z",n||0],["z2",0]],function(n){var i=n[0];g.hasOwn(e,i)?t[i]=g.retrieve2(e[i],n[1]):null==t[i]&&(t[i]=n[1])}),g.each(g.keys(e),function(n){if(0===n.indexOf("on")){var i=e[n];t[n]=g.isFunction(i)?i:null}}),g.hasOwn(e,"draggable")&&(t.draggable=e.draggable),null!=e.name&&(t.name=e.name),null!=e.id&&(t.id=e.id)}var oP=["x","y","radius","angle","single"],aP=["cartesian2d","polar","singleAxis"];function sP(t){return t+"Axis"}function lP(t,e){var n,i=Object(g.createHashMap)(),r=[],o=Object(g.createHashMap)();t.eachComponent({mainType:"dataZoom",query:e},function(t){o.get(t.uid)||s(t)});do{n=!1,t.eachComponent("dataZoom",a)}while(n);function a(t){!o.get(t.uid)&&function(t){var e=!1;return t.eachTargetAxis(function(t,n){var r=i.get(t);r&&r[n]&&(e=!0)}),e}(t)&&(s(t),n=!0)}function s(t){o.set(t.uid,!0),r.push(t),t.eachTargetAxis(function(t,e){(i.get(t)||i.set(t,[]))[e]=!0})}return r}function cP(t){var e=t.ecModel,n={infoList:[],infoMap:Object(g.createHashMap)()};return t.eachTargetAxis(function(t,i){var r=e.getComponent(sP(t),i);if(r){var o=r.getCoordSysModel();if(o){var a=o.uid,s=n.infoMap.get(a);s||(s={model:o,axisModels:[]},n.infoList.push(s),n.infoMap.set(a,s)),s.axisModels.push(r)}}}),n}var uP=function(){function t(){this.indexList=[],this.indexMap=[]}return t.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},t}();function hP(t){var e={};return Object(g.each)(["start","end","startValue","endValue","throttle"],function(n){t.hasOwnProperty(n)&&(e[n]=t[n])}),e}var dP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return p(e,t),e.prototype.init=function(t,e,n){var i=hP(t);this.settledOption=i,this.mergeDefaultAndTheme(t,n),this._doInit(i)},e.prototype.mergeOption=function(t){var e=hP(t);Object(g.merge)(this.option,t,!0),Object(g.merge)(this.settledOption,e,!0),this._doInit(e)},e.prototype._doInit=function(t){var e=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var n=this.settledOption;Object(g.each)([["start","startValue"],["end","endValue"]],function(t,i){"value"===this._rangePropMode[i]&&(e[t[0]]=n[t[0]]=null)},this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get("orient",!0),e=this._targetAxisInfoMap=Object(g.createHashMap)();this._fillSpecifiedTargetAxis(e)?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(e,this._orient)),this._noTarget=!0,e.each(function(t){t.indexList.length&&(this._noTarget=!1)},this)},e.prototype._fillSpecifiedTargetAxis=function(t){var e=!1;return Object(g.each)(oP,function(n){var i=this.getReferringComponents(sP(n),or);if(i.specified){e=!0;var r=new uP;Object(g.each)(i.models,function(t){r.add(t.componentIndex)}),t.set(n,r)}},this),e},e.prototype._fillAutoTargetAxisByOrient=function(t,e){var n=this.ecModel,i=!0;if(i){var r="vertical"===e?"y":"x";o(n.findComponents({mainType:r+"Axis"}),r)}i&&o(n.findComponents({mainType:"singleAxis",filter:function(t){return t.get("orient",!0)===e}}),"single");function o(e,n){var r=e[0];if(r){var o=new uP;if(o.add(r.componentIndex),t.set(n,o),i=!1,"x"===n||"y"===n){var a=r.getReferringComponents("grid",rr).models[0];a&&Object(g.each)(e,function(t){r.componentIndex!==t.componentIndex&&a===t.getReferringComponents("grid",rr).models[0]&&o.add(t.componentIndex)})}}}i&&Object(g.each)(oP,function(e){if(i){var r=n.findComponents({mainType:sP(e),filter:function(t){return"category"===t.get("type",!0)}});if(r[0]){var o=new uP;o.add(r[0].componentIndex),t.set(e,o),i=!1}}},this)},e.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis(function(e){!t&&(t=e)},this),"y"===t?"vertical":"horizontal"},e.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var e=this.ecModel.option;this.option.throttle=e.animation&&e.animationDurationUpdate>0?100:20}},e.prototype._updateRangeUse=function(t){var e=this._rangePropMode,n=this.get("rangeMode");Object(g.each)([["start","startValue"],["end","endValue"]],function(i,r){var o=null!=t[i[0]],a=null!=t[i[1]];o&&!a?e[r]="percent":!o&&a?e[r]="value":n?e[r]=n[r]:o&&(e[r]="percent")})},e.prototype.noTarget=function(){return this._noTarget},e.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis(function(e,n){null==t&&(t=this.ecModel.getComponent(sP(e),n))},this),t},e.prototype.eachTargetAxis=function(t,e){this._targetAxisInfoMap.each(function(n,i){Object(g.each)(n.indexList,function(n){t.call(e,i,n)})})},e.prototype.getAxisProxy=function(t,e){var n=this.getAxisModel(t,e);if(n)return n.__dzAxisProxy},e.prototype.getAxisModel=function(t,e){var n=this._targetAxisInfoMap.get(t);if(n&&n.indexMap[e])return this.ecModel.getComponent(sP(t),e)},e.prototype.setRawRange=function(t){var e=this.option,n=this.settledOption;Object(g.each)([["start","startValue"],["end","endValue"]],function(i){null==t[i[0]]&&null==t[i[1]]||(e[i[0]]=n[i[0]]=t[i[0]],e[i[1]]=n[i[1]]=t[i[1]])},this),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var e=this.option;Object(g.each)(["start","startValue","end","endValue"],function(n){e[n]=t[n]})},e.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},e.prototype.getValueRange=function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},e.prototype.findRepresentativeAxisProxy=function(t){if(t)return t.__dzAxisProxy;for(var e,n=this._targetAxisInfoMap.keys(),i=0;i<n.length;i++)for(var r=n[i],o=this._targetAxisInfoMap.get(r),a=0;a<o.indexList.length;a++){var s=this.getAxisProxy(r,o.indexList[a]);if(s.hostedBy(this))return s;e||(e=s)}return e},e.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},e.prototype.getOrient=function(){return this._orient},e.type="dataZoom",e.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],e.defaultOption={z:4,filterMode:"filter",start:0,end:100},e}(Ch),fP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.type="dataZoom.select",e}(dP),pP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.render=function(t,e,n,i){this.dataZoomModel=t,this.ecModel=e,this.api=n},e.type="dataZoom",e}(fp),AP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.type="dataZoom.select",e}(pP),gP=g.each,vP=gi;var mP=function(){function t(t,e,n,i){this._dimName=t,this._axisIndex=e,this.ecModel=i,this._dataZoomModel=n}return t.prototype.hostedBy=function(t){return this._dataZoomModel===t},t.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},t.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},t.prototype.getTargetSeriesModels=function(){var t=[];return this.ecModel.eachSeries(function(e){if(function(t){var e=t.get("coordinateSystem");return Object(g.indexOf)(aP,e)>=0}(e)){var n=sP(this._dimName),i=e.getReferringComponents(n,rr).models[0];i&&this._axisIndex===i.componentIndex&&t.push(e)}},this),t},t.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},t.prototype.getMinMaxSpan=function(){return g.clone(this._minMaxSpan)},t.prototype.calculateDataWindow=function(t){var e,n=this._dataExtent,i=this.getAxisModel().axis.scale,r=this._dataZoomModel.getRangePropMode(),o=[0,100],a=[],s=[];gP(["start","end"],function(l,c){var u=t[l],h=t[l+"Value"];"percent"===r[c]?(null==u&&(u=o[c]),h=i.parse(fi(u,o,n))):(e=!0,u=fi(h=null==h?n[c]:i.parse(h),n,o)),s[c]=null==h||isNaN(h)?n[c]:h,a[c]=null==u||isNaN(u)?o[c]:u}),vP(s),vP(a);var l=this._minMaxSpan;function c(t,e,n,r,o){var a=o?"Span":"ValueSpan";DO(0,t,n,"all",l["min"+a],l["max"+a]);for(var s=0;s<2;s++)e[s]=fi(t[s],n,r,!0),o&&(e[s]=i.parse(e[s]))}return e?c(s,a,n,o,!1):c(a,s,o,n,!0),{valueWindow:s,percentWindow:a}},t.prototype.reset=function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=function(t,e,n){var i=[1/0,-1/0];gP(n,function(t){!function(t,e,n){e&&g.each(xy(e,n),function(n){var i=e.getApproximateExtent(n);i[0]<t[0]&&(t[0]=i[0]),i[1]>t[1]&&(t[1]=i[1])})}(i,t.getData(),e)});var r=t.getAxisModel(),o=py(r.axis.scale,r,i).calculate();return[o.min,o.max]}(this,this._dimName,e),this._updateMinMaxSpan();var n=this.calculateDataWindow(t.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,this._setAxisModel()}},t.prototype.filterData=function(t,e){if(t===this._dataZoomModel){var n=this._dimName,i=this.getTargetSeriesModels(),r=t.get("filterMode"),o=this._valueWindow;"none"!==r&&gP(i,function(t){var e=t.getData(),i=e.mapDimensionsAll(n);if(i.length){if("weakFilter"===r){var a=e.getStore(),s=g.map(i,function(t){return e.getDimensionIndex(t)},e);e.filterSelf(function(t){for(var e,n,r,l=0;l<i.length;l++){var c=a.get(s[l],t),u=!isNaN(c),h=c<o[0],d=c>o[1];if(u&&!h&&!d)return!0;u&&(r=!0),h&&(e=!0),d&&(n=!0)}return r&&e&&n})}else gP(i,function(n){if("empty"===r)t.setData(e=e.map(n,function(t){return function(t){return t>=o[0]&&t<=o[1]}(t)?t:NaN}));else{var i={};i[n]=o,e.selectRange(i)}});gP(i,function(t){e.setApproximateExtent(o,t)})}})}},t.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,n=this._dataExtent;gP(["min","max"],function(i){var r=e.get(i+"Span"),o=e.get(i+"ValueSpan");null!=o&&(o=this.getAxisModel().axis.scale.parse(o)),null!=o?r=fi(n[0]+o,n,[0,100],!0):null!=r&&(o=fi(r,[0,100],n,!0)-n[0]),t[i+"Span"]=r,t[i+"ValueSpan"]=o},this)},t.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,n=this._valueWindow;if(e){var i=yi(n,[0,500]);i=Math.min(i,20);var r=t.axis.scale.rawExtentInfo;0!==e[0]&&r.setDeterminedMinMax("min",+n[0].toFixed(i)),100!==e[1]&&r.setDeterminedMinMax("max",+n[1].toFixed(i)),r.freeze()}},t}(),yP={getTargetSeries:function(t){function e(e){t.eachComponent("dataZoom",function(n){n.eachTargetAxis(function(i,r){var o=t.getComponent(sP(i),r);e(i,r,o,n)})})}e(function(t,e,n,i){n.__dzAxisProxy=null});var n=[];e(function(e,i,r,o){r.__dzAxisProxy||(r.__dzAxisProxy=new mP(e,i,o,t),n.push(r.__dzAxisProxy))});var i=Object(g.createHashMap)();return Object(g.each)(n,function(t){Object(g.each)(t.getTargetSeriesModels(),function(t){i.set(t.uid,t)})}),i},overallReset:function(t,e){t.eachComponent("dataZoom",function(t){t.eachTargetAxis(function(e,n){t.getAxisProxy(e,n).reset(t)}),t.eachTargetAxis(function(n,i){t.getAxisProxy(n,i).filterData(t,e)})}),t.eachComponent("dataZoom",function(t){var e=t.findRepresentativeAxisProxy();if(e){var n=e.getDataPercentWindow(),i=e.getDataValueWindow();t.setCalculatedRange({start:n[0],end:n[1],startValue:i[0],endValue:i[1]})}})}};var bP=!1;function _P(t){bP||(bP=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,yP),function(t){t.registerAction("dataZoom",function(t,e){var n=lP(e,t);Object(g.each)(n,function(e){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})})})}(t),t.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function wP(t){t.registerComponentModel(fP),t.registerComponentView(AP),_P(t)}var xP=function(){return function(){}}(),CP={};function SP(t,e){CP[t]=e}function BP(t){return CP[t]}var kP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.optionUpdated=function(){t.prototype.optionUpdated.apply(this,arguments);var e=this.ecModel;g.each(this.option.feature,function(t,n){var i=BP(n);i&&(i.getDefaultOption&&(i.defaultOption=i.getDefaultOption(e)),g.merge(t,i.defaultOption))})},e.type="toolbox",e.layoutMode={type:"box",ignoreSize:!0},e.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},e}(Ch);function TP(t,e){var n=eh(e.get("padding")),i=e.getItemStyle(["color","opacity"]);return i.fill=e.get("backgroundColor"),t=new ha({shape:{x:t.x-n[3],y:t.y-n[0],width:t.width+n[1]+n[3],height:t.height+n[0]+n[2],r:e.get("borderRadius")},style:i,silent:!0,z2:-1})}var OP=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return p(e,t),e.prototype.render=function(t,e,n,i){var r=this.group;if(r.removeAll(),t.get("show")){var o=+t.get("itemSize"),a="vertical"===t.get("orient"),s=t.get("feature")||{},l=this._features||(this._features={}),c=[];g.each(s,function(t,e){c.push(e)}),new Lv(this._featureNames||[],c).add(u).update(u).remove(g.curry(u,null)).execute(),this._featureNames=c,function(t,e,n){var i=e.getBoxLayoutParams(),r=e.get("padding"),o={width:n.getWidth(),height:n.getHeight()},a=gh(i,o,r);Ah(e.get("orient"),t,e.get("itemGap"),a.width,a.height),vh(t,i,o,r)}(r,t,n),r.add(TP(r.getBoundingRect(),t)),a||r.eachChild(function(t){var e=t.__title,i=t.ensureState("emphasis"),a=i.textConfig||(i.textConfig={}),s=t.getTextContent(),l=s&&s.ensureState("emphasis");if(l&&!g.isFunction(l)&&e){var c=l.style||(l.style={}),u=Un(e,ka.makeFont(c)),h=t.x+r.x,d=!1;t.y+r.y+o+u.height>n.getHeight()&&(a.position="top",d=!0);var f=d?-5-u.height:o+10;h+u.width/2>n.getWidth()?(a.position=["100%",f],c.align="right"):h-u.width/2<0&&(a.position=[0,f],c.align="left")}})}function u(u,h){var d,f=c[u],p=c[h],A=s[f],v=new du(A,t,t.ecModel);if(i&&null!=i.newTitle&&i.featureName===f&&(A.title=i.newTitle),f&&!p){if(function(t){return 0===t.indexOf("my")}(f))d={onclick:v.option.onclick,featureName:f};else{var m=BP(f);if(!m)return;d=new m}l[f]=d}else if(!(d=l[p]))return;d.uid=pu("toolbox-feature"),d.model=v,d.ecModel=e,d.api=n;var y=d instanceof xP;f||!p?!v.get("show")||y&&d.unusable?y&&d.remove&&d.remove(e,n):(!function(i,s,l){var c,u,h=i.getModel("iconStyle"),d=i.getModel(["emphasis","iconStyle"]),f=s instanceof xP&&s.getIcons?s.getIcons():i.get("icon"),p=i.get("title")||{};g.isString(f)?(c={})[l]=f:c=f;g.isString(p)?(u={})[l]=p:u=p;var A=i.iconPaths={};g.each(c,function(l,c){var f=Ic(l,{},{x:-o/2,y:-o/2,width:o,height:o});f.setStyle(h.getItemStyle());var p=f.ensureState("emphasis");p.style=d.getItemStyle();var v=new ka({style:{text:u[c],align:d.get("textAlign"),borderRadius:d.get("textBorderRadius"),padding:d.get("textPadding"),fill:null},ignore:!0});f.setTextContent(v),Fc({el:f,componentModel:t,itemName:c,formatterParamsExtra:{title:u[c]}}),f.__title=u[c],f.on("mouseover",function(){var e=d.getItemStyle(),i=a?null==t.get("right")&&"right"!==t.get("left")?"right":"left":null==t.get("bottom")&&"bottom"!==t.get("top")?"bottom":"top";v.setStyle({fill:d.get("textFill")||e.fill||e.stroke||"#000",backgroundColor:d.get("textBackgroundColor")}),f.setTextConfig({position:d.get("textPosition")||i}),v.ignore=!t.get("showTitle"),n.enterEmphasis(this)}).on("mouseout",function(){"emphasis"!==i.get(["iconStatus",c])&&n.leaveEmphasis(this),v.hide()}),("emphasis"===i.get(["iconStatus",c])?cs:us)(f),r.add(f),f.on("click",g.bind(s.onclick,s,e,n,c)),A[c]=f})}(v,d,f),v.setIconStatus=function(t,e){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,i[t]&&("emphasis"===e?cs:us)(i[t])},d instanceof xP&&d.render&&d.render(v,e,n,i)):y&&d.dispose&&d.dispose(e,n)}},e.prototype.updateView=function(t,e,n,i){g.each(this._features,function(t){t instanceof xP&&t.updateView&&t.updateView(t.model,e,n,i)})},e.prototype.remove=function(t,e){g.each(this._features,function(n){n instanceof xP&&n.remove&&n.remove(t,e)}),this.group.removeAll()},e.prototype.dispose=function(t,e){g.each(this._features,function(n){n instanceof xP&&n.dispose&&n.dispose(t,e)})},e.type="toolbox",e}(fp),EP=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return p(e,t),e.prototype.onclick=function(t,e){var n=this.model,i=n.get("name")||t.get("title.0.text")||"echarts",r="svg"===e.getZr().painter.getType(),o=r?"svg":n.get("type",!0)||"png",a=e.getConnectedDataURL({type:o,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")}),s=A.a.browser;if(Object(g.isFunction)(MouseEvent)&&(s.newEdge||!s.ie&&!s.edge)){var l=document.createElement("a");l.download=i+"."+o,l.target="_blank",l.href=a;var c=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});l.dispatchEvent(c)}else if(window.navigator.msSaveOrOpenBlob||r){var u=a.split(","),h=u[0].indexOf("base64")>-1,d=r?decodeURIComponent(u[1]):u[1];h&&(d=window.atob(d));var f=i+"."+o;if(window.navigator.msSaveOrOpenBlob){for(var p=d.length,v=new Uint8Array(p);p--;)v[p]=d.charCodeAt(p);var m=new Blob([v]);window.navigator.msSaveOrOpenBlob(m,f)}else{var y=document.createElement("iframe");document.body.appendChild(y);var b=y.contentWindow,_=b.document;_.open("image/svg+xml","replace"),_.write(d),_.close(),b.focus(),_.execCommand("SaveAs",!0,f),document.body.removeChild(y)}}else{var w=n.get("lang"),x='<body style="margin:0;"><img src="'+a+'" style="max-width:100%;" title="'+(w&&w[0]||"")+'" /></body>',C=window.open();C.document.write(x),C.document.title=i}},e.getDefaultOption=function(t){return{show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:t.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:t.getLocaleModel().get(["toolbox","saveAsImage","lang"])}},e}(xP),IP=[["line","bar"],["stack"]],MP=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return p(e,t),e.prototype.getIcons=function(){var t=this.model,e=t.get("icon"),n={};return g.each(t.get("type"),function(t){e[t]&&(n[t]=e[t])}),n},e.getDefaultOption=function(t){return{show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:t.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}}},e.prototype.onclick=function(t,e,n){var i=this.model,r=i.get(["seriesIndex",n]);if(DP[n]){var o,a={series:[]};g.each(IP,function(t){g.indexOf(t,n)>=0&&g.each(t,function(t){i.setIconStatus(t,"normal")})}),i.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:null==r?null:{seriesIndex:r}},function(t){var e=t.subType,r=t.id,o=DP[n](e,r,t,i);o&&(g.defaults(o,t.option),a.series.push(o));var s=t.coordinateSystem;if(s&&"cartesian2d"===s.type&&("line"===n||"bar"===n)){var l=s.getAxesByScale("ordinal")[0];if(l){var c=l.dim+"Axis",u=t.getReferringComponents(c,rr).models[0].componentIndex;a[c]=a[c]||[];for(var h=0;h<=u;h++)a[c][u]=a[c][u]||{};a[c][u].boundaryGap="bar"===n}}});var s=n;"stack"===n&&(o=g.merge({stack:i.option.title.tiled,tiled:i.option.title.stack},i.option.title),"emphasis"!==i.get(["iconStatus",n])&&(s="tiled")),e.dispatchAction({type:"changeMagicType",currentType:s,newOption:a,newTitle:o,featureName:"magicType"})}},e}(xP),DP={line:function(t,e,n,i){if("bar"===t)return g.merge({id:e,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","line"])||{},!0)},bar:function(t,e,n,i){if("line"===t)return g.merge({id:e,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","bar"])||{},!0)},stack:function(t,e,n,i){var r="__ec_magicType_stack__"===n.get("stack");if("line"===t||"bar"===t)return i.setIconStatus("stack",r?"normal":"emphasis"),g.merge({id:e,stack:r?"":"__ec_magicType_stack__"},i.get(["option","stack"])||{},!0)}};gv({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(t,e){e.mergeOption(t.newOption)});var LP=MP,FP=new Array(60).join("-"),PP="\t";function NP(t){var e,n,i,r=function(t){var e={},n=[],i=[];return t.eachRawSeries(function(t){var r=t.coordinateSystem;if(!r||"cartesian2d"!==r.type&&"polar"!==r.type)n.push(t);else{var o=r.getBaseAxis();if("category"===o.type){var a=o.dim+"_"+o.index;e[a]||(e[a]={categoryAxis:o,valueAxis:r.getOtherAxis(o),series:[]},i.push({axisDim:o.dim,axisIndex:o.index})),e[a].series.push(t)}else n.push(t)}}),{seriesGroupByCategoryAxis:e,other:n,meta:i}}(t);return{value:g.filter([(n=r.seriesGroupByCategoryAxis,i=[],g.each(n,function(t,e){var n=t.categoryAxis,r=t.valueAxis.dim,o=[" "].concat(g.map(t.series,function(t){return t.name})),a=[n.model.getCategories()];g.each(t.series,function(t){var e=t.getRawData();a.push(t.getRawData().mapArray(e.mapDimension(r),function(t){return t}))});for(var s=[o.join(PP)],l=0;l<a[0].length;l++){for(var c=[],u=0;u<a.length;u++)c.push(a[u][l]);s.push(c.join(PP))}i.push(s.join("\n"))}),i.join("\n\n"+FP+"\n\n")),(e=r.other,g.map(e,function(t){var e=t.getRawData(),n=[t.name],i=[];return e.each(e.dimensions,function(){for(var t=arguments.length,r=arguments[t-1],o=e.getName(r),a=0;a<t-1;a++)i[a]=arguments[a];n.push((o?o+PP:"")+i.join(PP))}),n.join("\n")}).join("\n\n"+FP+"\n\n"))],function(t){return!!t.replace(/[\n\t\s]/g,"")}).join("\n\n"+FP+"\n\n"),meta:r.meta}}function jP(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}var UP=new RegExp("["+PP+"]+","g");function RP(t,e){var n=t.split(new RegExp("\n*"+FP+"\n*","g")),i={series:[]};return g.each(n,function(t,n){if(function(t){if(t.slice(0,t.indexOf("\n")).indexOf(PP)>=0)return!0}(t)){var r=function(t){for(var e=t.split(/\n+/g),n=jP(e.shift()).split(UP),i=[],r=g.map(n,function(t){return{name:t,data:[]}}),o=0;o<e.length;o++){var a=jP(e[o]).split(UP);i.push(a.shift());for(var s=0;s<a.length;s++)r[s]&&(r[s].data[o]=a[s])}return{series:r,categories:i}}(t),o=e[n],a=o.axisDim+"Axis";o&&(i[a]=i[a]||[],i[a][o.axisIndex]={data:r.categories},i.series=i.series.concat(r.series))}else{r=function(t){for(var e=t.split(/\n+/g),n=jP(e.shift()),i=[],r=0;r<e.length;r++){var o=jP(e[r]);if(o){var a=o.split(UP),s="",l=void 0,c=!1;isNaN(a[0])?(c=!0,s=a[0],a=a.slice(1),i[r]={name:s,value:[]},l=i[r].value):l=i[r]=[];for(var u=0;u<a.length;u++)l.push(+a[u]);1===l.length&&(c?i[r].value=l[0]:i[r]=l[0])}}return{name:n,data:i}}(t);i.series.push(r)}}),i}var QP=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return p(e,t),e.prototype.onclick=function(t,e){setTimeout(function(){e.dispatchAction({type:"hideTip"})});var n=e.getDom(),i=this.model;this._dom&&n.removeChild(this._dom);var r=document.createElement("div");r.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",r.style.backgroundColor=i.get("backgroundColor")||"#fff";var o=document.createElement("h4"),a=i.get("lang")||[];o.innerHTML=a[0]||i.get("title"),o.style.cssText="margin:10px 20px",o.style.color=i.get("textColor");var s=document.createElement("div"),l=document.createElement("textarea");s.style.cssText="overflow:auto";var c=i.get("optionToContent"),u=i.get("contentToOption"),h=NP(t);if(g.isFunction(c)){var d=c(e.getOption());g.isString(d)?s.innerHTML=d:g.isDom(d)&&s.appendChild(d)}else{l.readOnly=i.get("readOnly");var f=l.style;f.cssText="display:block;width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;resize:none;box-sizing:border-box;outline:none",f.color=i.get("textColor"),f.borderColor=i.get("textareaBorderColor"),f.backgroundColor=i.get("textareaColor"),l.value=h.value,s.appendChild(l)}var p=h.meta,A=document.createElement("div");A.style.cssText="position:absolute;bottom:5px;left:0;right:0";var v="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",m=document.createElement("div"),y=document.createElement("div");v+=";background-color:"+i.get("buttonColor"),v+=";color:"+i.get("buttonTextColor");var b=this;function _(){n.removeChild(r),b._dom=null}lt(m,"click",_),lt(y,"click",function(){if(null==u&&null!=c||null!=u&&null==c)_();else{var t;try{t=g.isFunction(u)?u(s,e.getOption()):RP(l.value,p)}catch(t){throw _(),new Error("Data view format error "+t)}t&&e.dispatchAction({type:"changeDataView",newOption:t}),_()}}),m.innerHTML=a[1],y.innerHTML=a[2],y.style.cssText=m.style.cssText=v,!i.get("readOnly")&&A.appendChild(y),A.appendChild(m),r.appendChild(o),r.appendChild(s),r.appendChild(A),s.style.height=n.clientHeight-80+"px",n.appendChild(r),this._dom=r},e.prototype.remove=function(t,e){this._dom&&e.getDom().removeChild(this._dom)},e.prototype.dispose=function(t,e){this.remove(t,e)},e.getDefaultOption=function(t){return{show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:t.getLocaleModel().get(["toolbox","dataView","title"]),lang:t.getLocaleModel().get(["toolbox","dataView","lang"]),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"}},e}(xP);gv({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(t,e){var n=[];g.each(t.newOption.series,function(t){var i=e.getSeriesByName(t.name)[0];if(i){var r=i.get("data");n.push({name:t.name,data:function(t,e){return g.map(t,function(t,n){var i=e&&e[n];if(g.isObject(i)&&!g.isArray(i)){g.isObject(t)&&!g.isArray(t)||(t={value:t});var r=null!=i.name&&null==t.name;return t=g.defaults(t,i),r&&delete t.name,t}return t})}(t.data,r)})}else n.push(g.extend({type:"scatter"},t))}),e.mergeOption(g.defaults({series:n},t.newOption))});var HP=QP,VP=g.each,zP=tr();function $P(t){var e=zP(t);return e.snapshots||(e.snapshots=[{}]),e.snapshots}var GP=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return p(e,t),e.prototype.onclick=function(t,e){!function(t){zP(t).snapshots=null}(t),e.dispatchAction({type:"restore",from:this.uid})},e.getDefaultOption=function(t){return{show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:t.getLocaleModel().get(["toolbox","restore","title"])}},e}(xP);gv({type:"restore",event:"restore",update:"prepareAndUpdate"},function(t,e){e.resetOption("recreate")});var WP=GP,KP=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],YP=function(){function t(t,e,n){var i=this;this._targetInfoList=[];var r=qP(e,t);Object(g.each)(ZP,function(t,e){(!n||!n.include||Object(g.indexOf)(n.include,e)>=0)&&t(r,i._targetInfoList)})}return t.prototype.setOutputRanges=function(t,e){return this.matchOutputRanges(t,e,function(t,e,n){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var i=eN[t.brushType](0,n,e);t.__rangeOffset={offset:iN[t.brushType](i.values,t.range,[1,1]),xyMinMax:i.xyMinMax}}}),t},t.prototype.matchOutputRanges=function(t,e,n){Object(g.each)(t,function(t){var i=this.findTargetInfo(t,e);i&&!0!==i&&Object(g.each)(i.coordSyses,function(i){var r=eN[t.brushType](1,i,t.range,!0);n(t,r.values,i,e)})},this)},t.prototype.setInputRanges=function(t,e){Object(g.each)(t,function(t){var n,i,r,o,a,s=this.findTargetInfo(t,e);if(t.range=t.range||[],s&&!0!==s){t.panelId=s.panelId;var l=eN[t.brushType](0,s.coordSys,t.coordRange),c=t.__rangeOffset;t.range=c?iN[t.brushType](l.values,c.offset,(n=l.xyMinMax,i=c.xyMinMax,r=oN(n),o=oN(i),a=[r[0]/o[0],r[1]/o[1]],isNaN(a[0])&&(a[0]=1),isNaN(a[1])&&(a[1]=1),a)):l.values}},this)},t.prototype.makePanelOpts=function(t,e){return Object(g.map)(this._targetInfoList,function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e?e(n):null,clipPath:NE(i),isTargetByCursor:UE(i,t,n.coordSysModel),getLinearBrushOtherExtent:jE(i)}})},t.prototype.controlSeries=function(t,e,n){var i=this.findTargetInfo(t,n);return!0===i||i&&Object(g.indexOf)(i.coordSyses,e.coordinateSystem)>=0},t.prototype.findTargetInfo=function(t,e){for(var n=this._targetInfoList,i=qP(e,t),r=0;r<n.length;r++){var o=n[r],a=t.panelId;if(a){if(o.panelId===a)return o}else for(var s=0;s<JP.length;s++)if(JP[s](i,o))return o}return!0},t}();function XP(t){return t[0]>t[1]&&t.reverse(),t}function qP(t,e){return nr(t,e,{includeMainTypes:KP})}var ZP={grid:function(t,e){var n=t.xAxisModels,i=t.yAxisModels,r=t.gridModels,o=Object(g.createHashMap)(),a={},s={};(n||i||r)&&(Object(g.each)(n,function(t){var e=t.axis.grid.model;o.set(e.id,e),a[e.id]=!0}),Object(g.each)(i,function(t){var e=t.axis.grid.model;o.set(e.id,e),s[e.id]=!0}),Object(g.each)(r,function(t){o.set(t.id,t),a[t.id]=!0,s[t.id]=!0}),o.each(function(t){var r=t.coordinateSystem,o=[];Object(g.each)(r.getCartesians(),function(t,e){(Object(g.indexOf)(n,t.getAxis("x").model)>=0||Object(g.indexOf)(i,t.getAxis("y").model)>=0)&&o.push(t)}),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:o[0],coordSyses:o,getPanelRect:tN.grid,xAxisDeclared:a[t.id],yAxisDeclared:s[t.id]})}))},geo:function(t,e){Object(g.each)(t.geoModels,function(t){var n=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:n,coordSyses:[n],getPanelRect:tN.geo})})}},JP=[function(t,e){var n=t.xAxisModel,i=t.yAxisModel,r=t.gridModel;return!r&&n&&(r=n.axis.grid.model),!r&&i&&(r=i.axis.grid.model),r&&r===e.gridModel},function(t,e){var n=t.geoModel;return n&&n===e.geoModel}],tN={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(Cc(t)),e}},eN={lineX:Object(g.curry)(nN,0),lineY:Object(g.curry)(nN,1),rect:function(t,e,n,i){var r=t?e.pointToData([n[0][0],n[1][0]],i):e.dataToPoint([n[0][0],n[1][0]],i),o=t?e.pointToData([n[0][1],n[1][1]],i):e.dataToPoint([n[0][1],n[1][1]],i),a=[XP([r[0],o[0]]),XP([r[1],o[1]])];return{values:a,xyMinMax:a}},polygon:function(t,e,n,i){var r=[[1/0,-1/0],[1/0,-1/0]];return{values:Object(g.map)(n,function(n){var o=t?e.pointToData(n,i):e.dataToPoint(n,i);return r[0][0]=Math.min(r[0][0],o[0]),r[1][0]=Math.min(r[1][0],o[1]),r[0][1]=Math.max(r[0][1],o[0]),r[1][1]=Math.max(r[1][1],o[1]),o}),xyMinMax:r}}};function nN(t,e,n,i){var r=n.getAxis(["x","y"][t]),o=XP(Object(g.map)([0,1],function(t){return e?r.coordToData(r.toLocalCoord(i[t]),!0):r.toGlobalCoord(r.dataToCoord(i[t]))})),a=[];return a[t]=o,a[1-t]=[NaN,NaN],{values:o,xyMinMax:a}}var iN={lineX:Object(g.curry)(rN,0),lineY:Object(g.curry)(rN,1),rect:function(t,e,n){return[[t[0][0]-n[0]*e[0][0],t[0][1]-n[0]*e[0][1]],[t[1][0]-n[1]*e[1][0],t[1][1]-n[1]*e[1][1]]]},polygon:function(t,e,n){return Object(g.map)(t,function(t,i){return[t[0]-n[0]*e[i][0],t[1]-n[1]*e[i][1]]})}};function rN(t,e,n,i){return[e[0]-i[t]*n[0],e[1]-i[t]*n[1]]}function oN(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}var aN,sN,lN=YP,cN=g.each,uN=Qi+"toolbox-dataZoom_",hN=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return p(e,t),e.prototype.render=function(t,e,n,i){this._brushController||(this._brushController=new PE(n.getZr()),this._brushController.on("brush",g.bind(this._onBrush,this)).mount()),function(t,e,n,i,r){var o=n._isZoomActive;i&&"takeGlobalCursor"===i.type&&(o="dataZoomSelect"===i.key&&i.dataZoomSelectActive);n._isZoomActive=o,t.setIconStatus("zoom",o?"emphasis":"normal");var a=new lN(fN(t),e,{include:["grid"]}).makePanelOpts(r,function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"});n._brushController.setPanels(a).enableBrush(!(!o||!a.length)&&{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()})}(t,e,this,i,n),function(t,e){t.setIconStatus("back",function(t){return $P(t).length}(e)>1?"emphasis":"normal")}(t,e)},e.prototype.onclick=function(t,e,n){dN[n].call(this)},e.prototype.remove=function(t,e){this._brushController&&this._brushController.unmount()},e.prototype.dispose=function(t,e){this._brushController&&this._brushController.dispose()},e.prototype._onBrush=function(t){var e=t.areas;if(t.isEnd&&e.length){var n={},i=this.ecModel;this._brushController.updateCovers([]),new lN(fN(this.model),i,{include:["grid"]}).matchOutputRanges(e,i,function(t,e,n){if("cartesian2d"===n.type){var i=t.brushType;"rect"===i?(r("x",n,e[0]),r("y",n,e[1])):r({lineX:"x",lineY:"y"}[i],n,e)}}),function(t,e){var n=$P(t);VP(e,function(e,i){for(var r=n.length-1;r>=0&&!n[r][i];r--);if(r<0){var o=t.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(o){var a=o.getPercentRange();n[0][i]={dataZoomId:i,start:a[0],end:a[1]}}}}),n.push(e)}(i,n),this._dispatchZoomAction(n)}function r(t,e,r){var o=e.getAxis(t),a=o.model,s=function(t,e,n){var i;return n.eachComponent({mainType:"dataZoom",subType:"select"},function(n){n.getAxisModel(t,e.componentIndex)&&(i=n)}),i}(t,a,i),l=s.findRepresentativeAxisProxy(a).getMinMaxSpan();null==l.minValueSpan&&null==l.maxValueSpan||(r=DO(0,r.slice(),o.scale.getExtent(),0,l.minValueSpan,l.maxValueSpan)),s&&(n[s.id]={dataZoomId:s.id,startValue:r[0],endValue:r[1]})}},e.prototype._dispatchZoomAction=function(t){var e=[];cN(t,function(t,n){e.push(g.clone(t))}),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},e.getDefaultOption=function(t){return{show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:t.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}}},e}(xP),dN={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(function(t){var e=$P(t),n=e[e.length-1];e.length>1&&e.pop();var i={};return VP(n,function(t,n){for(var r=e.length-1;r>=0;r--)if(t=e[r][n]){i[n]=t;break}}),i}(this.ecModel))}};function fN(t){var e={xAxisIndex:t.get("xAxisIndex",!0),yAxisIndex:t.get("yAxisIndex",!0),xAxisId:t.get("xAxisId",!0),yAxisId:t.get("yAxisId",!0)};return null==e.xAxisIndex&&null==e.xAxisId&&(e.xAxisIndex="all"),null==e.yAxisIndex&&null==e.yAxisId&&(e.yAxisIndex="all"),e}aN="dataZoom",sN=function(t){var e=t.getComponent("toolbox",0),n=["feature","dataZoom"];if(e&&null!=e.get(n)){var i=e.getModel(n),r=[],o=nr(t,fN(i));return cN(o.xAxisModels,function(t){return a(t,"xAxis","xAxisIndex")}),cN(o.yAxisModels,function(t){return a(t,"yAxis","yAxisIndex")}),r}function a(t,e,n){var o=t.componentIndex,a={type:"select",$fromToolbox:!0,filterMode:i.get("filterMode",!0)||"filter",id:uN+e+o};a[n]=o,r.push(a)}},Object(g.assert)(null==zh.get(aN)&&sN),zh.set(aN,sN);var pN=hN;var AN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},e}(Ch);function gN(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function vN(t){if(A.a.domSupported)for(var e=document.documentElement.style,n=0,i=t.length;n<i;n++)if(t[n]in e)return t[n]}var mN=vN(["transform","webkitTransform","OTransform","MozTransform","msTransform"]);function yN(t,e){if(!t)return e;e=th(e,!0);var n=t.indexOf(e);return(t=-1===n?e:"-"+t.slice(0,n)+"-"+e).toLowerCase()}var bN=yN(vN(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),"transition"),_N=yN(mN,"transform"),wN="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(A.a.transform3dSupported?"will-change:transform;":"");function xN(t,e,n){var i=t.toFixed(0)+"px",r=e.toFixed(0)+"px";if(!A.a.transformSupported)return n?"top:"+r+";left:"+i+";":[["top",r],["left",i]];var o=A.a.transform3dSupported,a="translate"+(o?"3d":"")+"("+i+","+r+(o?",0":"")+")";return n?"top:0;left:0;"+_N+":"+a+";":[["top",0],["left",0],[mN,a]]}function CN(t,e,n){var i=[],r=t.get("transitionDuration"),o=t.get("backgroundColor"),a=t.get("shadowBlur"),s=t.get("shadowColor"),l=t.get("shadowOffsetX"),c=t.get("shadowOffsetY"),u=t.getModel("textStyle"),h=qf(t,"html"),d=l+"px "+c+"px "+a+"px "+s;return i.push("box-shadow:"+d),e&&r&&i.push(function(t,e){var n=" "+t/2+"s cubic-bezier(0.23,1,0.32,1)",i="opacity"+n+",visibility"+n;return e||(n=" "+t+"s cubic-bezier(0.23,1,0.32,1)",i+=A.a.transformSupported?","+_N+n:",left"+n+",top"+n),bN+":"+i}(r,n)),o&&i.push("background-color:"+o),Object(g.each)(["width","color","radius"],function(e){var n="border-"+e,r=th(n),o=t.get(r);null!=o&&i.push(n+":"+o+("color"===e?"":"px"))}),i.push(function(t){var e=[],n=t.get("fontSize"),i=t.getTextColor();i&&e.push("color:"+i),e.push("font:"+t.getFont()),n&&e.push("line-height:"+Math.round(3*n/2)+"px");var r=t.get("textShadowColor"),o=t.get("textShadowBlur")||0,a=t.get("textShadowOffsetX")||0,s=t.get("textShadowOffsetY")||0;return r&&o&&e.push("text-shadow:"+a+"px "+s+"px "+o+"px "+r),Object(g.each)(["decoration","align"],function(n){var i=t.get(n);i&&e.push("text-"+n+":"+i)}),e.join(";")}(u)),null!=h&&i.push("padding:"+eh(h).join("px ")+"px"),i.join(";")+";"}function SN(t,e,n,i,r){var o=e&&e.painter;if(n){var a=o&&o.getViewportRoot();a&&function(t,e,n,i,r){X(Y,e,i,r,!0)&&X(t,n,Y[0],Y[1])}(t,a,document.body,i,r)}else{t[0]=i,t[1]=r;var s=o&&o.getViewportRootOffset();s&&(t[0]+=s.offsetLeft,t[1]+=s.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var BN=function(){function t(t,e,n){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,A.a.wxa)return null;var i=document.createElement("div");i.domBelongToZr=!0,this.el=i;var r=this._zr=e.getZr(),o=this._appendToBody=n&&n.appendToBody;SN(this._styleCoord,r,o,e.getWidth()/2,e.getHeight()/2),o?document.body.appendChild(i):t.appendChild(i),this._container=t;var a=this;i.onmouseenter=function(){a._enterable&&(clearTimeout(a._hideTimeout),a._show=!0),a._inContent=!0},i.onmousemove=function(t){if(t=t||window.event,!a._enterable){var e=r.handler;st(r.painter.getViewportRoot(),t,!0),e.dispatch("mousemove",t)}},i.onmouseleave=function(){a._inContent=!1,a._enterable&&a._show&&a.hideLater(a._hideDelay)}}return t.prototype.update=function(t){var e,n,i,r=this._container,o=(n="position",(i=(e=r).currentStyle||document.defaultView&&document.defaultView.getComputedStyle(e))?n?i[n]:i:null),a=r.style;"absolute"!==a.position&&"absolute"!==o&&(a.position="relative");var s=t.get("alwaysShowContent");s&&this._moveIfResized(),this._alwaysShowContent=s,this.el.className=t.get("className")||""},t.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,i=n.style,r=this._styleCoord;n.innerHTML?i.cssText=wN+CN(t,!this._firstShow,this._longHide)+xN(r[0],r[1],!0)+"border-color:"+ch(e)+";"+(t.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):i.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(t,e,n,i,r){var o=this.el;if(null!=t){var a="";if(Object(g.isString)(r)&&"item"===n.get("trigger")&&!gN(n)&&(a=function(t,e,n){if(!Object(g.isString)(n)||"inside"===n)return"";var i=t.get("backgroundColor"),r=t.get("borderWidth");e=ch(e);var o,a,s=o="left"===(o=n)?"right":"right"===o?"left":"top"===o?"bottom":"top",l=Math.max(1.5*Math.round(r),6),c="",u=_N+":";Object(g.indexOf)(["left","right"],s)>-1?(c+="top:50%",u+="translateY(-50%) rotate("+(a="left"===s?-225:-45)+"deg)"):(c+="left:50%",u+="translateX(-50%) rotate("+(a="top"===s?225:45)+"deg)");var h=a*Math.PI/180,d=l+r,f=d*Math.abs(Math.cos(h))+d*Math.abs(Math.sin(h)),p=e+" solid "+r+"px;";return'<div style="'+["position:absolute;width:"+l+"px;height:"+l+"px;z-index:-1;",(c+=";"+s+":-"+Math.round(100*((f-Math.SQRT2*r)/2+Math.SQRT2*r-(f-d)/2))/100+"px")+";"+u+";","border-bottom:"+p,"border-right:"+p,"background-color:"+i+";"].join("")+'"></div>'}(n,i,r)),Object(g.isString)(t))o.innerHTML=t+a;else if(t){o.innerHTML="",Object(g.isArray)(t)||(t=[t]);for(var s=0;s<t.length;s++)Object(g.isDom)(t[s])&&t[s].parentNode!==o&&o.appendChild(t[s]);if(a&&o.childNodes.length){var l=document.createElement("div");l.innerHTML=a,o.appendChild(l)}}}else o.innerHTML=""},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el;return[t.offsetWidth,t.offsetHeight]},t.prototype.moveTo=function(t,e){var n=this._styleCoord;if(SN(n,this._zr,this._appendToBody,t,e),null!=n[0]&&null!=n[1]){var i=this.el.style,r=xN(n[0],n[1]);Object(g.each)(r,function(t){i[t[0]]=t[1]})}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){var t=this,e=this.el.style;e.visibility="hidden",e.opacity="0",A.a.transform3dSupported&&(e.willChange=""),this._show=!1,this._longHideTimeout=setTimeout(function(){return t._longHide=!0},500)},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(Object(g.bind)(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this.el.parentNode.removeChild(this.el)},t}();function kN(t){return Math.max(0,t)}function TN(t){var e=kN(t.shadowBlur||0),n=kN(t.shadowOffsetX||0),i=kN(t.shadowOffsetY||0);return{left:kN(e-n),right:kN(e+n),top:kN(e-i),bottom:kN(e+i)}}function ON(t,e,n,i){t[0]=n,t[1]=i,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var EN=function(){function t(t){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=t.getZr(),ON(this._styleCoord,this._zr,t.getWidth()/2,t.getHeight()/2)}return t.prototype.update=function(t){var e=t.get("alwaysShowContent");e&&this._moveIfResized(),this._alwaysShowContent=e},t.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},t.prototype.setContent=function(t,e,n,i,r){var o=this;g.isObject(t)&&ji(""),this.el&&this._zr.remove(this.el);var a=n.getModel("textStyle");this.el=new ka({style:{rich:e.richTextStyles,text:t,lineHeight:22,borderWidth:1,borderColor:i,textShadowColor:a.get("textShadowColor"),fill:n.get(["textStyle","color"]),padding:qf(n,"richText"),verticalAlign:"top",align:"left"},z:n.get("z")}),g.each(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],function(t){o.el.style[t]=n.get(t)}),g.each(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],function(t){o.el.style[t]=a.get(t)||0}),this._zr.add(this.el);var s=this;this.el.on("mouseover",function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0}),this.el.on("mouseout",function(){s._enterable&&s._show&&s.hideLater(s._hideDelay),s._inContent=!1})},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el,e=this.el.getBoundingRect(),n=TN(t.style);return[e.width+n.left+n.right,e.height+n.top+n.bottom]},t.prototype.moveTo=function(t,e){var n=this.el;if(n){var i=this._styleCoord;ON(i,this._zr,t,e),t=i[0],e=i[1];var r=n.style,o=kN(r.borderWidth||0),a=TN(r);n.x=t+o+a.left,n.y=e+o+a.top,n.markRedraw()}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(g.bind(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this._zr.remove(this.el)},t}(),IN=new ha({shape:{x:-1,y:-1,width:2,height:2}});function MN(t,e,n){var i,r=e.ecModel;n?(i=new du(n,r,r),i=new du(e.option,i,r)):i=e;for(var o=t.length-1;o>=0;o--){var a=t[o];a&&(a instanceof du&&(a=a.get("tooltip",!0)),Object(g.isString)(a)&&(a={formatter:a}),a&&(i=new du(a,i,r)))}return i}function DN(t,e){return t.dispatchAction||Object(g.bind)(e.dispatchAction,e)}function LN(t){return"center"===t||"middle"===t}var FN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.init=function(t,e){if(!A.a.node&&e.getDom()){var n,i=t.getComponent("tooltip"),r=this._renderMode="auto"===(n=i.get("renderMode"))?A.a.domSupported?"html":"richText":n||"html";this._tooltipContent="richText"===r?new EN(e):new BN(e.getDom(),e,{appendToBody:i.get("appendToBody",!0)})}},e.prototype.render=function(t,e,n){if(!A.a.node&&n.getDom()){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=n;var i=this._tooltipContent;i.update(t),i.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow(),"richText"!==this._renderMode&&t.get("transitionDuration")?Tp(this,"_updatePosition",50,"fixRate"):Op(this,"_updatePosition")}},e.prototype._initGlobalListener=function(){var t=this._tooltipModel.get("triggerOn");SL("itemTooltip",this._api,Object(g.bind)(function(e,n,i){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(n,i):"leave"===e&&this._hide(i))},this))},e.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,n=this._api,i=t.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==i&&"click"!==i){var r=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!n.isDisposed()&&r.manuallyShowTip(t,e,n,{x:r._lastX,y:r._lastY,dataByCoordSys:r._lastDataByCoordSys})})}},e.prototype.manuallyShowTip=function(t,e,n,i){if(i.from!==this.uid&&!A.a.node&&n.getDom()){var r=DN(i,n);this._ticket="";var o=i.dataByCoordSys,a=function(t,e,n){var i=ir(t).queryOptionMap,r=i.keys()[0];if(!r||"series"===r)return;var o,a=ar(e,r,i.get(r),{useDefault:!1,enableAll:!1,enableNone:!1}).models[0];if(!a)return;if(n.getViewOfComponentModel(a).group.traverse(function(e){var n=Ta(e).tooltipConfig;if(n&&n.name===t.name)return o=e,!0}),o)return{componentMainType:r,componentIndex:a.componentIndex,el:o}}(i,e,n);if(a){var s=a.el.getBoundingRect().clone();s.applyTransform(a.el.transform),this._tryShow({offsetX:s.x+s.width/2,offsetY:s.y+s.height/2,target:a.el,position:i.position,positionDefault:"bottom"},r)}else if(i.tooltip&&null!=i.x&&null!=i.y){var l=IN;l.x=i.x,l.y=i.y,l.update(),Ta(l).tooltipConfig={name:null,option:i.tooltip},this._tryShow({offsetX:i.x,offsetY:i.y,target:l},r)}else if(o)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:o,tooltipOption:i.tooltipOption},r);else if(null!=i.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,i))return;var c=EL(i,e),u=c.point[0],h=c.point[1];null!=u&&null!=h&&this._tryShow({offsetX:u,offsetY:h,target:c.el,position:i.position,positionDefault:"bottom"},r)}else null!=i.x&&null!=i.y&&(n.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:n.getZr().findHover(i.x,i.y).target},r))}},e.prototype.manuallyHideTip=function(t,e,n,i){var r=this._tooltipContent;this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,i.from!==this.uid&&this._hide(DN(i,n))},e.prototype._manuallyAxisShowTip=function(t,e,n,i){var r=i.seriesIndex,o=i.dataIndex,a=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=o&&null!=a){var s=e.getSeriesByIndex(r);if(s)if("axis"===MN([s.getData().getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:o,position:i.position}),!0}},e.prototype._tryShow=function(t,e){var n=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var i=t.dataByCoordSys;if(i&&i.length)this._showAxisTooltip(i,t);else if(n){var r,o;this._lastDataByCoordSys=null,gA(n,function(t){return null!=Ta(t).dataIndex?(r=t,!0):null!=Ta(t).tooltipConfig?(o=t,!0):void 0},!0),r?this._showSeriesItemTooltip(t,r,e):o?this._showComponentItemTooltip(t,o,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var n=t.get("showDelay");e=Object(g.bind)(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},e.prototype._showAxisTooltip=function(t,e){var n=this._ecModel,i=this._tooltipModel,r=[e.offsetX,e.offsetY],o=MN([e.tooltipOption],i),a=this._renderMode,s=[],l=Hf("section",{blocks:[],noHeader:!0}),c=[],u=new Zf;Object(g.each)(t,function(t){Object(g.each)(t.dataByAxis,function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),r=t.value;if(e&&null!=r){var o=hL(r,e.axis,n,t.seriesDataIndices,t.valueLabelOpt),h=Hf("section",{header:o,noHeader:!Object(g.trim)(o),sortBlocks:!0,blocks:[]});l.blocks.push(h),Object(g.each)(t.seriesDataIndices,function(l){var d=n.getSeriesByIndex(l.seriesIndex),f=l.dataIndexInside,p=d.getDataParams(f);if(!(p.dataIndex<0)){p.axisDim=t.axisDim,p.axisIndex=t.axisIndex,p.axisType=t.axisType,p.axisId=t.axisId,p.axisValue=by(e.axis,{value:r}),p.axisValueLabel=o,p.marker=u.makeTooltipMarker("item",ch(p.color),a);var A=of(d.formatTooltip(f,!0,null)),v=A.frag;if(v){var m=MN([d],i).get("valueFormatter");h.blocks.push(m?Object(g.extend)({valueFormatter:m},v):v)}A.text&&c.push(A.text),s.push(p)}})}})}),l.blocks.reverse(),c.reverse();var h=e.position,d=o.get("order"),f=Wf(l,u,a,d,n.get("useUTC"),o.get("textStyle"));f&&c.unshift(f);var p="richText"===a?"\n\n":"<br/>",A=c.join(p);this._showOrMove(o,function(){this._updateContentNotChangedOnAxis(t,s)?this._updatePosition(o,h,r[0],r[1],this._tooltipContent,s):this._showTooltipContent(o,A,s,Math.random()+"",r[0],r[1],h,null,u)})},e.prototype._showSeriesItemTooltip=function(t,e,n){var i=this._ecModel,r=Ta(e),o=r.seriesIndex,a=i.getSeriesByIndex(o),s=r.dataModel||a,l=r.dataIndex,c=r.dataType,u=s.getData(c),h=this._renderMode,d=t.positionDefault,f=MN([u.getItemModel(l),s,a&&(a.coordinateSystem||{}).model],this._tooltipModel,d?{position:d}:null),p=f.get("trigger");if(null==p||"item"===p){var A=s.getDataParams(l,c),v=new Zf;A.marker=v.makeTooltipMarker("item",ch(A.color),h);var m=of(s.formatTooltip(l,!1,c)),y=f.get("order"),b=f.get("valueFormatter"),_=m.frag,w=_?Wf(b?Object(g.extend)({valueFormatter:b},_):_,v,h,y,i.get("useUTC"),f.get("textStyle")):m.text,x="item_"+s.name+"_"+l;this._showOrMove(f,function(){this._showTooltipContent(f,w,A,x,t.offsetX,t.offsetY,t.position,t.target,v)}),n({type:"showTip",dataIndexInside:l,dataIndex:u.getRawIndex(l),seriesIndex:o,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,n){var i=Ta(e),r=i.tooltipConfig.option||{};if(Object(g.isString)(r)){r={content:r,formatter:r}}var o=[r],a=this._ecModel.getComponent(i.componentMainType,i.componentIndex);a&&o.push(a),o.push({formatter:r.content});var s=t.positionDefault,l=MN(o,this._tooltipModel,s?{position:s}:null),c=l.get("content"),u=Math.random()+"",h=new Zf;this._showOrMove(l,function(){var n=Object(g.clone)(l.get("formatterParams")||{});this._showTooltipContent(l,c,n,u,t.offsetX,t.offsetY,t.position,e,h)}),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,e,n,i,r,o,a,s,l){if(this._ticket="",t.get("showContent")&&t.get("show")){var c=this._tooltipContent;c.setEnterable(t.get("enterable"));var u=t.get("formatter");a=a||t.get("position");var h=e,d=this._getNearestPoint([r,o],n,t.get("trigger"),t.get("borderColor")).color;if(u)if(Object(g.isString)(u)){var f=t.ecModel.get("useUTC"),p=Object(g.isArray)(n)?n[0]:n;h=u,p&&p.axisType&&p.axisType.indexOf("time")>=0&&(h=Fu(p.axisValue,h,f)),h=oh(h,n,!0)}else if(Object(g.isFunction)(u)){var A=Object(g.bind)(function(e,i){e===this._ticket&&(c.setContent(i,l,t,d,a),this._updatePosition(t,a,r,o,c,n,s))},this);this._ticket=i,h=u(n,i,A)}else h=u;c.setContent(h,l,t,d,a),c.show(t,d),this._updatePosition(t,a,r,o,c,n,s)}},e.prototype._getNearestPoint=function(t,e,n,i){return"axis"===n||Object(g.isArray)(e)?{color:i||("html"===this._renderMode?"#fff":"none")}:Object(g.isArray)(e)?void 0:{color:i||e.color||e.borderColor}},e.prototype._updatePosition=function(t,e,n,i,r,o,a){var s=this._api.getWidth(),l=this._api.getHeight();e=e||t.get("position");var c=r.getSize(),u=t.get("align"),h=t.get("verticalAlign"),d=a&&a.getBoundingRect().clone();if(a&&d.applyTransform(a.transform),Object(g.isFunction)(e)&&(e=e([n,i],o,r.el,d,{viewSize:[s,l],contentSize:c.slice()})),Object(g.isArray)(e))n=pi(e[0],s),i=pi(e[1],l);else if(Object(g.isObject)(e)){var f=e;f.width=c[0],f.height=c[1];var p=gh(f,{width:s,height:l});n=p.x,i=p.y,u=null,h=null}else if(Object(g.isString)(e)&&a){var A=function(t,e,n,i){var r=n[0],o=n[1],a=Math.ceil(Math.SQRT2*i)+8,s=0,l=0,c=e.width,u=e.height;switch(t){case"inside":s=e.x+c/2-r/2,l=e.y+u/2-o/2;break;case"top":s=e.x+c/2-r/2,l=e.y-o-a;break;case"bottom":s=e.x+c/2-r/2,l=e.y+u+a;break;case"left":s=e.x-r-a,l=e.y+u/2-o/2;break;case"right":s=e.x+c+a,l=e.y+u/2-o/2}return[s,l]}(e,d,c,t.get("borderWidth"));n=A[0],i=A[1]}else{A=function(t,e,n,i,r,o,a){var s=n.getSize(),l=s[0],c=s[1];null!=o&&(t+l+o+2>i?t-=l+o:t+=o);null!=a&&(e+c+a>r?e-=c+a:e+=a);return[t,e]}(n,i,r,s,l,u?null:20,h?null:20);n=A[0],i=A[1]}if(u&&(n-=LN(u)?c[0]/2:"right"===u?c[0]:0),h&&(i-=LN(h)?c[1]/2:"bottom"===h?c[1]:0),gN(t)){A=function(t,e,n,i,r){var o=n.getSize(),a=o[0],s=o[1];return t=Math.min(t+a,i)-a,e=Math.min(e+s,r)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}(n,i,r,s,l);n=A[0],i=A[1]}r.moveTo(n,i)},e.prototype._updateContentNotChangedOnAxis=function(t,e){var n=this._lastDataByCoordSys,i=this._cbParamsList,r=!!n&&n.length===t.length;return r&&Object(g.each)(n,function(n,o){var a=n.dataByAxis||[],s=(t[o]||{}).dataByAxis||[];(r=r&&a.length===s.length)&&Object(g.each)(a,function(t,n){var o=s[n]||{},a=t.seriesDataIndices||[],l=o.seriesDataIndices||[];(r=r&&t.value===o.value&&t.axisType===o.axisType&&t.axisId===o.axisId&&a.length===l.length)&&Object(g.each)(a,function(t,e){var n=l[e];r=r&&t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex}),i&&Object(g.each)(t.seriesDataIndices,function(t){var n=t.seriesIndex,o=e[n],a=i[n];o&&a&&a.data!==o.data&&(r=!1)})})}),this._lastDataByCoordSys=t,this._cbParamsList=e,!!r},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,e){!A.a.node&&e.getDom()&&(Op(this,"_updatePosition"),this._tooltipContent.dispose(),TL("itemTooltip",e))},e.type="tooltip",e}(fp);var PN=["rect","polygon","keep","clear"];function NN(t,e){var n=Hi(t?t.brush:[]);if(n.length){var i=[];g.each(n,function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(i=i.concat(e))});var r=t&&t.toolbox;g.isArray(r)&&(r=r[0]),r||(r={feature:{}},t.toolbox=[r]);var o,a,s=r.feature||(r.feature={}),l=s.brush||(s.brush={}),c=l.type||(l.type=[]);c.push.apply(c,i),o=c,a={},g.each(o,function(t){a[t]=1}),o.length=0,g.each(a,function(t,e){o.push(e)}),e&&!c.length&&c.push.apply(c,PN)}}var jN=g.each;function UN(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}function RN(t,e,n){var i={};return jN(e,function(e){var r,o=i[e]=((r=function(){}).prototype.__hidden=r.prototype,new r);jN(t[e],function(t,i){if(Pk.isValidType(i)){var r={type:i,visual:t};n&&n(r,e),o[i]=new Pk(r),"opacity"===i&&((r=g.clone(r)).type="colorAlpha",o.__hidden.__alphaForOpacity=new Pk(r))}})}),i}function QN(t,e,n){var i;g.each(n,function(t){e.hasOwnProperty(t)&&UN(e[t])&&(i=!0)}),i&&g.each(n,function(n){e.hasOwnProperty(n)&&UN(e[n])?t[n]=g.clone(e[n]):delete t[n]})}var HN={lineX:VN(0),lineY:VN(1),rect:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])},rect:function(t,e,n){return t&&n.boundingRect.intersect(t)}},polygon:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])&&My(n.range,t[0],t[1])},rect:function(t,e,n){var i=n.range;if(!t||i.length<=1)return!1;var r=t.x,o=t.y,a=t.width,s=t.height,l=i[0];return!!(My(i,r,o)||My(i,r+a,o)||My(i,r,o+s)||My(i,r+a,o+s)||Mt.create(t).contain(l[0],l[1])||Mc(r,o,r+a,o,i)||Mc(r,o,r,o+s,i)||Mc(r+a,o,r+a,o+s,i)||Mc(r,o+s,r+a,o+s,i))||void 0}}};function VN(t){var e=["x","y"],n=["width","height"];return{point:function(e,n,i){if(e){var r=i.range;return zN(e[t],r)}},rect:function(i,r,o){if(i){var a=o.range,s=[i[e[t]],i[e[t]]+i[n[t]]];return s[1]<s[0]&&s.reverse(),zN(s[0],a)||zN(s[1],a)||zN(a[0],s)||zN(a[1],s)}}}}function zN(t,e){return e[0]<=t&&t<=e[1]}var $N=["inBrush","outOfBrush"],GN="__ecBrushSelect",WN="__ecInBrushSelectEvent";function KN(t){t.eachComponent({mainType:"brush"},function(e){(e.brushTargetManager=new lN(e.option,t)).setInputRanges(e.areas,t)})}function YN(t,e,n){var i,r,o=[];t.eachComponent({mainType:"brush"},function(t){n&&"takeGlobalCursor"===n.type&&t.setBrushOption("brush"===n.key?n.brushOption:{brushType:!1})}),KN(t),t.eachComponent({mainType:"brush"},function(e,n){var a={brushId:e.id,brushIndex:n,brushName:e.name,areas:g.clone(e.areas),selected:[]};o.push(a);var s=e.option,l=s.brushLink,c=[],u=[],h=[],d=!1;n||(i=s.throttleType,r=s.throttleDelay);var f=g.map(e.areas,function(t){var e=ZN[t.brushType],n=g.defaults({boundingRect:e?e(t):void 0},t);return n.selectors=function(t){var e=t.brushType,n={point:function(i){return HN[e].point(i,n,t)},rect:function(i){return HN[e].rect(i,n,t)}};return n}(n),n}),p=RN(e.option,$N,function(t){t.mappingMethod="fixed"});function A(t){return"all"===l||!!c[t]}function v(t){return!!t.length}g.isArray(l)&&g.each(l,function(t){c[t]=1}),t.eachSeries(function(n,i){var r=h[i]=[];"parallel"===n.subType?function(t,e){var n=t.coordinateSystem;d=d||n.hasAxisBrushed(),A(e)&&n.eachActiveState(t.getData(),function(t,e){"active"===t&&(u[e]=1)})}(n,i):function(n,i,r){if(!n.brushSelector||function(t,e){var n=t.option.seriesIndex;return null!=n&&"all"!==n&&(g.isArray(n)?g.indexOf(n,e)<0:e!==n)}(e,i))return;if(g.each(f,function(i){e.brushTargetManager.controlSeries(i,n,t)&&r.push(i),d=d||v(r)}),A(i)&&v(r)){var o=n.getData();o.each(function(t){qN(n,r,o,t)&&(u[t]=1)})}}(n,i,r)}),t.eachSeries(function(t,e){var n={seriesId:t.id,seriesIndex:e,seriesName:t.name,dataIndex:[]};a.selected.push(n);var i=h[e],r=t.getData(),o=A(e)?function(t){return u[t]?(n.dataIndex.push(r.getRawIndex(t)),"inBrush"):"outOfBrush"}:function(e){return qN(t,i,r,e)?(n.dataIndex.push(r.getRawIndex(e)),"inBrush"):"outOfBrush"};(A(e)?d:v(i))&&function(t,e,n,i,r,o){var a,s={};function l(t){return hA(n,a,t)}function c(t,e){fA(n,a,t,e)}function u(t,u){a=null==o?t:u;var h=n.getRawDataItem(a);if(!h||!1!==h.visualMap)for(var d=i.call(r,t),f=e[d],p=s[d],A=0,g=p.length;A<g;A++){var v=p[A];f[v]&&f[v].applyVisual(t,l,c)}}g.each(t,function(t){var n=Pk.prepareVisualTypes(e[t]);s[t]=n}),null==o?n.each(u):n.each([o],u)}($N,p,r,o)})}),function(t,e,n,i,r){if(!r)return;var o=t.getZr();if(o[WN])return;o[GN]||(o[GN]=XN);Tp(o,GN,n,e)(t,i)}(e,i,r,o,n)}function XN(t,e){if(!t.isDisposed()){var n=t.getZr();n[WN]=!0,t.dispatchAction({type:"brushSelect",batch:e}),n[WN]=!1}}function qN(t,e,n,i){for(var r=0,o=e.length;r<o;r++){var a=e[r];if(t.brushSelector(i,n,a.selectors,a))return!0}}var ZN={rect:function(t){return JN(t.range)},polygon:function(t){for(var e,n=t.range,i=0,r=n.length;i<r;i++){e=e||[[1/0,-1/0],[1/0,-1/0]];var o=n[i];o[0]<e[0][0]&&(e[0][0]=o[0]),o[0]>e[0][1]&&(e[0][1]=o[0]),o[1]<e[1][0]&&(e[1][0]=o[1]),o[1]>e[1][1]&&(e[1][1]=o[1])}return e&&JN(e)}};function JN(t){return new Mt(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}var tj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e,this.model,(this._brushController=new PE(e.getZr())).on("brush",g.bind(this._onBrush,this)).mount()},e.prototype.render=function(t,e,n,i){this.model=t,this._updateController(t,e,n,i)},e.prototype.updateTransform=function(t,e,n,i){KN(e),this._updateController(t,e,n,i)},e.prototype.updateVisual=function(t,e,n,i){this.updateTransform(t,e,n,i)},e.prototype.updateView=function(t,e,n,i){this._updateController(t,e,n,i)},e.prototype._updateController=function(t,e,n,i){(!i||i.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(n)).enableBrush(t.brushOption).updateCovers(t.areas.slice())},e.prototype.dispose=function(){this._brushController.dispose()},e.prototype._onBrush=function(t){var e=this.model.id,n=this.model.brushTargetManager.setOutputRanges(t.areas,this.ecModel);(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:e,areas:g.clone(n),$from:e}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:e,areas:g.clone(n),$from:e})},e.type="brush",e}(fp);function ej(t,e){return g.merge({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new du(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}var nj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.areas=[],n.brushOption={},n}return p(e,t),e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&QN(n,t,["inBrush","outOfBrush"]);var i=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:"#ddd"},i.hasOwnProperty("liftZ")||(i.liftZ=5)},e.prototype.setAreas=function(t){t&&(this.areas=g.map(t,function(t){return ej(this.option,t)},this))},e.prototype.setBrushOption=function(t){this.brushOption=ej(this.option,t),this.brushType=this.brushOption.brushType},e.type="brush",e.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],e.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},e}(Ch),ij=["rect","polygon","lineX","lineY","keep","clear"],rj=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return p(e,t),e.prototype.render=function(t,e,n){var i,r,o;e.eachComponent({mainType:"brush"},function(t){i=t.brushType,r=t.brushOption.brushMode||"single",o=o||!!t.areas.length}),this._brushType=i,this._brushMode=r,g.each(t.get("type",!0),function(e){t.setIconStatus(e,("keep"===e?"multiple"===r:"clear"===e?o:e===i)?"emphasis":"normal")})},e.prototype.updateView=function(t,e,n){this.render(t,e,n)},e.prototype.getIcons=function(){var t=this.model,e=t.get("icon",!0),n={};return g.each(t.get("type",!0),function(t){e[t]&&(n[t]=e[t])}),n},e.prototype.onclick=function(t,e,n){var i=this._brushType,r=this._brushMode;"clear"===n?(e.dispatchAction({type:"axisAreaSelect",intervals:[]}),e.dispatchAction({type:"brush",command:"clear",areas:[]})):e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?i:i!==n&&n,brushMode:"keep"===n?"multiple"===r?"single":"multiple":r}})},e.getDefaultOption=function(t){return{show:!0,type:ij.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:t.getLocaleModel().get(["toolbox","brush","title"])}},e}(xP);var oj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return p(e,t),e.type="title",e.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},e}(Ch),aj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.render=function(t,e,n){if(this.group.removeAll(),t.get("show")){var i=this.group,r=t.getModel("textStyle"),o=t.getModel("subtextStyle"),a=t.get("textAlign"),s=g.retrieve2(t.get("textBaseline"),t.get("textVerticalAlign")),l=new ka({style:Vc(r,{text:t.get("text"),fill:r.getTextColor()},{disableBox:!0}),z2:10}),c=l.getBoundingRect(),u=t.get("subtext"),h=new ka({style:Vc(o,{text:u,fill:o.getTextColor(),y:c.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),d=t.get("link"),f=t.get("sublink"),p=t.get("triggerEvent",!0);l.silent=!d&&!p,h.silent=!f&&!p,d&&l.on("click",function(){uh(d,"_"+t.get("target"))}),f&&h.on("click",function(){uh(f,"_"+t.get("subtarget"))}),Ta(l).eventData=Ta(h).eventData=p?{componentType:"title",componentIndex:t.componentIndex}:null,i.add(l),u&&i.add(h);var A=i.getBoundingRect(),v=t.getBoxLayoutParams();v.width=A.width,v.height=A.height;var m=gh(v,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));a||("middle"===(a=t.get("left")||t.get("right"))&&(a="center"),"right"===a?m.x+=m.width:"center"===a&&(m.x+=m.width/2)),s||("center"===(s=t.get("top")||t.get("bottom"))&&(s="middle"),"bottom"===s?m.y+=m.height:"middle"===s&&(m.y+=m.height/2),s=s||"top"),i.x=m.x,i.y=m.y,i.markRedraw();var y={align:a,verticalAlign:s};l.setStyle(y),h.setStyle(y),A=i.getBoundingRect();var b=m.margin,_=t.getItemStyle(["color","opacity"]);_.fill=t.get("backgroundColor");var w=new ha({shape:{x:A.x-b[3],y:A.y-b[0],width:A.width+b[1]+b[3],height:A.height+b[0]+b[2],r:t.get("borderRadius")},style:_,subPixelOptimize:!0,silent:!0});i.add(w)}},e.type="title",e}(fp);var sj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode="box",n}return p(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),this._initData()},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this._initData()},e.prototype.setCurrentIndex=function(t){null==t&&(t=this.option.currentIndex);var e=this._data.count();this.option.loop?t=(t%e+e)%e:(t>=e&&(t=e-1),t<0&&(t=0)),this.option.currentIndex=t},e.prototype.getCurrentIndex=function(){return this.option.currentIndex},e.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},e.prototype.setPlayState=function(t){this.option.autoPlay=!!t},e.prototype.getPlayState=function(){return!!this.option.autoPlay},e.prototype._initData=function(){var t,e=this.option,n=e.data||[],i=e.axisType,r=this._names=[];"category"===i?(t=[],Object(g.each)(n,function(e,n){var i,o=Xi($i(e),"");Object(g.isObject)(e)?(i=Object(g.clone)(e)).value=n:i=n,t.push(i),r.push(o)})):t=n;var o={category:"ordinal",time:"time",value:"number"}[i]||"number";(this._data=new rm([{name:"value",type:o}],this)).initData(t,r)},e.prototype.getData=function(){return this._data},e.prototype.getCategories=function(){if("category"===this.get("axisType"))return this._names.slice()},e.type="timeline",e.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},e}(Ch),lj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.type="timeline.slider",e.defaultOption=Au(sj.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),e}(sj);Object(g.mixin)(lj,rf.prototype);var cj=lj,uj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.type="timeline",e}(fp),hj=function(t){function e(e,n,i,r){var o=t.call(this,e,n,i)||this;return o.type=r||"value",o}return p(e,t),e.prototype.getLabelModel=function(){return this.model.getModel("label")},e.prototype.isHorizontal=function(){return"horizontal"===this.model.get("orient")},e}(eb),dj=Math.PI,fj=tr();function pj(t,e,n,i,r,o){var a=e.get("color");r?(r.setColor(a),n.add(r),o&&o.onUpdate(r)):((r=OA(t.get("symbol"),-1,-1,2,2,a)).setStyle("strokeNoScale",!0),n.add(r),o&&o.onCreate(r));var s=e.getItemStyle(["color"]);r.setStyle(s),i=Object(g.merge)({rectHover:!0,z2:100},i,!0);var l=EA(t.get("symbolSize"));i.scaleX=l[0]/2,i.scaleY=l[1]/2;var c=IA(t.get("symbolOffset"),l);c&&(i.x=(i.x||0)+c[0],i.y=(i.y||0)+c[1]);var u=t.get("symbolRotate");return i.rotation=(u||0)*Math.PI/180||0,r.attr(i),r.updateTransform(),r}function Aj(t,e,n,i,r,o){if(!t.dragging){var a=r.getModel("checkpointStyle"),s=i.dataToCoord(r.getData().get("value",n));if(o||!a.get("animation",!0))t.attr({x:s,y:0}),e&&e.attr({shape:{x2:s}});else{var l={duration:a.get("animationDuration",!0),easing:a.get("animationEasing",!0)};t.stopAnimation(null,!0),t.animateTo({x:s,y:0},l),e&&e.animateTo({shape:{x2:s}},l)}}}var gj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.init=function(t,e){this.api=e},e.prototype.render=function(t,e,n){if(this.model=t,this.api=n,this.ecModel=e,this.group.removeAll(),t.get("show",!0)){var i=this._layout(t,n),r=this._createGroup("_mainGroup"),o=this._createGroup("_labelGroup"),a=this._axis=this._createAxis(i,t);t.formatTooltip=function(t){return Hf("nameValue",{noName:!0,value:a.scale.getLabel({value:t})})},Object(g.each)(["AxisLine","AxisTick","Control","CurrentPointer"],function(e){this["_render"+e](i,r,a,t)},this),this._renderAxisLabel(i,o,a,t),this._position(i,t)}this._doPlayStop(),this._updateTicksStatus()},e.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},e.prototype.dispose=function(){this._clearTimer()},e.prototype._layout=function(t,e){var n,i,r,o,a=t.get(["label","position"]),s=t.get("orient"),l=function(t,e){return gh(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()},t.get("padding"))}(t,e),c={horizontal:"center",vertical:(n=null==a||"auto"===a?"horizontal"===s?l.y+l.height/2<e.getHeight()/2?"-":"+":l.x+l.width/2<e.getWidth()/2?"+":"-":Object(g.isString)(a)?{horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[s][a]:a)>=0||"+"===n?"left":"right"},u={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},h={horizontal:0,vertical:dj/2},d="vertical"===s?l.height:l.width,f=t.getModel("controlStyle"),p=f.get("show",!0),A=p?f.get("itemSize"):0,v=p?f.get("itemGap"):0,m=A+v,y=t.get(["label","rotate"])||0;y=y*dj/180;var b=f.get("position",!0),_=p&&f.get("showPlayBtn",!0),w=p&&f.get("showPrevBtn",!0),x=p&&f.get("showNextBtn",!0),C=0,S=d;"left"===b||"bottom"===b?(_&&(i=[0,0],C+=m),w&&(r=[C,0],C+=m),x&&(o=[S-A,0],S-=m)):(_&&(i=[S-A,0],S-=m),w&&(r=[0,0],C+=m),x&&(o=[S-A,0],S-=m));var B=[C,S];return t.get("inverse")&&B.reverse(),{viewRect:l,mainLength:d,orient:s,rotation:h[s],labelRotation:y,labelPosOpt:n,labelAlign:t.get(["label","align"])||c[s],labelBaseline:t.get(["label","verticalAlign"])||t.get(["label","baseline"])||u[s],playPosition:i,prevBtnPosition:r,nextBtnPosition:o,axisExtent:B,controlSize:A,controlGap:v}},e.prototype._position=function(t,e){var n=this._mainGroup,i=this._labelGroup,r=t.viewRect;if("vertical"===t.orient){var o=[1,0,0,1,0,0],a=r.x,s=r.y+r.height;mt(o,o,[-a,-s]),yt(o,o,-dj/2),mt(o,o,[a,s]),(r=r.clone()).applyTransform(o)}var l=v(r),c=v(n.getBoundingRect()),u=v(i.getBoundingRect()),h=[n.x,n.y],d=[i.x,i.y];d[0]=h[0]=l[0][0];var f,p=t.labelPosOpt;null==p||Object(g.isString)(p)?(m(h,c,l,1,f="+"===p?0:1),m(d,u,l,1,1-f)):(m(h,c,l,1,f=p>=0?0:1),d[1]=h[1]+p);function A(t){t.originX=l[0][0]-t.x,t.originY=l[1][0]-t.y}function v(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function m(t,e,n,i,r){t[i]+=n[i][r]-e[i][r]}n.setPosition(h),i.setPosition(d),n.rotation=i.rotation=t.rotation,A(n),A(i)},e.prototype._createAxis=function(t,e){var n=e.getData(),i=e.get("axisType"),r=function(t,e){if(e=e||t.get("type"))switch(e){case"category":return new Om({ordinalMeta:t.getCategories(),extent:[1/0,-1/0]});case"time":return new Jm({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new Mm}}(e,i);r.getTicks=function(){return n.mapArray(["value"],function(t){return{value:t}})};var o=n.getDataExtent("value");r.setExtent(o[0],o[1]),r.calcNiceTicks();var a=new hj("value",r,t.axisExtent,i);return a.model=e,a},e.prototype._createGroup=function(t){var e=this[t]=new ei;return this.group.add(e),e},e.prototype._renderAxisLine=function(t,e,n,i){var r=n.getExtent();if(i.get(["lineStyle","show"])){var o=new Ml({shape:{x1:r[0],y1:0,x2:r[1],y2:0},style:Object(g.extend)({lineCap:"round"},i.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});e.add(o);var a=this._progressLine=new Ml({shape:{x1:r[0],x2:this._currentPointer?this._currentPointer.x:r[0],y1:0,y2:0},style:Object(g.defaults)({lineCap:"round",lineWidth:o.style.lineWidth},i.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});e.add(a)}},e.prototype._renderAxisTick=function(t,e,n,i){var r=this,o=i.getData(),a=n.scale.getTicks();this._tickSymbols=[],Object(g.each)(a,function(t){var a=n.dataToCoord(t.value),s=o.getItemModel(t.value),l=s.getModel("itemStyle"),c=s.getModel(["emphasis","itemStyle"]),u=s.getModel(["progress","itemStyle"]),h={x:a,y:0,onclick:Object(g.bind)(r._changeTimeline,r,t.value)},d=pj(s,l,e,h);d.ensureState("emphasis").style=c.getItemStyle(),d.ensureState("progress").style=u.getItemStyle(),_s(d);var f=Ta(d);s.get("tooltip")?(f.dataIndex=t.value,f.dataModel=i):f.dataIndex=f.dataModel=null,r._tickSymbols.push(d)})},e.prototype._renderAxisLabel=function(t,e,n,i){var r=this;if(n.getLabelModel().get("show")){var o=i.getData(),a=n.getViewLabels();this._tickLabels=[],Object(g.each)(a,function(i){var a=i.tickValue,s=o.getItemModel(a),l=s.getModel("label"),c=s.getModel(["emphasis","label"]),u=s.getModel(["progress","label"]),h=n.dataToCoord(i.tickValue),d=new ka({x:h,y:0,rotation:t.labelRotation-t.rotation,onclick:Object(g.bind)(r._changeTimeline,r,a),silent:!1,style:Vc(l,{text:i.formattedLabel,align:t.labelAlign,verticalAlign:t.labelBaseline})});d.ensureState("emphasis").style=Vc(c),d.ensureState("progress").style=Vc(u),e.add(d),_s(d),fj(d).dataIndex=a,r._tickLabels.push(d)})}},e.prototype._renderControl=function(t,e,n,i){var r=t.controlSize,o=t.rotation,a=i.getModel("controlStyle").getItemStyle(),s=i.getModel(["emphasis","controlStyle"]).getItemStyle(),l=i.getPlayState(),c=i.get("inverse",!0);function u(t,n,l,c){if(t){var u=Vn(Object(g.retrieve2)(i.get(["controlStyle",n+"BtnSize"]),r),r),h=function(t,e,n,i){var r=i.style,o=Ic(t.get(["controlStyle",e]),i||{},new Mt(n[0],n[1],n[2],n[3]));r&&o.setStyle(r);return o}(i,n+"Icon",[0,-u/2,u,u],{x:t[0],y:t[1],originX:r/2,originY:0,rotation:c?-o:0,rectHover:!0,style:a,onclick:l});h.ensureState("emphasis").style=s,e.add(h),_s(h)}}u(t.nextBtnPosition,"next",Object(g.bind)(this._changeTimeline,this,c?"-":"+")),u(t.prevBtnPosition,"prev",Object(g.bind)(this._changeTimeline,this,c?"+":"-")),u(t.playPosition,l?"stop":"play",Object(g.bind)(this._handlePlayClick,this,!l),!0)},e.prototype._renderCurrentPointer=function(t,e,n,i){var r=i.getData(),o=i.getCurrentIndex(),a=r.getItemModel(o).getModel("checkpointStyle"),s=this,l={onCreate:function(t){t.draggable=!0,t.drift=Object(g.bind)(s._handlePointerDrag,s),t.ondragend=Object(g.bind)(s._handlePointerDragend,s),Aj(t,s._progressLine,o,n,i,!0)},onUpdate:function(t){Aj(t,s._progressLine,o,n,i)}};this._currentPointer=pj(a,a,this._mainGroup,{},this._currentPointer,l)},e.prototype._handlePlayClick=function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},e.prototype._handlePointerDrag=function(t,e,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},e.prototype._handlePointerDragend=function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},e.prototype._pointerChangeTimeline=function(t,e){var n=this._toAxisCoord(t)[0],i=gi(this._axis.getExtent().slice());n>i[1]&&(n=i[1]),n<i[0]&&(n=i[0]),this._currentPointer.x=n,this._currentPointer.markRedraw();var r=this._progressLine;r&&(r.shape.x2=n,r.dirty());var o=this._findNearestTick(n),a=this.model;(e||o!==a.getCurrentIndex()&&a.get("realtime"))&&this._changeTimeline(o)},e.prototype._doPlayStop=function(){var t=this;this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(function(){var e=t.model;t._changeTimeline(e.getCurrentIndex()+(e.get("rewind",!0)?-1:1))},this.model.get("playInterval")))},e.prototype._toAxisCoord=function(t){return Sc(t,this._mainGroup.getLocalTransform(),!0)},e.prototype._findNearestTick=function(t){var e,n=this.model.getData(),i=1/0,r=this._axis;return n.each(["value"],function(n,o){var a=r.dataToCoord(n),s=Math.abs(a-t);s<i&&(i=s,e=o)}),e},e.prototype._clearTimer=function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},e.prototype._changeTimeline=function(t){var e=this.model.getCurrentIndex();"+"===t?t=e+1:"-"===t&&(t=e-1),this.api.dispatchAction({type:"timelineChange",currentIndex:t,from:this.uid})},e.prototype._updateTicksStatus=function(){var t=this.model.getCurrentIndex(),e=this._tickSymbols,n=this._tickLabels;if(e)for(var i=0;i<e.length;i++)e&&e[i]&&e[i].toggleState("progress",i<t);if(n)for(i=0;i<n.length;i++)n&&n[i]&&n[i].toggleState("progress",fj(n[i]).dataIndex<=t)},e.type="timeline.slider",e}(uj);function vj(t){var e=t&&t.timeline;g.isArray(e)||(e=e?[e]:[]),g.each(e,function(t){t&&function(t){var e=t.type,n={number:"value",time:"time"};n[e]&&(t.axisType=n[e],delete t.type);if(mj(t),yj(t,"controlPosition")){var i=t.controlStyle||(t.controlStyle={});yj(i,"position")||(i.position=t.controlPosition),"none"!==i.position||yj(i,"show")||(i.show=!1,delete i.position),delete t.controlPosition}g.each(t.data||[],function(t){g.isObject(t)&&!g.isArray(t)&&(!yj(t,"value")&&yj(t,"name")&&(t.value=t.name),mj(t))})}(t)})}function mj(t){var e=t.itemStyle||(t.itemStyle={}),n=e.emphasis||(e.emphasis={}),i=t.label||t.label||{},r=i.normal||(i.normal={}),o={normal:1,emphasis:1};g.each(i,function(t,e){o[e]||yj(r,e)||(r[e]=t)}),n.label&&!yj(i,"emphasis")&&(i.emphasis=n.label,delete n.label)}function yj(t,e){return t.hasOwnProperty(e)}function bj(t,e){if(!t)return!1;for(var n=Object(g.isArray)(t)?t:[t],i=0;i<n.length;i++)if(n[i]&&n[i][e])return!0;return!1}function _j(t){Vi(t,"label",["show"])}var wj=tr(),xj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.createdBySelf=!1,n}return p(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),this._mergeOption(t,n,!1,!0)},e.prototype.isAnimationEnabled=function(){if(A.a.node)return!1;var t=this.__hostSeries;return this.getShallow("animation")&&t&&t.isAnimationEnabled()},e.prototype.mergeOption=function(t,e){this._mergeOption(t,e,!1,!1)},e.prototype._mergeOption=function(t,e,n,i){var r=this.mainType;n||e.eachSeries(function(t){var n=t.get(this.mainType,!0),o=wj(t)[r];n&&n.data?(o?o._mergeOption(n,e,!0):(i&&_j(n),g.each(n.data,function(t){t instanceof Array?(_j(t[0]),_j(t[1])):_j(t)}),o=this.createMarkerModelFromSeries(n,this,e),g.extend(o,{mainType:this.mainType,seriesIndex:t.seriesIndex,name:t.name,createdBySelf:!0}),o.__hostSeries=t),wj(t)[r]=o):wj(t)[r]=null},this)},e.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=this.getRawValue(t),o=i.getName(t);return Hf("section",{header:this.name,blocks:[Hf("nameValue",{name:o,value:r,noName:!o,noValue:null==r})]})},e.prototype.getData=function(){return this._data},e.prototype.setData=function(t){this._data=t},e.getMarkerModelFromSeries=function(t,e){return wj(t)[e]},e.type="marker",e.dependencies=["series","grid","polar","geo"],e}(Ch);g.mixin(xj,rf.prototype);var Cj=xj,Sj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markPoint",e.defaultOption={z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}},e}(Cj);function Bj(t){return!(isNaN(parseFloat(t.x))&&isNaN(parseFloat(t.y)))}function kj(t,e,n,i,r,o){var a=[],s=dm(e,i)?e.getCalculationInfo("stackResultDimension"):i,l=Dj(e,s,t),c=e.indicesOfNearest(s,l)[0];a[r]=e.get(n,c),a[o]=e.get(s,c);var u=e.get(i,c),h=vi(e.get(i,c));return(h=Math.min(h,20))>=0&&(a[o]=+a[o].toFixed(h)),[a,u]}var Tj={min:Object(g.curry)(kj,"min"),max:Object(g.curry)(kj,"max"),average:Object(g.curry)(kj,"average"),median:Object(g.curry)(kj,"median")};function Oj(t,e){if(e){var n=t.getData(),i=t.coordinateSystem,r=i&&i.dimensions;if(!function(t){return!isNaN(parseFloat(t.x))&&!isNaN(parseFloat(t.y))}(e)&&!Object(g.isArray)(e.coord)&&Object(g.isArray)(r)){var o=Ej(e,n,i,t);if((e=Object(g.clone)(e)).type&&Tj[e.type]&&o.baseAxis&&o.valueAxis){var a=Object(g.indexOf)(r,o.baseAxis.dim),s=Object(g.indexOf)(r,o.valueAxis.dim),l=Tj[e.type](n,o.baseDataDim,o.valueDataDim,a,s);e.coord=l[0],e.value=l[1]}else e.coord=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis]}if(null!=e.coord&&Object(g.isArray)(r))for(var c=e.coord,u=0;u<2;u++)Tj[c[u]]&&(c[u]=Dj(n,n.mapDimension(r[u]),c[u]));else e.coord=[];return e}}function Ej(t,e,n,i){var r={};return null!=t.valueIndex||null!=t.valueDim?(r.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,r.valueAxis=n.getAxis(function(t,e){var n=t.getData().getDimensionInfo(e);return n&&n.coordDim}(i,r.valueDataDim)),r.baseAxis=n.getOtherAxis(r.valueAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim)):(r.baseAxis=i.getBaseAxis(),r.valueAxis=n.getOtherAxis(r.baseAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim),r.valueDataDim=e.mapDimension(r.valueAxis.dim)),r}function Ij(t,e){return!(t&&t.containData&&e.coord&&!Bj(e))||t.containData(e.coord)}function Mj(t,e){return t?function(t,n,i,r){return cf(r<2?t.coord&&t.coord[r]:t.value,e[r])}:function(t,n,i,r){return cf(t.value,e[r])}}function Dj(t,e,n){if("average"===n){var i=0,r=0;return t.each(e,function(t,e){isNaN(t)||(i+=t,r++)}),i/r}return"median"===n?t.getMedian(e):t.getDataExtent(e)["max"===n?1:0]}var Lj=tr(),Fj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.init=function(){this.markerGroupMap=Object(g.createHashMap)()},e.prototype.render=function(t,e,n){var i=this,r=this.markerGroupMap;r.each(function(t){Lj(t).keep=!1}),e.eachSeries(function(t){var r=Cj.getMarkerModelFromSeries(t,i.type);r&&i.renderSeries(t,r,e,n)}),r.each(function(t){!Lj(t).keep&&i.group.remove(t.group)})},e.prototype.markKeep=function(t){Lj(t).keep=!0},e.prototype.toggleBlurSeries=function(t,e){var n=this;Object(g.each)(t,function(t){var i=Cj.getMarkerModelFromSeries(t,n.type);i&&i.getData().eachItemGraphicEl(function(t){t&&(e?hs(t):ds(t))})})},e.type="marker",e}(fp);function Pj(t,e,n){var i=e.coordinateSystem;t.each(function(r){var o,a=t.getItemModel(r),s=pi(a.get("x"),n.getWidth()),l=pi(a.get("y"),n.getHeight());if(isNaN(s)||isNaN(l)){if(e.getMarkerPosition)o=e.getMarkerPosition(t.getValues(t.dimensions,r));else if(i){var c=t.get(i.dimensions[0],r),u=t.get(i.dimensions[1],r);o=i.dataToPoint([c,u])}}else o=[s,l];isNaN(s)||(o[0]=s),isNaN(l)||(o[1]=l),t.setItemLayout(r,o)})}var Nj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries(function(t){var e=Cj.getMarkerModelFromSeries(t,"markPoint");e&&(Pj(e.getData(),t,n),this.markerGroupMap.get(t.id).updateLayout())},this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new pw),c=function(t,e,n){var i;i=t?Object(g.map)(t&&t.dimensions,function(t){var n=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return Object(g.extend)(Object(g.extend)({},n),{name:t,ordinalMeta:null})}):[{name:"value",type:"float"}];var r=new rm(i,n),o=Object(g.map)(n.get("data"),Object(g.curry)(Oj,e));t&&(o=Object(g.filter)(o,Object(g.curry)(Ij,t)));var a=Mj(!!t,i);return r.initData(o,null,a),r}(r,t,e);e.setData(c),Pj(e.getData(),t,i),c.each(function(t){var n=c.getItemModel(t),i=n.getShallow("symbol"),r=n.getShallow("symbolSize"),o=n.getShallow("symbolRotate"),s=n.getShallow("symbolOffset"),l=n.getShallow("symbolKeepAspect");if(Object(g.isFunction)(i)||Object(g.isFunction)(r)||Object(g.isFunction)(o)||Object(g.isFunction)(s)){var u=e.getRawValue(t),h=e.getDataParams(t);Object(g.isFunction)(i)&&(i=i(u,h)),Object(g.isFunction)(r)&&(r=r(u,h)),Object(g.isFunction)(o)&&(o=o(u,h)),Object(g.isFunction)(s)&&(s=s(u,h))}var d=n.getModel("itemStyle").getItemStyle(),f=dA(a,"color");d.fill||(d.fill=f),c.setItemVisual(t,{symbol:i,symbolSize:r,symbolRotate:o,symbolOffset:s,symbolKeepAspect:l,style:d})}),l.updateData(c),this.group.add(l.group),c.eachItemGraphicEl(function(t){t.traverse(function(t){Ta(t).dataModel=e})}),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},e.type="markPoint",e}(Fj);var jj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markLine",e.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},e}(Cj),Uj=tr(),Rj=function(t,e,n,i){var r,o=t.getData();if(Object(g.isArray)(i))r=i;else{var a=i.type;if("min"===a||"max"===a||"average"===a||"median"===a||null!=i.xAxis||null!=i.yAxis){var s=void 0,l=void 0;if(null!=i.yAxis||null!=i.xAxis)s=e.getAxis(null!=i.yAxis?"y":"x"),l=Object(g.retrieve)(i.yAxis,i.xAxis);else{var c=Ej(i,o,e,t);s=c.valueAxis,l=Dj(o,fm(o,c.valueDataDim),a)}var u="x"===s.dim?0:1,h=1-u,d=Object(g.clone)(i),f={coord:[]};d.type=null,d.coord=[],d.coord[h]=-1/0,f.coord[h]=1/0;var p=n.get("precision");p>=0&&Object(g.isNumber)(l)&&(l=+l.toFixed(Math.min(p,20))),d.coord[u]=f.coord[u]=l,r=[d,f,{type:a,valueIndex:i.valueIndex,value:l}]}else r=[]}var A=[Oj(t,r[0]),Oj(t,r[1]),Object(g.extend)({},r[2])];return A[2].type=A[2].type||null,Object(g.merge)(A[2],A[0]),Object(g.merge)(A[2],A[1]),A};function Qj(t){return!isNaN(t)&&!isFinite(t)}function Hj(t,e,n,i){var r=1-t,o=i.dimensions[t];return Qj(e[r])&&Qj(n[r])&&e[t]===n[t]&&i.getAxis(o).containData(e[t])}function Vj(t,e){if("cartesian2d"===t.type){var n=e[0].coord,i=e[1].coord;if(n&&i&&(Hj(1,n,i,t)||Hj(0,n,i,t)))return!0}return Ij(t,e[0])&&Ij(t,e[1])}function zj(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),l=pi(s.get("x"),r.getWidth()),c=pi(s.get("y"),r.getHeight());if(isNaN(l)||isNaN(c)){if(i.getMarkerPosition)o=i.getMarkerPosition(t.getValues(t.dimensions,e));else{var u=a.dimensions,h=t.get(u[0],e),d=t.get(u[1],e);o=a.dataToPoint([h,d])}if(Tw(a,"cartesian2d")){var f=a.getAxis("x"),p=a.getAxis("y");u=a.dimensions;Qj(t.get(u[0],e))?o[0]=f.toGlobalCoord(f.getExtent()[n?0:1]):Qj(t.get(u[1],e))&&(o[1]=p.toGlobalCoord(p.getExtent()[n?0:1]))}isNaN(l)||(o[0]=l),isNaN(c)||(o[1]=c)}else o=[l,c];t.setItemLayout(e,o)}var $j=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries(function(t){var e=Cj.getMarkerModelFromSeries(t,"markLine");if(e){var i=e.getData(),r=Uj(e).from,o=Uj(e).to;r.each(function(e){zj(r,e,!0,t,n),zj(o,e,!1,t,n)}),i.each(function(t){i.setItemLayout(t,[r.getItemLayout(t),o.getItemLayout(t)])}),this.markerGroupMap.get(t.id).updateLayout()}},this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new RT);this.group.add(l.group);var c=function(t,e,n){var i;i=t?Object(g.map)(t&&t.dimensions,function(t){var n=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return Object(g.extend)(Object(g.extend)({},n),{name:t,ordinalMeta:null})}):[{name:"value",type:"float"}];var r=new rm(i,n),o=new rm(i,n),a=new rm([],n),s=Object(g.map)(n.get("data"),Object(g.curry)(Rj,e,t,n));t&&(s=Object(g.filter)(s,Object(g.curry)(Vj,t)));var l=Mj(!!t,i);return r.initData(Object(g.map)(s,function(t){return t[0]}),null,l),o.initData(Object(g.map)(s,function(t){return t[1]}),null,l),a.initData(Object(g.map)(s,function(t){return t[2]})),a.hasItemOption=!0,{from:r,to:o,line:a}}(r,t,e),u=c.from,h=c.to,d=c.line;Uj(e).from=u,Uj(e).to=h,e.setData(d);var f=e.get("symbol"),p=e.get("symbolSize"),A=e.get("symbolRotate"),v=e.get("symbolOffset");function m(e,n,r){var o=e.getItemModel(n);zj(e,n,r,t,i);var s=o.getModel("itemStyle").getItemStyle();null==s.fill&&(s.fill=dA(a,"color")),e.setItemVisual(n,{symbolKeepAspect:o.get("symbolKeepAspect"),symbolOffset:Object(g.retrieve2)(o.get("symbolOffset",!0),v[r?0:1]),symbolRotate:Object(g.retrieve2)(o.get("symbolRotate",!0),A[r?0:1]),symbolSize:Object(g.retrieve2)(o.get("symbolSize"),p[r?0:1]),symbol:Object(g.retrieve2)(o.get("symbol",!0),f[r?0:1]),style:s})}Object(g.isArray)(f)||(f=[f,f]),Object(g.isArray)(p)||(p=[p,p]),Object(g.isArray)(A)||(A=[A,A]),Object(g.isArray)(v)||(v=[v,v]),c.from.each(function(t){m(u,t,!0),m(h,t,!1)}),d.each(function(t){var e=d.getItemModel(t).getModel("lineStyle").getLineStyle();d.setItemLayout(t,[u.getItemLayout(t),h.getItemLayout(t)]),null==e.stroke&&(e.stroke=u.getItemVisual(t,"style").fill),d.setItemVisual(t,{fromSymbolKeepAspect:u.getItemVisual(t,"symbolKeepAspect"),fromSymbolOffset:u.getItemVisual(t,"symbolOffset"),fromSymbolRotate:u.getItemVisual(t,"symbolRotate"),fromSymbolSize:u.getItemVisual(t,"symbolSize"),fromSymbol:u.getItemVisual(t,"symbol"),toSymbolKeepAspect:h.getItemVisual(t,"symbolKeepAspect"),toSymbolOffset:h.getItemVisual(t,"symbolOffset"),toSymbolRotate:h.getItemVisual(t,"symbolRotate"),toSymbolSize:h.getItemVisual(t,"symbolSize"),toSymbol:h.getItemVisual(t,"symbol"),style:e})}),l.updateData(d),c.line.eachItemGraphicEl(function(t){Ta(t).dataModel=e,t.traverse(function(t){Ta(t).dataModel=e})}),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},e.type="markLine",e}(Fj);var Gj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markArea",e.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},e}(Cj),Wj=tr(),Kj=function(t,e,n,i){var r=i[0],o=i[1];if(r&&o){var a=Oj(t,r),s=Oj(t,o),l=a.coord,c=s.coord;l[0]=Object(g.retrieve)(l[0],-1/0),l[1]=Object(g.retrieve)(l[1],-1/0),c[0]=Object(g.retrieve)(c[0],1/0),c[1]=Object(g.retrieve)(c[1],1/0);var u=Object(g.mergeAll)([{},a,s]);return u.coord=[a.coord,s.coord],u.x0=a.x,u.y0=a.y,u.x1=s.x,u.y1=s.y,u}};function Yj(t){return!isNaN(t)&&!isFinite(t)}function Xj(t,e,n,i){var r=1-t;return Yj(e[r])&&Yj(n[r])}function qj(t,e){var n=e.coord[0],i=e.coord[1],r={coord:n,x:e.x0,y:e.y0},o={coord:i,x:e.x1,y:e.y1};return Tw(t,"cartesian2d")?!(!n||!i||!Xj(1,n,i)&&!Xj(0,n,i))||function(t,e,n){return!(t&&t.containZone&&e.coord&&n.coord&&!Bj(e)&&!Bj(n))||t.containZone(e.coord,n.coord)}(t,r,o):Ij(t,r)||Ij(t,o)}function Zj(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),l=pi(s.get(n[0]),r.getWidth()),c=pi(s.get(n[1]),r.getHeight());if(isNaN(l)||isNaN(c)){if(i.getMarkerPosition){var u=t.getValues(["x0","y0"],e),h=t.getValues(["x1","y1"],e),d=a.clampData(u),f=a.clampData(h),p=[];"x0"===n[0]?p[0]=d[0]>f[0]?h[0]:u[0]:p[0]=d[0]>f[0]?u[0]:h[0],"y0"===n[1]?p[1]=d[1]>f[1]?h[1]:u[1]:p[1]=d[1]>f[1]?u[1]:h[1],o=i.getMarkerPosition(p,n,!0)}else{var A=[m=t.get(n[0],e),y=t.get(n[1],e)];a.clampData&&a.clampData(A,A),o=a.dataToPoint(A,!0)}if(Tw(a,"cartesian2d")){var g=a.getAxis("x"),v=a.getAxis("y"),m=t.get(n[0],e),y=t.get(n[1],e);Yj(m)?o[0]=g.toGlobalCoord(g.getExtent()["x0"===n[0]?0:1]):Yj(y)&&(o[1]=v.toGlobalCoord(v.getExtent()["y0"===n[1]?0:1]))}isNaN(l)||(o[0]=l),isNaN(c)||(o[1]=c)}else o=[l,c];return o}var Jj=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];var tU=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries(function(t){var e=Cj.getMarkerModelFromSeries(t,"markArea");if(e){var i=e.getData();i.each(function(e){var r=Object(g.map)(Jj,function(r){return Zj(i,e,r,t,n)});i.setItemLayout(e,r),i.getItemGraphicEl(e).setShape("points",r)})}},this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,{group:new ei});this.group.add(l.group),this.markKeep(l);var c=function(t,e,n){var i,r;if(t){var o=Object(g.map)(t&&t.dimensions,function(t){var n=e.getData(),i=n.getDimensionInfo(n.mapDimension(t))||{};return Object(g.extend)(Object(g.extend)({},i),{name:t,ordinalMeta:null})});r=Object(g.map)(["x0","y0","x1","y1"],function(t,e){return{name:t,type:o[e%2].type}}),i=new rm(r,n)}else i=new rm(r=[{name:"value",type:"float"}],n);var a=Object(g.map)(n.get("data"),Object(g.curry)(Kj,e,t,n));t&&(a=Object(g.filter)(a,Object(g.curry)(qj,t)));var s=t?function(t,e,n,i){var o=t.coord[Math.floor(i/2)][i%2];return cf(o,r[i])}:function(t,e,n,i){return cf(t.value,r[i])};return i.initData(a,null,s),i.hasItemOption=!0,i}(r,t,e);e.setData(c),c.each(function(e){var n=Object(g.map)(Jj,function(n){return Zj(c,e,n,t,i)}),o=r.getAxis("x").scale,s=r.getAxis("y").scale,l=o.getExtent(),u=s.getExtent(),h=[o.parse(c.get("x0",e)),o.parse(c.get("x1",e))],d=[s.parse(c.get("y0",e)),s.parse(c.get("y1",e))];gi(h),gi(d);var f=!!(l[0]>h[1]||l[1]<h[0]||u[0]>d[1]||u[1]<d[0]);c.setItemLayout(e,{points:n,allClipped:f});var p=c.getItemModel(e).getModel("itemStyle").getItemStyle(),A=dA(a,"color");p.fill||(p.fill=A,Object(g.isString)(p.fill)&&(p.fill=Le.modifyAlpha(p.fill,.4))),p.stroke||(p.stroke=A),c.setItemVisual(e,"style",p)}),c.diff(Wj(l).data).add(function(t){var e=c.getItemLayout(t);if(!e.allClipped){var n=new Sl({shape:{points:e.points}});c.setItemGraphicEl(t,n),l.group.add(n)}}).update(function(t,n){var i=Wj(l).data.getItemGraphicEl(n),r=c.getItemLayout(t);r.allClipped?i&&l.group.remove(i):(i?ec(i,{shape:{points:r.points}},e,t):i=new Sl({shape:{points:r.points}}),c.setItemGraphicEl(t,i),l.group.add(i))}).remove(function(t){var e=Wj(l).data.getItemGraphicEl(t);l.group.remove(e)}).execute(),c.eachItemGraphicEl(function(t,n){var i=c.getItemModel(n),r=c.getItemVisual(n,"style");t.useStyle(c.getItemVisual(n,"style")),Qc(t,Hc(i),{labelFetcher:e,labelDataIndex:n,defaultText:c.getName(n)||"",inheritColor:Object(g.isString)(r.fill)?Le.modifyAlpha(r.fill,1):"#000"}),Bs(t,i),ws(t,null,null,i.get(["emphasis","disabled"])),Ta(t).dataModel=e}),Wj(l).data=c,l.group.silent=e.get("silent")||t.get("silent")},e.type="markArea",e}(Fj);var eU=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return p(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),t.selected=t.selected||{},this._updateSelector(t)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),this._updateSelector(e)},e.prototype._updateSelector=function(t){var e=t.selector,n=this.ecModel;!0===e&&(e=t.selector=["all","inverse"]),g.isArray(e)&&g.each(e,function(t,i){g.isString(t)&&(t={type:t}),e[i]=g.merge(t,function(t,e){return"all"===e?{type:"all",title:t.getLocaleModel().get(["legend","selector","all"])}:"inverse"===e?{type:"inverse",title:t.getLocaleModel().get(["legend","selector","inverse"])}:void 0}(n,t.type))})},e.prototype.optionUpdated=function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&"single"===this.get("selectedMode")){for(var e=!1,n=0;n<t.length;n++){var i=t[n].get("name");if(this.isSelected(i)){this.select(i),e=!0;break}}!e&&this.select(t[0].get("name"))}},e.prototype._updateData=function(t){var e=[],n=[];t.eachRawSeries(function(i){var r,o=i.name;if(n.push(o),i.legendVisualProvider){var a=i.legendVisualProvider.getAllNames();t.isSeriesFiltered(i)||(n=n.concat(a)),a.length?e=e.concat(a):r=!0}else r=!0;r&&qi(i)&&e.push(i.name)}),this._availableNames=n;var i=this.get("data")||e,r=g.createHashMap(),o=g.map(i,function(t){return(g.isString(t)||g.isNumber(t))&&(t={name:t}),r.get(t.name)?null:(r.set(t.name,!0),new du(t,this,this.ecModel))},this);this._data=g.filter(o,function(t){return!!t})},e.prototype.getData=function(){return this._data},e.prototype.select=function(t){var e=this.option.selected;if("single"===this.get("selectedMode")){var n=this._data;g.each(n,function(t){e[t.get("name")]=!1})}e[t]=!0},e.prototype.unSelect=function(t){"single"!==this.get("selectedMode")&&(this.option.selected[t]=!1)},e.prototype.toggleSelected=function(t){var e=this.option.selected;e.hasOwnProperty(t)||(e[t]=!0),this[e[t]?"unSelect":"select"](t)},e.prototype.allSelect=function(){var t=this._data,e=this.option.selected;g.each(t,function(t){e[t.get("name",!0)]=!0})},e.prototype.inverseSelect=function(){var t=this._data,e=this.option.selected;g.each(t,function(t){var n=t.get("name",!0);e.hasOwnProperty(n)||(e[n]=!0),e[n]=!e[n]})},e.prototype.isSelected=function(t){var e=this.option.selected;return!(e.hasOwnProperty(t)&&!e[t])&&g.indexOf(this._availableNames,t)>=0},e.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},e.type="legend.plain",e.dependencies=["series"],e.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},e}(Ch),nU=g.curry,iU=g.each,rU=ei;function oU(t,e,n,i){lU(t,e,n,i),n.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),sU(t,e,n,i)}function aU(t){for(var e,n=t.getZr().storage.getDisplayList(),i=0,r=n.length;i<r&&!(e=n[i].states.emphasis);)i++;return e&&e.hoverLayer}function sU(t,e,n,i){aU(n)||n.dispatchAction({type:"highlight",seriesName:t,name:e,excludeSeriesId:i})}function lU(t,e,n,i){aU(n)||n.dispatchAction({type:"downplay",seriesName:t,name:e,excludeSeriesId:i})}var cU=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!1,n}return p(e,t),e.prototype.init=function(){this.group.add(this._contentGroup=new rU),this.group.add(this._selectorGroup=new rU),this._isFirstRender=!0},e.prototype.getContentGroup=function(){return this._contentGroup},e.prototype.getSelectorGroup=function(){return this._selectorGroup},e.prototype.render=function(t,e,n){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var r=t.get("align"),o=t.get("orient");r&&"auto"!==r||(r="right"===t.get("left")&&"vertical"===o?"right":"left");var a=t.get("selector",!0),s=t.get("selectorPosition",!0);!a||s&&"auto"!==s||(s="horizontal"===o?"end":"start"),this.renderInner(r,t,e,n,a,o,s);var l=t.getBoxLayoutParams(),c={width:n.getWidth(),height:n.getHeight()},u=t.get("padding"),h=gh(l,c,u),d=this.layoutInner(t,r,h,i,a,s),f=gh(g.defaults({width:d.width,height:d.height},l),c,u);this.group.x=f.x-d.x,this.group.y=f.y-d.y,this.group.markRedraw(),this.group.add(this._backgroundEl=TP(d,t))}},e.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},e.prototype.renderInner=function(t,e,n,i,r,o,a){var s=this.getContentGroup(),l=g.createHashMap(),c=e.get("selectedMode"),u=[];n.eachRawSeries(function(t){!t.get("legendHoverLink")&&u.push(t.id)}),iU(e.getData(),function(r,o){var a=r.get("name");if(!this.newlineDisabled&&(""===a||"\n"===a)){var h=new rU;return h.newline=!0,void s.add(h)}var d=n.getSeriesByName(a)[0];if(!l.get(a)){if(d){var f=d.getData(),p=f.getVisual("legendLineStyle")||{},A=f.getVisual("legendIcon"),v=f.getVisual("style");this._createItem(d,a,o,r,e,t,p,v,A,c,i).on("click",nU(oU,a,null,i,u)).on("mouseover",nU(sU,d.name,null,i,u)).on("mouseout",nU(lU,d.name,null,i,u)),l.set(a,!0)}else n.eachRawSeries(function(n){if(!l.get(a)&&n.legendVisualProvider){var s=n.legendVisualProvider;if(!s.containName(a))return;var h=s.indexOfName(a),d=s.getItemVisual(h,"style"),f=s.getItemVisual(h,"legendIcon"),p=Object(Le.parse)(d.fill);p&&0===p[3]&&(p[3]=.2,d=g.extend(g.extend({},d),{fill:Object(Le.stringify)(p,"rgba")})),this._createItem(n,a,o,r,e,t,{},d,f,c,i).on("click",nU(oU,null,a,i,u)).on("mouseover",nU(sU,null,a,i,u)).on("mouseout",nU(lU,null,a,i,u)),l.set(a,!0)}},this);0}},this),r&&this._createSelector(r,e,i,o,a)},e.prototype._createSelector=function(t,e,n,i,r){var o=this.getSelectorGroup();iU(t,function(t){var i=t.type,r=new ka({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===i?"legendAllSelect":"legendInverseSelect"})}});o.add(r),Qc(r,{normal:e.getModel("selectorLabel"),emphasis:e.getModel(["emphasis","selectorLabel"])},{defaultText:t.title}),_s(r)})},e.prototype._createItem=function(t,e,n,i,r,o,a,s,l,c,u){var h=t.visualDrawType,d=r.get("itemWidth"),f=r.get("itemHeight"),p=r.isSelected(e),A=i.get("symbolRotate"),v=i.get("symbolKeepAspect"),m=i.get("icon"),y=function(t,e,n,i,r,o,a){function s(t,e){"auto"===t.lineWidth&&(t.lineWidth=e.lineWidth>0?2:0),iU(t,function(n,i){"inherit"===t[i]&&(t[i]=e[i])})}var l=e.getModel("itemStyle"),c=l.getItemStyle(),u=0===t.lastIndexOf("empty",0)?"fill":"stroke",h=l.getShallow("decal");c.decal=h&&"inherit"!==h?ag(h,a):i.decal,"inherit"===c.fill&&(c.fill=i[r]);"inherit"===c.stroke&&(c.stroke=i[u]);"inherit"===c.opacity&&(c.opacity=("fill"===r?i:n).opacity);s(c,i);var d=e.getModel("lineStyle"),f=d.getLineStyle();if(s(f,n),"auto"===c.fill&&(c.fill=i.fill),"auto"===c.stroke&&(c.stroke=i.fill),"auto"===f.stroke&&(f.stroke=i.fill),!o){var p=e.get("inactiveBorderWidth"),A=c[u];c.lineWidth="auto"===p?i.lineWidth>0&&A?2:0:c.lineWidth,c.fill=e.get("inactiveColor"),c.stroke=e.get("inactiveBorderColor"),f.stroke=d.get("inactiveColor"),f.lineWidth=d.get("inactiveWidth")}return{itemStyle:c,lineStyle:f}}(l=m||l||"roundRect",i,a,s,h,p,u),b=new rU,_=i.getModel("textStyle");if(!g.isFunction(t.getLegendIcon)||m&&"inherit"!==m){var w="inherit"===m&&t.getData().getVisual("symbol")?"inherit"===A?t.getData().getVisual("symbolRotate"):A:0;b.add(function(t){var e=t.icon||"roundRect",n=OA(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill,t.symbolKeepAspect);n.setStyle(t.itemStyle),n.rotation=(t.iconRotate||0)*Math.PI/180,n.setOrigin([t.itemWidth/2,t.itemHeight/2]),e.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2);return n}({itemWidth:d,itemHeight:f,icon:l,iconRotate:w,itemStyle:y.itemStyle,lineStyle:y.lineStyle,symbolKeepAspect:v}))}else b.add(t.getLegendIcon({itemWidth:d,itemHeight:f,icon:l,iconRotate:A,itemStyle:y.itemStyle,lineStyle:y.lineStyle,symbolKeepAspect:v}));var x="left"===o?d+5:-5,C=o,S=r.get("formatter"),B=e;g.isString(S)&&S?B=S.replace("{name}",null!=e?e:""):g.isFunction(S)&&(B=S(e));var k=i.get("inactiveColor");b.add(new ka({style:Vc(_,{text:B,x:x,y:f/2,fill:p?_.getTextColor():k,align:C,verticalAlign:"middle"})}));var T=new ha({shape:b.getBoundingRect(),invisible:!0}),O=i.getModel("tooltip");return O.get("show")&&Fc({el:T,componentModel:r,itemName:e,itemTooltipOption:O.option}),b.add(T),b.eachChild(function(t){t.silent=!0}),T.silent=!c,this.getContentGroup().add(b),_s(b),b.__legendDataIndex=n,b},e.prototype.layoutInner=function(t,e,n,i,r,o){var a=this.getContentGroup(),s=this.getSelectorGroup();Ah(t.get("orient"),a,t.get("itemGap"),n.width,n.height);var l=a.getBoundingRect(),c=[-l.x,-l.y];if(s.markRedraw(),a.markRedraw(),r){Ah("horizontal",s,t.get("selectorItemGap",!0));var u=s.getBoundingRect(),h=[-u.x,-u.y],d=t.get("selectorButtonGap",!0),f=t.getOrient().index,p=0===f?"width":"height",A=0===f?"height":"width",g=0===f?"y":"x";"end"===o?h[f]+=l[p]+d:c[f]+=u[p]+d,h[1-f]+=l[A]/2-u[A]/2,s.x=h[0],s.y=h[1],a.x=c[0],a.y=c[1];var v={x:0,y:0};return v[p]=l[p]+d+u[p],v[A]=Math.max(l[A],u[A]),v[g]=Math.min(0,u[g]+h[1-f]),v}return a.x=c[0],a.y=c[1],this.group.getBoundingRect()},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e}(fp);function uU(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries(function(t){for(var n=0;n<e.length;n++)if(!e[n].isSelected(t.name))return!1;return!0})}function hU(t,e,n){var i,r={},o="toggleSelected"===t;return n.eachComponent("legend",function(n){o&&null!=i?n[i?"select":"unSelect"](e.name):"allSelect"===t||"inverseSelect"===t?n[t]():(n[t](e.name),i=n.isSelected(e.name));var a=n.getData();Object(g.each)(a,function(t){var e=t.get("name");if("\n"!==e&&""!==e){var i=n.isSelected(e);r.hasOwnProperty(e)?r[e]=r[e]&&i:r[e]=i}})}),"allSelect"===t||"inverseSelect"===t?{selected:r}:{name:e.name,selected:r}}function dU(t){t.registerComponentModel(eU),t.registerComponentView(cU),t.registerProcessor(t.PRIORITY.PROCESSOR.SERIES_FILTER,uU),t.registerSubTypeDefaulter("legend",function(){return"plain"}),function(t){t.registerAction("legendToggleSelect","legendselectchanged",Object(g.curry)(hU,"toggleSelected")),t.registerAction("legendAllSelect","legendselectall",Object(g.curry)(hU,"allSelect")),t.registerAction("legendInverseSelect","legendinverseselect",Object(g.curry)(hU,"inverseSelect")),t.registerAction("legendSelect","legendselected",Object(g.curry)(hU,"select")),t.registerAction("legendUnSelect","legendunselected",Object(g.curry)(hU,"unSelect"))}(t)}function fU(t,e,n){var i=[1,1];i[t.getOrient().index]=0,yh(e,n,{type:"box",ignoreSize:!!i})}var pU=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.setScrollDataIndex=function(t){this.option.scrollDataIndex=t},e.prototype.init=function(e,n,i){var r=bh(e);t.prototype.init.call(this,e,n,i),fU(this,e,r)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),fU(this,this.option,e)},e.type="legend.scroll",e.defaultOption=Au(eU.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800}),e}(eU),AU=ei,gU=["width","height"],vU=["x","y"],mU=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!0,n._currentIndex=0,n}return p(e,t),e.prototype.init=function(){t.prototype.init.call(this),this.group.add(this._containerGroup=new AU),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new AU)},e.prototype.resetInner=function(){t.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},e.prototype.renderInner=function(e,n,i,r,o,a,s){var l=this;t.prototype.renderInner.call(this,e,n,i,r,o,a,s);var c=this._controllerGroup,u=n.get("pageIconSize",!0),h=g.isArray(u)?u:[u,u];f("pagePrev",0);var d=n.getModel("pageTextStyle");function f(t,e){var i=t+"DataIndex",o=Ic(n.get("pageIcons",!0)[n.getOrient().name][e],{onclick:g.bind(l._pageGo,l,i,n,r)},{x:-h[0]/2,y:-h[1]/2,width:h[0],height:h[1]});o.name=t,c.add(o)}c.add(new ka({name:"pageText",style:{text:"xx/xx",fill:d.getTextColor(),font:d.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),f("pageNext",1)},e.prototype.layoutInner=function(t,e,n,i,r,o){var a=this.getSelectorGroup(),s=t.getOrient().index,l=gU[s],c=vU[s],u=gU[1-s],h=vU[1-s];r&&Ah("horizontal",a,t.get("selectorItemGap",!0));var d=t.get("selectorButtonGap",!0),f=a.getBoundingRect(),p=[-f.x,-f.y],A=g.clone(n);r&&(A[l]=n[l]-f[l]-d);var v=this._layoutContentAndController(t,i,A,s,l,u,h,c);if(r){if("end"===o)p[s]+=v[l]+d;else{var m=f[l]+d;p[s]-=m,v[c]-=m}v[l]+=f[l]+d,p[1-s]+=v[h]+v[u]/2-f[u]/2,v[u]=Math.max(v[u],f[u]),v[h]=Math.min(v[h],f[h]+p[1-s]),a.x=p[0],a.y=p[1],a.markRedraw()}return v},e.prototype._layoutContentAndController=function(t,e,n,i,r,o,a,s){var l=this.getContentGroup(),c=this._containerGroup,u=this._controllerGroup;Ah(t.get("orient"),l,t.get("itemGap"),i?n.width:null,i?null:n.height),Ah("horizontal",u,t.get("pageButtonItemGap",!0));var h=l.getBoundingRect(),d=u.getBoundingRect(),f=this._showController=h[r]>n[r],p=[-h.x,-h.y];e||(p[i]=l[s]);var A=[0,0],v=[-d.x,-d.y],m=g.retrieve2(t.get("pageButtonGap",!0),t.get("itemGap",!0));f&&("end"===t.get("pageButtonPosition",!0)?v[i]+=n[r]-d[r]:A[i]+=d[r]+m);v[1-i]+=h[o]/2-d[o]/2,l.setPosition(p),c.setPosition(A),u.setPosition(v);var y={x:0,y:0};if(y[r]=f?n[r]:h[r],y[o]=Math.max(h[o],d[o]),y[a]=Math.min(0,d[a]+v[1-i]),c.__rectSize=n[r],f){var b={x:0,y:0};b[r]=Math.max(n[r]-d[r]-m,0),b[o]=y[o],c.setClipPath(new ha({shape:b})),c.__rectSize=b[r]}else u.eachChild(function(t){t.attr({invisible:!0,silent:!0})});var _=this._getPageInfo(t);return null!=_.pageIndex&&ec(l,{x:_.contentPosition[0],y:_.contentPosition[1]},f?t:null),this._updatePageInfoView(t,_),y},e.prototype._pageGo=function(t,e,n){var i=this._getPageInfo(e)[t];null!=i&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:e.id})},e.prototype._updatePageInfoView=function(t,e){var n=this._controllerGroup;g.each(["pagePrev","pageNext"],function(i){var r=null!=e[i+"DataIndex"],o=n.childOfName(i);o&&(o.setStyle("fill",r?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),o.cursor=r?"pointer":"default")});var i=n.childOfName("pageText"),r=t.get("pageFormatter"),o=e.pageIndex,a=null!=o?o+1:0,s=e.pageCount;i&&r&&i.setStyle("text",g.isString(r)?r.replace("{current}",null==a?"":a+"").replace("{total}",null==s?"":s+""):r({current:a,total:s}))},e.prototype._getPageInfo=function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,r=t.getOrient().index,o=gU[r],a=vU[r],s=this._findTargetItemIndex(e),l=n.children(),c=l[s],u=l.length,h=u?1:0,d={contentPosition:[n.x,n.y],pageCount:h,pageIndex:h-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!c)return d;var f=m(c);d.contentPosition[r]=-f.s;for(var p=s+1,A=f,g=f,v=null;p<=u;++p)(!(v=m(l[p]))&&g.e>A.s+i||v&&!y(v,A.s))&&(A=g.i>A.i?g:v)&&(null==d.pageNextDataIndex&&(d.pageNextDataIndex=A.i),++d.pageCount),g=v;for(p=s-1,A=f,g=f,v=null;p>=-1;--p)(v=m(l[p]))&&y(g,v.s)||!(A.i<g.i)||(g=A,null==d.pagePrevDataIndex&&(d.pagePrevDataIndex=A.i),++d.pageCount,++d.pageIndex),A=v;return d;function m(t){if(t){var e=t.getBoundingRect(),n=e[a]+t[a];return{s:n,e:n+e[o],i:t.__legendDataIndex}}}function y(t,e){return t.e>=e&&t.s<=e+i}},e.prototype._findTargetItemIndex=function(t){return this._showController?(this.getContentGroup().eachChild(function(i,r){var o=i.__legendDataIndex;null==n&&null!=o&&(n=r),o===t&&(e=r)}),null!=e?e:n):0;var e,n},e.type="legend.scroll",e}(cU);function yU(t){Iv(dU),t.registerComponentModel(pU),t.registerComponentView(mU),function(t){t.registerAction("legendScroll","legendscroll",function(t,e){var n=t.scrollDataIndex;null!=n&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},function(t){t.setScrollDataIndex(n)})})}(t)}var bU=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.type="dataZoom.inside",e.defaultOption=Au(dP.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(dP),_U=tr();function wU(t,e){if(e){t.removeKey(e.model.uid);var n=e.controller;n&&n.dispose()}}function xU(t,e){t.isDisposed()||t.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:e})}function CU(t,e,n,i){return t.coordinateSystem.containPoint([n,i])}function SU(t){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,function(t,e){var n=_U(e),i=n.coordSysRecordMap||(n.coordSysRecordMap=Object(g.createHashMap)());i.each(function(t){t.dataZoomInfoMap=null}),t.eachComponent({mainType:"dataZoom",subType:"inside"},function(t){var n=cP(t);Object(g.each)(n.infoList,function(n){var r=n.model.uid,o=i.get(r)||i.set(r,function(t,e){var n={model:e,containsPoint:Object(g.curry)(CU,e),dispatchAction:Object(g.curry)(xU,t),dataZoomInfoMap:null,controller:null},i=n.controller=new tS(t.getZr());return Object(g.each)(["pan","zoom","scrollMove"],function(t){i.on(t,function(e){var i=[];n.dataZoomInfoMap.each(function(r){if(e.isAvailableBehavior(r.model.option)){var o=(r.getRange||{})[t],a=o&&o(r.dzReferCoordSysInfo,n.model.mainType,n.controller,e);!r.model.get("disabled",!0)&&a&&i.push({dataZoomId:r.model.id,start:a[0],end:a[1]})}}),i.length&&n.dispatchAction(i)})}),n}(e,n.model));(o.dataZoomInfoMap||(o.dataZoomInfoMap=Object(g.createHashMap)())).set(t.uid,{dzReferCoordSysInfo:n,model:t,getRange:null})})}),i.each(function(t){var e,n=t.controller,r=t.dataZoomInfoMap;if(r){var o=r.keys()[0];null!=o&&(e=r.get(o))}if(e){var a=function(t){var e,n={type_true:2,type_move:1,type_false:0,type_undefined:-1},i=!0;return t.each(function(t){var r=t.model,o=!r.get("disabled",!0)&&(!r.get("zoomLock",!0)||"move");n["type_"+o]>n["type_"+e]&&(e=o),i=i&&r.get("preventDefaultMouseMove",!0)}),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!i}}}(r);n.enable(a.controlType,a.opt),n.setPointerChecker(t.containsPoint),Tp(t,"dispatchAction",e.model.get("throttle",!0),"fixRate")}else wU(i,t)})})}var BU=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return p(e,t),e.prototype.render=function(e,n,i){t.prototype.render.apply(this,arguments),e.noTarget()?this._clear():(this.range=e.getPercentRange(),function(t,e,n){_U(t).coordSysRecordMap.each(function(t){var i=t.dataZoomInfoMap.get(e.uid);i&&(i.getRange=n)})}(i,e,{pan:Object(g.bind)(kU.pan,this),zoom:Object(g.bind)(kU.zoom,this),scrollMove:Object(g.bind)(kU.scrollMove,this)}))},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){!function(t,e){for(var n=_U(t).coordSysRecordMap,i=n.keys(),r=0;r<i.length;r++){var o=i[r],a=n.get(o),s=a.dataZoomInfoMap;if(s){var l=e.uid;s.get(l)&&(s.removeKey(l),s.keys().length||wU(n,a))}}}(this.api,this.dataZoomModel),this.range=null},e.type="dataZoom.inside",e}(pP),kU={zoom:function(t,e,n,i){var r=this.range,o=r.slice(),a=t.axisModels[0];if(a){var s=OU[e](null,[i.originX,i.originY],a,n,t),l=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(o[1]-o[0])+o[0],c=Math.max(1/i.scale,0);o[0]=(o[0]-l)*c+l,o[1]=(o[1]-l)*c+l;var u=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return DO(0,o,[0,100],0,u.minSpan,u.maxSpan),this.range=o,r[0]!==o[0]||r[1]!==o[1]?o:void 0}},pan:TU(function(t,e,n,i,r,o){var a=OU[i]([o.oldX,o.oldY],[o.newX,o.newY],e,r,n);return a.signal*(t[1]-t[0])*a.pixel/a.pixelLength}),scrollMove:TU(function(t,e,n,i,r,o){return OU[i]([0,0],[o.scrollDelta,o.scrollDelta],e,r,n).signal*(t[1]-t[0])*o.scrollDelta})};function TU(t){return function(e,n,i,r){var o=this.range,a=o.slice(),s=e.axisModels[0];if(s)return DO(t(a,s,e,n,i,r),a,[0,100],"all"),this.range=a,o[0]!==a[0]||o[1]!==a[1]?a:void 0}}var OU={grid:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem.getRect();return t=t||[0,0],"x"===o.dim?(a.pixel=e[0]-t[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),c=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===n.mainType?(a.pixel=e[0]-t[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=c[1]-c[0],a.pixelStart=c[0],a.signal=o.inverse?-1:1),a},singleAxis:function(t,e,n,i,r){var o=n.axis,a=r.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===o.orient?(s.pixel=e[0]-t[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}},EU=BU;function IU(t){_P(t),t.registerComponentModel(bU),t.registerComponentView(EU),SU(t)}var MU=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=Au(dP.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),e}(dP),DU=ha,LU="horizontal",FU=5,PU=["line","bar","candlestick","scatter"],NU={easing:"cubicOut",duration:100,delay:0};function jU(t){return"vertical"===t?"ns-resize":"ew-resize"}var UU=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._displayables={},n}return p(e,t),e.prototype.init=function(t,e){this.api=e,this._onBrush=Object(g.bind)(this._onBrush,this),this._onBrushEnd=Object(g.bind)(this._onBrushEnd,this)},e.prototype.render=function(e,n,i,r){if(t.prototype.render.apply(this,arguments),Tp(this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),!1!==e.get("show")){if(e.noTarget())return this._clear(),void this.group.removeAll();r&&"dataZoom"===r.type&&r.from===this.uid||this._buildView(),this._updateView()}else this.group.removeAll()},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){Op(this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},e.prototype._buildView=function(){var t=this.group;t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var e=this._displayables.sliderGroup=new ei;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},e.prototype._resetLocation=function(){var t=this.dataZoomModel,e=this.api,n=t.get("brushSelect")?7:0,i=this._findCoordRect(),r={width:e.getWidth(),height:e.getHeight()},o=this._orient===LU?{right:r.width-i.x-i.width,top:r.height-30-7-n,width:i.width,height:30}:{right:7,top:i.y,width:30,height:i.height},a=bh(t.option);Object(g.each)(["right","top","width","height"],function(t){"ph"===a[t]&&(a[t]=o[t])});var s=gh(a,r);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],"vertical"===this._orient&&this._size.reverse()},e.prototype._positionGroup=function(){var t=this.group,e=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),r=i&&i.get("inverse"),o=this._displayables.sliderGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==LU||r?n===LU&&r?{scaleY:a?1:-1,scaleX:-1}:"vertical"!==n||r?{scaleY:a?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:a?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:a?1:-1,scaleX:1});var s=t.getBoundingRect([o]);t.x=e.x-s.x,t.y=e.y-s.y,t.markRedraw()},e.prototype._getViewExtent=function(){return[0,this._size[0]]},e.prototype._renderBackground=function(){var t=this.dataZoomModel,e=this._size,n=this._displayables.sliderGroup,i=t.get("brushSelect");n.add(new DU({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var r=new DU({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:Object(g.bind)(this._onClickPanel,this)}),o=this.api.getZr();i?(r.on("mousedown",this._onBrushStart,this),r.cursor="crosshair",o.on("mousemove",this._onBrush),o.on("mouseup",this._onBrushEnd)):(o.off("mousemove",this._onBrush),o.off("mouseup",this._onBrushEnd)),n.add(r)},e.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],t){var e=this._size,n=this._shadowSize||[],i=t.series,r=i.getRawData(),o=i.getShadowDim&&i.getShadowDim(),a=o&&r.getDimensionInfo(o)?i.getShadowDim():t.otherDim;if(null!=a){var s=this._shadowPolygonPts,l=this._shadowPolylinePts;if(r!==this._shadowData||a!==this._shadowDim||e[0]!==n[0]||e[1]!==n[1]){var c=r.getDataExtent(a),u=.3*(c[1]-c[0]);c=[c[0]-u,c[1]+u];var h,d=[0,e[1]],f=[0,e[0]],p=[[e[0],0],[0,0]],A=[],g=f[1]/(r.count()-1),v=0,m=Math.round(r.count()/e[0]);r.each([a],function(t,e){if(m>0&&e%m)v+=g;else{var n=null==t||isNaN(t)||""===t,i=n?0:fi(t,c,d,!0);n&&!h&&e?(p.push([p[p.length-1][0],0]),A.push([A[A.length-1][0],0])):!n&&h&&(p.push([v,0]),A.push([v,0])),p.push([v,i]),A.push([v,i]),v+=g,h=n}}),s=this._shadowPolygonPts=p,l=this._shadowPolylinePts=A}this._shadowData=r,this._shadowDim=a,this._shadowSize=[e[0],e[1]];for(var y=this.dataZoomModel,b=0;b<3;b++){var _=w(1===b);this._displayables.sliderGroup.add(_),this._displayables.dataShadowSegs.push(_)}}}function w(t){var e=y.getModel(t?"selectedDataBackground":"dataBackground"),n=new ei,i=new Sl({shape:{points:s},segmentIgnoreThreshold:1,style:e.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),r=new Tl({shape:{points:l},segmentIgnoreThreshold:1,style:e.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return n.add(i),n.add(r),n}},e.prototype._prepareDataShadowInfo=function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var n,i=this.ecModel;return t.eachTargetAxis(function(r,o){var a=t.getAxisProxy(r,o).getTargetSeriesModels();Object(g.each)(a,function(t){if(!(n||!0!==e&&Object(g.indexOf)(PU,t.get("type"))<0)){var a,s=i.getComponent(sP(r),o).axis,l={x:"y",y:"x",radius:"angle",angle:"radius"}[r],c=t.coordinateSystem;null!=l&&c.getOtherAxis&&(a=c.getOtherAxis(s).inverse),l=t.getData().mapDimension(l),n={thisAxis:s,series:t,thisDim:r,otherDim:l,otherAxisInverse:a}}},this)},this),n}},e.prototype._renderHandle=function(){var t=this.group,e=this._displayables,n=e.handles=[null,null],i=e.handleLabels=[null,null],r=this._displayables.sliderGroup,o=this._size,a=this.dataZoomModel,s=this.api,l=a.get("borderRadius")||0,c=a.get("brushSelect"),u=e.filler=new DU({silent:c,style:{fill:a.get("fillerColor")},textConfig:{position:"inside"}});r.add(u),r.add(new DU({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1],r:l},style:{stroke:a.get("dataBackgroundColor")||a.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),Object(g.each)([0,1],function(e){var o=a.get("handleIcon");!BA[o]&&o.indexOf("path://")<0&&o.indexOf("image://")<0&&(o="path://"+o);var s=OA(o,-1,0,2,2,null,!0);s.attr({cursor:jU(this._orient),draggable:!0,drift:Object(g.bind)(this._onDragMove,this,e),ondragend:Object(g.bind)(this._onDragEnd,this),onmouseover:Object(g.bind)(this._showDataInfo,this,!0),onmouseout:Object(g.bind)(this._showDataInfo,this,!1),z2:5});var l=s.getBoundingRect(),c=a.get("handleSize");this._handleHeight=pi(c,this._size[1]),this._handleWidth=l.width/l.height*this._handleHeight,s.setStyle(a.getModel("handleStyle").getItemStyle()),s.style.strokeNoScale=!0,s.rectHover=!0,s.ensureState("emphasis").style=a.getModel(["emphasis","handleStyle"]).getItemStyle(),_s(s);var u=a.get("handleColor");null!=u&&(s.style.fill=u),r.add(n[e]=s);var h=a.getModel("textStyle");t.add(i[e]=new ka({silent:!0,invisible:!0,style:Vc(h,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:h.getTextColor(),font:h.getFont()}),z2:10}))},this);var h=u;if(c){var d=pi(a.get("moveHandleSize"),o[1]),f=e.moveHandle=new ha({style:a.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:o[1]-.5,height:d}}),p=.8*d,A=e.moveHandleIcon=OA(a.get("moveHandleIcon"),-p/2,-p/2,p,p,"#fff",!0);A.silent=!0,A.y=o[1]+d/2-.5,f.ensureState("emphasis").style=a.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var v=Math.min(o[1]/2,Math.max(d,10));(h=e.moveZone=new ha({invisible:!0,shape:{y:o[1]-v,height:d+v}})).on("mouseover",function(){s.enterEmphasis(f)}).on("mouseout",function(){s.leaveEmphasis(f)}),r.add(f),r.add(A),r.add(h)}h.attr({draggable:!0,cursor:jU(this._orient),drift:Object(g.bind)(this._onDragMove,this,"all"),ondragstart:Object(g.bind)(this._showDataInfo,this,!0),ondragend:Object(g.bind)(this._onDragEnd,this),onmouseover:Object(g.bind)(this._showDataInfo,this,!0),onmouseout:Object(g.bind)(this._showDataInfo,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[fi(t[0],[0,100],e,!0),fi(t[1],[0,100],e,!0)]},e.prototype._updateInterval=function(t,e){var n=this.dataZoomModel,i=this._handleEnds,r=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];DO(e,i,r,n.get("zoomLock")?"all":t,null!=o.minSpan?fi(o.minSpan,a,r,!0):null,null!=o.maxSpan?fi(o.maxSpan,a,r,!0):null);var s=this._range,l=this._range=gi([fi(i[0],r,a,!0),fi(i[1],r,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},e.prototype._updateView=function(t){var e=this._displayables,n=this._handleEnds,i=gi(n.slice()),r=this._size;Object(g.each)([0,1],function(t){var i=e.handles[t],o=this._handleHeight;i.attr({scaleX:o/2,scaleY:o/2,x:n[t]+(t?-1:1),y:r[1]/2-o/2})},this),e.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:r[1]});var o={x:i[0],width:i[1]-i[0]};e.moveHandle&&(e.moveHandle.setShape(o),e.moveZone.setShape(o),e.moveZone.getBoundingRect(),e.moveHandleIcon&&e.moveHandleIcon.attr("x",o.x+o.width/2));for(var a=e.dataShadowSegs,s=[0,i[0],i[1],r[0]],l=0;l<a.length;l++){var c=a[l],u=c.getClipPath();u||(u=new ha,c.setClipPath(u)),u.setShape({x:s[l],y:0,width:s[l+1]-s[l],height:r[1]})}this._updateDataInfo(t)},e.prototype._updateDataInfo=function(t){var e=this.dataZoomModel,n=this._displayables,i=n.handleLabels,r=this._orient,o=["",""];if(e.get("showDetail")){var a=e.findRepresentativeAxisProxy();if(a){var s=a.getAxisModel().axis,l=this._range,c=t?a.calculateDataWindow({start:l[0],end:l[1]}).valueWindow:a.getDataValueWindow();o=[this._formatLabel(c[0],s),this._formatLabel(c[1],s)]}}var u=gi(this._handleEnds.slice());function h(t){var e=Cc(n.handles[t].parent,this.group),a=Bc(0===t?"right":"left",e),s=this._handleWidth/2+FU,l=Sc([u[t]+(0===t?-s:s),this._size[1]/2],e);i[t].setStyle({x:l[0],y:l[1],verticalAlign:r===LU?"middle":a,align:r===LU?a:"center",text:o[t]})}h.call(this,0),h.call(this,1)},e.prototype._formatLabel=function(t,e){var n=this.dataZoomModel,i=n.get("labelFormatter"),r=n.get("labelPrecision");null!=r&&"auto"!==r||(r=e.getPixelPrecision());var o=null==t||isNaN(t)?"":"category"===e.type||"time"===e.type?e.scale.getLabel({value:Math.round(t)}):t.toFixed(Math.min(r,20));return Object(g.isFunction)(i)?i(t,o):Object(g.isString)(i)?i.replace("{value}",o):o},e.prototype._showDataInfo=function(t){t=this._dragging||t;var e=this._displayables,n=e.handleLabels;n[0].attr("invisible",!t),n[1].attr("invisible",!t),e.moveHandle&&this.api[t?"enterEmphasis":"leaveEmphasis"](e.moveHandle,1)},e.prototype._onDragMove=function(t,e,n,i){this._dragging=!0,ct(i.event);var r=Sc([e,n],this._displayables.sliderGroup.getLocalTransform(),!0),o=this._updateInterval(t,r[0]),a=this.dataZoomModel.get("realtime");this._updateView(!a),o&&a&&this._dispatchZoomAction(!0)},e.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1),!this.dataZoomModel.get("realtime")&&this._dispatchZoomAction(!1)},e.prototype._onClickPanel=function(t){var e=this._size,n=this._displayables.sliderGroup.transformCoordToLocal(t.offsetX,t.offsetY);if(!(n[0]<0||n[0]>e[0]||n[1]<0||n[1]>e[1])){var i=this._handleEnds,r=(i[0]+i[1])/2,o=this._updateInterval("all",n[0]-r);this._updateView(),o&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(t){var e=t.offsetX,n=t.offsetY;this._brushStart=new xt(e,n),this._brushing=!0,this._brushStartTime=+new Date},e.prototype._onBrushEnd=function(t){if(this._brushing){var e=this._displayables.brushRect;if(this._brushing=!1,e){e.attr("ignore",!0);var n=e.shape;if(!(+new Date-this._brushStartTime<200&&Math.abs(n.width)<5)){var i=this._getViewExtent(),r=[0,100];this._range=gi([fi(n.x,i,r,!0),fi(n.x+n.width,i,r,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&(ct(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},e.prototype._updateBrushRect=function(t,e){var n=this._displayables,i=this.dataZoomModel,r=n.brushRect;r||(r=n.brushRect=new DU({silent:!0,style:i.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(r)),r.attr("ignore",!1);var o=this._brushStart,a=this._displayables.sliderGroup,s=a.transformCoordToLocal(t,e),l=a.transformCoordToLocal(o.x,o.y),c=this._size;s[0]=Math.max(Math.min(c[0],s[0]),0),r.setShape({x:l[0],y:0,width:s[0]-l[0],height:c[1]})},e.prototype._dispatchZoomAction=function(t){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?NU:null,start:e[0],end:e[1]})},e.prototype._findCoordRect=function(){var t,e=cP(this.dataZoomModel).infoList;if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}if(!t){var i=this.api.getWidth(),r=this.api.getHeight();t={x:.2*i,y:.2*r,width:.6*i,height:.6*r}}return t},e.type="dataZoom.slider",e}(pP);function RU(t){t.registerComponentModel(MU),t.registerComponentView(UU),_P(t)}var QU={get:function(t,e,n){var i=g.clone((HU[t]||{})[e]);return n&&g.isArray(i)?i[i.length-1]:i}},HU={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},VU=QU,zU=Pk.mapVisual,$U=Pk.eachVisual,GU=g.isArray,WU=g.each,KU=gi,YU=fi,XU=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.stateList=["inRange","outOfRange"],n.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],n.layoutMode={type:"box",ignoreSize:!0},n.dataBound=[-1/0,1/0],n.targetVisuals={},n.controllerVisuals={},n}return p(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&QN(n,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},e.prototype.resetVisual=function(t){var e=this.stateList;t=g.bind(t,this),this.controllerVisuals=RN(this.option.controller,e,t),this.targetVisuals=RN(this.option.target,e,t)},e.prototype.getItemSymbol=function(){return null},e.prototype.getTargetSeriesIndices=function(){var t=this.option.seriesIndex,e=[];return null==t||"all"===t?this.ecModel.eachSeries(function(t,n){e.push(n)}):e=Hi(t),e},e.prototype.eachTargetSeries=function(t,e){g.each(this.getTargetSeriesIndices(),function(n){var i=this.ecModel.getSeriesByIndex(n);i&&t.call(e,i)},this)},e.prototype.isTargetSeries=function(t){var e=!1;return this.eachTargetSeries(function(n){n===t&&(e=!0)}),e},e.prototype.formatValueText=function(t,e,n){var i,r=this.option,o=r.precision,a=this.dataBound,s=r.formatter;n=n||["<",">"],g.isArray(t)&&(t=t.slice(),i=!0);var l=e?t:i?[c(t[0]),c(t[1])]:c(t);return g.isString(s)?s.replace("{value}",i?l[0]:l).replace("{value2}",i?l[1]:l):g.isFunction(s)?i?s(t[0],t[1]):s(t):i?t[0]===a[0]?n[0]+" "+l[1]:t[1]===a[1]?n[1]+" "+l[0]:l[0]+" - "+l[1]:l;function c(t){return t===a[0]?"min":t===a[1]?"max":(+t).toFixed(Math.min(o,20))}},e.prototype.resetExtent=function(){var t=this.option,e=KU([t.min,t.max]);this._dataExtent=e},e.prototype.getDataDimensionIndex=function(t){var e=this.option.dimension;if(null!=e)return t.getDimensionIndex(e);for(var n=t.dimensions,i=n.length-1;i>=0;i--){var r=n[i],o=t.getDimensionInfo(r);if(!o.isCalculationCoord)return o.storeDimIndex}},e.prototype.getExtent=function(){return this._dataExtent.slice()},e.prototype.completeVisualOption=function(){var t=this.ecModel,e=this.option,n={inRange:e.inRange,outOfRange:e.outOfRange},i=e.target||(e.target={}),r=e.controller||(e.controller={});g.merge(i,n),g.merge(r,n);var o=this.isCategory();function a(n){GU(e.color)&&!n.inRange&&(n.inRange={color:e.color.slice().reverse()}),n.inRange=n.inRange||{color:t.get("gradientColor")}}a.call(this,i),a.call(this,r),function(t,e,n){var i=t[e],r=t[n];i&&!r&&(r=t[n]={},WU(i,function(t,e){if(Pk.isValidType(e)){var n=VU.get(e,"inactive",o);null!=n&&(r[e]=n,"color"!==e||r.hasOwnProperty("opacity")||r.hasOwnProperty("colorAlpha")||(r.opacity=[0,0]))}}))}.call(this,i,"inRange","outOfRange"),function(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,n=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,i=this.get("inactiveColor"),r=this.getItemSymbol()||"roundRect";WU(this.stateList,function(a){var s=this.itemSize,l=t[a];l||(l=t[a]={color:o?i:[i]}),null==l.symbol&&(l.symbol=e&&g.clone(e)||(o?r:[r])),null==l.symbolSize&&(l.symbolSize=n&&g.clone(n)||(o?s[0]:[s[0],s[0]])),l.symbol=zU(l.symbol,function(t){return"none"===t?r:t});var c=l.symbolSize;if(null!=c){var u=-1/0;$U(c,function(t){t>u&&(u=t)}),l.symbolSize=zU(c,function(t){return YU(t,[0,u],[0,s[0]],!0)})}},this)}.call(this,r)},e.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},e.prototype.isCategory=function(){return!!this.option.categories},e.prototype.setSelected=function(t){},e.prototype.getSelected=function(){return null},e.prototype.getValueState=function(t){return null},e.prototype.getVisualMeta=function(t){return null},e.type="visualMap",e.dependencies=["series"],e.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},e}(Ch),qU=[20,140];function ZU(t,e,n){if(n[0]===n[1])return n.slice();for(var i=(n[1]-n[0])/200,r=n[0],o=[],a=0;a<=200&&r<n[1];a++)o.push(r),r+=i;return o.push(n[1]),o}var JU=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()}),this._resetRange()},e.prototype.resetItemSize=function(){t.prototype.resetItemSize.apply(this,arguments);var e=this.itemSize;(null==e[0]||isNaN(e[0]))&&(e[0]=qU[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=qU[1])},e.prototype._resetRange=function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):g.isArray(e)&&(e[0]>e[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},e.prototype.completeVisualOption=function(){t.prototype.completeVisualOption.apply(this,arguments),g.each(this.stateList,function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=e[1]/3)},this)},e.prototype.setSelected=function(t){this.option.range=t.slice(),this._resetRange()},e.prototype.getSelected=function(){var t=this.getExtent(),e=gi((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]<t[0]&&(e[0]=t[0]),e[1]<t[0]&&(e[1]=t[0]),e},e.prototype.getValueState=function(t){var e=this.option.range,n=this.getExtent();return(e[0]<=n[0]||e[0]<=t)&&(e[1]>=n[1]||t<=e[1])?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[];return this.eachTargetSeries(function(n){var i=[],r=n.getData();r.each(this.getDataDimensionIndex(r),function(e,n){t[0]<=e&&e<=t[1]&&i.push(n)},this),e.push({seriesId:n.id,dataIndex:i})},this),e},e.prototype.getVisualMeta=function(t){var e=ZU(this,"outOfRange",this.getExtent()),n=ZU(this,"inRange",this.option.range.slice()),i=[];function r(e,n){i.push({value:e,color:t(e,n)})}for(var o=0,a=0,s=n.length,l=e.length;a<l&&(!n.length||e[a]<=n[0]);a++)e[a]<n[o]&&r(e[a],"outOfRange");for(var c=1;o<s;o++,c=0)c&&i.length&&r(n[o],"outOfRange"),r(n[o],"inRange");for(c=1;a<l;a++)(!n.length||n[n.length-1]<e[a])&&(c&&(i.length&&r(i[i.length-1].value,"outOfRange"),c=0),r(e[a],"outOfRange"));var u=i.length;return{stops:i,outerColors:[u?i[0].color:"transparent",u?i[u-1].color:"transparent"]}},e.type="visualMap.continuous",e.defaultOption=Au(XU.defaultOption,{align:"auto",calculable:!1,hoverLink:!0,realtime:!0,handleIcon:"path://M-11.39,9.77h0a3.5,3.5,0,0,1-3.5,3.5h-22a3.5,3.5,0,0,1-3.5-3.5h0a3.5,3.5,0,0,1,3.5-3.5h22A3.5,3.5,0,0,1-11.39,9.77Z",handleSize:"120%",handleStyle:{borderColor:"#fff",borderWidth:1},indicatorIcon:"circle",indicatorSize:"50%",indicatorStyle:{borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}}),e}(XU),tR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.autoPositionValues={left:1,right:1,top:1,bottom:1},n}return p(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e},e.prototype.render=function(t,e,n,i){this.visualMapModel=t,!1!==t.get("show")?this.doRender(t,e,n,i):this.group.removeAll()},e.prototype.renderBackground=function(t){var e=this.visualMapModel,n=eh(e.get("padding")||0),i=t.getBoundingRect();t.add(new ha({z2:-1,silent:!0,shape:{x:i.x-n[3],y:i.y-n[0],width:i.width+n[3]+n[1],height:i.height+n[0]+n[2]},style:{fill:e.get("backgroundColor"),stroke:e.get("borderColor"),lineWidth:e.get("borderWidth")}}))},e.prototype.getControllerVisual=function(t,e,n){var i=(n=n||{}).forceState,r=this.visualMapModel,o={};if("color"===e){var a=r.get("contentColor");o.color=a}function s(t){return o[t]}function l(t,e){o[t]=e}var c=r.controllerVisuals[i||r.getValueState(t)],u=Pk.prepareVisualTypes(c);return g.each(u,function(i){var r=c[i];n.convertOpacityToAlpha&&"opacity"===i&&(i="colorAlpha",r=c.__alphaForOpacity),Pk.dependsOn(i,e)&&r&&r.applyVisual(t,s,l)}),o[e]},e.prototype.positionGroup=function(t){var e=this.visualMapModel,n=this.api;vh(t,e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},e.prototype.doRender=function(t,e,n,i){},e.type="visualMap",e}(fp),eR=[["left","right","width"],["top","bottom","height"]];function nR(t,e,n){var i=t.option,r=i.align;if(null!=r&&"auto"!==r)return r;for(var o={width:e.getWidth(),height:e.getHeight()},a="horizontal"===i.orient?1:0,s=eR[a],l=[0,null,10],c={},u=0;u<3;u++)c[eR[1-a][u]]=l[u],c[s[u]]=2===u?n[0]:i[s[u]];var h=[["x","width",3],["y","height",0]][a],d=gh(c,o,i.padding);return s[(d.margin[h[2]]||0)+d[h[0]]+.5*d[h[1]]<.5*o[h[1]]?0:1]}function iR(t,e){return g.each(t||[],function(t){null!=t.dataIndex&&(t.dataIndexInside=t.dataIndex,t.dataIndex=null),t.highlightKey="visualMap"+(e?e.componentIndex:"")}),t}var rR=fi,oR=g.each,aR=Math.min,sR=Math.max,lR=12;function cR(t,e,n,i){return new Sl({shape:{points:t},draggable:!!n,cursor:e,drift:n,onmousemove:function(t){ct(t.event)},ondragend:i})}function uR(t){var e=t.get("hoverLinkOnHandle");return!!(null==e?t.get("realtime"):e)}function hR(t){return"vertical"===t?"ns-resize":"ew-resize"}var dR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._shapes={},n._dataInterval=[],n._handleEnds=[],n._hoverLinkDataIndices=[],n}return p(e,t),e.prototype.doRender=function(t,e,n,i){this._api=n,i&&"selectDataRange"===i.type&&i.from===this.uid||this._buildView()},e.prototype._buildView=function(){this.group.removeAll();var t=this.visualMapModel,e=this.group;this._orient=t.get("orient"),this._useHandle=t.get("calculable"),this._resetInterval(),this._renderBar(e);var n=t.get("text");this._renderEndsText(e,n,0),this._renderEndsText(e,n,1),this._updateView(!0),this.renderBackground(e),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(e)},e.prototype._renderEndsText=function(t,e,n){if(e){var i=e[1-n];i=null!=i?i+"":"";var r=this.visualMapModel,o=r.get("textGap"),a=r.itemSize,s=this._shapes.mainGroup,l=this._applyTransform([a[0]/2,0===n?-o:a[1]+o],s),c=this._applyTransform(0===n?"bottom":"top",s),u=this._orient,h=this.visualMapModel.textStyleModel;this.group.add(new ka({style:Vc(h,{x:l[0],y:l[1],verticalAlign:"horizontal"===u?"middle":c,align:"horizontal"===u?c:"center",text:i})}))}},e.prototype._renderBar=function(t){var e=this.visualMapModel,n=this._shapes,i=e.itemSize,r=this._orient,o=this._useHandle,a=nR(e,this.api,i),s=n.mainGroup=this._createBarGroup(a),l=new ei;s.add(l),l.add(n.outOfRange=cR()),l.add(n.inRange=cR(null,o?hR(this._orient):null,g.bind(this._dragHandle,this,"all",!1),g.bind(this._dragHandle,this,"all",!0))),l.setClipPath(new ha({shape:{x:0,y:0,width:i[0],height:i[1],r:3}}));var c=e.textStyleModel.getTextRect("国"),u=sR(c.width,c.height);o&&(n.handleThumbs=[],n.handleLabels=[],n.handleLabelPoints=[],this._createHandle(e,s,0,i,u,r),this._createHandle(e,s,1,i,u,r)),this._createIndicator(e,s,i,u,r),t.add(s)},e.prototype._createHandle=function(t,e,n,i,r,o){var a=g.bind(this._dragHandle,this,n,!1),s=g.bind(this._dragHandle,this,n,!0),l=Vn(t.get("handleSize"),i[0]),c=OA(t.get("handleIcon"),-l/2,-l/2,l,l,null,!0),u=hR(this._orient);c.attr({cursor:u,draggable:!0,drift:a,ondragend:s,onmousemove:function(t){ct(t.event)}}),c.x=i[0]/2,c.useStyle(t.getModel("handleStyle").getItemStyle()),c.setStyle({strokeNoScale:!0,strokeFirst:!0}),c.style.lineWidth*=2,c.ensureState("emphasis").style=t.getModel(["emphasis","handleStyle"]).getItemStyle(),ks(c,!0),e.add(c);var h=this.visualMapModel.textStyleModel,d=new ka({cursor:u,draggable:!0,drift:a,onmousemove:function(t){ct(t.event)},ondragend:s,style:Vc(h,{x:0,y:0,text:""})});d.ensureState("blur").style={opacity:.1},d.stateTransition={duration:200},this.group.add(d);var f=[l,0],p=this._shapes;p.handleThumbs[n]=c,p.handleLabelPoints[n]=f,p.handleLabels[n]=d},e.prototype._createIndicator=function(t,e,n,i,r){var o=Vn(t.get("indicatorSize"),n[0]),a=OA(t.get("indicatorIcon"),-o/2,-o/2,o,o,null,!0);a.attr({cursor:"move",invisible:!0,silent:!0,x:n[0]/2});var s=t.getModel("indicatorStyle").getItemStyle();if(a instanceof ia){var l=a.style;a.useStyle(g.extend({image:l.image,x:l.x,y:l.y,width:l.width,height:l.height},s))}else a.useStyle(s);e.add(a);var c=this.visualMapModel.textStyleModel,u=new ka({silent:!0,invisible:!0,style:Vc(c,{x:0,y:0,text:""})});this.group.add(u);var h=[("horizontal"===r?i/2:6)+n[0]/2,0],d=this._shapes;d.indicator=a,d.indicatorLabel=u,d.indicatorLabelPoint=h,this._firstShowIndicator=!0},e.prototype._dragHandle=function(t,e,n,i){if(this._useHandle){if(this._dragging=!e,!e){var r=this._applyTransform([n,i],this._shapes.mainGroup,!0);this._updateInterval(t,r[1]),this._hideIndicator(),this._updateView()}e===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),e?!this._hovering&&this._clearHoverLinkToSeries():uR(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[t],!1)}},e.prototype._resetInterval=function(){var t=this.visualMapModel,e=this._dataInterval=t.getSelected(),n=t.getExtent(),i=[0,t.itemSize[1]];this._handleEnds=[rR(e[0],n,i,!0),rR(e[1],n,i,!0)]},e.prototype._updateInterval=function(t,e){e=e||0;var n=this.visualMapModel,i=this._handleEnds,r=[0,n.itemSize[1]];DO(e,i,r,t,0);var o=n.getExtent();this._dataInterval=[rR(i[0],r,o,!0),rR(i[1],r,o,!0)]},e.prototype._updateView=function(t){var e=this.visualMapModel,n=e.getExtent(),i=this._shapes,r=[0,e.itemSize[1]],o=t?r:this._handleEnds,a=this._createBarVisual(this._dataInterval,n,o,"inRange"),s=this._createBarVisual(n,n,r,"outOfRange");i.inRange.setStyle({fill:a.barColor}).setShape("points",a.barPoints),i.outOfRange.setStyle({fill:s.barColor}).setShape("points",s.barPoints),this._updateHandle(o,a)},e.prototype._createBarVisual=function(t,e,n,i){var r={forceState:i,convertOpacityToAlpha:!0},o=this._makeColorGradient(t,r),a=[this.getControllerVisual(t[0],"symbolSize",r),this.getControllerVisual(t[1],"symbolSize",r)],s=this._createBarPoints(n,a);return{barColor:new Vl(0,0,0,1,o),barPoints:s,handlesColor:[o[0].color,o[o.length-1].color]}},e.prototype._makeColorGradient=function(t,e){var n=[],i=(t[1]-t[0])/100;n.push({color:this.getControllerVisual(t[0],"color",e),offset:0});for(var r=1;r<100;r++){var o=t[0]+i*r;if(o>t[1])break;n.push({color:this.getControllerVisual(o,"color",e),offset:r/100})}return n.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),n},e.prototype._createBarPoints=function(t,e){var n=this.visualMapModel.itemSize;return[[n[0]-e[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-e[1],t[1]]]},e.prototype._createBarGroup=function(t){var e=this._orient,n=this.visualMapModel.get("inverse");return new ei("horizontal"!==e||n?"horizontal"===e&&n?{scaleX:"bottom"===t?-1:1,rotation:-Math.PI/2}:"vertical"!==e||n?{scaleX:"left"===t?1:-1}:{scaleX:"left"===t?1:-1,scaleY:-1}:{scaleX:"bottom"===t?1:-1,rotation:Math.PI/2})},e.prototype._updateHandle=function(t,e){if(this._useHandle){var n=this._shapes,i=this.visualMapModel,r=n.handleThumbs,o=n.handleLabels,a=i.itemSize,s=i.getExtent();oR([0,1],function(l){var c=r[l];c.setStyle("fill",e.handlesColor[l]),c.y=t[l];var u=rR(t[l],[0,a[1]],s,!0),h=this.getControllerVisual(u,"symbolSize");c.scaleX=c.scaleY=h/a[0],c.x=a[0]-h/2;var d=Sc(n.handleLabelPoints[l],Cc(c,this.group));o[l].setStyle({x:d[0],y:d[1],text:i.formatValueText(this._dataInterval[l]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",n.mainGroup):"center"})},this)}},e.prototype._showIndicator=function(t,e,n,i){var r=this.visualMapModel,o=r.getExtent(),a=r.itemSize,s=[0,a[1]],l=this._shapes,c=l.indicator;if(c){c.attr("invisible",!1);var u=this.getControllerVisual(t,"color",{convertOpacityToAlpha:!0}),h=this.getControllerVisual(t,"symbolSize"),d=rR(t,o,s,!0),f=a[0]-h/2,p={x:c.x,y:c.y};c.y=d,c.x=f;var A=Sc(l.indicatorLabelPoint,Cc(c,this.group)),g=l.indicatorLabel;g.attr("invisible",!1);var v=this._applyTransform("left",l.mainGroup),m="horizontal"===this._orient;g.setStyle({text:(n||"")+r.formatValueText(e),verticalAlign:m?v:"middle",align:m?"center":v});var y={x:f,y:d,style:{fill:u}},b={style:{x:A[0],y:A[1]}};if(r.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var _={duration:100,easing:"cubicInOut",additive:!0};c.x=p.x,c.y=p.y,c.animateTo(y,_),g.animateTo(b,_)}else c.attr(y),g.attr(b);this._firstShowIndicator=!1;var w=this._shapes.handleLabels;if(w)for(var x=0;x<w.length;x++)this._api.enterBlur(w[x])}},e.prototype._enableHoverLinkToSeries=function(){var t=this;this._shapes.mainGroup.on("mousemove",function(e){if(t._hovering=!0,!t._dragging){var n=t.visualMapModel.itemSize,i=t._applyTransform([e.offsetX,e.offsetY],t._shapes.mainGroup,!0,!0);i[1]=aR(sR(0,i[1]),n[1]),t._doHoverLinkToSeries(i[1],0<=i[0]&&i[0]<=n[0])}}).on("mouseout",function(){t._hovering=!1,!t._dragging&&t._clearHoverLinkToSeries()})},e.prototype._enableHoverLinkFromSeries=function(){var t=this.api.getZr();this.visualMapModel.option.hoverLink?(t.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),t.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},e.prototype._doHoverLinkToSeries=function(t,e){var n=this.visualMapModel,i=n.itemSize;if(n.option.hoverLink){var r=[0,i[1]],o=n.getExtent();t=aR(sR(r[0],t),r[1]);var a=function(t,e,n){var i=lR/2,r=t.get("hoverLinkDataSize");r&&(i=rR(r,e,n,!0)/2);return i}(n,o,r),s=[t-a,t+a],l=rR(t,r,o,!0),c=[rR(s[0],r,o,!0),rR(s[1],r,o,!0)];s[0]<r[0]&&(c[0]=-1/0),s[1]>r[1]&&(c[1]=1/0),e&&(c[0]===-1/0?this._showIndicator(l,c[1],"< ",a):c[1]===1/0?this._showIndicator(l,c[0],"> ",a):this._showIndicator(l,l,"≈ ",a));var u=this._hoverLinkDataIndices,h=[];(e||uR(n))&&(h=this._hoverLinkDataIndices=n.findTargetDataIndices(c));var d=function(t,e){var n={},i={};return r(t||[],n),r(e||[],i,n),[o(n),o(i)];function r(t,e,n){for(var i=0,r=t.length;i<r;i++){var o=Xi(t[i].seriesId,null);if(null==o)return;for(var a=Hi(t[i].dataIndex),s=n&&n[o],l=0,c=a.length;l<c;l++){var u=a[l];s&&s[u]?s[u]=null:(e[o]||(e[o]={}))[u]=1}}}function o(t,e){var n=[];for(var i in t)if(t.hasOwnProperty(i)&&null!=t[i])if(e)n.push(+i);else{var r=o(t[i],!0);r.length&&n.push({seriesId:i,dataIndex:r})}return n}}(u,h);this._dispatchHighDown("downplay",iR(d[0],n)),this._dispatchHighDown("highlight",iR(d[1],n))}},e.prototype._hoverLinkFromSeriesMouseOver=function(t){var e;if(gA(t.target,function(t){var n=Ta(t);if(null!=n.dataIndex)return e=n,!0},!0),e){var n=this.ecModel.getSeriesByIndex(e.seriesIndex),i=this.visualMapModel;if(i.isTargetSeries(n)){var r=n.getData(e.dataType),o=r.getStore().get(i.getDataDimensionIndex(r),e.dataIndex);isNaN(o)||this._showIndicator(o,o)}}},e.prototype._hideIndicator=function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0);var e=this._shapes.handleLabels;if(e)for(var n=0;n<e.length;n++)this._api.leaveBlur(e[n])},e.prototype._clearHoverLinkToSeries=function(){this._hideIndicator();var t=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",iR(t,this.visualMapModel)),t.length=0},e.prototype._clearHoverLinkFromSeries=function(){this._hideIndicator();var t=this.api.getZr();t.off("mouseover",this._hoverLinkFromSeriesMouseOver),t.off("mouseout",this._hideIndicator)},e.prototype._applyTransform=function(t,e,n,i){var r=Cc(e,i?null:this.group);return g.isArray(t)?Sc(t,r,n):Bc(t,r,n)},e.prototype._dispatchHighDown=function(t,e){e&&e.length&&this.api.dispatchAction({type:t,batch:e})},e.prototype.dispose=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},e.prototype.remove=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},e.type="visualMap.continuous",e}(tR),fR={type:"selectDataRange",event:"dataRangeSelected",update:"update"},pR=function(t,e){e.eachComponent({mainType:"visualMap",query:t},function(e){e.setSelected(t.selected)})},AR=[{createOnAllSeries:!0,reset:function(t,e){var n=[];return e.eachComponent("visualMap",function(e){var i,r,o,a,s,l=t.pipelineContext;!e.isTargetSeries(t)||l&&l.large||n.push((i=e.stateList,r=e.targetVisuals,o=g.bind(e.getValueState,e),a=e.getDataDimensionIndex(t.getData()),s={},g.each(i,function(t){var e=Pk.prepareVisualTypes(r[t]);s[t]=e}),{progress:function(t,e){var n,i;function l(t){return hA(e,i,t)}function c(t,n){fA(e,i,t,n)}null!=a&&(n=e.getDimensionIndex(a));for(var u=e.getStore();null!=(i=t.next());){var h=e.getRawDataItem(i);if(!h||!1!==h.visualMap)for(var d=null!=a?u.get(n,i):i,f=o(d),p=r[f],A=s[f],g=0,v=A.length;g<v;g++){var m=A[g];p[m]&&p[m].applyVisual(d,l,c)}}}}))}),n}},{createOnAllSeries:!0,reset:function(t,e){var n=t.getData(),i=[];e.eachComponent("visualMap",function(e){if(e.isTargetSeries(t)){var r=e.getVisualMeta(g.bind(gR,null,t,e))||{stops:[],outerColors:[]},o=e.getDataDimensionIndex(n);o>=0&&(r.dimension=o,i.push(r))}}),t.getData().setVisual("visualMeta",i)}}];function gR(t,e,n,i){for(var r=e.targetVisuals[i],o=Pk.prepareVisualTypes(r),a={color:dA(t.getData(),"color")},s=0,l=o.length;s<l;s++){var c=o[s],u=r["opacity"===c?"__alphaForOpacity":c];u&&u.applyVisual(n,h,d)}return a.color;function h(t){return a[t]}function d(t,e){a[t]=e}}var vR=g.each;function mR(t){var e=t&&t.visualMap;g.isArray(e)||(e=e?[e]:[]),vR(e,function(t){if(t){yR(t,"splitList")&&!yR(t,"pieces")&&(t.pieces=t.splitList,delete t.splitList);var e=t.pieces;e&&g.isArray(e)&&vR(e,function(t){g.isObject(t)&&(yR(t,"start")&&!yR(t,"min")&&(t.min=t.start),yR(t,"end")&&!yR(t,"max")&&(t.max=t.end))})}})}function yR(t,e){return t&&t.hasOwnProperty&&t.hasOwnProperty(e)}var bR=!1;function _R(t){bR||(bR=!0,t.registerSubTypeDefaulter("visualMap",function(t){return t.categories||(t.pieces?t.pieces.length>0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"}),t.registerAction(fR,pR),Object(g.each)(AR,function(e){t.registerVisual(t.PRIORITY.VISUAL.COMPONENT,e)}),t.registerPreprocessor(mR))}function wR(t){t.registerComponentModel(JU),t.registerComponentView(dR),_R(t)}var xR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._pieceList=[],n}return p(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var i=this._mode=this._determineMode();this._pieceList=[],CR[this._mode].call(this,this._pieceList),this._resetSelected(e,n);var r=this.option.categories;this.resetVisual(function(t,e){"categories"===i?(t.mappingMethod="category",t.categories=g.clone(r)):(t.dataExtent=this.getExtent(),t.mappingMethod="piecewise",t.pieceList=g.map(this._pieceList,function(t){return t=g.clone(t),"inRange"!==e&&(t.visual=null),t}))})},e.prototype.completeVisualOption=function(){var e=this.option,n={},i=Pk.listVisualTypes(),r=this.isCategory();function o(t,e,n){return t&&t[e]&&t[e].hasOwnProperty(n)}g.each(e.pieces,function(t){g.each(i,function(e){t.hasOwnProperty(e)&&(n[e]=1)})}),g.each(n,function(t,n){var i=!1;g.each(this.stateList,function(t){i=i||o(e,t,n)||o(e.target,t,n)},this),!i&&g.each(this.stateList,function(t){(e[t]||(e[t]={}))[n]=VU.get(n,"inRange"===t?"active":"inactive",r)})},this),t.prototype.completeVisualOption.apply(this,arguments)},e.prototype._resetSelected=function(t,e){var n=this.option,i=this._pieceList,r=(e?n:t).selected||{};if(n.selected=r,g.each(i,function(t,e){var n=this.getSelectedMapKey(t);r.hasOwnProperty(n)||(r[n]=!0)},this),"single"===n.selectedMode){var o=!1;g.each(i,function(t,e){var n=this.getSelectedMapKey(t);r[n]&&(o?r[n]=!1:o=!0)},this)}},e.prototype.getItemSymbol=function(){return this.get("itemSymbol")},e.prototype.getSelectedMapKey=function(t){return"categories"===this._mode?t.value+"":t.index+""},e.prototype.getPieceList=function(){return this._pieceList},e.prototype._determineMode=function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},e.prototype.setSelected=function(t){this.option.selected=g.clone(t)},e.prototype.getValueState=function(t){var e=Pk.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[],n=this._pieceList;return this.eachTargetSeries(function(i){var r=[],o=i.getData();o.each(this.getDataDimensionIndex(o),function(e,i){Pk.findPieceIndex(e,n)===t&&r.push(i)},this),e.push({seriesId:i.id,dataIndex:r})},this),e},e.prototype.getRepresentValue=function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var n=t.interval||[];e=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return e},e.prototype.getVisualMeta=function(t){if(!this.isCategory()){var e=[],n=["",""],i=this,r=this._pieceList.slice();if(r.length){var o=r[0].interval[0];o!==-1/0&&r.unshift({interval:[-1/0,o]}),(o=r[r.length-1].interval[1])!==1/0&&r.push({interval:[o,1/0]})}else r.push({interval:[-1/0,1/0]});var a=-1/0;return g.each(r,function(t){var e=t.interval;e&&(e[0]>a&&s([a,e[0]],"outOfRange"),s(e.slice()),a=e[1])},this),{stops:e,outerColors:n}}function s(r,o){var a=i.getRepresentValue({interval:r});o||(o=i.getValueState(a));var s=t(a,o);r[0]===-1/0?n[0]=s:r[1]===1/0?n[1]=s:e.push({value:r[0],color:s},{value:r[1],color:s})}},e.type="visualMap.piecewise",e.defaultOption=Au(XU.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),e}(XU),CR={splitNumber:function(t){var e=this.option,n=Math.min(e.precision,20),i=this.getExtent(),r=e.splitNumber;r=Math.max(parseInt(r,10),1),e.splitNumber=r;for(var o=(i[1]-i[0])/r;+o.toFixed(n)!==o&&n<5;)n++;e.precision=n,o=+o.toFixed(n),e.minOpen&&t.push({interval:[-1/0,i[0]],close:[0,0]});for(var a=0,s=i[0];a<r;s+=o,a++){var l=a===r-1?i[1]:s+o;t.push({interval:[s,l],close:[1,1]})}e.maxOpen&&t.push({interval:[i[1],1/0],close:[0,0]}),Mi(t),g.each(t,function(t,e){t.index=e,t.text=this.formatValueText(t.interval)},this)},categories:function(t){var e=this.option;g.each(e.categories,function(e){t.push({text:this.formatValueText(e,!0),value:e})},this),SR(e,t)},pieces:function(t){var e=this.option;g.each(e.pieces,function(e,n){g.isObject(e)||(e={value:e});var i={text:"",index:n};if(null!=e.label&&(i.text=e.label),e.hasOwnProperty("value")){var r=i.value=e.value;i.interval=[r,r],i.close=[1,1]}else{for(var o=i.interval=[],a=i.close=[0,0],s=[1,0,1],l=[-1/0,1/0],c=[],u=0;u<2;u++){for(var h=[["gte","gt","min"],["lte","lt","max"]][u],d=0;d<3&&null==o[u];d++)o[u]=e[h[d]],a[u]=s[d],c[u]=2===d;null==o[u]&&(o[u]=l[u])}c[0]&&o[1]===1/0&&(a[0]=0),c[1]&&o[0]===-1/0&&(a[1]=0),o[0]===o[1]&&a[0]&&a[1]&&(i.value=o[0])}i.visual=Pk.retrieveVisuals(e),t.push(i)},this),SR(e,t),Mi(t),g.each(t,function(t){var e=t.close,n=[["<","≤"][e[1]],[">","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,n)},this)}};function SR(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}var BR=xR,kR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return p(e,t),e.prototype.doRender=function(){var t=this.group;t.removeAll();var e=this.visualMapModel,n=e.get("textGap"),i=e.textStyleModel,r=i.getFont(),o=i.getTextColor(),a=this._getItemAlign(),s=e.itemSize,l=this._getViewData(),c=l.endsText,u=g.retrieve(e.get("showLabel",!0),!c);c&&this._renderEndsText(t,c[0],s,u,a),g.each(l.viewPieceList,function(i){var l=i.piece,c=new ei;c.onclick=g.bind(this._onItemClick,this,l),this._enableHoverLink(c,i.indexInModelPieceList);var h=e.getRepresentValue(l);if(this._createItemSymbol(c,h,[0,0,s[0],s[1]]),u){var d=this.visualMapModel.getValueState(h);c.add(new ka({style:{x:"right"===a?-n:s[0]+n,y:s[1]/2,text:l.text,verticalAlign:"middle",align:a,font:r,fill:o,opacity:"outOfRange"===d?.5:1}}))}t.add(c)},this),c&&this._renderEndsText(t,c[1],s,u,a),Ah(e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},e.prototype._enableHoverLink=function(t,e){var n=this;t.on("mouseover",function(){return i("highlight")}).on("mouseout",function(){return i("downplay")});var i=function(t){var i=n.visualMapModel;i.option.hoverLink&&n.api.dispatchAction({type:t,batch:iR(i.findTargetDataIndices(e),i)})}},e.prototype._getItemAlign=function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return nR(t,this.api,t.itemSize);var n=e.align;return n&&"auto"!==n||(n="left"),n},e.prototype._renderEndsText=function(t,e,n,i,r){if(e){var o=new ei,a=this.visualMapModel.textStyleModel;o.add(new ka({style:Vc(a,{x:i?"right"===r?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:i?r:"center",text:e})})),t.add(o)}},e.prototype._getViewData=function(){var t=this.visualMapModel,e=g.map(t.getPieceList(),function(t,e){return{piece:t,indexInModelPieceList:e}}),n=t.get("text"),i=t.get("orient"),r=t.get("inverse");return("horizontal"===i?r:!r)?e.reverse():n&&(n=n.slice().reverse()),{viewPieceList:e,endsText:n}},e.prototype._createItemSymbol=function(t,e,n){t.add(OA(this.getControllerVisual(e,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(e,"color")))},e.prototype._onItemClick=function(t){var e=this.visualMapModel,n=e.option,i=n.selectedMode;if(i){var r=g.clone(n.selected),o=e.getSelectedMapKey(t);"single"===i||!0===i?(r[o]=!0,g.each(r,function(t,e){r[e]=e===o})):r[o]=!r[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:r})}},e.type="visualMap.piecewise",e}(tR);function TR(t){t.registerComponentModel(BR),t.registerComponentView(kR),_R(t)}var OR={label:{enabled:!0},decal:{show:!1}},ER=tr(),IR={};function MR(t,e){var n=t.getModel("aria");if(n.get("enabled")){var i=g.clone(OR);g.merge(i.label,t.getLocaleModel().get("aria"),!1),g.merge(n.option,i,!1),function(){if(n.getModel("decal").get("show")){var e=g.createHashMap();t.eachSeries(function(t){if(!t.isColorBySeries()){var n=e.get(t.type);n||(n={},e.set(t.type,n)),ER(t).scope=n}}),t.eachRawSeries(function(e){if(!t.isSeriesFiltered(e))if(g.isFunction(e.enableAriaDecal))e.enableAriaDecal();else{var n=e.getData();if(e.isColorBySeries()){var i=qh(e.ecModel,e.name,IR,t.getSeriesCount()),r=n.getVisual("decal");n.setVisual("decal",c(r,i))}else{var o=e.getRawData(),a={},s=ER(e).scope;n.each(function(t){var e=n.getRawIndex(t);a[e]=t});var l=o.count();o.each(function(t){var i=a[t],r=o.getName(t)||t+"",u=qh(e.ecModel,r,s,l),h=n.getItemVisual(i,"decal");n.setItemVisual(i,"decal",c(h,u))})}}function c(t,e){var n=t?g.extend(g.extend({},e),t):e;return n.dirty=!0,n}})}}(),function(){var i=t.getLocaleModel().get("aria"),o=n.getModel("label");if(o.option=g.defaults(o.option,i),!o.get("enabled"))return;var a=e.getZr().dom;if(o.get("description"))return void a.setAttribute("aria-label",o.get("description"));var s,l=t.getSeriesCount(),c=o.get(["data","maxCount"])||10,u=o.get(["series","maxCount"])||10,h=Math.min(l,u);if(l<1)return;var d=function(){var e=t.get("title");e&&e.length&&(e=e[0]);return e&&e.text}();if(d){var f=o.get(["general","withTitle"]);s=r(f,{title:d})}else s=o.get(["general","withoutTitle"]);var p=[],A=l>1?o.get(["series","multiple","prefix"]):o.get(["series","single","prefix"]);s+=r(A,{seriesCount:l}),t.eachSeries(function(e,n){if(n<h){var i=void 0,a=e.get("name"),s=a?"withName":"withoutName";i=r(i=l>1?o.get(["series","multiple",s]):o.get(["series","single",s]),{seriesId:e.seriesIndex,seriesName:e.get("name"),seriesType:(_=e.subType,t.getLocaleModel().get(["series","typeNames"])[_]||"自定义图")});var u=e.getData();if(u.count()>c){var d=o.get(["data","partialData"]);i+=r(d,{displayCnt:c})}else i+=o.get(["data","allData"]);for(var f=o.get(["data","separator","middle"]),A=o.get(["data","separator","end"]),g=[],v=0;v<u.count();v++)if(v<c){var m=u.getName(v),y=u.getValues(v),b=o.get(["data",m?"withName":"withoutName"]);g.push(r(b,{name:m,value:y.join(f)}))}i+=g.join(f)+A,p.push(i)}var _});var v=o.getModel(["series","multiple","separator"]),m=v.get("middle"),y=v.get("end");s+=p.join(m)+y,a.setAttribute("aria-label",s)}()}function r(t,e){if(!g.isString(t))return t;var n=t;return g.each(e,function(t,e){n=n.replace(new RegExp("\\{\\s*"+e+"\\s*\\}","g"),t)}),n}}function DR(t){if(t&&t.aria){var e=t.aria;null!=e.show&&(e.enabled=e.show),e.label=e.label||{},g.each(["description","general","series","data"],function(t){null!=e[t]&&(e.label[t]=e[t])})}}var LR={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},FR=function(){function t(t){if(null==(this._condVal=Object(g.isString)(t)?new RegExp(t):Object(g.isRegExp)(t)?t:null)){var e="";0,ji(e)}}return t.prototype.evaluate=function(t){var e=typeof t;return Object(g.isString)(e)?this._condVal.test(t):!!Object(g.isNumber)(e)&&this._condVal.test(t+"")},t}(),PR=function(){function t(){}return t.prototype.evaluate=function(){return this.value},t}(),NR=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e<t.length;e++)if(!t[e].evaluate())return!1;return!0},t}(),jR=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e<t.length;e++)if(t[e].evaluate())return!0;return!1},t}(),UR=function(){function t(){}return t.prototype.evaluate=function(){return!this.child.evaluate()},t}(),RR=function(){function t(){}return t.prototype.evaluate=function(){for(var t=!!this.valueParser,e=(0,this.getValue)(this.valueGetterParam),n=t?this.valueParser(e):null,i=0;i<this.subCondList.length;i++)if(!this.subCondList[i].evaluate(t?n:e))return!1;return!0},t}();function QR(t,e){if(!0===t||!1===t){var n=new PR;return n.value=t,n}var i="";return VR(t)||ji(i),t.and?HR("and",t,e):t.or?HR("or",t,e):t.not?function(t,e){var n=t.not,i="";0;VR(n)||ji(i);var r=new UR;r.child=QR(n,e),r.child||ji(i);return r}(t,e):function(t,e){for(var n="",i=e.prepareGetValue(t),r=[],o=Object(g.keys)(t),a=t.parser,s=a?hf(a):null,l=0;l<o.length;l++){var c=o[l];if("parser"!==c&&!e.valueGetterAttrMap.get(c)){var u=Object(g.hasOwn)(LR,c)?LR[c]:c,h=t[c],d=s?s(h):h,f=gf(u,d)||"reg"===u&&new FR(d);f||ji(n),r.push(f)}}r.length||ji(n);var p=new RR;return p.valueGetterParam=i,p.valueParser=s,p.getValue=e.getValue,p.subCondList=r,p}(t,e)}function HR(t,e,n){var i=e[t],r="";Object(g.isArray)(i)||ji(r),i.length||ji(r);var o="and"===t?new NR:new jR;return o.children=Object(g.map)(i,function(t){return QR(t,n)}),o.children.length||ji(r),o}function VR(t){return Object(g.isObject)(t)&&!Object(g.isArrayLike)(t)}var zR=function(){function t(t,e){this._cond=QR(t,e)}return t.prototype.evaluate=function(){return this._cond.evaluate()},t}();var $R={type:"echarts:filter",transform:function(t){for(var e,n,i,r=t.upstream,o=(n=t.config,i={valueGetterAttrMap:Object(g.createHashMap)({dimension:!0}),prepareGetValue:function(t){var e="",n=t.dimension;Object(g.hasOwn)(t,"dimension")||ji(e);var i=r.getDimensionInfo(n);return i||ji(e),{dimIdx:i.index}},getValue:function(t){return r.retrieveValueFromItem(e,t.dimIdx)}},new zR(n,i)),a=[],s=0,l=r.count();s<l;s++)e=r.getRawDataItem(s),o.evaluate()&&a.push(e);return{data:a}}};var GR={type:"echarts:sort",transform:function(t){var e=t.upstream,n="",i=Hi(t.config);i.length||ji(n);var r=[];Object(g.each)(i,function(t){var i=t.dimension,o=t.order,a=t.parser,s=t.incomparable;if(null==i&&ji(n),"asc"!==o&&"desc"!==o&&ji(n),s&&"min"!==s&&"max"!==s){var l="";0,ji(l)}if("asc"!==o&&"desc"!==o){var c="";0,ji(c)}var u=e.getDimensionInfo(i);u||ji(n);var h=a?hf(a):null;a&&!h&&ji(n),r.push({dimIdx:u.index,parser:h,comparator:new pf(o,s)})});var o=e.sourceFormat;o!==Eh&&o!==Ih&&ji(n);for(var a=[],s=0,l=e.count();s<l;s++)a.push(e.getRawDataItem(s));return a.sort(function(t,n){for(var i=0;i<r.length;i++){var o=r[i],a=e.retrieveValueFromItem(t,o.dimIdx),s=e.retrieveValueFromItem(n,o.dimIdx);o.parser&&(a=o.parser(a),s=o.parser(s));var l=o.comparator.evaluate(a,s);if(0!==l)return l}return 0}),{data:a}}};var WR=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return p(e,t),e.prototype.init=function(e,n,i){t.prototype.init.call(this,e,n,i),this._sourceManager=new Lf(this),Ff(this)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),Ff(this)},e.prototype.optionUpdated=function(){this._sourceManager.dirty()},e.prototype.getSourceManager=function(){return this._sourceManager},e.type="dataset",e.defaultOption={seriesLayoutBy:Fh},e}(Ch),KR=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return p(e,t),e.type="dataset",e}(fp);var YR=Oo.CMD;function XR(t,e){return Math.abs(t-e)<1e-5}function qR(t){var e,n,i,r,o,a=t.data,s=t.len(),l=[],c=0,u=0,h=0,d=0;function f(t,n){e&&e.length>2&&l.push(e),e=[t,n]}function p(t,n,i,r){XR(t,i)&&XR(n,r)||e.push(t,n,i,r,i,r)}function A(t,n,i,r,o,a){var s=Math.abs(n-t),l=4*Math.tan(s/4)/3,c=n<t?-1:1,u=Math.cos(t),h=Math.sin(t),d=Math.cos(n),f=Math.sin(n),p=u*o+i,A=h*a+r,g=d*o+i,v=f*a+r,m=o*l*c,y=a*l*c;e.push(p-m*h,A+y*u,g+m*f,v-y*d,g,v)}for(var g=0;g<s;){var v=a[g++],m=1===g;switch(m&&(h=c=a[g],d=u=a[g+1],v!==YR.L&&v!==YR.C&&v!==YR.Q||(e=[h,d])),v){case YR.M:c=h=a[g++],u=d=a[g++],f(h,d);break;case YR.L:p(c,u,n=a[g++],i=a[g++]),c=n,u=i;break;case YR.C:e.push(a[g++],a[g++],a[g++],a[g++],c=a[g++],u=a[g++]);break;case YR.Q:n=a[g++],i=a[g++],r=a[g++],o=a[g++],e.push(c+2/3*(n-c),u+2/3*(i-u),r+2/3*(n-r),o+2/3*(i-o),r,o),c=r,u=o;break;case YR.A:var y=a[g++],b=a[g++],_=a[g++],w=a[g++],x=a[g++],C=a[g++]+x;g+=1;var S=!a[g++];n=Math.cos(x)*_+y,i=Math.sin(x)*w+b,m?f(h=n,d=i):p(c,u,n,i),c=Math.cos(C)*_+y,u=Math.sin(C)*w+b;for(var B=(S?-1:1)*Math.PI/2,k=x;S?k>C:k<C;k+=B){A(k,S?Math.max(k+B,C):Math.min(k+B,C),y,b,_,w)}break;case YR.R:h=c=a[g++],d=u=a[g++],n=h+a[g++],i=d+a[g++],f(n,d),p(n,d,n,i),p(n,i,h,i),p(h,i,h,d),p(h,d,n,d);break;case YR.Z:e&&p(c,u,h,d),c=h,u=d}}return e&&e.length>2&&l.push(e),l}function ZR(t,e,n,i,r,o,a,s,l,c){if(XR(t,n)&&XR(e,i)&&XR(r,a)&&XR(o,s))l.push(a,s);else{var u=2/c,h=u*u,d=a-t,f=s-e,p=Math.sqrt(d*d+f*f);d/=p,f/=p;var A=n-t,g=i-e,v=r-a,m=o-s,y=A*A+g*g,b=v*v+m*m;if(y<h&&b<h)l.push(a,s);else{var _=d*A+f*g,w=-d*v-f*m;if(y-_*_<h&&_>=0&&b-w*w<h&&w>=0)l.push(a,s);else{var x=[],C=[];we(t,n,r,a,.5,x),we(e,i,o,s,.5,C),ZR(x[0],C[0],x[1],C[1],x[2],C[2],x[3],C[3],l,c),ZR(x[4],C[4],x[5],C[5],x[6],C[6],x[7],C[7],l,c)}}}}function JR(t,e,n){var i=t[e],r=t[1-e],o=Math.abs(i/r),a=Math.ceil(Math.sqrt(o*n)),s=Math.floor(n/a);0===s&&(s=1,a=n);for(var l=[],c=0;c<a;c++)l.push(s);var u=n-a*s;if(u>0)for(c=0;c<u;c++)l[c%a]+=1;return l}function tQ(t,e,n){for(var i=t.r0,r=t.r,o=t.startAngle,a=t.endAngle,s=Math.abs(a-o),l=s*r,c=r-i,u=l>Math.abs(c),h=JR([l,c],u?0:1,e),d=(u?s:c)/h.length,f=0;f<h.length;f++)for(var p=(u?c:s)/h[f],A=0;A<h[f];A++){var g={};u?(g.startAngle=o+d*f,g.endAngle=o+d*(f+1),g.r0=i+p*A,g.r=i+p*(A+1)):(g.startAngle=o+p*A,g.endAngle=o+p*(A+1),g.r0=i+d*f,g.r=i+d*(f+1)),g.clockwise=t.clockwise,g.cx=t.cx,g.cy=t.cy,n.push(g)}}function eQ(t,e,n,i){return t*i-n*e}function nQ(t,e,n,i,r,o,a,s){var l=n-t,c=i-e,u=a-r,h=s-o,d=eQ(u,h,l,c);if(Math.abs(d)<1e-6)return null;var f=eQ(t-r,e-o,u,h)/d;return f<0||f>1?null:new xt(f*l+t,f*c+e)}function iQ(t,e,n){var i=new xt;xt.sub(i,n,e),i.normalize();var r=new xt;return xt.sub(r,t,e),r.dot(i)}function rQ(t,e){var n=t[t.length-1];n&&n[0]===e[0]&&n[1]===e[1]||t.push(e)}function oQ(t){var e=t.points,n=[],i=[];io(e,n,i);var r=new Mt(n[0],n[1],i[0]-n[0],i[1]-n[1]),o=r.width,a=r.height,s=r.x,l=r.y,c=new xt,u=new xt;return o>a?(c.x=u.x=s+o/2,c.y=l,u.y=l+a):(c.y=u.y=l+a/2,c.x=s,u.x=s+o),function(t,e,n){for(var i=t.length,r=[],o=0;o<i;o++){var a=t[o],s=t[(o+1)%i],l=nQ(a[0],a[1],s[0],s[1],e.x,e.y,n.x,n.y);l&&r.push({projPt:iQ(l,e,n),pt:l,idx:o})}if(r.length<2)return[{points:t},{points:t}];r.sort(function(t,e){return t.projPt-e.projPt});var c=r[0],u=r[r.length-1];if(u.idx<c.idx){var h=c;c=u,u=h}var d=[c.pt.x,c.pt.y],f=[u.pt.x,u.pt.y],p=[d],A=[f];for(o=c.idx+1;o<=u.idx;o++)rQ(p,t[o].slice());for(rQ(p,f),rQ(p,d),o=u.idx+1;o<=c.idx+i;o++)rQ(A,t[o%i].slice());return rQ(A,d),rQ(A,f),[{points:p},{points:A}]}(e,c,u)}function aQ(t,e,n,i){if(1===n)i.push(e);else{var r=Math.floor(n/2),o=t(e);aQ(t,o[0],r,i),aQ(t,o[1],n-r,i)}return i}function sQ(t,e){var n,i=[],r=t.shape;switch(t.type){case"rect":!function(t,e,n){for(var i=t.width,r=t.height,o=i>r,a=JR([i,r],o?0:1,e),s=o?"width":"height",l=o?"height":"width",c=o?"x":"y",u=o?"y":"x",h=t[s]/a.length,d=0;d<a.length;d++)for(var f=t[l]/a[d],p=0;p<a[d];p++){var A={};A[c]=d*h,A[u]=p*f,A[s]=h,A[l]=f,A.x+=t.x,A.y+=t.y,n.push(A)}}(r,e,i),n=ha;break;case"sector":tQ(r,e,i),n=ml;break;case"circle":tQ({r0:0,r:r.r,startAngle:0,endAngle:2*Math.PI,cx:r.cx,cy:r.cy},e,i),n=ml;break;default:var o=t.getComputedTransform(),a=o?Math.sqrt(Math.max(o[0]*o[0]+o[1]*o[1],o[2]*o[2]+o[3]*o[3])):1,s=Object(g.map)(function(t,e){var n=qR(t),i=[];e=e||1;for(var r=0;r<n.length;r++){var o=n[r],a=[],s=o[0],l=o[1];a.push(s,l);for(var c=2;c<o.length;){var u=o[c++],h=o[c++],d=o[c++],f=o[c++],p=o[c++],A=o[c++];ZR(s,l,u,h,d,f,p,A,a,e),s=p,l=A}i.push(a)}return i}(t.getUpdatedPathProxy(),a),function(t){return function(t){for(var e=[],n=0;n<t.length;)e.push([t[n++],t[n++]]);return e}(t)}),l=s.length;if(0===l)aQ(oQ,{points:s[0]},e,i);else if(l===e)for(var c=0;c<l;c++)i.push({points:s[c]});else{var u=0,h=Object(g.map)(s,function(t){var e=[],n=[];io(t,e,n);var i=(n[1]-e[1])*(n[0]-e[0]);return u+=i,{poly:t,area:i}});h.sort(function(t,e){return e.area-t.area});var d=e;for(c=0;c<l;c++){var f=h[c];if(d<=0)break;var p=c===l-1?d:Math.ceil(f.area/u*e);p<0||(aQ(oQ,{points:f.poly},p,i),d-=p)}}n=Sl}if(!n)return function(t,e){for(var n=[],i=0;i<e;i++)n.push(Xs(t));return n}(t,e);var A,v,m=[];for(c=0;c<i.length;c++){var y=new n;y.setShape(i[c]),A=t,(v=y).setStyle(A.style),v.z=A.z,v.z2=A.z2,v.zlevel=A.zlevel,m.push(y)}return m}function lQ(t,e){var n=t.length,i=e.length;if(n===i)return[t,e];for(var r=[],o=[],a=n<i?t:e,s=Math.min(n,i),l=Math.abs(i-n)/6,c=(s-2)/6,u=Math.ceil(l/c)+1,h=[a[0],a[1]],d=l,f=2;f<s;){var p=a[f-2],A=a[f-1],g=a[f++],v=a[f++],m=a[f++],y=a[f++],b=a[f++],_=a[f++];if(d<=0)h.push(g,v,m,y,b,_);else{for(var w=Math.min(d,u-1)+1,x=1;x<=w;x++){var C=x/w;we(p,g,m,b,C,r),we(A,v,y,_,C,o),p=r[3],A=o[3],h.push(r[1],o[1],r[2],o[2],p,A),g=r[5],v=o[5],m=r[6],y=o[6]}d-=w-1}}return a===t?[h,e]:[t,h]}function cQ(t,e){for(var n=t.length,i=t[n-2],r=t[n-1],o=[],a=0;a<e.length;)o[a++]=i,o[a++]=r;return o}function uQ(t){for(var e=0,n=0,i=0,r=t.length,o=0,a=r-2;o<r;a=o,o+=2){var s=t[a],l=t[a+1],c=t[o],u=t[o+1],h=s*u-c*l;e+=h,n+=(s+c)*h,i+=(l+u)*h}return 0===e?[t[0]||0,t[1]||0]:[n/e/3,i/e/3,e]}function hQ(t,e,n,i){for(var r=(t.length-2)/6,o=1/0,a=0,s=t.length,l=s-2,c=0;c<r;c++){for(var u=6*c,h=0,d=0;d<s;d+=2){var f=0===d?u:(u+d-2)%l+2,p=t[f]-n[0],A=t[f+1]-n[1],g=e[d]-i[0]-p,v=e[d+1]-i[1]-A;h+=g*g+v*v}h<o&&(o=h,a=c)}return a}function dQ(t){for(var e=[],n=t.length,i=0;i<n;i+=2)e[i]=t[n-i-2],e[i+1]=t[n-i-1];return e}function fQ(t){return t.__isCombineMorphing}var pQ="__mOriginal_";function AQ(t,e,n){var i=pQ+e,r=t[i]||t[e];t[i]||(t[i]=t[e]);var o=n.replace,a=n.after,s=n.before;t[e]=function(){var t,e=arguments;return s&&s.apply(this,e),t=o?o.apply(this,e):r.apply(this,e),a&&a.apply(this,e),t}}function gQ(t,e){var n=pQ+e;t[n]&&(t[e]=t[n],t[n]=null)}function vQ(t,e){for(var n=0;n<t.length;n++)for(var i=t[n],r=0;r<i.length;){var o=i[r],a=i[r+1];i[r++]=e[0]*o+e[2]*a+e[4],i[r++]=e[1]*o+e[3]*a+e[5]}}function mQ(t,e){var n=t.getUpdatedPathProxy(),i=e.getUpdatedPathProxy(),r=function(t,e){for(var n,i,r,o=[],a=[],s=0;s<Math.max(t.length,e.length);s++){var l=t[s],c=e[s],u=void 0,h=void 0;l?c?(i=u=(n=lQ(l,c))[0],r=h=n[1]):(h=cQ(r||l,l),u=l):(u=cQ(i||c,c),h=c),o.push(u),a.push(h)}return[o,a]}(qR(n),qR(i)),o=r[0],a=r[1],s=t.getComputedTransform(),l=e.getComputedTransform();s&&vQ(o,s),l&&vQ(a,l),AQ(e,"updateTransform",{replace:function(){this.transform=null}}),e.transform=null;var c=function(t,e,n,i){for(var r,o=[],a=0;a<t.length;a++){var s=t[a],l=e[a],c=uQ(s),u=uQ(l);null==r&&(r=c[2]<0!=u[2]<0);var h=[],d=[],f=0,p=1/0,A=[],g=s.length;r&&(s=dQ(s));for(var v=6*hQ(s,l,c,u),m=g-2,y=0;y<m;y+=2){var b=(v+y)%m+2;h[y+2]=s[b]-c[0],h[y+3]=s[b+1]-c[1]}if(h[0]=s[v]-c[0],h[1]=s[v+1]-c[1],n>0)for(var _=i/n,w=-i/2;w<=i/2;w+=_){var x=Math.sin(w),C=Math.cos(w),S=0;for(y=0;y<s.length;y+=2){var B=h[y],k=h[y+1],T=l[y]-u[0],O=l[y+1]-u[1],E=T*C-O*x,I=T*x+O*C;A[y]=E,A[y+1]=I;var M=E-B,D=I-k;S+=M*M+D*D}if(S<p){p=S,f=w;for(var L=0;L<A.length;L++)d[L]=A[L]}}else for(var F=0;F<g;F+=2)d[F]=l[F]-u[0],d[F+1]=l[F+1]-u[1];o.push({from:h,to:d,fromCp:c,toCp:u,rotation:-f})}return o}(o,a,10,Math.PI),u=[];AQ(e,"buildPath",{replace:function(t){for(var n=e.__morphT,i=1-n,r=[],o=0;o<c.length;o++){var a=c[o],s=a.from,l=a.to,h=a.rotation*n,d=a.fromCp,f=a.toCp,p=Math.sin(h),A=Math.cos(h);j(r,d,f,n);for(var g=0;g<s.length;g+=2){var v=s[g],m=s[g+1],y=v*i+(x=l[g])*n,b=m*i+(C=l[g+1])*n;u[g]=y*A-b*p+r[0],u[g+1]=y*p+b*A+r[1]}var _=u[0],w=u[1];t.moveTo(_,w);for(g=2;g<s.length;){var x=u[g++],C=u[g++],S=u[g++],B=u[g++],k=u[g++],T=u[g++];_===x&&w===C&&S===k&&B===T?t.lineTo(k,T):t.bezierCurveTo(x,C,S,B,k,T),_=k,w=T}}}})}function yQ(t,e,n){if(!t||!e)return e;var i=n.done,r=n.during;return mQ(t,e),e.__morphT=0,e.animateTo({__morphT:1},Object(g.defaults)({during:function(t){e.dirtyShape(),r&&r(t)},done:function(){gQ(e,"buildPath"),gQ(e,"updateTransform"),e.__morphT=-1,e.createPathProxy(),e.dirtyShape(),i&&i()}},n)),e}function bQ(t){var e=1/0,n=1/0,i=-1/0,r=-1/0,o=Object(g.map)(t,function(t){var o=t.getBoundingRect(),a=t.getComputedTransform(),s=o.x+o.width/2+(a?a[4]:0),l=o.y+o.height/2+(a?a[5]:0);return e=Math.min(s,e),n=Math.min(l,n),i=Math.max(s,i),r=Math.max(l,r),[s,l]});return Object(g.map)(o,function(o,a){return{cp:o,z:function(t,e,n,i,r,o){t=r===n?0:Math.round(32767*(t-n)/(r-n)),e=o===i?0:Math.round(32767*(e-i)/(o-i));for(var a,s=0,l=32768;l>0;l/=2){var c=0,u=0;(t&l)>0&&(c=1),(e&l)>0&&(u=1),s+=l*l*(3*c^u),0===u&&(1===c&&(t=l-1-t,e=l-1-e),a=t,t=e,e=a)}return s}(o[0],o[1],e,n,i,r),path:t[a]}}).sort(function(t,e){return t.z-e.z}).map(function(t){return t.path})}function _Q(t){return sQ(t.path,t.count)}function wQ(t){return Object(g.isArray)(t[0])}function xQ(t,e){for(var n=[],i=t.length,r=0;r<i;r++)n.push({one:t[r],many:[]});for(r=0;r<e.length;r++){var o=e[r].length,a=void 0;for(a=0;a<o;a++)n[a%i].many.push(e[r][a])}var s=0;for(r=i-1;r>=0;r--)if(!n[r].many.length){var l=n[s].many;if(l.length<=1){if(!s)return n;s=0}o=l.length;var c=Math.ceil(o/2);n[r].many=l.slice(c,o),n[s].many=l.slice(0,c),s++}return n}var CQ={clone:function(t){for(var e=[],n=1-Math.pow(1-t.path.style.opacity,1/t.count),i=0;i<t.count;i++){var r=Xs(t.path);r.setStyle("opacity",n),e.push(r)}return e},split:null};function SQ(t,e,n,i,r,o){if(t.length&&e.length){var a=Jl("update",i,r);if(a&&a.duration>0){var s,l,c=i.getModel("universalTransition").get("delay"),u=Object.assign({setToFinal:!0},a);wQ(t)&&(s=t,l=e),wQ(e)&&(s=e,l=t);for(var h=s?s===t:t.length>e.length,d=s?xQ(l,s):xQ(h?e:t,[h?t:e]),f=0,p=0;p<d.length;p++)f+=d[p].many.length;var A=0;for(p=0;p<d.length;p++)v(d[p],h,A,f),A+=d[p].many.length}}function v(t,e,i,r,a){var s=t.many,l=t.one;if(1!==s.length||a)for(var h=Object(g.defaults)({dividePath:CQ[n],individualDelay:c&&function(t,e,n,o){return c(t+i,r)}},u),d=e?function(t,e,n){var i=[];!function t(e){for(var n=0;n<e.length;n++){var r=e[n];fQ(r)?t(r.childrenRef()):r instanceof Xo&&i.push(r)}}(t);var r=i.length;if(!r)return{fromIndividuals:[],toIndividuals:[],count:0};var o=(n.dividePath||_Q)({path:e,count:r});if(o.length!==r)return console.error("Invalid morphing: unmatched splitted path"),{fromIndividuals:[],toIndividuals:[],count:0};i=bQ(i),o=bQ(o);for(var a=n.done,s=n.during,l=n.individualDelay,c=new Dn,u=0;u<r;u++){var h=i[u],d=o[u];d.parent=e,d.copyTransform(c),l||mQ(h,d)}function f(t){for(var e=0;e<o.length;e++)o[e].addSelfToZr(t)}function p(){e.__isCombineMorphing=!1,e.__morphT=-1,e.childrenRef=null,gQ(e,"addSelfToZr"),gQ(e,"removeSelfFromZr")}e.__isCombineMorphing=!0,e.childrenRef=function(){return o},AQ(e,"addSelfToZr",{after:function(t){f(t)}}),AQ(e,"removeSelfFromZr",{after:function(t){for(var e=0;e<o.length;e++)o[e].removeSelfFromZr(t)}});var A=o.length;if(l){var v=A,m=function(){0==--v&&(p(),a&&a())};for(u=0;u<A;u++){var y=l?Object(g.defaults)({delay:(n.delay||0)+l(u,A,i[u],o[u]),done:m},n):n;yQ(i[u],o[u],y)}}else e.__morphT=0,e.animateTo({__morphT:1},Object(g.defaults)({during:function(t){for(var n=0;n<A;n++){var i=o[n];i.__morphT=e.__morphT,i.dirtyShape()}s&&s(t)},done:function(){p();for(var e=0;e<t.length;e++)gQ(t[e],"updateTransform");a&&a()}},n));return e.__zr&&f(e.__zr),{fromIndividuals:i,toIndividuals:o,count:A}}(s,l,h):function(t,e,n){var i=e.length,r=[],o=n.dividePath||_Q;if(fQ(t)){!function t(e){for(var n=0;n<e.length;n++){var i=e[n];fQ(i)?t(i.childrenRef()):i instanceof Xo&&r.push(i)}}(t.childrenRef());var a=r.length;if(a<i)for(var s=0,l=a;l<i;l++)r.push(Xs(r[s++%a]));r.length=i}else{r=o({path:t,count:i});var c=t.getComputedTransform();for(l=0;l<r.length;l++)r[l].setLocalTransform(c);if(r.length!==i)return console.error("Invalid morphing: unmatched splitted path"),{fromIndividuals:[],toIndividuals:[],count:0}}r=bQ(r),e=bQ(e);var u=n.individualDelay;for(l=0;l<i;l++){var h=u?Object(g.defaults)({delay:(n.delay||0)+u(l,i,r[l],e[l])},n):n;yQ(r[l],e[l],h)}return{fromIndividuals:r,toIndividuals:e,count:e.length}}(l,s,h),f=d.fromIndividuals,p=d.toIndividuals,A=f.length,m=0;m<A;m++){y=c?Object(g.defaults)({delay:c(m,A)},u):u;o(f[m],p[m],e?s[m]:t.one,e?t.one:s[m],y)}else{var y,b=e?s[0]:l,_=e?l:s[0];if(fQ(b))v({many:[b],one:_},!0,i,r,!0);else yQ(b,_,y=c?Object(g.defaults)({delay:c(i,r)},u):u),o(b,_,b,_,y)}}}function BQ(t){if(!t)return[];if(Object(g.isArray)(t)){for(var e=[],n=0;n<t.length;n++)e.push(BQ(t[n]));return e}var i=[];return t.traverse(function(t){t instanceof Xo&&!t.disableMorphing&&!t.invisible&&!t.ignore&&i.push(t)}),i}var kQ=1e4,TQ=tr();function OQ(t){var e=[];return Object(g.each)(t,function(t){var n=t.data;if(!(n.count()>kQ))for(var i=n.getIndices(),r=function(t){for(var e=t.dimensions,n=0;n<e.length;n++){var i=t.getDimensionInfo(e[n]);if(i&&0===i.otherDims.itemGroupId)return e[n]}}(n),o=0;o<i.length;o++)e.push({dataGroupId:t.dataGroupId,data:n,dim:t.dim||r,divide:t.divide,dataIndex:o})}),e}function EQ(t,e,n){t.traverse(function(t){t instanceof Xo&&nc(t,{style:{opacity:0}},e,{dataIndex:n,isFrom:!0})})}function IQ(t){if(t.parent){var e=t.getComputedTransform();t.setLocalTransform(e),t.parent.remove(t)}}function MQ(t){t.stopAnimation(),t.isGroup&&t.traverse(function(t){t.stopAnimation()})}function DQ(t,e,n){var i=Jl("update",n,e);i&&t.traverse(function(t){if(t instanceof Kr){var e=Zl(t).oldStyle;e&&t.animateFrom({style:e},i)}})}function LQ(t,e,n){var i=OQ(t),r=OQ(e);function o(t,e,n,i,r){(n||t)&&e.animateFrom({style:n&&n!==t?Object(g.extend)(Object(g.extend)({},n.style),t.style):t.style},r)}function a(t){for(var e=0;e<t.length;e++)if(t[e].dim)return t[e].dim}var s=a(i),l=a(r),c=!1;function u(t,e){return function(n){var i=n.data,r=n.dataIndex;if(e)return i.getId(r);var o=n.dataGroupId,a=t?s||l:l||s,c=a&&i.getDimensionInfo(a),u=c&&c.ordinalMeta;if(c){var h=i.get(c.name,r);return u&&u.categories[h]||h+""}var d=i.getRawDataItem(r);return d&&d.groupId?d.groupId+"":o||i.getId(r)}}var h=function(t,e){var n=t.length;if(n!==e.length)return!1;for(var i=0;i<n;i++){var r=t[i],o=e[i];if(r.data.getId(r.dataIndex)!==o.data.getId(o.dataIndex))return!1}return!0}(i,r),d={};if(!h)for(var f=0;f<r.length;f++){var p=r[f],A=p.data.getItemGraphicEl(p.dataIndex);A&&(d[A.id]=!0)}function v(t,e){var n=i[e],a=r[t],s=a.data.hostModel,l=n.data.getItemGraphicEl(n.dataIndex),u=a.data.getItemGraphicEl(a.dataIndex);l!==u?l&&d[l.id]||u&&(MQ(u),l?(MQ(l),IQ(l),c=!0,SQ(BQ(l),BQ(u),a.divide,s,t,o)):EQ(u,s,t)):u&&DQ(u,a.dataIndex,s)}new Lv(i,r,u(!0,h),u(!1,h),null,"multiple").update(v).updateManyToOne(function(t,e){var n=r[t],a=n.data,s=a.hostModel,l=a.getItemGraphicEl(n.dataIndex),u=Object(g.filter)(Object(g.map)(e,function(t){return i[t].data.getItemGraphicEl(i[t].dataIndex)}),function(t){return t&&t!==l&&!d[t.id]});l&&(MQ(l),u.length?(Object(g.each)(u,function(t){MQ(t),IQ(t)}),c=!0,SQ(BQ(u),BQ(l),n.divide,s,t,o)):EQ(l,s,n.dataIndex))}).updateOneToMany(function(t,e){var n=i[e],a=n.data.getItemGraphicEl(n.dataIndex);if(!a||!d[a.id]){var s=Object(g.filter)(Object(g.map)(t,function(t){return r[t].data.getItemGraphicEl(r[t].dataIndex)}),function(t){return t&&t!==a}),l=r[t[0]].data.hostModel;s.length&&(Object(g.each)(s,function(t){return MQ(t)}),a?(MQ(a),IQ(a),c=!0,SQ(BQ(a),BQ(s),n.divide,l,t[0],o)):Object(g.each)(s,function(e){return EQ(e,l,t[0])}))}}).updateManyToMany(function(t,e){new Lv(e,t,function(t){return i[t].data.getId(i[t].dataIndex)},function(t){return r[t].data.getId(r[t].dataIndex)}).update(function(n,i){v(t[n],e[i])}).execute()}).execute(),c&&Object(g.each)(e,function(t){var e=t.data.hostModel,i=e&&n.getViewOfSeriesModel(e),r=Jl("update",e,0);i&&e.isAnimationEnabled()&&r&&r.duration>0&&i.group.traverse(function(t){t instanceof Xo&&!t.animators.length&&t.animateFrom({style:{opacity:0}},r)})})}function FQ(t){var e=t.getModel("universalTransition").get("seriesKey");return e||t.id}function PQ(t){return Object(g.isArray)(t)?t.sort().join(","):t}function NQ(t){if(t.hostModel)return t.hostModel.getModel("universalTransition").get("divideShape")}function jQ(t,e){for(var n=0;n<t.length;n++){if(null!=e.seriesIndex&&e.seriesIndex===t[n].seriesIndex||null!=e.seriesId&&e.seriesId===t[n].id)return n}}n.d(e,"version",function(){return"5.4.2"}),n.d(e,"dependencies",function(){return hg}),n.d(e,"PRIORITY",function(){return Ag}),n.d(e,"init",function(){return iv}),n.d(e,"connect",function(){return rv}),n.d(e,"disConnect",function(){return ov}),n.d(e,"disconnect",function(){return av}),n.d(e,"dispose",function(){return sv}),n.d(e,"getInstanceByDom",function(){return lv}),n.d(e,"getInstanceById",function(){return cv}),n.d(e,"registerTheme",function(){return uv}),n.d(e,"registerPreprocessor",function(){return hv}),n.d(e,"registerProcessor",function(){return dv}),n.d(e,"registerPostInit",function(){return fv}),n.d(e,"registerPostUpdate",function(){return pv}),n.d(e,"registerUpdateLifecycle",function(){return Av}),n.d(e,"registerAction",function(){return gv}),n.d(e,"registerCoordinateSystem",function(){return vv}),n.d(e,"getCoordinateSystemDimensions",function(){return mv}),n.d(e,"registerLocale",function(){return wu}),n.d(e,"registerLayout",function(){return yv}),n.d(e,"registerVisual",function(){return bv}),n.d(e,"registerLoading",function(){return xv}),n.d(e,"setCanvasCreator",function(){return Cv}),n.d(e,"registerMap",function(){return Sv}),n.d(e,"getMap",function(){return Bv}),n.d(e,"registerTransform",function(){return kv}),n.d(e,"dataTool",function(){return Tv}),n.d(e,"zrender",function(){return o}),n.d(e,"matrix",function(){return r}),n.d(e,"vector",function(){return i}),n.d(e,"zrUtil",function(){return g}),n.d(e,"color",function(){return Le}),n.d(e,"throttle",function(){return kp}),n.d(e,"helper",function(){return s}),n.d(e,"use",function(){return Iv}),n.d(e,"setPlatformAPI",function(){return Fn.e}),n.d(e,"parseGeoJSON",function(){return Vy}),n.d(e,"parseGeoJson",function(){return Vy}),n.d(e,"number",function(){return l}),n.d(e,"time",function(){return c}),n.d(e,"graphic",function(){return u}),n.d(e,"format",function(){return h}),n.d(e,"util",function(){return d}),n.d(e,"env",function(){return A.a}),n.d(e,"List",function(){return rm}),n.d(e,"Model",function(){return du}),n.d(e,"Axis",function(){return eb}),n.d(e,"ComponentModel",function(){return Ch}),n.d(e,"ComponentView",function(){return fp}),n.d(e,"SeriesModel",function(){return hp}),n.d(e,"ChartView",function(){return xp}),n.d(e,"innerDrawElementOnCanvas",function(){return eg}),n.d(e,"extendComponentModel",function(){return nb}),n.d(e,"extendComponentView",function(){return ib}),n.d(e,"extendSeriesModel",function(){return rb}),n.d(e,"extendChartView",function(){return ob}),Iv([function(t){t.registerPainter("canvas",ow)}]),Iv([function(t){t.registerPainter("svg",ew)}]),Iv([function(t){t.registerChartView(Uw),t.registerSeriesModel(aw),t.registerLayout(Rw("line",!0)),t.registerVisual({seriesType:"line",reset:function(t){var e=t.getData(),n=t.getModel("lineStyle").getLineStyle();n&&!n.stroke&&(n.stroke=e.getVisual("style").fill),e.setVisual("legendLineStyle",n)}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,Vw("line"))},function(t){t.registerChartView(gx),t.registerSeriesModel(Gw),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,g.curry(Hm,"bar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,Vm("bar")),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,Vw("bar")),t.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(t,e){var n=t.componentType||"series";e.eachComponent({mainType:n,query:t},function(e){t.sortInfo&&e.axis.setCategorySortInfo(t.sortInfo)})})},function(t){t.registerChartView(Ox),t.registerSeriesModel(Dx),pA("pie",t.registerAction),t.registerLayout(Object(g.curry)(_x,"pie")),t.registerProcessor(wx("pie")),t.registerProcessor({seriesType:"pie",reset:function(t,e){var n=t.getData();n.filterSelf(function(t){var e=n.mapDimension("value"),i=n.get(e,t);return!(Object(g.isNumber)(i)&&!isNaN(i)&&i<0)})}})},function(t){Iv(DC),t.registerSeriesModel(Lx),t.registerChartView(jx),t.registerLayout(Rw("scatter"))},function(t){Iv(WC),t.registerChartView(jC),t.registerSeriesModel(UC),t.registerLayout(LC),t.registerProcessor(wx("radar")),t.registerPreprocessor(NC)},function(t){Iv(mB),t.registerChartView(JS),t.registerSeriesModel(tB),t.registerLayout(nB),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,eB),pA("map",t.registerAction)},function(t){t.registerChartView(PB),t.registerSeriesModel(ZB),t.registerLayout(tk),t.registerVisual(ek),function(t){t.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},function(e){var n=t.dataIndex,i=e.getData().tree.getNodeByDataIndex(n);i.isExpand=!i.isExpand})}),t.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(t,e,n){e.eachComponent({mainType:"series",subType:"tree",query:t},function(e){var i=AB(e.coordinateSystem,t,void 0,n);e.setCenter&&e.setCenter(i.center),e.setZoom&&e.setZoom(i.zoom)})})}(t)},function(t){t.registerSeriesModel(rk),t.registerChartView(bk),t.registerVisual(Uk),t.registerLayout(qk),function(t){for(var e=0;e<nk.length;e++)t.registerAction({type:nk[e],update:"updateView"},g.noop);t.registerAction({type:"treemapRootToNode",update:"updateView"},function(t,e){e.eachComponent({mainType:"series",subType:"treemap",query:t},function(e,n){var i=KB(t,["treemapZoomToNode","treemapRootToNode"],e);if(i){var r=e.getViewRoot();r&&(t.direction=XB(r,i.node)?"rollUp":"drillDown"),e.resetViewRoot(i.node)}})})}(t)},function(t){t.registerChartView(XT),t.registerSeriesModel(rO),t.registerProcessor(eT),t.registerVisual(nT),t.registerVisual(rT),t.registerLayout(AT),t.registerLayout(t.PRIORITY.VISUAL.POST_CHART_LAYOUT,xT),t.registerLayout(ST),t.registerCoordinateSystem("graphView",{dimensions:oB.dimensions,create:BT}),t.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},g.noop),t.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},g.noop),t.registerAction(oO,function(t,e,n){e.eachComponent({mainType:"series",query:t},function(e){var i=AB(e.coordinateSystem,t,void 0,n);e.setCenter&&e.setCenter(i.center),e.setZoom&&e.setZoom(i.zoom)})})},function(t){t.registerChartView(cO),t.registerSeriesModel(uO)},function(t){t.registerChartView(fO),t.registerSeriesModel(pO),t.registerLayout(AO),t.registerProcessor(wx("funnel"))},function(t){Iv($E),t.registerChartView(_O),t.registerSeriesModel(xO),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,SO)},function(t){t.registerChartView(KE),t.registerSeriesModel(YE),t.registerLayout(XE),t.registerVisual(lI),t.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(t,e){e.eachComponent({mainType:"series",subType:"sankey",query:t},function(e){e.setNodePosition(t.dataIndex,[t.localX,t.localY])})})},function(t){t.registerSeriesModel(hI),t.registerChartView(vI),t.registerLayout(yI),t.registerTransform(bI)},function(t){t.registerChartView(MI),t.registerSeriesModel(LI),t.registerPreprocessor(FI),t.registerVisual(QI),t.registerLayout(VI)},function(t){t.registerChartView(GI),t.registerSeriesModel(WI),t.registerLayout(Rw("effectScatter"))},function(t){t.registerChartView(eM),t.registerSeriesModel(oM),t.registerLayout(tM),t.registerVisual(sM)},function(t){t.registerChartView(uM),t.registerSeriesModel(hM)},function(t){t.registerChartView(MM),t.registerSeriesModel(DM),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,Object(g.curry)(Hm,"pictorialBar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,Vm("pictorialBar"))},function(t){t.registerChartView(LM),t.registerSeriesModel(FM),t.registerLayout(PM),t.registerProcessor(wx("themeRiver"))},function(t){t.registerChartView(zM),t.registerSeriesModel($M),t.registerLayout(Object(g.curry)(WM,"sunburst")),t.registerProcessor(Object(g.curry)(wx,"sunburst")),t.registerVisual(KM),function(t){t.registerAction({type:QM,update:"updateView"},function(t,e){e.eachComponent({mainType:"series",subType:"sunburst",query:t},function(e,n){var i=KB(t,[QM],e);if(i){var r=e.getViewRoot();r&&(t.direction=XB(r,i.node)?"rollUp":"drillDown"),e.resetViewRoot(i.node)}})}),t.registerAction({type:HM,update:"none"},function(t,e,n){t=Object(g.extend)({},t),e.eachComponent({mainType:"series",subType:"sunburst",query:t},function(e){var n=KB(t,[HM],e);n&&(t.dataIndex=n.node.dataIndex)}),n.dispatchAction(Object(g.extend)(t,{type:"highlight"}))}),t.registerAction({type:VM,update:"updateView"},function(t,e,n){t=Object(g.extend)({},t),n.dispatchAction(Object(g.extend)(t,{type:"downplay"}))})}(t)},function(t){t.registerChartView(jD),t.registerSeriesModel(ZM)}]),Iv(function(t){Iv(DC),Iv(jL)}),Iv(function(t){Iv(jL),_C.registerAxisPointerClass("PolarAxisPointer",QL),t.registerCoordinateSystem("polar",nF),t.registerComponentModel(HL),t.registerComponentView(bF),Gx(t,"angle",zL,mF),Gx(t,"radius",$L,yF),t.registerComponentView(cF),t.registerComponentView(pF),t.registerLayout(Object(g.curry)(vF,"bar"))}),Iv(mB),Iv(function(t){Iv(jL),_C.registerAxisPointerClass("SingleAxisPointer",RF),t.registerComponentView(QF),t.registerComponentView(BF),t.registerComponentModel(TF),Gx(t,"single",TF,TF.defaultOption),t.registerCoordinateSystem("single",DF)}),Iv($E),Iv(function(t){t.registerComponentModel(VF),t.registerComponentView(zF),t.registerCoordinateSystem("calendar",GF)}),Iv(function(t){t.registerComponentModel(qF),t.registerComponentView(tP),t.registerPreprocessor(function(t){var e=t.graphic;Object(g.isArray)(e)?e[0]&&e[0].elements?t.graphic=[t.graphic[0]]:t.graphic=[{elements:e}]:e&&!e.elements&&(t.graphic=[{elements:[e]}])})}),Iv(function(t){t.registerComponentModel(kP),t.registerComponentView(OP),SP("saveAsImage",EP),SP("magicType",LP),SP("dataView",HP),SP("dataZoom",pN),SP("restore",WP),Iv(wP)}),Iv(function(t){Iv(jL),t.registerComponentModel(AN),t.registerComponentView(FN),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},g.noop),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},g.noop)}),Iv(jL),Iv(function(t){t.registerComponentView(tj),t.registerComponentModel(nj),t.registerPreprocessor(NN),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,YN),t.registerAction({type:"brush",event:"brush",update:"updateVisual"},function(t,e){e.eachComponent({mainType:"brush",query:t},function(e){e.setAreas(t.areas)})}),t.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},g.noop),t.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},g.noop),SP("brush",rj)}),Iv(function(t){t.registerComponentModel(oj),t.registerComponentView(aj)}),Iv(function(t){t.registerComponentModel(cj),t.registerComponentView(gj),t.registerSubTypeDefaulter("timeline",function(){return"slider"}),function(t){t.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(t,e,n){var i=e.getComponent("timeline");return i&&null!=t.currentIndex&&(i.setCurrentIndex(t.currentIndex),!i.get("loop",!0)&&i.isIndexMax()&&i.getPlayState()&&(i.setPlayState(!1),n.dispatchAction({type:"timelinePlayChange",playState:!1,from:t.from}))),e.resetOption("timeline",{replaceMerge:i.get("replaceMerge",!0)}),Object(g.defaults)({currentIndex:i.option.currentIndex},t)}),t.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(t,e){var n=e.getComponent("timeline");n&&null!=t.playState&&n.setPlayState(t.playState)})}(t),t.registerPreprocessor(vj)}),Iv(function(t){t.registerComponentModel(Sj),t.registerComponentView(Nj),t.registerPreprocessor(function(t){bj(t.series,"markPoint")&&(t.markPoint=t.markPoint||{})})}),Iv(function(t){t.registerComponentModel(jj),t.registerComponentView($j),t.registerPreprocessor(function(t){bj(t.series,"markLine")&&(t.markLine=t.markLine||{})})}),Iv(function(t){t.registerComponentModel(Gj),t.registerComponentView(tU),t.registerPreprocessor(function(t){bj(t.series,"markArea")&&(t.markArea=t.markArea||{})})}),Iv(function(t){Iv(dU),Iv(yU)}),Iv(function(t){Iv(IU),Iv(RU)}),Iv(IU),Iv(RU),Iv(function(t){Iv(wR),Iv(TR)}),Iv(wR),Iv(TR),Iv(function(t){t.registerPreprocessor(DR),t.registerVisual(t.PRIORITY.VISUAL.ARIA,MR)}),Iv(function(t){t.registerTransform($R),t.registerTransform(GR)}),Iv(function(t){t.registerComponentModel(WR),t.registerComponentView(KR)}),Iv(function(t){t.registerUpdateLifecycle("series:beforeupdate",function(t,e,n){Object(g.each)(Hi(n.seriesTransition),function(t){Object(g.each)(Hi(t.to),function(t){for(var e=n.updatedSeries,i=0;i<e.length;i++)(null!=t.seriesIndex&&t.seriesIndex===e[i].seriesIndex||null!=t.seriesId&&t.seriesId===e[i].id)&&(e[i][np]=!0)})})}),t.registerUpdateLifecycle("series:transition",function(t,e,n){var i=TQ(e);if(i.oldSeries&&n.updatedSeries&&n.optionChanged){var r=n.seriesTransition;if(r)Object(g.each)(Hi(r),function(t){!function(t,e,n,i){var r=[],o=[];Object(g.each)(Hi(t.from),function(t){var n=jQ(e.oldSeries,t);n>=0&&r.push({dataGroupId:e.oldDataGroupIds[n],data:e.oldData[n],divide:NQ(e.oldData[n]),dim:t.dimension})}),Object(g.each)(Hi(t.to),function(t){var i=jQ(n.updatedSeries,t);if(i>=0){var r=n.updatedSeries[i].getData();o.push({dataGroupId:e.oldDataGroupIds[i],data:r,divide:NQ(r),dim:t.dimension})}}),r.length>0&&o.length>0&&LQ(r,o,i)}(t,i,n,e)});else{var o=function(t,e){var n=Object(g.createHashMap)(),i=Object(g.createHashMap)(),r=Object(g.createHashMap)();return Object(g.each)(t.oldSeries,function(e,n){var o=t.oldDataGroupIds[n],a=t.oldData[n],s=FQ(e),l=PQ(s);i.set(l,{dataGroupId:o,data:a}),Object(g.isArray)(s)&&Object(g.each)(s,function(t){r.set(t,{key:l,dataGroupId:o,data:a})})}),Object(g.each)(e.updatedSeries,function(t){if(t.isUniversalTransitionEnabled()&&t.isAnimationEnabled()){var e=t.get("dataGroupId"),o=t.getData(),a=FQ(t),s=PQ(a),l=i.get(s);if(l)n.set(s,{oldSeries:[{dataGroupId:l.dataGroupId,divide:NQ(l.data),data:l.data}],newSeries:[{dataGroupId:e,divide:NQ(o),data:o}]});else if(Object(g.isArray)(a)){var c=[];Object(g.each)(a,function(t){var e=i.get(t);e.data&&c.push({dataGroupId:e.dataGroupId,divide:NQ(e.data),data:e.data})}),c.length&&n.set(s,{oldSeries:c,newSeries:[{dataGroupId:e,data:o,divide:NQ(o)}]})}else{var u=r.get(a);if(u){var h=n.get(u.key);h||(h={oldSeries:[{dataGroupId:u.dataGroupId,data:u.data,divide:NQ(u.data)}],newSeries:[]},n.set(u.key,h)),h.newSeries.push({dataGroupId:e,data:o,divide:NQ(o)})}}}}),n}(i,n);Object(g.each)(o.keys(),function(t){var n=o.get(t);LQ(n.oldSeries,n.newSeries,e)})}Object(g.each)(n.updatedSeries,function(t){t[np]&&(t[np]=!1)})}for(var a=t.getSeries(),s=i.oldSeries=[],l=i.oldDataGroupIds=[],c=i.oldData=[],u=0;u<a.length;u++){var h=a[u].getData();h.count()<kQ&&(s.push(a[u]),l.push(a[u].get("dataGroupId")),c.push(h))}})}),Iv(Vb)},Xc4G:function(t,e,n){var i=n("lktj"),r=n("1kS7"),o=n("NpIQ");t.exports=function(t){var e=i(t),n=r.f;if(n)for(var a,s=n(t),l=o.f,c=0;s.length>c;)l.call(t,a=s[c++])&&e.push(a);return e}},Xd32:function(t,e,n){n("+tPU"),n("zQR9"),t.exports=n("5PlU")},XfW5:function(t,e,n){"use strict";var i=n("PiFy");t.exports=i.call(Function.call,Object.prototype.hasOwnProperty)},XgCd:function(t,e,n){"use strict";var i=String.prototype.replace,r=/%20/g,o="RFC1738",a="RFC3986";t.exports={default:a,formatters:{RFC1738:function(t){return i.call(t,r,"+")},RFC3986:function(t){return String(t)}},RFC1738:o,RFC3986:a}},Xjd4:function(t,e,n){n("9Bbf")("Map")},XmWM:function(t,e,n){"use strict";var i=n("cGG2"),r=n("DQCr"),o=n("fuGk"),a=n("xLtR"),s=n("DUeU");function l(t){this.defaults=t,this.interceptors={request:new o,response:new o}}l.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=[a,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach(function(t){e.unshift(t.fulfilled,t.rejected)}),this.interceptors.response.forEach(function(t){e.push(t.fulfilled,t.rejected)});e.length;)n=n.then(e.shift(),e.shift());return n},l.prototype.getUri=function(t){return t=s(this.defaults,t),r(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},i.forEach(["delete","get","head","options"],function(t){l.prototype[t]=function(e,n){return this.request(s(n||{},{method:t,url:e,data:(n||{}).data}))}}),i.forEach(["post","put","patch"],function(t){l.prototype[t]=function(e,n,i){return this.request(s(i||{},{method:t,url:e,data:n}))}}),t.exports=l},Xxa5:function(t,e,n){t.exports=n("jyFz")},Y5mS:function(t,e,n){"use strict";var i,r=n("lFkc");r.canUseDOM&&(i=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("",""))
  118. /**
  119. * Checks if an event is supported in the current execution environment.
  120. *
  121. * NOTE: This will not work correctly for non-generic events such as `change`,
  122. * `reset`, `load`, `error`, and `select`.
  123. *
  124. * Borrows from Modernizr.
  125. *
  126. * @param {string} eventNameSuffix Event name, e.g. "click".
  127. * @param {?boolean} capture Check if the capture phase is supported.
  128. * @return {boolean} True if the event is supported.
  129. * @internal
  130. * @license Modernizr 3.0.0pre (Custom Build) | MIT
  131. */,t.exports=function(t,e){if(!r.canUseDOM||e&&!("addEventListener"in document))return!1;var n="on"+t,o=n in document;if(!o){var a=document.createElement("div");a.setAttribute(n,"return;"),o="function"==typeof a[n]}return!o&&i&&"wheel"===t&&(o=document.implementation.hasFeature("Events.wheel","3.0")),o}},YAhB:function(t,e,n){"use strict";var i=n("++K3"),r=n("Y5mS"),o=10,a=40,s=800;function l(t){var e=0,n=0,i=0,r=0;return"detail"in t&&(n=t.detail),"wheelDelta"in t&&(n=-t.wheelDelta/120),"wheelDeltaY"in t&&(n=-t.wheelDeltaY/120),"wheelDeltaX"in t&&(e=-t.wheelDeltaX/120),"axis"in t&&t.axis===t.HORIZONTAL_AXIS&&(e=n,n=0),i=e*o,r=n*o,"deltaY"in t&&(r=t.deltaY),"deltaX"in t&&(i=t.deltaX),(i||r)&&t.deltaMode&&(1==t.deltaMode?(i*=a,r*=a):(i*=s,r*=s)),i&&!e&&(e=i<1?-1:1),r&&!n&&(n=r<1?-1:1),{spinX:e,spinY:n,pixelX:i,pixelY:r}}l.getEventType=function(){return i.firefox()?"DOMMouseScroll":r("wheel")?"wheel":"mousewheel"},t.exports=l},YNYx:function(t,e,n){"use strict";var i=n("+N5+").isSpace;t.exports=function(t,e){var n,r,o,a=t.pos;if(10!==t.src.charCodeAt(a))return!1;if(n=t.pending.length-1,r=t.posMax,!e)if(n>=0&&32===t.pending.charCodeAt(n))if(n>=1&&32===t.pending.charCodeAt(n-1)){for(o=n-1;o>=1&&32===t.pending.charCodeAt(o-1);)o--;t.pending=t.pending.slice(0,o),t.push("hardbreak","br",0)}else t.pending=t.pending.slice(0,-1),t.push("softbreak","br",0);else t.push("softbreak","br",0);for(a++;a<r&&i(t.src.charCodeAt(a));)a++;return t.pos=a,!0}},YNzw:function(t,e,n){"use strict";var i=function(){return function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}}(),r=new(function(){return function(){this.browser=new i,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!=typeof window}}());"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(r.wxa=!0,r.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?r.worker=!0:"undefined"==typeof navigator?(r.node=!0,r.svgSupported=!0):function(t,e){var n=e.browser,i=t.match(/Firefox\/([\d.]+)/),r=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),o=t.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(t);i&&(n.firefox=!0,n.version=i[1]);r&&(n.ie=!0,n.version=r[1]);o&&(n.edge=!0,n.version=o[1],n.newEdge=+o[1].split(".")[0]>18);a&&(n.weChat=!0);e.svgSupported="undefined"!=typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,e.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),e.domSupported="undefined"!=typeof document;var s=document.documentElement.style;e.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||n.ie&&+n.version>=9}(navigator.userAgent,r),e.a=r},Yobk:function(t,e,n){var i=n("77Pl"),r=n("qio6"),o=n("xnc9"),a=n("ax3d")("IE_PROTO"),s=function(){},l=function(){var t,e=n("ON07")("iframe"),i=o.length;for(e.style.display="none",n("RPLV").appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),l=t.F;i--;)delete l.prototype[o[i]];return l()};t.exports=Object.create||function(t,e){var n;return null!==t?(s.prototype=i(t),n=new s,s.prototype=null,n[a]=t):n=l(),void 0===e?n:r(n,e)}},Zcwg:function(t,e,n){"use strict";e.__esModule=!0;var i=n("2kvA");var r=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return t.prototype.beforeEnter=function(t){(0,i.addClass)(t,"collapse-transition"),t.dataset||(t.dataset={}),t.dataset.oldPaddingTop=t.style.paddingTop,t.dataset.oldPaddingBottom=t.style.paddingBottom,t.style.height="0",t.style.paddingTop=0,t.style.paddingBottom=0},t.prototype.enter=function(t){t.dataset.oldOverflow=t.style.overflow,0!==t.scrollHeight?(t.style.height=t.scrollHeight+"px",t.style.paddingTop=t.dataset.oldPaddingTop,t.style.paddingBottom=t.dataset.oldPaddingBottom):(t.style.height="",t.style.paddingTop=t.dataset.oldPaddingTop,t.style.paddingBottom=t.dataset.oldPaddingBottom),t.style.overflow="hidden"},t.prototype.afterEnter=function(t){(0,i.removeClass)(t,"collapse-transition"),t.style.height="",t.style.overflow=t.dataset.oldOverflow},t.prototype.beforeLeave=function(t){t.dataset||(t.dataset={}),t.dataset.oldPaddingTop=t.style.paddingTop,t.dataset.oldPaddingBottom=t.style.paddingBottom,t.dataset.oldOverflow=t.style.overflow,t.style.height=t.scrollHeight+"px",t.style.overflow="hidden"},t.prototype.leave=function(t){0!==t.scrollHeight&&((0,i.addClass)(t,"collapse-transition"),t.style.height=0,t.style.paddingTop=0,t.style.paddingBottom=0)},t.prototype.afterLeave=function(t){(0,i.removeClass)(t,"collapse-transition"),t.style.height="",t.style.overflow=t.dataset.oldOverflow,t.style.paddingTop=t.dataset.oldPaddingTop,t.style.paddingBottom=t.dataset.oldPaddingBottom},t}();e.default={name:"ElCollapseTransition",functional:!0,render:function(t,e){var n=e.children;return t("transition",{on:new r},n)}}},Zoe1:function(t,e,n){"use strict";var i=n("7ar3"),r=n("gcUb"),o=n("GybJ"),a=i("%TypeError%"),s=i("%WeakMap%",!0),l=i("%Map%",!0),c=r("WeakMap.prototype.get",!0),u=r("WeakMap.prototype.set",!0),h=r("WeakMap.prototype.has",!0),d=r("Map.prototype.get",!0),f=r("Map.prototype.set",!0),p=r("Map.prototype.has",!0),A=function(t,e){for(var n,i=t;null!==(n=i.next);i=n)if(n.key===e)return i.next=n.next,n.next=t.next,t.next=n,n};t.exports=function(){var t,e,n,i={assert:function(t){if(!i.has(t))throw new a("Side channel does not contain "+o(t))},get:function(i){if(s&&i&&("object"==typeof i||"function"==typeof i)){if(t)return c(t,i)}else if(l){if(e)return d(e,i)}else if(n)return function(t,e){var n=A(t,e);return n&&n.value}(n,i)},has:function(i){if(s&&i&&("object"==typeof i||"function"==typeof i)){if(t)return h(t,i)}else if(l){if(e)return p(e,i)}else if(n)return function(t,e){return!!A(t,e)}(n,i);return!1},set:function(i,r){s&&i&&("object"==typeof i||"function"==typeof i)?(t||(t=new s),u(t,i,r)):l?(e||(e=new l),f(e,i,r)):(n||(n={key:{},next:null}),function(t,e,n){var i=A(t,e);i?i.value=n:t.next={key:e,next:t.next,value:n}}(n,i,r))}};return i}},Zzip:function(t,e,n){t.exports={default:n("/n6Q"),__esModule:!0}},aBKc:function(t,e,n){"use strict";var i=n("+N5+").isSpace;function r(t,e){var n,r,o,a;return r=t.bMarks[e]+t.tShift[e],o=t.eMarks[e],42!==(n=t.src.charCodeAt(r++))&&45!==n&&43!==n?-1:r<o&&(a=t.src.charCodeAt(r),!i(a))?-1:r}function o(t,e){var n,r=t.bMarks[e]+t.tShift[e],o=r,a=t.eMarks[e];if(o+1>=a)return-1;if((n=t.src.charCodeAt(o++))<48||n>57)return-1;for(;;){if(o>=a)return-1;if(!((n=t.src.charCodeAt(o++))>=48&&n<=57)){if(41===n||46===n)break;return-1}if(o-r>=10)return-1}return o<a&&(n=t.src.charCodeAt(o),!i(n))?-1:o}t.exports=function(t,e,n,i){var a,s,l,c,u,h,d,f,p,A,g,v,m,y,b,_,w,x,C,S,B,k,T,O,E,I,M,D=e,L=!1,F=!0;if(t.sCount[D]-t.blkIndent>=4)return!1;if(t.listIndent>=0&&t.sCount[D]-t.listIndent>=4&&t.sCount[D]<t.blkIndent)return!1;if(i&&"paragraph"===t.parentType&&t.sCount[D]>=t.blkIndent&&(L=!0),(k=o(t,D))>=0){if(d=!0,O=t.bMarks[D]+t.tShift[D],m=Number(t.src.slice(O,k-1)),L&&1!==m)return!1}else{if(!((k=r(t,D))>=0))return!1;d=!1}if(L&&t.skipSpaces(k)>=t.eMarks[D])return!1;if(i)return!0;for(v=t.src.charCodeAt(k-1),g=t.tokens.length,d?(M=t.push("ordered_list_open","ol",1),1!==m&&(M.attrs=[["start",m]])):M=t.push("bullet_list_open","ul",1),M.map=A=[D,0],M.markup=String.fromCharCode(v),T=!1,I=t.md.block.ruler.getRules("list"),w=t.parentType,t.parentType="list";D<n;){for(B=k,y=t.eMarks[D],h=b=t.sCount[D]+k-(t.bMarks[D]+t.tShift[D]);B<y;){if(9===(a=t.src.charCodeAt(B)))b+=4-(b+t.bsCount[D])%4;else{if(32!==a)break;b++}B++}if((u=(s=B)>=y?1:b-h)>4&&(u=1),c=h+u,(M=t.push("list_item_open","li",1)).markup=String.fromCharCode(v),M.map=f=[D,0],d&&(M.info=t.src.slice(O,k-1)),S=t.tight,C=t.tShift[D],x=t.sCount[D],_=t.listIndent,t.listIndent=t.blkIndent,t.blkIndent=c,t.tight=!0,t.tShift[D]=s-t.bMarks[D],t.sCount[D]=b,s>=y&&t.isEmpty(D+1)?t.line=Math.min(t.line+2,n):t.md.block.tokenize(t,D,n,!0),t.tight&&!T||(F=!1),T=t.line-D>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=_,t.tShift[D]=C,t.sCount[D]=x,t.tight=S,(M=t.push("list_item_close","li",-1)).markup=String.fromCharCode(v),D=t.line,f[1]=D,D>=n)break;if(t.sCount[D]<t.blkIndent)break;if(t.sCount[D]-t.blkIndent>=4)break;for(E=!1,l=0,p=I.length;l<p;l++)if(I[l](t,D,n,!0)){E=!0;break}if(E)break;if(d){if((k=o(t,D))<0)break;O=t.bMarks[D]+t.tShift[D]}else if((k=r(t,D))<0)break;if(v!==t.src.charCodeAt(k-1))break}return(M=d?t.push("ordered_list_close","ol",-1):t.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(v),A[1]=D,t.line=D,t.parentType=w,F&&function(t,e){var n,i,r=t.level+2;for(n=e+2,i=t.tokens.length-2;n<i;n++)t.tokens[n].level===r&&"paragraph_open"===t.tokens[n].type&&(t.tokens[n+2].hidden=!0,t.tokens[n].hidden=!0,n+=2)}(t,g),!0}},aMwW:function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=131)}({131:function(t,e,n){"use strict";n.r(e);var i=n(5),r=n.n(i),o=n(17),a=n.n(o),s=n(2),l=n(3),c=n(7),u=n.n(c),h={name:"ElTooltip",mixins:[r.a],props:{openDelay:{type:Number,default:0},disabled:Boolean,manual:Boolean,effect:{type:String,default:"dark"},arrowOffset:{type:Number,default:0},popperClass:String,content:String,visibleArrow:{default:!0},transition:{type:String,default:"el-fade-in-linear"},popperOptions:{default:function(){return{boundariesPadding:10,gpuAcceleration:!1}}},enterable:{type:Boolean,default:!0},hideAfter:{type:Number,default:0},tabindex:{type:Number,default:0}},data:function(){return{tooltipId:"el-tooltip-"+Object(l.generateId)(),timeoutPending:null,focusing:!1}},beforeCreate:function(){var t=this;this.$isServer||(this.popperVM=new u.a({data:{node:""},render:function(t){return this.node}}).$mount(),this.debounceClose=a()(200,function(){return t.handleClosePopper()}))},render:function(t){var e=this;this.popperVM&&(this.popperVM.node=t("transition",{attrs:{name:this.transition},on:{afterLeave:this.doDestroy}},[t("div",{on:{mouseleave:function(){e.setExpectedState(!1),e.debounceClose()},mouseenter:function(){e.setExpectedState(!0)}},ref:"popper",attrs:{role:"tooltip",id:this.tooltipId,"aria-hidden":this.disabled||!this.showPopper?"true":"false"},directives:[{name:"show",value:!this.disabled&&this.showPopper}],class:["el-tooltip__popper","is-"+this.effect,this.popperClass]},[this.$slots.content||this.content])]));var n=this.getFirstElement();if(!n)return null;var i=n.data=n.data||{};return i.staticClass=this.addTooltipClass(i.staticClass),n},mounted:function(){var t=this;this.referenceElm=this.$el,1===this.$el.nodeType&&(this.$el.setAttribute("aria-describedby",this.tooltipId),this.$el.setAttribute("tabindex",this.tabindex),Object(s.on)(this.referenceElm,"mouseenter",this.show),Object(s.on)(this.referenceElm,"mouseleave",this.hide),Object(s.on)(this.referenceElm,"focus",function(){if(t.$slots.default&&t.$slots.default.length){var e=t.$slots.default[0].componentInstance;e&&e.focus?e.focus():t.handleFocus()}else t.handleFocus()}),Object(s.on)(this.referenceElm,"blur",this.handleBlur),Object(s.on)(this.referenceElm,"click",this.removeFocusing)),this.value&&this.popperVM&&this.popperVM.$nextTick(function(){t.value&&t.updatePopper()})},watch:{focusing:function(t){t?Object(s.addClass)(this.referenceElm,"focusing"):Object(s.removeClass)(this.referenceElm,"focusing")}},methods:{show:function(){this.setExpectedState(!0),this.handleShowPopper()},hide:function(){this.setExpectedState(!1),this.debounceClose()},handleFocus:function(){this.focusing=!0,this.show()},handleBlur:function(){this.focusing=!1,this.hide()},removeFocusing:function(){this.focusing=!1},addTooltipClass:function(t){return t?"el-tooltip "+t.replace("el-tooltip",""):"el-tooltip"},handleShowPopper:function(){var t=this;this.expectedState&&!this.manual&&(clearTimeout(this.timeout),this.timeout=setTimeout(function(){t.showPopper=!0},this.openDelay),this.hideAfter>0&&(this.timeoutPending=setTimeout(function(){t.showPopper=!1},this.hideAfter)))},handleClosePopper:function(){this.enterable&&this.expectedState||this.manual||(clearTimeout(this.timeout),this.timeoutPending&&clearTimeout(this.timeoutPending),this.showPopper=!1,this.disabled&&this.doDestroy())},setExpectedState:function(t){!1===t&&clearTimeout(this.timeoutPending),this.expectedState=t},getFirstElement:function(){var t=this.$slots.default;if(!Array.isArray(t))return null;for(var e=null,n=0;n<t.length;n++)t[n]&&t[n].tag&&(e=t[n]);return e}},beforeDestroy:function(){this.popperVM&&this.popperVM.$destroy()},destroyed:function(){var t=this.referenceElm;1===t.nodeType&&(Object(s.off)(t,"mouseenter",this.show),Object(s.off)(t,"mouseleave",this.hide),Object(s.off)(t,"focus",this.handleFocus),Object(s.off)(t,"blur",this.handleBlur),Object(s.off)(t,"click",this.removeFocusing))},install:function(t){t.component(h.name,h)}};e.default=h},17:function(t,e){t.exports=n("ON3O")},2:function(t,e){t.exports=n("2kvA")},3:function(t,e){t.exports=n("ylDJ")},5:function(t,e){t.exports=n("fKx3")},7:function(t,e){t.exports=n("7+uW")}})},aW5l:function(t,e,n){"use strict";e.__esModule=!0;n("ylDJ");e.default={mounted:function(){},methods:{getMigratingConfig:function(){return{props:{},events:{}}}}}},ai7u:function(t,e,n){"use strict";var i=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,r=/\((c|tm|r)\)/i,o=/\((c|tm|r)\)/gi,a={c:"©",r:"®",tm:"™"};function s(t,e){return a[e.toLowerCase()]}function l(t){var e,n,i=0;for(e=t.length-1;e>=0;e--)"text"!==(n=t[e]).type||i||(n.content=n.content.replace(o,s)),"link_open"===n.type&&"auto"===n.info&&i--,"link_close"===n.type&&"auto"===n.info&&i++}function c(t){var e,n,r=0;for(e=t.length-1;e>=0;e--)"text"!==(n=t[e]).type||r||i.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}t.exports=function(t){var e;if(t.md.options.typographer)for(e=t.tokens.length-1;e>=0;e--)"inline"===t.tokens[e].type&&(r.test(t.tokens[e].content)&&l(t.tokens[e].children),i.test(t.tokens[e].content)&&c(t.tokens[e].children))}},aj7g:function(t,e){var n="auto",i={"":!0,lr:!0,rl:!0},r={start:!0,middle:!0,end:!0,left:!0,right:!0};function o(t){return"string"==typeof t&&(!!r[t.toLowerCase()]&&t.toLowerCase())}function a(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)t[i]=n[i]}return t}function s(t,e,r){var s=this,l=/MSIE\s8\.0/.test(navigator.userAgent),c={};l?s=document.createElement("custom"):c.enumerable=!0,s.hasBeenReset=!1;var u="",h=!1,d=t,f=e,p=r,A=null,g="",v=!0,m="auto",y="start",b=50,_="middle",w=50,x="middle";if(Object.defineProperty(s,"id",a({},c,{get:function(){return u},set:function(t){u=""+t}})),Object.defineProperty(s,"pauseOnExit",a({},c,{get:function(){return h},set:function(t){h=!!t}})),Object.defineProperty(s,"startTime",a({},c,{get:function(){return d},set:function(t){if("number"!=typeof t)throw new TypeError("Start time must be set to a number.");d=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"endTime",a({},c,{get:function(){return f},set:function(t){if("number"!=typeof t)throw new TypeError("End time must be set to a number.");f=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"text",a({},c,{get:function(){return p},set:function(t){p=""+t,this.hasBeenReset=!0}})),Object.defineProperty(s,"region",a({},c,{get:function(){return A},set:function(t){A=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"vertical",a({},c,{get:function(){return g},set:function(t){var e=function(t){return"string"==typeof t&&!!i[t.toLowerCase()]&&t.toLowerCase()}(t);if(!1===e)throw new SyntaxError("An invalid or illegal string was specified.");g=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"snapToLines",a({},c,{get:function(){return v},set:function(t){v=!!t,this.hasBeenReset=!0}})),Object.defineProperty(s,"line",a({},c,{get:function(){return m},set:function(t){if("number"!=typeof t&&t!==n)throw new SyntaxError("An invalid number or illegal string was specified.");m=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"lineAlign",a({},c,{get:function(){return y},set:function(t){var e=o(t);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");y=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"position",a({},c,{get:function(){return b},set:function(t){if(t<0||t>100)throw new Error("Position must be between 0 and 100.");b=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"positionAlign",a({},c,{get:function(){return _},set:function(t){var e=o(t);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");_=e,this.hasBeenReset=!0}})),Object.defineProperty(s,"size",a({},c,{get:function(){return w},set:function(t){if(t<0||t>100)throw new Error("Size must be between 0 and 100.");w=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"align",a({},c,{get:function(){return x},set:function(t){var e=o(t);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");x=e,this.hasBeenReset=!0}})),s.displayState=void 0,l)return s}s.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},t.exports=s},awF4:function(t,e,n){(function(e){var n;n="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{},t.exports=n}).call(e,n("DuR2"))},ax3d:function(t,e,n){var i=n("e8AB")("keys"),r=n("3Eo+");t.exports=function(t){return i[t]||(i[t]=r(t))}},bRrM:function(t,e,n){"use strict";var i=n("7KvD"),r=n("FeBl"),o=n("evD5"),a=n("+E39"),s=n("dSzd")("species");t.exports=function(t){var e="function"==typeof r[t]?r[t]:i[t];a&&e&&!e[s]&&o.f(e,s,{configurable:!0,get:function(){return this}})}},bqnK:function(t,e,n){n("HpRW")("Map")},"c/Tr":function(t,e,n){t.exports={default:n("5zde"),__esModule:!0}},cGG2:function(t,e,n){"use strict";var i=n("JP+z"),r=Object.prototype.toString;function o(t){return"[object Array]"===r.call(t)}function a(t){return void 0===t}function s(t){return null!==t&&"object"==typeof t}function l(t){if("[object Object]"!==r.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function c(t){return"[object Function]"===r.call(t)}function u(t,e){if(null!==t&&void 0!==t)if("object"!=typeof t&&(t=[t]),o(t))for(var n=0,i=t.length;n<i;n++)e.call(null,t[n],n,t);else for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.call(null,t[r],r,t)}t.exports={isArray:o,isArrayBuffer:function(t){return"[object ArrayBuffer]"===r.call(t)},isBuffer:function(t){return null!==t&&!a(t)&&null!==t.constructor&&!a(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){return"undefined"!=typeof FormData&&t instanceof FormData},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:s,isPlainObject:l,isUndefined:a,isDate:function(t){return"[object Date]"===r.call(t)},isFile:function(t){return"[object File]"===r.call(t)},isBlob:function(t){return"[object Blob]"===r.call(t)},isFunction:c,isStream:function(t){return s(t)&&c(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:u,merge:function t(){var e={};function n(n,i){l(e[i])&&l(n)?e[i]=t(e[i],n):l(n)?e[i]=t({},n):o(n)?e[i]=n.slice():e[i]=n}for(var i=0,r=arguments.length;i<r;i++)u(arguments[i],n);return e},extend:function(t,e,n){return u(e,function(e,r){t[r]=n&&"function"==typeof e?i(e,n):e}),t},trim:function(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}}},cWxy:function(t,e,n){"use strict";var i=n("dVOP");function r(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(t){e=t});var n=this;t(function(t){n.reason||(n.reason=new i(t),e(n.reason))})}r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var t;return{token:new r(function(e){t=e}),cancel:t}},t.exports=r},ciWi:function(t,e,n){var i=n("awF4"),r=t.exports={WebVTT:n("dlST"),VTTCue:n("aj7g"),VTTRegion:n("DvOw")};i.vttjs=r,i.WebVTT=r.WebVTT;var o=r.VTTCue,a=r.VTTRegion,s=i.VTTCue,l=i.VTTRegion;r.shim=function(){i.VTTCue=o,i.VTTRegion=a},r.restore=function(){i.VTTCue=s,i.VTTRegion=l},i.VTTCue||r.shim()},crlp:function(t,e,n){var i=n("7KvD"),r=n("FeBl"),o=n("O4g8"),a=n("Kh4W"),s=n("evD5").f;t.exports=function(t){var e=r.Symbol||(r.Symbol=o?{}:i.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},d7EF:function(t,e,n){"use strict";e.__esModule=!0;var i=o(n("us/S")),r=o(n("BO1k"));function o(t){return t&&t.__esModule?t:{default:t}}e.default=function(){return function(t,e){if(Array.isArray(t))return t;if((0,i.default)(Object(t)))return function(t,e){var n=[],i=!0,o=!1,a=void 0;try{for(var s,l=(0,r.default)(t);!(i=(s=l.next()).done)&&(n.push(s.value),!e||n.length!==e);i=!0);}catch(t){o=!0,a=t}finally{try{!i&&l.return&&l.return()}finally{if(o)throw a}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},dIwP:function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},dNDb:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},dSzd:function(t,e,n){var i=n("e8AB")("wks"),r=n("3Eo+"),o=n("7KvD").Symbol,a="function"==typeof o;(t.exports=function(t){return i[t]||(i[t]=a&&o[t]||(a?o:r)("Symbol."+t))}).store=i},dVOP:function(t,e,n){"use strict";function i(t){this.message=t}i.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},i.prototype.__CANCEL__=!0,t.exports=i},dY0y:function(t,e,n){var i=n("dSzd")("iterator"),r=!1;try{var o=[7][i]();o.return=function(){r=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!r)return!1;var n=!1;try{var o=[7],a=o[i]();a.next=function(){return{done:n=!0}},o[i]=function(){return a},t(o)}catch(t){}return n}},dlST:function(t,e){var n=Object.create||function(){function t(){}return function(e){if(1!==arguments.length)throw new Error("Object.create shim only accepts one parameter.");return t.prototype=e,new t}}();function i(t,e){this.name="ParsingError",this.code=t.code,this.message=e||t.message}function r(t){function e(t,e,n,i){return 3600*(0|t)+60*(0|e)+(0|n)+(0|i)/1e3}var n=t.match(/^(\d+):(\d{2})(:\d{2})?\.(\d{3})/);return n?n[3]?e(n[1],n[2],n[3].replace(":",""),n[4]):n[1]>59?e(n[1],n[2],0,n[4]):e(0,n[1],n[2],n[4]):null}function o(){this.values=n(null)}function a(t,e,n,i){var r=i?t.split(i):[t];for(var o in r)if("string"==typeof r[o]){var a=r[o].split(n);if(2===a.length)e(a[0],a[1])}}function s(t,e,n){var s=t;function l(){var e=r(t);if(null===e)throw new i(i.Errors.BadTimeStamp,"Malformed timestamp: "+s);return t=t.replace(/^[^\sa-zA-Z-]+/,""),e}function c(){t=t.replace(/^\s+/,"")}if(c(),e.startTime=l(),c(),"--\x3e"!==t.substr(0,3))throw new i(i.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '--\x3e'): "+s);t=t.substr(3),c(),e.endTime=l(),c(),function(t,e){var i=new o;a(t,function(t,e){switch(t){case"region":for(var r=n.length-1;r>=0;r--)if(n[r].id===e){i.set(t,n[r].region);break}break;case"vertical":i.alt(t,e,["rl","lr"]);break;case"line":var o=e.split(","),a=o[0];i.integer(t,a),i.percent(t,a)&&i.set("snapToLines",!1),i.alt(t,a,["auto"]),2===o.length&&i.alt("lineAlign",o[1],["start","middle","end"]);break;case"position":o=e.split(","),i.percent(t,o[0]),2===o.length&&i.alt("positionAlign",o[1],["start","middle","end"]);break;case"size":i.percent(t,e);break;case"align":i.alt(t,e,["start","middle","end","left","right"])}},/:/,/\s/),e.region=i.get("region",null),e.vertical=i.get("vertical",""),e.line=i.get("line","auto"),e.lineAlign=i.get("lineAlign","start"),e.snapToLines=i.get("snapToLines",!0),e.size=i.get("size",100),e.align=i.get("align","middle"),e.position=i.get("position",{start:0,left:0,middle:50,end:100,right:100},e.align),e.positionAlign=i.get("positionAlign",{start:"start",left:"start",middle:"middle",end:"end",right:"end"},e.align)}(t,e)}i.prototype=n(Error.prototype),i.prototype.constructor=i,i.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},o.prototype={set:function(t,e){this.get(t)||""===e||(this.values[t]=e)},get:function(t,e,n){return n?this.has(t)?this.values[t]:e[n]:this.has(t)?this.values[t]:e},has:function(t){return t in this.values},alt:function(t,e,n){for(var i=0;i<n.length;++i)if(e===n[i]){this.set(t,e);break}},integer:function(t,e){/^-?\d+$/.test(e)&&this.set(t,parseInt(e,10))},percent:function(t,e){return!!(e.match(/^([\d]{1,3})(\.[\d]*)?%$/)&&(e=parseFloat(e))>=0&&e<=100)&&(this.set(t,e),!0)}};var l={"&amp;":"&","&lt;":"<","&gt;":">","&lrm;":"‎","&rlm;":"‏","&nbsp;":" "},c={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},u={v:"title",lang:"lang"},h={rt:"ruby"};function d(t,e){function n(){if(!e)return null;var t,n=e.match(/^([^<]*)(<[^>]*>?)?/);return t=n[1]?n[1]:n[2],e=e.substr(t.length),t}function i(t){return l[t]}function o(t){for(;m=t.match(/&(amp|lt|gt|lrm|rlm|nbsp);/);)t=t.replace(m[0],i);return t}function a(t,e){return!h[e.localName]||h[e.localName]===t.localName}function s(e,n){var i=c[e];if(!i)return null;var r=t.document.createElement(i);r.localName=i;var o=u[e];return o&&n&&(r[o]=n.trim()),r}for(var d,f=t.document.createElement("div"),p=f,A=[];null!==(d=n());)if("<"!==d[0])p.appendChild(t.document.createTextNode(o(d)));else{if("/"===d[1]){A.length&&A[A.length-1]===d.substr(2).replace(">","")&&(A.pop(),p=p.parentNode);continue}var g,v=r(d.substr(1,d.length-2));if(v){g=t.document.createProcessingInstruction("timestamp",v),p.appendChild(g);continue}var m=d.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!m)continue;if(!(g=s(m[1],m[3])))continue;if(!a(p,g))continue;m[2]&&(g.className=m[2].substr(1).replace("."," ")),A.push(m[1]),p.appendChild(g),p=g}return f}var f=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];function p(t){for(var e=0;e<f.length;e++){var n=f[e];if(t>=n[0]&&t<=n[1])return!0}return!1}function A(){}function g(t,e,n){var i=/MSIE\s8\.0/.test(navigator.userAgent),r="rgba(255, 255, 255, 1)",o="rgba(0, 0, 0, 0.8)";i&&(r="rgb(255, 255, 255)",o="rgb(0, 0, 0)"),A.call(this),this.cue=e,this.cueDiv=d(t,e.text);var a={color:r,backgroundColor:o,position:"relative",left:0,right:0,top:0,bottom:0,display:"inline"};i||(a.writingMode=""===e.vertical?"horizontal-tb":"lr"===e.vertical?"vertical-lr":"vertical-rl",a.unicodeBidi="plaintext"),this.applyStyles(a,this.cueDiv),this.div=t.document.createElement("div"),a={textAlign:"middle"===e.align?"center":e.align,font:n.font,whiteSpace:"pre-line",position:"absolute"},i||(a.direction=function(t){var e=[],n="";if(!t||!t.childNodes)return"ltr";function i(t,e){for(var n=e.childNodes.length-1;n>=0;n--)t.push(e.childNodes[n])}function r(t){if(!t||!t.length)return null;var e=t.pop(),n=e.textContent||e.innerText;if(n){var o=n.match(/^.*(\n|\r)/);return o?(t.length=0,o[0]):n}return"ruby"===e.tagName?r(t):e.childNodes?(i(t,e),r(t)):void 0}for(i(e,t);n=r(e);)for(var o=0;o<n.length;o++)if(p(n.charCodeAt(o)))return"rtl";return"ltr"}(this.cueDiv),a.writingMode=""===e.vertical?"horizontal-tb":"lr"===e.vertical?"vertical-lr":"vertical-rl".stylesunicodeBidi="plaintext"),this.applyStyles(a),this.div.appendChild(this.cueDiv);var s=0;switch(e.positionAlign){case"start":s=e.position;break;case"middle":s=e.position-e.size/2;break;case"end":s=e.position-e.size}""===e.vertical?this.applyStyles({left:this.formatStyle(s,"%"),width:this.formatStyle(e.size,"%")}):this.applyStyles({top:this.formatStyle(s,"%"),height:this.formatStyle(e.size,"%")}),this.move=function(t){this.applyStyles({top:this.formatStyle(t.top,"px"),bottom:this.formatStyle(t.bottom,"px"),left:this.formatStyle(t.left,"px"),right:this.formatStyle(t.right,"px"),height:this.formatStyle(t.height,"px"),width:this.formatStyle(t.width,"px")})}}function v(t){var e,n,i,r,o=/MSIE\s8\.0/.test(navigator.userAgent);if(t.div){n=t.div.offsetHeight,i=t.div.offsetWidth,r=t.div.offsetTop;var a=(a=t.div.childNodes)&&(a=a[0])&&a.getClientRects&&a.getClientRects();t=t.div.getBoundingClientRect(),e=a?Math.max(a[0]&&a[0].height||0,t.height/a.length):0}this.left=t.left,this.right=t.right,this.top=t.top||r,this.height=t.height||n,this.bottom=t.bottom||r+(t.height||n),this.width=t.width||i,this.lineHeight=void 0!==e?e:t.lineHeight,o&&!this.lineHeight&&(this.lineHeight=13)}function m(t,e,n,i){var r=new v(e),o=e.cue,a=function(t){if("number"==typeof t.line&&(t.snapToLines||t.line>=0&&t.line<=100))return t.line;if(!t.track||!t.track.textTrackList||!t.track.textTrackList.mediaElement)return-1;for(var e=t.track,n=e.textTrackList,i=0,r=0;r<n.length&&n[r]!==e;r++)"showing"===n[r].mode&&i++;return-1*++i}(o),s=[];if(o.snapToLines){var l;switch(o.vertical){case"":s=["+y","-y"],l="height";break;case"rl":s=["+x","-x"],l="width";break;case"lr":s=["-x","+x"],l="width"}var c=r.lineHeight,u=c*Math.round(a),h=n[l]+c,d=s[0];Math.abs(u)>h&&(u=u<0?-1:1,u*=Math.ceil(h/c)*c),a<0&&(u+=""===o.vertical?n.height:n.width,s=s.reverse()),r.move(d,u)}else{var f=r.lineHeight/n.height*100;switch(o.lineAlign){case"middle":a-=f/2;break;case"end":a-=f}switch(o.vertical){case"":e.applyStyles({top:e.formatStyle(a,"%")});break;case"rl":e.applyStyles({left:e.formatStyle(a,"%")});break;case"lr":e.applyStyles({right:e.formatStyle(a,"%")})}s=["+y","-x","+x","-y"],r=new v(e)}var p=function(t,e){for(var r,o=new v(t),a=1,s=0;s<e.length;s++){for(;t.overlapsOppositeAxis(n,e[s])||t.within(n)&&t.overlapsAny(i);)t.move(e[s]);if(t.within(n))return t;var l=t.intersectPercentage(n);a>l&&(r=new v(t),a=l),t=new v(o)}return r||o}(r,s);e.move(p.toCSSCompatValues(n))}function y(){}A.prototype.applyStyles=function(t,e){for(var n in e=e||this.div,t)t.hasOwnProperty(n)&&(e.style[n]=t[n])},A.prototype.formatStyle=function(t,e){return 0===t?0:t+e},g.prototype=n(A.prototype),g.prototype.constructor=g,v.prototype.move=function(t,e){switch(e=void 0!==e?e:this.lineHeight,t){case"+x":this.left+=e,this.right+=e;break;case"-x":this.left-=e,this.right-=e;break;case"+y":this.top+=e,this.bottom+=e;break;case"-y":this.top-=e,this.bottom-=e}},v.prototype.overlaps=function(t){return this.left<t.right&&this.right>t.left&&this.top<t.bottom&&this.bottom>t.top},v.prototype.overlapsAny=function(t){for(var e=0;e<t.length;e++)if(this.overlaps(t[e]))return!0;return!1},v.prototype.within=function(t){return this.top>=t.top&&this.bottom<=t.bottom&&this.left>=t.left&&this.right<=t.right},v.prototype.overlapsOppositeAxis=function(t,e){switch(e){case"+x":return this.left<t.left;case"-x":return this.right>t.right;case"+y":return this.top<t.top;case"-y":return this.bottom>t.bottom}},v.prototype.intersectPercentage=function(t){return Math.max(0,Math.min(this.right,t.right)-Math.max(this.left,t.left))*Math.max(0,Math.min(this.bottom,t.bottom)-Math.max(this.top,t.top))/(this.height*this.width)},v.prototype.toCSSCompatValues=function(t){return{top:this.top-t.top,bottom:t.bottom-this.bottom,left:this.left-t.left,right:t.right-this.right,height:this.height,width:this.width}},v.getSimpleBoxPosition=function(t){var e=t.div?t.div.offsetHeight:t.tagName?t.offsetHeight:0,n=t.div?t.div.offsetWidth:t.tagName?t.offsetWidth:0,i=t.div?t.div.offsetTop:t.tagName?t.offsetTop:0;return{left:(t=t.div?t.div.getBoundingClientRect():t.tagName?t.getBoundingClientRect():t).left,right:t.right,top:t.top||i,height:t.height||e,bottom:t.bottom||i+(t.height||e),width:t.width||n}},y.StringDecoder=function(){return{decode:function(t){if(!t)return"";if("string"!=typeof t)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(t))}}},y.convertCueToDOMTree=function(t,e){return t&&e?d(t,e):null};y.processCues=function(t,e,n){if(!t||!e||!n)return null;for(;n.firstChild;)n.removeChild(n.firstChild);var i=t.document.createElement("div");if(i.style.position="absolute",i.style.left="0",i.style.right="0",i.style.top="0",i.style.bottom="0",i.style.margin="1.5%",n.appendChild(i),function(t){for(var e=0;e<t.length;e++)if(t[e].hasBeenReset||!t[e].displayState)return!0;return!1}(e)){var r=[],o=v.getSimpleBoxPosition(i),a={font:Math.round(.05*o.height*100)/100+"px sans-serif"};!function(){for(var n,s,l=0;l<e.length;l++)s=e[l],n=new g(t,s,a),i.appendChild(n.div),m(0,n,o,r),s.displayState=n.div,r.push(v.getSimpleBoxPosition(n))}()}else for(var s=0;s<e.length;s++)i.appendChild(e[s].displayState)},y.Parser=function(t,e,n){n||(n=e,e={}),e||(e={}),this.window=t,this.vttjs=e,this.state="INITIAL",this.buffer="",this.decoder=n||new TextDecoder("utf8"),this.regionList=[]},y.Parser.prototype={reportOrThrowError:function(t){if(!(t instanceof i))throw t;this.onparsingerror&&this.onparsingerror(t)},parse:function(t){var e=this;function n(){for(var t=e.buffer,n=0;n<t.length&&"\r"!==t[n]&&"\n"!==t[n];)++n;var i=t.substr(0,n);return"\r"===t[n]&&++n,"\n"===t[n]&&++n,e.buffer=t.substr(n),i}function l(t){t.match(/X-TIMESTAMP-MAP/)?a(t,function(t,n){switch(t){case"X-TIMESTAMP-MAP":i=n,s=new o,a(i,function(t,e){switch(t){case"MPEGT":s.integer(t+"S",e);break;case"LOCA":s.set(t+"L",r(e))}},/[^\d]:/,/,/),e.ontimestampmap&&e.ontimestampmap({MPEGTS:s.get("MPEGTS"),LOCAL:s.get("LOCAL")})}var i,s},/=/):a(t,function(t,n){switch(t){case"Region":!function(t){var n=new o;if(a(t,function(t,e){switch(t){case"id":n.set(t,e);break;case"width":n.percent(t,e);break;case"lines":n.integer(t,e);break;case"regionanchor":case"viewportanchor":var i=e.split(",");if(2!==i.length)break;var r=new o;if(r.percent("x",i[0]),r.percent("y",i[1]),!r.has("x")||!r.has("y"))break;n.set(t+"X",r.get("x")),n.set(t+"Y",r.get("y"));break;case"scroll":n.alt(t,e,["up"])}},/=/,/\s/),n.has("id")){var i=new(e.vttjs.VTTRegion||e.window.VTTRegion);i.width=n.get("width",100),i.lines=n.get("lines",3),i.regionAnchorX=n.get("regionanchorX",0),i.regionAnchorY=n.get("regionanchorY",100),i.viewportAnchorX=n.get("viewportanchorX",0),i.viewportAnchorY=n.get("viewportanchorY",100),i.scroll=n.get("scroll",""),e.onregion&&e.onregion(i),e.regionList.push({id:n.get("id"),region:i})}}(n)}},/:/)}t&&(e.buffer+=e.decoder.decode(t,{stream:!0}));try{var c;if("INITIAL"===e.state){if(!/\r\n|\n/.test(e.buffer))return this;var u=(c=n()).match(/^WEBVTT([ \t].*)?$/);if(!u||!u[0])throw new i(i.Errors.BadSignature);e.state="HEADER"}for(var h=!1;e.buffer;){if(!/\r\n|\n/.test(e.buffer))return this;switch(h?h=!1:c=n(),e.state){case"HEADER":/:/.test(c)?l(c):c||(e.state="ID");continue;case"NOTE":c||(e.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(c)){e.state="NOTE";break}if(!c)continue;if(e.cue=new(e.vttjs.VTTCue||e.window.VTTCue)(0,0,""),e.state="CUE",-1===c.indexOf("--\x3e")){e.cue.id=c;continue}case"CUE":try{s(c,e.cue,e.regionList)}catch(t){e.reportOrThrowError(t),e.cue=null,e.state="BADCUE";continue}e.state="CUETEXT";continue;case"CUETEXT":var d=-1!==c.indexOf("--\x3e");if(!c||d&&(h=!0)){e.oncue&&e.oncue(e.cue),e.cue=null,e.state="ID";continue}e.cue.text&&(e.cue.text+="\n"),e.cue.text+=c;continue;case"BADCUE":c||(e.state="ID");continue}}}catch(t){e.reportOrThrowError(t),"CUETEXT"===e.state&&e.cue&&e.oncue&&e.oncue(e.cue),e.cue=null,e.state="INITIAL"===e.state?"BADWEBVTT":"BADCUE"}return this},flush:function(){try{if(this.buffer+=this.decoder.decode(),(this.cue||"HEADER"===this.state)&&(this.buffer+="\n\n",this.parse()),"INITIAL"===this.state)throw new i(i.Errors.BadSignature)}catch(t){this.reportOrThrowError(t)}return this.onflush&&this.onflush(),this}},t.exports=y},"dwO+":function(t,e,n){(function(e){var i,r=void 0!==e?e:"undefined"!=typeof window?window:{},o=n(1);"undefined"!=typeof document?i=document:(i=r["__GLOBAL_DOCUMENT_CACHE@4"])||(i=r["__GLOBAL_DOCUMENT_CACHE@4"]=o),t.exports=i}).call(e,n("DuR2"))},e0Bm:function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=61)}({0:function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(t,e){return l.call(e),u(t,e)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:c}}n.d(e,"a",function(){return i})},10:function(t,e){t.exports=n("HJMx")},12:function(t,e){t.exports=n("ISYW")},14:function(t,e){t.exports=n("fEB+")},16:function(t,e){t.exports=n("02w1")},17:function(t,e){t.exports=n("ON3O")},21:function(t,e){t.exports=n("E/in")},22:function(t,e){t.exports=n("1oZe")},3:function(t,e){t.exports=n("ylDJ")},31:function(t,e){t.exports=n("zTCi")},33:function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"el-select-dropdown__item",class:{selected:t.itemSelected,"is-disabled":t.disabled||t.groupDisabled||t.limitReached,hover:t.hover},on:{mouseenter:t.hoverItem,click:function(e){return e.stopPropagation(),t.selectOptionClick(e)}}},[t._t("default",[n("span",[t._v(t._s(t.currentLabel))])])],2)};i._withStripped=!0;var r=n(4),o=n.n(r),a=n(3),s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},l={mixins:[o.a],name:"ElOption",componentName:"ElOption",inject:["select"],props:{value:{required:!0},label:[String,Number],created:Boolean,disabled:{type:Boolean,default:!1}},data:function(){return{index:-1,groupDisabled:!1,visible:!0,hitState:!1,hover:!1}},computed:{isObject:function(){return"[object object]"===Object.prototype.toString.call(this.value).toLowerCase()},currentLabel:function(){return this.label||(this.isObject?"":this.value)},currentValue:function(){return this.value||this.label||""},itemSelected:function(){return this.select.multiple?this.contains(this.select.value,this.value):this.isEqual(this.value,this.select.value)},limitReached:function(){return!!this.select.multiple&&(!this.itemSelected&&(this.select.value||[]).length>=this.select.multipleLimit&&this.select.multipleLimit>0)}},watch:{currentLabel:function(){this.created||this.select.remote||this.dispatch("ElSelect","setSelected")},value:function(t,e){var n=this.select,i=n.remote,r=n.valueKey;if(!this.created&&!i){if(r&&"object"===(void 0===t?"undefined":s(t))&&"object"===(void 0===e?"undefined":s(e))&&t[r]===e[r])return;this.dispatch("ElSelect","setSelected")}}},methods:{isEqual:function(t,e){if(this.isObject){var n=this.select.valueKey;return Object(a.getValueByPath)(t,n)===Object(a.getValueByPath)(e,n)}return t===e},contains:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments[1];if(this.isObject){var n=this.select.valueKey;return t&&t.some(function(t){return Object(a.getValueByPath)(t,n)===Object(a.getValueByPath)(e,n)})}return t&&t.indexOf(e)>-1},handleGroupDisabled:function(t){this.groupDisabled=t},hoverItem:function(){this.disabled||this.groupDisabled||(this.select.hoverIndex=this.select.options.indexOf(this))},selectOptionClick:function(){!0!==this.disabled&&!0!==this.groupDisabled&&this.dispatch("ElSelect","handleOptionClick",[this,!0])},queryChange:function(t){this.visible=new RegExp(Object(a.escapeRegexpString)(t),"i").test(this.currentLabel)||this.created,this.visible||this.select.filteredOptionsCount--}},created:function(){this.select.options.push(this),this.select.cachedOptions.push(this),this.select.optionsCount++,this.select.filteredOptionsCount++,this.$on("queryChange",this.queryChange),this.$on("handleGroupDisabled",this.handleGroupDisabled)},beforeDestroy:function(){var t=this.select,e=t.selected,n=t.multiple?e:[e],i=this.select.cachedOptions.indexOf(this),r=n.indexOf(this);i>-1&&r<0&&this.select.cachedOptions.splice(i,1),this.select.onOptionDestroy(this.select.options.indexOf(this))}},c=n(0),u=Object(c.a)(l,i,[],!1,null,null,null);u.options.__file="packages/select/src/option.vue";e.a=u.exports},37:function(t,e){t.exports=n("orbS")},4:function(t,e){t.exports=n("fPll")},5:function(t,e){t.exports=n("fKx3")},6:function(t,e){t.exports=n("y+7x")},61:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:t.handleClose,expression:"handleClose"}],staticClass:"el-select",class:[t.selectSize?"el-select--"+t.selectSize:""],on:{click:function(e){return e.stopPropagation(),t.toggleMenu(e)}}},[t.multiple?n("div",{ref:"tags",staticClass:"el-select__tags",style:{"max-width":t.inputWidth-32+"px",width:"100%"}},[t.collapseTags&&t.selected.length?n("span",[n("el-tag",{attrs:{closable:!t.selectDisabled,size:t.collapseTagSize,hit:t.selected[0].hitState,type:"info","disable-transitions":""},on:{close:function(e){t.deleteTag(e,t.selected[0])}}},[n("span",{staticClass:"el-select__tags-text"},[t._v(t._s(t.selected[0].currentLabel))])]),t.selected.length>1?n("el-tag",{attrs:{closable:!1,size:t.collapseTagSize,type:"info","disable-transitions":""}},[n("span",{staticClass:"el-select__tags-text"},[t._v("+ "+t._s(t.selected.length-1))])]):t._e()],1):t._e(),t.collapseTags?t._e():n("transition-group",{on:{"after-leave":t.resetInputHeight}},t._l(t.selected,function(e){return n("el-tag",{key:t.getValueKey(e),attrs:{closable:!t.selectDisabled,size:t.collapseTagSize,hit:e.hitState,type:"info","disable-transitions":""},on:{close:function(n){t.deleteTag(n,e)}}},[n("span",{staticClass:"el-select__tags-text"},[t._v(t._s(e.currentLabel))])])}),1),t.filterable?n("input",{directives:[{name:"model",rawName:"v-model",value:t.query,expression:"query"}],ref:"input",staticClass:"el-select__input",class:[t.selectSize?"is-"+t.selectSize:""],style:{"flex-grow":"1",width:t.inputLength/(t.inputWidth-32)+"%","max-width":t.inputWidth-42+"px"},attrs:{type:"text",disabled:t.selectDisabled,autocomplete:t.autoComplete||t.autocomplete},domProps:{value:t.query},on:{focus:t.handleFocus,blur:function(e){t.softFocus=!1},keyup:t.managePlaceholder,keydown:[t.resetInputState,function(e){if(!("button"in e)&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"]))return null;e.preventDefault(),t.navigateOptions("next")},function(e){if(!("button"in e)&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"]))return null;e.preventDefault(),t.navigateOptions("prev")},function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?(e.preventDefault(),t.selectOption(e)):null},function(e){if(!("button"in e)&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"]))return null;e.stopPropagation(),e.preventDefault(),t.visible=!1},function(e){return"button"in e||!t._k(e.keyCode,"delete",[8,46],e.key,["Backspace","Delete","Del"])?t.deletePrevTag(e):null},function(e){if(!("button"in e)&&t._k(e.keyCode,"tab",9,e.key,"Tab"))return null;t.visible=!1}],compositionstart:t.handleComposition,compositionupdate:t.handleComposition,compositionend:t.handleComposition,input:[function(e){e.target.composing||(t.query=e.target.value)},t.debouncedQueryChange]}}):t._e()],1):t._e(),n("el-input",{ref:"reference",class:{"is-focus":t.visible},attrs:{type:"text",placeholder:t.currentPlaceholder,name:t.name,id:t.id,autocomplete:t.autoComplete||t.autocomplete,size:t.selectSize,disabled:t.selectDisabled,readonly:t.readonly,"validate-event":!1,tabindex:t.multiple&&t.filterable?"-1":null},on:{focus:t.handleFocus,blur:t.handleBlur},nativeOn:{keyup:function(e){return t.debouncedOnInputChange(e)},keydown:[function(e){if(!("button"in e)&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"]))return null;e.stopPropagation(),e.preventDefault(),t.navigateOptions("next")},function(e){if(!("button"in e)&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"]))return null;e.stopPropagation(),e.preventDefault(),t.navigateOptions("prev")},function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?(e.preventDefault(),t.selectOption(e)):null},function(e){if(!("button"in e)&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"]))return null;e.stopPropagation(),e.preventDefault(),t.visible=!1},function(e){if(!("button"in e)&&t._k(e.keyCode,"tab",9,e.key,"Tab"))return null;t.visible=!1}],paste:function(e){return t.debouncedOnInputChange(e)},mouseenter:function(e){t.inputHovering=!0},mouseleave:function(e){t.inputHovering=!1}},model:{value:t.selectedLabel,callback:function(e){t.selectedLabel=e},expression:"selectedLabel"}},[t.$slots.prefix?n("template",{slot:"prefix"},[t._t("prefix")],2):t._e(),n("template",{slot:"suffix"},[n("i",{directives:[{name:"show",rawName:"v-show",value:!t.showClose,expression:"!showClose"}],class:["el-select__caret","el-input__icon","el-icon-"+t.iconClass]}),t.showClose?n("i",{staticClass:"el-select__caret el-input__icon el-icon-circle-close",on:{click:t.handleClearClick}}):t._e()])],2),n("transition",{attrs:{name:"el-zoom-in-top"},on:{"before-enter":t.handleMenuEnter,"after-leave":t.doDestroy}},[n("el-select-menu",{directives:[{name:"show",rawName:"v-show",value:t.visible&&!1!==t.emptyText,expression:"visible && emptyText !== false"}],ref:"popper",attrs:{"append-to-body":t.popperAppendToBody}},[n("el-scrollbar",{directives:[{name:"show",rawName:"v-show",value:t.options.length>0&&!t.loading,expression:"options.length > 0 && !loading"}],ref:"scrollbar",class:{"is-empty":!t.allowCreate&&t.query&&0===t.filteredOptionsCount},attrs:{tag:"ul","wrap-class":"el-select-dropdown__wrap","view-class":"el-select-dropdown__list"}},[t.showNewOption?n("el-option",{attrs:{value:t.query,created:""}}):t._e(),t._t("default")],2),t.emptyText&&(!t.allowCreate||t.loading||t.allowCreate&&0===t.options.length)?[t.$slots.empty?t._t("empty"):n("p",{staticClass:"el-select-dropdown__empty"},[t._v("\n "+t._s(t.emptyText)+"\n ")])]:t._e()],2)],1)],1)};i._withStripped=!0;var r=n(4),o=n.n(r),a=n(22),s=n.n(a),l=n(6),c=n.n(l),u=n(10),h=n.n(u),d=function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"el-select-dropdown el-popper",class:[{"is-multiple":this.$parent.multiple},this.popperClass],style:{minWidth:this.minWidth}},[this._t("default")],2)};d._withStripped=!0;var f=n(5),p={name:"ElSelectDropdown",componentName:"ElSelectDropdown",mixins:[n.n(f).a],props:{placement:{default:"bottom-start"},boundariesPadding:{default:0},popperOptions:{default:function(){return{gpuAcceleration:!1}}},visibleArrow:{default:!0},appendToBody:{type:Boolean,default:!0}},data:function(){return{minWidth:""}},computed:{popperClass:function(){return this.$parent.popperClass}},watch:{"$parent.inputWidth":function(){this.minWidth=this.$parent.$el.getBoundingClientRect().width+"px"}},mounted:function(){var t=this;this.referenceElm=this.$parent.$refs.reference.$el,this.$parent.popperElm=this.popperElm=this.$el,this.$on("updatePopper",function(){t.$parent.visible&&t.updatePopper()}),this.$on("destroyPopper",this.destroyPopper)}},A=n(0),g=Object(A.a)(p,d,[],!1,null,null,null);g.options.__file="packages/select/src/select-dropdown.vue";var v=g.exports,m=n(33),y=n(37),b=n.n(y),_=n(14),w=n.n(_),x=n(17),C=n.n(x),S=n(12),B=n.n(S),k=n(16),T=n(31),O=n.n(T),E=n(3),I=n(21),M={mixins:[o.a,c.a,s()("reference"),{data:function(){return{hoverOption:-1}},computed:{optionsAllDisabled:function(){return this.options.filter(function(t){return t.visible}).every(function(t){return t.disabled})}},watch:{hoverIndex:function(t){var e=this;"number"==typeof t&&t>-1&&(this.hoverOption=this.options[t]||{}),this.options.forEach(function(t){t.hover=e.hoverOption===t})}},methods:{navigateOptions:function(t){var e=this;if(this.visible){if(0!==this.options.length&&0!==this.filteredOptionsCount&&!this.optionsAllDisabled){"next"===t?(this.hoverIndex++,this.hoverIndex===this.options.length&&(this.hoverIndex=0)):"prev"===t&&(this.hoverIndex--,this.hoverIndex<0&&(this.hoverIndex=this.options.length-1));var n=this.options[this.hoverIndex];!0!==n.disabled&&!0!==n.groupDisabled&&n.visible||this.navigateOptions(t),this.$nextTick(function(){return e.scrollToOption(e.hoverOption)})}}else this.visible=!0}}}],name:"ElSelect",componentName:"ElSelect",inject:{elForm:{default:""},elFormItem:{default:""}},provide:function(){return{select:this}},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},readonly:function(){return!this.filterable||this.multiple||!Object(E.isIE)()&&!Object(E.isEdge)()&&!this.visible},showClose:function(){var t=this.multiple?Array.isArray(this.value)&&this.value.length>0:void 0!==this.value&&null!==this.value&&""!==this.value;return this.clearable&&!this.selectDisabled&&this.inputHovering&&t},iconClass:function(){return this.remote&&this.filterable?"":this.visible?"arrow-up is-reverse":"arrow-up"},debounce:function(){return this.remote?300:0},emptyText:function(){return this.loading?this.loadingText||this.t("el.select.loading"):(!this.remote||""!==this.query||0!==this.options.length)&&(this.filterable&&this.query&&this.options.length>0&&0===this.filteredOptionsCount?this.noMatchText||this.t("el.select.noMatch"):0===this.options.length?this.noDataText||this.t("el.select.noData"):null)},showNewOption:function(){var t=this,e=this.options.filter(function(t){return!t.created}).some(function(e){return e.currentLabel===t.query});return this.filterable&&this.allowCreate&&""!==this.query&&!e},selectSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},selectDisabled:function(){return this.disabled||(this.elForm||{}).disabled},collapseTagSize:function(){return["small","mini"].indexOf(this.selectSize)>-1?"mini":"small"},propPlaceholder:function(){return void 0!==this.placeholder?this.placeholder:this.t("el.select.placeholder")}},components:{ElInput:h.a,ElSelectMenu:v,ElOption:m.a,ElTag:b.a,ElScrollbar:w.a},directives:{Clickoutside:B.a},props:{name:String,id:String,value:{required:!0},autocomplete:{type:String,default:"off"},autoComplete:{type:String,validator:function(t){return!0}},automaticDropdown:Boolean,size:String,disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:String,remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod:Function,multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String,required:!1},defaultFirstOption:Boolean,reserveKeyword:Boolean,valueKey:{type:String,default:"value"},collapseTags:Boolean,popperAppendToBody:{type:Boolean,default:!0}},data:function(){return{options:[],cachedOptions:[],createdLabel:null,createdSelected:!1,selected:this.multiple?[]:{},inputLength:20,inputWidth:0,initialInputHeight:0,cachedPlaceHolder:"",optionsCount:0,filteredOptionsCount:0,visible:!1,softFocus:!1,selectedLabel:"",hoverIndex:-1,query:"",previousQuery:null,inputHovering:!1,currentPlaceholder:"",menuVisibleOnFocus:!1,isOnComposition:!1,isSilentBlur:!1}},watch:{selectDisabled:function(){var t=this;this.$nextTick(function(){t.resetInputHeight()})},propPlaceholder:function(t){this.cachedPlaceHolder=this.currentPlaceholder=t},value:function(t,e){this.multiple&&(this.resetInputHeight(),t&&t.length>0||this.$refs.input&&""!==this.query?this.currentPlaceholder="":this.currentPlaceholder=this.cachedPlaceHolder,this.filterable&&!this.reserveKeyword&&(this.query="",this.handleQueryChange(this.query))),this.setSelected(),this.filterable&&!this.multiple&&(this.inputLength=20),Object(E.valueEquals)(t,e)||this.dispatch("ElFormItem","el.form.change",t)},visible:function(t){var e=this;t?(this.broadcast("ElSelectDropdown","updatePopper"),this.filterable&&(this.query=this.remote?"":this.selectedLabel,this.handleQueryChange(this.query),this.multiple?this.$refs.input.focus():(this.remote||(this.broadcast("ElOption","queryChange",""),this.broadcast("ElOptionGroup","queryChange")),this.selectedLabel&&(this.currentPlaceholder=this.selectedLabel,this.selectedLabel="")))):(this.broadcast("ElSelectDropdown","destroyPopper"),this.$refs.input&&this.$refs.input.blur(),this.query="",this.previousQuery=null,this.selectedLabel="",this.inputLength=20,this.menuVisibleOnFocus=!1,this.resetHoverIndex(),this.$nextTick(function(){e.$refs.input&&""===e.$refs.input.value&&0===e.selected.length&&(e.currentPlaceholder=e.cachedPlaceHolder)}),this.multiple||(this.selected&&(this.filterable&&this.allowCreate&&this.createdSelected&&this.createdLabel?this.selectedLabel=this.createdLabel:this.selectedLabel=this.selected.currentLabel,this.filterable&&(this.query=this.selectedLabel)),this.filterable&&(this.currentPlaceholder=this.cachedPlaceHolder))),this.$emit("visible-change",t)},options:function(){var t=this;if(!this.$isServer){this.$nextTick(function(){t.broadcast("ElSelectDropdown","updatePopper")}),this.multiple&&this.resetInputHeight();var e=this.$el.querySelectorAll("input");-1===[].indexOf.call(e,document.activeElement)&&this.setSelected(),this.defaultFirstOption&&(this.filterable||this.remote)&&this.filteredOptionsCount&&this.checkDefaultFirstOption()}}},methods:{handleComposition:function(t){var e=this,n=t.target.value;if("compositionend"===t.type)this.isOnComposition=!1,this.$nextTick(function(t){return e.handleQueryChange(n)});else{var i=n[n.length-1]||"";this.isOnComposition=!Object(I.isKorean)(i)}},handleQueryChange:function(t){var e=this;this.previousQuery===t||this.isOnComposition||(null!==this.previousQuery||"function"!=typeof this.filterMethod&&"function"!=typeof this.remoteMethod?(this.previousQuery=t,this.$nextTick(function(){e.visible&&e.broadcast("ElSelectDropdown","updatePopper")}),this.hoverIndex=-1,this.multiple&&this.filterable&&this.$nextTick(function(){var t=15*e.$refs.input.value.length+20;e.inputLength=e.collapseTags?Math.min(50,t):t,e.managePlaceholder(),e.resetInputHeight()}),this.remote&&"function"==typeof this.remoteMethod?(this.hoverIndex=-1,this.remoteMethod(t)):"function"==typeof this.filterMethod?(this.filterMethod(t),this.broadcast("ElOptionGroup","queryChange")):(this.filteredOptionsCount=this.optionsCount,this.broadcast("ElOption","queryChange",t),this.broadcast("ElOptionGroup","queryChange")),this.defaultFirstOption&&(this.filterable||this.remote)&&this.filteredOptionsCount&&this.checkDefaultFirstOption()):this.previousQuery=t)},scrollToOption:function(t){var e=Array.isArray(t)&&t[0]?t[0].$el:t.$el;if(this.$refs.popper&&e){var n=this.$refs.popper.$el.querySelector(".el-select-dropdown__wrap");O()(n,e)}this.$refs.scrollbar&&this.$refs.scrollbar.handleScroll()},handleMenuEnter:function(){var t=this;this.$nextTick(function(){return t.scrollToOption(t.selected)})},emitChange:function(t){Object(E.valueEquals)(this.value,t)||this.$emit("change",t)},getOption:function(t){for(var e=void 0,n="[object object]"===Object.prototype.toString.call(t).toLowerCase(),i="[object null]"===Object.prototype.toString.call(t).toLowerCase(),r="[object undefined]"===Object.prototype.toString.call(t).toLowerCase(),o=this.cachedOptions.length-1;o>=0;o--){var a=this.cachedOptions[o];if(n?Object(E.getValueByPath)(a.value,this.valueKey)===Object(E.getValueByPath)(t,this.valueKey):a.value===t){e=a;break}}if(e)return e;var s={value:t,currentLabel:n||i||r?"":t};return this.multiple&&(s.hitState=!1),s},setSelected:function(){var t=this;if(!this.multiple){var e=this.getOption(this.value);return e.created?(this.createdLabel=e.currentLabel,this.createdSelected=!0):this.createdSelected=!1,this.selectedLabel=e.currentLabel,this.selected=e,void(this.filterable&&(this.query=this.selectedLabel))}var n=[];Array.isArray(this.value)&&this.value.forEach(function(e){n.push(t.getOption(e))}),this.selected=n,this.$nextTick(function(){t.resetInputHeight()})},handleFocus:function(t){this.softFocus?this.softFocus=!1:((this.automaticDropdown||this.filterable)&&(this.visible=!0,this.filterable&&(this.menuVisibleOnFocus=!0)),this.$emit("focus",t))},blur:function(){this.visible=!1,this.$refs.reference.blur()},handleBlur:function(t){var e=this;setTimeout(function(){e.isSilentBlur?e.isSilentBlur=!1:e.$emit("blur",t)},50),this.softFocus=!1},handleClearClick:function(t){this.deleteSelected(t)},doDestroy:function(){this.$refs.popper&&this.$refs.popper.doDestroy()},handleClose:function(){this.visible=!1},toggleLastOptionHitState:function(t){if(Array.isArray(this.selected)){var e=this.selected[this.selected.length-1];if(e)return!0===t||!1===t?(e.hitState=t,t):(e.hitState=!e.hitState,e.hitState)}},deletePrevTag:function(t){if(t.target.value.length<=0&&!this.toggleLastOptionHitState()){var e=this.value.slice();e.pop(),this.$emit("input",e),this.emitChange(e)}},managePlaceholder:function(){""!==this.currentPlaceholder&&(this.currentPlaceholder=this.$refs.input.value?"":this.cachedPlaceHolder)},resetInputState:function(t){8!==t.keyCode&&this.toggleLastOptionHitState(!1),this.inputLength=15*this.$refs.input.value.length+20,this.resetInputHeight()},resetInputHeight:function(){var t=this;this.collapseTags&&!this.filterable||this.$nextTick(function(){if(t.$refs.reference){var e=t.$refs.reference.$el.childNodes,n=[].filter.call(e,function(t){return"INPUT"===t.tagName})[0],i=t.$refs.tags,r=t.initialInputHeight||40;n.style.height=0===t.selected.length?r+"px":Math.max(i?i.clientHeight+(i.clientHeight>r?6:0):0,r)+"px",t.visible&&!1!==t.emptyText&&t.broadcast("ElSelectDropdown","updatePopper")}})},resetHoverIndex:function(){var t=this;setTimeout(function(){t.multiple?t.selected.length>0?t.hoverIndex=Math.min.apply(null,t.selected.map(function(e){return t.options.indexOf(e)})):t.hoverIndex=-1:t.hoverIndex=t.options.indexOf(t.selected)},300)},handleOptionSelect:function(t,e){var n=this;if(this.multiple){var i=(this.value||[]).slice(),r=this.getValueIndex(i,t.value);r>-1?i.splice(r,1):(this.multipleLimit<=0||i.length<this.multipleLimit)&&i.push(t.value),this.$emit("input",i),this.emitChange(i),t.created&&(this.query="",this.handleQueryChange(""),this.inputLength=20),this.filterable&&this.$refs.input.focus()}else this.$emit("input",t.value),this.emitChange(t.value),this.visible=!1;this.isSilentBlur=e,this.setSoftFocus(),this.visible||this.$nextTick(function(){n.scrollToOption(t)})},setSoftFocus:function(){this.softFocus=!0;var t=this.$refs.input||this.$refs.reference;t&&t.focus()},getValueIndex:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments[1];if("[object object]"===Object.prototype.toString.call(e).toLowerCase()){var n=this.valueKey,i=-1;return t.some(function(t,r){return Object(E.getValueByPath)(t,n)===Object(E.getValueByPath)(e,n)&&(i=r,!0)}),i}return t.indexOf(e)},toggleMenu:function(){this.selectDisabled||(this.menuVisibleOnFocus?this.menuVisibleOnFocus=!1:this.visible=!this.visible,this.visible&&(this.$refs.input||this.$refs.reference).focus())},selectOption:function(){this.visible?this.options[this.hoverIndex]&&this.handleOptionSelect(this.options[this.hoverIndex]):this.toggleMenu()},deleteSelected:function(t){t.stopPropagation();var e=this.multiple?[]:"";this.$emit("input",e),this.emitChange(e),this.visible=!1,this.$emit("clear")},deleteTag:function(t,e){var n=this.selected.indexOf(e);if(n>-1&&!this.selectDisabled){var i=this.value.slice();i.splice(n,1),this.$emit("input",i),this.emitChange(i),this.$emit("remove-tag",e.value)}t.stopPropagation()},onInputChange:function(){this.filterable&&this.query!==this.selectedLabel&&(this.query=this.selectedLabel,this.handleQueryChange(this.query))},onOptionDestroy:function(t){t>-1&&(this.optionsCount--,this.filteredOptionsCount--,this.options.splice(t,1))},resetInputWidth:function(){this.inputWidth=this.$refs.reference.$el.getBoundingClientRect().width},handleResize:function(){this.resetInputWidth(),this.multiple&&this.resetInputHeight()},checkDefaultFirstOption:function(){this.hoverIndex=-1;for(var t=!1,e=this.options.length-1;e>=0;e--)if(this.options[e].created){t=!0,this.hoverIndex=e;break}if(!t)for(var n=0;n!==this.options.length;++n){var i=this.options[n];if(this.query){if(!i.disabled&&!i.groupDisabled&&i.visible){this.hoverIndex=n;break}}else if(i.itemSelected){this.hoverIndex=n;break}}},getValueKey:function(t){return"[object object]"!==Object.prototype.toString.call(t.value).toLowerCase()?t.value:Object(E.getValueByPath)(t.value,this.valueKey)}},created:function(){var t=this;this.cachedPlaceHolder=this.currentPlaceholder=this.propPlaceholder,this.multiple&&!Array.isArray(this.value)&&this.$emit("input",[]),!this.multiple&&Array.isArray(this.value)&&this.$emit("input",""),this.debouncedOnInputChange=C()(this.debounce,function(){t.onInputChange()}),this.debouncedQueryChange=C()(this.debounce,function(e){t.handleQueryChange(e.target.value)}),this.$on("handleOptionClick",this.handleOptionSelect),this.$on("setSelected",this.setSelected)},mounted:function(){var t=this;this.multiple&&Array.isArray(this.value)&&this.value.length>0&&(this.currentPlaceholder=""),Object(k.addResizeListener)(this.$el,this.handleResize);var e=this.$refs.reference;if(e&&e.$el){var n=e.$el.querySelector("input");this.initialInputHeight=n.getBoundingClientRect().height||{medium:36,small:32,mini:28}[this.selectSize]}this.remote&&this.multiple&&this.resetInputHeight(),this.$nextTick(function(){e&&e.$el&&(t.inputWidth=e.$el.getBoundingClientRect().width)}),this.setSelected()},beforeDestroy:function(){this.$el&&this.handleResize&&Object(k.removeResizeListener)(this.$el,this.handleResize)}},D=Object(A.a)(M,i,[],!1,null,null,null);D.options.__file="packages/select/src/select.vue";var L=D.exports;L.install=function(t){t.component(L.name,L)};e.default=L}})},e6n0:function(t,e,n){var i=n("evD5").f,r=n("D2L2"),o=n("dSzd")("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,o)&&i(t,o,{configurable:!0,value:e})}},e8AB:function(t,e,n){var i=n("FeBl"),r=n("7KvD"),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n("O4g8")?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},eH4C:function(t,e,n){var i;"undefined"!=typeof self&&self,i=function(t,e,n){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=3)}([function(t,e){t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n=function(t,e){var n=t[1]||"",i=t[3];if(!i)return n;if(e&&"function"==typeof btoa){var r=(a=i,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),o=i.sources.map(function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"});return[n].concat(o).concat([r]).join("\n")}var a;return[n].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var i={},r=0;r<this.length;r++){var o=this[r][0];"number"==typeof o&&(i[o]=!0)}for(r=0;r<t.length;r++){var a=t[r];"number"==typeof a[0]&&i[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}},function(t,e,n){var i="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var r=n(7),o={},a=i&&(document.head||document.getElementsByTagName("head")[0]),s=null,l=0,c=!1,u=function(){},h=null,d="data-vue-ssr-id",f="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function p(t){for(var e=0;e<t.length;e++){var n=t[e],i=o[n.id];if(i){i.refs++;for(var r=0;r<i.parts.length;r++)i.parts[r](n.parts[r]);for(;r<n.parts.length;r++)i.parts.push(g(n.parts[r]));i.parts.length>n.parts.length&&(i.parts.length=n.parts.length)}else{var a=[];for(r=0;r<n.parts.length;r++)a.push(g(n.parts[r]));o[n.id]={id:n.id,refs:1,parts:a}}}}function A(){var t=document.createElement("style");return t.type="text/css",a.appendChild(t),t}function g(t){var e,n,i=document.querySelector("style["+d+'~="'+t.id+'"]');if(i){if(c)return u;i.parentNode.removeChild(i)}if(f){var r=l++;i=s||(s=A()),e=y.bind(null,i,r,!1),n=y.bind(null,i,r,!0)}else i=A(),e=function(t,e){var n=e.css,i=e.media,r=e.sourceMap;i&&t.setAttribute("media",i);h.ssrId&&t.setAttribute(d,e.id);r&&(n+="\n/*# sourceURL="+r.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");if(t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}.bind(null,i),n=function(){i.parentNode.removeChild(i)};return e(t),function(i){if(i){if(i.css===t.css&&i.media===t.media&&i.sourceMap===t.sourceMap)return;e(t=i)}else n()}}t.exports=function(t,e,n,i){c=n,h=i||{};var a=r(t,e);return p(a),function(e){for(var n=[],i=0;i<a.length;i++){var s=a[i];(l=o[s.id]).refs--,n.push(l)}e?p(a=r(t,e)):a=[];for(i=0;i<n.length;i++){var l;if(0===(l=n[i]).refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete o[l.id]}}}};var v,m=(v=[],function(t,e){return v[t]=e,v.filter(Boolean).join("\n")});function y(t,e,n,i){var r=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=m(e,r);else{var o=document.createTextNode(r),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}},function(t,e){t.exports=function(t,e,n,i,r,o){var a,s=t=t||{},l=typeof t.default;"object"!==l&&"function"!==l||(a=t,s=t.default);var c,u="function"==typeof s?s.options:s;if(e&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns,u._compiled=!0),n&&(u.functional=!0),r&&(u._scopeId=r),o?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=c):i&&(c=i),c){var h=u.functional,d=h?u.render:u.beforeCreate;h?(u._injectStyles=c,u.render=function(t,e){return c.call(e),d(t,e)}):u.beforeCreate=d?[].concat(d,c):[c]}return{esModule:a,exports:s,options:u}}},function(t,e,n){t.exports=n(4)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});n(8);var i=n(9),r=n.n(i),o=n(10),a=n.n(o),s=n(11),l=n.n(s),c={getRectPoint:function(t,e,n,i,r,o,a,s){var l=t+r/2,c=e+o/2,u=n+a/2,h=i+s/2,d=l<u?1:-1,f=c<h?1:-1;if(h===c)return{x:l+d*r/2,y:c};var p=Math.abs((u-l)/(h-c)),A=0,g=0;return p<r/o?(A=d*o/2*p,g=f*o/2):(A=d*r/2,g=f*r/2/p),{x:l+A,y:c+g}},getRectPointBasic:function(t,e,n,i,r,o,a,s){var l=t+r/2,c=e+o/2,u=n+a/2,h=i+s/2,d=h===c?0:(u-l)/(h-c);0===d&&(d=(u-l)/(h-c+1));var f=r/s,p=0,A=0,g="1";return-1*f<d&&d<f?(g="2",c<h?(p=o/2*d,A=o/2):(p=-1*o/2*d,A=-1*o/2)):(l<u?(p=1*r/2,A=1*r/2/d):(p=-1*r/2,A=-1*r/2/d),g="3"),{x:l+p,y:c+A,_case:g}},getRectJoinPoint:function(t,e,n,i,r,o,a,s){var l=t+r/2,c=e+o/2,u=n+a/2,h=i+s/2,d=parseInt(180*Math.atan2(h-c,u-l)/3.14)+135;return d>=0&&d<90?{x:t+r/2,y:e-5}:d>=90&&d<180?{x:t+r+5,y:e+o/2}:d>=180&&d<270?{x:t+r/2,y:e+o+5}:{x:t-5,y:e+o/2}},getRectHJoinPoint:function(t,e,n,i,r,o,a){var s=o/2;return t+r<n?{x:t+r+5,y:e+s}:{x:t-5,y:e+s}},getRectVJoinPoint:function(t,e,n,i,r,o,a,s){var l=r/2;return e+o<i?{y:e+o+5,x:t+l}:{y:e-5,x:t+l}},getBorderPoint:function(t,e,n,i,r,o,a,s,l){return 0===l?this.getCirclePoint(t,e,n,i,r,o,a,s):this.getRectPoint(t,e,n,i,r,o,a,s)},getBorderPoint4MultiLine:function(t,e,n,i,r,o,a,s,l,c,u,h){return 0===l?this.getCirclePoint4MultiLine(t,e,n,i,r,o,a,s,c,u,h):this.getRectPoint(t,e,n,i,r,o,a,s)},getCirclePoint:function(t,e,n,i,r,o,a,s){var l=n+a/2,c=i+s/2,u=t+r/2,h=e+o/2,d=l-u;if(0===d)return{x:u,y:h-o/2*(c<h?1:-1)};var f=(c-h)/d,p=Math.sqrt(1/(1/Math.pow(r/2,2)+f**2/Math.pow(o/2,2)))*(l<u?1:-1);return{x:u-p,y:h-f*p}},getCirclePoint4MultiLine:function(t,e,n,i,r,o,a,s,l,c,u){l&&(u=c-u-1);var h=n+a/2,d=i+s/2,f=t+r/2,p=e+o/2,A=h-f;if(0===A)return{x:f,y:p-o/2*(d<p?1:-1)};var g=40/(c+1)*(u+1)-20,v=d-p,m=Math.sqrt(Math.pow(A,2)+Math.pow(v,2))*g/A,y=v/A,b=r/2,_=o/2,w=h<f?1:-1,x=(-1*b**2*y*m+b*_*Math.sqrt(_**2+y**2*b**2-m**2,2)/w)/(_**2+b**2*y**2);return{x:f-x,y:p-(y*x+m)}},getCirclePointBasic:function(t,e,n,i,r,o,a,s,l){var c=t+r/2,u=e+o/2,h=n+a/2,d=i+s/2;return this.h=h-c,this.s=d-u,this.c=Math.sqrt(this.h*this.h+this.s*this.s),this.l=this.c-l,this.v=this.l*this.h/this.c*-1,this.t=this.l*this.s/this.c*-1,{x:h+this.v,y:d+this.t}},getCirclePointPlus:function(t,e,n,i,r,o,a,s){var l=t+r/2,c=e+o/2,u=n+a/2,h=i+s/2;return this.h=u-l,this.s=h-c,this.c=Math.sqrt(this.h*this.h+this.s*this.s),this.v=(this.c-r/2)*this.h/this.c*-1,this.t=(this.c-o/2)*this.s/this.c*-1,{x:u+this.v,y:h+this.t}},getOvalPoint:function(t,e,n,i,r){return{x:t+n*Math.sin((0+i*(360/r)+0)*Math.PI/180),y:e+n*Math.cos((0+i*(360/r)+0)*Math.PI/180)*-1}},getAngleType:function(t,e){return t>=0&&e>=0?1:t<0&&e>=0?2:t<0&&e<0?3:t>=0&&e<0?4:void 0},getTextAngle:function(t,e,n,i){var r=180*Math.atan(Math.abs((i-e)/(n-t)))/Math.PI;return n>t&&i>e||(n>t&&i<e?r=-r:n<t&&i>e?r=180-r:r-=180),Math.abs(r)>90&&(r+=180),parseInt(r)},getTreePointFromTop:function(t,e,n,i,r,o){return t?{x:t-300+Math.max(600/((1===r?2:r)-1),80)*i,y:e+n}:{x:(o.canvas_width-o.node_width)/2,y:(o.canvas_height-o.node_height)/2-200}},getTreePointFromRight:function(t,e,n,i,r,o){return t?{x:t-n,y:e-200+Math.max(400/((1===r?2:r)-1),80)*i}:{x:(o.canvas_width-o.node_width)/2+300,y:(o.canvas_height-o.node_height)/2}},getTreePointFromBottom:function(t,e,n,i,r,o){return t?{x:t-300+Math.max(600/((1===r?2:r)-1),80)*i,y:e-n}:{x:(o.canvas_width-o.node_width)/2,y:(o.canvas_height-o.node_height)/2+200}},getTreePointFromLeft:function(t,e,n,i,r,o){return t?{x:t+n,y:e-200+Math.max(400/((1===r?2:r)-1),80)*i}:{x:(o.canvas_width-o.node_width)/2-300,y:(o.canvas_height-o.node_height)/2}},analysisNodes:function(t,e,n,i,r){e.length>i.max_length&&(i.max_length=e.length),n>i.max_deep&&(i.max_deep=n);var o={level:n,all_size:e.length,all_strength:0},a=[];e.forEach(e=>{e.lot||(e.lot={}),e.lot.eached=!0,e.lot.subling=o,e.lot.level=n,t.push(e)});var s=0;e.forEach(t=>{var e=0;if(t.targetNodes){let n=0;t.targetNodes.forEach(i=>{i.lot||(i.lot={eached:!1}),i.lot.eached||(c.isAllowShowNode(i)?(i.lot.eached=!0,i.lot.parent=t,i.lot.index_of_parent=n++,t.lot.childs.push(i),a.push(i),e++):t.lot.childs.push(i))})}t.lot.strength=e>0?e:1,o.all_strength+=t.lot.strength,t.lot.strength_plus=o.all_strength,t.lot.index_of_level=s,t.lot.childs_size=e,s++}),o.all_strength>i.max_strength&&(i.max_strength=o.all_strength),a.length>0?this.analysisNodes(t,a,n+1,i,r):(t.forEach(t=>{t.lot.childs_size>0&&(t.lot.strengthWithChilds=0)}),t.forEach(t=>{0===t.lot.childs_size&&(t.lot.strengthWithChilds=1,this.conductStrengthToParents(t))}),this.analysisDataTree([t[0]],0))},analysisNodes4Didirectional:function(t,e,n,i,r){e.length>i.max_length&&(i.max_length=e.length),n>i.max_deep&&(i.max_deep=n);var o={level:n,all_size:e.length,all_strength:0},a=[];e.forEach(e=>{e.lot||(e.lot={}),e.lot.eached=!0,e.lot.subling=o,e.lot.level=n,t.push(e)});var s=0;e.forEach(t=>{var e=0;if(0===r){let n=0;t.targetNodes.forEach(i=>{i.lot||(i.lot={eached:!1}),i.lot.eached||(c.isAllowShowNode(i)?(i.lot.eached=!0,i.lot.parent=t,i.lot.index_of_parent=n++,t.lot.childs.push(i),a.push(i),e++):t.lot.childs.push(i))})}else if(-1===r){let n=0;t.targetFrom.forEach(i=>{i.lot||(i.lot={eached:!1}),i.lot.eached||(c.isAllowShowNode(i)?(i.lot.eached=!0,i.lot.parent=t,i.lot.index_of_parent=n++,t.lot.childs.push(i),a.push(i),e++):t.lot.childs.push(i))})}else{let n=0;t.targetTo.forEach(i=>{i.lot||(i.lot={eached:!1}),i.lot.eached||(c.isAllowShowNode(i)?(i.lot.eached=!0,i.lot.parent=t,i.lot.index_of_parent=n++,t.lot.childs.push(i),a.push(i),e++):t.lot.childs.push(i))})}t.lot.strength=e>0?e:1,o.all_strength+=t.lot.strength,t.lot.strength_plus=o.all_strength,t.lot.index_of_level=s,t.lot.childs_size=e,s++}),o.all_strength>i.max_strength&&(i.max_strength=o.all_strength),a.length>0?c.analysisNodes4Didirectional(t,a,n+(-1===r?-1:1),i,r):(t.forEach(t=>{t.lot.childs_size>0&&(t.lot.strengthWithChilds=0)}),t.forEach(t=>{0===t.lot.childs_size&&(t.lot.strengthWithChilds=1,c.conductStrengthToParents(t))}),c.analysisDataTree([t[0]],0,r))},conductStrengthToParents(t){t.lot.parent&&(t.lot.parent.lot.strengthWithChilds+=1,this.conductStrengthToParents(t.lot.parent))},analysisDataTree:function(t,e,n){void 0===n&&(n=1);var i=[],r=0;t.forEach(t=>{0!==t.lot.level&&n!==(t.lot.level<0?-1:1)||(t.lot.childs_size>0&&t.lot.childs.forEach(t=>{i.push(t)}),t.lot.parent&&r<t.lot.parent.lot.strengthWithChilds_from&&(r=t.lot.parent.lot.strengthWithChilds_from),t.lot.strengthWithChilds_from=r,r+=t.lot.strengthWithChilds)}),i.length>0&&this.analysisDataTree(i,e+n,n)},isAllowShowNode:function(t){return!1!==t.isShow&&!0!==t.isHide&&(!t.lot.parent||!0===this.isAllowShowNode(t.lot.parent,!1))}},u=c;var h=function(t,e){this.graphSetting=e,this.config=t||{},console.log("new SeeksBidirectionalTreeLayouter:",this.config),this.config.from||(this.config.from="left"),this.config.levelDistance&&"string"==typeof this.config.levelDistance&&(this.config.levelDistanceArr=this.config.levelDistance.split(",").map(t=>parseInt(t))),this.rootNode=null,this.allNodes=[],this.__origin_nodes=[],this.refresh=function(){console.log("SeeksBidirectionalTreeLayouter:refresh:nodes:",this.__origin_nodes.length),this.placeNodes(this.__origin_nodes,this.rootNode)},this.analysisNodes4Didirectional=function(t,e,n,i,r){e.length>i.max_length&&(i.max_length=e.length),n>i.max_deep&&(i.max_deep=n);var o={level:n,all_size:e.length,all_strength:0},a=[];e.forEach(e=>{e.lot||(e.lot={}),e.lot.eached=!0,e.lot.subling=o,e.lot.level=n,t.push(e)});var s=0;e.forEach(t=>{var e=0;if(-1===r){let n=0;t.targetFrom.forEach(i=>{i.lot||(i.lot={eached:!1}),i.lot.eached||(u.isAllowShowNode(i)?(i.lot.eached=!0,i.lot.parent=t,i.lot.index_of_parent=n++,t.lot.childs.push(i),a.push(i),e++):t.lot.childs.push(i))})}else{let n=0;t.targetTo.forEach(i=>{i.lot||(i.lot={eached:!1}),i.lot.eached||(u.isAllowShowNode(i)?(i.lot.eached=!0,i.lot.parent=t,i.lot.index_of_parent=n++,t.lot.childs.push(i),a.push(i),e++):t.lot.childs.push(i))})}t.lot.strength=e>0?e:1,o.all_strength+=t.lot.strength,t.lot.strength_plus=o.all_strength,t.lot.index_of_level=s,t.lot.childs_size=e,s++}),o.all_strength>i.max_strength&&(i.max_strength=o.all_strength),a.length>0?this.analysisNodes4Didirectional(t,a,n+r,i,r):(t.forEach(t=>{t.lot.childs_size>0&&(t.lot.strengthWithChilds=0)}),t.forEach(t=>{0===t.lot.childs_size&&(t.lot.strengthWithChilds=1,u.conductStrengthToParents(t))}),u.analysisDataTree([t[0]],0,r))},this.placeNodes=function(t,e){if(console.log("SeeksBidirectionalTreeLayouter:placeNodes"),e){console.log("layout by root:",e),this.__origin_nodes=t,this.rootNode=e,t.forEach(t=>{t.lot.eached=!1,t.lot.notLeafNode=!1,t.lot.childs=[],t.lot.index_of_parent=0,t.lot.strength=0,t.lot.strengthWithChilds_from=0,t.lot.strengthWithChilds=0,t.lot.prevNode=void 0,t.lot.nextNode=void 0,t.lot.placed=!1}),this.allNodes=[];var n={max_deep:1,max_length:1,max_strength:1};this.analysisNodes4Didirectional(this.allNodes,[this.rootNode],0,n,-1),this.placeNodesPosition(this.rootNode,this.allNodes,n),this.allNodes=[],n={max_deep:1,max_length:1,max_strength:1},this.analysisNodes4Didirectional(this.allNodes,[this.rootNode],0,n,1),this.placeNodesPosition(this.rootNode,this.allNodes,n)}else console.error("root is null")},this.placeNodesPosition=function(t,e,n){var i=this.graphSetting.viewSize.width,r=this.graphSetting.viewSize.height,o=t.offset_x||0,a=t.offset_y||0;if(!0!==t.fixed){var s=parseInt(this.config.centerOffset_x)||0,l=parseInt(this.config.centerOffset_y)||0;"top"===this.config.from?(t.lot.x=(i-t.el.offsetWidth)/2+s,t.lot.y=parseInt(.3*r-t.el.offsetHeight)+l):"bottom"===this.config.from?(t.lot.x=(i-t.el.offsetWidth)/2+s,t.lot.y=parseInt(.7*r-t.el.offsetHeight)+l):"right"===this.config.from?(t.lot.x=parseInt(.7*i-t.el.offsetWidth)/2+s,t.lot.y=parseInt(r/2-t.el.offsetHeight/2)+l):(t.lot.x=parseInt(.3*i-t.el.offsetWidth)/2+s,t.lot.y=parseInt(r/2-t.el.offsetHeight/2)+l),console.log("设置根节点位置:",t.text,t.x,t.y,this.graphSetting.canvasSize.width,this.graphSetting.canvasSize.height,this.graphSetting.canvasOffset.x,this.graphSetting.canvasOffset.y),t.x=t.lot.x+o,t.y=t.lot.y+a}else console.log("固定位置的rootNode:",t.text,t.x,t.y),void 0===t.origin_x&&(t.origin_x=t.x,t.origin_y=t.y),t.lot.x=t.origin_x,t.lot.y=t.origin_y,t.x=t.lot.x+o,t.y=t.lot.y+a,console.log("固定位置的rootNode:",t.text,t.x,t.y);t.lot.placed=!0;var c={__mapWidth:i,__mapHeight:r};this.placeRelativePosition(t,n,c),e.forEach(t=>{if(!0!==t.fixed){if(u.isAllowShowNode(t)){var e=t.offset_x||0,n=t.offset_y||0;t.x=t.offset_x+t.lot.x+e,t.y=t.offset_y+t.lot.y+n,t.lot.placed=!0}}else t.lot.placed=!0})},this.placeRelativePosition=function(t,e,n){if("left"===this.config.from||"right"===this.config.from){const i=this.config.min_per_height||80,r=this.config.max_per_height||400,o=this.config.min_per_width||430,a=this.config.max_per_width||650;let s=parseInt((n.__mapWidth-10)/(e.max_deep+2));s<o&&(s=o),s>a&&(s=a);let l=parseInt(n.__mapHeight/(e.max_strength+1));l<i&&(l=i),l>r&&(l=r),this.allNodes.forEach(e=>{!0!==e.fixed&&!0!==e.lot.placed&&e!==t&&("right"===this.config.from?e.lot.x=t.lot.x-this.getLevelDistance(e,e.lot.subling.level,s):e.lot.x=t.lot.x+this.getLevelDistance(e,e.lot.subling.level,s))}),this.allNodes.forEach(n=>{!0!==n.fixed&&0!==n.lot.level&&(n.lot.y=t.lot.y+l*(e.max_strength/-2+n.lot.strengthWithChilds_from+n.lot.strengthWithChilds/2))})}else{const o=this.config.min_per_height||250,a=this.config.max_per_height||400,s=this.config.min_per_width||250,l=this.config.max_per_width||500;var i=parseInt((n.__mapWidth-10)/(e.max_strength+2));i<s&&(i=s),i>l&&(i=l);var r=parseInt((n.__mapHeight-10)/(e.max_deep+2));r<o&&(r=o),r>a&&(r=a),this.allNodes.forEach(e=>{!0!==e.fixed&&!0!==e.lot.placed&&e!==t&&("bottom"===this.config.from?e.lot.y=t.lot.y-this.getLevelDistance(e,e.lot.subling.level,r):e.lot.y=t.lot.y+this.getLevelDistance(e,e.lot.subling.level,r))}),this.allNodes.forEach(n=>{!0!==n.fixed&&0!==n.lot.level&&(n.lot.x=-58+t.lot.x+i*(e.max_strength/-2+n.lot.strengthWithChilds_from+n.lot.strengthWithChilds/2))})}},this.getLevelDistance=function(t,e,n){if(this.config.levelDistanceArr&&this.config.levelDistanceArr.length>0){var i=0;for(let t=0;t<e;t++)i+=this.config.levelDistanceArr[t]||100;return i}return e*n}};var d=function(t,e){this.graphSetting=e,this.config=t||{},this.rootNode=null,this.allNodes=[],this.__origin_nodes=[],this.refresh=function(){window.SeeksGraphDebug&&console.log("SeeksCenterLayouter:refresh"),this.placeNodes(this.__origin_nodes,this.rootNode)},this.placeNodes=function(t,e){if(window.SeeksGraphDebug&&console.log("SeeksCenterLayouter:placeNodes"),e){window.SeeksGraphDebug&&console.log("layout by root:",e),this.__origin_nodes=t,this.rootNode=e,t.forEach(t=>{t.lot.eached=!1,t.lot.notLeafNode=!1,t.lot.childs=[],t.lot.index_of_parent=0,t.lot.strength=0,t.lot.prevNode=void 0,t.lot.nextNode=void 0,t.lot.placed=!1}),this.allNodes=[];var n={max_deep:1,max_length:1};u.analysisNodes4Didirectional(this.allNodes,[this.rootNode],0,n,0),window.SeeksGraphDebug&&console.log("调整画布大小");var i=this.graphSetting.viewSize.width,r=this.graphSetting.viewSize.height;e.lot.x=parseInt((i-e.el.offsetWidth)/2),e.lot.y=parseInt((r-e.el.offsetHeight)/2),this.placeRelativePosition(this.rootNode,n),this.allNodes.forEach(t=>{if(!0!==t.fixed&&u.isAllowShowNode(t)){var e=t.offset_x||0,n=t.offset_y||0;t.x=t.lot.x+e,t.y=t.lot.y+n,t.lot.placed=!0}}),console.log("Start Auto Layout.....")}else console.log("root is null:",e)},this.placeRelativePosition=function(t,e){var n=void 0===this.config.distance_coefficient?1:this.config.distance_coefficient,i=parseInt((this.graphSetting.viewSize.height+this.graphSetting.viewSize.width)/e.max_deep*.2)*n;window.SeeksGraphDebug&&console.log("analyticResult:",e,i,this.config.distance_coefficient),i<150*n&&(i=150*n);var r=0;this.allNodes.forEach(e=>{if(1===e.lot.subling.level){(r=parseInt(50*e.lot.subling.all_size/Math.PI/2))<i&&(r=i);const n=u.getOvalPoint(t.lot.x,t.lot.y,e.lot.subling.level*r,e.lot.strength_plus-e.lot.strength/2,e.lot.subling.all_strength);e.lot.x=n.x,e.lot.y=n.y}});var o=parseInt(300*n);this.allNodes.forEach(e=>{if(e.lot.subling.level>1){var n=e.lot.parent.lot.strength_plus-e.lot.parent.lot.strength,i=(e.lot.parent.lot.strength_plus-n)/(e.lot.parent.lot.childs_size+1)*(e.lot.index_of_parent+1);const a=u.getOvalPoint(t.lot.x,t.lot.y,(e.lot.subling.level-1)*o+r,n+i,e.lot.parent.lot.subling.all_strength);e.lot.x=a.x,e.lot.y=a.y}})},this.layoutTimes=0,this.autoLayout=function(t){if(t&&(this.layoutTimes=0),console.log("this.layoutTimes:",this.layoutTimes),this.layoutTimes>300)this.graphSetting.autoLayouting=!1;else{this.layoutTimes++,this.__origin_nodes.forEach(t=>{t.Fx=0,t.Fy=0});for(const t in this.__origin_nodes){var e=this.__origin_nodes[t];if(!0===e.lot.placed)for(var n in this.__origin_nodes){var i=this.__origin_nodes[n];!0===i.lot.placed&&t!==n&&this.addGravityByNode(e,i)}}for(const t in this.__origin_nodes)this.__origin_nodes[t].lot.parent&&this.addElasticByLine(this.__origin_nodes[t].lot.parent,this.__origin_nodes[t]);for(const t in this.__origin_nodes)this.applyToNodePosition(this.__origin_nodes[t]);window.setTimeout(function(){this.autoLayout()}.bind(this),30)}},this.stop=function(){this.layoutTimes=1e3},this.addElasticByLine=function(t,e){var n=Math.sqrt(Math.pow(t.y-e.y,2)+Math.pow(t.x-e.x,2));n>1e3&&(n=1e3);var i=n<30?0:.05*(n-30),r=i,o=i,a=(t.x-e.x)/n,s=(t.y-e.y)/n;this.addFtoNode(t,a*r*-1,s*r*-1,1),this.addFtoNode(e,a*o,s*o,1)},this.addGravityByNode=function(t,e){var n=Math.sqrt(Math.pow(t.y-e.y,2)+Math.pow(t.x-e.x,2)),i=n>300?0:.03*(300-n),r=(t.x-e.x)/n,o=(t.y-e.y)/n;this.addFtoNode(t,r*i,o*i,0),this.addFtoNode(e,r*i*-1,o*i*-1,0)},this.getNodeFWeight=function(t){var e=t.lot.level;return e>7&&(e=7),e<0&&(e=0),(8-e)/8},this.addFtoNode=function(t,e,n){isNaN(e)||isNaN(n)||(e/=t.lot.strength,n/=t.lot.strength,e>50&&(e=50),n>50&&(n=50),e<-50&&(e=-50),n<-50&&(n=-50),t.Fx+=e,t.Fy+=n)},this.applyToNodePosition=function(t){const e=parseInt(t.Fx),n=parseInt(t.Fy);t.x=t.x+e,t.y=t.y+n,t.Fx=0,t.Fy=0}};var f=function(t,e){this.setting=e,this.config=t||{},this.__max_deep=1,this.__max_length=1,this.checkMaxDeepAndLength=function(t,e){t.length>this.__max_length&&(this.__max_length=t.length),e>this.__max_deep&&(this.__max_deep=e);var n={level:e,all_size:t.length,all_strength:0},i=[];t.forEach(t=>{t.lot||(t.lot={}),t.lot.eached=!0,t.lot.subling=n,this.allNodes.push(t)});var r,o=0;t.forEach(t=>{var e=0;t.targetNodes&&(t.targetNodes.forEach(n=>{console.log("child node::",n.type,n.lot.eached),n.lot||(n.lot={eached:!1}),"node"===n.type&&n.targetNodes.length<=1?n.lot.eached||(n.lot.parent=t,n.lot.index_of_p_childs=e,n.lot.prevNode=r,r&&(r.lot.nextNode=n),r=n,t.lot.childs.push(n),t.lot.eached=!0,i.push(n),e++):n.lot.notLeafNode=!0}),t.targetNodes.forEach(n=>{n.lot.notLeafNode&&(n.lot||(n.lot={eached:!1}),n.lot.eached||(n.lot.parent=t,n.lot.index_of_p_childs=e,n.lot.prevNode=r,r&&(r.lot.nextNode=n),r=n,t.lot.childs.push(n),t.lot.eached=!0,i.push(n),e++))})),t.lot.strength=e>0?e:1,n.all_strength+=t.lot.strength,t.lot.strength_plus=n.all_strength,t.lot.level_index=o,t.lot.childs_size=e,o++}),i.length>0&&this.checkMaxDeepAndLength(i,e+1)},this.rootNode=null,this.allNodes=[],this.__origin_nodes=[],this.refresh=function(){this.placeNodes(this.__origin_nodes,this.rootNode)},this.placeNodes=function(t,e){if(e){console.log("layout by root:",e),this.__origin_nodes=t,this.rootNode=e,t.forEach(t=>{t.lot.eached=!1,t.lot.notLeafNode=!1,t.lot.childs=[],t.lot.parent=void 0,t.lot.index_of_p_childs=0,t.lot.strength=0,t.lot.prevNode=void 0,t.lot.nextNode=void 0}),this.allNodes=[],console.log("max before:",this.__max_deep,this.__max_length),this.checkMaxDeepAndLength([this.rootNode],0),console.log("max after:",this.__max_deep,this.__max_length),this.setting.canvasSize.width=4e3,this.setting.canvasSize.height=4e3,this.setting.heightByContent&&(console.log("根据数据调整视窗高度"),this.setting.viewSize.height=1600),this.setting.resetViewSize(this.setting);var n=this.setting.viewSize.width,i=this.setting.viewSize.height,r=this.setting.canvasOffset.x,o=this.setting.canvasOffset.y,a={x:n/2-r,y:i/2-o};a.y>800-o&&(a.y=800-o);var s=this.allNodes.length,l=90*s/Math.PI/2;l<200&&(l=200),l>800&&(l=800),this.allNodes.forEach((t,e)=>{const n=u.getOvalPoint(a.x,a.y,l,e,s);t.x=n.x,t.y=n.y}),console.log("Start Auto Layout.....")}else console.log("root is null:",e)},this.adjustLevel2Y=function(t){for(let o=0;o<this.allNodes.length;o++){var e=this.allNodes[o];if(1===e.lot.subling.level&&0===e.lot.childs_size){var n=parseInt(t/(e.lot.subling.all_size+1));n>70&&(n=70),console.log(n,t,e.lot.subling.all_size,e.lot.subling.all_strength,e.lot.strength);for(let t=0;t<this.allNodes.length;t++){var i=this.allNodes[t];if(1===i.lot.subling.level&&i!==e){var r=Math.abs(e.y-i.y);if(r<n-2){console.log("__y_diff",e.name,i.name,r),e.y=i.y+n,o--;break}}}}}},this.layoutTimes=0,this.autoLayout=function(t){if(t&&(this.layoutTimes=0),console.log("this.layoutTimes:",this.layoutTimes),this.layoutTimes>300)e.autoLayouting=!1;else{this.layoutTimes++,this.allNodes.forEach(t=>{t.Fx=0,t.Fy=0});for(const t in this.allNodes)for(var n in this.allNodes)t!==n&&this.addGravityByNode(this.allNodes[t],this.allNodes[n]);for(const t in this.allNodes)this.allNodes[t].lot.parent&&this.addElasticByLine(this.allNodes[t].lot.parent,this.allNodes[t]);for(const t in this.allNodes)this.applyToNodePosition(this.allNodes[t]);window.setTimeout(function(){this.autoLayout()}.bind(this),30)}},this.stop=function(){this.layoutTimes=1e3},this.addElasticByLine=function(t,e){var n=Math.sqrt(Math.pow(t.y-e.y,2)+Math.pow(t.x-e.x,2)),i=n<30?0:.01*(n-30);this.addFtoNode(t,(t.x-e.x)*i*-1,(t.y-e.y)*i*-1),this.addFtoNode(e,(e.x-t.x)*i*-1,(e.y-t.y)*i*-1)},this.addGravityByNode=function(t,e){var n=Math.sqrt(Math.pow(t.y-e.y,2)+Math.pow(t.x-e.x,2)),i=n>300?0:.02*(300-n),r=t.x-e.x,o=t.y-e.y;0===r&&(r=1),0===o&&(o=1),this.addFtoNode(t,r*i,o*i),this.addFtoNode(e,-1*r*i,-1*o*i)},this.addFtoNode=function(t,e,n){t.Fx+=e,t.Fy+=n},this.applyToNodePosition=function(t){if(this.rootNode===t)return;t.Fx>1e3&&(t.Fx=3e3),t.Fy>1e3&&(t.Fy=3e3),t.Fx<-1e3&&(t.Fx=-3e3),t.Fy<-1e3&&(t.Fy=-3e3);const e=parseInt(.02*t.Fx),n=parseInt(.02*t.Fy);t.x=t.x+e,t.y=t.y+n,t.Fx=0,t.Fy=0}};var p=function(t,e){this.graphSetting=e,this.config=t||{},this.rootNode=null,this.allNodes=[],this.__origin_nodes=[],this.refresh=function(){this.placeNodes(this.__origin_nodes,this.rootNode)},this.placeNodes=function(t,e){if(e){window.SeeksGraphDebug&&console.log("layout by root:",e),this.__origin_nodes=t,this.rootNode=e,t.forEach(t=>{t.lot.eached=!1,t.lot.notLeafNode=!1,t.lot.childs=[],t.lot.index_of_parent=0,t.lot.strength=0,t.lot.prevNode=void 0,t.lot.nextNode=void 0,t.lot.placed=!1}),this.allNodes=[],u.analysisNodes4Didirectional(this.allNodes,[this.rootNode],0,{max_deep:1,max_length:1},0),window.SeeksGraphDebug&&console.log("调整画布大小");var n=this.graphSetting.viewSize.width,i=this.graphSetting.viewSize.height;e.lot.x=parseInt((n-e.el.offsetWidth)/2),e.lot.y=parseInt((i-e.el.offsetHeight)/2),window.SeeksGraphDebug&&console.log("[layout canvasOffset]",this.graphSetting.viewSize,this.graphSetting.canvasSize),this.placeRelativePosition(this.rootNode),this.allNodes.forEach(t=>{!0!==t.fixed&&u.isAllowShowNode(t)&&(t.x=t.lot.x,t.y=t.lot.y,t.lot.placed=!0)}),window.SeeksGraphDebug&&console.log("Start Auto Layout....."),this.autoLayout(!0)}else console.log("root is null:",e)},this.placeRelativePosition=function(t){var e=80;this.allNodes.forEach(n=>{if(1===n.lot.subling.level){(e=20*n.lot.subling.all_size/Math.PI/2)<80&&(e=80);const i=u.getOvalPoint(t.lot.x,t.lot.y,n.lot.subling.level*e,n.lot.strength_plus-n.lot.strength/2,n.lot.subling.all_strength);n.lot.x=i.x,n.lot.y=i.y}}),this.allNodes.forEach(n=>{if(n.lot.subling.level>1){var i=n.lot.parent.lot.strength_plus-n.lot.parent.lot.strength,r=(n.lot.parent.lot.strength_plus-i)/(n.lot.parent.lot.childs_size+1)*(n.lot.index_of_parent+1);const o=u.getOvalPoint(t.lot.x,t.lot.y,80*(n.lot.subling.level-1)+e,i+r,n.lot.parent.lot.subling.all_strength);n.lot.x=o.x,n.lot.y=o.y}})},this.layoutTimes=0,this.autoLayout=function(t){if(t&&(this.layoutTimes=0),window.SeeksGraphDebug&&console.log("this.layoutTimes:",this.layoutTimes),this.layoutTimes>300)this.graphSetting.autoLayouting=!1;else{this.layoutTimes++,this.__origin_nodes.forEach(t=>{t.Fx=0,t.Fy=0});for(const t in this.__origin_nodes){var e=this.__origin_nodes[t];if(!0===e.lot.placed)for(var n in this.__origin_nodes){var i=this.__origin_nodes[n];!0===i.lot.placed&&t!==n&&this.addGravityByNode(e,i)}}for(const t in this.__origin_nodes)this.__origin_nodes[t].lot.parent&&this.addElasticByLine(this.__origin_nodes[t].lot.parent,this.__origin_nodes[t]);for(const t in this.__origin_nodes)this.applyToNodePosition(this.__origin_nodes[t]);window.setTimeout(function(){this.autoLayout()}.bind(this),30)}},this.stop=function(){this.layoutTimes=1e3},this.addElasticByLine=function(t,e){var n=Math.sqrt(Math.pow(t.y-e.y,2)+Math.pow(t.x-e.x,2));n>1e3&&(n=1e3);var i=n<30?0:.05*(n-30),r=i,o=i,a=(t.x-e.x)/n,s=(t.y-e.y)/n;this.addFtoNode(t,a*r*-1,s*r*-1,1),this.addFtoNode(e,a*o,s*o,1)},this.addGravityByNode=function(t,e){var n=Math.sqrt(Math.pow(t.y-e.y,2)+Math.pow(t.x-e.x,2)),i=n>300?0:.03*(300-n),r=(t.x-e.x)/n,o=(t.y-e.y)/n;this.addFtoNode(t,r*i,o*i,0),this.addFtoNode(e,r*i*-1,o*i*-1,0)},this.getNodeFWeight=function(t){var e=t.lot.level;return e>7&&(e=7),e<0&&(e=0),(8-e)/8},this.addFtoNode=function(t,e,n){isNaN(e)||isNaN(n)||(e/=t.lot.strength,n/=t.lot.strength,e>50&&(e=50),n>50&&(n=50),e<-50&&(e=-50),n<-50&&(n=-50),t.Fx+=e,t.Fy+=n)},this.applyToNodePosition=function(t){const e=parseInt(t.Fx),n=parseInt(t.Fy);t.x=t.x+e,t.y=t.y+n,t.Fx=0,t.Fy=0}};var A,g=function(t,e){this.graphSetting=e,this.config=t||{},this.rootNode=null,this.allNodes=[],this.__origin_nodes=[],this.refresh=function(){this.placeNodes(this.__origin_nodes,this.rootNode)},this.placeNodes=function(t,e){e?(window.SeeksGraphDebug&&console.log("layout by root:",e),this.__origin_nodes=t,this.rootNode=e,t.forEach(t=>{t.lot.eached=!1,t.lot.notLeafNode=!1,t.lot.childs=[],t.lot.index_of_parent=0,t.lot.strength=0,t.lot.prevNode=void 0,t.lot.nextNode=void 0,t.lot.placed=!1}),this.allNodes=[],u.analysisNodes4Didirectional(this.allNodes,[this.rootNode],0,{max_deep:1,max_length:1},0),window.SeeksGraphDebug&&console.log("[layout canvasOffset]",this.graphSetting.viewSize,this.graphSetting.canvasSize)):console.log("root is null:",e)}},v={createLayout(t,e){e.canvasZoom=100,e.layoutClassName=t.layoutClassName,e.layoutLabel=t.label,e.layoutName=t.layoutName,e.layoutDirection=t.layoutDirection,!0===t.useLayoutStyleOptions&&(e.defaultExpandHolderPosition=t.defaultExpandHolderPosition,e.defaultJunctionPoint=t.defaultJunctionPoint,e.defaultNodeColor=t.defaultNodeColor,e.defaultNodeFontColor=t.defaultNodeFontColor,e.defaultNodeBorderColor=t.defaultNodeBorderColor,e.defaultNodeBorderWidth=t.defaultNodeBorderWidth,e.defaultLineColor=t.defaultLineColor,e.defaultLineWidth=t.defaultLineWidth,e.defaultLineShape=t.defaultLineShape,e.defaultNodeShape=t.defaultNodeShape,e.defaultNodeWidth=t.defaultNodeWidth,e.defaultNodeHeight=t.defaultNodeHeight,e.defaultLineMarker=t.defaultLineMarker,e.defaultShowLineLabel=t.defaultShowLineLabel);var n=null;return"SeeksBidirectionalTreeLayouter"===t.layoutName||"tree"===t.layoutName?n=new h(t,e):"SeeksCenterLayouter"===t.layoutName||"center"===t.layoutName?n=new d(t,e):"SeeksCircleLayouter"===t.layoutName||"circle"===t.layoutName?n=new f(t,e):"SeeksAutoLayouter"===t.layoutName||"force"===t.layoutName?n=new p(t,e):"SeeksFixedLayouter"!==t.layoutName&&"fixed"!==t.layoutName||(n=new g(t,e)),e.isNeedShowAutoLayoutButton=!1!==t.allowAutoLayoutIfSupport&&void 0!==n.autoLayout,n},switchLayout(t,e){const n=e.layouter?e.layouter.__origin_nodes:[],i=e.layouter?e.layouter.rootNode:null;if("string"==typeof t)for(var r in e.layouts)if(r.label===t){t=r;break}e.layouter=v.createLayout(t,e),e.layouter.__origin_nodes=n,e.layouter.rootNode=i}},m=v,y={x:0,y:0},b={x:0,y:0},_={x:0,y:0},w={startDrag(t,e,n){A=n,b=e,_.x=b.x,_.y=b.y,y.x=parseInt(b.x)-t.clientX,y.y=parseInt(b.y)-t.clientY,document.body.addEventListener("mousemove",w.onNodeMove),document.body.addEventListener("mouseup",w.onNodeDragend)},onNodeMove(t){b.x=t.clientX+y.x,b.y=t.clientY+y.y},onNodeDragend(){document.body.removeEventListener("mousemove",w.onNodeMove),document.body.removeEventListener("mouseup",w.onNodeDragend),A&&A(b.x-_.x,b.y-_.y)},transName4Circle(t){for(var e=0,n=[],i=[],r=0;r<t.length;r++)n.push(t[r]),n.length===S[e]&&(i.push(n.join("")),e++,n=[]);return n.length>0&&i.push(n.join("")),i.join("<br>")},getColorId:t=>t=(t=(t=(t=t.replace("#","")).replace("(","")).replace(")","")).replace(/,/,"-"),json2Node:function(t){if(void 0===t.id)throw Error("node must has option[id]:",t);t.text=t.text||t.name||t.id;var e={id:t.id,text:void 0!==t.text?t.text:"",type:void 0!==t.type?t.type:"node",isShow:void 0===t.isShow||t.isShow,isHide:void 0!==t.isHide&&t.isHide,expanded:void 0===t.expanded||t.expanded,selected:void 0!==t.selected&&t.selected,styleClass:void 0!==t.styleClass?t.styleClass:"",targetNodes:void 0!==t.targetNodes?t.targetNodes:[],targetFrom:void 0!==t.targetFrom?t.targetFrom:[],targetTo:void 0!==t.targetTo?t.targetTo:[],nodeShape:void 0!==t.nodeShape?t.nodeShape:void 0,borderWidth:void 0!==t.borderWidth?t.borderWidth:void 0,borderColor:void 0!==t.borderColor?t.borderColor:void 0,fontColor:void 0!==t.fontColor?t.fontColor:void 0,color:void 0!==t.color?t.color:void 0,opacity:void 0!==t.opacity?t.opacity:1,fixed:void 0!==t.fixed&&t.fixed,width:void 0!==t.width?t.width:void 0,height:void 0!==t.height?t.height:void 0,x:void 0!==t.x?t.x:0,y:void 0!==t.y?t.y:0,Fx:void 0!==t.Fx?t.Fx:0,Fy:void 0!==t.Fy?t.Fy:0,offset_x:void 0!==t.offset_x?t.offset_x:0,offset_y:void 0!==t.offset_y?t.offset_y:0,expandHolderPosition:void 0!==t.expandHolderPosition?t.expandHolderPosition:void 0,innerHTML:void 0!==t.innerHTML?t.innerHTML:void 0,html:void 0!==t.html?t.html:void 0,disableDefaultClickEffect:void 0!==t.disableDefaultClickEffect?t.disableDefaultClickEffect:void 0,disableDrag:void 0!==t.disableDrag&&t.disableDrag,data:void 0!==t.data?t.data:{}};return void 0===e.lot&&(e.lot={childs:[],parent:void 0,eached:!1,strength:0}),void 0===e.lot.childs&&(e.lot.childs=[]),void 0===e.lot.parent&&(e.lot.parent=void 0),void 0===e.lot.eached&&(e.lot.eached=!1),void 0===e.lot.strength&&(e.lot.strength=0),void 0===e.el&&(e.el={offsetWidth:50,offsetHeight:50}),void 0!==e.width&&(e.el.offsetWidth=e.width),void 0!==e.height&&(e.el.offsetHeight=e.height),e},json2Link:function(t){if(void 0===t.from)throw Error("error,link must has option[from]:",t);if(void 0===t.to)throw Error("error,link must has option[to]:",t);if("string"!=typeof t.from)throw Error("error link from, must be string:",t);if("string"!=typeof t.to)throw Error("error link to, must be string:",t);return{text:void 0!==t.text?t.text:"",color:void 0!==t.color?t.color:void 0,fontColor:void 0!==t.fontColor?t.fontColor:void 0,lineWidth:void 0!==t.lineWidth?t.lineWidth:void 0,lineShape:void 0!==t.lineShape?t.lineShape:void 0,styleClass:void 0!==t.styleClass?t.styleClass:void 0,isHide:void 0!==t.isHide&&t.isHide,arrow:void 0!==t.arrow?t.arrow:void 0,isHideArrow:void 0!==t.isHideArrow?t.isHideArrow:void 0,hidden:void 0!==t.hidden&&t.hidden,lineDirection:void 0!==t.lineDirection?t.lineDirection:void 0,reverseText:void 0!==t.reverseText?t.reverseText:void 0,data:void 0!==t.data?t.data:{}}},getPosition:function(t){return t.parentElement?w.getPosition(t.parentElement)+t.offsetTop:t.offsetTop}},x=["Fx","Fy","appended","el","targetFrom","targetNodes","targetTo","type","lot","seeks_id"];w.transNodeToJson=function(t,e){if(t){var n={};Object.keys(t).forEach(e=>{-1===x.indexOf(e)&&void 0!==t[e]&&(n[e]=t[e])}),e.push(n)}};var C=["arrow","id","reverseText","isReverse"];w.transLineToJson=function(t,e){t&&t.relations.forEach(t=>{var n={};Object.keys(t).forEach(e=>{-1===C.indexOf(e)&&void 0!==t[e]&&(n[e]=t[e])}),e.push(n)})};var S=[4,5,6,4,2,100],B=w;const k={createDefaultConfig(t){var e={instanceId:"SeeksGraph",debug:!0,allowShowSettingPanel:!1,backgrounImage:"",disableZoom:!1,disableDragNode:!1,moveToCenterWhenResize:!0,defaultFocusRootNode:!0,allowShowZoomMenu:!0,backgrounImageNoRepeat:!1,allowShowMiniToolBar:!0,allowShowMiniView:!1,allowShowMiniNameFilter:!0,fullscreen:!1,allowSwitchLineShape:!1,allowSwitchJunctionPoint:!1,isMoveByParentNode:!1,checkedNodeId:"",checkedLineId:"",layouts:[],layoutLabel:"",layoutName:"tree",layoutClassName:"",layoutDirection:"h",defaultExpandHolderPosition:"hide",autoLayouting:!1,layouter:void 0,allowAutoLayoutIfSupport:!0,isNeedShowAutoLayoutButton:!1,canvasZoom:100,defaultNodeColor:"#67C23A",defaultNodeFontColor:"#ffffff",defaultNodeBorderColor:"#90EE90",defaultNodeBorderWidth:5,defaultLineColor:"#dddddd",defaultLineWidth:1,defaultLineShape:1,defaultNodeShape:0,defaultNodeWidth:void 0,defaultNodeHeight:void 0,defaultShowLineLabel:!0,showSingleNode:!0,showNodeLabel:!0,showNodeShortLabel:!0,hideNodeContentByZoom:!1,defaultJunctionPoint:"border",viewSize:{width:300,height:300},viewELSize:{width:1300,height:800,left:0,top:100},viewNVInfo:{width:1300,height:800,x:0,y:100},canvasNVInfo:{width:1300,height:800,x:0,y:100},defaultLineMarker:{markerWidth:12,markerHeight:12,refX:6,refY:6,color:void 0,data:"M2,2 L10,6 L2,10 L6,6 L2,2"},canvasSize:{width:2e3,height:2e3},canvasOffset:{x:25,y:27,zoom_buff_x:0,zoom_buff_y:0},resetViewSize:t=>{t.canvasOffset.x=t.viewNVInfo.width/2-100,t.canvasOffset.y=t.viewNVInfo.height/2-100}},n=!0===t.debug;return n&&console.log("user instance graphSetting:",t),window&&(window.SeeksGraphDebug=n),t&&Object.keys(t).forEach(n=>{var i=t[n];if("object"==typeof i){window.SeeksGraphDebug&&console.log("user setting object:",n,i);var r=e[n];if(r)if(r&&!Array.isArray(r)&&i)Object.keys(r).forEach(t=>{window.SeeksGraphDebug&&console.log(" user setting:",n+"."+t,i[t]),r[t]=i[t]});else if(Array.isArray(r)){window.SeeksGraphDebug&&console.log(" user setting array:",n,"size:",i.length);var o=[];i.forEach(t=>{window.SeeksGraphDebug&&console.log(" user setting array:",n,"push:",t),t&&"object"==typeof t?o.push(JSON.parse(JSON.stringify(t))):o.push(t)}),e[n]=o}else window.SeeksGraphDebug&&console.log("user setting value:",n),e[n]=i;else console.log("ignore option:",n)}else window.SeeksGraphDebug&&console.log("user setting:",n,i),e[n]=i}),e.layouts&&0!==e.layouts.length||(e.layouts=[{label:"中心",layoutName:"center",layoutDirection:"v",defaultExpandHolderPosition:"hide",defaultNodeShape:0,defaultLineShape:1,defaultJunctionPoint:"border"}]),Array.isArray(e.layouts)||(e.layouts=[e.layouts]),e.layouts.forEach(t=>{k.appendDefaultOptions4Layout(t)}),e},appendDefaultOptions4Layout(t){void 0===t.useLayoutStyleOptions&&(t.useLayoutStyleOptions=!1),void 0===t.defaultNodeColor&&(t.defaultNodeColor="#FFC5A6"),void 0===t.defaultNodeFontColor&&(t.defaultNodeFontColor="#000000"),void 0===t.defaultNodeBorderColor&&(t.defaultNodeBorderColor="#efefef"),void 0===t.defaultNodeBorderWidth&&(t.defaultNodeBorderWidth=1),void 0===t.defaultLineColor&&(t.defaultLineColor="#FD8B37"),void 0===t.defaultLineWidth&&(t.defaultLineWidth=1),void 0===t.defaultNodeWidth&&(t.defaultNodeWidth=void 0),void 0===t.defaultNodeHeight&&(t.defaultNodeHeight=void 0),void 0===t.defaultShowLineLabel&&(t.defaultShowLineLabel=!0),void 0===t.defaultExpandHolderPosition&&(t.defaultExpandHolderPosition=void 0),void 0===t.defaultJunctionPoint&&(t.defaultJunctionPoint=void 0),void 0===t.defaultLineMarker&&(t.defaultLineMarker={markerWidth:12,markerHeight:12,refX:6,refY:6,color:void 0,data:"M2,2 L10,6 L2,10 L6,6 L2,2"}),"SeeksCenterLayouter"===t.layoutName||"center"===t.layoutName?(void 0===t.label&&(t.label="中心"),void 0===t.layoutClassName&&(t.layoutClassName="seeks-layout-"+t.layoutName),void 0===t.defaultNodeShape&&(t.defaultNodeShape=0),void 0===t.defaultLineShape&&(t.defaultLineShape=1),void 0===t.defaultExpandHolderPosition&&(t.defaultExpandHolderPosition="hide"),void 0===t.defaultJunctionPoint&&(t.defaultJunctionPoint="border"),void 0===t.layoutDirection&&(t.layoutDirection="h"),void 0===t.centerOffset_x&&(t.centerOffset_x=0),void 0===t.centerOffset_y&&(t.centerOffset_y=0),void 0===t.levelDistance&&(t.levelDistance=""),void 0===t.min_per_width&&(t.min_per_width=30),void 0===t.max_per_width&&(t.max_per_width=200),void 0===t.min_per_height&&(t.min_per_height=100),void 0===t.max_per_height&&(t.max_per_height=500)):"SeeksBidirectionalTreeLayouter"!==t.layoutName&&"tree"!==t.layoutName||(void 0===t.label&&(t.label="树状"),void 0===t.layoutClassName&&(t.layoutClassName="seeks-layout-"+t.layoutName),void 0===t.defaultNodeShape&&(t.defaultNodeShape=1),void 0===t.defaultLineShape&&(t.defaultLineShape=2),void 0===t.defaultExpandHolderPosition&&(t.defaultExpandHolderPosition="hide"),void 0===t.defaultJunctionPoint&&(t.defaultJunctionPoint="ltrb"),void 0===t.layoutDirection&&(t.layoutDirection="h"),void 0===t.centerOffset_x&&(t.centerOffset_x=0),void 0===t.centerOffset_y&&(t.centerOffset_y=0),void 0===t.from&&(t.from="top"),void 0===t.levelDistance&&(t.levelDistance=""),void 0===t.min_per_width&&(t.min_per_width=30),void 0===t.max_per_width&&(t.max_per_width=200),void 0===t.min_per_height&&(t.min_per_height=100),void 0===t.max_per_height&&(t.max_per_height=500),"top"!==t.from&&"bottom"!==t.from||(t.layoutDirection="v"))},createNewStore:t=>(window.SeeksGraphDebug&&console.log("Create new GraphSetting:"),new function(t){this.graphSetting=t,this.resetViewSize=function(){this.graphSetting.canvasOffset.x=0,this.graphSetting.canvasOffset.y=0},this.getOptions=function(){var t={},e=["layouter","autoLayouting","canvasNVInfo","canvasOffset","canvasZoom","fullscreen","instanceId","layoutClassName","layoutDirection","layoutLabel","layoutName","resetViewSize","viewELSize","viewNVInfo","viewSize","canvasSize"];return Object.keys(this.graphSetting).forEach(n=>{-1===e.indexOf(n)&&(t[n]=this.graphSetting[n])}),t},console.log("relation-graph instance full option:",this.getOptions())}(k.createDefaultConfig(t)))};var T=k,O={name:"SeeksRGNode",components:{},props:{graphSetting:{mustUseProp:!0,default:()=>({}),type:Object},nodeProps:{mustUseProp:!0,default:()=>({}),type:Object},onNodeClick:{mustUseProp:!1,default:()=>()=>{},type:Function}},data:()=>({hovering:!1,borderColor:"",dragging:!1}),computed:{expandButtonClass(){return!1===this.nodeProps.expanded?"c-expanded":"c-collapsed"}},watch:{},created(){},mounted(){this.refreshNodeProperties()},beforeDestroy(){this.$refs.seeksRGNode.remove()},methods:{refreshNodeProperties(){this.nodeProps.el=this.$refs.seeksRGNode},getNodeName(){if(this.hovering)return this.nodeProps.text;if(void 0===this.nodeProps.width&&0!==this.nodeProps.nodeShape)return this.nodeProps.text;var t=this.nodeProps.el.offsetWidth,e=this.nodeProps.el.offsetHeight,n=parseInt((t-20)/20),i=parseInt((e-20)/20);if(-1===n||-1===i)return this.nodeProps.text;for(var r=n*i*2,o=[],a=0,s=0;s<this.nodeProps.text.length;s++){var l=this.nodeProps.text[s],c=l.charCodeAt(0),u=1;if((c<0||c>255)&&(u=2),a+u>r)return o.join("")+"...";a+=u,o.push(l)}return o.join("")},expandOrCollapseNode(t){!1===this.nodeProps.expanded?(this.nodeProps.expanded=!0,this.nodeProps.lot.childs.forEach(t=>{t.isShow=!0}),this.$parent.onNodeExpandEvent(this.nodeProps,t)):(this.nodeProps.expanded=!1,this.nodeProps.lot.childs.forEach(t=>{t.isShow=!1}),this.$parent.onNodeCollapseEvent(this.nodeProps,t))},onDragStart(t){this.graphSetting.disableDragNode||this.nodeProps.disableDrag||(this.dragging=!0,this.hovering=!1,B.startDrag(t,this.nodeProps,this.onNodeDraged))},onNodeDraged(t,e){this.graphSetting.isMoveByParentNode&&this.nodeProps.lot.childs.forEach(n=>{n.x+=t,n.y+=e}),Math.abs(t)+Math.abs(e)>6?setTimeout(function(){window.SeeksGraphDebug&&console.log("delay end dragging",this.dragging),this.dragging=!1}.bind(this),100):this.dragging=!1},onMouseHover(){this.dragging||(this.hovering=!0)},onMouseOut(){this.hovering=!1},onclick(t){this.dragging||(this.nodeProps.disableDefaultClickEffect||(this.graphSetting.checkedNodeId=this.nodeProps.id),this.onNodeClick&&this.onNodeClick(this.nodeProps,t))},getLightColor(t){if("#"===t[0]){var e=t.substring(1);3===e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]);var n=[parseInt(e[0]+""+e[1],16),parseInt(e[2]+""+e[3],16),parseInt(e[4]+""+e[5],16)];window.SeeksGraphDebug&&console.log("getLightColor1:",t,":",n.join(",")),t="rgb("+n.join(",")+")"}var i=t.substring(t.indexOf("(")+1),r=(i=i.substring(0,i.indexOf(")"))).split(",");if(r.length>=3){var o=[parseInt(.9*parseInt(r[0])),parseInt(.9*parseInt(r[1])),parseInt(.9*parseInt(r[2]))];return window.SeeksGraphDebug&&console.log("getLightColor2:",t,":",o.join(",")),this.borderColor="rgb("+o.join(",")+", 0.3)",this.borderColor}return this.borderColor=t,t},isAllowShowNode(t){return!1!==t.isShow&&!0!==t.isHide&&(!t.lot.parent||!0===this.isAllowShowNode(t.lot.parent,!1))}}},E=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.isAllowShowNode(t.nodeProps),expression:"isAllowShowNode(nodeProps)"}],ref:"seeksRGNode",staticClass:"rel-node-peel",style:{left:t.nodeProps.x+"px",top:t.nodeProps.y+"px",opacity:t.nodeProps.opacity>1?t.nodeProps.opacity/100:t.nodeProps.opacity},on:{mousedown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"left",37,e.key,["Left","ArrowLeft"])?null:"button"in e&&0!==e.button?null:(e.stopPropagation(),t.onDragStart(e))},mouseover:function(e){return e.stopPropagation(),t.onMouseHover(e)},mouseout:function(e){return e.stopPropagation(),t.onMouseOut(e)},click:function(e){return e.stopPropagation(),t.onclick(e)}}},[t.nodeProps.expandHolderPosition&&"hide"!==t.nodeProps.expandHolderPosition||t.graphSetting.defaultExpandHolderPosition&&"hide"!==t.graphSetting.defaultExpandHolderPosition&&t.nodeProps.lot.childs&&t.nodeProps.lot.childs.length>0?n("div",{staticClass:"c-btn-open-close",class:["c-expand-positon-"+(t.nodeProps.expandHolderPosition||t.graphSetting.defaultExpandHolderPosition)]},[n("span",{class:t.expandButtonClass,style:{"background-color":t.nodeProps.color||t.graphSetting.defaultNodeColor},on:{click:function(e){return e.stopPropagation(),t.expandOrCollapseNode(e)}}})]):t._e(),t._v(" "),t.nodeProps.html?n("div",{domProps:{innerHTML:t._s(t.nodeProps.html)}}):n("div",{staticClass:"rel-node",class:["rel-node-shape-"+(void 0===t.nodeProps.nodeShape?t.graphSetting.defaultNodeShape:t.nodeProps.nodeShape),"rel-node-type-"+t.nodeProps.type,t.nodeProps.id===t.graphSetting.checkedNodeId?"rel-node-checked":"",t.nodeProps.selected?"rel-node-selected":"",t.nodeProps.styleClass,t.hovering?"rel-node-hover":"",t.nodeProps.innerHTML?"rel-diy-node":""],style:{"background-color":void 0===t.nodeProps.color?t.graphSetting.defaultNodeColor:t.nodeProps.color,color:void 0===t.nodeProps.fontColor?t.graphSetting.defaultNodeFontColor:t.nodeProps.fontColor,border:(t.nodeProps.borderColor||t.graphSetting.defaultNodeBorderColor)+" solid "+(t.nodeProps.borderWidth||t.graphSetting.defaultNodeBorderWidth)+"px",width:(t.nodeProps.width||t.graphSetting.defaultNodeWidth)+"px",height:(t.nodeProps.height||t.graphSetting.defaultNodeHeight)+"px"}},[!0===t.graphSetting.hideNodeContentByZoom&&t.graphSetting.canvasZoom<40?t._e():[t._t("node",[t.nodeProps.innerHTML?n("div",{domProps:{innerHTML:t._s(t.nodeProps.innerHTML)}}):n("div",{staticClass:"c-node-text",style:{color:t.nodeProps.fontColor||t.graphSetting.defaultNodeFontColor}},[n("span",{domProps:{innerHTML:t._s(t.getNodeName())}})])],{node:t.nodeProps})]],2)])};E._withStripped=!0;var I={render:E,staticRenderFns:[]},M=I;var D=!1;var L=n(2)(O,M,!1,function(t){D||n(12)},null,null);L.options.__file="src/core4vue/SeeksRGNode.vue";var F=L.exports;const P="border",N="ltrb",j="tb",U="lr";var R={name:"SeeksRGLink",props:{graphSetting:{mustUseProp:!0,default:()=>({}),type:Object},lineProps:{mustUseProp:!0,default:()=>({}),type:Object},onLineClick:{mustUseProp:!1,default:()=>()=>{},type:Function}},data:()=>({is_flashing:!1}),show(){this.isShow=!0},watch:{},mounted(){},methods:{getTextTransform(t,e,n,i){if(!e||!n)return"translate(0,0)";var r=void 0===t.lineShape?this.graphSetting.defaultLineShape:t.lineShape;return 1===r||4===r?"translate("+e+","+n+")rotate("+(i||0)+")":"translate("+e+","+n+")"},getArrow(t,e,n){return t?"none":"url('#"+this.$parent.getLineArrow(n)+"')"},createLinePath(t,e,n,i){n||(n=0);var r=void 0===i.lineShape?this.graphSetting.defaultLineShape:i.lineShape,o=void 0===i.lineDirection?this.graphSetting.layoutDirection:i.lineDirection,a=t.x,s=t.y,l=e.x,c=e.y;if(isNaN(a)||isNaN(s))return console.error("error start node:",t),i.textPositon.x=50,i.textPositon.y=50,i.textPositon.rotate=0,"M 0 0 L 100 100";if(isNaN(l)||isNaN(c))return console.error("error start point:",t),i.textPositon.x=50,i.textPositon.y=50,i.textPositon.rotate=0,"M 0 0 L 100 100";var h=t.el.offsetWidth||t.width||t.w,d=t.el.offsetHeight||t.height||t.h;if(isNaN(h)||isNaN(d))return i.textPositon.x=50,i.textPositon.y=50,i.textPositon.rotate=0,"M 0 0 L 100 100";var f=e.el.offsetWidth||e.width||e.w,p=e.el.offsetHeight||e.height||e.h;if(isNaN(f)||isNaN(p))return i.textPositon.x=50,i.textPositon.y=50,i.textPositon.rotate=0,"M 0 0 L 100 100";i.isReverse&&([a,s,l,c,h,d,f,p]=[l,c,a,s,f,p,h,d]);var A,g,v=[a,s,l,c,h,d,f,p,this.graphSetting.defaultNodeShape,i.isReverse,this.lineProps.relations.length,n],m=[l,c,a,s,f,p,h,d,this.graphSetting.defaultNodeShape,!i.isReverse,this.lineProps.relations.length,n],y=this.graphSetting.defaultJunctionPoint;y||(y=P),y===P?(A=u.getBorderPoint4MultiLine(...v),g=u.getBorderPoint4MultiLine(...m)):y===N?(A=u.getRectJoinPoint(...v),g=u.getRectJoinPoint(...m)):y===j?(A=u.getRectVJoinPoint(...v),g=u.getRectVJoinPoint(...m)):y===U&&(A=u.getRectHJoinPoint(...v),g=u.getRectHJoinPoint(...m));var b=A.x,_=A.y,w=g.x,x=g.y;if(isNaN(b)||isNaN(_))return console.error("error start point:",t),i.textPositon.x=50,i.textPositon.y=50,i.textPositon.rotate=0,"M 0 0 L 100 100";if(isNaN(w)||isNaN(x))return console.error("error end point:",e),i.textPositon.x=50,i.textPositon.y=50,i.textPositon.rotate=0,"M 0 0 L 100 100";var C=g.x-A.x,S=g.y-A.y,B=g.x>A.x?1:-1;"v"===o&&(B=g.y>A.y?1:-1);var k="";if(4===r){const t=60/(this.lineProps.relations.length+1)*(n+1)-30;"v"===o?(S-=33*B+t,i.textPositon.x=b+C+5,i.textPositon.y=_+40*B+t,i.textPositon.rotate=90,k="M "+b+" "+_+" v"+(33*B+t)+" h"+(C+t)+" v"+S):!0===i.reverseText?(i.textPositon.x=b+10*B-(B<0?30:0),i.textPositon.y=_-5,k="M "+b+" "+_+" h"+120*B+" v"+S+" h"+(C-=120*B)):(i.textPositon.x=b+50*B-(B<0?30:0),i.textPositon.y=_+S-5+t,k="M "+b+" "+_+" h"+(33*B+t)+" v"+(S+=B*t)+" h"+(C-=33*B+t))}else if(2===r){const t=g.y>A.y?1:-1,e=Math.abs(C)+Math.abs(S);i.textPositon.x=parseInt(g.x-C/e*60-20),i.textPositon.y=parseInt(g.y-S/e*60-20*t);const r=1/(this.lineProps.relations.length+1)*(n+1)-.5+.5;k="v"===o?"M"+b+","+_+" c0,"+30*B+" "+C*r+","+-10*B+" "+C+","+S:"M"+b+","+_+" c"+30*B+",0 "+-10*B+","+S*r+" "+C+","+S}else if(6===r){const t=g.y>A.y?1:-1,e=Math.abs(C)+Math.abs(S);i.textPositon.x=parseInt(g.x-C/e*60-20),i.textPositon.y=parseInt(g.y-S/e*60-20*t),k="v"===o?"M"+b+","+_+" c0,"+S/2+" "+C+","+S/2+" "+C+","+S:"M"+b+","+_+" c"+C/2+",0 "+C/2+","+S+" "+C+","+S}else if(3===r){i.textPositon.x=g.x-63*B,i.textPositon.y=g.y+3;const t=1/(this.lineProps.relations.length+1)*(n+1)-.5+.5;k="v"===o?"M"+b+","+_+" c0,"+S*t+" 0,0 "+C+","+S:"M"+b+","+_+" c"+30*B+",0 "+-10*B+","+S*t+" "+C+","+S}else if(5===r){i.textPositon.x=g.x-63*B,i.textPositon.y=g.y+3;const t=1/(this.lineProps.relations.length+1)*(n+1)-.5+.5;k="v"===o?"M"+b+","+_+" c0,0 0,"+S*t+" "+C+","+S:"M"+b+","+_+" c0,0 "+C*t+",0 "+C+","+S}else{var T=u.getAngleType(C,S);i.textPositon.rotate=u.getTextAngle(b,_,w,x);var O=2===T||4===T?-1:1,E=(0===S?-50:10*Math.sin(Math.atan(C/S))/Math.sin(90))*O,I=0===C?-50:10*Math.sin(Math.atan(S/C))/Math.sin(90);i.textPositon.x=parseInt(A.x+C/2-E),i.textPositon.y=parseInt(A.y+S/2-I),isNaN(i.textPositon.rotate)&&(i.textPositon.rotate=0,console.log("NaN rotate:",i)),k="M "+b+" "+_+" L "+w+" "+x}return k},onClick(t){this.graphSetting.checkedLineId=this.lineProps.seeks_id,this.lineProps.fromNode.selected=!0,this.lineProps.toNode.selected=!0,setTimeout(function(){this.lineProps.fromNode.selected=!1,this.lineProps.toNode.selected=!1}.bind(this),2e3),this.onLineClick&&this.onLineClick(this.lineProps,t)},isAllowShowNode:function(t){return!1!==t.isShow&&!0!==t.isHide&&(!t.lot.parent||!0===this.isAllowShowNode(t.lot.parent,!1))},flash(){}}},Q=function(){var t=this,e=t.$createElement,n=t._self._c||e;return!0!==t.lineProps.isHide&&t.isAllowShowNode(t.lineProps.fromNode)&&t.isAllowShowNode(t.lineProps.toNode)?n("g",{ref:"seeksRGLink",attrs:{transform:"translate(0,0)"}},[t._l(t.lineProps.relations,function(e,i){return[!1===e.isHide?n("g",{key:"l-"+e.id},[n("path",{staticClass:"c-rg-line",class:[e.styleClass,t.graphSetting.checkedLineId==t.lineProps.seeks_id?"c-rg-line-checked":""],style:{"stroke-width":(e.lineWidth?e.lineWidth:t.graphSetting.defaultLineWidth)+"px"},attrs:{d:t.createLinePath(t.lineProps.fromNode,t.lineProps.toNode,i,e),stroke:e.color?e.color:t.graphSetting.defaultLineColor,"marker-end":t.getArrow(e.isHideArrow,e.arrow,e.color),fill:"none"},on:{click:function(e){return t.onClick(e)}}}),t._v(" "),t.graphSetting.defaultShowLineLabel&&t.graphSetting.canvasZoom>40?n("g",{attrs:{transform:t.getTextTransform(e,e.textPositon.x,e.textPositon.y,e.textPositon.rotate)}},[n("text",{key:"t-"+e.id,staticClass:"c-rg-link-text",style:{fill:e.fontColor?e.fontColor:e.color?e.color:void 0},attrs:{x:0,y:0},on:{click:function(e){return t.onClick(e)}}},[t._v("\n "+t._s(e.text)+"\n ")])]):t._e()]):t._e()]})],2):t._e()};Q._withStripped=!0;var H={render:Q,staticRenderFns:[]},V=H;var z=!1;var $=n(2)(R,V,!1,function(t){z||n(14)},null,null);$.options.__file="src/core4vue/SeeksRGLink.vue";var G=$.exports,W={name:"GraphSettingPanel",props:{graphSetting:{mustUseProp:!0,default:()=>({}),type:Object}},data:()=>({search_text:"",showSettingPanel:!1,currentLayoutName:""}),methods:{toggleSettingPanel(){this.showSettingPanel=!this.showSettingPanel},toggleAutoLayout(){this.graphSetting.autoLayouting?this.graphSetting.layouter.autoLayout?this.graphSetting.layouter.autoLayout(!0):console.log("当前布局不支持自动布局!"):this.graphSetting.layouter.stop?this.graphSetting.layouter.stop():console.log("当前布局不支持自动布局stop!")},switchLayout(){window.SeeksGraphDebug&&console.log("change layout:",this.currentLayoutName),m.switchLayout(this.currentLayoutName,this.graphSetting),this.refresh()},refresh(){this.$parent.refresh()}}},K=function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("div",{staticClass:"c-setting-panel-button",class:[this.$parent.isNeedFixedTools?"c-fixedLayout":""],on:{click:this.toggleSettingPanel}},[e("i",{staticClass:"el-icon-setting"})]),this._v(" "),this.showSettingPanel?e("div",{staticClass:"c-setting-panel",class:[this.$parent.isNeedFixedTools?"c-fixedLayout":""]}):this._e()])};K._withStripped=!0;var Y={render:K,staticRenderFns:[]},X=Y;var q=!1;var Z=n(2)(W,X,!1,function(t){q||n(16)},"data-v-337fb259",null);Z.options.__file="src/GraphSettingPanel.vue";var J=Z.exports,tt={name:"GraphMiniView",props:{graphSetting:{mustUseProp:!0,default:()=>({}),type:Object}},data:()=>({zoom:1}),mounted(){},methods:{getPositionData(){var t=100/this.graphSetting.canvasNVInfo.width,e=this.graphSetting.viewNVInfo.width*t,n=this.graphSetting.viewNVInfo.height*t,i=(this.graphSetting.viewNVInfo.x-this.graphSetting.canvasNVInfo.x)*t,r=(this.graphSetting.viewNVInfo.y-this.graphSetting.canvasNVInfo.y)*t;return e>100?(n=100*n/e,i=100*i/e,r=100*r/e,this.zoom=100/e,e=100):this.zoom=1,{width:e+"px",height:n+"px","margin-left":i+"px","margin-top":r+"px"}},isAllowShowNode:t=>u.isAllowShowNode(t)}},et=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"miniView",staticClass:"c-mini-graph"},[n("div",{staticClass:"c-mini-canvas",style:{width:100*t.zoom+"px",height:100*t.graphSetting.canvasNVInfo.height/t.graphSetting.canvasNVInfo.width*t.zoom+"px"}},[t._l(t.$parent.nodeViewList,function(e){return[t.isAllowShowNode(e)?n("div",{key:e.id,staticClass:"c-mini-node",style:{"margin-left":100*e.x/t.graphSetting.canvasSize.width*t.zoom+"px","margin-top":100*e.y/t.graphSetting.canvasSize.width*t.zoom+"px"}}):t._e()]})],2),t._v(" "),n("div",{staticClass:"c-mini-view",style:t.getPositionData()},[n("i",{staticClass:"el-icon-view"})])])};et._withStripped=!0;var nt={render:et,staticRenderFns:[]},it=nt;var rt=!1;var ot=n(2)(tt,it,!1,function(t){rt||n(18)},"data-v-fe70423e",null);ot.options.__file="src/GraphMiniView.vue";var at=ot.exports,st={name:"GraphMiniToolBar",props:{graphSetting:{mustUseProp:!0,default:()=>({}),type:Object}},data:()=>({height:275,hits:0,downloadPanelWidth:106}),mounted(){null!==this.$parent.onDownloadExcel&&(this.downloadPanelWidth+=50),this.graphSetting.layouts.length>1&&(this.height-=40)},methods:{refresh(){this.$parent.refresh()},switchLayout(t){window.SeeksGraphDebug&&console.log("change layout:",t),m.switchLayout(t,this.graphSetting),this.refresh()},toggleAutoLayout(){this.graphSetting.autoLayouting=!this.graphSetting.autoLayouting,this.graphSetting.autoLayouting?this.graphSetting.layouter.autoLayout?this.graphSetting.layouter.autoLayout(!0):console.log("当前布局不支持自动布局!"):this.graphSetting.layouter.stop?this.graphSetting.layouter.stop():console.log("当前布局不支持自动布局stop!")},printGraphJsonData(){this.hits++,setTimeout(()=>{this.hits>0&&this.hits--},2e3),this.hits>5&&(this.hits=0,this.$parent.printGraphJsonData())}}},lt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"c-mini-toolbar",style:{"margin-left":t.graphSetting.viewELSize.width-50+"px","margin-top":(t.graphSetting.viewELSize.height-260)/2+"px"}},[n("div",{staticClass:"c-mb-button",staticStyle:{"margin-top":"0px"},on:{click:function(e){t.graphSetting.fullscreen=!t.graphSetting.fullscreen}}},[n("svg",{staticClass:"rg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-resize-"}})]),t._v(" "),n("span",{staticClass:"c-mb-text"},[t._v(t._s(t.graphSetting.fullscreen?"退出":"全屏"))])]),t._v(" "),t.graphSetting.allowShowZoomMenu?n("div",{staticClass:"c-mb-button",on:{click:function(e){return t.$parent.zoom(20)}}},[n("svg",{staticClass:"rg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-fangda"}})]),t._v(" "),n("span",{staticClass:"c-mb-text"},[t._v("放大")])]):t._e(),t._v(" "),t.graphSetting.allowShowZoomMenu?n("div",{staticStyle:{float:"left","margin-top":"0px",height:"20px",width:"40px","border-top":"0px","border-bottom":"0px","background-color":"#efefef",color:"#262626","font-size":"10px","text-align":"center","line-height":"20px"},on:{click:t.printGraphJsonData}},[t._v(t._s(t.graphSetting.canvasZoom)+"%")]):t._e(),t._v(" "),t.graphSetting.allowShowZoomMenu?n("div",{staticClass:"c-mb-button",staticStyle:{"margin-top":"0px"},on:{click:function(e){return t.$parent.zoom(-20)}}},[n("svg",{staticClass:"rg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-suoxiao"}})]),t._v(" "),n("span",{staticClass:"c-mb-text"},[t._v("缩小")])]):t._e(),t._v(" "),t.graphSetting.layouts.length>1?n("div",{staticClass:"c-mb-button"},[n("svg",{staticClass:"rg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-yuanquanfenxiang"}})]),t._v(" "),n("span",{staticClass:"c-mb-text"},[t._v("布局")]),t._v(" "),n("div",{staticClass:"c-mb-child-panel",style:{width:70*t.graphSetting.layouts.length+6+"px","margin-left":-70*t.graphSetting.layouts.length-5+"px"}},t._l(t.graphSetting.layouts,function(e){return n("div",{key:e.label,staticClass:"c-mb-button c-mb-button-c",class:{"c-mb-button-on":t.graphSetting.layoutLabel===e.label},staticStyle:{width:"70px"},on:{click:function(n){return t.switchLayout(e)}}},[n("svg",{staticClass:"rg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-yuanquanfenxiang"}})]),t._v(" "),n("span",{staticClass:"c-mb-text"},[t._v(t._s(e.label))])])}),0)]):t._e(),t._v(" "),t.graphSetting.allowSwitchLineShape?n("div",{staticClass:"c-mb-button"},[n("svg",{staticClass:"rg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-hj2"}})]),t._v(" "),n("span",{staticClass:"c-mb-text"},[t._v("线条")]),t._v(" "),n("div",{staticClass:"c-mb-child-panel",staticStyle:{width:"256px","margin-left":"-255px"}},[n("div",{staticClass:"c-mb-button c-mb-button-c",class:{"c-mb-button-on":1===t.graphSetting.defaultLineShape},staticStyle:{width:"50px"},on:{click:function(e){t.graphSetting.defaultLineShape=1}}},[n("svg",{staticClass:"rg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-hj2"}})]),t._v(" "),n("span",{staticClass:"c-mb-text"},[t._v("直线")])]),t._v(" "),n("div",{staticClass:"c-mb-button c-mb-button-c",class:{"c-mb-button-on":2===t.graphSetting.defaultLineShape},staticStyle:{width:"50px"},on:{click:function(e){t.graphSetting.defaultLineShape=2}}},[n("svg",{staticClass:"rg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-lianjieliu"}})]),t._v(" "),n("span",{staticClass:"c-mb-text"},[t._v("简洁")])]),t._v(" "),n("div",{staticClass:"c-mb-button c-mb-button-c",class:{"c-mb-button-on":6===t.graphSetting.defaultLineShape},staticStyle:{width:"50px"},on:{click:function(e){t.graphSetting.defaultLineShape=6}}},[n("svg",{staticClass:"rg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-lianjieliu"}})]),t._v(" "),n("span",{staticClass:"c-mb-text"},[t._v("生动")])]),t._v(" "),n("div",{staticClass:"c-mb-button c-mb-button-c",class:{"c-mb-button-on":5===t.graphSetting.defaultLineShape},staticStyle:{width:"50px"},on:{click:function(e){t.graphSetting.defaultLineShape=5}}},[n("svg",{staticClass:"rg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-lianjieliu"}})]),t._v(" "),n("span",{staticClass:"c-mb-text"},[t._v("鱼尾")])]),t._v(" "),n("div",{staticClass:"c-mb-button c-mb-button-c",class:{"c-mb-button-on":4===t.graphSetting.defaultLineShape},staticStyle:{width:"50px"},on:{click:function(e){t.graphSetting.defaultLineShape=4}}},[n("svg",{staticClass:"rg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-hj2"}})]),t._v(" "),n("span",{staticClass:"c-mb-text"},[t._v("折线")])])])]):t._e(),t._v(" "),t.graphSetting.allowSwitchJunctionPoint?n("div",{staticClass:"c-mb-button"},[n("svg",{staticClass:"rg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-lianjie_connecting5"}})]),t._v(" "),n("span",{staticClass:"c-mb-text"},[t._v("连接点")]),t._v(" "),n("div",{staticClass:"c-mb-child-panel",staticStyle:{width:"206px","margin-left":"-205px"}},[n("div",{staticClass:"c-mb-button c-mb-button-c",class:{"c-mb-button-on":"border"===t.graphSetting.defaultJunctionPoint},staticStyle:{width:"50px"},on:{click:function(e){t.graphSetting.defaultJunctionPoint="border"}}},[n("svg",{staticClass:"rg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-lianjie_connecting5"}})]),t._v(" "),n("span",{staticClass:"c-mb-text"},[t._v("边缘")])]),t._v(" "),n("div",{staticClass:"c-mb-button c-mb-button-c",class:{"c-mb-button-on":"ltrb"===t.graphSetting.defaultJunctionPoint},staticStyle:{width:"50px"},on:{click:function(e){t.graphSetting.defaultJunctionPoint="ltrb"}}},[n("svg",{staticClass:"rg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-lianjie_connecting5"}})]),t._v(" "),n("span",{staticClass:"c-mb-text"},[t._v("四点")])]),t._v(" "),n("div",{staticClass:"c-mb-button c-mb-button-c",class:{"c-mb-button-on":"tb"===t.graphSetting.defaultJunctionPoint},staticStyle:{width:"50px"},on:{click:function(e){t.graphSetting.defaultJunctionPoint="tb"}}},[n("svg",{staticClass:"rg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-lianjie_connecting5"}})]),t._v(" "),n("span",{staticClass:"c-mb-text"},[t._v("上下")])]),t._v(" "),n("div",{staticClass:"c-mb-button c-mb-button-c",class:{"c-mb-button-on":"lr"===t.graphSetting.defaultJunctionPoint},staticStyle:{width:"50px"},on:{click:function(e){t.graphSetting.defaultJunctionPoint="lr"}}},[n("svg",{staticClass:"rg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-lianjie_connecting5"}})]),t._v(" "),n("span",{staticClass:"c-mb-text"},[t._v("左右")])])])]):t._e(),t._v(" "),t.graphSetting.isNeedShowAutoLayoutButton?n("div",{staticClass:"c-mb-button",class:{"c-mb-button-on":t.graphSetting.autoLayouting},attrs:{title:t.graphSetting.autoLayouting?"点击停止自动布局":"点击开始自动调整布局"},on:{click:t.toggleAutoLayout}},[t.graphSetting.autoLayouting?n("svg",{staticClass:"c-loading-icon rg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-lianjiezhong"}})]):n("svg",{staticClass:"rg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-zidong"}})]),t._v(" "),n("span",{staticClass:"c-mb-text"},[t._v("自动")])]):t._e(),t._v(" "),n("div",{staticClass:"c-mb-button",on:{click:t.refresh}},[n("svg",{staticClass:"rg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-ico_reset"}})]),t._v(" "),n("span",{staticClass:"c-mb-text"},[t._v("刷新")])]),t._v(" "),n("div",{staticClass:"c-mb-button"},[n("svg",{staticClass:"rg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-ziyuan"}})]),t._v(" "),n("span",{staticClass:"c-mb-text"},[t._v("下载")]),t._v(" "),n("div",{staticClass:"c-mb-child-panel",style:{width:t.downloadPanelWidth+"px","margin-left":-1*t.downloadPanelWidth+"px"}},[n("div",{staticClass:"c-mb-button c-mb-button-c",staticStyle:{width:"50px"},on:{click:function(e){return t.$parent.downloadAsImage("png")}}},[n("svg",{staticClass:"rg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-tupian"}})]),t._v(" "),n("span",{staticClass:"c-mb-text"},[t._v("PNG")])]),t._v(" "),n("div",{staticClass:"c-mb-button c-mb-button-c",staticStyle:{width:"50px"},on:{click:function(e){return t.$parent.downloadAsImage("jpg")}}},[n("svg",{staticClass:"rg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-tupian"}})]),t._v(" "),n("span",{staticClass:"c-mb-text"},[t._v("JPG")])]),t._v(" "),"function"==typeof t.$parent.onDownloadExcel?n("div",{staticClass:"c-mb-button c-mb-button-c",staticStyle:{width:"50px"},on:{click:function(e){return t.$parent.onDownloadExcel()}}},[n("svg",{staticClass:"rg-icon",attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":"#icon-ziyuan"}})]),t._v(" "),n("span",{staticClass:"c-mb-text"},[t._v("Excel")])]):t._e()])])])};lt._withStripped=!0;var ct={render:lt,staticRenderFns:[]},ut=ct;var ht=!1;var dt=n(2)(st,ut,!1,function(t){ht||n(20)},"data-v-3cfdb1cf",null);dt.options.__file="src/GraphMiniToolBar.vue";var ft=dt.exports,pt={name:"GraphMiniNameFilter",props:{graphSetting:{mustUseProp:!0,default:()=>({}),type:Object}},data:()=>({}),mounted(){},methods:{}},At=function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"c-mini-namefilter",style:{"margin-left":this.graphSetting.viewELSize.width-350+"px"}})};At._withStripped=!0;var gt={render:At,staticRenderFns:[]},vt=gt;var mt=!1;var yt=n(2)(pt,vt,!1,function(t){mt||n(22)},"data-v-7c68081f",null);yt.options.__file="src/GraphMiniNameFilter.vue";var bt=yt.exports,_t={name:"GraphBottomPanel",props:{graphSetting:{mustUseProp:!0,default:()=>({}),type:Object}},data:()=>({height:50,search_text:""}),mounted(){this.$nextTick(()=>{this.height=this.$slots.bottomPanel[0].elm.offsetHeight,window.SeeksGraphDebug&&console.log("SeeksGraph bootomPanel height:",this.height)})},methods:{}},wt=function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"c-rg-bottom-panel",style:{"margin-topd":this.graphSetting.viewSize.height-this.height+"px",height:this.height+"px","margin-top":-this.height+"px"}},[this._t("bottomPanel")],2)};wt._withStripped=!0;var xt={render:wt,staticRenderFns:[]},Ct=xt;var St=!1;var Bt=n(2)(_t,Ct,!1,function(t){St||n(24)},"data-v-161dbae4",null);Bt.options.__file="src/GraphBottomPanel.vue";var kt={name:"SeeksRelationGraph",components:{GraphBottomPanel:Bt.exports,GraphMiniNameFilter:bt,GraphMiniToolBar:ft,GraphMiniView:at,SeeksRGNode:F,SeeksRGLink:G,GraphSettingPanel:J},props:{options:{mustUseProp:!1,default:()=>({}),type:Object},onNodeClick:{mustUseProp:!1,default:()=>()=>{},type:Function},onNodeExpand:{mustUseProp:!1,default:()=>()=>{},type:Function},onNodeCollapse:{mustUseProp:!1,default:()=>()=>{},type:Function},onLineClick:{mustUseProp:!1,default:()=>()=>{},type:Function},onDownloadExcel:{mustUseProp:!1,default:null,type:Function},beforeDownloadImage:{mustUseProp:!1,default:null,type:Function}},data:()=>({wheelEvent:{},version:"1.1.0",el:{offsetWidth:500,offsetHeight:500,offsetTop:0,offsetLeft:0},canvasBackgroundColor:"transparent",isNeedFixedTools:!1,isNeedFixedTools4Bottom:!1,seeksNodeIdIndex:1,search_text:"",instanceId:"",SeeksRGStore:null,graphSetting:{},graphData:{nodes:[],lines:[],rootNode:null,nodes_map:{},lines_map:{}},nodeViewList:[],lineViewList:[],allLineColors:[],viewOffset:{windowHeight:500,positionTop:100,left:0,top:0},viewSizeIsInited:!1,isShowZoomCenter:!1,debugPanelPosition:!0,zoomCenter_of_newSize:{x:0,y:0},currentZoomSet:null,newZoomSet:null,alive:!0}),computed:{canvasSizeAndPosition(){return{width:this.graphSetting.canvasSize.width+"px",height:this.graphSetting.canvasSize.height+"px","margin-left":this.graphSetting.canvasOffset.x+"px","margin-top":this.graphSetting.canvasOffset.y+"px","background-color":this.canvasBackgroundColor,transform:"scale("+this.graphSetting.canvasZoom/100+","+this.graphSetting.canvasZoom/100+")"}}},watch:{"graphSetting.fullscreen":function(t,e){!0!==e&&!1!==e||a.a.toggle(this.$refs.seeksRelationGraph)}},created(){this.SeeksRGStore=T.createNewStore(this.options||{}),this.graphSetting=this.SeeksRGStore.graphSetting,this.graphSetting.instanceId="SRG"+parseInt(1e5*Math.random()),console.log(`%c relation-graph %c Version v${this.version} %c More info: https://github.com/seeksdream/relation-graph %c`,"background:#35495e ; padding: 1px; border-radius: 3px 0 0 3px; color: #fff","background:#41b883 ; padding: 1px; border-radius: 0 3px 3px 0; color: #fff","background:#fff ; padding: 1px; border-radius: 0 3px 3px 0; color: #41b883","background:transparent"),"2.5."===r.a.version.substring(0,4)&&console.log("注意:当你使用的vue版本低于2.6时,你只能通过插槽slot[node]来显示节点内容,示例请参考:http://relation-graph.com/#/demo/adv-slot")},mounted(){this.init(),window.addEventListener("scroll",function(){this.syncToolsPosition()}.bind(this))},beforeDestroy(){this.alive=!1,this.$refs.seeksRelationGraph.remove()},show(){this.resetViewSize(),this.refreshNVAnalysisInfo(),this.syncToolsPosition()},methods:{init(){this.$refs.rgCanvas.style.setProperty("--stroke","url('#"+this.graphSetting.instanceId+"-lineStyle')"),this.$refs.rgCanvas.style.setProperty("--markerEnd","url('#"+this.graphSetting.instanceId+"-arrow-default')"),this.$refs.rgCanvas.style.setProperty("--markerEndChecked","url('#"+this.graphSetting.instanceId+"-arrow-checked')"),this.cycleTask(),this.resetViewSize(),this.refreshNVAnalysisInfo(),this.syncToolsPosition()},cycleTask(){if(this.alive){var t=this.$refs.seeksRelationGraph.getBoundingClientRect();t.width===this.graphSetting.viewSize.width&&t.height===this.graphSetting.viewSize.height||(window.SeeksGraphDebug&&console.log("relation-graph:view-size-changed:",[this.graphSetting.viewSize.width,this.graphSetting.viewSize.height],[t.width,t.height]),this.graphSetting.viewSize.width=t.width,this.graphSetting.viewSize.height=t.height,this.resetViewSize(),this.refreshNVAnalysisInfo(),this.wow(),this.viewSizeIsInited&&this.graphSetting.moveToCenterWhenResize&&(window.SeeksGraphDebug&&console.log("relation-graph:move to center:",[this.graphSetting.viewSize.width,this.graphSetting.viewSize.height],[t.width,t.height]),this.$nextTick(()=>{var t=9999999,e=9999999,n=0,i=0;this.nodeViewList.forEach(r=>{r.x<t&&(t=r.x),r.x>n&&(n=r.x+r.el.offsetWidth),r.y<e&&(e=r.y),r.y>i&&(i=r.y+r.el.offsetHeight)});var r=n-t+50,o=i-e+50,a=(this.graphSetting.viewSize.width-r)/2-t,s=(this.graphSetting.viewSize.height-o)/2-e;this.animateGoto(a,s,500,()=>{this.refreshNVAnalysisInfo()})}))),setTimeout(()=>{this.cycleTask()},1e3)}},setOptions(t,e){if(this.SeeksRGStore=T.createNewStore(t),this.graphSetting=this.SeeksRGStore.graphSetting,this.graphSetting.instanceId="SRG"+parseInt(1e5*Math.random()),this.init(),this.graphSetting.layouts&&this.graphSetting.layouts.length>0){var n=this.graphSetting.layouts[0];window.SeeksGraphDebug&&console.log("创建默认布局器:",this.graphSetting.layoutName),n.layouter?this.graphSetting.layouter=n.layouter:this.graphSetting.layouter=m.createLayout(n,this.graphSetting)}else console.log("你需要设置layouts来指定当前图谱可以使用的布局器!");this.doLayout(),e(this)},moveDebugPanel(){this.debugPanelPosition=!this.debugPanelPosition},mouseListenerEmpty(){console.log("mouseListenerEmpty")},mouseListener(t){if(this.graphSetting.disableZoom)return t.cancelBubble=!1,!0;try{t.cancelBubble=!0,t.preventDefault(),t.stopPropagation()}catch(t){}var e={x:t.clientX,y:t.clientY},n=/macintosh|mac os x/i.test(navigator.userAgent),i=t.deltaY;void 0===i&&(i=t.wheelDelta);var r=n?1:-1;i>0?this.zoom(5*r,e):this.zoom(-5*r,e)},getPositionOfCanvas(t){var e={x:t.offsetX,y:t.offsetY};window.SeeksGraphDebug&&console.log("[F]",e.x,e.y);for(var n=t.target.parentNode,i=0;i<8;i++){if(i>6&&window.SeeksGraphDebug&&console.log("getPositionOfCanvas error",t),n.classList.contains("rel-map-canvas")){window.SeeksGraphDebug&&console.log("[S]",n.tagName+"."+n.className);break}e.x+=n.offsetLeft||0,e.y+=n.offsetTop||0,window.SeeksGraphDebug&&console.log("["+i+"]",n.tagName+"."+n.className,":",n.offsetLeft,n.offsetTop),n=n.parentNode}return window.SeeksGraphDebug&&console.log("[F]",e.x,e.y),e},zoom(t,e){if(!(this.graphSetting.canvasZoom+t<10)){var n=this.graphSetting.canvasZoom+t,i=this.showZoomCenter(e,t);this.graphSetting.canvasOffset.x+=i.buff_x,this.graphSetting.canvasOffset.y+=i.buff_y,this.graphSetting.canvasZoom=n,this.refreshNVAnalysisInfo()}},showZoomCenter(t,e){if(!this.$refs.seeksRelationGraph)return;var n=this.graphSetting.canvasZoom/100,i=(this.graphSetting.canvasZoom+e)/100;this.currentZoomSet=this.analysisByZoom(n,t),this.newZoomSet=this.analysisByZoom(i,t);const r=i/n,o=i/n;this.zoomCenter_of_newSize.x=r*this.currentZoomSet.NMViewBuff.x+0*this.currentZoomSet.NMViewBuff.y+0,this.zoomCenter_of_newSize.y=0*this.currentZoomSet.NMViewBuff.x+o*this.currentZoomSet.NMViewBuff.y+0;var a=this.currentZoomSet.NMViewBuff.x-this.zoomCenter_of_newSize.x,s=this.currentZoomSet.NMViewBuff.y-this.zoomCenter_of_newSize.y;this.zoomCenter_of_newSize.x+=this.currentZoomSet.NMCanvasCenter.x,this.zoomCenter_of_newSize.y+=this.currentZoomSet.NMCanvasCenter.y;var l=this.currentZoomSet.NMCanvasStart.x-this.currentZoomSet.NMCanvasCenter.x,c=this.currentZoomSet.NMCanvasStart.y-this.currentZoomSet.NMCanvasCenter.y,u=r*l+0*c+0,h=0*l+o*c+0;return this.newZoomSet.NMCanvasStart.x=a+this.currentZoomSet.NMCanvasCenter.x+u,this.newZoomSet.NMCanvasStart.y=a+this.currentZoomSet.NMCanvasCenter.y+h,u=r*(l=this.currentZoomSet.NMCanvasEnd.x-this.currentZoomSet.NMCanvasCenter.x)+0*(c=this.currentZoomSet.NMCanvasEnd.y-this.currentZoomSet.NMCanvasCenter.y)+0,h=0*l+o*c+0,this.newZoomSet.NMCanvasEnd.x=a+this.currentZoomSet.NMCanvasCenter.x+u,this.newZoomSet.NMCanvasEnd.y=a+this.currentZoomSet.NMCanvasCenter.y+h,this.currentZoomSet.NMCanvasOffsetBuff.x=a,this.currentZoomSet.NMCanvasOffsetBuff.y=s,{buff_x:a,buff_y:s}},refreshNVAnalysisInfo(){if(this.$refs.seeksRelationGraph){var t={NMCanvasCenter:{x:0,y:0}},e=this.$refs.seeksRelationGraph.getBoundingClientRect();this.graphSetting.viewNVInfo.x=e.left,this.graphSetting.viewNVInfo.y=e.top,this.graphSetting.viewNVInfo.width=e.width,this.graphSetting.viewNVInfo.height=e.height;var n=this.graphSetting.canvasSize.width*(this.graphSetting.canvasZoom/100),i=this.graphSetting.canvasSize.height*(this.graphSetting.canvasZoom/100);t.NMCanvasCenter.x=this.graphSetting.canvasOffset.x+this.graphSetting.canvasSize.width/2,t.NMCanvasCenter.y=this.graphSetting.canvasOffset.y+this.graphSetting.canvasSize.height/2,this.graphSetting.canvasNVInfo.x=t.NMCanvasCenter.x-n/2,this.graphSetting.canvasNVInfo.y=t.NMCanvasCenter.y-i/2,this.graphSetting.canvasNVInfo.width=n,this.graphSetting.canvasNVInfo.height=i,this.graphSetting.viewELSize.width=e.width,this.graphSetting.viewELSize.height=e.height,this.graphSetting.viewELSize.left=e.left,this.graphSetting.viewELSize.top=e.top}else console.error("cannot get view size !")},analysisByZoom(t,e){var n={NMViewPosition:{x:0,y:0},NMViewCenter:{x:0,y:0},NMCanvasCenter:{x:0,y:0},NMCanvasStart:{x:0,y:0},NMCanvasEnd:{x:0,y:0},NMZoomCenter:{x:0,y:0},NMViewBuff:{x:0,y:0},NMCanvasOffsetBuff:{x:0,y:0},NMCanvasSize:{width:0,height:0}};const i=this.getWindowWidth(),r=this.getWindowHeight();var o=this.$refs.seeksRelationGraph.getBoundingClientRect();n.NMViewPosition.x=o.left,n.NMViewPosition.y=o.top,o.width+n.NMViewPosition.x>i?n.NMViewCenter.x=(i-o.left)/2:n.NMViewCenter.x=o.width/2,o.height+n.NMViewPosition.y>r?n.NMViewCenter.y=(r-o.top)/2:n.NMViewCenter.y=o.height/2;var a=this.graphSetting.canvasSize.width*t,s=this.graphSetting.canvasSize.height*t;n.NMCanvasCenter.x=this.graphSetting.canvasOffset.x+this.graphSetting.canvasSize.width/2,n.NMCanvasCenter.y=this.graphSetting.canvasOffset.y+this.graphSetting.canvasSize.height/2,n.NMCanvasStart.x=n.NMCanvasCenter.x-a/2,n.NMCanvasStart.y=n.NMCanvasCenter.y-s/2,n.NMCanvasEnd.x=n.NMCanvasCenter.x+a/2,n.NMCanvasEnd.y=n.NMCanvasCenter.y+s/2,n.NMZoomCenter.x=n.NMViewCenter.x,n.NMZoomCenter.y=n.NMViewCenter.y,e&&(n.NMZoomCenter.x=e.x-n.NMViewPosition.x,n.NMZoomCenter.y=e.y-n.NMViewPosition.y);var l=n.NMViewCenter.x-n.NMCanvasCenter.x,c=n.NMViewCenter.y-n.NMCanvasCenter.y;return e&&(l=n.NMZoomCenter.x-n.NMCanvasCenter.x,c=n.NMZoomCenter.y-n.NMCanvasCenter.y),n.NMViewBuff.x=l,n.NMViewBuff.y=c,n.NMCanvasSize.width=a,n.NMCanvasSize.height=s,n},syncToolsPosition(){if(window.SeeksGraphDebug&&console.log("on scroll..."),!this.$refs.seeksRelationGraph)return;const t=this.getWindowHeight();var e=this.$refs.seeksRelationGraph.getBoundingClientRect();window.SeeksGraphDebug&&console.log("syncToolsPosition...");var n=e.top;!1===this.isNeedFixedTools?n+this.$refs.seeksRelationGraph.offsetHeight<0?this.isNeedFixedTools=!1:n<0&&(this.isNeedFixedTools=!0):(n>0&&(this.isNeedFixedTools=!1),n+this.$refs.seeksRelationGraph.offsetHeight<0&&(this.isNeedFixedTools=!1)),n+this.$refs.seeksRelationGraph.offsetHeight>t?this.isNeedFixedTools4Bottom=!0:this.isNeedFixedTools4Bottom=!1},getWindowWidth:()=>window.innerWidth?window.innerWidth:document.documentElement.clientWidth?document.documentElement.clientWidth:screen.width,getWindowHeight:()=>window.innerHeight?window.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:screen.height,getNodePositionTop(t){return t.offsetTop?t.offsetTop+(t.parentNode?this.getNodePositionTop(t.parentNode):0):0},getNodePositionLeft(t){return t.offsetLeft?t.offsetLeft+(t.parentNode?this.getNodePositionLeft(t.parentNode):0):0},resetViewSize(){this.graphSetting.viewSize.width=this.$refs.seeksRelationGraph.getBoundingClientRect().width,this.graphSetting.viewSize.height=this.$refs.seeksRelationGraph.getBoundingClientRect().height,this.graphSetting.canvasZoom=100,this.SeeksRGStore.resetViewSize(),this.refreshNVAnalysisInfo()},loadNodes(t){t.forEach(t=>{let e=B.json2Node(t),n=!1;this.graphData.nodes_map[e.id]?e=this.graphData.nodes_map[e.id]:n=!0,n&&(this.graphData.nodes_map[e.id]=e,this.graphData.nodes.push(e),e.seeks_id=this.seeksNodeIdIndex++,e.appended=!1)})},loadLinks(t){t.forEach(t=>{let e=!1;var n,i;if(n="object"==typeof t.from?t.from:this.graphData.nodes_map[t.from],i="object"==typeof t.to?t.to:this.graphData.nodes_map[t.to],!n)return void console.error("找不到from:",t);if(!i)return void console.error("找不到to:",t);const r=n.seeks_id+"-"+i.seeks_id,o=i.seeks_id+"-"+n.seeks_id;var a,s=B.json2Link(t),l=!1;this.graphData.lines_map[r]?a=this.graphData.lines_map[r]:this.graphData.lines_map[o]?(a=this.graphData.lines_map[o],l=!0):(e=!0,a={seeks_id:r,fromNode:n,toNode:i,appended:!1,relations:[]});var c=s.arrow;s.isHideArrow||(c=this.getLineArrow(s.color)),n.targetNodes||(n.targetNodes=[]),i.targetNodes||(i.targetNodes=[]),-1===n.targetNodes.indexOf(i)&&n.targetNodes.push(i),-1===i.targetNodes.indexOf(n)&&i.targetNodes.push(n),-1===n.targetTo.indexOf(i)&&n.targetTo.push(i),-1===i.targetFrom.indexOf(n)&&i.targetFrom.push(n);for(var u=!1,h=0;h<a.relations.length;h++)if(a.relations[h].id===s.id){u=!0;break}!1===u&&(s.id||(s.id=a.seeks_id+"-"+a.relations.length),s.isReverse=l,s.arrow=c,s.textPositon={x:0,y:0},a.relations.push(s)),e&&(this.graphData.lines.push(a),this.graphData.lines_map[r]=a,a.appended=!1)})},getLineArrow(t){if(t){var e=B.getColorId(t);return-1===this.allLineColors.map(t=>t.id).indexOf(e)&&this.allLineColors.push({id:e,color:t}),this.graphSetting.instanceId+"-arrow-"+e}return this.graphSetting.instanceId+"-arrow-default"},flatNodeData(t,e,n,i){t.forEach(t=>{if(!t.flated){t.flated=!0,n.push(t),e&&i.push({from:e.id,to:t.id});var r=t.childs||t.children;r&&r.length>0&&this.flatNodeData(r,t,n,i)}})},loadGraphJsonData(t){t.links||(t.links=t.lines),t.links||(t.links=t.relations);var e=t.nodes,n=[],i=[];this.flatNodeData(e,null,n,i),t.links=i.concat(t.links),this.loadNodes(n),window.SeeksGraphDebug&&console.log("节点预处理完毕"),this.loadLinks(t.links)},setJsonData(t,e){if(this.viewSizeIsInited=!0,this.nodeViewList=[],this.lineViewList=[],this.graphData.nodes=[],this.graphData.lines=[],this.graphData.nodes_map={},this.graphData.lines_map={},this.graphData.rootNode=null,console.log("set jsonData::",t),this.resetViewSize(),this.graphSetting.layouts&&this.graphSetting.layouts.length>0){var n=this.graphSetting.layouts[0];window.SeeksGraphDebug&&console.log("创建默认布局器:",this.graphSetting.layoutName),n.layouter?this.graphSetting.layouter=n.layouter:this.graphSetting.layouter=m.createLayout(n,this.graphSetting)}else console.log("你需要设置layouts来指定当前图谱可以使用的布局器!");var i=t.rootId;this.loadGraphJsonData(t),i&&(this.graphData.rootNode=this.graphData.nodes_map[i]),!this.graphData.rootNode&&this.graphData.nodes.length>0&&(this.graphData.rootNode=this.graphData.nodes[0]),this.applyNewDataToCanvas(),this.resetViewSize(),this.doLayout(),e&&e(this)},applyNewDataToCanvas(){if(this.graphData.nodes.forEach(t=>{!1===t.appended&&(t.appended=!0,this.nodeViewList.push(t))}),this.graphData.lines.forEach(t=>{!1===t.appended&&(t.appended=!0,this.lineViewList.push(t))}),!this.graphData.rootNode)throw Error("没有设置根节点[rootId]!也无法获取根节点!");this.graphSetting.defaultFocusRootNode&&(this.graphSetting.checkedNodeId=this.graphData.rootNode.id)},appendJsonData(t,e,n){2===arguments.length&&"function"==typeof e&&(n=e,e=!0),console.log("appendData:",t),this.loadGraphJsonData(t),this.applyNewDataToCanvas(),e&&this.doLayout(),n&&n(this)},doLayout(){this.graphSetting.layouter&&this.graphData.rootNode&&(console.log("需要布局的节点数量:",this.graphData.nodes.length),this.graphSetting.layouter.placeNodes(this.graphData.nodes,this.graphData.rootNode,this.graphSetting)),document.body.addEventListener("mousemove",this.wow)},refresh(){this.resetViewSize(),this.$nextTick(()=>{this.graphSetting.layouter.refresh(),this.refreshNVAnalysisInfo(),document.body.addEventListener("mousemove",this.wow)})},onDragStart(t){B.startDrag(t,this.graphSetting.canvasOffset,this.onDragEnd)},onDragEnd(){this.refreshNVAnalysisInfo()},addEventClick(){},wow(){window.SeeksGraphDebug&&console.log("wow....."),this.graphSetting.canvasOffset.x=this.graphSetting.canvasOffset.x+1,this.graphSetting.canvasOffset.y=this.graphSetting.canvasOffset.y+1,this.graphSetting.canvasOffset.x=this.graphSetting.canvasOffset.x-1,this.graphSetting.canvasOffset.y=this.graphSetting.canvasOffset.y-1,document.body.removeEventListener("mousemove",this.wow)},onRGNodeClick(t,e){this.onNodeClick&&this.onNodeClick(t,e)},onRGLineClick(t,e){this.onLineClick&&this.onLineClick(t,e)},getNodeById(t){for(let e=0;e<this.nodeViewList.length;e++)if(this.nodeViewList[e].id===t)return this.nodeViewList[e]},removeNodeById(t){let e=0;for(let i=0;i<this.lineViewList.length;i++){var n=this.lineViewList[i];n.fromNode.id!==t&&n.toNode.id!==t||(n.hidden=!0,this.lineViewList.splice(i,1),i--,e++)}console.log("删除对应的线个数:",t,e);let i=0;for(let e=0;e<this.nodeViewList.length;e++)if(this.nodeViewList[e].id===t){const t=this.nodeViewList[e];t.targetNodes.forEach(e=>{const n=e.targetNodes.indexOf(t);-1!==n&&e.targetNodes.splice(n,1)}),this.nodeViewList.splice(e,1),delete this.graphData.nodes_map[t.id];const n=this.graphData.nodes.findIndex(e=>e.id===t.id);this.graphData.nodes.splice(n,1),i++;break}console.log("删除对应的节点个数:",t,i)},dataURLToBlob(t){for(var e=t.split(","),n=e[0].match(/:(.*?);/)[1],i=atob(e[1]),r=i.length,o=new Uint8Array(r);r--;)o[r]=i.charCodeAt(r);return new Blob([o],{type:n})},downloadAsImage(t){if(this.beforeDownloadImage&&this.beforeDownloadImage(),0===this.nodeViewList.length)throw Error("没有节点,没有内容需要导出!");t||(t="png"),this.graphSetting.checkedNodeId="",this.graphSetting.canvasZoom=100;const e=this.$refs.seeksRGCanvas;var n=e.clientWidth,i=e.clientHeight,r=999999,o=999999,a=0,s=0;this.nodeViewList.forEach(t=>{t.x<r&&(r=t.x),t.x>a&&(a=t.x+t.el.offsetWidth),t.y<o&&(o=t.y),t.y>s&&(s=t.y+t.el.offsetHeight)}),this.nodeViewList.forEach(t=>{t.x=t.x-r+100,t.y=t.y-o+100});var c=this.graphSetting.canvasOffset.x+r-100,u=this.graphSetting.canvasOffset.y+o-100;this.graphSetting.canvasOffset.x=-100,this.graphSetting.canvasOffset.y=-100,console.log("offset:",{_origin_offset_x:c,_origin_offset_y:u,_min_x:r,_min_y:o,_max_x:a,_max_y:s});var h=a-r+200+200,d=s-o+100+200,f=window.devicePixelRatio;this.graphSetting.canvasSize.width=h*f,this.graphSetting.canvasSize.height=d*f,this.canvasBackgroundColor="#ffffff";var p={left:this.$refs.seeksRelationGraph.offsetLeft-e.getBoundingClientRect().left,top:this.$refs.seeksRelationGraph.offsetTop-e.getBoundingClientRect().top,canvas_offsetLeft:e.offsetLeft,canvas_offsetTop:e.offsetTop,canvas_left:e.getBoundingClientRect().left,canvas_top:e.getBoundingClientRect().top};window.scrollTo(0,0),console.log("export image:",{relationGraphPosition:p,orign_width:n,orign_height:i,_image_width:h,_image_height:d,_min_x:r,_min_y:o,_max_x:a,_max_y:s,devicePixelRatio:window.devicePixelRatio}),this.$nextTick(()=>{var r="SeeksRelationGraph-"+(1e5*Math.random()).toFixed(0),o=document.createElement("canvas");o.width=h*f,o.height=d*f,o.style.width=h*f+"px",o.style.height=d*f+"px",o.getContext("2d").scale(1,1);const a={backgroundColor:null,scale:f,canvas:o,logging:!0,width:h,height:d,useCORS:!0};console.log("html2canvas:",a),l()(e,a).then(e=>{const o=document.body.appendChild(e);o.style.display="none";const a=this.dataURLToBlob(o.toDataURL("image/"+t));document.body.removeChild(o);const s=document.createElement("a");s.style.display="none";try{window.navigator.msSaveOrOpenBlob?window.navigator.msSaveOrOpenBlob(a,r+"."+t):(s.setAttribute("href",URL.createObjectURL(a)),s.setAttribute("download",r+"."+t),document.body.appendChild(s),s.click(),console.log("click ok!"),URL.revokeObjectURL(a),console.log("revokeObjectURL ok!"),document.body.removeChild(s),console.log("removeChild ok!")),this.graphSetting.canvasSize.width=n,this.graphSetting.canvasSize.height=i,this.graphSetting.canvasOffset.x=c,this.graphSetting.canvasOffset.y=u,this.canvasBackgroundColor="transparent"}catch(t){console.log("[SEEKS Graph]Create and download image error:",t)}})})},querySearchAsync(t,e){if(console.log("fetch-suggestions",t),""!==(t=t.trim())){var n=[];this.nodeViewList.forEach(e=>{console.log("fetch:",e.text),-1!==e.text.indexOf(t)&&n.push(e)}),console.log("fetched:",n.length),e(n)}},focusRootNode(){window.SeeksGraphDebug&&console.log("relation-graph:focusRootNode"),this.handleSelect(this.graphData.rootNode)},focusNodeById(t){this.graphData.nodes.forEach(e=>{e.id===t&&this.handleSelect(e)})},handleSelect(t){console.log("checked:",t),scrollTo({top:this.$refs.seeksRelationGraph.offsetTop}),this.animateToZoom(100,300,()=>{var e=t.width||50,n=t.height||50,i=-1*t.x+this.graphSetting.viewSize.width/2-e/2,r=-1*t.y+this.graphSetting.viewSize.height/2-n/2;this.animateGoto(i,r,500,()=>{this.graphSetting.checkedNodeId=t.id,this.refreshNVAnalysisInfo()})})},animateGoto(t,e,n,i){var r=t-this.graphSetting.canvasOffset.x,o=e-this.graphSetting.canvasOffset.y,a=n,s=parseInt(r/5),l=parseInt(o/5),c=a/5;this.animateStepAction(0,c,5,()=>{this.graphSetting.canvasOffset.x+=s,this.graphSetting.canvasOffset.y+=l},()=>{i()})},animateToZoom(t,e,n){var i=t-this.graphSetting.canvasZoom,r=e,o=parseInt(i/5),a=r/5;this.animateStepAction(0,a,5,()=>{this.zoom(o)},()=>{n()})},animateStepAction(t,e,n,i,r){t<n?(i(t,n),setTimeout(()=>{this.animateStepAction(t+1,e,n,i,r)},e)):r()},getNodes(){return this.nodeViewList},getLines(){return this.lineViewList},onNodeExpandEvent(t,e){console.log("onNodeExpand:",t),this.onNodeExpand&&this.onNodeExpand(t,e)},onNodeCollapseEvent(t,e){console.log("onNodeCollapse:",t),this.onNodeCollapse&&this.onNodeCollapse(t,e)},getGraphJsonData(){var t=[],e=[];return this.graphData.nodes.forEach(e=>{B.transNodeToJson(e,t)}),this.graphData.lines.forEach(t=>{B.transLineToJson(t,e)}),{rootId:this.graphData.rootNode?this.graphData.rootNode.id:"",nodes:t,links:e}},getGraphJsonOptions(){return this.SeeksRGStore.getOptions()},printGraphJsonData(){console.log("graph options:",JSON.stringify(this.getGraphJsonOptions())),console.log("graph json data:",JSON.stringify(this.getGraphJsonData()))}}},Tt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"seeksRelationGraph",staticStyle:{"box-sizing":"border-box"},style:{width:"100%",height:"100%"},on:{resize:function(e){return t.refreshNVAnalysisInfo()}}},[t.graphSetting.allowShowSettingPanel?n("GraphSettingPanel",{attrs:{"graph-setting":t.graphSetting},scopedSlots:t._u([{key:"settingPanelPlus",fn:function(e){var i=e.setting;return n("div",{},[t._t("settingPanelPlus",null,{setting:i})],2)}}],null,!0)}):t._e(),t._v(" "),n("graph-mini-name-filter",{directives:[{name:"show",rawName:"v-show",value:!0===t.graphSetting.allowShowMiniNameFilter,expression:"graphSetting.allowShowMiniNameFilter===true"}],attrs:{"graph-setting":t.graphSetting}}),t._v(" "),n("graph-mini-tool-bar",{directives:[{name:"show",rawName:"v-show",value:!0===t.graphSetting.allowShowMiniToolBar,expression:"graphSetting.allowShowMiniToolBar===true"}],attrs:{"graph-setting":t.graphSetting}}),t._v(" "),!0===t.graphSetting.allowShowMiniView?n("graph-mini-view",{attrs:{"graph-setting":t.graphSetting}}):t._e(),t._v(" "),t._t("graphPlug",null,{graph:this}),t._v(" "),n("div",{staticClass:"rel-map",class:[t.graphSetting.layoutClassName,t.graphSetting.backgrounImageNoRepeat?"rel-map-background-norepeat":""],style:{width:"100%",height:"100%","background-image":"url("+t.graphSetting.backgrounImage+")"},on:{mousedown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"left",37,e.key,["Left","ArrowLeft"])?null:"button"in e&&0!==e.button?null:(e.stopPropagation(),t.onDragStart(e))},mousewheel:t.mouseListener}},[n("div",{ref:"seeksRGCanvas",staticClass:"rel-map-canvas",style:t.canvasSizeAndPosition},[n("div",{staticClass:"rel-nodediv rel-nodediv-for-webkit"},t._l(t.nodeViewList,function(e){return n("SeeksRGNode",{key:e.seeks_id,attrs:{"node-props":e,"on-node-click":t.onRGNodeClick,"graph-setting":t.graphSetting},scopedSlots:t._u([{key:"node",fn:function(e){var n=e.node;return[t._t("node",null,{node:n})]}}],null,!0)})}),1),t._v(" "),n("div",{ref:"rgCanvas",staticClass:"rel-linediv",staticStyle:{overflow:"visible"}},[n("svg",{staticStyle:{overflow:"visible"},style:{width:t.graphSetting.canvasSize.width+"px",height:t.graphSetting.canvasSize.height+"px"},attrs:{xmlns:"http://www.w3.org/2000/svg",version:"1.1"}},[n("defs",[n("linearGradient",{attrs:{id:t.graphSetting.instanceId+"-lineStyle",x1:"1",y1:"0",x2:"0",y2:"0"}},[n("stop",{attrs:{offset:"0%","stop-color":"#e52c5c"}}),t._v(" "),n("stop",{attrs:{offset:"100%","stop-color":"#FD8B37"}})],1),t._v(" "),n("marker",{attrs:{id:t.graphSetting.instanceId+"-arrow-default",markerWidth:t.graphSetting.defaultLineMarker.markerWidth,markerHeight:t.graphSetting.defaultLineMarker.markerHeight,refX:t.graphSetting.defaultLineMarker.refX,refY:t.graphSetting.defaultLineMarker.refY,"marker-units":"strokeWidth",orient:"auto",viewBox:"0 0 12 12"}},[n("path",{style:{fill:t.graphSetting.defaultLineColor},attrs:{d:t.graphSetting.defaultLineMarker.data}})]),t._v(" "),n("marker",{attrs:{id:t.graphSetting.instanceId+"-arrow-checked",markerUnits:"strokeWidth",markerWidth:"12",markerHeight:"12",viewBox:"0 0 12 12",refX:"6",refY:"6",orient:"auto"}},[n("path",{style:{fill:"#FD8B37"},attrs:{d:"M2,2 L10,6 L2,10 L6,6 L2,2"}})]),t._v(" "),t._l(t.allLineColors,function(e){return n("marker",{key:e.id,attrs:{id:t.graphSetting.instanceId+"-arrow-"+e.id,markerWidth:t.graphSetting.defaultLineMarker.markerWidth,markerHeight:t.graphSetting.defaultLineMarker.markerHeight,refX:t.graphSetting.defaultLineMarker.refX,refY:t.graphSetting.defaultLineMarker.refY,"marker-units":"strokeWidth",orient:"auto"}},[n("path",{attrs:{fill:t.graphSetting.defaultLineMarker.color||e.color,d:t.graphSetting.defaultLineMarker.data}})])})],2),t._v(" "),t._l(t.lineViewList,function(e){return n("SeeksRGLink",{key:e.seeks_id,attrs:{"line-props":e,"graph-setting":t.graphSetting,"on-line-click":t.onRGLineClick}})})],2)])])]),t._v(" "),t.$scopedSlots.bottomPanel?n("graph-bottom-panel",{attrs:{"graph-setting":t.graphSetting}},[n("template",{slot:"bottomPanel"},[t._t("bottomPanel",null,{graph:this})],2)],2):t._e(),t._v(" "),n("div",{staticStyle:{clear:"both",height:"1px"}}),t._v(" "),t.isShowZoomCenter?n("div",{staticStyle:{position:"fixed",top:"0px",right:"0px","font-size":"12px","background-color":"#333333",color:"#ffffff","z-index":"9999",padding:"20px"},style:{left:t.debugPanelPosition?"":"0px",right:t.debugPanelPosition?"0px":""},on:{click:t.moveDebugPanel}},[n("div",[n("pre",[t._v(t._s(JSON.stringify(t.graphSetting.canvasOffset,null,2)))])]),t._v(" "),n("div",[n("pre",[t._v(t._s(JSON.stringify(t.graphSetting.viewNVInfo,null,2)))])]),t._v(" "),n("div",[n("pre",[t._v(t._s(JSON.stringify(t.graphSetting.canvasNVInfo,null,2)))])])]):t._e(),t._v(" "),t.isShowZoomCenter?n("div",{staticStyle:{position:"fixed",top:"0px",width:"2px",height:"2000px","z-index":"99999","border-left":"blue dotted 2px",opacity:"0.6"},style:{left:t.graphSetting.canvasNVInfo.x+t.graphSetting.viewNVInfo.x+"px",top:t.graphSetting.viewNVInfo.y+"px"}}):t._e(),t._v(" "),t.isShowZoomCenter?n("div",{staticStyle:{position:"fixed",left:"0px",height:"2px",width:"2000px","z-index":"99999","border-top":"blue dotted 2px",opacity:"0.6"},style:{top:t.graphSetting.canvasNVInfo.y+t.graphSetting.viewNVInfo.y+"px",left:t.graphSetting.viewNVInfo.x+"px"}}):t._e(),t._v(" "),t.isShowZoomCenter?n("div",{staticStyle:{position:"fixed",top:"0px",width:"4px",height:"2000px","z-index":"99999","border-left":"green dotted 2px",opacity:"0.4"},style:{left:t.graphSetting.canvasNVInfo.x+t.graphSetting.canvasNVInfo.width/2+t.graphSetting.viewNVInfo.x+"px",top:t.graphSetting.viewNVInfo.y+"px"}}):t._e(),t._v(" "),t.isShowZoomCenter?n("div",{staticStyle:{position:"fixed",left:"0px",height:"4px",width:"2000px","z-index":"99999","border-top":"green dotted 2px",opacity:"0.4"},style:{top:t.graphSetting.canvasNVInfo.y+t.graphSetting.canvasNVInfo.height/2+t.graphSetting.viewNVInfo.y+"px",left:t.graphSetting.viewNVInfo.x+"px"}}):t._e(),t._v(" "),t.isShowZoomCenter?n("div",{staticStyle:{position:"fixed",top:"0px",width:"2px",height:"2000px","z-index":"99999","border-left":"blue dotted 2px",opacity:"0.6"},style:{left:t.graphSetting.canvasNVInfo.x+t.graphSetting.canvasNVInfo.width+t.graphSetting.viewNVInfo.x+"px",top:t.graphSetting.viewNVInfo.y+"px"}}):t._e(),t._v(" "),t.isShowZoomCenter?n("div",{staticStyle:{position:"fixed",left:"0px",height:"2px",width:"2000px","z-index":"99999","border-top":"blue dotted 2px",opacity:"0.6"},style:{top:t.graphSetting.canvasNVInfo.y+t.graphSetting.canvasNVInfo.height+t.graphSetting.viewNVInfo.y+"px",left:t.graphSetting.viewNVInfo.x+"px"}}):t._e()],2)};Tt._withStripped=!0;var Ot={render:Tt,staticRenderFns:[]},Et=Ot;var It=!1;var Mt=n(2)(kt,Et,!1,function(t){It||n(5)},"data-v-2964abc9",null);Mt.options.__file="src/index.vue";var Dt=Mt.exports;Dt.install=function(t){t.component("relation-graph",Dt),t.component("seeks-relation-graph",Dt)};e.default=Dt},function(t,e,n){var i=n(6);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);n(1)("7abd5e14",i,!1,{})},function(t,e,n){(t.exports=n(0)(!1)).push([t.i,"\n.rel-map[data-v-2964abc9]{\n background-color: #ffffff;\n /*background-image: url(\"/static/images/graph-bg.png\");*/\n overflow:hidden;\n cursor: default;\n user-select: none;\n}\n.rel-map-background-norepeat[data-v-2964abc9]{\n background-repeat: no-repeat;\n background-position:right bottom;\n}\n.rel-nodediv-for-webkit[data-v-2964abc9]{\n position: absolute;\n width:100%;\n top:0px;\n left:0px;\n z-index: 1000\n}\n.rel-map-canvas[data-v-2964abc9]{\n position:relative;\n top:0px;\n left:0px;\n /*overflow:hidden;*/\n border: 0px;\n z-index: 3;\n /*background-color: #efefef;*/\n /*border-top: #efefef dashed 1px;*/\n /*border-left: #efefef dashed 1px;*/\n /*width:30px;*/\n /*height:30px;*/\n}\nsvg[data-v-2964abc9] {\n height: 100%;\n width: 100%;\n}\n.rel-linediv[data-v-2964abc9]{\n --stroke:url('#lineStyle');\n --markerEnd:url('#arrow-default');\n --markerEndChecked:url('#arrow-checked');\n}\n.rel-linediv svg[data-v-2964abc9]{\n overflow: visible\n}\n.rel-linediv[data-v-2964abc9] .c-rg-line-checked {\n /*stroke: var(--stroke);*/\n /*marker-end: var(--markerEndChecked) !important;*/\n stroke-width: 2px;\n stroke-dasharray: 5,5,5;\n stroke-dashoffset: 3px;\n stroke-linecap: butt;\n /*stroke: #FD8B37;*/\n stroke-linejoin: bevel;\n /* firefox bug fix - won't rotate at 90deg angles */\n -moz-transform: rotate(-89deg) translateX(-190px);\n animation-timing-function:linear;\n animation: ACTRGLineChecked 10s;\n}\n.rel-map[data-v-2964abc9] img{\n -webkit-user-drag: none;\n -webkit-user-select: none;\n}\n",""])},function(t,e){t.exports=function(t,e){for(var n=[],i={},r=0;r<e.length;r++){var o=e[r],a=o[0],s={id:t+":"+r,css:o[1],media:o[2],sourceMap:o[3]};i[a]?i[a].parts.push(s):n.push(i[a]={id:a,parts:[s]})}return n}},function(t,e){!function(t){var e,n,i,r,o,a,s='<svg><symbol id="icon-iconset0444" viewBox="0 0 1024 1024"><path d="M960 682.666667l-106.666667 0C844.8 569.6 763.733333 42.666667 64 42.666667 51.2 42.666667 42.666667 51.2 42.666667 64c0 12.8 8.533333 21.333333 21.333333 21.333333 219.733333 0 377.6 106.666667 465.066667 315.733333 51.2 123.733333 64 236.8 66.133333 281.6L490.666667 682.666667c-12.8 0-21.333333 8.533333-21.333333 21.333333 0 6.4 2.133333 10.666667 6.4 14.933333l234.666667 256c4.266667 4.266667 8.533333 6.4 14.933333 6.4 6.4 0 10.666667-2.133333 14.933333-6.4l234.666667-256c4.266667-4.266667 6.4-8.533333 6.4-14.933333C981.333333 691.2 972.8 682.666667 960 682.666667zM725.333333 928 539.733333 725.333333 618.666667 725.333333c12.8 0 21.333333-8.533333 21.333333-21.333333l0-21.333333c-4.266667-87.466667-38.4-396.8-273.066667-554.666667C755.2 251.733333 804.266667 588.8 810.666667 682.666667l0 21.333333c0 12.8 8.533333 21.333333 21.333333 21.333333l78.933333 0L725.333333 928z" ></path></symbol><symbol id="icon-iconset0445" viewBox="0 0 1024 1024"><path d="M974.933333 305.066667l-234.666667-256C736 44.8 731.733333 42.666667 725.333333 42.666667c-6.4 0-10.666667 2.133333-14.933333 6.4l-234.666667 256C471.466667 309.333333 469.333333 313.6 469.333333 320c0 12.8 8.533333 21.333333 21.333333 21.333333l104.533333 0c-2.133333 44.8-14.933333 157.866667-66.133333 281.6C441.6 832 283.733333 938.666667 64 938.666667c-12.8 0-21.333333 8.533333-21.333333 21.333333 0 12.8 8.533333 21.333333 21.333333 21.333333 699.733333 0 780.8-526.933333 789.333333-640l106.666667 0c12.8 0 21.333333-8.533333 21.333333-21.333333C981.333333 313.6 979.2 309.333333 974.933333 305.066667zM832 298.666667c-12.8 0-21.333333 8.533333-21.333333 21.333333l0 21.333333c-6.4 93.866667-55.466667 430.933333-443.733333 554.666667 234.666667-157.866667 268.8-467.2 273.066667-554.666667l0-21.333333c0-12.8-8.533333-21.333333-21.333333-21.333333l-78.933333 0L725.333333 96l185.6 202.666667L832 298.666667z" ></path></symbol><symbol id="icon-yuanquanfenxiang" viewBox="0 0 1024 1024"><path d="M751.148705 578.773799c-61.987796 0-117.066229 30.121018-151.388942 76.488045L398.287145 536.382317c1.991354-10.171664 3.046383-20.673855 3.046383-31.419594 0-18.776645-3.196809-36.817534-9.058306-53.621245l193.486736-107.492176c31.949666 58.566884 94.104261 98.391914 165.386748 98.391914 103.803157 0 188.254571-84.450391 188.254571-188.254571S854.951863 65.73105 751.148705 65.73105c-103.804181 0-188.255595 84.450391-188.255595 188.254571 0 14.246469 1.600451 28.125571 4.613064 41.4746L368.032074 406.279167c-29.841655-39.193651-76.976162-64.544015-129.927141-64.544015-90.004897 0-163.228595 73.223698-163.228595 163.228595 0 90.003873 73.223698 163.228595 163.228595 163.228595 60.882626 0 114.078175-33.510208 142.134161-83.049484L575.173808 700.16452c-7.925507 20.788465-12.280698 43.325761-12.280698 66.86385 0 103.803157 84.450391 188.254571 188.255595 188.254571 103.803157 0 188.254571-84.450391 188.254571-188.254571S854.951863 578.773799 751.148705 578.773799zM751.148705 116.89636c75.590606 0 137.089261 61.498656 137.089261 137.089261s-61.498656 137.089261-137.089261 137.089261c-75.591629 0-137.090285-61.498656-137.090285-137.089261S675.557076 116.89636 751.148705 116.89636zM238.105956 617.026008c-61.791321 0-112.063285-50.27094-112.063285-112.063285 0-61.791321 50.27094-112.063285 112.063285-112.063285s112.063285 50.27094 112.063285 112.063285C350.168218 566.755068 299.897278 617.026008 238.105956 617.026008zM751.148705 904.117632c-75.591629 0-137.090285-61.498656-137.090285-137.089261s61.498656-137.089261 137.090285-137.089261c75.590606 0 137.089261 61.498656 137.089261 137.089261S826.739311 904.117632 751.148705 904.117632z" ></path></symbol><symbol id="icon-hj2" viewBox="0 0 1024 1024"><path d="M963.66 256.607c0-0.244 0-0.607-0.126-0.851 0-0.369 0-0.614-0.119-0.978 0-0.369-0.119-0.733-0.119-1.104 0-0.244 0-0.487-0.126-0.725 0-0.369-0.119-0.859-0.244-1.222 0-0.244-0.119-0.369-0.119-0.613-0.126-0.365-0.126-0.852-0.245-1.216 0-0.244-0.126-0.369-0.126-0.613-0.119-0.365-0.244-0.734-0.364-1.222-0.126-0.244-0.126-0.49-0.244-0.609l-0.369-1.095c-0.119-0.245-0.119-0.49-0.244-0.734-0.121-0.369-0.245-0.613-0.365-0.978-0.126-0.244-0.244-0.613-0.369-0.851-0.119-0.244-0.238-0.613-0.364-0.859-0.119-0.364-0.244-0.607-0.364-0.977l-0.371-0.734c-0.119-0.364-0.364-0.725-0.487-0.971-0.119-0.245-0.244-0.371-0.364-0.614-0.244-0.364-0.369-0.733-0.614-1.097-0.119-0.126-0.244-0.369-0.364-0.487l-0.733-1.097c-0.119-0.126-0.244-0.369-0.365-0.487-0.244-0.369-0.487-0.733-0.733-0.978-0.126-0.244-0.244-0.369-0.487-0.613-0.245-0.238-0.49-0.607-0.734-0.851-0.244-0.245-0.487-0.49-0.607-0.734-0.244-0.244-0.369-0.487-0.614-0.733-0.851-0.972-1.829-1.83-2.681-2.682-0.245-0.244-0.49-0.369-0.734-0.614-0.244-0.244-0.487-0.487-0.733-0.607-0.245-0.244-0.614-0.487-0.859-0.733-0.238-0.121-0.364-0.365-0.607-0.49-0.365-0.244-0.734-0.487-0.978-0.733-0.119-0.119-0.364-0.244-0.487-0.365l-1.097-0.733c-0.119-0.119-0.364-0.244-0.487-0.364-0.365-0.244-0.734-0.369-1.097-0.614-0.244-0.119-0.369-0.244-0.613-0.364-0.365-0.126-0.734-0.369-0.972-0.487l-0.734-0.369c-0.369-0.121-0.613-0.245-0.977-0.365-0.244-0.126-0.614-0.244-0.859-0.369-0.244-0.119-0.607-0.238-0.851-0.364-0.365-0.119-0.609-0.244-0.978-0.364-0.244-0.126-0.487-0.126-0.733-0.245l-1.097-0.369c-0.244-0.119-0.487-0.119-0.609-0.244-0.369-0.119-0.733-0.244-1.22-0.364-0.245 0-0.371-0.126-0.614-0.126-0.364-0.119-0.851-0.244-1.216-0.244-0.244 0-0.487-0.121-0.613-0.121-0.364-0.126-0.852-0.126-1.222-0.244-0.244 0-0.482-0.126-0.725-0.126-0.369 0-0.734-0.119-1.104-0.119-0.364 0-0.607 0-0.978-0.126-0.244 0-0.607 0-0.851-0.119h-242.407c-21.604 0-39.062 17.456-39.062 39.062 0 21.604 17.458 39.055 39.062 39.055h146.102l-3.171 3.177-217.27 217.265 0.369 0.369-49.676 49.676-155.87-155.87c-7.694-7.689-17.827-11.472-27.953-11.472-10.13-0.126-20.263 3.659-27.952 11.472l-282.446 282.322c-15.258 15.258-15.258 40.041 0 55.298 15.258 15.258 40.033 15.258 55.291 0l255.108-255.11 155.746 155.751c7.813 7.815 17.945 11.593 28.076 11.474 10.126 0.119 20.382-3.659 28.070-11.474l182.964-182.969c0.734-0.734 1.347-1.342 1.956-2.075l111.564-111.564v146.109c0 21.604 17.451 39.060 39.055 39.060s39.062-17.456 39.062-39.060v-235.085c0-0.244 0.126-0.49 0.126-0.614 0-0.244 0.119-0.487 0.119-0.733 0-0.364 0.119-0.734 0.119-1.097s0-0.607 0.126-0.977c0-0.245 0-0.609 0.119-0.852-0.122-1.466-0.122-2.807-0.122-4.030v0zM963.66 256.607z" ></path></symbol><symbol id="icon-circleyuanquan" viewBox="0 0 1024 1024"><path d="M150.1184 150.1184C250.2656 50.0736 370.8928 0 512 0c141.1072 0 261.7344 50.0736 361.8816 150.1184C973.9264 250.2656 1024 370.8928 1024 512c0 141.2096-50.0736 261.8368-150.1184 361.8816C773.7344 973.9264 653.1072 1024 512 1024c-141.1072 0-261.7344-50.0736-361.8816-150.1184C50.0736 773.8368 0 653.2096 0 512 0 370.8928 50.0736 250.2656 150.1184 150.1184zM512 41.8816c-85.2992 0-164.1472 20.8896-236.3392 62.7712C203.4688 146.432 146.432 203.4688 104.6528 275.6608 62.7712 347.9552 41.8816 426.7008 41.8816 512c0 129.6384 45.9776 240.4352 137.8304 332.288C271.5648 936.2432 382.3616 982.1184 512 982.1184c129.6384 0 240.4352-45.8752 332.288-137.8304C936.2432 752.4352 982.1184 641.6384 982.1184 512c0-129.6384-45.9776-240.3328-137.8304-332.288C752.4352 87.7568 641.6384 41.8816 512 41.8816zM512 256c-36.1472 0-70.144 7.0656-102.1952 20.8896C377.856 290.9184 349.4912 309.3504 324.9152 332.288c-22.9376 24.576-41.472 52.9408-55.3984 84.8896S248.6272 483.328 248.6272 519.3728c0 36.1472 6.9632 70.144 20.8896 102.1952s32.4608 60.3136 55.3984 84.8896C349.4912 729.4976 377.856 747.9296 409.8048 761.856 441.856 775.7824 475.8528 782.7456 512 782.7456c36.1472 0 70.144-6.9632 102.1952-20.8896C646.144 747.9296 674.5088 729.4976 699.0848 706.4576c22.9376-24.576 41.472-52.9408 55.3984-84.8896s20.8896-66.048 20.8896-102.1952c0-36.0448-6.9632-70.144-20.8896-102.1952S722.0224 356.9664 699.0848 332.288C674.5088 309.3504 646.144 290.9184 614.1952 276.8896 582.144 263.0656 548.1472 256 512 256z" ></path></symbol><symbol id="icon-bhjlink" viewBox="0 0 1024 1024"><path d="M901.920618 465.785468c-50.993571 0-94.522533 32.698367-110.688942 78.273953L702.244627 544.059421c1.764013-10.590222 2.890616-21.423121 2.890616-32.694527 0-72.177856-40.480145-134.923579-99.898281-166.857822l34.099901-112.776268c8.829281 2.126492 18.1347 3.327588 27.724265 3.327588 64.833817 0 117.472367-52.597848 117.472367-117.589097C784.532727 52.594008 731.894177 0 667.06036 0c-64.911381 0-117.509229 52.594008-117.509229 117.470063 0 49.305587 30.248562 91.349307 73.177745 108.842756l-33.419485 110.692013c-22.548956-9.588797-47.462473-14.807112-73.540224-14.807112-49.18732 0-93.841349 18.658451-127.540374 49.309426L213.348053 196.583401l-1.886119 2.008226c19.940183-21.103648 32.256788-49.588197 32.256788-81.003297 0-64.872983-52.517212-117.470063-117.470063-117.470063-64.913685 0-117.511533 52.59708-117.511533 117.470063 0 65.034255 52.59708 117.592169 117.511533 117.592169 31.412796 0 59.898881-12.358075 80.921125-32.335888l-6.179038 6.056931 174.960609 174.879973c-30.729308 33.66293-49.506025 78.47516-49.506025 127.661712 0 43.008283 14.401627 82.685138 38.593258 114.501114l-149.845117 120.999625c-21.503757-28.044506-55.285722-46.218372-93.357532-46.218372-64.874519 0-117.430897 52.719186-117.430897 117.592169 0 64.833049 52.556378 117.470063 117.430897 117.470063 64.872983 0 117.549163-52.637014 117.549163-117.470063 0-20.541499-5.335813-39.878062-14.602834-56.68956l151.369526-122.203792c34.584487 37.633303 84.29095 61.384123 139.618142 61.384123 28.082136 0 54.602234-6.057699 78.553492-17.091805l52.716114 119.514383c-35.585143 20.222026-59.497236 58.335306-59.497236 102.106945 0 64.912149 52.637014 117.549163 117.592169 117.549163 64.872983 0 117.388659-52.637014 117.388659-117.549163 0-64.833049-52.516444-117.513069-117.388659-117.513069-15.047485 0-29.248673 2.929782-42.446133 7.903885l-52.798286-120.034294c42.807844-24.554878 75.182898-65.518073 88.46253-114.221576l88.222926 0c-1.405374 7.018422-1.96522 14.241123-1.96522 21.743362 0 64.872983 52.557914 117.509997 117.387123 117.509997 64.995089 0 117.596009-52.637014 117.596009-117.509997C1019.508947 518.383316 966.994039 465.785468 901.920618 465.785468L901.920618 465.785468zM901.920618 465.785468" ></path></symbol><symbol id="icon-lianjie_connecting5" viewBox="0 0 1024 1024"><path d="M801.25952 251.74016l-28.9792-28.99968-150.79424 150.8352-35.1232-35.10272-99.14368 99.16416 99.14368 99.16416 99.16416-99.16416-35.10272-35.1232zM487.19872 476.8768l-29.94176 29.94176-19.61984-19.61984-99.16416 99.16416 35.10272 35.1232-150.8352 150.79424 28.95872 28.95872 150.8352-150.79424 35.10272 35.10272 99.14368-99.14368-19.61984-19.64032 29.96224-29.96224-59.92448-59.92448z m-15.48288 44.4416l15.4624-15.4624 30.98624 30.98624-15.4624 15.44192-30.98624-30.96576z" fill="" ></path></symbol><symbol id="icon-xiazai" viewBox="0 0 1024 1024"><path d="M840.5 900.3h-657c-16.5 0-29.9 13.4-29.9 29.9s13.4 29.9 29.9 29.9h657.1c16.5 0 29.9-13.4 29.9-29.9-0.1-16.6-13.5-29.9-30-29.9zM631.5 123.7V541.8H763.1L512 769.9l-251.2-228h131.7V123.7h239m0-59.7h-239c-33 0-59.7 26.7-59.7 59.7v358.4H183.5c-26.6 0-39.9 32.2-21.1 51l328.5 298.2c5.8 5.8 13.5 8.7 21.1 8.7s15.3-2.9 21.1-8.7l328.5-298.2c18.8-18.8 5.5-51-21.1-51H691.2V123.7c0-33-26.7-59.7-59.7-59.7z" ></path></symbol><symbol id="icon-ico_reset" viewBox="0 0 1024 1024"><path d="M925.97087933 277.33133334a479.997 479.997 0 1 0 54.33566 255.9984H916.05094133a415.9974 415.9974 0 1 1-64.191599-255.9984h74.047537z" ></path><path d="M978.64255033 61.01268534L725.33213333 371.09074734h297.59814z" ></path></symbol><symbol id="icon-fangda" viewBox="0 0 1024 1024"><path d="M768 448a320 320 0 1 0-320 320 320 320 0 0 0 320-320z m64 0A384 384 0 1 1 448 64a384 384 0 0 1 384 384z" ></path><path d="M681.28 726.72a32 32 0 0 1 45.44-45.44l160 160a32 32 0 0 1-45.44 45.44zM320 480a32 32 0 0 1 0-64h256a32 32 0 0 1 0 64z" ></path><path d="M480 576a32 32 0 0 1-64 0V320a32 32 0 0 1 64 0z" ></path></symbol><symbol id="icon-zidong" viewBox="0 0 1024 1024"><path d="M131.3 363.3c-19.2 47.3-28.9 97.3-28.9 148.7 0 51.3 9.7 101.3 28.9 148.7 7 17.2 15.1 33.8 24.3 49.7l15.8-49.1 42.8 13.8-39.8 123.8-42.8-13.9-80.9-26 13.8-42.8 52.3 16.8c-98-168.4-74.8-387.9 69.4-532.1C342.4 44.7 586.9 30.5 759.1 158.3l-32.2 32.2c-25.1-18-52.1-32.9-80.9-44.6-47.3-19.2-97.3-28.9-148.7-28.9-51.3 0-101.3 9.7-148.7 28.9-49 19.9-92.9 49.1-130.6 86.8s-66.9 81.7-86.7 130.6z m828.3-60.2l13.8-42.8-80.9-26-42.8-13.8-39.8 123.8 42.8 13.8 15-46.7c9.8 16.6 18.4 34 25.8 52.1 19.2 47.3 28.9 97.3 28.9 148.7 0 51.3-9.7 101.3-28.9 148.7-19.9 49-49.1 92.9-86.8 130.6C768.9 829 725 858.2 676 878.1c-47.3 19.2-97.3 28.9-148.7 28.9-51.3 0-101.3-9.7-148.7-28.9-28.8-11.7-55.9-26.6-80.9-44.6l-32.2 32.2c126.3 93.7 382.6 147.7 572.9-42.6 145.8-145.8 167.9-368.6 66.1-537.7l55.1 17.7zM474 241.2L295 730.4h64.8l50.5-148.2h195.3l54 148.2h70.3L539.6 241.2H474z m-45.9 288.3L479.8 386c11-30.9 19.4-62.1 25.4-93.4 6.9 26 17.9 59.9 32.8 101.5l48.2 135.5H428.1z" fill="" ></path></symbol><symbol id="icon-quanping" viewBox="0 0 1024 1024"><path d="M795.5 192H581c-19.6 0-35.6 15.7-36 35.3-0.4 20.3 16.4 36.7 36.7 36.7h128.4L581 393.1c-14 14-14 36.9 0 50.9s36.9 14 50.9 0L760 315.9v129c0 19.6 15.8 35.6 35.3 36 20.2 0.4 36.7-16.4 36.7-36.7V228.5c0-20.1-16.3-36.5-36.5-36.5zM442.2 760H313.8L443 630.9c14-14 14-36.9 0-50.9s-36.9-14-50.9 0L264 708.1V579c0-19.6-15.8-35.6-35.3-36-20.2-0.4-36.7 16.4-36.7 36.7v215.6c0 20.3 16.4 36.7 36.7 36.7H443c19.6 0 35.6-15.7 36-35.3 0.3-20.3-16.5-36.7-36.8-36.7z" ></path><path d="M838 136c27.6 0 50 22.4 50 50v652c0 27.6-22.4 50-50 50H186c-27.6 0-50-22.4-50-50V186c0-27.6 22.4-50 50-50h652m0-72H186c-16.4 0-32.4 3.2-47.5 9.6-14.5 6.1-27.6 14.9-38.8 26.1-11.2 11.2-20 24.2-26.1 38.8-6.4 15.1-9.6 31.1-9.6 47.5v652c0 16.4 3.2 32.4 9.6 47.5 6.1 14.5 14.9 27.6 26.1 38.8 11.2 11.2 24.2 20 38.8 26.1 15.1 6.4 31.1 9.6 47.5 9.6h652c16.4 0 32.4-3.2 47.5-9.6 14.5-6.1 27.6-14.9 38.8-26.1 11.2-11.2 20-24.2 26.1-38.8 6.4-15.1 9.6-31.1 9.6-47.5V186c0-16.4-3.2-32.4-9.6-47.5-6.1-14.5-14.9-27.6-26.1-38.8-11.2-11.2-24.2-20-38.8-26.1-15.1-6.4-31.1-9.6-47.5-9.6z" ></path></symbol><symbol id="icon-lianjieliu" viewBox="0 0 1024 1024"><path d="M280.224 425.856h348.608a29.536 29.536 0 1 0 0-59.072H280.224c-52.448 0-93.152-34.304-93.152-73.856s40.704-73.856 93.152-73.856h140.128C432.096 258.816 468.448 288 512 288s79.904-29.184 91.648-68.928h178.08a29.536 29.536 0 1 0 0-59.072h-179.584C588.896 122.784 553.728 96 512 96s-76.896 26.784-90.112 64H280.224C197.184 160 128 218.272 128 292.928s69.184 132.928 152.224 132.928z" ></path><path d="M895.936 415.2A96 96 0 1 0 800 512c30.656 0 57.632-14.624 75.2-36.992 10.56 12.064 16.832 26.56 16.832 41.92 0 39.552-40.704 73.856-93.152 73.856H306.016A95.584 95.584 0 0 0 224 544a95.68 95.68 0 0 0-95.232 88.352C89.888 656.224 64 695.424 64 740.928c0 74.656 69.184 132.928 152.224 132.928h241.728A95.808 95.808 0 0 0 544 928a96 96 0 1 0 0-192 95.904 95.904 0 0 0-94.272 78.752H216.224c-52.448 0-93.152-34.304-93.152-73.856 0-17.504 8.32-33.792 21.76-46.72A95.808 95.808 0 0 0 224 736a95.68 95.68 0 0 0 95.008-86.144h479.84c83.072 0 152.224-58.272 152.224-132.928 0.032-41.536-21.824-77.568-55.136-101.728z" ></path></symbol><symbol id="icon-shuaxin" viewBox="0 0 1024 1024"><path d="M512 919.552c-224.768 0-407.552-182.784-407.552-407.552 0-8.704 0.512-17.408 1.024-26.112l71.68 4.608c-0.512 7.168-0.512 14.336-0.512 21.504 0 185.344 150.528 335.872 335.872 335.872 86.528 0 168.448-32.768 230.912-92.16l49.152 52.224C716.288 880.128 616.96 919.552 512 919.552zM919.552 512h-71.68c0-11.776-0.512-23.552-2.048-35.328-17.92-171.52-161.28-300.544-334.336-300.544-67.584 0-132.096 19.968-187.904 57.344L284.16 174.08c67.072-45.568 145.92-69.632 227.84-69.632 209.408 0 384 156.672 405.504 365.056 1.536 13.824 2.048 28.16 2.048 42.496z" fill="#707070" ></path><path d="M140.288 290.816L28.16 491.52c-3.072 5.12 1.024 11.776 6.656 11.776H258.56c6.144 0 9.728-6.144 6.656-11.776L153.6 290.816c-3.072-5.632-10.752-5.632-13.312 0zM870.4 675.84L758.272 475.136c-3.072-5.12 1.024-11.776 6.656-11.776h223.744c6.144 0 9.728 6.144 6.656 11.776L883.712 675.84c-2.56 5.12-10.24 5.12-13.312 0zM270.336 202.24a35.84 35.84 0 1 0 71.68 0 35.84 35.84 0 1 0-71.68 0zM728.576 784.896a35.84 35.84 0 1 0 71.68 0 35.84 35.84 0 1 0-71.68 0z" fill="#707070" ></path></symbol><symbol id="icon-resize-" viewBox="0 0 1024 1024"><path d="M410.816 673.514667L230.997333 853.333333H384v85.333334H85.333333V640h85.333334v153.002667l179.818666-179.84 60.330667 60.373333z m-53.632-256L170.666667 230.997333V384H85.333333V85.333333h298.666667v85.333334h-153.002667l186.517334 186.517333-60.330667 60.330667z m234.666667-45.696L793.002667 170.666667H640V85.333333h298.666667v298.666667h-85.333334v-153.002667l-201.152 201.173334-60.330666-60.373334z m67.029333 226.709333L853.333333 793.002667V640h85.333334v298.666667H640v-85.333334h153.002667l-194.474667-194.453333 60.352-60.352z" ></path></symbol><symbol id="icon-guanxitu" viewBox="0 0 1024 1024"><path d="M209.003789 401.084632l29.749895-44.948211 107.843369 71.464421-29.749895 44.894316zM682.469053 546.600421l-14.551579-51.846737 124.496842-35.031579 14.551579 51.846737zM315.068632 812.840421l-40.367158-35.678316 85.692631-96.902737 40.421053 35.732211zM597.962105 390.251789l-46.672842-26.947368 43.11579-74.64421 46.672842 26.947368zM615.639579 728.764632l41.121684-34.816 83.536842 98.735157-41.121684 34.816z" fill="#444A5C" ></path><path d="M501.221053 765.305263c-118.568421 0-215.578947-97.010526-215.578948-215.578947s97.010526-215.578947 215.578948-215.578948 215.578947 97.010526 215.578947 215.578948-97.010526 215.578947-215.578947 215.578947z m0-377.263158c-91.621053 0-161.684211 70.063158-161.684211 161.684211s70.063158 161.684211 161.684211 161.68421 161.684211-70.063158 161.68421-161.68421-75.452632-161.684211-161.68421-161.684211zM167.073684 452.715789c-59.284211 0-107.789474-48.505263-107.789473-107.789473s48.505263-107.789474 107.789473-107.789474 107.789474 48.505263 107.789474 107.789474-48.505263 107.789474-107.789474 107.789473z m0-161.68421c-32.336842 0-53.894737 21.557895-53.894737 53.894737s21.557895 53.894737 53.894737 53.894737 53.894737-21.557895 53.894737-53.894737-26.947368-53.894737-53.894737-53.894737zM253.305263 948.547368c-59.284211 0-107.789474-48.505263-107.789474-107.789473s48.505263-107.789474 107.789474-107.789474 107.789474 48.505263 107.789474 107.789474-48.505263 107.789474-107.789474 107.789473z m0-161.68421c-32.336842 0-53.894737 21.557895-53.894737 53.894737s21.557895 53.894737 53.894737 53.894737 53.894737-21.557895 53.894737-53.894737-21.557895-53.894737-53.894737-53.894737zM856.926316 576.673684c-59.284211 0-107.789474-48.505263-107.789474-107.789473s48.505263-107.789474 107.789474-107.789474 107.789474 48.505263 107.789473 107.789474-48.505263 107.789474-107.789473 107.789473z m0-161.68421c-32.336842 0-53.894737 21.557895-53.894737 53.894737s21.557895 53.894737 53.894737 53.894736 53.894737-21.557895 53.894737-53.894736-21.557895-53.894737-53.894737-53.894737zM662.905263 350.315789C592.842105 350.315789 528.168421 291.031579 528.168421 215.578947s59.284211-134.736842 134.736842-134.736842 134.736842 59.284211 134.736842 134.736842-59.284211 134.736842-134.736842 134.736842z m0-215.578947c-43.115789 0-80.842105 37.726316-80.842105 80.842105s37.726316 80.842105 80.842105 80.842106 80.842105-37.726316 80.842105-80.842106-32.336842-80.842105-80.842105-80.842105zM749.136842 921.6c-43.115789 0-80.842105-37.726316-80.842105-80.842105s37.726316-80.842105 80.842105-80.842106 80.842105 37.726316 80.842105 80.842106-37.726316 80.842105-80.842105 80.842105z m0-107.789474c-16.168421 0-26.947368 10.778947-26.947368 26.947369s10.778947 26.947368 26.947368 26.947368 26.947368-10.778947 26.947369-26.947368-10.778947-26.947368-26.947369-26.947369z" fill="#444A5C" ></path></symbol><symbol id="icon-tupian" viewBox="0 0 1024 1024"><path d="M938.666667 553.92V768c0 64.8-52.533333 117.333333-117.333334 117.333333H202.666667c-64.8 0-117.333333-52.533333-117.333334-117.333333V256c0-64.8 52.533333-117.333333 117.333334-117.333333h618.666666c64.8 0 117.333333 52.533333 117.333334 117.333333v297.92z m-64-74.624V256a53.333333 53.333333 0 0 0-53.333334-53.333333H202.666667a53.333333 53.333333 0 0 0-53.333334 53.333333v344.48A290.090667 290.090667 0 0 1 192 597.333333a286.88 286.88 0 0 1 183.296 65.845334C427.029333 528.384 556.906667 437.333333 704 437.333333c65.706667 0 126.997333 16.778667 170.666667 41.962667z m0 82.24c-5.333333-8.32-21.130667-21.653333-43.648-32.917333C796.768 511.488 753.045333 501.333333 704 501.333333c-121.770667 0-229.130667 76.266667-270.432 188.693334-2.730667 7.445333-7.402667 20.32-13.994667 38.581333-7.68 21.301333-34.453333 28.106667-51.370666 13.056-16.437333-14.634667-28.554667-25.066667-36.138667-31.146667A222.890667 222.890667 0 0 0 192 661.333333c-14.464 0-28.725333 1.365333-42.666667 4.053334V768a53.333333 53.333333 0 0 0 53.333334 53.333333h618.666666a53.333333 53.333333 0 0 0 53.333334-53.333333V561.525333zM320 480a96 96 0 1 1 0-192 96 96 0 0 1 0 192z m0-64a32 32 0 1 0 0-64 32 32 0 0 0 0 64z" ></path></symbol><symbol id="icon-juhejiedian" viewBox="0 0 1024 1024"><path d="M533.333333 725.333333a64 64 0 1 1-64 64 64 64 0 0 1 64-64m0-85.333333a149.333333 149.333333 0 1 0 149.333334 149.333333 149.333333 149.333333 0 0 0-149.333334-149.333333z" fill="#666666" ></path><path d="M533.333333 277.333333m-106.666666 0a106.666667 106.666667 0 1 0 213.333333 0 106.666667 106.666667 0 1 0-213.333333 0Z" fill="#666666" ></path><path d="M277.333333 320m-106.666666 0a106.666667 106.666667 0 1 0 213.333333 0 106.666667 106.666667 0 1 0-213.333333 0Z" fill="#666666" ></path><path d="M789.333333 320m-106.666666 0a106.666667 106.666667 0 1 0 213.333333 0 106.666667 106.666667 0 1 0-213.333333 0Z" fill="#666666" ></path><path d="M512 341.333333h42.666667v384h-42.666667z" fill="#666666" ></path><path d="M741.290667 357.504l30.165333 30.165333-225.066667 225.066667-30.165333-30.165333z" fill="#666666" ></path><path d="M558.08 582.016l-30.165333 30.165333-228.693334-228.693333 30.165334-30.165333z" fill="#666666" ></path></symbol><symbol id="icon-ziyuan" viewBox="0 0 1024 1024"><path d="M236.615854 752.86913h-0.484162A241.500139 241.500139 0 0 1 0.538332 527.733676a238.78883 238.78883 0 0 1 64.684079-180.011531 242.081134 242.081134 0 0 1 149.025146-74.367324 298.534454 298.534454 0 0 1 596.003751 25.951097V300.95207a221.262156 221.262156 0 0 1 213.031398 233.075715 222.714643 222.714643 0 0 1-221.262156 209.1581h-3.098639a27.500417 27.500417 0 0 1 0-54.904001h2.711309A167.520145 167.520145 0 0 0 968.378705 531.219644a166.261323 166.261323 0 0 0-166.16449-175.363573 151.058627 151.058627 0 0 0-18.204502 1.065157 27.500417 27.500417 0 0 1-30.211725-30.308558 240.822312 240.822312 0 0 0 1.549319-27.306752 243.727285 243.727285 0 0 0-487.357738 0 27.500417 27.500417 0 0 1-27.403584 27.500417 185.627813 185.627813 0 0 0-185.240484 197.538205A186.30564 186.30564 0 0 0 237.100016 697.965129a27.500417 27.500417 0 0 1-0.484162 54.904001z" ></path><path d="M513.266174 1021.869686a27.500417 27.500417 0 0 1-27.500417-27.403584v-484.162268a27.500417 27.500417 0 1 1 54.904001 0v484.162268a27.403584 27.403584 0 0 1-27.403584 27.403584z" ></path><path d="M513.266174 1024a27.500417 27.500417 0 0 1-19.366491-8.037094L342.260061 864.129619a27.500417 27.500417 0 1 1 38.732981-38.732981L513.266174 957.766602l130.530147-130.336483a27.500417 27.500417 0 0 1 38.732981 38.732982L532.632664 1015.962906a27.403584 27.403584 0 0 1-19.36649 8.037094z" ></path></symbol><symbol id="icon-add-select" viewBox="0 0 1024 1024"><path d="M544 213.333333v266.666667H810.666667v64H544V810.666667h-64V544H213.333333v-64h266.666667V213.333333z" ></path></symbol><symbol id="icon-sami-select" viewBox="0 0 1024 1024"><path d="M810.666667 480v64H213.333333v-64z" ></path></symbol><symbol id="icon-icon_shuaxin" viewBox="0 0 1024 1024"><path d="M512 938.666667c-55.371852 0-109.226667-10.903704-159.857778-32.237037-48.924444-20.66963-92.823704-50.251852-130.465185-87.988149-37.736296-37.736296-67.318519-81.635556-87.988148-130.465185-21.428148-50.631111-32.237037-104.391111-32.237037-159.857777s10.903704-109.226667 32.237037-159.857778c20.66963-48.924444 50.251852-92.823704 87.988148-130.465185 37.736296-37.736296 81.635556-67.318519 130.465185-87.988149 50.631111-21.428148 104.391111-32.237037 159.857778-32.237037 63.81037 0 125.060741 14.222222 181.854815 42.382223 54.139259 26.832593 102.684444 66.085926 140.325926 113.682963 7.300741 9.197037 5.783704 22.660741-3.508148 29.961481-9.197037 7.300741-22.660741 5.783704-29.961482-3.508148-70.257778-88.936296-175.502222-139.946667-288.711111-139.946667-202.808889 0-367.881481 165.072593-367.881481 367.881482s165.072593 367.881481 367.881481 367.881481 367.881481-165.072593 367.881481-367.881481c0-11.757037 9.576296-21.333333 21.333334-21.333334S922.548148 516.361481 922.548148 528.118519c0 55.371852-10.903704 109.226667-32.237037 159.857777-20.66963 48.924444-50.251852 92.823704-87.988148 130.465185-37.736296 37.736296-81.635556 67.318519-130.465185 87.988149-50.631111 21.428148-104.485926 32.237037-159.857778 32.237037z" ></path><path d="M817.398519 308.242963c-11.757037 0-21.333333-9.576296-21.333334-21.333333V106.666667c0-11.757037 9.576296-21.333333 21.333334-21.333334s21.333333 9.576296 21.333333 21.333334v180.242963c0 11.757037-9.481481 21.333333-21.333333 21.333333z" ></path><path d="M817.398519 308.242963H637.155556c-11.757037 0-21.333333-9.576296-21.333334-21.333333s9.576296-21.333333 21.333334-21.333334h180.242963c11.757037 0 21.333333 9.576296 21.333333 21.333334s-9.481481 21.333333-21.333333 21.333333z" ></path></symbol><symbol id="icon-lianjiezhong" viewBox="0 0 1024 1024"><path d="M883.396923 298.141538a99.721846 99.721846 0 0 1-142.414769 0 103.187692 103.187692 0 0 1 0-144.423384 99.721846 99.721846 0 0 1 142.414769 0 103.187692 103.187692 0 0 1 0 144.423384zM285.144615 760.438154a87.276308 87.276308 0 0 0-124.652307 0 90.269538 90.269538 0 0 0 0 126.385231c34.422154 34.894769 90.230154 34.894769 124.652307 0a90.269538 90.269538 0 0 0 0-126.424616z m482.579693 108.307692a64.472615 64.472615 0 0 1 0-90.269538 62.345846 62.345846 0 0 1 89.00923 0c24.576 24.930462 24.576 65.378462 0 90.269538a62.345846 62.345846 0 0 1-89.00923 0zM294.006154 298.141538a103.187692 103.187692 0 0 0 0-144.423384 99.721846 99.721846 0 0 0-142.454154 0 103.187692 103.187692 0 0 0 0 144.423384 99.721846 99.721846 0 0 0 142.454154 0z m324.214154-196.01723c0 56.438154-45.095385 102.163692-100.745846 102.163692-55.611077 0-100.706462-45.725538-100.706462-102.163692C416.768 45.725538 461.863385 0 517.474462 0c55.650462 0 100.745846 45.725538 100.745846 102.124308zM517.474462 870.793846c-41.747692 0-75.539692 34.264615-75.539693 76.603077 0 42.299077 33.831385 76.603077 75.539693 76.603077 41.747692 0 75.539692-34.264615 75.539692-76.603077 0-42.299077-33.792-76.603077-75.539692-76.603077z m416.768-294.990769c-27.805538 0-50.333538-22.843077-50.333539-51.042462 0-28.199385 22.528-51.042462 50.333539-51.042461 27.844923 0 50.412308 22.843077 50.372923 51.042461 0 28.199385-22.567385 51.081846-50.372923 51.081847zM201.452308 524.8c0-56.398769-45.095385-102.124308-100.745846-102.124308C45.095385 422.596923 0 468.283077 0 524.760615c0 56.398769 45.095385 102.124308 100.706462 102.124308 55.650462 0 100.745846-45.686154 100.745846-102.124308z" ></path></symbol><symbol id="icon-loading" viewBox="0 0 1024 1024"><path d="M563.2 819.2a102.4 102.4 0 1 1 0 204.8 102.4 102.4 0 0 1 0-204.8z m-320.4608-153.6a128 128 0 1 1 0 256 128 128 0 0 1 0-256z m592.7936 25.6a102.4 102.4 0 1 1 0 204.8 102.4 102.4 0 0 1 0-204.8zM947.2 477.1328a76.8 76.8 0 1 1 0 153.6 76.8 76.8 0 0 1 0-153.6zM128 307.2a128 128 0 1 1 0 256 128 128 0 0 1 0-256z m782.6432-40.6016a51.2 51.2 0 1 1 0 102.4 51.2 51.2 0 0 1 0-102.4zM409.6 0a153.6 153.6 0 1 1 0 307.2 153.6 153.6 0 0 1 0-307.2z m384 153.6a25.6 25.6 0 1 1 0 51.2 25.6 25.6 0 0 1 0-51.2z" fill="#555555" ></path></symbol><symbol id="icon-tupushujuyuan" viewBox="0 0 1024 1024"><path d="M851.456 588.288c-13.312 0-25.6 2.048-37.888 5.12l-90.112-155.648 55.296-31.744c18.944 17.92 44.032 29.184 72.192 29.184 57.344 0 103.936-46.592 103.936-103.936s-46.592-103.936-103.936-103.936c-57.344 0-103.936 46.592-103.936 103.936 0 5.12 0.512 10.24 1.536 15.36l-58.368 33.792-82.944-143.872c26.112-25.088 41.984-59.904 41.984-98.816 0-75.776-61.44-137.216-137.216-137.216s-137.216 61.44-137.216 137.216c0 38.912 15.872 73.728 41.984 98.816l-84.992 146.944-56.832-32.768c1.024-6.144 2.048-12.8 2.048-19.456 0-57.344-46.592-103.936-103.936-103.936-57.344 0-103.936 46.592-103.936 103.936s46.592 103.936 103.936 103.936c26.624 0 51.2-10.24 69.12-26.624l56.32 32.768-88.064 152.576c-11.776-3.584-24.576-5.12-37.888-5.12-75.776 0-137.216 61.44-137.216 137.216s61.44 137.216 137.216 137.216c64.512 0 118.272-44.544 133.12-103.936h173.056v61.44c-40.96 13.824-70.656 52.736-70.656 98.816 0 57.344 46.592 103.936 103.936 103.936s103.936-46.592 103.936-103.936c0-46.08-29.696-84.48-70.656-98.816v-61.44h173.056c14.848 59.904 69.12 103.936 133.12 103.936 75.776 0 137.216-61.44 137.216-137.216s-61.44-137.728-137.216-137.728z m-410.112-450.048c0-38.912 31.744-70.656 70.656-70.656s70.656 31.744 70.656 70.656c0 13.824-4.096 26.624-10.752 37.376-12.288 19.456-33.28 32.256-57.856 33.28h-5.12c-24.576-1.024-45.568-13.824-57.856-33.28-6.144-10.752-9.728-24.064-9.728-37.376z m32.768 132.096c11.776 3.584 24.576 5.12 37.888 5.12s25.6-2.048 37.888-5.12l82.944 143.872-124.416 72.192-118.784-68.608 84.48-147.456z m-301.568 526.336c-38.912 0-70.656-31.744-70.656-70.656 0-38.912 31.744-70.656 70.656-70.656h2.56c24.576 1.024 45.568 13.824 57.856 33.28 1.024 1.536 1.536 2.56 2.56 4.096 5.12 9.728 8.192 20.992 8.192 33.28 0 11.776-3.072 23.552-8.192 33.28-12.288 22.016-35.84 37.376-62.976 37.376z m133.12-103.936c-6.144-25.6-19.456-48.128-37.888-65.536l88.064-152.576 122.88 70.656v146.944h-173.056z m239.616-151.552l120.832-69.632 90.112 155.648c-18.432 17.408-31.744 39.936-37.888 65.536h-173.056v-151.552z m306.176 255.488c-27.136 0-50.688-15.36-62.464-37.376-5.12-9.728-8.192-21.504-8.192-33.28 0-12.288 3.072-23.552 8.192-33.28 0.512-1.536 1.536-3.072 2.56-4.096 12.288-19.456 33.28-32.768 57.856-33.28h2.56c38.912 0 70.656 31.744 70.656 70.656-0.512 38.912-32.256 70.656-71.168 70.656z" ></path></symbol><symbol id="icon-jiedian" viewBox="0 0 1024 1024"><path d="M882.1914 744.849921c-60.501005 0-112.097749 38.645092-131.425292 92.560342H244.912146c-80.468136 0-145.955927-62.61964-145.955926-139.570043 0-77.000371 65.487791-139.570043 145.955926-139.570043h136.312143c19.497433 53.585462 70.934281 91.950735 131.205434 91.950735 60.241173 0 111.688014-38.375266 131.205434-91.950735h136.452052C914.210763 558.280171 1023.340425 453.92743 1023.340425 325.660102S914.210763 93.040033 780.077216 93.040033H273.093982c-19.197627-54.165089-70.944274-93.040033-131.595182-93.040033C64.508422 0 1.928757 62.569672 1.928757 139.560049c0 76.950403 62.579665 139.570043 139.570043 139.570043 60.640915 0 112.377569-38.894931 131.585189-93.040033h506.993227c80.468136 0 145.955927 62.61964 145.955927 139.570043 0 77.000371-65.487791 139.570043-145.955927 139.570043H644.414655c-18.887826-54.734722-70.924287-94.139324-131.974938-94.139325-61.090625 0-113.097105 39.394609-131.974938 94.139325H244.912146c-134.133547 0-243.263209 104.352741-243.263209 232.620069 0 128.267328 109.129663 232.620069 243.263209 232.620069h505.524174c19.057717 54.394941 70.9043 93.529717 131.75508 93.529717 76.950403 0 139.570043-62.61964 139.570043-139.570043 0.009994-77.000371-62.61964-139.580036-139.570043-139.580036zM141.428845 207.036558c-37.166045 0-67.376574-30.230515-67.376574-67.376573 0-37.166045 30.210528-67.376574 67.376574-67.376574 37.146058 0 67.376574 30.210528 67.376573 67.376574 0 37.146058-30.230515 67.376574-67.376573 67.376573z m371.000878 236.257725c37.146058 0 67.376574 30.210528 67.376574 67.376574 0 37.146058-30.230515 67.376574-67.376574 67.376573-37.166045 0-67.376574-30.230515-67.376574-67.376573 0.009994-37.176039 30.210528-67.376574 67.376574-67.376574z m369.761677 508.502254c-37.166045 0-67.376574-30.230515-67.376574-67.376573 0-37.166045 30.210528-67.376574 67.376574-67.376574 37.146058 0 67.376574 30.210528 67.376574 67.376574 0 37.146058-30.230515 67.376574-67.376574 67.376573z" ></path></symbol><symbol id="icon-shitujiedianxianshi" viewBox="0 0 1367 1024"><path d="M1235.403267 512.03593a130.596433 130.596433 0 0 0-42.68749 7.796802l-193.295715-290.430872A149.113837 149.113837 0 1 0 724.647767 149.48464a151.777744 151.777744 0 0 0 37.229729 97.849864l-194.920048 357.873209a220.519548 220.519548 0 0 0-55.162374-8.511508 207.914718 207.914718 0 0 0-114.807909 34.046035L240.401393 443.683967a126.763005 126.763005 0 0 0-75.564005-182.380192 127.737605 127.737605 0 1 0 12.99467 239.816633l157.625345 188.422713A213.307506 213.307506 0 1 0 643.23616 643.282096l190.956674-350.856087a164.187654 164.187654 0 0 0 39.56877 6.172468 143.591102 143.591102 0 0 0 60.555162-12.99467l192.516034 288.026859a121.760057 121.760057 0 0 0-18.582377 64.973349 128.127445 128.127445 0 1 0 127.152844-126.568085zM129.621832 448.362048a68.157044 68.157044 0 1 1 68.157044-68.092071A68.157044 68.157044 0 0 1 129.621832 448.362048z m528.948039 365.670011a145.86517 145.86517 0 1 1-145.86517-145.86517 145.86517 145.86517 0 0 1 145.86517 145.86517z m215.12676-577.937944a87.389155 87.389155 0 1 1 87.389155-87.389155 87.389155 87.389155 0 0 1-87.389155 87.389155z m365.085251 474.305451a68.157044 68.157044 0 1 1 68.222017-68.416937 68.157044 68.157044 0 0 1-68.222017 68.157044z" ></path></symbol><symbol id="icon-shituxianshiquanbujiedian" viewBox="0 0 1367 1024"><path d="M1235.403267 512.03593a130.596433 130.596433 0 0 0-42.68749 7.796802l-193.295715-290.430872A149.113837 149.113837 0 1 0 724.647767 149.48464a151.777744 151.777744 0 0 0 37.229729 97.849864l-194.920048 357.873209a220.519548 220.519548 0 0 0-55.162374-8.511508 207.914718 207.914718 0 0 0-114.807909 34.046035L240.401393 443.683967a126.763005 126.763005 0 0 0-75.564005-182.380192 127.737605 127.737605 0 1 0 12.99467 239.816633l157.625345 188.422713A213.307506 213.307506 0 1 0 643.23616 643.282096l190.956674-350.856087a164.187654 164.187654 0 0 0 39.56877 6.172468 143.591102 143.591102 0 0 0 60.555162-12.99467l192.516034 288.026859a121.760057 121.760057 0 0 0-18.582377 64.973349 128.127445 128.127445 0 1 0 127.152844-126.568085zM129.621832 448.362048a68.157044 68.157044 0 1 1 68.157044-68.092071A68.157044 68.157044 0 0 1 129.621832 448.362048z m528.948039 365.670011a145.86517 145.86517 0 1 1-145.86517-145.86517 145.86517 145.86517 0 0 1 145.86517 145.86517z m215.12676-577.937944a87.389155 87.389155 0 1 1 87.389155-87.389155 87.389155 87.389155 0 0 1-87.389155 87.389155z m365.085251 474.305451a68.157044 68.157044 0 1 1 68.222017-68.416937 68.157044 68.157044 0 0 1-68.222017 68.157044z" ></path></symbol><symbol id="icon-suoxiao" viewBox="0 0 1024 1024"><path d="M768 448a320 320 0 1 0-320 320 320 320 0 0 0 320-320z m64 0A384 384 0 1 1 448 64a384 384 0 0 1 384 384z" ></path><path d="M681.28 726.72a32 32 0 0 1 45.44-45.44l160 160a32 32 0 0 1-45.44 45.44zM288 480a32 32 0 0 1 0-64h320a32 32 0 0 1 0 64z" ></path></symbol><symbol id="icon-lianjie" viewBox="0 0 1024 1024"><path d="M922.243 97.755c11.49 11.489 11.673 30.002 0.547 41.713l-0.547 0.562-109.119 109.1c57.22 78.348 42.673 195.388-35.778 273.839l-92.83 92.585c-11.572 11.54-30.264 11.653-41.97 0.253l-45.746-44.55-18.089 18.086a29.891 29.891 0 0 1-7.171 5.3l48.764 47.489c11.947 11.638 12.06 30.804 0.248 42.585l-95.875 95.629c-77.416 77.417-192.412 92.603-270.72 38.004L144.04 928.245c-11.676 11.673-30.606 11.673-42.282 0-11.49-11.489-11.673-30.002-0.547-41.713l0.547-0.562 109.677-109.657c-55.981-78.335-41.131-194.413 36.833-272.377l92.831-92.585c11.571-11.54 30.263-11.653 41.969-0.254l42.587 41.474a29.935 29.935 0 0 1 3.678-4.741l0.548-0.562 19.54-19.538-44.11-42.957c-11.828-11.522-12.057-30.422-0.6-42.23l0.351-0.355 95.875-95.63c76.927-76.926 190.96-92.408 269.23-39.03L879.961 97.755c11.676-11.673 30.606-11.673 42.282 0zM362.451 474.49l-71.916 71.727-1.884 1.911c-61.822 63.545-67.916 156.289-16.185 208.02C324.72 808.4 418.82 801.655 482.43 738.044l74.422-74.234-194.401-189.32z m129.807-5.04l-20.096 20.094a30.035 30.035 0 0 1-4.643 3.8l63.25 61.595a29.82 29.82 0 0 1 5.113-7.308l0.547-0.561 17.532-17.531-61.703-60.089z m260.889-198.691c-52.254-52.254-146.353-45.509-209.964 18.102l-74.422 74.234 194.4 189.322 71.939-71.75 1.862-1.888c61.822-63.545 67.916-156.29 16.185-208.02z" fill="#333333" ></path></symbol><symbol id="icon-xiantiao" viewBox="0 0 1024 1024"><path d="M827.076923 157.538462a39.384615 39.384615 0 1 1-14.375385 76.051692L233.590154 812.701538a39.384615 39.384615 0 1 1-22.291692-22.291692L790.409846 211.298462A39.384615 39.384615 0 0 1 827.076923 157.538462z" fill="#333333" ></path></symbol></svg>',l=(l=document.getElementsByTagName("script"))[l.length-1].getAttribute("data-injectcss");if(l&&!t.__iconfont__svg__cssinject__){t.__iconfont__svg__cssinject__=!0;try{document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>")}catch(t){console&&console.log(t)}}function c(){o||(o=!0,i())}e=function(){var t,e,n,i;(i=document.createElement("div")).innerHTML=s,s=null,(n=i.getElementsByTagName("svg")[0])&&(n.setAttribute("aria-hidden","true"),n.style.position="absolute",n.style.width=0,n.style.height=0,n.style.overflow="hidden",t=n,(e=document.body).firstChild?(i=t,(n=e.firstChild).parentNode.insertBefore(i,n)):e.appendChild(t))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(e,0):(n=function(){document.removeEventListener("DOMContentLoaded",n,!1),e()},document.addEventListener("DOMContentLoaded",n,!1)):document.attachEvent&&(i=e,r=t.document,o=!1,(a=function(){try{r.documentElement.doScroll("left")}catch(t){return void setTimeout(a,50)}c()})(),r.onreadystatechange=function(){"complete"==r.readyState&&(r.onreadystatechange=null,c())})}(window)},function(e,n){e.exports=t},function(t,n){t.exports=e},function(t,e){t.exports=n},function(t,e,n){var i=n(13);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);n(1)("73745c30",i,!1,{})},function(t,e,n){(t.exports=n(0)(!1)).push([t.i,"\n.rg-icon {\n width: 19px;\n height: 19px;\n vertical-align: 0px;\n fill: currentColor;\n overflow: hidden;\n}\n.el-icon-remove,.el-icon-circle-plus{\n cursor: pointer;\n}\n.rel-node-peel{\n clear: both;\n padding:8px;\n position: absolute;\n font-size: 14px;\n /*border:green solid 1px;*/\n}\n.rel-node{\n text-align: center;\n}\n.rel-node-shape-1{\n /*border: #FD8B37 solid 1px;*/\n border-radius: 8px;\n padding:5px;\n padding-left:15px;\n padding-right:15px;\n}\n.c-node-text{\n height:100%;\n width:100%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.rel-node-shape-0{\n padding:10px;\n}\n.rel-node-shape-0{\n width:80px;\n height:80px;\n border-radius: 50%;\n /*border: #FD8B37 solid 2px;*/\n /*text-align: left;*/\n /*padding:10px;*/\n /*white-space: nowrap;*/\n /*text-overflow: ellipsis;*/\n /*overflow: hidden;*/\n /*word-break: break-all;*/\n}\n.rel-node-shape-0:hover{\n /*overflow: visible;*/\n /*text-overflow: inherit;*/\n box-shadow: 0px 0px 5px #FFC5A6;\n}\n/*.rel-node{*/\n /*display: table;*/\n/*}*/\n/*.rel-node span{*/\n /*display: table-cell;*/\n /*vertical-align:middle;*/\n/*}*/\n.rel-node-type-button{\n border-radius: 25px;\n color: blue;\n cursor: pointer;\n}\n.rel-node-hover{\n}\n.rel-node-checked{\n box-shadow: 0px 0px 10px #FD8B37;\n /*border-color: #BA7909;*/\n /*background-color: #FD8B37;*/\n /*color: #ffffff;*/\n /* firefox bug fix - won't rotate at 90deg angles */\n -moz-transform: rotate(-89deg) translateX(-190px);\n animation-timing-function:linear;\n animation: ACTRGNodeInit 2s;\n}\n.rel-node-selected{\n box-shadow: 0px 0px 10px #FD8B37;\n /*border-color: #BA7909;*/\n /*background-color: #FD8B37;*/\n /*color: #ffffff;*/\n /* firefox bug fix - won't rotate at 90deg angles */\n -moz-transform: rotate(-89deg) translateX(-190px);\n animation-timing-function:linear;\n animation: ACTRGNodeInit 2s;\n}\n.rel-node-vtree-2 {\n transform-origin:0 0;/* 设置旋转中心为左上角*/\n /*transform-origin:50% 50%;!* 设置放大中心为元素中心 *!*/\n transform: rotate(30deg) translateX(0px);\n}\n.rel-node-vtree {\n width:130px;\n height:45px;\n text-align: left;\n}\n/*.c-node-text{*/\n /*font-size: 12px;*/\n /*display: inline-block;*/\n /*width:100px;*/\n /*height:16px;*/\n /*margin-top:40px;*/\n /*margin-left:-25px;*/\n /*position:absolute;*/\n /*word-break:keep-all;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;*/\n /*text-align:center;*/\n/*}*/\n.c-btn-open-close{\n position: absolute;\n height:100%;\n width:19px;\n /*border:red solid 1px;*/\n display: flex;\n align-items: center;\n justify-content: center;\n /*border:#ff0000 solid 1px;*/\n}\n.c-btn-open-close span{\n width: 19px;\n height:19px;\n display: inline-block;\n text-align: center;\n border-radius: 15px;\n color: #ffffff;\n cursor: pointer;\n font-size: 19px;\n line-height: 16px;\n background-size: 100% 100%;\n}\n.c-expanded{\n background-image: url(data:image/svg+xml;%20charset=utf8,%3Csvg%20t=%221606310217820%22%20viewBox=%220%200%201024%201024%22%20version=%221.1%22%20xmlns=%22http://www.w3.org/2000/svg%22%20p-id=%223373%22%20width=%2232%22%20height=%2232%22%3E%3Cpath%20d=%22M853.333333%20480H544V170.666667c0-17.066667-14.933333-32-32-32s-32%2014.933333-32%2032v309.333333H170.666667c-17.066667%200-32%2014.933333-32%2032s14.933333%2032%2032%2032h309.333333V853.333333c0%2017.066667%2014.933333%2032%2032%2032s32-14.933333%2032-32V544H853.333333c17.066667%200%2032-14.933333%2032-32s-14.933333-32-32-32z%22%20p-id=%223374%22%20fill=%22white%22%3E%3C/path%3E%3C/svg%3E);\n}\n.c-collapsed{\n background-image: url(data:image/svg+xml;%20charset=utf8,%3Csvg%20t=%221606310454619%22%20class=%22icon%22%20viewBox=%220%200%201024%201024%22%20version=%221.1%22%20xmlns=%22http://www.w3.org/2000/svg%22%20p-id=%223662%22%20width=%22128%22%20height=%22128%22%3E%3Cpath%20d=%22M853.333333%20554.666667H170.666667c-23.466667%200-42.666667-19.2-42.666667-42.666667s19.2-42.666667%2042.666667-42.666667h682.666666c23.466667%200%2042.666667%2019.2%2042.666667%2042.666667s-19.2%2042.666667-42.666667%2042.666667z%22%20p-id=%223663%22%20fill=%22white%22%3E%3C/path%3E%3C/svg%3E);\n}\n.c-expand-positon-left{\n margin-top:-8px;\n margin-left:-18px;\n}\n.c-expand-positon-right{\n height:100%;\n width:100%;\n justify-content: center;\n}\n.c-expand-positon-right span{\n margin-top:-18px;\n margin-right:-18px;\n margin-left:100%;\n}\n.c-expand-positon-bottom{\n height:100%;\n width:100%;\n margin-top:7px;\n margin-left:-8px;\n align-items: flex-end;\n justify-content: center;\n}\n.c-expand-positon-top{\n height:18px;\n width:100%;\n margin-top:-20px;\n margin-left:-6px;\n align-items: flex-end;\n justify-content: center;\n}\n@keyframes ACTRGNodeInit {\nfrom {\n box-shadow: 0px 0px 15px #FD8B37;\n}\n15% {\n box-shadow: 0px 0px 1px rgb(46, 78, 143);\n}\n30% {\n box-shadow: 0px 0px 15px #FD8B37;\n}\n45% {\n box-shadow: 0px 0px 1px rgb(46, 78, 143);\n}\n60% {\n box-shadow: 0px 0px 15px #FD8B37;\n}\nto {\n box-shadow: 0px 0px 1px rgb(46, 78, 143);\n}\n}\n.rel-diy-node{\n padding:0px;\n}\n",""])},function(t,e,n){var i=n(15);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);n(1)("696294ae",i,!1,{})},function(t,e,n){(t.exports=n(0)(!1)).push([t.i,"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/*.RGLine-enter-active {*/\n /*transition: all .3s ease;*/\n/*}*/\n/*.RGLine-leave-active {*/\n /*transition: all .8s cubic-bezier(1.0, 0.5, 0.8, 1.0);*/\n/*}*/\n.c-rg-link-text {\n fill: #888888;\n font-size: 12px;\n}\n.c-rg-line {\n z-index: 1000;\n fill-rule: nonzero;\n /*marker-end: url('#arrow');*/\n /* firefox bug fix - won't rotate at 90deg angles */\n /*-moz-transform: rotate(-89deg) translateX(-190px);*/\n /*animation-timing-function:linear;*/\n /*animation: ACTRGLineInit 1s;*/\n}\n.c-rg-line-tool {\n stroke-dasharray: 5,5,5;\n}\n.c-rg-line-flash {\n /* firefox bug fix - won't rotate at 90deg angles */\n -moz-transform: rotate(-89deg) translateX(-190px);\n animation-timing-function:linear;\n animation: ACTRGLineChecked 10s;\n}\n@keyframes ACTRGLineInit {\nfrom {\n stroke-dashoffset: 10px;\n stroke-dasharray: 20,20,20;\n}\nto {\n stroke-dashoffset: 0;\n stroke-dasharray: 0,0,0;\n}\n}\n@keyframes ACTRGLineChecked {\nfrom {\n stroke-dashoffset: 352px;\n}\nto {\n stroke-dashoffset: 0;\n}\n}\n",""])},function(t,e,n){var i=n(17);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);n(1)("7451c2ef",i,!1,{})},function(t,e,n){(t.exports=n(0)(!1)).push([t.i,"\n.c-setting-panel[data-v-337fb259]{\n --height:500px;\n --width:500px;\n width:500px;\n height:500px;\n position: absolute;\n margin-left:10px;\n margin-top:5px;\n font-size: 12px;\n color: rgb(58, 91, 178);\n padding:10px;\n overflow: hidden;\n box-shadow: 0px 0px 5px rgb(58, 91, 178);\n border-radius: 5px;\n z-index: 1000;\n background-color: #ffffff;\n border: rgb(58, 91, 178) solid 1px;\n padding-top:60px;\n}\n.c-setting-panel-button[data-v-337fb259]{\n height:45px;\n width:45px;\n font-size: 20px;\n line-height: 45px;\n text-align: center;\n border-radius: 50%;\n position: absolute;\n margin-left:25px;\n margin-top:20px;\n background-color: rgb(58, 91, 178);\n color: #ffffff;\n cursor: pointer;\n z-index: 1001;\n box-shadow: 0px 0px 8px rgb(46, 78, 143);\n}\n.c-setting-panel-button[data-v-337fb259]:hover{\n box-shadow: 0px 0px 20px #FFA20A;\n border:#ffffff solid 1px;\n color: #FFA20A;\n -moz-transform: rotate(-89deg) translateX(-190px);\n animation-timing-function:linear;\n animation: flashButton-data-v-337fb259 2s infinite;\n}\n.c-fixedLayout[data-v-337fb259]{\n position: fixed;\n top: 125px\n}\n@keyframes flashButton-data-v-337fb259 {\nfrom {\n box-shadow: 0px 0px 8px rgb(46, 78, 143);\n}\n30% {\n box-shadow: 0px 0px 20px #FFA20A;\n}\nto {\n box-shadow: 0px 0px 8px rgb(46, 78, 143);\n}\n}\n",""])},function(t,e,n){var i=n(19);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);n(1)("5939241a",i,!1,{})},function(t,e,n){(t.exports=n(0)(!1)).push([t.i,"\n.c-mini-graph[data-v-fe70423e]{\n height:100px;\n width:100px;\n position: absolute;\n margin-left: 60px;\n margin-top:100px;\n z-index: 999;\n}\n.c-fixedLayout[data-v-fe70423e]{\n position: fixed;\n top:100px;\n}\n.c-mini-canvas[data-v-fe70423e]{\n background-color: #AACBFF;\n border: #7BA8FF solid 1px;\n opacity: 0.8;\n position: absolute;\n}\n.c-mini-view[data-v-fe70423e]{\n background-color: #F5A565;\n border: #C03639 solid 1px;\n opacity: 0.5;\n color: #ffffff;\n font-size: 14px;\n text-align: center;\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n}\n.c-mini-node[data-v-fe70423e]{\n position: absolute;\n width:2px;\n height:2px;\n background-color: #000000;\n border-radius: 1px;\n}\n",""])},function(t,e,n){var i=n(21);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);n(1)("1c471178",i,!1,{})},function(t,e,n){(t.exports=n(0)(!1)).push([t.i,"\n.rg-icon[data-v-3cfdb1cf] {\n width: 16px;\n height: 16px;\n vertical-align: -3px;\n fill: currentColor;\n overflow: hidden;\n}\n.c-mini-toolbar[data-v-3cfdb1cf]{\n width:44px;\n position: absolute;\n margin-top:170px;\n margin-right:10px;\n z-index: 999;\n border: #bbbbbb solid 1px;\n background-color: #ffffff;\n box-shadow: 0px 0px 8px #cccccc;\n box-sizing:border-box;\n}\n.c-fixedLayout[data-v-3cfdb1cf]{\n position: fixed;\n top:100px;\n}\n.c-mb-button[data-v-3cfdb1cf]{\n height:44px;\n width:42px;\n margin-top:0px;\n background-color: #ffffff;\n border-top: #efefef solid 1px;\n opacity: 1;\n text-align: center;\n padding-top:3px;\n cursor: pointer;\n color: #999999;\n font-size: 18px;\n float: left;\n box-sizing:border-box;\n line-height: 21px;\n}\n.c-mb-button .c-mb-text[data-v-3cfdb1cf]{\n display: inline-block;\n height:14px;\n width:42px;\n font-size: 12px;\n line-height: 12px;\n margin-top:24px;\n margin-left:-28px;\n position: absolute;\n color: #262626;\n}\n.c-mb-button-on[data-v-3cfdb1cf]{\n background-color: #2E74B5;\n border-top: #2E4E8F solid 1px;\n color: #ffffff;\n}\n.c-mb-button[data-v-3cfdb1cf]:hover{\n background-color: #2E4E8F;\n border-top: #2E4E8F solid 1px;\n color: #ffffff;\n}\n.c-mb-button:hover .c-mb-text[data-v-3cfdb1cf],.c-mb-button-on .c-mb-text[data-v-3cfdb1cf]{\n color: #ffffff;\n}\n.c-mb-button .c-mb-child-panel[data-v-3cfdb1cf]{\n height:46px;position: absolute;margin-top: -26px;background-color: #ffffff;\n display: none;\n border: #bbbbbb solid 1px;\n box-shadow: 0px 0px 8px #cccccc;\n box-sizing:border-box;\n}\n.c-mb-button:hover .c-mb-child-panel[data-v-3cfdb1cf]{\n display: block;\n}\n.c-mb-button .c-mb-button[data-v-3cfdb1cf]{\n height:44px;\n width: 42px;\n margin:0px;\n border: none;\n}\n.c-mb-button-c .c-mb-text[data-v-3cfdb1cf]{\n color: #262626 !important;\n}\n.c-mb-button-c:hover .c-mb-text[data-v-3cfdb1cf],.c-mb-button-on .c-mb-text[data-v-3cfdb1cf]{\n color: #ffffff !important;\n}\n.c-loading-icon[data-v-3cfdb1cf]{\n animation:turn-data-v-3cfdb1cf 1s linear infinite;\n}\n@keyframes turn-data-v-3cfdb1cf{\n0%{-webkit-transform:rotate(0deg);\n}\n25%{-webkit-transform:rotate(90deg);\n}\n50%{-webkit-transform:rotate(180deg);\n}\n75%{-webkit-transform:rotate(270deg);\n}\n100%{-webkit-transform:rotate(360deg);\n}\n}\n",""])},function(t,e,n){var i=n(23);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);n(1)("3ca01a9a",i,!1,{})},function(t,e,n){(t.exports=n(0)(!1)).push([t.i,"\n.c-mini-namefilter[data-v-7c68081f]{\n height:60px;\n position: absolute;\n margin-top:10px;\n z-index: 999;\n}\n.c-fixedLayout[data-v-7c68081f]{\n position: fixed;\n top:145px;\n}\n",""])},function(t,e,n){var i=n(25);"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);n(1)("3c57a372",i,!1,{})},function(t,e,n){(t.exports=n(0)(!1)).push([t.i,"\n.c-rg-bottom-panel[data-v-161dbae4]{\n width:100%;\n margin-left:0px;\n font-size: 12px;\n color: #1890ff;\n padding:0px;\n overflow: hidden;\n border-radius: 0px;\n position: absolute;\n z-index: 99;\n opacity: 1;\n}\n.c-fixedLayout[data-v-161dbae4]{\n position: fixed;\n bottom:0px;\n}\n",""])}]).default},t.exports=i(n("7+uW"),n("I95x"),n("eMjc"))},eHQZ:function(t,e,n){"use strict";t.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},eMjc:function(t,e,n){
  132. /*!
  133. * html2canvas 1.4.1 <https://html2canvas.hertzen.com>
  134. * Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
  135. * Released under MIT License
  136. */var i;i=function(){"use strict";
  137. /*! *****************************************************************************
  138. Copyright (c) Microsoft Corporation.
  139. Permission to use, copy, modify, and/or distribute this software for any
  140. purpose with or without fee is hereby granted.
  141. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
  142. REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  143. AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
  144. INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  145. LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  146. OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  147. PERFORMANCE OF THIS SOFTWARE.
  148. ***************************************************************************** */var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(e,n)};function e(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}var n=function(){return(n=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};function i(t,e,n,i){return new(n||(n=Promise))(function(r,o){function a(t){try{l(i.next(t))}catch(t){o(t)}}function s(t){try{l(i.throw(t))}catch(t){o(t)}}function l(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(a,s)}l((i=i.apply(t,e||[])).next())})}function r(t,e){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(r=(r=a.trys).length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(t){o=[6,t],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}function o(t,e,n){if(n||2===arguments.length)for(var i,r=0,o=e.length;r<o;r++)!i&&r in e||(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||e)}for(var a=function(){function t(t,e,n,i){this.left=t,this.top=e,this.width=n,this.height=i}return t.prototype.add=function(e,n,i,r){return new t(this.left+e,this.top+n,this.width+i,this.height+r)},t.fromClientRect=function(e,n){return new t(n.left+e.windowBounds.left,n.top+e.windowBounds.top,n.width,n.height)},t.fromDOMRectList=function(e,n){var i=Array.from(n).find(function(t){return 0!==t.width});return i?new t(i.left+e.windowBounds.left,i.top+e.windowBounds.top,i.width,i.height):t.EMPTY},t.EMPTY=new t(0,0,0,0),t}(),s=function(t,e){return a.fromClientRect(t,e.getBoundingClientRect())},l=function(t){for(var e=[],n=0,i=t.length;n<i;){var r=t.charCodeAt(n++);if(r>=55296&&r<=56319&&n<i){var o=t.charCodeAt(n++);56320==(64512&o)?e.push(((1023&r)<<10)+(1023&o)+65536):(e.push(r),n--)}else e.push(r)}return e},c=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,t);var n=t.length;if(!n)return"";for(var i=[],r=-1,o="";++r<n;){var a=t[r];a<=65535?i.push(a):(a-=65536,i.push(55296+(a>>10),a%1024+56320)),(r+1===n||i.length>16384)&&(o+=String.fromCharCode.apply(String,i),i.length=0)}return o},u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h="undefined"==typeof Uint8Array?[]:new Uint8Array(256),d=0;d<u.length;d++)h[u.charCodeAt(d)]=d;for(var f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p="undefined"==typeof Uint8Array?[]:new Uint8Array(256),A=0;A<f.length;A++)p[f.charCodeAt(A)]=A;for(var g=function(t,e,n){return t.slice?t.slice(e,n):new Uint16Array(Array.prototype.slice.call(t,e,n))},v=function(){function t(t,e,n,i,r,o){this.initialValue=t,this.errorValue=e,this.highStart=n,this.highValueIndex=i,this.index=r,this.data=o}return t.prototype.get=function(t){var e;if(t>=0){if(t<55296||t>56319&&t<=65535)return e=((e=this.index[t>>5])<<2)+(31&t),this.data[e];if(t<=65535)return e=((e=this.index[2048+(t-55296>>5)])<<2)+(31&t),this.data[e];if(t<this.highStart)return e=2080+(t>>11),e=this.index[e],e+=t>>5&63,e=((e=this.index[e])<<2)+(31&t),this.data[e];if(t<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t}(),m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",y="undefined"==typeof Uint8Array?[]:new Uint8Array(256),b=0;b<m.length;b++)y[m.charCodeAt(b)]=b;var _=10,w=13,x=15,C=17,S=18,B=19,k=20,T=21,O=22,E=24,I=25,M=26,D=27,L=28,F=30,P=32,N=33,j=34,U=35,R=37,Q=38,H=39,V=40,z=42,$=[9001,65288],G="!",W=function(t,e){var n,i,r,o=function(t){var e,n,i,r,o,a=.75*t.length,s=t.length,l=0;"="===t[t.length-1]&&(a--,"="===t[t.length-2]&&a--);var c="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(a):new Array(a),u=Array.isArray(c)?c:new Uint8Array(c);for(e=0;e<s;e+=4)n=p[t.charCodeAt(e)],i=p[t.charCodeAt(e+1)],r=p[t.charCodeAt(e+2)],o=p[t.charCodeAt(e+3)],u[l++]=n<<2|i>>4,u[l++]=(15&i)<<4|r>>2,u[l++]=(3&r)<<6|63&o;return c}(t),a=Array.isArray(o)?function(t){for(var e=t.length,n=[],i=0;i<e;i+=4)n.push(t[i+3]<<24|t[i+2]<<16|t[i+1]<<8|t[i]);return n}(o):new Uint32Array(o),s=Array.isArray(o)?function(t){for(var e=t.length,n=[],i=0;i<e;i+=2)n.push(t[i+1]<<8|t[i]);return n}(o):new Uint16Array(o),l=g(s,12,a[4]/2),c=2===a[5]?g(s,(24+a[4])/2):(n=a,i=Math.ceil((24+a[4])/4),n.slice?n.slice(i,r):new Uint32Array(Array.prototype.slice.call(n,i,r)));return new v(a[0],a[1],a[2],a[3],l,c)}("KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA=="),K=[F,36],Y=[1,2,3,5],X=[_,8],q=[D,M],Z=Y.concat(X),J=[Q,H,V,j,U],tt=[x,w],et=function(t,e,n,i){var r=i[n];if(Array.isArray(t)?-1!==t.indexOf(r):t===r)for(var o=n;o<=i.length;){if((l=i[++o])===e)return!0;if(l!==_)break}if(r===_)for(o=n;o>0;){var a=i[--o];if(Array.isArray(t)?-1!==t.indexOf(a):t===a)for(var s=n;s<=i.length;){var l;if((l=i[++s])===e)return!0;if(l!==_)break}if(a!==_)break}return!1},nt=function(t,e){for(var n=t;n>=0;){var i=e[n];if(i!==_)return i;n--}return 0},it=function(t,e,n,i,r){if(0===n[i])return"×";var o=i-1;if(Array.isArray(r)&&!0===r[o])return"×";var a=o-1,s=o+1,l=e[o],c=a>=0?e[a]:0,u=e[s];if(2===l&&3===u)return"×";if(-1!==Y.indexOf(l))return G;if(-1!==Y.indexOf(u))return"×";if(-1!==X.indexOf(u))return"×";if(8===nt(o,e))return"÷";if(11===W.get(t[o]))return"×";if((l===P||l===N)&&11===W.get(t[s]))return"×";if(7===l||7===u)return"×";if(9===l)return"×";if(-1===[_,w,x].indexOf(l)&&9===u)return"×";if(-1!==[C,S,B,E,L].indexOf(u))return"×";if(nt(o,e)===O)return"×";if(et(23,O,o,e))return"×";if(et([C,S],T,o,e))return"×";if(et(12,12,o,e))return"×";if(l===_)return"÷";if(23===l||23===u)return"×";if(16===u||16===l)return"÷";if(-1!==[w,x,T].indexOf(u)||14===l)return"×";if(36===c&&-1!==tt.indexOf(l))return"×";if(l===L&&36===u)return"×";if(u===k)return"×";if(-1!==K.indexOf(u)&&l===I||-1!==K.indexOf(l)&&u===I)return"×";if(l===D&&-1!==[R,P,N].indexOf(u)||-1!==[R,P,N].indexOf(l)&&u===M)return"×";if(-1!==K.indexOf(l)&&-1!==q.indexOf(u)||-1!==q.indexOf(l)&&-1!==K.indexOf(u))return"×";if(-1!==[D,M].indexOf(l)&&(u===I||-1!==[O,x].indexOf(u)&&e[s+1]===I)||-1!==[O,x].indexOf(l)&&u===I||l===I&&-1!==[I,L,E].indexOf(u))return"×";if(-1!==[I,L,E,C,S].indexOf(u))for(var h=o;h>=0;){if((d=e[h])===I)return"×";if(-1===[L,E].indexOf(d))break;h--}if(-1!==[D,M].indexOf(u))for(h=-1!==[C,S].indexOf(l)?a:o;h>=0;){var d;if((d=e[h])===I)return"×";if(-1===[L,E].indexOf(d))break;h--}if(Q===l&&-1!==[Q,H,j,U].indexOf(u)||-1!==[H,j].indexOf(l)&&-1!==[H,V].indexOf(u)||-1!==[V,U].indexOf(l)&&u===V)return"×";if(-1!==J.indexOf(l)&&-1!==[k,M].indexOf(u)||-1!==J.indexOf(u)&&l===D)return"×";if(-1!==K.indexOf(l)&&-1!==K.indexOf(u))return"×";if(l===E&&-1!==K.indexOf(u))return"×";if(-1!==K.concat(I).indexOf(l)&&u===O&&-1===$.indexOf(t[s])||-1!==K.concat(I).indexOf(u)&&l===S)return"×";if(41===l&&41===u){for(var f=n[o],p=1;f>0&&41===e[--f];)p++;if(p%2!=0)return"×"}return l===P&&u===N?"×":"÷"},rt=function(t,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var n=function(t,e){void 0===e&&(e="strict");var n=[],i=[],r=[];return t.forEach(function(t,o){var a=W.get(t);if(a>50?(r.push(!0),a-=50):r.push(!1),-1!==["normal","auto","loose"].indexOf(e)&&-1!==[8208,8211,12316,12448].indexOf(t))return i.push(o),n.push(16);if(4===a||11===a){if(0===o)return i.push(o),n.push(F);var s=n[o-1];return-1===Z.indexOf(s)?(i.push(i[o-1]),n.push(s)):(i.push(o),n.push(F))}return i.push(o),31===a?n.push("strict"===e?T:R):a===z?n.push(F):29===a?n.push(F):43===a?t>=131072&&t<=196605||t>=196608&&t<=262141?n.push(R):n.push(F):void n.push(a)}),[i,n,r]}(t,e.lineBreak),i=n[0],r=n[1],o=n[2];return"break-all"!==e.wordBreak&&"break-word"!==e.wordBreak||(r=r.map(function(t){return-1!==[I,F,z].indexOf(t)?R:t})),[i,r,"keep-all"===e.wordBreak?o.map(function(e,n){return e&&t[n]>=19968&&t[n]<=40959}):void 0]},ot=function(){function t(t,e,n,i){this.codePoints=t,this.required=e===G,this.start=n,this.end=i}return t.prototype.slice=function(){return c.apply(void 0,this.codePoints.slice(this.start,this.end))},t}(),at=function(t){return t>=48&&t<=57},st=function(t){return at(t)||t>=65&&t<=70||t>=97&&t<=102},lt=function(t){return 10===t||9===t||32===t},ct=function(t){return function(t){return function(t){return t>=97&&t<=122}(t)||function(t){return t>=65&&t<=90}(t)}(t)||function(t){return t>=128}(t)||95===t},ut=function(t){return ct(t)||at(t)||45===t},ht=function(t){return t>=0&&t<=8||11===t||t>=14&&t<=31||127===t},dt=function(t,e){return 92===t&&10!==e},ft=function(t,e,n){return 45===t?ct(e)||dt(e,n):!!ct(t)||!(92!==t||!dt(t,e))},pt=function(t,e,n){return 43===t||45===t?!!at(e)||46===e&&at(n):at(46===t?e:t)},At={type:2},gt={type:3},vt={type:4},mt={type:13},yt={type:8},bt={type:21},_t={type:9},wt={type:10},xt={type:11},Ct={type:12},St={type:14},Bt={type:23},kt={type:1},Tt={type:25},Ot={type:24},Et={type:26},It={type:27},Mt={type:28},Dt={type:29},Lt={type:31},Ft={type:32},Pt=function(){function t(){this._value=[]}return t.prototype.write=function(t){this._value=this._value.concat(l(t))},t.prototype.read=function(){for(var t=[],e=this.consumeToken();e!==Ft;)t.push(e),e=this.consumeToken();return t},t.prototype.consumeToken=function(){var t=this.consumeCodePoint();switch(t){case 34:return this.consumeStringToken(34);case 35:var e=this.peekCodePoint(0),n=this.peekCodePoint(1),i=this.peekCodePoint(2);if(ut(e)||dt(n,i)){var r=ft(e,n,i)?2:1;return{type:5,value:this.consumeName(),flags:r}}break;case 36:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),mt;break;case 39:return this.consumeStringToken(39);case 40:return At;case 41:return gt;case 42:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),St;break;case 43:if(pt(t,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(t),this.consumeNumericToken();break;case 44:return vt;case 45:var o=t,a=this.peekCodePoint(0),s=this.peekCodePoint(1);if(pt(o,a,s))return this.reconsumeCodePoint(t),this.consumeNumericToken();if(ft(o,a,s))return this.reconsumeCodePoint(t),this.consumeIdentLikeToken();if(45===a&&62===s)return this.consumeCodePoint(),this.consumeCodePoint(),Ot;break;case 46:if(pt(t,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(t),this.consumeNumericToken();break;case 47:if(42===this.peekCodePoint(0))for(this.consumeCodePoint();;){var l=this.consumeCodePoint();if(42===l&&47===(l=this.consumeCodePoint()))return this.consumeToken();if(-1===l)return this.consumeToken()}break;case 58:return Et;case 59:return It;case 60:if(33===this.peekCodePoint(0)&&45===this.peekCodePoint(1)&&45===this.peekCodePoint(2))return this.consumeCodePoint(),this.consumeCodePoint(),Tt;break;case 64:var u=this.peekCodePoint(0),h=this.peekCodePoint(1),d=this.peekCodePoint(2);if(ft(u,h,d))return{type:7,value:this.consumeName()};break;case 91:return Mt;case 92:if(dt(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),this.consumeIdentLikeToken();break;case 93:return Dt;case 61:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),yt;break;case 123:return xt;case 125:return Ct;case 117:case 85:var f=this.peekCodePoint(0),p=this.peekCodePoint(1);return 43!==f||!st(p)&&63!==p||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(t),this.consumeIdentLikeToken();case 124:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),_t;if(124===this.peekCodePoint(0))return this.consumeCodePoint(),bt;break;case 126:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),wt;break;case-1:return Ft}return lt(t)?(this.consumeWhiteSpace(),Lt):at(t)?(this.reconsumeCodePoint(t),this.consumeNumericToken()):ct(t)?(this.reconsumeCodePoint(t),this.consumeIdentLikeToken()):{type:6,value:c(t)}},t.prototype.consumeCodePoint=function(){var t=this._value.shift();return void 0===t?-1:t},t.prototype.reconsumeCodePoint=function(t){this._value.unshift(t)},t.prototype.peekCodePoint=function(t){return t>=this._value.length?-1:this._value[t]},t.prototype.consumeUnicodeRangeToken=function(){for(var t=[],e=this.consumeCodePoint();st(e)&&t.length<6;)t.push(e),e=this.consumeCodePoint();for(var n=!1;63===e&&t.length<6;)t.push(e),e=this.consumeCodePoint(),n=!0;if(n)return{type:30,start:parseInt(c.apply(void 0,t.map(function(t){return 63===t?48:t})),16),end:parseInt(c.apply(void 0,t.map(function(t){return 63===t?70:t})),16)};var i=parseInt(c.apply(void 0,t),16);if(45===this.peekCodePoint(0)&&st(this.peekCodePoint(1))){this.consumeCodePoint(),e=this.consumeCodePoint();for(var r=[];st(e)&&r.length<6;)r.push(e),e=this.consumeCodePoint();return{type:30,start:i,end:parseInt(c.apply(void 0,r),16)}}return{type:30,start:i,end:i}},t.prototype.consumeIdentLikeToken=function(){var t=this.consumeName();return"url"===t.toLowerCase()&&40===this.peekCodePoint(0)?(this.consumeCodePoint(),this.consumeUrlToken()):40===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:19,value:t}):{type:20,value:t}},t.prototype.consumeUrlToken=function(){var t=[];if(this.consumeWhiteSpace(),-1===this.peekCodePoint(0))return{type:22,value:""};var e=this.peekCodePoint(0);if(39===e||34===e){var n=this.consumeStringToken(this.consumeCodePoint());return 0===n.type&&(this.consumeWhiteSpace(),-1===this.peekCodePoint(0)||41===this.peekCodePoint(0))?(this.consumeCodePoint(),{type:22,value:n.value}):(this.consumeBadUrlRemnants(),Bt)}for(;;){var i=this.consumeCodePoint();if(-1===i||41===i)return{type:22,value:c.apply(void 0,t)};if(lt(i))return this.consumeWhiteSpace(),-1===this.peekCodePoint(0)||41===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:22,value:c.apply(void 0,t)}):(this.consumeBadUrlRemnants(),Bt);if(34===i||39===i||40===i||ht(i))return this.consumeBadUrlRemnants(),Bt;if(92===i){if(!dt(i,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),Bt;t.push(this.consumeEscapedCodePoint())}else t.push(i)}},t.prototype.consumeWhiteSpace=function(){for(;lt(this.peekCodePoint(0));)this.consumeCodePoint()},t.prototype.consumeBadUrlRemnants=function(){for(;;){var t=this.consumeCodePoint();if(41===t||-1===t)return;dt(t,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},t.prototype.consumeStringSlice=function(t){for(var e="";t>0;){var n=Math.min(5e4,t);e+=c.apply(void 0,this._value.splice(0,n)),t-=n}return this._value.shift(),e},t.prototype.consumeStringToken=function(t){for(var e="",n=0;;){var i=this._value[n];if(-1===i||void 0===i||i===t)return{type:0,value:e+=this.consumeStringSlice(n)};if(10===i)return this._value.splice(0,n),kt;if(92===i){var r=this._value[n+1];-1!==r&&void 0!==r&&(10===r?(e+=this.consumeStringSlice(n),n=-1,this._value.shift()):dt(i,r)&&(e+=this.consumeStringSlice(n),e+=c(this.consumeEscapedCodePoint()),n=-1))}n++}},t.prototype.consumeNumber=function(){var t=[],e=4,n=this.peekCodePoint(0);for(43!==n&&45!==n||t.push(this.consumeCodePoint());at(this.peekCodePoint(0));)t.push(this.consumeCodePoint());n=this.peekCodePoint(0);var i=this.peekCodePoint(1);if(46===n&&at(i))for(t.push(this.consumeCodePoint(),this.consumeCodePoint()),e=8;at(this.peekCodePoint(0));)t.push(this.consumeCodePoint());n=this.peekCodePoint(0),i=this.peekCodePoint(1);var r=this.peekCodePoint(2);if((69===n||101===n)&&((43===i||45===i)&&at(r)||at(i)))for(t.push(this.consumeCodePoint(),this.consumeCodePoint()),e=8;at(this.peekCodePoint(0));)t.push(this.consumeCodePoint());return[function(t){var e=0,n=1;43!==t[e]&&45!==t[e]||(45===t[e]&&(n=-1),e++);for(var i=[];at(t[e]);)i.push(t[e++]);var r=i.length?parseInt(c.apply(void 0,i),10):0;46===t[e]&&e++;for(var o=[];at(t[e]);)o.push(t[e++]);var a=o.length,s=a?parseInt(c.apply(void 0,o),10):0;69!==t[e]&&101!==t[e]||e++;var l=1;43!==t[e]&&45!==t[e]||(45===t[e]&&(l=-1),e++);for(var u=[];at(t[e]);)u.push(t[e++]);var h=u.length?parseInt(c.apply(void 0,u),10):0;return n*(r+s*Math.pow(10,-a))*Math.pow(10,l*h)}(t),e]},t.prototype.consumeNumericToken=function(){var t=this.consumeNumber(),e=t[0],n=t[1],i=this.peekCodePoint(0),r=this.peekCodePoint(1),o=this.peekCodePoint(2);return ft(i,r,o)?{type:15,number:e,flags:n,unit:this.consumeName()}:37===i?(this.consumeCodePoint(),{type:16,number:e,flags:n}):{type:17,number:e,flags:n}},t.prototype.consumeEscapedCodePoint=function(){var t=this.consumeCodePoint();if(st(t)){for(var e=c(t);st(this.peekCodePoint(0))&&e.length<6;)e+=c(this.consumeCodePoint());lt(this.peekCodePoint(0))&&this.consumeCodePoint();var n=parseInt(e,16);return 0===n||function(t){return t>=55296&&t<=57343}(n)||n>1114111?65533:n}return-1===t?65533:t},t.prototype.consumeName=function(){for(var t="";;){var e=this.consumeCodePoint();if(ut(e))t+=c(e);else{if(!dt(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),t;t+=c(this.consumeEscapedCodePoint())}}},t}(),Nt=function(){function t(t){this._tokens=t}return t.create=function(e){var n=new Pt;return n.write(e),new t(n.read())},t.parseValue=function(e){return t.create(e).parseComponentValue()},t.parseValues=function(e){return t.create(e).parseComponentValues()},t.prototype.parseComponentValue=function(){for(var t=this.consumeToken();31===t.type;)t=this.consumeToken();if(32===t.type)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(t);var e=this.consumeComponentValue();do{t=this.consumeToken()}while(31===t.type);if(32===t.type)return e;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},t.prototype.parseComponentValues=function(){for(var t=[];;){var e=this.consumeComponentValue();if(32===e.type)return t;t.push(e),t.push()}},t.prototype.consumeComponentValue=function(){var t=this.consumeToken();switch(t.type){case 11:case 28:case 2:return this.consumeSimpleBlock(t.type);case 19:return this.consumeFunction(t)}return t},t.prototype.consumeSimpleBlock=function(t){for(var e={type:t,values:[]},n=this.consumeToken();;){if(32===n.type||Gt(n,t))return e;this.reconsumeToken(n),e.values.push(this.consumeComponentValue()),n=this.consumeToken()}},t.prototype.consumeFunction=function(t){for(var e={name:t.value,values:[],type:18};;){var n=this.consumeToken();if(32===n.type||3===n.type)return e;this.reconsumeToken(n),e.values.push(this.consumeComponentValue())}},t.prototype.consumeToken=function(){var t=this._tokens.shift();return void 0===t?Ft:t},t.prototype.reconsumeToken=function(t){this._tokens.unshift(t)},t}(),jt=function(t){return 15===t.type},Ut=function(t){return 17===t.type},Rt=function(t){return 20===t.type},Qt=function(t){return 0===t.type},Ht=function(t,e){return Rt(t)&&t.value===e},Vt=function(t){return 31!==t.type},zt=function(t){return 31!==t.type&&4!==t.type},$t=function(t){var e=[],n=[];return t.forEach(function(t){if(4===t.type){if(0===n.length)throw new Error("Error parsing function args, zero tokens for arg");return e.push(n),void(n=[])}31!==t.type&&n.push(t)}),n.length&&e.push(n),e},Gt=function(t,e){return 11===e&&12===t.type||(28===e&&29===t.type||2===e&&3===t.type)},Wt=function(t){return 17===t.type||15===t.type},Kt=function(t){return 16===t.type||Wt(t)},Yt=function(t){return t.length>1?[t[0],t[1]]:[t[0]]},Xt={type:17,number:0,flags:4},qt={type:16,number:50,flags:4},Zt={type:16,number:100,flags:4},Jt=function(t,e,n){var i=t[0],r=t[1];return[te(i,e),te(void 0!==r?r:i,n)]},te=function(t,e){if(16===t.type)return t.number/100*e;if(jt(t))switch(t.unit){case"rem":case"em":return 16*t.number;case"px":default:return t.number}return t.number},ee=function(t,e){if(15===e.type)switch(e.unit){case"deg":return Math.PI*e.number/180;case"grad":return Math.PI/200*e.number;case"rad":return e.number;case"turn":return 2*Math.PI*e.number}throw new Error("Unsupported angle type")},ne=function(t){return 15===t.type&&("deg"===t.unit||"grad"===t.unit||"rad"===t.unit||"turn"===t.unit)},ie=function(t){switch(t.filter(Rt).map(function(t){return t.value}).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Xt,Xt];case"to top":case"bottom":return re(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Xt,Zt];case"to right":case"left":return re(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Zt,Zt];case"to bottom":case"top":return re(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Zt,Xt];case"to left":case"right":return re(270)}return 0},re=function(t){return Math.PI*t/180},oe=function(t,e){if(18===e.type){var n=fe[e.name];if(void 0===n)throw new Error('Attempting to parse an unsupported color function "'+e.name+'"');return n(t,e.values)}if(5===e.type){if(3===e.value.length){var i=e.value.substring(0,1),r=e.value.substring(1,2),o=e.value.substring(2,3);return le(parseInt(i+i,16),parseInt(r+r,16),parseInt(o+o,16),1)}if(4===e.value.length){i=e.value.substring(0,1),r=e.value.substring(1,2),o=e.value.substring(2,3);var a=e.value.substring(3,4);return le(parseInt(i+i,16),parseInt(r+r,16),parseInt(o+o,16),parseInt(a+a,16)/255)}if(6===e.value.length){i=e.value.substring(0,2),r=e.value.substring(2,4),o=e.value.substring(4,6);return le(parseInt(i,16),parseInt(r,16),parseInt(o,16),1)}if(8===e.value.length){i=e.value.substring(0,2),r=e.value.substring(2,4),o=e.value.substring(4,6),a=e.value.substring(6,8);return le(parseInt(i,16),parseInt(r,16),parseInt(o,16),parseInt(a,16)/255)}}if(20===e.type){var s=Ae[e.value.toUpperCase()];if(void 0!==s)return s}return Ae.TRANSPARENT},ae=function(t){return 0==(255&t)},se=function(t){var e=255&t,n=255&t>>8,i=255&t>>16,r=255&t>>24;return e<255?"rgba("+r+","+i+","+n+","+e/255+")":"rgb("+r+","+i+","+n+")"},le=function(t,e,n,i){return(t<<24|e<<16|n<<8|Math.round(255*i)<<0)>>>0},ce=function(t,e){if(17===t.type)return t.number;if(16===t.type){var n=3===e?1:255;return 3===e?t.number/100*n:Math.round(t.number/100*n)}return 0},ue=function(t,e){var n=e.filter(zt);if(3===n.length){var i=n.map(ce),r=i[0],o=i[1],a=i[2];return le(r,o,a,1)}if(4===n.length){var s=n.map(ce),l=(r=s[0],o=s[1],a=s[2],s[3]);return le(r,o,a,l)}return 0};function he(t,e,n){return n<0&&(n+=1),n>=1&&(n-=1),n<1/6?(e-t)*n*6+t:n<.5?e:n<2/3?6*(e-t)*(2/3-n)+t:t}var de=function(t,e){var n=e.filter(zt),i=n[0],r=n[1],o=n[2],a=n[3],s=(17===i.type?re(i.number):ee(t,i))/(2*Math.PI),l=Kt(r)?r.number/100:0,c=Kt(o)?o.number/100:0,u=void 0!==a&&Kt(a)?te(a,1):1;if(0===l)return le(255*c,255*c,255*c,1);var h=c<=.5?c*(l+1):c+l-c*l,d=2*c-h,f=he(d,h,s+1/3),p=he(d,h,s),A=he(d,h,s-1/3);return le(255*f,255*p,255*A,u)},fe={hsl:de,hsla:de,rgb:ue,rgba:ue},pe=function(t,e){return oe(t,Nt.create(e).parseComponentValue())},Ae={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},ge={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(t,e){return e.map(function(t){if(Rt(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},ve={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},me=function(t,e){var n=oe(t,e[0]),i=e[1];return i&&Kt(i)?{color:n,stop:i}:{color:n,stop:null}},ye=function(t,e){var n=t[0],i=t[t.length-1];null===n.stop&&(n.stop=Xt),null===i.stop&&(i.stop=Zt);for(var r=[],o=0,a=0;a<t.length;a++){var s=t[a].stop;if(null!==s){var l=te(s,e);l>o?r.push(l):r.push(o),o=l}else r.push(null)}var c=null;for(a=0;a<r.length;a++){var u=r[a];if(null===u)null===c&&(c=a);else if(null!==c){for(var h=a-c,d=(u-r[c-1])/(h+1),f=1;f<=h;f++)r[c+f-1]=d*f;c=null}}return t.map(function(t,n){return{color:t.color,stop:Math.max(Math.min(1,r[n]/e),0)}})},be=function(t,e,n){var i="number"==typeof t?t:function(t,e,n){var i=e/2,r=n/2,o=te(t[0],e)-i,a=r-te(t[1],n);return(Math.atan2(a,o)+2*Math.PI)%(2*Math.PI)}(t,e,n),r=Math.abs(e*Math.sin(i))+Math.abs(n*Math.cos(i)),o=e/2,a=n/2,s=r/2,l=Math.sin(i-Math.PI/2)*s,c=Math.cos(i-Math.PI/2)*s;return[r,o-c,o+c,a-l,a+l]},_e=function(t,e){return Math.sqrt(t*t+e*e)},we=function(t,e,n,i,r){return[[0,0],[0,e],[t,0],[t,e]].reduce(function(t,e){var o=e[0],a=e[1],s=_e(n-o,i-a);return(r?s<t.optimumDistance:s>t.optimumDistance)?{optimumCorner:e,optimumDistance:s}:t},{optimumDistance:r?1/0:-1/0,optimumCorner:null}).optimumCorner},xe=function(t,e){var n=re(180),i=[];return $t(e).forEach(function(e,r){if(0===r){var o=e[0];if(20===o.type&&-1!==["top","left","right","bottom"].indexOf(o.value))return void(n=ie(e));if(ne(o))return void(n=(ee(t,o)+re(270))%re(360))}var a=me(t,e);i.push(a)}),{angle:n,stops:i,type:1}},Ce=function(t,e){var n=0,i=3,r=[],o=[];return $t(e).forEach(function(e,a){var s=!0;if(0===a?s=e.reduce(function(t,e){if(Rt(e))switch(e.value){case"center":return o.push(qt),!1;case"top":case"left":return o.push(Xt),!1;case"right":case"bottom":return o.push(Zt),!1}else if(Kt(e)||Wt(e))return o.push(e),!1;return t},s):1===a&&(s=e.reduce(function(t,e){if(Rt(e))switch(e.value){case"circle":return n=0,!1;case"ellipse":return n=1,!1;case"contain":case"closest-side":return i=0,!1;case"farthest-side":return i=1,!1;case"closest-corner":return i=2,!1;case"cover":case"farthest-corner":return i=3,!1}else if(Wt(e)||Kt(e))return Array.isArray(i)||(i=[]),i.push(e),!1;return t},s)),s){var l=me(t,e);r.push(l)}}),{size:i,shape:n,stops:r,position:o,type:2}},Se=function(t,e){if(22===e.type){var n={url:e.value,type:0};return t.cache.addImage(e.value),n}if(18===e.type){var i=ke[e.name];if(void 0===i)throw new Error('Attempting to parse an unsupported image function "'+e.name+'"');return i(t,e.values)}throw new Error("Unsupported image type "+e.type)};var Be,ke={"linear-gradient":function(t,e){var n=re(180),i=[];return $t(e).forEach(function(e,r){if(0===r){var o=e[0];if(20===o.type&&"to"===o.value)return void(n=ie(e));if(ne(o))return void(n=ee(t,o))}var a=me(t,e);i.push(a)}),{angle:n,stops:i,type:1}},"-moz-linear-gradient":xe,"-ms-linear-gradient":xe,"-o-linear-gradient":xe,"-webkit-linear-gradient":xe,"radial-gradient":function(t,e){var n=0,i=3,r=[],o=[];return $t(e).forEach(function(e,a){var s=!0;if(0===a){var l=!1;s=e.reduce(function(t,e){if(l)if(Rt(e))switch(e.value){case"center":return o.push(qt),t;case"top":case"left":return o.push(Xt),t;case"right":case"bottom":return o.push(Zt),t}else(Kt(e)||Wt(e))&&o.push(e);else if(Rt(e))switch(e.value){case"circle":return n=0,!1;case"ellipse":return n=1,!1;case"at":return l=!0,!1;case"closest-side":return i=0,!1;case"cover":case"farthest-side":return i=1,!1;case"contain":case"closest-corner":return i=2,!1;case"farthest-corner":return i=3,!1}else if(Wt(e)||Kt(e))return Array.isArray(i)||(i=[]),i.push(e),!1;return t},s)}if(s){var c=me(t,e);r.push(c)}}),{size:i,shape:n,stops:r,position:o,type:2}},"-moz-radial-gradient":Ce,"-ms-radial-gradient":Ce,"-o-radial-gradient":Ce,"-webkit-radial-gradient":Ce,"-webkit-gradient":function(t,e){var n=re(180),i=[],r=1;return $t(e).forEach(function(e,n){var o=e[0];if(0===n){if(Rt(o)&&"linear"===o.value)return void(r=1);if(Rt(o)&&"radial"===o.value)return void(r=2)}if(18===o.type)if("from"===o.name){var a=oe(t,o.values[0]);i.push({stop:Xt,color:a})}else if("to"===o.name)a=oe(t,o.values[0]),i.push({stop:Zt,color:a});else if("color-stop"===o.name){var s=o.values.filter(zt);if(2===s.length){a=oe(t,s[1]);var l=s[0];Ut(l)&&i.push({stop:{type:16,number:100*l.number,flags:l.flags},color:a})}}}),1===r?{angle:(n+re(180))%re(360),stops:i,type:r}:{size:3,shape:0,stops:i,position:[],type:r}}},Te={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(t,e){if(0===e.length)return[];var n=e[0];return 20===n.type&&"none"===n.value?[]:e.filter(function(t){return zt(t)&&function(t){return!(20===t.type&&"none"===t.value||18===t.type&&!ke[t.name])}(t)}).map(function(e){return Se(t,e)})}},Oe={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(t,e){return e.map(function(t){if(Rt(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Ee={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(t,e){return $t(e).map(function(t){return t.filter(Kt)}).map(Yt)}},Ie={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(t,e){return $t(e).map(function(t){return t.filter(Rt).map(function(t){return t.value}).join(" ")}).map(Me)}},Me=function(t){switch(t){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}};!function(t){t.AUTO="auto",t.CONTAIN="contain",t.COVER="cover"}(Be||(Be={}));var De,Le={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(t,e){return $t(e).map(function(t){return t.filter(Fe)})}},Fe=function(t){return Rt(t)||Kt(t)},Pe=function(t){return{name:"border-"+t+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Ne=Pe("top"),je=Pe("right"),Ue=Pe("bottom"),Re=Pe("left"),Qe=function(t){return{name:"border-radius-"+t,initialValue:"0 0",prefix:!1,type:1,parse:function(t,e){return Yt(e.filter(Kt))}}},He=Qe("top-left"),Ve=Qe("top-right"),ze=Qe("bottom-right"),$e=Qe("bottom-left"),Ge=function(t){return{name:"border-"+t+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(t,e){switch(e){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},We=Ge("top"),Ke=Ge("right"),Ye=Ge("bottom"),Xe=Ge("left"),qe=function(t){return{name:"border-"+t+"-width",initialValue:"0",type:0,prefix:!1,parse:function(t,e){return jt(e)?e.number:0}}},Ze=qe("top"),Je=qe("right"),tn=qe("bottom"),en=qe("left"),nn={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},rn={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(t,e){switch(e){case"rtl":return 1;case"ltr":default:return 0}}},on={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(t,e){return e.filter(Rt).reduce(function(t,e){return t|an(e.value)},0)}},an=function(t){switch(t){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},sn={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(t,e){switch(e){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},ln={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(t,e){return 20===e.type&&"normal"===e.value?0:17===e.type?e.number:15===e.type?e.number:0}};!function(t){t.NORMAL="normal",t.STRICT="strict"}(De||(De={}));var cn,un={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(t,e){switch(e){case"strict":return De.STRICT;case"normal":default:return De.NORMAL}}},hn={name:"line-height",initialValue:"normal",prefix:!1,type:4},dn=function(t,e){return Rt(t)&&"normal"===t.value?1.2*e:17===t.type?e*t.number:Kt(t)?te(t,e):e},fn={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(t,e){return 20===e.type&&"none"===e.value?null:Se(t,e)}},pn={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(t,e){switch(e){case"inside":return 0;case"outside":default:return 1}}},An={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(t,e){switch(e){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},gn=function(t){return{name:"margin-"+t,initialValue:"0",prefix:!1,type:4}},vn=gn("top"),mn=gn("right"),yn=gn("bottom"),bn=gn("left"),_n={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(t,e){return e.filter(Rt).map(function(t){switch(t.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},wn={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(t,e){switch(e){case"break-word":return"break-word";case"normal":default:return"normal"}}},xn=function(t){return{name:"padding-"+t,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Cn=xn("top"),Sn=xn("right"),Bn=xn("bottom"),kn=xn("left"),Tn={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(t,e){switch(e){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},On={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(t,e){switch(e){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},En={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(t,e){return 1===e.length&&Ht(e[0],"none")?[]:$t(e).map(function(e){for(var n={color:Ae.TRANSPARENT,offsetX:Xt,offsetY:Xt,blur:Xt},i=0,r=0;r<e.length;r++){var o=e[r];Wt(o)?(0===i?n.offsetX=o:1===i?n.offsetY=o:n.blur=o,i++):n.color=oe(t,o)}return n})}},In={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(t,e){switch(e){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},Mn={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(t,e){if(20===e.type&&"none"===e.value)return null;if(18===e.type){var n=Dn[e.name];if(void 0===n)throw new Error('Attempting to parse an unsupported transform function "'+e.name+'"');return n(e.values)}return null}},Dn={matrix:function(t){var e=t.filter(function(t){return 17===t.type}).map(function(t){return t.number});return 6===e.length?e:null},matrix3d:function(t){var e=t.filter(function(t){return 17===t.type}).map(function(t){return t.number}),n=e[0],i=e[1];e[2],e[3];var r=e[4],o=e[5];e[6],e[7],e[8],e[9],e[10],e[11];var a=e[12],s=e[13];return e[14],e[15],16===e.length?[n,i,r,o,a,s]:null}},Ln={type:16,number:50,flags:4},Fn=[Ln,Ln],Pn={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(t,e){var n=e.filter(Kt);return 2!==n.length?Fn:[n[0],n[1]]}},Nn={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(t,e){switch(e){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}};!function(t){t.NORMAL="normal",t.BREAK_ALL="break-all",t.KEEP_ALL="keep-all"}(cn||(cn={}));for(var jn={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(t,e){switch(e){case"break-all":return cn.BREAK_ALL;case"keep-all":return cn.KEEP_ALL;case"normal":default:return cn.NORMAL}}},Un={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(t,e){if(20===e.type)return{auto:!0,order:0};if(Ut(e))return{auto:!1,order:e.number};throw new Error("Invalid z-index number parsed")}},Rn=function(t,e){if(15===e.type)switch(e.unit.toLowerCase()){case"s":return 1e3*e.number;case"ms":return e.number}throw new Error("Unsupported time type")},Qn={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(t,e){return Ut(e)?e.number:1}},Hn={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Vn={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(t,e){return e.filter(Rt).map(function(t){switch(t.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(t){return 0!==t})}},zn={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(t,e){var n=[],i=[];return e.forEach(function(t){switch(t.type){case 20:case 0:n.push(t.value);break;case 17:n.push(t.number.toString());break;case 4:i.push(n.join(" ")),n.length=0}}),n.length&&i.push(n.join(" ")),i.map(function(t){return-1===t.indexOf(" ")?t:"'"+t+"'"})}},$n={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},Gn={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(t,e){if(Ut(e))return e.number;if(Rt(e))switch(e.value){case"bold":return 700;case"normal":default:return 400}return 400}},Wn={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(t,e){return e.filter(Rt).map(function(t){return t.value})}},Kn={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(t,e){switch(e){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},Yn=function(t,e){return 0!=(t&e)},Xn={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(t,e){if(0===e.length)return[];var n=e[0];return 20===n.type&&"none"===n.value?[]:e}},qn={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(t,e){if(0===e.length)return null;var n=e[0];if(20===n.type&&"none"===n.value)return null;for(var i=[],r=e.filter(Vt),o=0;o<r.length;o++){var a=r[o],s=r[o+1];if(20===a.type){var l=s&&Ut(s)?s.number:1;i.push({counter:a.value,increment:l})}}return i}},Zn={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(t,e){if(0===e.length)return[];for(var n=[],i=e.filter(Vt),r=0;r<i.length;r++){var o=i[r],a=i[r+1];if(Rt(o)&&"none"!==o.value){var s=a&&Ut(a)?a.number:0;n.push({counter:o.value,reset:s})}}return n}},Jn={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(t,e){return e.filter(jt).map(function(e){return Rn(t,e)})}},ti={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(t,e){if(0===e.length)return null;var n=e[0];if(20===n.type&&"none"===n.value)return null;var i=[],r=e.filter(Qt);if(r.length%2!=0)return null;for(var o=0;o<r.length;o+=2){var a=r[o].value,s=r[o+1].value;i.push({open:a,close:s})}return i}},ei=function(t,e,n){if(!t)return"";var i=t[Math.min(e,t.length-1)];return i?n?i.open:i.close:""},ni={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(t,e){return 1===e.length&&Ht(e[0],"none")?[]:$t(e).map(function(e){for(var n={color:255,offsetX:Xt,offsetY:Xt,blur:Xt,spread:Xt,inset:!1},i=0,r=0;r<e.length;r++){var o=e[r];Ht(o,"inset")?n.inset=!0:Wt(o)?(0===i?n.offsetX=o:1===i?n.offsetY=o:2===i?n.blur=o:n.spread=o,i++):n.color=oe(t,o)}return n})}},ii={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(t,e){var n=[];return e.filter(Rt).forEach(function(t){switch(t.value){case"stroke":n.push(1);break;case"fill":n.push(0);break;case"markers":n.push(2)}}),[0,1,2].forEach(function(t){-1===n.indexOf(t)&&n.push(t)}),n}},ri={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},oi={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(t,e){return jt(e)?e.number:0}},ai=function(){function t(t,e){var n,i;this.animationDuration=ci(t,Jn,e.animationDuration),this.backgroundClip=ci(t,ge,e.backgroundClip),this.backgroundColor=ci(t,ve,e.backgroundColor),this.backgroundImage=ci(t,Te,e.backgroundImage),this.backgroundOrigin=ci(t,Oe,e.backgroundOrigin),this.backgroundPosition=ci(t,Ee,e.backgroundPosition),this.backgroundRepeat=ci(t,Ie,e.backgroundRepeat),this.backgroundSize=ci(t,Le,e.backgroundSize),this.borderTopColor=ci(t,Ne,e.borderTopColor),this.borderRightColor=ci(t,je,e.borderRightColor),this.borderBottomColor=ci(t,Ue,e.borderBottomColor),this.borderLeftColor=ci(t,Re,e.borderLeftColor),this.borderTopLeftRadius=ci(t,He,e.borderTopLeftRadius),this.borderTopRightRadius=ci(t,Ve,e.borderTopRightRadius),this.borderBottomRightRadius=ci(t,ze,e.borderBottomRightRadius),this.borderBottomLeftRadius=ci(t,$e,e.borderBottomLeftRadius),this.borderTopStyle=ci(t,We,e.borderTopStyle),this.borderRightStyle=ci(t,Ke,e.borderRightStyle),this.borderBottomStyle=ci(t,Ye,e.borderBottomStyle),this.borderLeftStyle=ci(t,Xe,e.borderLeftStyle),this.borderTopWidth=ci(t,Ze,e.borderTopWidth),this.borderRightWidth=ci(t,Je,e.borderRightWidth),this.borderBottomWidth=ci(t,tn,e.borderBottomWidth),this.borderLeftWidth=ci(t,en,e.borderLeftWidth),this.boxShadow=ci(t,ni,e.boxShadow),this.color=ci(t,nn,e.color),this.direction=ci(t,rn,e.direction),this.display=ci(t,on,e.display),this.float=ci(t,sn,e.cssFloat),this.fontFamily=ci(t,zn,e.fontFamily),this.fontSize=ci(t,$n,e.fontSize),this.fontStyle=ci(t,Kn,e.fontStyle),this.fontVariant=ci(t,Wn,e.fontVariant),this.fontWeight=ci(t,Gn,e.fontWeight),this.letterSpacing=ci(t,ln,e.letterSpacing),this.lineBreak=ci(t,un,e.lineBreak),this.lineHeight=ci(t,hn,e.lineHeight),this.listStyleImage=ci(t,fn,e.listStyleImage),this.listStylePosition=ci(t,pn,e.listStylePosition),this.listStyleType=ci(t,An,e.listStyleType),this.marginTop=ci(t,vn,e.marginTop),this.marginRight=ci(t,mn,e.marginRight),this.marginBottom=ci(t,yn,e.marginBottom),this.marginLeft=ci(t,bn,e.marginLeft),this.opacity=ci(t,Qn,e.opacity);var r=ci(t,_n,e.overflow);this.overflowX=r[0],this.overflowY=r[r.length>1?1:0],this.overflowWrap=ci(t,wn,e.overflowWrap),this.paddingTop=ci(t,Cn,e.paddingTop),this.paddingRight=ci(t,Sn,e.paddingRight),this.paddingBottom=ci(t,Bn,e.paddingBottom),this.paddingLeft=ci(t,kn,e.paddingLeft),this.paintOrder=ci(t,ii,e.paintOrder),this.position=ci(t,On,e.position),this.textAlign=ci(t,Tn,e.textAlign),this.textDecorationColor=ci(t,Hn,null!==(n=e.textDecorationColor)&&void 0!==n?n:e.color),this.textDecorationLine=ci(t,Vn,null!==(i=e.textDecorationLine)&&void 0!==i?i:e.textDecoration),this.textShadow=ci(t,En,e.textShadow),this.textTransform=ci(t,In,e.textTransform),this.transform=ci(t,Mn,e.transform),this.transformOrigin=ci(t,Pn,e.transformOrigin),this.visibility=ci(t,Nn,e.visibility),this.webkitTextStrokeColor=ci(t,ri,e.webkitTextStrokeColor),this.webkitTextStrokeWidth=ci(t,oi,e.webkitTextStrokeWidth),this.wordBreak=ci(t,jn,e.wordBreak),this.zIndex=ci(t,Un,e.zIndex)}return t.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&0===this.visibility},t.prototype.isTransparent=function(){return ae(this.backgroundColor)},t.prototype.isTransformed=function(){return null!==this.transform},t.prototype.isPositioned=function(){return 0!==this.position},t.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},t.prototype.isFloating=function(){return 0!==this.float},t.prototype.isInlineLevel=function(){return Yn(this.display,4)||Yn(this.display,33554432)||Yn(this.display,268435456)||Yn(this.display,536870912)||Yn(this.display,67108864)||Yn(this.display,134217728)},t}(),si=function(){return function(t,e){this.content=ci(t,Xn,e.content),this.quotes=ci(t,ti,e.quotes)}}(),li=function(){return function(t,e){this.counterIncrement=ci(t,qn,e.counterIncrement),this.counterReset=ci(t,Zn,e.counterReset)}}(),ci=function(t,e,n){var i=new Pt,r=null!==n&&void 0!==n?n.toString():e.initialValue;i.write(r);var o=new Nt(i.read());switch(e.type){case 2:var a=o.parseComponentValue();return e.parse(t,Rt(a)?a.value:e.initialValue);case 0:return e.parse(t,o.parseComponentValue());case 1:return e.parse(t,o.parseComponentValues());case 4:return o.parseComponentValue();case 3:switch(e.format){case"angle":return ee(t,o.parseComponentValue());case"color":return oe(t,o.parseComponentValue());case"image":return Se(t,o.parseComponentValue());case"length":var s=o.parseComponentValue();return Wt(s)?s:Xt;case"length-percentage":var l=o.parseComponentValue();return Kt(l)?l:Xt;case"time":return Rn(t,o.parseComponentValue())}}},ui=function(t,e){var n=function(t){switch(t.getAttribute("data-html2canvas-debug")){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}}(t);return 1===n||e===n},hi=function(){return function(t,e){this.context=t,this.textNodes=[],this.elements=[],this.flags=0,ui(e,3),this.styles=new ai(t,window.getComputedStyle(e,null)),Ar(e)&&(this.styles.animationDuration.some(function(t){return t>0})&&(e.style.animationDuration="0s"),null!==this.styles.transform&&(e.style.transform="none")),this.bounds=s(this.context,e),ui(e,4)&&(this.flags|=16)}}(),di="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",fi="undefined"==typeof Uint8Array?[]:new Uint8Array(256),pi=0;pi<di.length;pi++)fi[di.charCodeAt(pi)]=pi;for(var Ai=function(t,e,n){return t.slice?t.slice(e,n):new Uint16Array(Array.prototype.slice.call(t,e,n))},gi=function(){function t(t,e,n,i,r,o){this.initialValue=t,this.errorValue=e,this.highStart=n,this.highValueIndex=i,this.index=r,this.data=o}return t.prototype.get=function(t){var e;if(t>=0){if(t<55296||t>56319&&t<=65535)return e=((e=this.index[t>>5])<<2)+(31&t),this.data[e];if(t<=65535)return e=((e=this.index[2048+(t-55296>>5)])<<2)+(31&t),this.data[e];if(t<this.highStart)return e=2080+(t>>11),e=this.index[e],e+=t>>5&63,e=((e=this.index[e])<<2)+(31&t),this.data[e];if(t<=1114111)return this.data[this.highValueIndex]}return this.errorValue},t}(),vi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",mi="undefined"==typeof Uint8Array?[]:new Uint8Array(256),yi=0;yi<vi.length;yi++)mi[vi.charCodeAt(yi)]=yi;var bi,_i=8,wi=9,xi=11,Ci=12,Si=function(t,e){var n,i,r,o=function(t){var e,n,i,r,o,a=.75*t.length,s=t.length,l=0;"="===t[t.length-1]&&(a--,"="===t[t.length-2]&&a--);var c="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(a):new Array(a),u=Array.isArray(c)?c:new Uint8Array(c);for(e=0;e<s;e+=4)n=fi[t.charCodeAt(e)],i=fi[t.charCodeAt(e+1)],r=fi[t.charCodeAt(e+2)],o=fi[t.charCodeAt(e+3)],u[l++]=n<<2|i>>4,u[l++]=(15&i)<<4|r>>2,u[l++]=(3&r)<<6|63&o;return c}(t),a=Array.isArray(o)?function(t){for(var e=t.length,n=[],i=0;i<e;i+=4)n.push(t[i+3]<<24|t[i+2]<<16|t[i+1]<<8|t[i]);return n}(o):new Uint32Array(o),s=Array.isArray(o)?function(t){for(var e=t.length,n=[],i=0;i<e;i+=2)n.push(t[i+1]<<8|t[i]);return n}(o):new Uint16Array(o),l=Ai(s,12,a[4]/2),c=2===a[5]?Ai(s,(24+a[4])/2):(n=a,i=Math.ceil((24+a[4])/4),n.slice?n.slice(i,r):new Uint32Array(Array.prototype.slice.call(n,i,r)));return new gi(a[0],a[1],a[2],a[3],l,c)}("AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA="),Bi=function(t){return Si.get(t)},ki=function(t,e,n){var i=n-2,r=e[i],o=e[n-1],a=e[n];if(2===o&&3===a)return"×";if(2===o||3===o||4===o)return"÷";if(2===a||3===a||4===a)return"÷";if(o===_i&&-1!==[_i,wi,xi,Ci].indexOf(a))return"×";if(!(o!==xi&&o!==wi||a!==wi&&10!==a))return"×";if((o===Ci||10===o)&&10===a)return"×";if(13===a||5===a)return"×";if(7===a)return"×";if(1===o)return"×";if(13===o&&14===a){for(;5===r;)r=e[--i];if(14===r)return"×"}if(15===o&&15===a){for(var s=0;15===r;)s++,r=e[--i];if(s%2==0)return"×"}return"÷"},Ti=function(t){var e=function(t){for(var e=[],n=0,i=t.length;n<i;){var r=t.charCodeAt(n++);if(r>=55296&&r<=56319&&n<i){var o=t.charCodeAt(n++);56320==(64512&o)?e.push(((1023&r)<<10)+(1023&o)+65536):(e.push(r),n--)}else e.push(r)}return e}(t),n=e.length,i=0,r=0,o=e.map(Bi);return{next:function(){if(i>=n)return{done:!0,value:null};for(var t="×";i<n&&"×"===(t=ki(0,o,++i)););if("×"!==t||i===n){var a=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,t);var n=t.length;if(!n)return"";for(var i=[],r=-1,o="";++r<n;){var a=t[r];a<=65535?i.push(a):(a-=65536,i.push(55296+(a>>10),a%1024+56320)),(r+1===n||i.length>16384)&&(o+=String.fromCharCode.apply(String,i),i.length=0)}return o}.apply(null,e.slice(r,i));return r=i,{value:a,done:!1}}return{done:!0,value:null}}}},Oi=function(t){return 0===t[0]&&255===t[1]&&0===t[2]&&255===t[3]},Ei=function(t,e,n,i,r){var o="http://www.w3.org/2000/svg",a=document.createElementNS(o,"svg"),s=document.createElementNS(o,"foreignObject");return a.setAttributeNS(null,"width",t.toString()),a.setAttributeNS(null,"height",e.toString()),s.setAttributeNS(null,"width","100%"),s.setAttributeNS(null,"height","100%"),s.setAttributeNS(null,"x",n.toString()),s.setAttributeNS(null,"y",i.toString()),s.setAttributeNS(null,"externalResourcesRequired","true"),a.appendChild(s),s.appendChild(r),a},Ii=function(t){return new Promise(function(e,n){var i=new Image;i.onload=function(){return e(i)},i.onerror=n,i.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(t))})},Mi={get SUPPORT_RANGE_BOUNDS(){var t=function(t){if(t.createRange){var e=t.createRange();if(e.getBoundingClientRect){var n=t.createElement("boundtest");n.style.height="123px",n.style.display="block",t.body.appendChild(n),e.selectNode(n);var i=e.getBoundingClientRect(),r=Math.round(i.height);if(t.body.removeChild(n),123===r)return!0}}return!1}(document);return Object.defineProperty(Mi,"SUPPORT_RANGE_BOUNDS",{value:t}),t},get SUPPORT_WORD_BREAKING(){var t=Mi.SUPPORT_RANGE_BOUNDS&&function(t){var e=t.createElement("boundtest");e.style.width="50px",e.style.display="block",e.style.fontSize="12px",e.style.letterSpacing="0px",e.style.wordSpacing="0px",t.body.appendChild(e);var n=t.createRange();e.innerHTML="function"==typeof"".repeat?"&#128104;".repeat(10):"";var i=e.firstChild,r=0,o={},a=l(i.data).map(function(t){return c(t)}).every(function(t,e){n.setStart(i,r),n.setEnd(i,r+t.length);var a=n.getBoundingClientRect();r+=t.length;var s=a.x>o.x||a.y>o.y;return o=a,0===e||s});return t.body.removeChild(e),a}(document);return Object.defineProperty(Mi,"SUPPORT_WORD_BREAKING",{value:t}),t},get SUPPORT_SVG_DRAWING(){var t=function(t){var e=new Image,n=t.createElement("canvas"),i=n.getContext("2d");if(!i)return!1;e.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{i.drawImage(e,0,0),n.toDataURL()}catch(t){return!1}return!0}(document);return Object.defineProperty(Mi,"SUPPORT_SVG_DRAWING",{value:t}),t},get SUPPORT_FOREIGNOBJECT_DRAWING(){var t="function"==typeof Array.from&&"function"==typeof window.fetch?function(t){var e=t.createElement("canvas");e.width=100,e.height=100;var n=e.getContext("2d");if(!n)return Promise.reject(!1);n.fillStyle="rgb(0, 255, 0)",n.fillRect(0,0,100,100);var i=new Image,r=e.toDataURL();i.src=r;var o=Ei(100,100,0,0,i);return n.fillStyle="red",n.fillRect(0,0,100,100),Ii(o).then(function(e){n.drawImage(e,0,0);var i=n.getImageData(0,0,100,100).data;n.fillStyle="red",n.fillRect(0,0,100,100);var o=t.createElement("div");return o.style.backgroundImage="url("+r+")",o.style.height="100px",Oi(i)?Ii(Ei(100,100,0,0,o)):Promise.reject(!1)}).then(function(t){return n.drawImage(t,0,0),Oi(n.getImageData(0,0,100,100).data)}).catch(function(){return!1})}(document):Promise.resolve(!1);return Object.defineProperty(Mi,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:t}),t},get SUPPORT_CORS_IMAGES(){var t=void 0!==(new Image).crossOrigin;return Object.defineProperty(Mi,"SUPPORT_CORS_IMAGES",{value:t}),t},get SUPPORT_RESPONSE_TYPE(){var t="string"==typeof(new XMLHttpRequest).responseType;return Object.defineProperty(Mi,"SUPPORT_RESPONSE_TYPE",{value:t}),t},get SUPPORT_CORS_XHR(){var t="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Mi,"SUPPORT_CORS_XHR",{value:t}),t},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var t=!("undefined"==typeof Intl||!Intl.Segmenter);return Object.defineProperty(Mi,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:t}),t}},Di=function(){return function(t,e){this.text=t,this.bounds=e}}(),Li=function(t,e,n,i){var r=[],o=0;return ji(e,n).forEach(function(e){if(n.textDecorationLine.length||e.trim().length>0)if(Mi.SUPPORT_RANGE_BOUNDS){var s=Pi(i,o,e.length).getClientRects();if(s.length>1){var l=0;Ni(e).forEach(function(e){r.push(new Di(e,a.fromDOMRectList(t,Pi(i,l+o,e.length).getClientRects()))),l+=e.length})}else r.push(new Di(e,a.fromDOMRectList(t,s)))}else{var c=i.splitText(e.length);r.push(new Di(e,Fi(t,i))),i=c}else Mi.SUPPORT_RANGE_BOUNDS||(i=i.splitText(e.length));o+=e.length}),r},Fi=function(t,e){var n=e.ownerDocument;if(n){var i=n.createElement("html2canvaswrapper");i.appendChild(e.cloneNode(!0));var r=e.parentNode;if(r){r.replaceChild(i,e);var o=s(t,i);return i.firstChild&&r.replaceChild(i.firstChild,i),o}}return a.EMPTY},Pi=function(t,e,n){var i=t.ownerDocument;if(!i)throw new Error("Node has no owner document");var r=i.createRange();return r.setStart(t,e),r.setEnd(t,e+n),r},Ni=function(t){if(Mi.SUPPORT_NATIVE_TEXT_SEGMENTATION){var e=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(e.segment(t)).map(function(t){return t.segment})}return function(t){for(var e,n=Ti(t),i=[];!(e=n.next()).done;)e.value&&i.push(e.value.slice());return i}(t)},ji=function(t,e){return 0!==e.letterSpacing?Ni(t):function(t,e){if(Mi.SUPPORT_NATIVE_TEXT_SEGMENTATION){var n=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(n.segment(t)).map(function(t){return t.segment})}return Ri(t,e)}(t,e)},Ui=[32,160,4961,65792,65793,4153,4241],Ri=function(t,e){for(var n,i=function(t,e){var n=l(t),i=rt(n,e),r=i[0],o=i[1],a=i[2],s=n.length,c=0,u=0;return{next:function(){if(u>=s)return{done:!0,value:null};for(var t="×";u<s&&"×"===(t=it(n,o,r,++u,a)););if("×"!==t||u===s){var e=new ot(n,t,c,u);return c=u,{value:e,done:!1}}return{done:!0,value:null}}}}(t,{lineBreak:e.lineBreak,wordBreak:"break-word"===e.overflowWrap?"break-word":e.wordBreak}),r=[],o=function(){if(n.value){var t=n.value.slice(),e="";l(t).forEach(function(t){-1===Ui.indexOf(t)?e+=c(t):(e.length&&r.push(e),r.push(c(t)),e="")}),e.length&&r.push(e)}};!(n=i.next()).done;)o();return r},Qi=function(){return function(t,e,n){this.text=Hi(e.data,n.textTransform),this.textBounds=Li(t,this.text,n,e)}}(),Hi=function(t,e){switch(e){case 1:return t.toLowerCase();case 3:return t.replace(Vi,zi);case 2:return t.toUpperCase();default:return t}},Vi=/(^|\s|:|-|\(|\))([a-z])/g,zi=function(t,e,n){return t.length>0?e+n.toUpperCase():t},$i=function(t){function n(e,n){var i=t.call(this,e,n)||this;return i.src=n.currentSrc||n.src,i.intrinsicWidth=n.naturalWidth,i.intrinsicHeight=n.naturalHeight,i.context.cache.addImage(i.src),i}return e(n,t),n}(hi),Gi=function(t){function n(e,n){var i=t.call(this,e,n)||this;return i.canvas=n,i.intrinsicWidth=n.width,i.intrinsicHeight=n.height,i}return e(n,t),n}(hi),Wi=function(t){function n(e,n){var i=t.call(this,e,n)||this,r=new XMLSerializer,o=s(e,n);return n.setAttribute("width",o.width+"px"),n.setAttribute("height",o.height+"px"),i.svg="data:image/svg+xml,"+encodeURIComponent(r.serializeToString(n)),i.intrinsicWidth=n.width.baseVal.value,i.intrinsicHeight=n.height.baseVal.value,i.context.cache.addImage(i.svg),i}return e(n,t),n}(hi),Ki=function(t){function n(e,n){var i=t.call(this,e,n)||this;return i.value=n.value,i}return e(n,t),n}(hi),Yi=function(t){function n(e,n){var i=t.call(this,e,n)||this;return i.start=n.start,i.reversed="boolean"==typeof n.reversed&&!0===n.reversed,i}return e(n,t),n}(hi),Xi=[{type:15,flags:0,unit:"px",number:3}],qi=[{type:16,flags:0,number:50}],Zi=function(t){return t.width>t.height?new a(t.left+(t.width-t.height)/2,t.top,t.height,t.height):t.width<t.height?new a(t.left,t.top+(t.height-t.width)/2,t.width,t.width):t},Ji=function(t){var e=t.type===nr?new Array(t.value.length+1).join("•"):t.value;return 0===e.length?t.placeholder||"":e},tr="checkbox",er="radio",nr="password",ir=function(t){function n(e,n){var i=t.call(this,e,n)||this;switch(i.type=n.type.toLowerCase(),i.checked=n.checked,i.value=Ji(n),i.type!==tr&&i.type!==er||(i.styles.backgroundColor=3739148031,i.styles.borderTopColor=i.styles.borderRightColor=i.styles.borderBottomColor=i.styles.borderLeftColor=2779096575,i.styles.borderTopWidth=i.styles.borderRightWidth=i.styles.borderBottomWidth=i.styles.borderLeftWidth=1,i.styles.borderTopStyle=i.styles.borderRightStyle=i.styles.borderBottomStyle=i.styles.borderLeftStyle=1,i.styles.backgroundClip=[0],i.styles.backgroundOrigin=[0],i.bounds=Zi(i.bounds)),i.type){case tr:i.styles.borderTopRightRadius=i.styles.borderTopLeftRadius=i.styles.borderBottomRightRadius=i.styles.borderBottomLeftRadius=Xi;break;case er:i.styles.borderTopRightRadius=i.styles.borderTopLeftRadius=i.styles.borderBottomRightRadius=i.styles.borderBottomLeftRadius=qi}return i}return e(n,t),n}(hi),rr=function(t){function n(e,n){var i=t.call(this,e,n)||this,r=n.options[n.selectedIndex||0];return i.value=r&&r.text||"",i}return e(n,t),n}(hi),or=function(t){function n(e,n){var i=t.call(this,e,n)||this;return i.value=n.value,i}return e(n,t),n}(hi),ar=function(t){function n(e,n){var i=t.call(this,e,n)||this;i.src=n.src,i.width=parseInt(n.width,10)||0,i.height=parseInt(n.height,10)||0,i.backgroundColor=i.styles.backgroundColor;try{if(n.contentWindow&&n.contentWindow.document&&n.contentWindow.document.documentElement){i.tree=ur(e,n.contentWindow.document.documentElement);var r=n.contentWindow.document.documentElement?pe(e,getComputedStyle(n.contentWindow.document.documentElement).backgroundColor):Ae.TRANSPARENT,o=n.contentWindow.document.body?pe(e,getComputedStyle(n.contentWindow.document.body).backgroundColor):Ae.TRANSPARENT;i.backgroundColor=ae(r)?ae(o)?i.styles.backgroundColor:o:r}}catch(t){}return i}return e(n,t),n}(hi),sr=["OL","UL","MENU"],lr=function(t,e,n,i){for(var r=e.firstChild,o=void 0;r;r=o)if(o=r.nextSibling,fr(r)&&r.data.trim().length>0)n.textNodes.push(new Qi(t,r,n.styles));else if(pr(r))if(Or(r)&&r.assignedNodes)r.assignedNodes().forEach(function(e){return lr(t,e,n,i)});else{var a=cr(t,r);a.styles.isVisible()&&(hr(r,a,i)?a.flags|=4:dr(a.styles)&&(a.flags|=2),-1!==sr.indexOf(r.tagName)&&(a.flags|=8),n.elements.push(a),r.slot,r.shadowRoot?lr(t,r.shadowRoot,a,i):kr(r)||br(r)||Tr(r)||lr(t,r,a,i))}},cr=function(t,e){return Cr(e)?new $i(t,e):wr(e)?new Gi(t,e):br(e)?new Wi(t,e):vr(e)?new Ki(t,e):mr(e)?new Yi(t,e):yr(e)?new ir(t,e):Tr(e)?new rr(t,e):kr(e)?new or(t,e):Sr(e)?new ar(t,e):new hi(t,e)},ur=function(t,e){var n=cr(t,e);return n.flags|=4,lr(t,e,n,n),n},hr=function(t,e,n){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||_r(t)&&n.styles.isTransparent()},dr=function(t){return t.isPositioned()||t.isFloating()},fr=function(t){return t.nodeType===Node.TEXT_NODE},pr=function(t){return t.nodeType===Node.ELEMENT_NODE},Ar=function(t){return pr(t)&&void 0!==t.style&&!gr(t)},gr=function(t){return"object"==typeof t.className},vr=function(t){return"LI"===t.tagName},mr=function(t){return"OL"===t.tagName},yr=function(t){return"INPUT"===t.tagName},br=function(t){return"svg"===t.tagName},_r=function(t){return"BODY"===t.tagName},wr=function(t){return"CANVAS"===t.tagName},xr=function(t){return"VIDEO"===t.tagName},Cr=function(t){return"IMG"===t.tagName},Sr=function(t){return"IFRAME"===t.tagName},Br=function(t){return"STYLE"===t.tagName},kr=function(t){return"TEXTAREA"===t.tagName},Tr=function(t){return"SELECT"===t.tagName},Or=function(t){return"SLOT"===t.tagName},Er=function(t){return t.tagName.indexOf("-")>0},Ir=function(){function t(){this.counters={}}return t.prototype.getCounterValue=function(t){var e=this.counters[t];return e&&e.length?e[e.length-1]:1},t.prototype.getCounterValues=function(t){var e=this.counters[t];return e||[]},t.prototype.pop=function(t){var e=this;t.forEach(function(t){return e.counters[t].pop()})},t.prototype.parse=function(t){var e=this,n=t.counterIncrement,i=t.counterReset,r=!0;null!==n&&n.forEach(function(t){var n=e.counters[t.counter];n&&0!==t.increment&&(r=!1,n.length||n.push(1),n[Math.max(0,n.length-1)]+=t.increment)});var o=[];return r&&i.forEach(function(t){var n=e.counters[t.counter];o.push(t.counter),n||(n=e.counters[t.counter]=[]),n.push(t.reset)}),o},t}(),Mr={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},Dr={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},Lr={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},Fr={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},Pr=function(t,e,n,i,r,o){return t<e||t>n?Qr(t,r,o.length>0):i.integers.reduce(function(e,n,r){for(;t>=n;)t-=n,e+=i.values[r];return e},"")+o},Nr=function(t,e,n,i){var r="";do{n||t--,r=i(t)+r,t/=e}while(t*e>=e);return r},jr=function(t,e,n,i,r){var o=n-e+1;return(t<0?"-":"")+(Nr(Math.abs(t),o,i,function(t){return c(Math.floor(t%o)+e)})+r)},Ur=function(t,e,n){void 0===n&&(n=". ");var i=e.length;return Nr(Math.abs(t),i,!1,function(t){return e[Math.floor(t%i)]})+n},Rr=function(t,e,n,i,r,o){if(t<-9999||t>9999)return Qr(t,4,r.length>0);var a=Math.abs(t),s=r;if(0===a)return e[0]+s;for(var l=0;a>0&&l<=4;l++){var c=a%10;0===c&&Yn(o,1)&&""!==s?s=e[c]+s:c>1||1===c&&0===l||1===c&&1===l&&Yn(o,2)||1===c&&1===l&&Yn(o,4)&&t>100||1===c&&l>1&&Yn(o,8)?s=e[c]+(l>0?n[l-1]:"")+s:1===c&&l>0&&(s=n[l-1]+s),a=Math.floor(a/10)}return(t<0?i:"")+s},Qr=function(t,e,n){var i=n?". ":"",r=n?"、":"",o=n?", ":"",a=n?" ":"";switch(e){case 0:return"•"+a;case 1:return"◦"+a;case 2:return"◾"+a;case 5:var s=jr(t,48,57,!0,i);return s.length<4?"0"+s:s;case 4:return Ur(t,"〇一二三四五六七八九",r);case 6:return Pr(t,1,3999,Mr,3,i).toLowerCase();case 7:return Pr(t,1,3999,Mr,3,i);case 8:return jr(t,945,969,!1,i);case 9:return jr(t,97,122,!1,i);case 10:return jr(t,65,90,!1,i);case 11:return jr(t,1632,1641,!0,i);case 12:case 49:return Pr(t,1,9999,Dr,3,i);case 35:return Pr(t,1,9999,Dr,3,i).toLowerCase();case 13:return jr(t,2534,2543,!0,i);case 14:case 30:return jr(t,6112,6121,!0,i);case 15:return Ur(t,"子丑寅卯辰巳午未申酉戌亥",r);case 16:return Ur(t,"甲乙丙丁戊己庚辛壬癸",r);case 17:case 48:return Rr(t,"零一二三四五六七八九","十百千萬","負",r,14);case 47:return Rr(t,"零壹貳參肆伍陸柒捌玖","拾佰仟萬","負",r,15);case 42:return Rr(t,"零一二三四五六七八九","十百千萬","负",r,14);case 41:return Rr(t,"零壹贰叁肆伍陆柒捌玖","拾佰仟萬","负",r,15);case 26:return Rr(t,"〇一二三四五六七八九","十百千万","マイナス",r,0);case 25:return Rr(t,"零壱弐参四伍六七八九","拾百千万","マイナス",r,7);case 31:return Rr(t,"영일이삼사오육칠팔구","십백천만","마이너스",o,7);case 33:return Rr(t,"零一二三四五六七八九","十百千萬","마이너스",o,0);case 32:return Rr(t,"零壹貳參四五六七八九","拾百千","마이너스",o,7);case 18:return jr(t,2406,2415,!0,i);case 20:return Pr(t,1,19999,Fr,3,i);case 21:return jr(t,2790,2799,!0,i);case 22:return jr(t,2662,2671,!0,i);case 22:return Pr(t,1,10999,Lr,3,i);case 23:return Ur(t,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return Ur(t,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return jr(t,3302,3311,!0,i);case 28:return Ur(t,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",r);case 29:return Ur(t,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",r);case 34:return jr(t,3792,3801,!0,i);case 37:return jr(t,6160,6169,!0,i);case 38:return jr(t,4160,4169,!0,i);case 39:return jr(t,2918,2927,!0,i);case 40:return jr(t,1776,1785,!0,i);case 43:return jr(t,3046,3055,!0,i);case 44:return jr(t,3174,3183,!0,i);case 45:return jr(t,3664,3673,!0,i);case 46:return jr(t,3872,3881,!0,i);case 3:default:return jr(t,48,57,!0,i)}},Hr=function(){function t(t,e,n){if(this.context=t,this.options=n,this.scrolledElements=[],this.referenceElement=e,this.counters=new Ir,this.quoteDepth=0,!e.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(e.ownerDocument.documentElement,!1)}return t.prototype.toIFrame=function(t,e){var n=this,o=zr(t,e);if(!o.contentWindow)return Promise.reject("Unable to find iframe window");var a=t.defaultView.pageXOffset,s=t.defaultView.pageYOffset,l=o.contentWindow,c=l.document,u=Wr(o).then(function(){return i(n,void 0,void 0,function(){var t,n;return r(this,function(i){switch(i.label){case 0:return this.scrolledElements.forEach(Zr),l&&(l.scrollTo(e.left,e.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||l.scrollY===e.top&&l.scrollX===e.left||(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(l.scrollX-e.left,l.scrollY-e.top,0,0))),t=this.options.onclone,void 0===(n=this.clonedReferenceElement)?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:c.fonts&&c.fonts.ready?[4,c.fonts.ready]:[3,2];case 1:i.sent(),i.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Gr(c)]:[3,4];case 3:i.sent(),i.label=4;case 4:return"function"==typeof t?[2,Promise.resolve().then(function(){return t(c,n)}).then(function(){return o})]:[2,o]}})})});return c.open(),c.write(Xr(document.doctype)+"<html></html>"),qr(this.referenceElement.ownerDocument,a,s),c.replaceChild(c.adoptNode(this.documentElement),c.documentElement),c.close(),u},t.prototype.createElementClone=function(t){if(ui(t,2),wr(t))return this.createCanvasClone(t);if(xr(t))return this.createVideoClone(t);if(Br(t))return this.createStyleClone(t);var e=t.cloneNode(!1);return Cr(e)&&(Cr(t)&&t.currentSrc&&t.currentSrc!==t.src&&(e.src=t.currentSrc,e.srcset=""),"lazy"===e.loading&&(e.loading="eager")),Er(e)?this.createCustomElementClone(e):e},t.prototype.createCustomElementClone=function(t){var e=document.createElement("html2canvascustomelement");return Yr(t.style,e),e},t.prototype.createStyleClone=function(t){try{var e=t.sheet;if(e&&e.cssRules){var n=[].slice.call(e.cssRules,0).reduce(function(t,e){return e&&"string"==typeof e.cssText?t+e.cssText:t},""),i=t.cloneNode(!1);return i.textContent=n,i}}catch(t){if(this.context.logger.error("Unable to access cssRules property",t),"SecurityError"!==t.name)throw t}return t.cloneNode(!1)},t.prototype.createCanvasClone=function(t){var e;if(this.options.inlineImages&&t.ownerDocument){var n=t.ownerDocument.createElement("img");try{return n.src=t.toDataURL(),n}catch(e){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",t)}}var i=t.cloneNode(!1);try{i.width=t.width,i.height=t.height;var r=t.getContext("2d"),o=i.getContext("2d");if(o)if(!this.options.allowTaint&&r)o.putImageData(r.getImageData(0,0,t.width,t.height),0,0);else{var a=null!==(e=t.getContext("webgl2"))&&void 0!==e?e:t.getContext("webgl");if(a){var s=a.getContextAttributes();!1===(null===s||void 0===s?void 0:s.preserveDrawingBuffer)&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",t)}o.drawImage(t,0,0)}return i}catch(e){this.context.logger.info("Unable to clone canvas as it is tainted",t)}return i},t.prototype.createVideoClone=function(t){var e=t.ownerDocument.createElement("canvas");e.width=t.offsetWidth,e.height=t.offsetHeight;var n=e.getContext("2d");try{return n&&(n.drawImage(t,0,0,e.width,e.height),this.options.allowTaint||n.getImageData(0,0,e.width,e.height)),e}catch(e){this.context.logger.info("Unable to clone video as it is tainted",t)}var i=t.ownerDocument.createElement("canvas");return i.width=t.offsetWidth,i.height=t.offsetHeight,i},t.prototype.appendChildNode=function(t,e,n){pr(e)&&("SCRIPT"===e.tagName||e.hasAttribute("data-html2canvas-ignore")||"function"==typeof this.options.ignoreElements&&this.options.ignoreElements(e))||this.options.copyStyles&&pr(e)&&Br(e)||t.appendChild(this.cloneNode(e,n))},t.prototype.cloneChildNodes=function(t,e,n){for(var i=this,r=t.shadowRoot?t.shadowRoot.firstChild:t.firstChild;r;r=r.nextSibling)if(pr(r)&&Or(r)&&"function"==typeof r.assignedNodes){var o=r.assignedNodes();o.length&&o.forEach(function(t){return i.appendChildNode(e,t,n)})}else this.appendChildNode(e,r,n)},t.prototype.cloneNode=function(t,e){if(fr(t))return document.createTextNode(t.data);if(!t.ownerDocument)return t.cloneNode(!1);var n=t.ownerDocument.defaultView;if(n&&pr(t)&&(Ar(t)||gr(t))){var i=this.createElementClone(t);i.style.transitionProperty="none";var r=n.getComputedStyle(t),o=n.getComputedStyle(t,":before"),a=n.getComputedStyle(t,":after");this.referenceElement===t&&Ar(i)&&(this.clonedReferenceElement=i),_r(i)&&eo(i);var s=this.counters.parse(new li(this.context,r)),l=this.resolvePseudoContent(t,i,o,bi.BEFORE);Er(t)&&(e=!0),xr(t)||this.cloneChildNodes(t,i,e),l&&i.insertBefore(l,i.firstChild);var c=this.resolvePseudoContent(t,i,a,bi.AFTER);return c&&i.appendChild(c),this.counters.pop(s),(r&&(this.options.copyStyles||gr(t))&&!Sr(t)||e)&&Yr(r,i),0===t.scrollTop&&0===t.scrollLeft||this.scrolledElements.push([i,t.scrollLeft,t.scrollTop]),(kr(t)||Tr(t))&&(kr(i)||Tr(i))&&(i.value=t.value),i}return t.cloneNode(!1)},t.prototype.resolvePseudoContent=function(t,e,n,i){var r=this;if(n){var o=n.content,a=e.ownerDocument;if(a&&o&&"none"!==o&&"-moz-alt-content"!==o&&"none"!==n.display){this.counters.parse(new li(this.context,n));var s=new si(this.context,n),l=a.createElement("html2canvaspseudoelement");Yr(n,l),s.content.forEach(function(e){if(0===e.type)l.appendChild(a.createTextNode(e.value));else if(22===e.type){var n=a.createElement("img");n.src=e.value,n.style.opacity="1",l.appendChild(n)}else if(18===e.type){if("attr"===e.name){var i=e.values.filter(Rt);i.length&&l.appendChild(a.createTextNode(t.getAttribute(i[0].value)||""))}else if("counter"===e.name){var o=e.values.filter(zt),c=o[0],u=o[1];if(c&&Rt(c)){var h=r.counters.getCounterValue(c.value),d=u&&Rt(u)?An.parse(r.context,u.value):3;l.appendChild(a.createTextNode(Qr(h,d,!1)))}}else if("counters"===e.name){var f=e.values.filter(zt),p=(c=f[0],f[1]);u=f[2];if(c&&Rt(c)){var A=r.counters.getCounterValues(c.value),g=u&&Rt(u)?An.parse(r.context,u.value):3,v=p&&0===p.type?p.value:"",m=A.map(function(t){return Qr(t,g,!1)}).join(v);l.appendChild(a.createTextNode(m))}}}else if(20===e.type)switch(e.value){case"open-quote":l.appendChild(a.createTextNode(ei(s.quotes,r.quoteDepth++,!0)));break;case"close-quote":l.appendChild(a.createTextNode(ei(s.quotes,--r.quoteDepth,!1)));break;default:l.appendChild(a.createTextNode(e.value))}}),l.className=Jr+" "+to;var c=i===bi.BEFORE?" "+Jr:" "+to;return gr(e)?e.className.baseValue+=c:e.className+=c,l}}},t.destroy=function(t){return!!t.parentNode&&(t.parentNode.removeChild(t),!0)},t}();!function(t){t[t.BEFORE=0]="BEFORE",t[t.AFTER=1]="AFTER"}(bi||(bi={}));var Vr,zr=function(t,e){var n=t.createElement("iframe");return n.className="html2canvas-container",n.style.visibility="hidden",n.style.position="fixed",n.style.left="-10000px",n.style.top="0px",n.style.border="0",n.width=e.width.toString(),n.height=e.height.toString(),n.scrolling="no",n.setAttribute("data-html2canvas-ignore","true"),t.body.appendChild(n),n},$r=function(t){return new Promise(function(e){t.complete?e():t.src?(t.onload=e,t.onerror=e):e()})},Gr=function(t){return Promise.all([].slice.call(t.images,0).map($r))},Wr=function(t){return new Promise(function(e,n){var i=t.contentWindow;if(!i)return n("No window assigned for iframe");var r=i.document;i.onload=t.onload=function(){i.onload=t.onload=null;var n=setInterval(function(){r.body.childNodes.length>0&&"complete"===r.readyState&&(clearInterval(n),e(t))},50)}})},Kr=["all","d","content"],Yr=function(t,e){for(var n=t.length-1;n>=0;n--){var i=t.item(n);-1===Kr.indexOf(i)&&e.style.setProperty(i,t.getPropertyValue(i))}return e},Xr=function(t){var e="";return t&&(e+="<!DOCTYPE ",t.name&&(e+=t.name),t.internalSubset&&(e+=t.internalSubset),t.publicId&&(e+='"'+t.publicId+'"'),t.systemId&&(e+='"'+t.systemId+'"'),e+=">"),e},qr=function(t,e,n){t&&t.defaultView&&(e!==t.defaultView.pageXOffset||n!==t.defaultView.pageYOffset)&&t.defaultView.scrollTo(e,n)},Zr=function(t){var e=t[0],n=t[1],i=t[2];e.scrollLeft=n,e.scrollTop=i},Jr="___html2canvas___pseudoelement_before",to="___html2canvas___pseudoelement_after",eo=function(t){no(t,"."+Jr+':before{\n content: "" !important;\n display: none !important;\n}\n .'+to+':after{\n content: "" !important;\n display: none !important;\n}')},no=function(t,e){var n=t.ownerDocument;if(n){var i=n.createElement("style");i.textContent=e,t.appendChild(i)}},io=function(){function t(){}return t.getOrigin=function(e){var n=t._link;return n?(n.href=e,n.href=n.href,n.protocol+n.hostname+n.port):"about:blank"},t.isSameOrigin=function(e){return t.getOrigin(e)===t._origin},t.setContext=function(e){t._link=e.document.createElement("a"),t._origin=t.getOrigin(e.location.href)},t._origin="about:blank",t}(),ro=function(){function t(t,e){this.context=t,this._options=e,this._cache={}}return t.prototype.addImage=function(t){var e=Promise.resolve();return this.has(t)?e:ho(t)||lo(t)?((this._cache[t]=this.loadImage(t)).catch(function(){}),e):e},t.prototype.match=function(t){return this._cache[t]},t.prototype.loadImage=function(t){return i(this,void 0,void 0,function(){var e,n,i,o,a=this;return r(this,function(r){switch(r.label){case 0:return e=io.isSameOrigin(t),n=!co(t)&&!0===this._options.useCORS&&Mi.SUPPORT_CORS_IMAGES&&!e,i=!co(t)&&!e&&!ho(t)&&"string"==typeof this._options.proxy&&Mi.SUPPORT_CORS_XHR&&!n,e||!1!==this._options.allowTaint||co(t)||ho(t)||i||n?(o=t,i?[4,this.proxy(o)]:[3,2]):[2];case 1:o=r.sent(),r.label=2;case 2:return this.context.logger.debug("Added image "+t.substring(0,256)),[4,new Promise(function(t,e){var i=new Image;i.onload=function(){return t(i)},i.onerror=e,(uo(o)||n)&&(i.crossOrigin="anonymous"),i.src=o,!0===i.complete&&setTimeout(function(){return t(i)},500),a._options.imageTimeout>0&&setTimeout(function(){return e("Timed out ("+a._options.imageTimeout+"ms) loading image")},a._options.imageTimeout)})];case 3:return[2,r.sent()]}})})},t.prototype.has=function(t){return void 0!==this._cache[t]},t.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},t.prototype.proxy=function(t){var e=this,n=this._options.proxy;if(!n)throw new Error("No proxy defined");var i=t.substring(0,256);return new Promise(function(r,o){var a=Mi.SUPPORT_RESPONSE_TYPE?"blob":"text",s=new XMLHttpRequest;s.onload=function(){if(200===s.status)if("text"===a)r(s.response);else{var t=new FileReader;t.addEventListener("load",function(){return r(t.result)},!1),t.addEventListener("error",function(t){return o(t)},!1),t.readAsDataURL(s.response)}else o("Failed to proxy resource "+i+" with status code "+s.status)},s.onerror=o;var l=n.indexOf("?")>-1?"&":"?";if(s.open("GET",""+n+l+"url="+encodeURIComponent(t)+"&responseType="+a),"text"!==a&&s instanceof XMLHttpRequest&&(s.responseType=a),e._options.imageTimeout){var c=e._options.imageTimeout;s.timeout=c,s.ontimeout=function(){return o("Timed out ("+c+"ms) proxying "+i)}}s.send()})},t}(),oo=/^data:image\/svg\+xml/i,ao=/^data:image\/.*;base64,/i,so=/^data:image\/.*/i,lo=function(t){return Mi.SUPPORT_SVG_DRAWING||!fo(t)},co=function(t){return so.test(t)},uo=function(t){return ao.test(t)},ho=function(t){return"blob"===t.substr(0,4)},fo=function(t){return"svg"===t.substr(-3).toLowerCase()||oo.test(t)},po=function(){function t(t,e){this.type=0,this.x=t,this.y=e}return t.prototype.add=function(e,n){return new t(this.x+e,this.y+n)},t}(),Ao=function(t,e,n){return new po(t.x+(e.x-t.x)*n,t.y+(e.y-t.y)*n)},go=function(){function t(t,e,n,i){this.type=1,this.start=t,this.startControl=e,this.endControl=n,this.end=i}return t.prototype.subdivide=function(e,n){var i=Ao(this.start,this.startControl,e),r=Ao(this.startControl,this.endControl,e),o=Ao(this.endControl,this.end,e),a=Ao(i,r,e),s=Ao(r,o,e),l=Ao(a,s,e);return n?new t(this.start,i,a,l):new t(l,s,o,this.end)},t.prototype.add=function(e,n){return new t(this.start.add(e,n),this.startControl.add(e,n),this.endControl.add(e,n),this.end.add(e,n))},t.prototype.reverse=function(){return new t(this.end,this.endControl,this.startControl,this.start)},t}(),vo=function(t){return 1===t.type},mo=function(){return function(t){var e=t.styles,n=t.bounds,i=Jt(e.borderTopLeftRadius,n.width,n.height),r=i[0],o=i[1],a=Jt(e.borderTopRightRadius,n.width,n.height),s=a[0],l=a[1],c=Jt(e.borderBottomRightRadius,n.width,n.height),u=c[0],h=c[1],d=Jt(e.borderBottomLeftRadius,n.width,n.height),f=d[0],p=d[1],A=[];A.push((r+s)/n.width),A.push((f+u)/n.width),A.push((o+p)/n.height),A.push((l+h)/n.height);var g=Math.max.apply(Math,A);g>1&&(r/=g,o/=g,s/=g,l/=g,u/=g,h/=g,f/=g,p/=g);var v=n.width-s,m=n.height-h,y=n.width-u,b=n.height-p,_=e.borderTopWidth,w=e.borderRightWidth,x=e.borderBottomWidth,C=e.borderLeftWidth,S=te(e.paddingTop,t.bounds.width),B=te(e.paddingRight,t.bounds.width),k=te(e.paddingBottom,t.bounds.width),T=te(e.paddingLeft,t.bounds.width);this.topLeftBorderDoubleOuterBox=r>0||o>0?yo(n.left+C/3,n.top+_/3,r-C/3,o-_/3,Vr.TOP_LEFT):new po(n.left+C/3,n.top+_/3),this.topRightBorderDoubleOuterBox=r>0||o>0?yo(n.left+v,n.top+_/3,s-w/3,l-_/3,Vr.TOP_RIGHT):new po(n.left+n.width-w/3,n.top+_/3),this.bottomRightBorderDoubleOuterBox=u>0||h>0?yo(n.left+y,n.top+m,u-w/3,h-x/3,Vr.BOTTOM_RIGHT):new po(n.left+n.width-w/3,n.top+n.height-x/3),this.bottomLeftBorderDoubleOuterBox=f>0||p>0?yo(n.left+C/3,n.top+b,f-C/3,p-x/3,Vr.BOTTOM_LEFT):new po(n.left+C/3,n.top+n.height-x/3),this.topLeftBorderDoubleInnerBox=r>0||o>0?yo(n.left+2*C/3,n.top+2*_/3,r-2*C/3,o-2*_/3,Vr.TOP_LEFT):new po(n.left+2*C/3,n.top+2*_/3),this.topRightBorderDoubleInnerBox=r>0||o>0?yo(n.left+v,n.top+2*_/3,s-2*w/3,l-2*_/3,Vr.TOP_RIGHT):new po(n.left+n.width-2*w/3,n.top+2*_/3),this.bottomRightBorderDoubleInnerBox=u>0||h>0?yo(n.left+y,n.top+m,u-2*w/3,h-2*x/3,Vr.BOTTOM_RIGHT):new po(n.left+n.width-2*w/3,n.top+n.height-2*x/3),this.bottomLeftBorderDoubleInnerBox=f>0||p>0?yo(n.left+2*C/3,n.top+b,f-2*C/3,p-2*x/3,Vr.BOTTOM_LEFT):new po(n.left+2*C/3,n.top+n.height-2*x/3),this.topLeftBorderStroke=r>0||o>0?yo(n.left+C/2,n.top+_/2,r-C/2,o-_/2,Vr.TOP_LEFT):new po(n.left+C/2,n.top+_/2),this.topRightBorderStroke=r>0||o>0?yo(n.left+v,n.top+_/2,s-w/2,l-_/2,Vr.TOP_RIGHT):new po(n.left+n.width-w/2,n.top+_/2),this.bottomRightBorderStroke=u>0||h>0?yo(n.left+y,n.top+m,u-w/2,h-x/2,Vr.BOTTOM_RIGHT):new po(n.left+n.width-w/2,n.top+n.height-x/2),this.bottomLeftBorderStroke=f>0||p>0?yo(n.left+C/2,n.top+b,f-C/2,p-x/2,Vr.BOTTOM_LEFT):new po(n.left+C/2,n.top+n.height-x/2),this.topLeftBorderBox=r>0||o>0?yo(n.left,n.top,r,o,Vr.TOP_LEFT):new po(n.left,n.top),this.topRightBorderBox=s>0||l>0?yo(n.left+v,n.top,s,l,Vr.TOP_RIGHT):new po(n.left+n.width,n.top),this.bottomRightBorderBox=u>0||h>0?yo(n.left+y,n.top+m,u,h,Vr.BOTTOM_RIGHT):new po(n.left+n.width,n.top+n.height),this.bottomLeftBorderBox=f>0||p>0?yo(n.left,n.top+b,f,p,Vr.BOTTOM_LEFT):new po(n.left,n.top+n.height),this.topLeftPaddingBox=r>0||o>0?yo(n.left+C,n.top+_,Math.max(0,r-C),Math.max(0,o-_),Vr.TOP_LEFT):new po(n.left+C,n.top+_),this.topRightPaddingBox=s>0||l>0?yo(n.left+Math.min(v,n.width-w),n.top+_,v>n.width+w?0:Math.max(0,s-w),Math.max(0,l-_),Vr.TOP_RIGHT):new po(n.left+n.width-w,n.top+_),this.bottomRightPaddingBox=u>0||h>0?yo(n.left+Math.min(y,n.width-C),n.top+Math.min(m,n.height-x),Math.max(0,u-w),Math.max(0,h-x),Vr.BOTTOM_RIGHT):new po(n.left+n.width-w,n.top+n.height-x),this.bottomLeftPaddingBox=f>0||p>0?yo(n.left+C,n.top+Math.min(b,n.height-x),Math.max(0,f-C),Math.max(0,p-x),Vr.BOTTOM_LEFT):new po(n.left+C,n.top+n.height-x),this.topLeftContentBox=r>0||o>0?yo(n.left+C+T,n.top+_+S,Math.max(0,r-(C+T)),Math.max(0,o-(_+S)),Vr.TOP_LEFT):new po(n.left+C+T,n.top+_+S),this.topRightContentBox=s>0||l>0?yo(n.left+Math.min(v,n.width+C+T),n.top+_+S,v>n.width+C+T?0:s-C+T,l-(_+S),Vr.TOP_RIGHT):new po(n.left+n.width-(w+B),n.top+_+S),this.bottomRightContentBox=u>0||h>0?yo(n.left+Math.min(y,n.width-(C+T)),n.top+Math.min(m,n.height+_+S),Math.max(0,u-(w+B)),h-(x+k),Vr.BOTTOM_RIGHT):new po(n.left+n.width-(w+B),n.top+n.height-(x+k)),this.bottomLeftContentBox=f>0||p>0?yo(n.left+C+T,n.top+b,Math.max(0,f-(C+T)),p-(x+k),Vr.BOTTOM_LEFT):new po(n.left+C+T,n.top+n.height-(x+k))}}();!function(t){t[t.TOP_LEFT=0]="TOP_LEFT",t[t.TOP_RIGHT=1]="TOP_RIGHT",t[t.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",t[t.BOTTOM_LEFT=3]="BOTTOM_LEFT"}(Vr||(Vr={}));var yo=function(t,e,n,i,r){var o=(Math.sqrt(2)-1)/3*4,a=n*o,s=i*o,l=t+n,c=e+i;switch(r){case Vr.TOP_LEFT:return new go(new po(t,c),new po(t,c-s),new po(l-a,e),new po(l,e));case Vr.TOP_RIGHT:return new go(new po(t,e),new po(t+a,e),new po(l,c-s),new po(l,c));case Vr.BOTTOM_RIGHT:return new go(new po(l,e),new po(l,e+s),new po(t+a,c),new po(t,c));case Vr.BOTTOM_LEFT:default:return new go(new po(l,c),new po(l-a,c),new po(t,e+s),new po(t,e))}},bo=function(t){return[t.topLeftBorderBox,t.topRightBorderBox,t.bottomRightBorderBox,t.bottomLeftBorderBox]},_o=function(t){return[t.topLeftPaddingBox,t.topRightPaddingBox,t.bottomRightPaddingBox,t.bottomLeftPaddingBox]},wo=function(){return function(t,e,n){this.offsetX=t,this.offsetY=e,this.matrix=n,this.type=0,this.target=6}}(),xo=function(){return function(t,e){this.path=t,this.target=e,this.type=1}}(),Co=function(){return function(t){this.opacity=t,this.type=2,this.target=6}}(),So=function(t){return 1===t.type},Bo=function(t,e){return t.length===e.length&&t.some(function(t,n){return t===e[n]})},ko=function(){return function(t){this.element=t,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}}(),To=function(){function t(t,e){if(this.container=t,this.parent=e,this.effects=[],this.curves=new mo(this.container),this.container.styles.opacity<1&&this.effects.push(new Co(this.container.styles.opacity)),null!==this.container.styles.transform){var n=this.container.bounds.left+this.container.styles.transformOrigin[0].number,i=this.container.bounds.top+this.container.styles.transformOrigin[1].number,r=this.container.styles.transform;this.effects.push(new wo(n,i,r))}if(0!==this.container.styles.overflowX){var o=bo(this.curves),a=_o(this.curves);Bo(o,a)?this.effects.push(new xo(o,6)):(this.effects.push(new xo(o,2)),this.effects.push(new xo(a,4)))}}return t.prototype.getEffects=function(t){for(var e=-1===[2,3].indexOf(this.container.styles.position),n=this.parent,i=this.effects.slice(0);n;){var r=n.effects.filter(function(t){return!So(t)});if(e||0!==n.container.styles.position||!n.parent){if(i.unshift.apply(i,r),e=-1===[2,3].indexOf(n.container.styles.position),0!==n.container.styles.overflowX){var o=bo(n.curves),a=_o(n.curves);Bo(o,a)||i.unshift(new xo(a,6))}}else i.unshift.apply(i,r);n=n.parent}return i.filter(function(e){return Yn(e.target,t)})},t}(),Oo=function(t,e,n,i){t.container.elements.forEach(function(r){var o=Yn(r.flags,4),a=Yn(r.flags,2),s=new To(r,t);Yn(r.styles.display,2048)&&i.push(s);var l=Yn(r.flags,8)?[]:i;if(o||a){var c=o||r.styles.isPositioned()?n:e,u=new ko(s);if(r.styles.isPositioned()||r.styles.opacity<1||r.styles.isTransformed()){var h=r.styles.zIndex.order;if(h<0){var d=0;c.negativeZIndex.some(function(t,e){return h>t.element.container.styles.zIndex.order?(d=e,!1):d>0}),c.negativeZIndex.splice(d,0,u)}else if(h>0){var f=0;c.positiveZIndex.some(function(t,e){return h>=t.element.container.styles.zIndex.order?(f=e+1,!1):f>0}),c.positiveZIndex.splice(f,0,u)}else c.zeroOrAutoZIndexOrTransformedOrOpacity.push(u)}else r.styles.isFloating()?c.nonPositionedFloats.push(u):c.nonPositionedInlineLevel.push(u);Oo(s,u,o?u:n,l)}else r.styles.isInlineLevel()?e.inlineLevel.push(s):e.nonInlineLevel.push(s),Oo(s,e,n,l);Yn(r.flags,8)&&Eo(r,l)})},Eo=function(t,e){for(var n=t instanceof Yi?t.start:1,i=t instanceof Yi&&t.reversed,r=0;r<e.length;r++){var o=e[r];o.container instanceof Ki&&"number"==typeof o.container.value&&0!==o.container.value&&(n=o.container.value),o.listValue=Qr(n,o.container.styles.listStyleType,!0),n+=i?-1:1}},Io=function(t,e){switch(e){case 0:return Do(t.topLeftBorderBox,t.topLeftPaddingBox,t.topRightBorderBox,t.topRightPaddingBox);case 1:return Do(t.topRightBorderBox,t.topRightPaddingBox,t.bottomRightBorderBox,t.bottomRightPaddingBox);case 2:return Do(t.bottomRightBorderBox,t.bottomRightPaddingBox,t.bottomLeftBorderBox,t.bottomLeftPaddingBox);case 3:default:return Do(t.bottomLeftBorderBox,t.bottomLeftPaddingBox,t.topLeftBorderBox,t.topLeftPaddingBox)}},Mo=function(t,e){var n=[];return vo(t)?n.push(t.subdivide(.5,!1)):n.push(t),vo(e)?n.push(e.subdivide(.5,!0)):n.push(e),n},Do=function(t,e,n,i){var r=[];return vo(t)?r.push(t.subdivide(.5,!1)):r.push(t),vo(n)?r.push(n.subdivide(.5,!0)):r.push(n),vo(i)?r.push(i.subdivide(.5,!0).reverse()):r.push(i),vo(e)?r.push(e.subdivide(.5,!1).reverse()):r.push(e),r},Lo=function(t){var e=t.bounds,n=t.styles;return e.add(n.borderLeftWidth,n.borderTopWidth,-(n.borderRightWidth+n.borderLeftWidth),-(n.borderTopWidth+n.borderBottomWidth))},Fo=function(t){var e=t.styles,n=t.bounds,i=te(e.paddingLeft,n.width),r=te(e.paddingRight,n.width),o=te(e.paddingTop,n.width),a=te(e.paddingBottom,n.width);return n.add(i+e.borderLeftWidth,o+e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth+i+r),-(e.borderTopWidth+e.borderBottomWidth+o+a))},Po=function(t,e,n){var i,r,o=(i=Ro(t.styles.backgroundOrigin,e),r=t,0===i?r.bounds:2===i?Fo(r):Lo(r)),a=function(t,e){return 0===t?e.bounds:2===t?Fo(e):Lo(e)}(Ro(t.styles.backgroundClip,e),t),s=Uo(Ro(t.styles.backgroundSize,e),n,o),l=s[0],c=s[1],u=Jt(Ro(t.styles.backgroundPosition,e),o.width-l,o.height-c);return[Qo(Ro(t.styles.backgroundRepeat,e),u,s,o,a),Math.round(o.left+u[0]),Math.round(o.top+u[1]),l,c]},No=function(t){return Rt(t)&&t.value===Be.AUTO},jo=function(t){return"number"==typeof t},Uo=function(t,e,n){var i=e[0],r=e[1],o=e[2],a=t[0],s=t[1];if(!a)return[0,0];if(Kt(a)&&s&&Kt(s))return[te(a,n.width),te(s,n.height)];var l=jo(o);if(Rt(a)&&(a.value===Be.CONTAIN||a.value===Be.COVER))return jo(o)?n.width/n.height<o!=(a.value===Be.COVER)?[n.width,n.width/o]:[n.height*o,n.height]:[n.width,n.height];var c=jo(i),u=jo(r),h=c||u;if(No(a)&&(!s||No(s)))return c&&u?[i,r]:l||h?h&&l?[c?i:r*o,u?r:i/o]:[c?i:n.width,u?r:n.height]:[n.width,n.height];if(l){var d=0,f=0;return Kt(a)?d=te(a,n.width):Kt(s)&&(f=te(s,n.height)),No(a)?d=f*o:s&&!No(s)||(f=d/o),[d,f]}var p=null,A=null;if(Kt(a)?p=te(a,n.width):s&&Kt(s)&&(A=te(s,n.height)),null===p||s&&!No(s)||(A=c&&u?p/i*r:n.height),null!==A&&No(a)&&(p=c&&u?A/r*i:n.width),null!==p&&null!==A)return[p,A];throw new Error("Unable to calculate background-size for element")},Ro=function(t,e){var n=t[e];return void 0===n?t[0]:n},Qo=function(t,e,n,i,r){var o=e[0],a=e[1],s=n[0],l=n[1];switch(t){case 2:return[new po(Math.round(i.left),Math.round(i.top+a)),new po(Math.round(i.left+i.width),Math.round(i.top+a)),new po(Math.round(i.left+i.width),Math.round(l+i.top+a)),new po(Math.round(i.left),Math.round(l+i.top+a))];case 3:return[new po(Math.round(i.left+o),Math.round(i.top)),new po(Math.round(i.left+o+s),Math.round(i.top)),new po(Math.round(i.left+o+s),Math.round(i.height+i.top)),new po(Math.round(i.left+o),Math.round(i.height+i.top))];case 1:return[new po(Math.round(i.left+o),Math.round(i.top+a)),new po(Math.round(i.left+o+s),Math.round(i.top+a)),new po(Math.round(i.left+o+s),Math.round(i.top+a+l)),new po(Math.round(i.left+o),Math.round(i.top+a+l))];default:return[new po(Math.round(r.left),Math.round(r.top)),new po(Math.round(r.left+r.width),Math.round(r.top)),new po(Math.round(r.left+r.width),Math.round(r.height+r.top)),new po(Math.round(r.left),Math.round(r.height+r.top))]}},Ho=function(){function t(t){this._data={},this._document=t}return t.prototype.parseMetrics=function(t,e){var n=this._document.createElement("div"),i=this._document.createElement("img"),r=this._document.createElement("span"),o=this._document.body;n.style.visibility="hidden",n.style.fontFamily=t,n.style.fontSize=e,n.style.margin="0",n.style.padding="0",n.style.whiteSpace="nowrap",o.appendChild(n),i.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",i.width=1,i.height=1,i.style.margin="0",i.style.padding="0",i.style.verticalAlign="baseline",r.style.fontFamily=t,r.style.fontSize=e,r.style.margin="0",r.style.padding="0",r.appendChild(this._document.createTextNode("Hidden Text")),n.appendChild(r),n.appendChild(i);var a=i.offsetTop-r.offsetTop+2;n.removeChild(r),n.appendChild(this._document.createTextNode("Hidden Text")),n.style.lineHeight="normal",i.style.verticalAlign="super";var s=i.offsetTop-n.offsetTop+2;return o.removeChild(n),{baseline:a,middle:s}},t.prototype.getMetrics=function(t,e){var n=t+" "+e;return void 0===this._data[n]&&(this._data[n]=this.parseMetrics(t,e)),this._data[n]},t}(),Vo=function(){return function(t,e){this.context=t,this.options=e}}(),zo=function(t){function n(e,n){var i=t.call(this,e,n)||this;return i._activeEffects=[],i.canvas=n.canvas?n.canvas:document.createElement("canvas"),i.ctx=i.canvas.getContext("2d"),n.canvas||(i.canvas.width=Math.floor(n.width*n.scale),i.canvas.height=Math.floor(n.height*n.scale),i.canvas.style.width=n.width+"px",i.canvas.style.height=n.height+"px"),i.fontMetrics=new Ho(document),i.ctx.scale(i.options.scale,i.options.scale),i.ctx.translate(-n.x,-n.y),i.ctx.textBaseline="bottom",i._activeEffects=[],i.context.logger.debug("Canvas renderer initialized ("+n.width+"x"+n.height+") with scale "+n.scale),i}return e(n,t),n.prototype.applyEffects=function(t){for(var e=this;this._activeEffects.length;)this.popEffect();t.forEach(function(t){return e.applyEffect(t)})},n.prototype.applyEffect=function(t){this.ctx.save(),function(t){return 2===t.type}(t)&&(this.ctx.globalAlpha=t.opacity),function(t){return 0===t.type}(t)&&(this.ctx.translate(t.offsetX,t.offsetY),this.ctx.transform(t.matrix[0],t.matrix[1],t.matrix[2],t.matrix[3],t.matrix[4],t.matrix[5]),this.ctx.translate(-t.offsetX,-t.offsetY)),So(t)&&(this.path(t.path),this.ctx.clip()),this._activeEffects.push(t)},n.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},n.prototype.renderStack=function(t){return i(this,void 0,void 0,function(){return r(this,function(e){switch(e.label){case 0:return t.element.container.styles.isVisible()?[4,this.renderStackContent(t)]:[3,2];case 1:e.sent(),e.label=2;case 2:return[2]}})})},n.prototype.renderNode=function(t){return i(this,void 0,void 0,function(){return r(this,function(e){switch(e.label){case 0:return Yn(t.container.flags,16),t.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(t)]:[3,3];case 1:return e.sent(),[4,this.renderNodeContent(t)];case 2:e.sent(),e.label=3;case 3:return[2]}})})},n.prototype.renderTextWithLetterSpacing=function(t,e,n){var i=this;0===e?this.ctx.fillText(t.text,t.bounds.left,t.bounds.top+n):Ni(t.text).reduce(function(e,r){return i.ctx.fillText(r,e,t.bounds.top+n),e+i.ctx.measureText(r).width},t.bounds.left)},n.prototype.createFontStyle=function(t){var e=t.fontVariant.filter(function(t){return"normal"===t||"small-caps"===t}).join(""),n=Yo(t.fontFamily).join(", "),i=jt(t.fontSize)?""+t.fontSize.number+t.fontSize.unit:t.fontSize.number+"px";return[[t.fontStyle,e,t.fontWeight,i,n].join(" "),n,i]},n.prototype.renderTextNode=function(t,e){return i(this,void 0,void 0,function(){var n,i,o,a,s,l,c,u,h=this;return r(this,function(r){return n=this.createFontStyle(e),i=n[0],o=n[1],a=n[2],this.ctx.font=i,this.ctx.direction=1===e.direction?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",s=this.fontMetrics.getMetrics(o,a),l=s.baseline,c=s.middle,u=e.paintOrder,t.textBounds.forEach(function(t){u.forEach(function(n){switch(n){case 0:h.ctx.fillStyle=se(e.color),h.renderTextWithLetterSpacing(t,e.letterSpacing,l);var i=e.textShadow;i.length&&t.text.trim().length&&(i.slice(0).reverse().forEach(function(n){h.ctx.shadowColor=se(n.color),h.ctx.shadowOffsetX=n.offsetX.number*h.options.scale,h.ctx.shadowOffsetY=n.offsetY.number*h.options.scale,h.ctx.shadowBlur=n.blur.number,h.renderTextWithLetterSpacing(t,e.letterSpacing,l)}),h.ctx.shadowColor="",h.ctx.shadowOffsetX=0,h.ctx.shadowOffsetY=0,h.ctx.shadowBlur=0),e.textDecorationLine.length&&(h.ctx.fillStyle=se(e.textDecorationColor||e.color),e.textDecorationLine.forEach(function(e){switch(e){case 1:h.ctx.fillRect(t.bounds.left,Math.round(t.bounds.top+l),t.bounds.width,1);break;case 2:h.ctx.fillRect(t.bounds.left,Math.round(t.bounds.top),t.bounds.width,1);break;case 3:h.ctx.fillRect(t.bounds.left,Math.ceil(t.bounds.top+c),t.bounds.width,1)}}));break;case 1:e.webkitTextStrokeWidth&&t.text.trim().length&&(h.ctx.strokeStyle=se(e.webkitTextStrokeColor),h.ctx.lineWidth=e.webkitTextStrokeWidth,h.ctx.lineJoin=window.chrome?"miter":"round",h.ctx.strokeText(t.text,t.bounds.left,t.bounds.top+l)),h.ctx.strokeStyle="",h.ctx.lineWidth=0,h.ctx.lineJoin="miter"}})}),[2]})})},n.prototype.renderReplacedElement=function(t,e,n){if(n&&t.intrinsicWidth>0&&t.intrinsicHeight>0){var i=Fo(t),r=_o(e);this.path(r),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,t.intrinsicWidth,t.intrinsicHeight,i.left,i.top,i.width,i.height),this.ctx.restore()}},n.prototype.renderNodeContent=function(t){return i(this,void 0,void 0,function(){var e,i,o,s,l,c,u,h,d,f,p,A,g,v,m,y,b,_;return r(this,function(r){switch(r.label){case 0:this.applyEffects(t.getEffects(4)),e=t.container,i=t.curves,o=e.styles,s=0,l=e.textNodes,r.label=1;case 1:return s<l.length?(c=l[s],[4,this.renderTextNode(c,o)]):[3,4];case 2:r.sent(),r.label=3;case 3:return s++,[3,1];case 4:if(!(e instanceof $i))return[3,8];r.label=5;case 5:return r.trys.push([5,7,,8]),[4,this.context.cache.match(e.src)];case 6:return m=r.sent(),this.renderReplacedElement(e,i,m),[3,8];case 7:return r.sent(),this.context.logger.error("Error loading image "+e.src),[3,8];case 8:if(e instanceof Gi&&this.renderReplacedElement(e,i,e.canvas),!(e instanceof Wi))return[3,12];r.label=9;case 9:return r.trys.push([9,11,,12]),[4,this.context.cache.match(e.svg)];case 10:return m=r.sent(),this.renderReplacedElement(e,i,m),[3,12];case 11:return r.sent(),this.context.logger.error("Error loading svg "+e.svg.substring(0,255)),[3,12];case 12:return e instanceof ar&&e.tree?[4,new n(this.context,{scale:this.options.scale,backgroundColor:e.backgroundColor,x:0,y:0,width:e.width,height:e.height}).render(e.tree)]:[3,14];case 13:u=r.sent(),e.width&&e.height&&this.ctx.drawImage(u,0,0,e.width,e.height,e.bounds.left,e.bounds.top,e.bounds.width,e.bounds.height),r.label=14;case 14:if(e instanceof ir&&(h=Math.min(e.bounds.width,e.bounds.height),e.type===tr?e.checked&&(this.ctx.save(),this.path([new po(e.bounds.left+.39363*h,e.bounds.top+.79*h),new po(e.bounds.left+.16*h,e.bounds.top+.5549*h),new po(e.bounds.left+.27347*h,e.bounds.top+.44071*h),new po(e.bounds.left+.39694*h,e.bounds.top+.5649*h),new po(e.bounds.left+.72983*h,e.bounds.top+.23*h),new po(e.bounds.left+.84*h,e.bounds.top+.34085*h),new po(e.bounds.left+.39363*h,e.bounds.top+.79*h)]),this.ctx.fillStyle=se(707406591),this.ctx.fill(),this.ctx.restore()):e.type===er&&e.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(e.bounds.left+h/2,e.bounds.top+h/2,h/4,0,2*Math.PI,!0),this.ctx.fillStyle=se(707406591),this.ctx.fill(),this.ctx.restore())),$o(e)&&e.value.length){switch(d=this.createFontStyle(o),b=d[0],f=d[1],p=this.fontMetrics.getMetrics(b,f).baseline,this.ctx.font=b,this.ctx.fillStyle=se(o.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=Wo(e.styles.textAlign),_=Fo(e),A=0,e.styles.textAlign){case 1:A+=_.width/2;break;case 2:A+=_.width}g=_.add(A,0,0,-_.height/2+1),this.ctx.save(),this.path([new po(_.left,_.top),new po(_.left+_.width,_.top),new po(_.left+_.width,_.top+_.height),new po(_.left,_.top+_.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Di(e.value,g),o.letterSpacing,p),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!Yn(e.styles.display,2048))return[3,20];if(null===e.styles.listStyleImage)return[3,19];if(0!==(v=e.styles.listStyleImage).type)return[3,18];m=void 0,y=v.url,r.label=15;case 15:return r.trys.push([15,17,,18]),[4,this.context.cache.match(y)];case 16:return m=r.sent(),this.ctx.drawImage(m,e.bounds.left-(m.width+10),e.bounds.top),[3,18];case 17:return r.sent(),this.context.logger.error("Error loading list-style-image "+y),[3,18];case 18:return[3,20];case 19:t.listValue&&-1!==e.styles.listStyleType&&(b=this.createFontStyle(o)[0],this.ctx.font=b,this.ctx.fillStyle=se(o.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",_=new a(e.bounds.left,e.bounds.top+te(e.styles.paddingTop,e.bounds.width),e.bounds.width,dn(o.lineHeight,o.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Di(t.listValue,_),o.letterSpacing,dn(o.lineHeight,o.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),r.label=20;case 20:return[2]}})})},n.prototype.renderStackContent=function(t){return i(this,void 0,void 0,function(){var e,n,i,o,a,s,l,c,u,h,d,f,p,A,g;return r(this,function(r){switch(r.label){case 0:return Yn(t.element.container.flags,16),[4,this.renderNodeBackgroundAndBorders(t.element)];case 1:r.sent(),e=0,n=t.negativeZIndex,r.label=2;case 2:return e<n.length?(g=n[e],[4,this.renderStack(g)]):[3,5];case 3:r.sent(),r.label=4;case 4:return e++,[3,2];case 5:return[4,this.renderNodeContent(t.element)];case 6:r.sent(),i=0,o=t.nonInlineLevel,r.label=7;case 7:return i<o.length?(g=o[i],[4,this.renderNode(g)]):[3,10];case 8:r.sent(),r.label=9;case 9:return i++,[3,7];case 10:a=0,s=t.nonPositionedFloats,r.label=11;case 11:return a<s.length?(g=s[a],[4,this.renderStack(g)]):[3,14];case 12:r.sent(),r.label=13;case 13:return a++,[3,11];case 14:l=0,c=t.nonPositionedInlineLevel,r.label=15;case 15:return l<c.length?(g=c[l],[4,this.renderStack(g)]):[3,18];case 16:r.sent(),r.label=17;case 17:return l++,[3,15];case 18:u=0,h=t.inlineLevel,r.label=19;case 19:return u<h.length?(g=h[u],[4,this.renderNode(g)]):[3,22];case 20:r.sent(),r.label=21;case 21:return u++,[3,19];case 22:d=0,f=t.zeroOrAutoZIndexOrTransformedOrOpacity,r.label=23;case 23:return d<f.length?(g=f[d],[4,this.renderStack(g)]):[3,26];case 24:r.sent(),r.label=25;case 25:return d++,[3,23];case 26:p=0,A=t.positiveZIndex,r.label=27;case 27:return p<A.length?(g=A[p],[4,this.renderStack(g)]):[3,30];case 28:r.sent(),r.label=29;case 29:return p++,[3,27];case 30:return[2]}})})},n.prototype.mask=function(t){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(t.slice(0).reverse()),this.ctx.closePath()},n.prototype.path=function(t){this.ctx.beginPath(),this.formatPath(t),this.ctx.closePath()},n.prototype.formatPath=function(t){var e=this;t.forEach(function(t,n){var i=vo(t)?t.start:t;0===n?e.ctx.moveTo(i.x,i.y):e.ctx.lineTo(i.x,i.y),vo(t)&&e.ctx.bezierCurveTo(t.startControl.x,t.startControl.y,t.endControl.x,t.endControl.y,t.end.x,t.end.y)})},n.prototype.renderRepeat=function(t,e,n,i){this.path(t),this.ctx.fillStyle=e,this.ctx.translate(n,i),this.ctx.fill(),this.ctx.translate(-n,-i)},n.prototype.resizeImage=function(t,e,n){var i;if(t.width===e&&t.height===n)return t;var r=(null!==(i=this.canvas.ownerDocument)&&void 0!==i?i:document).createElement("canvas");return r.width=Math.max(1,e),r.height=Math.max(1,n),r.getContext("2d").drawImage(t,0,0,t.width,t.height,0,0,e,n),r},n.prototype.renderBackgroundImage=function(t){return i(this,void 0,void 0,function(){var e,n,i,o,a,s;return r(this,function(l){switch(l.label){case 0:e=t.styles.backgroundImage.length-1,n=function(n){var o,a,s,l,c,u,h,d,f,p,A,g,v,m,y,b,_,w,x,C,S,B,k,T,O,E,I,M,D,L,F;return r(this,function(r){switch(r.label){case 0:if(0!==n.type)return[3,5];o=void 0,a=n.url,r.label=1;case 1:return r.trys.push([1,3,,4]),[4,i.context.cache.match(a)];case 2:return o=r.sent(),[3,4];case 3:return r.sent(),i.context.logger.error("Error loading background-image "+a),[3,4];case 4:return o&&(s=Po(t,e,[o.width,o.height,o.width/o.height]),b=s[0],B=s[1],k=s[2],x=s[3],C=s[4],m=i.ctx.createPattern(i.resizeImage(o,x,C),"repeat"),i.renderRepeat(b,m,B,k)),[3,6];case 5:1===n.type?(l=Po(t,e,[null,null,null]),b=l[0],B=l[1],k=l[2],x=l[3],C=l[4],c=be(n.angle,x,C),u=c[0],h=c[1],d=c[2],f=c[3],p=c[4],(A=document.createElement("canvas")).width=x,A.height=C,g=A.getContext("2d"),v=g.createLinearGradient(h,f,d,p),ye(n.stops,u).forEach(function(t){return v.addColorStop(t.stop,se(t.color))}),g.fillStyle=v,g.fillRect(0,0,x,C),x>0&&C>0&&(m=i.ctx.createPattern(A,"repeat"),i.renderRepeat(b,m,B,k))):function(t){return 2===t.type}(n)&&(y=Po(t,e,[null,null,null]),b=y[0],_=y[1],w=y[2],x=y[3],C=y[4],S=0===n.position.length?[qt]:n.position,B=te(S[0],x),k=te(S[S.length-1],C),T=function(t,e,n,i,r){var o=0,a=0;switch(t.size){case 0:0===t.shape?o=a=Math.min(Math.abs(e),Math.abs(e-i),Math.abs(n),Math.abs(n-r)):1===t.shape&&(o=Math.min(Math.abs(e),Math.abs(e-i)),a=Math.min(Math.abs(n),Math.abs(n-r)));break;case 2:if(0===t.shape)o=a=Math.min(_e(e,n),_e(e,n-r),_e(e-i,n),_e(e-i,n-r));else if(1===t.shape){var s=Math.min(Math.abs(n),Math.abs(n-r))/Math.min(Math.abs(e),Math.abs(e-i)),l=we(i,r,e,n,!0),c=l[0],u=l[1];a=s*(o=_e(c-e,(u-n)/s))}break;case 1:0===t.shape?o=a=Math.max(Math.abs(e),Math.abs(e-i),Math.abs(n),Math.abs(n-r)):1===t.shape&&(o=Math.max(Math.abs(e),Math.abs(e-i)),a=Math.max(Math.abs(n),Math.abs(n-r)));break;case 3:if(0===t.shape)o=a=Math.max(_e(e,n),_e(e,n-r),_e(e-i,n),_e(e-i,n-r));else if(1===t.shape){s=Math.max(Math.abs(n),Math.abs(n-r))/Math.max(Math.abs(e),Math.abs(e-i));var h=we(i,r,e,n,!1);c=h[0],u=h[1],a=s*(o=_e(c-e,(u-n)/s))}}return Array.isArray(t.size)&&(o=te(t.size[0],i),a=2===t.size.length?te(t.size[1],r):o),[o,a]}(n,B,k,x,C),O=T[0],E=T[1],O>0&&E>0&&(I=i.ctx.createRadialGradient(_+B,w+k,0,_+B,w+k,O),ye(n.stops,2*O).forEach(function(t){return I.addColorStop(t.stop,se(t.color))}),i.path(b),i.ctx.fillStyle=I,O!==E?(M=t.bounds.left+.5*t.bounds.width,D=t.bounds.top+.5*t.bounds.height,F=1/(L=E/O),i.ctx.save(),i.ctx.translate(M,D),i.ctx.transform(1,0,0,L,0,0),i.ctx.translate(-M,-D),i.ctx.fillRect(_,F*(w-D)+D,x,C*F),i.ctx.restore()):i.ctx.fill())),r.label=6;case 6:return e--,[2]}})},i=this,o=0,a=t.styles.backgroundImage.slice(0).reverse(),l.label=1;case 1:return o<a.length?(s=a[o],[5,n(s)]):[3,4];case 2:l.sent(),l.label=3;case 3:return o++,[3,1];case 4:return[2]}})})},n.prototype.renderSolidBorder=function(t,e,n){return i(this,void 0,void 0,function(){return r(this,function(i){return this.path(Io(n,e)),this.ctx.fillStyle=se(t),this.ctx.fill(),[2]})})},n.prototype.renderDoubleBorder=function(t,e,n,o){return i(this,void 0,void 0,function(){var i,a;return r(this,function(r){switch(r.label){case 0:return e<3?[4,this.renderSolidBorder(t,n,o)]:[3,2];case 1:return r.sent(),[2];case 2:return i=function(t,e){switch(e){case 0:return Do(t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox,t.topRightBorderBox,t.topRightBorderDoubleOuterBox);case 1:return Do(t.topRightBorderBox,t.topRightBorderDoubleOuterBox,t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox);case 2:return Do(t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox,t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox);case 3:default:return Do(t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox,t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox)}}(o,n),this.path(i),this.ctx.fillStyle=se(t),this.ctx.fill(),a=function(t,e){switch(e){case 0:return Do(t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox,t.topRightBorderDoubleInnerBox,t.topRightPaddingBox);case 1:return Do(t.topRightBorderDoubleInnerBox,t.topRightPaddingBox,t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox);case 2:return Do(t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox,t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox);case 3:default:return Do(t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox,t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox)}}(o,n),this.path(a),this.ctx.fill(),[2]}})})},n.prototype.renderNodeBackgroundAndBorders=function(t){return i(this,void 0,void 0,function(){var e,n,i,o,a,s,l,c,u=this;return r(this,function(r){switch(r.label){case 0:return this.applyEffects(t.getEffects(2)),e=t.container.styles,n=!ae(e.backgroundColor)||e.backgroundImage.length,i=[{style:e.borderTopStyle,color:e.borderTopColor,width:e.borderTopWidth},{style:e.borderRightStyle,color:e.borderRightColor,width:e.borderRightWidth},{style:e.borderBottomStyle,color:e.borderBottomColor,width:e.borderBottomWidth},{style:e.borderLeftStyle,color:e.borderLeftColor,width:e.borderLeftWidth}],o=Go(Ro(e.backgroundClip,0),t.curves),n||e.boxShadow.length?(this.ctx.save(),this.path(o),this.ctx.clip(),ae(e.backgroundColor)||(this.ctx.fillStyle=se(e.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(t.container)]):[3,2];case 1:r.sent(),this.ctx.restore(),e.boxShadow.slice(0).reverse().forEach(function(e){u.ctx.save();var n,i,r,o,a,s=bo(t.curves),l=e.inset?0:1e4,c=(n=s,i=-l+(e.inset?1:-1)*e.spread.number,r=(e.inset?1:-1)*e.spread.number,o=e.spread.number*(e.inset?-2:2),a=e.spread.number*(e.inset?-2:2),n.map(function(t,e){switch(e){case 0:return t.add(i,r);case 1:return t.add(i+o,r);case 2:return t.add(i+o,r+a);case 3:return t.add(i,r+a)}return t}));e.inset?(u.path(s),u.ctx.clip(),u.mask(c)):(u.mask(s),u.ctx.clip(),u.path(c)),u.ctx.shadowOffsetX=e.offsetX.number+l,u.ctx.shadowOffsetY=e.offsetY.number,u.ctx.shadowColor=se(e.color),u.ctx.shadowBlur=e.blur.number,u.ctx.fillStyle=e.inset?se(e.color):"rgba(0,0,0,1)",u.ctx.fill(),u.ctx.restore()}),r.label=2;case 2:a=0,s=0,l=i,r.label=3;case 3:return s<l.length?0!==(c=l[s]).style&&!ae(c.color)&&c.width>0?2!==c.style?[3,5]:[4,this.renderDashedDottedBorder(c.color,c.width,a,t.curves,2)]:[3,11]:[3,13];case 4:return r.sent(),[3,11];case 5:return 3!==c.style?[3,7]:[4,this.renderDashedDottedBorder(c.color,c.width,a,t.curves,3)];case 6:return r.sent(),[3,11];case 7:return 4!==c.style?[3,9]:[4,this.renderDoubleBorder(c.color,c.width,a,t.curves)];case 8:return r.sent(),[3,11];case 9:return[4,this.renderSolidBorder(c.color,a,t.curves)];case 10:r.sent(),r.label=11;case 11:a++,r.label=12;case 12:return s++,[3,3];case 13:return[2]}})})},n.prototype.renderDashedDottedBorder=function(t,e,n,o,a){return i(this,void 0,void 0,function(){var i,s,l,c,u,h,d,f,p,A,g,v,m,y,b,_;return r(this,function(r){return this.ctx.save(),i=function(t,e){switch(e){case 0:return Mo(t.topLeftBorderStroke,t.topRightBorderStroke);case 1:return Mo(t.topRightBorderStroke,t.bottomRightBorderStroke);case 2:return Mo(t.bottomRightBorderStroke,t.bottomLeftBorderStroke);case 3:default:return Mo(t.bottomLeftBorderStroke,t.topLeftBorderStroke)}}(o,n),s=Io(o,n),2===a&&(this.path(s),this.ctx.clip()),vo(s[0])?(l=s[0].start.x,c=s[0].start.y):(l=s[0].x,c=s[0].y),vo(s[1])?(u=s[1].end.x,h=s[1].end.y):(u=s[1].x,h=s[1].y),d=0===n||2===n?Math.abs(l-u):Math.abs(c-h),this.ctx.beginPath(),3===a?this.formatPath(i):this.formatPath(s.slice(0,2)),f=e<3?3*e:2*e,p=e<3?2*e:e,3===a&&(f=e,p=e),A=!0,d<=2*f?A=!1:d<=2*f+p?(f*=g=d/(2*f+p),p*=g):(v=Math.floor((d+p)/(f+p)),m=(d-v*f)/(v-1),p=(y=(d-(v+1)*f)/v)<=0||Math.abs(p-m)<Math.abs(p-y)?m:y),A&&(3===a?this.ctx.setLineDash([0,f+p]):this.ctx.setLineDash([f,p])),3===a?(this.ctx.lineCap="round",this.ctx.lineWidth=e):this.ctx.lineWidth=2*e+1.1,this.ctx.strokeStyle=se(t),this.ctx.stroke(),this.ctx.setLineDash([]),2===a&&(vo(s[0])&&(b=s[3],_=s[0],this.ctx.beginPath(),this.formatPath([new po(b.end.x,b.end.y),new po(_.start.x,_.start.y)]),this.ctx.stroke()),vo(s[1])&&(b=s[1],_=s[2],this.ctx.beginPath(),this.formatPath([new po(b.end.x,b.end.y),new po(_.start.x,_.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},n.prototype.render=function(t){return i(this,void 0,void 0,function(){var e;return r(this,function(n){switch(n.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=se(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),i=new To(t,null),r=new ko(i),Oo(i,r,r,o=[]),Eo(i.container,o),e=r,[4,this.renderStack(e)];case 1:return n.sent(),this.applyEffects([]),[2,this.canvas]}var i,r,o})})},n}(Vo),$o=function(t){return t instanceof or||(t instanceof rr||t instanceof ir&&t.type!==er&&t.type!==tr)},Go=function(t,e){switch(t){case 0:return bo(e);case 2:return function(t){return[t.topLeftContentBox,t.topRightContentBox,t.bottomRightContentBox,t.bottomLeftContentBox]}(e);case 1:default:return _o(e)}},Wo=function(t){switch(t){case 1:return"center";case 2:return"right";case 0:default:return"left"}},Ko=["-apple-system","system-ui"],Yo=function(t){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?t.filter(function(t){return-1===Ko.indexOf(t)}):t},Xo=function(t){function n(e,n){var i=t.call(this,e,n)||this;return i.canvas=n.canvas?n.canvas:document.createElement("canvas"),i.ctx=i.canvas.getContext("2d"),i.options=n,i.canvas.width=Math.floor(n.width*n.scale),i.canvas.height=Math.floor(n.height*n.scale),i.canvas.style.width=n.width+"px",i.canvas.style.height=n.height+"px",i.ctx.scale(i.options.scale,i.options.scale),i.ctx.translate(-n.x,-n.y),i.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+n.width+"x"+n.height+" at "+n.x+","+n.y+") with scale "+n.scale),i}return e(n,t),n.prototype.render=function(t){return i(this,void 0,void 0,function(){var e,n;return r(this,function(i){switch(i.label){case 0:return e=Ei(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,t),[4,qo(e)];case 1:return n=i.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=se(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(n,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},n}(Vo),qo=function(t){return new Promise(function(e,n){var i=new Image;i.onload=function(){e(i)},i.onerror=n,i.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(t))})},Zo=function(){function t(t){var e=t.id,n=t.enabled;this.id=e,this.enabled=n,this.start=Date.now()}return t.prototype.debug=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.debug?console.debug.apply(console,o([this.id,this.getTime()+"ms"],t)):this.info.apply(this,t))},t.prototype.getTime=function(){return Date.now()-this.start},t.prototype.info=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.enabled&&"undefined"!=typeof window&&window.console&&"function"==typeof console.info&&console.info.apply(console,o([this.id,this.getTime()+"ms"],t))},t.prototype.warn=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.warn?console.warn.apply(console,o([this.id,this.getTime()+"ms"],t)):this.info.apply(this,t))},t.prototype.error=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.error?console.error.apply(console,o([this.id,this.getTime()+"ms"],t)):this.info.apply(this,t))},t.instances={},t}(),Jo=function(){function t(e,n){var i;this.windowBounds=n,this.instanceName="#"+t.instanceCount++,this.logger=new Zo({id:this.instanceName,enabled:e.logging}),this.cache=null!==(i=e.cache)&&void 0!==i?i:new ro(this,e)}return t.instanceCount=1,t}();"undefined"!=typeof window&&io.setContext(window);var ta=function(t,e){return i(void 0,void 0,void 0,function(){var i,o,l,c,u,h,d,f,p,A,g,v,m,y,b,_,w,x,C,S,B,k,T,O,E,I,M,D,L,F,P,N,j,U,R,Q,H,V;return r(this,function(r){switch(r.label){case 0:if(!t||"object"!=typeof t)return[2,Promise.reject("Invalid element provided as first argument")];if(!(i=t.ownerDocument))throw new Error("Element is not attached to a Document");if(!(o=i.defaultView))throw new Error("Document is not attached to a Window");return l={allowTaint:null!==(k=e.allowTaint)&&void 0!==k&&k,imageTimeout:null!==(T=e.imageTimeout)&&void 0!==T?T:15e3,proxy:e.proxy,useCORS:null!==(O=e.useCORS)&&void 0!==O&&O},c=n({logging:null===(E=e.logging)||void 0===E||E,cache:e.cache},l),u={windowWidth:null!==(I=e.windowWidth)&&void 0!==I?I:o.innerWidth,windowHeight:null!==(M=e.windowHeight)&&void 0!==M?M:o.innerHeight,scrollX:null!==(D=e.scrollX)&&void 0!==D?D:o.pageXOffset,scrollY:null!==(L=e.scrollY)&&void 0!==L?L:o.pageYOffset},h=new a(u.scrollX,u.scrollY,u.windowWidth,u.windowHeight),d=new Jo(c,h),f=null!==(F=e.foreignObjectRendering)&&void 0!==F&&F,p={allowTaint:null!==(P=e.allowTaint)&&void 0!==P&&P,onclone:e.onclone,ignoreElements:e.ignoreElements,inlineImages:f,copyStyles:f},d.logger.debug("Starting document clone with size "+h.width+"x"+h.height+" scrolled to "+-h.left+","+-h.top),A=new Hr(d,t,p),(g=A.clonedReferenceElement)?[4,A.toIFrame(i,h)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return v=r.sent(),m=_r(g)||"HTML"===g.tagName?function(t){var e=t.body,n=t.documentElement;if(!e||!n)throw new Error("Unable to get document size");var i=Math.max(Math.max(e.scrollWidth,n.scrollWidth),Math.max(e.offsetWidth,n.offsetWidth),Math.max(e.clientWidth,n.clientWidth)),r=Math.max(Math.max(e.scrollHeight,n.scrollHeight),Math.max(e.offsetHeight,n.offsetHeight),Math.max(e.clientHeight,n.clientHeight));return new a(0,0,i,r)}(g.ownerDocument):s(d,g),y=m.width,b=m.height,_=m.left,w=m.top,x=ea(d,g,e.backgroundColor),C={canvas:e.canvas,backgroundColor:x,scale:null!==(j=null!==(N=e.scale)&&void 0!==N?N:o.devicePixelRatio)&&void 0!==j?j:1,x:(null!==(U=e.x)&&void 0!==U?U:0)+_,y:(null!==(R=e.y)&&void 0!==R?R:0)+w,width:null!==(Q=e.width)&&void 0!==Q?Q:Math.ceil(y),height:null!==(H=e.height)&&void 0!==H?H:Math.ceil(b)},f?(d.logger.debug("Document cloned, using foreign object rendering"),[4,new Xo(d,C).render(g)]):[3,3];case 2:return S=r.sent(),[3,5];case 3:return d.logger.debug("Document cloned, element located at "+_+","+w+" with size "+y+"x"+b+" using computed rendering"),d.logger.debug("Starting DOM parsing"),B=ur(d,g),x===B.styles.backgroundColor&&(B.styles.backgroundColor=Ae.TRANSPARENT),d.logger.debug("Starting renderer for element at "+C.x+","+C.y+" with size "+C.width+"x"+C.height),[4,new zo(d,C).render(B)];case 4:S=r.sent(),r.label=5;case 5:return(null===(V=e.removeContainer)||void 0===V||V)&&(Hr.destroy(v)||d.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),d.logger.debug("Finished rendering"),[2,S]}})})},ea=function(t,e,n){var i=e.ownerDocument,r=i.documentElement?pe(t,getComputedStyle(i.documentElement).backgroundColor):Ae.TRANSPARENT,o=i.body?pe(t,getComputedStyle(i.body).backgroundColor):Ae.TRANSPARENT,a="string"==typeof n?pe(t,n):null===n?Ae.TRANSPARENT:4294967295;return e===i.documentElement?ae(r)?ae(o)?a:o:r:a};return function(t,e){return void 0===e&&(e={}),ta(t,e)}},t.exports=i()},eNfa:function(t,e,n){"use strict";var i;!function(r){var o={},a=/d{1,4}|M{1,4}|yy(?:yy)?|S{1,3}|Do|ZZ|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,s="[^\\s]+",l=/\[([^]*?)\]/gm,c=function(){};function u(t,e){for(var n=[],i=0,r=t.length;i<r;i++)n.push(t[i].substr(0,e));return n}function h(t){return function(e,n,i){var r=i[t].indexOf(n.charAt(0).toUpperCase()+n.substr(1).toLowerCase());~r&&(e.month=r)}}function d(t,e){for(t=String(t),e=e||2;t.length<e;)t="0"+t;return t}var f=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],p=["January","February","March","April","May","June","July","August","September","October","November","December"],A=u(p,3),g=u(f,3);o.i18n={dayNamesShort:g,dayNames:f,monthNamesShort:A,monthNames:p,amPm:["am","pm"],DoFn:function(t){return t+["th","st","nd","rd"][t%10>3?0:(t-t%10!=10)*t%10]}};var v={D:function(t){return t.getDay()},DD:function(t){return d(t.getDay())},Do:function(t,e){return e.DoFn(t.getDate())},d:function(t){return t.getDate()},dd:function(t){return d(t.getDate())},ddd:function(t,e){return e.dayNamesShort[t.getDay()]},dddd:function(t,e){return e.dayNames[t.getDay()]},M:function(t){return t.getMonth()+1},MM:function(t){return d(t.getMonth()+1)},MMM:function(t,e){return e.monthNamesShort[t.getMonth()]},MMMM:function(t,e){return e.monthNames[t.getMonth()]},yy:function(t){return d(String(t.getFullYear()),4).substr(2)},yyyy:function(t){return d(t.getFullYear(),4)},h:function(t){return t.getHours()%12||12},hh:function(t){return d(t.getHours()%12||12)},H:function(t){return t.getHours()},HH:function(t){return d(t.getHours())},m:function(t){return t.getMinutes()},mm:function(t){return d(t.getMinutes())},s:function(t){return t.getSeconds()},ss:function(t){return d(t.getSeconds())},S:function(t){return Math.round(t.getMilliseconds()/100)},SS:function(t){return d(Math.round(t.getMilliseconds()/10),2)},SSS:function(t){return d(t.getMilliseconds(),3)},a:function(t,e){return t.getHours()<12?e.amPm[0]:e.amPm[1]},A:function(t,e){return t.getHours()<12?e.amPm[0].toUpperCase():e.amPm[1].toUpperCase()},ZZ:function(t){var e=t.getTimezoneOffset();return(e>0?"-":"+")+d(100*Math.floor(Math.abs(e)/60)+Math.abs(e)%60,4)}},m={d:["\\d\\d?",function(t,e){t.day=e}],Do:["\\d\\d?"+s,function(t,e){t.day=parseInt(e,10)}],M:["\\d\\d?",function(t,e){t.month=e-1}],yy:["\\d\\d?",function(t,e){var n=+(""+(new Date).getFullYear()).substr(0,2);t.year=""+(e>68?n-1:n)+e}],h:["\\d\\d?",function(t,e){t.hour=e}],m:["\\d\\d?",function(t,e){t.minute=e}],s:["\\d\\d?",function(t,e){t.second=e}],yyyy:["\\d{4}",function(t,e){t.year=e}],S:["\\d",function(t,e){t.millisecond=100*e}],SS:["\\d{2}",function(t,e){t.millisecond=10*e}],SSS:["\\d{3}",function(t,e){t.millisecond=e}],D:["\\d\\d?",c],ddd:[s,c],MMM:[s,h("monthNamesShort")],MMMM:[s,h("monthNames")],a:[s,function(t,e,n){var i=e.toLowerCase();i===n.amPm[0]?t.isPm=!1:i===n.amPm[1]&&(t.isPm=!0)}],ZZ:["[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z",function(t,e){var n,i=(e+"").match(/([+-]|\d\d)/gi);i&&(n=60*i[1]+parseInt(i[2],10),t.timezoneOffset="+"===i[0]?n:-n)}]};m.dd=m.d,m.dddd=m.ddd,m.DD=m.D,m.mm=m.m,m.hh=m.H=m.HH=m.h,m.MM=m.M,m.ss=m.s,m.A=m.a,o.masks={default:"ddd MMM dd yyyy HH:mm:ss",shortDate:"M/D/yy",mediumDate:"MMM d, yyyy",longDate:"MMMM d, yyyy",fullDate:"dddd, MMMM d, yyyy",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},o.format=function(t,e,n){var i=n||o.i18n;if("number"==typeof t&&(t=new Date(t)),"[object Date]"!==Object.prototype.toString.call(t)||isNaN(t.getTime()))throw new Error("Invalid Date in fecha.format");var r=[];return(e=(e=(e=o.masks[e]||e||o.masks.default).replace(l,function(t,e){return r.push(e),"@@@"})).replace(a,function(e){return e in v?v[e](t,i):e.slice(1,e.length-1)})).replace(/@@@/g,function(){return r.shift()})},o.parse=function(t,e,n){var i=n||o.i18n;if("string"!=typeof e)throw new Error("Invalid format in fecha.parse");if(e=o.masks[e]||e,t.length>1e3)return null;var r={},s=[],c=[];e=e.replace(l,function(t,e){return c.push(e),"@@@"});var u,h=(u=e,u.replace(/[|\\{()[^$+*?.-]/g,"\\$&")).replace(a,function(t){if(m[t]){var e=m[t];return s.push(e[1]),"("+e[0]+")"}return t});h=h.replace(/@@@/g,function(){return c.shift()});var d=t.match(new RegExp(h,"i"));if(!d)return null;for(var f=1;f<d.length;f++)s[f-1](r,d[f],i);var p,A=new Date;return!0===r.isPm&&null!=r.hour&&12!=+r.hour?r.hour=+r.hour+12:!1===r.isPm&&12==+r.hour&&(r.hour=0),null!=r.timezoneOffset?(r.minute=+(r.minute||0)-+r.timezoneOffset,p=new Date(Date.UTC(r.year||A.getFullYear(),r.month||0,r.day||1,r.hour||0,r.minute||0,r.second||0,r.millisecond||0))):p=new Date(r.year||A.getFullYear(),r.month||0,r.day||1,r.hour||0,r.minute||0,r.second||0,r.millisecond||0),p},void 0!==t&&t.exports?t.exports=o:void 0===(i=function(){return o}.call(e,n,e,t))||(t.exports=i)}()},edjc:function(t,e,n){"use strict";(function(t){e.p=function(t){var e;if(t&&"transparent"!==t){if("string"==typeof t&&t.indexOf("rgba")>-1){var n=Object(r.parse)(t);n&&(t="rgb("+n[0]+","+n[1]+","+n[2]+")",e=n[3])}}else t="none";return{color:t,opacity:null==e?1:e}},e.j=function(t){return t<s&&t>-s},e.q=c,e.e=function(t){return"matrix("+l(t[0])+","+l(t[1])+","+l(t[2])+","+l(t[3])+","+c(t[4])+","+c(t[5])+")"},n.d(e,"a",function(){return u}),e.b=function(t,e,n){"top"===n?t+=e/2:"bottom"===n&&(t-=e/2);return t},e.i=function(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)},e.h=function(t){var e=t.style,n=t.getGlobalScale();return[e.shadowColor,(e.shadowBlur||0).toFixed(2),(e.shadowOffsetX||0).toFixed(2),(e.shadowOffsetY||0).toFixed(2),n[0],n[1]].join(",")},e.l=h,e.n=function(t){return h(t)||function(t){return t&&!!t.svgElement}(t)},e.m=function(t){return"linear"===t.type},e.o=function(t){return"radial"===t.type},e.k=function(t){return t&&("linear"===t.type||"radial"===t.type)},e.d=function(t){return"url(#"+t+")"},e.f=function(t){var e=t.getGlobalScale(),n=Math.max(e[0],e[1]);return Math.max(Math.ceil(Math.log(n)/Math.log(10)),1)},e.g=function(t){var e=t.x||0,n=t.y||0,r=(t.rotation||0)*i.RADIAN_TO_DEGREE,o=Object(i.retrieve2)(t.scaleX,1),s=Object(i.retrieve2)(t.scaleY,1),l=t.skewX||0,c=t.skewY||0,u=[];(e||n)&&u.push("translate("+e+"px,"+n+"px)");r&&u.push("rotate("+r+")");1===o&&1===s||u.push("scale("+o+","+s+")");(l||c)&&u.push("skew("+a(l*i.RADIAN_TO_DEGREE)+"deg, "+a(c*i.RADIAN_TO_DEGREE)+"deg)");return u.join(" ")},n.d(e,"c",function(){return d});var i=n("/gxq"),r=n("DRaW"),o=n("YNzw"),a=Math.round;var s=1e-4;function l(t){return a(1e3*t)/1e3}function c(t){return a(1e4*t)/1e4}var u={left:"start",right:"end",center:"middle",middle:"middle"};function h(t){return t&&!!t.image}var d=o.a.hasGlobalWindow&&Object(i.isFunction)(window.btoa)?function(t){return window.btoa(unescape(encodeURIComponent(t)))}:void 0!==t?function(e){return t.from(e).toString("base64")}:function(t){return null}}).call(e,n("EuP9").Buffer)},efRz:function(t,e,n){"use strict";var i=n("+N5+").isSpace;function r(t,e){var n=t.bMarks[e]+t.tShift[e],i=t.eMarks[e];return t.src.slice(n,i)}function o(t){var e,n=[],i=0,r=t.length,o=!1,a=0,s="";for(e=t.charCodeAt(i);i<r;)124===e&&(o?(s+=t.substring(a,i-1),a=i):(n.push(s+t.substring(a,i)),s="",a=i+1)),o=92===e,i++,e=t.charCodeAt(i);return n.push(s+t.substring(a)),n}t.exports=function(t,e,n,a){var s,l,c,u,h,d,f,p,A,g,v,m,y,b,_,w,x,C;if(e+2>n)return!1;if(d=e+1,t.sCount[d]<t.blkIndent)return!1;if(t.sCount[d]-t.blkIndent>=4)return!1;if((c=t.bMarks[d]+t.tShift[d])>=t.eMarks[d])return!1;if(124!==(x=t.src.charCodeAt(c++))&&45!==x&&58!==x)return!1;if(c>=t.eMarks[d])return!1;if(124!==(C=t.src.charCodeAt(c++))&&45!==C&&58!==C&&!i(C))return!1;if(45===x&&i(C))return!1;for(;c<t.eMarks[d];){if(124!==(s=t.src.charCodeAt(c))&&45!==s&&58!==s&&!i(s))return!1;c++}for(f=(l=r(t,e+1)).split("|"),g=[],u=0;u<f.length;u++){if(!(v=f[u].trim())){if(0===u||u===f.length-1)continue;return!1}if(!/^:?-+:?$/.test(v))return!1;58===v.charCodeAt(v.length-1)?g.push(58===v.charCodeAt(0)?"center":"right"):58===v.charCodeAt(0)?g.push("left"):g.push("")}if(-1===(l=r(t,e).trim()).indexOf("|"))return!1;if(t.sCount[e]-t.blkIndent>=4)return!1;if((f=o(l)).length&&""===f[0]&&f.shift(),f.length&&""===f[f.length-1]&&f.pop(),0===(p=f.length)||p!==g.length)return!1;if(a)return!0;for(b=t.parentType,t.parentType="table",w=t.md.block.ruler.getRules("blockquote"),(A=t.push("table_open","table",1)).map=m=[e,0],(A=t.push("thead_open","thead",1)).map=[e,e+1],(A=t.push("tr_open","tr",1)).map=[e,e+1],u=0;u<f.length;u++)A=t.push("th_open","th",1),g[u]&&(A.attrs=[["style","text-align:"+g[u]]]),(A=t.push("inline","",0)).content=f[u].trim(),A.children=[],A=t.push("th_close","th",-1);for(A=t.push("tr_close","tr",-1),A=t.push("thead_close","thead",-1),d=e+2;d<n&&!(t.sCount[d]<t.blkIndent);d++){for(_=!1,u=0,h=w.length;u<h;u++)if(w[u](t,d,n,!0)){_=!0;break}if(_)break;if(!(l=r(t,d).trim()))break;if(t.sCount[d]-t.blkIndent>=4)break;for((f=o(l)).length&&""===f[0]&&f.shift(),f.length&&""===f[f.length-1]&&f.pop(),d===e+2&&((A=t.push("tbody_open","tbody",1)).map=y=[e+2,0]),(A=t.push("tr_open","tr",1)).map=[d,d+1],u=0;u<p;u++)A=t.push("td_open","td",1),g[u]&&(A.attrs=[["style","text-align:"+g[u]]]),(A=t.push("inline","",0)).content=f[u]?f[u].trim():"",A.children=[],A=t.push("td_close","td",-1);A=t.push("tr_close","tr",-1)}return y&&(A=t.push("tbody_close","tbody",-1),y[1]=d),A=t.push("table_close","table",-1),m[1]=d,t.parentType=b,t.line=d,!0}},evD5:function(t,e,n){var i=n("77Pl"),r=n("SfB7"),o=n("MmMw"),a=Object.defineProperty;e.f=n("+E39")?Object.defineProperty:function(t,e,n){if(i(t),e=o(e,!0),i(n),r)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},exGp:function(t,e,n){"use strict";e.__esModule=!0;var i,r=n("//Fk"),o=(i=r)&&i.__esModule?i:{default:i};e.default=function(t){return function(){var e=t.apply(this,arguments);return new o.default(function(t,n){return function i(r,a){try{var s=e[r](a),l=s.value}catch(t){return void n(t)}if(!s.done)return o.default.resolve(l).then(function(t){i("next",t)},function(t){i("throw",t)});t(l)}("next")})}}},fBQ2:function(t,e,n){"use strict";var i=n("evD5"),r=n("X8DO");t.exports=function(t,e,n){e in t?i.f(t,e,r(0,n)):t[e]=n}},"fEB+":function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=127)}({127:function(t,e,n){"use strict";n.r(e);var i=n(16),r=n(38),o=n.n(r),a=n(3),s=n(2),l={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}};var c={name:"Bar",props:{vertical:Boolean,size:String,move:Number},computed:{bar:function(){return l[this.vertical?"vertical":"horizontal"]},wrap:function(){return this.$parent.wrap}},render:function(t){var e=this.size,n=this.move,i=this.bar;return t("div",{class:["el-scrollbar__bar","is-"+i.key],on:{mousedown:this.clickTrackHandler}},[t("div",{ref:"thumb",class:"el-scrollbar__thumb",on:{mousedown:this.clickThumbHandler},style:function(t){var e=t.move,n=t.size,i=t.bar,r={},o="translate"+i.axis+"("+e+"%)";return r[i.size]=n,r.transform=o,r.msTransform=o,r.webkitTransform=o,r}({size:e,move:n,bar:i})})])},methods:{clickThumbHandler:function(t){t.ctrlKey||2===t.button||(this.startDrag(t),this[this.bar.axis]=t.currentTarget[this.bar.offset]-(t[this.bar.client]-t.currentTarget.getBoundingClientRect()[this.bar.direction]))},clickTrackHandler:function(t){var e=100*(Math.abs(t.target.getBoundingClientRect()[this.bar.direction]-t[this.bar.client])-this.$refs.thumb[this.bar.offset]/2)/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=e*this.wrap[this.bar.scrollSize]/100},startDrag:function(t){t.stopImmediatePropagation(),this.cursorDown=!0,Object(s.on)(document,"mousemove",this.mouseMoveDocumentHandler),Object(s.on)(document,"mouseup",this.mouseUpDocumentHandler),document.onselectstart=function(){return!1}},mouseMoveDocumentHandler:function(t){if(!1!==this.cursorDown){var e=this[this.bar.axis];if(e){var n=100*(-1*(this.$el.getBoundingClientRect()[this.bar.direction]-t[this.bar.client])-(this.$refs.thumb[this.bar.offset]-e))/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=n*this.wrap[this.bar.scrollSize]/100}}},mouseUpDocumentHandler:function(t){this.cursorDown=!1,this[this.bar.axis]=0,Object(s.off)(document,"mousemove",this.mouseMoveDocumentHandler),document.onselectstart=null}},destroyed:function(){Object(s.off)(document,"mouseup",this.mouseUpDocumentHandler)}},u={name:"ElScrollbar",components:{Bar:c},props:{native:Boolean,wrapStyle:{},wrapClass:{},viewClass:{},viewStyle:{},noresize:Boolean,tag:{type:String,default:"div"}},data:function(){return{sizeWidth:"0",sizeHeight:"0",moveX:0,moveY:0}},computed:{wrap:function(){return this.$refs.wrap}},render:function(t){var e=o()(),n=this.wrapStyle;if(e){var i="-"+e+"px",r="margin-bottom: "+i+"; margin-right: "+i+";";Array.isArray(this.wrapStyle)?(n=Object(a.toObject)(this.wrapStyle)).marginRight=n.marginBottom=i:"string"==typeof this.wrapStyle?n+=r:n=r}var s=t(this.tag,{class:["el-scrollbar__view",this.viewClass],style:this.viewStyle,ref:"resize"},this.$slots.default),l=t("div",{ref:"wrap",style:n,on:{scroll:this.handleScroll},class:[this.wrapClass,"el-scrollbar__wrap",e?"":"el-scrollbar__wrap--hidden-default"]},[[s]]);return t("div",{class:"el-scrollbar"},this.native?[t("div",{ref:"wrap",class:[this.wrapClass,"el-scrollbar__wrap"],style:n},[[s]])]:[l,t(c,{attrs:{move:this.moveX,size:this.sizeWidth}}),t(c,{attrs:{vertical:!0,move:this.moveY,size:this.sizeHeight}})])},methods:{handleScroll:function(){var t=this.wrap;this.moveY=100*t.scrollTop/t.clientHeight,this.moveX=100*t.scrollLeft/t.clientWidth},update:function(){var t,e,n=this.wrap;n&&(t=100*n.clientHeight/n.scrollHeight,e=100*n.clientWidth/n.scrollWidth,this.sizeHeight=t<100?t+"%":"",this.sizeWidth=e<100?e+"%":"")}},mounted:function(){this.native||(this.$nextTick(this.update),!this.noresize&&Object(i.addResizeListener)(this.$refs.resize,this.update))},beforeDestroy:function(){this.native||!this.noresize&&Object(i.removeResizeListener)(this.$refs.resize,this.update)},install:function(t){t.component(u.name,u)}};e.default=u},16:function(t,e){t.exports=n("02w1")},2:function(t,e){t.exports=n("2kvA")},3:function(t,e){t.exports=n("ylDJ")},38:function(t,e){t.exports=n("6Twh")}})},fJUb:function(t,e,n){var i=n("77Pl"),r=n("EqjI"),o=n("qARP");t.exports=function(t,e){if(i(t),r(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},fKx3:function(t,e,n){"use strict";e.__esModule=!0;var i,r=n("7+uW"),o=(i=r)&&i.__esModule?i:{default:i},a=n("7J9s");var s=o.default.prototype.$isServer?function(){}:n("NMof"),l=function(t){return t.stopPropagation()};e.default={props:{transformOrigin:{type:[Boolean,String],default:!0},placement:{type:String,default:"bottom"},boundariesPadding:{type:Number,default:5},reference:{},popper:{},offset:{default:0},value:Boolean,visibleArrow:Boolean,arrowOffset:{type:Number,default:35},appendToBody:{type:Boolean,default:!0},popperOptions:{type:Object,default:function(){return{gpuAcceleration:!1}}}},data:function(){return{showPopper:!1,currentPlacement:""}},watch:{value:{immediate:!0,handler:function(t){this.showPopper=t,this.$emit("input",t)}},showPopper:function(t){this.disabled||(t?this.updatePopper():this.destroyPopper(),this.$emit("input",t))}},methods:{createPopper:function(){var t=this;if(!this.$isServer&&(this.currentPlacement=this.currentPlacement||this.placement,/^(top|bottom|left|right)(-start|-end)?$/g.test(this.currentPlacement))){var e=this.popperOptions,n=this.popperElm=this.popperElm||this.popper||this.$refs.popper,i=this.referenceElm=this.referenceElm||this.reference||this.$refs.reference;!i&&this.$slots.reference&&this.$slots.reference[0]&&(i=this.referenceElm=this.$slots.reference[0].elm),n&&i&&(this.visibleArrow&&this.appendArrow(n),this.appendToBody&&document.body.appendChild(this.popperElm),this.popperJS&&this.popperJS.destroy&&this.popperJS.destroy(),e.placement=this.currentPlacement,e.offset=this.offset,e.arrowOffset=this.arrowOffset,this.popperJS=new s(i,n,e),this.popperJS.onCreate(function(e){t.$emit("created",t),t.resetTransformOrigin(),t.$nextTick(t.updatePopper)}),"function"==typeof e.onUpdate&&this.popperJS.onUpdate(e.onUpdate),this.popperJS._popper.style.zIndex=a.PopupManager.nextZIndex(),this.popperElm.addEventListener("click",l))}},updatePopper:function(){var t=this.popperJS;t?(t.update(),t._popper&&(t._popper.style.zIndex=a.PopupManager.nextZIndex())):this.createPopper()},doDestroy:function(t){!this.popperJS||this.showPopper&&!t||(this.popperJS.destroy(),this.popperJS=null)},destroyPopper:function(){this.popperJS&&this.resetTransformOrigin()},resetTransformOrigin:function(){if(this.transformOrigin){var t=this.popperJS._popper.getAttribute("x-placement").split("-")[0],e={top:"bottom",bottom:"top",left:"right",right:"left"}[t];this.popperJS._popper.style.transformOrigin="string"==typeof this.transformOrigin?this.transformOrigin:["top","bottom"].indexOf(t)>-1?"center "+e:e+" center"}},appendArrow:function(t){var e=void 0;if(!this.appended){for(var n in this.appended=!0,t.attributes)if(/^_v-/.test(t.attributes[n].name)){e=t.attributes[n].name;break}var i=document.createElement("div");e&&i.setAttribute(e,""),i.setAttribute("x-arrow",""),i.className="popper__arrow",t.appendChild(i)}}},beforeDestroy:function(){this.doDestroy(!0),this.popperElm&&this.popperElm.parentNode===document.body&&(this.popperElm.removeEventListener("click",l),document.body.removeChild(this.popperElm))},deactivated:function(){this.$options.beforeDestroy[0].call(this)}}},fPll:function(t,e,n){"use strict";e.__esModule=!0,e.default={methods:{dispatch:function(t,e,n){for(var i=this.$parent||this.$root,r=i.$options.componentName;i&&(!r||r!==t);)(i=i.$parent)&&(r=i.$options.componentName);i&&i.$emit.apply(i,[e].concat(n))},broadcast:function(t,e,n){(function t(e,n,i){this.$children.forEach(function(r){r.$options.componentName===e?r.$emit.apply(r,[n].concat(i)):t.apply(r,[e,n].concat([i]))})}).call(this,t,e,n)}}}},fRHV:function(t,e,n){"use strict";var i=Array.prototype.slice,r=Object.prototype.toString;t.exports=function(t){var e=this;if("function"!=typeof e||"[object Function]"!==r.call(e))throw new TypeError("Function.prototype.bind called on incompatible "+e);for(var n,o=i.call(arguments,1),a=Math.max(0,e.length-o.length),s=[],l=0;l<a;l++)s.push("$"+l);if(n=Function("binder","return function ("+s.join(",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof n){var r=e.apply(this,o.concat(i.call(arguments)));return Object(r)===r?r:this}return e.apply(t,o.concat(i.call(arguments)))}),e.prototype){var c=function(){};c.prototype=e.prototype,n.prototype=new c,c.prototype=null}return n}},fUqW:function(t,e,n){"use strict";e.__esModule=!0;var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.isVNode=function(t){return null!==t&&"object"===(void 0===t?"undefined":i(t))&&(0,r.hasOwn)(t,"componentOptions")};var r=n("ylDJ")},fWfb:function(t,e,n){"use strict";var i=n("7KvD"),r=n("D2L2"),o=n("+E39"),a=n("kM2E"),s=n("880/"),l=n("06OY").KEY,c=n("S82l"),u=n("e8AB"),h=n("e6n0"),d=n("3Eo+"),f=n("dSzd"),p=n("Kh4W"),A=n("crlp"),g=n("Xc4G"),v=n("7UMu"),m=n("77Pl"),y=n("EqjI"),b=n("sB3e"),_=n("TcQ7"),w=n("MmMw"),x=n("X8DO"),C=n("Yobk"),S=n("Rrel"),B=n("LKZe"),k=n("1kS7"),T=n("evD5"),O=n("lktj"),E=B.f,I=T.f,M=S.f,D=i.Symbol,L=i.JSON,F=L&&L.stringify,P=f("_hidden"),N=f("toPrimitive"),j={}.propertyIsEnumerable,U=u("symbol-registry"),R=u("symbols"),Q=u("op-symbols"),H=Object.prototype,V="function"==typeof D&&!!k.f,z=i.QObject,$=!z||!z.prototype||!z.prototype.findChild,G=o&&c(function(){return 7!=C(I({},"a",{get:function(){return I(this,"a",{value:7}).a}})).a})?function(t,e,n){var i=E(H,e);i&&delete H[e],I(t,e,n),i&&t!==H&&I(H,e,i)}:I,W=function(t){var e=R[t]=C(D.prototype);return e._k=t,e},K=V&&"symbol"==typeof D.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof D},Y=function(t,e,n){return t===H&&Y(Q,e,n),m(t),e=w(e,!0),m(n),r(R,e)?(n.enumerable?(r(t,P)&&t[P][e]&&(t[P][e]=!1),n=C(n,{enumerable:x(0,!1)})):(r(t,P)||I(t,P,x(1,{})),t[P][e]=!0),G(t,e,n)):I(t,e,n)},X=function(t,e){m(t);for(var n,i=g(e=_(e)),r=0,o=i.length;o>r;)Y(t,n=i[r++],e[n]);return t},q=function(t){var e=j.call(this,t=w(t,!0));return!(this===H&&r(R,t)&&!r(Q,t))&&(!(e||!r(this,t)||!r(R,t)||r(this,P)&&this[P][t])||e)},Z=function(t,e){if(t=_(t),e=w(e,!0),t!==H||!r(R,e)||r(Q,e)){var n=E(t,e);return!n||!r(R,e)||r(t,P)&&t[P][e]||(n.enumerable=!0),n}},J=function(t){for(var e,n=M(_(t)),i=[],o=0;n.length>o;)r(R,e=n[o++])||e==P||e==l||i.push(e);return i},tt=function(t){for(var e,n=t===H,i=M(n?Q:_(t)),o=[],a=0;i.length>a;)!r(R,e=i[a++])||n&&!r(H,e)||o.push(R[e]);return o};V||(s((D=function(){if(this instanceof D)throw TypeError("Symbol is not a constructor!");var t=d(arguments.length>0?arguments[0]:void 0),e=function(n){this===H&&e.call(Q,n),r(this,P)&&r(this[P],t)&&(this[P][t]=!1),G(this,t,x(1,n))};return o&&$&&G(H,t,{configurable:!0,set:e}),W(t)}).prototype,"toString",function(){return this._k}),B.f=Z,T.f=Y,n("n0T6").f=S.f=J,n("NpIQ").f=q,k.f=tt,o&&!n("O4g8")&&s(H,"propertyIsEnumerable",q,!0),p.f=function(t){return W(f(t))}),a(a.G+a.W+a.F*!V,{Symbol:D});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;et.length>nt;)f(et[nt++]);for(var it=O(f.store),rt=0;it.length>rt;)A(it[rt++]);a(a.S+a.F*!V,"Symbol",{for:function(t){return r(U,t+="")?U[t]:U[t]=D(t)},keyFor:function(t){if(!K(t))throw TypeError(t+" is not a symbol!");for(var e in U)if(U[e]===t)return e},useSetter:function(){$=!0},useSimple:function(){$=!1}}),a(a.S+a.F*!V,"Object",{create:function(t,e){return void 0===e?C(t):X(C(t),e)},defineProperty:Y,defineProperties:X,getOwnPropertyDescriptor:Z,getOwnPropertyNames:J,getOwnPropertySymbols:tt});var ot=c(function(){k.f(1)});a(a.S+a.F*ot,"Object",{getOwnPropertySymbols:function(t){return k.f(b(t))}}),L&&a(a.S+a.F*(!V||c(function(){var t=D();return"[null]"!=F([t])||"{}"!=F({a:t})||"{}"!=F(Object(t))})),"JSON",{stringify:function(t){for(var e,n,i=[t],r=1;arguments.length>r;)i.push(arguments[r++]);if(n=e=i[1],(y(e)||void 0!==t)&&!K(t))return v(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!K(e))return e}),i[1]=e,F.apply(L,i)}}),D.prototype[N]||n("hJx8")(D.prototype,N,D.prototype.valueOf),h(D,"Symbol"),h(Math,"Math",!0),h(i.JSON,"JSON",!0)},fZOM:function(t,e,n){var i=n("kM2E"),r=n("mbce")(!1);i(i.S,"Object",{values:function(t){return r(t)}})},fZjL:function(t,e,n){t.exports={default:n("jFbC"),__esModule:!0}},fkB2:function(t,e,n){var i=n("UuGF"),r=Math.max,o=Math.min;t.exports=function(t,e){return(t=i(t))<0?r(t+e,0):o(t,e)}},fuGk:function(t,e,n){"use strict";var i=n("cGG2");function r(){this.handlers=[]}r.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},r.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},r.prototype.forEach=function(t){i.forEach(this.handlers,function(e){null!==e&&t(e)})},t.exports=r},fxRn:function(t,e,n){n("+tPU"),n("zQR9"),t.exports=n("g8Ux")},g8Ux:function(t,e,n){var i=n("77Pl"),r=n("3fs2");t.exports=n("FeBl").getIterator=function(t){var e=r(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return i(e.call(t))}},gApy:function(t,e,n){var i,r,o=n("i4uy"),a=n("MAlW"),s=0,l=0;t.exports=function(t,e,n){var c=e&&n||0,u=e||[],h=(t=t||{}).node||i,d=void 0!==t.clockseq?t.clockseq:r;if(null==h||null==d){var f=o();null==h&&(h=i=[1|f[0],f[1],f[2],f[3],f[4],f[5]]),null==d&&(d=r=16383&(f[6]<<8|f[7]))}var p=void 0!==t.msecs?t.msecs:(new Date).getTime(),A=void 0!==t.nsecs?t.nsecs:l+1,g=p-s+(A-l)/1e4;if(g<0&&void 0===t.clockseq&&(d=d+1&16383),(g<0||p>s)&&void 0===t.nsecs&&(A=0),A>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");s=p,l=A,r=d;var v=(1e4*(268435455&(p+=122192928e5))+A)%4294967296;u[c++]=v>>>24&255,u[c++]=v>>>16&255,u[c++]=v>>>8&255,u[c++]=255&v;var m=p/4294967296*1e4&268435455;u[c++]=m>>>8&255,u[c++]=255&m,u[c++]=m>>>24&15|16,u[c++]=m>>>16&255,u[c++]=d>>>8|128,u[c++]=255&d;for(var y=0;y<6;++y)u[c+y]=h[y];return e||a(u)}},gEWq:function(t,e,n){"use strict";var i=n("1b2O"),r=n("+N5+").isWhiteSpace,o=n("+N5+").isPunctChar,a=n("+N5+").isMdAsciiPunct;function s(t,e,n,i){this.src=t,this.env=n,this.md=e,this.tokens=i,this.tokens_meta=Array(i.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}s.prototype.pushPending=function(){var t=new i("text","",0);return t.content=this.pending,t.level=this.pendingLevel,this.tokens.push(t),this.pending="",t},s.prototype.push=function(t,e,n){this.pending&&this.pushPending();var r=new i(t,e,n),o=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),r.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(o),r},s.prototype.scanDelims=function(t,e){var n,i,s,l,c,u,h,d,f,p=t,A=!0,g=!0,v=this.posMax,m=this.src.charCodeAt(t);for(n=t>0?this.src.charCodeAt(t-1):32;p<v&&this.src.charCodeAt(p)===m;)p++;return s=p-t,i=p<v?this.src.charCodeAt(p):32,h=a(n)||o(String.fromCharCode(n)),f=a(i)||o(String.fromCharCode(i)),u=r(n),(d=r(i))?A=!1:f&&(u||h||(A=!1)),u?g=!1:h&&(d||f||(g=!1)),e?(l=A,c=g):(l=A&&(!g||h),c=g&&(!A||f)),{can_open:l,can_close:c,length:s}},s.prototype.Token=i,t.exports=s},gRE1:function(t,e,n){t.exports={default:n("TmV0"),__esModule:!0}},gcUb:function(t,e,n){"use strict";var i=n("7ar3"),r=n("WER7"),o=r(i("String.prototype.indexOf"));t.exports=function(t,e){var n=i(t,!!e);return"function"==typeof n&&o(t,".prototype.")>-1?r(n):n}},gxby:function(t,e){t.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},h65t:function(t,e,n){var i=n("UuGF"),r=n("52gC");t.exports=function(t){return function(e,n){var o,a,s=String(r(e)),l=i(n),c=s.length;return l<0||l>=c?t?"":void 0:(o=s.charCodeAt(l))<55296||o>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?t?s.charAt(l):o:t?s.slice(l,l+2):a-56320+(o-55296<<10)+65536}}},hCci:function(t,e,n){"use strict";var i=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;t.exports=function(t,e){var n,r,o,a,s,l,c;return!!t.md.options.linkify&&(!(t.linkLevel>0)&&(!((n=t.pos)+3>t.posMax)&&(58===t.src.charCodeAt(n)&&(47===t.src.charCodeAt(n+1)&&(47===t.src.charCodeAt(n+2)&&(!!(r=t.pending.match(i))&&(o=r[1],!!(a=t.md.linkify.matchAtStart(t.src.slice(n-o.length)))&&(!((s=a.url).length<=o.length)&&(s=s.replace(/\*+$/,""),l=t.md.normalizeLink(s),!!t.md.validateLink(l)&&(e||(t.pending=t.pending.slice(0,-o.length),(c=t.push("link_open","a",1)).attrs=[["href",l]],c.markup="linkify",c.info="auto",(c=t.push("text","",0)).content=t.md.normalizeLinkText(s),(c=t.push("link_close","a",-1)).markup="linkify",c.info="auto"),t.pos+=s.length-o.length,!0))))))))))}},hJx8:function(t,e,n){var i=n("evD5"),r=n("X8DO");t.exports=n("+E39")?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},hyEB:function(t,e,n){"use strict";e.__esModule=!0;var i=i||{};i.Utils=i.Utils||{},i.Utils.focusFirstDescendant=function(t){for(var e=0;e<t.childNodes.length;e++){var n=t.childNodes[e];if(i.Utils.attemptFocus(n)||i.Utils.focusFirstDescendant(n))return!0}return!1},i.Utils.focusLastDescendant=function(t){for(var e=t.childNodes.length-1;e>=0;e--){var n=t.childNodes[e];if(i.Utils.attemptFocus(n)||i.Utils.focusLastDescendant(n))return!0}return!1},i.Utils.attemptFocus=function(t){if(!i.Utils.isFocusable(t))return!1;i.Utils.IgnoreUtilFocusChanges=!0;try{t.focus()}catch(t){}return i.Utils.IgnoreUtilFocusChanges=!1,document.activeElement===t},i.Utils.isFocusable=function(t){if(t.tabIndex>0||0===t.tabIndex&&null!==t.getAttribute("tabIndex"))return!0;if(t.disabled)return!1;switch(t.nodeName){case"A":return!!t.href&&"ignore"!==t.rel;case"INPUT":return"hidden"!==t.type&&"file"!==t.type;case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},i.Utils.triggerEvent=function(t,e){var n=void 0;n=/^mouse|click/.test(e)?"MouseEvents":/^key/.test(e)?"KeyboardEvent":"HTMLEvents";for(var i=document.createEvent(n),r=arguments.length,o=Array(r>2?r-2:0),a=2;a<r;a++)o[a-2]=arguments[a];return i.initEvent.apply(i,[e].concat(o)),t.dispatchEvent?t.dispatchEvent(i):t.fireEvent("on"+e,i),t},i.Utils.keys={tab:9,enter:13,space:32,left:37,up:38,right:39,down:40,esc:27},e.default=i.Utils},"i0+k":function(t,e,n){"use strict";t.exports=function(t,e,n,i){var r,o,a,s,l,c,u,h=!1,d=t.bMarks[e]+t.tShift[e],f=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;if(d+3>f)return!1;if(126!==(r=t.src.charCodeAt(d))&&96!==r)return!1;if(l=d,(o=(d=t.skipChars(d,r))-l)<3)return!1;if(u=t.src.slice(l,d),a=t.src.slice(d,f),96===r&&a.indexOf(String.fromCharCode(r))>=0)return!1;if(i)return!0;for(s=e;!(++s>=n)&&!((d=l=t.bMarks[s]+t.tShift[s])<(f=t.eMarks[s])&&t.sCount[s]<t.blkIndent);)if(t.src.charCodeAt(d)===r&&!(t.sCount[s]-t.blkIndent>=4||(d=t.skipChars(d,r))-l<o||(d=t.skipSpaces(d))<f)){h=!0;break}return o=t.sCount[e],t.line=s+(h?1:0),(c=t.push("fence","code",0)).info=a,c.content=t.getLines(e+1,s,o,!0),c.markup=u,c.map=[e,t.line],!0}},i3rX:function(t,e,n){"use strict";var i=function(t){return function(t){return!!t&&"object"==typeof t}(t)&&!function(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||function(t){return t.$$typeof===r}(t)}(t)};var r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function o(t,e){var n;return e&&!0===e.clone&&i(t)?s((n=t,Array.isArray(n)?[]:{}),t,e):t}function a(t,e,n){var r=t.slice();return e.forEach(function(e,a){void 0===r[a]?r[a]=o(e,n):i(e)?r[a]=s(t[a],e,n):-1===t.indexOf(e)&&r.push(o(e,n))}),r}function s(t,e,n){var r=Array.isArray(e);return r===Array.isArray(t)?r?((n||{arrayMerge:a}).arrayMerge||a)(t,e,n):function(t,e,n){var r={};return i(t)&&Object.keys(t).forEach(function(e){r[e]=o(t[e],n)}),Object.keys(e).forEach(function(a){i(e[a])&&t[a]?r[a]=s(t[a],e[a],n):r[a]=o(e[a],n)}),r}(t,e,n):o(e,n)}s.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce(function(t,n){return s(t,n,e)})};var l=s;t.exports=l},i4uy:function(t,e){var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(n){var i=new Uint8Array(16);t.exports=function(){return n(i),i}}else{var r=new Array(16);t.exports=function(){for(var t,e=0;e<16;e++)0==(3&e)&&(t=4294967296*Math.random()),r[e]=t>>>((3&e)<<3)&255;return r}}},iUbK:function(t,e,n){var i=n("7KvD").navigator;t.exports=i&&i.userAgent||""},ifoU:function(t,e,n){t.exports={default:n("3C/1"),__esModule:!0}},ioQ5:function(t,e,n){n("HpRW")("Set")},iqGf:function(t,e,n){var i;i=function(t){return function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/",e(e.s=3)}([function(e,n){e.exports=t},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&t.__esModule?t:{default:t}}(n(0)),r=window.videojs||i.default;"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(t),i=1;i<arguments.length;i++){var r=arguments[i];if(null!=r)for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])}return n},writable:!0,configurable:!0});var o=["loadeddata","canplay","canplaythrough","play","pause","waiting","playing","ended","error"];e.default={name:"video-player",props:{start:{type:Number,default:0},crossOrigin:{type:String,default:""},playsinline:{type:Boolean,default:!1},customEventName:{type:String,default:"statechanged"},options:{type:Object,required:!0},events:{type:Array,default:function(){return[]}},globalOptions:{type:Object,default:function(){return{controls:!0,controlBar:{remainingTimeDisplay:!1,playToggle:{},progressControl:{},fullscreenToggle:{},volumeMenuButton:{inline:!1,vertical:!0}},techOrder:["html5"],plugins:{}}}},globalEvents:{type:Array,default:function(){return[]}}},data:function(){return{player:null,reseted:!0}},mounted:function(){this.player||this.initialize()},beforeDestroy:function(){this.player&&this.dispose()},methods:{initialize:function(){var t=this,e=Object.assign({},this.globalOptions,this.options);this.playsinline&&(this.$refs.video.setAttribute("playsinline",this.playsinline),this.$refs.video.setAttribute("webkit-playsinline",this.playsinline),this.$refs.video.setAttribute("x5-playsinline",this.playsinline),this.$refs.video.setAttribute("x5-video-player-type","h5"),this.$refs.video.setAttribute("x5-video-player-fullscreen",!1)),""!==this.crossOrigin&&(this.$refs.video.crossOrigin=this.crossOrigin,this.$refs.video.setAttribute("crossOrigin",this.crossOrigin));var n=function(e,n){e&&t.$emit(e,t.player),n&&t.$emit(t.customEventName,function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}({},e,n))};e.plugins&&delete e.plugins.__ob__;var i=this;this.player=r(this.$refs.video,e,function(){for(var t=this,e=o.concat(i.events).concat(i.globalEvents),r={},a=0;a<e.length;a++)"string"==typeof e[a]&&void 0===r[e[a]]&&function(e){r[e]=null,t.on(e,function(){n(e,!0)})}(e[a]);this.on("timeupdate",function(){n("timeupdate",this.currentTime())}),i.$emit("ready",this)})},dispose:function(t){var e=this;this.player&&this.player.dispose&&("Flash"!==this.player.techName_&&this.player.pause&&this.player.pause(),this.player.dispose(),this.player=null,this.$nextTick(function(){e.reseted=!1,e.$nextTick(function(){e.reseted=!0,e.$nextTick(function(){t&&t()})})}))}},watch:{options:{deep:!0,handler:function(t,e){var n=this;this.dispose(function(){t&&t.sources&&t.sources.length&&n.initialize()})}}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),r=n.n(i);for(var o in i)["default","default"].indexOf(o)<0&&function(t){n.d(e,t,function(){return i[t]})}(o);var a=n(5),s=n(4)(r.a,a.a,!1,null,null,null);e.default=s.exports},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.install=e.videoPlayer=e.videojs=void 0;var r=i(n(0)),o=i(n(2)),a=window.videojs||r.default,s=function(t,e){e&&(e.options&&(o.default.props.globalOptions.default=function(){return e.options}),e.events&&(o.default.props.globalEvents.default=function(){return e.events})),t.component(o.default.name,o.default)},l={videojs:a,videoPlayer:o.default,install:s};e.default=l,e.videojs=a,e.videoPlayer=o.default,e.install=s},function(t,e){t.exports=function(t,e,n,i,r,o){var a,s=t=t||{},l=typeof t.default;"object"!==l&&"function"!==l||(a=t,s=t.default);var c,u="function"==typeof s?s.options:s;if(e&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns,u._compiled=!0),n&&(u.functional=!0),r&&(u._scopeId=r),o?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=c):i&&(c=i),c){var h=u.functional,d=h?u.render:u.beforeCreate;h?(u._injectStyles=c,u.render=function(t,e){return c.call(e),d(t,e)}):u.beforeCreate=d?[].concat(d,c):[c]}return{esModule:a,exports:s,options:u}}},function(t,e,n){"use strict";var i={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.reseted?n("div",{staticClass:"video-player"},[n("video",{ref:"video",staticClass:"video-js"})]):t._e()},staticRenderFns:[]};e.a=i}])},t.exports=i(n("Dia2"))},jFbC:function(t,e,n){n("Cdx3"),t.exports=n("FeBl").Object.keys},"jKW+":function(t,e,n){"use strict";var i=n("kM2E"),r=n("qARP"),o=n("dNDb");i(i.S,"Promise",{try:function(t){var e=r.f(this),n=o(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},jgMU:function(t,e,n){"use strict";t.exports=n("ukGi")},jmaC:function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t){for(var e=1,n=arguments.length;e<n;e++){var i=arguments[e]||{};for(var r in i)if(i.hasOwnProperty(r)){var o=i[r];void 0!==o&&(t[r]=o)}}return t}},jwfv:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("Dd8w"),r=n.n(i),o=n("pFYg"),a=n.n(o),s=/%[sdj%]/g,l=function(){};function c(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,r=e[0],o=e.length;if("function"==typeof r)return r.apply(null,e.slice(1));if("string"==typeof r){for(var a=String(r).replace(s,function(t){if("%%"===t)return"%";if(i>=o)return t;switch(t){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(t){return"[Circular]"}break;default:return t}}),l=e[i];i<o;l=e[++i])a+=" "+l;return a}return r}function u(t,e){return void 0===t||null===t||(!("array"!==e||!Array.isArray(t)||t.length)||!(!function(t){return"string"===t||"url"===t||"hex"===t||"email"===t||"pattern"===t}(e)||"string"!=typeof t||t))}function h(t,e,n){var i=0,r=t.length;!function o(a){if(a&&a.length)n(a);else{var s=i;i+=1,s<r?e(t[s],o):n([])}}([])}function d(t,e,n,i){if(e.first)return h(function(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}(t),n,i);var r=e.firstFields||[];!0===r&&(r=Object.keys(t));var o=Object.keys(t),a=o.length,s=0,l=[],c=function(t){l.push.apply(l,t),++s===a&&i(l)};o.forEach(function(e){var i=t[e];-1!==r.indexOf(e)?h(i,n,c):function(t,e,n){var i=[],r=0,o=t.length;function a(t){i.push.apply(i,t),++r===o&&n(i)}t.forEach(function(t){e(t,a)})}(i,n,c)})}function f(t){return function(e){return e&&e.message?(e.field=e.field||t.fullField,e):{message:e,field:e.field||t.fullField}}}function p(t,e){if(e)for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];"object"===(void 0===i?"undefined":a()(i))&&"object"===a()(t[n])?t[n]=r()({},t[n],i):t[n]=i}return t}var A=function(t,e,n,i,r,o){!t.required||n.hasOwnProperty(t.field)&&!u(e,o||t.type)||i.push(c(r.messages.required,t.fullField))};var g=function(t,e,n,i,r){(/^\s+$/.test(e)||""===e)&&i.push(c(r.messages.whitespace,t.fullField))},v={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},m={integer:function(t){return m.number(t)&&parseInt(t,10)===t},float:function(t){return m.number(t)&&!m.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(t){return!1}},date:function(t){return"function"==typeof t.getTime&&"function"==typeof t.getMonth&&"function"==typeof t.getYear},number:function(t){return!isNaN(t)&&"number"==typeof t},object:function(t){return"object"===(void 0===t?"undefined":a()(t))&&!m.array(t)},method:function(t){return"function"==typeof t},email:function(t){return"string"==typeof t&&!!t.match(v.email)&&t.length<255},url:function(t){return"string"==typeof t&&!!t.match(v.url)},hex:function(t){return"string"==typeof t&&!!t.match(v.hex)}};var y="enum";var b={required:A,whitespace:g,type:function(t,e,n,i,r){if(t.required&&void 0===e)A(t,e,n,i,r);else{var o=t.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(o)>-1?m[o](e)||i.push(c(r.messages.types[o],t.fullField,t.type)):o&&(void 0===e?"undefined":a()(e))!==t.type&&i.push(c(r.messages.types[o],t.fullField,t.type))}},range:function(t,e,n,i,r){var o="number"==typeof t.len,a="number"==typeof t.min,s="number"==typeof t.max,l=e,u=null,h="number"==typeof e,d="string"==typeof e,f=Array.isArray(e);if(h?u="number":d?u="string":f&&(u="array"),!u)return!1;f&&(l=e.length),d&&(l=e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),o?l!==t.len&&i.push(c(r.messages[u].len,t.fullField,t.len)):a&&!s&&l<t.min?i.push(c(r.messages[u].min,t.fullField,t.min)):s&&!a&&l>t.max?i.push(c(r.messages[u].max,t.fullField,t.max)):a&&s&&(l<t.min||l>t.max)&&i.push(c(r.messages[u].range,t.fullField,t.min,t.max))},enum:function(t,e,n,i,r){t[y]=Array.isArray(t[y])?t[y]:[],-1===t[y].indexOf(e)&&i.push(c(r.messages[y],t.fullField,t[y].join(", ")))},pattern:function(t,e,n,i,r){t.pattern&&(t.pattern instanceof RegExp?(t.pattern.lastIndex=0,t.pattern.test(e)||i.push(c(r.messages.pattern.mismatch,t.fullField,e,t.pattern))):"string"==typeof t.pattern&&(new RegExp(t.pattern).test(e)||i.push(c(r.messages.pattern.mismatch,t.fullField,e,t.pattern))))}};var _="enum";var w=function(t,e,n,i,r){var o=t.type,a=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(u(e,o)&&!t.required)return n();b.required(t,e,i,a,r,o),u(e,o)||b.type(t,e,i,a,r)}n(a)},x={string:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(u(e,"string")&&!t.required)return n();b.required(t,e,i,o,r,"string"),u(e,"string")||(b.type(t,e,i,o,r),b.range(t,e,i,o,r),b.pattern(t,e,i,o,r),!0===t.whitespace&&b.whitespace(t,e,i,o,r))}n(o)},method:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(u(e)&&!t.required)return n();b.required(t,e,i,o,r),void 0!==e&&b.type(t,e,i,o,r)}n(o)},number:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(u(e)&&!t.required)return n();b.required(t,e,i,o,r),void 0!==e&&(b.type(t,e,i,o,r),b.range(t,e,i,o,r))}n(o)},boolean:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(u(e)&&!t.required)return n();b.required(t,e,i,o,r),void 0!==e&&b.type(t,e,i,o,r)}n(o)},regexp:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(u(e)&&!t.required)return n();b.required(t,e,i,o,r),u(e)||b.type(t,e,i,o,r)}n(o)},integer:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(u(e)&&!t.required)return n();b.required(t,e,i,o,r),void 0!==e&&(b.type(t,e,i,o,r),b.range(t,e,i,o,r))}n(o)},float:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(u(e)&&!t.required)return n();b.required(t,e,i,o,r),void 0!==e&&(b.type(t,e,i,o,r),b.range(t,e,i,o,r))}n(o)},array:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(u(e,"array")&&!t.required)return n();b.required(t,e,i,o,r,"array"),u(e,"array")||(b.type(t,e,i,o,r),b.range(t,e,i,o,r))}n(o)},object:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(u(e)&&!t.required)return n();b.required(t,e,i,o,r),void 0!==e&&b.type(t,e,i,o,r)}n(o)},enum:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(u(e)&&!t.required)return n();b.required(t,e,i,o,r),e&&b[_](t,e,i,o,r)}n(o)},pattern:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(u(e,"string")&&!t.required)return n();b.required(t,e,i,o,r),u(e,"string")||b.pattern(t,e,i,o,r)}n(o)},date:function(t,e,n,i,r){var o=[];if(t.required||!t.required&&i.hasOwnProperty(t.field)){if(u(e)&&!t.required)return n();if(b.required(t,e,i,o,r),!u(e)){var a=void 0;a="number"==typeof e?new Date(e):e,b.type(t,a,i,o,r),a&&b.range(t,a.getTime(),i,o,r)}}n(o)},url:w,hex:w,email:w,required:function(t,e,n,i,r){var o=[],s=Array.isArray(e)?"array":void 0===e?"undefined":a()(e);b.required(t,e,i,o,r,s),n(o)}};function C(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var S=C();function B(t){this.rules=null,this._messages=S,this.define(t)}B.prototype={messages:function(t){return t&&(this._messages=p(C(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if("object"!==(void 0===t?"undefined":a()(t))||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var e=void 0,n=void 0;for(e in t)t.hasOwnProperty(e)&&(n=t[e],this.rules[e]=Array.isArray(n)?n:[n])},validate:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments[2],o=t,s=n,u=i;if("function"==typeof s&&(u=s,s={}),this.rules&&0!==Object.keys(this.rules).length){if(s.messages){var h=this.messages();h===S&&(h=C()),p(h,s.messages),s.messages=h}else s.messages=this.messages();var A=void 0,g=void 0,v={};(s.keys||Object.keys(this.rules)).forEach(function(n){A=e.rules[n],g=o[n],A.forEach(function(i){var a=i;"function"==typeof a.transform&&(o===t&&(o=r()({},o)),g=o[n]=a.transform(g)),(a="function"==typeof a?{validator:a}:r()({},a)).validator=e.getValidationMethod(a),a.field=n,a.fullField=a.fullField||n,a.type=e.getType(a),a.validator&&(v[n]=v[n]||[],v[n].push({rule:a,value:g,source:o,field:n}))})});var m={};d(v,s,function(t,e){var n=t.rule,i=!("object"!==n.type&&"array"!==n.type||"object"!==a()(n.fields)&&"object"!==a()(n.defaultField));function o(t,e){return r()({},e,{fullField:n.fullField+"."+t})}function u(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(Array.isArray(a)||(a=[a]),a.length&&l("async-validator:",a),a.length&&n.message&&(a=[].concat(n.message)),a=a.map(f(n)),s.first&&a.length)return m[n.field]=1,e(a);if(i){if(n.required&&!t.value)return a=n.message?[].concat(n.message).map(f(n)):s.error?[s.error(n,c(s.messages.required,n.field))]:[],e(a);var u={};if(n.defaultField)for(var h in t.value)t.value.hasOwnProperty(h)&&(u[h]=n.defaultField);for(var d in u=r()({},u,t.rule.fields))if(u.hasOwnProperty(d)){var p=Array.isArray(u[d])?u[d]:[u[d]];u[d]=p.map(o.bind(null,d))}var A=new B(u);A.messages(s.messages),t.rule.options&&(t.rule.options.messages=s.messages,t.rule.options.error=s.error),A.validate(t.value,t.rule.options||s,function(t){e(t&&t.length?a.concat(t):t)})}else e(a)}i=i&&(n.required||!n.required&&t.value),n.field=t.field;var h=n.validator(n,t.value,u,t.source,s);h&&h.then&&h.then(function(){return u()},function(t){return u(t)})},function(t){!function(t){var e,n=void 0,i=void 0,r=[],o={};for(n=0;n<t.length;n++)e=t[n],Array.isArray(e)?r=r.concat.apply(r,e):r.push(e);if(r.length)for(n=0;n<r.length;n++)o[i=r[n].field]=o[i]||[],o[i].push(r[n]);else r=null,o=null;u(r,o)}(t)})}else u&&u()},getType:function(t){if(void 0===t.type&&t.pattern instanceof RegExp&&(t.type="pattern"),"function"!=typeof t.validator&&t.type&&!x.hasOwnProperty(t.type))throw new Error(c("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if("function"==typeof t.validator)return t.validator;var e=Object.keys(t),n=e.indexOf("message");return-1!==n&&e.splice(n,1),1===e.length&&"required"===e[0]?x.required:x[this.getType(t)]||!1}},B.register=function(t,e){if("function"!=typeof e)throw new Error("Cannot register a validator by type, validator is not a function");x[t]=e},B.messages=S;e.default=B},jyFz:function(t,e,n){var i=function(){return this}()||Function("return this")(),r=i.regeneratorRuntime&&Object.getOwnPropertyNames(i).indexOf("regeneratorRuntime")>=0,o=r&&i.regeneratorRuntime;if(i.regeneratorRuntime=void 0,t.exports=n("SldL"),r)i.regeneratorRuntime=o;else try{delete i.regeneratorRuntime}catch(t){i.regeneratorRuntime=void 0}},kM2E:function(t,e,n){var i=n("7KvD"),r=n("FeBl"),o=n("+ZMJ"),a=n("hJx8"),s=n("D2L2"),l=function(t,e,n){var c,u,h,d=t&l.F,f=t&l.G,p=t&l.S,A=t&l.P,g=t&l.B,v=t&l.W,m=f?r:r[e]||(r[e]={}),y=m.prototype,b=f?i:p?i[e]:(i[e]||{}).prototype;for(c in f&&(n=e),n)(u=!d&&b&&void 0!==b[c])&&s(m,c)||(h=u?b[c]:n[c],m[c]=f&&"function"!=typeof b[c]?n[c]:g&&u?o(h,i):v&&b[c]==h?function(t){var e=function(e,n,i){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,i)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(h):A&&"function"==typeof h?o(Function.call,h):h,A&&((m.virtual||(m.virtual={}))[c]=h,t&l.R&&y&&!y[c]&&a(y,c,h)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},kNJA:function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=59)}({0:function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(t,e){return l.call(e),u(t,e)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:c}}n.d(e,"a",function(){return i})},14:function(t,e){t.exports=n("fEB+")},18:function(t,e){t.exports=n("EKTV")},21:function(t,e){t.exports=n("E/in")},26:function(t,e){t.exports=n("nvbp")},3:function(t,e){t.exports=n("ylDJ")},31:function(t,e){t.exports=n("zTCi")},40:function(t,e){t.exports=n("hyEB")},51:function(t,e){t.exports=n("RDoK")},59:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this.$createElement,e=this._self._c||t;return e("div",{class:["el-cascader-panel",this.border&&"is-bordered"],on:{keydown:this.handleKeyDown}},this._l(this.menus,function(t,n){return e("cascader-menu",{key:n,ref:"menu",refInFor:!0,attrs:{index:n,nodes:t}})}),1)};i._withStripped=!0;var r=n(26),o=n.n(r),a=n(14),s=n.n(a),l=n(18),c=n.n(l),u=n(51),h=n.n(u),d=n(3),f=function(t){return t.stopPropagation()},p={inject:["panel"],components:{ElCheckbox:c.a,ElRadio:h.a},props:{node:{required:!0},nodeId:String},computed:{config:function(){return this.panel.config},isLeaf:function(){return this.node.isLeaf},isDisabled:function(){return this.node.isDisabled},checkedValue:function(){return this.panel.checkedValue},isChecked:function(){return this.node.isSameNode(this.checkedValue)},inActivePath:function(){return this.isInPath(this.panel.activePath)},inCheckedPath:function(){var t=this;return!!this.config.checkStrictly&&this.panel.checkedNodePaths.some(function(e){return t.isInPath(e)})},value:function(){return this.node.getValueByOption()}},methods:{handleExpand:function(){var t=this,e=this.panel,n=this.node,i=this.isDisabled,r=this.config,o=r.multiple;!r.checkStrictly&&i||n.loading||(r.lazy&&!n.loaded?e.lazyLoad(n,function(){var e=t.isLeaf;if(e||t.handleExpand(),o){var i=!!e&&n.checked;t.handleMultiCheckChange(i)}}):e.handleExpand(n))},handleCheckChange:function(){var t=this.panel,e=this.value,n=this.node;t.handleCheckChange(e),t.handleExpand(n)},handleMultiCheckChange:function(t){this.node.doCheck(t),this.panel.calculateMultiCheckedValue()},isInPath:function(t){var e=this.node;return(t[e.level-1]||{}).uid===e.uid},renderPrefix:function(t){var e=this.isLeaf,n=this.isChecked,i=this.config,r=i.checkStrictly;return i.multiple?this.renderCheckbox(t):r?this.renderRadio(t):e&&n?this.renderCheckIcon(t):null},renderPostfix:function(t){var e=this.node,n=this.isLeaf;return e.loading?this.renderLoadingIcon(t):n?null:this.renderExpandIcon(t)},renderCheckbox:function(t){var e=this.node,n=this.config,i=this.isDisabled,r={on:{change:this.handleMultiCheckChange},nativeOn:{}};return n.checkStrictly&&(r.nativeOn.click=f),t("el-checkbox",o()([{attrs:{value:e.checked,indeterminate:e.indeterminate,disabled:i}},r]))},renderRadio:function(t){var e=this.checkedValue,n=this.value,i=this.isDisabled;return Object(d.isEqual)(n,e)&&(n=e),t("el-radio",{attrs:{value:e,label:n,disabled:i},on:{change:this.handleCheckChange},nativeOn:{click:f}},[t("span")])},renderCheckIcon:function(t){return t("i",{class:"el-icon-check el-cascader-node__prefix"})},renderLoadingIcon:function(t){return t("i",{class:"el-icon-loading el-cascader-node__postfix"})},renderExpandIcon:function(t){return t("i",{class:"el-icon-arrow-right el-cascader-node__postfix"})},renderContent:function(t){var e=this.panel,n=this.node,i=e.renderLabelFn;return t("span",{class:"el-cascader-node__label"},[(i?i({node:n,data:n.data}):null)||n.label])}},render:function(t){var e=this,n=this.inActivePath,i=this.inCheckedPath,r=this.isChecked,a=this.isLeaf,s=this.isDisabled,l=this.config,c=this.nodeId,u=l.expandTrigger,h=l.checkStrictly,d=l.multiple,f=!h&&s,p={on:{}};return"click"===u?p.on.click=this.handleExpand:(p.on.mouseenter=function(t){e.handleExpand(),e.$emit("expand",t)},p.on.focus=function(t){e.handleExpand(),e.$emit("expand",t)}),!a||s||h||d||(p.on.click=this.handleCheckChange),t("li",o()([{attrs:{role:"menuitem",id:c,"aria-expanded":n,tabindex:f?null:-1},class:{"el-cascader-node":!0,"is-selectable":h,"in-active-path":n,"in-checked-path":i,"is-active":r,"is-disabled":f}},p]),[this.renderPrefix(t),this.renderContent(t),this.renderPostfix(t)])}},A=n(0),g=Object(A.a)(p,void 0,void 0,!1,null,null,null);g.options.__file="packages/cascader-panel/src/cascader-node.vue";var v=g.exports,m=n(6),y={name:"ElCascaderMenu",mixins:[n.n(m).a],inject:["panel"],components:{ElScrollbar:s.a,CascaderNode:v},props:{nodes:{type:Array,required:!0},index:Number},data:function(){return{activeNode:null,hoverTimer:null,id:Object(d.generateId)()}},computed:{isEmpty:function(){return!this.nodes.length},menuId:function(){return"cascader-menu-"+this.id+"-"+this.index}},methods:{handleExpand:function(t){this.activeNode=t.target},handleMouseMove:function(t){var e=this.activeNode,n=this.hoverTimer,i=this.$refs.hoverZone;if(e&&i)if(e.contains(t.target)){clearTimeout(n);var r=this.$el.getBoundingClientRect().left,o=t.clientX-r,a=this.$el,s=a.offsetWidth,l=a.offsetHeight,c=e.offsetTop,u=c+e.offsetHeight;i.innerHTML='\n <path style="pointer-events: auto;" fill="transparent" d="M'+o+" "+c+" L"+s+" 0 V"+c+' Z" />\n <path style="pointer-events: auto;" fill="transparent" d="M'+o+" "+u+" L"+s+" "+l+" V"+u+' Z" />\n '}else n||(this.hoverTimer=setTimeout(this.clearHoverZone,this.panel.config.hoverThreshold))},clearHoverZone:function(){var t=this.$refs.hoverZone;t&&(t.innerHTML="")},renderEmptyText:function(t){return t("div",{class:"el-cascader-menu__empty-text"},[this.t("el.cascader.noData")])},renderNodeList:function(t){var e=this.menuId,n=this.panel.isHoverMenu,i={on:{}};n&&(i.on.expand=this.handleExpand);var r=this.nodes.map(function(n,r){var a=n.hasChildren;return t("cascader-node",o()([{key:n.uid,attrs:{node:n,"node-id":e+"-"+r,"aria-haspopup":a,"aria-owns":a?e:null}},i]))});return[].concat(r,[n?t("svg",{ref:"hoverZone",class:"el-cascader-menu__hover-zone"}):null])}},render:function(t){var e=this.isEmpty,n=this.menuId,i={nativeOn:{}};return this.panel.isHoverMenu&&(i.nativeOn.mousemove=this.handleMouseMove),t("el-scrollbar",o()([{attrs:{tag:"ul",role:"menu",id:n,"wrap-class":"el-cascader-menu__wrap","view-class":{"el-cascader-menu__list":!0,"is-empty":e}},class:"el-cascader-menu"},i]),[e?this.renderEmptyText(t):this.renderNodeList(t)])}},b=Object(A.a)(y,void 0,void 0,!1,null,null,null);b.options.__file="packages/cascader-panel/src/cascader-menu.vue";var _=b.exports,w=n(21),x=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}();var C=0,S=function(){function t(e,n,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.data=e,this.config=n,this.parent=i||null,this.level=this.parent?this.parent.level+1:1,this.uid=C++,this.initState(),this.initChildren()}return t.prototype.initState=function(){var t=this.config,e=t.value,n=t.label;this.value=this.data[e],this.label=this.data[n],this.pathNodes=this.calculatePathNodes(),this.path=this.pathNodes.map(function(t){return t.value}),this.pathLabels=this.pathNodes.map(function(t){return t.label}),this.loading=!1,this.loaded=!1},t.prototype.initChildren=function(){var e=this,n=this.config,i=n.children,r=this.data[i];this.hasChildren=Array.isArray(r),this.children=(r||[]).map(function(i){return new t(i,n,e)})},t.prototype.calculatePathNodes=function(){for(var t=[this],e=this.parent;e;)t.unshift(e),e=e.parent;return t},t.prototype.getPath=function(){return this.path},t.prototype.getValue=function(){return this.value},t.prototype.getValueByOption=function(){return this.config.emitPath?this.getPath():this.getValue()},t.prototype.getText=function(t,e){return t?this.pathLabels.join(e):this.label},t.prototype.isSameNode=function(t){var e=this.getValueByOption();return this.config.multiple&&Array.isArray(t)?t.some(function(t){return Object(d.isEqual)(t,e)}):Object(d.isEqual)(t,e)},t.prototype.broadcast=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];var r="onParent"+Object(d.capitalize)(t);this.children.forEach(function(e){e&&(e.broadcast.apply(e,[t].concat(n)),e[r]&&e[r].apply(e,n))})},t.prototype.emit=function(t){var e=this.parent,n="onChild"+Object(d.capitalize)(t);if(e){for(var i=arguments.length,r=Array(i>1?i-1:0),o=1;o<i;o++)r[o-1]=arguments[o];e[n]&&e[n].apply(e,r),e.emit.apply(e,[t].concat(r))}},t.prototype.onParentCheck=function(t){this.isDisabled||this.setCheckState(t)},t.prototype.onChildCheck=function(){var t=this.children.filter(function(t){return!t.isDisabled}),e=!!t.length&&t.every(function(t){return t.checked});this.setCheckState(e)},t.prototype.setCheckState=function(t){var e=this.children.length,n=this.children.reduce(function(t,e){return t+(e.checked?1:e.indeterminate?.5:0)},0);this.checked=t,this.indeterminate=n!==e&&n>0},t.prototype.syncCheckState=function(t){var e=this.getValueByOption(),n=this.isSameNode(t,e);this.doCheck(n)},t.prototype.doCheck=function(t){this.checked!==t&&(this.config.checkStrictly?this.checked=t:(this.broadcast("check",t),this.setCheckState(t),this.emit("check")))},x(t,[{key:"isDisabled",get:function(){var t=this.data,e=this.parent,n=this.config,i=n.disabled,r=n.checkStrictly;return t[i]||!r&&e&&e.isDisabled}},{key:"isLeaf",get:function(){var t=this.data,e=this.loaded,n=this.hasChildren,i=this.children,r=this.config,o=r.lazy,a=r.leaf;if(o){var s=Object(w.isDef)(t[a])?t[a]:!!e&&!i.length;return this.hasChildren=!s,s}return!n}}]),t}();var B=function(){function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.config=n,this.initNodes(e)}return t.prototype.initNodes=function(t){var e=this;t=Object(d.coerceTruthyValueToArray)(t),this.nodes=t.map(function(t){return new S(t,e.config)}),this.flattedNodes=this.getFlattedNodes(!1,!1),this.leafNodes=this.getFlattedNodes(!0,!1)},t.prototype.appendNode=function(t,e){var n=new S(t,this.config,e);(e?e.children:this.nodes).push(n)},t.prototype.appendNodes=function(t,e){var n=this;(t=Object(d.coerceTruthyValueToArray)(t)).forEach(function(t){return n.appendNode(t,e)})},t.prototype.getNodes=function(){return this.nodes},t.prototype.getFlattedNodes=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=t?this.leafNodes:this.flattedNodes;return e?n:function t(e,n){return e.reduce(function(e,i){return i.isLeaf?e.push(i):(!n&&e.push(i),e=e.concat(t(i.children,n))),e},[])}(this.nodes,t)},t.prototype.getNodeByValue=function(t){if(t){var e=this.getFlattedNodes(!1,!this.config.lazy).filter(function(e){return Object(d.valueEquals)(e.path,t)||e.value===t});return e&&e.length?e[0]:null}return null},t}(),k=n(9),T=n.n(k),O=n(40),E=n.n(O),I=n(31),M=n.n(I),D=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},L=E.a.keys,F={expandTrigger:"click",multiple:!1,checkStrictly:!1,emitPath:!0,lazy:!1,lazyLoad:d.noop,value:"value",label:"label",children:"children",leaf:"leaf",disabled:"disabled",hoverThreshold:500},P=function(t){return!t.getAttribute("aria-owns")},N=function(t,e){var n=t.parentNode;if(n){var i=n.querySelectorAll('.el-cascader-node[tabindex="-1"]');return i[Array.prototype.indexOf.call(i,t)+e]||null}return null},j=function(t,e){if(t){var n=t.id.split("-");return Number(n[n.length-2])}},U=function(t){t&&(t.focus(),!P(t)&&t.click())},R={name:"ElCascaderPanel",components:{CascaderMenu:_},props:{value:{},options:Array,props:Object,border:{type:Boolean,default:!0},renderLabel:Function},provide:function(){return{panel:this}},data:function(){return{checkedValue:null,checkedNodePaths:[],store:[],menus:[],activePath:[],loadCount:0}},computed:{config:function(){return T()(D({},F),this.props||{})},multiple:function(){return this.config.multiple},checkStrictly:function(){return this.config.checkStrictly},leafOnly:function(){return!this.checkStrictly},isHoverMenu:function(){return"hover"===this.config.expandTrigger},renderLabelFn:function(){return this.renderLabel||this.$scopedSlots.default}},watch:{options:{handler:function(){this.initStore()},immediate:!0,deep:!0},value:function(){this.syncCheckedValue(),this.checkStrictly&&this.calculateCheckedNodePaths()},checkedValue:function(t){Object(d.isEqual)(t,this.value)||(this.checkStrictly&&this.calculateCheckedNodePaths(),this.$emit("input",t),this.$emit("change",t))}},mounted:function(){Object(d.isEmpty)(this.value)||this.syncCheckedValue()},methods:{initStore:function(){var t=this.config,e=this.options;t.lazy&&Object(d.isEmpty)(e)?this.lazyLoad():(this.store=new B(e,t),this.menus=[this.store.getNodes()],this.syncMenuState())},syncCheckedValue:function(){var t=this.value,e=this.checkedValue;Object(d.isEqual)(t,e)||(this.activePath=[],this.checkedValue=t,this.syncMenuState())},syncMenuState:function(){var t=this.multiple,e=this.checkStrictly;this.syncActivePath(),t&&this.syncMultiCheckState(),e&&this.calculateCheckedNodePaths(),this.$nextTick(this.scrollIntoView)},syncMultiCheckState:function(){var t=this;this.getFlattedNodes(this.leafOnly).forEach(function(e){e.syncCheckState(t.checkedValue)})},syncActivePath:function(){var t=this,e=this.store,n=this.multiple,i=this.activePath,r=this.checkedValue;if(Object(d.isEmpty)(i))if(Object(d.isEmpty)(r))this.activePath=[],this.menus=[e.getNodes()];else{var o=n?r[0]:r,a=((this.getNodeByValue(o)||{}).pathNodes||[]).slice(0,-1);this.expandNodes(a)}else{var s=i.map(function(e){return t.getNodeByValue(e.getValue())});this.expandNodes(s)}},expandNodes:function(t){var e=this;t.forEach(function(t){return e.handleExpand(t,!0)})},calculateCheckedNodePaths:function(){var t=this,e=this.checkedValue,n=this.multiple?Object(d.coerceTruthyValueToArray)(e):[e];this.checkedNodePaths=n.map(function(e){var n=t.getNodeByValue(e);return n?n.pathNodes:[]})},handleKeyDown:function(t){var e=t.target;switch(t.keyCode){case L.up:var n=N(e,-1);U(n);break;case L.down:var i=N(e,1);U(i);break;case L.left:var r=this.$refs.menu[j(e)-1];if(r){var o=r.$el.querySelector('.el-cascader-node[aria-expanded="true"]');U(o)}break;case L.right:var a=this.$refs.menu[j(e)+1];if(a){var s=a.$el.querySelector('.el-cascader-node[tabindex="-1"]');U(s)}break;case L.enter:!function(t){if(t){var e=t.querySelector("input");e?e.click():P(t)&&t.click()}}(e);break;case L.esc:case L.tab:this.$emit("close");break;default:return}},handleExpand:function(t,e){var n=this.activePath,i=t.level,r=n.slice(0,i-1),o=this.menus.slice(0,i);if(t.isLeaf||(r.push(t),o.push(t.children)),this.activePath=r,this.menus=o,!e){var a=r.map(function(t){return t.getValue()}),s=n.map(function(t){return t.getValue()});Object(d.valueEquals)(a,s)||(this.$emit("active-item-change",a),this.$emit("expand-change",a))}},handleCheckChange:function(t){this.checkedValue=t},lazyLoad:function(t,e){var n=this,i=this.config;t||(t=t||{root:!0,level:0},this.store=new B([],i),this.menus=[this.store.getNodes()]),t.loading=!0;i.lazyLoad(t,function(i){var r=t.root?null:t;if(i&&i.length&&n.store.appendNodes(i,r),t.loading=!1,t.loaded=!0,Array.isArray(n.checkedValue)){var o=n.checkedValue[n.loadCount++],a=n.config.value,s=n.config.leaf;if(Array.isArray(i)&&i.filter(function(t){return t[a]===o}).length>0){var l=n.store.getNodeByValue(o);l.data[s]||n.lazyLoad(l,function(){n.handleExpand(l)}),n.loadCount===n.checkedValue.length&&n.$parent.computePresentText()}}e&&e(i)})},calculateMultiCheckedValue:function(){this.checkedValue=this.getCheckedNodes(this.leafOnly).map(function(t){return t.getValueByOption()})},scrollIntoView:function(){this.$isServer||(this.$refs.menu||[]).forEach(function(t){var e=t.$el;if(e){var n=e.querySelector(".el-scrollbar__wrap"),i=e.querySelector(".el-cascader-node.is-active")||e.querySelector(".el-cascader-node.in-active-path");M()(n,i)}})},getNodeByValue:function(t){return this.store.getNodeByValue(t)},getFlattedNodes:function(t){var e=!this.config.lazy;return this.store.getFlattedNodes(t,e)},getCheckedNodes:function(t){var e=this.checkedValue;return this.multiple?this.getFlattedNodes(t).filter(function(t){return t.checked}):Object(d.isEmpty)(e)?[]:[this.getNodeByValue(e)]},clearCheckedNodes:function(){var t=this.config,e=this.leafOnly,n=t.multiple,i=t.emitPath;n?(this.getCheckedNodes(e).filter(function(t){return!t.isDisabled}).forEach(function(t){return t.doCheck(!1)}),this.calculateMultiCheckedValue()):this.checkedValue=i?[]:null}}},Q=Object(A.a)(R,i,[],!1,null,null,null);Q.options.__file="packages/cascader-panel/src/cascader-panel.vue";var H=Q.exports;H.install=function(t){t.component(H.name,H)};e.default=H},6:function(t,e){t.exports=n("y+7x")},9:function(t,e){t.exports=n("jmaC")}})},knuC:function(t,e){t.exports=function(t,e,n){var i=void 0===n;switch(e.length){case 0:return i?t():t.call(n);case 1:return i?t(e[0]):t.call(n,e[0]);case 2:return i?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return i?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return i?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},lFkc:function(t,e,n){"use strict";var i=!("undefined"==typeof window||!window.document||!window.document.createElement),r={canUseDOM:i,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:i&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:i&&!!window.screen,isInWorker:!i};t.exports=r},lHA8:function(t,e,n){t.exports={default:n("pPW7"),__esModule:!0}},lOnJ:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},lktj:function(t,e,n){var i=n("Ibhu"),r=n("xnc9");t.exports=Object.keys||function(t){return i(t,r)}},m9gC:function(t,e,n){var i=n("RY/4"),r=n("4WTo");t.exports=function(t){return function(){if(i(this)!=t)throw TypeError(t+"#toJSON isn't generic");return r(this)}}},mbce:function(t,e,n){var i=n("+E39"),r=n("lktj"),o=n("TcQ7"),a=n("NpIQ").f;t.exports=function(t){return function(e){for(var n,s=o(e),l=r(s),c=l.length,u=0,h=[];c>u;)n=l[u++],i&&!a.call(s,n)||h.push(t?[n,s[n]]:s[n]);return h}}},msXi:function(t,e,n){var i=n("77Pl");t.exports=function(t,e,n,r){try{return r?e(i(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&i(o.call(t)),e}}},mtWM:function(t,e,n){t.exports=n("tIFN")},mtrD:function(t,e){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=97)}({0:function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(t,e){return l.call(e),u(t,e)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:c}}n.d(e,"a",function(){return i})},97:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("button",{staticClass:"el-button",class:[t.type?"el-button--"+t.type:"",t.buttonSize?"el-button--"+t.buttonSize:"",{"is-disabled":t.buttonDisabled,"is-loading":t.loading,"is-plain":t.plain,"is-round":t.round,"is-circle":t.circle}],attrs:{disabled:t.buttonDisabled||t.loading,autofocus:t.autofocus,type:t.nativeType},on:{click:t.handleClick}},[t.loading?n("i",{staticClass:"el-icon-loading"}):t._e(),t.icon&&!t.loading?n("i",{class:t.icon}):t._e(),t.$slots.default?n("span",[t._t("default")],2):t._e()])};i._withStripped=!0;var r={name:"ElButton",inject:{elForm:{default:""},elFormItem:{default:""}},props:{type:{type:String,default:"default"},size:String,icon:{type:String,default:""},nativeType:{type:String,default:"button"},loading:Boolean,disabled:Boolean,plain:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},buttonSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},buttonDisabled:function(){return this.disabled||(this.elForm||{}).disabled}},methods:{handleClick:function(t){this.$emit("click",t)}}},o=n(0),a=Object(o.a)(r,i,[],!1,null,null,null);a.options.__file="packages/button/src/button.vue";var s=a.exports;s.install=function(t){t.component(s.name,s)};e.default=s}})},mvHQ:function(t,e,n){t.exports={default:n("qkKv"),__esModule:!0}},mw3O:function(t,e,n){"use strict";var i=n("CwSZ"),r=n("DDCP"),o=n("XgCd");t.exports={formats:o,parse:r,stringify:i}},n0T6:function(t,e,n){var i=n("Ibhu"),r=n("xnc9").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,r)}},nvbp:function(t,e){var n=/^(attrs|props|on|nativeOn|class|style|hook)$/;function i(t,e){return function(){t&&t.apply(this,arguments),e&&e.apply(this,arguments)}}t.exports=function(t){return t.reduce(function(t,e){var r,o,a,s,l;for(a in e)if(r=t[a],o=e[a],r&&n.test(a))if("class"===a&&("string"==typeof r&&(l=r,t[a]=r={},r[l]=!0),"string"==typeof o&&(l=o,e[a]=o={},o[l]=!0)),"on"===a||"nativeOn"===a||"hook"===a)for(s in o)r[s]=i(r[s],o[s]);else if(Array.isArray(r))t[a]=r.concat(o);else if(Array.isArray(o))t[a]=[r].concat(o);else for(s in o)r[s]=o[s];else t[a]=e[a];return t},{})}},oJlt:function(t,e,n){"use strict";var i=n("cGG2"),r=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,o,a={};return t?(i.forEach(t.split("\n"),function(t){if(o=t.indexOf(":"),e=i.trim(t.substr(0,o)).toLowerCase(),n=i.trim(t.substr(o+1)),e){if(a[e]&&r.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}}),a):a}},oNmr:function(t,e,n){n("9Bbf")("Set")},oQJ3:function(t,e,n){"use strict";t.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}}},oeOm:function(t,e,n){var i=n("7Doy");t.exports=function(t,e){return new(i(t))(e)}},orbS:function(t,e){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=124)}({0:function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(t,e){return l.call(e),u(t,e)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:c}}n.d(e,"a",function(){return i})},124:function(t,e,n){"use strict";n.r(e);var i={name:"ElTag",props:{text:String,closable:Boolean,type:String,hit:Boolean,disableTransitions:Boolean,color:String,size:String,effect:{type:String,default:"light",validator:function(t){return-1!==["dark","light","plain"].indexOf(t)}}},methods:{handleClose:function(t){t.stopPropagation(),this.$emit("close",t)},handleClick:function(t){this.$emit("click",t)}},computed:{tagSize:function(){return this.size||(this.$ELEMENT||{}).size}},render:function(t){var e=this.type,n=this.tagSize,i=this.hit,r=this.effect,o=t("span",{class:["el-tag",e?"el-tag--"+e:"",n?"el-tag--"+n:"",r?"el-tag--"+r:"",i&&"is-hit"],style:{backgroundColor:this.color},on:{click:this.handleClick}},[this.$slots.default,this.closable&&t("i",{class:"el-tag__close el-icon-close",on:{click:this.handleClose}})]);return this.disableTransitions?o:t("transition",{attrs:{name:"el-zoom-in-center"}},[o])}},r=n(0),o=Object(r.a)(i,void 0,void 0,!1,null,null,null);o.options.__file="packages/tag/src/tag.vue";var a=o.exports;a.install=function(t){t.component(a.name,a)};e.default=a}})},p1b6:function(t,e,n){"use strict";var i=n("cGG2");t.exports=i.isStandardBrowserEnv()?{write:function(t,e,n,r,o,a){var s=[];s.push(t+"="+encodeURIComponent(e)),i.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),i.isString(r)&&s.push("path="+r),i.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},p8xL:function(t,e,n){"use strict";var i=n("XgCd"),r=Object.prototype.hasOwnProperty,o=Array.isArray,a=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),s=function(t,e){for(var n=e&&e.plainObjects?Object.create(null):{},i=0;i<t.length;++i)void 0!==t[i]&&(n[i]=t[i]);return n};t.exports={arrayToObject:s,assign:function(t,e){return Object.keys(e).reduce(function(t,n){return t[n]=e[n],t},t)},combine:function(t,e){return[].concat(t,e)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],n=[],i=0;i<e.length;++i)for(var r=e[i],a=r.obj[r.prop],s=Object.keys(a),l=0;l<s.length;++l){var c=s[l],u=a[c];"object"==typeof u&&null!==u&&-1===n.indexOf(u)&&(e.push({obj:a,prop:c}),n.push(u))}return function(t){for(;t.length>1;){var e=t.pop(),n=e.obj[e.prop];if(o(n)){for(var i=[],r=0;r<n.length;++r)void 0!==n[r]&&i.push(n[r]);e.obj[e.prop]=i}}}(e),t},decode:function(t,e,n){var i=t.replace(/\+/g," ");if("iso-8859-1"===n)return i.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(i)}catch(t){return i}},encode:function(t,e,n,r,o){if(0===t.length)return t;var s=t;if("symbol"==typeof t?s=Symbol.prototype.toString.call(t):"string"!=typeof t&&(s=String(t)),"iso-8859-1"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"});for(var l="",c=0;c<s.length;++c){var u=s.charCodeAt(c);45===u||46===u||95===u||126===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||o===i.RFC1738&&(40===u||41===u)?l+=s.charAt(c):u<128?l+=a[u]:u<2048?l+=a[192|u>>6]+a[128|63&u]:u<55296||u>=57344?l+=a[224|u>>12]+a[128|u>>6&63]+a[128|63&u]:(c+=1,u=65536+((1023&u)<<10|1023&s.charCodeAt(c)),l+=a[240|u>>18]+a[128|u>>12&63]+a[128|u>>6&63]+a[128|63&u])}return l},isBuffer:function(t){return!(!t||"object"!=typeof t||!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t)))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(o(t)){for(var n=[],i=0;i<t.length;i+=1)n.push(e(t[i]));return n}return e(t)},merge:function t(e,n,i){if(!n)return e;if("object"!=typeof n){if(o(e))e.push(n);else{if(!e||"object"!=typeof e)return[e,n];(i&&(i.plainObjects||i.allowPrototypes)||!r.call(Object.prototype,n))&&(e[n]=!0)}return e}if(!e||"object"!=typeof e)return[e].concat(n);var a=e;return o(e)&&!o(n)&&(a=s(e,i)),o(e)&&o(n)?(n.forEach(function(n,o){if(r.call(e,o)){var a=e[o];a&&"object"==typeof a&&n&&"object"==typeof n?e[o]=t(a,n,i):e.push(n)}else e[o]=n}),e):Object.keys(n).reduce(function(e,o){var a=n[o];return r.call(e,o)?e[o]=t(e[o],a,i):e[o]=a,e},a)}}},pBtG:function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},pFYg:function(t,e,n){"use strict";e.__esModule=!0;var i=a(n("Zzip")),r=a(n("5QVw")),o="function"==typeof r.default&&"symbol"==typeof i.default?function(t){return typeof t}:function(t){return t&&"function"==typeof r.default&&t.constructor===r.default&&t!==r.default.prototype?"symbol":typeof t};function a(t){return t&&t.__esModule?t:{default:t}}e.default="function"==typeof r.default&&"symbol"===o(i.default)?function(t){return void 0===t?"undefined":o(t)}:function(t){return t&&"function"==typeof r.default&&t.constructor===r.default&&t!==r.default.prototype?"symbol":void 0===t?"undefined":o(t)}},pPW7:function(t,e,n){n("M6a0"),n("zQR9"),n("+tPU"),n("ttyz"),n("BDhv"),n("oNmr"),n("ioQ5"),t.exports=n("FeBl").Set},pgii:function(t,e,n){"use strict";var i=n("+N5+").isSpace;t.exports=function(t,e,n,r){var o,a,s,l,c=t.bMarks[e]+t.tShift[e],u=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;if(35!==(o=t.src.charCodeAt(c))||c>=u)return!1;for(a=1,o=t.src.charCodeAt(++c);35===o&&c<u&&a<=6;)a++,o=t.src.charCodeAt(++c);return!(a>6||c<u&&!i(o))&&(!!r||(u=t.skipSpacesBack(u,c),(s=t.skipCharsBack(u,35,c))>c&&i(t.src.charCodeAt(s-1))&&(u=s),t.line=e+1,(l=t.push("heading_open","h"+String(a),1)).markup="########".slice(0,a),l.map=[e,t.line],(l=t.push("inline","",0)).content=t.src.slice(c,u).trim(),l.map=[e,t.line],l.children=[],(l=t.push("heading_close","h"+String(a),-1)).markup="########".slice(0,a),!0))}},ppUw:function(t,e,n){var i,r;i={expires:"1d",path:"; path=/",domain:"",secure:"",sameSite:"; SameSite=Lax"},r={install:function(t){t.prototype.$cookies=this,t.$cookies=this},config:function(t,e,n,r,o){i.expires=t||"1d",i.path=e?"; path="+e:"; path=/",i.domain=n?"; domain="+n:"",i.secure=r?"; Secure":"",i.sameSite=o?"; SameSite="+o:"; SameSite=Lax"},get:function(t){var e=decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*"+encodeURIComponent(t).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1"))||null;if(e&&"{"===e.substring(0,1)&&"}"===e.substring(e.length-1,e.length))try{e=JSON.parse(e)}catch(t){return e}return e},set:function(t,e,n,r,o,a,s){if(!t)throw new Error("Cookie name is not find in first argument.");if(/^(?:expires|max\-age|path|domain|secure|SameSite)$/i.test(t))throw new Error('Cookie key name illegality, Cannot be set to ["expires","max-age","path","domain","secure","SameSite"]\t current key name: '+t);e&&e.constructor===Object&&(e=JSON.stringify(e));var l="";if((n=void 0==n?i.expires:n)&&0!=n)switch(n.constructor){case Number:l=n===1/0||-1===n?"; expires=Fri, 31 Dec 9999 23:59:59 GMT":"; max-age="+n;break;case String:if(/^(?:\d+(y|m|d|h|min|s))$/i.test(n)){var c=n.replace(/^(\d+)(?:y|m|d|h|min|s)$/i,"$1");switch(n.replace(/^(?:\d+)(y|m|d|h|min|s)$/i,"$1").toLowerCase()){case"m":l="; max-age="+2592e3*+c;break;case"d":l="; max-age="+86400*+c;break;case"h":l="; max-age="+3600*+c;break;case"min":l="; max-age="+60*+c;break;case"s":l="; max-age="+c;break;case"y":l="; max-age="+31104e3*+c;break;default:new Error('unknown exception of "set operation"')}}else l="; expires="+n;break;case Date:l="; expires="+n.toUTCString()}return document.cookie=encodeURIComponent(t)+"="+encodeURIComponent(e)+l+(o?"; domain="+o:i.domain)+(r?"; path="+r:i.path)+(void 0==a?i.secure:a?"; Secure":"")+(void 0==s?i.sameSite:s?"; SameSite="+s:""),this},remove:function(t,e,n){return!(!t||!this.isKey(t))&&(document.cookie=encodeURIComponent(t)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT"+(n?"; domain="+n:i.domain)+(e?"; path="+e:i.path)+"; SameSite=Lax",this)},isKey:function(t){return new RegExp("(?:^|;\\s*)"+encodeURIComponent(t).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(document.cookie)},keys:function(){if(!document.cookie)return[];for(var t=document.cookie.replace(/((?:^|\s*;)[^\=]+)(?=;|$)|^\s*|\s*(?:\=[^;]*)?(?:\1|$)/g,"").split(/\s*(?:\=[^;]*)?;\s*/),e=0;e<t.length;e++)t[e]=decodeURIComponent(t[e]);return t}},t.exports=r,"undefined"!=typeof window&&(window.$cookies=r)},pxG4:function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},"q+vg":function(t,e){t.exports=function(){for(var t={},e=0;e<arguments.length;e++){var i=arguments[e];for(var r in i)n.call(i,r)&&(t[r]=i[r])}return t};var n=Object.prototype.hasOwnProperty},"q/Lo":function(t,e,n){"use strict";t.exports=function(t){var e;t.inlineMode?((e=new t.Token("inline","",0)).content=t.src,e.map=[0,1],e.children=[],t.tokens.push(e)):t.md.block.parse(t.src,t.md,t.env,t.tokens)}},qARP:function(t,e,n){"use strict";var i=n("lOnJ");t.exports.f=function(t){return new function(t){var e,n;this.promise=new t(function(t,i){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=i}),this.resolve=i(e),this.reject=i(n)}(t)}},qCoq:function(t,e,n){"use strict";var i=n("9C8M"),r=n("LIJb");t.exports=n("qo66")("Map",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function(t){var e=i.getEntry(r(this,"Map"),t);return e&&e.v},set:function(t,e){return i.def(r(this,"Map"),0===t?0:t,e)}},i,!0)},qRfI:function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},qio6:function(t,e,n){var i=n("evD5"),r=n("77Pl"),o=n("lktj");t.exports=n("+E39")?Object.defineProperties:function(t,e){r(t);for(var n,a=o(e),s=a.length,l=0;s>l;)i.f(t,n=a[l++],e[n]);return t}},qkKv:function(t,e,n){var i=n("FeBl"),r=i.JSON||(i.JSON={stringify:JSON.stringify});t.exports=function(t){return r.stringify.apply(r,arguments)}},qo66:function(t,e,n){"use strict";var i=n("7KvD"),r=n("kM2E"),o=n("06OY"),a=n("S82l"),s=n("hJx8"),l=n("xH/j"),c=n("NWt+"),u=n("2KxR"),h=n("EqjI"),d=n("e6n0"),f=n("evD5").f,p=n("ALrJ")(0),A=n("+E39");t.exports=function(t,e,n,g,v,m){var y=i[t],b=y,_=v?"set":"add",w=b&&b.prototype,x={};return A&&"function"==typeof b&&(m||w.forEach&&!a(function(){(new b).entries().next()}))?(b=e(function(e,n){u(e,b,t,"_c"),e._c=new y,void 0!=n&&c(n,v,e[_],e)}),p("add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON".split(","),function(t){var e="add"==t||"set"==t;t in w&&(!m||"clear"!=t)&&s(b.prototype,t,function(n,i){if(u(this,b,t),!e&&m&&!h(n))return"get"==t&&void 0;var r=this._c[t](0===n?0:n,i);return e?this:r})}),m||f(b.prototype,"size",{get:function(){return this._c.size}})):(b=g.getConstructor(e,t,v,_),l(b.prototype,n),o.NEED=!0),d(b,t),x[t]=b,r(r.G+r.W+r.F,x),m||g.setStrong(b,t,v),b}},qyJz:function(t,e,n){"use strict";var i=n("+ZMJ"),r=n("kM2E"),o=n("sB3e"),a=n("msXi"),s=n("Mhyx"),l=n("QRG4"),c=n("fBQ2"),u=n("3fs2");r(r.S+r.F*!n("dY0y")(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,r,h,d=o(t),f="function"==typeof this?this:Array,p=arguments.length,A=p>1?arguments[1]:void 0,g=void 0!==A,v=0,m=u(d);if(g&&(A=i(A,p>2?arguments[2]:void 0,2)),void 0==m||f==Array&&s(m))for(n=new f(e=l(d.length));e>v;v++)c(n,v,g?A(d[v],v):d[v]);else for(h=m.call(d),n=new f;!(r=h.next()).done;v++)c(n,v,g?a(h,A,[r.value,v],!0):r.value);return n.length=v,n}})},rYzl:function(t,e,n){"use strict";t.exports=function(t){var e,n,i=0,r=t.tokens,o=t.tokens.length;for(e=n=0;e<o;e++)r[e].nesting<0&&i--,r[e].level=i,r[e].nesting>0&&i++,"text"===r[e].type&&e+1<o&&"text"===r[e+1].type?r[e+1].content=r[e].content+r[e+1].content:(e!==n&&(r[n]=r[e]),n++);e!==n&&(r.length=n)}},rnHg:function(t,e,n){"use strict";var i=n("+N5+").assign,r=n("+N5+").unescapeAll,o=n("+N5+").escapeHtml,a={};function s(){this.rules=i({},a)}a.code_inline=function(t,e,n,i,r){var a=t[e];return"<code"+r.renderAttrs(a)+">"+o(a.content)+"</code>"},a.code_block=function(t,e,n,i,r){var a=t[e];return"<pre"+r.renderAttrs(a)+"><code>"+o(t[e].content)+"</code></pre>\n"},a.fence=function(t,e,n,i,a){var s,l,c,u,h,d=t[e],f=d.info?r(d.info).trim():"",p="",A="";return f&&(p=(c=f.split(/(\s+)/g))[0],A=c.slice(2).join("")),0===(s=n.highlight&&n.highlight(d.content,p,A)||o(d.content)).indexOf("<pre")?s+"\n":f?(l=d.attrIndex("class"),u=d.attrs?d.attrs.slice():[],l<0?u.push(["class",n.langPrefix+p]):(u[l]=u[l].slice(),u[l][1]+=" "+n.langPrefix+p),h={attrs:u},"<pre><code"+a.renderAttrs(h)+">"+s+"</code></pre>\n"):"<pre><code"+a.renderAttrs(d)+">"+s+"</code></pre>\n"},a.image=function(t,e,n,i,r){var o=t[e];return o.attrs[o.attrIndex("alt")][1]=r.renderInlineAsText(o.children,n,i),r.renderToken(t,e,n)},a.hardbreak=function(t,e,n){return n.xhtmlOut?"<br />\n":"<br>\n"},a.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},a.text=function(t,e){return o(t[e].content)},a.html_block=function(t,e){return t[e].content},a.html_inline=function(t,e){return t[e].content},s.prototype.renderAttrs=function(t){var e,n,i;if(!t.attrs)return"";for(i="",e=0,n=t.attrs.length;e<n;e++)i+=" "+o(t.attrs[e][0])+'="'+o(t.attrs[e][1])+'"';return i},s.prototype.renderToken=function(t,e,n){var i,r="",o=!1,a=t[e];return a.hidden?"":(a.block&&-1!==a.nesting&&e&&t[e-1].hidden&&(r+="\n"),r+=(-1===a.nesting?"</":"<")+a.tag,r+=this.renderAttrs(a),0===a.nesting&&n.xhtmlOut&&(r+=" /"),a.block&&(o=!0,1===a.nesting&&e+1<t.length&&("inline"===(i=t[e+1]).type||i.hidden?o=!1:-1===i.nesting&&i.tag===a.tag&&(o=!1))),r+=o?">\n":">")},s.prototype.renderInline=function(t,e,n){for(var i,r="",o=this.rules,a=0,s=t.length;a<s;a++)void 0!==o[i=t[a].type]?r+=o[i](t,a,e,n,this):r+=this.renderToken(t,a,e);return r},s.prototype.renderInlineAsText=function(t,e,n){for(var i="",r=0,o=t.length;r<o;r++)"text"===t[r].type?i+=t[r].content:"image"===t[r].type?i+=this.renderInlineAsText(t[r].children,e,n):"softbreak"===t[r].type&&(i+="\n");return i},s.prototype.render=function(t,e,n){var i,r,o,a="",s=this.rules;for(i=0,r=t.length;i<r;i++)"inline"===(o=t[i].type)?a+=this.renderInline(t[i].children,e,n):void 0!==s[o]?a+=s[o](t,i,e,n,this):a+=this.renderToken(t,i,e,n);return a},t.exports=s},ryq5:function(t,e,n){"use strict";var i=n("wzKY").HTML_TAG_RE;t.exports=function(t,e){var n,r,o,a,s,l=t.pos;return!!t.md.options.html&&(o=t.posMax,!(60!==t.src.charCodeAt(l)||l+2>=o)&&(!(33!==(n=t.src.charCodeAt(l+1))&&63!==n&&47!==n&&!function(t){var e=32|t;return e>=97&&e<=122}(n))&&(!!(r=t.src.slice(l).match(i))&&(e||((a=t.push("html_inline","",0)).content=r[0],s=a.content,/^<a[>\s]/i.test(s)&&t.linkLevel++,function(t){return/^<\/a\s*>/i.test(t)}(a.content)&&t.linkLevel--),t.pos+=r[0].length,!0))))}},s3ue:function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=86)}({0:function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(t,e){return l.call(e),u(t,e)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:c}}n.d(e,"a",function(){return i})},4:function(t,e){t.exports=n("fPll")},86:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"el-checkbox-group",attrs:{role:"group","aria-label":"checkbox-group"}},[this._t("default")],2)};i._withStripped=!0;var r=n(4),o={name:"ElCheckboxGroup",componentName:"ElCheckboxGroup",mixins:[n.n(r).a],inject:{elFormItem:{default:""}},props:{value:{},disabled:Boolean,min:Number,max:Number,size:String,fill:String,textColor:String},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},checkboxGroupSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size}},watch:{value:function(t){this.dispatch("ElFormItem","el.form.change",[t])}}},a=n(0),s=Object(a.a)(o,i,[],!1,null,null,null);s.options.__file="packages/checkbox/src/checkbox-group.vue";var l=s.exports;l.install=function(t){t.component(l.name,l)};e.default=l}})},sB3e:function(t,e,n){var i=n("52gC");t.exports=function(t){return Object(i(t))}},sD9O:function(t,e){var n=function(t){return t.replace(/^\s+|\s+$/g,"")};t.exports=function(t){if(!t)return{};for(var e,i={},r=n(t).split("\n"),o=0;o<r.length;o++){var a=r[o],s=a.indexOf(":"),l=n(a.slice(0,s)).toLowerCase(),c=n(a.slice(s+1));void 0===i[l]?i[l]=c:(e=i[l],"[object Array]"===Object.prototype.toString.call(e)?i[l].push(c):i[l]=[i[l],c])}return i}},sIya:function(t,e,n){"use strict";var i=n("881s"),r=n("+N5+").has,o=n("+N5+").isValidEntityCode,a=n("+N5+").fromCodePoint,s=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,l=/^&([a-z][a-z0-9]{1,31});/i;t.exports=function(t,e){var n,c,u,h=t.pos,d=t.posMax;if(38!==t.src.charCodeAt(h))return!1;if(h+1>=d)return!1;if(35===t.src.charCodeAt(h+1)){if(c=t.src.slice(h).match(s))return e||(n="x"===c[1][0].toLowerCase()?parseInt(c[1].slice(1),16):parseInt(c[1],10),(u=t.push("text_special","",0)).content=o(n)?a(n):a(65533),u.markup=c[0],u.info="entity"),t.pos+=c[0].length,!0}else if((c=t.src.slice(h).match(l))&&r(i,c[1]))return e||((u=t.push("text_special","",0)).content=i[c[1]],u.markup=c[0],u.info="entity"),t.pos+=c[0].length,!0;return!1}},sN1u:function(t,e){function n(t){return t.replace(/\n\r?\s*/g,"")}t.exports=function(t){for(var e="",i=0;i<arguments.length;i++)e+=n(t[i])+(arguments[i+1]||"");return e}},sOR5:function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},t4zo:function(t,e,n){(function(n){var i,r,o;r=[],void 0===(o="function"==typeof(i=function(){"use strict";function e(t,e,n){var i=new XMLHttpRequest;i.open("GET",t),i.responseType="blob",i.onload=function(){s(i.response,e,n)},i.onerror=function(){console.error("could not download file")},i.send()}function i(t){var e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch(t){}return 200<=e.status&&299>=e.status}function r(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(n){var e=document.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(e)}}var o="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof n&&n.global===n?n:void 0,a=o.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),s=o.saveAs||("object"!=typeof window||window!==o?function(){}:"download"in HTMLAnchorElement.prototype&&!a?function(t,n,a){var s=o.URL||o.webkitURL,l=document.createElement("a");n=n||t.name||"download",l.download=n,l.rel="noopener","string"==typeof t?(l.href=t,l.origin===location.origin?r(l):i(l.href)?e(t,n,a):r(l,l.target="_blank")):(l.href=s.createObjectURL(t),setTimeout(function(){s.revokeObjectURL(l.href)},4e4),setTimeout(function(){r(l)},0))}:"msSaveOrOpenBlob"in navigator?function(t,n,o){if(n=n||t.name||"download","string"!=typeof t)navigator.msSaveOrOpenBlob(function(t,e){return void 0===e?e={autoBom:!1}:"object"!=typeof e&&(console.warn("Deprecated: Expected third argument to be a object"),e={autoBom:!e}),e.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob(["\ufeff",t],{type:t.type}):t}(t,o),n);else if(i(t))e(t,n,o);else{var a=document.createElement("a");a.href=t,a.target="_blank",setTimeout(function(){r(a)})}}:function(t,n,i,r){if((r=r||open("","_blank"))&&(r.document.title=r.document.body.innerText="downloading..."),"string"==typeof t)return e(t,n,i);var s="application/octet-stream"===t.type,l=/constructor/i.test(o.HTMLElement)||o.safari,c=/CriOS\/[\d]+/.test(navigator.userAgent);if((c||s&&l||a)&&"undefined"!=typeof FileReader){var u=new FileReader;u.onloadend=function(){var t=u.result;t=c?t:t.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=t:location=t,r=null},u.readAsDataURL(t)}else{var h=o.URL||o.webkitURL,d=h.createObjectURL(t);r?r.location=d:location.href=d,r=null,setTimeout(function(){h.revokeObjectURL(d)},4e4)}});o.saveAs=s.saveAs=s,void 0!==t&&(t.exports=s)})?i.apply(e,r):i)||(t.exports=o)}).call(e,n("DuR2"))},t8qj:function(t,e,n){"use strict";t.exports=function(t,e,n,i,r){return t.config=e,n&&(t.code=n),t.request=i,t.response=r,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},t8x9:function(t,e,n){var i=n("77Pl"),r=n("lOnJ"),o=n("dSzd")("species");t.exports=function(t,e){var n,a=i(t).constructor;return void 0===a||void 0==(n=i(a)[o])?e:r(n)}},tBlf:function(t,e,n){"use strict";t.exports=function(t,e,n){var i,r,o,a,s=-1,l=t.posMax,c=t.pos;for(t.pos=e+1,i=1;t.pos<l;){if(93===(o=t.src.charCodeAt(t.pos))&&0===--i){r=!0;break}if(a=t.pos,t.md.inline.skipToken(t),91===o)if(a===t.pos-1)i++;else if(n)return t.pos=c,-1}return r&&(s=t.pos),t.pos=c,s}},tIFN:function(t,e,n){"use strict";var i=n("cGG2"),r=n("JP+z"),o=n("XmWM"),a=n("DUeU");function s(t){var e=new o(t),n=r(o.prototype.request,e);return i.extend(n,o.prototype,e),i.extend(n,e),n}var l=s(n("KCLY"));l.Axios=o,l.create=function(t){return s(a(l.defaults,t))},l.Cancel=n("dVOP"),l.CancelToken=n("cWxy"),l.isCancel=n("pBtG"),l.all=function(t){return Promise.all(t)},l.spread=n("pxG4"),l.isAxiosError=n("SLDG"),t.exports=l,t.exports.default=l},tNJR:function(t,e,n){"use strict";var i=n("+N5+").isSpace;t.exports=function(t,e,n,r){var o,a,s,l,c=t.bMarks[e]+t.tShift[e],u=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;if(42!==(o=t.src.charCodeAt(c++))&&45!==o&&95!==o)return!1;for(a=1;c<u;){if((s=t.src.charCodeAt(c++))!==o&&!i(s))return!1;s===o&&a++}return!(a<3)&&(!!r||(t.line=e+1,(l=t.push("hr","hr",0)).map=[e,t.line],l.markup=Array(a+1).join(String.fromCharCode(o)),!0))}},ttyz:function(t,e,n){"use strict";var i=n("9C8M"),r=n("LIJb");t.exports=n("qo66")("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return i.def(r(this,"Set"),t=0===t?0:t,t)}},i)},u8ag:function(t,e,n){"use strict";var i=n("+N5+").normalizeReference,r=n("+N5+").isSpace;t.exports=function(t,e,n,o){var a,s,l,c,u,h,d,f,p,A,g,v,m,y,b,_,w=0,x=t.bMarks[e]+t.tShift[e],C=t.eMarks[e],S=e+1;if(t.sCount[e]-t.blkIndent>=4)return!1;if(91!==t.src.charCodeAt(x))return!1;for(;++x<C;)if(93===t.src.charCodeAt(x)&&92!==t.src.charCodeAt(x-1)){if(x+1===C)return!1;if(58!==t.src.charCodeAt(x+1))return!1;break}for(c=t.lineMax,b=t.md.block.ruler.getRules("reference"),A=t.parentType,t.parentType="reference";S<c&&!t.isEmpty(S);S++)if(!(t.sCount[S]-t.blkIndent>3||t.sCount[S]<0)){for(y=!1,h=0,d=b.length;h<d;h++)if(b[h](t,S,c,!0)){y=!0;break}if(y)break}for(C=(m=t.getLines(e,S,t.blkIndent,!1).trim()).length,x=1;x<C;x++){if(91===(a=m.charCodeAt(x)))return!1;if(93===a){p=x;break}10===a?w++:92===a&&++x<C&&10===m.charCodeAt(x)&&w++}if(p<0||58!==m.charCodeAt(p+1))return!1;for(x=p+2;x<C;x++)if(10===(a=m.charCodeAt(x)))w++;else if(!r(a))break;if(!(g=t.md.helpers.parseLinkDestination(m,x,C)).ok)return!1;if(u=t.md.normalizeLink(g.str),!t.md.validateLink(u))return!1;for(s=x=g.pos,l=w+=g.lines,v=x;x<C;x++)if(10===(a=m.charCodeAt(x)))w++;else if(!r(a))break;for(g=t.md.helpers.parseLinkTitle(m,x,C),x<C&&v!==x&&g.ok?(_=g.str,x=g.pos,w+=g.lines):(_="",x=s,w=l);x<C&&(a=m.charCodeAt(x),r(a));)x++;if(x<C&&10!==m.charCodeAt(x)&&_)for(_="",x=s,w=l;x<C&&(a=m.charCodeAt(x),r(a));)x++;return!(x<C&&10!==m.charCodeAt(x))&&(!!(f=i(m.slice(1,p)))&&(!!o||(void 0===t.env.references&&(t.env.references={}),void 0===t.env.references[f]&&(t.env.references[f]={title:_,href:u}),t.parentType=A,t.line=e+w+1,!0)))}},uY1a:function(t,e){t.exports=function(t,e,n,i){var r,o=0;return"boolean"!=typeof e&&(i=n,n=e,e=void 0),function(){var a=this,s=Number(new Date)-o,l=arguments;function c(){o=Number(new Date),n.apply(a,l)}i&&!r&&c(),r&&clearTimeout(r),void 0===i&&s>t?c():!0!==e&&(r=setTimeout(i?function(){r=void 0}:c,void 0===i?t-s:t))}}},uiO5:function(t,e,n){"use strict";t.exports=function(t){var e,n,i,r=t.tokens;for(n=0,i=r.length;n<i;n++)"inline"===(e=r[n]).type&&t.md.inline.parse(e.content,t.md,t.env,e.children)}},ujcs:function(t,e){
  149. /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
  150. e.read=function(t,e,n,i,r){var o,a,s=8*r-i-1,l=(1<<s)-1,c=l>>1,u=-7,h=n?r-1:0,d=n?-1:1,f=t[e+h];for(h+=d,o=f&(1<<-u)-1,f>>=-u,u+=s;u>0;o=256*o+t[e+h],h+=d,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=i;u>0;a=256*a+t[e+h],h+=d,u-=8);if(0===o)o=1-c;else{if(o===l)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,i),o-=c}return(f?-1:1)*a*Math.pow(2,o-i)},e.write=function(t,e,n,i,r,o){var a,s,l,c=8*o-r-1,u=(1<<c)-1,h=u>>1,d=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,f=i?0:o-1,p=i?1:-1,A=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=u):(a=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-a))<1&&(a--,l*=2),(e+=a+h>=1?d/l:d*Math.pow(2,1-h))*l>=2&&(a++,l/=2),a+h>=u?(s=0,a=u):a+h>=1?(s=(e*l-1)*Math.pow(2,r),a+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,r),a=0));r>=8;t[n+f]=255&s,f+=p,s/=256,r-=8);for(a=a<<r|s,c+=r;c>0;t[n+f]=255&a,f+=p,a/=256,c-=8);t[n+f-p]|=128*A}},ujtc:function(t,e,n){"use strict";var i=n("+N5+").unescapeAll;t.exports=function(t,e,n){var r,o,a=e,s={ok:!1,pos:0,lines:0,str:""};if(60===t.charCodeAt(a)){for(a++;a<n;){if(10===(r=t.charCodeAt(a)))return s;if(60===r)return s;if(62===r)return s.pos=a+1,s.str=i(t.slice(e+1,a)),s.ok=!0,s;92===r&&a+1<n?a+=2:a++}return s}for(o=0;a<n&&32!==(r=t.charCodeAt(a))&&!(r<32||127===r);)if(92===r&&a+1<n){if(32===t.charCodeAt(a+1))break;a+=2}else{if(40===r&&++o>32)return s;if(41===r){if(0===o)break;o--}a++}return e===a?s:0!==o?s:(s.str=i(t.slice(e,a)),s.pos=a,s.ok=!0,s)}},ukGi:function(t,e,n){"use strict";var i=n("+N5+"),r=n("CzOf"),o=n("rnHg"),a=n("MHwQ"),s=n("SFHI"),l=n("9v3E"),c=n("v+HC"),u=n("HxqY"),h=n("xCWu"),d={default:n("eHQZ"),zero:n("oQJ3"),commonmark:n("TMZu")},f=/^(vbscript|javascript|file|data):/,p=/^data:image\/(gif|png|jpeg|webp);/;function A(t){var e=t.trim().toLowerCase();return!f.test(e)||!!p.test(e)}var g=["http:","https:","mailto:"];function v(t){var e=u.parse(t,!0);if(e.hostname&&(!e.protocol||g.indexOf(e.protocol)>=0))try{e.hostname=h.toASCII(e.hostname)}catch(t){}return u.encode(u.format(e))}function m(t){var e=u.parse(t,!0);if(e.hostname&&(!e.protocol||g.indexOf(e.protocol)>=0))try{e.hostname=h.toUnicode(e.hostname)}catch(t){}return u.decode(u.format(e),u.decode.defaultChars+"%")}function y(t,e){if(!(this instanceof y))return new y(t,e);e||i.isString(t)||(e=t||{},t="default"),this.inline=new l,this.block=new s,this.core=new a,this.renderer=new o,this.linkify=new c,this.validateLink=A,this.normalizeLink=v,this.normalizeLinkText=m,this.utils=i,this.helpers=i.assign({},r),this.options={},this.configure(t),e&&this.set(e)}y.prototype.set=function(t){return i.assign(this.options,t),this},y.prototype.configure=function(t){var e,n=this;if(i.isString(t)&&!(t=d[e=t]))throw new Error('Wrong `markdown-it` preset "'+e+'", check name');if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&n.set(t.options),t.components&&Object.keys(t.components).forEach(function(e){t.components[e].rules&&n[e].ruler.enableOnly(t.components[e].rules),t.components[e].rules2&&n[e].ruler2.enableOnly(t.components[e].rules2)}),this},y.prototype.enable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(e){n=n.concat(this[e].ruler.enable(t,!0))},this),n=n.concat(this.inline.ruler2.enable(t,!0));var i=t.filter(function(t){return n.indexOf(t)<0});if(i.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+i);return this},y.prototype.disable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(e){n=n.concat(this[e].ruler.disable(t,!0))},this),n=n.concat(this.inline.ruler2.disable(t,!0));var i=t.filter(function(t){return n.indexOf(t)<0});if(i.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+i);return this},y.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this},y.prototype.parse=function(t,e){if("string"!=typeof t)throw new Error("Input data should be a String");var n=new this.core.State(t,this,e);return this.core.process(n),n.tokens},y.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)},y.prototype.parseInline=function(t,e){var n=new this.core.State(t,this,e);return n.inlineMode=!0,this.core.process(n),n.tokens},y.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)},t.exports=y},uqUo:function(t,e,n){var i=n("kM2E"),r=n("FeBl"),o=n("S82l");t.exports=function(t,e){var n=(r.Object||{})[t]||Object[t],a={};a[t]=e(n),i(i.S+i.F*o(function(){n(1)}),"Object",a)}},urW8:function(t,e,n){"use strict";e.__esModule=!0,e.i18n=e.use=e.t=void 0;var i=a(n("Vi3T")),r=a(n("7+uW")),o=a(n("i3rX"));function a(t){return t&&t.__esModule?t:{default:t}}var s=(0,a(n("SvnF")).default)(r.default),l=i.default,c=!1,u=function(){var t=Object.getPrototypeOf(this||r.default).$t;if("function"==typeof t&&r.default.locale)return c||(c=!0,r.default.locale(r.default.config.lang,(0,o.default)(l,r.default.locale(r.default.config.lang)||{},{clone:!0}))),t.apply(this,arguments)},h=e.t=function(t,e){var n=u.apply(this,arguments);if(null!==n&&void 0!==n)return n;for(var i=t.split("."),r=l,o=0,a=i.length;o<a;o++){if(n=r[i[o]],o===a-1)return s(n,e);if(!n)return"";r=n}return""},d=e.use=function(t){l=t||l},f=e.i18n=function(t){u=t||u};e.default={use:d,t:h,i18n:f}},"us/S":function(t,e,n){t.exports={default:n("Xd32"),__esModule:!0}},"v+HC":function(t,e,n){"use strict";function i(t){return Array.prototype.slice.call(arguments,1).forEach(function(e){e&&Object.keys(e).forEach(function(n){t[n]=e[n]})}),t}function r(t){return Object.prototype.toString.call(t)}function o(t){return"[object Function]"===r(t)}function a(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var s={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var l={"http:":{validate:function(t,e,n){var i=t.slice(e);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(i)?i.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,n){var i=t.slice(e);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(i)?e>=3&&":"===t[e-3]?0:e>=3&&"/"===t[e-3]?0:i.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,n){var i=t.slice(e);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(i)?i.match(n.re.mailto)[0].length:0}}},c="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",u="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function h(t){var e=t.re=n("CoRl")(t.__opts__),i=t.__tlds__.slice();function s(t){return t.replace("%TLDS%",e.src_tlds)}t.onCompile(),t.__tlds_replaced__||i.push(c),i.push(e.src_xn),e.src_tlds=i.join("|"),e.email_fuzzy=RegExp(s(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(s(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(s(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(s(e.tpl_host_fuzzy_test),"i");var l=[];function u(t,e){throw new Error('(LinkifyIt) Invalid schema "'+t+'": '+e)}t.__compiled__={},Object.keys(t.__schemas__).forEach(function(e){var n=t.__schemas__[e];if(null!==n){var i,a={validate:null,link:null};if(t.__compiled__[e]=a,"[object Object]"===r(n))return!function(t){return"[object RegExp]"===r(t)}(n.validate)?o(n.validate)?a.validate=n.validate:u(e,n):a.validate=(i=n.validate,function(t,e){var n=t.slice(e);return i.test(n)?n.match(i)[0].length:0}),void(o(n.normalize)?a.normalize=n.normalize:n.normalize?u(e,n):a.normalize=function(t,e){e.normalize(t)});!function(t){return"[object String]"===r(t)}(n)?u(e,n):l.push(e)}}),l.forEach(function(e){t.__compiled__[t.__schemas__[e]]&&(t.__compiled__[e].validate=t.__compiled__[t.__schemas__[e]].validate,t.__compiled__[e].normalize=t.__compiled__[t.__schemas__[e]].normalize)}),t.__compiled__[""]={validate:null,normalize:function(t,e){e.normalize(t)}};var h=Object.keys(t.__compiled__).filter(function(e){return e.length>0&&t.__compiled__[e]}).map(a).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+h+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+h+")","ig"),t.re.schema_at_start=RegExp("^"+t.re.schema_search.source,"i"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),function(t){t.__index__=-1,t.__text_cache__=""}(t)}function d(t,e){var n=new function(t,e){var n=t.__index__,i=t.__last_index__,r=t.__text_cache__.slice(n,i);this.schema=t.__schema__.toLowerCase(),this.index=n+e,this.lastIndex=i+e,this.raw=r,this.text=r,this.url=r}(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function f(t,e){if(!(this instanceof f))return new f(t,e);var n;e||(n=t,Object.keys(n||{}).reduce(function(t,e){return t||s.hasOwnProperty(e)},!1)&&(e=t,t={})),this.__opts__=i({},s,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=i({},l,t),this.__compiled__={},this.__tlds__=u,this.__tlds_replaced__=!1,this.re={},h(this)}f.prototype.add=function(t,e){return this.__schemas__[t]=e,h(this),this},f.prototype.set=function(t){return this.__opts__=i(this.__opts__,t),this},f.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;var e,n,i,r,o,a,s,l;if(this.re.schema_test.test(t))for((s=this.re.schema_search).lastIndex=0;null!==(e=s.exec(t));)if(r=this.testSchemaAt(t,e[2],s.lastIndex)){this.__schema__=e[2],this.__index__=e.index+e[1].length,this.__last_index__=e.index+e[0].length+r;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=t.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l<this.__index__)&&null!==(n=t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(o=n.index+n[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&t.indexOf("@")>=0&&null!==(i=t.match(this.re.email_fuzzy))&&(o=i.index+i[1].length,a=i.index+i[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=a)),this.__index__>=0},f.prototype.pretest=function(t){return this.re.pretest.test(t)},f.prototype.testSchemaAt=function(t,e,n){return this.__compiled__[e.toLowerCase()]?this.__compiled__[e.toLowerCase()].validate(t,n,this):0},f.prototype.match=function(t){var e=0,n=[];this.__index__>=0&&this.__text_cache__===t&&(n.push(d(this,e)),e=this.__last_index__);for(var i=e?t.slice(e):t;this.test(i);)n.push(d(this,e)),i=i.slice(this.__last_index__),e+=this.__last_index__;return n.length?n:null},f.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;var e=this.re.schema_at_start.exec(t);if(!e)return null;var n=this.testSchemaAt(t,e[2],e[0].length);return n?(this.__schema__=e[2],this.__index__=e.index+e[1].length,this.__last_index__=e.index+e[0].length+n,d(this,0)):null},f.prototype.tlds=function(t,e){return t=Array.isArray(t)?t:[t],e?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(t,e,n){return t!==n[e-1]}).reverse(),h(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,h(this),this)},f.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),"mailto:"!==t.schema||/^mailto:/i.test(t.url)||(t.url="mailto:"+t.url)},f.prototype.onCompile=function(){},t.exports=f},"vFc/":function(t,e,n){var i=n("TcQ7"),r=n("QRG4"),o=n("fkB2");t.exports=function(t){return function(e,n,a){var s,l=i(e),c=r(l.length),u=o(a,c);if(t&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((t||u in l)&&l[u]===n)return t||u||0;return!t&&-1}}},"vIB/":function(t,e,n){"use strict";var i=n("O4g8"),r=n("kM2E"),o=n("880/"),a=n("hJx8"),s=n("/bQp"),l=n("94VQ"),c=n("e6n0"),u=n("PzxK"),h=n("dSzd")("iterator"),d=!([].keys&&"next"in[].keys()),f=function(){return this};t.exports=function(t,e,n,p,A,g,v){l(n,e,p);var m,y,b,_=function(t){if(!d&&t in S)return S[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},w=e+" Iterator",x="values"==A,C=!1,S=t.prototype,B=S[h]||S["@@iterator"]||A&&S[A],k=B||_(A),T=A?x?_("entries"):k:void 0,O="Array"==e&&S.entries||B;if(O&&(b=u(O.call(new t)))!==Object.prototype&&b.next&&(c(b,w,!0),i||"function"==typeof b[h]||a(b,h,f)),x&&B&&"values"!==B.name&&(C=!0,k=function(){return B.call(this)}),i&&!v||!d&&!C&&S[h]||a(S,h,k),s[e]=k,s[w]=f,A)if(m={values:x?k:_("values"),keys:g?k:_("keys"),entries:T},v)for(y in m)y in S||o(S,y,m[y]);else r(r.P+r.F*(d||C),e,m);return m}},woOf:function(t,e,n){t.exports={default:n("V3tA"),__esModule:!0}},wzKY:function(t,e,n){"use strict";var i="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",r="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",o=new RegExp("^(?:"+i+"|"+r+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?][\\s\\S]*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),a=new RegExp("^(?:"+i+"|"+r+")");t.exports.HTML_TAG_RE=o,t.exports.HTML_OPEN_CLOSE_TAG_RE=a},xCWu:function(t,e,n){(function(t,i){var r;/*! https://mths.be/punycode v1.4.1 by @mathias */!function(o){"object"==typeof e&&e&&e.nodeType,"object"==typeof t&&t&&t.nodeType;var a="object"==typeof i&&i;a.global!==a&&a.window!==a&&a.self;var s,l=2147483647,c=36,u=1,h=26,d=38,f=700,p=72,A=128,g="-",v=/^xn--/,m=/[^\x20-\x7E]/,y=/[\x2E\u3002\uFF0E\uFF61]/g,b={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},_=c-u,w=Math.floor,x=String.fromCharCode;function C(t){throw new RangeError(b[t])}function S(t,e){for(var n=t.length,i=[];n--;)i[n]=e(t[n]);return i}function B(t,e){var n=t.split("@"),i="";return n.length>1&&(i=n[0]+"@",t=n[1]),i+S((t=t.replace(y,".")).split("."),e).join(".")}function k(t){for(var e,n,i=[],r=0,o=t.length;r<o;)(e=t.charCodeAt(r++))>=55296&&e<=56319&&r<o?56320==(64512&(n=t.charCodeAt(r++)))?i.push(((1023&e)<<10)+(1023&n)+65536):(i.push(e),r--):i.push(e);return i}function T(t){return S(t,function(t){var e="";return t>65535&&(e+=x((t-=65536)>>>10&1023|55296),t=56320|1023&t),e+=x(t)}).join("")}function O(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function E(t,e,n){var i=0;for(t=n?w(t/f):t>>1,t+=w(t/e);t>_*h>>1;i+=c)t=w(t/_);return w(i+(_+1)*t/(t+d))}function I(t){var e,n,i,r,o,a,s,d,f,v,m,y=[],b=t.length,_=0,x=A,S=p;for((n=t.lastIndexOf(g))<0&&(n=0),i=0;i<n;++i)t.charCodeAt(i)>=128&&C("not-basic"),y.push(t.charCodeAt(i));for(r=n>0?n+1:0;r<b;){for(o=_,a=1,s=c;r>=b&&C("invalid-input"),((d=(m=t.charCodeAt(r++))-48<10?m-22:m-65<26?m-65:m-97<26?m-97:c)>=c||d>w((l-_)/a))&&C("overflow"),_+=d*a,!(d<(f=s<=S?u:s>=S+h?h:s-S));s+=c)a>w(l/(v=c-f))&&C("overflow"),a*=v;S=E(_-o,e=y.length+1,0==o),w(_/e)>l-x&&C("overflow"),x+=w(_/e),_%=e,y.splice(_++,0,x)}return T(y)}function M(t){var e,n,i,r,o,a,s,d,f,v,m,y,b,_,S,B=[];for(y=(t=k(t)).length,e=A,n=0,o=p,a=0;a<y;++a)(m=t[a])<128&&B.push(x(m));for(i=r=B.length,r&&B.push(g);i<y;){for(s=l,a=0;a<y;++a)(m=t[a])>=e&&m<s&&(s=m);for(s-e>w((l-n)/(b=i+1))&&C("overflow"),n+=(s-e)*b,e=s,a=0;a<y;++a)if((m=t[a])<e&&++n>l&&C("overflow"),m==e){for(d=n,f=c;!(d<(v=f<=o?u:f>=o+h?h:f-o));f+=c)S=d-v,_=c-v,B.push(x(O(v+S%_,0))),d=w(S/_);B.push(x(O(d,0))),o=E(n,b,i==r),n=0,++i}++n,++e}return B.join("")}s={version:"1.4.1",ucs2:{decode:k,encode:T},decode:I,encode:M,toASCII:function(t){return B(t,function(t){return m.test(t)?"xn--"+M(t):t})},toUnicode:function(t){return B(t,function(t){return v.test(t)?I(t.slice(4).toLowerCase()):t})}},void 0===(r=function(){return s}.call(e,n,e,t))||(t.exports=r)}()}).call(e,n("3IRH")(t),n("DuR2"))},xGkn:function(t,e,n){"use strict";var i=n("4mcu"),r=n("EGZi"),o=n("/bQp"),a=n("TcQ7");t.exports=n("vIB/")(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,r(1)):r(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},"xH/j":function(t,e,n){var i=n("hJx8");t.exports=function(t,e,n){for(var r in e)n&&t[r]?t[r]=e[r]:i(t,r,e[r]);return t}},xLtR:function(t,e,n){"use strict";var i=n("cGG2"),r=n("TNV1"),o=n("pBtG"),a=n("KCLY");function s(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return s(t),t.headers=t.headers||{},t.data=r(t.data,t.headers,t.transformRequest),t.headers=i.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),i.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]}),(t.adapter||a.adapter)(t).then(function(e){return s(t),e.data=r(e.data,e.headers,t.transformResponse),e},function(e){return o(e)||(s(t),e&&e.response&&(e.response.data=r(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},xnc9:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},xyVx:function(t,e,n){"use strict";t.exports=function(t,e,n){var i,r,o,a,s,l,c,u,h,d,f=e+1,p=t.md.block.ruler.getRules("paragraph");if(t.sCount[e]-t.blkIndent>=4)return!1;for(d=t.parentType,t.parentType="paragraph";f<n&&!t.isEmpty(f);f++)if(!(t.sCount[f]-t.blkIndent>3)){if(t.sCount[f]>=t.blkIndent&&(l=t.bMarks[f]+t.tShift[f])<(c=t.eMarks[f])&&(45===(h=t.src.charCodeAt(l))||61===h)&&(l=t.skipChars(l,h),(l=t.skipSpaces(l))>=c)){u=61===h?1:2;break}if(!(t.sCount[f]<0)){for(r=!1,o=0,a=p.length;o<a;o++)if(p[o](t,f,n,!0)){r=!0;break}if(r)break}}return!!u&&(i=t.getLines(e,f,t.blkIndent,!1).trim(),t.line=f+1,(s=t.push("heading_open","h"+String(u),1)).markup=String.fromCharCode(h),s.map=[e,t.line],(s=t.push("inline","",0)).content=i,s.map=[e,t.line-1],s.children=[],(s=t.push("heading_close","h"+String(u),-1)).markup=String.fromCharCode(h),t.parentType=d,!0)}},"y+7x":function(t,e,n){"use strict";e.__esModule=!0;var i=n("urW8");e.default={methods:{t:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return i.t.apply(this,e)}}}},ylDJ:function(t,e,n){"use strict";e.__esModule=!0,e.isEmpty=e.isEqual=e.arrayEquals=e.looseEqual=e.capitalize=e.kebabCase=e.autoprefixer=e.isFirefox=e.isEdge=e.isIE=e.coerceTruthyValueToArray=e.arrayFind=e.arrayFindIndex=e.escapeRegexpString=e.valueEquals=e.generateId=e.getValueByPath=void 0;var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.noop=function(){},e.hasOwn=function(t,e){return l.call(t,e)},e.toObject=function(t){for(var e={},n=0;n<t.length;n++)t[n]&&c(e,t[n]);return e},e.getPropByPath=function(t,e,n){for(var i=t,r=(e=(e=e.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split("."),o=0,a=r.length;o<a-1&&(i||n);++o){var s=r[o];if(!(s in i)){if(n)throw new Error("please transfer a valid prop path to form item!");break}i=i[s]}return{o:i,k:r[o],v:i?i[r[o]]:null}},e.rafThrottle=function(t){var e=!1;return function(){for(var n=this,i=arguments.length,r=Array(i),o=0;o<i;o++)r[o]=arguments[o];e||(e=!0,window.requestAnimationFrame(function(i){t.apply(n,r),e=!1}))}},e.objToArray=function(t){if(Array.isArray(t))return t;return f(t)?[]:[t]};var r,o=n("7+uW"),a=(r=o)&&r.__esModule?r:{default:r},s=n("835U");var l=Object.prototype.hasOwnProperty;function c(t,e){for(var n in e)t[n]=e[n];return t}e.getValueByPath=function(t,e){for(var n=(e=e||"").split("."),i=t,r=null,o=0,a=n.length;o<a;o++){var s=n[o];if(!i)break;if(o===a-1){r=i[s];break}i=i[s]}return r};e.generateId=function(){return Math.floor(1e4*Math.random())},e.valueEquals=function(t,e){if(t===e)return!0;if(!(t instanceof Array))return!1;if(!(e instanceof Array))return!1;if(t.length!==e.length)return!1;for(var n=0;n!==t.length;++n)if(t[n]!==e[n])return!1;return!0},e.escapeRegexpString=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return String(t).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")};var u=e.arrayFindIndex=function(t,e){for(var n=0;n!==t.length;++n)if(e(t[n]))return n;return-1},h=(e.arrayFind=function(t,e){var n=u(t,e);return-1!==n?t[n]:void 0},e.coerceTruthyValueToArray=function(t){return Array.isArray(t)?t:t?[t]:[]},e.isIE=function(){return!a.default.prototype.$isServer&&!isNaN(Number(document.documentMode))},e.isEdge=function(){return!a.default.prototype.$isServer&&navigator.userAgent.indexOf("Edge")>-1},e.isFirefox=function(){return!a.default.prototype.$isServer&&!!window.navigator.userAgent.match(/firefox/i)},e.autoprefixer=function(t){if("object"!==(void 0===t?"undefined":i(t)))return t;var e=["ms-","webkit-"];return["transform","transition","animation"].forEach(function(n){var i=t[n];n&&i&&e.forEach(function(e){t[e+n]=i})}),t},e.kebabCase=function(t){var e=/([^-])([A-Z])/g;return t.replace(e,"$1-$2").replace(e,"$1-$2").toLowerCase()},e.capitalize=function(t){return(0,s.isString)(t)?t.charAt(0).toUpperCase()+t.slice(1):t},e.looseEqual=function(t,e){var n=(0,s.isObject)(t),i=(0,s.isObject)(e);return n&&i?JSON.stringify(t)===JSON.stringify(e):!n&&!i&&String(t)===String(e)}),d=e.arrayEquals=function(t,e){if(t=t||[],e=e||[],t.length!==e.length)return!1;for(var n=0;n<t.length;n++)if(!h(t[n],e[n]))return!1;return!0},f=(e.isEqual=function(t,e){return Array.isArray(t)&&Array.isArray(e)?d(t,e):h(t,e)},e.isEmpty=function(t){if(null==t)return!0;if("boolean"==typeof t)return!1;if("number"==typeof t)return!t;if(t instanceof Error)return""===t.message;switch(Object.prototype.toString.call(t)){case"[object String]":case"[object Array]":return!t.length;case"[object File]":case"[object Map]":case"[object Set]":return!t.size;case"[object Object]":return!Object.keys(t).length}return!1})},"z+gd":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){var n=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var n=-1;return t.some(function(t,i){return t[0]===e&&(n=i,!0)}),n}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var n=t(this.__entries__,e),i=this.__entries__[n];return i&&i[1]},e.prototype.set=function(e,n){var i=t(this.__entries__,e);~i?this.__entries__[i][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,i=t(n,e);~i&&n.splice(i,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,i=this.__entries__;n<i.length;n++){var r=i[n];t.call(e,r[1],r[0])}},e}()}(),i="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,r=void 0!==t&&t.Math===Math?t:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),o="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(r):function(t){return setTimeout(function(){return t(Date.now())},1e3/60)},a=2;var s=20,l=["top","right","bottom","left","width","height","size","weight"],c="undefined"!=typeof MutationObserver,u=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var n=!1,i=!1,r=0;function s(){n&&(n=!1,t()),i&&c()}function l(){o(s)}function c(){var t=Date.now();if(n){if(t-r<a)return;i=!0}else n=!0,i=!1,setTimeout(l,e);r=t}return c}(this.refresh.bind(this),s)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter(function(t){return t.gatherActive(),t.hasActive()});return t.forEach(function(t){return t.broadcastActive()}),t.length>0},t.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e;l.some(function(t){return!!~n.indexOf(t)})&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),h=function(t,e){for(var n=0,i=Object.keys(e);n<i.length;n++){var r=i[n];Object.defineProperty(t,r,{value:e[r],enumerable:!1,writable:!1,configurable:!0})}return t},d=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||r},f=y(0,0,0,0);function p(t){return parseFloat(t)||0}function A(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce(function(e,n){return e+p(t["border-"+n+"-width"])},0)}function g(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return f;var i=d(t).getComputedStyle(t),r=function(t){for(var e={},n=0,i=["top","right","bottom","left"];n<i.length;n++){var r=i[n],o=t["padding-"+r];e[r]=p(o)}return e}(i),o=r.left+r.right,a=r.top+r.bottom,s=p(i.width),l=p(i.height);if("border-box"===i.boxSizing&&(Math.round(s+o)!==e&&(s-=A(i,"left","right")+o),Math.round(l+a)!==n&&(l-=A(i,"top","bottom")+a)),!function(t){return t===d(t).document.documentElement}(t)){var c=Math.round(s+o)-e,u=Math.round(l+a)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(u)&&(l-=u)}return y(r.left,r.top,s,l)}var v="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof d(t).SVGGraphicsElement}:function(t){return t instanceof d(t).SVGElement&&"function"==typeof t.getBBox};function m(t){return i?v(t)?function(t){var e=t.getBBox();return y(0,0,e.width,e.height)}(t):g(t):f}function y(t,e,n,i){return{x:t,y:e,width:n,height:i}}var b=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=y(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=m(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),_=function(){return function(t,e){var n,i,r,o,a,s,l,c=(i=(n=e).x,r=n.y,o=n.width,a=n.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,l=Object.create(s.prototype),h(l,{x:i,y:r,width:o,height:a,top:r,right:i+o,bottom:a+r,left:i}),l);h(this,{target:t,contentRect:c})}}(),w=function(){function t(t,e,i){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=i}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof d(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new b(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof d(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(e){e.isActive()&&t.activeObservations_.push(e)})},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map(function(t){return new _(t.target,t.broadcastRect())});this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),x="undefined"!=typeof WeakMap?new WeakMap:new n,C=function(){return function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=u.getInstance(),i=new w(e,n,this);x.set(this,i)}}();["observe","unobserve","disconnect"].forEach(function(t){C.prototype[t]=function(){var e;return(e=x.get(this))[t].apply(e,arguments)}});var S=void 0!==r.ResizeObserver?r.ResizeObserver:C;e.default=S}.call(e,n("DuR2"))},z7gM:function(t,e,n){"use strict";for(var i=n("+N5+").isSpace,r=[],o=0;o<256;o++)r.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(t){r[t.charCodeAt(0)]=1}),t.exports=function(t,e){var n,o,a,s,l,c=t.pos,u=t.posMax;if(92!==t.src.charCodeAt(c))return!1;if(++c>=u)return!1;if(10===(n=t.src.charCodeAt(c))){for(e||t.push("hardbreak","br",0),c++;c<u&&(n=t.src.charCodeAt(c),i(n));)c++;return t.pos=c,!0}return s=t.src[c],n>=55296&&n<=56319&&c+1<u&&(o=t.src.charCodeAt(c+1))>=56320&&o<=57343&&(s+=t.src[c+1],c++),a="\\"+s,e||(l=t.push("text_special","",0),n<256&&0!==r[n]?l.content=s:l.content=a,l.markup=a,l.info="escape"),t.pos=c+1,!0}},"zAL+":function(t,e){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=99)}({0:function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(t,e){return l.call(e),u(t,e)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:c}}n.d(e,"a",function(){return i})},99:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"el-button-group"},[this._t("default")],2)};i._withStripped=!0;var r={name:"ElButtonGroup"},o=n(0),a=Object(o.a)(r,i,[],!1,null,null,null);a.options.__file="packages/button/src/button-group.vue";var s=a.exports;s.install=function(t){t.component(s.name,s)};e.default=s}})},zL8q:function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=45)}([function(t,e){t.exports=n("AMCD")},function(t,e){t.exports=n("2kvA")},function(t,e){t.exports=n("ylDJ")},function(t,e){t.exports=n("fPll")},function(t,e){t.exports=n("y+7x")},function(t,e){t.exports=n("fKx3")},function(t,e){t.exports=n("7+uW")},function(t,e){t.exports=n("jmaC")},function(t,e){t.exports=n("HJMx")},function(t,e){t.exports=n("aW5l")},function(t,e){t.exports=n("ISYW")},function(t,e){t.exports=n("mtrD")},function(t,e){t.exports=n("02w1")},function(t,e){t.exports=n("7J9s")},function(t,e){t.exports=n("ON3O")},function(t,e){t.exports=n("urW8")},function(t,e){t.exports=n("EKTV")},function(t,e){t.exports=n("fEB+")},function(t,e){t.exports=n("835U")},function(t,e){t.exports=n("E/in")},function(t,e){t.exports=n("eNfa")},function(t,e){t.exports=n("Zcwg")},function(t,e){t.exports=n("1oZe")},function(t,e){t.exports=n("fUqW")},function(t,e){t.exports=n("nvbp")},function(t,e){t.exports=n("uY1a")},function(t,e){t.exports=n("aMwW")},function(t,e){t.exports=n("zTCi")},function(t,e){t.exports=n("zAL+")},function(t,e){t.exports=n("orbS")},function(t,e){t.exports=n("6Twh")},function(t,e){t.exports=n("s3ue")},function(t,e){t.exports=n("H8dH")},function(t,e){t.exports=n("GegP")},function(t,e){t.exports=n("hyEB")},function(t,e){t.exports=n("HzcN")},function(t,e){t.exports=n("e0Bm")},function(t,e){t.exports=n("STLj")},function(t,e){t.exports=n("3fo+")},function(t,e){t.exports=n("DQJY")},function(t,e){t.exports=n("jwfv")},function(t,e){t.exports=n("0kY3")},function(t,e){t.exports=n("kNJA")},function(t,e){t.exports=n("RDoK")},function(t,e){t.exports=n("SXzR")},function(t,e,n){t.exports=n(46)},function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ul",{staticClass:"el-pager",on:{click:t.onPagerClick}},[t.pageCount>0?n("li",{staticClass:"number",class:{active:1===t.currentPage,disabled:t.disabled}},[t._v("1")]):t._e(),t.showPrevMore?n("li",{staticClass:"el-icon more btn-quickprev",class:[t.quickprevIconClass,{disabled:t.disabled}],on:{mouseenter:function(e){t.onMouseenter("left")},mouseleave:function(e){t.quickprevIconClass="el-icon-more"}}}):t._e(),t._l(t.pagers,function(e){return n("li",{key:e,staticClass:"number",class:{active:t.currentPage===e,disabled:t.disabled}},[t._v(t._s(e))])}),t.showNextMore?n("li",{staticClass:"el-icon more btn-quicknext",class:[t.quicknextIconClass,{disabled:t.disabled}],on:{mouseenter:function(e){t.onMouseenter("right")},mouseleave:function(e){t.quicknextIconClass="el-icon-more"}}}):t._e(),t.pageCount>1?n("li",{staticClass:"number",class:{active:t.currentPage===t.pageCount,disabled:t.disabled}},[t._v(t._s(t.pageCount))]):t._e()],2)};function r(t,e,n,i,r,o,a,s){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(t,e){return l.call(e),u(t,e)}}else{var h=c.beforeCreate;c.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:c}}i._withStripped=!0;var o=r({name:"ElPager",props:{currentPage:Number,pageCount:Number,pagerCount:Number,disabled:Boolean},watch:{showPrevMore:function(t){t||(this.quickprevIconClass="el-icon-more")},showNextMore:function(t){t||(this.quicknextIconClass="el-icon-more")}},methods:{onPagerClick:function(t){var e=t.target;if("UL"!==e.tagName&&!this.disabled){var n=Number(t.target.textContent),i=this.pageCount,r=this.currentPage,o=this.pagerCount-2;-1!==e.className.indexOf("more")&&(-1!==e.className.indexOf("quickprev")?n=r-o:-1!==e.className.indexOf("quicknext")&&(n=r+o)),isNaN(n)||(n<1&&(n=1),n>i&&(n=i)),n!==r&&this.$emit("change",n)}},onMouseenter:function(t){this.disabled||("left"===t?this.quickprevIconClass="el-icon-d-arrow-left":this.quicknextIconClass="el-icon-d-arrow-right")}},computed:{pagers:function(){var t=this.pagerCount,e=(t-1)/2,n=Number(this.currentPage),i=Number(this.pageCount),r=!1,o=!1;i>t&&(n>t-e&&(r=!0),n<i-e&&(o=!0));var a=[];if(r&&!o)for(var s=i-(t-2);s<i;s++)a.push(s);else if(!r&&o)for(var l=2;l<t;l++)a.push(l);else if(r&&o)for(var c=Math.floor(t/2)-1,u=n-c;u<=n+c;u++)a.push(u);else for(var h=2;h<i;h++)a.push(h);return this.showPrevMore=r,this.showNextMore=o,a}},data:function(){return{current:null,showPrevMore:!1,showNextMore:!1,quicknextIconClass:"el-icon-more",quickprevIconClass:"el-icon-more"}}},i,[],!1,null,null,null);o.options.__file="packages/pagination/src/pager.vue";var a=o.exports,s=n(36),l=n.n(s),c=n(37),u=n.n(c),h=n(8),d=n.n(h),f=n(4),p=n.n(f),A=n(2),g={name:"ElPagination",props:{pageSize:{type:Number,default:10},small:Boolean,total:Number,pageCount:Number,pagerCount:{type:Number,validator:function(t){return(0|t)===t&&t>4&&t<22&&t%2==1},default:7},currentPage:{type:Number,default:1},layout:{default:"prev, pager, next, jumper, ->, total"},pageSizes:{type:Array,default:function(){return[10,20,30,40,50,100]}},popperClass:String,prevText:String,nextText:String,background:Boolean,disabled:Boolean,hideOnSinglePage:Boolean},data:function(){return{internalCurrentPage:1,internalPageSize:0,lastEmittedPage:-1,userChangePageSize:!1}},render:function(t){var e=this.layout;if(!e)return null;if(this.hideOnSinglePage&&(!this.internalPageCount||1===this.internalPageCount))return null;var n=t("div",{class:["el-pagination",{"is-background":this.background,"el-pagination--small":this.small}]}),i={prev:t("prev"),jumper:t("jumper"),pager:t("pager",{attrs:{currentPage:this.internalCurrentPage,pageCount:this.internalPageCount,pagerCount:this.pagerCount,disabled:this.disabled},on:{change:this.handleCurrentChange}}),next:t("next"),sizes:t("sizes",{attrs:{pageSizes:this.pageSizes}}),slot:t("slot",[this.$slots.default?this.$slots.default:""]),total:t("total")},r=e.split(",").map(function(t){return t.trim()}),o=t("div",{class:"el-pagination__rightwrapper"}),a=!1;return n.children=n.children||[],o.children=o.children||[],r.forEach(function(t){"->"!==t?a?o.children.push(i[t]):n.children.push(i[t]):a=!0}),a&&n.children.unshift(o),n},components:{Prev:{render:function(t){return t("button",{attrs:{type:"button",disabled:this.$parent.disabled||this.$parent.internalCurrentPage<=1},class:"btn-prev",on:{click:this.$parent.prev}},[this.$parent.prevText?t("span",[this.$parent.prevText]):t("i",{class:"el-icon el-icon-arrow-left"})])}},Next:{render:function(t){return t("button",{attrs:{type:"button",disabled:this.$parent.disabled||this.$parent.internalCurrentPage===this.$parent.internalPageCount||0===this.$parent.internalPageCount},class:"btn-next",on:{click:this.$parent.next}},[this.$parent.nextText?t("span",[this.$parent.nextText]):t("i",{class:"el-icon el-icon-arrow-right"})])}},Sizes:{mixins:[p.a],props:{pageSizes:Array},watch:{pageSizes:{immediate:!0,handler:function(t,e){Object(A.valueEquals)(t,e)||Array.isArray(t)&&(this.$parent.internalPageSize=t.indexOf(this.$parent.pageSize)>-1?this.$parent.pageSize:this.pageSizes[0])}}},render:function(t){var e=this;return t("span",{class:"el-pagination__sizes"},[t("el-select",{attrs:{value:this.$parent.internalPageSize,popperClass:this.$parent.popperClass||"",size:"mini",disabled:this.$parent.disabled},on:{input:this.handleChange}},[this.pageSizes.map(function(n){return t("el-option",{attrs:{value:n,label:n+e.t("el.pagination.pagesize")}})})])])},components:{ElSelect:l.a,ElOption:u.a},methods:{handleChange:function(t){t!==this.$parent.internalPageSize&&(this.$parent.internalPageSize=t=parseInt(t,10),this.$parent.userChangePageSize=!0,this.$parent.$emit("update:pageSize",t),this.$parent.$emit("size-change",t))}}},Jumper:{mixins:[p.a],components:{ElInput:d.a},data:function(){return{userInput:null}},watch:{"$parent.internalCurrentPage":function(){this.userInput=null}},methods:{handleKeyup:function(t){var e=t.keyCode,n=t.target;13===e&&this.handleChange(n.value)},handleInput:function(t){this.userInput=t},handleChange:function(t){this.$parent.internalCurrentPage=this.$parent.getValidCurrentPage(t),this.$parent.emitChange(),this.userInput=null}},render:function(t){return t("span",{class:"el-pagination__jump"},[this.t("el.pagination.goto"),t("el-input",{class:"el-pagination__editor is-in-pagination",attrs:{min:1,max:this.$parent.internalPageCount,value:null!==this.userInput?this.userInput:this.$parent.internalCurrentPage,type:"number",disabled:this.$parent.disabled},nativeOn:{keyup:this.handleKeyup},on:{input:this.handleInput,change:this.handleChange}}),this.t("el.pagination.pageClassifier")])}},Total:{mixins:[p.a],render:function(t){return"number"==typeof this.$parent.total?t("span",{class:"el-pagination__total"},[this.t("el.pagination.total",{total:this.$parent.total})]):""}},Pager:a},methods:{handleCurrentChange:function(t){this.internalCurrentPage=this.getValidCurrentPage(t),this.userChangePageSize=!0,this.emitChange()},prev:function(){if(!this.disabled){var t=this.internalCurrentPage-1;this.internalCurrentPage=this.getValidCurrentPage(t),this.$emit("prev-click",this.internalCurrentPage),this.emitChange()}},next:function(){if(!this.disabled){var t=this.internalCurrentPage+1;this.internalCurrentPage=this.getValidCurrentPage(t),this.$emit("next-click",this.internalCurrentPage),this.emitChange()}},getValidCurrentPage:function(t){t=parseInt(t,10);var e=void 0;return"number"==typeof this.internalPageCount?t<1?e=1:t>this.internalPageCount&&(e=this.internalPageCount):(isNaN(t)||t<1)&&(e=1),void 0===e&&isNaN(t)?e=1:0===e&&(e=1),void 0===e?t:e},emitChange:function(){var t=this;this.$nextTick(function(){(t.internalCurrentPage!==t.lastEmittedPage||t.userChangePageSize)&&(t.$emit("current-change",t.internalCurrentPage),t.lastEmittedPage=t.internalCurrentPage,t.userChangePageSize=!1)})}},computed:{internalPageCount:function(){return"number"==typeof this.total?Math.max(1,Math.ceil(this.total/this.internalPageSize)):"number"==typeof this.pageCount?Math.max(1,this.pageCount):null}},watch:{currentPage:{immediate:!0,handler:function(t){this.internalCurrentPage=this.getValidCurrentPage(t)}},pageSize:{immediate:!0,handler:function(t){this.internalPageSize=isNaN(t)?10:t}},internalCurrentPage:{immediate:!0,handler:function(t){this.$emit("update:currentPage",t),this.lastEmittedPage=-1}},internalPageCount:function(t){var e=this.internalCurrentPage;t>0&&0===e?this.internalCurrentPage=1:e>t&&(this.internalCurrentPage=0===t?1:t,this.userChangePageSize&&this.emitChange()),this.userChangePageSize=!1}},install:function(t){t.component(g.name,g)}},v=g,m=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"dialog-fade"},on:{"after-enter":t.afterEnter,"after-leave":t.afterLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"el-dialog__wrapper",on:{click:function(e){return e.target!==e.currentTarget?null:t.handleWrapperClick(e)}}},[n("div",{key:t.key,ref:"dialog",class:["el-dialog",{"is-fullscreen":t.fullscreen,"el-dialog--center":t.center},t.customClass],style:t.style,attrs:{role:"dialog","aria-modal":"true","aria-label":t.title||"dialog"}},[n("div",{staticClass:"el-dialog__header"},[t._t("title",[n("span",{staticClass:"el-dialog__title"},[t._v(t._s(t.title))])]),t.showClose?n("button",{staticClass:"el-dialog__headerbtn",attrs:{type:"button","aria-label":"Close"},on:{click:t.handleClose}},[n("i",{staticClass:"el-dialog__close el-icon el-icon-close"})]):t._e()],2),t.rendered?n("div",{staticClass:"el-dialog__body"},[t._t("default")],2):t._e(),t.$slots.footer?n("div",{staticClass:"el-dialog__footer"},[t._t("footer")],2):t._e()])])])};m._withStripped=!0;var y=n(13),b=n.n(y),_=n(9),w=n.n(_),x=n(3),C=n.n(x),S=r({name:"ElDialog",mixins:[b.a,C.a,w.a],props:{title:{type:String,default:""},modal:{type:Boolean,default:!0},modalAppendToBody:{type:Boolean,default:!0},appendToBody:{type:Boolean,default:!1},lockScroll:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},width:String,fullscreen:Boolean,customClass:{type:String,default:""},top:{type:String,default:"15vh"},beforeClose:Function,center:{type:Boolean,default:!1},destroyOnClose:Boolean},data:function(){return{closed:!1,key:0}},watch:{visible:function(t){var e=this;t?(this.closed=!1,this.$emit("open"),this.$el.addEventListener("scroll",this.updatePopper),this.$nextTick(function(){e.$refs.dialog.scrollTop=0}),this.appendToBody&&document.body.appendChild(this.$el)):(this.$el.removeEventListener("scroll",this.updatePopper),this.closed||this.$emit("close"),this.destroyOnClose&&this.$nextTick(function(){e.key++}))}},computed:{style:function(){var t={};return this.fullscreen||(t.marginTop=this.top,this.width&&(t.width=this.width)),t}},methods:{getMigratingConfig:function(){return{props:{size:"size is removed."}}},handleWrapperClick:function(){this.closeOnClickModal&&this.handleClose()},handleClose:function(){"function"==typeof this.beforeClose?this.beforeClose(this.hide):this.hide()},hide:function(t){!1!==t&&(this.$emit("update:visible",!1),this.$emit("close"),this.closed=!0)},updatePopper:function(){this.broadcast("ElSelectDropdown","updatePopper"),this.broadcast("ElDropdownMenu","updatePopper")},afterEnter:function(){this.$emit("opened")},afterLeave:function(){this.$emit("closed")}},mounted:function(){this.visible&&(this.rendered=!0,this.open(),this.appendToBody&&document.body.appendChild(this.$el))},destroyed:function(){this.appendToBody&&this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)}},m,[],!1,null,null,null);S.options.__file="packages/dialog/src/component.vue";var B=S.exports;B.install=function(t){t.component(B.name,B)};var k=B,T=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:t.close,expression:"close"}],staticClass:"el-autocomplete",attrs:{"aria-haspopup":"listbox",role:"combobox","aria-expanded":t.suggestionVisible,"aria-owns":t.id}},[n("el-input",t._b({ref:"input",on:{input:t.handleInput,change:t.handleChange,focus:t.handleFocus,blur:t.handleBlur,clear:t.handleClear},nativeOn:{keydown:[function(e){if(!("button"in e)&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"]))return null;e.preventDefault(),t.highlight(t.highlightedIndex-1)},function(e){if(!("button"in e)&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"]))return null;e.preventDefault(),t.highlight(t.highlightedIndex+1)},function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.handleKeyEnter(e):null},function(e){return"button"in e||!t._k(e.keyCode,"tab",9,e.key,"Tab")?t.close(e):null}]}},"el-input",[t.$props,t.$attrs],!1),[t.$slots.prepend?n("template",{slot:"prepend"},[t._t("prepend")],2):t._e(),t.$slots.append?n("template",{slot:"append"},[t._t("append")],2):t._e(),t.$slots.prefix?n("template",{slot:"prefix"},[t._t("prefix")],2):t._e(),t.$slots.suffix?n("template",{slot:"suffix"},[t._t("suffix")],2):t._e()],2),n("el-autocomplete-suggestions",{ref:"suggestions",class:[t.popperClass?t.popperClass:""],attrs:{"visible-arrow":"","popper-options":t.popperOptions,"append-to-body":t.popperAppendToBody,placement:t.placement,id:t.id}},t._l(t.suggestions,function(e,i){return n("li",{key:i,class:{highlighted:t.highlightedIndex===i},attrs:{id:t.id+"-item-"+i,role:"option","aria-selected":t.highlightedIndex===i},on:{click:function(n){t.select(e)}}},[t._t("default",[t._v("\n "+t._s(e[t.valueKey])+"\n ")],{item:e})],2)}),0)],1)};T._withStripped=!0;var O=n(14),E=n.n(O),I=n(10),M=n.n(I),D=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":t.doDestroy}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.showPopper,expression:"showPopper"}],staticClass:"el-autocomplete-suggestion el-popper",class:{"is-loading":!t.parent.hideLoading&&t.parent.loading},style:{width:t.dropdownWidth},attrs:{role:"region"}},[n("el-scrollbar",{attrs:{tag:"ul","wrap-class":"el-autocomplete-suggestion__wrap","view-class":"el-autocomplete-suggestion__list"}},[!t.parent.hideLoading&&t.parent.loading?n("li",[n("i",{staticClass:"el-icon-loading"})]):t._t("default")],2)],1)])};D._withStripped=!0;var L=n(5),F=n.n(L),P=n(17),N=n.n(P),j=r({components:{ElScrollbar:N.a},mixins:[F.a,C.a],componentName:"ElAutocompleteSuggestions",data:function(){return{parent:this.$parent,dropdownWidth:""}},props:{options:{default:function(){return{gpuAcceleration:!1}}},id:String},methods:{select:function(t){this.dispatch("ElAutocomplete","item-click",t)}},updated:function(){var t=this;this.$nextTick(function(e){t.popperJS&&t.updatePopper()})},mounted:function(){this.$parent.popperElm=this.popperElm=this.$el,this.referenceElm=this.$parent.$refs.input.$refs.input||this.$parent.$refs.input.$refs.textarea,this.referenceList=this.$el.querySelector(".el-autocomplete-suggestion__list"),this.referenceList.setAttribute("role","listbox"),this.referenceList.setAttribute("id",this.id)},created:function(){var t=this;this.$on("visible",function(e,n){t.dropdownWidth=n+"px",t.showPopper=e})}},D,[],!1,null,null,null);j.options.__file="packages/autocomplete/src/autocomplete-suggestions.vue";var U=j.exports,R=n(22),Q=n.n(R),H=r({name:"ElAutocomplete",mixins:[C.a,Q()("input"),w.a],inheritAttrs:!1,componentName:"ElAutocomplete",components:{ElInput:d.a,ElAutocompleteSuggestions:U},directives:{Clickoutside:M.a},props:{valueKey:{type:String,default:"value"},popperClass:String,popperOptions:Object,placeholder:String,clearable:{type:Boolean,default:!1},disabled:Boolean,name:String,size:String,value:String,maxlength:Number,minlength:Number,autofocus:Boolean,fetchSuggestions:Function,triggerOnFocus:{type:Boolean,default:!0},customItem:String,selectWhenUnmatched:{type:Boolean,default:!1},prefixIcon:String,suffixIcon:String,label:String,debounce:{type:Number,default:300},placement:{type:String,default:"bottom-start"},hideLoading:Boolean,popperAppendToBody:{type:Boolean,default:!0},highlightFirstItem:{type:Boolean,default:!1}},data:function(){return{activated:!1,suggestions:[],loading:!1,highlightedIndex:-1,suggestionDisabled:!1}},computed:{suggestionVisible:function(){var t=this.suggestions;return(Array.isArray(t)&&t.length>0||this.loading)&&this.activated},id:function(){return"el-autocomplete-"+Object(A.generateId)()}},watch:{suggestionVisible:function(t){var e=this.getInput();e&&this.broadcast("ElAutocompleteSuggestions","visible",[t,e.offsetWidth])}},methods:{getMigratingConfig:function(){return{props:{"custom-item":"custom-item is removed, use scoped slot instead.",props:"props is removed, use value-key instead."}}},getData:function(t){var e=this;this.suggestionDisabled||(this.loading=!0,this.fetchSuggestions(t,function(t){e.loading=!1,e.suggestionDisabled||(Array.isArray(t)?(e.suggestions=t,e.highlightedIndex=e.highlightFirstItem?0:-1):console.error("[Element Error][Autocomplete]autocomplete suggestions must be an array"))}))},handleInput:function(t){if(this.$emit("input",t),this.suggestionDisabled=!1,!this.triggerOnFocus&&!t)return this.suggestionDisabled=!0,void(this.suggestions=[]);this.debouncedGetData(t)},handleChange:function(t){this.$emit("change",t)},handleFocus:function(t){this.activated=!0,this.$emit("focus",t),this.triggerOnFocus&&this.debouncedGetData(this.value)},handleBlur:function(t){this.$emit("blur",t)},handleClear:function(){this.activated=!1,this.$emit("clear")},close:function(t){this.activated=!1},handleKeyEnter:function(t){var e=this;this.suggestionVisible&&this.highlightedIndex>=0&&this.highlightedIndex<this.suggestions.length?(t.preventDefault(),this.select(this.suggestions[this.highlightedIndex])):this.selectWhenUnmatched&&(this.$emit("select",{value:this.value}),this.$nextTick(function(t){e.suggestions=[],e.highlightedIndex=-1}))},select:function(t){var e=this;this.$emit("input",t[this.valueKey]),this.$emit("select",t),this.$nextTick(function(t){e.suggestions=[],e.highlightedIndex=-1})},highlight:function(t){if(this.suggestionVisible&&!this.loading)if(t<0)this.highlightedIndex=-1;else{t>=this.suggestions.length&&(t=this.suggestions.length-1);var e=this.$refs.suggestions.$el.querySelector(".el-autocomplete-suggestion__wrap"),n=e.querySelectorAll(".el-autocomplete-suggestion__list li")[t],i=e.scrollTop,r=n.offsetTop;r+n.scrollHeight>i+e.clientHeight&&(e.scrollTop+=n.scrollHeight),r<i&&(e.scrollTop-=n.scrollHeight),this.highlightedIndex=t,this.getInput().setAttribute("aria-activedescendant",this.id+"-item-"+this.highlightedIndex)}},getInput:function(){return this.$refs.input.getInput()}},mounted:function(){var t=this;this.debouncedGetData=E()(this.debounce,this.getData),this.$on("item-click",function(e){t.select(e)});var e=this.getInput();e.setAttribute("role","textbox"),e.setAttribute("aria-autocomplete","list"),e.setAttribute("aria-controls","id"),e.setAttribute("aria-activedescendant",this.id+"-item-"+this.highlightedIndex)},beforeDestroy:function(){this.$refs.suggestions.$destroy()}},T,[],!1,null,null,null);H.options.__file="packages/autocomplete/src/autocomplete.vue";var V=H.exports;V.install=function(t){t.component(V.name,V)};var z=V,$=n(11),G=n.n($),W=n(28),K=n.n(W),Y=r({name:"ElDropdown",componentName:"ElDropdown",mixins:[C.a,w.a],directives:{Clickoutside:M.a},components:{ElButton:G.a,ElButtonGroup:K.a},provide:function(){return{dropdown:this}},props:{trigger:{type:String,default:"hover"},type:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},placement:{type:String,default:"bottom-end"},visibleArrow:{default:!0},showTimeout:{type:Number,default:250},hideTimeout:{type:Number,default:150},tabindex:{type:Number,default:0}},data:function(){return{timeout:null,visible:!1,triggerElm:null,menuItems:null,menuItemsArray:null,dropdownElm:null,focusing:!1,listId:"dropdown-menu-"+Object(A.generateId)()}},computed:{dropdownSize:function(){return this.size||(this.$ELEMENT||{}).size}},mounted:function(){this.$on("menu-item-click",this.handleMenuItemClick)},watch:{visible:function(t){this.broadcast("ElDropdownMenu","visible",t),this.$emit("visible-change",t)},focusing:function(t){var e=this.$el.querySelector(".el-dropdown-selfdefine");e&&(t?e.className+=" focusing":e.className=e.className.replace("focusing",""))}},methods:{getMigratingConfig:function(){return{props:{"menu-align":"menu-align is renamed to placement."}}},show:function(){var t=this;this.triggerElm.disabled||(clearTimeout(this.timeout),this.timeout=setTimeout(function(){t.visible=!0},"click"===this.trigger?0:this.showTimeout))},hide:function(){var t=this;this.triggerElm.disabled||(this.removeTabindex(),this.tabindex>=0&&this.resetTabindex(this.triggerElm),clearTimeout(this.timeout),this.timeout=setTimeout(function(){t.visible=!1},"click"===this.trigger?0:this.hideTimeout))},handleClick:function(){this.triggerElm.disabled||(this.visible?this.hide():this.show())},handleTriggerKeyDown:function(t){var e=t.keyCode;[38,40].indexOf(e)>-1?(this.removeTabindex(),this.resetTabindex(this.menuItems[0]),this.menuItems[0].focus(),t.preventDefault(),t.stopPropagation()):13===e?this.handleClick():[9,27].indexOf(e)>-1&&this.hide()},handleItemKeyDown:function(t){var e=t.keyCode,n=t.target,i=this.menuItemsArray.indexOf(n),r=this.menuItemsArray.length-1,o=void 0;[38,40].indexOf(e)>-1?(o=38===e?0!==i?i-1:0:i<r?i+1:r,this.removeTabindex(),this.resetTabindex(this.menuItems[o]),this.menuItems[o].focus(),t.preventDefault(),t.stopPropagation()):13===e?(this.triggerElmFocus(),n.click(),this.hideOnClick&&(this.visible=!1)):[9,27].indexOf(e)>-1&&(this.hide(),this.triggerElmFocus())},resetTabindex:function(t){this.removeTabindex(),t.setAttribute("tabindex","0")},removeTabindex:function(){this.triggerElm.setAttribute("tabindex","-1"),this.menuItemsArray.forEach(function(t){t.setAttribute("tabindex","-1")})},initAria:function(){this.dropdownElm.setAttribute("id",this.listId),this.triggerElm.setAttribute("aria-haspopup","list"),this.triggerElm.setAttribute("aria-controls",this.listId),this.splitButton||(this.triggerElm.setAttribute("role","button"),this.triggerElm.setAttribute("tabindex",this.tabindex),this.triggerElm.setAttribute("class",(this.triggerElm.getAttribute("class")||"")+" el-dropdown-selfdefine"))},initEvent:function(){var t=this,e=this.trigger,n=this.show,i=this.hide,r=this.handleClick,o=this.splitButton,a=this.handleTriggerKeyDown,s=this.handleItemKeyDown;this.triggerElm=o?this.$refs.trigger.$el:this.$slots.default[0].elm;var l=this.dropdownElm;this.triggerElm.addEventListener("keydown",a),l.addEventListener("keydown",s,!0),o||(this.triggerElm.addEventListener("focus",function(){t.focusing=!0}),this.triggerElm.addEventListener("blur",function(){t.focusing=!1}),this.triggerElm.addEventListener("click",function(){t.focusing=!1})),"hover"===e?(this.triggerElm.addEventListener("mouseenter",n),this.triggerElm.addEventListener("mouseleave",i),l.addEventListener("mouseenter",n),l.addEventListener("mouseleave",i)):"click"===e&&this.triggerElm.addEventListener("click",r)},handleMenuItemClick:function(t,e){this.hideOnClick&&(this.visible=!1),this.$emit("command",t,e)},triggerElmFocus:function(){this.triggerElm.focus&&this.triggerElm.focus()},initDomOperation:function(){this.dropdownElm=this.popperElm,this.menuItems=this.dropdownElm.querySelectorAll("[tabindex='-1']"),this.menuItemsArray=[].slice.call(this.menuItems),this.initEvent(),this.initAria()}},render:function(t){var e=this,n=this.hide,i=this.splitButton,r=this.type,o=this.dropdownSize,a=i?t("el-button-group",[t("el-button",{attrs:{type:r,size:o},nativeOn:{click:function(t){e.$emit("click",t),n()}}},[this.$slots.default]),t("el-button",{ref:"trigger",attrs:{type:r,size:o},class:"el-dropdown__caret-button"},[t("i",{class:"el-dropdown__icon el-icon-arrow-down"})])]):this.$slots.default;return t("div",{class:"el-dropdown",directives:[{name:"clickoutside",value:n}]},[a,this.$slots.dropdown])}},void 0,void 0,!1,null,null,null);Y.options.__file="packages/dropdown/src/dropdown.vue";var X=Y.exports;X.install=function(t){t.component(X.name,X)};var q=X,Z=function(){var t=this.$createElement,e=this._self._c||t;return e("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":this.doDestroy}},[e("ul",{directives:[{name:"show",rawName:"v-show",value:this.showPopper,expression:"showPopper"}],staticClass:"el-dropdown-menu el-popper",class:[this.size&&"el-dropdown-menu--"+this.size]},[this._t("default")],2)])};Z._withStripped=!0;var J=r({name:"ElDropdownMenu",componentName:"ElDropdownMenu",mixins:[F.a],props:{visibleArrow:{type:Boolean,default:!0},arrowOffset:{type:Number,default:0}},data:function(){return{size:this.dropdown.dropdownSize}},inject:["dropdown"],created:function(){var t=this;this.$on("updatePopper",function(){t.showPopper&&t.updatePopper()}),this.$on("visible",function(e){t.showPopper=e})},mounted:function(){this.dropdown.popperElm=this.popperElm=this.$el,this.referenceElm=this.dropdown.$el,this.dropdown.initDomOperation()},watch:{"dropdown.placement":{immediate:!0,handler:function(t){this.currentPlacement=t}}}},Z,[],!1,null,null,null);J.options.__file="packages/dropdown/src/dropdown-menu.vue";var tt=J.exports;tt.install=function(t){t.component(tt.name,tt)};var et=tt,nt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",{staticClass:"el-dropdown-menu__item",class:{"is-disabled":t.disabled,"el-dropdown-menu__item--divided":t.divided},attrs:{"aria-disabled":t.disabled,tabindex:t.disabled?null:-1},on:{click:t.handleClick}},[t.icon?n("i",{class:t.icon}):t._e(),t._t("default")],2)};nt._withStripped=!0;var it=r({name:"ElDropdownItem",mixins:[C.a],props:{command:{},disabled:Boolean,divided:Boolean,icon:String},methods:{handleClick:function(t){this.dispatch("ElDropdown","menu-item-click",[this.command,this])}}},nt,[],!1,null,null,null);it.options.__file="packages/dropdown/src/dropdown-item.vue";var rt=it.exports;rt.install=function(t){t.component(rt.name,rt)};var ot=rt,at=at||{};at.Utils=at.Utils||{},at.Utils.focusFirstDescendant=function(t){for(var e=0;e<t.childNodes.length;e++){var n=t.childNodes[e];if(at.Utils.attemptFocus(n)||at.Utils.focusFirstDescendant(n))return!0}return!1},at.Utils.focusLastDescendant=function(t){for(var e=t.childNodes.length-1;e>=0;e--){var n=t.childNodes[e];if(at.Utils.attemptFocus(n)||at.Utils.focusLastDescendant(n))return!0}return!1},at.Utils.attemptFocus=function(t){if(!at.Utils.isFocusable(t))return!1;at.Utils.IgnoreUtilFocusChanges=!0;try{t.focus()}catch(t){}return at.Utils.IgnoreUtilFocusChanges=!1,document.activeElement===t},at.Utils.isFocusable=function(t){if(t.tabIndex>0||0===t.tabIndex&&null!==t.getAttribute("tabIndex"))return!0;if(t.disabled)return!1;switch(t.nodeName){case"A":return!!t.href&&"ignore"!==t.rel;case"INPUT":return"hidden"!==t.type&&"file"!==t.type;case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},at.Utils.triggerEvent=function(t,e){var n=void 0;n=/^mouse|click/.test(e)?"MouseEvents":/^key/.test(e)?"KeyboardEvent":"HTMLEvents";for(var i=document.createEvent(n),r=arguments.length,o=Array(r>2?r-2:0),a=2;a<r;a++)o[a-2]=arguments[a];return i.initEvent.apply(i,[e].concat(o)),t.dispatchEvent?t.dispatchEvent(i):t.fireEvent("on"+e,i),t},at.Utils.keys={tab:9,enter:13,space:32,left:37,up:38,right:39,down:40,esc:27};var st=at.Utils,lt=function(t,e){this.domNode=e,this.parent=t,this.subMenuItems=[],this.subIndex=0,this.init()};lt.prototype.init=function(){this.subMenuItems=this.domNode.querySelectorAll("li"),this.addListeners()},lt.prototype.gotoSubIndex=function(t){t===this.subMenuItems.length?t=0:t<0&&(t=this.subMenuItems.length-1),this.subMenuItems[t].focus(),this.subIndex=t},lt.prototype.addListeners=function(){var t=this,e=st.keys,n=this.parent.domNode;Array.prototype.forEach.call(this.subMenuItems,function(i){i.addEventListener("keydown",function(i){var r=!1;switch(i.keyCode){case e.down:t.gotoSubIndex(t.subIndex+1),r=!0;break;case e.up:t.gotoSubIndex(t.subIndex-1),r=!0;break;case e.tab:st.triggerEvent(n,"mouseleave");break;case e.enter:case e.space:r=!0,i.currentTarget.click()}return r&&(i.preventDefault(),i.stopPropagation()),!1})})};var ct=lt,ut=function(t){this.domNode=t,this.submenu=null,this.init()};ut.prototype.init=function(){this.domNode.setAttribute("tabindex","0");var t=this.domNode.querySelector(".el-menu");t&&(this.submenu=new ct(this,t)),this.addListeners()},ut.prototype.addListeners=function(){var t=this,e=st.keys;this.domNode.addEventListener("keydown",function(n){var i=!1;switch(n.keyCode){case e.down:st.triggerEvent(n.currentTarget,"mouseenter"),t.submenu&&t.submenu.gotoSubIndex(0),i=!0;break;case e.up:st.triggerEvent(n.currentTarget,"mouseenter"),t.submenu&&t.submenu.gotoSubIndex(t.submenu.subMenuItems.length-1),i=!0;break;case e.tab:st.triggerEvent(n.currentTarget,"mouseleave");break;case e.enter:case e.space:i=!0,n.currentTarget.click()}i&&n.preventDefault()})};var ht=ut,dt=function(t){this.domNode=t,this.init()};dt.prototype.init=function(){var t=this.domNode.childNodes;[].filter.call(t,function(t){return 1===t.nodeType}).forEach(function(t){new ht(t)})};var ft=dt,pt=n(1),At=r({name:"ElMenu",render:function(t){var e=t("ul",{attrs:{role:"menubar"},key:+this.collapse,style:{backgroundColor:this.backgroundColor||""},class:{"el-menu--horizontal":"horizontal"===this.mode,"el-menu--collapse":this.collapse,"el-menu":!0}},[this.$slots.default]);return this.collapseTransition?t("el-menu-collapse-transition",[e]):e},componentName:"ElMenu",mixins:[C.a,w.a],provide:function(){return{rootMenu:this}},components:{"el-menu-collapse-transition":{functional:!0,render:function(t,e){return t("transition",{props:{mode:"out-in"},on:{beforeEnter:function(t){t.style.opacity=.2},enter:function(t){Object(pt.addClass)(t,"el-opacity-transition"),t.style.opacity=1},afterEnter:function(t){Object(pt.removeClass)(t,"el-opacity-transition"),t.style.opacity=""},beforeLeave:function(t){t.dataset||(t.dataset={}),Object(pt.hasClass)(t,"el-menu--collapse")?(Object(pt.removeClass)(t,"el-menu--collapse"),t.dataset.oldOverflow=t.style.overflow,t.dataset.scrollWidth=t.clientWidth,Object(pt.addClass)(t,"el-menu--collapse")):(Object(pt.addClass)(t,"el-menu--collapse"),t.dataset.oldOverflow=t.style.overflow,t.dataset.scrollWidth=t.clientWidth,Object(pt.removeClass)(t,"el-menu--collapse")),t.style.width=t.scrollWidth+"px",t.style.overflow="hidden"},leave:function(t){Object(pt.addClass)(t,"horizontal-collapse-transition"),t.style.width=t.dataset.scrollWidth+"px"}}},e.children)}}},props:{mode:{type:String,default:"vertical"},defaultActive:{type:String,default:""},defaultOpeneds:Array,uniqueOpened:Boolean,router:Boolean,menuTrigger:{type:String,default:"hover"},collapse:Boolean,backgroundColor:String,textColor:String,activeTextColor:String,collapseTransition:{type:Boolean,default:!0}},data:function(){return{activeIndex:this.defaultActive,openedMenus:this.defaultOpeneds&&!this.collapse?this.defaultOpeneds.slice(0):[],items:{},submenus:{}}},computed:{hoverBackground:function(){return this.backgroundColor?this.mixColor(this.backgroundColor,.2):""},isMenuPopup:function(){return"horizontal"===this.mode||"vertical"===this.mode&&this.collapse}},watch:{defaultActive:function(t){this.items[t]||(this.activeIndex=null),this.updateActiveIndex(t)},defaultOpeneds:function(t){this.collapse||(this.openedMenus=t)},collapse:function(t){t&&(this.openedMenus=[]),this.broadcast("ElSubmenu","toggle-collapse",t)}},methods:{updateActiveIndex:function(t){var e=this.items[t]||this.items[this.activeIndex]||this.items[this.defaultActive];e?(this.activeIndex=e.index,this.initOpenedMenu()):this.activeIndex=null},getMigratingConfig:function(){return{props:{theme:"theme is removed."}}},getColorChannels:function(t){if(t=t.replace("#",""),/^[0-9a-fA-F]{3}$/.test(t)){t=t.split("");for(var e=2;e>=0;e--)t.splice(e,0,t[e]);t=t.join("")}return/^[0-9a-fA-F]{6}$/.test(t)?{red:parseInt(t.slice(0,2),16),green:parseInt(t.slice(2,4),16),blue:parseInt(t.slice(4,6),16)}:{red:255,green:255,blue:255}},mixColor:function(t,e){var n=this.getColorChannels(t),i=n.red,r=n.green,o=n.blue;return e>0?(i*=1-e,r*=1-e,o*=1-e):(i+=(255-i)*e,r+=(255-r)*e,o+=(255-o)*e),"rgb("+Math.round(i)+", "+Math.round(r)+", "+Math.round(o)+")"},addItem:function(t){this.$set(this.items,t.index,t)},removeItem:function(t){delete this.items[t.index]},addSubmenu:function(t){this.$set(this.submenus,t.index,t)},removeSubmenu:function(t){delete this.submenus[t.index]},openMenu:function(t,e){var n=this.openedMenus;-1===n.indexOf(t)&&(this.uniqueOpened&&(this.openedMenus=n.filter(function(t){return-1!==e.indexOf(t)})),this.openedMenus.push(t))},closeMenu:function(t){var e=this.openedMenus.indexOf(t);-1!==e&&this.openedMenus.splice(e,1)},handleSubmenuClick:function(t){var e=t.index,n=t.indexPath;-1!==this.openedMenus.indexOf(e)?(this.closeMenu(e),this.$emit("close",e,n)):(this.openMenu(e,n),this.$emit("open",e,n))},handleItemClick:function(t){var e=this,n=t.index,i=t.indexPath,r=this.activeIndex,o=null!==t.index;o&&(this.activeIndex=t.index),this.$emit("select",n,i,t),("horizontal"===this.mode||this.collapse)&&(this.openedMenus=[]),this.router&&o&&this.routeToItem(t,function(t){if(e.activeIndex=r,t){if("NavigationDuplicated"===t.name)return;console.error(t)}})},initOpenedMenu:function(){var t=this,e=this.activeIndex,n=this.items[e];n&&"horizontal"!==this.mode&&!this.collapse&&n.indexPath.forEach(function(e){var n=t.submenus[e];n&&t.openMenu(e,n.indexPath)})},routeToItem:function(t,e){var n=t.route||t.index;try{this.$router.push(n,function(){},e)}catch(t){console.error(t)}},open:function(t){var e=this,n=this.submenus[t.toString()].indexPath;n.forEach(function(t){return e.openMenu(t,n)})},close:function(t){this.closeMenu(t)}},mounted:function(){this.initOpenedMenu(),this.$on("item-click",this.handleItemClick),this.$on("submenu-click",this.handleSubmenuClick),"horizontal"===this.mode&&new ft(this.$el),this.$watch("items",this.updateActiveIndex)}},void 0,void 0,!1,null,null,null);At.options.__file="packages/menu/src/menu.vue";var gt=At.exports;gt.install=function(t){t.component(gt.name,gt)};var vt=gt,mt=n(21),yt=n.n(mt),bt={inject:["rootMenu"],computed:{indexPath:function(){for(var t=[this.index],e=this.$parent;"ElMenu"!==e.$options.componentName;)e.index&&t.unshift(e.index),e=e.$parent;return t},parentMenu:function(){for(var t=this.$parent;t&&-1===["ElMenu","ElSubmenu"].indexOf(t.$options.componentName);)t=t.$parent;return t},paddingStyle:function(){if("vertical"!==this.rootMenu.mode)return{};var t=20,e=this.$parent;if(this.rootMenu.collapse)t=20;else for(;e&&"ElMenu"!==e.$options.componentName;)"ElSubmenu"===e.$options.componentName&&(t+=20),e=e.$parent;return{paddingLeft:t+"px"}}}},_t={props:{transformOrigin:{type:[Boolean,String],default:!1},offset:F.a.props.offset,boundariesPadding:F.a.props.boundariesPadding,popperOptions:F.a.props.popperOptions},data:F.a.data,methods:F.a.methods,beforeDestroy:F.a.beforeDestroy,deactivated:F.a.deactivated},wt=r({name:"ElSubmenu",componentName:"ElSubmenu",mixins:[bt,C.a,_t],components:{ElCollapseTransition:yt.a},props:{index:{type:String,required:!0},showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300},popperClass:String,disabled:Boolean,popperAppendToBody:{type:Boolean,default:void 0}},data:function(){return{popperJS:null,timeout:null,items:{},submenus:{},mouseInChild:!1}},watch:{opened:function(t){var e=this;this.isMenuPopup&&this.$nextTick(function(t){e.updatePopper()})}},computed:{appendToBody:function(){return void 0===this.popperAppendToBody?this.isFirstLevel:this.popperAppendToBody},menuTransitionName:function(){return this.rootMenu.collapse?"el-zoom-in-left":"el-zoom-in-top"},opened:function(){return this.rootMenu.openedMenus.indexOf(this.index)>-1},active:function(){var t=!1,e=this.submenus,n=this.items;return Object.keys(n).forEach(function(e){n[e].active&&(t=!0)}),Object.keys(e).forEach(function(n){e[n].active&&(t=!0)}),t},hoverBackground:function(){return this.rootMenu.hoverBackground},backgroundColor:function(){return this.rootMenu.backgroundColor||""},activeTextColor:function(){return this.rootMenu.activeTextColor||""},textColor:function(){return this.rootMenu.textColor||""},mode:function(){return this.rootMenu.mode},isMenuPopup:function(){return this.rootMenu.isMenuPopup},titleStyle:function(){return"horizontal"!==this.mode?{color:this.textColor}:{borderBottomColor:this.active?this.rootMenu.activeTextColor?this.activeTextColor:"":"transparent",color:this.active?this.activeTextColor:this.textColor}},isFirstLevel:function(){for(var t=!0,e=this.$parent;e&&e!==this.rootMenu;){if(["ElSubmenu","ElMenuItemGroup"].indexOf(e.$options.componentName)>-1){t=!1;break}e=e.$parent}return t}},methods:{handleCollapseToggle:function(t){t?this.initPopper():this.doDestroy()},addItem:function(t){this.$set(this.items,t.index,t)},removeItem:function(t){delete this.items[t.index]},addSubmenu:function(t){this.$set(this.submenus,t.index,t)},removeSubmenu:function(t){delete this.submenus[t.index]},handleClick:function(){var t=this.rootMenu,e=this.disabled;"hover"===t.menuTrigger&&"horizontal"===t.mode||t.collapse&&"vertical"===t.mode||e||this.dispatch("ElMenu","submenu-click",this)},handleMouseenter:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.showTimeout;if("ActiveXObject"in window||"focus"!==t.type||t.relatedTarget){var i=this.rootMenu,r=this.disabled;"click"===i.menuTrigger&&"horizontal"===i.mode||!i.collapse&&"vertical"===i.mode||r||(this.dispatch("ElSubmenu","mouse-enter-child"),clearTimeout(this.timeout),this.timeout=setTimeout(function(){e.rootMenu.openMenu(e.index,e.indexPath)},n),this.appendToBody&&this.$parent.$el.dispatchEvent(new MouseEvent("mouseenter")))}},handleMouseleave:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=this.rootMenu;"click"===n.menuTrigger&&"horizontal"===n.mode||!n.collapse&&"vertical"===n.mode||(this.dispatch("ElSubmenu","mouse-leave-child"),clearTimeout(this.timeout),this.timeout=setTimeout(function(){!t.mouseInChild&&t.rootMenu.closeMenu(t.index)},this.hideTimeout),this.appendToBody&&e&&"ElSubmenu"===this.$parent.$options.name&&this.$parent.handleMouseleave(!0))},handleTitleMouseenter:function(){if("horizontal"!==this.mode||this.rootMenu.backgroundColor){var t=this.$refs["submenu-title"];t&&(t.style.backgroundColor=this.rootMenu.hoverBackground)}},handleTitleMouseleave:function(){if("horizontal"!==this.mode||this.rootMenu.backgroundColor){var t=this.$refs["submenu-title"];t&&(t.style.backgroundColor=this.rootMenu.backgroundColor||"")}},updatePlacement:function(){this.currentPlacement="horizontal"===this.mode&&this.isFirstLevel?"bottom-start":"right-start"},initPopper:function(){this.referenceElm=this.$el,this.popperElm=this.$refs.menu,this.updatePlacement()}},created:function(){var t=this;this.$on("toggle-collapse",this.handleCollapseToggle),this.$on("mouse-enter-child",function(){t.mouseInChild=!0,clearTimeout(t.timeout)}),this.$on("mouse-leave-child",function(){t.mouseInChild=!1,clearTimeout(t.timeout)})},mounted:function(){this.parentMenu.addSubmenu(this),this.rootMenu.addSubmenu(this),this.initPopper()},beforeDestroy:function(){this.parentMenu.removeSubmenu(this),this.rootMenu.removeSubmenu(this)},render:function(t){var e=this,n=this.active,i=this.opened,r=this.paddingStyle,o=this.titleStyle,a=this.backgroundColor,s=this.rootMenu,l=this.currentPlacement,c=this.menuTransitionName,u=this.mode,h=this.disabled,d=this.popperClass,f=this.$slots,p=this.isFirstLevel,A=t("transition",{attrs:{name:c}},[t("div",{ref:"menu",directives:[{name:"show",value:i}],class:["el-menu--"+u,d],on:{mouseenter:function(t){return e.handleMouseenter(t,100)},mouseleave:function(){return e.handleMouseleave(!0)},focus:function(t){return e.handleMouseenter(t,100)}}},[t("ul",{attrs:{role:"menu"},class:["el-menu el-menu--popup","el-menu--popup-"+l],style:{backgroundColor:s.backgroundColor||""}},[f.default])])]),g=t("el-collapse-transition",[t("ul",{attrs:{role:"menu"},class:"el-menu el-menu--inline",directives:[{name:"show",value:i}],style:{backgroundColor:s.backgroundColor||""}},[f.default])]),v="horizontal"===s.mode&&p||"vertical"===s.mode&&!s.collapse?"el-icon-arrow-down":"el-icon-arrow-right";return t("li",{class:{"el-submenu":!0,"is-active":n,"is-opened":i,"is-disabled":h},attrs:{role:"menuitem","aria-haspopup":"true","aria-expanded":i},on:{mouseenter:this.handleMouseenter,mouseleave:function(){return e.handleMouseleave(!1)},focus:this.handleMouseenter}},[t("div",{class:"el-submenu__title",ref:"submenu-title",on:{click:this.handleClick,mouseenter:this.handleTitleMouseenter,mouseleave:this.handleTitleMouseleave},style:[r,o,{backgroundColor:a}]},[f.title,t("i",{class:["el-submenu__icon-arrow",v]})]),this.isMenuPopup?A:g])}},void 0,void 0,!1,null,null,null);wt.options.__file="packages/menu/src/submenu.vue";var xt=wt.exports;xt.install=function(t){t.component(xt.name,xt)};var Ct=xt,St=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",{staticClass:"el-menu-item",class:{"is-active":t.active,"is-disabled":t.disabled},style:[t.paddingStyle,t.itemStyle,{backgroundColor:t.backgroundColor}],attrs:{role:"menuitem",tabindex:"-1"},on:{click:t.handleClick,mouseenter:t.onMouseEnter,focus:t.onMouseEnter,blur:t.onMouseLeave,mouseleave:t.onMouseLeave}},["ElMenu"===t.parentMenu.$options.componentName&&t.rootMenu.collapse&&t.$slots.title?n("el-tooltip",{attrs:{effect:"dark",placement:"right"}},[n("div",{attrs:{slot:"content"},slot:"content"},[t._t("title")],2),n("div",{staticStyle:{position:"absolute",left:"0",top:"0",height:"100%",width:"100%",display:"inline-block","box-sizing":"border-box",padding:"0 20px"}},[t._t("default")],2)]):[t._t("default"),t._t("title")]],2)};St._withStripped=!0;var Bt=n(26),kt=n.n(Bt),Tt=r({name:"ElMenuItem",componentName:"ElMenuItem",mixins:[bt,C.a],components:{ElTooltip:kt.a},props:{index:{default:null,validator:function(t){return"string"==typeof t||null===t}},route:[String,Object],disabled:Boolean},computed:{active:function(){return this.index===this.rootMenu.activeIndex},hoverBackground:function(){return this.rootMenu.hoverBackground},backgroundColor:function(){return this.rootMenu.backgroundColor||""},activeTextColor:function(){return this.rootMenu.activeTextColor||""},textColor:function(){return this.rootMenu.textColor||""},mode:function(){return this.rootMenu.mode},itemStyle:function(){var t={color:this.active?this.activeTextColor:this.textColor};return"horizontal"!==this.mode||this.isNested||(t.borderBottomColor=this.active?this.rootMenu.activeTextColor?this.activeTextColor:"":"transparent"),t},isNested:function(){return this.parentMenu!==this.rootMenu}},methods:{onMouseEnter:function(){("horizontal"!==this.mode||this.rootMenu.backgroundColor)&&(this.$el.style.backgroundColor=this.hoverBackground)},onMouseLeave:function(){("horizontal"!==this.mode||this.rootMenu.backgroundColor)&&(this.$el.style.backgroundColor=this.backgroundColor)},handleClick:function(){this.disabled||(this.dispatch("ElMenu","item-click",this),this.$emit("click",this))}},mounted:function(){this.parentMenu.addItem(this),this.rootMenu.addItem(this)},beforeDestroy:function(){this.parentMenu.removeItem(this),this.rootMenu.removeItem(this)}},St,[],!1,null,null,null);Tt.options.__file="packages/menu/src/menu-item.vue";var Ot=Tt.exports;Ot.install=function(t){t.component(Ot.name,Ot)};var Et=Ot,It=function(){var t=this.$createElement,e=this._self._c||t;return e("li",{staticClass:"el-menu-item-group"},[e("div",{staticClass:"el-menu-item-group__title",style:{paddingLeft:this.levelPadding+"px"}},[this.$slots.title?this._t("title"):[this._v(this._s(this.title))]],2),e("ul",[this._t("default")],2)])};It._withStripped=!0;var Mt=r({name:"ElMenuItemGroup",componentName:"ElMenuItemGroup",inject:["rootMenu"],props:{title:{type:String}},data:function(){return{paddingLeft:20}},computed:{levelPadding:function(){var t=20,e=this.$parent;if(this.rootMenu.collapse)return 20;for(;e&&"ElMenu"!==e.$options.componentName;)"ElSubmenu"===e.$options.componentName&&(t+=20),e=e.$parent;return t}}},It,[],!1,null,null,null);Mt.options.__file="packages/menu/src/menu-item-group.vue";var Dt=Mt.exports;Dt.install=function(t){t.component(Dt.name,Dt)};var Lt=Dt,Ft=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["textarea"===t.type?"el-textarea":"el-input",t.inputSize?"el-input--"+t.inputSize:"",{"is-disabled":t.inputDisabled,"is-exceed":t.inputExceed,"el-input-group":t.$slots.prepend||t.$slots.append,"el-input-group--append":t.$slots.append,"el-input-group--prepend":t.$slots.prepend,"el-input--prefix":t.$slots.prefix||t.prefixIcon,"el-input--suffix":t.$slots.suffix||t.suffixIcon||t.clearable||t.showPassword}],on:{mouseenter:function(e){t.hovering=!0},mouseleave:function(e){t.hovering=!1}}},["textarea"!==t.type?[t.$slots.prepend?n("div",{staticClass:"el-input-group__prepend"},[t._t("prepend")],2):t._e(),"textarea"!==t.type?n("input",t._b({ref:"input",staticClass:"el-input__inner",attrs:{tabindex:t.tabindex,type:t.showPassword?t.passwordVisible?"text":"password":t.type,disabled:t.inputDisabled,readonly:t.readonly,autocomplete:t.autoComplete||t.autocomplete,"aria-label":t.label},on:{compositionstart:t.handleCompositionStart,compositionupdate:t.handleCompositionUpdate,compositionend:t.handleCompositionEnd,input:t.handleInput,focus:t.handleFocus,blur:t.handleBlur,change:t.handleChange}},"input",t.$attrs,!1)):t._e(),t.$slots.prefix||t.prefixIcon?n("span",{staticClass:"el-input__prefix"},[t._t("prefix"),t.prefixIcon?n("i",{staticClass:"el-input__icon",class:t.prefixIcon}):t._e()],2):t._e(),t.getSuffixVisible()?n("span",{staticClass:"el-input__suffix"},[n("span",{staticClass:"el-input__suffix-inner"},[t.showClear&&t.showPwdVisible&&t.isWordLimitVisible?t._e():[t._t("suffix"),t.suffixIcon?n("i",{staticClass:"el-input__icon",class:t.suffixIcon}):t._e()],t.showClear?n("i",{staticClass:"el-input__icon el-icon-circle-close el-input__clear",on:{mousedown:function(t){t.preventDefault()},click:t.clear}}):t._e(),t.showPwdVisible?n("i",{staticClass:"el-input__icon el-icon-view el-input__clear",on:{click:t.handlePasswordVisible}}):t._e(),t.isWordLimitVisible?n("span",{staticClass:"el-input__count"},[n("span",{staticClass:"el-input__count-inner"},[t._v("\n "+t._s(t.textLength)+"/"+t._s(t.upperLimit)+"\n ")])]):t._e()],2),t.validateState?n("i",{staticClass:"el-input__icon",class:["el-input__validateIcon",t.validateIcon]}):t._e()]):t._e(),t.$slots.append?n("div",{staticClass:"el-input-group__append"},[t._t("append")],2):t._e()]:n("textarea",t._b({ref:"textarea",staticClass:"el-textarea__inner",style:t.textareaStyle,attrs:{tabindex:t.tabindex,disabled:t.inputDisabled,readonly:t.readonly,autocomplete:t.autoComplete||t.autocomplete,"aria-label":t.label},on:{compositionstart:t.handleCompositionStart,compositionupdate:t.handleCompositionUpdate,compositionend:t.handleCompositionEnd,input:t.handleInput,focus:t.handleFocus,blur:t.handleBlur,change:t.handleChange}},"textarea",t.$attrs,!1)),t.isWordLimitVisible&&"textarea"===t.type?n("span",{staticClass:"el-input__count"},[t._v(t._s(t.textLength)+"/"+t._s(t.upperLimit))]):t._e()],2)};Ft._withStripped=!0;var Pt=void 0,Nt="\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important\n",jt=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function Ut(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;Pt||(Pt=document.createElement("textarea"),document.body.appendChild(Pt));var i=function(t){var e=window.getComputedStyle(t),n=e.getPropertyValue("box-sizing"),i=parseFloat(e.getPropertyValue("padding-bottom"))+parseFloat(e.getPropertyValue("padding-top")),r=parseFloat(e.getPropertyValue("border-bottom-width"))+parseFloat(e.getPropertyValue("border-top-width"));return{contextStyle:jt.map(function(t){return t+":"+e.getPropertyValue(t)}).join(";"),paddingSize:i,borderSize:r,boxSizing:n}}(t),r=i.paddingSize,o=i.borderSize,a=i.boxSizing,s=i.contextStyle;Pt.setAttribute("style",s+";"+Nt),Pt.value=t.value||t.placeholder||"";var l=Pt.scrollHeight,c={};"border-box"===a?l+=o:"content-box"===a&&(l-=r),Pt.value="";var u=Pt.scrollHeight-r;if(null!==e){var h=u*e;"border-box"===a&&(h=h+r+o),l=Math.max(h,l),c.minHeight=h+"px"}if(null!==n){var d=u*n;"border-box"===a&&(d=d+r+o),l=Math.min(d,l)}return c.height=l+"px",Pt.parentNode&&Pt.parentNode.removeChild(Pt),Pt=null,c}var Rt=n(7),Qt=n.n(Rt),Ht=n(19),Vt=r({name:"ElInput",componentName:"ElInput",mixins:[C.a,w.a],inheritAttrs:!1,inject:{elForm:{default:""},elFormItem:{default:""}},data:function(){return{textareaCalcStyle:{},hovering:!1,focused:!1,isComposing:!1,passwordVisible:!1}},props:{value:[String,Number],size:String,resize:String,form:String,disabled:Boolean,readonly:Boolean,type:{type:String,default:"text"},autosize:{type:[Boolean,Object],default:!1},autocomplete:{type:String,default:"off"},autoComplete:{type:String,validator:function(t){return!0}},validateEvent:{type:Boolean,default:!0},suffixIcon:String,prefixIcon:String,label:String,clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},tabindex:String},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},validateState:function(){return this.elFormItem?this.elFormItem.validateState:""},needStatusIcon:function(){return!!this.elForm&&this.elForm.statusIcon},validateIcon:function(){return{validating:"el-icon-loading",success:"el-icon-circle-check",error:"el-icon-circle-close"}[this.validateState]},textareaStyle:function(){return Qt()({},this.textareaCalcStyle,{resize:this.resize})},inputSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},inputDisabled:function(){return this.disabled||(this.elForm||{}).disabled},nativeInputValue:function(){return null===this.value||void 0===this.value?"":String(this.value)},showClear:function(){return this.clearable&&!this.inputDisabled&&!this.readonly&&this.nativeInputValue&&(this.focused||this.hovering)},showPwdVisible:function(){return this.showPassword&&!this.inputDisabled&&!this.readonly&&(!!this.nativeInputValue||this.focused)},isWordLimitVisible:function(){return this.showWordLimit&&this.$attrs.maxlength&&("text"===this.type||"textarea"===this.type)&&!this.inputDisabled&&!this.readonly&&!this.showPassword},upperLimit:function(){return this.$attrs.maxlength},textLength:function(){return"number"==typeof this.value?String(this.value).length:(this.value||"").length},inputExceed:function(){return this.isWordLimitVisible&&this.textLength>this.upperLimit}},watch:{value:function(t){this.$nextTick(this.resizeTextarea),this.validateEvent&&this.dispatch("ElFormItem","el.form.change",[t])},nativeInputValue:function(){this.setNativeInputValue()},type:function(){var t=this;this.$nextTick(function(){t.setNativeInputValue(),t.resizeTextarea(),t.updateIconOffset()})}},methods:{focus:function(){this.getInput().focus()},blur:function(){this.getInput().blur()},getMigratingConfig:function(){return{props:{icon:"icon is removed, use suffix-icon / prefix-icon instead.","on-icon-click":"on-icon-click is removed."},events:{click:"click is removed."}}},handleBlur:function(t){this.focused=!1,this.$emit("blur",t),this.validateEvent&&this.dispatch("ElFormItem","el.form.blur",[this.value])},select:function(){this.getInput().select()},resizeTextarea:function(){if(!this.$isServer){var t=this.autosize;if("textarea"===this.type)if(t){var e=t.minRows,n=t.maxRows;this.textareaCalcStyle=Ut(this.$refs.textarea,e,n)}else this.textareaCalcStyle={minHeight:Ut(this.$refs.textarea).minHeight}}},setNativeInputValue:function(){var t=this.getInput();t&&t.value!==this.nativeInputValue&&(t.value=this.nativeInputValue)},handleFocus:function(t){this.focused=!0,this.$emit("focus",t)},handleCompositionStart:function(){this.isComposing=!0},handleCompositionUpdate:function(t){var e=t.target.value,n=e[e.length-1]||"";this.isComposing=!Object(Ht.isKorean)(n)},handleCompositionEnd:function(t){this.isComposing&&(this.isComposing=!1,this.handleInput(t))},handleInput:function(t){this.isComposing||t.target.value!==this.nativeInputValue&&(this.$emit("input",t.target.value),this.$nextTick(this.setNativeInputValue))},handleChange:function(t){this.$emit("change",t.target.value)},calcIconOffset:function(t){var e=[].slice.call(this.$el.querySelectorAll(".el-input__"+t)||[]);if(e.length){for(var n=null,i=0;i<e.length;i++)if(e[i].parentNode===this.$el){n=e[i];break}if(n){var r={suffix:"append",prefix:"prepend"}[t];this.$slots[r]?n.style.transform="translateX("+("suffix"===t?"-":"")+this.$el.querySelector(".el-input-group__"+r).offsetWidth+"px)":n.removeAttribute("style")}}},updateIconOffset:function(){this.calcIconOffset("prefix"),this.calcIconOffset("suffix")},clear:function(){this.$emit("input",""),this.$emit("change",""),this.$emit("clear")},handlePasswordVisible:function(){this.passwordVisible=!this.passwordVisible,this.focus()},getInput:function(){return this.$refs.input||this.$refs.textarea},getSuffixVisible:function(){return this.$slots.suffix||this.suffixIcon||this.showClear||this.showPassword||this.isWordLimitVisible||this.validateState&&this.needStatusIcon}},created:function(){this.$on("inputSelect",this.select)},mounted:function(){this.setNativeInputValue(),this.resizeTextarea(),this.updateIconOffset()},updated:function(){this.$nextTick(this.updateIconOffset)}},Ft,[],!1,null,null,null);Vt.options.__file="packages/input/src/input.vue";var zt=Vt.exports;zt.install=function(t){t.component(zt.name,zt)};var $t=zt,Gt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["el-input-number",t.inputNumberSize?"el-input-number--"+t.inputNumberSize:"",{"is-disabled":t.inputNumberDisabled},{"is-without-controls":!t.controls},{"is-controls-right":t.controlsAtRight}],on:{dragstart:function(t){t.preventDefault()}}},[t.controls?n("span",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:t.decrease,expression:"decrease"}],staticClass:"el-input-number__decrease",class:{"is-disabled":t.minDisabled},attrs:{role:"button"},on:{keydown:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.decrease(e):null}}},[n("i",{class:"el-icon-"+(t.controlsAtRight?"arrow-down":"minus")})]):t._e(),t.controls?n("span",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:t.increase,expression:"increase"}],staticClass:"el-input-number__increase",class:{"is-disabled":t.maxDisabled},attrs:{role:"button"},on:{keydown:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.increase(e):null}}},[n("i",{class:"el-icon-"+(t.controlsAtRight?"arrow-up":"plus")})]):t._e(),n("el-input",{ref:"input",attrs:{value:t.displayValue,placeholder:t.placeholder,disabled:t.inputNumberDisabled,size:t.inputNumberSize,max:t.max,min:t.min,name:t.name,label:t.label},on:{blur:t.handleBlur,focus:t.handleFocus,input:t.handleInput,change:t.handleInputChange},nativeOn:{keydown:[function(e){return"button"in e||!t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])?(e.preventDefault(),t.increase(e)):null},function(e){return"button"in e||!t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])?(e.preventDefault(),t.decrease(e)):null}]}})],1)};Gt._withStripped=!0;var Wt={bind:function(t,e,n){var i=null,r=void 0,o=function(){return n.context[e.expression].apply()},a=function(){Date.now()-r<100&&o(),clearInterval(i),i=null};Object(pt.on)(t,"mousedown",function(t){0===t.button&&(r=Date.now(),Object(pt.once)(document,"mouseup",a),clearInterval(i),i=setInterval(o,100))})}},Kt=r({name:"ElInputNumber",mixins:[Q()("input")],inject:{elForm:{default:""},elFormItem:{default:""}},directives:{repeatClick:Wt},components:{ElInput:d.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(t){return t>=0&&t===parseInt(t,10)}}},data:function(){return{currentValue:0,userInput:null}},watch:{value:{immediate:!0,handler:function(t){var e=void 0===t?t:Number(t);if(void 0!==e){if(isNaN(e))return;if(this.stepStrictly){var n=this.getPrecision(this.step),i=Math.pow(10,n);e=Math.round(e/this.step)*i*this.step/i}void 0!==this.precision&&(e=this.toPrecision(e,this.precision))}e>=this.max&&(e=this.max),e<=this.min&&(e=this.min),this.currentValue=e,this.userInput=null,this.$emit("input",e)}}},computed:{minDisabled:function(){return this._decrease(this.value,this.step)<this.min},maxDisabled:function(){return this._increase(this.value,this.step)>this.max},numPrecision:function(){var t=this.value,e=this.step,n=this.getPrecision,i=this.precision,r=n(e);return void 0!==i?(r>i&&console.warn("[Element Warn][InputNumber]precision should not be less than the decimal places of step"),i):Math.max(n(t),r)},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 t=this.currentValue;if("number"==typeof t){if(this.stepStrictly){var e=this.getPrecision(this.step),n=Math.pow(10,e);t=Math.round(t/this.step)*n*this.step/n}void 0!==this.precision&&(t=t.toFixed(this.precision))}return t}},methods:{toPrecision:function(t,e){return void 0===e&&(e=this.numPrecision),parseFloat(Math.round(t*Math.pow(10,e))/Math.pow(10,e))},getPrecision:function(t){if(void 0===t)return 0;var e=t.toString(),n=e.indexOf("."),i=0;return-1!==n&&(i=e.length-n-1),i},_increase:function(t,e){if("number"!=typeof t&&void 0!==t)return this.currentValue;var n=Math.pow(10,this.numPrecision);return this.toPrecision((n*t+n*e)/n)},_decrease:function(t,e){if("number"!=typeof t&&void 0!==t)return this.currentValue;var n=Math.pow(10,this.numPrecision);return this.toPrecision((n*t-n*e)/n)},increase:function(){if(!this.inputNumberDisabled&&!this.maxDisabled){var t=this.value||0,e=this._increase(t,this.step);this.setCurrentValue(e)}},decrease:function(){if(!this.inputNumberDisabled&&!this.minDisabled){var t=this.value||0,e=this._decrease(t,this.step);this.setCurrentValue(e)}},handleBlur:function(t){this.$emit("blur",t)},handleFocus:function(t){this.$emit("focus",t)},setCurrentValue:function(t){var e=this.currentValue;"number"==typeof t&&void 0!==this.precision&&(t=this.toPrecision(t,this.precision)),t>=this.max&&(t=this.max),t<=this.min&&(t=this.min),e!==t&&(this.userInput=null,this.$emit("input",t),this.$emit("change",t,e),this.currentValue=t)},handleInput:function(t){this.userInput=t},handleInputChange:function(t){var e=""===t?void 0:Number(t);isNaN(e)&&""!==t||this.setCurrentValue(e),this.userInput=null},select:function(){this.$refs.input.select()}},mounted:function(){var t=this.$refs.input.$refs.input;t.setAttribute("role","spinbutton"),t.setAttribute("aria-valuemax",this.max),t.setAttribute("aria-valuemin",this.min),t.setAttribute("aria-valuenow",this.currentValue),t.setAttribute("aria-disabled",this.inputNumberDisabled)},updated:function(){this.$refs&&this.$refs.input&&this.$refs.input.$refs.input.setAttribute("aria-valuenow",this.currentValue)}},Gt,[],!1,null,null,null);Kt.options.__file="packages/input-number/src/input-number.vue";var Yt=Kt.exports;Yt.install=function(t){t.component(Yt.name,Yt)};var Xt=Yt,qt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("label",{staticClass:"el-radio",class:[t.border&&t.radioSize?"el-radio--"+t.radioSize:"",{"is-disabled":t.isDisabled},{"is-focus":t.focus},{"is-bordered":t.border},{"is-checked":t.model===t.label}],attrs:{role:"radio","aria-checked":t.model===t.label,"aria-disabled":t.isDisabled,tabindex:t.tabIndex},on:{keydown:function(e){if(!("button"in e)&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"]))return null;e.stopPropagation(),e.preventDefault(),t.model=t.isDisabled?t.model:t.label}}},[n("span",{staticClass:"el-radio__input",class:{"is-disabled":t.isDisabled,"is-checked":t.model===t.label}},[n("span",{staticClass:"el-radio__inner"}),n("input",{directives:[{name:"model",rawName:"v-model",value:t.model,expression:"model"}],ref:"radio",staticClass:"el-radio__original",attrs:{type:"radio","aria-hidden":"true",name:t.name,disabled:t.isDisabled,tabindex:"-1"},domProps:{value:t.label,checked:t._q(t.model,t.label)},on:{focus:function(e){t.focus=!0},blur:function(e){t.focus=!1},change:[function(e){t.model=t.label},t.handleChange]}})]),n("span",{staticClass:"el-radio__label",on:{keydown:function(t){t.stopPropagation()}}},[t._t("default"),t.$slots.default?t._e():[t._v(t._s(t.label))]],2)])};qt._withStripped=!0;var Zt=r({name:"ElRadio",mixins:[C.a],inject:{elForm:{default:""},elFormItem:{default:""}},componentName:"ElRadio",props:{value:{},label:{},disabled:Boolean,name:String,border:Boolean,size:String},data:function(){return{focus:!1}},computed:{isGroup:function(){for(var t=this.$parent;t;){if("ElRadioGroup"===t.$options.componentName)return this._radioGroup=t,!0;t=t.$parent}return!1},model:{get:function(){return this.isGroup?this._radioGroup.value:this.value},set:function(t){this.isGroup?this.dispatch("ElRadioGroup","input",[t]):this.$emit("input",t),this.$refs.radio&&(this.$refs.radio.checked=this.model===this.label)}},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},radioSize:function(){var t=this.size||this._elFormItemSize||(this.$ELEMENT||{}).size;return this.isGroup&&this._radioGroup.radioGroupSize||t},isDisabled:function(){return this.isGroup?this._radioGroup.disabled||this.disabled||(this.elForm||{}).disabled:this.disabled||(this.elForm||{}).disabled},tabIndex:function(){return this.isDisabled||this.isGroup&&this.model!==this.label?-1:0}},methods:{handleChange:function(){var t=this;this.$nextTick(function(){t.$emit("change",t.model),t.isGroup&&t.dispatch("ElRadioGroup","handleChange",t.model)})}}},qt,[],!1,null,null,null);Zt.options.__file="packages/radio/src/radio.vue";var Jt=Zt.exports;Jt.install=function(t){t.component(Jt.name,Jt)};var te=Jt,ee=function(){var t=this.$createElement;return(this._self._c||t)(this._elTag,{tag:"component",staticClass:"el-radio-group",attrs:{role:"radiogroup"},on:{keydown:this.handleKeydown}},[this._t("default")],2)};ee._withStripped=!0;var ne=Object.freeze({LEFT:37,UP:38,RIGHT:39,DOWN:40}),ie=r({name:"ElRadioGroup",componentName:"ElRadioGroup",inject:{elFormItem:{default:""}},mixins:[C.a],props:{value:{},size:String,fill:String,textColor:String,disabled:Boolean},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},_elTag:function(){return(this.$vnode.data||{}).tag||"div"},radioGroupSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size}},created:function(){var t=this;this.$on("handleChange",function(e){t.$emit("change",e)})},mounted:function(){var t=this.$el.querySelectorAll("[type=radio]"),e=this.$el.querySelectorAll("[role=radio]")[0];![].some.call(t,function(t){return t.checked})&&e&&(e.tabIndex=0)},methods:{handleKeydown:function(t){var e=t.target,n="INPUT"===e.nodeName?"[type=radio]":"[role=radio]",i=this.$el.querySelectorAll(n),r=i.length,o=[].indexOf.call(i,e),a=this.$el.querySelectorAll("[role=radio]");switch(t.keyCode){case ne.LEFT:case ne.UP:t.stopPropagation(),t.preventDefault(),0===o?(a[r-1].click(),a[r-1].focus()):(a[o-1].click(),a[o-1].focus());break;case ne.RIGHT:case ne.DOWN:o===r-1?(t.stopPropagation(),t.preventDefault(),a[0].click(),a[0].focus()):(a[o+1].click(),a[o+1].focus())}}},watch:{value:function(t){this.dispatch("ElFormItem","el.form.change",[this.value])}}},ee,[],!1,null,null,null);ie.options.__file="packages/radio/src/radio-group.vue";var re=ie.exports;re.install=function(t){t.component(re.name,re)};var oe=re,ae=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("label",{staticClass:"el-radio-button",class:[t.size?"el-radio-button--"+t.size:"",{"is-active":t.value===t.label},{"is-disabled":t.isDisabled},{"is-focus":t.focus}],attrs:{role:"radio","aria-checked":t.value===t.label,"aria-disabled":t.isDisabled,tabindex:t.tabIndex},on:{keydown:function(e){if(!("button"in e)&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"]))return null;e.stopPropagation(),e.preventDefault(),t.value=t.isDisabled?t.value:t.label}}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.value,expression:"value"}],staticClass:"el-radio-button__orig-radio",attrs:{type:"radio",name:t.name,disabled:t.isDisabled,tabindex:"-1"},domProps:{value:t.label,checked:t._q(t.value,t.label)},on:{change:[function(e){t.value=t.label},t.handleChange],focus:function(e){t.focus=!0},blur:function(e){t.focus=!1}}}),n("span",{staticClass:"el-radio-button__inner",style:t.value===t.label?t.activeStyle:null,on:{keydown:function(t){t.stopPropagation()}}},[t._t("default"),t.$slots.default?t._e():[t._v(t._s(t.label))]],2)])};ae._withStripped=!0;var se=r({name:"ElRadioButton",mixins:[C.a],inject:{elForm:{default:""},elFormItem:{default:""}},props:{label:{},disabled:Boolean,name:String},data:function(){return{focus:!1}},computed:{value:{get:function(){return this._radioGroup.value},set:function(t){this._radioGroup.$emit("input",t)}},_radioGroup:function(){for(var t=this.$parent;t;){if("ElRadioGroup"===t.$options.componentName)return t;t=t.$parent}return!1},activeStyle:function(){return{backgroundColor:this._radioGroup.fill||"",borderColor:this._radioGroup.fill||"",boxShadow:this._radioGroup.fill?"-1px 0 0 0 "+this._radioGroup.fill:"",color:this._radioGroup.textColor||""}},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},size:function(){return this._radioGroup.radioGroupSize||this._elFormItemSize||(this.$ELEMENT||{}).size},isDisabled:function(){return this.disabled||this._radioGroup.disabled||(this.elForm||{}).disabled},tabIndex:function(){return this.isDisabled||this._radioGroup&&this.value!==this.label?-1:0}},methods:{handleChange:function(){var t=this;this.$nextTick(function(){t.dispatch("ElRadioGroup","handleChange",t.value)})}}},ae,[],!1,null,null,null);se.options.__file="packages/radio/src/radio-button.vue";var le=se.exports;le.install=function(t){t.component(le.name,le)};var ce=le,ue=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("label",{staticClass:"el-checkbox",class:[t.border&&t.checkboxSize?"el-checkbox--"+t.checkboxSize:"",{"is-disabled":t.isDisabled},{"is-bordered":t.border},{"is-checked":t.isChecked}],attrs:{id:t.id}},[n("span",{staticClass:"el-checkbox__input",class:{"is-disabled":t.isDisabled,"is-checked":t.isChecked,"is-indeterminate":t.indeterminate,"is-focus":t.focus},attrs:{tabindex:!!t.indeterminate&&0,role:!!t.indeterminate&&"checkbox","aria-checked":!!t.indeterminate&&"mixed"}},[n("span",{staticClass:"el-checkbox__inner"}),t.trueLabel||t.falseLabel?n("input",{directives:[{name:"model",rawName:"v-model",value:t.model,expression:"model"}],staticClass:"el-checkbox__original",attrs:{type:"checkbox","aria-hidden":t.indeterminate?"true":"false",name:t.name,disabled:t.isDisabled,"true-value":t.trueLabel,"false-value":t.falseLabel},domProps:{checked:Array.isArray(t.model)?t._i(t.model,null)>-1:t._q(t.model,t.trueLabel)},on:{change:[function(e){var n=t.model,i=e.target,r=i.checked?t.trueLabel:t.falseLabel;if(Array.isArray(n)){var o=t._i(n,null);i.checked?o<0&&(t.model=n.concat([null])):o>-1&&(t.model=n.slice(0,o).concat(n.slice(o+1)))}else t.model=r},t.handleChange],focus:function(e){t.focus=!0},blur:function(e){t.focus=!1}}}):n("input",{directives:[{name:"model",rawName:"v-model",value:t.model,expression:"model"}],staticClass:"el-checkbox__original",attrs:{type:"checkbox","aria-hidden":t.indeterminate?"true":"false",disabled:t.isDisabled,name:t.name},domProps:{value:t.label,checked:Array.isArray(t.model)?t._i(t.model,t.label)>-1:t.model},on:{change:[function(e){var n=t.model,i=e.target,r=!!i.checked;if(Array.isArray(n)){var o=t.label,a=t._i(n,o);i.checked?a<0&&(t.model=n.concat([o])):a>-1&&(t.model=n.slice(0,a).concat(n.slice(a+1)))}else t.model=r},t.handleChange],focus:function(e){t.focus=!0},blur:function(e){t.focus=!1}}})]),t.$slots.default||t.label?n("span",{staticClass:"el-checkbox__label"},[t._t("default"),t.$slots.default?t._e():[t._v(t._s(t.label))]],2):t._e()])};ue._withStripped=!0;var he=r({name:"ElCheckbox",mixins:[C.a],inject:{elForm:{default:""},elFormItem:{default:""}},componentName:"ElCheckbox",data:function(){return{selfModel:!1,focus:!1,isLimitExceeded:!1}},computed:{model:{get:function(){return this.isGroup?this.store:void 0!==this.value?this.value:this.selfModel},set:function(t){this.isGroup?(this.isLimitExceeded=!1,void 0!==this._checkboxGroup.min&&t.length<this._checkboxGroup.min&&(this.isLimitExceeded=!0),void 0!==this._checkboxGroup.max&&t.length>this._checkboxGroup.max&&(this.isLimitExceeded=!0),!1===this.isLimitExceeded&&this.dispatch("ElCheckboxGroup","input",[t])):(this.$emit("input",t),this.selfModel=t)}},isChecked:function(){return"[object Boolean]"==={}.toString.call(this.model)?this.model:Array.isArray(this.model)?this.model.indexOf(this.label)>-1:null!==this.model&&void 0!==this.model?this.model===this.trueLabel:void 0},isGroup:function(){for(var t=this.$parent;t;){if("ElCheckboxGroup"===t.$options.componentName)return this._checkboxGroup=t,!0;t=t.$parent}return!1},store:function(){return this._checkboxGroup?this._checkboxGroup.value:this.value},isLimitDisabled:function(){var t=this._checkboxGroup,e=t.max,n=t.min;return!(!e&&!n)&&this.model.length>=e&&!this.isChecked||this.model.length<=n&&this.isChecked},isDisabled:function(){return this.isGroup?this._checkboxGroup.disabled||this.disabled||(this.elForm||{}).disabled||this.isLimitDisabled:this.disabled||(this.elForm||{}).disabled},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},checkboxSize:function(){var t=this.size||this._elFormItemSize||(this.$ELEMENT||{}).size;return this.isGroup&&this._checkboxGroup.checkboxGroupSize||t}},props:{value:{},label:{},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:String,trueLabel:[String,Number],falseLabel:[String,Number],id:String,controls:String,border:Boolean,size:String},methods:{addToStore:function(){Array.isArray(this.model)&&-1===this.model.indexOf(this.label)?this.model.push(this.label):this.model=this.trueLabel||!0},handleChange:function(t){var e=this;if(!this.isLimitExceeded){var n=void 0;n=t.target.checked?void 0===this.trueLabel||this.trueLabel:void 0!==this.falseLabel&&this.falseLabel,this.$emit("change",n,t),this.$nextTick(function(){e.isGroup&&e.dispatch("ElCheckboxGroup","change",[e._checkboxGroup.value])})}}},created:function(){this.checked&&this.addToStore()},mounted:function(){this.indeterminate&&this.$el.setAttribute("aria-controls",this.controls)},watch:{value:function(t){this.dispatch("ElFormItem","el.form.change",t)}}},ue,[],!1,null,null,null);he.options.__file="packages/checkbox/src/checkbox.vue";var de=he.exports;de.install=function(t){t.component(de.name,de)};var fe=de,pe=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("label",{staticClass:"el-checkbox-button",class:[t.size?"el-checkbox-button--"+t.size:"",{"is-disabled":t.isDisabled},{"is-checked":t.isChecked},{"is-focus":t.focus}],attrs:{role:"checkbox","aria-checked":t.isChecked,"aria-disabled":t.isDisabled}},[t.trueLabel||t.falseLabel?n("input",{directives:[{name:"model",rawName:"v-model",value:t.model,expression:"model"}],staticClass:"el-checkbox-button__original",attrs:{type:"checkbox",name:t.name,disabled:t.isDisabled,"true-value":t.trueLabel,"false-value":t.falseLabel},domProps:{checked:Array.isArray(t.model)?t._i(t.model,null)>-1:t._q(t.model,t.trueLabel)},on:{change:[function(e){var n=t.model,i=e.target,r=i.checked?t.trueLabel:t.falseLabel;if(Array.isArray(n)){var o=t._i(n,null);i.checked?o<0&&(t.model=n.concat([null])):o>-1&&(t.model=n.slice(0,o).concat(n.slice(o+1)))}else t.model=r},t.handleChange],focus:function(e){t.focus=!0},blur:function(e){t.focus=!1}}}):n("input",{directives:[{name:"model",rawName:"v-model",value:t.model,expression:"model"}],staticClass:"el-checkbox-button__original",attrs:{type:"checkbox",name:t.name,disabled:t.isDisabled},domProps:{value:t.label,checked:Array.isArray(t.model)?t._i(t.model,t.label)>-1:t.model},on:{change:[function(e){var n=t.model,i=e.target,r=!!i.checked;if(Array.isArray(n)){var o=t.label,a=t._i(n,o);i.checked?a<0&&(t.model=n.concat([o])):a>-1&&(t.model=n.slice(0,a).concat(n.slice(a+1)))}else t.model=r},t.handleChange],focus:function(e){t.focus=!0},blur:function(e){t.focus=!1}}}),t.$slots.default||t.label?n("span",{staticClass:"el-checkbox-button__inner",style:t.isChecked?t.activeStyle:null},[t._t("default",[t._v(t._s(t.label))])],2):t._e()])};pe._withStripped=!0;var Ae=r({name:"ElCheckboxButton",mixins:[C.a],inject:{elForm:{default:""},elFormItem:{default:""}},data:function(){return{selfModel:!1,focus:!1,isLimitExceeded:!1}},props:{value:{},label:{},disabled:Boolean,checked:Boolean,name:String,trueLabel:[String,Number],falseLabel:[String,Number]},computed:{model:{get:function(){return this._checkboxGroup?this.store:void 0!==this.value?this.value:this.selfModel},set:function(t){this._checkboxGroup?(this.isLimitExceeded=!1,void 0!==this._checkboxGroup.min&&t.length<this._checkboxGroup.min&&(this.isLimitExceeded=!0),void 0!==this._checkboxGroup.max&&t.length>this._checkboxGroup.max&&(this.isLimitExceeded=!0),!1===this.isLimitExceeded&&this.dispatch("ElCheckboxGroup","input",[t])):void 0!==this.value?this.$emit("input",t):this.selfModel=t}},isChecked:function(){return"[object Boolean]"==={}.toString.call(this.model)?this.model:Array.isArray(this.model)?this.model.indexOf(this.label)>-1:null!==this.model&&void 0!==this.model?this.model===this.trueLabel:void 0},_checkboxGroup:function(){for(var t=this.$parent;t;){if("ElCheckboxGroup"===t.$options.componentName)return t;t=t.$parent}return!1},store:function(){return this._checkboxGroup?this._checkboxGroup.value:this.value},activeStyle:function(){return{backgroundColor:this._checkboxGroup.fill||"",borderColor:this._checkboxGroup.fill||"",color:this._checkboxGroup.textColor||"","box-shadow":"-1px 0 0 0 "+this._checkboxGroup.fill}},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},size:function(){return this._checkboxGroup.checkboxGroupSize||this._elFormItemSize||(this.$ELEMENT||{}).size},isLimitDisabled:function(){var t=this._checkboxGroup,e=t.max,n=t.min;return!(!e&&!n)&&this.model.length>=e&&!this.isChecked||this.model.length<=n&&this.isChecked},isDisabled:function(){return this._checkboxGroup?this._checkboxGroup.disabled||this.disabled||(this.elForm||{}).disabled||this.isLimitDisabled:this.disabled||(this.elForm||{}).disabled}},methods:{addToStore:function(){Array.isArray(this.model)&&-1===this.model.indexOf(this.label)?this.model.push(this.label):this.model=this.trueLabel||!0},handleChange:function(t){var e=this;if(!this.isLimitExceeded){var n=void 0;n=t.target.checked?void 0===this.trueLabel||this.trueLabel:void 0!==this.falseLabel&&this.falseLabel,this.$emit("change",n,t),this.$nextTick(function(){e._checkboxGroup&&e.dispatch("ElCheckboxGroup","change",[e._checkboxGroup.value])})}}},created:function(){this.checked&&this.addToStore()}},pe,[],!1,null,null,null);Ae.options.__file="packages/checkbox/src/checkbox-button.vue";var ge=Ae.exports;ge.install=function(t){t.component(ge.name,ge)};var ve=ge,me=function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"el-checkbox-group",attrs:{role:"group","aria-label":"checkbox-group"}},[this._t("default")],2)};me._withStripped=!0;var ye=r({name:"ElCheckboxGroup",componentName:"ElCheckboxGroup",mixins:[C.a],inject:{elFormItem:{default:""}},props:{value:{},disabled:Boolean,min:Number,max:Number,size:String,fill:String,textColor:String},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},checkboxGroupSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size}},watch:{value:function(t){this.dispatch("ElFormItem","el.form.change",[t])}}},me,[],!1,null,null,null);ye.options.__file="packages/checkbox/src/checkbox-group.vue";var be=ye.exports;be.install=function(t){t.component(be.name,be)};var _e=be,we=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"el-switch",class:{"is-disabled":t.switchDisabled,"is-checked":t.checked},attrs:{role:"switch","aria-checked":t.checked,"aria-disabled":t.switchDisabled},on:{click:function(e){return e.preventDefault(),t.switchValue(e)}}},[n("input",{ref:"input",staticClass:"el-switch__input",attrs:{type:"checkbox",id:t.id,name:t.name,"true-value":t.activeValue,"false-value":t.inactiveValue,disabled:t.switchDisabled},on:{change:t.handleChange,keydown:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.switchValue(e):null}}}),t.inactiveIconClass||t.inactiveText?n("span",{class:["el-switch__label","el-switch__label--left",t.checked?"":"is-active"]},[t.inactiveIconClass?n("i",{class:[t.inactiveIconClass]}):t._e(),!t.inactiveIconClass&&t.inactiveText?n("span",{attrs:{"aria-hidden":t.checked}},[t._v(t._s(t.inactiveText))]):t._e()]):t._e(),n("span",{ref:"core",staticClass:"el-switch__core",style:{width:t.coreWidth+"px"}}),t.activeIconClass||t.activeText?n("span",{class:["el-switch__label","el-switch__label--right",t.checked?"is-active":""]},[t.activeIconClass?n("i",{class:[t.activeIconClass]}):t._e(),!t.activeIconClass&&t.activeText?n("span",{attrs:{"aria-hidden":!t.checked}},[t._v(t._s(t.activeText))]):t._e()]):t._e()])};we._withStripped=!0;var xe=r({name:"ElSwitch",mixins:[Q()("input"),w.a,C.a],inject:{elForm:{default:""}},props:{value:{type:[Boolean,String,Number],default:!1},disabled:{type:Boolean,default:!1},width:{type:Number,default:40},activeIconClass:{type:String,default:""},inactiveIconClass:{type:String,default:""},activeText:String,inactiveText:String,activeColor:{type:String,default:""},inactiveColor:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},id:String},data:function(){return{coreWidth:this.width}},created:function(){~[this.activeValue,this.inactiveValue].indexOf(this.value)||this.$emit("input",this.inactiveValue)},computed:{checked:function(){return this.value===this.activeValue},switchDisabled:function(){return this.disabled||(this.elForm||{}).disabled}},watch:{checked:function(){this.$refs.input.checked=this.checked,(this.activeColor||this.inactiveColor)&&this.setBackgroundColor(),this.validateEvent&&this.dispatch("ElFormItem","el.form.change",[this.value])}},methods:{handleChange:function(t){var e=this,n=this.checked?this.inactiveValue:this.activeValue;this.$emit("input",n),this.$emit("change",n),this.$nextTick(function(){e.$refs.input.checked=e.checked})},setBackgroundColor:function(){var t=this.checked?this.activeColor:this.inactiveColor;this.$refs.core.style.borderColor=t,this.$refs.core.style.backgroundColor=t},switchValue:function(){!this.switchDisabled&&this.handleChange()},getMigratingConfig:function(){return{props:{"on-color":"on-color is renamed to active-color.","off-color":"off-color is renamed to inactive-color.","on-text":"on-text is renamed to active-text.","off-text":"off-text is renamed to inactive-text.","on-value":"on-value is renamed to active-value.","off-value":"off-value is renamed to inactive-value.","on-icon-class":"on-icon-class is renamed to active-icon-class.","off-icon-class":"off-icon-class is renamed to inactive-icon-class."}}}},mounted:function(){this.coreWidth=this.width||40,(this.activeColor||this.inactiveColor)&&this.setBackgroundColor(),this.$refs.input.checked=this.checked}},we,[],!1,null,null,null);xe.options.__file="packages/switch/src/component.vue";var Ce=xe.exports;Ce.install=function(t){t.component(Ce.name,Ce)};var Se=Ce,Be=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:t.handleClose,expression:"handleClose"}],staticClass:"el-select",class:[t.selectSize?"el-select--"+t.selectSize:""],on:{click:function(e){return e.stopPropagation(),t.toggleMenu(e)}}},[t.multiple?n("div",{ref:"tags",staticClass:"el-select__tags",style:{"max-width":t.inputWidth-32+"px",width:"100%"}},[t.collapseTags&&t.selected.length?n("span",[n("el-tag",{attrs:{closable:!t.selectDisabled,size:t.collapseTagSize,hit:t.selected[0].hitState,type:"info","disable-transitions":""},on:{close:function(e){t.deleteTag(e,t.selected[0])}}},[n("span",{staticClass:"el-select__tags-text"},[t._v(t._s(t.selected[0].currentLabel))])]),t.selected.length>1?n("el-tag",{attrs:{closable:!1,size:t.collapseTagSize,type:"info","disable-transitions":""}},[n("span",{staticClass:"el-select__tags-text"},[t._v("+ "+t._s(t.selected.length-1))])]):t._e()],1):t._e(),t.collapseTags?t._e():n("transition-group",{on:{"after-leave":t.resetInputHeight}},t._l(t.selected,function(e){return n("el-tag",{key:t.getValueKey(e),attrs:{closable:!t.selectDisabled,size:t.collapseTagSize,hit:e.hitState,type:"info","disable-transitions":""},on:{close:function(n){t.deleteTag(n,e)}}},[n("span",{staticClass:"el-select__tags-text"},[t._v(t._s(e.currentLabel))])])}),1),t.filterable?n("input",{directives:[{name:"model",rawName:"v-model",value:t.query,expression:"query"}],ref:"input",staticClass:"el-select__input",class:[t.selectSize?"is-"+t.selectSize:""],style:{"flex-grow":"1",width:t.inputLength/(t.inputWidth-32)+"%","max-width":t.inputWidth-42+"px"},attrs:{type:"text",disabled:t.selectDisabled,autocomplete:t.autoComplete||t.autocomplete},domProps:{value:t.query},on:{focus:t.handleFocus,blur:function(e){t.softFocus=!1},keyup:t.managePlaceholder,keydown:[t.resetInputState,function(e){if(!("button"in e)&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"]))return null;e.preventDefault(),t.navigateOptions("next")},function(e){if(!("button"in e)&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"]))return null;e.preventDefault(),t.navigateOptions("prev")},function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?(e.preventDefault(),t.selectOption(e)):null},function(e){if(!("button"in e)&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"]))return null;e.stopPropagation(),e.preventDefault(),t.visible=!1},function(e){return"button"in e||!t._k(e.keyCode,"delete",[8,46],e.key,["Backspace","Delete","Del"])?t.deletePrevTag(e):null},function(e){if(!("button"in e)&&t._k(e.keyCode,"tab",9,e.key,"Tab"))return null;t.visible=!1}],compositionstart:t.handleComposition,compositionupdate:t.handleComposition,compositionend:t.handleComposition,input:[function(e){e.target.composing||(t.query=e.target.value)},t.debouncedQueryChange]}}):t._e()],1):t._e(),n("el-input",{ref:"reference",class:{"is-focus":t.visible},attrs:{type:"text",placeholder:t.currentPlaceholder,name:t.name,id:t.id,autocomplete:t.autoComplete||t.autocomplete,size:t.selectSize,disabled:t.selectDisabled,readonly:t.readonly,"validate-event":!1,tabindex:t.multiple&&t.filterable?"-1":null},on:{focus:t.handleFocus,blur:t.handleBlur},nativeOn:{keyup:function(e){return t.debouncedOnInputChange(e)},keydown:[function(e){if(!("button"in e)&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"]))return null;e.stopPropagation(),e.preventDefault(),t.navigateOptions("next")},function(e){if(!("button"in e)&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"]))return null;e.stopPropagation(),e.preventDefault(),t.navigateOptions("prev")},function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?(e.preventDefault(),t.selectOption(e)):null},function(e){if(!("button"in e)&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"]))return null;e.stopPropagation(),e.preventDefault(),t.visible=!1},function(e){if(!("button"in e)&&t._k(e.keyCode,"tab",9,e.key,"Tab"))return null;t.visible=!1}],paste:function(e){return t.debouncedOnInputChange(e)},mouseenter:function(e){t.inputHovering=!0},mouseleave:function(e){t.inputHovering=!1}},model:{value:t.selectedLabel,callback:function(e){t.selectedLabel=e},expression:"selectedLabel"}},[t.$slots.prefix?n("template",{slot:"prefix"},[t._t("prefix")],2):t._e(),n("template",{slot:"suffix"},[n("i",{directives:[{name:"show",rawName:"v-show",value:!t.showClose,expression:"!showClose"}],class:["el-select__caret","el-input__icon","el-icon-"+t.iconClass]}),t.showClose?n("i",{staticClass:"el-select__caret el-input__icon el-icon-circle-close",on:{click:t.handleClearClick}}):t._e()])],2),n("transition",{attrs:{name:"el-zoom-in-top"},on:{"before-enter":t.handleMenuEnter,"after-leave":t.doDestroy}},[n("el-select-menu",{directives:[{name:"show",rawName:"v-show",value:t.visible&&!1!==t.emptyText,expression:"visible && emptyText !== false"}],ref:"popper",attrs:{"append-to-body":t.popperAppendToBody}},[n("el-scrollbar",{directives:[{name:"show",rawName:"v-show",value:t.options.length>0&&!t.loading,expression:"options.length > 0 && !loading"}],ref:"scrollbar",class:{"is-empty":!t.allowCreate&&t.query&&0===t.filteredOptionsCount},attrs:{tag:"ul","wrap-class":"el-select-dropdown__wrap","view-class":"el-select-dropdown__list"}},[t.showNewOption?n("el-option",{attrs:{value:t.query,created:""}}):t._e(),t._t("default")],2),t.emptyText&&(!t.allowCreate||t.loading||t.allowCreate&&0===t.options.length)?[t.$slots.empty?t._t("empty"):n("p",{staticClass:"el-select-dropdown__empty"},[t._v("\n "+t._s(t.emptyText)+"\n ")])]:t._e()],2)],1)],1)};Be._withStripped=!0;var ke=function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"el-select-dropdown el-popper",class:[{"is-multiple":this.$parent.multiple},this.popperClass],style:{minWidth:this.minWidth}},[this._t("default")],2)};ke._withStripped=!0;var Te=r({name:"ElSelectDropdown",componentName:"ElSelectDropdown",mixins:[F.a],props:{placement:{default:"bottom-start"},boundariesPadding:{default:0},popperOptions:{default:function(){return{gpuAcceleration:!1}}},visibleArrow:{default:!0},appendToBody:{type:Boolean,default:!0}},data:function(){return{minWidth:""}},computed:{popperClass:function(){return this.$parent.popperClass}},watch:{"$parent.inputWidth":function(){this.minWidth=this.$parent.$el.getBoundingClientRect().width+"px"}},mounted:function(){var t=this;this.referenceElm=this.$parent.$refs.reference.$el,this.$parent.popperElm=this.popperElm=this.$el,this.$on("updatePopper",function(){t.$parent.visible&&t.updatePopper()}),this.$on("destroyPopper",this.destroyPopper)}},ke,[],!1,null,null,null);Te.options.__file="packages/select/src/select-dropdown.vue";var Oe=Te.exports,Ee=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"el-select-dropdown__item",class:{selected:t.itemSelected,"is-disabled":t.disabled||t.groupDisabled||t.limitReached,hover:t.hover},on:{mouseenter:t.hoverItem,click:function(e){return e.stopPropagation(),t.selectOptionClick(e)}}},[t._t("default",[n("span",[t._v(t._s(t.currentLabel))])])],2)};Ee._withStripped=!0;var Ie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Me=r({mixins:[C.a],name:"ElOption",componentName:"ElOption",inject:["select"],props:{value:{required:!0},label:[String,Number],created:Boolean,disabled:{type:Boolean,default:!1}},data:function(){return{index:-1,groupDisabled:!1,visible:!0,hitState:!1,hover:!1}},computed:{isObject:function(){return"[object object]"===Object.prototype.toString.call(this.value).toLowerCase()},currentLabel:function(){return this.label||(this.isObject?"":this.value)},currentValue:function(){return this.value||this.label||""},itemSelected:function(){return this.select.multiple?this.contains(this.select.value,this.value):this.isEqual(this.value,this.select.value)},limitReached:function(){return!!this.select.multiple&&(!this.itemSelected&&(this.select.value||[]).length>=this.select.multipleLimit&&this.select.multipleLimit>0)}},watch:{currentLabel:function(){this.created||this.select.remote||this.dispatch("ElSelect","setSelected")},value:function(t,e){var n=this.select,i=n.remote,r=n.valueKey;if(!this.created&&!i){if(r&&"object"===(void 0===t?"undefined":Ie(t))&&"object"===(void 0===e?"undefined":Ie(e))&&t[r]===e[r])return;this.dispatch("ElSelect","setSelected")}}},methods:{isEqual:function(t,e){if(this.isObject){var n=this.select.valueKey;return Object(A.getValueByPath)(t,n)===Object(A.getValueByPath)(e,n)}return t===e},contains:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments[1];if(this.isObject){var n=this.select.valueKey;return t&&t.some(function(t){return Object(A.getValueByPath)(t,n)===Object(A.getValueByPath)(e,n)})}return t&&t.indexOf(e)>-1},handleGroupDisabled:function(t){this.groupDisabled=t},hoverItem:function(){this.disabled||this.groupDisabled||(this.select.hoverIndex=this.select.options.indexOf(this))},selectOptionClick:function(){!0!==this.disabled&&!0!==this.groupDisabled&&this.dispatch("ElSelect","handleOptionClick",[this,!0])},queryChange:function(t){this.visible=new RegExp(Object(A.escapeRegexpString)(t),"i").test(this.currentLabel)||this.created,this.visible||this.select.filteredOptionsCount--}},created:function(){this.select.options.push(this),this.select.cachedOptions.push(this),this.select.optionsCount++,this.select.filteredOptionsCount++,this.$on("queryChange",this.queryChange),this.$on("handleGroupDisabled",this.handleGroupDisabled)},beforeDestroy:function(){var t=this.select,e=t.selected,n=t.multiple?e:[e],i=this.select.cachedOptions.indexOf(this),r=n.indexOf(this);i>-1&&r<0&&this.select.cachedOptions.splice(i,1),this.select.onOptionDestroy(this.select.options.indexOf(this))}},Ee,[],!1,null,null,null);Me.options.__file="packages/select/src/option.vue";var De=Me.exports,Le=n(29),Fe=n.n(Le),Pe=n(12),Ne=n(27),je=n.n(Ne),Ue=r({mixins:[C.a,p.a,Q()("reference"),{data:function(){return{hoverOption:-1}},computed:{optionsAllDisabled:function(){return this.options.filter(function(t){return t.visible}).every(function(t){return t.disabled})}},watch:{hoverIndex:function(t){var e=this;"number"==typeof t&&t>-1&&(this.hoverOption=this.options[t]||{}),this.options.forEach(function(t){t.hover=e.hoverOption===t})}},methods:{navigateOptions:function(t){var e=this;if(this.visible){if(0!==this.options.length&&0!==this.filteredOptionsCount&&!this.optionsAllDisabled){"next"===t?(this.hoverIndex++,this.hoverIndex===this.options.length&&(this.hoverIndex=0)):"prev"===t&&(this.hoverIndex--,this.hoverIndex<0&&(this.hoverIndex=this.options.length-1));var n=this.options[this.hoverIndex];!0!==n.disabled&&!0!==n.groupDisabled&&n.visible||this.navigateOptions(t),this.$nextTick(function(){return e.scrollToOption(e.hoverOption)})}}else this.visible=!0}}}],name:"ElSelect",componentName:"ElSelect",inject:{elForm:{default:""},elFormItem:{default:""}},provide:function(){return{select:this}},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},readonly:function(){return!this.filterable||this.multiple||!Object(A.isIE)()&&!Object(A.isEdge)()&&!this.visible},showClose:function(){var t=this.multiple?Array.isArray(this.value)&&this.value.length>0:void 0!==this.value&&null!==this.value&&""!==this.value;return this.clearable&&!this.selectDisabled&&this.inputHovering&&t},iconClass:function(){return this.remote&&this.filterable?"":this.visible?"arrow-up is-reverse":"arrow-up"},debounce:function(){return this.remote?300:0},emptyText:function(){return this.loading?this.loadingText||this.t("el.select.loading"):(!this.remote||""!==this.query||0!==this.options.length)&&(this.filterable&&this.query&&this.options.length>0&&0===this.filteredOptionsCount?this.noMatchText||this.t("el.select.noMatch"):0===this.options.length?this.noDataText||this.t("el.select.noData"):null)},showNewOption:function(){var t=this,e=this.options.filter(function(t){return!t.created}).some(function(e){return e.currentLabel===t.query});return this.filterable&&this.allowCreate&&""!==this.query&&!e},selectSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},selectDisabled:function(){return this.disabled||(this.elForm||{}).disabled},collapseTagSize:function(){return["small","mini"].indexOf(this.selectSize)>-1?"mini":"small"},propPlaceholder:function(){return void 0!==this.placeholder?this.placeholder:this.t("el.select.placeholder")}},components:{ElInput:d.a,ElSelectMenu:Oe,ElOption:De,ElTag:Fe.a,ElScrollbar:N.a},directives:{Clickoutside:M.a},props:{name:String,id:String,value:{required:!0},autocomplete:{type:String,default:"off"},autoComplete:{type:String,validator:function(t){return!0}},automaticDropdown:Boolean,size:String,disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:String,remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod:Function,multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String,required:!1},defaultFirstOption:Boolean,reserveKeyword:Boolean,valueKey:{type:String,default:"value"},collapseTags:Boolean,popperAppendToBody:{type:Boolean,default:!0}},data:function(){return{options:[],cachedOptions:[],createdLabel:null,createdSelected:!1,selected:this.multiple?[]:{},inputLength:20,inputWidth:0,initialInputHeight:0,cachedPlaceHolder:"",optionsCount:0,filteredOptionsCount:0,visible:!1,softFocus:!1,selectedLabel:"",hoverIndex:-1,query:"",previousQuery:null,inputHovering:!1,currentPlaceholder:"",menuVisibleOnFocus:!1,isOnComposition:!1,isSilentBlur:!1}},watch:{selectDisabled:function(){var t=this;this.$nextTick(function(){t.resetInputHeight()})},propPlaceholder:function(t){this.cachedPlaceHolder=this.currentPlaceholder=t},value:function(t,e){this.multiple&&(this.resetInputHeight(),t&&t.length>0||this.$refs.input&&""!==this.query?this.currentPlaceholder="":this.currentPlaceholder=this.cachedPlaceHolder,this.filterable&&!this.reserveKeyword&&(this.query="",this.handleQueryChange(this.query))),this.setSelected(),this.filterable&&!this.multiple&&(this.inputLength=20),Object(A.valueEquals)(t,e)||this.dispatch("ElFormItem","el.form.change",t)},visible:function(t){var e=this;t?(this.broadcast("ElSelectDropdown","updatePopper"),this.filterable&&(this.query=this.remote?"":this.selectedLabel,this.handleQueryChange(this.query),this.multiple?this.$refs.input.focus():(this.remote||(this.broadcast("ElOption","queryChange",""),this.broadcast("ElOptionGroup","queryChange")),this.selectedLabel&&(this.currentPlaceholder=this.selectedLabel,this.selectedLabel="")))):(this.broadcast("ElSelectDropdown","destroyPopper"),this.$refs.input&&this.$refs.input.blur(),this.query="",this.previousQuery=null,this.selectedLabel="",this.inputLength=20,this.menuVisibleOnFocus=!1,this.resetHoverIndex(),this.$nextTick(function(){e.$refs.input&&""===e.$refs.input.value&&0===e.selected.length&&(e.currentPlaceholder=e.cachedPlaceHolder)}),this.multiple||(this.selected&&(this.filterable&&this.allowCreate&&this.createdSelected&&this.createdLabel?this.selectedLabel=this.createdLabel:this.selectedLabel=this.selected.currentLabel,this.filterable&&(this.query=this.selectedLabel)),this.filterable&&(this.currentPlaceholder=this.cachedPlaceHolder))),this.$emit("visible-change",t)},options:function(){var t=this;if(!this.$isServer){this.$nextTick(function(){t.broadcast("ElSelectDropdown","updatePopper")}),this.multiple&&this.resetInputHeight();var e=this.$el.querySelectorAll("input");-1===[].indexOf.call(e,document.activeElement)&&this.setSelected(),this.defaultFirstOption&&(this.filterable||this.remote)&&this.filteredOptionsCount&&this.checkDefaultFirstOption()}}},methods:{handleComposition:function(t){var e=this,n=t.target.value;if("compositionend"===t.type)this.isOnComposition=!1,this.$nextTick(function(t){return e.handleQueryChange(n)});else{var i=n[n.length-1]||"";this.isOnComposition=!Object(Ht.isKorean)(i)}},handleQueryChange:function(t){var e=this;this.previousQuery===t||this.isOnComposition||(null!==this.previousQuery||"function"!=typeof this.filterMethod&&"function"!=typeof this.remoteMethod?(this.previousQuery=t,this.$nextTick(function(){e.visible&&e.broadcast("ElSelectDropdown","updatePopper")}),this.hoverIndex=-1,this.multiple&&this.filterable&&this.$nextTick(function(){var t=15*e.$refs.input.value.length+20;e.inputLength=e.collapseTags?Math.min(50,t):t,e.managePlaceholder(),e.resetInputHeight()}),this.remote&&"function"==typeof this.remoteMethod?(this.hoverIndex=-1,this.remoteMethod(t)):"function"==typeof this.filterMethod?(this.filterMethod(t),this.broadcast("ElOptionGroup","queryChange")):(this.filteredOptionsCount=this.optionsCount,this.broadcast("ElOption","queryChange",t),this.broadcast("ElOptionGroup","queryChange")),this.defaultFirstOption&&(this.filterable||this.remote)&&this.filteredOptionsCount&&this.checkDefaultFirstOption()):this.previousQuery=t)},scrollToOption:function(t){var e=Array.isArray(t)&&t[0]?t[0].$el:t.$el;if(this.$refs.popper&&e){var n=this.$refs.popper.$el.querySelector(".el-select-dropdown__wrap");je()(n,e)}this.$refs.scrollbar&&this.$refs.scrollbar.handleScroll()},handleMenuEnter:function(){var t=this;this.$nextTick(function(){return t.scrollToOption(t.selected)})},emitChange:function(t){Object(A.valueEquals)(this.value,t)||this.$emit("change",t)},getOption:function(t){for(var e=void 0,n="[object object]"===Object.prototype.toString.call(t).toLowerCase(),i="[object null]"===Object.prototype.toString.call(t).toLowerCase(),r="[object undefined]"===Object.prototype.toString.call(t).toLowerCase(),o=this.cachedOptions.length-1;o>=0;o--){var a=this.cachedOptions[o];if(n?Object(A.getValueByPath)(a.value,this.valueKey)===Object(A.getValueByPath)(t,this.valueKey):a.value===t){e=a;break}}if(e)return e;var s={value:t,currentLabel:n||i||r?"":t};return this.multiple&&(s.hitState=!1),s},setSelected:function(){var t=this;if(!this.multiple){var e=this.getOption(this.value);return e.created?(this.createdLabel=e.currentLabel,this.createdSelected=!0):this.createdSelected=!1,this.selectedLabel=e.currentLabel,this.selected=e,void(this.filterable&&(this.query=this.selectedLabel))}var n=[];Array.isArray(this.value)&&this.value.forEach(function(e){n.push(t.getOption(e))}),this.selected=n,this.$nextTick(function(){t.resetInputHeight()})},handleFocus:function(t){this.softFocus?this.softFocus=!1:((this.automaticDropdown||this.filterable)&&(this.visible=!0,this.filterable&&(this.menuVisibleOnFocus=!0)),this.$emit("focus",t))},blur:function(){this.visible=!1,this.$refs.reference.blur()},handleBlur:function(t){var e=this;setTimeout(function(){e.isSilentBlur?e.isSilentBlur=!1:e.$emit("blur",t)},50),this.softFocus=!1},handleClearClick:function(t){this.deleteSelected(t)},doDestroy:function(){this.$refs.popper&&this.$refs.popper.doDestroy()},handleClose:function(){this.visible=!1},toggleLastOptionHitState:function(t){if(Array.isArray(this.selected)){var e=this.selected[this.selected.length-1];if(e)return!0===t||!1===t?(e.hitState=t,t):(e.hitState=!e.hitState,e.hitState)}},deletePrevTag:function(t){if(t.target.value.length<=0&&!this.toggleLastOptionHitState()){var e=this.value.slice();e.pop(),this.$emit("input",e),this.emitChange(e)}},managePlaceholder:function(){""!==this.currentPlaceholder&&(this.currentPlaceholder=this.$refs.input.value?"":this.cachedPlaceHolder)},resetInputState:function(t){8!==t.keyCode&&this.toggleLastOptionHitState(!1),this.inputLength=15*this.$refs.input.value.length+20,this.resetInputHeight()},resetInputHeight:function(){var t=this;this.collapseTags&&!this.filterable||this.$nextTick(function(){if(t.$refs.reference){var e=t.$refs.reference.$el.childNodes,n=[].filter.call(e,function(t){return"INPUT"===t.tagName})[0],i=t.$refs.tags,r=t.initialInputHeight||40;n.style.height=0===t.selected.length?r+"px":Math.max(i?i.clientHeight+(i.clientHeight>r?6:0):0,r)+"px",t.visible&&!1!==t.emptyText&&t.broadcast("ElSelectDropdown","updatePopper")}})},resetHoverIndex:function(){var t=this;setTimeout(function(){t.multiple?t.selected.length>0?t.hoverIndex=Math.min.apply(null,t.selected.map(function(e){return t.options.indexOf(e)})):t.hoverIndex=-1:t.hoverIndex=t.options.indexOf(t.selected)},300)},handleOptionSelect:function(t,e){var n=this;if(this.multiple){var i=(this.value||[]).slice(),r=this.getValueIndex(i,t.value);r>-1?i.splice(r,1):(this.multipleLimit<=0||i.length<this.multipleLimit)&&i.push(t.value),this.$emit("input",i),this.emitChange(i),t.created&&(this.query="",this.handleQueryChange(""),this.inputLength=20),this.filterable&&this.$refs.input.focus()}else this.$emit("input",t.value),this.emitChange(t.value),this.visible=!1;this.isSilentBlur=e,this.setSoftFocus(),this.visible||this.$nextTick(function(){n.scrollToOption(t)})},setSoftFocus:function(){this.softFocus=!0;var t=this.$refs.input||this.$refs.reference;t&&t.focus()},getValueIndex:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments[1];if("[object object]"===Object.prototype.toString.call(e).toLowerCase()){var n=this.valueKey,i=-1;return t.some(function(t,r){return Object(A.getValueByPath)(t,n)===Object(A.getValueByPath)(e,n)&&(i=r,!0)}),i}return t.indexOf(e)},toggleMenu:function(){this.selectDisabled||(this.menuVisibleOnFocus?this.menuVisibleOnFocus=!1:this.visible=!this.visible,this.visible&&(this.$refs.input||this.$refs.reference).focus())},selectOption:function(){this.visible?this.options[this.hoverIndex]&&this.handleOptionSelect(this.options[this.hoverIndex]):this.toggleMenu()},deleteSelected:function(t){t.stopPropagation();var e=this.multiple?[]:"";this.$emit("input",e),this.emitChange(e),this.visible=!1,this.$emit("clear")},deleteTag:function(t,e){var n=this.selected.indexOf(e);if(n>-1&&!this.selectDisabled){var i=this.value.slice();i.splice(n,1),this.$emit("input",i),this.emitChange(i),this.$emit("remove-tag",e.value)}t.stopPropagation()},onInputChange:function(){this.filterable&&this.query!==this.selectedLabel&&(this.query=this.selectedLabel,this.handleQueryChange(this.query))},onOptionDestroy:function(t){t>-1&&(this.optionsCount--,this.filteredOptionsCount--,this.options.splice(t,1))},resetInputWidth:function(){this.inputWidth=this.$refs.reference.$el.getBoundingClientRect().width},handleResize:function(){this.resetInputWidth(),this.multiple&&this.resetInputHeight()},checkDefaultFirstOption:function(){this.hoverIndex=-1;for(var t=!1,e=this.options.length-1;e>=0;e--)if(this.options[e].created){t=!0,this.hoverIndex=e;break}if(!t)for(var n=0;n!==this.options.length;++n){var i=this.options[n];if(this.query){if(!i.disabled&&!i.groupDisabled&&i.visible){this.hoverIndex=n;break}}else if(i.itemSelected){this.hoverIndex=n;break}}},getValueKey:function(t){return"[object object]"!==Object.prototype.toString.call(t.value).toLowerCase()?t.value:Object(A.getValueByPath)(t.value,this.valueKey)}},created:function(){var t=this;this.cachedPlaceHolder=this.currentPlaceholder=this.propPlaceholder,this.multiple&&!Array.isArray(this.value)&&this.$emit("input",[]),!this.multiple&&Array.isArray(this.value)&&this.$emit("input",""),this.debouncedOnInputChange=E()(this.debounce,function(){t.onInputChange()}),this.debouncedQueryChange=E()(this.debounce,function(e){t.handleQueryChange(e.target.value)}),this.$on("handleOptionClick",this.handleOptionSelect),this.$on("setSelected",this.setSelected)},mounted:function(){var t=this;this.multiple&&Array.isArray(this.value)&&this.value.length>0&&(this.currentPlaceholder=""),Object(Pe.addResizeListener)(this.$el,this.handleResize);var e=this.$refs.reference;if(e&&e.$el){var n=e.$el.querySelector("input");this.initialInputHeight=n.getBoundingClientRect().height||{medium:36,small:32,mini:28}[this.selectSize]}this.remote&&this.multiple&&this.resetInputHeight(),this.$nextTick(function(){e&&e.$el&&(t.inputWidth=e.$el.getBoundingClientRect().width)}),this.setSelected()},beforeDestroy:function(){this.$el&&this.handleResize&&Object(Pe.removeResizeListener)(this.$el,this.handleResize)}},Be,[],!1,null,null,null);Ue.options.__file="packages/select/src/select.vue";var Re=Ue.exports;Re.install=function(t){t.component(Re.name,Re)};var Qe=Re;De.install=function(t){t.component(De.name,De)};var He=De,Ve=function(){var t=this.$createElement,e=this._self._c||t;return e("ul",{directives:[{name:"show",rawName:"v-show",value:this.visible,expression:"visible"}],staticClass:"el-select-group__wrap"},[e("li",{staticClass:"el-select-group__title"},[this._v(this._s(this.label))]),e("li",[e("ul",{staticClass:"el-select-group"},[this._t("default")],2)])])};Ve._withStripped=!0;var ze=r({mixins:[C.a],name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:{type:Boolean,default:!1}},data:function(){return{visible:!0}},watch:{disabled:function(t){this.broadcast("ElOption","handleGroupDisabled",t)}},methods:{queryChange:function(){this.visible=this.$children&&Array.isArray(this.$children)&&this.$children.some(function(t){return!0===t.visible})}},created:function(){this.$on("queryChange",this.queryChange)},mounted:function(){this.disabled&&this.broadcast("ElOption","handleGroupDisabled",this.disabled)}},Ve,[],!1,null,null,null);ze.options.__file="packages/select/src/option-group.vue";var $e=ze.exports;$e.install=function(t){t.component($e.name,$e)};var Ge=$e,We=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("button",{staticClass:"el-button",class:[t.type?"el-button--"+t.type:"",t.buttonSize?"el-button--"+t.buttonSize:"",{"is-disabled":t.buttonDisabled,"is-loading":t.loading,"is-plain":t.plain,"is-round":t.round,"is-circle":t.circle}],attrs:{disabled:t.buttonDisabled||t.loading,autofocus:t.autofocus,type:t.nativeType},on:{click:t.handleClick}},[t.loading?n("i",{staticClass:"el-icon-loading"}):t._e(),t.icon&&!t.loading?n("i",{class:t.icon}):t._e(),t.$slots.default?n("span",[t._t("default")],2):t._e()])};We._withStripped=!0;var Ke=r({name:"ElButton",inject:{elForm:{default:""},elFormItem:{default:""}},props:{type:{type:String,default:"default"},size:String,icon:{type:String,default:""},nativeType:{type:String,default:"button"},loading:Boolean,disabled:Boolean,plain:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},buttonSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},buttonDisabled:function(){return this.disabled||(this.elForm||{}).disabled}},methods:{handleClick:function(t){this.$emit("click",t)}}},We,[],!1,null,null,null);Ke.options.__file="packages/button/src/button.vue";var Ye=Ke.exports;Ye.install=function(t){t.component(Ye.name,Ye)};var Xe=Ye,qe=function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"el-button-group"},[this._t("default")],2)};qe._withStripped=!0;var Ze=r({name:"ElButtonGroup"},qe,[],!1,null,null,null);Ze.options.__file="packages/button/src/button-group.vue";var Je=Ze.exports;Je.install=function(t){t.component(Je.name,Je)};var tn=Je,en=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"el-table",class:[{"el-table--fit":t.fit,"el-table--striped":t.stripe,"el-table--border":t.border||t.isGroup,"el-table--hidden":t.isHidden,"el-table--group":t.isGroup,"el-table--fluid-height":t.maxHeight,"el-table--scrollable-x":t.layout.scrollX,"el-table--scrollable-y":t.layout.scrollY,"el-table--enable-row-hover":!t.store.states.isComplex,"el-table--enable-row-transition":0!==(t.store.states.data||[]).length&&(t.store.states.data||[]).length<100},t.tableSize?"el-table--"+t.tableSize:""],on:{mouseleave:function(e){t.handleMouseLeave(e)}}},[n("div",{ref:"hiddenColumns",staticClass:"hidden-columns"},[t._t("default")],2),t.showHeader?n("div",{directives:[{name:"mousewheel",rawName:"v-mousewheel",value:t.handleHeaderFooterMousewheel,expression:"handleHeaderFooterMousewheel"}],ref:"headerWrapper",staticClass:"el-table__header-wrapper"},[n("table-header",{ref:"tableHeader",style:{width:t.layout.bodyWidth?t.layout.bodyWidth+"px":""},attrs:{store:t.store,border:t.border,"default-sort":t.defaultSort}})],1):t._e(),n("div",{ref:"bodyWrapper",staticClass:"el-table__body-wrapper",class:[t.layout.scrollX?"is-scrolling-"+t.scrollPosition:"is-scrolling-none"],style:[t.bodyHeight]},[n("table-body",{style:{width:t.bodyWidth},attrs:{context:t.context,store:t.store,stripe:t.stripe,"row-class-name":t.rowClassName,"row-style":t.rowStyle,highlight:t.highlightCurrentRow}}),t.data&&0!==t.data.length?t._e():n("div",{ref:"emptyBlock",staticClass:"el-table__empty-block",style:t.emptyBlockStyle},[n("span",{staticClass:"el-table__empty-text"},[t._t("empty",[t._v(t._s(t.emptyText||t.t("el.table.emptyText")))])],2)]),t.$slots.append?n("div",{ref:"appendWrapper",staticClass:"el-table__append-wrapper"},[t._t("append")],2):t._e()],1),t.showSummary?n("div",{directives:[{name:"show",rawName:"v-show",value:t.data&&t.data.length>0,expression:"data && data.length > 0"},{name:"mousewheel",rawName:"v-mousewheel",value:t.handleHeaderFooterMousewheel,expression:"handleHeaderFooterMousewheel"}],ref:"footerWrapper",staticClass:"el-table__footer-wrapper"},[n("table-footer",{style:{width:t.layout.bodyWidth?t.layout.bodyWidth+"px":""},attrs:{store:t.store,border:t.border,"sum-text":t.sumText||t.t("el.table.sumText"),"summary-method":t.summaryMethod,"default-sort":t.defaultSort}})],1):t._e(),t.fixedColumns.length>0?n("div",{directives:[{name:"mousewheel",rawName:"v-mousewheel",value:t.handleFixedMousewheel,expression:"handleFixedMousewheel"}],ref:"fixedWrapper",staticClass:"el-table__fixed",style:[{width:t.layout.fixedWidth?t.layout.fixedWidth+"px":""},t.fixedHeight]},[t.showHeader?n("div",{ref:"fixedHeaderWrapper",staticClass:"el-table__fixed-header-wrapper"},[n("table-header",{ref:"fixedTableHeader",style:{width:t.bodyWidth},attrs:{fixed:"left",border:t.border,store:t.store}})],1):t._e(),n("div",{ref:"fixedBodyWrapper",staticClass:"el-table__fixed-body-wrapper",style:[{top:t.layout.headerHeight+"px"},t.fixedBodyHeight]},[n("table-body",{style:{width:t.bodyWidth},attrs:{fixed:"left",store:t.store,stripe:t.stripe,highlight:t.highlightCurrentRow,"row-class-name":t.rowClassName,"row-style":t.rowStyle}}),t.$slots.append?n("div",{staticClass:"el-table__append-gutter",style:{height:t.layout.appendHeight+"px"}}):t._e()],1),t.showSummary?n("div",{directives:[{name:"show",rawName:"v-show",value:t.data&&t.data.length>0,expression:"data && data.length > 0"}],ref:"fixedFooterWrapper",staticClass:"el-table__fixed-footer-wrapper"},[n("table-footer",{style:{width:t.bodyWidth},attrs:{fixed:"left",border:t.border,"sum-text":t.sumText||t.t("el.table.sumText"),"summary-method":t.summaryMethod,store:t.store}})],1):t._e()]):t._e(),t.rightFixedColumns.length>0?n("div",{directives:[{name:"mousewheel",rawName:"v-mousewheel",value:t.handleFixedMousewheel,expression:"handleFixedMousewheel"}],ref:"rightFixedWrapper",staticClass:"el-table__fixed-right",style:[{width:t.layout.rightFixedWidth?t.layout.rightFixedWidth+"px":"",right:t.layout.scrollY?(t.border?t.layout.gutterWidth:t.layout.gutterWidth||0)+"px":""},t.fixedHeight]},[t.showHeader?n("div",{ref:"rightFixedHeaderWrapper",staticClass:"el-table__fixed-header-wrapper"},[n("table-header",{ref:"rightFixedTableHeader",style:{width:t.bodyWidth},attrs:{fixed:"right",border:t.border,store:t.store}})],1):t._e(),n("div",{ref:"rightFixedBodyWrapper",staticClass:"el-table__fixed-body-wrapper",style:[{top:t.layout.headerHeight+"px"},t.fixedBodyHeight]},[n("table-body",{style:{width:t.bodyWidth},attrs:{fixed:"right",store:t.store,stripe:t.stripe,"row-class-name":t.rowClassName,"row-style":t.rowStyle,highlight:t.highlightCurrentRow}}),t.$slots.append?n("div",{staticClass:"el-table__append-gutter",style:{height:t.layout.appendHeight+"px"}}):t._e()],1),t.showSummary?n("div",{directives:[{name:"show",rawName:"v-show",value:t.data&&t.data.length>0,expression:"data && data.length > 0"}],ref:"rightFixedFooterWrapper",staticClass:"el-table__fixed-footer-wrapper"},[n("table-footer",{style:{width:t.bodyWidth},attrs:{fixed:"right",border:t.border,"sum-text":t.sumText||t.t("el.table.sumText"),"summary-method":t.summaryMethod,store:t.store}})],1):t._e()]):t._e(),t.rightFixedColumns.length>0?n("div",{ref:"rightFixedPatch",staticClass:"el-table__fixed-right-patch",style:{width:t.layout.scrollY?t.layout.gutterWidth+"px":"0",height:t.layout.headerHeight+"px"}}):t._e(),n("div",{directives:[{name:"show",rawName:"v-show",value:t.resizeProxyVisible,expression:"resizeProxyVisible"}],ref:"resizeProxy",staticClass:"el-table__column-resize-proxy"})])};en._withStripped=!0;var nn=n(16),rn=n.n(nn),on=n(35),an=n(38),sn=n.n(an),ln="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>-1,cn={bind:function(t,e){var n,i;n=t,i=e.value,n&&n.addEventListener&&n.addEventListener(ln?"DOMMouseScroll":"mousewheel",function(t){var e=sn()(t);i&&i.apply(this,[t,e])})}},un=n(6),hn=n.n(un),dn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},fn=function(t){for(var e=t.target;e&&"HTML"!==e.tagName.toUpperCase();){if("TD"===e.tagName.toUpperCase())return e;e=e.parentNode}return null},pn=function(t){return null!==t&&"object"===(void 0===t?"undefined":dn(t))},An=function(t,e,n,i,r){if(!e&&!i&&(!r||Array.isArray(r)&&!r.length))return t;n="string"==typeof n?"descending"===n?-1:1:n&&n<0?-1:1;var o=i?null:function(n,i){return r?(Array.isArray(r)||(r=[r]),r.map(function(e){return"string"==typeof e?Object(A.getValueByPath)(n,e):e(n,i,t)})):("$key"!==e&&pn(n)&&"$value"in n&&(n=n.$value),[pn(n)?Object(A.getValueByPath)(n,e):n])};return t.map(function(t,e){return{value:t,index:e,key:o?o(t,e):null}}).sort(function(t,e){var r=function(t,e){if(i)return i(t.value,e.value);for(var n=0,r=t.key.length;n<r;n++){if(t.key[n]<e.key[n])return-1;if(t.key[n]>e.key[n])return 1}return 0}(t,e);return r||(r=t.index-e.index),r*n}).map(function(t){return t.value})},gn=function(t,e){var n=null;return t.columns.forEach(function(t){t.id===e&&(n=t)}),n},vn=function(t,e){var n=(e.className||"").match(/el-table_[^\s]+/gm);return n?gn(t,n[0]):null},mn=function(t,e){if(!t)throw new Error("row is required when get row identity");if("string"==typeof e){if(e.indexOf(".")<0)return t[e];for(var n=e.split("."),i=t,r=0;r<n.length;r++)i=i[n[r]];return i}if("function"==typeof e)return e.call(null,t)},yn=function(t,e){var n={};return(t||[]).forEach(function(t,i){n[mn(t,e)]={row:t,index:i}}),n};function bn(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function _n(t){return void 0!==t&&(t=parseInt(t,10),isNaN(t)&&(t=null)),t}function wn(t){return"number"==typeof t?t:"string"==typeof t?/^\d+(?:px)?$/.test(t)?parseInt(t,10):t:null}function xn(t,e,n){var i=!1,r=t.indexOf(e),o=-1!==r,a=function(){t.push(e),i=!0},s=function(){t.splice(r,1),i=!0};return"boolean"==typeof n?n&&!o?a():!n&&o&&s():o?s():a(),i}function Cn(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"children",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"hasChildren",r=function(t){return!(Array.isArray(t)&&t.length)};t.forEach(function(t){if(t[i])e(t,null,0);else{var o=t[n];r(o)||function t(o,a,s){e(o,a,s),a.forEach(function(o){if(o[i])e(o,null,s+1);else{var a=o[n];r(a)||t(o,a,s+1)}})}(t,o,0)}})}var Sn={data:function(){return{states:{defaultExpandAll:!1,expandRows:[]}}},methods:{updateExpandRows:function(){var t=this.states,e=t.data,n=void 0===e?[]:e,i=t.rowKey,r=t.defaultExpandAll,o=t.expandRows;if(r)this.states.expandRows=n.slice();else if(i){var a=yn(o,i);this.states.expandRows=n.reduce(function(t,e){var n=mn(e,i);return a[n]&&t.push(e),t},[])}else this.states.expandRows=[]},toggleRowExpansion:function(t,e){xn(this.states.expandRows,t,e)&&(this.table.$emit("expand-change",t,this.states.expandRows.slice()),this.scheduleLayout())},setExpandRowKeys:function(t){this.assertRowKey();var e=this.states,n=e.data,i=e.rowKey,r=yn(n,i);this.states.expandRows=t.reduce(function(t,e){var n=r[e];return n&&t.push(n.row),t},[])},isRowExpanded:function(t){var e=this.states,n=e.expandRows,i=void 0===n?[]:n,r=e.rowKey;return r?!!yn(i,r)[mn(t,r)]:-1!==i.indexOf(t)}}},Bn={data:function(){return{states:{_currentRowKey:null,currentRow:null}}},methods:{setCurrentRowKey:function(t){this.assertRowKey(),this.states._currentRowKey=t,this.setCurrentRowByKey(t)},restoreCurrentRowKey:function(){this.states._currentRowKey=null},setCurrentRowByKey:function(t){var e=this.states,n=e.data,i=void 0===n?[]:n,r=e.rowKey,o=null;r&&(o=Object(A.arrayFind)(i,function(e){return mn(e,r)===t})),e.currentRow=o},updateCurrentRow:function(t){var e=this.states,n=this.table,i=e.currentRow;if(t&&t!==i)return e.currentRow=t,void n.$emit("current-change",t,i);!t&&i&&(e.currentRow=null,n.$emit("current-change",null,i))},updateCurrentRowData:function(){var t=this.states,e=this.table,n=t.rowKey,i=t._currentRowKey,r=t.data||[],o=t.currentRow;if(-1===r.indexOf(o)&&o){if(n){var a=mn(o,n);this.setCurrentRowByKey(a)}else t.currentRow=null;null===t.currentRow&&e.$emit("current-change",null,o)}else i&&(this.setCurrentRowByKey(i),this.restoreCurrentRowKey())}}},kn=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},Tn={data:function(){return{states:{expandRowKeys:[],treeData:{},indent:16,lazy:!1,lazyTreeNodeMap:{},lazyColumnIdentifier:"hasChildren",childrenColumnName:"children"}}},computed:{normalizedData:function(){if(!this.states.rowKey)return{};var t=this.states.data||[];return this.normalize(t)},normalizedLazyNode:function(){var t=this.states,e=t.rowKey,n=t.lazyTreeNodeMap,i=t.lazyColumnIdentifier,r=Object.keys(n),o={};return r.length?(r.forEach(function(t){if(n[t].length){var r={children:[]};n[t].forEach(function(t){var n=mn(t,e);r.children.push(n),t[i]&&!o[n]&&(o[n]={children:[]})}),o[t]=r}}),o):o}},watch:{normalizedData:"updateTreeData",normalizedLazyNode:"updateTreeData"},methods:{normalize:function(t){var e=this.states,n=e.childrenColumnName,i=e.lazyColumnIdentifier,r=e.rowKey,o=e.lazy,a={};return Cn(t,function(t,e,n){var i=mn(t,r);Array.isArray(e)?a[i]={children:e.map(function(t){return mn(t,r)}),level:n}:o&&(a[i]={children:[],lazy:!0,level:n})},n,i),a},updateTreeData:function(){var t=this.normalizedData,e=this.normalizedLazyNode,n=Object.keys(t),i={};if(n.length){var r=this.states,o=r.treeData,a=r.defaultExpandAll,s=r.expandRowKeys,l=r.lazy,c=[],u=function(t,e){var n=a||s&&-1!==s.indexOf(e);return!!(t&&t.expanded||n)};n.forEach(function(e){var n=o[e],r=kn({},t[e]);if(r.expanded=u(n,e),r.lazy){var a=n||{},s=a.loaded,l=void 0!==s&&s,h=a.loading,d=void 0!==h&&h;r.loaded=!!l,r.loading=!!d,c.push(e)}i[e]=r});var h=Object.keys(e);l&&h.length&&c.length&&h.forEach(function(t){var n=o[t],r=e[t].children;if(-1!==c.indexOf(t)){if(0!==i[t].children.length)throw new Error("[ElTable]children must be an empty array.");i[t].children=r}else{var a=n||{},s=a.loaded,l=void 0!==s&&s,h=a.loading,d=void 0!==h&&h;i[t]={lazy:!0,loaded:!!l,loading:!!d,expanded:u(n,t),children:r,level:""}}})}this.states.treeData=i,this.updateTableScrollY()},updateTreeExpandKeys:function(t){this.states.expandRowKeys=t,this.updateTreeData()},toggleTreeExpansion:function(t,e){this.assertRowKey();var n=this.states,i=n.rowKey,r=n.treeData,o=mn(t,i),a=o&&r[o];if(o&&a&&"expanded"in a){var s=a.expanded;e=void 0===e?!a.expanded:e,r[o].expanded=e,s!==e&&this.table.$emit("expand-change",t,e),this.updateTableScrollY()}},loadOrToggle:function(t){this.assertRowKey();var e=this.states,n=e.lazy,i=e.treeData,r=e.rowKey,o=mn(t,r),a=i[o];n&&a&&"loaded"in a&&!a.loaded?this.loadData(t,o,a):this.toggleTreeExpansion(t)},loadData:function(t,e,n){var i=this,r=this.table.load,o=this.states,a=o.lazyTreeNodeMap,s=o.treeData;r&&!s[e].loaded&&(s[e].loading=!0,r(t,n,function(n){if(!Array.isArray(n))throw new Error("[ElTable] data must be an array");s[e].loading=!1,s[e].loaded=!0,s[e].expanded=!0,n.length&&i.$set(a,e,n),i.table.$emit("expand-change",t,!0)}))}}},On=function t(e){var n=[];return e.forEach(function(e){e.children?n.push.apply(n,t(e.children)):n.push(e)}),n},En=hn.a.extend({data:function(){return{states:{rowKey:null,data:[],isComplex:!1,_columns:[],originColumns:[],columns:[],fixedColumns:[],rightFixedColumns:[],leafColumns:[],fixedLeafColumns:[],rightFixedLeafColumns:[],leafColumnsLength:0,fixedLeafColumnsLength:0,rightFixedLeafColumnsLength:0,isAllSelected:!1,selection:[],reserveSelection:!1,selectOnIndeterminate:!1,selectable:null,filters:{},filteredData:null,sortingColumn:null,sortProp:null,sortOrder:null,hoverRow:null}}},mixins:[Sn,Bn,Tn],methods:{assertRowKey:function(){if(!this.states.rowKey)throw new Error("[ElTable] prop row-key is required")},updateColumns:function(){var t=this.states,e=t._columns||[];t.fixedColumns=e.filter(function(t){return!0===t.fixed||"left"===t.fixed}),t.rightFixedColumns=e.filter(function(t){return"right"===t.fixed}),t.fixedColumns.length>0&&e[0]&&"selection"===e[0].type&&!e[0].fixed&&(e[0].fixed=!0,t.fixedColumns.unshift(e[0]));var n=e.filter(function(t){return!t.fixed});t.originColumns=[].concat(t.fixedColumns).concat(n).concat(t.rightFixedColumns);var i=On(n),r=On(t.fixedColumns),o=On(t.rightFixedColumns);t.leafColumnsLength=i.length,t.fixedLeafColumnsLength=r.length,t.rightFixedLeafColumnsLength=o.length,t.columns=[].concat(r).concat(i).concat(o),t.isComplex=t.fixedColumns.length>0||t.rightFixedColumns.length>0},scheduleLayout:function(t){t&&this.updateColumns(),this.table.debouncedUpdateLayout()},isSelected:function(t){var e=this.states.selection;return(void 0===e?[]:e).indexOf(t)>-1},clearSelection:function(){var t=this.states;t.isAllSelected=!1,t.selection.length&&(t.selection=[],this.table.$emit("selection-change",[]))},cleanSelection:function(){var t=this.states,e=t.data,n=t.rowKey,i=t.selection,r=void 0;if(n){r=[];var o=yn(i,n),a=yn(e,n);for(var s in o)o.hasOwnProperty(s)&&!a[s]&&r.push(o[s].row)}else r=i.filter(function(t){return-1===e.indexOf(t)});if(r.length){var l=i.filter(function(t){return-1===r.indexOf(t)});t.selection=l,this.table.$emit("selection-change",l.slice())}},toggleRowSelection:function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(xn(this.states.selection,t,e)){var i=(this.states.selection||[]).slice();n&&this.table.$emit("select",i,t),this.table.$emit("selection-change",i)}},_toggleAllSelection:function(){var t=this.states,e=t.data,n=void 0===e?[]:e,i=t.selection,r=t.selectOnIndeterminate?!t.isAllSelected:!(t.isAllSelected||i.length);t.isAllSelected=r;var o=!1;n.forEach(function(e,n){t.selectable?t.selectable.call(null,e,n)&&xn(i,e,r)&&(o=!0):xn(i,e,r)&&(o=!0)}),o&&this.table.$emit("selection-change",i?i.slice():[]),this.table.$emit("select-all",i)},updateSelectionByRowKey:function(){var t=this.states,e=t.selection,n=t.rowKey,i=t.data,r=yn(e,n);i.forEach(function(t){var i=mn(t,n),o=r[i];o&&(e[o.index]=t)})},updateAllSelected:function(){var t=this.states,e=t.selection,n=t.rowKey,i=t.selectable,r=t.data||[];if(0!==r.length){var o=void 0;n&&(o=yn(e,n));for(var a,s=!0,l=0,c=0,u=r.length;c<u;c++){var h=r[c],d=i&&i.call(null,h,c);if(a=h,o?o[mn(a,n)]:-1!==e.indexOf(a))l++;else if(!i||d){s=!1;break}}0===l&&(s=!1),t.isAllSelected=s}else t.isAllSelected=!1},updateFilters:function(t,e){Array.isArray(t)||(t=[t]);var n=this.states,i={};return t.forEach(function(t){n.filters[t.id]=e,i[t.columnKey||t.id]=e}),i},updateSort:function(t,e,n){this.states.sortingColumn&&this.states.sortingColumn!==t&&(this.states.sortingColumn.order=null),this.states.sortingColumn=t,this.states.sortProp=e,this.states.sortOrder=n},execFilter:function(){var t=this,e=this.states,n=e._data,i=e.filters,r=n;Object.keys(i).forEach(function(n){var i=e.filters[n];if(i&&0!==i.length){var o=gn(t.states,n);o&&o.filterMethod&&(r=r.filter(function(t){return i.some(function(e){return o.filterMethod.call(null,e,t,o)})}))}}),e.filteredData=r},execSort:function(){var t=this.states;t.data=function(t,e){var n=e.sortingColumn;return n&&"string"!=typeof n.sortable?An(t,e.sortProp,e.sortOrder,n.sortMethod,n.sortBy):t}(t.filteredData,t)},execQuery:function(t){t&&t.filter||this.execFilter(),this.execSort()},clearFilter:function(t){var e=this.states,n=this.table.$refs,i=n.tableHeader,r=n.fixedTableHeader,o=n.rightFixedTableHeader,a={};i&&(a=Qt()(a,i.filterPanels)),r&&(a=Qt()(a,r.filterPanels)),o&&(a=Qt()(a,o.filterPanels));var s=Object.keys(a);if(s.length)if("string"==typeof t&&(t=[t]),Array.isArray(t)){var l=t.map(function(t){return function(t,e){for(var n=null,i=0;i<t.columns.length;i++){var r=t.columns[i];if(r.columnKey===e){n=r;break}}return n}(e,t)});s.forEach(function(t){l.find(function(e){return e.id===t})&&(a[t].filteredValue=[])}),this.commit("filterChange",{column:l,values:[],silent:!0,multi:!0})}else s.forEach(function(t){a[t].filteredValue=[]}),e.filters={},this.commit("filterChange",{column:{},values:[],silent:!0})},clearSort:function(){this.states.sortingColumn&&(this.updateSort(null,null,null),this.commit("changeSortCondition",{silent:!0}))},setExpandRowKeysAdapter:function(t){this.setExpandRowKeys(t),this.updateTreeExpandKeys(t)},toggleRowExpansionAdapter:function(t,e){this.states.columns.some(function(t){return"expand"===t.type})?this.toggleRowExpansion(t,e):this.toggleTreeExpansion(t,e)}}});En.prototype.mutations={setData:function(t,e){var n=t._data!==e;t._data=e,this.execQuery(),this.updateCurrentRowData(),this.updateExpandRows(),t.reserveSelection?(this.assertRowKey(),this.updateSelectionByRowKey()):n?this.clearSelection():this.cleanSelection(),this.updateAllSelected(),this.updateTableScrollY()},insertColumn:function(t,e,n,i){var r=t._columns;i&&((r=i.children)||(r=i.children=[])),void 0!==n?r.splice(n,0,e):r.push(e),"selection"===e.type&&(t.selectable=e.selectable,t.reserveSelection=e.reserveSelection),this.table.$ready&&(this.updateColumns(),this.scheduleLayout())},removeColumn:function(t,e,n){var i=t._columns;n&&((i=n.children)||(i=n.children=[])),i&&i.splice(i.indexOf(e),1),this.table.$ready&&(this.updateColumns(),this.scheduleLayout())},sort:function(t,e){var n=e.prop,i=e.order,r=e.init;if(n){var o=Object(A.arrayFind)(t.columns,function(t){return t.property===n});o&&(o.order=i,this.updateSort(o,n,i),this.commit("changeSortCondition",{init:r}))}},changeSortCondition:function(t,e){var n=t.sortingColumn,i=t.sortProp,r=t.sortOrder;null===r&&(t.sortingColumn=null,t.sortProp=null);this.execQuery({filter:!0}),e&&(e.silent||e.init)||this.table.$emit("sort-change",{column:n,prop:i,order:r}),this.updateTableScrollY()},filterChange:function(t,e){var n=e.column,i=e.values,r=e.silent,o=this.updateFilters(n,i);this.execQuery(),r||this.table.$emit("filter-change",o),this.updateTableScrollY()},toggleAllSelection:function(){this.toggleAllSelection()},rowSelectedChanged:function(t,e){this.toggleRowSelection(e),this.updateAllSelected()},setHoverRow:function(t,e){t.hoverRow=e},setCurrentRow:function(t,e){this.updateCurrentRow(e)}},En.prototype.commit=function(t){var e=this.mutations;if(!e[t])throw new Error("Action not found: "+t);for(var n=arguments.length,i=Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];e[t].apply(this,[this.states].concat(i))},En.prototype.updateTableScrollY=function(){hn.a.nextTick(this.table.updateScrollY)};var In=En;function Mn(t){var e={};return Object.keys(t).forEach(function(n){var i=t[n],r=void 0;"string"==typeof i?r=function(){return this.store.states[i]}:"function"==typeof i?r=function(){return i.call(this,this.store.states)}:console.error("invalid value type"),r&&(e[n]=r)}),e}var Dn=n(30),Ln=n.n(Dn);var Fn=function(){function t(e){for(var n in function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.observers=[],this.table=null,this.store=null,this.columns=null,this.fit=!0,this.showHeader=!0,this.height=null,this.scrollX=!1,this.scrollY=!1,this.bodyWidth=null,this.fixedWidth=null,this.rightFixedWidth=null,this.tableHeight=null,this.headerHeight=44,this.appendHeight=0,this.footerHeight=44,this.viewportHeight=null,this.bodyHeight=null,this.fixedBodyHeight=null,this.gutterWidth=Ln()(),e)e.hasOwnProperty(n)&&(this[n]=e[n]);if(!this.table)throw new Error("table is required for Table Layout");if(!this.store)throw new Error("store is required for Table Layout")}return t.prototype.updateScrollY=function(){if(null===this.height)return!1;var t=this.table.bodyWrapper;if(this.table.$el&&t){var e=t.querySelector(".el-table__body"),n=this.scrollY,i=e.offsetHeight>this.bodyHeight;return this.scrollY=i,n!==i}return!1},t.prototype.setHeight=function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"height";if(!hn.a.prototype.$isServer){var i=this.table.$el;if(t=wn(t),this.height=t,!i&&(t||0===t))return hn.a.nextTick(function(){return e.setHeight(t,n)});"number"==typeof t?(i.style[n]=t+"px",this.updateElsHeight()):"string"==typeof t&&(i.style[n]=t,this.updateElsHeight())}},t.prototype.setMaxHeight=function(t){this.setHeight(t,"max-height")},t.prototype.getFlattenColumns=function(){var t=[];return this.table.columns.forEach(function(e){e.isColumnGroup?t.push.apply(t,e.columns):t.push(e)}),t},t.prototype.updateElsHeight=function(){var t=this;if(!this.table.$ready)return hn.a.nextTick(function(){return t.updateElsHeight()});var e=this.table.$refs,n=e.headerWrapper,i=e.appendWrapper,r=e.footerWrapper;if(this.appendHeight=i?i.offsetHeight:0,!this.showHeader||n){var o=n?n.querySelector(".el-table__header tr"):null,a=this.headerDisplayNone(o),s=this.headerHeight=this.showHeader?n.offsetHeight:0;if(this.showHeader&&!a&&n.offsetWidth>0&&(this.table.columns||[]).length>0&&s<2)return hn.a.nextTick(function(){return t.updateElsHeight()});var l=this.tableHeight=this.table.$el.clientHeight,c=this.footerHeight=r?r.offsetHeight:0;null!==this.height&&(this.bodyHeight=l-s-c+(r?1:0)),this.fixedBodyHeight=this.scrollX?this.bodyHeight-this.gutterWidth:this.bodyHeight;var u=!(this.store.states.data&&this.store.states.data.length);this.viewportHeight=this.scrollX?l-(u?0:this.gutterWidth):l,this.updateScrollY(),this.notifyObservers("scrollable")}},t.prototype.headerDisplayNone=function(t){if(!t)return!0;for(var e=t;"DIV"!==e.tagName;){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1},t.prototype.updateColumnsWidth=function(){if(!hn.a.prototype.$isServer){var t=this.fit,e=this.table.$el.clientWidth,n=0,i=this.getFlattenColumns(),r=i.filter(function(t){return"number"!=typeof t.width});if(i.forEach(function(t){"number"==typeof t.width&&t.realWidth&&(t.realWidth=null)}),r.length>0&&t){i.forEach(function(t){n+=t.width||t.minWidth||80});var o=this.scrollY?this.gutterWidth:0;if(n<=e-o){this.scrollX=!1;var a=e-o-n;if(1===r.length)r[0].realWidth=(r[0].minWidth||80)+a;else{var s=a/r.reduce(function(t,e){return t+(e.minWidth||80)},0),l=0;r.forEach(function(t,e){if(0!==e){var n=Math.floor((t.minWidth||80)*s);l+=n,t.realWidth=(t.minWidth||80)+n}}),r[0].realWidth=(r[0].minWidth||80)+a-l}}else this.scrollX=!0,r.forEach(function(t){t.realWidth=t.minWidth});this.bodyWidth=Math.max(n,e),this.table.resizeState.width=this.bodyWidth}else i.forEach(function(t){t.width||t.minWidth?t.realWidth=t.width||t.minWidth:t.realWidth=80,n+=t.realWidth}),this.scrollX=n>e,this.bodyWidth=n;var c=this.store.states.fixedColumns;if(c.length>0){var u=0;c.forEach(function(t){u+=t.realWidth||t.width}),this.fixedWidth=u}var h=this.store.states.rightFixedColumns;if(h.length>0){var d=0;h.forEach(function(t){d+=t.realWidth||t.width}),this.rightFixedWidth=d}this.notifyObservers("columns")}},t.prototype.addObserver=function(t){this.observers.push(t)},t.prototype.removeObserver=function(t){var e=this.observers.indexOf(t);-1!==e&&this.observers.splice(e,1)},t.prototype.notifyObservers=function(t){var e=this;this.observers.forEach(function(n){switch(t){case"columns":n.onColumnsChange(e);break;case"scrollable":n.onScrollableChange(e);break;default:throw new Error("Table Layout don't have event "+t+".")}})},t}(),Pn={created:function(){this.tableLayout.addObserver(this)},destroyed:function(){this.tableLayout.removeObserver(this)},computed:{tableLayout:function(){var t=this.layout;if(!t&&this.table&&(t=this.table.layout),!t)throw new Error("Can not find table layout.");return t}},mounted:function(){this.onColumnsChange(this.tableLayout),this.onScrollableChange(this.tableLayout)},updated:function(){this.__updated__||(this.onColumnsChange(this.tableLayout),this.onScrollableChange(this.tableLayout),this.__updated__=!0)},methods:{onColumnsChange:function(t){var e=this.$el.querySelectorAll("colgroup > col");if(e.length){var n={};t.getFlattenColumns().forEach(function(t){n[t.id]=t});for(var i=0,r=e.length;i<r;i++){var o=e[i],a=o.getAttribute("name"),s=n[a];s&&o.setAttribute("width",s.realWidth||s.width)}}},onScrollableChange:function(t){for(var e=this.$el.querySelectorAll("colgroup > col[name=gutter]"),n=0,i=e.length;n<i;n++){e[n].setAttribute("width",t.scrollY?t.gutterWidth:"0")}for(var r=this.$el.querySelectorAll("th.gutter"),o=0,a=r.length;o<a;o++){var s=r[o];s.style.width=t.scrollY?t.gutterWidth+"px":"0",s.style.display=t.scrollY?"":"none"}}}},Nn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},jn=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},Un={name:"ElTableBody",mixins:[Pn],components:{ElCheckbox:rn.a,ElTooltip:kt.a},props:{store:{required:!0},stripe:Boolean,context:{},rowClassName:[String,Function],rowStyle:[Object,Function],fixed:String,highlight:Boolean},render:function(t){var e=this,n=this.data||[];return t("table",{class:"el-table__body",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[t("colgroup",[this.columns.map(function(e){return t("col",{attrs:{name:e.id},key:e.id})})]),t("tbody",[n.reduce(function(t,n){return t.concat(e.wrappedRowRender(n,t.length))},[]),t("el-tooltip",{attrs:{effect:this.table.tooltipEffect,placement:"top",content:this.tooltipContent},ref:"tooltip"})])])},computed:jn({table:function(){return this.$parent}},Mn({data:"data",columns:"columns",treeIndent:"indent",leftFixedLeafCount:"fixedLeafColumnsLength",rightFixedLeafCount:"rightFixedLeafColumnsLength",columnsCount:function(t){return t.columns.length},leftFixedCount:function(t){return t.fixedColumns.length},rightFixedCount:function(t){return t.rightFixedColumns.length},hasExpandColumn:function(t){return t.columns.some(function(t){return"expand"===t.type})}}),{firstDefaultColumnIndex:function(){return Object(A.arrayFindIndex)(this.columns,function(t){return"default"===t.type})}}),watch:{"store.states.hoverRow":function(t,e){var n=this;if(this.store.states.isComplex&&!this.$isServer){var i=window.requestAnimationFrame;i||(i=function(t){return setTimeout(t,16)}),i(function(){var i=n.$el.querySelectorAll(".el-table__row"),r=i[e],o=i[t];r&&Object(pt.removeClass)(r,"hover-row"),o&&Object(pt.addClass)(o,"hover-row")})}}},data:function(){return{tooltipContent:""}},created:function(){this.activateTooltip=E()(50,function(t){return t.handleShowPopper()})},methods:{getKeyOfRow:function(t,e){var n=this.table.rowKey;return n?mn(t,n):e},isColumnHidden:function(t){return!0===this.fixed||"left"===this.fixed?t>=this.leftFixedLeafCount:"right"===this.fixed?t<this.columnsCount-this.rightFixedLeafCount:t<this.leftFixedLeafCount||t>=this.columnsCount-this.rightFixedLeafCount},getSpan:function(t,e,n,i){var r=1,o=1,a=this.table.spanMethod;if("function"==typeof a){var s=a({row:t,column:e,rowIndex:n,columnIndex:i});Array.isArray(s)?(r=s[0],o=s[1]):"object"===(void 0===s?"undefined":Nn(s))&&(r=s.rowspan,o=s.colspan)}return{rowspan:r,colspan:o}},getRowStyle:function(t,e){var n=this.table.rowStyle;return"function"==typeof n?n.call(null,{row:t,rowIndex:e}):n||null},getRowClass:function(t,e){var n=["el-table__row"];this.table.highlightCurrentRow&&t===this.store.states.currentRow&&n.push("current-row"),this.stripe&&e%2==1&&n.push("el-table__row--striped");var i=this.table.rowClassName;return"string"==typeof i?n.push(i):"function"==typeof i&&n.push(i.call(null,{row:t,rowIndex:e})),this.store.states.expandRows.indexOf(t)>-1&&n.push("expanded"),n},getCellStyle:function(t,e,n,i){var r=this.table.cellStyle;return"function"==typeof r?r.call(null,{rowIndex:t,columnIndex:e,row:n,column:i}):r},getCellClass:function(t,e,n,i){var r=[i.id,i.align,i.className];this.isColumnHidden(e)&&r.push("is-hidden");var o=this.table.cellClassName;return"string"==typeof o?r.push(o):"function"==typeof o&&r.push(o.call(null,{rowIndex:t,columnIndex:e,row:n,column:i})),r.join(" ")},getColspanRealWidth:function(t,e,n){return e<1?t[n].realWidth:t.map(function(t){return t.realWidth}).slice(n,n+e).reduce(function(t,e){return t+e},-1)},handleCellMouseEnter:function(t,e){var n=this.table,i=fn(t);if(i){var r=vn(n,i),o=n.hoverState={cell:i,column:r,row:e};n.$emit("cell-mouse-enter",o.row,o.column,o.cell,t)}var a=t.target.querySelector(".cell");if(Object(pt.hasClass)(a,"el-tooltip")&&a.childNodes.length){var s=document.createRange();if(s.setStart(a,0),s.setEnd(a,a.childNodes.length),(s.getBoundingClientRect().width+((parseInt(Object(pt.getStyle)(a,"paddingLeft"),10)||0)+(parseInt(Object(pt.getStyle)(a,"paddingRight"),10)||0))>a.offsetWidth||a.scrollWidth>a.offsetWidth)&&this.$refs.tooltip){var l=this.$refs.tooltip;this.tooltipContent=i.innerText||i.textContent,l.referenceElm=i,l.$refs.popper&&(l.$refs.popper.style.display="none"),l.doDestroy(),l.setExpectedState(!0),this.activateTooltip(l)}}},handleCellMouseLeave:function(t){var e=this.$refs.tooltip;if(e&&(e.setExpectedState(!1),e.handleClosePopper()),fn(t)){var n=this.table.hoverState||{};this.table.$emit("cell-mouse-leave",n.row,n.column,n.cell,t)}},handleMouseEnter:E()(30,function(t){this.store.commit("setHoverRow",t)}),handleMouseLeave:E()(30,function(){this.store.commit("setHoverRow",null)}),handleContextMenu:function(t,e){this.handleEvent(t,e,"contextmenu")},handleDoubleClick:function(t,e){this.handleEvent(t,e,"dblclick")},handleClick:function(t,e){this.store.commit("setCurrentRow",e),this.handleEvent(t,e,"click")},handleEvent:function(t,e,n){var i=this.table,r=fn(t),o=void 0;r&&(o=vn(i,r))&&i.$emit("cell-"+n,e,o,r,t),i.$emit("row-"+n,e,o,t)},rowRender:function(t,e,n){var i=this,r=this.$createElement,o=this.treeIndent,a=this.columns,s=this.firstDefaultColumnIndex,l=a.map(function(t,e){return i.isColumnHidden(e)}),c=this.getRowClass(t,e),u=!0;return n&&(c.push("el-table__row--level-"+n.level),u=n.display),r("tr",{style:[u?null:{display:"none"},this.getRowStyle(t,e)],class:c,key:this.getKeyOfRow(t,e),on:{dblclick:function(e){return i.handleDoubleClick(e,t)},click:function(e){return i.handleClick(e,t)},contextmenu:function(e){return i.handleContextMenu(e,t)},mouseenter:function(t){return i.handleMouseEnter(e)},mouseleave:this.handleMouseLeave}},[a.map(function(c,u){var h=i.getSpan(t,c,e,u),d=h.rowspan,f=h.colspan;if(!d||!f)return null;var p=jn({},c);p.realWidth=i.getColspanRealWidth(a,f,u);var A={store:i.store,_self:i.context||i.table.$vnode.context,column:p,row:t,$index:e};return u===s&&n&&(A.treeNode={indent:n.level*o,level:n.level},"boolean"==typeof n.expanded&&(A.treeNode.expanded=n.expanded,"loading"in n&&(A.treeNode.loading=n.loading),"noLazyChildren"in n&&(A.treeNode.noLazyChildren=n.noLazyChildren))),r("td",{style:i.getCellStyle(e,u,t,c),class:i.getCellClass(e,u,t,c),attrs:{rowspan:d,colspan:f},on:{mouseenter:function(e){return i.handleCellMouseEnter(e,t)},mouseleave:i.handleCellMouseLeave}},[c.renderCell.call(i._renderProxy,i.$createElement,A,l[u])])})])},wrappedRowRender:function(t,e){var n=this,i=this.$createElement,r=this.store,o=r.isRowExpanded,a=r.assertRowKey,s=r.states,l=s.treeData,c=s.lazyTreeNodeMap,u=s.childrenColumnName,h=s.rowKey;if(this.hasExpandColumn&&o(t)){var d=this.table.renderExpanded,f=this.rowRender(t,e);return d?[[f,i("tr",{key:"expanded-row__"+f.key},[i("td",{attrs:{colspan:this.columnsCount},class:"el-table__expanded-cell"},[d(this.$createElement,{row:t,$index:e,store:this.store})])])]]:(console.error("[Element Error]renderExpanded is required."),f)}if(Object.keys(l).length){a();var p=mn(t,h),A=l[p],g=null;A&&(g={expanded:A.expanded,level:A.level,display:!0},"boolean"==typeof A.lazy&&("boolean"==typeof A.loaded&&A.loaded&&(g.noLazyChildren=!(A.children&&A.children.length)),g.loading=A.loading));var v=[this.rowRender(t,e,g)];if(A){var m=0;A.display=!0,function t(i,r){i&&i.length&&r&&i.forEach(function(i){var o={display:r.display&&r.expanded,level:r.level+1},a=mn(i,h);if(void 0===a||null===a)throw new Error("for nested data item, row-key is required.");if((A=jn({},l[a]))&&(o.expanded=A.expanded,A.level=A.level||o.level,A.display=!(!A.expanded||!o.display),"boolean"==typeof A.lazy&&("boolean"==typeof A.loaded&&A.loaded&&(o.noLazyChildren=!(A.children&&A.children.length)),o.loading=A.loading)),m++,v.push(n.rowRender(i,e+m,o)),A){var s=c[a]||i[u];t(s,A)}})}(c[p]||t[u],A)}return v}return this.rowRender(t,e)}}},Rn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"el-zoom-in-top"}},[t.multiple?n("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:t.handleOutsideClick,expression:"handleOutsideClick"},{name:"show",rawName:"v-show",value:t.showPopper,expression:"showPopper"}],staticClass:"el-table-filter"},[n("div",{staticClass:"el-table-filter__content"},[n("el-scrollbar",{attrs:{"wrap-class":"el-table-filter__wrap"}},[n("el-checkbox-group",{staticClass:"el-table-filter__checkbox-group",model:{value:t.filteredValue,callback:function(e){t.filteredValue=e},expression:"filteredValue"}},t._l(t.filters,function(e){return n("el-checkbox",{key:e.value,attrs:{label:e.value}},[t._v(t._s(e.text))])}),1)],1)],1),n("div",{staticClass:"el-table-filter__bottom"},[n("button",{class:{"is-disabled":0===t.filteredValue.length},attrs:{disabled:0===t.filteredValue.length},on:{click:t.handleConfirm}},[t._v(t._s(t.t("el.table.confirmFilter")))]),n("button",{on:{click:t.handleReset}},[t._v(t._s(t.t("el.table.resetFilter")))])])]):n("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:t.handleOutsideClick,expression:"handleOutsideClick"},{name:"show",rawName:"v-show",value:t.showPopper,expression:"showPopper"}],staticClass:"el-table-filter"},[n("ul",{staticClass:"el-table-filter__list"},[n("li",{staticClass:"el-table-filter__list-item",class:{"is-active":void 0===t.filterValue||null===t.filterValue},on:{click:function(e){t.handleSelect(null)}}},[t._v(t._s(t.t("el.table.clearFilter")))]),t._l(t.filters,function(e){return n("li",{key:e.value,staticClass:"el-table-filter__list-item",class:{"is-active":t.isActive(e)},attrs:{label:e.value},on:{click:function(n){t.handleSelect(e.value)}}},[t._v(t._s(e.text))])})],2)])])};Rn._withStripped=!0;var Qn=[];!hn.a.prototype.$isServer&&document.addEventListener("click",function(t){Qn.forEach(function(e){var n=t.target;e&&e.$el&&(n===e.$el||e.$el.contains(n)||e.handleOutsideClick&&e.handleOutsideClick(t))})});var Hn=function(t){t&&Qn.push(t)},Vn=function(t){-1!==Qn.indexOf(t)&&Qn.splice(t,1)},zn=n(31),$n=n.n(zn),Gn=r({name:"ElTableFilterPanel",mixins:[F.a,p.a],directives:{Clickoutside:M.a},components:{ElCheckbox:rn.a,ElCheckboxGroup:$n.a,ElScrollbar:N.a},props:{placement:{type:String,default:"bottom-end"}},methods:{isActive:function(t){return t.value===this.filterValue},handleOutsideClick:function(){var t=this;setTimeout(function(){t.showPopper=!1},16)},handleConfirm:function(){this.confirmFilter(this.filteredValue),this.handleOutsideClick()},handleReset:function(){this.filteredValue=[],this.confirmFilter(this.filteredValue),this.handleOutsideClick()},handleSelect:function(t){this.filterValue=t,void 0!==t&&null!==t?this.confirmFilter(this.filteredValue):this.confirmFilter([]),this.handleOutsideClick()},confirmFilter:function(t){this.table.store.commit("filterChange",{column:this.column,values:t}),this.table.store.updateAllSelected()}},data:function(){return{table:null,cell:null,column:null}},computed:{filters:function(){return this.column&&this.column.filters},filterValue:{get:function(){return(this.column.filteredValue||[])[0]},set:function(t){this.filteredValue&&(void 0!==t&&null!==t?this.filteredValue.splice(0,1,t):this.filteredValue.splice(0,1))}},filteredValue:{get:function(){return this.column&&this.column.filteredValue||[]},set:function(t){this.column&&(this.column.filteredValue=t)}},multiple:function(){return!this.column||this.column.filterMultiple}},mounted:function(){var t=this;this.popperElm=this.$el,this.referenceElm=this.cell,this.table.bodyWrapper.addEventListener("scroll",function(){t.updatePopper()}),this.$watch("showPopper",function(e){t.column&&(t.column.filterOpened=e),e?Hn(t):Vn(t)})},watch:{showPopper:function(t){!0===t&&parseInt(this.popperJS._popper.style.zIndex,10)<y.PopupManager.zIndex&&(this.popperJS._popper.style.zIndex=y.PopupManager.nextZIndex())}}},Rn,[],!1,null,null,null);Gn.options.__file="packages/table/src/filter-panel.vue";var Wn=Gn.exports,Kn=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},Yn=function(t){var e=1;t.forEach(function(t){t.level=1,function t(n,i){if(i&&(n.level=i.level+1,e<n.level&&(e=n.level)),n.children){var r=0;n.children.forEach(function(e){t(e,n),r+=e.colSpan}),n.colSpan=r}else n.colSpan=1}(t)});for(var n=[],i=0;i<e;i++)n.push([]);return function t(e){var n=[];return e.forEach(function(e){e.children?(n.push(e),n.push.apply(n,t(e.children))):n.push(e)}),n}(t).forEach(function(t){t.children?t.rowSpan=1:t.rowSpan=e-t.level+1,n[t.level-1].push(t)}),n},Xn={name:"ElTableHeader",mixins:[Pn],render:function(t){var e=this,n=this.store.states.originColumns,i=Yn(n,this.columns),r=i.length>1;return r&&(this.$parent.isGroup=!0),t("table",{class:"el-table__header",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[t("colgroup",[this.columns.map(function(e){return t("col",{attrs:{name:e.id},key:e.id})}),this.hasGutter?t("col",{attrs:{name:"gutter"}}):""]),t("thead",{class:[{"is-group":r,"has-gutter":this.hasGutter}]},[this._l(i,function(n,i){return t("tr",{style:e.getHeaderRowStyle(i),class:e.getHeaderRowClass(i)},[n.map(function(r,o){return t("th",{attrs:{colspan:r.colSpan,rowspan:r.rowSpan},on:{mousemove:function(t){return e.handleMouseMove(t,r)},mouseout:e.handleMouseOut,mousedown:function(t){return e.handleMouseDown(t,r)},click:function(t){return e.handleHeaderClick(t,r)},contextmenu:function(t){return e.handleHeaderContextMenu(t,r)}},style:e.getHeaderCellStyle(i,o,n,r),class:e.getHeaderCellClass(i,o,n,r),key:r.id},[t("div",{class:["cell",r.filteredValue&&r.filteredValue.length>0?"highlight":"",r.labelClassName]},[r.renderHeader?r.renderHeader.call(e._renderProxy,t,{column:r,$index:o,store:e.store,_self:e.$parent.$vnode.context}):r.label,r.sortable?t("span",{class:"caret-wrapper",on:{click:function(t){return e.handleSortClick(t,r)}}},[t("i",{class:"sort-caret ascending",on:{click:function(t){return e.handleSortClick(t,r,"ascending")}}}),t("i",{class:"sort-caret descending",on:{click:function(t){return e.handleSortClick(t,r,"descending")}}})]):"",r.filterable?t("span",{class:"el-table__column-filter-trigger",on:{click:function(t){return e.handleFilterClick(t,r)}}},[t("i",{class:["el-icon-arrow-down",r.filterOpened?"el-icon-arrow-up":""]})]):""])])}),e.hasGutter?t("th",{class:"gutter"}):""])})])])},props:{fixed:String,store:{required:!0},border:Boolean,defaultSort:{type:Object,default:function(){return{prop:"",order:""}}}},components:{ElCheckbox:rn.a},computed:Kn({table:function(){return this.$parent},hasGutter:function(){return!this.fixed&&this.tableLayout.gutterWidth}},Mn({columns:"columns",isAllSelected:"isAllSelected",leftFixedLeafCount:"fixedLeafColumnsLength",rightFixedLeafCount:"rightFixedLeafColumnsLength",columnsCount:function(t){return t.columns.length},leftFixedCount:function(t){return t.fixedColumns.length},rightFixedCount:function(t){return t.rightFixedColumns.length}})),created:function(){this.filterPanels={}},mounted:function(){var t=this;this.$nextTick(function(){var e=t.defaultSort,n=e.prop,i=e.order;t.store.commit("sort",{prop:n,order:i,init:!0})})},beforeDestroy:function(){var t=this.filterPanels;for(var e in t)t.hasOwnProperty(e)&&t[e]&&t[e].$destroy(!0)},methods:{isCellHidden:function(t,e){for(var n=0,i=0;i<t;i++)n+=e[i].colSpan;var r=n+e[t].colSpan-1;return!0===this.fixed||"left"===this.fixed?r>=this.leftFixedLeafCount:"right"===this.fixed?n<this.columnsCount-this.rightFixedLeafCount:r<this.leftFixedLeafCount||n>=this.columnsCount-this.rightFixedLeafCount},getHeaderRowStyle:function(t){var e=this.table.headerRowStyle;return"function"==typeof e?e.call(null,{rowIndex:t}):e},getHeaderRowClass:function(t){var e=[],n=this.table.headerRowClassName;return"string"==typeof n?e.push(n):"function"==typeof n&&e.push(n.call(null,{rowIndex:t})),e.join(" ")},getHeaderCellStyle:function(t,e,n,i){var r=this.table.headerCellStyle;return"function"==typeof r?r.call(null,{rowIndex:t,columnIndex:e,row:n,column:i}):r},getHeaderCellClass:function(t,e,n,i){var r=[i.id,i.order,i.headerAlign,i.className,i.labelClassName];0===t&&this.isCellHidden(e,n)&&r.push("is-hidden"),i.children||r.push("is-leaf"),i.sortable&&r.push("is-sortable");var o=this.table.headerCellClassName;return"string"==typeof o?r.push(o):"function"==typeof o&&r.push(o.call(null,{rowIndex:t,columnIndex:e,row:n,column:i})),r.join(" ")},toggleAllSelection:function(t){t.stopPropagation(),this.store.commit("toggleAllSelection")},handleFilterClick:function(t,e){t.stopPropagation();var n=t.target,i="TH"===n.tagName?n:n.parentNode;if(!Object(pt.hasClass)(i,"noclick")){i=i.querySelector(".el-table__column-filter-trigger")||i;var r=this.$parent,o=this.filterPanels[e.id];o&&e.filterOpened?o.showPopper=!1:(o||(o=new hn.a(Wn),this.filterPanels[e.id]=o,e.filterPlacement&&(o.placement=e.filterPlacement),o.table=r,o.cell=i,o.column=e,!this.$isServer&&o.$mount(document.createElement("div"))),setTimeout(function(){o.showPopper=!0},16))}},handleHeaderClick:function(t,e){!e.filters&&e.sortable?this.handleSortClick(t,e):e.filterable&&!e.sortable&&this.handleFilterClick(t,e),this.$parent.$emit("header-click",e,t)},handleHeaderContextMenu:function(t,e){this.$parent.$emit("header-contextmenu",e,t)},handleMouseDown:function(t,e){var n=this;if(!this.$isServer&&!(e.children&&e.children.length>0)&&this.draggingColumn&&this.border){this.dragging=!0,this.$parent.resizeProxyVisible=!0;var i=this.$parent,r=i.$el.getBoundingClientRect().left,o=this.$el.querySelector("th."+e.id),a=o.getBoundingClientRect(),s=a.left-r+30;Object(pt.addClass)(o,"noclick"),this.dragState={startMouseLeft:t.clientX,startLeft:a.right-r,startColumnLeft:a.left-r,tableLeft:r};var l=i.$refs.resizeProxy;l.style.left=this.dragState.startLeft+"px",document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};var c=function(t){var e=t.clientX-n.dragState.startMouseLeft,i=n.dragState.startLeft+e;l.style.left=Math.max(s,i)+"px"};document.addEventListener("mousemove",c),document.addEventListener("mouseup",function r(){if(n.dragging){var a=n.dragState,s=a.startColumnLeft,u=a.startLeft,h=parseInt(l.style.left,10)-s;e.width=e.realWidth=h,i.$emit("header-dragend",e.width,u-s,e,t),n.store.scheduleLayout(),document.body.style.cursor="",n.dragging=!1,n.draggingColumn=null,n.dragState={},i.resizeProxyVisible=!1}document.removeEventListener("mousemove",c),document.removeEventListener("mouseup",r),document.onselectstart=null,document.ondragstart=null,setTimeout(function(){Object(pt.removeClass)(o,"noclick")},0)})}},handleMouseMove:function(t,e){if(!(e.children&&e.children.length>0)){for(var n=t.target;n&&"TH"!==n.tagName;)n=n.parentNode;if(e&&e.resizable&&!this.dragging&&this.border){var i=n.getBoundingClientRect(),r=document.body.style;i.width>12&&i.right-t.pageX<8?(r.cursor="col-resize",Object(pt.hasClass)(n,"is-sortable")&&(n.style.cursor="col-resize"),this.draggingColumn=e):this.dragging||(r.cursor="",Object(pt.hasClass)(n,"is-sortable")&&(n.style.cursor="pointer"),this.draggingColumn=null)}}},handleMouseOut:function(){this.$isServer||(document.body.style.cursor="")},toggleOrder:function(t){var e=t.order,n=t.sortOrders;if(""===e)return n[0];var i=n.indexOf(e||null);return n[i>n.length-2?0:i+1]},handleSortClick:function(t,e,n){t.stopPropagation();for(var i=e.order===n?null:n||this.toggleOrder(e),r=t.target;r&&"TH"!==r.tagName;)r=r.parentNode;if(r&&"TH"===r.tagName&&Object(pt.hasClass)(r,"noclick"))Object(pt.removeClass)(r,"noclick");else if(e.sortable){var o=this.store.states,a=o.sortProp,s=void 0,l=o.sortingColumn;(l!==e||l===e&&null===l.order)&&(l&&(l.order=null),o.sortingColumn=e,a=e.property),s=e.order=i||null,o.sortProp=a,o.sortOrder=s,this.store.commit("changeSortCondition")}}},data:function(){return{draggingColumn:null,dragging:!1,dragState:{}}}},qn=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},Zn={name:"ElTableFooter",mixins:[Pn],render:function(t){var e=this,n=[];return this.summaryMethod?n=this.summaryMethod({columns:this.columns,data:this.store.states.data}):this.columns.forEach(function(t,i){if(0!==i){var r=e.store.states.data.map(function(e){return Number(e[t.property])}),o=[],a=!0;r.forEach(function(t){if(!isNaN(t)){a=!1;var e=(""+t).split(".")[1];o.push(e?e.length:0)}});var s=Math.max.apply(null,o);n[i]=a?"":r.reduce(function(t,e){var n=Number(e);return isNaN(n)?t:parseFloat((t+e).toFixed(Math.min(s,20)))},0)}else n[i]=e.sumText}),t("table",{class:"el-table__footer",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[t("colgroup",[this.columns.map(function(e){return t("col",{attrs:{name:e.id},key:e.id})}),this.hasGutter?t("col",{attrs:{name:"gutter"}}):""]),t("tbody",{class:[{"has-gutter":this.hasGutter}]},[t("tr",[this.columns.map(function(i,r){return t("td",{key:r,attrs:{colspan:i.colSpan,rowspan:i.rowSpan},class:e.getRowClasses(i,r)},[t("div",{class:["cell",i.labelClassName]},[n[r]])])}),this.hasGutter?t("th",{class:"gutter"}):""])])])},props:{fixed:String,store:{required:!0},summaryMethod:Function,sumText:String,border:Boolean,defaultSort:{type:Object,default:function(){return{prop:"",order:""}}}},computed:qn({table:function(){return this.$parent},hasGutter:function(){return!this.fixed&&this.tableLayout.gutterWidth}},Mn({columns:"columns",isAllSelected:"isAllSelected",leftFixedLeafCount:"fixedLeafColumnsLength",rightFixedLeafCount:"rightFixedLeafColumnsLength",columnsCount:function(t){return t.columns.length},leftFixedCount:function(t){return t.fixedColumns.length},rightFixedCount:function(t){return t.rightFixedColumns.length}})),methods:{isCellHidden:function(t,e,n){if(!0===this.fixed||"left"===this.fixed)return t>=this.leftFixedLeafCount;if("right"===this.fixed){for(var i=0,r=0;r<t;r++)i+=e[r].colSpan;return i<this.columnsCount-this.rightFixedLeafCount}return!(this.fixed||!n.fixed)||(t<this.leftFixedCount||t>=this.columnsCount-this.rightFixedCount)},getRowClasses:function(t,e){var n=[t.id,t.align,t.labelClassName];return t.className&&n.push(t.className),this.isCellHidden(e,this.columns,t)&&n.push("is-hidden"),t.children||n.push("is-leaf"),n}}},Jn=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},ti=1,ei=r({name:"ElTable",mixins:[p.a,w.a],directives:{Mousewheel:cn},props:{data:{type:Array,default:function(){return[]}},size:String,width:[String,Number],height:[String,Number],maxHeight:[String,Number],fit:{type:Boolean,default:!0},stripe:Boolean,border:Boolean,rowKey:[String,Function],context:{},showHeader:{type:Boolean,default:!0},showSummary:Boolean,sumText:String,summaryMethod:Function,rowClassName:[String,Function],rowStyle:[Object,Function],cellClassName:[String,Function],cellStyle:[Object,Function],headerRowClassName:[String,Function],headerRowStyle:[Object,Function],headerCellClassName:[String,Function],headerCellStyle:[Object,Function],highlightCurrentRow:Boolean,currentRowKey:[String,Number],emptyText:String,expandRowKeys:Array,defaultExpandAll:Boolean,defaultSort:Object,tooltipEffect:String,spanMethod:Function,selectOnIndeterminate:{type:Boolean,default:!0},indent:{type:Number,default:16},treeProps:{type:Object,default:function(){return{hasChildren:"hasChildren",children:"children"}}},lazy:Boolean,load:Function},components:{TableHeader:Xn,TableFooter:Zn,TableBody:Un,ElCheckbox:rn.a},methods:{getMigratingConfig:function(){return{events:{expand:"expand is renamed to expand-change"}}},setCurrentRow:function(t){this.store.commit("setCurrentRow",t)},toggleRowSelection:function(t,e){this.store.toggleRowSelection(t,e,!1),this.store.updateAllSelected()},toggleRowExpansion:function(t,e){this.store.toggleRowExpansionAdapter(t,e)},clearSelection:function(){this.store.clearSelection()},clearFilter:function(t){this.store.clearFilter(t)},clearSort:function(){this.store.clearSort()},handleMouseLeave:function(){this.store.commit("setHoverRow",null),this.hoverState&&(this.hoverState=null)},updateScrollY:function(){this.layout.updateScrollY()&&(this.layout.notifyObservers("scrollable"),this.layout.updateColumnsWidth())},handleFixedMousewheel:function(t,e){var n=this.bodyWrapper;if(Math.abs(e.spinY)>0){var i=n.scrollTop;e.pixelY<0&&0!==i&&t.preventDefault(),e.pixelY>0&&n.scrollHeight-n.clientHeight>i&&t.preventDefault(),n.scrollTop+=Math.ceil(e.pixelY/5)}else n.scrollLeft+=Math.ceil(e.pixelX/5)},handleHeaderFooterMousewheel:function(t,e){var n=e.pixelX,i=e.pixelY;Math.abs(n)>=Math.abs(i)&&(this.bodyWrapper.scrollLeft+=e.pixelX/5)},syncPostion:Object(on.throttle)(20,function(){var t=this.bodyWrapper,e=t.scrollLeft,n=t.scrollTop,i=t.offsetWidth,r=t.scrollWidth,o=this.$refs,a=o.headerWrapper,s=o.footerWrapper,l=o.fixedBodyWrapper,c=o.rightFixedBodyWrapper;a&&(a.scrollLeft=e),s&&(s.scrollLeft=e),l&&(l.scrollTop=n),c&&(c.scrollTop=n);var u=r-i-1;this.scrollPosition=e>=u?"right":0===e?"left":"middle"}),bindEvents:function(){this.bodyWrapper.addEventListener("scroll",this.syncPostion,{passive:!0}),this.fit&&Object(Pe.addResizeListener)(this.$el,this.resizeListener)},unbindEvents:function(){this.bodyWrapper.removeEventListener("scroll",this.syncPostion,{passive:!0}),this.fit&&Object(Pe.removeResizeListener)(this.$el,this.resizeListener)},resizeListener:function(){if(this.$ready){var t=!1,e=this.$el,n=this.resizeState,i=n.width,r=n.height,o=e.offsetWidth;i!==o&&(t=!0);var a=e.offsetHeight;(this.height||this.shouldUpdateHeight)&&r!==a&&(t=!0),t&&(this.resizeState.width=o,this.resizeState.height=a,this.doLayout())}},doLayout:function(){this.shouldUpdateHeight&&this.layout.updateElsHeight(),this.layout.updateColumnsWidth()},sort:function(t,e){this.store.commit("sort",{prop:t,order:e})},toggleAllSelection:function(){this.store.commit("toggleAllSelection")}},computed:Jn({tableSize:function(){return this.size||(this.$ELEMENT||{}).size},bodyWrapper:function(){return this.$refs.bodyWrapper},shouldUpdateHeight:function(){return this.height||this.maxHeight||this.fixedColumns.length>0||this.rightFixedColumns.length>0},bodyWidth:function(){var t=this.layout,e=t.bodyWidth,n=t.scrollY,i=t.gutterWidth;return e?e-(n?i:0)+"px":""},bodyHeight:function(){var t=this.layout,e=t.headerHeight,n=void 0===e?0:e,i=t.bodyHeight,r=t.footerHeight,o=void 0===r?0:r;if(this.height)return{height:i?i+"px":""};if(this.maxHeight){var a=wn(this.maxHeight);if("number"==typeof a)return{"max-height":a-o-(this.showHeader?n:0)+"px"}}return{}},fixedBodyHeight:function(){if(this.height)return{height:this.layout.fixedBodyHeight?this.layout.fixedBodyHeight+"px":""};if(this.maxHeight){var t=wn(this.maxHeight);if("number"==typeof t)return t=this.layout.scrollX?t-this.layout.gutterWidth:t,this.showHeader&&(t-=this.layout.headerHeight),{"max-height":(t-=this.layout.footerHeight)+"px"}}return{}},fixedHeight:function(){return this.maxHeight?this.showSummary?{bottom:0}:{bottom:this.layout.scrollX&&this.data.length?this.layout.gutterWidth+"px":""}:this.showSummary?{height:this.layout.tableHeight?this.layout.tableHeight+"px":""}:{height:this.layout.viewportHeight?this.layout.viewportHeight+"px":""}},emptyBlockStyle:function(){if(this.data&&this.data.length)return null;var t="100%";return this.layout.appendHeight&&(t="calc(100% - "+this.layout.appendHeight+"px)"),{width:this.bodyWidth,height:t}}},Mn({selection:"selection",columns:"columns",tableData:"data",fixedColumns:"fixedColumns",rightFixedColumns:"rightFixedColumns"})),watch:{height:{immediate:!0,handler:function(t){this.layout.setHeight(t)}},maxHeight:{immediate:!0,handler:function(t){this.layout.setMaxHeight(t)}},currentRowKey:{immediate:!0,handler:function(t){this.rowKey&&this.store.setCurrentRowKey(t)}},data:{immediate:!0,handler:function(t){this.store.commit("setData",t)}},expandRowKeys:{immediate:!0,handler:function(t){t&&this.store.setExpandRowKeysAdapter(t)}}},created:function(){var t=this;this.tableId="el-table_"+ti++,this.debouncedUpdateLayout=Object(on.debounce)(50,function(){return t.doLayout()})},mounted:function(){var t=this;this.bindEvents(),this.store.updateColumns(),this.doLayout(),this.resizeState={width:this.$el.offsetWidth,height:this.$el.offsetHeight},this.store.states.columns.forEach(function(e){e.filteredValue&&e.filteredValue.length&&t.store.commit("filterChange",{column:e,values:e.filteredValue,silent:!0})}),this.$ready=!0},destroyed:function(){this.unbindEvents()},data:function(){var t=this.treeProps,e=t.hasChildren,n=void 0===e?"hasChildren":e,i=t.children,r=void 0===i?"children":i;return this.store=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!t)throw new Error("Table is required.");var n=new In;return n.table=t,n.toggleAllSelection=E()(10,n._toggleAllSelection),Object.keys(e).forEach(function(t){n.states[t]=e[t]}),n}(this,{rowKey:this.rowKey,defaultExpandAll:this.defaultExpandAll,selectOnIndeterminate:this.selectOnIndeterminate,indent:this.indent,lazy:this.lazy,lazyColumnIdentifier:n,childrenColumnName:r}),{layout:new Fn({store:this.store,table:this,fit:this.fit,showHeader:this.showHeader}),isHidden:!1,renderExpanded:null,resizeProxyVisible:!1,resizeState:{width:null,height:null},isGroup:!1,scrollPosition:"left"}}},en,[],!1,null,null,null);ei.options.__file="packages/table/src/table.vue";var ni=ei.exports;ni.install=function(t){t.component(ni.name,ni)};var ii=ni,ri={default:{order:""},selection:{width:48,minWidth:48,realWidth:48,order:"",className:"el-table-column--selection"},expand:{width:48,minWidth:48,realWidth:48,order:""},index:{width:48,minWidth:48,realWidth:48,order:""}},oi={selection:{renderHeader:function(t,e){var n=e.store;return t("el-checkbox",{attrs:{disabled:n.states.data&&0===n.states.data.length,indeterminate:n.states.selection.length>0&&!this.isAllSelected,value:this.isAllSelected},nativeOn:{click:this.toggleAllSelection}})},renderCell:function(t,e){var n=e.row,i=e.column,r=e.store,o=e.$index;return t("el-checkbox",{nativeOn:{click:function(t){return t.stopPropagation()}},attrs:{value:r.isSelected(n),disabled:!!i.selectable&&!i.selectable.call(null,n,o)},on:{input:function(){r.commit("rowSelectedChanged",n)}}})},sortable:!1,resizable:!1},index:{renderHeader:function(t,e){return e.column.label||"#"},renderCell:function(t,e){var n=e.$index,i=n+1,r=e.column.index;return"number"==typeof r?i=n+r:"function"==typeof r&&(i=r(n)),t("div",[i])},sortable:!1},expand:{renderHeader:function(t,e){return e.column.label||""},renderCell:function(t,e){var n=e.row,i=e.store,r=["el-table__expand-icon"];i.states.expandRows.indexOf(n)>-1&&r.push("el-table__expand-icon--expanded");return t("div",{class:r,on:{click:function(t){t.stopPropagation(),i.toggleRowExpansion(n)}}},[t("i",{class:"el-icon el-icon-arrow-right"})])},sortable:!1,resizable:!1,className:"el-table__expand-column"}};function ai(t,e){var n=e.row,i=e.column,r=e.$index,o=i.property,a=o&&Object(A.getPropByPath)(n,o).v;return i&&i.formatter?i.formatter(n,i,a,r):a}var si=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},li=1,ci={name:"ElTableColumn",props:{type:{type:String,default:"default"},label:String,className:String,labelClassName:String,property:String,prop:String,width:{},minWidth:{},renderHeader:Function,sortable:{type:[Boolean,String],default:!1},sortMethod:Function,sortBy:[String,Function,Array],resizable:{type:Boolean,default:!0},columnKey:String,align:String,headerAlign:String,showTooltipWhenOverflow:Boolean,showOverflowTooltip:Boolean,fixed:[Boolean,String],formatter:Function,selectable:Function,reserveSelection:Boolean,filterMethod:Function,filteredValue:Array,filters:Array,filterPlacement:String,filterMultiple:{type:Boolean,default:!0},index:[Number,Function],sortOrders:{type:Array,default:function(){return["ascending","descending",null]},validator:function(t){return t.every(function(t){return["ascending","descending",null].indexOf(t)>-1})}}},data:function(){return{isSubColumn:!1,columns:[]}},computed:{owner:function(){for(var t=this.$parent;t&&!t.tableId;)t=t.$parent;return t},columnOrTableParent:function(){for(var t=this.$parent;t&&!t.tableId&&!t.columnId;)t=t.$parent;return t},realWidth:function(){return _n(this.width)},realMinWidth:function(){return void 0!==(t=this.minWidth)&&(t=_n(t),isNaN(t)&&(t=80)),t;var t},realAlign:function(){return this.align?"is-"+this.align:null},realHeaderAlign:function(){return this.headerAlign?"is-"+this.headerAlign:this.realAlign}},methods:{getPropsData:function(){for(var t=this,e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return n.reduce(function(e,n){return Array.isArray(n)&&n.forEach(function(n){e[n]=t[n]}),e},{})},getColumnElIndex:function(t,e){return[].indexOf.call(t,e)},setColumnWidth:function(t){return this.realWidth&&(t.width=this.realWidth),this.realMinWidth&&(t.minWidth=this.realMinWidth),t.minWidth||(t.minWidth=80),t.realWidth=void 0===t.width?t.minWidth:t.width,t},setColumnForcedProps:function(t){var e=t.type,n=oi[e]||{};return Object.keys(n).forEach(function(e){var i=n[e];void 0!==i&&(t[e]="className"===e?t[e]+" "+i:i)}),t},setColumnRenders:function(t){var e=this;this.$createElement;this.renderHeader?console.warn("[Element Warn][TableColumn]Comparing to render-header, scoped-slot header is easier to use. We recommend users to use scoped-slot header."):"selection"!==t.type&&(t.renderHeader=function(n,i){var r=e.$scopedSlots.header;return r?r(i):t.label});var n=t.renderCell;return"expand"===t.type?(t.renderCell=function(t,e){return t("div",{class:"cell"},[n(t,e)])},this.owner.renderExpanded=function(t,n){return e.$scopedSlots.default?e.$scopedSlots.default(n):e.$slots.default}):(n=n||ai,t.renderCell=function(i,r){var o=null;o=e.$scopedSlots.default?e.$scopedSlots.default(r):n(i,r);var a=function(t,e){var n=e.row,i=e.treeNode,r=e.store;if(!i)return null;var o=[];if(i.indent&&o.push(t("span",{class:"el-table__indent",style:{"padding-left":i.indent+"px"}})),"boolean"!=typeof i.expanded||i.noLazyChildren)o.push(t("span",{class:"el-table__placeholder"}));else{var a=["el-table__expand-icon",i.expanded?"el-table__expand-icon--expanded":""],s=["el-icon-arrow-right"];i.loading&&(s=["el-icon-loading"]),o.push(t("div",{class:a,on:{click:function(t){t.stopPropagation(),r.loadOrToggle(n)}}},[t("i",{class:s})]))}return o}(i,r),s={class:"cell",style:{}};return t.showOverflowTooltip&&(s.class+=" el-tooltip",s.style={width:(r.column.realWidth||r.column.width)-1+"px"}),i("div",s,[a,o])}),t},registerNormalWatchers:function(){var t=this,e={prop:"property",realAlign:"align",realHeaderAlign:"headerAlign",realWidth:"width"},n=["label","property","filters","filterMultiple","sortable","index","formatter","className","labelClassName","showOverflowTooltip"].reduce(function(t,e){return t[e]=e,t},e);Object.keys(n).forEach(function(n){var i=e[n];t.$watch(n,function(e){t.columnConfig[i]=e})})},registerComplexWatchers:function(){var t=this,e={realWidth:"width",realMinWidth:"minWidth"},n=["fixed"].reduce(function(t,e){return t[e]=e,t},e);Object.keys(n).forEach(function(n){var i=e[n];t.$watch(n,function(e){t.columnConfig[i]=e;var n="fixed"===i;t.owner.store.scheduleLayout(n)})})}},components:{ElCheckbox:rn.a},beforeCreate:function(){this.row={},this.column={},this.$index=0,this.columnId=""},created:function(){var t=this.columnOrTableParent;this.isSubColumn=this.owner!==t,this.columnId=(t.tableId||t.columnId)+"_column_"+li++;var e=this.type||"default",n=""===this.sortable||this.sortable,i=si({},ri[e],{id:this.columnId,type:e,property:this.prop||this.property,align:this.realAlign,headerAlign:this.realHeaderAlign,showOverflowTooltip:this.showOverflowTooltip||this.showTooltipWhenOverflow,filterable:this.filters||this.filterMethod,filteredValue:[],filterPlacement:"",isColumnGroup:!1,filterOpened:!1,sortable:n,index:this.index}),r=this.getPropsData(["columnKey","label","className","labelClassName","type","renderHeader","formatter","fixed","resizable"],["sortMethod","sortBy","sortOrders"],["selectable","reserveSelection"],["filterMethod","filters","filterMultiple","filterOpened","filteredValue","filterPlacement"]);r=function(t,e){var n={},i=void 0;for(i in t)n[i]=t[i];for(i in e)if(bn(e,i)){var r=e[i];void 0!==r&&(n[i]=r)}return n}(i,r),r=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce(function(t,e){return function(){return t(e.apply(void 0,arguments))}})}(this.setColumnRenders,this.setColumnWidth,this.setColumnForcedProps)(r),this.columnConfig=r,this.registerNormalWatchers(),this.registerComplexWatchers()},mounted:function(){var t=this.owner,e=this.columnOrTableParent,n=this.isSubColumn?e.$el.children:e.$refs.hiddenColumns.children,i=this.getColumnElIndex(n,this.$el);t.store.commit("insertColumn",this.columnConfig,i,this.isSubColumn?e.columnConfig:null)},destroyed:function(){if(this.$parent){var t=this.$parent;this.owner.store.commit("removeColumn",this.columnConfig,this.isSubColumn?t.columnConfig:null)}},render:function(t){return t("div",this.$slots.default)},install:function(t){t.component(ci.name,ci)}},ui=ci,hi=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.ranged?n("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:t.handleClose,expression:"handleClose"}],ref:"reference",staticClass:"el-date-editor el-range-editor el-input__inner",class:["el-date-editor--"+t.type,t.pickerSize?"el-range-editor--"+t.pickerSize:"",t.pickerDisabled?"is-disabled":"",t.pickerVisible?"is-active":""],on:{click:t.handleRangeClick,mouseenter:t.handleMouseEnter,mouseleave:function(e){t.showClose=!1},keydown:t.handleKeydown}},[n("i",{class:["el-input__icon","el-range__icon",t.triggerClass]}),n("input",t._b({staticClass:"el-range-input",attrs:{autocomplete:"off",placeholder:t.startPlaceholder,disabled:t.pickerDisabled,readonly:!t.editable||t.readonly,name:t.name&&t.name[0]},domProps:{value:t.displayValue&&t.displayValue[0]},on:{input:t.handleStartInput,change:t.handleStartChange,focus:t.handleFocus}},"input",t.firstInputId,!1)),t._t("range-separator",[n("span",{staticClass:"el-range-separator"},[t._v(t._s(t.rangeSeparator))])]),n("input",t._b({staticClass:"el-range-input",attrs:{autocomplete:"off",placeholder:t.endPlaceholder,disabled:t.pickerDisabled,readonly:!t.editable||t.readonly,name:t.name&&t.name[1]},domProps:{value:t.displayValue&&t.displayValue[1]},on:{input:t.handleEndInput,change:t.handleEndChange,focus:t.handleFocus}},"input",t.secondInputId,!1)),t.haveTrigger?n("i",{staticClass:"el-input__icon el-range__close-icon",class:[t.showClose?""+t.clearIcon:""],on:{click:t.handleClickIcon}}):t._e()],2):n("el-input",t._b({directives:[{name:"clickoutside",rawName:"v-clickoutside",value:t.handleClose,expression:"handleClose"}],ref:"reference",staticClass:"el-date-editor",class:"el-date-editor--"+t.type,attrs:{readonly:!t.editable||t.readonly||"dates"===t.type||"week"===t.type,disabled:t.pickerDisabled,size:t.pickerSize,name:t.name,placeholder:t.placeholder,value:t.displayValue,validateEvent:!1},on:{focus:t.handleFocus,input:function(e){return t.userInput=e},change:t.handleChange},nativeOn:{keydown:function(e){return t.handleKeydown(e)},mouseenter:function(e){return t.handleMouseEnter(e)},mouseleave:function(e){t.showClose=!1}}},"el-input",t.firstInputId,!1),[n("i",{staticClass:"el-input__icon",class:t.triggerClass,attrs:{slot:"prefix"},on:{click:t.handleFocus},slot:"prefix"}),t.haveTrigger?n("i",{staticClass:"el-input__icon",class:[t.showClose?""+t.clearIcon:""],attrs:{slot:"suffix"},on:{click:t.handleClickIcon},slot:"suffix"}):t._e()])};hi._withStripped=!0;var di=n(0),fi={props:{appendToBody:F.a.props.appendToBody,offset:F.a.props.offset,boundariesPadding:F.a.props.boundariesPadding,arrowOffset:F.a.props.arrowOffset},methods:F.a.methods,data:function(){return Qt()({visibleArrow:!0},F.a.data)},beforeDestroy:F.a.beforeDestroy},pi={date:"yyyy-MM-dd",month:"yyyy-MM",datetime:"yyyy-MM-dd HH:mm:ss",time:"HH:mm:ss",week:"yyyywWW",timerange:"HH:mm:ss",daterange:"yyyy-MM-dd",monthrange:"yyyy-MM",datetimerange:"yyyy-MM-dd HH:mm:ss",year:"yyyy"},Ai=["date","datetime","time","time-select","week","month","year","daterange","monthrange","timerange","datetimerange","dates"],gi=function(t,e){return"timestamp"===e?t.getTime():Object(di.formatDate)(t,e)},vi=function(t,e){return"timestamp"===e?new Date(Number(t)):Object(di.parseDate)(t,e)},mi=function(t,e){if(Array.isArray(t)&&2===t.length){var n=t[0],i=t[1];if(n&&i)return[gi(n,e),gi(i,e)]}return""},yi=function(t,e,n){if(Array.isArray(t)||(t=t.split(n)),2===t.length){var i=t[0],r=t[1];return[vi(i,e),vi(r,e)]}return[]},bi={default:{formatter:function(t){return t?""+t:""},parser:function(t){return void 0===t||""===t?null:t}},week:{formatter:function(t,e){var n=Object(di.getWeekNumber)(t),i=t.getMonth(),r=new Date(t);1===n&&11===i&&(r.setHours(0,0,0,0),r.setDate(r.getDate()+3-(r.getDay()+6)%7));var o=Object(di.formatDate)(r,e);return o=/WW/.test(o)?o.replace(/WW/,n<10?"0"+n:n):o.replace(/W/,n)},parser:function(t,e){return bi.date.parser(t,e)}},date:{formatter:gi,parser:vi},datetime:{formatter:gi,parser:vi},daterange:{formatter:mi,parser:yi},monthrange:{formatter:mi,parser:yi},datetimerange:{formatter:mi,parser:yi},timerange:{formatter:mi,parser:yi},time:{formatter:gi,parser:vi},month:{formatter:gi,parser:vi},year:{formatter:gi,parser:vi},number:{formatter:function(t){return t?""+t:""},parser:function(t){var e=Number(t);return isNaN(t)?null:e}},dates:{formatter:function(t,e){return t.map(function(t){return gi(t,e)})},parser:function(t,e){return("string"==typeof t?t.split(", "):t).map(function(t){return t instanceof Date?t:vi(t,e)})}}},_i={left:"bottom-start",center:"bottom",right:"bottom-end"},wi=function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"-";return t?(0,(bi[n]||bi.default).parser)(t,e||pi[n],i):null},xi=function(t,e,n){return t?(0,(bi[n]||bi.default).formatter)(t,e||pi[n]):null},Ci=function(t,e){var n=function(t,e){var n=t instanceof Date,i=e instanceof Date;return n&&i?t.getTime()===e.getTime():!n&&!i&&t===e},i=t instanceof Array,r=e instanceof Array;return i&&r?t.length===e.length&&t.every(function(t,i){return n(t,e[i])}):!i&&!r&&n(t,e)},Si=function(t){return"string"==typeof t||t instanceof String},Bi=function(t){return null===t||void 0===t||Si(t)||Array.isArray(t)&&2===t.length&&t.every(Si)},ki=r({mixins:[C.a,fi],inject:{elForm:{default:""},elFormItem:{default:""}},props:{size:String,format:String,valueFormat:String,readonly:Boolean,placeholder:String,startPlaceholder:String,endPlaceholder:String,prefixIcon:String,clearIcon:{type:String,default:"el-icon-circle-close"},name:{default:"",validator:Bi},disabled:Boolean,clearable:{type:Boolean,default:!0},id:{default:"",validator:Bi},popperClass:String,editable:{type:Boolean,default:!0},align:{type:String,default:"left"},value:{},defaultValue:{},defaultTime:{},rangeSeparator:{default:"-"},pickerOptions:{},unlinkPanels:Boolean,validateEvent:{type:Boolean,default:!0}},components:{ElInput:d.a},directives:{Clickoutside:M.a},data:function(){return{pickerVisible:!1,showClose:!1,userInput:null,valueOnOpen:null,unwatchPickerOptions:null}},watch:{pickerVisible:function(t){this.readonly||this.pickerDisabled||(t?(this.showPicker(),this.valueOnOpen=Array.isArray(this.value)?[].concat(this.value):this.value):(this.hidePicker(),this.emitChange(this.value),this.userInput=null,this.validateEvent&&this.dispatch("ElFormItem","el.form.blur"),this.$emit("blur",this),this.blur()))},parsedValue:{immediate:!0,handler:function(t){this.picker&&(this.picker.value=t)}},defaultValue:function(t){this.picker&&(this.picker.defaultValue=t)},value:function(t,e){Ci(t,e)||this.pickerVisible||!this.validateEvent||this.dispatch("ElFormItem","el.form.change",t)}},computed:{ranged:function(){return this.type.indexOf("range")>-1},reference:function(){var t=this.$refs.reference;return t.$el||t},refInput:function(){return this.reference?[].slice.call(this.reference.querySelectorAll("input")):[]},valueIsEmpty:function(){var t=this.value;if(Array.isArray(t)){for(var e=0,n=t.length;e<n;e++)if(t[e])return!1}else if(t)return!1;return!0},triggerClass:function(){return this.prefixIcon||(-1!==this.type.indexOf("time")?"el-icon-time":"el-icon-date")},selectionMode:function(){return"week"===this.type?"week":"month"===this.type?"month":"year"===this.type?"year":"dates"===this.type?"dates":"day"},haveTrigger:function(){return void 0!==this.showTrigger?this.showTrigger:-1!==Ai.indexOf(this.type)},displayValue:function(){var t=xi(this.parsedValue,this.format,this.type,this.rangeSeparator);return Array.isArray(this.userInput)?[this.userInput[0]||t&&t[0]||"",this.userInput[1]||t&&t[1]||""]:null!==this.userInput?this.userInput:t?"dates"===this.type?t.join(", "):t:""},parsedValue:function(){return this.value?"time-select"===this.type?this.value:Object(di.isDateObject)(this.value)||Array.isArray(this.value)&&this.value.every(di.isDateObject)?this.value:this.valueFormat?wi(this.value,this.valueFormat,this.type,this.rangeSeparator)||this.value:Array.isArray(this.value)?this.value.map(function(t){return new Date(t)}):new Date(this.value):this.value},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},pickerSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},pickerDisabled:function(){return this.disabled||(this.elForm||{}).disabled},firstInputId:function(){var t={},e=void 0;return(e=this.ranged?this.id&&this.id[0]:this.id)&&(t.id=e),t},secondInputId:function(){var t={},e=void 0;return this.ranged&&(e=this.id&&this.id[1]),e&&(t.id=e),t}},created:function(){this.popperOptions={boundariesPadding:0,gpuAcceleration:!1},this.placement=_i[this.align]||_i.left,this.$on("fieldReset",this.handleFieldReset)},methods:{focus:function(){this.ranged?this.handleFocus():this.$refs.reference.focus()},blur:function(){this.refInput.forEach(function(t){return t.blur()})},parseValue:function(t){var e=Object(di.isDateObject)(t)||Array.isArray(t)&&t.every(di.isDateObject);return this.valueFormat&&!e&&wi(t,this.valueFormat,this.type,this.rangeSeparator)||t},formatToValue:function(t){var e=Object(di.isDateObject)(t)||Array.isArray(t)&&t.every(di.isDateObject);return this.valueFormat&&e?xi(t,this.valueFormat,this.type,this.rangeSeparator):t},parseString:function(t){var e=Array.isArray(t)?this.type:this.type.replace("range","");return wi(t,this.format,e)},formatToString:function(t){var e=Array.isArray(t)?this.type:this.type.replace("range","");return xi(t,this.format,e)},handleMouseEnter:function(){this.readonly||this.pickerDisabled||!this.valueIsEmpty&&this.clearable&&(this.showClose=!0)},handleChange:function(){if(this.userInput){var t=this.parseString(this.displayValue);t&&(this.picker.value=t,this.isValidValue(t)&&(this.emitInput(t),this.userInput=null))}""===this.userInput&&(this.emitInput(null),this.emitChange(null),this.userInput=null)},handleStartInput:function(t){this.userInput?this.userInput=[t.target.value,this.userInput[1]]:this.userInput=[t.target.value,null]},handleEndInput:function(t){this.userInput?this.userInput=[this.userInput[0],t.target.value]:this.userInput=[null,t.target.value]},handleStartChange:function(t){var e=this.parseString(this.userInput&&this.userInput[0]);if(e){this.userInput=[this.formatToString(e),this.displayValue[1]];var n=[e,this.picker.value&&this.picker.value[1]];this.picker.value=n,this.isValidValue(n)&&(this.emitInput(n),this.userInput=null)}},handleEndChange:function(t){var e=this.parseString(this.userInput&&this.userInput[1]);if(e){this.userInput=[this.displayValue[0],this.formatToString(e)];var n=[this.picker.value&&this.picker.value[0],e];this.picker.value=n,this.isValidValue(n)&&(this.emitInput(n),this.userInput=null)}},handleClickIcon:function(t){this.readonly||this.pickerDisabled||(this.showClose?(this.valueOnOpen=this.value,t.stopPropagation(),this.emitInput(null),this.emitChange(null),this.showClose=!1,this.picker&&"function"==typeof this.picker.handleClear&&this.picker.handleClear()):this.pickerVisible=!this.pickerVisible)},handleClose:function(){if(this.pickerVisible&&(this.pickerVisible=!1,"dates"===this.type)){var t=wi(this.valueOnOpen,this.valueFormat,this.type,this.rangeSeparator)||this.valueOnOpen;this.emitInput(t)}},handleFieldReset:function(t){this.userInput=""===t?null:t},handleFocus:function(){var t=this.type;-1===Ai.indexOf(t)||this.pickerVisible||(this.pickerVisible=!0),this.$emit("focus",this)},handleKeydown:function(t){var e=this,n=t.keyCode;return 27===n?(this.pickerVisible=!1,void t.stopPropagation()):9!==n?13===n?((""===this.userInput||this.isValidValue(this.parseString(this.displayValue)))&&(this.handleChange(),this.pickerVisible=this.picker.visible=!1,this.blur()),void t.stopPropagation()):void(this.userInput?t.stopPropagation():this.picker&&this.picker.handleKeydown&&this.picker.handleKeydown(t)):void(this.ranged?setTimeout(function(){-1===e.refInput.indexOf(document.activeElement)&&(e.pickerVisible=!1,e.blur(),t.stopPropagation())},0):(this.handleChange(),this.pickerVisible=this.picker.visible=!1,this.blur(),t.stopPropagation()))},handleRangeClick:function(){var t=this.type;-1===Ai.indexOf(t)||this.pickerVisible||(this.pickerVisible=!0),this.$emit("focus",this)},hidePicker:function(){this.picker&&(this.picker.resetView&&this.picker.resetView(),this.pickerVisible=this.picker.visible=!1,this.destroyPopper())},showPicker:function(){var t=this;this.$isServer||(this.picker||this.mountPicker(),this.pickerVisible=this.picker.visible=!0,this.updatePopper(),this.picker.value=this.parsedValue,this.picker.resetView&&this.picker.resetView(),this.$nextTick(function(){t.picker.adjustSpinners&&t.picker.adjustSpinners()}))},mountPicker:function(){var t=this;this.picker=new hn.a(this.panel).$mount(),this.picker.defaultValue=this.defaultValue,this.picker.defaultTime=this.defaultTime,this.picker.popperClass=this.popperClass,this.popperElm=this.picker.$el,this.picker.width=this.reference.getBoundingClientRect().width,this.picker.showTime="datetime"===this.type||"datetimerange"===this.type,this.picker.selectionMode=this.selectionMode,this.picker.unlinkPanels=this.unlinkPanels,this.picker.arrowControl=this.arrowControl||this.timeArrowControl||!1,this.$watch("format",function(e){t.picker.format=e});var e=function(){var e=t.pickerOptions;if(e&&e.selectableRange){var n=e.selectableRange,i=bi.datetimerange.parser,r=pi.timerange;n=Array.isArray(n)?n:[n],t.picker.selectableRange=n.map(function(e){return i(e,r,t.rangeSeparator)})}for(var o in e)e.hasOwnProperty(o)&&"selectableRange"!==o&&(t.picker[o]=e[o]);t.format&&(t.picker.format=t.format)};e(),this.unwatchPickerOptions=this.$watch("pickerOptions",function(){return e()},{deep:!0}),this.$el.appendChild(this.picker.$el),this.picker.resetView&&this.picker.resetView(),this.picker.$on("dodestroy",this.doDestroy),this.picker.$on("pick",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t.userInput=null,t.pickerVisible=t.picker.visible=n,t.emitInput(e),t.picker.resetView&&t.picker.resetView()}),this.picker.$on("select-range",function(e,n,i){0!==t.refInput.length&&(i&&"min"!==i?"max"===i&&(t.refInput[1].setSelectionRange(e,n),t.refInput[1].focus()):(t.refInput[0].setSelectionRange(e,n),t.refInput[0].focus()))})},unmountPicker:function(){this.picker&&(this.picker.$destroy(),this.picker.$off(),"function"==typeof this.unwatchPickerOptions&&this.unwatchPickerOptions(),this.picker.$el.parentNode.removeChild(this.picker.$el))},emitChange:function(t){Ci(t,this.valueOnOpen)||(this.$emit("change",t),this.valueOnOpen=t,this.validateEvent&&this.dispatch("ElFormItem","el.form.change",t))},emitInput:function(t){var e=this.formatToValue(t);Ci(this.value,e)||this.$emit("input",e)},isValidValue:function(t){return this.picker||this.mountPicker(),!this.picker.isValidValue||t&&this.picker.isValidValue(t)}}},hi,[],!1,null,null,null);ki.options.__file="packages/date-picker/src/picker.vue";var Ti=ki.exports,Oi=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-enter":t.handleEnter,"after-leave":t.handleLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"el-picker-panel el-date-picker el-popper",class:[{"has-sidebar":t.$slots.sidebar||t.shortcuts,"has-time":t.showTime},t.popperClass]},[n("div",{staticClass:"el-picker-panel__body-wrapper"},[t._t("sidebar"),t.shortcuts?n("div",{staticClass:"el-picker-panel__sidebar"},t._l(t.shortcuts,function(e,i){return n("button",{key:i,staticClass:"el-picker-panel__shortcut",attrs:{type:"button"},on:{click:function(n){t.handleShortcutClick(e)}}},[t._v(t._s(e.text))])}),0):t._e(),n("div",{staticClass:"el-picker-panel__body"},[t.showTime?n("div",{staticClass:"el-date-picker__time-header"},[n("span",{staticClass:"el-date-picker__editor-wrap"},[n("el-input",{attrs:{placeholder:t.t("el.datepicker.selectDate"),value:t.visibleDate,size:"small"},on:{input:function(e){return t.userInputDate=e},change:t.handleVisibleDateChange}})],1),n("span",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:t.handleTimePickClose,expression:"handleTimePickClose"}],staticClass:"el-date-picker__editor-wrap"},[n("el-input",{ref:"input",attrs:{placeholder:t.t("el.datepicker.selectTime"),value:t.visibleTime,size:"small"},on:{focus:function(e){t.timePickerVisible=!0},input:function(e){return t.userInputTime=e},change:t.handleVisibleTimeChange}}),n("time-picker",{ref:"timepicker",attrs:{"time-arrow-control":t.arrowControl,visible:t.timePickerVisible},on:{pick:t.handleTimePick,mounted:t.proxyTimePickerDataProperties}})],1)]):t._e(),n("div",{directives:[{name:"show",rawName:"v-show",value:"time"!==t.currentView,expression:"currentView !== 'time'"}],staticClass:"el-date-picker__header",class:{"el-date-picker__header--bordered":"year"===t.currentView||"month"===t.currentView}},[n("button",{staticClass:"el-picker-panel__icon-btn el-date-picker__prev-btn el-icon-d-arrow-left",attrs:{type:"button","aria-label":t.t("el.datepicker.prevYear")},on:{click:t.prevYear}}),n("button",{directives:[{name:"show",rawName:"v-show",value:"date"===t.currentView,expression:"currentView === 'date'"}],staticClass:"el-picker-panel__icon-btn el-date-picker__prev-btn el-icon-arrow-left",attrs:{type:"button","aria-label":t.t("el.datepicker.prevMonth")},on:{click:t.prevMonth}}),n("span",{staticClass:"el-date-picker__header-label",attrs:{role:"button"},on:{click:t.showYearPicker}},[t._v(t._s(t.yearLabel))]),n("span",{directives:[{name:"show",rawName:"v-show",value:"date"===t.currentView,expression:"currentView === 'date'"}],staticClass:"el-date-picker__header-label",class:{active:"month"===t.currentView},attrs:{role:"button"},on:{click:t.showMonthPicker}},[t._v(t._s(t.t("el.datepicker.month"+(t.month+1))))]),n("button",{staticClass:"el-picker-panel__icon-btn el-date-picker__next-btn el-icon-d-arrow-right",attrs:{type:"button","aria-label":t.t("el.datepicker.nextYear")},on:{click:t.nextYear}}),n("button",{directives:[{name:"show",rawName:"v-show",value:"date"===t.currentView,expression:"currentView === 'date'"}],staticClass:"el-picker-panel__icon-btn el-date-picker__next-btn el-icon-arrow-right",attrs:{type:"button","aria-label":t.t("el.datepicker.nextMonth")},on:{click:t.nextMonth}})]),n("div",{staticClass:"el-picker-panel__content"},[n("date-table",{directives:[{name:"show",rawName:"v-show",value:"date"===t.currentView,expression:"currentView === 'date'"}],attrs:{"selection-mode":t.selectionMode,"first-day-of-week":t.firstDayOfWeek,value:t.value,"default-value":t.defaultValue?new Date(t.defaultValue):null,date:t.date,"cell-class-name":t.cellClassName,"disabled-date":t.disabledDate},on:{pick:t.handleDatePick}}),n("year-table",{directives:[{name:"show",rawName:"v-show",value:"year"===t.currentView,expression:"currentView === 'year'"}],attrs:{value:t.value,"default-value":t.defaultValue?new Date(t.defaultValue):null,date:t.date,"disabled-date":t.disabledDate},on:{pick:t.handleYearPick}}),n("month-table",{directives:[{name:"show",rawName:"v-show",value:"month"===t.currentView,expression:"currentView === 'month'"}],attrs:{value:t.value,"default-value":t.defaultValue?new Date(t.defaultValue):null,date:t.date,"disabled-date":t.disabledDate},on:{pick:t.handleMonthPick}})],1)])],2),n("div",{directives:[{name:"show",rawName:"v-show",value:t.footerVisible&&"date"===t.currentView,expression:"footerVisible && currentView === 'date'"}],staticClass:"el-picker-panel__footer"},[n("el-button",{directives:[{name:"show",rawName:"v-show",value:"dates"!==t.selectionMode,expression:"selectionMode !== 'dates'"}],staticClass:"el-picker-panel__link-btn",attrs:{size:"mini",type:"text"},on:{click:t.changeToNow}},[t._v("\n "+t._s(t.t("el.datepicker.now"))+"\n ")]),n("el-button",{staticClass:"el-picker-panel__link-btn",attrs:{plain:"",size:"mini"},on:{click:t.confirm}},[t._v("\n "+t._s(t.t("el.datepicker.confirm"))+"\n ")])],1)])])};Oi._withStripped=!0;var Ei=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":function(e){t.$emit("dodestroy")}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"el-time-panel el-popper",class:t.popperClass},[n("div",{staticClass:"el-time-panel__content",class:{"has-seconds":t.showSeconds}},[n("time-spinner",{ref:"spinner",attrs:{"arrow-control":t.useArrow,"show-seconds":t.showSeconds,"am-pm-mode":t.amPmMode,date:t.date},on:{change:t.handleChange,"select-range":t.setSelectionRange}})],1),n("div",{staticClass:"el-time-panel__footer"},[n("button",{staticClass:"el-time-panel__btn cancel",attrs:{type:"button"},on:{click:t.handleCancel}},[t._v(t._s(t.t("el.datepicker.cancel")))]),n("button",{staticClass:"el-time-panel__btn",class:{confirm:!t.disabled},attrs:{type:"button"},on:{click:function(e){t.handleConfirm()}}},[t._v(t._s(t.t("el.datepicker.confirm")))])])])])};Ei._withStripped=!0;var Ii=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"el-time-spinner",class:{"has-seconds":t.showSeconds}},[t.arrowControl?t._e():[n("el-scrollbar",{ref:"hours",staticClass:"el-time-spinner__wrapper",attrs:{"wrap-style":"max-height: inherit;","view-class":"el-time-spinner__list",noresize:"",tag:"ul"},nativeOn:{mouseenter:function(e){t.emitSelectRange("hours")},mousemove:function(e){t.adjustCurrentSpinner("hours")}}},t._l(t.hoursList,function(e,i){return n("li",{key:i,staticClass:"el-time-spinner__item",class:{active:i===t.hours,disabled:e},on:{click:function(n){t.handleClick("hours",{value:i,disabled:e})}}},[t._v(t._s(("0"+(t.amPmMode?i%12||12:i)).slice(-2))+t._s(t.amPm(i)))])}),0),n("el-scrollbar",{ref:"minutes",staticClass:"el-time-spinner__wrapper",attrs:{"wrap-style":"max-height: inherit;","view-class":"el-time-spinner__list",noresize:"",tag:"ul"},nativeOn:{mouseenter:function(e){t.emitSelectRange("minutes")},mousemove:function(e){t.adjustCurrentSpinner("minutes")}}},t._l(t.minutesList,function(e,i){return n("li",{key:i,staticClass:"el-time-spinner__item",class:{active:i===t.minutes,disabled:!e},on:{click:function(e){t.handleClick("minutes",{value:i,disabled:!1})}}},[t._v(t._s(("0"+i).slice(-2)))])}),0),n("el-scrollbar",{directives:[{name:"show",rawName:"v-show",value:t.showSeconds,expression:"showSeconds"}],ref:"seconds",staticClass:"el-time-spinner__wrapper",attrs:{"wrap-style":"max-height: inherit;","view-class":"el-time-spinner__list",noresize:"",tag:"ul"},nativeOn:{mouseenter:function(e){t.emitSelectRange("seconds")},mousemove:function(e){t.adjustCurrentSpinner("seconds")}}},t._l(60,function(e,i){return n("li",{key:i,staticClass:"el-time-spinner__item",class:{active:i===t.seconds},on:{click:function(e){t.handleClick("seconds",{value:i,disabled:!1})}}},[t._v(t._s(("0"+i).slice(-2)))])}),0)],t.arrowControl?[n("div",{staticClass:"el-time-spinner__wrapper is-arrow",on:{mouseenter:function(e){t.emitSelectRange("hours")}}},[n("i",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:t.decrease,expression:"decrease"}],staticClass:"el-time-spinner__arrow el-icon-arrow-up"}),n("i",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:t.increase,expression:"increase"}],staticClass:"el-time-spinner__arrow el-icon-arrow-down"}),n("ul",{ref:"hours",staticClass:"el-time-spinner__list"},t._l(t.arrowHourList,function(e,i){return n("li",{key:i,staticClass:"el-time-spinner__item",class:{active:e===t.hours,disabled:t.hoursList[e]}},[t._v(t._s(void 0===e?"":("0"+(t.amPmMode?e%12||12:e)).slice(-2)+t.amPm(e)))])}),0)]),n("div",{staticClass:"el-time-spinner__wrapper is-arrow",on:{mouseenter:function(e){t.emitSelectRange("minutes")}}},[n("i",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:t.decrease,expression:"decrease"}],staticClass:"el-time-spinner__arrow el-icon-arrow-up"}),n("i",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:t.increase,expression:"increase"}],staticClass:"el-time-spinner__arrow el-icon-arrow-down"}),n("ul",{ref:"minutes",staticClass:"el-time-spinner__list"},t._l(t.arrowMinuteList,function(e,i){return n("li",{key:i,staticClass:"el-time-spinner__item",class:{active:e===t.minutes}},[t._v("\n "+t._s(void 0===e?"":("0"+e).slice(-2))+"\n ")])}),0)]),t.showSeconds?n("div",{staticClass:"el-time-spinner__wrapper is-arrow",on:{mouseenter:function(e){t.emitSelectRange("seconds")}}},[n("i",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:t.decrease,expression:"decrease"}],staticClass:"el-time-spinner__arrow el-icon-arrow-up"}),n("i",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:t.increase,expression:"increase"}],staticClass:"el-time-spinner__arrow el-icon-arrow-down"}),n("ul",{ref:"seconds",staticClass:"el-time-spinner__list"},t._l(t.arrowSecondList,function(e,i){return n("li",{key:i,staticClass:"el-time-spinner__item",class:{active:e===t.seconds}},[t._v("\n "+t._s(void 0===e?"":("0"+e).slice(-2))+"\n ")])}),0)]):t._e()]:t._e()],2)};Ii._withStripped=!0;var Mi=r({components:{ElScrollbar:N.a},directives:{repeatClick:Wt},props:{date:{},defaultValue:{},showSeconds:{type:Boolean,default:!0},arrowControl:Boolean,amPmMode:{type:String,default:""}},computed:{hours:function(){return this.date.getHours()},minutes:function(){return this.date.getMinutes()},seconds:function(){return this.date.getSeconds()},hoursList:function(){return Object(di.getRangeHours)(this.selectableRange)},minutesList:function(){return Object(di.getRangeMinutes)(this.selectableRange,this.hours)},arrowHourList:function(){var t=this.hours;return[t>0?t-1:void 0,t,t<23?t+1:void 0]},arrowMinuteList:function(){var t=this.minutes;return[t>0?t-1:void 0,t,t<59?t+1:void 0]},arrowSecondList:function(){var t=this.seconds;return[t>0?t-1:void 0,t,t<59?t+1:void 0]}},data:function(){return{selectableRange:[],currentScrollbar:null}},mounted:function(){var t=this;this.$nextTick(function(){!t.arrowControl&&t.bindScrollEvent()})},methods:{increase:function(){this.scrollDown(1)},decrease:function(){this.scrollDown(-1)},modifyDateField:function(t,e){switch(t){case"hours":this.$emit("change",Object(di.modifyTime)(this.date,e,this.minutes,this.seconds));break;case"minutes":this.$emit("change",Object(di.modifyTime)(this.date,this.hours,e,this.seconds));break;case"seconds":this.$emit("change",Object(di.modifyTime)(this.date,this.hours,this.minutes,e))}},handleClick:function(t,e){var n=e.value;e.disabled||(this.modifyDateField(t,n),this.emitSelectRange(t),this.adjustSpinner(t,n))},emitSelectRange:function(t){"hours"===t?this.$emit("select-range",0,2):"minutes"===t?this.$emit("select-range",3,5):"seconds"===t&&this.$emit("select-range",6,8),this.currentScrollbar=t},bindScrollEvent:function(){var t=this,e=function(e){t.$refs[e].wrap.onscroll=function(n){t.handleScroll(e,n)}};e("hours"),e("minutes"),e("seconds")},handleScroll:function(t){var e=Math.min(Math.round((this.$refs[t].wrap.scrollTop-(.5*this.scrollBarHeight(t)-10)/this.typeItemHeight(t)+3)/this.typeItemHeight(t)),"hours"===t?23:59);this.modifyDateField(t,e)},adjustSpinners:function(){this.adjustSpinner("hours",this.hours),this.adjustSpinner("minutes",this.minutes),this.adjustSpinner("seconds",this.seconds)},adjustCurrentSpinner:function(t){this.adjustSpinner(t,this[t])},adjustSpinner:function(t,e){if(!this.arrowControl){var n=this.$refs[t].wrap;n&&(n.scrollTop=Math.max(0,e*this.typeItemHeight(t)))}},scrollDown:function(t){var e=this;this.currentScrollbar||this.emitSelectRange("hours");var n=this.currentScrollbar,i=this.hoursList,r=this[n];if("hours"===this.currentScrollbar){var o=Math.abs(t);t=t>0?1:-1;for(var a=i.length;a--&&o;)i[r=(r+t+i.length)%i.length]||o--;if(i[r])return}else r=(r+t+60)%60;this.modifyDateField(n,r),this.adjustSpinner(n,r),this.$nextTick(function(){return e.emitSelectRange(e.currentScrollbar)})},amPm:function(t){if(!("a"===this.amPmMode.toLowerCase()))return"";var e="A"===this.amPmMode,n=t<12?" am":" pm";return e&&(n=n.toUpperCase()),n},typeItemHeight:function(t){return this.$refs[t].$el.querySelector("li").offsetHeight},scrollBarHeight:function(t){return this.$refs[t].$el.offsetHeight}}},Ii,[],!1,null,null,null);Mi.options.__file="packages/date-picker/src/basic/time-spinner.vue";var Di=Mi.exports,Li=r({mixins:[p.a],components:{TimeSpinner:Di},props:{visible:Boolean,timeArrowControl:Boolean},watch:{visible:function(t){var e=this;t?(this.oldValue=this.value,this.$nextTick(function(){return e.$refs.spinner.emitSelectRange("hours")})):this.needInitAdjust=!0},value:function(t){var e=this,n=void 0;t instanceof Date?n=Object(di.limitTimeRange)(t,this.selectableRange,this.format):t||(n=this.defaultValue?new Date(this.defaultValue):new Date),this.date=n,this.visible&&this.needInitAdjust&&(this.$nextTick(function(t){return e.adjustSpinners()}),this.needInitAdjust=!1)},selectableRange:function(t){this.$refs.spinner.selectableRange=t},defaultValue:function(t){Object(di.isDate)(this.value)||(this.date=t?new Date(t):new Date)}},data:function(){return{popperClass:"",format:"HH:mm:ss",value:"",defaultValue:null,date:new Date,oldValue:new Date,selectableRange:[],selectionRange:[0,2],disabled:!1,arrowControl:!1,needInitAdjust:!0}},computed:{showSeconds:function(){return-1!==(this.format||"").indexOf("ss")},useArrow:function(){return this.arrowControl||this.timeArrowControl||!1},amPmMode:function(){return-1!==(this.format||"").indexOf("A")?"A":-1!==(this.format||"").indexOf("a")?"a":""}},methods:{handleCancel:function(){this.$emit("pick",this.oldValue,!1)},handleChange:function(t){this.visible&&(this.date=Object(di.clearMilliseconds)(t),this.isValidValue(this.date)&&this.$emit("pick",this.date,!0))},setSelectionRange:function(t,e){this.$emit("select-range",t,e),this.selectionRange=[t,e]},handleConfirm:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments[1];if(!e){var n=Object(di.clearMilliseconds)(Object(di.limitTimeRange)(this.date,this.selectableRange,this.format));this.$emit("pick",n,t,e)}},handleKeydown:function(t){var e=t.keyCode,n={38:-1,40:1,37:-1,39:1};if(37===e||39===e){var i=n[e];return this.changeSelectionRange(i),void t.preventDefault()}if(38===e||40===e){var r=n[e];return this.$refs.spinner.scrollDown(r),void t.preventDefault()}},isValidValue:function(t){return Object(di.timeWithinRange)(t,this.selectableRange,this.format)},adjustSpinners:function(){return this.$refs.spinner.adjustSpinners()},changeSelectionRange:function(t){var e=[0,3].concat(this.showSeconds?[6]:[]),n=["hours","minutes"].concat(this.showSeconds?["seconds"]:[]),i=(e.indexOf(this.selectionRange[0])+t+e.length)%e.length;this.$refs.spinner.emitSelectRange(n[i])}},mounted:function(){var t=this;this.$nextTick(function(){return t.handleConfirm(!0,!0)}),this.$emit("mounted")}},Ei,[],!1,null,null,null);Li.options.__file="packages/date-picker/src/panel/time.vue";var Fi=Li.exports,Pi=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("table",{staticClass:"el-year-table",on:{click:t.handleYearTableClick}},[n("tbody",[n("tr",[n("td",{staticClass:"available",class:t.getCellStyle(t.startYear+0)},[n("a",{staticClass:"cell"},[t._v(t._s(t.startYear))])]),n("td",{staticClass:"available",class:t.getCellStyle(t.startYear+1)},[n("a",{staticClass:"cell"},[t._v(t._s(t.startYear+1))])]),n("td",{staticClass:"available",class:t.getCellStyle(t.startYear+2)},[n("a",{staticClass:"cell"},[t._v(t._s(t.startYear+2))])]),n("td",{staticClass:"available",class:t.getCellStyle(t.startYear+3)},[n("a",{staticClass:"cell"},[t._v(t._s(t.startYear+3))])])]),n("tr",[n("td",{staticClass:"available",class:t.getCellStyle(t.startYear+4)},[n("a",{staticClass:"cell"},[t._v(t._s(t.startYear+4))])]),n("td",{staticClass:"available",class:t.getCellStyle(t.startYear+5)},[n("a",{staticClass:"cell"},[t._v(t._s(t.startYear+5))])]),n("td",{staticClass:"available",class:t.getCellStyle(t.startYear+6)},[n("a",{staticClass:"cell"},[t._v(t._s(t.startYear+6))])]),n("td",{staticClass:"available",class:t.getCellStyle(t.startYear+7)},[n("a",{staticClass:"cell"},[t._v(t._s(t.startYear+7))])])]),n("tr",[n("td",{staticClass:"available",class:t.getCellStyle(t.startYear+8)},[n("a",{staticClass:"cell"},[t._v(t._s(t.startYear+8))])]),n("td",{staticClass:"available",class:t.getCellStyle(t.startYear+9)},[n("a",{staticClass:"cell"},[t._v(t._s(t.startYear+9))])]),n("td"),n("td")])])])};Pi._withStripped=!0;var Ni=r({props:{disabledDate:{},value:{},defaultValue:{validator:function(t){return null===t||t instanceof Date&&Object(di.isDate)(t)}},date:{}},computed:{startYear:function(){return 10*Math.floor(this.date.getFullYear()/10)}},methods:{getCellStyle:function(t){var e={},n=new Date;return e.disabled="function"==typeof this.disabledDate&&function(t){var e=Object(di.getDayCountOfYear)(t),n=new Date(t,0,1);return Object(di.range)(e).map(function(t){return Object(di.nextDate)(n,t)})}(t).every(this.disabledDate),e.current=Object(A.arrayFindIndex)(Object(A.coerceTruthyValueToArray)(this.value),function(e){return e.getFullYear()===t})>=0,e.today=n.getFullYear()===t,e.default=this.defaultValue&&this.defaultValue.getFullYear()===t,e},handleYearTableClick:function(t){var e=t.target;if("A"===e.tagName){if(Object(pt.hasClass)(e.parentNode,"disabled"))return;var n=e.textContent||e.innerText;this.$emit("pick",Number(n))}}}},Pi,[],!1,null,null,null);Ni.options.__file="packages/date-picker/src/basic/year-table.vue";var ji=Ni.exports,Ui=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("table",{staticClass:"el-month-table",on:{click:t.handleMonthTableClick,mousemove:t.handleMouseMove}},[n("tbody",t._l(t.rows,function(e,i){return n("tr",{key:i},t._l(e,function(e,i){return n("td",{key:i,class:t.getCellStyle(e)},[n("div",[n("a",{staticClass:"cell"},[t._v(t._s(t.t("el.datepicker.months."+t.months[e.text])))])])])}),0)}),0)])};Ui._withStripped=!0;var Ri=function(t){return new Date(t.getFullYear(),t.getMonth())},Qi=function(t){return"number"==typeof t||"string"==typeof t?Ri(new Date(t)).getTime():t instanceof Date?Ri(t).getTime():NaN},Hi=r({props:{disabledDate:{},value:{},selectionMode:{default:"month"},minDate:{},maxDate:{},defaultValue:{validator:function(t){return null===t||Object(di.isDate)(t)||Array.isArray(t)&&t.every(di.isDate)}},date:{},rangeState:{default:function(){return{endDate:null,selecting:!1}}}},mixins:[p.a],watch:{"rangeState.endDate":function(t){this.markRange(this.minDate,t)},minDate:function(t,e){Qi(t)!==Qi(e)&&this.markRange(this.minDate,this.maxDate)},maxDate:function(t,e){Qi(t)!==Qi(e)&&this.markRange(this.minDate,this.maxDate)}},data:function(){return{months:["jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec"],tableRows:[[],[],[]],lastRow:null,lastColumn:null}},methods:{cellMatchesDate:function(t,e){var n=new Date(e);return this.date.getFullYear()===n.getFullYear()&&Number(t.text)===n.getMonth()},getCellStyle:function(t){var e=this,n={},i=this.date.getFullYear(),r=new Date,o=t.text,a=this.defaultValue?Array.isArray(this.defaultValue)?this.defaultValue:[this.defaultValue]:[];return n.disabled="function"==typeof this.disabledDate&&function(t,e){var n=Object(di.getDayCountOfMonth)(t,e),i=new Date(t,e,1);return Object(di.range)(n).map(function(t){return Object(di.nextDate)(i,t)})}(i,o).every(this.disabledDate),n.current=Object(A.arrayFindIndex)(Object(A.coerceTruthyValueToArray)(this.value),function(t){return t.getFullYear()===i&&t.getMonth()===o})>=0,n.today=r.getFullYear()===i&&r.getMonth()===o,n.default=a.some(function(n){return e.cellMatchesDate(t,n)}),t.inRange&&(n["in-range"]=!0,t.start&&(n["start-date"]=!0),t.end&&(n["end-date"]=!0)),n},getMonthOfCell:function(t){var e=this.date.getFullYear();return new Date(e,t,1)},markRange:function(t,e){t=Qi(t),e=Qi(e)||t;var n=[Math.min(t,e),Math.max(t,e)];t=n[0],e=n[1];for(var i=this.rows,r=0,o=i.length;r<o;r++)for(var a=i[r],s=0,l=a.length;s<l;s++){var c=a[s],u=4*r+s,h=new Date(this.date.getFullYear(),u).getTime();c.inRange=t&&h>=t&&h<=e,c.start=t&&h===t,c.end=e&&h===e}},handleMouseMove:function(t){if(this.rangeState.selecting){var e=t.target;if("A"===e.tagName&&(e=e.parentNode.parentNode),"DIV"===e.tagName&&(e=e.parentNode),"TD"===e.tagName){var n=e.parentNode.rowIndex,i=e.cellIndex;this.rows[n][i].disabled||n===this.lastRow&&i===this.lastColumn||(this.lastRow=n,this.lastColumn=i,this.$emit("changerange",{minDate:this.minDate,maxDate:this.maxDate,rangeState:{selecting:!0,endDate:this.getMonthOfCell(4*n+i)}}))}}},handleMonthTableClick:function(t){var e=t.target;if("A"===e.tagName&&(e=e.parentNode.parentNode),"DIV"===e.tagName&&(e=e.parentNode),"TD"===e.tagName&&!Object(pt.hasClass)(e,"disabled")){var n=e.cellIndex,i=4*e.parentNode.rowIndex+n,r=this.getMonthOfCell(i);"range"===this.selectionMode?this.rangeState.selecting?(r>=this.minDate?this.$emit("pick",{minDate:this.minDate,maxDate:r}):this.$emit("pick",{minDate:r,maxDate:this.minDate}),this.rangeState.selecting=!1):(this.$emit("pick",{minDate:r,maxDate:null}),this.rangeState.selecting=!0):this.$emit("pick",i)}}},computed:{rows:function(){for(var t=this,e=this.tableRows,n=this.disabledDate,i=[],r=Qi(new Date),o=0;o<3;o++)for(var a=e[o],s=function(e){var s=a[e];s||(s={row:o,column:e,type:"normal",inRange:!1,start:!1,end:!1}),s.type="normal";var l=4*o+e,c=new Date(t.date.getFullYear(),l).getTime();s.inRange=c>=Qi(t.minDate)&&c<=Qi(t.maxDate),s.start=t.minDate&&c===Qi(t.minDate),s.end=t.maxDate&&c===Qi(t.maxDate),c===r&&(s.type="today"),s.text=l;var u=new Date(c);s.disabled="function"==typeof n&&n(u),s.selected=Object(A.arrayFind)(i,function(t){return t.getTime()===u.getTime()}),t.$set(a,e,s)},l=0;l<4;l++)s(l);return e}}},Ui,[],!1,null,null,null);Hi.options.__file="packages/date-picker/src/basic/month-table.vue";var Vi=Hi.exports,zi=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("table",{staticClass:"el-date-table",class:{"is-week-mode":"week"===t.selectionMode},attrs:{cellspacing:"0",cellpadding:"0"},on:{click:t.handleClick,mousemove:t.handleMouseMove}},[n("tbody",[n("tr",[t.showWeekNumber?n("th",[t._v(t._s(t.t("el.datepicker.week")))]):t._e(),t._l(t.WEEKS,function(e,i){return n("th",{key:i},[t._v(t._s(t.t("el.datepicker.weeks."+e)))])})],2),t._l(t.rows,function(e,i){return n("tr",{key:i,staticClass:"el-date-table__row",class:{current:t.isWeekActive(e[1])}},t._l(e,function(e,i){return n("td",{key:i,class:t.getCellClasses(e)},[n("div",[n("span",[t._v("\n "+t._s(e.text)+"\n ")])])])}),0)})],2)])};zi._withStripped=!0;var $i=["sun","mon","tue","wed","thu","fri","sat"],Gi=function(t){return"number"==typeof t||"string"==typeof t?Object(di.clearTime)(new Date(t)).getTime():t instanceof Date?Object(di.clearTime)(t).getTime():NaN},Wi=r({mixins:[p.a],props:{firstDayOfWeek:{default:7,type:Number,validator:function(t){return t>=1&&t<=7}},value:{},defaultValue:{validator:function(t){return null===t||Object(di.isDate)(t)||Array.isArray(t)&&t.every(di.isDate)}},date:{},selectionMode:{default:"day"},showWeekNumber:{type:Boolean,default:!1},disabledDate:{},cellClassName:{},minDate:{},maxDate:{},rangeState:{default:function(){return{endDate:null,selecting:!1}}}},computed:{offsetDay:function(){var t=this.firstDayOfWeek;return t>3?7-t:-t},WEEKS:function(){var t=this.firstDayOfWeek;return $i.concat($i).slice(t,t+7)},year:function(){return this.date.getFullYear()},month:function(){return this.date.getMonth()},startDate:function(){return Object(di.getStartDateOfMonth)(this.year,this.month)},rows:function(){var t=this,e=new Date(this.year,this.month,1),n=Object(di.getFirstDayOfMonth)(e),i=Object(di.getDayCountOfMonth)(e.getFullYear(),e.getMonth()),r=Object(di.getDayCountOfMonth)(e.getFullYear(),0===e.getMonth()?11:e.getMonth()-1);n=0===n?7:n;for(var o=this.offsetDay,a=this.tableRows,s=1,l=this.startDate,c=this.disabledDate,u=this.cellClassName,h="dates"===this.selectionMode?Object(A.coerceTruthyValueToArray)(this.value):[],d=Gi(new Date),f=0;f<6;f++){var p=a[f];this.showWeekNumber&&(p[0]||(p[0]={type:"week",text:Object(di.getWeekNumber)(Object(di.nextDate)(l,7*f+1))}));for(var g=function(e){var a=p[t.showWeekNumber?e+1:e];a||(a={row:f,column:e,type:"normal",inRange:!1,start:!1,end:!1}),a.type="normal";var g=7*f+e,v=Object(di.nextDate)(l,g-o).getTime();if(a.inRange=v>=Gi(t.minDate)&&v<=Gi(t.maxDate),a.start=t.minDate&&v===Gi(t.minDate),a.end=t.maxDate&&v===Gi(t.maxDate),v===d&&(a.type="today"),f>=0&&f<=1){var m=n+o<0?7+n+o:n+o;e+7*f>=m?a.text=s++:(a.text=r-(m-e%7)+1+7*f,a.type="prev-month")}else s<=i?a.text=s++:(a.text=s++-i,a.type="next-month");var y=new Date(v);a.disabled="function"==typeof c&&c(y),a.selected=Object(A.arrayFind)(h,function(t){return t.getTime()===y.getTime()}),a.customClass="function"==typeof u&&u(y),t.$set(p,t.showWeekNumber?e+1:e,a)},v=0;v<7;v++)g(v);if("week"===this.selectionMode){var m=this.showWeekNumber?1:0,y=this.showWeekNumber?7:6,b=this.isWeekActive(p[m+1]);p[m].inRange=b,p[m].start=b,p[y].inRange=b,p[y].end=b}}return a}},watch:{"rangeState.endDate":function(t){this.markRange(this.minDate,t)},minDate:function(t,e){Gi(t)!==Gi(e)&&this.markRange(this.minDate,this.maxDate)},maxDate:function(t,e){Gi(t)!==Gi(e)&&this.markRange(this.minDate,this.maxDate)}},data:function(){return{tableRows:[[],[],[],[],[],[]],lastRow:null,lastColumn:null}},methods:{cellMatchesDate:function(t,e){var n=new Date(e);return this.year===n.getFullYear()&&this.month===n.getMonth()&&Number(t.text)===n.getDate()},getCellClasses:function(t){var e=this,n=this.selectionMode,i=this.defaultValue?Array.isArray(this.defaultValue)?this.defaultValue:[this.defaultValue]:[],r=[];return"normal"!==t.type&&"today"!==t.type||t.disabled?r.push(t.type):(r.push("available"),"today"===t.type&&r.push("today")),"normal"===t.type&&i.some(function(n){return e.cellMatchesDate(t,n)})&&r.push("default"),"day"!==n||"normal"!==t.type&&"today"!==t.type||!this.cellMatchesDate(t,this.value)||r.push("current"),!t.inRange||"normal"!==t.type&&"today"!==t.type&&"week"!==this.selectionMode||(r.push("in-range"),t.start&&r.push("start-date"),t.end&&r.push("end-date")),t.disabled&&r.push("disabled"),t.selected&&r.push("selected"),t.customClass&&r.push(t.customClass),r.join(" ")},getDateOfCell:function(t,e){var n=7*t+(e-(this.showWeekNumber?1:0))-this.offsetDay;return Object(di.nextDate)(this.startDate,n)},isWeekActive:function(t){if("week"!==this.selectionMode)return!1;var e=new Date(this.year,this.month,1),n=e.getFullYear(),i=e.getMonth();if("prev-month"===t.type&&(e.setMonth(0===i?11:i-1),e.setFullYear(0===i?n-1:n)),"next-month"===t.type&&(e.setMonth(11===i?0:i+1),e.setFullYear(11===i?n+1:n)),e.setDate(parseInt(t.text,10)),Object(di.isDate)(this.value)){var r=(this.value.getDay()-this.firstDayOfWeek+7)%7-1;return Object(di.prevDate)(this.value,r).getTime()===e.getTime()}return!1},markRange:function(t,e){t=Gi(t),e=Gi(e)||t;var n=[Math.min(t,e),Math.max(t,e)];t=n[0],e=n[1];for(var i=this.startDate,r=this.rows,o=0,a=r.length;o<a;o++)for(var s=r[o],l=0,c=s.length;l<c;l++)if(!this.showWeekNumber||0!==l){var u=s[l],h=7*o+l+(this.showWeekNumber?-1:0),d=Object(di.nextDate)(i,h-this.offsetDay).getTime();u.inRange=t&&d>=t&&d<=e,u.start=t&&d===t,u.end=e&&d===e}},handleMouseMove:function(t){if(this.rangeState.selecting){var e=t.target;if("SPAN"===e.tagName&&(e=e.parentNode.parentNode),"DIV"===e.tagName&&(e=e.parentNode),"TD"===e.tagName){var n=e.parentNode.rowIndex-1,i=e.cellIndex;this.rows[n][i].disabled||n===this.lastRow&&i===this.lastColumn||(this.lastRow=n,this.lastColumn=i,this.$emit("changerange",{minDate:this.minDate,maxDate:this.maxDate,rangeState:{selecting:!0,endDate:this.getDateOfCell(n,i)}}))}}},handleClick:function(t){var e=t.target;if("SPAN"===e.tagName&&(e=e.parentNode.parentNode),"DIV"===e.tagName&&(e=e.parentNode),"TD"===e.tagName){var n=e.parentNode.rowIndex-1,i="week"===this.selectionMode?1:e.cellIndex,r=this.rows[n][i];if(!r.disabled&&"week"!==r.type){var o,a,s,l=this.getDateOfCell(n,i);if("range"===this.selectionMode)this.rangeState.selecting?(l>=this.minDate?this.$emit("pick",{minDate:this.minDate,maxDate:l}):this.$emit("pick",{minDate:l,maxDate:this.minDate}),this.rangeState.selecting=!1):(this.$emit("pick",{minDate:l,maxDate:null}),this.rangeState.selecting=!0);else if("day"===this.selectionMode)this.$emit("pick",l);else if("week"===this.selectionMode){var c=Object(di.getWeekNumber)(l),u=l.getFullYear()+"w"+c;this.$emit("pick",{year:l.getFullYear(),week:c,value:u,date:l})}else if("dates"===this.selectionMode){var h=this.value||[],d=r.selected?(o=h,(s="function"==typeof(a=function(t){return t.getTime()===l.getTime()})?Object(A.arrayFindIndex)(o,a):o.indexOf(a))>=0?[].concat(o.slice(0,s),o.slice(s+1)):o):[].concat(h,[l]);this.$emit("pick",d)}}}}}},zi,[],!1,null,null,null);Wi.options.__file="packages/date-picker/src/basic/date-table.vue";var Ki=Wi.exports,Yi=r({mixins:[p.a],directives:{Clickoutside:M.a},watch:{showTime:function(t){var e=this;t&&this.$nextTick(function(t){var n=e.$refs.input.$el;n&&(e.pickerWidth=n.getBoundingClientRect().width+10)})},value:function(t){"dates"===this.selectionMode&&this.value||(Object(di.isDate)(t)?this.date=new Date(t):this.date=this.getDefaultValue())},defaultValue:function(t){Object(di.isDate)(this.value)||(this.date=t?new Date(t):new Date)},timePickerVisible:function(t){var e=this;t&&this.$nextTick(function(){return e.$refs.timepicker.adjustSpinners()})},selectionMode:function(t){"month"===t?"year"===this.currentView&&"month"===this.currentView||(this.currentView="month"):"dates"===t&&(this.currentView="date")}},methods:{proxyTimePickerDataProperties:function(){var t,e=this,n=function(t){e.$refs.timepicker.value=t},i=function(t){e.$refs.timepicker.date=t},r=function(t){e.$refs.timepicker.selectableRange=t};this.$watch("value",n),this.$watch("date",i),this.$watch("selectableRange",r),t=this.timeFormat,e.$refs.timepicker.format=t,n(this.value),i(this.date),r(this.selectableRange)},handleClear:function(){this.date=this.getDefaultValue(),this.$emit("pick",null)},emit:function(t){for(var e=this,n=arguments.length,i=Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];if(t)if(Array.isArray(t)){var o=t.map(function(t){return e.showTime?Object(di.clearMilliseconds)(t):Object(di.clearTime)(t)});this.$emit.apply(this,["pick",o].concat(i))}else this.$emit.apply(this,["pick",this.showTime?Object(di.clearMilliseconds)(t):Object(di.clearTime)(t)].concat(i));else this.$emit.apply(this,["pick",t].concat(i));this.userInputDate=null,this.userInputTime=null},showMonthPicker:function(){this.currentView="month"},showYearPicker:function(){this.currentView="year"},prevMonth:function(){this.date=Object(di.prevMonth)(this.date)},nextMonth:function(){this.date=Object(di.nextMonth)(this.date)},prevYear:function(){"year"===this.currentView?this.date=Object(di.prevYear)(this.date,10):this.date=Object(di.prevYear)(this.date)},nextYear:function(){"year"===this.currentView?this.date=Object(di.nextYear)(this.date,10):this.date=Object(di.nextYear)(this.date)},handleShortcutClick:function(t){t.onClick&&t.onClick(this)},handleTimePick:function(t,e,n){if(Object(di.isDate)(t)){var i=this.value?Object(di.modifyTime)(this.value,t.getHours(),t.getMinutes(),t.getSeconds()):Object(di.modifyWithTimeString)(this.getDefaultValue(),this.defaultTime);this.date=i,this.emit(this.date,!0)}else this.emit(t,!0);n||(this.timePickerVisible=e)},handleTimePickClose:function(){this.timePickerVisible=!1},handleMonthPick:function(t){"month"===this.selectionMode?(this.date=Object(di.modifyDate)(this.date,this.year,t,1),this.emit(this.date)):(this.date=Object(di.changeYearMonthAndClampDate)(this.date,this.year,t),this.currentView="date")},handleDatePick:function(t){if("day"===this.selectionMode){var e=this.value?Object(di.modifyDate)(this.value,t.getFullYear(),t.getMonth(),t.getDate()):Object(di.modifyWithTimeString)(t,this.defaultTime);this.checkDateWithinRange(e)||(e=Object(di.modifyDate)(this.selectableRange[0][0],t.getFullYear(),t.getMonth(),t.getDate())),this.date=e,this.emit(this.date,this.showTime)}else"week"===this.selectionMode?this.emit(t.date):"dates"===this.selectionMode&&this.emit(t,!0)},handleYearPick:function(t){"year"===this.selectionMode?(this.date=Object(di.modifyDate)(this.date,t,0,1),this.emit(this.date)):(this.date=Object(di.changeYearMonthAndClampDate)(this.date,t,this.month),this.currentView="month")},changeToNow:function(){this.disabledDate&&this.disabledDate(new Date)||!this.checkDateWithinRange(new Date)||(this.date=new Date,this.emit(this.date))},confirm:function(){if("dates"===this.selectionMode)this.emit(this.value);else{var t=this.value?this.value:Object(di.modifyWithTimeString)(this.getDefaultValue(),this.defaultTime);this.date=new Date(t),this.emit(t)}},resetView:function(){"month"===this.selectionMode?this.currentView="month":"year"===this.selectionMode?this.currentView="year":this.currentView="date"},handleEnter:function(){document.body.addEventListener("keydown",this.handleKeydown)},handleLeave:function(){this.$emit("dodestroy"),document.body.removeEventListener("keydown",this.handleKeydown)},handleKeydown:function(t){var e=t.keyCode;this.visible&&!this.timePickerVisible&&(-1!==[38,40,37,39].indexOf(e)&&(this.handleKeyControl(e),t.stopPropagation(),t.preventDefault()),13===e&&null===this.userInputDate&&null===this.userInputTime&&this.emit(this.date,!1))},handleKeyControl:function(t){for(var e={year:{38:-4,40:4,37:-1,39:1,offset:function(t,e){return t.setFullYear(t.getFullYear()+e)}},month:{38:-4,40:4,37:-1,39:1,offset:function(t,e){return t.setMonth(t.getMonth()+e)}},week:{38:-1,40:1,37:-1,39:1,offset:function(t,e){return t.setDate(t.getDate()+7*e)}},day:{38:-7,40:7,37:-1,39:1,offset:function(t,e){return t.setDate(t.getDate()+e)}}},n=this.selectionMode,i=this.date.getTime(),r=new Date(this.date.getTime());Math.abs(i-r.getTime())<=31536e6;){var o=e[n];if(o.offset(r,o[t]),"function"!=typeof this.disabledDate||!this.disabledDate(r)){this.date=r,this.$emit("pick",r,!0);break}}},handleVisibleTimeChange:function(t){var e=Object(di.parseDate)(t,this.timeFormat);e&&this.checkDateWithinRange(e)&&(this.date=Object(di.modifyDate)(e,this.year,this.month,this.monthDate),this.userInputTime=null,this.$refs.timepicker.value=this.date,this.timePickerVisible=!1,this.emit(this.date,!0))},handleVisibleDateChange:function(t){var e=Object(di.parseDate)(t,this.dateFormat);if(e){if("function"==typeof this.disabledDate&&this.disabledDate(e))return;this.date=Object(di.modifyTime)(e,this.date.getHours(),this.date.getMinutes(),this.date.getSeconds()),this.userInputDate=null,this.resetView(),this.emit(this.date,!0)}},isValidValue:function(t){return t&&!isNaN(t)&&("function"!=typeof this.disabledDate||!this.disabledDate(t))&&this.checkDateWithinRange(t)},getDefaultValue:function(){return this.defaultValue?new Date(this.defaultValue):new Date},checkDateWithinRange:function(t){return!(this.selectableRange.length>0)||Object(di.timeWithinRange)(t,this.selectableRange,this.format||"HH:mm:ss")}},components:{TimePicker:Fi,YearTable:ji,MonthTable:Vi,DateTable:Ki,ElInput:d.a,ElButton:G.a},data:function(){return{popperClass:"",date:new Date,value:"",defaultValue:null,defaultTime:null,showTime:!1,selectionMode:"day",shortcuts:"",visible:!1,currentView:"date",disabledDate:"",cellClassName:"",selectableRange:[],firstDayOfWeek:7,showWeekNumber:!1,timePickerVisible:!1,format:"",arrowControl:!1,userInputDate:null,userInputTime:null}},computed:{year:function(){return this.date.getFullYear()},month:function(){return this.date.getMonth()},week:function(){return Object(di.getWeekNumber)(this.date)},monthDate:function(){return this.date.getDate()},footerVisible:function(){return this.showTime||"dates"===this.selectionMode},visibleTime:function(){return null!==this.userInputTime?this.userInputTime:Object(di.formatDate)(this.value||this.defaultValue,this.timeFormat)},visibleDate:function(){return null!==this.userInputDate?this.userInputDate:Object(di.formatDate)(this.value||this.defaultValue,this.dateFormat)},yearLabel:function(){var t=this.t("el.datepicker.year");if("year"===this.currentView){var e=10*Math.floor(this.year/10);return t?e+" "+t+" - "+(e+9)+" "+t:e+" - "+(e+9)}return this.year+" "+t},timeFormat:function(){return this.format?Object(di.extractTimeFormat)(this.format):"HH:mm:ss"},dateFormat:function(){return this.format?Object(di.extractDateFormat)(this.format):"yyyy-MM-dd"}}},Oi,[],!1,null,null,null);Yi.options.__file="packages/date-picker/src/panel/date.vue";var Xi=Yi.exports,qi=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":function(e){t.$emit("dodestroy")}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"el-picker-panel el-date-range-picker el-popper",class:[{"has-sidebar":t.$slots.sidebar||t.shortcuts,"has-time":t.showTime},t.popperClass]},[n("div",{staticClass:"el-picker-panel__body-wrapper"},[t._t("sidebar"),t.shortcuts?n("div",{staticClass:"el-picker-panel__sidebar"},t._l(t.shortcuts,function(e,i){return n("button",{key:i,staticClass:"el-picker-panel__shortcut",attrs:{type:"button"},on:{click:function(n){t.handleShortcutClick(e)}}},[t._v(t._s(e.text))])}),0):t._e(),n("div",{staticClass:"el-picker-panel__body"},[t.showTime?n("div",{staticClass:"el-date-range-picker__time-header"},[n("span",{staticClass:"el-date-range-picker__editors-wrap"},[n("span",{staticClass:"el-date-range-picker__time-picker-wrap"},[n("el-input",{ref:"minInput",staticClass:"el-date-range-picker__editor",attrs:{size:"small",disabled:t.rangeState.selecting,placeholder:t.t("el.datepicker.startDate"),value:t.minVisibleDate},on:{input:function(e){return t.handleDateInput(e,"min")},change:function(e){return t.handleDateChange(e,"min")}}})],1),n("span",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:t.handleMinTimeClose,expression:"handleMinTimeClose"}],staticClass:"el-date-range-picker__time-picker-wrap"},[n("el-input",{staticClass:"el-date-range-picker__editor",attrs:{size:"small",disabled:t.rangeState.selecting,placeholder:t.t("el.datepicker.startTime"),value:t.minVisibleTime},on:{focus:function(e){t.minTimePickerVisible=!0},input:function(e){return t.handleTimeInput(e,"min")},change:function(e){return t.handleTimeChange(e,"min")}}}),n("time-picker",{ref:"minTimePicker",attrs:{"time-arrow-control":t.arrowControl,visible:t.minTimePickerVisible},on:{pick:t.handleMinTimePick,mounted:function(e){t.$refs.minTimePicker.format=t.timeFormat}}})],1)]),n("span",{staticClass:"el-icon-arrow-right"}),n("span",{staticClass:"el-date-range-picker__editors-wrap is-right"},[n("span",{staticClass:"el-date-range-picker__time-picker-wrap"},[n("el-input",{staticClass:"el-date-range-picker__editor",attrs:{size:"small",disabled:t.rangeState.selecting,placeholder:t.t("el.datepicker.endDate"),value:t.maxVisibleDate,readonly:!t.minDate},on:{input:function(e){return t.handleDateInput(e,"max")},change:function(e){return t.handleDateChange(e,"max")}}})],1),n("span",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:t.handleMaxTimeClose,expression:"handleMaxTimeClose"}],staticClass:"el-date-range-picker__time-picker-wrap"},[n("el-input",{staticClass:"el-date-range-picker__editor",attrs:{size:"small",disabled:t.rangeState.selecting,placeholder:t.t("el.datepicker.endTime"),value:t.maxVisibleTime,readonly:!t.minDate},on:{focus:function(e){t.minDate&&(t.maxTimePickerVisible=!0)},input:function(e){return t.handleTimeInput(e,"max")},change:function(e){return t.handleTimeChange(e,"max")}}}),n("time-picker",{ref:"maxTimePicker",attrs:{"time-arrow-control":t.arrowControl,visible:t.maxTimePickerVisible},on:{pick:t.handleMaxTimePick,mounted:function(e){t.$refs.maxTimePicker.format=t.timeFormat}}})],1)])]):t._e(),n("div",{staticClass:"el-picker-panel__content el-date-range-picker__content is-left"},[n("div",{staticClass:"el-date-range-picker__header"},[n("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-left",attrs:{type:"button"},on:{click:t.leftPrevYear}}),n("button",{staticClass:"el-picker-panel__icon-btn el-icon-arrow-left",attrs:{type:"button"},on:{click:t.leftPrevMonth}}),t.unlinkPanels?n("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-right",class:{"is-disabled":!t.enableYearArrow},attrs:{type:"button",disabled:!t.enableYearArrow},on:{click:t.leftNextYear}}):t._e(),t.unlinkPanels?n("button",{staticClass:"el-picker-panel__icon-btn el-icon-arrow-right",class:{"is-disabled":!t.enableMonthArrow},attrs:{type:"button",disabled:!t.enableMonthArrow},on:{click:t.leftNextMonth}}):t._e(),n("div",[t._v(t._s(t.leftLabel))])]),n("date-table",{attrs:{"selection-mode":"range",date:t.leftDate,"default-value":t.defaultValue,"min-date":t.minDate,"max-date":t.maxDate,"range-state":t.rangeState,"disabled-date":t.disabledDate,"cell-class-name":t.cellClassName,"first-day-of-week":t.firstDayOfWeek},on:{changerange:t.handleChangeRange,pick:t.handleRangePick}})],1),n("div",{staticClass:"el-picker-panel__content el-date-range-picker__content is-right"},[n("div",{staticClass:"el-date-range-picker__header"},[t.unlinkPanels?n("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-left",class:{"is-disabled":!t.enableYearArrow},attrs:{type:"button",disabled:!t.enableYearArrow},on:{click:t.rightPrevYear}}):t._e(),t.unlinkPanels?n("button",{staticClass:"el-picker-panel__icon-btn el-icon-arrow-left",class:{"is-disabled":!t.enableMonthArrow},attrs:{type:"button",disabled:!t.enableMonthArrow},on:{click:t.rightPrevMonth}}):t._e(),n("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-right",attrs:{type:"button"},on:{click:t.rightNextYear}}),n("button",{staticClass:"el-picker-panel__icon-btn el-icon-arrow-right",attrs:{type:"button"},on:{click:t.rightNextMonth}}),n("div",[t._v(t._s(t.rightLabel))])]),n("date-table",{attrs:{"selection-mode":"range",date:t.rightDate,"default-value":t.defaultValue,"min-date":t.minDate,"max-date":t.maxDate,"range-state":t.rangeState,"disabled-date":t.disabledDate,"cell-class-name":t.cellClassName,"first-day-of-week":t.firstDayOfWeek},on:{changerange:t.handleChangeRange,pick:t.handleRangePick}})],1)])],2),t.showTime?n("div",{staticClass:"el-picker-panel__footer"},[n("el-button",{staticClass:"el-picker-panel__link-btn",attrs:{size:"mini",type:"text"},on:{click:t.handleClear}},[t._v("\n "+t._s(t.t("el.datepicker.clear"))+"\n ")]),n("el-button",{staticClass:"el-picker-panel__link-btn",attrs:{plain:"",size:"mini",disabled:t.btnDisabled},on:{click:function(e){t.handleConfirm(!1)}}},[t._v("\n "+t._s(t.t("el.datepicker.confirm"))+"\n ")])],1):t._e()])])};qi._withStripped=!0;var Zi=function(t){return Array.isArray(t)?[new Date(t[0]),new Date(t[1])]:t?[new Date(t),Object(di.nextDate)(new Date(t),1)]:[new Date,Object(di.nextDate)(new Date,1)]},Ji=r({mixins:[p.a],directives:{Clickoutside:M.a},computed:{btnDisabled:function(){return!(this.minDate&&this.maxDate&&!this.selecting&&this.isValidValue([this.minDate,this.maxDate]))},leftLabel:function(){return this.leftDate.getFullYear()+" "+this.t("el.datepicker.year")+" "+this.t("el.datepicker.month"+(this.leftDate.getMonth()+1))},rightLabel:function(){return this.rightDate.getFullYear()+" "+this.t("el.datepicker.year")+" "+this.t("el.datepicker.month"+(this.rightDate.getMonth()+1))},leftYear:function(){return this.leftDate.getFullYear()},leftMonth:function(){return this.leftDate.getMonth()},leftMonthDate:function(){return this.leftDate.getDate()},rightYear:function(){return this.rightDate.getFullYear()},rightMonth:function(){return this.rightDate.getMonth()},rightMonthDate:function(){return this.rightDate.getDate()},minVisibleDate:function(){return null!==this.dateUserInput.min?this.dateUserInput.min:this.minDate?Object(di.formatDate)(this.minDate,this.dateFormat):""},maxVisibleDate:function(){return null!==this.dateUserInput.max?this.dateUserInput.max:this.maxDate||this.minDate?Object(di.formatDate)(this.maxDate||this.minDate,this.dateFormat):""},minVisibleTime:function(){return null!==this.timeUserInput.min?this.timeUserInput.min:this.minDate?Object(di.formatDate)(this.minDate,this.timeFormat):""},maxVisibleTime:function(){return null!==this.timeUserInput.max?this.timeUserInput.max:this.maxDate||this.minDate?Object(di.formatDate)(this.maxDate||this.minDate,this.timeFormat):""},timeFormat:function(){return this.format?Object(di.extractTimeFormat)(this.format):"HH:mm:ss"},dateFormat:function(){return this.format?Object(di.extractDateFormat)(this.format):"yyyy-MM-dd"},enableMonthArrow:function(){var t=(this.leftMonth+1)%12,e=this.leftMonth+1>=12?1:0;return this.unlinkPanels&&new Date(this.leftYear+e,t)<new Date(this.rightYear,this.rightMonth)},enableYearArrow:function(){return this.unlinkPanels&&12*this.rightYear+this.rightMonth-(12*this.leftYear+this.leftMonth+1)>=12}},data:function(){return{popperClass:"",value:[],defaultValue:null,defaultTime:null,minDate:"",maxDate:"",leftDate:new Date,rightDate:Object(di.nextMonth)(new Date),rangeState:{endDate:null,selecting:!1,row:null,column:null},showTime:!1,shortcuts:"",visible:"",disabledDate:"",cellClassName:"",firstDayOfWeek:7,minTimePickerVisible:!1,maxTimePickerVisible:!1,format:"",arrowControl:!1,unlinkPanels:!1,dateUserInput:{min:null,max:null},timeUserInput:{min:null,max:null}}},watch:{minDate:function(t){var e=this;this.dateUserInput.min=null,this.timeUserInput.min=null,this.$nextTick(function(){if(e.$refs.maxTimePicker&&e.maxDate&&e.maxDate<e.minDate){e.$refs.maxTimePicker.selectableRange=[[Object(di.parseDate)(Object(di.formatDate)(e.minDate,"HH:mm:ss"),"HH:mm:ss"),Object(di.parseDate)("23:59:59","HH:mm:ss")]]}}),t&&this.$refs.minTimePicker&&(this.$refs.minTimePicker.date=t,this.$refs.minTimePicker.value=t)},maxDate:function(t){this.dateUserInput.max=null,this.timeUserInput.max=null,t&&this.$refs.maxTimePicker&&(this.$refs.maxTimePicker.date=t,this.$refs.maxTimePicker.value=t)},minTimePickerVisible:function(t){var e=this;t&&this.$nextTick(function(){e.$refs.minTimePicker.date=e.minDate,e.$refs.minTimePicker.value=e.minDate,e.$refs.minTimePicker.adjustSpinners()})},maxTimePickerVisible:function(t){var e=this;t&&this.$nextTick(function(){e.$refs.maxTimePicker.date=e.maxDate,e.$refs.maxTimePicker.value=e.maxDate,e.$refs.maxTimePicker.adjustSpinners()})},value:function(t){if(t){if(Array.isArray(t))if(this.minDate=Object(di.isDate)(t[0])?new Date(t[0]):null,this.maxDate=Object(di.isDate)(t[1])?new Date(t[1]):null,this.minDate)if(this.leftDate=this.minDate,this.unlinkPanels&&this.maxDate){var e=this.minDate.getFullYear(),n=this.minDate.getMonth(),i=this.maxDate.getFullYear(),r=this.maxDate.getMonth();this.rightDate=e===i&&n===r?Object(di.nextMonth)(this.maxDate):this.maxDate}else this.rightDate=Object(di.nextMonth)(this.leftDate);else this.leftDate=Zi(this.defaultValue)[0],this.rightDate=Object(di.nextMonth)(this.leftDate)}else this.minDate=null,this.maxDate=null},defaultValue:function(t){if(!Array.isArray(this.value)){var e=Zi(t),n=e[0],i=e[1];this.leftDate=n,this.rightDate=t&&t[1]&&this.unlinkPanels?i:Object(di.nextMonth)(this.leftDate)}}},methods:{handleClear:function(){this.minDate=null,this.maxDate=null,this.leftDate=Zi(this.defaultValue)[0],this.rightDate=Object(di.nextMonth)(this.leftDate),this.$emit("pick",null)},handleChangeRange:function(t){this.minDate=t.minDate,this.maxDate=t.maxDate,this.rangeState=t.rangeState},handleDateInput:function(t,e){if(this.dateUserInput[e]=t,t.length===this.dateFormat.length){var n=Object(di.parseDate)(t,this.dateFormat);if(n){if("function"==typeof this.disabledDate&&this.disabledDate(new Date(n)))return;"min"===e?(this.minDate=Object(di.modifyDate)(this.minDate||new Date,n.getFullYear(),n.getMonth(),n.getDate()),this.leftDate=new Date(n),this.unlinkPanels||(this.rightDate=Object(di.nextMonth)(this.leftDate))):(this.maxDate=Object(di.modifyDate)(this.maxDate||new Date,n.getFullYear(),n.getMonth(),n.getDate()),this.rightDate=new Date(n),this.unlinkPanels||(this.leftDate=Object(di.prevMonth)(n)))}}},handleDateChange:function(t,e){var n=Object(di.parseDate)(t,this.dateFormat);n&&("min"===e?(this.minDate=Object(di.modifyDate)(this.minDate,n.getFullYear(),n.getMonth(),n.getDate()),this.minDate>this.maxDate&&(this.maxDate=this.minDate)):(this.maxDate=Object(di.modifyDate)(this.maxDate,n.getFullYear(),n.getMonth(),n.getDate()),this.maxDate<this.minDate&&(this.minDate=this.maxDate)))},handleTimeInput:function(t,e){var n=this;if(this.timeUserInput[e]=t,t.length===this.timeFormat.length){var i=Object(di.parseDate)(t,this.timeFormat);i&&("min"===e?(this.minDate=Object(di.modifyTime)(this.minDate,i.getHours(),i.getMinutes(),i.getSeconds()),this.$nextTick(function(t){return n.$refs.minTimePicker.adjustSpinners()})):(this.maxDate=Object(di.modifyTime)(this.maxDate,i.getHours(),i.getMinutes(),i.getSeconds()),this.$nextTick(function(t){return n.$refs.maxTimePicker.adjustSpinners()})))}},handleTimeChange:function(t,e){var n=Object(di.parseDate)(t,this.timeFormat);n&&("min"===e?(this.minDate=Object(di.modifyTime)(this.minDate,n.getHours(),n.getMinutes(),n.getSeconds()),this.minDate>this.maxDate&&(this.maxDate=this.minDate),this.$refs.minTimePicker.value=this.minDate,this.minTimePickerVisible=!1):(this.maxDate=Object(di.modifyTime)(this.maxDate,n.getHours(),n.getMinutes(),n.getSeconds()),this.maxDate<this.minDate&&(this.minDate=this.maxDate),this.$refs.maxTimePicker.value=this.minDate,this.maxTimePickerVisible=!1))},handleRangePick:function(t){var e=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=this.defaultTime||[],r=Object(di.modifyWithTimeString)(t.minDate,i[0]),o=Object(di.modifyWithTimeString)(t.maxDate,i[1]);this.maxDate===o&&this.minDate===r||(this.onPick&&this.onPick(t),this.maxDate=o,this.minDate=r,setTimeout(function(){e.maxDate=o,e.minDate=r},10),n&&!this.showTime&&this.handleConfirm())},handleShortcutClick:function(t){t.onClick&&t.onClick(this)},handleMinTimePick:function(t,e,n){this.minDate=this.minDate||new Date,t&&(this.minDate=Object(di.modifyTime)(this.minDate,t.getHours(),t.getMinutes(),t.getSeconds())),n||(this.minTimePickerVisible=e),(!this.maxDate||this.maxDate&&this.maxDate.getTime()<this.minDate.getTime())&&(this.maxDate=new Date(this.minDate))},handleMinTimeClose:function(){this.minTimePickerVisible=!1},handleMaxTimePick:function(t,e,n){this.maxDate&&t&&(this.maxDate=Object(di.modifyTime)(this.maxDate,t.getHours(),t.getMinutes(),t.getSeconds())),n||(this.maxTimePickerVisible=e),this.maxDate&&this.minDate&&this.minDate.getTime()>this.maxDate.getTime()&&(this.minDate=new Date(this.maxDate))},handleMaxTimeClose:function(){this.maxTimePickerVisible=!1},leftPrevYear:function(){this.leftDate=Object(di.prevYear)(this.leftDate),this.unlinkPanels||(this.rightDate=Object(di.nextMonth)(this.leftDate))},leftPrevMonth:function(){this.leftDate=Object(di.prevMonth)(this.leftDate),this.unlinkPanels||(this.rightDate=Object(di.nextMonth)(this.leftDate))},rightNextYear:function(){this.unlinkPanels?this.rightDate=Object(di.nextYear)(this.rightDate):(this.leftDate=Object(di.nextYear)(this.leftDate),this.rightDate=Object(di.nextMonth)(this.leftDate))},rightNextMonth:function(){this.unlinkPanels?this.rightDate=Object(di.nextMonth)(this.rightDate):(this.leftDate=Object(di.nextMonth)(this.leftDate),this.rightDate=Object(di.nextMonth)(this.leftDate))},leftNextYear:function(){this.leftDate=Object(di.nextYear)(this.leftDate)},leftNextMonth:function(){this.leftDate=Object(di.nextMonth)(this.leftDate)},rightPrevYear:function(){this.rightDate=Object(di.prevYear)(this.rightDate)},rightPrevMonth:function(){this.rightDate=Object(di.prevMonth)(this.rightDate)},handleConfirm:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.isValidValue([this.minDate,this.maxDate])&&this.$emit("pick",[this.minDate,this.maxDate],t)},isValidValue:function(t){return Array.isArray(t)&&t&&t[0]&&t[1]&&Object(di.isDate)(t[0])&&Object(di.isDate)(t[1])&&t[0].getTime()<=t[1].getTime()&&("function"!=typeof this.disabledDate||!this.disabledDate(t[0])&&!this.disabledDate(t[1]))},resetView:function(){this.minDate&&null==this.maxDate&&(this.rangeState.selecting=!1),this.minDate=this.value&&Object(di.isDate)(this.value[0])?new Date(this.value[0]):null,this.maxDate=this.value&&Object(di.isDate)(this.value[0])?new Date(this.value[1]):null}},components:{TimePicker:Fi,DateTable:Ki,ElInput:d.a,ElButton:G.a}},qi,[],!1,null,null,null);Ji.options.__file="packages/date-picker/src/panel/date-range.vue";var tr=Ji.exports,er=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":function(e){t.$emit("dodestroy")}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"el-picker-panel el-date-range-picker el-popper",class:[{"has-sidebar":t.$slots.sidebar||t.shortcuts},t.popperClass]},[n("div",{staticClass:"el-picker-panel__body-wrapper"},[t._t("sidebar"),t.shortcuts?n("div",{staticClass:"el-picker-panel__sidebar"},t._l(t.shortcuts,function(e,i){return n("button",{key:i,staticClass:"el-picker-panel__shortcut",attrs:{type:"button"},on:{click:function(n){t.handleShortcutClick(e)}}},[t._v(t._s(e.text))])}),0):t._e(),n("div",{staticClass:"el-picker-panel__body"},[n("div",{staticClass:"el-picker-panel__content el-date-range-picker__content is-left"},[n("div",{staticClass:"el-date-range-picker__header"},[n("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-left",attrs:{type:"button"},on:{click:t.leftPrevYear}}),t.unlinkPanels?n("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-right",class:{"is-disabled":!t.enableYearArrow},attrs:{type:"button",disabled:!t.enableYearArrow},on:{click:t.leftNextYear}}):t._e(),n("div",[t._v(t._s(t.leftLabel))])]),n("month-table",{attrs:{"selection-mode":"range",date:t.leftDate,"default-value":t.defaultValue,"min-date":t.minDate,"max-date":t.maxDate,"range-state":t.rangeState,"disabled-date":t.disabledDate},on:{changerange:t.handleChangeRange,pick:t.handleRangePick}})],1),n("div",{staticClass:"el-picker-panel__content el-date-range-picker__content is-right"},[n("div",{staticClass:"el-date-range-picker__header"},[t.unlinkPanels?n("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-left",class:{"is-disabled":!t.enableYearArrow},attrs:{type:"button",disabled:!t.enableYearArrow},on:{click:t.rightPrevYear}}):t._e(),n("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-right",attrs:{type:"button"},on:{click:t.rightNextYear}}),n("div",[t._v(t._s(t.rightLabel))])]),n("month-table",{attrs:{"selection-mode":"range",date:t.rightDate,"default-value":t.defaultValue,"min-date":t.minDate,"max-date":t.maxDate,"range-state":t.rangeState,"disabled-date":t.disabledDate},on:{changerange:t.handleChangeRange,pick:t.handleRangePick}})],1)])],2)])])};er._withStripped=!0;var nr=function(t){return Array.isArray(t)?[new Date(t[0]),new Date(t[1])]:t?[new Date(t),Object(di.nextMonth)(new Date(t))]:[new Date,Object(di.nextMonth)(new Date)]},ir=r({mixins:[p.a],directives:{Clickoutside:M.a},computed:{btnDisabled:function(){return!(this.minDate&&this.maxDate&&!this.selecting&&this.isValidValue([this.minDate,this.maxDate]))},leftLabel:function(){return this.leftDate.getFullYear()+" "+this.t("el.datepicker.year")},rightLabel:function(){return this.rightDate.getFullYear()+" "+this.t("el.datepicker.year")},leftYear:function(){return this.leftDate.getFullYear()},rightYear:function(){return this.rightDate.getFullYear()===this.leftDate.getFullYear()?this.leftDate.getFullYear()+1:this.rightDate.getFullYear()},enableYearArrow:function(){return this.unlinkPanels&&this.rightYear>this.leftYear+1}},data:function(){return{popperClass:"",value:[],defaultValue:null,defaultTime:null,minDate:"",maxDate:"",leftDate:new Date,rightDate:Object(di.nextYear)(new Date),rangeState:{endDate:null,selecting:!1,row:null,column:null},shortcuts:"",visible:"",disabledDate:"",format:"",arrowControl:!1,unlinkPanels:!1}},watch:{value:function(t){if(t){if(Array.isArray(t))if(this.minDate=Object(di.isDate)(t[0])?new Date(t[0]):null,this.maxDate=Object(di.isDate)(t[1])?new Date(t[1]):null,this.minDate)if(this.leftDate=this.minDate,this.unlinkPanels&&this.maxDate){var e=this.minDate.getFullYear(),n=this.maxDate.getFullYear();this.rightDate=e===n?Object(di.nextYear)(this.maxDate):this.maxDate}else this.rightDate=Object(di.nextYear)(this.leftDate);else this.leftDate=nr(this.defaultValue)[0],this.rightDate=Object(di.nextYear)(this.leftDate)}else this.minDate=null,this.maxDate=null},defaultValue:function(t){if(!Array.isArray(this.value)){var e=nr(t),n=e[0],i=e[1];this.leftDate=n,this.rightDate=t&&t[1]&&n.getFullYear()!==i.getFullYear()&&this.unlinkPanels?i:Object(di.nextYear)(this.leftDate)}}},methods:{handleClear:function(){this.minDate=null,this.maxDate=null,this.leftDate=nr(this.defaultValue)[0],this.rightDate=Object(di.nextYear)(this.leftDate),this.$emit("pick",null)},handleChangeRange:function(t){this.minDate=t.minDate,this.maxDate=t.maxDate,this.rangeState=t.rangeState},handleRangePick:function(t){var e=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=this.defaultTime||[],r=Object(di.modifyWithTimeString)(t.minDate,i[0]),o=Object(di.modifyWithTimeString)(t.maxDate,i[1]);this.maxDate===o&&this.minDate===r||(this.onPick&&this.onPick(t),this.maxDate=o,this.minDate=r,setTimeout(function(){e.maxDate=o,e.minDate=r},10),n&&this.handleConfirm())},handleShortcutClick:function(t){t.onClick&&t.onClick(this)},leftPrevYear:function(){this.leftDate=Object(di.prevYear)(this.leftDate),this.unlinkPanels||(this.rightDate=Object(di.prevYear)(this.rightDate))},rightNextYear:function(){this.unlinkPanels||(this.leftDate=Object(di.nextYear)(this.leftDate)),this.rightDate=Object(di.nextYear)(this.rightDate)},leftNextYear:function(){this.leftDate=Object(di.nextYear)(this.leftDate)},rightPrevYear:function(){this.rightDate=Object(di.prevYear)(this.rightDate)},handleConfirm:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.isValidValue([this.minDate,this.maxDate])&&this.$emit("pick",[this.minDate,this.maxDate],t)},isValidValue:function(t){return Array.isArray(t)&&t&&t[0]&&t[1]&&Object(di.isDate)(t[0])&&Object(di.isDate)(t[1])&&t[0].getTime()<=t[1].getTime()&&("function"!=typeof this.disabledDate||!this.disabledDate(t[0])&&!this.disabledDate(t[1]))},resetView:function(){this.minDate=this.value&&Object(di.isDate)(this.value[0])?new Date(this.value[0]):null,this.maxDate=this.value&&Object(di.isDate)(this.value[0])?new Date(this.value[1]):null}},components:{MonthTable:Vi,ElInput:d.a,ElButton:G.a}},er,[],!1,null,null,null);ir.options.__file="packages/date-picker/src/panel/month-range.vue";var rr=ir.exports,or=function(t){return"daterange"===t||"datetimerange"===t?tr:"monthrange"===t?rr:Xi},ar={mixins:[Ti],name:"ElDatePicker",props:{type:{type:String,default:"date"},timeArrowControl:Boolean},watch:{type:function(t){this.picker?(this.unmountPicker(),this.panel=or(t),this.mountPicker()):this.panel=or(t)}},created:function(){this.panel=or(this.type)},install:function(t){t.component(ar.name,ar)}},sr=ar,lr=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"el-zoom-in-top"},on:{"before-enter":t.handleMenuEnter,"after-leave":function(e){t.$emit("dodestroy")}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],ref:"popper",staticClass:"el-picker-panel time-select el-popper",class:t.popperClass,style:{width:t.width+"px"}},[n("el-scrollbar",{attrs:{noresize:"","wrap-class":"el-picker-panel__content"}},t._l(t.items,function(e){return n("div",{key:e.value,staticClass:"time-select-item",class:{selected:t.value===e.value,disabled:e.disabled,default:e.value===t.defaultValue},attrs:{disabled:e.disabled},on:{click:function(n){t.handleClick(e)}}},[t._v(t._s(e.value))])}),0)],1)])};lr._withStripped=!0;var cr=function(t){var e=(t||"").split(":");return e.length>=2?{hours:parseInt(e[0],10),minutes:parseInt(e[1],10)}:null},ur=function(t,e){var n=cr(t),i=cr(e),r=n.minutes+60*n.hours,o=i.minutes+60*i.hours;return r===o?0:r>o?1:-1},hr=function(t,e){var n=cr(t),i=cr(e),r={hours:n.hours,minutes:n.minutes};return r.minutes+=i.minutes,r.hours+=i.hours,r.hours+=Math.floor(r.minutes/60),r.minutes=r.minutes%60,function(t){return(t.hours<10?"0"+t.hours:t.hours)+":"+(t.minutes<10?"0"+t.minutes:t.minutes)}(r)},dr=r({components:{ElScrollbar:N.a},watch:{value:function(t){var e=this;t&&this.$nextTick(function(){return e.scrollToOption()})}},methods:{handleClick:function(t){t.disabled||this.$emit("pick",t.value)},handleClear:function(){this.$emit("pick",null)},scrollToOption:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".selected",e=this.$refs.popper.querySelector(".el-picker-panel__content");je()(e,e.querySelector(t))},handleMenuEnter:function(){var t=this,e=-1!==this.items.map(function(t){return t.value}).indexOf(this.value),n=-1!==this.items.map(function(t){return t.value}).indexOf(this.defaultValue),i=(e?".selected":n&&".default")||".time-select-item:not(.disabled)";this.$nextTick(function(){return t.scrollToOption(i)})},scrollDown:function(t){for(var e=this.items,n=e.length,i=e.length,r=e.map(function(t){return t.value}).indexOf(this.value);i--;)if(!e[r=(r+t+n)%n].disabled)return void this.$emit("pick",e[r].value,!0)},isValidValue:function(t){return-1!==this.items.filter(function(t){return!t.disabled}).map(function(t){return t.value}).indexOf(t)},handleKeydown:function(t){var e=t.keyCode;if(38===e||40===e){var n={40:1,38:-1}[e.toString()];return this.scrollDown(n),void t.stopPropagation()}}},data:function(){return{popperClass:"",start:"09:00",end:"18:00",step:"00:30",value:"",defaultValue:"",visible:!1,minTime:"",maxTime:"",width:0}},computed:{items:function(){var t=this.start,e=this.end,n=this.step,i=[];if(t&&e&&n)for(var r=t;ur(r,e)<=0;)i.push({value:r,disabled:ur(r,this.minTime||"-1:-1")<=0||ur(r,this.maxTime||"100:100")>=0}),r=hr(r,n);return i}}},lr,[],!1,null,null,null);dr.options.__file="packages/date-picker/src/panel/time-select.vue";var fr=dr.exports,pr={mixins:[Ti],name:"ElTimeSelect",componentName:"ElTimeSelect",props:{type:{type:String,default:"time-select"}},beforeCreate:function(){this.panel=fr},install:function(t){t.component(pr.name,pr)}},Ar=pr,gr=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":function(e){t.$emit("dodestroy")}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"el-time-range-picker el-picker-panel el-popper",class:t.popperClass},[n("div",{staticClass:"el-time-range-picker__content"},[n("div",{staticClass:"el-time-range-picker__cell"},[n("div",{staticClass:"el-time-range-picker__header"},[t._v(t._s(t.t("el.datepicker.startTime")))]),n("div",{staticClass:"el-time-range-picker__body el-time-panel__content",class:{"has-seconds":t.showSeconds,"is-arrow":t.arrowControl}},[n("time-spinner",{ref:"minSpinner",attrs:{"show-seconds":t.showSeconds,"am-pm-mode":t.amPmMode,"arrow-control":t.arrowControl,date:t.minDate},on:{change:t.handleMinChange,"select-range":t.setMinSelectionRange}})],1)]),n("div",{staticClass:"el-time-range-picker__cell"},[n("div",{staticClass:"el-time-range-picker__header"},[t._v(t._s(t.t("el.datepicker.endTime")))]),n("div",{staticClass:"el-time-range-picker__body el-time-panel__content",class:{"has-seconds":t.showSeconds,"is-arrow":t.arrowControl}},[n("time-spinner",{ref:"maxSpinner",attrs:{"show-seconds":t.showSeconds,"am-pm-mode":t.amPmMode,"arrow-control":t.arrowControl,date:t.maxDate},on:{change:t.handleMaxChange,"select-range":t.setMaxSelectionRange}})],1)])]),n("div",{staticClass:"el-time-panel__footer"},[n("button",{staticClass:"el-time-panel__btn cancel",attrs:{type:"button"},on:{click:function(e){t.handleCancel()}}},[t._v(t._s(t.t("el.datepicker.cancel")))]),n("button",{staticClass:"el-time-panel__btn confirm",attrs:{type:"button",disabled:t.btnDisabled},on:{click:function(e){t.handleConfirm()}}},[t._v(t._s(t.t("el.datepicker.confirm")))])])])])};gr._withStripped=!0;var vr=Object(di.parseDate)("00:00:00","HH:mm:ss"),mr=Object(di.parseDate)("23:59:59","HH:mm:ss"),yr=function(t){return Object(di.modifyDate)(mr,t.getFullYear(),t.getMonth(),t.getDate())},br=function(t,e){return new Date(Math.min(t.getTime()+e,yr(t).getTime()))},_r=r({mixins:[p.a],components:{TimeSpinner:Di},computed:{showSeconds:function(){return-1!==(this.format||"").indexOf("ss")},offset:function(){return this.showSeconds?11:8},spinner:function(){return this.selectionRange[0]<this.offset?this.$refs.minSpinner:this.$refs.maxSpinner},btnDisabled:function(){return this.minDate.getTime()>this.maxDate.getTime()},amPmMode:function(){return-1!==(this.format||"").indexOf("A")?"A":-1!==(this.format||"").indexOf("a")?"a":""}},data:function(){return{popperClass:"",minDate:new Date,maxDate:new Date,value:[],oldValue:[new Date,new Date],defaultValue:null,format:"HH:mm:ss",visible:!1,selectionRange:[0,2],arrowControl:!1}},watch:{value:function(t){Array.isArray(t)?(this.minDate=new Date(t[0]),this.maxDate=new Date(t[1])):Array.isArray(this.defaultValue)?(this.minDate=new Date(this.defaultValue[0]),this.maxDate=new Date(this.defaultValue[1])):this.defaultValue?(this.minDate=new Date(this.defaultValue),this.maxDate=br(new Date(this.defaultValue),36e5)):(this.minDate=new Date,this.maxDate=br(new Date,36e5))},visible:function(t){var e=this;t&&(this.oldValue=this.value,this.$nextTick(function(){return e.$refs.minSpinner.emitSelectRange("hours")}))}},methods:{handleClear:function(){this.$emit("pick",null)},handleCancel:function(){this.$emit("pick",this.oldValue)},handleMinChange:function(t){this.minDate=Object(di.clearMilliseconds)(t),this.handleChange()},handleMaxChange:function(t){this.maxDate=Object(di.clearMilliseconds)(t),this.handleChange()},handleChange:function(){var t;this.isValidValue([this.minDate,this.maxDate])&&(this.$refs.minSpinner.selectableRange=[[(t=this.minDate,Object(di.modifyDate)(vr,t.getFullYear(),t.getMonth(),t.getDate())),this.maxDate]],this.$refs.maxSpinner.selectableRange=[[this.minDate,yr(this.maxDate)]],this.$emit("pick",[this.minDate,this.maxDate],!0))},setMinSelectionRange:function(t,e){this.$emit("select-range",t,e,"min"),this.selectionRange=[t,e]},setMaxSelectionRange:function(t,e){this.$emit("select-range",t,e,"max"),this.selectionRange=[t+this.offset,e+this.offset]},handleConfirm:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.$refs.minSpinner.selectableRange,n=this.$refs.maxSpinner.selectableRange;this.minDate=Object(di.limitTimeRange)(this.minDate,e,this.format),this.maxDate=Object(di.limitTimeRange)(this.maxDate,n,this.format),this.$emit("pick",[this.minDate,this.maxDate],t)},adjustSpinners:function(){this.$refs.minSpinner.adjustSpinners(),this.$refs.maxSpinner.adjustSpinners()},changeSelectionRange:function(t){var e=this.showSeconds?[0,3,6,11,14,17]:[0,3,8,11],n=["hours","minutes"].concat(this.showSeconds?["seconds"]:[]),i=(e.indexOf(this.selectionRange[0])+t+e.length)%e.length,r=e.length/2;i<r?this.$refs.minSpinner.emitSelectRange(n[i]):this.$refs.maxSpinner.emitSelectRange(n[i-r])},isValidValue:function(t){return Array.isArray(t)&&Object(di.timeWithinRange)(this.minDate,this.$refs.minSpinner.selectableRange)&&Object(di.timeWithinRange)(this.maxDate,this.$refs.maxSpinner.selectableRange)},handleKeydown:function(t){var e=t.keyCode,n={38:-1,40:1,37:-1,39:1};if(37===e||39===e){var i=n[e];return this.changeSelectionRange(i),void t.preventDefault()}if(38===e||40===e){var r=n[e];return this.spinner.scrollDown(r),void t.preventDefault()}}}},gr,[],!1,null,null,null);_r.options.__file="packages/date-picker/src/panel/time-range.vue";var wr=_r.exports,xr={mixins:[Ti],name:"ElTimePicker",props:{isRange:Boolean,arrowControl:Boolean},data:function(){return{type:""}},watch:{isRange:function(t){this.picker?(this.unmountPicker(),this.type=t?"timerange":"time",this.panel=t?wr:Fi,this.mountPicker()):(this.type=t?"timerange":"time",this.panel=t?wr:Fi)}},created:function(){this.type=this.isRange?"timerange":"time",this.panel=this.isRange?wr:Fi},install:function(t){t.component(xr.name,xr)}},Cr=xr,Sr=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",[n("transition",{attrs:{name:t.transition},on:{"after-enter":t.handleAfterEnter,"after-leave":t.handleAfterLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:!t.disabled&&t.showPopper,expression:"!disabled && showPopper"}],ref:"popper",staticClass:"el-popover el-popper",class:[t.popperClass,t.content&&"el-popover--plain"],style:{width:t.width+"px"},attrs:{role:"tooltip",id:t.tooltipId,"aria-hidden":t.disabled||!t.showPopper?"true":"false"}},[t.title?n("div",{staticClass:"el-popover__title",domProps:{textContent:t._s(t.title)}}):t._e(),t._t("default",[t._v(t._s(t.content))])],2)]),n("span",{ref:"wrapper",staticClass:"el-popover__reference-wrapper"},[t._t("reference")],2)],1)};Sr._withStripped=!0;var Br=r({name:"ElPopover",mixins:[F.a],props:{trigger:{type:String,default:"click",validator:function(t){return["click","focus","hover","manual"].indexOf(t)>-1}},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:200},title:String,disabled:Boolean,content:String,reference:{},popperClass:String,width:{},visibleArrow:{default:!0},arrowOffset:{type:Number,default:0},transition:{type:String,default:"fade-in-linear"},tabindex:{type:Number,default:0}},computed:{tooltipId:function(){return"el-popover-"+Object(A.generateId)()}},watch:{showPopper:function(t){this.disabled||(t?this.$emit("show"):this.$emit("hide"))}},mounted:function(){var t=this,e=this.referenceElm=this.reference||this.$refs.reference,n=this.popper||this.$refs.popper;!e&&this.$refs.wrapper.children&&(e=this.referenceElm=this.$refs.wrapper.children[0]),e&&(Object(pt.addClass)(e,"el-popover__reference"),e.setAttribute("aria-describedby",this.tooltipId),e.setAttribute("tabindex",this.tabindex),n.setAttribute("tabindex",0),"click"!==this.trigger&&(Object(pt.on)(e,"focusin",function(){t.handleFocus();var n=e.__vue__;n&&"function"==typeof n.focus&&n.focus()}),Object(pt.on)(n,"focusin",this.handleFocus),Object(pt.on)(e,"focusout",this.handleBlur),Object(pt.on)(n,"focusout",this.handleBlur)),Object(pt.on)(e,"keydown",this.handleKeydown),Object(pt.on)(e,"click",this.handleClick)),"click"===this.trigger?(Object(pt.on)(e,"click",this.doToggle),Object(pt.on)(document,"click",this.handleDocumentClick)):"hover"===this.trigger?(Object(pt.on)(e,"mouseenter",this.handleMouseEnter),Object(pt.on)(n,"mouseenter",this.handleMouseEnter),Object(pt.on)(e,"mouseleave",this.handleMouseLeave),Object(pt.on)(n,"mouseleave",this.handleMouseLeave)):"focus"===this.trigger&&(this.tabindex<0&&console.warn("[Element Warn][Popover]a negative taindex means that the element cannot be focused by tab key"),e.querySelector("input, textarea")?(Object(pt.on)(e,"focusin",this.doShow),Object(pt.on)(e,"focusout",this.doClose)):(Object(pt.on)(e,"mousedown",this.doShow),Object(pt.on)(e,"mouseup",this.doClose)))},beforeDestroy:function(){this.cleanup()},deactivated:function(){this.cleanup()},methods:{doToggle:function(){this.showPopper=!this.showPopper},doShow:function(){this.showPopper=!0},doClose:function(){this.showPopper=!1},handleFocus:function(){Object(pt.addClass)(this.referenceElm,"focusing"),"click"!==this.trigger&&"focus"!==this.trigger||(this.showPopper=!0)},handleClick:function(){Object(pt.removeClass)(this.referenceElm,"focusing")},handleBlur:function(){Object(pt.removeClass)(this.referenceElm,"focusing"),"click"!==this.trigger&&"focus"!==this.trigger||(this.showPopper=!1)},handleMouseEnter:function(){var t=this;clearTimeout(this._timer),this.openDelay?this._timer=setTimeout(function(){t.showPopper=!0},this.openDelay):this.showPopper=!0},handleKeydown:function(t){27===t.keyCode&&"manual"!==this.trigger&&this.doClose()},handleMouseLeave:function(){var t=this;clearTimeout(this._timer),this.closeDelay?this._timer=setTimeout(function(){t.showPopper=!1},this.closeDelay):this.showPopper=!1},handleDocumentClick:function(t){var e=this.reference||this.$refs.reference,n=this.popper||this.$refs.popper;!e&&this.$refs.wrapper.children&&(e=this.referenceElm=this.$refs.wrapper.children[0]),this.$el&&e&&!this.$el.contains(t.target)&&!e.contains(t.target)&&n&&!n.contains(t.target)&&(this.showPopper=!1)},handleAfterEnter:function(){this.$emit("after-enter")},handleAfterLeave:function(){this.$emit("after-leave"),this.doDestroy()},cleanup:function(){(this.openDelay||this.closeDelay)&&clearTimeout(this._timer)}},destroyed:function(){var t=this.reference;Object(pt.off)(t,"click",this.doToggle),Object(pt.off)(t,"mouseup",this.doClose),Object(pt.off)(t,"mousedown",this.doShow),Object(pt.off)(t,"focusin",this.doShow),Object(pt.off)(t,"focusout",this.doClose),Object(pt.off)(t,"mousedown",this.doShow),Object(pt.off)(t,"mouseup",this.doClose),Object(pt.off)(t,"mouseleave",this.handleMouseLeave),Object(pt.off)(t,"mouseenter",this.handleMouseEnter),Object(pt.off)(document,"click",this.handleDocumentClick)}},Sr,[],!1,null,null,null);Br.options.__file="packages/popover/src/main.vue";var kr=Br.exports,Tr=function(t,e,n){var i=e.expression?e.value:e.arg,r=n.context.$refs[i];r&&(Array.isArray(r)?r[0].$refs.reference=t:r.$refs.reference=t)},Or={bind:function(t,e,n){Tr(t,e,n)},inserted:function(t,e,n){Tr(t,e,n)}};hn.a.directive("popover",Or),kr.install=function(t){t.directive("popover",Or),t.component(kr.name,kr)},kr.directive=Or;var Er=kr,Ir={name:"ElTooltip",mixins:[F.a],props:{openDelay:{type:Number,default:0},disabled:Boolean,manual:Boolean,effect:{type:String,default:"dark"},arrowOffset:{type:Number,default:0},popperClass:String,content:String,visibleArrow:{default:!0},transition:{type:String,default:"el-fade-in-linear"},popperOptions:{default:function(){return{boundariesPadding:10,gpuAcceleration:!1}}},enterable:{type:Boolean,default:!0},hideAfter:{type:Number,default:0},tabindex:{type:Number,default:0}},data:function(){return{tooltipId:"el-tooltip-"+Object(A.generateId)(),timeoutPending:null,focusing:!1}},beforeCreate:function(){var t=this;this.$isServer||(this.popperVM=new hn.a({data:{node:""},render:function(t){return this.node}}).$mount(),this.debounceClose=E()(200,function(){return t.handleClosePopper()}))},render:function(t){var e=this;this.popperVM&&(this.popperVM.node=t("transition",{attrs:{name:this.transition},on:{afterLeave:this.doDestroy}},[t("div",{on:{mouseleave:function(){e.setExpectedState(!1),e.debounceClose()},mouseenter:function(){e.setExpectedState(!0)}},ref:"popper",attrs:{role:"tooltip",id:this.tooltipId,"aria-hidden":this.disabled||!this.showPopper?"true":"false"},directives:[{name:"show",value:!this.disabled&&this.showPopper}],class:["el-tooltip__popper","is-"+this.effect,this.popperClass]},[this.$slots.content||this.content])]));var n=this.getFirstElement();if(!n)return null;var i=n.data=n.data||{};return i.staticClass=this.addTooltipClass(i.staticClass),n},mounted:function(){var t=this;this.referenceElm=this.$el,1===this.$el.nodeType&&(this.$el.setAttribute("aria-describedby",this.tooltipId),this.$el.setAttribute("tabindex",this.tabindex),Object(pt.on)(this.referenceElm,"mouseenter",this.show),Object(pt.on)(this.referenceElm,"mouseleave",this.hide),Object(pt.on)(this.referenceElm,"focus",function(){if(t.$slots.default&&t.$slots.default.length){var e=t.$slots.default[0].componentInstance;e&&e.focus?e.focus():t.handleFocus()}else t.handleFocus()}),Object(pt.on)(this.referenceElm,"blur",this.handleBlur),Object(pt.on)(this.referenceElm,"click",this.removeFocusing)),this.value&&this.popperVM&&this.popperVM.$nextTick(function(){t.value&&t.updatePopper()})},watch:{focusing:function(t){t?Object(pt.addClass)(this.referenceElm,"focusing"):Object(pt.removeClass)(this.referenceElm,"focusing")}},methods:{show:function(){this.setExpectedState(!0),this.handleShowPopper()},hide:function(){this.setExpectedState(!1),this.debounceClose()},handleFocus:function(){this.focusing=!0,this.show()},handleBlur:function(){this.focusing=!1,this.hide()},removeFocusing:function(){this.focusing=!1},addTooltipClass:function(t){return t?"el-tooltip "+t.replace("el-tooltip",""):"el-tooltip"},handleShowPopper:function(){var t=this;this.expectedState&&!this.manual&&(clearTimeout(this.timeout),this.timeout=setTimeout(function(){t.showPopper=!0},this.openDelay),this.hideAfter>0&&(this.timeoutPending=setTimeout(function(){t.showPopper=!1},this.hideAfter)))},handleClosePopper:function(){this.enterable&&this.expectedState||this.manual||(clearTimeout(this.timeout),this.timeoutPending&&clearTimeout(this.timeoutPending),this.showPopper=!1,this.disabled&&this.doDestroy())},setExpectedState:function(t){!1===t&&clearTimeout(this.timeoutPending),this.expectedState=t},getFirstElement:function(){var t=this.$slots.default;if(!Array.isArray(t))return null;for(var e=null,n=0;n<t.length;n++)t[n]&&t[n].tag&&(e=t[n]);return e}},beforeDestroy:function(){this.popperVM&&this.popperVM.$destroy()},destroyed:function(){var t=this.referenceElm;1===t.nodeType&&(Object(pt.off)(t,"mouseenter",this.show),Object(pt.off)(t,"mouseleave",this.hide),Object(pt.off)(t,"focus",this.handleFocus),Object(pt.off)(t,"blur",this.handleBlur),Object(pt.off)(t,"click",this.removeFocusing))},install:function(t){t.component(Ir.name,Ir)}},Mr=Ir,Dr=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"msgbox-fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"el-message-box__wrapper",attrs:{tabindex:"-1",role:"dialog","aria-modal":"true","aria-label":t.title||"dialog"},on:{click:function(e){return e.target!==e.currentTarget?null:t.handleWrapperClick(e)}}},[n("div",{staticClass:"el-message-box",class:[t.customClass,t.center&&"el-message-box--center"]},[null!==t.title?n("div",{staticClass:"el-message-box__header"},[n("div",{staticClass:"el-message-box__title"},[t.icon&&t.center?n("div",{class:["el-message-box__status",t.icon]}):t._e(),n("span",[t._v(t._s(t.title))])]),t.showClose?n("button",{staticClass:"el-message-box__headerbtn",attrs:{type:"button","aria-label":"Close"},on:{click:function(e){t.handleAction(t.distinguishCancelAndClose?"close":"cancel")},keydown:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13,e.key,"Enter"))return null;t.handleAction(t.distinguishCancelAndClose?"close":"cancel")}}},[n("i",{staticClass:"el-message-box__close el-icon-close"})]):t._e()]):t._e(),n("div",{staticClass:"el-message-box__content"},[n("div",{staticClass:"el-message-box__container"},[t.icon&&!t.center&&""!==t.message?n("div",{class:["el-message-box__status",t.icon]}):t._e(),""!==t.message?n("div",{staticClass:"el-message-box__message"},[t._t("default",[t.dangerouslyUseHTMLString?n("p",{domProps:{innerHTML:t._s(t.message)}}):n("p",[t._v(t._s(t.message))])])],2):t._e()]),n("div",{directives:[{name:"show",rawName:"v-show",value:t.showInput,expression:"showInput"}],staticClass:"el-message-box__input"},[n("el-input",{ref:"input",attrs:{type:t.inputType,placeholder:t.inputPlaceholder},nativeOn:{keydown:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.handleInputEnter(e):null}},model:{value:t.inputValue,callback:function(e){t.inputValue=e},expression:"inputValue"}}),n("div",{staticClass:"el-message-box__errormsg",style:{visibility:t.editorErrorMessage?"visible":"hidden"}},[t._v(t._s(t.editorErrorMessage))])],1)]),n("div",{staticClass:"el-message-box__btns"},[t.showCancelButton?n("el-button",{class:[t.cancelButtonClasses],attrs:{loading:t.cancelButtonLoading,round:t.roundButton,size:"small"},on:{keydown:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13,e.key,"Enter"))return null;t.handleAction("cancel")}},nativeOn:{click:function(e){t.handleAction("cancel")}}},[t._v("\n "+t._s(t.cancelButtonText||t.t("el.messagebox.cancel"))+"\n ")]):t._e(),n("el-button",{directives:[{name:"show",rawName:"v-show",value:t.showConfirmButton,expression:"showConfirmButton"}],ref:"confirm",class:[t.confirmButtonClasses],attrs:{loading:t.confirmButtonLoading,round:t.roundButton,size:"small"},on:{keydown:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13,e.key,"Enter"))return null;t.handleAction("confirm")}},nativeOn:{click:function(e){t.handleAction("confirm")}}},[t._v("\n "+t._s(t.confirmButtonText||t.t("el.messagebox.confirm"))+"\n ")])],1)])])])};Dr._withStripped=!0;var Lr=n(15),Fr=n.n(Lr),Pr=n(39),Nr=n.n(Pr),jr=void 0,Ur={success:"success",info:"info",warning:"warning",error:"error"},Rr=r({mixins:[b.a,p.a],props:{modal:{default:!0},lockScroll:{default:!0},showClose:{type:Boolean,default:!0},closeOnClickModal:{default:!0},closeOnPressEscape:{default:!0},closeOnHashChange:{default:!0},center:{default:!1,type:Boolean},roundButton:{default:!1,type:Boolean}},components:{ElInput:d.a,ElButton:G.a},computed:{icon:function(){var t=this.type;return this.iconClass||(t&&Ur[t]?"el-icon-"+Ur[t]:"")},confirmButtonClasses:function(){return"el-button--primary "+this.confirmButtonClass},cancelButtonClasses:function(){return""+this.cancelButtonClass}},methods:{getSafeClose:function(){var t=this,e=this.uid;return function(){t.$nextTick(function(){e===t.uid&&t.doClose()})}},doClose:function(){var t=this;this.visible&&(this.visible=!1,this._closing=!0,this.onClose&&this.onClose(),jr.closeDialog(),this.lockScroll&&setTimeout(this.restoreBodyStyle,200),this.opened=!1,this.doAfterClose(),setTimeout(function(){t.action&&t.callback(t.action,t)}))},handleWrapperClick:function(){this.closeOnClickModal&&this.handleAction(this.distinguishCancelAndClose?"close":"cancel")},handleInputEnter:function(){if("textarea"!==this.inputType)return this.handleAction("confirm")},handleAction:function(t){("prompt"!==this.$type||"confirm"!==t||this.validate())&&(this.action=t,"function"==typeof this.beforeClose?(this.close=this.getSafeClose(),this.beforeClose(t,this,this.close)):this.doClose())},validate:function(){if("prompt"===this.$type){var t=this.inputPattern;if(t&&!t.test(this.inputValue||""))return this.editorErrorMessage=this.inputErrorMessage||Object(Lr.t)("el.messagebox.error"),Object(pt.addClass)(this.getInputElement(),"invalid"),!1;var e=this.inputValidator;if("function"==typeof e){var n=e(this.inputValue);if(!1===n)return this.editorErrorMessage=this.inputErrorMessage||Object(Lr.t)("el.messagebox.error"),Object(pt.addClass)(this.getInputElement(),"invalid"),!1;if("string"==typeof n)return this.editorErrorMessage=n,Object(pt.addClass)(this.getInputElement(),"invalid"),!1}}return this.editorErrorMessage="",Object(pt.removeClass)(this.getInputElement(),"invalid"),!0},getFirstFocus:function(){var t=this.$el.querySelector(".el-message-box__btns .el-button"),e=this.$el.querySelector(".el-message-box__btns .el-message-box__title");return t||e},getInputElement:function(){var t=this.$refs.input.$refs;return t.input||t.textarea},handleClose:function(){this.handleAction("close")}},watch:{inputValue:{immediate:!0,handler:function(t){var e=this;this.$nextTick(function(n){"prompt"===e.$type&&null!==t&&e.validate()})}},visible:function(t){var e=this;t&&(this.uid++,"alert"!==this.$type&&"confirm"!==this.$type||this.$nextTick(function(){e.$refs.confirm.$el.focus()}),this.focusAfterClosed=document.activeElement,jr=new Nr.a(this.$el,this.focusAfterClosed,this.getFirstFocus())),"prompt"===this.$type&&(t?setTimeout(function(){e.$refs.input&&e.$refs.input.$el&&e.getInputElement().focus()},500):(this.editorErrorMessage="",Object(pt.removeClass)(this.getInputElement(),"invalid")))}},mounted:function(){var t=this;this.$nextTick(function(){t.closeOnHashChange&&window.addEventListener("hashchange",t.close)})},beforeDestroy:function(){this.closeOnHashChange&&window.removeEventListener("hashchange",this.close),setTimeout(function(){jr.closeDialog()})},data:function(){return{uid:1,title:void 0,message:"",type:"",iconClass:"",customClass:"",showInput:!1,inputValue:null,inputPlaceholder:"",inputType:"text",inputPattern:null,inputValidator:null,inputErrorMessage:"",showConfirmButton:!0,showCancelButton:!1,action:"",confirmButtonText:"",cancelButtonText:"",confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonClass:"",confirmButtonDisabled:!1,cancelButtonClass:"",editorErrorMessage:null,callback:null,dangerouslyUseHTMLString:!1,focusAfterClosed:null,isOnComposition:!1,distinguishCancelAndClose:!1}}},Dr,[],!1,null,null,null);Rr.options.__file="packages/message-box/src/main.vue";var Qr=Rr.exports,Hr=n(23),Vr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},zr={title:null,message:"",type:"",iconClass:"",showInput:!1,showClose:!0,modalFade:!0,lockScroll:!0,closeOnClickModal:!0,closeOnPressEscape:!0,closeOnHashChange:!0,inputValue:null,inputPlaceholder:"",inputType:"text",inputPattern:null,inputValidator:null,inputErrorMessage:"",showConfirmButton:!0,showCancelButton:!1,confirmButtonPosition:"right",confirmButtonHighlight:!1,cancelButtonHighlight:!1,confirmButtonText:"",cancelButtonText:"",confirmButtonClass:"",cancelButtonClass:"",customClass:"",beforeClose:null,dangerouslyUseHTMLString:!1,center:!1,roundButton:!1,distinguishCancelAndClose:!1},$r=hn.a.extend(Qr),Gr=void 0,Wr=void 0,Kr=[],Yr=function(t){if(Gr){var e=Gr.callback;"function"==typeof e&&(Wr.showInput?e(Wr.inputValue,t):e(t)),Gr.resolve&&("confirm"===t?Wr.showInput?Gr.resolve({value:Wr.inputValue,action:t}):Gr.resolve(t):!Gr.reject||"cancel"!==t&&"close"!==t||Gr.reject(t))}},Xr=function t(){if(Wr||((Wr=new $r({el:document.createElement("div")})).callback=Yr),Wr.action="",(!Wr.visible||Wr.closeTimer)&&Kr.length>0){var e=(Gr=Kr.shift()).options;for(var n in e)e.hasOwnProperty(n)&&(Wr[n]=e[n]);void 0===e.callback&&(Wr.callback=Yr);var i=Wr.callback;Wr.callback=function(e,n){i(e,n),t()},Object(Hr.isVNode)(Wr.message)?(Wr.$slots.default=[Wr.message],Wr.message=null):delete Wr.$slots.default,["modal","showClose","closeOnClickModal","closeOnPressEscape","closeOnHashChange"].forEach(function(t){void 0===Wr[t]&&(Wr[t]=!0)}),document.body.appendChild(Wr.$el),hn.a.nextTick(function(){Wr.visible=!0})}},qr=function t(e,n){if(!hn.a.prototype.$isServer){if("string"==typeof e||Object(Hr.isVNode)(e)?(e={message:e},"string"==typeof arguments[1]&&(e.title=arguments[1])):e.callback&&!n&&(n=e.callback),"undefined"!=typeof Promise)return new Promise(function(i,r){Kr.push({options:Qt()({},zr,t.defaults,e),callback:n,resolve:i,reject:r}),Xr()});Kr.push({options:Qt()({},zr,t.defaults,e),callback:n}),Xr()}};qr.setDefaults=function(t){qr.defaults=t},qr.alert=function(t,e,n){return"object"===(void 0===e?"undefined":Vr(e))?(n=e,e=""):void 0===e&&(e=""),qr(Qt()({title:e,message:t,$type:"alert",closeOnPressEscape:!1,closeOnClickModal:!1},n))},qr.confirm=function(t,e,n){return"object"===(void 0===e?"undefined":Vr(e))?(n=e,e=""):void 0===e&&(e=""),qr(Qt()({title:e,message:t,$type:"confirm",showCancelButton:!0},n))},qr.prompt=function(t,e,n){return"object"===(void 0===e?"undefined":Vr(e))?(n=e,e=""):void 0===e&&(e=""),qr(Qt()({title:e,message:t,showCancelButton:!0,showInput:!0,$type:"prompt"},n))},qr.close=function(){Wr.doClose(),Wr.visible=!1,Kr=[],Gr=null};var Zr=qr,Jr=function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"el-breadcrumb",attrs:{"aria-label":"Breadcrumb",role:"navigation"}},[this._t("default")],2)};Jr._withStripped=!0;var to=r({name:"ElBreadcrumb",props:{separator:{type:String,default:"/"},separatorClass:{type:String,default:""}},provide:function(){return{elBreadcrumb:this}},mounted:function(){var t=this.$el.querySelectorAll(".el-breadcrumb__item");t.length&&t[t.length-1].setAttribute("aria-current","page")}},Jr,[],!1,null,null,null);to.options.__file="packages/breadcrumb/src/breadcrumb.vue";var eo=to.exports;eo.install=function(t){t.component(eo.name,eo)};var no=eo,io=function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"el-breadcrumb__item"},[e("span",{ref:"link",class:["el-breadcrumb__inner",this.to?"is-link":""],attrs:{role:"link"}},[this._t("default")],2),this.separatorClass?e("i",{staticClass:"el-breadcrumb__separator",class:this.separatorClass}):e("span",{staticClass:"el-breadcrumb__separator",attrs:{role:"presentation"}},[this._v(this._s(this.separator))])])};io._withStripped=!0;var ro=r({name:"ElBreadcrumbItem",props:{to:{},replace:Boolean},data:function(){return{separator:"",separatorClass:""}},inject:["elBreadcrumb"],mounted:function(){var t=this;this.separator=this.elBreadcrumb.separator,this.separatorClass=this.elBreadcrumb.separatorClass;var e=this.$refs.link;e.setAttribute("role","link"),e.addEventListener("click",function(e){var n=t.to,i=t.$router;n&&i&&(t.replace?i.replace(n):i.push(n))})}},io,[],!1,null,null,null);ro.options.__file="packages/breadcrumb/src/breadcrumb-item.vue";var oo=ro.exports;oo.install=function(t){t.component(oo.name,oo)};var ao=oo,so=function(){var t=this.$createElement;return(this._self._c||t)("form",{staticClass:"el-form",class:[this.labelPosition?"el-form--label-"+this.labelPosition:"",{"el-form--inline":this.inline}]},[this._t("default")],2)};so._withStripped=!0;var lo=r({name:"ElForm",componentName:"ElForm",provide:function(){return{elForm:this}},props:{model:Object,rules:Object,labelPosition:String,labelWidth:String,labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},size:String,disabled:Boolean,validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:{type:Boolean,default:!1}},watch:{rules:function(){this.fields.forEach(function(t){t.removeValidateEvents(),t.addValidateEvents()}),this.validateOnRuleChange&&this.validate(function(){})}},computed:{autoLabelWidth:function(){if(!this.potentialLabelWidthArr.length)return 0;var t=Math.max.apply(Math,this.potentialLabelWidthArr);return t?t+"px":""}},data:function(){return{fields:[],potentialLabelWidthArr:[]}},created:function(){var t=this;this.$on("el.form.addField",function(e){e&&t.fields.push(e)}),this.$on("el.form.removeField",function(e){e.prop&&t.fields.splice(t.fields.indexOf(e),1)})},methods:{resetFields:function(){this.model?this.fields.forEach(function(t){t.resetField()}):console.warn("[Element Warn][Form]model is required for resetFields to work.")},clearValidate:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];(t.length?"string"==typeof t?this.fields.filter(function(e){return t===e.prop}):this.fields.filter(function(e){return t.indexOf(e.prop)>-1}):this.fields).forEach(function(t){t.clearValidate()})},validate:function(t){var e=this;if(this.model){var n=void 0;"function"!=typeof t&&window.Promise&&(n=new window.Promise(function(e,n){t=function(t){t?e(t):n(t)}}));var i=!0,r=0;0===this.fields.length&&t&&t(!0);var o={};return this.fields.forEach(function(n){n.validate("",function(n,a){n&&(i=!1),o=Qt()({},o,a),"function"==typeof t&&++r===e.fields.length&&t(i,o)})}),n||void 0}console.warn("[Element Warn][Form]model is required for validate to work!")},validateField:function(t,e){t=[].concat(t);var n=this.fields.filter(function(e){return-1!==t.indexOf(e.prop)});n.length?n.forEach(function(t){t.validate("",e)}):console.warn("[Element Warn]please pass correct props!")},getLabelWidthIndex:function(t){var e=this.potentialLabelWidthArr.indexOf(t);if(-1===e)throw new Error("[ElementForm]unpected width ",t);return e},registerLabelWidth:function(t,e){if(t&&e){var n=this.getLabelWidthIndex(e);this.potentialLabelWidthArr.splice(n,1,t)}else t&&this.potentialLabelWidthArr.push(t)},deregisterLabelWidth:function(t){var e=this.getLabelWidthIndex(t);this.potentialLabelWidthArr.splice(e,1)}}},so,[],!1,null,null,null);lo.options.__file="packages/form/src/form.vue";var co=lo.exports;co.install=function(t){t.component(co.name,co)};var uo=co,ho=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"el-form-item",class:[{"el-form-item--feedback":t.elForm&&t.elForm.statusIcon,"is-error":"error"===t.validateState,"is-validating":"validating"===t.validateState,"is-success":"success"===t.validateState,"is-required":t.isRequired||t.required,"is-no-asterisk":t.elForm&&t.elForm.hideRequiredAsterisk},t.sizeClass?"el-form-item--"+t.sizeClass:""]},[n("label-wrap",{attrs:{"is-auto-width":t.labelStyle&&"auto"===t.labelStyle.width,"update-all":"auto"===t.form.labelWidth}},[t.label||t.$slots.label?n("label",{staticClass:"el-form-item__label",style:t.labelStyle,attrs:{for:t.labelFor}},[t._t("label",[t._v(t._s(t.label+t.form.labelSuffix))])],2):t._e()]),n("div",{staticClass:"el-form-item__content",style:t.contentStyle},[t._t("default"),n("transition",{attrs:{name:"el-zoom-in-top"}},["error"===t.validateState&&t.showMessage&&t.form.showMessage?t._t("error",[n("div",{staticClass:"el-form-item__error",class:{"el-form-item__error--inline":"boolean"==typeof t.inlineMessage?t.inlineMessage:t.elForm&&t.elForm.inlineMessage||!1}},[t._v("\n "+t._s(t.validateMessage)+"\n ")])],{error:t.validateMessage}):t._e()],2)],2)],1)};ho._withStripped=!0;var fo=n(40),po=n.n(fo),Ao=r({props:{isAutoWidth:Boolean,updateAll:Boolean},inject:["elForm","elFormItem"],render:function(){var t=arguments[0],e=this.$slots.default;if(!e)return null;if(this.isAutoWidth){var n=this.elForm.autoLabelWidth,i={};if(n&&"auto"!==n){var r=parseInt(n,10)-this.computedWidth;r&&(i.marginLeft=r+"px")}return t("div",{class:"el-form-item__label-wrap",style:i},[e])}return e[0]},methods:{getLabelWidth:function(){if(this.$el&&this.$el.firstElementChild){var t=window.getComputedStyle(this.$el.firstElementChild).width;return Math.ceil(parseFloat(t))}return 0},updateLabelWidth:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"update";this.$slots.default&&this.isAutoWidth&&this.$el.firstElementChild&&("update"===t?this.computedWidth=this.getLabelWidth():"remove"===t&&this.elForm.deregisterLabelWidth(this.computedWidth))}},watch:{computedWidth:function(t,e){this.updateAll&&(this.elForm.registerLabelWidth(t,e),this.elFormItem.updateComputedLabelWidth(t))}},data:function(){return{computedWidth:0}},mounted:function(){this.updateLabelWidth("update")},updated:function(){this.updateLabelWidth("update")},beforeDestroy:function(){this.updateLabelWidth("remove")}},void 0,void 0,!1,null,null,null);Ao.options.__file="packages/form/src/label-wrap.vue";var go=Ao.exports,vo=r({name:"ElFormItem",componentName:"ElFormItem",mixins:[C.a],provide:function(){return{elFormItem:this}},inject:["elForm"],props:{label:String,labelWidth:String,prop:String,required:{type:Boolean,default:void 0},rules:[Object,Array],error:String,validateStatus:String,for:String,inlineMessage:{type:[String,Boolean],default:""},showMessage:{type:Boolean,default:!0},size:String},components:{LabelWrap:go},watch:{error:{immediate:!0,handler:function(t){this.validateMessage=t,this.validateState=t?"error":""}},validateStatus:function(t){this.validateState=t}},computed:{labelFor:function(){return this.for||this.prop},labelStyle:function(){var t={};if("top"===this.form.labelPosition)return t;var e=this.labelWidth||this.form.labelWidth;return e&&(t.width=e),t},contentStyle:function(){var t={},e=this.label;if("top"===this.form.labelPosition||this.form.inline)return t;if(!e&&!this.labelWidth&&this.isNested)return t;var n=this.labelWidth||this.form.labelWidth;return"auto"===n?"auto"===this.labelWidth?t.marginLeft=this.computedLabelWidth:"auto"===this.form.labelWidth&&(t.marginLeft=this.elForm.autoLabelWidth):t.marginLeft=n,t},form:function(){for(var t=this.$parent,e=t.$options.componentName;"ElForm"!==e;)"ElFormItem"===e&&(this.isNested=!0),e=(t=t.$parent).$options.componentName;return t},fieldValue:function(){var t=this.form.model;if(t&&this.prop){var e=this.prop;return-1!==e.indexOf(":")&&(e=e.replace(/:/,".")),Object(A.getPropByPath)(t,e,!0).v}},isRequired:function(){var t=this.getRules(),e=!1;return t&&t.length&&t.every(function(t){return!t.required||(e=!0,!1)}),e},_formSize:function(){return this.elForm.size},elFormItemSize:function(){return this.size||this._formSize},sizeClass:function(){return this.elFormItemSize||(this.$ELEMENT||{}).size}},data:function(){return{validateState:"",validateMessage:"",validateDisabled:!1,validator:{},isNested:!1,computedLabelWidth:""}},methods:{validate:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:A.noop;this.validateDisabled=!1;var i=this.getFilteredRule(t);if((!i||0===i.length)&&void 0===this.required)return n(),!0;this.validateState="validating";var r={};i&&i.length>0&&i.forEach(function(t){delete t.trigger}),r[this.prop]=i;var o=new po.a(r),a={};a[this.prop]=this.fieldValue,o.validate(a,{firstFields:!0},function(t,i){e.validateState=t?"error":"success",e.validateMessage=t?t[0].message:"",n(e.validateMessage,i),e.elForm&&e.elForm.$emit("validate",e.prop,!t,e.validateMessage||null)})},clearValidate:function(){this.validateState="",this.validateMessage="",this.validateDisabled=!1},resetField:function(){var t=this;this.validateState="",this.validateMessage="";var e=this.form.model,n=this.fieldValue,i=this.prop;-1!==i.indexOf(":")&&(i=i.replace(/:/,"."));var r=Object(A.getPropByPath)(e,i,!0);this.validateDisabled=!0,Array.isArray(n)?r.o[r.k]=[].concat(this.initialValue):r.o[r.k]=this.initialValue,this.$nextTick(function(){t.validateDisabled=!1}),this.broadcast("ElTimeSelect","fieldReset",this.initialValue)},getRules:function(){var t=this.form.rules,e=this.rules,n=void 0!==this.required?{required:!!this.required}:[],i=Object(A.getPropByPath)(t,this.prop||"");return t=t?i.o[this.prop||""]||i.v:[],[].concat(e||t||[]).concat(n)},getFilteredRule:function(t){return this.getRules().filter(function(e){return!e.trigger||""===t||(Array.isArray(e.trigger)?e.trigger.indexOf(t)>-1:e.trigger===t)}).map(function(t){return Qt()({},t)})},onFieldBlur:function(){this.validate("blur")},onFieldChange:function(){this.validateDisabled?this.validateDisabled=!1:this.validate("change")},updateComputedLabelWidth:function(t){this.computedLabelWidth=t?t+"px":""},addValidateEvents:function(){(this.getRules().length||void 0!==this.required)&&(this.$on("el.form.blur",this.onFieldBlur),this.$on("el.form.change",this.onFieldChange))},removeValidateEvents:function(){this.$off()}},mounted:function(){if(this.prop){this.dispatch("ElForm","el.form.addField",[this]);var t=this.fieldValue;Array.isArray(t)&&(t=[].concat(t)),Object.defineProperty(this,"initialValue",{value:t}),this.addValidateEvents()}},beforeDestroy:function(){this.dispatch("ElForm","el.form.removeField",[this])}},ho,[],!1,null,null,null);vo.options.__file="packages/form/src/form-item.vue";var mo=vo.exports;mo.install=function(t){t.component(mo.name,mo)};var yo=mo,bo=function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"el-tabs__active-bar",class:"is-"+this.rootTabs.tabPosition,style:this.barStyle})};bo._withStripped=!0;var _o=r({name:"TabBar",props:{tabs:Array},inject:["rootTabs"],computed:{barStyle:{get:function(){var t=this,e={},n=0,i=0,r=-1!==["top","bottom"].indexOf(this.rootTabs.tabPosition)?"width":"height",o="width"===r?"x":"y",a=function(t){return t.toLowerCase().replace(/( |^)[a-z]/g,function(t){return t.toUpperCase()})};this.tabs.every(function(e,o){var s=Object(A.arrayFind)(t.$parent.$refs.tabs||[],function(t){return t.id.replace("tab-","")===e.paneName});if(!s)return!1;if(e.active){i=s["client"+a(r)];var l=window.getComputedStyle(s);return"width"===r&&t.tabs.length>1&&(i-=parseFloat(l.paddingLeft)+parseFloat(l.paddingRight)),"width"===r&&(n+=parseFloat(l.paddingLeft)),!1}return n+=s["client"+a(r)],!0});var s="translate"+a(o)+"("+n+"px)";return e[r]=i+"px",e.transform=s,e.msTransform=s,e.webkitTransform=s,e}}}},bo,[],!1,null,null,null);function wo(){}_o.options.__file="packages/tabs/src/tab-bar.vue";var xo=function(t){return t.toLowerCase().replace(/( |^)[a-z]/g,function(t){return t.toUpperCase()})},Co=r({name:"TabNav",components:{TabBar:_o.exports},inject:["rootTabs"],props:{panes:Array,currentName:String,editable:Boolean,onTabClick:{type:Function,default:wo},onTabRemove:{type:Function,default:wo},type:String,stretch:Boolean},data:function(){return{scrollable:!1,navOffset:0,isFocus:!1,focusable:!0}},computed:{navStyle:function(){return{transform:"translate"+(-1!==["top","bottom"].indexOf(this.rootTabs.tabPosition)?"X":"Y")+"(-"+this.navOffset+"px)"}},sizeName:function(){return-1!==["top","bottom"].indexOf(this.rootTabs.tabPosition)?"width":"height"}},methods:{scrollPrev:function(){var t=this.$refs.navScroll["offset"+xo(this.sizeName)],e=this.navOffset;if(e){var n=e>t?e-t:0;this.navOffset=n}},scrollNext:function(){var t=this.$refs.nav["offset"+xo(this.sizeName)],e=this.$refs.navScroll["offset"+xo(this.sizeName)],n=this.navOffset;if(!(t-n<=e)){var i=t-n>2*e?n+e:t-e;this.navOffset=i}},scrollToActiveTab:function(){if(this.scrollable){var t=this.$refs.nav,e=this.$el.querySelector(".is-active");if(e){var n=this.$refs.navScroll,i=-1!==["top","bottom"].indexOf(this.rootTabs.tabPosition),r=e.getBoundingClientRect(),o=n.getBoundingClientRect(),a=i?t.offsetWidth-o.width:t.offsetHeight-o.height,s=this.navOffset,l=s;i?(r.left<o.left&&(l=s-(o.left-r.left)),r.right>o.right&&(l=s+r.right-o.right)):(r.top<o.top&&(l=s-(o.top-r.top)),r.bottom>o.bottom&&(l=s+(r.bottom-o.bottom))),l=Math.max(l,0),this.navOffset=Math.min(l,a)}}},update:function(){if(this.$refs.nav){var t=this.sizeName,e=this.$refs.nav["offset"+xo(t)],n=this.$refs.navScroll["offset"+xo(t)],i=this.navOffset;if(n<e){var r=this.navOffset;this.scrollable=this.scrollable||{},this.scrollable.prev=r,this.scrollable.next=r+n<e,e-r<n&&(this.navOffset=e-n)}else this.scrollable=!1,i>0&&(this.navOffset=0)}},changeTab:function(t){var e=t.keyCode,n=void 0,i=void 0,r=void 0;-1!==[37,38,39,40].indexOf(e)&&(r=t.currentTarget.querySelectorAll("[role=tab]"),i=Array.prototype.indexOf.call(r,t.target),r[n=37===e||38===e?0===i?r.length-1:i-1:i<r.length-1?i+1:0].focus(),r[n].click(),this.setFocus())},setFocus:function(){this.focusable&&(this.isFocus=!0)},removeFocus:function(){this.isFocus=!1},visibilityChangeHandler:function(){var t=this,e=document.visibilityState;"hidden"===e?this.focusable=!1:"visible"===e&&setTimeout(function(){t.focusable=!0},50)},windowBlurHandler:function(){this.focusable=!1},windowFocusHandler:function(){var t=this;setTimeout(function(){t.focusable=!0},50)}},updated:function(){this.update()},render:function(t){var e=this,n=this.type,i=this.panes,r=this.editable,o=this.stretch,a=this.onTabClick,s=this.onTabRemove,l=this.navStyle,c=this.scrollable,u=this.scrollNext,h=this.scrollPrev,d=this.changeTab,f=this.setFocus,p=this.removeFocus,A=c?[t("span",{class:["el-tabs__nav-prev",c.prev?"":"is-disabled"],on:{click:h}},[t("i",{class:"el-icon-arrow-left"})]),t("span",{class:["el-tabs__nav-next",c.next?"":"is-disabled"],on:{click:u}},[t("i",{class:"el-icon-arrow-right"})])]:null,g=this._l(i,function(n,i){var o,l=n.name||n.index||i,c=n.isClosable||r;n.index=""+i;var u=c?t("span",{class:"el-icon-close",on:{click:function(t){s(n,t)}}}):null,h=n.$slots.label||n.label,d=n.active?0:-1;return t("div",{class:(o={"el-tabs__item":!0},o["is-"+e.rootTabs.tabPosition]=!0,o["is-active"]=n.active,o["is-disabled"]=n.disabled,o["is-closable"]=c,o["is-focus"]=e.isFocus,o),attrs:{id:"tab-"+l,"aria-controls":"pane-"+l,role:"tab","aria-selected":n.active,tabindex:d},key:"tab-"+l,ref:"tabs",refInFor:!0,on:{focus:function(){f()},blur:function(){p()},click:function(t){p(),a(n,l,t)},keydown:function(t){!c||46!==t.keyCode&&8!==t.keyCode||s(n,t)}}},[h,u])});return t("div",{class:["el-tabs__nav-wrap",c?"is-scrollable":"","is-"+this.rootTabs.tabPosition]},[A,t("div",{class:["el-tabs__nav-scroll"],ref:"navScroll"},[t("div",{class:["el-tabs__nav","is-"+this.rootTabs.tabPosition,o&&-1!==["top","bottom"].indexOf(this.rootTabs.tabPosition)?"is-stretch":""],ref:"nav",style:l,attrs:{role:"tablist"},on:{keydown:d}},[n?null:t("tab-bar",{attrs:{tabs:i}}),g])])])},mounted:function(){var t=this;Object(Pe.addResizeListener)(this.$el,this.update),document.addEventListener("visibilitychange",this.visibilityChangeHandler),window.addEventListener("blur",this.windowBlurHandler),window.addEventListener("focus",this.windowFocusHandler),setTimeout(function(){t.scrollToActiveTab()},0)},beforeDestroy:function(){this.$el&&this.update&&Object(Pe.removeResizeListener)(this.$el,this.update),document.removeEventListener("visibilitychange",this.visibilityChangeHandler),window.removeEventListener("blur",this.windowBlurHandler),window.removeEventListener("focus",this.windowFocusHandler)}},void 0,void 0,!1,null,null,null);Co.options.__file="packages/tabs/src/tab-nav.vue";var So=r({name:"ElTabs",components:{TabNav:Co.exports},props:{type:String,activeName:String,closable:Boolean,addable:Boolean,value:{},editable:Boolean,tabPosition:{type:String,default:"top"},beforeLeave:Function,stretch:Boolean},provide:function(){return{rootTabs:this}},data:function(){return{currentName:this.value||this.activeName,panes:[]}},watch:{activeName:function(t){this.setCurrentName(t)},value:function(t){this.setCurrentName(t)},currentName:function(t){var e=this;this.$refs.nav&&this.$nextTick(function(){e.$refs.nav.$nextTick(function(t){e.$refs.nav.scrollToActiveTab()})})}},methods:{calcPaneInstances:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.$slots.default){var n=this.$slots.default.filter(function(t){return t.tag&&t.componentOptions&&"ElTabPane"===t.componentOptions.Ctor.options.name}).map(function(t){return t.componentInstance}),i=!(n.length===this.panes.length&&n.every(function(e,n){return e===t.panes[n]}));(e||i)&&(this.panes=n)}else 0!==this.panes.length&&(this.panes=[])},handleTabClick:function(t,e,n){t.disabled||(this.setCurrentName(e),this.$emit("tab-click",t,n))},handleTabRemove:function(t,e){t.disabled||(e.stopPropagation(),this.$emit("edit",t.name,"remove"),this.$emit("tab-remove",t.name))},handleTabAdd:function(){this.$emit("edit",null,"add"),this.$emit("tab-add")},setCurrentName:function(t){var e=this,n=function(){e.currentName=t,e.$emit("input",t)};if(this.currentName!==t&&this.beforeLeave){var i=this.beforeLeave(t,this.currentName);i&&i.then?i.then(function(){n(),e.$refs.nav&&e.$refs.nav.removeFocus()},function(){}):!1!==i&&n()}else n()}},render:function(t){var e,n=this.type,i=this.handleTabClick,r=this.handleTabRemove,o=this.handleTabAdd,a=this.currentName,s=this.panes,l=this.editable,c=this.addable,u=this.tabPosition,h=this.stretch,d=t("div",{class:["el-tabs__header","is-"+u]},[l||c?t("span",{class:"el-tabs__new-tab",on:{click:o,keydown:function(t){13===t.keyCode&&o()}},attrs:{tabindex:"0"}},[t("i",{class:"el-icon-plus"})]):null,t("tab-nav",{props:{currentName:a,onTabClick:i,onTabRemove:r,editable:l,type:n,panes:s,stretch:h},ref:"nav"})]),f=t("div",{class:"el-tabs__content"},[this.$slots.default]);return t("div",{class:(e={"el-tabs":!0,"el-tabs--card":"card"===n},e["el-tabs--"+u]=!0,e["el-tabs--border-card"]="border-card"===n,e)},["bottom"!==u?[d,f]:[f,d]])},created:function(){this.currentName||this.setCurrentName("0"),this.$on("tab-nav-update",this.calcPaneInstances.bind(null,!0))},mounted:function(){this.calcPaneInstances()},updated:function(){this.calcPaneInstances()}},void 0,void 0,!1,null,null,null);So.options.__file="packages/tabs/src/tabs.vue";var Bo=So.exports;Bo.install=function(t){t.component(Bo.name,Bo)};var ko=Bo,To=function(){var t=this,e=t.$createElement,n=t._self._c||e;return!t.lazy||t.loaded||t.active?n("div",{directives:[{name:"show",rawName:"v-show",value:t.active,expression:"active"}],staticClass:"el-tab-pane",attrs:{role:"tabpanel","aria-hidden":!t.active,id:"pane-"+t.paneName,"aria-labelledby":"tab-"+t.paneName}},[t._t("default")],2):t._e()};To._withStripped=!0;var Oo=r({name:"ElTabPane",componentName:"ElTabPane",props:{label:String,labelContent:Function,name:String,closable:Boolean,disabled:Boolean,lazy:Boolean},data:function(){return{index:null,loaded:!1}},computed:{isClosable:function(){return this.closable||this.$parent.closable},active:function(){var t=this.$parent.currentName===(this.name||this.index);return t&&(this.loaded=!0),t},paneName:function(){return this.name||this.index}},updated:function(){this.$parent.$emit("tab-nav-update")}},To,[],!1,null,null,null);Oo.options.__file="packages/tabs/src/tab-pane.vue";var Eo=Oo.exports;Eo.install=function(t){t.component(Eo.name,Eo)};var Io=Eo,Mo=r({name:"ElTag",props:{text:String,closable:Boolean,type:String,hit:Boolean,disableTransitions:Boolean,color:String,size:String,effect:{type:String,default:"light",validator:function(t){return-1!==["dark","light","plain"].indexOf(t)}}},methods:{handleClose:function(t){t.stopPropagation(),this.$emit("close",t)},handleClick:function(t){this.$emit("click",t)}},computed:{tagSize:function(){return this.size||(this.$ELEMENT||{}).size}},render:function(t){var e=this.type,n=this.tagSize,i=this.hit,r=this.effect,o=t("span",{class:["el-tag",e?"el-tag--"+e:"",n?"el-tag--"+n:"",r?"el-tag--"+r:"",i&&"is-hit"],style:{backgroundColor:this.color},on:{click:this.handleClick}},[this.$slots.default,this.closable&&t("i",{class:"el-tag__close el-icon-close",on:{click:this.handleClose}})]);return this.disableTransitions?o:t("transition",{attrs:{name:"el-zoom-in-center"}},[o])}},void 0,void 0,!1,null,null,null);Mo.options.__file="packages/tag/src/tag.vue";var Do=Mo.exports;Do.install=function(t){t.component(Do.name,Do)};var Lo=Do,Fo=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"el-tree",class:{"el-tree--highlight-current":t.highlightCurrent,"is-dragging":!!t.dragState.draggingNode,"is-drop-not-allow":!t.dragState.allowDrop,"is-drop-inner":"inner"===t.dragState.dropType},attrs:{role:"tree"}},[t._l(t.root.childNodes,function(e){return n("el-tree-node",{key:t.getNodeKey(e),attrs:{node:e,props:t.props,"render-after-expand":t.renderAfterExpand,"show-checkbox":t.showCheckbox,"render-content":t.renderContent},on:{"node-expand":t.handleNodeExpand}})}),t.isEmpty?n("div",{staticClass:"el-tree__empty-block"},[n("span",{staticClass:"el-tree__empty-text"},[t._v(t._s(t.emptyText))])]):t._e(),n("div",{directives:[{name:"show",rawName:"v-show",value:t.dragState.showDropIndicator,expression:"dragState.showDropIndicator"}],ref:"dropIndicator",staticClass:"el-tree__drop-indicator"})],2)};Fo._withStripped=!0;var Po="$treeNodeId",No=function(t,e){e&&!e[Po]&&Object.defineProperty(e,Po,{value:t.id,enumerable:!1,configurable:!1,writable:!1})},jo=function(t,e){return t?e[t]:e[Po]},Uo=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}();var Ro=function(t){for(var e=!0,n=!0,i=!0,r=0,o=t.length;r<o;r++){var a=t[r];(!0!==a.checked||a.indeterminate)&&(e=!1,a.disabled||(i=!1)),(!1!==a.checked||a.indeterminate)&&(n=!1)}return{all:e,none:n,allWithoutDisable:i,half:!e&&!n}},Qo=function t(e){if(0!==e.childNodes.length){var n=Ro(e.childNodes),i=n.all,r=n.none,o=n.half;i?(e.checked=!0,e.indeterminate=!1):o?(e.checked=!1,e.indeterminate=!0):r&&(e.checked=!1,e.indeterminate=!1);var a=e.parent;a&&0!==a.level&&(e.store.checkStrictly||t(a))}},Ho=function(t,e){var n=t.store.props,i=t.data||{},r=n[e];if("function"==typeof r)return r(i,t);if("string"==typeof r)return i[r];if(void 0===r){var o=i[e];return void 0===o?"":o}},Vo=0,zo=function(){function t(e){for(var n in function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.id=Vo++,this.text=null,this.checked=!1,this.indeterminate=!1,this.data=null,this.expanded=!1,this.parent=null,this.visible=!0,this.isCurrent=!1,e)e.hasOwnProperty(n)&&(this[n]=e[n]);this.level=0,this.loaded=!1,this.childNodes=[],this.loading=!1,this.parent&&(this.level=this.parent.level+1);var i=this.store;if(!i)throw new Error("[Node]store is required!");i.registerNode(this);var r=i.props;if(r&&void 0!==r.isLeaf){var o=Ho(this,"isLeaf");"boolean"==typeof o&&(this.isLeafByUser=o)}if(!0!==i.lazy&&this.data?(this.setData(this.data),i.defaultExpandAll&&(this.expanded=!0)):this.level>0&&i.lazy&&i.defaultExpandAll&&this.expand(),Array.isArray(this.data)||No(this,this.data),this.data){var a=i.defaultExpandedKeys,s=i.key;s&&a&&-1!==a.indexOf(this.key)&&this.expand(null,i.autoExpandParent),s&&void 0!==i.currentNodeKey&&this.key===i.currentNodeKey&&(i.currentNode=this,i.currentNode.isCurrent=!0),i.lazy&&i._initDefaultCheckedNode(this),this.updateLeafState()}}return t.prototype.setData=function(t){Array.isArray(t)||No(this,t),this.data=t,this.childNodes=[];for(var e=void 0,n=0,i=(e=0===this.level&&this.data instanceof Array?this.data:Ho(this,"children")||[]).length;n<i;n++)this.insertChild({data:e[n]})},t.prototype.contains=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return function n(i){for(var r=i.childNodes||[],o=!1,a=0,s=r.length;a<s;a++){var l=r[a];if(l===t||e&&n(l)){o=!0;break}}return o}(this)},t.prototype.remove=function(){var t=this.parent;t&&t.removeChild(this)},t.prototype.insertChild=function(e,n,i){if(!e)throw new Error("insertChild error: child is required.");if(!(e instanceof t)){if(!i){var r=this.getChildren(!0);-1===r.indexOf(e.data)&&(void 0===n||n<0?r.push(e.data):r.splice(n,0,e.data))}Qt()(e,{parent:this,store:this.store}),e=new t(e)}e.level=this.level+1,void 0===n||n<0?this.childNodes.push(e):this.childNodes.splice(n,0,e),this.updateLeafState()},t.prototype.insertBefore=function(t,e){var n=void 0;e&&(n=this.childNodes.indexOf(e)),this.insertChild(t,n)},t.prototype.insertAfter=function(t,e){var n=void 0;e&&-1!==(n=this.childNodes.indexOf(e))&&(n+=1),this.insertChild(t,n)},t.prototype.removeChild=function(t){var e=this.getChildren()||[],n=e.indexOf(t.data);n>-1&&e.splice(n,1);var i=this.childNodes.indexOf(t);i>-1&&(this.store&&this.store.deregisterNode(t),t.parent=null,this.childNodes.splice(i,1)),this.updateLeafState()},t.prototype.removeChildByData=function(t){for(var e=null,n=0;n<this.childNodes.length;n++)if(this.childNodes[n].data===t){e=this.childNodes[n];break}e&&this.removeChild(e)},t.prototype.expand=function(t,e){var n=this,i=function(){if(e)for(var i=n.parent;i.level>0;)i.expanded=!0,i=i.parent;n.expanded=!0,t&&t()};this.shouldLoadData()?this.loadData(function(t){t instanceof Array&&(n.checked?n.setChecked(!0,!0):n.store.checkStrictly||Qo(n),i())}):i()},t.prototype.doCreateChildren=function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.forEach(function(t){e.insertChild(Qt()({data:t},n),void 0,!0)})},t.prototype.collapse=function(){this.expanded=!1},t.prototype.shouldLoadData=function(){return!0===this.store.lazy&&this.store.load&&!this.loaded},t.prototype.updateLeafState=function(){if(!0!==this.store.lazy||!0===this.loaded||void 0===this.isLeafByUser){var t=this.childNodes;!this.store.lazy||!0===this.store.lazy&&!0===this.loaded?this.isLeaf=!t||0===t.length:this.isLeaf=!1}else this.isLeaf=this.isLeafByUser},t.prototype.setChecked=function(t,e,n,i){var r=this;if(this.indeterminate="half"===t,this.checked=!0===t,!this.store.checkStrictly){if(!this.shouldLoadData()||this.store.checkDescendants){var o=Ro(this.childNodes),a=o.all,s=o.allWithoutDisable;this.isLeaf||a||!s||(this.checked=!1,t=!1);var l=function(){if(e){for(var n=r.childNodes,o=0,a=n.length;o<a;o++){var s=n[o];i=i||!1!==t;var l=s.disabled?s.checked:i;s.setChecked(l,e,!0,i)}var c=Ro(n),u=c.half,h=c.all;h||(r.checked=h,r.indeterminate=u)}};if(this.shouldLoadData())return void this.loadData(function(){l(),Qo(r)},{checked:!1!==t});l()}var c=this.parent;c&&0!==c.level&&(n||Qo(c))}},t.prototype.getChildren=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(0===this.level)return this.data;var e=this.data;if(!e)return null;var n=this.store.props,i="children";return n&&(i=n.children||"children"),void 0===e[i]&&(e[i]=null),t&&!e[i]&&(e[i]=[]),e[i]},t.prototype.updateChildren=function(){var t=this,e=this.getChildren()||[],n=this.childNodes.map(function(t){return t.data}),i={},r=[];e.forEach(function(t,e){var o=t[Po];!!o&&Object(A.arrayFindIndex)(n,function(t){return t[Po]===o})>=0?i[o]={index:e,data:t}:r.push({index:e,data:t})}),this.store.lazy||n.forEach(function(e){i[e[Po]]||t.removeChildByData(e)}),r.forEach(function(e){var n=e.index,i=e.data;t.insertChild({data:i},n)}),this.updateLeafState()},t.prototype.loadData=function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!0!==this.store.lazy||!this.store.load||this.loaded||this.loading&&!Object.keys(n).length)t&&t.call(this);else{this.loading=!0;this.store.load(this,function(i){e.loaded=!0,e.loading=!1,e.childNodes=[],e.doCreateChildren(i,n),e.updateLeafState(),t&&t.call(e,i)})}},Uo(t,[{key:"label",get:function(){return Ho(this,"label")}},{key:"key",get:function(){var t=this.store.key;return this.data?this.data[t]:null}},{key:"disabled",get:function(){return Ho(this,"disabled")}},{key:"nextSibling",get:function(){var t=this.parent;if(t){var e=t.childNodes.indexOf(this);if(e>-1)return t.childNodes[e+1]}return null}},{key:"previousSibling",get:function(){var t=this.parent;if(t){var e=t.childNodes.indexOf(this);if(e>-1)return e>0?t.childNodes[e-1]:null}return null}}]),t}(),$o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};var Go=function(){function t(e){var n=this;for(var i in function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.currentNode=null,this.currentNodeKey=null,e)e.hasOwnProperty(i)&&(this[i]=e[i]);(this.nodesMap={},this.root=new zo({data:this.data,store:this}),this.lazy&&this.load)?(0,this.load)(this.root,function(t){n.root.doCreateChildren(t),n._initDefaultCheckedNodes()}):this._initDefaultCheckedNodes()}return t.prototype.filter=function(t){var e=this.filterNodeMethod,n=this.lazy;!function i(r){var o=r.root?r.root.childNodes:r.childNodes;if(o.forEach(function(n){n.visible=e.call(n,t,n.data,n),i(n)}),!r.visible&&o.length){var a;a=!o.some(function(t){return t.visible}),r.root?r.root.visible=!1===a:r.visible=!1===a}t&&(!r.visible||r.isLeaf||n||r.expand())}(this)},t.prototype.setData=function(t){t!==this.root.data?(this.root.setData(t),this._initDefaultCheckedNodes()):this.root.updateChildren()},t.prototype.getNode=function(t){if(t instanceof zo)return t;var e="object"!==(void 0===t?"undefined":$o(t))?t:jo(this.key,t);return this.nodesMap[e]||null},t.prototype.insertBefore=function(t,e){var n=this.getNode(e);n.parent.insertBefore({data:t},n)},t.prototype.insertAfter=function(t,e){var n=this.getNode(e);n.parent.insertAfter({data:t},n)},t.prototype.remove=function(t){var e=this.getNode(t);e&&e.parent&&(e===this.currentNode&&(this.currentNode=null),e.parent.removeChild(e))},t.prototype.append=function(t,e){var n=e?this.getNode(e):this.root;n&&n.insertChild({data:t})},t.prototype._initDefaultCheckedNodes=function(){var t=this,e=this.defaultCheckedKeys||[],n=this.nodesMap;e.forEach(function(e){var i=n[e];i&&i.setChecked(!0,!t.checkStrictly)})},t.prototype._initDefaultCheckedNode=function(t){-1!==(this.defaultCheckedKeys||[]).indexOf(t.key)&&t.setChecked(!0,!this.checkStrictly)},t.prototype.setDefaultCheckedKey=function(t){t!==this.defaultCheckedKeys&&(this.defaultCheckedKeys=t,this._initDefaultCheckedNodes())},t.prototype.registerNode=function(t){this.key&&t&&t.data&&(void 0!==t.key&&(this.nodesMap[t.key]=t))},t.prototype.deregisterNode=function(t){var e=this;this.key&&t&&t.data&&(t.childNodes.forEach(function(t){e.deregisterNode(t)}),delete this.nodesMap[t.key])},t.prototype.getCheckedNodes=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=[];return function i(r){(r.root?r.root.childNodes:r.childNodes).forEach(function(r){(r.checked||e&&r.indeterminate)&&(!t||t&&r.isLeaf)&&n.push(r.data),i(r)})}(this),n},t.prototype.getCheckedKeys=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.getCheckedNodes(e).map(function(e){return(e||{})[t.key]})},t.prototype.getHalfCheckedNodes=function(){var t=[];return function e(n){(n.root?n.root.childNodes:n.childNodes).forEach(function(n){n.indeterminate&&t.push(n.data),e(n)})}(this),t},t.prototype.getHalfCheckedKeys=function(){var t=this;return this.getHalfCheckedNodes().map(function(e){return(e||{})[t.key]})},t.prototype._getAllNodes=function(){var t=[],e=this.nodesMap;for(var n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t},t.prototype.updateChildren=function(t,e){var n=this.nodesMap[t];if(n){for(var i=n.childNodes,r=i.length-1;r>=0;r--){var o=i[r];this.remove(o.data)}for(var a=0,s=e.length;a<s;a++){var l=e[a];this.append(l,n.data)}}},t.prototype._setCheckedKeys=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments[2],i=this._getAllNodes().sort(function(t,e){return e.level-t.level}),r=Object.create(null),o=Object.keys(n);i.forEach(function(t){return t.setChecked(!1,!1)});for(var a=0,s=i.length;a<s;a++){var l=i[a],c=l.data[t].toString();if(o.indexOf(c)>-1){for(var u=l.parent;u&&u.level>0;)r[u.data[t]]=!0,u=u.parent;l.isLeaf||this.checkStrictly?l.setChecked(!0,!1):(l.setChecked(!0,!0),e&&function(){l.setChecked(!1,!1);!function t(e){e.childNodes.forEach(function(e){e.isLeaf||e.setChecked(!1,!1),t(e)})}(l)}())}else l.checked&&!r[c]&&l.setChecked(!1,!1)}},t.prototype.setCheckedNodes=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.key,i={};t.forEach(function(t){i[(t||{})[n]]=!0}),this._setCheckedKeys(n,e,i)},t.prototype.setCheckedKeys=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.defaultCheckedKeys=t;var n=this.key,i={};t.forEach(function(t){i[t]=!0}),this._setCheckedKeys(n,e,i)},t.prototype.setDefaultExpandedKeys=function(t){var e=this;t=t||[],this.defaultExpandedKeys=t,t.forEach(function(t){var n=e.getNode(t);n&&n.expand(null,e.autoExpandParent)})},t.prototype.setChecked=function(t,e,n){var i=this.getNode(t);i&&i.setChecked(!!e,n)},t.prototype.getCurrentNode=function(){return this.currentNode},t.prototype.setCurrentNode=function(t){var e=this.currentNode;e&&(e.isCurrent=!1),this.currentNode=t,this.currentNode.isCurrent=!0},t.prototype.setUserCurrentNode=function(t){var e=t[this.key],n=this.nodesMap[e];this.setCurrentNode(n)},t.prototype.setCurrentNodeKey=function(t){if(null===t||void 0===t)return this.currentNode&&(this.currentNode.isCurrent=!1),void(this.currentNode=null);var e=this.getNode(t);e&&this.setCurrentNode(e)},t}(),Wo=function(){var t=this,e=this,n=e.$createElement,i=e._self._c||n;return i("div",{directives:[{name:"show",rawName:"v-show",value:e.node.visible,expression:"node.visible"}],ref:"node",staticClass:"el-tree-node",class:{"is-expanded":e.expanded,"is-current":e.node.isCurrent,"is-hidden":!e.node.visible,"is-focusable":!e.node.disabled,"is-checked":!e.node.disabled&&e.node.checked},attrs:{role:"treeitem",tabindex:"-1","aria-expanded":e.expanded,"aria-disabled":e.node.disabled,"aria-checked":e.node.checked,draggable:e.tree.draggable},on:{click:function(t){return t.stopPropagation(),e.handleClick(t)},contextmenu:function(e){return t.handleContextMenu(e)},dragstart:function(t){return t.stopPropagation(),e.handleDragStart(t)},dragover:function(t){return t.stopPropagation(),e.handleDragOver(t)},dragend:function(t){return t.stopPropagation(),e.handleDragEnd(t)},drop:function(t){return t.stopPropagation(),e.handleDrop(t)}}},[i("div",{staticClass:"el-tree-node__content",style:{"padding-left":(e.node.level-1)*e.tree.indent+"px"}},[i("span",{class:[{"is-leaf":e.node.isLeaf,expanded:!e.node.isLeaf&&e.expanded},"el-tree-node__expand-icon",e.tree.iconClass?e.tree.iconClass:"el-icon-caret-right"],on:{click:function(t){return t.stopPropagation(),e.handleExpandIconClick(t)}}}),e.showCheckbox?i("el-checkbox",{attrs:{indeterminate:e.node.indeterminate,disabled:!!e.node.disabled},on:{change:e.handleCheckChange},nativeOn:{click:function(t){t.stopPropagation()}},model:{value:e.node.checked,callback:function(t){e.$set(e.node,"checked",t)},expression:"node.checked"}}):e._e(),e.node.loading?i("span",{staticClass:"el-tree-node__loading-icon el-icon-loading"}):e._e(),i("node-content",{attrs:{node:e.node}})],1),i("el-collapse-transition",[!e.renderAfterExpand||e.childNodeRendered?i("div",{directives:[{name:"show",rawName:"v-show",value:e.expanded,expression:"expanded"}],staticClass:"el-tree-node__children",attrs:{role:"group","aria-expanded":e.expanded}},e._l(e.node.childNodes,function(t){return i("el-tree-node",{key:e.getNodeKey(t),attrs:{"render-content":e.renderContent,"render-after-expand":e.renderAfterExpand,"show-checkbox":e.showCheckbox,node:t},on:{"node-expand":e.handleChildNodeExpand}})}),1):e._e()])],1)};Wo._withStripped=!0;var Ko=r({name:"ElTreeNode",componentName:"ElTreeNode",mixins:[C.a],props:{node:{default:function(){return{}}},props:{},renderContent:Function,renderAfterExpand:{type:Boolean,default:!0},showCheckbox:{type:Boolean,default:!1}},components:{ElCollapseTransition:yt.a,ElCheckbox:rn.a,NodeContent:{props:{node:{required:!0}},render:function(t){var e=this.$parent,n=e.tree,i=this.node,r=i.data,o=i.store;return e.renderContent?e.renderContent.call(e._renderProxy,t,{_self:n.$vnode.context,node:i,data:r,store:o}):n.$scopedSlots.default?n.$scopedSlots.default({node:i,data:r}):t("span",{class:"el-tree-node__label"},[i.label])}}},data:function(){return{tree:null,expanded:!1,childNodeRendered:!1,oldChecked:null,oldIndeterminate:null}},watch:{"node.indeterminate":function(t){this.handleSelectChange(this.node.checked,t)},"node.checked":function(t){this.handleSelectChange(t,this.node.indeterminate)},"node.expanded":function(t){var e=this;this.$nextTick(function(){return e.expanded=t}),t&&(this.childNodeRendered=!0)}},methods:{getNodeKey:function(t){return jo(this.tree.nodeKey,t.data)},handleSelectChange:function(t,e){this.oldChecked!==t&&this.oldIndeterminate!==e&&this.tree.$emit("check-change",this.node.data,t,e),this.oldChecked=t,this.indeterminate=e},handleClick:function(){var t=this.tree.store;t.setCurrentNode(this.node),this.tree.$emit("current-change",t.currentNode?t.currentNode.data:null,t.currentNode),this.tree.currentNode=this,this.tree.expandOnClickNode&&this.handleExpandIconClick(),this.tree.checkOnClickNode&&!this.node.disabled&&this.handleCheckChange(null,{target:{checked:!this.node.checked}}),this.tree.$emit("node-click",this.node.data,this.node,this)},handleContextMenu:function(t){this.tree._events["node-contextmenu"]&&this.tree._events["node-contextmenu"].length>0&&(t.stopPropagation(),t.preventDefault()),this.tree.$emit("node-contextmenu",t,this.node.data,this.node,this)},handleExpandIconClick:function(){this.node.isLeaf||(this.expanded?(this.tree.$emit("node-collapse",this.node.data,this.node,this),this.node.collapse()):(this.node.expand(),this.$emit("node-expand",this.node.data,this.node,this)))},handleCheckChange:function(t,e){var n=this;this.node.setChecked(e.target.checked,!this.tree.checkStrictly),this.$nextTick(function(){var t=n.tree.store;n.tree.$emit("check",n.node.data,{checkedNodes:t.getCheckedNodes(),checkedKeys:t.getCheckedKeys(),halfCheckedNodes:t.getHalfCheckedNodes(),halfCheckedKeys:t.getHalfCheckedKeys()})})},handleChildNodeExpand:function(t,e,n){this.broadcast("ElTreeNode","tree-node-expand",e),this.tree.$emit("node-expand",t,e,n)},handleDragStart:function(t){this.tree.draggable&&this.tree.$emit("tree-node-drag-start",t,this)},handleDragOver:function(t){this.tree.draggable&&(this.tree.$emit("tree-node-drag-over",t,this),t.preventDefault())},handleDrop:function(t){t.preventDefault()},handleDragEnd:function(t){this.tree.draggable&&this.tree.$emit("tree-node-drag-end",t,this)}},created:function(){var t=this,e=this.$parent;e.isTree?this.tree=e:this.tree=e.tree;var n=this.tree;n||console.warn("Can not find node's tree.");var i=(n.props||{}).children||"children";this.$watch("node.data."+i,function(){t.node.updateChildren()}),this.node.expanded&&(this.expanded=!0,this.childNodeRendered=!0),this.tree.accordion&&this.$on("tree-node-expand",function(e){t.node!==e&&t.node.collapse()})}},Wo,[],!1,null,null,null);Ko.options.__file="packages/tree/src/tree-node.vue";var Yo=Ko.exports,Xo=r({name:"ElTree",mixins:[C.a],components:{ElTreeNode:Yo},data:function(){return{store:null,root:null,currentNode:null,treeItems:null,checkboxItems:[],dragState:{showDropIndicator:!1,draggingNode:null,dropNode:null,allowDrop:!0}}},props:{data:{type:Array},emptyText:{type:String,default:function(){return Object(Lr.t)("el.tree.emptyText")}},renderAfterExpand:{type:Boolean,default:!0},nodeKey:String,checkStrictly:Boolean,defaultExpandAll:Boolean,expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkDescendants:{type:Boolean,default:!1},autoExpandParent:{type:Boolean,default:!0},defaultCheckedKeys:Array,defaultExpandedKeys:Array,currentNodeKey:[String,Number],renderContent:Function,showCheckbox:{type:Boolean,default:!1},draggable:{type:Boolean,default:!1},allowDrag:Function,allowDrop:Function,props:{default:function(){return{children:"children",label:"label",disabled:"disabled"}}},lazy:{type:Boolean,default:!1},highlightCurrent:Boolean,load:Function,filterNodeMethod:Function,accordion:Boolean,indent:{type:Number,default:18},iconClass:String},computed:{children:{set:function(t){this.data=t},get:function(){return this.data}},treeItemArray:function(){return Array.prototype.slice.call(this.treeItems)},isEmpty:function(){var t=this.root.childNodes;return!t||0===t.length||t.every(function(t){return!t.visible})}},watch:{defaultCheckedKeys:function(t){this.store.setDefaultCheckedKey(t)},defaultExpandedKeys:function(t){this.store.defaultExpandedKeys=t,this.store.setDefaultExpandedKeys(t)},data:function(t){this.store.setData(t)},checkboxItems:function(t){Array.prototype.forEach.call(t,function(t){t.setAttribute("tabindex",-1)})},checkStrictly:function(t){this.store.checkStrictly=t}},methods:{filter:function(t){if(!this.filterNodeMethod)throw new Error("[Tree] filterNodeMethod is required when filter");this.store.filter(t)},getNodeKey:function(t){return jo(this.nodeKey,t.data)},getNodePath:function(t){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in getNodePath");var e=this.store.getNode(t);if(!e)return[];for(var n=[e.data],i=e.parent;i&&i!==this.root;)n.push(i.data),i=i.parent;return n.reverse()},getCheckedNodes:function(t,e){return this.store.getCheckedNodes(t,e)},getCheckedKeys:function(t){return this.store.getCheckedKeys(t)},getCurrentNode:function(){var t=this.store.getCurrentNode();return t?t.data:null},getCurrentKey:function(){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in getCurrentKey");var t=this.getCurrentNode();return t?t[this.nodeKey]:null},setCheckedNodes:function(t,e){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedNodes");this.store.setCheckedNodes(t,e)},setCheckedKeys:function(t,e){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedKeys");this.store.setCheckedKeys(t,e)},setChecked:function(t,e,n){this.store.setChecked(t,e,n)},getHalfCheckedNodes:function(){return this.store.getHalfCheckedNodes()},getHalfCheckedKeys:function(){return this.store.getHalfCheckedKeys()},setCurrentNode:function(t){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentNode");this.store.setUserCurrentNode(t)},setCurrentKey:function(t){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentKey");this.store.setCurrentNodeKey(t)},getNode:function(t){return this.store.getNode(t)},remove:function(t){this.store.remove(t)},append:function(t,e){this.store.append(t,e)},insertBefore:function(t,e){this.store.insertBefore(t,e)},insertAfter:function(t,e){this.store.insertAfter(t,e)},handleNodeExpand:function(t,e,n){this.broadcast("ElTreeNode","tree-node-expand",e),this.$emit("node-expand",t,e,n)},updateKeyChildren:function(t,e){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in updateKeyChild");this.store.updateChildren(t,e)},initTabIndex:function(){this.treeItems=this.$el.querySelectorAll(".is-focusable[role=treeitem]"),this.checkboxItems=this.$el.querySelectorAll("input[type=checkbox]");var t=this.$el.querySelectorAll(".is-checked[role=treeitem]");t.length?t[0].setAttribute("tabindex",0):this.treeItems[0]&&this.treeItems[0].setAttribute("tabindex",0)},handleKeydown:function(t){var e=t.target;if(-1!==e.className.indexOf("el-tree-node")){var n=t.keyCode;this.treeItems=this.$el.querySelectorAll(".is-focusable[role=treeitem]");var i=this.treeItemArray.indexOf(e),r=void 0;[38,40].indexOf(n)>-1&&(t.preventDefault(),r=38===n?0!==i?i-1:0:i<this.treeItemArray.length-1?i+1:0,this.treeItemArray[r].focus()),[37,39].indexOf(n)>-1&&(t.preventDefault(),e.click());var o=e.querySelector('[type="checkbox"]');[13,32].indexOf(n)>-1&&o&&(t.preventDefault(),o.click())}}},created:function(){var t=this;this.isTree=!0,this.store=new Go({key:this.nodeKey,data:this.data,lazy:this.lazy,props:this.props,load:this.load,currentNodeKey:this.currentNodeKey,checkStrictly:this.checkStrictly,checkDescendants:this.checkDescendants,defaultCheckedKeys:this.defaultCheckedKeys,defaultExpandedKeys:this.defaultExpandedKeys,autoExpandParent:this.autoExpandParent,defaultExpandAll:this.defaultExpandAll,filterNodeMethod:this.filterNodeMethod}),this.root=this.store.root;var e=this.dragState;this.$on("tree-node-drag-start",function(n,i){if("function"==typeof t.allowDrag&&!t.allowDrag(i.node))return n.preventDefault(),!1;n.dataTransfer.effectAllowed="move";try{n.dataTransfer.setData("text/plain","")}catch(t){}e.draggingNode=i,t.$emit("node-drag-start",i.node,n)}),this.$on("tree-node-drag-over",function(n,i){var r=function(t,e){for(var n=t;n&&"BODY"!==n.tagName;){if(n.__vue__&&n.__vue__.$options.name===e)return n.__vue__;n=n.parentNode}return null}(n.target,"ElTreeNode"),o=e.dropNode;o&&o!==r&&Object(pt.removeClass)(o.$el,"is-drop-inner");var a=e.draggingNode;if(a&&r){var s=!0,l=!0,c=!0,u=!0;"function"==typeof t.allowDrop&&(s=t.allowDrop(a.node,r.node,"prev"),u=l=t.allowDrop(a.node,r.node,"inner"),c=t.allowDrop(a.node,r.node,"next")),n.dataTransfer.dropEffect=l?"move":"none",(s||l||c)&&o!==r&&(o&&t.$emit("node-drag-leave",a.node,o.node,n),t.$emit("node-drag-enter",a.node,r.node,n)),(s||l||c)&&(e.dropNode=r),r.node.nextSibling===a.node&&(c=!1),r.node.previousSibling===a.node&&(s=!1),r.node.contains(a.node,!1)&&(l=!1),(a.node===r.node||a.node.contains(r.node))&&(s=!1,l=!1,c=!1);var h=r.$el.getBoundingClientRect(),d=t.$el.getBoundingClientRect(),f=void 0,p=s?l?.25:c?.45:1:-1,A=c?l?.75:s?.55:0:1,g=-9999,v=n.clientY-h.top;f=v<h.height*p?"before":v>h.height*A?"after":l?"inner":"none";var m=r.$el.querySelector(".el-tree-node__expand-icon").getBoundingClientRect(),y=t.$refs.dropIndicator;"before"===f?g=m.top-d.top:"after"===f&&(g=m.bottom-d.top),y.style.top=g+"px",y.style.left=m.right-d.left+"px","inner"===f?Object(pt.addClass)(r.$el,"is-drop-inner"):Object(pt.removeClass)(r.$el,"is-drop-inner"),e.showDropIndicator="before"===f||"after"===f,e.allowDrop=e.showDropIndicator||u,e.dropType=f,t.$emit("node-drag-over",a.node,r.node,n)}}),this.$on("tree-node-drag-end",function(n){var i=e.draggingNode,r=e.dropType,o=e.dropNode;if(n.preventDefault(),n.dataTransfer.dropEffect="move",i&&o){var a={data:i.node.data};"none"!==r&&i.node.remove(),"before"===r?o.node.parent.insertBefore(a,o.node):"after"===r?o.node.parent.insertAfter(a,o.node):"inner"===r&&o.node.insertChild(a),"none"!==r&&t.store.registerNode(a),Object(pt.removeClass)(o.$el,"is-drop-inner"),t.$emit("node-drag-end",i.node,o.node,r,n),"none"!==r&&t.$emit("node-drop",i.node,o.node,r,n)}i&&!o&&t.$emit("node-drag-end",i.node,null,r,n),e.showDropIndicator=!1,e.draggingNode=null,e.dropNode=null,e.allowDrop=!0})},mounted:function(){this.initTabIndex(),this.$el.addEventListener("keydown",this.handleKeydown)},updated:function(){this.treeItems=this.$el.querySelectorAll("[role=treeitem]"),this.checkboxItems=this.$el.querySelectorAll("input[type=checkbox]")}},Fo,[],!1,null,null,null);Xo.options.__file="packages/tree/src/tree.vue";var qo=Xo.exports;qo.install=function(t){t.component(qo.name,qo)};var Zo=qo,Jo=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"el-alert-fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"el-alert",class:[t.typeClass,t.center?"is-center":"","is-"+t.effect],attrs:{role:"alert"}},[t.showIcon?n("i",{staticClass:"el-alert__icon",class:[t.iconClass,t.isBigIcon]}):t._e(),n("div",{staticClass:"el-alert__content"},[t.title||t.$slots.title?n("span",{staticClass:"el-alert__title",class:[t.isBoldTitle]},[t._t("title",[t._v(t._s(t.title))])],2):t._e(),t.$slots.default&&!t.description?n("p",{staticClass:"el-alert__description"},[t._t("default")],2):t._e(),t.description&&!t.$slots.default?n("p",{staticClass:"el-alert__description"},[t._v(t._s(t.description))]):t._e(),n("i",{directives:[{name:"show",rawName:"v-show",value:t.closable,expression:"closable"}],staticClass:"el-alert__closebtn",class:{"is-customed":""!==t.closeText,"el-icon-close":""===t.closeText},on:{click:function(e){t.close()}}},[t._v(t._s(t.closeText))])])])])};Jo._withStripped=!0;var ta={success:"el-icon-success",warning:"el-icon-warning",error:"el-icon-error"},ea=r({name:"ElAlert",props:{title:{type:String,default:""},description:{type:String,default:""},type:{type:String,default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,default:"light",validator:function(t){return-1!==["light","dark"].indexOf(t)}}},data:function(){return{visible:!0}},methods:{close:function(){this.visible=!1,this.$emit("close")}},computed:{typeClass:function(){return"el-alert--"+this.type},iconClass:function(){return ta[this.type]||"el-icon-info"},isBigIcon:function(){return this.description||this.$slots.default?"is-big":""},isBoldTitle:function(){return this.description||this.$slots.default?"is-bold":""}}},Jo,[],!1,null,null,null);ea.options.__file="packages/alert/src/main.vue";var na=ea.exports;na.install=function(t){t.component(na.name,na)};var ia=na,ra=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"el-notification-fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],class:["el-notification",t.customClass,t.horizontalClass],style:t.positionStyle,attrs:{role:"alert"},on:{mouseenter:function(e){t.clearTimer()},mouseleave:function(e){t.startTimer()},click:t.click}},[t.type||t.iconClass?n("i",{staticClass:"el-notification__icon",class:[t.typeClass,t.iconClass]}):t._e(),n("div",{staticClass:"el-notification__group",class:{"is-with-icon":t.typeClass||t.iconClass}},[n("h2",{staticClass:"el-notification__title",domProps:{textContent:t._s(t.title)}}),n("div",{directives:[{name:"show",rawName:"v-show",value:t.message,expression:"message"}],staticClass:"el-notification__content"},[t._t("default",[t.dangerouslyUseHTMLString?n("p",{domProps:{innerHTML:t._s(t.message)}}):n("p",[t._v(t._s(t.message))])])],2),t.showClose?n("div",{staticClass:"el-notification__closeBtn el-icon-close",on:{click:function(e){return e.stopPropagation(),t.close(e)}}}):t._e()])])])};ra._withStripped=!0;var oa={success:"success",info:"info",warning:"warning",error:"error"},aa=r({data:function(){return{visible:!1,title:"",message:"",duration:4500,type:"",showClose:!0,customClass:"",iconClass:"",onClose:null,onClick:null,closed:!1,verticalOffset:0,timer:null,dangerouslyUseHTMLString:!1,position:"top-right"}},computed:{typeClass:function(){return this.type&&oa[this.type]?"el-icon-"+oa[this.type]:""},horizontalClass:function(){return this.position.indexOf("right")>-1?"right":"left"},verticalProperty:function(){return/^top-/.test(this.position)?"top":"bottom"},positionStyle:function(){var t;return(t={})[this.verticalProperty]=this.verticalOffset+"px",t}},watch:{closed:function(t){t&&(this.visible=!1,this.$el.addEventListener("transitionend",this.destroyElement))}},methods:{destroyElement:function(){this.$el.removeEventListener("transitionend",this.destroyElement),this.$destroy(!0),this.$el.parentNode.removeChild(this.$el)},click:function(){"function"==typeof this.onClick&&this.onClick()},close:function(){this.closed=!0,"function"==typeof this.onClose&&this.onClose()},clearTimer:function(){clearTimeout(this.timer)},startTimer:function(){var t=this;this.duration>0&&(this.timer=setTimeout(function(){t.closed||t.close()},this.duration))},keydown:function(t){46===t.keyCode||8===t.keyCode?this.clearTimer():27===t.keyCode?this.closed||this.close():this.startTimer()}},mounted:function(){var t=this;this.duration>0&&(this.timer=setTimeout(function(){t.closed||t.close()},this.duration)),document.addEventListener("keydown",this.keydown)},beforeDestroy:function(){document.removeEventListener("keydown",this.keydown)}},ra,[],!1,null,null,null);aa.options.__file="packages/notification/src/main.vue";var sa=aa.exports,la=hn.a.extend(sa),ca=void 0,ua=[],ha=1,da=function t(e){if(!hn.a.prototype.$isServer){var n=(e=Qt()({},e)).onClose,i="notification_"+ha++,r=e.position||"top-right";e.onClose=function(){t.close(i,n)},ca=new la({data:e}),Object(Hr.isVNode)(e.message)&&(ca.$slots.default=[e.message],e.message="REPLACED_BY_VNODE"),ca.id=i,ca.$mount(),document.body.appendChild(ca.$el),ca.visible=!0,ca.dom=ca.$el,ca.dom.style.zIndex=y.PopupManager.nextZIndex();var o=e.offset||0;return ua.filter(function(t){return t.position===r}).forEach(function(t){o+=t.$el.offsetHeight+16}),o+=16,ca.verticalOffset=o,ua.push(ca),ca}};["success","warning","info","error"].forEach(function(t){da[t]=function(e){return("string"==typeof e||Object(Hr.isVNode)(e))&&(e={message:e}),e.type=t,da(e)}}),da.close=function(t,e){var n=-1,i=ua.length,r=ua.filter(function(e,i){return e.id===t&&(n=i,!0)})[0];if(r&&("function"==typeof e&&e(r),ua.splice(n,1),!(i<=1)))for(var o=r.position,a=r.dom.offsetHeight,s=n;s<i-1;s++)ua[s].position===o&&(ua[s].dom.style[r.verticalProperty]=parseInt(ua[s].dom.style[r.verticalProperty],10)-a-16+"px")},da.closeAll=function(){for(var t=ua.length-1;t>=0;t--)ua[t].close()};var fa=da,pa=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"el-slider",class:{"is-vertical":t.vertical,"el-slider--with-input":t.showInput},attrs:{role:"slider","aria-valuemin":t.min,"aria-valuemax":t.max,"aria-orientation":t.vertical?"vertical":"horizontal","aria-disabled":t.sliderDisabled}},[t.showInput&&!t.range?n("el-input-number",{ref:"input",staticClass:"el-slider__input",attrs:{step:t.step,disabled:t.sliderDisabled,controls:t.showInputControls,min:t.min,max:t.max,debounce:t.debounce,size:t.inputSize},on:{change:t.emitChange},model:{value:t.firstValue,callback:function(e){t.firstValue=e},expression:"firstValue"}}):t._e(),n("div",{ref:"slider",staticClass:"el-slider__runway",class:{"show-input":t.showInput,disabled:t.sliderDisabled},style:t.runwayStyle,on:{click:t.onSliderClick}},[n("div",{staticClass:"el-slider__bar",style:t.barStyle}),n("slider-button",{ref:"button1",attrs:{vertical:t.vertical,"tooltip-class":t.tooltipClass},model:{value:t.firstValue,callback:function(e){t.firstValue=e},expression:"firstValue"}}),t.range?n("slider-button",{ref:"button2",attrs:{vertical:t.vertical,"tooltip-class":t.tooltipClass},model:{value:t.secondValue,callback:function(e){t.secondValue=e},expression:"secondValue"}}):t._e(),t._l(t.stops,function(e,i){return t.showStops?n("div",{key:i,staticClass:"el-slider__stop",style:t.getStopStyle(e)}):t._e()}),t.markList.length>0?[n("div",t._l(t.markList,function(e,i){return n("div",{key:i,staticClass:"el-slider__stop el-slider__marks-stop",style:t.getStopStyle(e.position)})}),0),n("div",{staticClass:"el-slider__marks"},t._l(t.markList,function(e,i){return n("slider-marker",{key:i,style:t.getStopStyle(e.position),attrs:{mark:e.mark}})}),1)]:t._e()],2)],1)};pa._withStripped=!0;var Aa=n(41),ga=n.n(Aa),va=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"button",staticClass:"el-slider__button-wrapper",class:{hover:t.hovering,dragging:t.dragging},style:t.wrapperStyle,attrs:{tabindex:"0"},on:{mouseenter:t.handleMouseEnter,mouseleave:t.handleMouseLeave,mousedown:t.onButtonDown,touchstart:t.onButtonDown,focus:t.handleMouseEnter,blur:t.handleMouseLeave,keydown:[function(e){return"button"in e||!t._k(e.keyCode,"left",37,e.key,["Left","ArrowLeft"])?"button"in e&&0!==e.button?null:t.onLeftKeyDown(e):null},function(e){return"button"in e||!t._k(e.keyCode,"right",39,e.key,["Right","ArrowRight"])?"button"in e&&2!==e.button?null:t.onRightKeyDown(e):null},function(e){return"button"in e||!t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])?(e.preventDefault(),t.onLeftKeyDown(e)):null},function(e){return"button"in e||!t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])?(e.preventDefault(),t.onRightKeyDown(e)):null}]}},[n("el-tooltip",{ref:"tooltip",attrs:{placement:"top","popper-class":t.tooltipClass,disabled:!t.showTooltip}},[n("span",{attrs:{slot:"content"},slot:"content"},[t._v(t._s(t.formatValue))]),n("div",{staticClass:"el-slider__button",class:{hover:t.hovering,dragging:t.dragging}})])],1)};va._withStripped=!0;var ma=r({name:"ElSliderButton",components:{ElTooltip:kt.a},props:{value:{type:Number,default:0},vertical:{type:Boolean,default:!1},tooltipClass:String},data:function(){return{hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:null,oldValue:this.value}},computed:{disabled:function(){return this.$parent.sliderDisabled},max:function(){return this.$parent.max},min:function(){return this.$parent.min},step:function(){return this.$parent.step},showTooltip:function(){return this.$parent.showTooltip},precision:function(){return this.$parent.precision},currentPosition:function(){return(this.value-this.min)/(this.max-this.min)*100+"%"},enableFormat:function(){return this.$parent.formatTooltip instanceof Function},formatValue:function(){return this.enableFormat&&this.$parent.formatTooltip(this.value)||this.value},wrapperStyle:function(){return this.vertical?{bottom:this.currentPosition}:{left:this.currentPosition}}},watch:{dragging:function(t){this.$parent.dragging=t}},methods:{displayTooltip:function(){this.$refs.tooltip&&(this.$refs.tooltip.showPopper=!0)},hideTooltip:function(){this.$refs.tooltip&&(this.$refs.tooltip.showPopper=!1)},handleMouseEnter:function(){this.hovering=!0,this.displayTooltip()},handleMouseLeave:function(){this.hovering=!1,this.hideTooltip()},onButtonDown:function(t){this.disabled||(t.preventDefault(),this.onDragStart(t),window.addEventListener("mousemove",this.onDragging),window.addEventListener("touchmove",this.onDragging),window.addEventListener("mouseup",this.onDragEnd),window.addEventListener("touchend",this.onDragEnd),window.addEventListener("contextmenu",this.onDragEnd))},onLeftKeyDown:function(){this.disabled||(this.newPosition=parseFloat(this.currentPosition)-this.step/(this.max-this.min)*100,this.setPosition(this.newPosition),this.$parent.emitChange())},onRightKeyDown:function(){this.disabled||(this.newPosition=parseFloat(this.currentPosition)+this.step/(this.max-this.min)*100,this.setPosition(this.newPosition),this.$parent.emitChange())},onDragStart:function(t){this.dragging=!0,this.isClick=!0,"touchstart"===t.type&&(t.clientY=t.touches[0].clientY,t.clientX=t.touches[0].clientX),this.vertical?this.startY=t.clientY:this.startX=t.clientX,this.startPosition=parseFloat(this.currentPosition),this.newPosition=this.startPosition},onDragging:function(t){if(this.dragging){this.isClick=!1,this.displayTooltip(),this.$parent.resetSize();var e=0;"touchmove"===t.type&&(t.clientY=t.touches[0].clientY,t.clientX=t.touches[0].clientX),this.vertical?(this.currentY=t.clientY,e=(this.startY-this.currentY)/this.$parent.sliderSize*100):(this.currentX=t.clientX,e=(this.currentX-this.startX)/this.$parent.sliderSize*100),this.newPosition=this.startPosition+e,this.setPosition(this.newPosition)}},onDragEnd:function(){var t=this;this.dragging&&(setTimeout(function(){t.dragging=!1,t.hideTooltip(),t.isClick||(t.setPosition(t.newPosition),t.$parent.emitChange())},0),window.removeEventListener("mousemove",this.onDragging),window.removeEventListener("touchmove",this.onDragging),window.removeEventListener("mouseup",this.onDragEnd),window.removeEventListener("touchend",this.onDragEnd),window.removeEventListener("contextmenu",this.onDragEnd))},setPosition:function(t){var e=this;if(null!==t&&!isNaN(t)){t<0?t=0:t>100&&(t=100);var n=100/((this.max-this.min)/this.step),i=Math.round(t/n)*n*(this.max-this.min)*.01+this.min;i=parseFloat(i.toFixed(this.precision)),this.$emit("input",i),this.$nextTick(function(){e.displayTooltip(),e.$refs.tooltip&&e.$refs.tooltip.updatePopper()}),this.dragging||this.value===this.oldValue||(this.oldValue=this.value)}}}},va,[],!1,null,null,null);ma.options.__file="packages/slider/src/button.vue";var ya=ma.exports,ba={name:"ElMarker",props:{mark:{type:[String,Object]}},render:function(){var t=arguments[0],e="string"==typeof this.mark?this.mark:this.mark.label;return t("div",{class:"el-slider__marks-text",style:this.mark.style||{}},[e])}},_a=r({name:"ElSlider",mixins:[C.a],inject:{elForm:{default:""}},props:{min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},value:{type:[Number,Array],default:0},showInput:{type:Boolean,default:!1},showInputControls:{type:Boolean,default:!0},inputSize:{type:String,default:"small"},showStops:{type:Boolean,default:!1},showTooltip:{type:Boolean,default:!0},formatTooltip:Function,disabled:{type:Boolean,default:!1},range:{type:Boolean,default:!1},vertical:{type:Boolean,default:!1},height:{type:String},debounce:{type:Number,default:300},label:{type:String},tooltipClass:String,marks:Object},components:{ElInputNumber:ga.a,SliderButton:ya,SliderMarker:ba},data:function(){return{firstValue:null,secondValue:null,oldValue:null,dragging:!1,sliderSize:1}},watch:{value:function(t,e){this.dragging||Array.isArray(t)&&Array.isArray(e)&&t.every(function(t,n){return t===e[n]})||this.setValues()},dragging:function(t){t||this.setValues()},firstValue:function(t){this.range?this.$emit("input",[this.minValue,this.maxValue]):this.$emit("input",t)},secondValue:function(){this.range&&this.$emit("input",[this.minValue,this.maxValue])},min:function(){this.setValues()},max:function(){this.setValues()}},methods:{valueChanged:function(){var t=this;return this.range?![this.minValue,this.maxValue].every(function(e,n){return e===t.oldValue[n]}):this.value!==this.oldValue},setValues:function(){if(this.min>this.max)console.error("[Element Error][Slider]min should not be greater than max.");else{var t=this.value;this.range&&Array.isArray(t)?t[1]<this.min?this.$emit("input",[this.min,this.min]):t[0]>this.max?this.$emit("input",[this.max,this.max]):t[0]<this.min?this.$emit("input",[this.min,t[1]]):t[1]>this.max?this.$emit("input",[t[0],this.max]):(this.firstValue=t[0],this.secondValue=t[1],this.valueChanged()&&(this.dispatch("ElFormItem","el.form.change",[this.minValue,this.maxValue]),this.oldValue=t.slice())):this.range||"number"!=typeof t||isNaN(t)||(t<this.min?this.$emit("input",this.min):t>this.max?this.$emit("input",this.max):(this.firstValue=t,this.valueChanged()&&(this.dispatch("ElFormItem","el.form.change",t),this.oldValue=t)))}},setPosition:function(t){var e=this.min+t*(this.max-this.min)/100;if(this.range){var n=void 0;n=Math.abs(this.minValue-e)<Math.abs(this.maxValue-e)?this.firstValue<this.secondValue?"button1":"button2":this.firstValue>this.secondValue?"button1":"button2",this.$refs[n].setPosition(t)}else this.$refs.button1.setPosition(t)},onSliderClick:function(t){if(!this.sliderDisabled&&!this.dragging){if(this.resetSize(),this.vertical){var e=this.$refs.slider.getBoundingClientRect().bottom;this.setPosition((e-t.clientY)/this.sliderSize*100)}else{var n=this.$refs.slider.getBoundingClientRect().left;this.setPosition((t.clientX-n)/this.sliderSize*100)}this.emitChange()}},resetSize:function(){this.$refs.slider&&(this.sliderSize=this.$refs.slider["client"+(this.vertical?"Height":"Width")])},emitChange:function(){var t=this;this.$nextTick(function(){t.$emit("change",t.range?[t.minValue,t.maxValue]:t.value)})},getStopStyle:function(t){return this.vertical?{bottom:t+"%"}:{left:t+"%"}}},computed:{stops:function(){var t=this;if(!this.showStops||this.min>this.max)return[];if(0===this.step)return[];for(var e=(this.max-this.min)/this.step,n=100*this.step/(this.max-this.min),i=[],r=1;r<e;r++)i.push(r*n);return this.range?i.filter(function(e){return e<100*(t.minValue-t.min)/(t.max-t.min)||e>100*(t.maxValue-t.min)/(t.max-t.min)}):i.filter(function(e){return e>100*(t.firstValue-t.min)/(t.max-t.min)})},markList:function(){var t=this;return this.marks?Object.keys(this.marks).map(parseFloat).sort(function(t,e){return t-e}).filter(function(e){return e<=t.max&&e>=t.min}).map(function(e){return{point:e,position:100*(e-t.min)/(t.max-t.min),mark:t.marks[e]}}):[]},minValue:function(){return Math.min(this.firstValue,this.secondValue)},maxValue:function(){return Math.max(this.firstValue,this.secondValue)},barSize:function(){return this.range?100*(this.maxValue-this.minValue)/(this.max-this.min)+"%":100*(this.firstValue-this.min)/(this.max-this.min)+"%"},barStart:function(){return this.range?100*(this.minValue-this.min)/(this.max-this.min)+"%":"0%"},precision:function(){var t=[this.min,this.max,this.step].map(function(t){var e=(""+t).split(".")[1];return e?e.length:0});return Math.max.apply(null,t)},runwayStyle:function(){return this.vertical?{height:this.height}:{}},barStyle:function(){return this.vertical?{height:this.barSize,bottom:this.barStart}:{width:this.barSize,left:this.barStart}},sliderDisabled:function(){return this.disabled||(this.elForm||{}).disabled}},mounted:function(){var t=void 0;this.range?(Array.isArray(this.value)?(this.firstValue=Math.max(this.min,this.value[0]),this.secondValue=Math.min(this.max,this.value[1])):(this.firstValue=this.min,this.secondValue=this.max),this.oldValue=[this.firstValue,this.secondValue],t=this.firstValue+"-"+this.secondValue):("number"!=typeof this.value||isNaN(this.value)?this.firstValue=this.min:this.firstValue=Math.min(this.max,Math.max(this.min,this.value)),this.oldValue=this.firstValue,t=this.firstValue),this.$el.setAttribute("aria-valuetext",t),this.$el.setAttribute("aria-label",this.label?this.label:"slider between "+this.min+" and "+this.max),this.resetSize(),window.addEventListener("resize",this.resetSize)},beforeDestroy:function(){window.removeEventListener("resize",this.resetSize)}},pa,[],!1,null,null,null);_a.options.__file="packages/slider/src/main.vue";var wa=_a.exports;wa.install=function(t){t.component(wa.name,wa)};var xa=wa,Ca=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"el-loading-fade"},on:{"after-leave":t.handleAfterLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"el-loading-mask",class:[t.customClass,{"is-fullscreen":t.fullscreen}],style:{backgroundColor:t.background||""}},[n("div",{staticClass:"el-loading-spinner"},[t.spinner?n("i",{class:t.spinner}):n("svg",{staticClass:"circular",attrs:{viewBox:"25 25 50 50"}},[n("circle",{staticClass:"path",attrs:{cx:"50",cy:"50",r:"20",fill:"none"}})]),t.text?n("p",{staticClass:"el-loading-text"},[t._v(t._s(t.text))]):t._e()])])])};Ca._withStripped=!0;var Sa=r({data:function(){return{text:null,spinner:null,background:null,fullscreen:!0,visible:!1,customClass:""}},methods:{handleAfterLeave:function(){this.$emit("after-leave")},setText:function(t){this.text=t}}},Ca,[],!1,null,null,null);Sa.options.__file="packages/loading/src/loading.vue";var Ba=Sa.exports,ka=n(32),Ta=n.n(ka),Oa=hn.a.extend(Ba),Ea={install:function(t){if(!t.prototype.$isServer){var e=function(e,i){i.value?t.nextTick(function(){i.modifiers.fullscreen?(e.originalPosition=Object(pt.getStyle)(document.body,"position"),e.originalOverflow=Object(pt.getStyle)(document.body,"overflow"),e.maskStyle.zIndex=y.PopupManager.nextZIndex(),Object(pt.addClass)(e.mask,"is-fullscreen"),n(document.body,e,i)):(Object(pt.removeClass)(e.mask,"is-fullscreen"),i.modifiers.body?(e.originalPosition=Object(pt.getStyle)(document.body,"position"),["top","left"].forEach(function(t){var n="top"===t?"scrollTop":"scrollLeft";e.maskStyle[t]=e.getBoundingClientRect()[t]+document.body[n]+document.documentElement[n]-parseInt(Object(pt.getStyle)(document.body,"margin-"+t),10)+"px"}),["height","width"].forEach(function(t){e.maskStyle[t]=e.getBoundingClientRect()[t]+"px"}),n(document.body,e,i)):(e.originalPosition=Object(pt.getStyle)(e,"position"),n(e,e,i)))}):(Ta()(e.instance,function(t){if(e.instance.hiding){e.domVisible=!1;var n=i.modifiers.fullscreen||i.modifiers.body?document.body:e;Object(pt.removeClass)(n,"el-loading-parent--relative"),Object(pt.removeClass)(n,"el-loading-parent--hidden"),e.instance.hiding=!1}},300,!0),e.instance.visible=!1,e.instance.hiding=!0)},n=function(e,n,i){n.domVisible||"none"===Object(pt.getStyle)(n,"display")||"hidden"===Object(pt.getStyle)(n,"visibility")?n.domVisible&&!0===n.instance.hiding&&(n.instance.visible=!0,n.instance.hiding=!1):(Object.keys(n.maskStyle).forEach(function(t){n.mask.style[t]=n.maskStyle[t]}),"absolute"!==n.originalPosition&&"fixed"!==n.originalPosition&&Object(pt.addClass)(e,"el-loading-parent--relative"),i.modifiers.fullscreen&&i.modifiers.lock&&Object(pt.addClass)(e,"el-loading-parent--hidden"),n.domVisible=!0,e.appendChild(n.mask),t.nextTick(function(){n.instance.hiding?n.instance.$emit("after-leave"):n.instance.visible=!0}),n.domInserted=!0)};t.directive("loading",{bind:function(t,n,i){var r=t.getAttribute("element-loading-text"),o=t.getAttribute("element-loading-spinner"),a=t.getAttribute("element-loading-background"),s=t.getAttribute("element-loading-custom-class"),l=i.context,c=new Oa({el:document.createElement("div"),data:{text:l&&l[r]||r,spinner:l&&l[o]||o,background:l&&l[a]||a,customClass:l&&l[s]||s,fullscreen:!!n.modifiers.fullscreen}});t.instance=c,t.mask=c.$el,t.maskStyle={},n.value&&e(t,n)},update:function(t,n){t.instance.setText(t.getAttribute("element-loading-text")),n.oldValue!==n.value&&e(t,n)},unbind:function(t,n){t.domInserted&&(t.mask&&t.mask.parentNode&&t.mask.parentNode.removeChild(t.mask),e(t,{value:!1,modifiers:n.modifiers})),t.instance&&t.instance.$destroy()}})}}},Ia=Ea,Ma=hn.a.extend(Ba),Da={text:null,fullscreen:!0,body:!1,lock:!1,customClass:""},La=void 0;Ma.prototype.originalPosition="",Ma.prototype.originalOverflow="",Ma.prototype.close=function(){var t=this;this.fullscreen&&(La=void 0),Ta()(this,function(e){var n=t.fullscreen||t.body?document.body:t.target;Object(pt.removeClass)(n,"el-loading-parent--relative"),Object(pt.removeClass)(n,"el-loading-parent--hidden"),t.$el&&t.$el.parentNode&&t.$el.parentNode.removeChild(t.$el),t.$destroy()},300),this.visible=!1};var Fa=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!hn.a.prototype.$isServer){if("string"==typeof(t=Qt()({},Da,t)).target&&(t.target=document.querySelector(t.target)),t.target=t.target||document.body,t.target!==document.body?t.fullscreen=!1:t.body=!0,t.fullscreen&&La)return La;var e=t.body?document.body:t.target,n=new Ma({el:document.createElement("div"),data:t});return function(t,e,n){var i={};t.fullscreen?(n.originalPosition=Object(pt.getStyle)(document.body,"position"),n.originalOverflow=Object(pt.getStyle)(document.body,"overflow"),i.zIndex=y.PopupManager.nextZIndex()):t.body?(n.originalPosition=Object(pt.getStyle)(document.body,"position"),["top","left"].forEach(function(e){var n="top"===e?"scrollTop":"scrollLeft";i[e]=t.target.getBoundingClientRect()[e]+document.body[n]+document.documentElement[n]+"px"}),["height","width"].forEach(function(e){i[e]=t.target.getBoundingClientRect()[e]+"px"})):n.originalPosition=Object(pt.getStyle)(e,"position"),Object.keys(i).forEach(function(t){n.$el.style[t]=i[t]})}(t,e,n),"absolute"!==n.originalPosition&&"fixed"!==n.originalPosition&&Object(pt.addClass)(e,"el-loading-parent--relative"),t.fullscreen&&t.lock&&Object(pt.addClass)(e,"el-loading-parent--hidden"),e.appendChild(n.$el),hn.a.nextTick(function(){n.visible=!0}),t.fullscreen&&(La=n),n}},Pa={install:function(t){t.use(Ia),t.prototype.$loading=Fa},directive:Ia,service:Fa},Na=function(){var t=this.$createElement;return(this._self._c||t)("i",{class:"el-icon-"+this.name})};Na._withStripped=!0;var ja=r({name:"ElIcon",props:{name:String}},Na,[],!1,null,null,null);ja.options.__file="packages/icon/src/icon.vue";var Ua=ja.exports;Ua.install=function(t){t.component(Ua.name,Ua)};var Ra=Ua,Qa={name:"ElRow",componentName:"ElRow",props:{tag:{type:String,default:"div"},gutter:Number,type:String,justify:{type:String,default:"start"},align:{type:String,default:"top"}},computed:{style:function(){var t={};return this.gutter&&(t.marginLeft="-"+this.gutter/2+"px",t.marginRight=t.marginLeft),t}},render:function(t){return t(this.tag,{class:["el-row","start"!==this.justify?"is-justify-"+this.justify:"","top"!==this.align?"is-align-"+this.align:"",{"el-row--flex":"flex"===this.type}],style:this.style},this.$slots.default)},install:function(t){t.component(Qa.name,Qa)}},Ha=Qa,Va="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},za={name:"ElCol",props:{span:{type:Number,default:24},tag:{type:String,default:"div"},offset:Number,pull:Number,push:Number,xs:[Number,Object],sm:[Number,Object],md:[Number,Object],lg:[Number,Object],xl:[Number,Object]},computed:{gutter:function(){for(var t=this.$parent;t&&"ElRow"!==t.$options.componentName;)t=t.$parent;return t?t.gutter:0}},render:function(t){var e=this,n=[],i={};return this.gutter&&(i.paddingLeft=this.gutter/2+"px",i.paddingRight=i.paddingLeft),["span","offset","pull","push"].forEach(function(t){(e[t]||0===e[t])&&n.push("span"!==t?"el-col-"+t+"-"+e[t]:"el-col-"+e[t])}),["xs","sm","md","lg","xl"].forEach(function(t){if("number"==typeof e[t])n.push("el-col-"+t+"-"+e[t]);else if("object"===Va(e[t])){var i=e[t];Object.keys(i).forEach(function(e){n.push("span"!==e?"el-col-"+t+"-"+e+"-"+i[e]:"el-col-"+t+"-"+i[e])})}}),t(this.tag,{class:["el-col",n],style:i},this.$slots.default)},install:function(t){t.component(za.name,za)}},$a=za,Ga=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition-group",{class:["el-upload-list","el-upload-list--"+t.listType,{"is-disabled":t.disabled}],attrs:{tag:"ul",name:"el-list"}},t._l(t.files,function(e){return n("li",{key:e.uid,class:["el-upload-list__item","is-"+e.status,t.focusing?"focusing":""],attrs:{tabindex:"0"},on:{keydown:function(n){if(!("button"in n)&&t._k(n.keyCode,"delete",[8,46],n.key,["Backspace","Delete","Del"]))return null;!t.disabled&&t.$emit("remove",e)},focus:function(e){t.focusing=!0},blur:function(e){t.focusing=!1},click:function(e){t.focusing=!1}}},[t._t("default",["uploading"!==e.status&&["picture-card","picture"].indexOf(t.listType)>-1?n("img",{staticClass:"el-upload-list__item-thumbnail",attrs:{src:e.url,alt:""}}):t._e(),n("a",{staticClass:"el-upload-list__item-name",on:{click:function(n){t.handleClick(e)}}},[n("i",{staticClass:"el-icon-document"}),t._v(t._s(e.name)+"\n ")]),n("label",{staticClass:"el-upload-list__item-status-label"},[n("i",{class:{"el-icon-upload-success":!0,"el-icon-circle-check":"text"===t.listType,"el-icon-check":["picture-card","picture"].indexOf(t.listType)>-1}})]),t.disabled?t._e():n("i",{staticClass:"el-icon-close",on:{click:function(n){t.$emit("remove",e)}}}),t.disabled?t._e():n("i",{staticClass:"el-icon-close-tip"},[t._v(t._s(t.t("el.upload.deleteTip")))]),"uploading"===e.status?n("el-progress",{attrs:{type:"picture-card"===t.listType?"circle":"line","stroke-width":"picture-card"===t.listType?6:2,percentage:t.parsePercentage(e.percentage)}}):t._e(),"picture-card"===t.listType?n("span",{staticClass:"el-upload-list__item-actions"},[t.handlePreview&&"picture-card"===t.listType?n("span",{staticClass:"el-upload-list__item-preview",on:{click:function(n){t.handlePreview(e)}}},[n("i",{staticClass:"el-icon-zoom-in"})]):t._e(),t.disabled?t._e():n("span",{staticClass:"el-upload-list__item-delete",on:{click:function(n){t.$emit("remove",e)}}},[n("i",{staticClass:"el-icon-delete"})])]):t._e()],{file:e})],2)}),0)};Ga._withStripped=!0;var Wa=n(33),Ka=n.n(Wa),Ya=r({name:"ElUploadList",mixins:[p.a],data:function(){return{focusing:!1}},components:{ElProgress:Ka.a},props:{files:{type:Array,default:function(){return[]}},disabled:{type:Boolean,default:!1},handlePreview:Function,listType:String},methods:{parsePercentage:function(t){return parseInt(t,10)},handleClick:function(t){this.handlePreview&&this.handlePreview(t)}}},Ga,[],!1,null,null,null);Ya.options.__file="packages/upload/src/upload-list.vue";var Xa=Ya.exports,qa=n(24),Za=n.n(qa);var Ja=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"el-upload-dragger",class:{"is-dragover":t.dragover},on:{drop:function(e){return e.preventDefault(),t.onDrop(e)},dragover:function(e){return e.preventDefault(),t.onDragover(e)},dragleave:function(e){e.preventDefault(),t.dragover=!1}}},[t._t("default")],2)};Ja._withStripped=!0;var ts=r({name:"ElUploadDrag",props:{disabled:Boolean},inject:{uploader:{default:""}},data:function(){return{dragover:!1}},methods:{onDragover:function(){this.disabled||(this.dragover=!0)},onDrop:function(t){if(!this.disabled&&this.uploader){var e=this.uploader.accept;this.dragover=!1,e?this.$emit("file",[].slice.call(t.dataTransfer.files).filter(function(t){var n=t.type,i=t.name,r=i.indexOf(".")>-1?"."+i.split(".").pop():"",o=n.replace(/\/.*$/,"");return e.split(",").map(function(t){return t.trim()}).filter(function(t){return t}).some(function(t){return/\..+$/.test(t)?r===t:/\/\*$/.test(t)?o===t.replace(/\/\*$/,""):!!/^[^\/]+\/[^\/]+$/.test(t)&&n===t})})):this.$emit("file",t.dataTransfer.files)}}}},Ja,[],!1,null,null,null);ts.options.__file="packages/upload/src/upload-dragger.vue";var es=r({inject:["uploader"],components:{UploadDragger:ts.exports},props:{type:String,action:{type:String,required:!0},name:{type:String,default:"file"},data:Object,headers:Object,withCredentials:Boolean,multiple:Boolean,accept:String,onStart:Function,onProgress:Function,onSuccess:Function,onError:Function,beforeUpload:Function,drag:Boolean,onPreview:{type:Function,default:function(){}},onRemove:{type:Function,default:function(){}},fileList:Array,autoUpload:Boolean,listType:String,httpRequest:{type:Function,default:function(t){if("undefined"!=typeof XMLHttpRequest){var e=new XMLHttpRequest,n=t.action;e.upload&&(e.upload.onprogress=function(e){e.total>0&&(e.percent=e.loaded/e.total*100),t.onProgress(e)});var i=new FormData;t.data&&Object.keys(t.data).forEach(function(e){i.append(e,t.data[e])}),i.append(t.filename,t.file,t.file.name),e.onerror=function(e){t.onError(e)},e.onload=function(){if(e.status<200||e.status>=300)return t.onError(function(t,e,n){var i=void 0;i=n.response?""+(n.response.error||n.response):n.responseText?""+n.responseText:"fail to post "+t+" "+n.status;var r=new Error(i);return r.status=n.status,r.method="post",r.url=t,r}(n,0,e));t.onSuccess(function(t){var e=t.responseText||t.response;if(!e)return e;try{return JSON.parse(e)}catch(t){return e}}(e))},e.open("post",n,!0),t.withCredentials&&"withCredentials"in e&&(e.withCredentials=!0);var r=t.headers||{};for(var o in r)r.hasOwnProperty(o)&&null!==r[o]&&e.setRequestHeader(o,r[o]);return e.send(i),e}}},disabled:Boolean,limit:Number,onExceed:Function},data:function(){return{mouseover:!1,reqs:{}}},methods:{isImage:function(t){return-1!==t.indexOf("image")},handleChange:function(t){var e=t.target.files;e&&this.uploadFiles(e)},uploadFiles:function(t){var e=this;if(this.limit&&this.fileList.length+t.length>this.limit)this.onExceed&&this.onExceed(t,this.fileList);else{var n=Array.prototype.slice.call(t);this.multiple||(n=n.slice(0,1)),0!==n.length&&n.forEach(function(t){e.onStart(t),e.autoUpload&&e.upload(t)})}},upload:function(t){var e=this;if(this.$refs.input.value=null,!this.beforeUpload)return this.post(t);var n=this.beforeUpload(t);n&&n.then?n.then(function(n){var i=Object.prototype.toString.call(n);if("[object File]"===i||"[object Blob]"===i){for(var r in"[object Blob]"===i&&(n=new File([n],t.name,{type:t.type})),t)t.hasOwnProperty(r)&&(n[r]=t[r]);e.post(n)}else e.post(t)},function(){e.onRemove(null,t)}):!1!==n?this.post(t):this.onRemove(null,t)},abort:function(t){var e=this.reqs;if(t){var n=t;t.uid&&(n=t.uid),e[n]&&e[n].abort()}else Object.keys(e).forEach(function(t){e[t]&&e[t].abort(),delete e[t]})},post:function(t){var e=this,n=t.uid,i={headers:this.headers,withCredentials:this.withCredentials,file:t,data:this.data,filename:this.name,action:this.action,onProgress:function(n){e.onProgress(n,t)},onSuccess:function(i){e.onSuccess(i,t),delete e.reqs[n]},onError:function(i){e.onError(i,t),delete e.reqs[n]}},r=this.httpRequest(i);this.reqs[n]=r,r&&r.then&&r.then(i.onSuccess,i.onError)},handleClick:function(){this.disabled||(this.$refs.input.value=null,this.$refs.input.click())},handleKeydown:function(t){t.target===t.currentTarget&&(13!==t.keyCode&&32!==t.keyCode||this.handleClick())}},render:function(t){var e=this.handleClick,n=this.drag,i=this.name,r=this.handleChange,o=this.multiple,a=this.accept,s=this.listType,l=this.uploadFiles,c=this.disabled,u={class:{"el-upload":!0},on:{click:e,keydown:this.handleKeydown}};return u.class["el-upload--"+s]=!0,t("div",Za()([u,{attrs:{tabindex:"0"}}]),[n?t("upload-dragger",{attrs:{disabled:c},on:{file:l}},[this.$slots.default]):this.$slots.default,t("input",{class:"el-upload__input",attrs:{type:"file",name:i,multiple:o,accept:a},ref:"input",on:{change:r}})])}},void 0,void 0,!1,null,null,null);es.options.__file="packages/upload/src/upload.vue";var ns=es.exports;function is(){}var rs=r({name:"ElUpload",mixins:[w.a],components:{ElProgress:Ka.a,UploadList:Xa,Upload:ns},provide:function(){return{uploader:this}},inject:{elForm:{default:""}},props:{action:{type:String,required:!0},headers:{type:Object,default:function(){return{}}},data:Object,multiple:Boolean,name:{type:String,default:"file"},drag:Boolean,dragger:Boolean,withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:String,type:{type:String,default:"select"},beforeUpload:Function,beforeRemove:Function,onRemove:{type:Function,default:is},onChange:{type:Function,default:is},onPreview:{type:Function},onSuccess:{type:Function,default:is},onProgress:{type:Function,default:is},onError:{type:Function,default:is},fileList:{type:Array,default:function(){return[]}},autoUpload:{type:Boolean,default:!0},listType:{type:String,default:"text"},httpRequest:Function,disabled:Boolean,limit:Number,onExceed:{type:Function,default:is}},data:function(){return{uploadFiles:[],dragOver:!1,draging:!1,tempIndex:1}},computed:{uploadDisabled:function(){return this.disabled||(this.elForm||{}).disabled}},watch:{listType:function(t){"picture-card"!==t&&"picture"!==t||(this.uploadFiles=this.uploadFiles.map(function(t){if(!t.url&&t.raw)try{t.url=URL.createObjectURL(t.raw)}catch(t){console.error("[Element Error][Upload]",t)}return t}))},fileList:{immediate:!0,handler:function(t){var e=this;this.uploadFiles=t.map(function(t){return t.uid=t.uid||Date.now()+e.tempIndex++,t.status=t.status||"success",t})}}},methods:{handleStart:function(t){t.uid=Date.now()+this.tempIndex++;var e={status:"ready",name:t.name,size:t.size,percentage:0,uid:t.uid,raw:t};if("picture-card"===this.listType||"picture"===this.listType)try{e.url=URL.createObjectURL(t)}catch(t){return void console.error("[Element Error][Upload]",t)}this.uploadFiles.push(e),this.onChange(e,this.uploadFiles)},handleProgress:function(t,e){var n=this.getFile(e);this.onProgress(t,n,this.uploadFiles),n.status="uploading",n.percentage=t.percent||0},handleSuccess:function(t,e){var n=this.getFile(e);n&&(n.status="success",n.response=t,this.onSuccess(t,n,this.uploadFiles),this.onChange(n,this.uploadFiles))},handleError:function(t,e){var n=this.getFile(e),i=this.uploadFiles;n.status="fail",i.splice(i.indexOf(n),1),this.onError(t,n,this.uploadFiles),this.onChange(n,this.uploadFiles)},handleRemove:function(t,e){var n=this;e&&(t=this.getFile(e));var i=function(){n.abort(t);var e=n.uploadFiles;e.splice(e.indexOf(t),1),n.onRemove(t,e)};if(this.beforeRemove){if("function"==typeof this.beforeRemove){var r=this.beforeRemove(t,this.uploadFiles);r&&r.then?r.then(function(){i()},is):!1!==r&&i()}}else i()},getFile:function(t){var e=void 0;return this.uploadFiles.every(function(n){return!(e=t.uid===n.uid?n:null)}),e},abort:function(t){this.$refs["upload-inner"].abort(t)},clearFiles:function(){this.uploadFiles=[]},submit:function(){var t=this;this.uploadFiles.filter(function(t){return"ready"===t.status}).forEach(function(e){t.$refs["upload-inner"].upload(e.raw)})},getMigratingConfig:function(){return{props:{"default-file-list":"default-file-list is renamed to file-list.","show-upload-list":"show-upload-list is renamed to show-file-list.","thumbnail-mode":"thumbnail-mode has been deprecated, you can implement the same effect according to this case: http://element.eleme.io/#/zh-CN/component/upload#yong-hu-tou-xiang-shang-chuan"}}}},beforeDestroy:function(){this.uploadFiles.forEach(function(t){t.url&&0===t.url.indexOf("blob:")&&URL.revokeObjectURL(t.url)})},render:function(t){var e=this,n=void 0;this.showFileList&&(n=t(Xa,{attrs:{disabled:this.uploadDisabled,listType:this.listType,files:this.uploadFiles,handlePreview:this.onPreview},on:{remove:this.handleRemove}},[function(t){if(e.$scopedSlots.file)return e.$scopedSlots.file({file:t.file})}]));var i=t("upload",{props:{type:this.type,drag:this.drag,action:this.action,multiple:this.multiple,"before-upload":this.beforeUpload,"with-credentials":this.withCredentials,headers:this.headers,name:this.name,data:this.data,accept:this.accept,fileList:this.uploadFiles,autoUpload:this.autoUpload,listType:this.listType,disabled:this.uploadDisabled,limit:this.limit,"on-exceed":this.onExceed,"on-start":this.handleStart,"on-progress":this.handleProgress,"on-success":this.handleSuccess,"on-error":this.handleError,"on-preview":this.onPreview,"on-remove":this.handleRemove,"http-request":this.httpRequest},ref:"upload-inner"},[this.$slots.trigger||this.$slots.default]);return t("div",["picture-card"===this.listType?n:"",this.$slots.trigger?[i,this.$slots.default]:i,this.$slots.tip,"picture-card"!==this.listType?n:""])}},void 0,void 0,!1,null,null,null);rs.options.__file="packages/upload/src/index.vue";var os=rs.exports;os.install=function(t){t.component(os.name,os)};var as=os,ss=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"el-progress",class:["el-progress--"+t.type,t.status?"is-"+t.status:"",{"el-progress--without-text":!t.showText,"el-progress--text-inside":t.textInside}],attrs:{role:"progressbar","aria-valuenow":t.percentage,"aria-valuemin":"0","aria-valuemax":"100"}},["line"===t.type?n("div",{staticClass:"el-progress-bar"},[n("div",{staticClass:"el-progress-bar__outer",style:{height:t.strokeWidth+"px"}},[n("div",{staticClass:"el-progress-bar__inner",style:t.barStyle},[t.showText&&t.textInside?n("div",{staticClass:"el-progress-bar__innerText"},[t._v(t._s(t.content))]):t._e()])])]):n("div",{staticClass:"el-progress-circle",style:{height:t.width+"px",width:t.width+"px"}},[n("svg",{attrs:{viewBox:"0 0 100 100"}},[n("path",{staticClass:"el-progress-circle__track",style:t.trailPathStyle,attrs:{d:t.trackPath,stroke:"#e5e9f2","stroke-width":t.relativeStrokeWidth,fill:"none"}}),n("path",{staticClass:"el-progress-circle__path",style:t.circlePathStyle,attrs:{d:t.trackPath,stroke:t.stroke,fill:"none","stroke-linecap":t.strokeLinecap,"stroke-width":t.percentage?t.relativeStrokeWidth:0}})])]),t.showText&&!t.textInside?n("div",{staticClass:"el-progress__text",style:{fontSize:t.progressTextSize+"px"}},[t.status?n("i",{class:t.iconClass}):[t._v(t._s(t.content))]],2):t._e()])};ss._withStripped=!0;var ls=r({name:"ElProgress",props:{type:{type:String,default:"line",validator:function(t){return["line","circle","dashboard"].indexOf(t)>-1}},percentage:{type:Number,default:0,required:!0,validator:function(t){return t>=0&&t<=100}},status:{type:String,validator:function(t){return["success","exception","warning"].indexOf(t)>-1}},strokeWidth:{type:Number,default:6},strokeLinecap:{type:String,default:"round"},textInside:{type:Boolean,default:!1},width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:[String,Array,Function],default:""},format:Function},computed:{barStyle:function(){var t={};return t.width=this.percentage+"%",t.backgroundColor=this.getCurrentColor(this.percentage),t},relativeStrokeWidth:function(){return(this.strokeWidth/this.width*100).toFixed(1)},radius:function(){return"circle"===this.type||"dashboard"===this.type?parseInt(50-parseFloat(this.relativeStrokeWidth)/2,10):0},trackPath:function(){var t=this.radius,e="dashboard"===this.type;return"\n M 50 50\n m 0 "+(e?"":"-")+t+"\n a "+t+" "+t+" 0 1 1 0 "+(e?"-":"")+2*t+"\n a "+t+" "+t+" 0 1 1 0 "+(e?"":"-")+2*t+"\n "},perimeter:function(){return 2*Math.PI*this.radius},rate:function(){return"dashboard"===this.type?.75:1},strokeDashoffset:function(){return-1*this.perimeter*(1-this.rate)/2+"px"},trailPathStyle:function(){return{strokeDasharray:this.perimeter*this.rate+"px, "+this.perimeter+"px",strokeDashoffset:this.strokeDashoffset}},circlePathStyle:function(){return{strokeDasharray:this.perimeter*this.rate*(this.percentage/100)+"px, "+this.perimeter+"px",strokeDashoffset:this.strokeDashoffset,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease"}},stroke:function(){var t=void 0;if(this.color)t=this.getCurrentColor(this.percentage);else switch(this.status){case"success":t="#13ce66";break;case"exception":t="#ff4949";break;case"warning":t="#e6a23c";break;default:t="#20a0ff"}return t},iconClass:function(){return"warning"===this.status?"el-icon-warning":"line"===this.type?"success"===this.status?"el-icon-circle-check":"el-icon-circle-close":"success"===this.status?"el-icon-check":"el-icon-close"},progressTextSize:function(){return"line"===this.type?12+.4*this.strokeWidth:.111111*this.width+2},content:function(){return"function"==typeof this.format?this.format(this.percentage)||"":this.percentage+"%"}},methods:{getCurrentColor:function(t){return"function"==typeof this.color?this.color(t):"string"==typeof this.color?this.color:this.getLevelColor(t)},getLevelColor:function(t){for(var e=this.getColorArray().sort(function(t,e){return t.percentage-e.percentage}),n=0;n<e.length;n++)if(e[n].percentage>t)return e[n].color;return e[e.length-1].color},getColorArray:function(){var t=this.color,e=100/t.length;return t.map(function(t,n){return"string"==typeof t?{color:t,percentage:(n+1)*e}:t})}}},ss,[],!1,null,null,null);ls.options.__file="packages/progress/src/progress.vue";var cs=ls.exports;cs.install=function(t){t.component(cs.name,cs)};var us=cs,hs=function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"el-spinner"},[e("svg",{staticClass:"el-spinner-inner",style:{width:this.radius/2+"px",height:this.radius/2+"px"},attrs:{viewBox:"0 0 50 50"}},[e("circle",{staticClass:"path",attrs:{cx:"25",cy:"25",r:"20",fill:"none",stroke:this.strokeColor,"stroke-width":this.strokeWidth}})])])};hs._withStripped=!0;var ds=r({name:"ElSpinner",props:{type:String,radius:{type:Number,default:100},strokeWidth:{type:Number,default:5},strokeColor:{type:String,default:"#efefef"}}},hs,[],!1,null,null,null);ds.options.__file="packages/spinner/src/spinner.vue";var fs=ds.exports;fs.install=function(t){t.component(fs.name,fs)};var ps=fs,As=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"el-message-fade"},on:{"after-leave":t.handleAfterLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],class:["el-message",t.type&&!t.iconClass?"el-message--"+t.type:"",t.center?"is-center":"",t.showClose?"is-closable":"",t.customClass],style:t.positionStyle,attrs:{role:"alert"},on:{mouseenter:t.clearTimer,mouseleave:t.startTimer}},[t.iconClass?n("i",{class:t.iconClass}):n("i",{class:t.typeClass}),t._t("default",[t.dangerouslyUseHTMLString?n("p",{staticClass:"el-message__content",domProps:{innerHTML:t._s(t.message)}}):n("p",{staticClass:"el-message__content"},[t._v(t._s(t.message))])]),t.showClose?n("i",{staticClass:"el-message__closeBtn el-icon-close",on:{click:t.close}}):t._e()],2)])};As._withStripped=!0;var gs={success:"success",info:"info",warning:"warning",error:"error"},vs=r({data:function(){return{visible:!1,message:"",duration:3e3,type:"info",iconClass:"",customClass:"",onClose:null,showClose:!1,closed:!1,verticalOffset:20,timer:null,dangerouslyUseHTMLString:!1,center:!1}},computed:{typeClass:function(){return this.type&&!this.iconClass?"el-message__icon el-icon-"+gs[this.type]:""},positionStyle:function(){return{top:this.verticalOffset+"px"}}},watch:{closed:function(t){t&&(this.visible=!1)}},methods:{handleAfterLeave:function(){this.$destroy(!0),this.$el.parentNode.removeChild(this.$el)},close:function(){this.closed=!0,"function"==typeof this.onClose&&this.onClose(this)},clearTimer:function(){clearTimeout(this.timer)},startTimer:function(){var t=this;this.duration>0&&(this.timer=setTimeout(function(){t.closed||t.close()},this.duration))},keydown:function(t){27===t.keyCode&&(this.closed||this.close())}},mounted:function(){this.startTimer(),document.addEventListener("keydown",this.keydown)},beforeDestroy:function(){document.removeEventListener("keydown",this.keydown)}},As,[],!1,null,null,null);vs.options.__file="packages/message/src/main.vue";var ms=vs.exports,ys=hn.a.extend(ms),bs=void 0,_s=[],ws=1,xs=function t(e){if(!hn.a.prototype.$isServer){"string"==typeof(e=e||{})&&(e={message:e});var n=e.onClose,i="message_"+ws++;e.onClose=function(){t.close(i,n)},(bs=new ys({data:e})).id=i,Object(Hr.isVNode)(bs.message)&&(bs.$slots.default=[bs.message],bs.message=null),bs.$mount(),document.body.appendChild(bs.$el);var r=e.offset||20;return _s.forEach(function(t){r+=t.$el.offsetHeight+16}),bs.verticalOffset=r,bs.visible=!0,bs.$el.style.zIndex=y.PopupManager.nextZIndex(),_s.push(bs),bs}};["success","warning","info","error"].forEach(function(t){xs[t]=function(e){return"string"==typeof e&&(e={message:e}),e.type=t,xs(e)}}),xs.close=function(t,e){for(var n=_s.length,i=-1,r=void 0,o=0;o<n;o++)if(t===_s[o].id){r=_s[o].$el.offsetHeight,i=o,"function"==typeof e&&e(_s[o]),_s.splice(o,1);break}if(!(n<=1||-1===i||i>_s.length-1))for(var a=i;a<n-1;a++){var s=_s[a].$el;s.style.top=parseInt(s.style.top,10)-r-16+"px"}},xs.closeAll=function(){for(var t=_s.length-1;t>=0;t--)_s[t].close()};var Cs=xs,Ss=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"el-badge"},[t._t("default"),n("transition",{attrs:{name:"el-zoom-in-center"}},[n("sup",{directives:[{name:"show",rawName:"v-show",value:!t.hidden&&(t.content||0===t.content||t.isDot),expression:"!hidden && (content || content === 0 || isDot)"}],staticClass:"el-badge__content",class:["el-badge__content--"+t.type,{"is-fixed":t.$slots.default,"is-dot":t.isDot}],domProps:{textContent:t._s(t.content)}})])],2)};Ss._withStripped=!0;var Bs=r({name:"ElBadge",props:{value:[String,Number],max:Number,isDot:Boolean,hidden:Boolean,type:{type:String,validator:function(t){return["primary","success","warning","info","danger"].indexOf(t)>-1}}},computed:{content:function(){if(!this.isDot){var t=this.value,e=this.max;return"number"==typeof t&&"number"==typeof e&&e<t?e+"+":t}}}},Ss,[],!1,null,null,null);Bs.options.__file="packages/badge/src/main.vue";var ks=Bs.exports;ks.install=function(t){t.component(ks.name,ks)};var Ts=ks,Os=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"el-card",class:t.shadow?"is-"+t.shadow+"-shadow":"is-always-shadow"},[t.$slots.header||t.header?n("div",{staticClass:"el-card__header"},[t._t("header",[t._v(t._s(t.header))])],2):t._e(),n("div",{staticClass:"el-card__body",style:t.bodyStyle},[t._t("default")],2)])};Os._withStripped=!0;var Es=r({name:"ElCard",props:{header:{},bodyStyle:{},shadow:{type:String}}},Os,[],!1,null,null,null);Es.options.__file="packages/card/src/main.vue";var Is=Es.exports;Is.install=function(t){t.component(Is.name,Is)};var Ms=Is,Ds=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"el-rate",attrs:{role:"slider","aria-valuenow":t.currentValue,"aria-valuetext":t.text,"aria-valuemin":"0","aria-valuemax":t.max,tabindex:"0"},on:{keydown:t.handleKey}},[t._l(t.max,function(e,i){return n("span",{key:i,staticClass:"el-rate__item",style:{cursor:t.rateDisabled?"auto":"pointer"},on:{mousemove:function(n){t.setCurrentValue(e,n)},mouseleave:t.resetCurrentValue,click:function(n){t.selectValue(e)}}},[n("i",{staticClass:"el-rate__icon",class:[t.classes[e-1],{hover:t.hoverIndex===e}],style:t.getIconStyle(e)},[t.showDecimalIcon(e)?n("i",{staticClass:"el-rate__decimal",class:t.decimalIconClass,style:t.decimalStyle}):t._e()])])}),t.showText||t.showScore?n("span",{staticClass:"el-rate__text",style:{color:t.textColor}},[t._v(t._s(t.text))]):t._e()],2)};Ds._withStripped=!0;var Ls=n(18),Fs=r({name:"ElRate",mixins:[w.a],inject:{elForm:{default:""}},data:function(){return{pointerAtLeftHalf:!0,currentValue:this.value,hoverIndex:-1}},props:{value:{type:Number,default:0},lowThreshold:{type:Number,default:2},highThreshold:{type:Number,default:4},max:{type:Number,default:5},colors:{type:[Array,Object],default:function(){return["#F7BA2A","#F7BA2A","#F7BA2A"]}},voidColor:{type:String,default:"#C6D1DE"},disabledVoidColor:{type:String,default:"#EFF2F7"},iconClasses:{type:[Array,Object],default:function(){return["el-icon-star-on","el-icon-star-on","el-icon-star-on"]}},voidIconClass:{type:String,default:"el-icon-star-off"},disabledVoidIconClass:{type:String,default:"el-icon-star-on"},disabled:{type:Boolean,default:!1},allowHalf:{type:Boolean,default:!1},showText:{type:Boolean,default:!1},showScore:{type:Boolean,default:!1},textColor:{type:String,default:"#1f2d3d"},texts:{type:Array,default:function(){return["极差","失望","一般","满意","惊喜"]}},scoreTemplate:{type:String,default:"{value}"}},computed:{text:function(){var t="";return this.showScore?t=this.scoreTemplate.replace(/\{\s*value\s*\}/,this.rateDisabled?this.value:this.currentValue):this.showText&&(t=this.texts[Math.ceil(this.currentValue)-1]),t},decimalStyle:function(){var t="";return this.rateDisabled?t=this.valueDecimal+"%":this.allowHalf&&(t="50%"),{color:this.activeColor,width:t}},valueDecimal:function(){return 100*this.value-100*Math.floor(this.value)},classMap:function(){var t;return Array.isArray(this.iconClasses)?((t={})[this.lowThreshold]=this.iconClasses[0],t[this.highThreshold]={value:this.iconClasses[1],excluded:!0},t[this.max]=this.iconClasses[2],t):this.iconClasses},decimalIconClass:function(){return this.getValueFromMap(this.value,this.classMap)},voidClass:function(){return this.rateDisabled?this.disabledVoidIconClass:this.voidIconClass},activeClass:function(){return this.getValueFromMap(this.currentValue,this.classMap)},colorMap:function(){var t;return Array.isArray(this.colors)?((t={})[this.lowThreshold]=this.colors[0],t[this.highThreshold]={value:this.colors[1],excluded:!0},t[this.max]=this.colors[2],t):this.colors},activeColor:function(){return this.getValueFromMap(this.currentValue,this.colorMap)},classes:function(){var t=[],e=0,n=this.currentValue;for(this.allowHalf&&this.currentValue!==Math.floor(this.currentValue)&&n--;e<n;e++)t.push(this.activeClass);for(;e<this.max;e++)t.push(this.voidClass);return t},rateDisabled:function(){return this.disabled||(this.elForm||{}).disabled}},watch:{value:function(t){this.currentValue=t,this.pointerAtLeftHalf=this.value!==Math.floor(this.value)}},methods:{getMigratingConfig:function(){return{props:{"text-template":"text-template is renamed to score-template."}}},getValueFromMap:function(t,e){var n=Object.keys(e).filter(function(n){var i=e[n];return!!Object(Ls.isObject)(i)&&i.excluded?t<n:t<=n}).sort(function(t,e){return t-e}),i=e[n[0]];return Object(Ls.isObject)(i)?i.value:i||""},showDecimalIcon:function(t){var e=this.rateDisabled&&this.valueDecimal>0&&t-1<this.value&&t>this.value,n=this.allowHalf&&this.pointerAtLeftHalf&&t-.5<=this.currentValue&&t>this.currentValue;return e||n},getIconStyle:function(t){var e=this.rateDisabled?this.disabledVoidColor:this.voidColor;return{color:t<=this.currentValue?this.activeColor:e}},selectValue:function(t){this.rateDisabled||(this.allowHalf&&this.pointerAtLeftHalf?(this.$emit("input",this.currentValue),this.$emit("change",this.currentValue)):(this.$emit("input",t),this.$emit("change",t)))},handleKey:function(t){if(!this.rateDisabled){var e=this.currentValue,n=t.keyCode;38===n||39===n?(this.allowHalf?e+=.5:e+=1,t.stopPropagation(),t.preventDefault()):37!==n&&40!==n||(this.allowHalf?e-=.5:e-=1,t.stopPropagation(),t.preventDefault()),e=(e=e<0?0:e)>this.max?this.max:e,this.$emit("input",e),this.$emit("change",e)}},setCurrentValue:function(t,e){if(!this.rateDisabled){if(this.allowHalf){var n=e.target;Object(pt.hasClass)(n,"el-rate__item")&&(n=n.querySelector(".el-rate__icon")),Object(pt.hasClass)(n,"el-rate__decimal")&&(n=n.parentNode),this.pointerAtLeftHalf=2*e.offsetX<=n.clientWidth,this.currentValue=this.pointerAtLeftHalf?t-.5:t}else this.currentValue=t;this.hoverIndex=t}},resetCurrentValue:function(){this.rateDisabled||(this.allowHalf&&(this.pointerAtLeftHalf=this.value!==Math.floor(this.value)),this.currentValue=this.value,this.hoverIndex=-1)}},created:function(){this.value||this.$emit("input",0)}},Ds,[],!1,null,null,null);Fs.options.__file="packages/rate/src/main.vue";var Ps=Fs.exports;Ps.install=function(t){t.component(Ps.name,Ps)};var Ns=Ps,js=function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"el-steps",class:[!this.simple&&"el-steps--"+this.direction,this.simple&&"el-steps--simple"]},[this._t("default")],2)};js._withStripped=!0;var Us=r({name:"ElSteps",mixins:[w.a],props:{space:[Number,String],active:Number,direction:{type:String,default:"horizontal"},alignCenter:Boolean,simple:Boolean,finishStatus:{type:String,default:"finish"},processStatus:{type:String,default:"process"}},data:function(){return{steps:[],stepOffset:0}},methods:{getMigratingConfig:function(){return{props:{center:"center is removed."}}}},watch:{active:function(t,e){this.$emit("change",t,e)},steps:function(t){t.forEach(function(t,e){t.index=e})}}},js,[],!1,null,null,null);Us.options.__file="packages/steps/src/steps.vue";var Rs=Us.exports;Rs.install=function(t){t.component(Rs.name,Rs)};var Qs=Rs,Hs=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"el-step",class:[!t.isSimple&&"is-"+t.$parent.direction,t.isSimple&&"is-simple",t.isLast&&!t.space&&!t.isCenter&&"is-flex",t.isCenter&&!t.isVertical&&!t.isSimple&&"is-center"],style:t.style},[n("div",{staticClass:"el-step__head",class:"is-"+t.currentStatus},[n("div",{staticClass:"el-step__line",style:t.isLast?"":{marginRight:t.$parent.stepOffset+"px"}},[n("i",{staticClass:"el-step__line-inner",style:t.lineStyle})]),n("div",{staticClass:"el-step__icon",class:"is-"+(t.icon?"icon":"text")},["success"!==t.currentStatus&&"error"!==t.currentStatus?t._t("icon",[t.icon?n("i",{staticClass:"el-step__icon-inner",class:[t.icon]}):t._e(),t.icon||t.isSimple?t._e():n("div",{staticClass:"el-step__icon-inner"},[t._v(t._s(t.index+1))])]):n("i",{staticClass:"el-step__icon-inner is-status",class:["el-icon-"+("success"===t.currentStatus?"check":"close")]})],2)]),n("div",{staticClass:"el-step__main"},[n("div",{ref:"title",staticClass:"el-step__title",class:["is-"+t.currentStatus]},[t._t("title",[t._v(t._s(t.title))])],2),t.isSimple?n("div",{staticClass:"el-step__arrow"}):n("div",{staticClass:"el-step__description",class:["is-"+t.currentStatus]},[t._t("description",[t._v(t._s(t.description))])],2)])])};Hs._withStripped=!0;var Vs=r({name:"ElStep",props:{title:String,icon:String,description:String,status:String},data:function(){return{index:-1,lineStyle:{},internalStatus:""}},beforeCreate:function(){this.$parent.steps.push(this)},beforeDestroy:function(){var t=this.$parent.steps,e=t.indexOf(this);e>=0&&t.splice(e,1)},computed:{currentStatus:function(){return this.status||this.internalStatus},prevStatus:function(){var t=this.$parent.steps[this.index-1];return t?t.currentStatus:"wait"},isCenter:function(){return this.$parent.alignCenter},isVertical:function(){return"vertical"===this.$parent.direction},isSimple:function(){return this.$parent.simple},isLast:function(){var t=this.$parent;return t.steps[t.steps.length-1]===this},stepsCount:function(){return this.$parent.steps.length},space:function(){var t=this.isSimple,e=this.$parent.space;return t?"":e},style:function(){var t={},e=this.$parent.steps.length,n="number"==typeof this.space?this.space+"px":this.space?this.space:100/(e-(this.isCenter?0:1))+"%";return t.flexBasis=n,this.isVertical?t:(this.isLast?t.maxWidth=100/this.stepsCount+"%":t.marginRight=-this.$parent.stepOffset+"px",t)}},methods:{updateStatus:function(t){var e=this.$parent.$children[this.index-1];t>this.index?this.internalStatus=this.$parent.finishStatus:t===this.index&&"error"!==this.prevStatus?this.internalStatus=this.$parent.processStatus:this.internalStatus="wait",e&&e.calcProgress(this.internalStatus)},calcProgress:function(t){var e=100,n={};n.transitionDelay=150*this.index+"ms",t===this.$parent.processStatus?(this.currentStatus,e=0):"wait"===t&&(e=0,n.transitionDelay=-150*this.index+"ms"),n.borderWidth=e&&!this.isSimple?"1px":0,"vertical"===this.$parent.direction?n.height=e+"%":n.width=e+"%",this.lineStyle=n}},mounted:function(){var t=this,e=this.$watch("index",function(n){t.$watch("$parent.active",t.updateStatus,{immediate:!0}),t.$watch("$parent.processStatus",function(){var e=t.$parent.active;t.updateStatus(e)},{immediate:!0}),e()})}},Hs,[],!1,null,null,null);Vs.options.__file="packages/steps/src/step.vue";var zs=Vs.exports;zs.install=function(t){t.component(zs.name,zs)};var $s=zs,Gs=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.carouselClasses,on:{mouseenter:function(e){return e.stopPropagation(),t.handleMouseEnter(e)},mouseleave:function(e){return e.stopPropagation(),t.handleMouseLeave(e)}}},[n("div",{staticClass:"el-carousel__container",style:{height:t.height}},[t.arrowDisplay?n("transition",{attrs:{name:"carousel-arrow-left"}},[n("button",{directives:[{name:"show",rawName:"v-show",value:("always"===t.arrow||t.hover)&&(t.loop||t.activeIndex>0),expression:"(arrow === 'always' || hover) && (loop || activeIndex > 0)"}],staticClass:"el-carousel__arrow el-carousel__arrow--left",attrs:{type:"button"},on:{mouseenter:function(e){t.handleButtonEnter("left")},mouseleave:t.handleButtonLeave,click:function(e){e.stopPropagation(),t.throttledArrowClick(t.activeIndex-1)}}},[n("i",{staticClass:"el-icon-arrow-left"})])]):t._e(),t.arrowDisplay?n("transition",{attrs:{name:"carousel-arrow-right"}},[n("button",{directives:[{name:"show",rawName:"v-show",value:("always"===t.arrow||t.hover)&&(t.loop||t.activeIndex<t.items.length-1),expression:"(arrow === 'always' || hover) && (loop || activeIndex < items.length - 1)"}],staticClass:"el-carousel__arrow el-carousel__arrow--right",attrs:{type:"button"},on:{mouseenter:function(e){t.handleButtonEnter("right")},mouseleave:t.handleButtonLeave,click:function(e){e.stopPropagation(),t.throttledArrowClick(t.activeIndex+1)}}},[n("i",{staticClass:"el-icon-arrow-right"})])]):t._e(),t._t("default")],2),"none"!==t.indicatorPosition?n("ul",{class:t.indicatorsClasses},t._l(t.items,function(e,i){return n("li",{key:i,class:["el-carousel__indicator","el-carousel__indicator--"+t.direction,{"is-active":i===t.activeIndex}],on:{mouseenter:function(e){t.throttledIndicatorHover(i)},click:function(e){e.stopPropagation(),t.handleIndicatorClick(i)}}},[n("button",{staticClass:"el-carousel__button"},[t.hasLabel?n("span",[t._v(t._s(e.label))]):t._e()])])}),0):t._e()])};Gs._withStripped=!0;var Ws=n(25),Ks=n.n(Ws),Ys=r({name:"ElCarousel",props:{initialIndex:{type:Number,default:0},height:String,trigger:{type:String,default:"hover"},autoplay:{type:Boolean,default:!0},interval:{type:Number,default:3e3},indicatorPosition:String,indicator:{type:Boolean,default:!0},arrow:{type:String,default:"hover"},type:String,loop:{type:Boolean,default:!0},direction:{type:String,default:"horizontal",validator:function(t){return-1!==["horizontal","vertical"].indexOf(t)}}},data:function(){return{items:[],activeIndex:-1,containerWidth:0,timer:null,hover:!1}},computed:{arrowDisplay:function(){return"never"!==this.arrow&&"vertical"!==this.direction},hasLabel:function(){return this.items.some(function(t){return t.label.toString().length>0})},carouselClasses:function(){var t=["el-carousel","el-carousel--"+this.direction];return"card"===this.type&&t.push("el-carousel--card"),t},indicatorsClasses:function(){var t=["el-carousel__indicators","el-carousel__indicators--"+this.direction];return this.hasLabel&&t.push("el-carousel__indicators--labels"),"outside"!==this.indicatorPosition&&"card"!==this.type||t.push("el-carousel__indicators--outside"),t}},watch:{items:function(t){t.length>0&&this.setActiveItem(this.initialIndex)},activeIndex:function(t,e){this.resetItemPosition(e),e>-1&&this.$emit("change",t,e)},autoplay:function(t){t?this.startTimer():this.pauseTimer()},loop:function(){this.setActiveItem(this.activeIndex)}},methods:{handleMouseEnter:function(){this.hover=!0,this.pauseTimer()},handleMouseLeave:function(){this.hover=!1,this.startTimer()},itemInStage:function(t,e){var n=this.items.length;return e===n-1&&t.inStage&&this.items[0].active||t.inStage&&this.items[e+1]&&this.items[e+1].active?"left":!!(0===e&&t.inStage&&this.items[n-1].active||t.inStage&&this.items[e-1]&&this.items[e-1].active)&&"right"},handleButtonEnter:function(t){var e=this;"vertical"!==this.direction&&this.items.forEach(function(n,i){t===e.itemInStage(n,i)&&(n.hover=!0)})},handleButtonLeave:function(){"vertical"!==this.direction&&this.items.forEach(function(t){t.hover=!1})},updateItems:function(){this.items=this.$children.filter(function(t){return"ElCarouselItem"===t.$options.name})},resetItemPosition:function(t){var e=this;this.items.forEach(function(n,i){n.translateItem(i,e.activeIndex,t)})},playSlides:function(){this.activeIndex<this.items.length-1?this.activeIndex++:this.loop&&(this.activeIndex=0)},pauseTimer:function(){this.timer&&(clearInterval(this.timer),this.timer=null)},startTimer:function(){this.interval<=0||!this.autoplay||this.timer||(this.timer=setInterval(this.playSlides,this.interval))},setActiveItem:function(t){if("string"==typeof t){var e=this.items.filter(function(e){return e.name===t});e.length>0&&(t=this.items.indexOf(e[0]))}if(t=Number(t),isNaN(t)||t!==Math.floor(t))console.warn("[Element Warn][Carousel]index must be an integer.");else{var n=this.items.length,i=this.activeIndex;this.activeIndex=t<0?this.loop?n-1:0:t>=n?this.loop?0:n-1:t,i===this.activeIndex&&this.resetItemPosition(i)}},prev:function(){this.setActiveItem(this.activeIndex-1)},next:function(){this.setActiveItem(this.activeIndex+1)},handleIndicatorClick:function(t){this.activeIndex=t},handleIndicatorHover:function(t){"hover"===this.trigger&&t!==this.activeIndex&&(this.activeIndex=t)}},created:function(){var t=this;this.throttledArrowClick=Ks()(300,!0,function(e){t.setActiveItem(e)}),this.throttledIndicatorHover=Ks()(300,function(e){t.handleIndicatorHover(e)})},mounted:function(){var t=this;this.updateItems(),this.$nextTick(function(){Object(Pe.addResizeListener)(t.$el,t.resetItemPosition),t.initialIndex<t.items.length&&t.initialIndex>=0&&(t.activeIndex=t.initialIndex),t.startTimer()})},beforeDestroy:function(){this.$el&&Object(Pe.removeResizeListener)(this.$el,this.resetItemPosition),this.pauseTimer()}},Gs,[],!1,null,null,null);Ys.options.__file="packages/carousel/src/main.vue";var Xs=Ys.exports;Xs.install=function(t){t.component(Xs.name,Xs)};var qs=Xs,Zs={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}};var Js={name:"Bar",props:{vertical:Boolean,size:String,move:Number},computed:{bar:function(){return Zs[this.vertical?"vertical":"horizontal"]},wrap:function(){return this.$parent.wrap}},render:function(t){var e=this.size,n=this.move,i=this.bar;return t("div",{class:["el-scrollbar__bar","is-"+i.key],on:{mousedown:this.clickTrackHandler}},[t("div",{ref:"thumb",class:"el-scrollbar__thumb",on:{mousedown:this.clickThumbHandler},style:function(t){var e=t.move,n=t.size,i=t.bar,r={},o="translate"+i.axis+"("+e+"%)";return r[i.size]=n,r.transform=o,r.msTransform=o,r.webkitTransform=o,r}({size:e,move:n,bar:i})})])},methods:{clickThumbHandler:function(t){t.ctrlKey||2===t.button||(this.startDrag(t),this[this.bar.axis]=t.currentTarget[this.bar.offset]-(t[this.bar.client]-t.currentTarget.getBoundingClientRect()[this.bar.direction]))},clickTrackHandler:function(t){var e=100*(Math.abs(t.target.getBoundingClientRect()[this.bar.direction]-t[this.bar.client])-this.$refs.thumb[this.bar.offset]/2)/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=e*this.wrap[this.bar.scrollSize]/100},startDrag:function(t){t.stopImmediatePropagation(),this.cursorDown=!0,Object(pt.on)(document,"mousemove",this.mouseMoveDocumentHandler),Object(pt.on)(document,"mouseup",this.mouseUpDocumentHandler),document.onselectstart=function(){return!1}},mouseMoveDocumentHandler:function(t){if(!1!==this.cursorDown){var e=this[this.bar.axis];if(e){var n=100*(-1*(this.$el.getBoundingClientRect()[this.bar.direction]-t[this.bar.client])-(this.$refs.thumb[this.bar.offset]-e))/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=n*this.wrap[this.bar.scrollSize]/100}}},mouseUpDocumentHandler:function(t){this.cursorDown=!1,this[this.bar.axis]=0,Object(pt.off)(document,"mousemove",this.mouseMoveDocumentHandler),document.onselectstart=null}},destroyed:function(){Object(pt.off)(document,"mouseup",this.mouseUpDocumentHandler)}},tl={name:"ElScrollbar",components:{Bar:Js},props:{native:Boolean,wrapStyle:{},wrapClass:{},viewClass:{},viewStyle:{},noresize:Boolean,tag:{type:String,default:"div"}},data:function(){return{sizeWidth:"0",sizeHeight:"0",moveX:0,moveY:0}},computed:{wrap:function(){return this.$refs.wrap}},render:function(t){var e=Ln()(),n=this.wrapStyle;if(e){var i="-"+e+"px",r="margin-bottom: "+i+"; margin-right: "+i+";";Array.isArray(this.wrapStyle)?(n=Object(A.toObject)(this.wrapStyle)).marginRight=n.marginBottom=i:"string"==typeof this.wrapStyle?n+=r:n=r}var o=t(this.tag,{class:["el-scrollbar__view",this.viewClass],style:this.viewStyle,ref:"resize"},this.$slots.default),a=t("div",{ref:"wrap",style:n,on:{scroll:this.handleScroll},class:[this.wrapClass,"el-scrollbar__wrap",e?"":"el-scrollbar__wrap--hidden-default"]},[[o]]);return t("div",{class:"el-scrollbar"},this.native?[t("div",{ref:"wrap",class:[this.wrapClass,"el-scrollbar__wrap"],style:n},[[o]])]:[a,t(Js,{attrs:{move:this.moveX,size:this.sizeWidth}}),t(Js,{attrs:{vertical:!0,move:this.moveY,size:this.sizeHeight}})])},methods:{handleScroll:function(){var t=this.wrap;this.moveY=100*t.scrollTop/t.clientHeight,this.moveX=100*t.scrollLeft/t.clientWidth},update:function(){var t,e,n=this.wrap;n&&(t=100*n.clientHeight/n.scrollHeight,e=100*n.clientWidth/n.scrollWidth,this.sizeHeight=t<100?t+"%":"",this.sizeWidth=e<100?e+"%":"")}},mounted:function(){this.native||(this.$nextTick(this.update),!this.noresize&&Object(Pe.addResizeListener)(this.$refs.resize,this.update))},beforeDestroy:function(){this.native||!this.noresize&&Object(Pe.removeResizeListener)(this.$refs.resize,this.update)},install:function(t){t.component(tl.name,tl)}},el=tl,nl=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.ready,expression:"ready"}],staticClass:"el-carousel__item",class:{"is-active":t.active,"el-carousel__item--card":"card"===t.$parent.type,"is-in-stage":t.inStage,"is-hover":t.hover,"is-animating":t.animating},style:t.itemStyle,on:{click:t.handleItemClick}},["card"===t.$parent.type?n("div",{directives:[{name:"show",rawName:"v-show",value:!t.active,expression:"!active"}],staticClass:"el-carousel__mask"}):t._e(),t._t("default")],2)};nl._withStripped=!0;var il=r({name:"ElCarouselItem",props:{name:String,label:{type:[String,Number],default:""}},data:function(){return{hover:!1,translate:0,scale:1,active:!1,ready:!1,inStage:!1,animating:!1}},methods:{processIndex:function(t,e,n){return 0===e&&t===n-1?-1:e===n-1&&0===t?n:t<e-1&&e-t>=n/2?n+1:t>e+1&&t-e>=n/2?-2:t},calcCardTranslate:function(t,e){var n=this.$parent.$el.offsetWidth;return this.inStage?n*(1.17*(t-e)+1)/4:t<e?-1.83*n/4:3.83*n/4},calcTranslate:function(t,e,n){return this.$parent.$el[n?"offsetHeight":"offsetWidth"]*(t-e)},translateItem:function(t,e,n){var i=this.$parent.type,r=this.parentDirection,o=this.$parent.items.length;if("card"!==i&&void 0!==n&&(this.animating=t===e||t===n),t!==e&&o>2&&this.$parent.loop&&(t=this.processIndex(t,e,o)),"card"===i)"vertical"===r&&console.warn("[Element Warn][Carousel]vertical direction is not supported in card mode"),this.inStage=Math.round(Math.abs(t-e))<=1,this.active=t===e,this.translate=this.calcCardTranslate(t,e),this.scale=this.active?1:.83;else{this.active=t===e;var a="vertical"===r;this.translate=this.calcTranslate(t,e,a)}this.ready=!0},handleItemClick:function(){var t=this.$parent;if(t&&"card"===t.type){var e=t.items.indexOf(this);t.setActiveItem(e)}}},computed:{parentDirection:function(){return this.$parent.direction},itemStyle:function(){var t={transform:("vertical"===this.parentDirection?"translateY":"translateX")+"("+this.translate+"px) scale("+this.scale+")"};return Object(A.autoprefixer)(t)}},created:function(){this.$parent&&this.$parent.updateItems()},destroyed:function(){this.$parent&&this.$parent.updateItems()}},nl,[],!1,null,null,null);il.options.__file="packages/carousel/src/item.vue";var rl=il.exports;rl.install=function(t){t.component(rl.name,rl)};var ol=rl,al=function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"el-collapse",attrs:{role:"tablist","aria-multiselectable":"true"}},[this._t("default")],2)};al._withStripped=!0;var sl=r({name:"ElCollapse",componentName:"ElCollapse",props:{accordion:Boolean,value:{type:[Array,String,Number],default:function(){return[]}}},data:function(){return{activeNames:[].concat(this.value)}},provide:function(){return{collapse:this}},watch:{value:function(t){this.activeNames=[].concat(t)}},methods:{setActiveNames:function(t){t=[].concat(t);var e=this.accordion?t[0]:t;this.activeNames=t,this.$emit("input",e),this.$emit("change",e)},handleItemClick:function(t){if(this.accordion)this.setActiveNames(!this.activeNames[0]&&0!==this.activeNames[0]||this.activeNames[0]!==t.name?t.name:"");else{var e=this.activeNames.slice(0),n=e.indexOf(t.name);n>-1?e.splice(n,1):e.push(t.name),this.setActiveNames(e)}}},created:function(){this.$on("item-click",this.handleItemClick)}},al,[],!1,null,null,null);sl.options.__file="packages/collapse/src/collapse.vue";var ll=sl.exports;ll.install=function(t){t.component(ll.name,ll)};var cl=ll,ul=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"el-collapse-item",class:{"is-active":t.isActive,"is-disabled":t.disabled}},[n("div",{attrs:{role:"tab","aria-expanded":t.isActive,"aria-controls":"el-collapse-content-"+t.id,"aria-describedby":"el-collapse-content-"+t.id}},[n("div",{staticClass:"el-collapse-item__header",class:{focusing:t.focusing,"is-active":t.isActive},attrs:{role:"button",id:"el-collapse-head-"+t.id,tabindex:t.disabled?void 0:0},on:{click:t.handleHeaderClick,keyup:function(e){return"button"in e||!t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"])||!t._k(e.keyCode,"enter",13,e.key,"Enter")?(e.stopPropagation(),t.handleEnterClick(e)):null},focus:t.handleFocus,blur:function(e){t.focusing=!1}}},[t._t("title",[t._v(t._s(t.title))]),n("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-right",class:{"is-active":t.isActive}})],2)]),n("el-collapse-transition",[n("div",{directives:[{name:"show",rawName:"v-show",value:t.isActive,expression:"isActive"}],staticClass:"el-collapse-item__wrap",attrs:{role:"tabpanel","aria-hidden":!t.isActive,"aria-labelledby":"el-collapse-head-"+t.id,id:"el-collapse-content-"+t.id}},[n("div",{staticClass:"el-collapse-item__content"},[t._t("default")],2)])])],1)};ul._withStripped=!0;var hl=r({name:"ElCollapseItem",componentName:"ElCollapseItem",mixins:[C.a],components:{ElCollapseTransition:yt.a},data:function(){return{contentWrapStyle:{height:"auto",display:"block"},contentHeight:0,focusing:!1,isClick:!1,id:Object(A.generateId)()}},inject:["collapse"],props:{title:String,name:{type:[String,Number],default:function(){return this._uid}},disabled:Boolean},computed:{isActive:function(){return this.collapse.activeNames.indexOf(this.name)>-1}},methods:{handleFocus:function(){var t=this;setTimeout(function(){t.isClick?t.isClick=!1:t.focusing=!0},50)},handleHeaderClick:function(){this.disabled||(this.dispatch("ElCollapse","item-click",this),this.focusing=!1,this.isClick=!0)},handleEnterClick:function(){this.dispatch("ElCollapse","item-click",this)}}},ul,[],!1,null,null,null);hl.options.__file="packages/collapse/src/collapse-item.vue";var dl=hl.exports;dl.install=function(t){t.component(dl.name,dl)};var fl=dl,pl=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:function(){return t.toggleDropDownVisible(!1)},expression:"() => toggleDropDownVisible(false)"}],ref:"reference",class:["el-cascader",t.realSize&&"el-cascader--"+t.realSize,{"is-disabled":t.isDisabled}],on:{mouseenter:function(e){t.inputHover=!0},mouseleave:function(e){t.inputHover=!1},click:function(){return t.toggleDropDownVisible(!t.readonly||void 0)},keydown:t.handleKeyDown}},[n("el-input",{ref:"input",class:{"is-focus":t.dropDownVisible},attrs:{size:t.realSize,placeholder:t.placeholder,readonly:t.readonly,disabled:t.isDisabled,"validate-event":!1},on:{focus:t.handleFocus,blur:t.handleBlur,input:t.handleInput},model:{value:t.multiple?t.presentText:t.inputValue,callback:function(e){t.multiple?t.presentText:t.inputValue=e},expression:"multiple ? presentText : inputValue"}},[n("template",{slot:"suffix"},[t.clearBtnVisible?n("i",{key:"clear",staticClass:"el-input__icon el-icon-circle-close",on:{click:function(e){return e.stopPropagation(),t.handleClear(e)}}}):n("i",{key:"arrow-down",class:["el-input__icon","el-icon-arrow-down",t.dropDownVisible&&"is-reverse"],on:{click:function(e){e.stopPropagation(),t.toggleDropDownVisible()}}})])],2),t.multiple?n("div",{staticClass:"el-cascader__tags"},[t._l(t.presentTags,function(e,i){return n("el-tag",{key:e.key,attrs:{type:"info",size:t.tagSize,hit:e.hitState,closable:e.closable,"disable-transitions":""},on:{close:function(e){t.deleteTag(i)}}},[n("span",[t._v(t._s(e.text))])])}),t.filterable&&!t.isDisabled?n("input",{directives:[{name:"model",rawName:"v-model.trim",value:t.inputValue,expression:"inputValue",modifiers:{trim:!0}}],staticClass:"el-cascader__search-input",attrs:{type:"text",placeholder:t.presentTags.length?"":t.placeholder},domProps:{value:t.inputValue},on:{input:[function(e){e.target.composing||(t.inputValue=e.target.value.trim())},function(e){return t.handleInput(t.inputValue,e)}],click:function(e){e.stopPropagation(),t.toggleDropDownVisible(!0)},keydown:function(e){return"button"in e||!t._k(e.keyCode,"delete",[8,46],e.key,["Backspace","Delete","Del"])?t.handleDelete(e):null},blur:function(e){t.$forceUpdate()}}}):t._e()],2):t._e(),n("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":t.handleDropdownLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.dropDownVisible,expression:"dropDownVisible"}],ref:"popper",class:["el-popper","el-cascader__dropdown",t.popperClass]},[n("el-cascader-panel",{directives:[{name:"show",rawName:"v-show",value:!t.filtering,expression:"!filtering"}],ref:"panel",attrs:{options:t.options,props:t.config,border:!1,"render-label":t.$scopedSlots.default},on:{"expand-change":t.handleExpandChange,close:function(e){t.toggleDropDownVisible(!1)}},model:{value:t.checkedValue,callback:function(e){t.checkedValue=e},expression:"checkedValue"}}),t.filterable?n("el-scrollbar",{directives:[{name:"show",rawName:"v-show",value:t.filtering,expression:"filtering"}],ref:"suggestionPanel",staticClass:"el-cascader__suggestion-panel",attrs:{tag:"ul","view-class":"el-cascader__suggestion-list"},nativeOn:{keydown:function(e){return t.handleSuggestionKeyDown(e)}}},[t.suggestions.length?t._l(t.suggestions,function(e,i){return n("li",{key:e.uid,class:["el-cascader__suggestion-item",e.checked&&"is-checked"],attrs:{tabindex:-1},on:{click:function(e){t.handleSuggestionClick(i)}}},[n("span",[t._v(t._s(e.text))]),e.checked?n("i",{staticClass:"el-icon-check"}):t._e()])}):t._t("empty",[n("li",{staticClass:"el-cascader__empty-text"},[t._v(t._s(t.t("el.cascader.noMatch")))])])],2):t._e()],1)])],1)};pl._withStripped=!0;var Al=n(42),gl=n.n(Al),vl=n(34),ml=n.n(vl),yl=ml.a.keys,bl={expandTrigger:{newProp:"expandTrigger",type:String},changeOnSelect:{newProp:"checkStrictly",type:Boolean},hoverThreshold:{newProp:"hoverThreshold",type:Number}},_l={props:{placement:{type:String,default:"bottom-start"},appendToBody:F.a.props.appendToBody,visibleArrow:{type:Boolean,default:!0},arrowOffset:F.a.props.arrowOffset,offset:F.a.props.offset,boundariesPadding:F.a.props.boundariesPadding,popperOptions:F.a.props.popperOptions},methods:F.a.methods,data:F.a.data,beforeDestroy:F.a.beforeDestroy},wl={medium:36,small:32,mini:28},xl=r({name:"ElCascader",directives:{Clickoutside:M.a},mixins:[_l,C.a,p.a,w.a],inject:{elForm:{default:""},elFormItem:{default:""}},components:{ElInput:d.a,ElTag:Fe.a,ElScrollbar:N.a,ElCascaderPanel:gl.a},props:{value:{},options:Array,props:Object,size:String,placeholder:{type:String,default:function(){return Object(Lr.t)("el.cascader.placeholder")}},disabled:Boolean,clearable:Boolean,filterable:Boolean,filterMethod:Function,separator:{type:String,default:" / "},showAllLevels:{type:Boolean,default:!0},collapseTags:Boolean,debounce:{type:Number,default:300},beforeFilter:{type:Function,default:function(){return function(){}}},popperClass:String},data:function(){return{dropDownVisible:!1,checkedValue:this.value||null,inputHover:!1,inputValue:null,presentText:null,presentTags:[],checkedNodes:[],filtering:!1,suggestions:[],inputInitialHeight:0,pressDeleteCount:0}},computed:{realSize:function(){var t=(this.elFormItem||{}).elFormItemSize;return this.size||t||(this.$ELEMENT||{}).size},tagSize:function(){return["small","mini"].indexOf(this.realSize)>-1?"mini":"small"},isDisabled:function(){return this.disabled||(this.elForm||{}).disabled},config:function(){var t=this.props||{},e=this.$attrs;return Object.keys(bl).forEach(function(n){var i=bl[n],r=i.newProp,o=i.type,a=e[n]||e[Object(A.kebabCase)(n)];Object(Ht.isDef)(n)&&!Object(Ht.isDef)(t[r])&&(o===Boolean&&""===a&&(a=!0),t[r]=a)}),t},multiple:function(){return this.config.multiple},leafOnly:function(){return!this.config.checkStrictly},readonly:function(){return!this.filterable||this.multiple},clearBtnVisible:function(){return!(!this.clearable||this.isDisabled||this.filtering||!this.inputHover)&&(this.multiple?!!this.checkedNodes.filter(function(t){return!t.isDisabled}).length:!!this.presentText)},panel:function(){return this.$refs.panel}},watch:{disabled:function(){this.computePresentContent()},value:function(t){Object(A.isEqual)(t,this.checkedValue)||(this.checkedValue=t,this.computePresentContent())},checkedValue:function(t){var e=this.value,n=this.dropDownVisible,i=this.config,r=i.checkStrictly,o=i.multiple;Object(A.isEqual)(t,e)&&!Object(Ls.isUndefined)(e)||(this.computePresentContent(),o||r||!n||this.toggleDropDownVisible(!1),this.$emit("input",t),this.$emit("change",t),this.dispatch("ElFormItem","el.form.change",[t]))},options:{handler:function(){this.$nextTick(this.computePresentContent)},deep:!0},presentText:function(t){this.inputValue=t},presentTags:function(t,e){this.multiple&&(t.length||e.length)&&this.$nextTick(this.updateStyle)},filtering:function(t){this.$nextTick(this.updatePopper)}},mounted:function(){var t=this,e=this.$refs.input;e&&e.$el&&(this.inputInitialHeight=e.$el.offsetHeight||wl[this.realSize]||40),Object(A.isEmpty)(this.value)||this.computePresentContent(),this.filterHandler=E()(this.debounce,function(){var e=t.inputValue;if(e){var n=t.beforeFilter(e);n&&n.then?n.then(t.getSuggestions):!1!==n?t.getSuggestions():t.filtering=!1}else t.filtering=!1}),Object(Pe.addResizeListener)(this.$el,this.updateStyle)},beforeDestroy:function(){Object(Pe.removeResizeListener)(this.$el,this.updateStyle)},methods:{getMigratingConfig:function(){return{props:{"expand-trigger":"expand-trigger is removed, use `props.expandTrigger` instead.","change-on-select":"change-on-select is removed, use `props.checkStrictly` instead.","hover-threshold":"hover-threshold is removed, use `props.hoverThreshold` instead"},events:{"active-item-change":"active-item-change is renamed to expand-change"}}},toggleDropDownVisible:function(t){var e=this;if(!this.isDisabled){var n=this.dropDownVisible,i=this.$refs.input;(t=Object(Ht.isDef)(t)?t:!n)!==n&&(this.dropDownVisible=t,t&&this.$nextTick(function(){e.updatePopper(),e.panel.scrollIntoView()}),i.$refs.input.setAttribute("aria-expanded",t),this.$emit("visible-change",t))}},handleDropdownLeave:function(){this.filtering=!1,this.inputValue=this.presentText},handleKeyDown:function(t){switch(t.keyCode){case yl.enter:this.toggleDropDownVisible();break;case yl.down:this.toggleDropDownVisible(!0),this.focusFirstNode(),t.preventDefault();break;case yl.esc:case yl.tab:this.toggleDropDownVisible(!1)}},handleFocus:function(t){this.$emit("focus",t)},handleBlur:function(t){this.$emit("blur",t)},handleInput:function(t,e){!this.dropDownVisible&&this.toggleDropDownVisible(!0),e&&e.isComposing||(t?this.filterHandler():this.filtering=!1)},handleClear:function(){this.presentText="",this.panel.clearCheckedNodes()},handleExpandChange:function(t){this.$nextTick(this.updatePopper.bind(this)),this.$emit("expand-change",t),this.$emit("active-item-change",t)},focusFirstNode:function(){var t=this;this.$nextTick(function(){var e=t.filtering,n=t.$refs,i=n.popper,r=n.suggestionPanel,o=null;e&&r?o=r.$el.querySelector(".el-cascader__suggestion-item"):o=i.querySelector(".el-cascader-menu").querySelector('.el-cascader-node[tabindex="-1"]');o&&(o.focus(),!e&&o.click())})},computePresentContent:function(){var t=this;this.$nextTick(function(){t.config.multiple?(t.computePresentTags(),t.presentText=t.presentTags.length?" ":null):t.computePresentText()})},computePresentText:function(){var t=this.checkedValue,e=this.config;if(!Object(A.isEmpty)(t)){var n=this.panel.getNodeByValue(t);if(n&&(e.checkStrictly||n.isLeaf))return void(this.presentText=n.getText(this.showAllLevels,this.separator))}this.presentText=null},computePresentTags:function(){var t=this.isDisabled,e=this.leafOnly,n=this.showAllLevels,i=this.separator,r=this.collapseTags,o=this.getCheckedNodes(e),a=[],s=function(e){return{node:e,key:e.uid,text:e.getText(n,i),hitState:!1,closable:!t&&!e.isDisabled}};if(o.length){var l=o[0],c=o.slice(1),u=c.length;a.push(s(l)),u&&(r?a.push({key:-1,text:"+ "+u,closable:!1}):c.forEach(function(t){return a.push(s(t))}))}this.checkedNodes=o,this.presentTags=a},getSuggestions:function(){var t=this,e=this.filterMethod;Object(Ls.isFunction)(e)||(e=function(t,e){return t.text.includes(e)});var n=this.panel.getFlattedNodes(this.leafOnly).filter(function(n){return!n.isDisabled&&(n.text=n.getText(t.showAllLevels,t.separator)||"",e(n,t.inputValue))});this.multiple?this.presentTags.forEach(function(t){t.hitState=!1}):n.forEach(function(e){e.checked=Object(A.isEqual)(t.checkedValue,e.getValueByOption())}),this.filtering=!0,this.suggestions=n,this.$nextTick(this.updatePopper)},handleSuggestionKeyDown:function(t){var e=t.keyCode,n=t.target;switch(e){case yl.enter:n.click();break;case yl.up:var i=n.previousElementSibling;i&&i.focus();break;case yl.down:var r=n.nextElementSibling;r&&r.focus();break;case yl.esc:case yl.tab:this.toggleDropDownVisible(!1)}},handleDelete:function(){var t=this.inputValue,e=this.pressDeleteCount,n=this.presentTags,i=n.length-1,r=n[i];this.pressDeleteCount=t?0:e+1,r&&this.pressDeleteCount&&(r.hitState?this.deleteTag(i):r.hitState=!0)},handleSuggestionClick:function(t){var e=this.multiple,n=this.suggestions[t];if(e){var i=n.checked;n.doCheck(!i),this.panel.calculateMultiCheckedValue()}else this.checkedValue=n.getValueByOption(),this.toggleDropDownVisible(!1)},deleteTag:function(t){var e=this.checkedValue,n=e[t];this.checkedValue=e.filter(function(e,n){return n!==t}),this.$emit("remove-tag",n)},updateStyle:function(){var t=this.$el,e=this.inputInitialHeight;if(!this.$isServer&&t){var n=this.$refs.suggestionPanel,i=t.querySelector(".el-input__inner");if(i){var r=t.querySelector(".el-cascader__tags"),o=null;if(n&&(o=n.$el))o.querySelector(".el-cascader__suggestion-list").style.minWidth=i.offsetWidth+"px";if(r){var a=r.offsetHeight,s=Math.max(a+6,e)+"px";i.style.height=s,this.updatePopper()}}}},getCheckedNodes:function(t){return this.panel.getCheckedNodes(t)}}},pl,[],!1,null,null,null);xl.options.__file="packages/cascader/src/cascader.vue";var Cl=xl.exports;Cl.install=function(t){t.component(Cl.name,Cl)};var Sl=Cl,Bl=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:t.hide,expression:"hide"}],class:["el-color-picker",t.colorDisabled?"is-disabled":"",t.colorSize?"el-color-picker--"+t.colorSize:""]},[t.colorDisabled?n("div",{staticClass:"el-color-picker__mask"}):t._e(),n("div",{staticClass:"el-color-picker__trigger",on:{click:t.handleTrigger}},[n("span",{staticClass:"el-color-picker__color",class:{"is-alpha":t.showAlpha}},[n("span",{staticClass:"el-color-picker__color-inner",style:{backgroundColor:t.displayedColor}}),t.value||t.showPanelColor?t._e():n("span",{staticClass:"el-color-picker__empty el-icon-close"})]),n("span",{directives:[{name:"show",rawName:"v-show",value:t.value||t.showPanelColor,expression:"value || showPanelColor"}],staticClass:"el-color-picker__icon el-icon-arrow-down"})]),n("picker-dropdown",{ref:"dropdown",class:["el-color-picker__panel",t.popperClass||""],attrs:{color:t.color,"show-alpha":t.showAlpha,predefine:t.predefine},on:{pick:t.confirmValue,clear:t.clearValue},model:{value:t.showPicker,callback:function(e){t.showPicker=e},expression:"showPicker"}})],1)};Bl._withStripped=!0;var kl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};var Tl=function(t,e,n){return[t,e*n/((t=(2-e)*n)<1?t:2-t)||0,t/2]},Ol=function(t,e){var n;"string"==typeof(n=t)&&-1!==n.indexOf(".")&&1===parseFloat(n)&&(t="100%");var i=function(t){return"string"==typeof t&&-1!==t.indexOf("%")}(t);return t=Math.min(e,Math.max(0,parseFloat(t))),i&&(t=parseInt(t*e,10)/100),Math.abs(t-e)<1e-6?1:t%e/parseFloat(e)},El={10:"A",11:"B",12:"C",13:"D",14:"E",15:"F"},Il={A:10,B:11,C:12,D:13,E:14,F:15},Ml=function(t){return 2===t.length?16*(Il[t[0].toUpperCase()]||+t[0])+(Il[t[1].toUpperCase()]||+t[1]):Il[t[1].toUpperCase()]||+t[1]},Dl=function(t,e,n){t=Ol(t,255),e=Ol(e,255),n=Ol(n,255);var i,r=Math.max(t,e,n),o=Math.min(t,e,n),a=void 0,s=r,l=r-o;if(i=0===r?0:l/r,r===o)a=0;else{switch(r){case t:a=(e-n)/l+(e<n?6:0);break;case e:a=(n-t)/l+2;break;case n:a=(t-e)/l+4}a/=6}return{h:360*a,s:100*i,v:100*s}},Ll=function(t,e,n){t=6*Ol(t,360),e=Ol(e,100),n=Ol(n,100);var i=Math.floor(t),r=t-i,o=n*(1-e),a=n*(1-r*e),s=n*(1-(1-r)*e),l=i%6,c=[n,a,o,o,s,n][l],u=[s,n,n,a,o,o][l],h=[o,o,s,n,n,a][l];return{r:Math.round(255*c),g:Math.round(255*u),b:Math.round(255*h)}},Fl=function(){function t(e){for(var n in function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._hue=0,this._saturation=100,this._value=100,this._alpha=100,this.enableAlpha=!1,this.format="hex",this.value="",e=e||{})e.hasOwnProperty(n)&&(this[n]=e[n]);this.doOnChange()}return t.prototype.set=function(t,e){if(1!==arguments.length||"object"!==(void 0===t?"undefined":kl(t)))this["_"+t]=e,this.doOnChange();else for(var n in t)t.hasOwnProperty(n)&&this.set(n,t[n])},t.prototype.get=function(t){return this["_"+t]},t.prototype.toRgb=function(){return Ll(this._hue,this._saturation,this._value)},t.prototype.fromString=function(t){var e=this;if(!t)return this._hue=0,this._saturation=100,this._value=100,void this.doOnChange();var n=function(t,n,i){e._hue=Math.max(0,Math.min(360,t)),e._saturation=Math.max(0,Math.min(100,n)),e._value=Math.max(0,Math.min(100,i)),e.doOnChange()};if(-1!==t.indexOf("hsl")){var i=t.replace(/hsla|hsl|\(|\)/gm,"").split(/\s|,/g).filter(function(t){return""!==t}).map(function(t,e){return e>2?parseFloat(t):parseInt(t,10)});if(4===i.length?this._alpha=Math.floor(100*parseFloat(i[3])):3===i.length&&(this._alpha=100),i.length>=3){var r=function(t,e,n){n/=100;var i=e/=100,r=Math.max(n,.01);return e*=(n*=2)<=1?n:2-n,i*=r<=1?r:2-r,{h:t,s:100*(0===n?2*i/(r+i):2*e/(n+e)),v:(n+e)/2*100}}(i[0],i[1],i[2]);n(r.h,r.s,r.v)}}else if(-1!==t.indexOf("hsv")){var o=t.replace(/hsva|hsv|\(|\)/gm,"").split(/\s|,/g).filter(function(t){return""!==t}).map(function(t,e){return e>2?parseFloat(t):parseInt(t,10)});4===o.length?this._alpha=Math.floor(100*parseFloat(o[3])):3===o.length&&(this._alpha=100),o.length>=3&&n(o[0],o[1],o[2])}else if(-1!==t.indexOf("rgb")){var a=t.replace(/rgba|rgb|\(|\)/gm,"").split(/\s|,/g).filter(function(t){return""!==t}).map(function(t,e){return e>2?parseFloat(t):parseInt(t,10)});if(4===a.length?this._alpha=Math.floor(100*parseFloat(a[3])):3===a.length&&(this._alpha=100),a.length>=3){var s=Dl(a[0],a[1],a[2]);n(s.h,s.s,s.v)}}else if(-1!==t.indexOf("#")){var l=t.replace("#","").trim();if(!/^(?:[0-9a-fA-F]{3}){1,2}|[0-9a-fA-F]{8}$/.test(l))return;var c=void 0,u=void 0,h=void 0;3===l.length?(c=Ml(l[0]+l[0]),u=Ml(l[1]+l[1]),h=Ml(l[2]+l[2])):6!==l.length&&8!==l.length||(c=Ml(l.substring(0,2)),u=Ml(l.substring(2,4)),h=Ml(l.substring(4,6))),8===l.length?this._alpha=Math.floor(Ml(l.substring(6))/255*100):3!==l.length&&6!==l.length||(this._alpha=100);var d=Dl(c,u,h);n(d.h,d.s,d.v)}},t.prototype.compare=function(t){return Math.abs(t._hue-this._hue)<2&&Math.abs(t._saturation-this._saturation)<1&&Math.abs(t._value-this._value)<1&&Math.abs(t._alpha-this._alpha)<1},t.prototype.doOnChange=function(){var t=this._hue,e=this._saturation,n=this._value,i=this._alpha,r=this.format;if(this.enableAlpha)switch(r){case"hsl":var o=Tl(t,e/100,n/100);this.value="hsla("+t+", "+Math.round(100*o[1])+"%, "+Math.round(100*o[2])+"%, "+i/100+")";break;case"hsv":this.value="hsva("+t+", "+Math.round(e)+"%, "+Math.round(n)+"%, "+i/100+")";break;default:var a=Ll(t,e,n),s=a.r,l=a.g,c=a.b;this.value="rgba("+s+", "+l+", "+c+", "+i/100+")"}else switch(r){case"hsl":var u=Tl(t,e/100,n/100);this.value="hsl("+t+", "+Math.round(100*u[1])+"%, "+Math.round(100*u[2])+"%)";break;case"hsv":this.value="hsv("+t+", "+Math.round(e)+"%, "+Math.round(n)+"%)";break;case"rgb":var h=Ll(t,e,n),d=h.r,f=h.g,p=h.b;this.value="rgb("+d+", "+f+", "+p+")";break;default:this.value=function(t){var e=t.r,n=t.g,i=t.b,r=function(t){t=Math.min(Math.round(t),255);var e=Math.floor(t/16),n=t%16;return""+(El[e]||e)+(El[n]||n)};return isNaN(e)||isNaN(n)||isNaN(i)?"":"#"+r(e)+r(n)+r(i)}(Ll(t,e,n))}},t}(),Pl=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":t.doDestroy}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.showPopper,expression:"showPopper"}],staticClass:"el-color-dropdown"},[n("div",{staticClass:"el-color-dropdown__main-wrapper"},[n("hue-slider",{ref:"hue",staticStyle:{float:"right"},attrs:{color:t.color,vertical:""}}),n("sv-panel",{ref:"sl",attrs:{color:t.color}})],1),t.showAlpha?n("alpha-slider",{ref:"alpha",attrs:{color:t.color}}):t._e(),t.predefine?n("predefine",{attrs:{color:t.color,colors:t.predefine}}):t._e(),n("div",{staticClass:"el-color-dropdown__btns"},[n("span",{staticClass:"el-color-dropdown__value"},[n("el-input",{attrs:{"validate-event":!1,size:"mini"},on:{blur:t.handleConfirm},nativeOn:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.handleConfirm(e):null}},model:{value:t.customInput,callback:function(e){t.customInput=e},expression:"customInput"}})],1),n("el-button",{staticClass:"el-color-dropdown__link-btn",attrs:{size:"mini",type:"text"},on:{click:function(e){t.$emit("clear")}}},[t._v("\n "+t._s(t.t("el.colorpicker.clear"))+"\n ")]),n("el-button",{staticClass:"el-color-dropdown__btn",attrs:{plain:"",size:"mini"},on:{click:t.confirmValue}},[t._v("\n "+t._s(t.t("el.colorpicker.confirm"))+"\n ")])],1)],1)])};Pl._withStripped=!0;var Nl=function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"el-color-svpanel",style:{backgroundColor:this.background}},[e("div",{staticClass:"el-color-svpanel__white"}),e("div",{staticClass:"el-color-svpanel__black"}),e("div",{staticClass:"el-color-svpanel__cursor",style:{top:this.cursorTop+"px",left:this.cursorLeft+"px"}},[e("div")])])};Nl._withStripped=!0;var jl=!1,Ul=function(t,e){if(!hn.a.prototype.$isServer){var n=function(t){e.drag&&e.drag(t)},i=function t(i){document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",t),document.onselectstart=null,document.ondragstart=null,jl=!1,e.end&&e.end(i)};t.addEventListener("mousedown",function(t){jl||(document.onselectstart=function(){return!1},document.ondragstart=function(){return!1},document.addEventListener("mousemove",n),document.addEventListener("mouseup",i),jl=!0,e.start&&e.start(t))})}},Rl=r({name:"el-sl-panel",props:{color:{required:!0}},computed:{colorValue:function(){return{hue:this.color.get("hue"),value:this.color.get("value")}}},watch:{colorValue:function(){this.update()}},methods:{update:function(){var t=this.color.get("saturation"),e=this.color.get("value"),n=this.$el,i=n.clientWidth,r=n.clientHeight;this.cursorLeft=t*i/100,this.cursorTop=(100-e)*r/100,this.background="hsl("+this.color.get("hue")+", 100%, 50%)"},handleDrag:function(t){var e=this.$el.getBoundingClientRect(),n=t.clientX-e.left,i=t.clientY-e.top;n=Math.max(0,n),n=Math.min(n,e.width),i=Math.max(0,i),i=Math.min(i,e.height),this.cursorLeft=n,this.cursorTop=i,this.color.set({saturation:n/e.width*100,value:100-i/e.height*100})}},mounted:function(){var t=this;Ul(this.$el,{drag:function(e){t.handleDrag(e)},end:function(e){t.handleDrag(e)}}),this.update()},data:function(){return{cursorTop:0,cursorLeft:0,background:"hsl(0, 100%, 50%)"}}},Nl,[],!1,null,null,null);Rl.options.__file="packages/color-picker/src/components/sv-panel.vue";var Ql=Rl.exports,Hl=function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"el-color-hue-slider",class:{"is-vertical":this.vertical}},[e("div",{ref:"bar",staticClass:"el-color-hue-slider__bar",on:{click:this.handleClick}}),e("div",{ref:"thumb",staticClass:"el-color-hue-slider__thumb",style:{left:this.thumbLeft+"px",top:this.thumbTop+"px"}})])};Hl._withStripped=!0;var Vl=r({name:"el-color-hue-slider",props:{color:{required:!0},vertical:Boolean},data:function(){return{thumbLeft:0,thumbTop:0}},computed:{hueValue:function(){return this.color.get("hue")}},watch:{hueValue:function(){this.update()}},methods:{handleClick:function(t){var e=this.$refs.thumb;t.target!==e&&this.handleDrag(t)},handleDrag:function(t){var e=this.$el.getBoundingClientRect(),n=this.$refs.thumb,i=void 0;if(this.vertical){var r=t.clientY-e.top;r=Math.min(r,e.height-n.offsetHeight/2),r=Math.max(n.offsetHeight/2,r),i=Math.round((r-n.offsetHeight/2)/(e.height-n.offsetHeight)*360)}else{var o=t.clientX-e.left;o=Math.min(o,e.width-n.offsetWidth/2),o=Math.max(n.offsetWidth/2,o),i=Math.round((o-n.offsetWidth/2)/(e.width-n.offsetWidth)*360)}this.color.set("hue",i)},getThumbLeft:function(){if(this.vertical)return 0;var t=this.$el,e=this.color.get("hue");if(!t)return 0;var n=this.$refs.thumb;return Math.round(e*(t.offsetWidth-n.offsetWidth/2)/360)},getThumbTop:function(){if(!this.vertical)return 0;var t=this.$el,e=this.color.get("hue");if(!t)return 0;var n=this.$refs.thumb;return Math.round(e*(t.offsetHeight-n.offsetHeight/2)/360)},update:function(){this.thumbLeft=this.getThumbLeft(),this.thumbTop=this.getThumbTop()}},mounted:function(){var t=this,e=this.$refs,n=e.bar,i=e.thumb,r={drag:function(e){t.handleDrag(e)},end:function(e){t.handleDrag(e)}};Ul(n,r),Ul(i,r),this.update()}},Hl,[],!1,null,null,null);Vl.options.__file="packages/color-picker/src/components/hue-slider.vue";var zl=Vl.exports,$l=function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"el-color-alpha-slider",class:{"is-vertical":this.vertical}},[e("div",{ref:"bar",staticClass:"el-color-alpha-slider__bar",style:{background:this.background},on:{click:this.handleClick}}),e("div",{ref:"thumb",staticClass:"el-color-alpha-slider__thumb",style:{left:this.thumbLeft+"px",top:this.thumbTop+"px"}})])};$l._withStripped=!0;var Gl=r({name:"el-color-alpha-slider",props:{color:{required:!0},vertical:Boolean},watch:{"color._alpha":function(){this.update()},"color.value":function(){this.update()}},methods:{handleClick:function(t){var e=this.$refs.thumb;t.target!==e&&this.handleDrag(t)},handleDrag:function(t){var e=this.$el.getBoundingClientRect(),n=this.$refs.thumb;if(this.vertical){var i=t.clientY-e.top;i=Math.max(n.offsetHeight/2,i),i=Math.min(i,e.height-n.offsetHeight/2),this.color.set("alpha",Math.round((i-n.offsetHeight/2)/(e.height-n.offsetHeight)*100))}else{var r=t.clientX-e.left;r=Math.max(n.offsetWidth/2,r),r=Math.min(r,e.width-n.offsetWidth/2),this.color.set("alpha",Math.round((r-n.offsetWidth/2)/(e.width-n.offsetWidth)*100))}},getThumbLeft:function(){if(this.vertical)return 0;var t=this.$el,e=this.color._alpha;if(!t)return 0;var n=this.$refs.thumb;return Math.round(e*(t.offsetWidth-n.offsetWidth/2)/100)},getThumbTop:function(){if(!this.vertical)return 0;var t=this.$el,e=this.color._alpha;if(!t)return 0;var n=this.$refs.thumb;return Math.round(e*(t.offsetHeight-n.offsetHeight/2)/100)},getBackground:function(){if(this.color&&this.color.value){var t=this.color.toRgb(),e=t.r,n=t.g,i=t.b;return"linear-gradient(to right, rgba("+e+", "+n+", "+i+", 0) 0%, rgba("+e+", "+n+", "+i+", 1) 100%)"}return null},update:function(){this.thumbLeft=this.getThumbLeft(),this.thumbTop=this.getThumbTop(),this.background=this.getBackground()}},data:function(){return{thumbLeft:0,thumbTop:0,background:null}},mounted:function(){var t=this,e=this.$refs,n=e.bar,i=e.thumb,r={drag:function(e){t.handleDrag(e)},end:function(e){t.handleDrag(e)}};Ul(n,r),Ul(i,r),this.update()}},$l,[],!1,null,null,null);Gl.options.__file="packages/color-picker/src/components/alpha-slider.vue";var Wl=Gl.exports,Kl=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"el-color-predefine"},[n("div",{staticClass:"el-color-predefine__colors"},t._l(t.rgbaColors,function(e,i){return n("div",{key:t.colors[i],staticClass:"el-color-predefine__color-selector",class:{selected:e.selected,"is-alpha":e._alpha<100},on:{click:function(e){t.handleSelect(i)}}},[n("div",{style:{"background-color":e.value}})])}),0)])};Kl._withStripped=!0;var Yl=r({props:{colors:{type:Array,required:!0},color:{required:!0}},data:function(){return{rgbaColors:this.parseColors(this.colors,this.color)}},methods:{handleSelect:function(t){this.color.fromString(this.colors[t])},parseColors:function(t,e){return t.map(function(t){var n=new Fl;return n.enableAlpha=!0,n.format="rgba",n.fromString(t),n.selected=n.value===e.value,n})}},watch:{"$parent.currentColor":function(t){var e=new Fl;e.fromString(t),this.rgbaColors.forEach(function(t){t.selected=e.compare(t)})},colors:function(t){this.rgbaColors=this.parseColors(t,this.color)},color:function(t){this.rgbaColors=this.parseColors(this.colors,t)}}},Kl,[],!1,null,null,null);Yl.options.__file="packages/color-picker/src/components/predefine.vue";var Xl=Yl.exports,ql=r({name:"el-color-picker-dropdown",mixins:[F.a,p.a],components:{SvPanel:Ql,HueSlider:zl,AlphaSlider:Wl,ElInput:d.a,ElButton:G.a,Predefine:Xl},props:{color:{required:!0},showAlpha:Boolean,predefine:Array},data:function(){return{customInput:""}},computed:{currentColor:function(){var t=this.$parent;return t.value||t.showPanelColor?t.color.value:""}},methods:{confirmValue:function(){this.$emit("pick")},handleConfirm:function(){this.color.fromString(this.customInput)}},mounted:function(){this.$parent.popperElm=this.popperElm=this.$el,this.referenceElm=this.$parent.$el},watch:{showPopper:function(t){var e=this;!0===t&&this.$nextTick(function(){var t=e.$refs,n=t.sl,i=t.hue,r=t.alpha;n&&n.update(),i&&i.update(),r&&r.update()})},currentColor:{immediate:!0,handler:function(t){this.customInput=t}}}},Pl,[],!1,null,null,null);ql.options.__file="packages/color-picker/src/components/picker-dropdown.vue";var Zl=ql.exports,Jl=r({name:"ElColorPicker",mixins:[C.a],props:{value:String,showAlpha:Boolean,colorFormat:String,disabled:Boolean,size:String,popperClass:String,predefine:Array},inject:{elForm:{default:""},elFormItem:{default:""}},directives:{Clickoutside:M.a},computed:{displayedColor:function(){return this.value||this.showPanelColor?this.displayedRgb(this.color,this.showAlpha):"transparent"},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},colorSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},colorDisabled:function(){return this.disabled||(this.elForm||{}).disabled}},watch:{value:function(t){t?t&&t!==this.color.value&&this.color.fromString(t):this.showPanelColor=!1},color:{deep:!0,handler:function(){this.showPanelColor=!0}},displayedColor:function(t){if(this.showPicker){var e=new Fl({enableAlpha:this.showAlpha,format:this.colorFormat});e.fromString(this.value),t!==this.displayedRgb(e,this.showAlpha)&&this.$emit("active-change",t)}}},methods:{handleTrigger:function(){this.colorDisabled||(this.showPicker=!this.showPicker)},confirmValue:function(){var t=this.color.value;this.$emit("input",t),this.$emit("change",t),this.dispatch("ElFormItem","el.form.change",t),this.showPicker=!1},clearValue:function(){this.$emit("input",null),this.$emit("change",null),null!==this.value&&this.dispatch("ElFormItem","el.form.change",null),this.showPanelColor=!1,this.showPicker=!1,this.resetColor()},hide:function(){this.showPicker=!1,this.resetColor()},resetColor:function(){var t=this;this.$nextTick(function(e){t.value?t.color.fromString(t.value):t.showPanelColor=!1})},displayedRgb:function(t,e){if(!(t instanceof Fl))throw Error("color should be instance of Color Class");var n=t.toRgb(),i=n.r,r=n.g,o=n.b;return e?"rgba("+i+", "+r+", "+o+", "+t.get("alpha")/100+")":"rgb("+i+", "+r+", "+o+")"}},mounted:function(){var t=this.value;t&&this.color.fromString(t),this.popperElm=this.$refs.dropdown.$el},data:function(){return{color:new Fl({enableAlpha:this.showAlpha,format:this.colorFormat}),showPicker:!1,showPanelColor:!1}},components:{PickerDropdown:Zl}},Bl,[],!1,null,null,null);Jl.options.__file="packages/color-picker/src/main.vue";var tc=Jl.exports;tc.install=function(t){t.component(tc.name,tc)};var ec=tc,nc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"el-transfer"},[n("transfer-panel",t._b({ref:"leftPanel",attrs:{data:t.sourceData,title:t.titles[0]||t.t("el.transfer.titles.0"),"default-checked":t.leftDefaultChecked,placeholder:t.filterPlaceholder||t.t("el.transfer.filterPlaceholder")},on:{"checked-change":t.onSourceCheckedChange}},"transfer-panel",t.$props,!1),[t._t("left-footer")],2),n("div",{staticClass:"el-transfer__buttons"},[n("el-button",{class:["el-transfer__button",t.hasButtonTexts?"is-with-texts":""],attrs:{type:"primary",disabled:0===t.rightChecked.length},nativeOn:{click:function(e){return t.addToLeft(e)}}},[n("i",{staticClass:"el-icon-arrow-left"}),void 0!==t.buttonTexts[0]?n("span",[t._v(t._s(t.buttonTexts[0]))]):t._e()]),n("el-button",{class:["el-transfer__button",t.hasButtonTexts?"is-with-texts":""],attrs:{type:"primary",disabled:0===t.leftChecked.length},nativeOn:{click:function(e){return t.addToRight(e)}}},[void 0!==t.buttonTexts[1]?n("span",[t._v(t._s(t.buttonTexts[1]))]):t._e(),n("i",{staticClass:"el-icon-arrow-right"})])],1),n("transfer-panel",t._b({ref:"rightPanel",attrs:{data:t.targetData,title:t.titles[1]||t.t("el.transfer.titles.1"),"default-checked":t.rightDefaultChecked,placeholder:t.filterPlaceholder||t.t("el.transfer.filterPlaceholder")},on:{"checked-change":t.onTargetCheckedChange}},"transfer-panel",t.$props,!1),[t._t("right-footer")],2)],1)};nc._withStripped=!0;var ic=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"el-transfer-panel"},[n("p",{staticClass:"el-transfer-panel__header"},[n("el-checkbox",{attrs:{indeterminate:t.isIndeterminate},on:{change:t.handleAllCheckedChange},model:{value:t.allChecked,callback:function(e){t.allChecked=e},expression:"allChecked"}},[t._v("\n "+t._s(t.title)+"\n "),n("span",[t._v(t._s(t.checkedSummary))])])],1),n("div",{class:["el-transfer-panel__body",t.hasFooter?"is-with-footer":""]},[t.filterable?n("el-input",{staticClass:"el-transfer-panel__filter",attrs:{size:"small",placeholder:t.placeholder},nativeOn:{mouseenter:function(e){t.inputHover=!0},mouseleave:function(e){t.inputHover=!1}},model:{value:t.query,callback:function(e){t.query=e},expression:"query"}},[n("i",{class:["el-input__icon","el-icon-"+t.inputIcon],attrs:{slot:"prefix"},on:{click:t.clearQuery},slot:"prefix"})]):t._e(),n("el-checkbox-group",{directives:[{name:"show",rawName:"v-show",value:!t.hasNoMatch&&t.data.length>0,expression:"!hasNoMatch && data.length > 0"}],staticClass:"el-transfer-panel__list",class:{"is-filterable":t.filterable},model:{value:t.checked,callback:function(e){t.checked=e},expression:"checked"}},t._l(t.filteredData,function(e){return n("el-checkbox",{key:e[t.keyProp],staticClass:"el-transfer-panel__item",attrs:{label:e[t.keyProp],disabled:e[t.disabledProp]}},[n("option-content",{attrs:{option:e}})],1)}),1),n("p",{directives:[{name:"show",rawName:"v-show",value:t.hasNoMatch,expression:"hasNoMatch"}],staticClass:"el-transfer-panel__empty"},[t._v(t._s(t.t("el.transfer.noMatch")))]),n("p",{directives:[{name:"show",rawName:"v-show",value:0===t.data.length&&!t.hasNoMatch,expression:"data.length === 0 && !hasNoMatch"}],staticClass:"el-transfer-panel__empty"},[t._v(t._s(t.t("el.transfer.noData")))])],1),t.hasFooter?n("p",{staticClass:"el-transfer-panel__footer"},[t._t("default")],2):t._e()])};ic._withStripped=!0;var rc=r({mixins:[p.a],name:"ElTransferPanel",componentName:"ElTransferPanel",components:{ElCheckboxGroup:$n.a,ElCheckbox:rn.a,ElInput:d.a,OptionContent:{props:{option:Object},render:function(t){var e=function t(e){return"ElTransferPanel"===e.$options.componentName?e:e.$parent?t(e.$parent):e}(this),n=e.$parent||e;return e.renderContent?e.renderContent(t,this.option):n.$scopedSlots.default?n.$scopedSlots.default({option:this.option}):t("span",[this.option[e.labelProp]||this.option[e.keyProp]])}}},props:{data:{type:Array,default:function(){return[]}},renderContent:Function,placeholder:String,title:String,filterable:Boolean,format:Object,filterMethod:Function,defaultChecked:Array,props:Object},data:function(){return{checked:[],allChecked:!1,query:"",inputHover:!1,checkChangeByUser:!0}},watch:{checked:function(t,e){if(this.updateAllChecked(),this.checkChangeByUser){var n=t.concat(e).filter(function(n){return-1===t.indexOf(n)||-1===e.indexOf(n)});this.$emit("checked-change",t,n)}else this.$emit("checked-change",t),this.checkChangeByUser=!0},data:function(){var t=this,e=[],n=this.filteredData.map(function(e){return e[t.keyProp]});this.checked.forEach(function(t){n.indexOf(t)>-1&&e.push(t)}),this.checkChangeByUser=!1,this.checked=e},checkableData:function(){this.updateAllChecked()},defaultChecked:{immediate:!0,handler:function(t,e){var n=this;if(!e||t.length!==e.length||!t.every(function(t){return e.indexOf(t)>-1})){var i=[],r=this.checkableData.map(function(t){return t[n.keyProp]});t.forEach(function(t){r.indexOf(t)>-1&&i.push(t)}),this.checkChangeByUser=!1,this.checked=i}}}},computed:{filteredData:function(){var t=this;return this.data.filter(function(e){return"function"==typeof t.filterMethod?t.filterMethod(t.query,e):(e[t.labelProp]||e[t.keyProp].toString()).toLowerCase().indexOf(t.query.toLowerCase())>-1})},checkableData:function(){var t=this;return this.filteredData.filter(function(e){return!e[t.disabledProp]})},checkedSummary:function(){var t=this.checked.length,e=this.data.length,n=this.format,i=n.noChecked,r=n.hasChecked;return i&&r?t>0?r.replace(/\${checked}/g,t).replace(/\${total}/g,e):i.replace(/\${total}/g,e):t+"/"+e},isIndeterminate:function(){var t=this.checked.length;return t>0&&t<this.checkableData.length},hasNoMatch:function(){return this.query.length>0&&0===this.filteredData.length},inputIcon:function(){return this.query.length>0&&this.inputHover?"circle-close":"search"},labelProp:function(){return this.props.label||"label"},keyProp:function(){return this.props.key||"key"},disabledProp:function(){return this.props.disabled||"disabled"},hasFooter:function(){return!!this.$slots.default}},methods:{updateAllChecked:function(){var t=this,e=this.checkableData.map(function(e){return e[t.keyProp]});this.allChecked=e.length>0&&e.every(function(e){return t.checked.indexOf(e)>-1})},handleAllCheckedChange:function(t){var e=this;this.checked=t?this.checkableData.map(function(t){return t[e.keyProp]}):[]},clearQuery:function(){"circle-close"===this.inputIcon&&(this.query="")}}},ic,[],!1,null,null,null);rc.options.__file="packages/transfer/src/transfer-panel.vue";var oc=rc.exports,ac=r({name:"ElTransfer",mixins:[C.a,p.a,w.a],components:{TransferPanel:oc,ElButton:G.a},props:{data:{type:Array,default:function(){return[]}},titles:{type:Array,default:function(){return[]}},buttonTexts:{type:Array,default:function(){return[]}},filterPlaceholder:{type:String,default:""},filterMethod:Function,leftDefaultChecked:{type:Array,default:function(){return[]}},rightDefaultChecked:{type:Array,default:function(){return[]}},renderContent:Function,value:{type:Array,default:function(){return[]}},format:{type:Object,default:function(){return{}}},filterable:Boolean,props:{type:Object,default:function(){return{label:"label",key:"key",disabled:"disabled"}}},targetOrder:{type:String,default:"original"}},data:function(){return{leftChecked:[],rightChecked:[]}},computed:{dataObj:function(){var t=this.props.key;return this.data.reduce(function(e,n){return(e[n[t]]=n)&&e},{})},sourceData:function(){var t=this;return this.data.filter(function(e){return-1===t.value.indexOf(e[t.props.key])})},targetData:function(){var t=this;return"original"===this.targetOrder?this.data.filter(function(e){return t.value.indexOf(e[t.props.key])>-1}):this.value.reduce(function(e,n){var i=t.dataObj[n];return i&&e.push(i),e},[])},hasButtonTexts:function(){return 2===this.buttonTexts.length}},watch:{value:function(t){this.dispatch("ElFormItem","el.form.change",t)}},methods:{getMigratingConfig:function(){return{props:{"footer-format":"footer-format is renamed to format."}}},onSourceCheckedChange:function(t,e){this.leftChecked=t,void 0!==e&&this.$emit("left-check-change",t,e)},onTargetCheckedChange:function(t,e){this.rightChecked=t,void 0!==e&&this.$emit("right-check-change",t,e)},addToLeft:function(){var t=this.value.slice();this.rightChecked.forEach(function(e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}),this.$emit("input",t),this.$emit("change",t,"left",this.rightChecked)},addToRight:function(){var t=this,e=this.value.slice(),n=[],i=this.props.key;this.data.forEach(function(e){var r=e[i];t.leftChecked.indexOf(r)>-1&&-1===t.value.indexOf(r)&&n.push(r)}),e="unshift"===this.targetOrder?n.concat(e):e.concat(n),this.$emit("input",e),this.$emit("change",e,"right",this.leftChecked)},clearQuery:function(t){"left"===t?this.$refs.leftPanel.query="":"right"===t&&(this.$refs.rightPanel.query="")}}},nc,[],!1,null,null,null);ac.options.__file="packages/transfer/src/main.vue";var sc=ac.exports;sc.install=function(t){t.component(sc.name,sc)};var lc=sc,cc=function(){var t=this.$createElement;return(this._self._c||t)("section",{staticClass:"el-container",class:{"is-vertical":this.isVertical}},[this._t("default")],2)};cc._withStripped=!0;var uc=r({name:"ElContainer",componentName:"ElContainer",props:{direction:String},computed:{isVertical:function(){return"vertical"===this.direction||"horizontal"!==this.direction&&(!(!this.$slots||!this.$slots.default)&&this.$slots.default.some(function(t){var e=t.componentOptions&&t.componentOptions.tag;return"el-header"===e||"el-footer"===e}))}}},cc,[],!1,null,null,null);uc.options.__file="packages/container/src/main.vue";var hc=uc.exports;hc.install=function(t){t.component(hc.name,hc)};var dc=hc,fc=function(){var t=this.$createElement;return(this._self._c||t)("header",{staticClass:"el-header",style:{height:this.height}},[this._t("default")],2)};fc._withStripped=!0;var pc=r({name:"ElHeader",componentName:"ElHeader",props:{height:{type:String,default:"60px"}}},fc,[],!1,null,null,null);pc.options.__file="packages/header/src/main.vue";var Ac=pc.exports;Ac.install=function(t){t.component(Ac.name,Ac)};var gc=Ac,vc=function(){var t=this.$createElement;return(this._self._c||t)("aside",{staticClass:"el-aside",style:{width:this.width}},[this._t("default")],2)};vc._withStripped=!0;var mc=r({name:"ElAside",componentName:"ElAside",props:{width:{type:String,default:"300px"}}},vc,[],!1,null,null,null);mc.options.__file="packages/aside/src/main.vue";var yc=mc.exports;yc.install=function(t){t.component(yc.name,yc)};var bc=yc,_c=function(){var t=this.$createElement;return(this._self._c||t)("main",{staticClass:"el-main"},[this._t("default")],2)};_c._withStripped=!0;var wc=r({name:"ElMain",componentName:"ElMain"},_c,[],!1,null,null,null);wc.options.__file="packages/main/src/main.vue";var xc=wc.exports;xc.install=function(t){t.component(xc.name,xc)};var Cc=xc,Sc=function(){var t=this.$createElement;return(this._self._c||t)("footer",{staticClass:"el-footer",style:{height:this.height}},[this._t("default")],2)};Sc._withStripped=!0;var Bc=r({name:"ElFooter",componentName:"ElFooter",props:{height:{type:String,default:"60px"}}},Sc,[],!1,null,null,null);Bc.options.__file="packages/footer/src/main.vue";var kc=Bc.exports;kc.install=function(t){t.component(kc.name,kc)};var Tc=kc,Oc=r({name:"ElTimeline",props:{reverse:{type:Boolean,default:!1}},provide:function(){return{timeline:this}},render:function(){var t=arguments[0],e=this.reverse,n={"el-timeline":!0,"is-reverse":e},i=this.$slots.default||[];return e&&(i=i.reverse()),t("ul",{class:n},[i])}},void 0,void 0,!1,null,null,null);Oc.options.__file="packages/timeline/src/main.vue";var Ec=Oc.exports;Ec.install=function(t){t.component(Ec.name,Ec)};var Ic=Ec,Mc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",{staticClass:"el-timeline-item"},[n("div",{staticClass:"el-timeline-item__tail"}),t.$slots.dot?t._e():n("div",{staticClass:"el-timeline-item__node",class:["el-timeline-item__node--"+(t.size||""),"el-timeline-item__node--"+(t.type||"")],style:{backgroundColor:t.color}},[t.icon?n("i",{staticClass:"el-timeline-item__icon",class:t.icon}):t._e()]),t.$slots.dot?n("div",{staticClass:"el-timeline-item__dot"},[t._t("dot")],2):t._e(),n("div",{staticClass:"el-timeline-item__wrapper"},[t.hideTimestamp||"top"!==t.placement?t._e():n("div",{staticClass:"el-timeline-item__timestamp is-top"},[t._v("\n "+t._s(t.timestamp)+"\n ")]),n("div",{staticClass:"el-timeline-item__content"},[t._t("default")],2),t.hideTimestamp||"bottom"!==t.placement?t._e():n("div",{staticClass:"el-timeline-item__timestamp is-bottom"},[t._v("\n "+t._s(t.timestamp)+"\n ")])])])};Mc._withStripped=!0;var Dc=r({name:"ElTimelineItem",inject:["timeline"],props:{timestamp:String,hideTimestamp:{type:Boolean,default:!1},placement:{type:String,default:"bottom"},type:String,color:String,size:{type:String,default:"normal"},icon:String}},Mc,[],!1,null,null,null);Dc.options.__file="packages/timeline/src/item.vue";var Lc=Dc.exports;Lc.install=function(t){t.component(Lc.name,Lc)};var Fc=Lc,Pc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("a",t._b({class:["el-link",t.type?"el-link--"+t.type:"",t.disabled&&"is-disabled",t.underline&&!t.disabled&&"is-underline"],attrs:{href:t.disabled?null:t.href},on:{click:t.handleClick}},"a",t.$attrs,!1),[t.icon?n("i",{class:t.icon}):t._e(),t.$slots.default?n("span",{staticClass:"el-link--inner"},[t._t("default")],2):t._e(),t.$slots.icon?[t.$slots.icon?t._t("icon"):t._e()]:t._e()],2)};Pc._withStripped=!0;var Nc=r({name:"ElLink",props:{type:{type:String,default:"default"},underline:{type:Boolean,default:!0},disabled:Boolean,href:String,icon:String},methods:{handleClick:function(t){this.disabled||this.href||this.$emit("click",t)}}},Pc,[],!1,null,null,null);Nc.options.__file="packages/link/src/main.vue";var jc=Nc.exports;jc.install=function(t){t.component(jc.name,jc)};var Uc=jc,Rc=function(t,e){var n=e._c;return n("div",e._g(e._b({class:[e.data.staticClass,"el-divider","el-divider--"+e.props.direction]},"div",e.data.attrs,!1),e.listeners),[e.slots().default&&"vertical"!==e.props.direction?n("div",{class:["el-divider__text","is-"+e.props.contentPosition]},[e._t("default")],2):e._e()])};Rc._withStripped=!0;var Qc=r({name:"ElDivider",props:{direction:{type:String,default:"horizontal",validator:function(t){return-1!==["horizontal","vertical"].indexOf(t)}},contentPosition:{type:String,default:"center",validator:function(t){return-1!==["left","center","right"].indexOf(t)}}}},Rc,[],!0,null,null,null);Qc.options.__file="packages/divider/src/main.vue";var Hc=Qc.exports;Hc.install=function(t){t.component(Hc.name,Hc)};var Vc=Hc,zc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"el-image"},[t.loading?t._t("placeholder",[n("div",{staticClass:"el-image__placeholder"})]):t.error?t._t("error",[n("div",{staticClass:"el-image__error"},[t._v(t._s(t.t("el.image.error")))])]):n("img",t._g(t._b({staticClass:"el-image__inner",class:{"el-image__inner--center":t.alignCenter,"el-image__preview":t.preview},style:t.imageStyle,attrs:{src:t.src},on:{click:t.clickHandler}},"img",t.$attrs,!1),t.$listeners)),t.preview?[t.showViewer?n("image-viewer",{attrs:{"z-index":t.zIndex,"initial-index":t.imageIndex,"on-close":t.closeViewer,"url-list":t.previewSrcList}}):t._e()]:t._e()],2)};zc._withStripped=!0;var $c=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"viewer-fade"}},[n("div",{ref:"el-image-viewer__wrapper",staticClass:"el-image-viewer__wrapper",style:{"z-index":t.zIndex},attrs:{tabindex:"-1"}},[n("div",{staticClass:"el-image-viewer__mask",on:{click:function(e){return e.target!==e.currentTarget?null:t.handleMaskClick(e)}}}),n("span",{staticClass:"el-image-viewer__btn el-image-viewer__close",on:{click:t.hide}},[n("i",{staticClass:"el-icon-close"})]),t.isSingle?t._e():[n("span",{staticClass:"el-image-viewer__btn el-image-viewer__prev",class:{"is-disabled":!t.infinite&&t.isFirst},on:{click:t.prev}},[n("i",{staticClass:"el-icon-arrow-left"})]),n("span",{staticClass:"el-image-viewer__btn el-image-viewer__next",class:{"is-disabled":!t.infinite&&t.isLast},on:{click:t.next}},[n("i",{staticClass:"el-icon-arrow-right"})])],n("div",{staticClass:"el-image-viewer__btn el-image-viewer__actions"},[n("div",{staticClass:"el-image-viewer__actions__inner"},[n("i",{staticClass:"el-icon-zoom-out",on:{click:function(e){t.handleActions("zoomOut")}}}),n("i",{staticClass:"el-icon-zoom-in",on:{click:function(e){t.handleActions("zoomIn")}}}),n("i",{staticClass:"el-image-viewer__actions__divider"}),n("i",{class:t.mode.icon,on:{click:t.toggleMode}}),n("i",{staticClass:"el-image-viewer__actions__divider"}),n("i",{staticClass:"el-icon-refresh-left",on:{click:function(e){t.handleActions("anticlocelise")}}}),n("i",{staticClass:"el-icon-refresh-right",on:{click:function(e){t.handleActions("clocelise")}}})])]),n("div",{staticClass:"el-image-viewer__canvas"},t._l(t.urlList,function(e,i){return i===t.index?n("img",{key:e,ref:"img",refInFor:!0,staticClass:"el-image-viewer__img",style:t.imgStyle,attrs:{src:t.currentImg},on:{load:t.handleImgLoad,error:t.handleImgError,mousedown:t.handleMouseDown}}):t._e()}),0)],2)])};$c._withStripped=!0;var Gc=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},Wc={CONTAIN:{name:"contain",icon:"el-icon-full-screen"},ORIGINAL:{name:"original",icon:"el-icon-c-scale-to-original"}},Kc=Object(A.isFirefox)()?"DOMMouseScroll":"mousewheel",Yc=r({name:"elImageViewer",props:{urlList:{type:Array,default:function(){return[]}},zIndex:{type:Number,default:2e3},onSwitch:{type:Function,default:function(){}},onClose:{type:Function,default:function(){}},initialIndex:{type:Number,default:0},appendToBody:{type:Boolean,default:!0},maskClosable:{type:Boolean,default:!0}},data:function(){return{index:this.initialIndex,isShow:!1,infinite:!0,loading:!1,mode:Wc.CONTAIN,transform:{scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}}},computed:{isSingle:function(){return this.urlList.length<=1},isFirst:function(){return 0===this.index},isLast:function(){return this.index===this.urlList.length-1},currentImg:function(){return this.urlList[this.index]},imgStyle:function(){var t=this.transform,e=t.scale,n=t.deg,i=t.offsetX,r=t.offsetY,o={transform:"scale("+e+") rotate("+n+"deg)",transition:t.enableTransition?"transform .3s":"","margin-left":i+"px","margin-top":r+"px"};return this.mode===Wc.CONTAIN&&(o.maxWidth=o.maxHeight="100%"),o}},watch:{index:{handler:function(t){this.reset(),this.onSwitch(t)}},currentImg:function(t){var e=this;this.$nextTick(function(t){e.$refs.img[0].complete||(e.loading=!0)})}},methods:{hide:function(){this.deviceSupportUninstall(),this.onClose()},deviceSupportInstall:function(){var t=this;this._keyDownHandler=Object(A.rafThrottle)(function(e){switch(e.keyCode){case 27:t.hide();break;case 32:t.toggleMode();break;case 37:t.prev();break;case 38:t.handleActions("zoomIn");break;case 39:t.next();break;case 40:t.handleActions("zoomOut")}}),this._mouseWheelHandler=Object(A.rafThrottle)(function(e){(e.wheelDelta?e.wheelDelta:-e.detail)>0?t.handleActions("zoomIn",{zoomRate:.015,enableTransition:!1}):t.handleActions("zoomOut",{zoomRate:.015,enableTransition:!1})}),Object(pt.on)(document,"keydown",this._keyDownHandler),Object(pt.on)(document,Kc,this._mouseWheelHandler)},deviceSupportUninstall:function(){Object(pt.off)(document,"keydown",this._keyDownHandler),Object(pt.off)(document,Kc,this._mouseWheelHandler),this._keyDownHandler=null,this._mouseWheelHandler=null},handleImgLoad:function(t){this.loading=!1},handleImgError:function(t){this.loading=!1,t.target.alt="加载失败"},handleMouseDown:function(t){var e=this;if(!this.loading&&0===t.button){var n=this.transform,i=n.offsetX,r=n.offsetY,o=t.pageX,a=t.pageY;this._dragHandler=Object(A.rafThrottle)(function(t){e.transform.offsetX=i+t.pageX-o,e.transform.offsetY=r+t.pageY-a}),Object(pt.on)(document,"mousemove",this._dragHandler),Object(pt.on)(document,"mouseup",function(t){Object(pt.off)(document,"mousemove",e._dragHandler)}),t.preventDefault()}},handleMaskClick:function(){this.maskClosable&&this.hide()},reset:function(){this.transform={scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}},toggleMode:function(){if(!this.loading){var t=Object.keys(Wc),e=(Object.values(Wc).indexOf(this.mode)+1)%t.length;this.mode=Wc[t[e]],this.reset()}},prev:function(){if(!this.isFirst||this.infinite){var t=this.urlList.length;this.index=(this.index-1+t)%t}},next:function(){if(!this.isLast||this.infinite){var t=this.urlList.length;this.index=(this.index+1)%t}},handleActions:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.loading){var n=Gc({zoomRate:.2,rotateDeg:90,enableTransition:!0},e),i=n.zoomRate,r=n.rotateDeg,o=n.enableTransition,a=this.transform;switch(t){case"zoomOut":a.scale>.2&&(a.scale=parseFloat((a.scale-i).toFixed(3)));break;case"zoomIn":a.scale=parseFloat((a.scale+i).toFixed(3));break;case"clocelise":a.deg+=r;break;case"anticlocelise":a.deg-=r}a.enableTransition=o}}},mounted:function(){this.deviceSupportInstall(),this.appendToBody&&document.body.appendChild(this.$el),this.$refs["el-image-viewer__wrapper"].focus()},destroyed:function(){this.appendToBody&&this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)}},$c,[],!1,null,null,null);Yc.options.__file="packages/image/src/image-viewer.vue";var Xc=Yc.exports,qc=function(){return void 0!==document.documentElement.style.objectFit},Zc="none",Jc="contain",tu="cover",eu="fill",nu="scale-down",iu="",ru=r({name:"ElImage",mixins:[p.a],inheritAttrs:!1,components:{ImageViewer:Xc},props:{src:String,fit:String,lazy:Boolean,scrollContainer:{},previewSrcList:{type:Array,default:function(){return[]}},zIndex:{type:Number,default:2e3}},data:function(){return{loading:!0,error:!1,show:!this.lazy,imageWidth:0,imageHeight:0,showViewer:!1}},computed:{imageStyle:function(){var t=this.fit;return!this.$isServer&&t?qc()?{"object-fit":t}:this.getImageStyle(t):{}},alignCenter:function(){return!this.$isServer&&!qc()&&this.fit!==eu},preview:function(){var t=this.previewSrcList;return Array.isArray(t)&&t.length>0},imageIndex:function(){var t=0,e=this.previewSrcList.indexOf(this.src);return e>=0&&(t=e),t}},watch:{src:function(t){this.show&&this.loadImage()},show:function(t){t&&this.loadImage()}},mounted:function(){this.lazy?this.addLazyLoadListener():this.loadImage()},beforeDestroy:function(){this.lazy&&this.removeLazyLoadListener()},methods:{loadImage:function(){var t=this;if(!this.$isServer){this.loading=!0,this.error=!1;var e=new Image;e.onload=function(n){return t.handleLoad(n,e)},e.onerror=this.handleError.bind(this),Object.keys(this.$attrs).forEach(function(n){var i=t.$attrs[n];e.setAttribute(n,i)}),e.src=this.src}},handleLoad:function(t,e){this.imageWidth=e.width,this.imageHeight=e.height,this.loading=!1,this.error=!1},handleError:function(t){this.loading=!1,this.error=!0,this.$emit("error",t)},handleLazyLoad:function(){Object(pt.isInContainer)(this.$el,this._scrollContainer)&&(this.show=!0,this.removeLazyLoadListener())},addLazyLoadListener:function(){if(!this.$isServer){var t=this.scrollContainer,e=null;(e=Object(Ls.isHtmlElement)(t)?t:Object(Ls.isString)(t)?document.querySelector(t):Object(pt.getScrollContainer)(this.$el))&&(this._scrollContainer=e,this._lazyLoadHandler=Ks()(200,this.handleLazyLoad),Object(pt.on)(e,"scroll",this._lazyLoadHandler),this.handleLazyLoad())}},removeLazyLoadListener:function(){var t=this._scrollContainer,e=this._lazyLoadHandler;!this.$isServer&&t&&e&&(Object(pt.off)(t,"scroll",e),this._scrollContainer=null,this._lazyLoadHandler=null)},getImageStyle:function(t){var e=this.imageWidth,n=this.imageHeight,i=this.$el,r=i.clientWidth,o=i.clientHeight;if(!(e&&n&&r&&o))return{};var a=e/n,s=r/o;t===nu&&(t=e<r&&n<o?Zc:Jc);switch(t){case Zc:return{width:"auto",height:"auto"};case Jc:return a<s?{width:"auto"}:{height:"auto"};case tu:return a<s?{height:"auto"}:{width:"auto"};default:return{}}},clickHandler:function(){this.preview&&(iu=document.body.style.overflow,document.body.style.overflow="hidden",this.showViewer=!0)},closeViewer:function(){document.body.style.overflow=iu,this.showViewer=!1}}},zc,[],!1,null,null,null);ru.options.__file="packages/image/src/main.vue";var ou=ru.exports;ou.install=function(t){t.component(ou.name,ou)};var au=ou,su=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"el-calendar"},[n("div",{staticClass:"el-calendar__header"},[n("div",{staticClass:"el-calendar__title"},[t._v("\n "+t._s(t.i18nDate)+"\n ")]),0===t.validatedRange.length?n("div",{staticClass:"el-calendar__button-group"},[n("el-button-group",[n("el-button",{attrs:{type:"plain",size:"mini"},on:{click:function(e){t.selectDate("prev-month")}}},[t._v("\n "+t._s(t.t("el.datepicker.prevMonth"))+"\n ")]),n("el-button",{attrs:{type:"plain",size:"mini"},on:{click:function(e){t.selectDate("today")}}},[t._v("\n "+t._s(t.t("el.datepicker.today"))+"\n ")]),n("el-button",{attrs:{type:"plain",size:"mini"},on:{click:function(e){t.selectDate("next-month")}}},[t._v("\n "+t._s(t.t("el.datepicker.nextMonth"))+"\n ")])],1)],1):t._e()]),0===t.validatedRange.length?n("div",{key:"no-range",staticClass:"el-calendar__body"},[n("date-table",{attrs:{date:t.date,"selected-day":t.realSelectedDay,"first-day-of-week":t.realFirstDayOfWeek},on:{pick:t.pickDay}})],1):n("div",{key:"has-range",staticClass:"el-calendar__body"},t._l(t.validatedRange,function(e,i){return n("date-table",{key:i,attrs:{date:e[0],"selected-day":t.realSelectedDay,range:e,"hide-header":0!==i,"first-day-of-week":t.realFirstDayOfWeek},on:{pick:t.pickDay}})}),1)])};su._withStripped=!0;var lu=n(20),cu=n.n(lu),uu=r({props:{selectedDay:String,range:{type:Array,validator:function(t){if(!t||!t.length)return!0;var e=t[0],n=t[1];return Object(di.validateRangeInOneMonth)(e,n)}},date:Date,hideHeader:Boolean,firstDayOfWeek:Number},inject:["elCalendar"],methods:{toNestedArr:function(t){return Object(di.range)(t.length/7).map(function(e,n){var i=7*n;return t.slice(i,i+7)})},getFormateDate:function(t,e){if(!t||-1===["prev","current","next"].indexOf(e))throw new Error("invalid day or type");var n=this.curMonthDatePrefix;return"prev"===e?n=this.prevMonthDatePrefix:"next"===e&&(n=this.nextMonthDatePrefix),n+"-"+(t=("00"+t).slice(-2))},getCellClass:function(t){var e=t.text,n=t.type,i=[n];if("current"===n){var r=this.getFormateDate(e,n);r===this.selectedDay&&i.push("is-selected"),r===this.formatedToday&&i.push("is-today")}return i},pickDay:function(t){var e=t.text,n=t.type,i=this.getFormateDate(e,n);this.$emit("pick",i)},cellRenderProxy:function(t){var e=t.text,n=t.type,i=this.$createElement,r=this.elCalendar.$scopedSlots.dateCell;if(!r)return i("span",[e]);var o=this.getFormateDate(e,n);return r({date:new Date(o),data:{isSelected:this.selectedDay===o,type:n+"-month",day:o}})}},computed:{WEEK_DAYS:function(){return Object(di.getI18nSettings)().dayNames},prevMonthDatePrefix:function(){var t=new Date(this.date.getTime());return t.setDate(0),cu.a.format(t,"yyyy-MM")},curMonthDatePrefix:function(){return cu.a.format(this.date,"yyyy-MM")},nextMonthDatePrefix:function(){var t=new Date(this.date.getFullYear(),this.date.getMonth()+1,1);return cu.a.format(t,"yyyy-MM")},formatedToday:function(){return this.elCalendar.formatedToday},isInRange:function(){return this.range&&this.range.length},rows:function(){var t=[];if(this.isInRange){var e=this.range,n=e[0],i=e[1],r=Object(di.range)(i.getDate()-n.getDate()+1).map(function(t,e){return{text:n.getDate()+e,type:"current"}}),o=r.length%7;o=0===o?0:7-o;var a=Object(di.range)(o).map(function(t,e){return{text:e+1,type:"next"}});t=r.concat(a)}else{var s=this.date,l=Object(di.getFirstDayOfMonth)(s);l=0===l?7:l;var c="number"==typeof this.firstDayOfWeek?this.firstDayOfWeek:1,u=Object(di.getPrevMonthLastDays)(s,l-c).map(function(t){return{text:t,type:"prev"}}),h=Object(di.getMonthDays)(s).map(function(t){return{text:t,type:"current"}});t=[].concat(u,h);var d=Object(di.range)(42-t.length).map(function(t,e){return{text:e+1,type:"next"}});t=t.concat(d)}return this.toNestedArr(t)},weekDays:function(){var t=this.firstDayOfWeek,e=this.WEEK_DAYS;return"number"!=typeof t||0===t?e.slice():e.slice(t).concat(e.slice(0,t))}},render:function(){var t=this,e=arguments[0],n=this.hideHeader?null:e("thead",[this.weekDays.map(function(t){return e("th",{key:t},[t])})]);return e("table",{class:{"el-calendar-table":!0,"is-range":this.isInRange},attrs:{cellspacing:"0",cellpadding:"0"}},[n,e("tbody",[this.rows.map(function(n,i){return e("tr",{class:{"el-calendar-table__row":!0,"el-calendar-table__row--hide-border":0===i&&t.hideHeader},key:i},[n.map(function(n,i){return e("td",{key:i,class:t.getCellClass(n),on:{click:t.pickDay.bind(t,n)}},[e("div",{class:"el-calendar-day"},[t.cellRenderProxy(n)])])})])})])])}},void 0,void 0,!1,null,null,null);uu.options.__file="packages/calendar/src/date-table.vue";var hu=uu.exports,du=["prev-month","today","next-month"],fu=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],pu=r({name:"ElCalendar",mixins:[p.a],components:{DateTable:hu,ElButton:G.a,ElButtonGroup:K.a},props:{value:[Date,String,Number],range:{type:Array,validator:function(t){return!Array.isArray(t)||2===t.length&&t.every(function(t){return"string"==typeof t||"number"==typeof t||t instanceof Date})}},firstDayOfWeek:{type:Number,default:1}},provide:function(){return{elCalendar:this}},methods:{pickDay:function(t){this.realSelectedDay=t},selectDate:function(t){if(-1===du.indexOf(t))throw new Error("invalid type "+t);var e="";(e="prev-month"===t?this.prevMonthDatePrefix+"-01":"next-month"===t?this.nextMonthDatePrefix+"-01":this.formatedToday)!==this.formatedDate&&this.pickDay(e)},toDate:function(t){if(!t)throw new Error("invalid val");return t instanceof Date?t:new Date(t)},rangeValidator:function(t,e){var n=this.realFirstDayOfWeek,i=e?n:0===n?6:n-1,r=(e?"start":"end")+" of range should be "+fu[i]+".";return t.getDay()===i||(console.warn("[ElementCalendar]",r,"Invalid range will be ignored."),!1)}},computed:{prevMonthDatePrefix:function(){var t=new Date(this.date.getTime());return t.setDate(0),cu.a.format(t,"yyyy-MM")},curMonthDatePrefix:function(){return cu.a.format(this.date,"yyyy-MM")},nextMonthDatePrefix:function(){var t=new Date(this.date.getFullYear(),this.date.getMonth()+1,1);return cu.a.format(t,"yyyy-MM")},formatedDate:function(){return cu.a.format(this.date,"yyyy-MM-dd")},i18nDate:function(){var t=this.date.getFullYear(),e=this.date.getMonth()+1;return t+" "+this.t("el.datepicker.year")+" "+this.t("el.datepicker.month"+e)},formatedToday:function(){return cu.a.format(this.now,"yyyy-MM-dd")},realSelectedDay:{get:function(){return this.value?this.formatedDate:this.selectedDay},set:function(t){this.selectedDay=t;var e=new Date(t);this.$emit("input",e)}},date:function(){if(this.value)return this.toDate(this.value);if(this.realSelectedDay){var t=this.selectedDay.split("-");return new Date(t[0],t[1]-1,t[2])}return this.validatedRange.length?this.validatedRange[0][0]:this.now},validatedRange:function(){var t=this,e=this.range;if(!e)return[];if(2===(e=e.reduce(function(e,n,i){var r=t.toDate(n);return t.rangeValidator(r,0===i)&&(e=e.concat(r)),e},[])).length){var n=e,i=n[0],r=n[1];if(i>r)return console.warn("[ElementCalendar]end time should be greater than start time"),[];if(Object(di.validateRangeInOneMonth)(i,r))return[[i,r]];var o=[],a=new Date(i.getFullYear(),i.getMonth()+1,1),s=this.toDate(a.getTime()-864e5);if(!Object(di.validateRangeInOneMonth)(a,r))return console.warn("[ElementCalendar]start time and end time interval must not exceed two months"),[];o.push([i,s]);var l=this.realFirstDayOfWeek,c=a.getDay(),u=0;return c!==l&&(u=0===l?7-c:(u=l-c)>0?u:7+u),(a=this.toDate(a.getTime()+864e5*u)).getDate()<r.getDate()&&o.push([a,r]),o}return[]},realFirstDayOfWeek:function(){return this.firstDayOfWeek<1||this.firstDayOfWeek>6?0:Math.floor(this.firstDayOfWeek)}},data:function(){return{selectedDay:"",now:new Date}}},su,[],!1,null,null,null);pu.options.__file="packages/calendar/src/main.vue";var Au=pu.exports;Au.install=function(t){t.component(Au.name,Au)};var gu=Au,vu=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"el-fade-in"}},[t.visible?n("div",{staticClass:"el-backtop",style:{right:t.styleRight,bottom:t.styleBottom},on:{click:function(e){return e.stopPropagation(),t.handleClick(e)}}},[t._t("default",[n("el-icon",{attrs:{name:"caret-top"}})])],2):t._e()])};vu._withStripped=!0;var mu=function(t){return Math.pow(t,3)},yu=r({name:"ElBacktop",props:{visibilityHeight:{type:Number,default:200},target:[String],right:{type:Number,default:40},bottom:{type:Number,default:40}},data:function(){return{el:null,container:null,visible:!1}},computed:{styleBottom:function(){return this.bottom+"px"},styleRight:function(){return this.right+"px"}},mounted:function(){this.init(),this.throttledScrollHandler=Ks()(300,this.onScroll),this.container.addEventListener("scroll",this.throttledScrollHandler)},methods:{init:function(){if(this.container=document,this.el=document.documentElement,this.target){if(this.el=document.querySelector(this.target),!this.el)throw new Error("target is not existed: "+this.target);this.container=this.el}},onScroll:function(){var t=this.el.scrollTop;this.visible=t>=this.visibilityHeight},handleClick:function(t){this.scrollToTop(),this.$emit("click",t)},scrollToTop:function(){var t=this.el,e=Date.now(),n=t.scrollTop,i=window.requestAnimationFrame||function(t){return setTimeout(t,16)};i(function r(){var o,a=(Date.now()-e)/500;a<1?(t.scrollTop=n*(1-((o=a)<.5?mu(2*o)/2:1-mu(2*(1-o))/2)),i(r)):t.scrollTop=0})}},beforeDestroy:function(){this.container.removeEventListener("scroll",this.throttledScrollHandler)}},vu,[],!1,null,null,null);yu.options.__file="packages/backtop/src/main.vue";var bu=yu.exports;bu.install=function(t){t.component(bu.name,bu)};var _u=bu,wu=function(t,e){return t===window||t===document?document.documentElement[e]:t[e]},xu=function(t){return wu(t,"offsetHeight")},Cu="ElInfiniteScroll",Su={delay:{type:Number,default:200},distance:{type:Number,default:0},disabled:{type:Boolean,default:!1},immediate:{type:Boolean,default:!0}},Bu=function(t,e){return Object(Ls.isHtmlElement)(t)?(n=Su,Object.keys(n||{}).map(function(t){return[t,n[t]]})).reduce(function(n,i){var r=i[0],o=i[1],a=o.type,s=o.default,l=t.getAttribute("infinite-scroll-"+r);switch(l=Object(Ls.isUndefined)(e[l])?l:e[l],a){case Number:l=Number(l),l=Number.isNaN(l)?s:l;break;case Boolean:l=Object(Ls.isDefined)(l)?"false"!==l&&Boolean(l):s;break;default:l=a(l)}return n[r]=l,n},{}):{};var n},ku=function(t){return t.getBoundingClientRect().top},Tu=function(t){var e=this[Cu],n=e.el,i=e.vm,r=e.container,o=e.observer,a=Bu(n,i),s=a.distance;if(!a.disabled){var l=r.getBoundingClientRect();if(l.width||l.height){var c=!1;if(r===n){var u=r.scrollTop+function(t){return wu(t,"clientHeight")}(r);c=r.scrollHeight-u<=s}else{c=xu(n)+ku(n)-ku(r)-xu(r)+Number.parseFloat(function(t,e){if(t===window&&(t=document.documentElement),1!==t.nodeType)return[];var n=window.getComputedStyle(t,null);return e?n[e]:n}(r,"borderBottomWidth"))<=s}c&&Object(Ls.isFunction)(t)?t.call(i):o&&(o.disconnect(),this[Cu].observer=null)}}},Ou={name:"InfiniteScroll",inserted:function(t,e,n){var i=e.value,r=n.context,o=Object(pt.getScrollContainer)(t,!0),a=Bu(t,r),s=a.delay,l=a.immediate,c=E()(s,Tu.bind(t,i));(t[Cu]={el:t,vm:r,container:o,onScroll:c},o)&&(o.addEventListener("scroll",c),l&&((t[Cu].observer=new MutationObserver(c)).observe(o,{childList:!0,subtree:!0}),c()))},unbind:function(t){var e=t[Cu],n=e.container,i=e.onScroll;n&&n.removeEventListener("scroll",i)},install:function(t){t.directive(Ou.name,Ou)}},Eu=Ou,Iu=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"el-page-header"},[n("div",{staticClass:"el-page-header__left",on:{click:function(e){t.$emit("back")}}},[n("i",{staticClass:"el-icon-back"}),n("div",{staticClass:"el-page-header__title"},[t._t("title",[t._v(t._s(t.title))])],2)]),n("div",{staticClass:"el-page-header__content"},[t._t("content",[t._v(t._s(t.content))])],2)])};Iu._withStripped=!0;var Mu=r({name:"ElPageHeader",props:{title:{type:String,default:function(){return Object(Lr.t)("el.pageHeader.title")}},content:String}},Iu,[],!1,null,null,null);Mu.options.__file="packages/page-header/src/main.vue";var Du=Mu.exports;Du.install=function(t){t.component(Du.name,Du)};var Lu=Du,Fu=function(){var t=this.$createElement,e=this._self._c||t;return e("div",{class:["el-cascader-panel",this.border&&"is-bordered"],on:{keydown:this.handleKeyDown}},this._l(this.menus,function(t,n){return e("cascader-menu",{key:n,ref:"menu",refInFor:!0,attrs:{index:n,nodes:t}})}),1)};Fu._withStripped=!0;var Pu=n(43),Nu=n.n(Pu),ju=function(t){return t.stopPropagation()},Uu=r({inject:["panel"],components:{ElCheckbox:rn.a,ElRadio:Nu.a},props:{node:{required:!0},nodeId:String},computed:{config:function(){return this.panel.config},isLeaf:function(){return this.node.isLeaf},isDisabled:function(){return this.node.isDisabled},checkedValue:function(){return this.panel.checkedValue},isChecked:function(){return this.node.isSameNode(this.checkedValue)},inActivePath:function(){return this.isInPath(this.panel.activePath)},inCheckedPath:function(){var t=this;return!!this.config.checkStrictly&&this.panel.checkedNodePaths.some(function(e){return t.isInPath(e)})},value:function(){return this.node.getValueByOption()}},methods:{handleExpand:function(){var t=this,e=this.panel,n=this.node,i=this.isDisabled,r=this.config,o=r.multiple;!r.checkStrictly&&i||n.loading||(r.lazy&&!n.loaded?e.lazyLoad(n,function(){var e=t.isLeaf;if(e||t.handleExpand(),o){var i=!!e&&n.checked;t.handleMultiCheckChange(i)}}):e.handleExpand(n))},handleCheckChange:function(){var t=this.panel,e=this.value,n=this.node;t.handleCheckChange(e),t.handleExpand(n)},handleMultiCheckChange:function(t){this.node.doCheck(t),this.panel.calculateMultiCheckedValue()},isInPath:function(t){var e=this.node;return(t[e.level-1]||{}).uid===e.uid},renderPrefix:function(t){var e=this.isLeaf,n=this.isChecked,i=this.config,r=i.checkStrictly;return i.multiple?this.renderCheckbox(t):r?this.renderRadio(t):e&&n?this.renderCheckIcon(t):null},renderPostfix:function(t){var e=this.node,n=this.isLeaf;return e.loading?this.renderLoadingIcon(t):n?null:this.renderExpandIcon(t)},renderCheckbox:function(t){var e=this.node,n=this.config,i=this.isDisabled,r={on:{change:this.handleMultiCheckChange},nativeOn:{}};return n.checkStrictly&&(r.nativeOn.click=ju),t("el-checkbox",Za()([{attrs:{value:e.checked,indeterminate:e.indeterminate,disabled:i}},r]))},renderRadio:function(t){var e=this.checkedValue,n=this.value,i=this.isDisabled;return Object(A.isEqual)(n,e)&&(n=e),t("el-radio",{attrs:{value:e,label:n,disabled:i},on:{change:this.handleCheckChange},nativeOn:{click:ju}},[t("span")])},renderCheckIcon:function(t){return t("i",{class:"el-icon-check el-cascader-node__prefix"})},renderLoadingIcon:function(t){return t("i",{class:"el-icon-loading el-cascader-node__postfix"})},renderExpandIcon:function(t){return t("i",{class:"el-icon-arrow-right el-cascader-node__postfix"})},renderContent:function(t){var e=this.panel,n=this.node,i=e.renderLabelFn;return t("span",{class:"el-cascader-node__label"},[(i?i({node:n,data:n.data}):null)||n.label])}},render:function(t){var e=this,n=this.inActivePath,i=this.inCheckedPath,r=this.isChecked,o=this.isLeaf,a=this.isDisabled,s=this.config,l=this.nodeId,c=s.expandTrigger,u=s.checkStrictly,h=s.multiple,d=!u&&a,f={on:{}};return"click"===c?f.on.click=this.handleExpand:(f.on.mouseenter=function(t){e.handleExpand(),e.$emit("expand",t)},f.on.focus=function(t){e.handleExpand(),e.$emit("expand",t)}),!o||a||u||h||(f.on.click=this.handleCheckChange),t("li",Za()([{attrs:{role:"menuitem",id:l,"aria-expanded":n,tabindex:d?null:-1},class:{"el-cascader-node":!0,"is-selectable":u,"in-active-path":n,"in-checked-path":i,"is-active":r,"is-disabled":d}},f]),[this.renderPrefix(t),this.renderContent(t),this.renderPostfix(t)])}},void 0,void 0,!1,null,null,null);Uu.options.__file="packages/cascader-panel/src/cascader-node.vue";var Ru=Uu.exports,Qu=r({name:"ElCascaderMenu",mixins:[p.a],inject:["panel"],components:{ElScrollbar:N.a,CascaderNode:Ru},props:{nodes:{type:Array,required:!0},index:Number},data:function(){return{activeNode:null,hoverTimer:null,id:Object(A.generateId)()}},computed:{isEmpty:function(){return!this.nodes.length},menuId:function(){return"cascader-menu-"+this.id+"-"+this.index}},methods:{handleExpand:function(t){this.activeNode=t.target},handleMouseMove:function(t){var e=this.activeNode,n=this.hoverTimer,i=this.$refs.hoverZone;if(e&&i)if(e.contains(t.target)){clearTimeout(n);var r=this.$el.getBoundingClientRect().left,o=t.clientX-r,a=this.$el,s=a.offsetWidth,l=a.offsetHeight,c=e.offsetTop,u=c+e.offsetHeight;i.innerHTML='\n <path style="pointer-events: auto;" fill="transparent" d="M'+o+" "+c+" L"+s+" 0 V"+c+' Z" />\n <path style="pointer-events: auto;" fill="transparent" d="M'+o+" "+u+" L"+s+" "+l+" V"+u+' Z" />\n '}else n||(this.hoverTimer=setTimeout(this.clearHoverZone,this.panel.config.hoverThreshold))},clearHoverZone:function(){var t=this.$refs.hoverZone;t&&(t.innerHTML="")},renderEmptyText:function(t){return t("div",{class:"el-cascader-menu__empty-text"},[this.t("el.cascader.noData")])},renderNodeList:function(t){var e=this.menuId,n=this.panel.isHoverMenu,i={on:{}};n&&(i.on.expand=this.handleExpand);var r=this.nodes.map(function(n,r){var o=n.hasChildren;return t("cascader-node",Za()([{key:n.uid,attrs:{node:n,"node-id":e+"-"+r,"aria-haspopup":o,"aria-owns":o?e:null}},i]))});return[].concat(r,[n?t("svg",{ref:"hoverZone",class:"el-cascader-menu__hover-zone"}):null])}},render:function(t){var e=this.isEmpty,n=this.menuId,i={nativeOn:{}};return this.panel.isHoverMenu&&(i.nativeOn.mousemove=this.handleMouseMove),t("el-scrollbar",Za()([{attrs:{tag:"ul",role:"menu",id:n,"wrap-class":"el-cascader-menu__wrap","view-class":{"el-cascader-menu__list":!0,"is-empty":e}},class:"el-cascader-menu"},i]),[e?this.renderEmptyText(t):this.renderNodeList(t)])}},void 0,void 0,!1,null,null,null);Qu.options.__file="packages/cascader-panel/src/cascader-menu.vue";var Hu=Qu.exports,Vu=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}();var zu=0,$u=function(){function t(e,n,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.data=e,this.config=n,this.parent=i||null,this.level=this.parent?this.parent.level+1:1,this.uid=zu++,this.initState(),this.initChildren()}return t.prototype.initState=function(){var t=this.config,e=t.value,n=t.label;this.value=this.data[e],this.label=this.data[n],this.pathNodes=this.calculatePathNodes(),this.path=this.pathNodes.map(function(t){return t.value}),this.pathLabels=this.pathNodes.map(function(t){return t.label}),this.loading=!1,this.loaded=!1},t.prototype.initChildren=function(){var e=this,n=this.config,i=n.children,r=this.data[i];this.hasChildren=Array.isArray(r),this.children=(r||[]).map(function(i){return new t(i,n,e)})},t.prototype.calculatePathNodes=function(){for(var t=[this],e=this.parent;e;)t.unshift(e),e=e.parent;return t},t.prototype.getPath=function(){return this.path},t.prototype.getValue=function(){return this.value},t.prototype.getValueByOption=function(){return this.config.emitPath?this.getPath():this.getValue()},t.prototype.getText=function(t,e){return t?this.pathLabels.join(e):this.label},t.prototype.isSameNode=function(t){var e=this.getValueByOption();return this.config.multiple&&Array.isArray(t)?t.some(function(t){return Object(A.isEqual)(t,e)}):Object(A.isEqual)(t,e)},t.prototype.broadcast=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];var r="onParent"+Object(A.capitalize)(t);this.children.forEach(function(e){e&&(e.broadcast.apply(e,[t].concat(n)),e[r]&&e[r].apply(e,n))})},t.prototype.emit=function(t){var e=this.parent,n="onChild"+Object(A.capitalize)(t);if(e){for(var i=arguments.length,r=Array(i>1?i-1:0),o=1;o<i;o++)r[o-1]=arguments[o];e[n]&&e[n].apply(e,r),e.emit.apply(e,[t].concat(r))}},t.prototype.onParentCheck=function(t){this.isDisabled||this.setCheckState(t)},t.prototype.onChildCheck=function(){var t=this.children.filter(function(t){return!t.isDisabled}),e=!!t.length&&t.every(function(t){return t.checked});this.setCheckState(e)},t.prototype.setCheckState=function(t){var e=this.children.length,n=this.children.reduce(function(t,e){return t+(e.checked?1:e.indeterminate?.5:0)},0);this.checked=t,this.indeterminate=n!==e&&n>0},t.prototype.syncCheckState=function(t){var e=this.getValueByOption(),n=this.isSameNode(t,e);this.doCheck(n)},t.prototype.doCheck=function(t){this.checked!==t&&(this.config.checkStrictly?this.checked=t:(this.broadcast("check",t),this.setCheckState(t),this.emit("check")))},Vu(t,[{key:"isDisabled",get:function(){var t=this.data,e=this.parent,n=this.config,i=n.disabled,r=n.checkStrictly;return t[i]||!r&&e&&e.isDisabled}},{key:"isLeaf",get:function(){var t=this.data,e=this.loaded,n=this.hasChildren,i=this.children,r=this.config,o=r.lazy,a=r.leaf;if(o){var s=Object(Ht.isDef)(t[a])?t[a]:!!e&&!i.length;return this.hasChildren=!s,s}return!n}}]),t}();var Gu=function(){function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.config=n,this.initNodes(e)}return t.prototype.initNodes=function(t){var e=this;t=Object(A.coerceTruthyValueToArray)(t),this.nodes=t.map(function(t){return new $u(t,e.config)}),this.flattedNodes=this.getFlattedNodes(!1,!1),this.leafNodes=this.getFlattedNodes(!0,!1)},t.prototype.appendNode=function(t,e){var n=new $u(t,this.config,e);(e?e.children:this.nodes).push(n)},t.prototype.appendNodes=function(t,e){var n=this;(t=Object(A.coerceTruthyValueToArray)(t)).forEach(function(t){return n.appendNode(t,e)})},t.prototype.getNodes=function(){return this.nodes},t.prototype.getFlattedNodes=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=t?this.leafNodes:this.flattedNodes;return e?n:function t(e,n){return e.reduce(function(e,i){return i.isLeaf?e.push(i):(!n&&e.push(i),e=e.concat(t(i.children,n))),e},[])}(this.nodes,t)},t.prototype.getNodeByValue=function(t){if(t){var e=this.getFlattedNodes(!1,!this.config.lazy).filter(function(e){return Object(A.valueEquals)(e.path,t)||e.value===t});return e&&e.length?e[0]:null}return null},t}(),Wu=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},Ku=ml.a.keys,Yu={expandTrigger:"click",multiple:!1,checkStrictly:!1,emitPath:!0,lazy:!1,lazyLoad:A.noop,value:"value",label:"label",children:"children",leaf:"leaf",disabled:"disabled",hoverThreshold:500},Xu=function(t){return!t.getAttribute("aria-owns")},qu=function(t,e){var n=t.parentNode;if(n){var i=n.querySelectorAll('.el-cascader-node[tabindex="-1"]');return i[Array.prototype.indexOf.call(i,t)+e]||null}return null},Zu=function(t,e){if(t){var n=t.id.split("-");return Number(n[n.length-2])}},Ju=function(t){t&&(t.focus(),!Xu(t)&&t.click())},th=r({name:"ElCascaderPanel",components:{CascaderMenu:Hu},props:{value:{},options:Array,props:Object,border:{type:Boolean,default:!0},renderLabel:Function},provide:function(){return{panel:this}},data:function(){return{checkedValue:null,checkedNodePaths:[],store:[],menus:[],activePath:[],loadCount:0}},computed:{config:function(){return Qt()(Wu({},Yu),this.props||{})},multiple:function(){return this.config.multiple},checkStrictly:function(){return this.config.checkStrictly},leafOnly:function(){return!this.checkStrictly},isHoverMenu:function(){return"hover"===this.config.expandTrigger},renderLabelFn:function(){return this.renderLabel||this.$scopedSlots.default}},watch:{options:{handler:function(){this.initStore()},immediate:!0,deep:!0},value:function(){this.syncCheckedValue(),this.checkStrictly&&this.calculateCheckedNodePaths()},checkedValue:function(t){Object(A.isEqual)(t,this.value)||(this.checkStrictly&&this.calculateCheckedNodePaths(),this.$emit("input",t),this.$emit("change",t))}},mounted:function(){Object(A.isEmpty)(this.value)||this.syncCheckedValue()},methods:{initStore:function(){var t=this.config,e=this.options;t.lazy&&Object(A.isEmpty)(e)?this.lazyLoad():(this.store=new Gu(e,t),this.menus=[this.store.getNodes()],this.syncMenuState())},syncCheckedValue:function(){var t=this.value,e=this.checkedValue;Object(A.isEqual)(t,e)||(this.activePath=[],this.checkedValue=t,this.syncMenuState())},syncMenuState:function(){var t=this.multiple,e=this.checkStrictly;this.syncActivePath(),t&&this.syncMultiCheckState(),e&&this.calculateCheckedNodePaths(),this.$nextTick(this.scrollIntoView)},syncMultiCheckState:function(){var t=this;this.getFlattedNodes(this.leafOnly).forEach(function(e){e.syncCheckState(t.checkedValue)})},syncActivePath:function(){var t=this,e=this.store,n=this.multiple,i=this.activePath,r=this.checkedValue;if(Object(A.isEmpty)(i))if(Object(A.isEmpty)(r))this.activePath=[],this.menus=[e.getNodes()];else{var o=n?r[0]:r,a=((this.getNodeByValue(o)||{}).pathNodes||[]).slice(0,-1);this.expandNodes(a)}else{var s=i.map(function(e){return t.getNodeByValue(e.getValue())});this.expandNodes(s)}},expandNodes:function(t){var e=this;t.forEach(function(t){return e.handleExpand(t,!0)})},calculateCheckedNodePaths:function(){var t=this,e=this.checkedValue,n=this.multiple?Object(A.coerceTruthyValueToArray)(e):[e];this.checkedNodePaths=n.map(function(e){var n=t.getNodeByValue(e);return n?n.pathNodes:[]})},handleKeyDown:function(t){var e=t.target;switch(t.keyCode){case Ku.up:var n=qu(e,-1);Ju(n);break;case Ku.down:var i=qu(e,1);Ju(i);break;case Ku.left:var r=this.$refs.menu[Zu(e)-1];if(r){var o=r.$el.querySelector('.el-cascader-node[aria-expanded="true"]');Ju(o)}break;case Ku.right:var a=this.$refs.menu[Zu(e)+1];if(a){var s=a.$el.querySelector('.el-cascader-node[tabindex="-1"]');Ju(s)}break;case Ku.enter:!function(t){if(t){var e=t.querySelector("input");e?e.click():Xu(t)&&t.click()}}(e);break;case Ku.esc:case Ku.tab:this.$emit("close");break;default:return}},handleExpand:function(t,e){var n=this.activePath,i=t.level,r=n.slice(0,i-1),o=this.menus.slice(0,i);if(t.isLeaf||(r.push(t),o.push(t.children)),this.activePath=r,this.menus=o,!e){var a=r.map(function(t){return t.getValue()}),s=n.map(function(t){return t.getValue()});Object(A.valueEquals)(a,s)||(this.$emit("active-item-change",a),this.$emit("expand-change",a))}},handleCheckChange:function(t){this.checkedValue=t},lazyLoad:function(t,e){var n=this,i=this.config;t||(t=t||{root:!0,level:0},this.store=new Gu([],i),this.menus=[this.store.getNodes()]),t.loading=!0;i.lazyLoad(t,function(i){var r=t.root?null:t;if(i&&i.length&&n.store.appendNodes(i,r),t.loading=!1,t.loaded=!0,Array.isArray(n.checkedValue)){var o=n.checkedValue[n.loadCount++],a=n.config.value,s=n.config.leaf;if(Array.isArray(i)&&i.filter(function(t){return t[a]===o}).length>0){var l=n.store.getNodeByValue(o);l.data[s]||n.lazyLoad(l,function(){n.handleExpand(l)}),n.loadCount===n.checkedValue.length&&n.$parent.computePresentText()}}e&&e(i)})},calculateMultiCheckedValue:function(){this.checkedValue=this.getCheckedNodes(this.leafOnly).map(function(t){return t.getValueByOption()})},scrollIntoView:function(){this.$isServer||(this.$refs.menu||[]).forEach(function(t){var e=t.$el;if(e){var n=e.querySelector(".el-scrollbar__wrap"),i=e.querySelector(".el-cascader-node.is-active")||e.querySelector(".el-cascader-node.in-active-path");je()(n,i)}})},getNodeByValue:function(t){return this.store.getNodeByValue(t)},getFlattedNodes:function(t){var e=!this.config.lazy;return this.store.getFlattedNodes(t,e)},getCheckedNodes:function(t){var e=this.checkedValue;return this.multiple?this.getFlattedNodes(t).filter(function(t){return t.checked}):Object(A.isEmpty)(e)?[]:[this.getNodeByValue(e)]},clearCheckedNodes:function(){var t=this.config,e=this.leafOnly,n=t.multiple,i=t.emitPath;n?(this.getCheckedNodes(e).filter(function(t){return!t.isDisabled}).forEach(function(t){return t.doCheck(!1)}),this.calculateMultiCheckedValue()):this.checkedValue=i?[]:null}}},Fu,[],!1,null,null,null);th.options.__file="packages/cascader-panel/src/cascader-panel.vue";var eh=th.exports;eh.install=function(t){t.component(eh.name,eh)};var nh=eh,ih=r({name:"ElAvatar",props:{size:{type:[Number,String],validator:function(t){return"string"==typeof t?["large","medium","small"].includes(t):"number"==typeof t}},shape:{type:String,default:"circle",validator:function(t){return["circle","square"].includes(t)}},icon:String,src:String,alt:String,srcSet:String,error:Function,fit:{type:String,default:"cover"}},data:function(){return{isImageExist:!0}},computed:{avatarClass:function(){var t=this.size,e=this.icon,n=this.shape,i=["el-avatar"];return t&&"string"==typeof t&&i.push("el-avatar--"+t),e&&i.push("el-avatar--icon"),n&&i.push("el-avatar--"+n),i.join(" ")}},methods:{handleError:function(){var t=this.error;!1!==(t?t():void 0)&&(this.isImageExist=!1)},renderAvatar:function(){var t=this.$createElement,e=this.icon,n=this.src,i=this.alt,r=this.isImageExist,o=this.srcSet,a=this.fit;return r&&n?t("img",{attrs:{src:n,alt:i,srcSet:o},on:{error:this.handleError},style:{"object-fit":a}}):e?t("i",{class:e}):this.$slots.default}},render:function(){var t=arguments[0],e=this.avatarClass,n=this.size;return t("span",{class:e,style:"number"==typeof n?{height:n+"px",width:n+"px",lineHeight:n+"px"}:{}},[this.renderAvatar()])}},void 0,void 0,!1,null,null,null);ih.options.__file="packages/avatar/src/main.vue";var rh=ih.exports;rh.install=function(t){t.component(rh.name,rh)};var oh=rh,ah=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"el-drawer-fade"},on:{"after-enter":t.afterEnter,"after-leave":t.afterLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"el-drawer__wrapper",attrs:{tabindex:"-1"}},[n("div",{staticClass:"el-drawer__container",class:t.visible&&"el-drawer__open",attrs:{role:"document",tabindex:"-1"},on:{click:function(e){return e.target!==e.currentTarget?null:t.handleWrapperClick(e)}}},[n("div",{ref:"drawer",staticClass:"el-drawer",class:[t.direction,t.customClass],style:t.isHorizontal?"width: "+t.drawerSize:"height: "+t.drawerSize,attrs:{"aria-modal":"true","aria-labelledby":"el-drawer__title","aria-label":t.title,role:"dialog",tabindex:"-1"}},[t.withHeader?n("header",{staticClass:"el-drawer__header",attrs:{id:"el-drawer__title"}},[t._t("title",[n("span",{attrs:{role:"heading",title:t.title}},[t._v(t._s(t.title))])]),t.showClose?n("button",{staticClass:"el-drawer__close-btn",attrs:{"aria-label":"close "+(t.title||"drawer"),type:"button"},on:{click:t.closeDrawer}},[n("i",{staticClass:"el-dialog__close el-icon el-icon-close"})]):t._e()],2):t._e(),t.rendered?n("section",{staticClass:"el-drawer__body"},[t._t("default")],2):t._e()])])])])};ah._withStripped=!0;var sh=r({name:"ElDrawer",mixins:[b.a,C.a],props:{appendToBody:{type:Boolean,default:!1},beforeClose:{type:Function},customClass:{type:String,default:""},closeOnPressEscape:{type:Boolean,default:!0},destroyOnClose:{type:Boolean,default:!1},modal:{type:Boolean,default:!0},direction:{type:String,default:"rtl",validator:function(t){return-1!==["ltr","rtl","ttb","btt"].indexOf(t)}},modalAppendToBody:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},size:{type:[Number,String],default:"30%"},title:{type:String,default:""},visible:{type:Boolean},wrapperClosable:{type:Boolean,default:!0},withHeader:{type:Boolean,default:!0}},computed:{isHorizontal:function(){return"rtl"===this.direction||"ltr"===this.direction},drawerSize:function(){return"number"==typeof this.size?this.size+"px":this.size}},data:function(){return{closed:!1,prevActiveElement:null}},watch:{visible:function(t){var e=this;t?(this.closed=!1,this.$emit("open"),this.appendToBody&&document.body.appendChild(this.$el),this.prevActiveElement=document.activeElement):(this.closed||this.$emit("close"),this.$nextTick(function(){e.prevActiveElement&&e.prevActiveElement.focus()}))}},methods:{afterEnter:function(){this.$emit("opened")},afterLeave:function(){this.$emit("closed")},hide:function(t){!1!==t&&(this.$emit("update:visible",!1),this.$emit("close"),!0===this.destroyOnClose&&(this.rendered=!1),this.closed=!0)},handleWrapperClick:function(){this.wrapperClosable&&this.closeDrawer()},closeDrawer:function(){"function"==typeof this.beforeClose?this.beforeClose(this.hide):this.hide()},handleClose:function(){this.closeDrawer()}},mounted:function(){this.visible&&(this.rendered=!0,this.open())},destroyed:function(){this.appendToBody&&this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)}},ah,[],!1,null,null,null);sh.options.__file="packages/drawer/src/main.vue";var lh=sh.exports;lh.install=function(t){t.component(lh.name,lh)};var ch=lh,uh=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-popover",t._b({attrs:{trigger:"click"},model:{value:t.visible,callback:function(e){t.visible=e},expression:"visible"}},"el-popover",t.$attrs,!1),[n("div",{staticClass:"el-popconfirm"},[n("p",{staticClass:"el-popconfirm__main"},[t.hideIcon?t._e():n("i",{staticClass:"el-popconfirm__icon",class:t.icon,style:{color:t.iconColor}}),t._v("\n "+t._s(t.title)+"\n ")]),n("div",{staticClass:"el-popconfirm__action"},[n("el-button",{attrs:{size:"mini",type:t.cancelButtonType},on:{click:t.cancel}},[t._v("\n "+t._s(t.displayCancelButtonText)+"\n ")]),n("el-button",{attrs:{size:"mini",type:t.confirmButtonType},on:{click:t.confirm}},[t._v("\n "+t._s(t.displayConfirmButtonText)+"\n ")])],1)]),t._t("reference",null,{slot:"reference"})],2)};uh._withStripped=!0;var hh=n(44),dh=r({name:"ElPopconfirm",props:{title:{type:String},confirmButtonText:{type:String},cancelButtonText:{type:String},confirmButtonType:{type:String,default:"primary"},cancelButtonType:{type:String,default:"text"},icon:{type:String,default:"el-icon-question"},iconColor:{type:String,default:"#f90"},hideIcon:{type:Boolean,default:!1}},components:{ElPopover:n.n(hh).a,ElButton:G.a},data:function(){return{visible:!1}},computed:{displayConfirmButtonText:function(){return this.confirmButtonText||Object(Lr.t)("el.popconfirm.confirmButtonText")},displayCancelButtonText:function(){return this.cancelButtonText||Object(Lr.t)("el.popconfirm.cancelButtonText")}},methods:{confirm:function(){this.visible=!1,this.$emit("confirm")},cancel:function(){this.visible=!1,this.$emit("cancel")}}},uh,[],!1,null,null,null);dh.options.__file="packages/popconfirm/src/main.vue";var fh=dh.exports;fh.install=function(t){t.component(fh.name,fh)};var ph=fh,Ah=[v,k,z,q,et,ot,vt,Ct,Et,Lt,$t,Xt,te,oe,ce,fe,ve,_e,Se,Qe,He,Ge,Xe,tn,ii,ui,sr,Ar,Cr,Er,Mr,no,ao,uo,yo,ko,Io,Lo,Zo,ia,xa,Ra,Ha,$a,as,us,ps,Ts,Ms,Ns,Qs,$s,qs,el,ol,cl,fl,Sl,ec,lc,dc,gc,bc,Cc,Tc,Ic,Fc,Uc,Vc,au,gu,_u,Lu,nh,oh,ch,ph,yt.a],gh=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Fr.a.use(e.locale),Fr.a.i18n(e.i18n),Ah.forEach(function(e){t.component(e.name,e)}),t.use(Eu),t.use(Pa.directive),t.prototype.$ELEMENT={size:e.size||"",zIndex:e.zIndex||2e3},t.prototype.$loading=Pa.service,t.prototype.$msgbox=Zr,t.prototype.$alert=Zr.alert,t.prototype.$confirm=Zr.confirm,t.prototype.$prompt=Zr.prompt,t.prototype.$notify=fa,t.prototype.$message=Cs};"undefined"!=typeof window&&window.Vue&&gh(window.Vue);e.default={version:"2.15.1",locale:Fr.a.use,i18n:Fr.a.i18n,install:gh,CollapseTransition:yt.a,Loading:Pa,Pagination:v,Dialog:k,Autocomplete:z,Dropdown:q,DropdownMenu:et,DropdownItem:ot,Menu:vt,Submenu:Ct,MenuItem:Et,MenuItemGroup:Lt,Input:$t,InputNumber:Xt,Radio:te,RadioGroup:oe,RadioButton:ce,Checkbox:fe,CheckboxButton:ve,CheckboxGroup:_e,Switch:Se,Select:Qe,Option:He,OptionGroup:Ge,Button:Xe,ButtonGroup:tn,Table:ii,TableColumn:ui,DatePicker:sr,TimeSelect:Ar,TimePicker:Cr,Popover:Er,Tooltip:Mr,MessageBox:Zr,Breadcrumb:no,BreadcrumbItem:ao,Form:uo,FormItem:yo,Tabs:ko,TabPane:Io,Tag:Lo,Tree:Zo,Alert:ia,Notification:fa,Slider:xa,Icon:Ra,Row:Ha,Col:$a,Upload:as,Progress:us,Spinner:ps,Message:Cs,Badge:Ts,Card:Ms,Rate:Ns,Steps:Qs,Step:$s,Carousel:qs,Scrollbar:el,CarouselItem:ol,Collapse:cl,CollapseItem:fl,Cascader:Sl,ColorPicker:ec,Transfer:lc,Container:dc,Header:gc,Aside:bc,Main:Cc,Footer:Tc,Timeline:Ic,TimelineItem:Fc,Link:Uc,Divider:Vc,Image:au,Calendar:gu,Backtop:_u,InfiniteScroll:Eu,PageHeader:Lu,CascaderPanel:nh,Avatar:oh,Drawer:ch,Popconfirm:ph}}]).default},zMj2:function(t,e,n){"use strict";var i=function(){return function(t){this.value=t}}(),r=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new i(t);return this.insertEntry(e),e},t.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},t.prototype.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}(),o=function(){function t(t){this._list=new r,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var n=this._list,r=this._map,o=null;if(null==r[t]){var a=n.len(),s=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var l=n.head;n.remove(l),delete r[l.key],o=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new i(e),s.key=t,n.insertEntry(s),r[t]=s}return o},t.prototype.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}();e.a=o},zQR9:function(t,e,n){"use strict";var i=n("h65t")(!0);n("vIB/")(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=i(e,n),this._i+=t.length,{value:t,done:!1})})},zTCi:function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t,e){if(o.default.prototype.$isServer)return;if(!e)return void(t.scrollTop=0);var n=[],i=e.offsetParent;for(;i&&t!==i&&t.contains(i);)n.push(i),i=i.offsetParent;var r=e.offsetTop+n.reduce(function(t,e){return t+e.offsetTop},0),a=r+e.offsetHeight,s=t.scrollTop,l=s+t.clientHeight;r<s?t.scrollTop=r:a>l&&(t.scrollTop=a-t.clientHeight)};var i,r=n("7+uW"),o=(i=r)&&i.__esModule?i:{default:i}},zW4X:function(t,e,n){"use strict";var i={};function r(t,e){var n;return"string"!=typeof e&&(e=r.defaultChars),n=function(t){var e,n,r=i[t];if(r)return r;for(r=i[t]=[],e=0;e<128;e++)n=String.fromCharCode(e),r.push(n);for(e=0;e<t.length;e++)r[n=t.charCodeAt(e)]="%"+("0"+n.toString(16).toUpperCase()).slice(-2);return r}(e),t.replace(/(%[a-f0-9]{2})+/gi,function(t){var e,i,r,o,a,s,l,c="";for(e=0,i=t.length;e<i;e+=3)(r=parseInt(t.slice(e+1,e+3),16))<128?c+=n[r]:192==(224&r)&&e+3<i&&128==(192&(o=parseInt(t.slice(e+4,e+6),16)))?(c+=(l=r<<6&1984|63&o)<128?"��":String.fromCharCode(l),e+=3):224==(240&r)&&e+6<i&&(o=parseInt(t.slice(e+4,e+6),16),a=parseInt(t.slice(e+7,e+9),16),128==(192&o)&&128==(192&a))?(c+=(l=r<<12&61440|o<<6&4032|63&a)<2048||l>=55296&&l<=57343?"���":String.fromCharCode(l),e+=6):240==(248&r)&&e+9<i&&(o=parseInt(t.slice(e+4,e+6),16),a=parseInt(t.slice(e+7,e+9),16),s=parseInt(t.slice(e+10,e+12),16),128==(192&o)&&128==(192&a)&&128==(192&s))?((l=r<<18&1835008|o<<12&258048|a<<6&4032|63&s)<65536||l>1114111?c+="����":(l-=65536,c+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),e+=9):c+="�";return c})}r.defaultChars=";/?:@&=+$,#",r.componentChars="",t.exports=r}});
  151. //# sourceMappingURL=vendor.bc3479efe4e7d435ff02.js.map