From d518c1d3f8208c1def114f4a5a3dd22f3ad782d7 Mon Sep 17 00:00:00 2001 From: luotianqi Date: Mon, 23 May 2022 10:50:08 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=B7=BB=E5=8A=A0html=E6=A0=BC=E5=BC=8F?= =?UTF-8?q?=E6=8A=A5=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- analyzer/engine/engine.go | 27 +++++++++++--- analyzer/engine/parse.go | 6 ++++ cli/main.go | 27 +++++++------- util/model/dependency.go | 14 ++++---- util/report/format.go | 24 +++++++++++++ util/report/html.go | 76 ++++++++++++++++++++++++++++++++++++--- util/report/index.html | 2 ++ util/report/json.go | 23 +++--------- 8 files changed, 151 insertions(+), 48 deletions(-) create mode 100644 util/report/index.html diff --git a/analyzer/engine/engine.go b/analyzer/engine/engine.go index 45201f7..b6b583e 100644 --- a/analyzer/engine/engine.go +++ b/analyzer/engine/engine.go @@ -10,10 +10,12 @@ import ( "os" "path" "strings" + "time" "util/args" "util/filter" "util/logs" "util/model" + "util/report" "util/vuln" "analyzer/analyzer" @@ -47,13 +49,23 @@ func NewEngine() Engine { } // ParseFile 解析一个目录或文件 -func (e Engine) ParseFile(filepath string) (*model.DepTree, error) { +func (e Engine) ParseFile(filepath string) (depRoot *model.DepTree, taskInfo report.TaskInfo) { // 目录树 dirRoot := model.NewDirTree() - depRoot := model.NewDepTree(nil) + depRoot = model.NewDepTree(nil) + taskInfo = report.TaskInfo{ + AppName: filepath, + StartTime: time.Now().Format("2006-01-02 03:04:05"), + } + s := time.Now() + defer func() { + taskInfo.CostTime = time.Since(s).Seconds() + taskInfo.EndTime = time.Now().Format("2006-01-02 03:04:05") + }() if f, err := os.Stat(filepath); err != nil { + taskInfo.Error = err logs.Error(err) - return depRoot, err + return depRoot, taskInfo } else { if f.IsDir() { // 目录 @@ -63,6 +75,11 @@ func (e Engine) ParseFile(filepath string) (*model.DepTree, error) { // 尝试解析gradle依赖 groovy.GradleDepTree(filepath, depRoot) } else if filter.AllPkg(filepath) { + if f, err := os.Stat(filepath); err != nil { + logs.Warn(err) + } else { + taskInfo.Size = f.Size() + } // 压缩包 dirRoot = e.unArchiveFile(filepath) } else if e.checkFile(filepath) { @@ -79,7 +96,7 @@ func (e Engine) ParseFile(filepath string) (*model.DepTree, error) { // 解析目录树获取依赖树 e.parseDependency(dirRoot, depRoot) // 获取漏洞 - err := vuln.SearchVuln(depRoot) + taskInfo.Error = vuln.SearchVuln(depRoot) // 是否仅保留漏洞组件 if args.OnlyVuln { root := model.NewDepTree(nil) @@ -116,5 +133,5 @@ func (e Engine) ParseFile(filepath string) (*model.DepTree, error) { dep.IndirectVulnerabilities = len(vulnExist) } } - return depRoot, err + return depRoot, taskInfo } diff --git a/analyzer/engine/parse.go b/analyzer/engine/parse.go index b6964a1..5f61b5d 100644 --- a/analyzer/engine/parse.go +++ b/analyzer/engine/parse.go @@ -39,6 +39,12 @@ func (e Engine) parseDependency(dirRoot *model.DirTree, depRoot *model.DepTree) if d.Name != "" && d.Version.Ok() { d.Path = path.Join(d.Path, d.Dependency.String()) } + // 标识为直接依赖 + d.Direct = true + for _, c := range d.Children { + c.Direct = true + } + // 填充路径 q := []*model.DepTree{d} s := map[int64]struct{}{} for len(q) > 0 { diff --git a/cli/main.go b/cli/main.go index fce14be..6d36bf5 100644 --- a/cli/main.go +++ b/cli/main.go @@ -25,25 +25,22 @@ func main() { } // output 输出结果 -func output(depRoot *model.DepTree, err error) { - // 整理错误信息 - errInfo := "" - if err != nil { - errInfo = err.Error() - } +func output(depRoot *model.DepTree, taskInfo report.TaskInfo) { // 记录依赖 logs.Debug("\n" + depRoot.String()) // 输出结果 + var reportFunc func(*model.DepTree, report.TaskInfo) []byte + switch path.Ext(args.Out) { + case ".html": + reportFunc = report.Html + case ".json": + reportFunc = report.Json + default: + reportFunc = report.Json + } if args.Out != "" { - switch path.Ext(args.Out) { - case ".html": - report.SaveHtml(depRoot, errInfo, args.Out) - case ".json": - report.SaveJson(depRoot, errInfo, args.Out) - default: - report.SaveJson(depRoot, errInfo, args.Out) - } + report.Save(reportFunc(depRoot, taskInfo), args.Out) } else { - fmt.Println(string(report.Json(depRoot, errInfo))) + fmt.Println(string(reportFunc(depRoot, taskInfo))) } } diff --git a/util/model/dependency.go b/util/model/dependency.go index 14d13e7..f6c5ba7 100644 --- a/util/model/dependency.go +++ b/util/model/dependency.go @@ -72,20 +72,22 @@ func (dep Dependency) String() string { // DepTree 依赖树 type DepTree struct { Dependency - Vulnerabilities []*Vuln `json:"vulnerabilities,omitempty"` - IndirectVulnerabilities int `json:"indirect_vulnerabilities,omitempty"` + // 是否为直接依赖 + Direct bool `json:"direct"` // 依赖路径 Path string `json:"path,omitempty"` // 唯一的组件id,用来标识不同组件 ID int64 `json:"-"` // 父组件 - Parent *DepTree `json:"-"` - // 子组件 - Children []*DepTree `json:"children,omitempty"` + Parent *DepTree `json:"-"` + Vulnerabilities []*Vuln `json:"vulnerabilities,omitempty"` + IndirectVulnerabilities int `json:"indirect_vulnerabilities,omitempty"` // 许可证列表 licenseMap map[string]struct{} `json:"-"` Licenses []string `json:"licenses,omitempty"` - Expand interface{} `json:"-"` + // 子组件 + Children []*DepTree `json:"children,omitempty"` + Expand interface{} `json:"-"` } // NewDepTree 创建DepTree diff --git a/util/report/format.go b/util/report/format.go index ca0fd82..3469731 100644 --- a/util/report/format.go +++ b/util/report/format.go @@ -1,11 +1,23 @@ package report import ( + "os" "strings" "util/enum/language" + "util/logs" "util/model" ) +// 任务检查信息 +type TaskInfo struct { + AppName string `json:"app_name"` + Size int64 `json:"size"` + StartTime string `json:"start_time"` + EndTime string `json:"end_time"` + CostTime float64 `json:"cost_time"` + Error error `json:"error,omitempty"` +} + // format 按照输出内容格式化(不可逆) func format(dep *model.DepTree) { q := []*model.DepTree{dep} @@ -23,3 +35,15 @@ func format(dep *model.DepTree) { node.Version = nil } } + +// Save 保存结果文件 +func Save(data []byte, filepath string) { + if len(data) > 0 { + if f, err := os.Create(filepath); err != nil { + logs.Error(err) + } else { + defer f.Close() + f.Write(data) + } + } +} diff --git a/util/report/html.go b/util/report/html.go index acca6bf..3a7fbfb 100644 --- a/util/report/html.go +++ b/util/report/html.go @@ -1,13 +1,81 @@ package report import ( - "errors" + "bytes" + _ "embed" + "encoding/json" "util/logs" "util/model" ) -// SaveHtml 将结果保存为html文件 -func SaveHtml(dep *model.DepTree, err, filepath string) { +//go:embed index.html +var index []byte + +// Html 获取html格式报告数据 +func Html(dep *model.DepTree, taskInfo TaskInfo) []byte { + // html组件字段 + type htmlDep struct { + *model.DepTree + SecId int `json:"security_level_id,omitempty"` + Statis map[int]int `json:"vuln_statis"` + } + deps := []htmlDep{} + // html统计信息 + type htmlStatis struct { + Component map[int]int `json:"component"` + Vuln map[int]int `json:"vuln"` + } + statis := htmlStatis{ + Component: map[int]int{}, + Vuln: map[int]int{}, + } + vulnMap := map[string]int{} + // 遍历所有组件 format(dep) - logs.Error(errors.New("not implement")) + q := []*model.DepTree{dep} + for len(q) > 0 { + n := q[0] + q = append(q[1:], n.Children...) + // 删除不需要的数据 + n.Children = nil + n.IndirectVulnerabilities = 0 + // 计算组件风险 + secid := 5 + vuln_statis := map[int]int{} + for _, v := range n.Vulnerabilities { + vulnMap[v.Id] = v.SecurityLevelId + vuln_statis[v.SecurityLevelId]++ + if secid > v.SecurityLevelId { + secid = v.SecurityLevelId + } + } + if n.Name != "" { + statis.Component[secid]++ + deps = append(deps, htmlDep{ + n, + secid, + vuln_statis, + }) + } + } + // 统计漏洞风险 + for _, secid := range vulnMap { + statis.Vuln[secid]++ + } + // 生成html报告需要的json数据 + if data, err := json.Marshal(struct { + TaskInfo TaskInfo `json:"task_info"` + Statis htmlStatis `json:"statis"` + Components []htmlDep `json:"components"` + }{ + TaskInfo: taskInfo, + Statis: statis, + Components: deps, + }); err != nil { + logs.Warn(err) + return []byte{} + } else { + // 替换模板数据 + return bytes.Replace(index, []byte("N$}"), append(data, '}'), 1) + } } diff --git a/util/report/index.html b/util/report/index.html new file mode 100644 index 0000000..c26d194 --- /dev/null +++ b/util/report/index.html @@ -0,0 +1,2 @@ +OpenSCA开源组件检测报告
\ No newline at end of file diff --git a/util/report/json.go b/util/report/json.go index a5a9b97..7d092bf 100644 --- a/util/report/json.go +++ b/util/report/json.go @@ -2,32 +2,19 @@ package report import ( "encoding/json" - "os" "util/logs" "util/model" ) -// SaveJson 将结果保存为json文件 -func SaveJson(dep *model.DepTree, err string, filepath string) { - if data := Json(dep, err); len(data) > 0 { - if f, err := os.Create(filepath); err != nil { - logs.Error(err) - } else { - defer f.Close() - f.Write(data) - } - } -} - -// Json 获取用于展示结果的json数据 -func Json(dep *model.DepTree, err string) []byte { +// Json 获取json格式报告数据 +func Json(dep *model.DepTree, taskInfo TaskInfo) []byte { format(dep) if data, err := json.Marshal(struct { *model.DepTree - Error string `json:"error,omitempty"` + TaskInfo TaskInfo `json:"task_info"` }{ - DepTree: dep, - Error: err, + DepTree: dep, + TaskInfo: taskInfo, }); err != nil { logs.Error(err) } else { -- Gitee From 6d05ae37c6d65e5fae8fd19d5ade36de18720a46 Mon Sep 17 00:00:00 2001 From: luotianqi777 Date: Mon, 23 May 2022 11:35:53 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=8A=A5=E5=91=8A?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E6=A0=87=E8=AE=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- util/report/index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/util/report/index.html b/util/report/index.html index c26d194..146bc1d 100644 --- a/util/report/index.html +++ b/util/report/index.html @@ -1,2 +1,4 @@ OpenSCA开源组件检测报告
\ No newline at end of file +!function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},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=0)}({0:function(t,e,n){t.exports=n("56d7")},"0094":function(t,e,n){"use strict";var r,i=n("da84"),o=n("e330"),a=n("6964"),s=n("f183"),l=n("6d61"),u=n("acac"),c=n("861d"),d=n("4fad"),h=n("69f3").enforce,f=n("7f9a"),p=!i.ActiveXObject&&"ActiveXObject"in i,g=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},v=l("WeakMap",g,u);if(f&&p){r=u.getConstructor(g,"WeakMap",!0),s.enable();var y=v.prototype,m=o(y.delete),b=o(y.has),_=o(y.get),x=o(y.set);a(y,{delete:function(t){if(c(t)&&!d(t)){var e=h(this);return e.frozen||(e.frozen=new r),m(this,t)||e.frozen.delete(t)}return m(this,t)},has:function(t){if(c(t)&&!d(t)){var e=h(this);return e.frozen||(e.frozen=new r),b(this,t)||e.frozen.has(t)}return b(this,t)},get:function(t){if(c(t)&&!d(t)){var e=h(this);return e.frozen||(e.frozen=new r),b(this,t)?_(this,t):e.frozen.get(t)}return _(this,t)},set:function(t,e){if(c(t)&&!d(t)){var n=h(this);n.frozen||(n.frozen=new r),b(this,t)?x(this,t,e):n.frozen.set(t,e)}else x(this,t,e);return this}})}},"00b4":function(t,e,n){"use strict";n("ac1f");var r=n("23e7"),i=n("da84"),o=n("c65b"),a=n("e330"),s=n("1626"),l=n("861d"),u=function(){var t=!1,e=/[ac]/;return e.exec=function(){return t=!0,/./.exec.apply(this,arguments)},!0===e.test("abc")&&t}(),c=i.Error,d=a(/./.test);r({target:"RegExp",proto:!0,forced:!u},{test:function(t){var e=this.exec;if(!s(e))return d(this,t);var n=o(e,this,t);if(null!==n&&!l(n))throw new c("RegExp exec method returned something other than an Object or null");return!!n}})},"00ee":function(t,e,n){var r={};r[n("b622")("toStringTag")]="z",t.exports="[object z]"===String(r)},"01b4":function(t,e){var n=function(){this.head=null,this.tail=null};n.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=n},"0261":function(t,e,n){var r=n("23e7"),i=n("d039"),o=n("8eb5"),a=Math.abs,s=Math.exp,l=Math.E;r({target:"Math",stat:!0,forced:i((function(){return-2e-17!=Math.sinh(-2e-17)}))},{sinh:function(t){return a(t=+t)<1?(o(t)-o(-t))/2:(s(t-1)-s(-t-1))*(l/2)}})},"02ec":function(t,e,n){var r=n("23e7"),i=n("67b6");r({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==i},{trimLeft:i})},"0366":function(t,e,n){var r=n("e330"),i=n("59ed"),o=n("40d5"),a=r(r.bind);t.exports=function(t,e){return i(t),void 0===e?t:o?a(t,e):function(){return t.apply(e,arguments)}}},"0402":function(t,e,n){var r=n("23e7"),i=n("da84"),o=n("2cf4").set;r({global:!0,bind:!0,enumerable:!0,forced:i.setImmediate!==o},{setImmediate:o})},"0481":function(t,e,n){"use strict";var r=n("23e7"),i=n("a2bf"),o=n("7b0b"),a=n("07fa"),s=n("5926"),l=n("65f0");r({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=o(this),n=a(e),r=l(e,0);return r.length=i(r,e,e,n,0,void 0===t?1:s(t)),r}})},"04d1":function(t,e,n){var r=n("342f").match(/firefox\/(\d+)/i);t.exports=!!r&&+r[1]},"0538":function(t,e,n){"use strict";var r=n("da84"),i=n("e330"),o=n("59ed"),a=n("861d"),s=n("1a2d"),l=n("f36a"),u=n("40d5"),c=r.Function,d=i([].concat),h=i([].join),f={},p=function(t,e,n){if(!s(f,e)){for(var r=[],i=0;i]*>)/g,c=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,r,d,h){var f=n+t.length,p=r.length,g=c;return void 0!==d&&(d=i(d),g=u),s(h,g,(function(i,s){var u;switch(a(s,0)){case"$":return"$";case"&":return t;case"`":return l(e,0,n);case"'":return l(e,f);case"<":u=d[l(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>p){var h=o(c/10);return 0===h?i:h<=p?void 0===r[h-1]?a(s,1):r[h-1]+a(s,1):i}u=r[c-1]}return void 0===u?"":u}))}},"0ccb":function(t,e,n){var r=n("e330"),i=n("50c4"),o=n("577e"),a=n("1148"),s=n("1d80"),l=r(a),u=r("".slice),c=Math.ceil,d=function(t){return function(e,n,r){var a,d,h=o(s(e)),f=i(n),p=h.length,g=void 0===r?" ":o(r);return f<=p||""==g?h:((d=l(g,c((a=f-p)/g.length))).length>a&&(d=u(d,0,a)),t?h+d:d+h)}};t.exports={start:d(!1),end:d(!0)}},"0cfb":function(t,e,n){var r=n("83ab"),i=n("d039"),o=n("cc12");t.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"0d3b":function(t,e,n){var r=n("d039"),i=n("b622"),o=n("c430"),a=i("iterator");t.exports=!r((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,n="";return t.pathname="c%20d",e.forEach((function(t,r){e.delete("b"),n+=r+t})),o&&!t.toJSON||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},"0d51":function(t,e,n){var r=n("da84").String;t.exports=function(t){try{return r(t)}catch(t){return"Object"}}},"0e15":function(t,e,n){var r=n("597f");t.exports=function(t,e,n){return void 0===n?r(t,e,!1):r(t,n,!1!==e)}},"0eb6":function(t,e,n){"use strict";var r=n("23e7"),i=n("7c37"),o=n("d066"),a=n("d039"),s=n("7c73"),l=n("5c6c"),u=n("9bf2").f,c=n("cb2d"),d=n("edd0"),h=n("1a2d"),f=n("19aa"),p=n("825a"),g=n("aa1f"),v=n("e391"),y=n("cf98"),m=n("c770"),b=n("69f3"),_=n("83ab"),x=n("c430"),w="DOMException",S="DATA_CLONE_ERR",M=o("Error"),O=o(w)||function(){try{(new(o("MessageChannel")||i("worker_threads").MessageChannel)).port1.postMessage(new WeakMap)}catch(t){if(t.name==S&&25==t.code)return t.constructor}}(),C=O&&O.prototype,I=M.prototype,T=b.set,A=b.getterFor(w),D="stack"in M(w),k=function(t){return h(y,t)&&y[t].m?y[t].c:0},j=function(){f(this,E);var t=arguments.length,e=v(t<1?void 0:arguments[0]),n=v(t<2?void 0:arguments[1],"Error"),r=k(n);if(T(this,{type:w,name:n,message:e,code:r}),_||(this.name=n,this.message=e,this.code=r),D){var i=M(e);i.name=w,u(this,"stack",l(1,m(i.stack,1)))}},E=j.prototype=s(I),L=function(t){return{enumerable:!0,configurable:!0,get:t}},N=function(t){return L((function(){return A(this)[t]}))};_&&(d(E,"code",N("code")),d(E,"message",N("message")),d(E,"name",N("name"))),u(E,"constructor",l(1,j));var P=a((function(){return!(new O instanceof M)})),R=P||a((function(){return I.toString!==g||"2: 1"!==String(new O(1,2))})),z=P||a((function(){return 25!==new O(1,"DataCloneError").code})),V=P||25!==O[S]||25!==C[S],B=x?R||z||V:P;r({global:!0,constructor:!0,forced:B},{DOMException:B?j:O});var F=o(w),H=F.prototype;for(var W in R&&(x||O===F)&&c(H,"toString",g),z&&_&&O===F&&d(H,"code",L((function(){return k(p(this).name)}))),y)if(h(y,W)){var U=y[W],G=U.s,Y=l(6,U.c);h(F,G)||u(F,G,Y),h(H,G)||u(H,G,Y)}},"0f67":function(t,e,n){"use strict";n("3967")},"0f6c":function(t,e){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},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=137)}({137:function(t,e,n){"use strict";n.r(e);var r={name:"ElRow",componentName:"ElRow",props:{tag:{type:String,default:"div"},gutter:Number,type:String,justify:{type:String,default:"start"},align:String},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:"",this.align?"is-align-"+this.align:"",{"el-row--flex":"flex"===this.type}],style:this.style},this.$slots.default)},install:function(t){t.component(r.name,r)}};e.default=r}})},"0fb7":function(t,e,n){},"101a":function(t,e,n){"use strict";n("51e9")},"107c":function(t,e,n){var r=n("d039"),i=n("da84").RegExp;t.exports=r((function(){var t=i("(?b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$c")}))},"10d1":function(t,e,n){n("0094")},1148:function(t,e,n){"use strict";var r=n("da84"),i=n("5926"),o=n("577e"),a=n("1d80"),s=r.RangeError;t.exports=function(t){var e=o(a(this)),n="",r=i(t);if(r<0||r==1/0)throw s("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(e+=e))1&r&&(n+=e);return n}},1276:function(t,e,n){"use strict";var r=n("2ba4"),i=n("c65b"),o=n("e330"),a=n("d784"),s=n("44e7"),l=n("825a"),u=n("1d80"),c=n("4840"),d=n("8aa5"),h=n("50c4"),f=n("577e"),p=n("dc4a"),g=n("4dae"),v=n("14c3"),y=n("9263"),m=n("9f7f"),b=n("d039"),_=m.UNSUPPORTED_Y,x=4294967295,w=Math.min,S=[].push,M=o(/./.exec),O=o(S),C=o("".slice),I=!b((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));a("split",(function(t,e,n){var o;return o="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var o=f(u(this)),a=void 0===n?x:n>>>0;if(0===a)return[];if(void 0===t)return[o];if(!s(t))return i(e,o,t,a);for(var l,c,d,h=[],p=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),v=0,m=new RegExp(t.source,p+"g");(l=i(y,m,o))&&!((c=m.lastIndex)>v&&(O(h,C(o,v,l.index)),l.length>1&&l.index=a));)m.lastIndex===l.index&&m.lastIndex++;return v===o.length?!d&&M(m,"")||O(h,""):O(h,C(o,v)),h.length>a?g(h,0,a):h}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:i(e,this,t,n)}:e,[function(e,n){var r=u(this),a=null==e?void 0:p(e,t);return a?i(a,e,r,n):i(o,f(r),e,n)},function(t,r){var i=l(this),a=f(t),s=n(o,i,a,r,o!==e);if(s.done)return s.value;var u=c(i,RegExp),p=i.unicode,g=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(_?"g":"y"),y=new u(_?"^(?:"+i.source+")":i,g),m=void 0===r?x:r>>>0;if(0===m)return[];if(0===a.length)return null===v(y,a)?[a]:[];for(var b=0,S=0,M=[];S79&&a<83},{reduce:function(t){var e=arguments.length;return i(this,t,e,e>1?arguments[1]:void 0)}})},"143c":function(t,e,n){n("74e8")("Int32",(function(t){return function(e,n,r){return t(this,e,n,r)}}))},1448:function(t,e,n){var r=n("dfb9"),i=n("b6b7");t.exports=function(t,e){return r(i(t),e)}},"145e":function(t,e,n){"use strict";var r=n("7b0b"),i=n("23cb"),o=n("07fa"),a=Math.min;t.exports=[].copyWithin||function(t,e){var n=r(this),s=o(n),l=i(t,s),u=i(e,s),c=arguments.length>2?arguments[2]:void 0,d=a((void 0===c?s:i(c,s))-u,s-l),h=1;for(u0;)u in n?n[l]=n[u]:delete n[l],l+=h,u+=h;return n}},"14c3":function(t,e,n){var r=n("da84"),i=n("c65b"),o=n("825a"),a=n("1626"),s=n("c6b6"),l=n("9263"),u=r.TypeError;t.exports=function(t,e){var n=t.exec;if(a(n)){var r=i(n,t,e);return null!==r&&o(r),r}if("RegExp"===s(t))return i(l,t,e);throw u("RegExp#exec called on incompatible receiver")}},"14e5":function(t,e,n){"use strict";var r=n("23e7"),i=n("c65b"),o=n("59ed"),a=n("f069"),s=n("e667"),l=n("2266");r({target:"Promise",stat:!0,forced:n("5eed")},{all:function(t){var e=this,n=a.f(e),r=n.resolve,u=n.reject,c=s((function(){var n=o(e.resolve),a=[],s=0,c=1;l(t,(function(t){var o=s++,l=!1;c++,i(n,e,t).then((function(t){l||(l=!0,a[o]=t,--c||r(a))}),u)})),--c||r(a)}));return c.error&&u(c.value),n.promise}})},"14e9":function(t,e,n){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},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 r=n(16),i=n(38),o=n.n(i),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"}};function u(t){var e=t.move,n=t.size,r=t.bar,i={},o="translate"+r.axis+"("+e+"%)";return i[r.size]=n,i.transform=o,i.msTransform=o,i.webkitTransform=o,i}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,r=this.bar;return t("div",{class:["el-scrollbar__bar","is-"+r.key],on:{mousedown:this.clickTrackHandler}},[t("div",{ref:"thumb",class:"el-scrollbar__thumb",on:{mousedown:this.clickThumbHandler},style:u({size:e,move:n,bar:r})})])},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)}},d={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 r="-"+e+"px",i="margin-bottom: "+r+"; margin-right: "+r+";";Array.isArray(this.wrapStyle)?(n=Object(a.toObject)(this.wrapStyle)).marginRight=n.marginBottom=r:"string"==typeof this.wrapStyle?n+=i:n=i}var s,l=t(this.tag,{class:["el-scrollbar__view",this.viewClass],style:this.viewStyle,ref:"resize"},this.$slots.default),u=t("div",{ref:"wrap",style:n,on:{scroll:this.handleScroll},class:[this.wrapClass,"el-scrollbar__wrap",e?"":"el-scrollbar__wrap--hidden-default"]},[[l]]);return s=this.native?[t("div",{ref:"wrap",class:[this.wrapClass,"el-scrollbar__wrap"],style:n},[[l]])]:[u,t(c,{attrs:{move:this.moveX,size:this.sizeWidth}}),t(c,{attrs:{vertical:!0,move:this.moveY,size:this.sizeHeight}})],t("div",{class:"el-scrollbar"},s)},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=void 0,e=void 0,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(r.addResizeListener)(this.$refs.resize,this.update))},beforeDestroy:function(){this.native||!this.noresize&&Object(r.removeResizeListener)(this.$refs.resize,this.update)},install:function(t){t.component(d.name,d)}};e.default=d},16:function(t,e){t.exports=n("4010")},2:function(t,e){t.exports=n("5924")},3:function(t,e){t.exports=n("8122")},38:function(t,e){t.exports=n("e62d")}})},"159b":function(t,e,n){var r=n("da84"),i=n("fdbc"),o=n("785a"),a=n("17c2"),s=n("9112"),l=function(t){if(t&&t.forEach!==a)try{s(t,"forEach",a)}catch(e){t.forEach=a}};for(var u in i)i[u]&&l(r[u]&&r[u].prototype);l(o)},1626:function(t,e){t.exports=function(t){return"function"==typeof t}},"170b":function(t,e,n){"use strict";var r=n("ebb5"),i=n("50c4"),o=n("23cb"),a=n("b6b7"),s=r.aTypedArray;(0,r.exportTypedArrayMethod)("subarray",(function(t,e){var n=s(this),r=n.length,l=o(t,r);return new(a(n))(n.buffer,n.byteOffset+l*n.BYTES_PER_ELEMENT,i((void 0===e?r:o(e,r))-l))}))},"17c2":function(t,e,n){"use strict";var r=n("b727").forEach,i=n("a640")("forEach");t.exports=i?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},"182d":function(t,e,n){var r=n("da84"),i=n("f8cd"),o=r.RangeError;t.exports=function(t,e){var n=i(t);if(n%e)throw o("Wrong offset");return n}},1831:function(t){t.exports=JSON.parse('{"task_info":{"app_name":"E:/Webgoat/java/vulns.zip","size":119724008,"start_time":"2022-05-20 11:16:13","end_time":"2022-05-20 11:16:18","cost_time":4.4916139},"statis":{"component":{"1":8,"2":5,"3":5,"4":1,"5":33},"vuln":{"1":5,"2":10,"3":13,"4":2}},"components":[{"vendor":"com.baidu.openrasp","name":"vulns","version":"0.0.1-SNAPSHOT","language":"Java","direct":true,"path":"META-INF/maven/com.baidu.openrasp/vulns/pom.xml/[com.baidu.openrasp:vulns:0.0.1-SNAPSHOT]","security_level_id":5,"vuln_statis":{}},{"vendor":"commons-beanutils","name":"commons-beanutils","version":"1.8.0","language":"Java","direct":true,"path":"maven/commons-beanutils/commons-beanutils/pom.xml/[commons-beanutils:commons-beanutils:1.8.0]","vulnerabilities":[{"name":"Apache Struts 输入验证错误漏洞","id":"XMIRROR-2014-0114","cve_id":"CVE-2014-0114","cnnvd_id":"CNNVD-201404-581","cwe_id":"CWE-20","description":"Apache Struts是美国阿帕奇(Apache)基金会的一个开源项目,是一套用于创建企业级Java Web应用的开源MVC框架,主要提供两个版本框架产品,Struts 1和Struts 2。 \\nApache Struts 1.x版本至1.3.10版本中的Apache Commons BeanUtils 1.9.2及之前版本中存在输入验证错误漏洞。该漏洞源于网络系统或产品未对输入的数据进行正确的验证。","suggestion":"目前厂商已经发布了升级补丁以修复此安全问题,补丁获取链接: \\nhttp://www.apache.org/","attack_type":"远程","release_date":"2014-04-30","security_level_id":2,"exploit_level_id":1}],"security_level_id":2,"vuln_statis":{"2":1}},{"vendor":"commons-codec","name":"commons-codec","version":"1.9","language":"Java","direct":true,"path":"maven/commons-codec/commons-codec/pom.xml/[commons-codec:commons-codec:1.9]","vulnerabilities":[{"name":"commons-codec安全漏洞","id":"XMIRROR-OSS-4044","cwe_id":"CWE-200","description":"commons-codec受影响的版本存在信息暴露漏洞","suggestion":"更新到1.13或更高版本","attack_type":"远程","release_date":"2020-03-30","security_level_id":4,"exploit_level_id":0}],"security_level_id":4,"vuln_statis":{"4":1}},{"vendor":"commons-collections","name":"commons-collections","version":"3.2.1","language":"Java","direct":true,"path":"maven/commons-collections/commons-collections/pom.xml/[commons-collections:commons-collections:3.2.1]","vulnerabilities":[{"name":"Oracle WebLogic Server WLS Security组件安全漏洞","id":"XMIRROR-2015-4852","cve_id":"CVE-2015-4852","cnnvd_id":"CNNVD-201511-290","cnvd_id":"CNVD-2015-07707","cwe_id":"CWE-77","description":"Oracle WebLogic Server是美国甲骨文(Oracle)公司的一款适用于云环境和传统环境的应用服务器,它提供了一个现代轻型开发平台,支持应用从开发到生产的整个生命周期管理,并简化了应用的部署和管理。WLS Security是其中的一个安全组件。 \\nOracle WebLogic Server的WLS Security组件中存在安全漏洞。远程攻击者可借助发送到TCP 7001端口的T3协议流量中特制的序列化Java对象,利用该漏洞执行任意命令。","suggestion":"目前厂商已经发布了升级补丁以修复此安全问题,补丁获取链接: \\nhttp://www.oracle.com/technetwork/topics/security/alert-cve-2015-4852-2763333.html","attack_type":"远程","release_date":"2015-11-18","security_level_id":2,"exploit_level_id":1},{"name":"多款Red Hat产品代码问题漏洞","id":"XMIRROR-2015-7501","cve_id":"CVE-2015-7501","cnnvd_id":"CNNVD-201512-025","cnvd_id":"CNVD-2015-07906","cwe_id":"CWE-502","description":"Red Hat JBoss A-MQ等都是美国红帽(Red Hat)公司的产品。Red Hat JBoss A-MQ是美国红帽(Red Hat)公司的一套开源的消息传递平台。BPM Suite(BPMS)是一套集合了JBoss BRMS所有功能的业务流程管理平台。 \\n多款Red Hat产品存在安全漏洞。远程攻击者可借助特制的序列化Java对象利用该漏洞执行任意命令。以下产品和版本受到影响:Red Hat JBoss A-MQ 6.x版本;BPM Suite (BPMS) 6.x版本;BRMS 6.x版本和5.x版本;Data Grid (JDG) 6.x版本;Data Virtualization (JDV) 6.x版本和5.x版本;Enterprise Application Platform 6.x版本,5.x版本和4.3.x版本;Fuse 6.x版本;Fuse Service Works (FSW) 6.x版本;Operations Network (JBoss ON) 3.x版本;Portal 6.x版本;SOA Platform (SOA-P) 5.x版本;Web Server (JWS) 3.x版本;Red Hat OpenShift/xPAAS 3.x版本;Red Hat Subscription Asset Manager 1.3版本。","suggestion":"目前厂商已发布升级补丁以修复漏洞,补丁获取链接: \\nhttps://access.redhat.com/solutions/2045023","attack_type":"远程","release_date":"2017-11-09","security_level_id":1,"exploit_level_id":1},{"name":"多款Cisco产品Apache Commons Collections库任意代码执行漏洞","id":"XMIRROR-2015-6420","cve_id":"CVE-2015-6420","cnnvd_id":"CNNVD-201512-420","cnvd_id":"CNVD-2015-08298","cwe_id":"CWE-502","description":"Apache Commons Collections(ACC)是美国阿帕奇(Apache)软件基金会的一个Apache Commons项目的Commons Proper(可重复利用Java组件库)中的组件,它可以扩展或增加Java集合框架。 \\n多款Cisco产品的ACC库中使用的Java反序列化过程中存在安全漏洞。远程攻击者可通过提交特制的输入利用该漏洞执行任意代码。以下产品及版本受到影响:Cisco Digital Life RMS 1.8.1.1版本,Broadband Access Center Telco Wireless 3.8.1版本;SocialMiner,WebEx Meetings Server 1.x版本,2.x版本;NAC Agent for Windows;InTracer,Network Admission Control (NAC),Visual Quality Experience Server,Visual Quality Experience Tools Server;ASA CX and Cisco Prime Security Manager,Clean Access Manager,NAC Appliance (Clean Access Server),NAC Guest Server,NAC Server,Secure Access Control System (ACS);Access Registrar Appliance,Cloupia Unified Infrastructure Controller,Configuration Professional,Digital Media Manager,Insight Reporter,Prime Access Registrar Appliance,Prime Access Registrar,Prime Collaboration Provisioning,Prime Home,Prime LAN Management Solution (LMS - Solaris),Prime Optical for SPs,Prime Performance Manager,Prime Provisioning for SPs,Prime Provisioning,Prime Service Catalog Virtual Appliance,Security Manager,Data Center Analytics Framework (DCAF);Broadband Access Center Telco Wireless;Computer Telephony Integration Object Server (CTIOS),Hosted Collaboration Mediation Fulfillment,IM and Presence Service (CUPS),IP Interoperability and Collaboration System (IPICS),Management Heartbeat Server,MediaSense,MeetingPlace,Unified Communications Manager (UCM),Unified Communications Manager Session Management Edition (SME),Unified Contact Center Enterprise,Unified Intelligence Center,Unified Intelligent Contact Management Enterprise,Unified Sip Proxy;Media Experience Engines (MXE),Show and Share,TelePresence Exchange System (CTX),Videoscape Conductor;Business Video Services Automation Software (BV),Cloud Email Security,Registered Envelope Service (CRES),Unified Services Delivery Platform (CUSDP),Communication/Collaboration Sizing Tool, Virtue Machine Placement Tool,Unified Communications Upgrade Readiness Assessment,DCAF UCS Collector,Network Change and Configuration Management,Partner Supporting Service (PSS) 1.x版本,SI component of Partner Supporting Service,Serial Number Assessment Service (SNAS),Smart Net Total Care (SNTC)。","suggestion":"目前厂商暂未发布修复措施解决此安全问题,建议使用此软件的用户随时关注厂商主页或参考网址以获取解决办法: \\nhttp://www.cisco.com/","attack_type":"远程","release_date":"2015-12-15","security_level_id":2,"exploit_level_id":0}],"security_level_id":1,"vuln_statis":{"1":1,"2":2}},{"vendor":"org.apache.commons","name":"commons-collections4","version":"4.0","language":"Java","direct":true,"path":"maven/org.apache.commons/commons-collections4/pom.xml/[org.apache.commons:commons-collections4:4.0]","vulnerabilities":[{"name":"Oracle WebLogic Server WLS Security组件安全漏洞","id":"XMIRROR-2015-4852","cve_id":"CVE-2015-4852","cnnvd_id":"CNNVD-201511-290","cnvd_id":"CNVD-2015-07707","cwe_id":"CWE-77","description":"Oracle WebLogic Server是美国甲骨文(Oracle)公司的一款适用于云环境和传统环境的应用服务器,它提供了一个现代轻型开发平台,支持应用从开发到生产的整个生命周期管理,并简化了应用的部署和管理。WLS Security是其中的一个安全组件。 \\nOracle WebLogic Server的WLS Security组件中存在安全漏洞。远程攻击者可借助发送到TCP 7001端口的T3协议流量中特制的序列化Java对象,利用该漏洞执行任意命令。","suggestion":"目前厂商已经发布了升级补丁以修复此安全问题,补丁获取链接: \\nhttp://www.oracle.com/technetwork/topics/security/alert-cve-2015-4852-2763333.html","attack_type":"远程","release_date":"2015-11-18","security_level_id":2,"exploit_level_id":1},{"name":"多款Red Hat产品代码问题漏洞","id":"XMIRROR-2015-7501","cve_id":"CVE-2015-7501","cnnvd_id":"CNNVD-201512-025","cnvd_id":"CNVD-2015-07906","cwe_id":"CWE-502","description":"Red Hat JBoss A-MQ等都是美国红帽(Red Hat)公司的产品。Red Hat JBoss A-MQ是美国红帽(Red Hat)公司的一套开源的消息传递平台。BPM Suite(BPMS)是一套集合了JBoss BRMS所有功能的业务流程管理平台。 \\n多款Red Hat产品存在安全漏洞。远程攻击者可借助特制的序列化Java对象利用该漏洞执行任意命令。以下产品和版本受到影响:Red Hat JBoss A-MQ 6.x版本;BPM Suite (BPMS) 6.x版本;BRMS 6.x版本和5.x版本;Data Grid (JDG) 6.x版本;Data Virtualization (JDV) 6.x版本和5.x版本;Enterprise Application Platform 6.x版本,5.x版本和4.3.x版本;Fuse 6.x版本;Fuse Service Works (FSW) 6.x版本;Operations Network (JBoss ON) 3.x版本;Portal 6.x版本;SOA Platform (SOA-P) 5.x版本;Web Server (JWS) 3.x版本;Red Hat OpenShift/xPAAS 3.x版本;Red Hat Subscription Asset Manager 1.3版本。","suggestion":"目前厂商已发布升级补丁以修复漏洞,补丁获取链接: \\nhttps://access.redhat.com/solutions/2045023","attack_type":"远程","release_date":"2017-11-09","security_level_id":1,"exploit_level_id":1},{"name":"多款Cisco产品Apache Commons Collections库任意代码执行漏洞","id":"XMIRROR-2015-6420","cve_id":"CVE-2015-6420","cnnvd_id":"CNNVD-201512-420","cnvd_id":"CNVD-2015-08298","cwe_id":"CWE-502","description":"Apache Commons Collections(ACC)是美国阿帕奇(Apache)软件基金会的一个Apache Commons项目的Commons Proper(可重复利用Java组件库)中的组件,它可以扩展或增加Java集合框架。 \\n多款Cisco产品的ACC库中使用的Java反序列化过程中存在安全漏洞。远程攻击者可通过提交特制的输入利用该漏洞执行任意代码。以下产品及版本受到影响:Cisco Digital Life RMS 1.8.1.1版本,Broadband Access Center Telco Wireless 3.8.1版本;SocialMiner,WebEx Meetings Server 1.x版本,2.x版本;NAC Agent for Windows;InTracer,Network Admission Control (NAC),Visual Quality Experience Server,Visual Quality Experience Tools Server;ASA CX and Cisco Prime Security Manager,Clean Access Manager,NAC Appliance (Clean Access Server),NAC Guest Server,NAC Server,Secure Access Control System (ACS);Access Registrar Appliance,Cloupia Unified Infrastructure Controller,Configuration Professional,Digital Media Manager,Insight Reporter,Prime Access Registrar Appliance,Prime Access Registrar,Prime Collaboration Provisioning,Prime Home,Prime LAN Management Solution (LMS - Solaris),Prime Optical for SPs,Prime Performance Manager,Prime Provisioning for SPs,Prime Provisioning,Prime Service Catalog Virtual Appliance,Security Manager,Data Center Analytics Framework (DCAF);Broadband Access Center Telco Wireless;Computer Telephony Integration Object Server (CTIOS),Hosted Collaboration Mediation Fulfillment,IM and Presence Service (CUPS),IP Interoperability and Collaboration System (IPICS),Management Heartbeat Server,MediaSense,MeetingPlace,Unified Communications Manager (UCM),Unified Communications Manager Session Management Edition (SME),Unified Contact Center Enterprise,Unified Intelligence Center,Unified Intelligent Contact Management Enterprise,Unified Sip Proxy;Media Experience Engines (MXE),Show and Share,TelePresence Exchange System (CTX),Videoscape Conductor;Business Video Services Automation Software (BV),Cloud Email Security,Registered Envelope Service (CRES),Unified Services Delivery Platform (CUSDP),Communication/Collaboration Sizing Tool, Virtue Machine Placement Tool,Unified Communications Upgrade Readiness Assessment,DCAF UCS Collector,Network Change and Configuration Management,Partner Supporting Service (PSS) 1.x版本,SI component of Partner Supporting Service,Serial Number Assessment Service (SNAS),Smart Net Total Care (SNTC)。","suggestion":"目前厂商暂未发布修复措施解决此安全问题,建议使用此软件的用户随时关注厂商主页或参考网址以获取解决办法: \\nhttp://www.cisco.com/","attack_type":"远程","release_date":"2015-12-15","security_level_id":2,"exploit_level_id":0}],"security_level_id":1,"vuln_statis":{"1":1,"2":2}},{"vendor":"commons-fileupload","name":"commons-fileupload","version":"1.3.2","language":"Java","direct":true,"path":"maven/commons-fileupload/commons-fileupload/pom.xml/[commons-fileupload:commons-fileupload:1.3.2]","vulnerabilities":[{"name":"Apache Commons FileUpload 访问控制错误漏洞","id":"XMIRROR-2016-1000031","cve_id":"CVE-2016-1000031","cnnvd_id":"CNNVD-201610-475","cnvd_id":"CNVD-2016-09997","cwe_id":"CWE-284","description":"Apache Commons FileUpload是美国阿帕奇(Apache)基金会的一个可将文件上传到Servlet和Web应用程序的软件包。 \\nApache Commons FileUpload 1.3.3之前版本中存在访问控制错误漏洞。该漏洞源于网络系统或产品未正确限制来自未授权角色的资源访问。","suggestion":"目前厂商已经发布了升级补丁以修复此安全问题,详情请关注厂商主页: \\nhttp://commons.apache.org/","attack_type":"远程","release_date":"2016-10-25","security_level_id":1,"exploit_level_id":0}],"security_level_id":1,"vuln_statis":{"1":1}},{"vendor":"commons-io","name":"commons-io","version":"2.5","language":"Java","direct":true,"path":"maven/commons-io/commons-io/pom.xml/[commons-io:commons-io:2.5]","vulnerabilities":[{"name":"Apache Commons IO 路径遍历漏洞","id":"XMIRROR-2021-29425","cve_id":"CVE-2021-29425","cnnvd_id":"CNNVD-202104-702","cnvd_id":"CNVD-2021-30583","cwe_id":"CWE-22","description":"Apache Commons IO是美国阿帕奇(Apache)基金会的一个应用程序。提供一个帮助开发IO功能。 \\nApache Commons IO 2.2版本至2.6版本存在路径遍历漏洞,该漏洞源于当使用不正确的输入字符串(例如“ //../foo”或“ .. foo”)调用FileNameUtils.normalize方法时,则可能会提供对父目录中文件的访问权限。","suggestion":"目前厂商已发布升级补丁以修复漏洞,补丁获取链接: \\nhttps://issues.apache.org/jira/browse/IO-556","attack_type":"远程","release_date":"2021-04-13","security_level_id":3,"exploit_level_id":0}],"security_level_id":3,"vuln_statis":{"3":1}},{"vendor":"commons-lang","name":"commons-lang","version":"2.5","language":"Java","direct":true,"path":"maven/commons-lang/commons-lang/pom.xml/[commons-lang:commons-lang:2.5]","security_level_id":5,"vuln_statis":{}},{"vendor":"commons-logging","name":"commons-logging","version":"1.2","language":"Java","direct":true,"path":"maven/commons-logging/commons-logging/pom.xml/[commons-logging:commons-logging:1.2]","security_level_id":5,"vuln_statis":{}},{"vendor":"net.sf.ezmorph","name":"ezmorph","version":"1.0.6","language":"Java","direct":true,"path":"maven/net.sf.ezmorph/ezmorph/pom.xml/[net.sf.ezmorph:ezmorph:1.0.6]","security_level_id":5,"vuln_statis":{}},{"vendor":"org.apache.httpcomponents","name":"httpclient","version":"4.4","language":"Java","direct":true,"path":"maven/org.apache.httpcomponents/httpclient/pom.xml/[org.apache.httpcomponents:httpclient:4.4]","vulnerabilities":[{"name":"httpclient安全漏洞","id":"XMIRROR-OSS-3750","cwe_id":"CWE-23","description":"httpclient受影响的版本存在相对路径遍历漏洞","suggestion":"更新到4.5.3或更高版本","attack_type":"远程","release_date":"2017-01-17","security_level_id":3,"exploit_level_id":1},{"name":"Apache HttpClient 安全漏洞","id":"XMIRROR-2020-13956","cve_id":"CVE-2020-13956","cnnvd_id":"CNNVD-202010-372","cnvd_id":"CNVD-2021-24248","cwe_id":"NVD-CWE-noinfo","description":"HttpClient是美国阿帕奇(Apache)基金会的一个 Java 编写的访问HTTP资源的客户端程序。该程序用于使用HTTP协议访问网络资源。 \\nApache HttpClient java.net.URI Authority Component存在安全漏洞,该漏洞允许攻击者访问敏感数据。","suggestion":"目前厂商已发布升级补丁以修复漏洞,详情请关注厂商主页: \\nhttps://www.apache.org/","attack_type":"远程","release_date":"2020-12-02","security_level_id":3,"exploit_level_id":0}],"security_level_id":3,"vuln_statis":{"3":2}},{"vendor":"org.apache.httpcomponents","name":"httpcore","version":"4.4","language":"Java","direct":true,"path":"maven/org.apache.httpcomponents/httpcore/pom.xml/[org.apache.httpcomponents:httpcore:4.4]","security_level_id":5,"vuln_statis":{}},{"vendor":"log4j","name":"log4j","version":"1.2.17","language":"Java","direct":true,"path":"maven/log4j/log4j/pom.xml/[log4j:log4j:1.2.17]","vulnerabilities":[{"name":"Apache Log4j 代码问题漏洞","id":"XMIRROR-2019-17571","cve_id":"CVE-2019-17571","cnnvd_id":"CNNVD-201912-950","cnvd_id":"CNVD-2020-00502","cwe_id":"CWE-502","description":"Apache Log4j是美国阿帕奇(Apache)基金会的一款基于Java的开源日志记录工具。 \\nApache Log4j 1.2版本中存在代码问题漏洞。攻击者可利用该漏洞执行代码。","suggestion":"目前厂商已发布升级补丁以修复漏洞,详情请关注厂商主页: \\nhttps://www.apache.org/","attack_type":"远程","release_date":"2019-12-20","security_level_id":1,"exploit_level_id":0},{"name":"Apache Log4j 代码问题漏洞","id":"XMIRROR-2022-23307","cve_id":"CVE-2022-23307","cnnvd_id":"CNNVD-202201-1425","cnvd_id":"CNVD-2022-05785","description":"Apache Log4j是美国阿帕奇(Apache)基金会的一款基于Java的开源日志记录工具。 \\nApache log4j 1.x存在代码问题漏洞,该漏洞源于在log4j的chainsaw组件中某些日志条目的内容被反序列化并可能允许代码执行。攻击者可以在运行 chainsaw 组件时向服务器发送带有序列化数据的请求,进而执行恶意代码。","suggestion":"目前厂商已发布升级补丁以修复漏洞,补丁获取链接: \\nhttps://lists.apache.org/thread/rg4yyc89vs3dw6kpy3r92xop9loywyhh","attack_type":"远程","release_date":"2022-01-18","security_level_id":1,"exploit_level_id":0},{"name":"Apache Log4j 代码问题漏洞","id":"XMIRROR-2022-23302","cve_id":"CVE-2022-23302","cnnvd_id":"CNNVD-202201-1420","cnvd_id":"CNVD-2022-05852","description":"Apache Log4j是美国阿帕奇(Apache)基金会的一款基于Java的开源日志记录工具。 \\nLog4j 存在代码问题漏洞,该漏洞源于当攻击者对 Log4j 配置具有写访问权限或配置引用攻击者有权访问的 LDAP 服务时,所有 Log4j 1.x 版本中的 JMSSink 都容易受到不受信任数据的反序列化。 攻击者可以提供一个 TopicConnectionFactoryBindingName 配置,使 JMSSink 执行 JNDI 请求,从而以类似于 CVE-2021-4104 的方式执行远程代码。 请注意,此问题仅在专门配置为使用 JMSSink(不是默认设置)时影响 Log4j 1.x。 Apache Log4j 1.2 已于 2015 年 8 月结束生命周期。用户应升级到 Log4j 2,因为它解决了以前版本中的许多其他问题。","suggestion":"目前厂商已发布升级补丁以修复漏洞,补丁获取链接: \\nhttps://lists.apache.org/thread/bsr3l5qz4g0myrjhy9h67bcxodpkwj4w","attack_type":"远程","release_date":"2022-01-18","security_level_id":2,"exploit_level_id":0},{"name":"Apache Log4j SQL注入漏洞","id":"XMIRROR-2022-23305","cve_id":"CVE-2022-23305","cnnvd_id":"CNNVD-202201-1421","cnvd_id":"CNVD-2022-08370","description":"Apache Log4j是美国阿帕奇(Apache)基金会的一款基于Java的开源日志记录工具。 \\nApache Log4j 存在SQL注入漏洞,该漏洞源于 Log4j 1.2.x 中的 JDBCAppender 接受 SQL 语句作为配置参数,其中要插入的值是来自 PatternLayout 的转换器。 消息转换器 %m 可能总是包含在内。 这允许攻击者通过将精心制作的字符串输入到记录的应用程序的输入字段或标题中来操纵 SQL,从而允许执行意外的 SQL 查询。 请注意,此问题仅在专门配置为使用 JDBCAppender(不是默认设置)时才会影响 Log4j 1.x。 从 2.0-beta8 版本开始,重新引入了 JDBCAppender,适当支持参数化 SQL 查询,并进一步自定义写入日志的列。 Apache Log4j 1.2 已于 2015 年 8 月结束生命周期。用户应升级到 Log4j 2,因为它解决了以前版本中的许多其他问题。","suggestion":"目前厂商已发布升级补丁以修复漏洞,补丁获取链接: \\nhttps://lists.apache.org/thread/pt6lh3pbsvxqlwlp4c5l798dv2hkc85y","attack_type":"远程","release_date":"2022-01-18","security_level_id":1,"exploit_level_id":0}],"security_level_id":1,"vuln_statis":{"1":3,"2":1}},{"vendor":"com.squareup.okhttp","name":"okhttp","version":"2.7.5","language":"Java","direct":true,"path":"maven/com.squareup.okhttp/okhttp/pom.xml/[com.squareup.okhttp:okhttp:2.7.5]","security_level_id":5,"vuln_statis":{}},{"vendor":"com.squareup.okhttp3","name":"okhttp","version":"3.7.0","language":"Java","direct":true,"path":"maven/com.squareup.okhttp3/okhttp/pom.xml/[com.squareup.okhttp3:okhttp:3.7.0]","security_level_id":5,"vuln_statis":{}},{"vendor":"com.squareup.okio","name":"okio","version":"1.12.0","language":"Java","direct":true,"path":"maven/com.squareup.okio/okio/pom.xml/[com.squareup.okio:okio:1.12.0]","security_level_id":5,"vuln_statis":{}},{"vendor":"org.codehaus.woodstox","name":"stax2-api","version":"3.1.4","language":"Java","direct":true,"path":"maven/org.codehaus.woodstox/stax2-api/pom.xml/[org.codehaus.woodstox:stax2-api:3.1.4]","security_level_id":5,"vuln_statis":{}},{"vendor":"org.apache.taglibs","name":"taglibs-standard-impl","version":"1.2.5","language":"Java","direct":true,"path":"maven/org.apache.taglibs/taglibs-standard-impl/pom.xml/[org.apache.taglibs:taglibs-standard-impl:1.2.5]","security_level_id":5,"vuln_statis":{}},{"vendor":"org.apache.taglibs","name":"taglibs-standard-spec","version":"1.2.5","language":"Java","direct":true,"path":"maven/org.apache.taglibs/taglibs-standard-spec/pom.xml/[org.apache.taglibs:taglibs-standard-spec:1.2.5]","security_level_id":5,"vuln_statis":{}},{"vendor":"com.fasterxml.woodstox","name":"woodstox-core","version":"5.0.3","language":"Java","direct":true,"path":"maven/com.fasterxml.woodstox/woodstox-core/pom.xml/[com.fasterxml.woodstox:woodstox-core:5.0.3]","security_level_id":5,"vuln_statis":{}},{"vendor":"org.apache.httpcomponents","name":"httpclient","version":"4.4","language":"Java","direct":false,"path":"META-INF/maven/com.baidu.openrasp/vulns/pom.xml/[com.baidu.openrasp:vulns:0.0.1-SNAPSHOT]/[org.apache.httpcomponents:httpclient:4.4]","vulnerabilities":[{"name":"httpclient安全漏洞","id":"XMIRROR-OSS-3750","cwe_id":"CWE-23","description":"httpclient受影响的版本存在相对路径遍历漏洞","suggestion":"更新到4.5.3或更高版本","attack_type":"远程","release_date":"2017-01-17","security_level_id":3,"exploit_level_id":1},{"name":"Apache HttpClient 安全漏洞","id":"XMIRROR-2020-13956","cve_id":"CVE-2020-13956","cnnvd_id":"CNNVD-202010-372","cnvd_id":"CNVD-2021-24248","cwe_id":"NVD-CWE-noinfo","description":"HttpClient是美国阿帕奇(Apache)基金会的一个 Java 编写的访问HTTP资源的客户端程序。该程序用于使用HTTP协议访问网络资源。 \\nApache HttpClient java.net.URI Authority Component存在安全漏洞,该漏洞允许攻击者访问敏感数据。","suggestion":"目前厂商已发布升级补丁以修复漏洞,详情请关注厂商主页: \\nhttps://www.apache.org/","attack_type":"远程","release_date":"2020-12-02","security_level_id":3,"exploit_level_id":0}],"security_level_id":3,"vuln_statis":{"3":2}},{"vendor":"log4j","name":"log4j","version":"1.2.17","language":"Java","direct":false,"path":"META-INF/maven/com.baidu.openrasp/vulns/pom.xml/[com.baidu.openrasp:vulns:0.0.1-SNAPSHOT]/[log4j:log4j:1.2.17]","vulnerabilities":[{"name":"Apache Log4j 代码问题漏洞","id":"XMIRROR-2019-17571","cve_id":"CVE-2019-17571","cnnvd_id":"CNNVD-201912-950","cnvd_id":"CNVD-2020-00502","cwe_id":"CWE-502","description":"Apache Log4j是美国阿帕奇(Apache)基金会的一款基于Java的开源日志记录工具。 \\nApache Log4j 1.2版本中存在代码问题漏洞。攻击者可利用该漏洞执行代码。","suggestion":"目前厂商已发布升级补丁以修复漏洞,详情请关注厂商主页: \\nhttps://www.apache.org/","attack_type":"远程","release_date":"2019-12-20","security_level_id":1,"exploit_level_id":0},{"name":"Apache Log4j 代码问题漏洞","id":"XMIRROR-2022-23307","cve_id":"CVE-2022-23307","cnnvd_id":"CNNVD-202201-1425","cnvd_id":"CNVD-2022-05785","description":"Apache Log4j是美国阿帕奇(Apache)基金会的一款基于Java的开源日志记录工具。 \\nApache log4j 1.x存在代码问题漏洞,该漏洞源于在log4j的chainsaw组件中某些日志条目的内容被反序列化并可能允许代码执行。攻击者可以在运行 chainsaw 组件时向服务器发送带有序列化数据的请求,进而执行恶意代码。","suggestion":"目前厂商已发布升级补丁以修复漏洞,补丁获取链接: \\nhttps://lists.apache.org/thread/rg4yyc89vs3dw6kpy3r92xop9loywyhh","attack_type":"远程","release_date":"2022-01-18","security_level_id":1,"exploit_level_id":0},{"name":"Apache Log4j 代码问题漏洞","id":"XMIRROR-2022-23302","cve_id":"CVE-2022-23302","cnnvd_id":"CNNVD-202201-1420","cnvd_id":"CNVD-2022-05852","description":"Apache Log4j是美国阿帕奇(Apache)基金会的一款基于Java的开源日志记录工具。 \\nLog4j 存在代码问题漏洞,该漏洞源于当攻击者对 Log4j 配置具有写访问权限或配置引用攻击者有权访问的 LDAP 服务时,所有 Log4j 1.x 版本中的 JMSSink 都容易受到不受信任数据的反序列化。 攻击者可以提供一个 TopicConnectionFactoryBindingName 配置,使 JMSSink 执行 JNDI 请求,从而以类似于 CVE-2021-4104 的方式执行远程代码。 请注意,此问题仅在专门配置为使用 JMSSink(不是默认设置)时影响 Log4j 1.x。 Apache Log4j 1.2 已于 2015 年 8 月结束生命周期。用户应升级到 Log4j 2,因为它解决了以前版本中的许多其他问题。","suggestion":"目前厂商已发布升级补丁以修复漏洞,补丁获取链接: \\nhttps://lists.apache.org/thread/bsr3l5qz4g0myrjhy9h67bcxodpkwj4w","attack_type":"远程","release_date":"2022-01-18","security_level_id":2,"exploit_level_id":0},{"name":"Apache Log4j SQL注入漏洞","id":"XMIRROR-2022-23305","cve_id":"CVE-2022-23305","cnnvd_id":"CNNVD-202201-1421","cnvd_id":"CNVD-2022-08370","description":"Apache Log4j是美国阿帕奇(Apache)基金会的一款基于Java的开源日志记录工具。 \\nApache Log4j 存在SQL注入漏洞,该漏洞源于 Log4j 1.2.x 中的 JDBCAppender 接受 SQL 语句作为配置参数,其中要插入的值是来自 PatternLayout 的转换器。 消息转换器 %m 可能总是包含在内。 这允许攻击者通过将精心制作的字符串输入到记录的应用程序的输入字段或标题中来操纵 SQL,从而允许执行意外的 SQL 查询。 请注意,此问题仅在专门配置为使用 JDBCAppender(不是默认设置)时才会影响 Log4j 1.x。 从 2.0-beta8 版本开始,重新引入了 JDBCAppender,适当支持参数化 SQL 查询,并进一步自定义写入日志的列。 Apache Log4j 1.2 已于 2015 年 8 月结束生命周期。用户应升级到 Log4j 2,因为它解决了以前版本中的许多其他问题。","suggestion":"目前厂商已发布升级补丁以修复漏洞,补丁获取链接: \\nhttps://lists.apache.org/thread/pt6lh3pbsvxqlwlp4c5l798dv2hkc85y","attack_type":"远程","release_date":"2022-01-18","security_level_id":1,"exploit_level_id":0}],"security_level_id":1,"vuln_statis":{"1":3,"2":1}},{"vendor":"org.apache.taglibs","name":"taglibs-standard-impl","version":"1.2.5","language":"Java","direct":false,"path":"META-INF/maven/com.baidu.openrasp/vulns/pom.xml/[com.baidu.openrasp:vulns:0.0.1-SNAPSHOT]/[org.apache.taglibs:taglibs-standard-impl:1.2.5]","security_level_id":5,"vuln_statis":{}},{"vendor":"org.apache.taglibs","name":"taglibs-standard-spec","version":"1.2.5","language":"Java","direct":false,"path":"META-INF/maven/com.baidu.openrasp/vulns/pom.xml/[com.baidu.openrasp:vulns:0.0.1-SNAPSHOT]/[org.apache.taglibs:taglibs-standard-spec:1.2.5]","security_level_id":5,"vuln_statis":{}},{"vendor":"org.apache.commons","name":"commons-collections4","version":"4.0","language":"Java","direct":false,"path":"META-INF/maven/com.baidu.openrasp/vulns/pom.xml/[com.baidu.openrasp:vulns:0.0.1-SNAPSHOT]/[org.apache.commons:commons-collections4:4.0]","vulnerabilities":[{"name":"Oracle WebLogic Server WLS Security组件安全漏洞","id":"XMIRROR-2015-4852","cve_id":"CVE-2015-4852","cnnvd_id":"CNNVD-201511-290","cnvd_id":"CNVD-2015-07707","cwe_id":"CWE-77","description":"Oracle WebLogic Server是美国甲骨文(Oracle)公司的一款适用于云环境和传统环境的应用服务器,它提供了一个现代轻型开发平台,支持应用从开发到生产的整个生命周期管理,并简化了应用的部署和管理。WLS Security是其中的一个安全组件。 \\nOracle WebLogic Server的WLS Security组件中存在安全漏洞。远程攻击者可借助发送到TCP 7001端口的T3协议流量中特制的序列化Java对象,利用该漏洞执行任意命令。","suggestion":"目前厂商已经发布了升级补丁以修复此安全问题,补丁获取链接: \\nhttp://www.oracle.com/technetwork/topics/security/alert-cve-2015-4852-2763333.html","attack_type":"远程","release_date":"2015-11-18","security_level_id":2,"exploit_level_id":1},{"name":"多款Red Hat产品代码问题漏洞","id":"XMIRROR-2015-7501","cve_id":"CVE-2015-7501","cnnvd_id":"CNNVD-201512-025","cnvd_id":"CNVD-2015-07906","cwe_id":"CWE-502","description":"Red Hat JBoss A-MQ等都是美国红帽(Red Hat)公司的产品。Red Hat JBoss A-MQ是美国红帽(Red Hat)公司的一套开源的消息传递平台。BPM Suite(BPMS)是一套集合了JBoss BRMS所有功能的业务流程管理平台。 \\n多款Red Hat产品存在安全漏洞。远程攻击者可借助特制的序列化Java对象利用该漏洞执行任意命令。以下产品和版本受到影响:Red Hat JBoss A-MQ 6.x版本;BPM Suite (BPMS) 6.x版本;BRMS 6.x版本和5.x版本;Data Grid (JDG) 6.x版本;Data Virtualization (JDV) 6.x版本和5.x版本;Enterprise Application Platform 6.x版本,5.x版本和4.3.x版本;Fuse 6.x版本;Fuse Service Works (FSW) 6.x版本;Operations Network (JBoss ON) 3.x版本;Portal 6.x版本;SOA Platform (SOA-P) 5.x版本;Web Server (JWS) 3.x版本;Red Hat OpenShift/xPAAS 3.x版本;Red Hat Subscription Asset Manager 1.3版本。","suggestion":"目前厂商已发布升级补丁以修复漏洞,补丁获取链接: \\nhttps://access.redhat.com/solutions/2045023","attack_type":"远程","release_date":"2017-11-09","security_level_id":1,"exploit_level_id":1},{"name":"多款Cisco产品Apache Commons Collections库任意代码执行漏洞","id":"XMIRROR-2015-6420","cve_id":"CVE-2015-6420","cnnvd_id":"CNNVD-201512-420","cnvd_id":"CNVD-2015-08298","cwe_id":"CWE-502","description":"Apache Commons Collections(ACC)是美国阿帕奇(Apache)软件基金会的一个Apache Commons项目的Commons Proper(可重复利用Java组件库)中的组件,它可以扩展或增加Java集合框架。 \\n多款Cisco产品的ACC库中使用的Java反序列化过程中存在安全漏洞。远程攻击者可通过提交特制的输入利用该漏洞执行任意代码。以下产品及版本受到影响:Cisco Digital Life RMS 1.8.1.1版本,Broadband Access Center Telco Wireless 3.8.1版本;SocialMiner,WebEx Meetings Server 1.x版本,2.x版本;NAC Agent for Windows;InTracer,Network Admission Control (NAC),Visual Quality Experience Server,Visual Quality Experience Tools Server;ASA CX and Cisco Prime Security Manager,Clean Access Manager,NAC Appliance (Clean Access Server),NAC Guest Server,NAC Server,Secure Access Control System (ACS);Access Registrar Appliance,Cloupia Unified Infrastructure Controller,Configuration Professional,Digital Media Manager,Insight Reporter,Prime Access Registrar Appliance,Prime Access Registrar,Prime Collaboration Provisioning,Prime Home,Prime LAN Management Solution (LMS - Solaris),Prime Optical for SPs,Prime Performance Manager,Prime Provisioning for SPs,Prime Provisioning,Prime Service Catalog Virtual Appliance,Security Manager,Data Center Analytics Framework (DCAF);Broadband Access Center Telco Wireless;Computer Telephony Integration Object Server (CTIOS),Hosted Collaboration Mediation Fulfillment,IM and Presence Service (CUPS),IP Interoperability and Collaboration System (IPICS),Management Heartbeat Server,MediaSense,MeetingPlace,Unified Communications Manager (UCM),Unified Communications Manager Session Management Edition (SME),Unified Contact Center Enterprise,Unified Intelligence Center,Unified Intelligent Contact Management Enterprise,Unified Sip Proxy;Media Experience Engines (MXE),Show and Share,TelePresence Exchange System (CTX),Videoscape Conductor;Business Video Services Automation Software (BV),Cloud Email Security,Registered Envelope Service (CRES),Unified Services Delivery Platform (CUSDP),Communication/Collaboration Sizing Tool, Virtue Machine Placement Tool,Unified Communications Upgrade Readiness Assessment,DCAF UCS Collector,Network Change and Configuration Management,Partner Supporting Service (PSS) 1.x版本,SI component of Partner Supporting Service,Serial Number Assessment Service (SNAS),Smart Net Total Care (SNTC)。","suggestion":"目前厂商暂未发布修复措施解决此安全问题,建议使用此软件的用户随时关注厂商主页或参考网址以获取解决办法: \\nhttp://www.cisco.com/","attack_type":"远程","release_date":"2015-12-15","security_level_id":2,"exploit_level_id":0}],"security_level_id":1,"vuln_statis":{"1":1,"2":2}},{"vendor":"commons-fileupload","name":"commons-fileupload","version":"1.3.2","language":"Java","direct":false,"path":"META-INF/maven/com.baidu.openrasp/vulns/pom.xml/[com.baidu.openrasp:vulns:0.0.1-SNAPSHOT]/[commons-fileupload:commons-fileupload:1.3.2]","vulnerabilities":[{"name":"Apache Commons FileUpload 访问控制错误漏洞","id":"XMIRROR-2016-1000031","cve_id":"CVE-2016-1000031","cnnvd_id":"CNNVD-201610-475","cnvd_id":"CNVD-2016-09997","cwe_id":"CWE-284","description":"Apache Commons FileUpload是美国阿帕奇(Apache)基金会的一个可将文件上传到Servlet和Web应用程序的软件包。 \\nApache Commons FileUpload 1.3.3之前版本中存在访问控制错误漏洞。该漏洞源于网络系统或产品未正确限制来自未授权角色的资源访问。","suggestion":"目前厂商已经发布了升级补丁以修复此安全问题,详情请关注厂商主页: \\nhttp://commons.apache.org/","attack_type":"远程","release_date":"2016-10-25","security_level_id":1,"exploit_level_id":0}],"security_level_id":1,"vuln_statis":{"1":1}},{"vendor":"commons-httpclient","name":"commons-httpclient","version":"3.1","language":"Java","direct":false,"path":"META-INF/maven/com.baidu.openrasp/vulns/pom.xml/[com.baidu.openrasp:vulns:0.0.1-SNAPSHOT]/[commons-httpclient:commons-httpclient:3.1]","vulnerabilities":[{"name":"Apache Commons HttpClient Amazon FPS 输入验证错误漏洞","id":"XMIRROR-2012-5783","cve_id":"CVE-2012-5783","cnnvd_id":"CNNVD-201211-029","cwe_id":"CWE-295","description":"HttpClient是Apache Jakarta Common下的子项目,用来提供高效的支持HTTP协议的客户端编程工具包。 \\nApache Commons HttpClient 3.x版本使用在Amazon Flexible Payments Service (FPS) merchant Java SDK以及其他产品中时存在漏洞,该漏洞源于在主题Common Name(CN)或X.509证书的subjectAltName字段中,程序没有对服务器主机名与域名的匹配进行校验。中间人攻击者利用该漏洞通过任意有效的证书欺骗SSL服务器。","suggestion":"目前厂商还没有提供此漏洞的相关补丁或者升级程序,建议使用此软件的用户随时关注厂商的主页以获取最新版本: \\nhttp://www.cs.utexas.edu/~shmat/shmat_ccs12.pdf","attack_type":"远程","release_date":"2012-11-04","security_level_id":3,"exploit_level_id":1},{"name":"Apache Commons HttpClient 输入验证错误漏洞","id":"XMIRROR-2012-6153","cve_id":"CVE-2012-6153","cnnvd_id":"CNNVD-201408-407","cwe_id":"CWE-20","description":"Apache Commons Beanutils是美国阿帕奇(Apache)基金会的一款提供可操作JavaBean的工具类的软件包。 \\nApache Commons HttpClient 4.2.2及之前版本的http/conn/ssl/AbstractVerifier.java文件中存在输入验证错误漏洞,该漏洞源于程序没有正确验证X.509证书。攻击者可通过特制的证书利用该漏洞实施中间人攻击,伪造数据,欺骗SSL服务器。","suggestion":"目前厂商已经发布了升级补丁以修复此安全问题,补丁获取链接: \\nhttp://svn.apache.org/viewvc?view=revision&revision=1411705","attack_type":"远程","release_date":"2014-09-04","security_level_id":3,"exploit_level_id":1}],"security_level_id":3,"vuln_statis":{"3":2}},{"vendor":"commons-io","name":"commons-io","version":"2.5","language":"Java","direct":false,"path":"META-INF/maven/com.baidu.openrasp/vulns/pom.xml/[com.baidu.openrasp:vulns:0.0.1-SNAPSHOT]/[commons-io:commons-io:2.5]","vulnerabilities":[{"name":"Apache Commons IO 路径遍历漏洞","id":"XMIRROR-2021-29425","cve_id":"CVE-2021-29425","cnnvd_id":"CNNVD-202104-702","cnvd_id":"CNVD-2021-30583","cwe_id":"CWE-22","description":"Apache Commons IO是美国阿帕奇(Apache)基金会的一个应用程序。提供一个帮助开发IO功能。 \\nApache Commons IO 2.2版本至2.6版本存在路径遍历漏洞,该漏洞源于当使用不正确的输入字符串(例如“ //../foo”或“ .. foo”)调用FileNameUtils.normalize方法时,则可能会提供对父目录中文件的访问权限。","suggestion":"目前厂商已发布升级补丁以修复漏洞,补丁获取链接: \\nhttps://issues.apache.org/jira/browse/IO-556","attack_type":"远程","release_date":"2021-04-13","security_level_id":3,"exploit_level_id":0}],"security_level_id":3,"vuln_statis":{"3":1}},{"vendor":"mysql","name":"mysql-connector-java","version":"5.1.6","language":"Java","direct":false,"path":"META-INF/maven/com.baidu.openrasp/vulns/pom.xml/[com.baidu.openrasp:vulns:0.0.1-SNAPSHOT]/[mysql:mysql-connector-java:5.1.6]","vulnerabilities":[{"name":"Oracle MySQL Connectors 安全漏洞","id":"XMIRROR-2017-3523","cve_id":"CVE-2017-3523","cnnvd_id":"CNNVD-201704-1260","cnvd_id":"CNVD-2017-06631","cwe_id":"NVD-CWE-noinfo","description":"Oracle MySQL是美国甲骨文(Oracle)公司的一套开源的关系数据库管理系统。该数据库系统具有性能高、成本低、可靠性好等特点。MySQL Connectors是其中的一个连接使用MySQL的应用程序的驱动程序。 \\nOracle MySQL中的MySQL Connectors组件5.1.40及之前的版本的Connector/J子组件存在安全漏洞。攻击者可利用该漏洞控制组件,影响数据的完整性、可用性和保密性。","suggestion":"目前厂商已经发布了升级补丁以修复此安全问题,补丁获取链接: \\nhttp://www.oracle.com/technetwork/security-advisory/cpuapr2017-3236618.html","attack_type":"远程","release_date":"2017-04-24","security_level_id":2,"exploit_level_id":0},{"name":"Oracle MySQL Connectors组件访问控制错误漏洞","id":"XMIRROR-2018-3258","cve_id":"CVE-2018-3258","cnnvd_id":"CNNVD-201810-837","cnvd_id":"CNVD-2019-39877","cwe_id":"NVD-CWE-noinfo","description":"Oracle MySQL是美国甲骨文(Oracle)公司的一套开源的关系数据库管理系统。该数据库系统具有性能高、成本低、可靠性好等特点。MySQL Connectors是其中的一个连接使用MySQL的应用程序的驱动程序。 \\nOracle MySQL中的MySQL Connectors组件8.0.12及之前版本的Connector/J子组件存在安全漏洞。攻击者可利用该漏洞控制组件,影响数据的保密性、完整性和可用性。","suggestion":"目前厂商已发布升级补丁以修复漏洞,补丁获取链接: \\nhttps://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html","attack_type":"远程","release_date":"2018-10-17","security_level_id":2,"exploit_level_id":0},{"name":"Oracle MySQL Connectors 输入验证错误漏洞","id":"XMIRROR-2019-2692","cve_id":"CVE-2019-2692","cnnvd_id":"CNNVD-201904-792","cwe_id":"NVD-CWE-noinfo","description":"Oracle MySQL是美国甲骨文(Oracle)公司的一套开源的关系数据库管理系统。MySQL Connectors是其中的一个连接使用MySQL的应用程序的驱动程序。 \\nOracle MySQL中的MySQL Connectors组件8.0.15及之前版本的Connector/J子组件存在安全漏洞。攻击者可利用该漏洞控制组件,影响数据的保密性、完整性和可用性。","suggestion":"目前厂商已发布升级补丁以修复漏洞,补丁获取链接: \\nhttps://www.oracle.com/technetwork/security-advisory/cpuapr2019verbose-5072824.html","attack_type":"本地","release_date":"2019-04-23","security_level_id":3,"exploit_level_id":0},{"name":"Oracle MySQL Connectors 安全漏洞","id":"XMIRROR-2017-3586","cve_id":"CVE-2017-3586","cnnvd_id":"CNNVD-201704-1209","cnvd_id":"CNVD-2017-06476","cwe_id":"NVD-CWE-noinfo","description":"Oracle MySQL是美国甲骨文(Oracle)公司的一套开源的关系数据库管理系统。该数据库系统具有性能高、成本低、可靠性好等特点。MySQL Connectors是其中的一个连接使用MySQL的应用程序的驱动程序。 \\nOracle MySQL中的MySQL Connectors组件5.1.41及之前的版本的Connector/J子组件存在安全漏洞。攻击者可利用该漏洞未授权读取、更新、插入或删除数据,影响数据的保密性和完整性。","suggestion":"目前厂商已经发布了升级补丁以修复此安全问题,补丁获取链接: \\nhttp://www.oracle.com/technetwork/security-advisory/cpuapr2017-3236618.html","attack_type":"远程","release_date":"2017-04-24","security_level_id":3,"exploit_level_id":0},{"name":"Oracle MySQL Connectors 安全漏洞","id":"XMIRROR-2017-3589","cve_id":"CVE-2017-3589","cnnvd_id":"CNNVD-201704-1207","cnvd_id":"CNVD-2017-05853","cwe_id":"NVD-CWE-noinfo","description":"Oracle MySQL是美国甲骨文(Oracle)公司的一套开源的关系数据库管理系统。该数据库系统具有性能高、成本低、可靠性好等特点。MySQL Connectors是其中的一个连接使用MySQL的应用程序的驱动程序。 \\nOracle MySQL中的MySQL Connectors组件5.1.41及之前的版本的Connector/J子组件存在安全漏洞。攻击者可利用该漏洞未授权更新、插入或删除数据,影响数据的完整性。","suggestion":"目前厂商已经发布了升级补丁以修复此安全问题,补丁获取链接: \\nhttp://www.oracle.com/technetwork/security-advisory/cpuapr2017-3236618.html","attack_type":"本地","release_date":"2017-04-24","security_level_id":4,"exploit_level_id":0},{"name":"Oracle MySQL Connectors组件安全漏洞","id":"XMIRROR-2015-2575","cve_id":"CVE-2015-2575","cnnvd_id":"CNNVD-201504-363","cnvd_id":"CNVD-2015-02640","cwe_id":"NVD-CWE-noinfo","description":"Oracle MySQL是美国甲骨文(Oracle)公司的一套开源的关系数据库管理系统。该数据库系统具有性能高、成本低、可靠性好等特点。MySQL Connectors是其中的一个连接使用MySQL的应用程序的驱动程序。 \\nOracle MySQL 5.1.34及之前版本的MySQL Connectors组件中的Connector/J子组件存在安全漏洞。远程攻击者可利用该漏洞读取、更新、插入或删除数据,影响数据的保密性和完整性。","suggestion":"目前厂商已经发布了升级补丁以修复此安全问题,补丁获取链接: \\nhttp://www.oracle.com/technetwork/topics/security/cpuapr2015-2365600.html","attack_type":"远程","release_date":"2015-04-16","security_level_id":3,"exploit_level_id":0},{"name":"Oracle MySQL 输入验证错误漏洞","id":"XMIRROR-2022-21363","cve_id":"CVE-2022-21363","cnnvd_id":"CNNVD-202201-1627","cnvd_id":"CNVD-2022-15473","description":"Oracle MySQL是美国甲骨文(Oracle)公司的一套开源的关系数据库管理系统。MySQL Server是其中的一个数据库服务器组件。MySQL Connectors是其中的一个连接使用MySQL的应用程序的驱动程序。 \\nMySQL Server存在输入验证错误漏洞,该漏洞的存在是由于 MySQL Server 中的 Server: Optimizer 组件中的输入验证不正确。远程认证用户可以利用此漏洞破坏或删除数据。该漏洞允许远程认证用户破坏或删除数据。","suggestion":"目前厂商已发布升级补丁以修复漏洞,补丁获取链接: \\nhttps://www.cybersecurity-help.cz/vdb/SB2022011905","attack_type":"远程","release_date":"2022-01-19","security_level_id":3,"exploit_level_id":0}],"security_level_id":2,"vuln_statis":{"2":2,"3":4,"4":1}},{"vendor":"com.squareup.okhttp3","name":"okhttp","version":"3.7.0","language":"Java","direct":false,"path":"META-INF/maven/com.baidu.openrasp/vulns/pom.xml/[com.baidu.openrasp:vulns:0.0.1-SNAPSHOT]/[com.squareup.okhttp3:okhttp:3.7.0]","security_level_id":5,"vuln_statis":{}},{"vendor":"com.squareup.okhttp","name":"okhttp","version":"2.7.5","language":"Java","direct":false,"path":"META-INF/maven/com.baidu.openrasp/vulns/pom.xml/[com.baidu.openrasp:vulns:0.0.1-SNAPSHOT]/[com.squareup.okhttp:okhttp:2.7.5]","security_level_id":5,"vuln_statis":{}},{"vendor":"net.sf.json-lib","name":"json-lib","version":"2.4","language":"Java","direct":false,"path":"META-INF/maven/com.baidu.openrasp/vulns/pom.xml/[com.baidu.openrasp:vulns:0.0.1-SNAPSHOT]/[net.sf.json-lib:json-lib:2.4]","security_level_id":5,"vuln_statis":{}},{"vendor":"jstl","name":"jstl","version":"1.2","language":"Java","direct":false,"path":"META-INF/maven/com.baidu.openrasp/vulns/pom.xml/[com.baidu.openrasp:vulns:0.0.1-SNAPSHOT]/[jstl:jstl:1.2]","vulnerabilities":[{"name":"Apache Standard Taglibs 安全漏洞","id":"XMIRROR-2015-0254","cve_id":"CVE-2015-0254","cnnvd_id":"CNNVD-201503-014","cnvd_id":"CNVD-2015-01459","cwe_id":"NVD-CWE-Other","description":"Apache Standard Taglibs是美国阿帕奇(Apache)基金会的一个开源项目,是JSP 标准标记库 (JSTL)规范的实现。 \\nApache Standard Taglibs 1.2.3之前版本中存在安全漏洞。远程攻击者可借助JSTL XML标签中特制的XSLT扩展利用该漏洞执行任意代码,或实施外部XML实体(XXE)攻击。","suggestion":"目前厂商已经发布了升级补丁以修复此安全问题,补丁获取链接: \\nhttp://mail-archives.apache.org/mod_mbox/tomcat-taglibs-user/201502.mbox/browser","attack_type":"远程","release_date":"2015-03-09","security_level_id":2,"exploit_level_id":1}],"security_level_id":2,"vuln_statis":{"2":1}},{"vendor":"dom4j","name":"dom4j","version":"1.6.1","language":"Java","direct":false,"path":"META-INF/maven/com.baidu.openrasp/vulns/pom.xml/[com.baidu.openrasp:vulns:0.0.1-SNAPSHOT]/[dom4j:dom4j:1.6.1]","security_level_id":5,"vuln_statis":{}},{"vendor":"org.jdom","name":"jdom","version":"1.1","language":"Java","direct":false,"path":"META-INF/maven/com.baidu.openrasp/vulns/pom.xml/[com.baidu.openrasp:vulns:0.0.1-SNAPSHOT]/[org.jdom:jdom:1.1]","vulnerabilities":[{"name":"JDOM 代码问题漏洞","id":"XMIRROR-2021-33813","cve_id":"CVE-2021-33813","cnnvd_id":"CNNVD-202106-1323","cwe_id":"CWE-611","description":"JDOM是jdom的一个开源的基于Java的XML文档对象模型,它是专门为Java平台设计的。 \\nJDOM 2.0.6及之前版本存在安全漏洞,攻击者可利用该漏洞通过精心设计的HTTP请求导致拒绝服务。","suggestion":"目前厂商已发布升级补丁以修复漏洞,补丁获取链接: \\nhttps://github.com/hunterhacker/jdom。","attack_type":"远程","release_date":"2021-06-16","security_level_id":2,"exploit_level_id":0}],"security_level_id":2,"vuln_statis":{"2":1}},{"vendor":"xerces","name":"xercesImpl","version":"2.9.1","language":"Java","direct":false,"path":"META-INF/maven/com.baidu.openrasp/vulns/pom.xml/[com.baidu.openrasp:vulns:0.0.1-SNAPSHOT]/[xerces:xercesImpl:2.9.1]","vulnerabilities":[{"name":"Apache Xerces 安全漏洞","id":"XMIRROR-2009-2625","cve_id":"CVE-2009-2625","cnnvd_id":"CNNVD-200908-531","cwe_id":"NVD-CWE-Other","description":"Xerces是一个由Apache组织所推动的一项XML文档解析开源项目。 \\nApache Xerces2 Java(使用在Sun Java Runtime Environment (JRE))中的XMLScanner.java文件存在安全漏洞。该漏洞源于网络系统或产品缺乏有效的权限许可和访问控制措施。以下产品及版本受到影响:JDK 6 Update 15之前版本;JRE 6 Update 15之前版本;JDK 5.0 Update 20之前版本;JRE 5.0 Update 20之前版本。","suggestion":"目前厂商已发布升级补丁以修复漏洞,详情请关注厂商主页: \\nhttps://xerces.apache.org/","attack_type":"远程","release_date":"2009-08-06","security_level_id":3,"exploit_level_id":1},{"name":"Apache Xerces 安全漏洞","id":"XMIRROR-2013-4002","cve_id":"CVE-2013-4002","cnnvd_id":"CNNVD-201307-487","cwe_id":"NVD-CWE-noinfo","description":"Xerces是一个由Apache组织所推动的一项XML文档解析开源项目。 \\nApache Xerces 5.0 SR16-FP3之前的5.0版本,6 SR14之前的6版本,6.0.1 SR6之前的6.0.1版本,7 SR5之前的7版本中的Java Runtime Environment (JRE)中存在安全漏洞。远程攻击者可利用该漏洞影响可用性。","suggestion":"目前厂商已经发布了升级补丁以修复此安全问题,补丁获取链接: \\nhttp://www-01.ibm.com/support/docview.wss?uid=swg21644197","attack_type":"远程","release_date":"2013-07-23","security_level_id":2,"exploit_level_id":0},{"name":"Wildfly Xerces 输入验证错误漏洞","id":"XMIRROR-2020-14338","cve_id":"CVE-2020-14338","cnnvd_id":"CNNVD-202008-1373","cwe_id":"CWE-20","description":"Wildfly Xerces是Red hat的一个组件 \\nWildfly中的Xerces存在安全漏洞,该漏洞允许通过构造恶意的XML文件在某些情况下操作验证过程。","suggestion":"目前厂商暂未发布修复措施解决此安全问题,建议使用此软件的用户随时关注厂商主页或参考网址以获取解决办法: \\nhttps://access.redhat.com/security/cve/cve-2020-14338","attack_type":"远程","release_date":"2020-09-17","security_level_id":3,"exploit_level_id":0},{"name":"Oracle Java SE, Java SE Embedded 和 Jrockit 安全漏洞","id":"XMIRROR-2017-10355","cve_id":"CVE-2017-10355","cnnvd_id":"CNNVD-201710-758","cnvd_id":"CNVD-2017-32180","cwe_id":"NVD-CWE-noinfo","description":"Oracle Java SE等都是美国甲骨文(Oracle)公司的产品。Oracle Java SE是一款用于开发和部署桌面、服务器以及嵌入设备和实时环境中的Java应用程序。Oracle Java SE Embedded是一款针对嵌入式系统的、可移植的应用程序的Java平台。Oracle Jrockit是一款内置于Oracle融合中间件中的Java虚拟机。 \\nOracle Java SE中的Java SE、Java SE Embedded和JRockit组件的Networking子组件存在安全漏洞。攻击者可利用该漏洞造成拒绝服务,影响数据的可用性。以下组件和版本受到影响:Oracle Java SE 6u161版本,7u151版本,8u144版本,9版本;Java SE Embedded 8u144版本;Jrockit R28.3.15版本。","suggestion":"目前厂商已发布升级补丁以修复漏洞,补丁获取链接: \\nhttp://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html","attack_type":"远程","release_date":"2017-10-19","security_level_id":3,"exploit_level_id":1},{"name":"Apache Xerces2 Java 安全漏洞","id":"XMIRROR-2012-0881","cve_id":"CVE-2012-0881","cnnvd_id":"CNNVD-201710-1237","cwe_id":"CWE-399","description":"Apache Xerces2 Java是美国阿帕奇(Apache)软件基金会的一款Java版本的XML语法解析器。 \\nApache Xerces2 Java中存在安全漏洞。远程攻击者可通过向XML服务发送特制的消息利用该漏洞造成拒绝服务(CPU消耗)。","suggestion":"目前厂商暂未发布修复措施解决此安全问题,建议使用此软件的用户随时关注厂商主页或参考网址以获取解决办法: \\nhttp://xerces.apache.org/","attack_type":"远程","release_date":"2017-10-30","security_level_id":2,"exploit_level_id":0},{"name":"Apache Xerces 安全漏洞","id":"XMIRROR-2022-23437","cve_id":"CVE-2022-23437","cnnvd_id":"CNNVD-202201-2238","cnvd_id":"CNVD-2022-14709","description":"Xerces是一个由Apache组织所推动的一项XML文档解析开源项目。 \\nApache Xerces Java (XercesJ) 2.12.1 和以前的版本中的 XML 解析器存在安全漏洞,攻击者可通过特制的 XML 文档负载导致 XercesJ XML 解析器在无限循环中等待,进而长时间消耗系统资源。","suggestion":"目前厂商已发布升级补丁以修复漏洞,补丁获取链接: \\nhttps://lists.apache.org/thread/6pjwm10bb69kq955fzr1n0nflnjd27dl","attack_type":"远程","release_date":"2022-01-24","security_level_id":3,"exploit_level_id":0}],"security_level_id":2,"vuln_statis":{"2":2,"3":4}},{"vendor":"xml-apis","name":"xml-apis","version":"1.4.01","language":"Java","direct":false,"path":"META-INF/maven/com.baidu.openrasp/vulns/pom.xml/[com.baidu.openrasp:vulns:0.0.1-SNAPSHOT]/[xml-apis:xml-apis:1.4.01]","security_level_id":5,"vuln_statis":{}},{"vendor":"com.fasterxml.woodstox","name":"woodstox-core","version":"5.0.3","language":"Java","direct":false,"path":"META-INF/maven/com.baidu.openrasp/vulns/pom.xml/[com.baidu.openrasp:vulns:0.0.1-SNAPSHOT]/[com.fasterxml.woodstox:woodstox-core:5.0.3]","security_level_id":5,"vuln_statis":{}},{"vendor":"commons-logging","name":"commons-logging","version":"1.1.1","language":"Java","direct":false,"path":"maven/commons-beanutils/commons-beanutils/pom.xml/[commons-beanutils:commons-beanutils:1.8.0]/[commons-logging:commons-logging:1.1.1]","security_level_id":5,"vuln_statis":{}},{"vendor":"commons-collections","name":"commons-collections","version":"3.2.1","language":"Java","direct":false,"path":"maven/commons-beanutils/commons-beanutils/pom.xml/[commons-beanutils:commons-beanutils:1.8.0]/[commons-collections:commons-collections:3.2.1]","vulnerabilities":[{"name":"Oracle WebLogic Server WLS Security组件安全漏洞","id":"XMIRROR-2015-4852","cve_id":"CVE-2015-4852","cnnvd_id":"CNNVD-201511-290","cnvd_id":"CNVD-2015-07707","cwe_id":"CWE-77","description":"Oracle WebLogic Server是美国甲骨文(Oracle)公司的一款适用于云环境和传统环境的应用服务器,它提供了一个现代轻型开发平台,支持应用从开发到生产的整个生命周期管理,并简化了应用的部署和管理。WLS Security是其中的一个安全组件。 \\nOracle WebLogic Server的WLS Security组件中存在安全漏洞。远程攻击者可借助发送到TCP 7001端口的T3协议流量中特制的序列化Java对象,利用该漏洞执行任意命令。","suggestion":"目前厂商已经发布了升级补丁以修复此安全问题,补丁获取链接: \\nhttp://www.oracle.com/technetwork/topics/security/alert-cve-2015-4852-2763333.html","attack_type":"远程","release_date":"2015-11-18","security_level_id":2,"exploit_level_id":1},{"name":"多款Red Hat产品代码问题漏洞","id":"XMIRROR-2015-7501","cve_id":"CVE-2015-7501","cnnvd_id":"CNNVD-201512-025","cnvd_id":"CNVD-2015-07906","cwe_id":"CWE-502","description":"Red Hat JBoss A-MQ等都是美国红帽(Red Hat)公司的产品。Red Hat JBoss A-MQ是美国红帽(Red Hat)公司的一套开源的消息传递平台。BPM Suite(BPMS)是一套集合了JBoss BRMS所有功能的业务流程管理平台。 \\n多款Red Hat产品存在安全漏洞。远程攻击者可借助特制的序列化Java对象利用该漏洞执行任意命令。以下产品和版本受到影响:Red Hat JBoss A-MQ 6.x版本;BPM Suite (BPMS) 6.x版本;BRMS 6.x版本和5.x版本;Data Grid (JDG) 6.x版本;Data Virtualization (JDV) 6.x版本和5.x版本;Enterprise Application Platform 6.x版本,5.x版本和4.3.x版本;Fuse 6.x版本;Fuse Service Works (FSW) 6.x版本;Operations Network (JBoss ON) 3.x版本;Portal 6.x版本;SOA Platform (SOA-P) 5.x版本;Web Server (JWS) 3.x版本;Red Hat OpenShift/xPAAS 3.x版本;Red Hat Subscription Asset Manager 1.3版本。","suggestion":"目前厂商已发布升级补丁以修复漏洞,补丁获取链接: \\nhttps://access.redhat.com/solutions/2045023","attack_type":"远程","release_date":"2017-11-09","security_level_id":1,"exploit_level_id":1},{"name":"多款Cisco产品Apache Commons Collections库任意代码执行漏洞","id":"XMIRROR-2015-6420","cve_id":"CVE-2015-6420","cnnvd_id":"CNNVD-201512-420","cnvd_id":"CNVD-2015-08298","cwe_id":"CWE-502","description":"Apache Commons Collections(ACC)是美国阿帕奇(Apache)软件基金会的一个Apache Commons项目的Commons Proper(可重复利用Java组件库)中的组件,它可以扩展或增加Java集合框架。 \\n多款Cisco产品的ACC库中使用的Java反序列化过程中存在安全漏洞。远程攻击者可通过提交特制的输入利用该漏洞执行任意代码。以下产品及版本受到影响:Cisco Digital Life RMS 1.8.1.1版本,Broadband Access Center Telco Wireless 3.8.1版本;SocialMiner,WebEx Meetings Server 1.x版本,2.x版本;NAC Agent for Windows;InTracer,Network Admission Control (NAC),Visual Quality Experience Server,Visual Quality Experience Tools Server;ASA CX and Cisco Prime Security Manager,Clean Access Manager,NAC Appliance (Clean Access Server),NAC Guest Server,NAC Server,Secure Access Control System (ACS);Access Registrar Appliance,Cloupia Unified Infrastructure Controller,Configuration Professional,Digital Media Manager,Insight Reporter,Prime Access Registrar Appliance,Prime Access Registrar,Prime Collaboration Provisioning,Prime Home,Prime LAN Management Solution (LMS - Solaris),Prime Optical for SPs,Prime Performance Manager,Prime Provisioning for SPs,Prime Provisioning,Prime Service Catalog Virtual Appliance,Security Manager,Data Center Analytics Framework (DCAF);Broadband Access Center Telco Wireless;Computer Telephony Integration Object Server (CTIOS),Hosted Collaboration Mediation Fulfillment,IM and Presence Service (CUPS),IP Interoperability and Collaboration System (IPICS),Management Heartbeat Server,MediaSense,MeetingPlace,Unified Communications Manager (UCM),Unified Communications Manager Session Management Edition (SME),Unified Contact Center Enterprise,Unified Intelligence Center,Unified Intelligent Contact Management Enterprise,Unified Sip Proxy;Media Experience Engines (MXE),Show and Share,TelePresence Exchange System (CTX),Videoscape Conductor;Business Video Services Automation Software (BV),Cloud Email Security,Registered Envelope Service (CRES),Unified Services Delivery Platform (CUSDP),Communication/Collaboration Sizing Tool, Virtue Machine Placement Tool,Unified Communications Upgrade Readiness Assessment,DCAF UCS Collector,Network Change and Configuration Management,Partner Supporting Service (PSS) 1.x版本,SI component of Partner Supporting Service,Serial Number Assessment Service (SNAS),Smart Net Total Care (SNTC)。","suggestion":"目前厂商暂未发布修复措施解决此安全问题,建议使用此软件的用户随时关注厂商主页或参考网址以获取解决办法: \\nhttp://www.cisco.com/","attack_type":"远程","release_date":"2015-12-15","security_level_id":2,"exploit_level_id":0}],"security_level_id":1,"vuln_statis":{"1":1,"2":2}},{"vendor":"commons-collections","name":"commons-collections-testframework","version":"3.2.1","language":"Java","direct":false,"path":"maven/commons-beanutils/commons-beanutils/pom.xml/[commons-beanutils:commons-beanutils:1.8.0]/[commons-collections:commons-collections-testframework:3.2.1]","security_level_id":5,"vuln_statis":{}},{"vendor":"junit","name":"junit","version":"3.8.1","language":"Java","direct":false,"path":"maven/commons-beanutils/commons-beanutils/pom.xml/[commons-beanutils:commons-beanutils:1.8.0]/[junit:junit:3.8.1]","security_level_id":5,"vuln_statis":{}},{"vendor":"org.easymock","name":"easymock","version":"3.2","language":"Java","direct":false,"path":"maven/org.apache.commons/commons-collections4/pom.xml/[org.apache.commons:commons-collections4:4.0]/[org.easymock:easymock:3.2]","security_level_id":5,"vuln_statis":{}},{"vendor":"logkit","name":"logkit","version":"1.0.1","language":"Java","direct":false,"path":"maven/commons-logging/commons-logging/pom.xml/[commons-logging:commons-logging:1.2]/[logkit:logkit:1.0.1]","security_level_id":5,"vuln_statis":{}},{"vendor":"avalon-framework","name":"avalon-framework","version":"4.1.5","language":"Java","direct":false,"path":"maven/commons-logging/commons-logging/pom.xml/[commons-logging:commons-logging:1.2]/[avalon-framework:avalon-framework:4.1.5]","security_level_id":5,"vuln_statis":{}},{"vendor":"org.apache.httpcomponents","name":"httpcore","version":"4.4","language":"Java","direct":false,"path":"maven/org.apache.httpcomponents/httpclient/pom.xml/[org.apache.httpcomponents:httpclient:4.4]/[org.apache.httpcomponents:httpcore:4.4]","security_level_id":5,"vuln_statis":{}},{"vendor":"javax.mail","name":"mail","version":"1.4.3","language":"Java","direct":false,"path":"maven/log4j/log4j/pom.xml/[log4j:log4j:1.2.17]/[javax.mail:mail:1.4.3]","security_level_id":5,"vuln_statis":{}},{"vendor":"oro","name":"oro","version":"2.0.8","language":"Java","direct":false,"path":"maven/log4j/log4j/pom.xml/[log4j:log4j:1.2.17]/[oro:oro:2.0.8]","security_level_id":5,"vuln_statis":{}},{"vendor":"org.apache.geronimo.specs","name":"geronimo-jms_1.1_spec","version":"1.0","language":"Java","direct":false,"path":"maven/log4j/log4j/pom.xml/[log4j:log4j:1.2.17]/[org.apache.geronimo.specs:geronimo-jms_1.1_spec:1.0]","security_level_id":5,"vuln_statis":{}},{"vendor":"com.squareup.okio","name":"okio","version":"1.6.0","language":"Java","direct":false,"path":"maven/com.squareup.okhttp/okhttp/pom.xml/[com.squareup.okhttp:okhttp:2.7.5]/[com.squareup.okio:okio:1.6.0]","security_level_id":5,"vuln_statis":{}},{"vendor":"cglib","name":"cglib-nodep","version":"2.2.2","language":"Java","direct":false,"path":"maven/org.apache.commons/commons-collections4/pom.xml/[org.apache.commons:commons-collections4:4.0]/[org.easymock:easymock:3.2]/[cglib:cglib-nodep:2.2.2]","security_level_id":5,"vuln_statis":{}},{"vendor":"org.objenesis","name":"objenesis","version":"1.3","language":"Java","direct":false,"path":"maven/org.apache.commons/commons-collections4/pom.xml/[org.apache.commons:commons-collections4:4.0]/[org.easymock:easymock:3.2]/[org.objenesis:objenesis:1.3]","security_level_id":5,"vuln_statis":{}}]}')},1951:function(t,e,n){},"197b":function(t,e,n){n("746f")("species")},"19aa":function(t,e,n){var r=n("da84"),i=n("3a9b"),o=r.TypeError;t.exports=function(t,e){if(i(e,t))return t;throw o("Incorrect invocation")}},"1a2d":function(t,e,n){var r=n("e330"),i=n("7b0b"),o=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(i(t),e)}},"1be4":function(t,e,n){var r=n("d066");t.exports=r("document","documentElement")},"1bf2":function(t,e,n){n("23e7")({target:"Reflect",stat:!0},{ownKeys:n("56ef")})},"1c59":function(t,e,n){"use strict";n("6d61")("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),n("6566"))},"1c7e":function(t,e,n){var r=n("b622")("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},t(o)}catch(t){}return n}},"1cdc":function(t,e,n){var r=n("342f");t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},"1d1c":function(t,e,n){var r=n("23e7"),i=n("83ab"),o=n("37e8").f;r({target:"Object",stat:!0,forced:Object.defineProperties!==o,sham:!i},{defineProperties:o})},"1d80":function(t,e,n){var r=n("da84").TypeError;t.exports=function(t){if(null==t)throw r("Can't call method on "+t);return t}},"1dde":function(t,e,n){var r=n("d039"),i=n("b622"),o=n("2d00"),a=i("species");t.exports=function(t){return o>=51||!r((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},"1e25":function(t,e,n){n("cad8");var r=n("23e7"),i=n("cb4c");r({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==i},{trimEnd:i})},"1ec1":function(t,e){var n=Math.log;t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:n(1+t)}},"1f7a":function(t,e){t.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyIDI0QzE4LjYyNzQgMjQgMjQgMTguNjI3NCAyNCAxMkMyNCA1LjM3MjU4IDE4LjYyNzQgMCAxMiAwQzUuMzcyNTggMCAwIDUuMzcyNTggMCAxMkMwIDE4LjYyNzQgNS4zNzI1OCAyNCAxMiAyNFoiIGZpbGw9IiNDNzFEMjMiLz4KPHBhdGggZD0iTTE4LjA3NTQgMTAuNjY3MkgxMS4yNjA3QzExLjEwMzIgMTAuNjY3MiAxMC45NTIxIDEwLjcyOTggMTAuODQwNyAxMC44NDEyQzEwLjcyOTMgMTAuOTUyNiAxMC42NjY3IDExLjEwMzYgMTAuNjY2NyAxMS4yNjEyVjEyLjc0MzRDMTAuNjY2NCAxMi44MjEzIDEwLjY4MTQgMTIuODk4NSAxMC43MTEgMTIuOTcwNUMxMC43NDA1IDEzLjA0MjYgMTAuNzg0IDEzLjEwODEgMTAuODM5IDEzLjE2MzNDMTAuODkzOSAxMy4yMTg1IDEwLjk1OTIgMTMuMjYyMyAxMS4wMzExIDEzLjI5MjJDMTEuMTAzIDEzLjMyMiAxMS4xODAxIDEzLjMzNzQgMTEuMjU4IDEzLjMzNzRIMTUuNDA3OUMxNS40ODU3IDEzLjMzNzEgMTUuNTYyOSAxMy4zNTIxIDE1LjYzNSAxMy4zODE3QzE1LjcwNyAxMy40MTEyIDE1Ljc3MjUgMTMuNDU0NyAxNS44Mjc3IDEzLjUwOTdDMTUuODgyOSAxMy41NjQ2IDE1LjkyNjcgMTMuNjI5OSAxNS45NTY2IDEzLjcwMThDMTUuOTg2NSAxMy43NzM3IDE2LjAwMTggMTMuODUwOCAxNi4wMDE4IDEzLjkyODdWMTQuMDc1OVYxNC4yMjNDMTYuMDAxOCAxNC42OTQ5IDE1LjgxNDQgMTUuMTQ3NSAxNS40ODA3IDE1LjQ4MTJDMTUuMTQ3IDE1LjgxNDggMTQuNjk0NSAxNi4wMDIzIDE0LjIyMjYgMTYuMDAyM0g4LjYwMzg1QzguNDQ3MDIgMTYuMDAyMyA4LjI5NjYyIDE1Ljk0IDguMTg1NzMgMTUuODI5MUM4LjA3NDg0IDE1LjcxODIgOC4wMTI1NCAxNS41Njc4IDguMDEyNTQgMTUuNDExVjkuNzkyMjdDOC4wMTIxOSA5LjU1ODc0IDguMDU3ODkgOS4zMjc0MyA4LjE0NzAxIDkuMTExNThDOC4yMzYxMyA4Ljg5NTcyIDguMzY2OTQgOC42OTk1NiA4LjUzMTk0IDguNTM0M0M4LjY5Njk1IDguMzY5MDUgOC44OTI5MiA4LjIzNzk1IDkuMTA4NjQgOC4xNDg1QzkuMzI0MzYgOC4wNTkwNSA5LjU1NTYgOC4wMTMwMSA5Ljc4OTEzIDguMDEzMDFIMTguMDgzNEMxOC4xNjE0IDguMDEzMDEgMTguMjM4NyA3Ljk5NzY0IDE4LjMxMDcgNy45Njc3OUMxOC4zODI4IDcuOTM3OTQgMTguNDQ4MyA3Ljg5NDE5IDE4LjUwMzUgNy44MzkwM0MxOC41NTg2IDcuNzgzODggMTguNjAyNCA3LjcxODQgMTguNjMyMiA3LjY0NjMzQzE4LjY2MjEgNy41NzQyNyAxOC42Nzc0IDcuNDk3MDMgMTguNjc3NCA3LjQxOTAzVjUuOTM2NzVDMTguNjc3OCA1Ljg1ODg4IDE4LjY2MjcgNS43ODE3IDE4LjYzMzIgNS43MDk2NUMxOC42MDM2IDUuNjM3NiAxOC41NjAxIDUuNTcyMSAxOC41MDUyIDUuNTE2OTFDMTguNDUwMiA1LjQ2MTcxIDE4LjM4NDkgNS40MTc5MiAxOC4zMTMgNS4zODgwNEMxOC4yNDExIDUuMzU4MTUgMTguMTY0IDUuMzQyNzcgMTguMDg2MSA1LjM0Mjc3SDkuNzkxODFDOC42MTMxNSA1LjM0Mjc3IDcuNDgyNzYgNS44MTEgNi42NDkzMiA2LjY0NDQzQzUuODE1ODggNy40Nzc4NyA1LjM0NzY2IDguNjA4MjYgNS4zNDc2NiA5Ljc4NjkyVjE4LjA4MTJDNS4zNDc2NiAxOC4yMzg4IDUuNDEwMjQgMTguMzg5OCA1LjUyMTYzIDE4LjUwMTJDNS42MzMwMyAxOC42MTI2IDUuNzg0MSAxOC42NzUyIDUuOTQxNjQgMTguNjc1MkgxNC42ODI4QzE1Ljc0NzIgMTguNjc1MiAxNi43NjggMTguMjUyNCAxNy41MjA3IDE3LjQ5OTdDMTguMjczMyAxNi43NDcxIDE4LjY5NjIgMTUuNzI2MyAxOC42OTYyIDE0LjY2MThWMTEuMjUzMUMxOC42OTUyIDExLjE3MzUgMTguNjc4MiAxMS4wOTQ5IDE4LjY0NjIgMTEuMDIyQzE4LjYxNDIgMTAuOTQ5IDE4LjU2NzkgMTAuODgzMyAxOC41MSAxMC44Mjg2QzE4LjQ1MiAxMC43NzQgMTguMzgzNyAxMC43MzE1IDE4LjMwOTEgMTAuNzAzOEMxOC4yMzQ0IDEwLjY3NiAxOC4xNTUgMTAuNjYzNiAxOC4wNzU0IDEwLjY2NzJaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K"},"1fb5":function(t,e,n){"use strict";e.byteLength=function(t){var e=u(t),n=e[0],r=e[1];return 3*(n+r)/4-r},e.toByteArray=function(t){var e,n,r=u(t),a=r[0],s=r[1],l=new o(function(t,e,n){return 3*(e+n)/4-n}(0,a,s)),c=0,d=s>0?a-4:a;for(n=0;n>16&255,l[c++]=e>>8&255,l[c++]=255&e;return 2===s&&(e=i[t.charCodeAt(n)]<<2|i[t.charCodeAt(n+1)]>>4,l[c++]=255&e),1===s&&(e=i[t.charCodeAt(n)]<<10|i[t.charCodeAt(n+1)]<<4|i[t.charCodeAt(n+2)]>>2,l[c++]=e>>8&255,l[c++]=255&e),l},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,o=[],a=16383,s=0,l=n-i;sl?l:s+a));return 1===i?(e=t[n-1],o.push(r[e>>2]+r[e<<4&63]+"==")):2===i&&(e=(t[n-2]<<8)+t[n-1],o.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"=")),o.join("")};for(var r=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=a.length;s0)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 c(t){return r[t>>18&63]+r[t>>12&63]+r[t>>6&63]+r[63&t]}function d(t,e,n){for(var r,i=[],o=e;o0&&1/n<0?1:-1:e>n}}(t))}),!m||y)},2266:function(t,e,n){var r=n("da84"),i=n("0366"),o=n("c65b"),a=n("825a"),s=n("0d51"),l=n("e95a"),u=n("07fa"),c=n("3a9b"),d=n("9a1f"),h=n("35a1"),f=n("2a62"),p=r.TypeError,g=function(t,e){this.stopped=t,this.result=e},v=g.prototype;t.exports=function(t,e,n){var r,y,m,b,_,x,w,S=n&&n.that,M=!(!n||!n.AS_ENTRIES),O=!(!n||!n.IS_ITERATOR),C=!(!n||!n.INTERRUPTED),I=i(e,S),T=function(t){return r&&f(r,"normal",t),new g(!0,t)},A=function(t){return M?(a(t),C?I(t[0],t[1],T):I(t[0],t[1])):C?I(t,T):I(t)};if(O)r=t;else{if(!(y=h(t)))throw p(s(t)+" is not iterable");if(l(y)){for(m=0,b=u(t);b>m;m++)if((_=A(t[m]))&&c(v,_))return _;return new g(!1)}r=d(t,y)}for(x=r.next;!(w=o(x,r)).done;){try{_=A(w.value)}catch(t){f(r,"throw",t)}if("object"==typeof _&&_&&c(v,_))return _}return new g(!1)}},"22d1":function(t,e,n){"use strict";var r=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},i=new function(){this.browser=new r,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?(i.wxa=!0,i.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?i.worker=!0:"undefined"==typeof navigator?(i.node=!0,i.svgSupported=!0):function(t,e){var n=e.browser,r=t.match(/Firefox\/([\d.]+)/),i=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),o=t.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(t);r&&(n.firefox=!0,n.version=r[1]),i&&(n.ie=!0,n.version=i[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,i),e.a=i},2351:function(t,e,n){n("746f")("split")},"23cb":function(t,e,n){var r=n("5926"),i=Math.max,o=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):o(n,e)}},"23dc":function(t,e,n){n("d44e")(Math,"Math",!0)},"23e7":function(t,e,n){var r=n("da84"),i=n("06cf").f,o=n("9112"),a=n("cb2d"),s=n("ce4e"),l=n("e893"),u=n("94ca");t.exports=function(t,e){var n,c,d,h,f,p=t.target,g=t.global,v=t.stat;if(n=g?r:v?r[p]||s(p,{}):(r[p]||{}).prototype)for(c in e){if(h=e[c],t.noTargetGet?d=(f=i(n,c))&&f.value:d=n[c],!u(g?c:p+(v?".":"#")+c,t.forced)&&void 0!==d){if(typeof h==typeof d)continue;l(h,d)}(t.sham||d&&d.sham)&&o(h,"sham",!0),a(n,c,h,t)}}},"241c":function(t,e,n){var r=n("ca84"),i=n("7839").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},2532:function(t,e,n){"use strict";var r=n("23e7"),i=n("e330"),o=n("5a34"),a=n("1d80"),s=n("577e"),l=n("ab13"),u=i("".indexOf);r({target:"String",proto:!0,forced:!l("includes")},{includes:function(t){return!!~u(s(a(this)),s(o(t)),arguments.length>1?arguments[1]:void 0)}})},"25a1":function(t,e,n){"use strict";var r=n("ebb5"),i=n("d58f").right,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduceRight",(function(t){var e=arguments.length;return i(o(this),t,e,e>1?arguments[1]:void 0)}))},"25eb":function(t,e,n){var r=n("23e7"),i=n("c20d");r({target:"Number",stat:!0,forced:Number.parseInt!=i},{parseInt:i})},"25f0":function(t,e,n){"use strict";var r=n("5e77").PROPER,i=n("cb2d"),o=n("825a"),a=n("577e"),s=n("d039"),l=n("90d8"),u="toString",c=RegExp.prototype[u],d=s((function(){return"/a/b"!=c.call({source:"a",flags:"b"})})),h=r&&c.name!=u;(d||h)&&i(RegExp.prototype,u,(function(){var t=o(this);return"/"+a(t.source)+"/"+a(l(t))}),{unsafe:!0})},2626:function(t,e,n){"use strict";var r=n("d066"),i=n("9bf2"),o=n("b622"),a=n("83ab"),s=o("species");t.exports=function(t){var e=r(t),n=i.f;a&&e&&!e[s]&&n(e,s,{configurable:!0,get:function(){return this}})}},"26e9":function(t,e,n){"use strict";var r=n("23e7"),i=n("e330"),o=n("e8b5"),a=i([].reverse),s=[1,2];r({target:"Array",proto:!0,forced:String(s)===String(s.reverse())},{reverse:function(){return o(this)&&(this.length=this.length),a(this)}})},"279e":function(t,e,n){},2954:function(t,e,n){"use strict";var r=n("ebb5"),i=n("b6b7"),o=n("d039"),a=n("f36a"),s=r.aTypedArray;(0,r.exportTypedArrayMethod)("slice",(function(t,e){for(var n=a(s(this),t,e),r=i(this),o=0,l=n.length,u=new r(l);l>o;)u[o]=n[o++];return u}),o((function(){new Int8Array(1).slice()})))},"299c":function(t,e,n){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},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=136)}({136:function(t,e,n){"use strict";n.r(e);var r=n(5),i=n.n(r),o=n(18),a=n.n(o),s=n(2),l=n(3),u=n(7),c=n.n(u),d={name:"ElTooltip",mixins:[i.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 c.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 r=n.data=n.data||{};return r.staticClass=this.addTooltipClass(r.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=0&&Math.floor(e)===e&&isFinite(t)}function d(t){return i(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function h(t){return null==t?"":Array.isArray(t)||u(t)&&t.toString===l?JSON.stringify(t,null,2):String(t)}function f(t){var e=parseFloat(t);return isNaN(e)?t:e}function p(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i-1)return t.splice(n,1)}}var y=Object.prototype.hasOwnProperty;function m(t,e){return y.call(t,e)}function b(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var _=/-(\w)/g,x=b((function(t){return t.replace(_,(function(t,e){return e?e.toUpperCase():""}))})),w=b((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),S=/\B([A-Z])/g,M=b((function(t){return t.replace(S,"-$1").toLowerCase()}));var O=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function C(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function I(t,e){for(var n in e)t[n]=e[n];return t}function T(t){for(var e={},n=0;n0,q=$&&$.indexOf("edge/")>0,Q=($&&$.indexOf("android"),$&&/iphone|ipad|ipod|ios/.test($)||"ios"===Y),J=($&&/chrome\/\d+/.test($),$&&/phantomjs/.test($),$&&$.match(/firefox\/(\d+)/)),K={}.watch,tt=!1;if(U)try{var et={};Object.defineProperty(et,"passive",{get:function(){tt=!0}}),window.addEventListener("test-passive",null,et)}catch(t){}var nt=function(){return void 0===H&&(H=!U&&!G&&void 0!==t&&t.process&&"server"===t.process.env.VUE_ENV),H},rt=U&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function it(t){return"function"==typeof t&&/native code/.test(t.toString())}var ot,at="undefined"!=typeof Symbol&&it(Symbol)&&"undefined"!=typeof Reflect&&it(Reflect.ownKeys);ot="undefined"!=typeof Set&&it(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 st=A,lt=0,ut=function(){this.id=lt++,this.subs=[]};ut.prototype.addSub=function(t){this.subs.push(t)},ut.prototype.removeSub=function(t){v(this.subs,t)},ut.prototype.depend=function(){ut.target&&ut.target.addDep(this)},ut.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e-1)if(o&&!m(i,"default"))a=!1;else if(""===a||a===M(t)){var l=Ft(String,i.type);(l<0||s0&&(de((s=he(s,(e||"")+"_"+n))[0])&&de(u)&&(c[l]=vt(u.text+s[0].text),s.shift()),c.push.apply(c,s)):a(s)?de(u)?c[l]=vt(u.text+s):""!==s&&c.push(vt(s)):de(s)&&de(u)?c[l]=vt(u.text+s.text):(o(t._isVList)&&i(s.tag)&&r(s.key)&&i(e)&&(s.key="__vlist"+e+"_"+n+"__"),c.push(s)));return c}function fe(t,e){if(t){for(var n=Object.create(null),r=at?Reflect.ownKeys(t):Object.keys(t),i=0;i0,a=t?!!t.$stable:!o,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&r&&r!==n&&s===r.$key&&!o&&!r.$hasNormal)return r;for(var l in i={},t)t[l]&&"$"!==l[0]&&(i[l]=me(e,l,t[l]))}else i={};for(var u in e)u in i||(i[u]=be(e,u));return t&&Object.isExtensible(t)&&(t._normalized=i),B(i,"$stable",a),B(i,"$key",s),B(i,"$hasNormal",o),i}function me(t,e,n){var r=function(){var t=arguments.length?n.apply(null,arguments):n({}),e=(t=t&&"object"==typeof t&&!Array.isArray(t)?[t]:ce(t))&&t[0];return t&&(!e||1===t.length&&e.isComment&&!ve(e))?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:r,enumerable:!0,configurable:!0}),r}function be(t,e){return function(){return t[e]}}function _e(t,e){var n,r,o,a,l;if(Array.isArray(t)||"string"==typeof t)for(n=new Array(t.length),r=0,o=t.length;rdocument.createEvent("Event").timeStamp&&(yn=function(){return mn.now()})}function bn(){var t,e;for(vn=yn(),pn=!0,cn.sort((function(t,e){return t.id-e.id})),gn=0;gngn&&cn[n].id>t.id;)n--;cn.splice(n+1,0,t)}else cn.push(t);fn||(fn=!0,ee(bn))}}(this)},xn.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){var n='callback for watcher "'+this.expression+'"';Wt(this.cb,this.vm,[t,e],this.vm,n)}else this.cb.call(this.vm,t,e)}}},xn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},xn.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},xn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||v(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var wn={enumerable:!0,configurable:!0,get:A,set:A};function Sn(t,e,n){wn.get=function(){return this[e][n]},wn.set=function(t){this[e][n]=t},Object.defineProperty(t,n,wn)}function Mn(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},r=t._props={},i=t.$options._propKeys=[];!t.$parent||wt(!1);var o=function(o){i.push(o);var a=Rt(o,e,n,t);Ot(r,o,a),o in t||Sn(t,"_props",o)};for(var a in e)o(a);wt(!0)}(t,e.props),e.methods&&function(t,e){for(var n in t.$options.props,e)t[n]="function"!=typeof e[n]?A:O(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;u(e=t._data="function"==typeof e?function(t,e){dt();try{return t.call(e,e)}catch(t){return Ht(t,e,"data()"),{}}finally{ht()}}(e,t):e||{})||(e={});var n=Object.keys(e),r=t.$options.props,i=(t.$options.methods,n.length);for(;i--;){var o=n[i];r&&m(r,o)||V(o)||Sn(t,"_data",o)}Mt(e,!0)}(t):Mt(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),r=nt();for(var i in e){var o=e[i],a="function"==typeof o?o:o.get;r||(n[i]=new xn(t,a||A,A,On)),i in t||Cn(t,i,o)}}(t,e.computed),e.watch&&e.watch!==K&&function(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var i=0;i-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!function(t){return"[object RegExp]"===l.call(t)}(t)&&t.test(e)}function Pn(t,e){var n=t.cache,r=t.keys,i=t._vnode;for(var o in n){var a=n[o];if(a){var s=a.name;s&&!e(s)&&Rn(n,o,r,i)}}}function Rn(t,e,n,r){var i=t[e];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),t[e]=null,v(n,e)}(function(t){t.prototype._init=function(t){var e=this;e._uid=Dn++,e._isVue=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=Nt(kn(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&&en(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,r=t.$vnode=e._parentVnode,i=r&&r.context;t.$slots=pe(e._renderChildren,i),t.$scopedSlots=n,t._c=function(e,n,r,i){return We(t,e,n,r,i,!1)},t.$createElement=function(e,n,r,i){return We(t,e,n,r,i,!0)};var o=r&&r.data;Ot(t,"$attrs",o&&o.attrs||n,null,!0),Ot(t,"$listeners",e._parentListeners||n,null,!0)}(e),un(e,"beforeCreate"),function(t){var e=fe(t.$options.inject,t);e&&(wt(!1),Object.keys(e).forEach((function(n){Ot(t,n,e[n])})),wt(!0))}(e),Mn(e),function(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}(e),un(e,"created"),e.$options.el&&e.$mount(e.$options.el)}})(jn),function(t){Object.defineProperty(t.prototype,"$data",{get:function(){return this._data}}),Object.defineProperty(t.prototype,"$props",{get:function(){return this._props}}),t.prototype.$set=Ct,t.prototype.$delete=It,t.prototype.$watch=function(t,e,n){var r=this;if(u(e))return An(r,t,e,n);(n=n||{}).user=!0;var i=new xn(r,t,e,n);if(n.immediate){var o='callback for immediate watcher "'+i.expression+'"';dt(),Wt(e,r,[i.value],r,o),ht()}return function(){i.teardown()}}}(jn),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var r=this;if(Array.isArray(t))for(var i=0,o=t.length;i1?C(n):n;for(var r=C(arguments,1),i='event handler for "'+t+'"',o=0,a=n.length;oparseInt(this.max)&&Rn(e,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)Rn(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){Pn(t,(function(t){return Nn(e,t)}))})),this.$watch("exclude",(function(e){Pn(t,(function(t){return!Nn(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=Qe(t),n=e&&e.componentOptions;if(n){var r=Ln(n),i=this.include,o=this.exclude;if(i&&(!r||!Nn(i,r))||o&&r&&Nn(o,r))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,v(s,l),s.push(l)):(this.vnodeToCache=e,this.keyToCache=l),e.data.keepAlive=!0}return e||t&&t[0]}},Bn={KeepAlive:Vn};(function(t){var e={get:function(){return z}};Object.defineProperty(t,"config",e),t.util={warn:st,extend:I,mergeOptions:Nt,defineReactive:Ot},t.set=Ct,t.delete=It,t.nextTick=ee,t.observable=function(t){return Mt(t),t},t.options=Object.create(null),P.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,I(t.options.components,Bn),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=C(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),En(t),function(t){P.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&u(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)})(jn),Object.defineProperty(jn.prototype,"$isServer",{get:nt}),Object.defineProperty(jn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(jn,"FunctionalRenderContext",{value:Ne}),jn.version="2.6.14";var Fn=p("style,class"),Hn=p("input,textarea,option,select,progress"),Wn=p("contenteditable,draggable,spellcheck"),Un=p("events,caret,typing,plaintext-only"),Gn=p("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,truespeed,typemustmatch,visible"),Yn="http://www.w3.org/1999/xlink",$n=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Xn=function(t){return $n(t)?t.slice(6,t.length):""},Zn=function(t){return null==t||!1===t};function qn(t){for(var e=t.data,n=t,r=t;i(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(e=Qn(r.data,e));for(;i(n=n.parent);)n&&n.data&&(e=Qn(e,n.data));return function(t,e){return i(t)||i(e)?Jn(t,Kn(e)):""}(e.staticClass,e.class)}function Qn(t,e){return{staticClass:Jn(t.staticClass,e.staticClass),class:i(t.class)?[t.class,e.class]:e.class}}function Jn(t,e){return t?e?t+" "+e:t:e||""}function Kn(t){return Array.isArray(t)?function(t){for(var e,n="",r=0,o=t.length;r-1?wr(t,e,n):Gn(e)?Zn(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Wn(e)?t.setAttribute(e,function(t,e){return Zn(e)||"false"===e?"false":"contenteditable"===t&&Un(e)?e:"true"}(e,n)):$n(e)?Zn(n)?t.removeAttributeNS(Yn,Xn(e)):t.setAttributeNS(Yn,e,n):wr(t,e,n)}function wr(t,e,n){if(Zn(n))t.removeAttribute(e);else{if(X&&!Z&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var Sr={create:_r,update:_r};function Mr(t,e){var n=e.elm,o=e.data,a=t.data;if(!(r(o.staticClass)&&r(o.class)&&(r(a)||r(a.staticClass)&&r(a.class)))){var s=qn(e),l=n._transitionClasses;i(l)&&(s=Jn(s,Kn(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Or,Cr={create:Mr,update:Mr};function Ir(t){if(i(t.__r)){var e=X?"change":"input";t[e]=[].concat(t.__r,t[e]||[]),delete t.__r}i(t.__c)&&(t.change=[].concat(t.__c,t.change||[]),delete t.__c)}function Tr(t,e,n){var r=Or;return function i(){var o=e.apply(null,arguments);null!==o&&kr(t,i,n,r)}}var Ar=$t&&!(J&&Number(J[1])<=53);function Dr(t,e,n,r){if(Ar){var i=vn,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=i||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}Or.addEventListener(t,e,tt?{capture:n,passive:r}:n)}function kr(t,e,n,r){(r||Or).removeEventListener(t,e._wrapper||e,n)}function jr(t,e){if(!r(t.data.on)||!r(e.data.on)){var n=e.data.on||{},i=t.data.on||{};Or=e.elm,Ir(n),se(n,i,Dr,kr,Tr,e.context),Or=void 0}}var Er,Lr={create:jr,update:jr};function Nr(t,e){if(!r(t.data.domProps)||!r(e.data.domProps)){var n,o,a=e.elm,s=t.data.domProps||{},l=e.data.domProps||{};for(n in i(l.__ob__)&&(l=e.data.domProps=I({},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 u=r(o)?"":String(o);Pr(a,u)&&(a.value=u)}else if("innerHTML"===n&&nr(a.tagName)&&r(a.innerHTML)){(Er=Er||document.createElement("div")).innerHTML=""+o+"";for(var c=Er.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;c.firstChild;)a.appendChild(c.firstChild)}else if(o!==s[n])try{a[n]=o}catch(t){}}}}function Pr(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,r=t._vModifiers;if(i(r)){if(r.number)return f(n)!==f(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var Rr={create:Nr,update:Nr},zr=b((function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach((function(t){if(t){var r=t.split(n);r.length>1&&(e[r[0].trim()]=r[1].trim())}})),e}));function Vr(t){var e=Br(t.style);return t.staticStyle?I(t.staticStyle,e):e}function Br(t){return Array.isArray(t)?T(t):"string"==typeof t?zr(t):t}var Fr,Hr=/^--/,Wr=/\s*!important$/,Ur=function(t,e,n){if(Hr.test(e))t.style.setProperty(e,n);else if(Wr.test(n))t.style.setProperty(M(e),n.replace(Wr,""),"important");else{var r=Yr(e);if(Array.isArray(n))for(var i=0,o=n.length;i-1?e.split(Zr).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 Qr(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Zr).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")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function Jr(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&I(e,Kr(t.name||"v")),I(e,t),e}return"string"==typeof t?Kr(t):void 0}}var Kr=b((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"}})),ti=U&&!Z,ei="transition",ni="animation",ri="transition",ii="transitionend",oi="animation",ai="animationend";ti&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(ri="WebkitTransition",ii="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(oi="WebkitAnimation",ai="webkitAnimationEnd"));var si=U?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function li(t){si((function(){si(t)}))}function ui(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),qr(t,e))}function ci(t,e){t._transitionClasses&&v(t._transitionClasses,e),Qr(t,e)}function di(t,e,n){var r=fi(t,e),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===ei?ii:ai,l=0,u=function(){t.removeEventListener(s,c),n()},c=function(e){e.target===t&&++l>=a&&u()};setTimeout((function(){l0&&(n=ei,c=a,d=o.length):e===ni?u>0&&(n=ni,c=u,d=l.length):d=(n=(c=Math.max(a,u))>0?a>u?ei:ni:null)?n===ei?o.length:l.length:0,{type:n,timeout:c,propCount:d,hasTransform:n===ei&&hi.test(r[ri+"Property"])}}function pi(t,e){for(;t.length1}function _i(t,e){!0!==e.data.show&&vi(e)}var xi=U?{create:_i,activate:_i,remove:function(t,e){!0!==t.data.show?yi(t,e):e()}}:{},wi=function(t){var e,n,s={},l=t.modules,u=t.nodeOps;for(e=0;ep?_(t,r(n[y+1])?null:n[y+1].elm,n,f,y,o):f>y&&w(e,h,p)}function O(t,e,n,r){for(var o=n;o-1,a.selected!==o&&(a.selected=o);else if(j(Ii(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));i||(t.selectedIndex=-1)}}function Ci(t,e){return e.every((function(e){return!j(e,t)}))}function Ii(t){return"_value"in t?t._value:t.value}function Ti(t){t.target.composing=!0}function Ai(t){t.target.composing&&(t.target.composing=!1,Di(t.target,"input"))}function Di(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function ki(t){return!t.componentInstance||t.data&&t.data.transition?t:ki(t.componentInstance._vnode)}var ji={bind:function(t,e,n){var r=e.value,i=(n=ki(n)).data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&i?(n.data.show=!0,vi(n,(function(){t.style.display=o}))):t.style.display=r?o:"none"},update:function(t,e,n){var r=e.value;!r!=!e.oldValue&&((n=ki(n)).data&&n.data.transition?(n.data.show=!0,r?vi(n,(function(){t.style.display=t.__vOriginalDisplay})):yi(n,(function(){t.style.display="none"}))):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,r,i){i||(t.style.display=t.__vOriginalDisplay)}},Ei={model:Si,show:ji},Li={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 Ni(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Ni(Qe(e.children)):t}function Pi(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;for(var o in i)e[x(o)]=i[o];return e}function Ri(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var zi=function(t){return t.tag||ve(t)},Vi=function(t){return"show"===t.name},Bi={name:"transition",props:Li,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(zi)).length){var r=this.mode,i=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return i;var o=Ni(i);if(!o)return i;if(this._leaving)return Ri(t,i);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=Pi(this),u=this._vnode,c=Ni(u);if(o.data.directives&&o.data.directives.some(Vi)&&(o.data.show=!0),c&&c.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(o,c)&&!ve(c)&&(!c.componentInstance||!c.componentInstance._vnode.isComment)){var d=c.data.transition=I({},l);if("out-in"===r)return this._leaving=!0,le(d,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),Ri(t,i);if("in-out"===r){if(ve(o))return u;var h,f=function(){h()};le(l,"afterEnter",f),le(l,"enterCancelled",f),le(d,"delayLeave",(function(t){h=t}))}}return i}}},Fi=I({tag:String,moveClass:String},Li);delete Fi.mode;var Hi={props:Fi,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var i=rn(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,i(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=Pi(this),s=0;s-1?ir[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:ir[t]=/HTMLUnknownElement/.test(e.toString())},I(jn.options.directives,Ei),I(jn.options.components,Yi),jn.prototype.__patch__=U?wi:A,jn.prototype.$mount=function(t,e){return function(t,e,n){var r;return t.$el=e,t.$options.render||(t.$options.render=gt),un(t,"beforeMount"),r=function(){t._update(t._render(),n)},new xn(t,r,A,{before:function(){t._isMounted&&!t._isDestroyed&&un(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,un(t,"mounted")),t}(this,t=t&&U?function(t){return"string"==typeof t?document.querySelector(t)||document.createElement("div"):t}(t):void 0,e)},U&&setTimeout((function(){z.devtools&&rt&&rt.emit("init",jn)}),0),e.default=jn}.call(this,n("c8ba"))},"2b19":function(t,e,n){n("23e7")({target:"Object",stat:!0},{is:n("129f")})},"2b3d":function(t,e,n){n("4002")},"2b78":function(t,e,n){"use strict";n("8e10")},"2ba4":function(t,e,n){var r=n("40d5"),i=Function.prototype,o=i.apply,a=i.call;t.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(o):function(){return a.apply(o,arguments)})},"2bb5":function(t,e,n){"use strict";e.__esModule=!0,n("8122"),e.default={mounted:function(){},methods:{getMigratingConfig:function(){return{props:{},events:{}}}}}},"2c3e":function(t,e,n){var r=n("da84"),i=n("83ab"),o=n("9f7f").MISSED_STICKY,a=n("c6b6"),s=n("edd0"),l=n("69f3").get,u=RegExp.prototype,c=r.TypeError;i&&o&&s(u,"sticky",{configurable:!0,get:function(){if(this!==u){if("RegExp"===a(this))return!!l(this).sticky;throw c("Incompatible receiver, RegExp required")}}})},"2ca0":function(t,e,n){"use strict";var r=n("23e7"),i=n("e330"),o=n("06cf").f,a=n("50c4"),s=n("577e"),l=n("5a34"),u=n("1d80"),c=n("ab13"),d=n("c430"),h=i("".startsWith),f=i("".slice),p=Math.min,g=c("startsWith"),v=!d&&!g&&!!function(){var t=o(String.prototype,"startsWith");return t&&!t.writable}();r({target:"String",proto:!0,forced:!v&&!g},{startsWith:function(t){var e=s(u(this));l(t);var n=a(p(arguments.length>1?arguments[1]:void 0,e.length)),r=s(t);return h?h(e,r,n):f(e,n,n+r.length)===r}})},"2cf4":function(t,e,n){var r,i,o,a,s=n("da84"),l=n("2ba4"),u=n("0366"),c=n("1626"),d=n("1a2d"),h=n("d039"),f=n("1be4"),p=n("f36a"),g=n("cc12"),v=n("d6d6"),y=n("1cdc"),m=n("605d"),b=s.setImmediate,_=s.clearImmediate,x=s.process,w=s.Dispatch,S=s.Function,M=s.MessageChannel,O=s.String,C=0,I={},T="onreadystatechange";try{r=s.location}catch(t){}var A=function(t){if(d(I,t)){var e=I[t];delete I[t],e()}},D=function(t){return function(){A(t)}},k=function(t){A(t.data)},j=function(t){s.postMessage(O(t),r.protocol+"//"+r.host)};b&&_||(b=function(t){v(arguments.length,1);var e=c(t)?t:S(t),n=p(arguments,1);return I[++C]=function(){l(e,void 0,n)},i(C),C},_=function(t){delete I[t]},m?i=function(t){x.nextTick(D(t))}:w&&w.now?i=function(t){w.now(D(t))}:M&&!y?(a=(o=new M).port2,o.port1.onmessage=k,i=u(a.postMessage,a)):s.addEventListener&&c(s.postMessage)&&!s.importScripts&&r&&"file:"!==r.protocol&&!h(j)?(i=j,s.addEventListener("message",k,!1)):i=T in g("script")?function(t){f.appendChild(g("script"))[T]=function(){f.removeChild(this),A(t)}}:function(t){setTimeout(D(t),0)}),t.exports={set:b,clear:_}},"2d00":function(t,e,n){var r,i,o=n("da84"),a=n("342f"),s=o.process,l=o.Deno,u=s&&s.versions||l&&l.version,c=u&&u.v8;c&&(i=(r=c.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&a&&((!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&((r=a.match(/Chrome\/(\d+)/))&&(i=+r[1]))),t.exports=i},"2f62":function(t,e,n){"use strict";(function(t){var n=("undefined"!=typeof window?window:void 0!==t?t:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function r(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}))}function i(t,e){if(void 0===e&&(e=[]),null===t||"object"!=typeof t)return t;var n=function(t,e){return t.filter(e)[0]}(e,(function(e){return e.original===t}));if(n)return n.copy;var r=Array.isArray(t)?[]:{};return e.push({original:t,copy:r}),Object.keys(t).forEach((function(n){r[n]=i(t[n],e)})),r}function o(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function a(t){return null!==t&&"object"==typeof t}var s=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)||{}},l={namespaced:{configurable:!0}};l.namespaced.get=function(){return!!this._rawModule.namespaced},s.prototype.addChild=function(t,e){this._children[t]=e},s.prototype.removeChild=function(t){delete this._children[t]},s.prototype.getChild=function(t){return this._children[t]},s.prototype.hasChild=function(t){return t in this._children},s.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)},s.prototype.forEachChild=function(t){o(this._children,t)},s.prototype.forEachGetter=function(t){this._rawModule.getters&&o(this._rawModule.getters,t)},s.prototype.forEachAction=function(t){this._rawModule.actions&&o(this._rawModule.actions,t)},s.prototype.forEachMutation=function(t){this._rawModule.mutations&&o(this._rawModule.mutations,t)},Object.defineProperties(s.prototype,l);var u,c=function(t){this.register([],t,!1)};function d(t,e,n){if(e.update(n),n.modules)for(var r in n.modules){if(!e.getChild(r))return;d(t.concat(r),e.getChild(r),n.modules[r])}}c.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},c.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return t+((e=e.getChild(n)).namespaced?n+"/":"")}),"")},c.prototype.update=function(t){d([],this.root,t)},c.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var i=new s(e,n);0===t.length?this.root=i:this.get(t.slice(0,-1)).addChild(t[t.length-1],i);e.modules&&o(e.modules,(function(e,i){r.register(t.concat(i),e,n)}))},c.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],r=e.getChild(n);r&&r.runtime&&e.removeChild(n)},c.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var h=function(t){var e=this;void 0===t&&(t={}),!u&&"undefined"!=typeof window&&window.Vue&&_(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var i=t.strict;void 0===i&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new c(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new u,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=i;var l=this._modules.root.state;y(this,l,[],this._modules.root),v(this,l),n.forEach((function(t){return t(e)})),(void 0!==t.devtools?t.devtools:u.config.devtools)&&r(this)},f={state:{configurable:!0}};function p(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 g(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;y(t,n,[],t._modules.root,!0),v(t,n,e)}function v(t,e,n){var r=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var i=t._wrappedGetters,a={};o(i,(function(e,n){a[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 s=u.config.silent;u.config.silent=!0,t._vm=new u({data:{$$state:e},computed:a}),u.config.silent=s,t.strict&&function(t){t._vm.$watch((function(){return this._data.$$state}),(function(){}),{deep:!0,sync:!0})}(t),r&&(n&&t._withCommit((function(){r._data.$$state=null})),u.nextTick((function(){return r.$destroy()})))}function y(t,e,n,r,i){var o=!n.length,a=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[a],t._modulesNamespaceMap[a]=r),!o&&!i){var s=m(e,n.slice(0,-1)),l=n[n.length-1];t._withCommit((function(){u.set(s,l,r.state)}))}var c=r.context=function(t,e,n){var r=""===e,i={dispatch:r?t.dispatch:function(n,r,i){var o=b(n,r,i),a=o.payload,s=o.options,l=o.type;return s&&s.root||(l=e+l),t.dispatch(l,a)},commit:r?t.commit:function(n,r,i){var o=b(n,r,i),a=o.payload,s=o.options,l=o.type;s&&s.root||(l=e+l),t.commit(l,a,s)}};return Object.defineProperties(i,{getters:{get:r?function(){return t.getters}:function(){return function(t,e){if(!t._makeLocalGettersCache[e]){var n={},r=e.length;Object.keys(t.getters).forEach((function(i){if(i.slice(0,r)===e){var o=i.slice(r);Object.defineProperty(n,o,{get:function(){return t.getters[i]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}(t,e)}},state:{get:function(){return m(t.state,n)}}}),i}(t,a,n);r.forEachMutation((function(e,n){!function(t,e,n,r){(t._mutations[e]||(t._mutations[e]=[])).push((function(e){n.call(t,r.state,e)}))}(t,a+n,e,c)})),r.forEachAction((function(e,n){var r=e.root?n:a+n,i=e.handler||e;!function(t,e,n,r){(t._actions[e]||(t._actions[e]=[])).push((function(e){var i=n.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},e);return function(t){return t&&"function"==typeof t.then}(i)||(i=Promise.resolve(i)),t._devtoolHook?i.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):i}))}(t,r,i,c)})),r.forEachGetter((function(e,n){!function(t,e,n,r){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return n(r.state,r.getters,t.state,t.getters)})}(t,a+n,e,c)})),r.forEachChild((function(r,o){y(t,e,n.concat(o),r,i)}))}function m(t,e){return e.reduce((function(t,e){return t[e]}),t)}function b(t,e,n){return a(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function _(t){u&&t===u||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)}}(u=t)}f.state.get=function(){return this._vm._data.$$state},f.state.set=function(t){},h.prototype.commit=function(t,e,n){var r=this,i=b(t,e,n),o=i.type,a=i.payload,s=(i.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,r.state)})))},h.prototype.dispatch=function(t,e){var n=this,r=b(t,e),i=r.type,o=r.payload,a={type:i,payload:o},s=this._actions[i];if(s){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(a,n.state)}))}catch(t){}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){}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){}e(t)}))}))}},h.prototype.subscribe=function(t,e){return p(t,this._subscribers,e)},h.prototype.subscribeAction=function(t,e){return p("function"==typeof t?{before:t}:t,this._actionSubscribers,e)},h.prototype.watch=function(t,e,n){var r=this;return this._watcherVM.$watch((function(){return t(r.state,r.getters)}),e,n)},h.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},h.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),y(this,this.state,t,this._modules.get(t),n.preserveState),v(this,this.state)},h.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=m(e.state,t.slice(0,-1));u.delete(n,t[t.length-1])})),g(this)},h.prototype.hasModule=function(t){return"string"==typeof t&&(t=[t]),this._modules.isRegistered(t)},h.prototype.hotUpdate=function(t){this._modules.update(t),g(this,!0)},h.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(h.prototype,f);var x=C((function(t,e){var n={};return O(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=I(this.$store,"mapState",t);if(!r)return;e=r.context.state,n=r.context.getters}return"function"==typeof i?i.call(this,e,n):e[i]},n[r].vuex=!0})),n})),w=C((function(t,e){var n={};return O(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.commit;if(t){var o=I(this.$store,"mapMutations",t);if(!o)return;r=o.context.commit}return"function"==typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}})),n})),S=C((function(t,e){var n={};return O(e).forEach((function(e){var r=e.key,i=e.val;i=t+i,n[r]=function(){if(!t||I(this.$store,"mapGetters",t))return this.$store.getters[i]},n[r].vuex=!0})),n})),M=C((function(t,e){var n={};return O(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.dispatch;if(t){var o=I(this.$store,"mapActions",t);if(!o)return;r=o.context.dispatch}return"function"==typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}})),n}));function O(t){return function(t){return Array.isArray(t)||a(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 I(t,e,n){return t._modulesNamespaceMap[n]}function T(t,e,n){var r=n?t.groupCollapsed:t.group;try{r.call(t,e)}catch(n){t.log(e)}}function A(t){try{t.groupEnd()}catch(e){t.log("—— log end ——")}}function D(){var t=new Date;return" @ "+k(t.getHours(),2)+":"+k(t.getMinutes(),2)+":"+k(t.getSeconds(),2)+"."+k(t.getMilliseconds(),3)}function k(t,e){return function(t,e){return new Array(e+1).join(t)}("0",e-t.toString().length)+t}var j={Store:h,install:_,version:"3.6.2",mapState:x,mapMutations:w,mapGetters:S,mapActions:M,createNamespacedHelpers:function(t){return{mapState:x.bind(null,t),mapGetters:S.bind(null,t),mapMutations:w.bind(null,t),mapActions:M.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 u=t.logActions;void 0===u&&(u=!0);var c=t.logger;return void 0===c&&(c=console),function(t){var d=i(t.state);void 0!==c&&(l&&t.subscribe((function(t,a){var s=i(a);if(n(t,d,s)){var l=D(),u=o(t),h="mutation "+t.type+l;T(c,h,e),c.log("%c prev state","color: #9E9E9E; font-weight: bold",r(d)),c.log("%c mutation","color: #03A9F4; font-weight: bold",u),c.log("%c next state","color: #4CAF50; font-weight: bold",r(s)),A(c)}d=s})),u&&t.subscribeAction((function(t,n){if(a(t,n)){var r=D(),i=s(t),o="action "+t.type+r;T(c,o,e),c.log("%c action","color: #03A9F4; font-weight: bold",i),A(c)}})))}}};e.a=j}).call(this,n("c8ba"))},"313d":function(t,e,n){var r=n("23e7"),i=n("d066"),o=n("e330"),a=n("d039"),s=n("577e"),l=n("d6d6"),u=n("b917").itoc,c=i("btoa"),d=o("".charAt),h=o("".charCodeAt),f=!!c&&!a((function(){c()})),p=!!c&&a((function(){return"bnVsbA=="!==c(null)})),g=!!c&&1!==c.length;r({global:!0,enumerable:!0,forced:f||p||g},{btoa:function(t){if(l(arguments.length,1),f||p||g)return c(s(t));for(var e,n,r=s(t),o="",a=0,v=u;d(r,a)||(v="=",a%1);){if((n=h(r,a+=3/4))>255)throw new(i("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");o+=d(v,63&(e=e<<8|n)>>8-a%1*8)}return o}})},"31da":function(t,e,n){},3280:function(t,e,n){"use strict";var r=n("ebb5"),i=n("2ba4"),o=n("e58c"),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("lastIndexOf",(function(t){var e=arguments.length;return i(o,a(this),e>1?[t,arguments[1]]:[t])}))},"33d1":function(t,e,n){"use strict";var r=n("23e7"),i=n("7b0b"),o=n("07fa"),a=n("5926"),s=n("44d2");r({target:"Array",proto:!0},{at:function(t){var e=i(this),n=o(e),r=a(t),s=r>=0?r:n+r;return s<0||s>=n?void 0:e[s]}}),s("at")},3410:function(t,e,n){var r=n("23e7"),i=n("d039"),o=n("7b0b"),a=n("e163"),s=n("e177");r({target:"Object",stat:!0,forced:i((function(){a(1)})),sham:!s},{getPrototypeOf:function(t){return a(o(t))}})},"342f":function(t,e,n){var r=n("d066");t.exports=r("navigator","userAgent")||""},3529:function(t,e,n){"use strict";var r=n("23e7"),i=n("c65b"),o=n("59ed"),a=n("f069"),s=n("e667"),l=n("2266");r({target:"Promise",stat:!0,forced:n("5eed")},{race:function(t){var e=this,n=a.f(e),r=n.reject,u=s((function(){var a=o(e.resolve);l(t,(function(t){i(a,e,t).then(n.resolve,r)}))}));return u.error&&r(u.value),n.promise}})},"35a1":function(t,e,n){var r=n("f5df"),i=n("dc4a"),o=n("3f8c"),a=n("b622")("iterator");t.exports=function(t){if(null!=t)return i(t,a)||i(t,"@@iterator")||o[r(t)]}},"35b3":function(t,e,n){n("23e7")({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},"37e8":function(t,e,n){var r=n("83ab"),i=n("aed9"),o=n("9bf2"),a=n("825a"),s=n("fc6a"),l=n("df75");e.f=r&&!i?Object.defineProperties:function(t,e){a(t);for(var n,r=s(e),i=l(e),u=i.length,c=0;u>c;)o.f(t,n=i[c++],r[n]);return t}},"38a0":function(t,e,n){},"38cf":function(t,e,n){n("23e7")({target:"String",proto:!0},{repeat:n("1148")})},3967:function(t,e,n){},"3a7b":function(t,e,n){"use strict";var r=n("ebb5"),i=n("b727").findIndex,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("findIndex",(function(t){return i(o(this),t,arguments.length>1?arguments[1]:void 0)}))},"3a9b":function(t,e,n){var r=n("e330");t.exports=r({}.isPrototypeOf)},"3b9c":function(t,e,n){},"3bbe":function(t,e,n){var r=n("da84"),i=n("1626"),o=r.String,a=r.TypeError;t.exports=function(t){if("object"==typeof t||i(t))return t;throw a("Can't set "+o(t)+" as a prototype")}},"3c4e":function(t,e,n){"use strict";var r=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===i}(t)}(t)};var i="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function o(t,e){return e&&!0===e.clone&&r(t)?l(function(t){return Array.isArray(t)?[]:{}}(t),t,e):t}function a(t,e,n){var i=t.slice();return e.forEach((function(e,a){void 0===i[a]?i[a]=o(e,n):r(e)?i[a]=l(t[a],e,n):-1===t.indexOf(e)&&i.push(o(e,n))})),i}function s(t,e,n){var i={};return r(t)&&Object.keys(t).forEach((function(e){i[e]=o(t[e],n)})),Object.keys(e).forEach((function(a){r(e[a])&&t[a]?i[a]=l(t[a],e[a],n):i[a]=o(e[a],n)})),i}function l(t,e,n){var r=Array.isArray(e);return r===Array.isArray(t)?r?((n||{arrayMerge:a}).arrayMerge||a)(t,e,n):s(t,e,n):o(e,n)}l.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 l(t,n,e)}))};var u=l;t.exports=u},"3c5d":function(t,e,n){"use strict";var r=n("da84"),i=n("c65b"),o=n("ebb5"),a=n("07fa"),s=n("182d"),l=n("7b0b"),u=n("d039"),c=r.RangeError,d=r.Int8Array,h=d&&d.prototype,f=h&&h.set,p=o.aTypedArray,g=o.exportTypedArrayMethod,v=!u((function(){var t=new Uint8ClampedArray(2);return i(f,t,{length:1,0:3},1),3!==t[1]})),y=v&&o.NATIVE_ARRAY_BUFFER_VIEWS&&u((function(){var t=new d(2);return t.set(1),t.set("2",1),0!==t[0]||2!==t[1]}));g("set",(function(t){p(this);var e=s(arguments.length>1?arguments[1]:void 0,1),n=l(t);if(v)return i(f,this,n,e);var r=this.length,o=a(n),u=0;if(o+e>r)throw c("Wrong length");for(;u=n.length?{value:void 0,done:!0}:(t=r(n,i),e.index+=t.length,{value:t,done:!1})}))},"3d2d":function(t,e,n){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},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=115)}({0:function(t,e,n){"use strict";function r(t,e,n,r,i,o,a,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._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__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:u}}n.d(e,"a",(function(){return r}))},115:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("section",{staticClass:"el-container",class:{"is-vertical":t.isVertical}},[t._t("default")],2)};r._withStripped=!0;var i={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}))}}},o=i,a=n(0),s=Object(a.a)(o,r,[],!1,null,null,null);s.options.__file="packages/container/src/main.vue";var l=s.exports;l.install=function(t){t.component(l.name,l)},e.default=l}})},"3d87":function(t,e,n){var r=n("4930");t.exports=r&&!!Symbol.for&&!!Symbol.keyFor},"3ea3":function(t,e,n){var r=n("23e7"),i=n("f748"),o=Math.abs,a=Math.pow;r({target:"Math",stat:!0},{cbrt:function(t){return i(t=+t)*a(o(t),1/3)}})},"3f3a":function(t,e,n){var r=n("23e7"),i=n("83ab"),o=n("825a"),a=n("a04b"),s=n("9bf2");r({target:"Reflect",stat:!0,forced:n("d039")((function(){Reflect.defineProperty(s.f({},1,{value:1}),1,{value:2})})),sham:!i},{defineProperty:function(t,e,n){o(t);var r=a(e);o(n);try{return s.f(t,r,n),!0}catch(t){return!1}}})},"3f8c":function(t,e){t.exports={}},"3fcc":function(t,e,n){"use strict";var r=n("ebb5"),i=n("b727").map,o=n("b6b7"),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("map",(function(t){return i(a(this),t,arguments.length>1?arguments[1]:void 0,(function(t,e){return new(o(t))(e)}))}))},4002:function(t,e,n){"use strict";n("3ca3");var r,i=n("23e7"),o=n("83ab"),a=n("0d3b"),s=n("da84"),l=n("0366"),u=n("e330"),c=n("cb2d"),d=n("edd0"),h=n("19aa"),f=n("1a2d"),p=n("60da"),g=n("4df4"),v=n("4dae"),y=n("6547").codeAt,m=n("5fb2"),b=n("577e"),_=n("d44e"),x=n("d6d6"),w=n("5352"),S=n("69f3"),M=S.set,O=S.getterFor("URL"),C=w.URLSearchParams,I=w.getState,T=s.URL,A=s.TypeError,D=s.parseInt,k=Math.floor,j=Math.pow,E=u("".charAt),L=u(/./.exec),N=u([].join),P=u(1..toString),R=u([].pop),z=u([].push),V=u("".replace),B=u([].shift),F=u("".split),H=u("".slice),W=u("".toLowerCase),U=u([].unshift),G="Invalid scheme",Y="Invalid host",$="Invalid port",X=/[a-z]/i,Z=/[\d+-.a-z]/i,q=/\d/,Q=/^0x/i,J=/^[0-7]+$/,K=/^\d+$/,tt=/^[\da-f]+$/i,et=/[\0\t\n\r #%/:<>?@[\\\]^|]/,nt=/[\0\t\n\r #/:<>?@[\\\]^|]/,rt=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,it=/[\t\n\r]/g,ot=function(t){var e,n,r,i;if("number"==typeof t){for(e=[],n=0;n<4;n++)U(e,t%256),t=k(t/256);return N(e,".")}if("object"==typeof t){for(e="",r=function(t){for(var e=null,n=1,r=null,i=0,o=0;o<8;o++)0!==t[o]?(i>n&&(e=r,n=i),r=null,i=0):(null===r&&(r=o),++i);return i>n&&(e=r,n=i),e}(t),n=0;n<8;n++)i&&0===t[n]||(i&&(i=!1),r===n?(e+=n?":":"::",i=!0):(e+=P(t[n],16),n<7&&(e+=":")));return"["+e+"]"}return t},at={},st=p({},at,{" ":1,'"':1,"<":1,">":1,"`":1}),lt=p({},st,{"#":1,"?":1,"{":1,"}":1}),ut=p({},lt,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),ct=function(t,e){var n=y(t,0);return n>32&&n<127&&!f(e,t)?t:encodeURIComponent(t)},dt={ftp:21,file:null,http:80,https:443,ws:80,wss:443},ht=function(t,e){var n;return 2==t.length&&L(X,E(t,0))&&(":"==(n=E(t,1))||!e&&"|"==n)},ft=function(t){var e;return t.length>1&&ht(H(t,0,2))&&(2==t.length||"/"===(e=E(t,2))||"\\"===e||"?"===e||"#"===e)},pt=function(t){return"."===t||"%2e"===W(t)},gt=function(t){return".."===(t=W(t))||"%2e."===t||".%2e"===t||"%2e%2e"===t},vt={},yt={},mt={},bt={},_t={},xt={},wt={},St={},Mt={},Ot={},Ct={},It={},Tt={},At={},Dt={},kt={},jt={},Et={},Lt={},Nt={},Pt={},Rt=function(t,e,n){var r,i,o,a=b(t);if(e){if(i=this.parse(a))throw A(i);this.searchParams=null}else{if(void 0!==n&&(r=new Rt(n,!0)),i=this.parse(a,null,r))throw A(i);(o=I(new C)).bindURL(this),this.searchParams=o}};Rt.prototype={type:"URL",parse:function(t,e,n){var i,o,a,s,l=this,u=e||vt,c=0,d="",h=!1,p=!1,y=!1;for(t=b(t),e||(l.scheme="",l.username="",l.password="",l.host=null,l.port=null,l.path=[],l.query=null,l.fragment=null,l.cannotBeABaseURL=!1,t=V(t,rt,"")),t=V(t,it,""),i=g(t);c<=i.length;){switch(o=i[c],u){case vt:if(!o||!L(X,o)){if(e)return G;u=mt;continue}d+=W(o),u=yt;break;case yt:if(o&&(L(Z,o)||"+"==o||"-"==o||"."==o))d+=W(o);else{if(":"!=o){if(e)return G;d="",u=mt,c=0;continue}if(e&&(l.isSpecial()!=f(dt,d)||"file"==d&&(l.includesCredentials()||null!==l.port)||"file"==l.scheme&&!l.host))return;if(l.scheme=d,e)return void(l.isSpecial()&&dt[l.scheme]==l.port&&(l.port=null));d="","file"==l.scheme?u=At:l.isSpecial()&&n&&n.scheme==l.scheme?u=bt:l.isSpecial()?u=St:"/"==i[c+1]?(u=_t,c++):(l.cannotBeABaseURL=!0,z(l.path,""),u=Lt)}break;case mt:if(!n||n.cannotBeABaseURL&&"#"!=o)return G;if(n.cannotBeABaseURL&&"#"==o){l.scheme=n.scheme,l.path=v(n.path),l.query=n.query,l.fragment="",l.cannotBeABaseURL=!0,u=Pt;break}u="file"==n.scheme?At:xt;continue;case bt:if("/"!=o||"/"!=i[c+1]){u=xt;continue}u=Mt,c++;break;case _t:if("/"==o){u=Ot;break}u=Et;continue;case xt:if(l.scheme=n.scheme,o==r)l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=v(n.path),l.query=n.query;else if("/"==o||"\\"==o&&l.isSpecial())u=wt;else if("?"==o)l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=v(n.path),l.query="",u=Nt;else{if("#"!=o){l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=v(n.path),l.path.length--,u=Et;continue}l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=v(n.path),l.query=n.query,l.fragment="",u=Pt}break;case wt:if(!l.isSpecial()||"/"!=o&&"\\"!=o){if("/"!=o){l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,u=Et;continue}u=Ot}else u=Mt;break;case St:if(u=Mt,"/"!=o||"/"!=E(d,c+1))continue;c++;break;case Mt:if("/"!=o&&"\\"!=o){u=Ot;continue}break;case Ot:if("@"==o){h&&(d="%40"+d),h=!0,a=g(d);for(var m=0;m65535)return $;l.port=l.isSpecial()&&w===dt[l.scheme]?null:w,d=""}if(e)return;u=jt;continue}return $}d+=o;break;case At:if(l.scheme="file","/"==o||"\\"==o)u=Dt;else{if(!n||"file"!=n.scheme){u=Et;continue}if(o==r)l.host=n.host,l.path=v(n.path),l.query=n.query;else if("?"==o)l.host=n.host,l.path=v(n.path),l.query="",u=Nt;else{if("#"!=o){ft(N(v(i,c),""))||(l.host=n.host,l.path=v(n.path),l.shortenPath()),u=Et;continue}l.host=n.host,l.path=v(n.path),l.query=n.query,l.fragment="",u=Pt}}break;case Dt:if("/"==o||"\\"==o){u=kt;break}n&&"file"==n.scheme&&!ft(N(v(i,c),""))&&(ht(n.path[0],!0)?z(l.path,n.path[0]):l.host=n.host),u=Et;continue;case kt:if(o==r||"/"==o||"\\"==o||"?"==o||"#"==o){if(!e&&ht(d))u=Et;else if(""==d){if(l.host="",e)return;u=jt}else{if(s=l.parseHost(d))return s;if("localhost"==l.host&&(l.host=""),e)return;d="",u=jt}continue}d+=o;break;case jt:if(l.isSpecial()){if(u=Et,"/"!=o&&"\\"!=o)continue}else if(e||"?"!=o)if(e||"#"!=o){if(o!=r&&(u=Et,"/"!=o))continue}else l.fragment="",u=Pt;else l.query="",u=Nt;break;case Et:if(o==r||"/"==o||"\\"==o&&l.isSpecial()||!e&&("?"==o||"#"==o)){if(gt(d)?(l.shortenPath(),"/"==o||"\\"==o&&l.isSpecial()||z(l.path,"")):pt(d)?"/"==o||"\\"==o&&l.isSpecial()||z(l.path,""):("file"==l.scheme&&!l.path.length&&ht(d)&&(l.host&&(l.host=""),d=E(d,0)+":"),z(l.path,d)),d="","file"==l.scheme&&(o==r||"?"==o||"#"==o))for(;l.path.length>1&&""===l.path[0];)B(l.path);"?"==o?(l.query="",u=Nt):"#"==o&&(l.fragment="",u=Pt)}else d+=ct(o,lt);break;case Lt:"?"==o?(l.query="",u=Nt):"#"==o?(l.fragment="",u=Pt):o!=r&&(l.path[0]+=ct(o,at));break;case Nt:e||"#"!=o?o!=r&&("'"==o&&l.isSpecial()?l.query+="%27":l.query+="#"==o?"%23":ct(o,at)):(l.fragment="",u=Pt);break;case Pt:o!=r&&(l.fragment+=ct(o,st))}c++}},parseHost:function(t){var e,n,r;if("["==E(t,0)){if("]"!=E(t,t.length-1))return Y;if(e=function(t){var e,n,r,i,o,a,s,l=[0,0,0,0,0,0,0,0],u=0,c=null,d=0,h=function(){return E(t,d)};if(":"==h()){if(":"!=E(t,1))return;d+=2,c=++u}for(;h();){if(8==u)return;if(":"!=h()){for(e=n=0;n<4&&L(tt,h());)e=16*e+D(h(),16),d++,n++;if("."==h()){if(0==n)return;if(d-=n,u>6)return;for(r=0;h();){if(i=null,r>0){if(!("."==h()&&r<4))return;d++}if(!L(q,h()))return;for(;L(q,h());){if(o=D(h(),10),null===i)i=o;else{if(0==i)return;i=10*i+o}if(i>255)return;d++}l[u]=256*l[u]+i,2!=++r&&4!=r||u++}if(4!=r)return;break}if(":"==h()){if(d++,!h())return}else if(h())return;l[u++]=e}else{if(null!==c)return;d++,c=++u}}if(null!==c)for(a=u-c,u=7;0!=u&&a>0;)s=l[u],l[u--]=l[c+a-1],l[c+--a]=s;else if(8!=u)return;return l}(H(t,1,-1)),!e)return Y;this.host=e}else if(this.isSpecial()){if(t=m(t),L(et,t))return Y;if(e=function(t){var e,n,r,i,o,a,s,l=F(t,".");if(l.length&&""==l[l.length-1]&&l.length--,(e=l.length)>4)return t;for(n=[],r=0;r1&&"0"==E(i,0)&&(o=L(Q,i)?16:8,i=H(i,8==o?1:2)),""===i)a=0;else{if(!L(10==o?K:8==o?J:tt,i))return t;a=D(i,o)}z(n,a)}for(r=0;r=j(256,5-e))return null}else if(a>255)return null;for(s=R(n),r=0;r1?arguments[1]:void 0,r=M(e,new Rt(t,!1,n));o||(e.href=r.serialize(),e.origin=r.getOrigin(),e.protocol=r.getProtocol(),e.username=r.getUsername(),e.password=r.getPassword(),e.host=r.getHost(),e.hostname=r.getHostname(),e.port=r.getPort(),e.pathname=r.getPathname(),e.search=r.getSearch(),e.searchParams=r.getSearchParams(),e.hash=r.getHash())},Vt=zt.prototype,Bt=function(t,e){return{get:function(){return O(this)[t]()},set:e&&function(t){return O(this)[e](t)},configurable:!0,enumerable:!0}};if(o&&(d(Vt,"href",Bt("serialize","setHref")),d(Vt,"origin",Bt("getOrigin")),d(Vt,"protocol",Bt("getProtocol","setProtocol")),d(Vt,"username",Bt("getUsername","setUsername")),d(Vt,"password",Bt("getPassword","setPassword")),d(Vt,"host",Bt("getHost","setHost")),d(Vt,"hostname",Bt("getHostname","setHostname")),d(Vt,"port",Bt("getPort","setPort")),d(Vt,"pathname",Bt("getPathname","setPathname")),d(Vt,"search",Bt("getSearch","setSearch")),d(Vt,"searchParams",Bt("getSearchParams")),d(Vt,"hash",Bt("getHash","setHash"))),c(Vt,"toJSON",(function(){return O(this).serialize()}),{enumerable:!0}),c(Vt,"toString",(function(){return O(this).serialize()}),{enumerable:!0}),T){var Ft=T.createObjectURL,Ht=T.revokeObjectURL;Ft&&c(zt,"createObjectURL",l(Ft,T)),Ht&&c(zt,"revokeObjectURL",l(Ht,T))}_(zt,"URL"),i({global:!0,constructor:!0,forced:!a,sham:!o},{URL:zt})},4010:function(t,e,n){"use strict";e.__esModule=!0,e.removeResizeListener=e.addResizeListener=void 0;var r=function(t){return t&&t.__esModule?t:{default:t}}(n("6dd8")),i=n("9619");var o="undefined"==typeof window,a=function(t){var e=t,n=Array.isArray(e),r=0;for(e=n?e:e[Symbol.iterator]();;){var i;if(n){if(r>=e.length)break;i=e[r++]}else{if((r=e.next()).done)break;i=r.value}var o=i.target.__resizeListeners__||[];o.length&&o.forEach((function(t){t()}))}};e.addResizeListener=function(t,e){o||(t.__resizeListeners__||(t.__resizeListeners__=[],t.__ro__=new r.default((0,i.debounce)(16,a)),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())}},4057:function(t,e,n){var r=n("23e7"),i=Math.hypot,o=Math.abs,a=Math.sqrt;r({target:"Math",stat:!0,arity:2,forced:!!i&&i(1/0,NaN)!==1/0},{hypot:function(t,e){for(var n,r,i=0,s=0,l=arguments.length,u=0;s0?i+=(r=n/u)*r:i+=n;return u===1/0?1/0:u*a(i)}})},4069:function(t,e,n){n("44d2")("flat")},"408a":function(t,e,n){var r=n("e330");t.exports=r(1..valueOf)},"40d5":function(t,e,n){var r=n("d039");t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},"40d9":function(t,e,n){var r=n("23e7"),i=Math.floor,o=Math.log,a=Math.LOG2E;r({target:"Math",stat:!0},{clz32:function(t){return(t>>>=0)?31-i(o(t+.5)*a):32}})},4160:function(t,e,n){"use strict";var r=n("23e7"),i=n("17c2");r({target:"Array",proto:!0,forced:[].forEach!=i},{forEach:i})},"417f":function(t,e,n){"use strict";e.__esModule=!0;var r=function(t){return t&&t.__esModule?t:{default:t}}(n("2b0e")),i=n("5924");var o=[],a="@@clickoutsideContext",s=void 0,l=0;function u(t,e,n){return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!(n&&n.context&&r.target&&i.target)||t.contains(r.target)||t.contains(i.target)||t===r.target||n.context.popperElm&&(n.context.popperElm.contains(r.target)||n.context.popperElm.contains(i.target))||(e.expression&&t[a].methodName&&n.context[t[a].methodName]?n.context[t[a].methodName]():t[a].bindingFn&&t[a].bindingFn())}}!r.default.prototype.$isServer&&(0,i.on)(document,"mousedown",(function(t){return s=t})),!r.default.prototype.$isServer&&(0,i.on)(document,"mouseup",(function(t){o.forEach((function(e){return e[a].documentHandler(t,s)}))})),e.default={bind:function(t,e,n){o.push(t);var r=l++;t[a]={id:r,documentHandler:u(t,e,n),methodName:e.expression,bindingFn:e.value}},update:function(t,e,n){t[a].documentHandler=u(t,e,n),t[a].methodName=e.expression,t[a].bindingFn=e.value},unbind:function(t){for(var e=o.length,n=0;n255?255:t}function a(t){return t<0?0:t>1?1:t}function s(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?o(parseFloat(e)/100*255):o(parseInt(e,10))}function l(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?a(parseFloat(e)/100):a(parseFloat(e))}function u(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 d(t,e,n,r,i){return t[0]=e,t[1]=n,t[2]=r,t[3]=i,t}function h(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var f=new r.a(20),p=null;function g(t,e){p&&h(p,e),p=f.put(t,p||e.slice())}function v(t,e){if(t){e=e||[];var n=f.get(t);if(n)return h(e,n);var r=(t+="").replace(/ /g,"").toLowerCase();if(r in i)return h(e,i[r]),g(t,e),e;var o=r.length;if("#"!==r.charAt(0)){var a=r.indexOf("("),u=r.indexOf(")");if(-1!==a&&u+1===o){var c=r.substr(0,a),p=r.substr(a+1,u-(a+1)).split(","),v=1;switch(c){case"rgba":if(4!==p.length)return 3===p.length?d(e,+p[0],+p[1],+p[2],1):d(e,0,0,0,1);v=l(p.pop());case"rgb":return 3!==p.length?void d(e,0,0,0,1):(d(e,s(p[0]),s(p[1]),s(p[2]),v),g(t,e),e);case"hsla":return 4!==p.length?void d(e,0,0,0,1):(p[3]=l(p[3]),y(p,e),g(t,e),e);case"hsl":return 3!==p.length?void d(e,0,0,0,1):(y(p,e),g(t,e),e);default:return}}d(e,0,0,0,1)}else{if(4===o||5===o){var m=parseInt(r.slice(1,4),16);return m>=0&&m<=4095?(d(e,(3840&m)>>4|(3840&m)>>8,240&m|(240&m)>>4,15&m|(15&m)<<4,5===o?parseInt(r.slice(4),16)/15:1),g(t,e),e):void d(e,0,0,0,1)}if(7===o||9===o)return(m=parseInt(r.slice(1,7),16))>=0&&m<=16777215?(d(e,(16711680&m)>>16,(65280&m)>>8,255&m,9===o?parseInt(r.slice(7),16)/255:1),g(t,e),e):void d(e,0,0,0,1)}}}function y(t,e){var n=(parseFloat(t[0])%360+360)%360/360,r=l(t[1]),i=l(t[2]),a=i<=.5?i*(r+1):i+r-i*r,s=2*i-a;return d(e=e||[],o(255*u(s,a,n+1/3)),o(255*u(s,a,n)),o(255*u(s,a,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function m(t,e){var n=v(t);if(n){for(var r=0;r<3;r++)n[r]=e<0?n[r]*(1-e)|0:(255-n[r])*e+n[r]|0,n[r]>255?n[r]=255:n[r]<0&&(n[r]=0);return S(n,4===n.length?"rgba":"rgb")}}function b(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var r=t*(e.length-1),i=Math.floor(r),s=Math.ceil(r),l=e[i],u=e[s],d=r-i;return n[0]=o(c(l[0],u[0],d)),n[1]=o(c(l[1],u[1],d)),n[2]=o(c(l[2],u[2],d)),n[3]=a(c(l[3],u[3],d)),n}}function _(t,e,n){if(e&&e.length&&t>=0&&t<=1){var r=t*(e.length-1),i=Math.floor(r),s=Math.ceil(r),l=v(e[i]),u=v(e[s]),d=r-i,h=S([o(c(l[0],u[0],d)),o(c(l[1],u[1],d)),o(c(l[2],u[2],d)),a(c(l[3],u[3],d))],"rgba");return n?{color:h,leftIndex:i,rightIndex:s,value:r}:h}}function x(t,e,n,r){var i=v(t);if(t)return i=function(t){if(t){var e,n,r=t[0]/255,i=t[1]/255,o=t[2]/255,a=Math.min(r,i,o),s=Math.max(r,i,o),l=s-a,u=(s+a)/2;if(0===l)e=0,n=0;else{n=u<.5?l/(s+a):l/(2-s-a);var c=((s-r)/6+l/2)/l,d=((s-i)/6+l/2)/l,h=((s-o)/6+l/2)/l;r===s?e=h-d:i===s?e=1/3+c-h:o===s&&(e=2/3+d-c),e<0&&(e+=1),e>1&&(e-=1)}var f=[360*e,n,u];return null!=t[3]&&f.push(t[3]),f}}(i),null!=e&&(i[0]=function(t){return(t=Math.round(t))<0?0:t>360?360:t}(e)),null!=n&&(i[1]=l(n)),null!=r&&(i[2]=l(r)),S(y(i),"rgba")}function w(t,e){var n=v(t);if(n&&null!=e)return n[3]=a(e),S(n,"rgba")}function S(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+")"}}function M(t,e){var n=v(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}},"41f8":function(t,e,n){"use strict";e.__esModule=!0;var 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};e.isVNode=function(t){return null!==t&&"object"===(void 0===t?"undefined":r(t))&&(0,i.hasOwn)(t,"componentOptions")};var i=n("8122")},"428f":function(t,e,n){var r=n("da84");t.exports=r},"44ad":function(t,e,n){var r=n("da84"),i=n("e330"),o=n("d039"),a=n("c6b6"),s=r.Object,l=i("".split);t.exports=o((function(){return!s("z").propertyIsEnumerable(0)}))?function(t){return"String"==a(t)?l(t,""):s(t)}:s},"44d2":function(t,e,n){var r=n("b622"),i=n("7c73"),o=n("9bf2"),a=r("unscopables"),s=Array.prototype;null==s[a]&&o.f(s,a,{configurable:!0,value:i(null)}),t.exports=function(t){s[a][t]=!0}},"44de":function(t,e,n){var r=n("da84");t.exports=function(t,e){var n=r.console;n&&n.error&&(1==arguments.length?n.error(t):n.error(t,e))}},"44e7":function(t,e,n){var r=n("861d"),i=n("c6b6"),o=n("b622")("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},"450d":function(t,e,n){},"45fc":function(t,e,n){"use strict";var r=n("23e7"),i=n("b727").some;r({target:"Array",proto:!0,forced:!n("a640")("some")},{some:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},"466d":function(t,e,n){"use strict";var r=n("c65b"),i=n("d784"),o=n("825a"),a=n("50c4"),s=n("577e"),l=n("1d80"),u=n("dc4a"),c=n("8aa5"),d=n("14c3");i("match",(function(t,e,n){return[function(e){var n=l(this),i=null==e?void 0:u(e,t);return i?r(i,e,n):new RegExp(e)[t](s(n))},function(t){var r=o(this),i=s(t),l=n(e,r,i);if(l.done)return l.value;if(!r.global)return d(r,i);var u=r.unicode;r.lastIndex=0;for(var h,f=[],p=0;null!==(h=d(r,i));){var g=s(h[0]);f[p]=g,""===g&&(r.lastIndex=c(i,a(r.lastIndex),u)),p++}return 0===p?null:f}]}))},4738:function(t,e,n){var r=n("da84"),i=n("d256"),o=n("1626"),a=n("94ca"),s=n("8925"),l=n("b622"),u=n("6069"),c=n("c430"),d=n("2d00"),h=i&&i.prototype,f=l("species"),p=!1,g=o(r.PromiseRejectionEvent),v=a("Promise",(function(){var t=s(i),e=t!==String(i);if(!e&&66===d)return!0;if(c&&(!h.catch||!h.finally))return!0;if(d>=51&&/native code/.test(t))return!1;var n=new i((function(t){t(1)})),r=function(t){t((function(){}),(function(){}))};return(n.constructor={})[f]=r,!(p=n.then((function(){}))instanceof r)||!e&&u&&!g}));t.exports={CONSTRUCTOR:v,REJECTION_EVENT:g,SUBCLASSING:p}},4840:function(t,e,n){var r=n("825a"),i=n("5087"),o=n("b622")("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[o])?e:i(n)}},"485a":function(t,e,n){var r=n("da84"),i=n("c65b"),o=n("1626"),a=n("861d"),s=r.TypeError;t.exports=function(t,e){var n,r;if("string"===e&&o(n=t.toString)&&!a(r=i(n,t)))return r;if(o(n=t.valueOf)&&!a(r=i(n,t)))return r;if("string"!==e&&o(n=t.toString)&&!a(r=i(n,t)))return r;throw s("Can't convert object to primitive value")}},4897:function(t,e,n){"use strict";e.__esModule=!0,e.i18n=e.use=e.t=void 0;var r=a(n("f0d9")),i=a(n("2b0e")),o=a(n("3c4e"));function a(t){return t&&t.__esModule?t:{default:t}}var s=(0,a(n("9d7e")).default)(i.default),l=r.default,u=!1,c=function(){var t=Object.getPrototypeOf(this||i.default).$t;if("function"==typeof t&&i.default.locale)return u||(u=!0,i.default.locale(i.default.config.lang,(0,o.default)(l,i.default.locale(i.default.config.lang)||{},{clone:!0}))),t.apply(this,arguments)},d=e.t=function(t,e){var n=c.apply(this,arguments);if(null!=n)return n;for(var r=t.split("."),i=l,o=0,a=r.length;o0){var r=e[e.length-1];if(r.id===t){if(r.modalClass)r.modalClass.trim().split(/\s+/).forEach((function(t){return(0,i.removeClass)(n,t)}));e.pop(),e.length>0&&(n.style.zIndex=e[e.length-1].zIndex)}else for(var o=e.length-1;o>=0;o--)if(e[o].id===t){e.splice(o,1);break}}0===e.length&&(this.modalFade&&(0,i.addClass)(n,"v-modal-leave"),setTimeout((function(){0===e.length&&(n.parentNode&&n.parentNode.removeChild(n),n.style.display="none",c.modalDom=void 0),(0,i.removeClass)(n,"v-modal-leave")}),200))}};Object.defineProperty(c,"zIndex",{configurable:!0,get:function(){return a||(s=s||(r.default.prototype.$ELEMENT||{}).zIndex||2e3,a=!0),s},set:function(t){s=t}});r.default.prototype.$isServer||window.addEventListener("keydown",(function(t){if(27===t.keyCode){var e=function(){if(!r.default.prototype.$isServer&&c.modalStack.length>0){var t=c.modalStack[c.modalStack.length-1];if(!t)return;return c.getInstance(t.id)}}();e&&e.closeOnPressEscape&&(e.handleClose?e.handleClose():e.handleAction?e.handleAction("cancel"):e.close())}})),e.default=c},"4d20":function(t,e,n){var r=n("23e7"),i=n("621a");r({global:!0,constructor:!0,forced:!n("a981")},{DataView:i.DataView})},"4d63":function(t,e,n){var r=n("83ab"),i=n("da84"),o=n("e330"),a=n("94ca"),s=n("7156"),l=n("9112"),u=n("241c").f,c=n("3a9b"),d=n("44e7"),h=n("577e"),f=n("90d8"),p=n("9f7f"),g=n("aeb0"),v=n("cb2d"),y=n("d039"),m=n("1a2d"),b=n("69f3").enforce,_=n("2626"),x=n("b622"),w=n("fce3"),S=n("107c"),M=x("match"),O=i.RegExp,C=O.prototype,I=i.SyntaxError,T=o(C.exec),A=o("".charAt),D=o("".replace),k=o("".indexOf),j=o("".slice),E=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,L=/a/g,N=/a/g,P=new O(L)!==L,R=p.MISSED_STICKY,z=p.UNSUPPORTED_Y,V=r&&(!P||R||w||S||y((function(){return N[M]=!1,O(L)!=L||O(N)==N||"/a/i"!=O(L,"i")}))),B=function(t){for(var e,n=t.length,r=0,i="",o=[],a={},s=!1,l=!1,u=0,c="";r<=n;r++){if("\\"===(e=A(t,r)))e+=A(t,++r);else if("]"===e)s=!1;else if(!s)switch(!0){case"["===e:s=!0;break;case"("===e:T(E,j(t,r+1))&&(r+=2,l=!0),i+=e,u++;continue;case">"===e&&l:if(""===c||m(a,c))throw new I("Invalid capture group name");a[c]=!0,o[o.length]=[c,u],l=!1,c="";continue}l?c+=e:i+=e}return[i,o]};if(a("RegExp",V)){for(var F=function(t,e){var n,r,i,o,a,u,p=c(C,this),g=d(t),v=void 0===e,y=[],m=t;if(!p&&g&&v&&t.constructor===F)return t;if((g||c(C,t))&&(t=t.source,v&&(e=f(m))),t=void 0===t?"":h(t),e=void 0===e?"":h(e),m=t,w&&"dotAll"in L&&((r=!!e&&k(e,"s")>-1)&&(e=D(e,/s/g,""))),n=e,R&&"sticky"in L&&((i=!!e&&k(e,"y")>-1)&&z&&(e=D(e,/y/g,""))),S&&(t=(o=B(t))[0],y=o[1]),a=s(O(t,e),p?this:C,F),(r||i||y.length)&&(u=b(a),r&&(u.dotAll=!0,u.raw=F(function(t){for(var e,n=t.length,r=0,i="",o=!1;r<=n;r++)"\\"!==(e=A(t,r))?o||"."!==e?("["===e?o=!0:"]"===e&&(o=!1),i+=e):i+="[\\s\\S]":i+=e+A(t,++r);return i}(t),n)),i&&(u.sticky=!0),y.length&&(u.groups=y)),t!==m)try{l(a,"source",""===m?"(?:)":m)}catch(t){}return a},H=u(O),W=0;H.length>W;)g(F,O,H[W++]);C.constructor=F,F.prototype=C,v(i,"RegExp",F,{constructor:!0})}_("RegExp")},"4d64":function(t,e,n){var r=n("fc6a"),i=n("23cb"),o=n("07fa"),a=function(t){return function(e,n,a){var s,l=r(e),u=o(l),c=i(a,u);if(t&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((t||c in l)&&l[c]===n)return t||c||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},"4d90":function(t,e,n){"use strict";var r=n("23e7"),i=n("0ccb").start;r({target:"String",proto:!0,forced:n("9a0c")},{padStart:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},"4dae":function(t,e,n){var r=n("da84"),i=n("23cb"),o=n("07fa"),a=n("8418"),s=r.Array,l=Math.max;t.exports=function(t,e,n){for(var r=o(t),u=i(e,r),c=i(void 0===n?r:n,r),d=s(l(c-u,0)),h=0;u1?arguments[1]:void 0)}})},"4df4":function(t,e,n){"use strict";var r=n("da84"),i=n("0366"),o=n("c65b"),a=n("7b0b"),s=n("9bdd"),l=n("e95a"),u=n("68ee"),c=n("07fa"),d=n("8418"),h=n("9a1f"),f=n("35a1"),p=r.Array;t.exports=function(t){var e=a(t),n=u(this),r=arguments.length,g=r>1?arguments[1]:void 0,v=void 0!==g;v&&(g=i(g,r>2?arguments[2]:void 0));var y,m,b,_,x,w,S=f(e),M=0;if(!S||this==p&&l(S))for(y=c(e),m=n?new this(y):p(y);y>M;M++)w=v?g(e[M],M):e[M],d(m,M,w);else for(x=(_=h(e,S)).next,m=n?new this:[];!(b=o(x,_)).done;M++)w=v?s(_,g,[b.value,M],!0):b.value,d(m,M,w);return m.length=M,m}},"4e82":function(t,e,n){"use strict";var r=n("23e7"),i=n("e330"),o=n("59ed"),a=n("7b0b"),s=n("07fa"),l=n("577e"),u=n("d039"),c=n("addb"),d=n("a640"),h=n("04d1"),f=n("d998"),p=n("2d00"),g=n("512c"),v=[],y=i(v.sort),m=i(v.push),b=u((function(){v.sort(void 0)})),_=u((function(){v.sort(null)})),x=d("sort"),w=!u((function(){if(p)return p<70;if(!(h&&h>3)){if(f)return!0;if(g)return g<603;var t,e,n,r,i="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)v.push({k:e+r,v:n})}for(v.sort((function(t,e){return e.v-t.v})),r=0;rl(n)?1:-1}};r({target:"Array",proto:!0,forced:b||!_||!x||!w},{sort:function(t){void 0!==t&&o(t);var e=a(this);if(w)return void 0===t?y(e):y(e,t);var n,r,i=[],l=s(e);for(r=0;r0?i(r(t),9007199254740991):0}},5128:function(t,e,n){"use strict";e.__esModule=!0,e.PopupManager=void 0;var r=l(n("2b0e")),i=l(n("7f4d")),o=l(n("4b26")),a=l(n("e62d")),s=n("5924");function l(t){return t&&t.__esModule?t:{default:t}}var u=1,c=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-"+u++,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,r.default.nextTick((function(){e.open()})))}else this.close()}},methods:{open:function(t){var e=this;this.rendered||(this.rendered=!0);var n=(0,i.default)({},this.$props||this,t);this._closeTimer&&(clearTimeout(this._closeTimer),this._closeTimer=null),clearTimeout(this._openTimer);var r=Number(n.openDelay);r>0?this._openTimer=setTimeout((function(){e._openTimer=null,e.doOpen(n)}),r):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,r=t.zIndex;if(r&&(o.default.zIndex=r),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)),c=(0,a.default)();var i=document.documentElement.clientHeight0&&(i||"scroll"===l)&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.computedBodyPaddingRight+c+"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},"512c":function(t,e,n){var r=n("342f").match(/AppleWebKit\/(\d+)\./);t.exports=!!r&&+r[1]},"51e9":function(t,e,n){},"51eb":function(t,e,n){"use strict";var r=n("da84"),i=n("825a"),o=n("485a"),a=r.TypeError;t.exports=function(t){if(i(this),"string"===t||"default"===t)t="string";else if("number"!==t)throw a("Incorrect hint");return o(this,t)}},5319:function(t,e,n){"use strict";var r=n("2ba4"),i=n("c65b"),o=n("e330"),a=n("d784"),s=n("d039"),l=n("825a"),u=n("1626"),c=n("5926"),d=n("50c4"),h=n("577e"),f=n("1d80"),p=n("8aa5"),g=n("dc4a"),v=n("0cb2"),y=n("14c3"),m=n("b622")("replace"),b=Math.max,_=Math.min,x=o([].concat),w=o([].push),S=o("".indexOf),M=o("".slice),O=function(t){return void 0===t?t:String(t)},C="$0"==="a".replace(/./,"$0"),I=!!/./[m]&&""===/./[m]("a","$0"),T=!s((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")}));a("replace",(function(t,e,n){var o=I?"$":"$0";return[function(t,n){var r=f(this),o=null==t?void 0:g(t,m);return o?i(o,t,r,n):i(e,h(r),t,n)},function(t,i){var a=l(this),s=h(t);if("string"==typeof i&&-1===S(i,o)&&-1===S(i,"$<")){var f=n(e,a,s,i);if(f.done)return f.value}var g=u(i);g||(i=h(i));var m=a.global;if(m){var C=a.unicode;a.lastIndex=0}for(var I=[];;){var T=y(a,s);if(null===T)break;if(w(I,T),!m)break;""===h(T[0])&&(a.lastIndex=p(s,d(a.lastIndex),C))}for(var A="",D=0,k=0;k=D&&(A+=M(s,D,E)+z,D=E+j.length)}return A+M(s,D)}]}),!T||!C||I)},5327:function(t,e,n){var r=n("23e7"),i=n("1ec1"),o=Math.acosh,a=Math.log,s=Math.sqrt,l=Math.LN2;r({target:"Math",stat:!0,forced:!o||710!=Math.floor(o(Number.MAX_VALUE))||o(1/0)!=1/0},{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?a(t)+l:i(t-1+s(t-1)*s(t+1))}})},5352:function(t,e,n){"use strict";n("e260");var r=n("23e7"),i=n("da84"),o=n("c65b"),a=n("e330"),s=n("83ab"),l=n("0d3b"),u=n("cb2d"),c=n("6964"),d=n("d44e"),h=n("9ed3"),f=n("69f3"),p=n("19aa"),g=n("1626"),v=n("1a2d"),y=n("0366"),m=n("f5df"),b=n("825a"),_=n("861d"),x=n("577e"),w=n("7c73"),S=n("5c6c"),M=n("9a1f"),O=n("35a1"),C=n("d6d6"),I=n("b622"),T=n("addb"),A=I("iterator"),D="URLSearchParams",k=D+"Iterator",j=f.set,E=f.getterFor(D),L=f.getterFor(k),N=Object.getOwnPropertyDescriptor,P=function(t){if(!s)return i[t];var e=N(i,t);return e&&e.value},R=P("fetch"),z=P("Request"),V=P("Headers"),B=z&&z.prototype,F=V&&V.prototype,H=i.RegExp,W=i.TypeError,U=i.decodeURIComponent,G=i.encodeURIComponent,Y=a("".charAt),$=a([].join),X=a([].push),Z=a("".replace),q=a([].shift),Q=a([].splice),J=a("".split),K=a("".slice),tt=/\+/g,et=Array(4),nt=function(t){return et[t-1]||(et[t-1]=H("((?:%[\\da-f]{2}){"+t+"})","gi"))},rt=function(t){try{return U(t)}catch(e){return t}},it=function(t){var e=Z(t,tt," "),n=4;try{return U(e)}catch(t){for(;n;)e=Z(e,nt(n--),rt);return e}},ot=/[!'()~]|%20/g,at={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},st=function(t){return at[t]},lt=function(t){return Z(G(t),ot,st)},ut=h((function(t,e){j(this,{type:k,iterator:M(E(t).entries),kind:e})}),"Iterator",(function(){var t=L(this),e=t.kind,n=t.iterator.next(),r=n.value;return n.done||(n.value="keys"===e?r.key:"values"===e?r.value:[r.key,r.value]),n}),!0),ct=function(t){this.entries=[],this.url=null,void 0!==t&&(_(t)?this.parseObject(t):this.parseQuery("string"==typeof t?"?"===Y(t,0)?K(t,1):t:x(t)))};ct.prototype={type:D,bindURL:function(t){this.url=t,this.update()},parseObject:function(t){var e,n,r,i,a,s,l,u=O(t);if(u)for(n=(e=M(t,u)).next;!(r=o(n,e)).done;){if(a=(i=M(b(r.value))).next,(s=o(a,i)).done||(l=o(a,i)).done||!o(a,i).done)throw W("Expected sequence with length 2");X(this.entries,{key:x(s.value),value:x(l.value)})}else for(var c in t)v(t,c)&&X(this.entries,{key:c,value:x(t[c])})},parseQuery:function(t){if(t)for(var e,n,r=J(t,"&"),i=0;i0?arguments[0]:void 0;j(this,new ct(t))},ht=dt.prototype;if(c(ht,{append:function(t,e){C(arguments.length,2);var n=E(this);X(n.entries,{key:x(t),value:x(e)}),n.updateURL()},delete:function(t){C(arguments.length,1);for(var e=E(this),n=e.entries,r=x(t),i=0;ie.key?1:-1})),t.updateURL()},forEach:function(t){for(var e,n=E(this).entries,r=y(t,arguments.length>1?arguments[1]:void 0),i=0;i1?gt(arguments[1]):{})}}),g(z)){var vt=function(t){return p(this,B),new z(t,arguments.length>1?gt(arguments[1]):{})};B.constructor=vt,vt.prototype=B,r({global:!0,constructor:!0,noTargetGet:!0,forced:!0},{Request:vt})}}t.exports={URLSearchParams:dt,getState:E}},5377:function(t,e,n){var r=n("83ab"),i=n("edd0"),o=n("ad6d"),a=n("d039"),s=RegExp.prototype;r&&a((function(){return"sy"!==Object.getOwnPropertyDescriptor(s,"flags").get.call({dotAll:!0,sticky:!0})}))&&i(s,"flags",{configurable:!0,get:o})},"542d":function(t,e,n){"use strict";var r=n("23e7"),i=n("e330"),o=n("d039"),a=n("408a"),s=i(1..toPrecision);r({target:"Number",proto:!0,forced:o((function(){return"1"!==s(1,void 0)}))||!o((function(){s({})}))},{toPrecision:function(t){return void 0===t?s(a(this)):s(a(this),t)}})},5466:function(t,e,n){},5692:function(t,e,n){var r=n("c430"),i=n("c6cd");(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.22.5",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.5/LICENSE",source:"https://github.com/zloirock/core-js"})},"56d7":function(t,e,n){"use strict";n.r(e);var r={};n.r(r),n.d(r,"updateProps",(function(){return lc})),n.d(r,"initProps",(function(){return uc})),n.d(r,"removeElement",(function(){return dc})),n.d(r,"removeElementWithFadeOut",(function(){return fc})),n.d(r,"isElementRemoved",(function(){return cc})),n.d(r,"extendShape",(function(){return Nv})),n.d(r,"extendPath",(function(){return Rv})),n.d(r,"registerShape",(function(){return zv})),n.d(r,"getShapeClass",(function(){return Vv})),n.d(r,"makePath",(function(){return Bv})),n.d(r,"makeImage",(function(){return Fv})),n.d(r,"mergePath",(function(){return Wv})),n.d(r,"resizePath",(function(){return Uv})),n.d(r,"subPixelOptimizeLine",(function(){return Gv})),n.d(r,"subPixelOptimizeRect",(function(){return Yv})),n.d(r,"subPixelOptimize",(function(){return $v})),n.d(r,"getTransform",(function(){return Xv})),n.d(r,"applyTransform",(function(){return Zv})),n.d(r,"transformDirection",(function(){return qv})),n.d(r,"groupTransition",(function(){return Jv})),n.d(r,"clipPointsByRect",(function(){return Kv})),n.d(r,"clipRectByRect",(function(){return ty})),n.d(r,"createIcon",(function(){return ey})),n.d(r,"linePolygonIntersect",(function(){return ny})),n.d(r,"lineLineIntersect",(function(){return ry})),n.d(r,"setTooltipConfig",(function(){return oy})),n.d(r,"traverseElements",(function(){return sy})),n.d(r,"Group",(function(){return Wo})),n.d(r,"Image",(function(){return Ll})),n.d(r,"Text",(function(){return iu})),n.d(r,"Circle",(function(){return Ig})),n.d(r,"Ellipse",(function(){return Dg})),n.d(r,"Sector",(function(){return Yg})),n.d(r,"Ring",(function(){return Zg})),n.d(r,"Polygon",(function(){return Kg})),n.d(r,"Polyline",(function(){return nv})),n.d(r,"Rect",(function(){return Hl})),n.d(r,"Line",(function(){return av})),n.d(r,"BezierCurve",(function(){return dv})),n.d(r,"Arc",(function(){return pv})),n.d(r,"IncrementalDisplayable",(function(){return kv})),n.d(r,"CompoundPath",(function(){return vv})),n.d(r,"LinearGradient",(function(){return _v})),n.d(r,"RadialGradient",(function(){return wv})),n.d(r,"BoundingRect",(function(){return bo})),n.d(r,"OrientedBoundingRect",(function(){return Tv})),n.d(r,"Point",(function(){return lo})),n.d(r,"Path",(function(){return Il})),n("0c67"),n("450d");var i=n("299c"),o=n.n(i),a=(n("279e"),n("7d94")),s=n.n(a),l=(n("be4f"),n("896a")),u=n.n(l),c=(n("bdc7"),n("aa2f")),d=n.n(c),h=(n("de31"),n("c69e")),f=n.n(h),p=(n("a769"),n("5cc3")),g=n.n(p),v=(n("a673"),n("7b31")),y=n.n(v),m=(n("adec"),n("3d2d")),b=n.n(m),_=(n("f4f9"),n("c2cc")),x=n.n(_),w=(n("7a0f"),n("0f6c")),S=n.n(w),M=(n("aaa5"),n("a578")),O=n.n(M),C=(n("5466"),n("ecdf")),I=n.n(C),T=(n("38a0"),n("ad41")),A=n.n(T),D=(n("1951"),n("eedf")),k=n.n(D),j=(n("a4d3"),n("e01a"),n("b636"),n("dc8d"),n("efe9"),n("d28b"),n("2a1b"),n("8edd"),n("80e0"),n("6b9e"),n("197b"),n("2351"),n("8172"),n("944a"),n("81b8"),n("d9e2"),n("d401"),n("967a"),n("9fbf"),n("33d1"),n("99af"),n("a874"),n("a623"),n("cb29"),n("4de4"),n("7db0"),n("c740"),n("0481"),n("5db7"),n("4160"),n("a630"),n("caad"),n("c975"),n("e260"),n("a15b"),n("baa5"),n("d81d"),n("5ded"),n("13d5"),n("f4dd"),n("26e9"),n("fb6a"),n("45fc"),n("4e82"),n("f785"),n("a434"),n("4069"),n("73d9"),n("c19f"),n("82da"),n("ace4"),n("b420"),n("accc"),n("f4b3"),n("efec"),n("b56e"),n("6c57"),n("e9c4"),n("0c47"),n("4ec9"),n("5327"),n("79a8"),n("9ff9"),n("3ea3"),n("40d9"),n("ff9c"),n("0ac8"),n("f664"),n("4057"),n("bc01"),n("6b93"),n("ca21"),n("90d7"),n("2af1"),n("0261"),n("7898"),n("23dc"),n("b65f"),n("a9e3"),n("35b3"),n("f00c"),n("8ba4"),n("9129"),n("583b"),n("aff5"),n("e6e1"),n("c35a"),n("25eb"),n("a3a2"),n("b680"),n("542d"),n("cca6"),n("12a8"),n("1d1c"),n("7a82"),n("e71b"),n("4fadc"),n("dca8"),n("c1f9"),n("e439"),n("dbb4"),n("7039"),n("3410"),n("0541"),n("2b19"),n("c906"),n("e21d"),n("e43e"),n("b64b"),n("bf96"),n("5bf7"),n("cee8"),n("af93"),n("131a"),n("d3b7"),n("07ac"),n("acd8"),n("e25e"),n("e6cf"),n("820e"),n("dbfa"),n("a79d"),n("a6fd"),n("4ae1"),n("3f3a"),n("ac16"),n("5d41"),n("9e4a"),n("7f78"),n("c760"),n("db96"),n("1bf2"),n("d6dd"),n("7ed3"),n("8b9a"),n("f8c9"),n("4d63"),n("c607"),n("ac1f"),n("5377"),n("2c3e"),n("00b4"),n("25f0"),n("6062"),n("ea98"),n("f5b2"),n("8a79"),n("f6d6"),n("2532"),n("3ca3"),n("466d"),n("a1f0"),n("843c"),n("4d90"),n("d80f"),n("38cf"),n("5319"),n("5b81"),n("841c"),n("1276"),n("2ca0"),n("498a"),n("1e25"),n("eee7"),n("cfc3"),n("4a9b"),n("fd87"),n("8b09"),n("143c"),n("5cc6"),n("8a59"),n("84c3"),n("fb2c"),n("907a"),n("9a8c"),n("a975"),n("735e"),n("c1ac"),n("d139"),n("3a7b"),n("d5d6"),n("20bf"),n("82f8"),n("e91f"),n("60bd"),n("5f96"),n("3280"),n("3fcc"),n("ec97"),n("ca91"),n("25a1"),n("cd26"),n("3c5d"),n("2954"),n("649e"),n("219c"),n("170b"),n("b39a"),n("72f7"),n("10d1"),n("1fe2"),n("81b2"),n("313d"),n("159b"),n("ddb0"),n("0eb6"),n("b7ef"),n("8bd4"),n("130f"),n("9f96"),n("ad1f"),n("2b3d"),n("bf19"),n("9861"),n("96cf"),n("2b0e")),E={name:"MenuItem",props:{index:[String,Number]},computed:{active:function(){return this.menu.value}},mounted:function(){var t=this;this.$nextTick((function(){t.index===t.active&&t.clickHandler()}))},methods:{clickHandler:function(){var t=this;this.menu.setToggle(!0),this.menu.setValue(this.index);var e=document.createElement("a");e.href=this.index,e.style.display="none",e.click(),e.remove(),setTimeout((function(){t.menu.setToggle(!1)}),500)}},inject:["menu"]},L=E;function N(t,e,n,r,i,o,a,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._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__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:u}}n("917f");var P=N(L,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("li",{class:["report-menu-item",{"is-active":t.index===t.active}],on:{click:t.clickHandler}},[t._t("default")],2)}),[],!1,null,"1ebefbbb",null),R=P.exports,z={name:"Menu",props:{value:{type:[String,Number],default:null}},data:function(){return{itemTop:[],toggle:!1,container:null}},provide:function(){return{menu:this}},methods:{setValue:function(t){this.$emit("input",t)},setToggle:function(t){this.toggle=t},follow:function(){if(!this.toggle){var t=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop,e=null;this.itemTop.forEach((function(n){t+550>=n.offsetTop&&(e=n.index)})),e!==this.value&&this.setValue(e)}},init:function(){this.container=document.getElementById("report-main-container"),this.getItemOffsetTop(),window.addEventListener("scroll",this.follow)},getItemOffsetTop:function(){var t=this;this.itemTop=[],Array.from(this.container.children).forEach((function(e,n){[1,7].includes(n)||t.itemTop.push({index:"#"+e.id,offsetTop:e.offsetTop})}))}},destroyed:function(){window.removeEventListener("scroll",this.follow)},mounted:function(){setTimeout(this.init,1e3)}},V=z,B=(n("aea6"),N(V,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("ul",[t._t("default")],2)}),[],!1,null,"58d43b24",null)),F=B.exports,H={name:"PageFooter",props:["dataSource"]},W=(n("f782"),N(H,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{attrs:{id:"PageFooter"}},[r("el-row",{staticClass:"text-center",staticStyle:{"margin-bottom":"20px"}},[r("img",{attrs:{src:n("d9ce"),alt:""}})]),r("el-row",{staticClass:"text-center",staticStyle:{"margin-bottom":"20px"}},[r("a",{staticClass:"m-r-20",attrs:{href:"https://github.com/XmirrorSecurity/OpenSCA-cli",target:"_blank"}},[r("img",{attrs:{width:"22",src:n("917e")}})]),r("a",{attrs:{href:"https://gitee.com/XmirrorSecurity/OpenSCA-cli",target:"_blank"}},[r("img",{attrs:{width:"22",src:n("1f7a")}})])]),r("el-row",{staticClass:"text-center",staticStyle:{color:"rgba(102,102,102,1)","font-size":"12px"}},[t._v(" © 2022 Copyright All Rights Reserved By Beijing Anpro Information Technology Co.,Ltd. ")])],1)}),[],!1,null,"a4bbc4aa",null)),U=W.exports,G={name:"Heading"},Y=(n("b3e3"),N(G,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("h1",[t._t("default")],2)}),[],!1,null,"441ede22",null)),$=Y.exports,X={name:"Feedback",props:["dataSource"],components:{Heading:$}},Z=(n("101a"),N(X,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"feedback"}},[n("Heading",[t._v("意见反馈")]),n("el-row",{staticStyle:{padding:"30px"}},[n("p",{staticClass:"m-b-20"},[n("a",{attrs:{href:"https://github.com/XmirrorSecurity/OpenSCA-cli/issues",target:"_blank"}},[t._v("GitHub Issue")])]),n("p",[n("a",{attrs:{href:"https://gitee.com/XmirrorSecurity/OpenSCA-cli/issues",target:"_blank"}},[t._v("Gitee Issue")])])])],1)}),[],!1,null,"3d677f9e",null)),q=Z.exports,Q={name:"ReportingStatement",props:["dataSource"],components:{Heading:$}},J=(n("82b8"),N(Q,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"reportingStatement"}},[n("Heading",[t._v("报告声明")]),n("el-row",{staticStyle:{padding:"20px"}},[n("ul",[n("li",[t._v("OpenSCA保证检测的客观性、科学性和公正性,本报告仅对测试样品版本、测试环境和测试数据当时的状态有效、由于系统或软件发生变更而涉及到的系统构成组件(或子系统)都应重新进行评测,本报告不再适用;")]),n("li",[t._v("本报告仅对所检测的项目给出相应的检测结果,不代表未经检测的项目或功能符合要求;也不能作为系统或软件内部部署的相关系统构成组件(或产品)的结论;也并非是系统或软件运行健康状态的表示;")]),n("li",[t._v("本报告的有效性建立在被测项目提供相关证据的真实性基础之上;")]),n("li",[t._v("在任何情况下,若需引用本报告中的测试结果或结论都应该保持其原有的意义,不得对相关内容擅自进行增加、修改、删减、伪造或掩盖事实;")]),n("li",[t._v("本报告涂改无效。")])])])],1)}),[],!1,null,"201a214a",null)),K=J.exports,tt={name:"LevelTag",props:{level:{type:[Number,String],default:function(){return 0}}},data:function(){return{levelDict:["严重","高危","中危","低危","无漏洞"]}},computed:{levelText:function(){var t=this.level;return"number"==typeof this.level&&(t=this.level-1>=0?this.levelDict[this.level-1]:this.level),t}}},et=N(tt,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("span",t._g(t._b({staticClass:"level-tag",class:{gray:-1===t.levelDict.indexOf(t.levelText),severity:"严重"===t.levelText,danger:"高危"===t.levelText,warning:"中危"===t.levelText,primary:"低危"===t.levelText,success:"无漏洞"===t.levelText}},"span",t.$attrs,!1),t.$listeners),[t._v(t._s(this.levelText))])}),[],!1,null,"06d6ef88",null),nt=et.exports;var rt=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)},it=n("5ea3"),ot="object"==typeof self&&self&&self.Object===Object&&self,at=it.a||ot||Function("return this")(),st=function(){return at.Date.now()},lt=/\s/;var ut=function(t){for(var e=t.length;e--&<.test(t.charAt(e)););return e},ct=/^\s+/;var dt=function(t){return t?t.slice(0,ut(t)+1).replace(ct,""):t},ht=at.Symbol,ft=Object.prototype,pt=ft.hasOwnProperty,gt=ft.toString,vt=ht?ht.toStringTag:void 0;var yt=function(t){var e=pt.call(t,vt),n=t[vt];try{t[vt]=void 0;var r=!0}catch(t){}var i=gt.call(t);return r&&(e?t[vt]=n:delete t[vt]),i},mt=Object.prototype.toString;var bt=function(t){return mt.call(t)},_t=ht?ht.toStringTag:void 0;var xt=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":_t&&_t in Object(t)?yt(t):bt(t)};var wt=function(t){return null!=t&&"object"==typeof t};var St=function(t){return"symbol"==typeof t||wt(t)&&"[object Symbol]"==xt(t)},Mt=/^[-+]0x[0-9a-f]+$/i,Ot=/^0b[01]+$/i,Ct=/^0o[0-7]+$/i,It=parseInt;var Tt=function(t){if("number"==typeof t)return t;if(St(t))return NaN;if(rt(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=rt(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=dt(t);var n=Ot.test(t);return n||Ct.test(t)?It(t.slice(2),n?2:8):Mt.test(t)?NaN:+t},At=Math.max,Dt=Math.min;var kt=function(t,e,n){var r,i,o,a,s,l,u=0,c=!1,d=!1,h=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function f(e){var n=r,o=i;return r=i=void 0,u=e,a=t.apply(o,n)}function p(t){return u=t,s=setTimeout(v,e),c?f(t):a}function g(t){var n=t-l;return void 0===l||n>=e||n<0||d&&t-u>=o}function v(){var t=st();if(g(t))return y(t);s=setTimeout(v,function(t){var n=e-(t-l);return d?Dt(n,o-(t-u)):n}(t))}function y(t){return s=void 0,h&&r?f(t):(r=i=void 0,a)}function m(){var t=st(),n=g(t);if(r=arguments,i=this,l=t,n){if(void 0===s)return p(l);if(d)return clearTimeout(s),s=setTimeout(v,e),f(l)}return void 0===s&&(s=setTimeout(v,e)),a}return e=Tt(e)||0,rt(n)&&(c=!!n.leading,o=(d="maxWait"in n)?At(Tt(n.maxWait)||0,e):o,h="trailing"in n?!!n.trailing:h),m.cancel=function(){void 0!==s&&clearTimeout(s),u=0,r=l=i=s=void 0},m.flush=function(){return void 0===s?a:y(st())},m};var jt=function(t){return void 0===t};var Et=function(t){return null===t},Lt=Array.isArray,Nt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Pt=/^\w*$/;var Rt=function(t,e){if(Lt(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!St(t))||Pt.test(t)||!Nt.test(t)||null!=e&&t in Object(e)};var zt=function(t){if(!rt(t))return!1;var e=xt(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e},Vt=at["__core-js_shared__"],Bt=function(){var t=/[^.]+$/.exec(Vt&&Vt.keys&&Vt.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();var Ft=function(t){return!!Bt&&Bt in t},Ht=Function.prototype.toString;var Wt=function(t){if(null!=t){try{return Ht.call(t)}catch(t){}try{return t+""}catch(t){}}return""},Ut=/^\[object .+?Constructor\]$/,Gt=Function.prototype,Yt=Object.prototype,$t=Gt.toString,Xt=Yt.hasOwnProperty,Zt=RegExp("^"+$t.call(Xt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var qt=function(t){return!(!rt(t)||Ft(t))&&(zt(t)?Zt:Ut).test(Wt(t))};var Qt=function(t,e){return null==t?void 0:t[e]};var Jt=function(t,e){var n=Qt(t,e);return qt(n)?n:void 0},Kt=Jt(Object,"create");var te=function(){this.__data__=Kt?Kt(null):{},this.size=0};var ee=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},ne=Object.prototype.hasOwnProperty;var re=function(t){var e=this.__data__;if(Kt){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return ne.call(e,t)?e[t]:void 0},ie=Object.prototype.hasOwnProperty;var oe=function(t){var e=this.__data__;return Kt?void 0!==e[t]:ie.call(e,t)};var ae=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Kt&&void 0===e?"__lodash_hash_undefined__":e,this};function se(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e-1};var ve=function(t,e){var n=this.__data__,r=de(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this};function ye(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e0&&this.$nextTick((function(){e.to("#vul-"+t.id)}))},sortVulHandle:function(t){return t.vulnerabilities?t.vulnerabilities.length:0},handlerCellStyle:function(t){if(0===t.columnIndex)return{background:"rgba(247,245,249,1)"}},sortChange:function(t,e,n){var r=this;this.defaultExpand=[],this.$nextTick((function(){r.menu.getItemOffsetTop()}))},to:function(t){var e=document.createElement("a");e.href=t,e.style.display="none",e.click(),e.remove()}},created:function(){var t=this;this.dataSource.components.forEach((function(e,n){var r=Lt(e.vulnerabilities)?e.vulnerabilities:[];t.tableData.push(nn(nn({id:100+n},e),{},{vulnerabilities:r.map((function(t){return[{key:"漏洞名称",value:$e(t,"name","-")},{key:"风险等级",value:t.security_level_id},{key:"漏洞编号",value:"".concat(t.id," | ").concat(t.cve_id," | ").concat(t.cnnvd_id," | ").concat(t.cnvd_id," | ").concat(t.cwe_id)},{key:"发布日期",value:$e(t,"release_date","-")},{key:"利用难度",value:1===t.exploit_level_id?"容易":"困难"},{key:"漏洞描述",value:$e(t,"description","-")},{key:"修复建议",value:$e(t,"suggestion","-")}]}))}))}))},mounted:function(){var t=this;setTimeout((function(){t.$nextTick((function(){t.defaultExpand=[t.$refs.table.tableData[0].id]}))}))}},an=on,sn=(n("d20a"),N(an,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"listOfDependencies"}},[n("Heading",[t._v("依赖列表")]),n("el-row",{staticStyle:{padding:"30px"}},[n("el-table",{ref:"table",staticStyle:{width:"100%"},attrs:{data:t.tableData,"row-key":"id","header-cell-style":{background:"rgba(247,245,249,1)"},"default-sort":{prop:"security_level_id",order:"descending"},"expand-row-keys":t.defaultExpand},on:{"expand-change":t.expandChange,"sort-change":t.sortChange,"row-click":t.clickHandler}},[n("el-table-column",{attrs:{type:"expand"},scopedSlots:t._u([{key:"default",fn:function(e){var r=e.row;return[n("div",{staticClass:"panel-item__content"},[n("div",{staticClass:"panel-item__content__footer"},[n("h2",{staticClass:"m-b-15",staticStyle:{"margin-left":"0"}},[t._v("检出路径")]),n("ul",{staticClass:"m-b-20",staticStyle:{"padding-left":"25px"}},[n("li",[t._v(" "+t._s(r.path)+" ")])]),n("h2",{staticClass:"m-b-15",staticStyle:{"margin-left":"0"}},[t._v("组件漏洞")]),n("div",{staticClass:"vul-num-box"},[n("span",[t._v("总数:"+t._s(r.vulnerabilities?r.vulnerabilities.length:0)+"个")]),n("span",[t._v("严重:"+t._s(r.vuln_statis[1]?r.vuln_statis[1]:0)+"个")]),n("span",[t._v("高危:"+t._s(r.vuln_statis[2]?r.vuln_statis[2]:0)+"个")]),n("span",[t._v("中危:"+t._s(r.vuln_statis[3]?r.vuln_statis[3]:0)+"个")]),n("span",[t._v("低危:"+t._s(r.vuln_statis[4]?r.vuln_statis[4]:0)+"个")])]),t._l(r.vulnerabilities,(function(e,r){return n("el-table",{key:"vul-"+r,staticClass:"m-b-20",staticStyle:{width:"100%"},attrs:{border:"",data:e,"show-header":!1,"cell-style":t.handlerCellStyle}},[n("el-table-column",{attrs:{prop:"key",label:"key",width:"180"}}),n("el-table-column",{scopedSlots:t._u([{key:"default",fn:function(e){var r=e.row;return["风险等级"===r.key?[n("LevelTag",{attrs:{level:r.value}})]:[t._v(t._s(r.value))]]}}],null,!0)})],1)}))],2)])]}}])}),n("el-table-column",{attrs:{prop:"name","show-overflow-tooltip":"",label:"组件"},scopedSlots:t._u([{key:"default",fn:function(e){var r=e.row;return[r.vendor?n("span",[t._v(t._s(r.vendor)+":")]):t._e(),n("span",[t._v(t._s(r.name))]),r.version?n("span",[t._v("@"+t._s(r.version))]):t._e()]}}])}),n("el-table-column",{attrs:{prop:"language",label:"语言",width:"100"}}),n("el-table-column",{attrs:{prop:"security_level_id",label:"风险等级","sort-by":"security_level_id",sortable:"","sort-orders":["descending","ascending",null],"sort-method":function(t,e){return e.security_level_id-t.security_level_id},width:"120"},scopedSlots:t._u([{key:"default",fn:function(t){var e=t.row;return[n("LevelTag",{attrs:{level:e.security_level_id}})]}}])}),n("el-table-column",{attrs:{sortable:"",prop:"vul_count",width:"330","sort-by":t.sortVulHandle,"sort-orders":["descending","ascending",null],label:"漏洞数"},scopedSlots:t._u([{key:"default",fn:function(e){var r=e.row;return[n("span",{staticClass:"m-r-10",staticStyle:{color:"#A9288D"}},[t._v(" 总:"+t._s(r.vulnerabilities?r.vulnerabilities.length:0)+" ")]),n("el-tooltip",{attrs:{effect:"dark",content:"严重漏洞:"+(r.vuln_statis[1]?r.vuln_statis[1]:0),placement:"top"}},[n("span",{class:["report-tag",{"report-tag__bg1":r.vuln_statis[1]}]},[n("span",[t._v("C")]),n("span",[t._v(t._s(r.vuln_statis[1]?r.vuln_statis[1]:0))])])]),n("el-tooltip",{attrs:{effect:"dark",content:"高危漏洞:"+(r.vuln_statis[2]?r.vuln_statis[2]:0),placement:"top"}},[n("span",{class:["report-tag",{"report-tag__bg2":r.vuln_statis[2]}]},[n("span",[t._v("H")]),n("span",[t._v(t._s(r.vuln_statis[2]?r.vuln_statis[2]:0))])])]),n("el-tooltip",{attrs:{effect:"dark",content:"中危漏洞:"+(r.vuln_statis[3]?r.vuln_statis[3]:0),placement:"top"}},[n("span",{class:["report-tag",{"report-tag__bg3":r.vuln_statis[3]}]},[n("span",[t._v("M")]),n("span",[t._v(t._s(r.vuln_statis[3]?r.vuln_statis[3]:0))])])]),n("el-tooltip",{attrs:{effect:"dark",content:"低危漏洞:"+(r.vuln_statis[4]?r.vuln_statis[4]:0),placement:"top"}},[n("span",{class:["report-tag",{"report-tag__bg4":r.vuln_statis[4]}]},[n("span",[t._v("L")]),n("span",[t._v(t._s(r.vuln_statis[4]?r.vuln_statis[4]:0))])])])]}}])}),n("el-table-column",{attrs:{width:"100",label:"依赖方式"},scopedSlots:t._u([{key:"default",fn:function(e){var r=e.row;return[n("span",{staticStyle:{display:"inline-block",position:"absolute",top:"-1px"},attrs:{id:"vul-"+r.id}}),t._v(" "+t._s(r.direct?"直接依赖":"间接依赖")+" ")]}}])})],1)],1)],1)}),[],!1,null,"1fae32d1",null)),ln=sn.exports,un=function(t,e){return un=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])},un(t,e)};function cn(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}un(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}Object.create,Object.create;var dn=n("22d1"),hn=n("6d8b"),fn=function(t,e){return fn=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])},fn(t,e)};function pn(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}fn(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}function gn(t,e){return null==t&&(t=0),null==e&&(e=0),[t,e]}function vn(t,e){return t[0]=e[0],t[1]=e[1],t}function yn(t){return[t[0],t[1]]}function mn(t,e,n){return t[0]=e,t[1]=n,t}function bn(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t}function _n(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t}function xn(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function wn(t){return Math.sqrt(function(t){return t[0]*t[0]+t[1]*t[1]}(t))}function Sn(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t}function Mn(t,e){var n=wn(e);return 0===n?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t[1]=e[1]/n),t}function On(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}Object.create,Object.create;var Cn=On;var In=function(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])};function Tn(t,e,n,r){return t[0]=e[0]+r*(n[0]-e[0]),t[1]=e[1]+r*(n[1]-e[1]),t}function An(t,e,n){var r=e[0],i=e[1];return t[0]=n[0]*r+n[2]*i+n[4],t[1]=n[1]*r+n[3]*i+n[5],t}function Dn(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t}function kn(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}var jn=function(t,e){this.target=t,this.topTarget=e&&e.topTarget},En=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 jn(e,t),"dragstart",t.event))},t.prototype._drag=function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,r=t.offsetY,i=n-this._x,o=r-this._y;this._x=n,this._y=r,e.drift(i,o,t),this.handler.dispatchToElement(new jn(e,t),"drag",t.event);var a=this.handler.findHover(n,r,e).target,s=this._dropTarget;this._dropTarget=a,e!==a&&(s&&a!==s&&this.handler.dispatchToElement(new jn(s,t),"dragleave",t.event),a&&a!==s&&this.handler.dispatchToElement(new jn(a,t),"dragenter",t.event))}},t.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new jn(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new jn(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},t}(),Ln=En,Nn=function(){function t(t){t&&(this._$eventProcessor=t)}return t.prototype.on=function(t,e,n,r){this._$handlers||(this._$handlers={});var i=this._$handlers;if("function"==typeof e&&(r=n,n=e,e=null),!n||!t)return this;var o=this._$eventProcessor;null!=e&&o&&o.normalizeQuery&&(e=o.normalizeQuery(e)),i[t]||(i[t]=[]);for(var a=0;a>1)%2;a.style.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",r[s]+":0",i[l]+":0",r[1-s]+":auto",i[1-l]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return n}(e,o),s=function(t,e,n){for(var r=n?"invTrans":"trans",i=e[r],o=e.srcCoords,a=[],s=[],l=!0,u=0;u<4;u++){var c=t[u].getBoundingClientRect(),d=2*u,h=c.left,f=c.top;a.push(h,f),l=l&&o&&h===o[d]&&f===o[d+1],s.push(t[u].offsetLeft,t[u].offsetTop)}return l&&i?i:(e.srcCoords=a,e[r]=n?Vn(s,a):Vn(a,s))}(a,o,i);if(s)return s(t,n,r),!0}return!1}function Wn(t){return"CANVAS"===t.nodeName.toUpperCase()}var Un=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Gn=[],Yn=dn.a.browser.firefox&&+dn.a.browser.version.split(".")[0]<39;function $n(t,e,n,r){return n=n||{},r?Xn(t,e,n):Yn&&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):Xn(t,e,n),n}function Xn(t,e,n){if(dn.a.domSupported&&t.getBoundingClientRect){var r=e.clientX,i=e.clientY;if(Wn(t)){var o=t.getBoundingClientRect();return n.zrX=r-o.left,void(n.zrY=i-o.top)}if(Hn(Gn,t,r,i))return n.zrX=Gn[0],void(n.zrY=Gn[1])}n.zrX=n.zrY=0}function Zn(t){return t||window.event}function qn(t,e,n){if(null!=(e=Zn(e)).zrX)return e;var r=e.type;if(r&&r.indexOf("touch")>=0){var i="touchend"!==r?e.targetTouches[0]:e.changedTouches[0];i&&$n(t,i,e,n)}else{$n(t,e,e,n);var o=function(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,r=t.deltaY;return null==n||null==r?e:3*(0!==r?Math.abs(r):Math.abs(n))*(r>0?-1:r<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&&Un.test(e.type)&&(e.which=1&a?1:2&a?3:4&a?2:0),e}function Qn(t,e,n,r){t.addEventListener(e,n,r)}function Jn(t,e,n,r){t.removeEventListener(e,n,r)}var Kn=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function tr(t){return 2===t.which||3===t.which}var er=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 r=t.touches;if(r){for(var i={points:[],touches:[],target:e,event:t},o=0,a=r.length;o1&&r&&r.length>1){var o=nr(r)/nr(i);!isFinite(o)&&(o=1),e.pinchScale=o;var a=function(t){return[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]}(r);return e.pinchX=a[0],e.pinchY=a[1],{type:"pinch",target:t[0].target,event:e}}}}},ir="silent";function or(){Kn(this.event)}var ar=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return pn(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(Pn),sr=function(t,e){this.x=t,this.y=e},lr=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],ur=function(t){function e(e,n,r,i){var o=t.call(this)||this;return o._hovered=new sr(0,0),o.storage=e,o.painter=n,o.painterRoot=i,r=r||new ar,o.proxy=null,o.setHandlerProxy(r),o._draggingMgr=new Ln(o),o}return pn(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(hn.k(lr,(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,r=dr(this,e,n),i=this._hovered,o=i.target;o&&!o.__zr&&(o=(i=this.findHover(i.x,i.y)).target);var a=this._hovered=r?new sr(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(i,"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 sr(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 r=(t=t||{}).target;if(!r||!r.silent){for(var i="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:or}}(e,t,n);r&&(r[i]&&(o.cancelBubble=!!r[i].call(r,o)),r.trigger(e,o),r=r.__hostTarget?r.__hostTarget:r.parent,!o.cancelBubble););o.cancelBubble||(this.trigger(e,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(t){"function"==typeof t[i]&&t[i].call(t,o),t.trigger&&t.trigger(e,o)})))}},e.prototype.findHover=function(t,e,n){for(var r=this.storage.getDisplayList(),i=new sr(t,e),o=r.length-1;o>=0;o--){var a=void 0;if(r[o]!==n&&!r[o].ignore&&(a=cr(r[o],t,e))&&(!i.topTarget&&(i.topTarget=r[o]),a!==ir)){i.target=r[o];break}}return i},e.prototype.processGesture=function(t,e){this._gestureMgr||(this._gestureMgr=new er);var n=this._gestureMgr;"start"===e&&n.clear();var r=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&n.clear(),r){var i=r.type;t.gestureEvent=i;var o=new sr;o.target=r.target,this.dispatchToElement(o,i,r.event)}},e}(Pn);function cr(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){for(var r=t,i=void 0,o=!1;r;){if(r.ignoreClip&&(o=!0),!o){var a=r.getClipPath();if(a&&!a.contain(e,n))return!1;r.silent&&(i=!0)}r=r.__hostTarget||r.parent}return!i||ir}return!1}function dr(t,e,n){var r=t.painter;return e<0||e>r.getWidth()||n<0||n>r.getHeight()}hn.k(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){ur.prototype[t]=function(e){var n,r,i=e.zrX,o=e.zrY,a=dr(this,i,o);if("mouseup"===t&&a||(r=(n=this.findHover(i,o)).target),"mousedown"===t)this._downEl=r,this._downPoint=[e.zrX,e.zrY],this._upEl=r;else if("mouseup"===t)this._upEl=r;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||Cn(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}}));var hr=ur;function fr(t,e,n,r){var i=e+1;if(i===n)return 1;if(r(t[i++],t[e])<0){for(;i=0;)i++;return i-e}function pr(t,e,n,r,i){for(r===e&&r++;r>>1])<0?l=o:s=o+1;var u=r-s;switch(u){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(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=a}}function gr(t,e,n,r,i,o){var a=0,s=0,l=1;if(o(t,e[n+i])>0){for(s=r-i;l0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=i,l+=i}else{for(s=i+1;ls&&(l=s);var u=a;a=i-l,l=i-u}for(a++;a>>1);o(t,e[n+c])>0?a=c+1:l=c}return l}function vr(t,e,n,r,i,o){var a=0,s=0,l=1;if(o(t,e[n+i])<0){for(s=i+1;ls&&(l=s);var u=a;a=i-l,l=i-u}else{for(s=r-i;l=0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=i,l+=i}for(a++;a>>1);o(t,e[n+c])<0?l=c:a=c+1}return l}function yr(t,e,n,r){n||(n=0),r||(r=t.length);var i=r-n;if(!(i<2)){var o=0;if(i<32)return void pr(t,n,r,n+(o=fr(t,n,r,e)),e);var a=function(t,e){var n,r,i=7,o=0;t.length;var a=[];function s(i){var a=n[i],s=r[i],c=n[i+1],d=r[i+1];r[i]=s+d,i===o-3&&(n[i+1]=n[i+2],r[i+1]=r[i+2]),o--;var h=vr(t[c],t,a,s,0,e);a+=h,0!=(s-=h)&&0!==(d=gr(t[a+s-1],t,c,d,d-1,e))&&(s<=d?l(a,s,c,d):u(a,s,c,d))}function l(n,r,o,s){var l=0;for(l=0;l=7||f>=7);if(p)break;g<0&&(g=0),g+=2}if((i=g)<1&&(i=1),1===r){for(l=0;l=0;l--)t[f+l]=t[h+l];if(0===r){y=!0;break}}if(t[d--]=a[c--],1==--s){y=!0;break}if(0!=(v=s-gr(t[u],a,0,s,s-1,e))){for(s-=v,f=1+(d-=v),h=1+(c-=v),l=0;l=7||v>=7);if(y)break;p<0&&(p=0),p+=2}if((i=p)<1&&(i=1),1===s){for(f=1+(d-=r),h=1+(u-=r),l=r-1;l>=0;l--)t[f+l]=t[h+l];t[d]=a[c]}else{if(0===s)throw new Error;for(h=d-(s-1),l=0;l=0;l--)t[f+l]=t[h+l];t[d]=a[c]}else for(h=d-(s-1),l=0;l1;){var t=o-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])break;s(t)}},forceMergeRuns:function(){for(;o>1;){var t=o-2;t>0&&r[t-1]=32;)e|=1&t,t>>=1;return t+e}(i);do{if((o=fr(t,n,r,e))s&&(l=s),pr(t,n,n+l,n+o,e),o=l}a.pushRun(n,o),a.mergeRuns(),i-=o,n+=o}while(0!==i);a.forceMergeRuns()}}var mr=!1;function br(){mr||(mr=!0)}function _r(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var xr,wr=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=_r}return t.prototype.traverse=function(t,e){for(var n=0;n0&&(u.__clipPaths=[]),isNaN(u.z)&&(br(),u.z=0),isNaN(u.z2)&&(br(),u.z2=0),isNaN(u.zlevel)&&(br(),u.zlevel=0),this._displayList[this._displayListLen++]=u}var c=t.getDecalElement&&t.getDecalElement();c&&this._updateAndAddDisplayable(c,e,n);var d=t.getTextGuideLine();d&&this._updateAndAddDisplayable(d,e,n);var h=t.getTextContent();h&&this._updateAndAddDisplayable(h,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=0&&this._roots.splice(r,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}(),Sr=wr;xr=dn.a.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)};var Mr=xr,Or={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,r=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=r*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/r)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/r)*.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-Or.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*Or.bounceIn(2*t):.5*Or.bounceOut(2*t-1)+.5}},Cr=Or,Ir=Math.pow,Tr=Math.sqrt,Ar=1e-8,Dr=1e-4,kr=Tr(3),jr=1/3,Er=gn(),Lr=gn(),Nr=gn();function Pr(t){return t>-Ar&&tAr||t<-Ar}function zr(t,e,n,r,i){var o=1-i;return o*o*(o*t+3*i*e)+i*i*(i*r+3*o*n)}function Vr(t,e,n,r,i){var o=1-i;return 3*(((e-t)*o+2*(n-e)*i)*o+(r-n)*i*i)}function Br(t,e,n,r,i,o){var a=r+3*(e-n)-t,s=3*(n-2*e+t),l=3*(e-t),u=t-i,c=s*s-3*a*l,d=s*l-9*a*u,h=l*l-3*s*u,f=0;if(Pr(c)&&Pr(d))if(Pr(s))o[0]=0;else{var p=-l/s;p>=0&&p<=1&&(o[f++]=p)}else{var g=d*d-4*c*h;if(Pr(g)){var v=d/c,y=(p=-s/a+v,-v/2);p>=0&&p<=1&&(o[f++]=p),y>=0&&y<=1&&(o[f++]=y)}else if(g>0){var m=Tr(g),b=c*s+1.5*a*(-d+m),_=c*s+1.5*a*(-d-m);(p=(-s-((b=b<0?-Ir(-b,jr):Ir(b,jr))+(_=_<0?-Ir(-_,jr):Ir(_,jr))))/(3*a))>=0&&p<=1&&(o[f++]=p)}else{var x=(2*c*s-3*a*d)/(2*Tr(c*c*c)),w=Math.acos(x)/3,S=Tr(c),M=Math.cos(w),O=(p=(-s-2*S*M)/(3*a),y=(-s+S*(M+kr*Math.sin(w)))/(3*a),(-s+S*(M-kr*Math.sin(w)))/(3*a));p>=0&&p<=1&&(o[f++]=p),y>=0&&y<=1&&(o[f++]=y),O>=0&&O<=1&&(o[f++]=O)}}return f}function Fr(t,e,n,r,i){var o=6*n-12*e+6*t,a=9*e+3*r-3*t-9*n,s=3*e-3*t,l=0;if(Pr(a)){if(Rr(o)){var u=-s/o;u>=0&&u<=1&&(i[l++]=u)}}else{var c=o*o-4*a*s;if(Pr(c))i[0]=-o/(2*a);else if(c>0){var d=Tr(c),h=(u=(-o+d)/(2*a),(-o-d)/(2*a));u>=0&&u<=1&&(i[l++]=u),h>=0&&h<=1&&(i[l++]=h)}}return l}function Hr(t,e,n,r,i,o){var a=(e-t)*i+t,s=(n-e)*i+e,l=(r-n)*i+n,u=(s-a)*i+a,c=(l-s)*i+s,d=(c-u)*i+u;o[0]=t,o[1]=a,o[2]=u,o[3]=d,o[4]=d,o[5]=c,o[6]=l,o[7]=r}function Wr(t,e,n,r,i,o,a,s,l,u,c){var d,h,f,p,g,v=.005,y=1/0;Er[0]=l,Er[1]=u;for(var m=0;m<1;m+=.05)Lr[0]=zr(t,n,i,a,m),Lr[1]=zr(e,r,o,s,m),(p=In(Er,Lr))=0&&p=0&&f=1?1:Br(0,r,o,1,t,s)&&zr(0,i,a,1,s[0])}}}var Kr=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||hn.L,this.ondestroy=t.ondestroy||hn.L,this.onrestart=t.onrestart||hn.L,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,r=t-this._startTime-this._pausedTime,i=r/n;i<0&&(i=0),i=Math.min(i,1);var o=this.easingFunc,a=o?o(i):i;if(this.onframe(a),1===i){if(!this.loop)return!0;var s=r%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(hn.w)(t)?t:Cr[t]||Jr(t)},t}(),ti=Kr,ei=n("41ef"),ni=n("7a29"),ri=Array.prototype.slice;function ii(t,e,n){return(e-t)*n+t}function oi(t,e,n,r){for(var i=e.length,o=0;or?e:t,o=Math.min(n,r),a=i[o-1]||{color:[0,0,0,0],offset:0},s=o;sa)r.length=a;else for(var s=o;s=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var r=this.keyframes,i=r.length,o=!1,a=6,s=e;if(Object(hn.u)(e)){var l=function(t){return Object(hn.u)(t&&t[0])?2:1}(e);a=l,(1===l&&!Object(hn.z)(e[0])||2===l&&!Object(hn.z)(e[0][0]))&&(o=!0)}else if(Object(hn.z)(e)&&!Object(hn.l)(e))a=0;else if(Object(hn.C)(e))if(isNaN(+e)){var u=ei.g(e);u&&(s=u,a=3)}else a=0;else if(Object(hn.x)(e)){var c=Object(hn.m)({},s);c.colorStops=Object(hn.H)(e.colorStops,(function(t){return{offset:t.offset,color:ei.g(t.color)}})),Object(ni.m)(e)?a=4:Object(ni.o)(e)&&(a=5),s=c}0===i?this.valType=a:a===this.valType&&6!==a||(o=!0),this.discrete=this.discrete||o;var d={time:t,value:s,rawValue:e,percent:0};return n&&(d.easing=n,d.easingFunc=Object(hn.w)(n)?n:Cr[n]||Jr(n)),r.push(d),d},t.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort((function(t,e){return t.time-e.time}));for(var r=this.valType,i=n.length,o=n[i-1],a=this.discrete,s=fi(r),l=hi(r),u=0;u=0&&!(l[n].percent<=e);n--);n=f(n,u-2)}else{for(n=h;ne);n++);n=f(n-1,u-2)}i=l[n+1],r=l[n]}if(r&&i){this._lastFr=n,this._lastFrP=e;var p=i.percent-r.percent,g=0===p?1:f((e-r.percent)/p,1);i.easingFunc&&(g=i.easingFunc(g));var v=o?this._additiveValue:d?pi:t[c];if(!fi(s)&&!d||v||(v=this._additiveValue=[]),this.discrete)t[c]=g<1?r.rawValue:i.rawValue;else if(fi(s))1===s?oi(v,r[a],i[a],g):function(t,e,n,r){for(var i=e.length,o=i&&e[0].length,a=0;a0&&s.addKeyframe(0,ci(l),r),this._trackKeys.push(a)}s.addKeyframe(t,ci(e[a]),r)}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;n0)){this._started=1;for(var e=this,n=[],r=this._maxTime||0,i=0;i1){var a=o.pop();i.addKeyframe(a.time,t[r]),i.prepare(this._maxTime,i.getAdditiveTrack())}}}},t}(),yi=vi;function mi(){return(new Date).getTime()}var bi=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 pn(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=mi()-this._pausedTime,n=e-this._time,r=this._head;r;){var i=r.next;r.step(e,n)?(r.ondestroy(),this.removeClip(r),r=i):r=i}this._time=e,t||(this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;this._running=!0,Mr((function e(){t._running&&(Mr(e),!t._paused&&t.update())}))},e.prototype.start=function(){this._running||(this._time=mi(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=mi(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=mi()-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 yi(t,e.loop);return this.addAnimator(n),n},e}(Pn),_i=bi,xi=dn.a.domSupported,wi=function(){var t=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],e={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},n=hn.H(t,(function(t){var n=t.replace("mouse","pointer");return e.hasOwnProperty(n)?n:t}));return{mouse:t,touch:["touchstart","touchend","touchmove"],pointer:n}}(),Si=["mousemove","mouseup"],Mi=["pointermove","pointerup"],Oi=!1;function Ci(t){var e=t.pointerType;return"pen"===e||"touch"===e}function Ii(t){t&&(t.zrByTouch=!0)}function Ti(t,e){for(var n=e,r=!1;n&&9!==n.nodeType&&!(r=n.domBelongToZr||n!==e&&n===t.painterRoot);)n=n.parentNode;return r}var Ai=function(t,e){this.stopPropagation=hn.L,this.stopImmediatePropagation=hn.L,this.preventDefault=hn.L,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY},Di={mousedown:function(t){t=qn(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=qn(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=qn(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){Ti(this,(t=qn(this.dom,t)).toElement||t.relatedTarget)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){Oi=!0,t=qn(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){Oi||(t=qn(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){Ii(t=qn(this.dom,t)),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),Di.mousemove.call(this,t),Di.mousedown.call(this,t)},touchmove:function(t){Ii(t=qn(this.dom,t)),this.handler.processGesture(t,"change"),Di.mousemove.call(this,t)},touchend:function(t){Ii(t=qn(this.dom,t)),this.handler.processGesture(t,"end"),Di.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<300&&Di.click.call(this,t)},pointerdown:function(t){Di.mousedown.call(this,t)},pointermove:function(t){Ci(t)||Di.mousemove.call(this,t)},pointerup:function(t){Di.mouseup.call(this,t)},pointerout:function(t){Ci(t)||Di.mouseout.call(this,t)}};hn.k(["click","dblclick","contextmenu"],(function(t){Di[t]=function(e){e=qn(this.dom,e),this.trigger(t,e)}}));var ki={pointermove:function(t){Ci(t)||ki.mousemove.call(this,t)},pointerup:function(t){ki.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 ji(t,e){var n=e.domHandlers;dn.a.pointerEventsSupported?hn.k(wi.pointer,(function(r){Li(e,r,(function(e){n[r].call(t,e)}))})):(dn.a.touchEventsSupported&&hn.k(wi.touch,(function(r){Li(e,r,(function(i){n[r].call(t,i),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)}))})),hn.k(wi.mouse,(function(r){Li(e,r,(function(i){i=Zn(i),e.touching||n[r].call(t,i)}))})))}function Ei(t,e){function n(n){Li(e,n,(function(r){r=Zn(r),Ti(t,r.target)||(r=function(t,e){return qn(t.dom,new Ai(t,e),!0)}(t,r),e.domHandlers[n].call(t,r))}),{capture:!0})}dn.a.pointerEventsSupported?hn.k(Mi,n):dn.a.touchEventsSupported||hn.k(Si,n)}function Li(t,e,n,r){t.mounted[e]=n,t.listenerOpts[e]=r,Qn(t.domTarget,e,n,r)}function Ni(t){var e=t.mounted;for(var n in e)e.hasOwnProperty(n)&&Jn(t.domTarget,n,e[n],t.listenerOpts[n]);t.mounted={}}var Pi=function(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e},Ri=function(t){function e(e,n){var r=t.call(this)||this;return r.__pointerCapturing=!1,r.dom=e,r.painterRoot=n,r._localHandlerScope=new Pi(e,Di),xi&&(r._globalHandlerScope=new Pi(document,ki)),ji(r,r._localHandlerScope),r}return pn(e,t),e.prototype.dispose=function(){Ni(this._localHandlerScope),xi&&Ni(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,xi&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?Ei(this,e):Ni(e)}},e}(Pn),zi=Ri,Vi=1;dn.a.hasGlobalWindow&&(Vi=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var Bi=Vi,Fi="#333",Hi="#ccc";function Wi(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function Ui(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 Gi(t,e,n){var r=e[0]*n[0]+e[2]*n[1],i=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]=r,t[1]=i,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t}function Yi(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 $i(t,e,n){var r=e[0],i=e[2],o=e[4],a=e[1],s=e[3],l=e[5],u=Math.sin(n),c=Math.cos(n);return t[0]=r*c+a*u,t[1]=-r*u+a*c,t[2]=i*c+s*u,t[3]=-i*u+c*s,t[4]=c*o+u*l,t[5]=c*l-u*o,t}function Xi(t,e,n){var r=n[0],i=n[1];return t[0]=e[0]*r,t[1]=e[1]*i,t[2]=e[2]*r,t[3]=e[3]*i,t[4]=e[4]*r,t[5]=e[5]*i,t}function Zi(t,e){var n=e[0],r=e[2],i=e[4],o=e[1],a=e[3],s=e[5],l=n*a-o*r;return l?(l=1/l,t[0]=a*l,t[1]=-o*l,t[2]=-r*l,t[3]=n*l,t[4]=(r*s-a*i)*l,t[5]=(o*i-n*s)*l,t):null}var qi=Wi,Qi=5e-5;function Ji(t){return t>Qi||t<-Qi}var Ki=[],to=[],eo=[1,0,0,1,0,0],no=Math.abs,ro=function(){function t(){}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 Ji(this.rotation)||Ji(this.x)||Ji(this.y)||Ji(this.scaleX-1)||Ji(this.scaleY-1)||Ji(this.skewX)||Ji(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):qi(n),t&&(e?Gi(n,t,n):Ui(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&qi(n)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(Ki);var n=Ki[0]<0?-1:1,r=Ki[1]<0?-1:1,i=((Ki[0]-n)*e+n)/Ki[0]||0,o=((Ki[1]-r)*e+r)/Ki[1]||0;t[0]*=i,t[1]*=i,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||[1,0,0,1,0,0],Zi(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],r=Math.atan2(t[1],t[0]),i=Math.PI/2+r-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(i),e=Math.sqrt(e),this.skewX=i,this.skewY=0,this.rotation=-r,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&&(Gi(to,t.invTransform,e),e=to);var n=this.originX,r=this.originY;(n||r)&&(eo[4]=n,eo[5]=r,Gi(to,e,eo),to[4]-=n,to[5]-=r,e=to),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],r=this.invTransform;return r&&An(n,n,r),n},t.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],r=this.transform;return r&&An(n,n,r),n},t.prototype.getLineScale=function(){var t=this.transform;return t&&no(t[0]-1)>1e-10&&no(t[3]-1)>1e-10?Math.sqrt(no(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(t){oo(this,t)},t.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,r=t.originY||0,i=t.scaleX,o=t.scaleY,a=t.anchorX,s=t.anchorY,l=t.rotation||0,u=t.x,c=t.y,d=t.skewX?Math.tan(t.skewX):0,h=t.skewY?Math.tan(-t.skewY):0;if(n||r||a||s){var f=n+a,p=r+s;e[4]=-f*i-d*p*o,e[5]=-p*o-h*f*i}else e[4]=e[5]=0;return e[0]=i,e[3]=o,e[1]=h*i,e[2]=d*o,l&&$i(e,e,l),e[4]+=n+u,e[5]+=r+c,e},t.initDefaultProps=function(){var e=t.prototype;e.scaleX=e.scaleY=e.globalScaleRatio=1,e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0}(),t}(),io=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function oo(t,e){for(var n=0;np&&(p=b,gp&&(p=_,y=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.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,r){if(r){if(r[1]<1e-5&&r[1]>-1e-5&&r[2]<1e-5&&r[2]>-1e-5){var i=r[0],o=r[3],a=r[4],s=r[5];return e.x=n.x*i+a,e.y=n.y*o+s,e.width=n.width*i,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))}ho.x=po.x=n.x,ho.y=go.y=n.y,fo.x=go.x=n.x+n.width,fo.y=po.y=n.y+n.height,ho.transform(r),go.transform(r),fo.transform(r),po.transform(r),e.x=uo(ho.x,fo.x,po.x,go.x),e.y=uo(ho.y,fo.y,po.y,go.y);var l=co(ho.x,fo.x,po.x,go.x),u=co(ho.y,fo.y,po.y,go.y);e.width=l-e.x,e.height=u-e.y}else e!==n&&t.copy(e,n)},t}(),bo=mo,_o=n("d51b"),xo=n("726e"),wo={};function So(t,e){e=e||xo.a;var n=wo[e];n||(n=wo[e]=new _o.a(500));var r=n.get(t);return null==r&&(r=xo.d.measureText(t,e).width,n.put(t,r)),r}function Mo(t,e,n,r){var i=So(t,e),o=To(e),a=Co(0,i,n),s=Io(0,o,r);return new bo(a,s,i,o)}function Oo(t,e,n,r){var i=((t||"")+"").split("\n");if(1===i.length)return Mo(i[0],e,n,r);for(var o=new bo(0,0,0,0),a=0;a=0?parseFloat(t)/100*e:parseFloat(t):t}function Do(t,e,n){var r=e.position||"inside",i=null!=e.distance?e.distance:5,o=n.height,a=n.width,s=o/2,l=n.x,u=n.y,c="left",d="top";if(r instanceof Array)l+=Ao(r[0],n.width),u+=Ao(r[1],n.height),c=null,d=null;else switch(r){case"left":l-=i,u+=s,c="right",d="middle";break;case"right":l+=i+a,u+=s,d="middle";break;case"top":l+=a/2,u-=i,c="center",d="bottom";break;case"bottom":l+=a/2,u+=o+i,c="center";break;case"inside":l+=a/2,u+=s,c="center",d="middle";break;case"insideLeft":l+=i,u+=s,d="middle";break;case"insideRight":l+=a-i,u+=s,c="right",d="middle";break;case"insideTop":l+=a/2,u+=i,c="center";break;case"insideBottom":l+=a/2,u+=o-i,c="center",d="bottom";break;case"insideTopLeft":l+=i,u+=i;break;case"insideTopRight":l+=a-i,u+=i,c="right";break;case"insideBottomLeft":l+=i,u+=o-i,d="bottom";break;case"insideBottomRight":l+=a-i,u+=o-i,c="right",d="bottom"}return(t=t||{}).x=l,t.y=u,t.align=c,t.verticalAlign=d,t}var ko="__zr_normal__",jo=io.concat(["ignore"]),Eo=Object(hn.N)(io,(function(t,e){return t[e]=!0,t}),{ignore:!1}),Lo={},No=new bo(0,0,0,0),Po=function(){function t(t){this.id=Object(hn.p)(),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 r=this.transform;r||(r=this.transform=[1,0,0,1,0,0]),r[4]+=t,r[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,r=n.local,i=e.innerTransformable,o=void 0,a=void 0,s=!1;i.parent=r?this:null;var l=!1;if(i.copyTransform(e),null!=n.position){var u=No;n.layoutRect?u.copy(n.layoutRect):u.copy(this.getBoundingRect()),r||u.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(Lo,n,u):Do(Lo,n,u),i.x=Lo.x,i.y=Lo.y,o=Lo.align,a=Lo.verticalAlign;var c=n.origin;if(c&&null!=n.rotation){var d=void 0,h=void 0;"center"===c?(d=.5*u.width,h=.5*u.height):(d=Ao(c[0],u.width),h=Ao(c[1],u.height)),l=!0,i.originX=-i.x+d+(r?0:u.x),i.originY=-i.y+h+(r?0:u.y)}}null!=n.rotation&&(i.rotation=n.rotation);var f=n.offset;f&&(i.x+=f[0],i.y+=f[1],l||(i.originX=-f[0],i.originY=-f[1]));var p=null==n.inside?"string"==typeof n.position&&n.position.indexOf("inside")>=0:n.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),v=void 0,y=void 0,m=void 0;p&&this.canBeInsideText()?(v=n.insideFill,y=n.insideStroke,null!=v&&"auto"!==v||(v=this.getInsideTextFill()),null!=y&&"auto"!==y||(y=this.getInsideTextStroke(v),m=!0)):(v=n.outsideFill,y=n.outsideStroke,null!=v&&"auto"!==v||(v=this.getOutsideFill()),null!=y&&"auto"!==y||(y=this.getOutsideStroke(v),m=!0)),(v=v||"#000")===g.fill&&y===g.stroke&&m===g.autoStroke&&o===g.align&&a===g.verticalAlign||(s=!0,g.fill=v,g.stroke=y,g.autoStroke=m,g.align=o,g.verticalAlign=a,e.setDefaultTextStyle(g)),e.__dirty|=1,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()?Hi:Fi},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"==typeof e&&Object(ei.g)(e);n||(n=[255,255,255,1]);for(var r=n[3],i=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*r+(i?0:255)*(1-r);return n[3]=1,Object(ei.h)(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(hn.m)(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(hn.A)(t))for(var n=t,r=Object(hn.F)(n),i=0;i0},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(ko,!1,t)},t.prototype.useState=function(t,e,n,r){var i=t===ko;if(this.hasState()||!i){var o=this.currentStates,a=this.stateTransition;if(!(Object(hn.r)(o,t)>=0)||!e&&1!==o.length){var s;if(this.stateProxy&&!i&&(s=this.stateProxy(t)),s||(s=this.states&&this.states[t]),s||i){i||this.saveCurrentToNormalState(s);var l=!!(s&&s.hoverLayer||r);l&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,s,this._normalState,e,!n&&!this.__inHover&&a&&a.duration>0,a);var u=this._textContent,c=this._textGuide;return u&&u.useState(t,e,n,l),c&&c.useState(t,e,n,l),i?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!l&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2),s}Object(hn.G)("State "+t+" not exists.")}}},t.prototype.useStates=function(t,e,n){if(t.length){var r=[],i=this.currentStates,o=t.length,a=o===i.length;if(a)for(var s=0;s0,f);var p=this._textContent,g=this._textGuide;p&&p.useStates(t,e,d),g&&g.useStates(t,e,d),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!d&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2)}else this.clearStates()},t.prototype._updateAnimationTargets=function(){for(var t=0;t=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},t.prototype.replaceState=function(t,e,n){var r=this.currentStates.slice(),i=Object(hn.r)(r,t),o=Object(hn.r)(r,e)>=0;i>=0?o?r.splice(i,1):r[i]=e:n&&!o&&r.push(e),this.useStates(r)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,n={},r=0;r=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,r=n.length,i=[],o=0;o0&&n.during&&o[0].during((function(t,e){n.during(e)}));for(var h=0;h0||i.force&&!a.length){var S=void 0,M=void 0,O=void 0;if(s)for(M={},h&&(S={}),_=0;_=0&&(n.splice(r,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var n=hn.r(this._children,t);return n>=0&&this.replaceAt(e,n),this},e.prototype.replaceAt=function(t,e){var n=this._children,r=n[e];if(t&&t!==this&&t.parent!==this&&t!==r){n[e]=t,r.parent=null;var i=this.__zr;i&&r.removeSelfFromZr(i),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,r=hn.r(n,t);return r<0||(n.splice(r,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;n0&&(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;e0){if(t<=i)return a;if(t>=o)return s}else{if(t>=i)return a;if(t<=o)return s}else{if(t===i)return a;if(t===o)return s}return(t-i)/l*u+a}function qo(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 hn.C(t)?function(t){return t.replace(/^\s+|\s+$/g,"")}(t).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t}function Qo(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t}function Jo(t){return t.sort((function(t,e){return t-e})),t}function Ko(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 function(t){var e=t.toString().toLowerCase(),n=e.indexOf("e"),r=n>0?+e.slice(n+1):0,i=n>0?n:e.length,o=e.indexOf("."),a=o<0?0:i-1-o;return Math.max(0,a-r)}(t)}function ta(t,e){var n=Math.log,r=Math.LN10,i=Math.floor(n(t[1]-t[0])/r),o=Math.round(n(Math.abs(e[1]-e[0]))/r),a=Math.min(Math.max(-i+o,0),20);return isFinite(a)?a:20}function ea(t,e){var n=Math.max(Ko(t),Ko(e)),r=t+e;return n>20?r:Qo(r,n)}var na=9007199254740991;function ra(t){var e=2*Math.PI;return(t%e+e)%e}function ia(t){return t>-Xo&&t=10&&e++,e}function la(t,e){var n=sa(t),r=Math.pow(10,n),i=t/r;return t=(e?i<1.5?1:i<2.5?2:i<4?3:i<7?5:10:i<1?1:i<2?2:i<3?3:i<5?5:10)*r,n>=-20?+t.toFixed(n<0?-n:0):t}function ua(t,e){var n=(t.length-1)*e+1,r=Math.floor(n),i=+t[r-1],o=n-r;return o?i+o*(t[r]-i):i}function ca(t){t.sort((function(t,e){return s(t,e,0)?-1:1}));for(var e=-1/0,n=1,r=0;r=0||i&&hn.r(i,s)<0)){var l=n.getShallow(s,e);null!=l&&(o[t[a][0]]=l)}}return o}}var Qa=qa([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),Ja=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return Qa(this,t,e)},t}(),Ka=new _o.a(50);function ts(t){if("string"==typeof t){var e=Ka.get(t);return e&&e.image}return t}function es(t,e,n,r,i){if(t){if("string"==typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var o=Ka.get(t),a={hostEl:n,cb:r,cbPayload:i};if(o)!rs(e=o.image)&&o.pending.push(a);else{var s=xo.d.loadImage(t,ns,ns);s.__zrImageSrc=t,Ka.put(t,s.__cachedImgObj={image:s,pending:[a]})}return e}return t}return e}function ns(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e=a;l++)s-=a;var u=So(n,e);return u>s&&(n="",u=0),s=t-u,i.ellipsis=n,i.ellipsisWidth=u,i.contentWidth=s,i.containerWidth=t,i}function ss(t,e){var n=e.containerWidth,r=e.font,i=e.contentWidth;if(!n)return"";var o=So(t,r);if(o<=n)return t;for(var a=0;;a++){if(o<=i||a>=e.maxIterations){t+=e.ellipsis;break}var s=0===a?ls(t,i,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*i/o):0;o=So(t=t.substr(0,s),r)}return""===t&&(t=e.placeholder),t}function ls(t,e,n,r){for(var i=0,o=0,a=t.length;o0&&p+r.accumWidth>r.width&&(o=e.split("\n"),d=!0),r.accumWidth=p}else{var g=gs(e,c,r.width,r.breakAll,r.accumWidth);r.accumWidth=g.accumWidth+f,a=g.linesWidths,o=g.lines}}else o=e.split("\n");for(var v=0;v=33&&e<=383}(t)||!!fs[t]}function gs(t,e,n,r,i){for(var o=[],a=[],s="",l="",u=0,c=0,d=0;dn:i+c+f>n)?c?(s||l)&&(p?(s||(s=l,l="",c=u=0),o.push(s),a.push(c-u),l+=h,s="",c=u+=f):(l&&(s+=l,l="",u=0),o.push(s),a.push(c),s=h,c=f)):p?(o.push(l),a.push(u),l=h,u=f):(o.push(h),a.push(f)):(c+=f,p?(l+=h,u+=f):(l&&(s+=l,l="",u=0),s+=h))}else l&&(s+=l,c+=u),o.push(s),a.push(c),s="",l="",u=0,c=0}return o.length||s||(s=t,l="",u=0),l&&(s+=l),s&&(o.push(s),a.push(c)),1===o.length&&(c+=i),{accumWidth:c,lines:o,linesWidths:a}}var vs="__zr_style_"+Math.round(10*Math.random()),ys={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},ms={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};ys[vs]=!0;var bs=["z","z2","invisible"],_s=["invisible"],xs=function(t){function e(e){return t.call(this,e)||this}return pn(e,t),e.prototype._init=function(e){for(var n=Object(hn.F)(e),r=0;r1e-4)return s[0]=t-n,s[1]=e-r,l[0]=t+n,void(l[1]=e+r);if(Ds[0]=Ts(i)*n+t,Ds[1]=Is(i)*r+e,ks[0]=Ts(o)*n+t,ks[1]=Is(o)*r+e,u(s,Ds,ks),c(l,Ds,ks),(i%=As)<0&&(i+=As),(o%=As)<0&&(o+=As),i>o&&!a?o+=As:ii&&(js[0]=Ts(f)*n+t,js[1]=Is(f)*r+e,u(s,js,s),c(l,js,l))}var Bs={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},Fs=[],Hs=[],Ws=[],Us=[],Gs=[],Ys=[],$s=Math.min,Xs=Math.max,Zs=Math.cos,qs=Math.sin,Qs=Math.abs,Js=Math.PI,Ks=2*Js,tl="undefined"!=typeof Float32Array,el=[];function nl(t){return Math.round(t/Js*1e8)/1e8%2*Js}function rl(t,e){var n=nl(t[0]);n<0&&(n+=Ks);var r=n-t[0],i=t[1];i+=r,!e&&i-n>=Ks?i=n+Ks:e&&n-i>=Ks?i=n-Ks:!e&&n>i?i=n+(Ks-nl(n-i)):e&&n0&&(this._ux=Qs(n/Bi/t)||0,this._uy=Qs(n/Bi/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(Bs.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=Qs(t-this._xi),r=Qs(e-this._yi),i=n>this._ux||r>this._uy;if(this.addData(Bs.L,t,e),this._ctx&&i&&this._ctx.lineTo(t,e),i)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=n*n+r*r;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},t.prototype.bezierCurveTo=function(t,e,n,r,i,o){return this._drawPendingPt(),this.addData(Bs.C,t,e,n,r,i,o),this._ctx&&this._ctx.bezierCurveTo(t,e,n,r,i,o),this._xi=i,this._yi=o,this},t.prototype.quadraticCurveTo=function(t,e,n,r){return this._drawPendingPt(),this.addData(Bs.Q,t,e,n,r),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,r),this._xi=n,this._yi=r,this},t.prototype.arc=function(t,e,n,r,i,o){this._drawPendingPt(),el[0]=r,el[1]=i,rl(el,o),r=el[0];var a=(i=el[1])-r;return this.addData(Bs.A,t,e,n,n,r,a,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,r,i,o),this._xi=Zs(i)*n+t,this._yi=qs(i)*n+e,this},t.prototype.arcTo=function(t,e,n,r,i){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,r,i),this},t.prototype.rect=function(t,e,n,r){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,r),this.addData(Bs.R,t,e,n,r),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(Bs.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||!tl||(this.data=new Float32Array(e));for(var n=0;nu.length&&(this._expandData(),u=this.data);for(var c=0;c0&&(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;e11&&(this.data=new Float32Array(t)))}},t.prototype.getBoundingRect=function(){Ws[0]=Ws[1]=Gs[0]=Gs[1]=Number.MAX_VALUE,Us[0]=Us[1]=Ys[0]=Ys[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,r=0,i=0,o=0;for(t=0;tn||Qs(m)>r||d===e-1)&&(p=Math.sqrt(y*y+m*m),i=g,o=v);break;case Bs.C:var b=t[d++],_=t[d++],x=(g=t[d++],v=t[d++],t[d++]),w=t[d++];p=Ur(i,o,b,_,g,v,x,w,10),i=x,o=w;break;case Bs.Q:p=qr(i,o,b=t[d++],_=t[d++],g=t[d++],v=t[d++],10),i=g,o=v;break;case Bs.A:var S=t[d++],M=t[d++],O=t[d++],C=t[d++],I=t[d++],T=t[d++],A=T+I;d+=1,t[d++],f&&(a=Zs(I)*O+S,s=qs(I)*C+M),p=Xs(O,C)*$s(Ks,Math.abs(T)),i=Zs(A)*O+S,o=qs(A)*C+M;break;case Bs.R:a=i=t[d++],s=o=t[d++],p=2*t[d++]+2*t[d++];break;case Bs.Z:y=a-i,m=s-o,p=Math.sqrt(y*y+m*m),i=a,o=s}p>=0&&(l[c++]=p,u+=p)}return this._pathLen=u,u},t.prototype.rebuildPath=function(t,e){var n,r,i,o,a,s,l,u,c,d,h=this.data,f=this._ux,p=this._uy,g=this._len,v=e<1,y=0,m=0,b=0;if(!v||(this._pathSegLen||this._calculateLength(),l=this._pathSegLen,u=e*this._pathLen))t:for(var _=0;_0&&(t.lineTo(c,d),b=0),x){case Bs.M:n=i=h[_++],r=o=h[_++],t.moveTo(i,o);break;case Bs.L:a=h[_++],s=h[_++];var S=Qs(a-i),M=Qs(s-o);if(S>f||M>p){if(v){var O=l[m++];if(y+O>u){var C=(u-y)/O;t.lineTo(i*(1-C)+a*C,o*(1-C)+s*C);break t}y+=O}t.lineTo(a,s),i=a,o=s,b=0}else{var I=S*S+M*M;I>b&&(c=a,d=s,b=I)}break;case Bs.C:var T=h[_++],A=h[_++],D=h[_++],k=h[_++],j=h[_++],E=h[_++];if(v){if(y+(O=l[m++])>u){Hr(i,T,D,j,C=(u-y)/O,Fs),Hr(o,A,k,E,C,Hs),t.bezierCurveTo(Fs[1],Hs[1],Fs[2],Hs[2],Fs[3],Hs[3]);break t}y+=O}t.bezierCurveTo(T,A,D,k,j,E),i=j,o=E;break;case Bs.Q:if(T=h[_++],A=h[_++],D=h[_++],k=h[_++],v){if(y+(O=l[m++])>u){Xr(i,T,D,C=(u-y)/O,Fs),Xr(o,A,k,C,Hs),t.quadraticCurveTo(Fs[1],Hs[1],Fs[2],Hs[2]);break t}y+=O}t.quadraticCurveTo(T,A,D,k),i=D,o=k;break;case Bs.A:var L=h[_++],N=h[_++],P=h[_++],R=h[_++],z=h[_++],V=h[_++],B=h[_++],F=!h[_++],H=P>R?P:R,W=Qs(P-R)>.001,U=z+V,G=!1;if(v&&(y+(O=l[m++])>u&&(U=z+V*(u-y)/O,G=!0),y+=O),W&&t.ellipse?t.ellipse(L,N,P,R,B,z,U,F):t.arc(L,N,H,z,U,F),G)break t;w&&(n=Zs(z)*P+L,r=qs(z)*R+N),i=Zs(U)*P+L,o=qs(U)*R+N;break;case Bs.R:n=i=h[_],r=o=h[_+1],a=h[_++],s=h[_++];var Y=h[_++],$=h[_++];if(v){if(y+(O=l[m++])>u){var X=u-y;t.moveTo(a,s),t.lineTo(a+$s(X,Y),s),(X-=Y)>0&&t.lineTo(a+Y,s+$s(X,$)),(X-=$)>0&&t.lineTo(a+Xs(Y-X,0),s+$),(X-=Y)>0&&t.lineTo(a,s+Xs($-X,0));break t}y+=O}t.rect(a,s,Y,$);break;case Bs.Z:if(v){if(y+(O=l[m++])>u){C=(u-y)/O,t.lineTo(i*(1-C)+n*C,o*(1-C)+r*C);break t}y+=O}t.closePath(),i=n,o=r}}},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=Bs,t.initDefaultProps=function(){var e=t.prototype;e._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0}(),t}(),ol=il;function al(t,e,n,r,i,o,a){if(0===i)return!1;var s,l=i;if(a>e+l&&a>r+l||at+l&&o>n+l||oe+d&&c>r+d&&c>o+d&&c>s+d||ct+d&&u>n+d&&u>i+d&&u>a+d||ue+u&&l>r+u&&l>o+u||lt+u&&s>n+u&&s>i+u||sn||c+ui&&(i+=dl);var h=Math.atan2(l,s);return h<0&&(h+=dl),h>=r&&h<=i||h+dl>=r&&h+dl<=i}function fl(t,e,n,r,i,o){if(o>e&&o>r||oi?s:0}var pl=ol.CMD,gl=2*Math.PI;var vl=[-1,-1,-1],yl=[-1,-1];function ml(){var t=yl[0];yl[0]=yl[1],yl[1]=t}function bl(t,e,n,r,i,o,a,s,l,u){if(u>e&&u>r&&u>o&&u>s||u1&&ml(),f=zr(e,r,o,s,yl[0]),h>1&&(p=zr(e,r,o,s,yl[1]))),2===h?ve&&s>r&&s>o||s=0&&u<=1&&(i[l++]=u)}}else{var c=a*a-4*o*s;if(Pr(c))(u=-a/(2*o))>=0&&u<=1&&(i[l++]=u);else if(c>0){var d=Tr(c),h=(u=(-a+d)/(2*o),(-a-d)/(2*o));u>=0&&u<=1&&(i[l++]=u),h>=0&&h<=1&&(i[l++]=h)}}return l}(e,r,o,s,vl);if(0===l)return 0;var u=$r(e,r,o);if(u>=0&&u<=1){for(var c=0,d=Gr(e,r,o,u),h=0;hn||s<-n)return 0;var l=Math.sqrt(n*n-s*s);vl[0]=-l,vl[1]=l;var u=Math.abs(r-i);if(u<1e-4)return 0;if(u>=gl-1e-4){r=0,i=gl;var c=o?1:-1;return a>=vl[0]+t&&a<=vl[1]+t?c:0}if(r>i){var d=r;r=i,i=d}r<0&&(r+=gl,i+=gl);for(var h=0,f=0;f<2;f++){var p=vl[f];if(p+t>a){var g=Math.atan2(s,p);c=o?1:-1,g<0&&(g=gl+g),(g>=r&&g<=i||g+gl>=r&&g+gl<=i)&&(g>Math.PI/2&&g<1.5*Math.PI&&(c=-c),h+=c)}}return h}function wl(t,e,n,r,i){for(var o,a,s=t.data,l=t.len(),u=0,c=0,d=0,h=0,f=0,p=0;p1&&(n||(u+=fl(c,d,h,f,r,i))),v&&(h=c=s[p],f=d=s[p+1]),g){case pl.M:c=h=s[p++],d=f=s[p++];break;case pl.L:if(n){if(al(c,d,s[p],s[p+1],e,r,i))return!0}else u+=fl(c,d,s[p],s[p+1],r,i)||0;c=s[p++],d=s[p++];break;case pl.C:if(n){if(sl(c,d,s[p++],s[p++],s[p++],s[p++],s[p],s[p+1],e,r,i))return!0}else u+=bl(c,d,s[p++],s[p++],s[p++],s[p++],s[p],s[p+1],r,i)||0;c=s[p++],d=s[p++];break;case pl.Q:if(n){if(ll(c,d,s[p++],s[p++],s[p],s[p+1],e,r,i))return!0}else u+=_l(c,d,s[p++],s[p++],s[p],s[p+1],r,i)||0;c=s[p++],d=s[p++];break;case pl.A:var y=s[p++],m=s[p++],b=s[p++],_=s[p++],x=s[p++],w=s[p++];p+=1;var S=!!(1-s[p++]);o=Math.cos(x)*b+y,a=Math.sin(x)*_+m,v?(h=o,f=a):u+=fl(c,d,o,a,r,i);var M=(r-y)*_/b+y;if(n){if(hl(y,m,_,x,x+w,S,e,M,i))return!0}else u+=xl(y,m,_,x,x+w,S,M,i);c=Math.cos(x+w)*b+y,d=Math.sin(x+w)*_+m;break;case pl.R:if(h=c=s[p++],f=d=s[p++],o=h+s[p++],a=f+s[p++],n){if(al(h,f,o,f,e,r,i)||al(o,f,o,a,e,r,i)||al(o,a,h,a,e,r,i)||al(h,a,h,f,e,r,i))return!0}else u+=fl(o,f,o,a,r,i),u+=fl(h,a,h,f,r,i);break;case pl.Z:if(n){if(al(c,d,h,f,e,r,i))return!0}else u+=fl(c,d,h,f,r,i);c=h,d=f}}return n||function(t,e){return Math.abs(t-e)<1e-4}(d,f)||(u+=fl(c,d,h,f,r,i)||0),0!==u}var Sl=Object(hn.i)({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},ys),Ml={style:Object(hn.i)({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},ms.style)},Ol=io.concat(["invisible","culling","z","z2","zlevel","parent"]),Cl=function(t){function e(e){return t.call(this,e)||this}return pn(e,t),e.prototype.update=function(){var n=this;t.prototype.update.call(this);var r=this.style;if(r.decal){var i=this._decalEl=this._decalEl||new e;i.buildPath===e.prototype.buildPath&&(i.buildPath=function(t){n.buildPath(t,n.shape)}),i.silent=!0;var o=i.style;for(var a in r)o[a]!==r[a]&&(o[a]=r[a]);o.fill=r.fill?r.decal:null,o.decal=null,o.shadowColor=null,r.strokeFirst&&(o.stroke=null);for(var s=0;s.5?Fi:e>.2?"#eee":Hi}if(t)return Hi}return Fi},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(Object(hn.C)(e)){var n=this.__zr;if(!(!n||!n.isDarkMode())===Object(ei.d)(t,0)<.4)return e}},e.prototype.buildPath=function(t,e,n){},e.prototype.pathUpdated=function(){this.__dirty&=-5},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 ol(!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 r=!1;this.path||(r=!0,this.createPathProxy());var i=this.path;(r||4&this.__dirty)&&(i.beginPath(),this.buildPath(i,this.shape,!1),this.pathUpdated()),t=i.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),r=this.getBoundingRect(),i=this.style;if(t=n[0],e=n[1],r.contain(t,e)){var o=this.path;if(this.hasStroke()){var a=i.lineWidth,s=i.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),function(t,e,n,r){return wl(t,e,!0,n,r)}(o,a/s,t,e)))return!0}if(this.hasFill())return function(t,e,n){return wl(t,0,!1,e,n)}(o,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=4,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(hn.m)(n,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(4&this.__dirty)},e.prototype.createStyle=function(t){return Object(hn.g)(Sl,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=Object(hn.m)({},this.shape))},e.prototype._applyStateObj=function(e,n,r,i,o,a){t.prototype._applyStateObj.call(this,e,n,r,i,o,a);var s,l=!(n&&i);if(n&&n.shape?o?i?s=n.shape:(s=Object(hn.m)({},r.shape),Object(hn.m)(s,n.shape)):(s=Object(hn.m)({},i?this.shape:r.shape),Object(hn.m)(s,n.shape)):l&&(s=r.shape),s)if(o){this.shape=Object(hn.m)({},this.shape);for(var u={},c=Object(hn.F)(s),d=0;d0},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.createStyle=function(t){return Object(hn.g)(Tl,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=Oo(e,t.font,t.textAlign,t.textBaseline);if(n.x+=t.x||0,n.y+=t.y||0,this.hasStroke()){var r=t.lineWidth;n.x-=r/2,n.y-=r/2,n.width+=r,n.height+=r}this._rect=n}return this._rect},e.initDefaultProps=void(e.prototype.dirtyRectTolerance=10),e}(Ms);Al.prototype.type="tspan";var Dl=Al,kl=Object(hn.i)({x:0,y:0},ys),jl={style:Object(hn.i)({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},ms.style)};var El=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return pn(e,t),e.prototype.createStyle=function(t){return Object(hn.g)(kl,t)},e.prototype._getSize=function(t){var e=this.style,n=e[t];if(null!=n)return n;var r=function(t){return!!(t&&"string"!=typeof t&&t.width&&t.height)}(e.image)?e.image:this.__image;if(!r)return 0;var i="width"===t?"height":"width",o=e[i];return null==o?r[t]:r[t]/r[i]*o},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return jl},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new bo(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(Ms);El.prototype.type="image";var Ll=El;var Nl=Math.round;function Pl(t,e,n){if(e){var r=e.x1,i=e.x2,o=e.y1,a=e.y2;t.x1=r,t.x2=i,t.y1=o,t.y2=a;var s=n&&n.lineWidth;return s?(Nl(2*r)===Nl(2*i)&&(t.x1=t.x2=zl(r,s,!0)),Nl(2*o)===Nl(2*a)&&(t.y1=t.y2=zl(o,s,!0)),t):t}}function Rl(t,e,n){if(e){var r=e.x,i=e.y,o=e.width,a=e.height;t.x=r,t.y=i,t.width=o,t.height=a;var s=n&&n.lineWidth;return s?(t.x=zl(r,s,!0),t.y=zl(i,s,!0),t.width=Math.max(zl(r+o,s,!1)-t.x,0===o?0:1),t.height=Math.max(zl(i+a,s,!1)-t.y,0===a?0:1),t):t}}function zl(t,e,n){if(!e)return t;var r=Nl(2*t);return(r+Nl(e))%2==0?r/2:(r+(n?1:-1))/2}var Vl=function(){this.x=0,this.y=0,this.width=0,this.height=0},Bl={},Fl=function(t){function e(e){return t.call(this,e)||this}return pn(e,t),e.prototype.getDefaultShape=function(){return new Vl},e.prototype.buildPath=function(t,e){var n,r,i,o;if(this.subPixelOptimize){var a=Rl(Bl,e,this.style);n=a.x,r=a.y,i=a.width,o=a.height,a.r=e.r,e=a}else n=e.x,r=e.y,i=e.width,o=e.height;e.r?function(t,e){var n,r,i,o,a,s=e.x,l=e.y,u=e.width,c=e.height,d=e.r;u<0&&(s+=u,u=-u),c<0&&(l+=c,c=-c),"number"==typeof d?n=r=i=o=d:d instanceof Array?1===d.length?n=r=i=o=d[0]:2===d.length?(n=i=d[0],r=o=d[1]):3===d.length?(n=d[0],r=o=d[1],i=d[2]):(n=d[0],r=d[1],i=d[2],o=d[3]):n=r=i=o=0,n+r>u&&(n*=u/(a=n+r),r*=u/a),i+o>u&&(i*=u/(a=i+o),o*=u/a),r+i>c&&(r*=c/(a=r+i),i*=c/a),n+o>c&&(n*=c/(a=n+o),o*=c/a),t.moveTo(s+n,l),t.lineTo(s+u-r,l),0!==r&&t.arc(s+u-r,l+r,r,-Math.PI/2,0),t.lineTo(s+u,l+c-i),0!==i&&t.arc(s+u-i,l+c-i,i,0,Math.PI/2),t.lineTo(s+o,l+c),0!==o&&t.arc(s+o,l+c-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,r,i,o)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(Il);Fl.prototype.type="rect";var Hl=Fl,Wl={fill:"#000"},Ul={style:Object(hn.i)({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},ms.style)},Gl=function(t){function e(e){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=Wl,n.attr(e),n}return pn(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;ef&&c){var p=Math.floor(f/l);n=n.slice(0,p)}if(t&&a&&null!=d)for(var g=as(d,o,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),v=0;v0,O=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),C=r.calculatedLineHeight,I=0;Il&&hs(n,t.substring(l,u),e,s),hs(n,r[2],e,s,r[1]),l=is.lastIndex}lo){x>0?(m.tokens=m.tokens.slice(0,x),v(m,_,b),n.lines=n.lines.slice(0,y+1)):n.lines=n.lines.slice(0,y);break t}var T=S.width,A=null==T||"auto"===T;if("string"==typeof T&&"%"===T.charAt(T.length-1))w.percentWidth=T,c.push(w),w.contentWidth=So(w.text,C);else{if(A){var D=S.backgroundColor,k=D&&D.image;k&&rs(k=ts(k))&&(w.width=Math.max(w.width,k.width*I/k.height))}var j=p&&null!=i?i-_:null;null!=j&&j=0&&"right"===(I=b[C]).align;)this._placeToken(I,t,x,p,O,"right",v),w-=I.width,O-=I.width,C--;for(M+=(n-(M-f)-(g-O)-w)/2;S<=C;)I=b[S],this._placeToken(I,t,x,p,M+I.width/2,"center",v),M+=I.width,S++;p+=x}},e.prototype._placeToken=function(t,e,n,r,i,o,a){var s=e.rich[t.styleName]||{};s.text=t.text;var l=t.verticalAlign,u=r+n/2;"top"===l?u=r+t.height/2:"bottom"===l&&(u=r+n-t.height/2),!t.isLineHolder&&ru(s)&&this._renderBackground(s,e,"right"===o?i-t.width:"center"===o?i-t.width/2:i,u-t.height/2,t.width,t.height);var c=!!s.backgroundColor,d=t.textPadding;d&&(i=eu(i,o,d),u-=t.height/2-d[0]-t.innerHeight/2);var h=this._getOrCreateChild(Dl),f=h.createStyle();h.useStyle(f);var p=this._defaultStyle,g=!1,v=0,y=tu("fill"in s?s.fill:"fill"in e?e.fill:(g=!0,p.fill)),m=Kl("stroke"in s?s.stroke:"stroke"in e?e.stroke:c||a||p.autoStroke&&!g?null:(v=2,p.stroke)),b=s.textShadowBlur>0||e.textShadowBlur>0;f.text=t.text,f.x=i,f.y=u,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||xo.a,f.opacity=Object(hn.Q)(s.opacity,e.opacity,1),ql(f,s),m&&(f.lineWidth=Object(hn.Q)(s.lineWidth,e.lineWidth,v),f.lineDash=Object(hn.P)(s.lineDash,e.lineDash),f.lineDashOffset=e.lineDashOffset||0,f.stroke=m),y&&(f.fill=y);var _=t.contentWidth,x=t.contentHeight;h.setBoundingRect(new bo(Co(f.x,_,f.textAlign),Io(f.y,x,f.textBaseline),_,x))},e.prototype._renderBackground=function(t,e,n,r,i,o){var a,s,l=t.backgroundColor,u=t.borderWidth,c=t.borderColor,d=l&&l.image,h=l&&!d,f=t.borderRadius,p=this;if(h||t.lineHeight||u&&c){(a=this._getOrCreateChild(Hl)).useStyle(a.createStyle()),a.style.fill=null;var g=a.shape;g.x=n,g.y=r,g.width=i,g.height=o,g.r=f,a.dirtyShape()}if(h){var v=a.style;v.fill=l||null,v.fillOpacity=Object(hn.P)(t.fillOpacity,1)}else if(d){(s=this._getOrCreateChild(Ll)).onload=function(){p.dirtyStyle()};var y=s.style;y.image=l.image,y.x=n,y.y=r,y.width=i,y.height=o}u&&c&&((v=a.style).lineWidth=u,v.stroke=c,v.strokeOpacity=Object(hn.P)(t.strokeOpacity,1),v.lineDash=t.borderDash,v.lineDashOffset=t.borderDashOffset||0,a.strokeContainThreshold=0,a.hasFill()&&a.hasStroke()&&(v.strokeFirst=!0,v.lineWidth*=2));var m=(a||s).style;m.shadowBlur=t.shadowBlur||0,m.shadowColor=t.shadowColor||"transparent",m.shadowOffsetX=t.shadowOffsetX||0,m.shadowOffsetY=t.shadowOffsetY||0,m.opacity=Object(hn.Q)(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";return Ql(t)&&(e=[t.fontStyle,t.fontWeight,Zl(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),e&&Object(hn.T)(e)||t.textFont||t.font},e}(Ms),Yl={left:!0,right:1,center:1},$l={top:1,bottom:1,middle:1},Xl=["fontStyle","fontWeight","fontSize","fontFamily"];function Zl(t){return"string"!=typeof t||-1===t.indexOf("px")&&-1===t.indexOf("rem")&&-1===t.indexOf("em")?isNaN(+t)?xo.c+"px":t+"px":t}function ql(t,e){for(var n=0;n=0,o=!1;if(t instanceof Il){var a=uu(t),s=i&&a.selectFill||a.normalFill,l=i&&a.selectStroke||a.normalStroke;if(bu(s)||bu(l)){var u=(r=r||{}).style||{};"inherit"===u.fill?(o=!0,r=Object(hn.m)({},r),(u=Object(hn.m)({},u)).fill=s):!bu(u.fill)&&bu(s)?(o=!0,r=Object(hn.m)({},r),(u=Object(hn.m)({},u)).fill=xu(s)):!bu(u.stroke)&&bu(l)&&(o||(r=Object(hn.m)({},r),u=Object(hn.m)({},u)),u.stroke=xu(l)),r.style=u}}if(r&&null==r.z2){o||(r=Object(hn.m)({},r));var c=t.z2EmphasisLift;r.z2=t.z2+(null!=c?c:fu)}return r}(this,0,e,n);if("blur"===t)return function(t,e,n){var r=Object(hn.r)(t.currentStates,e)>=0,i=t.style.opacity,o=r?null:function(t,e,n,r){for(var i=t.style,o={},a=0;a0){var o={dataIndex:i,seriesIndex:t.seriesIndex};null!=r&&(o.dataType=r),e.push(o)}}))})),e}function Zu(t,e,n){ec(t,!0),Du(t,Eu),Qu(t,e,n)}function qu(t,e,n,r){r?function(t){ec(t,!1)}(t):Zu(t,e,n)}function Qu(t,e,n){var r=ou(t);null!=e?(r.focus=e,r.blurScope=n):r.focus&&(r.focus=null)}var Ju=["emphasis","blur","select"],Ku={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function tc(t,e,n,r){n=n||"itemStyle";for(var i=0;i0){var d={duration:c.duration,delay:c.delay||0,easing:c.easing,done:o,force:!!o||!!a,setToFinal:!u,scope:t,during:a};l?e.animateFrom(n,d):e.animateTo(n,d)}else e.stopAnimation(),!l&&e.attr(n),a&&a(1),o&&o()}function lc(t,e,n,r,i,o){sc("update",t,e,n,r,i,o)}function uc(t,e,n,r,i,o){sc("enter",t,e,n,r,i,o)}function cc(t){if(!t.__zr)return!0;for(var e=0;e-1?Yc:Xc;function Jc(t,e){t=t.toUpperCase(),qc[t]=new Hc(e),Zc[t]=e}function Kc(t){return qc[t]}Jc($c,{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:". "}}}}),Jc(Yc,{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 td=1e3,ed=6e4,nd=60*ed,rd=24*nd,id=365*rd,od={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}"},ad="{yyyy}-{MM}-{dd}",sd={year:"{yyyy}",month:"{yyyy}-{MM}",day:ad,hour:ad+" "+od.hour,minute:ad+" "+od.minute,second:ad+" "+od.second,millisecond:od.none},ld=["year","month","day","hour","minute","second","millisecond"],ud=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function cd(t,e){return"0000".substr(0,e-(t+="").length)+t}function dd(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 hd(t){return t===dd(t)}function fd(t,e,n,r){var i=aa(t),o=i[vd(n)](),a=i[yd(n)]()+1,s=Math.floor((a-1)/4)+1,l=i[md(n)](),u=i["get"+(n?"UTC":"")+"Day"](),c=i[bd(n)](),d=(c-1)%12+1,h=i[_d(n)](),f=i[xd(n)](),p=i[wd(n)](),g=(r instanceof Hc?r:Kc(r||Qc)||qc.EN).getModel("time"),v=g.get("month"),y=g.get("monthAbbr"),m=g.get("dayOfWeek"),b=g.get("dayOfWeekAbbr");return(e||"").replace(/{yyyy}/g,o+"").replace(/{yy}/g,o%100+"").replace(/{Q}/g,s+"").replace(/{MMMM}/g,v[a-1]).replace(/{MMM}/g,y[a-1]).replace(/{MM}/g,cd(a,2)).replace(/{M}/g,a+"").replace(/{dd}/g,cd(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,m[u]).replace(/{ee}/g,b[u]).replace(/{e}/g,u+"").replace(/{HH}/g,cd(c,2)).replace(/{H}/g,c+"").replace(/{hh}/g,cd(d+"",2)).replace(/{h}/g,d+"").replace(/{mm}/g,cd(h,2)).replace(/{m}/g,h+"").replace(/{ss}/g,cd(f,2)).replace(/{s}/g,f+"").replace(/{SSS}/g,cd(p,3)).replace(/{S}/g,p+"")}function pd(t,e){var n=aa(t),r=n[yd(e)]()+1,i=n[md(e)](),o=n[bd(e)](),a=n[_d(e)](),s=n[xd(e)](),l=0===n[wd(e)](),u=l&&0===s,c=u&&0===a,d=c&&0===o,h=d&&1===i;return h&&1===r?"year":h?"month":d?"day":c?"hour":u?"minute":l?"second":"millisecond"}function gd(t,e,n){var r=hn.z(t)?aa(t):t;switch(e=e||pd(t,n)){case"year":return r[vd(n)]();case"half-year":return r[yd(n)]()>=6?1:0;case"quarter":return Math.floor((r[yd(n)]()+1)/4);case"month":return r[yd(n)]();case"day":return r[md(n)]();case"half-day":return r[bd(n)]()/24;case"hour":return r[bd(n)]();case"minute":return r[_d(n)]();case"second":return r[xd(n)]();case"millisecond":return r[wd(n)]()}}function vd(t){return t?"getUTCFullYear":"getFullYear"}function yd(t){return t?"getUTCMonth":"getMonth"}function md(t){return t?"getUTCDate":"getDate"}function bd(t){return t?"getUTCHours":"getHours"}function _d(t){return t?"getUTCMinutes":"getMinutes"}function xd(t){return t?"getUTCSeconds":"getSeconds"}function wd(t){return t?"getUTCMilliseconds":"getMilliseconds"}function Sd(t){return t?"setUTCFullYear":"setFullYear"}function Md(t){return t?"setUTCMonth":"setMonth"}function Od(t){return t?"setUTCDate":"setDate"}function Cd(t){return t?"setUTCHours":"setHours"}function Id(t){return t?"setUTCMinutes":"setMinutes"}function Td(t){return t?"setUTCSeconds":"setSeconds"}function Ad(t){return t?"setUTCMilliseconds":"setMilliseconds"}function Dd(t){if(!ha(t))return hn.C(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function kd(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 jd=hn.M,Ed=/([&<>"'])/g,Ld={"&":"&","<":"<",">":">",'"':""","'":"'"};function Nd(t){return null==t?"":(t+"").replace(Ed,(function(t,e){return Ld[e]}))}function Pd(t,e,n){function r(t){return t&&hn.T(t)?t:"-"}function i(t){return!(null==t||isNaN(t)||!isFinite(t))}var o="time"===e,a=t instanceof Date;if(o||a){var s=o?aa(t):t;if(!isNaN(+s))return fd(s,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",n);if(a)return"-"}if("ordinal"===e)return hn.D(t)?r(t):hn.z(t)&&i(t)?t+"":"-";var l=da(t);return i(l)?Dd(l):hn.D(t)?r(t):"boolean"==typeof t?t+"":"-"}var Rd=["a","b","c","d","e","f","g"],zd=function(t,e){return"{"+t+(null==e?"":e)+"}"};function Vd(t,e,n){hn.t(e)||(e=[e]);var r=e.length;if(!r)return"";for(var i=e[0].$vars||[],o=0;or||l.newline?(o=0,c=g,a+=s+n,s=h.height):s=Math.max(s,h.height)}else{var v=h.height+(p?-p.y+h.y:0);(d=a+v)>i||l.newline?(o+=s+n,a=0,d=v,s=h.width):s=Math.max(s,h.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),"horizontal"===t?o=c+n:a=d+n)}))}var Yd=Gd;function $d(t,e,n){n=jd(n||0);var r=e.width,i=e.height,o=qo(t.left,r),a=qo(t.top,i),s=qo(t.right,r),l=qo(t.bottom,i),u=qo(t.width,r),c=qo(t.height,i),d=n[2]+n[0],h=n[1]+n[3],f=t.aspect;switch(isNaN(u)&&(u=r-s-h-o),isNaN(c)&&(c=i-l-d-a),null!=f&&(isNaN(u)&&isNaN(c)&&(f>r/i?u=.8*r:c=.8*i),isNaN(u)&&(u=f*c),isNaN(c)&&(c=u/f)),isNaN(o)&&(o=r-s-u-h),isNaN(a)&&(a=i-l-c-d),t.left||t.right){case"center":o=r/2-u/2-n[3];break;case"right":o=r-u-h}switch(t.top||t.bottom){case"middle":case"center":a=i/2-c/2-n[0];break;case"bottom":a=i-c-d}o=o||0,a=a||0,isNaN(u)&&(u=r-h-o-(s||0)),isNaN(c)&&(c=i-d-a-(l||0));var p=new bo(o+n[3],a+n[0],u,c);return p.margin=n,p}function Xd(t,e,n,r,i,o){var a,s=!i||!i.hv||i.hv[0],l=!i||!i.hv||i.hv[1],u=i&&i.boundingMode||"all";if((o=o||t).x=t.x,o.y=t.y,!s&&!l)return!1;if("raw"===u)a="group"===t.type?new bo(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(a=t.getBoundingRect(),t.needLocalTransform()){var c=t.getLocalTransform();(a=a.clone()).applyTransform(c)}var d=$d(hn.i({width:a.width,height:a.height},e),n,r),h=s?d.x-a.x:0,f=l?d.y-a.y:0;return"raw"===u?(o.x=h,o.y=f):(o.x+=h,o.y+=f),o===t&&t.markRedraw(),!0}function Zd(t){var e=t.layoutMode||t.constructor.layoutMode;return hn.A(e)?e:e?{type:e}:null}function qd(t,e,n){var r=n&&n.ignoreSize;!hn.t(r)&&(r=[r,r]);var i=a(Ud[0],0),o=a(Ud[1],1);function a(n,i){var o={},a=0,u={},c=0;if(Hd(n,(function(e){u[e]=t[e]})),Hd(n,(function(t){s(e,t)&&(o[t]=u[t]=e[t]),l(o,t)&&a++,l(u,t)&&c++})),r[i])return l(e,n[1])?u[n[2]]=null:l(e,n[2])&&(u[n[1]]=null),u;if(2!==c&&a){if(a>=2)return o;for(var d=0;d=0;a--)o=hn.I(o,n[a],!0);e.defaultOption=o}return e.defaultOption},e.prototype.getReferringComponents=function(t,e){var n=t+"Index",r=t+"Id";return Ra(this.ecModel,t,{index:this.get(n,!0),id:this.get(r,!0)},e)},e.prototype.getBoxLayoutParams=function(){var t=this;return{left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")}},e.prototype.getZLevelKey=function(){return""},e.prototype.setZLevel=function(t){this.option.zlevel=t},e.protoInitialize=function(){var t=e.prototype;t.type="component",t.id="",t.name="",t.mainType="",t.subType="",t.componentIndex=0}(),e}(Hc);Ga(th,Hc),Za(th),function(t){var e={};t.registerSubTypeDefaulter=function(t,n){var r=Wa(t);e[r.main]=n},t.determineSubType=function(n,r){var i=r.type;if(!i){var o=Wa(n).main;t.hasSubTypes(n)&&e[o]&&(i=e[o](r))}return i}}(th),function(t,e){function n(t){var n={},i=[];return hn.k(t,(function(o){var a=r(n,o),s=function(t,e){var n=[];return hn.k(t,(function(t){hn.r(e,t)>=0&&n.push(t)})),n}(a.originalDeps=e(o),t);a.entryCount=s.length,0===a.entryCount&&i.push(o),hn.k(s,(function(t){hn.r(a.predecessor,t)<0&&a.predecessor.push(t);var e=r(n,t);hn.r(e.successor,t)<0&&e.successor.push(o)}))})),{graph:n,noEntryList:i}}function r(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}t.topologicalTravel=function(t,e,r,i){if(t.length){var o=n(e),a=o.graph,s=o.noEntryList,l={};for(hn.k(t,(function(t){l[t]=!0}));s.length;){var u=s.pop(),c=a[u],d=!!l[u];d&&(r.call(i,u,c.originalDeps.slice()),delete l[u]),hn.k(c.successor,d?f:h)}hn.k(l,(function(){throw new Error("")}))}function h(t){a[t].entryCount--,0===a[t].entryCount&&s.push(t)}function f(t){l[t]=!0,h(t)}}}(th,(function(t){var e=[];return hn.k(th.getClassesByMainType(t),(function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])})),e=hn.H(e,(function(t){return Wa(t).main})),"dataset"!==t&&hn.r(e,"dataset")<=0&&e.unshift("dataset"),e}));var eh=th,nh="";"undefined"!=typeof navigator&&(nh=navigator.platform||"");var rh="rgba(0, 0, 0, 0.2)",ih={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:rh,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:rh,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:rh,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:rh,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:rh,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:rh,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:nh.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},oh=Object(hn.f)(["tooltip","label","itemName","itemId","itemGroupId","seriesName"]),ah="original",sh="arrayRows",lh="objectRows",uh="keyedColumns",ch="typedArray",dh="unknown",hh="column",fh="row",ph=1,gh=2,vh=3,yh=ka();function mh(t,e,n){var r={},i=_h(e);if(!i||!t)return r;var o,a,s=[],l=[],u=e.ecModel,c=yh(u).datasetMap,d=i.uid+"_"+n.seriesLayoutBy;t=t.slice(),Object(hn.k)(t,(function(e,n){var i=Object(hn.A)(e)?e:t[n]={name:e};"ordinal"===i.type&&null==o&&(o=n,a=p(i)),r[i.name]=[]}));var h=c.get(d)||c.set(d,{categoryWayDim:a,valueWayDim:0});function f(t,e,n){for(var r=0;re)return t[r];return t[n-1]}(r,a):n;if((c=c||n)&&c.length){var d=c[l];return i&&(u[i]=d),s.paletteIdx=(l+1)%c.length,d}}function jh(t){throw new Error(t)}"undefined"!=typeof console&&console.warn&&console.log;var Eh="\0_ec_inner",Lh=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return cn(e,t),e.prototype.init=function(t,e,n,r,i,o){r=r||{},this.option=null,this._theme=new Hc(r),this._locale=new Hc(i),this._optionManager=o},e.prototype.setOption=function(t,e,n){var r=Rh(e);this._optionManager.setOption(t,n,r),this._resetOption(null,r)},e.prototype.resetOption=function(t,e){return this._resetOption(t,Rh(e))},e.prototype._resetOption=function(t,e){var n=!1,r=this._optionManager;if(!t||"recreate"===t){var i=r.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(i,e)):Ch(this,i),n=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var o=r.getTimelineOption(this);o&&(n=!0,this._mergeOption(o,e))}if(!t||"recreate"===t||"media"===t){var a=r.getMediaOption(this);a.length&&Object(hn.k)(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,r=this._componentsMap,i=this._componentsCount,o=[],a=Object(hn.f)(),s=e&&e.replaceMergeMainTypeMap;(function(t){yh(t).datasetMap=Object(hn.f)()})(this),Object(hn.k)(t,(function(t,e){null!=t&&(eh.hasClass(e)?e&&(o.push(e),a.set(e,!0)):n[e]=null==n[e]?Object(hn.d)(t):Object(hn.I)(n[e],t,!0))})),s&&s.each((function(t,e){eh.hasClass(e)&&!a.get(e)&&(o.push(e),a.set(e,!0))})),eh.topologicalTravel(o,eh.getAllClassMainTypes(),(function(e){var o=function(t,e,n){var r=Sh.get(e);if(!r)return n;var i=r(t);return i?n.concat(i):n}(this,e,ba(t[e])),a=r.get(e),l=Ma(a,o,a?s&&s.get(e)?"replaceMerge":"normalMerge":"replaceAll");(function(t,e,n){Object(hn.k)(t,(function(t){var r=t.newOption;Object(hn.A)(r)&&(t.keyInfo.mainType=e,t.keyInfo.subType=function(t,e,n,r){return e.type?e.type:n?n.subType:r.determineSubType(t,e)}(e,r,t.existing,n))}))})(l,e,eh),n[e]=null,r.set(e,null),i.set(e,0);var u,c=[],d=[],h=0;Object(hn.k)(l,(function(t,n){var r=t.existing,i=t.newOption;if(i){var o="series"===e,a=eh.getClass(e,t.keyInfo.subType,!o);if(!a)return;if("tooltip"===e){if(u)return;u=!0}if(r&&r.constructor===a)r.name=t.keyInfo.name,r.mergeOption(i,this),r.optionUpdated(i,!1);else{var s=Object(hn.m)({componentIndex:n},t.keyInfo);r=new a(i,this,this,s),Object(hn.m)(r,s),t.brandNew&&(r.__requireNewView=!0),r.init(i,this,this),r.optionUpdated(null,!0)}}else r&&(r.mergeOption({},this),r.optionUpdated({},!1));r?(c.push(r.option),d.push(r),h++):(c.push(void 0),d.push(void 0))}),this),n[e]=c,r.set(e,d),i.set(e,h),"series"===e&&Mh(this)}),this),this._seriesIndices||Mh(this)},e.prototype.getOption=function(){var t=Object(hn.d)(this.option);return Object(hn.k)(t,(function(e,n){if(eh.hasClass(n)){for(var r=ba(e),i=r.length,o=!1,a=i-1;a>=0;a--)r[a]&&!Aa(r[a])?o=!0:(r[a]=null,!o&&i--);r.length=i,t[n]=r}})),delete t[Eh],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 r=n[e||0];if(r)return r;if(null==e)for(var i=0;i=e:"max"===n?t<=e:t===e})(r[a],t,o)||(i=!1)}})),i}var Xh=Yh,Zh=hn.k,qh=hn.A,Qh=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function Jh(t){var e=t&&t.itemStyle;if(e)for(var n=0,r=Qh.length;n=0;p--){var g=t[p];if(s||(d=g.data.rawIndexOf(g.stackedByDimension,c)),d>=0){var v=g.data.getByRawIndex(g.stackResultDimension,d);if(h>=0&&v>0||h<=0&&v<0){h=ea(h,v),f=v;break}}}return r[0]=h,r[1]=f,r}))}))}var yf,mf,bf,_f,xf,wf=function(t){this.data=t.data||(t.sourceFormat===uh?{}:[]),this.sourceFormat=t.sourceFormat||dh,this.seriesLayoutBy=t.seriesLayoutBy||hh,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;nu&&(u=f)}s[0]=l,s[1]=u}},r=function(){return this._data?this._data.length/this._dimSize:0};function i(t){for(var e=0;e=0&&(s=o.interpolatedValue[l])}return null!=s?s+"":""})):void 0},t.prototype.getRawValue=function(t,e){return Hf(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();function Gf(t){var e,n;return hn.A(t)?t.type&&(n=t):e=t,{text:e,frag:n}}function Yf(t){return new $f(t)}var $f=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,r=t&&t.skip;if(this._dirty&&n){var i=this.context;i.data=i.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!r&&(e=this._plan(this.context));var o,a=c(this._modBy),s=this._modDataCount||0,l=c(t&&t.modBy),u=t&&t.modDataCount||0;function c(t){return!(t>=1)&&(t=1),t}a===l&&s===u||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,o=this._doReset(r)),this._modBy=l,this._modDataCount=u;var d=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var h=this._dueIndex,f=Math.min(null!=d?this._dueIndex+d:1/0,this._dueEnd);if(!r&&(o||h1&&r>0?s:a}};return o;function a(){return e=t?null:oe},gte:function(t,e){return t>=e}},Kf=function(){function t(t,e){if(!Object(hn.z)(e)){jh("")}this._opFn=Jf[t],this._rvalFloat=da(e)}return t.prototype.evaluate=function(t){return Object(hn.z)(t)?this._opFn(t,this._rvalFloat):this._opFn(da(t),this._rvalFloat)},t}(),tp=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(hn.z)(t)?t:da(t),r=Object(hn.z)(e)?e:da(e),i=isNaN(n),o=isNaN(r);if(i&&(n=this._incomparable),o&&(r=this._incomparable),i&&o){var a=Object(hn.C)(t),s=Object(hn.C)(e);a&&(n=s?t:0),s&&(r=a?e:0)}return nr?-this._resultLT:0},t}(),ep=function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=da(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=da(t)===this._rvalFloat)}return this._isEQ?e:!e},t}();function np(t,e){return"eq"===t||"ne"===t?new ep("eq"===t,e):Object(hn.q)(Jf,t)?new Kf(t,e):null}var rp=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 Zf(t,e)},t}();function ip(t){if(!cp(t.sourceFormat)){jh("")}return t.data}function op(t){var e=t.sourceFormat,n=t.data;if(!cp(e)){jh("")}if(e===sh){for(var r=[],i=0,o=n.length;i65535?fp:pp}function bp(t){var e=t.constructor;return e===Array?t.slice():new e(t)}function _p(t,e,n,r,i){var o=yp[n||"float"];if(i){var a=t[e],s=a&&a.length;if(s!==r){for(var l=new o(r),u=0;ug[1]&&(g[1]=p)}return this._rawCount=this._count=s,{start:a,end:s}},t.prototype._initDataFromProvider=function(t,e,n){for(var r=this._provider,i=this._chunks,o=this._dimensions,a=o.length,s=this._rawExtent,l=Object(hn.H)(o,(function(t){return t.property})),u=0;uv[1]&&(v[1]=g)}}!r.persistent&&r.clean&&r.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=0&&e=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&nt))return o;i=o-1}}return-1},t.prototype.indicesOfNearest=function(t,e,n){var r=this._chunks[t],i=[];if(!r)return i;null==n&&(n=1/0);for(var o=1/0,a=-1,s=0,l=0,u=this.count();l=0&&a<0)&&(o=d,a=c,s=0),c===a&&(i[s++]=l))}return i.length=s,i},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,r=this._count;if(n===Array){t=new n(r);for(var i=0;i=u&&v<=c||isNaN(v))&&(a[s++]=f),f++}h=!0}else if(2===i){p=d[r[0]];var y=d[r[1]],m=t[r[1]][0],b=t[r[1]][1];for(g=0;g=u&&v<=c||isNaN(v))&&(_>=m&&_<=b||isNaN(_))&&(a[s++]=f),f++}h=!0}}if(!h)if(1===i)for(g=0;g=u&&v<=c||isNaN(v))&&(a[s++]=x)}else for(g=0;gt[M][1])&&(w=!1)}w&&(a[s++]=e.getRawIndex(g))}return sv[1]&&(v[1]=g)}}},t.prototype.lttbDownSample=function(t,e){var n,r,i,o=this.clone([t],!0),a=o._chunks[t],s=this.count(),l=0,u=Math.floor(1/e),c=this.getRawIndex(0),d=new(mp(this._rawCount))(Math.min(2*(Math.ceil(s/u)+2),s));d[l++]=c;for(var h=1;hn&&(n=r,i=m);O>0&&Ou-f&&(s=u-f,a.length=s);for(var p=0;pc[1]&&(c[1]=v),d[h++]=y}return i._count=h,i._indices=d,i._updateGetRawIdx(),i},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,r=this._chunks,i=0,o=this.count();ia&&(a=l)}return r=[o,a],this._extent[t]=r,r},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],r=this._chunks,i=0;i=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,r){return Zf(t[r],this._dimensions[r])}dp={arrayRows:t,objectRows:function(t,e,n,r){return Zf(t[e],this._dimensions[r])},keyedColumns:t,original:function(t,e,n,r){var i=t&&(null==t.value?t:t.value);return Zf(i instanceof Array?i[r]:i,this._dimensions[r])},typedArray:function(t,e,n,r){return t[r]}}}(),t}(),wp=xp,Sp=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,r=this._getUpstreamSourceManagers(),i=!!r.length;if(Op(n)){var o=n,a=void 0,s=void 0,l=void 0;if(i){var u=r[0];u.prepareSource(),a=(l=u.getSource()).data,s=l.sourceFormat,e=[u._getVersionSign()]}else a=o.get("data",!0),s=Object(hn.E)(a)?ch:ah,e=[];var c=this._getSourceMetaRawOption()||{},d=l&&l.metaRawOption||{},h=Object(hn.P)(c.seriesLayoutBy,d.seriesLayoutBy)||null,f=Object(hn.P)(c.sourceHeader,d.sourceHeader),p=Object(hn.P)(c.dimensions,d.dimensions);t=h!==d.seriesLayoutBy||!!f!=!!d.sourceHeader||p?[Mf(a,{seriesLayoutBy:h,sourceHeader:f,dimensions:p},s)]:[]}else{var g=n;if(i){var v=this._applyTransform(r);t=v.sourceList,e=v.upstreamSignList}else{t=[Mf(g.get("source",!0),this._getSourceMetaRawOption(),null)],e=[]}}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,r=n.get("transform",!0),i=n.get("fromTransformResult",!0);if(null!=i){1!==t.length&&Cp("")}var o=[],a=[];return Object(hn.k)(t,(function(t){t.prepareSource();var e=t.getSource(i||0);null==i||e||Cp(""),o.push(e),a.push(t._getVersionSign())})),r?e=function(t,e,n){var r=ba(t),i=r.length;i||jh("");for(var o=0,a=i;o1||n>0&&!t.noHeader;return Object(hn.k)(t.blocks,(function(t){var n=Lp(t);n>=e&&(e=n+ +(r&&(!n||jp(t)&&!t.noHeader)))})),e}return 0}function Np(t,e,n,r){var i=e.noHeader,o=function(t){return{html:Ap[t],richText:Dp[t]}}(Lp(e)),a=[],s=e.blocks||[];Object(hn.b)(!s||Object(hn.t)(s)),s=s||[];var l=t.orderMode;if(e.sortBlocks&&l){s=s.slice();var u={valueAsc:"asc",valueDesc:"desc"};if(Object(hn.q)(u,l)){var c=new tp(u[l],null);s.sort((function(t,e){return c.evaluate(t.sortParam,e.sortParam)}))}else"seriesDesc"===l&&s.reverse()}Object(hn.k)(s,(function(n,i){var s=e.valueFormatter,l=Ep(n)(s?Object(hn.m)(Object(hn.m)({},t),{valueFormatter:s}):t,n,i>0?o.html:0,r);null!=l&&a.push(l)}));var d="richText"===t.renderMode?a.join(o.richText):zp(a.join(""),i?n:o.html);if(i)return d;var h=Pd(e.header,"ordinal",t.useUTC),f=Tp(r,t.renderMode).nameStyle;return"richText"===t.renderMode?Vp(t,h,f)+o.richText+d:zp('
'+Nd(h)+"
"+d,n)}function Pp(t,e,n,r){var i=t.renderMode,o=e.noName,a=e.noValue,s=!e.markerType,l=e.name,u=t.useUTC,c=e.valueFormatter||t.valueFormatter||function(t){return t=Object(hn.t)(t)?t:[t],Object(hn.H)(t,(function(t,e){return Pd(t,Object(hn.t)(f)?f[e]:f,u)}))};if(!o||!a){var d=s?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",i),h=o?"":Pd(l,"ordinal",u),f=e.valueType,p=a?[]:c(e.value),g=!s||!o,v=!s&&o,y=Tp(r,i),m=y.nameStyle,b=y.valueStyle;return"richText"===i?(s?"":d)+(o?"":Vp(t,h,m))+(a?"":function(t,e,n,r,i){var o=[i],a=r?10:20;return n&&o.push({padding:[0,0,0,a],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(Object(hn.t)(e)?e.join(" "):e,o)}(t,p,g,v,b)):zp((s?"":d)+(o?"":function(t,e,n){return''+Nd(t)+""}(h,!s,m))+(a?"":function(t,e,n,r){var i=n?"10px":"20px",o=e?"float:right;margin-left:"+i:"";return t=Object(hn.t)(t)?t:[t],''+Object(hn.H)(t,(function(t){return Nd(t)})).join("  ")+""}(p,g,v,b)),n)}}function Rp(t,e,n,r,i,o){if(t)return Ep(t)({useUTC:i,renderMode:n,orderMode:r,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,o)}function zp(t,e){return'
'+t+'
'}function Vp(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function Bp(t,e){return Bd(t.getData().getItemVisual(e,"style")[t.visualDrawType])}function Fp(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var Hp=function(){function t(){this.richTextStyles={},this._nextStyleNameId=fa()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var r="richText"===n?this._generateStyleName():null,i=function(t,e){var n=hn.C(t)?{color:t,extraCssText:e}:t||{},r=n.color,i=n.type;e=n.extraCssText;var o=n.renderMode||"html";return r?"html"===o?"subItem"===i?'':'':{renderMode:o,content:"{"+(n.markerId||"markerX")+"|} ",style:"subItem"===i?{width:4,height:4,borderRadius:2,backgroundColor:r}:{width:10,height:10,borderRadius:5,backgroundColor:r}}:""}({color:e,type:t,renderMode:n,markerId:r});return Object(hn.C)(i)?i:(this.richTextStyles[r]=i.style,i.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};Object(hn.t)(e)?Object(hn.k)(e,(function(t){return Object(hn.m)(n,t)})):Object(hn.m)(n,e);var r=this._generateStyleName();return this.richTextStyles[r]=n,"{"+r+"|"+t+"}"},t}();function Wp(t){var e,n,r,i,o=t.series,a=t.dataIndex,s=t.multipleSeries,l=o.getData(),u=l.mapDimensionsAll("defaultedTooltip"),c=u.length,d=o.getRawValue(a),h=Object(hn.t)(d),f=Bp(o,a);if(c>1||h&&!c){var p=function(t,e,n,r,i){var o=e.getData(),a=Object(hn.N)(t,(function(t,e,n){var r=o.getDimensionInfo(n);return t||r&&!1!==r.tooltip&&null!=r.displayName}),!1),s=[],l=[],u=[];function c(t,e){var n=o.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(a?u.push(kp("nameValue",{markerType:"subItem",markerColor:i,name:n.displayName,value:t,valueType:n.type})):(s.push(t),l.push(n.type)))}return r.length?Object(hn.k)(r,(function(t){c(Hf(o,n,t),t)})):Object(hn.k)(t,c),{inlineValues:s,inlineValueTypes:l,blocks:u}}(d,o,a,u,f);e=p.inlineValues,n=p.inlineValueTypes,r=p.blocks,i=p.inlineValues[0]}else if(c){var g=l.getDimensionInfo(u[0]);i=e=Hf(l,a,u[0]),n=g.type}else i=e=h?d[0]:d;var v=Ta(o),y=v&&o.name||"",m=l.getName(a),b=s?y:m;return kp("section",{header:y,noHeader:s||!v,sortParam:i,blocks:[kp("nameValue",{markerType:"item",markerColor:f,name:b,noName:!Object(hn.T)(b),value:e,valueType:n})].concat(r||[])})}var Up=ka();function Gp(t,e){return t.getName(e)||t.getId(e)}var Yp="__universalTransitionEnabled",$p=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return cn(e,t),e.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=Yf({count:Zp,reset:qp}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),(Up(this).sourceManager=new Sp(this)).prepareSource();var r=this.getInitialData(t,n);Jp(r,this),this.dataTask.context.data=r,Up(this).dataBeforeProcessed=r,Xp(this),this._initSelectedMapFromData(r)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=Zd(this),r=n?Qd(t):{},i=this.subType;eh.hasClass(i)&&(i+="Series"),hn.I(t,e.getTheme().get(this.subType)),hn.I(t,this.getDefaultOption()),_a(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&qd(t,r,n)},e.prototype.mergeOption=function(t,e){t=hn.I(this.option,t,!0),this.fillDataTextStyle(t.data);var n=Zd(this);n&&qd(this.option,t,n);var r=Up(this).sourceManager;r.dirty(),r.prepareSource();var i=this.getInitialData(t,e);Jp(i,this),this.dataTask.dirty(),this.dataTask.context.data=i,Up(this).dataBeforeProcessed=i,Xp(this),this._initSelectedMapFromData(i)},e.prototype.fillDataTextStyle=function(t){if(t&&!hn.E(t))for(var e=["show"],n=0;nthis.getShallow("animationThreshold")&&(e=!1),!!e},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(t,e,n){var r=this.ecModel,i=Ah.prototype.getColorFromPalette.call(this,t,e,n);return i||(i=r.getColorFromPalette(t,e,n)),i},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 r=this.option.selectedMode,i=this.getData(e);if("series"===r||"all"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var o=0;o=0&&n.push(i)}return n},e.prototype.isSelected=function(t,e){var n=this.option.selectedMap;if(!n)return!1;var r=this.getData(e);return("all"===n||n[Gp(r,t)])&&!r.getItemModel(t).get(["select","disabled"])},e.prototype.isUniversalTransitionEnabled=function(){if(this[Yp])return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},e.prototype._innerSelect=function(t,e){var n,r,i=this.option,o=i.selectedMode,a=e.length;if(o&&a)if("series"===o)i.selectedMap="all";else if("multiple"===o){hn.A(i.selectedMap)||(i.selectedMap={});for(var s=i.selectedMap,l=0;l0&&this._innerSelect(t,e)}},e.registerClass=function(t){return eh.registerClass(t)},e.protoInitialize=function(){var t=e.prototype;t.type="series.__base__",t.seriesIndex=0,t.ignoreStyleOnData=!1,t.hasSymbolVisual=!1,t.defaultSymbol="circle",t.visualStyleAccessPath="itemStyle",t.visualDrawType="fill"}(),e}(eh);function Xp(t){var e=t.name;Ta(t)||(t.name=function(t){var e=t.getRawData(),n=e.mapDimensionsAll("seriesName"),r=[];return hn.k(n,(function(t){var n=e.getDimensionInfo(t);n.displayName&&r.push(n.displayName)})),r.join(" ")}(t)||e)}function Zp(t){return t.model.getRawData().count()}function qp(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),Qp}function Qp(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function Jp(t,e){hn.k(hn.e(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),(function(n){t.wrapMethod(n,hn.h(Kp,e))}))}function Kp(t,e){var n=tg(t);return n&&n.setOutputEnd((e||this).count()),e}function tg(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var r=n.currentTask;if(r){var i=r.agentStubMap;i&&(r=i.get(t.uid))}return r}}hn.K($p,Uf),hn.K($p,Ah),Ga($p,eh);var eg=$p,ng=function(){function t(){this.group=new Wo,this.uid=Uc("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,r){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,r){},t.prototype.updateLayout=function(t,e,n,r){},t.prototype.updateVisual=function(t,e,n,r){},t.prototype.toggleBlurSeries=function(t,e,n){},t.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},t}();Ua(ng),Za(ng);var rg=ng;function ig(){var t=ka();return function(e){var n=t(e),r=e.pipelineContext,i=!!n.large,o=!!n.progressiveRender,a=n.large=!(!r||!r.large),s=n.progressiveRender=!(!r||!r.progressiveRender);return!(i===a&&o===s)&&"reset"}}var og=ol.CMD,ag=[[],[],[]],sg=Math.sqrt,lg=Math.atan2;function ug(t,e){if(e){var n,r,i,o,a,s,l=t.data,u=t.len(),c=og.M,d=og.C,h=og.L,f=og.R,p=og.A,g=og.Q;for(i=0,o=0;i1&&(a*=cg(p),s*=cg(p));var g=(i===o?-1:1)*cg((a*a*(s*s)-a*a*(f*f)-s*s*(h*h))/(a*a*(f*f)+s*s*(h*h)))||0,v=g*a*f/s,y=g*-s*h/a,m=(t+n)/2+hg(d)*v-dg(d)*y,b=(e+r)/2+dg(d)*v+hg(d)*y,_=vg([1,0],[(h-v)/a,(f-y)/s]),x=[(h-v)/a,(f-y)/s],w=[(-1*h-v)/a,(-1*f-y)/s],S=vg(x,w);if(gg(x,w)<=-1&&(S=fg),gg(x,w)>=1&&(S=0),S<0){var M=Math.round(S/fg*1e6)/1e6;S=2*fg+M%2*fg}c.addData(u,m,b,a,s,_,S,d,o)}var mg=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,bg=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;var _g=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return pn(e,t),e.prototype.applyTransform=function(t){},e}(Il);function xg(t){return null!=t.setData}function wg(t,e){var n=function(t){var e=new ol;if(!t)return e;var n,r=0,i=0,o=r,a=i,s=ol.CMD,l=t.match(mg);if(!l)return e;for(var u=0;uD*D+k*k&&(M=C,O=I),{cx:M,cy:O,x0:-c,y0:-d,x1:M*(i/x-1),y1:O*(i/x-1)}}function Wg(t,e){var n,r=Vg(e.r,0),i=Vg(e.r0||0,0),o=r>0;if(o||i>0){if(o||(r=i,i=0),i>r){var a=r;r=i,i=a}var s=e.startAngle,l=e.endAngle;if(!isNaN(s)&&!isNaN(l)){var u=e.cx,c=e.cy,d=!!e.clockwise,h=Rg(l-s),f=h>jg&&h%jg;if(f>Fg&&(h=f),r>Fg)if(h>jg-Fg)t.moveTo(u+r*Lg(s),c+r*Eg(s)),t.arc(u,c,r,s,l,!d),i>Fg&&(t.moveTo(u+i*Lg(l),c+i*Eg(l)),t.arc(u,c,i,l,s,d));else{var p=void 0,g=void 0,v=void 0,y=void 0,m=void 0,b=void 0,_=void 0,x=void 0,w=void 0,S=void 0,M=void 0,O=void 0,C=void 0,I=void 0,T=void 0,A=void 0,D=r*Lg(s),k=r*Eg(s),j=i*Lg(l),E=i*Eg(l),L=h>Fg;if(L){var N=e.cornerRadius;N&&(n=function(t){var e;if(Object(hn.t)(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}(N),p=n[0],g=n[1],v=n[2],y=n[3]);var P=Rg(r-i)/2;if(m=Bg(P,v),b=Bg(P,y),_=Bg(P,p),x=Bg(P,g),M=w=Vg(m,b),O=S=Vg(_,x),(w>Fg||S>Fg)&&(C=r*Lg(l),I=r*Eg(l),T=i*Lg(s),A=i*Eg(s),hFg){var U=Bg(v,M),G=Bg(y,M),Y=Hg(T,A,D,k,r,U,d),$=Hg(C,I,j,E,r,G,d);t.moveTo(u+Y.cx+Y.x0,c+Y.cy+Y.y0),M0&&t.arc(u+Y.cx,c+Y.cy,U,Pg(Y.y0,Y.x0),Pg(Y.y1,Y.x1),!d),t.arc(u,c,r,Pg(Y.cy+Y.y1,Y.cx+Y.x1),Pg($.cy+$.y1,$.cx+$.x1),!d),G>0&&t.arc(u+$.cx,c+$.cy,G,Pg($.y1,$.x1),Pg($.y0,$.x0),!d))}else t.moveTo(u+D,c+k),t.arc(u,c,r,s,l,!d);else t.moveTo(u+D,c+k);i>Fg&&L?O>Fg?(U=Bg(p,O),Y=Hg(j,E,C,I,i,-(G=Bg(g,O)),d),$=Hg(D,k,T,A,i,-U,d),t.lineTo(u+Y.cx+Y.x0,c+Y.cy+Y.y0),O0&&t.arc(u+Y.cx,c+Y.cy,G,Pg(Y.y0,Y.x0),Pg(Y.y1,Y.x1),!d),t.arc(u,c,i,Pg(Y.cy+Y.y1,Y.cx+Y.x1),Pg($.cy+$.y1,$.cx+$.x1),d),U>0&&t.arc(u+$.cx,c+$.cy,U,Pg($.y1,$.x1),Pg($.y0,$.x0),!d))):(t.lineTo(u+j,c+E),t.arc(u,c,i,l,s,d)):t.lineTo(u+j,c+E)}else t.moveTo(u,c);t.closePath()}}}var Ug=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},Gg=function(t){function e(e){return t.call(this,e)||this}return pn(e,t),e.prototype.getDefaultShape=function(){return new Ug},e.prototype.buildPath=function(t,e){Wg(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(Il);Gg.prototype.type="sector";var Yg=Gg,$g=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},Xg=function(t){function e(e){return t.call(this,e)||this}return pn(e,t),e.prototype.getDefaultShape=function(){return new $g},e.prototype.buildPath=function(t,e){var n=e.cx,r=e.cy,i=2*Math.PI;t.moveTo(n+e.r,r),t.arc(n,r,e.r,0,i,!1),t.moveTo(n+e.r0,r),t.arc(n,r,e.r0,0,i,!0)},e}(Il);Xg.prototype.type="ring";var Zg=Xg;function qg(t,e,n){var r=e.smooth,i=e.points;if(i&&i.length>=2){if(r){var o=function(t,e,n,r){var i,o,a,s,l=[],u=[],c=[],d=[];if(r){a=[1/0,1/0],s=[-1/0,-1/0];for(var h=0,f=t.length;hMv[1]){if(a=!1,i)return a;var u=Math.abs(Mv[0]-Sv[1]),c=Math.abs(Sv[0]-Mv[1]);Math.min(u,c)>r.len()&&(uMath.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function Qv(t){return!t.isGroup}function Jv(t,e,n){if(t&&e){var r=function(t){var e={};return t.traverse((function(t){Qv(t)&&t.anid&&(e[t.anid]=t)})),e}(t);e.traverse((function(t){if(Qv(t)&&t.anid){var e=r[t.anid];if(e){var o=i(t);t.attr(i(e)),lc(t,o,n,ou(t).dataIndex)}}}))}function i(t){var e={x:t.x,y:t.y,rotation:t.rotation};return function(t){return null!=t.shape}(t)&&(e.shape=Object(hn.m)({},t.shape)),e}}function Kv(t,e){return Object(hn.H)(t,(function(t){var n=t[0];n=jv(n,e.x),n=Ev(n,e.x+e.width);var r=t[1];return r=jv(r,e.y),[n,r=Ev(r,e.y+e.height)]}))}function ty(t,e){var n=jv(t.x,e.x),r=Ev(t.x+t.width,e.x+e.width),i=jv(t.y,e.y),o=Ev(t.y+t.height,e.y+e.height);if(r>=n&&o>=i)return{x:n,y:i,width:r-n,height:o-i}}function ey(t,e,n){var r=Object(hn.m)({rectHover:!0},e),i=r.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(i.image=t.slice(8),Object(hn.i)(i,n),new Ll(r)):Bv(t.replace("path://",""),r,n,"center")}function ny(t,e,n,r,i){for(var o=0,a=i[i.length-1];o=-1e-6}(h))return!1;var f=t-i,p=e-o,g=iy(f,p,l,u)/h;if(g<0||g>1)return!1;var v=iy(f,p,c,d)/h;return!(v<0||v>1)}function iy(t,e,n,r){return t*r-n*e}function oy(t){var e=t.itemTooltipOption,n=t.componentModel,r=t.itemName,i=Object(hn.C)(e)?{formatter:e}:e,o=n.mainType,a=n.componentIndex,s={componentType:o,name:r,$vars:["name"]};s[o+"Index"]=a;var l=t.formatterParamsExtra;l&&Object(hn.k)(Object(hn.F)(l),(function(t){Object(hn.q)(s,t)||(s[t]=l[t],s.$vars.push(t))}));var u=ou(t.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:r,option:Object(hn.i)({content:r,formatterParams:s},i)}}function ay(t,e){var n;t.isGroup&&(n=e(t)),n||t.traverse(e)}function sy(t,e){if(t)if(Object(hn.t)(t))for(var n=0;n=0?d():c=setTimeout(d,-i),l=r};return h.clear=function(){c&&(clearTimeout(c),c=null)},h.debounceNextCall=function(t){s=t},h}function xy(t,e,n,r){var i=t[e];if(i){var o=i[yy]||i,a=i[by];if(i[my]!==n||a!==r){if(null==n||!r)return t[e]=o;(i=t[e]=_y(o,n,"debounce"===r))[yy]=o,i[by]=r,i[my]=n}return i}}function wy(t,e){var n=t[e];n&&n[yy]&&(n.clear&&n.clear(),t[e]=n[yy])}var Sy=ka(),My={itemStyle:qa(zc,!0),lineStyle:qa(Nc,!0)},Oy={lineStyle:"stroke",itemStyle:"fill"};function Cy(t,e){return t.visualStyleMapper||My[e]||My.itemStyle}function Iy(t,e){return t.visualDrawType||Oy[e]||"fill"}var Ty={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),r=t.visualStyleAccessPath||"itemStyle",i=t.getModel(r),o=Cy(t,r)(i),a=i.getShallow("decal");a&&(n.setVisual("decal",a),a.dirty=!0);var s=Iy(t,r),l=o[s],u=Object(hn.w)(l)?l:null,c="auto"===o.fill||"auto"===o.stroke;if(!o[s]||u||c){var d=t.getColorFromPalette(t.name,null,e.getSeriesCount());o[s]||(o[s]=d,n.setVisual("colorFromPalette",!0)),o.fill="auto"===o.fill||Object(hn.w)(o.fill)?d:o.fill,o.stroke="auto"===o.stroke||Object(hn.w)(o.stroke)?d:o.stroke}if(n.setVisual("style",o),n.setVisual("drawType",s),!e.isSeriesFiltered(t)&&u)return n.setVisual("colorFromPalette",!1),{dataEach:function(e,n){var r=t.getDataParams(n),i=Object(hn.m)({},o);i[s]=u(r),e.setItemVisual(n,"style",i)}}}},Ay=new Hc,Dy={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!t.ignoreStyleOnData&&!e.isSeriesFiltered(t)){var n=t.getData(),r=t.visualStyleAccessPath||"itemStyle",i=Cy(t,r),o=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[r]){Ay.option=n[r];var a=i(Ay),s=t.ensureUniqueItemVisual(e,"style");Object(hn.m)(s,a),Ay.option.decal&&(t.setItemVisual(e,"decal",Ay.option.decal),Ay.option.decal.dirty=!0),o in a&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}},ky={performRawSeries:!0,overallReset:function(t){var e=Object(hn.f)();t.eachSeries((function(t){var n=t.getColorBy();if(!t.isColorBySeries()){var r=t.type+"-"+n,i=e.get(r);i||(i={},e.set(r,i)),Sy(t).scope=i}})),t.eachSeries((function(e){if(!e.isColorBySeries()&&!t.isSeriesFiltered(e)){var n=e.getRawData(),r={},i=e.getData(),o=Sy(e).scope,a=e.visualStyleAccessPath||"itemStyle",s=Iy(e,a);i.each((function(t){var e=i.getRawIndex(t);r[e]=t})),n.each((function(t){var a=r[t];if(i.getItemVisual(a,"colorFromPalette")){var l=i.ensureUniqueItemVisual(a,"style"),u=n.getName(t)||t+"",c=n.count();l[s]=e.getColorFromPalette(u,o,c)}}))}}))}},jy=Math.PI;var Ey=function(){function t(t,e,n,r){this._stageTaskMap=Object(hn.f)(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),r=this._visualHandlers=r.slice(),this._allHandlers=n.concat(r)}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),r=n.context,i=!e&&n.progressiveEnabled&&(!r||r.progressiveRender)&&t.__idxInPipeline>n.blockIndex?n.step:null,o=r&&r.modDataCount;return{step:i,modBy:null!=o?Math.ceil(o/i):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),r=t.getData().count(),i=n.progressiveEnabled&&e.incrementalPrepareRender&&r>=n.threshold,o=t.get("large")&&r>=t.get("largeThreshold"),a="mod"===t.get("progressiveChunkMode")?r:null;t.pipelineContext=n.context={progressiveRender:i,modDataCount:a,large:o}},t.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=Object(hn.f)();t.eachSeries((function(t){var r=t.getProgressive(),i=t.uid;n.set(i,{id:i,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:r&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(r||700),count:0}),e._pipe(t,t.dataTask)}))},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;Object(hn.k)(this._allHandlers,(function(r){var i=t.get(r.uid)||t.set(r.uid,{});Object(hn.b)(!(r.reset&&r.overallReset),""),r.reset&&this._createSeriesStageTask(r,i,e,n),r.overallReset&&this._createOverallStageTask(r,i,e,n)}),this)},t.prototype.prepareView=function(t,e,n,r){var i=t.renderTask,o=i.context;o.model=e,o.ecModel=n,o.api=r,i.__block=!t.incrementalPrepareRender,this._pipe(e,i)},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,r){r=r||{};var i=!1,o=this;function a(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}Object(hn.k)(t,(function(t,s){if(!r.visualType||r.visualType===t.visualType){var l=o._stageTaskMap.get(t.uid),u=l.seriesTaskMap,c=l.overallTask;if(c){var d,h=c.agentStubMap;h.each((function(t){a(r,t)&&(t.dirty(),d=!0)})),d&&c.dirty(),o.updatePayload(c,n);var f=o.getPerformArgs(c,r.block);h.each((function(t){t.perform(f)})),c.perform(f)&&(i=!0)}else u&&u.each((function(s,l){a(r,s)&&s.dirty();var u=o.getPerformArgs(s,r.block);u.skip=!t.performRawSeries&&e.isSeriesFiltered(s.context.model),o.updatePayload(s,n),s.perform(u)&&(i=!0)}))}})),this.unfinished=i||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,r){var i=this,o=e.seriesTaskMap,a=e.seriesTaskMap=Object(hn.f)(),s=t.seriesType,l=t.getTargetSeries;function u(e){var s=e.uid,l=a.set(s,o&&o.get(s)||Yf({plan:zy,reset:Vy,count:Hy}));l.context={model:e,ecModel:n,api:r,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:i},i._pipe(e,l)}t.createOnAllSeries?n.eachRawSeries(u):s?n.eachRawSeriesByType(s,u):l&&l(n,r).each(u)},t.prototype._createOverallStageTask=function(t,e,n,r){var i=this,o=e.overallTask=e.overallTask||Yf({reset:Ly});o.context={ecModel:n,api:r,overallReset:t.overallReset,scheduler:i};var a=o.agentStubMap,s=o.agentStubMap=Object(hn.f)(),l=t.seriesType,u=t.getTargetSeries,c=!0,d=!1;function h(t){var e=t.uid,n=s.set(e,a&&a.get(e)||(d=!0,Yf({reset:Ny,onDirty:Ry})));n.context={model:t,overallProgress:c},n.agent=o,n.__block=c,i._pipe(t,n)}Object(hn.b)(!t.createOnAllSeries,""),l?n.eachRawSeriesByType(l,h):u?u(n,r).each(h):(c=!1,Object(hn.k)(n.getSeries(),h)),d&&o.dirty()},t.prototype._pipe=function(t,e){var n=t.uid,r=this._pipelineMap.get(n);!r.head&&(r.head=e),r.tail&&r.tail.pipe(e),r.tail=e,e.__idxInPipeline=r.count++,e.__pipeline=r},t.wrapStageHandler=function(t,e){return Object(hn.w)(t)&&(t={overallReset:t,seriesType:Wy(t)}),t.uid=Uc("stageHandler"),e&&(t.visualType=e),t},t}();function Ly(t){t.overallReset(t.ecModel,t.api,t.payload)}function Ny(t){return t.overallProgress&&Py}function Py(){this.agent.dirty(),this.getDownstream().dirty()}function Ry(){this.agent&&this.agent.dirty()}function zy(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function Vy(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=ba(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?Object(hn.H)(e,(function(t,e){return Fy(e)})):By}var By=Fy(0);function Fy(t){return function(e,n){var r=n.data,i=n.resetDefines[t];if(i&&i.dataEach)for(var o=e.start;o0&&c===i.length-u.length){var d=i.slice(0,c);"data"!==d&&(e.mainType=d,e[u.toLowerCase()]=t,s=!0)}}a.hasOwnProperty(i)&&(n[i]=t,s=!0),s||(r[i]=t)}))}return{cptQuery:e,dataQuery:n,otherQuery:r}},t.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var r=n.targetEl,i=n.packedEvent,o=n.model,a=n.view;if(!o||!a)return!0;var s=e.cptQuery,l=e.dataQuery;return u(s,o,"mainType")&&u(s,o,"subType")&&u(s,o,"index","componentIndex")&&u(s,o,"name")&&u(s,o,"id")&&u(l,i,"name")&&u(l,i,"dataIndex")&&u(l,i,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(t,e.otherQuery,r,i));function u(t,e,n,r){return null==t[n]||e[r||n]===t[n]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),im=["symbol","symbolSize","symbolRotate","symbolOffset"],om=im.concat(["symbolKeepAspect"]),am={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){for(var r={},i={},o=!1,a=0;a0&&function(t,e){return t&&"solid"!==t&&e>0?"dashed"===t?[4*e,2*e]:"dotted"===t?[e]:Object(hn.z)(t)?[t]:Object(hn.t)(t)?t:null:null}(e.lineDash,e.lineWidth),r=e.lineDashOffset;if(n){var i=e.strokeNoScale&&t.getLineScale?t.getLineScale():1;i&&1!==i&&(n=Object(hn.H)(n,(function(t){return t/i})),r/=i)}return[n,r]}var Lm=new ol(!0);function Nm(t){var e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))}function Pm(t){return"string"==typeof t&&"none"!==t}function Rm(t){var e=t.fill;return null!=e&&"none"!==e}function zm(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 Vm(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 Bm(t,e,n){var r=es(e.image,e.__image,n);if(rs(r)){var i=t.createPattern(r,e.repeat||"repeat");if("function"==typeof DOMMatrix&&i&&i.setTransform){var o=new DOMMatrix;o.translateSelf(e.x||0,e.y||0),o.rotateSelf(0,0,(e.rotation||0)*hn.a),o.scaleSelf(e.scaleX||1,e.scaleY||1),i.setTransform(o)}return i}}var Fm=["shadowBlur","shadowOffsetX","shadowOffsetY"],Hm=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function Wm(t,e,n,r,i){var o=!1;if(!r&&e===(n=n||{}))return!1;if(r||e.opacity!==n.opacity){Ym(t,i),o=!0;var a=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(a)?ys.opacity:a}(r||e.blend!==n.blend)&&(o||(Ym(t,i),o=!0),t.globalCompositeOperation=e.blend||ys.blend);for(var s=0;s0&&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[ub])if(this._disposed)Bb(this.id);else{var r,i,o;if(Object(hn.A)(e)&&(n=e.lazyUpdate,r=e.silent,i=e.replaceMerge,o=e.transition,e=e.notMerge),this[ub]=!0,!this._model||e){var a=new Xh(this._api),s=this._theme,l=this._model=new zh;l.scheduler=this._scheduler,l.ssr=this._ssr,l.init(null,null,null,s,this._locale,a)}this._model.setOption(t,{replaceMerge:i},Ub);var u={seriesTransition:o,optionChanged:!0};if(n)this[cb]={silent:r,updateParams:u},this[ub]=!1,this.getZr().wakeUp();else{try{yb(this),_b.update.call(this,null,u)}catch(t){throw this[cb]=null,this[ub]=!1,t}this._ssr||this._zr.flush(),this[cb]=null,this[ub]=!1,Mb.call(this,r),Ob.call(this,r)}}},e.prototype.setTheme=function(){},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||ob&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){return t=t||{},this._zr.painter.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){return t=t||{},this._zr.painter.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){if(dn.a.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return Object(hn.k)(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,r=[],i=this;Object(hn.k)(e,(function(t){n.eachComponent({mainType:t},(function(t){var e=i._componentsMap[t.__viewId];e.group.ignore||(r.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(hn.k)(r,(function(t){t.group.ignore=!1})),o}Bb(this.id)},e.prototype.getConnectedDataURL=function(t){if(!this._disposed){var e="svg"===t.type,n=this.group,r=Math.min,i=Math.max,o=1/0;if(Zb[n]){var a=o,s=o,l=-o,u=-o,c=[],d=t&&t.pixelRatio||this.getDevicePixelRatio();Object(hn.k)(Xb,(function(o,d){if(o.group===n){var h=e?o.getZr().painter.getSvgDom().innerHTML:o.renderToCanvas(Object(hn.d)(t)),f=o.getDom().getBoundingClientRect();a=r(f.left,a),s=r(f.top,s),l=i(f.right,l),u=i(f.bottom,u),c.push({dom:h,left:f.left,top:f.top})}}));var h=(l*=d)-(a*=d),f=(u*=d)-(s*=d),p=xo.d.createCanvas(),g=$o(p,{renderer:e?"svg":"canvas"});if(g.resize({width:h,height:f}),e){var v="";return Object(hn.k)(c,(function(t){var e=t.left-a,n=t.top-s;v+=''+t.dom+""})),g.painter.getSvgRoot().innerHTML=v,t.connectedBackgroundColor&&g.painter.setBackgroundColor(t.connectedBackgroundColor),g.refreshImmediately(),g.painter.toDataURL()}return t.connectedBackgroundColor&&g.add(new Hl({shape:{x:0,y:0,width:h,height:f},style:{fill:t.connectedBackgroundColor}})),Object(hn.k)(c,(function(t){var e=new Ll({style:{x:t.left*d-a,y:t.top*d-s,image:t.dom}});g.add(e)})),g.refreshImmediately(),p.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}Bb(this.id)},e.prototype.convertToPixel=function(t,e){return xb(this,"convertToPixel",t,e)},e.prototype.convertFromPixel=function(t,e){return xb(this,"convertFromPixel",t,e)},e.prototype.containPixel=function(t,e){if(!this._disposed){var n,r=Ea(this._model,t);return Object(hn.k)(r,(function(t,r){r.indexOf("Models")>=0&&Object(hn.k)(t,(function(t){var i=t.coordinateSystem;if(i&&i.containPoint)n=n||!!i.containPoint(e);else if("seriesModels"===r){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(n=n||o.containPoint(e,t))}}),this)}),this),!!n}Bb(this.id)},e.prototype.getVisual=function(t,e){var n=Ea(this._model,t,{defaultMainType:"series"}),r=n.seriesModel.getData(),i=n.hasOwnProperty("dataIndexInside")?n.dataIndexInside:n.hasOwnProperty("dataIndex")?r.indexOfRawIndex(n.dataIndex):null;return null!=i?lm(r,i,e):um(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=this;Object(hn.k)(Vb,(function(e){var n=function(n){var r,i=t.getModel(),o=n.target;if("globalout"===e?r={}:o&&fm(o,(function(t){var e=ou(t);if(e&&null!=e.dataIndex){var n=e.dataModel||i.getSeriesByIndex(e.seriesIndex);return r=n&&n.getDataParams(e.dataIndex,e.dataType)||{},!0}if(e.eventData)return r=Object(hn.m)({},e.eventData),!0}),!0),r){var a=r.componentType,s=r.componentIndex;"markLine"!==a&&"markPoint"!==a&&"markArea"!==a||(a="series",s=r.seriesIndex);var l=a&&null!=s&&i.getComponent(a,s),u=l&&t["series"===l.mainType?"_chartsMap":"_componentsMap"][l.__viewId];r.event=n,r.type=e,t._$eventProcessor.eventInfo={targetEl:o,packedEvent:r,model:l,view:u},t.trigger(e,r)}};n.zrEventfulCallAtLast=!0,t._zr.on(e,n,t)})),Object(hn.k)(Hb,(function(e,n){t._messageCenter.on(n,(function(t){this.trigger(n,t)}),t)})),Object(hn.k)(["selectchanged"],(function(e){t._messageCenter.on(e,(function(t){this.trigger(e,t)}),t)})),function(t,e,n){t.on("selectchanged",(function(t){var r=n.getModel();t.isFromClick?(hm("map","selectchanged",e,r,t),hm("pie","selectchanged",e,r,t)):"select"===t.fromAction?(hm("map","selected",e,r,t),hm("pie","selected",e,r,t)):"unselect"===t.fromAction&&(hm("map","unselected",e,r,t),hm("pie","unselected",e,r,t))}))}(this._messageCenter,this,this._api)},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){this._disposed?Bb(this.id):this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)Bb(this.id);else{this._disposed=!0,this.getDom()&&za(this.getDom(),Qb,"");var t=this,e=t._api,n=t._model;Object(hn.k)(t._componentsViews,(function(t){t.dispose(n,e)})),Object(hn.k)(t._chartsViews,(function(t){t.dispose(n,e)})),t._zr.dispose(),t._dom=t._model=t._chartsMap=t._componentsMap=t._chartsViews=t._componentsViews=t._scheduler=t._api=t._zr=t._throttledZrFlush=t._theme=t._coordSysMgr=t._messageCenter=null,delete Xb[t.id]}},e.prototype.resize=function(t){if(!this[ub])if(this._disposed)Bb(this.id);else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),r=t&&t.silent;this[cb]&&(null==r&&(r=this[cb].silent),n=!0,this[cb]=null),this[ub]=!0;try{n&&yb(this),_b.update.call(this,{type:"resize",animation:Object(hn.m)({duration:0},t&&t.animation)})}catch(t){throw this[ub]=!1,t}this[ub]=!1,Mb.call(this,r),Ob.call(this,r)}}},e.prototype.showLoading=function(t,e){if(this._disposed)Bb(this.id);else if(Object(hn.A)(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),$b[t]){var n=$b[t](this._api,e),r=this._zr;this._loadingFX=n,r.add(n)}},e.prototype.hideLoading=function(){this._disposed?Bb(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},e.prototype.makeActionFromEvent=function(t){var e=Object(hn.m)({},t);return e.type=Hb[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)Bb(this.id);else if(Object(hn.A)(e)||(e={silent:!!e}),Fb[t.type]&&this._model)if(this[ub])this._pendingActions.push(t);else{var n=e.silent;Sb.call(this,t,n);var r=e.flush;r?this._zr.flush():!1!==r&&dn.a.browser.weChat&&this._throttledZrFlush(),Mb.call(this,n),Ob.call(this,n)}},e.prototype.updateLabelLayout=function(){rb.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed)Bb(this.id);else{var e=t.seriesIndex;this.getModel().getSeriesByIndex(e).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,r=0;r0?{duration:o,delay:r.get("delay"),easing:r.get("easing")}:null;n.eachRendered((function(t){if(t.states&&t.states.emphasis){if(cc(t))return;if(t instanceof Il&&function(t){var e=uu(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(i){t.stateTransition=a;var r=t.getTextContent(),o=t.getTextGuideLine();r&&(r.stateTransition=a),o&&(o.stateTransition=a)}t.__dirty&&e(t)}}))}yb=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),mb(t,!0),mb(t,!1),e.plan()},mb=function(t,e){for(var n=t._model,r=t._scheduler,i=e?t._componentsViews:t._chartsViews,o=e?t._componentsMap:t._chartsMap,a=t._zr,s=t._api,l=0;le.get("hoverLayerThreshold")&&!dn.a.node&&!dn.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),rb.trigger("series:afterupdate",e,r,s)},Eb=function(t){t[db]=!0,t.getZr().wakeUp()},Lb=function(t){t[db]&&(t.getZr().storage.traverse((function(t){cc(t)||e(t)})),t[db]=!1)},kb=function(t){return new(function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return cn(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){Pu(e,n),Eb(t)},n.prototype.leaveEmphasis=function(e,n){Ru(e,n),Eb(t)},n.prototype.enterBlur=function(e){zu(e),Eb(t)},n.prototype.leaveBlur=function(e){Vu(e),Eb(t)},n.prototype.enterSelect=function(e){Bu(e),Eb(t)},n.prototype.leaveSelect=function(e){Fu(e),Eb(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}(Fh))(t)},jb=function(t){function e(t,e){for(var n=0;n=0)){o_.push(n);var o=Xy.wrapStageHandler(n,i);o.__prio=e,o.__raw=n,t.push(o)}}function s_(t,e){$b[t]=e}var l_=function(t){var e=(t=Object(hn.d)(t)).type;e||jh("");var n=e.split(":");2!==n.length&&jh("");var r=!1;"echarts"===n[0]&&(e=n[1],r=!0),t.__isBuiltIn=r,lp.set(e,t)};i_(ab,Ty),i_(sb,Dy),i_(sb,ky),i_(ab,am),i_(sb,sm),i_(7e3,(function(t,e){t.eachRawSeries((function(n){if(!t.isSeriesFiltered(n)){var r=n.getData();r.hasItemVisual()&&r.each((function(t){var n=r.getItemVisual(t,"decal");n&&(r.ensureUniqueItemVisual(t,"style").decal=Km(n,e))}));var i=r.getVisual("decal");if(i)r.getVisual("style").decal=Km(i,e)}}))})),t_(gf),e_(900,(function(t){var e=Object(hn.f)();t.eachSeries((function(t){var n=t.get("stack");if(n){var r=e.get(n)||e.set(n,[]),i=t.getData(),o={stackResultDimension:i.getCalculationInfo("stackResultDimension"),stackedOverDimension:i.getCalculationInfo("stackedOverDimension"),stackedDimension:i.getCalculationInfo("stackedDimension"),stackedByDimension:i.getCalculationInfo("stackedByDimension"),isStackedByIndex:i.getCalculationInfo("isStackedByIndex"),data:i,seriesModel:t};if(!o.stackedDimension||!o.isStackedByIndex&&!o.stackedByDimension)return;r.length&&i.setCalculationInfo("stackedOnSeries",r[r.length-1].seriesModel),r.push(o)}})),e.each(vf)})),s_("default",(function(t,e){e=e||{},hn.i(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 Wo,r=new Hl({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(r);var i,o=new iu({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 Hl({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return n.add(a),e.showSpinner&&((i=new pv({shape:{startAngle:-jy/2,endAngle:-jy/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*jy/2}).start("circularInOut"),i.animateShape(!0).when(1e3,{startAngle:3*jy/2}).delay(300).start("circularInOut"),n.add(i)),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),u=t.getHeight()/2;e.showSpinner&&i.setShape({cx:l,cy:u}),a.setShape({x:l-s,y:u-s,width:2*s,height:2*s}),r.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},n.resize(),n})),r_({type:pu,event:pu,update:pu},hn.L),r_({type:gu,event:gu,update:gu},hn.L),r_({type:vu,event:vu,update:vu},hn.L),r_({type:yu,event:yu,update:yu},hn.L),r_({type:mu,event:mu,update:mu},hn.L),Kb("light",qy),Kb("dark",nm);var u_=[],c_={registerPreprocessor:t_,registerProcessor:e_,registerPostInit:function(t){n_("afterinit",t)},registerPostUpdate:function(t){n_("afterupdate",t)},registerUpdateLifecycle:n_,registerAction:r_,registerCoordinateSystem:function(t,e){Uh.register(t,e)},registerLayout:function(t,e){a_(Gb,t,e,1e3,"layout")},registerVisual:i_,registerTransform:l_,registerLoading:s_,registerMap:function(t,e,n){var r=function(t){return ib[t]}("registerMap");r&&r(t,e,n)},registerImpl:function(t,e){ib[t]=e},PRIORITY:lb,ComponentModel:eh,ComponentView:rg,SeriesModel:eg,ChartView:vy,registerComponentModel:function(t){eh.registerClass(t)},registerComponentView:function(t){rg.registerClass(t)},registerSeriesModel:function(t){eg.registerClass(t)},registerChartView:function(t){vy.registerClass(t)},registerSubTypeDefaulter:function(t,e){eh.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){!function(t,e){Uo[t]=e}(t,e)}};function d_(t){Object(hn.t)(t)?Object(hn.k)(t,(function(t){d_(t)})):Object(hn.r)(u_,t)>=0||(u_.push(t),Object(hn.w)(t)&&(t={install:t}),t.install(c_))}var h_=2*Math.PI,f_=ol.CMD,p_=["top","right","bottom","left"];function g_(t,e,n,r,i){var o=n.width,a=n.height;switch(t){case"top":r.set(n.x+o/2,n.y-e),i.set(0,-1);break;case"bottom":r.set(n.x+o/2,n.y+a+e),i.set(0,1);break;case"left":r.set(n.x-e,n.y+a/2),i.set(-1,0);break;case"right":r.set(n.x+o+e,n.y+a/2),i.set(1,0)}}function v_(t,e,n,r,i,o,a,s,l){a-=t,s-=e;var u=Math.sqrt(a*a+s*s),c=(a/=u)*n+t,d=(s/=u)*n+e;if(Math.abs(r-i)%h_<1e-4)return l[0]=c,l[1]=d,u-n;if(o){var h=r;r=cl(i),i=cl(h)}else r=cl(r),i=cl(i);r>i&&(i+=h_);var f=Math.atan2(s,a);if(f<0&&(f+=h_),f>=r&&f<=i||f+h_>=r&&f+h_<=i)return l[0]=c,l[1]=d,u-n;var p=n*Math.cos(r)+t,g=n*Math.sin(r)+e,v=n*Math.cos(i)+t,y=n*Math.sin(i)+e,m=(p-a)*(p-a)+(g-s)*(g-s),b=(v-a)*(v-a)+(y-s)*(y-s);return m0){e=e/180*Math.PI,w_.fromArray(t[0]),S_.fromArray(t[1]),M_.fromArray(t[2]),lo.sub(O_,w_,S_),lo.sub(C_,M_,S_);var n=O_.len(),r=C_.len();if(!(n<.001||r<.001)){O_.scale(1/n),C_.scale(1/r);var i=O_.dot(C_);if(Math.cos(e)1&&lo.copy(A_,M_),A_.toArray(t[1])}}}}function k_(t,e,n){if(n<=180&&n>0){n=n/180*Math.PI,w_.fromArray(t[0]),S_.fromArray(t[1]),M_.fromArray(t[2]),lo.sub(O_,S_,w_),lo.sub(C_,M_,S_);var r=O_.len(),i=C_.len();if(!(r<.001||i<.001))if(O_.scale(1/r),C_.scale(1/i),O_.dot(e)=a)lo.copy(A_,M_);else{A_.scaleAndAdd(C_,o/Math.tan(Math.PI/2-s));var l=M_.x!==S_.x?(A_.x-S_.x)/(M_.x-S_.x):(A_.y-S_.y)/(M_.y-S_.y);if(isNaN(l))return;l<0?lo.copy(A_,S_):l>1&&lo.copy(A_,M_)}A_.toArray(t[1])}}}function j_(t,e,n,r){var i="normal"===n,o=i?t:t.ensureState(n);o.ignore=e;var a=r.get("smooth");a&&!0===a&&(a=.3),o.shape=o.shape||{},a>0&&(o.shape.smooth=a);var s=r.getModel("lineStyle").getLineStyle();i?t.useStyle(s):o.style=s}function E_(t,e){var n=e.smooth,r=e.points;if(r)if(t.moveTo(r[0][0],r[0][1]),n>0&&r.length>=3){var i=Cn(r[0],r[1]),o=Cn(r[1],r[2]);if(!i||!o)return t.lineTo(r[1][0],r[1][1]),void t.lineTo(r[2][0],r[2][1]);var a=Math.min(i,o)*n,s=Tn([],r[1],r[0],a/i),l=Tn([],r[1],r[2],a/o),u=Tn([],s,l,.5);t.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),t.bezierCurveTo(l[0],l[1],l[0],l[1],r[2][0],r[2][1])}else for(var c=1;c0&&o&&w(-d/a,0,a);var v,y,m=t[0],b=t[a-1];return _(),v<0&&S(-v,.8),y<0&&S(y,.8),_(),x(v,y,1),x(y,v,-1),_(),v<0&&M(-v),y<0&&M(y),u}function _(){v=m.rect[e]-r,y=i-b.rect[e]-b.rect[n]}function x(t,e,n){if(t<0){var r=Math.min(e,-t);if(r>0){w(r*n,0,a);var i=r+t;i<0&&S(-i*n,1)}else S(-t*n,1)}}function w(n,r,i){0!==n&&(u=!0);for(var o=r;o0)for(l=0;l0;l--)w(-(h=o[l-1]*d),l,a)}}function M(t){var e=t<0?-1:1;t=Math.abs(t);for(var n=Math.ceil(t/(a-1)),r=0;r0?w(n,0,r+1):w(-n,a-r-1,a),(t-=n)<=0)return}}function z_(t,e,n,r){return R_(t,"y","height",e,n,r)}function V_(t){var e=[];t.sort((function(t,e){return e.priority-t.priority}));var n=new bo(0,0,0,0);function r(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}for(var i=0;i=0&&n.attr(i.oldLayoutSelect),Object(hn.r)(c,"emphasis")>=0&&n.attr(i.oldLayoutEmphasis)),lc(n,l,e,s)}else if(n.attr(l),!Ic(n).valueAnimation){var d=Object(hn.P)(n.style.opacity,1);n.style.opacity=0,uc(n,{style:{opacity:d}},e,s)}if(i.oldLayout=l,n.states.select){var h=i.oldLayoutSelect={};Y_(h,l,$_),Y_(h,n.states.select,$_)}if(n.states.emphasis){var f=i.oldLayoutEmphasis={};Y_(f,l,$_),Y_(f,n.states.emphasis,$_)}Ac(n,s,u,e,e)}if(r&&!r.ignore&&!r.invisible){o=(i=G_(r)).oldLayout;var p={points:r.shape.points};o?(r.attr({shape:o}),lc(r,{shape:p},e)):(r.setShape(p),r.style.strokePercent=0,uc(r,{style:{strokePercent:1}},e)),i.oldLayout=p}},t}(),Z_=X_,q_=ka();function Q_(t){t.registerUpdateLifecycle("series:beforeupdate",(function(t,e,n){var r=q_(e).labelManager;r||(r=q_(e).labelManager=new Z_),r.clearLabels()})),t.registerUpdateLifecycle("series:layoutlabels",(function(t,e,n){var r=q_(e).labelManager;n.updatedSeries.forEach((function(t){r.addLabelsOfSeries(e.getViewOfSeriesModel(t))})),r.updateLayoutConfig(e),r.layout(e),r.processLabelsOverall()}))}function J_(t,e,n){var r=xo.d.createCanvas(),i=e.getWidth(),o=e.getHeight(),a=r.style;return a&&(a.position="absolute",a.left="0",a.top="0",a.width=i+"px",a.height=o+"px",r.setAttribute("data-zr-dom-id",t)),r.width=i*n,r.height=o*n,r}d_(Q_);var K_=function(t){function e(e,n,r){var i,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,r=r||Bi,"string"==typeof e?i=J_(e,n,r):hn.A(e)&&(e=(i=e).id),o.id=e,o.dom=i;var a=i.style;return a&&(hn.j(i),i.onselectstart=function(){return!1},a.padding="0",a.margin="0",a.borderWidth="0"),o.painter=n,o.dpr=r,o}return pn(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=J_("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,r){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var i,o=[],a=this.maxRepaintRectCount,s=!1,l=new bo(0,0,0,0);function u(t){if(t.isFinite()&&!t.isZero())if(0===o.length){var e=new bo(0,0,0,0);e.copy(t),o.push(e)}else{for(var n=!1,r=1/0,i=0,u=0;u=a)}}for(var c=this.__startIndex;c15)break}n.prevElClipPaths&&d.restore()};if(f)if(0===f.length)s=l.__endIndex;else for(var _=h.dpr,x=0;x0&&t>r[0]){for(s=0;st);s++);a=n[r[s]]}if(r.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,r=0;r0?rx:0),this._needsManuallyCompositing),u.__builtin__||hn.G("ZLevel "+l+" has been used by unkown layer "+u.id),u!==a&&(u.__used=!0,u.__startIndex!==o&&(u.__dirty=!0),u.__startIndex=o,u.incremental?u.__drawIndex=-1:u.__drawIndex=o,e(o),a=u),1&r.__dirty&&!r.__inHover&&(u.__dirty=!0,u.incremental&&u.__drawIndex<0&&(u.__drawIndex=o))}e(o),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,hn.k(this._layers,(function(t){t.setUnpainted()}))},t.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?hn.I(n[t],e,!0):n[t]=e;for(var r=0;r=cx:-u>=cx),f=u>0?u%cx:u%cx+cx;l=!!h||!Object(ni.j)(d)&&f>=ux==!!c;var p=t+n*lx(o),g=e+r*sx(o);this._start&&this._add("M",p,g);var v=Math.round(i*dx);if(h){var y=1/this._p,m=(c?1:-1)*(cx-y);this._add("A",n,r,v,1,+c,t+n*lx(o+m),e+r*sx(o+m)),y>.01&&this._add("A",n,r,v,0,+c,p,g)}else{var b=t+n*lx(a),_=e+r*sx(a);this._add("A",n,r,v,+l,+c,b,_)}},t.prototype.rect=function(t,e,n,r){this._add("M",t,e),this._add("l",n,0),this._add("l",0,r),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,r,i,o,a,s,l){for(var u=[],c=this._p,d=1;d"}(i,e.attrs)+(e.text||"")+(r?""+n+Object(hn.H)(r,(function(e){return t(e)})).join(n)+n:"")+function(t){return""}(i)}(t)}function Mx(t){return{zrId:t,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssClassIdx:0,cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function Ox(t,e,n,r){return wx("svg","root",{width:t,height:e,xmlns:bx,"xmlns:xlink":_x,version:"1.1",baseProfile:"full",viewBox:!!r&&"0 0 "+t+" "+e},n)}var Cx={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"},Ix="transform-origin";function Tx(t,e,n){var r=Object(hn.m)({},t.shape);Object(hn.m)(r,e),t.buildPath(n,r);var i=new fx;return i.reset(Object(ni.f)(t)),n.rebuildPath(i,1),i.generateStr(),i.getStr()}function Ax(t,e){var n=e.originX,r=e.originY;(n||r)&&(t[Ix]=n+"px "+r+"px")}var Dx={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function kx(t,e){var n=e.zrId+"-ani-"+e.cssAnimIdx++;return e.cssAnims[n]=t,n}function jx(t){return Object(hn.C)(t)?Cx[t]?"cubic-bezier("+Cx[t]+")":Jr(t)?t:"":""}function Ex(t,e,n,r){var i=t.animators,o=i.length,a=[];if(t instanceof vv){var s=function(t,e,n){var r,i,o=t.shape.paths,a={};if(Object(hn.k)(o,(function(t){var e=Mx(n.zrId);e.animation=!0,Ex(t,{},e,!0);var o=e.cssAnims,s=e.cssNodes,l=Object(hn.F)(o),u=l.length;if(u){var c=o[i=l[u-1]];for(var d in c){var h=c[d];a[d]=a[d]||{d:""},a[d].d+=h.d||""}for(var f in s){var p=s[f].animation;p.indexOf(i)>=0&&(r=p)}}})),r){e.d=!1;var s=kx(a,n);return r.replace(i,s)}}(t,e,n);if(s)a.push(s);else if(!o)return}else if(!o)return;for(var l={},u=0;u0})).length)return kx(c,n)+" "+i[0]+" both"}for(var v in l)(s=g(l[v]))&&a.push(s);if(a.length){var y=n.zrId+"-cls-"+n.cssClassIdx++;n.cssNodes["."+y]={animation:a.join(",")},e.class=y}}var Lx=Math.round;function Nx(t){return t&&Object(hn.C)(t.src)}function Px(t){return t&&Object(hn.w)(t.toDataURL)}function Rx(t,e,n,r){mx((function(i,o){var a="fill"===i||"stroke"===i;a&&Object(ni.k)(o)?function(t,e,n,r){var i,o=t[n],a={gradientUnits:o.global?"userSpaceOnUse":"objectBoundingBox"};if(Object(ni.m)(o))i="linearGradient",a.x1=o.x,a.y1=o.y,a.x2=o.x2,a.y2=o.y2;else{if(!Object(ni.o)(o))return;i="radialGradient",a.cx=Object(hn.P)(o.x,.5),a.cy=Object(hn.P)(o.y,.5),a.r=Object(hn.P)(o.r,.5)}for(var s=o.colorStops,l=[],u=0,c=s.length;ul?ow(t,null==n[d+1]?null:n[d+1].elm,n,s,d):aw(t,e,a,l))}(n,r,i):ew(i)?(ew(t.text)&&Jx(n,""),ow(n,null,i,0,i.length-1)):ew(r)?aw(n,r,0,r.length-1):ew(t.text)&&Jx(n,""):t.text!==e.text&&(ew(r)&&aw(n,r,0,r.length-1),Jx(n,e.text)))}var uw=0,cw=function(){function t(t,e,n){if(this.type="svg",this.refreshHover=function(){},this.configLayer=function(){},this.storage=e,this._opts=n=Object(hn.m)({},n),this.root=t,this._id="zr"+uw++,this._oldVNode=Ox(n.width,n.height),t&&!n.ssr){var r=this._viewport=document.createElement("div");r.style.cssText="position:relative;overflow:hidden";var i=this._svgDom=this._oldVNode.elm=xx("svg");sw(null,this._oldVNode),r.appendChild(i),t.appendChild(r)}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(rw(t,e))lw(t,e);else{var n=t.elm,r=qx(n);iw(e),null!==r&&($x(r,e.elm,Qx(n)),aw(r,[t],0,0))}}(this._oldVNode,t),this._oldVNode=t}},t.prototype.renderOneToVNode=function(t){return Ux(t,Mx(this._id))},t.prototype.renderToVNode=function(t){t=t||{};var e=this.storage.getDisplayList(!0),n=this._backgroundColor,r=this._width,i=this._height,o=Mx(this._id);o.animation=t.animation,o.willUpdate=t.willUpdate,o.compress=t.compress;var a=[];if(n&&"none"!==n){var s=Object(ni.p)(n),l=s.color,u=s.opacity;this._bgVNode=wx("rect","bg",{width:r,height:i,x:"0",y:"0",id:"0",fill:l,"fill-opacity":u}),a.push(this._bgVNode)}else this._bgVNode=null;var c=t.compress?null:this._mainVNode=wx("g","main",{},[]);this._paintList(e,o,c?c.children:a),c&&a.push(c);var d=Object(hn.H)(Object(hn.F)(o.defs),(function(t){return o.defs[t]}));if(d.length&&a.push(wx("defs","defs",{},d)),t.animation){var h=function(t,e,n){var r=(n=n||{}).newline?"\n":"",i=" {"+r,o=r+"}",a=Object(hn.H)(Object(hn.F)(t),(function(e){return e+i+Object(hn.H)(Object(hn.F)(t[e]),(function(n){return n+":"+t[e][n]+";"})).join(r)+o})).join(r),s=Object(hn.H)(Object(hn.F)(e),(function(t){return"@keyframes "+t+i+Object(hn.H)(Object(hn.F)(e[t]),(function(n){return n+i+Object(hn.H)(Object(hn.F)(e[t][n]),(function(r){var i=e[t][n][r];return"d"===r&&(i='path("'+i+'")'),r+":"+i+";"})).join(r)+o})).join(r)+o})).join(r);return a||s?[""].join(r):""}(o.cssNodes,o.cssAnims,{newline:!0});if(h){var f=wx("style","stl",{},[],h);a.push(f)}}return Ox(r,i,a,t.useViewBox)},t.prototype.renderToString=function(t){return t=t||{},Sx(this.renderToVNode({animation:Object(hn.P)(t.cssAnimation,!0),willUpdate:!1,compress:!0,useViewBox:Object(hn.P)(t.useViewBox,!0)}),{newline:!0})},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t;var e=this._bgVNode;if(e&&e.elm){var n=Object(ni.p)(t),r=n.color,i=n.opacity;e.elm.setAttribute("fill",r),i<1&&e.elm.setAttribute("fill-opacity",i)}},t.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},t.prototype._paintList=function(t,e,n){for(var r,i,o=t.length,a=[],s=0,l=0,u=0;u=0&&(!d||!i||d[p]!==i[p]);p--);for(var g=f-1;g>p;g--)r=a[--s-1];for(var v=p+1;v1){var u=s.shift();1===s.length&&(n[a]=s[0]),this._update&&this._update(u,o)}else 1===l?(n[a]=null,this._update&&this._update(s,o)):this._remove&&this._remove(o)}this._performRestAdd(i,n)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},r={},i=[],o=[];this._initIndexMap(t,n,i,"_oldKeyGetter"),this._initIndexMap(e,r,o,"_newKeyGetter");for(var a=0;a1&&1===d)this._updateManyToOne&&this._updateManyToOne(u,l),r[s]=null;else if(1===c&&d>1)this._updateOneToMany&&this._updateOneToMany(u,l),r[s]=null;else if(1===c&&1===d)this._update&&this._update(u,l),r[s]=null;else if(c>1&&d>1)this._updateManyToMany&&this._updateManyToMany(u,l),r[s]=null;else if(c>1)for(var h=0;h1)for(var a=0;a30}var Tw,Aw,Dw,kw,jw,Ew,Lw,Nw=hn.A,Pw=hn.H,Rw="undefined"==typeof Int32Array?Array:Int32Array,zw=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],Vw=["_approximateExtent"],Bw=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 r=!1;Mw(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(r=!0,n=t),n=n||["x","y"];for(var i={},o=[],a={},s=!1,l={},u=0;u=e)){var n=this._store.getProvider();this._updateOrdinalMeta();var r=this._nameList,i=this._idList;if(n.getSource().sourceFormat===ah&&!n.pure)for(var o=[],a=t;a0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,r=n[t];r||(r=n[t]={});var i=r[e];return null==i&&(i=this.getVisual(e),hn.t(i)?i=i.slice():Nw(i)&&(i=hn.m({},i)),r[e]=i),i},t.prototype.setItemVisual=function(t,e,n){var r=this._itemVisuals[t]||{};this._itemVisuals[t]=r,Nw(e)?hn.m(r,e):r[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){Nw(t)?hn.m(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?hn.m(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;au(n,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){hn.k(this._graphicEls,(function(n,r){n&&t&&t.call(e,n,r)}))},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:Pw(this.dimensions,this._getDimInfo,this),this.hostModel)),jw(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];hn.w(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(hn.S(arguments)))})},t.internalField=(Tw=function(t){var e=t._invertedIndicesMap;hn.k(e,(function(n,r){var i=t._dimInfos[r],o=i.ordinalMeta,a=t._store;if(o){n=e[r]=new Rw(o.categories.length);for(var s=0;s1&&(s+="__ec__"+u),r[e]=s}})),t}(),Fw=Bw;function Hw(t,e){Sf(t)||(t=Of(t));var n=(e=e||{}).coordDimensions||[],r=e.dimensionsDefine||t.dimensionsDefine||[],i=Object(hn.f)(),o=[],a=function(t,e,n,r){var i=Math.max(t.dimensionsDetectedCount||1,e.length,n.length,r||0);return Object(hn.k)(e,(function(t){var e;Object(hn.A)(t)&&(e=t.dimsDef)&&(i=Math.max(i,e.length))})),i}(t,n,r,e.dimensionsCount),s=e.canOmitUnusedDimensions&&Iw(a),l=r===t.dimensionsDefine,u=l?Cw(t):Ow(r),c=e.encodeDefine;!c&&e.encodeDefaulter&&(c=e.encodeDefaulter(t,a));for(var d=Object(hn.f)(c),h=new gp(a),f=0;f0&&(r.name=i+(o-1)),o++,e.set(i,o)}}(o),new Sw({source:t,dimensions:o,fullDimensionCount:a,dimensionOmitted:s})}function Ww(t,e,n){var r=e.data;if(n||r.hasOwnProperty(t)){for(var i=0;r.hasOwnProperty(t+i);)i++;t+=i}return e.set(t,!0),t}var Uw=function(t){this.coordSysDims=[],this.axisMap=Object(hn.f)(),this.categoryAxisMap=Object(hn.f)(),this.coordSysName=t};var Gw={cartesian2d:function(t,e,n,r){var i=t.getReferringComponents("xAxis",Na).models[0],o=t.getReferringComponents("yAxis",Na).models[0];e.coordSysDims=["x","y"],n.set("x",i),n.set("y",o),Yw(i)&&(r.set("x",i),e.firstCategoryDimIndex=0),Yw(o)&&(r.set("y",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,r){var i=t.getReferringComponents("singleAxis",Na).models[0];e.coordSysDims=["single"],n.set("single",i),Yw(i)&&(r.set("single",i),e.firstCategoryDimIndex=0)},polar:function(t,e,n,r){var i=t.getReferringComponents("polar",Na).models[0],o=i.findAxisModel("radiusAxis"),a=i.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),Yw(o)&&(r.set("radius",o),e.firstCategoryDimIndex=0),Yw(a)&&(r.set("angle",a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,r){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,r){var i=t.ecModel,o=i.getComponent("parallel",t.get("parallelIndex")),a=e.coordSysDims=o.dimensions.slice();Object(hn.k)(o.parallelAxisIndex,(function(t,o){var s=i.getComponent("parallelAxis",t),l=a[o];n.set(l,s),Yw(s)&&(r.set(l,s),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=o))}))}};function Yw(t){return"category"===t.get("type")}function $w(t,e,n){var r,i,o,a=(n=n||{}).byIndex,s=n.stackedCoordDimension;!function(t){return!Mw(t.schema)}(e)?(i=e.schema,r=i.dimensions,o=e.store):r=e;var l,u,c,d,h=!(!t||!t.get("stack"));if(Object(hn.k)(r,(function(t,e){Object(hn.C)(t)&&(r[e]=t={name:t}),h&&!t.isExtraCoord&&(a||l||!t.ordinalMeta||(l=t),u||"ordinal"===t.type||"time"===t.type||s&&s!==t.coordDim||(u=t))})),!u||a||l||(a=!0),u){c="__\0ecstackresult_"+t.id,d="__\0ecstackedover_"+t.id,l&&(l.createInvertedIndices=!0);var f=u.coordDim,p=u.type,g=0;Object(hn.k)(r,(function(t){t.coordDim===f&&g++}));var v={name:c,coordDim:f,coordDimIndex:g,type:p,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:r.length},y={name:d,coordDim:d,coordDimIndex:g+1,type:p,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:r.length+1};i?(o&&(v.storeDimIndex=o.ensureCalculationDimension(d,p),y.storeDimIndex=o.ensureCalculationDimension(c,p)),i.appendCalculationDimension(v),i.appendCalculationDimension(y)):(r.push(v),r.push(y))}return{stackedDimension:u&&u.name,stackedByDimension:l&&l.name,isStackedByIndex:a,stackedOverDimension:d,stackResultDimension:c}}function Xw(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function Zw(t,e){return Xw(t,e)?t.getCalculationInfo("stackResultDimension"):e}var qw=function(t,e,n){n=n||{};var r,i=e.getSourceManager(),o=!1;t?(o=!0,r=Of(t)):o=(r=i.getSource()).sourceFormat===ah;var a=function(t){var e=t.get("coordinateSystem"),n=new Uw(e),r=Gw[e];if(r)return r(t,n,n.axisMap,n.categoryAxisMap),n}(e),s=function(t,e){var n,r=t.get("coordinateSystem"),i=Uh.get(r);return e&&e.coordSysDims&&(n=hn.H(e.coordSysDims,(function(t){var n={name:t},r=e.axisMap.get(t);if(r){var i=r.get("type");n.type=mw(i)}return n}))),n||(n=i&&(i.getDimensionsInfo?i.getDimensionsInfo():i.dimensions.slice())||["x","y"]),n}(e,a),l=n.useEncodeDefaulter,u=hn.w(l)?l:l?hn.h(mh,s,e):null,c=Hw(r,{coordDimensions:s,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!o}),d=function(t,e,n){var r,i;return n&&hn.k(t,(function(t,o){var a=t.coordDim,s=n.categoryAxisMap.get(a);s&&(null==r&&(r=o),t.ordinalMeta=s.getOrdinalMeta(),e&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(i=!0)})),i||null==r||(t[r].otherDims.itemName=0),r}(c.dimensions,n.createInvertedIndices,a),h=o?null:i.getSharedDataStore(c),f=$w(e,{schema:c,store:h}),p=new Fw(c,e);p.setCalculationInfo(f);var g=null!=d&&function(t){if(t.sourceFormat===ah){var e=function(t){var e=0;for(;e-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}(eg),Jw=Qw;function Kw(t,e){var n=t.mapDimensionsAll("defaultedLabel"),r=n.length;if(1===r){var i=Hf(t,e,n[0]);return null!=i?i+"":null}if(r){for(var o=[],a=0;a=0&&r.push(e[o])}return r.join(" ")}var eS=function(t){function e(e,n,r,i){var o=t.call(this)||this;return o.updateData(e,n,r,i),o}return cn(e,t),e.prototype._createSymbol=function(t,e,n,r,i){this.removeAll();var o=Im(t,-1,-1,2,2,null,i);o.attr({z2:100,culling:!0,scaleX:r[0]/2,scaleY:r[1]/2}),o.drift=nS,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(){Pu(this.childAt(0))},e.prototype.downplay=function(){Ru(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){var e=this.childAt(0);e.draggable=t,e.cursor=t?"move":e.cursor},e.prototype.updateData=function(t,n,r,i){this.silent=!1;var o=t.getItemVisual(n,"symbol")||"circle",a=t.hostModel,s=e.getSymbolSize(t,n),l=o!==this._symbolType,u=i&&i.disableAnimation;if(l){var c=t.getItemVisual(n,"symbolKeepAspect");this._createSymbol(o,t,n,s,c)}else{var d=this.childAt(0);d.silent=!1;var h={scaleX:s[0]/2,scaleY:s[1]/2};u?d.attr(h):lc(d,h,a,n),pc(d)}this._updateCommon(t,n,s,r,i),l&&(d=this.childAt(0),u||(h={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:d.style.opacity}},d.scaleX=d.scaleY=0,d.style.opacity=0,uc(d,h,a,n))),u&&this.childAt(0).stopAnimation("leave")},e.prototype._updateCommon=function(t,e,n,r,i){var o,a,s,l,u,c,d,h,f,p=this.childAt(0),g=t.hostModel;if(r&&(o=r.emphasisItemStyle,a=r.blurItemStyle,s=r.selectItemStyle,l=r.focus,u=r.blurScope,d=r.labelStatesModels,h=r.hoverScale,f=r.cursorStyle,c=r.emphasisDisabled),!r||t.hasItemOption){var v=r&&r.itemModel?r.itemModel:t.getItemModel(e),y=v.getModel("emphasis");o=y.getModel("itemStyle").getItemStyle(),s=v.getModel(["select","itemStyle"]).getItemStyle(),a=v.getModel(["blur","itemStyle"]).getItemStyle(),l=y.get("focus"),u=y.get("blurScope"),c=y.get("disabled"),d=bc(v),h=y.getShallow("scale"),f=v.getShallow("cursor")}var m=t.getItemVisual(e,"symbolRotate");p.attr("rotation",(m||0)*Math.PI/180||0);var b=Am(t.getItemVisual(e,"symbolOffset"),n);b&&(p.x=b[0],p.y=b[1]),f&&p.attr("cursor",f);var _=t.getItemVisual(e,"style"),x=_.fill;if(p instanceof Ll){var w=p.style;p.useStyle(Object(hn.m)({image:w.image,x:w.x,y:w.y,width:w.width,height:w.height},_))}else p.__isEmptyBrush?p.useStyle(Object(hn.m)({},_)):p.useStyle(_),p.style.decal=null,p.setColor(x,i&&i.symbolInnerColor),p.style.strokeNoScale=!0;var S=t.getItemVisual(e,"liftZ"),M=this._z2;null!=S?null==M&&(this._z2=p.z2,p.z2+=S):null!=M&&(p.z2=M,this._z2=null);var O=i&&i.useNameLabel;mc(p,d,{labelFetcher:g,labelDataIndex:e,defaultText:function(e){return O?t.getName(e):Kw(t,e)},inheritColor:x,defaultOpacity:_.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var C=p.ensureState("emphasis");if(C.style=o,p.ensureState("select").style=s,p.ensureState("blur").style=a,h){var I=Math.max(Object(hn.z)(h)?h:1.1,3/this._sizeY);C.scaleX=this._sizeX*I,C.scaleY=this._sizeY*I}this.setSymbolScale(1),qu(this,l,u,c)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,e,n){var r=this.childAt(0),i=ou(this).dataIndex,o=n&&n.animation;if(this.silent=r.silent=!0,n&&n.fadeLabel){var a=r.getTextContent();a&&dc(a,{style:{opacity:0}},e,{dataIndex:i,removeOpt:o,cb:function(){r.removeTextContent()}})}else r.removeTextContent();dc(r,{style:{opacity:0},scaleX:0,scaleY:0},e,{dataIndex:i,cb:t,removeOpt:o})},e.getSymbolSize=function(t,e){return Tm(t.getItemVisual(e,"symbolSize"))},e}(Wo);function nS(t,e){this.parent.drift(t,e)}var rS=eS;function iS(t,e,n,r){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(r.isIgnore&&r.isIgnore(n))&&!(r.clipShape&&!r.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(n,"symbol")}function oS(t){return null==t||Object(hn.A)(t)||(t={isIgnore:t}),t||{}}function aS(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:bc(e),cursorStyle:e.get("cursor")}}var sS=function(){function t(t){this.group=new Wo,this._SymbolCtor=t||rS}return t.prototype.updateData=function(t,e){this._progressiveEls=null,e=oS(e);var n=this.group,r=t.hostModel,i=this._data,o=this._SymbolCtor,a=e.disableAnimation,s=aS(t),l={disableAnimation:a},u=e.getSymbolPoint||function(e){return t.getItemLayout(e)};i||n.removeAll(),t.diff(i).add((function(r){var i=u(r);if(iS(t,i,r,e)){var a=new o(t,r,s,l);a.setPosition(i),t.setItemGraphicEl(r,a),n.add(a)}})).update((function(c,d){var h=i.getItemGraphicEl(d),f=u(c);if(iS(t,f,c,e)){var p=t.getItemVisual(c,"symbol")||"circle",g=h&&h.getSymbolType&&h.getSymbolType();if(!h||g&&g!==p)n.remove(h),(h=new o(t,c,s,l)).setPosition(f);else{h.updateData(t,c,s,l);var v={x:f[0],y:f[1]};a?h.attr(v):lc(h,v,r)}n.add(h),t.setItemGraphicEl(c,h)}else n.remove(h)})).remove((function(t){var e=i.getItemGraphicEl(t);e&&e.fadeOut((function(){n.remove(e)}),r)})).execute(),this._getSymbolPoint=u,this._data=t},t.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl((function(e,n){var r=t._getSymbolPoint(n);e.setPosition(r),e.markRedraw()}))},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=aS(t),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e,n){function r(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],n=oS(n);for(var i=t.start;i0?n=r[0]:r[1]<0&&(n=r[1]),n}(i,n),a=r.dim,s=i.dim,l=e.mapDimension(s),u=e.mapDimension(a),c="x"===s||"radius"===s?1:0,d=Object(hn.H)(t.dimensions,(function(t){return e.mapDimension(t)})),h=!1,f=e.getCalculationInfo("stackResultDimension");return Xw(e,d[0])&&(h=!0,d[0]=f),Xw(e,d[1])&&(h=!0,d[1]=f),{dataDimsForPoint:d,valueStart:o,valueAxisDim:s,baseAxisDim:a,stacked:!!h,valueDim:l,baseDim:u,baseDataOffset:c,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function cS(t,e,n,r){var i=NaN;t.stacked&&(i=n.get(n.getCalculationInfo("stackedOverDimension"),r)),isNaN(i)&&(i=t.valueStart);var o=t.baseDataOffset,a=[];return a[o]=n.get(t.baseDim,r),a[1-o]=i,e.dataToPoint(a)}var dS="undefined"!=typeof Float32Array,hS=dS?Float32Array:Array;function fS(t){return Object(hn.t)(t)?dS?new Float32Array(t):t:new hS(t)}var pS=Math.min,gS=Math.max;function vS(t,e){return isNaN(t)||isNaN(e)}function yS(t,e,n,r,i,o,a,s,l){for(var u,c,d,h,f,p,g=n,v=0;v=i||g<0)break;if(vS(y,m)){if(l){g+=o;continue}break}if(g===n)t[o>0?"moveTo":"lineTo"](y,m),d=y,h=m;else{var b=y-u,_=m-c;if(b*b+_*_<.5){g+=o;continue}if(a>0){for(var x=g+o,w=e[2*x],S=e[2*x+1];w===y&&S===m&&v=r||vS(w,S))f=y,p=m;else{C=w-u,I=S-c;var D=y-u,k=w-y,j=m-c,E=S-m,L=void 0,N=void 0;if("x"===s){var P=C>0?1:-1;f=y-P*(L=Math.abs(D))*a,p=m,T=y+P*(N=Math.abs(k))*a,A=m}else if("y"===s){var R=I>0?1:-1;f=y,p=m-R*(L=Math.abs(j))*a,T=y,A=m+R*(N=Math.abs(E))*a}else L=Math.sqrt(D*D+j*j),f=y-C*a*(1-(O=(N=Math.sqrt(k*k+E*E))/(N+L))),p=m-I*a*(1-O),A=m+I*a*O,T=pS(T=y+C*a*O,gS(w,y)),A=pS(A,gS(S,m)),T=gS(T,pS(w,y)),p=m-(I=(A=gS(A,pS(S,m)))-m)*L/N,f=pS(f=y-(C=T-y)*L/N,gS(u,y)),p=pS(p,gS(c,m)),T=y+(C=y-(f=gS(f,pS(u,y))))*N/L,A=m+(I=m-(p=gS(p,pS(c,m))))*N/L}t.bezierCurveTo(d,h,f,p,y,m),d=T,h=A}else t.lineTo(y,m)}u=y,c=m,g+=o}return v}var mS=function(){this.smooth=0,this.smoothConstraint=!0},bS=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polyline",n}return cn(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new mS},e.prototype.buildPath=function(t,e){var n=e.points,r=0,i=n.length/2;if(e.connectNulls){for(;i>0&&vS(n[2*i-2],n[2*i-1]);i--);for(;r=0){var v=a?(c-r)*g+r:(u-n)*g+n;return a?[t,v]:[v,t]}n=u,r=c;break;case o.C:u=i[l++],c=i[l++],d=i[l++],h=i[l++],f=i[l++],p=i[l++];var y=a?Br(n,u,d,f,t,s):Br(r,c,h,p,t,s);if(y>0)for(var m=0;m=0)return v=a?zr(r,c,h,p,b):zr(n,u,d,f,b),a?[t,v]:[v,t]}n=f,r=p}}},e}(Il),_S=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return cn(e,t),e}(mS),xS=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polygon",n}return cn(e,t),e.prototype.getDefaultShape=function(){return new _S},e.prototype.buildPath=function(t,e){var n=e.points,r=e.stackedOnPoints,i=0,o=n.length/2,a=e.smoothMonotone;if(e.connectNulls){for(;o>0&&vS(n[2*o-2],n[2*o-1]);o--);for(;i=0;a--){var s=t.getDimensionInfo(r[a].dimension);if("x"===(i=s&&s.coordDim)||"y"===i){o=r[a];break}}if(o){var l=e.getAxis(i),u=hn.H(o.stops,(function(t){return{coord:l.toGlobalCoord(l.dataToCoord(t.value)),color:t.color}})),c=u.length,d=o.outerColors.slice();c&&u[0].coord>u[c-1].coord&&(u.reverse(),d.reverse());var h=function(t,e){var n,r,i=[],o=t.length;function a(t,e,n){var r=t.coord,i=(n-r)/(e.coord-r);return{coord:n,color:Object(ei.b)(i,[t.color,e.color])}}for(var s=0;se){r?i.push(a(r,l,e)):n&&i.push(a(n,l,0),a(n,l,e));break}n&&(i.push(a(n,l,0)),n=null),i.push(l),r=l}}return i}(u,"x"===i?n.getWidth():n.getHeight()),f=h.length;if(!f&&c)return u[0].coord<0?d[1]?d[1]:u[c-1].color:d[0]?d[0]:u[0].color;var p=h[0].coord-10,g=h[f-1].coord+10,v=g-p;if(v<.001)return"transparent";hn.k(h,(function(t){t.offset=(t.coord-p)/v})),h.push({offset:f?h[f-1].offset:.5,color:d[1]||"transparent"}),h.unshift({offset:f?h[0].offset:.5,color:d[0]||"transparent"});var y=new _v(0,0,0,0,h,!0);return y[i]=p,y[i+"2"]=g,y}}}function jS(t,e,n){var r=t.get("showAllSymbol"),i="auto"===r;if(!r||i){var o=n.getAxesByScale("ordinal")[0];if(o&&(!i||!function(t,e){var n=t.getExtent(),r=Math.abs(n[1]-n[0])/t.scale.count();isNaN(r)&&(r=0);for(var i=e.count(),o=Math.max(1,Math.round(i/5)),a=0;ar)return!1;return!0}(o,e))){var a=e.mapDimension(o.dim),s={};return hn.k(o.getViewLabels(),(function(t){var e=o.scale.getRawOrdinalNumber(t.tickValue);s[e]=1})),function(t){return!s.hasOwnProperty(e.get(a,t))}}}}function ES(t,e){return isNaN(t)||isNaN(e)}function LS(t,e){return[t[2*e],t[2*e+1]]}function NS(t){if(t.get(["endLabel","show"]))return!0;for(var e=0;e0&&"bolder"===t.get(["emphasis","lineStyle","width"]))&&(f.getState("emphasis").style.lineWidth=+f.style.lineWidth+1);ou(f).seriesIndex=t.seriesIndex,qu(f,D,k,j);var E=AS(t.get("smooth")),L=t.get("smoothMonotone");if(f.setShape({smooth:E,smoothMonotone:L,connectNulls:w}),p){var N=a.getCalculationInfo("stackedOnSeries"),P=0;p.useStyle(hn.i(l.getAreaStyle(),{fill:I,opacity:.7,lineJoin:"bevel",decal:a.getVisual("style").decal})),N&&(P=AS(N.get("smooth"))),p.setShape({smooth:E,stackedOnSmooth:P,smoothMonotone:L,connectNulls:w}),tc(p,t,"areaStyle"),ou(p).seriesIndex=t.seriesIndex,qu(p,D,k,j)}var R=function(t){r._changePolyState(t)};a.eachItemGraphicEl((function(t){t&&(t.onHoverStateChange=R)})),this._polyline.onHoverStateChange=R,this._data=a,this._coordSys=i,this._stackedOnPoints=_,this._points=u,this._step=C,this._valueOrigin=m,t.get("triggerLineEvent")&&(this.packEventData(t,f),p&&this.packEventData(t,p))},e.prototype.packEventData=function(t,e){ou(e).eventData={componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line"}},e.prototype.highlight=function(t,e,n,r){var i=t.getData(),o=Da(i,r);if(this._changePolyState("emphasis"),!(o instanceof Array)&&null!=o&&o>=0){var a=i.getLayout("points"),s=i.getItemGraphicEl(o);if(!s){var l=a[2*o],u=a[2*o+1];if(isNaN(l)||isNaN(u))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,u))return;var c=t.get("zlevel"),d=t.get("z");(s=new rS(i,o)).x=l,s.y=u,s.setZ(c,d);var h=s.getSymbolPath().getTextContent();h&&(h.zlevel=c,h.z=d,h.z2=this._polyline.z2+1),s.__temp=!0,i.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else vy.prototype.highlight.call(this,t,e,n,r)},e.prototype.downplay=function(t,e,n,r){var i=t.getData(),o=Da(i,r);if(this._changePolyState("normal"),null!=o&&o>=0){var a=i.getItemGraphicEl(o);a&&(a.__temp?(i.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else vy.prototype.downplay.call(this,t,e,n,r)},e.prototype._changePolyState=function(t){var e=this._polygon;ku(this._polyline,t),e&&ku(e,t)},e.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new bS({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 xS({shape:{points:t,stackedOnPoints:e},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},e.prototype._initSymbolLabelAnimation=function(t,e,n){var r,i,o=e.getBaseAxis(),a=o.inverse;"cartesian2d"===e.type?(r=o.isHorizontal(),i=!1):"polar"===e.type&&(r="angle"===o.dim,i=!0);var s=t.hostModel,l=s.get("animationDuration");hn.w(l)&&(l=l(null));var u=s.get("animationDelay")||0,c=hn.w(u)?u(null):u;t.eachItemGraphicEl((function(t,o){var s=t;if(s){var d=[t.x,t.y],h=void 0,f=void 0,p=void 0;if(n)if(i){var g=n,v=e.pointToCoord(d);r?(h=g.startAngle,f=g.endAngle,p=-v[1]/180*Math.PI):(h=g.r0,f=g.r,p=v[0])}else{var y=n;r?(h=y.x,f=y.x+y.width,p=t.x):(h=y.y+y.height,f=y.y,p=t.y)}var m=f===h?0:(p-h)/(f-h);a&&(m=1-m);var b=hn.w(u)?u(o):l*m+c,_=s.getSymbolPath(),x=_.getTextContent();s.attr({scaleX:0,scaleY:0}),s.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:b}),x&&x.animateFrom({style:{opacity:0}},{duration:300,delay:b}),_.disableLabelAnimation=!0}}))},e.prototype._initOrUpdateEndLabel=function(t,e,n){var r=t.getModel("endLabel");if(NS(t)){var i=t.getData(),o=this._polyline,a=i.getLayout("points");if(!a)return o.removeTextContent(),void(this._endLabel=null);var s=this._endLabel;s||((s=this._endLabel=new iu({z2:200})).ignoreClip=!0,o.setTextContent(this._endLabel),o.disableLabelAnimation=!0);var l=function(t){for(var e=t.length/2;e>0&&ES(t[2*e-2],t[2*e-1]);e--);return e-1}(a);l>=0&&(mc(o,bc(t,"endLabel"),{inheritColor:n,labelFetcher:t,labelDataIndex:l,defaultText:function(t,e,n){return null!=n?tS(i,n):Kw(i,t)},enableTextSetter:!0},function(t,e){var n=e.getBaseAxis(),r=n.isHorizontal(),i=n.inverse,o=r?i?"right":"left":"center",a=r?"middle":i?"top":"bottom";return{normal:{align:t.get("align")||o,verticalAlign:t.get("verticalAlign")||a}}}(r,e)),o.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(t,e,n,r,i,o,a){var s=this._endLabel,l=this._polyline;if(s){t<1&&null==r.originalX&&(r.originalX=s.x,r.originalY=s.y);var u=n.getLayout("points"),c=n.hostModel,d=c.get("connectNulls"),h=o.get("precision"),f=o.get("distance")||0,p=a.getBaseAxis(),g=p.isHorizontal(),v=p.inverse,y=e.shape,m=v?g?y.x:y.y+y.height:g?y.x+y.width:y.y,b=(g?f:0)*(v?-1:1),_=(g?0:-f)*(v?-1:1),x=g?"x":"y",w=function(t,e,n){for(var r,i,o=t.length/2,a="x"===n?0:1,s=0,l=-1,u=0;u=e||r>=e&&i<=e){l=u;break}s=u,r=i}else r=i;return{range:[s,l],t:(e-r)/(i-r)}}(u,m,x),S=w.range,M=S[1]-S[0],O=void 0;if(M>=1){if(M>1&&!d){var C=LS(u,S[0]);s.attr({x:C[0]+b,y:C[1]+_}),i&&(O=c.getRawValue(S[0]))}else{(C=l.getPointOn(m,x))&&s.attr({x:C[0]+b,y:C[1]+_});var I=c.getRawValue(S[0]),T=c.getRawValue(S[1]);i&&(O=Ba(n,h,I,T,w.t))}r.lastFrameIndex=S[0]}else{var A=1===t||r.lastFrameIndex>0?S[0]:0;C=LS(u,A),i&&(O=c.getRawValue(A)),s.attr({x:C[0]+b,y:C[1]+_})}i&&Ic(s).setLabelText(O)}},e.prototype._doUpdateAnimation=function(t,e,n,r,i,o,a){var s=this._polyline,l=this._polygon,u=t.hostModel,c=function(t,e,n,r,i,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),u=[],c=[],d=[],h=[],f=[],p=[],g=[],v=uS(i,e,a),y=t.getLayout("points")||[],m=e.getLayout("points")||[],b=0;b3e3||l&&TS(h,p)>3e3)return s.stopAnimation(),s.setShape({points:f}),void(l&&(l.stopAnimation(),l.setShape({points:f,stackedOnPoints:p})));s.shape.__points=c.current,s.shape.points=d;var g={shape:{points:f}};c.current!==d&&(g.shape.__points=c.next),s.stopAnimation(),lc(s,g,u),l&&(l.setShape({points:d,stackedOnPoints:h}),l.stopAnimation(),lc(l,{shape:{stackedOnPoints:p}},u),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var v=[],y=c.status,m=0;me&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n10&&"cartesian2d"===o.type&&i){var s=o.getBaseAxis(),l=o.getOtherAxis(s),u=s.getExtent(),c=n.getDevicePixelRatio(),d=Math.abs(u[1]-u[0])*(c||1),h=Math.round(a/d);if(isFinite(h)&&h>1){"lttb"===i&&t.setData(r.lttbDownSample(r.mapDimension(l.dim),1/h));var f=void 0;Object(hn.C)(i)?f=BS[i]:Object(hn.w)(i)&&(f=i),f&&t.setData(r.downSample(r.mapDimension(l.dim),1/h,f,FS))}}}}}var WS="__ec_stack_";function US(t){return t.get("stack")||WS+t.seriesIndex}function GS(t){return t.dim+t.index}function YS(t,e){var n=[];return e.eachSeriesByType(t,(function(t){QS(t)&&n.push(t)})),n}function $S(t){var e=function(t){var e={};Object(hn.k)(t,(function(t){var n=t.coordinateSystem.getBaseAxis();if("time"===n.type||"value"===n.type)for(var r=t.getData(),i=n.dim+"_"+n.index,o=r.getDimensionIndex(r.mapDimension(n.dim)),a=r.getStore(),s=0,l=a.count();s0&&(o=null===o?s:Math.min(o,s))}n[r]=o}}return n}(t),n=[];return Object(hn.k)(t,(function(t){var r,i=t.coordinateSystem.getBaseAxis(),o=i.getExtent();if("category"===i.type)r=i.getBandWidth();else if("value"===i.type||"time"===i.type){var a=i.dim+"_"+i.index,s=e[a],l=Math.abs(o[1]-o[0]),u=i.scale.getExtent(),c=Math.abs(u[1]-u[0]);r=s?l/c*s:l}else{var d=t.getData();r=Math.abs(o[1]-o[0])/d.count()}var h=qo(t.get("barWidth"),r),f=qo(t.get("barMaxWidth"),r),p=qo(t.get("barMinWidth")||(JS(t)?.5:1),r),g=t.get("barGap"),v=t.get("barCategoryGap");n.push({bandWidth:r,barWidth:h,barMaxWidth:f,barMinWidth:p,barGap:g,barCategoryGap:v,axisKey:GS(i),stackId:US(t)})})),XS(n)}function XS(t){var e={};Object(hn.k)(t,(function(t,n){var r=t.axisKey,i=t.bandWidth,o=e[r]||{bandWidth:i,remainedWidth:i,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=o.stacks;e[r]=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 u=t.barMaxWidth;u&&(a[s].maxWidth=u);var c=t.barMinWidth;c&&(a[s].minWidth=c);var d=t.barGap;null!=d&&(o.gap=d);var h=t.barCategoryGap;null!=h&&(o.categoryGap=h)}));var n={};return Object(hn.k)(e,(function(t,e){n[e]={};var r=t.stacks,i=t.bandWidth,o=t.categoryGap;if(null==o){var a=Object(hn.F)(r).length;o=Math.max(35-4*a,15)+"%"}var s=qo(o,i),l=qo(t.gap,1),u=t.remainedWidth,c=t.autoWidthCount,d=(u-s)/(c+(c-1)*l);d=Math.max(d,0),Object(hn.k)(r,(function(t){var e=t.maxWidth,n=t.minWidth;if(t.width)r=t.width,e&&(r=Math.min(r,e)),n&&(r=Math.max(r,n)),t.width=r,u-=r+l*r,c--;else{var r=d;e&&er&&(r=n),r!==d&&(t.width=r,u-=r+l*r,c--)}})),d=(u-s)/(c+(c-1)*l),d=Math.max(d,0);var h,f=0;Object(hn.k)(r,(function(t,e){t.width||(t.width=d),h=t,f+=t.width*(1+l)})),h&&(f-=h.width*l);var p=-f/2;Object(hn.k)(r,(function(t,r){n[e][r]=n[e][r]||{bandWidth:i,offset:p,width:t.width},p+=t.width*(1+l)}))})),n}function ZS(t,e){var n=YS(t,e),r=$S(n);Object(hn.k)(n,(function(t){var e=t.getData(),n=t.coordinateSystem.getBaseAxis(),i=US(t),o=r[GS(n)][i],a=o.offset,s=o.width;e.setLayout({bandWidth:o.bandWidth,offset:a,size:s})}))}function qS(t){return{seriesType:t,plan:ig(),reset:function(t){if(QS(t)){var e=t.getData(),n=t.coordinateSystem,r=n.getBaseAxis(),i=n.getOtherAxis(r),o=e.getDimensionIndex(e.mapDimension(i.dim)),a=e.getDimensionIndex(e.mapDimension(r.dim)),s=t.get("showBackground",!0),l=e.mapDimension(i.dim),u=e.getCalculationInfo("stackResultDimension"),c=Xw(e,l)&&!!e.getCalculationInfo("stackedOnSeries"),d=i.isHorizontal(),h=function(t,e){return e.toGlobalCoord(e.dataToCoord("log"===e.type?1:0))}(0,i),f=JS(t),p=t.get("barMinHeight")||0,g=u&&e.getDimensionIndex(u),v=e.getLayout("size"),y=e.getLayout("offset");return{progress:function(t,e){for(var r,i=t.count,l=f&&fS(3*i),u=f&&s&&fS(3*i),m=f&&fS(i),b=n.master.getRect(),_=d?b.width:b.height,x=e.getStore(),w=0;null!=(r=t.next());){var S=x.get(c?g:o,r),M=x.get(a,r),O=h,C=void 0;c&&(C=+S-x.get(o,r));var I=void 0,T=void 0,A=void 0,D=void 0;if(d){var k=n.dataToPoint([S,M]);if(c){var j=n.dataToPoint([C,M]);O=j[0]}I=O,T=k[1]+y,A=k[0]-O,D=v,Math.abs(A)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=Gc(tM.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}(tM),nM=eM,rM=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},iM=function(t){function e(e){var n=t.call(this,e)||this;return n.type="sausage",n}return cn(e,t),e.prototype.getDefaultShape=function(){return new rM},e.prototype.buildPath=function(t,e){var n=e.cx,r=e.cy,i=Math.max(e.r0||0,0),o=Math.max(e.r,0),a=.5*(o-i),s=i+a,l=e.startAngle,u=e.endAngle,c=e.clockwise,d=2*Math.PI,h=c?u-lo)return!0;o=u}return!1},e.prototype._isOrderDifferentInView=function(t,e){for(var n=e.scale,r=n.getExtent(),i=Math.max(0,r[0]),o=Math.min(r[1],n.getOrdinalMeta().categories.length-1);i<=o;++i)if(t.ordinalNumbers[i]!==n.getRawOrdinalNumber(i))return!0},e.prototype._updateSortWithinSameData=function(t,e,n,r){if(this._isOrderChangedWithinSameData(t,e,n)){var i=this._dataSort(t,n,e);this._isOrderDifferentInView(i,n)&&(this._removeOnRenderedListener(r),r.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:i}))}},e.prototype._dispatchInitSort=function(t,e,n){var r=e.baseAxis,i=this._dataSort(t,r,(function(n){return t.get(t.mapDimension(e.otherAxis.dim),n)}));n.dispatchAction({type:"changeAxisOrder",componentType:r.dim+"Axis",isInitSort:!0,axisId:r.index,sortInfo:i})},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){fc(e,t,ou(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}(vy),dM={cartesian2d:function(t,e){var n=e.width<0?-1:1,r=e.height<0?-1:1;n<0&&(e.x+=e.width,e.width=-e.width),r<0&&(e.y+=e.height,e.height=-e.height);var i=t.x+t.width,o=t.y+t.height,a=lM(e.x,t.x),s=uM(e.x+e.width,i),l=lM(e.y,t.y),u=uM(e.y+e.height,o),c=si?s:a,e.y=d&&l>o?u:l,e.width=c?0:s-a,e.height=d?0:u-l,n<0&&(e.x+=e.width,e.width=-e.width),r<0&&(e.y+=e.height,e.height=-e.height),c||d},polar:function(t,e){var n=e.r0<=e.r?1:-1;if(n<0){var r=e.r;e.r=e.r0,e.r0=r}var i=uM(e.r,t.r),o=lM(e.r0,t.r0);e.r=i,e.r0=o;var a=i-o<0;return n<0&&(r=e.r,e.r=e.r0,e.r0=r),a}},hM={cartesian2d:function(t,e,n,r,i,o,a,s,l){var u=new Hl({shape:Object(hn.m)({},r),z2:1});(u.__dataIndex=n,u.name="item",o)&&(u.shape[i?"height":"width"]=0);return u},polar:function(t,e,n,r,i,o,a,s,l){var u=!i&&l?oM:Yg,c=new u({shape:r,z2:1});c.name="item";var d=bM(i);if(c.calculateTextPosition=function(t,e){var n=(e=e||{}).isRoundCap;return function(e,r,i){var o=r.position;if(!o||o instanceof Array)return Do(e,r,i);var a=t(o),s=null!=r.distance?r.distance:5,l=this.shape,u=l.cx,c=l.cy,d=l.r,h=l.r0,f=(d+h)/2,p=l.startAngle,g=l.endAngle,v=(p+g)/2,y=n?Math.abs(d-h)/2:0,m=Math.cos,b=Math.sin,_=u+d*m(p),x=c+d*b(p),w="left",S="top";switch(a){case"startArc":_=u+(h-s)*m(v),x=c+(h-s)*b(v),w="center",S="top";break;case"insideStartArc":_=u+(h+s)*m(v),x=c+(h+s)*b(v),w="center",S="bottom";break;case"startAngle":_=u+f*m(p)+aM(p,s+y,!1),x=c+f*b(p)+sM(p,s+y,!1),w="right",S="middle";break;case"insideStartAngle":_=u+f*m(p)+aM(p,-s+y,!1),x=c+f*b(p)+sM(p,-s+y,!1),w="left",S="middle";break;case"middle":_=u+f*m(v),x=c+f*b(v),w="center",S="middle";break;case"endArc":_=u+(d+s)*m(v),x=c+(d+s)*b(v),w="center",S="bottom";break;case"insideEndArc":_=u+(d-s)*m(v),x=c+(d-s)*b(v),w="center",S="top";break;case"endAngle":_=u+f*m(g)+aM(g,s+y,!0),x=c+f*b(g)+sM(g,s+y,!0),w="left",S="middle";break;case"insideEndAngle":_=u+f*m(g)+aM(g,-s+y,!0),x=c+f*b(g)+sM(g,-s+y,!0),w="right",S="middle";break;default:return Do(e,r,i)}return(e=e||{}).x=_,e.y=x,e.align=w,e.verticalAlign=S,e}}(d,{isRoundCap:u===oM}),o){var h=i?"r":"endAngle",f={};c.shape[h]=i?0:r.startAngle,f[h]=r[h],(s?lc:uc)(c,{shape:f},o)}return c}};function fM(t,e,n,r,i,o,a,s){var l,u;o?(u={x:r.x,width:r.width},l={y:r.y,height:r.height}):(u={y:r.y,height:r.height},l={x:r.x,width:r.width}),s||(a?lc:uc)(n,{shape:l},e,i,null),(a?lc:uc)(n,{shape:u},e?t.baseAxis.model:null,i)}function pM(t,e){for(var n=0;n0?1:-1,a=r.height>0?1:-1;return{x:r.x+o*i/2,y:r.y+a*i/2,width:r.width-o*i,height:r.height-a*i}},polar:function(t,e,n){var r=t.getItemLayout(e);return{cx:r.cx,cy:r.cy,r0:r.r0,r:r.r,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}}};function bM(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 _M(t,e,n,r,i,o,a,s){var l=e.getItemVisual(n,"style");s||t.setShape("r",r.get(["itemStyle","borderRadius"])||0),t.useStyle(l);var u=r.getShallow("cursor");u&&t.attr("cursor",u);var c=s?a?i.r>=i.r0?"endArc":"startArc":i.endAngle>=i.startAngle?"endAngle":"startAngle":a?i.height>=0?"bottom":"top":i.width>=0?"right":"left",d=bc(r);mc(t,d,{labelFetcher:o,labelDataIndex:n,defaultText:Kw(o.getData(),n),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:c});var h=t.getTextContent();if(s&&h){var f=r.get(["label","position"]);t.textConfig.inside="middle"===f||null,function(t,e,n,r){if(Object(hn.z)(r))t.setTextConfig({rotation:r});else if(Object(hn.t)(e))t.setTextConfig({rotation:0});else{var i,o=t.shape,a=o.clockwise?o.startAngle:o.endAngle,s=o.clockwise?o.endAngle:o.startAngle,l=(a+s)/2,u=n(e);switch(u){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":i=l;break;case"startAngle":case"insideStartAngle":i=a;break;case"endAngle":case"insideEndAngle":i=s;break;default:return void t.setTextConfig({rotation:0})}var c=1.5*Math.PI-i;"middle"===u&&c>Math.PI/2&&c<1.5*Math.PI&&(c-=Math.PI),t.setTextConfig({rotation:c})}}(t,"outside"===f?c:f,bM(a),r.get(["label","rotate"]))}Tc(h,d,o.getRawValue(n),(function(t){return tS(e,t)}));var p=r.getModel(["emphasis"]);qu(t,p.get("focus"),p.get("blurScope"),p.get("disabled")),tc(t,r),function(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}(i)&&(t.style.fill="none",t.style.stroke="none",Object(hn.k)(t.states,(function(t){t.style&&(t.style.fill=t.style.stroke="none")})))}var xM=function(){},wM=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeBar",n}return cn(e,t),e.prototype.getDefaultShape=function(){return new xM},e.prototype.buildPath=function(t,e){for(var n=e.points,r=this.baseDimIdx,i=1-this.baseDimIdx,o=[],a=[],s=this.barWidth,l=0;l=s[0]&&e<=s[0]+l[0]&&n>=s[1]&&n<=s[1]+l[1])return a[c]}return-1}(this,t.offsetX,t.offsetY);ou(this).dataIndex=e>=0?e:null}),30,!1);function OM(t,e,n){if(OS(n,"cartesian2d")){var r=e,i=n.getArea();return{x:t?r.x:i.x,y:t?i.y:r.y,width:t?r.width:i.width,height:t?i.height:r.height}}var o=e;return{cx:(i=n.getArea()).cx,cy:i.cy,r0:t?i.r0:o.r0,r:t?i.r:o.r,startAngle:t?o.startAngle:0,endAngle:t?o.endAngle:2*Math.PI}}var CM=cM;var IM=2*Math.PI,TM=Math.PI/180;function AM(t,e){return $d(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function DM(t,e){var n=AM(t,e),r=t.get("center"),i=t.get("radius");hn.t(i)||(i=[0,i]),hn.t(r)||(r=[r,r]);var o=qo(n.width,e.getWidth()),a=qo(n.height,e.getHeight()),s=Math.min(o,a);return{cx:qo(r[0],o)+n.x,cy:qo(r[1],a)+n.y,r0:qo(i[0],s/2),r:qo(i[1],s/2)}}function kM(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.getData(),r=e.mapDimension("value"),i=AM(t,n),o=DM(t,n),a=o.cx,s=o.cy,l=o.r,u=o.r0,c=-t.get("startAngle")*TM,d=t.get("minAngle")*TM,h=0;e.each(r,(function(t){!isNaN(t)&&h++}));var f=e.getSum(r),p=Math.PI/(f||h)*2,g=t.get("clockwise"),v=t.get("roseType"),y=t.get("stillShowZeroSum"),m=e.getDataExtent(r);m[0]=0;var b=IM,_=0,x=c,w=g?1:-1;if(e.setLayout({viewRect:i,r:l}),e.each(r,(function(t,n){var r;if(isNaN(t))e.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:g,cx:a,cy:s,r0:u,r:v?NaN:l});else{(r="area"!==v?0===f&&y?p:t*p:IM/h)n?a:o,c=Math.abs(l.label.y-n);if(c>=u.maxY){var d=l.label.x-e-l.len2*i,h=r+l.len,p=Math.abs(d)t.unconstrainedWidth?null:f:null;r.setStyle("width",p)}var g=r.getBoundingRect();o.width=g.width;var v=(r.style.margin||0)+2.1;o.height=g.height+v,o.y-=(o.height-d)/2}}}function PM(t){return"center"===t.position}function RM(t){var e,n,r=t.getData(),i=[],o=!1,a=(t.get("minShowLabelAngle")||0)*EM,s=r.getLayout("viewRect"),l=r.getLayout("r"),u=s.width,c=s.x,d=s.y,h=s.height;function f(t){t.ignore=!0}r.each((function(t){var s=r.getItemGraphicEl(t),d=s.shape,h=s.getTextContent(),p=s.getTextGuideLine(),g=r.getItemModel(t),v=g.getModel("label"),y=v.get("position")||g.get(["emphasis","label","position"]),m=v.get("distanceToLabelLine"),b=v.get("alignTo"),_=qo(v.get("edgeDistance"),u),x=v.get("bleedMargin"),w=g.getModel("labelLine"),S=w.get("length");S=qo(S,u);var M=w.get("length2");if(M=qo(M,u),Math.abs(d.endAngle-d.startAngle)0?"right":"left":D>0?"left":"right"}var z=Math.PI,V=0,B=v.get("rotate");if(Object(hn.z)(B))V=B*(z/180);else if("center"===y)V=0;else if("radial"===B||!0===B){V=D<0?-A+z:-A}else if("tangential"===B&&"outside"!==y&&"outer"!==y){var F=Math.atan2(D,k);F<0&&(F=2*z+F),k>0&&(F=z+F),V=F-z}if(o=!!V,h.x=O,h.y=C,h.rotation=V,h.setStyle({verticalAlign:"middle"}),j){h.setStyle({align:T});var H=h.states.select;H&&(H.x+=h.x,H.y+=h.y)}else{var W=h.getBoundingRect().clone();W.applyTransform(h.getComputedTransform());var U=(h.style.margin||0)+2.1;W.y-=U/2,W.height+=U,i.push({label:h,labelLine:p,position:y,len:S,len2:M,minTurnAngle:w.get("minTurnAngle"),maxSurfaceAngle:w.get("maxSurfaceAngle"),surfaceNormal:new lo(D,k),linePoints:I,textAlign:T,labelDistance:m,labelAlignTo:b,edgeDistance:_,bleedMargin:x,rect:W,unconstrainedWidth:W.width,labelStyleWidth:h.style.width})}s.setTextConfig({inside:j})}})),!o&&t.get("avoidLabelOverlap")&&function(t,e,n,r,i,o,a,s){for(var l=[],u=[],c=Number.MAX_VALUE,d=-Number.MAX_VALUE,h=0;h0){for(var l=o.getItemLayout(0),u=1;isNaN(l&&l.startAngle)&&u=n.r0}},e.type="pie",e}(vy),FM=BM;function HM(t,e,n){e=Object(hn.t)(e)&&{coordDimensions:e}||Object(hn.m)({encodeDefine:t.getEncode()},e);var r=t.getSource(),i=Hw(r,e).dimensions,o=new Fw(i,t);return o.initData(r,n),o}var WM=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}(),UM=WM,GM=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return cn(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new UM(hn.c(this.getData,this),hn.c(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.mergeOption=function(){t.prototype.mergeOption.apply(this,arguments)},e.prototype.getInitialData=function(){return HM(this,{coordDimensions:["value"],encodeDefaulter:hn.h(bh,this)})},e.prototype.getDataParams=function(e){var n=this.getData(),r=t.prototype.getDataParams.call(this,e),i=[];return n.each(n.mapDimension("value"),(function(t){i.push(t)})),r.percent=function(t,e,n){if(!t[e])return 0;var r=hn.N(t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===r)return 0;for(var i=Math.pow(10,n),o=hn.H(t,(function(t){return(isNaN(t)?0:t)/r*i*100})),a=100*i,s=hn.H(o,(function(t){return Math.floor(t)})),l=hn.N(s,(function(t,e){return t+e}),0),u=hn.H(o,(function(t,e){return t-s[e]}));lc&&(c=u[h],d=h);++s[d],u[d]=0,++l}return s[e]/i}(i,e,n.hostModel.get("percentPrecision")),r.$vars.push("percent"),r},e.prototype._defaultLabelLine=function(t){_a(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}(eg),YM=GM;function $M(t){t.registerChartView(FM),t.registerSeriesModel(YM),dm("pie",t.registerAction),t.registerLayout(Object(hn.h)(kM,"pie")),t.registerProcessor(jM("pie")),t.registerProcessor(function(t){return{seriesType:t,reset:function(t,e){var n=t.getData();n.filterSelf((function(t){var e=n.mapDimension("value"),r=n.get(e,t);return!(Object(hn.z)(r)&&!isNaN(r)&&r<0)}))}}}("pie"))}var XM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return cn(e,t),e.prototype.getInitialData=function(t,e){return qw(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}(eg),ZM=XM,qM=function(){},QM=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return cn(e,t),e.prototype.getDefaultShape=function(){return new qM},e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.buildPath=function(t,e){var n,r=e.points,i=e.size,o=this.symbolProxy,a=o.shape,s=t.getContext?t.getContext():t,l=s&&i[0]<4,u=this.softClipShape;if(l)this._ctx=s;else{for(this._ctx=null,n=this._off;n=0;s--){var l=2*s,u=r[l]-o/2,c=r[l+1]-a/2;if(t>=u&&e>=c&&t<=u+o&&e<=c+a)return s}return-1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),r=this.getBoundingRect();return t=n[0],e=n[1],r.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,r=e.size,i=r[0],o=r[1],a=1/0,s=1/0,l=-1/0,u=-1/0,c=0;c=0&&(l.dataIndex=n+(t.startIndex||0))}))},t.prototype.remove=function(){this._clear()},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),KM=JM,tO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return cn(e,t),e.prototype.render=function(t,e,n){var r=t.getData();this._updateSymbolDraw(r,t).updateData(r,{clipShape:this._getClipShape(t)}),this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var r=t.getData();this._updateSymbolDraw(r,t).incrementalPrepareUpdate(r),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 r=t.getData();if(this.group.dirty(),!this._finished||r.count()>1e4)return{update:!0};var i=VS("").reset(t,e,n);i.progress&&i.progress({start:0,end:r.count(),count:r.count()},r),this._symbolDraw.updateLayout(r)},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,r=e.pipelineContext.large;return n&&r===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=r?new KM:new lS,this._isLargeDraw=r,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}(vy),eO=tO,nO=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return cn(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}(eh),rO=nO,iO=function(){function t(){}return t.prototype.getNeedCrossZero=function(){return!this.option.scale},t.prototype.getCoordSysModel=function(){},t}(),oO=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return cn(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",Na).models[0]},e.type="cartesian2dAxis",e}(eh);hn.K(oO,iO);var aO={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)"]}}},sO=hn.I({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},aO),lO=hn.I({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}}},aO),uO={category:sO,value:lO,time:hn.I({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},lO),log:hn.i({logBase:10},lO)},cO=0,dO=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++cO}return t.createByAxisModel=function(e){var n=e.option,r=n.data,i=r&&Object(hn.H)(r,hO);return new t({categories:i,needCollect:!i,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(hn.C)(t)&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var r=this._getOrCreateMap();return null==(e=r.get(t))&&(n?(e=this.categories.length,this.categories[e]=t,r.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=Object(hn.f)(this.categories))},t}();function hO(t){return Object(hn.A)(t)&&null!=t.value?t.value:t+""}var fO=dO,pO={value:1,category:1,time:1,log:1};function gO(t,e,n,r){Object(hn.k)(pO,(function(i,o){var a=Object(hn.I)(Object(hn.I)({},uO[o],!0),r,!0),s=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e+"Axis."+o,n}return cn(n,t),n.prototype.mergeDefaultAndTheme=function(t,e){var n=Zd(this),r=n?Qd(t):{},i=e.getTheme();Object(hn.I)(t,i.get(o+"Axis")),Object(hn.I)(t,this.getDefaultOption()),t.type=vO(t),n&&qd(t,r,n)},n.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=fO.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",vO)}function vO(t){return t.type||(t.data?"category":"value")}var yO=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[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}();Za(yO);var mO=yO;function bO(t){return"interval"===t.type||"log"===t.type}function _O(t,e,n,r){var i={},o=t[1]-t[0],a=i.interval=la(o/e,!0);null!=n&&ar&&(a=i.interval=r);var s=i.intervalPrecision=wO(a);return function(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),SO(t,0,e),SO(t,1,e),t[0]>t[1]&&(t[0]=t[1])}(i.niceTickExtent=[Qo(Math.ceil(t[0]/a)*a,s),Qo(Math.floor(t[1]/a)*a,s)],t),i}function xO(t){var e=Math.pow(10,sa(t)),n=t/e;return n?2===n?n=3:3===n?n=5:n*=2:n=1,Qo(n*e)}function wO(t){return Ko(t)+2}function SO(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function MO(t,e){return t>=e[0]&&t<=e[1]}function OO(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function CO(t,e){return t*(e[1]-e[0])+e[0]}var IO=function(t){function e(e){var n=t.call(this,e)||this;n.type="ordinal";var r=n.getSetting("ordinalMeta");return r||(r=new fO({})),Object(hn.t)(r)&&(r=new fO({categories:Object(hn.H)(r,(function(t){return Object(hn.A)(t)?t.value:t}))})),n._ordinalMeta=r,n._extent=n.getSetting("extent")||[0,r.categories.length-1],n}return cn(e,t),e.prototype.parse=function(t){return null==t?NaN:Object(hn.C)(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},e.prototype.contain=function(t){return MO(t=this.parse(t),this._extent)&&null!=this._ordinalMeta.categories[t]},e.prototype.normalize=function(t){return OO(t=this._getTickNumber(this.parse(t)),this._extent)},e.prototype.scale=function(t){return t=Math.round(CO(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=[],r=this._ticksByOrdinalNumber=[],i=0,o=this._ordinalMeta.categories.length,a=Math.min(o,e.length);i=0&&t=0&&t=t},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.calcNiceTicks=function(){},e.prototype.calcNiceExtent=function(){},e.type="ordinal",e}(mO);mO.registerClass(IO);var TO=IO,AO=Qo,DO=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 cn(e,t),e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return MO(t,this._extent)},e.prototype.normalize=function(t){return OO(t,this._extent)},e.prototype.scale=function(t){return CO(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[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=wO(t)},e.prototype.getTicks=function(t){var e=this._interval,n=this._extent,r=this._niceExtent,i=this._intervalPrecision,o=[];if(!e)return o;n[0]1e4)return[];var s=o.length?o[o.length-1].value:r[1];return n[1]>s&&(t?o.push({value:AO(s+e,i)}):o.push({value:n[1]})),o},e.prototype.getMinorTicks=function(t){for(var e=this.getTicks(!0),n=[],r=this.getExtent(),i=1;ir[0]&&c0)for(var s=0;s=0;--s)if(l[u]){o=l[u];break}o=o||a.none}if(hn.t(o)){var c=null==t.level?0:t.level>=0?t.level:o.length+t.level;o=o[c=Math.min(c,o.length-1)]}}return fd(new Date(t.value),o,i,r)}(t,e,n,this.getSetting("locale"),r)},e.prototype.getTicks=function(){var t=this._interval,e=this._extent,n=[];if(!t)return n;n.push({value:e[0],level:0});var r=this.getSetting("useUTC"),i=function(t,e,n,r){var i=1e4,o=ud,a=0;function s(t,e,n,i,o,a,s){for(var l=new Date(e),u=e,c=l[i]();u1&&0===u&&o.unshift({value:o[0].value-h})}}for(u=0;u=r[0]&&y<=r[1]&&d++)}var m=(r[1]-r[0])/e;if(d>1.5*m&&h>m/1.5)break;if(u.push(g),d>m||t===o[f])break}c=[]}}var b=Object(hn.n)(Object(hn.H)(u,(function(t){return Object(hn.n)(t,(function(t){return t.value>=r[0]&&t.value<=r[1]&&!t.notAdd}))})),(function(t){return t.length>0})),_=[],x=b.length-1;for(f=0;fn&&(this._approxInterval=n);var o=EO.length,a=Math.min(function(t,e,n,r){for(;n>>1;t[i][1]16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function NO(t){return(t/=2592e6)>6?6:t>3?3:t>2?2:1}function PO(t){return(t/=nd)>12?12:t>6?6:t>3.5?4:t>2?2:1}function RO(t,e){return(t/=e?ed:td)>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function zO(t){return la(t,!0)}function VO(t,e,n){var r=new Date(t);switch(dd(e)){case"year":case"month":r[Md(n)](0);case"day":r[Od(n)](1);case"hour":r[Cd(n)](0);case"minute":r[Id(n)](0);case"second":r[Td(n)](0),r[Ad(n)](0)}return r.getTime()}mO.registerClass(jO);var BO=jO,FO=mO.prototype,HO=kO.prototype,WO=Qo,UO=Math.floor,GO=Math.ceil,YO=Math.pow,$O=Math.log,XO=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new kO,e._interval=0,e}return cn(e,t),e.prototype.getTicks=function(t){var e=this._originalScale,n=this._extent,r=e.getExtent(),i=HO.getTicks.call(this,t);return hn.H(i,(function(t){var e=t.value,i=Qo(YO(this.base,e));return i=e===n[0]&&this._fixMin?qO(i,r[0]):i,{value:i=e===n[1]&&this._fixMax?qO(i,r[1]):i}}),this)},e.prototype.setExtent=function(t,e){var n=this.base;t=$O(t)/$O(n),e=$O(e)/$O(n),HO.setExtent.call(this,t,e)},e.prototype.getExtent=function(){var t=this.base,e=FO.getExtent.call(this);e[0]=YO(t,e[0]),e[1]=YO(t,e[1]);var n=this._originalScale.getExtent();return this._fixMin&&(e[0]=qO(e[0],n[0])),this._fixMax&&(e[1]=qO(e[1],n[1])),e},e.prototype.unionExtent=function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=$O(t[0])/$O(e),t[1]=$O(t[1])/$O(e),FO.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 r=function(t){return Math.pow(10,sa(t))}(n);for(t/n*r<=.5&&(r*=10);!isNaN(r)&&Math.abs(r)<1&&Math.abs(r)>0;)r*=10;var i=[Qo(GO(e[0]/r)*r),Qo(UO(e[1]/r)*r)];this._interval=r,this._niceExtent=i}},e.prototype.calcNiceExtent=function(t){HO.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 MO(t=$O(t)/$O(this.base),this._extent)},e.prototype.normalize=function(t){return OO(t=$O(t)/$O(this.base),this._extent)},e.prototype.scale=function(t){return t=CO(t,this._extent),YO(this.base,t)},e.type="log",e}(mO),ZO=XO.prototype;function qO(t,e){return WO(t,Ko(e))}ZO.getMinorTicks=HO.getMinorTicks,ZO.getLabel=HO.getLabel,mO.registerClass(XO);var QO=XO,JO=function(){function t(t,e,n){this._prepareParams(t,e,n)}return t.prototype._prepareParams=function(t,e,n){n[1]0&&s>0&&!l&&(a=0),a<0&&s<0&&!u&&(s=0));var d=this._determinedMin,h=this._determinedMax;return null!=d&&(a=d,l=!0),null!=h&&(s=h,u=!0),{min:a,max:s,minFixed:l,maxFixed:u,isBlank:c}},t.prototype.modifyDataMinMax=function(t,e){this[tC[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){this[KO[t]]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),KO={min:"_determinedMin",max:"_determinedMax"},tC={min:"_dataMin",max:"_dataMax"};function eC(t,e,n){var r=t.rawExtentInfo;return r||(r=new JO(t,e,n),t.rawExtentInfo=r,r)}function nC(t,e){return null==e?null:Object(hn.l)(e)?NaN:t.parse(e)}function rC(t,e){var n=t.type,r=eC(t,e,t.getExtent()).calculate();t.setBlank(r.isBlank);var i=r.min,o=r.max,a=e.ecModel;if(a&&"time"===n){var s=YS("bar",a),l=!1;if(hn.k(s,(function(t){l=l||t.getBaseAxis()===e.axis})),l){var u=$S(s),c=function(t,e,n,r){var i=n.axis.getExtent(),o=i[1]-i[0],a=function(t,e,n){if(t&&e){var r=t[GS(e)];return null!=r&&null!=n?r[US(n)]:r}}(r,n.axis);if(void 0===a)return{min:t,max:e};var s=1/0;hn.k(a,(function(t){s=Math.min(t.offset,s)}));var l=-1/0;hn.k(a,(function(t){l=Math.max(t.offset+t.width,l)})),s=Math.abs(s),l=Math.abs(l);var u=s+l,c=e-t,d=c/(1-(s+l)/o)-c;return{min:t-=d*(s/u),max:e+=d*(l/u)}}(i,o,e,u);i=c.min,o=c.max}}return{extent:[i,o],fixMin:r.minFixed,fixMax:r.maxFixed}}function iC(t,e){var n=e,r=rC(t,n),i=r.extent,o=n.get("splitNumber");t instanceof QO&&(t.base=n.get("logBase"));var a=t.type,s=n.get("interval"),l="interval"===a||"time"===a;t.setExtent(i[0],i[1]),t.calcNiceExtent({splitNumber:o,fixMin:r.fixMin,fixMax:r.fixMax,minInterval:l?n.get("minInterval"):null,maxInterval:l?n.get("maxInterval"):null}),null!=s&&t.setInterval&&t.setInterval(s)}function oC(t,e){if(e=e||t.get("type"))switch(e){case"category":return new TO({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new BO({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(mO.getClass(e)||kO)}}function aC(t){var e=t.getLabelModel().get("formatter"),n="category"===t.type?t.scale.getExtent()[0]:null;return"time"===t.scale.type?function(e){return function(n,r){return t.scale.getFormattedLabel(n,r,e)}}(e):hn.C(e)?function(e){return function(n){var r=t.scale.getLabel(n);return e.replace("{value}",null!=r?r:"")}}(e):hn.w(e)?function(e){return function(r,i){return null!=n&&(i=r.value-n),e(sC(t,r),i,null!=r.level?{level:r.level}:null)}}(e):function(e){return t.scale.getLabel(e)}}function sC(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function lC(t,e){var n=e*Math.PI/180,r=t.width,i=t.height,o=r*Math.abs(Math.cos(n))+Math.abs(i*Math.sin(n)),a=r*Math.abs(Math.sin(n))+Math.abs(i*Math.cos(n));return new bo(t.x,t.y,o,a)}function uC(t){var e=t.get("interval");return null==e?"auto":e}function cC(t){return"category"===t.type&&0===uC(t.getLabelModel())}function dC(t,e){var n={};return hn.k(t.mapDimensionsAll(e),(function(e){n[Zw(t,e)]=!0})),hn.F(n)}var hC=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 hn.H(this._dimList,(function(t){return this._axes[t]}),this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),hn.n(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}(),fC=["x","y"];function pC(t){return"interval"===t.type||"time"===t.type}var gC=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=fC,e}return cn(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(pC(t)&&pC(e)){var n=t.getExtent(),r=e.getExtent(),i=this.dataToPoint([n[0],r[0]]),o=this.dataToPoint([n[1],r[1]]),a=n[1]-n[0],s=r[1]-r[0];if(a&&s){var l=(o[0]-i[0])/a,u=(o[1]-i[1])/s,c=i[0]-n[0]*l,d=i[1]-r[0]*u,h=this._transform=[l,0,0,u,c,d];this._invTransform=Zi([],h)}}},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.dataToPoint=function(t,e,n){n=n||[];var r=t[0],i=t[1];if(this._transform&&null!=r&&isFinite(r)&&null!=i&&isFinite(i))return An(n,t,this._transform);var o=this.getAxis("x"),a=this.getAxis("y");return n[0]=o.toGlobalCoord(o.dataToCoord(r,e)),n[1]=a.toGlobalCoord(a.dataToCoord(i,e)),n},e.prototype.clampData=function(t,e){var n=this.getAxis("x").scale,r=this.getAxis("y").scale,i=n.getExtent(),o=r.getExtent(),a=n.parse(t[0]),s=r.parse(t[1]);return(e=e||[])[0]=Math.min(Math.max(Math.min(i[0],i[1]),a),Math.max(i[0],i[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 An(n,t,this._invTransform);var r=this.getAxis("x"),i=this.getAxis("y");return n[0]=r.coordToData(r.toLocalCoord(t[0]),e),n[1]=i.coordToData(i.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]),r=Math.min(e[0],e[1]),i=Math.max(t[0],t[1])-n,o=Math.max(e[0],e[1])-r;return new bo(n,r,i,o)},e}(hC),vC=gC,yC=ka();function mC(t){return"category"===t.type?function(t){var e=t.getLabelModel(),n=_C(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}(t):function(t){var e=t.scale.getTicks(),n=aC(t);return{labels:hn.H(e,(function(e,r){return{level:e.level,formattedLabel:n(e,r),rawLabel:t.scale.getLabel(e),tickValue:e.value}}))}}(t)}function bC(t,e){return"category"===t.type?function(t,e){var n,r,i=xC(t,"ticks"),o=uC(e),a=wC(i,o);if(a)return a;if(e.get("show")&&!t.scale.isBlank()||(n=[]),hn.w(o))n=OC(t,o,!0);else if("auto"===o){var s=_C(t,t.getLabelModel());r=s.labelCategoryInterval,n=hn.H(s.labels,(function(t){return t.tickValue}))}else n=MC(t,r=o,!0);return SC(i,o,{ticks:n,tickCategoryInterval:r})}(t,e):{ticks:hn.H(t.scale.getTicks(),(function(t){return t.value}))}}function _C(t,e){var n,r,i=xC(t,"labels"),o=uC(e);return wC(i,o)||(hn.w(o)?n=OC(t,o):(r="auto"===o?function(t){var e=yC(t).autoInterval;return null!=e?e:yC(t).autoInterval=t.calculateCategoryInterval()}(t):o,n=MC(t,r)),SC(i,o,{labels:n,labelCategoryInterval:r}))}function xC(t,e){return yC(t)[e]||(yC(t)[e]=[])}function wC(t,e){for(var n=0;n1&&c/l>2&&(u=Math.round(Math.ceil(u/l)*l));var d=cC(t),h=a.get("showMinLabel")||d,f=a.get("showMaxLabel")||d;h&&u!==o[0]&&g(o[0]);for(var p=u;p<=o[1];p+=l)g(p);function g(t){var e={value:t};s.push(n?t:{formattedLabel:r(e),rawLabel:i.getLabel(e),tickValue:t})}return f&&p-l!==o[1]&&g(o[1]),s}function OC(t,e,n){var r=t.scale,i=aC(t),o=[];return hn.k(r.getTicks(),(function(t){var a=r.getLabel(t),s=t.value;e(t.value,a)&&o.push(n?s:{formattedLabel:i(t),rawLabel:a,tickValue:s})})),o}var CC=[0,1],IC=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]),r=Math.max(e[0],e[1]);return t>=n&&t<=r},t.prototype.containData=function(t){return this.scale.contain(t)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(t){return ta(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,r=this.scale;return t=r.normalize(t),this.onBand&&"ordinal"===r.type&&TC(n=n.slice(),r.count()),Zo(t,CC,n,e)},t.prototype.coordToData=function(t,e){var n=this._extent,r=this.scale;this.onBand&&"ordinal"===r.type&&TC(n=n.slice(),r.count());var i=Zo(t,n,CC,e);return this.scale.scale(i)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){var e=(t=t||{}).tickModel||this.getTickModel(),n=bC(this,e).ticks,r=Object(hn.H)(n,(function(t){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(t):t),tickValue:t}}),this);return function(t,e,n,r){var i=e.length;if(t.onBand&&!n&&i){var o,a,s=t.getExtent();if(1===i)e[0].coord=s[0],o=e[1]={coord:s[0]};else{var l=e[i-1].tickValue-e[0].tickValue,u=(e[i-1].coord-e[0].coord)/l;Object(hn.k)(e,(function(t){t.coord-=u/2})),a=1+t.scale.getExtent()[1]-e[i-1].tickValue,o={coord:e[i-1].coord+u*a},e.push(o)}var c=s[0]>s[1];d(e[0].coord,s[0])&&(r?e[0].coord=s[0]:e.shift()),r&&d(s[0],e[0].coord)&&e.unshift({coord:s[0]}),d(s[1],o.coord)&&(r?o.coord=s[1]:e.pop()),r&&d(o.coord,s[1])&&e.push({coord:s[1]})}function d(t,e){return t=Qo(t),e=Qo(e),c?t>e:t0&&t<100||(t=5);var e=this.scale.getMinorTicks(t),n=Object(hn.H)(e,(function(t){return Object(hn.H)(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this);return n},t.prototype.getViewLabels=function(){return mC(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 r=Math.abs(t[1]-t[0]);return Math.abs(r)/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=aC(t),r=(e.axisRotate-e.labelRotate)/180*Math.PI,i=t.scale,o=i.getExtent(),a=i.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],u=t.dataToCoord(l+1)-t.dataToCoord(l),c=Math.abs(u*Math.cos(r)),d=Math.abs(u*Math.sin(r)),h=0,f=0;l<=o[1];l+=s){var p,g,v=Oo(n({value:l}),e.font,"center","top");p=1.3*v.width,g=1.3*v.height,h=Math.max(h,p,7),f=Math.max(f,g,7)}var y=h/c,m=f/d;isNaN(y)&&(y=1/0),isNaN(m)&&(m=1/0);var b=Math.max(0,Math.floor(Math.min(y,m))),_=yC(t.model),x=t.getExtent(),w=_.lastAutoInterval,S=_.lastTickCount;return null!=w&&null!=S&&Math.abs(w-b)<=1&&Math.abs(S-a)<=1&&w>b&&_.axisExtent0===x[0]&&_.axisExtent1===x[1]?b=w:(_.lastTickCount=a,_.lastAutoInterval=b,_.axisExtent0=x[0],_.axisExtent1=x[1]),b}(this)},t}();function TC(t,e){var n=(t[1]-t[0])/e/2;t[0]+=n,t[1]-=n}var AC=IC,DC=function(t){function e(e,n,r,i,o){var a=t.call(this,e,n,r)||this;return a.index=0,a.type=i||"value",a.position=o||"bottom",a}return cn(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}(AC),kC=DC;function jC(t,e,n){n=n||{};var r=t.coordinateSystem,i=e.axis,o={},a=i.getAxesOnZeroOf()[0],s=i.position,l=a?"onZero":s,u=i.dim,c=r.getRect(),d=[c.x,c.x+c.width,c.y,c.y+c.height],h={left:0,right:1,top:0,bottom:1,onZero:2},f=e.get("offset")||0,p="x"===u?[d[2]-f,d[3]+f]:[d[0]-f,d[1]+f];if(a){var g=a.toGlobalCoord(a.dataToCoord(0));p[h.onZero]=Math.max(Math.min(g,p[1]),p[0])}o.position=["y"===u?p[h[l]]:d[0],"x"===u?p[h[l]]:d[3]],o.rotation=Math.PI/2*("x"===u?0:1);o.labelDirection=o.tickDirection=o.nameDirection={top:-1,bottom:1,left:-1,right:1}[s],o.labelOffset=a?p[h[s]]-p[h.onZero]:0,e.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),hn.O(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 EC(t){return"cartesian2d"===t.get("coordinateSystem")}function LC(t){var e={xAxisModel:null,yAxisModel:null};return hn.k(e,(function(n,r){var i=r.replace(/Model$/,""),o=t.getReferringComponents(i,Na).models[0];e[r]=o})),e}var NC=Math.log;function PC(t,e,n){var r=kO.prototype,i=r.getTicks.call(n),o=r.getTicks.call(n,!0),a=i.length-1,s=r.getInterval.call(n),l=rC(t,e),u=l.extent,c=l.fixMin,d=l.fixMax;if("log"===t.type){var h=NC(t.base);u=[NC(u[0])/h,NC(u[1])/h]}t.setExtent(u[0],u[1]),t.calcNiceExtent({splitNumber:a,fixMin:c,fixMax:d});var f=r.getExtent.call(t);c&&(u[0]=f[0]),d&&(u[1]=f[1]);var p=r.getInterval.call(t),g=u[0],v=u[1];if(c&&d)p=(v-g)/a;else if(c)for(v=u[0]+p*a;vu[0]&&isFinite(g)&&isFinite(u[0]);)p=xO(p),g=u[1]-p*a;else{t.getTicks().length-1>a&&(p=xO(p));var y=p*a;(g=Qo((v=Math.ceil(u[1]/p)*p)-y))<0&&u[0]>=0?(g=0,v=Qo(y)):v>0&&u[1]<=0&&(v=0,g=-Qo(y))}var m=(i[0].value-o[0].value)/s,b=(i[a].value-o[a].value)/s;r.setExtent.call(t,g+p*m,v+p*b),r.setInterval.call(t,p),(m||b)&&r.setNiceExtent.call(t,g+p,v-p)}var RC=function(){function t(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=fC,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 r(t){var e,n=Object(hn.F)(t),r=n.length;if(r){for(var i=[],o=r-1;o>=0;o--){var a=t[+n[o]],s=a.model,l=a.scale;bO(l)&&s.get("alignTicks")&&null==s.get("interval")?i.push(a):(iC(l,s),bO(l)&&(e=a))}i.length&&(e||iC((e=i.pop()).scale,e.model),Object(hn.k)(i,(function(t){PC(t.scale,t.model,e.scale)})))}}this._updateScale(t,this.model),r(n.x),r(n.y);var i={};Object(hn.k)(n.x,(function(t){VC(n,"y",t,i)})),Object(hn.k)(n.y,(function(t){VC(n,"x",t,i)})),this.resize(this.model,e)},t.prototype.resize=function(t,e,n){var r=t.getBoxLayoutParams(),i=!n&&t.get("containLabel"),o=$d(r,{width:e.getWidth(),height:e.getHeight()});this._rect=o;var a=this._axesList;function s(){Object(hn.k)(a,(function(t){var e=t.isHorizontal(),n=e?[0,o.width]:[0,o.height],r=t.inverse?1:0;t.setExtent(n[r],n[1-r]),function(t,e){var n=t.getExtent(),r=n[0]+n[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return r-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return r-t+e}}(t,e?o.x:o.y)}))}s(),i&&(Object(hn.k)(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 r,i,o=n.getExtent();i=n instanceof TO?n.count():(r=n.getTicks()).length;var a,s=t.getLabelModel(),l=aC(t),u=1;i>40&&(u=Math.ceil(i/40));for(var c=0;c0&&r>0||n<0&&r<0)}(t)}var FC=RC,HC=Math.PI,WC=function(){function t(t,e){this.group=new Wo,this.opt=e,this.axisModel=t,Object(hn.i)(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new Wo({x:e.position[0],y:e.position[1],rotation:e.rotation});n.updateTransform(),this._transformGroup=n}return t.prototype.hasBuilder=function(t){return!!UC[t]},t.prototype.add=function(t){UC[t](this.opt,this.axisModel,this.group,this._transformGroup)},t.prototype.getGroup=function(){return this.group},t.innerTextLayout=function(t,e,n){var r,i,o=ra(e-t);return ia(o)?(i=n>0?"top":"bottom",r="center"):ia(o-HC)?(i=n>0?"bottom":"top",r="center"):(i="middle",r=o>0&&o0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:r,textVerticalAlign:i}},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}(),UC={axisLine:function(t,e,n,r){var i=e.get(["axisLine","show"]);if("auto"===i&&t.handleAutoShown&&(i=t.handleAutoShown("axisLine")),i){var o=e.axis.getExtent(),a=r.transform,s=[o[0],0],l=[o[1],0];a&&(An(s,s,a),An(l,l,a));var u=Object(hn.m)({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),c=new av({subPixelOptimize:!0,shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:u,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});c.anid="line",n.add(c);var d=e.get(["axisLine","symbol"]);if(null!=d){var h=e.get(["axisLine","symbolSize"]);Object(hn.C)(d)&&(d=[d,d]),(Object(hn.C)(h)||Object(hn.z)(h))&&(h=[h,h]);var f=Am(e.get(["axisLine","symbolOffset"])||0,h),p=h[0],g=h[1];Object(hn.k)([{rotate:t.rotation+Math.PI/2,offset:f[0],r:0},{rotate:t.rotation-Math.PI/2,offset:f[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],(function(e,r){if("none"!==d[r]&&null!=d[r]){var i=Im(d[r],-p/2,-g/2,p,g,u.stroke,!0),o=e.r+e.offset;i.attr({rotation:e.rotate,x:s[0]+o*Math.cos(t.rotation),y:s[1]-o*Math.sin(t.rotation),silent:!0,z2:11}),n.add(i)}}))}}},axisTickLabel:function(t,e,n,r){var i=function(t,e,n,r){var i=n.axis,o=n.getModel("axisTick"),a=o.get("show");if("auto"===a&&r.handleAutoShown&&(a=r.handleAutoShown("axisTick")),a&&!i.scale.isBlank()){for(var s=o.getModel("lineStyle"),l=r.tickDirection*o.get("length"),u=XC(i.getTicksCoords(),e.transform,l,Object(hn.i)(s.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),c=0;cd[1]?-1:1,f=["start"===s?d[0]-h*c:"end"===s?d[1]+h*c:(d[0]+d[1])/2,$C(s)?t.labelOffset+l*c:0],p=e.get("nameRotate");null!=p&&(p=p*HC/180),$C(s)?o=WC.innerTextLayout(t.rotation,null!=p?p:t.rotation,l):(o=function(t,e,n,r){var i,o,a=ra(n-t),s=r[0]>r[1],l="start"===e&&!s||"start"!==e&&s;return ia(a-HC/2)?(o=l?"bottom":"top",i="center"):ia(a-1.5*HC)?(o=l?"top":"bottom",i="center"):(o="middle",i=a<1.5*HC&&a>HC/2?l?"left":"right":l?"right":"left"),{rotation:a,textAlign:i,textVerticalAlign:o}}(t.rotation,s,p||0,d),null!=(a=t.axisNameAvailableWidth)&&(a=Math.abs(a/Math.sin(o.rotation)),!isFinite(a)&&(a=null)));var g=u.getFont(),v=e.get("nameTruncate",!0)||{},y=v.ellipsis,m=Object(hn.O)(t.nameTruncateMaxWidth,v.maxWidth,a),b=new iu({x:f[0],y:f[1],rotation:o.rotation,silent:WC.isLabelSilent(e),style:_c(u,{text:i,font:g,overflow:"truncate",width:m,ellipsis:y,fill:u.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:u.get("align")||o.textAlign,verticalAlign:u.get("verticalAlign")||o.textVerticalAlign}),z2:1});if(oy({el:b,componentModel:e,itemName:i}),b.__fullText=i,b.anid="name",e.get("triggerEvent")){var _=WC.makeAxisEventDataBase(e);_.targetType="axisName",_.name=i,ou(b).eventData=_}r.add(b),b.updateTransform(),n.add(b),b.decomposeTransform()}}};function GC(t){t&&(t.ignore=!0)}function YC(t,e){var n=t&&t.getBoundingRect().clone(),r=e&&e.getBoundingRect().clone();if(n&&r){var i=Wi([]);return $i(i,i,-t.rotation),n.applyTransform(Gi([],i,t.getLocalTransform())),r.applyTransform(Gi([],i,e.getLocalTransform())),n.intersect(r)}}function $C(t){return"middle"===t||"center"===t}function XC(t,e,n,r,i){for(var o=[],a=[],s=[],l=0;l=0||t===e}function JC(t){var e=KC(t);if(e){var n=e.axisPointerModel,r=e.axis.scale,i=n.option,o=n.get("status"),a=n.get("value");null!=a&&(a=r.parse(a));var s=tI(n);null==o&&(i.status=s?"show":"hide");var l=r.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==a||a>l[1])&&(a=l[1]),a0&&!d.min?d.min=0:null!=d.min&&d.min<0&&!d.max&&(d.max=0);var h=a;null!=d.color&&(h=hn.i({color:d.color},a));var f=hn.I(hn.d(d),{boundaryGap:t,splitNumber:e,scale:n,axisLine:r,axisTick:i,axisLabel:o,name:d.text,showName:s,nameLocation:"end",nameGap:u,nameTextStyle:h,triggerEvent:c},!1);if(s||(f.name=""),hn.C(l)){var p=f.name;f.name=l.replace("{value}",null!=p?p:"")}else hn.w(l)&&(f.name=l(f.name,f));var g=new Hc(f,null,this.ecModel);return hn.K(g,iO.prototype),g.mainType="radar",g.componentIndex=this.componentIndex,g}),this);this._indicatorModels=d},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:hn.I({lineStyle:{color:"#bbb"}},OI.axisLine),axisLabel:CI(OI.axisLabel,!1),axisTick:CI(OI.axisTick,!1),splitLine:CI(OI.splitLine,!0),splitArea:CI(OI.splitArea,!0),indicator:[]},e}(eh),TI=II,AI=["axisLine","axisTickLabel","axisName"],DI=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return cn(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(),r=hn.H(n,(function(t){var n=t.model.get("showName")?t.name:"";return new ZC(t.model,{axisName:n,position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})}));hn.k(r,(function(t){hn.k(AI,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 r=t.get("shape"),i=t.getModel("splitLine"),o=t.getModel("splitArea"),a=i.getModel("lineStyle"),s=o.getModel("areaStyle"),l=i.get("show"),u=o.get("show"),c=a.get("color"),d=s.get("color"),h=hn.t(c)?c:[c],f=hn.t(d)?d:[d],p=[],g=[];if("circle"===r)for(var v=n[0].getTicksCoords(),y=e.cx,m=e.cy,b=0;b3?1.4:i>1?1.2:1.1;FI(this,"zoom","zoomOnMouseWheel",t,{scale:r>0?s:1/s,originX:o,originY:a,isAvailableBehavior:null})}if(n){var l=Math.abs(r);FI(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(r>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:o,originY:a,isAvailableBehavior:null})}}},e.prototype._pinchHandler=function(t){zI(this._zr,"globalPan")||FI(this,"zoom",null,t,{scale:t.pinchScale>1?1.1:1/1.1,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})},e}(Pn);function FI(t,e,n,r,i){t.pointerChecker&&t.pointerChecker(r,i.originX,i.originY)&&(Kn(r.event),HI(t,e,n,r,i))}function HI(t,e,n,r,i){i.isAvailableBehavior=Object(hn.c)(WI,null,n,r),t.trigger(e,i)}function WI(t,e,n){var r=n[t];return!t||r&&(!Object(hn.C)(r)||e.event[r+"Key"])}var UI=BI;function GI(t,e,n){var r=t.target;r.x+=e,r.y+=n,r.dirty()}function YI(t,e,n,r){var i=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 u=a/t.zoom;t.zoom=a,i.x-=(n-i.x)*(u-1),i.y-=(r-i.y)*(u-1),i.scaleX*=u,i.scaleY*=u,i.dirty()}var $I,XI={axisPointer:1,tooltip:1,brush:1};function ZI(t,e,n){var r=e.getComponentByElement(t.topTarget),i=r&&r.coordinateSystem;return r&&r!==n&&!XI.hasOwnProperty(r.mainType)&&i&&i.model!==n}function qI(t){Object(hn.C)(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 QI={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"},JI=Object(hn.F)(QI),KI={"alignment-baseline":"textBaseline","stop-color":"stopColor"},tT=Object(hn.F)(KI),eT=function(){function t(){this._defs={},this._root=null}return t.prototype.parse=function(t,e){e=e||{};var n=qI(t);this._defsUsePending=[];var r=new Wo;this._root=r;var i=[],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),sT(n,r,null,!0,!1);for(var l,u,c=n.firstChild;c;)this._parseNode(c,r,i,null,!1,!1),c=c.nextSibling;if(function(t,e){for(var n=0;n=4&&(l={x:parseFloat(d[0]||0),y:parseFloat(d[1]||0),width:parseFloat(d[2]),height:parseFloat(d[3])})}if(l&&null!=a&&null!=s&&(u=vT(l,{x:0,y:0,width:a,height:s}),!e.ignoreViewBox)){var h=r;(r=new Wo).add(h),h.scaleX=h.scaleY=u.scale,h.x=u.x,h.y=u.y}return e.ignoreRootClip||null==a||null==s||r.setClipPath(new Hl({shape:{x:0,y:0,width:a,height:s}})),{root:r,width:a,height:s,viewBoxRect:l,viewBoxTransform:u,named:i}},t.prototype._parseNode=function(t,e,n,r,i,o){var a,s=t.nodeName.toLowerCase(),l=r;if("defs"===s&&(i=!0),"text"===s&&(o=!0),"defs"===s||"switch"===s)a=e;else{if(!i){var u=$I[s];if(u&&Object(hn.q)($I,s)){a=u.call(this,t,e);var c=t.getAttribute("name");if(c){var d={name:c,namedFrom:null,svgNodeTagLower:s,el:a};n.push(d),"g"===s&&(l=d)}else r&&n.push({name:r.name,namedFrom:r,svgNodeTagLower:s,el:a});e.add(a)}}var h=nT[s];if(h&&Object(hn.q)(nT,s)){var f=h.call(this,t),p=t.getAttribute("id");p&&(this._defs[p]=f)}}if(a&&a.isGroup)for(var g=t.firstChild;g;)1===g.nodeType?this._parseNode(g,a,n,l,i,o):3===g.nodeType&&o&&this._parseText(g,a),g=g.nextSibling},t.prototype._parseText=function(t,e){var n=new Dl({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});oT(e,n),sT(t,n,this._defsUsePending,!1,!1),function(t,e){var n=e.__selfStyle;if(n){var r=n.textBaseline,i=r;r&&"auto"!==r?"baseline"===r?i="alphabetic":"before-edge"===r||"text-before-edge"===r?i="top":"after-edge"===r||"text-after-edge"===r?i="bottom":"central"!==r&&"mathematical"!==r||(i="middle"):i="alphabetic",t.style.textBaseline=i}var o=e.__inheritedStyle;if(o){var a=o.textAlign,s=a;a&&("middle"===a&&(s="center"),t.style.textAlign=s)}}(n,e);var r=n.style,i=r.fontSize;i&&i<9&&(r.fontSize=9,n.scaleX*=i/9,n.scaleY*=i/9);var o=(r.fontSize||r.fontFamily)&&[r.fontStyle,r.fontWeight,(r.fontSize||12)+"px",r.fontFamily||"sans-serif"].join(" ");r.font=o;var a=n.getBoundingRect();return this._textX+=a.width,e.add(n),n},t.internalField=void($I={g:function(t,e){var n=new Wo;return oT(e,n),sT(t,n,this._defsUsePending,!1,!1),n},rect:function(t,e){var n=new Hl;return oT(e,n),sT(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 Ig;return oT(e,n),sT(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 av;return oT(e,n),sT(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 Dg;return oT(e,n),sT(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,r=t.getAttribute("points");r&&(n=aT(r));var i=new Kg({shape:{points:n||[]},silent:!0});return oT(e,i),sT(t,i,this._defsUsePending,!1,!1),i},polyline:function(t,e){var n,r=t.getAttribute("points");r&&(n=aT(r));var i=new nv({shape:{points:n||[]},silent:!0});return oT(e,i),sT(t,i,this._defsUsePending,!1,!1),i},image:function(t,e){var n=new Ll;return oT(e,n),sT(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",r=t.getAttribute("y")||"0",i=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(i),this._textY=parseFloat(r)+parseFloat(o);var a=new Wo;return oT(e,a),sT(t,a,this._defsUsePending,!1,!0),a},tspan:function(t,e){var n=t.getAttribute("x"),r=t.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=r&&(this._textY=parseFloat(r));var i=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0",a=new Wo;return oT(e,a),sT(t,a,this._defsUsePending,!1,!0),this._textX+=parseFloat(i),this._textY+=parseFloat(o),a},path:function(t,e){var n=Sg(t.getAttribute("d")||"");return oT(e,n),sT(t,n,this._defsUsePending,!1,!1),n.silent=!0,n}}),t}(),nT={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||"0",10),n=parseInt(t.getAttribute("y1")||"0",10),r=parseInt(t.getAttribute("x2")||"10",10),i=parseInt(t.getAttribute("y2")||"0",10),o=new _v(e,n,r,i);return rT(t,o),iT(t,o),o},radialgradient:function(t){var e=parseInt(t.getAttribute("cx")||"0",10),n=parseInt(t.getAttribute("cy")||"0",10),r=parseInt(t.getAttribute("r")||"0",10),i=new wv(e,n,r);return rT(t,i),iT(t,i),i}};function rT(t,e){"userSpaceOnUse"===t.getAttribute("gradientUnits")&&(e.global=!0)}function iT(t,e){for(var n=t.firstChild;n;){if(1===n.nodeType&&"stop"===n.nodeName.toLocaleLowerCase()){var r,i=n.getAttribute("offset");r=i&&i.indexOf("%")>0?parseInt(i,10)/100:i?parseFloat(i):0;var o={};gT(n,o,o);var a=o.stopColor||n.getAttribute("stop-color")||"#000000";e.colorStops.push({offset:r,color:a})}n=n.nextSibling}}function oT(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),Object(hn.i)(e.__inheritedStyle,t.__inheritedStyle))}function aT(t){for(var e=dT(t),n=[],r=0;r0;o-=2){var a=r[o],s=r[o-1],l=dT(a);switch(i=i||[1,0,0,1,0,0],s){case"translate":Yi(i,i,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":Xi(i,i,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":$i(i,i,-parseFloat(l[0])*fT);break;case"skewX":Gi(i,[1,0,Math.tan(parseFloat(l[0])*fT),1,0,0],i);break;case"skewY":Gi(i,[1,Math.tan(parseFloat(l[0])*fT),0,1,0,0],i);break;case"matrix":i[0]=parseFloat(l[0]),i[1]=parseFloat(l[1]),i[2]=parseFloat(l[2]),i[3]=parseFloat(l[3]),i[4]=parseFloat(l[4]),i[5]=parseFloat(l[5])}}e.setLocalTransform(i)}}(t,e),gT(t,a,s),r||function(t,e,n){for(var r=0;rn&&(t=i,n=a)}if(t)return function(t){for(var e=0,n=0,r=0,i=t.length,o=t[i-1][0],a=t[i-1][1],s=0;s>1^-(1&s),l=l>>1^-(1&l),i=s+=i,o=l+=o,r.push([s/n,l/n])}return r}function kT(t,e){return t=function(t){if(!t.UTF8Encoding)return t;var e=t,n=e.UTF8Scale;null==n&&(n=1024);var r=e.features;return hn.k(r,(function(t){var e=t.geometry,r=e.encodeOffsets,i=e.coordinates;if(r)switch(e.type){case"LineString":e.coordinates=DT(i,r,n);break;case"Polygon":case"MultiLineString":AT(i,r,n);break;case"MultiPolygon":hn.k(i,(function(t,e){return AT(t,r[e],n)}))}})),e.UTF8Encoding=!1,e}(t),hn.H(hn.n(t.features,(function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0})),(function(t){var n=t.properties,r=t.geometry,i=[];switch(r.type){case"Polygon":var o=r.coordinates;i.push(new ST(o[0],o.slice(1)));break;case"MultiPolygon":hn.k(r.coordinates,(function(t){t[0]&&i.push(new ST(t[0],t.slice(1)))}));break;case"LineString":i.push(new MT([r.coordinates]));break;case"MultiLineString":i.push(new MT(r.coordinates))}var a=new OT(n[e||"name"],i,n.cp);return a.properties=n,a}))}for(var jT=[126,25],ET="南海诸岛",LT=[[[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]]],NT=0;NT0,p={api:n,geo:s,mapOrGeoModel:t,data:a,isVisualEncodedByVisualMap:f,isGeo:o,transformInfoRaw:d};"geoJSON"===s.resourceType?this._buildGeoJSON(p):"geoSVG"===s.resourceType&&this._buildSVG(p),this._updateController(t,e,n),this._updateMapSelectHandler(t,l,n,r)},t.prototype._buildGeoJSON=function(t){var e=this._regionsGroupByName=hn.f(),n=hn.f(),r=this._regionsGroup,i=t.transformInfoRaw,o=t.mapOrGeoModel,a=t.data,s=t.geo.projection,l=s&&s.stream;function u(t,e){return e&&(t=e(t)),t&&[t[0]*i.scaleX+i.x,t[1]*i.scaleY+i.y]}function c(t){for(var e=[],n=!l&&s&&s.project,r=0;r=0)&&(h=i);var f=a?{normal:{align:"center",verticalAlign:"middle"}}:null;mc(e,bc(r),{labelFetcher:h,labelDataIndex:d,defaultText:n},f);var p=e.getTextContent();if(p&&(qT(p).ignore=p.ignore,e.textConfig&&a)){var g=e.getBoundingRect().clone();e.textConfig.layoutRect=g,e.textConfig.position=[(a[0]-g.x)/g.width*100+"%",(a[1]-g.y)/g.height*100+"%"]}e.disableLabelAnimation=!0}else e.removeTextContent(),e.removeTextConfig(),e.disableLabelAnimation=null}function nA(t,e,n,r,i,o){t.data?t.data.setItemGraphicEl(o,e):ou(e).eventData={componentType:"geo",componentIndex:i.componentIndex,geoIndex:i.componentIndex,name:n,region:r&&r.option||{}}}function rA(t,e,n,r,i){t.data||oy({el:e,componentModel:i,itemName:n,itemTooltipOption:r.get("tooltip")})}function iA(t,e,n,r,i){e.highDownSilentOnTouch=!!i.get("selectedMode");var o=r.getModel("emphasis"),a=o.get("focus");return qu(e,a,o.get("blurScope"),o.get("disabled")),t.isGeo&&function(t,e,n){var r=ou(t);r.componentMainType=e.mainType,r.componentIndex=e.componentIndex,r.componentHighDownName=n}(e,i,n),a}function oA(t,e,n){var r,i=[];function o(){r=[]}function a(){r.length&&(i.push(r),r=[])}var s=e({polygonStart:o,polygonEnd:a,lineStart:o,lineEnd:a,point:function(t,e){isFinite(t)&&isFinite(e)&&r.push([t,e])},sphere:function(){}});return!n&&s.polygonStart(),hn.k(t,(function(t){s.lineStart();for(var e=0;e-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}(eg),cA=uA;function dA(t){var e={};t.eachSeriesByType("map",(function(t){var n=t.getHostGeoModel(),r=n?"o"+n.id:"i"+t.getMapType();(e[r]=e[r]||[]).push(t)})),hn.k(e,(function(t,e){for(var n=function(t,e){var n={};return hn.k(t,(function(t){t.each(t.mapDimension("value"),(function(e,r){var i="ec-"+t.getName(r);n[i]=n[i]||[],isNaN(e)||n[i].push(e)}))})),t[0].map(t[0].mapDimension("value"),(function(r,i){for(var o="ec-"+t[0].getName(i),a=0,s=1/0,l=-1/0,u=n[o].length,c=0;c1?(f.width=h,f.height=h/b):(f.height=h,f.width=h*b),f.y=d[1]-f.height/2,f.x=d[0]-f.width/2;else{var x=t.getBoxLayoutParams();x.aspect=b,f=$d(x,{width:y,height:m})}this.setViewRect(f.x,f.y,f.width,f.height),this.setCenter(t.get("center")),this.setZoom(t.get("zoom"))}var SA=function(){function t(){this.dimensions=mA}return t.prototype.create=function(t,e){var n=[];function r(t){return{nameProperty:t.get("nameProperty"),aspectScale:t.get("aspectScale"),projection:t.get("projection")}}t.eachComponent("geo",(function(t,i){var o=t.get("map"),a=new xA(o+i,o,hn.m({nameMap:t.get("nameMap")},r(t)));a.zoomLimit=t.get("scaleLimit"),n.push(a),t.coordinateSystem=a,a.model=t,a.resize=wA,a.resize(t,e)})),t.eachSeries((function(t){if("geo"===t.get("coordinateSystem")){var e=t.get("geoIndex")||0;t.coordinateSystem=n[e]}}));var i={};return t.eachSeriesByType("map",(function(t){if(!t.getHostGeoModel()){var e=t.getMapType();i[e]=i[e]||[],i[e].push(t)}})),hn.k(i,(function(t,i){var o=hn.H(t,(function(t){return t.get("nameMap")})),a=new xA(i,i,hn.m({nameMap:hn.J(o)},r(t[0])));a.zoomLimit=hn.O.apply(null,hn.H(t,(function(t){return t.get("scaleLimit")}))),n.push(a),a.resize=wA,a.resize(t[0],e),hn.k(t,(function(t){t.coordinateSystem=a,function(t,e){hn.k(e.get("geoCoord"),(function(e,n){t.addGeoCoord(n,e)}))}(a,t)}))})),n},t.prototype.getFilledRegions=function(t,e,n,r){for(var i=(t||[]).slice(),o=hn.f(),a=0;a=0;){var o=e[n];o.hierNode.prelim+=r,o.hierNode.modifier+=r,i+=o.hierNode.change,r+=o.hierNode.shift+i}}(t);var o=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;i?(t.hierNode.prelim=i.hierNode.prelim+e(t,i),t.hierNode.modifier=t.hierNode.prelim-o):t.hierNode.prelim=o}else i&&(t.hierNode.prelim=i.hierNode.prelim+e(t,i));t.parentNode.hierNode.defaultAncestor=function(t,e,n,r){if(e){for(var i=t,o=t,a=o.parentNode.children[0],s=e,l=i.hierNode.modifier,u=o.hierNode.modifier,c=a.hierNode.modifier,d=s.hierNode.modifier;s=RA(s),o=zA(o),s&&o;){i=RA(i),a=zA(a),i.hierNode.ancestor=t;var h=s.hierNode.prelim+d-o.hierNode.prelim-u+r(s,o);h>0&&(BA(VA(s,t,n),t,h),u+=h,l+=h),d+=s.hierNode.modifier,u+=o.hierNode.modifier,l+=i.hierNode.modifier,c+=a.hierNode.modifier}s&&!RA(i)&&(i.hierNode.thread=s,i.hierNode.modifier+=d-l),o&&!zA(a)&&(a.hierNode.thread=o,a.hierNode.modifier+=u-c,n=t)}return n}(t,i,t.parentNode.hierNode.defaultAncestor||r[0],e)}function LA(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function NA(t){return arguments.length?t:FA}function PA(t,e){return t-=Math.PI/2,{x:e*Math.cos(t),y:e*Math.sin(t)}}function RA(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function zA(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function VA(t,e,n){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:n}function BA(t,e,n){var r=n/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=r,e.hierNode.shift+=n,e.hierNode.modifier+=n,e.hierNode.prelim+=n,t.hierNode.change+=r}function FA(t,e){return t.parentNode===e.parentNode?1:2}var HA=function(){this.parentPoint=[],this.childPoints=[]},WA=function(t){function e(e){return t.call(this,e)||this}return cn(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new HA},e.prototype.buildPath=function(t,e){var n=e.childPoints,r=n.length,i=e.parentPoint,o=n[0],a=n[r-1];if(1===r)return t.moveTo(i[0],i[1]),void t.lineTo(o[0],o[1]);var s=e.orient,l="TB"===s||"BT"===s?0:1,u=1-l,c=qo(e.forkPosition,1),d=[];d[l]=i[l],d[u]=i[u]+(a[u]-i[u])*c,t.moveTo(i[0],i[1]),t.lineTo(d[0],d[1]),t.moveTo(o[0],o[1]),d[l]=o[l],t.lineTo(d[0],d[1]),d[l]=a[l],t.lineTo(d[0],d[1]),t.lineTo(a[0],a[1]);for(var h=1;hm.x)||(_-=Math.PI);var S=x?"left":"right",M=s.getModel("label"),O=M.get("rotate"),C=O*(Math.PI/180),I=v.getTextContent();I&&(v.setTextConfig({position:M.get("position")||S,rotation:null==O?-_:C,origin:"center"}),I.setStyle("verticalAlign","middle"))}var T=s.get(["emphasis","focus"]),A="ancestor"===T?a.getAncestorsIndices():"descendant"===T?a.getDescendantIndices():null;A&&(ou(n).focus=A),function(t,e,n,r,i,o,a,s){var l=e.getModel(),u=t.get("edgeShape"),c=t.get("layout"),d=t.getOrient(),h=t.get(["lineStyle","curveness"]),f=t.get("edgeForkPosition"),p=l.getModel("lineStyle").getLineStyle(),g=r.__edge;if("curve"===u)e.parentNode&&e.parentNode!==n&&(g||(g=r.__edge=new dv({shape:qA(c,d,h,i,i)})),lc(g,{shape:qA(c,d,h,o,a)},t));else if("polyline"===u&&"orthogonal"===c&&e!==n&&e.children&&0!==e.children.length&&!0===e.isExpand){for(var v=e.children,y=[],m=0;me&&(e=r.height)}this.height=e+1},t.prototype.getNodeById=function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,r=n.length;e=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=0){var r=n.getData().tree.root,i=t.targetNode;if(hn.C(i)&&(i=r.getNodeById(i)),i&&r.contains(i))return{node:i};var o=t.targetNodeId;if(null!=o&&(i=r.getNodeById(o)))return{node:i}}}function dD(t){for(var e=[];t;)(t=t.parentNode)&&e.push(t);return e.reverse()}function hD(t,e){var n=dD(t);return hn.r(n,e)>=0}function fD(t,e){for(var n=[];t;){var r=t.dataIndex;n.push({name:t.name,dataIndex:r,value:e.getRawValue(r)}),t=t.parentNode}return n.reverse(),n}var pD=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasSymbolVisual=!0,e.ignoreStyleOnData=!0,e}return cn(e,t),e.prototype.getInitialData=function(t){var e={name:t.name,children:t.data},n=t.leaves||{},r=new Hc(n,this,this.ecModel),i=uD.createTree(e,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=i.getNodeByDataIndex(e);return n&&n.children.length&&n.isExpand||(t.parentModel=r),t}))}));var o=0;i.eachNode("preorder",(function(t){t.depth>o&&(o=t.depth)}));var a=t.expandAndCollapse&&t.initialTreeDepth>=0?t.initialTreeDepth:o;return i.root.eachNode("preorder",(function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=a})),i.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 r=this.getData().tree,i=r.root.children[0],o=r.getNodeByDataIndex(t),a=o.getValue(),s=o.name;o&&o!==i;)s=o.parentNode.name+"."+s,o=o.parentNode;return kp("nameValue",{name:s,value:a,noValue:isNaN(a)||null==a})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=fD(r,this),n.collapsed=!r.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}(eg),gD=pD;function vD(t,e){for(var n,r=[t];n=r.pop();)if(e(n),n.isExpand){var i=n.children;if(i.length)for(var o=i.length-1;o>=0;o--)r.push(i[o])}}function yD(t,e){t.eachSeriesByType("tree",(function(t){!function(t,e){var n=function(t,e){return $d(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=n;var r=t.get("layout"),i=0,o=0,a=null;"radial"===r?(i=2*Math.PI,o=Math.min(n.height,n.width)/2,a=NA((function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth}))):(i=n.width,o=n.height,a=NA());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,r,i=[e];n=i.pop();)if(r=n.children,n.isExpand&&r.length)for(var o=r.length-1;o>=0;o--){var a=r[o];a.hierNode={defaultAncestor:null,ancestor:a,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},i.push(a)}})(s),function(t,e,n){for(var r,i=[t],o=[];r=i.pop();)if(o.push(r),r.isExpand){var a=r.children;if(a.length)for(var s=0;sc.getLayout().x&&(c=t),t.depth>d.depth&&(d=t)}));var h=u===c?1:a(u,c)/2,f=h-u.getLayout().x,p=0,g=0,v=0,y=0;if("radial"===r)p=i/(c.getLayout().x+h+f),g=o/(d.depth-1||1),vD(l,(function(t){v=(t.getLayout().x+f)*p,y=(t.depth-1)*g;var e=PA(v,y);t.setLayout({x:e.x,y:e.y,rawX:v,rawY:y},!0)}));else{var m=t.getOrient();"RL"===m||"LR"===m?(g=o/(c.getLayout().x+h+f),p=i/(d.depth-1||1),vD(l,(function(t){y=(t.getLayout().x+f)*g,v="LR"===m?(t.depth-1)*p:i-(t.depth-1)*p,t.setLayout({x:v,y:y},!0)}))):"TB"!==m&&"BT"!==m||(p=i/(c.getLayout().x+h+f),g=o/(d.depth-1||1),vD(l,(function(t){v=(t.getLayout().x+f)*p,y="TB"===m?(t.depth-1)*g:o-(t.depth-1)*g,t.setLayout({x:v,y:y},!0)})))}}}(t,e)}))}function mD(t){t.eachSeriesByType("tree",(function(t){var e=t.getData();e.tree.eachNode((function(t){var n=t.getModel().getModel("itemStyle").getItemStyle(),r=e.ensureUniqueItemVisual(t.dataIndex,"style");Object(hn.m)(r,n)}))}))}var bD=["treemapZoomToNode","treemapRender","treemapMove"];function _D(t){var e=t.getData().tree,n={};e.eachNode((function(e){for(var r=e;r&&r.depth>1;)r=r.parentNode;var i=Dh(t.ecModel,r.name||r.dataIndex+"",n);e.setVisual("decal",i)}))}var xD=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.preventUsingHoverLayer=!0,n}return cn(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};wD(n);var r=t.levels||[],i=this.designatedVisualItemStyle={},o=new Hc({itemStyle:i},this,e);r=t.levels=function(t,e){var n=ba(e.get("color")),r=ba(e.get(["aria","decal","decals"]));if(n){var i,o;t=t||[],hn.k(t,(function(t){var e=new Hc(t),n=e.get("color"),r=e.get("decal");(e.get(["itemStyle","color"])||n&&"none"!==n)&&(i=!0),(e.get(["itemStyle","decal"])||r&&"none"!==r)&&(o=!0)}));var a=t[0]||(t[0]={});return i||(a.color=n.slice()),!o&&r&&(a.decal=r.slice()),t}}(r,e);var a=hn.H(r||[],(function(t){return new Hc(t,o,e)}),this),s=uD.createTree(n,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=s.getNodeByDataIndex(e),r=n?a[n.depth]:null;return t.parentModel=r||o,t}))}));return s.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.formatTooltip=function(t,e,n){var r=this.getData(),i=this.getRawValue(t);return kp("nameValue",{name:r.getName(t),value:i})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=fD(r,this),n.treePathInfo=n.treeAncestors,n},e.prototype.setLayoutInfo=function(t){this.layoutInfo=this.layoutInfo||{},hn.m(this.layoutInfo,t)},e.prototype.mapIdToIndex=function(t){var e=this._idIndexMap;e||(e=this._idIndexMap=hn.f(),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(){_D(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"}}},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}(eg);function wD(t){var e=0;hn.k(t.children,(function(t){wD(t);var n=t.value;hn.t(n)&&(n=n[0]),e+=n}));var n=t.value;hn.t(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),hn.t(t.value)?t.value[0]=n:t.value=n}var SD=xD,MD=function(){function t(t){this.group=new Wo,t.add(this.group)}return t.prototype.render=function(t,e,n,r){var i=t.getModel("breadcrumb"),o=this.group;if(o.removeAll(),i.get("show")&&n){var a=i.getModel("itemStyle"),s=a.getModel("textStyle"),l={pos:{left:i.get("left"),right:i.get("right"),top:i.get("top"),bottom:i.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:i.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,l,s),this._renderContent(t,l,a,s,r),Xd(o,l.pos,l.box)}},t.prototype._prepare=function(t,e,n){for(var r=t;r;r=r.parentNode){var i=Ia(r.getModel().get("name"),""),o=n.getTextRect(i),a=Math.max(o.width+16,e.emptyItemWidth);e.totalWidth+=a+8,e.renderList.push({node:r,text:i,width:a})}},t.prototype._renderContent=function(t,e,n,r,i){for(var o=0,a=e.emptyItemWidth,s=t.get(["breadcrumb","height"]),l=function(t,e,n){var r=e.width,i=e.height,o=qo(t.left,r),a=qo(t.top,i),s=qo(t.right,r),l=qo(t.bottom,i);return(isNaN(o)||isNaN(parseFloat(t.left)))&&(o=0),(isNaN(s)||isNaN(parseFloat(t.right)))&&(s=r),(isNaN(a)||isNaN(parseFloat(t.top)))&&(a=0),(isNaN(l)||isNaN(parseFloat(t.bottom)))&&(l=i),n=jd(n||0),{width:Math.max(s-o-n[1]-n[3],0),height:Math.max(l-a-n[0]-n[2],0)}}(e.pos,e.box),u=e.totalWidth,c=e.renderList,d=c.length-1;d>=0;d--){var h=c[d],f=h.node,p=h.width,g=h.text;u>l.width&&(u-=p-a,p=a,g=null);var v=new Kg({shape:{points:OD(o,0,p,s,d===c.length-1,0===d)},style:Object(hn.i)(n.getItemStyle(),{lineJoin:"bevel"}),textContent:new iu({style:{text:g,fill:r.getTextColor(),font:r.getFont()}}),textConfig:{position:"inside"},z2:1e5,onclick:Object(hn.h)(i,f)});v.disableLabelAnimation=!0,this.group.add(v),CD(v,t,f),o+=p+8}},t.prototype.remove=function(){this.group.removeAll()},t}();function OD(t,e,n,r,i,o){var a=[[i?t:t-5,e],[t+n,e],[t+n,e+r],[i?t:t-5,e+r]];return!o&&a.splice(2,0,[t+n+5,e+r/2]),!i&&a.push([t,e+r/2]),a}function CD(t,e,n){ou(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&&fD(n,e)}}var ID=MD,TD=function(){function t(){this._storage=[],this._elExistsMap={}}return t.prototype.add=function(t,e,n,r,i){return!this._elExistsMap[t.id]&&(this._elExistsMap[t.id]=!0,this._storage.push({el:t,target:e,duration:n,delay:r,easing:i}),!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())},r=0,i=this._storage.length;r3||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 r=this.seriesModel.getData().tree.root;if(!r)return;var i=r.getLayout();if(!i)return;var o=new bo(i.x,i.y,i.width,i.height),a=this.seriesModel.layoutInfo,s=[1,0,0,1,0,0];Yi(s,s,[-(e-=a.x),-(n-=a.y)]),Xi(s,s,[t.scale,t.scale]),Yi(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 r=e.findTarget(t.offsetX,t.offsetY);if(r){var i=r.node;if(i.getLayout().isLeafRoot)e._rootToNode(r);else if("zoomToNode"===n)e._zoomToNode(r);else if("link"===n){var o=i.hostTree.data.getItemModel(i.dataIndex),a=o.get("link",!0),s=o.get("target",!0)||"blank";a&&Fd(a,s)}}}}}),this)},e.prototype._renderBreadcrumb=function(t,e,n){var r=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 ID(this.group))).render(t,e,n.node,(function(e){"animating"!==r._state&&(hD(t.getViewRoot(),e)?r._rootToNode({node:e}):r._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(r){var i=this._storage.background[r.getRawIndex()];if(i){var o=i.transformCoordToLocal(t,e),a=i.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:r,offsetX:o[0],offsetY:o[1]}}}),this),n},e.type="treemap",e}(vy);var RD=PD,zD=hn.k,VD=hn.A,BD=-1,FD=function(){function t(e){var n=e.mappingMethod,r=e.type,i=this.option=hn.d(e);this.type=r,this.mappingMethod=n,this._normalizeData=QD[n];var o=t.visualHandlers[r];this.applyVisual=o.applyVisual,this.getColorMapper=o.getColorMapper,this._normalizedToVisual=o._normalizedToVisual[n],"piecewise"===n?(HD(i),function(t){var e=t.pieceList;t.hasSpecialVisual=!1,hn.k(e,(function(e,n){e.originIndex=n,null!=e.visual&&(t.hasSpecialVisual=!0)}))}(i)):"category"===n?i.categories?function(t){var e=t.categories,n=t.categoryMap={},r=t.visual;if(zD(e,(function(t,e){n[t]=e})),!hn.t(r)){var i=[];hn.A(r)?zD(r,(function(t,e){var r=n[e];i[null!=r?r:BD]=t})):i[BD]=r,r=qD(t,i)}for(var o=e.length-1;o>=0;o--)null==r[o]&&(delete n[e[o]],e.pop())}(i):HD(i,!0):(hn.b("linear"!==n||i.dataExtent),HD(i))}return t.prototype.mapValueToVisual=function(t){var e=this._normalizeData(t);return this._normalizedToVisual(e,t)},t.prototype.getNormalizer=function(){return hn.c(this._normalizeData,this)},t.listVisualTypes=function(){return hn.F(t.visualHandlers)},t.isValidType=function(e){return t.visualHandlers.hasOwnProperty(e)},t.eachVisual=function(t,e,n){hn.A(t)?hn.k(t,e,n):e.call(n,t)},t.mapVisual=function(e,n,r){var i,o=hn.t(e)?[]:hn.A(e)?{}:(i=!0,null);return t.eachVisual(e,(function(t,e){var a=n.call(r,t,e);i?o=a:o[e]=a})),o},t.retrieveVisuals=function(e){var n,r={};return e&&zD(t.visualHandlers,(function(t,i){e.hasOwnProperty(i)&&(r[i]=e[i],n=!0)})),n?r:null},t.prepareVisualTypes=function(t){if(hn.t(t))t=t.slice();else{if(!VD(t))return[];var e=[];zD(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 r,i=1/0,o=0,a=e.length;ou[1]&&(u[1]=l);var c=e.get("colorMappingBy"),d={type:a.name,dataExtent:u,visual:a.range};"color"!==d.type||"index"!==c&&"id"!==c?d.mappingMethod="linear":(d.mappingMethod="category",d.loop=!0);var h=new KD(d);return tk(h).drColorMappingBy=c,h}}}(0,i,o,0,u,f);Object(hn.k)(f,(function(t,e){if(t.depth>=n.length||t===n[t.depth]){var o=function(t,e,n,r,i,o){var a=Object(hn.m)({},e);if(i){var s=i.type,l="color"===s&&tk(i).drColorMappingBy,u="index"===l?r:"id"===l?o.mapIdToIndex(n.getId()):n.getValue(t.get("visualDimension"));a[s]=i.mapValueToVisual(u)}return a}(i,u,t,e,p,r);nk(t,o,n,r)}}))}else s=rk(u),c.fill=s}}function rk(t){var e=ik(t,"color");if(e){var n=ik(t,"colorAlpha"),r=ik(t,"colorSaturation");return r&&(e=Object(ei.f)(e,null,null,r)),n&&(e=Object(ei.e)(e,n)),e}}function ik(t,e){var n=t[e];if(null!=n&&"none"!==n)return n}function ok(t,e){var n=t.get(e);return Object(hn.t)(n)&&n.length?{name:e,range:n}:null}var ak=Math.max,sk=Math.min,lk=hn.O,uk=hn.k,ck=["itemStyle","borderWidth"],dk=["itemStyle","gapWidth"],hk=["upperLabel","show"],fk=["upperLabel","height"],pk={seriesType:"treemap",reset:function(t,e,n,r){var i=n.getWidth(),o=n.getHeight(),a=t.option,s=$d(t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),l=a.size||[],u=qo(lk(s.width,l[0]),i),c=qo(lk(s.height,l[1]),o),d=r&&r.type,h=cD(r,["treemapZoomToNode","treemapRootToNode"],t),f="treemapRender"===d||"treemapMove"===d?r.rootRect:null,p=t.getViewRoot(),g=dD(p);if("treemapMove"!==d){var v="treemapZoomToNode"===d?function(t,e,n,r,i){var o,a=(e||{}).node,s=[r,i];if(!a||a===n)return s;var l=r*i,u=l*t.option.zoomToNodeRatio;for(;o=a.parentNode;){for(var c=0,d=o.children,h=0,f=d.length;hna&&(u=na),a=o}ua[1]&&(a[1]=e)}))):a=[NaN,NaN],{sum:r,dataExtent:a}}(e,a,s);if(0===u.sum)return t.viewChildren=[];if(u.sum=function(t,e,n,r,i){if(!r)return n;for(var o=t.get("visibleMin"),a=i.length,s=a,l=a-1;l>=0;l--){var u=i["asc"===r?a-l-1:l].getValue();u/n*er&&(r=a));var l=t.area*t.area,u=e*e*n;return l?ak(u*r/l,l/(u*i)):1/0}function yk(t,e,n,r,i){var o=e===n.width?0:1,a=1-o,s=["x","y"],l=["width","height"],u=n[s[o]],c=e?t.area/e:0;(i||c>n[l[a]])&&(c=n[l[a]]);for(var d=0,h=t.length;dr&&(r=e);var o=r%2?r+2:r+3;i=[];for(var a=0;a0&&(m[0]=-m[0],m[1]=-m[1]);var _=y[0]<0?-1:1;if("start"!==r.__position&&"end"!==r.__position){var x=-Math.atan2(y[1],y[0]);u[0].8?"left":c[0]<-.8?"right":"center",h=c[1]>.8?"top":c[1]<-.8?"bottom":"middle";break;case"start":r.x=-c[0]*p+l[0],r.y=-c[1]*g+l[1],d=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":r.x=p*_+l[0],r.y=l[1]+w,d=y[0]<0?"right":"left",r.originX=-p*_,r.originY=-w;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":r.x=b[0],r.y=b[1]+w,d="center",r.originY=-w;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":r.x=-p*_+u[0],r.y=u[1]+w,d=y[0]>=0?"right":"left",r.originX=p*_,r.originY=-w}r.scaleX=r.scaleY=i,r.setStyle({verticalAlign:r.__verticalAlign||h,align:r.__align||d})}}}function S(t,e){var n=t.__specifiedRotation;if(null==n){var r=a.tangentAt(e);t.attr("rotation",(1===e?-1:1)*Math.PI/2-Math.atan2(r[1],r[0]))}else t.attr("rotation",n)}},e}(Wo),ej=tj,nj=function(){function t(t){this.group=new Wo,this._LineCtor=t||ej}return t.prototype.updateData=function(t){var e=this;this._progressiveEls=null;var n=this,r=n.group,i=n._lineData;n._lineData=t,i||r.removeAll();var o=rj(t);t.diff(i).add((function(n){e._doAdd(t,n,o)})).update((function(n,r){e._doUpdate(i,t,r,n,o)})).remove((function(t){r.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=rj(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 r=t.start;r=0?r+=u:r-=u:p>=0?r-=u:r+=u}return r}function pj(t,e){var n=[],r=Xr,i=[[],[],[]],o=[[],[]],a=[];e/=2,t.eachEdge((function(t,s){var l=t.getLayout(),u=t.getVisual("fromSymbol"),c=t.getVisual("toSymbol");l.__original||(l.__original=[yn(l[0]),yn(l[1])],l[2]&&l.__original.push(yn(l[2])));var d=l.__original;if(null!=l[2]){if(vn(i[0],d[0]),vn(i[1],d[2]),vn(i[2],d[1]),u&&"none"!==u){var h=Nk(t.node1),f=fj(i,d[0],h*e);r(i[0][0],i[1][0],i[2][0],f,n),i[0][0]=n[3],i[1][0]=n[4],r(i[0][1],i[1][1],i[2][1],f,n),i[0][1]=n[3],i[1][1]=n[4]}c&&"none"!==c&&(h=Nk(t.node2),f=fj(i,d[1],h*e),r(i[0][0],i[1][0],i[2][0],f,n),i[1][0]=n[1],i[2][0]=n[2],r(i[0][1],i[1][1],i[2][1],f,n),i[1][1]=n[1],i[2][1]=n[2]),vn(l[0],i[0]),vn(l[1],i[2]),vn(l[2],i[1])}else vn(o[0],d[0]),vn(o[1],d[1]),xn(a,o[1],o[0]),Mn(a,a),u&&"none"!==u&&(h=Nk(t.node1),_n(o[0],o[0],a,h*e)),c&&"none"!==c&&(h=Nk(t.node2),_n(o[1],o[1],a,-h*e)),vn(l[0],o[0]),vn(l[1],o[1])}))}function gj(t){return"view"===t.type}var vj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return cn(e,t),e.prototype.init=function(t,e){var n=new lS,r=new aj,i=this.group;this._controller=new UI(e.getZr()),this._controllerHost={target:i},i.add(n.group),i.add(r.group),this._symbolDraw=n,this._lineDraw=r,this._firstRender=!0},e.prototype.render=function(t,e,n){var r=this,i=t.coordinateSystem;this._model=t;var o=this._symbolDraw,a=this._lineDraw,s=this.group;if(gj(i)){var l={x:i.x,y:i.y,scaleX:i.scaleX,scaleY:i.scaleY};this._firstRender?s.attr(l):lc(s,l,t)}pj(t.getGraph(),Lk(t));var u=t.getData();o.updateData(u);var c=t.getEdgeData();a.updateData(c),this._updateNodeAndLinkScale(),this._updateController(t,e,n),clearTimeout(this._layoutTimeout);var d=t.forceLayout,h=t.get(["force","layoutAnimation"]);d&&this._startForceLayoutIteration(d,h),u.graph.eachNode((function(t){var e=t.dataIndex,n=t.getGraphicEl(),i=t.getModel();if(n){n.off("drag").off("dragend");var o=i.get("draggable");o&&n.on("drag",(function(){d&&(d.warmUp(),!r._layouting&&r._startForceLayoutIteration(d,h),d.setFixed(e),u.setItemLayout(e,[n.x,n.y]))})).on("dragend",(function(){d&&d.setUnfixed(e)})),n.setDraggable(o&&!!d),"adjacency"===i.get(["emphasis","focus"])&&(ou(n).focus=t.getAdjacentDataIndices())}})),u.graph.eachEdge((function(t){var e=t.getGraphicEl(),n=t.getModel().get(["emphasis","focus"]);e&&"adjacency"===n&&(ou(e).focus={edge:[t.dataIndex],node:[t.node1.dataIndex,t.node2.dataIndex]})}));var f="circular"===t.get("layout")&&t.get(["circular","rotateLabel"]),p=u.getLayout("cx"),g=u.getLayout("cy");u.eachItemGraphicEl((function(t,e){var n=u.getItemModel(e).get(["label","rotate"])||0,r=t.getSymbolPath();if(f){var i=u.getItemLayout(e),o=Math.atan2(i[1]-g,i[0]-p);o<0&&(o=2*Math.PI+o);var a=i[0]=0&&t.call(e,n[i],i)},t.prototype.eachEdge=function(t,e){for(var n=this.edges,r=n.length,i=0;i=0&&n[i].node1.dataIndex>=0&&n[i].node2.dataIndex>=0&&t.call(e,n[i],i)},t.prototype.breadthFirstTraverse=function(t,e,n,r){if(e instanceof _j||(e=this._nodesMap[mj(e)]),e){for(var i="out"===n?"outEdges":"in"===n?"inEdges":"edges",o=0;o=0&&n.node2.dataIndex>=0})),i=0,o=r.length;i=0&&this[t][e].setItemVisual(this.dataIndex,n,r)},getVisual:function(n){return this[t][e].getItemVisual(this.dataIndex,n)},setLayout:function(n,r){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,n,r)},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)}}}hn.K(_j,wj("hostGraph","data")),hn.K(xj,wj("hostGraph","edgeData"));var Sj=bj;function Mj(t,e,n,r,i){for(var o=new Sj(r),a=0;a "+h)),u++)}var f,p=n.get("coordinateSystem");if("cartesian2d"===p||"polar"===p)f=qw(t,n);else{var g=Uh.get(p),v=g&&g.dimensions||[];hn.r(v,"value")<0&&v.concat(["value"]);var y=Hw(t,{coordDimensions:v,encodeDefine:n.getEncode()}).dimensions;(f=new Fw(y,n)).initData(t)}var m=new Fw(["value"],n);return m.initData(l,s),i&&i(f,m),aD({mainData:f,struct:o,structAttr:"graph",datas:{node:f,edge:m},datasAttr:{node:"data",edge:"edgeData"}}),o.update(),o}var Oj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return cn(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments);var n=this;function r(){return n._categoriesData}this.legendVisualProvider=new UM(r,r),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),_a(e,"edgeLabel",["show"])},e.prototype.getInitialData=function(t,e){var n=t.edges||t.links||[],r=t.data||t.nodes||[],i=this;if(r&&n){!function(t){Ok(t)&&(t.__curvenessList=[],t.__edgeMap={},Ck(t))}(this);var o=Mj(r,n,this,!0,(function(t,e){t.wrapMethod("getItemModel",(function(t){var e=i._categoriesModels[t.getShallow("category")];return e&&(e.parentModel=t.parentModel,t.parentModel=e),t}));var n=Hc.prototype.getModel;function r(t,e){var r=n.call(this,t,e);return r.resolveParentPath=o,r}function o(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=o,t.getModel=r,t}))}));return hn.k(o.edges,(function(t){!function(t,e,n,r){if(Ok(n)){var i=Ik(t,e,n),o=n.__edgeMap,a=o[Tk(i)];o[i]&&!a?o[i].isForward=!0:a&&o[i]&&(a.isForward=!0,o[i].isForward=!1),o[i]=o[i]||[],o[i].push(r)}}(t.node1,t.node2,this,t.dataIndex)}),this),o.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 r=this.getData(),i=this.getDataParams(t,n),o=r.graph.getEdgeByIndex(t),a=r.getName(o.node1.dataIndex),s=r.getName(o.node2.dataIndex),l=[];return null!=a&&l.push(a),null!=s&&l.push(s),kp("nameValue",{name:l.join(" > "),value:i.value,noValue:null==i.value})}return Wp({series:this,dataIndex:t,multipleSeries:e})},e.prototype._updateCategoriesData=function(){var t=hn.H(this.option.categories||[],(function(t){return null!=t.value?t:hn.m({value:0},t)})),e=new Fw(["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}(eg),Cj=Oj,Ij={type:"graphRoam",event:"graphRoam",update:"none"};var Tj=function(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0},Aj=function(t){function e(e){var n=t.call(this,e)||this;return n.type="pointer",n}return cn(e,t),e.prototype.getDefaultShape=function(){return new Tj},e.prototype.buildPath=function(t,e){var n=Math.cos,r=Math.sin,i=e.r,o=e.width,a=e.angle,s=e.x-n(a)*o*(o>=i/3?1:2),l=e.y-r(a)*o*(o>=i/3?1:2);a=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+n(a)*o,e.y+r(a)*o),t.lineTo(e.x+n(e.angle)*i,e.y+r(e.angle)*i),t.lineTo(e.x-n(a)*o,e.y-r(a)*o),t.lineTo(s,l)},e}(Il),Dj=Aj;function kj(t,e){var n=null==t?"":t+"";return e&&(Object(hn.C)(e)?n=e.replace("{value}",n):Object(hn.w)(e)&&(n=e(t))),n}var jj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return cn(e,t),e.prototype.render=function(t,e,n){this.group.removeAll();var r=t.get(["axisLine","lineStyle","color"]),i=function(t,e){var n=t.get("center"),r=e.getWidth(),i=e.getHeight(),o=Math.min(r,i);return{cx:qo(n[0],e.getWidth()),cy:qo(n[1],e.getHeight()),r:qo(t.get("radius"),o/2)}}(t,n);this._renderMain(t,e,n,r,i),this._data=t.getData()},e.prototype.dispose=function(){},e.prototype._renderMain=function(t,e,n,r,i){var o=this.group,a=t.get("clockwise"),s=-t.get("startAngle")/180*Math.PI,l=-t.get("endAngle")/180*Math.PI,u=t.getModel("axisLine"),c=u.get("roundCap")?oM:Yg,d=u.get("show"),h=u.getModel("lineStyle"),f=h.get("width"),p=[s,l];rl(p,!a);for(var g=(l=p[1])-(s=p[0]),v=s,y=0;d&&y=t&&(0===e?0:r[e-1][0]).8?"bottom":"middle",align:u<-.4?"left":u>.4?"right":"center"},{inheritColor:L}),silent:!0}))}if(m.get("show")&&D!==_){k=(k=m.get("distance"))?k+l:l;for(var N=0;N<=x;N++){u=Math.cos(M),c=Math.sin(M);var P=new av({shape:{x1:u*(p-k)+h,y1:c*(p-k)+f,x2:u*(p-S-k)+h,y2:c*(p-S-k)+f},silent:!0,style:T});"auto"===T.stroke&&P.setStyle({stroke:r((D+N/x)/_)}),d.add(P),M+=C}M-=C}else M+=O}},e.prototype._renderPointer=function(t,e,n,r,i,o,a,s,l){var u=this.group,c=this._data,d=this._progressEls,h=[],f=t.get(["pointer","show"]),p=t.getModel("progress"),g=p.get("show"),v=t.getData(),y=v.mapDimension("value"),m=+t.get("min"),b=+t.get("max"),_=[m,b],x=[o,a];function w(e,n){var r,o=v.getItemModel(e).getModel("pointer"),a=qo(o.get("width"),i.r),s=qo(o.get("length"),i.r),l=t.get(["pointer","icon"]),u=o.get("offsetCenter"),c=qo(u[0],i.r),d=qo(u[1],i.r),h=o.get("keepAspect");return(r=l?Im(l,c-a/2,d-s,a,s,null,h):new Dj({shape:{angle:-Math.PI/2,width:a,r:s,x:c,y:d}})).rotation=-(n+Math.PI/2),r.x=i.cx,r.y=i.cy,r}function S(t,e){var n=p.get("roundCap")?oM:Yg,r=p.get("overlap"),a=r?p.get("width"):l/v.count(),u=r?i.r-a:i.r-(t+1)*a,c=r?i.r:i.r-t*a,d=new n({shape:{startAngle:o,endAngle:e,cx:i.cx,cy:i.cy,clockwise:s,r0:u,r:c}});return r&&(d.z2=b-v.get(y,t)%b),d}(g||f)&&(v.diff(c).add((function(e){var n=v.get(y,e);if(f){var r=w(e,o);uc(r,{rotation:-((isNaN(+n)?x[0]:Zo(n,_,x,!0))+Math.PI/2)},t),u.add(r),v.setItemGraphicEl(e,r)}if(g){var i=S(e,o),a=p.get("clip");uc(i,{shape:{endAngle:Zo(n,_,x,a)}},t),u.add(i),au(t.seriesIndex,v.dataType,e,i),h[e]=i}})).update((function(e,n){var r=v.get(y,e);if(f){var i=c.getItemGraphicEl(n),a=i?i.rotation:o,s=w(e,a);s.rotation=a,lc(s,{rotation:-((isNaN(+r)?x[0]:Zo(r,_,x,!0))+Math.PI/2)},t),u.add(s),v.setItemGraphicEl(e,s)}if(g){var l=d[n],m=S(e,l?l.shape.endAngle:o),b=p.get("clip");lc(m,{shape:{endAngle:Zo(r,_,x,b)}},t),u.add(m),au(t.seriesIndex,v.dataType,e,m),h[e]=m}})).execute(),v.each((function(t){var e=v.getItemModel(t),n=e.getModel("emphasis"),i=n.get("focus"),o=n.get("blurScope"),a=n.get("disabled");if(f){var s=v.getItemGraphicEl(t),l=v.getItemVisual(t,"style"),u=l.fill;if(s instanceof Ll){var c=s.style;s.useStyle(Object(hn.m)({image:c.image,x:c.x,y:c.y,width:c.width,height:c.height},l))}else s.useStyle(l),"pointer"!==s.type&&s.setColor(u);s.setStyle(e.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===s.style.fill&&s.setStyle("fill",r(Zo(v.get(y,t),_,[0,1],!0))),s.z2EmphasisLift=0,tc(s,e),qu(s,i,o,a)}if(g){var d=h[t];d.useStyle(v.getItemVisual(t,"style")),d.setStyle(e.getModel(["progress","itemStyle"]).getItemStyle()),d.z2EmphasisLift=0,tc(d,e),qu(d,i,o,a)}})),this._progressEls=h)},e.prototype._renderAnchor=function(t,e){var n=t.getModel("anchor");if(n.get("show")){var r=n.get("size"),i=n.get("icon"),o=n.get("offsetCenter"),a=n.get("keepAspect"),s=Im(i,e.cx-r/2+qo(o[0],e.r),e.cy-r/2+qo(o[1],e.r),r,r,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,r,i){var o=this,a=t.getData(),s=a.mapDimension("value"),l=+t.get("min"),u=+t.get("max"),c=new Wo,d=[],h=[],f=t.isAnimationEnabled(),p=t.get(["pointer","showAbove"]);a.diff(this._data).add((function(t){d[t]=new iu({silent:!0}),h[t]=new iu({silent:!0})})).update((function(t,e){d[t]=o._titleEls[e],h[t]=o._detailEls[e]})).execute(),a.each((function(e){var n=a.getItemModel(e),o=a.get(s,e),g=new Wo,v=r(Zo(o,[l,u],[0,1],!0)),y=n.getModel("title");if(y.get("show")){var m=y.get("offsetCenter"),b=i.cx+qo(m[0],i.r),_=i.cy+qo(m[1],i.r),x=d[e];x.attr({z2:p?0:2,style:_c(y,{x:b,y:_,text:a.getName(e),align:"center",verticalAlign:"middle"},{inheritColor:v})}),g.add(x)}var w=n.getModel("detail");if(w.get("show")){var S=w.get("offsetCenter"),M=i.cx+qo(S[0],i.r),O=i.cy+qo(S[1],i.r),C=qo(w.get("width"),i.r),I=qo(w.get("height"),i.r),T=t.get(["progress","show"])?a.getItemVisual(e,"style").fill:v,A=(x=h[e],w.get("formatter"));x.attr({z2:p?0:2,style:_c(w,{x:M,y:O,text:kj(o,A),width:isNaN(C)?null:C,height:isNaN(I)?null:I,align:"center",verticalAlign:"middle"},{inheritColor:T})}),Tc(x,{normal:w},o,(function(t){return kj(t,A)})),f&&Ac(x,e,a,t,{getFormattedLabel:function(t,e,n,r,i,a){return kj(a?a.interpolatedValue:o,A)}}),g.add(x)}c.add(g)})),this.group.add(c),this._titleEls=d,this._detailEls=h},e.type="gauge",e}(vy),Ej=jj,Lj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="itemStyle",n}return cn(e,t),e.prototype.getInitialData=function(t,e){return HM(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},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}(eg),Nj=Lj;var Pj=["itemStyle","opacity"],Rj=function(t){function e(e,n){var r=t.call(this)||this,i=r,o=new nv,a=new iu;return i.setTextContent(a),r.setTextGuideLine(o),r.updateData(e,n,!0),r}return cn(e,t),e.prototype.updateData=function(t,e,n){var r=this,i=t.hostModel,o=t.getItemModel(e),a=t.getItemLayout(e),s=o.getModel("emphasis"),l=o.get(Pj);l=null==l?1:l,n||pc(r),r.useStyle(t.getItemVisual(e,"style")),r.style.lineJoin="round",n?(r.setShape({points:a.points}),r.style.opacity=0,uc(r,{style:{opacity:l}},i,e)):lc(r,{style:{opacity:l},shape:{points:a.points}},i,e),tc(r,o),this._updateLabel(t,e),qu(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))},e.prototype._updateLabel=function(t,e){var n=this,r=this.getTextGuideLine(),i=n.getTextContent(),o=t.hostModel,a=t.getItemModel(e),s=t.getItemLayout(e).label,l=t.getItemVisual(e,"style"),u=l.fill;mc(i,bc(a),{labelFetcher:t.hostModel,labelDataIndex:e,defaultOpacity:l.opacity,defaultText:t.getName(e)},{normal:{align:s.textAlign,verticalAlign:s.verticalAlign}}),n.setTextConfig({local:!0,inside:!!s.inside,insideStroke:u,outsideFill:u});var c=s.linePoints;r.setShape({points:c}),n.textGuideLineConfig={anchor:c?new lo(c[0][0],c[0][1]):null},lc(i,{style:{x:s.x,y:s.y}},o,e),i.attr({rotation:s.rotation,originX:s.x,originY:s.y,z2:10}),L_(n,N_(a),{stroke:u})},e}(Kg),zj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreLabelLineUpdate=!0,n}return cn(e,t),e.prototype.render=function(t,e,n){var r=t.getData(),i=this._data,o=this.group;r.diff(i).add((function(t){var e=new Rj(r,t);r.setItemGraphicEl(t,e),o.add(e)})).update((function(t,e){var n=i.getItemGraphicEl(e);n.updateData(r,t),o.add(n),r.setItemGraphicEl(t,n)})).remove((function(e){fc(i.getItemGraphicEl(e),t,e)})).execute(),this._data=r},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.prototype.dispose=function(){},e.type="funnel",e}(vy),Vj=zj,Bj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return cn(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new UM(hn.c(this.getData,this),hn.c(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.getInitialData=function(t,e){return HM(this,{coordDimensions:["value"],encodeDefaulter:hn.h(bh,this)})},e.prototype._defaultLabelLine=function(t){_a(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(),r=t.prototype.getDataParams.call(this,e),i=n.mapDimension("value"),o=n.getSum(i);return r.percent=o?+(n.get(i,e)/o*100).toFixed(2):0,r.$vars.push("percent"),r},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}(eg),Fj=Bj;function Hj(t,e){t.eachSeriesByType("funnel",(function(t){var n=t.getData(),r=n.mapDimension("value"),i=t.get("sort"),o=function(t,e){return $d(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e),a=t.get("orient"),s=o.width,l=o.height,u=function(t,e){for(var n=t.mapDimension("value"),r=t.mapArray(n,(function(t){return t})),i=[],o="ascending"===e,a=0,s=t.count();a5)return;var r=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==r.behavior&&this._dispatchExpand({axisExpandWindow:r.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&oE(this,"mousemove")){var e=this._model,n=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),r=n.behavior;"jump"===r&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===r?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===r?null:{duration:0}})}}};function oE(t,e){var n=t._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===e}var aE=rE,sE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return cn(e,t),e.prototype.init=function(){t.prototype.init.apply(this,arguments),this.mergeOption({})},e.prototype.mergeOption=function(t){var e=this.option;t&&hn.I(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){hn.k(["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=hn.n(this.ecModel.queryComponents({mainType:"parallelAxis"}),(function(t){return(t.get("parallelIndex")||0)===this.componentIndex}),this);hn.k(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}(eh),lE=sE,uE=function(t){function e(e,n,r,i,o){var a=t.call(this,e,n,r)||this;return a.type=i||"value",a.axisIndex=o,a}return cn(e,t),e.prototype.isHorizontal=function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")},e}(AC),cE=uE;function dE(t,e,n,r,i,o){t=t||0;var a=n[1]-n[0];if(null!=i&&(i=fE(i,[0,a])),null!=o&&(o=Math.max(o,null!=i?i:0)),"all"===r){var s=Math.abs(e[1]-e[0]);s=fE(s,[0,a]),i=o=fE(s,[i,o]),r=0}e[0]=fE(e[0],n),e[1]=fE(e[1],n);var l=hE(e,r);e[r]+=t;var u,c=i||0,d=n.slice();return l.sign<0?d[0]+=c:d[1]-=c,e[r]=fE(e[r],d),u=hE(e,r),null!=i&&(u.sign!==l.sign||u.spano&&(e[1-r]=e[r]+u.sign*o),e}function hE(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 fE(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}var pE=hn.k,gE=Math.min,vE=Math.max,yE=Math.floor,mE=Math.ceil,bE=Qo,_E=Math.PI,xE=function(){function t(t,e,n){this.type="parallel",this._axesMap=hn.f(),this._axesLayout={},this.dimensions=t.dimensions,this._model=t,this._init(t,e,n)}return t.prototype._init=function(t,e,n){var r=t.dimensions,i=t.parallelAxisIndex;pE(r,(function(t,n){var r=i[n],o=e.getComponent("parallelAxis",r),a=this._axesMap.set(t,new cE(t,oC(o),[0,0],o.get("type"),r)),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,r=e.layoutBase,i=e.pixelDimIndex,o=t[1-i],a=t[i];return o>=n&&o<=n+e.axisLength&&a>=r&&a<=r+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 r=n.getData();pE(this.dimensions,(function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(r,r.mapDimension(t)),iC(e.scale,e.model)}),this)}}),this)},t.prototype.resize=function(t,e){this._rect=$d(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,r=["x","y"],i=["width","height"],o=e.get("layout"),a="horizontal"===o?0:1,s=n[i[a]],l=[0,s],u=this.dimensions.length,c=wE(e.get("axisExpandWidth"),l),d=wE(e.get("axisExpandCount")||0,[0,u]),h=e.get("axisExpandable")&&u>3&&u>d&&d>1&&c>0&&s>0,f=e.get("axisExpandWindow");f?(t=wE(f[1]-f[0],l),f[1]=f[0]+t):(t=wE(c*(d-1),l),(f=[c*(e.get("axisExpandCenter")||yE(u/2))-t/2])[1]=f[0]+t);var p=(s-t)/(u-d);p<3&&(p=0);var g=[yE(bE(f[0]/c,1))+1,mE(bE(f[1]/c,1))-1],v=p/c*f[0];return{layout:o,pixelDimIndex:a,layoutBase:n[r[a]],layoutLength:s,axisBase:n[r[1-a]],axisLength:n[i[1-a]],axisExpandable:h,axisExpandWidth:c,axisCollapseWidth:p,axisExpandWindow:f,axisCount:u,winInnerIndices:g,axisExpandWindow0Pos:v}},t.prototype._layoutAxes=function(){var t=this._rect,e=this._axesMap,n=this.dimensions,r=this._makeLayoutInfo(),i=r.layout;e.each((function(t){var e=[0,r.axisLength],n=t.inverse?1:0;t.setExtent(e[n],e[1-n])})),pE(n,(function(e,n){var o=(r.axisExpandable?ME:SE)(n,r),a={horizontal:{x:o.position,y:r.axisLength},vertical:{x:0,y:o.position}},s={horizontal:_E/2,vertical:0},l=[a[i].x+t.x,a[i].y+t.y],u=s[i],c=[1,0,0,1,0,0];$i(c,c,u),Yi(c,c,l),this._axesLayout[e]={position:l,rotation:u,transform:c,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,r){null==n&&(n=0),null==r&&(r=t.count());var i=this._axesMap,o=this.dimensions,a=[],s=[];hn.k(o,(function(e){a.push(t.mapDimension(e)),s.push(i.get(e).model)}));for(var l=this.hasAxisBrushed(),u=n;ui*(1-c[0])?(l="jump",a=s-i*(1-c[2])):(a=s-i*c[1])>=0&&(a=s-i*(1-c[1]))<=0&&(a=0),(a*=e.axisExpandWidth/u)?dE(a,r,o,"all"):l="none";else{var h=r[1]-r[0];(r=[vE(0,o[1]*s/h-h/2)])[1]=gE(o[1],r[0]+h),r[0]=r[1]-h}return{axisExpandWindow:r,behavior:l}},t}();function wE(t,e){return gE(vE(t,e[0]),e[1])}function SE(t,e){var n=e.layoutLength/(e.axisCount-1);return{position:n*t,axisNameAvailableWidth:n,axisLabelShow:!0}}function ME(t,e){var n,r,i=e.layoutLength,o=e.axisExpandWidth,a=e.axisCount,s=e.axisCollapseWidth,l=e.winInnerIndices,u=s,c=!1;return t=0;n--)Jo(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 r=0,i=e.length;r6}(t)||o){if(a&&!o){"single"===s.brushMode&&XE(t);var l=Object(hn.d)(s);l.brushType=dL(l.brushType,a),l.panelId=a===DE?null:a.panelId,o=t._creatingCover=BE(t,l),t._covers.push(o)}if(o){var u=pL[dL(t._brushType,a)];o.__brushOption.range=u.getCreatingRange(sL(t,o,t._track)),r&&(FE(t,o),u.updateCommon(t,o)),HE(t,o),i={isEnd:r}}}else r&&"single"===s.brushMode&&s.removeOnClick&&YE(t,e,n)&&XE(t)&&(i={isEnd:r,removeOnClick:!0});return i}function dL(t,e){return"auto"===t?e.defaultBrushType:t}var hL={mousedown:function(t){if(this._dragging)fL(this,t);else if(!t.target||!t.target.draggable){lL(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null,(this._creatingPanel=YE(this,t,e))&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=t.offsetX,n=t.offsetY,r=this.group.transformCoordToLocal(e,n);if(function(t,e,n){if(t._brushType&&!function(t,e,n){var r=t._zr;return e<0||e>r.getWidth()||n<0||n>r.getHeight()}(t,e.offsetX,e.offsetY)){var r=t._zr,i=t._covers,o=YE(t,e,n);if(!t._dragging)for(var a=0;a=0&&(o[i[a].depth]=new Hc(i[a],this,e));if(r&&n){var s=Mj(r,n,this,!0,(function(t,e){t.wrapMethod("getItemModel",(function(t,e){var n=t.parentModel,r=n.getData().getItemLayout(e);if(r){var i=r.depth,o=n.levelModels[i];o&&(t.parentModel=o)}return t})),e.wrapMethod("getItemModel",(function(t,e){var n=t.parentModel,r=n.getGraph().getEdgeByIndex(e).node1.getLayout();if(r){var i=r.depth,o=n.levelModels[i];o&&(t.parentModel=o)}return t}))}));return s.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 r(t){return isNaN(t)||null==t}if("edge"===n){var i=this.getDataParams(t,n),o=i.data,a=i.value;return kp("nameValue",{name:o.source+" -- "+o.target,value:a,noValue:r(a)})}var s=this.getGraph().getNodeByIndex(t).getLayout().value,l=this.getDataParams(t,n).data.name;return kp("nameValue",{name:null!=l?l+"":null,value:s,noValue:r(s)})},e.prototype.optionUpdated=function(){},e.prototype.getDataParams=function(e,n){var r=t.prototype.getDataParams.call(this,e,n);if(null==r.value&&"node"===n){var i=this.getGraph().getNodeByIndex(e).getLayout().value;r.value=i}return r},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},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}(eg),jL=kL;function EL(t,e){t.eachSeriesByType("sankey",(function(t){var n=t.get("nodeWidth"),r=t.get("nodeGap"),i=function(t,e){return $d(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=i;var o=i.width,a=i.height,s=t.getGraph(),l=s.nodes,u=s.edges;!function(t){hn.k(t,(function(t){var e=WL(t.outEdges,HL),n=WL(t.inEdges,HL),r=t.getValue()||0,i=Math.max(e,n,r);t.setLayout({value:i},!0)}))}(l);var c=hn.n(l,(function(t){return 0===t.getLayout().value}));!function(t,e,n,r,i,o,a,s,l){(function(t,e,n,r,i,o,a){for(var s=[],l=[],u=[],c=[],d=0,h=0;h=0;y&&v.depth>f&&(f=v.depth),g.setLayout({depth:y?v.depth:d},!0),"vertical"===o?g.setLayout({dy:n},!0):g.setLayout({dx:n},!0);for(var m=0;md-1?f:d-1;a&&"left"!==a&&function(t,e,n,r){if("right"===e){for(var i=[],o=t,a=0;o.length;){for(var s=0;s0;o--)PL(s,l*=.99,a),NL(s,i,n,r,a),UL(s,l,a),NL(s,i,n,r,a)}(t,e,o,i,r,a,s),function(t,e){var n="vertical"===e?"x":"y";hn.k(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]}))})),hn.k(t,(function(t){var e=0,n=0;hn.k(t.outEdges,(function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy})),hn.k(t.inEdges,(function(t){t.setLayout({ty:n},!0),n+=t.getLayout().dy}))}))}(t,s)}(l,u,n,r,o,a,0!==c.length?0:t.get("layoutIterations"),t.get("orient"),t.get("nodeAlign"))}))}function LL(t){var e=t.hostGraph.data.getRawDataItem(t.dataIndex);return null!=e.depth&&e.depth>=0}function NL(t,e,n,r,i){var o="vertical"===i?"x":"y";hn.k(t,(function(t){var a,s,l;t.sort((function(t,e){return t.getLayout()[o]-e.getLayout()[o]}));for(var u=0,c=t.length,d="vertical"===i?"dx":"dy",h=0;h0&&(a=s.getLayout()[o]+l,"vertical"===i?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]+s.getLayout()[d]+e;if((l=u-e-("vertical"===i?r:n))>0)for(a=s.getLayout()[o]-l,"vertical"===i?s.setLayout({x:a},!0):s.setLayout({y:a},!0),u=a,h=c-2;h>=0;--h)(l=(s=t[h]).getLayout()[o]+s.getLayout()[d]+e-u)>0&&(a=s.getLayout()[o]-l,"vertical"===i?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]}))}function PL(t,e,n){hn.k(t.slice().reverse(),(function(t){hn.k(t,(function(t){if(t.outEdges.length){var r=WL(t.outEdges,RL,n)/WL(t.outEdges,HL);if(isNaN(r)){var i=t.outEdges.length;r=i?WL(t.outEdges,zL,n)/i:0}if("vertical"===n){var o=t.getLayout().x+(r-FL(t,n))*e;t.setLayout({x:o},!0)}else{var a=t.getLayout().y+(r-FL(t,n))*e;t.setLayout({y:a},!0)}}}))}))}function RL(t,e){return FL(t.node2,e)*t.getValue()}function zL(t,e){return FL(t.node2,e)}function VL(t,e){return FL(t.node1,e)*t.getValue()}function BL(t,e){return FL(t.node1,e)}function FL(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function HL(t){return t.getValue()}function WL(t,e,n){for(var r=0,i=t.length,o=-1;++or&&(r=e)})),hn.k(e,(function(e){var i=new KD({type:"color",mappingMethod:"linear",dataExtent:[n,r],visual:t.get("color")}).mapValueToVisual(e.getLayout().value),o=e.getModel().get(["itemStyle","color"]);null!=o?(e.setVisual("color",o),e.setVisual("style",{fill:o})):(e.setVisual("color",i),e.setVisual("style",{fill:i}))}))}}))}var YL=function(){function t(){}return t.prototype.getInitialData=function(t,e){var n,r,i=e.getComponent("xAxis",this.get("xAxisIndex")),o=e.getComponent("yAxis",this.get("yAxisIndex")),a=i.get("type"),s=o.get("type");"category"===a?(t.layout="horizontal",n=i.getOrdinalMeta(),r=!0):"category"===s?(t.layout="vertical",n=o.getOrdinalMeta(),r=!0):t.layout=t.layout||"horizontal";var l=["x","y"],u="horizontal"===t.layout?0:1,c=this._baseAxisDim=l[u],d=l[1-u],h=[i,o],f=h[u].get("type"),p=h[1-u].get("type"),g=t.data;if(g&&r){var v=[];hn.k(g,(function(t,e){var n;hn.t(t)?(n=t.slice(),t.unshift(e)):hn.t(t.value)?((n=hn.m({},t)).value=n.value.slice(),t.value.unshift(e)):n=t,v.push(n)})),t.data=v}var y=this.defaultValueDimensions,m=[{name:c,type:mw(f),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:d,type:mw(p),dimsDef:y.slice()}];return HM(this,{coordDimensions:m,dimensionsCount:y.length+1,encodeDefaulter:hn.h(mh,m,this)})},t.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},t}(),$L=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 cn(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}(eg);Object(hn.K)($L,YL,!0);var XL=$L,ZL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return cn(e,t),e.prototype.render=function(t,e,n){var r=t.getData(),i=this.group,o=this._data;this._data||i.removeAll();var a="horizontal"===t.get("layout")?1:0;r.diff(o).add((function(t){if(r.hasValue(t)){var e=JL(r.getItemLayout(t),r,t,a,!0);r.setItemGraphicEl(t,e),i.add(e)}})).update((function(t,e){var n=o.getItemGraphicEl(e);if(r.hasValue(t)){var s=r.getItemLayout(t);n?(pc(n),KL(s,n,r,t)):n=JL(s,r,t,a),i.add(n),r.setItemGraphicEl(t,n)}else i.remove(n)})).remove((function(t){var e=o.getItemGraphicEl(t);e&&i.remove(e)})).execute(),this._data=r},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}(vy),qL=function(){},QL=function(t){function e(e){var n=t.call(this,e)||this;return n.type="boxplotBoxPath",n}return cn(e,t),e.prototype.getDefaultShape=function(){return new qL},e.prototype.buildPath=function(t,e){var n=e.points,r=0;for(t.moveTo(n[r][0],n[r][1]),r++;r<4;r++)t.lineTo(n[r][0],n[r][1]);for(t.closePath();rg){var _=[y,b];r.push(_)}}}return{boxData:n,outliers:r}}(e.getRawData(),t.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:n.boxData},{data:n.outliers}]}};var aN=["color","borderColor"],sN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return cn(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,r){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(t,e):this._incrementalRenderNormal(t,e)},e.prototype.eachRendered=function(t){sy(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,r=this.group,i=e.getLayout("isSimpleBox"),o=t.get("clip",!0),a=t.coordinateSystem,s=a.getArea&&a.getArea();this._data||r.removeAll(),e.diff(n).add((function(n){if(e.hasValue(n)){var a=e.getItemLayout(n);if(o&&dN(s,a))return;var l=cN(a,n,!0);uc(l,{shape:{points:a.ends}},t,n),hN(l,e,n,i),r.add(l),e.setItemGraphicEl(n,l)}})).update((function(a,l){var u=n.getItemGraphicEl(l);if(e.hasValue(a)){var c=e.getItemLayout(a);o&&dN(s,c)?r.remove(u):(u?(lc(u,{shape:{points:c.ends}},t,a),pc(u)):u=cN(c,a),hN(u,e,a,i),r.add(u),e.setItemGraphicEl(a,u))}else r.remove(u)})).remove((function(t){var e=n.getItemGraphicEl(t);e&&r.remove(e)})).execute(),this._data=e},e.prototype._renderLarge=function(t){this._clear(),vN(t,this.group);var e=t.get("clip",!0)?MS(t.coordinateSystem,!1,t):null;e?this.group.setClipPath(e):this.group.removeClipPath()},e.prototype._incrementalRenderNormal=function(t,e){for(var n,r=e.getData(),i=r.getLayout("isSimpleBox");null!=(n=t.next());){var o=cN(r.getItemLayout(n),n);hN(o,r,n,i),o.incremental=!0,this.group.add(o),this._progressiveEls.push(o)}},e.prototype._incrementalRenderLarge=function(t,e){vN(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}(vy),lN=function(){},uN=function(t){function e(e){var n=t.call(this,e)||this;return n.type="normalCandlestickBox",n}return cn(e,t),e.prototype.getDefaultShape=function(){return new lN},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}(Il);function cN(t,e,n){var r=t.ends;return new uN({shape:{points:n?fN(r,t):r},z2:100})}function dN(t,e){for(var n=!0,r=0;r0?"borderColor":"borderColor0"])||n.get(["itemStyle",t>0?"color":"color0"]),o=n.getModel("itemStyle").getItemStyle(aN);e.useStyle(o),e.style.fill=null,e.style.stroke=i}var mN=sN,bN=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 cn(e,t),e.prototype.getShadowDim=function(){return"open"},e.prototype.brushSelector=function(t,e,n){var r=e.getItemLayout(t);return r&&n.rect(r.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",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}(eg);Object(hn.K)(bN,YL,!0);var _N=bN;function xN(t){t&&hn.t(t.series)&&hn.k(t.series,(function(t){hn.A(t)&&"k"===t.type&&(t.type="candlestick")}))}var wN=["itemStyle","borderColor"],SN=["itemStyle","borderColor0"],MN=["itemStyle","color"],ON=["itemStyle","color0"],CN={seriesType:"candlestick",plan:ig(),performRawSeries:!0,reset:function(t,e){function n(t,e){return e.get(t>0?MN:ON)}function r(t,e){return e.get(t>0?wN:SN)}if(!e.isSeriesFiltered(t))return!t.pipelineContext.large&&{progress:function(t,e){for(var i;null!=(i=t.next());){var o=e.getItemModel(i),a=e.getItemLayout(i).sign,s=o.getItemStyle();s.fill=n(a,o),s.stroke=r(a,o)||s.fill;var l=e.ensureUniqueItemVisual(i,"style");Object(hn.m)(l,s)}}}}},IN=CN,TN={seriesType:"candlestick",plan:ig(),reset:function(t){var e=t.coordinateSystem,n=t.getData(),r=function(t,e){var n,r=t.getBaseAxis(),i="category"===r.type?r.getBandWidth():(n=r.getExtent(),Math.abs(n[1]-n[0])/e.count()),o=qo(Object(hn.P)(t.get("barMaxWidth"),i),i),a=qo(Object(hn.P)(t.get("barMinWidth"),1),i),s=t.get("barWidth");return null!=s?qo(s,i):Math.max(Math.min(i/2,o),a)}(t,n),i=["x","y"],o=n.getDimensionIndex(n.mapDimension(i[0])),a=Object(hn.H)(n.mapDimensionsAll(i[1]),n.getDimensionIndex,n),s=a[0],l=a[1],u=a[2],c=a[3];if(n.setLayout({candleWidth:r,isSimpleBox:r<=1.3}),!(o<0||a.length<4))return{progress:t.pipelineContext.large?function(t,n){var r,i,a=fS(4*t.count),d=0,h=[],f=[],p=n.getStore();for(;null!=(i=t.next());){var g=p.get(o,i),v=p.get(s,i),y=p.get(l,i),m=p.get(u,i),b=p.get(c,i);isNaN(g)||isNaN(m)||isNaN(b)?(a[d++]=NaN,d+=3):(a[d++]=AN(p,i,v,y,l),h[0]=g,h[1]=m,r=e.dataToPoint(h,null,f),a[d++]=r?r[0]:NaN,a[d++]=r?r[1]:NaN,h[1]=b,r=e.dataToPoint(h,null,f),a[d++]=r?r[1]:NaN)}n.setLayout("largePoints",a)}:function(t,n){var i,a=n.getStore();for(;null!=(i=t.next());){var d=a.get(o,i),h=a.get(s,i),f=a.get(l,i),p=a.get(u,i),g=a.get(c,i),v=Math.min(h,f),y=Math.max(h,f),m=S(v,d),b=S(y,d),_=S(p,d),x=S(g,d),w=[];M(w,b,0),M(w,m,1),w.push(C(x),C(b),C(_),C(m)),n.setItemLayout(i,{sign:AN(a,i,h,f,l),initBaseline:h>f?b[1]:m[1],ends:w,brushRect:O(p,g,d)})}function S(t,n){var r=[];return r[0]=n,r[1]=t,isNaN(n)||isNaN(t)?[NaN,NaN]:e.dataToPoint(r)}function M(t,e,n){var i=e.slice(),o=e.slice();i[0]=$v(i[0]+r/2,1,!1),o[0]=$v(o[0]-r/2,1,!0),n?t.push(i,o):t.push(o,i)}function O(t,e,n){var i=S(t,n),o=S(e,n);return i[0]-=r/2,o[0]-=r/2,{x:i[0],y:i[1],width:r,height:o[1]-i[1]}}function C(t){return t[0]=$v(t[0],1),t}}}}};function AN(t,e,n,r,i){return n>r?-1:n0?t.get(i,e-1)<=r?1:-1:1}var DN=TN;function kN(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 jN=function(t){function e(e,n){var r=t.call(this)||this,i=new rS(e,n),o=new Wo;return r.add(i),r.add(o),r.updateData(e,n),r}return cn(e,t),e.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},e.prototype.startEffectAnimation=function(t){for(var e=t.symbolType,n=t.color,r=t.rippleNumber,i=this.childAt(1),o=0;o0&&(o=this._getLineLength(r)/s*1e3),o!==this._period||a!==this._loop){r.stopAnimation();var u=void 0;u=hn.w(l)?l(n):l,r.__t>0&&(u=-o*r.__t),this._animateSymbol(r,o,u,a)}this._period=o,this._loop=a}},e.prototype._animateSymbol=function(t,e,n,r){if(e>0){t.__t=0;var i=this,o=t.animate("",r).when(e,{__t:1}).delay(n).during((function(){i._updateSymbolPosition(t)}));r||o.done((function(){i.remove(t)})),o.start()}},e.prototype._getLineLength=function(t){return Cn(t.__p1,t.__cp1)+Cn(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,r=t.__cp1,i=t.__t,o=[t.x,t.y],a=o.slice(),s=Gr,l=Yr;o[0]=s(e[0],r[0],n[0],i),o[1]=s(e[1],r[1],n[1],i);var u=l(e[0],r[0],n[0],i),c=l(e[1],r[1],n[1],i);t.rotation=-Math.atan2(c,u)-Math.PI/2,"line"!==this._symbolType&&"rect"!==this._symbolType&&"roundRect"!==this._symbolType||(void 0!==t.__lastT&&t.__lastT=0&&!(r[o]<=e);o--);o=Math.min(o,i-2)}else{for(o=a;oe);o++);o=Math.min(o-1,i-2)}var s=(e-r[o])/(r[o+1]-r[o]),l=n[o],u=n[o+1];t.x=l[0]*(1-s)+s*u[0],t.y=l[1]*(1-s)+s*u[1];var c=u[0]-l[0],d=u[1]-l[1];t.rotation=-Math.atan2(d,c)-Math.PI/2,this._lastFrame=o,this._lastFramePercent=e,t.ignore=!1}},e}(VN),WN=HN,UN=function(){this.polyline=!1,this.curveness=0,this.segs=[]},GN=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return cn(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 UN},e.prototype.buildPath=function(t,e){var n,r=e.segs,i=e.curveness;if(e.polyline)for(n=this._off;n0){t.moveTo(r[n++],r[n++]);for(var a=1;a0){var d=(s+u)/2-(l-c)*i,h=(l+c)/2-(u-s)*i;t.quadraticCurveTo(d,h,u,c)}else t.lineTo(u,c)}this.incremental&&(this._off=n,this.notClear=!0)},e.prototype.findDataIndex=function(t,e){var n=this.shape,r=n.segs,i=n.curveness,o=this.style.lineWidth;if(n.polyline)for(var a=0,s=0;s0)for(var u=r[s++],c=r[s++],d=1;d0){if(ll(u,c,(u+h)/2-(c-f)*i,(c+f)/2-(h-u)*i,h,f,o,t,e))return a}else if(al(u,c,h,f,o,t,e))return a;a++}return-1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),r=this.getBoundingRect();return t=n[0],e=n[1],r.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,r=1/0,i=-1/0,o=-1/0,a=0;a0&&(o.dataIndex=n+t.__startIndex)}))},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),$N=YN,XN={seriesType:"lines",plan:ig(),reset:function(t){var e=t.coordinateSystem;if(e){var n=t.get("polyline"),r=t.pipelineContext.large;return{progress:function(i,o){var a=[];if(r){var s=void 0,l=i.end-i.start;if(n){for(var u=0,c=i.start;c0&&(l||s.configLayer(o,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(a/10+.9,1),0)})),i.updateData(r);var u=t.get("clip",!0)&&MS(t.coordinateSystem,!1,t);u?this.group.setClipPath(u):this.group.removeClipPath(),this._lastZlevel=o,this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var r=t.getData();this._updateLineDraw(r,t).incrementalPrepareUpdate(r),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 r=t.getData(),i=t.pipelineContext;if(!this._finished||i.large||i.progressiveRender)return{update:!0};var o=ZN.reset(t,e,n);o.progress&&o.progress({start:0,end:r.count(),count:r.count()},r),this._lineDraw.updateLayout(),this._clearLayer(n)},e.prototype._updateLineDraw=function(t,e){var n=this._lineDraw,r=this._showEffect(e),i=!!e.get("polyline"),o=e.pipelineContext.large;return n&&r===this._hasEffet&&i===this._isPolyline&&o===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=o?new $N:new aj(i?r?WN:FN:r?VN:ej),this._hasEffet=r,this._isPolyline=i,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}(vy),QN=qN,JN="undefined"==typeof Uint32Array?Array:Uint32Array,KN="undefined"==typeof Float64Array?Array:Float64Array;function tP(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=Object(hn.H)(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(hn.J)([e,t[0],t[1]])})))}var eP=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 cn(e,t),e.prototype.init=function(e){e.data=e.data||[],tP(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(tP(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(hn.e)(this._flatCoords,e.flatCoords),this._flatCoordsOffset=Object(hn.e)(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);return e.option instanceof Array?e.option:e.getShallow("coords")},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],r=this._flatCoordsOffset[2*t+1],i=0;i ")})},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}(eg),nP=eP;function rP(t){return t instanceof Array||(t=[t,t]),t}var iP={seriesType:"lines",reset:function(t){var e=rP(t.get("symbol")),n=rP(t.get("symbolSize")),r=t.getData();return r.setVisual("fromSymbol",e&&e[0]),r.setVisual("toSymbol",e&&e[1]),r.setVisual("fromSymbolSize",n&&n[0]),r.setVisual("toSymbolSize",n&&n[1]),{dataEach:r.hasItemOption?function(t,e){var n=t.getItemModel(e),r=rP(n.getShallow("symbol",!0)),i=rP(n.getShallow("symbolSize",!0));r[0]&&t.setItemVisual(e,"fromSymbol",r[0]),r[1]&&t.setItemVisual(e,"toSymbol",r[1]),i[0]&&t.setItemVisual(e,"fromSymbolSize",i[0]),i[1]&&t.setItemVisual(e,"toSymbolSize",i[1])}:null}}},oP=iP;var aP=function(){function t(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var t=xo.d.createCanvas();this.canvas=t}return t.prototype.update=function(t,e,n,r,i,o){var a=this._getBrush(),s=this._getGradient(i,"inRange"),l=this._getGradient(i,"outOfRange"),u=this.pointSize+this.blurSize,c=this.canvas,d=c.getContext("2d"),h=t.length;c.width=e,c.height=n;for(var f=0;f0){var O=o(y)?s:l;y>0&&(y=y*S+w),b[_++]=O[M],b[_++]=O[M+1],b[_++]=O[M+2],b[_++]=O[M+3]*y*256}else _+=4}return d.putImageData(m,0,0),c},t.prototype._getBrush=function(){var t=this._brushCanvas||(this._brushCanvas=xo.d.createCanvas()),e=this.pointSize+this.blurSize,n=2*e;t.width=n,t.height=n;var r=t.getContext("2d");return r.clearRect(0,0,n,n),r.shadowOffsetX=n,r.shadowBlur=this.blurSize,r.shadowColor="#000",r.beginPath(),r.arc(-e,e,this.pointSize,0,2*Math.PI,!0),r.closePath(),r.fill(),t},t.prototype._getGradient=function(t,e){for(var n=this._gradientPixels,r=n[e]||(n[e]=new Uint8ClampedArray(1024)),i=[0,0,0,0],o=0,a=0;a<256;a++)t[e](a/255,!0,i),r[o++]=i[0],r[o++]=i[1],r[o++]=i[2],r[o++]=i[3];return r},t}(),sP=aP;function lP(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}var uP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return cn(e,t),e.prototype.render=function(t,e,n){var r;e.eachComponent("visualMap",(function(e){e.eachTargetSeries((function(n){n===t&&(r=e)}))})),this._progressiveEls=null,this.group.removeAll();var i=t.coordinateSystem;"cartesian2d"===i.type||"calendar"===i.type?this._renderOnCartesianAndCalendar(t,n,0,t.getData().count()):lP(i)&&this._renderOnGeo(i,t,r,n)},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll()},e.prototype.incrementalRender=function(t,e,n,r){var i=e.coordinateSystem;i&&(lP(i)?this.render(e,n,r):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(e,r,t.start,t.end,!0)))},e.prototype.eachRendered=function(t){sy(this._progressiveEls||this.group,t)},e.prototype._renderOnCartesianAndCalendar=function(t,e,n,r,i){var o,a,s,l,u=t.coordinateSystem,c=OS(u,"cartesian2d");if(c){var d=u.getAxis("x"),h=u.getAxis("y");o=d.getBandWidth()+.5,a=h.getBandWidth()+.5,s=d.scale.getExtent(),l=h.scale.getExtent()}for(var f=this.group,p=t.getData(),g=t.getModel(["emphasis","itemStyle"]).getItemStyle(),v=t.getModel(["blur","itemStyle"]).getItemStyle(),y=t.getModel(["select","itemStyle"]).getItemStyle(),m=t.get(["itemStyle","borderRadius"]),b=bc(t),_=t.getModel("emphasis"),x=_.get("focus"),w=_.get("blurScope"),S=_.get("disabled"),M=c?[p.mapDimension("x"),p.mapDimension("y"),p.mapDimension("value")]:[p.mapDimension("time"),p.mapDimension("value")],O=n;Os[1]||Al[1])continue;var D=u.dataToPoint([T,A]);C=new Hl({shape:{x:D[0]-o/2,y:D[1]-a/2,width:o,height:a},style:I})}else{if(isNaN(p.get(M[1],O)))continue;C=new Hl({z2:1,shape:u.dataToRect([p.get(M[0],O)]).contentShape,style:I})}if(p.hasItemOption){var k=p.getItemModel(O),j=k.getModel("emphasis");g=j.getModel("itemStyle").getItemStyle(),v=k.getModel(["blur","itemStyle"]).getItemStyle(),y=k.getModel(["select","itemStyle"]).getItemStyle(),m=k.get(["itemStyle","borderRadius"]),x=j.get("focus"),w=j.get("blurScope"),S=j.get("disabled"),b=bc(k)}C.shape.r=m;var E=t.getRawValue(O),L="-";E&&null!=E[2]&&(L=E[2]+""),mc(C,b,{labelFetcher:t,labelDataIndex:O,defaultOpacity:I.opacity,defaultText:L}),C.ensureState("emphasis").style=g,C.ensureState("blur").style=v,C.ensureState("select").style=y,qu(C,x,w,S),C.incremental=i,i&&(C.states.emphasis.hoverLayer=!0),f.add(C),p.setItemGraphicEl(O,C),this._progressiveEls&&this._progressiveEls.push(C)}},e.prototype._renderOnGeo=function(t,e,n,r){var i=n.targetVisuals.inRange,o=n.targetVisuals.outOfRange,a=e.getData(),s=this._hmLayer||this._hmLayer||new sP;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(),u=t.getRoamTransform();l.applyTransform(u);var c=Math.max(l.x,0),d=Math.max(l.y,0),h=Math.min(l.width+l.x,r.getWidth()),f=Math.min(l.height+l.y,r.getHeight()),p=h-c,g=f-d,v=[a.mapDimension("lng"),a.mapDimension("lat"),a.mapDimension("value")],y=a.mapArray(v,(function(e,n,r){var i=t.dataToPoint([e,n]);return i[0]-=c,i[1]-=d,i.push(r),i})),m=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]}}(m,n.option.range):function(t,e,n){var r=t[1]-t[0],i=(e=hn.H(e,(function(e){return{interval:[(e.interval[0]-t[0])/r,(e.interval[1]-t[0])/r]}}))).length,o=0;return function(t){var r;for(r=o;r=0;r--)if((a=e[r].interval)[0]<=t&&t<=a[1]){o=r;break}return r>=0&&r0?1:-1})(n,o,i,r,d),function(t,e,n,r,i,o,a,s,l,u){var c,d=l.valueDim,h=l.categoryDim,f=Math.abs(n[h.wh]),p=t.getItemVisual(e,"symbolSize");(c=hn.t(p)?p.slice():null==p?["100%","100%"]:[p,p])[h.index]=qo(c[h.index],f),c[d.index]=qo(c[d.index],r?f:Math.abs(o)),u.symbolSize=c,(u.symbolScale=[c[0]/s,c[1]/s])[d.index]*=(l.isHorizontal?-1:1)*a}(t,e,i,o,0,d.boundingLength,d.pxSign,u,r,d),function(t,e,n,r,i){var o=t.get(fP)||0;o&&(gP.attr({scaleX:e[0],scaleY:e[1],rotation:n}),gP.updateTransform(),o/=gP.getLineScale(),o*=e[r.valueDim.index]),i.valueLineWidth=o||0}(n,d.symbolScale,l,r,d);var h=d.symbolSize,f=Am(n.get("symbolOffset"),h);return function(t,e,n,r,i,o,a,s,l,u,c,d){var h=c.categoryDim,f=c.valueDim,p=d.pxSign,g=Math.max(e[f.index]+s,0),v=g;if(r){var y=Math.abs(l),m=hn.O(t.get("symbolMargin"),"15%")+"",b=!1;m.lastIndexOf("!")===m.length-1&&(b=!0,m=m.slice(0,m.length-1));var _=qo(m,e[f.index]),x=Math.max(g+2*_,0),w=b?0:2*_,S=ha(r),M=S?r:EP((y+w)/x);x=g+2*(_=(y-M*g)/2/(b?M:Math.max(M-1,1))),w=b?0:2*_,S||"fixed"===r||(M=u?EP((Math.abs(u)+w)/x):0),v=M*x-w,d.repeatTimes=M,d.symbolMargin=_}var O=p*(v/2),C=d.pathPosition=[];C[h.index]=n[h.wh]/2,C[f.index]="start"===a?O:"end"===a?l-O:l/2,o&&(C[0]+=o[0],C[1]+=o[1]);var I=d.bundlePosition=[];I[h.index]=n[h.xy],I[f.index]=n[f.xy];var T=d.barRectShape=hn.m({},n);T[f.wh]=p*Math.max(Math.abs(n[f.wh]),Math.abs(C[f.index]+O)),T[h.wh]=n[h.wh];var A=d.clipShape={};A[h.xy]=-n[h.xy],A[h.wh]=c.ecSize[h.wh],A[f.xy]=0,A[f.wh]=n[f.wh]}(n,h,i,o,0,f,s,d.valueLineWidth,d.boundingLength,d.repeatCutLength,r,d),d}function mP(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function bP(t){var e=t.symbolPatternSize,n=Im(t.symbolType,-e/2,-e/2,e,e);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function _P(t,e,n,r){var i=t.__pictorialBundle,o=n.symbolSize,a=n.valueLineWidth,s=n.pathPosition,l=e.valueDim,u=n.repeatTimes||0,c=0,d=o[e.valueDim.index]+a+2*n.symbolMargin;for(DP(t,(function(t){t.__pictorialAnimationIndex=c,t.__pictorialRepeatTimes=u,c0:r<0)&&(i=u-1-t),e[l.index]=d*(i-u/2+.5)+s[l.index],{x:e[0],y:e[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation}}}function xP(t,e,n,r){var i=t.__pictorialBundle,o=t.__pictorialMainPath;o?kP(o,null,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation},n,r):(o=t.__pictorialMainPath=bP(n),i.add(o),kP(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,r))}function wP(t,e,n){var r=hn.m({},e.barRectShape),i=t.__pictorialBarRect;i?kP(i,null,{shape:r},e,n):((i=t.__pictorialBarRect=new Hl({z2:2,shape:r,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}})).disableMorphing=!0,t.add(i))}function SP(t,e,n,i){if(n.symbolClip){var o=t.__pictorialClipPath,a=hn.m({},n.clipShape),s=e.valueDim,l=n.animationModel,u=n.dataIndex;if(o)lc(o,{shape:a},l,u);else{a[s.wh]=0,o=new Hl({shape:a}),t.__pictorialBundle.setClipPath(o),t.__pictorialClipPath=o;var c={};c[s.wh]=n.clipShape[s.wh],r[i?"updateProps":"initProps"](o,{shape:c},l,u)}}}function MP(t,e){var n=t.getItemModel(e);return n.getAnimationDelayParams=OP,n.isAnimationEnabled=CP,n}function OP(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function CP(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function IP(t,e,n,r){var i=new Wo,o=new Wo;return i.add(o),i.__pictorialBundle=o,o.x=n.bundlePosition[0],o.y=n.bundlePosition[1],n.symbolRepeat?_P(i,e,n):xP(i,0,n),wP(i,n,r),SP(i,e,n,r),i.__pictorialShapeStr=AP(t,n),i.__pictorialSymbolMeta=n,i}function TP(t,e,n,r){var i=r.__pictorialBarRect;i&&i.removeTextContent();var o=[];DP(r,(function(t){o.push(t)})),r.__pictorialMainPath&&o.push(r.__pictorialMainPath),r.__pictorialClipPath&&(n=null),hn.k(o,(function(t){dc(t,{scaleX:0,scaleY:0},n,e,(function(){r.parent&&r.parent.remove(r)}))})),t.setItemGraphicEl(e,null)}function AP(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function DP(t,e,n){hn.k(t.__pictorialBundle.children(),(function(r){r!==t.__pictorialBarRect&&e.call(n,r)}))}function kP(t,e,n,i,o,a){e&&t.attr(e),i.symbolClip&&!o?n&&t.attr(n):n&&r[o?"updateProps":"initProps"](t,n,i.animationModel,i.dataIndex,a)}function jP(t,e,n){var r=n.dataIndex,i=n.itemModel,o=i.getModel("emphasis"),a=o.getModel("itemStyle").getItemStyle(),s=i.getModel(["blur","itemStyle"]).getItemStyle(),l=i.getModel(["select","itemStyle"]).getItemStyle(),u=i.getShallow("cursor"),c=o.get("focus"),d=o.get("blurScope"),h=o.get("scale");DP(t,(function(t){if(t instanceof Ll){var e=t.style;t.useStyle(hn.m({image:e.image,x:e.x,y:e.y,width:e.width,height:e.height},n.style))}else t.useStyle(n.style);var r=t.ensureState("emphasis");r.style=a,h&&(r.scaleX=1.1*t.scaleX,r.scaleY=1.1*t.scaleY),t.ensureState("blur").style=s,t.ensureState("select").style=l,u&&(t.cursor=u),t.z2=n.z2}));var f=e.valueDim.posDesc[+(n.boundingLength>0)];mc(t.__pictorialBarRect,bc(i),{labelFetcher:e.seriesModel,labelDataIndex:r,defaultText:Kw(e.seriesModel.getData(),r),inheritColor:n.style.fill,defaultOpacity:n.style.opacity,defaultOutsidePosition:f}),qu(t,c,d,o.get("disabled"))}function EP(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var LP=vP,NP=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 cn(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=Gc(tM.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}(tM),PP=NP;var RP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._layers=[],n}return cn(e,t),e.prototype.render=function(t,e,n){var r=t.getData(),i=this,o=this.group,a=t.getLayerSeries(),s=r.getLayout("layoutInfo"),l=s.rect,u=s.boundaryGap;function c(t){return t.name}o.x=0,o.y=l.y+u[0];var d=new gw(this._layersSeries||[],a,c,c),h=[];function f(e,n,s){var l=i._layers;if("remove"!==e){for(var u,c,d=[],f=[],p=a[n].indices,g=0;go&&(o=s),r.push(s)}for(var u=0;uo&&(o=d)}return{y0:i,max:o}}(l),c=u.y0,d=n/u.max,h=o.length,f=o[0].indices.length,p=0;pMath.PI/2?"right":"left"):S&&"center"!==S?"left"===S?(m=i.r0+w,a>Math.PI/2&&(S="right")):"right"===S&&(m=i.r-w,a>Math.PI/2&&(S="left")):(m=o===2*Math.PI&&0===i.r0?0:(i.r+i.r0)/2,S="center"),g.style.align=S,g.style.verticalAlign=p(h,"verticalAlign")||"middle",g.x=m*s+i.cx,g.y=m*l+i.cy;var M=p(h,"rotate"),O=0;"radial"===M?(O=-a)<-Math.PI/2&&(O+=Math.PI):"tangential"===M?(O=Math.PI/2-a)>Math.PI/2?O-=Math.PI:O<-Math.PI/2&&(O+=Math.PI):hn.z(M)&&(O=M*Math.PI/180),g.rotation=O})),c.dirtyStyle()},e}(Yg),UP=WP,GP="sunburstRootToNode",YP="sunburstHighlight";var $P=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return cn(e,t),e.prototype.render=function(t,e,n,r){var i=this;this.seriesModel=t,this.api=n,this.ecModel=e;var o=t.getData(),a=o.tree.root,s=t.getViewRoot(),l=this.group,u=t.get("renderLabelForZeroData"),c=[];s.eachNode((function(t){c.push(t)}));var d=this._oldChildren||[];function h(r,i){if(u||!r||r.getValue()||(r=null),r!==a&&i!==a)if(i&&i.piece)r?(i.piece.updateData(!1,r,t,e,n),o.setItemGraphicEl(r.dataIndex,i.piece)):function(t){t&&t.piece&&(l.remove(t.piece),t.piece=null)}(i);else if(r){var s=new UP(r,t,e,n);l.add(s),o.setItemGraphicEl(r.dataIndex,s)}}(function(t,e){function n(t){return t.getId()}function r(n,r){h(null==n?null:t[n],null==r?null:e[r])}0===t.length&&0===e.length||new gw(e,t,n,n).add(r).update(r).remove(hn.h(r,null)).execute()})(c,d),function(r,o){o.depth>0?(i.virtualPiece?i.virtualPiece.updateData(!1,r,t,e,n):(i.virtualPiece=new UP(r,t,e,n),l.add(i.virtualPiece)),o.piece.off("click"),i.virtualPiece.on("click",(function(t){i._rootToNode(o.parentNode)}))):i.virtualPiece&&(l.remove(i.virtualPiece),i.virtualPiece=null)}(a,s),this._initEvents(),this._oldChildren=c},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(r){if(!n&&r.piece&&r.piece===e.target){var i=r.getModel().get("nodeClick");if("rootToNode"===i)t._rootToNode(r);else if("link"===i){var o=r.getModel(),a=o.get("link");if(a)Fd(a,o.get("target",!0)||"_blank")}n=!0}}))}))},e.prototype._rootToNode=function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:GP,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},e.prototype.containPoint=function(t,e){var n=e.getData().getItemLayout(0);if(n){var r=t[0]-n.cx,i=t[1]-n.cy,o=Math.sqrt(r*r+i*i);return o<=n.r&&o>=n.r0}},e.type="sunburst",e}(vy),XP=$P,ZP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreStyleOnData=!0,n}return cn(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};qP(n);var r=this._levelModels=hn.H(t.levels||[],(function(t){return new Hc(t,this,e)}),this),i=uD.createTree(n,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=i.getNodeByDataIndex(e),o=r[n.depth];return o&&(t.parentModel=o),t}))}));return i.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(e);return n.treePathInfo=fD(r,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(){_D(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}(eg);function qP(t){var e=0;hn.k(t.children,(function(t){qP(t);var n=t.value;hn.t(n)&&(n=n[0]),e+=n}));var n=t.value;hn.t(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),hn.t(t.value)?t.value[0]=n:t.value=n}var QP=ZP,JP=Math.PI/180;function KP(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.get("center"),r=t.get("radius");hn.t(r)||(r=[0,r]),hn.t(e)||(e=[e,e]);var i=n.getWidth(),o=n.getHeight(),a=Math.min(i,o),s=qo(e[0],i),l=qo(e[1],o),u=qo(r[0],a/2),c=qo(r[1],a/2),d=-t.get("startAngle")*JP,h=t.get("minAngle")*JP,f=t.getData().tree.root,p=t.getViewRoot(),g=p.depth,v=t.get("sort");null!=v&&tR(p,v);var y=0;hn.k(p.children,(function(t){!isNaN(t.getValue())&&y++}));var m=p.getValue(),b=Math.PI/(m||y)*2,_=p.depth>0,x=p.height-(_?-1:1),w=(c-u)/(x||1),S=t.get("clockwise"),M=t.get("stillShowZeroSum"),O=S?1:-1,C=function(e,n){if(e){var r=n;if(e!==f){var i=e.getValue(),o=0===m&&M?b:i*b;o1;)i=i.parentNode;var o=n.getColorFromPalette(i.name||i.dataIndex+"",e);return t.depth>1&&Object(hn.C)(o)&&(o=Object(ei.c)(o,(t.depth-1)/(r-1)*.5)),o}t.eachSeriesByType("sunburst",(function(t){var e=t.getData(),r=e.tree;r.eachNode((function(i){var o=i.getModel().getModel("itemStyle").getItemStyle();o.fill||(o.fill=n(i,t,r.root.height));var a=e.ensureUniqueItemVisual(i.dataIndex,"style");Object(hn.m)(a,o)}))}))}var nR={color:"fill",borderColor:"stroke"},rR={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},iR=ka(),oR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return cn(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 qw(null,this)},e.prototype.getDataParams=function(e,n,r){var i=t.prototype.getDataParams.call(this,e,n);return r&&(i.info=iR(r).info),i},e.type="series.custom",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},e}(eg),aR=oR;function sR(t,e){return e=e||[0,0],hn.H(["x","y"],(function(n,r){var i=this.getAxis(n),o=e[r],a=t[r]/2;return"category"===i.type?i.getBandWidth():Math.abs(i.dataToCoord(o-a)-i.dataToCoord(o+a))}),this)}function lR(t,e){return e=e||[0,0],hn.H([0,1],(function(n){var r=e[n],i=t[n]/2,o=[],a=[];return o[n]=r-i,a[n]=r+i,o[1-n]=a[1-n]=e[1-n],Math.abs(this.dataToPoint(o)[n]-this.dataToPoint(a)[n])}),this)}function uR(t,e){var n=this.getAxis(),r=e instanceof Array?e[0]:e,i=(t instanceof Array?t[0]:t)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(r-i)-n.dataToCoord(r+i))}function cR(t,e){return e=e||[0,0],hn.H(["Radius","Angle"],(function(n,r){var i=this["get"+n+"Axis"](),o=e[r],a=t[r]/2,s="category"===i.type?i.getBandWidth():Math.abs(i.dataToCoord(o-a)-i.dataToCoord(o+a));return"Angle"===n&&(s=s*Math.PI/180),s}),this)}function dR(t,e,n,r){return t&&(t.legacy||!1!==t.legacy&&!n&&!r&&"tspan"!==e&&("text"===e||Object(hn.q)(t,"text")))}function hR(t,e,n){var r,i,o,a=t;if("text"===e)o=a;else{o={},Object(hn.q)(a,"text")&&(o.text=a.text),Object(hn.q)(a,"rich")&&(o.rich=a.rich),Object(hn.q)(a,"textFill")&&(o.fill=a.textFill),Object(hn.q)(a,"textStroke")&&(o.stroke=a.textStroke),Object(hn.q)(a,"fontFamily")&&(o.fontFamily=a.fontFamily),Object(hn.q)(a,"fontSize")&&(o.fontSize=a.fontSize),Object(hn.q)(a,"fontStyle")&&(o.fontStyle=a.fontStyle),Object(hn.q)(a,"fontWeight")&&(o.fontWeight=a.fontWeight),i={type:"text",style:o,silent:!0},r={};var s=Object(hn.q)(a,"textPosition");n?r.position=s?a.textPosition:"inside":s&&(r.position=a.textPosition),Object(hn.q)(a,"textPosition")&&(r.position=a.textPosition),Object(hn.q)(a,"textOffset")&&(r.offset=a.textOffset),Object(hn.q)(a,"textRotation")&&(r.rotation=a.textRotation),Object(hn.q)(a,"textDistance")&&(r.distance=a.textDistance)}return fR(o,t),Object(hn.k)(o.rich,(function(t){fR(t,t)})),{textConfig:r,textContent:i}}function fR(t,e){e&&(e.font=e.textFont||e.font,Object(hn.q)(e,"textStrokeWidth")&&(t.lineWidth=e.textStrokeWidth),Object(hn.q)(e,"textAlign")&&(t.align=e.textAlign),Object(hn.q)(e,"textVerticalAlign")&&(t.verticalAlign=e.textVerticalAlign),Object(hn.q)(e,"textLineHeight")&&(t.lineHeight=e.textLineHeight),Object(hn.q)(e,"textWidth")&&(t.width=e.textWidth),Object(hn.q)(e,"textHeight")&&(t.height=e.textHeight),Object(hn.q)(e,"textBackgroundColor")&&(t.backgroundColor=e.textBackgroundColor),Object(hn.q)(e,"textPadding")&&(t.padding=e.textPadding),Object(hn.q)(e,"textBorderColor")&&(t.borderColor=e.textBorderColor),Object(hn.q)(e,"textBorderWidth")&&(t.borderWidth=e.textBorderWidth),Object(hn.q)(e,"textBorderRadius")&&(t.borderRadius=e.textBorderRadius),Object(hn.q)(e,"textBoxShadowColor")&&(t.shadowColor=e.textBoxShadowColor),Object(hn.q)(e,"textBoxShadowBlur")&&(t.shadowBlur=e.textBoxShadowBlur),Object(hn.q)(e,"textBoxShadowOffsetX")&&(t.shadowOffsetX=e.textBoxShadowOffsetX),Object(hn.q)(e,"textBoxShadowOffsetY")&&(t.shadowOffsetY=e.textBoxShadowOffsetY))}function pR(t,e,n){var r=t;r.textPosition=r.textPosition||n.position||"inside",null!=n.offset&&(r.textOffset=n.offset),null!=n.rotation&&(r.textRotation=n.rotation),null!=n.distance&&(r.textDistance=n.distance);var i=r.textPosition.indexOf("inside")>=0,o=t.fill||"#000";gR(r,e);var a=null==r.textFill;return i?a&&(r.textFill=n.insideFill||"#fff",!r.textStroke&&n.insideStroke&&(r.textStroke=n.insideStroke),!r.textStroke&&(r.textStroke=o),null==r.textStrokeWidth&&(r.textStrokeWidth=2)):(a&&(r.textFill=t.fill||n.outsideFill||"#000"),!r.textStroke&&n.outsideStroke&&(r.textStroke=n.outsideStroke)),r.text=e.text,r.rich=e.rich,Object(hn.k)(e.rich,(function(t){gR(t,t)})),r}function gR(t,e){e&&(Object(hn.q)(e,"fill")&&(t.textFill=e.fill),Object(hn.q)(e,"stroke")&&(t.textStroke=e.fill),Object(hn.q)(e,"lineWidth")&&(t.textStrokeWidth=e.lineWidth),Object(hn.q)(e,"font")&&(t.font=e.font),Object(hn.q)(e,"fontStyle")&&(t.fontStyle=e.fontStyle),Object(hn.q)(e,"fontWeight")&&(t.fontWeight=e.fontWeight),Object(hn.q)(e,"fontSize")&&(t.fontSize=e.fontSize),Object(hn.q)(e,"fontFamily")&&(t.fontFamily=e.fontFamily),Object(hn.q)(e,"align")&&(t.textAlign=e.align),Object(hn.q)(e,"verticalAlign")&&(t.textVerticalAlign=e.verticalAlign),Object(hn.q)(e,"lineHeight")&&(t.textLineHeight=e.lineHeight),Object(hn.q)(e,"width")&&(t.textWidth=e.width),Object(hn.q)(e,"height")&&(t.textHeight=e.height),Object(hn.q)(e,"backgroundColor")&&(t.textBackgroundColor=e.backgroundColor),Object(hn.q)(e,"padding")&&(t.textPadding=e.padding),Object(hn.q)(e,"borderColor")&&(t.textBorderColor=e.borderColor),Object(hn.q)(e,"borderWidth")&&(t.textBorderWidth=e.borderWidth),Object(hn.q)(e,"borderRadius")&&(t.textBorderRadius=e.borderRadius),Object(hn.q)(e,"shadowColor")&&(t.textBoxShadowColor=e.shadowColor),Object(hn.q)(e,"shadowBlur")&&(t.textBoxShadowBlur=e.shadowBlur),Object(hn.q)(e,"shadowOffsetX")&&(t.textBoxShadowOffsetX=e.shadowOffsetX),Object(hn.q)(e,"shadowOffsetY")&&(t.textBoxShadowOffsetY=e.shadowOffsetY),Object(hn.q)(e,"textShadowColor")&&(t.textShadowColor=e.textShadowColor),Object(hn.q)(e,"textShadowBlur")&&(t.textShadowBlur=e.textShadowBlur),Object(hn.q)(e,"textShadowOffsetX")&&(t.textShadowOffsetX=e.textShadowOffsetX),Object(hn.q)(e,"textShadowOffsetY")&&(t.textShadowOffsetY=e.textShadowOffsetY))}var vR={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},yR=Object(hn.F)(vR),mR=(Object(hn.N)(io,(function(t,e){return t[e]=1,t}),{}),io.join(", "),["","style","shape","extra"]),bR=ka();function _R(t,e,n,r,i){var o=t+"Animation",a=ac(t,r,i)||{},s=bR(e).userDuring;return a.duration>0&&(a.during=s?Object(hn.c)(IR,{el:e,userDuring:s}):null,a.setToFinal=!0,a.scope=t),Object(hn.m)(a,n[o]),a}function xR(t,e,n,r){var i=(r=r||{}).dataIndex,o=r.isInit,a=r.clearStyle,s=n.isAnimationEnabled(),l=bR(t),u=e.style;l.userDuring=e.during;var c={},d={};if(function(t,e,n){for(var r=0;r=0)){var h=t.getAnimationStyleProps(),f=h?h.style:null;if(f){!i&&(i=r.style={});var p=Object(hn.F)(n);for(u=0;u0&&t.animateFrom(h,f)}else!function(t,e,n,r,i){if(i){var o=_R("update",t,e,r,n);o.duration>0&&t.animateFrom(i,o)}}(t,e,i||0,n,c);wR(t,e),u?t.dirty():t.markRedraw()}function wR(t,e){for(var n=bR(t).leaveToProps,r=0;r=0){!o&&(o=r[t]={});var f=Object(hn.F)(a);for(c=0;cr[1]&&r.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:r[1],r0:r[0]},api:{coord:function(r){var i=e.dataToRadius(r[0]),o=n.dataToAngle(r[1]),a=t.coordToPoint([i,o]);return a.push(i,o*Math.PI/180),a},size:hn.c(cR,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 GR(t){return t instanceof Il}function YR(t){return t instanceof Ms}var $R=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return cn(e,t),e.prototype.render=function(t,e,n,r){this._progressiveEls=null;var i=this._data,o=t.getData(),a=this.group,s=KR(t,o,e,n);i||a.removeAll(),o.diff(i).add((function(e){ez(n,null,e,s(e,r),t,a,o)})).remove((function(e){var n=i.getItemGraphicEl(e);SR(n,iR(n).option,t)})).update((function(e,l){var u=i.getItemGraphicEl(l);ez(n,u,e,s(e,r),t,a,o)})).execute();var l=t.get("clip",!0)?MS(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,r,i){var o=e.getData(),a=KR(e,o,n,r),s=this._progressiveEls=[];function l(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}for(var u=t.start;u=0?e.getStore().get(i,n):void 0}var o=e.get(r.name,n),a=r&&r.ordinalMeta;return a?a.categories[o]:o},styleEmphasis:function(n,r){null==r&&(r=s);var i=m(r,NR).getItemStyle(),o=b(r,NR),a=_c(o,null,null,!0,!0);a.text=o.getShallow("show")?Object(hn.Q)(t.getFormattedLabel(r,NR),t.getFormattedLabel(r,PR),Kw(e,r)):null;var l=xc(o,null,!0);return x(n,i),i=pR(i,a,l),n&&_(i,n),i.legacy=!0,i},visual:function(t,n){if(null==n&&(n=s),Object(hn.q)(nR,t)){var r=e.getItemVisual(n,"style");return r?r[nR[t]]:null}if(Object(hn.q)(rR,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,r="axis0";if("category"===n.type){for(var i=n.getBandWidth(),o=0;o=c;d--){SR(e.childAt(d),iR(e).option,i)}}}(t,u,n,r,i),a>=0?o.replaceAt(u,a):o.add(u),u}function rz(t,e,n){var r=iR(t),i=e.type,o=e.shape,a=e.style;return n.isUniversalTransitionEnabled()||null!=i&&i!==r.customGraphicType||"path"===i&&function(t){return t&&(Object(hn.q)(t,"pathData")||Object(hn.q)(t,"d"))}(o)&&cz(o)!==r.customPathData||"image"===i&&Object(hn.q)(a,"image")&&a.image!==r.customImagePath}function iz(t,e,n){var r=e?oz(t,e):t,i=e?az(t,r,NR):t.style,o=t.type,a=r?r.textConfig:null,s=t.textContent,l=s?e?oz(s,e):s:null;if(i&&(n.isLegacy||dR(i,o,!!a,!!l))){n.isLegacy=!0;var u=hR(i,o,!e);!a&&u.textConfig&&(a=u.textConfig),!l&&u.textContent&&(l=u.textContent)}if(!e&&l){var c=l;!c.type&&(c.type="text")}var d=e?n[e]:n.normal;d.cfg=a,d.conOpt=l}function oz(t,e){return e?t?t[e]:null:t}function az(t,e,n){var r=e&&e.style;return null==r&&n===NR&&t&&(r=t.styleEmphasis),r}function sz(t,e){var n=t&&t.name;return null!=n?n:"e\0\0"+e}function lz(t,e){var n=this.context,r=null!=t?n.newChildren[t]:null,i=null!=e?n.oldChildren[e]:null;nz(n.api,i,n.dataIndex,r,n.seriesModel,n.group)}function uz(t){var e=this.context,n=e.oldChildren[t];SR(n,iR(n).option,e.seriesModel)}function cz(t){return t&&(t.pathData||t.d)}var dz=ka(),hz=hn.d,fz=hn.c,pz=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(t,e,n,r){var i=e.get("value"),o=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,r||this._lastValue!==i||this._lastStatus!==o){this._lastValue=i,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,i,t,e,n);var u=l.graphicKey;u!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=u;var c=this._moveAnimation=this.determineAnimation(t,e);if(a){var d=hn.h(gz,e,c);this.updatePointerEl(a,l,d),this.updateLabelEl(a,l,d,e)}else a=this._group=new Wo,this.createPointerEl(a,l,t,e),this.createLabelEl(a,l,t,e),n.getZr().add(a);bz(a,e,!0),this._renderHandle(i)}},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"),r=t.axis,i="category"===r.type,o=e.get("snap");if(!o&&!i)return!1;if("auto"===n||null==n){var a=this.animationThreshold;if(i&&r.getBandWidth()>a)return!0;if(o){var s=KC(t).seriesDataCount,l=r.getExtent();return Math.abs(l[0]-l[1])/s>a}return!1}return!0===n},t.prototype.makeElOption=function(t,e,n,r,i){},t.prototype.createPointerEl=function(t,e,n,i){var o=e.pointer;if(o){var a=dz(t).pointerEl=new r[o.type](hz(e.pointer));t.add(a)}},t.prototype.createLabelEl=function(t,e,n,r){if(e.label){var i=dz(t).labelEl=new iu(hz(e.label));t.add(i),yz(i,r)}},t.prototype.updatePointerEl=function(t,e,n){var r=dz(t).pointerEl;r&&e.pointer&&(r.setStyle(e.pointer.style),n(r,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,n,r){var i=dz(t).labelEl;i&&(i.setStyle(e.label.style),n(i,{x:e.label.x,y:e.label.y}),yz(i,r))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,r=this._api.getZr(),i=this._handle,o=n.getModel("handle"),a=n.get("status");if(!o.get("show")||!a||"hide"===a)return i&&r.remove(i),void(this._handle=null);this._handle||(e=!0,i=this._handle=ey(o.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){Kn(t.event)},onmousedown:fz(this._onHandleDragMove,this,0,0),drift:fz(this._onHandleDragMove,this),ondragend:fz(this._onHandleDragEnd,this)}),r.add(i)),bz(i,n,!1),i.setStyle(o.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=o.get("size");hn.t(s)||(s=[s,s]),i.scaleX=s[0]/2,i.scaleY=s[1]/2,xy(this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){gz(this._axisPointerModel,!e&&this._moveAnimation,this._handle,mz(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var r=this.updateHandleTransform(mz(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=r,n.stopAnimation(),n.attr(mz(r)),dz(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,r=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),r&&e.remove(r),this._group=null,this._handle=null,this._payloadInfo=null),wy(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 gz(t,e,n,r){vz(dz(n).lastProp,r)||(dz(n).lastProp=r,e?lc(n,r,t):(n.stopAnimation(),n.attr(r)))}function vz(t,e){if(hn.A(t)&&hn.A(e)){var n=!0;return hn.k(e,(function(e,r){n=n&&vz(t[r],e)})),!!n}return t===e}function yz(t,e){t[e.get(["label","show"])?"show":"hide"]()}function mz(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function bz(t,e,n){var r=e.get("z"),i=e.get("zlevel");t&&t.traverse((function(t){"group"!==t.type&&(null!=r&&(t.z=r),null!=i&&(t.zlevel=i),t.silent=n)}))}var _z=pz;function xz(t){var e,n=t.get("type"),r=t.getModel(n+"Style");return"line"===n?(e=r.getLineStyle()).fill=null:"shadow"===n&&((e=r.getAreaStyle()).stroke=null),e}function wz(t,e,n,r,i){var o=Sz(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=jd(a.get("padding")||0),l=a.getFont(),u=Oo(o,l),c=i.position,d=u.width+s[1]+s[3],h=u.height+s[0]+s[2],f=i.align;"right"===f&&(c[0]-=d),"center"===f&&(c[0]-=d/2);var p=i.verticalAlign;"bottom"===p&&(c[1]-=h),"middle"===p&&(c[1]-=h/2),function(t,e,n,r){var i=r.getWidth(),o=r.getHeight();t[0]=Math.min(t[0]+e,i)-e,t[1]=Math.min(t[1]+n,o)-n,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}(c,d,h,r);var g=a.get("backgroundColor");g&&"auto"!==g||(g=e.get(["axisLine","lineStyle","color"])),t.label={x:c[0],y:c[1],style:_c(a,{text:o,font:l,fill:a.getTextColor(),padding:s,backgroundColor:g}),z2:10}}function Sz(t,e,n,r,i){t=e.scale.parse(t);var o=e.scale.getLabel({value:t},{precision:i.precision}),a=i.formatter;if(a){var s={value:sC(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};hn.k(r,(function(t){var e=n.getSeriesByIndex(t.seriesIndex),r=t.dataIndexInside,i=e&&e.getDataParams(r);i&&s.seriesData.push(i)})),hn.C(a)?o=a.replace("{value}",o):hn.w(a)&&(o=a(s))}return o}function Mz(t,e,n){var r=[1,0,0,1,0,0];return $i(r,r,n.rotation),Yi(r,r,n.position),Zv([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],r)}function Oz(t,e,n,r,i,o){var a=ZC.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=i.get(["label","margin"]),wz(e,r,i,o,{position:Mz(r.axis,t,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function Cz(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}}function Iz(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}function Tz(t,e,n,r,i,o){return{cx:t,cy:e,r0:n,r:r,startAngle:i,endAngle:o,clockwise:!0}}var Az=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return cn(e,t),e.prototype.makeElOption=function(t,e,n,r,i){var o=n.axis,a=o.grid,s=r.get("type"),l=Dz(a,o).getOtherAxis(o).getGlobalExtent(),u=o.toGlobalCoord(o.dataToCoord(e,!0));if(s&&"none"!==s){var c=xz(r),d=kz[s](o,u,l);d.style=c,t.graphicKey=d.type,t.pointer=d}Oz(e,t,jC(a.model,n),n,r,i)},e.prototype.getHandleTransform=function(t,e,n){var r=jC(e.axis.grid.model,e,{labelInside:!1});r.labelMargin=n.get(["handle","margin"]);var i=Mz(e.axis,t,r);return{x:i[0],y:i[1],rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,r){var i=n.axis,o=i.grid,a=i.getGlobalExtent(!0),s=Dz(o,i).getOtherAxis(i).getGlobalExtent(),l="x"===i.dim?0:1,u=[t.x,t.y];u[l]+=e[l],u[l]=Math.min(a[1],u[l]),u[l]=Math.max(a[0],u[l]);var c=(s[1]+s[0])/2,d=[c,c];d[l]=u[l];return{x:u[0],y:u[1],rotation:t.rotation,cursorPoint:d,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][l]}},e}(_z);function Dz(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var kz={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:Cz([e,n[0]],[e,n[1]],jz(t))}},shadow:function(t,e,n){var r=Math.max(1,t.getBandWidth()),i=n[1]-n[0];return{type:"Rect",shape:Iz([e-r/2,n[0]],[r,i],jz(t))}}};function jz(t){return"x"===t.dim?0:1}var Ez=Az,Lz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return cn(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}(eh),Nz=Lz,Pz=ka(),Rz=hn.k;function zz(t,e,n){if(!dn.a.node){var r=e.getZr();Pz(r).records||(Pz(r).records={}),function(t,e){function n(n,r){t.on(n,(function(n){var i=function(t){var e={showTip:[],hideTip:[]},n=function(r){var i=e[r.type];i?i.push(r):(r.dispatchAction=n,t.dispatchAction(r))};return{dispatchAction:n,pendings:e}}(e);Rz(Pz(t).records,(function(t){t&&r(t,n,i.dispatchAction)})),function(t,e){var n,r=t.showTip.length,i=t.hideTip.length;r?n=t.showTip[r-1]:i&&(n=t.hideTip[i-1]),n&&(n.dispatchAction=null,e.dispatchAction(n))}(i.pendings,e)}))}Pz(t).initialized||(Pz(t).initialized=!0,n("click",hn.h(Bz,"click")),n("mousemove",hn.h(Bz,"mousemove")),n("globalout",Vz))}(r,e),(Pz(r).records[t]||(Pz(r).records[t]={})).handler=n}}function Vz(t,e,n){t.handler("leave",null,n)}function Bz(t,e,n,r){e.handler(t,n,r)}function Fz(t,e){if(!dn.a.node){var n=e.getZr();(Pz(n).records||{})[t]&&(Pz(n).records[t]=null)}}var Hz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return cn(e,t),e.prototype.render=function(t,e,n){var r=e.getComponent("tooltip"),i=t.get("triggerOn")||r&&r.get("triggerOn")||"mousemove|click";zz("axisPointer",n,(function(t,e,n){"none"!==i&&("leave"===t||i.indexOf(t)>=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},e.prototype.remove=function(t,e){Fz("axisPointer",e)},e.prototype.dispose=function(t,e){Fz("axisPointer",e)},e.type="axisPointer",e}(rg),Wz=Hz;function Uz(t,e){var n,r=[],i=t.seriesIndex;if(null==i||!(n=e.getSeriesByIndex(i)))return{point:[]};var o=n.getData(),a=Da(o,t);if(null==a||a<0||hn.t(a))return{point:[]};var s=o.getItemGraphicEl(a),l=n.coordinateSystem;if(n.getTooltipPosition)r=n.getTooltipPosition(a)||[];else if(l&&l.dataToPoint)if(t.isStacked){var u=l.getBaseAxis(),c=l.getOtherAxis(u).dim,d=u.dim,h="x"===c||"radius"===c?1:0,f=o.mapDimension(d),p=[];p[h]=o.get(f,a),p[1-h]=o.get(o.getCalculationInfo("stackResultDimension"),a),r=l.dataToPoint(p)||[]}else r=l.dataToPoint(o.getValues(hn.H(l.dimensions,(function(t){return o.mapDimension(t)})),a))||[];else if(s){var g=s.getBoundingRect().clone();g.applyTransform(s.transform),r=[g.x+g.width/2,g.y+g.height/2]}return{point:r,el:s}}var Gz=ka();function Yz(t,e,n){var r=t.currTrigger,i=[t.x,t.y],o=t,a=t.dispatchAction||Object(hn.c)(n.dispatchAction,n),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){Qz(i)&&(i=Uz({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},e).point);var l=Qz(i),u=o.axesInfo,c=s.axesInfo,d="leave"===r||Qz(i),h={},f={},p={list:[],map:{}},g={showPointer:Object(hn.h)(Xz,f),showTooltip:Object(hn.h)(Zz,p)};Object(hn.k)(s.coordSysMap,(function(t,e){var n=l||t.containPoint(i);Object(hn.k)(s.coordSysAxesInfo[e],(function(t,e){var r=t.axis,o=function(t,e){for(var n=0;n<(t||[]).length;n++){var r=t[n];if(e.axis.dim===r.axisDim&&e.axis.model.componentIndex===r.axisIndex)return r}}(u,t);if(!d&&n&&(!u||o)){var a=o&&o.value;null!=a||l||(a=r.pointToData(i)),null!=a&&$z(t,a,g,!1,h)}}))}));var v={};return Object(hn.k)(c,(function(t,e){var n=t.linkGroup;n&&!f[e]&&Object(hn.k)(n.axesInfo,(function(e,r){var i=f[r];if(e!==t&&i){var o=i.value;n.mapper&&(o=t.axis.scale.parse(n.mapper(o,qz(e),qz(t)))),v[t.key]=o}}))})),Object(hn.k)(v,(function(t,e){$z(c[e],t,g,!0,h)})),function(t,e,n){var r=n.axesInfo=[];Object(hn.k)(e,(function(e,n){var i=e.axisPointerModel.option,o=t[n];o?(!e.useHandle&&(i.status="show"),i.value=o.value,i.seriesDataIndices=(o.payloadBatch||[]).slice()):!e.useHandle&&(i.status="hide"),"show"===i.status&&r.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:i.value})}))}(f,c,h),function(t,e,n,r){if(!Qz(e)&&t.list.length){var i=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};r({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:i.dataIndexInside,dataIndex:i.dataIndex,seriesIndex:i.seriesIndex,dataByCoordSys:t.list})}else r({type:"hideTip"})}(p,i,t,a),function(t,e,n){var r=n.getZr(),i="axisPointerLastHighlights",o=Gz(r)[i]||{},a=Gz(r)[i]={};Object(hn.k)(t,(function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&Object(hn.k)(n.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;a[e]=t}))}));var s=[],l=[];Object(hn.k)(o,(function(t,e){!a[e]&&l.push(t)})),Object(hn.k)(a,(function(t,e){!o[e]&&s.push(t)})),l.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}(c,0,n),h}}function $z(t,e,n,r,i){var o=t.axis;if(!o.scale.isBlank()&&o.containData(e))if(t.involveSeries){var a=function(t,e){var n=e.axis,r=n.dim,i=t,o=[],a=Number.MAX_VALUE,s=-1;return Object(hn.k)(e.seriesModels,(function(e,l){var u,c,d=e.getData().mapDimensionsAll(r);if(e.getAxisTooltipData){var h=e.getAxisTooltipData(d,t,n);c=h.dataIndices,u=h.nestestValue}else{if(!(c=e.getData().indicesOfNearest(d[0],t,"category"===n.type?.5:null)).length)return;u=e.getData().get(d[0],c[0])}if(null!=u&&isFinite(u)){var f=t-u,p=Math.abs(f);p<=a&&((p=0&&s<0)&&(a=p,s=f,i=u,o.length=0),Object(hn.k)(c,(function(t){o.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:o,snapToValue:i}}(e,t),s=a.payloadBatch,l=a.snapToValue;s[0]&&null==i.seriesIndex&&Object(hn.m)(i,s[0]),!r&&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 Xz(t,e,n,r){t[e.key]={value:n,payloadBatch:r}}function Zz(t,e,n,r){var i=n.payloadBatch,o=e.axis,a=o.model,s=e.axisPointerModel;if(e.triggerTooltip&&i.length){var l=e.coordSys.model,u=eI(l),c=t.map[u];c||(c=t.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(c)),c.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:r,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:i.slice()})}}function qz(t){var e=t.axis.model,n={},r=n.axisDim=t.axis.dim;return n.axisIndex=n[r+"AxisIndex"]=e.componentIndex,n.axisName=n[r+"AxisName"]=e.name,n.axisId=n[r+"AxisId"]=e.id,n}function Qz(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function Jz(t){iI.registerAxisPointerClass("CartesianAxisPointer",Ez),t.registerComponentModel(Nz),t.registerComponentView(Wz),t.registerPreprocessor((function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!Object(hn.t)(e)&&(t.axisPointer.link=[e])}})),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=qC(t,e)})),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},Yz)}function Kz(t){d_(vI),d_(Jz)}var tV=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return cn(e,t),e.prototype.makeElOption=function(t,e,n,r,i){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),u=r.get("type");if(u&&"none"!==u){var c=xz(r),d=eV[u](o,a,l,s);d.style=c,t.graphicKey=d.type,t.pointer=d}var h=function(t,e,n,r,i){var o=e.axis,a=o.dataToCoord(t),s=r.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var l,u,c,d=r.getRadiusAxis().getExtent();if("radius"===o.dim){var h=[1,0,0,1,0,0];$i(h,h,s),Yi(h,h,[r.cx,r.cy]),l=Zv([a,-i],h);var f=e.getModel("axisLabel").get("rotate")||0,p=ZC.innerTextLayout(s,f*Math.PI/180,-1);u=p.textAlign,c=p.textVerticalAlign}else{var g=d[1];l=r.coordToPoint([g+i,a]);var v=r.cx,y=r.cy;u=Math.abs(l[0]-v)/g<.3?"center":l[0]>v?"left":"right",c=Math.abs(l[1]-y)/g<.3?"middle":l[1]>y?"top":"bottom"}return{position:l,align:u,verticalAlign:c}}(e,n,0,a,r.get(["label","margin"]));wz(t,n,r,i,h)},e}(_z);var eV={line:function(t,e,n,r){return"angle"===t.dim?{type:"Line",shape:Cz(e.coordToPoint([r[0],n]),e.coordToPoint([r[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,r){var i=Math.max(1,t.getBandWidth()),o=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:Tz(e.cx,e.cy,r[0],r[1],(-n-i/2)*o,(i/2-n)*o)}:{type:"Sector",shape:Tz(e.cx,e.cy,n-i/2,n+i/2,0,2*Math.PI)}}},nV=tV,rV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return cn(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}(eh),iV=rV,oV=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return cn(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",Na).models[0]},e.type="polarAxis",e}(eh);hn.K(oV,iO);var aV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return cn(e,t),e.type="angleAxis",e}(oV),sV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return cn(e,t),e.type="radiusAxis",e}(oV),lV=function(t){function e(e,n){return t.call(this,"radius",e,n)||this}return cn(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e}(AC);lV.prototype.dataToRadius=AC.prototype.dataToCoord,lV.prototype.radiusToData=AC.prototype.coordToData;var uV=lV,cV=ka(),dV=function(t){function e(e,n){return t.call(this,"angle",e,n||[0,360])||this}return cn(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,e=t.getLabelModel(),n=t.scale,r=n.getExtent(),i=n.count();if(r[1]-r[0]<1)return 0;var o=r[0],a=t.dataToCoord(o+1)-t.dataToCoord(o),s=Math.abs(a),l=Oo(null==o?"":o+"",e.getFont(),"center","top"),u=Math.max(l.height,7)/s;isNaN(u)&&(u=1/0);var c=Math.max(0,Math.floor(u)),d=cV(t.model),h=d.lastAutoInterval,f=d.lastTickCount;return null!=h&&null!=f&&Math.abs(h-c)<=1&&Math.abs(f-i)<=1&&h>c?c=h:(d.lastTickCount=i,d.lastAutoInterval=c),c},e}(AC);dV.prototype.dataToAngle=AC.prototype.dataToCoord,dV.prototype.angleToData=AC.prototype.coordToData;var hV=dV,fV=["radius","angle"],pV=function(){function t(t){this.dimensions=fV,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new uV,this._angleAxis=new hV,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,r=this._radiusAxis;return n.scale.type===t&&e.push(n),r.scale.type===t&&e.push(r),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,r=this.getAngleAxis(),i=r.getExtent(),o=Math.min(i[0],i[1]),a=Math.max(i[0],i[1]);r.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,u=la;)l+=360*u;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(),r=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:e[0],r:e[1],startAngle:-n[0]*r,endAngle:-n[1]*r,clockwise:t.inverse,contain:function(t,e){var n=t-this.cx,r=e-this.cy,i=n*n+r*r-1e-4,o=this.r,a=this.r0;return i<=o*o&&i>=a*a}}},t.prototype.convertToPixel=function(t,e,n){return gV(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return gV(e)===this?this.pointToData(n):null},t}();function gV(t){var e=t.seriesModel,n=t.polarModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}var vV=pV;function yV(t,e){var n=this,r=n.getAngleAxis(),i=n.getRadiusAxis();if(r.scale.setExtent(1/0,-1/0),i.scale.setExtent(1/0,-1/0),t.eachSeries((function(t){if(t.coordinateSystem===n){var e=t.getData();hn.k(dC(e,"radius"),(function(t){i.scale.unionExtentFromData(e,t)})),hn.k(dC(e,"angle"),(function(t){r.scale.unionExtentFromData(e,t)}))}})),iC(r.scale,r.model),iC(i.scale,i.model),"category"===r.type&&!r.onBand){var o=r.getExtent(),a=360/r.scale.count();r.inverse?o[1]+=a:o[1]-=a,r.setExtent(o[0],o[1])}}function mV(t,e){if(t.type=e.get("type"),t.scale=oC(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 bV={dimensions:fV,create:function(t,e){var n=[];return t.eachComponent("polar",(function(t,r){var i=new vV(r+"");i.update=yV;var o=i.getRadiusAxis(),a=i.getAngleAxis(),s=t.findAxisModel("radiusAxis"),l=t.findAxisModel("angleAxis");mV(o,s),mV(a,l),function(t,e,n){var r=e.get("center"),i=n.getWidth(),o=n.getHeight();t.cx=qo(r[0],i),t.cy=qo(r[1],o);var a=t.getRadiusAxis(),s=Math.min(i,o)/2,l=e.get("radius");null==l?l=[0,"100%"]:hn.t(l)||(l=[0,l]);var u=[qo(l[0],s),qo(l[1],s)];a.inverse?a.setExtent(u[1],u[0]):a.setExtent(u[0],u[1])}(i,t,e),n.push(i),t.coordinateSystem=i,i.model=t})),t.eachSeries((function(t){if("polar"===t.get("coordinateSystem")){var e=t.getReferringComponents("polar",Na).models[0];t.coordinateSystem=e.coordinateSystem}})),n}},_V=bV,xV=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function wV(t,e,n){e[1]>e[0]&&(e=e.slice().reverse());var r=t.coordToPoint([e[0],n]),i=t.coordToPoint([e[1],n]);return{x1:r[0],y1:r[1],x2:i[0],y2:i[1]}}function SV(t){return t.getRadiusAxis().inverse?0:1}function MV(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 OV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="PolarAxisPointer",n}return cn(e,t),e.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var n=t.axis,r=n.polar,i=r.getRadiusAxis().getExtent(),o=n.getTicksCoords(),a=n.getMinorTicksCoords(),s=hn.H(n.getViewLabels(),(function(t){t=hn.d(t);var e=n.scale,r="ordinal"===e.type?e.getRawOrdinalNumber(t.tickValue):t.tickValue;return t.coord=n.dataToCoord(r),t}));MV(s),MV(o),hn.k(xV,(function(e){!t.get([e,"show"])||n.scale.isBlank()&&"axisLine"!==e||CV[e](this.group,t,r,o,a,i,s)}),this)}},e.type="angleAxis",e}(iI),CV={axisLine:function(t,e,n,r,i,o){var a,s=e.getModel(["axisLine","lineStyle"]),l=SV(n),u=l?0:1;(a=0===o[u]?new Ig({shape:{cx:n.cx,cy:n.cy,r:o[l]},style:s.getLineStyle(),z2:1,silent:!0}):new Zg({shape:{cx:n.cx,cy:n.cy,r:o[l],r0:o[u]},style:s.getLineStyle(),z2:1,silent:!0})).style.fill=null,t.add(a)},axisTick:function(t,e,n,r,i,o){var a=e.getModel("axisTick"),s=(a.get("inside")?-1:1)*a.get("length"),l=o[SV(n)],u=hn.H(r,(function(t){return new av({shape:wV(n,[l,l+s],t.coord)})}));t.add(Wv(u,{style:hn.i(a.getModel("lineStyle").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(t,e,n,r,i,o){if(i.length){for(var a=e.getModel("axisTick"),s=e.getModel("minorTick"),l=(a.get("inside")?-1:1)*s.get("length"),u=o[SV(n)],c=[],d=0;dp?"left":"right",y=Math.abs(f[1]-g)/h<.3?"middle":f[1]>g?"top":"bottom";if(s&&s[d]){var m=s[d];hn.A(m)&&m.textStyle&&(a=new Hc(m.textStyle,l,l.ecModel))}var b=new iu({silent:ZC.isLabelSilent(e),style:_c(a,{x:f[0],y:f[1],fill:a.getTextColor()||e.get(["axisLine","lineStyle","color"]),text:r.formattedLabel,align:v,verticalAlign:y})});if(t.add(b),c){var _=ZC.makeAxisEventDataBase(e);_.targetType="axisLabel",_.value=r.rawLabel,ou(b).eventData=_}}),this)},splitLine:function(t,e,n,r,i,o){var a=e.getModel("splitLine").getModel("lineStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],c=0;c=0?"p":"n",C=_;m&&(r[s][M]||(r[s][M]={p:_,n:_}),C=r[s][M][O]);var I=void 0,T=void 0,A=void 0,D=void 0;if("radius"===d.dim){var k=d.dataToCoord(S)-_,j=o.dataToCoord(M);Math.abs(k)=D})}}}))},PV={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},RV={splitNumber:5},zV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return cn(e,t),e.type="polar",e}(rg);function VV(t,e){e=e||{};var n=t.coordinateSystem,r=t.axis,i={},o=r.position,a=r.orient,s=n.getRect(),l=[s.x,s.x+s.width,s.y,s.y+s.height],u={horizontal:{top:l[2],bottom:l[3]},vertical:{left:l[0],right:l[1]}};i.position=["vertical"===a?u.vertical[o]:l[0],"horizontal"===a?u.horizontal[o]:l[3]];i.rotation=Math.PI/2*{horizontal:0,vertical:1}[a];i.labelDirection=i.tickDirection=i.nameDirection={top:-1,bottom:1,right:1,left:-1}[o],t.get(["axisTick","inside"])&&(i.tickDirection=-i.tickDirection),hn.O(e.labelInside,t.get(["axisLabel","inside"]))&&(i.labelDirection=-i.labelDirection);var c=e.rotate;return null==c&&(c=t.get(["axisLabel","rotate"])),i.labelRotation="top"===o?-c:c,i.z2=1,i}var BV=["axisLine","axisTickLabel","axisName"],FV=["splitArea","splitLine"],HV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="SingleAxisPointer",n}return cn(e,t),e.prototype.render=function(e,n,r,i){var o=this.group;o.removeAll();var a=this._axisGroup;this._axisGroup=new Wo;var s=VV(e),l=new ZC(e,s);hn.k(BV,l.add,l),o.add(this._axisGroup),o.add(l.getGroup()),hn.k(FV,(function(t){e.get([t,"show"])&&WV[t](this,this.group,this._axisGroup,e)}),this),Jv(a,this._axisGroup,e),t.prototype.render.call(this,e,n,r,i)},e.prototype.remove=function(){sI(this)},e.type="singleAxis",e}(iI),WV={splitLine:function(t,e,n,r){var i=r.axis;if(!i.scale.isBlank()){var o=r.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color");s=s instanceof Array?s:[s];for(var l=r.coordinateSystem.getRect(),u=i.isHorizontal(),c=[],d=0,h=i.getTicksCoords({tickModel:o}),f=[],p=[],g=0;g=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(),r=[],i="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),r[i]=e.toGlobalCoord(e.dataToCoord(+t)),r[1-i]=0===i?n.y+n.height/2:n.x+n.width/2,r},t.prototype.convertToPixel=function(t,e,n){return QV(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return QV(e)===this?this.pointToData(n):null},t}();function QV(t){var e=t.seriesModel,n=t.singleAxisModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}var JV=qV;var KV={create:function(t,e){var n=[];return t.eachComponent("singleAxis",(function(r,i){var o=new JV(r,t,e);o.name="single_"+i,o.resize(r,e),r.coordinateSystem=o,n.push(o)})),t.eachSeries((function(t){if("singleAxis"===t.get("coordinateSystem")){var e=t.getReferringComponents("singleAxis",Na).models[0];t.coordinateSystem=e&&e.coordinateSystem}})),n},dimensions:ZV},tB=KV,eB=["x","y"],nB=["width","height"],rB=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return cn(e,t),e.prototype.makeElOption=function(t,e,n,r,i){var o=n.axis,a=o.coordinateSystem,s=aB(a,1-oB(o)),l=a.dataToPoint(e)[0],u=r.get("type");if(u&&"none"!==u){var c=xz(r),d=iB[u](o,l,s);d.style=c,t.graphicKey=d.type,t.pointer=d}Oz(e,t,VV(n),n,r,i)},e.prototype.getHandleTransform=function(t,e,n){var r=VV(e,{labelInside:!1});r.labelMargin=n.get(["handle","margin"]);var i=Mz(e.axis,t,r);return{x:i[0],y:i[1],rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,r){var i=n.axis,o=i.coordinateSystem,a=oB(i),s=aB(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 u=aB(o,1-a),c=(u[1]+u[0])/2,d=[c,c];return d[a]=l[a],{x:l[0],y:l[1],rotation:t.rotation,cursorPoint:d,tooltipOption:{verticalAlign:"middle"}}},e}(_z),iB={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:Cz([e,n[0]],[e,n[1]],oB(t))}},shadow:function(t,e,n){var r=t.getBandWidth(),i=n[1]-n[0];return{type:"Rect",shape:Iz([e-r/2,n[0]],[r,i],oB(t))}}};function oB(t){return t.isHorizontal()?0:1}function aB(t,e){var n=t.getRect();return[n[eB[e]],n[eB[e]]+n[nB[e]]]}var sB=rB,lB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return cn(e,t),e.type="single",e}(rg);var uB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return cn(e,t),e.prototype.init=function(e,n,r){var i=Qd(e);t.prototype.init.apply(this,arguments),cB(e,i)},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),cB(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}(eh);function cB(t,e){var n,r=t.cellSize;1===(n=hn.t(r)?r:t.cellSize=[r,r]).length&&(n[1]=n[0]);var i=hn.H([0,1],(function(t){return function(t,e){return null!=t[Ud[e][0]]||null!=t[Ud[e][1]]&&null!=t[Ud[e][2]]}(e,t)&&(n[t]="auto"),null!=n[t]&&"auto"!==n[t]}));qd(t,e,{type:"box",ignoreSize:i})}var dB=uB,hB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return cn(e,t),e.prototype.render=function(t,e,n){var r=this.group;r.removeAll();var i=t.coordinateSystem,o=i.getRangeInfo(),a=i.getOrient(),s=e.getLocaleModel();this._renderDayRect(t,o,r),this._renderLines(t,o,a,r),this._renderYearText(t,o,a,r),this._renderMonthText(t,s,a,r),this._renderWeekText(t,s,o,a,r)},e.prototype._renderDayRect=function(t,e,n){for(var r=t.coordinateSystem,i=t.getModel("itemStyle").getItemStyle(),o=r.getCellWidth(),a=r.getCellHeight(),s=e.start.time;s<=e.end.time;s=r.getNextNDay(s,1).time){var l=r.dataToRect([s],!1).tl,u=new Hl({shape:{x:l[0],y:l[1],width:o,height:a},cursor:"default",style:i});n.add(u)}},e.prototype._renderLines=function(t,e,n,r){var i=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 u=e.start,c=0;u.time<=e.end.time;c++){h(u.formatedDate),0===c&&(u=o.getDateInfo(e.start.y+"-"+e.start.m));var d=u.date;d.setMonth(d.getMonth()+1),u=o.getDateInfo(d)}function h(e){i._firstDayOfMonth.push(o.getDateInfo(e)),i._firstDayPoints.push(o.dataToRect([e],!1).tl);var l=i._getLinePointsOfOneWeek(t,e,n);i._tlpoints.push(l[0]),i._blpoints.push(l[l.length-1]),s&&i._drawSplitline(l,a,r)}h(o.getNextNDay(e.end.time,1).formatedDate),s&&this._drawSplitline(i._getEdgesPoints(i._tlpoints,l,n),a,r),s&&this._drawSplitline(i._getEdgesPoints(i._blpoints,l,n),a,r)},e.prototype._getEdgesPoints=function(t,e,n){var r=[t[0].slice(),t[t.length-1].slice()],i="horizontal"===n?0:1;return r[0][i]=r[0][i]-e/2,r[1][i]=r[1][i]+e/2,r},e.prototype._drawSplitline=function(t,e,n){var r=new nv({z2:20,shape:{points:t},style:e});n.add(r)},e.prototype._getLinePointsOfOneWeek=function(t,e,n){for(var r=t.coordinateSystem,i=r.getDateInfo(e),o=[],a=0;a<7;a++){var s=r.getNextNDay(i.time,a),l=r.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(hn.C)(t)&&t?function(t,e,n){return hn.k(e,(function(e,r){t=t.replace("{"+r+"}",n?Nd(e):e)})),t}(t,e):Object(hn.w)(t)?t(e):e.nameMap},e.prototype._yearTextPositionControl=function(t,e,n,r,i){var o=e[0],a=e[1],s=["center","bottom"];"bottom"===r?(a+=i,s=["center","top"]):"left"===r?o-=i:"right"===r?(o+=i,s=["center","top"]):a-=i;var l=0;return"left"!==r&&"right"!==r||(l=Math.PI/2),{rotation:l,x:o,y:a,style:{align:s[0],verticalAlign:s[1]}}},e.prototype._renderYearText=function(t,e,n,r){var i=t.getModel("yearLabel");if(i.get("show")){var o=i.get("margin"),a=i.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,u=(s[0][1]+s[1][1])/2,c="horizontal"===n?0:1,d={top:[l,s[c][1]],bottom:[l,s[1-c][1]],left:[s[1-c][0],u],right:[s[c][0],u]},h=e.start.y;+e.end.y>+e.start.y&&(h=h+"-"+e.end.y);var f=i.get("formatter"),p={start:e.start.y,end:e.end.y,nameMap:h},g=this._formatterLabel(f,p),v=new iu({z2:30,style:_c(i,{text:g})});v.attr(this._yearTextPositionControl(v,d[a],n,a,o)),r.add(v)}},e.prototype._monthTextPositionControl=function(t,e,n,r,i){var o="left",a="top",s=t[0],l=t[1];return"horizontal"===n?(l+=i,e&&(o="center"),"start"===r&&(a="bottom")):(s+=i,e&&(a="middle"),"start"===r&&(o="right")),{x:s,y:l,align:o,verticalAlign:a}},e.prototype._renderMonthText=function(t,e,n,r){var i=t.getModel("monthLabel");if(i.get("show")){var o=i.get("nameMap"),a=i.get("margin"),s=i.get("position"),l=i.get("align"),u=[this._tlpoints,this._blpoints];o&&!Object(hn.C)(o)||(o&&(e=Kc(o)||e),o=e.get(["time","monthAbbr"])||[]);var c="start"===s?0:1,d="horizontal"===n?0:1;a="start"===s?-a:a;for(var h="center"===l,f=0;f=r.start.time&&n.timea.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 r=Math.floor(n[1].time/pB)-Math.floor(n[0].time/pB)+1,i=new Date(n[0].time),o=i.getDate(),a=n[1].date.getDate();i.setDate(o+r-1);var s=i.getDate();if(s!==a)for(var l=i.getTime()-n[1].time>0?1:-1;(s=i.getDate())!==a&&(i.getTime()-n[1].time)*l>0;)r-=l,i.setDate(s-l);var u=Math.floor((r+n[0].day+6)/7),c=e?1-u:u-1;return e&&n.reverse(),{range:[n[0].formatedDate,n[1].formatedDate],start:n[0],end:n[1],allDay:r,weeks:u,nthWeek:c,fweek:n[0].day,lweek:n[1].day}},t.prototype._getDateByWeeksAndDay=function(t,e,n){var r=this._getRangeInfo(n);if(t>r.weeks||0===t&&er.lweek)return null;var i=7*(t-1)-r.fweek+e,o=new Date(r.start.time);return o.setDate(+r.start.d+i),this.getDateInfo(o)},t.create=function(e,n){var r=[];return e.eachComponent("calendar",(function(i){var o=new t(i,e,n);r.push(o),i.coordinateSystem=o})),e.eachSeries((function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=r[t.get("calendarIndex")||0])})),r},t.dimensions=["time","value"],t}();function vB(t){var e=t.calendarModel,n=t.seriesModel;return e?e.coordinateSystem:n?n.coordinateSystem:null}var yB=gB;function mB(t,e){var n;return hn.k(e,(function(e){null!=t[e]&&"auto"!==t[e]&&(n=!0)})),n}var bB=["transition","enterFrom","leaveTo"],_B=bB.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function xB(t,e,n){if(n&&(!t[n]&&e[n]&&(t[n]={}),t=t[n],e=e[n]),t&&e)for(var r=n?bB:_B,i=0;i=0;l--)if(d=null!=(c=Ia((u=n[l]).id,null))?i.get(c):null){h=d.parent,g=MB(h);var v={},y=Xd(d,u,h===r?{width:o,height:a}:{width:g.width,height:g.height},null,{hv:u.hv,boundingMode:u.bounding},v);if(!MB(d).isNew&&y){for(var m=u.transition,b={},_=0;_=0)?b[x]=w:d[x]=w}lc(d,b,t,0)}else d.attr(v)}},e.prototype._clear=function(){var t=this,e=this._elMap;e.each((function(n){TB(n,MB(n).option,e,t._lastGraphicModel)})),this._elMap=hn.f()},e.prototype.dispose=function(){this._clear()},e.type="graphic",e}(rg);function CB(t){var e=new(hn.q(SB,t)?SB[t]:Vv(t))({});return MB(e).type=t,e}function IB(t,e,n,r){var i=CB(n);return e.add(i),r.set(t,i),MB(i).id=t,MB(i).isNew=!0,i}function TB(t,e,n,r){t&&t.parent&&("group"===t.type&&t.traverse((function(t){TB(t,e,n,r)})),SR(t,e,r),n.removeKey(MB(t).id))}function AB(t,e,n,r){if(!t.isGroup){var i=t;i.cursor=hn.P(e.cursor,Ms.prototype.cursor),i.z=hn.P(e.z,n||0),i.zlevel=hn.P(e.zlevel,r||0);var o=e.z2;null!=o&&(i.z2=o||0)}hn.k(hn.F(e),(function(n){var r=e[n];0===n.indexOf("on")&&hn.w(r)&&(t[n]=r)})),t.draggable=e.draggable,null!=e.name&&(t.name=e.name),null!=e.id&&(t.id=e.id)}var DB=["x","y","radius","angle","single"],kB=["cartesian2d","polar","singleAxis"];function jB(t){return t+"Axis"}function EB(t,e){var n,r=Object(hn.f)(),i=[],o=Object(hn.f)();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 i=r.get(t);i&&i[n]&&(e=!0)})),e}(t)&&(s(t),n=!0)}function s(t){o.set(t.uid,!0),i.push(t),function(t){t.eachTargetAxis((function(t,e){(r.get(t)||r.set(t,[]))[e]=!0}))}(t)}return i}function LB(t){var e=t.ecModel,n={infoList:[],infoMap:Object(hn.f)()};return t.eachTargetAxis((function(t,r){var i=e.getComponent(jB(t),r);if(i){var o=i.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(i)}}})),n}var NB=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}(),PB=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 cn(e,t),e.prototype.init=function(t,e,n){var r=RB(t);this.settledOption=r,this.mergeDefaultAndTheme(t,n),this._doInit(r)},e.prototype.mergeOption=function(t){var e=RB(t);Object(hn.I)(this.option,t,!0),Object(hn.I)(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(hn.k)([["start","startValue"],["end","endValue"]],(function(t,r){"value"===this._rangePropMode[r]&&(e[t[0]]=n[t[0]]=null)}),this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get("orient",!0),e=this._targetAxisInfoMap=Object(hn.f)();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(hn.k)(DB,(function(n){var r=this.getReferringComponents(jB(n),Pa);if(r.specified){e=!0;var i=new NB;Object(hn.k)(r.models,(function(t){i.add(t.componentIndex)})),t.set(n,i)}}),this),e},e.prototype._fillAutoTargetAxisByOrient=function(t,e){var n=this.ecModel,r=!0;if(r){var i="vertical"===e?"y":"x",o=n.findComponents({mainType:i+"Axis"});a(o,i)}function a(e,n){var i=e[0];if(i){var o=new NB;if(o.add(i.componentIndex),t.set(n,o),r=!1,"x"===n||"y"===n){var a=i.getReferringComponents("grid",Na).models[0];a&&Object(hn.k)(e,(function(t){i.componentIndex!==t.componentIndex&&a===t.getReferringComponents("grid",Na).models[0]&&o.add(t.componentIndex)}))}}}r&&(o=n.findComponents({mainType:"singleAxis",filter:function(t){return t.get("orient",!0)===e}}),a(o,"single")),r&&Object(hn.k)(DB,(function(e){if(r){var i=n.findComponents({mainType:jB(e),filter:function(t){return"category"===t.get("type",!0)}});if(i[0]){var o=new NB;o.add(i[0].componentIndex),t.set(e,o),r=!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(hn.k)([["start","startValue"],["end","endValue"]],(function(r,i){var o=null!=t[r[0]],a=null!=t[r[1]];o&&!a?e[i]="percent":!o&&a?e[i]="value":n?e[i]=n[i]:o&&(e[i]="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(jB(e),n))}),this),t},e.prototype.eachTargetAxis=function(t,e){this._targetAxisInfoMap.each((function(n,r){Object(hn.k)(n.indexList,(function(n){t.call(e,r,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(jB(t),e)},e.prototype.setRawRange=function(t){var e=this.option,n=this.settledOption;Object(hn.k)([["start","startValue"],["end","endValue"]],(function(r){null==t[r[0]]&&null==t[r[1]]||(e[r[0]]=n[r[0]]=t[r[0]],e[r[1]]=n[r[1]]=t[r[1]])}),this),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var e=this.option;Object(hn.k)(["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(),r=0;r=0}(e)){var n=jB(this._dimName),r=e.getReferringComponents(n,Na).models[0];r&&this._axisIndex===r.componentIndex&&t.push(e)}}),this),t},t.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},t.prototype.getMinMaxSpan=function(){return hn.d(this._minMaxSpan)},t.prototype.calculateDataWindow=function(t){var e,n=this._dataExtent,r=this.getAxisModel().axis.scale,i=this._dataZoomModel.getRangePropMode(),o=[0,100],a=[],s=[];GB(["start","end"],(function(l,u){var c=t[l],d=t[l+"Value"];"percent"===i[u]?(null==c&&(c=o[u]),d=r.parse(Zo(c,o,n))):(e=!0,c=Zo(d=null==d?n[u]:r.parse(d),n,o)),s[u]=d,a[u]=c})),YB(s),YB(a);var l=this._minMaxSpan;function u(t,e,n,i,o){var a=o?"Span":"ValueSpan";dE(0,t,n,"all",l["min"+a],l["max"+a]);for(var s=0;s<2;s++)e[s]=Zo(t[s],n,i,!0),o&&(e[s]=r.parse(e[s]))}return e?u(s,a,n,o,!1):u(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 r=[1/0,-1/0];GB(n,(function(t){!function(t,e,n){e&&hn.k(dC(e,n),(function(n){var r=e.getApproximateExtent(n);r[0]t[1]&&(t[1]=r[1])}))}(r,t.getData(),e)}));var i=t.getAxisModel(),o=eC(i.axis.scale,i,r).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,r=this.getTargetSeriesModels(),i=t.get("filterMode"),o=this._valueWindow;"none"!==i&&GB(r,(function(t){var e=t.getData(),r=e.mapDimensionsAll(n);if(r.length){if("weakFilter"===i){var a=e.getStore(),s=hn.H(r,(function(t){return e.getDimensionIndex(t)}),e);e.filterSelf((function(t){for(var e,n,i,l=0;lo[1];if(c&&!d&&!h)return!0;c&&(i=!0),d&&(e=!0),h&&(n=!0)}return i&&e&&n}))}else GB(r,(function(n){if("empty"===i)t.setData(e=e.map(n,(function(t){return function(t){return t>=o[0]&&t<=o[1]}(t)?t:NaN})));else{var r={};r[n]=o,e.selectRange(r)}}));GB(r,(function(t){e.setApproximateExtent(o,t)}))}}))}},t.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,n=this._dataExtent;GB(["min","max"],(function(r){var i=e.get(r+"Span"),o=e.get(r+"ValueSpan");null!=o&&(o=this.getAxisModel().axis.scale.parse(o)),null!=o?i=Zo(n[0]+o,n,[0,100],!0):null!=i&&(o=Zo(i,[0,100],n,!0)-n[0]),t[r+"Span"]=i,t[r+"ValueSpan"]=o}),this)},t.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,n=this._valueWindow;if(e){var r=ta(n,[0,500]);r=Math.min(r,20);var i=t.axis.scale.rawExtentInfo;0!==e[0]&&i.setDeterminedMinMax("min",+n[0].toFixed(r)),100!==e[1]&&i.setDeterminedMinMax("max",+n[1].toFixed(r)),i.freeze()}},t}();var XB=$B,ZB={getTargetSeries:function(t){function e(e){t.eachComponent("dataZoom",(function(n){n.eachTargetAxis((function(r,i){var o=t.getComponent(jB(r),i);e(r,i,o,n)}))}))}e((function(t,e,n,r){n.__dzAxisProxy=null}));var n=[];e((function(e,r,i,o){i.__dzAxisProxy||(i.__dzAxisProxy=new XB(e,r,o,t),n.push(i.__dzAxisProxy))}));var r=Object(hn.f)();return Object(hn.k)(n,(function(t){Object(hn.k)(t.getTargetSeriesModels(),(function(t){r.set(t.uid,t)}))})),r},overallReset:function(t,e){t.eachComponent("dataZoom",(function(t){t.eachTargetAxis((function(e,n){t.getAxisProxy(e,n).reset(t)})),t.eachTargetAxis((function(n,r){t.getAxisProxy(n,r).filterData(t,e)}))})),t.eachComponent("dataZoom",(function(t){var e=t.findRepresentativeAxisProxy();if(e){var n=e.getDataPercentWindow(),r=e.getDataValueWindow();t.setCalculatedRange({start:n[0],end:n[1],startValue:r[0],endValue:r[1]})}}))}},qB=ZB;var QB=!1;function JB(t){QB||(QB=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,qB),function(t){t.registerAction("dataZoom",(function(t,e){var n=EB(e,t);Object(hn.k)(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 KB(t){t.registerComponentModel(BB),t.registerComponentView(UB),JB(t)}var tF=function(){},eF={};function nF(t,e){eF[t]=e}function rF(t){return eF[t]}var iF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return cn(e,t),e.prototype.optionUpdated=function(){t.prototype.optionUpdated.apply(this,arguments);var e=this.ecModel;hn.k(this.option.feature,(function(t,n){var r=rF(n);r&&(r.getDefaultOption&&(r.defaultOption=r.getDefaultOption(e)),hn.I(t,r.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}(eh),oF=iF;function aF(t,e){var n=jd(e.get("padding")),r=e.getItemStyle(["color","opacity"]);return r.fill=e.get("backgroundColor"),t=new Hl({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:r,silent:!0,z2:-1})}var sF=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return cn(e,t),e.prototype.render=function(t,e,n,r){var i=this.group;if(i.removeAll(),t.get("show")){var o=+t.get("itemSize"),a="vertical"===t.get("orient"),s=t.get("feature")||{},l=this._features||(this._features={}),u=[];hn.k(s,(function(t,e){u.push(e)})),new gw(this._featureNames||[],u).add(c).update(c).remove(hn.h(c,null)).execute(),this._featureNames=u,function(t,e,n){var r=e.getBoxLayoutParams(),i=e.get("padding"),o={width:n.getWidth(),height:n.getHeight()},a=$d(r,o,i);Yd(e.get("orient"),t,e.get("itemGap"),a.width,a.height),Xd(t,r,o,i)}(i,t,n),i.add(aF(i.getBoundingRect(),t)),a||i.eachChild((function(t){var e=t.__title,r=t.ensureState("emphasis"),a=r.textConfig||(r.textConfig={}),s=t.getTextContent(),l=s&&s.ensureState("emphasis");if(l&&!hn.w(l)&&e){var u=l.style||(l.style={}),c=Oo(e,iu.makeFont(u)),d=t.x+i.x,h=!1;t.y+i.y+o+c.height>n.getHeight()&&(a.position="top",h=!0);var f=h?-5-c.height:o+10;d+c.width/2>n.getWidth()?(a.position=["100%",f],u.align="right"):d-c.width/2<0&&(a.position=[0,f],u.align="left")}}))}function c(i,o){var a,c=u[i],h=u[o],f=s[c],p=new Hc(f,t,t.ecModel);if(r&&null!=r.newTitle&&r.featureName===c&&(f.title=r.newTitle),c&&!h){if(function(t){return 0===t.indexOf("my")}(c))a={onclick:p.option.onclick,featureName:c};else{var g=rF(c);if(!g)return;a=new g}l[c]=a}else if(!(a=l[h]))return;a.uid=Uc("toolbox-feature"),a.model=p,a.ecModel=e,a.api=n;var v=a instanceof tF;c||!h?!p.get("show")||v&&a.unusable?v&&a.remove&&a.remove(e,n):(d(p,a,c),p.setIconStatus=function(t,e){var n=this.option,r=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,r[t]&&("emphasis"===e?Pu:Ru)(r[t])},a instanceof tF&&a.render&&a.render(p,e,n,r)):v&&a.dispose&&a.dispose(e,n)}function d(r,s,l){var u,c,d=r.getModel("iconStyle"),h=r.getModel(["emphasis","iconStyle"]),f=s instanceof tF&&s.getIcons?s.getIcons():r.get("icon"),p=r.get("title")||{};hn.C(f)?(u={})[l]=f:u=f,hn.C(p)?(c={})[l]=p:c=p;var g=r.iconPaths={};hn.k(u,(function(l,u){var f=ey(l,{},{x:-o/2,y:-o/2,width:o,height:o});f.setStyle(d.getItemStyle()),f.ensureState("emphasis").style=h.getItemStyle();var p=new iu({style:{text:c[u],align:h.get("textAlign"),borderRadius:h.get("textBorderRadius"),padding:h.get("textPadding"),fill:null},ignore:!0});f.setTextContent(p),oy({el:f,componentModel:t,itemName:u,formatterParamsExtra:{title:c[u]}}),f.__title=c[u],f.on("mouseover",(function(){var e=h.getItemStyle(),r=a?null==t.get("right")&&"right"!==t.get("left")?"right":"left":null==t.get("bottom")&&"bottom"!==t.get("top")?"bottom":"top";p.setStyle({fill:h.get("textFill")||e.fill||e.stroke||"#000",backgroundColor:h.get("textBackgroundColor")}),f.setTextConfig({position:h.get("textPosition")||r}),p.ignore=!t.get("showTitle"),n.enterEmphasis(this)})).on("mouseout",(function(){"emphasis"!==r.get(["iconStatus",u])&&n.leaveEmphasis(this),p.hide()})),("emphasis"===r.get(["iconStatus",u])?Pu:Ru)(f),i.add(f),f.on("click",hn.c(s.onclick,s,e,n,u)),g[u]=f}))}},e.prototype.updateView=function(t,e,n,r){hn.k(this._features,(function(t){t instanceof tF&&t.updateView&&t.updateView(t.model,e,n,r)}))},e.prototype.remove=function(t,e){hn.k(this._features,(function(n){n instanceof tF&&n.remove&&n.remove(t,e)})),this.group.removeAll()},e.prototype.dispose=function(t,e){hn.k(this._features,(function(n){n instanceof tF&&n.dispose&&n.dispose(t,e)}))},e.type="toolbox",e}(rg);var lF=sF,uF=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return cn(e,t),e.prototype.onclick=function(t,e){var n=this.model,r=n.get("name")||t.get("title.0.text")||"echarts",i="svg"===e.getZr().painter.getType(),o=i?"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=dn.a.browser;if(Object(hn.w)(MouseEvent)&&(s.newEdge||!s.ie&&!s.edge)){var l=document.createElement("a");l.download=r+"."+o,l.target="_blank",l.href=a;var u=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});l.dispatchEvent(u)}else if(window.navigator.msSaveOrOpenBlob||i){var c=a.split(","),d=c[0].indexOf("base64")>-1,h=i?decodeURIComponent(c[1]):c[1];d&&(h=window.atob(h));var f=r+"."+o;if(window.navigator.msSaveOrOpenBlob){for(var p=h.length,g=new Uint8Array(p);p--;)g[p]=h.charCodeAt(p);var v=new Blob([g]);window.navigator.msSaveOrOpenBlob(v,f)}else{var y=document.createElement("iframe");document.body.appendChild(y);var m=y.contentWindow,b=m.document;b.open("image/svg+xml","replace"),b.write(h),b.close(),m.focus(),b.execCommand("SaveAs",!0,f),document.body.removeChild(y)}}else{var _=n.get("lang"),x='',w=window.open();w.document.write(x),w.document.title=r}},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}(tF),cF=uF,dF="__ec_magicType_stack__",hF=[["line","bar"],["stack"]],fF=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return cn(e,t),e.prototype.getIcons=function(){var t=this.model,e=t.get("icon"),n={};return hn.k(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 r=this.model,i=r.get(["seriesIndex",n]);if(pF[n]){var o,a={series:[]};hn.k(hF,(function(t){hn.r(t,n)>=0&&hn.k(t,(function(t){r.setIconStatus(t,"normal")}))})),r.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:null==i?null:{seriesIndex:i}},(function(t){var e=t.subType,i=t.id,o=pF[n](e,i,t,r);o&&(hn.i(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 u=l.dim+"Axis",c=t.getReferringComponents(u,Na).models[0].componentIndex;a[u]=a[u]||[];for(var d=0;d<=c;d++)a[u][c]=a[u][c]||{};a[u][c].boundaryGap="bar"===n}}}));var s=n;"stack"===n&&(o=hn.I({stack:r.option.title.tiled,tiled:r.option.title.stack},r.option.title),"emphasis"!==r.get(["iconStatus",n])&&(s="tiled")),e.dispatchAction({type:"changeMagicType",currentType:s,newOption:a,newTitle:o,featureName:"magicType"})}},e}(tF),pF={line:function(t,e,n,r){if("bar"===t)return hn.I({id:e,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get(["option","line"])||{},!0)},bar:function(t,e,n,r){if("line"===t)return hn.I({id:e,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get(["option","bar"])||{},!0)},stack:function(t,e,n,r){var i=n.get("stack")===dF;if("line"===t||"bar"===t)return r.setIconStatus("stack",i?"normal":"emphasis"),hn.I({id:e,stack:i?"":dF},r.get(["option","stack"])||{},!0)}};r_({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(t,e){e.mergeOption(t.newOption)}));var gF=fF,vF=new Array(60).join("-"),yF="\t";function mF(t){var e=[];return hn.k(t,(function(t,n){var r=t.categoryAxis,i=t.valueAxis.dim,o=[" "].concat(hn.H(t.series,(function(t){return t.name}))),a=[r.model.getCategories()];hn.k(t.series,(function(t){var e=t.getRawData();a.push(t.getRawData().mapArray(e.mapDimension(i),(function(t){return t})))}));for(var s=[o.join(yF)],l=0;l=0)return!0}(t)){var i=function(t){for(var e=t.split(/\n+/g),n=_F(e.shift()).split(xF),r=[],i=hn.H(n,(function(t){return{name:t,data:[]}})),o=0;o=0)&&t(i,r._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 r=zF[t.brushType](0,n,e);t.__rangeOffset={offset:BF[t.brushType](r.values,t.range,[1,1]),xyMinMax:r.xyMinMax}}})),t},t.prototype.matchOutputRanges=function(t,e,n){Object(hn.k)(t,(function(t){var r=this.findTargetInfo(t,e);r&&!0!==r&&Object(hn.k)(r.coordSyses,(function(r){var i=zF[t.brushType](1,r,t.range,!0);n(t,i.values,r,e)}))}),this)},t.prototype.setInputRanges=function(t,e){Object(hn.k)(t,(function(t){var n=this.findTargetInfo(t,e);if(t.range=t.range||[],n&&!0!==n){t.panelId=n.panelId;var r=zF[t.brushType](0,n.coordSys,t.coordRange),i=t.__rangeOffset;t.range=i?BF[t.brushType](r.values,i.offset,function(t,e){var n=HF(t),r=HF(e),i=[n[0]/r[0],n[1]/r[1]];return isNaN(i[0])&&(i[0]=1),isNaN(i[1])&&(i[1]=1),i}(r.xyMinMax,i.xyMinMax)):r.values}}),this)},t.prototype.makePanelOpts=function(t,e){return Object(hn.H)(this._targetInfoList,(function(n){var r=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e?e(n):null,clipPath:yL(r),isTargetByCursor:bL(r,t,n.coordSysModel),getLinearBrushOtherExtent:mL(r)}}))},t.prototype.controlSeries=function(t,e,n){var r=this.findTargetInfo(t,n);return!0===r||r&&Object(hn.r)(r.coordSyses,e.coordinateSystem)>=0},t.prototype.findTargetInfo=function(t,e){for(var n=this._targetInfoList,r=LF(e,t),i=0;it[1]&&t.reverse(),t}function LF(t,e){return Ea(t,e,{includeMainTypes:kF})}var NF={grid:function(t,e){var n=t.xAxisModels,r=t.yAxisModels,i=t.gridModels,o=Object(hn.f)(),a={},s={};(n||r||i)&&(Object(hn.k)(n,(function(t){var e=t.axis.grid.model;o.set(e.id,e),a[e.id]=!0})),Object(hn.k)(r,(function(t){var e=t.axis.grid.model;o.set(e.id,e),s[e.id]=!0})),Object(hn.k)(i,(function(t){o.set(t.id,t),a[t.id]=!0,s[t.id]=!0})),o.each((function(t){var i=t.coordinateSystem,o=[];Object(hn.k)(i.getCartesians(),(function(t,e){(Object(hn.r)(n,t.getAxis("x").model)>=0||Object(hn.r)(r,t.getAxis("y").model)>=0)&&o.push(t)})),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:o[0],coordSyses:o,getPanelRect:RF.grid,xAxisDeclared:a[t.id],yAxisDeclared:s[t.id]})})))},geo:function(t,e){Object(hn.k)(t.geoModels,(function(t){var n=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:n,coordSyses:[n],getPanelRect:RF.geo})}))}},PF=[function(t,e){var n=t.xAxisModel,r=t.yAxisModel,i=t.gridModel;return!i&&n&&(i=n.axis.grid.model),!i&&r&&(i=r.axis.grid.model),i&&i===e.gridModel},function(t,e){var n=t.geoModel;return n&&n===e.geoModel}],RF={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(Xv(t)),e}},zF={lineX:Object(hn.h)(VF,0),lineY:Object(hn.h)(VF,1),rect:function(t,e,n,r){var i=t?e.pointToData([n[0][0],n[1][0]],r):e.dataToPoint([n[0][0],n[1][0]],r),o=t?e.pointToData([n[0][1],n[1][1]],r):e.dataToPoint([n[0][1],n[1][1]],r),a=[EF([i[0],o[0]]),EF([i[1],o[1]])];return{values:a,xyMinMax:a}},polygon:function(t,e,n,r){var i=[[1/0,-1/0],[1/0,-1/0]],o=Object(hn.H)(n,(function(n){var o=t?e.pointToData(n,r):e.dataToPoint(n,r);return i[0][0]=Math.min(i[0][0],o[0]),i[1][0]=Math.min(i[1][0],o[1]),i[0][1]=Math.max(i[0][1],o[0]),i[1][1]=Math.max(i[1][1],o[1]),o}));return{values:o,xyMinMax:i}}};function VF(t,e,n,r){var i=n.getAxis(["x","y"][t]),o=EF(Object(hn.H)([0,1],(function(t){return e?i.coordToData(i.toLocalCoord(r[t]),!0):i.toGlobalCoord(i.dataToCoord(r[t]))}))),a=[];return a[t]=o,a[1-t]=[NaN,NaN],{values:o,xyMinMax:a}}var BF={lineX:Object(hn.h)(FF,0),lineY:Object(hn.h)(FF,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(hn.H)(t,(function(t,r){return[t[0]-n[0]*e[r][0],t[1]-n[1]*e[r][1]]}))}};function FF(t,e,n,r){return[e[0]-r[t]*n[0],e[1]-r[t]*n[1]]}function HF(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}var WF=jF,UF=hn.k,GF=function(t){return ma+t}("toolbox-dataZoom_"),YF=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return cn(e,t),e.prototype.render=function(t,e,n,r){this._brushController||(this._brushController=new vL(n.getZr()),this._brushController.on("brush",hn.c(this._onBrush,this)).mount()),function(t,e,n,r,i){var o=n._isZoomActive;r&&"takeGlobalCursor"===r.type&&(o="dataZoomSelect"===r.key&&r.dataZoomSelectActive),n._isZoomActive=o,t.setIconStatus("zoom",o?"emphasis":"normal");var a=new WF(XF(t),e,{include:["grid"]}).makePanelOpts(i,(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,r,n),function(t,e){t.setIconStatus("back",function(t){return TF(t).length}(e)>1?"emphasis":"normal")}(t,e)},e.prototype.onclick=function(t,e,n){$F[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={},r=this.ecModel;this._brushController.updateCovers([]),new WF(XF(this.model),r,{include:["grid"]}).matchOutputRanges(e,r,(function(t,e,n){if("cartesian2d"===n.type){var r=t.brushType;"rect"===r?(i("x",n,e[0]),i("y",n,e[1])):i({lineX:"x",lineY:"y"}[r],n,e)}})),function(t,e){var n=TF(t);CF(e,(function(e,r){for(var i=n.length-1;i>=0&&!n[i][r];i--);if(i<0){var o=t.queryComponents({mainType:"dataZoom",subType:"select",id:r})[0];if(o){var a=o.getPercentRange();n[0][r]={dataZoomId:r,start:a[0],end:a[1]}}}})),n.push(e)}(r,n),this._dispatchZoomAction(n)}function i(t,e,i){var o=e.getAxis(t),a=o.model,s=function(t,e,n){var r;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){n.getAxisModel(t,e.componentIndex)&&(r=n)})),r}(t,a,r),l=s.findRepresentativeAxisProxy(a).getMinMaxSpan();null==l.minValueSpan&&null==l.maxValueSpan||(i=dE(0,i.slice(),o.scale.getExtent(),0,l.minValueSpan,l.maxValueSpan)),s&&(n[s.id]={dataZoomId:s.id,startValue:i[0],endValue:i[1]})}},e.prototype._dispatchZoomAction=function(t){var e=[];UF(t,(function(t,n){e.push(hn.d(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}(tF),$F={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(function(t){var e=TF(t),n=e[e.length-1];e.length>1&&e.pop();var r={};return CF(n,(function(t,n){for(var i=e.length-1;i>=0;i--)if(t=e[i][n]){r[n]=t;break}})),r}(this.ecModel))}};function XF(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}!function(t,e){Object(hn.b)(null==Sh.get(t)&&e),Sh.set(t,e)}("dataZoom",(function(t){var e=t.getComponent("toolbox",0),n=["feature","dataZoom"];if(e&&null!=e.get(n)){var r=e.getModel(n),i=[],o=Ea(t,XF(r));return UF(o.xAxisModels,(function(t){return a(t,"xAxis","xAxisIndex")})),UF(o.yAxisModels,(function(t){return a(t,"yAxis","yAxisIndex")})),i}function a(t,e,n){var o=t.componentIndex,a={type:"select",$fromToolbox:!0,filterMode:r.get("filterMode",!0)||"filter",id:GF+e+o};a[n]=o,i.push(a)}}));var ZF=YF;var qF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return cn(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}(eh),QF=qF;function JF(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function KF(t){if(dn.a.domSupported)for(var e=document.documentElement.style,n=0,r=t.length;n-1?(l+="top:50%",u+="translateY(-50%) rotate("+(o="left"===a?-225:-45)+"deg)"):(l+="left:50%",u+="translateX(-50%) rotate("+(o="top"===a?225:45)+"deg)");var c=o*Math.PI/180,d=s+i,h=d*Math.abs(Math.cos(c))+d*Math.abs(Math.sin(c)),f=e+" solid "+i+"px;";return'
'}(n,r,i)),Object(hn.C)(t))o.innerHTML=t+a;else if(t){o.innerHTML="",Object(hn.t)(t)||(t=[t]);for(var s=0;s=0?this._tryShow(n,r):"leave"===e&&this._hide(r))}),this))},e.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,n=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==t.get("triggerOn")){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,r){if(r.from!==this.uid&&!dn.a.node&&n.getDom()){var i=mH(r,n);this._ticket="";var o=r.dataByCoordSys,a=function(t,e,n){var r=La(t).queryOptionMap,i=r.keys()[0];if(i&&"series"!==i){var o,a=Ra(e,i,r.get(i),{useDefault:!1,enableAll:!1,enableNone:!1}).models[0];if(a)return n.getViewOfComponentModel(a).group.traverse((function(e){var n=ou(e).tooltipConfig;if(n&&n.name===t.name)return o=e,!0})),o?{componentMainType:i,componentIndex:a.componentIndex,el:o}:void 0}}(r,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:r.position,positionDefault:"bottom"},i)}else if(r.tooltip&&null!=r.x&&null!=r.y){var l=gH;l.x=r.x,l.y=r.y,l.update(),ou(l).tooltipConfig={name:null,option:r.tooltip},this._tryShow({offsetX:r.x,offsetY:r.y,target:l},i)}else if(o)this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,dataByCoordSys:o,tooltipOption:r.tooltipOption},i);else if(null!=r.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,r))return;var u=Uz(r,e),c=u.point[0],d=u.point[1];null!=c&&null!=d&&this._tryShow({offsetX:c,offsetY:d,target:u.el,position:r.position,positionDefault:"bottom"},i)}else null!=r.x&&null!=r.y&&(n.dispatchAction({type:"updateAxisPointer",x:r.x,y:r.y}),this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,target:n.getZr().findHover(r.x,r.y).target},i))}},e.prototype.manuallyHideTip=function(t,e,n,r){var i=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&i.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,r.from!==this.uid&&this._hide(mH(r,n))},e.prototype._manuallyAxisShowTip=function(t,e,n,r){var i=r.seriesIndex,o=r.dataIndex,a=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=i&&null!=o&&null!=a){var s=e.getSeriesByIndex(i);if(s)if("axis"===yH([s.getData().getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:i,dataIndex:o,position:r.position}),!0}},e.prototype._tryShow=function(t,e){var n=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var r=t.dataByCoordSys;if(r&&r.length)this._showAxisTooltip(r,t);else if(n){var i,o;this._lastDataByCoordSys=null,fm(n,(function(t){return null!=ou(t).dataIndex?(i=t,!0):null!=ou(t).tooltipConfig?(o=t,!0):void 0}),!0),i?this._showSeriesItemTooltip(t,i,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(hn.c)(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},e.prototype._showAxisTooltip=function(t,e){var n=this._ecModel,r=this._tooltipModel,i=[e.offsetX,e.offsetY],o=yH([e.tooltipOption],r),a=this._renderMode,s=[],l=kp("section",{blocks:[],noHeader:!0}),u=[],c=new Hp;Object(hn.k)(t,(function(t){Object(hn.k)(t.dataByAxis,(function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),i=t.value;if(e&&null!=i){var o=Sz(i,e.axis,n,t.seriesDataIndices,t.valueLabelOpt),d=kp("section",{header:o,noHeader:!Object(hn.T)(o),sortBlocks:!0,blocks:[]});l.blocks.push(d),Object(hn.k)(t.seriesDataIndices,(function(l){var h=n.getSeriesByIndex(l.seriesIndex),f=l.dataIndexInside,p=h.getDataParams(f);if(!(p.dataIndex<0)){p.axisDim=t.axisDim,p.axisIndex=t.axisIndex,p.axisType=t.axisType,p.axisId=t.axisId,p.axisValue=sC(e.axis,{value:i}),p.axisValueLabel=o,p.marker=c.makeTooltipMarker("item",Bd(p.color),a);var g=Gf(h.formatTooltip(f,!0,null)),v=g.frag;if(v){var y=yH([h],r).get("valueFormatter");d.blocks.push(y?Object(hn.m)({valueFormatter:y},v):v)}g.text&&u.push(g.text),s.push(p)}}))}}))})),l.blocks.reverse(),u.reverse();var d=e.position,h=o.get("order"),f=Rp(l,c,a,h,n.get("useUTC"),o.get("textStyle"));f&&u.unshift(f);var p="richText"===a?"\n\n":"
",g=u.join(p);this._showOrMove(o,(function(){this._updateContentNotChangedOnAxis(t,s)?this._updatePosition(o,d,i[0],i[1],this._tooltipContent,s):this._showTooltipContent(o,g,s,Math.random()+"",i[0],i[1],d,null,c)}))},e.prototype._showSeriesItemTooltip=function(t,e,n){var r=this._ecModel,i=ou(e),o=i.seriesIndex,a=r.getSeriesByIndex(o),s=i.dataModel||a,l=i.dataIndex,u=i.dataType,c=s.getData(u),d=this._renderMode,h=t.positionDefault,f=yH([c.getItemModel(l),s,a&&(a.coordinateSystem||{}).model],this._tooltipModel,h?{position:h}:null),p=f.get("trigger");if(null==p||"item"===p){var g=s.getDataParams(l,u),v=new Hp;g.marker=v.makeTooltipMarker("item",Bd(g.color),d);var y=Gf(s.formatTooltip(l,!1,u)),m=f.get("order"),b=f.get("valueFormatter"),_=y.frag,x=_?Rp(b?Object(hn.m)({valueFormatter:b},_):_,v,d,m,r.get("useUTC"),f.get("textStyle")):y.text,w="item_"+s.name+"_"+l;this._showOrMove(f,(function(){this._showTooltipContent(f,x,g,w,t.offsetX,t.offsetY,t.position,t.target,v)})),n({type:"showTip",dataIndexInside:l,dataIndex:c.getRawIndex(l),seriesIndex:o,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,n){var r=ou(e),i=r.tooltipConfig.option||{};if(Object(hn.C)(i)){i={content:i,formatter:i}}var o=[i],a=this._ecModel.getComponent(r.componentMainType,r.componentIndex);a&&o.push(a),o.push({formatter:i.content});var s=t.positionDefault,l=yH(o,this._tooltipModel,s?{position:s}:null),u=l.get("content"),c=Math.random()+"",d=new Hp;this._showOrMove(l,(function(){var n=Object(hn.d)(l.get("formatterParams")||{});this._showTooltipContent(l,u,n,c,t.offsetX,t.offsetY,t.position,e,d)})),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,e,n,r,i,o,a,s,l){if(this._ticket="",t.get("showContent")&&t.get("show")){var u=this._tooltipContent;u.setEnterable(t.get("enterable"));var c=t.get("formatter");a=a||t.get("position");var d=e,h=this._getNearestPoint([i,o],n,t.get("trigger"),t.get("borderColor")).color;if(c)if(Object(hn.C)(c)){var f=t.ecModel.get("useUTC"),p=Object(hn.t)(n)?n[0]:n;d=c,p&&p.axisType&&p.axisType.indexOf("time")>=0&&(d=fd(p.axisValue,d,f)),d=Vd(d,n,!0)}else if(Object(hn.w)(c)){var g=Object(hn.c)((function(e,r){e===this._ticket&&(u.setContent(r,l,t,h,a),this._updatePosition(t,a,i,o,u,n,s))}),this);this._ticket=r,d=c(n,r,g)}else d=c;u.setContent(d,l,t,h,a),u.show(t,h),this._updatePosition(t,a,i,o,u,n,s)}},e.prototype._getNearestPoint=function(t,e,n,r){return"axis"===n||Object(hn.t)(e)?{color:r||("html"===this._renderMode?"#fff":"none")}:Object(hn.t)(e)?void 0:{color:r||e.color||e.borderColor}},e.prototype._updatePosition=function(t,e,n,r,i,o,a){var s=this._api.getWidth(),l=this._api.getHeight();e=e||t.get("position");var u=i.getSize(),c=t.get("align"),d=t.get("verticalAlign"),h=a&&a.getBoundingRect().clone();if(a&&h.applyTransform(a.transform),Object(hn.w)(e)&&(e=e([n,r],o,i.el,h,{viewSize:[s,l],contentSize:u.slice()})),Object(hn.t)(e))n=qo(e[0],s),r=qo(e[1],l);else if(Object(hn.A)(e)){var f=e;f.width=u[0],f.height=u[1];var p=$d(f,{width:s,height:l});n=p.x,r=p.y,c=null,d=null}else if(Object(hn.C)(e)&&a){var g=function(t,e,n,r){var i=n[0],o=n[1],a=Math.ceil(Math.SQRT2*r)+8,s=0,l=0,u=e.width,c=e.height;switch(t){case"inside":s=e.x+u/2-i/2,l=e.y+c/2-o/2;break;case"top":s=e.x+u/2-i/2,l=e.y-o-a;break;case"bottom":s=e.x+u/2-i/2,l=e.y+c+a;break;case"left":s=e.x-i-a,l=e.y+c/2-o/2;break;case"right":s=e.x+u+a,l=e.y+c/2-o/2}return[s,l]}(e,h,u,t.get("borderWidth"));n=g[0],r=g[1]}else g=function(t,e,n,r,i,o,a){var s=n.getSize(),l=s[0],u=s[1];return null!=o&&(t+l+o+2>r?t-=l+o:t+=o),null!=a&&(e+u+a>i?e-=u+a:e+=a),[t,e]}(n,r,i,s,l,c?null:20,d?null:20),n=g[0],r=g[1];c&&(n-=bH(c)?u[0]/2:"right"===c?u[0]:0),d&&(r-=bH(d)?u[1]/2:"bottom"===d?u[1]:0),JF(t)&&(g=function(t,e,n,r,i){var o=n.getSize(),a=o[0],s=o[1];return t=Math.min(t+a,r)-a,e=Math.min(e+s,i)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}(n,r,i,s,l),n=g[0],r=g[1]),i.moveTo(n,r)},e.prototype._updateContentNotChangedOnAxis=function(t,e){var n=this._lastDataByCoordSys,r=this._cbParamsList,i=!!n&&n.length===t.length;return i&&Object(hn.k)(n,(function(n,o){var a=n.dataByAxis||[],s=(t[o]||{}).dataByAxis||[];(i=i&&a.length===s.length)&&Object(hn.k)(a,(function(t,n){var o=s[n]||{},a=t.seriesDataIndices||[],l=o.seriesDataIndices||[];(i=i&&t.value===o.value&&t.axisType===o.axisType&&t.axisId===o.axisId&&a.length===l.length)&&Object(hn.k)(a,(function(t,e){var n=l[e];i=i&&t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex})),r&&Object(hn.k)(t.seriesDataIndices,(function(t){var n=t.seriesIndex,o=e[n],a=r[n];o&&a&&a.data!==o.data&&(i=!1)}))}))})),this._lastDataByCoordSys=t,this._cbParamsList=e,!!i},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,e){!dn.a.node&&e.getDom()&&(wy(this,"_updatePosition"),this._tooltipContent.dispose(),Fz("itemTooltip",e))},e.type="tooltip",e}(rg);function yH(t,e,n){var r,i=e.ecModel;n?(r=new Hc(n,i,i),r=new Hc(e.option,r,i)):r=e;for(var o=t.length-1;o>=0;o--){var a=t[o];a&&(a instanceof Hc&&(a=a.get("tooltip",!0)),Object(hn.C)(a)&&(a={formatter:a}),a&&(r=new Hc(a,r,i)))}return r}function mH(t,e){return t.dispatchAction||Object(hn.c)(e.dispatchAction,e)}function bH(t){return"center"===t||"middle"===t}var _H=vH;function xH(t){d_(Jz),t.registerComponentModel(QF),t.registerComponentView(_H),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},hn.L),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},hn.L)}var wH=["rect","polygon","keep","clear"];function SH(t,e){var n=ba(t?t.brush:[]);if(n.length){var r=[];hn.k(n,(function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(r=r.concat(e))}));var i=t&&t.toolbox;hn.t(i)&&(i=i[0]),i||(i={feature:{}},t.toolbox=[i]);var o=i.feature||(i.feature={}),a=o.brush||(o.brush={}),s=a.type||(a.type=[]);s.push.apply(s,r),function(t){var e={};hn.k(t,(function(t){e[t]=1})),t.length=0,hn.k(e,(function(e,n){t.push(n)}))}(s),e&&!s.length&&s.push.apply(s,wH)}}var MH=hn.k;function OH(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}function CH(t,e,n){var r={};return MH(e,(function(e){var i=r[e]=function(){var t=function(){};return t.prototype.__hidden=t.prototype,new t}();MH(t[e],(function(t,r){if(KD.isValidType(r)){var o={type:r,visual:t};n&&n(o,e),i[r]=new KD(o),"opacity"===r&&((o=hn.d(o)).type="colorAlpha",i.__hidden.__alphaForOpacity=new KD(o))}}))})),r}function IH(t,e,n){var r;hn.k(n,(function(t){e.hasOwnProperty(t)&&OH(e[t])&&(r=!0)})),r&&hn.k(n,(function(n){e.hasOwnProperty(n)&&OH(e[n])?t[n]=hn.d(e[n]):delete t[n]}))}var TH={lineX:AH(0),lineY:AH(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])&&mT(n.range,t[0],t[1])},rect:function(t,e,n){var r=n.range;if(!t||r.length<=1)return!1;var i=t.x,o=t.y,a=t.width,s=t.height,l=r[0];return!!(mT(r,i,o)||mT(r,i+a,o)||mT(r,i,o+s)||mT(r,i+a,o+s)||bo.create(t).contain(l[0],l[1])||ny(i,o,i+a,o,r)||ny(i,o,i,o+s,r)||ny(i+a,o,i+a,o+s,r)||ny(i,o+s,i+a,o+s,r))||void 0}}};function AH(t){var e=["x","y"],n=["width","height"];return{point:function(e,n,r){if(e){var i=r.range;return DH(e[t],i)}},rect:function(r,i,o){if(r){var a=o.range,s=[r[e[t]],r[e[t]]+r[n[t]]];return s[1]e[0][1]&&(e[0][1]=o[0]),o[1]e[1][1]&&(e[1][1]=o[1])}return e&&VH(e)}};function VH(t){return new bo(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}var BH=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return cn(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e,this.model,(this._brushController=new vL(e.getZr())).on("brush",hn.c(this._onBrush,this)).mount()},e.prototype.render=function(t,e,n,r){this.model=t,this._updateController(t,e,n,r)},e.prototype.updateTransform=function(t,e,n,r){LH(e),this._updateController(t,e,n,r)},e.prototype.updateVisual=function(t,e,n,r){this.updateTransform(t,e,n,r)},e.prototype.updateView=function(t,e,n,r){this._updateController(t,e,n,r)},e.prototype._updateController=function(t,e,n,r){(!r||r.$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:hn.d(n),$from:e}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:e,areas:hn.d(n),$from:e})},e.type="brush",e}(rg),FH=BH,HH=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.areas=[],n.brushOption={},n}return cn(e,t),e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&IH(n,t,["inBrush","outOfBrush"]);var r=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:"#ddd"},r.hasOwnProperty("liftZ")||(r.liftZ=5)},e.prototype.setAreas=function(t){t&&(this.areas=hn.H(t,(function(t){return WH(this.option,t)}),this))},e.prototype.setBrushOption=function(t){this.brushOption=WH(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}(eh);function WH(t,e){return hn.I({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new Hc(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}var UH=HH,GH=["rect","polygon","lineX","lineY","keep","clear"],YH=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return cn(e,t),e.prototype.render=function(t,e,n){var r,i,o;e.eachComponent({mainType:"brush"},(function(t){r=t.brushType,i=t.brushOption.brushMode||"single",o=o||!!t.areas.length})),this._brushType=r,this._brushMode=i,hn.k(t.get("type",!0),(function(e){t.setIconStatus(e,("keep"===e?"multiple"===i:"clear"===e?o:e===r)?"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 hn.k(t.get("type",!0),(function(t){e[t]&&(n[t]=e[t])})),n},e.prototype.onclick=function(t,e,n){var r=this._brushType,i=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?r:r!==n&&n,brushMode:"keep"===n?"multiple"===i?"single":"multiple":i}})},e.getDefaultOption=function(t){return{show:!0,type:GH.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}(tF),$H=YH;var XH=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 cn(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}(eh),ZH=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return cn(e,t),e.prototype.render=function(t,e,n){if(this.group.removeAll(),t.get("show")){var r=this.group,i=t.getModel("textStyle"),o=t.getModel("subtextStyle"),a=t.get("textAlign"),s=hn.P(t.get("textBaseline"),t.get("textVerticalAlign")),l=new iu({style:_c(i,{text:t.get("text"),fill:i.getTextColor()},{disableBox:!0}),z2:10}),u=l.getBoundingRect(),c=t.get("subtext"),d=new iu({style:_c(o,{text:c,fill:o.getTextColor(),y:u.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),h=t.get("link"),f=t.get("sublink"),p=t.get("triggerEvent",!0);l.silent=!h&&!p,d.silent=!f&&!p,h&&l.on("click",(function(){Fd(h,"_"+t.get("target"))})),f&&d.on("click",(function(){Fd(f,"_"+t.get("subtarget"))})),ou(l).eventData=ou(d).eventData=p?{componentType:"title",componentIndex:t.componentIndex}:null,r.add(l),c&&r.add(d);var g=r.getBoundingRect(),v=t.getBoxLayoutParams();v.width=g.width,v.height=g.height;var y=$d(v,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));a||("middle"===(a=t.get("left")||t.get("right"))&&(a="center"),"right"===a?y.x+=y.width:"center"===a&&(y.x+=y.width/2)),s||("center"===(s=t.get("top")||t.get("bottom"))&&(s="middle"),"bottom"===s?y.y+=y.height:"middle"===s&&(y.y+=y.height/2),s=s||"top"),r.x=y.x,r.y=y.y,r.markRedraw();var m={align:a,verticalAlign:s};l.setStyle(m),d.setStyle(m),g=r.getBoundingRect();var b=y.margin,_=t.getItemStyle(["color","opacity"]);_.fill=t.get("backgroundColor");var x=new Hl({shape:{x:g.x-b[3],y:g.y-b[0],width:g.width+b[1]+b[3],height:g.height+b[0]+b[2],r:t.get("borderRadius")},style:_,subPixelOptimize:!0,silent:!0});r.add(x)}},e.type="title",e}(rg);function qH(t){t.registerComponentModel(XH),t.registerComponentView(ZH)}var QH=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode="box",n}return cn(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||[],r=e.axisType,i=this._names=[];"category"===r?(t=[],Object(hn.k)(n,(function(e,n){var r,o=Ia(wa(e),"");Object(hn.A)(e)?(r=Object(hn.d)(e)).value=n:r=n,t.push(r),i.push(o)}))):t=n;var o={category:"ordinal",time:"time",value:"number"}[r]||"number";(this._data=new Fw([{name:"value",type:o}],this)).initData(t,i)},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}(eh),JH=QH,KH=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return cn(e,t),e.type="timeline.slider",e.defaultOption=Gc(JH.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}(JH);Object(hn.K)(KH,Uf.prototype);var tW=KH,eW=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return cn(e,t),e.type="timeline",e}(rg),nW=eW,rW=function(t){function e(e,n,r,i){var o=t.call(this,e,n,r)||this;return o.type=i||"value",o}return cn(e,t),e.prototype.getLabelModel=function(){return this.model.getModel("label")},e.prototype.isHorizontal=function(){return"horizontal"===this.model.get("orient")},e}(AC),iW=rW,oW=Math.PI,aW=ka(),sW=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return cn(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 r=this._layout(t,n),i=this._createGroup("_mainGroup"),o=this._createGroup("_labelGroup"),a=this._axis=this._createAxis(r,t);t.formatTooltip=function(t){return kp("nameValue",{noName:!0,value:a.scale.getLabel({value:t})})},Object(hn.k)(["AxisLine","AxisTick","Control","CurrentPointer"],(function(e){this["_render"+e](r,i,a,t)}),this),this._renderAxisLabel(r,o,a,t),this._position(r,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,r,i,o,a=t.get(["label","position"]),s=t.get("orient"),l=function(t,e){return $d(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()},t.get("padding"))}(t,e),u={horizontal:"center",vertical:(n=null==a||"auto"===a?"horizontal"===s?l.y+l.height/2=0||"+"===n?"left":"right"},c={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},d={horizontal:0,vertical:oW/2},h="vertical"===s?l.height:l.width,f=t.getModel("controlStyle"),p=f.get("show",!0),g=p?f.get("itemSize"):0,v=p?f.get("itemGap"):0,y=g+v,m=t.get(["label","rotate"])||0;m=m*oW/180;var b=f.get("position",!0),_=p&&f.get("showPlayBtn",!0),x=p&&f.get("showPrevBtn",!0),w=p&&f.get("showNextBtn",!0),S=0,M=h;"left"===b||"bottom"===b?(_&&(r=[0,0],S+=y),x&&(i=[S,0],S+=y),w&&(o=[M-g,0],M-=y)):(_&&(r=[M-g,0],M-=y),x&&(i=[0,0],S+=y),w&&(o=[M-g,0],M-=y));var O=[S,M];return t.get("inverse")&&O.reverse(),{viewRect:l,mainLength:h,orient:s,rotation:d[s],labelRotation:m,labelPosOpt:n,labelAlign:t.get(["label","align"])||u[s],labelBaseline:t.get(["label","verticalAlign"])||t.get(["label","baseline"])||c[s],playPosition:r,prevBtnPosition:i,nextBtnPosition:o,axisExtent:O,controlSize:g,controlGap:v}},e.prototype._position=function(t,e){var n=this._mainGroup,r=this._labelGroup,i=t.viewRect;if("vertical"===t.orient){var o=[1,0,0,1,0,0],a=i.x,s=i.y+i.height;Yi(o,o,[-a,-s]),$i(o,o,-oW/2),Yi(o,o,[a,s]),(i=i.clone()).applyTransform(o)}var l=v(i),u=v(n.getBoundingRect()),c=v(r.getBoundingRect()),d=[n.x,n.y],h=[r.x,r.y];h[0]=d[0]=l[0][0];var f=t.labelPosOpt;if(null==f||Object(hn.C)(f)){var p="+"===f?0:1;y(d,u,l,1,p),y(h,c,l,1,1-p)}else y(d,u,l,1,p=f>=0?0:1),h[1]=d[1]+f;function g(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 y(t,e,n,r,i){t[r]+=n[r][i]-e[r][i]}n.setPosition(d),r.setPosition(h),n.rotation=r.rotation=t.rotation,g(n),g(r)},e.prototype._createAxis=function(t,e){var n=e.getData(),r=e.get("axisType"),i=function(t,e){if(e=e||t.get("type"))switch(e){case"category":return new TO({ordinalMeta:t.getCategories(),extent:[1/0,-1/0]});case"time":return new BO({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new kO}}(e,r);i.getTicks=function(){return n.mapArray(["value"],(function(t){return{value:t}}))};var o=n.getDataExtent("value");i.setExtent(o[0],o[1]),i.calcNiceTicks();var a=new iW("value",i,t.axisExtent,r);return a.model=e,a},e.prototype._createGroup=function(t){var e=this[t]=new Wo;return this.group.add(e),e},e.prototype._renderAxisLine=function(t,e,n,r){var i=n.getExtent();if(r.get(["lineStyle","show"])){var o=new av({shape:{x1:i[0],y1:0,x2:i[1],y2:0},style:Object(hn.m)({lineCap:"round"},r.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});e.add(o);var a=this._progressLine=new av({shape:{x1:i[0],x2:this._currentPointer?this._currentPointer.x:i[0],y1:0,y2:0},style:Object(hn.i)({lineCap:"round",lineWidth:o.style.lineWidth},r.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});e.add(a)}},e.prototype._renderAxisTick=function(t,e,n,r){var i=this,o=r.getData(),a=n.scale.getTicks();this._tickSymbols=[],Object(hn.k)(a,(function(t){var a=n.dataToCoord(t.value),s=o.getItemModel(t.value),l=s.getModel("itemStyle"),u=s.getModel(["emphasis","itemStyle"]),c=s.getModel(["progress","itemStyle"]),d={x:a,y:0,onclick:Object(hn.c)(i._changeTimeline,i,t.value)},h=lW(s,l,e,d);h.ensureState("emphasis").style=u.getItemStyle(),h.ensureState("progress").style=c.getItemStyle(),Zu(h);var f=ou(h);s.get("tooltip")?(f.dataIndex=t.value,f.dataModel=r):f.dataIndex=f.dataModel=null,i._tickSymbols.push(h)}))},e.prototype._renderAxisLabel=function(t,e,n,r){var i=this;if(n.getLabelModel().get("show")){var o=r.getData(),a=n.getViewLabels();this._tickLabels=[],Object(hn.k)(a,(function(r){var a=r.tickValue,s=o.getItemModel(a),l=s.getModel("label"),u=s.getModel(["emphasis","label"]),c=s.getModel(["progress","label"]),d=n.dataToCoord(r.tickValue),h=new iu({x:d,y:0,rotation:t.labelRotation-t.rotation,onclick:Object(hn.c)(i._changeTimeline,i,a),silent:!1,style:_c(l,{text:r.formattedLabel,align:t.labelAlign,verticalAlign:t.labelBaseline})});h.ensureState("emphasis").style=_c(u),h.ensureState("progress").style=_c(c),e.add(h),Zu(h),aW(h).dataIndex=a,i._tickLabels.push(h)}))}},e.prototype._renderControl=function(t,e,n,r){var i=t.controlSize,o=t.rotation,a=r.getModel("controlStyle").getItemStyle(),s=r.getModel(["emphasis","controlStyle"]).getItemStyle(),l=r.getPlayState(),u=r.get("inverse",!0);function c(t,n,l,u){if(t){var c=Ao(Object(hn.P)(r.get(["controlStyle",n+"BtnSize"]),i),i),d=function(t,e,n,r){var i=r.style,o=ey(t.get(["controlStyle",e]),r||{},new bo(n[0],n[1],n[2],n[3]));return i&&o.setStyle(i),o}(r,n+"Icon",[0,-c/2,c,c],{x:t[0],y:t[1],originX:i/2,originY:0,rotation:u?-o:0,rectHover:!0,style:a,onclick:l});d.ensureState("emphasis").style=s,e.add(d),Zu(d)}}c(t.nextBtnPosition,"next",Object(hn.c)(this._changeTimeline,this,u?"-":"+")),c(t.prevBtnPosition,"prev",Object(hn.c)(this._changeTimeline,this,u?"+":"-")),c(t.playPosition,l?"stop":"play",Object(hn.c)(this._handlePlayClick,this,!l),!0)},e.prototype._renderCurrentPointer=function(t,e,n,r){var i=r.getData(),o=r.getCurrentIndex(),a=i.getItemModel(o).getModel("checkpointStyle"),s=this,l={onCreate:function(t){t.draggable=!0,t.drift=Object(hn.c)(s._handlePointerDrag,s),t.ondragend=Object(hn.c)(s._handlePointerDragend,s),uW(t,s._progressLine,o,n,r,!0)},onUpdate:function(t){uW(t,s._progressLine,o,n,r)}};this._currentPointer=lW(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],r=Jo(this._axis.getExtent().slice());n>r[1]&&(n=r[1]),n=0&&(a[o]=+a[o].toFixed(d)),[a,c]}var wW={min:Object(hn.h)(xW,"min"),max:Object(hn.h)(xW,"max"),average:Object(hn.h)(xW,"average"),median:Object(hn.h)(xW,"median")};function SW(t,e){var n=t.getData(),r=t.coordinateSystem;if(e&&!function(t){return!isNaN(parseFloat(t.x))&&!isNaN(parseFloat(t.y))}(e)&&!Object(hn.t)(e.coord)&&r){var i=r.dimensions,o=MW(e,n,r,t);if((e=Object(hn.d)(e)).type&&wW[e.type]&&o.baseAxis&&o.valueAxis){var a=Object(hn.r)(i,o.baseAxis.dim),s=Object(hn.r)(i,o.valueAxis.dim),l=wW[e.type](n,o.baseDataDim,o.valueDataDim,a,s);e.coord=l[0],e.value=l[1]}else{for(var u=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis],c=0;c<2;c++)wW[u[c]]&&(u[c]=IW(n,n.mapDimension(i[c]),u[c]));e.coord=u}}return e}function MW(t,e,n,r){var i={};return null!=t.valueIndex||null!=t.valueDim?(i.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,i.valueAxis=n.getAxis(function(t,e){var n=t.getData().getDimensionInfo(e);return n&&n.coordDim}(r,i.valueDataDim)),i.baseAxis=n.getOtherAxis(i.valueAxis),i.baseDataDim=e.mapDimension(i.baseAxis.dim)):(i.baseAxis=r.getBaseAxis(),i.valueAxis=n.getOtherAxis(i.baseAxis),i.baseDataDim=e.mapDimension(i.baseAxis.dim),i.valueDataDim=e.mapDimension(i.valueAxis.dim)),i}function OW(t,e){return!(t&&t.containData&&e.coord&&!function(t){return!(isNaN(parseFloat(t.x))&&isNaN(parseFloat(t.y)))}(e))||t.containData(e.coord)}function CW(t,e){return t?function(t,n,r,i){return Zf(i<2?t.coord&&t.coord[i]:t.value,e[i])}:function(t,n,r,i){return Zf(t.value,e[i])}}function IW(t,e,n){if("average"===n){var r=0,i=0;return t.each(e,(function(t,e){isNaN(t)||(r+=t,i++)})),r/i}return"median"===n?t.getMedian(e):t.getDataExtent(e)["max"===n?1:0]}var TW=ka(),AW=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return cn(e,t),e.prototype.init=function(){this.markerGroupMap=Object(hn.f)()},e.prototype.render=function(t,e,n){var r=this,i=this.markerGroupMap;i.each((function(t){TW(t).keep=!1})),e.eachSeries((function(t){var i=mW.getMarkerModelFromSeries(t,r.type);i&&r.renderSeries(t,i,e,n)})),i.each((function(t){!TW(t).keep&&r.group.remove(t.group)}))},e.prototype.markKeep=function(t){TW(t).keep=!0},e.prototype.toggleBlurSeries=function(t,e){var n=this;Object(hn.k)(t,(function(t){var r=mW.getMarkerModelFromSeries(t,n.type);r&&r.getData().eachItemGraphicEl((function(t){t&&(e?zu(t):Vu(t))}))}))},e.type="marker",e}(rg),DW=AW;function kW(t,e,n){var r=e.coordinateSystem;t.each((function(i){var o,a=t.getItemModel(i),s=qo(a.get("x"),n.getWidth()),l=qo(a.get("y"),n.getHeight());if(isNaN(s)||isNaN(l)){if(e.getMarkerPosition)o=e.getMarkerPosition(t.getValues(t.dimensions,i));else if(r){var u=t.get(r.dimensions[0],i),c=t.get(r.dimensions[1],i);o=r.dataToPoint([u,c])}}else o=[s,l];isNaN(s)||(o[0]=s),isNaN(l)||(o[1]=l),t.setItemLayout(i,o)}))}var jW=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return cn(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=mW.getMarkerModelFromSeries(t,"markPoint");e&&(kW(e.getData(),t,n),this.markerGroupMap.get(t.id).updateLayout())}),this)},e.prototype.renderSeries=function(t,e,n,r){var i=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new lS),u=function(t,e,n){var r;r=t?Object(hn.H)(t&&t.dimensions,(function(t){var n=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return Object(hn.m)(Object(hn.m)({},n),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var i=new Fw(r,n),o=Object(hn.H)(n.get("data"),Object(hn.h)(SW,e));t&&(o=Object(hn.n)(o,Object(hn.h)(OW,t)));var a=CW(!!t,r);return i.initData(o,null,a),i}(i,t,e);e.setData(u),kW(e.getData(),t,r),u.each((function(t){var n=u.getItemModel(t),r=n.getShallow("symbol"),i=n.getShallow("symbolSize"),o=n.getShallow("symbolRotate"),s=n.getShallow("symbolOffset"),l=n.getShallow("symbolKeepAspect");if(Object(hn.w)(r)||Object(hn.w)(i)||Object(hn.w)(o)||Object(hn.w)(s)){var c=e.getRawValue(t),d=e.getDataParams(t);Object(hn.w)(r)&&(r=r(c,d)),Object(hn.w)(i)&&(i=i(c,d)),Object(hn.w)(o)&&(o=o(c,d)),Object(hn.w)(s)&&(s=s(c,d))}var h=n.getModel("itemStyle").getItemStyle(),f=um(a,"color");h.fill||(h.fill=f),u.setItemVisual(t,{symbol:r,symbolSize:i,symbolRotate:o,symbolOffset:s,symbolKeepAspect:l,style:h})})),l.updateData(u),this.group.add(l.group),u.eachItemGraphicEl((function(t){t.traverse((function(t){ou(t).dataModel=e}))})),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},e.type="markPoint",e}(DW);var EW=jW;var LW=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return cn(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,r){return new e(t,n,r)},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}(mW),NW=LW,PW=ka(),RW=function(t,e,n,r){var i,o=t.getData();if(Object(hn.t)(r))i=r;else{var a=r.type;if("min"===a||"max"===a||"average"===a||"median"===a||null!=r.xAxis||null!=r.yAxis){var s=void 0,l=void 0;if(null!=r.yAxis||null!=r.xAxis)s=e.getAxis(null!=r.yAxis?"y":"x"),l=Object(hn.O)(r.yAxis,r.xAxis);else{var u=MW(r,o,e,t);s=u.valueAxis,l=IW(o,Zw(o,u.valueDataDim),a)}var c="x"===s.dim?0:1,d=1-c,h=Object(hn.d)(r),f={coord:[]};h.type=null,h.coord=[],h.coord[d]=-1/0,f.coord[d]=1/0;var p=n.get("precision");p>=0&&Object(hn.z)(l)&&(l=+l.toFixed(Math.min(p,20))),h.coord[c]=f.coord[c]=l,i=[h,f,{type:a,valueIndex:r.valueIndex,value:l}]}else i=[]}var g=[SW(t,i[0]),SW(t,i[1]),Object(hn.m)({},i[2])];return g[2].type=g[2].type||null,Object(hn.I)(g[2],g[0]),Object(hn.I)(g[2],g[1]),g};function zW(t){return!isNaN(t)&&!isFinite(t)}function VW(t,e,n,r){var i=1-t,o=r.dimensions[t];return zW(e[i])&&zW(n[i])&&e[t]===n[t]&&r.getAxis(o).containData(e[t])}function BW(t,e){if("cartesian2d"===t.type){var n=e[0].coord,r=e[1].coord;if(n&&r&&(VW(1,n,r,t)||VW(0,n,r,t)))return!0}return OW(t,e[0])&&OW(t,e[1])}function FW(t,e,n,r,i){var o,a=r.coordinateSystem,s=t.getItemModel(e),l=qo(s.get("x"),i.getWidth()),u=qo(s.get("y"),i.getHeight());if(isNaN(l)||isNaN(u)){if(r.getMarkerPosition)o=r.getMarkerPosition(t.getValues(t.dimensions,e));else{var c=a.dimensions,d=t.get(c[0],e),h=t.get(c[1],e);o=a.dataToPoint([d,h])}if(OS(a,"cartesian2d")){var f=a.getAxis("x"),p=a.getAxis("y");c=a.dimensions,zW(t.get(c[0],e))?o[0]=f.toGlobalCoord(f.getExtent()[n?0:1]):zW(t.get(c[1],e))&&(o[1]=p.toGlobalCoord(p.getExtent()[n?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];t.setItemLayout(e,o)}var HW=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return cn(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=mW.getMarkerModelFromSeries(t,"markLine");if(e){var r=e.getData(),i=PW(e).from,o=PW(e).to;i.each((function(e){FW(i,e,!0,t,n),FW(o,e,!1,t,n)})),r.each((function(t){r.setItemLayout(t,[i.getItemLayout(t),o.getItemLayout(t)])})),this.markerGroupMap.get(t.id).updateLayout()}}),this)},e.prototype.renderSeries=function(t,e,n,r){var i=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new aj);this.group.add(l.group);var u=function(t,e,n){var r;r=t?Object(hn.H)(t&&t.dimensions,(function(t){var n=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return Object(hn.m)(Object(hn.m)({},n),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var i=new Fw(r,n),o=new Fw(r,n),a=new Fw([],n),s=Object(hn.H)(n.get("data"),Object(hn.h)(RW,e,t,n));t&&(s=Object(hn.n)(s,Object(hn.h)(BW,t)));var l=CW(!!t,r);return i.initData(Object(hn.H)(s,(function(t){return t[0]})),null,l),o.initData(Object(hn.H)(s,(function(t){return t[1]})),null,l),a.initData(Object(hn.H)(s,(function(t){return t[2]}))),a.hasItemOption=!0,{from:i,to:o,line:a}}(i,t,e),c=u.from,d=u.to,h=u.line;PW(e).from=c,PW(e).to=d,e.setData(h);var f=e.get("symbol"),p=e.get("symbolSize"),g=e.get("symbolRotate"),v=e.get("symbolOffset");function y(e,n,i){var o=e.getItemModel(n);FW(e,n,i,t,r);var s=o.getModel("itemStyle").getItemStyle();null==s.fill&&(s.fill=um(a,"color")),e.setItemVisual(n,{symbolKeepAspect:o.get("symbolKeepAspect"),symbolOffset:Object(hn.P)(o.get("symbolOffset",!0),v[i?0:1]),symbolRotate:Object(hn.P)(o.get("symbolRotate",!0),g[i?0:1]),symbolSize:Object(hn.P)(o.get("symbolSize"),p[i?0:1]),symbol:Object(hn.P)(o.get("symbol",!0),f[i?0:1]),style:s})}Object(hn.t)(f)||(f=[f,f]),Object(hn.t)(p)||(p=[p,p]),Object(hn.t)(g)||(g=[g,g]),Object(hn.t)(v)||(v=[v,v]),u.from.each((function(t){y(c,t,!0),y(d,t,!1)})),h.each((function(t){var e=h.getItemModel(t).getModel("lineStyle").getLineStyle();h.setItemLayout(t,[c.getItemLayout(t),d.getItemLayout(t)]),null==e.stroke&&(e.stroke=c.getItemVisual(t,"style").fill),h.setItemVisual(t,{fromSymbolKeepAspect:c.getItemVisual(t,"symbolKeepAspect"),fromSymbolOffset:c.getItemVisual(t,"symbolOffset"),fromSymbolRotate:c.getItemVisual(t,"symbolRotate"),fromSymbolSize:c.getItemVisual(t,"symbolSize"),fromSymbol:c.getItemVisual(t,"symbol"),toSymbolKeepAspect:d.getItemVisual(t,"symbolKeepAspect"),toSymbolOffset:d.getItemVisual(t,"symbolOffset"),toSymbolRotate:d.getItemVisual(t,"symbolRotate"),toSymbolSize:d.getItemVisual(t,"symbolSize"),toSymbol:d.getItemVisual(t,"symbol"),style:e})})),l.updateData(h),u.line.eachItemGraphicEl((function(t,n){t.traverse((function(t){ou(t).dataModel=e}))})),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},e.type="markLine",e}(DW);var WW=HW;var UW=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return cn(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,r){return new e(t,n,r)},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}(mW),GW=UW,YW=ka(),$W=function(t,e,n,r){var i=SW(t,r[0]),o=SW(t,r[1]),a=i.coord,s=o.coord;a[0]=Object(hn.O)(a[0],-1/0),a[1]=Object(hn.O)(a[1],-1/0),s[0]=Object(hn.O)(s[0],1/0),s[1]=Object(hn.O)(s[1],1/0);var l=Object(hn.J)([{},i,o]);return l.coord=[i.coord,o.coord],l.x0=i.x,l.y0=i.y,l.x1=o.x,l.y1=o.y,l};function XW(t){return!isNaN(t)&&!isFinite(t)}function ZW(t,e,n,r){var i=1-t;return XW(e[i])&&XW(n[i])}function qW(t,e){var n=e.coord[0],r=e.coord[1];return!!(OS(t,"cartesian2d")&&n&&r&&(ZW(1,n,r)||ZW(0,n,r)))||OW(t,{coord:n,x:e.x0,y:e.y0})||OW(t,{coord:r,x:e.x1,y:e.y1})}function QW(t,e,n,r,i){var o,a=r.coordinateSystem,s=t.getItemModel(e),l=qo(s.get(n[0]),i.getWidth()),u=qo(s.get(n[1]),i.getHeight());if(isNaN(l)||isNaN(u)){if(r.getMarkerPosition)o=r.getMarkerPosition(t.getValues(n,e));else{var c=t.get(n[0],e),d=t.get(n[1],e),h=[c,d];a.clampData&&a.clampData(h,h),o=a.dataToPoint(h,!0)}if(OS(a,"cartesian2d")){var f=a.getAxis("x"),p=a.getAxis("y");c=t.get(n[0],e),d=t.get(n[1],e),XW(c)?o[0]=f.toGlobalCoord(f.getExtent()["x0"===n[0]?0:1]):XW(d)&&(o[1]=p.toGlobalCoord(p.getExtent()["y0"===n[1]?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];return o}var JW=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],KW=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return cn(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=mW.getMarkerModelFromSeries(t,"markArea");if(e){var r=e.getData();r.each((function(e){var i=Object(hn.H)(JW,(function(i){return QW(r,e,i,t,n)}));r.setItemLayout(e,i),r.getItemGraphicEl(e).setShape("points",i)}))}}),this)},e.prototype.renderSeries=function(t,e,n,r){var i=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,{group:new Wo});this.group.add(l.group),this.markKeep(l);var u=function(t,e,n){var r,i,o=["x0","y0","x1","y1"];if(t){var a=Object(hn.H)(t&&t.dimensions,(function(t){var n=e.getData(),r=n.getDimensionInfo(n.mapDimension(t))||{};return Object(hn.m)(Object(hn.m)({},r),{name:t,ordinalMeta:null})}));i=Object(hn.H)(o,(function(t,e){return{name:t,type:a[e%2].type}})),r=new Fw(i,n)}else r=new Fw(i=[{name:"value",type:"float"}],n);var s=Object(hn.H)(n.get("data"),Object(hn.h)($W,e,t,n));t&&(s=Object(hn.n)(s,Object(hn.h)(qW,t)));var l=t?function(t,e,n,r){return Zf(t.coord[Math.floor(r/2)][r%2],i[r])}:function(t,e,n,r){return Zf(t.value,i[r])};return r.initData(s,null,l),r.hasItemOption=!0,r}(i,t,e);e.setData(u),u.each((function(e){var n=Object(hn.H)(JW,(function(n){return QW(u,e,n,t,r)})),o=i.getAxis("x").scale,s=i.getAxis("y").scale,l=o.getExtent(),c=s.getExtent(),d=[o.parse(u.get("x0",e)),o.parse(u.get("x1",e))],h=[s.parse(u.get("y0",e)),s.parse(u.get("y1",e))];Jo(d),Jo(h);var f=!!(l[0]>d[1]||l[1]h[1]||c[1]=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}(eh),nU=eU,rU=hn.h,iU=hn.k,oU=Wo,aU=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!1,n}return cn(e,t),e.prototype.init=function(){this.group.add(this._contentGroup=new oU),this.group.add(this._selectorGroup=new oU),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 r=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var i=t.get("align"),o=t.get("orient");i&&"auto"!==i||(i="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(i,t,e,n,a,o,s);var l=t.getBoxLayoutParams(),u={width:n.getWidth(),height:n.getHeight()},c=t.get("padding"),d=$d(l,u,c),h=this.layoutInner(t,i,d,r,a,s),f=$d(hn.i({width:h.width,height:h.height},l),u,c);this.group.x=f.x-h.x,this.group.y=f.y-h.y,this.group.markRedraw(),this.group.add(this._backgroundEl=aF(h,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,r,i,o,a){var s=this.getContentGroup(),l=hn.f(),u=e.get("selectedMode"),c=[];n.eachRawSeries((function(t){!t.get("legendHoverLink")&&c.push(t.id)})),iU(e.getData(),(function(i,o){var a=i.get("name");if(!this.newlineDisabled&&(""===a||"\n"===a)){var d=new oU;return d.newline=!0,void s.add(d)}var h=n.getSeriesByName(a)[0];if(!l.get(a))if(h){var f=h.getData(),p=f.getVisual("legendLineStyle")||{},g=f.getVisual("legendIcon"),v=f.getVisual("style");this._createItem(h,a,o,i,e,t,p,v,g,u).on("click",rU(sU,a,null,r,c)).on("mouseover",rU(uU,h.name,null,r,c)).on("mouseout",rU(cU,h.name,null,r,c)),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 d=s.indexOfName(a),h=s.getItemVisual(d,"style"),f=s.getItemVisual(d,"legendIcon"),p=Object(ei.g)(h.fill);p&&0===p[3]&&(p[3]=.2,h=hn.m(hn.m({},h),{fill:Object(ei.h)(p,"rgba")})),this._createItem(n,a,o,i,e,t,{},h,f,u).on("click",rU(sU,null,a,r,c)).on("mouseover",rU(uU,null,a,r,c)).on("mouseout",rU(cU,null,a,r,c)),l.set(a,!0)}}),this)}),this),i&&this._createSelector(i,e,r,o,a)},e.prototype._createSelector=function(t,e,n,r,i){var o=this.getSelectorGroup();iU(t,(function(t){var r=t.type,i=new iu({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===r?"legendAllSelect":"legendInverseSelect"})}});o.add(i),mc(i,{normal:e.getModel("selectorLabel"),emphasis:e.getModel(["emphasis","selectorLabel"])},{defaultText:t.title}),Zu(i)}))},e.prototype._createItem=function(t,e,n,r,i,o,a,s,l,u){var c=t.visualDrawType,d=i.get("itemWidth"),h=i.get("itemHeight"),f=i.isSelected(e),p=r.get("symbolRotate"),g=r.get("symbolKeepAspect"),v=r.get("icon"),y=function(t,e,n,r,i,o){function a(t,e){"auto"===t.lineWidth&&(t.lineWidth=e.lineWidth>0?2:0),iU(t,(function(n,r){"inherit"===t[r]&&(t[r]=e[r])}))}var s=e.getModel("itemStyle").getItemStyle(),l=0===t.lastIndexOf("empty",0)?"fill":"stroke";s.decal=r.decal,"inherit"===s.fill&&(s.fill=r[i]),"inherit"===s.stroke&&(s.stroke=r[l]),"inherit"===s.opacity&&(s.opacity=("fill"===i?r:n).opacity),a(s,r);var u=e.getModel("lineStyle"),c=u.getLineStyle();if(a(c,n),"auto"===s.fill&&(s.fill=r.fill),"auto"===s.stroke&&(s.stroke=r.fill),"auto"===c.stroke&&(c.stroke=r.fill),!o){var d=e.get("inactiveBorderWidth"),h=s[l];s.lineWidth="auto"===d?r.lineWidth>0&&h?2:0:s.lineWidth,s.fill=e.get("inactiveColor"),s.stroke=e.get("inactiveBorderColor"),c.stroke=u.get("inactiveColor"),c.lineWidth=u.get("inactiveWidth")}return{itemStyle:s,lineStyle:c}}(l=v||l||"roundRect",r,a,s,c,f),m=new oU,b=r.getModel("textStyle");if(!hn.w(t.getLegendIcon)||v&&"inherit"!==v){var _="inherit"===v&&t.getData().getVisual("symbol")?"inherit"===p?t.getData().getVisual("symbolRotate"):p:0;m.add(function(t){var e=t.icon||"roundRect",n=Im(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill,t.symbolKeepAspect);return 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),n}({itemWidth:d,itemHeight:h,icon:l,iconRotate:_,itemStyle:y.itemStyle,lineStyle:y.lineStyle,symbolKeepAspect:g}))}else m.add(t.getLegendIcon({itemWidth:d,itemHeight:h,icon:l,iconRotate:p,itemStyle:y.itemStyle,lineStyle:y.lineStyle,symbolKeepAspect:g}));var x="left"===o?d+5:-5,w=o,S=i.get("formatter"),M=e;hn.C(S)&&S?M=S.replace("{name}",null!=e?e:""):hn.w(S)&&(M=S(e));var O=r.get("inactiveColor");m.add(new iu({style:_c(b,{text:M,x:x,y:h/2,fill:f?b.getTextColor():O,align:w,verticalAlign:"middle"})}));var C=new Hl({shape:m.getBoundingRect(),invisible:!0}),I=r.getModel("tooltip");return I.get("show")&&oy({el:C,componentModel:i,itemName:e,itemTooltipOption:I.option}),m.add(C),m.eachChild((function(t){t.silent=!0})),C.silent=!u,this.getContentGroup().add(m),Zu(m),m.__legendDataIndex=n,m},e.prototype.layoutInner=function(t,e,n,r,i,o){var a=this.getContentGroup(),s=this.getSelectorGroup();Yd(t.get("orient"),a,t.get("itemGap"),n.width,n.height);var l=a.getBoundingRect(),u=[-l.x,-l.y];if(s.markRedraw(),a.markRedraw(),i){Yd("horizontal",s,t.get("selectorItemGap",!0));var c=s.getBoundingRect(),d=[-c.x,-c.y],h=t.get("selectorButtonGap",!0),f=t.getOrient().index,p=0===f?"width":"height",g=0===f?"height":"width",v=0===f?"y":"x";"end"===o?d[f]+=l[p]+h:u[f]+=c[p]+h,d[1-f]+=l[g]/2-c[g]/2,s.x=d[0],s.y=d[1],a.x=u[0],a.y=u[1];var y={x:0,y:0};return y[p]=l[p]+h+c[p],y[g]=Math.max(l[g],c[g]),y[v]=Math.min(0,c[v]+d[1-f]),y}return a.x=u[0],a.y=u[1],this.group.getBoundingRect()},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e}(rg);function sU(t,e,n,r){cU(t,e,n,r),n.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),uU(t,e,n,r)}function lU(t){for(var e,n=t.getZr().storage.getDisplayList(),r=0,i=n.length;rn[i],p=[-d.x,-d.y];e||(p[r]=l[s]);var g=[0,0],v=[-h.x,-h.y],y=hn.P(t.get("pageButtonGap",!0),t.get("itemGap",!0));f&&("end"===t.get("pageButtonPosition",!0)?v[r]+=n[i]-h[i]:g[r]+=h[i]+y);v[1-r]+=d[o]/2-h[o]/2,l.setPosition(p),u.setPosition(g),c.setPosition(v);var m={x:0,y:0};if(m[i]=f?n[i]:d[i],m[o]=Math.max(d[o],h[o]),m[a]=Math.min(0,h[a]+v[1-r]),u.__rectSize=n[i],f){var b={x:0,y:0};b[i]=Math.max(n[i]-h[i]-y,0),b[o]=m[o],u.setClipPath(new Hl({shape:b})),u.__rectSize=b[i]}else c.eachChild((function(t){t.attr({invisible:!0,silent:!0})}));var _=this._getPageInfo(t);return null!=_.pageIndex&&lc(l,{x:_.contentPosition[0],y:_.contentPosition[1]},f?t:null),this._updatePageInfoView(t,_),m},e.prototype._pageGo=function(t,e,n){var r=this._getPageInfo(e)[t];null!=r&&n.dispatchAction({type:"legendScroll",scrollDataIndex:r,legendId:e.id})},e.prototype._updatePageInfoView=function(t,e){var n=this._controllerGroup;hn.k(["pagePrev","pageNext"],(function(r){var i=null!=e[r+"DataIndex"],o=n.childOfName(r);o&&(o.setStyle("fill",i?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),o.cursor=i?"pointer":"default")}));var r=n.childOfName("pageText"),i=t.get("pageFormatter"),o=e.pageIndex,a=null!=o?o+1:0,s=e.pageCount;r&&i&&r.setStyle("text",hn.C(i)?i.replace("{current}",null==a?"":a+"").replace("{total}",null==s?"":s+""):i({current:a,total:s}))},e.prototype._getPageInfo=function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),r=this._containerGroup.__rectSize,i=t.getOrient().index,o=bU[i],a=_U[i],s=this._findTargetItemIndex(e),l=n.children(),u=l[s],c=l.length,d=c?1:0,h={contentPosition:[n.x,n.y],pageCount:d,pageIndex:d-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!u)return h;var f=m(u);h.contentPosition[i]=-f.s;for(var p=s+1,g=f,v=f,y=null;p<=c;++p)(!(y=m(l[p]))&&v.e>g.s+r||y&&!b(y,g.s))&&((g=v.i>g.i?v:y)&&(null==h.pageNextDataIndex&&(h.pageNextDataIndex=g.i),++h.pageCount)),v=y;for(p=s-1,g=f,v=f,y=null;p>=-1;--p)(y=m(l[p]))&&b(v,y.s)||!(g.i=e&&t.s<=e+r}},e.prototype._findTargetItemIndex=function(t){return this._showController?(this.getContentGroup().eachChild((function(r,i){var o=r.__legendDataIndex;null==n&&null!=o&&(n=i),o===t&&(e=i)})),null!=e?e:n):0;var e,n},e.type="legend.scroll",e}(dU),wU=xU;function SU(t){d_(pU),t.registerComponentModel(yU),t.registerComponentView(wU),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)}function MU(t){d_(pU),d_(SU)}var OU=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return cn(e,t),e.type="dataZoom.inside",e.defaultOption=Gc(zB.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(zB),CU=OU,IU=ka();function TU(t,e,n){IU(t).coordSysRecordMap.each((function(t){var r=t.dataZoomInfoMap.get(e.uid);r&&(r.getRange=n)}))}function AU(t,e){if(e){t.removeKey(e.model.uid);var n=e.controller;n&&n.dispose()}}function DU(t,e){t.isDisposed()||t.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:e})}function kU(t,e,n,r){return t.coordinateSystem.containPoint([n,r])}function jU(t){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,(function(t,e){var n=IU(e),r=n.coordSysRecordMap||(n.coordSysRecordMap=Object(hn.f)());r.each((function(t){t.dataZoomInfoMap=null})),t.eachComponent({mainType:"dataZoom",subType:"inside"},(function(t){var n=LB(t);Object(hn.k)(n.infoList,(function(n){var i=n.model.uid,o=r.get(i)||r.set(i,function(t,e){var n={model:e,containsPoint:Object(hn.h)(kU,e),dispatchAction:Object(hn.h)(DU,t),dataZoomInfoMap:null,controller:null},r=n.controller=new UI(t.getZr());return Object(hn.k)(["pan","zoom","scrollMove"],(function(t){r.on(t,(function(e){var r=[];n.dataZoomInfoMap.each((function(i){if(e.isAvailableBehavior(i.model.option)){var o=(i.getRange||{})[t],a=o&&o(i.dzReferCoordSysInfo,n.model.mainType,n.controller,e);!i.model.get("disabled",!0)&&a&&r.push({dataZoomId:i.model.id,start:a[0],end:a[1]})}})),r.length&&n.dispatchAction(r)}))})),n}(e,n.model));(o.dataZoomInfoMap||(o.dataZoomInfoMap=Object(hn.f)())).set(t.uid,{dzReferCoordSysInfo:n,model:t,getRange:null})}))})),r.each((function(t){var e,n=t.controller,i=t.dataZoomInfoMap;if(i){var o=i.keys()[0];null!=o&&(e=i.get(o))}if(e){var a=function(t){var e,n="type_",r={type_true:2,type_move:1,type_false:0,type_undefined:-1},i=!0;return t.each((function(t){var o=t.model,a=!o.get("disabled",!0)&&(!o.get("zoomLock",!0)||"move");r[n+a]>r[n+e]&&(e=a),i=i&&o.get("preventDefaultMouseMove",!0)})),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!i}}}(i);n.enable(a.controlType,a.opt),n.setPointerChecker(t.containsPoint),xy(t,"dispatchAction",e.model.get("throttle",!0),"fixRate")}else AU(r,t)}))}))}var EU=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return cn(e,t),e.prototype.render=function(e,n,r){t.prototype.render.apply(this,arguments),e.noTarget()?this._clear():(this.range=e.getPercentRange(),TU(r,e,{pan:Object(hn.c)(LU.pan,this),zoom:Object(hn.c)(LU.zoom,this),scrollMove:Object(hn.c)(LU.scrollMove,this)}))},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){(function(t,e){for(var n=IU(t).coordSysRecordMap,r=n.keys(),i=0;i0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(o[1]-o[0])+o[0],u=Math.max(1/r.scale,0);o[0]=(o[0]-l)*u+l,o[1]=(o[1]-l)*u+l;var c=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return dE(0,o,[0,100],0,c.minSpan,c.maxSpan),this.range=o,i[0]!==o[0]||i[1]!==o[1]?o:void 0}},pan:NU((function(t,e,n,r,i,o){var a=PU[r]([o.oldX,o.oldY],[o.newX,o.newY],e,i,n);return a.signal*(t[1]-t[0])*a.pixel/a.pixelLength})),scrollMove:NU((function(t,e,n,r,i,o){return PU[r]([0,0],[o.scrollDelta,o.scrollDelta],e,i,n).signal*(t[1]-t[0])*o.scrollDelta}))};function NU(t){return function(e,n,r,i){var o=this.range,a=o.slice(),s=e.axisModels[0];if(s)return dE(t(a,s,e,n,r,i),a,[0,100],"all"),this.range=a,o[0]!==a[0]||o[1]!==a[1]?a:void 0}}var PU={grid:function(t,e,n,r,i){var o=n.axis,a={},s=i.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,r,i){var o=n.axis,a={},s=i.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=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=u[1]-u[0],a.pixelStart=u[0],a.signal=o.inverse?-1:1),a},singleAxis:function(t,e,n,r,i){var o=n.axis,a=i.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}},RU=EU;function zU(t){JB(t),t.registerComponentModel(CU),t.registerComponentView(RU),jU(t)}var VU=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return cn(e,t),e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=Gc(zB.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}(zB),BU=VU,FU=Hl,HU="horizontal",WU="vertical",UU=["line","bar","candlestick","scatter"],GU={easing:"cubicOut",duration:100,delay:0},YU=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._displayables={},n}return cn(e,t),e.prototype.init=function(t,e){this.api=e,this._onBrush=Object(hn.c)(this._onBrush,this),this._onBrushEnd=Object(hn.c)(this._onBrushEnd,this)},e.prototype.render=function(e,n,r,i){if(t.prototype.render.apply(this,arguments),xy(this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),!1!==e.get("show")){if(e.noTarget())return this._clear(),void this.group.removeAll();i&&"dataZoom"===i.type&&i.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(){wy(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 Wo;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,r=this._findCoordRect(),i={width:e.getWidth(),height:e.getHeight()},o=this._orient===HU?{right:i.width-r.x-r.width,top:i.height-30-7-n,width:r.width,height:30}:{right:7,top:r.y,width:30,height:r.height},a=Qd(t.option);Object(hn.k)(["right","top","width","height"],(function(t){"ph"===a[t]&&(a[t]=o[t])}));var s=$d(a,i);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],this._orient===WU&&this._size.reverse()},e.prototype._positionGroup=function(){var t=this.group,e=this._location,n=this._orient,r=this.dataZoomModel.getFirstTargetAxisModel(),i=r&&r.get("inverse"),o=this._displayables.sliderGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==HU||i?n===HU&&i?{scaleY:a?1:-1,scaleX:-1}:n!==WU||i?{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,r=t.get("brushSelect");n.add(new FU({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var i=new FU({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:Object(hn.c)(this._onClickPanel,this)}),o=this.api.getZr();r?(i.on("mousedown",this._onBrushStart,this),i.cursor="crosshair",o.on("mousemove",this._onBrush),o.on("mouseup",this._onBrushEnd)):(o.off("mousemove",this._onBrush),o.off("mouseup",this._onBrushEnd)),n.add(i)},e.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],t){var e=this._size,n=this._shadowSize||[],r=t.series,i=r.getRawData(),o=r.getShadowDim?r.getShadowDim():t.otherDim;if(null!=o){var a=this._shadowPolygonPts,s=this._shadowPolylinePts;if(i!==this._shadowData||o!==this._shadowDim||e[0]!==n[0]||e[1]!==n[1]){var l=i.getDataExtent(o),u=.3*(l[1]-l[0]);l=[l[0]-u,l[1]+u];var c,d=[0,e[1]],h=[0,e[0]],f=[[e[0],0],[0,0]],p=[],g=h[1]/(i.count()-1),v=0,y=Math.round(i.count()/e[0]);i.each([o],(function(t,e){if(y>0&&e%y)v+=g;else{var n=null==t||isNaN(t)||""===t,r=n?0:Zo(t,l,d,!0);n&&!c&&e?(f.push([f[f.length-1][0],0]),p.push([p[p.length-1][0],0])):!n&&c&&(f.push([v,0]),p.push([v,0])),f.push([v,r]),p.push([v,r]),v+=g,c=n}})),a=this._shadowPolygonPts=f,s=this._shadowPolylinePts=p}this._shadowData=i,this._shadowDim=o,this._shadowSize=[e[0],e[1]];for(var m=this.dataZoomModel,b=0;b<3;b++){var _=x(1===b);this._displayables.sliderGroup.add(_),this._displayables.dataShadowSegs.push(_)}}}function x(t){var e=m.getModel(t?"selectedDataBackground":"dataBackground"),n=new Wo,r=new Kg({shape:{points:a},segmentIgnoreThreshold:1,style:e.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),i=new nv({shape:{points:s},segmentIgnoreThreshold:1,style:e.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return n.add(r),n.add(i),n}},e.prototype._prepareDataShadowInfo=function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var n,r=this.ecModel;return t.eachTargetAxis((function(i,o){var a=t.getAxisProxy(i,o).getTargetSeriesModels();Object(hn.k)(a,(function(t){if(!(n||!0!==e&&Object(hn.r)(UU,t.get("type"))<0)){var a,s=r.getComponent(jB(i),o).axis,l=function(t){return{x:"y",y:"x",radius:"angle",angle:"radius"}[t]}(i),u=t.coordinateSystem;null!=l&&u.getOtherAxis&&(a=u.getOtherAxis(s).inverse),l=t.getData().mapDimension(l),n={thisAxis:s,series:t,thisDim:i,otherDim:l,otherAxisInverse:a}}}),this)}),this),n}},e.prototype._renderHandle=function(){var t=this.group,e=this._displayables,n=e.handles=[null,null],r=e.handleLabels=[null,null],i=this._displayables.sliderGroup,o=this._size,a=this.dataZoomModel,s=this.api,l=a.get("borderRadius")||0,u=a.get("brushSelect"),c=e.filler=new FU({silent:u,style:{fill:a.get("fillerColor")},textConfig:{position:"inside"}});i.add(c),i.add(new FU({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(hn.k)([0,1],(function(e){var o=a.get("handleIcon");!Mm[o]&&o.indexOf("path://")<0&&o.indexOf("image://")<0&&(o="path://"+o);var s=Im(o,-1,0,2,2,null,!0);s.attr({cursor:$U(this._orient),draggable:!0,drift:Object(hn.c)(this._onDragMove,this,e),ondragend:Object(hn.c)(this._onDragEnd,this),onmouseover:Object(hn.c)(this._showDataInfo,this,!0),onmouseout:Object(hn.c)(this._showDataInfo,this,!1),z2:5});var l=s.getBoundingRect(),u=a.get("handleSize");this._handleHeight=qo(u,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(),Zu(s);var c=a.get("handleColor");null!=c&&(s.style.fill=c),i.add(n[e]=s);var d=a.getModel("textStyle");t.add(r[e]=new iu({silent:!0,invisible:!0,style:_c(d,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:d.getTextColor(),font:d.getFont()}),z2:10}))}),this);var d=c;if(u){var h=qo(a.get("moveHandleSize"),o[1]),f=e.moveHandle=new Hl({style:a.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:o[1]-.5,height:h}}),p=.8*h,g=e.moveHandleIcon=Im(a.get("moveHandleIcon"),-p/2,-p/2,p,p,"#fff",!0);g.silent=!0,g.y=o[1]+h/2-.5,f.ensureState("emphasis").style=a.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var v=Math.min(o[1]/2,Math.max(h,10));(d=e.moveZone=new Hl({invisible:!0,shape:{y:o[1]-v,height:h+v}})).on("mouseover",(function(){s.enterEmphasis(f)})).on("mouseout",(function(){s.leaveEmphasis(f)})),i.add(f),i.add(g),i.add(d)}d.attr({draggable:!0,cursor:$U(this._orient),drift:Object(hn.c)(this._onDragMove,this,"all"),ondragstart:Object(hn.c)(this._showDataInfo,this,!0),ondragend:Object(hn.c)(this._onDragEnd,this),onmouseover:Object(hn.c)(this._showDataInfo,this,!0),onmouseout:Object(hn.c)(this._showDataInfo,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[Zo(t[0],[0,100],e,!0),Zo(t[1],[0,100],e,!0)]},e.prototype._updateInterval=function(t,e){var n=this.dataZoomModel,r=this._handleEnds,i=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];dE(e,r,i,n.get("zoomLock")?"all":t,null!=o.minSpan?Zo(o.minSpan,a,i,!0):null,null!=o.maxSpan?Zo(o.maxSpan,a,i,!0):null);var s=this._range,l=this._range=Jo([Zo(r[0],i,a,!0),Zo(r[1],i,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},e.prototype._updateView=function(t){var e=this._displayables,n=this._handleEnds,r=Jo(n.slice()),i=this._size;Object(hn.k)([0,1],(function(t){var r=e.handles[t],o=this._handleHeight;r.attr({scaleX:o/2,scaleY:o/2,x:n[t]+(t?-1:1),y:i[1]/2-o/2})}),this),e.filler.setShape({x:r[0],y:0,width:r[1]-r[0],height:i[1]});var o={x:r[0],width:r[1]-r[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,r[0],r[1],i[0]],l=0;le[0]||n[1]<0||n[1]>e[1])){var r=this._handleEnds,i=(r[0]+r[1])/2,o=this._updateInterval("all",n[0]-i);this._updateView(),o&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(t){var e=t.offsetX,n=t.offsetY;this._brushStart=new lo(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 r=this._getViewExtent(),i=[0,100];this._range=Jo([Zo(n.x,r,i,!0),Zo(n.x+n.width,r,i,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&(Kn(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},e.prototype._updateBrushRect=function(t,e){var n=this._displayables,r=this.dataZoomModel,i=n.brushRect;i||(i=n.brushRect=new FU({silent:!0,style:r.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(i)),i.attr("ignore",!1);var o=this._brushStart,a=this._displayables.sliderGroup,s=a.transformCoordToLocal(t,e),l=a.transformCoordToLocal(o.x,o.y),u=this._size;s[0]=Math.max(Math.min(u[0],s[0]),0),i.setShape({x:l[0],y:0,width:s[0]-l[0],height:u[1]})},e.prototype._dispatchZoomAction=function(t){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?GU:null,start:e[0],end:e[1]})},e.prototype._findCoordRect=function(){var t,e=LB(this.dataZoomModel).infoList;if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}if(!t){var r=this.api.getWidth(),i=this.api.getHeight();t={x:.2*r,y:.2*i,width:.6*r,height:.6*i}}return t},e.type="dataZoom.slider",e}(HB);function $U(t){return"vertical"===t?"ns-resize":"ew-resize"}var XU=YU;function ZU(t){t.registerComponentModel(BU),t.registerComponentView(XU),JB(t)}var qU={get:function(t,e,n){var r=hn.d((QU[t]||{})[e]);return n&&hn.t(r)?r[r.length-1]:r}},QU={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]}},JU=qU,KU=KD.mapVisual,tG=KD.eachVisual,eG=hn.t,nG=hn.k,rG=Jo,iG=Zo,oG=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 cn(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&IH(n,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},e.prototype.resetVisual=function(t){var e=this.stateList;t=hn.c(t,this),this.controllerVisuals=CH(this.option.controller,e,t),this.targetVisuals=CH(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=ba(t),e},e.prototype.eachTargetSeries=function(t,e){hn.k(this.getTargetSeriesIndices(),(function(n){var r=this.ecModel.getSeriesByIndex(n);r&&t.call(e,r)}),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 r,i=this.option,o=i.precision,a=this.dataBound,s=i.formatter;n=n||["<",">"],hn.t(t)&&(t=t.slice(),r=!0);var l=e?t:r?[u(t[0]),u(t[1])]:u(t);return hn.C(s)?s.replace("{value}",r?l[0]:l).replace("{value2}",r?l[1]:l):hn.w(s)?r?s(t[0],t[1]):s(t):r?t[0]===a[0]?n[0]+" "+l[1]:t[1]===a[1]?n[1]+" "+l[0]:l[0]+" - "+l[1]:l;function u(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=rG([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,r=n.length-1;r>=0;r--){var i=n[r],o=t.getDimensionInfo(i);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},r=e.target||(e.target={}),i=e.controller||(e.controller={});hn.I(r,n),hn.I(i,n);var o=this.isCategory();function a(n){eG(e.color)&&!n.inRange&&(n.inRange={color:e.color.slice().reverse()}),n.inRange=n.inRange||{color:t.get("gradientColor")}}a.call(this,r),a.call(this,i),function(t,e,n){var r=t[e],i=t[n];r&&!i&&(i=t[n]={},nG(r,(function(t,e){if(KD.isValidType(e)){var n=JU.get(e,"inactive",o);null!=n&&(i[e]=n,"color"!==e||i.hasOwnProperty("opacity")||i.hasOwnProperty("colorAlpha")||(i.opacity=[0,0]))}})))}.call(this,r,"inRange","outOfRange"),function(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,n=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,r=this.get("inactiveColor"),i=this.getItemSymbol()||"roundRect";nG(this.stateList,(function(a){var s=this.itemSize,l=t[a];l||(l=t[a]={color:o?r:[r]}),null==l.symbol&&(l.symbol=e&&hn.d(e)||(o?i:[i])),null==l.symbolSize&&(l.symbolSize=n&&hn.d(n)||(o?s[0]:[s[0],s[0]])),l.symbol=KU(l.symbol,(function(t){return"none"===t?i:t}));var u=l.symbolSize;if(null!=u){var c=-1/0;tG(u,(function(t){t>c&&(c=t)})),l.symbolSize=KU(u,(function(t){return iG(t,[0,c],[0,s[0]],!0)}))}}),this)}.call(this,i)},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}(eh),aG=oG,sG=[20,140],lG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return cn(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]=sG[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=sG[1])},e.prototype._resetRange=function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):hn.t(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),hn.k(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=Jo((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]=n[1]||t<=e[1])?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[];return this.eachTargetSeries((function(n){var r=[],i=n.getData();i.each(this.getDataDimensionIndex(i),(function(e,n){t[0]<=e&&e<=t[1]&&r.push(n)}),this),e.push({seriesId:n.id,dataIndex:r})}),this),e},e.prototype.getVisualMeta=function(t){var e=uG(this,"outOfRange",this.getExtent()),n=uG(this,"inRange",this.option.range.slice()),r=[];function i(e,n){r.push({value:e,color:t(e,n)})}for(var o=0,a=0,s=n.length,l=e.length;at[1])break;n.push({color:this.getControllerVisual(o,"color",e),offset:i/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 Wo("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,r=this.visualMapModel,i=n.handleThumbs,o=n.handleLabels,a=r.itemSize,s=r.getExtent();yG([0,1],(function(l){var u=i[l];u.setStyle("fill",e.handlesColor[l]),u.y=t[l];var c=vG(t[l],[0,a[1]],s,!0),d=this.getControllerVisual(c,"symbolSize");u.scaleX=u.scaleY=d/a[0],u.x=a[0]-d/2;var h=Zv(n.handleLabelPoints[l],Xv(u,this.group));o[l].setStyle({x:h[0],y:h[1],text:r.formatValueText(this._dataInterval[l]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",n.mainGroup):"center"})}),this)}},e.prototype._showIndicator=function(t,e,n,r){var i=this.visualMapModel,o=i.getExtent(),a=i.itemSize,s=[0,a[1]],l=this._shapes,u=l.indicator;if(u){u.attr("invisible",!1);var c=this.getControllerVisual(t,"color",{convertOpacityToAlpha:!0}),d=this.getControllerVisual(t,"symbolSize"),h=vG(t,o,s,!0),f=a[0]-d/2,p={x:u.x,y:u.y};u.y=h,u.x=f;var g=Zv(l.indicatorLabelPoint,Xv(u,this.group)),v=l.indicatorLabel;v.attr("invisible",!1);var y=this._applyTransform("left",l.mainGroup),m="horizontal"===this._orient;v.setStyle({text:(n||"")+i.formatValueText(e),verticalAlign:m?y:"middle",align:m?"center":y});var b={x:f,y:h,style:{fill:c}},_={style:{x:g[0],y:g[1]}};if(i.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var x={duration:100,easing:"cubicInOut",additive:!0};u.x=p.x,u.y=p.y,u.animateTo(b,x),v.animateTo(_,x)}else u.attr(b),v.attr(_);this._firstShowIndicator=!1;var w=this._shapes.handleLabels;if(w)for(var S=0;Si[1]&&(u[1]=1/0),e&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",a):u[1]===1/0?this._showIndicator(l,u[0],"> ",a):this._showIndicator(l,l,"≈ ",a));var c=this._hoverLinkDataIndices,d=[];(e||wG(n))&&(d=this._hoverLinkDataIndices=n.findTargetDataIndices(u));var h=function(t,e){var n={},r={};return i(t||[],n),i(e||[],r,n),[o(n),o(r)];function i(t,e,n){for(var r=0,i=t.length;r=0&&(i.dimension=o,r.push(i))}})),t.getData().setVisual("visualMeta",r)}}];function TG(t,e,n,r){for(var i=e.targetVisuals[r],o=KD.prepareVisualTypes(i),a={color:um(t.getData(),"color")},s=0,l=o.length;s0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"})),t.registerAction(OG,CG),Object(hn.k)(IG,(function(e){t.registerVisual(t.PRIORITY.VISUAL.COMPONENT,e)})),t.registerPreprocessor(DG))}function LG(t){t.registerComponentModel(cG),t.registerComponentView(MG),EG(t)}var NG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._pieceList=[],n}return cn(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var r=this._mode=this._determineMode();this._pieceList=[],PG[this._mode].call(this,this._pieceList),this._resetSelected(e,n);var i=this.option.categories;this.resetVisual((function(t,e){"categories"===r?(t.mappingMethod="category",t.categories=hn.d(i)):(t.dataExtent=this.getExtent(),t.mappingMethod="piecewise",t.pieceList=hn.H(this._pieceList,(function(t){return t=hn.d(t),"inRange"!==e&&(t.visual=null),t})))}))},e.prototype.completeVisualOption=function(){var e=this.option,n={},r=KD.listVisualTypes(),i=this.isCategory();function o(t,e,n){return t&&t[e]&&t[e].hasOwnProperty(n)}hn.k(e.pieces,(function(t){hn.k(r,(function(e){t.hasOwnProperty(e)&&(n[e]=1)}))})),hn.k(n,(function(t,n){var r=!1;hn.k(this.stateList,(function(t){r=r||o(e,t,n)||o(e.target,t,n)}),this),!r&&hn.k(this.stateList,(function(t){(e[t]||(e[t]={}))[n]=JU.get(n,"inRange"===t?"active":"inactive",i)}))}),this),t.prototype.completeVisualOption.apply(this,arguments)},e.prototype._resetSelected=function(t,e){var n=this.option,r=this._pieceList,i=(e?n:t).selected||{};if(n.selected=i,hn.k(r,(function(t,e){var n=this.getSelectedMapKey(t);i.hasOwnProperty(n)||(i[n]=!0)}),this),"single"===n.selectedMode){var o=!1;hn.k(r,(function(t,e){var n=this.getSelectedMapKey(t);i[n]&&(o?i[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=hn.d(t)},e.prototype.getValueState=function(t){var e=KD.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(r){var i=[],o=r.getData();o.each(this.getDataDimensionIndex(o),(function(e,r){KD.findPieceIndex(e,n)===t&&i.push(r)}),this),e.push({seriesId:r.id,dataIndex:i})}),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=["",""],r=this,i=this._pieceList.slice();if(i.length){var o=i[0].interval[0];o!==-1/0&&i.unshift({interval:[-1/0,o]}),(o=i[i.length-1].interval[1])!==1/0&&i.push({interval:[o,1/0]})}else i.push({interval:[-1/0,1/0]});var a=-1/0;return hn.k(i,(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(i,o){var a=r.getRepresentValue({interval:i});o||(o=r.getValueState(a));var s=t(a,o);i[0]===-1/0?n[0]=s:i[1]===1/0?n[1]=s:e.push({value:i[0],color:s},{value:i[1],color:s})}},e.type="visualMap.piecewise",e.defaultOption=Gc(aG.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}(aG),PG={splitNumber:function(t){var e=this.option,n=Math.min(e.precision,20),r=this.getExtent(),i=e.splitNumber;i=Math.max(parseInt(i,10),1),e.splitNumber=i;for(var o=(r[1]-r[0])/i;+o.toFixed(n)!==o&&n<5;)n++;e.precision=n,o=+o.toFixed(n),e.minOpen&&t.push({interval:[-1/0,r[0]],close:[0,0]});for(var a=0,s=r[0];a","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,n)}),this)}};function RG(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}var zG=NG,VG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return cn(e,t),e.prototype.doRender=function(){var t=this.group;t.removeAll();var e=this.visualMapModel,n=e.get("textGap"),r=e.textStyleModel,i=r.getFont(),o=r.getTextColor(),a=this._getItemAlign(),s=e.itemSize,l=this._getViewData(),u=l.endsText,c=hn.O(e.get("showLabel",!0),!u);u&&this._renderEndsText(t,u[0],s,c,a),hn.k(l.viewPieceList,(function(r){var l=r.piece,u=new Wo;u.onclick=hn.c(this._onItemClick,this,l),this._enableHoverLink(u,r.indexInModelPieceList);var d=e.getRepresentValue(l);if(this._createItemSymbol(u,d,[0,0,s[0],s[1]]),c){var h=this.visualMapModel.getValueState(d);u.add(new iu({style:{x:"right"===a?-n:s[0]+n,y:s[1]/2,text:l.text,verticalAlign:"middle",align:a,font:i,fill:o,opacity:"outOfRange"===h?.5:1}}))}t.add(u)}),this),u&&this._renderEndsText(t,u[1],s,c,a),Yd(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 r("highlight")})).on("mouseout",(function(){return r("downplay")}));var r=function(t){var r=n.visualMapModel;r.option.hoverLink&&n.api.dispatchAction({type:t,batch:gG(r.findTargetDataIndices(e),r)})}},e.prototype._getItemAlign=function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return pG(t,this.api,t.itemSize);var n=e.align;return n&&"auto"!==n||(n="left"),n},e.prototype._renderEndsText=function(t,e,n,r,i){if(e){var o=new Wo,a=this.visualMapModel.textStyleModel;o.add(new iu({style:_c(a,{x:r?"right"===i?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:r?i:"center",text:e})})),t.add(o)}},e.prototype._getViewData=function(){var t=this.visualMapModel,e=hn.H(t.getPieceList(),(function(t,e){return{piece:t,indexInModelPieceList:e}})),n=t.get("text"),r=t.get("orient"),i=t.get("inverse");return("horizontal"===r?i:!i)?e.reverse():n&&(n=n.slice().reverse()),{viewPieceList:e,endsText:n}},e.prototype._createItemSymbol=function(t,e,n){t.add(Im(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,r=hn.d(n.selected),i=e.getSelectedMapKey(t);"single"===n.selectedMode?(r[i]=!0,hn.k(r,(function(t,e){r[e]=e===i}))):r[i]=!r[i],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:r})},e.type="visualMap.piecewise",e}(hG),BG=VG;function FG(t){t.registerComponentModel(zG),t.registerComponentView(BG),EG(t)}var HG={label:{enabled:!0},decal:{show:!1}},WG=ka(),UG={};function GG(t,e){var n=t.getModel("aria");if(n.get("enabled")){var r=hn.d(HG);hn.I(r.label,t.getLocaleModel().get("aria"),!1),hn.I(n.option,r,!1),function(){if(n.getModel("decal").get("show")){var e=hn.f();t.eachSeries((function(t){if(!t.isColorBySeries()){var n=e.get(t.type);n||(n={},e.set(t.type,n)),WG(t).scope=n}})),t.eachRawSeries((function(e){if(!t.isSeriesFiltered(e))if(hn.w(e.enableAriaDecal))e.enableAriaDecal();else{var n=e.getData();if(e.isColorBySeries()){var r=Dh(e.ecModel,e.name,UG,t.getSeriesCount()),i=n.getVisual("decal");n.setVisual("decal",u(i,r))}else{var o=e.getRawData(),a={},s=WG(e).scope;n.each((function(t){var e=n.getRawIndex(t);a[e]=t}));var l=o.count();o.each((function(t){var r=a[t],i=o.getName(t)||t+"",c=Dh(e.ecModel,i,s,l),d=n.getItemVisual(r,"decal");n.setItemVisual(r,"decal",u(d,c))}))}}function u(t,e){var n=t?hn.m(hn.m({},e),t):e;return n.dirty=!0,n}}))}}(),function(){var r=t.getLocaleModel().get("aria"),a=n.getModel("label");if(a.option=hn.i(a.option,r),a.get("enabled")){var s=e.getZr().dom;if(a.get("description"))s.setAttribute("aria-label",a.get("description"));else{var l,u=t.getSeriesCount(),c=a.get(["data","maxCount"])||10,d=a.get(["series","maxCount"])||10,h=Math.min(u,d);if(!(u<1)){var f=function(){var e=t.get("title");return e&&e.length&&(e=e[0]),e&&e.text}();if(f)l=i(a.get(["general","withTitle"]),{title:f});else l=a.get(["general","withoutTitle"]);var p=[];l+=i(u>1?a.get(["series","multiple","prefix"]):a.get(["series","single","prefix"]),{seriesCount:u}),t.eachSeries((function(t,e){if(e1?a.get(["series","multiple",r]):a.get(["series","single",r]),{seriesId:t.seriesIndex,seriesName:t.get("name"),seriesType:o(t.subType)});var s=t.getData();if(s.count()>c)n+=i(a.get(["data","partialData"]),{displayCnt:c});else n+=a.get(["data","allData"]);for(var l=a.get(["data","separator","middle"]),d=a.get(["data","separator","end"]),f=[],g=0;g":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},XG=function(){function t(t){if(null==(this._condVal=Object(hn.C)(t)?new RegExp(t):Object(hn.B)(t)?t:null)){jh("")}}return t.prototype.evaluate=function(t){var e=typeof t;return Object(hn.C)(e)?this._condVal.test(t):!!Object(hn.z)(e)&&this._condVal.test(t+"")},t}(),ZG=function(){function t(){}return t.prototype.evaluate=function(){return this.value},t}(),qG=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e2&&l.push(e),e=[t,n]}function p(t,n,r,i){uY(t,r)&&uY(n,i)||e.push(t,n,r,i,r,i)}function g(t,n,r,i,o,a){var s=Math.abs(n-t),l=4*Math.tan(s/4)/3,u=nM:I2&&l.push(e),l}function dY(t,e,n,r,i,o,a,s,l,u){if(uY(t,n)&&uY(e,r)&&uY(i,a)&&uY(o,s))l.push(a,s);else{var c=2/u,d=c*c,h=a-t,f=s-e,p=Math.sqrt(h*h+f*f);h/=p,f/=p;var g=n-t,v=r-e,y=i-a,m=o-s,b=g*g+v*v,_=y*y+m*m;if(b=0&&_-w*w=0)l.push(a,s);else{var S=[],M=[];Hr(t,n,i,a,.5,S),Hr(e,r,o,s,.5,M),dY(S[0],M[0],S[1],M[1],S[2],M[2],S[3],M[3],l,u),dY(S[4],M[4],S[5],M[5],S[6],M[6],S[7],M[7],l,u)}}}}function hY(t,e,n){var r=t[e],i=t[1-e],o=Math.abs(r/i),a=Math.ceil(Math.sqrt(o*n)),s=Math.floor(n/a);0===s&&(s=1,a=n);for(var l=[],u=0;u0)for(u=0;uMath.abs(u),d=hY([l,u],c?0:1,e),h=(c?s:u)/d.length,f=0;f1?null:new lo(f*l+t,f*u+e)}function vY(t,e,n){var r=new lo;lo.sub(r,n,e),r.normalize();var i=new lo;return lo.sub(i,t,e),i.dot(r)}function yY(t,e){var n=t[t.length-1];n&&n[0]===e[0]&&n[1]===e[1]||t.push(e)}function mY(t){var e=t.points,n=[],r=[];Es(e,n,r);var i=new bo(n[0],n[1],r[0]-n[0],r[1]-n[1]),o=i.width,a=i.height,s=i.x,l=i.y,u=new lo,c=new lo;return o>a?(u.x=c.x=s+o/2,u.y=l,c.y=l+a):(u.y=c.y=l+a/2,u.x=s,c.x=s+o),function(t,e,n){for(var r=t.length,i=[],o=0;oi,a=hY([r,i],o?0:1,e),s=o?"width":"height",l=o?"height":"width",u=o?"x":"y",c=o?"y":"x",d=t[s]/a.length,h=0;h0)for(var x=r/n,w=-r/2;w<=r/2;w+=x){var S=Math.sin(w),M=Math.cos(w),O=0;for(b=0;b0;l/=2){var u=0,c=0;(t&l)>0&&(u=1),(e&l)>0&&(c=1),s+=l*l*(3*u^c),0===c&&(1===u&&(t=l-1-t,e=l-1-e),a=t,t=e,e=a)}return s}function NY(t){var e=1/0,n=1/0,r=-1/0,i=-1/0,o=Object(hn.H)(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),r=Math.max(s,r),i=Math.max(l,i),[s,l]})),a=Object(hn.H)(o,(function(o,a){return{cp:o,z:LY(o[0],o[1],e,n,r,i),path:t[a]}}));return a.sort((function(t,e){return t.z-e.z})).map((function(t){return t.path}))}function PY(t){return xY(t.path,t.count)}function RY(t){return Object(hn.t)(t[0])}function zY(t,e){for(var n=[],r=t.length,i=0;i=0;i--)if(!n[i].many.length){var l=n[s].many;if(l.length<=1){if(!s)return n;s=0}o=l.length;var u=Math.ceil(o/2);n[i].many=l.slice(u,o),n[s].many=l.slice(0,u),s++}return n}var VY={clone:function(t){for(var e=[],n=1-Math.pow(1-t.path.style.opacity,1/t.count),r=0;r0){var s,l,u=r.getModel("universalTransition").get("delay"),c=Object.assign({setToFinal:!0},a);RY(t)&&(s=t,l=e),RY(e)&&(s=e,l=t);for(var d=s?s===t:t.length>e.length,h=s?zY(l,s):zY(d?e:t,[d?t:e]),f=0,p=0;p1e4))for(var r=n.getIndices(),i=function(t){for(var e=t.dimensions,n=0;n0&&r.group.traverse((function(t){t instanceof Il&&!t.animators.length&&t.animateFrom({style:{opacity:0}},i)}))}))}function ZY(t){return t.getModel("universalTransition").get("seriesKey")||t.id}function qY(t){return Object(hn.t)(t)?t.sort().join(","):t}function QY(t){if(t.hostModel)return t.hostModel.getModel("universalTransition").get("divideShape")}function JY(t,e){for(var n=0;n=0&&i.push({data:e.oldData[n],divide:QY(e.oldData[n]),dim:t.dimension})})),Object(hn.k)(ba(t.to),(function(t){var e=JY(n.updatedSeries,t);if(e>=0){var r=n.updatedSeries[e].getData();o.push({data:r,divide:QY(r),dim:t.dimension})}})),i.length>0&&o.length>0&&XY(i,o,r)}(t,r,n,e)}));else{var o=function(t,e){var n=Object(hn.f)(),r=Object(hn.f)(),i=Object(hn.f)();return Object(hn.k)(t.oldSeries,(function(e,n){var o=t.oldData[n],a=ZY(e),s=qY(a);r.set(s,o),Object(hn.t)(a)&&Object(hn.k)(a,(function(t){i.set(t,{data:o,key:s})}))})),Object(hn.k)(e.updatedSeries,(function(t){if(t.isUniversalTransitionEnabled()&&t.isAnimationEnabled()){var e=t.getData(),o=ZY(t),a=qY(o),s=r.get(a);if(s)n.set(a,{oldSeries:[{divide:QY(s),data:s}],newSeries:[{divide:QY(e),data:e}]});else if(Object(hn.t)(o)){var l=[];Object(hn.k)(o,(function(t){var e=r.get(t);e&&l.push({divide:QY(e),data:e})})),l.length&&n.set(a,{oldSeries:l,newSeries:[{data:e,divide:QY(e)}]})}else{var u=i.get(o);if(u){var c=n.get(u.key);c||(c={oldSeries:[{data:u.data,divide:QY(u.data)}],newSeries:[]},n.set(u.key,c)),c.newSeries.push({data:e,divide:QY(e)})}}}})),n}(r,n);Object(hn.k)(o.keys(),(function(t){var n=o.get(t);XY(n.oldSeries,n.newSeries,e)}))}Object(hn.k)(n.updatedSeries,(function(t){t[Yp]&&(t[Yp]=!1)}))}for(var a=t.getSeries(),s=r.oldSeries=[],l=r.oldData=[],u=0;ut.length)&&(e=t.length);for(var n=0,r=new Array(e);n1?n-1:0),i=1;i0&&(e=!0),{name:t.name,value:t.value,itemStyle:{color:t.color}}}))),e&&(n=n.filter((function(t){return t.value>0}))),{title:{subtext:this.title,left:"center",bottom:"17%"},color:this.color,tooltip:{show:!0},series:[{type:"pie",center:["50%","40%"],radius:"45%",startAngle:[224],label:{position:"outside",color:"#333333",width:80,lineHeight:6,formatter:function(t){return t.name+":"+t.value+"个"},borderWidth:6,borderRadius:4},labelLine:{show:!0,lineStyle:{type:"solid"},length:8,length2:8},data:n}],legend:{left:"right",show:!1,icon:"circle",itemWidth:8,itemHeight:8,itemGap:15,formatter:function(t){return["{name|"+t+"}"]},textStyle:{fontSize:this.fontSize(.12),color:"#333333",rich:{name:{verticalAlign:"center",padding:[3,0,0,0]}}}}}},noData:function(){return Array.isArray(this.chartData)&&0===this.chartData.length}}},w$=N(x$,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("chart",{attrs:{loading:t.loading,options:t.option,autoresize:"","fixed-height":t.height,percentage:t.percentage,"no-data":t.noData}})}),[],!1,null,null,null),S$={name:"ResultsOverview",components:{Heading:$,AnnulusPieChart:w$.exports},props:["dataSource"],data:function(){return{componentText:"",vulnText:"",componentVulnerabilityData:[{value:0,name:"严重",color:"#E00400",key:"1"},{value:0,name:"高危",color:"#FF4D4A",key:"2"},{value:0,name:"中危",color:"#FEAD33",key:"3"},{value:0,name:"低危",color:"#1A78CF",key:"4"},{value:0,name:"无漏洞",color:"#48CD7F",key:"5"}],vulnerabilityStatistics:[{value:0,name:"严重",color:"#e00400",key:"1"},{value:0,name:"高危",color:"#ff4d4a",key:"2"},{value:0,name:"中危",color:"#fead33",key:"3"},{value:0,name:"低危",color:"#1a78cf",key:"4"}],licenseStatistics:[{value:0,name:"高风险",color:"#ff4d4a",key:"highCount"},{value:0,name:"中风险",color:"#fead33",key:"mediumCount"},{value:0,name:"低风险",color:"#1a78cf",key:"lowCount"}]}},methods:{handlerCellStyle:function(t){if(0===t.columnIndex)return{background:"rgba(247,245,249,1)"}}},mounted:function(){var t=this,e=0,n=0;this.componentVulnerabilityData.forEach((function(n){n.value=$e(t.dataSource.statis.component,[n.key],0),e+=n.value})),this.vulnerabilityStatistics.forEach((function(e){e.value=$e(t.dataSource.statis.vuln,[e.key],0),n+=e.value})),this.componentText="组件统计(".concat(e,"个)"),this.vulnText="漏洞统计(".concat(n,"个)")}},M$=N(S$,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"resultsOverview"}},[n("Heading",[t._v("结果概览")]),n("el-row",{staticStyle:{padding:"30px 0 0 0"}},[n("el-col",{attrs:{span:8}},[n("annulus-pie-chart",{attrs:{percentage:"1:0.476",height:280,title:t.componentText,"chart-data":{data:t.componentVulnerabilityData}}})],1),n("el-col",{attrs:{span:8}},[n("annulus-pie-chart",{attrs:{percentage:"1:0.476",height:280,title:t.vulnText,"chart-data":{data:t.vulnerabilityStatistics}}})],1),n("el-col",{attrs:{span:8}},[n("annulus-pie-chart",{attrs:{percentage:"1:0.476",height:280,title:"许可证统计(0个)","chart-data":{data:t.licenseStatistics}}})],1)],1)],1)}),[],!1,null,"c7408d10",null),O$=M$.exports;var C$={name:"DetectionInformation",components:{Heading:$},props:["dataSource"],computed:{tableData:function(){return[this.dataSource.task_info]}},filters:{byteSize:function(t){if(isNaN(t))return"-";var e=Math.floor(Math.log(t)/Math.log(2));e<1&&(e=0);var n=Math.floor(e/10);return(t/=Math.pow(2,10*n)).toString().length>t.toFixed(2).toString().length&&(t=t.toFixed(2)),t+" "+["bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][n]}}},I$=N(C$,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"detectionInformation"}},[n("Heading",[t._v("检测信息")]),n("el-row",{staticStyle:{padding:"30px"}},[n("el-table",{staticStyle:{width:"100%"},attrs:{data:t.tableData,border:"","header-cell-style":{background:"rgba(247,245,249,1)"},"default-sort":{prop:"date",order:"descending"}}},[n("el-table-column",{attrs:{prop:"app_name","min-width":"150",label:"检测目标"}}),n("el-table-column",{attrs:{prop:"name",label:"文件大小","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.row;return[t._v(" "+t._s(t._f("byteSize")(n.size))+" ")]}}])}),n("el-table-column",{attrs:{prop:"start_time",label:"检测时间","min-width":"100"}}),n("el-table-column",{attrs:{prop:"cost_time","min-width":"100",label:"检测时长"},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.row;return[t._v(" "+t._s(n.cost_time.toFixed(1))+"秒 ")]}}])})],1)],1)],1)}),[],!1,null,"4cf7e374",null),T$=I$.exports,A$={name:"Explanation",props:["dataSource"],data:function(){return{tableData:[{key:"工具名称",value:"OpenSCA"},{key:"工具版本", +value:"OpenSCA-cli v1.0.6" +},{key:"工具描述",value:"OpenSCA是SCA技术原理的实现,作为悬镜安全旗下源鉴OSS开源威胁管控产品的开源版本,OpenSCA继承了源鉴OSS的多源SCA开源应用安全缺陷检测等核心能力。用开源的方式做开源风险治理,致力于做软件供应链安全的护航者,守护中国软件供应链安全。"}]}},methods:{handlerCellStyle:function(t){if(0===t.columnIndex)return{background:"rgba(247,245,249,1)"}}}},D$=(n("0f67"),N(A$,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"explanation"}},[n("el-row",{staticClass:"text-center explanation-header",staticStyle:{padding:"140px 0"}},[n("h1",{staticClass:"explanation-header__h1"},[t._v("OpenSCA开源组件检测报告")]),n("p",{staticClass:"explanation-header__p"},[t._v("报告生成时间:"+t._s(t.dataSource.task_info.start_time))])]),n("el-table",{staticStyle:{"max-width":"900px",margin:"0 auto"},attrs:{border:"",data:t.tableData,"show-header":!1,"cell-style":t.handlerCellStyle}},[n("el-table-column",{attrs:{prop:"key",label:"key",width:"180"}}),n("el-table-column",{scopedSlots:t._u([{key:"default",fn:function(e){var n=e.row;return[[t._v(t._s(n.value))]]}}])})],1)],1)}),[],!1,null,"0028eebe",null)),k$=D$.exports,j$={name:"MHeader",props:["dataSource"]},E$=(n("2b78"),N(j$,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("el-header",{attrs:{id:"report-header"}},[r("a",{attrs:{href:"https://opensca.xmirror.cn/",target:"_blank"}},[r("img",{staticStyle:{display:"block"},attrs:{src:n("d9ce"),alt:""}})]),r("div",{staticClass:"report-header__content"},[r("a",{staticClass:"m-r-10",attrs:{href:"https://github.com/XmirrorSecurity/OpenSCA-cli",target:"_blank"}},[r("img",{attrs:{width:"22",src:n("917e")}})]),r("a",{staticClass:"m-r-15",attrs:{href:"https://gitee.com/XmirrorSecurity/OpenSCA-cli",target:"_blank"}},[r("img",{attrs:{width:"22",src:n("1f7a")}})]),r("span",[t._v("用开源的方式做开源风险治理")])])])}),[],!1,null,"7e94242b",null)),L$=E$.exports,N$=n("1831"),P$={components:{MHeader:L$,Explanation:k$,DetectionInformation:T$,ResultsOverview:O$,ListOfDependencies:ln,ReportingStatement:K,Feedback:q,PageFooter:U,MenuItem:R,Menu:F},data:function(){return{active:"#report-header",menus:[{title:"说明",href:"#report-header"},{title:"检测信息",href:"#detectionInformation"},{title:"结果概览",href:"#resultsOverview"},{title:"依赖列表",href:"#listOfDependencies"},{title:"报告声明",href:"#reportingStatement"},{title:"意见反馈",href:"#feedback"}],components:["MHeader","Explanation","DetectionInformation","ResultsOverview","ListOfDependencies","ReportingStatement","Feedback","PageFooter"],reportDataSource:N$}}},R$=(n("eb0e"),N(P$,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-container",{staticStyle:{"max-width":"1300px",margin:"0 auto",position:"relative"}},[n("el-aside",{staticClass:"report-aside",attrs:{width:"200px"}},[n("Menu",{ref:"menu",model:{value:t.active,callback:function(e){t.active=e},expression:"active"}},t._l(t.menus,(function(e){return n("MenuItem",{key:e.href,attrs:{index:e.href}},[t._v(t._s(e.title))])})),1)],1),n("el-main",{staticStyle:{padding:"0",background:"#FFFFFF"},attrs:{id:"report-main-container"}},t._l(t.components,(function(e){return n(e,{key:e,tag:"component",attrs:{menu:t.$refs.menu,dataSource:t.reportDataSource}})})),1),n("el-backtop",{staticStyle:{"border-radius":"20%",color:"#CE237F","box-shadow":"0 0 6px rgb(169 40 141 / 10%)"},attrs:{bottom:70,right:200}},[n("svg",{staticClass:"icon",attrs:{t:"1653181771687",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6188",width:"200",height:"200"}},[n("path",{attrs:{d:"M540.842667 373.077333v566.784a42.666667 42.666667 0 1 1-85.333334 0v-568.32l-337.351111 337.351111a42.666667 42.666667 0 0 1-60.302222-60.302222l409.372444-409.429333a42.666667 42.666667 0 0 1 60.302223 0L936.96 648.533333a42.666667 42.666667 0 0 1-60.302222 60.302223L540.785778 373.134222zM113.777778 128a42.666667 42.666667 0 0 1 0-85.333333h767.260444a42.666667 42.666667 0 0 1 0 85.333333H113.777778z","p-id":"6189"}})])])],1)}),[],!1,null,"1855d925",null)),z$=R$.exports;n("e612"),[k.a,A.a,I.a,O.a,S.a,x.a,b.a,y.a,g.a,f.a,d.a,u.a,s.a,o.a].forEach((function(t){j.default.use(t)})),j.default.config.productionTip=!1,new j.default({render:function(t){return t(z$)}}).$mount("#app")},"56ef":function(t,e,n){var r=n("d066"),i=n("e330"),o=n("241c"),a=n("7418"),s=n("825a"),l=i([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(s(t)),n=a.f;return n?l(e,n(t)):e}},"577e":function(t,e,n){var r=n("da84"),i=n("f5df"),o=r.String;t.exports=function(t){if("Symbol"===i(t))throw TypeError("Cannot convert a Symbol value to a string");return o(t)}},"57b9":function(t,e,n){var r=n("c65b"),i=n("d066"),o=n("b622"),a=n("cb2d");t.exports=function(){var t=i("Symbol"),e=t&&t.prototype,n=e&&e.valueOf,s=o("toPrimitive");e&&!e[s]&&a(e,s,(function(t){return r(n,this)}),{arity:1})}},"583b":function(t,e,n){var r=n("23e7"),i=n("eac5"),o=Math.abs;r({target:"Number",stat:!0},{isSafeInteger:function(t){return i(t)&&o(t)<=9007199254740991}})},5899:function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},"58a8":function(t,e,n){var r=n("e330"),i=n("1d80"),o=n("577e"),a=n("5899"),s=r("".replace),l="["+a+"]",u=RegExp("^"+l+l+"*"),c=RegExp(l+l+"*$"),d=function(t){return function(e){var n=o(i(e));return 1&t&&(n=s(n,u,"")),2&t&&(n=s(n,c,"")),n}};t.exports={start:d(1),end:d(2),trim:d(3)}},5924: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 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};e.hasClass=h,e.addClass=function(t,e){if(t){for(var n=t.className,r=(e||"").split(" "),i=0,o=r.length;i-1}e.once=function(t,e,n){c(t,e,(function r(){n&&n.apply(this,arguments),d(t,e,r)}))};var f=e.getStyle=l<9?function(t,e){if(!o){if(!t||!e)return null;"float"===(e=u(e))&&(e="styleFloat");try{if("opacity"===e)try{return t.filters.item("alpha").opacity/100}catch(t){return 1}return t.style[e]||t.currentStyle?t.currentStyle[e]:null}catch(n){return t.style[e]}}}:function(t,e){if(!o){if(!t||!e)return null;"float"===(e=u(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 p=e.isScroll=function(t,e){if(!o)return f(t,null!=e?e?"overflow-y":"overflow-x":"overflow").match(/(scroll|auto|overlay)/)};e.getScrollContainer=function(t,e){if(!o){for(var n=t;n;){if([window,document,document.documentElement].includes(n))return window;if(p(n,e))return n;n=n.parentNode}return n}},e.isInContainer=function(t,e){if(o||!t||!e)return!1;var n,r=t.getBoundingClientRect();return n=[window,document,document.documentElement,null,void 0].includes(e)?{top:0,right:window.innerWidth,bottom:window.innerHeight,left:0}:e.getBoundingClientRect(),r.topn.top&&r.right>n.left&&r.left0?r:n)(e)}},"597f":function(t,e){t.exports=function(t,e,n,r){var i,o=0;return"boolean"!=typeof e&&(r=n,n=e,e=void 0),function(){var a=this,s=Number(new Date)-o,l=arguments;function u(){o=Number(new Date),n.apply(a,l)}function c(){i=void 0}r&&!i&&u(),i&&clearTimeout(i),void 0===r&&s>t?u():!0!==e&&(i=setTimeout(r?c:u,void 0===r?t-s:t))}}},"59ed":function(t,e,n){var r=n("da84"),i=n("1626"),o=n("0d51"),a=r.TypeError;t.exports=function(t){if(i(t))return t;throw a(o(t)+" is not a function")}},"5a34":function(t,e,n){var r=n("da84"),i=n("44e7"),o=r.TypeError;t.exports=function(t){if(i(t))throw o("The method doesn't accept regular expressions");return t}},"5a47":function(t,e,n){var r=n("23e7"),i=n("4930"),o=n("d039"),a=n("7418"),s=n("7b0b");r({target:"Object",stat:!0,forced:!i||o((function(){a.f(1)}))},{getOwnPropertySymbols:function(t){var e=a.f;return e?e(s(t)):[]}})},"5b81":function(t,e,n){"use strict";var r=n("23e7"),i=n("da84"),o=n("c65b"),a=n("e330"),s=n("1d80"),l=n("1626"),u=n("44e7"),c=n("577e"),d=n("dc4a"),h=n("90d8"),f=n("0cb2"),p=n("b622"),g=n("c430"),v=p("replace"),y=i.TypeError,m=a("".indexOf),b=a("".replace),_=a("".slice),x=Math.max,w=function(t,e,n){return n>t.length?-1:""===e?n:m(t,e,n)};r({target:"String",proto:!0},{replaceAll:function(t,e){var n,r,i,a,p,S,M,O,C,I=s(this),T=0,A=0,D="";if(null!=t){if((n=u(t))&&(r=c(s(h(t))),!~m(r,"g")))throw y("`.replaceAll` does not allow non-global regexes");if(i=d(t,v))return o(i,t,I,e);if(g&&n)return b(c(I),t,e)}for(a=c(I),p=c(t),(S=l(e))||(e=c(e)),M=p.length,O=x(1,M),T=w(a,p,0);-1!==T;)C=S?c(e(p,T,a)):f(p,a,T,[],void 0,e),D+=_(a,A,T)+C,A=T+M,T=w(a,p,T+O);return A1?arguments[1]:void 0),e}})},"5ded":function(t,e,n){"use strict";var r=n("23e7"),i=n("da84"),o=n("d039"),a=n("68ee"),s=n("8418"),l=i.Array,u=o((function(){function t(){}return!(l.of.call(t)instanceof t)}));r({target:"Array",stat:!0,forced:u},{of:function(){for(var t=0,e=arguments.length,n=new(a(this)?this:l)(e);e>t;)s(n,t,arguments[t++]);return n.length=e,n}})},"5e77":function(t,e,n){var r=n("83ab"),i=n("1a2d"),o=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=i(o,"name"),l=s&&"something"===function(){}.name,u=s&&(!r||r&&a(o,"name").configurable);t.exports={EXISTS:s,PROPER:l,CONFIGURABLE:u}},"5e7e":function(t,e,n){"use strict";var r,i,o,a=n("23e7"),s=n("c430"),l=n("605d"),u=n("da84"),c=n("c65b"),d=n("cb2d"),h=n("d2bb"),f=n("d44e"),p=n("2626"),g=n("59ed"),v=n("1626"),y=n("861d"),m=n("19aa"),b=n("4840"),_=n("2cf4").set,x=n("b575"),w=n("44de"),S=n("e667"),M=n("01b4"),O=n("69f3"),C=n("d256"),I=n("4738"),T=n("f069"),A="Promise",D=I.CONSTRUCTOR,k=I.REJECTION_EVENT,j=I.SUBCLASSING,E=O.getterFor(A),L=O.set,N=C&&C.prototype,P=C,R=N,z=u.TypeError,V=u.document,B=u.process,F=T.f,H=F,W=!!(V&&V.createEvent&&u.dispatchEvent),U="unhandledrejection",G=function(t){var e;return!(!y(t)||!v(e=t.then))&&e},Y=function(t,e){var n,r,i,o=e.value,a=1==e.state,s=a?t.ok:t.fail,l=t.resolve,u=t.reject,d=t.domain;try{s?(a||(2===e.rejection&&Q(e),e.rejection=1),!0===s?n=o:(d&&d.enter(),n=s(o),d&&(d.exit(),i=!0)),n===t.promise?u(z("Promise-chain cycle")):(r=G(n))?c(r,n,l,u):l(n)):u(o)}catch(t){d&&!i&&d.exit(),u(t)}},$=function(t,e){t.notified||(t.notified=!0,x((function(){for(var n,r=t.reactions;n=r.get();)Y(n,t);t.notified=!1,e&&!t.rejection&&Z(t)})))},X=function(t,e,n){var r,i;W?((r=V.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),u.dispatchEvent(r)):r={promise:e,reason:n},!k&&(i=u["on"+t])?i(r):t===U&&w("Unhandled promise rejection",n)},Z=function(t){c(_,u,(function(){var e,n=t.facade,r=t.value;if(q(t)&&(e=S((function(){l?B.emit("unhandledRejection",r,n):X(U,n,r)})),t.rejection=l||q(t)?2:1,e.error))throw e.value}))},q=function(t){return 1!==t.rejection&&!t.parent},Q=function(t){c(_,u,(function(){var e=t.facade;l?B.emit("rejectionHandled",e):X("rejectionhandled",e,t.value)}))},J=function(t,e,n){return function(r){t(e,r,n)}},K=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,$(t,!0))},tt=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw z("Promise can't be resolved itself");var r=G(e);r?x((function(){var n={done:!1};try{c(r,e,J(tt,n,t),J(K,n,t))}catch(e){K(n,e,t)}})):(t.value=e,t.state=1,$(t,!1))}catch(e){K({done:!1},e,t)}}};if(D&&(P=function(t){m(this,R),g(t),c(r,this);var e=E(this);try{t(J(tt,e),J(K,e))}catch(t){K(e,t)}},R=P.prototype,(r=function(t){L(this,{type:A,done:!1,notified:!1,parent:!1,reactions:new M,rejection:!1,state:0,value:void 0})}).prototype=d(R,"then",(function(t,e){var n=E(this),r=F(b(this,P));return n.parent=!0,r.ok=!v(t)||t,r.fail=v(e)&&e,r.domain=l?B.domain:void 0,0==n.state?n.reactions.add(r):x((function(){Y(r,n)})),r.promise})),i=function(){var t=new r,e=E(t);this.promise=t,this.resolve=J(tt,e),this.reject=J(K,e)},T.f=F=function(t){return t===P||undefined===t?new i(t):H(t)},!s&&v(C)&&N!==Object.prototype)){o=N.then,j||d(N,"then",(function(t,e){var n=this;return new P((function(t,e){c(o,n,t,e)})).then(t,e)}),{unsafe:!0});try{delete N.constructor}catch(t){}h&&h(N,R)}a({global:!0,constructor:!0,wrap:!0,forced:D},{Promise:P}),f(P,A,!1,!0),p(A)},"5ea3":function(t,e,n){"use strict";(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.a=n}).call(this,n("c8ba"))},"5eed":function(t,e,n){var r=n("d256"),i=n("1c7e"),o=n("4738").CONSTRUCTOR;t.exports=o||!i((function(t){r.all(t).then(void 0,(function(){}))}))},"5f96":function(t,e,n){"use strict";var r=n("ebb5"),i=n("e330"),o=r.aTypedArray,a=r.exportTypedArrayMethod,s=i([].join);a("join",(function(t){return s(o(this),t)}))},"5fb2":function(t,e,n){"use strict";var r=n("da84"),i=n("e330"),o=2147483647,a=/[^\0-\u007E]/,s=/[.\u3002\uFF0E\uFF61]/g,l="Overflow: input needs wider integers to process",u=r.RangeError,c=i(s.exec),d=Math.floor,h=String.fromCharCode,f=i("".charCodeAt),p=i([].join),g=i([].push),v=i("".replace),y=i("".split),m=i("".toLowerCase),b=function(t){for(var e=[],n=0,r=t.length;n=55296&&i<=56319&&n>1,t+=d(t/e);t>455;)t=d(t/35),r+=36;return d(r+36*t/(t+38))},w=function(t){var e,n,r=[],i=(t=b(t)).length,a=128,s=0,c=72;for(e=0;e=a&&nd((o-s)/m))throw u(l);for(s+=(y-a)*m,a=y,e=0;eo)throw u(l);if(n==a){for(var w=s,S=36;;){var M=S<=c?1:S>=c+26?26:S-c;if(wa;)for(var g,v=d(arguments[a++]),y=h?p(s(v),h(v)):s(v),m=y.length,b=0;m>b;)g=y[b++],r&&!o(f,v,g)||(n[g]=v[g]);return n}:h},6167:function(t,e,n){"use strict";var r,i;"function"==typeof Symbol&&Symbol.iterator,r=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,r){this._reference=t.jquery?t[0]:t,this.state={};var i=null==n,o=n&&"[object Object]"===Object.prototype.toString.call(n);return this._popper=i||o?this.parse(o?n:{}):n.jquery?n[0]:n,this._options=Object.assign({},e,r),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),d(this._popper,{position:this.state.position,top:0}),this.update(),this._setupEventListeners(),this}function r(e){var n=e.style.display,r=e.style.visibility;e.style.display="block",e.style.visibility="hidden",e.offsetWidth;var i=t.getComputedStyle(e),o=parseFloat(i.marginTop)+parseFloat(i.marginBottom),a=parseFloat(i.marginLeft)+parseFloat(i.marginRight),s={width:e.offsetWidth+a,height:e.offsetHeight+o};return e.style.display=n,e.style.visibility=r,s}function i(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,r=0;for(n in t){if(t[n]===e)return r;r++}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 u(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:u(e.parentNode):e}function c(e){return e!==t.document.body&&("fixed"===s(e,"position")||(e.parentNode?c(e.parentNode):e))}function d(t,e){function n(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}Object.keys(e).forEach((function(r){var i="";-1!==["width","height","top","right","bottom","left"].indexOf(r)&&n(e[r])&&(i="px"),t.style[r]=e[r]+i}))}function h(t){return t&&"[object Function]"==={}.toString.call(t)}function f(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 p(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 g(t,e,n){var r=p(t),i=p(e);if(n){var o=u(e);i.top+=o.scrollTop,i.bottom+=o.scrollTop,i.left+=o.scrollLeft,i.right+=o.scrollLeft}return{top:r.top-i.top,left:r.left-i.left,bottom:r.top-i.top+r.height,right:r.left-i.left+r.width,width:r.width,height:r.height}}function v(e){for(var n=["","ms","webkit","moz","o"],r=0;r1&&a instanceof Element==0&&(a=a[0]),a.appendChild(i),i;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(t,e){var n=l(e);return this._options.forceAbsolute?"absolute":c(e,n)?"fixed":"absolute"},n.prototype._getOffsets=function(t,e,n){n=n.split("-")[0];var i={};i.position=this.state.position;var o="fixed"===i.position,a=g(e,l(t),o),s=r(t);return-1!==["right","left"].indexOf(n)?(i.top=a.top+a.height/2-s.height/2,i.left="left"===n?a.left-s.width:a.right):(i.left=a.left+a.width/2-s.width/2,i.top="top"===n?a.top-s.height:a.bottom),i.width=s.width,i.height=s.height,{popper:i,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=u(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,r){var i,o={};if("window"===r){var a=t.document.body,s=t.document.documentElement;i=Math.max(a.scrollHeight,a.offsetHeight,s.clientHeight,s.scrollHeight,s.offsetHeight),o={top:0,right:Math.max(a.scrollWidth,a.offsetWidth,s.clientWidth,s.scrollWidth,s.offsetWidth),bottom:i,left:0}}else if("viewport"===r){var c=l(this._popper),d=u(this._popper),h=f(c),p=function(t){return t==document.body?Math.max(document.documentElement.scrollTop,document.body.scrollTop):t.scrollTop},g=function(t){return t==document.body?Math.max(document.documentElement.scrollLeft,document.body.scrollLeft):t.scrollLeft},v="fixed"===e.offsets.popper.position?0:p(d),y="fixed"===e.offsets.popper.position?0:g(d);o={top:0-(h.top-v),right:t.document.documentElement.clientWidth-(h.left-y),bottom:t.document.documentElement.clientHeight-(h.top-v),left:0-(h.left-y)}}else o=l(this._popper)===r?{top:0,left:0,right:r.clientWidth,bottom:r.clientHeight}:f(r);return o.left+=n,o.right-=n,o.top=o.top+n,o.bottom=o.bottom-n,o},n.prototype.runModifiers=function(t,e,n){var r=e.slice();return void 0!==n&&(r=this._options.modifiers.slice(0,a(this._options.modifiers,n))),r.forEach(function(e){h(e)&&(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},r=Math.round(t.offsets.popper.left),i=Math.round(t.offsets.popper.top);return this._options.gpuAcceleration&&(e=v("transform"))?(n[e]="translate3d("+r+"px, "+i+"px, 0)",n.top=0,n.left=0):(n.left=r,n.top=i),Object.assign(n,t.styles),d(this._popper,n),this._popper.setAttribute("x-placement",t.placement),this.isModifierRequired(this.modifiers.applyStyle,this.modifiers.arrow)&&t.offsets.arrow&&d(t.arrowElement,t.offsets.arrow),t},n.prototype.modifiers.shift=function(t){var e=t.placement,n=e.split("-")[0],r=e.split("-")[1];if(r){var i=t.offsets.reference,a=o(t.offsets.popper),s={y:{start:{top:i.top},end:{top:i.top+i.height-a.height}},x:{start:{left:i.left},end:{left:i.left+i.width-a.width}}},l=-1!==["bottom","top"].indexOf(n)?"x":"y";t.offsets.popper=Object.assign(a,s[l][r])}return t},n.prototype.modifiers.preventOverflow=function(t){var e=this._options.preventOverflowOrder,n=o(t.offsets.popper),r={left:function(){var e=n.left;return n.leftt.boundaries.right&&(e=Math.min(n.left,t.boundaries.right-n.width)),{left:e}},top:function(){var e=n.top;return n.topt.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,r[e]())})),t},n.prototype.modifiers.keepTogether=function(t){var e=o(t.offsets.popper),n=t.offsets.reference,r=Math.floor;return e.rightr(n.right)&&(t.offsets.popper.left=r(n.right)),e.bottomr(n.bottom)&&(t.offsets.popper.top=r(n.bottom)),t},n.prototype.modifiers.flip=function(t){if(!this.isModifierRequired(this.modifiers.flip,this.modifiers.preventOverflow))return t;if(t.flipped&&t.placement===t._originalPlacement)return t;var e=t.placement.split("-")[0],n=i(e),r=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=i(e);var u=o(t.offsets.popper),c=-1!==["right","bottom"].indexOf(e);(c&&Math.floor(t.offsets.reference[e])>Math.floor(u[n])||!c&&Math.floor(t.offsets.reference[e])s[f]&&(t.offsets.popper[d]+=l[d]+p-s[f]);var g=l[d]+(n||l[c]/2-p/2)-s[d];return g=Math.max(Math.min(s[c]-p-8,g),8),i[d]=g,i[h]="",t.offsets.arrow=i,t.arrowElement=e,t},Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:function(t){if(null==t)throw new TypeError("Cannot convert first argument to object");for(var e=Object(t),n=1;n>8&255]},Y=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},$=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},X=function(t){return H(t,23,4)},Z=function(t){return H(t,52,8)},q=function(t,e){b(t[D],e,{get:function(){return C(this)[e]}})},Q=function(t,e,n,r){var i=p(n),o=C(t);if(i+e>o.byteLength)throw V(k);var a=C(o.buffer).bytes,s=i+o.byteOffset,l=x(a,s,s+e);return r?l:F(l)},J=function(t,e,n,r,i,o){var a=p(n),s=C(t);if(a+e>s.byteLength)throw V(k);for(var l=C(s.buffer).bytes,u=a+s.byteOffset,c=r(+i),d=0;dnt;)(tt=et[nt++])in E||l(E,tt,j[tt]);L.constructor=E}y&&v(P)!==R&&y(P,R);var rt=new N(new E(2)),it=i(P.setInt8);rt.setInt8(0,2147483648),rt.setInt8(1,2147483649),!rt.getInt8(0)&&rt.getInt8(1)||u(P,{setInt8:function(t,e){it(this,t,e<<24>>24)},setUint8:function(t,e){it(this,t,e<<24>>24)}},{unsafe:!0})}else E=function(t){d(this,L);var e=p(t);I(this,{bytes:B(z(e),0),byteLength:e}),o||(this.byteLength=e)},L=E[D],N=function(t,e,n){d(this,P),d(t,L);var r=C(t).byteLength,i=h(e);if(i<0||i>r)throw V("Wrong offset");if(i+(n=void 0===n?r-i:f(n))>r)throw V("Wrong length");I(this,{buffer:t,byteLength:n,byteOffset:i}),o||(this.buffer=t,this.byteLength=n,this.byteOffset=i)},P=N[D],o&&(q(E,"byteLength"),q(N,"buffer"),q(N,"byteLength"),q(N,"byteOffset")),u(P,{getInt8:function(t){return Q(this,1,t)[0]<<24>>24},getUint8:function(t){return Q(this,1,t)[0]},getInt16:function(t){var e=Q(this,2,t,arguments.length>1?arguments[1]:void 0);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=Q(this,2,t,arguments.length>1?arguments[1]:void 0);return e[1]<<8|e[0]},getInt32:function(t){return $(Q(this,4,t,arguments.length>1?arguments[1]:void 0))},getUint32:function(t){return $(Q(this,4,t,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(t){return W(Q(this,4,t,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(t){return W(Q(this,8,t,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(t,e){J(this,1,t,U,e)},setUint8:function(t,e){J(this,1,t,U,e)},setInt16:function(t,e){J(this,2,t,G,e,arguments.length>2?arguments[2]:void 0)},setUint16:function(t,e){J(this,2,t,G,e,arguments.length>2?arguments[2]:void 0)},setInt32:function(t,e){J(this,4,t,Y,e,arguments.length>2?arguments[2]:void 0)},setUint32:function(t,e){J(this,4,t,Y,e,arguments.length>2?arguments[2]:void 0)},setFloat32:function(t,e){J(this,4,t,X,e,arguments.length>2?arguments[2]:void 0)},setFloat64:function(t,e){J(this,8,t,Z,e,arguments.length>2?arguments[2]:void 0)}});w(E,T),w(N,A),t.exports={ArrayBuffer:E,DataView:N}},"649e":function(t,e,n){"use strict";var r=n("ebb5"),i=n("b727").some,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("some",(function(t){return i(o(this),t,arguments.length>1?arguments[1]:void 0)}))},"64e5":function(t,e,n){"use strict";var r=n("da84"),i=n("e330"),o=n("d039"),a=n("0ccb").start,s=r.RangeError,l=Math.abs,u=Date.prototype,c=u.toISOString,d=i(u.getTime),h=i(u.getUTCDate),f=i(u.getUTCFullYear),p=i(u.getUTCHours),g=i(u.getUTCMilliseconds),v=i(u.getUTCMinutes),y=i(u.getUTCMonth),m=i(u.getUTCSeconds);t.exports=o((function(){return"0385-07-25T07:06:39.999Z"!=c.call(new Date(-50000000000001))}))||!o((function(){c.call(new Date(NaN))}))?function(){if(!isFinite(d(this)))throw s("Invalid time value");var t=this,e=f(t),n=g(t),r=e<0?"-":e>9999?"+":"";return r+a(l(e),r?6:4,0)+"-"+a(y(t)+1,2,0)+"-"+a(h(t),2,0)+"T"+a(p(t),2,0)+":"+a(v(t),2,0)+":"+a(m(t),2,0)+"."+a(n,3,0)+"Z"}:c},6547:function(t,e,n){var r=n("e330"),i=n("5926"),o=n("577e"),a=n("1d80"),s=r("".charAt),l=r("".charCodeAt),u=r("".slice),c=function(t){return function(e,n){var r,c,d=o(a(e)),h=i(n),f=d.length;return h<0||h>=f?t?"":void 0:(r=l(d,h))<55296||r>56319||h+1===f||(c=l(d,h+1))<56320||c>57343?t?s(d,h):r:t?u(d,h,h+2):c-56320+(r-55296<<10)+65536}};t.exports={codeAt:c(!1),charAt:c(!0)}},6566:function(t,e,n){"use strict";var r=n("9bf2").f,i=n("7c73"),o=n("6964"),a=n("0366"),s=n("19aa"),l=n("2266"),u=n("7dd0"),c=n("2626"),d=n("83ab"),h=n("f183").fastKey,f=n("69f3"),p=f.set,g=f.getterFor;t.exports={getConstructor:function(t,e,n,u){var c=t((function(t,r){s(t,f),p(t,{type:e,index:i(null),first:void 0,last:void 0,size:0}),d||(t.size=0),null!=r&&l(r,t[u],{that:t,AS_ENTRIES:n})})),f=c.prototype,v=g(e),y=function(t,e,n){var r,i,o=v(t),a=m(t,e);return a?a.value=n:(o.last=a={index:i=h(e,!0),key:e,value:n,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=a),r&&(r.next=a),d?o.size++:t.size++,"F"!==i&&(o.index[i]=a)),t},m=function(t,e){var n,r=v(t),i=h(e);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==e)return n};return o(f,{clear:function(){for(var t=v(this),e=t.index,n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete e[n.index],n=n.next;t.first=t.last=void 0,d?t.size=0:this.size=0},delete:function(t){var e=this,n=v(e),r=m(e,t);if(r){var i=r.next,o=r.previous;delete n.index[r.index],r.removed=!0,o&&(o.next=i),i&&(i.previous=o),n.first==r&&(n.first=i),n.last==r&&(n.last=o),d?n.size--:e.size--}return!!r},forEach:function(t){for(var e,n=v(this),r=a(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:n.first;)for(r(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!m(this,t)}}),o(f,n?{get:function(t){var e=m(this,t);return e&&e.value},set:function(t,e){return y(this,0===t?0:t,e)}}:{add:function(t){return y(this,t=0===t?0:t,t)}}),d&&r(f,"size",{get:function(){return v(this).size}}),c},setStrong:function(t,e,n){var r=e+" Iterator",i=g(e),o=g(r);u(t,e,(function(t,e){p(this,{type:r,target:t,state:i(t),kind:e,last:void 0})}),(function(){for(var t=o(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),c(e)}}},"65f0":function(t,e,n){var r=n("0b42");t.exports=function(t,e){return new(r(t))(0===e?0:e)}},"67b6":function(t,e,n){"use strict";var r=n("58a8").start,i=n("c8d2");t.exports=i("trimStart")?function(){return r(this)}:"".trimStart},"68ee":function(t,e,n){var r=n("e330"),i=n("d039"),o=n("1626"),a=n("f5df"),s=n("d066"),l=n("8925"),u=function(){},c=[],d=s("Reflect","construct"),h=/^\s*(?:class|function)\b/,f=r(h.exec),p=!h.exec(u),g=function(t){if(!o(t))return!1;try{return d(u,c,t),!0}catch(t){return!1}},v=function(t){if(!o(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!f(h,l(t))}catch(t){return!0}};v.sham=!0,t.exports=!d||i((function(){var t;return g(g.call)||!g(Object)||!g((function(){t=!0}))||t}))?v:g},6964:function(t,e,n){var r=n("cb2d");t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},"69f3":function(t,e,n){var r,i,o,a=n("7f9a"),s=n("da84"),l=n("e330"),u=n("861d"),c=n("9112"),d=n("1a2d"),h=n("c6cd"),f=n("f772"),p=n("d012"),g="Object already initialized",v=s.TypeError,y=s.WeakMap;if(a||h.state){var m=h.state||(h.state=new y),b=l(m.get),_=l(m.has),x=l(m.set);r=function(t,e){if(_(m,t))throw new v(g);return e.facade=t,x(m,t,e),e},i=function(t){return b(m,t)||{}},o=function(t){return _(m,t)}}else{var w=f("state");p[w]=!0,r=function(t,e){if(d(t,w))throw new v(g);return e.facade=t,c(t,w,e),e},i=function(t){return d(t,w)?t[w]:{}},o=function(t){return d(t,w)}}t.exports={set:r,get:i,has:o,enforce:function(t){return o(t)?i(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!u(e)||(n=i(e)).type!==t)throw v("Incompatible receiver, "+t+" required");return n}}}},"6b7c":function(t,e,n){"use strict";e.__esModule=!0;var r=n("4897");e.default={methods:{t:function(){for(var t=arguments.length,e=Array(t),n=0;n0},t.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(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(){r&&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,r=a.some((function(t){return!!~n.indexOf(t)}));r&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),u=function(t,e){for(var n=0,r=Object.keys(e);n0},t}(),x="undefined"!=typeof WeakMap?new WeakMap:new n,w=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=l.getInstance(),r=new _(e,n,this);x.set(this,r)};["observe","unobserve","disconnect"].forEach((function(t){w.prototype[t]=function(){var e;return(e=x.get(this))[t].apply(e,arguments)}}));var S=void 0!==i.ResizeObserver?i.ResizeObserver:w;e.default=S}.call(this,n("c8ba"))},"6f48":function(t,e,n){"use strict";n("6d61")("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),n("6566"))},"6f53":function(t,e,n){var r=n("83ab"),i=n("e330"),o=n("df75"),a=n("fc6a"),s=i(n("d1e7").f),l=i([].push),u=function(t){return function(e){for(var n,i=a(e),u=o(i),c=u.length,d=0,h=[];c>d;)n=u[d++],r&&!s(i,n)||l(h,t?[n,i[n]]:i[n]);return h}};t.exports={entries:u(!0),values:u(!1)}},7039:function(t,e,n){var r=n("23e7"),i=n("d039"),o=n("057f").f;r({target:"Object",stat:!0,forced:i((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:o})},7149:function(t,e,n){"use strict";var r=n("23e7"),i=n("d066"),o=n("c430"),a=n("d256"),s=n("4738").CONSTRUCTOR,l=n("cdf9"),u=i("Promise"),c=o&&!s;r({target:"Promise",stat:!0,forced:o||s},{resolve:function(t){return l(c&&this===u?a:this,t)}})},7156:function(t,e,n){var r=n("1626"),i=n("861d"),o=n("d2bb");t.exports=function(t,e,n){var a,s;return o&&r(a=e.constructor)&&a!==n&&i(s=a.prototype)&&s!==n.prototype&&o(t,s),t}},"726e":function(t,e,n){"use strict";n.d(e,"c",(function(){return r})),n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return o})),n.d(e,"d",(function(){return s})),n.d(e,"e",(function(){return l}));var r=12,i="sans-serif",o=r+"px "+i;var a=function(t){var e={};if("undefined"==typeof JSON)return e;for(var n=0;n=0)d=c*n.length;else for(var h=0;h1?arguments[1]:void 0,e>2?arguments[2]:void 0)}))},"73d9":function(t,e,n){n("44d2")("flatMap")},7418:function(t,e){e.f=Object.getOwnPropertySymbols},"746f":function(t,e,n){var r=n("428f"),i=n("1a2d"),o=n("e538"),a=n("9bf2").f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});i(e,t)||a(e,t,{value:o.f(t)})}},"74e8":function(t,e,n){"use strict";var r=n("23e7"),i=n("da84"),o=n("c65b"),a=n("83ab"),s=n("8aa7"),l=n("ebb5"),u=n("621a"),c=n("19aa"),d=n("5c6c"),h=n("9112"),f=n("eac5"),p=n("50c4"),g=n("0b25"),v=n("182d"),y=n("a04b"),m=n("1a2d"),b=n("f5df"),_=n("861d"),x=n("d9b5"),w=n("7c73"),S=n("3a9b"),M=n("d2bb"),O=n("241c").f,C=n("a078"),I=n("b727").forEach,T=n("2626"),A=n("9bf2"),D=n("06cf"),k=n("69f3"),j=n("7156"),E=k.get,L=k.set,N=A.f,P=D.f,R=Math.round,z=i.RangeError,V=u.ArrayBuffer,B=V.prototype,F=u.DataView,H=l.NATIVE_ARRAY_BUFFER_VIEWS,W=l.TYPED_ARRAY_CONSTRUCTOR,U=l.TYPED_ARRAY_TAG,G=l.TypedArray,Y=l.TypedArrayPrototype,$=l.aTypedArrayConstructor,X=l.isTypedArray,Z="BYTES_PER_ELEMENT",q="Wrong length",Q=function(t,e){$(t);for(var n=0,r=e.length,i=new t(r);r>n;)i[n]=e[n++];return i},J=function(t,e){N(t,e,{get:function(){return E(this)[e]}})},K=function(t){var e;return S(B,t)||"ArrayBuffer"==(e=b(t))||"SharedArrayBuffer"==e},tt=function(t,e){return X(t)&&!x(e)&&e in t&&f(+e)&&e>=0},et=function(t,e){return e=y(e),tt(t,e)?d(2,t[e]):P(t,e)},nt=function(t,e,n){return e=y(e),!(tt(t,e)&&_(n)&&m(n,"value"))||m(n,"get")||m(n,"set")||n.configurable||m(n,"writable")&&!n.writable||m(n,"enumerable")&&!n.enumerable?N(t,e,n):(t[e]=n.value,t)};a?(H||(D.f=et,A.f=nt,J(Y,"buffer"),J(Y,"byteOffset"),J(Y,"byteLength"),J(Y,"length")),r({target:"Object",stat:!0,forced:!H},{getOwnPropertyDescriptor:et,defineProperty:nt}),t.exports=function(t,e,n){var a=t.match(/\d+$/)[0]/8,l=t+(n?"Clamped":"")+"Array",u="get"+t,d="set"+t,f=i[l],y=f,m=y&&y.prototype,b={},x=function(t,e){N(t,e,{get:function(){return function(t,e){var n=E(t);return n.view[u](e*a+n.byteOffset,!0)}(this,e)},set:function(t){return function(t,e,r){var i=E(t);n&&(r=(r=R(r))<0?0:r>255?255:255&r),i.view[d](e*a+i.byteOffset,r,!0)}(this,e,t)},enumerable:!0})};H?s&&(y=e((function(t,e,n,r){return c(t,m),j(_(e)?K(e)?void 0!==r?new f(e,v(n,a),r):void 0!==n?new f(e,v(n,a)):new f(e):X(e)?Q(y,e):o(C,y,e):new f(g(e)),t,y)})),M&&M(y,G),I(O(f),(function(t){t in y||h(y,t,f[t])})),y.prototype=m):(y=e((function(t,e,n,r){c(t,m);var i,s,l,u=0,d=0;if(_(e)){if(!K(e))return X(e)?Q(y,e):o(C,y,e);i=e,d=v(n,a);var h=e.byteLength;if(void 0===r){if(h%a)throw z(q);if((s=h-d)<0)throw z(q)}else if((s=p(r)*a)+d>h)throw z(q);l=s/a}else l=g(e),i=new V(s=l*a);for(L(t,{buffer:i,byteOffset:d,byteLength:s,length:l,view:new F(i)});u>1,v=23===e?o(2,-24)-o(2,-77):0,y=t<0||0===t&&1/t<0?1:0,m=0;for((t=i(t))!=t||t===1/0?(c=t!=t?1:0,u=p):(u=a(s(t)/l),t*(d=o(2,-u))<1&&(u--,d*=2),(t+=u+g>=1?v/d:v*o(2,1-g))*d>=2&&(u++,d/=2),u+g>=p?(c=0,u=p):u+g>=1?(c=(t*d-1)*o(2,e),u+=g):(c=t*o(2,g-1)*o(2,e),u=0));e>=8;)h[m++]=255&c,c/=256,e-=8;for(u=u<0;)h[m++]=255&u,u/=256,f-=8;return h[--m]|=128*y,h},unpack:function(t,e){var n,r=t.length,i=8*r-e-1,a=(1<>1,l=i-7,u=r-1,c=t[u--],d=127&c;for(c>>=7;l>0;)d=256*d+t[u--],l-=8;for(n=d&(1<<-l)-1,d>>=-l,l+=e;l>0;)n=256*n+t[u--],l-=8;if(0===d)d=1-s;else{if(d===a)return n?NaN:c?-1/0:1/0;n+=o(2,e),d-=s}return(c?-1:1)*n*o(2,d-e)}}},7839:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"785a":function(t,e,n){var r=n("cc12")("span").classList,i=r&&r.constructor&&r.constructor.prototype;t.exports=i===Object.prototype?void 0:i},7898:function(t,e,n){var r=n("23e7"),i=n("8eb5"),o=Math.exp;r({target:"Math",stat:!0},{tanh:function(t){var e=i(t=+t),n=i(-t);return e==1/0?1:n==1/0?-1:(e-n)/(o(t)+o(-t))}})},"79a8":function(t,e,n){var r=n("23e7"),i=Math.asinh,o=Math.log,a=Math.sqrt;r({target:"Math",stat:!0,forced:!(i&&1/i(0)>0)},{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):o(e+a(e*e+1)):e}})},"7a0f":function(t,e,n){},"7a29":function(t,e,n){"use strict";(function(t){n.d(e,"p",(function(){return s})),n.d(e,"j",(function(){return u})),n.d(e,"q",(function(){return d})),n.d(e,"e",(function(){return h})),n.d(e,"a",(function(){return f})),n.d(e,"b",(function(){return p})),n.d(e,"i",(function(){return g})),n.d(e,"h",(function(){return v})),n.d(e,"l",(function(){return y})),n.d(e,"n",(function(){return m})),n.d(e,"m",(function(){return b})),n.d(e,"o",(function(){return _})),n.d(e,"k",(function(){return x})),n.d(e,"d",(function(){return w})),n.d(e,"f",(function(){return S})),n.d(e,"g",(function(){return M})),n.d(e,"c",(function(){return O}));var r=n("6d8b"),i=n("41ef"),o=n("22d1"),a=Math.round;function s(t){var e;if(t&&"transparent"!==t){if("string"==typeof t&&t.indexOf("rgba")>-1){var n=Object(i.g)(t);n&&(t="rgb("+n[0]+","+n[1]+","+n[2]+")",e=n[3])}}else t="none";return{color:t,opacity:null==e?1:e}}var l=1e-4;function u(t){return t-l}function c(t){return a(1e3*t)/1e3}function d(t){return a(1e4*t)/1e4}function h(t){return"matrix("+c(t[0])+","+c(t[1])+","+c(t[2])+","+c(t[3])+","+d(t[4])+","+d(t[5])+")"}var f={left:"start",right:"end",center:"middle",middle:"middle"};function p(t,e,n){return"top"===n?t+=e/2:"bottom"===n&&(t-=e/2),t}function g(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)}function v(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(",")}function y(t){return t&&!!t.image}function m(t){return y(t)||function(t){return t&&!!t.svgElement}(t)}function b(t){return"linear"===t.type}function _(t){return"radial"===t.type}function x(t){return t&&("linear"===t.type||"radial"===t.type)}function w(t){return"url(#"+t+")"}function S(t){var e=t.getGlobalScale(),n=Math.max(e[0],e[1]);return Math.max(Math.ceil(Math.log(n)/Math.log(10)),1)}function M(t){var e=t.x||0,n=t.y||0,i=(t.rotation||0)*r.a,o=Object(r.P)(t.scaleX,1),s=Object(r.P)(t.scaleY,1),l=t.skewX||0,u=t.skewY||0,c=[];return(e||n)&&c.push("translate("+e+"px,"+n+"px)"),i&&c.push("rotate("+i+")"),1===o&&1===s||c.push("scale("+o+","+s+")"),(l||u)&&c.push("skew("+a(l*r.a)+"deg, "+a(u*r.a)+"deg)"),c.join(" ")}var O=o.a.hasGlobalWindow&&Object(r.w)(window.btoa)?function(t){return window.btoa(unescape(t))}:void 0!==t?function(e){return t.from(e).toString("base64")}:function(t){return null}}).call(this,n("b639").Buffer)},"7a82":function(t,e,n){var r=n("23e7"),i=n("83ab"),o=n("9bf2").f;r({target:"Object",stat:!0,forced:Object.defineProperty!==o,sham:!i},{defineProperty:o})},"7b0b":function(t,e,n){var r=n("da84"),i=n("1d80"),o=r.Object;t.exports=function(t){return o(i(t))}},"7b31":function(t,e,n){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},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 r(t,e,n,r,i,o,a,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._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__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:u}}n.d(e,"a",(function(){return r}))},116:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("header",{staticClass:"el-header",style:{height:t.height}},[t._t("default")],2)};r._withStripped=!0;var i={name:"ElHeader",componentName:"ElHeader",props:{height:{type:String,default:"60px"}}},o=n(0),a=Object(o.a)(i,r,[],!1,null,null,null);a.options.__file="packages/header/src/main.vue";var s=a.exports;s.install=function(t){t.component(s.name,s)},e.default=s}})},"7b3e":function(t,e,n){"use strict";var r,i=n("a3de");i.canUseDOM&&(r=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),t.exports=function(t,e){if(!i.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&&r&&"wheel"===t&&(o=document.implementation.hasFeature("Events.wheel","3.0")),o}},"7c37":function(t,e,n){var r=n("605d");t.exports=function(t){try{if(r)return Function('return require("'+t+'")')()}catch(t){}}},"7c73":function(t,e,n){var r,i=n("825a"),o=n("37e8"),a=n("7839"),s=n("d012"),l=n("1be4"),u=n("cc12"),c=n("f772"),d="prototype",h="script",f=c("IE_PROTO"),p=function(){},g=function(t){return"<"+h+">"+t+""},v=function(t){t.write(g("")),t.close();var e=t.parentWindow.Object;return t=null,e},y=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}y="undefined"!=typeof document?document.domain&&r?v(r):function(){var t,e=u("iframe");return e.style.display="none",l.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(g("document.F=Object")),t.close(),t.F}():v(r);for(var t=a.length;t--;)delete y[d][a[t]];return y()};s[f]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(p[d]=i(t),n=new p,p[d]=null,n[f]=t):n=y(),void 0===e?n:o.f(n,e)}},"7d94":function(t,e,n){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},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=123)}({0:function(t,e,n){"use strict";function r(t,e,n,r,i,o,a,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._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__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:u}}n.d(e,"a",(function(){return r}))},123:function(t,e,n){"use strict";n.r(e);var r=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()])};r._withStripped=!0;var i=n(25),o=n.n(i),a=function(t){return Math.pow(t,3)},s={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=o()(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,r=window.requestAnimationFrame||function(t){return setTimeout(t,16)};r((function i(){var o=(Date.now()-e)/500;o<1?(t.scrollTop=n*(1-function(t){return t<.5?a(2*t)/2:1-a(2*(1-t))/2}(o)),r(i)):t.scrollTop=0}))}},beforeDestroy:function(){this.container.removeEventListener("scroll",this.throttledScrollHandler)}},l=s,u=n(0),c=Object(u.a)(l,r,[],!1,null,null,null);c.options.__file="packages/backtop/src/main.vue";var d=c.exports;d.install=function(t){t.component(d.name,d)},e.default=d},25:function(t,e){t.exports=n("597f")}})},"7db0":function(t,e,n){"use strict";var r=n("23e7"),i=n("b727").find,o=n("44d2"),a="find",s=!0;a in[]&&Array(1)[a]((function(){s=!1})),r({target:"Array",proto:!0,forced:s},{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o(a)},"7dd0":function(t,e,n){"use strict";var r=n("23e7"),i=n("c65b"),o=n("c430"),a=n("5e77"),s=n("1626"),l=n("9ed3"),u=n("e163"),c=n("d2bb"),d=n("d44e"),h=n("9112"),f=n("cb2d"),p=n("b622"),g=n("3f8c"),v=n("ae93"),y=a.PROPER,m=a.CONFIGURABLE,b=v.IteratorPrototype,_=v.BUGGY_SAFARI_ITERATORS,x=p("iterator"),w="keys",S="values",M="entries",O=function(){return this};t.exports=function(t,e,n,a,p,v,C){l(n,e,a);var I,T,A,D=function(t){if(t===p&&N)return N;if(!_&&t in E)return E[t];switch(t){case w:case S:case M:return function(){return new n(this,t)}}return function(){return new n(this)}},k=e+" Iterator",j=!1,E=t.prototype,L=E[x]||E["@@iterator"]||p&&E[p],N=!_&&L||D(p),P="Array"==e&&E.entries||L;if(P&&((I=u(P.call(new t)))!==Object.prototype&&I.next&&(o||u(I)===b||(c?c(I,b):s(I[x])||f(I,x,O)),d(I,k,!0,!0),o&&(g[k]=O))),y&&p==S&&L&&L.name!==S&&(!o&&m?h(E,"name",S):(j=!0,N=function(){return i(L,this)})),p)if(T={values:D(S),keys:v?N:D(w),entries:D(M)},C)for(A in T)(_||j||!(A in E))&&f(E,A,T[A]);else r({target:e,proto:!0,forced:_||j},T);return o&&!C||E[x]===N||f(E,x,N,{name:p}),g[e]=N,T}},"7e12":function(t,e,n){var r=n("da84"),i=n("d039"),o=n("e330"),a=n("577e"),s=n("58a8").trim,l=n("5899"),u=o("".charAt),c=r.parseFloat,d=r.Symbol,h=d&&d.iterator,f=1/c(l+"-0")!=-1/0||h&&!i((function(){c(Object(h))}));t.exports=f?function(t){var e=s(a(t)),n=c(e);return 0===n&&"-"==u(e,0)?-0:n}:c},"7ed3":function(t,e,n){var r=n("23e7"),i=n("c65b"),o=n("825a"),a=n("861d"),s=n("c60d"),l=n("d039"),u=n("9bf2"),c=n("06cf"),d=n("e163"),h=n("5c6c");var f=l((function(){var t=function(){},e=u.f(new t,"a",{configurable:!0});return!1!==Reflect.set(t.prototype,"a",1,e)}));r({target:"Reflect",stat:!0,forced:f},{set:function t(e,n,r){var l,f,p,g=arguments.length<4?e:arguments[3],v=c.f(o(e),n);if(!v){if(a(f=d(e)))return t(f,n,r,g);v=h(0)}if(s(v)){if(!1===v.writable||!a(g))return!1;if(l=c.f(g,n)){if(l.get||l.set||!1===l.writable)return!1;l.value=r,u.f(g,n,l)}else u.f(g,n,h(0,r))}else{if(void 0===(p=v.set))return!1;i(p,g,r)}return!0}})},"7f4d":function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t){for(var e=1,n=arguments.length;e0&&void 0!==arguments[0]?arguments[0]:"";return String(t).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")};var l=e.arrayFindIndex=function(t,e){for(var n=0;n!==t.length;++n)if(e(t[n]))return n;return-1},u=(e.arrayFind=function(t,e){var n=l(t,e);return-1!==n?t[n]:void 0},e.coerceTruthyValueToArray=function(t){return Array.isArray(t)?t:t?[t]:[]},e.isIE=function(){return!i.default.prototype.$isServer&&!isNaN(Number(document.documentMode))},e.isEdge=function(){return!i.default.prototype.$isServer&&navigator.userAgent.indexOf("Edge")>-1},e.isFirefox=function(){return!i.default.prototype.$isServer&&!!window.navigator.userAgent.match(/firefox/i)},e.autoprefixer=function(t){if("object"!==(void 0===t?"undefined":r(t)))return t;var e=["ms-","webkit-"];return["transform","transition","animation"].forEach((function(n){var r=t[n];n&&r&&e.forEach((function(e){t[e+n]=r}))})),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,o.isString)(t)?t.charAt(0).toUpperCase()+t.slice(1):t},e.looseEqual=function(t,e){var n=(0,o.isObject)(t),r=(0,o.isObject)(e);return n&&r?JSON.stringify(t)===JSON.stringify(e):!n&&!r&&String(t)===String(e)}),c=e.arrayEquals=function(t,e){if(e=e||[],(t=t||[]).length!==e.length)return!1;for(var n=0;n>(-2*b&6))));return o}})},"81b8":function(t,e,n){n("746f")("unscopables")},"81d5":function(t,e,n){"use strict";var r=n("7b0b"),i=n("23cb"),o=n("07fa");t.exports=function(t){for(var e=r(this),n=o(e),a=arguments.length,s=i(a>1?arguments[1]:void 0,n),l=a>2?arguments[2]:void 0,u=void 0===l?n:i(l,n);u>s;)e[s++]=t;return e}},"820e":function(t,e,n){"use strict";var r=n("23e7"),i=n("c65b"),o=n("59ed"),a=n("f069"),s=n("e667"),l=n("2266");r({target:"Promise",stat:!0},{allSettled:function(t){var e=this,n=a.f(e),r=n.resolve,u=n.reject,c=s((function(){var n=o(e.resolve),a=[],s=0,u=1;l(t,(function(t){var o=s++,l=!1;u++,i(n,e,t).then((function(t){l||(l=!0,a[o]={status:"fulfilled",value:t},--u||r(a))}),(function(t){l||(l=!0,a[o]={status:"rejected",reason:t},--u||r(a))}))})),--u||r(a)}));return c.error&&u(c.value),n.promise}})},"825a":function(t,e,n){var r=n("da84"),i=n("861d"),o=r.String,a=r.TypeError;t.exports=function(t){if(i(t))return t;throw a(o(t)+" is not an object")}},"82b8":function(t,e,n){"use strict";n("e457")},"82da":function(t,e,n){var r=n("23e7"),i=n("ebb5");r({target:"ArrayBuffer",stat:!0,forced:!i.NATIVE_ARRAY_BUFFER_VIEWS},{isView:i.isView})},"82f8":function(t,e,n){"use strict";var r=n("ebb5"),i=n("4d64").includes,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("includes",(function(t){return i(o(this),t,arguments.length>1?arguments[1]:void 0)}))},"83ab":function(t,e,n){var r=n("d039");t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(t,e,n){"use strict";var r=n("a04b"),i=n("9bf2"),o=n("5c6c");t.exports=function(t,e,n){var a=r(e);a in t?i.f(t,a,o(0,n)):t[a]=n}},"841c":function(t,e,n){"use strict";var r=n("c65b"),i=n("d784"),o=n("825a"),a=n("1d80"),s=n("129f"),l=n("577e"),u=n("dc4a"),c=n("14c3");i("search",(function(t,e,n){return[function(e){var n=a(this),i=null==e?void 0:u(e,t);return i?r(i,e,n):new RegExp(e)[t](l(n))},function(t){var r=o(this),i=l(t),a=n(e,r,i);if(a.done)return a.value;var u=r.lastIndex;s(u,0)||(r.lastIndex=0);var d=c(r,i);return s(r.lastIndex,u)||(r.lastIndex=u),null===d?-1:d.index}]}))},"843c":function(t,e,n){"use strict";var r=n("23e7"),i=n("0ccb").end;r({target:"String",proto:!0,forced:n("9a0c")},{padEnd:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},"84c3":function(t,e,n){n("74e8")("Uint16",(function(t){return function(e,n,r){return t(this,e,n,r)}}))},"860a":function(t,e,n){},"861d":function(t,e,n){var r=n("1626");t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},"867a":function(t,e){var n=Math.log,r=Math.LOG10E;t.exports=Math.log10||function(t){return n(t)*r}},8925:function(t,e,n){var r=n("e330"),i=n("1626"),o=n("c6cd"),a=r(Function.toString);i(o.inspectSource)||(o.inspectSource=function(t){return a(t)}),t.exports=o.inspectSource},"896a":function(t,e,n){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},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=72)}({0:function(t,e,n){"use strict";function r(t,e,n,r,i,o,a,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._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__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:u}}n.d(e,"a",(function(){return r}))},13:function(t,e){t.exports=n("5128")},2:function(t,e){t.exports=n("5924")},41:function(t,e){t.exports=n("c56a")},7:function(t,e){t.exports=n("2b0e")},72:function(t,e,n){"use strict";n.r(e);var r=n(7),i=n.n(r),o=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()])])])};o._withStripped=!0;var a={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}}},s=n(0),l=Object(s.a)(a,o,[],!1,null,null,null);l.options.__file="packages/loading/src/loading.vue";var u=l.exports,c=n(2),d=n(13),h=n(41),f=n.n(h),p=i.a.extend(u),g={install:function(t){if(!t.prototype.$isServer){var e=function(e,r){r.value?t.nextTick((function(){r.modifiers.fullscreen?(e.originalPosition=Object(c.getStyle)(document.body,"position"),e.originalOverflow=Object(c.getStyle)(document.body,"overflow"),e.maskStyle.zIndex=d.PopupManager.nextZIndex(),Object(c.addClass)(e.mask,"is-fullscreen"),n(document.body,e,r)):(Object(c.removeClass)(e.mask,"is-fullscreen"),r.modifiers.body?(e.originalPosition=Object(c.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(c.getStyle)(document.body,"margin-"+t),10)+"px"})),["height","width"].forEach((function(t){e.maskStyle[t]=e.getBoundingClientRect()[t]+"px"})),n(document.body,e,r)):(e.originalPosition=Object(c.getStyle)(e,"position"),n(e,e,r)))})):(f()(e.instance,(function(t){if(e.instance.hiding){e.domVisible=!1;var n=r.modifiers.fullscreen||r.modifiers.body?document.body:e;Object(c.removeClass)(n,"el-loading-parent--relative"),Object(c.removeClass)(n,"el-loading-parent--hidden"),e.instance.hiding=!1}}),300,!0),e.instance.visible=!1,e.instance.hiding=!0)},n=function(e,n,r){n.domVisible||"none"===Object(c.getStyle)(n,"display")||"hidden"===Object(c.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(c.addClass)(e,"el-loading-parent--relative"),r.modifiers.fullscreen&&r.modifiers.lock&&Object(c.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,r){var i=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=r.context,u=new p({el:document.createElement("div"),data:{text:l&&l[i]||i,spinner:l&&l[o]||o,background:l&&l[a]||a,customClass:l&&l[s]||s,fullscreen:!!n.modifiers.fullscreen}});t.instance=u,t.mask=u.$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()}})}}},v=g,y=n(9),m=n.n(y),b=i.a.extend(u),_={text:null,fullscreen:!0,body:!1,lock:!1,customClass:""},x=void 0;b.prototype.originalPosition="",b.prototype.originalOverflow="",b.prototype.close=function(){var t=this;this.fullscreen&&(x=void 0),f()(this,(function(e){var n=t.fullscreen||t.body?document.body:t.target;Object(c.removeClass)(n,"el-loading-parent--relative"),Object(c.removeClass)(n,"el-loading-parent--hidden"),t.$el&&t.$el.parentNode&&t.$el.parentNode.removeChild(t.$el),t.$destroy()}),300),this.visible=!1};var w=function(t,e,n){var r={};t.fullscreen?(n.originalPosition=Object(c.getStyle)(document.body,"position"),n.originalOverflow=Object(c.getStyle)(document.body,"overflow"),r.zIndex=d.PopupManager.nextZIndex()):t.body?(n.originalPosition=Object(c.getStyle)(document.body,"position"),["top","left"].forEach((function(e){var n="top"===e?"scrollTop":"scrollLeft";r[e]=t.target.getBoundingClientRect()[e]+document.body[n]+document.documentElement[n]+"px"})),["height","width"].forEach((function(e){r[e]=t.target.getBoundingClientRect()[e]+"px"}))):n.originalPosition=Object(c.getStyle)(e,"position"),Object.keys(r).forEach((function(t){n.$el.style[t]=r[t]}))},S=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!i.a.prototype.$isServer){if("string"==typeof(t=m()({},_,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&&x)return x;var e=t.body?document.body:t.target,n=new b({el:document.createElement("div"),data:t});return w(t,e,n),"absolute"!==n.originalPosition&&"fixed"!==n.originalPosition&&Object(c.addClass)(e,"el-loading-parent--relative"),t.fullscreen&&t.lock&&Object(c.addClass)(e,"el-loading-parent--hidden"),e.appendChild(n.$el),i.a.nextTick((function(){n.visible=!0})),t.fullscreen&&(x=n),n}};e.default={install:function(t){t.use(v),t.prototype.$loading=S},directive:v,service:S}},9:function(t,e){t.exports=n("7f4d")}})},"8a59":function(t,e,n){n("74e8")("Uint8",(function(t){return function(e,n,r){return t(this,e,n,r)}}),!0)},"8a79":function(t,e,n){"use strict";var r=n("23e7"),i=n("e330"),o=n("06cf").f,a=n("50c4"),s=n("577e"),l=n("5a34"),u=n("1d80"),c=n("ab13"),d=n("c430"),h=i("".endsWith),f=i("".slice),p=Math.min,g=c("endsWith"),v=!d&&!g&&!!function(){var t=o(String.prototype,"endsWith");return t&&!t.writable}();r({target:"String",proto:!0,forced:!v&&!g},{endsWith:function(t){var e=s(u(this));l(t);var n=arguments.length>1?arguments[1]:void 0,r=e.length,i=void 0===n?r:p(a(n),r),o=s(t);return h?h(e,o,i):f(e,i-o.length,i)===o}})},"8aa5":function(t,e,n){"use strict";var r=n("6547").charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},"8aa7":function(t,e,n){var r=n("da84"),i=n("d039"),o=n("1c7e"),a=n("ebb5").NATIVE_ARRAY_BUFFER_VIEWS,s=r.ArrayBuffer,l=r.Int8Array;t.exports=!a||!i((function(){l(1)}))||!i((function(){new l(-1)}))||!o((function(t){new l,new l(null),new l(1.5),new l(t)}),!0)||i((function(){return 1!==new l(new s(2),1,void 0).length}))},"8b09":function(t,e,n){n("74e8")("Int16",(function(t){return function(e,n,r){return t(this,e,n,r)}}))},"8b9a":function(t,e,n){var r=n("23e7"),i=n("825a"),o=n("3bbe"),a=n("d2bb");a&&r({target:"Reflect",stat:!0},{setPrototypeOf:function(t,e){i(t),o(e);try{return a(t,e),!0}catch(t){return!1}}})},"8ba4":function(t,e,n){n("23e7")({target:"Number",stat:!0},{isInteger:n("eac5")})},"8bd4":function(t,e,n){var r=n("d066"),i="DOMException";n("d44e")(r(i),i)},"8e10":function(t,e,n){},"8eb5":function(t,e){var n=Math.expm1,r=Math.exp;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:r(t)-1}:n},"8eb7":function(t,e){var n,r,i,o,a,s,l,u,c,d,h,f,p,g,v,y=!1;function m(){if(!y){y=!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),d=/Android/i.exec(t),g=/FBAN\/\w+;/i.exec(t),v=/Mobile/i.exec(t),h=!!/Win64/.exec(t),e){(n=e[1]?parseFloat(e[1]):e[5]?parseFloat(e[5]):NaN)&&document&&document.documentMode&&(n=document.documentMode);var b=/(?:Trident\/(\d+.\d+))/.exec(t);s=b?parseFloat(b[1])+4:n,r=e[2]?parseFloat(e[2]):NaN,i=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=r=i=a=o=NaN;if(m){if(m[1]){var _=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(t);l=!_||parseFloat(_[1].replace("_","."))}else l=!1;u=!!m[2],c=!!m[3]}else l=u=c=!1}}var b={ie:function(){return m()||n},ieCompatibilityMode:function(){return m()||s>n},ie64:function(){return b.ie()&&h},firefox:function(){return m()||r},opera:function(){return m()||i},webkit:function(){return m()||o},safari:function(){return b.webkit()},chrome:function(){return m()||a},windows:function(){return m()||u},osx:function(){return m()||l},linux:function(){return m()||c},iphone:function(){return m()||f},mobile:function(){return m()||f||p||d||v},nativeApp:function(){return m()||g},android:function(){return m()||d},ipad:function(){return m()||p}};t.exports=b},"8edd":function(t,e,n){n("746f")("matchAll")},"907a":function(t,e,n){"use strict";var r=n("ebb5"),i=n("07fa"),o=n("5926"),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("at",(function(t){var e=a(this),n=i(e),r=o(t),s=r>=0?r:n+r;return s<0||s>=n?void 0:e[s]}))},"90d7":function(t,e,n){var r=n("23e7"),i=Math.log,o=Math.LN2;r({target:"Math",stat:!0},{log2:function(t){return i(t)/o}})},"90d8":function(t,e,n){var r=n("c65b"),i=n("1a2d"),o=n("3a9b"),a=n("ad6d"),s=RegExp.prototype;t.exports=function(t){var e=t.flags;return void 0!==e||"flags"in s||i(t,"flags")||!o(s,t)?e:r(a,t)}},"90e3":function(t,e,n){var r=n("e330"),i=0,o=Math.random(),a=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++i+o,36)}},9112:function(t,e,n){var r=n("83ab"),i=n("9bf2"),o=n("5c6c");t.exports=r?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},9129:function(t,e,n){n("23e7")({target:"Number",stat:!0},{isNaN:function(t){return t!=t}})},9152:function(t,e){e.read=function(t,e,n,r,i){var o,a,s=8*i-r-1,l=(1<>1,c=-7,d=n?i-1:0,h=n?-1:1,f=t[e+d];for(d+=h,o=f&(1<<-c)-1,f>>=-c,c+=s;c>0;o=256*o+t[e+d],d+=h,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+t[e+d],d+=h,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,r),o-=u}return(f?-1:1)*a*Math.pow(2,o-r)},e.write=function(t,e,n,r,i,o){var a,s,l,u=8*o-i-1,c=(1<>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:o-1,p=r?1:-1,g=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=c):(a=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-a))<1&&(a--,l*=2),(e+=a+d>=1?h/l:h*Math.pow(2,1-d))*l>=2&&(a++,l/=2),a+d>=c?(s=0,a=c):a+d>=1?(s=(e*l-1)*Math.pow(2,i),a+=d):(s=e*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;t[n+f]=255&s,f+=p,s/=256,i-=8);for(a=a<0;t[n+f]=255&a,f+=p,a/=256,u-=8);t[n+f-p]|=128*g}},"917e":function(t,e){t.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjMiIGhlaWdodD0iMjMiIHZpZXdCb3g9IjAgMCAyMyAyMyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMS41IDBDNS4xNDYyNSAwIDAgNS4xNDYyNSAwIDExLjVDMCAxNi41ODg3IDMuMjkxODcgMjAuODg2OSA3Ljg2MzEyIDIyLjQxMDZDOC40MzgxMiAyMi41MTEyIDguNjUzNzUgMjIuMTY2MiA4LjY1Mzc1IDIxLjg2NDRDOC42NTM3NSAyMS41OTEyIDguNjM5MzggMjAuNjg1NiA4LjYzOTM4IDE5LjcyMjVDNS43NSAyMC4yNTQ0IDUuMDAyNSAxOS4wMTgxIDQuNzcyNSAxOC4zNzEyQzQuNjQzMTIgMTguMDQwNiA0LjA4MjUgMTcuMDIgMy41OTM3NSAxNi43NDY5QzMuMTkxMjUgMTYuNTMxMiAyLjYxNjI1IDE1Ljk5OTQgMy41NzkzOCAxNS45ODVDNC40ODUgMTUuOTcwNiA1LjEzMTg4IDE2LjgxODcgNS4zNDc1IDE3LjE2MzdDNi4zODI1IDE4LjkwMzEgOC4wMzU2MyAxOC40MTQ0IDguNjk2ODggMTguMTEyNUM4Ljc5NzUgMTcuMzY1IDkuMDk5MzcgMTYuODYxOSA5LjQzIDE2LjU3NDRDNi44NzEyNSAxNi4yODY5IDQuMTk3NSAxNS4yOTUgNC4xOTc1IDEwLjg5NjJDNC4xOTc1IDkuNjQ1NjIgNC42NDMxMyA4LjYxMDYyIDUuMzc2MjUgNy44MDU2MkM1LjI2MTI1IDcuNTE4MTIgNC44NTg3NSA2LjMzOTM3IDUuNDkxMjUgNC43NTgxMkM1LjQ5MTI1IDQuNzU4MTIgNi40NTQzOCA0LjQ1NjI1IDguNjUzNzUgNS45MzY4N0M5LjU3Mzc1IDUuNjc4MTIgMTAuNTUxMyA1LjU0ODc1IDExLjUyODggNS41NDg3NUMxMi41MDYzIDUuNTQ4NzUgMTMuNDgzOCA1LjY3ODEyIDE0LjQwMzggNS45MzY4N0MxNi42MDMxIDQuNDQxODcgMTcuNTY2MyA0Ljc1ODEyIDE3LjU2NjMgNC43NTgxMkMxOC4xOTg4IDYuMzM5MzcgMTcuNzk2MyA3LjUxODEyIDE3LjY4MTMgNy44MDU2MkMxOC40MTQ0IDguNjEwNjIgMTguODYgOS42MzEyNSAxOC44NiAxMC44OTYyQzE4Ljg2IDE1LjMwOTQgMTYuMTcxOSAxNi4yODY5IDEzLjYxMzEgMTYuNTc0NEMxNC4wMyAxNi45MzM3IDE0LjM4OTQgMTcuNjIzNyAxNC4zODk0IDE4LjcwMTlDMTQuMzg5NCAyMC4yNCAxNC4zNzUgMjEuNDc2MiAxNC4zNzUgMjEuODY0NEMxNC4zNzUgMjIuMTY2MiAxNC41OTA2IDIyLjUyNTYgMTUuMTY1NiAyMi40MTA2QzE3LjQ0ODYgMjEuNjM5OSAxOS40MzI0IDIwLjE3MjcgMjAuODM3OCAxOC4yMTU1QzIyLjI0MzIgMTYuMjU4MiAyMi45OTk0IDEzLjkwOTUgMjMgMTEuNUMyMyA1LjE0NjI1IDE3Ljg1MzggMCAxMS41IDBaIiBmaWxsPSJibGFjayIvPgo8L3N2Zz4K"},"917f":function(t,e,n){"use strict";n("c12b")},9263:function(t,e,n){"use strict";var r=n("c65b"),i=n("e330"),o=n("577e"),a=n("ad6d"),s=n("9f7f"),l=n("5692"),u=n("7c73"),c=n("69f3").get,d=n("fce3"),h=n("107c"),f=l("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,g=p,v=i("".charAt),y=i("".indexOf),m=i("".replace),b=i("".slice),_=function(){var t=/a/,e=/b*/g;return r(p,t,"a"),r(p,e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),x=s.BROKEN_CARET,w=void 0!==/()??/.exec("")[1];(_||w||x||d||h)&&(g=function(t){var e,n,i,s,l,d,h,S=this,M=c(S),O=o(t),C=M.raw;if(C)return C.lastIndex=S.lastIndex,e=r(g,C,O),S.lastIndex=C.lastIndex,e;var I=M.groups,T=x&&S.sticky,A=r(a,S),D=S.source,k=0,j=O;if(T&&(A=m(A,"y",""),-1===y(A,"g")&&(A+="g"),j=b(O,S.lastIndex),S.lastIndex>0&&(!S.multiline||S.multiline&&"\n"!==v(O,S.lastIndex-1))&&(D="(?: "+D+")",j=" "+j,k++),n=new RegExp("^(?:"+D+")",A)),w&&(n=new RegExp("^"+D+"$(?!\\s)",A)),_&&(i=S.lastIndex),s=r(p,T?n:S,j),T?s?(s.input=b(s.input,k),s[0]=b(s[0],k),s.index=S.lastIndex,S.lastIndex+=s[0].length):S.lastIndex=0:_&&s&&(S.lastIndex=S.global?s.index+s[0].length:i),w&&s&&s.length>1&&r(f,s[0],n,(function(){for(l=1;l=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"),u=i.call(a,"finallyLoc");if(l&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),A(n),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;A(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:k(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),g}}}function _(t,e,n,r){var i=e&&e.prototype instanceof w?e:w,o=Object.create(i.prototype),a=new D(r||[]);return o._invoke=function(t,e,n){var r=d;return function(i,o){if(r===f)throw new Error("Generator is already running");if(r===p){if("throw"===i)throw o;return j()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=I(a,n);if(s){if(s===g)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===d)throw r=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var l=x(t,e,n);if("normal"===l.type){if(r=n.done?p:h,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=p,n.method="throw",n.arg=l.arg)}}}(t,n,a),o}function x(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function w(){}function S(){}function M(){}function O(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function C(t){function e(n,r,o,a){var s=x(t[n],t,r);if("throw"!==s.type){var l=s.arg,u=l.value;return u&&"object"==typeof u&&i.call(u,"__await")?Promise.resolve(u.__await).then((function(t){e("next",t,o,a)}),(function(t){e("throw",t,o,a)})):Promise.resolve(u).then((function(t){l.value=t,o(l)}),a)}a(s.arg)}var n;this._invoke=function(t,r){function i(){return new Promise((function(n,i){e(t,r,n,i)}))}return n=n?n.then(i,i):i()}}function I(t,e){var r=t.iterator[e.method];if(r===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=n,I(t,e),"throw"===e.method))return g;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var i=x(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,g;var o=i.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,g):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,g)}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 A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function D(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function k(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 r=-1,o=function e(){for(;++r=51||!o((function(){var t=[];return t[g]=!1,t.concat()[0]!==t})),_=h("concat"),x=function(t){if(!s(t))return!1;var e=t[g];return void 0!==e?!!e:a(t)};r({target:"Array",proto:!0,arity:1,forced:!b||!_},{concat:function(t){var e,n,r,i,o,a=l(this),s=d(a,0),h=0;for(e=-1,r=arguments.length;ev)throw m(y);for(n=0;n=v)throw m(y);c(s,h++,o)}return s.length=h,s}})},"9a0c":function(t,e,n){var r=n("342f");t.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(r)},"9a1f":function(t,e,n){var r=n("da84"),i=n("c65b"),o=n("59ed"),a=n("825a"),s=n("0d51"),l=n("35a1"),u=r.TypeError;t.exports=function(t,e){var n=arguments.length<2?l(t):e;if(o(n))return a(i(n,t));throw u(s(t)+" is not iterable")}},"9a8c":function(t,e,n){"use strict";var r=n("e330"),i=n("ebb5"),o=r(n("145e")),a=i.aTypedArray;(0,i.exportTypedArrayMethod)("copyWithin",(function(t,e){return o(a(this),t,e,arguments.length>2?arguments[2]:void 0)}))},"9bdd":function(t,e,n){var r=n("825a"),i=n("2a62");t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){i(t,"throw",e)}}},"9bf2":function(t,e,n){var r=n("da84"),i=n("83ab"),o=n("0cfb"),a=n("aed9"),s=n("825a"),l=n("a04b"),u=r.TypeError,c=Object.defineProperty,d=Object.getOwnPropertyDescriptor,h="enumerable",f="configurable",p="writable";e.f=i?a?function(t,e,n){if(s(t),e=l(e),s(n),"function"==typeof t&&"prototype"===e&&"value"in n&&p in n&&!n[p]){var r=d(t,e);r&&r[p]&&(t[e]=n.value,n={configurable:f in n?n[f]:r[f],enumerable:h in n?n[h]:r[h],writable:!1})}return c(t,e,n)}:c:function(t,e,n){if(s(t),e=l(e),s(n),o)try{return c(t,e,n)}catch(t){}if("get"in n||"set"in n)throw u("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},"9d7e":function(t,e,n){"use strict";e.__esModule=!0;var 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};e.default=function(t){return function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),a=1;a1?arguments[1]:void 0,_=void 0!==b,x=u(y);if(x&&!c(x))for(g=(p=l(y,x)).next,y=[];!(f=i(g,p)).done;)y.push(f.value);for(_&&m>2&&(b=r(b,arguments[2])),n=s(y),h=new(d(v))(n),e=0;n>e;e++)h[e]=_?b(y[e],e):y[e];return h}},a15b:function(t,e,n){"use strict";var r=n("23e7"),i=n("e330"),o=n("44ad"),a=n("fc6a"),s=n("a640"),l=i([].join),u=o!=Object,c=s("join",",");r({target:"Array",proto:!0,forced:u||!c},{join:function(t){return l(a(this),void 0===t?",":t)}})},a1f0:function(t,e,n){"use strict";var r=n("23e7"),i=n("da84"),o=n("c65b"),a=n("e330"),s=n("9ed3"),l=n("1d80"),u=n("50c4"),c=n("577e"),d=n("825a"),h=n("c6b6"),f=n("44e7"),p=n("90d8"),g=n("dc4a"),v=n("cb2d"),y=n("d039"),m=n("b622"),b=n("4840"),_=n("8aa5"),x=n("14c3"),w=n("69f3"),S=n("c430"),M=m("matchAll"),O="RegExp String",C=O+" Iterator",I=w.set,T=w.getterFor(C),A=RegExp.prototype,D=i.TypeError,k=a("".indexOf),j=a("".matchAll),E=!!j&&!y((function(){j("a",/./)})),L=s((function(t,e,n,r){I(this,{type:C,regexp:t,string:e,global:n,unicode:r,done:!1})}),O,(function(){var t=T(this);if(t.done)return{value:void 0,done:!0};var e=t.regexp,n=t.string,r=x(e,n);return null===r?{value:void 0,done:t.done=!0}:t.global?(""===c(r[0])&&(e.lastIndex=_(n,u(e.lastIndex),t.unicode)),{value:r,done:!1}):(t.done=!0,{value:r,done:!1})})),N=function(t){var e,n,r,i=d(this),o=c(t),a=b(i,RegExp),s=c(p(i));return e=new a(a===RegExp?i.source:i,s),n=!!~k(s,"g"),r=!!~k(s,"u"),e.lastIndex=u(i.lastIndex),new L(e,o,n,r)};r({target:"String",proto:!0,forced:E},{matchAll:function(t){var e,n,r,i,a=l(this);if(null!=t){if(f(t)&&(e=c(l(p(t))),!~k(e,"g")))throw D("`.matchAll` does not allow non-global regexes");if(E)return j(a,t);if(void 0===(r=g(t,M))&&S&&"RegExp"==h(t)&&(r=N),r)return o(r,t,a)}else if(E)return j(a,t);return n=c(a),i=new RegExp(t,"g"),S?o(N,i,n):i[M](n)}}),S||M in A||v(A,M,N)},a2bf:function(t,e,n){"use strict";var r=n("da84"),i=n("e8b5"),o=n("07fa"),a=n("0366"),s=r.TypeError,l=function(t,e,n,r,u,c,d,h){for(var f,p,g=u,v=0,y=!!d&&a(d,h);v0&&i(f))p=o(f),g=l(t,e,f,p,g,c-1)-1;else{if(g>=9007199254740991)throw s("Exceed the acceptable array length");t[g]=f}g++}v++}return g};t.exports=l},a3a2:function(t,e,n){"use strict";var r=n("23e7"),i=n("da84"),o=n("e330"),a=n("5926"),s=n("408a"),l=n("1148"),u=n("867a"),c=n("d039"),d=i.RangeError,h=i.String,f=i.isFinite,p=Math.abs,g=Math.floor,v=Math.pow,y=Math.round,m=o(1..toExponential),b=o(l),_=o("".slice),x="-6.9000e-11"===m(-69e-12,4)&&"1.25e+0"===m(1.255,2)&&"1.235e+4"===m(12345,3)&&"3e+1"===m(25,0),w=c((function(){m(1,1/0)}))&&c((function(){m(1,-1/0)})),S=!c((function(){m(1/0,1/0)}))&&!c((function(){m(NaN,1/0)}));r({target:"Number",proto:!0,forced:!x||!w||!S},{toExponential:function(t){var e=s(this);if(void 0===t)return m(e);var n=a(t);if(!f(e))return h(e);if(n<0||n>20)throw d("Incorrect fraction digits");if(x)return m(e,n);var r="",i="",o=0,l="",c="";if(e<0&&(r="-",e=-e),0===e)o=0,i=b("0",n+1);else{var w=u(e);o=g(w);var S=0,M=v(10,o-n);2*e>=(2*(S=y(e/M))+1)*M&&(S+=1),S>=v(10,n+1)&&(S/=10,o+=1),i=h(S)}return 0!==n&&(i=_(i,0,1)+"."+_(i,1)),0===o?(l="+",c="0"):(l=o>0?"+":"-",c=h(p(o))),r+(i+="e"+l+c)}})},a3de:function(t,e,n){"use strict";var r=!("undefined"==typeof window||!window.document||!window.document.createElement),i={canUseDOM:r,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};t.exports=i},a434:function(t,e,n){"use strict";var r=n("23e7"),i=n("da84"),o=n("23cb"),a=n("5926"),s=n("07fa"),l=n("7b0b"),u=n("65f0"),c=n("8418"),d=n("1dde")("splice"),h=i.TypeError,f=Math.max,p=Math.min,g=9007199254740991,v="Maximum allowed length exceeded";r({target:"Array",proto:!0,forced:!d},{splice:function(t,e){var n,r,i,d,y,m,b=l(this),_=s(b),x=o(t,_),w=arguments.length;if(0===w?n=r=0:1===w?(n=0,r=_-x):(n=w-2,r=p(f(a(e),0),_-x)),_+n-r>g)throw h(v);for(i=u(b,r),d=0;d_-r+n;d--)delete b[d-1]}else if(n>r)for(d=_-r;d>x;d--)m=d+n-1,(y=d+r-1)in b?b[m]=b[y]:delete b[m];for(d=0;d1?arguments[1]:void 0)}})},a630:function(t,e,n){var r=n("23e7"),i=n("4df4"),o=!n("1c7e")((function(t){Array.from(t)}));r({target:"Array",stat:!0,forced:o},{from:i})},a640:function(t,e,n){"use strict";var r=n("d039");t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){return 1},1)}))}},a673:function(t,e,n){},a6fd:function(t,e,n){var r=n("23e7"),i=n("2ba4"),o=n("59ed"),a=n("825a");r({target:"Reflect",stat:!0,forced:!n("d039")((function(){Reflect.apply((function(){}))}))},{apply:function(t,e,n){return i(o(t),e,a(n))}})},a742:function(t,e,n){"use strict";e.__esModule=!0,e.isDefined=e.isUndefined=e.isFunction=void 0;var 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};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};var i=function(t){return t&&t.__esModule?t:{default:t}}(n("2b0e"));var o=function(t){return t&&"[object Function]"==={}.toString.call(t)};"object"===("undefined"==typeof Int8Array?"undefined":r(Int8Array))||!i.default.prototype.$isServer&&"function"==typeof document.childNodes||(e.isFunction=o=function(t){return"function"==typeof t||!1}),e.isFunction=o,e.isUndefined=function(t){return void 0===t},e.isDefined=function(t){return null!=t}},a769:function(t,e,n){},a79d:function(t,e,n){"use strict";var r=n("23e7"),i=n("c430"),o=n("d256"),a=n("d039"),s=n("d066"),l=n("1626"),u=n("4840"),c=n("cdf9"),d=n("cb2d"),h=o&&o.prototype;if(r({target:"Promise",proto:!0,real:!0,forced:!!o&&a((function(){h.finally.call({then:function(){}},(function(){}))}))},{finally:function(t){var e=u(this,s("Promise")),n=l(t);return this.then(n?function(n){return c(e,t()).then((function(){return n}))}:t,n?function(n){return c(e,t()).then((function(){throw n}))}:t)}}),!i&&l(o)){var f=s("Promise").prototype.finally;h.finally!==f&&d(h,"finally",f,{unsafe:!0})}},a874:function(t,e,n){var r=n("23e7"),i=n("145e"),o=n("44d2");r({target:"Array",proto:!0},{copyWithin:i}),o("copyWithin")},a975:function(t,e,n){"use strict";var r=n("ebb5"),i=n("b727").every,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("every",(function(t){return i(o(this),t,arguments.length>1?arguments[1]:void 0)}))},a981:function(t,e){t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},a9e3:function(t,e,n){"use strict";var r=n("83ab"),i=n("da84"),o=n("e330"),a=n("94ca"),s=n("cb2d"),l=n("1a2d"),u=n("7156"),c=n("3a9b"),d=n("d9b5"),h=n("c04e"),f=n("d039"),p=n("241c").f,g=n("06cf").f,v=n("9bf2").f,y=n("408a"),m=n("58a8").trim,b="Number",_=i[b],x=_.prototype,w=i.TypeError,S=o("".slice),M=o("".charCodeAt),O=function(t){var e=h(t,"number");return"bigint"==typeof e?e:C(e)},C=function(t){var e,n,r,i,o,a,s,l,u=h(t,"number");if(d(u))throw w("Cannot convert a Symbol value to a number");if("string"==typeof u&&u.length>2)if(u=m(u),43===(e=M(u,0))||45===e){if(88===(n=M(u,2))||120===n)return NaN}else if(48===e){switch(M(u,1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+u}for(a=(o=S(u,2)).length,s=0;si)return NaN;return parseInt(o,r)}return+u};if(a(b,!_(" 0o1")||!_("0b1")||_("+0x1"))){for(var I,T=function(t){var e=arguments.length<1?0:_(O(t)),n=this;return c(x,n)&&f((function(){y(n)}))?u(Object(e),n,T):e},A=r?p(_):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),D=0;A.length>D;D++)l(_,I=A[D])&&!l(T,I)&&v(T,I,g(_,I));T.prototype=x,x.constructor=T,s(i,b,T,{constructor:!0})}},aa1f:function(t,e,n){"use strict";var r=n("83ab"),i=n("d039"),o=n("825a"),a=n("7c73"),s=n("e391"),l=Error.prototype.toString,u=i((function(){if(r){var t=a(Object.defineProperty({},"name",{get:function(){return this===t}}));if("true"!==l.call(t))return!0}return"2: 1"!==l.call({message:1,name:2})||"Error"!==l.call({})}));t.exports=u?function(){var t=o(this),e=s(t.name,"Error"),n=s(t.message);return e?n?e+": "+n:e:n}:l},aa2f:function(t,e,n){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},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 r(t,e,n,r,i,o,a,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._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__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:u}}n.d(e,"a",(function(){return r}))},119:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("footer",{staticClass:"el-footer",style:{height:t.height}},[t._t("default")],2)};r._withStripped=!0;var i={name:"ElFooter",componentName:"ElFooter",props:{height:{type:String,default:"60px"}}},o=n(0),a=Object(o.a)(i,r,[],!1,null,null,null);a.options.__file="packages/footer/src/main.vue";var s=a.exports;s.install=function(t){t.component(s.name,s)},e.default=s}})},aaa5:function(t,e,n){},ab13:function(t,e,n){var r=n("b622")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,"/./"[t](e)}catch(t){}}return!1}},ab36:function(t,e,n){var r=n("861d"),i=n("9112");t.exports=function(t,e){r(e)&&"cause"in e&&i(t,"cause",e.cause)}},ac16:function(t,e,n){var r=n("23e7"),i=n("825a"),o=n("06cf").f;r({target:"Reflect",stat:!0},{deleteProperty:function(t,e){var n=o(i(t),e);return!(n&&!n.configurable)&&delete t[e]}})},ac1f:function(t,e,n){"use strict";var r=n("23e7"),i=n("9263");r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},acac:function(t,e,n){"use strict";var r=n("e330"),i=n("6964"),o=n("f183").getWeakData,a=n("825a"),s=n("861d"),l=n("19aa"),u=n("2266"),c=n("b727"),d=n("1a2d"),h=n("69f3"),f=h.set,p=h.getterFor,g=c.find,v=c.findIndex,y=r([].splice),m=0,b=function(t){return t.frozen||(t.frozen=new _)},_=function(){this.entries=[]},x=function(t,e){return g(t.entries,(function(t){return t[0]===e}))};_.prototype={get:function(t){var e=x(this,t);if(e)return e[1]},has:function(t){return!!x(this,t)},set:function(t,e){var n=x(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=v(this.entries,(function(e){return e[0]===t}));return~e&&y(this.entries,e,1),!!~e}},t.exports={getConstructor:function(t,e,n,r){var c=t((function(t,i){l(t,h),f(t,{type:e,id:m++,frozen:void 0}),null!=i&&u(i,t[r],{that:t,AS_ENTRIES:n})})),h=c.prototype,g=p(e),v=function(t,e,n){var r=g(t),i=o(a(e),!0);return!0===i?b(r).set(e,n):i[r.id]=n,t};return i(h,{delete:function(t){var e=g(this);if(!s(t))return!1;var n=o(t);return!0===n?b(e).delete(t):n&&d(n,e.id)&&delete n[e.id]},has:function(t){var e=g(this);if(!s(t))return!1;var n=o(t);return!0===n?b(e).has(t):n&&d(n,e.id)}}),i(h,n?{get:function(t){var e=g(this);if(s(t)){var n=o(t);return!0===n?b(e).get(t):n?n[e.id]:void 0}},set:function(t,e){return v(this,t,e)}}:{add:function(t){return v(this,t,!0)}}),c}}},accc:function(t,e,n){var r=n("23e7"),i=n("64e5");r({target:"Date",proto:!0,forced:Date.prototype.toISOString!==i},{toISOString:i})},acd8:function(t,e,n){var r=n("23e7"),i=n("7e12");r({global:!0,forced:parseFloat!=i},{parseFloat:i})},ace4:function(t,e,n){"use strict";var r=n("23e7"),i=n("e330"),o=n("d039"),a=n("621a"),s=n("825a"),l=n("23cb"),u=n("50c4"),c=n("4840"),d=a.ArrayBuffer,h=a.DataView,f=h.prototype,p=i(d.prototype.slice),g=i(f.getUint8),v=i(f.setUint8);r({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:o((function(){return!new d(2).slice(1,void 0).byteLength}))},{slice:function(t,e){if(p&&void 0===e)return p(s(this),t);for(var n=s(this).byteLength,r=l(t,n),i=l(void 0===e?n:e,n),o=new(c(this,d))(u(i-r)),a=new h(this),f=new h(o),y=0;r1&&null!=arguments[1]?g(arguments[1]):void 0,r=n?n.transfer:void 0;return void 0!==r&&(e=new B,ct(r,e)),lt(t,e)}})},ad41:function(t,e,n){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},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=57)}([function(t,e,n){"use strict";function r(t,e,n,r,i,o,a,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._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__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:u}}n.d(e,"a",(function(){return r}))},,function(t,e){t.exports=n("5924")},function(t,e){t.exports=n("8122")},,function(t,e){t.exports=n("e974")},function(t,e){t.exports=n("6b7c")},function(t,e){t.exports=n("2b0e")},function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"i",(function(){return s})),n.d(e,"d",(function(){return l})),n.d(e,"e",(function(){return u})),n.d(e,"c",(function(){return c})),n.d(e,"g",(function(){return d})),n.d(e,"f",(function(){return h})),n.d(e,"h",(function(){return p})),n.d(e,"l",(function(){return g})),n.d(e,"k",(function(){return v})),n.d(e,"j",(function(){return y})),n.d(e,"a",(function(){return m})),n.d(e,"m",(function(){return b})),n.d(e,"n",(function(){return _}));var r=n(3),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},o=function(t){for(var e=t.target;e&&"HTML"!==e.tagName.toUpperCase();){if("TD"===e.tagName.toUpperCase())return e;e=e.parentNode}return null},a=function(t){return null!==t&&"object"===(void 0===t?"undefined":i(t))},s=function(t,e,n,i,o){if(!e&&!i&&(!o||Array.isArray(o)&&!o.length))return t;n="string"==typeof n?"descending"===n?-1:1:n&&n<0?-1:1;var s=i?null:function(n,i){return o?(Array.isArray(o)||(o=[o]),o.map((function(e){return"string"==typeof e?Object(r.getValueByPath)(n,e):e(n,i,t)}))):("$key"!==e&&a(n)&&"$value"in n&&(n=n.$value),[a(n)?Object(r.getValueByPath)(n,e):n])};return t.map((function(t,e){return{value:t,index:e,key:s?s(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;ne.key[n])return 1}return 0}(t,e);return r||(r=t.index-e.index),r*n})).map((function(t){return t.value}))},l=function(t,e){var n=null;return t.columns.forEach((function(t){t.id===e&&(n=t)})),n},u=function(t,e){for(var n=null,r=0;r2&&void 0!==arguments[2]?arguments[2]:"children",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"hasChildren",i=function(t){return!(Array.isArray(t)&&t.length)};function o(t,a,s){e(t,a,s),a.forEach((function(t){if(t[r])e(t,null,s+1);else{var a=t[n];i(a)||o(t,a,s+1)}}))}t.forEach((function(t){if(t[r])e(t,null,0);else{var a=t[n];i(a)||o(t,a,0)}}))}},function(t,e){t.exports=n("7f4d")},,function(t,e){t.exports=n("2bb5")},function(t,e){t.exports=n("417f")},function(t,e){t.exports=n("5128")},,function(t,e){t.exports=n("14e9")},function(t,e){t.exports=n("4010")},,function(t,e){t.exports=n("0e15")},function(t,e){t.exports=n("dcdc")},,,,,,,,,,function(t,e){t.exports=n("299c")},,,,,,,,,function(t,e){t.exports=n("e62d")},function(t,e){t.exports=n("7fc1")},,,,function(t,e){t.exports=n("9619")},,,function(t,e){t.exports=n("c098")},,,,,,,,,,,function(t,e,n){"use strict";n.r(e);var r=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"})])};r._withStripped=!0;var i=n(19),o=n.n(i),a=n(43),s=n(16),l=n(46),u=n.n(l),c="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>-1,d={bind:function(t,e){!function(t,e){t&&t.addEventListener&&t.addEventListener(c?"DOMMouseScroll":"mousewheel",(function(t){var n=u()(t);e&&e.apply(this,[t,n])}))}(t,e.value)}},h=n(6),f=n.n(h),p=n(11),g=n.n(p),v=n(7),y=n.n(v),m=n(9),b=n.n(m),_=n(8),x={data:function(){return{states:{defaultExpandAll:!1,expandRows:[]}}},methods:{updateExpandRows:function(){var t=this.states,e=t.data,n=void 0===e?[]:e,r=t.rowKey,i=t.defaultExpandAll,o=t.expandRows;if(i)this.states.expandRows=n.slice();else if(r){var a=Object(_.f)(o,r);this.states.expandRows=n.reduce((function(t,e){var n=Object(_.g)(e,r);return a[n]&&t.push(e),t}),[])}else this.states.expandRows=[]},toggleRowExpansion:function(t,e){Object(_.m)(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,r=e.rowKey,i=Object(_.f)(n,r);this.states.expandRows=t.reduce((function(t,e){var n=i[e];return n&&t.push(n.row),t}),[])},isRowExpanded:function(t){var e=this.states,n=e.expandRows,r=void 0===n?[]:n,i=e.rowKey;return i?!!Object(_.f)(r,i)[Object(_.g)(t,i)]:-1!==r.indexOf(t)}}},w=n(3),S={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,r=void 0===n?[]:n,i=e.rowKey,o=null;i&&(o=Object(w.arrayFind)(r,(function(e){return Object(_.g)(e,i)===t}))),e.currentRow=o},updateCurrentRow:function(t){var e=this.states,n=this.table,r=e.currentRow;if(t&&t!==r)return e.currentRow=t,void n.$emit("current-change",t,r);!t&&r&&(e.currentRow=null,n.$emit("current-change",null,r))},updateCurrentRowData:function(){var t=this.states,e=this.table,n=t.rowKey,r=t._currentRowKey,i=t.data||[],o=t.currentRow;if(-1===i.indexOf(o)&&o){if(n){var a=Object(_.g)(o,n);this.setCurrentRowByKey(a)}else t.currentRow=null;null===t.currentRow&&e.$emit("current-change",null,o)}else r&&(this.setCurrentRowByKey(r),this.restoreCurrentRowKey())}}},M=Object.assign||function(t){for(var e=1;e0&&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 r=C(n),i=C(t.fixedColumns),o=C(t.rightFixedColumns);t.leafColumnsLength=r.length,t.fixedLeafColumnsLength=i.length,t.rightFixedLeafColumnsLength=o.length,t.columns=[].concat(i).concat(r).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,r=t.selection,i=void 0;if(n){i=[];var o=Object(_.f)(r,n),a=Object(_.f)(e,n);for(var s in o)o.hasOwnProperty(s)&&!a[s]&&i.push(o[s].row)}else i=r.filter((function(t){return-1===e.indexOf(t)}));if(i.length){var l=r.filter((function(t){return-1===i.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],r=Object(_.m)(this.states.selection,t,e);if(r){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,r=t.selection,i=t.selectOnIndeterminate?!t.isAllSelected:!(t.isAllSelected||r.length);t.isAllSelected=i;var o=!1;n.forEach((function(e,n){t.selectable?t.selectable.call(null,e,n)&&Object(_.m)(r,e,i)&&(o=!0):Object(_.m)(r,e,i)&&(o=!0)})),o&&this.table.$emit("selection-change",r?r.slice():[]),this.table.$emit("select-all",r)},updateSelectionByRowKey:function(){var t=this.states,e=t.selection,n=t.rowKey,r=t.data,i=Object(_.f)(e,n);r.forEach((function(t){var r=Object(_.g)(t,n),o=i[r];o&&(e[o.index]=t)}))},updateAllSelected:function(){var t=this.states,e=t.selection,n=t.rowKey,r=t.selectable,i=t.data||[];if(0!==i.length){var o=void 0;n&&(o=Object(_.f)(e,n));for(var a=function(t){return o?!!o[Object(_.g)(t,n)]:-1!==e.indexOf(t)},s=!0,l=0,u=0,c=i.length;u1?n-1:0),i=1;ithis.bodyHeight;return this.scrollY=r,n!==r}return!1},t.prototype.setHeight=function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"height";if(!y.a.prototype.$isServer){var r=this.table.$el;if(t=Object(_.j)(t),this.height=t,!r&&(t||0===t))return y.a.nextTick((function(){return e.setHeight(t,n)}));"number"==typeof t?(r.style[n]=t+"px",this.updateElsHeight()):"string"==typeof t&&(r.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 y.a.nextTick((function(){return t.updateElsHeight()}));var e=this.table.$refs,n=e.headerWrapper,r=e.appendWrapper,i=e.footerWrapper;if(this.appendHeight=r?r.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 y.a.nextTick((function(){return t.updateElsHeight()}));var l=this.tableHeight=this.table.$el.clientHeight,u=this.footerHeight=i?i.offsetHeight:0;null!==this.height&&(this.bodyHeight=l-s-u+(i?1:0)),this.fixedBodyHeight=this.scrollX?this.bodyHeight-this.gutterWidth:this.bodyHeight;var c=!(this.store.states.data&&this.store.states.data.length);this.viewportHeight=this.scrollX?l-(c?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(!y.a.prototype.$isServer){var t=this.fit,e=this.table.$el.clientWidth,n=0,r=this.getFlattenColumns(),i=r.filter((function(t){return"number"!=typeof t.width}));if(r.forEach((function(t){"number"==typeof t.width&&t.realWidth&&(t.realWidth=null)})),i.length>0&&t){r.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===i.length)i[0].realWidth=(i[0].minWidth||80)+a;else{var s=i.reduce((function(t,e){return t+(e.minWidth||80)}),0),l=a/s,u=0;i.forEach((function(t,e){if(0!==e){var n=Math.floor((t.minWidth||80)*l);u+=n,t.realWidth=(t.minWidth||80)+n}})),i[0].realWidth=(i[0].minWidth||80)+a-u}}else this.scrollX=!0,i.forEach((function(t){t.realWidth=t.minWidth}));this.bodyWidth=Math.max(n,e),this.table.resizeState.width=this.bodyWidth}else r.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 d=0;c.forEach((function(t){d+=t.realWidth||t.width})),this.fixedWidth=d}var h=this.store.states.rightFixedColumns;if(h.length>0){var f=0;h.forEach((function(t){f+=t.realWidth||t.width})),this.rightFixedWidth=f}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}(),N=L,P=n(2),R=n(29),z=n.n(R),V={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(),r={};n.forEach((function(t){r[t.id]=t}));for(var i=0,o=e.length;i col[name=gutter]"),n=0,r=e.length;n=this.leftFixedLeafCount:"right"===this.fixed?t=this.columnsCount-this.rightFixedLeafCount},getSpan:function(t,e,n,r){var i=1,o=1,a=this.table.spanMethod;if("function"==typeof a){var s=a({row:t,column:e,rowIndex:n,columnIndex:r});Array.isArray(s)?(i=s[0],o=s[1]):"object"===(void 0===s?"undefined":H(s))&&(i=s.rowspan,o=s.colspan)}return{rowspan:i,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 r=this.table.rowClassName;return"string"==typeof r?n.push(r):"function"==typeof r&&n.push(r.call(null,{row:t,rowIndex:e})),this.store.states.expandRows.indexOf(t)>-1&&n.push("expanded"),n},getCellStyle:function(t,e,n,r){var i=this.table.cellStyle;return"function"==typeof i?i.call(null,{rowIndex:t,columnIndex:e,row:n,column:r}):i},getCellClass:function(t,e,n,r){var i=[r.id,r.align,r.className];this.isColumnHidden(e)&&i.push("is-hidden");var o=this.table.cellClassName;return"string"==typeof o?i.push(o):"function"==typeof o&&i.push(o.call(null,{rowIndex:t,columnIndex:e,row:n,column:r})),i.push("el-table__cell"),i.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,r=Object(_.b)(t);if(r){var i=Object(_.c)(n,r),o=n.hoverState={cell:r,column:i,row:e};n.$emit("cell-mouse-enter",o.row,o.column,o.cell,t)}var a=t.target.querySelector(".cell");if(Object(P.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(P.getStyle)(a,"paddingLeft"),10)||0)+(parseInt(Object(P.getStyle)(a,"paddingRight"),10)||0))>a.offsetWidth||a.scrollWidth>a.offsetWidth)&&this.$refs.tooltip){var l=this.$refs.tooltip;this.tooltipContent=r.innerText||r.textContent,l.referenceElm=r,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()),Object(_.b)(t)){var n=this.table.hoverState||{};this.table.$emit("cell-mouse-leave",n.row,n.column,n.cell,t)}},handleMouseEnter:D()(30,(function(t){this.store.commit("setHoverRow",t)})),handleMouseLeave:D()(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 r=this.table,i=Object(_.b)(t),o=void 0;i&&((o=Object(_.c)(r,i))&&r.$emit("cell-"+n,e,o,i,t)),r.$emit("row-"+n,e,o,t)},rowRender:function(t,e,n){var r=this,i=this.$createElement,o=this.treeIndent,a=this.columns,s=this.firstDefaultColumnIndex,l=this.getRowClass(t,e),u=!0;return n&&(l.push("el-table__row--level-"+n.level),u=n.display),i(F,{style:[u?null:{display:"none"},this.getRowStyle(t,e)],class:l,key:this.getKeyOfRow(t,e),nativeOn:{dblclick:function(e){return r.handleDoubleClick(e,t)},click:function(e){return r.handleClick(e,t)},contextmenu:function(e){return r.handleContextMenu(e,t)},mouseenter:function(t){return r.handleMouseEnter(e)},mouseleave:this.handleMouseLeave},attrs:{columns:a,row:t,index:e,store:this.store,context:this.context||this.table.$vnode.context,firstDefaultColumnIndex:s,treeRowData:n,treeIndent:o,columnsHidden:this.columnsHidden,getSpan:this.getSpan,getColspanRealWidth:this.getColspanRealWidth,getCellStyle:this.getCellStyle,getCellClass:this.getCellClass,handleCellMouseEnter:this.handleCellMouseEnter,handleCellMouseLeave:this.handleCellMouseLeave,isSelected:this.store.isSelected(t),isExpanded:this.store.states.expandRows.indexOf(t)>-1,fixed:this.fixed}})},wrappedRowRender:function(t,e){var n=this,r=this.$createElement,i=this.store,o=i.isRowExpanded,a=i.assertRowKey,s=i.states,l=s.treeData,u=s.lazyTreeNodeMap,c=s.childrenColumnName,d=s.rowKey;if(this.hasExpandColumn&&o(t)){var h=this.table.renderExpanded,f=this.rowRender(t,e);return h?[[f,r("tr",{key:"expanded-row__"+f.key},[r("td",{attrs:{colspan:this.columnsCount},class:"el-table__cell el-table__expanded-cell"},[h(this.$createElement,{row:t,$index:e,store:this.store})])])]]:f}if(Object.keys(l).length){a();var p=Object(_.g)(t,d),g=l[p],v=null;g&&(v={expanded:g.expanded,level:g.level,display:!0},"boolean"==typeof g.lazy&&("boolean"==typeof g.loaded&&g.loaded&&(v.noLazyChildren=!(g.children&&g.children.length)),v.loading=g.loading));var y=[this.rowRender(t,e,v)];if(g){var m=0;g.display=!0,function t(r,i){r&&r.length&&i&&r.forEach((function(r){var o={display:i.display&&i.expanded,level:i.level+1},a=Object(_.g)(r,d);if(null==a)throw new Error("for nested data item, row-key is required.");if((g=W({},l[a]))&&(o.expanded=g.expanded,g.level=g.level||o.level,g.display=!(!g.expanded||!o.display),"boolean"==typeof g.lazy&&("boolean"==typeof g.loaded&&g.loaded&&(o.noLazyChildren=!(g.children&&g.children.length)),o.loading=g.loading)),m++,y.push(n.rowRender(r,e+m,o)),g){var s=u[a]||r[c];t(s,g)}}))}(u[p]||t[c],g)}return y}return this.rowRender(t,e)}}},G=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)])])};G._withStripped=!0;var Y=n(5),$=n.n(Y),X=n(13),Z=n(12),q=n.n(Z),Q=[];!y.a.prototype.$isServer&&document.addEventListener("click",(function(t){Q.forEach((function(e){var n=t.target;e&&e.$el&&(n===e.$el||e.$el.contains(n)||e.handleOutsideClick&&e.handleOutsideClick(t))}))}));var J=function(t){t&&Q.push(t)},K=function(t){-1!==Q.indexOf(t)&&Q.splice(t,1)},tt=n(39),et=n.n(tt),nt=n(15),rt=n.n(nt),it={name:"ElTableFilterPanel",mixins:[$.a,f.a],directives:{Clickoutside:q.a},components:{ElCheckbox:o.a,ElCheckboxGroup:et.a,ElScrollbar:rt.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,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&&(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?J(t):K(t)}))},watch:{showPopper:function(t){!0===t&&parseInt(this.popperJS._popper.style.zIndex,10)1;return i&&(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":i,"has-gutter":this.hasGutter}]},[this._l(r,(function(n,r){return t("tr",{style:e.getHeaderRowStyle(r),class:e.getHeaderRowClass(r)},[n.map((function(i,o){return t("th",{attrs:{colspan:i.colSpan,rowspan:i.rowSpan},on:{mousemove:function(t){return e.handleMouseMove(t,i)},mouseout:e.handleMouseOut,mousedown:function(t){return e.handleMouseDown(t,i)},click:function(t){return e.handleHeaderClick(t,i)},contextmenu:function(t){return e.handleHeaderContextMenu(t,i)}},style:e.getHeaderCellStyle(r,o,n,i),class:e.getHeaderCellClass(r,o,n,i),key:i.id},[t("div",{class:["cell",i.filteredValue&&i.filteredValue.length>0?"highlight":"",i.labelClassName]},[i.renderHeader?i.renderHeader.call(e._renderProxy,t,{column:i,$index:o,store:e.store,_self:e.$parent.$vnode.context}):i.label,i.sortable?t("span",{class:"caret-wrapper",on:{click:function(t){return e.handleSortClick(t,i)}}},[t("i",{class:"sort-caret ascending",on:{click:function(t){return e.handleSortClick(t,i,"ascending")}}}),t("i",{class:"sort-caret descending",on:{click:function(t){return e.handleSortClick(t,i,"descending")}}})]):"",i.filterable?t("span",{class:"el-table__column-filter-trigger",on:{click:function(t){return e.handleFilterClick(t,i)}}},[t("i",{class:["el-icon-arrow-down",i.filterOpened?"el-icon-arrow-up":""]})]):""])])})),e.hasGutter?t("th",{class:"el-table__cell gutter"}):""])}))])])},props:{fixed:String,store:{required:!0},border:Boolean,defaultSort:{type:Object,default:function(){return{prop:"",order:""}}}},components:{ElCheckbox:o.a},computed:ut({table:function(){return this.$parent},hasGutter:function(){return!this.fixed&&this.tableLayout.gutterWidth}},k({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,r=e.order;t.store.commit("sort",{prop:n,order:r,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,r=0;r=this.leftFixedLeafCount:"right"===this.fixed?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,r){var i=this.table.headerCellStyle;return"function"==typeof i?i.call(null,{rowIndex:t,columnIndex:e,row:n,column:r}):i},getHeaderCellClass:function(t,e,n,r){var i=[r.id,r.order,r.headerAlign,r.className,r.labelClassName];0===t&&this.isCellHidden(e,n)&&i.push("is-hidden"),r.children||i.push("is-leaf"),r.sortable&&i.push("is-sortable");var o=this.table.headerCellClassName;return"string"==typeof o?i.push(o):"function"==typeof o&&i.push(o.call(null,{rowIndex:t,columnIndex:e,row:n,column:r})),i.push("el-table__cell"),i.join(" ")},toggleAllSelection:function(){this.store.commit("toggleAllSelection")},handleFilterClick:function(t,e){t.stopPropagation();var n=t.target,r="TH"===n.tagName?n:n.parentNode;if(!Object(P.hasClass)(r,"noclick")){r=r.querySelector(".el-table__column-filter-trigger")||r;var i=this.$parent,o=this.filterPanels[e.id];o&&e.filterOpened?o.showPopper=!1:(o||(o=new y.a(lt),this.filterPanels[e.id]=o,e.filterPlacement&&(o.placement=e.filterPlacement),o.table=i,o.cell=r,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 r=this.$parent,i=r.$el.getBoundingClientRect().left,o=this.$el.querySelector("th."+e.id),a=o.getBoundingClientRect(),s=a.left-i+30;Object(P.addClass)(o,"noclick"),this.dragState={startMouseLeft:t.clientX,startLeft:a.right-i,startColumnLeft:a.left-i,tableLeft:i};var l=r.$refs.resizeProxy;l.style.left=this.dragState.startLeft+"px",document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};var u=function(t){var e=t.clientX-n.dragState.startMouseLeft,r=n.dragState.startLeft+e;l.style.left=Math.max(s,r)+"px"};document.addEventListener("mousemove",u),document.addEventListener("mouseup",(function i(){if(n.dragging){var a=n.dragState,s=a.startColumnLeft,c=a.startLeft,d=parseInt(l.style.left,10)-s;e.width=e.realWidth=d,r.$emit("header-dragend",e.width,c-s,e,t),n.store.scheduleLayout(),document.body.style.cursor="",n.dragging=!1,n.draggingColumn=null,n.dragState={},r.resizeProxyVisible=!1}document.removeEventListener("mousemove",u),document.removeEventListener("mouseup",i),document.onselectstart=null,document.ondragstart=null,setTimeout((function(){Object(P.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 r=n.getBoundingClientRect(),i=document.body.style;r.width>12&&r.right-t.pageX<8?(i.cursor="col-resize",Object(P.hasClass)(n,"is-sortable")&&(n.style.cursor="col-resize"),this.draggingColumn=e):this.dragging||(i.cursor="",Object(P.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 r=n.indexOf(e||null);return n[r>n.length-2?0:r+1]},handleSortClick:function(t,e,n){t.stopPropagation();for(var r=e.order===n?null:n||this.toggleOrder(e),i=t.target;i&&"TH"!==i.tagName;)i=i.parentNode;if(i&&"TH"===i.tagName&&Object(P.hasClass)(i,"noclick"))Object(P.removeClass)(i,"noclick");else if(e.sortable){var o,a=this.store.states,s=a.sortProp,l=a.sortingColumn;(l!==e||l===e&&null===l.order)&&(l&&(l.order=null),a.sortingColumn=e,s=e.property),o=e.order=r||null,a.sortProp=s,a.sortOrder=o,this.store.commit("changeSortCondition")}}},data:function(){return{draggingColumn:null,dragging:!1,dragState:{}}}},ft=Object.assign||function(t){for(var e=1;e=this.leftFixedLeafCount;if("right"===this.fixed){for(var r=0,i=0;i=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}}},gt=Object.assign||function(t){for(var e=1;e0){var r=n.scrollTop;e.pixelY<0&&0!==r&&t.preventDefault(),e.pixelY>0&&n.scrollHeight-n.clientHeight>r&&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,r=e.pixelY;Math.abs(n)>=Math.abs(r)&&(this.bodyWrapper.scrollLeft+=e.pixelX/5)},syncPostion:Object(a.throttle)(20,(function(){var t=this.bodyWrapper,e=t.scrollLeft,n=t.scrollTop,r=t.offsetWidth,i=t.scrollWidth,o=this.$refs,a=o.headerWrapper,s=o.footerWrapper,l=o.fixedBodyWrapper,u=o.rightFixedBodyWrapper;a&&(a.scrollLeft=e),s&&(s.scrollLeft=e),l&&(l.scrollTop=n),u&&(u.scrollTop=n);var c=i-r-1;this.scrollPosition=e>=c?"right":0===e?"left":"middle"})),bindEvents:function(){this.bodyWrapper.addEventListener("scroll",this.syncPostion,{passive:!0}),this.fit&&Object(s.addResizeListener)(this.$el,this.resizeListener)},unbindEvents:function(){this.bodyWrapper.removeEventListener("scroll",this.syncPostion,{passive:!0}),this.fit&&Object(s.removeResizeListener)(this.$el,this.resizeListener)},resizeListener:function(){if(this.$ready){var t=!1,e=this.$el,n=this.resizeState,r=n.width,i=n.height,o=e.offsetWidth;r!==o&&(t=!0);var a=e.offsetHeight;(this.height||this.shouldUpdateHeight)&&i!==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:gt({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,r=t.gutterWidth;return e?e-(n?r:0)+"px":""},bodyHeight:function(){var t=this.layout,e=t.headerHeight,n=void 0===e?0:e,r=t.bodyHeight,i=t.footerHeight,o=void 0===i?0:i;if(this.height)return{height:r?r+"px":""};if(this.maxHeight){var a=Object(_.j)(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=Object(_.j)(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}}},k({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_"+vt++,this.debouncedUpdateLayout=Object(a.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,r=t.children,i=void 0===r?"children":r;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 T;return n.table=t,n.toggleAllSelection=D()(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:i}),{layout:new N({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"}}},mt=yt,bt=Object(at.a)(mt,r,[],!1,null,null,null);bt.options.__file="packages/table/src/table.vue";var _t=bt.exports;_t.install=function(t){t.component(_t.name,_t)},e.default=_t}])},ad6d:function(t,e,n){"use strict";var r=n("825a");t.exports=function(){var t=r(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},addb:function(t,e,n){var r=n("4dae"),i=Math.floor,o=function(t,e){var n=t.length,l=i(n/2);return n<8?a(t,e):s(t,o(r(t,0,l),e),o(r(t,l),e),e)},a=function(t,e){for(var n,r,i=t.length,o=1;o0;)t[r]=t[--r];r!==o++&&(t[r]=n)}return t},s=function(t,e,n,r){for(var i=e.length,o=n.length,a=0,s=0;a=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 r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return F(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return H(t).length;default:if(r)return F(t).length;e=(""+e).toLowerCase(),r=!0}}function g(t,e,n){var r=!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 D(this,e,n);case"utf8":case"utf-8":return C(this,e,n);case"ascii":return T(this,e,n);case"latin1":case"binary":return A(this,e,n);case"base64":return O(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function v(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function y(t,e,n,r,i){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof e&&(e=l.from(e,r)),l.isBuffer(e))return 0===e.length?-1:m(t,e,n,r,i);if("number"==typeof e)return e&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):m(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function m(t,e,n,r,i){var o,a=1,s=t.length,l=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;a=2,s/=2,l/=2,n/=2}function u(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){var c=-1;for(o=n;os&&(n=s-l),o=n;o>=0;o--){for(var d=!0,h=0;hi&&(r=i):r=i;var o=e.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a>8,i=n%256,o.push(i),o.push(r);return o}(e,t.length-n),t,n,r)}function O(t,e,n){return 0===e&&n===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(e,n))}function C(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;i239?4:u>223?3:u>191?2:1;if(i+d<=n)switch(d){case 1:u<128&&(c=u);break;case 2:128==(192&(o=t[i+1]))&&((l=(31&u)<<6|63&o)>127&&(c=l));break;case 3:o=t[i+1],a=t[i+2],128==(192&o)&&128==(192&a)&&((l=(15&u)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(c=l));break;case 4:o=t[i+1],a=t[i+2],s=t[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&((l=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(c=l))}null===c?(c=65533,d=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=d}return function(t){var e=t.length;if(e<=I)return String.fromCharCode.apply(String,t);var n="",r=0;for(;r0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),""},l.prototype.compare=function(t,e,n,r,i){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===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(this===t)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(e>>>=0),s=Math.min(o,a),u=this.slice(r,i),c=t.slice(e,n),d=0;di)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return b(this,t,e,n);case"utf8":case"utf-8":return _(this,t,e,n);case"ascii":return x(this,t,e,n);case"latin1":case"binary":return w(this,t,e,n);case"base64":return S(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var I=4096;function T(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;ir)&&(n=r);for(var i="",o=e;on)throw new RangeError("Trying to access beyond buffer length")}function E(t,e,n,r,i,o){if(!l.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||et.length)throw new RangeError("Index out of range")}function L(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);i>>8*(r?i:1-i)}function N(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-n,4);i>>8*(r?i:3-i)&255}function P(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function R(t,e,n,r,o){return o||P(t,0,n,4),i.write(t,e,n,r,23,4),n+4}function z(t,e,n,r,o){return o||P(t,0,n,8),i.write(t,e,n,r,52,8),n+8}l.prototype.slice=function(t,e){var n,r=this.length;if((t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e0&&(i*=256);)r+=this[t+--e]*i;return r},l.prototype.readUInt8=function(t,e){return e||j(t,1,this.length),this[t]},l.prototype.readUInt16LE=function(t,e){return e||j(t,2,this.length),this[t]|this[t+1]<<8},l.prototype.readUInt16BE=function(t,e){return e||j(t,2,this.length),this[t]<<8|this[t+1]},l.prototype.readUInt32LE=function(t,e){return e||j(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||j(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||j(t,e,this.length);for(var r=this[t],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*e)),r},l.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||j(t,e,this.length);for(var r=e,i=1,o=this[t+--r];r>0&&(i*=256);)o+=this[t+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},l.prototype.readInt8=function(t,e){return e||j(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},l.prototype.readInt16LE=function(t,e){e||j(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||j(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||j(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||j(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||j(t,4,this.length),i.read(this,t,!0,23,4)},l.prototype.readFloatBE=function(t,e){return e||j(t,4,this.length),i.read(this,t,!1,23,4)},l.prototype.readDoubleLE=function(t,e){return e||j(t,8,this.length),i.read(this,t,!0,52,8)},l.prototype.readDoubleBE=function(t,e){return e||j(t,8,this.length),i.read(this,t,!1,52,8)},l.prototype.writeUIntLE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||E(this,t,e,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[e]=255&t;++o=0&&(o*=256);)this[e+i]=t/o&255;return e+n},l.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||E(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||E(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):L(this,t,e,!0),e+2},l.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||E(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):L(this,t,e,!1),e+2},l.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||E(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):N(this,t,e,!0),e+4},l.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||E(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):N(this,t,e,!1),e+4},l.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);E(this,t,e,n,i-1,-i)}var o=0,a=1,s=0;for(this[e]=255&t;++o>0)-s&255;return e+n},l.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);E(this,t,e,n,i-1,-i)}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||E(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||E(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):L(this,t,e,!0),e+2},l.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||E(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):L(this,t,e,!1),e+2},l.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||E(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):N(this,t,e,!0),e+4},l.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||E(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):N(this,t,e,!1),e+4},l.prototype.writeFloatLE=function(t,e,n){return R(this,t,e,!0,n)},l.prototype.writeFloatBE=function(t,e,n){return R(this,t,e,!1,n)},l.prototype.writeDoubleLE=function(t,e,n){return z(this,t,e,!0,n)},l.prototype.writeDoubleBE=function(t,e,n){return z(this,t,e,!1,n)},l.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e=0;--i)t[i+e]=this[i+n];else if(o<1e3||!l.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(o=e;o55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=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 H(t){return r.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(V,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function W(t,e,n,r){for(var i=0;i=e.length||i>=t.length);++i)e[i+n]=t[i];return i}}).call(this,n("c8ba"))},b64b:function(t,e,n){var r=n("23e7"),i=n("7b0b"),o=n("df75");r({target:"Object",stat:!0,forced:n("d039")((function(){o(1)}))},{keys:function(t){return o(i(t))}})},b65f:function(t,e,n){var r=n("23e7"),i=Math.ceil,o=Math.floor;r({target:"Math",stat:!0},{trunc:function(t){return(t>0?o:i)(t)}})},b680:function(t,e,n){"use strict";var r=n("23e7"),i=n("da84"),o=n("e330"),a=n("5926"),s=n("408a"),l=n("1148"),u=n("d039"),c=i.RangeError,d=i.String,h=Math.floor,f=o(l),p=o("".slice),g=o(1..toFixed),v=function(t,e,n){return 0===e?n:e%2==1?v(t,e-1,n*t):v(t*t,e/2,n)},y=function(t,e,n){for(var r=-1,i=n;++r<6;)i+=e*t[r],t[r]=i%1e7,i=h(i/1e7)},m=function(t,e){for(var n=6,r=0;--n>=0;)r+=t[n],t[n]=h(r/e),r=r%e*1e7},b=function(t){for(var e=6,n="";--e>=0;)if(""!==n||0===e||0!==t[e]){var r=d(t[e]);n=""===n?r:n+f("0",7-r.length)+r}return n};r({target:"Number",proto:!0,forced:u((function(){return"0.000"!==g(8e-5,3)||"1"!==g(.9,0)||"1.25"!==g(1.255,2)||"1000000000000000128"!==g(0xde0b6b3a7640080,0)}))||!u((function(){g({})}))},{toFixed:function(t){var e,n,r,i,o=s(this),l=a(t),u=[0,0,0,0,0,0],h="",g="0";if(l<0||l>20)throw c("Incorrect fraction digits");if(o!=o)return"NaN";if(o<=-1e21||o>=1e21)return d(o);if(o<0&&(h="-",o=-o),o>1e-21)if(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(o*v(2,69,1))-69,n=e<0?o*v(2,-e,1):o/v(2,e,1),n*=4503599627370496,(e=52-e)>0){for(y(u,0,n),r=l;r>=7;)y(u,1e7,0),r-=7;for(y(u,v(10,r,1),0),r=e-1;r>=23;)m(u,1<<23),r-=23;m(u,1<0?g=h+((i=g.length)<=l?"0."+f("0",l-i)+g:p(g,0,i-l)+"."+p(g,i-l)):g=h+g,g}})},b6b7:function(t,e,n){var r=n("ebb5"),i=n("4840"),o=r.TYPED_ARRAY_CONSTRUCTOR,a=r.aTypedArrayConstructor;t.exports=function(t){return a(i(t,t[o]))}},b727:function(t,e,n){var r=n("0366"),i=n("e330"),o=n("44ad"),a=n("7b0b"),s=n("07fa"),l=n("65f0"),u=i([].push),c=function(t){var e=1==t,n=2==t,i=3==t,c=4==t,d=6==t,h=7==t,f=5==t||d;return function(p,g,v,y){for(var m,b,_=a(p),x=o(_),w=r(g,v),S=s(x),M=0,O=y||l,C=e?O(p,S):n||h?O(p,0):void 0;S>M;M++)if((f||M in x)&&(b=w(m=x[M],M,_),t))if(e)C[M]=b;else if(b)switch(t){case 3:return!0;case 5:return m;case 6:return M;case 2:u(C,m)}else switch(t){case 4:return!1;case 7:u(C,m)}return d?-1:i||c?c:C}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},b7ef:function(t,e,n){"use strict";var r=n("23e7"),i=n("d066"),o=n("5c6c"),a=n("9bf2").f,s=n("1a2d"),l=n("19aa"),u=n("7156"),c=n("e391"),d=n("cf98"),h=n("c770"),f=n("c430"),p="DOMException",g=i("Error"),v=i(p),y=function(){l(this,m);var t=arguments.length,e=c(t<1?void 0:arguments[0]),n=c(t<2?void 0:arguments[1],"Error"),r=new v(e,n),i=g(e);return i.name=p,a(r,"stack",o(1,h(i.stack,1))),u(r,this,y),r},m=y.prototype=v.prototype,b="stack"in g(p),_="stack"in new v(1,2),x=b&&!_;r({global:!0,constructor:!0,forced:f||x},{DOMException:x?y:v});var w=i(p),S=w.prototype;if(S.constructor!==w)for(var M in f||a(S,"constructor",o(1,w)),d)if(s(d,M)){var O=d[M],C=O.s;s(w,C)||a(w,C,o(6,O.c))}},b917:function(t,e){for(var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",r={},i=0;i<66;i++)r[n.charAt(i)]=i;t.exports={itoc:n,ctoi:r}},b980:function(t,e,n){var r=n("d039"),i=n("5c6c");t.exports=!r((function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",i(1,7)),7!==t.stack)}))},baa5:function(t,e,n){var r=n("23e7"),i=n("e58c");r({target:"Array",proto:!0,forced:i!==[].lastIndexOf},{lastIndexOf:i})},bb2f:function(t,e,n){var r=n("d039");t.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},bb56:function(t,e,n){"use strict";var r=n("23e7"),i=n("da84"),o=n("3a9b"),a=n("e163"),s=n("d2bb"),l=n("e893"),u=n("7c73"),c=n("9112"),d=n("5c6c"),h=n("c770"),f=n("ab36"),p=n("2266"),g=n("e391"),v=n("b622"),y=n("b980"),m=v("toStringTag"),b=i.Error,_=[].push,x=function(t,e){var n,r=arguments.length>2?arguments[2]:void 0,i=o(w,this);s?n=s(new b,i?a(this):w):(n=i?this:u(w),c(n,m,"Error")),void 0!==e&&c(n,"message",g(e)),y&&c(n,"stack",h(n.stack,1)),f(n,r);var l=[];return p(t,_,{that:l}),c(n,"errors",l),n};s?s(x,b):l(x,b,{name:!0});var w=x.prototype=u(b.prototype,{constructor:d(1,x),message:d(1,""),name:d(1,"AggregateError")});r({global:!0,constructor:!0,arity:2},{AggregateError:x})},bc01:function(t,e,n){var r=n("23e7"),i=n("d039"),o=Math.imul;r({target:"Math",stat:!0,forced:i((function(){return-5!=o(4294967295,5)||2!=o.length}))},{imul:function(t,e){var n=65535,r=+t,i=+e,o=n&r,a=n&i;return 0|o*a+((n&r>>>16)*a+o*(n&i>>>16)<<16>>>0)}})},bdc7:function(t,e,n){},be4f:function(t,e,n){},be8e:function(t,e,n){var r=n("f748"),i=Math.abs,o=Math.pow,a=o(2,-52),s=o(2,-23),l=o(2,127)*(2-s),u=o(2,-126);t.exports=Math.fround||function(t){var e,n,o=i(t),c=r(t);return ol||n!=n?c*(1/0):c*n}},bf19:function(t,e,n){"use strict";var r=n("23e7"),i=n("c65b");r({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return i(URL.prototype.toString,this)}})},bf96:function(t,e,n){"use strict";var r=n("23e7"),i=n("83ab"),o=n("eb1d"),a=n("7b0b"),s=n("a04b"),l=n("e163"),u=n("06cf").f;i&&r({target:"Object",proto:!0,forced:o},{__lookupGetter__:function(t){var e,n=a(this),r=s(t);do{if(e=u(n,r))return e.get}while(n=l(n))}})},c04e:function(t,e,n){var r=n("da84"),i=n("c65b"),o=n("861d"),a=n("d9b5"),s=n("dc4a"),l=n("485a"),u=n("b622"),c=r.TypeError,d=u("toPrimitive");t.exports=function(t,e){if(!o(t)||a(t))return t;var n,r=s(t,d);if(r){if(void 0===e&&(e="default"),n=i(r,t,e),!o(n)||a(n))return n;throw c("Can't convert object to primitive value")}return void 0===e&&(e="number"),l(t,e)}},c098:function(t,e,n){t.exports=n("d4af")},c12b:function(t,e,n){},c19f:function(t,e,n){"use strict";var r=n("23e7"),i=n("da84"),o=n("621a"),a=n("2626"),s="ArrayBuffer",l=o[s];r({global:!0,constructor:!0,forced:i[s]!==l},{ArrayBuffer:l}),a(s)},c1ac:function(t,e,n){"use strict";var r=n("ebb5"),i=n("b727").filter,o=n("1448"),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("filter",(function(t){var e=i(a(this),t,arguments.length>1?arguments[1]:void 0);return o(this,e)}))},c1f9:function(t,e,n){var r=n("23e7"),i=n("2266"),o=n("8418");r({target:"Object",stat:!0},{fromEntries:function(t){var e={};return i(t,(function(t,n){o(e,t,n)}),{AS_ENTRIES:!0}),e}})},c20d:function(t,e,n){var r=n("da84"),i=n("d039"),o=n("e330"),a=n("577e"),s=n("58a8").trim,l=n("5899"),u=r.parseInt,c=r.Symbol,d=c&&c.iterator,h=/^[+-]?0x/i,f=o(h.exec),p=8!==u(l+"08")||22!==u(l+"0x16")||d&&!i((function(){u(Object(d))}));t.exports=p?function(t,e){var n=s(a(t));return u(n,e>>>0||(f(h,n)?16:10))}:u},c2cc:function(t,e){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},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=138)}({138:function(t,e,n){"use strict";n.r(e);var 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},i={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"===r(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(i.name,i)}};e.default=i}})},c35a:function(t,e,n){var r=n("23e7"),i=n("7e12");r({target:"Number",stat:!0,forced:Number.parseFloat!=i},{parseFloat:i})},c430:function(t,e){t.exports=!1},c513:function(t,e,n){var r=n("23e7"),i=n("1a2d"),o=n("d9b5"),a=n("0d51"),s=n("5692"),l=n("3d87"),u=s("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!l},{keyFor:function(t){if(!o(t))throw TypeError(a(t)+" is not a symbol");if(i(u,t))return u[t]}})},c56a: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,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!t||!e)throw new Error("instance & callback is required");var i=!1,o=function(){i||(i=!0,e&&e.apply(null,arguments))};r?t.$once("after-leave",o):t.$on("after-leave",o),setTimeout((function(){o()}),n+100)}},c607:function(t,e,n){var r=n("da84"),i=n("83ab"),o=n("fce3"),a=n("c6b6"),s=n("edd0"),l=n("69f3").get,u=RegExp.prototype,c=r.TypeError;i&&o&&s(u,"dotAll",{configurable:!0,get:function(){if(this!==u){if("RegExp"===a(this))return!!l(this).dotAll;throw c("Incompatible receiver, RegExp required")}}})},c60d:function(t,e,n){var r=n("1a2d");t.exports=function(t){return void 0!==t&&(r(t,"value")||r(t,"writable"))}},c65b:function(t,e,n){var r=n("40d5"),i=Function.prototype.call;t.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},c69e:function(t,e,n){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},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=118)}({0:function(t,e,n){"use strict";function r(t,e,n,r,i,o,a,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._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__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:u}}n.d(e,"a",(function(){return r}))},118:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("main",{staticClass:"el-main"},[t._t("default")],2)};r._withStripped=!0;var i={name:"ElMain",componentName:"ElMain"},o=n(0),a=Object(o.a)(i,r,[],!1,null,null,null);a.options.__file="packages/main/src/main.vue";var s=a.exports;s.install=function(t){t.component(s.name,s)},e.default=s}})},c6b6:function(t,e,n){var r=n("e330"),i=r({}.toString),o=r("".slice);t.exports=function(t){return o(i(t),8,-1)}},c6cd:function(t,e,n){var r=n("da84"),i=n("ce4e"),o="__core-js_shared__",a=r[o]||i(o,{});t.exports=a},c740:function(t,e,n){"use strict";var r=n("23e7"),i=n("b727").findIndex,o=n("44d2"),a="findIndex",s=!0;a in[]&&Array(1)[a]((function(){s=!1})),r({target:"Array",proto:!0,forced:s},{findIndex:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o(a)},c760:function(t,e,n){n("23e7")({target:"Reflect",stat:!0},{has:function(t,e){return e in t}})},c770:function(t,e,n){var r=n("e330"),i=Error,o=r("".replace),a=String(i("zxcasd").stack),s=/\n\s*at [^:]*:[^\n]*/,l=s.test(a);t.exports=function(t,e){if(l&&"string"==typeof t&&!i.prepareStackTrace)for(;e--;)t=o(t,s,"");return t}},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},c8d2:function(t,e,n){var r=n("5e77").PROPER,i=n("d039"),o=n("5899");t.exports=function(t){return i((function(){return!!o[t]()||"​…᠎"!=="​…᠎"[t]()||r&&o[t].name!==t}))}},c906:function(t,e,n){var r=n("23e7"),i=n("4fad");r({target:"Object",stat:!0,forced:Object.isExtensible!==i},{isExtensible:i})},c975:function(t,e,n){"use strict";var r=n("23e7"),i=n("e330"),o=n("4d64").indexOf,a=n("a640"),s=i([].indexOf),l=!!s&&1/s([1],1,-0)<0,u=a("indexOf");r({target:"Array",proto:!0,forced:l||!u},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return l?s(this,t,e)||0:o(this,t,e)}})},ca21:function(t,e,n){n("23e7")({target:"Math",stat:!0},{log1p:n("1ec1")})},ca84:function(t,e,n){var r=n("e330"),i=n("1a2d"),o=n("fc6a"),a=n("4d64").indexOf,s=n("d012"),l=r([].push);t.exports=function(t,e){var n,r=o(t),u=0,c=[];for(n in r)!i(s,n)&&i(r,n)&&l(c,n);for(;e.length>u;)i(r,n=e[u++])&&(~a(c,n)||l(c,n));return c}},ca91:function(t,e,n){"use strict";var r=n("ebb5"),i=n("d58f").left,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduce",(function(t){var e=arguments.length;return i(o(this),t,e,e>1?arguments[1]:void 0)}))},caad:function(t,e,n){"use strict";var r=n("23e7"),i=n("4d64").includes,o=n("d039"),a=n("44d2");r({target:"Array",proto:!0,forced:o((function(){return!Array(1).includes()}))},{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),a("includes")},cad8:function(t,e,n){var r=n("23e7"),i=n("cb4c");r({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==i},{trimRight:i})},cb29:function(t,e,n){var r=n("23e7"),i=n("81d5"),o=n("44d2");r({target:"Array",proto:!0},{fill:i}),o("fill")},cb2d:function(t,e,n){var r=n("da84"),i=n("1626"),o=n("9112"),a=n("13d2"),s=n("ce4e");t.exports=function(t,e,n,l){var u=!!l&&!!l.unsafe,c=!!l&&!!l.enumerable,d=!!l&&!!l.noTargetGet,h=l&&void 0!==l.name?l.name:e;return i(n)&&a(n,h,l),t===r?(c?t[e]=n:s(e,n),t):(u?!d&&t[e]&&(c=!0):delete t[e],c?t[e]=n:o(t,e,n),t)}},cb4c:function(t,e,n){"use strict";var r=n("58a8").end,i=n("c8d2");t.exports=i("trimEnd")?function(){return r(this)}:"".trimEnd},cc12:function(t,e,n){var r=n("da84"),i=n("861d"),o=r.document,a=i(o)&&i(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},cc98:function(t,e,n){"use strict";var r=n("23e7"),i=n("c430"),o=n("4738").CONSTRUCTOR,a=n("d256"),s=n("d066"),l=n("1626"),u=n("cb2d"),c=a&&a.prototype;if(r({target:"Promise",proto:!0,forced:o,real:!0},{catch:function(t){return this.then(void 0,t)}}),!i&&l(a)){var d=s("Promise").prototype.catch;c.catch!==d&&u(c,"catch",d,{unsafe:!0})}},cca6:function(t,e,n){var r=n("23e7"),i=n("60da");r({target:"Object",stat:!0,arity:2,forced:Object.assign!==i},{assign:i})},cd26:function(t,e,n){"use strict";var r=n("ebb5"),i=r.aTypedArray,o=r.exportTypedArrayMethod,a=Math.floor;o("reverse",(function(){for(var t,e=this,n=i(e).length,r=a(n/2),o=0;o1?arguments[1]:void 0)}))},d1e7:function(t,e,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);e.f=o?function(t){var e=i(this,t);return!!e&&e.enumerable}:r},d20a:function(t,e,n){"use strict";n("3b9c")},d256:function(t,e,n){var r=n("da84");t.exports=r.Promise},d28b:function(t,e,n){n("746f")("iterator")},d2bb:function(t,e,n){var r=n("e330"),i=n("825a"),o=n("3bbe");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return i(n),o(r),e?t(n,r):n.__proto__=r,n}}():void 0)},d3b7:function(t,e,n){var r=n("00ee"),i=n("cb2d"),o=n("b041");r||i(Object.prototype,"toString",o,{unsafe:!0})},d401:function(t,e,n){var r=n("cb2d"),i=n("aa1f"),o=Error.prototype;o.toString!==i&&r(o,"toString",i)},d44e:function(t,e,n){var r=n("9bf2").f,i=n("1a2d"),o=n("b622")("toStringTag");t.exports=function(t,e,n){t&&!n&&(t=t.prototype),t&&!i(t,o)&&r(t,o,{configurable:!0,value:e})}},d4af:function(t,e,n){"use strict";var r=n("8eb7"),i=n("7b3e");function o(t){var e=0,n=0,r=0,i=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),r=10*e,i=10*n,"deltaY"in t&&(i=t.deltaY),"deltaX"in t&&(r=t.deltaX),(r||i)&&t.deltaMode&&(1==t.deltaMode?(r*=40,i*=40):(r*=800,i*=800)),r&&!e&&(e=r<1?-1:1),i&&!n&&(n=i<1?-1:1),{spinX:e,spinY:n,pixelX:r,pixelY:i}}o.getEventType=function(){return r.firefox()?"DOMMouseScroll":i("wheel")?"wheel":"mousewheel"},t.exports=o},d4c3:function(t,e,n){var r=n("342f"),i=n("da84");t.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==i.Pebble},d51b:function(t,e,n){"use strict";var r=function(t){this.value=t},i=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new r(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 i,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var n=this._list,i=this._map,o=null;if(null==i[t]){var a=n.len(),s=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var l=n.head;n.remove(l),delete i[l.key],o=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new r(e),s.key=t,n.insertEntry(s),i[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},d58f:function(t,e,n){var r=n("da84"),i=n("59ed"),o=n("7b0b"),a=n("44ad"),s=n("07fa"),l=r.TypeError,u=function(t){return function(e,n,r,u){i(n);var c=o(e),d=a(c),h=s(c),f=t?h-1:0,p=t?-1:1;if(r<2)for(;;){if(f in d){u=d[f],f+=p;break}if(f+=p,t?f<0:h<=f)throw l("Reduce of empty array with no initial value")}for(;t?f>=0:h>f;f+=p)f in d&&(u=n(u,d[f],f,c));return u}};t.exports={left:u(!1),right:u(!0)}},d5d6:function(t,e,n){"use strict";var r=n("ebb5"),i=n("b727").forEach,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("forEach",(function(t){i(o(this),t,arguments.length>1?arguments[1]:void 0)}))},d6d6:function(t,e,n){var r=n("da84").TypeError;t.exports=function(t,e){if(td;){if(u(i,s(e[d++])),d===n)return c(i,"");d1?arguments[1]:void 0)}})},d86b:function(t,e,n){var r=n("d039");t.exports=r((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}))},d998:function(t,e,n){var r=n("342f");t.exports=/MSIE|Trident/.test(r)},d9b5:function(t,e,n){var r=n("da84"),i=n("d066"),o=n("1626"),a=n("3a9b"),s=n("fdbf"),l=r.Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var e=i("Symbol");return o(e)&&a(e.prototype,l(t))}},d9ce:function(t,e){t.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTc4IiBoZWlnaHQ9IjIzIiB2aWV3Qm94PSIwIDAgMTc4IDIzIiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8ZyBjbGlwLXBhdGg9InVybCgjY2xpcDBfMTE1OV8xOTE2KSI+CjxwYXRoIGQ9Ik0yOC40MzU4IDExLjIzNjRDMjguNDM1OCAxNy40NzA4IDIyLjE3ODEgMjIuMzk1IDE0LjIxNzkgMjIuMzk1QzYuMjU3NjQgMjIuMzg0MSAwIDE3LjQ3MDggMCAxMS4yMzY0QzAgNC45NjkxOCA2LjI1NzY0IDAuMDEyMjA3IDE0LjIxNzkgMC4wMTIyMDdDMjIuMTg5MiAwLjAxMjIwNyAyOC40MzU4IDQuOTY5MTggMjguNDM1OCAxMS4yMzY0Wk0yMS44Njg2IDExLjIzNjRDMjEuODY4NiA3LjU1Njg0IDE4LjU2MjkgNC44NDkwNyAxNC4yMTc5IDQuODQ5MDdDOS44NzI5MiA0Ljg0OTA3IDYuNTY3MjEgNy41Njc3NiA2LjU2NzIxIDExLjIzNjRDNi41NjcyMSAxNC44ODMxIDkuODcyOTIgMTcuNTY5IDE0LjIxNzkgMTcuNTY5QzE4LjU2MjkgMTcuNTU4MSAyMS44Njg2IDE0Ljg4MzEgMjEuODY4NiAxMS4yMzY0WiIgZmlsbD0idXJsKCNwYWludDBfbGluZWFyXzExNTlfMTkxNikiLz4KPHBhdGggZD0iTTQzLjUwNDggMC4wMTA3NDIyQzQ5LjUxOTIgMC4wMTA3NDIyIDUzLjMwMDQgMi45ODA1NiA1My4zMDA0IDcuMzkxNkM1My4zMDA0IDExLjkwMDkgNDkuMzk3NiAxNC44NzA3IDQzLjIyODQgMTQuODcwN0gzOC4zOTdDMzcuNTg5OSAxNC44NzA3IDM2LjkzNzYgMTUuNTE0OSAzNi45Mzc2IDE2LjMxMlYyMC45NzQxQzM2LjkzNzYgMjEuNzcxMiAzNi4yODUzIDIyLjQxNTQgMzUuNDc4MyAyMi40MTU0SDMxLjgxODhDMzEuMDExNyAyMi40MTU0IDMwLjM1OTQgMjEuNzcxMiAzMC4zNTk0IDIwLjk3NDFWMS40NTE5OEMzMC4zNTk0IDAuNjU0OTMgMzEuMDExNyAwLjAxMDc0MjIgMzEuODE4OCAwLjAxMDc0MjJINDMuNTA0OFYwLjAxMDc0MjJaTTQyLjc0MiAxMC40NzA2QzQ1LjI5NTkgMTAuNDcwNiA0Ni44NDM3IDkuMjkxNDEgNDYuODQzNyA3LjQ2ODAzQzQ2Ljg0MzcgNS43NDI5MiA0NS4yOTU5IDQuNTMwOTcgNDIuNzQyIDQuNTMwOTdIMzguMzg2QzM3LjU3ODkgNC41MzA5NyAzNi45MjY2IDUuMTc1MTYgMzYuOTI2NiA1Ljk3MjIxVjkuMDQwMjhDMzYuOTI2NiA5LjgzNzMzIDM3LjU3ODkgMTAuNDgxNSAzOC4zODYgMTAuNDgxNUg0Mi43NDJWMTAuNDcwNloiIGZpbGw9InVybCgjcGFpbnQxX2xpbmVhcl8xMTU5XzE5MTYpIi8+CjxwYXRoIGQ9Ik03NC43NzA3IDIyLjQxNTRINTYuMDY0MkM1NS40ODkyIDIyLjQxNTQgNTUuMDI0OSAyMS45NTY5IDU1LjAyNDkgMjEuNFYxLjAzNzE0QzU1LjAyNDkgMC40ODAzMDMgNTUuNDg5MiAwLjAyMTcyODUgNTYuMDY0MiAwLjAyMTcyODVINzQuNjQ5MUM3NS4yMjQgMC4wMjE3Mjg1IDc1LjY4ODQgMC40ODAzMDMgNzUuNjg4NCAxLjAzNzE0VjMuNDcxOTVDNzUuNjg4NCA0LjAyODc5IDc1LjIyNCA0LjQ4NzM3IDc0LjY0OTEgNC40ODczN0g2Mi42NDI0QzYyLjA2NzUgNC40ODczNyA2MS42MDMyIDQuOTQ1OTQgNjEuNjAzMiA1LjUwMjc4VjguMDkwNDVDNjEuNjAzMiA4LjY0NzI5IDYyLjA2NzUgOS4xMDU4NiA2Mi42NDI0IDkuMTA1ODZINzMuNDk5M0M3NC4wNzQyIDkuMTA1ODYgNzQuNTM4NiA5LjU2NDQ0IDc0LjUzODYgMTAuMTIxM1YxMi4zMDVDNzQuNTM4NiAxMi44NjE4IDc0LjA3NDIgMTMuMzIwNCA3My40OTkzIDEzLjMyMDRINjIuNjQyNEM2Mi4wNjc1IDEzLjMyMDQgNjEuNjAzMiAxMy43NzkgNjEuNjAzMiAxNC4zMzU4VjE2LjkyMzVDNjEuNjAzMiAxNy40ODAzIDYyLjA2NzUgMTcuOTM4OSA2Mi42NDI0IDE3LjkzODlINzQuNzcwN0M3NS4zNDU3IDE3LjkzODkgNzUuODEgMTguMzk3NSA3NS44MSAxOC45NTQzVjIxLjM4OTFDNzUuODEgMjEuOTY3OCA3NS4zNDU3IDIyLjQxNTQgNzQuNzcwNyAyMi40MTU0WiIgZmlsbD0idXJsKCNwYWludDJfbGluZWFyXzExNTlfMTkxNikiLz4KPHBhdGggZD0iTTEwMi4xMzUgMjIuNDA0Nkg5OC4yNTRDOTcuOTc3NiAyMi40MDQ2IDk3LjcwMTIgMjIuMjk1NCA5Ny41MDIyIDIyLjA5ODlMODUuMDQyMiAxMC4xMjE0Qzg0Ljc2NTggOS44NTkzNSA4NC4zMjM1IDEwLjA1NTkgODQuMzIzNSAxMC40NDg5VjIxLjI2OTFDODQuMzIzNSAyMS45MDI0IDgzLjgyNiAyMi40MTU1IDgzLjIxOCAyMi40MTU1SDc4Ljg2MTlDNzguMjUzOSAyMi40MTU1IDc3Ljc1NjMgMjEuOTAyNCA3Ny43NTYzIDIxLjI2OTFWMS4xNDY0NEM3Ny43NTYzIDAuNTEzMTY2IDc4LjI1MzkgMCA3OC44NjE5IDBIODIuNzY0N0M4My4wNTIxIDAgODMuMzI4NSAwLjEwOTE4NCA4My41Mjc1IDAuMzE2NjM1TDk1Ljk4NzUgMTIuNjU0NUM5Ni4yNjM5IDEyLjkyNzQgOTYuNzA2MiAxMi43MiA5Ni43MDYyIDEyLjMzNzhWMS4xNDY0NEM5Ni43MDYyIDAuNTEzMTY2IDk3LjIwMzcgMCA5Ny44MTE3IDBIMTAyLjEzNUMxMDIuNzQzIDAgMTAzLjI0IDAuNTEzMTY2IDEwMy4yNCAxLjE0NjQ0VjIxLjI2OTFDMTAzLjI0IDIxLjg5MTUgMTAyLjc1NCAyMi40MDQ2IDEwMi4xMzUgMjIuNDA0NloiIGZpbGw9InVybCgjcGFpbnQzX2xpbmVhcl8xMTU5XzE5MTYpIi8+CjxwYXRoIGQ9Ik0xNjQuMjkxIDkuMTM4NzRDMTYzLjkzNyA4LjQwNzIgMTYyLjg4NyA4LjQwNzIgMTYyLjUzMyA5LjEzODc0TDE2MS4zMjggMTEuNjVDMTYxLjAxOCAxMi4yOTQyIDE2MS40OTMgMTMuMDI1NyAxNjIuMjEyIDEzLjAyNTdIMTY0LjY0NEMxNjUuMzYzIDEzLjAyNTcgMTY1LjgzOCAxMi4yODMyIDE2NS41MjkgMTEuNjM5MUwxNjQuMjkxIDkuMTM4NzRaIiBmaWxsPSJ1cmwoI3BhaW50NF9saW5lYXJfMTE1OV8xOTE2KSIvPgo8cGF0aCBkPSJNMTc2LjkwNSAwSDEwNi4yOEMxMDUuNjgzIDAgMTA1LjE4NiAwLjQ4MDQxMSAxMDUuMTg2IDEuMDgwOTJWMjEuMzEyOEMxMDUuMTg2IDIxLjkwMjQgMTA1LjY3MiAyMi4zOTM3IDEwNi4yOCAyMi4zOTM3SDE3Ni45MDVDMTc3LjUwMiAyMi4zOTM3IDE3OCAyMS45MTMzIDE3OCAyMS4zMTI4VjEuMDgwOTJDMTc4IDAuNDgwNDExIDE3Ny41MTMgMCAxNzYuOTA1IDBaTTExNy43MjMgMjAuMjc1NUMxMTMuNDg5IDIwLjI3NTUgMTA5LjkwNiAxOC44NjcxIDEwOC42NTcgMTYuMjc5NEMxMDguMzU5IDE1LjY1NyAxMDguNzQ2IDE0LjkyNTUgMTA5LjQzMSAxNC44MTYzTDExMi45MzYgMTQuMjcwNEMxMTMuMzc4IDE0LjIwNDkgMTEzLjgwOSAxNC40MjMzIDExNC4wMyAxNC44MTYzQzExNC43MzggMTYuMTI2NSAxMTYuMTUzIDE2LjcxNjEgMTE4LjAyMSAxNi43MTYxQzEyMC4wMjMgMTYuNzE2MSAxMjEuMjI4IDE1Ljk4NDYgMTIxLjIyOCAxNC45MjU1QzEyMS4yMjggMTQuMTUwMyAxMjAuNzc0IDEzLjY0OCAxMTkuMjI3IDEzLjM5NjlMMTE0LjY5NCAxMi42MjE3QzExMS41ODcgMTIuMDU0IDEwOC44NjcgMTAuNzU0NyAxMDguODY3IDcuNTg4MzFDMTA4Ljg2NyA0LjIxNDUyIDExMi4zNjEgMi4xMDcyNiAxMTcuNDM1IDIuMTA3MjZDMTIxLjQ4MiAyLjEwNzI2IDEyNC41NzggMy40NzIwNiAxMjUuODkzIDUuODUyMjhDMTI2LjIzNiA2LjQ2MzcxIDEyNS44MzggNy4yMjggMTI1LjE0MSA3LjM0ODExTDEyMi4wMDIgNy44NjEyN0MxMjEuNTU5IDcuOTM3NyAxMjEuMTE3IDcuNzE5MzMgMTIwLjkxOCA3LjMzNzE5QzEyMC4yODggNi4xNDcwOCAxMTguODUxIDUuNTU3NDggMTE3LjM4IDUuNTU3NDhDMTE1LjYgNS41NTc0OCAxMTQuNDczIDYuMzMyNjkgMTE0LjQ3MyA3LjMyNjI3QzExNC40NzMgOC4wMjUwNSAxMTQuODU5IDguNTQ5MTMgMTE2LjIxOSA4Ljc3ODQyTDEyMC43MTkgOS41ODYzOEMxMjQuNDY3IDEwLjI2MzMgMTI2LjY2NyAxMS45MDExIDEyNi42NjcgMTQuNjUyNUMxMjYuNjU2IDE4LjM2NDggMTIyLjU0MyAyMC4yNzU1IDExNy43MjMgMjAuMjc1NVpNMTUwLjk5IDE0LjQxMjNDMTQ5LjU3NSAxOC4xMzU1IDE0NS40NzMgMjAuMjc1NSAxNDAuMzY1IDIwLjI3NTVDMTMzLjkzMSAyMC4yNzU1IDEyOC44NDUgMTYuMzAxMiAxMjguODQ1IDExLjE5MTRDMTI4Ljg0NSA2LjEwMzQgMTMzLjkyIDIuMTA3MjYgMTQwLjM2NSAyLjEwNzI2QzE0NS4yNDEgMi4xMDcyNiAxNDkuNDQyIDQuMjM2MzUgMTUwLjkyNCA3Ljc1MjA5QzE1MS4xNDUgOC4yNzYxNyAxNTAuODEzIDguODY1NzcgMTUwLjI0OSA4Ljk3NDk1TDE0Ni44IDkuNjE5MTRDMTQ2LjM2OSA5LjY5NTU3IDE0NS45NDkgOS40NjYyOCAxNDUuNzgzIDkuMDczMjJDMTQ0LjkwOSA3LjAyMDU1IDE0Mi44NzUgNi4wMjY5OCAxNDAuMzU0IDYuMDI2OThDMTM2LjkyNyA2LjAyNjk4IDEzNC4xNzQgOC4yMzI1IDEzNC4xNzQgMTEuMTkxNEMxMzQuMTc0IDE0LjE1MDMgMTM2LjkyNyAxNi4zODg2IDE0MC4zNTQgMTYuMzg4NkMxNDIuODUzIDE2LjM4ODYgMTQ0LjkwOSAxNS4zNTEzIDE0NS44MTYgMTMuMjExM0MxNDUuOTgyIDEyLjgyOTIgMTQ2LjM4IDEyLjU5OTkgMTQ2LjggMTIuNjY1NEwxNTAuMjYgMTMuMjExM0MxNTAuODQ2IDEzLjI5ODcgMTUxLjIgMTMuODg4MiAxNTAuOTkgMTQuNDEyM1pNMTczLjc3NiAxOS44OTM0SDE3MC4wMjhDMTY5LjY5NyAxOS44OTM0IDE2OS4zOTggMTkuNzA3OCAxNjkuMjU0IDE5LjQxM0wxNjguMjA0IDE3LjIxODRDMTY4LjA2IDE2LjkyMzYgMTY3Ljc2MiAxNi43MzggMTY3LjQzIDE2LjczOEgxNTkuMzkzQzE1OS4wNjEgMTYuNzM4IDE1OC43NjIgMTYuOTIzNiAxNTguNjE5IDE3LjIxODRMMTU3LjU2OCAxOS40MTNDMTU3LjQyNSAxOS43MDc4IDE1Ny4xMjYgMTkuODkzNCAxNTYuNzk0IDE5Ljg5MzRIMTUzLjAxM0MxNTIuMzcyIDE5Ljg5MzQgMTUxLjk1MiAxOS4yMjc0IDE1Mi4yNTEgMTguNjU5NkwxNjAuNDMyIDIuOTU4OUMxNjAuNTc2IDIuNjc1MDIgMTYwLjg3NCAyLjUwMDMyIDE2MS4xOTUgMi41MDAzMkgxNjUuNjE3QzE2NS45MzggMi41MDAzMiAxNjYuMjM2IDIuNjc1MDIgMTY2LjM4IDIuOTU4OUwxNzQuNTYxIDE4LjY1OTZDMTc0LjgzOCAxOS4yMTY0IDE3NC40MTggMTkuODkzNCAxNzMuNzc2IDE5Ljg5MzRaIiBmaWxsPSJ1cmwoI3BhaW50NV9saW5lYXJfMTE1OV8xOTE2KSIvPgo8L2c+CjxkZWZzPgo8bGluZWFyR3JhZGllbnQgaWQ9InBhaW50MF9saW5lYXJfMTE1OV8xOTE2IiB4MT0iNDkuMjk4MiIgeTE9IjEwLjcyODIiIHgyPSIxMjMuOTgiIHkyPSI5LjY5MjMzIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+CjxzdG9wIHN0b3AtY29sb3I9IiNDRTIzN0YiLz4KPHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjMkE2QkM3Ii8+CjwvbGluZWFyR3JhZGllbnQ+CjxsaW5lYXJHcmFkaWVudCBpZD0icGFpbnQxX2xpbmVhcl8xMTU5XzE5MTYiIHgxPSI0OS4zMDE5IiB5MT0iMTEuMDA0NyIgeDI9IjEyMy45ODQiIHkyPSI5Ljk2ODg1IiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+CjxzdG9wIHN0b3AtY29sb3I9IiNDRTIzN0YiLz4KPHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjMkE2QkM3Ii8+CjwvbGluZWFyR3JhZGllbnQ+CjxsaW5lYXJHcmFkaWVudCBpZD0icGFpbnQyX2xpbmVhcl8xMTU5XzE5MTYiIHgxPSI0OS4zMDc3IiB5MT0iMTEuNDM0NyIgeDI9IjEyMy45OSIgeTI9IjEwLjM5ODciIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj4KPHN0b3Agc3RvcC1jb2xvcj0iI0NFMjM3RiIvPgo8c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiMyQTZCQzciLz4KPC9saW5lYXJHcmFkaWVudD4KPGxpbmVhckdyYWRpZW50IGlkPSJwYWludDNfbGluZWFyXzExNTlfMTkxNiIgeDE9IjQ5LjMxMjciIHkxPSIxMS43NTg3IiB4Mj0iMTIzLjk5NSIgeTI9IjEwLjcyMjgiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj4KPHN0b3Agc3RvcC1jb2xvcj0iI0NFMjM3RiIvPgo8c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiMyQTZCQzciLz4KPC9saW5lYXJHcmFkaWVudD4KPGxpbmVhckdyYWRpZW50IGlkPSJwYWludDRfbGluZWFyXzExNTlfMTkxNiIgeDE9IjQ5LjMyMTIiIHkxPSIxMi4zNjgyIiB4Mj0iMTI0LjAwMyIgeTI9IjExLjMzMjMiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj4KPHN0b3Agc3RvcC1jb2xvcj0iI0NFMjM3RiIvPgo8c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiMyQTZCQzciLz4KPC9saW5lYXJHcmFkaWVudD4KPGxpbmVhckdyYWRpZW50IGlkPSJwYWludDVfbGluZWFyXzExNTlfMTkxNiIgeDE9IjQ5LjMyMTYiIHkxPSIxMi40NDIyIiB4Mj0iMTI0LjAwNCIgeTI9IjExLjQwNjMiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj4KPHN0b3Agc3RvcC1jb2xvcj0iI0NFMjM3RiIvPgo8c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiMyQTZCQzciLz4KPC9saW5lYXJHcmFkaWVudD4KPGNsaXBQYXRoIGlkPSJjbGlwMF8xMTU5XzE5MTYiPgo8cmVjdCB3aWR0aD0iMTc4IiBoZWlnaHQ9IjIyLjQxNTUiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg=="},d9e2:function(t,e,n){var r=n("23e7"),i=n("da84"),o=n("2ba4"),a=n("e5cb"),s="WebAssembly",l=i[s],u=7!==Error("e",{cause:7}).cause,c=function(t,e){var n={};n[t]=a(t,e,u),r({global:!0,constructor:!0,arity:1,forced:u},n)},d=function(t,e){if(l&&l[t]){var n={};n[t]=a(s+"."+t,e,u),r({target:s,stat:!0,constructor:!0,arity:1,forced:u},n)}};c("Error",(function(t){return function(e){return o(t,this,arguments)}})),c("EvalError",(function(t){return function(e){return o(t,this,arguments)}})),c("RangeError",(function(t){return function(e){return o(t,this,arguments)}})),c("ReferenceError",(function(t){return function(e){return o(t,this,arguments)}})),c("SyntaxError",(function(t){return function(e){return o(t,this,arguments)}})),c("TypeError",(function(t){return function(e){return o(t,this,arguments)}})),c("URIError",(function(t){return function(e){return o(t,this,arguments)}})),d("CompileError",(function(t){return function(e){return o(t,this,arguments)}})),d("LinkError",(function(t){return function(e){return o(t,this,arguments)}})),d("RuntimeError",(function(t){return function(e){return o(t,this,arguments)}}))},d9f5:function(t,e,n){"use strict";var r=n("23e7"),i=n("da84"),o=n("c65b"),a=n("e330"),s=n("c430"),l=n("83ab"),u=n("4930"),c=n("d039"),d=n("1a2d"),h=n("3a9b"),f=n("825a"),p=n("fc6a"),g=n("a04b"),v=n("577e"),y=n("5c6c"),m=n("7c73"),b=n("df75"),_=n("241c"),x=n("057f"),w=n("7418"),S=n("06cf"),M=n("9bf2"),O=n("37e8"),C=n("d1e7"),I=n("cb2d"),T=n("5692"),A=n("f772"),D=n("d012"),k=n("90e3"),j=n("b622"),E=n("e538"),L=n("746f"),N=n("57b9"),P=n("d44e"),R=n("69f3"),z=n("b727").forEach,V=A("hidden"),B="Symbol",F="prototype",H=R.set,W=R.getterFor(B),U=Object[F],G=i.Symbol,Y=G&&G[F],$=i.TypeError,X=i.QObject,Z=S.f,q=M.f,Q=x.f,J=C.f,K=a([].push),tt=T("symbols"),et=T("op-symbols"),nt=T("wks"),rt=!X||!X[F]||!X[F].findChild,it=l&&c((function(){return 7!=m(q({},"a",{get:function(){return q(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=Z(U,e);r&&delete U[e],q(t,e,n),r&&t!==U&&q(U,e,r)}:q,ot=function(t,e){var n=tt[t]=m(Y);return H(n,{type:B,tag:t,description:e}),l||(n.description=e),n},at=function(t,e,n){t===U&&at(et,e,n),f(t);var r=g(e);return f(n),d(tt,r)?(n.enumerable?(d(t,V)&&t[V][r]&&(t[V][r]=!1),n=m(n,{enumerable:y(0,!1)})):(d(t,V)||q(t,V,y(1,{})),t[V][r]=!0),it(t,r,n)):q(t,r,n)},st=function(t,e){f(t);var n=p(e),r=b(n).concat(dt(n));return z(r,(function(e){l&&!o(lt,n,e)||at(t,e,n[e])})),t},lt=function(t){var e=g(t),n=o(J,this,e);return!(this===U&&d(tt,e)&&!d(et,e))&&(!(n||!d(this,e)||!d(tt,e)||d(this,V)&&this[V][e])||n)},ut=function(t,e){var n=p(t),r=g(e);if(n!==U||!d(tt,r)||d(et,r)){var i=Z(n,r);return!i||!d(tt,r)||d(n,V)&&n[V][r]||(i.enumerable=!0),i}},ct=function(t){var e=Q(p(t)),n=[];return z(e,(function(t){d(tt,t)||d(D,t)||K(n,t)})),n},dt=function(t){var e=t===U,n=Q(e?et:p(t)),r=[];return z(n,(function(t){!d(tt,t)||e&&!d(U,t)||K(r,tt[t])})),r};u||(G=function(){if(h(Y,this))throw $("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?v(arguments[0]):void 0,e=k(t),n=function(t){this===U&&o(n,et,t),d(this,V)&&d(this[V],e)&&(this[V][e]=!1),it(this,e,y(1,t))};return l&&rt&&it(U,e,{configurable:!0,set:n}),ot(e,t)},I(Y=G[F],"toString",(function(){return W(this).tag})),I(G,"withoutSetter",(function(t){return ot(k(t),t)})),C.f=lt,M.f=at,O.f=st,S.f=ut,_.f=x.f=ct,w.f=dt,E.f=function(t){return ot(j(t),t)},l&&(q(Y,"description",{configurable:!0,get:function(){return W(this).description}}),s||I(U,"propertyIsEnumerable",lt,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:G}),z(b(nt),(function(t){L(t)})),r({target:B,stat:!0,forced:!u},{useSetter:function(){rt=!0},useSimple:function(){rt=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!l},{create:function(t,e){return void 0===e?m(t):st(m(t),e)},defineProperty:at,defineProperties:st,getOwnPropertyDescriptor:ut}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:ct}),N(),P(G,B),D[V]=!0},da44:function(t,e,n){},da84:function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n("c8ba"))},db96:function(t,e,n){var r=n("23e7"),i=n("825a"),o=n("4fad");r({target:"Reflect",stat:!0},{isExtensible:function(t){return i(t),o(t)}})},dbb4:function(t,e,n){var r=n("23e7"),i=n("83ab"),o=n("56ef"),a=n("fc6a"),s=n("06cf"),l=n("8418");r({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(t){for(var e,n,r=a(t),i=s.f,u=o(r),c={},d=0;u.length>d;)void 0!==(n=i(r,e=u[d++]))&&l(c,e,n);return c}})},dbfa:function(t,e,n){"use strict";var r=n("23e7"),i=n("c65b"),o=n("59ed"),a=n("d066"),s=n("f069"),l=n("e667"),u=n("2266"),c="No one promise resolved";r({target:"Promise",stat:!0},{any:function(t){var e=this,n=a("AggregateError"),r=s.f(e),d=r.resolve,h=r.reject,f=l((function(){var r=o(e.resolve),a=[],s=0,l=1,f=!1;u(t,(function(t){var o=s++,u=!1;l++,i(r,e,t).then((function(t){u||f||(f=!0,d(t))}),(function(t){u||f||(u=!0,a[o]=t,--l||h(new n(a,c)))}))})),--l||h(new n(a,c))}));return f.error&&h(f.value),r.promise}})},dc4a:function(t,e,n){var r=n("59ed");t.exports=function(t,e){var n=t[e];return null==n?void 0:r(n)}},dc8d:function(t,e,n){n("746f")("hasInstance")},dca8:function(t,e,n){var r=n("23e7"),i=n("bb2f"),o=n("d039"),a=n("861d"),s=n("f183").onFreeze,l=Object.freeze;r({target:"Object",stat:!0,forced:o((function(){l(1)})),sham:!i},{freeze:function(t){return l&&a(t)?l(s(t)):t}})},dcdc:function(t,e,n){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},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=90)}({0:function(t,e,n){"use strict";function r(t,e,n,r,i,o,a,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._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__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:u}}n.d(e,"a",(function(){return r}))},4:function(t,e){t.exports=n("d010")},90:function(t,e,n){"use strict";n.r(e);var r=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,r=e.target,i=r.checked?t.trueLabel:t.falseLabel;if(Array.isArray(n)){var o=t._i(n,null);r.checked?o<0&&(t.model=n.concat([null])):o>-1&&(t.model=n.slice(0,o).concat(n.slice(o+1)))}else t.model=i},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,r=e.target,i=!!r.checked;if(Array.isArray(n)){var o=t.label,a=t._i(n,o);r.checked?a<0&&(t.model=n.concat([o])):a>-1&&(t.model=n.slice(0,a).concat(n.slice(a+1)))}else t.model=i},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()])};r._withStripped=!0;var i=n(4),o={name:"ElCheckbox",mixins:[n.n(i).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.lengththis._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;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=o,s=n(0),l=Object(s.a)(a,r,[],!1,null,null,null);l.options.__file="packages/checkbox/src/checkbox.vue";var u=l.exports;u.install=function(t){t.component(u.name,u)},e.default=u}})},ddb0:function(t,e,n){var r=n("da84"),i=n("fdbc"),o=n("785a"),a=n("e260"),s=n("9112"),l=n("b622"),u=l("iterator"),c=l("toStringTag"),d=a.values,h=function(t,e){if(t){if(t[u]!==d)try{s(t,u,d)}catch(e){t[u]=d}if(t[c]||s(t,c,e),i[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 i)h(r[f]&&r[f].prototype,f);h(o,"DOMTokenList")},de31:function(t,e,n){},df75:function(t,e,n){var r=n("ca84"),i=n("7839");t.exports=Object.keys||function(t){return r(t,i)}},dfb9:function(t,e,n){var r=n("07fa");t.exports=function(t,e){for(var n=0,i=r(e),o=new t(i);i>n;)o[n]=e[n++];return o}},e01a:function(t,e,n){"use strict";var r=n("23e7"),i=n("83ab"),o=n("da84"),a=n("e330"),s=n("1a2d"),l=n("1626"),u=n("3a9b"),c=n("577e"),d=n("9bf2").f,h=n("e893"),f=o.Symbol,p=f&&f.prototype;if(i&&l(f)&&(!("description"in p)||void 0!==f().description)){var g={},v=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:c(arguments[0]),e=u(p,this)?new f(t):void 0===t?f():f(t);return""===t&&(g[e]=!0),e};h(v,f),v.prototype=p,p.constructor=v;var y="Symbol(test)"==String(f("test")),m=a(p.toString),b=a(p.valueOf),_=/^Symbol\((.*)\)[^)]+$/,x=a("".replace),w=a("".slice);d(p,"description",{configurable:!0,get:function(){var t=b(this),e=m(t);if(s(g,t))return"";var n=y?w(e,7,-1):x(e,_,"$1");return""===n?void 0:n}}),r({global:!0,constructor:!0,forced:!0},{Symbol:v})}},e163:function(t,e,n){var r=n("da84"),i=n("1a2d"),o=n("1626"),a=n("7b0b"),s=n("f772"),l=n("e177"),u=s("IE_PROTO"),c=r.Object,d=c.prototype;t.exports=l?c.getPrototypeOf:function(t){var e=a(t);if(i(e,u))return e[u];var n=e.constructor;return o(n)&&e instanceof n?n.prototype:e instanceof c?d:null}},e177:function(t,e,n){var r=n("d039");t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},e20c:function(t,e,n){var r=n("23e7"),i=n("da84"),o=n("2cf4").clear;r({global:!0,bind:!0,enumerable:!0,forced:i.clearImmediate!==o},{clearImmediate:o})},e21d:function(t,e,n){var r=n("23e7"),i=n("d039"),o=n("861d"),a=n("c6b6"),s=n("d86b"),l=Object.isFrozen;r({target:"Object",stat:!0,forced:i((function(){l(1)}))||s},{isFrozen:function(t){return!o(t)||!(!s||"ArrayBuffer"!=a(t))||!!l&&l(t)}})},e25e:function(t,e,n){var r=n("23e7"),i=n("c20d");r({global:!0,forced:parseInt!=i},{parseInt:i})},e260:function(t,e,n){"use strict";var r=n("fc6a"),i=n("44d2"),o=n("3f8c"),a=n("69f3"),s=n("9bf2").f,l=n("7dd0"),u=n("c430"),c=n("83ab"),d="Array Iterator",h=a.set,f=a.getterFor(d);t.exports=l(Array,"Array",(function(t,e){h(this,{type:d,target:r(t),index:0,kind:e})}),(function(){var t=f(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values");var p=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!u&&c&&"values"!==p.name)try{s(p,"name",{value:"values"})}catch(t){}},e285:function(t,e,n){var r=n("da84").isFinite;t.exports=Number.isFinite||function(t){return"number"==typeof t&&r(t)}},e330:function(t,e,n){var r=n("40d5"),i=Function.prototype,o=i.bind,a=i.call,s=r&&o.bind(a,a);t.exports=r?function(t){return t&&s(t)}:function(t){return t&&function(){return a.apply(t,arguments)}}},e391:function(t,e,n){var r=n("577e");t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:r(t)}},e3db:function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},e439:function(t,e,n){var r=n("23e7"),i=n("d039"),o=n("fc6a"),a=n("06cf").f,s=n("83ab"),l=i((function(){a(1)}));r({target:"Object",stat:!0,forced:!s||l,sham:!s},{getOwnPropertyDescriptor:function(t,e){return a(o(t),e)}})},e43e:function(t,e,n){var r=n("23e7"),i=n("d039"),o=n("861d"),a=n("c6b6"),s=n("d86b"),l=Object.isSealed;r({target:"Object",stat:!0,forced:i((function(){l(1)}))||s},{isSealed:function(t){return!o(t)||!(!s||"ArrayBuffer"!=a(t))||!!l&&l(t)}})},e457:function(t,e,n){},e538:function(t,e,n){var r=n("b622");e.f=r},e58c:function(t,e,n){"use strict";var r=n("2ba4"),i=n("fc6a"),o=n("5926"),a=n("07fa"),s=n("a640"),l=Math.min,u=[].lastIndexOf,c=!!u&&1/[1].lastIndexOf(1,-0)<0,d=s("lastIndexOf"),h=c||!d;t.exports=h?function(t){if(c)return r(u,this,arguments)||0;var e=i(this),n=a(e),s=n-1;for(arguments.length>1&&(s=l(s,o(arguments[1]))),s<0&&(s=n+s);s>=0;s--)if(s in e&&e[s]===t)return s||0;return-1}:u},e5cb:function(t,e,n){"use strict";var r=n("d066"),i=n("1a2d"),o=n("9112"),a=n("3a9b"),s=n("d2bb"),l=n("e893"),u=n("aeb0"),c=n("7156"),d=n("e391"),h=n("ab36"),f=n("c770"),p=n("b980"),g=n("83ab"),v=n("c430");t.exports=function(t,e,n,y){var m="stackTraceLimit",b=y?2:1,_=t.split("."),x=_[_.length-1],w=r.apply(null,_);if(w){var S=w.prototype;if(!v&&i(S,"cause")&&delete S.cause,!n)return w;var M=r("Error"),O=e((function(t,e){var n=d(y?e:t,void 0),r=y?new w(t):new w;return void 0!==n&&o(r,"message",n),p&&o(r,"stack",f(r.stack,2)),this&&a(S,this)&&c(r,this,O),arguments.length>b&&h(r,arguments[b]),r}));if(O.prototype=S,"Error"!==x?s?s(O,M):l(O,M,{name:!0}):g&&m in w&&(u(O,w,m),u(O,w,"prepareStackTrace")),l(O,w),!v)try{S.name!==x&&o(S,"name",x),S.constructor=O}catch(t){}return O}}},e612:function(t,e,n){},e62d:function(t,e,n){"use strict";e.__esModule=!0,e.default=function(){if(r.default.prototype.$isServer)return 0;if(void 0!==i)return i;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 o=n.offsetWidth;return t.parentNode.removeChild(t),i=e-o};var r=function(t){return t&&t.__esModule?t:{default:t}}(n("2b0e"));var i=void 0},e667:function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},e6cf:function(t,e,n){n("5e7e"),n("14e5"),n("cc98"),n("3529"),n("f22b"),n("7149")},e6e1:function(t,e,n){n("23e7")({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},e71b:function(t,e,n){"use strict";var r=n("23e7"),i=n("83ab"),o=n("eb1d"),a=n("59ed"),s=n("7b0b"),l=n("9bf2");i&&r({target:"Object",proto:!0,forced:o},{__defineSetter__:function(t,e){l.f(s(this),t,{set:a(e),enumerable:!0,configurable:!0})}})},e893:function(t,e,n){var r=n("1a2d"),i=n("56ef"),o=n("06cf"),a=n("9bf2");t.exports=function(t,e,n){for(var s=i(e),l=a.f,u=o.f,c=0;c1?arguments[1]:void 0)}))},e95a:function(t,e,n){var r=n("b622"),i=n("3f8c"),o=r("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||a[o]===t)}},e974:function(t,e,n){"use strict";e.__esModule=!0;var r=function(t){return t&&t.__esModule?t:{default:t}}(n("2b0e")),i=n("5128");var o=r.default.prototype.$isServer?function(){}:n("6167"),a=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,r=this.referenceElm=this.referenceElm||this.reference||this.$refs.reference;!r&&this.$slots.reference&&this.$slots.reference[0]&&(r=this.referenceElm=this.$slots.reference[0].elm),n&&r&&(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 o(r,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=i.PopupManager.nextZIndex(),this.popperElm.addEventListener("click",a))}},updatePopper:function(){var t=this.popperJS;t?(t.update(),t._popper&&(t._popper.style.zIndex=i.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 r=document.createElement("div");e&&r.setAttribute(e,""),r.setAttribute("x-arrow",""),r.className="popper__arrow",t.appendChild(r)}}},beforeDestroy:function(){this.doDestroy(!0),this.popperElm&&this.popperElm.parentNode===document.body&&(this.popperElm.removeEventListener("click",a),document.body.removeChild(this.popperElm))},deactivated:function(){this.$options.beforeDestroy[0].call(this)}}},e9c4:function(t,e,n){var r=n("23e7"),i=n("d066"),o=n("2ba4"),a=n("c65b"),s=n("e330"),l=n("d039"),u=n("e8b5"),c=n("1626"),d=n("861d"),h=n("d9b5"),f=n("f36a"),p=n("4930"),g=i("JSON","stringify"),v=s(/./.exec),y=s("".charAt),m=s("".charCodeAt),b=s("".replace),_=s(1..toString),x=/[\uD800-\uDFFF]/g,w=/^[\uD800-\uDBFF]$/,S=/^[\uDC00-\uDFFF]$/,M=!p||l((function(){var t=i("Symbol")();return"[null]"!=g([t])||"{}"!=g({a:t})||"{}"!=g(Object(t))})),O=l((function(){return'"\\udf06\\ud834"'!==g("\udf06\ud834")||'"\\udead"'!==g("\udead")})),C=function(t,e){var n=f(arguments),r=e;if((d(e)||void 0!==t)&&!h(t))return u(e)||(e=function(t,e){if(c(r)&&(e=a(r,this,t,e)),!h(e))return e}),n[1]=e,o(g,null,n)},I=function(t,e,n){var r=y(n,e-1),i=y(n,e+1);return v(w,t)&&!v(S,i)||v(S,t)&&!v(w,r)?"\\u"+_(m(t,0),16):t};g&&r({target:"JSON",stat:!0,arity:3,forced:M||O},{stringify:function(t,e,n){var r=f(arguments),i=o(M?C:g,null,r);return O&&"string"==typeof i?b(i,x,I):i}})},ea98:function(t,e,n){"use strict";var r=n("23e7"),i=n("e330"),o=n("1d80"),a=n("5926"),s=n("577e"),l=n("d039"),u=i("".charAt);r({target:"String",proto:!0,forced:l((function(){return"\ud842"!=="𠮷".at(-2)}))},{at:function(t){var e=s(o(this)),n=e.length,r=a(t),i=r>=0?r:n+r;return i<0||i>=n?void 0:u(e,i)}})},eac5:function(t,e,n){var r=n("861d"),i=Math.floor;t.exports=Number.isInteger||function(t){return!r(t)&&isFinite(t)&&i(t)===t}},eb0e:function(t,e,n){"use strict";n("fce4")},eb1d:function(t,e,n){"use strict";var r=n("c430"),i=n("da84"),o=n("d039"),a=n("512c");t.exports=r||!o((function(){if(!(a&&a<535)){var t=Math.random();__defineSetter__.call(null,t,(function(){})),delete i[t]}}))},ebb5:function(t,e,n){"use strict";var r,i,o,a=n("a981"),s=n("83ab"),l=n("da84"),u=n("1626"),c=n("861d"),d=n("1a2d"),h=n("f5df"),f=n("0d51"),p=n("9112"),g=n("cb2d"),v=n("9bf2").f,y=n("3a9b"),m=n("e163"),b=n("d2bb"),_=n("b622"),x=n("90e3"),w=l.Int8Array,S=w&&w.prototype,M=l.Uint8ClampedArray,O=M&&M.prototype,C=w&&m(w),I=S&&m(S),T=Object.prototype,A=l.TypeError,D=_("toStringTag"),k=x("TYPED_ARRAY_TAG"),j=x("TYPED_ARRAY_CONSTRUCTOR"),E=a&&!!b&&"Opera"!==h(l.opera),L=!1,N={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},P={BigInt64Array:8,BigUint64Array:8},R=function(t){if(!c(t))return!1;var e=h(t);return d(N,e)||d(P,e)};for(r in N)(o=(i=l[r])&&i.prototype)?p(o,j,i):E=!1;for(r in P)(o=(i=l[r])&&i.prototype)&&p(o,j,i);if((!E||!u(C)||C===Function.prototype)&&(C=function(){throw A("Incorrect invocation")},E))for(r in N)l[r]&&b(l[r],C);if((!E||!I||I===T)&&(I=C.prototype,E))for(r in N)l[r]&&b(l[r].prototype,I);if(E&&m(O)!==I&&b(O,I),s&&!d(I,D))for(r in L=!0,v(I,D,{get:function(){return c(this)?this[k]:void 0}}),N)l[r]&&p(l[r],k,r);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:E,TYPED_ARRAY_CONSTRUCTOR:j,TYPED_ARRAY_TAG:L&&k,aTypedArray:function(t){if(R(t))return t;throw A("Target is not a typed array")},aTypedArrayConstructor:function(t){if(u(t)&&(!b||y(C,t)))return t;throw A(f(t)+" is not a typed array constructor")},exportTypedArrayMethod:function(t,e,n,r){if(s){if(n)for(var i in N){var o=l[i];if(o&&d(o.prototype,t))try{delete o.prototype[t]}catch(n){try{o.prototype[t]=e}catch(t){}}}I[t]&&!n||g(I,t,n?e:E&&S[t]||e,r)}},exportTypedArrayStaticMethod:function(t,e,n){var r,i;if(s){if(b){if(n)for(r in N)if((i=l[r])&&d(i,t))try{delete i[t]}catch(t){}if(C[t]&&!n)return;try{return g(C,t,n?e:E&&C[t]||e)}catch(t){}}for(r in N)!(i=l[r])||i[t]&&!n||g(i,t,e)}},isView:function(t){if(!c(t))return!1;var e=h(t);return"DataView"===e||d(N,e)||d(P,e)},isTypedArray:R,TypedArray:C,TypedArrayPrototype:I}},ec97:function(t,e,n){"use strict";var r=n("ebb5"),i=n("8aa7"),o=r.aTypedArrayConstructor;(0,r.exportTypedArrayStaticMethod)("of",(function(){for(var t=0,e=arguments.length,n=new(o(this))(e);e>t;)n[t]=arguments[t++];return n}),i)},ecdf:function(t,e,n){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},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=134)}({134:function(t,e,n){"use strict";n.r(e);var r=n(3),i={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:""}},o={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},on:{input:this.toggleAllSelection}})},renderCell:function(t,e){var n=e.row,r=e.column,i=e.isSelected,o=e.store,a=e.$index;return t("el-checkbox",{nativeOn:{click:function(t){return t.stopPropagation()}},attrs:{value:i,disabled:!!r.selectable&&!r.selectable.call(null,n,a)},on:{input:function(){o.commit("rowSelectedChanged",n)}}})},sortable:!1,resizable:!1},index:{renderHeader:function(t,e){return e.column.label||"#"},renderCell:function(t,e){var n=e.$index,r=n+1,i=e.column.index;return"number"==typeof i?r=n+i:"function"==typeof i&&(r=i(n)),t("div",[r])},sortable:!1},expand:{renderHeader:function(t,e){return e.column.label||""},renderCell:function(t,e){var n=e.row,r=e.store,i=["el-table__expand-icon"];e.isExpanded&&i.push("el-table__expand-icon--expanded");return t("div",{class:i,on:{click:function(t){t.stopPropagation(),r.toggleRowExpansion(n)}}},[t("i",{class:"el-icon el-icon-arrow-right"})])},sortable:!1,resizable:!1,className:"el-table__expand-column"}};function a(t,e){var n=e.row,i=e.column,o=e.$index,a=i.property,s=a&&Object(r.getPropByPath)(n,a).v;return i&&i.formatter?i.formatter(n,i,s,o):s}var s=n(8),l=n(19),u=n.n(l),c=Object.assign||function(t){for(var e=1;e-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 Object(s.l)(this.width)},realMinWidth:function(){return Object(s.k)(this.minWidth)},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),r=0;re.key[n])return 1}return 0}(t,e);return r||(r=t.index-e.index),r*n})).map((function(t){return t.value}))},l=function(t,e){var n=null;return t.columns.forEach((function(t){t.id===e&&(n=t)})),n},u=function(t,e){for(var n=null,r=0;r2&&void 0!==arguments[2]?arguments[2]:"children",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"hasChildren",i=function(t){return!(Array.isArray(t)&&t.length)};function o(t,a,s){e(t,a,s),a.forEach((function(t){if(t[r])e(t,null,s+1);else{var a=t[n];i(a)||o(t,a,s+1)}}))}t.forEach((function(t){if(t[r])e(t,null,0);else{var a=t[n];i(a)||o(t,a,0)}}))}}})},edd0:function(t,e,n){var r=n("13d2"),i=n("9bf2");t.exports=function(t,e,n){return n.get&&r(n.get,e,{getter:!0}),n.set&&r(n.set,e,{setter:!0}),i.f(t,e,n)}},eedf:function(t,e,n){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},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=95)}({0:function(t,e,n){"use strict";function r(t,e,n,r,i,o,a,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._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__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:u}}n.d(e,"a",(function(){return r}))},95:function(t,e,n){"use strict";n.r(e);var r=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()])};r._withStripped=!0;var i={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.$options.propsData.hasOwnProperty("disabled")?this.disabled:(this.elForm||{}).disabled}},methods:{handleClick:function(t){this.$emit("click",t)}}},o=i,a=n(0),s=Object(a.a)(o,r,[],!1,null,null,null);s.options.__file="packages/button/src/button.vue";var l=s.exports;l.install=function(t){t.component(l.name,l)},e.default=l}})},eee7:function(t,e,n){n("02ec");var r=n("23e7"),i=n("67b6");r({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==i},{trimStart:i})},efe9:function(t,e,n){n("746f")("isConcatSpreadable")},efec:function(t,e,n){var r=n("1a2d"),i=n("cb2d"),o=n("51eb"),a=n("b622")("toPrimitive"),s=Date.prototype;r(s,a)||i(s,a,o)},f00c:function(t,e,n){n("23e7")({target:"Number",stat:!0},{isFinite:n("e285")})},f069:function(t,e,n){"use strict";var r=n("59ed"),i=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)};t.exports.f=function(t){return new i(t)}},f0d9: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:"取消"},empty:{description:"暂无数据"}}}},f183:function(t,e,n){var r=n("23e7"),i=n("e330"),o=n("d012"),a=n("861d"),s=n("1a2d"),l=n("9bf2").f,u=n("241c"),c=n("057f"),d=n("4fad"),h=n("90e3"),f=n("bb2f"),p=!1,g=h("meta"),v=0,y=function(t){l(t,g,{value:{objectID:"O"+v++,weakData:{}}})},m=t.exports={enable:function(){m.enable=function(){},p=!0;var t=u.f,e=i([].splice),n={};n[g]=1,t(n).length&&(u.f=function(n){for(var r=t(n),i=0,o=r.length;i79&&a<83},{reduceRight:function(t){return i(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},f4f9:function(t,e,n){},f529:function(t,e,n){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},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=80)}({0:function(t,e,n){"use strict";function r(t,e,n,r,i,o,a,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._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__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:u}}n.d(e,"a",(function(){return r}))},13:function(t,e){t.exports=n("5128")},17:function(t,e){t.exports=n("a742")},23:function(t,e){t.exports=n("41f8")},7:function(t,e){t.exports=n("2b0e")},80:function(t,e,n){"use strict";n.r(e);var r=n(7),i=n.n(r),o=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)])};o._withStripped=!0;var a={success:"success",info:"info",warning:"warning",error:"error"},s={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-"+a[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)}},l=s,u=n(0),c=Object(u.a)(l,o,[],!1,null,null,null);c.options.__file="packages/message/src/main.vue";var d=c.exports,h=n(13),f=n(23),p=n(17),g=Object.assign||function(t){for(var e=1;em.length-1))for(var a=r;a=0;t--)m[t].close()};var x=_;e.default=x}})},f5b2:function(t,e,n){"use strict";var r=n("23e7"),i=n("6547").codeAt;r({target:"String",proto:!0},{codePointAt:function(t){return i(this,t)}})},f5df:function(t,e,n){var r=n("da84"),i=n("00ee"),o=n("1626"),a=n("c6b6"),s=n("b622")("toStringTag"),l=r.Object,u="Arguments"==a(function(){return arguments}());t.exports=i?a:function(t){var e,n,r;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:u?a(e):"Object"==(r=a(e))&&o(e.callee)?"Arguments":r}},f664:function(t,e,n){n("23e7")({target:"Math",stat:!0},{fround:n("be8e")})},f6d6:function(t,e,n){var r=n("23e7"),i=n("da84"),o=n("e330"),a=n("23cb"),s=i.RangeError,l=String.fromCharCode,u=String.fromCodePoint,c=o([].join);r({target:"String",stat:!0,arity:1,forced:!!u&&1!=u.length},{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,i=0;r>i;){if(e=+arguments[i++],a(e,1114111)!==e)throw s(e+" is not a valid code point");n[i]=e<65536?l(e):l(55296+((e-=65536)>>10),e%1024+56320)}return c(n,"")}})},f748:function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},f772:function(t,e,n){var r=n("5692"),i=n("90e3"),o=r("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},f782:function(t,e,n){"use strict";n("4ece")},f785:function(t,e,n){n("2626")("Array")},f8c9:function(t,e,n){var r=n("23e7"),i=n("da84"),o=n("d44e");r({global:!0},{Reflect:{}}),o(i.Reflect,"Reflect",!0)},f8cd:function(t,e,n){var r=n("da84"),i=n("5926"),o=r.RangeError;t.exports=function(t){var e=i(t);if(e<0)throw o("The argument can't be less than 0");return e}},fb2c:function(t,e,n){n("74e8")("Uint32",(function(t){return function(e,n,r){return t(this,e,n,r)}}))},fb6a:function(t,e,n){"use strict";var r=n("23e7"),i=n("da84"),o=n("e8b5"),a=n("68ee"),s=n("861d"),l=n("23cb"),u=n("07fa"),c=n("fc6a"),d=n("8418"),h=n("b622"),f=n("1dde"),p=n("f36a"),g=f("slice"),v=h("species"),y=i.Array,m=Math.max;r({target:"Array",proto:!0,forced:!g},{slice:function(t,e){var n,r,i,h=c(this),f=u(h),g=l(t,f),b=l(void 0===e?f:e,f);if(o(h)&&(n=h.constructor,a(n)&&(n===y||o(n.prototype))?n=void 0:s(n)&&(null===(n=n[v])&&(n=void 0)),n===y||void 0===n))return p(h,g,b);for(r=new(void 0===n?y:n)(m(b-g,0)),i=0;g \ No newline at end of file -- Gitee From c332b293cc1d918db0447a48646625c6740fdae9 Mon Sep 17 00:00:00 2001 From: luotianqi777 Date: Mon, 30 May 2022 09:57:23 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E6=9B=B4=E6=96=B0html=E6=A8=A1=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/README.md | 2 +- README.md | 18 ++++++------- analyzer/engine/engine.go | 7 +++-- analyzer/groovy/analyzer.go | 39 ---------------------------- analyzer/groovy/grape.go | 25 ------------------ analyzer/java/ext.go | 4 +++ analyzer/{groovy => java}/gradle.go | 8 ++++-- analyzer/{groovy => java}/oss.gradle | 0 util/report/index.html | 6 ++--- 9 files changed, 25 insertions(+), 84 deletions(-) delete mode 100644 analyzer/groovy/analyzer.go delete mode 100644 analyzer/groovy/grape.go rename analyzer/{groovy => java}/gradle.go (92%) rename analyzer/{groovy => java}/oss.gradle (100%) diff --git a/.github/README.md b/.github/README.md index e437c59..c8b1046 100644 --- a/.github/README.md +++ b/.github/README.md @@ -26,7 +26,7 @@ OpenSCA is now capable of parsing configuration files in the listed programming | ------------ | --------------- | ---------------------------------------------- | | `Java` | `Maven` | `pom.xml` | | `JavaScript` | `Npm` | `package-lock.json` `package.json` `yarn.lock` | -| `PHP` | `Composer` | `composer.json` | +| `PHP` | `Composer` | `composer.json` `composer.lock` | | `Ruby` | `gem` | `gemfile.lock` | | `Golang` | `gomod` | `go.mod` `go.sum` | | `Rust` | `cargo` | `Cargo.lock` | diff --git a/README.md b/README.md index 5e87d15..bc27480 100644 --- a/README.md +++ b/README.md @@ -17,15 +17,15 @@ ## 检测能力 `OpenSCA`现已支持以下编程语言相关的配置文件解析及对应的包管理器,后续会逐步支持更多的编程语言,丰富相关配置文件的解析。 -| 支持语言 | 包管理器 | 解析文件 | -| ------------ | ---------- | ------------------------------------------------------ | -| `Java` | `Maven` | `pom.xml` | -| `JavaScript` | `Npm` | `package-lock.json`
`package.json`
`yarn.lock` | -| `PHP` | `Composer` | `composer.json` | -| `Ruby` | `gem` | `gemfile.lock` | -| `Golang` | `gomod` | `go.mod`
`go.sum` | -| `Rust` | `cargo` | `Cargo.lock` | -| `Erlang` | `Rebar` | `rebar.lock` | +| 支持语言 | 包管理器 | 解析文件 | +| ------------ | ---------- | ---------------------------------------------- | +| `Java` | `Maven` | `pom.xml` | +| `JavaScript` | `Npm` | `package-lock.json` `package.json` `yarn.lock` | +| `PHP` | `Composer` | `composer.json` `composer.lock` | +| `Ruby` | `gem` | `gemfile.lock` | +| `Golang` | `gomod` | `go.mod` `go.sum` | +| `Rust` | `cargo` | `Cargo.lock` | +| `Erlang` | `Rebar` | `rebar.lock` | ## 下载安装 diff --git a/analyzer/engine/engine.go b/analyzer/engine/engine.go index b6b583e..ed67841 100644 --- a/analyzer/engine/engine.go +++ b/analyzer/engine/engine.go @@ -21,7 +21,6 @@ import ( "analyzer/analyzer" "analyzer/erlang" "analyzer/golang" - "analyzer/groovy" "analyzer/java" "analyzer/javascript" "analyzer/php" @@ -55,12 +54,12 @@ func (e Engine) ParseFile(filepath string) (depRoot *model.DepTree, taskInfo rep depRoot = model.NewDepTree(nil) taskInfo = report.TaskInfo{ AppName: filepath, - StartTime: time.Now().Format("2006-01-02 03:04:05"), + StartTime: time.Now().Format("2006-01-02 15:04:05"), } s := time.Now() defer func() { taskInfo.CostTime = time.Since(s).Seconds() - taskInfo.EndTime = time.Now().Format("2006-01-02 03:04:05") + taskInfo.EndTime = time.Now().Format("2006-01-02 15:04:05") }() if f, err := os.Stat(filepath); err != nil { taskInfo.Error = err @@ -73,7 +72,7 @@ func (e Engine) ParseFile(filepath string) (depRoot *model.DepTree, taskInfo rep // 尝试解析mvn依赖 java.MvnDepTree(filepath, depRoot) // 尝试解析gradle依赖 - groovy.GradleDepTree(filepath, depRoot) + java.GradleDepTree(filepath, depRoot) } else if filter.AllPkg(filepath) { if f, err := os.Stat(filepath); err != nil { logs.Warn(err) diff --git a/analyzer/groovy/analyzer.go b/analyzer/groovy/analyzer.go deleted file mode 100644 index 4e7d15a..0000000 --- a/analyzer/groovy/analyzer.go +++ /dev/null @@ -1,39 +0,0 @@ -package groovy - -import ( - "util/enum/language" - "util/filter" - "util/model" -) - -type Analyzer struct{} - -func New() Analyzer { - return Analyzer{} -} - -// GetLanguage get language of analyzer -func (a Analyzer) GetLanguage() language.Type { - return language.Groovy -} - -// CheckFile check parsable file -func (a Analyzer) CheckFile(filename string) bool { - return false - // groovy 文件无法解析依赖层级,暂不处理 - // return filter.GroovyFile(filename) -} - -// ParseFiles parse dependency from file -func (a Analyzer) ParseFiles(files []*model.FileInfo) []*model.DepTree { - deps := []*model.DepTree{} - for _, f := range files { - dep := model.NewDepTree(nil) - dep.Path = f.Name - if filter.GroovyFile(f.Name) { - parseGroovyFile(dep, f) - } - deps = append(deps, dep) - } - return deps -} diff --git a/analyzer/groovy/grape.go b/analyzer/groovy/grape.go deleted file mode 100644 index abc0ccc..0000000 --- a/analyzer/groovy/grape.go +++ /dev/null @@ -1,25 +0,0 @@ -package groovy - -import ( - "regexp" - "util/model" -) - -// parseGroovyFile parse deps in groovy file -func parseGroovyFile(root *model.DepTree, file *model.FileInfo) { - // repo: @GrabResolver(name='mvnRepository', root='http://central.maven.org/maven2/') - regs := []*regexp.Regexp{ - // @Grab('org.springframework:spring-orm:3.2.5.RELEASE') - // @Grab('org.neo4j:neo4j-cypher:2.1.4;transitive=false') - regexp.MustCompile(``), - // @Grab(group='org.restlet', module='org.restlet', version='1.1.6') - // @Grab(group='org.restlet', module='org.restlet', version='1.1.6', classifier='jdk15') - regexp.MustCompile(``), - // Grape.grab(group:'org.slf4j', module:'slf4j-api', version:'1.7.25') - // Grape.grab(groupId:'com.jidesoft', artifactId:'jide-oss', version:'[2.2.1,2.3)', classLoader:loader) - } - for _, reg := range regs { - _ = reg - // match := reg.FindAllStringSubmatch(string(file.Data), -1) - } -} diff --git a/analyzer/java/ext.go b/analyzer/java/ext.go index eb381a4..cc44780 100644 --- a/analyzer/java/ext.go +++ b/analyzer/java/ext.go @@ -48,6 +48,7 @@ func MvnDepTree(path string, root *model.DepTree) { start := 0 // 标记是否在依赖范围内树 tree := false + root.Direct = true // 获取mvn依赖树 for i, line := range lines { if title.MatchString(line) { @@ -58,6 +59,9 @@ func MvnDepTree(path string, root *model.DepTree) { if tree && strings.Trim(line, "-") == "" { tree = false buildMvnDepTree(root, lines[start+1:i]) + for _, c := range root.Children { + c.Direct = true + } continue } } diff --git a/analyzer/groovy/gradle.go b/analyzer/java/gradle.go similarity index 92% rename from analyzer/groovy/gradle.go rename to analyzer/java/gradle.go index 1d1ae4b..51f5e57 100644 --- a/analyzer/groovy/gradle.go +++ b/analyzer/java/gradle.go @@ -1,4 +1,4 @@ -package groovy +package java import ( "bytes" @@ -45,6 +45,7 @@ func GradleDepTree(dirpath string, root *model.DepTree) { // 获取 gradle 解析内容 startTag := `ossDepStart` endTag := `ossDepEnd` + root.Direct = true for { startIndex, endIndex := bytes.Index(out, []byte(startTag)), bytes.Index(out, []byte(endTag)) if startIndex > -1 && endIndex > -1 { @@ -62,12 +63,15 @@ func GradleDepTree(dirpath string, root *model.DepTree) { d.Vendor = n.GroupId d.Name = n.ArtifactId d.Version = model.NewVersion(n.Version) - d.Language = language.Groovy + d.Language = language.Java for _, c := range n.Children { c.MapDep = model.NewDepTree(d) } q = append(q[1:], n.Children...) } + for _, c := range gdep.MapDep.Children { + c.Direct = true + } } else { break } diff --git a/analyzer/groovy/oss.gradle b/analyzer/java/oss.gradle similarity index 100% rename from analyzer/groovy/oss.gradle rename to analyzer/java/oss.gradle diff --git a/util/report/index.html b/util/report/index.html index 146bc1d..76160e3 100644 --- a/util/report/index.html +++ b/util/report/index.html @@ -1,4 +1,2 @@ -OpenSCA开源组件检测报告
\ No newline at end of file +OpenSCA开源组件检测报告
\ No newline at end of file -- Gitee