diff --git "a/speakers/server/static/static/js/chunk-libs.abaf6167.js" "b/speakers/server/static/static/js/chunk-libs.abaf6167.js" new file mode 100644--- /dev/null +++ "b/speakers/server/static/static/js/chunk-libs.abaf6167.js" @@ -0,0 +1,44 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-libs"],{"0046":function(e,t,n){var r=n("6d8b"),i=r.each,a=r.createHashMap,o=n("4f85"),s=n("3301"),l=o.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(e,t){var n=this.getSource();return c(n,this),s(n,this)},getRawIndicesByActiveState:function(e){var t=this.coordinateSystem,n=this.getData(),r=[];return t.eachActiveState(n,(function(t,i){e===t&&r.push(n.getRawIndex(i))})),r},defaultOption:{zlevel:0,z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"}});function c(e,t){if(!e.encodeDefine){var n=t.ecModel.getComponent("parallel",t.get("parallelIndex"));if(n){var r=e.encodeDefine=a();i(n.dimensions,(function(e){var t=u(e);r.set(e,t)}))}}}function u(e){return+e.replace("dim","")}e.exports=l},"004f":function(e,t,n){var r=n("6d8b"),i=n("72b6"),a=n("2306"),o=n("a15a"),s=o.createSymbol,l=n("f934"),c=n("cbb0"),u=i.extend({type:"visualMap.piecewise",doRender:function(){var e=this.group;e.removeAll();var t=this.visualMapModel,n=t.get("textGap"),i=t.textStyleModel,o=i.getFont(),s=i.getTextColor(),c=this._getItemAlign(),u=t.itemSize,d=this._getViewData(),h=d.endsText,p=r.retrieve(t.get("showLabel",!0),!h);function f(i){var l=i.piece,d=new a.Group;d.onclick=r.bind(this._onItemClick,this,l),this._enableHoverLink(d,i.indexInModelPieceList);var h=t.getRepresentValue(l);if(this._createItemSymbol(d,h,[0,0,u[0],u[1]]),p){var f=this.visualMapModel.getValueState(h);d.add(new a.Text({style:{x:"right"===c?-n:u[0]+n,y:u[1]/2,text:l.text,textVerticalAlign:"middle",textAlign:c,textFont:o,textFill:s,opacity:"outOfRange"===f?.5:1}}))}e.add(d)}h&&this._renderEndsText(e,h[0],u,p,c),r.each(d.viewPieceList,f,this),h&&this._renderEndsText(e,h[1],u,p,c),l.box(t.get("orient"),e,t.get("itemGap")),this.renderBackground(e),this.positionGroup(e)},_enableHoverLink:function(e,t){function n(e){var n=this.visualMapModel;n.option.hoverLink&&this.api.dispatchAction({type:e,batch:c.makeHighDownBatch(n.findTargetDataIndices(t),n)})}e.on("mouseover",r.bind(n,this,"highlight")).on("mouseout",r.bind(n,this,"downplay"))},_getItemAlign:function(){var e=this.visualMapModel,t=e.option;if("vertical"===t.orient)return c.getItemAlign(e,this.api,e.itemSize);var n=t.align;return n&&"auto"!==n||(n="left"),n},_renderEndsText:function(e,t,n,r,i){if(t){var o=new a.Group,s=this.visualMapModel.textStyleModel;o.add(new a.Text({style:{x:r?"right"===i?n[0]:0:n[0]/2,y:n[1]/2,textVerticalAlign:"middle",textAlign:r?i:"center",text:t,textFont:s.getFont(),textFill:s.getTextColor()}})),e.add(o)}},_getViewData:function(){var e=this.visualMapModel,t=r.map(e.getPieceList(),(function(e,t){return{piece:e,indexInModelPieceList:t}})),n=e.get("text"),i=e.get("orient"),a=e.get("inverse");return("horizontal"===i?a:!a)?t.reverse():n&&(n=n.slice().reverse()),{viewPieceList:t,endsText:n}},_createItemSymbol:function(e,t,n){e.add(s(this.getControllerVisual(t,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(t,"color")))},_onItemClick:function(e){var t=this.visualMapModel,n=t.option,i=r.clone(n.selected),a=t.getSelectedMapKey(e);"single"===n.selectedMode?(i[a]=!0,r.each(i,(function(e,t){i[t]=t===a}))):i[a]=!i[a],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:i})}}),d=u;e.exports=d},"007d":function(e,t,n){var r=n("3eba");n("cb8f"),n("a96b"),n("42f6"),r.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},(function(){})),r.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},(function(){}))},"0081":function(e,t){e.exports=function(e){var t="[A-Z_][A-Z0-9_.]*",n={keyword:"HEADER ENDSEC DATA"},r={className:"meta",begin:"ISO-10303-21;",relevance:10},i={className:"meta",begin:"END-ISO-10303-21;",relevance:10};return{aliases:["p21","step","stp"],case_insensitive:!0,lexemes:t,keywords:n,contains:[r,i,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT("/\\*\\*!","\\*/"),e.C_NUMBER_MODE,e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"'",end:"'"},{className:"symbol",variants:[{begin:"#",end:"\\d+",illegal:"\\W"}]}]}}},"00b4":function(e,t,n){"use strict";n("ac1f");var r=n("23e7"),i=n("c65b"),a=n("1626"),o=n("825a"),s=n("577e"),l=function(){var e=!1,t=/[ac]/;return t.exec=function(){return e=!0,/./.exec.apply(this,arguments)},!0===t.test("abc")&&e}(),c=/./.test;r({target:"RegExp",proto:!0,forced:!l},{test:function(e){var t=o(this),n=s(e),r=t.exec;if(!a(r))return i(c,t,n);var l=i(r,t,n);return null!==l&&(o(l),!0)}})},"00ba":function(e,t,n){var r=n("3eba"),i=n("6d8b"),a=n("e46b"),o=n("e0d3"),s=o.defaultEmphasis,l=n("0f99"),c=l.makeSeriesEncodeForNameBased,u=n("c4a3"),d=r.extendSeriesModel({type:"series.funnel",init:function(e){d.superApply(this,"init",arguments),this.legendVisualProvider=new u(i.bind(this.getData,this),i.bind(this.getRawData,this)),this._defaultLabelLine(e)},getInitialData:function(e,t){return a(this,{coordDimensions:["value"],encodeDefaulter:i.curry(c,this)})},_defaultLabelLine:function(e){s(e,"labelLine",["show"]);var t=e.labelLine,n=e.emphasis.labelLine;t.show=t.show&&e.label.show,n.show=n.show&&e.emphasis.label.show},getDataParams:function(e){var t=this.getData(),n=d.superCall(this,"getDataParams",e),r=t.mapDimension("value"),i=t.getSum(r);return n.percent=i?+(t.get(r,e)/i*100).toFixed(2):0,n.$vars.push("percent"),n},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,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,type:"solid"}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}}}}),h=d;e.exports=h},"00d8":function(e,t,n){var r=n("6d8b");function i(e,t){return t=t||[0,0],r.map([0,1],(function(n){var r=t[n],i=e[n]/2,a=[],o=[];return a[n]=r-i,o[n]=r+i,a[1-n]=o[1-n]=t[1-n],Math.abs(this.dataToPoint(a)[n]-this.dataToPoint(o)[n])}),this)}function a(e){var t=e.getBoundingRect();return{coordSys:{type:"geo",x:t.x,y:t.y,width:t.width,height:t.height,zoom:e.getZoom()},api:{coord:function(t){return e.dataToPoint(t)},size:r.bind(i,e)}}}e.exports=a},"00ee":function(e,t,n){var r=n("b622"),i=r("toStringTag"),a={};a[i]="z",e.exports="[object z]"===String(a)},"0141":function(e,t,n){var r=n("6d8b"),i=n("9850"),a=n("6cc5"),o=n("5b87");function s(e,t,n,r){a.call(this,e),this.map=t;var i=o.load(t,n);this._nameCoordMap=i.nameCoordMap,this._regionsMap=i.regionsMap,this._invertLongitute=null==r||r,this.regions=i.regions,this._rect=i.boundingRect}function l(e,t,n,r){var i=n.geoModel,a=n.seriesModel,o=i?i.coordinateSystem:a?a.coordinateSystem||(a.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return o===this?o[e](r):null}s.prototype={constructor:s,type:"geo",dimensions:["lng","lat"],containCoord:function(e){for(var t=this.regions,n=0;n|$)",illegal:l,contains:[{beginKeywords:"loop for declare others",endsParent:!0},{className:"keyword",beginKeywords:"not null constant access function procedure in out aliased exception"},{className:"type",begin:s,endsParent:!0,relevance:0}]};return{case_insensitive:!0,keywords:{keyword:"abort else new return abs elsif not reverse abstract end accept entry select access exception of separate aliased exit or some all others subtype and for out synchronized array function overriding at tagged generic package task begin goto pragma terminate body private then if procedure type case in protected constant interface is raise use declare range delay limited record when delta loop rem while digits renames with do mod requeue xor",literal:"True False"},contains:[c,{className:"string",begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{className:"string",begin:/'.'/},{className:"number",begin:o,relevance:0},{className:"symbol",begin:"'"+s},{className:"title",begin:"(\\bwith\\s+)?(\\bprivate\\s+)?\\bpackage\\s+(\\bbody\\s+)?",end:"(is|$)",keywords:"package body",excludeBegin:!0,excludeEnd:!0,illegal:l},{begin:"(\\b(with|overriding)\\s+)?\\b(function|procedure)\\s+",end:"(\\bis|\\bwith|\\brenames|\\)\\s*;)",keywords:"overriding function procedure with is renames return",returnBegin:!0,contains:[c,{className:"title",begin:"(\\bwith\\s+)?\\b(function|procedure)\\s+",end:"(\\(|\\s+|$)",excludeBegin:!0,excludeEnd:!0,illegal:l},u,{className:"type",begin:"\\breturn\\s+",end:"(\\s+|;|$)",keywords:"return",excludeBegin:!0,excludeEnd:!0,endsParent:!0,illegal:l}]},{className:"type",begin:"\\b(sub)?type\\s+",end:"\\s+",keywords:"type",excludeBegin:!0,illegal:l},u]}}},"01b4":function(e,t){var n=function(){this.head=null,this.tail=null};n.prototype={add:function(e){var t={item:e,next:null};this.head?this.tail.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return this.head=e.next,this.tail===e&&(this.tail=null),e.item}},e.exports=n},"01ed":function(e,t,n){var r=n("3eba"),i=n("6d8b"),a=n("2306");n("5aa9"),n("af24"),r.extendComponentView({type:"grid",render:function(e,t){this.group.removeAll(),e.get("show")&&this.group.add(new a.Rect({shape:e.coordinateSystem.getRect(),style:i.defaults({fill:e.get("backgroundColor")},e.getItemStyle()),silent:!0,z2:-1}))}}),r.registerPreprocessor((function(e){e.xAxis&&e.yAxis&&!e.grid&&(e.grid={})}))},"01ef":function(e,t){function n(e,t,n){var r=e.target,i=r.position;i[0]+=t,i[1]+=n,r.dirty()}function r(e,t,n,r){var i=e.target,a=e.zoomLimit,o=i.position,s=i.scale,l=e.zoom=e.zoom||1;if(l*=t,a){var c=a.min||0,u=a.max||1/0;l=Math.max(Math.min(u,l),c)}var d=l/e.zoom;e.zoom=l,o[0]-=(n-o[0])*(d-1),o[1]-=(r-o[1])*(d-1),s[0]*=d,s[1]*=d,i.dirty()}t.updateViewOnPan=n,t.updateViewOnZoom=r},"0209":function(e,t){e.exports=function(e){function t(e){return"(?:"+e+")?"}var n="decltype\\(auto\\)",r="[a-zA-Z_]\\w*::",i="<.*?>",a="("+n+"|"+t(r)+"[a-zA-Z_]\\w*"+t(i)+")",o={className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},s="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",l={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+s+"|.)",end:"'",illegal:"."},{begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\((?:.|\n)*?\)\1"/}]},c={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},u={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(l,{className:"meta-string"}),{className:"meta-string",begin:/<.*?>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},d={className:"title",begin:t(r)+e.IDENT_RE,relevance:0},h=t(r)+e.IDENT_RE+"\\s*\\(",p={keyword:"int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid wchar_tshort reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignas alignof constexpr consteval constinit decltype concept co_await co_return co_yield requires noexcept static_assert thread_local restrict final override atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr _Bool complex _Complex imaginary _Imaginary",literal:"true false nullptr NULL"},f=[o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,c,l],_={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:p,contains:f.concat([{begin:/\(/,end:/\)/,keywords:p,contains:f.concat(["self"]),relevance:0}]),relevance:0},m={className:"function",begin:"("+a+"[\\*&\\s]+)+"+h,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:p,illegal:/[^\w\s\*&:<>]/,contains:[{begin:n,keywords:p,relevance:0},{begin:h,returnBegin:!0,contains:[d],relevance:0},{className:"params",begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,l,c,o,{begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:["self",e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,l,c,o]}]},o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,u]};return{aliases:["c","cc","h","c++","h++","hpp","hh","hxx","cxx"],keywords:p,illegal:"",keywords:p,contains:["self",o]},{begin:e.IDENT_RE+"::",keywords:p},{className:"class",beginKeywords:"class struct",end:/[{;:]/,contains:[{begin://,contains:["self"]},e.TITLE_MODE]}]),exports:{preprocessor:u,strings:l,keywords:p}}}},"0215":function(e,t){e.exports=function(e){var t={begin:"<",end:">",contains:[e.inherit(e.TITLE_MODE,{begin:/'[a-zA-Z0-9_]+/})]};return{aliases:["fs"],keywords:"abstract and as assert base begin class default delegate do done downcast downto elif else end exception extern false finally for fun function global if in inherit inline interface internal lazy let match member module mutable namespace new null of open or override private public rec return sig static struct then to true try type upcast use val void when while with yield",illegal:/\/\*/,contains:[{className:"keyword",begin:/\b(yield|return|let|do)!/},{className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},{className:"string",begin:'"""',end:'"""'},e.COMMENT("\\(\\*","\\*\\)"),{className:"class",beginKeywords:"type",end:"\\(|=|$",excludeEnd:!0,contains:[e.UNDERSCORE_TITLE_MODE,t]},{className:"meta",begin:"\\[<",end:">\\]",relevance:10},{className:"symbol",begin:"\\B('[A-Za-z])\\b",contains:[e.BACKSLASH_ESCAPE]},e.C_LINE_COMMENT_MODE,e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),e.C_NUMBER_MODE]}}},"0290":function(e,t){e.exports=function(e){return{aliases:["adoc"],contains:[e.COMMENT("^/{4,}\\n","\\n/{4,}$",{relevance:10}),e.COMMENT("^//","$",{relevance:0}),{className:"title",begin:"^\\.\\w.*$"},{begin:"^[=\\*]{4,}\\n",end:"\\n^[=\\*]{4,}$",relevance:10},{className:"section",relevance:10,variants:[{begin:"^(={1,5}) .+?( \\1)?$"},{begin:"^[^\\[\\]\\n]+?\\n[=\\-~\\^\\+]{2,}$"}]},{className:"meta",begin:"^:.+?:",end:"\\s",excludeEnd:!0,relevance:10},{className:"meta",begin:"^\\[.+?\\]$",relevance:0},{className:"quote",begin:"^_{4,}\\n",end:"\\n_{4,}$",relevance:10},{className:"code",begin:"^[\\-\\.]{4,}\\n",end:"\\n[\\-\\.]{4,}$",relevance:10},{begin:"^\\+{4,}\\n",end:"\\n\\+{4,}$",contains:[{begin:"<",end:">",subLanguage:"xml",relevance:0}],relevance:10},{className:"bullet",begin:"^(\\*+|\\-+|\\.+|[^\\n]+?::)\\s+"},{className:"symbol",begin:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",relevance:10},{className:"strong",begin:"\\B\\*(?![\\*\\s])",end:"(\\n{2}|\\*)",contains:[{begin:"\\\\*\\w",relevance:0}]},{className:"emphasis",begin:"\\B'(?!['\\s])",end:"(\\n{2}|')",contains:[{begin:"\\\\'\\w",relevance:0}],relevance:0},{className:"emphasis",begin:"_(?![_\\s])",end:"(\\n{2}|_)",relevance:0},{className:"string",variants:[{begin:"``.+?''"},{begin:"`.+?'"}]},{className:"code",begin:"(`.+?`|\\+.+?\\+)",relevance:0},{className:"code",begin:"^[ \\t]",end:"$",relevance:0},{begin:"^'{3,}[ \\t]*$",relevance:10},{begin:"(link:)?(http|https|ftp|file|irc|image:?):\\S+\\[.*?\\]",returnBegin:!0,contains:[{begin:"(link|image:?):",relevance:0},{className:"link",begin:"\\w",end:"[^\\[]+",relevance:0},{className:"string",begin:"\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0,relevance:0}],relevance:10}]}}},"02ac":function(e,t){e.exports=function(e){var t={className:"string",begin:"\\[\n(multipart)?",end:"\\]\n"},n={className:"string",begin:"\\d{4}-\\d{2}-\\d{2}(\\s+)\\d{2}:\\d{2}:\\d{2}.\\d+Z"},r={className:"string",begin:"(\\+|-)\\d+"},i={className:"keyword",relevance:10,variants:[{begin:"^(test|testing|success|successful|failure|error|skip|xfail|uxsuccess)(:?)\\s+(test)?"},{begin:"^progress(:?)(\\s+)?(pop|push)?"},{begin:"^tags:"},{begin:"^time:"}]};return{case_insensitive:!0,contains:[t,n,r,i]}}},"02c4":function(e,t){e.exports=function(e){var t={className:"keyword",begin:"\\$(f[asn]|t|vp[rtd]|children)"},n={className:"literal",begin:"false|true|PI|undef"},r={className:"number",begin:"\\b\\d+(\\.\\d+)?(e-?\\d+)?",relevance:0},i=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),a={className:"meta",keywords:{"meta-keyword":"include use"},begin:"include|use <",end:">"},o={className:"params",begin:"\\(",end:"\\)",contains:["self",r,i,t,n]},s={begin:"[*!#%]",relevance:0},l={className:"function",beginKeywords:"module function",end:"\\=|\\{",contains:[o,e.UNDERSCORE_TITLE_MODE]};return{aliases:["scad"],keywords:{keyword:"function module include use for intersection_for if else \\%",literal:"false true PI undef",built_in:"circle square polygon text sphere cube cylinder polyhedron translate rotate scale resize mirror multmatrix color offset hull minkowski union difference intersection abs sign sin cos tan acos asin atan atan2 floor round ceil ln log pow sqrt exp rands min max concat lookup str chr search version version_num norm cross parent_module echo import import_dxf dxf_linear_extrude linear_extrude rotate_extrude surface projection render children dxf_cross dxf_dim let assign"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,r,a,i,t,s,l]}}},"0352":function(e,t,n){var r=n("6cb7"),i=n("b12f"),a=n("0f99"),o=a.detectSourceFormat,s=n("93d0"),l=s.SERIES_LAYOUT_BY_COLUMN;r.extend({type:"dataset",defaultOption:{seriesLayoutBy:l,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){o(this)}}),i.extend({type:"dataset"})},"0366":function(e,t,n){var r=n("e330"),i=n("59ed"),a=n("40d5"),o=r(r.bind);e.exports=function(e,t){return i(e),void 0===t?e:a?o(e,t):function(){return e.apply(t,arguments)}}},"03d6":function(e,t,n){var r=n("9c0e"),i=n("6ca1"),a=n("39ad")(!1),o=n("5a94")("IE_PROTO");e.exports=function(e,t){var n,s=i(e),l=0,c=[];for(n in s)n!=o&&r(s,n)&&c.push(n);while(t.length>l)r(s,n=t[l++])&&(~a(c,n)||c.push(n));return c}},"0481":function(e,t){e.exports=function(e){var t={begin:"`[\\s\\S]"};return{case_insensitive:!0,aliases:["ahk"],keywords:{keyword:"Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group",literal:"true false NOT AND OR",built_in:"ComSpec Clipboard ClipboardAll ErrorLevel"},contains:[t,e.inherit(e.QUOTE_STRING_MODE,{contains:[t]}),e.COMMENT(";","$",{relevance:0}),e.C_BLOCK_COMMENT_MODE,{className:"number",begin:e.NUMBER_RE,relevance:0},{className:"variable",begin:"%[a-zA-Z0-9#_$@]+%"},{className:"built_in",begin:"^\\s*\\w+\\s*(,|%)"},{className:"title",variants:[{begin:'^[^\\n";]+::(?!=)'},{begin:'^[^\\n";]+:(?!=)',relevance:0}]},{className:"meta",begin:"^\\s*#\\w+",end:"$",relevance:0},{className:"built_in",begin:"A_[a-zA-Z0-9]+"},{begin:",\\s*,"}]}}},"04a8":function(e,t){e.exports=function(e){var t={begin:/[\w-]+ *=/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/[\w-]+/}]},n={className:"params",begin:/\(/,end:/\)/,contains:[t],relevance:0},r={className:"function",begin:/:[\w\-.]+/,relevance:0},i={className:"string",begin:/\B(([\/.])[\w\-.\/=]+)+/},a={className:"params",begin:/--[\w\-=\/]+/};return{aliases:["wildfly-cli"],lexemes:"[a-z-]+",keywords:{keyword:"alias batch cd clear command connect connection-factory connection-info data-source deploy deployment-info deployment-overlay echo echo-dmr help history if jdbc-driver-info jms-queue|20 jms-topic|20 ls patch pwd quit read-attribute read-operation reload rollout-plan run-batch set shutdown try unalias undeploy unset version xa-data-source",literal:"true false"},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,a,r,i,n]}}},"04b0":function(e,t){e.exports=function(e){return{aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$"},{begin:"^.+?\\n[=-]{2,}$"}]},{begin:"<",end:">",subLanguage:"xml",relevance:0},{className:"bullet",begin:"^\\s*([*+-]|(\\d+\\.))\\s+"},{className:"strong",begin:"[*_]{2}.+?[*_]{2}"},{className:"emphasis",variants:[{begin:"\\*.+?\\*"},{begin:"_.+?_",relevance:0}]},{className:"quote",begin:"^>\\s+",end:"$"},{className:"code",variants:[{begin:"^```\\w*\\s*$",end:"^```[ ]*$"},{begin:"`.+?`"},{begin:"^( {4}|\\t)",end:"$",relevance:0}]},{begin:"^[-\\*]{3,}",end:"$"},{begin:"\\[.+?\\][\\(\\[].*?[\\)\\]]",returnBegin:!0,contains:[{className:"string",begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0,relevance:0},{className:"link",begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}],relevance:10},{begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]}]}}},"04f6":function(e,t){var n=32,r=7;function i(e){var t=0;while(e>=n)t|=1&e,e>>=1;return e+t}function a(e,t,n,r){var i=t+1;if(i===n)return 1;if(r(e[i++],e[t])<0){while(i=0)i++;return i-t}function o(e,t,n){n--;while(t>>1,i(o,e[a])<0?l=a:s=a+1;var c=r-s;switch(c){case 3:e[s+3]=e[s+2];case 2:e[s+2]=e[s+1];case 1:e[s+1]=e[s];break;default:while(c>0)e[s+c]=e[s+c-1],c--}e[s]=o}}function l(e,t,n,r,i,a){var o=0,s=0,l=1;if(a(e,t[n+i])>0){s=r-i;while(l0)o=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),o+=i,l+=i}else{s=i+1;while(ls&&(l=s);var c=o;o=i-l,l=i-c}o++;while(o>>1);a(e,t[n+u])>0?o=u+1:l=u}return l}function c(e,t,n,r,i,a){var o=0,s=0,l=1;if(a(e,t[n+i])<0){s=i+1;while(ls&&(l=s);var c=o;o=i-l,l=i-c}else{s=r-i;while(l=0)o=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),o+=i,l+=i}o++;while(o>>1);a(e,t[n+u])<0?l=u:o=u+1}return l}function u(e,t){var n,i,a=r,o=0,s=0;o=e.length;var u=[];function d(e,t){n[s]=e,i[s]=t,s+=1}function h(){while(s>1){var e=s-2;if(e>=1&&i[e-1]<=i[e]+i[e+1]||e>=2&&i[e-2]<=i[e]+i[e-1])i[e-1]i[e+1])break;f(e)}}function p(){while(s>1){var e=s-2;e>0&&i[e-1]=r||m>=r);if(g)break;v<0&&(v=0),v+=2}if(a=v,a<1&&(a=1),1===i){for(d=0;d=0;d--)e[m+d]=e[_+d];if(0===i){b=!0;break}}if(e[f--]=u[p--],1===--s){b=!0;break}if(y=s-l(e[h],u,0,s,s-1,t),0!==y){for(f-=y,p-=y,s-=y,m=f+1,_=p+1,d=0;d=r||y>=r);if(b)break;g<0&&(g=0),g+=2}if(a=g,a<1&&(a=1),1===s){for(f-=i,h-=i,m=f+1,_=h+1,d=i-1;d>=0;d--)e[m+d]=e[_+d];e[f]=u[p]}else{if(0===s)throw new Error;for(_=f-(s-1),d=0;d=0;d--)e[m+d]=e[_+d];e[f]=u[p]}else for(_=f-(s-1),d=0;dh&&(p=h),s(e,r,r+p,r+c,t),c=p}d.pushRun(r,c),d.mergeRuns(),l-=c,r+=c}while(0!==l);d.forceMergeRuns()}}e.exports=d},"04f8":function(e,t,n){var r=n("2d00"),i=n("d039");e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},"051b":function(e,t,n){var r=n("1a14"),i=n("10db");e.exports=n("0bad")?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},"057f":function(e,t,n){var r=n("c6b6"),i=n("fc6a"),a=n("241c").f,o=n("4dae"),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],l=function(e){try{return a(e)}catch(t){return o(s)}};e.exports.f=function(e){return s&&"Window"==r(e)?l(e):a(i(e))}},"05f5":function(e,t,n){var r=n("7a41"),i=n("ef08").document,a=r(i)&&r(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},"0655":function(e,t,n){var r=n("8728"),i=1e-8;function a(e,t){return Math.abs(e-t).5?t:e}function h(e,t,n,r,i){var a=e.length;if(1===i)for(var o=0;oi;if(a)e.length=i;else for(var o=r;o=0;n--)if(O[n]<=t)break;n=Math.min(n,S-2)}else{for(n=V;nt)break;n=Math.min(n-1,S-2)}V=n,H=t;var r=O[n+1]-O[n];if(0!==r)if(F=(t-O[n])/r,b)if(U=R[n],B=R[0===n?n:n-1],G=R[n>S-2?S-1:n+1],z=R[n>S-3?S-1:n+2],T)_(B,U,G,z,F,F*F,F*F*F,c(e,s),w);else{if(C)i=_(B,U,G,z,F,F*F,F*F*F,Y,1),i=v(Y);else{if(A)return d(U,G,F);i=m(B,U,G,z,F,F*F,F*F*F)}g(e,s,i)}else if(T)h(R[n],R[n+1],F,c(e,s),w);else{var i;if(C)h(R[n],R[n+1],F,Y,1),i=v(Y);else{if(A)return d(R[n],R[n+1],F);i=u(R[n],R[n+1],F)}g(e,s,i)}},q=new r({target:e._target,life:E,loop:e._loop,delay:e._delay,onframe:W,ondestroy:n});return t&&"spline"!==t&&(q.easing=t),q}}}var S=function(e,t,n,r){this._tracks={},this._target=e,this._loop=t||!1,this._getter=n||l,this._setter=r||c,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};S.prototype={when:function(e,t){var n=this._tracks;for(var r in t)if(t.hasOwnProperty(r)){if(!n[r]){n[r]=[];var i=this._getter(this._target,r);if(null==i)continue;0!==e&&n[r].push({time:0,value:g(i)})}n[r].push({time:e,value:t[r]})}return this},during:function(e){return this._onframeList.push(e),this},pause:function(){for(var e=0;et&&(t=r.height)}this.height=t+1},getNodeById:function(e){if(this.getId()===e)return this;for(var t=0,n=this.children,r=n.length;t=0&&this.hostTree.data.setItemLayout(this.dataIndex,e,t)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(e){if(!(this.dataIndex<0)){var t=this.hostTree,n=t.data.getItemModel(this.dataIndex);return n.getModel(e)}},setVisual:function(e,t){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,e,t)},getVisual:function(e,t){return this.hostTree.data.getItemVisual(this.dataIndex,e,t)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(e){var t=e.parentNode;while(t){if(t===this)return!0;t=t.parentNode}return!1},isDescendantOf:function(e){return e!==this&&e.isAncestorOf(this)}},l.prototype={constructor:l,type:"tree",eachNode:function(e,t,n){this.root.eachNode(e,t,n)},getNodeByDataIndex:function(e){var t=this.data.getRawIndex(e);return this._nodes[t]},getNodeByName:function(e){return this.root.getNodeByName(e)},update:function(){for(var e=this.data,t=this._nodes,n=0,r=t.length;n0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(e){this.option.selected=i.clone(e)},getValueState:function(e){var t=o.findPieceIndex(e,this._pieceList);return null!=t&&this.option.selected[this.getSelectedMapKey(this._pieceList[t])]?"inRange":"outOfRange"},findTargetDataIndices:function(e){var t=[];return this.eachTargetSeries((function(n){var r=[],i=n.getData();i.each(this.getDataDimension(i),(function(t,n){var i=o.findPieceIndex(t,this._pieceList);i===e&&r.push(n)}),this),t.push({seriesId:n.id,dataIndex:r})}),this),t},getRepresentValue:function(e){var t;if(this.isCategory())t=e.value;else if(null!=e.value)t=e.value;else{var n=e.interval||[];t=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return t},getVisualMeta:function(e){if(!this.isCategory()){var t=[],n=[],r=this,a=this._pieceList.slice();if(a.length){var o=a[0].interval[0];o!==-1/0&&a.unshift({interval:[-1/0,o]}),o=a[a.length-1].interval[1],o!==1/0&&a.push({interval:[o,1/0]})}else a.push({interval:[-1/0,1/0]});var s=-1/0;return i.each(a,(function(e){var t=e.interval;t&&(t[0]>s&&l([s,t[0]],"outOfRange"),l(t.slice()),s=t[1])}),this),{stops:t,outerColors:n}}function l(i,a){var o=r.getRepresentValue({interval:i});a||(a=r.getValueState(o));var s=e(o,a);i[0]===-1/0?n[0]=s:i[1]===1/0?n[1]=s:t.push({value:i[0],color:s},{value:i[1],color:s})}}}),d={splitNumber:function(){var e=this.option,t=this._pieceList,n=Math.min(e.precision,20),r=this.getExtent(),a=e.splitNumber;a=Math.max(parseInt(a,10),1),e.splitNumber=a;var o=(r[1]-r[0])/a;while(+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 s=0,l=r[0];s","≥"][t[0]]];e.text=e.text||this.formatValueText(null!=e.value?e.value:e.interval,!1,n)}),this)}};function h(e,t){var n=e.inverse;("vertical"===e.orient?!n:n)&&t.reverse()}var p=u;e.exports=p},"072d":function(e,t,n){"use strict";var r=n("0bad"),i=n("9876"),a=n("fed5"),o=n("1917"),s=n("0983"),l=n("9fbb"),c=Object.assign;e.exports=!c||n("4b8b")((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=c({},e)[n]||Object.keys(c({},t)).join("")!=r}))?function(e,t){var n=s(e),c=arguments.length,u=1,d=a.f,h=o.f;while(c>u){var p,f=l(arguments[u++]),_=d?i(f).concat(d(f)):i(f),m=_.length,g=0;while(m>g)p=_[g++],r&&!h.call(f,p)||(n[p]=f[p])}return n}:c},"074e":function(e,t){e.exports=function(e){var t={className:"params",begin:"\\(",end:"\\)"},n={literal:".False. .True.",keyword:"kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure integer real character complex logical dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data begin_provider &begin_provider end_provider begin_shell end_shell begin_template end_template subst assert touch soft_touch provide no_dep free irp_if irp_else irp_endif irp_write irp_read",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_ofacosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image IRP_ALIGN irp_here"};return{case_insensitive:!0,keywords:n,illegal:/\/\*/,contains:[e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{className:"string",relevance:0}),{className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[e.UNDERSCORE_TITLE_MODE,t]},e.COMMENT("!","$",{relevance:0}),e.COMMENT("begin_doc","end_doc",{relevance:10}),{className:"number",begin:"(?=\\b|\\+|\\-|\\.)(?=\\.\\d|\\d)(?:\\d+)?(?:\\.?\\d*)(?:[de][+-]?\\d+)?\\b\\.?",relevance:0}]}}},"07d7":function(e,t,n){var r=n("6d8b"),i=n("41ef"),a=n("607d"),o=n("65ed"),s=n("22d1"),l=n("eda2"),c=r.each,u=l.toCamelCase,d=["","-webkit-","-moz-","-o-"],h="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";function p(e){var t="cubic-bezier(0.23, 1, 0.32, 1)",n="left "+e+"s "+t+",top "+e+"s "+t;return r.map(d,(function(e){return e+"transition:"+n})).join(";")}function f(e){var t=[],n=e.get("fontSize"),r=e.getTextColor();r&&t.push("color:"+r),t.push("font:"+e.getFont());var i=e.get("lineHeight");null==i&&(i=Math.round(3*n/2)),n&&t.push("line-height:"+i+"px");var a=e.get("textShadowColor"),o=e.get("textShadowBlur")||0,s=e.get("textShadowOffsetX")||0,l=e.get("textShadowOffsetY")||0;return o&&t.push("text-shadow:"+s+"px "+l+"px "+o+"px "+a),c(["decoration","align"],(function(n){var r=e.get(n);r&&t.push("text-"+n+":"+r)})),t.join(";")}function _(e){var t=[],n=e.get("transitionDuration"),r=e.get("backgroundColor"),a=e.getModel("textStyle"),o=e.get("padding");return n&&t.push(p(n)),r&&(s.canvasSupported?t.push("background-Color:"+r):(t.push("background-Color:#"+i.toHex(r)),t.push("filter:alpha(opacity=70)"))),c(["width","color","radius"],(function(n){var r="border-"+n,i=u(r),a=e.get(i);null!=a&&t.push(r+":"+a+("color"===n?"":"px"))})),t.push(f(a)),null!=o&&t.push("padding:"+l.normalizeCssArray(o).join("px ")+"px"),t.join(";")+";"}function m(e,t,n,r,i){var a=t&&t.painter;if(n){var s=a&&a.getViewportRoot();s&&o.transformLocalCoord(e,s,document.body,r,i)}else{e[0]=r,e[1]=i;var l=a&&a.getViewportRootOffset();l&&(e[0]+=l.offsetLeft,e[1]+=l.offsetTop)}e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}function g(e,t,n){if(s.wxa)return null;var r=document.createElement("div");r.domBelongToZr=!0,this.el=r;var i=this._zr=t.getZr(),o=this._appendToBody=n&&n.appendToBody;this._styleCoord=[0,0,0,0],m(this._styleCoord,i,o,t.getWidth()/2,t.getHeight()/2),o?document.body.appendChild(r):e.appendChild(r),this._container=e,this._show=!1,this._hideTimeout;var l=this;r.onmouseenter=function(){l._enterable&&(clearTimeout(l._hideTimeout),l._show=!0),l._inContent=!0},r.onmousemove=function(e){if(e=e||window.event,!l._enterable){var t=i.handler,n=i.painter.getViewportRoot();a.normalizeEvent(n,e,!0),t.dispatch("mousemove",e)}},r.onmouseleave=function(){l._enterable&&l._show&&l.hideLater(l._hideDelay),l._inContent=!1}}g.prototype={constructor:g,_enterable:!0,update:function(e){var t=this._container,n=t.currentStyle||document.defaultView.getComputedStyle(t),r=t.style;"absolute"!==r.position&&"absolute"!==n.position&&(r.position="relative");var i=e.get("alwaysShowContent");i&&this._moveTooltipIfResized()},_moveTooltipIfResized:function(){var e=this._styleCoord[2],t=this._styleCoord[3],n=e*this._zr.getWidth(),r=t*this._zr.getHeight();this.moveTo(n,r)},show:function(e){clearTimeout(this._hideTimeout);var t=this.el,n=this._styleCoord;t.style.cssText=h+_(e)+";left:"+n[0]+"px;top:"+n[1]+"px;"+(e.get("extraCssText")||""),t.style.display=t.innerHTML?"block":"none",t.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(e){this.el.innerHTML=null==e?"":e},setEnterable:function(e){this._enterable=e},getSize:function(){var e=this.el;return[e.clientWidth,e.clientHeight]},moveTo:function(e,t){var n=this._styleCoord;m(n,this._zr,this._appendToBody,e,t);var r=this.el.style;r.left=n[0]+"px",r.top=n[1]+"px"},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(e){!this._show||this._inContent&&this._enterable||(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(r.bind(this.hide,this),e)):this.hide())},isShow:function(){return this._show},dispose:function(){this.el.parentNode.removeChild(this.el)},getOuterSize:function(){var e=this.el.clientWidth,t=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var n=document.defaultView.getComputedStyle(this.el);n&&(e+=parseInt(n.borderLeftWidth,10)+parseInt(n.borderRightWidth,10),t+=parseInt(n.borderTopWidth,10)+parseInt(n.borderBottomWidth,10))}return{width:e,height:t}}};var v=g;e.exports=v},"07e6":function(e,t,n){n("4d85"),n("a753")},"07fa":function(e,t,n){var r=n("50c4");e.exports=function(e){return r(e.length)}},"0817":function(e,t,n){var r=n("3eba");n("f306"),n("0046"),n("60d7");var i=n("ab71");r.registerVisual(i)},"083a":function(e,t,n){"use strict";var r=n("0d51"),i=TypeError;e.exports=function(e,t){if(!delete e[t])throw i("Cannot delete property "+r(t)+" of "+r(e))}},"085d":function(e,t,n){var r=n("3eba");n("bd92"),n("19e2");var i=n("eabf"),a=n("4c99"),o=n("09b1");r.registerPreprocessor(i),r.registerVisual(a),r.registerLayout(o)},"08c3":function(e,t,n){var r=n("6d8b"),i=n("84ce"),a=function(e,t,n,r){i.call(this,e,t,n),this.type=r||"value",this.model=null};a.prototype={constructor:a,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return"horizontal"===this.model.get("orient")}},r.inherits(a,i);var o=a;e.exports=o},"0983":function(e,t,n){var r=n("c901");e.exports=function(e){return Object(r(e))}},"09b1":function(e,t,n){var r=n("2306"),i=r.subPixelOptimize,a=n("cccd"),o=n("3842"),s=o.parsePercent,l=n("6d8b"),c=l.retrieve2,u="undefined"!==typeof Float32Array?Float32Array:Array,d={seriesType:"candlestick",plan:a(),reset:function(e){var t=e.coordinateSystem,n=e.getData(),r=p(e,n),a=0,o=1,s=["x","y"],l=n.mapDimension(s[a]),c=n.mapDimension(s[o],!0),d=c[0],f=c[1],_=c[2],m=c[3];if(n.setLayout({candleWidth:r,isSimpleBox:r<=1.3}),!(null==l||c.length<4))return{progress:e.pipelineContext.large?v:g};function g(e,n){var s;while(null!=(s=e.next())){var c=n.get(l,s),u=n.get(d,s),p=n.get(f,s),g=n.get(_,s),v=n.get(m,s),y=Math.min(u,p),b=Math.max(u,p),S=A(y,c),E=A(b,c),x=A(g,c),T=A(v,c),C=[];w(C,E,0),w(C,S,1),C.push(R(T),R(E),R(x),R(S)),n.setItemLayout(s,{sign:h(n,s,u,p,f),initBaseline:u>p?E[o]:S[o],ends:C,brushRect:O(g,v,c)})}function A(e,n){var r=[];return r[a]=n,r[o]=e,isNaN(n)||isNaN(e)?[NaN,NaN]:t.dataToPoint(r)}function w(e,t,n){var o=t.slice(),s=t.slice();o[a]=i(o[a]+r/2,1,!1),s[a]=i(s[a]-r/2,1,!0),n?e.push(o,s):e.push(s,o)}function O(e,t,n){var i=A(e,n),s=A(t,n);return i[a]-=r/2,s[a]-=r/2,{x:i[0],y:i[1],width:o?r:s[0]-i[0],height:o?s[1]-i[1]:r}}function R(e){return e[a]=i(e[a],1),e}}function v(e,n){var r,i,s=new u(4*e.count),c=0,p=[],g=[];while(null!=(i=e.next())){var v=n.get(l,i),y=n.get(d,i),b=n.get(f,i),S=n.get(_,i),E=n.get(m,i);isNaN(v)||isNaN(S)||isNaN(E)?(s[c++]=NaN,c+=3):(s[c++]=h(n,i,y,b,f),p[a]=v,p[o]=S,r=t.dataToPoint(p,null,g),s[c++]=r?r[0]:NaN,s[c++]=r?r[1]:NaN,p[o]=E,r=t.dataToPoint(p,null,g),s[c++]=r?r[1]:NaN)}n.setLayout("largePoints",s)}}};function h(e,t,n,r,i){var a;return a=n>r?-1:n0?e.get(i,t-1)<=r?1:-1:1,a}function p(e,t){var n,r=e.getBaseAxis(),i="category"===r.type?r.getBandWidth():(n=r.getExtent(),Math.abs(n[1]-n[0])/t.count()),a=s(c(e.get("barMaxWidth"),i),i),o=s(c(e.get("barMinWidth"),1),i),l=e.get("barWidth");return null!=l?s(l,i):Math.max(Math.min(i/2,a),o)}e.exports=d},"0a06":function(e,t,n){"use strict";var r=n("c532"),i=n("30b5"),a=n("f6b4"),o=n("5270"),s=n("4a7b"),l=n("848b"),c=l.validators;function u(e){this.defaults=e,this.interceptors={request:new a,response:new a}}u.prototype.request=function(e){"string"===typeof e?(e=arguments[1]||{},e.url=arguments[0]):e=e||{},e=s(this.defaults,e),e.method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&l.assertOptions(t,{silentJSONParsing:c.transitional(c.boolean),forcedJSONParsing:c.transitional(c.boolean),clarifyTimeoutError:c.transitional(c.boolean)},!1);var n=[],r=!0;this.interceptors.request.forEach((function(t){"function"===typeof t.runWhen&&!1===t.runWhen(e)||(r=r&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var i,a=[];if(this.interceptors.response.forEach((function(e){a.push(e.fulfilled,e.rejected)})),!r){var u=[o,void 0];Array.prototype.unshift.apply(u,n),u=u.concat(a),i=Promise.resolve(e);while(u.length)i=i.then(u.shift(),u.shift());return i}var d=e;while(n.length){var h=n.shift(),p=n.shift();try{d=h(d)}catch(f){p(f);break}}try{i=o(d)}catch(f){return Promise.reject(f)}while(a.length)i=i.then(a.shift(),a.shift());return i},u.prototype.getUri=function(e){return e=s(this.defaults,e),i(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,n,r){return this.request(s(r||{},{method:e,url:t,data:n}))}})),e.exports=u},"0a6d":function(e,t,n){n("e4d1"),n("7f72")},"0ae2":function(e,t,n){var r=n("9876"),i=n("fed5"),a=n("1917");e.exports=function(e){var t=r(e),n=i.f;if(n){var o,s=n(e),l=a.f,c=0;while(s.length>c)l.call(e,o=s[c++])&&t.push(o)}return t}},"0b22":function(e,t){e.exports=function(e){var t={keyword:"break default func interface select case map struct chan else goto package switch const fallthrough if range type continue for import return var go defer bool byte complex64 complex128 float32 float64 int8 int16 int32 int64 string uint8 uint16 uint32 uint64 int uint uintptr rune",literal:"true false iota nil",built_in:"append cap close complex copy imag len make new panic print println real recover delete"};return{aliases:["golang"],keywords:t,illegal:"1&&r&&r.length>1){var s=a(r)/a(i);!isFinite(s)&&(s=1),t.pinchScale=s;var l=o(r);return t.pinchX=l[0],t.pinchY=l[1],{type:"pinch",target:e[0].target,event:t}}}}},l=i;e.exports=l},"0b4b":function(e,t,n){n("d28f"),n("f14c"),n("0ee7"),n("ebf9")},"0b99":function(e,t,n){"use strict";var r=n("19fa")(!0);n("393a")(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},"0bad":function(e,t,n){e.exports=!n("4b8b")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"0c12":function(e,t){function n(){}function r(e,t,n,r){for(var i=0,a=t.length,o=0,s=0;i=o&&d+1>=s){for(var h=[],p=0;p=o&&p+1>=s)return r(a,c.components,t,e);u[n]=c}else u[n]=void 0}l++}while(l<=c){var _=f();if(_)return _}},pushComponent:function(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,r){var i=t.length,a=n.length,o=e.newPos,s=o-r,l=0;while(o+1i&&(i=t);var s=i%2?i+2:i+3;o=[];for(var l=0;l=0)&&(L=e);var k=new l.Text({position:R(t.center.slice()),scale:[1/m.scale[0],1/m.scale[1]],z2:10,silent:!0});if(l.setLabelStyle(k.style,k.hoverStyle={},y,b,{labelFetcher:L,labelDataIndex:P,defaultText:t.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),!v){var F=[1/u[0],1/u[1]];l.updateProps(k,{scale:F},e)}n.add(k)}if(s)s.setItemGraphicEl(a,n);else{c=e.getRegionModel(t.name);i.eventData={componentType:"geo",componentIndex:e.componentIndex,geoIndex:e.componentIndex,name:t.name,region:c&&c.option||{}}}var B=n.__regions||(n.__regions=[]);B.push(t),n.highDownSilentOnTouch=!!e.get("selectedMode"),l.setHoverStyle(n,g),d.add(n)})),this._updateController(e,t,n),f(this,e,d,n,i),_(e,d)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&c.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(e){var t=e.map;this._mapName!==t&&r.each(c.makeGraphic(t,this.uid),(function(e){this._backgroundGroup.add(e)}),this),this._mapName=t},_updateController:function(e,t,n){var i=e.coordinateSystem,o=this._controller,l=this._controllerHost;l.zoomLimit=e.get("scaleLimit"),l.zoom=i.getZoom(),o.enable(e.get("roam")||!1);var c=e.mainType;function u(){var t={type:"geoRoam",componentType:c};return t[c+"Id"]=e.id,t}o.off("pan").on("pan",(function(e){this._mouseDownFlag=!1,a.updateViewOnPan(l,e.dx,e.dy),n.dispatchAction(r.extend(u(),{dx:e.dx,dy:e.dy}))}),this),o.off("zoom").on("zoom",(function(e){if(this._mouseDownFlag=!1,a.updateViewOnZoom(l,e.scale,e.originX,e.originY),n.dispatchAction(r.extend(u(),{zoom:e.scale,originX:e.originX,originY:e.originY})),this._updateGroup){var t=this.group.scale;this._regionsGroup.traverse((function(e){"text"===e.type&&e.attr("scale",[1/t[0],1/t[1]])}))}}),this),o.setPointerChecker((function(t,r,a){return i.getViewRectAfterRoam().contain(r,a)&&!s(t,n,e)}))}};var g=m;e.exports=g},"0cb2":function(e,t,n){var r=n("e330"),i=n("7b0b"),a=Math.floor,o=r("".charAt),s=r("".replace),l=r("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,d,h){var p=n+e.length,f=r.length,_=u;return void 0!==d&&(d=i(d),_=c),s(h,_,(function(i,s){var c;switch(o(s,0)){case"$":return"$";case"&":return e;case"`":return l(t,0,n);case"'":return l(t,p);case"<":c=d[l(s,1,-1)];break;default:var u=+s;if(0===u)return i;if(u>f){var h=a(u/10);return 0===h?i:h<=f?void 0===r[h-1]?o(s,1):r[h-1]+o(s,1):i}c=r[u-1]}return void 0===c?"":c}))}},"0ccb":function(e,t,n){var r=n("e330"),i=n("50c4"),a=n("577e"),o=n("1148"),s=n("1d80"),l=r(o),c=r("".slice),u=Math.ceil,d=function(e){return function(t,n,r){var o,d,h=a(s(t)),p=i(n),f=h.length,_=void 0===r?" ":a(r);return p<=f||""==_?h:(o=p-f,d=l(_,u(o/_.length)),d.length>o&&(d=c(d,0,o)),e?h+d:d+h)}};e.exports={start:d(!1),end:d(!0)}},"0cde":function(e,t,n){var r=n("1687"),i=n("401b"),a=r.identity,o=5e-5;function s(e){return e>o||e<-o}var l=function(e){e=e||{},e.position||(this.position=[0,0]),null==e.rotation&&(this.rotation=0),e.scale||(this.scale=[1,1]),this.origin=this.origin||null},c=l.prototype;c.transform=null,c.needLocalTransform=function(){return s(this.rotation)||s(this.position[0])||s(this.position[1])||s(this.scale[0]-1)||s(this.scale[1]-1)};var u=[];c.updateTransform=function(){var e=this.parent,t=e&&e.transform,n=this.needLocalTransform(),i=this.transform;if(n||t){i=i||r.create(),n?this.getLocalTransform(i):a(i),t&&(n?r.mul(i,e.transform,i):r.copy(i,e.transform)),this.transform=i;var o=this.globalScaleRatio;if(null!=o&&1!==o){this.getGlobalScale(u);var s=u[0]<0?-1:1,l=u[1]<0?-1:1,c=((u[0]-s)*o+s)/u[0]||0,d=((u[1]-l)*o+l)/u[1]||0;i[0]*=c,i[1]*=c,i[2]*=d,i[3]*=d}this.invTransform=this.invTransform||r.create(),r.invert(this.invTransform,i)}else i&&a(i)},c.getLocalTransform=function(e){return l.getLocalTransform(this,e)},c.setTransform=function(e){var t=this.transform,n=e.dpr||1;t?e.setTransform(n*t[0],n*t[1],n*t[2],n*t[3],n*t[4],n*t[5]):e.setTransform(n,0,0,n,0,0)},c.restoreTransform=function(e){var t=e.dpr||1;e.setTransform(t,0,0,t,0,0)};var d=[],h=r.create();c.setLocalTransform=function(e){if(e){var t=e[0]*e[0]+e[1]*e[1],n=e[2]*e[2]+e[3]*e[3],r=this.position,i=this.scale;s(t-1)&&(t=Math.sqrt(t)),s(n-1)&&(n=Math.sqrt(n)),e[0]<0&&(t=-t),e[3]<0&&(n=-n),r[0]=e[4],r[1]=e[5],i[0]=t,i[1]=n,this.rotation=Math.atan2(-e[1]/n,e[0]/t)}},c.decomposeTransform=function(){if(this.transform){var e=this.parent,t=this.transform;e&&e.transform&&(r.mul(d,e.invTransform,t),t=d);var n=this.origin;n&&(n[0]||n[1])&&(h[4]=n[0],h[5]=n[1],r.mul(d,t,h),d[4]-=n[0],d[5]-=n[1],t=d),this.setLocalTransform(t)}},c.getGlobalScale=function(e){var t=this.transform;return e=e||[],t?(e[0]=Math.sqrt(t[0]*t[0]+t[1]*t[1]),e[1]=Math.sqrt(t[2]*t[2]+t[3]*t[3]),t[0]<0&&(e[0]=-e[0]),t[3]<0&&(e[1]=-e[1]),e):(e[0]=1,e[1]=1,e)},c.transformCoordToLocal=function(e,t){var n=[e,t],r=this.invTransform;return r&&i.applyTransform(n,n,r),n},c.transformCoordToGlobal=function(e,t){var n=[e,t],r=this.transform;return r&&i.applyTransform(n,n,r),n},l.getLocalTransform=function(e,t){t=t||[],a(t);var n=e.origin,i=e.scale||[1,1],o=e.rotation||0,s=e.position||[0,0];return n&&(t[4]-=n[0],t[5]-=n[1]),r.scale(t,t,i),o&&r.rotate(t,t,o),n&&(t[4]+=n[0],t[5]+=n[1]),t[4]+=s[0],t[5]+=s[1],t};var p=l;e.exports=p},"0cfb":function(e,t,n){var r=n("83ab"),i=n("d039"),a=n("cc12");e.exports=!r&&!i((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},"0d26":function(e,t,n){var r=n("e330"),i=Error,a=r("".replace),o=function(e){return String(i(e).stack)}("zxcasd"),s=/\n\s*at [^:]*:[^\n]*/,l=s.test(o);e.exports=function(e,t){if(l&&"string"==typeof e&&!i.prepareStackTrace)while(t--)e=a(e,s,"");return e}},"0d51":function(e,t){var n=String;e.exports=function(e){try{return n(e)}catch(t){return"Object"}}},"0da8":function(e,t,n){var r=n("19eb"),i=n("9850"),a=n("6d8b"),o=n("5e76");function s(e){r.call(this,e)}s.prototype={constructor:s,type:"image",brush:function(e,t){var n=this.style,r=n.image;n.bind(e,this,t);var i=this._image=o.createOrUpdateImage(r,this._image,this,this.onload);if(i&&o.isImageReady(i)){var a=n.x||0,s=n.y||0,l=n.width,c=n.height,u=i.width/i.height;if(null==l&&null!=c?l=c*u:null==c&&null!=l?c=l/u:null==l&&null==c&&(l=i.width,c=i.height),this.setTransform(e),n.sWidth&&n.sHeight){var d=n.sx||0,h=n.sy||0;e.drawImage(i,d,h,n.sWidth,n.sHeight,a,s,l,c)}else if(n.sx&&n.sy){d=n.sx,h=n.sy;var p=l-d,f=c-h;e.drawImage(i,d,h,p,f,a,s,l,c)}else e.drawImage(i,a,s,l,c);null!=n.text&&(this.restoreTransform(e),this.drawRectText(e,this.getBoundingRect()))}},getBoundingRect:function(){var e=this.style;return this._rect||(this._rect=new i(e.x||0,e.y||0,e.width||0,e.height||0)),this._rect}},a.inherits(s,r);var l=s;e.exports=l},"0df6":function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},"0e0f":function(e,t,n){var r=n("5f14"),i=n("6d8b");function a(e,t){e.eachSeriesByType("sankey",(function(e){var t=e.getGraph(),n=t.nodes;if(n.length){var a=1/0,o=-1/0;i.each(n,(function(e){var t=e.getLayout().value;to&&(o=t)})),i.each(n,(function(t){var n=new r({type:"color",mappingMethod:"linear",dataExtent:[a,o],visual:e.get("color")}),i=n.mapValueToVisual(t.getLayout().value),s=t.getModel().get("itemStyle.color");null!=s?t.setVisual("color",s):t.setVisual("color",i)}))}}))}e.exports=a},"0ee7":function(e,t,n){var r=n("6d8b"),i=n("2306"),a=n("f934"),o=n("5e97"),s=i.Group,l=["width","height"],c=["x","y"],u=o.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){u.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new s),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new s),this._showController},resetInner:function(){u.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(e,t,n,a,o,s,l){var c=this;u.superCall(this,"renderInner",e,t,n,a,o,s,l);var d=this._controllerGroup,h=t.get("pageIconSize",!0);r.isArray(h)||(h=[h,h]),f("pagePrev",0);var p=t.getModel("pageTextStyle");function f(e,n){var o=e+"DataIndex",s=i.createIcon(t.get("pageIcons",!0)[t.getOrient().name][n],{onclick:r.bind(c._pageGo,c,o,t,a)},{x:-h[0]/2,y:-h[1]/2,width:h[0],height:h[1]});s.name=e,d.add(s)}d.add(new i.Text({name:"pageText",style:{textFill:p.getTextColor(),font:p.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),f("pageNext",1)},layoutInner:function(e,t,n,i,o,s){var u=this.getSelectorGroup(),d=e.getOrient().index,h=l[d],p=c[d],f=l[1-d],_=c[1-d];o&&a.box("horizontal",u,e.get("selectorItemGap",!0));var m=e.get("selectorButtonGap",!0),g=u.getBoundingRect(),v=[-g.x,-g.y],y=r.clone(n);o&&(y[h]=n[h]-g[h]-m);var b=this._layoutContentAndController(e,i,y,d,h,f,_);if(o){if("end"===s)v[d]+=b[h]+m;else{var S=g[h]+m;v[d]-=S,b[p]-=S}b[h]+=g[h]+m,v[1-d]+=b[_]+b[f]/2-g[f]/2,b[f]=Math.max(b[f],g[f]),b[_]=Math.min(b[_],g[_]+v[1-d]),u.attr("position",v)}return b},_layoutContentAndController:function(e,t,n,o,s,l,c){var u=this.getContentGroup(),d=this._containerGroup,h=this._controllerGroup;a.box(e.get("orient"),u,e.get("itemGap"),o?n.width:null,o?null:n.height),a.box("horizontal",h,e.get("pageButtonItemGap",!0));var p=u.getBoundingRect(),f=h.getBoundingRect(),_=this._showController=p[s]>n[s],m=[-p.x,-p.y];t||(m[o]=u.position[o]);var g=[0,0],v=[-f.x,-f.y],y=r.retrieve2(e.get("pageButtonGap",!0),e.get("itemGap",!0));if(_){var b=e.get("pageButtonPosition",!0);"end"===b?v[o]+=n[s]-f[s]:g[o]+=f[s]+y}v[1-o]+=p[l]/2-f[l]/2,u.attr("position",m),d.attr("position",g),h.attr("position",v);var S={x:0,y:0};if(S[s]=_?n[s]:p[s],S[l]=Math.max(p[l],f[l]),S[c]=Math.min(0,f[c]+v[1-o]),d.__rectSize=n[s],_){var E={x:0,y:0};E[s]=Math.max(n[s]-f[s]-y,0),E[l]=S[l],d.setClipPath(new i.Rect({shape:E})),d.__rectSize=E[s]}else h.eachChild((function(e){e.attr({invisible:!0,silent:!0})}));var x=this._getPageInfo(e);return null!=x.pageIndex&&i.updateProps(u,{position:x.contentPosition},!!_&&e),this._updatePageInfoView(e,x),S},_pageGo:function(e,t,n){var r=this._getPageInfo(t)[e];null!=r&&n.dispatchAction({type:"legendScroll",scrollDataIndex:r,legendId:t.id})},_updatePageInfoView:function(e,t){var n=this._controllerGroup;r.each(["pagePrev","pageNext"],(function(r){var i=null!=t[r+"DataIndex"],a=n.childOfName(r);a&&(a.setStyle("fill",i?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),a.cursor=i?"pointer":"default")}));var i=n.childOfName("pageText"),a=e.get("pageFormatter"),o=t.pageIndex,s=null!=o?o+1:0,l=t.pageCount;i&&a&&i.setStyle("text",r.isString(a)?a.replace("{current}",s).replace("{total}",l):a({current:s,total:l}))},_getPageInfo:function(e){var t=e.get("scrollDataIndex",!0),n=this.getContentGroup(),r=this._containerGroup.__rectSize,i=e.getOrient().index,a=l[i],o=c[i],s=this._findTargetItemIndex(t),u=n.children(),d=u[s],h=u.length,p=h?1:0,f={contentPosition:n.position.slice(),pageCount:p,pageIndex:p-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!d)return f;var _=b(d);f.contentPosition[i]=-_.s;for(var m=s+1,g=_,v=_,y=null;m<=h;++m)y=b(u[m]),(!y&&v.e>g.s+r||y&&!S(y,g.s))&&(g=v.i>g.i?v:y,g&&(null==f.pageNextDataIndex&&(f.pageNextDataIndex=g.i),++f.pageCount)),v=y;for(m=s-1,g=_,v=_,y=null;m>=-1;--m)y=b(u[m]),y&&S(v,y.s)||!(g.i=t&&e.s<=t+r}},_findTargetItemIndex:function(e){if(!this._showController)return 0;var t,n,r=this.getContentGroup();return r.eachChild((function(r,i){var a=r.__legendDataIndex;null==n&&null!=a&&(n=i),a===e&&(t=i)})),null!=t?t:n}}),d=u;e.exports=d},"0f16":function(e,t){e.exports=function(e){return{keywords:"environ vocabularies notations constructors definitions registrations theorems schemes requirements begin end definition registration cluster existence pred func defpred deffunc theorem proof let take assume then thus hence ex for st holds consider reconsider such that and in provided of as from be being by means equals implies iff redefine define now not or attr is mode suppose per cases set thesis contradiction scheme reserve struct correctness compatibility coherence symmetry assymetry reflexivity irreflexivity connectedness uniqueness commutativity idempotence involutiveness projectivity",contains:[e.COMMENT("::","$")]}}},"0f3c":function(e,t){e.exports=function(e){return{aliases:["nim"],keywords:{keyword:"addr and as asm bind block break case cast const continue converter discard distinct div do elif else end enum except export finally for from generic if import in include interface is isnot iterator let macro method mixin mod nil not notin object of or out proc ptr raise ref return shl shr static template try tuple type using var when while with without xor yield",literal:"shared guarded stdin stdout stderr result true false",built_in:"int int8 int16 int32 int64 uint uint8 uint16 uint32 uint64 float float32 float64 bool char string cstring pointer expr stmt void auto any range array openarray varargs seq set clong culong cchar cschar cshort cint csize clonglong cfloat cdouble clongdouble cuchar cushort cuint culonglong cstringarray semistatic"},contains:[{className:"meta",begin:/{\./,end:/\.}/,relevance:10},{className:"string",begin:/[a-zA-Z]\w*"/,end:/"/,contains:[{begin:/""/}]},{className:"string",begin:/([a-zA-Z]\w*)?"""/,end:/"""/},e.QUOTE_STRING_MODE,{className:"type",begin:/\b[A-Z]\w+\b/,relevance:0},{className:"number",relevance:0,variants:[{begin:/\b(0[xX][0-9a-fA-F][_0-9a-fA-F]*)('?[iIuU](8|16|32|64))?/},{begin:/\b(0o[0-7][_0-7]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(0(b|B)[01][_01]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(\d[_\d]*)('?[iIuUfF](8|16|32|64))?/}]},e.HASH_COMMENT_MODE]}}},"0f55":function(e,t,n){var r=n("6d8b"),i=n("84ce"),a=function(e,t,n,r,a){i.call(this,e,t,n),this.type=r||"value",this.axisIndex=a};a.prototype={constructor:a,model:null,isHorizontal:function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")}},r.inherits(a,i);var o=a;e.exports=o},"0f99":function(e,t,n){var r=n("4e08"),i=(r.__DEV__,n("e0d3")),a=i.makeInner,o=i.getDataItemValue,s=n("6d8b"),l=s.createHashMap,c=s.each,u=s.map,d=s.isArray,h=s.isString,p=s.isObject,f=s.isTypedArray,_=s.isArrayLike,m=s.extend,g=(s.assert,n("ec6f")),v=n("93d0"),y=v.SOURCE_FORMAT_ORIGINAL,b=v.SOURCE_FORMAT_ARRAY_ROWS,S=v.SOURCE_FORMAT_OBJECT_ROWS,E=v.SOURCE_FORMAT_KEYED_COLUMNS,x=v.SOURCE_FORMAT_UNKNOWN,T=v.SOURCE_FORMAT_TYPED_ARRAY,C=v.SERIES_LAYOUT_BY_ROW,A={Must:1,Might:2,Not:3},w=a();function O(e){var t=e.option.source,n=x;if(f(t))n=T;else if(d(t)){0===t.length&&(n=b);for(var r=0,i=t.length;r0&&(s=this.getLineLength(r)/c*1e3),s!==this._period||l!==this._loop){r.stopAnimation();var h=u;d&&(h=u(n)),r.__t>0&&(h=-s*r.__t),r.__t=0;var p=r.animate("",l).when(s,{__t:1}).delay(h).during((function(){i.updateSymbolPosition(r)}));l||p.done((function(){i.remove(r)})),p.start()}this._period=s,this._loop=l}},d.getLineLength=function(e){return l.dist(e.__p1,e.__cp1)+l.dist(e.__cp1,e.__p2)},d.updateAnimationPoints=function(e,t){e.__p1=t[0],e.__p2=t[1],e.__cp1=t[2]||[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]},d.updateData=function(e,t,n){this.childAt(0).updateData(e,t,n),this._updateEffectSymbol(e,t)},d.updateSymbolPosition=function(e){var t=e.__p1,n=e.__p2,r=e.__cp1,i=e.__t,a=e.position,o=[a[0],a[1]],s=c.quadraticAt,u=c.quadraticDerivativeAt;a[0]=s(t[0],r[0],n[0],i),a[1]=s(t[1],r[1],n[1],i);var d=u(t[0],r[0],n[0],i),h=u(t[1],r[1],n[1],i);if(e.rotation=-Math.atan2(h,d)-Math.PI/2,"line"===this._symbolType||"rect"===this._symbolType||"roundRect"===this._symbolType)if(void 0!==e.__lastT&&e.__lastTb)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$c")}))},1098:function(e,t,n){"use strict";t.__esModule=!0;var r=n("17ed"),i=l(r),a=n("f893"),o=l(a),s="function"===typeof o.default&&"symbol"===typeof i.default?function(e){return typeof e}:function(e){return e&&"function"===typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":typeof e};function l(e){return e&&e.__esModule?e:{default:e}}t.default="function"===typeof o.default&&"symbol"===s(i.default)?function(e){return"undefined"===typeof e?"undefined":s(e)}:function(e){return e&&"function"===typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":"undefined"===typeof e?"undefined":s(e)}},"10cc":function(e,t,n){var r=n("3eba"),i=n("6d8b"),a=n("9850"),o=n("2b8c"),s=n("a890"),l=n("88b3"),c=n("bd9e"),u=["inBrush","outOfBrush"],d="__ecBrushSelect",h="__ecInBrushSelectEvent",p=r.PRIORITY.VISUAL.BRUSH;function f(e){e.eachComponent({mainType:"brush"},(function(t){var n=t.brushTargetManager=new c(t.option,e);n.setInputRanges(t.areas,e)}))}function _(e,t,n,r,i){if(i){var a=e.getZr();if(!a[h]){a[d]||(a[d]=m);var o=l.createOrUpdate(a,d,n,t);o(e,r)}}}function m(e,t){if(!e.isDisposed()){var n=e.getZr();n[h]=!0,e.dispatchAction({type:"brushSelect",batch:t}),n[h]=!1}}function g(e,t,n,r){for(var i=0,a=t.length;it[0][1]&&(t[0][1]=a[0]),a[1]t[1][1]&&(t[1][1]=a[1])}return t&&E(t)}};function E(e){return new a(e[0][0],e[1][0],e[0][1]-e[0][0],e[1][1]-e[1][0])}t.layoutCovers=f},"10db":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},1111:function(e,t,n){var r=n("3eba");n("67a8"),n("4784");var i=n("7f96"),a=n("87c3");r.registerVisual(i("effectScatter","circle")),r.registerLayout(a("effectScatter"))},1148:function(e,t,n){"use strict";var r=n("5926"),i=n("577e"),a=n("1d80"),o=RangeError;e.exports=function(e){var t=i(a(this)),n="",s=r(e);if(s<0||s==1/0)throw o("Wrong number of repetitions");for(;s>0;(s>>>=1)&&(t+=t))1&s&&(n+=t);return n}},"11b0":function(e,t,n){function r(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n("a4d3"),n("e01a"),n("d3b7"),n("d28b"),n("3ca3"),n("ddb0"),n("a630"),e.exports=r,e.exports.__esModule=!0,e.exports["default"]=e.exports},1276:function(e,t,n){"use strict";var r=n("2ba4"),i=n("c65b"),a=n("e330"),o=n("d784"),s=n("825a"),l=n("7234"),c=n("44e7"),u=n("1d80"),d=n("4840"),h=n("8aa5"),p=n("50c4"),f=n("577e"),_=n("dc4a"),m=n("4dae"),g=n("14c3"),v=n("9263"),y=n("9f7f"),b=n("d039"),S=y.UNSUPPORTED_Y,E=4294967295,x=Math.min,T=[].push,C=a(/./.exec),A=a(T),w=a("".slice),O=!b((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));o("split",(function(e,t,n){var a;return a="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var a=f(u(this)),o=void 0===n?E:n>>>0;if(0===o)return[];if(void 0===e)return[a];if(!c(e))return i(t,a,e,o);var s,l,d,h=[],p=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),_=0,g=new RegExp(e.source,p+"g");while(s=i(v,g,a)){if(l=g.lastIndex,l>_&&(A(h,w(a,_,s.index)),s.length>1&&s.index=o))break;g.lastIndex===s.index&&g.lastIndex++}return _===a.length?!d&&C(g,"")||A(h,""):A(h,w(a,_)),h.length>o?m(h,0,o):h}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:i(t,this,e,n)}:t,[function(t,n){var r=u(this),o=l(t)?void 0:_(t,e);return o?i(o,t,r,n):i(a,f(r),t,n)},function(e,r){var i=s(this),o=f(e),l=n(a,i,o,r,a!==t);if(l.done)return l.value;var c=d(i,RegExp),u=i.unicode,_=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(S?"g":"y"),m=new c(S?"^(?:"+i.source+")":i,_),v=void 0===r?E:r>>>0;if(0===v)return[];if(0===o.length)return null===g(m,o)?[o]:[];var y=0,b=0,T=[];while(b"),{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}},"13d2":function(e,t,n){var r=n("d039"),i=n("1626"),a=n("1a2d"),o=n("83ab"),s=n("5e77").CONFIGURABLE,l=n("8925"),c=n("69f3"),u=c.enforce,d=c.get,h=Object.defineProperty,p=o&&!r((function(){return 8!==h((function(){}),"length",{value:8}).length})),f=String(String).split("String"),_=e.exports=function(e,t,n){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!a(e,"name")||s&&e.name!==t)&&(o?h(e,"name",{value:t,configurable:!0}):e.name=t),p&&n&&a(n,"arity")&&e.length!==n.arity&&h(e,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?o&&h(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(i){}var r=u(e);return a(r,"source")||(r.source=f.join("string"==typeof t?t:"")),e};Function.prototype.toString=_((function(){return i(this)&&d(this).source||l(this)}),"toString")},"13d5":function(e,t,n){"use strict";var r=n("23e7"),i=n("d58f").left,a=n("a640"),o=n("2d00"),s=n("605d"),l=a("reduce"),c=!s&&o>79&&o<83;r({target:"Array",proto:!0,forced:!l||c},{reduce:function(e){var t=arguments.length;return i(this,e,t,t>1?arguments[1]:void 0)}})},1418:function(e,t,n){var r=n("6d8b"),i=n("a15a"),a=i.createSymbol,o=n("2306"),s=n("3842"),l=s.parsePercent,c=n("c775"),u=c.getDefaultLabel;function d(e,t,n){o.Group.call(this),this.updateData(e,t,n)}var h=d.prototype,p=d.getSymbolSize=function(e,t){var n=e.getItemVisual(t,"symbolSize");return n instanceof Array?n.slice():[+n,+n]};function f(e){return[e[0]/2,e[1]/2]}function _(e,t){this.parent.drift(e,t)}h._createSymbol=function(e,t,n,r,i){this.removeAll();var o=t.getItemVisual(n,"color"),s=a(e,-1,-1,2,2,o,i);s.attr({z2:100,culling:!0,scale:f(r)}),s.drift=_,this._symbolType=e,this.add(s)},h.stopSymbolAnimation=function(e){this.childAt(0).stopAnimation(e)},h.getSymbolPath=function(){return this.childAt(0)},h.getScale=function(){return this.childAt(0).scale},h.highlight=function(){this.childAt(0).trigger("emphasis")},h.downplay=function(){this.childAt(0).trigger("normal")},h.setZ=function(e,t){var n=this.childAt(0);n.zlevel=e,n.z=t},h.setDraggable=function(e){var t=this.childAt(0);t.draggable=e,t.cursor=e?"move":t.cursor},h.updateData=function(e,t,n){this.silent=!1;var r=e.getItemVisual(t,"symbol")||"circle",i=e.hostModel,a=p(e,t),s=r!==this._symbolType;if(s){var l=e.getItemVisual(t,"symbolKeepAspect");this._createSymbol(r,e,t,a,l)}else{var c=this.childAt(0);c.silent=!1,o.updateProps(c,{scale:f(a)},i,t)}if(this._updateCommon(e,t,a,n),s){c=this.childAt(0);var u=n&&n.fadeIn,d={scale:c.scale.slice()};u&&(d.style={opacity:c.style.opacity}),c.scale=[0,0],u&&(c.style.opacity=0),o.initProps(c,d,i,t)}this._seriesModel=i};var m=["itemStyle"],g=["emphasis","itemStyle"],v=["label"],y=["emphasis","label"];function b(e,t){if(!this.incremental&&!this.useHoverLayer)if("emphasis"===t){var n=this.__symbolOriginalScale,r=n[1]/n[0],i={scale:[Math.max(1.1*n[0],n[0]+3),Math.max(1.1*n[1],n[1]+3*r)]};this.animateTo(i,400,"elasticOut")}else"normal"===t&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}h._updateCommon=function(e,t,n,i){var a=this.childAt(0),s=e.hostModel,c=e.getItemVisual(t,"color");"image"!==a.type?a.useStyle({strokeNoScale:!0}):a.setStyle({opacity:1,shadowBlur:null,shadowOffsetX:null,shadowOffsetY:null,shadowColor:null});var d=i&&i.itemStyle,h=i&&i.hoverItemStyle,p=i&&i.symbolOffset,_=i&&i.labelModel,S=i&&i.hoverLabelModel,E=i&&i.hoverAnimation,x=i&&i.cursorStyle;if(!i||e.hasItemOption){var T=i&&i.itemModel?i.itemModel:e.getItemModel(t);d=T.getModel(m).getItemStyle(["color"]),h=T.getModel(g).getItemStyle(),p=T.getShallow("symbolOffset"),_=T.getModel(v),S=T.getModel(y),E=T.getShallow("hoverAnimation"),x=T.getShallow("cursor")}else h=r.extend({},h);var C=a.style,A=e.getItemVisual(t,"symbolRotate");a.attr("rotation",(A||0)*Math.PI/180||0),p&&a.attr("position",[l(p[0],n[0]),l(p[1],n[1])]),x&&a.attr("cursor",x),a.setColor(c,i&&i.symbolInnerColor),a.setStyle(d);var w=e.getItemVisual(t,"opacity");null!=w&&(C.opacity=w);var O=e.getItemVisual(t,"liftZ"),R=a.__z2Origin;null!=O?null==R&&(a.__z2Origin=a.z2,a.z2+=O):null!=R&&(a.z2=R,a.__z2Origin=null);var I=i&&i.useNameLabel;function N(t,n){return I?e.getName(t):u(e,t)}o.setLabelStyle(C,h,_,S,{labelFetcher:s,labelDataIndex:t,defaultText:N,isRectText:!0,autoColor:c}),a.__symbolOriginalScale=f(n),a.hoverStyle=h,a.highDownOnUpdate=E&&s.isAnimationEnabled()?b:null,o.setHoverStyle(a)},h.fadeOut=function(e,t){var n=this.childAt(0);this.silent=n.silent=!0,(!t||!t.keepLabel)&&(n.style.text=null),o.updateProps(n,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,e)},r.inherits(d,o.Group);var S=d;e.exports=S},1466:function(e,t,n){var r=n("3eba"),i=n("2306"),a=n("6d8b"),o=n("a15a");function s(e){return a.isArray(e)||(e=[+e,+e]),e}var l=r.extendChartView({type:"radar",render:function(e,t,n){var r=e.coordinateSystem,l=this.group,c=e.getData(),u=this._data;function d(e,t){var n=e.getItemVisual(t,"symbol")||"circle",r=e.getItemVisual(t,"color");if("none"!==n){var i=s(e.getItemVisual(t,"symbolSize")),a=o.createSymbol(n,-1,-1,2,2,r),l=e.getItemVisual(t,"symbolRotate")||0;return a.attr({style:{strokeNoScale:!0},z2:100,scale:[i[0]/2,i[1]/2],rotation:l*Math.PI/180||0}),a}}function h(t,n,r,a,o,s){r.removeAll();for(var l=0;l/,starts:{end:/$/,subLanguage:"clojure"}}]}}},"14c3":function(e,t,n){var r=n("c65b"),i=n("825a"),a=n("1626"),o=n("c6b6"),s=n("9263"),l=TypeError;e.exports=function(e,t){var n=e.exec;if(a(n)){var c=r(n,e,t);return null!==c&&i(c),c}if("RegExp"===o(e))return r(s,e,t);throw l("RegExp#exec called on incompatible receiver")}},"14d3":function(e,t,n){var r=n("6d8b"),i=n("2306"),a=n("fab2"),o=n("6679"),s=["axisLine","axisTickLabel","axisName"],l=["splitLine","splitArea","minorSplitLine"],c=o.extend({type:"radiusAxis",axisPointerClass:"PolarAxisPointer",render:function(e,t){if(this.group.removeAll(),e.get("show")){var n=e.axis,i=n.polar,o=i.getAngleAxis(),c=n.getTicksCoords(),d=n.getMinorTicksCoords(),h=o.getExtent()[0],p=n.getExtent(),f=u(i,e,h),_=new a(e,f);r.each(s,_.add,_),this.group.add(_.getGroup()),r.each(l,(function(t){e.get(t+".show")&&!n.scale.isBlank()&&this["_"+t](e,i,h,p,c,d)}),this)}},_splitLine:function(e,t,n,a,o){var s=e.getModel("splitLine"),l=s.getModel("lineStyle"),c=l.get("color"),u=0;c=c instanceof Array?c:[c];for(var d=[],h=0;h0&&!_.min?_.min=0:null!=_.min&&_.min<0&&!_.max&&(_.max=0);var m=u;if(null!=_.color&&(m=i.defaults({color:_.color},u)),_=i.merge(i.clone(_),{boundaryGap:e,splitNumber:t,scale:n,axisLine:r,axisTick:a,axisType:l,axisLabel:c,name:_.text,nameLocation:"end",nameGap:p,nameTextStyle:m,triggerEvent:f},!1),d||(_.name=""),"string"===typeof h){var g=_.name;_.name=h.replace("{value}",null!=g?g:"")}else"function"===typeof h&&(_.name=h(_.name,_));var v=i.extend(new o(_,null,this.ecModel),s);return v.mainType="radar",v.componentIndex=this.componentIndex,v}),this);this.getIndicatorModels=function(){return _}},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,name:{show:!0},boundaryGap:[0,0],splitNumber:5,nameGap:15,scale:!1,shape:"polygon",axisLine:i.merge({lineStyle:{color:"#bbb"}},l.axisLine),axisLabel:c(l.axisLabel,!1),axisTick:c(l.axisTick,!1),axisType:"interval",splitLine:c(l.splitLine,!0),splitArea:c(l.splitArea,!0),indicator:[]}}),d=u;e.exports=d},1792:function(e,t){var n={"南海诸岛":[32,80],"广东":[0,-10],"香港":[10,5],"澳门":[-10,10],"天津":[5,5]};function r(e,t){if("china"===e){var r=n[t.name];if(r){var i=t.center;i[0]+=r[0]/10.5,i[1]+=-r[1]/14}}}e.exports=r},"17b8":function(e,t,n){var r=n("3014"),i=r.extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return!!this.get("large")&&this.get("progressive")},getProgressiveThreshold:function(){var e=this.get("progressiveThreshold"),t=this.get("largeThreshold");return t>e&&(e=t),e},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}}});e.exports=i},"17c2":function(e,t,n){"use strict";var r=n("b727").forEach,i=n("a640"),a=i("forEach");e.exports=a?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},"17d6":function(e,t,n){var r=n("6d8b"),i=n("22d1"),a=n("e0d3"),o=a.makeInner,s=o(),l=r.each;function c(e,t,n){if(!i.node){var r=t.getZr();s(r).records||(s(r).records={}),u(r,t);var a=s(r).records[e]||(s(r).records[e]={});a.handler=n}}function u(e,t){function n(n,r){e.on(n,(function(n){var i=f(t);l(s(e).records,(function(e){e&&r(e,n,i.dispatchAction)})),d(i.pendings,t)}))}s(e).initialized||(s(e).initialized=!0,n("click",r.curry(p,"click")),n("mousemove",r.curry(p,"mousemove")),n("globalout",h))}function d(e,t){var n,r=e.showTip.length,i=e.hideTip.length;r?n=e.showTip[r-1]:i&&(n=e.hideTip[i-1]),n&&(n.dispatchAction=null,t.dispatchAction(n))}function h(e,t,n){e.handler("leave",null,n)}function p(e,t,n,r){t.handler(e,n,r)}function f(e){var t={showTip:[],hideTip:[]},n=function(r){var i=t[r.type];i?i.push(r):(r.dispatchAction=n,e.dispatchAction(r))};return{dispatchAction:n,pendings:t}}function _(e,t){if(!i.node){var n=t.getZr(),r=(s(n).records||{})[e];r&&(s(n).records[e]=null)}}t.register=c,t.unregister=_},"17ed":function(e,t,n){e.exports={default:n("511f"),__esModule:!0}},1836:function(e,t,n){var r=n("6ca1"),i=n("6438").f,a={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(t){return o.slice()}};e.exports.f=function(e){return o&&"[object Window]"==a.call(e)?s(e):i(r(e))}},1846:function(e,t){e.exports=function(e){var t="[\\w-]+",n="("+t+"|@{"+t+"})",r=[],i=[],a=function(e){return{className:"string",begin:"~?"+e+".*?"+e}},o=function(e,t,n){return{className:e,begin:t,relevance:n}},s={begin:"\\(",end:"\\)",contains:i,relevance:0};i.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a("'"),a('"'),e.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},o("number","#[0-9A-Fa-f]+\\b"),s,o("variable","@@?"+t,10),o("variable","@{"+t+"}"),o("built_in","~?`[^`]*?`"),{className:"attribute",begin:t+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},{className:"meta",begin:"!important"});var l=i.concat({begin:"{",end:"}",contains:r}),c={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(i)},u={begin:n+"\\s*:",returnBegin:!0,end:"[;}]",relevance:0,contains:[{className:"attribute",begin:n,end:":",excludeEnd:!0,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:i}}]},d={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",returnEnd:!0,contains:i,relevance:0}},h={className:"variable",variants:[{begin:"@"+t+"\\s*:",relevance:15},{begin:"@"+t}],starts:{end:"[;}]",returnEnd:!0,contains:l}},p={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:n,end:"{"}],returnBegin:!0,returnEnd:!0,illegal:"[<='$\"]",relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,c,o("keyword","all\\b"),o("variable","@{"+t+"}"),o("selector-tag",n+"%?",0),o("selector-id","#"+n),o("selector-class","\\."+n,0),o("selector-tag","&",0),{className:"selector-attr",begin:"\\[",end:"\\]"},{className:"selector-pseudo",begin:/:(:)?[a-zA-Z0-9\_\-\+\(\)"'.]+/},{begin:"\\(",end:"\\)",contains:l},{begin:"!important"}]};return r.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,d,h,u,p),{case_insensitive:!0,illegal:"[=>'/<($\"]",contains:r}}},"18c0":function(e,t,n){var r=n("6d8b"),i=n("e0d8"),a=n("8e43"),o=i.prototype,s=i.extend({type:"ordinal",init:function(e,t){e&&!r.isArray(e)||(e=new a({categories:e})),this._ordinalMeta=e,this._extent=t||[0,e.categories.length-1]},parse:function(e){return"string"===typeof e?this._ordinalMeta.getOrdinal(e):Math.round(e)},contain:function(e){return e=this.parse(e),o.contain.call(this,e)&&null!=this._ordinalMeta.categories[e]},normalize:function(e){return o.normalize.call(this,this.parse(e))},scale:function(e){return Math.round(o.scale.call(this,e))},getTicks:function(){var e=[],t=this._extent,n=t[0];while(n<=t[1])e.push(n),n++;return e},getLabel:function(e){if(!this.isBlank())return this._ordinalMeta.categories[e]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(e,t){this.unionExtent(e.getApproximateExtent(t))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:r.noop,niceExtent:r.noop});s.create=function(){return new s};var l=s;e.exports=l},1917:function(e,t){t.f={}.propertyIsEnumerable},1953:function(e,t,n){var r=n("2449"),i=r.extend({type:"markLine",defaultOption:{zlevel:0,z:5,symbol:["circle","arrow"],symbolSize:[8,16],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.exports=i},"19aa":function(e,t,n){var r=n("3a9b"),i=TypeError;e.exports=function(e,t){if(r(t,e))return e;throw i("Incorrect invocation")}},"19e2":function(e,t,n){var r=n("6d8b"),i=n("e887"),a=n("2306"),o=n("cbe5"),s=n("b0af"),l=s.createClipPath,c=["itemStyle"],u=["emphasis","itemStyle"],d=["color","color0","borderColor","borderColor0"],h=i.extend({type:"candlestick",render:function(e,t,n){this.group.removeClipPath(),this._updateDrawMode(e),this._isLargeDraw?this._renderLarge(e):this._renderNormal(e)},incrementalPrepareRender:function(e,t,n){this._clear(),this._updateDrawMode(e)},incrementalRender:function(e,t,n,r){this._isLargeDraw?this._incrementalRenderLarge(e,t):this._incrementalRenderNormal(e,t)},_updateDrawMode:function(e){var t=e.pipelineContext.large;(null==this._isLargeDraw||t^this._isLargeDraw)&&(this._isLargeDraw=t,this._clear())},_renderNormal:function(e){var t=e.getData(),n=this._data,r=this.group,i=t.getLayout("isSimpleBox"),o=e.get("clip",!0),s=e.coordinateSystem,l=s.getArea&&s.getArea();this._data||r.removeAll(),t.diff(n).add((function(n){if(t.hasValue(n)){var s,c=t.getItemLayout(n);if(o&&_(l,c))return;s=f(c,n,!0),a.initProps(s,{shape:{points:c.ends}},e,n),m(s,t,n,i),r.add(s),t.setItemGraphicEl(n,s)}})).update((function(s,c){var u=n.getItemGraphicEl(c);if(t.hasValue(s)){var d=t.getItemLayout(s);o&&_(l,d)?r.remove(u):(u?a.updateProps(u,{shape:{points:d.ends}},e,s):u=f(d,s),m(u,t,s,i),r.add(u),t.setItemGraphicEl(s,u))}else r.remove(u)})).remove((function(e){var t=n.getItemGraphicEl(e);t&&r.remove(t)})).execute(),this._data=t},_renderLarge:function(e){this._clear(),y(e,this.group);var t=e.get("clip",!0)?l(e.coordinateSystem,!1,e):null;t?this.group.setClipPath(t):this.group.removeClipPath()},_incrementalRenderNormal:function(e,t){var n,r=t.getData(),i=r.getLayout("isSimpleBox");while(null!=(n=e.next())){var a,o=r.getItemLayout(n);a=f(o,n),m(a,r,n,i),a.incremental=!0,this.group.add(a)}},_incrementalRenderLarge:function(e,t){y(t,this.group,!0)},remove:function(e){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:r.noop}),p=o.extend({type:"normalCandlestickBox",shape:{},buildPath:function(e,t){var n=t.points;this.__simpleBox?(e.moveTo(n[4][0],n[4][1]),e.lineTo(n[6][0],n[6][1])):(e.moveTo(n[0][0],n[0][1]),e.lineTo(n[1][0],n[1][1]),e.lineTo(n[2][0],n[2][1]),e.lineTo(n[3][0],n[3][1]),e.closePath(),e.moveTo(n[4][0],n[4][1]),e.lineTo(n[5][0],n[5][1]),e.moveTo(n[6][0],n[6][1]),e.lineTo(n[7][0],n[7][1]))}});function f(e,t,n){var r=e.ends;return new p({shape:{points:n?g(r,e):r},z2:100})}function _(e,t){for(var n=!0,r=0;r0?"P":"N",a=r.getVisual("borderColor"+i)||r.getVisual("color"+i),o=n.getModel(c).getItemStyle(d);t.useStyle(o),t.style.fill=null,t.style.stroke=a}var S=h;e.exports=S},"19eb":function(e,t,n){var r=n("6d8b"),i=n("2b61"),a=n("d5b7"),o=n("9e2e");function s(e){for(var t in e=e||{},a.call(this,e),e)e.hasOwnProperty(t)&&"style"!==t&&(this[t]=e[t]);this.style=new i(e.style,this),this._rect=null,this.__clipPaths=null}s.prototype={constructor:s,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,progressive:!1,incremental:!1,globalScaleRatio:1,beforeBrush:function(e){},afterBrush:function(e){},brush:function(e,t){},getBoundingRect:function(){},contain:function(e,t){return this.rectContain(e,t)},traverse:function(e,t){e.call(t,this)},rectContain:function(e,t){var n=this.transformCoordToLocal(e,t),r=this.getBoundingRect();return r.contain(n[0],n[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(e){return this.animate("style",e)},attrKV:function(e,t){"style"!==e?a.prototype.attrKV.call(this,e,t):this.style.set(t)},setStyle:function(e,t){return this.style.set(e,t),this.dirty(!1),this},useStyle:function(e){return this.style=new i(e,this),this.dirty(!1),this},calculateTextPosition:null},r.inherits(s,a),r.mixin(s,o);var l=s;e.exports=l},"19fa":function(e,t,n){var r=n("fc5e"),i=n("c901");e.exports=function(e){return function(t,n){var a,o,s=String(i(t)),l=r(n),c=s.length;return l<0||l>=c?e?"":void 0:(a=s.charCodeAt(l),a<55296||a>56319||l+1===c||(o=s.charCodeAt(l+1))<56320||o>57343?e?s.charAt(l):a:e?s.slice(l,l+2):o-56320+(a-55296<<10)+65536)}}},"1a06":function(e,t){e.exports=function(e){return{contains:[{className:"attribute",begin:"^dn",end:": ",excludeEnd:!0,starts:{end:"$",relevance:0},relevance:10},{className:"attribute",begin:"^\\w",end:": ",excludeEnd:!0,starts:{end:"$",relevance:0}},{className:"literal",begin:"^-",end:"$"},e.HASH_COMMENT_MODE]}}},"1a14":function(e,t,n){var r=n("77e9"),i=n("faf5"),a=n("3397"),o=Object.defineProperty;t.f=n("0bad")?Object.defineProperty:function(e,t,n){if(r(e),t=a(t,!0),r(n),i)try{return o(e,t,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},"1a2d":function(e,t,n){var r=n("e330"),i=n("7b0b"),a=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return a(i(e),t)}},"1ab3":function(e,t,n){var r=n("6d8b"),i=n("2306"),a=n("e887");function o(e,t,n,r){var i=t.getData(),a=this.dataIndex,o=i.getName(a),l=t.get("selectedOffset");r.dispatchAction({type:"pieToggleSelect",from:e,name:o,seriesId:t.id}),i.each((function(e){s(i.getItemGraphicEl(e),i.getItemLayout(e),t.isSelected(i.getName(e)),l,n)}))}function s(e,t,n,r,i){var a=(t.startAngle+t.endAngle)/2,o=Math.cos(a),s=Math.sin(a),l=n?r:0,c=[o*l,s*l];i?e.animate().when(200,{position:c}).start("bounceOut"):e.attr("position",c)}function l(e,t){i.Group.call(this);var n=new i.Sector({z2:2}),r=new i.Polyline,a=new i.Text;this.add(n),this.add(r),this.add(a),this.updateData(e,t,!0)}var c=l.prototype;c.updateData=function(e,t,n){var a=this.childAt(0),o=this.childAt(1),l=this.childAt(2),c=e.hostModel,u=e.getItemModel(t),d=e.getItemLayout(t),h=r.extend({},d);h.label=null;var p=c.getShallow("animationTypeUpdate");if(n){a.setShape(h);var f=c.getShallow("animationType");"scale"===f?(a.shape.r=d.r0,i.initProps(a,{shape:{r:d.r}},c,t)):(a.shape.endAngle=d.startAngle,i.updateProps(a,{shape:{endAngle:d.endAngle}},c,t))}else"expansion"===p?a.setShape(h):i.updateProps(a,{shape:h},c,t);var _=e.getItemVisual(t,"color");a.useStyle(r.defaults({lineJoin:"bevel",fill:_},u.getModel("itemStyle").getItemStyle())),a.hoverStyle=u.getModel("emphasis.itemStyle").getItemStyle();var m=u.getShallow("cursor");m&&a.attr("cursor",m),s(this,e.getItemLayout(t),c.isSelected(e.getName(t)),c.get("selectedOffset"),c.get("animation"));var g=!n&&"transition"===p;this._updateLabel(e,t,g),this.highDownOnUpdate=c.get("silent")?null:function(e,t){var n=c.isAnimationEnabled()&&u.get("hoverAnimation");"emphasis"===t?(o.ignore=o.hoverIgnore,l.ignore=l.hoverIgnore,n&&(a.stopAnimation(!0),a.animateTo({shape:{r:d.r+c.get("hoverOffset")}},300,"elasticOut"))):(o.ignore=o.normalIgnore,l.ignore=l.normalIgnore,n&&(a.stopAnimation(!0),a.animateTo({shape:{r:d.r}},300,"elasticOut")))},i.setHoverStyle(this)},c._updateLabel=function(e,t,n){var r=this.childAt(1),a=this.childAt(2),o=e.hostModel,s=e.getItemModel(t),l=e.getItemLayout(t),c=l.label,u=e.getItemVisual(t,"color");if(!c||isNaN(c.x)||isNaN(c.y))a.ignore=a.normalIgnore=a.hoverIgnore=r.ignore=r.normalIgnore=r.hoverIgnore=!0;else{var d={points:c.linePoints||[[c.x,c.y],[c.x,c.y],[c.x,c.y]]},h={x:c.x,y:c.y};n?(i.updateProps(r,{shape:d},o,t),i.updateProps(a,{style:h},o,t)):(r.attr({shape:d}),a.attr({style:h})),a.attr({rotation:c.rotation,origin:[c.x,c.y],z2:10});var p=s.getModel("label"),f=s.getModel("emphasis.label"),_=s.getModel("labelLine"),m=s.getModel("emphasis.labelLine");u=e.getItemVisual(t,"color");i.setLabelStyle(a.style,a.hoverStyle={},p,f,{labelFetcher:e.hostModel,labelDataIndex:t,defaultText:c.text,autoColor:u,useInsideStyle:!!c.inside},{textAlign:c.textAlign,textVerticalAlign:c.verticalAlign,opacity:e.getItemVisual(t,"opacity")}),a.ignore=a.normalIgnore=!p.get("show"),a.hoverIgnore=!f.get("show"),r.ignore=r.normalIgnore=!_.get("show"),r.hoverIgnore=!m.get("show"),r.setStyle({stroke:u,opacity:e.getItemVisual(t,"opacity")}),r.setStyle(_.getModel("lineStyle").getLineStyle()),r.hoverStyle=m.getModel("lineStyle").getLineStyle();var g=_.get("smooth");g&&!0===g&&(g=.4),r.setShape({smooth:g})}},r.inherits(l,i.Group);var u=a.extend({type:"pie",init:function(){var e=new i.Group;this._sectorGroup=e},render:function(e,t,n,i){if(!i||i.from!==this.uid){var a=e.getData(),s=this._data,c=this.group,u=t.get("animation"),d=!s,h=e.get("animationType"),p=e.get("animationTypeUpdate"),f=r.curry(o,this.uid,e,u,n),_=e.get("selectedMode");if(a.diff(s).add((function(e){var t=new l(a,e);d&&"scale"!==h&&t.eachChild((function(e){e.stopAnimation(!0)})),_&&t.on("click",f),a.setItemGraphicEl(e,t),c.add(t)})).update((function(e,t){var n=s.getItemGraphicEl(t);d||"transition"===p||n.eachChild((function(e){e.stopAnimation(!0)})),n.updateData(a,e),n.off("click"),_&&n.on("click",f),c.add(n),a.setItemGraphicEl(e,n)})).remove((function(e){var t=s.getItemGraphicEl(e);c.remove(t)})).execute(),u&&a.count()>0&&(d?"scale"!==h:"transition"!==p)){for(var m=a.getItemLayout(0),g=1;isNaN(m.startAngle)&&g=r.r0}}}),d=u;e.exports=d},"1b02":function(e,t){e.exports=function(e){var t={className:"string",begin:'(~)?"',end:'"',illegal:"\\n"},n={className:"symbol",begin:"#[a-zA-Z_]\\w*\\$?"};return{aliases:["pb","pbi"],keywords:"Align And Array As Break CallDebugger Case CompilerCase CompilerDefault CompilerElse CompilerElseIf CompilerEndIf CompilerEndSelect CompilerError CompilerIf CompilerSelect CompilerWarning Continue Data DataSection Debug DebugLevel Declare DeclareC DeclareCDLL DeclareDLL DeclareModule Default Define Dim DisableASM DisableDebugger DisableExplicit Else ElseIf EnableASM EnableDebugger EnableExplicit End EndDataSection EndDeclareModule EndEnumeration EndIf EndImport EndInterface EndMacro EndModule EndProcedure EndSelect EndStructure EndStructureUnion EndWith Enumeration EnumerationBinary Extends FakeReturn For ForEach ForEver Global Gosub Goto If Import ImportC IncludeBinary IncludeFile IncludePath Interface List Macro MacroExpandedCount Map Module NewList NewMap Next Not Or Procedure ProcedureC ProcedureCDLL ProcedureDLL ProcedureReturn Protected Prototype PrototypeC ReDim Read Repeat Restore Return Runtime Select Shared Static Step Structure StructureUnion Swap Threaded To UndefineMacro Until Until UnuseModule UseModule Wend While With XIncludeFile XOr",contains:[e.COMMENT(";","$",{relevance:0}),{className:"function",begin:"\\b(Procedure|Declare)(C|CDLL|DLL)?\\b",end:"\\(",excludeEnd:!0,returnBegin:!0,contains:[{className:"keyword",begin:"(Procedure|Declare)(C|CDLL|DLL)?",excludeEnd:!0},{className:"type",begin:"\\.\\w*"},e.UNDERSCORE_TITLE_MODE]},t,n]}}},"1b1c":function(e,t){e.exports=function(e){var t=["add","and","cmp","cmpg","cmpl","const","div","double","float","goto","if","int","long","move","mul","neg","new","nop","not","or","rem","return","shl","shr","sput","sub","throw","ushr","xor"],n=["aget","aput","array","check","execute","fill","filled","goto/16","goto/32","iget","instance","invoke","iput","monitor","packed","sget","sparse"],r=["transient","constructor","abstract","final","synthetic","public","private","protected","static","bridge","system"];return{aliases:["smali"],contains:[{className:"string",begin:'"',end:'"',relevance:0},e.COMMENT("#","$",{relevance:0}),{className:"keyword",variants:[{begin:"\\s*\\.end\\s[a-zA-Z0-9]*"},{begin:"^[ ]*\\.[a-zA-Z]*",relevance:0},{begin:"\\s:[a-zA-Z_0-9]*",relevance:0},{begin:"\\s("+r.join("|")+")"}]},{className:"built_in",variants:[{begin:"\\s("+t.join("|")+")\\s"},{begin:"\\s("+t.join("|")+")((\\-|/)[a-zA-Z0-9]+)+\\s",relevance:10},{begin:"\\s("+n.join("|")+")((\\-|/)[a-zA-Z0-9]+)*\\s",relevance:10}]},{className:"class",begin:"L[^(;:\n]*;",relevance:0},{begin:"[vp][0-9]+"}]}}},"1b4d":function(e,t){e.exports=function(e){var t=e.COMMENT(/\(\*/,/\*\)/),n={className:"attribute",begin:/^[ ]*[a-zA-Z][a-zA-Z-_]*([\s-_]+[a-zA-Z][a-zA-Z]*)*/},r={className:"meta",begin:/\?.*\?/},i={begin:/=/,end:/[.;]/,contains:[t,r,{className:"string",variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"`",end:"`"}]}]};return{illegal:/\S/,contains:[t,n,i]}}},"1be4":function(e,t,n){var r=n("d066");e.exports=r("document","documentElement")},"1beb":function(e,t){e.exports=function(e){var t={className:"variable",variants:[{begin:"\\b([gtps][A-Z]{1}[a-zA-Z0-9]*)(\\[.+\\])?(?:\\s*?)"},{begin:"\\$_[A-Z]+"}],relevance:0},n=[e.C_BLOCK_COMMENT_MODE,e.HASH_COMMENT_MODE,e.COMMENT("--","$"),e.COMMENT("[^:]//","$")],r=e.inherit(e.TITLE_MODE,{variants:[{begin:"\\b_*rig[A-Z]+[A-Za-z0-9_\\-]*"},{begin:"\\b_[a-z0-9\\-]+"}]}),i=e.inherit(e.TITLE_MODE,{begin:"\\b([A-Za-z0-9_\\-]+)\\b"});return{case_insensitive:!1,keywords:{keyword:"$_COOKIE $_FILES $_GET $_GET_BINARY $_GET_RAW $_POST $_POST_BINARY $_POST_RAW $_SESSION $_SERVER codepoint codepoints segment segments codeunit codeunits sentence sentences trueWord trueWords paragraph after byte bytes english the until http forever descending using line real8 with seventh for stdout finally element word words fourth before black ninth sixth characters chars stderr uInt1 uInt1s uInt2 uInt2s stdin string lines relative rel any fifth items from middle mid at else of catch then third it file milliseconds seconds second secs sec int1 int1s int4 int4s internet int2 int2s normal text item last long detailed effective uInt4 uInt4s repeat end repeat URL in try into switch to words https token binfile each tenth as ticks tick system real4 by dateItems without char character ascending eighth whole dateTime numeric short first ftp integer abbreviated abbr abbrev private case while if div mod wrap and or bitAnd bitNot bitOr bitXor among not in a an within contains ends with begins the keys of keys",literal:"SIX TEN FORMFEED NINE ZERO NONE SPACE FOUR FALSE COLON CRLF PI COMMA ENDOFFILE EOF EIGHT FIVE QUOTE EMPTY ONE TRUE RETURN CR LINEFEED RIGHT BACKSLASH NULL SEVEN TAB THREE TWO six ten formfeed nine zero none space four false colon crlf pi comma endoffile eof eight five quote empty one true return cr linefeed right backslash null seven tab three two RIVERSION RISTATE FILE_READ_MODE FILE_WRITE_MODE FILE_WRITE_MODE DIR_WRITE_MODE FILE_READ_UMASK FILE_WRITE_UMASK DIR_READ_UMASK DIR_WRITE_UMASK",built_in:"put abs acos aliasReference annuity arrayDecode arrayEncode asin atan atan2 average avg avgDev base64Decode base64Encode baseConvert binaryDecode binaryEncode byteOffset byteToNum cachedURL cachedURLs charToNum cipherNames codepointOffset codepointProperty codepointToNum codeunitOffset commandNames compound compress constantNames cos date dateFormat decompress difference directories diskSpace DNSServers exp exp1 exp2 exp10 extents files flushEvents folders format functionNames geometricMean global globals hasMemory harmonicMean hostAddress hostAddressToName hostName hostNameToAddress isNumber ISOToMac itemOffset keys len length libURLErrorData libUrlFormData libURLftpCommand libURLLastHTTPHeaders libURLLastRHHeaders libUrlMultipartFormAddPart libUrlMultipartFormData libURLVersion lineOffset ln ln1 localNames log log2 log10 longFilePath lower macToISO matchChunk matchText matrixMultiply max md5Digest median merge messageAuthenticationCode messageDigest millisec millisecs millisecond milliseconds min monthNames nativeCharToNum normalizeText num number numToByte numToChar numToCodepoint numToNativeChar offset open openfiles openProcesses openProcessIDs openSockets paragraphOffset paramCount param params peerAddress pendingMessages platform popStdDev populationStandardDeviation populationVariance popVariance processID random randomBytes replaceText result revCreateXMLTree revCreateXMLTreeFromFile revCurrentRecord revCurrentRecordIsFirst revCurrentRecordIsLast revDatabaseColumnCount revDatabaseColumnIsNull revDatabaseColumnLengths revDatabaseColumnNames revDatabaseColumnNamed revDatabaseColumnNumbered revDatabaseColumnTypes revDatabaseConnectResult revDatabaseCursors revDatabaseID revDatabaseTableNames revDatabaseType revDataFromQuery revdb_closeCursor revdb_columnbynumber revdb_columncount revdb_columnisnull revdb_columnlengths revdb_columnnames revdb_columntypes revdb_commit revdb_connect revdb_connections revdb_connectionerr revdb_currentrecord revdb_cursorconnection revdb_cursorerr revdb_cursors revdb_dbtype revdb_disconnect revdb_execute revdb_iseof revdb_isbof revdb_movefirst revdb_movelast revdb_movenext revdb_moveprev revdb_query revdb_querylist revdb_recordcount revdb_rollback revdb_tablenames revGetDatabaseDriverPath revNumberOfRecords revOpenDatabase revOpenDatabases revQueryDatabase revQueryDatabaseBlob revQueryResult revQueryIsAtStart revQueryIsAtEnd revUnixFromMacPath revXMLAttribute revXMLAttributes revXMLAttributeValues revXMLChildContents revXMLChildNames revXMLCreateTreeFromFileWithNamespaces revXMLCreateTreeWithNamespaces revXMLDataFromXPathQuery revXMLEvaluateXPath revXMLFirstChild revXMLMatchingNode revXMLNextSibling revXMLNodeContents revXMLNumberOfChildren revXMLParent revXMLPreviousSibling revXMLRootNode revXMLRPC_CreateRequest revXMLRPC_Documents revXMLRPC_Error revXMLRPC_GetHost revXMLRPC_GetMethod revXMLRPC_GetParam revXMLText revXMLRPC_Execute revXMLRPC_GetParamCount revXMLRPC_GetParamNode revXMLRPC_GetParamType revXMLRPC_GetPath revXMLRPC_GetPort revXMLRPC_GetProtocol revXMLRPC_GetRequest revXMLRPC_GetResponse revXMLRPC_GetSocket revXMLTree revXMLTrees revXMLValidateDTD revZipDescribeItem revZipEnumerateItems revZipOpenArchives round sampVariance sec secs seconds sentenceOffset sha1Digest shell shortFilePath sin specialFolderPath sqrt standardDeviation statRound stdDev sum sysError systemVersion tan tempName textDecode textEncode tick ticks time to tokenOffset toLower toUpper transpose truewordOffset trunc uniDecode uniEncode upper URLDecode URLEncode URLStatus uuid value variableNames variance version waitDepth weekdayNames wordOffset xsltApplyStylesheet xsltApplyStylesheetFromFile xsltLoadStylesheet xsltLoadStylesheetFromFile add breakpoint cancel clear local variable file word line folder directory URL close socket process combine constant convert create new alias folder directory decrypt delete variable word line folder directory URL dispatch divide do encrypt filter get include intersect kill libURLDownloadToFile libURLFollowHttpRedirects libURLftpUpload libURLftpUploadFile libURLresetAll libUrlSetAuthCallback libURLSetDriver libURLSetCustomHTTPHeaders libUrlSetExpect100 libURLSetFTPListCommand libURLSetFTPMode libURLSetFTPStopTime libURLSetStatusCallback load extension loadedExtensions multiply socket prepare process post seek rel relative read from process rename replace require resetAll resolve revAddXMLNode revAppendXML revCloseCursor revCloseDatabase revCommitDatabase revCopyFile revCopyFolder revCopyXMLNode revDeleteFolder revDeleteXMLNode revDeleteAllXMLTrees revDeleteXMLTree revExecuteSQL revGoURL revInsertXMLNode revMoveFolder revMoveToFirstRecord revMoveToLastRecord revMoveToNextRecord revMoveToPreviousRecord revMoveToRecord revMoveXMLNode revPutIntoXMLNode revRollBackDatabase revSetDatabaseDriverPath revSetXMLAttribute revXMLRPC_AddParam revXMLRPC_DeleteAllDocuments revXMLAddDTD revXMLRPC_Free revXMLRPC_FreeAll revXMLRPC_DeleteDocument revXMLRPC_DeleteParam revXMLRPC_SetHost revXMLRPC_SetMethod revXMLRPC_SetPort revXMLRPC_SetProtocol revXMLRPC_SetSocket revZipAddItemWithData revZipAddItemWithFile revZipAddUncompressedItemWithData revZipAddUncompressedItemWithFile revZipCancel revZipCloseArchive revZipDeleteItem revZipExtractItemToFile revZipExtractItemToVariable revZipSetProgressCallback revZipRenameItem revZipReplaceItemWithData revZipReplaceItemWithFile revZipOpenArchive send set sort split start stop subtract symmetric union unload vectorDotProduct wait write"},contains:[t,{className:"keyword",begin:"\\bend\\sif\\b"},{className:"function",beginKeywords:"function",end:"$",contains:[t,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,r]},{className:"function",begin:"\\bend\\s+",end:"$",keywords:"end",contains:[i,r],relevance:0},{beginKeywords:"command on",end:"$",contains:[t,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,r]},{className:"meta",variants:[{begin:"<\\?(rev|lc|livecode)",relevance:10},{begin:"<\\?"},{begin:"\\?>"}]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,r].concat(n),illegal:";$|^\\[|^=|&|{"}}},"1c59":function(e,t,n){"use strict";var r=n("6d61"),i=n("6566");r("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),i)},"1c5f":function(e,t,n){var r=n("401b"),i=n("6d8b"),a=n("0c37"),o=a.getCurvenessForEdge;function s(e){var t=e.coordinateSystem;if(!t||"view"===t.type){var n=e.getGraph();n.eachNode((function(e){var t=e.getModel();e.setLayout([+t.get("x"),+t.get("y")])})),l(n,e)}}function l(e,t){e.eachEdge((function(e,n){var a=i.retrieve3(e.getModel().get("lineStyle.curveness"),-o(e,t,n,!0),0),s=r.clone(e.node1.getLayout()),l=r.clone(e.node2.getLayout()),c=[s,l];+a&&c.push([(s[0]+l[0])/2-(s[1]-l[1])*a,(s[1]+l[1])/2-(l[0]-s[0])*a]),e.setLayout(c)}))}t.simpleLayout=s,t.simpleLayoutEdge=l},"1c7e":function(e,t,n){var r=n("b622"),i=r("iterator"),a=!1;try{var o=0,s={next:function(){return{done:!!o++}},return:function(){a=!0}};s[i]=function(){return this},Array.from(s,(function(){throw 2}))}catch(l){}e.exports=function(e,t){if(!t&&!a)return!1;var n=!1;try{var r={};r[i]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(l){}return n}},"1ccf":function(e,t,n){var r=n("4e08"),i=(r.__DEV__,n("6d8b")),a=n("fd27"),o=n("3842"),s=o.parsePercent,l=n("697e"),c=l.createScaleByModel,u=l.niceScaleExtent,d=n("2039"),h=n("ee1a"),p=h.getStackedDimension;function f(e,t,n){var r=t.get("center"),a=n.getWidth(),o=n.getHeight();e.cx=s(r[0],a),e.cy=s(r[1],o);var l=e.getRadiusAxis(),c=Math.min(a,o)/2,u=t.get("radius");null==u?u=[0,"100%"]:i.isArray(u)||(u=[0,u]),u=[s(u[0],c),s(u[1],c)],l.inverse?l.setExtent(u[1],u[0]):l.setExtent(u[0],u[1])}function _(e,t){var n=this,r=n.getAngleAxis(),a=n.getRadiusAxis();if(r.scale.setExtent(1/0,-1/0),a.scale.setExtent(1/0,-1/0),e.eachSeries((function(e){if(e.coordinateSystem===n){var t=e.getData();i.each(t.mapDimension("radius",!0),(function(e){a.scale.unionExtentFromData(t,p(t,e))})),i.each(t.mapDimension("angle",!0),(function(e){r.scale.unionExtentFromData(t,p(t,e))}))}})),u(r.scale,r.model),u(a.scale,a.model),"category"===r.type&&!r.onBand){var o=r.getExtent(),s=360/r.scale.count();r.inverse?o[1]+=s:o[1]-=s,r.setExtent(o[0],o[1])}}function m(e,t){if(e.type=t.get("type"),e.scale=c(t),e.onBand=t.get("boundaryGap")&&"category"===e.type,e.inverse=t.get("inverse"),"angleAxis"===t.mainType){e.inverse^=t.get("clockwise");var n=t.get("startAngle");e.setExtent(n,n+(e.inverse?-360:360))}t.axis=e,e.model=t}n("78f0");var g={dimensions:a.prototype.dimensions,create:function(e,t){var n=[];return e.eachComponent("polar",(function(e,r){var i=new a(r);i.update=_;var o=i.getRadiusAxis(),s=i.getAngleAxis(),l=e.findAxisModel("radiusAxis"),c=e.findAxisModel("angleAxis");m(o,l),m(s,c),f(i,e,t),n.push(i),e.coordinateSystem=i,i.model=e})),e.eachSeries((function(t){if("polar"===t.get("coordinateSystem")){var n=e.queryComponents({mainType:"polar",index:t.get("polarIndex"),id:t.get("polarId")})[0];t.coordinateSystem=n.coordinateSystem}})),n}};d.register("polar",g)},"1cdc":function(e,t,n){var r=n("342f");e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},"1d2b":function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r=51||!r((function(){var t=[],n=t.constructor={};return n[o]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},"1e32":function(e,t,n){var r=n("6d8b"),i=n("3842"),a=i.parsePercent,o=n("ee1a"),s=o.isDimensionStacked;function l(e){return e.get("stack")||"__ec_stack_"+e.seriesIndex}function c(e,t){return t.dim+e.model.componentIndex}function u(e,t,n){var i={},a=d(r.filter(t.getSeriesByType(e),(function(e){return!t.isSeriesFiltered(e)&&e.coordinateSystem&&"polar"===e.coordinateSystem.type})));t.eachSeriesByType(e,(function(e){if("polar"===e.coordinateSystem.type){var t=e.getData(),n=e.coordinateSystem,r=n.getBaseAxis(),o=c(n,r),u=l(e),d=a[o][u],h=d.offset,p=d.width,f=n.getOtherAxis(r),_=e.coordinateSystem.cx,m=e.coordinateSystem.cy,g=e.get("barMinHeight")||0,v=e.get("barMinAngle")||0;i[u]=i[u]||[];for(var y=t.mapDimension(f.dim),b=t.mapDimension(r.dim),S=s(t,y),E="radius"!==r.dim||!e.get("roundCap",!0),x="radius"===f.dim?f.dataToRadius(0):f.dataToAngle(0),T=0,C=t.count();T=0?"p":"n",D=x;if(S&&(i[u][N]||(i[u][N]={p:x,n:x}),D=i[u][N][M]),"radius"===f.dim){var L=f.dataToRadius(I)-x,P=r.dataToAngle(N);Math.abs(L)=i/3?1:2),l=t.y-r(o)*a*(a>=i/3?1:2);o=t.angle-Math.PI/2,e.moveTo(s,l),e.lineTo(t.x+n(o)*a,t.y+r(o)*a),e.lineTo(t.x+n(t.angle)*i,t.y+r(t.angle)*i),e.lineTo(t.x-n(o)*a,t.y-r(o)*a),e.lineTo(s,l)}});e.exports=i},"1f1a":function(e,t,n){var r=n("6d8b"),i=n("e0d3"),a=n("6cb7"),o=n("4319"),s=n("7023"),l=n("eeea"),c=a.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(e){a.prototype.init.apply(this,arguments),i.defaultEmphasis(e,"label",["show"])},optionUpdated:function(){var e=this.option,t=this;e.regions=l.getFilledRegions(e.regions,e.map,e.nameMap),this._optionModelMap=r.reduce(e.regions||[],(function(e,n){return n.name&&e.set(n.name,new o(n,t)),e}),r.createHashMap()),this.updateSelectedMap(e.regions)},defaultOption:{zlevel:0,z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",color:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},getRegionModel:function(e){return this._optionModelMap.get(e)||new o(null,this,this.ecModel)},getFormattedLabel:function(e,t){t=t||"normal";var n=this.getRegionModel(e),r=n.get(("normal"===t?"":t+".")+"label.formatter"),i={name:e};return"function"===typeof r?(i.status=t,r(i)):"string"===typeof r?r.replace("{a}",null!=e?e:""):void 0},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e}});r.mixin(c,s);var u=c;e.exports=u},"1f64":function(e,t){e.exports=function(e){return{keywords:{literal:"true false null",keyword:"byte short char int long boolean float double void def as in assert trait super this abstract static volatile transient public private protected synchronized final class interface enum if else for while switch case break default continue throw throws try catch finally implements extends new import package return instanceof"},contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},{className:"string",begin:"'''",end:"'''"},{className:"string",begin:"\\$/",end:"/\\$",relevance:10},e.APOS_STRING_MODE,{className:"regexp",begin:/~?\/[^\/\n]+\//,contains:[e.BACKSLASH_ESCAPE]},e.QUOTE_STRING_MODE,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:"\n"},e.BINARY_NUMBER_MODE,{className:"class",beginKeywords:"class interface trait enum",end:"{",illegal:":",contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},e.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"},{className:"string",begin:/[^\?]{0}[A-Za-z0-9_$]+ *:/},{begin:/\?/,end:/\:/},{className:"symbol",begin:"^\\s*[A-Za-z0-9_$]+:",relevance:0}],illegal:/#|<\//}}},"1f8a":function(e,t){e.exports=function(e){var t="exports register file shl array record property for mod while set ally label uses raise not stored class safecall var interface or private static exit index inherited to else stdcall override shr asm far resourcestring finalization packed virtual out and protected library do xorwrite goto near function end div overload object unit begin string on inline repeat until destructor write message program with read initialization except default nil if case cdecl in downto threadvar of try pascal const external constructor type public then implementation finally published procedure absolute reintroduce operator as is abstract alias assembler bitpacked break continue cppdecl cvar enumerator experimental platform deprecated unimplemented dynamic export far16 forward generic helper implements interrupt iochecks local name nodefault noreturn nostackframe oldfpccall otherwise saveregisters softfloat specialize strict unaligned varargs ",n=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],r={className:"meta",variants:[{begin:/\{\$/,end:/\}/},{begin:/\(\*\$/,end:/\*\)/}]},i={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},a={className:"string",begin:/(#\d+)+/},o={begin:e.IDENT_RE+"\\s*=\\s*class\\s*\\(",returnBegin:!0,contains:[e.TITLE_MODE]},s={className:"function",beginKeywords:"function constructor destructor procedure",end:/[:;]/,keywords:"function constructor|10 destructor|10 procedure|10",contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:t,contains:[i,a,r].concat(n)},r].concat(n)};return{aliases:["dpr","dfm","pas","pascal","freepascal","lazarus","lpr","lfm"],case_insensitive:!0,keywords:t,illegal:/"|\$[G-Zg-z]|\/\*|<\/|\|/,contains:[i,a,e.NUMBER_MODE,o,s,r].concat(n)}}},"1fab":function(e,t){var n=Array.prototype.slice,r=function(e){this._$handlers={},this._$eventProcessor=e};function i(e,t){var n=e._$eventProcessor;return null!=t&&n&&n.normalizeQuery&&(t=n.normalizeQuery(t)),t}function a(e,t,n,r,a,o){var s=e._$handlers;if("function"===typeof n&&(a=r,r=n,n=null),!r||!t)return e;n=i(e,n),s[t]||(s[t]=[]);for(var l=0;l3&&(i=n.call(i,1));for(var o=t.length,s=0;s4&&(i=n.call(i,1,i.length-1));for(var o=i[i.length-1],s=t.length,l=0;lthis._ux||y(t-this._yi)>this._uy||this._len<5;return this.addData(c.L,e,t),this._ctx&&n&&(this._needsDash()?this._dashedLineTo(e,t):this._ctx.lineTo(e,t)),n&&(this._xi=e,this._yi=t),this},bezierCurveTo:function(e,t,n,r,i,a){return this.addData(c.C,e,t,n,r,i,a),this._ctx&&(this._needsDash()?this._dashedBezierTo(e,t,n,r,i,a):this._ctx.bezierCurveTo(e,t,n,r,i,a)),this._xi=i,this._yi=a,this},quadraticCurveTo:function(e,t,n,r){return this.addData(c.Q,e,t,n,r),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(e,t,n,r):this._ctx.quadraticCurveTo(e,t,n,r)),this._xi=n,this._yi=r,this},arc:function(e,t,n,r,i,a){return this.addData(c.A,e,t,n,n,r,i-r,0,a?0:1),this._ctx&&this._ctx.arc(e,t,n,r,i,a),this._xi=m(i)*n+e,this._yi=g(i)*n+t,this},arcTo:function(e,t,n,r,i){return this._ctx&&this._ctx.arcTo(e,t,n,r,i),this},rect:function(e,t,n,r){return this._ctx&&this._ctx.rect(e,t,n,r),this.addData(c.R,e,t,n,r),this},closePath:function(){this.addData(c.Z);var e=this._ctx,t=this._x0,n=this._y0;return e&&(this._needsDash()&&this._dashedLineTo(t,n),e.closePath()),this._xi=t,this._yi=n,this},fill:function(e){e&&e.fill(),this.toStatic()},stroke:function(e){e&&e.stroke(),this.toStatic()},setLineDash:function(e){if(e instanceof Array){this._lineDash=e,this._dashIdx=0;for(var t=0,n=0;nt.length&&(this._expandData(),t=this.data);for(var n=0;n0&&p<=e||u<0&&p>=e||0===u&&(d>0&&m<=t||d<0&&m>=t))r=this._dashIdx,n=o[r],p+=u*n,m+=d*n,this._dashIdx=(r+1)%g,u>0&&pl||d>0&&mc||s[r%2?"moveTo":"lineTo"](u>=0?f(p,e):_(p,e),d>=0?f(m,t):_(m,t));u=p-e,d=m-t,this._dashOffset=-v(u*u+d*d)},_dashedBezierTo:function(e,t,n,i,a,o){var s,l,c,u,d,h=this._dashSum,p=this._dashOffset,f=this._lineDash,_=this._ctx,m=this._xi,g=this._yi,y=r.cubicAt,b=0,S=this._dashIdx,E=f.length,x=0;for(p<0&&(p=h+p),p%=h,s=0;s<1;s+=.1)l=y(m,e,n,a,s+.1)-y(m,e,n,a,s),c=y(g,t,i,o,s+.1)-y(g,t,i,o,s),b+=v(l*l+c*c);for(;Sp)break;s=(x-p)/b;while(s<=1)u=y(m,e,n,a,s),d=y(g,t,i,o,s),S%2?_.moveTo(u,d):_.lineTo(u,d),s+=f[S]/b,S=(S+1)%E;S%2!==0&&_.lineTo(a,o),l=a-u,c=o-d,this._dashOffset=-v(l*l+c*c)},_dashedQuadraticTo:function(e,t,n,r){var i=n,a=r;n=(n+2*e)/3,r=(r+2*t)/3,e=(this._xi+2*e)/3,t=(this._yi+2*t)/3,this._dashedBezierTo(e,t,n,r,i,a)},toStatic:function(){var e=this.data;e instanceof Array&&(e.length=this._len,b&&(this.data=new Float32Array(e)))},getBoundingRect:function(){u[0]=u[1]=h[0]=h[1]=Number.MAX_VALUE,d[0]=d[1]=p[0]=p[1]=-Number.MAX_VALUE;for(var e=this.data,t=0,n=0,r=0,s=0,l=0;ll||y(o-i)>u||h===d-1)&&(e.lineTo(a,o),r=a,i=o);break;case c.C:e.bezierCurveTo(s[h++],s[h++],s[h++],s[h++],s[h++],s[h++]),r=s[h-2],i=s[h-1];break;case c.Q:e.quadraticCurveTo(s[h++],s[h++],s[h++],s[h++]),r=s[h-2],i=s[h-1];break;case c.A:var f=s[h++],_=s[h++],v=s[h++],b=s[h++],S=s[h++],E=s[h++],x=s[h++],T=s[h++],C=v>b?v:b,A=v>b?1:v/b,w=v>b?b/v:1,O=Math.abs(v-b)>.001,R=S+E;O?(e.translate(f,_),e.rotate(x),e.scale(A,w),e.arc(0,0,C,S,R,1-T),e.scale(1/A,1/w),e.rotate(-x),e.translate(-f,-_)):e.arc(f,_,C,S,R,1-T),1===h&&(t=m(S)*v+f,n=g(S)*b+_),r=m(R)*v+f,i=g(R)*b+_;break;case c.R:t=r=s[h],n=i=s[h+1],e.rect(s[h++],s[h++],s[h++],s[h++]);break;case c.Z:e.closePath(),r=t,i=n}}}},S.CMD=c;var E=S;e.exports=E},2145:function(e,t){var n={};function r(e,t){n[e]=t}function i(e){return n[e]}t.register=r,t.get=i},2163:function(e,t,n){var r=n("4f85"),i=n("06c7"),a=n("eda2"),o=a.encodeHTML,s=n("4319"),l=r.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(e){var t={name:e.name,children:e.data},n=e.leaves||{},r=new s(n,this,this.ecModel),a=i.createTree(t,this,o);function o(e){e.wrapMethod("getItemModel",(function(e,t){var n=a.getNodeByDataIndex(t);return n.children.length&&n.isExpand||(e.parentModel=r),e}))}var l=0;a.eachNode("preorder",(function(e){e.depth>l&&(l=e.depth)}));var c=e.expandAndCollapse,u=c&&e.initialTreeDepth>=0?e.initialTreeDepth:l;return a.root.eachNode("preorder",(function(e){var t=e.hostTree.data.getRawDataItem(e.dataIndex);e.isExpand=t&&null!=t.collapsed?!t.collapsed:e.depth<=u})),a.data},getOrient:function(){var e=this.get("orient");return"horizontal"===e?e="LR":"vertical"===e&&(e="TB"),e},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},formatTooltip:function(e){var t=this.getData().tree,n=t.root.children[0],r=t.getNodeByDataIndex(e),i=r.getValue(),a=r.name;while(r&&r!==n)a=r.parentNode.name+"."+a,r=r.parentNode;return o(a+(isNaN(i)||null==i?"":" : "+i))},defaultOption:{zlevel:0,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",borderColor:"#c23531",borderWidth:1.5},label:{show:!0,color:"#555"},leaves:{label:{show:!0}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});e.exports=l},"216a":function(e,t,n){var r=n("6d8b"),i=n("3842"),a=n("eda2"),o=n("944e"),s=n("89e3"),l=s.prototype,c=Math.ceil,u=Math.floor,d=1e3,h=60*d,p=60*h,f=24*p,_=function(e,t,n,r){while(n>>1;e[i][1]n&&(s=n);var l=g.length,d=_(g,s,0,l),h=g[Math.min(d,l-1)],p=h[1];if("year"===h[0]){var f=a/p,m=i.nice(f/e,!0);p*=m}var v=this.getSetting("useUTC")?0:60*new Date(+r[0]||+r[1]).getTimezoneOffset()*1e3,y=[Math.round(c((r[0]-v)/p)*p+v),Math.round(u((r[1]-v)/p)*p+v)];o.fixExtent(y,r),this._stepLvl=h,this._interval=p,this._niceExtent=y},parse:function(e){return+i.parseDate(e)}});r.each(["contain","normalize"],(function(e){m.prototype[e]=function(t){return l[e].call(this,this.parse(t))}}));var g=[["hh:mm:ss",d],["hh:mm:ss",5*d],["hh:mm:ss",10*d],["hh:mm:ss",15*d],["hh:mm:ss",30*d],["hh:mm\nMM-dd",h],["hh:mm\nMM-dd",5*h],["hh:mm\nMM-dd",10*h],["hh:mm\nMM-dd",15*h],["hh:mm\nMM-dd",30*h],["hh:mm\nMM-dd",p],["hh:mm\nMM-dd",2*p],["hh:mm\nMM-dd",6*p],["hh:mm\nMM-dd",12*p],["MM-dd\nyyyy",f],["MM-dd\nyyyy",2*f],["MM-dd\nyyyy",3*f],["MM-dd\nyyyy",4*f],["MM-dd\nyyyy",5*f],["MM-dd\nyyyy",6*f],["week",7*f],["MM-dd\nyyyy",10*f],["week",14*f],["week",21*f],["month",31*f],["week",42*f],["month",62*f],["week",70*f],["quarter",95*f],["month",31*f*4],["month",31*f*5],["half-year",380*f/2],["month",31*f*8],["month",31*f*10],["year",380*f]];m.create=function(e){return new m({useUTC:e.ecModel.get("useUTC")})};var v=m;e.exports=v},"217b":function(e,t,n){var r=n("4e08"),i=(r.__DEV__,n("3301")),a=n("4f85"),o=a.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(e,t){return i(this.getSource(),this,{useEncodeDefaulter:!0})},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clip:!0,label:{position:"top"},lineStyle:{width:2,type:"solid"},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}});e.exports=o},"217c":function(e,t,n){var r=n("6d8b"),i=n("6cb7");n("df3a");var a=i.extend({type:"parallel",dependencies:["parallelAxis"],coordinateSystem:null,dimensions:null,parallelAxisIndex:null,layoutMode:"box",defaultOption:{zlevel:0,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},init:function(){i.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(e){var t=this.option;e&&r.merge(t,e,!0),this._initDimensions()},contains:function(e,t){var n=e.get("parallelIndex");return null!=n&&t.getComponent("parallel",n)===this},setAxisExpand:function(e){r.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],(function(t){e.hasOwnProperty(t)&&(this.option[t]=e[t])}),this)},_initDimensions:function(){var e=this.dimensions=[],t=this.parallelAxisIndex=[],n=r.filter(this.dependentModels.parallelAxis,(function(e){return(e.get("parallelIndex")||0)===this.componentIndex}),this);r.each(n,(function(n){e.push("dim"+n.get("dim")),t.push(n.componentIndex)}))}});e.exports=a},2236:function(e,t,n){var r=n("5a43");function i(e){if(Array.isArray(e))return r(e)}e.exports=i,e.exports.__esModule=!0,e.exports["default"]=e.exports},2265:function(e,t){e.exports=function(e){var t={keyword:"in isa where baremodule begin break catch ccall const continue do else elseif end export false finally for function global if import importall let local macro module quote return true try using while type immutable abstract bitstype typealias ",literal:"true false ARGS C_NULL DevNull ENDIAN_BOM ENV I Inf Inf16 Inf32 Inf64 InsertionSort JULIA_HOME LOAD_PATH MergeSort NaN NaN16 NaN32 NaN64 PROGRAM_FILE QuickSort RoundDown RoundFromZero RoundNearest RoundNearestTiesAway RoundNearestTiesUp RoundToZero RoundUp STDERR STDIN STDOUT VERSION catalan e|0 eu|0 eulergamma golden im nothing pi γ π φ ",built_in:"ANY AbstractArray AbstractChannel AbstractFloat AbstractMatrix AbstractRNG AbstractSerializer AbstractSet AbstractSparseArray AbstractSparseMatrix AbstractSparseVector AbstractString AbstractUnitRange AbstractVecOrMat AbstractVector Any ArgumentError Array AssertionError Associative Base64DecodePipe Base64EncodePipe Bidiagonal BigFloat BigInt BitArray BitMatrix BitVector Bool BoundsError BufferStream CachingPool CapturedException CartesianIndex CartesianRange Cchar Cdouble Cfloat Channel Char Cint Cintmax_t Clong Clonglong ClusterManager Cmd CodeInfo Colon Complex Complex128 Complex32 Complex64 CompositeException Condition ConjArray ConjMatrix ConjVector Cptrdiff_t Cshort Csize_t Cssize_t Cstring Cuchar Cuint Cuintmax_t Culong Culonglong Cushort Cwchar_t Cwstring DataType Date DateFormat DateTime DenseArray DenseMatrix DenseVecOrMat DenseVector Diagonal Dict DimensionMismatch Dims DirectIndexString Display DivideError DomainError EOFError EachLine Enum Enumerate ErrorException Exception ExponentialBackOff Expr Factorization FileMonitor Float16 Float32 Float64 Function Future GlobalRef GotoNode HTML Hermitian IO IOBuffer IOContext IOStream IPAddr IPv4 IPv6 IndexCartesian IndexLinear IndexStyle InexactError InitError Int Int128 Int16 Int32 Int64 Int8 IntSet Integer InterruptException InvalidStateException Irrational KeyError LabelNode LinSpace LineNumberNode LoadError LowerTriangular MIME Matrix MersenneTwister Method MethodError MethodTable Module NTuple NewvarNode NullException Nullable Number ObjectIdDict OrdinalRange OutOfMemoryError OverflowError Pair ParseError PartialQuickSort PermutedDimsArray Pipe PollingFileWatcher ProcessExitedException Ptr QuoteNode RandomDevice Range RangeIndex Rational RawFD ReadOnlyMemoryError Real ReentrantLock Ref Regex RegexMatch RemoteChannel RemoteException RevString RoundingMode RowVector SSAValue SegmentationFault SerializationState Set SharedArray SharedMatrix SharedVector Signed SimpleVector Slot SlotNumber SparseMatrixCSC SparseVector StackFrame StackOverflowError StackTrace StepRange StepRangeLen StridedArray StridedMatrix StridedVecOrMat StridedVector String SubArray SubString SymTridiagonal Symbol Symmetric SystemError TCPSocket Task Text TextDisplay Timer Tridiagonal Tuple Type TypeError TypeMapEntry TypeMapLevel TypeName TypeVar TypedSlot UDPSocket UInt UInt128 UInt16 UInt32 UInt64 UInt8 UndefRefError UndefVarError UnicodeError UniformScaling Union UnionAll UnitRange Unsigned UpperTriangular Val Vararg VecElement VecOrMat Vector VersionNumber Void WeakKeyDict WeakRef WorkerConfig WorkerPool "},n="[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*",r={lexemes:n,keywords:t,illegal:/<\//},i={className:"number",begin:/(\b0x[\d_]*(\.[\d_]*)?|0x\.\d[\d_]*)p[-+]?\d+|\b0[box][a-fA-F0-9][a-fA-F0-9_]*|(\b\d[\d_]*(\.[\d_]*)?|\.\d[\d_]*)([eEfF][-+]?\d+)?/,relevance:0},a={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},o={className:"subst",begin:/\$\(/,end:/\)/,keywords:t},s={className:"variable",begin:"\\$"+n},l={className:"string",contains:[e.BACKSLASH_ESCAPE,o,s],variants:[{begin:/\w*"""/,end:/"""\w*/,relevance:10},{begin:/\w*"/,end:/"\w*/}]},c={className:"string",contains:[e.BACKSLASH_ESCAPE,o,s],begin:"`",end:"`"},u={className:"meta",begin:"@"+n},d={className:"comment",variants:[{begin:"#=",end:"=#",relevance:10},{begin:"#",end:"$"}]};return r.contains=[i,a,l,c,u,d,e.HASH_COMMENT_MODE,{className:"keyword",begin:"\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b"},{begin:/<:/}],o.contains=r.contains,r}},2266:function(e,t,n){var r=n("0366"),i=n("c65b"),a=n("825a"),o=n("0d51"),s=n("e95a"),l=n("07fa"),c=n("3a9b"),u=n("9a1f"),d=n("35a1"),h=n("2a62"),p=TypeError,f=function(e,t){this.stopped=e,this.result=t},_=f.prototype;e.exports=function(e,t,n){var m,g,v,y,b,S,E,x=n&&n.that,T=!(!n||!n.AS_ENTRIES),C=!(!n||!n.IS_RECORD),A=!(!n||!n.IS_ITERATOR),w=!(!n||!n.INTERRUPTED),O=r(t,x),R=function(e){return m&&h(m,"normal",e),new f(!0,e)},I=function(e){return T?(a(e),w?O(e[0],e[1],R):O(e[0],e[1])):w?O(e,R):O(e)};if(C)m=e.iterator;else if(A)m=e;else{if(g=d(e),!g)throw p(o(e)+" is not iterable");if(s(g)){for(v=0,y=l(e);y>v;v++)if(b=I(e[v]),b&&c(_,b))return b;return new f(!1)}m=u(e,g)}S=C?e.next:m.next;while(!(E=i(S,m)).done){try{b=I(E.value)}catch(N){h(m,"throw",N)}if("object"==typeof b&&b&&c(_,b))return b}return new f(!1)}},"22d1":function(e,t){var n={};n="object"===typeof wx&&"function"===typeof wx.getSystemInfoSync?{browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:"undefined"===typeof document&&"undefined"!==typeof self?{browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:"undefined"===typeof navigator?{browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:i(navigator.userAgent);var r=n;function i(e){var t={},n={},r=e.match(/Firefox\/([\d.]+)/),i=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),a=e.match(/Edge\/([\d.]+)/),o=/micromessenger/i.test(e);return r&&(n.firefox=!0,n.version=r[1]),i&&(n.ie=!0,n.version=i[1]),a&&(n.edge=!0,n.version=a[1]),o&&(n.weChat=!0),{browser:n,os:t,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:"undefined"!==typeof SVGRect,touchEventsSupported:"ontouchstart"in window&&!n.ie&&!n.edge,pointerEventsSupported:"onpointerdown"in window&&(n.edge||n.ie&&n.version>=11),domSupported:"undefined"!==typeof document}}e.exports=r},"22da":function(e,t,n){var r=n("f934");function i(e){e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};var t,n,r=[e];while(t=r.pop())if(n=t.children,t.isExpand&&n.length)for(var i=n.length,a=i-1;a>=0;a--){var o=n[a];o.hierNode={defaultAncestor:null,ancestor:o,prelim:0,modifier:0,change:0,shift:0,i:a,thread:null},r.push(o)}}function a(e,t){var n=e.isExpand?e.children:[],r=e.parentNode.children,i=e.hierNode.i?r[e.hierNode.i-1]:null;if(n.length){u(e);var a=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;i?(e.hierNode.prelim=i.hierNode.prelim+t(e,i),e.hierNode.modifier=e.hierNode.prelim-a):e.hierNode.prelim=a}else i&&(e.hierNode.prelim=i.hierNode.prelim+t(e,i));e.parentNode.hierNode.defaultAncestor=d(e,i,e.parentNode.hierNode.defaultAncestor||r[0],t)}function o(e){var t=e.hierNode.prelim+e.parentNode.hierNode.modifier;e.setLayout({x:t},!0),e.hierNode.modifier+=e.parentNode.hierNode.modifier}function s(e){return arguments.length?e:m}function l(e,t){var n={};return e-=Math.PI/2,n.x=t*Math.cos(e),n.y=t*Math.sin(e),n}function c(e,t){return r.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function u(e){var t=e.children,n=t.length,r=0,i=0;while(--n>=0){var a=t[n];a.hierNode.prelim+=r,a.hierNode.modifier+=r,i+=a.hierNode.change,r+=a.hierNode.shift+i}}function d(e,t,n,r){if(t){var i=e,a=e,o=a.parentNode.children[0],s=t,l=i.hierNode.modifier,c=a.hierNode.modifier,u=o.hierNode.modifier,d=s.hierNode.modifier;while(s=h(s),a=p(a),s&&a){i=h(i),o=p(o),i.hierNode.ancestor=e;var m=s.hierNode.prelim+d-a.hierNode.prelim-c+r(s,a);m>0&&(_(f(s,e,n),e,m),c+=m,l+=m),d+=s.hierNode.modifier,c+=a.hierNode.modifier,l+=i.hierNode.modifier,u+=o.hierNode.modifier}s&&!h(i)&&(i.hierNode.thread=s,i.hierNode.modifier+=d-l),a&&!p(o)&&(o.hierNode.thread=a,o.hierNode.modifier+=c-u,n=e)}return n}function h(e){var t=e.children;return t.length&&e.isExpand?t[t.length-1]:e.hierNode.thread}function p(e){var t=e.children;return t.length&&e.isExpand?t[0]:e.hierNode.thread}function f(e,t,n){return e.hierNode.ancestor.parentNode===t.parentNode?e.hierNode.ancestor:n}function _(e,t,n){var r=n/(t.hierNode.i-e.hierNode.i);t.hierNode.change-=r,t.hierNode.shift+=n,t.hierNode.modifier+=n,t.hierNode.prelim+=n,e.hierNode.change+=r}function m(e,t){return e.parentNode===t.parentNode?1:2}t.init=i,t.firstWalk=a,t.secondWalk=o,t.separation=s,t.radialCoordinate=l,t.getViewRect=c},2306:function(e,t,n){var r=n("6d8b"),i=n("342d"),a=n("41ef"),o=n("1687"),s=n("401b"),l=n("cbe5"),c=n("0cde"),u=n("0da8");t.Image=u;var d=n("e1fc");t.Group=d;var h=n("76a5");t.Text=h;var p=n("d9fc");t.Circle=p;var f=n("4aa2");t.Sector=f;var _=n("4573");t.Ring=_;var m=n("87b1");t.Polygon=m;var g=n("d498");t.Polyline=g;var v=n("c7a2");t.Rect=v;var y=n("cb11");t.Line=y;var b=n("ac0f");t.BezierCurve=b;var S=n("8d32");t.Arc=S;var E=n("d4c6");t.CompoundPath=E;var x=n("48a9");t.LinearGradient=x;var T=n("dded");t.RadialGradient=T;var C=n("9850");t.BoundingRect=C;var A=n("392f");t.IncrementalDisplayable=A;var w=n("9cf9"),O=Math.max,R=Math.min,I={},N=1,M={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},D="emphasis",L="normal",P=1,k={},F={};function B(e){return l.extend(e)}function U(e,t){return i.extendFromString(e,t)}function G(e,t){F[e]=t}function z(e){if(F.hasOwnProperty(e))return F[e]}function V(e,t,n,r){var a=i.createFromString(e,t);return n&&("center"===r&&(n=Y(n,a.getBoundingRect())),q(a,n)),a}function H(e,t,n){var r=new u({style:{image:e,x:t.x,y:t.y,width:t.width,height:t.height},onload:function(e){if("center"===n){var i={width:e.width,height:e.height};r.setStyle(Y(t,i))}}});return r}function Y(e,t){var n,r=t.width/t.height,i=e.height*r;i<=e.width?n=e.height:(i=e.width,n=i/r);var a=e.x+e.width/2,o=e.y+e.height/2;return{x:a-i/2,y:o-n/2,width:i,height:n}}var W=i.mergePath;function q(e,t){if(e.applyTransform){var n=e.getBoundingRect(),r=n.calculateTransform(t);e.applyTransform(r)}}function j(e){return w.subPixelOptimizeLine(e.shape,e.shape,e.style),e}function $(e){return w.subPixelOptimizeRect(e.shape,e.shape,e.style),e}var K=w.subPixelOptimize;function Q(e){return null!=e&&"none"!==e}var X=r.createHashMap(),Z=0;function J(e){if("string"!==typeof e)return e;var t=X.get(e);return t||(t=a.lift(e,-.1),Z<1e4&&(X.set(e,t),Z++)),t}function ee(e){if(e.__hoverStlDirty){e.__hoverStlDirty=!1;var t=e.__hoverStl;if(t){var n=e.__cachedNormalStl={};e.__cachedNormalZ2=e.z2;var r=e.style;for(var i in t)null!=t[i]&&(n[i]=r[i]);n.fill=r.fill,n.stroke=r.stroke}else e.__cachedNormalStl=e.__cachedNormalZ2=null}}function te(e){var t=e.__hoverStl;if(t&&!e.__highlighted){var n=e.__zr,r=e.useHoverLayer&&n&&"canvas"===n.painter.type;if(e.__highlighted=r?"layer":"plain",!(e.isGroup||!n&&e.useHoverLayer)){var i=e,a=e.style;r&&(i=n.addHover(e),a=i.style),Te(a),r||ee(i),a.extendFrom(t),ne(a,t,"fill"),ne(a,t,"stroke"),xe(a),r||(e.dirty(!1),e.z2+=N)}}}function ne(e,t,n){!Q(t[n])&&Q(e[n])&&(e[n]=J(e[n]))}function re(e){var t=e.__highlighted;if(t&&(e.__highlighted=!1,!e.isGroup))if("layer"===t)e.__zr&&e.__zr.removeHover(e);else{var n=e.style,r=e.__cachedNormalStl;r&&(Te(n),e.setStyle(r),xe(n));var i=e.__cachedNormalZ2;null!=i&&e.z2-i===N&&(e.z2=i)}}function ie(e,t,n){var r,i=L,a=L;e.__highlighted&&(i=D,r=!0),t(e,n),e.__highlighted&&(a=D,r=!0),e.isGroup&&e.traverse((function(e){!e.isGroup&&t(e,n)})),r&&e.__highDownOnUpdate&&e.__highDownOnUpdate(i,a)}function ae(e,t){t=e.__hoverStl=!1!==t&&(e.hoverStyle||t||{}),e.__hoverStlDirty=!0,e.__highlighted&&(e.__cachedNormalStl=null,re(e),te(e))}function oe(e){!ue(this,e)&&!this.__highByOuter&&ie(this,te)}function se(e){!ue(this,e)&&!this.__highByOuter&&ie(this,re)}function le(e){this.__highByOuter|=1<<(e||0),ie(this,te)}function ce(e){!(this.__highByOuter&=~(1<<(e||0)))&&ie(this,re)}function ue(e,t){return e.__highDownSilentOnTouch&&t.zrByTouch}function de(e,t){he(e,!0),ie(e,ae,t)}function he(e,t){var n=!1===t;if(e.__highDownSilentOnTouch=e.highDownSilentOnTouch,e.__highDownOnUpdate=e.highDownOnUpdate,!n||e.__highDownDispatcher){var r=n?"off":"on";e[r]("mouseover",oe)[r]("mouseout",se),e[r]("emphasis",le)[r]("normal",ce),e.__highByOuter=e.__highByOuter||0,e.__highDownDispatcher=!n}}function pe(e){return!(!e||!e.__highDownDispatcher)}function fe(e){var t=k[e];return null==t&&P<=32&&(t=k[e]=P++),t}function _e(e,t,n,i,a,o,s){a=a||I;var l,c=a.labelFetcher,u=a.labelDataIndex,d=a.labelDimIndex,h=a.labelProp,p=n.getShallow("show"),f=i.getShallow("show");(p||f)&&(c&&(l=c.getFormattedLabel(u,"normal",null,d,h)),null==l&&(l=r.isFunction(a.defaultText)?a.defaultText(u,a):a.defaultText));var _=p?l:null,m=f?r.retrieve2(c?c.getFormattedLabel(u,"emphasis",null,d,h):null,l):null;null==_&&null==m||(ge(e,n,o,a),ge(t,i,s,a,!0)),e.text=_,t.text=m}function me(e,t,n){var i=e.style;t&&(Te(i),e.setStyle(t),xe(i)),i=e.__hoverStl,n&&i&&(Te(i),r.extend(i,n),xe(i))}function ge(e,t,n,i,a){return ye(e,t,i,a),n&&r.extend(e,n),e}function ve(e,t,n){var r,i={isRectText:!0};!1===n?r=!0:i.autoColor=n,ye(e,t,i,r)}function ye(e,t,n,i){if(n=n||I,n.isRectText){var a;n.getTextPosition?a=n.getTextPosition(t,i):(a=t.getShallow("position")||(i?null:"inside"),"outside"===a&&(a="top")),e.textPosition=a,e.textOffset=t.getShallow("offset");var o=t.getShallow("rotate");null!=o&&(o*=Math.PI/180),e.textRotation=o,e.textDistance=r.retrieve2(t.getShallow("distance"),i?null:5)}var s,l=t.ecModel,c=l&&l.option.textStyle,u=be(t);if(u)for(var d in s={},u)if(u.hasOwnProperty(d)){var h=t.getModel(["rich",d]);Se(s[d]={},h,c,n,i)}return e.rich=s,Se(e,t,c,n,i,!0),n.forceRich&&!n.textStyle&&(n.textStyle={}),e}function be(e){var t;while(e&&e!==e.ecModel){var n=(e.option||I).rich;if(n)for(var r in t=t||{},n)n.hasOwnProperty(r)&&(t[r]=1);e=e.parentModel}return t}function Se(e,t,n,i,a,o){n=!a&&n||I,e.textFill=Ee(t.getShallow("color"),i)||n.color,e.textStroke=Ee(t.getShallow("textBorderColor"),i)||n.textBorderColor,e.textStrokeWidth=r.retrieve2(t.getShallow("textBorderWidth"),n.textBorderWidth),a||(o&&(e.insideRollbackOpt=i,xe(e)),null==e.textFill&&(e.textFill=i.autoColor)),e.fontStyle=t.getShallow("fontStyle")||n.fontStyle,e.fontWeight=t.getShallow("fontWeight")||n.fontWeight,e.fontSize=t.getShallow("fontSize")||n.fontSize,e.fontFamily=t.getShallow("fontFamily")||n.fontFamily,e.textAlign=t.getShallow("align"),e.textVerticalAlign=t.getShallow("verticalAlign")||t.getShallow("baseline"),e.textLineHeight=t.getShallow("lineHeight"),e.textWidth=t.getShallow("width"),e.textHeight=t.getShallow("height"),e.textTag=t.getShallow("tag"),o&&i.disableBox||(e.textBackgroundColor=Ee(t.getShallow("backgroundColor"),i),e.textPadding=t.getShallow("padding"),e.textBorderColor=Ee(t.getShallow("borderColor"),i),e.textBorderWidth=t.getShallow("borderWidth"),e.textBorderRadius=t.getShallow("borderRadius"),e.textBoxShadowColor=t.getShallow("shadowColor"),e.textBoxShadowBlur=t.getShallow("shadowBlur"),e.textBoxShadowOffsetX=t.getShallow("shadowOffsetX"),e.textBoxShadowOffsetY=t.getShallow("shadowOffsetY")),e.textShadowColor=t.getShallow("textShadowColor")||n.textShadowColor,e.textShadowBlur=t.getShallow("textShadowBlur")||n.textShadowBlur,e.textShadowOffsetX=t.getShallow("textShadowOffsetX")||n.textShadowOffsetX,e.textShadowOffsetY=t.getShallow("textShadowOffsetY")||n.textShadowOffsetY}function Ee(e,t){return"auto"!==e?e:t&&t.autoColor?t.autoColor:null}function xe(e){var t,n=e.textPosition,r=e.insideRollbackOpt;if(r&&null==e.textFill){var i=r.autoColor,a=r.isRectText,o=r.useInsideStyle,s=!1!==o&&(!0===o||a&&n&&"string"===typeof n&&n.indexOf("inside")>=0),l=!s&&null!=i;(s||l)&&(t={textFill:e.textFill,textStroke:e.textStroke,textStrokeWidth:e.textStrokeWidth}),s&&(e.textFill="#fff",null==e.textStroke&&(e.textStroke=i,null==e.textStrokeWidth&&(e.textStrokeWidth=2))),l&&(e.textFill=i)}e.insideRollback=t}function Te(e){var t=e.insideRollback;t&&(e.textFill=t.textFill,e.textStroke=t.textStroke,e.textStrokeWidth=t.textStrokeWidth,e.insideRollback=null)}function Ce(e,t){var n=t&&t.getModel("textStyle");return r.trim([e.fontStyle||n&&n.getShallow("fontStyle")||"",e.fontWeight||n&&n.getShallow("fontWeight")||"",(e.fontSize||n&&n.getShallow("fontSize")||12)+"px",e.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))}function Ae(e,t,n,r,i,a){"function"===typeof i&&(a=i,i=null);var o=r&&r.isAnimationEnabled();if(o){var s=e?"Update":"",l=r.getShallow("animationDuration"+s),c=r.getShallow("animationEasing"+s),u=r.getShallow("animationDelay"+s);"function"===typeof u&&(u=u(i,r.getAnimationDelayParams?r.getAnimationDelayParams(t,i):null)),"function"===typeof l&&(l=l(i)),l>0?t.animateTo(n,l,u||0,c,a,!!a):(t.stopAnimation(),t.attr(n),a&&a())}else t.stopAnimation(),t.attr(n),a&&a()}function we(e,t,n,r,i){Ae(!0,e,t,n,r,i)}function Oe(e,t,n,r,i){Ae(!1,e,t,n,r,i)}function Re(e,t){var n=o.identity([]);while(e&&e!==t)o.mul(n,e.getLocalTransform(),n),e=e.parent;return n}function Ie(e,t,n){return t&&!r.isArrayLike(t)&&(t=c.getLocalTransform(t)),n&&(t=o.invert([],t)),s.applyTransform([],e,t)}function Ne(e,t,n){var r=0===t[4]||0===t[5]||0===t[0]?1:Math.abs(2*t[4]/t[0]),i=0===t[4]||0===t[5]||0===t[2]?1:Math.abs(2*t[4]/t[2]),a=["left"===e?-r:"right"===e?r:0,"top"===e?-i:"bottom"===e?i:0];return a=Ie(a,t,n),Math.abs(a[0])>Math.abs(a[1])?a[0]>0?"right":"left":a[1]>0?"bottom":"top"}function Me(e,t,n,i){if(e&&t){var a=o(e);t.traverse((function(e){if(!e.isGroup&&e.anid){var t=a[e.anid];if(t){var r=l(e);e.attr(l(t)),we(e,r,n,e.dataIndex)}}}))}function o(e){var t={};return e.traverse((function(e){!e.isGroup&&e.anid&&(t[e.anid]=e)})),t}function l(e){var t={position:s.clone(e.position),rotation:e.rotation};return e.shape&&(t.shape=r.extend({},e.shape)),t}}function De(e,t){return r.map(e,(function(e){var n=e[0];n=O(n,t.x),n=R(n,t.x+t.width);var r=e[1];return r=O(r,t.y),r=R(r,t.y+t.height),[n,r]}))}function Le(e,t){var n=O(e.x,t.x),r=R(e.x+e.width,t.x+t.width),i=O(e.y,t.y),a=R(e.y+e.height,t.y+t.height);if(r>=n&&a>=i)return{x:n,y:i,width:r-n,height:a-i}}function Pe(e,t,n){t=r.extend({rectHover:!0},t);var i=t.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},e)return 0===e.indexOf("image://")?(i.image=e.slice(8),r.defaults(i,n),new u(t)):V(e.replace("path://",""),t,n,"center")}function ke(e,t,n,r,i){for(var a=0,o=i[i.length-1];a1)return!1;var m=Be(p,f,u,d)/h;return!(m<0||m>1)}function Be(e,t,n,r){return e*r-n*t}function Ue(e){return e<=1e-6&&e>=-1e-6}G("circle",p),G("sector",f),G("ring",_),G("polygon",m),G("polyline",g),G("rect",v),G("line",y),G("bezierCurve",b),G("arc",S),t.Z2_EMPHASIS_LIFT=N,t.CACHED_LABEL_STYLE_PROPERTIES=M,t.extendShape=B,t.extendPath=U,t.registerShape=G,t.getShapeClass=z,t.makePath=V,t.makeImage=H,t.mergePath=W,t.resizePath=q,t.subPixelOptimizeLine=j,t.subPixelOptimizeRect=$,t.subPixelOptimize=K,t.setElementHoverStyle=ae,t.setHoverStyle=de,t.setAsHighDownDispatcher=he,t.isHighDownDispatcher=pe,t.getHighlightDigit=fe,t.setLabelStyle=_e,t.modifyLabelStyle=me,t.setTextStyle=ge,t.setText=ve,t.getFont=Ce,t.updateProps=we,t.initProps=Oe,t.getTransform=Re,t.applyTransform=Ie,t.transformDirection=Ne,t.groupTransition=Me,t.clipPointsByRect=De,t.clipRectByRect=Le,t.createIcon=Pe,t.linePolygonIntersect=ke,t.lineLineIntersect=Fe},2325:function(e,t,n){var r=n("6d8b"),i=n("607d"),a=n("2306"),o=n("88b3"),s=n("7dcf"),l=n("3842"),c=n("f934"),u=n("ef6a"),d=a.Rect,h=l.linearMap,p=l.asc,f=r.bind,_=r.each,m=7,g=1,v=30,y="horizontal",b="vertical",S=5,E=["line","bar","candlestick","scatter"],x=s.extend({type:"dataZoom.slider",init:function(e,t){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=t},render:function(e,t,n,r){x.superApply(this,"render",arguments),o.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=e.get("orient"),!1!==this.dataZoomModel.get("show")?(r&&"dataZoom"===r.type&&r.from===this.uid||this._buildView(),this._updateView()):this.group.removeAll()},remove:function(){x.superApply(this,"remove",arguments),o.clear(this,"_dispatchZoomAction")},dispose:function(){x.superApply(this,"dispose",arguments),o.clear(this,"_dispatchZoomAction")},_buildView:function(){var e=this.group;e.removeAll(),this._resetLocation(),this._resetInterval();var t=this._displayables.barGroup=new a.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),e.add(t),this._positionGroup()},_resetLocation:function(){var e=this.dataZoomModel,t=this.api,n=this._findCoordRect(),i={width:t.getWidth(),height:t.getHeight()},a=this._orient===y?{right:i.width-n.x-n.width,top:i.height-v-m,width:n.width,height:v}:{right:m,top:n.y,width:v,height:n.height},o=c.getLayoutParams(e.option);r.each(["right","top","width","height"],(function(e){"ph"===o[e]&&(o[e]=a[e])}));var s=c.getLayoutRect(o,i,e.padding);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],this._orient===b&&this._size.reverse()},_positionGroup:function(){var e=this.group,t=this._location,n=this._orient,r=this.dataZoomModel.getFirstTargetAxisModel(),i=r&&r.get("inverse"),a=this._displayables.barGroup,o=(this._dataShadowInfo||{}).otherAxisInverse;a.attr(n!==y||i?n===y&&i?{scale:o?[-1,1]:[-1,-1]}:n!==b||i?{scale:o?[-1,-1]:[-1,1],rotation:Math.PI/2}:{scale:o?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:o?[1,1]:[1,-1]});var s=e.getBoundingRect([a]);e.attr("position",[t.x-s.x,t.y-s.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var e=this.dataZoomModel,t=this._size,n=this._displayables.barGroup;n.add(new d({silent:!0,shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:e.get("backgroundColor")},z2:-40})),n.add(new d({shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:"transparent"},z2:0,onclick:r.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var e=this._dataShadowInfo=this._prepareDataShadowInfo();if(e){var t=this._size,n=e.series,i=n.getRawData(),o=n.getShadowDim?n.getShadowDim():e.otherDim;if(null!=o){var s=i.getDataExtent(o),l=.3*(s[1]-s[0]);s=[s[0]-l,s[1]+l];var c,u=[0,t[1]],d=[0,t[0]],p=[[t[0],0],[0,0]],f=[],_=d[1]/(i.count()-1),m=0,g=Math.round(i.count()/t[0]);i.each([o],(function(e,t){if(g>0&&t%g)m+=_;else{var n=null==e||isNaN(e)||""===e,r=n?0:h(e,s,u,!0);n&&!c&&t?(p.push([p[p.length-1][0],0]),f.push([f[f.length-1][0],0])):!n&&c&&(p.push([m,0]),f.push([m,0])),p.push([m,r]),f.push([m,r]),m+=_,c=n}}));var v=this.dataZoomModel;this._displayables.barGroup.add(new a.Polygon({shape:{points:p},style:r.defaults({fill:v.get("dataBackgroundColor")},v.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new a.Polyline({shape:{points:f},style:v.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))}}},_prepareDataShadowInfo:function(){var e=this.dataZoomModel,t=e.get("showDataShadow");if(!1!==t){var n,i=this.ecModel;return e.eachTargetAxis((function(a,o){var s=e.getAxisProxy(a.name,o).getTargetSeriesModels();r.each(s,(function(e){if(!n&&!(!0!==t&&r.indexOf(E,e.get("type"))<0)){var s,l=i.getComponent(a.axis,o).axis,c=T(a.name),u=e.coordinateSystem;null!=c&&u.getOtherAxis&&(s=u.getOtherAxis(l).inverse),c=e.getData().mapDimension(c),n={thisAxis:l,series:e,thisDim:a.name,otherDim:c,otherAxisInverse:s}}}),this)}),this),n}},_renderHandle:function(){var e=this._displayables,t=e.handles=[],n=e.handleLabels=[],r=this._displayables.barGroup,i=this._size,o=this.dataZoomModel;r.add(e.filler=new d({draggable:!0,cursor:C(this._orient),drift:f(this._onDragMove,this,"all"),ondragstart:f(this._showDataInfo,this,!0),ondragend:f(this._onDragEnd,this),onmouseover:f(this._showDataInfo,this,!0),onmouseout:f(this._showDataInfo,this,!1),style:{fill:o.get("fillerColor"),textPosition:"inside"}})),r.add(new d({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:i[0],height:i[1]},style:{stroke:o.get("dataBackgroundColor")||o.get("borderColor"),lineWidth:g,fill:"rgba(0,0,0,0)"}})),_([0,1],(function(e){var i=a.createIcon(o.get("handleIcon"),{cursor:C(this._orient),draggable:!0,drift:f(this._onDragMove,this,e),ondragend:f(this._onDragEnd,this),onmouseover:f(this._showDataInfo,this,!0),onmouseout:f(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),s=i.getBoundingRect();this._handleHeight=l.parsePercent(o.get("handleSize"),this._size[1]),this._handleWidth=s.width/s.height*this._handleHeight,i.setStyle(o.getModel("handleStyle").getItemStyle());var c=o.get("handleColor");null!=c&&(i.style.fill=c),r.add(t[e]=i);var u=o.textStyleModel;this.group.add(n[e]=new a.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:u.getTextColor(),textFont:u.getFont()},z2:10}))}),this)},_resetInterval:function(){var e=this._range=this.dataZoomModel.getPercentRange(),t=this._getViewExtent();this._handleEnds=[h(e[0],[0,100],t,!0),h(e[1],[0,100],t,!0)]},_updateInterval:function(e,t){var n=this.dataZoomModel,r=this._handleEnds,i=this._getViewExtent(),a=n.findRepresentativeAxisProxy().getMinMaxSpan(),o=[0,100];u(t,r,i,n.get("zoomLock")?"all":e,null!=a.minSpan?h(a.minSpan,o,i,!0):null,null!=a.maxSpan?h(a.maxSpan,o,i,!0):null);var s=this._range,l=this._range=p([h(r[0],i,o,!0),h(r[1],i,o,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},_updateView:function(e){var t=this._displayables,n=this._handleEnds,r=p(n.slice()),i=this._size;_([0,1],(function(e){var r=t.handles[e],a=this._handleHeight;r.attr({scale:[a/2,a/2],position:[n[e],i[1]/2-a/2]})}),this),t.filler.setShape({x:r[0],y:0,width:r[1]-r[0],height:i[1]}),this._updateDataInfo(e)},_updateDataInfo:function(e){var t=this.dataZoomModel,n=this._displayables,r=n.handleLabels,i=this._orient,o=["",""];if(t.get("showDetail")){var s=t.findRepresentativeAxisProxy();if(s){var l=s.getAxisModel().axis,c=this._range,u=e?s.calculateDataWindow({start:c[0],end:c[1]}).valueWindow:s.getDataValueWindow();o=[this._formatLabel(u[0],l),this._formatLabel(u[1],l)]}}var d=p(this._handleEnds.slice());function h(e){var t=a.getTransform(n.handles[e].parent,this.group),s=a.transformDirection(0===e?"right":"left",t),l=this._handleWidth/2+S,c=a.applyTransform([d[e]+(0===e?-l:l),this._size[1]/2],t);r[e].setStyle({x:c[0],y:c[1],textVerticalAlign:i===y?"middle":s,textAlign:i===y?s:"center",text:o[e]})}h.call(this,0),h.call(this,1)},_formatLabel:function(e,t){var n=this.dataZoomModel,i=n.get("labelFormatter"),a=n.get("labelPrecision");null!=a&&"auto"!==a||(a=t.getPixelPrecision());var o=null==e||isNaN(e)?"":"category"===t.type||"time"===t.type?t.scale.getLabel(Math.round(e)):e.toFixed(Math.min(a,20));return r.isFunction(i)?i(e,o):r.isString(i)?i.replace("{value}",o):o},_showDataInfo:function(e){e=this._dragging||e;var t=this._displayables.handleLabels;t[0].attr("invisible",!e),t[1].attr("invisible",!e)},_onDragMove:function(e,t,n,r){this._dragging=!0,i.stop(r.event);var o=this._displayables.barGroup.getLocalTransform(),s=a.applyTransform([t,n],o,!0),l=this._updateInterval(e,s[0]),c=this.dataZoomModel.get("realtime");this._updateView(!c),l&&c&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1);var e=this.dataZoomModel.get("realtime");!e&&this._dispatchZoomAction()},_onClickPanelClick:function(e){var t=this._size,n=this._displayables.barGroup.transformCoordToLocal(e.offsetX,e.offsetY);if(!(n[0]<0||n[0]>t[0]||n[1]<0||n[1]>t[1])){var r=this._handleEnds,i=(r[0]+r[1])/2,a=this._updateInterval("all",n[0]-i);this._updateView(),a&&this._dispatchZoomAction()}},_dispatchZoomAction:function(){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:e[0],end:e[1]})},_findCoordRect:function(){var e;if(_(this.getTargetCoordInfo(),(function(t){if(!e&&t.length){var n=t[0].model.coordinateSystem;e=n.getRect&&n.getRect()}})),!e){var t=this.api.getWidth(),n=this.api.getHeight();e={x:.2*t,y:.2*n,width:.6*t,height:.6*n}}return e}});function T(e){var t={x:"y",y:"x",radius:"angle",angle:"radius"};return t[e]}function C(e){return"vertical"===e?"ns-resize":"ew-resize"}var A=x;e.exports=A},"237f":function(e,t,n){var r=n("6d8b"),i=n("6179"),a=n("7368"),o=n("31d9"),s=n("b1d4"),l=n("2039"),c=n("3301");function u(e,t,n,u,d){for(var h=new a(u),p=0;p "+y)),m++)}var b,S=n.get("coordinateSystem");if("cartesian2d"===S||"polar"===S)b=c(e,n);else{var E=l.get(S),x=E&&"view"!==E.type&&E.dimensions||[];r.indexOf(x,"value")<0&&x.concat(["value"]);var T=s(e,{coordDimensions:x});b=new i(T,n),b.initData(e)}var C=new i(["value"],n);return C.initData(_,f),d&&d(b,C),o({mainData:b,struct:h,structAttr:"graph",datas:{node:b,edge:C},datasAttr:{node:"data",edge:"edgeData"}}),h.update(),h}e.exports=u},"23cb":function(e,t,n){var r=n("5926"),i=Math.max,a=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):a(n,t)}},"23e0":function(e,t,n){var r=n("6d8b"),i=n("7887"),a=n("89e3"),o=n("3842"),s=n("697e"),l=s.getScaleExtent,c=s.niceScaleExtent,u=n("2039"),d=n("8c2a");function h(e,t,n){this._model=e,this.dimensions=[],this._indicatorAxes=r.map(e.getIndicatorModels(),(function(e,t){var n="indicator_"+t,r=new i(n,"log"===e.get("axisType")?new d:new a);return r.name=e.get("name"),r.model=e,e.axis=r,this.dimensions.push(n),r}),this),this.resize(e,n),this.cx,this.cy,this.r,this.r0,this.startAngle}h.prototype.getIndicatorAxes=function(){return this._indicatorAxes},h.prototype.dataToPoint=function(e,t){var n=this._indicatorAxes[t];return this.coordToPoint(n.dataToCoord(e),t)},h.prototype.coordToPoint=function(e,t){var n=this._indicatorAxes[t],r=n.angle,i=this.cx+e*Math.cos(r),a=this.cy-e*Math.sin(r);return[i,a]},h.prototype.pointToData=function(e){var t=e[0]-this.cx,n=e[1]-this.cy,r=Math.sqrt(t*t+n*n);t/=r,n/=r;for(var i,a=Math.atan2(-n,t),o=1/0,s=-1,l=0;ln[0]&&isFinite(_)&&isFinite(n[0]))}else{var p=i.getTicks().length-1;p>a&&(h=s(h));var f=Math.ceil(n[1]/h)*h,_=o.round(f-h*a);i.setExtent(_,f),i.setInterval(h)}}))},h.dimensions=[],h.create=function(e,t){var n=[];return e.eachComponent("radar",(function(r){var i=new h(r,e,t);n.push(i),r.coordinateSystem=i})),e.eachSeriesByType("radar",(function(e){"radar"===e.get("coordinateSystem")&&(e.coordinateSystem=n[e.get("radarIndex")||0])})),n},u.register("radar",h);var p=h;e.exports=p},"23e7":function(e,t,n){var r=n("da84"),i=n("06cf").f,a=n("9112"),o=n("cb2d"),s=n("6374"),l=n("e893"),c=n("94ca");e.exports=function(e,t){var n,u,d,h,p,f,_=e.target,m=e.global,g=e.stat;if(u=m?r:g?r[_]||s(_,{}):(r[_]||{}).prototype,u)for(d in t){if(p=t[d],e.dontCallGetSet?(f=i(u,d),h=f&&f.value):h=u[d],n=c(m?d:_+(g?".":"#")+d,e.forced),!n&&void 0!==h){if(typeof p==typeof h)continue;l(p,h)}(e.sham||h&&h.sham)&&a(p,"sham",!0),o(u,d,p,e)}}},"23ee":function(e,t,n){var r=n("3eba");n("879e"),n("9704"),n("d747");var i=n("675a"),a=n("7f96"),o=n("2943"),s=n("de6e"),l=n("d357"),c=n("adda"),u=n("5866"),d=n("7b0c");r.registerProcessor(i),r.registerVisual(a("graph","circle",null)),r.registerVisual(o),r.registerVisual(s),r.registerLayout(l),r.registerLayout(r.PRIORITY.VISUAL.POST_CHART_LAYOUT,c),r.registerLayout(u),r.registerCoordinateSystem("graphView",{create:d})},"241c":function(e,t,n){var r=n("ca84"),i=n("7839"),a=i.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,a)}},2425:function(e,t){e.exports=function(e){var t={keyword:"module use_module import_module include_module end_module initialise mutable initialize finalize finalise interface implementation pred mode func type inst solver any_pred any_func is semidet det nondet multi erroneous failure cc_nondet cc_multi typeclass instance where pragma promise external trace atomic or_else require_complete_switch require_det require_semidet require_multi require_nondet require_cc_multi require_cc_nondet require_erroneous require_failure",meta:"inline no_inline type_spec source_file fact_table obsolete memo loop_check minimal_model terminates does_not_terminate check_termination promise_equivalent_clauses foreign_proc foreign_decl foreign_code foreign_type foreign_import_module foreign_export_enum foreign_export foreign_enum may_call_mercury will_not_call_mercury thread_safe not_thread_safe maybe_thread_safe promise_pure promise_semipure tabled_for_io local untrailed trailed attach_to_io_state can_pass_as_mercury_type stable will_not_throw_exception may_modify_trail will_not_modify_trail may_duplicate may_not_duplicate affects_liveness does_not_affect_liveness doesnt_affect_liveness no_sharing unknown_sharing sharing",built_in:"some all not if then else true fail false try catch catch_any semidet_true semidet_false semidet_fail impure_true impure semipure"},n=e.COMMENT("%","$"),r={className:"number",begin:"0'.\\|0[box][0-9a-fA-F]*"},i=e.inherit(e.APOS_STRING_MODE,{relevance:0}),a=e.inherit(e.QUOTE_STRING_MODE,{relevance:0}),o={className:"subst",begin:"\\\\[abfnrtv]\\|\\\\x[0-9a-fA-F]*\\\\\\|%[-+# *.0-9]*[dioxXucsfeEgGp]",relevance:0};a.contains=a.contains.slice(),a.contains.push(o);var s={className:"built_in",variants:[{begin:"<=>"},{begin:"<=",relevance:0},{begin:"=>",relevance:0},{begin:"/\\\\"},{begin:"\\\\/"}]},l={className:"built_in",variants:[{begin:":-\\|--\x3e"},{begin:"=",relevance:0}]};return{aliases:["m","moo"],keywords:t,contains:[s,l,n,e.C_BLOCK_COMMENT_MODE,r,e.NUMBER_MODE,i,a,{begin:/:-/},{begin:/\.$/}]}}},2444:function(e,t,n){"use strict";(function(t){var r=n("c532"),i=n("c8af"),a=n("387f"),o={"Content-Type":"application/x-www-form-urlencoded"};function s(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function l(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof t&&"[object process]"===Object.prototype.toString.call(t))&&(e=n("b50d")),e}function c(e,t,n){if(r.isString(e))try{return(t||JSON.parse)(e),r.trim(e)}catch(i){if("SyntaxError"!==i.name)throw i}return(n||JSON.stringify)(e)}var u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:l(),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(s(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)||t&&"application/json"===t["Content-Type"]?(s(t,"application/json"),c(e)):e}],transformResponse:[function(e){var t=this.transitional||u.transitional,n=t&&t.silentJSONParsing,i=t&&t.forcedJSONParsing,o=!n&&"json"===this.responseType;if(o||i&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(s){if(o){if("SyntaxError"===s.name)throw a(s,this,"E_JSON_PARSE");throw s}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){u.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){u.headers[e]=r.merge(o)})),e.exports=u}).call(this,n("4362"))},2449:function(e,t,n){var r=n("4e08"),i=(r.__DEV__,n("3eba")),a=n("6d8b"),o=n("22d1"),s=n("e0d3"),l=n("eda2"),c=n("38a2"),u=l.addCommas,d=l.encodeHTML;function h(e){s.defaultEmphasis(e,"label",["show"])}var p=i.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(e,t,n){this.mergeDefaultAndTheme(e,n),this._mergeOption(e,n,!1,!0)},isAnimationEnabled:function(){if(o.node)return!1;var e=this.__hostSeries;return this.getShallow("animation")&&e&&e.isAnimationEnabled()},mergeOption:function(e,t){this._mergeOption(e,t,!1,!1)},_mergeOption:function(e,t,n,r){var i=this.constructor,o=this.mainType+"Model";n||t.eachSeries((function(e){var n=e.get(this.mainType,!0),s=e[o];n&&n.data?(s?s._mergeOption(n,t,!0):(r&&h(n),a.each(n.data,(function(e){e instanceof Array?(h(e[0]),h(e[1])):h(e)})),s=new i(n,this,t),a.extend(s,{mainType:this.mainType,seriesIndex:e.seriesIndex,name:e.name,createdBySelf:!0}),s.__hostSeries=e),e[o]=s):e[o]=null}),this)},formatTooltip:function(e,t,n,r){var i=this.getData(),o=this.getRawValue(e),s=a.isArray(o)?a.map(o,u).join(", "):u(o),l=i.getName(e),c=d(this.name),h="html"===r?"
":"\n";return(null!=o||l)&&(c+=h),l&&(c+=d(l),null!=o&&(c+=" : ")),null!=o&&(c+=d(s)),c},getData:function(){return this._data},setData:function(e){this._data=e}});a.mixin(p,c);var f=p;e.exports=f},2468:function(e,t){e.exports=function(e){var t={className:"comment",begin:/\$noop\(/,end:/\)/,contains:[{begin:/\(/,end:/\)/,contains:["self",{begin:/\\./}]}],relevance:10},n={className:"keyword",begin:/\$(?!noop)[a-zA-Z][_a-zA-Z0-9]*/,end:/\(/,excludeEnd:!0},r={className:"variable",begin:/%[_a-zA-Z0-9:]*/,end:"%"},i={className:"symbol",begin:/\\./};return{contains:[t,n,r,i]}}},"24b9":function(e,t,n){var r=n("4e08"),i=(r.__DEV__,n("f934")),a=n("3842"),o=a.parsePercent,s=a.linearMap;function l(e,t){return i.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function c(e,t){for(var n=e.mapDimension("value"),r=e.mapArray(n,(function(e){return e})),i=[],a="ascending"===t,o=0,s=e.count();o1?arguments[1]:void 0)}})},"255c":function(e,t,n){var r=n("3eba"),i=n("d4d1"),a=i.Polygon,o=n("2306"),s=n("6d8b"),l=s.bind,c=s.extend,u=n("80f0"),d=r.extendChartView({type:"themeRiver",init:function(){this._layers=[]},render:function(e,t,n){var r=e.getData(),i=this.group,s=e.getLayerSeries(),d=r.getLayout("layoutInfo"),p=d.rect,f=d.boundaryGap;function _(e){return e.name}i.attr("position",[0,p.y+f[0]]);var m=new u(this._layersSeries||[],s,_,_),g={};function v(t,n,l){var u=this._layers;if("remove"!==t){for(var d,p,f,_=[],m=[],v=s[n].indices,y=0;y|\.)\s*/,relevance:0,contains:[l]},{className:"class",beginKeywords:"define",returnEnd:!0,end:"\\(|=>",contains:[e.inherit(e.TITLE_MODE,{begin:t+"(=(?!>))?|[-+*/%](?!>)"})]}];return{aliases:["ls","lassoscript"],case_insensitive:!0,lexemes:t+"|&[lg]t;",keywords:i,contains:[{className:"meta",begin:r,relevance:0,starts:{end:"\\[|"+n,returnEnd:!0,relevance:0,contains:[a]}},o,s,{className:"meta",begin:"\\[no_square_brackets",starts:{end:"\\[/no_square_brackets\\]",lexemes:t+"|&[lg]t;",keywords:i,contains:[{className:"meta",begin:r,relevance:0,starts:{end:"\\[noprocess\\]|"+n,returnEnd:!0,contains:[a]}},o,s].concat(c)}},{className:"meta",begin:"\\[",relevance:0},{className:"meta",begin:"^#!",end:"lasso9$",relevance:10}].concat(c)}}},"25f0":function(e,t,n){"use strict";var r=n("5e77").PROPER,i=n("cb2d"),a=n("825a"),o=n("577e"),s=n("d039"),l=n("90d8"),c="toString",u=RegExp.prototype,d=u[c],h=s((function(){return"/a/b"!=d.call({source:"a",flags:"b"})})),p=r&&d.name!=c;(h||p)&&i(RegExp.prototype,c,(function(){var e=a(this),t=o(e.source),n=o(l(e));return"/"+t+"/"+n}),{unsafe:!0})},2626:function(e,t,n){"use strict";var r=n("d066"),i=n("9bf2"),a=n("b622"),o=n("83ab"),s=a("species");e.exports=function(e){var t=r(e),n=i.f;o&&t&&!t[s]&&n(t,s,{configurable:!0,get:function(){return this}})}},2639:function(e,t){e.exports=function(e){var t="ObjectLoader Animate MovieCredits Slides Filters Shading Materials LensFlare Mapping VLCAudioVideo StereoDecoder PointCloud NetworkAccess RemoteControl RegExp ChromaKey Snowfall NodeJS Speech Charts",n={keyword:"if then else do while until for loop import with is as where when by data constant integer real text name boolean symbol infix prefix postfix block tree",literal:"true false nil",built_in:"in mod rem and or xor not abs sign floor ceil sqrt sin cos tan asin acos atan exp expm1 log log2 log10 log1p pi at text_length text_range text_find text_replace contains page slide basic_slide title_slide title subtitle fade_in fade_out fade_at clear_color color line_color line_width texture_wrap texture_transform texture scale_?x scale_?y scale_?z? translate_?x translate_?y translate_?z? rotate_?x rotate_?y rotate_?z? rectangle circle ellipse sphere path line_to move_to quad_to curve_to theme background contents locally time mouse_?x mouse_?y mouse_buttons "+t},r={className:"string",begin:'"',end:'"',illegal:"\\n"},i={className:"string",begin:"'",end:"'",illegal:"\\n"},a={className:"string",begin:"<<",end:">>"},o={className:"number",begin:"[0-9]+#[0-9A-Z_]+(\\.[0-9-A-Z_]+)?#?([Ee][+-]?[0-9]+)?"},s={beginKeywords:"import",end:"$",keywords:n,contains:[r]},l={className:"function",begin:/[a-z][^\n]*->/,returnBegin:!0,end:/->/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,keywords:n}})]};return{aliases:["tao"],lexemes:/[a-zA-Z][a-zA-Z0-9_?]*/,keywords:n,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,r,i,a,l,s,o,e.NUMBER_MODE]}}},"268a":function(e,t){e.exports=function(e){var t="module schema namespace boundary-space preserve no-preserve strip default collation base-uri ordering context decimal-format decimal-separator copy-namespaces empty-sequence except exponent-separator external grouping-separator inherit no-inherit lax minus-sign per-mille percent schema-attribute schema-element strict unordered zero-digit declare import option function validate variable for at in let where order group by return if then else tumbling sliding window start when only end previous next stable ascending descending allowing empty greatest least some every satisfies switch case typeswitch try catch and or to union intersect instance of treat as castable cast map array delete insert into replace value rename copy modify update",n="item document-node node attribute document element comment namespace namespace-node processing-instruction text construction xs:anyAtomicType xs:untypedAtomic xs:duration xs:time xs:decimal xs:float xs:double xs:gYearMonth xs:gYear xs:gMonthDay xs:gMonth xs:gDay xs:boolean xs:base64Binary xs:hexBinary xs:anyURI xs:QName xs:NOTATION xs:dateTime xs:dateTimeStamp xs:date xs:string xs:normalizedString xs:token xs:language xs:NMTOKEN xs:Name xs:NCName xs:ID xs:IDREF xs:ENTITY xs:integer xs:nonPositiveInteger xs:negativeInteger xs:long xs:int xs:short xs:byte xs:nonNegativeInteger xs:unisignedLong xs:unsignedInt xs:unsignedShort xs:unsignedByte xs:positiveInteger xs:yearMonthDuration xs:dayTimeDuration",r="eq ne lt le gt ge is self:: child:: descendant:: descendant-or-self:: attribute:: following:: following-sibling:: parent:: ancestor:: ancestor-or-self:: preceding:: preceding-sibling:: NaN",i={className:"built_in",variants:[{begin:/\barray\:/,end:/(?:append|filter|flatten|fold\-(?:left|right)|for-each(?:\-pair)?|get|head|insert\-before|join|put|remove|reverse|size|sort|subarray|tail)\b/},{begin:/\bmap\:/,end:/(?:contains|entry|find|for\-each|get|keys|merge|put|remove|size)\b/},{begin:/\bmath\:/,end:/(?:a(?:cos|sin|tan[2]?)|cos|exp(?:10)?|log(?:10)?|pi|pow|sin|sqrt|tan)\b/},{begin:/\bop\:/,end:/\(/,excludeEnd:!0},{begin:/\bfn\:/,end:/\(/,excludeEnd:!0},{begin:/[^<\/\$\:'"-]\b(?:abs|accumulator\-(?:after|before)|adjust\-(?:date(?:Time)?|time)\-to\-timezone|analyze\-string|apply|available\-(?:environment\-variables|system\-properties)|avg|base\-uri|boolean|ceiling|codepoints?\-(?:equal|to\-string)|collation\-key|collection|compare|concat|contains(?:\-token)?|copy\-of|count|current(?:\-)?(?:date(?:Time)?|time|group(?:ing\-key)?|output\-uri|merge\-(?:group|key))?data|dateTime|days?\-from\-(?:date(?:Time)?|duration)|deep\-equal|default\-(?:collation|language)|distinct\-values|document(?:\-uri)?|doc(?:\-available)?|element\-(?:available|with\-id)|empty|encode\-for\-uri|ends\-with|environment\-variable|error|escape\-html\-uri|exactly\-one|exists|false|filter|floor|fold\-(?:left|right)|for\-each(?:\-pair)?|format\-(?:date(?:Time)?|time|integer|number)|function\-(?:arity|available|lookup|name)|generate\-id|has\-children|head|hours\-from\-(?:dateTime|duration|time)|id(?:ref)?|implicit\-timezone|in\-scope\-prefixes|index\-of|innermost|insert\-before|iri\-to\-uri|json\-(?:doc|to\-xml)|key|lang|last|load\-xquery\-module|local\-name(?:\-from\-QName)?|(?:lower|upper)\-case|matches|max|minutes\-from\-(?:dateTime|duration|time)|min|months?\-from\-(?:date(?:Time)?|duration)|name(?:space\-uri\-?(?:for\-prefix|from\-QName)?)?|nilled|node\-name|normalize\-(?:space|unicode)|not|number|one\-or\-more|outermost|parse\-(?:ietf\-date|json)|path|position|(?:prefix\-from\-)?QName|random\-number\-generator|regex\-group|remove|replace|resolve\-(?:QName|uri)|reverse|root|round(?:\-half\-to\-even)?|seconds\-from\-(?:dateTime|duration|time)|snapshot|sort|starts\-with|static\-base\-uri|stream\-available|string\-?(?:join|length|to\-codepoints)?|subsequence|substring\-?(?:after|before)?|sum|system\-property|tail|timezone\-from\-(?:date(?:Time)?|time)|tokenize|trace|trans(?:form|late)|true|type\-available|unordered|unparsed\-(?:entity|text)?\-?(?:public\-id|uri|available|lines)?|uri\-collection|xml\-to\-json|years?\-from\-(?:date(?:Time)?|duration)|zero\-or\-one)\b/},{begin:/\blocal\:/,end:/\(/,excludeEnd:!0},{begin:/\bzip\:/,end:/(?:zip\-file|(?:xml|html|text|binary)\-entry| (?:update\-)?entries)\b/},{begin:/\b(?:util|db|functx|app|xdmp|xmldb)\:/,end:/\(/,excludeEnd:!0}]},a={className:"title",begin:/\bxquery version "[13]\.[01]"\s?(?:encoding ".+")?/,end:/;/},o={className:"variable",begin:/[\$][\w-:]+/},s={className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},l={className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},c={className:"meta",begin:/%[\w-:]+/},u={className:"comment",begin:"\\(:",end:":\\)",relevance:10,contains:[{className:"doctag",begin:"@\\w+"}]},d={beginKeywords:"element attribute comment document processing-instruction",end:"{",excludeEnd:!0},h={begin:/<([\w\._:\-]+)((\s*.*)=('|").*('|"))?>/,end:/(\/[\w\._:\-]+>)/,subLanguage:"xml",contains:[{begin:"{",end:"}",subLanguage:"xquery"},"self"]},p=[o,i,l,s,u,c,a,d,h];return{aliases:["xpath","xq"],case_insensitive:!1,lexemes:/[a-zA-Z\$][a-zA-Z0-9_:\-]*/,illegal:/(proc)|(abstract)|(extends)|(until)|(#)/,keywords:{keyword:t,type:n,literal:r},contains:p}}},"26bc":function(e,t){e.exports=function(e){var t="([a-zA-Z]|\\.[a-zA-Z.])[a-zA-Z0-9._]*";return{contains:[e.HASH_COMMENT_MODE,{begin:t,lexemes:t,keywords:{keyword:"function if in break next repeat else for return switch while try tryCatch stop warning require library attach detach source setMethod setGeneric setGroupGeneric setClass ...",literal:"NULL NA TRUE FALSE T F Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10"},relevance:0},{className:"number",begin:"0[xX][0-9a-fA-F]+[Li]?\\b",relevance:0},{className:"number",begin:"\\d+(?:[eE][+\\-]?\\d*)?L\\b",relevance:0},{className:"number",begin:"\\d+\\.(?!\\d)(?:i\\b)?",relevance:0},{className:"number",begin:"\\d+(?:\\.\\d*)?(?:[eE][+\\-]?\\d*)?i?\\b",relevance:0},{className:"number",begin:"\\.\\d+(?:[eE][+\\-]?\\d*)?i?\\b",relevance:0},{begin:"`",end:"`",relevance:0},{className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:'"',end:'"'},{begin:"'",end:"'"}]}]}}},"26dd":function(e,t,n){"use strict";var r=n("6f4f"),i=n("10db"),a=n("92f0"),o={};n("051b")(o,n("cc15")("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(o,{next:i(1,n)}),a(e,t+" Iterator")}},"26e1":function(e,t,n){var r=n("6d8b"),i=n("e0d3"),a=r.each,o=r.isObject,s=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function l(e){var t=e&&e.itemStyle;if(t)for(var n=0,i=s.length;n=0||i&&r.indexOf(i,s)<0)){var l=t.getShallow(s);null!=l&&(a[e[o][0]]=l)}}return a}}e.exports=i},2877:function(e,t,n){"use strict";function r(e,t,n,r,i,a,o,s){var l,c="function"===typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),a&&(c._scopeId="data-v-"+a),o?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},c._ssrRegister=l):i&&(l=s?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:c}}n.d(t,"a",(function(){return r}))},"28ad":function(e,t){e.exports=function(e){var t={className:"subst",begin:/\\[tn"\\]/},n={className:"string",begin:'"',end:'"',contains:[t]},r={className:"number",begin:e.C_NUMBER_RE},i={className:"literal",variants:[{begin:"\\b(?:PI|TWO_PI|PI_BY_TWO|DEG_TO_RAD|RAD_TO_DEG|SQRT2)\\b"},{begin:"\\b(?:XP_ERROR_(?:EXPERIENCES_DISABLED|EXPERIENCE_(?:DISABLED|SUSPENDED)|INVALID_(?:EXPERIENCE|PARAMETERS)|KEY_NOT_FOUND|MATURITY_EXCEEDED|NONE|NOT_(?:FOUND|PERMITTED(?:_LAND)?)|NO_EXPERIENCE|QUOTA_EXCEEDED|RETRY_UPDATE|STORAGE_EXCEPTION|STORE_DISABLED|THROTTLED|UNKNOWN_ERROR)|JSON_APPEND|STATUS_(?:PHYSICS|ROTATE_[XYZ]|PHANTOM|SANDBOX|BLOCK_GRAB(?:_OBJECT)?|(?:DIE|RETURN)_AT_EDGE|CAST_SHADOWS|OK|MALFORMED_PARAMS|TYPE_MISMATCH|BOUNDS_ERROR|NOT_(?:FOUND|SUPPORTED)|INTERNAL_ERROR|WHITELIST_FAILED)|AGENT(?:_(?:BY_(?:LEGACY_|USER)NAME|FLYING|ATTACHMENTS|SCRIPTED|MOUSELOOK|SITTING|ON_OBJECT|AWAY|WALKING|IN_AIR|TYPING|CROUCHING|BUSY|ALWAYS_RUN|AUTOPILOT|LIST_(?:PARCEL(?:_OWNER)?|REGION)))?|CAMERA_(?:PITCH|DISTANCE|BEHINDNESS_(?:ANGLE|LAG)|(?:FOCUS|POSITION)(?:_(?:THRESHOLD|LOCKED|LAG))?|FOCUS_OFFSET|ACTIVE)|ANIM_ON|LOOP|REVERSE|PING_PONG|SMOOTH|ROTATE|SCALE|ALL_SIDES|LINK_(?:ROOT|SET|ALL_(?:OTHERS|CHILDREN)|THIS)|ACTIVE|PASS(?:IVE|_(?:ALWAYS|IF_NOT_HANDLED|NEVER))|SCRIPTED|CONTROL_(?:FWD|BACK|(?:ROT_)?(?:LEFT|RIGHT)|UP|DOWN|(?:ML_)?LBUTTON)|PERMISSION_(?:RETURN_OBJECTS|DEBIT|OVERRIDE_ANIMATIONS|SILENT_ESTATE_MANAGEMENT|TAKE_CONTROLS|TRIGGER_ANIMATION|ATTACH|CHANGE_LINKS|(?:CONTROL|TRACK)_CAMERA|TELEPORT)|INVENTORY_(?:TEXTURE|SOUND|OBJECT|SCRIPT|LANDMARK|CLOTHING|NOTECARD|BODYPART|ANIMATION|GESTURE|ALL|NONE)|CHANGED_(?:INVENTORY|COLOR|SHAPE|SCALE|TEXTURE|LINK|ALLOWED_DROP|OWNER|REGION(?:_START)?|TELEPORT|MEDIA)|OBJECT_(?:CLICK_ACTION|HOVER_HEIGHT|LAST_OWNER_ID|(?:PHYSICS|SERVER|STREAMING)_COST|UNKNOWN_DETAIL|CHARACTER_TIME|PHANTOM|PHYSICS|TEMP_(?:ATTACHED|ON_REZ)|NAME|DESC|POS|PRIM_(?:COUNT|EQUIVALENCE)|RETURN_(?:PARCEL(?:_OWNER)?|REGION)|REZZER_KEY|ROO?T|VELOCITY|OMEGA|OWNER|GROUP(?:_TAG)?|CREATOR|ATTACHED_(?:POINT|SLOTS_AVAILABLE)|RENDER_WEIGHT|(?:BODY_SHAPE|PATHFINDING)_TYPE|(?:RUNNING|TOTAL)_SCRIPT_COUNT|TOTAL_INVENTORY_COUNT|SCRIPT_(?:MEMORY|TIME))|TYPE_(?:INTEGER|FLOAT|STRING|KEY|VECTOR|ROTATION|INVALID)|(?:DEBUG|PUBLIC)_CHANNEL|ATTACH_(?:AVATAR_CENTER|CHEST|HEAD|BACK|PELVIS|MOUTH|CHIN|NECK|NOSE|BELLY|[LR](?:SHOULDER|HAND|FOOT|EAR|EYE|[UL](?:ARM|LEG)|HIP)|(?:LEFT|RIGHT)_PEC|HUD_(?:CENTER_[12]|TOP_(?:RIGHT|CENTER|LEFT)|BOTTOM(?:_(?:RIGHT|LEFT))?)|[LR]HAND_RING1|TAIL_(?:BASE|TIP)|[LR]WING|FACE_(?:JAW|[LR]EAR|[LR]EYE|TOUNGE)|GROIN|HIND_[LR]FOOT)|LAND_(?:LEVEL|RAISE|LOWER|SMOOTH|NOISE|REVERT)|DATA_(?:ONLINE|NAME|BORN|SIM_(?:POS|STATUS|RATING)|PAYINFO)|PAYMENT_INFO_(?:ON_FILE|USED)|REMOTE_DATA_(?:CHANNEL|REQUEST|REPLY)|PSYS_(?:PART_(?:BF_(?:ZERO|ONE(?:_MINUS_(?:DEST_COLOR|SOURCE_(ALPHA|COLOR)))?|DEST_COLOR|SOURCE_(ALPHA|COLOR))|BLEND_FUNC_(DEST|SOURCE)|FLAGS|(?:START|END)_(?:COLOR|ALPHA|SCALE|GLOW)|MAX_AGE|(?:RIBBON|WIND|INTERP_(?:COLOR|SCALE)|BOUNCE|FOLLOW_(?:SRC|VELOCITY)|TARGET_(?:POS|LINEAR)|EMISSIVE)_MASK)|SRC_(?:MAX_AGE|PATTERN|ANGLE_(?:BEGIN|END)|BURST_(?:RATE|PART_COUNT|RADIUS|SPEED_(?:MIN|MAX))|ACCEL|TEXTURE|TARGET_KEY|OMEGA|PATTERN_(?:DROP|EXPLODE|ANGLE(?:_CONE(?:_EMPTY)?)?)))|VEHICLE_(?:REFERENCE_FRAME|TYPE_(?:NONE|SLED|CAR|BOAT|AIRPLANE|BALLOON)|(?:LINEAR|ANGULAR)_(?:FRICTION_TIMESCALE|MOTOR_DIRECTION)|LINEAR_MOTOR_OFFSET|HOVER_(?:HEIGHT|EFFICIENCY|TIMESCALE)|BUOYANCY|(?:LINEAR|ANGULAR)_(?:DEFLECTION_(?:EFFICIENCY|TIMESCALE)|MOTOR_(?:DECAY_)?TIMESCALE)|VERTICAL_ATTRACTION_(?:EFFICIENCY|TIMESCALE)|BANKING_(?:EFFICIENCY|MIX|TIMESCALE)|FLAG_(?:NO_DEFLECTION_UP|LIMIT_(?:ROLL_ONLY|MOTOR_UP)|HOVER_(?:(?:WATER|TERRAIN|UP)_ONLY|GLOBAL_HEIGHT)|MOUSELOOK_(?:STEER|BANK)|CAMERA_DECOUPLED))|PRIM_(?:ALLOW_UNSIT|ALPHA_MODE(?:_(?:BLEND|EMISSIVE|MASK|NONE))?|NORMAL|SPECULAR|TYPE(?:_(?:BOX|CYLINDER|PRISM|SPHERE|TORUS|TUBE|RING|SCULPT))?|HOLE_(?:DEFAULT|CIRCLE|SQUARE|TRIANGLE)|MATERIAL(?:_(?:STONE|METAL|GLASS|WOOD|FLESH|PLASTIC|RUBBER))?|SHINY_(?:NONE|LOW|MEDIUM|HIGH)|BUMP_(?:NONE|BRIGHT|DARK|WOOD|BARK|BRICKS|CHECKER|CONCRETE|TILE|STONE|DISKS|GRAVEL|BLOBS|SIDING|LARGETILE|STUCCO|SUCTION|WEAVE)|TEXGEN_(?:DEFAULT|PLANAR)|SCRIPTED_SIT_ONLY|SCULPT_(?:TYPE_(?:SPHERE|TORUS|PLANE|CYLINDER|MASK)|FLAG_(?:MIRROR|INVERT))|PHYSICS(?:_(?:SHAPE_(?:CONVEX|NONE|PRIM|TYPE)))?|(?:POS|ROT)_LOCAL|SLICE|TEXT|FLEXIBLE|POINT_LIGHT|TEMP_ON_REZ|PHANTOM|POSITION|SIT_TARGET|SIZE|ROTATION|TEXTURE|NAME|OMEGA|DESC|LINK_TARGET|COLOR|BUMP_SHINY|FULLBRIGHT|TEXGEN|GLOW|MEDIA_(?:ALT_IMAGE_ENABLE|CONTROLS|(?:CURRENT|HOME)_URL|AUTO_(?:LOOP|PLAY|SCALE|ZOOM)|FIRST_CLICK_INTERACT|(?:WIDTH|HEIGHT)_PIXELS|WHITELIST(?:_ENABLE)?|PERMS_(?:INTERACT|CONTROL)|PARAM_MAX|CONTROLS_(?:STANDARD|MINI)|PERM_(?:NONE|OWNER|GROUP|ANYONE)|MAX_(?:URL_LENGTH|WHITELIST_(?:SIZE|COUNT)|(?:WIDTH|HEIGHT)_PIXELS)))|MASK_(?:BASE|OWNER|GROUP|EVERYONE|NEXT)|PERM_(?:TRANSFER|MODIFY|COPY|MOVE|ALL)|PARCEL_(?:MEDIA_COMMAND_(?:STOP|PAUSE|PLAY|LOOP|TEXTURE|URL|TIME|AGENT|UNLOAD|AUTO_ALIGN|TYPE|SIZE|DESC|LOOP_SET)|FLAG_(?:ALLOW_(?:FLY|(?:GROUP_)?SCRIPTS|LANDMARK|TERRAFORM|DAMAGE|CREATE_(?:GROUP_)?OBJECTS)|USE_(?:ACCESS_(?:GROUP|LIST)|BAN_LIST|LAND_PASS_LIST)|LOCAL_SOUND_ONLY|RESTRICT_PUSHOBJECT|ALLOW_(?:GROUP|ALL)_OBJECT_ENTRY)|COUNT_(?:TOTAL|OWNER|GROUP|OTHER|SELECTED|TEMP)|DETAILS_(?:NAME|DESC|OWNER|GROUP|AREA|ID|SEE_AVATARS))|LIST_STAT_(?:MAX|MIN|MEAN|MEDIAN|STD_DEV|SUM(?:_SQUARES)?|NUM_COUNT|GEOMETRIC_MEAN|RANGE)|PAY_(?:HIDE|DEFAULT)|REGION_FLAG_(?:ALLOW_DAMAGE|FIXED_SUN|BLOCK_TERRAFORM|SANDBOX|DISABLE_(?:COLLISIONS|PHYSICS)|BLOCK_FLY|ALLOW_DIRECT_TELEPORT|RESTRICT_PUSHOBJECT)|HTTP_(?:METHOD|MIMETYPE|BODY_(?:MAXLENGTH|TRUNCATED)|CUSTOM_HEADER|PRAGMA_NO_CACHE|VERBOSE_THROTTLE|VERIFY_CERT)|SIT_(?:INVALID_(?:AGENT|LINK_OBJECT)|NO(?:T_EXPERIENCE|_(?:ACCESS|EXPERIENCE_PERMISSION|SIT_TARGET)))|STRING_(?:TRIM(?:_(?:HEAD|TAIL))?)|CLICK_ACTION_(?:NONE|TOUCH|SIT|BUY|PAY|OPEN(?:_MEDIA)?|PLAY|ZOOM)|TOUCH_INVALID_FACE|PROFILE_(?:NONE|SCRIPT_MEMORY)|RC_(?:DATA_FLAGS|DETECT_PHANTOM|GET_(?:LINK_NUM|NORMAL|ROOT_KEY)|MAX_HITS|REJECT_(?:TYPES|AGENTS|(?:NON)?PHYSICAL|LAND))|RCERR_(?:CAST_TIME_EXCEEDED|SIM_PERF_LOW|UNKNOWN)|ESTATE_ACCESS_(?:ALLOWED_(?:AGENT|GROUP)_(?:ADD|REMOVE)|BANNED_AGENT_(?:ADD|REMOVE))|DENSITY|FRICTION|RESTITUTION|GRAVITY_MULTIPLIER|KFM_(?:COMMAND|CMD_(?:PLAY|STOP|PAUSE)|MODE|FORWARD|LOOP|PING_PONG|REVERSE|DATA|ROTATION|TRANSLATION)|ERR_(?:GENERIC|PARCEL_PERMISSIONS|MALFORMED_PARAMS|RUNTIME_PERMISSIONS|THROTTLED)|CHARACTER_(?:CMD_(?:(?:SMOOTH_)?STOP|JUMP)|DESIRED_(?:TURN_)?SPEED|RADIUS|STAY_WITHIN_PARCEL|LENGTH|ORIENTATION|ACCOUNT_FOR_SKIPPED_FRAMES|AVOIDANCE_MODE|TYPE(?:_(?:[ABCD]|NONE))?|MAX_(?:DECEL|TURN_RADIUS|(?:ACCEL|SPEED)))|PURSUIT_(?:OFFSET|FUZZ_FACTOR|GOAL_TOLERANCE|INTERCEPT)|REQUIRE_LINE_OF_SIGHT|FORCE_DIRECT_PATH|VERTICAL|HORIZONTAL|AVOID_(?:CHARACTERS|DYNAMIC_OBSTACLES|NONE)|PU_(?:EVADE_(?:HIDDEN|SPOTTED)|FAILURE_(?:DYNAMIC_PATHFINDING_DISABLED|INVALID_(?:GOAL|START)|NO_(?:NAVMESH|VALID_DESTINATION)|OTHER|TARGET_GONE|(?:PARCEL_)?UNREACHABLE)|(?:GOAL|SLOWDOWN_DISTANCE)_REACHED)|TRAVERSAL_TYPE(?:_(?:FAST|NONE|SLOW))?|CONTENT_TYPE_(?:ATOM|FORM|HTML|JSON|LLSD|RSS|TEXT|XHTML|XML)|GCNP_(?:RADIUS|STATIC)|(?:PATROL|WANDER)_PAUSE_AT_WAYPOINTS|OPT_(?:AVATAR|CHARACTER|EXCLUSION_VOLUME|LEGACY_LINKSET|MATERIAL_VOLUME|OTHER|STATIC_OBSTACLE|WALKABLE)|SIM_STAT_PCT_CHARS_STEPPED)\\b"},{begin:"\\b(?:FALSE|TRUE)\\b"},{begin:"\\b(?:ZERO_ROTATION)\\b"},{begin:"\\b(?:EOF|JSON_(?:ARRAY|DELETE|FALSE|INVALID|NULL|NUMBER|OBJECT|STRING|TRUE)|NULL_KEY|TEXTURE_(?:BLANK|DEFAULT|MEDIA|PLYWOOD|TRANSPARENT)|URL_REQUEST_(?:GRANTED|DENIED))\\b"},{begin:"\\b(?:ZERO_VECTOR|TOUCH_INVALID_(?:TEXCOORD|VECTOR))\\b"}]},a={className:"built_in",begin:"\\b(?:ll(?:AgentInExperience|(?:Create|DataSize|Delete|KeyCount|Keys|Read|Update)KeyValue|GetExperience(?:Details|ErrorMessage)|ReturnObjectsBy(?:ID|Owner)|Json(?:2List|[GS]etValue|ValueType)|Sin|Cos|Tan|Atan2|Sqrt|Pow|Abs|Fabs|Frand|Floor|Ceil|Round|Vec(?:Mag|Norm|Dist)|Rot(?:Between|2(?:Euler|Fwd|Left|Up))|(?:Euler|Axes)2Rot|Whisper|(?:Region|Owner)?Say|Shout|Listen(?:Control|Remove)?|Sensor(?:Repeat|Remove)?|Detected(?:Name|Key|Owner|Type|Pos|Vel|Grab|Rot|Group|LinkNumber)|Die|Ground|Wind|(?:[GS]et)(?:AnimationOverride|MemoryLimit|PrimMediaParams|ParcelMusicURL|Object(?:Desc|Name)|PhysicsMaterial|Status|Scale|Color|Alpha|Texture|Pos|Rot|Force|Torque)|ResetAnimationOverride|(?:Scale|Offset|Rotate)Texture|(?:Rot)?Target(?:Remove)?|(?:Stop)?MoveToTarget|Apply(?:Rotational)?Impulse|Set(?:KeyframedMotion|ContentType|RegionPos|(?:Angular)?Velocity|Buoyancy|HoverHeight|ForceAndTorque|TimerEvent|ScriptState|Damage|TextureAnim|Sound(?:Queueing|Radius)|Vehicle(?:Type|(?:Float|Vector|Rotation)Param)|(?:Touch|Sit)?Text|Camera(?:Eye|At)Offset|PrimitiveParams|ClickAction|Link(?:Alpha|Color|PrimitiveParams(?:Fast)?|Texture(?:Anim)?|Camera|Media)|RemoteScriptAccessPin|PayPrice|LocalRot)|ScaleByFactor|Get(?:(?:Max|Min)ScaleFactor|ClosestNavPoint|StaticPath|SimStats|Env|PrimitiveParams|Link(?:PrimitiveParams|Number(?:OfSides)?|Key|Name|Media)|HTTPHeader|FreeURLs|Object(?:Details|PermMask|PrimCount)|Parcel(?:MaxPrims|Details|Prim(?:Count|Owners))|Attached(?:List)?|(?:SPMax|Free|Used)Memory|Region(?:Name|TimeDilation|FPS|Corner|AgentCount)|Root(?:Position|Rotation)|UnixTime|(?:Parcel|Region)Flags|(?:Wall|GMT)clock|SimulatorHostname|BoundingBox|GeometricCenter|Creator|NumberOf(?:Prims|NotecardLines|Sides)|Animation(?:List)?|(?:Camera|Local)(?:Pos|Rot)|Vel|Accel|Omega|Time(?:stamp|OfDay)|(?:Object|CenterOf)?Mass|MassMKS|Energy|Owner|(?:Owner)?Key|SunDirection|Texture(?:Offset|Scale|Rot)|Inventory(?:Number|Name|Key|Type|Creator|PermMask)|Permissions(?:Key)?|StartParameter|List(?:Length|EntryType)|Date|Agent(?:Size|Info|Language|List)|LandOwnerAt|NotecardLine|Script(?:Name|State))|(?:Get|Reset|GetAndReset)Time|PlaySound(?:Slave)?|LoopSound(?:Master|Slave)?|(?:Trigger|Stop|Preload)Sound|(?:(?:Get|Delete)Sub|Insert)String|To(?:Upper|Lower)|Give(?:InventoryList|Money)|RezObject|(?:Stop)?LookAt|Sleep|CollisionFilter|(?:Take|Release)Controls|DetachFromAvatar|AttachToAvatar(?:Temp)?|InstantMessage|(?:GetNext)?Email|StopHover|MinEventDelay|RotLookAt|String(?:Length|Trim)|(?:Start|Stop)Animation|TargetOmega|Request(?:Experience)?Permissions|(?:Create|Break)Link|BreakAllLinks|(?:Give|Remove)Inventory|Water|PassTouches|Request(?:Agent|Inventory)Data|TeleportAgent(?:Home|GlobalCoords)?|ModifyLand|CollisionSound|ResetScript|MessageLinked|PushObject|PassCollisions|AxisAngle2Rot|Rot2(?:Axis|Angle)|A(?:cos|sin)|AngleBetween|AllowInventoryDrop|SubStringIndex|List2(?:CSV|Integer|Json|Float|String|Key|Vector|Rot|List(?:Strided)?)|DeleteSubList|List(?:Statistics|Sort|Randomize|(?:Insert|Find|Replace)List)|EdgeOfWorld|AdjustSoundVolume|Key2Name|TriggerSoundLimited|EjectFromLand|(?:CSV|ParseString)2List|OverMyLand|SameGroup|UnSit|Ground(?:Slope|Normal|Contour)|GroundRepel|(?:Set|Remove)VehicleFlags|SitOnLink|(?:AvatarOn)?(?:Link)?SitTarget|Script(?:Danger|Profiler)|Dialog|VolumeDetect|ResetOtherScript|RemoteLoadScriptPin|(?:Open|Close)RemoteDataChannel|SendRemoteData|RemoteDataReply|(?:Integer|String)ToBase64|XorBase64|Log(?:10)?|Base64To(?:String|Integer)|ParseStringKeepNulls|RezAtRoot|RequestSimulatorData|ForceMouselook|(?:Load|Release|(?:E|Une)scape)URL|ParcelMedia(?:CommandList|Query)|ModPow|MapDestination|(?:RemoveFrom|AddTo|Reset)Land(?:Pass|Ban)List|(?:Set|Clear)CameraParams|HTTP(?:Request|Response)|TextBox|DetectedTouch(?:UV|Face|Pos|(?:N|Bin)ormal|ST)|(?:MD5|SHA1|DumpList2)String|Request(?:Secure)?URL|Clear(?:Prim|Link)Media|(?:Link)?ParticleSystem|(?:Get|Request)(?:Username|DisplayName)|RegionSayTo|CastRay|GenerateKey|TransferLindenDollars|ManageEstateAccess|(?:Create|Delete)Character|ExecCharacterCmd|Evade|FleeFrom|NavigateTo|PatrolPoints|Pursue|UpdateCharacter|WanderWithin))\\b"};return{illegal:":",contains:[n,{className:"comment",variants:[e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/")],relevance:0},r,{className:"section",variants:[{begin:"\\b(?:state|default)\\b"},{begin:"\\b(?:state_(?:entry|exit)|touch(?:_(?:start|end))?|(?:land_)?collision(?:_(?:start|end))?|timer|listen|(?:no_)?sensor|control|(?:not_)?at_(?:rot_)?target|money|email|experience_permissions(?:_denied)?|run_time_permissions|changed|attach|dataserver|moving_(?:start|end)|link_message|(?:on|object)_rez|remote_data|http_re(?:sponse|quest)|path_update|transaction_result)\\b"}]},a,i,{className:"type",begin:"\\b(?:integer|float|string|key|vector|quaternion|rotation|list)\\b"}]}}},2907:function(e,t){e.exports=function(e){var t={begin:"\\$+[a-zA-Z_-ÿ][a-zA-Z0-9_-ÿ]*"},n={className:"meta",begin:/<\?(php)?|\?>/},r={className:"string",contains:[e.BACKSLASH_ESCAPE,n],variants:[{begin:'b"',end:'"'},{begin:"b'",end:"'"},e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},i={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]};return{aliases:["php","php3","php4","php5","php6","php7"],case_insensitive:!0,keywords:"and include_once list abstract global private echo interface as static endswitch array null if endwhile or const for endforeach self var while isset public protected exit foreach throw elseif include __FILE__ empty require_once do xor return parent clone use __CLASS__ __LINE__ else break print eval new catch __METHOD__ case exception default die require __FUNCTION__ enddeclare final try switch continue endfor endif declare unset true false trait goto instanceof insteadof __DIR__ __NAMESPACE__ yield finally",contains:[e.HASH_COMMENT_MODE,e.COMMENT("//","$",{contains:[n]}),e.COMMENT("/\\*","\\*/",{contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.COMMENT("__halt_compiler.+?;",!1,{endsWithParent:!0,keywords:"__halt_compiler",lexemes:e.UNDERSCORE_IDENT_RE}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;?$/,contains:[e.BACKSLASH_ESCAPE,{className:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]}]},n,{className:"keyword",begin:/\$this\b/},t,{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function",end:/[;{]/,excludeEnd:!0,illegal:"\\$|\\[|%",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)",contains:["self",t,e.C_BLOCK_COMMENT_MODE,r,i]}]},{className:"class",beginKeywords:"class interface",end:"{",excludeEnd:!0,illegal:/[:\(\$"]/,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",end:";",illegal:/[\.']/,contains:[e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"use",end:";",contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"=>"},r,i]}}},"292e":function(e,t,n){var r=n("3842"),i=r.parsePercent,a=r.linearMap,o=n("f934"),s=n("bb70"),l=n("6d8b"),c=2*Math.PI,u=Math.PI/180;function d(e,t){return o.getLayoutRect(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function h(e,t,n,r){t.eachSeriesByType(e,(function(e){var t=e.getData(),r=t.mapDimension("value"),o=d(e,n),h=e.get("center"),p=e.get("radius");l.isArray(p)||(p=[0,p]),l.isArray(h)||(h=[h,h]);var f=i(o.width,n.getWidth()),_=i(o.height,n.getHeight()),m=Math.min(f,_),g=i(h[0],f)+o.x,v=i(h[1],_)+o.y,y=i(p[0],m/2),b=i(p[1],m/2),S=-e.get("startAngle")*u,E=e.get("minAngle")*u,x=0;t.each(r,(function(e){!isNaN(e)&&x++}));var T=t.getSum(r),C=Math.PI/(T||x)*2,A=e.get("clockwise"),w=e.get("roseType"),O=e.get("stillShowZeroSum"),R=t.getDataExtent(r);R[0]=0;var I=c,N=0,M=S,D=A?1:-1;if(t.each(r,(function(e,n){var r;if(isNaN(e))t.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:A,cx:g,cy:v,r0:y,r:w?NaN:b,viewRect:o});else{r="area"!==w?0===T&&O?C:e*C:c/x,r",contains:c("<",">")},{begin:"%[Qwi]?\\|",end:"\\|"},{begin:/<<-\w+$/,end:/^\s*\w+$/}],relevance:0},d={className:"string",variants:[{begin:"%q\\(",end:"\\)",contains:c("\\(","\\)")},{begin:"%q\\[",end:"\\]",contains:c("\\[","\\]")},{begin:"%q{",end:"}",contains:c("{","}")},{begin:"%q<",end:">",contains:c("<",">")},{begin:"%q\\|",end:"\\|"},{begin:/<<-'\w+'$/,end:/^\s*\w+$/}],relevance:0},h={begin:"(?!%})("+e.RE_STARTERS_RE+"|\\n|\\b(case|if|select|unless|until|when|while)\\b)\\s*",keywords:"case if select unless until when while",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,s],variants:[{begin:"//[a-z]*",relevance:0},{begin:"/(?!\\/)",end:"/[a-z]*"}]}],relevance:0},p={className:"regexp",contains:[e.BACKSLASH_ESCAPE,s],variants:[{begin:"%r\\(",end:"\\)",contains:c("\\(","\\)")},{begin:"%r\\[",end:"\\]",contains:c("\\[","\\]")},{begin:"%r{",end:"}",contains:c("{","}")},{begin:"%r<",end:">",contains:c("<",">")},{begin:"%r\\|",end:"\\|"}],relevance:0},f={className:"meta",begin:"@\\[",end:"\\]",contains:[e.inherit(e.QUOTE_STRING_MODE,{className:"meta-string"})]},_=[l,u,d,p,h,f,e.HASH_COMMENT_MODE,{className:"class",beginKeywords:"class module struct",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:a}),{begin:"<"}]},{className:"class",beginKeywords:"lib enum union",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:a})],relevance:10},{beginKeywords:"annotation",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:a})],relevance:10},{className:"function",beginKeywords:"def",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:i,endsParent:!0})]},{className:"function",beginKeywords:"fun macro",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:i,endsParent:!0})],relevance:5},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(\\!|\\?)?:",relevance:0},{className:"symbol",begin:":",contains:[u,{begin:i}],relevance:0},{className:"number",variants:[{begin:"\\b0b([01_]+)"+t},{begin:"\\b0o([0-7_]+)"+t},{begin:"\\b0x([A-Fa-f0-9_]+)"+t},{begin:"\\b([1-9][0-9_]*[0-9]|[0-9])(\\.[0-9][0-9_]*)?([eE]_*[-+]?[0-9_]*)?"+n+"(?!_)"},{begin:"\\b([1-9][0-9_]*|0)"+t}],relevance:0}];return s.contains=_,l.contains=_.slice(1),{aliases:["cr"],lexemes:r,keywords:o,contains:_}}},"29a8":function(e,t){var n={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:""}}}};e.exports=n},"29a9":function(e,t,n){var r=n("3eba"),i=n("b336");n("bc5f"),n("ab05"),n("06ea"),n("004f"),n("d6ef"),r.registerPreprocessor(i)},"29c8":function(e,t){e.exports=function(e){var t={className:"tag",begin:/\\/,relevance:0,contains:[{className:"name",variants:[{begin:/[a-zA-Z\u0430-\u044f\u0410-\u042f]+[*]?/},{begin:/[^a-zA-Z\u0430-\u044f\u0410-\u042f0-9]/}],starts:{endsWithParent:!0,relevance:0,contains:[{className:"string",variants:[{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/}]},{begin:/\s*=\s*/,endsWithParent:!0,relevance:0,contains:[{className:"number",begin:/-?\d*\.?\d+(pt|pc|mm|cm|in|dd|cc|ex|em)?/}]}]}}]};return{contains:[t,{className:"formula",contains:[t],relevance:0,variants:[{begin:/\$\$/,end:/\$\$/},{begin:/\$/,end:/\$/}]},e.COMMENT("%","$",{relevance:0})]}}},"2a39":function(e,t){e.exports=function(e){var t={keyword:"#available #colorLiteral #column #else #elseif #endif #file #fileLiteral #function #if #imageLiteral #line #selector #sourceLocation _ __COLUMN__ __FILE__ __FUNCTION__ __LINE__ Any as as! as? associatedtype associativity break case catch class continue convenience default defer deinit didSet do dynamic dynamicType else enum extension fallthrough false fileprivate final for func get guard if import in indirect infix init inout internal is lazy left let mutating nil none nonmutating open operator optional override postfix precedence prefix private protocol Protocol public repeat required rethrows return right self Self set static struct subscript super switch throw throws true try try! try? Type typealias unowned var weak where while willSet",literal:"true false nil",built_in:"abs advance alignof alignofValue anyGenerator assert assertionFailure bridgeFromObjectiveC bridgeFromObjectiveCUnconditional bridgeToObjectiveC bridgeToObjectiveCUnconditional c contains count countElements countLeadingZeros debugPrint debugPrintln distance dropFirst dropLast dump encodeBitsAsWords enumerate equal fatalError filter find getBridgedObjectiveCType getVaList indices insertionSort isBridgedToObjectiveC isBridgedVerbatimToObjectiveC isUniquelyReferenced isUniquelyReferencedNonObjC join lazy lexicographicalCompare map max maxElement min minElement numericCast overlaps partition posix precondition preconditionFailure print println quickSort readLine reduce reflect reinterpretCast reverse roundUpToAlignment sizeof sizeofValue sort split startsWith stride strideof strideofValue swap toString transcode underestimateCount unsafeAddressOf unsafeBitCast unsafeDowncast unsafeUnwrap unsafeReflect withExtendedLifetime withObjectAtPlusZero withUnsafePointer withUnsafePointerToObject withUnsafeMutablePointer withUnsafeMutablePointers withUnsafePointer withUnsafePointers withVaList zip"},n={className:"type",begin:"\\b[A-Z][\\wÀ-ʸ']*",relevance:0},r={className:"type",begin:"\\b[A-Z][\\wÀ-ʸ']*[!?]"},i=e.COMMENT("/\\*","\\*/",{contains:["self"]}),a={className:"subst",begin:/\\\(/,end:"\\)",keywords:t,contains:[]},o={className:"string",contains:[e.BACKSLASH_ESCAPE,a],variants:[{begin:/"""/,end:/"""/},{begin:/"/,end:/"/}]},s={className:"number",begin:"\\b([\\d_]+(\\.[\\deE_]+)?|0x[a-fA-F0-9_]+(\\.[a-fA-F0-9p_]+)?|0b[01_]+|0o[0-7_]+)\\b",relevance:0};return a.contains=[s],{keywords:t,contains:[o,e.C_LINE_COMMENT_MODE,i,r,n,s,{className:"function",beginKeywords:"func",end:"{",excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/}),{begin://},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:t,contains:["self",s,o,e.C_BLOCK_COMMENT_MODE,{begin:":"}],illegal:/["']/}],illegal:/\[|%/},{className:"class",beginKeywords:"struct protocol class extension enum",keywords:t,end:"\\{",excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/})]},{className:"meta",begin:"(@discardableResult|@warn_unused_result|@exported|@lazy|@noescape|@NSCopying|@NSManaged|@objc|@objcMembers|@convention|@required|@noreturn|@IBAction|@IBDesignable|@IBInspectable|@IBOutlet|@infix|@prefix|@postfix|@autoclosure|@testable|@available|@nonobjc|@NSApplicationMain|@UIApplicationMain|@dynamicMemberLookup|@propertyWrapper)"},{beginKeywords:"import",end:/$/,contains:[e.C_LINE_COMMENT_MODE,i]}]}}},"2a62":function(e,t,n){var r=n("c65b"),i=n("825a"),a=n("dc4a");e.exports=function(e,t,n){var o,s;i(e);try{if(o=a(e,"return"),!o){if("throw"===t)throw n;return n}o=r(o,e)}catch(l){s=!0,o=l}if("throw"===t)throw n;if(s)throw o;return i(o),n}},"2a93":function(e,t){e.exports=function(e){var t={className:"number",relevance:0,variants:[{begin:/([\+\-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},n=e.COMMENT();n.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];var r={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)}/}]},i={className:"literal",begin:/\bon|off|true|false|yes|no\b/},a={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},o={begin:/\[/,end:/\]/,contains:[n,i,r,a,t,"self"],relevance:0};return{aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[n,{className:"section",begin:/\[+/,end:/\]+/},{begin:/^[a-z0-9\[\]_\.-]+(?=\s*=\s*)/,className:"attr",starts:{end:/$/,contains:[n,o,i,r,a,t]}}]}}},"2b0e":function(e,t,n){"use strict";n.r(t),function(e){ +/*! + * Vue.js v2.6.12 + * (c) 2014-2020 Evan You + * Released under the MIT License. + */ +var n=Object.freeze({});function r(e){return void 0===e||null===e}function i(e){return void 0!==e&&null!==e}function a(e){return!0===e}function o(e){return!1===e}function s(e){return"string"===typeof e||"number"===typeof e||"symbol"===typeof e||"boolean"===typeof e}function l(e){return null!==e&&"object"===typeof e}var c=Object.prototype.toString;function u(e){return"[object Object]"===c.call(e)}function d(e){return"[object RegExp]"===c.call(e)}function h(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function p(e){return i(e)&&"function"===typeof e.then&&"function"===typeof e.catch}function f(e){return null==e?"":Array.isArray(e)||u(e)&&e.toString===c?JSON.stringify(e,null,2):String(e)}function _(e){var t=parseFloat(e);return isNaN(t)?e:t}function m(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i-1)return e.splice(n,1)}}var y=Object.prototype.hasOwnProperty;function b(e,t){return y.call(e,t)}function S(e){var t=Object.create(null);return function(n){var r=t[n];return r||(t[n]=e(n))}}var E=/-(\w)/g,x=S((function(e){return e.replace(E,(function(e,t){return t?t.toUpperCase():""}))})),T=S((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),C=/\B([A-Z])/g,A=S((function(e){return e.replace(C,"-$1").toLowerCase()}));function w(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function O(e,t){return e.bind(t)}var R=Function.prototype.bind?O:w;function I(e,t){t=t||0;var n=e.length-t,r=new Array(n);while(n--)r[n]=e[n+t];return r}function N(e,t){for(var n in t)e[n]=t[n];return e}function M(e){for(var t={},n=0;n0,ne=J&&J.indexOf("edge/")>0,re=(J&&J.indexOf("android"),J&&/iphone|ipad|ipod|ios/.test(J)||"ios"===Z),ie=(J&&/chrome\/\d+/.test(J),J&&/phantomjs/.test(J),J&&J.match(/firefox\/(\d+)/)),ae={}.watch,oe=!1;if(Q)try{var se={};Object.defineProperty(se,"passive",{get:function(){oe=!0}}),window.addEventListener("test-passive",null,se)}catch(xo){}var le=function(){return void 0===$&&($=!Q&&!X&&"undefined"!==typeof e&&(e["process"]&&"server"===e["process"].env.VUE_ENV)),$},ce=Q&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ue(e){return"function"===typeof e&&/native code/.test(e.toString())}var de,he="undefined"!==typeof Symbol&&ue(Symbol)&&"undefined"!==typeof Reflect&&ue(Reflect.ownKeys);de="undefined"!==typeof Set&&ue(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var pe=D,fe=0,_e=function(){this.id=fe++,this.subs=[]};_e.prototype.addSub=function(e){this.subs.push(e)},_e.prototype.removeSub=function(e){v(this.subs,e)},_e.prototype.depend=function(){_e.target&&_e.target.addDep(this)},_e.prototype.notify=function(){var e=this.subs.slice();for(var t=0,n=e.length;t-1)if(a&&!b(i,"default"))o=!1;else if(""===o||o===A(e)){var l=et(String,i.type);(l<0||s0&&(o=wt(o,(t||"")+"_"+n),At(o[0])&&At(c)&&(u[l]=Ee(c.text+o[0].text),o.shift()),u.push.apply(u,o)):s(o)?At(c)?u[l]=Ee(c.text+o):""!==o&&u.push(Ee(o)):At(o)&&At(c)?u[l]=Ee(c.text+o.text):(a(e._isVList)&&i(o.tag)&&r(o.key)&&i(t)&&(o.key="__vlist"+t+"_"+n+"__"),u.push(o)));return u}function Ot(e){var t=e.$options.provide;t&&(e._provided="function"===typeof t?t.call(e):t)}function Rt(e){var t=It(e.$options.inject,e);t&&(Re(!1),Object.keys(t).forEach((function(n){Le(e,n,t[n])})),Re(!0))}function It(e,t){if(e){for(var n=Object.create(null),r=he?Reflect.ownKeys(e):Object.keys(e),i=0;i0,o=e?!!e.$stable:!a,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(o&&r&&r!==n&&s===r.$key&&!a&&!r.$hasNormal)return r;for(var l in i={},e)e[l]&&"$"!==l[0]&&(i[l]=Lt(t,l,e[l]))}else i={};for(var c in t)c in i||(i[c]=Pt(t,c));return e&&Object.isExtensible(e)&&(e._normalized=i),W(i,"$stable",o),W(i,"$key",s),W(i,"$hasNormal",a),i}function Lt(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({});return e=e&&"object"===typeof e&&!Array.isArray(e)?[e]:Ct(e),e&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function Pt(e,t){return function(){return e[t]}}function kt(e,t){var n,r,a,o,s;if(Array.isArray(e)||"string"===typeof e)for(n=new Array(e.length),r=0,a=e.length;r1?I(n):n;for(var r=I(arguments,1),i='event handler for "'+e+'"',a=0,o=n.length;adocument.createEvent("Event").timeStamp&&($n=function(){return Kn.now()})}function Qn(){var e,t;for(jn=$n(),Yn=!0,Gn.sort((function(e,t){return e.id-t.id})),Wn=0;WnWn&&Gn[n].id>e.id)n--;Gn.splice(n+1,0,e)}else Gn.push(e);Hn||(Hn=!0,ft(Qn))}}var tr=0,nr=function(e,t,n,r,i){this.vm=e,i&&(e._watcher=this),e._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++tr,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new de,this.newDepIds=new de,this.expression="","function"===typeof t?this.getter=t:(this.getter=j(t),this.getter||(this.getter=D)),this.value=this.lazy?void 0:this.get()};nr.prototype.get=function(){var e;ge(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(xo){if(!this.user)throw xo;tt(xo,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&mt(e),ve(),this.cleanupDeps()}return e},nr.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},nr.prototype.cleanupDeps=function(){var e=this.deps.length;while(e--){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},nr.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():er(this)},nr.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||l(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(xo){tt(xo,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},nr.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},nr.prototype.depend=function(){var e=this.deps.length;while(e--)this.deps[e].depend()},nr.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||v(this.vm._watchers,this);var e=this.deps.length;while(e--)this.deps[e].removeSub(this);this.active=!1}};var rr={enumerable:!0,configurable:!0,get:D,set:D};function ir(e,t,n){rr.get=function(){return this[t][n]},rr.set=function(e){this[t][n]=e},Object.defineProperty(e,n,rr)}function ar(e){e._watchers=[];var t=e.$options;t.props&&or(e,t.props),t.methods&&fr(e,t.methods),t.data?sr(e):De(e._data={},!0),t.computed&&ur(e,t.computed),t.watch&&t.watch!==ae&&_r(e,t.watch)}function or(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[],a=!e.$parent;a||Re(!1);var o=function(a){i.push(a);var o=Qe(a,t,n,e);Le(r,a,o),a in e||ir(e,"_props",a)};for(var s in t)o(s);Re(!0)}function sr(e){var t=e.$options.data;t=e._data="function"===typeof t?lr(t,e):t||{},u(t)||(t={});var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);while(i--){var a=n[i];0,r&&b(r,a)||Y(a)||ir(e,"_data",a)}De(t,!0)}function lr(e,t){ge();try{return e.call(t,t)}catch(xo){return tt(xo,t,"data()"),{}}finally{ve()}}var cr={lazy:!0};function ur(e,t){var n=e._computedWatchers=Object.create(null),r=le();for(var i in t){var a=t[i],o="function"===typeof a?a:a.get;0,r||(n[i]=new nr(e,o||D,D,cr)),i in e||dr(e,i,a)}}function dr(e,t,n){var r=!le();"function"===typeof n?(rr.get=r?hr(t):pr(n),rr.set=D):(rr.get=n.get?r&&!1!==n.cache?hr(t):pr(n.get):D,rr.set=n.set||D),Object.defineProperty(e,t,rr)}function hr(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),_e.target&&t.depend(),t.value}}function pr(e){return function(){return e.call(this,this)}}function fr(e,t){e.$options.props;for(var n in t)e[n]="function"!==typeof t[n]?D:R(t[n],e)}function _r(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i-1)return this;var n=I(arguments,1);return n.unshift(this),"function"===typeof e.install?e.install.apply(e,n):"function"===typeof e&&e.apply(null,n),t.push(e),this}}function Cr(e){e.mixin=function(e){return this.options=$e(this.options,e),this}}function Ar(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,i=e._Ctor||(e._Ctor={});if(i[r])return i[r];var a=e.name||n.options.name;var o=function(e){this._init(e)};return o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.cid=t++,o.options=$e(n.options,e),o["super"]=n,o.options.props&&wr(o),o.options.computed&&Or(o),o.extend=n.extend,o.mixin=n.mixin,o.use=n.use,G.forEach((function(e){o[e]=n[e]})),a&&(o.options.components[a]=o),o.superOptions=n.options,o.extendOptions=e,o.sealedOptions=N({},o.options),i[r]=o,o}}function wr(e){var t=e.options.props;for(var n in t)ir(e.prototype,"_props",n)}function Or(e){var t=e.options.computed;for(var n in t)dr(e.prototype,n,t[n])}function Rr(e){G.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&u(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"===typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}function Ir(e){return e&&(e.Ctor.options.name||e.tag)}function Nr(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"===typeof e?e.split(",").indexOf(t)>-1:!!d(e)&&e.test(t)}function Mr(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var a in n){var o=n[a];if(o){var s=Ir(o.componentOptions);s&&!t(s)&&Dr(n,a,r,i)}}}function Dr(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,v(n,t)}yr(xr),gr(xr),Rn(xr),Dn(xr),vn(xr);var Lr=[String,RegExp,Array],Pr={name:"keep-alive",abstract:!0,props:{include:Lr,exclude:Lr,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Dr(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",(function(t){Mr(e,(function(e){return Nr(t,e)}))})),this.$watch("exclude",(function(t){Mr(e,(function(e){return!Nr(t,e)}))}))},render:function(){var e=this.$slots.default,t=xn(e),n=t&&t.componentOptions;if(n){var r=Ir(n),i=this,a=i.include,o=i.exclude;if(a&&(!r||!Nr(a,r))||o&&r&&Nr(o,r))return t;var s=this,l=s.cache,c=s.keys,u=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;l[u]?(t.componentInstance=l[u].componentInstance,v(c,u),c.push(u)):(l[u]=t,c.push(u),this.max&&c.length>parseInt(this.max)&&Dr(l,c[0],c,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}},kr={KeepAlive:Pr};function Fr(e){var t={get:function(){return V}};Object.defineProperty(e,"config",t),e.util={warn:pe,extend:N,mergeOptions:$e,defineReactive:Le},e.set=Pe,e.delete=ke,e.nextTick=ft,e.observable=function(e){return De(e),e},e.options=Object.create(null),G.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,N(e.options.components,kr),Tr(e),Cr(e),Ar(e),Rr(e)}Fr(xr),Object.defineProperty(xr.prototype,"$isServer",{get:le}),Object.defineProperty(xr.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(xr,"FunctionalRenderContext",{value:Xt}),xr.version="2.6.12";var Br=m("style,class"),Ur=m("input,textarea,option,select,progress"),Gr=function(e,t,n){return"value"===n&&Ur(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},zr=m("contenteditable,draggable,spellcheck"),Vr=m("events,caret,typing,plaintext-only"),Hr=function(e,t){return $r(t)||"false"===t?"false":"contenteditable"===e&&Vr(t)?t:"true"},Yr=m("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Wr="http://www.w3.org/1999/xlink",qr=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},jr=function(e){return qr(e)?e.slice(6,e.length):""},$r=function(e){return null==e||!1===e};function Kr(e){var t=e.data,n=e,r=e;while(i(r.componentInstance))r=r.componentInstance._vnode,r&&r.data&&(t=Qr(r.data,t));while(i(n=n.parent))n&&n.data&&(t=Qr(t,n.data));return Xr(t.staticClass,t.class)}function Qr(e,t){return{staticClass:Zr(e.staticClass,t.staticClass),class:i(e.class)?[e.class,t.class]:t.class}}function Xr(e,t){return i(e)||i(t)?Zr(e,Jr(t)):""}function Zr(e,t){return e?t?e+" "+t:e:t||""}function Jr(e){return Array.isArray(e)?ei(e):l(e)?ti(e):"string"===typeof e?e:""}function ei(e){for(var t,n="",r=0,a=e.length;r-1?si[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:si[e]=/HTMLUnknownElement/.test(t.toString())}var ci=m("text,number,password,search,email,tel,url");function ui(e){if("string"===typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function di(e,t){var n=document.createElement(e);return"select"!==e||t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function hi(e,t){return document.createElementNS(ni[e],t)}function pi(e){return document.createTextNode(e)}function fi(e){return document.createComment(e)}function _i(e,t,n){e.insertBefore(t,n)}function mi(e,t){e.removeChild(t)}function gi(e,t){e.appendChild(t)}function vi(e){return e.parentNode}function yi(e){return e.nextSibling}function bi(e){return e.tagName}function Si(e,t){e.textContent=t}function Ei(e,t){e.setAttribute(t,"")}var xi=Object.freeze({createElement:di,createElementNS:hi,createTextNode:pi,createComment:fi,insertBefore:_i,removeChild:mi,appendChild:gi,parentNode:vi,nextSibling:yi,tagName:bi,setTextContent:Si,setStyleScope:Ei}),Ti={create:function(e,t){Ci(t)},update:function(e,t){e.data.ref!==t.data.ref&&(Ci(e,!0),Ci(t))},destroy:function(e){Ci(e,!0)}};function Ci(e,t){var n=e.data.ref;if(i(n)){var r=e.context,a=e.componentInstance||e.elm,o=r.$refs;t?Array.isArray(o[n])?v(o[n],a):o[n]===a&&(o[n]=void 0):e.data.refInFor?Array.isArray(o[n])?o[n].indexOf(a)<0&&o[n].push(a):o[n]=[a]:o[n]=a}}var Ai=new ye("",{},[]),wi=["create","activate","update","remove","destroy"];function Oi(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&i(e.data)===i(t.data)&&Ri(e,t)||a(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&r(t.asyncFactory.error))}function Ri(e,t){if("input"!==e.tag)return!0;var n,r=i(n=e.data)&&i(n=n.attrs)&&n.type,a=i(n=t.data)&&i(n=n.attrs)&&n.type;return r===a||ci(r)&&ci(a)}function Ii(e,t,n){var r,a,o={};for(r=t;r<=n;++r)a=e[r].key,i(a)&&(o[a]=r);return o}function Ni(e){var t,n,o={},l=e.modules,c=e.nodeOps;for(t=0;t_?(d=r(n[v+1])?null:n[v+1].elm,x(e,d,n,f,v,a)):f>v&&C(t,h,_)}function O(e,t,n,r){for(var a=n;a-1?Vi(e,t,n):Yr(t)?$r(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):zr(t)?e.setAttribute(t,Hr(t,n)):qr(t)?$r(n)?e.removeAttributeNS(Wr,jr(t)):e.setAttributeNS(Wr,t,n):Vi(e,t,n)}function Vi(e,t,n){if($r(n))e.removeAttribute(t);else{if(ee&&!te&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var Hi={create:Gi,update:Gi};function Yi(e,t){var n=t.elm,a=t.data,o=e.data;if(!(r(a.staticClass)&&r(a.class)&&(r(o)||r(o.staticClass)&&r(o.class)))){var s=Kr(t),l=n._transitionClasses;i(l)&&(s=Zr(s,Jr(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Wi,qi={create:Yi,update:Yi},ji="__r",$i="__c";function Ki(e){if(i(e[ji])){var t=ee?"change":"input";e[t]=[].concat(e[ji],e[t]||[]),delete e[ji]}i(e[$i])&&(e.change=[].concat(e[$i],e.change||[]),delete e[$i])}function Qi(e,t,n){var r=Wi;return function i(){var a=t.apply(null,arguments);null!==a&&Ji(e,i,n,r)}}var Xi=ot&&!(ie&&Number(ie[1])<=53);function Zi(e,t,n,r){if(Xi){var i=jn,a=t;t=a._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=i||e.timeStamp<=0||e.target.ownerDocument!==document)return a.apply(this,arguments)}}Wi.addEventListener(e,t,oe?{capture:n,passive:r}:n)}function Ji(e,t,n,r){(r||Wi).removeEventListener(e,t._wrapper||t,n)}function ea(e,t){if(!r(e.data.on)||!r(t.data.on)){var n=t.data.on||{},i=e.data.on||{};Wi=t.elm,Ki(n),bt(n,i,Zi,Ji,Qi,t.context),Wi=void 0}}var ta,na={create:ea,update:ea};function ra(e,t){if(!r(e.data.domProps)||!r(t.data.domProps)){var n,a,o=t.elm,s=e.data.domProps||{},l=t.data.domProps||{};for(n in i(l.__ob__)&&(l=t.data.domProps=N({},l)),s)n in l||(o[n]="");for(n in l){if(a=l[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),a===s[n])continue;1===o.childNodes.length&&o.removeChild(o.childNodes[0])}if("value"===n&&"PROGRESS"!==o.tagName){o._value=a;var c=r(a)?"":String(a);ia(o,c)&&(o.value=c)}else if("innerHTML"===n&&ii(o.tagName)&&r(o.innerHTML)){ta=ta||document.createElement("div"),ta.innerHTML=""+a+"";var u=ta.firstChild;while(o.firstChild)o.removeChild(o.firstChild);while(u.firstChild)o.appendChild(u.firstChild)}else if(a!==s[n])try{o[n]=a}catch(xo){}}}}function ia(e,t){return!e.composing&&("OPTION"===e.tagName||aa(e,t)||oa(e,t))}function aa(e,t){var n=!0;try{n=document.activeElement!==e}catch(xo){}return n&&e.value!==t}function oa(e,t){var n=e.value,r=e._vModifiers;if(i(r)){if(r.number)return _(n)!==_(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}var sa={create:ra,update:ra},la=S((function(e){var t={},n=/;(?![^(]*\))/g,r=/:(.+)/;return e.split(n).forEach((function(e){if(e){var n=e.split(r);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}));function ca(e){var t=ua(e.style);return e.staticStyle?N(e.staticStyle,t):t}function ua(e){return Array.isArray(e)?M(e):"string"===typeof e?la(e):e}function da(e,t){var n,r={};if(t){var i=e;while(i.componentInstance)i=i.componentInstance._vnode,i&&i.data&&(n=ca(i.data))&&N(r,n)}(n=ca(e.data))&&N(r,n);var a=e;while(a=a.parent)a.data&&(n=ca(a.data))&&N(r,n);return r}var ha,pa=/^--/,fa=/\s*!important$/,_a=function(e,t,n){if(pa.test(t))e.style.setProperty(t,n);else if(fa.test(n))e.style.setProperty(A(t),n.replace(fa,""),"important");else{var r=ga(t);if(Array.isArray(n))for(var i=0,a=n.length;i-1?t.split(ba).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Ea(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(ba).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";while(n.indexOf(r)>=0)n=n.replace(r," ");n=n.trim(),n?e.setAttribute("class",n):e.removeAttribute("class")}}function xa(e){if(e){if("object"===typeof e){var t={};return!1!==e.css&&N(t,Ta(e.name||"v")),N(t,e),t}return"string"===typeof e?Ta(e):void 0}}var Ta=S((function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}})),Ca=Q&&!te,Aa="transition",wa="animation",Oa="transition",Ra="transitionend",Ia="animation",Na="animationend";Ca&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Oa="WebkitTransition",Ra="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Ia="WebkitAnimation",Na="webkitAnimationEnd"));var Ma=Q?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Da(e){Ma((function(){Ma(e)}))}function La(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),Sa(e,t))}function Pa(e,t){e._transitionClasses&&v(e._transitionClasses,t),Ea(e,t)}function ka(e,t,n){var r=Ba(e,t),i=r.type,a=r.timeout,o=r.propCount;if(!i)return n();var s=i===Aa?Ra:Na,l=0,c=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++l>=o&&c()};setTimeout((function(){l0&&(n=Aa,u=o,d=a.length):t===wa?c>0&&(n=wa,u=c,d=l.length):(u=Math.max(o,c),n=u>0?o>c?Aa:wa:null,d=n?n===Aa?a.length:l.length:0);var h=n===Aa&&Fa.test(r[Oa+"Property"]);return{type:n,timeout:u,propCount:d,hasTransform:h}}function Ua(e,t){while(e.length1}function Wa(e,t){!0!==t.data.show&&za(t)}var qa=Q?{create:Wa,activate:Wa,remove:function(e,t){!0!==e.data.show?Va(e,t):t()}}:{},ja=[Hi,qi,na,sa,ya,qa],$a=ja.concat(Ui),Ka=Ni({nodeOps:xi,modules:$a});te&&document.addEventListener("selectionchange",(function(){var e=document.activeElement;e&&e.vmodel&&ro(e,"input")}));var Qa={inserted:function(e,t,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?St(n,"postpatch",(function(){Qa.componentUpdated(e,t,n)})):Xa(e,t,n.context),e._vOptions=[].map.call(e.options,eo)):("textarea"===n.tag||ci(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",to),e.addEventListener("compositionend",no),e.addEventListener("change",no),te&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){Xa(e,t,n.context);var r=e._vOptions,i=e._vOptions=[].map.call(e.options,eo);if(i.some((function(e,t){return!k(e,r[t])}))){var a=e.multiple?t.value.some((function(e){return Ja(e,i)})):t.value!==t.oldValue&&Ja(t.value,i);a&&ro(e,"change")}}}};function Xa(e,t,n){Za(e,t,n),(ee||ne)&&setTimeout((function(){Za(e,t,n)}),0)}function Za(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var a,o,s=0,l=e.options.length;s-1,o.selected!==a&&(o.selected=a);else if(k(eo(o),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function Ja(e,t){return t.every((function(t){return!k(t,e)}))}function eo(e){return"_value"in e?e._value:e.value}function to(e){e.target.composing=!0}function no(e){e.target.composing&&(e.target.composing=!1,ro(e.target,"input"))}function ro(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function io(e){return!e.componentInstance||e.data&&e.data.transition?e:io(e.componentInstance._vnode)}var ao={bind:function(e,t,n){var r=t.value;n=io(n);var i=n.data&&n.data.transition,a=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i?(n.data.show=!0,za(n,(function(){e.style.display=a}))):e.style.display=r?a:"none"},update:function(e,t,n){var r=t.value,i=t.oldValue;if(!r!==!i){n=io(n);var a=n.data&&n.data.transition;a?(n.data.show=!0,r?za(n,(function(){e.style.display=e.__vOriginalDisplay})):Va(n,(function(){e.style.display="none"}))):e.style.display=r?e.__vOriginalDisplay:"none"}},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}},oo={model:Qa,show:ao},so={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 lo(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?lo(xn(t.children)):e}function co(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var a in i)t[x(a)]=i[a];return t}function uo(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function ho(e){while(e=e.parent)if(e.data.transition)return!0}function po(e,t){return t.key===e.key&&t.tag===e.tag}var fo=function(e){return e.tag||En(e)},_o=function(e){return"show"===e.name},mo={name:"transition",props:so,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(fo),n.length)){0;var r=this.mode;0;var i=n[0];if(ho(this.$vnode))return i;var a=lo(i);if(!a)return i;if(this._leaving)return uo(e,i);var o="__transition-"+this._uid+"-";a.key=null==a.key?a.isComment?o+"comment":o+a.tag:s(a.key)?0===String(a.key).indexOf(o)?a.key:o+a.key:a.key;var l=(a.data||(a.data={})).transition=co(this),c=this._vnode,u=lo(c);if(a.data.directives&&a.data.directives.some(_o)&&(a.data.show=!0),u&&u.data&&!po(a,u)&&!En(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var d=u.data.transition=N({},l);if("out-in"===r)return this._leaving=!0,St(d,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),uo(e,i);if("in-out"===r){if(En(a))return c;var h,p=function(){h()};St(l,"afterEnter",p),St(l,"enterCancelled",p),St(d,"delayLeave",(function(e){h=e}))}}return i}}},go=N({tag:String,moveClass:String},so);delete go.mode;var vo={props:go,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var i=Nn(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],a=this.children=[],o=co(this),s=0;s0},extendFrom:function(e,t){if(e)for(var n in e)!e.hasOwnProperty(n)||!0!==t&&(!1===t?this.hasOwnProperty(n):null==e[n])||(this[n]=e[n])},set:function(e,t){"string"===typeof e?this[e]=t:this.extendFrom(e,!0)},clone:function(){var e=new this.constructor;return e.extendFrom(this,!0),e},getGradient:function(e,t,n){for(var r="radial"===t.type?c:l,i=r(e,t,n),a=t.colorStops,o=0;o1?arguments[1]:void 0,t.length)),r=s(e);return h?h(t,r,n):p(t,n,n+r.length)===r}})},"2ce7":function(e,t){e.exports=function(e){var t="([ui](8|16|32|64|128|size)|f(32|64))?",n="abstract as async await become box break const continue crate do dyn else enum extern false final fn for if impl in let loop macro match mod move mut override priv pub ref return self Self static struct super trait true try type typeof unsafe unsized use virtual where while yield",r="drop i8 i16 i32 i64 i128 isize u8 u16 u32 u64 u128 usize f32 f64 str char bool Box Option Result String Vec Copy Send Sized Sync Drop Fn FnMut FnOnce ToOwned Clone Debug PartialEq PartialOrd Eq Ord AsRef AsMut Into From Default Iterator Extend IntoIterator DoubleEndedIterator ExactSizeIterator SliceConcatExt ToString assert! assert_eq! bitflags! bytes! cfg! col! concat! concat_idents! debug_assert! debug_assert_eq! env! panic! file! format! format_args! include_bin! include_str! line! local_data_key! module_path! option_env! print! println! select! stringify! try! unimplemented! unreachable! vec! write! writeln! macro_rules! assert_ne! debug_assert_ne!";return{aliases:["rs"],keywords:{keyword:n,literal:"true false Some None Ok Err",built_in:r},lexemes:e.IDENT_RE+"!?",illegal:""}]}}},"2cf4":function(e,t){var n=1;"undefined"!==typeof window&&(n=Math.max(window.devicePixelRatio||1,1));var r=0,i=n;t.debugMode=r,t.devicePixelRatio=i},"2cf49":function(e,t,n){var r,i,a,o,s=n("da84"),l=n("2ba4"),c=n("0366"),u=n("1626"),d=n("1a2d"),h=n("d039"),p=n("1be4"),f=n("f36a"),_=n("cc12"),m=n("d6d6"),g=n("1cdc"),v=n("605d"),y=s.setImmediate,b=s.clearImmediate,S=s.process,E=s.Dispatch,x=s.Function,T=s.MessageChannel,C=s.String,A=0,w={},O="onreadystatechange";try{r=s.location}catch(D){}var R=function(e){if(d(w,e)){var t=w[e];delete w[e],t()}},I=function(e){return function(){R(e)}},N=function(e){R(e.data)},M=function(e){s.postMessage(C(e),r.protocol+"//"+r.host)};y&&b||(y=function(e){m(arguments.length,1);var t=u(e)?e:x(e),n=f(arguments,1);return w[++A]=function(){l(t,void 0,n)},i(A),A},b=function(e){delete w[e]},v?i=function(e){S.nextTick(I(e))}:E&&E.now?i=function(e){E.now(I(e))}:T&&!g?(a=new T,o=a.port2,a.port1.onmessage=N,i=c(o.postMessage,o)):s.addEventListener&&u(s.postMessage)&&!s.importScripts&&r&&"file:"!==r.protocol&&!h(M)?(i=M,s.addEventListener("message",N,!1)):i=O in _("script")?function(e){p.appendChild(_("script"))[O]=function(){p.removeChild(this),R(e)}}:function(e){setTimeout(I(e),0)}),e.exports={set:y,clear:b}},"2cfc":function(e,t,n){var r=n("3eba");n("4338"),n("bcbe"),n("c62c"),n("cb8f"),n("f138"),r.extendComponentView({type:"single"})},"2d00":function(e,t,n){var r,i,a=n("da84"),o=n("342f"),s=a.process,l=a.Deno,c=s&&s.versions||l&&l.version,u=c&&c.v8;u&&(r=u.split("."),i=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&o&&(r=o.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=o.match(/Chrome\/(\d+)/),r&&(i=+r[1]))),e.exports=i},"2d83":function(e,t,n){"use strict";var r=n("387f");e.exports=function(e,t,n,i,a){var o=new Error(e);return r(o,t,n,i,a)}},"2e11":function(e,t){e.exports=function(e){var t={keyword:"in if for while finally new do return else break catch instanceof throw try this switch continue typeof delete debugger case default function var with then unless until loop of by when and or is isnt not it that otherwise from to til fallthrough super case default function var void const let enum export import native list map __hasProp __extends __slice __bind __indexOf",literal:"true false null undefined yes no on off it that void",built_in:"npm require console print module global window document"},n="[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*",r=e.inherit(e.TITLE_MODE,{begin:n}),i={className:"subst",begin:/#\{/,end:/}/,keywords:t},a={className:"subst",begin:/#[A-Za-z$_]/,end:/(?:\-[0-9A-Za-z$_]|[0-9A-Za-z$_])*/,keywords:t},o=[e.BINARY_NUMBER_MODE,{className:"number",begin:"(\\b0[xX][a-fA-F0-9_]+)|(\\b\\d(\\d|_\\d)*(\\.(\\d(\\d|_\\d)*)?)?(_*[eE]([-+]\\d(_\\d|\\d)*)?)?[_a-z]*)",relevance:0,starts:{end:"(\\s*/)?",relevance:0}},{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[e.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,i,a]},{begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,i,a]},{begin:/\\/,end:/(\s|$)/,excludeEnd:!0}]},{className:"regexp",variants:[{begin:"//",end:"//[gim]*",contains:[i,e.HASH_COMMENT_MODE]},{begin:/\/(?![ *])(\\.|[^\\\n])*?\/[gim]*(?=\W)/}]},{begin:"@"+n},{begin:"``",end:"``",excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"}];i.contains=o;var s={className:"params",begin:"\\(",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:t,contains:["self"].concat(o)}]},l={begin:"(#=>|=>|\\|>>|-?->|\\!->)"};return{aliases:["ls"],keywords:t,illegal:/\/\*/,contains:o.concat([e.COMMENT("\\/\\*","\\*\\/"),e.HASH_COMMENT_MODE,l,{className:"function",contains:[r,s],returnBegin:!0,variants:[{begin:"("+n+"\\s*(?:=|:=)\\s*)?(\\(.*\\))?\\s*\\B\\->\\*?",end:"\\->\\*?"},{begin:"("+n+"\\s*(?:=|:=)\\s*)?!?(\\(.*\\))?\\s*\\B[-~]{1,2}>\\*?",end:"[-~]{1,2}>\\*?"},{begin:"("+n+"\\s*(?:=|:=)\\s*)?(\\(.*\\))?\\s*\\B!?[-~]{1,2}>\\*?",end:"!?[-~]{1,2}>\\*?"}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[r]},r]},{begin:n+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}},"2e5d":function(e,t){e.exports=function(e){var t="\\[",n="\\]";return{aliases:["i7"],case_insensitive:!0,keywords:{keyword:"thing room person man woman animal container supporter backdrop door scenery open closed locked inside gender is are say understand kind of rule"},contains:[{className:"string",begin:'"',end:'"',relevance:0,contains:[{className:"subst",begin:t,end:n}]},{className:"section",begin:/^(Volume|Book|Part|Chapter|Section|Table)\b/,end:"$"},{begin:/^(Check|Carry out|Report|Instead of|To|Rule|When|Before|After)\b/,end:":",contains:[{begin:"\\(This",end:"\\)"}]},{className:"comment",begin:t,end:n,contains:["self"]}]}}},"2e67":function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},"2e7b":function(e,t){e.exports=function(e){var t="true false yes no null",n={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ \t]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ \t]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ \t]|$)"}]},r={className:"template-variable",variants:[{begin:"{{",end:"}}"},{begin:"%{",end:"}"}]},i={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,r]};return{case_insensitive:!0,aliases:["yml","YAML","yaml"],contains:[n,{className:"meta",begin:"^---s*$",relevance:10},{className:"string",begin:"[\\|>]([0-9]?[+-])?[ ]*\\n( *)[\\S ]+\\n(\\2[\\S ]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!"+e.UNDERSCORE_IDENT_RE},{className:"type",begin:"!!"+e.UNDERSCORE_IDENT_RE},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"\\-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},{className:"number",begin:e.C_NUMBER_RE+"\\b"},i]}}},"2e8e":function(e,t){e.exports=function(e){return{keywords:{keyword:"package import option optional required repeated group oneof",built_in:"double float int32 int64 uint32 uint64 sint32 sint64 fixed32 fixed64 sfixed32 sfixed64 bool string bytes",literal:"true false"},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.C_LINE_COMMENT_MODE,{className:"class",beginKeywords:"message enum service",end:/\{/,illegal:/\n/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{className:"function",beginKeywords:"rpc",end:/;/,excludeEnd:!0,keywords:"rpc returns"},{begin:/^\s*[A-Z_]+/,end:/\s*=/,excludeEnd:!0}]}}},"2e9b":function(e,t){e.exports=function(e){return{contains:[{className:"function",begin:"#+[A-Za-z_0-9]*\\(",end:" {",returnBegin:!0,excludeEnd:!0,contains:[{className:"keyword",begin:"#+"},{className:"title",begin:"[A-Za-z_][A-Za-z_0-9]*"},{className:"params",begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"string",begin:'"',end:'"'},{className:"variable",begin:"[A-Za-z_][A-Za-z_0-9]*"}]}]}]}}},"2f31":function(e,t,n){var r=n("3eba"),i=n("ae75");n("10cc"),n("f31f"),n("c2dd"),n("b8ec"),n("fecb"),r.registerPreprocessor(i)},"2f45":function(e,t,n){var r=n("6d8b"),i=r.each,a=r.createHashMap,o=(r.assert,n("4e08")),s=(o.__DEV__,a(["tooltip","label","itemName","itemId","seriesName"]));function l(e){var t={},n=t.encode={},r=a(),o=[],l=[],u=t.userOutput={dimensionNames:e.dimensions.slice(),encode:{}};i(e.dimensions,(function(t){var i=e.getDimensionInfo(t),a=i.coordDim;if(a){var h=i.coordDimIndex;c(n,a)[h]=t,i.isExtraCoord||(r.set(a,1),d(i.type)&&(o[0]=t),c(u.encode,a)[h]=i.index),i.defaultTooltip&&l.push(t)}s.each((function(e,t){var r=c(n,t),a=i.otherDims[t];null!=a&&!1!==a&&(r[a]=i.name)}))}));var h=[],p={};r.each((function(e,t){var r=n[t];p[t]=r[0],h=h.concat(r)})),t.dataDimsOnCoord=h,t.encodeFirstDimNotExtra=p;var f=n.label;f&&f.length&&(o=f.slice());var _=n.tooltip;return _&&_.length?l=_.slice():l.length||(l=o.slice()),n.defaultedLabel=o,n.defaultedTooltip=l,t}function c(e,t){return e.hasOwnProperty(t)||(e[t]=[]),e[t]}function u(e){return"category"===e?"ordinal":"time"===e?"time":"float"}function d(e){return!("ordinal"===e||"time"===e)}t.OTHER_DIMENSIONS=s,t.summarizeDimensions=l,t.getDimensionTypeByAxis=u},"2f62":function(e,t,n){"use strict";n.r(t),function(e){ +/*! + * vuex v3.6.0 + * (c) 2020 Evan You + * @license MIT + */ +function r(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:r});else{var n=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[r].concat(e.init):r,n.call(this,e)}}function r(){var e=this.$options;e.store?this.$store="function"===typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}n.d(t,"Store",(function(){return v})),n.d(t,"createLogger",(function(){return V})),n.d(t,"createNamespacedHelpers",(function(){return F})),n.d(t,"install",(function(){return M})),n.d(t,"mapActions",(function(){return k})),n.d(t,"mapGetters",(function(){return P})),n.d(t,"mapMutations",(function(){return L})),n.d(t,"mapState",(function(){return D}));var i="undefined"!==typeof window?window:"undefined"!==typeof e?e:{},a=i.__VUE_DEVTOOLS_GLOBAL_HOOK__;function o(e){a&&(e._devtoolHook=a,a.emit("vuex:init",e),a.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){a.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){a.emit("vuex:action",e,t)}),{prepend:!0}))}function s(e,t){return e.filter(t)[0]}function l(e,t){if(void 0===t&&(t=[]),null===e||"object"!==typeof e)return e;var n=s(t,(function(t){return t.original===e}));if(n)return n.copy;var r=Array.isArray(e)?[]:{};return t.push({original:e,copy:r}),Object.keys(e).forEach((function(n){r[n]=l(e[n],t)})),r}function c(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function u(e){return null!==e&&"object"===typeof e}function d(e){return e&&"function"===typeof e.then}function h(e,t){return function(){return e(t)}}var p=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"===typeof n?n():n)||{}},f={namespaced:{configurable:!0}};f.namespaced.get=function(){return!!this._rawModule.namespaced},p.prototype.addChild=function(e,t){this._children[e]=t},p.prototype.removeChild=function(e){delete this._children[e]},p.prototype.getChild=function(e){return this._children[e]},p.prototype.hasChild=function(e){return e in this._children},p.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},p.prototype.forEachChild=function(e){c(this._children,e)},p.prototype.forEachGetter=function(e){this._rawModule.getters&&c(this._rawModule.getters,e)},p.prototype.forEachAction=function(e){this._rawModule.actions&&c(this._rawModule.actions,e)},p.prototype.forEachMutation=function(e){this._rawModule.mutations&&c(this._rawModule.mutations,e)},Object.defineProperties(p.prototype,f);var _=function(e){this.register([],e,!1)};function m(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return void 0;m(e.concat(r),t.getChild(r),n.modules[r])}}_.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},_.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return t=t.getChild(n),e+(t.namespaced?n+"/":"")}),"")},_.prototype.update=function(e){m([],this.root,e)},_.prototype.register=function(e,t,n){var r=this;void 0===n&&(n=!0);var i=new p(t,n);if(0===e.length)this.root=i;else{var a=this.get(e.slice(0,-1));a.addChild(e[e.length-1],i)}t.modules&&c(t.modules,(function(t,i){r.register(e.concat(i),t,n)}))},_.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],r=t.getChild(n);r&&r.runtime&&t.removeChild(n)},_.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&&t.hasChild(n)};var g;var v=function(e){var t=this;void 0===e&&(e={}),!g&&"undefined"!==typeof window&&window.Vue&&M(window.Vue);var n=e.plugins;void 0===n&&(n=[]);var r=e.strict;void 0===r&&(r=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new _(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new g,this._makeLocalGettersCache=Object.create(null);var i=this,a=this,s=a.dispatch,l=a.commit;this.dispatch=function(e,t){return s.call(i,e,t)},this.commit=function(e,t,n){return l.call(i,e,t,n)},this.strict=r;var c=this._modules.root.state;x(this,c,[],this._modules.root),E(this,c),n.forEach((function(e){return e(t)}));var u=void 0!==e.devtools?e.devtools:g.config.devtools;u&&o(this)},y={state:{configurable:!0}};function b(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function S(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;x(e,n,[],e._modules.root,!0),E(e,n,t)}function E(e,t,n){var r=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var i=e._wrappedGetters,a={};c(i,(function(t,n){a[n]=h(t,e),Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})}));var o=g.config.silent;g.config.silent=!0,e._vm=new g({data:{$$state:t},computed:a}),g.config.silent=o,e.strict&&R(e),r&&(n&&e._withCommit((function(){r._data.$$state=null})),g.nextTick((function(){return r.$destroy()})))}function x(e,t,n,r,i){var a=!n.length,o=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[o],e._modulesNamespaceMap[o]=r),!a&&!i){var s=I(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit((function(){g.set(s,l,r.state)}))}var c=r.context=T(e,o,n);r.forEachMutation((function(t,n){var r=o+n;A(e,r,t,c)})),r.forEachAction((function(t,n){var r=t.root?n:o+n,i=t.handler||t;w(e,r,i,c)})),r.forEachGetter((function(t,n){var r=o+n;O(e,r,t,c)})),r.forEachChild((function(r,a){x(e,t,n.concat(a),r,i)}))}function T(e,t,n){var r=""===t,i={dispatch:r?e.dispatch:function(n,r,i){var a=N(n,r,i),o=a.payload,s=a.options,l=a.type;return s&&s.root||(l=t+l),e.dispatch(l,o)},commit:r?e.commit:function(n,r,i){var a=N(n,r,i),o=a.payload,s=a.options,l=a.type;s&&s.root||(l=t+l),e.commit(l,o,s)}};return Object.defineProperties(i,{getters:{get:r?function(){return e.getters}:function(){return C(e,t)}},state:{get:function(){return I(e.state,n)}}}),i}function C(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach((function(i){if(i.slice(0,r)===t){var a=i.slice(r);Object.defineProperty(n,a,{get:function(){return e.getters[i]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function A(e,t,n,r){var i=e._mutations[t]||(e._mutations[t]=[]);i.push((function(t){n.call(e,r.state,t)}))}function w(e,t,n,r){var i=e._actions[t]||(e._actions[t]=[]);i.push((function(t){var i=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},t);return d(i)||(i=Promise.resolve(i)),e._devtoolHook?i.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):i}))}function O(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return n(r.state,r.getters,e.state,e.getters)})}function R(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function I(e,t){return t.reduce((function(e,t){return e[t]}),e)}function N(e,t,n){return u(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function M(e){g&&e===g||(g=e,r(g))}y.state.get=function(){return this._vm._data.$$state},y.state.set=function(e){0},v.prototype.commit=function(e,t,n){var r=this,i=N(e,t,n),a=i.type,o=i.payload,s=(i.options,{type:a,payload:o}),l=this._mutations[a];l&&(this._withCommit((function(){l.forEach((function(e){e(o)}))})),this._subscribers.slice().forEach((function(e){return e(s,r.state)})))},v.prototype.dispatch=function(e,t){var n=this,r=N(e,t),i=r.type,a=r.payload,o={type:i,payload:a},s=this._actions[i];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(o,n.state)}))}catch(c){0}var l=s.length>1?Promise.all(s.map((function(e){return e(a)}))):s[0](a);return new Promise((function(e,t){l.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(o,n.state)}))}catch(c){0}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(o,n.state,e)}))}catch(c){0}t(e)}))}))}},v.prototype.subscribe=function(e,t){return b(e,this._subscribers,t)},v.prototype.subscribeAction=function(e,t){var n="function"===typeof e?{before:e}:e;return b(n,this._actionSubscribers,t)},v.prototype.watch=function(e,t,n){var r=this;return this._watcherVM.$watch((function(){return e(r.state,r.getters)}),t,n)},v.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},v.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),x(this,this.state,e,this._modules.get(e),n.preserveState),E(this,this.state)},v.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var n=I(t.state,e.slice(0,-1));g.delete(n,e[e.length-1])})),S(this)},v.prototype.hasModule=function(e){return"string"===typeof e&&(e=[e]),this._modules.isRegistered(e)},v.prototype.hotUpdate=function(e){this._modules.update(e),S(this,!0)},v.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(v.prototype,y);var D=G((function(e,t){var n={};return B(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var r=z(this.$store,"mapState",e);if(!r)return;t=r.context.state,n=r.context.getters}return"function"===typeof i?i.call(this,t,n):t[i]},n[r].vuex=!0})),n})),L=G((function(e,t){var n={};return B(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.commit;if(e){var a=z(this.$store,"mapMutations",e);if(!a)return;r=a.context.commit}return"function"===typeof i?i.apply(this,[r].concat(t)):r.apply(this.$store,[i].concat(t))}})),n})),P=G((function(e,t){var n={};return B(t).forEach((function(t){var r=t.key,i=t.val;i=e+i,n[r]=function(){if(!e||z(this.$store,"mapGetters",e))return this.$store.getters[i]},n[r].vuex=!0})),n})),k=G((function(e,t){var n={};return B(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.dispatch;if(e){var a=z(this.$store,"mapActions",e);if(!a)return;r=a.context.dispatch}return"function"===typeof i?i.apply(this,[r].concat(t)):r.apply(this.$store,[i].concat(t))}})),n})),F=function(e){return{mapState:D.bind(null,e),mapGetters:P.bind(null,e),mapMutations:L.bind(null,e),mapActions:k.bind(null,e)}};function B(e){return U(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function U(e){return Array.isArray(e)||u(e)}function G(e){return function(t,n){return"string"!==typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function z(e,t,n){var r=e._modulesNamespaceMap[n];return r}function V(e){void 0===e&&(e={});var t=e.collapsed;void 0===t&&(t=!0);var n=e.filter;void 0===n&&(n=function(e,t,n){return!0});var r=e.transformer;void 0===r&&(r=function(e){return e});var i=e.mutationTransformer;void 0===i&&(i=function(e){return e});var a=e.actionFilter;void 0===a&&(a=function(e,t){return!0});var o=e.actionTransformer;void 0===o&&(o=function(e){return e});var s=e.logMutations;void 0===s&&(s=!0);var c=e.logActions;void 0===c&&(c=!0);var u=e.logger;return void 0===u&&(u=console),function(e){var d=l(e.state);"undefined"!==typeof u&&(s&&e.subscribe((function(e,a){var o=l(a);if(n(e,d,o)){var s=W(),c=i(e),h="mutation "+e.type+s;H(u,h,t),u.log("%c prev state","color: #9E9E9E; font-weight: bold",r(d)),u.log("%c mutation","color: #03A9F4; font-weight: bold",c),u.log("%c next state","color: #4CAF50; font-weight: bold",r(o)),Y(u)}d=o})),c&&e.subscribeAction((function(e,n){if(a(e,n)){var r=W(),i=o(e),s="action "+e.type+r;H(u,s,t),u.log("%c action","color: #03A9F4; font-weight: bold",i),Y(u)}})))}}function H(e,t,n){var r=n?e.groupCollapsed:e.group;try{r.call(e,t)}catch(i){e.log(t)}}function Y(e){try{e.groupEnd()}catch(t){e.log("—— log end ——")}}function W(){var e=new Date;return" @ "+j(e.getHours(),2)+":"+j(e.getMinutes(),2)+":"+j(e.getSeconds(),2)+"."+j(e.getMilliseconds(),3)}function q(e,t){return new Array(t+1).join(e)}function j(e,t){return q("0",t-e.toString().length)+e}var $={Store:v,install:M,version:"3.6.0",mapState:D,mapMutations:L,mapGetters:P,mapActions:k,createNamespacedHelpers:F,createLogger:V};t["default"]=$}.call(this,n("c8ba"))},"2f73":function(e,t,n){var r=n("3eba"),i=n("6d8b"),a=n("1e32");n("1ccf"),n("f5e6"),n("792e"),n("cb8f"),n("6acf"),r.registerLayout(i.curry(a,"bar")),r.extendComponentView({type:"polar"})},"2f91":function(e,t){var n=["itemStyle","borderColor"];function r(e,t){var r=e.get("color");e.eachRawSeriesByType("boxplot",(function(t){var i=r[t.seriesIndex%r.length],a=t.getData();a.setVisual({legendSymbol:"roundRect",color:t.get(n)||i}),e.isSeriesFiltered(t)||a.each((function(e){var t=a.getItemModel(e);a.setItemVisual(e,{color:t.get(n,!0)})}))}))}e.exports=r},"2f9a":function(e,t){e.exports=function(){}},3014:function(e,t,n){var r=n("4f85"),i=n("3301"),a=r.extend({type:"series.__base_bar__",getInitialData:function(e,t){return i(this.getSource(),this,{useEncodeDefaulter:!0})},getMarkerPosition:function(e){var t=this.coordinateSystem;if(t){var n=t.dataToPoint(t.clampData(e)),r=this.getData(),i=r.getLayout("offset"),a=r.getLayout("size"),o=t.getBaseAxis().isHorizontal()?0:1;return n[o]+=i+a/2,n}return[NaN,NaN]},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod",itemStyle:{},emphasis:{}}});e.exports=a},"301c":function(e,t,n){n("e198")("asyncIterator")},3041:function(e,t,n){var r=n("e1fc"),i=n("0da8"),a=n("76a5"),o=n("d9fc"),s=n("c7a2"),l=n("ae69"),c=n("cb11"),u=n("cbe5"),d=n("87b1"),h=n("d498"),p=n("48a9"),f=n("2b61"),_=n("1687"),m=n("342d"),g=m.createFromString,v=n("6d8b"),y=v.isString,b=v.extend,S=v.defaults,E=v.trim,x=v.each,T=/[\s,]+/;function C(e){if(y(e)){var t=new DOMParser;e=t.parseFromString(e,"text/xml")}9===e.nodeType&&(e=e.firstChild);while("svg"!==e.nodeName.toLowerCase()||1!==e.nodeType)e=e.nextSibling;return e}function A(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}A.prototype.parse=function(e,t){t=t||{};var n=C(e);if(!n)throw new Error("Illegal svg");var i=new r;this._root=i;var a=n.getAttribute("viewBox")||"",o=parseFloat(n.getAttribute("width")||t.width),l=parseFloat(n.getAttribute("height")||t.height);isNaN(o)&&(o=null),isNaN(l)&&(l=null),D(n,i,null,!0);var c,u,d=n.firstChild;while(d)this._parseNode(d,i),d=d.nextSibling;if(a){var h=E(a).split(T);h.length>=4&&(c={x:parseFloat(h[0]||0),y:parseFloat(h[1]||0),width:parseFloat(h[2]),height:parseFloat(h[3])})}if(c&&null!=o&&null!=l&&(u=G(c,o,l),!t.ignoreViewBox)){var p=i;i=new r,i.add(p),p.scale=u.scale.slice(),p.position=u.position.slice()}return t.ignoreRootClip||null==o||null==l||i.setClipPath(new s({shape:{x:0,y:0,width:o,height:l}})),{root:i,width:o,height:l,viewBoxRect:c,viewBoxTransform:u}},A.prototype._parseNode=function(e,t){var n,r=e.nodeName.toLowerCase();if("defs"===r?this._isDefine=!0:"text"===r&&(this._isText=!0),this._isDefine){var i=O[r];if(i){var a=i.call(this,e),o=e.getAttribute("id");o&&(this._defs[o]=a)}}else{i=w[r];i&&(n=i.call(this,e,t),t.add(n))}var s=e.firstChild;while(s)1===s.nodeType&&this._parseNode(s,n),3===s.nodeType&&this._isText&&this._parseText(s,n),s=s.nextSibling;"defs"===r?this._isDefine=!1:"text"===r&&(this._isText=!1)},A.prototype._parseText=function(e,t){if(1===e.nodeType){var n=e.getAttribute("dx")||0,r=e.getAttribute("dy")||0;this._textX+=parseFloat(n),this._textY+=parseFloat(r)}var i=new a({style:{text:e.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});I(t,i),D(e,i,this._defs);var o=i.style.fontSize;o&&o<9&&(i.style.fontSize=9,i.scale=i.scale||[1,1],i.scale[0]*=o/9,i.scale[1]*=o/9);var s=i.getBoundingRect();return this._textX+=s.width,t.add(i),i};var w={g:function(e,t){var n=new r;return I(t,n),D(e,n,this._defs),n},rect:function(e,t){var n=new s;return I(t,n),D(e,n,this._defs),n.setShape({x:parseFloat(e.getAttribute("x")||0),y:parseFloat(e.getAttribute("y")||0),width:parseFloat(e.getAttribute("width")||0),height:parseFloat(e.getAttribute("height")||0)}),n},circle:function(e,t){var n=new o;return I(t,n),D(e,n,this._defs),n.setShape({cx:parseFloat(e.getAttribute("cx")||0),cy:parseFloat(e.getAttribute("cy")||0),r:parseFloat(e.getAttribute("r")||0)}),n},line:function(e,t){var n=new c;return I(t,n),D(e,n,this._defs),n.setShape({x1:parseFloat(e.getAttribute("x1")||0),y1:parseFloat(e.getAttribute("y1")||0),x2:parseFloat(e.getAttribute("x2")||0),y2:parseFloat(e.getAttribute("y2")||0)}),n},ellipse:function(e,t){var n=new l;return I(t,n),D(e,n,this._defs),n.setShape({cx:parseFloat(e.getAttribute("cx")||0),cy:parseFloat(e.getAttribute("cy")||0),rx:parseFloat(e.getAttribute("rx")||0),ry:parseFloat(e.getAttribute("ry")||0)}),n},polygon:function(e,t){var n=e.getAttribute("points");n&&(n=N(n));var r=new d({shape:{points:n||[]}});return I(t,r),D(e,r,this._defs),r},polyline:function(e,t){var n=new u;I(t,n),D(e,n,this._defs);var r=e.getAttribute("points");r&&(r=N(r));var i=new h({shape:{points:r||[]}});return i},image:function(e,t){var n=new i;return I(t,n),D(e,n,this._defs),n.setStyle({image:e.getAttribute("xlink:href"),x:e.getAttribute("x"),y:e.getAttribute("y"),width:e.getAttribute("width"),height:e.getAttribute("height")}),n},text:function(e,t){var n=e.getAttribute("x")||0,i=e.getAttribute("y")||0,a=e.getAttribute("dx")||0,o=e.getAttribute("dy")||0;this._textX=parseFloat(n)+parseFloat(a),this._textY=parseFloat(i)+parseFloat(o);var s=new r;return I(t,s),D(e,s,this._defs),s},tspan:function(e,t){var n=e.getAttribute("x"),i=e.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=i&&(this._textY=parseFloat(i));var a=e.getAttribute("dx")||0,o=e.getAttribute("dy")||0,s=new r;return I(t,s),D(e,s,this._defs),this._textX+=a,this._textY+=o,s},path:function(e,t){var n=e.getAttribute("d")||"",r=g(n);return I(t,r),D(e,r,this._defs),r}},O={lineargradient:function(e){var t=parseInt(e.getAttribute("x1")||0,10),n=parseInt(e.getAttribute("y1")||0,10),r=parseInt(e.getAttribute("x2")||10,10),i=parseInt(e.getAttribute("y2")||0,10),a=new p(t,n,r,i);return R(e,a),a},radialgradient:function(e){}};function R(e,t){var n=e.firstChild;while(n){if(1===n.nodeType){var r=n.getAttribute("offset");r=r.indexOf("%")>0?parseInt(r,10)/100:r?parseFloat(r):0;var i=n.getAttribute("stop-color")||"#000000";t.addColorStop(r,i)}n=n.nextSibling}}function I(e,t){e&&e.__inheritedStyle&&(t.__inheritedStyle||(t.__inheritedStyle={}),S(t.__inheritedStyle,e.__inheritedStyle))}function N(e){for(var t=E(e).split(T),n=[],r=0;r0;a-=2){var o=i[a],s=i[a-1];switch(r=r||_.create(),s){case"translate":o=E(o).split(T),_.translate(r,r,[parseFloat(o[0]),parseFloat(o[1]||0)]);break;case"scale":o=E(o).split(T),_.scale(r,r,[parseFloat(o[0]),parseFloat(o[1]||o[0])]);break;case"rotate":o=E(o).split(T),_.rotate(r,r,parseFloat(o[0]));break;case"skew":o=E(o).split(T),console.warn("Skew transform is not supported yet");break;case"matrix":o=E(o).split(T);r[0]=parseFloat(o[0]),r[1]=parseFloat(o[1]),r[2]=parseFloat(o[2]),r[3]=parseFloat(o[3]),r[4]=parseFloat(o[4]),r[5]=parseFloat(o[5]);break}}t.setLocalTransform(r)}}var B=/([^\s:;]+)\s*:\s*([^:;]+)/g;function U(e){var t=e.getAttribute("style"),n={};if(!t)return n;var r,i={};B.lastIndex=0;while(null!=(r=B.exec(t)))i[r[1]]=r[2];for(var a in M)M.hasOwnProperty(a)&&null!=i[a]&&(n[M[a]]=i[a]);return n}function G(e,t,n){var r=t/e.width,i=n/e.height,a=Math.min(r,i),o=[a,a],s=[-(e.x+e.width/2)*a+t/2,-(e.y+e.height/2)*a+n/2];return{scale:o,position:s}}function z(e,t){var n=new A;return n.parse(e,t)}t.parseXML=C,t.makeViewBoxTransform=G,t.parseSVG=z},"305e":function(e,t){e.exports=function(e){var t="[A-Za-z_][0-9A-Za-z_]*",n={keyword:"if for while var new function do return void else break",literal:"BackSlash DoubleQuote false ForwardSlash Infinity NaN NewLine null PI SingleQuote Tab TextFormatting true undefined",built_in:"Abs Acos Angle Attachments Area AreaGeodetic Asin Atan Atan2 Average Bearing Boolean Buffer BufferGeodetic Ceil Centroid Clip Console Constrain Contains Cos Count Crosses Cut Date DateAdd DateDiff Day Decode DefaultValue Dictionary Difference Disjoint Distance DistanceGeodetic Distinct DomainCode DomainName Equals Exp Extent Feature FeatureSet FeatureSetByAssociation FeatureSetById FeatureSetByPortalItem FeatureSetByRelationshipName FeatureSetByTitle FeatureSetByUrl Filter First Floor Geometry GroupBy Guid HasKey Hour IIf IndexOf Intersection Intersects IsEmpty IsNan IsSelfIntersecting Length LengthGeodetic Log Max Mean Millisecond Min Minute Month MultiPartToSinglePart Multipoint NextSequenceValue Now Number OrderBy Overlaps Point Polygon Polyline Portal Pow Random Relate Reverse RingIsClockWise Round Second SetGeometry Sin Sort Sqrt Stdev Sum SymmetricDifference Tan Text Timestamp Today ToLocal Top Touches ToUTC TrackCurrentTime TrackGeometryWindow TrackIndex TrackStartTime TrackWindow TypeOf Union UrlEncode Variance Weekday When Within Year "},r={className:"symbol",begin:"\\$[datastore|feature|layer|map|measure|sourcefeature|sourcelayer|targetfeature|targetlayer|value|view]+"},i={className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},a={className:"subst",begin:"\\$\\{",end:"\\}",keywords:n,contains:[]},o={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,a]};a.contains=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,o,i,e.REGEXP_MODE];var s=a.contains.concat([e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]);return{aliases:["arcade"],keywords:n,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,r,i,{begin:/[{,]\s*/,relevance:0,contains:[{begin:t+"\\s*:",returnBegin:!0,relevance:0,contains:[{className:"attr",begin:t,relevance:0}]}]},{begin:"("+e.RE_STARTERS_RE+"|\\b(return)\\b)\\s*",keywords:"return",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+t+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:n,contains:s}]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:t}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:s}],illegal:/\[|%/},{begin:/\$[(.]/}],illegal:/#(?!!)/}}},"307a":function(e,t,n){var r=n("6d8b"),i=n("eaea"),a=n("3842"),o=[20,140],s=i.extend({type:"visualMap.continuous",defaultOption:{align:"auto",calculable:!1,range:null,realtime:!0,itemHeight:null,itemWidth:null,hoverLink:!0,hoverLinkDataSize:null,hoverLinkOnHandle:null},optionUpdated:function(e,t){s.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual((function(e){e.mappingMethod="linear",e.dataExtent=this.getExtent()})),this._resetRange()},resetItemSize:function(){s.superApply(this,"resetItemSize",arguments);var e=this.itemSize;"horizontal"===this._orient&&e.reverse(),(null==e[0]||isNaN(e[0]))&&(e[0]=o[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=o[1])},_resetRange:function(){var e=this.getExtent(),t=this.option.range;!t||t.auto?(e.auto=1,this.option.range=e):r.isArray(t)&&(t[0]>t[1]&&t.reverse(),t[0]=Math.max(t[0],e[0]),t[1]=Math.min(t[1],e[1]))},completeVisualOption:function(){i.prototype.completeVisualOption.apply(this,arguments),r.each(this.stateList,(function(e){var t=this.option.controller[e].symbolSize;t&&t[0]!==t[1]&&(t[0]=0)}),this)},setSelected:function(e){this.option.range=e.slice(),this._resetRange()},getSelected:function(){var e=this.getExtent(),t=a.asc((this.get("range")||[]).slice());return t[0]>e[1]&&(t[0]=e[1]),t[1]>e[1]&&(t[1]=e[1]),t[0]=n[1]||e<=t[1])?"inRange":"outOfRange"},findTargetDataIndices:function(e){var t=[];return this.eachTargetSeries((function(n){var r=[],i=n.getData();i.each(this.getDataDimension(i),(function(t,n){e[0]<=t&&t<=e[1]&&r.push(n)}),this),t.push({seriesId:n.id,dataIndex:r})}),this),t},getVisualMeta:function(e){var t=l(this,"outOfRange",this.getExtent()),n=l(this,"inRange",this.option.range.slice()),r=[];function i(t,n){r.push({value:t,color:e(t,n)})}for(var a=0,o=0,s=n.length,c=t.length;o=0&&"number"===typeof c&&(c=+c.toFixed(Math.min(g,20))),_.coord[p]=m.coord[p]=c,i=[_,m,{type:s,valueIndex:i.valueIndex,value:c}]}return i=[o.dataTransform(e,i[0]),o.dataTransform(e,i[1]),r.extend({},i[2])],i[2].type=i[2].type||"",r.merge(i[2],i[0]),r.merge(i[2],i[1]),i};function h(e){return!isNaN(e)&&!isFinite(e)}function p(e,t,n,r){var i=1-e,a=r.dimensions[e];return h(t[i])&&h(n[i])&&t[e]===n[e]&&r.getAxis(a).containData(t[e])}function f(e,t){if("cartesian2d"===e.type){var n=t[0].coord,r=t[1].coord;if(n&&r&&(p(1,n,r,e)||p(0,n,r,e)))return!0}return o.dataFilter(e,t[0])&&o.dataFilter(e,t[1])}function _(e,t,n,r,i){var o,s=r.coordinateSystem,l=e.getItemModel(t),c=a.parsePercent(l.get("x"),i.getWidth()),u=a.parsePercent(l.get("y"),i.getHeight());if(isNaN(c)||isNaN(u)){if(r.getMarkerPosition)o=r.getMarkerPosition(e.getValues(e.dimensions,t));else{var d=s.dimensions,p=e.get(d[0],t),f=e.get(d[1],t);o=s.dataToPoint([p,f])}if("cartesian2d"===s.type){var _=s.getAxis("x"),m=s.getAxis("y");d=s.dimensions;h(e.get(d[0],t))?o[0]=_.toGlobalCoord(_.getExtent()[n?0:1]):h(e.get(d[1],t))&&(o[1]=m.toGlobalCoord(m.getExtent()[n?0:1]))}isNaN(c)||(o[0]=c),isNaN(u)||(o[1]=u)}else o=[c,u];e.setItemLayout(t,o)}var m=l.extend({type:"markLine",updateTransform:function(e,t,n){t.eachSeries((function(e){var t=e.markLineModel;if(t){var r=t.getData(),i=t.__from,a=t.__to;i.each((function(t){_(i,t,!0,e,n),_(a,t,!1,e,n)})),r.each((function(e){r.setItemLayout(e,[i.getItemLayout(e),a.getItemLayout(e)])})),this.markerGroupMap.get(e.id).updateLayout()}}),this)},renderSeries:function(e,t,n,i){var a=e.coordinateSystem,o=e.id,l=e.getData(),c=this.markerGroupMap,u=c.get(o)||c.set(o,new s);this.group.add(u.group);var d=g(a,e,t),h=d.from,p=d.to,f=d.line;t.__from=h,t.__to=p,t.setData(f);var m=t.get("symbol"),v=t.get("symbolSize");function y(t,n,r){var a=t.getItemModel(n);_(t,n,r,e,i),t.setItemVisual(n,{symbolRotate:a.get("symbolRotate"),symbolSize:a.get("symbolSize")||v[r?0:1],symbol:a.get("symbol",!0)||m[r?0:1],color:a.get("itemStyle.color")||l.getVisual("color")})}r.isArray(m)||(m=[m,m]),"number"===typeof v&&(v=[v,v]),d.from.each((function(e){y(h,e,!0),y(p,e,!1)})),f.each((function(e){var t=f.getItemModel(e).get("lineStyle.color");f.setItemVisual(e,{color:t||h.getItemVisual(e,"color")}),f.setItemLayout(e,[h.getItemLayout(e),p.getItemLayout(e)]),f.setItemVisual(e,{fromSymbolRotate:h.getItemVisual(e,"symbolRotate"),fromSymbolSize:h.getItemVisual(e,"symbolSize"),fromSymbol:h.getItemVisual(e,"symbol"),toSymbolRotate:p.getItemVisual(e,"symbolRotate"),toSymbolSize:p.getItemVisual(e,"symbolSize"),toSymbol:p.getItemVisual(e,"symbol")})})),u.updateData(f),d.line.eachItemGraphicEl((function(e,n){e.traverse((function(e){e.dataModel=t}))})),u.__keep=!0,u.group.silent=t.get("silent")||e.get("silent")}});function g(e,t,n){var a;a=e?r.map(e&&e.dimensions,(function(e){var n=t.getData().getDimensionInfo(t.getData().mapDimension(e))||{};return r.defaults({name:e},n)})):[{name:"value",type:"float"}];var s=new i(a,n),l=new i(a,n),c=new i([],n),u=r.map(n.get("data"),r.curry(d,t,e,n));e&&(u=r.filter(u,r.curry(f,e)));var h=e?o.dimValueGetter:function(e){return e.value};return s.initData(r.map(u,(function(e){return e[0]})),null,h),l.initData(r.map(u,(function(e){return e[1]})),null,h),c.initData(r.map(u,(function(e){return e[2]}))),c.hasItemOption=!0,{from:s,to:l,line:c}}e.exports=m},"30a3":function(e,t,n){var r=n("6d8b"),i=n("607d"),a=i.Dispatcher,o=n("98b7"),s=n("06ad"),l=function(e){e=e||{},this.stage=e.stage||{},this.onframe=e.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,a.call(this)};l.prototype={constructor:l,addClip:function(e){this._clips.push(e)},addAnimator:function(e){e.animation=this;for(var t=e.getClips(),n=0;n=0&&this._clips.splice(t,1)},removeAnimator:function(e){for(var t=e.getClips(),n=0;n
'};function n(e,t,n){return en?n:e}function r(e){return 100*(-1+e)}function i(e,n,i){var a;return a="translate3d"===t.positionUsing?{transform:"translate3d("+r(e)+"%,0,0)"}:"translate"===t.positionUsing?{transform:"translate("+r(e)+"%,0)"}:{"margin-left":r(e)+"%"},a.transition="all "+n+"ms "+i,a}e.configure=function(e){var n,r;for(n in e)r=e[n],void 0!==r&&e.hasOwnProperty(n)&&(t[n]=r);return this},e.status=null,e.set=function(r){var s=e.isStarted();r=n(r,t.minimum,1),e.status=1===r?null:r;var l=e.render(!s),c=l.querySelector(t.barSelector),u=t.speed,d=t.easing;return l.offsetWidth,a((function(n){""===t.positionUsing&&(t.positionUsing=e.getPositioningCSS()),o(c,i(r,u,d)),1===r?(o(l,{transition:"none",opacity:1}),l.offsetWidth,setTimeout((function(){o(l,{transition:"all "+u+"ms linear",opacity:0}),setTimeout((function(){e.remove(),n()}),u)}),u)):setTimeout(n,u)})),this},e.isStarted=function(){return"number"===typeof e.status},e.start=function(){e.status||e.set(0);var n=function(){setTimeout((function(){e.status&&(e.trickle(),n())}),t.trickleSpeed)};return t.trickle&&n(),this},e.done=function(t){return t||e.status?e.inc(.3+.5*Math.random()).set(1):this},e.inc=function(t){var r=e.status;return r?("number"!==typeof t&&(t=(1-r)*n(Math.random()*r,.1,.95)),r=n(r+t,0,.994),e.set(r)):e.start()},e.trickle=function(){return e.inc(Math.random()*t.trickleRate)},function(){var t=0,n=0;e.promise=function(r){return r&&"resolved"!==r.state()?(0===n&&e.start(),t++,n++,r.always((function(){n--,0===n?(t=0,e.done()):e.set((t-n)/t)})),this):this}}(),e.render=function(n){if(e.isRendered())return document.getElementById("nprogress");l(document.documentElement,"nprogress-busy");var i=document.createElement("div");i.id="nprogress",i.innerHTML=t.template;var a,s=i.querySelector(t.barSelector),c=n?"-100":r(e.status||0),u=document.querySelector(t.parent);return o(s,{transition:"all 0 linear",transform:"translate3d("+c+"%,0,0)"}),t.showSpinner||(a=i.querySelector(t.spinnerSelector),a&&d(a)),u!=document.body&&l(u,"nprogress-custom-parent"),u.appendChild(i),i},e.remove=function(){c(document.documentElement,"nprogress-busy"),c(document.querySelector(t.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&d(e)},e.isRendered=function(){return!!document.getElementById("nprogress")},e.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var a=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),o=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;var r,i=e.length,a=t.charAt(0).toUpperCase()+t.slice(1);while(i--)if(r=e[i]+a,r in n)return r;return t}function i(e){return e=n(e),t[e]||(t[e]=r(e))}function a(e,t,n){t=i(t),e.style[t]=n}return function(e,t){var n,r,i=arguments;if(2==i.length)for(n in t)r=t[n],void 0!==r&&t.hasOwnProperty(n)&&a(e,n,r);else a(e,i[1],i[2])}}();function s(e,t){var n="string"==typeof e?e:u(e);return n.indexOf(" "+t+" ")>=0}function l(e,t){var n=u(e),r=n+t;s(n,t)||(e.className=r.substring(1))}function c(e,t){var n,r=u(e);s(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function u(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function d(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return e}))},"32a1":function(e,t,n){var r=n("6d8b"),i=n("7dcf"),a=n("ef6a"),o=n("5576"),s=r.bind,l=i.extend({type:"dataZoom.inside",init:function(e,t){this._range},render:function(e,t,n,i){l.superApply(this,"render",arguments),this._range=e.getPercentRange(),r.each(this.getTargetCoordInfo(),(function(t,i){var a=r.map(t,(function(e){return o.generateCoordId(e.model)}));r.each(t,(function(t){var l=t.model,u={};r.each(["pan","zoom","scrollMove"],(function(e){u[e]=s(c[e],this,t,i)}),this),o.register(n,{coordId:o.generateCoordId(l),allCoordIds:a,containsPoint:function(e,t,n){return l.coordinateSystem.containPoint([t,n])},dataZoomId:e.id,dataZoomModel:e,getRange:u})}),this)}),this)},dispose:function(){o.unregister(this.api,this.dataZoomModel.id),l.superApply(this,"dispose",arguments),this._range=null}}),c={zoom:function(e,t,n,r){var i=this._range,o=i.slice(),s=e.axisModels[0];if(s){var l=d[t](null,[r.originX,r.originY],s,n,e),c=(l.signal>0?l.pixelStart+l.pixelLength-l.pixel:l.pixel-l.pixelStart)/l.pixelLength*(o[1]-o[0])+o[0],u=Math.max(1/r.scale,0);o[0]=(o[0]-c)*u+c,o[1]=(o[1]-c)*u+c;var h=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return a(0,o,[0,100],0,h.minSpan,h.maxSpan),this._range=o,i[0]!==o[0]||i[1]!==o[1]?o:void 0}},pan:u((function(e,t,n,r,i,a){var o=d[r]([a.oldX,a.oldY],[a.newX,a.newY],t,i,n);return o.signal*(e[1]-e[0])*o.pixel/o.pixelLength})),scrollMove:u((function(e,t,n,r,i,a){var o=d[r]([0,0],[a.scrollDelta,a.scrollDelta],t,i,n);return o.signal*(e[1]-e[0])*a.scrollDelta}))};function u(e){return function(t,n,r,i){var o=this._range,s=o.slice(),l=t.axisModels[0];if(l){var c=e(s,l,t,n,r,i);return a(c,s,[0,100],"all"),this._range=s,o[0]!==s[0]||o[1]!==s[1]?s:void 0}}}var d={grid:function(e,t,n,r,i){var a=n.axis,o={},s=i.model.coordinateSystem.getRect();return e=e||[0,0],"x"===a.dim?(o.pixel=t[0]-e[0],o.pixelLength=s.width,o.pixelStart=s.x,o.signal=a.inverse?1:-1):(o.pixel=t[1]-e[1],o.pixelLength=s.height,o.pixelStart=s.y,o.signal=a.inverse?-1:1),o},polar:function(e,t,n,r,i){var a=n.axis,o={},s=i.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),c=s.getAngleAxis().getExtent();return e=e?s.pointToCoord(e):[0,0],t=s.pointToCoord(t),"radiusAxis"===n.mainType?(o.pixel=t[0]-e[0],o.pixelLength=l[1]-l[0],o.pixelStart=l[0],o.signal=a.inverse?1:-1):(o.pixel=t[1]-e[1],o.pixelLength=c[1]-c[0],o.pixelStart=c[0],o.signal=a.inverse?-1:1),o},singleAxis:function(e,t,n,r,i){var a=n.axis,o=i.model.coordinateSystem.getRect(),s={};return e=e||[0,0],"horizontal"===a.orient?(s.pixel=t[0]-e[0],s.pixelLength=o.width,s.pixelStart=o.x,s.signal=a.inverse?1:-1):(s.pixel=t[1]-e[1],s.pixelLength=o.height,s.pixelStart=o.y,s.signal=a.inverse?-1:1),s}},h=l;e.exports=h},3301:function(e,t,n){var r=n("6d8b"),i=n("6179"),a=n("b1d4"),o=n("93d0"),s=o.SOURCE_FORMAT_ORIGINAL,l=n("2f45"),c=l.getDimensionTypeByAxis,u=n("e0d3"),d=u.getDataItemValue,h=n("2039"),p=n("8b7f"),f=p.getCoordSysInfoBySeries,_=n("ec6f"),m=n("ee1a"),g=m.enableDataStack,v=n("0f99"),y=v.makeSeriesEncodeForAxisCoordSys;function b(e,t,n){n=n||{},_.isInstance(e)||(e=_.seriesDataToSource(e));var o,s=t.get("coordinateSystem"),l=h.get(s),u=f(t);u&&(o=r.map(u.coordSysDims,(function(e){var t={name:e},n=u.axisMap.get(e);if(n){var r=n.get("type");t.type=c(r)}return t}))),o||(o=l&&(l.getDimensionsInfo?l.getDimensionsInfo():l.dimensions.slice())||["x","y"]);var d,p,m=a(e,{coordDimensions:o,generateCoord:n.generateCoord,encodeDefaulter:n.useEncodeDefaulter?r.curry(y,o,t):null});u&&r.each(m,(function(e,t){var n=e.coordDim,r=u.categoryAxisMap.get(n);r&&(null==d&&(d=t),e.ordinalMeta=r.getOrdinalMeta()),null!=e.otherDims.itemName&&(p=!0)})),p||null==d||(m[d].otherDims.itemName=0);var v=g(t,m),b=new i(m,t);b.setCalculationInfo(v);var E=null!=d&&S(e)?function(e,t,n,r){return r===d?n:this.defaultDimValueGetter(e,t,n,r)}:null;return b.hasItemOption=!1,b.initData(e,null,E),b}function S(e){if(e.sourceFormat===s){var t=E(e.data||[]);return null!=t&&!r.isArray(d(t))}}function E(e){var t=0;while(t0?1:o<0?-1:0}function y(e,t){return e.toGlobalCoord(e.dataToCoord(e.scale.parse(t)))}function b(e,t,n,r,a,o,s,l,u,d){var h=u.valueDim,p=u.categoryDim,f=Math.abs(n[p.wh]),_=e.getItemVisual(t,"symbolSize");i.isArray(_)?_=_.slice():(null==_&&(_="100%"),_=[_,_]),_[p.index]=c(_[p.index],f),_[h.index]=c(_[h.index],r?f:Math.abs(o)),d.symbolSize=_;var m=d.symbolScale=[_[0]/l,_[1]/l];m[h.index]*=(u.isHorizontal?-1:1)*s}function S(e,t,n,r,i){var a=e.get(p)||0;a&&(_.attr({scale:t.slice(),rotation:n}),_.updateTransform(),a/=_.getLineScale(),a*=t[r.valueDim.index]),i.valueLineWidth=a}function E(e,t,n,r,a,o,s,l,d,h,p,f){var _=p.categoryDim,m=p.valueDim,g=f.pxSign,v=Math.max(t[m.index]+l,0),y=v;if(r){var b=Math.abs(d),S=i.retrieve(e.get("symbolMargin"),"15%")+"",E=!1;S.lastIndexOf("!")===S.length-1&&(E=!0,S=S.slice(0,S.length-1)),S=c(S,t[m.index]);var x=Math.max(v+2*S,0),T=E?0:2*S,C=u(r),A=C?r:U((b+T)/x),w=b-A*v;S=w/2/(E?A:A-1),x=v+2*S,T=E?0:2*S,C||"fixed"===r||(A=h?U((Math.abs(h)+T)/x):0),y=A*x-T,f.repeatTimes=A,f.symbolMargin=S}var O=g*(y/2),R=f.pathPosition=[];R[_.index]=n[_.wh]/2,R[m.index]="start"===s?O:"end"===s?d-O:d/2,o&&(R[0]+=o[0],R[1]+=o[1]);var I=f.bundlePosition=[];I[_.index]=n[_.xy],I[m.index]=n[m.xy];var N=f.barRectShape=i.extend({},n);N[m.wh]=g*Math.max(Math.abs(n[m.wh]),Math.abs(R[m.index]+O)),N[_.wh]=n[_.wh];var M=f.clipShape={};M[_.xy]=-n[_.xy],M[_.wh]=p.ecSize[_.wh],M[m.xy]=0,M[m.wh]=n[m.wh]}function x(e){var t=e.symbolPatternSize,n=s(e.symbolType,-t/2,-t/2,t,t,e.color);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function T(e,t,n,r){var i=e.__pictorialBundle,a=n.symbolSize,o=n.valueLineWidth,s=n.pathPosition,l=t.valueDim,c=n.repeatTimes||0,u=0,d=a[t.valueDim.index]+o+2*n.symbolMargin;for(k(e,(function(e){e.__pictorialAnimationIndex=u,e.__pictorialRepeatTimes=c,u0:r<0)&&(i=c-1-e),t[l.index]=d*(i-c/2+.5)+s[l.index],{position:t,scale:n.symbolScale.slice(),rotation:n.rotation}}function _(){k(e,(function(e){e.trigger("emphasis")}))}function m(){k(e,(function(e){e.trigger("normal")}))}}function C(e,t,n,r){var i=e.__pictorialBundle,a=e.__pictorialMainPath;function o(){this.trigger("emphasis")}function s(){this.trigger("normal")}a?F(a,null,{position:n.pathPosition.slice(),scale:n.symbolScale.slice(),rotation:n.rotation},n,r):(a=e.__pictorialMainPath=x(n),i.add(a),F(a,{position:n.pathPosition.slice(),scale:[0,0],rotation:n.rotation},{scale:n.symbolScale.slice()},n,r),a.on("mouseover",o).on("mouseout",s)),N(a,n)}function A(e,t,n){var r=i.extend({},t.barRectShape),o=e.__pictorialBarRect;o?F(o,null,{shape:r},t,n):(o=e.__pictorialBarRect=new a.Rect({z2:2,shape:r,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),e.add(o))}function w(e,t,n,r){if(n.symbolClip){var o=e.__pictorialClipPath,s=i.extend({},n.clipShape),l=t.valueDim,c=n.animationModel,u=n.dataIndex;if(o)a.updateProps(o,{shape:s},c,u);else{s[l.wh]=0,o=new a.Rect({shape:s}),e.__pictorialBundle.setClipPath(o),e.__pictorialClipPath=o;var d={};d[l.wh]=n.clipShape[l.wh],a[r?"updateProps":"initProps"](o,{shape:d},c,u)}}}function O(e,t){var n=e.getItemModel(t);return n.getAnimationDelayParams=R,n.isAnimationEnabled=I,n}function R(e){return{index:e.__pictorialAnimationIndex,count:e.__pictorialRepeatTimes}}function I(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function N(e,t){e.off("emphasis").off("normal");var n=t.symbolScale.slice();t.hoverAnimation&&e.on("emphasis",(function(){this.animateTo({scale:[1.1*n[0],1.1*n[1]]},400,"elasticOut")})).on("normal",(function(){this.animateTo({scale:n.slice()},400,"elasticOut")}))}function M(e,t,n,r){var i=new a.Group,o=new a.Group;return i.add(o),i.__pictorialBundle=o,o.attr("position",n.bundlePosition.slice()),n.symbolRepeat?T(i,t,n):C(i,t,n),A(i,n,r),w(i,t,n,r),i.__pictorialShapeStr=P(e,n),i.__pictorialSymbolMeta=n,i}function D(e,t,n){var r=n.animationModel,i=n.dataIndex,o=e.__pictorialBundle;a.updateProps(o,{position:n.bundlePosition.slice()},r,i),n.symbolRepeat?T(e,t,n,!0):C(e,t,n,!0),A(e,n,!0),w(e,t,n,!0)}function L(e,t,n,r){var o=r.__pictorialBarRect;o&&(o.style.text=null);var s=[];k(r,(function(e){s.push(e)})),r.__pictorialMainPath&&s.push(r.__pictorialMainPath),r.__pictorialClipPath&&(n=null),i.each(s,(function(e){a.updateProps(e,{scale:[0,0]},n,t,(function(){r.parent&&r.parent.remove(r)}))})),e.setItemGraphicEl(t,null)}function P(e,t){return[e.getItemVisual(t.dataIndex,"symbol")||"none",!!t.symbolRepeat,!!t.symbolClip].join(":")}function k(e,t,n){i.each(e.__pictorialBundle.children(),(function(r){r!==e.__pictorialBarRect&&t.call(n,r)}))}function F(e,t,n,r,i,o){t&&e.attr(t),r.symbolClip&&!i?n&&e.attr(n):n&&a[i?"updateProps":"initProps"](e,n,r.animationModel,r.dataIndex,o)}function B(e,t,n){var r=n.color,o=n.dataIndex,s=n.itemModel,l=s.getModel("itemStyle").getItemStyle(["color"]),c=s.getModel("emphasis.itemStyle").getItemStyle(),u=s.getShallow("cursor");k(e,(function(e){e.setColor(r),e.setStyle(i.defaults({fill:r,opacity:n.opacity},l)),a.setHoverStyle(e,c),u&&(e.cursor=u),e.z2=n.z2}));var d={},p=t.valueDim.posDesc[+(n.boundingLength>0)],f=e.__pictorialBarRect;h(f.style,d,s,r,t.seriesModel,o,p),a.setHoverStyle(f,d)}function U(e){var t=Math.round(e);return Math.abs(e-t)<1e-4?t:Math.ceil(e)}var G=m;e.exports=G},"332f":function(e,t){e.exports=function(e){var t="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",n=t+"(<"+t+"(\\s*,\\s*"+t+")*>)?",r="false synchronized int abstract float private char boolean var static null if const for true while long strictfp finally protected import native final void enum else break transient catch instanceof byte super volatile case assert short package default double public try this switch continue throws protected public private module requires exports do",i="\\b(0[bB]([01]+[01_]+[01]+|[01]+)|0[xX]([a-fA-F0-9]+[a-fA-F0-9_]+[a-fA-F0-9]+|[a-fA-F0-9]+)|(([\\d]+[\\d_]+[\\d]+|[\\d]+)(\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))?|\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))([eE][-+]?\\d+)?)[lLfF]?",a={className:"number",begin:i,relevance:0};return{aliases:["jsp"],keywords:r,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"new throw return else",relevance:0},{className:"function",begin:"("+n+"\\s+)+"+e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:r,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,keywords:r,relevance:0,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},a,{className:"meta",begin:"@[A-Za-z]+"}]}}},3397:function(e,t,n){var r=n("7a41");e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},"340d":function(e,t,n){var r=n("6d8b"),i=n("e887"),a=n("4e47"),o=n("80f0"),s=n("eda2"),l=s.windowOpen,c="sunburstRootToNode",u=i.extend({type:"sunburst",init:function(){},render:function(e,t,n,i){var s=this;this.seriesModel=e,this.api=n,this.ecModel=t;var l=e.getData(),c=l.tree.root,u=e.getViewRoot(),d=this.group,h=e.get("renderLabelForZeroData"),p=[];u.eachNode((function(e){p.push(e)}));var f=this._oldChildren||[];if(g(p,f),b(c,u),i&&i.highlight&&i.highlight.piece){var _=e.getShallow("highlightPolicy");i.highlight.piece.onEmphasis(_)}else if(i&&i.unhighlight){var m=this.virtualPiece;!m&&c.children.length&&(m=c.children[0].piece),m&&m.onNormal()}function g(e,t){function n(e){return e.getId()}function i(n,r){var i=null==n?null:e[n],a=null==r?null:t[r];v(i,a)}0===e.length&&0===t.length||new o(t,e,n,n).add(i).update(i).remove(r.curry(i,null)).execute()}function v(n,r){if(h||!n||n.getValue()||(n=null),n!==c&&r!==c)if(r&&r.piece)n?(r.piece.updateData(!1,n,"normal",e,t),l.setItemGraphicEl(n.dataIndex,r.piece)):y(r);else if(n){var i=new a(n,e,t);d.add(i),l.setItemGraphicEl(n.dataIndex,i)}}function y(e){e&&e.piece&&(d.remove(e.piece),e.piece=null)}function b(n,r){if(r.depth>0){s.virtualPiece?s.virtualPiece.updateData(!1,n,"normal",e,t):(s.virtualPiece=new a(n,e,t),d.add(s.virtualPiece)),r.piece._onclickEvent&&r.piece.off("click",r.piece._onclickEvent);var i=function(e){s._rootToNode(r.parentNode)};r.piece._onclickEvent=i,s.virtualPiece.on("click",i)}else s.virtualPiece&&(d.remove(s.virtualPiece),s.virtualPiece=null)}this._initEvents(),this._oldChildren=p},dispose:function(){},_initEvents:function(){var e=this,t=function(t){var n=!1,r=e.seriesModel.getViewRoot();r.eachNode((function(r){if(!n&&r.piece&&r.piece.childAt(0)===t.target){var i=r.getModel().get("nodeClick");if("rootToNode"===i)e._rootToNode(r);else if("link"===i){var a=r.getModel(),o=a.get("link");if(o){var s=a.get("target",!0)||"_blank";l(o,s)}}n=!0}}))};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",t),this.group._onclickEvent=t},_rootToNode:function(e){e!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:c,from:this.uid,seriesId:this.seriesModel.id,targetNode:e})},containPoint:function(e,t){var n=t.getData(),r=n.getItemLayout(0);if(r){var i=e[0]-r.cx,a=e[1]-r.cy,o=Math.sqrt(i*i+a*a);return o<=r.r&&o>=r.r0}}}),d=u;e.exports=d},"342d":function(e,t,n){var r=n("cbe5"),i=n("20c8"),a=n("ee84"),o=Math.sqrt,s=Math.sin,l=Math.cos,c=Math.PI,u=function(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])},d=function(e,t){return(e[0]*t[0]+e[1]*t[1])/(u(e)*u(t))},h=function(e,t){return(e[0]*t[1]1&&(u*=o(b),p*=o(b));var S=(i===a?-1:1)*o((u*u*(p*p)-u*u*(y*y)-p*p*(v*v))/(u*u*(y*y)+p*p*(v*v)))||0,E=S*u*y/p,x=S*-p*v/u,T=(e+n)/2+l(g)*E-s(g)*x,C=(t+r)/2+s(g)*E+l(g)*x,A=h([1,0],[(v-E)/u,(y-x)/p]),w=[(v-E)/u,(y-x)/p],O=[(-1*v-E)/u,(-1*y-x)/p],R=h(w,O);d(w,O)<=-1&&(R=c),d(w,O)>=1&&(R=0),0===a&&R>0&&(R-=2*c),1===a&&R<0&&(R+=2*c),m.addData(_,T,C,u,p,A,R,g,a)}var f=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,_=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function m(e){if(!e)return new i;for(var t,n=0,r=0,a=n,o=r,s=new i,l=i.CMD,c=e.match(f),u=0;u=0||"+"===n?"left":"right"},u={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},d={horizontal:0,vertical:v/2},h="vertical"===r?i.height:i.width,p=e.getModel("controlStyle"),f=p.get("show",!0),_=f?p.get("itemSize"):0,m=f?p.get("itemGap"):0,g=_+m,y=e.get("label.rotate")||0;y=y*v/180;var S=p.get("position",!0),E=f&&p.get("showPlayBtn",!0),x=f&&p.get("showPrevBtn",!0),T=f&&p.get("showNextBtn",!0),C=0,A=h;return"left"===S||"bottom"===S?(E&&(a=[0,0],C+=g),x&&(o=[C,0],C+=g),T&&(s=[A-_,0],A-=g)):(E&&(a=[A-_,0],A-=g),x&&(o=[0,0],C+=g),T&&(s=[A-_,0],A-=g)),l=[C,A],e.get("inverse")&&l.reverse(),{viewRect:i,mainLength:h,orient:r,rotation:d[r],labelRotation:y,labelPosOpt:n,labelAlign:e.get("label.align")||c[r],labelBaseline:e.get("label.verticalAlign")||e.get("label.baseline")||u[r],playPosition:a,prevBtnPosition:o,nextBtnPosition:s,axisExtent:l,controlSize:_,controlGap:m}},_position:function(e,t){var n=this._mainGroup,r=this._labelGroup,i=e.viewRect;if("vertical"===e.orient){var o=a.create(),s=i.x,l=i.y+i.height;a.translate(o,o,[-s,-l]),a.rotate(o,o,-v/2),a.translate(o,o,[s,l]),i=i.clone(),i.applyTransform(o)}var c=g(i),u=g(n.getBoundingRect()),d=g(r.getBoundingRect()),h=n.position,p=r.position;p[0]=h[0]=c[0][0];var f=e.labelPosOpt;if(isNaN(f)){var _="+"===f?0:1;y(h,u,c,1,_),y(p,d,c,1,1-_)}else{_=f>=0?0:1;y(h,u,c,1,_),p[1]=h[1]+f}function m(e){var t=e.position;e.origin=[c[0][0]-t[0],c[1][0]-t[1]]}function g(e){return[[e.x,e.x+e.width],[e.y,e.y+e.height]]}function y(e,t,n,r,i){e[r]+=n[r][i]-t[r][i]}n.attr("position",h),r.attr("position",p),n.rotation=r.rotation=e.rotation,m(n),m(r)},_createAxis:function(e,t){var n=t.getData(),r=t.get("axisType"),i=h.createScaleByModel(t,r);i.getTicks=function(){return n.mapArray(["value"],(function(e){return e}))};var a=n.getDataExtent("value");i.setExtent(a[0],a[1]),i.niceTicks();var o=new c("value",i,e.axisExtent,r);return o.model=t,o},_createGroup:function(e){var t=this["_"+e]=new o.Group;return this.group.add(t),t},_renderAxisLine:function(e,t,n,i){var a=n.getExtent();i.get("lineStyle.show")&&t.add(new o.Line({shape:{x1:a[0],y1:0,x2:a[1],y2:0},style:r.extend({lineCap:"round"},i.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(e,t,n,r){var i=r.getData(),a=n.scale.getTicks();g(a,(function(e){var a=n.dataToCoord(e),s=i.getItemModel(e),l=s.getModel("itemStyle"),c=s.getModel("emphasis.itemStyle"),u={position:[a,0],onclick:m(this._changeTimeline,this,e)},d=E(s,l,t,u);o.setHoverStyle(d,c.getItemStyle()),s.get("tooltip")?(d.dataIndex=e,d.dataModel=r):d.dataIndex=d.dataModel=null}),this)},_renderAxisLabel:function(e,t,n,r){var i=n.getLabelModel();if(i.get("show")){var a=r.getData(),s=n.getViewLabels();g(s,(function(r){var i=r.tickValue,s=a.getItemModel(i),l=s.getModel("label"),c=s.getModel("emphasis.label"),u=n.dataToCoord(r.tickValue),d=new o.Text({position:[u,0],rotation:e.labelRotation-e.rotation,onclick:m(this._changeTimeline,this,i),silent:!1});o.setTextStyle(d.style,l,{text:r.formattedLabel,textAlign:e.labelAlign,textVerticalAlign:e.labelBaseline}),t.add(d),o.setHoverStyle(d,o.setTextStyle({},c))}),this)}},_renderControl:function(e,t,n,r){var i=e.controlSize,a=e.rotation,s=r.getModel("controlStyle").getItemStyle(),l=r.getModel("emphasis.controlStyle").getItemStyle(),c=[0,-i/2,i,i],u=r.getPlayState(),d=r.get("inverse",!0);function h(e,n,u,d){if(e){var h={position:e,origin:[i/2,0],rotation:d?-a:0,rectHover:!0,style:s,onclick:u},p=S(r,n,c,h);t.add(p),o.setHoverStyle(p,l)}}h(e.nextBtnPosition,"controlStyle.nextIcon",m(this._changeTimeline,this,d?"-":"+")),h(e.prevBtnPosition,"controlStyle.prevIcon",m(this._changeTimeline,this,d?"+":"-")),h(e.playPosition,"controlStyle."+(u?"stopIcon":"playIcon"),m(this._handlePlayClick,this,!u),!0)},_renderCurrentPointer:function(e,t,n,r){var i=r.getData(),a=r.getCurrentIndex(),o=i.getItemModel(a).getModel("checkpointStyle"),s=this,l={onCreate:function(e){e.draggable=!0,e.drift=m(s._handlePointerDrag,s),e.ondragend=m(s._handlePointerDragend,s),x(e,a,n,r,!0)},onUpdate:function(e){x(e,a,n,r)}};this._currentPointer=E(o,o,this._mainGroup,{},this._currentPointer,l)},_handlePlayClick:function(e){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:e,from:this.uid})},_handlePointerDrag:function(e,t,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},_handlePointerDragend:function(e){this._pointerChangeTimeline([e.offsetX,e.offsetY],!0)},_pointerChangeTimeline:function(e,t){var n=this._toAxisCoord(e)[0],r=this._axis,i=p.asc(r.getExtent().slice());n>i[1]&&(n=i[1]),nr)throw n("Maximum allowed index exceeded");return e}},"351a":function(e,t){e.exports=function(e){return{aliases:["feature"],keywords:"Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When",contains:[{className:"symbol",begin:"\\*",relevance:0},{className:"meta",begin:"@[^@\\s]+"},{begin:"\\|",end:"\\|\\w*$",contains:[{className:"string",begin:"[^|]+"}]},{className:"variable",begin:"<",end:">"},e.HASH_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},e.QUOTE_STRING_MODE]}}},3529:function(e,t,n){"use strict";var r=n("23e7"),i=n("c65b"),a=n("59ed"),o=n("f069"),s=n("e667"),l=n("2266"),c=n("5eed");r({target:"Promise",stat:!0,forced:c},{race:function(e){var t=this,n=o.f(t),r=n.reject,c=s((function(){var o=a(t.resolve);l(e,(function(e){i(o,t,e).then(n.resolve,r)}))}));return c.error&&r(c.value),n.promise}})},"35a1":function(e,t,n){var r=n("f5df"),i=n("dc4a"),a=n("7234"),o=n("3f8c"),s=n("b622"),l=s("iterator");e.exports=function(e){if(!a(e))return i(e,l)||i(e,"@@iterator")||o[r(e)]}},3728:function(e,t){e.exports=function(e){var t=e.COMMENT("{","}",{contains:["self"]});return{subLanguage:"xml",relevance:0,contains:[e.COMMENT("^#","$"),e.COMMENT("\\^rem{","}",{relevance:10,contains:[t]}),{className:"meta",begin:"^@(?:BASE|USE|CLASS|OPTIONS)$",relevance:10},{className:"title",begin:"@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$"},{className:"variable",begin:"\\$\\{?[\\w\\-\\.\\:]+\\}?"},{className:"keyword",begin:"\\^[\\w\\-\\.\\:]+"},{className:"number",begin:"\\^#[0-9a-fA-F]+"},e.C_NUMBER_MODE]}}},3790:function(e,t,n){var r=n("3a56"),i=r.extend({type:"dataZoom.slider",layoutMode:"box",defaultOption:{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#2f4554",width:.5,opacity:.3},areaStyle:{color:"rgba(47,69,84,0.3)",opacity:.3}},borderColor:"#ddd",fillerColor:"rgba(167,183,204,0.4)",handleIcon:"M8.2,13.6V3.9H6.3v9.7H3.1v14.9h3.3v9.7h1.8v-9.7h3.3V13.6H8.2z M9.7,24.4H4.8v-1.4h4.9V24.4z M9.7,19.1H4.8v-1.4h4.9V19.1z",handleSize:"100%",handleStyle:{color:"#a7b7cc"},labelPrecision:null,labelFormatter:null,showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#333"}}}),a=i;e.exports=a},"37e8":function(e,t,n){var r=n("83ab"),i=n("aed9"),a=n("9bf2"),o=n("825a"),s=n("fc6a"),l=n("df75");t.f=r&&!i?Object.defineProperties:function(e,t){o(e);var n,r=s(t),i=l(t),c=i.length,u=0;while(c>u)a.f(e,n=i[u++],r[n]);return e}},3842:function(e,t,n){var r=n("6d8b"),i=1e-4;function a(e){return e.replace(/^\s+|\s+$/g,"")}function o(e,t,n,r){var i=t[1]-t[0],a=n[1]-n[0];if(0===i)return 0===a?n[0]:(n[0]+n[1])/2;if(r)if(i>0){if(e<=t[0])return n[0];if(e>=t[1])return n[1]}else{if(e>=t[0])return n[0];if(e<=t[1])return n[1]}else{if(e===t[0])return n[0];if(e===t[1])return n[1]}return(e-t[0])/i*a+n[0]}function s(e,t){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%";break}return"string"===typeof e?a(e).match(/%$/)?parseFloat(e)/100*t:parseFloat(e):null==e?NaN:+e}function l(e,t,n){return null==t&&(t=10),t=Math.min(Math.max(0,t),20),e=(+e).toFixed(t),n?e:+e}function c(e){return e.sort((function(e,t){return e-t})),e}function u(e){if(e=+e,isNaN(e))return 0;var t=1,n=0;while(Math.round(e*t)/t!==e)t*=10,n++;return n}function d(e){var t=e.toString(),n=t.indexOf("e");if(n>0){var r=+t.slice(n+1);return r<0?-r:0}var i=t.indexOf(".");return i<0?0:t.length-1-i}function h(e,t){var n=Math.log,r=Math.LN10,i=Math.floor(n(e[1]-e[0])/r),a=Math.round(n(Math.abs(t[1]-t[0]))/r),o=Math.min(Math.max(-i+a,0),20);return isFinite(o)?o:20}function p(e,t,n){if(!e[t])return 0;var i=r.reduce(e,(function(e,t){return e+(isNaN(t)?0:t)}),0);if(0===i)return 0;var a=Math.pow(10,n),o=r.map(e,(function(e){return(isNaN(e)?0:e)/i*a*100})),s=100*a,l=r.map(o,(function(e){return Math.floor(e)})),c=r.reduce(l,(function(e,t){return e+t}),0),u=r.map(o,(function(e,t){return e-l[t]}));while(cd&&(d=u[p],h=p);++l[h],u[h]=0,++c}return l[t]/a}var f=9007199254740991;function _(e){var t=2*Math.PI;return(e%t+t)%t}function m(e){return e>-i&&e=10&&t++,t}function S(e,t){var n,r=b(e),i=Math.pow(10,r),a=e/i;return n=t?a<1.5?1:a<2.5?2:a<4?3:a<7?5:10:a<1?1:a<2?2:a<3?3:a<5?5:10,e=n*i,r>=-20?+e.toFixed(r<0?-r:0):e}function E(e,t){var n=(e.length-1)*t+1,r=Math.floor(n),i=+e[r-1],a=n-r;return a?i+a*(e[r]-i):i}function x(e){e.sort((function(e,t){return s(e,t,0)?-1:1}));for(var t=-1/0,n=1,r=0;r=0}t.linearMap=o,t.parsePercent=s,t.round=l,t.asc=c,t.getPrecision=u,t.getPrecisionSafe=d,t.getPixelPrecision=h,t.getPercentWithPrecision=p,t.MAX_SAFE_INTEGER=f,t.remRadian=_,t.isRadianAroundZero=m,t.parseDate=v,t.quantity=y,t.quantityExponent=b,t.nice=S,t.quantile=E,t.reformIntervals=x,t.isNumeric=T},"387f":function(e,t,n){"use strict";e.exports=function(e,t,n,r,i){return e.config=t,n&&(e.code=n),e.request=r,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},"38a2":function(e,t,n){var r=n("2b17"),i=r.retrieveRawValue,a=n("eda2"),o=a.getTooltipMarker,s=a.formatTpl,l=n("e0d3"),c=l.getTooltipRenderMode,u=/\{@(.+?)\}/g,d={getDataParams:function(e,t){var n=this.getData(t),r=this.getRawValue(e,t),i=n.getRawIndex(e),a=n.getName(e),s=n.getRawDataItem(e),l=n.getItemVisual(e,"color"),u=n.getItemVisual(e,"borderColor"),d=this.ecModel.getComponent("tooltip"),h=d&&d.get("renderMode"),p=c(h),f=this.mainType,_="series"===f,m=n.userOutput;return{componentType:f,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:_?this.subType:null,seriesIndex:this.seriesIndex,seriesId:_?this.id:null,seriesName:_?this.name:null,name:a,dataIndex:i,data:s,dataType:t,value:r,color:l,borderColor:u,dimensionNames:m?m.dimensionNames:null,encode:m?m.encode:null,marker:o({color:l,renderMode:p}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(e,t,n,r,a){t=t||"normal";var o=this.getData(n),l=o.getItemModel(e),c=this.getDataParams(e,n);null!=r&&c.value instanceof Array&&(c.value=c.value[r]);var d=l.get("normal"===t?[a||"label","formatter"]:[t,a||"label","formatter"]);if("function"===typeof d)return c.status=t,c.dimensionIndex=r,d(c);if("string"===typeof d){var h=s(d,c);return h.replace(u,(function(t,n){var r=n.length;return"["===n.charAt(0)&&"]"===n.charAt(r-1)&&(n=+n.slice(1,r-1)),i(o,e,n)}))}},getRawValue:function(e,t){return i(this.getData(t),e)},formatTooltip:function(){}};e.exports=d},3901:function(e,t,n){var r=n("282b"),i=r([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),a={getLineStyle:function(e){var t=i(this,e);return t.lineDash=this.getLineDash(t.lineWidth),t},getLineDash:function(e){null==e&&(e=1);var t=this.get("type"),n=Math.max(e,2),r=4*e;return"solid"!==t&&null!=t&&("dashed"===t?[r,r]:[n,n])}};e.exports=a},"392f":function(e,t,n){var r=n("6d8b"),i=r.inherits,a=n("19eb"),o=n("9850");function s(e){a.call(this,e),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}s.prototype.incremental=!0,s.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},s.prototype.addDisplayable=function(e,t){t?this._temporaryDisplayables.push(e):this._displayables.push(e),this.dirty()},s.prototype.addDisplayables=function(e,t){t=t||!1;for(var n=0;nu)if(s=l[u++],s!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},"3a34":function(e,t,n){"use strict";var r=n("83ab"),i=n("e8b5"),a=TypeError,o=Object.getOwnPropertyDescriptor,s=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=s?function(e,t){if(i(e)&&!o(e,"length").writable)throw a("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},"3a56":function(e,t,n){var r=n("4e08"),i=(r.__DEV__,n("3eba")),a=n("6d8b"),o=n("22d1"),s=n("e0d3"),l=n("50e5"),c=n("cc39"),u=a.each,d=l.eachAxisDim,h=i.extendComponentModel({type:"dataZoom",dependencies:["xAxis","yAxis","zAxis","radiusAxis","angleAxis","singleAxis","series"],defaultOption:{zlevel:0,z:4,orient:null,xAxisIndex:null,yAxisIndex:null,filterMode:"filter",throttle:null,start:0,end:100,startValue:null,endValue:null,minSpan:null,maxSpan:null,minValueSpan:null,maxValueSpan:null,rangeMode:null},init:function(e,t,n){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var r=p(e);this.settledOption=r,this.mergeDefaultAndTheme(e,n),this.doInit(r)},mergeOption:function(e){var t=p(e);a.merge(this.option,e,!0),a.merge(this.settledOption,t,!0),this.doInit(t)},doInit:function(e){var t=this.option;o.canvasSupported||(t.realtime=!1),this._setDefaultThrottle(e),f(this,e);var n=this.settledOption;u([["start","startValue"],["end","endValue"]],(function(e,r){"value"===this._rangePropMode[r]&&(t[e[0]]=n[e[0]]=null)}),this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var e=this._axisProxies;this.eachTargetAxis((function(t,n,r,i){var a=this.dependentModels[t.axis][n],o=a.__dzAxisProxy||(a.__dzAxisProxy=new c(t.name,n,this,i));e[t.name+"_"+n]=o}),this)},_resetTarget:function(){var e=this.option,t=this._judgeAutoMode();d((function(t){var n=t.axisIndex;e[n]=s.normalizeToArray(e[n])}),this),"axisIndex"===t?this._autoSetAxisIndex():"orient"===t&&this._autoSetOrient()},_judgeAutoMode:function(){var e=this.option,t=!1;d((function(n){null!=e[n.axisIndex]&&(t=!0)}),this);var n=e.orient;return null==n&&t?"orient":t?void 0:(null==n&&(e.orient="horizontal"),"axisIndex")},_autoSetAxisIndex:function(){var e=!0,t=this.get("orient",!0),n=this.option,r=this.dependentModels;if(e){var i="vertical"===t?"y":"x";r[i+"Axis"].length?(n[i+"AxisIndex"]=[0],e=!1):u(r.singleAxis,(function(r){e&&r.get("orient",!0)===t&&(n.singleAxisIndex=[r.componentIndex],e=!1)}))}e&&d((function(t){if(e){var r=[],i=this.dependentModels[t.axis];if(i.length&&!r.length)for(var a=0,o=i.length;a0?100:20}},getFirstTargetAxisModel:function(){var e;return d((function(t){if(null==e){var n=this.get(t.axisIndex);n.length&&(e=this.dependentModels[t.axis][n[0]])}}),this),e},eachTargetAxis:function(e,t){var n=this.ecModel;d((function(r){u(this.get(r.axisIndex),(function(i){e.call(t,r,i,this,n)}),this)}),this)},getAxisProxy:function(e,t){return this._axisProxies[e+"_"+t]},getAxisModel:function(e,t){var n=this.getAxisProxy(e,t);return n&&n.getAxisModel()},setRawRange:function(e){var t=this.option,n=this.settledOption;u([["start","startValue"],["end","endValue"]],(function(r){null==e[r[0]]&&null==e[r[1]]||(t[r[0]]=n[r[0]]=e[r[0]],t[r[1]]=n[r[1]]=e[r[1]])}),this),f(this,e)},setCalculatedRange:function(e){var t=this.option;u(["start","startValue","end","endValue"],(function(n){t[n]=e[n]}))},getPercentRange:function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getDataPercentWindow()},getValueRange:function(e,t){if(null!=e||null!=t)return this.getAxisProxy(e,t).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},findRepresentativeAxisProxy:function(e){if(e)return e.__dzAxisProxy;var t=this._axisProxies;for(var n in t)if(t.hasOwnProperty(n)&&t[n].hostedBy(this))return t[n];for(var n in t)if(t.hasOwnProperty(n)&&!t[n].hostedBy(this))return t[n]},getRangePropMode:function(){return this._rangePropMode.slice()}});function p(e){var t={};return u(["start","end","startValue","endValue","throttle"],(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}function f(e,t){var n=e._rangePropMode,r=e.get("rangeMode");u([["start","startValue"],["end","endValue"]],(function(e,i){var a=null!=t[e[0]],o=null!=t[e[1]];a&&!o?n[i]="percent":!a&&o?n[i]="value":r?n[i]=r[i]:a&&(n[i]="percent")}))}var _=h;e.exports=_},"3a9b":function(e,t,n){var r=n("e330");e.exports=r({}.isPrototypeOf)},"3bbe":function(e,t,n){var r=n("1626"),i=String,a=TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw a("Can't set "+i(e)+" as a prototype")}},"3c4e":function(e,t,n){"use strict";var r=function(e){return i(e)&&!a(e)};function i(e){return!!e&&"object"===typeof e}function a(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||l(e)}var o="function"===typeof Symbol&&Symbol.for,s=o?Symbol.for("react.element"):60103;function l(e){return e.$$typeof===s}function c(e){return Array.isArray(e)?[]:{}}function u(e,t){var n=t&&!0===t.clone;return n&&r(e)?p(c(e),e,t):e}function d(e,t,n){var i=e.slice();return t.forEach((function(t,a){"undefined"===typeof i[a]?i[a]=u(t,n):r(t)?i[a]=p(e[a],t,n):-1===e.indexOf(t)&&i.push(u(t,n))})),i}function h(e,t,n){var i={};return r(e)&&Object.keys(e).forEach((function(t){i[t]=u(e[t],n)})),Object.keys(t).forEach((function(a){r(t[a])&&e[a]?i[a]=p(e[a],t[a],n):i[a]=u(t[a],n)})),i}function p(e,t,n){var r=Array.isArray(t),i=Array.isArray(e),a=n||{arrayMerge:d},o=r===i;if(o){if(r){var s=a.arrayMerge||d;return s(e,t,n)}return h(e,t,n)}return u(t,n)}p.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return p(e,n,t)}))};var f=p;e.exports=f},"3c69":function(e,t){e.exports=function(e){return{lexemes:/[!#@\w]+/,keywords:{keyword:"N|0 P|0 X|0 a|0 ab abc abo al am an|0 ar arga argd arge argdo argg argl argu as au aug aun b|0 bN ba bad bd be bel bf bl bm bn bo bp br brea breaka breakd breakl bro bufdo buffers bun bw c|0 cN cNf ca cabc caddb cad caddf cal cat cb cc ccl cd ce cex cf cfir cgetb cgete cg changes chd che checkt cl cla clo cm cmapc cme cn cnew cnf cno cnorea cnoreme co col colo com comc comp con conf cope cp cpf cq cr cs cst cu cuna cunme cw delm deb debugg delc delf dif diffg diffo diffp diffpu diffs diffthis dig di dl dell dj dli do doautoa dp dr ds dsp e|0 ea ec echoe echoh echom echon el elsei em en endfo endf endt endw ene ex exe exi exu f|0 files filet fin fina fini fir fix fo foldc foldd folddoc foldo for fu go gr grepa gu gv ha helpf helpg helpt hi hid his ia iabc if ij il im imapc ime ino inorea inoreme int is isp iu iuna iunme j|0 ju k|0 keepa kee keepj lN lNf l|0 lad laddb laddf la lan lat lb lc lch lcl lcs le lefta let lex lf lfir lgetb lgete lg lgr lgrepa lh ll lla lli lmak lm lmapc lne lnew lnf ln loadk lo loc lockv lol lope lp lpf lr ls lt lu lua luad luaf lv lvimgrepa lw m|0 ma mak map mapc marks mat me menut mes mk mks mksp mkv mkvie mod mz mzf nbc nb nbs new nm nmapc nme nn nnoreme noa no noh norea noreme norm nu nun nunme ol o|0 om omapc ome on ono onoreme opt ou ounme ow p|0 profd prof pro promptr pc ped pe perld po popu pp pre prev ps pt ptN ptf ptj ptl ptn ptp ptr pts pu pw py3 python3 py3d py3f py pyd pyf quita qa rec red redi redr redraws reg res ret retu rew ri rightb rub rubyd rubyf rund ru rv sN san sa sal sav sb sbN sba sbf sbl sbm sbn sbp sbr scrip scripte scs se setf setg setl sf sfir sh sim sig sil sl sla sm smap smapc sme sn sni sno snor snoreme sor so spelld spe spelli spellr spellu spellw sp spr sre st sta startg startr star stopi stj sts sun sunm sunme sus sv sw sy synti sync tN tabN tabc tabdo tabe tabf tabfir tabl tabm tabnew tabn tabo tabp tabr tabs tab ta tags tc tcld tclf te tf th tj tl tm tn to tp tr try ts tu u|0 undoj undol una unh unl unlo unm unme uns up ve verb vert vim vimgrepa vi viu vie vm vmapc vme vne vn vnoreme vs vu vunme windo w|0 wN wa wh wi winc winp wn wp wq wqa ws wu wv x|0 xa xmapc xm xme xn xnoreme xu xunme y|0 z|0 ~ Next Print append abbreviate abclear aboveleft all amenu anoremenu args argadd argdelete argedit argglobal arglocal argument ascii autocmd augroup aunmenu buffer bNext ball badd bdelete behave belowright bfirst blast bmodified bnext botright bprevious brewind break breakadd breakdel breaklist browse bunload bwipeout change cNext cNfile cabbrev cabclear caddbuffer caddexpr caddfile call catch cbuffer cclose center cexpr cfile cfirst cgetbuffer cgetexpr cgetfile chdir checkpath checktime clist clast close cmap cmapclear cmenu cnext cnewer cnfile cnoremap cnoreabbrev cnoremenu copy colder colorscheme command comclear compiler continue confirm copen cprevious cpfile cquit crewind cscope cstag cunmap cunabbrev cunmenu cwindow delete delmarks debug debuggreedy delcommand delfunction diffupdate diffget diffoff diffpatch diffput diffsplit digraphs display deletel djump dlist doautocmd doautoall deletep drop dsearch dsplit edit earlier echo echoerr echohl echomsg else elseif emenu endif endfor endfunction endtry endwhile enew execute exit exusage file filetype find finally finish first fixdel fold foldclose folddoopen folddoclosed foldopen function global goto grep grepadd gui gvim hardcopy help helpfind helpgrep helptags highlight hide history insert iabbrev iabclear ijump ilist imap imapclear imenu inoremap inoreabbrev inoremenu intro isearch isplit iunmap iunabbrev iunmenu join jumps keepalt keepmarks keepjumps lNext lNfile list laddexpr laddbuffer laddfile last language later lbuffer lcd lchdir lclose lcscope left leftabove lexpr lfile lfirst lgetbuffer lgetexpr lgetfile lgrep lgrepadd lhelpgrep llast llist lmake lmap lmapclear lnext lnewer lnfile lnoremap loadkeymap loadview lockmarks lockvar lolder lopen lprevious lpfile lrewind ltag lunmap luado luafile lvimgrep lvimgrepadd lwindow move mark make mapclear match menu menutranslate messages mkexrc mksession mkspell mkvimrc mkview mode mzscheme mzfile nbclose nbkey nbsart next nmap nmapclear nmenu nnoremap nnoremenu noautocmd noremap nohlsearch noreabbrev noremenu normal number nunmap nunmenu oldfiles open omap omapclear omenu only onoremap onoremenu options ounmap ounmenu ownsyntax print profdel profile promptfind promptrepl pclose pedit perl perldo pop popup ppop preserve previous psearch ptag ptNext ptfirst ptjump ptlast ptnext ptprevious ptrewind ptselect put pwd py3do py3file python pydo pyfile quit quitall qall read recover redo redir redraw redrawstatus registers resize retab return rewind right rightbelow ruby rubydo rubyfile rundo runtime rviminfo substitute sNext sandbox sargument sall saveas sbuffer sbNext sball sbfirst sblast sbmodified sbnext sbprevious sbrewind scriptnames scriptencoding scscope set setfiletype setglobal setlocal sfind sfirst shell simalt sign silent sleep slast smagic smapclear smenu snext sniff snomagic snoremap snoremenu sort source spelldump spellgood spellinfo spellrepall spellundo spellwrong split sprevious srewind stop stag startgreplace startreplace startinsert stopinsert stjump stselect sunhide sunmap sunmenu suspend sview swapname syntax syntime syncbind tNext tabNext tabclose tabedit tabfind tabfirst tablast tabmove tabnext tabonly tabprevious tabrewind tag tcl tcldo tclfile tearoff tfirst throw tjump tlast tmenu tnext topleft tprevious trewind tselect tunmenu undo undojoin undolist unabbreviate unhide unlet unlockvar unmap unmenu unsilent update vglobal version verbose vertical vimgrep vimgrepadd visual viusage view vmap vmapclear vmenu vnew vnoremap vnoremenu vsplit vunmap vunmenu write wNext wall while winsize wincmd winpos wnext wprevious wqall wsverb wundo wviminfo xit xall xmapclear xmap xmenu xnoremap xnoremenu xunmap xunmenu yank",built_in:"synIDtrans atan2 range matcharg did_filetype asin feedkeys xor argv complete_check add getwinposx getqflist getwinposy screencol clearmatches empty extend getcmdpos mzeval garbagecollect setreg ceil sqrt diff_hlID inputsecret get getfperm getpid filewritable shiftwidth max sinh isdirectory synID system inputrestore winline atan visualmode inputlist tabpagewinnr round getregtype mapcheck hasmapto histdel argidx findfile sha256 exists toupper getcmdline taglist string getmatches bufnr strftime winwidth bufexists strtrans tabpagebuflist setcmdpos remote_read printf setloclist getpos getline bufwinnr float2nr len getcmdtype diff_filler luaeval resolve libcallnr foldclosedend reverse filter has_key bufname str2float strlen setline getcharmod setbufvar index searchpos shellescape undofile foldclosed setqflist buflisted strchars str2nr virtcol floor remove undotree remote_expr winheight gettabwinvar reltime cursor tabpagenr finddir localtime acos getloclist search tanh matchend rename gettabvar strdisplaywidth type abs py3eval setwinvar tolower wildmenumode log10 spellsuggest bufloaded synconcealed nextnonblank server2client complete settabwinvar executable input wincol setmatches getftype hlID inputsave searchpair or screenrow line settabvar histadd deepcopy strpart remote_peek and eval getftime submatch screenchar winsaveview matchadd mkdir screenattr getfontname libcall reltimestr getfsize winnr invert pow getbufline byte2line soundfold repeat fnameescape tagfiles sin strwidth spellbadword trunc maparg log lispindent hostname setpos globpath remote_foreground getchar synIDattr fnamemodify cscope_connection stridx winbufnr indent min complete_add nr2char searchpairpos inputdialog values matchlist items hlexists strridx browsedir expand fmod pathshorten line2byte argc count getwinvar glob foldtextresult getreg foreground cosh matchdelete has char2nr simplify histget searchdecl iconv winrestcmd pumvisible writefile foldlevel haslocaldir keys cos matchstr foldtext histnr tan tempname getcwd byteidx getbufvar islocked escape eventhandler remote_send serverlist winrestview synstack pyeval prevnonblank readfile cindent filereadable changenr exp"},illegal:/;/,contains:[e.NUMBER_MODE,{className:"string",begin:"'",end:"'",illegal:"\\n"},{className:"string",begin:/"(\\"|\n\\|[^"\n])*"/},e.COMMENT('"',"$"),{className:"variable",begin:/[bwtglsav]:[\w\d_]*/},{className:"function",beginKeywords:"function function!",end:"$",relevance:0,contains:[e.TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},{className:"symbol",begin:/<[\w-]+>/}]}}},"3ca3":function(e,t,n){"use strict";var r=n("6547").charAt,i=n("577e"),a=n("69f3"),o=n("c6d2"),s="String Iterator",l=a.set,c=a.getterFor(s);o(String,"String",(function(e){l(this,{type:s,string:i(e),index:0})}),(function(){var e,t=c(this),n=t.string,i=t.index;return i>=n.length?{value:void 0,done:!0}:(e=r(n,i),t.index+=e.length,{value:e,done:!1})}))},"3cd6":function(e,t,n){var r=n("6d8b"),i=n("48a9"),a=n("607d"),o=n("72b6"),s=n("2306"),l=n("3842"),c=n("ef6a"),u=n("cbb0"),d=n("e0d3"),h=l.linearMap,p=r.each,f=Math.min,_=Math.max,m=12,g=6,v=o.extend({type:"visualMap.continuous",init:function(){v.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(e,t,n,r){r&&"selectDataRange"===r.type&&r.from===this.uid||this._buildView()},_buildView:function(){this.group.removeAll();var e=this.visualMapModel,t=this.group;this._orient=e.get("orient"),this._useHandle=e.get("calculable"),this._resetInterval(),this._renderBar(t);var n=e.get("text");this._renderEndsText(t,n,0),this._renderEndsText(t,n,1),this._updateView(!0),this.renderBackground(t),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(t)},_renderEndsText:function(e,t,n){if(t){var r=t[1-n];r=null!=r?r+"":"";var i=this.visualMapModel,a=i.get("textGap"),o=i.itemSize,l=this._shapes.barGroup,c=this._applyTransform([o[0]/2,0===n?-a:o[1]+a],l),u=this._applyTransform(0===n?"bottom":"top",l),d=this._orient,h=this.visualMapModel.textStyleModel;this.group.add(new s.Text({style:{x:c[0],y:c[1],textVerticalAlign:"horizontal"===d?"middle":u,textAlign:"horizontal"===d?u:"center",text:r,textFont:h.getFont(),textFill:h.getTextColor()}}))}},_renderBar:function(e){var t=this.visualMapModel,n=this._shapes,i=t.itemSize,a=this._orient,o=this._useHandle,s=u.getItemAlign(t,this.api,i),l=n.barGroup=this._createBarGroup(s);l.add(n.outOfRange=y()),l.add(n.inRange=y(null,o?T(this._orient):null,r.bind(this._dragHandle,this,"all",!1),r.bind(this._dragHandle,this,"all",!0)));var c=t.textStyleModel.getTextRect("国"),d=_(c.width,c.height);o&&(n.handleThumbs=[],n.handleLabels=[],n.handleLabelPoints=[],this._createHandle(l,0,i,d,a,s),this._createHandle(l,1,i,d,a,s)),this._createIndicator(l,i,d,a),e.add(l)},_createHandle:function(e,t,n,i,o){var l=r.bind(this._dragHandle,this,t,!1),c=r.bind(this._dragHandle,this,t,!0),u=y(b(t,i),T(this._orient),l,c);u.position[0]=n[0],e.add(u);var d=this.visualMapModel.textStyleModel,h=new s.Text({draggable:!0,drift:l,onmousemove:function(e){a.stop(e.event)},ondragend:c,style:{x:0,y:0,text:"",textFont:d.getFont(),textFill:d.getTextColor()}});this.group.add(h);var p=["horizontal"===o?i/2:1.5*i,"horizontal"===o?0===t?-1.5*i:1.5*i:0===t?-i/2:i/2],f=this._shapes;f.handleThumbs[t]=u,f.handleLabelPoints[t]=p,f.handleLabels[t]=h},_createIndicator:function(e,t,n,r){var i=y([[0,0]],"move");i.position[0]=t[0],i.attr({invisible:!0,silent:!0}),e.add(i);var a=this.visualMapModel.textStyleModel,o=new s.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:a.getFont(),textFill:a.getTextColor()}});this.group.add(o);var l=["horizontal"===r?n/2:g+3,0],c=this._shapes;c.indicator=i,c.indicatorLabel=o,c.indicatorLabelPoint=l},_dragHandle:function(e,t,n,r){if(this._useHandle){if(this._dragging=!t,!t){var i=this._applyTransform([n,r],this._shapes.barGroup,!0);this._updateInterval(e,i[1]),this._updateView()}t===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),t?!this._hovering&&this._clearHoverLinkToSeries():x(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[e],!1)}},_resetInterval:function(){var e=this.visualMapModel,t=this._dataInterval=e.getSelected(),n=e.getExtent(),r=[0,e.itemSize[1]];this._handleEnds=[h(t[0],n,r,!0),h(t[1],n,r,!0)]},_updateInterval:function(e,t){t=t||0;var n=this.visualMapModel,r=this._handleEnds,i=[0,n.itemSize[1]];c(t,r,i,e,0);var a=n.getExtent();this._dataInterval=[h(r[0],i,a,!0),h(r[1],i,a,!0)]},_updateView:function(e){var t=this.visualMapModel,n=t.getExtent(),r=this._shapes,i=[0,t.itemSize[1]],a=e?i:this._handleEnds,o=this._createBarVisual(this._dataInterval,n,a,"inRange"),s=this._createBarVisual(n,n,i,"outOfRange");r.inRange.setStyle({fill:o.barColor,opacity:o.opacity}).setShape("points",o.barPoints),r.outOfRange.setStyle({fill:s.barColor,opacity:s.opacity}).setShape("points",s.barPoints),this._updateHandle(a,o)},_createBarVisual:function(e,t,n,r){var a={forceState:r,convertOpacityToAlpha:!0},o=this._makeColorGradient(e,a),s=[this.getControllerVisual(e[0],"symbolSize",a),this.getControllerVisual(e[1],"symbolSize",a)],l=this._createBarPoints(n,s);return{barColor:new i(0,0,0,1,o),barPoints:l,handlesColor:[o[0].color,o[o.length-1].color]}},_makeColorGradient:function(e,t){var n=100,r=[],i=(e[1]-e[0])/n;r.push({color:this.getControllerVisual(e[0],"color",t),offset:0});for(var a=1;ae[1])break;r.push({color:this.getControllerVisual(o,"color",t),offset:a/n})}return r.push({color:this.getControllerVisual(e[1],"color",t),offset:1}),r},_createBarPoints:function(e,t){var n=this.visualMapModel.itemSize;return[[n[0]-t[0],e[0]],[n[0],e[0]],[n[0],e[1]],[n[0]-t[1],e[1]]]},_createBarGroup:function(e){var t=this._orient,n=this.visualMapModel.get("inverse");return new s.Group("horizontal"!==t||n?"horizontal"===t&&n?{scale:"bottom"===e?[-1,1]:[1,1],rotation:-Math.PI/2}:"vertical"!==t||n?{scale:"left"===e?[1,1]:[-1,1]}:{scale:"left"===e?[1,-1]:[-1,-1]}:{scale:"bottom"===e?[1,1]:[-1,1],rotation:Math.PI/2})},_updateHandle:function(e,t){if(this._useHandle){var n=this._shapes,r=this.visualMapModel,i=n.handleThumbs,a=n.handleLabels;p([0,1],(function(o){var l=i[o];l.setStyle("fill",t.handlesColor[o]),l.position[1]=e[o];var c=s.applyTransform(n.handleLabelPoints[o],s.getTransform(l,this.group));a[o].setStyle({x:c[0],y:c[1],text:r.formatValueText(this._dataInterval[o]),textVerticalAlign:"middle",textAlign:this._applyTransform("horizontal"===this._orient?0===o?"bottom":"top":"left",n.barGroup)})}),this)}},_showIndicator:function(e,t,n,r){var i=this.visualMapModel,a=i.getExtent(),o=i.itemSize,l=[0,o[1]],c=h(e,a,l,!0),u=this._shapes,d=u.indicator;if(d){d.position[1]=c,d.attr("invisible",!1),d.setShape("points",S(!!n,r,c,o[1]));var p={convertOpacityToAlpha:!0},f=this.getControllerVisual(e,"color",p);d.setStyle("fill",f);var _=s.applyTransform(u.indicatorLabelPoint,s.getTransform(d,this.group)),m=u.indicatorLabel;m.attr("invisible",!1);var g=this._applyTransform("left",u.barGroup),v=this._orient;m.setStyle({text:(n||"")+i.formatValueText(t),textVerticalAlign:"horizontal"===v?g:"middle",textAlign:"horizontal"===v?"center":g,x:_[0],y:_[1]})}},_enableHoverLinkToSeries:function(){var e=this;this._shapes.barGroup.on("mousemove",(function(t){if(e._hovering=!0,!e._dragging){var n=e.visualMapModel.itemSize,r=e._applyTransform([t.offsetX,t.offsetY],e._shapes.barGroup,!0,!0);r[1]=f(_(0,r[1]),n[1]),e._doHoverLinkToSeries(r[1],0<=r[0]&&r[0]<=n[0])}})).on("mouseout",(function(){e._hovering=!1,!e._dragging&&e._clearHoverLinkToSeries()}))},_enableHoverLinkFromSeries:function(){var e=this.api.getZr();this.visualMapModel.option.hoverLink?(e.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),e.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(e,t){var n=this.visualMapModel,r=n.itemSize;if(n.option.hoverLink){var i=[0,r[1]],a=n.getExtent();e=f(_(i[0],e),i[1]);var o=E(n,a,i),s=[e-o,e+o],l=h(e,i,a,!0),c=[h(s[0],i,a,!0),h(s[1],i,a,!0)];s[0]i[1]&&(c[1]=1/0),t&&(c[0]===-1/0?this._showIndicator(l,c[1],"< ",o):c[1]===1/0?this._showIndicator(l,c[0],"> ",o):this._showIndicator(l,l,"≈ ",o));var p=this._hoverLinkDataIndices,m=[];(t||x(n))&&(m=this._hoverLinkDataIndices=n.findTargetDataIndices(c));var g=d.compressBatches(p,m);this._dispatchHighDown("downplay",u.makeHighDownBatch(g[0],n)),this._dispatchHighDown("highlight",u.makeHighDownBatch(g[1],n))}},_hoverLinkFromSeriesMouseOver:function(e){var t=e.target,n=this.visualMapModel;if(t&&null!=t.dataIndex){var r=this.ecModel.getSeriesByIndex(t.seriesIndex);if(n.isTargetSeries(r)){var i=r.getData(t.dataType),a=i.get(n.getDataDimension(i),t.dataIndex,!0);isNaN(a)||this._showIndicator(a,a)}}},_hideIndicator:function(){var e=this._shapes;e.indicator&&e.indicator.attr("invisible",!0),e.indicatorLabel&&e.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var e=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",u.makeHighDownBatch(e,this.visualMapModel)),e.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var e=this.api.getZr();e.off("mouseover",this._hoverLinkFromSeriesMouseOver),e.off("mouseout",this._hideIndicator)},_applyTransform:function(e,t,n,i){var a=s.getTransform(t,i?null:this.group);return s[r.isArray(e)?"applyTransform":"transformDirection"](e,a,n)},_dispatchHighDown:function(e,t){t&&t.length&&this.api.dispatchAction({type:e,batch:t})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function y(e,t,n,r){return new s.Polygon({shape:{points:e},draggable:!!n,cursor:t,drift:n,onmousemove:function(e){a.stop(e.event)},ondragend:r})}function b(e,t){return 0===e?[[0,0],[t,0],[t,-t]]:[[0,0],[t,0],[t,t]]}function S(e,t,n,r){return e?[[0,-f(t,_(n,0))],[g,0],[0,f(t,_(r-n,0))]]:[[0,0],[5,-5],[5,5]]}function E(e,t,n){var r=m/2,i=e.get("hoverLinkDataSize");return i&&(r=h(i,t,n,!0)/2),r}function x(e){var t=e.get("hoverLinkOnHandle");return!!(null==t?e.get("realtime"):t)}function T(e){return"vertical"===e?"ns-resize":"ew-resize"}var C=v;e.exports=C},"3eba":function(e,t,n){var r=n("4e08"),i=(r.__DEV__,n("697e7")),a=n("6d8b"),o=n("41ef"),s=n("22d1"),l=n("04f6"),c=n("1fab"),u=n("7e63"),d=n("843e"),h=n("2039"),p=n("ca98"),f=n("fb05"),_=n("d15d"),m=n("6cb7"),g=n("4f85"),v=n("b12f"),y=n("e887"),b=n("2306"),S=n("e0d3"),E=n("88b3"),x=E.throttle,T=n("fd63"),C=n("b809"),A=n("998c0"),w=n("69ff"),O=n("c533"),R=n("f219");n("0352");var I=n("ec34"),N=a.assert,M=a.each,D=a.isFunction,L=a.isObject,P=m.parseClassType,k="4.9.0",F={zrender:"4.3.2"},B=1,U=1e3,G=800,z=900,V=5e3,H=1e3,Y=1100,W=2e3,q=3e3,j=3500,$=4e3,K=5e3,Q={PROCESSOR:{FILTER:U,SERIES_FILTER:G,STATISTIC:V},VISUAL:{LAYOUT:H,PROGRESSIVE_LAYOUT:Y,GLOBAL:W,CHART:q,POST_CHART_LAYOUT:j,COMPONENT:$,BRUSH:K}},X="__flagInMainProcess",Z="__optionUpdated",J=/^[a-zA-Z0-9_]+$/;function ee(e,t){return function(n,r,i){t||!this._disposed?(n=n&&n.toLowerCase(),c.prototype[e].call(this,n,r,i)):be(this.id)}}function te(){c.call(this)}function ne(e,t,n){n=n||{},"string"===typeof t&&(t=Me[t]),this.id,this.group,this._dom=e;var r="canvas",o=this._zr=i.init(e,{renderer:n.renderer||r,devicePixelRatio:n.devicePixelRatio,width:n.width,height:n.height});this._throttledZrFlush=x(a.bind(o.flush,o),17);t=a.clone(t);t&&f(t,!0),this._theme=t,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new h;var s=this._api=Te(this);function u(e,t){return e.__prio-t.__prio}l(Ne,u),l(Oe,u),this._scheduler=new w(this,s,Oe,Ne),c.call(this,this._ecEventProcessor=new Ce),this._messageCenter=new te,this._initEvents(),this.resize=a.bind(this.resize,this),this._pendingActions=[],o.animation.on("frame",this._onframe,this),he(o,this),a.setAsPrimitive(this)}te.prototype.on=ee("on",!0),te.prototype.off=ee("off",!0),te.prototype.one=ee("one",!0),a.mixin(te,c);var re=ne.prototype;function ie(e,t,n){if(this._disposed)be(this.id);else{var r,i=this._model,a=this._coordSysMgr.getCoordinateSystems();t=S.parseFinder(i,t);for(var o=0;o0&&e.unfinished);e.unfinished||this._zr.flush()}}},re.getDom=function(){return this._dom},re.getZr=function(){return this._zr},re.setOption=function(e,t,n){if(this._disposed)be(this.id);else{var r;if(L(t)&&(n=t.lazyUpdate,r=t.silent,t=t.notMerge),this[X]=!0,!this._model||t){var i=new p(this._api),a=this._theme,o=this._model=new u;o.scheduler=this._scheduler,o.init(null,null,a,i)}this._model.setOption(e,Re),n?(this[Z]={silent:r},this[X]=!1):(oe(this),ae.update.call(this),this._zr.flush(),this[Z]=!1,this[X]=!1,ue.call(this,r),de.call(this,r))}},re.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},re.getModel=function(){return this._model},re.getOption=function(){return this._model&&this._model.getOption()},re.getWidth=function(){return this._zr.getWidth()},re.getHeight=function(){return this._zr.getHeight()},re.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},re.getRenderedCanvas=function(e){if(s.canvasSupported){e=e||{},e.pixelRatio=e.pixelRatio||1,e.backgroundColor=e.backgroundColor||this._model.get("backgroundColor");var t=this._zr;return t.painter.getRenderedCanvas(e)}},re.getSvgDataURL=function(){if(s.svgSupported){var e=this._zr,t=e.storage.getDisplayList();return a.each(t,(function(e){e.stopAnimation(!0)})),e.painter.toDataURL()}},re.getDataURL=function(e){if(!this._disposed){e=e||{};var t=e.excludeComponents,n=this._model,r=[],i=this;M(t,(function(e){n.eachComponent({mainType:e},(function(e){var t=i._componentsMap[e.__viewId];t.group.ignore||(r.push(t),t.group.ignore=!0)}))}));var a="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.getRenderedCanvas(e).toDataURL("image/"+(e&&e.type||"png"));return M(r,(function(e){e.group.ignore=!1})),a}be(this.id)},re.getConnectedDataURL=function(e){if(this._disposed)be(this.id);else if(s.canvasSupported){var t="svg"===e.type,n=this.group,r=Math.min,o=Math.max,l=1/0;if(Pe[n]){var c=l,u=l,d=-l,h=-l,p=[],f=e&&e.pixelRatio||1;a.each(Le,(function(i,s){if(i.group===n){var l=t?i.getZr().painter.getSvgDom().innerHTML:i.getRenderedCanvas(a.clone(e)),f=i.getDom().getBoundingClientRect();c=r(f.left,c),u=r(f.top,u),d=o(f.right,d),h=o(f.bottom,h),p.push({dom:l,left:f.left,top:f.top})}})),c*=f,u*=f,d*=f,h*=f;var _=d-c,m=h-u,g=a.createCanvas(),v=i.init(g,{renderer:t?"svg":"canvas"});if(v.resize({width:_,height:m}),t){var y="";return M(p,(function(e){var t=e.left-c,n=e.top-u;y+=''+e.dom+""})),v.painter.getSvgRoot().innerHTML=y,e.connectedBackgroundColor&&v.painter.setBackgroundColor(e.connectedBackgroundColor),v.refreshImmediately(),v.painter.toDataURL()}return e.connectedBackgroundColor&&v.add(new b.Rect({shape:{x:0,y:0,width:_,height:m},style:{fill:e.connectedBackgroundColor}})),M(p,(function(e){var t=new b.Image({style:{x:e.left*f-c,y:e.top*f-u,image:e.dom}});v.add(t)})),v.refreshImmediately(),g.toDataURL("image/"+(e&&e.type||"png"))}return this.getDataURL(e)}},re.convertToPixel=a.curry(ie,"convertToPixel"),re.convertFromPixel=a.curry(ie,"convertFromPixel"),re.containPixel=function(e,t){if(!this._disposed){var n,r=this._model;return e=S.parseFinder(r,e),a.each(e,(function(e,r){r.indexOf("Models")>=0&&a.each(e,(function(e){var i=e.coordinateSystem;if(i&&i.containPoint)n|=!!i.containPoint(t);else if("seriesModels"===r){var a=this._chartsMap[e.__viewId];a&&a.containPoint&&(n|=a.containPoint(t,e))}}),this)}),this),!!n}be(this.id)},re.getVisual=function(e,t){var n=this._model;e=S.parseFinder(n,e,{defaultMainType:"series"});var r=e.seriesModel,i=r.getData(),a=e.hasOwnProperty("dataIndexInside")?e.dataIndexInside:e.hasOwnProperty("dataIndex")?i.indexOfRawIndex(e.dataIndex):null;return null!=a?i.getItemVisual(a,t):i.getVisual(t)},re.getViewOfComponentModel=function(e){return this._componentsMap[e.__viewId]},re.getViewOfSeriesModel=function(e){return this._chartsMap[e.__viewId]};var ae={prepareAndUpdate:function(e){oe(this),ae.update.call(this,e)},update:function(e){var t=this._model,n=this._api,r=this._zr,i=this._coordSysMgr,a=this._scheduler;if(t){a.restoreData(t,e),a.performSeriesTasks(t),i.create(t,n),a.performDataProcessorTasks(t,e),le(this,t),i.update(t,n),fe(t),a.performVisualTasks(t,e),_e(this,t,n,e);var l=t.get("backgroundColor")||"transparent";if(s.canvasSupported)r.setBackgroundColor(l);else{var c=o.parse(l);l=o.stringify(c,"rgb"),0===c[3]&&(l="transparent")}ve(t,n)}},updateTransform:function(e){var t=this._model,n=this,r=this._api;if(t){var i=[];t.eachComponent((function(a,o){var s=n.getViewOfComponentModel(o);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(o,t,r,e);l&&l.update&&i.push(s)}else i.push(s)}));var o=a.createHashMap();t.eachSeries((function(i){var a=n._chartsMap[i.__viewId];if(a.updateTransform){var s=a.updateTransform(i,t,r,e);s&&s.update&&o.set(i.uid,1)}else o.set(i.uid,1)})),fe(t),this._scheduler.performVisualTasks(t,e,{setDirty:!0,dirtyMap:o}),ge(n,t,r,e,o),ve(t,this._api)}},updateView:function(e){var t=this._model;t&&(y.markUpdateMethod(e,"updateView"),fe(t),this._scheduler.performVisualTasks(t,e,{setDirty:!0}),_e(this,this._model,this._api,e),ve(t,this._api))},updateVisual:function(e){ae.update.call(this,e)},updateLayout:function(e){ae.update.call(this,e)}};function oe(e){var t=e._model,n=e._scheduler;n.restorePipelines(t),n.prepareStageTasks(),pe(e,"component",t,n),pe(e,"chart",t,n),n.plan()}function se(e,t,n,r,i){var o=e._model;if(r){var s={};s[r+"Id"]=n[r+"Id"],s[r+"Index"]=n[r+"Index"],s[r+"Name"]=n[r+"Name"];var l={mainType:r,query:s};i&&(l.subType=i);var c=n.excludeSeriesId;null!=c&&(c=a.createHashMap(S.normalizeToArray(c))),o&&o.eachComponent(l,(function(t){c&&null!=c.get(t.id)||u(e["series"===r?"_chartsMap":"_componentsMap"][t.__viewId])}),e)}else M(e._componentsViews.concat(e._chartsViews),u);function u(r){r&&r.__alive&&r[t]&&r[t](r.__model,o,e._api,n)}}function le(e,t){var n=e._chartsMap,r=e._scheduler;t.eachSeries((function(e){r.updateStreamModes(e,n[e.__viewId])}))}function ce(e,t){var n=e.type,r=e.escapeConnect,i=Ae[n],o=i.actionInfo,s=(o.update||"update").split(":"),l=s.pop();s=null!=s[0]&&P(s[0]),this[X]=!0;var c=[e],u=!1;e.batch&&(u=!0,c=a.map(e.batch,(function(t){return t=a.defaults(a.extend({},t),e),t.batch=null,t})));var d,h=[],p="highlight"===n||"downplay"===n;M(c,(function(e){d=i.action(e,this._model,this._api),d=d||a.extend({},e),d.type=o.event||d.type,h.push(d),p?se(this,l,e,"series"):s&&se(this,l,e,s.main,s.sub)}),this),"none"===l||p||s||(this[Z]?(oe(this),ae.update.call(this,e),this[Z]=!1):ae[l].call(this,e)),d=u?{type:o.event||n,escapeConnect:r,batch:h}:h[0],this[X]=!1,!t&&this._messageCenter.trigger(d.type,d)}function ue(e){var t=this._pendingActions;while(t.length){var n=t.shift();ce.call(this,n,e)}}function de(e){!e&&this.trigger("updated")}function he(e,t){e.on("rendered",(function(){t.trigger("rendered"),!e.animation.isFinished()||t[Z]||t._scheduler.unfinished||t._pendingActions.length||t.trigger("finished")}))}function pe(e,t,n,r){for(var i="component"===t,a=i?e._componentsViews:e._chartsViews,o=i?e._componentsMap:e._chartsMap,s=e._zr,l=e._api,c=0;ct.get("hoverLayerThreshold")&&!s.node&&t.eachSeries((function(t){if(!t.preventUsingHoverLayer){var n=e._chartsMap[t.__viewId];n.__alive&&n.group.traverse((function(e){e.useHoverLayer=!0}))}}))}function Ee(e,t){var n=e.get("blendMode")||null;t.group.traverse((function(e){e.isGroup||e.style.blend!==n&&e.setStyle("blend",n),e.eachPendingDisplayable&&e.eachPendingDisplayable((function(e){e.setStyle("blend",n)}))}))}function xe(e,t){var n=e.get("z"),r=e.get("zlevel");t.group.traverse((function(e){"group"!==e.type&&(null!=n&&(e.z=n),null!=r&&(e.zlevel=r))}))}function Te(e){var t=e._coordSysMgr;return a.extend(new d(e),{getCoordinateSystems:a.bind(t.getCoordinateSystems,t),getComponentByElement:function(t){while(t){var n=t.__ecComponentInfo;if(null!=n)return e._model.getComponent(n.mainType,n.index);t=t.parent}}})}function Ce(){this.eventInfo}re._initEvents=function(){M(ye,(function(e){var t=function(t){var n,r=this.getModel(),i=t.target,o="globalout"===e;if(o)n={};else if(i&&null!=i.dataIndex){var s=i.dataModel||r.getSeriesByIndex(i.seriesIndex);n=s&&s.getDataParams(i.dataIndex,i.dataType,i)||{}}else i&&i.eventData&&(n=a.extend({},i.eventData));if(n){var l=n.componentType,c=n.componentIndex;"markLine"!==l&&"markPoint"!==l&&"markArea"!==l||(l="series",c=n.seriesIndex);var u=l&&null!=c&&r.getComponent(l,c),d=u&&this["series"===u.mainType?"_chartsMap":"_componentsMap"][u.__viewId];n.event=t,n.type=e,this._ecEventProcessor.eventInfo={targetEl:i,packedEvent:n,model:u,view:d},this.trigger(e,n)}};t.zrEventfulCallAtLast=!0,this._zr.on(e,t,this)}),this),M(we,(function(e,t){this._messageCenter.on(t,(function(e){this.trigger(t,e)}),this)}),this)},re.isDisposed=function(){return this._disposed},re.clear=function(){this._disposed?be(this.id):this.setOption({series:[]},!0)},re.dispose=function(){if(this._disposed)be(this.id);else{this._disposed=!0,S.setAttribute(this.getDom(),Be,"");var e=this._api,t=this._model;M(this._componentsViews,(function(n){n.dispose(t,e)})),M(this._chartsViews,(function(n){n.dispose(t,e)})),this._zr.dispose(),delete Le[this.id]}},a.mixin(ne,c),Ce.prototype={constructor:Ce,normalizeQuery:function(e){var t={},n={},r={};if(a.isString(e)){var i=P(e);t.mainType=i.main||null,t.subType=i.sub||null}else{var o=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1};a.each(e,(function(e,i){for(var a=!1,l=0;l0&&u===i.length-c.length){var d=i.slice(0,u);"data"!==d&&(t.mainType=d,t[c.toLowerCase()]=e,a=!0)}}s.hasOwnProperty(i)&&(n[i]=e,a=!0),a||(r[i]=e)}))}return{cptQuery:t,dataQuery:n,otherQuery:r}},filter:function(e,t,n){var r=this.eventInfo;if(!r)return!0;var i=r.targetEl,a=r.packedEvent,o=r.model,s=r.view;if(!o||!s)return!0;var l=t.cptQuery,c=t.dataQuery;return u(l,o,"mainType")&&u(l,o,"subType")&&u(l,o,"index","componentIndex")&&u(l,o,"name")&&u(l,o,"id")&&u(c,a,"name")&&u(c,a,"dataIndex")&&u(c,a,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(e,t.otherQuery,i,a));function u(e,t,n,r){return null==e[n]||t[r||n]===e[n]}},afterTrigger:function(){this.eventInfo=null}};var Ae={},we={},Oe=[],Re=[],Ie=[],Ne=[],Me={},De={},Le={},Pe={},ke=new Date-0,Fe=new Date-0,Be="_echarts_instance_";function Ue(e){var t=0,n=1,r=2,i="__connectUpdateStatus";function a(e,t){for(var n=0;n|<-"}]}}},"3f6b":function(e,t,n){e.exports={default:n("b9c7"),__esModule:!0}},"3f8c":function(e,t){e.exports={}},"3f8e":function(e,t,n){var r=n("8727"),i=r.createElement,a=n("20c8"),o=n("9850"),s=n("1687"),l=n("e86a"),c=n("a73c"),u=n("76a5"),d=a.CMD,h=Array.prototype.join,p="none",f=Math.round,_=Math.sin,m=Math.cos,g=Math.PI,v=2*Math.PI,y=180/g,b=1e-4;function S(e){return f(1e4*e)/1e4}function E(e){return e-b}function x(e,t){var n=t?e.textFill:e.fill;return null!=n&&n!==p}function T(e,t){var n=t?e.textStroke:e.stroke;return null!=n&&n!==p}function C(e,t){t&&A(e,"transform","matrix("+h.call(t,",")+")")}function A(e,t,n){(!n||"linear"!==n.type&&"radial"!==n.type)&&e.setAttribute(t,n)}function w(e,t,n){e.setAttributeNS("http://www.w3.org/1999/xlink",t,n)}function O(e,t,n,r){if(x(t,n)){var i=n?t.textFill:t.fill;i="transparent"===i?p:i,A(e,"fill",i),A(e,"fill-opacity",null!=t.fillOpacity?t.fillOpacity*t.opacity:t.opacity)}else A(e,"fill",p);if(T(t,n)){var a=n?t.textStroke:t.stroke;a="transparent"===a?p:a,A(e,"stroke",a);var o=n?t.textStrokeWidth:t.lineWidth,s=!n&&t.strokeNoScale?r.getLineScale():1;A(e,"stroke-width",o/s),A(e,"paint-order",n?"stroke":"fill"),A(e,"stroke-opacity",null!=t.strokeOpacity?t.strokeOpacity:t.opacity);var l=t.lineDash;l?(A(e,"stroke-dasharray",t.lineDash.join(",")),A(e,"stroke-dashoffset",f(t.lineDashOffset||0))):A(e,"stroke-dasharray",""),t.lineCap&&A(e,"stroke-linecap",t.lineCap),t.lineJoin&&A(e,"stroke-linejoin",t.lineJoin),t.miterLimit&&A(e,"stroke-miterlimit",t.miterLimit)}else A(e,"stroke",p)}function R(e){for(var t=[],n=e.data,r=e.len(),i=0;i=v:-b>=v),w=b>0?b%v:b%v+v,O=!1;O=!!A||!E(C)&&w>=g===!!T;var R=S(l+u*m(p)),I=S(c+h*_(p));A&&(b=T?v-1e-4:1e-4-v,O=!0,9===i&&t.push("M",R,I));var N=S(l+u*m(p+b)),M=S(c+h*_(p+b));t.push("A",S(u),S(h),f(x*y),+O,+T,N,M);break;case d.Z:o="Z";break;case d.R:N=S(n[i++]),M=S(n[i++]);var D=S(n[i++]),L=S(n[i++]);t.push("M",N,M,"L",N+D,M,"L",N+D,M+L,"L",N,M+L,"L",N,M);break}o&&t.push(o);for(var P=0;PM){for(;I?@[\\\]^|]/,re=/[\0\t\n\r #/:<>?@[\\\]^|]/,ie=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,ae=/[\t\n\r]/g,oe=function(e){var t,n,r,i,a,o,s,l=z(e,".");if(l.length&&""==l[l.length-1]&&l.length--,t=l.length,t>4)return e;for(n=[],r=0;r1&&"0"==D(i,0)&&(a=L(Z,i)?16:8,i=V(i,8==a?1:2)),""===i)o=0;else{if(!L(10==a?ee:8==a?J:te,i))return e;o=I(i,a)}B(n,o)}for(r=0;r=M(256,5-t))return null}else if(o>255)return null;for(s=F(n),r=0;r6)return;r=0;while(h()){if(i=null,r>0){if(!("."==h()&&r<4))return;d++}if(!L(X,h()))return;while(L(X,h())){if(a=I(h(),10),null===i)i=a;else{if(0==i)return;i=10*i+a}if(i>255)return;d++}l[c]=256*l[c]+i,r++,2!=r&&4!=r||c++}if(4!=r)return;break}if(":"==h()){if(d++,!h())return}else if(h())return;l[c++]=t}else{if(null!==u)return;d++,c++,u=c}}if(null!==u){o=c-u,c=7;while(0!=c&&o>0)s=l[c],l[c--]=l[u+o-1],l[u+--o]=s}else if(8!=c)return;return l},le=function(e){for(var t=null,n=1,r=null,i=0,a=0;a<8;a++)0!==e[a]?(i>n&&(t=r,n=i),r=null,i=0):(null===r&&(r=a),++i);return i>n&&(t=r,n=i),t},ce=function(e){var t,n,r,i;if("number"==typeof e){for(t=[],n=0;n<4;n++)Y(t,e%256),e=N(e/256);return P(t,".")}if("object"==typeof e){for(t="",r=le(e),n=0;n<8;n++)i&&0===e[n]||(i&&(i=!1),r===n?(t+=n?":":"::",i=!0):(t+=k(e[n],16),n<7&&(t+=":")));return"["+t+"]"}return e},ue={},de=f({},ue,{" ":1,'"':1,"<":1,">":1,"`":1}),he=f({},de,{"#":1,"?":1,"{":1,"}":1}),pe=f({},he,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),fe=function(e,t){var n=g(e,0);return n>32&&n<127&&!p(t,e)?e:encodeURIComponent(e)},_e={ftp:21,file:null,http:80,https:443,ws:80,wss:443},me=function(e,t){var n;return 2==e.length&&L(K,D(e,0))&&(":"==(n=D(e,1))||!t&&"|"==n)},ge=function(e){var t;return e.length>1&&me(V(e,0,2))&&(2==e.length||"/"===(t=D(e,2))||"\\"===t||"?"===t||"#"===t)},ve=function(e){return"."===e||"%2e"===H(e)},ye=function(e){return e=H(e),".."===e||"%2e."===e||".%2e"===e||"%2e%2e"===e},be={},Se={},Ee={},xe={},Te={},Ce={},Ae={},we={},Oe={},Re={},Ie={},Ne={},Me={},De={},Le={},Pe={},ke={},Fe={},Be={},Ue={},Ge={},ze=function(e,t,n){var r,i,a,o=y(e);if(t){if(i=this.parse(o),i)throw R(i);this.searchParams=null}else{if(void 0!==n&&(r=new ze(n,!0)),i=this.parse(o,null,r),i)throw R(i);a=w(new A),a.bindURL(this),this.searchParams=a}};ze.prototype={type:"URL",parse:function(e,t,n){var i,a,o,s,l=this,c=t||be,u=0,d="",h=!1,f=!1,g=!1;e=y(e),t||(l.scheme="",l.username="",l.password="",l.host=null,l.port=null,l.path=[],l.query=null,l.fragment=null,l.cannotBeABaseURL=!1,e=U(e,ie,"")),e=U(e,ae,""),i=_(e);while(u<=i.length){switch(a=i[u],c){case be:if(!a||!L(K,a)){if(t)return q;c=Ee;continue}d+=H(a),c=Se;break;case Se:if(a&&(L(Q,a)||"+"==a||"-"==a||"."==a))d+=H(a);else{if(":"!=a){if(t)return q;d="",c=Ee,u=0;continue}if(t&&(l.isSpecial()!=p(_e,d)||"file"==d&&(l.includesCredentials()||null!==l.port)||"file"==l.scheme&&!l.host))return;if(l.scheme=d,t)return void(l.isSpecial()&&_e[l.scheme]==l.port&&(l.port=null));d="","file"==l.scheme?c=De:l.isSpecial()&&n&&n.scheme==l.scheme?c=xe:l.isSpecial()?c=we:"/"==i[u+1]?(c=Te,u++):(l.cannotBeABaseURL=!0,B(l.path,""),c=Be)}break;case Ee:if(!n||n.cannotBeABaseURL&&"#"!=a)return q;if(n.cannotBeABaseURL&&"#"==a){l.scheme=n.scheme,l.path=m(n.path),l.query=n.query,l.fragment="",l.cannotBeABaseURL=!0,c=Ge;break}c="file"==n.scheme?De:Ce;continue;case xe:if("/"!=a||"/"!=i[u+1]){c=Ce;continue}c=Oe,u++;break;case Te:if("/"==a){c=Re;break}c=Fe;continue;case Ce:if(l.scheme=n.scheme,a==r)l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=m(n.path),l.query=n.query;else if("/"==a||"\\"==a&&l.isSpecial())c=Ae;else if("?"==a)l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=m(n.path),l.query="",c=Ue;else{if("#"!=a){l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=m(n.path),l.path.length--,c=Fe;continue}l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=m(n.path),l.query=n.query,l.fragment="",c=Ge}break;case Ae:if(!l.isSpecial()||"/"!=a&&"\\"!=a){if("/"!=a){l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,c=Fe;continue}c=Re}else c=Oe;break;case we:if(c=Oe,"/"!=a||"/"!=D(d,u+1))continue;u++;break;case Oe:if("/"!=a&&"\\"!=a){c=Re;continue}break;case Re:if("@"==a){h&&(d="%40"+d),h=!0,o=_(d);for(var v=0;v65535)return $;l.port=l.isSpecial()&&E===_e[l.scheme]?null:E,d=""}if(t)return;c=ke;continue}return $}d+=a;break;case De:if(l.scheme="file","/"==a||"\\"==a)c=Le;else{if(!n||"file"!=n.scheme){c=Fe;continue}if(a==r)l.host=n.host,l.path=m(n.path),l.query=n.query;else if("?"==a)l.host=n.host,l.path=m(n.path),l.query="",c=Ue;else{if("#"!=a){ge(P(m(i,u),""))||(l.host=n.host,l.path=m(n.path),l.shortenPath()),c=Fe;continue}l.host=n.host,l.path=m(n.path),l.query=n.query,l.fragment="",c=Ge}}break;case Le:if("/"==a||"\\"==a){c=Pe;break}n&&"file"==n.scheme&&!ge(P(m(i,u),""))&&(me(n.path[0],!0)?B(l.path,n.path[0]):l.host=n.host),c=Fe;continue;case Pe:if(a==r||"/"==a||"\\"==a||"?"==a||"#"==a){if(!t&&me(d))c=Fe;else if(""==d){if(l.host="",t)return;c=ke}else{if(s=l.parseHost(d),s)return s;if("localhost"==l.host&&(l.host=""),t)return;d="",c=ke}continue}d+=a;break;case ke:if(l.isSpecial()){if(c=Fe,"/"!=a&&"\\"!=a)continue}else if(t||"?"!=a)if(t||"#"!=a){if(a!=r&&(c=Fe,"/"!=a))continue}else l.fragment="",c=Ge;else l.query="",c=Ue;break;case Fe:if(a==r||"/"==a||"\\"==a&&l.isSpecial()||!t&&("?"==a||"#"==a)){if(ye(d)?(l.shortenPath(),"/"==a||"\\"==a&&l.isSpecial()||B(l.path,"")):ve(d)?"/"==a||"\\"==a&&l.isSpecial()||B(l.path,""):("file"==l.scheme&&!l.path.length&&me(d)&&(l.host&&(l.host=""),d=D(d,0)+":"),B(l.path,d)),d="","file"==l.scheme&&(a==r||"?"==a||"#"==a))while(l.path.length>1&&""===l.path[0])G(l.path);"?"==a?(l.query="",c=Ue):"#"==a&&(l.fragment="",c=Ge)}else d+=fe(a,he);break;case Be:"?"==a?(l.query="",c=Ue):"#"==a?(l.fragment="",c=Ge):a!=r&&(l.path[0]+=fe(a,ue));break;case Ue:t||"#"!=a?a!=r&&("'"==a&&l.isSpecial()?l.query+="%27":l.query+="#"==a?"%23":fe(a,ue)):(l.fragment="",c=Ge);break;case Ge:a!=r&&(l.fragment+=fe(a,de));break}u++}},parseHost:function(e){var t,n,r;if("["==D(e,0)){if("]"!=D(e,e.length-1))return j;if(t=se(V(e,1,-1)),!t)return j;this.host=t}else if(this.isSpecial()){if(e=v(e),L(ne,e))return j;if(t=oe(e),null===t)return j;this.host=t}else{if(L(re,e))return j;for(t="",n=_(e),r=0;r1?arguments[1]:void 0,r=T(t,new ze(e,!1,n));a||(t.href=r.serialize(),t.origin=r.getOrigin(),t.protocol=r.getProtocol(),t.username=r.getUsername(),t.password=r.getPassword(),t.host=r.getHost(),t.hostname=r.getHostname(),t.port=r.getPort(),t.pathname=r.getPathname(),t.search=r.getSearch(),t.searchParams=r.getSearchParams(),t.hash=r.getHash())},He=Ve.prototype,Ye=function(e,t){return{get:function(){return C(this)[e]()},set:t&&function(e){return C(this)[t](e)},configurable:!0,enumerable:!0}};if(a&&(d(He,"href",Ye("serialize","setHref")),d(He,"origin",Ye("getOrigin")),d(He,"protocol",Ye("getProtocol","setProtocol")),d(He,"username",Ye("getUsername","setUsername")),d(He,"password",Ye("getPassword","setPassword")),d(He,"host",Ye("getHost","setHost")),d(He,"hostname",Ye("getHostname","setHostname")),d(He,"port",Ye("getPort","setPort")),d(He,"pathname",Ye("getPathname","setPathname")),d(He,"search",Ye("getSearch","setSearch")),d(He,"searchParams",Ye("getSearchParams")),d(He,"hash",Ye("getHash","setHash"))),u(He,"toJSON",(function(){return C(this).serialize()}),{enumerable:!0}),u(He,"toString",(function(){return C(this).serialize()}),{enumerable:!0}),O){var We=O.createObjectURL,qe=O.revokeObjectURL;We&&u(Ve,"createObjectURL",l(We,O)),qe&&u(Ve,"revokeObjectURL",l(qe,O))}b(Ve,"URL"),i({global:!0,constructor:!0,forced:!o,sham:!a},{URL:Ve})},"401b":function(e,t){var n="undefined"===typeof Float32Array?Array:Float32Array;function r(e,t){var r=new n(2);return null==e&&(e=0),null==t&&(t=0),r[0]=e,r[1]=t,r}function i(e,t){return e[0]=t[0],e[1]=t[1],e}function a(e){var t=new n(2);return t[0]=e[0],t[1]=e[1],t}function o(e,t,n){return e[0]=t,e[1]=n,e}function s(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e}function l(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e}function c(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e}function u(e){return Math.sqrt(h(e))}var d=u;function h(e){return e[0]*e[0]+e[1]*e[1]}var p=h;function f(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e}function _(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e}function m(e,t){return e[0]*t[0]+e[1]*t[1]}function g(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e}function v(e,t){var n=u(t);return 0===n?(e[0]=0,e[1]=0):(e[0]=t[0]/n,e[1]=t[1]/n),e}function y(e,t){return Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1]))}var b=y;function S(e,t){return(e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1])}var E=S;function x(e,t){return e[0]=-t[0],e[1]=-t[1],e}function T(e,t,n,r){return e[0]=t[0]+r*(n[0]-t[0]),e[1]=t[1]+r*(n[1]-t[1]),e}function C(e,t,n){var r=t[0],i=t[1];return e[0]=n[0]*r+n[2]*i+n[4],e[1]=n[1]*r+n[3]*i+n[5],e}function A(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e}function w(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e}t.create=r,t.copy=i,t.clone=a,t.set=o,t.add=s,t.scaleAndAdd=l,t.sub=c,t.len=u,t.length=d,t.lenSquare=h,t.lengthSquare=p,t.mul=f,t.div=_,t.dot=m,t.scale=g,t.normalize=v,t.distance=y,t.dist=b,t.distanceSquare=S,t.distSquare=E,t.negate=x,t.lerp=T,t.applyTransform=C,t.min=A,t.max=w},"408a":function(e,t,n){var r=n("e330");e.exports=r(1..valueOf)},"40d5":function(e,t,n){var r=n("d039");e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},"40f4":function(e,t){e.exports=function(e){var t="do if then else end until while abort array attrib by call cards cards4 catname continue datalines datalines4 delete delim delimiter display dm drop endsas error file filename footnote format goto in infile informat input keep label leave length libname link list lostcard merge missing modify options output out page put redirect remove rename replace retain return select set skip startsas stop title update waitsas where window x systask add and alter as cascade check create delete describe distinct drop foreign from group having index insert into in key like message modify msgtype not null on or order primary references reset restrict select set table unique update validate view where",n="abs|addr|airy|arcos|arsin|atan|attrc|attrn|band|betainv|blshift|bnot|bor|brshift|bxor|byte|cdf|ceil|cexist|cinv|close|cnonct|collate|compbl|compound|compress|cos|cosh|css|curobs|cv|daccdb|daccdbsl|daccsl|daccsyd|dacctab|dairy|date|datejul|datepart|datetime|day|dclose|depdb|depdbsl|depdbsl|depsl|depsl|depsyd|depsyd|deptab|deptab|dequote|dhms|dif|digamma|dim|dinfo|dnum|dopen|doptname|doptnum|dread|dropnote|dsname|erf|erfc|exist|exp|fappend|fclose|fcol|fdelete|fetch|fetchobs|fexist|fget|fileexist|filename|fileref|finfo|finv|fipname|fipnamel|fipstate|floor|fnonct|fnote|fopen|foptname|foptnum|fpoint|fpos|fput|fread|frewind|frlen|fsep|fuzz|fwrite|gaminv|gamma|getoption|getvarc|getvarn|hbound|hms|hosthelp|hour|ibessel|index|indexc|indexw|input|inputc|inputn|int|intck|intnx|intrr|irr|jbessel|juldate|kurtosis|lag|lbound|left|length|lgamma|libname|libref|log|log10|log2|logpdf|logpmf|logsdf|lowcase|max|mdy|mean|min|minute|mod|month|mopen|mort|n|netpv|nmiss|normal|note|npv|open|ordinal|pathname|pdf|peek|peekc|pmf|point|poisson|poke|probbeta|probbnml|probchi|probf|probgam|probhypr|probit|probnegb|probnorm|probt|put|putc|putn|qtr|quote|ranbin|rancau|ranexp|rangam|range|rank|rannor|ranpoi|rantbl|rantri|ranuni|repeat|resolve|reverse|rewind|right|round|saving|scan|sdf|second|sign|sin|sinh|skewness|soundex|spedis|sqrt|std|stderr|stfips|stname|stnamel|substr|sum|symget|sysget|sysmsg|sysprod|sysrc|system|tan|tanh|time|timepart|tinv|tnonct|today|translate|tranwrd|trigamma|trim|trimn|trunc|uniform|upcase|uss|var|varfmt|varinfmt|varlabel|varlen|varname|varnum|varray|varrayx|vartype|verify|vformat|vformatd|vformatdx|vformatn|vformatnx|vformatw|vformatwx|vformatx|vinarray|vinarrayx|vinformat|vinformatd|vinformatdx|vinformatn|vinformatnx|vinformatw|vinformatwx|vinformatx|vlabel|vlabelx|vlength|vlengthx|vname|vnamex|vtype|vtypex|weekday|year|yyq|zipfips|zipname|zipnamel|zipstate",r="bquote|nrbquote|cmpres|qcmpres|compstor|datatyp|display|do|else|end|eval|global|goto|if|index|input|keydef|label|left|length|let|local|lowcase|macro|mend|nrbquote|nrquote|nrstr|put|qcmpres|qleft|qlowcase|qscan|qsubstr|qsysfunc|qtrim|quote|qupcase|scan|str|substr|superq|syscall|sysevalf|sysexec|sysfunc|sysget|syslput|sysprod|sysrc|sysrput|then|to|trim|unquote|until|upcase|verify|while|window";return{aliases:["sas","SAS"],case_insensitive:!0,keywords:{literal:"null missing _all_ _automatic_ _character_ _infile_ _n_ _name_ _null_ _numeric_ _user_ _webout_",meta:t},contains:[{className:"keyword",begin:/^\s*(proc [\w\d_]+|data|run|quit)[\s\;]/},{className:"variable",begin:/\&[a-zA-Z_\&][a-zA-Z0-9_]*\.?/},{className:"emphasis",begin:/^\s*datalines|cards.*;/,end:/^\s*;\s*$/},{className:"built_in",begin:"%("+r+")"},{className:"name",begin:/%[a-zA-Z_][a-zA-Z_0-9]*/},{className:"meta",begin:"[^%]("+n+")[(]"},{className:"string",variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},e.COMMENT("\\*",";"),e.C_BLOCK_COMMENT_MODE]}}},4108:function(e,t){e.exports=function(e){var t="[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+",n="(\\-|\\+)?\\d+([./]\\d+)?",r=n+"[+\\-]"+n+"i",i={"builtin-name":"case-lambda call/cc class define-class exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules ' * + , ,@ - ... / ; < <= = => > >= ` abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string=? string>? string? substring symbol->string symbol? tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"},a={className:"meta",begin:"^#!",end:"$"},o={className:"literal",begin:"(#t|#f|#\\\\"+t+"|#\\\\.)"},s={className:"number",variants:[{begin:n,relevance:0},{begin:r,relevance:0},{begin:"#b[0-1]+(/[0-1]+)?"},{begin:"#o[0-7]+(/[0-7]+)?"},{begin:"#x[0-9a-f]+(/[0-9a-f]+)?"}]},l=e.QUOTE_STRING_MODE,c=[e.COMMENT(";","$",{relevance:0}),e.COMMENT("#\\|","\\|#")],u={begin:t,relevance:0},d={className:"symbol",begin:"'"+t},h={endsWithParent:!0,relevance:0},p={variants:[{begin:/'/},{begin:"`"}],contains:[{begin:"\\(",end:"\\)",contains:["self",o,l,s,u,d]}]},f={className:"name",begin:t,lexemes:t,keywords:i},_={begin:/lambda/,endsWithParent:!0,returnBegin:!0,contains:[f,{begin:/\(/,end:/\)/,endsParent:!0,contains:[u]}]},m={variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}],contains:[_,f,h]};return h.contains=[o,s,l,u,d,p,m].concat(c),{illegal:/\S/,contains:[a,s,l,d,p,m].concat(c)}}},"414c":function(e,t,n){var r=n("3a56"),i=r.extend({type:"dataZoom.select"});e.exports=i},"41b2":function(e,t,n){"use strict";t.__esModule=!0;var r=n("3f6b"),i=a(r);function a(e){return e&&e.__esModule?e:{default:e}}t.default=i.default||function(e){for(var t=1;t255?255:e}function o(e){return e=Math.round(e),e<0?0:e>360?360:e}function s(e){return e<0?0:e>1?1:e}function l(e){return e.length&&"%"===e.charAt(e.length-1)?a(parseFloat(e)/100*255):a(parseInt(e,10))}function c(e){return e.length&&"%"===e.charAt(e.length-1)?s(parseFloat(e)/100):s(parseFloat(e))}function u(e,t,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?e+(t-e)*n*6:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}function d(e,t,n){return e+(t-e)*n}function h(e,t,n,r,i){return e[0]=t,e[1]=n,e[2]=r,e[3]=i,e}function p(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}var f=new r(20),_=null;function m(e,t){_&&p(_,t),_=f.put(e,_||t.slice())}function g(e,t){if(e){t=t||[];var n=f.get(e);if(n)return p(t,n);e+="";var r=e.replace(/ /g,"").toLowerCase();if(r in i)return p(t,i[r]),m(e,t),t;if("#"!==r.charAt(0)){var a=r.indexOf("("),o=r.indexOf(")");if(-1!==a&&o+1===r.length){var s=r.substr(0,a),u=r.substr(a+1,o-(a+1)).split(","),d=1;switch(s){case"rgba":if(4!==u.length)return void h(t,0,0,0,1);d=c(u.pop());case"rgb":return 3!==u.length?void h(t,0,0,0,1):(h(t,l(u[0]),l(u[1]),l(u[2]),d),m(e,t),t);case"hsla":return 4!==u.length?void h(t,0,0,0,1):(u[3]=c(u[3]),v(u,t),m(e,t),t);case"hsl":return 3!==u.length?void h(t,0,0,0,1):(v(u,t),m(e,t),t);default:return}}h(t,0,0,0,1)}else{if(4===r.length){var _=parseInt(r.substr(1),16);return _>=0&&_<=4095?(h(t,(3840&_)>>4|(3840&_)>>8,240&_|(240&_)>>4,15&_|(15&_)<<4,1),m(e,t),t):void h(t,0,0,0,1)}if(7===r.length){_=parseInt(r.substr(1),16);return _>=0&&_<=16777215?(h(t,(16711680&_)>>16,(65280&_)>>8,255&_,1),m(e,t),t):void h(t,0,0,0,1)}}}}function v(e,t){var n=(parseFloat(e[0])%360+360)%360/360,r=c(e[1]),i=c(e[2]),o=i<=.5?i*(r+1):i+r-i*r,s=2*i-o;return t=t||[],h(t,a(255*u(s,o,n+1/3)),a(255*u(s,o,n)),a(255*u(s,o,n-1/3)),1),4===e.length&&(t[3]=e[3]),t}function y(e){if(e){var t,n,r=e[0]/255,i=e[1]/255,a=e[2]/255,o=Math.min(r,i,a),s=Math.max(r,i,a),l=s-o,c=(s+o)/2;if(0===l)t=0,n=0;else{n=c<.5?l/(s+o):l/(2-s-o);var u=((s-r)/6+l/2)/l,d=((s-i)/6+l/2)/l,h=((s-a)/6+l/2)/l;r===s?t=h-d:i===s?t=1/3+u-h:a===s&&(t=2/3+d-u),t<0&&(t+=1),t>1&&(t-=1)}var p=[360*t,n,c];return null!=e[3]&&p.push(e[3]),p}}function b(e,t){var n=g(e);if(n){for(var r=0;r<3;r++)n[r]=t<0?n[r]*(1-t)|0:(255-n[r])*t+n[r]|0,n[r]>255?n[r]=255:e[r]<0&&(n[r]=0);return O(n,4===n.length?"rgba":"rgb")}}function S(e){var t=g(e);if(t)return((1<<24)+(t[0]<<16)+(t[1]<<8)+ +t[2]).toString(16).slice(1)}function E(e,t,n){if(t&&t.length&&e>=0&&e<=1){n=n||[];var r=e*(t.length-1),i=Math.floor(r),o=Math.ceil(r),l=t[i],c=t[o],u=r-i;return n[0]=a(d(l[0],c[0],u)),n[1]=a(d(l[1],c[1],u)),n[2]=a(d(l[2],c[2],u)),n[3]=s(d(l[3],c[3],u)),n}}var x=E;function T(e,t,n){if(t&&t.length&&e>=0&&e<=1){var r=e*(t.length-1),i=Math.floor(r),o=Math.ceil(r),l=g(t[i]),c=g(t[o]),u=r-i,h=O([a(d(l[0],c[0],u)),a(d(l[1],c[1],u)),a(d(l[2],c[2],u)),s(d(l[3],c[3],u))],"rgba");return n?{color:h,leftIndex:i,rightIndex:o,value:r}:h}}var C=T;function A(e,t,n,r){if(e=g(e),e)return e=y(e),null!=t&&(e[0]=o(t)),null!=n&&(e[1]=c(n)),null!=r&&(e[2]=c(r)),O(v(e),"rgba")}function w(e,t){if(e=g(e),e&&null!=t)return e[3]=s(t),O(e,"rgba")}function O(e,t){if(e&&e.length){var n=e[0]+","+e[1]+","+e[2];return"rgba"!==t&&"hsva"!==t&&"hsla"!==t||(n+=","+e[3]),t+"("+n+")"}}t.parse=g,t.lift=b,t.toHex=S,t.fastLerp=E,t.fastMapToColor=x,t.lerp=T,t.mapToColor=C,t.modifyHSL=A,t.modifyAlpha=w,t.stringify=O},4272:function(e,t){e.exports=function(e){return{case_insensitive:!1,lexemes:"[a-zA-Z][a-zA-Z0-9_-]*",keywords:{keyword:"base-uri child-src connect-src default-src font-src form-action frame-ancestors frame-src img-src media-src object-src plugin-types report-uri sandbox script-src style-src"},contains:[{className:"string",begin:"'",end:"'"},{className:"attribute",begin:"^Content",end:":",excludeEnd:!0}]}}},"428f":function(e,t,n){var r=n("da84");e.exports=r},"42e5":function(e,t){var n=function(e){this.colorStops=e||[]};n.prototype={constructor:n,addColorStop:function(e,t){this.colorStops.push({offset:e,color:t})}};var r=n;e.exports=r},"42f6":function(e,t,n){var r=n("3eba"),i=n("6d8b"),a=n("22d1"),o=n("07d7"),s=n("82f9"),l=n("eda2"),c=n("3842"),u=n("2306"),d=n("133d"),h=n("f934"),p=n("4319"),f=n("17d6"),_=n("697e"),m=n("ff2e"),g=n("e0d3"),v=g.getTooltipRenderMode,y=i.bind,b=i.each,S=c.parsePercent,E=new u.Rect({shape:{x:-1,y:-1,width:2,height:2}}),x=r.extendComponentView({type:"tooltip",init:function(e,t){if(!a.node){var n,r=e.getComponent("tooltip"),i=r.get("renderMode");this._renderMode=v(i),"html"===this._renderMode?(n=new o(t.getDom(),t,{appendToBody:r.get("appendToBody",!0)}),this._newLine="
"):(n=new s(t),this._newLine="\n"),this._tooltipContent=n}},render:function(e,t,n){if(!a.node){this.group.removeAll(),this._tooltipModel=e,this._ecModel=t,this._api=n,this._lastDataByCoordSys=null,this._alwaysShowContent=e.get("alwaysShowContent");var r=this._tooltipContent;r.update(e),r.setEnterable(e.get("enterable")),this._initGlobalListener(),this._keepShow()}},_initGlobalListener:function(){var e=this._tooltipModel,t=e.get("triggerOn");f.register("itemTooltip",this._api,y((function(e,n,r){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(n,r):"leave"===e&&this._hide(r))}),this))},_keepShow:function(){var e=this._tooltipModel,t=this._ecModel,n=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==e.get("triggerOn")){var r=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&r.manuallyShowTip(e,t,n,{x:r._lastX,y:r._lastY})}))}},manuallyShowTip:function(e,t,n,r){if(r.from!==this.uid&&!a.node){var i=C(r,n);this._ticket="";var o=r.dataByCoordSys;if(r.tooltip&&null!=r.x&&null!=r.y){var s=E;s.position=[r.x,r.y],s.update(),s.tooltip=r.tooltip,this._tryShow({offsetX:r.x,offsetY:r.y,target:s},i)}else if(o)this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,dataByCoordSys:r.dataByCoordSys,tooltipOption:r.tooltipOption},i);else if(null!=r.seriesIndex){if(this._manuallyAxisShowTip(e,t,n,r))return;var l=d(r,t),c=l.point[0],u=l.point[1];null!=c&&null!=u&&this._tryShow({offsetX:c,offsetY:u,position:r.position,target:l.el},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))}},manuallyHideTip:function(e,t,n,r){var i=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&i.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,r.from!==this.uid&&this._hide(C(r,n))},_manuallyAxisShowTip:function(e,t,n,r){var i=r.seriesIndex,a=r.dataIndex,o=t.getComponent("axisPointer").coordSysAxesInfo;if(null!=i&&null!=a&&null!=o){var s=t.getSeriesByIndex(i);if(s){var l=s.getData();e=T([l.getItemModel(a),s,(s.coordinateSystem||{}).model,e]);if("axis"===e.get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:i,dataIndex:a,position:r.position}),!0}}},_tryShow:function(e,t){var n=e.target,r=this._tooltipModel;if(r){this._lastX=e.offsetX,this._lastY=e.offsetY;var i=e.dataByCoordSys;i&&i.length?this._showAxisTooltip(i,e):n&&null!=n.dataIndex?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(e,n,t)):n&&n.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(e,n,t)):(this._lastDataByCoordSys=null,this._hide(t))}},_showOrMove:function(e,t){var n=e.get("showDelay");t=i.bind(t,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(t,n):t()},_showAxisTooltip:function(e,t){var n=this._ecModel,r=this._tooltipModel,a=[t.offsetX,t.offsetY],o=[],s=[],c=T([t.tooltipOption,r]),u=this._renderMode,d=this._newLine,h={};b(e,(function(e){b(e.dataByAxis,(function(e){var t=n.getComponent(e.axisDim+"Axis",e.axisIndex),r=e.value,a=[];if(t&&null!=r){var c=m.getValueLabel(r,t.axis,n,e.seriesDataIndices,e.valueLabelOpt);i.each(e.seriesDataIndices,(function(o){var l=n.getSeriesByIndex(o.seriesIndex),d=o.dataIndexInside,p=l&&l.getDataParams(d);if(p.axisDim=e.axisDim,p.axisIndex=e.axisIndex,p.axisType=e.axisType,p.axisId=e.axisId,p.axisValue=_.getAxisRawValue(t.axis,r),p.axisValueLabel=c,p){s.push(p);var f,m=l.formatTooltip(d,!0,null,u);if(i.isObject(m)){f=m.html;var g=m.markers;i.merge(h,g)}else f=m;a.push(f)}}));var p=c;"html"!==u?o.push(a.join(d)):o.push((p?l.encodeHTML(p)+d:"")+a.join(d))}}))}),this),o.reverse(),o=o.join(this._newLine+this._newLine);var p=t.position;this._showOrMove(c,(function(){this._updateContentNotChangedOnAxis(e)?this._updatePosition(c,p,a[0],a[1],this._tooltipContent,s):this._showTooltipContent(c,o,s,Math.random(),a[0],a[1],p,void 0,h)}))},_showSeriesItemTooltip:function(e,t,n){var r=this._ecModel,a=t.seriesIndex,o=r.getSeriesByIndex(a),s=t.dataModel||o,l=t.dataIndex,c=t.dataType,u=s.getData(c),d=T([u.getItemModel(l),s,o&&(o.coordinateSystem||{}).model,this._tooltipModel]),h=d.get("trigger");if(null==h||"item"===h){var p,f,_=s.getDataParams(l,c),m=s.formatTooltip(l,!1,c,this._renderMode);i.isObject(m)?(p=m.html,f=m.markers):(p=m,f=null);var g="item_"+s.name+"_"+l;this._showOrMove(d,(function(){this._showTooltipContent(d,p,_,g,e.offsetX,e.offsetY,e.position,e.target,f)})),n({type:"showTip",dataIndexInside:l,dataIndex:u.getRawIndex(l),seriesIndex:a,from:this.uid})}},_showComponentItemTooltip:function(e,t,n){var r=t.tooltip;if("string"===typeof r){var i=r;r={content:i,formatter:i}}var a=new p(r,this._tooltipModel,this._ecModel),o=a.get("content"),s=Math.random();this._showOrMove(a,(function(){this._showTooltipContent(a,o,a.get("formatterParams")||{},s,e.offsetX,e.offsetY,e.position,t)})),n({type:"showTip",from:this.uid})},_showTooltipContent:function(e,t,n,r,i,a,o,s,c){if(this._ticket="",e.get("showContent")&&e.get("show")){var u=this._tooltipContent,d=e.get("formatter");o=o||e.get("position");var h=t;if(d&&"string"===typeof d)h=l.formatTpl(d,n,!0);else if("function"===typeof d){var p=y((function(t,r){t===this._ticket&&(u.setContent(r,c,e),this._updatePosition(e,o,i,a,u,n,s))}),this);this._ticket=r,h=d(n,r,p)}u.setContent(h,c,e),u.show(e),this._updatePosition(e,o,i,a,u,n,s)}},_updatePosition:function(e,t,n,r,a,o,s){var l=this._api.getWidth(),c=this._api.getHeight();t=t||e.get("position");var u=a.getSize(),d=e.get("align"),p=e.get("verticalAlign"),f=s&&s.getBoundingRect().clone();if(s&&f.applyTransform(s.transform),"function"===typeof t&&(t=t([n,r],o,a.el,f,{viewSize:[l,c],contentSize:u.slice()})),i.isArray(t))n=S(t[0],l),r=S(t[1],c);else if(i.isObject(t)){t.width=u[0],t.height=u[1];var _=h.getLayoutRect(t,{width:l,height:c});n=_.x,r=_.y,d=null,p=null}else if("string"===typeof t&&s){var m=O(t,f,u);n=m[0],r=m[1]}else{m=A(n,r,a,l,c,d?null:20,p?null:20);n=m[0],r=m[1]}if(d&&(n-=R(d)?u[0]/2:"right"===d?u[0]:0),p&&(r-=R(p)?u[1]/2:"bottom"===p?u[1]:0),e.get("confine")){m=w(n,r,a,l,c);n=m[0],r=m[1]}a.moveTo(n,r)},_updateContentNotChangedOnAxis:function(e){var t=this._lastDataByCoordSys,n=!!t&&t.length===e.length;return n&&b(t,(function(t,r){var i=t.dataByAxis||{},a=e[r]||{},o=a.dataByAxis||[];n&=i.length===o.length,n&&b(i,(function(e,t){var r=o[t]||{},i=e.seriesDataIndices||[],a=r.seriesDataIndices||[];n&=e.value===r.value&&e.axisType===r.axisType&&e.axisId===r.axisId&&i.length===a.length,n&&b(i,(function(e,t){var r=a[t];n&=e.seriesIndex===r.seriesIndex&&e.dataIndex===r.dataIndex}))}))})),this._lastDataByCoordSys=e,!!n},_hide:function(e){this._lastDataByCoordSys=null,e({type:"hideTip",from:this.uid})},dispose:function(e,t){a.node||(this._tooltipContent.dispose(),f.unregister("itemTooltip",t))}});function T(e){var t=e.pop();while(e.length){var n=e.pop();n&&(p.isInstance(n)&&(n=n.get("tooltip",!0)),"string"===typeof n&&(n={formatter:n}),t=new p(n,t,t.ecModel))}return t}function C(e,t){return e.dispatchAction||i.bind(t.dispatchAction,t)}function A(e,t,n,r,i,a,o){var s=n.getOuterSize(),l=s.width,c=s.height;return null!=a&&(e+l+a>r?e-=l+a:e+=a),null!=o&&(t+c+o>i?t-=c+o:t+=o),[e,t]}function w(e,t,n,r,i){var a=n.getOuterSize(),o=a.width,s=a.height;return e=Math.min(e+o,r)-o,t=Math.min(t+s,i)-s,e=Math.max(e,0),t=Math.max(t,0),[e,t]}function O(e,t,n){var r=n[0],i=n[1],a=5,o=0,s=0,l=t.width,c=t.height;switch(e){case"inside":o=t.x+l/2-r/2,s=t.y+c/2-i/2;break;case"top":o=t.x+l/2-r/2,s=t.y-i-a;break;case"bottom":o=t.x+l/2-r/2,s=t.y+c+a;break;case"left":o=t.x-r-a,s=t.y+c/2-i/2;break;case"right":o=t.x+l+a,s=t.y+c/2-i/2}return[o,s]}function R(e){return"center"===e||"middle"===e}e.exports=x},4319:function(e,t,n){var r=n("6d8b"),i=n("22d1"),a=n("e0d3"),o=a.makeInner,s=n("625e"),l=s.enableClassExtend,c=s.enableClassCheck,u=n("3901"),d=n("9bdb"),h=n("fe21"),p=n("551f"),f=r.mixin,_=o();function m(e,t,n){this.parentModel=t,this.ecModel=n,this.option=e}function g(e,t,n){for(var r=0;r=0;r--){o=t[r].interval;if(o[0]<=e&&e<=o[1]){a=r;break}}return r>=0&&r=t[0]&&e<=t[1]}}function u(e){var t=e.dimensions;return"lng"===t[0]&&"lat"===t[1]}var d=i.extendChartView({type:"heatmap",render:function(e,t,n){var r;t.eachComponent("visualMap",(function(t){t.eachTargetSeries((function(n){n===e&&(r=t)}))})),this.group.removeAll(),this._incrementalDisplayable=null;var i=e.coordinateSystem;"cartesian2d"===i.type||"calendar"===i.type?this._renderOnCartesianAndCalendar(e,n,0,e.getData().count()):u(i)&&this._renderOnGeo(i,e,r,n)},incrementalPrepareRender:function(e,t,n){this.group.removeAll()},incrementalRender:function(e,t,n,r){var i=t.coordinateSystem;i&&this._renderOnCartesianAndCalendar(t,r,e.start,e.end,!0)},_renderOnCartesianAndCalendar:function(e,t,n,r,i){var o,l,c=e.coordinateSystem;if("cartesian2d"===c.type){var u=c.getAxis("x"),d=c.getAxis("y");o=u.getBandWidth(),l=d.getBandWidth()}for(var h=this.group,p=e.getData(),f="itemStyle",_="emphasis.itemStyle",m="label",g="emphasis.label",v=e.getModel(f).getItemStyle(["color"]),y=e.getModel(_).getItemStyle(),b=e.getModel(m),S=e.getModel(g),E=c.type,x="cartesian2d"===E?[p.mapDimension("x"),p.mapDimension("y"),p.mapDimension("value")]:[p.mapDimension("time"),p.mapDimension("value")],T=n;T=0?r+=_:r-=_:b>=0?r-=_:r+=_}return r}function f(e,t){var n=[],a=r.quadraticSubdivide,s=[[],[],[]],l=[[],[]],c=[];t/=2,e.eachEdge((function(e,r){var u=e.getLayout(),d=e.getVisual("fromSymbol"),h=e.getVisual("toSymbol");u.__original||(u.__original=[i.clone(u[0]),i.clone(u[1])],u[2]&&u.__original.push(i.clone(u[2])));var f=u.__original;if(null!=u[2]){if(i.copy(s[0],f[0]),i.copy(s[1],f[2]),i.copy(s[2],f[1]),d&&"none"!==d){var _=o(e.node1),m=p(s,f[0],_*t);a(s[0][0],s[1][0],s[2][0],m,n),s[0][0]=n[3],s[1][0]=n[4],a(s[0][1],s[1][1],s[2][1],m,n),s[0][1]=n[3],s[1][1]=n[4]}if(h&&"none"!==h){_=o(e.node2),m=p(s,f[1],_*t);a(s[0][0],s[1][0],s[2][0],m,n),s[1][0]=n[1],s[2][0]=n[2],a(s[0][1],s[1][1],s[2][1],m,n),s[1][1]=n[1],s[2][1]=n[2]}i.copy(u[0],s[0]),i.copy(u[1],s[2]),i.copy(u[2],s[1])}else{if(i.copy(l[0],f[0]),i.copy(l[1],f[1]),i.sub(c,l[1],l[0]),i.normalize(c,c),d&&"none"!==d){_=o(e.node1);i.scaleAndAdd(l[0],l[0],c,_*t)}if(h&&"none"!==h){_=o(e.node2);i.scaleAndAdd(l[1],l[1],c,-_*t)}i.copy(u[0],l[0]),i.copy(u[1],l[1])}}))}e.exports=f},4840:function(e,t,n){var r=n("825a"),i=n("5087"),a=n("7234"),o=n("b622"),s=o("species");e.exports=function(e,t){var n,o=r(e).constructor;return void 0===o||a(n=r(o)[s])?t:i(n)}},"485a":function(e,t,n){var r=n("c65b"),i=n("1626"),a=n("861d"),o=TypeError;e.exports=function(e,t){var n,s;if("string"===t&&i(n=e.toString)&&!a(s=r(n,e)))return s;if(i(n=e.valueOf)&&!a(s=r(n,e)))return s;if("string"!==t&&i(n=e.toString)&&!a(s=r(n,e)))return s;throw o("Can't convert object to primitive value")}},"485f":function(e,t){e.exports=function(e){var t={className:"params",begin:"\\(",end:"\\)"},n={literal:".False. .True.",keyword:"kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then block endblock public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure integer real character complex logical dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_ofacosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image"};return{case_insensitive:!0,aliases:["f90","f95"],keywords:n,illegal:/\/\*/,contains:[e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{className:"string",relevance:0}),{className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[e.UNDERSCORE_TITLE_MODE,t]},e.COMMENT("!","$",{relevance:0}),{className:"number",begin:"(?=\\b|\\+|\\-|\\.)(?=\\.\\d|\\d)(?:\\d+)?(?:\\.?\\d*)(?:[de][+-]?\\d+)?\\b\\.?",relevance:0}]}}},"48a9":function(e,t,n){var r=n("6d8b"),i=n("42e5"),a=function(e,t,n,r,a,o){this.x=null==e?0:e,this.y=null==t?0:t,this.x2=null==n?1:n,this.y2=null==r?0:r,this.type="linear",this.global=o||!1,i.call(this,a)};a.prototype={constructor:a},r.inherits(a,i);var o=a;e.exports=o},"48ac":function(e,t,n){var r=n("3eba"),i=r.extendComponentModel({type:"axisPointer",coordSysAxesInfo:null,defaultOption:{show:"auto",triggerOn:null,zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#aaa",width:1,type:"solid"},shadowStyle:{color:"rgba(150,150,150,0.3)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,shadowBlur:3,shadowColor:"#aaa"},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}}}),a=i;e.exports=a},"48b8":function(e,t){e.exports=function(e){return{aliases:["patch"],contains:[{className:"meta",relevance:10,variants:[{begin:/^@@ +\-\d+,\d+ +\+\d+,\d+ +@@$/},{begin:/^\*\*\* +\d+,\d+ +\*\*\*\*$/},{begin:/^\-\-\- +\d+,\d+ +\-\-\-\-$/}]},{className:"comment",variants:[{begin:/Index: /,end:/$/},{begin:/={3,}/,end:/$/},{begin:/^\-{3}/,end:/$/},{begin:/^\*{3} /,end:/$/},{begin:/^\+{3}/,end:/$/},{begin:/^\*{15}$/}]},{className:"addition",begin:"^\\+",end:"$"},{className:"deletion",begin:"^\\-",end:"$"},{className:"addition",begin:"^\\!",end:"$"}]}}},"48c7":function(e,t,n){var r=n("6d8b"),i=n("6cb7"),a=n("9e47"),o=n("2023"),s=i.extend({type:"cartesian2dAxis",axis:null,init:function(){s.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){s.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){s.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});function l(e,t){return t.type||(t.data?"category":"value")}r.merge(s.prototype,o);var c={offset:0};a("x",s,l,c),a("y",s,l,c);var u=s;e.exports=u},4942:function(e,t,n){var r=n("2cf4"),i=r.debugMode,a=function(){};1===i&&(a=console.error);var o=a;e.exports=o},"49e8":function(e,t,n){var r=n("3eba"),i=n("6d8b"),a=n("d81e"),o=a.updateCenterAndZoom;r.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},(function(e,t){var n=e.componentType||"series";t.eachComponent({mainType:n,query:e},(function(t){var r=t.coordinateSystem;if("geo"===r.type){var a=o(r,e,t.get("scaleLimit"));t.setCenter&&t.setCenter(a.center),t.setZoom&&t.setZoom(a.zoom),"series"===n&&i.each(t.seriesGroup,(function(e){e.setCenter(a.center),e.setZoom(a.zoom)}))}}))}))},"4a01":function(e,t,n){var r=n("6d8b"),i=n("1fab"),a=n("607d"),o=n("a4fe");function s(e){this.pointerChecker,this._zr=e,this._opt={};var t=r.bind,n=t(l,this),a=t(c,this),o=t(u,this),s=t(d,this),p=t(h,this);i.call(this),this.setPointerChecker=function(e){this.pointerChecker=e},this.enable=function(t,i){this.disable(),this._opt=r.defaults(r.clone(i)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==t&&(t=!0),!0!==t&&"move"!==t&&"pan"!==t||(e.on("mousedown",n),e.on("mousemove",a),e.on("mouseup",o)),!0!==t&&"scale"!==t&&"zoom"!==t||(e.on("mousewheel",s),e.on("pinch",p))},this.disable=function(){e.off("mousedown",n),e.off("mousemove",a),e.off("mouseup",o),e.off("mousewheel",s),e.off("pinch",p)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}function l(e){if(!(a.isMiddleOrRightButtonOnMouseUpDown(e)||e.target&&e.target.draggable)){var t=e.offsetX,n=e.offsetY;this.pointerChecker&&this.pointerChecker(e,t,n)&&(this._x=t,this._y=n,this._dragging=!0)}}function c(e){if(this._dragging&&_("moveOnMouseMove",e,this._opt)&&"pinch"!==e.gestureEvent&&!o.isTaken(this._zr,"globalPan")){var t=e.offsetX,n=e.offsetY,r=this._x,i=this._y,s=t-r,l=n-i;this._x=t,this._y=n,this._opt.preventDefaultMouseMove&&a.stop(e.event),f(this,"pan","moveOnMouseMove",e,{dx:s,dy:l,oldX:r,oldY:i,newX:t,newY:n})}}function u(e){a.isMiddleOrRightButtonOnMouseUpDown(e)||(this._dragging=!1)}function d(e){var t=_("zoomOnMouseWheel",e,this._opt),n=_("moveOnMouseWheel",e,this._opt),r=e.wheelDelta,i=Math.abs(r),a=e.offsetX,o=e.offsetY;if(0!==r&&(t||n)){if(t){var s=i>3?1.4:i>1?1.2:1.1,l=r>0?s:1/s;p(this,"zoom","zoomOnMouseWheel",e,{scale:l,originX:a,originY:o})}if(n){var c=Math.abs(r),u=(r>0?1:-1)*(c>3?.4:c>1?.15:.05);p(this,"scrollMove","moveOnMouseWheel",e,{scrollDelta:u,originX:a,originY:o})}}}function h(e){if(!o.isTaken(this._zr,"globalPan")){var t=e.pinchScale>1?1.1:1/1.1;p(this,"zoom",null,e,{scale:t,originX:e.pinchX,originY:e.pinchY})}}function p(e,t,n,r,i){e.pointerChecker&&e.pointerChecker(r,i.originX,i.originY)&&(a.stop(r.event),f(e,t,n,r,i))}function f(e,t,n,i,a){a.isAvailableBehavior=r.bind(_,null,n,i),e.trigger(t,a)}function _(e,t,n){var i=n[e];return!e||i&&(!r.isString(i)||t.event[i+"Key"])}r.mixin(s,i);var m=s;e.exports=m},"4a3f":function(e,t,n){var r=n("401b"),i=r.create,a=r.distSquare,o=Math.pow,s=Math.sqrt,l=1e-8,c=1e-4,u=s(3),d=1/3,h=i(),p=i(),f=i();function _(e){return e>-l&&el||e<-l}function g(e,t,n,r,i){var a=1-i;return a*a*(a*e+3*i*t)+i*i*(i*r+3*a*n)}function v(e,t,n,r,i){var a=1-i;return 3*(((t-e)*a+2*(n-t)*i)*a+(r-n)*i*i)}function y(e,t,n,r,i,a){var l=r+3*(t-n)-e,c=3*(n-2*t+e),h=3*(t-e),p=e-i,f=c*c-3*l*h,m=c*h-9*l*p,g=h*h-3*c*p,v=0;if(_(f)&&_(m))if(_(c))a[0]=0;else{var y=-h/c;y>=0&&y<=1&&(a[v++]=y)}else{var b=m*m-4*f*g;if(_(b)){var S=m/f,E=(y=-c/l+S,-S/2);y>=0&&y<=1&&(a[v++]=y),E>=0&&E<=1&&(a[v++]=E)}else if(b>0){var x=s(b),T=f*c+1.5*l*(-m+x),C=f*c+1.5*l*(-m-x);T=T<0?-o(-T,d):o(T,d),C=C<0?-o(-C,d):o(C,d);y=(-c-(T+C))/(3*l);y>=0&&y<=1&&(a[v++]=y)}else{var A=(2*f*c-3*l*m)/(2*s(f*f*f)),w=Math.acos(A)/3,O=s(f),R=Math.cos(w),I=(y=(-c-2*O*R)/(3*l),E=(-c+O*(R+u*Math.sin(w)))/(3*l),(-c+O*(R-u*Math.sin(w)))/(3*l));y>=0&&y<=1&&(a[v++]=y),E>=0&&E<=1&&(a[v++]=E),I>=0&&I<=1&&(a[v++]=I)}}return v}function b(e,t,n,r,i){var a=6*n-12*t+6*e,o=9*t+3*r-3*e-9*n,l=3*t-3*e,c=0;if(_(o)){if(m(a)){var u=-l/a;u>=0&&u<=1&&(i[c++]=u)}}else{var d=a*a-4*o*l;if(_(d))i[0]=-a/(2*o);else if(d>0){var h=s(d),p=(u=(-a+h)/(2*o),(-a-h)/(2*o));u>=0&&u<=1&&(i[c++]=u),p>=0&&p<=1&&(i[c++]=p)}}return c}function S(e,t,n,r,i,a){var o=(t-e)*i+e,s=(n-t)*i+t,l=(r-n)*i+n,c=(s-o)*i+o,u=(l-s)*i+s,d=(u-c)*i+c;a[0]=e,a[1]=o,a[2]=c,a[3]=d,a[4]=d,a[5]=u,a[6]=l,a[7]=r}function E(e,t,n,r,i,o,l,u,d,_,m){var v,y,b,S,E,x=.005,T=1/0;h[0]=d,h[1]=_;for(var C=0;C<1;C+=.05)p[0]=g(e,n,i,l,C),p[1]=g(t,r,o,u,C),S=a(h,p),S=0&&S=0&&u<=1&&(i[c++]=u)}}else{var d=o*o-4*a*l;if(_(d)){u=-o/(2*a);u>=0&&u<=1&&(i[c++]=u)}else if(d>0){var h=s(d),p=(u=(-o+h)/(2*a),(-o-h)/(2*a));u>=0&&u<=1&&(i[c++]=u),p>=0&&p<=1&&(i[c++]=p)}}return c}function A(e,t,n){var r=e+n-2*t;return 0===r?.5:(e-t)/r}function w(e,t,n,r,i){var a=(t-e)*r+e,o=(n-t)*r+t,s=(o-a)*r+a;i[0]=e,i[1]=a,i[2]=s,i[3]=s,i[4]=o,i[5]=n}function O(e,t,n,r,i,o,l,u,d){var _,m=.005,g=1/0;h[0]=l,h[1]=u;for(var v=0;v<1;v+=.05){p[0]=x(e,n,i,v),p[1]=x(t,r,o,v);var y=a(h,p);y=0&&y=0;--r)if(t[r]===e)return!0;return!1}),n):null:n[0]},_.prototype.update=function(e,t){if(e){var n=this.getDefs(!1);if(e[this._domName]&&n.contains(e[this._domName]))"function"===typeof t&&t(e);else{var r=this.add(e);r&&(e[this._domName]=r)}}},_.prototype.addDom=function(e){var t=this.getDefs(!0);t.appendChild(e)},_.prototype.removeDom=function(e){var t=this.getDefs(!1);t&&e[this._domName]&&(t.removeChild(e[this._domName]),e[this._domName]=null)},_.prototype.getDoms=function(){var e=this.getDefs(!1);if(!e)return[];var t=[];return a.each(this._tagNames,(function(n){var r=e.getElementsByTagName(n);t=t.concat([].slice.call(r))})),t},_.prototype.markAllUnused=function(){var e=this.getDoms(),t=this;a.each(e,(function(e){e[t._markLabel]=p}))},_.prototype.markUsed=function(e){e&&(e[this._markLabel]=f)},_.prototype.removeUnused=function(){var e=this.getDefs(!1);if(e){var t=this.getDoms(),n=this;a.each(t,(function(t){t[n._markLabel]!==f&&e.removeChild(t)}))}},_.prototype.getSvgProxy=function(e){return e instanceof o?u:e instanceof s?d:e instanceof l?h:u},_.prototype.getTextSvgElement=function(e){return e.__textSvgEl},_.prototype.getSvgElement=function(e){return e.__svgEl};var m=_;e.exports=m},"4b08":function(e,t,n){var r=n("7dcf"),i=r.extend({type:"dataZoom.select"});e.exports=i},"4b8b":function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},"4bf6":function(e,t,n){var r=n("66fc"),i=n("697e"),a=n("f934"),o=a.getLayoutRect,s=n("6d8b"),l=s.each;function c(e,t,n){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(e,t,n),this.model=e}c.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:c,_init:function(e,t,n){var a=this.dimension,o=new r(a,i.createScaleByModel(e),[0,0],e.get("type"),e.get("position")),s="category"===o.type;o.onBand=s&&e.get("boundaryGap"),o.inverse=e.get("inverse"),o.orient=e.get("orient"),e.axis=o,o.model=e,o.coordinateSystem=this,this._axis=o},update:function(e,t){e.eachSeries((function(e){if(e.coordinateSystem===this){var t=e.getData();l(t.mapDimension(this.dimension,!0),(function(e){this._axis.scale.unionExtentFromData(t,e)}),this),i.niceScaleExtent(this._axis.scale,this._axis.model)}}),this)},resize:function(e,t){this._rect=o({left:e.get("left"),top:e.get("top"),right:e.get("right"),bottom:e.get("bottom"),width:e.get("width"),height:e.get("height")},{width:t.getWidth(),height:t.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var e=this._rect,t=this._axis,n=t.isHorizontal(),r=n?[0,e.width]:[0,e.height],i=t.reverse?1:0;t.setExtent(r[i],r[1-i]),this._updateAxisTransform(t,n?e.x:e.y)},_updateAxisTransform:function(e,t){var n=e.getExtent(),r=n[0]+n[1],i=e.isHorizontal();e.toGlobalCoord=i?function(e){return e+t}:function(e){return r-e+t},e.toLocalCoord=i?function(e){return e-t}:function(e){return r-e+t}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(e){var t=this.getRect(),n=this.getAxis(),r=n.orient;return"horizontal"===r?n.contain(n.toLocalCoord(e[0]))&&e[1]>=t.y&&e[1]<=t.y+t.height:n.contain(n.toLocalCoord(e[1]))&&e[0]>=t.y&&e[0]<=t.y+t.height},pointToData:function(e){var t=this.getAxis();return[t.coordToData(t.toLocalCoord(e["horizontal"===t.orient?0:1]))]},dataToPoint:function(e){var t=this.getAxis(),n=this.getRect(),r=[],i="horizontal"===t.orient?0:1;return e instanceof Array&&(e=e[0]),r[i]=t.toGlobalCoord(t.dataToCoord(+e)),r[1-i]=0===i?n.y+n.height/2:n.x+n.width/2,r}};var u=c;e.exports=u},"4c86":function(e,t,n){var r=n("6d8b"),i=r.each,a=n("bda7"),o=n("e0d3"),s=o.makeInner,l=n("320a"),c=n("1792"),u=n("6bd4"),d=n("a7f2"),h=s(),p={load:function(e,t,n){var r=h(t).parsed;if(r)return r;var o,s=t.specialAreas||{},p=t.geoJSON;try{o=p?a(p,n):[]}catch(_){throw new Error("Invalid geoJson format\n"+_.message)}return l(e,o),i(o,(function(t){var n=t.name;c(e,t),u(e,t),d(e,t);var r=s[n];r&&t.transformTo(r.left,r.top,r.width,r.height)})),h(t).parsed={regions:o,boundingRect:f(o)}}};function f(e){for(var t,n=0;n0?o:s)}function u(e,t){return t.get(e>0?i:a)}}};e.exports=l},"4d20":function(e,t,n){var r=n("1917"),i=n("10db"),a=n("6ca1"),o=n("3397"),s=n("9c0e"),l=n("faf5"),c=Object.getOwnPropertyDescriptor;t.f=n("0bad")?c:function(e,t){if(e=a(e),t=o(t,!0),l)try{return c(e,t)}catch(n){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},"4d62":function(e,t,n){var r=n("2306"),i=n("6d8b"),a=n("e887");function o(e,t){r.Group.call(this);var n=new r.Polygon,i=new r.Polyline,a=new r.Text;this.add(n),this.add(i),this.add(a),this.highDownOnUpdate=function(e,t){"emphasis"===t?(i.ignore=i.hoverIgnore,a.ignore=a.hoverIgnore):(i.ignore=i.normalIgnore,a.ignore=a.normalIgnore)},this.updateData(e,t,!0)}var s=o.prototype,l=["itemStyle","opacity"];s.updateData=function(e,t,n){var a=this.childAt(0),o=e.hostModel,s=e.getItemModel(t),c=e.getItemLayout(t),u=e.getItemModel(t).get(l);u=null==u?1:u,a.useStyle({}),n?(a.setShape({points:c.points}),a.setStyle({opacity:0}),r.initProps(a,{style:{opacity:u}},o,t)):r.updateProps(a,{style:{opacity:u},shape:{points:c.points}},o,t);var d=s.getModel("itemStyle"),h=e.getItemVisual(t,"color");a.setStyle(i.defaults({lineJoin:"round",fill:h},d.getItemStyle(["opacity"]))),a.hoverStyle=d.getModel("emphasis").getItemStyle(),this._updateLabel(e,t),r.setHoverStyle(this)},s._updateLabel=function(e,t){var n=this.childAt(1),i=this.childAt(2),a=e.hostModel,o=e.getItemModel(t),s=e.getItemLayout(t),l=s.label,c=e.getItemVisual(t,"color");r.updateProps(n,{shape:{points:l.linePoints||l.linePoints}},a,t),r.updateProps(i,{style:{x:l.x,y:l.y}},a,t),i.attr({rotation:l.rotation,origin:[l.x,l.y],z2:10});var u=o.getModel("label"),d=o.getModel("emphasis.label"),h=o.getModel("labelLine"),p=o.getModel("emphasis.labelLine");c=e.getItemVisual(t,"color");r.setLabelStyle(i.style,i.hoverStyle={},u,d,{labelFetcher:e.hostModel,labelDataIndex:t,defaultText:e.getName(t),autoColor:c,useInsideStyle:!!l.inside},{textAlign:l.textAlign,textVerticalAlign:l.verticalAlign}),i.ignore=i.normalIgnore=!u.get("show"),i.hoverIgnore=!d.get("show"),n.ignore=n.normalIgnore=!h.get("show"),n.hoverIgnore=!p.get("show"),n.setStyle({stroke:c}),n.setStyle(h.getModel("lineStyle").getLineStyle()),n.hoverStyle=p.getModel("lineStyle").getLineStyle()},i.inherits(o,r.Group);var c=a.extend({type:"funnel",render:function(e,t,n){var r=e.getData(),i=this._data,a=this.group;r.diff(i).add((function(e){var t=new o(r,e);r.setItemGraphicEl(e,t),a.add(t)})).update((function(e,t){var n=i.getItemGraphicEl(t);n.updateData(r,e),a.add(n),r.setItemGraphicEl(e,n)})).remove((function(e){var t=i.getItemGraphicEl(e);a.remove(t)})).execute(),this._data=r},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}}),u=c;e.exports=u},"4d63":function(e,t,n){var r=n("83ab"),i=n("da84"),a=n("e330"),o=n("94ca"),s=n("7156"),l=n("9112"),c=n("241c").f,u=n("3a9b"),d=n("44e7"),h=n("577e"),p=n("90d8"),f=n("9f7f"),_=n("aeb0"),m=n("cb2d"),g=n("d039"),v=n("1a2d"),y=n("69f3").enforce,b=n("2626"),S=n("b622"),E=n("fce3"),x=n("107c"),T=S("match"),C=i.RegExp,A=C.prototype,w=i.SyntaxError,O=a(A.exec),R=a("".charAt),I=a("".replace),N=a("".indexOf),M=a("".slice),D=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,L=/a/g,P=/a/g,k=new C(L)!==L,F=f.MISSED_STICKY,B=f.UNSUPPORTED_Y,U=r&&(!k||F||E||x||g((function(){return P[T]=!1,C(L)!=L||C(P)==P||"/a/i"!=C(L,"i")}))),G=function(e){for(var t,n=e.length,r=0,i="",a=!1;r<=n;r++)t=R(e,r),"\\"!==t?a||"."!==t?("["===t?a=!0:"]"===t&&(a=!1),i+=t):i+="[\\s\\S]":i+=t+R(e,++r);return i},z=function(e){for(var t,n=e.length,r=0,i="",a=[],o={},s=!1,l=!1,c=0,u="";r<=n;r++){if(t=R(e,r),"\\"===t)t+=R(e,++r);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:O(D,M(e,r+1))&&(r+=2,l=!0),i+=t,c++;continue;case">"===t&&l:if(""===u||v(o,u))throw new w("Invalid capture group name");o[u]=!0,a[a.length]=[u,c],l=!1,u="";continue}l?u+=t:i+=t}return[i,a]};if(o("RegExp",U)){for(var V=function(e,t){var n,r,i,a,o,c,f=u(A,this),_=d(e),m=void 0===t,g=[],v=e;if(!f&&_&&m&&e.constructor===V)return e;if((_||u(A,e))&&(e=e.source,m&&(t=p(v))),e=void 0===e?"":h(e),t=void 0===t?"":h(t),v=e,E&&"dotAll"in L&&(r=!!t&&N(t,"s")>-1,r&&(t=I(t,/s/g,""))),n=t,F&&"sticky"in L&&(i=!!t&&N(t,"y")>-1,i&&B&&(t=I(t,/y/g,""))),x&&(a=z(e),e=a[0],g=a[1]),o=s(C(e,t),f?this:A,V),(r||i||g.length)&&(c=y(o),r&&(c.dotAll=!0,c.raw=V(G(e),n)),i&&(c.sticky=!0),g.length&&(c.groups=g)),e!==v)try{l(o,"source",""===v?"(?:)":v)}catch(b){}return o},H=c(C),Y=0;H.length>Y;)_(V,C,H[Y++]);A.constructor=V,V.prototype=A,m(i,"RegExp",V,{constructor:!0})}b("RegExp")},"4d64":function(e,t,n){var r=n("fc6a"),i=n("23cb"),a=n("07fa"),o=function(e){return function(t,n,o){var s,l=r(t),c=a(l),u=i(o,c);if(e&&n!=n){while(c>u)if(s=l[u++],s!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},"4d85":function(e,t,n){var r=n("e46b"),i=n("4f85"),a=i.extend({type:"series.gauge",getInitialData:function(e,t){return r(this,["value"])},defaultOption:{zlevel:0,z:2,center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,lineStyle:{color:[[.2,"#91c7ae"],[.8,"#63869e"],[1,"#c23531"]],width:30}},splitLine:{show:!0,length:30,lineStyle:{color:"#eee",width:2,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:8,lineStyle:{color:"#eee",width:1,type:"solid"}},axisLabel:{show:!0,distance:5,color:"auto"},pointer:{show:!0,length:"80%",width:8},itemStyle:{color:"auto"},title:{show:!0,offsetCenter:[0,"-40%"],color:"#333",fontSize:15},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"auto",fontSize:30}}}),o=a;e.exports=o},"4d88":function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},"4d90":function(e,t,n){"use strict";var r=n("23e7"),i=n("0ccb").start,a=n("9a0c");r({target:"String",proto:!0,forced:a},{padStart:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},"4dae":function(e,t,n){var r=n("23cb"),i=n("07fa"),a=n("8418"),o=Array,s=Math.max;e.exports=function(e,t,n){for(var l=i(e),c=r(t,l),u=r(void 0===n?l:n,l),d=o(s(u-c,0)),h=0;c",end:""},n={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/},r="[A-Za-z$_][0-9A-Za-z$_]*",i={keyword:"in of if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await static import from as",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Promise"},a={className:"number",variants:[{begin:"\\b(0[bB][01]+)n?"},{begin:"\\b(0[oO][0-7]+)n?"},{begin:e.C_NUMBER_RE+"n?"}],relevance:0},o={className:"subst",begin:"\\$\\{",end:"\\}",keywords:i,contains:[]},s={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,o],subLanguage:"xml"}},l={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,o],subLanguage:"css"}},c={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,o]};o.contains=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,s,l,c,a,e.REGEXP_MODE];var u=o.contains.concat([e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]);return{aliases:["js","jsx","mjs","cjs"],keywords:i,contains:[{className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},{className:"meta",begin:/^#!/,end:/$/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,s,l,c,e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:r+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,a,{begin:/[{,\n]\s*/,relevance:0,contains:[{begin:r+"\\s*:",returnBegin:!0,relevance:0,contains:[{className:"attr",begin:r,relevance:0}]}]},{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+r+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:r},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:u}]}]},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:t.begin,end:t.end},{begin:n.begin,end:n.end}],subLanguage:"xml",contains:[{begin:n.begin,end:n.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:r}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:u}],illegal:/\[|%/},{begin:/\$[(.]/},e.METHOD_GUARD,{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"constructor get set",end:/\{/,excludeEnd:!0}],illegal:/#(?!!)/}}},"4de4":function(e,t,n){"use strict";var r=n("23e7"),i=n("b727").filter,a=n("1dde"),o=a("filter");r({target:"Array",proto:!0,forced:!o},{filter:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(e,t,n){"use strict";var r=n("0366"),i=n("c65b"),a=n("7b0b"),o=n("9bdd"),s=n("e95a"),l=n("68ee"),c=n("07fa"),u=n("8418"),d=n("9a1f"),h=n("35a1"),p=Array;e.exports=function(e){var t=a(e),n=l(this),f=arguments.length,_=f>1?arguments[1]:void 0,m=void 0!==_;m&&(_=r(_,f>2?arguments[2]:void 0));var g,v,y,b,S,E,x=h(t),T=0;if(!x||this===p&&s(x))for(g=c(t),v=n?new this(g):p(g);g>T;T++)E=m?_(t[T],T):t[T],u(v,T,E);else for(b=d(t,x),S=b.next,v=n?new this:[];!(y=i(S,b)).done;T++)E=m?o(b,_,[y.value,T],!0):y.value,u(v,T,E);return v.length=T,v}},"4e08":function(e,t,n){(function(e){var n;"undefined"!==typeof window?n=window.__DEV__:"undefined"!==typeof e&&(n=e.__DEV__),"undefined"===typeof n&&(n=!0);var r=n;t.__DEV__=r}).call(this,n("c8ba"))},"4e10":function(e,t,n){var r=n("6d8b"),i=n("e46b"),a=n("4f85"),o=n("eda2"),s=o.encodeHTML,l=o.addCommas,c=n("7023"),u=n("2b17"),d=u.retrieveRawAttr,h=n("5b87"),p=n("0f99"),f=p.makeSeriesEncodeForNameBased,_=a.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(e){for(var t=i(this,{coordDimensions:["value"],encodeDefaulter:r.curry(f,this)}),n=t.mapDimension("value"),a=r.createHashMap(),o=[],s=[],l=0,c=t.count();l":"\n";return u.join(", ")+f+s(o+" : "+a)},getTooltipPosition:function(e){if(null!=e){var t=this.getData().getName(e),n=this.coordinateSystem,r=n.getRegion(t);return r&&n.dataToPoint(r.center)}},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},defaultOption:{zlevel:0,z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:.75,showLegendSymbol:!0,dataRangeHoverLink:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,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)"}},nameProperty:"name"}});r.mixin(_,c);var m=_;e.exports=m},"4e47":function(e,t,n){var r=n("6d8b"),i=n("2306"),a={NONE:"none",DESCENDANT:"descendant",ANCESTOR:"ancestor",SELF:"self"},o=2,s=4;function l(e,t,n){i.Group.call(this);var r=new i.Sector({z2:o});r.seriesIndex=t.seriesIndex;var a=new i.Text({z2:s,silent:e.getModel("label").get("silent")});function l(){a.ignore=a.hoverIgnore}function c(){a.ignore=a.normalIgnore}this.add(r),this.add(a),this.updateData(!0,e,"normal",t,n),this.on("emphasis",l).on("normal",c).on("mouseover",l).on("mouseout",c)}var c=l.prototype;c.updateData=function(e,t,n,a,o){this.node=t,t.piece=this,a=a||this._seriesModel,o=o||this._ecModel;var s=this.childAt(0);s.dataIndex=t.dataIndex;var l=t.getModel(),c=t.getLayout(),u=r.extend({},c);u.label=null;var h=d(t,a,o);f(t,a,h);var p,_=l.getModel("itemStyle").getItemStyle();if("normal"===n)p=_;else{var m=l.getModel(n+".itemStyle").getItemStyle();p=r.merge(m,_)}p=r.defaults({lineJoin:"bevel",fill:p.fill||h},p),e?(s.setShape(u),s.shape.r=c.r0,i.updateProps(s,{shape:{r:c.r}},a,t.dataIndex),s.useStyle(p)):"object"===typeof p.fill&&p.fill.type||"object"===typeof s.style.fill&&s.style.fill.type?(i.updateProps(s,{shape:u},a),s.useStyle(p)):i.updateProps(s,{shape:u,style:p},a),this._updateLabel(a,h,n);var g=l.getShallow("cursor");if(g&&s.attr("cursor",g),e){var v=a.getShallow("highlightPolicy");this._initEvents(s,t,a,v)}this._seriesModel=a||this._seriesModel,this._ecModel=o||this._ecModel,i.setHoverStyle(this)},c.onEmphasis=function(e){var t=this;this.node.hostTree.root.eachNode((function(n){n.piece&&(t.node===n?n.piece.updateData(!1,n,"emphasis"):p(n,t.node,e)?n.piece.childAt(0).trigger("highlight"):e!==a.NONE&&n.piece.childAt(0).trigger("downplay"))}))},c.onNormal=function(){this.node.hostTree.root.eachNode((function(e){e.piece&&e.piece.updateData(!1,e,"normal")}))},c.onHighlight=function(){this.updateData(!1,this.node,"highlight")},c.onDownplay=function(){this.updateData(!1,this.node,"downplay")},c._updateLabel=function(e,t,n){var a=this.node.getModel(),o=a.getModel("label"),s="normal"===n||"emphasis"===n?o:a.getModel(n+".label"),l=a.getModel("emphasis.label"),c=s.get("formatter"),u=c?n:"normal",d=r.retrieve(e.getFormattedLabel(this.node.dataIndex,u,null,null,"label"),this.node.name);!1===w("show")&&(d="");var h=this.node.getLayout(),p=s.get("minAngle");null==p&&(p=o.get("minAngle")),p=p/180*Math.PI;var f=h.endAngle-h.startAngle;null!=p&&Math.abs(f)Math.PI/2?"right":"left"):E&&"center"!==E?"left"===E?(m=h.r0+S,g>Math.PI/2&&(E="right")):"right"===E&&(m=h.r-S,g>Math.PI/2&&(E="left")):(m=(h.r+h.r0)/2,E="center"),_.attr("style",{text:d,textAlign:E,textVerticalAlign:w("verticalAlign")||"middle",opacity:w("opacity")});var x=m*v+h.cx,T=m*y+h.cy;_.attr("position",[x,T]);var C=w("rotate"),A=0;function w(e){var t=s.get(e);return null==t?o.get(e):t}"radial"===C?(A=-g,A<-Math.PI/2&&(A+=Math.PI)):"tangential"===C?(A=Math.PI/2-g,A>Math.PI/2?A-=Math.PI:A<-Math.PI/2&&(A+=Math.PI)):"number"===typeof C&&(A=C*Math.PI/180),_.attr("rotation",A)},c._initEvents=function(e,t,n,r){e.off("mouseover").off("mouseout").off("emphasis").off("normal");var i=this,a=function(){i.onEmphasis(r)},o=function(){i.onNormal()},s=function(){i.onDownplay()},l=function(){i.onHighlight()};n.isAnimationEnabled()&&e.on("mouseover",a).on("mouseout",o).on("emphasis",a).on("normal",o).on("downplay",s).on("highlight",l)},r.inherits(l,i.Group);var u=l;function d(e,t,n){var r=e.getVisual("color"),i=e.getVisual("visualMeta");i&&0!==i.length||(r=null);var a=e.getModel("itemStyle").get("color");if(a)return a;if(r)return r;if(0===e.depth)return n.option.color[0];var o=n.option.color.length;return a=n.option.color[h(e)%o],a}function h(e){var t=e;while(t.depth>1)t=t.parentNode;var n=e.getAncestors()[0];return r.indexOf(n.children,t)}function p(e,t,n){return n!==a.NONE&&(n===a.SELF?e===t:n===a.ANCESTOR?e===t||e.isAncestorOf(t):e===t||e.isDescendantOf(t))}function f(e,t,n){var r=t.getData();r.setItemVisual(e.dataIndex,"color",n)}e.exports=u},"4e71":function(e,t,n){n("e198")("observable")},"4e9f":function(e,t,n){var r=n("22d1"),i=n("29a8"),a=n("2145"),o=i.toolbox.saveAsImage;function s(e){this.model=e}s.defaultOption={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:o.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:o.lang.slice()},s.prototype.unusable=!r.canvasSupported;var l=s.prototype;l.onclick=function(e,t){var n=this.model,i=n.get("name")||e.get("title.0.text")||"echarts",a="svg"===t.getZr().painter.getType(),o=a?"svg":n.get("type",!0)||"png",s=t.getConnectedDataURL({type:o,backgroundColor:n.get("backgroundColor",!0)||e.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")});if("function"!==typeof MouseEvent||r.browser.ie||r.browser.edge)if(window.navigator.msSaveOrOpenBlob){var l=atob(s.split(",")[1]),c=l.length,u=new Uint8Array(c);while(c--)u[c]=l.charCodeAt(c);var d=new Blob([u]);window.navigator.msSaveOrOpenBlob(d,i+"."+o)}else{var h=n.get("lang"),p='',f=window.open();f.document.write(p)}else{var _=document.createElement("a");_.download=i+"."+o,_.target="_blank",_.href=s;var m=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});_.dispatchEvent(m)}},a.register("saveAsImage",s);var c=s;e.exports=c},"4ea4":function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},"4eb5":function(e,t,n){var r=n("6981"),i={autoSetContainer:!1,appendToBody:!0},a={install:function(e){var t="3."===e.version.slice(0,2)?e.config.globalProperties:e.prototype;t.$clipboardConfig=i,t.$copyText=function(e,t){return new Promise((function(n,a){var o=document.createElement("button"),s=new r(o,{text:function(){return e},action:function(){return"copy"},container:"object"===typeof t?t:document.body});s.on("success",(function(e){s.destroy(),n(e)})),s.on("error",(function(e){s.destroy(),a(e)})),i.appendToBody&&document.body.appendChild(o),o.click(),i.appendToBody&&document.body.removeChild(o)}))},e.directive("clipboard",{bind:function(e,t,n){if("success"===t.arg)e._vClipboard_success=t.value;else if("error"===t.arg)e._vClipboard_error=t.value;else{var a=new r(e,{text:function(){return t.value},action:function(){return"cut"===t.arg?"cut":"copy"},container:i.autoSetContainer?e:void 0});a.on("success",(function(t){var n=e._vClipboard_success;n&&n(t)})),a.on("error",(function(t){var n=e._vClipboard_error;n&&n(t)})),e._vClipboard=a}},update:function(e,t){"success"===t.arg?e._vClipboard_success=t.value:"error"===t.arg?e._vClipboard_error=t.value:(e._vClipboard.text=function(){return t.value},e._vClipboard.action=function(){return"cut"===t.arg?"cut":"copy"})},unbind:function(e,t){e._vClipboard&&("success"===t.arg?delete e._vClipboard_success:"error"===t.arg?delete e._vClipboard_error:(e._vClipboard.destroy(),delete e._vClipboard))}})},config:i};e.exports=a},"4ebc":function(e,t,n){var r=n("4d88");e.exports=Array.isArray||function(e){return"Array"==r(e)}},"4f4a":function(e,t){e.exports=function(e){return{case_insensitive:!0,contains:[{className:"meta",begin:"^!!!( (5|1\\.1|Strict|Frameset|Basic|Mobile|RDFa|XML\\b.*))?$",relevance:10},e.COMMENT("^\\s*(!=#|=#|-#|/).*$",!1,{relevance:0}),{begin:"^\\s*(-|=|!=)(?!#)",starts:{end:"\\n",subLanguage:"ruby"}},{className:"tag",begin:"^\\s*%",contains:[{className:"selector-tag",begin:"\\w+"},{className:"selector-id",begin:"#[\\w-]+"},{className:"selector-class",begin:"\\.[\\w-]+"},{begin:"{\\s*",end:"\\s*}",contains:[{begin:":\\w+\\s*=>",end:",\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:":\\w+"},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]},{begin:"\\(\\s*",end:"\\s*\\)",excludeEnd:!0,contains:[{begin:"\\w+\\s*=",end:"\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:"\\w+",relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]}]},{begin:"^\\s*[=~]\\s*"},{begin:"#{",starts:{end:"}",subLanguage:"ruby"}}]}}},"4f85":function(e,t,n){var r=n("4e08"),i=(r.__DEV__,n("6d8b")),a=n("22d1"),o=n("eda2"),s=o.formatTime,l=o.encodeHTML,c=o.addCommas,u=o.getTooltipMarker,d=n("e0d3"),h=n("6cb7"),p=n("e47b"),f=n("38a2"),_=n("f934"),m=_.getLayoutParams,g=_.mergeLayoutParam,v=n("f47d"),y=v.createTask,b=n("0f99"),S=b.prepareSource,E=b.getSource,x=n("2b17"),T=x.retrieveRawValue,C=d.makeInner(),A=h.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendVisualProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(e,t,n,r){this.seriesIndex=this.componentIndex,this.dataTask=y({count:R,reset:I}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(e,n),S(this);var i=this.getInitialData(e,n);M(i,this),this.dataTask.context.data=i,C(this).dataBeforeProcessed=i,w(this)},mergeDefaultAndTheme:function(e,t){var n=this.layoutMode,r=n?m(e):{},a=this.subType;h.hasClass(a)&&(a+="Series"),i.merge(e,t.getTheme().get(this.subType)),i.merge(e,this.getDefaultOption()),d.defaultEmphasis(e,"label",["show"]),this.fillDataTextStyle(e.data),n&&g(e,r,n)},mergeOption:function(e,t){e=i.merge(this.option,e,!0),this.fillDataTextStyle(e.data);var n=this.layoutMode;n&&g(this.option,e,n),S(this);var r=this.getInitialData(e,t);M(r,this),this.dataTask.dirty(),this.dataTask.context.data=r,C(this).dataBeforeProcessed=r,w(this)},fillDataTextStyle:function(e){if(e&&!i.isTypedArray(e))for(var t=["show"],n=0;n":"\n",h="richText"===r,p={},f=0;function _(n){var o=i.reduce(n,(function(e,t,n){var r=g.getDimensionInfo(n);return e|(r&&!1!==r.tooltip&&null!=r.displayName)}),0),d=[];function _(e,n){var i=g.getDimensionInfo(n);if(i&&!1!==i.otherDims.tooltip){var _=i.type,m="sub"+a.seriesIndex+"at"+f,v=u({color:E,type:"subItem",renderMode:r,markerId:m}),y="string"===typeof v?v:v.content,b=(o?y+l(i.displayName||"-")+": ":"")+l("ordinal"===_?e+"":"time"===_?t?"":s("yyyy/MM/dd hh:mm:ss",e):c(e));b&&d.push(b),h&&(p[m]=E,++f)}}v.length?i.each(v,(function(t){_(T(g,e,t),t)})):i.each(n,_);var m=o?h?"\n":"
":"",y=m+d.join(m||", ");return{renderMode:r,content:y,style:p}}function m(e){return{renderMode:r,content:l(c(e)),style:p}}var g=this.getData(),v=g.mapDimension("defaultedTooltip",!0),y=v.length,b=this.getRawValue(e),S=i.isArray(b),E=g.getItemVisual(e,"color");i.isObject(E)&&E.colorStops&&(E=(E.colorStops[0]||{}).color),E=E||"transparent";var x=y>1||S&&!y?_(b):m(y?T(g,e,v[0]):S?b[0]:b),C=x.content,A=a.seriesIndex+"at"+f,w=u({color:E,type:"item",renderMode:r,markerId:A});p[A]=E,++f;var O=g.getName(e),R=this.name;d.isNameSpecified(this)||(R=""),R=R?l(R)+(t?": ":o):"";var I="string"===typeof w?w:w.content,N=t?I+R+C:R+I+(O?l(O)+": "+C:C);return{html:N,markers:p}},isAnimationEnabled:function(){if(a.node)return!1;var e=this.getShallow("animation");return e&&this.getData().count()>this.getShallow("animationThreshold")&&(e=!1),e},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(e,t,n){var r=this.ecModel,i=p.getColorFromPalette.call(this,e,t,n);return i||(i=r.getColorFromPalette(e,t,n)),i},coordDimToDataDim:function(e){return this.getRawData().mapDimension(e,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});function w(e){var t=e.name;d.isNameSpecified(e)||(e.name=O(e)||t)}function O(e){var t=e.getRawData(),n=t.mapDimension("seriesName",!0),r=[];return i.each(n,(function(e){var n=t.getDimensionInfo(e);n.displayName&&r.push(n.displayName)})),r.join(" ")}function R(e){return e.model.getRawData().count()}function I(e){var t=e.model;return t.setData(t.getRawData().cloneShallow()),N}function N(e,t){t.outputData&&e.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function M(e,t){i.each(e.CHANGABLE_METHODS,(function(n){e.wrapMethod(n,i.curry(D,t))}))}function D(e){var t=L(e);t&&t.setOutputEnd(this.count())}function L(e){var t=(e.ecModel||{}).scheduler,n=t&&t.getPipeline(e.uid);if(n){var r=n.currentTask;if(r){var i=r.agentStubMap;i&&(r=i.get(e.uid))}return r}}i.mixin(A,f),i.mixin(A,p);var P=A;e.exports=P},"4fac":function(e,t,n){var r=n("620b"),i=n("9c2c");function a(e,t,n){var a=t.points,o=t.smooth;if(a&&a.length>=2){if(o&&"spline"!==o){var s=i(a,o,n,t.smoothConstraint);e.moveTo(a[0][0],a[0][1]);for(var l=a.length,c=0;c<(n?l:l-1);c++){var u=s[2*c],d=s[2*c+1],h=a[(c+1)%l];e.bezierCurveTo(u[0],u[1],d[0],d[1],h[0],h[1])}}else{"spline"===o&&(a=r(a,n)),e.moveTo(a[0][0],a[0][1]);c=1;for(var p=a.length;c",returnBegin:!0,end:"=>",contains:[{className:"attr",begin:e.IDENT_RE}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},a]}],relevance:0}]}}},5051:function(e,t){e.exports=function(e){var t={variants:[e.COMMENT("--","$"),e.COMMENT("{-","-}",{contains:["self"]})]},n={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},r={begin:"\\(",end:"\\)",illegal:'"',contains:[{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},t]},i={begin:"{",end:"}",contains:r.contains},a={className:"string",begin:"'\\\\?.",end:"'",illegal:"."};return{keywords:"let in if then else case of where module import exposing type alias as infix infixl infixr port effect command subscription",contains:[{beginKeywords:"port effect module",end:"exposing",keywords:"port effect module where command subscription exposing",contains:[r,t],illegal:"\\W\\.|;"},{begin:"import",end:"$",keywords:"import as exposing",contains:[r,t],illegal:"\\W\\.|;"},{begin:"type",end:"$",keywords:"type alias",contains:[n,r,i,t]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,t]},{begin:"port",end:"$",keywords:"port",contains:[t]},a,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,n,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),t,{begin:"->|<-"}],illegal:/;/}}},5087:function(e,t,n){var r=n("68ee"),i=n("0d51"),a=TypeError;e.exports=function(e){if(r(e))return e;throw a(i(e)+" is not a constructor")}},"508e":function(e,t){e.exports=function(e){var t=["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"],n="Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|New|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Complete|Confirm|Deny|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",r="-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",i={keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter"},a=/\w[\w\d]*((-)[\w\d]+)*/,o={begin:"`[\\s\\S]",relevance:0},s={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},l={className:"literal",begin:/\$(null|true|false)\b/},c={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[o,s,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},u={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},d={className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]},h=e.inherit(e.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[d]}),p={className:"built_in",variants:[{begin:"(".concat(n,")+(-)[\\w\\d]+")}]},f={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[e.TITLE_MODE]},_={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:a,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[s]}]},m={begin:/using\s/,end:/$/,returnBegin:!0,contains:[c,u,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},g={variants:[{className:"operator",begin:"(".concat(r,")\\b")},{className:"literal",begin:/(-)[\w\d]+/,relevance:0}]},v={className:"selector-tag",begin:/\@\B/,relevance:0},y={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(i.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},e.inherit(e.TITLE_MODE,{endsParent:!0})]},b=[y,h,o,e.NUMBER_MODE,c,u,p,s,l,v],S={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",b,{begin:"("+t.join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return y.contains.unshift(S),{aliases:["ps","ps1"],lexemes:/-?[A-z\.\-]+/,case_insensitive:!0,keywords:i,contains:b.concat(f,_,m,g,S)}}},"50c4":function(e,t,n){var r=n("5926"),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},"50e5":function(e,t,n){var r=n("6d8b"),i=n("eda2"),a=["x","y","z","radius","angle","single"],o=["cartesian2d","polar","singleAxis"];function s(e){return r.indexOf(o,e)>=0}function l(e,t){e=e.slice();var n=r.map(e,i.capitalFirst);t=(t||[]).slice();var a=r.map(t,i.capitalFirst);return function(i,o){r.each(e,(function(e,r){for(var s={name:e,capital:n[r]},l=0;l=0}function a(e,i){var a=!1;return t((function(t){r.each(n(e,t)||[],(function(e){i.records[t.name][e]&&(a=!0)}))})),a}function o(e,i){i.nodes.push(e),t((function(t){r.each(n(e,t)||[],(function(e){i.records[t.name][e]=!0}))}))}}t.isCoordSupported=s,t.createNameEach=l,t.eachAxisDim=c,t.createLinkedNodesFinder=u},"511f":function(e,t,n){n("0b99"),n("658f"),e.exports=n("fcd4").f("iterator")},"512c":function(e,t,n){var r=n("ef08"),i=n("5524"),a=n("9c0c"),o=n("051b"),s=n("9c0e"),l="prototype",c=function(e,t,n){var u,d,h,p=e&c.F,f=e&c.G,_=e&c.S,m=e&c.P,g=e&c.B,v=e&c.W,y=f?i:i[t]||(i[t]={}),b=y[l],S=f?r:_?r[t]:(r[t]||{})[l];for(u in f&&(n=t),n)d=!p&&S&&void 0!==S[u],d&&s(y,u)||(h=d?S[u]:n[u],y[u]=f&&"function"!=typeof S[u]?n[u]:g&&d?a(h,r):v&&S[u]==h?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t[l]=e[l],t}(h):m&&"function"==typeof h?a(Function.call,h):h,m&&((y.virtual||(y.virtual={}))[u]=h,e&c.R&&b&&!b[u]&&o(b,u,h)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},"51ab":function(e,t){e.exports=function(e){return{aliases:["clean","icl","dcl"],keywords:{keyword:"if let in with where case of class instance otherwise implementation definition system module from import qualified as special code inline foreign export ccall stdcall generic derive infix infixl infixr",built_in:"Int Real Char Bool",literal:"True False"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{begin:"->|<-[|:]?|#!?|>>=|\\{\\||\\|\\}|:==|=:|<>"}]}}},5270:function(e,t,n){"use strict";var r=n("c532"),i=n("c401"),a=n("2e67"),o=n("2444"),s=n("7a77");function l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s("canceled")}e.exports=function(e){l(e),e.headers=e.headers||{},e.data=i.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]}));var t=e.adapter||o.adapter;return t(e).then((function(t){return l(e),t.data=i.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return a(t)||(l(e),t&&t.response&&(t.response.data=i.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},"527a":function(e,t,n){var r=n("6d8b"),i=n("3842");function a(e,t){e.eachSeriesByType("themeRiver",(function(e){var t=e.getData(),n=e.coordinateSystem,r={},a=n.getRect();r.rect=a;var s=e.get("boundaryGap"),l=n.getAxis();if(r.boundaryGap=s,"horizontal"===l.orient){s[0]=i.parsePercent(s[0],a.height),s[1]=i.parsePercent(s[1],a.height);var c=a.height-s[0]-s[1];o(t,e,c)}else{s[0]=i.parsePercent(s[0],a.width),s[1]=i.parsePercent(s[1],a.width);var u=a.width-s[0]-s[1];o(t,e,u)}t.setLayout("layoutInfo",r)}))}function o(e,t,n){if(e.count())for(var i,a=t.coordinateSystem,o=t.getLayerSeries(),l=e.mapDimension("single"),c=e.mapDimension("value"),u=r.map(o,(function(t){return r.map(t.indices,(function(t){var n=a.dataToPoint(e.get(l,t));return n[1]=e.get(c,t),n}))})),d=s(u),h=d.y0,p=n/d.max,f=o.length,_=o[0].indices.length,m=0;m<_;++m){i=h[m]*p,e.setItemLayout(o[0].indices[m],{layerIndex:0,x:u[0][m][0],y0:i,y:u[0][m][1]*p});for(var g=1;ga&&(a=c),r.push(c)}for(var u=0;ua&&(a=h)}return o.y0=i,o.max=a,o}e.exports=a},5319:function(e,t,n){"use strict";var r=n("2ba4"),i=n("c65b"),a=n("e330"),o=n("d784"),s=n("d039"),l=n("825a"),c=n("1626"),u=n("7234"),d=n("5926"),h=n("50c4"),p=n("577e"),f=n("1d80"),_=n("8aa5"),m=n("dc4a"),g=n("0cb2"),v=n("14c3"),y=n("b622"),b=y("replace"),S=Math.max,E=Math.min,x=a([].concat),T=a([].push),C=a("".indexOf),A=a("".slice),w=function(e){return void 0===e?e:String(e)},O=function(){return"$0"==="a".replace(/./,"$0")}(),R=function(){return!!/./[b]&&""===/./[b]("a","$0")}(),I=!s((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$
")}));o("replace",(function(e,t,n){var a=R?"$":"$0";return[function(e,n){var r=f(this),a=u(e)?void 0:m(e,b);return a?i(a,e,r,n):i(t,p(r),e,n)},function(e,i){var o=l(this),s=p(e);if("string"==typeof i&&-1===C(i,a)&&-1===C(i,"$<")){var u=n(t,o,s,i);if(u.done)return u.value}var f=c(i);f||(i=p(i));var m=o.global;if(m){var y=o.unicode;o.lastIndex=0}var b=[];while(1){var O=v(o,s);if(null===O)break;if(T(b,O),!m)break;var R=p(O[0]);""===R&&(o.lastIndex=_(s,h(o.lastIndex),y))}for(var I="",N=0,M=0;M=N&&(I+=A(s,N,L)+U,N=L+D.length)}return I+A(s,N)}]}),!I||!O||R)},5352:function(e,t,n){"use strict";n("e260");var r=n("23e7"),i=n("da84"),a=n("c65b"),o=n("e330"),s=n("83ab"),l=n("f354"),c=n("cb2d"),u=n("6964"),d=n("d44e"),h=n("dcc3"),p=n("69f3"),f=n("19aa"),_=n("1626"),m=n("1a2d"),g=n("0366"),v=n("f5df"),y=n("825a"),b=n("861d"),S=n("577e"),E=n("7c73"),x=n("5c6c"),T=n("9a1f"),C=n("35a1"),A=n("d6d6"),w=n("b622"),O=n("addb"),R=w("iterator"),I="URLSearchParams",N=I+"Iterator",M=p.set,D=p.getterFor(I),L=p.getterFor(N),P=Object.getOwnPropertyDescriptor,k=function(e){if(!s)return i[e];var t=P(i,e);return t&&t.value},F=k("fetch"),B=k("Request"),U=k("Headers"),G=B&&B.prototype,z=U&&U.prototype,V=i.RegExp,H=i.TypeError,Y=i.decodeURIComponent,W=i.encodeURIComponent,q=o("".charAt),j=o([].join),$=o([].push),K=o("".replace),Q=o([].shift),X=o([].splice),Z=o("".split),J=o("".slice),ee=/\+/g,te=Array(4),ne=function(e){return te[e-1]||(te[e-1]=V("((?:%[\\da-f]{2}){"+e+"})","gi"))},re=function(e){try{return Y(e)}catch(t){return e}},ie=function(e){var t=K(e,ee," "),n=4;try{return Y(t)}catch(r){while(n)t=K(t,ne(n--),re);return t}},ae=/[!'()~]|%20/g,oe={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},se=function(e){return oe[e]},le=function(e){return K(W(e),ae,se)},ce=h((function(e,t){M(this,{type:N,iterator:T(D(e).entries),kind:t})}),"Iterator",(function(){var e=L(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n}),!0),ue=function(e){this.entries=[],this.url=null,void 0!==e&&(b(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===q(e,0)?J(e,1):e:S(e)))};ue.prototype={type:I,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,n,r,i,o,s,l,c=C(e);if(c){t=T(e,c),n=t.next;while(!(r=a(n,t)).done){if(i=T(y(r.value)),o=i.next,(s=a(o,i)).done||(l=a(o,i)).done||!a(o,i).done)throw H("Expected sequence with length 2");$(this.entries,{key:S(s.value),value:S(l.value)})}}else for(var u in e)m(e,u)&&$(this.entries,{key:u,value:S(e[u])})},parseQuery:function(e){if(e){var t,n,r=Z(e,"&"),i=0;while(i0?arguments[0]:void 0;M(this,new ue(e))},he=de.prototype;if(u(he,{append:function(e,t){A(arguments.length,2);var n=D(this);$(n.entries,{key:S(e),value:S(t)}),n.updateURL()},delete:function(e){A(arguments.length,1);var t=D(this),n=t.entries,r=S(e),i=0;while(it.key?1:-1})),e.updateURL()},forEach:function(e){var t,n=D(this).entries,r=g(e,arguments.length>1?arguments[1]:void 0),i=0;while(i1?_e(arguments[1]):{})}}),_(B)){var me=function(e){return f(this,G),new B(e,arguments.length>1?_e(arguments[1]):{})};G.constructor=me,me.prototype=G,r({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:me})}}e.exports={URLSearchParams:de,getState:D}},"53f3":function(e,t){function n(e){var t=e.coordinateSystem;if("view"!==t.type)return 1;var n=e.option.nodeScaleRatio,r=t.scale,i=r&&r[0]||1,a=t.getZoom(),o=(a-1)*n+1;return o/i}function r(e){var t=e.getVisual("symbolSize");return t instanceof Array&&(t=(t[0]+t[1])/2),+t}t.getNodeGlobalScale=n,t.getSymbolSize=r},5450:function(e,t,n){n("7419"),n("29a9")},"54fb":function(e,t){function n(e){e.eachSeriesByType("map",(function(e){var t=e.get("color"),n=e.getModel("itemStyle"),r=n.get("areaColor"),i=n.get("color")||t[e.seriesIndex%t.length];e.getData().setVisual({areaColor:r,color:i})}))}e.exports=n},"551f":function(e,t,n){var r=n("282b"),i=r([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),a={getItemStyle:function(e,t){var n=i(this,e,t),r=this.getBorderLineDash();return r&&(n.lineDash=r),n},getBorderLineDash:function(){var e=this.get("borderType");return"solid"===e||null==e?null:"dashed"===e?[5,5]:[1,1]}};e.exports=a},5522:function(e,t,n){n("23e0"),n("1748"),n("6c12")},5524:function(e,t){var n=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},5576:function(e,t,n){var r=n("6d8b"),i=n("4a01"),a=n("88b3"),o="\0_ec_dataZoom_roams";function s(e,t){var n=u(e),i=t.dataZoomId,o=t.coordId;r.each(n,(function(e,n){var a=e.dataZoomInfos;a[i]&&r.indexOf(t.allCoordIds,o)<0&&(delete a[i],e.count--)})),h(n);var s=n[o];s||(s=n[o]={coordId:o,dataZoomInfos:{},count:0},s.controller=d(e,s),s.dispatchAction=r.curry(p,e)),!s.dataZoomInfos[i]&&s.count++,s.dataZoomInfos[i]=t;var l=f(s.dataZoomInfos);s.controller.enable(l.controlType,l.opt),s.controller.setPointerChecker(t.containsPoint),a.createOrUpdate(s,"dispatchAction",t.dataZoomModel.get("throttle",!0),"fixRate")}function l(e,t){var n=u(e);r.each(n,(function(e){e.controller.dispose();var n=e.dataZoomInfos;n[t]&&(delete n[t],e.count--)})),h(n)}function c(e){return e.type+"\0_"+e.id}function u(e){var t=e.getZr();return t[o]||(t[o]={})}function d(e,t){var n=new i(e.getZr());return r.each(["pan","zoom","scrollMove"],(function(e){n.on(e,(function(n){var i=[];r.each(t.dataZoomInfos,(function(r){if(n.isAvailableBehavior(r.dataZoomModel.option)){var a=(r.getRange||{})[e],o=a&&a(t.controller,n);!r.dataZoomModel.get("disabled",!0)&&o&&i.push({dataZoomId:r.dataZoomId,start:o[0],end:o[1]})}})),i.length&&t.dispatchAction(i)}))})),n}function h(e){r.each(e,(function(t,n){t.count||(t.controller.dispose(),delete e[n])}))}function p(e,t){e.dispatchAction({type:"dataZoom",batch:t})}function f(e){var t,n="type_",i={type_true:2,type_move:1,type_false:0,type_undefined:-1},a=!0;return r.each(e,(function(e){var r=e.dataZoomModel,o=!r.get("disabled",!0)&&(!r.get("zoomLock",!0)||"move");i[n+o]>i[n+t]&&(t=o),a&=r.get("preventDefaultMouseMove",!0)})),{controlType:t,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!a}}}t.register=s,t.unregister=l,t.generateCoordId=c},"55ac":function(e,t,n){var r=n("6d8b");function i(e,t,n){if(e&&r.indexOf(t,e.type)>=0){var i=n.getData().tree.root,a=e.targetNode;if("string"===typeof a&&(a=i.getNodeById(a)),a&&i.contains(a))return{node:a};var o=e.targetNodeId;if(null!=o&&(a=i.getNodeById(o)))return{node:a}}}function a(e){var t=[];while(e)e=e.parentNode,e&&t.push(e);return t.reverse()}function o(e,t){var n=a(e);return r.indexOf(n,t)>=0}function s(e,t){var n=[];while(e){var r=e.dataIndex;n.push({name:e.name,dataIndex:r,value:t.getRawValue(r)}),e=e.parentNode}return n.reverse(),n}t.retrieveTargetInfo=i,t.getPathToRoot=a,t.aboveViewRoot=o,t.wrapTreePathInfo=s},"562e":function(e,t,n){var r=n("6d8b");function i(e){null!=e&&r.extend(this,e),this.otherDims={}}var a=i;e.exports=a},5692:function(e,t,n){var r=n("c430"),i=n("c6cd");(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.25.0",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.25.0/LICENSE",source:"https://github.com/zloirock/core-js"})},5693:function(e,t){function n(e,t){var n,r,i,a,o,s=t.x,l=t.y,c=t.width,u=t.height,d=t.r;c<0&&(s+=c,c=-c),u<0&&(l+=u,u=-u),"number"===typeof d?n=r=i=a=d:d instanceof Array?1===d.length?n=r=i=a=d[0]:2===d.length?(n=i=d[0],r=a=d[1]):3===d.length?(n=d[0],r=a=d[1],i=d[2]):(n=d[0],r=d[1],i=d[2],a=d[3]):n=r=i=a=0,n+r>c&&(o=n+r,n*=c/o,r*=c/o),i+a>c&&(o=i+a,i*=c/o,a*=c/o),r+i>u&&(o=r+i,r*=u/o,i*=u/o),n+a>u&&(o=n+a,n*=u/o,a*=u/o),e.moveTo(s+n,l),e.lineTo(s+c-r,l),0!==r&&e.arc(s+c-r,l+r,r,-Math.PI/2,0),e.lineTo(s+c,l+u-i),0!==i&&e.arc(s+c-i,l+u-i,i,0,Math.PI/2),e.lineTo(s+a,l+u),0!==a&&e.arc(s+a,l+u-a,a,Math.PI/2,Math.PI),e.lineTo(s,l+n),0!==n&&e.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}t.buildPath=n},"56b2":function(e,t){e.exports=function(e){var t="[ \\t\\f]*",n="[ \\t\\f]+",r="("+t+"[:=]"+t+"|"+n+")",i="([^\\\\\\W:= \\t\\f\\n]|\\\\.)+",a="([^\\\\:= \\t\\f\\n]|\\\\.)+",o={end:r,relevance:0,starts:{className:"string",end:/$/,relevance:0,contains:[{begin:"\\\\\\n"}]}};return{case_insensitive:!0,illegal:/\S/,contains:[e.COMMENT("^\\s*[!#]","$"),{begin:i+r,returnBegin:!0,contains:[{className:"attr",begin:i,endsParent:!0,relevance:0}],starts:o},{begin:a+r,returnBegin:!0,relevance:0,contains:[{className:"meta",begin:a,endsParent:!0,relevance:0}],starts:o},{className:"attr",relevance:0,begin:a+t+"$"}]}}},"56ef":function(e,t,n){var r=n("d066"),i=n("e330"),a=n("241c"),o=n("7418"),s=n("825a"),l=i([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=a.f(s(e)),n=o.f;return n?l(t,n(e)):t}},"577e":function(e,t,n){var r=n("f5df"),i=String;e.exports=function(e){if("Symbol"===r(e))throw TypeError("Cannot convert a Symbol value to a string");return i(e)}},"57b9":function(e,t,n){var r=n("c65b"),i=n("d066"),a=n("b622"),o=n("cb2d");e.exports=function(){var e=i("Symbol"),t=e&&e.prototype,n=t&&t.valueOf,s=a("toPrimitive");t&&!t[s]&&o(t,s,(function(e){return r(n,this)}),{arity:1})}},5866:function(e,t,n){var r=n("ef2b"),i=r.forceLayout,a=n("1c5f"),o=a.simpleLayout,s=n("94e4"),l=s.circularLayout,c=n("3842"),u=c.linearMap,d=n("401b"),h=n("6d8b"),p=n("0c37"),f=p.getCurvenessForEdge;function _(e){e.eachSeriesByType("graph",(function(e){var t=e.coordinateSystem;if(!t||"view"===t.type)if("force"===e.get("layout")){var n=e.preservedPoints||{},r=e.getGraph(),a=r.data,s=r.edgeData,c=e.getModel("force"),p=c.get("initLayout");e.preservedPoints?a.each((function(e){var t=a.getId(e);a.setItemLayout(e,n[t]||[NaN,NaN])})):p&&"none"!==p?"circular"===p&&l(e,"value"):o(e);var _=a.getDataExtent("value"),m=s.getDataExtent("value"),g=c.get("repulsion"),v=c.get("edgeLength");h.isArray(g)||(g=[g,g]),h.isArray(v)||(v=[v,v]),v=[v[1],v[0]];var y=a.mapArray("value",(function(e,t){var n=a.getItemLayout(t),r=u(e,_,g);return isNaN(r)&&(r=(g[0]+g[1])/2),{w:r,rep:r,fixed:a.getItemModel(t).get("fixed"),p:!n||isNaN(n[0])||isNaN(n[1])?null:n}})),b=s.mapArray("value",(function(t,n){var i=r.getEdgeByIndex(n),a=u(t,m,v);isNaN(a)&&(a=(v[0]+v[1])/2);var o=i.getModel(),s=h.retrieve3(o.get("lineStyle.curveness"),-f(i,e,n,!0),0);return{n1:y[i.node1.dataIndex],n2:y[i.node2.dataIndex],d:a,curveness:s,ignoreForceLayout:o.get("ignoreForceLayout")}})),S=(t=e.coordinateSystem,t.getBoundingRect()),E=i(y,b,{rect:S,gravity:c.get("gravity"),friction:c.get("friction")}),x=E.step;E.step=function(e){for(var t=0,i=y.length;t \r\n]","[\\[\\]\\.,\\+\\-<> \r\n]",{returnEnd:!0,relevance:0}),{className:"title",begin:"[\\[\\]]",relevance:0},{className:"string",begin:"[\\.,]",relevance:0},{begin:/(?:\+\+|\-\-)/,contains:[t]},t]}}},5926:function(e,t,n){var r=n("b42e");e.exports=function(e){var t=+e;return t!==t||0===t?0:r(t)}},"59ed":function(e,t,n){var r=n("1626"),i=n("0d51"),a=TypeError;e.exports=function(e){if(r(e))return e;throw a(i(e)+" is not a function")}},"5a34":function(e,t,n){var r=n("44e7"),i=TypeError;e.exports=function(e){if(r(e))throw i("The method doesn't accept regular expressions");return e}},"5a3e":function(e,t){e.exports=function(e){return{aliases:["vbs"],case_insensitive:!0,keywords:{keyword:"call class const dim do loop erase execute executeglobal exit for each next function if then else on error option explicit new private property let get public randomize redim rem select case set stop sub while wend with end to elseif is or xor and not class_initialize class_terminate default preserve in me byval byref step resume goto",built_in:"lcase month vartype instrrev ubound setlocale getobject rgb getref string weekdayname rnd dateadd monthname now day minute isarray cbool round formatcurrency conversions csng timevalue second year space abs clng timeserial fixs len asc isempty maths dateserial atn timer isobject filter weekday datevalue ccur isdate instr datediff formatdatetime replace isnull right sgn array snumeric log cdbl hex chr lbound msgbox ucase getlocale cos cdate cbyte rtrim join hour oct typename trim strcomp int createobject loadpicture tan formatnumber mid scriptenginebuildversion scriptengine split scriptengineminorversion cint sin datepart ltrim sqr scriptenginemajorversion time derived eval date formatpercent exp inputbox left ascw chrw regexp server response request cstr err",literal:"true false null nothing empty"},illegal:"//",contains:[e.inherit(e.QUOTE_STRING_MODE,{contains:[{begin:'""'}]}),e.COMMENT(/'/,/$/,{relevance:0}),e.C_NUMBER_MODE]}}},"5a43":function(e,t){function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;o--)null==n[o]&&(delete i[t[o]],t.pop())}function f(e,t){var n=e.visual,i=[];r.isObject(n)?s(n,(function(e){i.push(e)})):null!=n&&i.push(n);var a={color:1,symbol:1};t||1!==i.length||a.hasOwnProperty(e.type)||(i[1]=i[0]),E(e,i)}function _(e){return{applyVisual:function(t,n,r){t=this.mapValueToVisual(t),r("color",e(n("color"),t))},_doMap:b([0,1])}}function m(e){var t=this.option.visual;return t[Math.round(o(e,[0,1],[0,t.length-1],!0))]||{}}function g(e){return function(t,n,r){r(e,this.mapValueToVisual(t))}}function v(e){var t=this.option.visual;return t[this.option.loop&&e!==c?e%t.length:e]}function y(){return this.option.visual[0]}function b(e){return{linear:function(t){return o(t,e,this.option.visual,!0)},category:v,piecewise:function(t,n){var r=S.call(this,n);return null==r&&(r=o(t,e,this.option.visual,!0)),r},fixed:y}}function S(e){var t=this.option,n=t.pieceList;if(t.hasSpecialVisual){var r=u.findPieceIndex(e,n),i=n[r];if(i&&i.visual)return i.visual[this.type]}}function E(e,t){return e.visual=t,"color"===e.type&&(e.parsedVisual=r.map(t,(function(e){return i.parse(e)}))),t}var x={linear:function(e){return o(e,this.option.dataExtent,[0,1],!0)},piecewise:function(e){var t=this.option.pieceList,n=u.findPieceIndex(e,t,!0);if(null!=n)return o(n,[0,t.length-1],[0,1],!0)},category:function(e){var t=this.option.categories?this.option.categoryMap[e]:e;return null==t?c:t},fixed:r.noop};function T(e,t,n){return e?t<=n:t=55296&&i<=56319&&n>1,e+=y(e/t);while(e>m*s>>1)e=y(e/m),r+=a;return y(r+(m+1)*e/(e+l))},I=function(e){var t=[];e=w(e);var n,r,l=e.length,c=d,p=0,f=u;for(n=0;n=c&&ry((i-p)/T))throw g(_);for(p+=(S-c)*T,c=S,n=0;ni)throw g(_);if(r==c){var C=p,A=a;while(1){var I=A<=f?o:A>=f+s?s:A-f;if(C=0;if(i){var a="touchend"!==r?t.targetTouches[0]:t.changedTouches[0];a&&d(e,a,t,n)}else d(e,t,t,n),t.zrDelta=t.wheelDelta?t.wheelDelta/120:-(t.detail||0)/3;var o=t.button;return null==t.which&&void 0!==o&&c.test(t.type)&&(t.which=1&o?1:2&o?3:4&o?2:0),t}function _(e,t,n,r){l?e.addEventListener(t,n,r):e.attachEvent("on"+t,n)}function m(e,t,n,r){l?e.removeEventListener(t,n,r):e.detachEvent("on"+t,n)}var g=l?function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0}:function(e){e.returnValue=!1,e.cancelBubble=!0};function v(e){return 2===e.which||3===e.which}function y(e){return e.which>1}t.clientToLocal=d,t.getNativeEvent=p,t.normalizeEvent=f,t.addEventListener=_,t.removeEventListener=m,t.stop=g,t.isMiddleOrRightButtonOnMouseUpDown=v,t.notLeftMouse=y},"60d7":function(e,t,n){var r=n("2306"),i=n("e887"),a=.3,o=i.extend({type:"parallel",init:function(){this._dataGroup=new r.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(e,t,n,i){var a=this._dataGroup,o=e.getData(),h=this._data,p=e.coordinateSystem,f=p.dimensions,_=u(e);function m(e){var t=c(o,a,e,f,p);d(t,o,e,_)}function g(t,n){var a=h.getItemGraphicEl(n),s=l(o,t,f,p);o.setItemGraphicEl(t,a);var c=i&&!1===i.animation?null:e;r.updateProps(a,{shape:{points:s}},c,t),d(a,o,t,_)}function v(e){var t=h.getItemGraphicEl(e);a.remove(t)}if(o.diff(h).add(m).update(g).remove(v).execute(),!this._initialized){this._initialized=!0;var y=s(p,e,(function(){setTimeout((function(){a.removeClipPath()}))}));a.setClipPath(y)}this._data=o},incrementalPrepareRender:function(e,t,n){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(e,t,n){for(var r=t.getData(),i=t.coordinateSystem,a=i.dimensions,o=u(t),s=e.start;so){var _,m=d(arguments[o++]),g=h?f(s(m),h(m)):s(m),v=g.length,y=0;while(v>y)_=g[y++],r&&!a(p,m,_)||(n[_]=m[_])}return n}:h},"60e3":function(e,t,n){var r=n("6d8b"),i={get:function(e,t,n){var i=r.clone((a[e]||{})[t]);return n&&r.isArray(i)?i[i.length-1]:i}},a={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]}},o=i;e.exports=o},6113:function(e,t){e.exports=function(e){var t="@[a-z-]+",n="and or not only",r="[a-zA-Z-][a-zA-Z0-9_-]*",i={className:"variable",begin:"(\\$"+r+")\\b"},a={className:"number",begin:"#[0-9A-Fa-f]+"};e.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_BLOCK_COMMENT_MODE;return{case_insensitive:!0,illegal:"[=/|']",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"selector-id",begin:"\\#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},{className:"selector-attr",begin:"\\[",end:"\\]",illegal:"$"},{className:"selector-tag",begin:"\\b(a|abbr|acronym|address|area|article|aside|audio|b|base|big|blockquote|body|br|button|canvas|caption|cite|code|col|colgroup|command|datalist|dd|del|details|dfn|div|dl|dt|em|embed|fieldset|figcaption|figure|footer|form|frame|frameset|(h[1-6])|head|header|hgroup|hr|html|i|iframe|img|input|ins|kbd|keygen|label|legend|li|link|map|mark|meta|meter|nav|noframes|noscript|object|ol|optgroup|option|output|p|param|pre|progress|q|rp|rt|ruby|samp|script|section|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|time|title|tr|tt|ul|var|video)\\b",relevance:0},{className:"selector-pseudo",begin:":(visited|valid|root|right|required|read-write|read-only|out-range|optional|only-of-type|only-child|nth-of-type|nth-last-of-type|nth-last-child|nth-child|not|link|left|last-of-type|last-child|lang|invalid|indeterminate|in-range|hover|focus|first-of-type|first-line|first-letter|first-child|first|enabled|empty|disabled|default|checked|before|after|active)"},{className:"selector-pseudo",begin:"::(after|before|choices|first-letter|first-line|repeat-index|repeat-item|selection|value)"},i,{className:"attribute",begin:"\\b(src|z-index|word-wrap|word-spacing|word-break|width|widows|white-space|visibility|vertical-align|unicode-bidi|transition-timing-function|transition-property|transition-duration|transition-delay|transition|transform-style|transform-origin|transform|top|text-underline-position|text-transform|text-shadow|text-rendering|text-overflow|text-indent|text-decoration-style|text-decoration-line|text-decoration-color|text-decoration|text-align-last|text-align|tab-size|table-layout|right|resize|quotes|position|pointer-events|perspective-origin|perspective|page-break-inside|page-break-before|page-break-after|padding-top|padding-right|padding-left|padding-bottom|padding|overflow-y|overflow-x|overflow-wrap|overflow|outline-width|outline-style|outline-offset|outline-color|outline|orphans|order|opacity|object-position|object-fit|normal|none|nav-up|nav-right|nav-left|nav-index|nav-down|min-width|min-height|max-width|max-height|mask|marks|margin-top|margin-right|margin-left|margin-bottom|margin|list-style-type|list-style-position|list-style-image|list-style|line-height|letter-spacing|left|justify-content|initial|inherit|ime-mode|image-orientation|image-resolution|image-rendering|icon|hyphens|height|font-weight|font-variant-ligatures|font-variant|font-style|font-stretch|font-size-adjust|font-size|font-language-override|font-kerning|font-feature-settings|font-family|font|float|flex-wrap|flex-shrink|flex-grow|flex-flow|flex-direction|flex-basis|flex|filter|empty-cells|display|direction|cursor|counter-reset|counter-increment|content|column-width|column-span|column-rule-width|column-rule-style|column-rule-color|column-rule|column-gap|column-fill|column-count|columns|color|clip-path|clip|clear|caption-side|break-inside|break-before|break-after|box-sizing|box-shadow|box-decoration-break|bottom|border-width|border-top-width|border-top-style|border-top-right-radius|border-top-left-radius|border-top-color|border-top|border-style|border-spacing|border-right-width|border-right-style|border-right-color|border-right|border-radius|border-left-width|border-left-style|border-left-color|border-left|border-image-width|border-image-source|border-image-slice|border-image-repeat|border-image-outset|border-image|border-color|border-collapse|border-bottom-width|border-bottom-style|border-bottom-right-radius|border-bottom-left-radius|border-bottom-color|border-bottom|border|background-size|background-repeat|background-position|background-origin|background-image|background-color|background-clip|background-attachment|background-blend-mode|background|backface-visibility|auto|animation-timing-function|animation-play-state|animation-name|animation-iteration-count|animation-fill-mode|animation-duration|animation-direction|animation-delay|animation|align-self|align-items|align-content)\\b",illegal:"[^\\s]"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:":",end:";",contains:[i,a,e.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"meta",begin:"!important"}]},{begin:"@(page|font-face)",lexemes:t,keywords:"@page @font-face"},{begin:"@",end:"[{;]",returnBegin:!0,keywords:n,contains:[{begin:t,className:"keyword"},i,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,a,e.CSS_NUMBER_MODE]}]}}},"612a":function(e,t){e.exports=function(e){var t={keyword:"in of on if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await import",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Behavior bool color coordinate date double enumeration font geocircle georectangle geoshape int list matrix4x4 parent point quaternion real rect size string url variant vector2d vector3d vector4dPromise"},n="[a-zA-Z_][a-zA-Z0-9\\._]*",r={className:"keyword",begin:"\\bproperty\\b",starts:{className:"string",end:"(:|=|;|,|//|/\\*|$)",returnEnd:!0}},i={className:"keyword",begin:"\\bsignal\\b",starts:{className:"string",end:"(\\(|:|=|;|,|//|/\\*|$)",returnEnd:!0}},a={className:"attribute",begin:"\\bid\\s*:",starts:{className:"string",end:n,returnEnd:!1}},o={begin:n+"\\s*:",returnBegin:!0,contains:[{className:"attribute",begin:n,end:"\\s*:",excludeEnd:!0,relevance:0}],relevance:0},s={begin:n+"\\s*{",end:"{",returnBegin:!0,relevance:0,contains:[e.inherit(e.TITLE_MODE,{begin:n})]};return{aliases:["qt"],case_insensitive:!1,keywords:t,contains:[{className:"meta",begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{begin:/\s*[);\]]/,relevance:0,subLanguage:"xml"}],relevance:0},i,r,{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}],illegal:/\[|%/},{begin:"\\."+e.IDENT_RE,relevance:0},a,o,s],illegal:/#/}}},6179:function(e,t,n){var r=n("4e08"),i=(r.__DEV__,n("6d8b")),a=n("4319"),o=n("80f0"),s=n("ec6f"),l=n("2b17"),c=l.defaultDimValueGetters,u=l.DefaultDataProvider,d=n("2f45"),h=d.summarizeDimensions,p=n("562e"),f=i.isObject,_="undefined",m=-1,g="e\0\0",v={float:typeof Float64Array===_?Array:Float64Array,int:typeof Int32Array===_?Array:Int32Array,ordinal:Array,number:Array,time:Array},y=typeof Uint32Array===_?Array:Uint32Array,b=typeof Int32Array===_?Array:Int32Array,S=typeof Uint16Array===_?Array:Uint16Array;function E(e){return e._rawCount>65535?y:S}function x(e){var t=e.constructor;return t===Array?e.slice():new t(e)}var T=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],C=["_extent","_approximateExtent","_rawExtent"];function A(e,t){i.each(T.concat(t.__wrappedMethods||[]),(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e.__wrappedMethods=t.__wrappedMethods,i.each(C,(function(n){e[n]=i.clone(t[n])})),e._calculationInfo=i.extend(t._calculationInfo)}var w=function(e,t){e=e||["x","y"];for(var n={},r=[],a={},o=0;o=0?this._indices[e]:-1}function L(e,t){var n=e._idList[t];return null==n&&(n=N(e,e._idDimIdx,t)),null==n&&(n=g+t),n}function P(e){return i.isArray(e)||(e=[e]),e}function k(e,t){var n=e.dimensions,r=new w(i.map(n,e.getDimensionInfo,e),e.hostModel);A(r,e);for(var a=r._storage={},o=e._storage,s=0;s=0?(a[l]=F(o[l]),r._rawExtent[l]=B(),r._extent[l]=null):a[l]=o[l])}return r}function F(e){for(var t=new Array(e.length),n=0;ny[1]&&(y[1]=v)}t&&(this._nameList[p]=t[f])}this._rawCount=this._count=l,this._extent={},I(this)},O._initDataFromProvider=function(e,t){if(!(e>=t)){for(var n,r=this._chunkSize,i=this._rawData,a=this._storage,o=this.dimensions,s=o.length,l=this._dimensionInfos,c=this._nameList,u=this._idList,d=this._rawExtent,h=this._nameRepeatCount={},p=this._chunkCount,f=0;fT[1]&&(T[1]=x)}if(!i.pure){var C=c[v];if(g&&null==C)if(null!=g.name)c[v]=C=g.name;else if(null!=n){var A=o[n],w=a[A][y];if(w){C=w[b];var O=l[A].ordinalMeta;O&&O.categories.length&&(C=O.categories[C])}}var N=null==g?null:g.id;null==N&&null!=C&&(h[C]=h[C]||0,N=C,h[C]>0&&(N+="__ec__"+h[C]),h[C]++),null!=N&&(u[v]=N)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=t,this._extent={},I(this)}},O.count=function(){return this._count},O.getIndices=function(){var e=this._indices;if(e){var t=e.constructor,n=this._count;if(t===Array){i=new t(n);for(var r=0;r=0&&t=0&&ts&&(s=c)}return r=[o,s],this._extent[e]=r,r},O.getApproximateExtent=function(e){return e=this.getDimension(e),this._approximateExtent[e]||this.getDataExtent(e)},O.setApproximateExtent=function(e,t){t=this.getDimension(t),this._approximateExtent[t]=e.slice()},O.getCalculationInfo=function(e){return this._calculationInfo[e]},O.setCalculationInfo=function(e,t){f(e)?i.extend(this._calculationInfo,e):this._calculationInfo[e]=t},O.getSum=function(e){var t=this._storage[e],n=0;if(t)for(var r=0,i=this.count();r=this._rawCount||e<0)return-1;if(!this._indices)return e;var t=this._indices,n=t[e];if(null!=n&&ne))return a;i=a-1}}return-1},O.indicesOfNearest=function(e,t,n){var r=this._storage,i=r[e],a=[];if(!i)return a;null==n&&(n=1/0);for(var o=1/0,s=-1,l=0,c=0,u=this.count();c=0&&s<0)&&(o=h,s=d,l=0),d===s&&(a[l++]=c))}return a.length=l,a},O.getRawIndex=M,O.getRawDataItem=function(e){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(e));for(var t=[],n=0;n=c&&v<=u||isNaN(v))&&(o[s++]=h),h++}d=!0}else if(2===r){p=this._storage[l];var y=this._storage[t[1]],b=e[t[1]][0],S=e[t[1]][1];for(f=0;f=c&&v<=u||isNaN(v))&&(T>=b&&T<=S||isNaN(T))&&(o[s++]=h),h++}}d=!0}}if(!d)if(1===r)for(g=0;g=c&&v<=u||isNaN(v))&&(o[s++]=C)}else for(g=0;ge[w][1])&&(A=!1)}A&&(o[s++]=this.getRawIndex(g))}return sE[1]&&(E[1]=S)}}}return a},O.downSample=function(e,t,n,r){for(var i=k(this,[e]),a=i._storage,o=[],s=Math.floor(1/t),l=a[e],c=this.count(),u=this._chunkSize,d=i._rawExtent[e],h=new(E(this))(c),p=0,f=0;fc-f&&(s=c-f,o.length=s);for(var _=0;_d[1]&&(d[1]=y),h[p++]=b}return i._count=p,i._indices=h,i.getRawIndex=D,i},O.getItemModel=function(e){var t=this.hostModel;return new a(this.getRawDataItem(e),t,t&&t.ecModel)},O.diff=function(e){var t=this;return new o(e?e.getIndices():[],this.getIndices(),(function(t){return L(e,t)}),(function(e){return L(t,e)}))},O.getVisual=function(e){var t=this._visual;return t&&t[e]},O.setVisual=function(e,t){if(f(e))for(var n in e)e.hasOwnProperty(n)&&this.setVisual(n,e[n]);else this._visual=this._visual||{},this._visual[e]=t},O.setLayout=function(e,t){if(f(e))for(var n in e)e.hasOwnProperty(n)&&this.setLayout(n,e[n]);else this._layout[e]=t},O.getLayout=function(e){return this._layout[e]},O.getItemLayout=function(e){return this._itemLayouts[e]},O.setItemLayout=function(e,t,n){this._itemLayouts[e]=n?i.extend(this._itemLayouts[e]||{},t):t},O.clearItemLayouts=function(){this._itemLayouts.length=0},O.getItemVisual=function(e,t,n){var r=this._itemVisuals[e],i=r&&r[t];return null!=i||n?i:this.getVisual(t)},O.setItemVisual=function(e,t,n){var r=this._itemVisuals[e]||{},i=this.hasItemVisual;if(this._itemVisuals[e]=r,f(t))for(var a in t)t.hasOwnProperty(a)&&(r[a]=t[a],i[a]=!0);else r[t]=n,i[t]=!0},O.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var U=function(e){e.seriesIndex=this.seriesIndex,e.dataIndex=this.dataIndex,e.dataType=this.dataType};O.setItemGraphicEl=function(e,t){var n=this.hostModel;t&&(t.dataIndex=e,t.dataType=this.dataType,t.seriesIndex=n&&n.seriesIndex,"group"===t.type&&t.traverse(U,t)),this._graphicEls[e]=t},O.getItemGraphicEl=function(e){return this._graphicEls[e]},O.eachItemGraphicEl=function(e,t){i.each(this._graphicEls,(function(n,r){n&&e&&e.call(t,n,r)}))},O.cloneShallow=function(e){if(!e){var t=i.map(this.dimensions,this.getDimensionInfo,this);e=new w(t,this.hostModel)}if(e._storage=this._storage,A(e,this),this._indices){var n=this._indices.constructor;e._indices=new n(this._indices)}else e._indices=null;return e.getRawIndex=e._indices?D:M,e},O.wrapMethod=function(e,t){var n=this[e];"function"===typeof n&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(e),this[e]=function(){var e=n.apply(this,arguments);return t.apply(this,[e].concat(i.slice(arguments)))})},O.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],O.CHANGABLE_METHODS=["filterSelf","selectRange"];var G=w;e.exports=G},"620b":function(e,t,n){var r=n("401b"),i=r.distance;function a(e,t,n,r,i,a,o){var s=.5*(n-e),l=.5*(r-t);return(2*(t-n)+s+l)*o+(-3*(t-n)-2*s-l)*a+s*i+t}function o(e,t){for(var n=e.length,r=[],o=0,s=1;sn-2?n-1:p+1],d=e[p>n-3?n-1:p+2]);var m=f*f,g=f*m;r.push([a(c[0],_[0],u[0],d[0],f,m,g),a(c[1],_[1],u[1],d[1],f,m,g)])}return r}e.exports=o},"625e":function(e,t,n){var r=n("4e08"),i=(r.__DEV__,n("6d8b")),a=".",o="___EC__COMPONENT__CONTAINER___";function s(e){var t={main:"",sub:""};return e&&(e=e.split(a),t.main=e[0]||"",t.sub=e[1]||""),t}function l(e){i.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(e),'componentType "'+e+'" illegal')}function c(e,t){e.$constructor=e,e.extend=function(e){var t=this,n=function(){e.$constructor?e.$constructor.apply(this,arguments):t.apply(this,arguments)};return i.extend(n.prototype,e),n.extend=this.extend,n.superCall=h,n.superApply=p,i.inherits(n,this),n.superClass=t,n}}var u=0;function d(e){var t=["__\0is_clz",u++,Math.random().toFixed(3)].join("_");e.prototype[t]=!0,e.isInstance=function(e){return!(!e||!e[t])}}function h(e,t){var n=i.slice(arguments,2);return this.superClass.prototype[t].apply(e,n)}function p(e,t,n){return this.superClass.prototype[t].apply(e,n)}function f(e,t){t=t||{};var n={};function r(e){var t=n[e.main];return t&&t[o]||(t=n[e.main]={},t[o]=!0),t}if(e.registerClass=function(e,t){if(t)if(l(t),t=s(t),t.sub){if(t.sub!==o){var i=r(t);i[t.sub]=e}}else n[t.main]=e;return e},e.getClass=function(e,t,r){var i=n[e];if(i&&i[o]&&(i=t?i[t]:null),r&&!i)throw new Error(t?"Component "+e+"."+(t||"")+" not exists. Load it first.":e+".type should be specified.");return i},e.getClassesByMainType=function(e){e=s(e);var t=[],r=n[e.main];return r&&r[o]?i.each(r,(function(e,n){n!==o&&t.push(e)})):t.push(r),t},e.hasClass=function(e){return e=s(e),!!n[e.main]},e.getAllClassMainTypes=function(){var e=[];return i.each(n,(function(t,n){e.push(n)})),e},e.hasSubTypes=function(e){e=s(e);var t=n[e.main];return t&&t[o]},e.parseClassType=s,t.registerWhenExtend){var a=e.extend;a&&(e.extend=function(t){var n=a.call(this,t);return e.registerClass(n,t.type)})}return e}function _(e,t){}t.parseClassType=s,t.enableClassExtend=c,t.enableClassCheck=d,t.enableClassManagement=f,t.setReadOnly=_},"627c":function(e,t,n){var r=n("6d8b"),i=n("3eba"),a=n("2306"),o=n("f934"),s=o.getLayoutRect,l=n("eda2"),c=l.windowOpen;i.extendComponentModel({type:"title",layoutMode:{type:"box",ignoreSize:!0},defaultOption:{zlevel:0,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:"bolder",color:"#333"},subtextStyle:{color:"#aaa"}}}),i.extendComponentView({type:"title",render:function(e,t,n){if(this.group.removeAll(),e.get("show")){var i=this.group,o=e.getModel("textStyle"),l=e.getModel("subtextStyle"),u=e.get("textAlign"),d=r.retrieve2(e.get("textBaseline"),e.get("textVerticalAlign")),h=new a.Text({style:a.setTextStyle({},o,{text:e.get("text"),textFill:o.getTextColor()},{disableBox:!0}),z2:10}),p=h.getBoundingRect(),f=e.get("subtext"),_=new a.Text({style:a.setTextStyle({},l,{text:f,textFill:l.getTextColor(),y:p.height+e.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),m=e.get("link"),g=e.get("sublink"),v=e.get("triggerEvent",!0);h.silent=!m&&!v,_.silent=!g&&!v,m&&h.on("click",(function(){c(m,"_"+e.get("target"))})),g&&_.on("click",(function(){c(g,"_"+e.get("subtarget"))})),h.eventData=_.eventData=v?{componentType:"title",componentIndex:e.componentIndex}:null,i.add(h),f&&i.add(_);var y=i.getBoundingRect(),b=e.getBoxLayoutParams();b.width=y.width,b.height=y.height;var S=s(b,{width:n.getWidth(),height:n.getHeight()},e.get("padding"));u||(u=e.get("left")||e.get("right"),"middle"===u&&(u="center"),"right"===u?S.x+=S.width:"center"===u&&(S.x+=S.width/2)),d||(d=e.get("top")||e.get("bottom"),"center"===d&&(d="middle"),"bottom"===d?S.y+=S.height:"middle"===d&&(S.y+=S.height/2),d=d||"top"),i.attr("position",[S.x,S.y]);var E={textAlign:u,textVerticalAlign:d};h.setStyle(E),_.setStyle(E),y=i.getBoundingRect();var x=S.margin,T=e.getItemStyle(["color","opacity"]);T.fill=e.get("backgroundColor");var C=new a.Rect({shape:{x:y.x-x[3],y:y.y-x[0],width:y.width+x[1]+x[3],height:y.height+x[0]+x[2],r:e.get("borderRadius")},style:T,subPixelOptimize:!0,silent:!0});i.add(C)}}})},6374:function(e,t,n){var r=n("da84"),i=Object.defineProperty;e.exports=function(e,t){try{i(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},63748:function(e,t,n){n("a4d3"),n("e01a"),n("d3b7"),n("d28b"),n("3ca3"),n("ddb0"),n("d9e2");var r=n("6613");function i(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=r(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==n["return"]||n["return"]()}finally{if(l)throw o}}}}e.exports=i,e.exports.__esModule=!0,e.exports["default"]=e.exports},6438:function(e,t,n){var r=n("03d6"),i=n("9742").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},"64e1":function(e,t,n){},6547:function(e,t,n){var r=n("e330"),i=n("5926"),a=n("577e"),o=n("1d80"),s=r("".charAt),l=r("".charCodeAt),c=r("".slice),u=function(e){return function(t,n){var r,u,d=a(o(t)),h=i(n),p=d.length;return h<0||h>=p?e?"":void 0:(r=l(d,h),r<55296||r>56319||h+1===p||(u=l(d,h+1))<56320||u>57343?e?s(d,h):r:e?c(d,h,h+2):u-56320+(r-55296<<10)+65536)}};e.exports={codeAt:u(!1),charAt:u(!0)}},6566:function(e,t,n){"use strict";var r=n("9bf2").f,i=n("7c73"),a=n("6964"),o=n("0366"),s=n("19aa"),l=n("7234"),c=n("2266"),u=n("c6d2"),d=n("2626"),h=n("83ab"),p=n("f183").fastKey,f=n("69f3"),_=f.set,m=f.getterFor;e.exports={getConstructor:function(e,t,n,u){var d=e((function(e,r){s(e,f),_(e,{type:t,index:i(null),first:void 0,last:void 0,size:0}),h||(e.size=0),l(r)||c(r,e[u],{that:e,AS_ENTRIES:n})})),f=d.prototype,g=m(t),v=function(e,t,n){var r,i,a=g(e),o=y(e,t);return o?o.value=n:(a.last=o={index:i=p(t,!0),key:t,value:n,previous:r=a.last,next:void 0,removed:!1},a.first||(a.first=o),r&&(r.next=o),h?a.size++:e.size++,"F"!==i&&(a.index[i]=o)),e},y=function(e,t){var n,r=g(e),i=p(t);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==t)return n};return a(f,{clear:function(){var e=this,t=g(e),n=t.index,r=t.first;while(r)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete n[r.index],r=r.next;t.first=t.last=void 0,h?t.size=0:e.size=0},delete:function(e){var t=this,n=g(t),r=y(t,e);if(r){var i=r.next,a=r.previous;delete n.index[r.index],r.removed=!0,a&&(a.next=i),i&&(i.previous=a),n.first==r&&(n.first=i),n.last==r&&(n.last=a),h?n.size--:t.size--}return!!r},forEach:function(e){var t,n=g(this),r=o(e,arguments.length>1?arguments[1]:void 0);while(t=t?t.next:n.first){r(t.value,t.key,this);while(t&&t.removed)t=t.previous}},has:function(e){return!!y(this,e)}}),a(f,n?{get:function(e){var t=y(this,e);return t&&t.value},set:function(e,t){return v(this,0===e?0:e,t)}}:{add:function(e){return v(this,e=0===e?0:e,e)}}),h&&r(f,"size",{get:function(){return g(this).size}}),d},setStrong:function(e,t,n){var r=t+" Iterator",i=m(t),a=m(r);u(e,t,(function(e,t){_(this,{type:r,target:e,state:i(e),kind:t,last:void 0})}),(function(){var e=a(this),t=e.kind,n=e.last;while(n&&n.removed)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),d(t)}}},6569:function(e,t,n){var r=n("6d8b"),i=n("e0d3");function a(e){o(e),s(e)}function o(e){if(!e.parallel){var t=!1;r.each(e.series,(function(e){e&&"parallel"===e.type&&(t=!0)})),t&&(e.parallel=[{}])}}function s(e){var t=i.normalizeToArray(e.parallelAxis);r.each(t,(function(t){if(r.isObject(t)){var n=t.parallelIndex||0,a=i.normalizeToArray(e.parallel)[n];a&&a.parallelAxisDefault&&r.merge(t,a.parallelAxisDefault,!1)}}))}e.exports=a},6582:function(e,t,n){var r=n("cccd"),i={seriesType:"lines",plan:r(),reset:function(e){var t=e.coordinateSystem,n=e.get("polyline"),r=e.pipelineContext.large;function i(i,a){var o=[];if(r){var s,l=i.end-i.start;if(n){for(var c=0,u=i.start;u>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",r[l]+":0",i[c]+":0",r[1-l]+":auto",i[1-c]+":auto",""].join("!important;"),e.appendChild(o),n.push(o)}return n}function d(e,t,n){for(var r=n?"invTrans":"trans",i=t[r],o=t.srcCoords,s=!0,l=[],c=[],u=0;u<4;u++){var d=e[u].getBoundingClientRect(),h=2*u,p=d.left,f=d.top;l.push(p,f),s=s&&o&&p===o[h]&&f===o[h+1],c.push(e[u].offsetLeft,e[u].offsetTop)}return s&&i?i:(t.srcCoords=l,t[r]=n?a(c,l):a(l,c))}function h(e){return"CANVAS"===e.nodeName.toUpperCase()}t.transformLocalCoord=l,t.transformCoordWithViewport=c,t.isCanvasEl=h},"65f0":function(e,t,n){var r=n("0b42");e.exports=function(e,t){return new(r(e))(0===t?0:t)}},6613:function(e,t,n){n("fb6a"),n("d3b7"),n("b0c0"),n("a630"),n("3ca3"),n("ac1f"),n("00b4");var r=n("5a43");function i(e,t){if(e){if("string"===typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}e.exports=i,e.exports.__esModule=!0,e.exports["default"]=e.exports},6679:function(e,t,n){var r=n("4e08"),i=(r.__DEV__,n("3eba")),a=n("cd33"),o=i.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(e,t,n,r){this.axisPointerClass&&a.fixValue(e),o.superApply(this,"render",arguments),s(this,e,t,n,r,!0)},updateAxisPointer:function(e,t,n,r,i){s(this,e,t,n,r,!1)},remove:function(e,t){var n=this._axisPointer;n&&n.remove(t),o.superApply(this,"remove",arguments)},dispose:function(e,t){l(this,t),o.superApply(this,"dispose",arguments)}});function s(e,t,n,r,i,s){var c=o.getAxisPointerClass(e.axisPointerClass);if(c){var u=a.getAxisPointerModel(t);u?(e._axisPointer||(e._axisPointer=new c)).render(t,u,r,s):l(e,r)}}function l(e,t,n){var r=e._axisPointer;r&&r.dispose(t,n),e._axisPointer=null}var c=[];o.registerAxisPointerClass=function(e,t){c[e]=t},o.getAxisPointerClass=function(e){return e&&c[e]};var u=o;e.exports=u},"66a4":function(e,t,n){var r=n("6d8b");function i(e){var t=e&&e.timeline;r.isArray(t)||(t=t?[t]:[]),r.each(t,(function(e){e&&a(e)}))}function a(e){var t=e.type,n={number:"value",time:"time"};if(n[t]&&(e.axisType=n[t],delete e.type),o(e),s(e,"controlPosition")){var i=e.controlStyle||(e.controlStyle={});s(i,"position")||(i.position=e.controlPosition),"none"!==i.position||s(i,"show")||(i.show=!1,delete i.position),delete e.controlPosition}r.each(e.data||[],(function(e){r.isObject(e)&&!r.isArray(e)&&(!s(e,"value")&&s(e,"name")&&(e.value=e.name),o(e))}))}function o(e){var t=e.itemStyle||(e.itemStyle={}),n=t.emphasis||(t.emphasis={}),i=e.label||e.label||{},a=i.normal||(i.normal={}),o={normal:1,emphasis:1};r.each(i,(function(e,t){o[t]||s(a,t)||(a[t]=e)})),n.label&&!s(i,"emphasis")&&(i.emphasis=n.label,delete n.label)}function s(e,t){return e.hasOwnProperty(t)}e.exports=i},"66ba":function(e,t){e.exports=function(e){return{subLanguage:"xml",contains:[{className:"meta",begin:"^__(END|DATA)__$"},{begin:"^\\s*%{1,2}={0,2}",end:"$",subLanguage:"perl"},{begin:"<%{1,2}={0,2}",end:"={0,1}%>",subLanguage:"perl",excludeBegin:!0,excludeEnd:!0}]}}},"66fc":function(e,t,n){var r=n("6d8b"),i=n("84ce"),a=function(e,t,n,r,a){i.call(this,e,t,n),this.type=r||"value",this.position=a||"bottom",this.orient=null};a.prototype={constructor:a,model:null,isHorizontal:function(){var e=this.position;return"top"===e||"bottom"===e},pointToData:function(e,t){return this.coordinateSystem.pointToData(e,t)[0]},toGlobalCoord:null,toLocalCoord:null},r.inherits(a,i);var o=a;e.exports=o},"675a":function(e,t){function n(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.eachSeriesByType("graph",(function(e){var n=e.getCategoriesData(),r=e.getGraph(),i=r.data,a=n.mapArray(n.getName);i.filterSelf((function(e){var n=i.getItemModel(e),r=n.getShallow("category");if(null!=r){"number"===typeof r&&(r=a[r]);for(var o=0;o0?1:-1,o=r.height>0?1:-1;return{x:r.x+a*i/2,y:r.y+o*i/2,width:r.width-a*i,height:r.height-o*i}},polar:function(e,t,n){var r=e.getItemLayout(t);return{cx:r.cx,cy:r.cy,r0:r.r0,r:r.r,startAngle:r.startAngle,endAngle:r.endAngle}}};function R(e){return null!=e.startAngle&&null!=e.endAngle&&e.startAngle===e.endAngle}function I(e,t,n,r,i,s,c,u){var d=t.getItemVisual(n,"color"),h=t.getItemVisual(n,"opacity"),p=t.getVisual("borderColor"),f=r.getModel("itemStyle"),_=r.getModel("emphasis.itemStyle").getBarItemStyle();u||e.setShape("r",f.get("barBorderRadius")||0),e.useStyle(a.defaults({stroke:R(i)?"none":p,fill:R(i)?"none":d,opacity:h},f.getBarItemStyle()));var m=r.getShallow("cursor");m&&e.attr("cursor",m);var g=c?i.height>0?"bottom":"top":i.width>0?"left":"right";u||l(e.style,_,r,d,s,n,g),R(i)&&(_.fill=_.stroke="none"),o.setHoverStyle(e,_)}function N(e,t){var n=e.get(v)||0,r=isNaN(t.width)?Number.MAX_VALUE:Math.abs(t.width),i=isNaN(t.height)?Number.MAX_VALUE:Math.abs(t.height);return Math.min(n,r,i)}var M=d.extend({type:"largeBar",shape:{points:[]},buildPath:function(e,t){for(var n=t.points,r=this.__startPoint,i=this.__baseDimIdx,a=0;a=0?n:null}),30,!1);function P(e,t,n){var r=e.__baseDimIdx,i=1-r,a=e.shape.points,o=e.__largeDataIndices,s=Math.abs(e.__barWidth/2),l=e.__startPoint[i];y[0]=t,y[1]=n;for(var c=y[r],u=y[1-r],d=c-s,h=c+s,p=0,f=a.length/2;p=d&&m<=h&&(l<=g?u>=l&&u<=g:u>=g&&u<=l))return o[p]}return-1}function k(e,t,n){var r=n.getVisual("borderColor")||n.getVisual("color"),i=t.getModel("itemStyle").getItemStyle(["color","borderColor"]);e.useStyle(i),e.style.fill=null,e.style.stroke=r,e.style.lineWidth=n.getLayout("barWidth")}function F(e,t,n){var r=t.get("borderColor")||t.get("color"),i=t.getItemStyle(["color","borderColor"]);e.useStyle(i),e.style.fill=null,e.style.stroke=r,e.style.lineWidth=n.getLayout("barWidth")}function B(e,t,n){var r,i="polar"===n.type;return r=i?n.getArea():n.grid.getRect(),i?{cx:r.cx,cy:r.cy,r0:e?r.r0:t.r0,r:e?r.r:t.r,startAngle:e?t.startAngle:0,endAngle:e?t.endAngle:2*Math.PI}:{x:e?t.x:r.x,y:e?r.y:t.y,width:e?t.width:r.width,height:e?r.height:t.height}}function U(e,t,n){var r="polar"===e.type?o.Sector:o.Rect;return new r({shape:B(t,n,e),silent:!0,z2:0})}e.exports=S},6858:function(e,t,n){"use strict";var r=n("2f9a"),i=n("ea34"),a=n("8a0d"),o=n("6ca1");e.exports=n("393a")(Array,"Array",(function(e,t){this._t=o(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},"68ab":function(e,t,n){var r=n("4a3f"),i=r.quadraticProjectPoint;function a(e,t,n,r,a,o,s,l,c){if(0===s)return!1;var u=s;if(c>t+u&&c>r+u&&c>o+u||ce+u&&l>n+u&&l>a+u||li)Q(e,n=r[i++],t[n]);return e},Z=function(e,t){return void 0===t?T(e):X(T(e),t)},J=function(e){var t=U.call(this,e=E(e,!0));return!(this===H&&i(z,e)&&!i(V,e))&&(!(t||!i(this,e)||!i(z,e)||i(this,F)&&this[F][e])||t)},ee=function(e,t){if(e=S(e),t=E(t,!0),e!==H||!i(z,t)||i(V,t)){var n=I(e,t);return!n||!i(z,t)||i(e,F)&&e[F][t]||(n.enumerable=!0),n}},te=function(e){var t,n=M(S(e)),r=[],a=0;while(n.length>a)i(z,t=n[a++])||t==F||t==l||r.push(t);return r},ne=function(e){var t,n=e===H,r=M(n?V:S(e)),a=[],o=0;while(r.length>o)!i(z,t=r[o++])||n&&!i(H,t)||a.push(z[t]);return a};Y||(D=function(){if(this instanceof D)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===H&&t.call(V,n),i(this,F)&&i(this[F],e)&&(this[F][e]=!1),j(this,e,x(1,n))};return a&&q&&j(H,e,{configurable:!0,set:t}),$(e)},s(D[k],"toString",(function(){return this._k})),A.f=ee,O.f=Q,n("6438").f=C.f=te,n("1917").f=J,w.f=ne,a&&!n("e444")&&s(H,"propertyIsEnumerable",J,!0),f.f=function(e){return $(p(e))}),o(o.G+o.W+o.F*!Y,{Symbol:D});for(var re="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ie=0;re.length>ie;)p(re[ie++]);for(var ae=R(p.store),oe=0;ae.length>oe;)_(ae[oe++]);o(o.S+o.F*!Y,"Symbol",{for:function(e){return i(G,e+="")?G[e]:G[e]=D(e)},keyFor:function(e){if(!K(e))throw TypeError(e+" is not a symbol!");for(var t in G)if(G[t]===e)return t},useSetter:function(){q=!0},useSimple:function(){q=!1}}),o(o.S+o.F*!Y,"Object",{create:Z,defineProperty:Q,defineProperties:X,getOwnPropertyDescriptor:ee,getOwnPropertyNames:te,getOwnPropertySymbols:ne});var se=c((function(){w.f(1)}));o(o.S+o.F*se,"Object",{getOwnPropertySymbols:function(e){return w.f(b(e))}}),L&&o(o.S+o.F*(!Y||c((function(){var e=D();return"[null]"!=P([e])||"{}"!=P({a:e})||"{}"!=P(Object(e))}))),"JSON",{stringify:function(e){var t,n,r=[e],i=1;while(arguments.length>i)r.push(arguments[i++]);if(n=t=r[1],(y(t)||void 0!==e)&&!K(e))return g(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!K(t))return t}),r[1]=t,P.apply(L,r)}}),D[k][B]||n("051b")(D[k],B,D[k].valueOf),d(D,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},6964:function(e,t,n){var r=n("cb2d");e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},"697e":function(e,t,n){var r=n("4e08"),i=(r.__DEV__,n("6d8b")),a=n("18c0"),o=n("89e3"),s=n("e0d8"),l=n("3842"),c=n("9d57"),u=c.prepareLayoutBarSeries,d=c.makeColumnLayout,h=c.retrieveColumnLayout,p=n("9850");function f(e,t){var n,r,a,o=e.type,s=t.getMin(),c=t.getMax(),h=e.getExtent();"ordinal"===o?n=t.getCategories().length:(r=t.get("boundaryGap"),i.isArray(r)||(r=[r||0,r||0]),"boolean"===typeof r[0]&&(r=[0,0]),r[0]=l.parsePercent(r[0],1),r[1]=l.parsePercent(r[1],1),a=h[1]-h[0]||Math.abs(h[0])),"dataMin"===s?s=h[0]:"function"===typeof s&&(s=s({min:h[0],max:h[1]})),"dataMax"===c?c=h[1]:"function"===typeof c&&(c=c({min:h[0],max:h[1]}));var p=null!=s,f=null!=c;null==s&&(s="ordinal"===o?n?0:NaN:h[0]-r[0]*a),null==c&&(c="ordinal"===o?n?n-1:NaN:h[1]+r[1]*a),(null==s||!isFinite(s))&&(s=NaN),(null==c||!isFinite(c))&&(c=NaN),e.setBlank(i.eqNaN(s)||i.eqNaN(c)||"ordinal"===o&&!e.getOrdinalMeta().categories.length),t.getNeedCrossZero()&&(s>0&&c>0&&!p&&(s=0),s<0&&c<0&&!f&&(c=0));var m=t.ecModel;if(m&&"time"===o){var g,v=u("bar",m);if(i.each(v,(function(e){g|=e.getBaseAxis()===t.axis})),g){var y=d(v),b=_(s,c,t,y);s=b.min,c=b.max}}return{extent:[s,c],fixMin:p,fixMax:f}}function _(e,t,n,r){var a=n.axis.getExtent(),o=a[1]-a[0],s=h(r,n.axis);if(void 0===s)return{min:e,max:t};var l=1/0;i.each(s,(function(e){l=Math.min(e.offset,l)}));var c=-1/0;i.each(s,(function(e){c=Math.max(e.offset+e.width,c)})),l=Math.abs(l),c=Math.abs(c);var u=l+c,d=t-e,p=1-(l+c)/o,f=d/p-d;return t+=f*(c/u),e-=f*(l/u),{min:e,max:t}}function m(e,t){var n=f(e,t),r=n.extent,i=t.get("splitNumber");"log"===e.type&&(e.base=t.get("logBase"));var a=e.type;e.setExtent(r[0],r[1]),e.niceExtent({splitNumber:i,fixMin:n.fixMin,fixMax:n.fixMax,minInterval:"interval"===a||"time"===a?t.get("minInterval"):null,maxInterval:"interval"===a||"time"===a?t.get("maxInterval"):null});var o=t.get("interval");null!=o&&e.setInterval&&e.setInterval(o)}function g(e,t){if(t=t||e.get("type"),t)switch(t){case"category":return new a(e.getOrdinalMeta?e.getOrdinalMeta():e.getCategories(),[1/0,-1/0]);case"value":return new o;default:return(s.getClass(t)||o).create(e)}}function v(e){var t=e.scale.getExtent(),n=t[0],r=t[1];return!(n>0&&r>0||n<0&&r<0)}function y(e){var t=e.getLabelModel().get("formatter"),n="category"===e.type?e.scale.getExtent()[0]:null;return"string"===typeof t?(t=function(t){return function(n){return n=e.scale.getLabel(n),t.replace("{value}",null!=n?n:"")}}(t),t):"function"===typeof t?function(r,i){return null!=n&&(i=r-n),t(b(e,r),i)}:function(t){return e.scale.getLabel(t)}}function b(e,t){return"category"===e.type?e.scale.getLabel(t):t}function S(e){var t=e.model,n=e.scale;if(t.get("axisLabel.show")&&!n.isBlank()){var r,i,a="category"===e.type,o=n.getExtent();a?i=n.count():(r=n.getTicks(),i=r.length);var s,l=e.getLabelModel(),c=y(e),u=1;i>40&&(u=Math.ceil(i/40));for(var d=0;dn.blockIndex,a=i?n.step:null,o=r&&r.modDataCount,s=null!=o?Math.ceil(o/a):null;return{step:a,modBy:s,modDataCount:o}}},v.getPipeline=function(e){return this._pipelineMap.get(e)},v.updateStreamModes=function(e,t){var n=this._pipelineMap.get(e.uid),r=e.getData(),i=r.count(),a=n.progressiveEnabled&&t.incrementalPrepareRender&&i>=n.threshold,o=e.get("large")&&i>=e.get("largeThreshold"),s="mod"===e.get("progressiveChunkMode")?i:null;e.pipelineContext=n.context={progressiveRender:a,modDataCount:s,large:o}},v.restorePipelines=function(e){var t=this,n=t._pipelineMap=s();e.eachSeries((function(e){var r=e.getProgressive(),i=e.uid;n.set(i,{id:i,head:null,tail:null,threshold:e.getProgressiveThreshold(),progressiveEnabled:r&&!(e.preventIncremental&&e.preventIncremental()),blockIndex:-1,step:Math.round(r||700),count:0}),M(t,e,e.dataTask)}))},v.prepareStageTasks=function(){var e=this._stageTaskMap,t=this.ecInstance.getModel(),n=this.api;i(this._allHandlers,(function(r){var i=e.get(r.uid)||e.set(r.uid,[]);r.reset&&S(this,r,i,t,n),r.overallReset&&E(this,r,i,t,n)}),this)},v.prepareView=function(e,t,n,r){var i=e.renderTask,a=i.context;a.model=t,a.ecModel=n,a.api=r,i.__block=!e.incrementalPrepareRender,M(this,t,i)},v.performDataProcessorTasks=function(e,t){y(this,this._dataProcessorHandlers,e,t,{block:!0})},v.performVisualTasks=function(e,t,n){y(this,this._visualHandlers,e,t,n)},v.performSeriesTasks=function(e){var t;e.eachSeries((function(e){t|=e.dataTask.perform()})),this.unfinished|=t},v.plan=function(){this._pipelineMap.each((function(e){var t=e.tail;do{if(t.__block){e.blockIndex=t.__idxInPipeline;break}t=t.getUpstream()}while(t)}))};var b=v.updatePayload=function(e,t){"remain"!==t&&(e.context.payload=t)};function S(e,t,n,r,i){var a=n.seriesTaskMap||(n.seriesTaskMap=s()),o=t.seriesType,l=t.getTargetSeries;function c(n){var o=n.uid,s=a.get(o)||a.set(o,u({plan:w,reset:O,count:N}));s.context={model:n,ecModel:r,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:e},M(e,n,s)}t.createOnAllSeries?r.eachRawSeries(c):o?r.eachRawSeriesByType(o,c):l&&l(r,i).each(c);var d=e._pipelineMap;a.each((function(e,t){d.get(t)||(e.dispose(),a.removeKey(t))}))}function E(e,t,n,r,a){var o=n.overallTask=n.overallTask||u({reset:x});o.context={ecModel:r,api:a,overallReset:t.overallReset,scheduler:e};var l=o.agentStubMap=o.agentStubMap||s(),c=t.seriesType,d=t.getTargetSeries,h=!0,p=t.modifyOutputEnd;function f(t){var n=t.uid,r=l.get(n);r||(r=l.set(n,u({reset:T,onDirty:A})),o.dirty()),r.context={model:t,overallProgress:h,modifyOutputEnd:p},r.agent=o,r.__block=h,M(e,t,r)}c?r.eachRawSeriesByType(c,f):d?d(r,a).each(f):(h=!1,i(r.getSeries(),f));var _=e._pipelineMap;l.each((function(e,t){_.get(t)||(e.dispose(),o.dirty(),l.removeKey(t))}))}function x(e){e.overallReset(e.ecModel,e.api,e.payload)}function T(e,t){return e.overallProgress&&C}function C(){this.agent.dirty(),this.getDownstream().dirty()}function A(){this.agent&&this.agent.dirty()}function w(e){return e.plan&&e.plan(e.model,e.ecModel,e.api,e.payload)}function O(e){e.useClearVisual&&e.data.clearAllVisual();var t=e.resetDefines=m(e.reset(e.model,e.ecModel,e.api,e.payload));return t.length>1?a(t,(function(e,t){return I(t)})):R}var R=I(0);function I(e){return function(t,n){var r=n.data,i=n.resetDefines[e];if(i&&i.dataEach)for(var a=t.start;a=0;l--)if(r[l]<=t)break;l=Math.min(l,i-2)}else{for(var l=a;lt)break;l=Math.min(l-1,i-2)}o.lerp(e.position,n[l],n[l+1],(t-r[l])/(r[l+1]-r[l]));var c=n[l+1][0]-n[l][0],u=n[l+1][1]-n[l][1];e.rotation=-Math.atan2(u,c)-Math.PI/2,this._lastFrame=l,this._lastFramePercent=t,e.ignore=!1}},i.inherits(s,a);var c=s;e.exports=c},"6a51":function(e,t){e.exports=function(e){var t="getpwent getservent quotemeta msgrcv scalar kill dbmclose undef lc ma syswrite tr send umask sysopen shmwrite vec qx utime local oct semctl localtime readpipe do return format read sprintf dbmopen pop getpgrp not getpwnam rewinddir qqfileno qw endprotoent wait sethostent bless s|0 opendir continue each sleep endgrent shutdown dump chomp connect getsockname die socketpair close flock exists index shmgetsub for endpwent redo lstat msgctl setpgrp abs exit select print ref gethostbyaddr unshift fcntl syscall goto getnetbyaddr join gmtime symlink semget splice x|0 getpeername recv log setsockopt cos last reverse gethostbyname getgrnam study formline endhostent times chop length gethostent getnetent pack getprotoent getservbyname rand mkdir pos chmod y|0 substr endnetent printf next open msgsnd readdir use unlink getsockopt getpriority rindex wantarray hex system getservbyport endservent int chr untie rmdir prototype tell listen fork shmread ucfirst setprotoent else sysseek link getgrgid shmctl waitpid unpack getnetbyname reset chdir grep split require caller lcfirst until warn while values shift telldir getpwuid my getprotobynumber delete and sort uc defined srand accept package seekdir getprotobyname semop our rename seek if q|0 chroot sysread setpwent no crypt getc chown sqrt write setnetent setpriority foreach tie sin msgget map stat getlogin unless elsif truncate exec keys glob tied closedirioctl socket readlink eval xor readline binmode setservent eof ord bind alarm pipe atan2 getgrent exp time push setgrent gt lt or ne m|0 break given say state when",n={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:t},r={begin:"->{",end:"}"},i={variants:[{begin:/\$\d/},{begin:/[\$%@](\^\w\b|#\w+(::\w+)*|{\w+}|\w+(::\w*)*)/},{begin:/[\$%@][^\s\w{]/,relevance:0}]},a=[e.BACKSLASH_ESCAPE,n,i],o=[i,e.HASH_COMMENT_MODE,e.COMMENT("^\\=\\w","\\=cut",{endsWithParent:!0}),r,{className:"string",contains:a,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*\\<",end:"\\>",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:"{\\w+}",contains:[],relevance:0},{begin:"-?\\w+\\s*\\=\\>",contains:[],relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",begin:"(s|tr|y)/(\\\\.|[^/])*/(\\\\.|[^/])*/[a-z]*",relevance:10},{className:"regexp",begin:"(m|qr)?/",end:"/[a-z]*",contains:[e.BACKSLASH_ESCAPE],relevance:0}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return n.contains=o,r.contains=o,{aliases:["pl","pm"],lexemes:/[\w\.]+/,keywords:t,contains:o}}},"6acf":function(e,t,n){var r=n("eda2"),i=n("dcb3"),a=n("2306"),o=n("ff2e"),s=n("1687"),l=n("fab2"),c=n("6679"),u=i.extend({makeElOption:function(e,t,n,i,a){var s=n.axis;"angle"===s.dim&&(this.animationThreshold=Math.PI/18);var l,c=s.polar,u=c.getOtherAxis(s),p=u.getExtent();l=s["dataTo"+r.capitalFirst(s.dim)](t);var f=i.get("type");if(f&&"none"!==f){var _=o.buildElStyle(i),m=h[f](s,c,l,p,_);m.style=_,e.graphicKey=m.type,e.pointer=m}var g=i.get("label.margin"),v=d(t,n,i,c,g);o.buildLabelElOption(e,n,i,a,v)}});function d(e,t,n,r,i){var o=t.axis,c=o.dataToCoord(e),u=r.getAngleAxis().getExtent()[0];u=u/180*Math.PI;var d,h,p,f=r.getRadiusAxis().getExtent();if("radius"===o.dim){var _=s.create();s.rotate(_,_,u),s.translate(_,_,[r.cx,r.cy]),d=a.applyTransform([c,-i],_);var m=t.getModel("axisLabel").get("rotate")||0,g=l.innerTextLayout(u,m*Math.PI/180,-1);h=g.textAlign,p=g.textVerticalAlign}else{var v=f[1];d=r.coordToPoint([v+i,c]);var y=r.cx,b=r.cy;h=Math.abs(d[0]-y)/v<.3?"center":d[0]>y?"left":"right",p=Math.abs(d[1]-b)/v<.3?"middle":d[1]>b?"top":"bottom"}return{position:d,align:h,verticalAlign:p}}var h={line:function(e,t,n,r,i){return"angle"===e.dim?{type:"Line",shape:o.makeLineShape(t.coordToPoint([r[0],n]),t.coordToPoint([r[1],n]))}:{type:"Circle",shape:{cx:t.cx,cy:t.cy,r:n}}},shadow:function(e,t,n,r,i){var a=Math.max(1,e.getBandWidth()),s=Math.PI/180;return"angle"===e.dim?{type:"Sector",shape:o.makeSectorShape(t.cx,t.cy,r[0],r[1],(-n-a/2)*s,(a/2-n)*s)}:{type:"Sector",shape:o.makeSectorShape(t.cx,t.cy,n-a/2,n+a/2,0,2*Math.PI)}}};c.registerAxisPointerClass("PolarAxisPointer",u);var p=u;e.exports=p},"6bd4":function(e,t){var n={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};function r(e,t){if("world"===e){var r=n[t.name];if(r){var i=t.center;i[0]=r[0],i[1]=r[1]}}}e.exports=r},"6c12":function(e,t,n){var r=n("4e08"),i=(r.__DEV__,n("3eba")),a=n("6d8b"),o=n("fab2"),s=n("2306"),l=["axisLine","axisTickLabel","axisName"],c=i.extendComponentView({type:"radar",render:function(e,t,n){var r=this.group;r.removeAll(),this._buildAxes(e),this._buildSplitLineAndArea(e)},_buildAxes:function(e){var t=e.coordinateSystem,n=t.getIndicatorAxes(),r=a.map(n,(function(e){var n=new o(e.model,{position:[t.cx,t.cy],rotation:e.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return n}));a.each(r,(function(e){a.each(l,e.add,e),this.group.add(e.getGroup())}),this)},_buildSplitLineAndArea:function(e){var t=e.coordinateSystem,n=t.getIndicatorAxes();if(n.length){var r=e.get("shape"),i=e.getModel("splitLine"),o=e.getModel("splitArea"),l=i.getModel("lineStyle"),c=o.getModel("areaStyle"),u=i.get("show"),d=o.get("show"),h=l.get("color"),p=c.get("color");h=a.isArray(h)?h:[h],p=a.isArray(p)?p:[p];var f=[],_=[];if("circle"===r)for(var m=n[0].getTicksCoords(),g=t.cx,v=t.cy,y=0;y=0;o--)a=r.merge(a,t[o],!0);e.defaultOption=a}return e.defaultOption},getReferringComponents:function(e){return this.ecModel.queryComponents({mainType:e,index:this.get(e+"Index",!0),id:this.get(e+"Id",!0)})}});function _(e){var t=[];return r.each(f.getClassesByMainType(e),(function(e){t=t.concat(e.prototype.dependencies||[])})),t=r.map(t,(function(e){return l(e).main})),"dataset"!==e&&r.indexOf(t,"dataset")<=0&&t.unshift("dataset"),t}s(f,{registerWhenExtend:!0}),a.enableSubTypeDefaulter(f),a.enableTopologicalTravel(f,_),r.mixin(f,h);var m=f;e.exports=m},"6cc5":function(e,t,n){var r=n("6d8b"),i=n("401b"),a=n("1687"),o=n("9850"),s=n("0cde"),l=i.applyTransform;function c(){s.call(this)}function u(e){this.name=e,this.zoomLimit,s.call(this),this._roamTransformable=new c,this._rawTransformable=new c,this._center,this._zoom}function d(e,t,n,r){var i=n.seriesModel,a=i?i.coordinateSystem:null;return a===this?a[e](r):null}r.mixin(c,s),u.prototype={constructor:u,type:"view",dimensions:["x","y"],setBoundingRect:function(e,t,n,r){return this._rect=new o(e,t,n,r),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(e,t,n,r){this.transformTo(e,t,n,r),this._viewRect=new o(e,t,n,r)},transformTo:function(e,t,n,r){var i=this.getBoundingRect(),a=this._rawTransformable;a.transform=i.calculateTransform(new o(e,t,n,r)),a.decomposeTransform(),this._updateTransform()},setCenter:function(e){e&&(this._center=e,this._updateCenterAndZoom())},setZoom:function(e){e=e||1;var t=this.zoomLimit;t&&(null!=t.max&&(e=Math.min(t.max,e)),null!=t.min&&(e=Math.max(t.min,e))),this._zoom=e,this._updateCenterAndZoom()},getDefaultCenter:function(){var e=this.getBoundingRect(),t=e.x+e.width/2,n=e.y+e.height/2;return[t,n]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var e=this._rawTransformable.getLocalTransform(),t=this._roamTransformable,n=this.getDefaultCenter(),r=this.getCenter(),a=this.getZoom();r=i.applyTransform([],r,e),n=i.applyTransform([],n,e),t.origin=r,t.position=[n[0]-r[0],n[1]-r[1]],t.scale=[a,a],this._updateTransform()},_updateTransform:function(){var e=this._roamTransformable,t=this._rawTransformable;t.parent=e,e.updateTransform(),t.updateTransform(),a.copy(this.transform||(this.transform=[]),t.transform||a.create()),this._rawTransform=t.getLocalTransform(),this.invTransform=this.invTransform||[],a.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var e=this._roamTransformable.transform,t=this._rawTransformable;return{roamTransform:e?r.slice(e):a.create(),rawScale:r.slice(t.scale),rawPosition:r.slice(t.position)}},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var e=this.getBoundingRect().clone();return e.applyTransform(this.transform),e},dataToPoint:function(e,t,n){var r=t?this._rawTransform:this.transform;return n=n||[],r?l(n,e,r):i.copy(n,e)},pointToData:function(e){var t=this.invTransform;return t?l([],e,t):[e[0],e[1]]},convertToPixel:r.curry(d,"dataToPoint"),convertFromPixel:r.curry(d,"pointToData"),containPoint:function(e){return this.getViewRectAfterRoam().contain(e[0],e[1])}},r.mixin(u,s);var h=u;e.exports=h},"6cd8":function(e,t,n){var r=n("6d8b"),i=n("2306"),a=n("1418"),o=n("22da"),s=o.radialCoordinate,l=n("3eba"),c=n("e263"),u=n("6cc5"),d=n("01ef"),h=n("4a01"),p=n("c526"),f=p.onIrrelevantElement,_=n("4e08"),m=(_.__DEV__,n("3842")),g=m.parsePercent,v=i.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(e,t){var n=t.childPoints,r=n.length,i=t.parentPoint,a=n[0],o=n[r-1];if(1===r)return e.moveTo(i[0],i[1]),void e.lineTo(a[0],a[1]);var s=t.orient,l="TB"===s||"BT"===s?0:1,c=1-l,u=g(t.forkPosition,1),d=[];d[l]=i[l],d[c]=i[c]+(o[c]-i[c])*u,e.moveTo(i[0],i[1]),e.lineTo(d[0],d[1]),e.moveTo(a[0],a[1]),d[l]=a[l],e.lineTo(d[0],d[1]),d[l]=o[l],e.lineTo(d[0],d[1]),e.lineTo(o[0],o[1]);for(var h=1;hE.x,y||(v-=Math.PI));var A=y?"left":"right",w=s.labelModel.get("rotate"),O=w*(Math.PI/180);g.setStyle({textPosition:s.labelModel.get("position")||A,textRotation:null==w?-v:O,textOrigin:"center",verticalAlign:"middle"})}x(o,c,d,n,_,f,m,r,s)}function x(e,t,n,a,o,s,l,c,u){var d=u.edgeShape,h=a.__edge;if("curve"===d)t.parentNode&&t.parentNode!==n&&(h||(h=a.__edge=new i.BezierCurve({shape:C(u,o,o),style:r.defaults({opacity:0,strokeNoScale:!0},u.lineStyle)})),i.updateProps(h,{shape:C(u,s,l),style:r.defaults({opacity:1},u.lineStyle)},e));else if("polyline"===d&&"orthogonal"===u.layout&&t!==n&&t.children&&0!==t.children.length&&!0===t.isExpand){for(var p=t.children,f=[],_=0;_=0;a--)r.push(i[a])}}t.eachAfter=n,t.eachBefore=r},"6dd8":function(e,t,n){"use strict";n.r(t),function(e){var n=function(){if("undefined"!==typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(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)},e.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)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t,r=c.some((function(e){return!!~n.indexOf(e)}));r&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),h=function(e,t){for(var n=0,r=Object.keys(t);n0},e}(),O="undefined"!==typeof WeakMap?new WeakMap:new n,R=function(){function e(t){if(!(this instanceof e))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=d.getInstance(),r=new w(t,n,this);O.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach((function(e){R.prototype[e]=function(){var t;return(t=O.get(this))[e].apply(t,arguments)}}));var I=function(){return"undefined"!==typeof i.ResizeObserver?i.ResizeObserver:R}();t["default"]=I}.call(this,n("c8ba"))},"6de8":function(e,t){e.exports=function(e){var t="abstract add and array as asc aspect assembly async begin break block by case class concat const copy constructor continue create default delegate desc distinct div do downto dynamic each else empty end ensure enum equals event except exit extension external false final finalize finalizer finally flags for forward from function future global group has if implementation implements implies in index inherited inline interface into invariants is iterator join locked locking loop matching method mod module namespace nested new nil not notify nullable of old on operator or order out override parallel params partial pinned private procedure property protected public queryable raise read readonly record reintroduce remove repeat require result reverse sealed select self sequence set shl shr skip static step soft take then to true try tuple type union unit unsafe until uses using var virtual raises volatile where while with write xor yield await mapped deprecated stdcall cdecl pascal register safecall overload library platform reference packed strict published autoreleasepool selector strong weak unretained",n=e.COMMENT("{","}",{relevance:0}),r=e.COMMENT("\\(\\*","\\*\\)",{relevance:10}),i={className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},a={className:"string",begin:"(#\\d+)+"},o={className:"function",beginKeywords:"function constructor destructor procedure method",end:"[:;]",keywords:"function constructor|10 destructor|10 procedure|10 method|10",contains:[e.TITLE_MODE,{className:"params",begin:"\\(",end:"\\)",keywords:t,contains:[i,a]},n,r]};return{case_insensitive:!0,lexemes:/\.?\w+/,keywords:t,illegal:'("|\\$[G-Zg-z]|\\/\\*||->)',contains:[n,r,e.C_LINE_COMMENT_MODE,i,a,e.NUMBER_MODE,o,{className:"class",begin:"=\\bclass\\b",end:"end;",keywords:t,contains:[i,a,n,r,e.C_LINE_COMMENT_MODE,o]}]}}},"6f4f":function(e,t,n){var r=n("77e9"),i=n("85e7"),a=n("9742"),o=n("5a94")("IE_PROTO"),s=function(){},l="prototype",c=function(){var e,t=n("05f5")("iframe"),r=a.length,i="<",o=">";t.style.display="none",n("9141").appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(i+"script"+o+"document.F=Object"+i+"/script"+o),e.close(),c=e.F;while(r--)delete c[l][a[r]];return c()};e.exports=Object.create||function(e,t){var n;return null!==e?(s[l]=r(e),n=new s,s[l]=null,n[o]=e):n=c(),void 0===t?n:i(n,t)}},"6fda":function(e,t,n){var r=n("6d8b"),i=r.each,a="\0_ec_hist_store";function o(e,t){var n=u(e);i(t,(function(t,r){for(var i=n.length-1;i>=0;i--){var a=n[i];if(a[r])break}if(i<0){var o=e.queryComponents({mainType:"dataZoom",subType:"select",id:r})[0];if(o){var s=o.getPercentRange();n[0][r]={dataZoomId:r,start:s[0],end:s[1]}}}})),n.push(t)}function s(e){var t=u(e),n=t[t.length-1];t.length>1&&t.pop();var r={};return i(n,(function(e,n){for(var i=t.length-1;i>=0;i--){e=t[i][n];if(e){r[n]=e;break}}})),r}function l(e){e[a]=null}function c(e){return u(e).length}function u(e){var t=e[a];return t||(t=e[a]=[{}]),t}t.push=o,t.pop=s,t.clear=l,t.count=c},7023:function(e,t,n){var r=n("6d8b"),i={updateSelectedMap:function(e){this._targetList=r.isArray(e)?e.slice():[],this._selectTargetMap=r.reduce(e||[],(function(e,t){return e.set(t.name,t),e}),r.createHashMap())},select:function(e,t){var n=null!=t?this._targetList[t]:this._selectTargetMap.get(e),r=this.get("selectedMode");"single"===r&&this._selectTargetMap.each((function(e){e.selected=!1})),n&&(n.selected=!0)},unSelect:function(e,t){var n=null!=t?this._targetList[t]:this._selectTargetMap.get(e);n&&(n.selected=!1)},toggleSelected:function(e,t){var n=null!=t?this._targetList[t]:this._selectTargetMap.get(e);if(null!=n)return this[n.selected?"unSelect":"select"](e,t),n.selected},isSelected:function(e,t){var n=null!=t?this._targetList[t]:this._selectTargetMap.get(e);return n&&n.selected}};e.exports=i},7037:function(e,t,n){function r(t){return e.exports=r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports["default"]=e.exports,r(t)}n("a4d3"),n("e01a"),n("d3b7"),n("d28b"),n("3ca3"),n("ddb0"),e.exports=r,e.exports.__esModule=!0,e.exports["default"]=e.exports},7149:function(e,t,n){"use strict";var r=n("23e7"),i=n("d066"),a=n("c430"),o=n("d256"),s=n("4738").CONSTRUCTOR,l=n("cdf9"),c=i("Promise"),u=a&&!s;r({target:"Promise",stat:!0,forced:a||s},{resolve:function(e){return l(u&&this===c?o:this,e)}})},7156:function(e,t,n){var r=n("1626"),i=n("861d"),a=n("d2bb");e.exports=function(e,t,n){var o,s;return a&&r(o=t.constructor)&&o!==n&&i(s=o.prototype)&&s!==n.prototype&&a(e,s),e}},"71ad":function(e,t,n){var r=n("6d8b"),i={show:!0,zlevel: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:"#333",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:["#ccc"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},a={};a.categoryAxis=r.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},i),a.valueAxis=r.merge({boundaryGap:[0,0],splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#eee",width:1}}},i),a.timeAxis=r.defaults({scale:!0,min:"dataMin",max:"dataMax"},a.valueAxis),a.logAxis=r.defaults({scale:!0,logBase:10},a.valueAxis);var o=a;e.exports=o},"71b2":function(e,t,n){var r=n("6d8b"),i=r.createHashMap;function a(e){e.eachSeriesByType("themeRiver",(function(e){var t=e.getData(),n=e.getRawData(),r=e.get("color"),a=i();t.each((function(e){a.set(t.getRawIndex(e),e)})),n.each((function(i){var o=n.getName(i),s=r[(e.nameMap.get(o)-1)%r.length];n.setItemVisual(i,"color",s);var l=a.get(i);null!=l&&t.setItemVisual(l,"color",s)}))}))}e.exports=a},7234:function(e,t){e.exports=function(e){return null===e||void 0===e}},7293:function(e,t,n){var r=n("4e08"),i=(r.__DEV__,n("4f85")),a=n("6179"),o=n("6d8b"),s=o.concatArray,l=o.mergeAll,c=o.map,u=n("eda2"),d=u.encodeHTML,h=(n("2039"),"undefined"===typeof Uint32Array?Array:Uint32Array),p="undefined"===typeof Float64Array?Array:Float64Array;function f(e){var t=e.data;t&&t[0]&&t[0][0]&&t[0][0].coord&&(e.data=c(t,(function(e){var t=[e[0].coord,e[1].coord],n={coords:t};return e[0].name&&(n.fromName=e[0].name),e[1].name&&(n.toName=e[1].name),l([n,e[0],e[1]])})))}var _=i.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.color",init:function(e){e.data=e.data||[],f(e);var t=this._processFlatCoordsArray(e.data);this._flatCoords=t.flatCoords,this._flatCoordsOffset=t.flatCoordsOffset,t.flatCoords&&(e.data=new Float32Array(t.count)),_.superApply(this,"init",arguments)},mergeOption:function(e){if(f(e),e.data){var t=this._processFlatCoordsArray(e.data);this._flatCoords=t.flatCoords,this._flatCoordsOffset=t.flatCoordsOffset,t.flatCoords&&(e.data=new Float32Array(t.count))}_.superApply(this,"mergeOption",arguments)},appendData:function(e){var t=this._processFlatCoordsArray(e.data);t.flatCoords&&(this._flatCoords?(this._flatCoords=s(this._flatCoords,t.flatCoords),this._flatCoordsOffset=s(this._flatCoordsOffset,t.flatCoordsOffset)):(this._flatCoords=t.flatCoords,this._flatCoordsOffset=t.flatCoordsOffset),e.data=new Float32Array(t.count)),this.getRawData().appendData(e.data)},_getCoordsFromItemModel:function(e){var t=this.getData().getItemModel(e),n=t.option instanceof Array?t.option:t.getShallow("coords");return n},getLineCoordsCount:function(e){return this._flatCoordsOffset?this._flatCoordsOffset[2*e+1]:this._getCoordsFromItemModel(e).length},getLineCoords:function(e,t){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*e],r=this._flatCoordsOffset[2*e+1],i=0;i "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var e=this.option.progressive;return null==e?this.option.large?1e4:this.get("progressive"):e},getProgressiveThreshold:function(){var e=this.option.progressiveThreshold;return null==e?this.option.large?2e4:this.get("progressiveThreshold"):e},defaultOption:{coordinateSystem:"geo",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!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}}}),m=_;e.exports=m},"72b6":function(e,t,n){var r=n("3eba"),i=n("6d8b"),a=n("2306"),o=n("eda2"),s=n("f934"),l=n("5f14"),c=r.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(e,t){this.ecModel=e,this.api=t,this.visualMapModel},render:function(e,t,n,r){this.visualMapModel=e,!1!==e.get("show")?this.doRender.apply(this,arguments):this.group.removeAll()},renderBackground:function(e){var t=this.visualMapModel,n=o.normalizeCssArray(t.get("padding")||0),r=e.getBoundingRect();e.add(new a.Rect({z2:-1,silent:!0,shape:{x:r.x-n[3],y:r.y-n[0],width:r.width+n[3]+n[1],height:r.height+n[0]+n[2]},style:{fill:t.get("backgroundColor"),stroke:t.get("borderColor"),lineWidth:t.get("borderWidth")}}))},getControllerVisual:function(e,t,n){n=n||{};var r=n.forceState,a=this.visualMapModel,o={};if("symbol"===t&&(o.symbol=a.get("itemSymbol")),"color"===t){var s=a.get("contentColor");o.color=s}function c(e){return o[e]}function u(e,t){o[e]=t}var d=a.controllerVisuals[r||a.getValueState(e)],h=l.prepareVisualTypes(d);return i.each(h,(function(r){var i=d[r];n.convertOpacityToAlpha&&"opacity"===r&&(r="colorAlpha",i=d.__alphaForOpacity),l.dependsOn(r,t)&&i&&i.applyVisual(e,c,u)})),o[t]},positionGroup:function(e){var t=this.visualMapModel,n=this.api;s.positionElement(e,t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},doRender:i.noop});e.exports=c},7368:function(e,t,n){var r=n("4e08"),i=(r.__DEV__,n("6d8b")),a=n("625e"),o=a.enableClassCheck;function s(e){return"_EC_"+e}var l=function(e){this._directed=e||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},c=l.prototype;function u(e,t){this.id=null==e?"":e,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=null==t?-1:t}function d(e,t,n){this.node1=e,this.node2=t,this.dataIndex=null==n?-1:n}c.type="graph",c.isDirected=function(){return this._directed},c.addNode=function(e,t){e=null==e?""+t:""+e;var n=this._nodesMap;if(!n[s(e)]){var r=new u(e,t);return r.hostGraph=this,this.nodes.push(r),n[s(e)]=r,r}},c.getNodeByIndex=function(e){var t=this.data.getRawIndex(e);return this.nodes[t]},c.getNodeById=function(e){return this._nodesMap[s(e)]},c.addEdge=function(e,t,n){var r=this._nodesMap,i=this._edgesMap;if("number"===typeof e&&(e=this.nodes[e]),"number"===typeof t&&(t=this.nodes[t]),u.isInstance(e)||(e=r[s(e)]),u.isInstance(t)||(t=r[s(t)]),e&&t){var a=e.id+"-"+t.id,o=new d(e,t,n);return o.hostGraph=this,this._directed&&(e.outEdges.push(o),t.inEdges.push(o)),e.edges.push(o),e!==t&&t.edges.push(o),this.edges.push(o),i[a]=o,o}},c.getEdgeByIndex=function(e){var t=this.edgeData.getRawIndex(e);return this.edges[t]},c.getEdge=function(e,t){u.isInstance(e)&&(e=e.id),u.isInstance(t)&&(t=t.id);var n=this._edgesMap;return this._directed?n[e+"-"+t]:n[e+"-"+t]||n[t+"-"+e]},c.eachNode=function(e,t){for(var n=this.nodes,r=n.length,i=0;i=0&&e.call(t,n[i],i)},c.eachEdge=function(e,t){for(var n=this.edges,r=n.length,i=0;i=0&&n[i].node1.dataIndex>=0&&n[i].node2.dataIndex>=0&&e.call(t,n[i],i)},c.breadthFirstTraverse=function(e,t,n,r){if(u.isInstance(t)||(t=this._nodesMap[s(t)]),t){for(var i="out"===n?"outEdges":"in"===n?"inEdges":"edges",a=0;a=0&&n.node2.dataIndex>=0}));for(i=0,a=r.length;i=0&&this[e][t].setItemVisual(this.dataIndex,n,r)},getVisual:function(n,r){return this[e][t].getItemVisual(this.dataIndex,n,r)},setLayout:function(n,r){this.dataIndex>=0&&this[e][t].setItemLayout(this.dataIndex,n,r)},getLayout:function(){return this[e][t].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[e][t].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[e][t].getRawIndex(this.dataIndex)}}};i.mixin(u,h("hostGraph","data")),i.mixin(d,h("hostGraph","edgeData")),l.Node=u,l.Edge=d,o(u),o(d);var p=l;e.exports=p},"73ca":function(e,t,n){var r=n("2306"),i=n("7e5b");function a(e){this._ctor=e||i,this.group=new r.Group}var o=a.prototype;function s(e,t,n,r){var i=t.getItemLayout(n);if(h(i)){var a=new e._ctor(t,n,r);t.setItemGraphicEl(n,a),e.group.add(a)}}function l(e,t,n,r,i,a){var o=t.getItemGraphicEl(r);h(n.getItemLayout(i))?(o?o.updateData(n,i,a):o=new e._ctor(n,i,a),n.setItemGraphicEl(i,o),e.group.add(o)):e.group.remove(o)}function c(e){return e.animators&&e.animators.length>0}function u(e){var t=e.hostModel;return{lineStyle:t.getModel("lineStyle").getLineStyle(),hoverLineStyle:t.getModel("emphasis.lineStyle").getLineStyle(),labelModel:t.getModel("label"),hoverLabelModel:t.getModel("emphasis.label")}}function d(e){return isNaN(e[0])||isNaN(e[1])}function h(e){return!d(e[0])&&!d(e[1])}o.isPersistent=function(){return!0},o.updateData=function(e){var t=this,n=t.group,r=t._lineData;t._lineData=e,r||n.removeAll();var i=u(e);e.diff(r).add((function(n){s(t,e,n,i)})).update((function(n,a){l(t,r,e,a,n,i)})).remove((function(e){n.remove(r.getItemGraphicEl(e))})).execute()},o.updateLayout=function(){var e=this._lineData;e&&e.eachItemGraphicEl((function(t,n){t.updateLayout(e,n)}),this)},o.incrementalPrepareUpdate=function(e){this._seriesScope=u(e),this._lineData=null,this.group.removeAll()},o.incrementalUpdate=function(e,t){function n(e){e.isGroup||c(e)||(e.incremental=e.useHoverLayer=!0)}for(var r=e.start;r/},{begin:/::=/,starts:{end:/$/,contains:[{begin://},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]}}]}}},7661:function(e,t,n){var r=n("0c41"),i=n("3eba"),a=i.extendComponentView({type:"geo",init:function(e,t){var n=new r(t,!0);this._mapDraw=n,this.group.add(n.group)},render:function(e,t,n,r){if(!r||"geoToggleSelect"!==r.type||r.from!==this.uid){var i=this._mapDraw;e.get("show")?i.draw(e,t,n,this,r):this._mapDraw.group.removeAll(),this.group.silent=e.get("silent")}},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});e.exports=a},"767a":function(e,t){e.exports=function(e){var t={className:"variable",begin:/\$[\w\d#@][\w\d_]*/},n={className:"variable",begin:/<(?!\/)/,end:/>/};return{aliases:["pf.conf"],lexemes:/[a-z0-9_<>-]+/,keywords:{built_in:"block match pass load anchor|5 antispoof|10 set table",keyword:"in out log quick on rdomain inet inet6 proto from port os to routeallow-opts divert-packet divert-reply divert-to flags group icmp-typeicmp6-type label once probability recieved-on rtable prio queuetos tag tagged user keep fragment for os dropaf-to|10 binat-to|10 nat-to|10 rdr-to|10 bitmask least-stats random round-robinsource-hash static-portdup-to reply-to route-toparent bandwidth default min max qlimitblock-policy debug fingerprints hostid limit loginterface optimizationreassemble ruleset-optimization basic none profile skip state-defaultsstate-policy timeoutconst counters persistno modulate synproxy state|5 floating if-bound no-sync pflow|10 sloppysource-track global rule max-src-nodes max-src-states max-src-connmax-src-conn-rate overload flushscrub|5 max-mss min-ttl no-df|10 random-id",literal:"all any no-route self urpf-failed egress|5 unknown"},contains:[e.HASH_COMMENT_MODE,e.NUMBER_MODE,e.QUOTE_STRING_MODE,t,n]}}},"767c":function(e,t,n){var r=n("3eba"),i=n("6d8b"),a=n("607d"),o=n("29a8"),s=n("2145"),l=o.toolbox.dataView,c=new Array(60).join("-"),u="\t";function d(e){var t={},n=[],r=[];return e.eachRawSeries((function(e){var i=e.coordinateSystem;if(!i||"cartesian2d"!==i.type&&"polar"!==i.type)n.push(e);else{var a=i.getBaseAxis();if("category"===a.type){var o=a.dim+"_"+a.index;t[o]||(t[o]={categoryAxis:a,valueAxis:i.getOtherAxis(a),series:[]},r.push({axisDim:a.dim,axisIndex:a.index})),t[o].series.push(e)}else n.push(e)}})),{seriesGroupByCategoryAxis:t,other:n,meta:r}}function h(e){var t=[];return i.each(e,(function(e,n){var r=e.categoryAxis,a=e.valueAxis,o=a.dim,s=[" "].concat(i.map(e.series,(function(e){return e.name}))),l=[r.model.getCategories()];i.each(e.series,(function(e){var t=e.getRawData();l.push(e.getRawData().mapArray(t.mapDimension(o),(function(e){return e})))}));for(var c=[s.join(u)],d=0;d=0)return!0}var g=new RegExp("["+u+"]+","g");function v(e){for(var t=e.split(/\n+/g),n=_(t.shift()).split(g),r=[],a=i.map(n,(function(e){return{name:e,data:[]}})),o=0;o/}]}]}]},s={className:"string",begin:"~[A-Z](?="+a+")",contains:[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin:/\/}]},l={className:"string",contains:[e.BACKSLASH_ESCAPE,i],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},c={className:"function",beginKeywords:"def defp defmacro",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:t,endsParent:!0})]},u=e.inherit(c,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),d=[l,s,o,e.HASH_COMMENT_MODE,u,c,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[l,{begin:n}],relevance:0},{className:"symbol",begin:t+":(?!:)",relevance:0},{className:"number",begin:"(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[1-9][0-9_]*(.[0-9_]+([eE][-+]?[0-9]+)?)?)",relevance:0},{className:"variable",begin:"(\\$\\W)|((\\$|\\@\\@?)(\\w+))"},{begin:"->"},{begin:"("+e.RE_STARTERS_RE+")\\s*",contains:[e.HASH_COMMENT_MODE,{className:"regexp",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,i],variants:[{begin:"/",end:"/[a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}],relevance:0}];return i.contains=d,{lexemes:t,keywords:r,contains:d}}},7781:function(e,t){e.exports=function(e){var t="div mod in and or not xor asserterror begin case do downto else end exit for if of repeat then to until while with var",n="false true",r=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],i={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},a={className:"string",begin:/(#\d+)+/},o={className:"number",begin:"\\b\\d+(\\.\\d+)?(DT|D|T)",relevance:0},s={className:"string",begin:'"',end:'"'},l={className:"function",beginKeywords:"procedure",end:/[:;]/,keywords:"procedure|10",contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:t,contains:[i,a]}].concat(r)},c={className:"class",begin:"OBJECT (Table|Form|Report|Dataport|Codeunit|XMLport|MenuSuite|Page|Query) (\\d+) ([^\\r\\n]+)",returnBegin:!0,contains:[e.TITLE_MODE,l]};return{case_insensitive:!0,keywords:{keyword:t,literal:n},illegal:/\/\*/,contains:[i,a,o,s,e.NUMBER_MODE,c,l]}}},7782:function(e,t,n){var r=n("3eba"),i=n("6d8b");function a(e,t){i.each(t,(function(t){t.update="updateView",r.registerAction(t,(function(n,r){var i={};return r.eachComponent({mainType:"series",subType:e,query:n},(function(e){e[t.method]&&e[t.method](n.name,n.dataIndex);var r=e.getData();r.each((function(t){var n=r.getName(t);i[n]=e.isSelected(n)||!1}))})),{name:n.name,selected:i,seriesId:n.seriesId}}))}))}e.exports=a},"77e9":function(e,t,n){var r=n("7a41");e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},7839:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"785a":function(e,t,n){var r=n("cc12"),i=r("span").classList,a=i&&i.constructor&&i.constructor.prototype;e.exports=a===Object.prototype?void 0:a},7887:function(e,t,n){var r=n("6d8b"),i=n("84ce");function a(e,t,n){i.call(this,e,t,n),this.type="value",this.angle=0,this.name="",this.model}r.inherits(a,i);var o=a;e.exports=o},7891:function(e,t,n){var r=n("6d8b");function i(e){var t=e.polar;if(t){r.isArray(t)||(t=[t]);var n=[];r.each(t,(function(t,i){t.indicator?(t.type&&!t.shape&&(t.shape=t.type),e.radar=e.radar||[],r.isArray(e.radar)||(e.radar=[e.radar]),e.radar.push(t)):n.push(t)})),e.polar=n}r.each(e.series,(function(e){e&&"radar"===e.type&&e.polarIndex&&(e.radarIndex=e.polarIndex)}))}e.exports=i},"78f0":function(e,t,n){var r=n("3eba");n("d9f1");var i=r.extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(e){var t,n=this.ecModel;return n.eachComponent(e,(function(e){e.getCoordSysModel()===this&&(t=e)}),this),t},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}});e.exports=i},7919:function(e,t,n){var r=n("f934"),i=r.getLayoutRect,a=r.box,o=r.positionElement,s=n("eda2"),l=n("2306");function c(e,t,n){var r=t.getBoxLayoutParams(),s=t.get("padding"),l={width:n.getWidth(),height:n.getHeight()},c=i(r,l,s);a(t.get("orient"),e,t.get("itemGap"),c.width,c.height),o(e,r,l,s)}function u(e,t){var n=s.normalizeCssArray(t.get("padding")),r=t.getItemStyle(["color","opacity"]);r.fill=t.get("backgroundColor");e=new l.Rect({shape:{x:e.x-n[3],y:e.y-n[0],width:e.width+n[1]+n[3],height:e.height+n[0]+n[2],r:t.get("borderRadius")},style:r,silent:!0,z2:-1});return e}t.layout=c,t.makeBackground=u},"792e":function(e,t,n){n("1ccf"),n("14d3")},"79b5":function(e,t){e.exports=function(e){var t="action collection component concat debugger each each-in else get hash if input link-to loc log mut outlet partial query-params render textarea unbound unless with yield view",n={illegal:/\}\}/,begin:/[a-zA-Z0-9_]+=/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/[a-zA-Z0-9_]+/}]},r=(e.QUOTE_STRING_MODE,{endsWithParent:!0,relevance:0,keywords:{keyword:"as",built_in:t},contains:[e.QUOTE_STRING_MODE,n,e.NUMBER_MODE]});return{case_insensitive:!0,subLanguage:"xml",contains:[e.COMMENT("{{!(--)?","(--)?}}"),{className:"template-tag",begin:/\{\{[#\/]/,end:/\}\}/,contains:[{className:"name",begin:/[a-zA-Z\.\-]+/,keywords:{"builtin-name":t},starts:r}]},{className:"template-variable",begin:/\{\{[a-zA-Z][a-zA-Z\-]+/,end:/\}\}/,keywords:{keyword:"as",built_in:t},contains:[e.QUOTE_STRING_MODE]}]}}},"7a41":function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},"7a5e":function(e,t){e.exports=function(e){var t={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%|=>|\\[\\["}}},"7c30":function(e,t){e.exports=function(e){var t="([-a-zA-Z$._][\\w\\-$.]*)";return{keywords:"begin end true false declare define global constant private linker_private internal available_externally linkonce linkonce_odr weak weak_odr appending dllimport dllexport common default hidden protected extern_weak external thread_local zeroinitializer undef null to tail target triple datalayout volatile nuw nsw nnan ninf nsz arcp fast exact inbounds align addrspace section alias module asm sideeffect gc dbg linker_private_weak attributes blockaddress initialexec localdynamic localexec prefix unnamed_addr ccc fastcc coldcc x86_stdcallcc x86_fastcallcc arm_apcscc arm_aapcscc arm_aapcs_vfpcc ptx_device ptx_kernel intel_ocl_bicc msp430_intrcc spir_func spir_kernel x86_64_sysvcc x86_64_win64cc x86_thiscallcc cc c signext zeroext inreg sret nounwind noreturn noalias nocapture byval nest readnone readonly inlinehint noinline alwaysinline optsize ssp sspreq noredzone noimplicitfloat naked builtin cold nobuiltin noduplicate nonlazybind optnone returns_twice sanitize_address sanitize_memory sanitize_thread sspstrong uwtable returned type opaque eq ne slt sgt sle sge ult ugt ule uge oeq one olt ogt ole oge ord uno ueq une x acq_rel acquire alignstack atomic catch cleanup filter inteldialect max min monotonic nand personality release seq_cst singlethread umax umin unordered xchg add fadd sub fsub mul fmul udiv sdiv fdiv urem srem frem shl lshr ashr and or xor icmp fcmp phi call trunc zext sext fptrunc fpext uitofp sitofp fptoui fptosi inttoptr ptrtoint bitcast addrspacecast select va_arg ret br switch invoke unwind unreachable indirectbr landingpad resume malloc alloca free load store getelementptr extractelement insertelement shufflevector getresult extractvalue insertvalue atomicrmw cmpxchg fence argmemonly double",contains:[{className:"keyword",begin:"i\\d+"},e.COMMENT(";","\\n",{relevance:0}),e.QUOTE_STRING_MODE,{className:"string",variants:[{begin:'"',end:'[^\\\\]"'}],relevance:0},{className:"title",variants:[{begin:"@"+t},{begin:"@\\d+"},{begin:"!"+t},{begin:"!\\d+"+t}]},{className:"symbol",variants:[{begin:"%"+t},{begin:"%\\d+"},{begin:"#\\d+"}]},{className:"number",variants:[{begin:"0[xX][a-fA-F0-9]+"},{begin:"-?\\d+(?:[.]\\d+)?(?:[eE][-+]?\\d+(?:[.]\\d+)?)?"}],relevance:0}]}}},"7c46":function(e,t){e.exports=function(e){var t={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"}]},n={className:"subst",variants:[{begin:"\\${",end:"}"}],keywords:"true false null this is new super"},r={className:"string",variants:[{begin:"r'''",end:"'''"},{begin:'r"""',end:'"""'},{begin:"r'",end:"'",illegal:"\\n"},{begin:'r"',end:'"',illegal:"\\n"},{begin:"'''",end:"'''",contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:'"""',end:'"""',contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t,n]}]};n.contains=[e.C_NUMBER_MODE,r];var i={keyword:"abstract as assert async await break case catch class const continue covariant default deferred do dynamic else enum export extends extension external factory false final finally for Function get hide if implements import in inferface is library mixin new null on operator part rethrow return set show static super switch sync this throw true try typedef var void while with yield",built_in:"Comparable DateTime Duration Function Iterable Iterator List Map Match Null Object Pattern RegExp Set Stopwatch String StringBuffer StringSink Symbol Type Uri bool double dynamic int num print Element ElementList document querySelector querySelectorAll window"};return{keywords:i,contains:[r,e.COMMENT("/\\*\\*","\\*/",{subLanguage:"markdown"}),e.COMMENT("///+\\s*","$",{contains:[{subLanguage:"markdown",begin:".",end:"$"}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"class interface",end:"{",excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},e.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"},{begin:"=>"}]}}},"7c4d":function(e,t,n){var r=n("3eba"),i=n("6d8b"),a=n("fc82"),o=n("bd9e"),s=n("6fda"),l=n("ef6a"),c=n("29a8"),u=n("2145");n("dd39");var d=c.toolbox.dataZoom,h=i.each,p="\0_ec_\0toolbox-dataZoom_";function f(e,t,n){(this._brushController=new a(n.getZr())).on("brush",i.bind(this._onBrush,this)).mount(),this._isZoomActive}f.defaultOption={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:i.clone(d.title),brushStyle:{borderWidth:0,color:"rgba(0,0,0,0.2)"}};var _=f.prototype;_.render=function(e,t,n,r){this.model=e,this.ecModel=t,this.api=n,y(e,t,this,r,n),v(e,t)},_.onclick=function(e,t,n){m[n].call(this)},_.remove=function(e,t){this._brushController.unmount()},_.dispose=function(e,t){this._brushController.dispose()};var m={zoom:function(){var e=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:e})},back:function(){this._dispatchZoomAction(s.pop(this.ecModel))}};function g(e){var t={};return i.each(["xAxisIndex","yAxisIndex"],(function(n){t[n]=e[n],null==t[n]&&(t[n]="all"),(!1===t[n]||"none"===t[n])&&(t[n]=[])})),t}function v(e,t){e.setIconStatus("back",s.count(t)>1?"emphasis":"normal")}function y(e,t,n,r,i){var a=n._isZoomActive;r&&"takeGlobalCursor"===r.type&&(a="dataZoomSelect"===r.key&&r.dataZoomSelectActive),n._isZoomActive=a,e.setIconStatus("zoom",a?"emphasis":"normal");var s=new o(g(e.option),t,{include:["grid"]});n._brushController.setPanels(s.makePanelOpts(i,(function(e){return e.xAxisDeclared&&!e.yAxisDeclared?"lineX":!e.xAxisDeclared&&e.yAxisDeclared?"lineY":"rect"}))).enableBrush(!!a&&{brushType:"auto",brushStyle:e.getModel("brushStyle").getItemStyle()})}_._onBrush=function(e,t){if(t.isEnd&&e.length){var n={},r=this.ecModel;this._brushController.updateCovers([]);var i=new o(g(this.model.option),r,{include:["grid"]});i.matchOutputRanges(e,r,(function(e,t,n){if("cartesian2d"===n.type){var r=e.brushType;"rect"===r?(a("x",n,t[0]),a("y",n,t[1])):a({lineX:"x",lineY:"y"}[r],n,t)}})),s.push(r,n),this._dispatchZoomAction(n)}function a(e,t,i){var a=t.getAxis(e),o=a.model,s=c(e,o,r),u=s.findRepresentativeAxisProxy(o).getMinMaxSpan();null==u.minValueSpan&&null==u.maxValueSpan||(i=l(0,i.slice(),a.scale.getExtent(),0,u.minValueSpan,u.maxValueSpan)),s&&(n[s.id]={dataZoomId:s.id,startValue:i[0],endValue:i[1]})}function c(e,t,n){var r;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){var i=n.getAxisModel(e,t.componentIndex);i&&(r=n)})),r}},_._dispatchZoomAction=function(e){var t=[];h(e,(function(e,n){t.push(i.clone(e))})),t.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:t})},u.register("dataZoom",f),r.registerPreprocessor((function(e){if(e){var t=e.dataZoom||(e.dataZoom=[]);i.isArray(t)||(e.dataZoom=t=[t]);var n=e.toolbox;if(n&&(i.isArray(n)&&(n=n[0]),n&&n.feature)){var r=n.feature.dataZoom;a("xAxis",r),a("yAxis",r)}}function a(e,n){if(n){var r=e+"Index",a=n[r];null==a||"all"===a||i.isArray(a)||(a=!1===a||"none"===a?[]:[a]),o(e,(function(o,s){if(null==a||"all"===a||-1!==i.indexOf(a,s)){var l={type:"select",$fromToolbox:!0,filterMode:n.filterMode||"filter",id:p+e+s};l[r]=s,t.push(l)}}))}}function o(t,n){var r=e[t];i.isArray(r)||(r=r?[r]:[]),h(r,n)}}));var b=f;e.exports=b},"7c71":function(e,t){e.exports=function(e){var t="Int Float String Bool Dynamic Void Array ";return{aliases:["hx"],keywords:{keyword:"break case cast catch continue default do dynamic else enum extern for function here if import in inline never new override package private get set public return static super switch this throw trace try typedef untyped using var while "+t,built_in:"trace this",literal:"true false null _"},contains:[{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"},{className:"subst",begin:"\\$",end:"\\W}"}]},e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"@:",end:"$"},{className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"if else elseif end error"}},{className:"type",begin:":[ \t]*",end:"[^A-Za-z0-9_ \t\\->]",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:":[ \t]*",end:"\\W",excludeBegin:!0,excludeEnd:!0},{className:"type",begin:"new *",end:"\\W",excludeBegin:!0,excludeEnd:!0},{className:"class",beginKeywords:"enum",end:"\\{",contains:[e.TITLE_MODE]},{className:"class",beginKeywords:"abstract",end:"[\\{$]",contains:[{className:"type",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"type",begin:"from +",end:"\\W",excludeBegin:!0,excludeEnd:!0},{className:"type",begin:"to +",end:"\\W",excludeBegin:!0,excludeEnd:!0},e.TITLE_MODE],keywords:{keyword:"abstract from to"}},{className:"class",begin:"\\b(class|interface) +",end:"[\\{$]",excludeEnd:!0,keywords:"class interface",contains:[{className:"keyword",begin:"\\b(extends|implements) +",keywords:"extends implements",contains:[{className:"type",begin:e.IDENT_RE,relevance:0}]},e.TITLE_MODE]},{className:"function",beginKeywords:"function",end:"\\(",excludeEnd:!0,illegal:"\\S",contains:[e.TITLE_MODE]}],illegal:/<\//}}},"7c73":function(e,t,n){var r,i=n("825a"),a=n("37e8"),o=n("7839"),s=n("d012"),l=n("1be4"),c=n("cc12"),u=n("f772"),d=">",h="<",p="prototype",f="script",_=u("IE_PROTO"),m=function(){},g=function(e){return h+f+d+e+h+"/"+f+d},v=function(e){e.write(g("")),e.close();var t=e.parentWindow.Object;return e=null,t},y=function(){var e,t=c("iframe"),n="java"+f+":";return t.style.display="none",l.appendChild(t),t.src=String(n),e=t.contentWindow.document,e.open(),e.write(g("document.F=Object")),e.close(),e.F},b=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}b="undefined"!=typeof document?document.domain&&r?v(r):y():v(r);var e=o.length;while(e--)delete b[p][o[e]];return b()};s[_]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(m[p]=i(e),n=new m,m[p]=null,n[_]=e):n=b(),void 0===t?n:a.f(n,t)}},"7cb2":function(e,t,n){(function(t,r){e.exports=r(n("313e"))})(0,(function(e){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=105)}([function(t,n){t.exports=e},function(e,t,n){"use strict";var r=n(41),i=n(52),a=n(5),o=n(4),s=n(9),l=n(19),c=n(35),u=n(14),d=n(0),h=n.n(d),p=n(36),f=n(74),_=n.n(f),m=n(60),g=n(123),v=n(124),y=n(128),b=n(129),S=n(2),E=n(131),x=n(43),T=n(76),C=n(132),A=n(133),w=n(134),O=n(135),R=n(37),I=n(38),N=n(26),M=n(3),D=n(136),L=n(56),P=n(137),k=n(138),F=n(139),B=n(7),U=n(73),G=n(54),z=n(18),V=n(59),H=n(140),Y=n(145),W=n(70),q=n(146),j=n(147),$=n(148),K=n(149),Q=n(150),X=n(151);function Z(e){return!e||"none"===e}function J(e){return e instanceof HTMLCanvasElement||e instanceof HTMLImageElement||e instanceof Image}function ee(e){return e.getZr&&e.setOption}h.a.util.extend(c["a"].prototype,H["a"]),s["a"].import(Y["a"]),s["a"].import(W["a"]),s["a"].import(q["a"]),s["a"].import(j["a"]),s["a"].import($["a"]),s["a"].import(K["a"]),s["a"].import(Q["a"]),s["a"].import(X["a"]);var te=p["a"].prototype.addToScene,ne=p["a"].prototype.removeFromScene;p["a"].prototype.addToScene=function(e){if(te.call(this,e),this.__zr){var t=this.__zr;e.traverse((function(e){e.__zr=t,e.addAnimatorsToZr&&e.addAnimatorsToZr(t)}))}},p["a"].prototype.removeFromScene=function(e){ne.call(this,e),e.traverse((function(e){var t=e.__zr;e.__zr=null,t&&e.removeAnimatorsFromZr&&e.removeAnimatorsFromZr(t)}))},l["a"].prototype.setTextureImage=function(e,t,n,r){if(this.shader){var i,a=n.getZr(),o=this;return o.autoUpdateTextureStatus=!1,o.disableTexture(e),Z(t)||(i=re.loadTexture(t,n,r,(function(t){o.enableTexture(e),a&&a.refresh()})),o.set(e,i)),i}};var re={};re.Renderer=i["a"],re.Node=c["a"],re.Mesh=r["a"],re.Shader=s["a"],re.Material=l["a"],re.Texture=o["a"],re.Texture2D=a["a"],re.Geometry=u["a"],re.SphereGeometry=E["a"],re.PlaneGeometry=x["a"],re.CubeGeometry=T["a"],re.AmbientLight=C["a"],re.DirectionalLight=A["a"],re.PointLight=w["a"],re.SpotLight=O["a"],re.PerspectiveCamera=R["a"],re.OrthographicCamera=I["a"],re.Vector2=N["a"],re.Vector3=M["a"],re.Vector4=D["a"],re.Quaternion=L["a"],re.Matrix2=P["a"],re.Matrix2d=k["a"],re.Matrix3=F["a"],re.Matrix4=B["a"],re.Plane=U["a"],re.Ray=G["a"],re.BoundingBox=z["a"],re.Frustum=V["a"];var ie=m["a"].createBlank("rgba(255,255,255,0)").image;function ae(e){return Math.pow(2,Math.round(Math.log(e)/Math.LN2))}function oe(e){if((e.wrapS===o["a"].REPEAT||e.wrapT===o["a"].REPEAT)&&e.image){var t=ae(e.width),n=ae(e.height);if(t!==e.width||n!==e.height){var r=document.createElement("canvas");r.width=t,r.height=n;var i=r.getContext("2d");i.drawImage(e.image,0,0,t,n),e.image=r}}}re.loadTexture=function(e,t,n,r){"function"===typeof n&&(r=n,n={}),n=n||{};for(var i=Object.keys(n).sort(),a="",o=0;o3?t[3]=e[3]:t[3]=1,t):(t=h.a.color.parse(e||"#000",t)||[0,0,0,0],t[0]/=255,t[1]/=255,t[2]/=255,t)},re.directionFromAlphaBeta=function(e,t){var n=e/180*Math.PI+Math.PI/2,r=-t/180*Math.PI+Math.PI/2,i=[],a=Math.sin(n);return i[0]=a*Math.cos(r),i[1]=-Math.cos(n),i[2]=a*Math.sin(r),i},re.getShadowResolution=function(e){var t=1024;switch(e){case"low":t=512;break;case"medium":break;case"high":t=2048;break;case"ultra":t=4096;break}return t},re.COMMON_SHADERS=["lambert","color","realistic","hatching","shadow"],re.createShader=function(e){"ecgl.shadow"===e&&(e="ecgl.displayShadow");var t=s["a"].source(e+".vertex"),n=s["a"].source(e+".fragment");t||console.error("Vertex shader of '%s' not exits",e),n||console.error("Fragment shader of '%s' not exits",e);var r=new s["a"](t,n);return r.name=e,r},re.createMaterial=function(e,t){t instanceof Array||(t=[t]);var n=re.createShader(e),r=new l["a"]({shader:n});return t.forEach((function(e){"string"===typeof e&&r.define(e)})),r},re.setMaterialFromModel=function(e,t,n,r){t.autoUpdateTextureStatus=!1;var i=n.getModel(e+"Material"),a=i.get("detailTexture"),o=S["a"].firstNotNull(i.get("textureTiling"),1),s=S["a"].firstNotNull(i.get("textureOffset"),0);"number"===typeof o&&(o=[o,o]),"number"===typeof s&&(s=[s,s]);var l=o[0]>1||o[1]>1?re.Texture.REPEAT:re.Texture.CLAMP_TO_EDGE,c={anisotropic:8,wrapS:l,wrapT:l};if("realistic"===e){var u=i.get("roughness"),d=i.get("metalness");null!=d?isNaN(d)&&(t.setTextureImage("metalnessMap",d,r,c),d=S["a"].firstNotNull(i.get("metalnessAdjust"),.5)):d=0,null!=u?isNaN(u)&&(t.setTextureImage("roughnessMap",u,r,c),u=S["a"].firstNotNull(i.get("roughnessAdjust"),.5)):u=.5;var h=i.get("normalTexture");t.setTextureImage("detailMap",a,r,c),t.setTextureImage("normalMap",h,r,c),t.set({roughness:u,metalness:d,detailUvRepeat:o,detailUvOffset:s})}else if("lambert"===e)t.setTextureImage("detailMap",a,r,c),t.set({detailUvRepeat:o,detailUvOffset:s});else if("color"===e)t.setTextureImage("detailMap",a,r,c),t.set({detailUvRepeat:o,detailUvOffset:s});else if("hatching"===e){var p=i.get("hatchingTextures")||[];p.length<6&&console.error("Invalid hatchingTextures.");for(var f=0;f<6;f++)t.setTextureImage("hatch"+(f+1),p[f],r,{anisotropic:8,wrapS:re.Texture.REPEAT,wrapT:re.Texture.REPEAT});t.set({detailUvRepeat:o,detailUvOffset:s})}},re.updateVertexAnimation=function(e,t,n,r){var i=r.get("animation"),a=r.get("animationDurationUpdate"),o=r.get("animationEasingUpdate"),s=n.shadowDepthMaterial;if(i&&t&&a>0&&t.geometry.vertexCount===n.geometry.vertexCount){n.material.define("vertex","VERTEX_ANIMATION"),n.ignorePreZ=!0,s&&s.define("vertex","VERTEX_ANIMATION");for(var l=0;ln?n:e}i.add=function(e,t,n){return r["a"].add(e.array,t.array,n.array),e._dirty=!0,e},i.set=function(e,t,n,i){r["a"].set(e.array,t,n,i),e._dirty=!0},i.copy=function(e,t){return r["a"].copy(e.array,t.array),e._dirty=!0,e},i.cross=function(e,t,n){return r["a"].cross(e.array,t.array,n.array),e._dirty=!0,e},i.dist=function(e,t){return r["a"].distance(e.array,t.array)},i.distance=i.dist,i.div=function(e,t,n){return r["a"].divide(e.array,t.array,n.array),e._dirty=!0,e},i.divide=i.div,i.dot=function(e,t){return r["a"].dot(e.array,t.array)},i.len=function(e){return r["a"].length(e.array)},i.lerp=function(e,t,n,i){return r["a"].lerp(e.array,t.array,n.array,i),e._dirty=!0,e},i.min=function(e,t,n){return r["a"].min(e.array,t.array,n.array),e._dirty=!0,e},i.max=function(e,t,n){return r["a"].max(e.array,t.array,n.array),e._dirty=!0,e},i.mul=function(e,t,n){return r["a"].multiply(e.array,t.array,n.array),e._dirty=!0,e},i.multiply=i.mul,i.negate=function(e,t){return r["a"].negate(e.array,t.array),e._dirty=!0,e},i.normalize=function(e,t){return r["a"].normalize(e.array,t.array),e._dirty=!0,e},i.random=function(e,t){return r["a"].random(e.array,t),e._dirty=!0,e},i.scale=function(e,t,n){return r["a"].scale(e.array,t.array,n),e._dirty=!0,e},i.scaleAndAdd=function(e,t,n,i){return r["a"].scaleAndAdd(e.array,t.array,n.array,i),e._dirty=!0,e},i.sqrDist=function(e,t){return r["a"].sqrDist(e.array,t.array)},i.squaredDistance=i.sqrDist,i.sqrLen=function(e){return r["a"].sqrLen(e.array)},i.squaredLength=i.sqrLen,i.sub=function(e,t,n){return r["a"].subtract(e.array,t.array,n.array),e._dirty=!0,e},i.subtract=i.sub,i.transformMat3=function(e,t,n){return r["a"].transformMat3(e.array,t.array,n.array),e._dirty=!0,e},i.transformMat4=function(e,t,n){return r["a"].transformMat4(e.array,t.array,n.array),e._dirty=!0,e},i.transformQuat=function(e,t,n){return r["a"].transformQuat(e.array,t.array,n.array),e._dirty=!0,e};var l=Math.atan2,c=Math.asin,u=Math.abs;i.eulerFromQuat=function(e,t,n){e._dirty=!0,t=t.array;var r=e.array,i=t[0],a=t[1],o=t[2],u=t[3],d=i*i,h=a*a,p=o*o,f=u*u;n=(n||"XYZ").toUpperCase();switch(n){case"XYZ":r[0]=l(2*(i*u-a*o),f-d-h+p),r[1]=c(s(2*(i*o+a*u),-1,1)),r[2]=l(2*(o*u-i*a),f+d-h-p);break;case"YXZ":r[0]=c(s(2*(i*u-a*o),-1,1)),r[1]=l(2*(i*o+a*u),f-d-h+p),r[2]=l(2*(i*a+o*u),f-d+h-p);break;case"ZXY":r[0]=c(s(2*(i*u+a*o),-1,1)),r[1]=l(2*(a*u-o*i),f-d-h+p),r[2]=l(2*(o*u-i*a),f-d+h-p);break;case"ZYX":r[0]=l(2*(i*u+o*a),f-d-h+p),r[1]=c(s(2*(a*u-i*o),-1,1)),r[2]=l(2*(i*a+o*u),f+d-h-p);break;case"YZX":r[0]=l(2*(i*u-o*a),f-d+h-p),r[1]=l(2*(a*u-i*o),f+d-h-p),r[2]=c(s(2*(i*a+o*u),-1,1));break;case"XZY":r[0]=l(2*(i*u+a*o),f-d+h-p),r[1]=l(2*(i*o+a*u),f+d-h-p),r[2]=c(s(2*(o*u-i*a),-1,1));break;default:console.warn("Unkown order: "+n)}return e},i.eulerFromMat3=function(e,t,n){var r=t.array,i=r[0],a=r[3],o=r[6],d=r[1],h=r[4],p=r[7],f=r[2],_=r[5],m=r[8],g=e.array;n=(n||"XYZ").toUpperCase();switch(n){case"XYZ":g[1]=c(s(o,-1,1)),u(o)<.99999?(g[0]=l(-p,m),g[2]=l(-a,i)):(g[0]=l(_,h),g[2]=0);break;case"YXZ":g[0]=c(-s(p,-1,1)),u(p)<.99999?(g[1]=l(o,m),g[2]=l(d,h)):(g[1]=l(-f,i),g[2]=0);break;case"ZXY":g[0]=c(s(_,-1,1)),u(_)<.99999?(g[1]=l(-f,m),g[2]=l(-a,h)):(g[1]=0,g[2]=l(d,i));break;case"ZYX":g[1]=c(-s(f,-1,1)),u(f)<.99999?(g[0]=l(_,m),g[2]=l(d,i)):(g[0]=0,g[2]=l(-a,h));break;case"YZX":g[2]=c(s(d,-1,1)),u(d)<.99999?(g[0]=l(-p,h),g[1]=l(-f,i)):(g[0]=0,g[1]=l(o,m));break;case"XZY":g[2]=c(-s(a,-1,1)),u(a)<.99999?(g[0]=l(_,h),g[1]=l(o,i)):(g[0]=l(-p,m),g[1]=0);break;default:console.warn("Unkown order: "+n)}return e._dirty=!0,e},Object.defineProperties(i,{POSITIVE_X:{get:function(){return new i(1,0,0)}},NEGATIVE_X:{get:function(){return new i(-1,0,0)}},POSITIVE_Y:{get:function(){return new i(0,1,0)}},NEGATIVE_Y:{get:function(){return new i(0,-1,0)}},POSITIVE_Z:{get:function(){return new i(0,0,1)}},NEGATIVE_Z:{get:function(){return new i(0,0,-1)}},UP:{get:function(){return new i(0,1,0)}},ZERO:{get:function(){return new i}}}),t["a"]=i},function(e,t,n){"use strict";var r=n(8),i=n(11),a=n(57),o=r["a"].extend({width:512,height:512,type:i["a"].UNSIGNED_BYTE,format:i["a"].RGBA,wrapS:i["a"].REPEAT,wrapT:i["a"].REPEAT,minFilter:i["a"].LINEAR_MIPMAP_LINEAR,magFilter:i["a"].LINEAR,useMipmap:!0,anisotropic:1,flipY:!0,sRGB:!0,unpackAlignment:4,premultiplyAlpha:!1,dynamic:!1,NPOT:!1,__used:0},(function(){this._cache=new a["a"]}),{getWebGLTexture:function(e){var t=e.gl,n=this._cache;return n.use(e.__uid__),n.miss("webgl_texture")&&n.put("webgl_texture",t.createTexture()),this.dynamic?this.update(e):n.isDirty()&&(this.update(e),n.fresh()),n.get("webgl_texture")},bind:function(){},unbind:function(){},dirty:function(){this._cache&&this._cache.dirtyAll()},update:function(e){},updateCommon:function(e){var t=e.gl;t.pixelStorei(t.UNPACK_FLIP_Y_WEBGL,this.flipY),t.pixelStorei(t.UNPACK_PREMULTIPLY_ALPHA_WEBGL,this.premultiplyAlpha),t.pixelStorei(t.UNPACK_ALIGNMENT,this.unpackAlignment),this.format===i["a"].DEPTH_COMPONENT&&(this.useMipmap=!1);var n=e.getGLExtension("EXT_sRGB");this.format!==o.SRGB||n||(this.format=o.RGB),this.format!==o.SRGB_ALPHA||n||(this.format=o.RGBA),this.NPOT=!this.isPowerOfTwo()},getAvailableWrapS:function(){return this.NPOT?i["a"].CLAMP_TO_EDGE:this.wrapS},getAvailableWrapT:function(){return this.NPOT?i["a"].CLAMP_TO_EDGE:this.wrapT},getAvailableMinFilter:function(){var e=this.minFilter;return this.NPOT||!this.useMipmap?e===i["a"].NEAREST_MIPMAP_NEAREST||e===i["a"].NEAREST_MIPMAP_LINEAR?i["a"].NEAREST:e===i["a"].LINEAR_MIPMAP_LINEAR||e===i["a"].LINEAR_MIPMAP_NEAREST?i["a"].LINEAR:e:e},getAvailableMagFilter:function(){return this.magFilter},nextHighestPowerOfTwo:function(e){--e;for(var t=1;t<32;t<<=1)e|=e>>t;return e+1},dispose:function(e){var t=this._cache;t.use(e.__uid__);var n=t.get("webgl_texture");n&&e.gl.deleteTexture(n),t.deleteContext(e.__uid__)},isRenderable:function(){},isPowerOfTwo:function(){}});Object.defineProperty(o.prototype,"width",{get:function(){return this._width},set:function(e){this._width=e}}),Object.defineProperty(o.prototype,"height",{get:function(){return this._height},set:function(e){this._height=e}}),o.BYTE=i["a"].BYTE,o.UNSIGNED_BYTE=i["a"].UNSIGNED_BYTE,o.SHORT=i["a"].SHORT,o.UNSIGNED_SHORT=i["a"].UNSIGNED_SHORT,o.INT=i["a"].INT,o.UNSIGNED_INT=i["a"].UNSIGNED_INT,o.FLOAT=i["a"].FLOAT,o.HALF_FLOAT=36193,o.UNSIGNED_INT_24_8_WEBGL=34042,o.DEPTH_COMPONENT=i["a"].DEPTH_COMPONENT,o.DEPTH_STENCIL=i["a"].DEPTH_STENCIL,o.ALPHA=i["a"].ALPHA,o.RGB=i["a"].RGB,o.RGBA=i["a"].RGBA,o.LUMINANCE=i["a"].LUMINANCE,o.LUMINANCE_ALPHA=i["a"].LUMINANCE_ALPHA,o.SRGB=35904,o.SRGB_ALPHA=35906,o.COMPRESSED_RGB_S3TC_DXT1_EXT=33776,o.COMPRESSED_RGBA_S3TC_DXT1_EXT=33777,o.COMPRESSED_RGBA_S3TC_DXT3_EXT=33778,o.COMPRESSED_RGBA_S3TC_DXT5_EXT=33779,o.COMPRESSED_RGB_ETC1_WEBGL=36196,o.COMPRESSED_RGB_PVRTC_4BPPV1_IMG=35840,o.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG=35842,o.COMPRESSED_RGB_PVRTC_2BPPV1_IMG=35841,o.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG=35843,o.COMPRESSED_RGB_ATC_WEBGL=35986,o.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL=35987,o.COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL=34798,o.NEAREST=i["a"].NEAREST,o.LINEAR=i["a"].LINEAR,o.NEAREST_MIPMAP_NEAREST=i["a"].NEAREST_MIPMAP_NEAREST,o.LINEAR_MIPMAP_NEAREST=i["a"].LINEAR_MIPMAP_NEAREST,o.NEAREST_MIPMAP_LINEAR=i["a"].NEAREST_MIPMAP_LINEAR,o.LINEAR_MIPMAP_LINEAR=i["a"].LINEAR_MIPMAP_LINEAR,o.REPEAT=i["a"].REPEAT,o.CLAMP_TO_EDGE=i["a"].CLAMP_TO_EDGE,o.MIRRORED_REPEAT=i["a"].MIRRORED_REPEAT,t["a"]=o},function(e,t,n){"use strict";var r=n(4),i=n(11),a=n(13),o=n(72),s=o["a"].isPowerOfTwo;function l(e){return Math.pow(2,Math.round(Math.log(e)/Math.LN2))}function c(e,t){var n=l(e.width),r=l(e.height);t=t||document.createElement("canvas"),t.width=n,t.height=r;var i=t.getContext("2d");return i.drawImage(e.image,0,0,n,r),t}var u=r["a"].extend((function(){return{image:null,pixels:null,mipmaps:[],convertToPOT:!1}}),{textureType:"texture2D",update:function(e){var t=e.gl;t.bindTexture(t.TEXTURE_2D,this._cache.get("webgl_texture")),this.updateCommon(e);var n=this.format,a=this.type,o=!(!this.convertToPOT||this.mipmaps.length||!this.image||this.wrapS!==r["a"].REPEAT&&this.wrapT!==r["a"].REPEAT||!this.NPOT);t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_S,o?this.wrapS:this.getAvailableWrapS()),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_T,o?this.wrapT:this.getAvailableWrapT()),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MAG_FILTER,o?this.magFilter:this.getAvailableMagFilter()),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MIN_FILTER,o?this.minFilter:this.getAvailableMinFilter());var s=e.getGLExtension("EXT_texture_filter_anisotropic");if(s&&this.anisotropic>1&&t.texParameterf(t.TEXTURE_2D,s.TEXTURE_MAX_ANISOTROPY_EXT,this.anisotropic),36193===a){var l=e.getGLExtension("OES_texture_half_float");l||(a=i["a"].FLOAT)}if(this.mipmaps.length)for(var c=this.width,u=this.height,d=0;d=r["a"].COMPRESSED_RGB_S3TC_DXT1_EXT||o===r["a"].COMPRESSED_RGB_ETC1_WEBGL||o>=r["a"].COMPRESSED_RGB_PVRTC_4BPPV1_IMG&&o<=r["a"].COMPRESSED_RGBA_PVRTC_2BPPV1_IMG||o===r["a"].COMPRESSED_RGB_ATC_WEBGL&&o===r["a"].COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL&&o===r["a"].COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL?e.compressedTexImage2D(e.TEXTURE_2D,n,o,i,a,0,t.pixels):e.texImage2D(e.TEXTURE_2D,n,o,i,a,0,o,s,t.pixels)},generateMipmap:function(e){var t=e.gl;this.useMipmap&&!this.NPOT&&(t.bindTexture(t.TEXTURE_2D,this._cache.get("webgl_texture")),t.generateMipmap(t.TEXTURE_2D))},isPowerOfTwo:function(){return s(this.width)&&s(this.height)},isRenderable:function(){return this.image?this.image.width>0&&this.image.height>0:!(!this.width||!this.height)},bind:function(e){e.gl.bindTexture(e.gl.TEXTURE_2D,this.getWebGLTexture(e))},unbind:function(e){e.gl.bindTexture(e.gl.TEXTURE_2D,null)},load:function(e,t){var n=a["a"].createImage();t&&(n.crossOrigin=t);var r=this;return n.onload=function(){r.dirty(),r.trigger("success",r)},n.onerror=function(){r.trigger("error",r)},n.src=e,this.image=n,this}});Object.defineProperty(u.prototype,"width",{get:function(){return this.image?this.image.width:this._width},set:function(e){this.image?console.warn("Texture from image can't set width"):(this._width!==e&&this.dirty(),this._width=e)}}),Object.defineProperty(u.prototype,"height",{get:function(){return this.image?this.image.height:this._height},set:function(e){this.image?console.warn("Texture from image can't set height"):(this._height!==e&&this.dirty(),this._height=e)}}),t["a"]=u},function(e,t,n){"use strict";var r=n(160);t["a"]=r["a"]},function(e,t,n){"use strict";var r=n(21),i=n(12),a=n(55),o=n(34),s=n(3),l=function(){this._axisX=new s["a"],this._axisY=new s["a"],this._axisZ=new s["a"],this.array=r["a"].create(),this._dirty=!0};l.prototype={constructor:l,setArray:function(e){for(var t=0;t=0){if(g!==c&&g!==_){y();break}g=u,b=[]}else if(g!==c)if(g!==_)S(E),g=l;else{var x=E;d.indexOf(x)>=0||h.indexOf(x)>=0||p.indexOf(x)>=0?v[s].semantic=x:"ignore"===x||"unconfigurable"===x?v[s].ignore=!0:v[s].value="bool"===e?"true"===x:parseFloat(x)}else v[s].value="bool"===e?"true"===E:parseFloat(E),b=null;else{if(g!==u){y();break}if(!(b instanceof Array)){y();break}b.push(+r[++o])}else v[s].value=new i["a"].Float32Array(b),b=null,g=m;else if(g===u){if(!(b instanceof Array)){y();break}b.push(+r[++o])}else g=m;else g=_;else{if(g!==l&&g!==f){y();break}g=c}}return v}function S(e,t){"object"===typeof e&&(t=e.fragment,e=e.vertex),e=v(e),t=v(t),this._shaderID=g(e,t),this._vertexCode=S.parseImport(e),this._fragmentCode=S.parseImport(t),this.attributeSemantics={},this.matrixSemantics={},this.uniformSemantics={},this.matrixSemanticKeys=[],this.uniformTemplates={},this.attributes={},this.textures={},this.vertexDefines={},this.fragmentDefines={},this._parseAttributes(),this._parseUniforms(),this._parseDefines()}S.prototype={constructor:S,createUniforms:function(){var e={};for(var t in this.uniformTemplates){var n=this.uniformTemplates[t];e[t]={type:n.type,value:n.value()}}return e},_parseImport:function(){this._vertexCode=S.parseImport(this.vertex),this._fragmentCode=S.parseImport(this.fragment)},_addSemanticUniform:function(e,t,n){if(d.indexOf(n)>=0)this.attributeSemantics[n]={symbol:e,type:t};else if(p.indexOf(n)>=0){var r=!1,i=n;n.match(/TRANSPOSE$/)&&(r=!0,i=n.slice(0,-9)),this.matrixSemantics[n]={symbol:e,type:t,isTranspose:r,semanticNoTranspose:i}}else h.indexOf(n)>=0&&(this.uniformSemantics[n]={symbol:e,type:t})},_addMaterialUniform:function(e,t,n,r,i,a){a[e]={type:n,value:i?u["array"]:r||u[t],semantic:null}},_parseUniforms:function(){var e={},t=this,n="vertex";function r(e){return null!=e?function(){return e}:null}function i(i,a,o){var s=b(a,o),c=[];for(var u in s){var d=s[u],h=d.semantic,p=u,f=l[a],_=r(s[u].value);s[u].isArray&&(p+="["+s[u].arraySize+"]",f+="v"),c.push(p),t._uniformList.push(u),d.ignore||("sampler2D"!==a&&"samplerCube"!==a||(t.textures[u]={shaderType:n,type:a}),h?t._addSemanticUniform(u,f,h):t._addMaterialUniform(u,a,f,_,s[u].isArray,e))}return c.length>0?"uniform "+a+" "+c.join(",")+";\n":""}this._uniformList=[],this._vertexCode=this._vertexCode.replace(a,i),n="fragment",this._fragmentCode=this._fragmentCode.replace(a,i),t.matrixSemanticKeys=Object.keys(this.matrixSemantics),this.uniformTemplates=e},_parseAttributes:function(){var e={},t=this;function n(n,r,i){var a=b(r,i),o=f[r]||1,s=[];for(var l in a){var c=a[l].semantic;if(e[l]={type:"float",size:o,semantic:c||null},c){if(d.indexOf(c)<0)throw new Error('Unkown semantic "'+c+'"');t.attributeSemantics[c]={symbol:l,type:r}}s.push(l)}return"attribute "+r+" "+s.join(",")+";\n"}this._vertexCode=this._vertexCode.replace(o,n),this.attributes=e},_parseDefines:function(){var e=this,t="vertex";function n(n,r,i){var a="vertex"===t?e.vertexDefines:e.fragmentDefines;return a[r]||(a[r]="false"!==i&&("true"===i||(i?isNaN(parseFloat(i))?i.trim():parseFloat(i):null))),""}this._vertexCode=this._vertexCode.replace(s,n),t="fragment",this._fragmentCode=this._fragmentCode.replace(s,n)},clone:function(){var e=m[this._shaderID],t=new S(e.vertex,e.fragment);return t}},Object.defineProperty&&(Object.defineProperty(S.prototype,"shaderID",{get:function(){return this._shaderID}}),Object.defineProperty(S.prototype,"vertex",{get:function(){return this._vertexCode}}),Object.defineProperty(S.prototype,"fragment",{get:function(){return this._fragmentCode}}),Object.defineProperty(S.prototype,"uniforms",{get:function(){return this._uniformList}}));var E=/(@import)\s*([0-9a-zA-Z_\-\.]*)/g;S.parseImport=function(e){return e=e.replace(E,(function(e,t,n){e=S.source(n);return e?S.parseImport(e):(console.error('Shader chunk "'+n+'" not existed in library'),"")})),e};var x=/(@export)\s*([0-9a-zA-Z_\-\.]*)\s*\n([\s\S]*?)@end/g;S["import"]=function(e){e.replace(x,(function(e,t,n,r){r=r.replace(/(^[\s\t\xa0\u3000]+)|([\u3000\xa0\s\t]+\x24)/g,"");if(r){var i,a=n.split("."),o=S.codes,s=0;while(s0&&(a=1/Math.sqrt(a),e[0]=t[0]*a,e[1]=t[1]*a,e[2]=t[2]*a),e},i.dot=function(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]},i.cross=function(e,t,n){var r=t[0],i=t[1],a=t[2],o=n[0],s=n[1],l=n[2];return e[0]=i*l-a*s,e[1]=a*o-r*l,e[2]=r*s-i*o,e},i.lerp=function(e,t,n,r){var i=t[0],a=t[1],o=t[2];return e[0]=i+r*(n[0]-i),e[1]=a+r*(n[1]-a),e[2]=o+r*(n[2]-o),e},i.random=function(e,t){t=t||1;var n=2*Object(r["c"])()*Math.PI,i=2*Object(r["c"])()-1,a=Math.sqrt(1-i*i)*t;return e[0]=Math.cos(n)*a,e[1]=Math.sin(n)*a,e[2]=i*t,e},i.transformMat4=function(e,t,n){var r=t[0],i=t[1],a=t[2],o=n[3]*r+n[7]*i+n[11]*a+n[15];return o=o||1,e[0]=(n[0]*r+n[4]*i+n[8]*a+n[12])/o,e[1]=(n[1]*r+n[5]*i+n[9]*a+n[13])/o,e[2]=(n[2]*r+n[6]*i+n[10]*a+n[14])/o,e},i.transformMat3=function(e,t,n){var r=t[0],i=t[1],a=t[2];return e[0]=r*n[0]+i*n[3]+a*n[6],e[1]=r*n[1]+i*n[4]+a*n[7],e[2]=r*n[2]+i*n[5]+a*n[8],e},i.transformQuat=function(e,t,n){var r=t[0],i=t[1],a=t[2],o=n[0],s=n[1],l=n[2],c=n[3],u=c*r+s*a-l*i,d=c*i+l*r-o*a,h=c*a+o*i-s*r,p=-o*r-s*i-l*a;return e[0]=u*c+p*-o+d*-l-h*-s,e[1]=d*c+p*-s+h*-o-u*-l,e[2]=h*c+p*-l+u*-s-d*-o,e},i.rotateX=function(e,t,n,r){var i=[],a=[];return i[0]=t[0]-n[0],i[1]=t[1]-n[1],i[2]=t[2]-n[2],a[0]=i[0],a[1]=i[1]*Math.cos(r)-i[2]*Math.sin(r),a[2]=i[1]*Math.sin(r)+i[2]*Math.cos(r),e[0]=a[0]+n[0],e[1]=a[1]+n[1],e[2]=a[2]+n[2],e},i.rotateY=function(e,t,n,r){var i=[],a=[];return i[0]=t[0]-n[0],i[1]=t[1]-n[1],i[2]=t[2]-n[2],a[0]=i[2]*Math.sin(r)+i[0]*Math.cos(r),a[1]=i[1],a[2]=i[2]*Math.cos(r)-i[0]*Math.sin(r),e[0]=a[0]+n[0],e[1]=a[1]+n[1],e[2]=a[2]+n[2],e},i.rotateZ=function(e,t,n,r){var i=[],a=[];return i[0]=t[0]-n[0],i[1]=t[1]-n[1],i[2]=t[2]-n[2],a[0]=i[0]*Math.cos(r)-i[1]*Math.sin(r),a[1]=i[0]*Math.sin(r)+i[1]*Math.cos(r),a[2]=i[2],e[0]=a[0]+n[0],e[1]=a[1]+n[1],e[2]=a[2]+n[2],e},i.forEach=function(){var e=i.create();return function(t,n,r,i,a,o){var s,l;for(n||(n=3),r||(r=0),l=i?Math.min(i*n+r,t.length):t.length,s=r;s1?0:Math.acos(a)},t["a"]=i},function(e,t,n){"use strict";(function(e){var r,i=n(111),a={supportWebGL:function(){if(null==r)try{var e=document.createElement("canvas"),t=e.getContext("webgl")||e.getContext("experimental-webgl");if(!t)throw new Error}catch(n){r=!1}return r}};a.Int8Array="undefined"===typeof Int8Array?Array:Int8Array,a.Uint8Array="undefined"===typeof Uint8Array?Array:Uint8Array,a.Uint16Array="undefined"===typeof Uint16Array?Array:Uint16Array,a.Uint32Array="undefined"===typeof Uint32Array?Array:Uint32Array,a.Int16Array="undefined"===typeof Int16Array?Array:Int16Array,a.Float32Array="undefined"===typeof Float32Array?Array:Float32Array,a.Float64Array="undefined"===typeof Float64Array?Array:Float64Array;var o={};"undefined"!==typeof window?o=window:"undefined"!==typeof e&&(o=e),a.requestAnimationFrame=o.requestAnimationFrame||o.msRequestAnimationFrame||o.mozRequestAnimationFrame||o.webkitRequestAnimationFrame||function(e){setTimeout(e,16)},a.createCanvas=function(){return document.createElement("canvas")},a.createImage=function(){return new o.Image},a.request={get:i["a"].get},a.addEventListener=function(e,t,n,r){e.addEventListener(t,n,r)},a.removeEventListener=function(e,t,n){e.removeEventListener(t,n)},t["a"]=a}).call(t,n(67))},function(e,t,n){"use strict";var r=n(13),i=n(12),a=n(21),o=n(18),s=n(117),l=i["a"].create,c=i["a"].add,u=i["a"].set,d=s["a"].Attribute,h=s["a"].extend((function(){return{attributes:{position:new d("position","float",3,"POSITION"),texcoord0:new d("texcoord0","float",2,"TEXCOORD_0"),texcoord1:new d("texcoord1","float",2,"TEXCOORD_1"),normal:new d("normal","float",3,"NORMAL"),tangent:new d("tangent","float",4,"TANGENT"),color:new d("color","float",4,"COLOR"),weight:new d("weight","float",3,"WEIGHT"),joint:new d("joint","float",4,"JOINT"),barycentric:new d("barycentric","float",3,null)},boundingBox:null}}),{mainAttribute:"position",updateBoundingBox:function(){var e=this.boundingBox;e||(e=this.boundingBox=new o["a"]);var t=this.attributes.position.value;if(t&&t.length){var n=e.min,r=e.max,a=n.array,s=r.array;i["a"].set(a,t[0],t[1],t[2]),i["a"].set(s,t[0],t[1],t[2]);for(var l=3;ls[0]&&(s[0]=c),u>s[1]&&(s[1]=u),d>s[2]&&(s[2]=d)}n._dirty=!0,r._dirty=!0}},generateVertexNormals:function(){if(this.vertexCount){var e=this.indices,t=this.attributes,n=t.position.value,a=t.normal.value;if(a&&a.length===n.length)for(var o=0;o65535&&(this.indices=new r["a"].Uint32Array(this.indices));for(var e=this.attributes,t=this.indices,n=this.getEnabledAttributes(),i={},a=0;a=n.COLOR_ATTACHMENT0&&a<=n.COLOR_ATTACHMENT0+8&&i.push(a);r.drawBuffersEXT(i)}}this.trigger("beforerender",this,e);var o=this.clearDepth?n.DEPTH_BUFFER_BIT:0;if(n.depthMask(!0),this.clearColor){o|=n.COLOR_BUFFER_BIT,n.colorMask(!0,!0,!0,!0);var s=this.clearColor;Array.isArray(s)&&n.clearColor(s[0],s[1],s[2],s[3])}n.clear(o),this.blendWithPrevious?(n.enable(n.BLEND),this.material.transparent=!0):(n.disable(n.BLEND),this.material.transparent=!1),this.renderQuad(e),this.trigger("afterrender",this,e),t&&this.unbind(e,t)},renderQuad:function(e){h.material=this.material,e.renderPass([h],p)},dispose:function(e){}});t["a"]=f},function(e,t){var n={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},r={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},i=Object.prototype.toString,a=Array.prototype,o=a.forEach,s=a.filter,l=a.slice,c=a.map,u=a.reduce,d={};function h(e,t){"createCanvas"===e&&(v=null),d[e]=t}function p(e){if(null==e||"object"!==typeof e)return e;var t=e,a=i.call(e);if("[object Array]"===a){if(!K(e)){t=[];for(var o=0,s=e.length;o0){var t=this.min,n=this.max,r=t.array,i=n.array;o(r,e[0]),o(i,e[0]);for(var a=1;ai[0]&&(i[0]=s[0]),s[1]>i[1]&&(i[1]=s[1]),s[2]>i[2]&&(i[2]=s[2])}t._dirty=!0,n._dirty=!0}},union:function(e){var t=this.min,n=this.max;return i["a"].min(t.array,t.array,e.min.array),i["a"].max(n.array,n.array,e.max.array),t._dirty=!0,n._dirty=!0,this},intersection:function(e){var t=this.min,n=this.max;return i["a"].max(t.array,t.array,e.min.array),i["a"].min(n.array,n.array,e.max.array),t._dirty=!0,n._dirty=!0,this},intersectBoundingBox:function(e){var t=this.min.array,n=this.max.array,r=e.min.array,i=e.max.array;return!(t[0]>i[0]||t[1]>i[1]||t[2]>i[2]||n[0]=i[0]&&n[1]>=i[1]&&n[2]>=i[2]},containPoint:function(e){var t=this.min.array,n=this.max.array,r=e.array;return t[0]<=r[0]&&t[1]<=r[1]&&t[2]<=r[2]&&n[0]>=r[0]&&n[1]>=r[1]&&n[2]>=r[2]},isFinite:function(){var e=this.min.array,t=this.max.array;return isFinite(e[0])&&isFinite(e[1])&&isFinite(e[2])&&isFinite(t[0])&&isFinite(t[1])&&isFinite(t[2])},applyTransform:function(e){this.transformFrom(this,e)},transformFrom:function(){var e=i["a"].create(),t=i["a"].create(),n=i["a"].create(),r=i["a"].create(),a=i["a"].create(),o=i["a"].create();return function(i,s){var l=i.min.array,c=i.max.array,u=s.array;return e[0]=u[0]*l[0],e[1]=u[1]*l[0],e[2]=u[2]*l[0],t[0]=u[0]*c[0],t[1]=u[1]*c[0],t[2]=u[2]*c[0],n[0]=u[4]*l[1],n[1]=u[5]*l[1],n[2]=u[6]*l[1],r[0]=u[4]*c[1],r[1]=u[5]*c[1],r[2]=u[6]*c[1],a[0]=u[8]*l[2],a[1]=u[9]*l[2],a[2]=u[10]*l[2],o[0]=u[8]*c[2],o[1]=u[9]*c[2],o[2]=u[10]*c[2],l=this.min.array,c=this.max.array,l[0]=Math.min(e[0],t[0])+Math.min(n[0],r[0])+Math.min(a[0],o[0])+u[12],l[1]=Math.min(e[1],t[1])+Math.min(n[1],r[1])+Math.min(a[1],o[1])+u[13],l[2]=Math.min(e[2],t[2])+Math.min(n[2],r[2])+Math.min(a[2],o[2])+u[14],c[0]=Math.max(e[0],t[0])+Math.max(n[0],r[0])+Math.max(a[0],o[0])+u[12],c[1]=Math.max(e[1],t[1])+Math.max(n[1],r[1])+Math.max(a[1],o[1])+u[13],c[2]=Math.max(e[2],t[2])+Math.max(n[2],r[2])+Math.max(a[2],o[2])+u[14],this.min._dirty=!0,this.max._dirty=!0,this}}(),applyProjection:function(e){var t=this.min.array,n=this.max.array,r=e.array,i=t[0],a=t[1],o=t[2],s=n[0],l=n[1],c=t[2],u=n[0],d=n[1],h=n[2];if(1===r[15])t[0]=r[0]*i+r[12],t[1]=r[5]*a+r[13],n[2]=r[10]*o+r[14],n[0]=r[0]*u+r[12],n[1]=r[5]*d+r[13],t[2]=r[10]*h+r[14];else{var p=-1/o;t[0]=r[0]*i*p,t[1]=r[5]*a*p,n[2]=(r[10]*o+r[14])*p,p=-1/c,n[0]=r[0]*s*p,n[1]=r[5]*l*p,p=-1/h,t[2]=(r[10]*h+r[14])*p}return this.min._dirty=!0,this.max._dirty=!0,this},updateVertices:function(){var e=this.vertices;if(!e){e=[];for(var t=0;t<8;t++)e[t]=i["a"].fromValues(0,0,0);this.vertices=e}var n=this.min.array,r=this.max.array;return a(e[0],n[0],n[1],n[2]),a(e[1],n[0],r[1],n[2]),a(e[2],r[0],n[1],n[2]),a(e[3],r[0],r[1],n[2]),a(e[4],n[0],n[1],r[2]),a(e[5],n[0],r[1],r[2]),a(e[6],r[0],n[1],r[2]),a(e[7],r[0],r[1],r[2]),this},copy:function(e){var t=this.min,n=this.max;return o(t.array,e.min.array),o(n.array,e.max.array),t._dirty=!0,n._dirty=!0,this},clone:function(){var e=new s;return e.copy(this),e}},t["a"]=s},function(e,t,n){"use strict";var r=n(8),i=n(23),a=n(112),o=a["a"].parseToFloat,s={};function l(e){var t=Object.keys(e);t.sort();for(var n=[],r=0;r=0},getEnabledUniforms:function(){return this._enabledUniforms},getTextureUniforms:function(){return this._textureUniforms},set:function(e,t){if("object"===typeof e)for(var n in e){var r=e[n];this.setUniform(n,r)}else this.setUniform(e,t)},get:function(e){var t=this.uniforms[e];if(t)return t.value},attachShader:function(e,t){var n=this.uniforms;this.uniforms=e.createUniforms(),this.shader=e;var r=this.uniforms;this._enabledUniforms=Object.keys(r),this._enabledUniforms.sort(),this._textureUniforms=this._enabledUniforms.filter((function(e){var t=this.uniforms[e].type;return"t"===t||"tv"===t}),this);var a=this.vertexDefines,o=this.fragmentDefines;if(this.vertexDefines=i["a"].clone(e.vertexDefines),this.fragmentDefines=i["a"].clone(e.fragmentDefines),t){for(var s in n)r[s]&&(r[s].value=n[s].value);i["a"].defaults(this.vertexDefines,a),i["a"].defaults(this.fragmentDefines,o)}var l={};for(var c in e.textures)l[c]={shaderType:e.textures[c].shaderType,type:e.textures[c].type,enabled:!(!t||!this._textureStatus[c])&&this._textureStatus[c].enabled};this._textureStatus=l,this._programKey=""},clone:function(){var e=new this.constructor({name:this.name,shader:this.shader});for(var t in this.uniforms)e.uniforms[t].value=this.uniforms[t].value;return e.depthTest=this.depthTest,e.depthMask=this.depthMask,e.transparent=this.transparent,e.blend=this.blend,e.vertexDefines=i["a"].clone(this.vertexDefines),e.fragmentDefines=i["a"].clone(this.fragmentDefines),e.enableTexture(this.getEnabledTextures()),e.precision=this.precision,e},define:function(e,t,n){var r=this.vertexDefines,i=this.fragmentDefines;"vertex"!==e&&"fragment"!==e&&"both"!==e&&arguments.length<3&&(n=t,t=e,e="both"),n=null!=n?n:null,"vertex"!==e&&"both"!==e||r[t]!==n&&(r[t]=n,this._programKey=""),"fragment"!==e&&"both"!==e||i[t]!==n&&(i[t]=n,"both"!==e&&(this._programKey=""))},undefine:function(e,t){"vertex"!==e&&"fragment"!==e&&"both"!==e&&arguments.length<2&&(t=e,e="both"),"vertex"!==e&&"both"!==e||this.isDefined("vertex",t)&&(delete this.vertexDefines[t],this._programKey=""),"fragment"!==e&&"both"!==e||this.isDefined("fragment",t)&&(delete this.fragmentDefines[t],"both"!==e&&(this._programKey=""))},isDefined:function(e,t){switch(e){case"vertex":return void 0!==this.vertexDefines[t];case"fragment":return void 0!==this.fragmentDefines[t]}},getDefine:function(e,t){switch(e){case"vertex":return this.vertexDefines[t];case"fragment":return this.fragmentDefines[t]}},enableTexture:function(e){if(Array.isArray(e))for(var t=0;t=n.x&&t>=n.y&&e<=n.x+n.width&&t<=n.y+n.height};var g=new d["a"];m.prototype.castRay=function(e,t,n){var r=this.layer.renderer,i=r.viewport;return r.viewport=this.viewport,r.screenToNDC(e,t,g),this.camera.castRay(g,n),r.viewport=i,n},m.prototype.prepareRender=function(){this.scene.update(),this.camera.update(),this.scene.updateLights();var e=this.scene.updateRenderList(this.camera);this._needsSortProgressively=!1;for(var t=0;t30},m.prototype._doRender=function(e,t,n){var r=this.scene,i=this.camera;n=n||0,this._updateTransparent(e,r,i,n),t||(this._shadowMapPass.kernelPCF=this._pcfKernels[0],this._shadowMapPass.render(e,r,i,!0)),this._updateShadowPCFKernel(n);var a=e.clearColor;if(e.gl.clearColor(a[0],a[1],a[2],a[3]),this._enablePostEffect&&(this.needsTemporalSS()&&this._temporalSS.jitterProjection(e,i),this._compositor.updateNormal(e,r,i,this._temporalSS.getFrame())),this._updateSSAO(e,r,i,this._temporalSS.getFrame()),this._enablePostEffect){var o=this._compositor.getSourceFrameBuffer();o.bind(e),e.gl.clear(e.gl.DEPTH_BUFFER_BIT|e.gl.COLOR_BUFFER_BIT),e.render(r,i,!0,!0),o.unbind(e),this.needsTemporalSS()&&t?(this._compositor.composite(e,r,i,this._temporalSS.getSourceFrameBuffer(),this._temporalSS.getFrame()),e.setViewport(this.viewport),this._temporalSS.render(e)):(e.setViewport(this.viewport),this._compositor.composite(e,r,i,null,0))}else if(this.needsTemporalSS()&&t){o=this._temporalSS.getSourceFrameBuffer();o.bind(e),e.saveClear(),e.clearBit=e.gl.DEPTH_BUFFER_BIT|e.gl.COLOR_BUFFER_BIT,e.render(r,i,!0,!0),e.restoreClear(),o.unbind(e),e.setViewport(this.viewport),this._temporalSS.render(e)}else e.setViewport(this.viewport),e.render(r,i,!0,!0)},m.prototype._updateTransparent=function(e,t,n,r){for(var i=new u["a"],a=new c["a"],o=n.getWorldPosition(),s=t.getRenderList(n).transparent,l=0;lthis.camera.far||e65535?this.indices instanceof Uint16Array&&(this.indices=new Uint32Array(this.indices)):this.indices instanceof Uint32Array&&(this.indices=new Uint16Array(this.indices)))},setTriangleCount:function(e){this.triangleCount!==e&&(this.indices=0===e?null:this.vertexCount>65535?new Uint32Array(3*e):new Uint16Array(3*e))},_getCubicCurveApproxStep:function(e,t,n,r){var i=l.dist(e,t)+l.dist(n,t)+l.dist(r,n),a=1/(i+1)*this.segmentScale;return a},getCubicCurveVertexCount:function(e,t,n,r){var i=this._getCubicCurveApproxStep(e,t,n,r),a=Math.ceil(1/i);return this.useNativeLine?2*a:2*a+2},getCubicCurveTriangleCount:function(e,t,n,r){var i=this._getCubicCurveApproxStep(e,t,n,r),a=Math.ceil(1/i);return this.useNativeLine?0:2*a},getLineVertexCount:function(){return this.getPolylineVertexCount(c)},getLineTriangleCount:function(){return this.getPolylineTriangleCount(c)},getPolylineVertexCount:function(e){var t;if("number"===typeof e)t=e;else{var n="number"!==typeof e[0];t=n?e.length:e.length/3}return this.useNativeLine?2*(t-1):2*(t-1)+2},getPolylineTriangleCount:function(e){var t;if("number"===typeof e)t=e;else{var n="number"!==typeof e[0];t=n?e.length:e.length/3}return this.useNativeLine?0:2*Math.max(t-1,0)},addCubicCurve:function(e,t,n,r,i,a){null==a&&(a=1);var o=e[0],s=e[1],l=e[2],c=t[0],u=t[1],d=t[2],h=n[0],p=n[1],f=n[2],_=r[0],m=r[1],g=r[2],v=this._getCubicCurveApproxStep(e,t,n,r),y=v*v,b=y*v,S=3*v,E=3*y,x=6*y,T=6*b,C=o-2*c+h,A=s-2*u+p,w=l-2*d+f,O=3*(c-h)-o+_,R=3*(u-p)-s+m,I=3*(d-f)-l+g,N=o,M=s,D=l,L=(c-o)*S+C*E+O*b,P=(u-s)*S+A*E+R*b,k=(d-l)*S+w*E+I*b,F=C*x+O*T,B=A*x+R*T,U=w*x+I*T,G=O*T,z=R*T,V=I*T,H=0,Y=0,W=Math.ceil(1/v),q=new Float32Array(3*(W+1)),j=(q=[],0);for(Y=0;Y1&&(N=L>0?Math.min(N,_):Math.max(N,_),M=P>0?Math.min(M,m):Math.max(M,m),D=k>0?Math.min(D,g):Math.max(D,g));return this.addPolyline(q,i,a)},addLine:function(e,t,n,r){return this.addPolyline([e,t],n,r)},addPolyline:function(e,t,n,r,i){if(e.length){var a="number"!==typeof e[0];if(null==i&&(i=a?e.length:e.length/3),!(i<2)){null==r&&(r=0),null==n&&(n=1),this._itemVertexOffsets.push(this._vertexOffset);a="number"!==typeof e[0];var o,s,l=a?"number"!==typeof t[0]:t.length/4===i,c=this.attributes.position,u=this.attributes.positionPrev,d=this.attributes.positionNext,h=this.attributes.color,p=this.attributes.offset,f=this.indices,_=this._vertexOffset;n=Math.max(n,.01);for(var m=r;m1&&(c.copy(_,_-1),h.copy(_,_-1),_++):(m0&&(d.set(_-2,o),d.set(_-1,o)),c.set(_,o),c.set(_+1,o),h.set(_,s),h.set(_+1,s),p.set(_,n/2),p.set(_+1,-n/2),_+=2),this.useNativeLine)h.set(_,s),c.set(_,o),_++;else if(m>0){var y=3*this._triangleOffset;f=this.indices;f[y]=_-4,f[y+1]=_-3,f[y+2]=_-2,f[y+3]=_-3,f[y+4]=_-1,f[y+5]=_-2,this._triangleOffset+=2}}if(!this.useNativeLine){var b=this._vertexOffset,S=this._vertexOffset+2*i;u.copy(b,b+2),u.copy(b+1,b+3),d.copy(S-1,S-3),d.copy(S-2,S-4)}return this._vertexOffset=_,this._vertexOffset}}},setItemColor:function(e,t){for(var n=this._itemVertexOffsets[e],r=e1&&t.texParameterf(t.TEXTURE_CUBE_MAP,a.TEXTURE_MAX_ANISOTROPY_EXT,this.anisotropic),36193===r){var o=e.getGLExtension("OES_texture_half_float");o||(r=i["a"].FLOAT)}if(this.mipmaps.length)for(var s=this.width,l=this.height,c=0;c0&&e.height>0}Object.defineProperty(u.prototype,"width",{get:function(){return this.image&&this.image.px?this.image.px.width:this._width},set:function(e){this.image&&this.image.px?console.warn("Texture from image can't set width"):(this._width!==e&&this.dirty(),this._width=e)}}),Object.defineProperty(u.prototype,"height",{get:function(){return this.image&&this.image.px?this.image.px.height:this._height},set:function(e){this.image&&this.image.px?console.warn("Texture from image can't set height"):(this._height!==e&&this.dirty(),this._height=e)}}),t["a"]=u},function(e,t,n){"use strict";t["a"]={defaultOption:{postEffect:{enable:!1,bloom:{enable:!0,intensity:.1},depthOfField:{enable:!1,focalRange:20,focalDistance:50,blurRadius:10,fstop:2.8,quality:"medium"},screenSpaceAmbientOcclusion:{enable:!1,radius:2,quality:"medium",intensity:1},screenSpaceReflection:{enable:!1,quality:"medium",maxRoughness:.8},colorCorrection:{enable:!0,exposure:0,brightness:0,contrast:1,saturation:1,lookupTexture:""},edge:{enable:!1},FXAA:{enable:!1}},temporalSuperSampling:{enable:"auto"}}}},function(e,t,n){"use strict";t["a"]={defaultOption:{light:{main:{shadow:!1,shadowQuality:"high",color:"#fff",intensity:1,alpha:0,beta:0},ambient:{color:"#fff",intensity:.2},ambientCubemap:{texture:null,exposure:1,diffuseIntensity:.5,specularIntensity:.5}}}}},function(e,t,n){"use strict";var r=n(1),i=n(42),a=n(0),o=n.n(a);function s(){}s.prototype={constructor:s,setScene:function(e){this._scene=e,this._skybox&&this._skybox.attachScene(this._scene)},initLight:function(e){this._lightRoot=e,this.mainLight=new r["a"].DirectionalLight({shadowBias:.005}),this.ambientLight=new r["a"].AmbientLight,e.add(this.mainLight),e.add(this.ambientLight)},dispose:function(){this._lightRoot&&(this._lightRoot.remove(this.mainLight),this._lightRoot.remove(this.ambientLight))},updateLight:function(e){var t=this.mainLight,n=this.ambientLight,i=e.getModel("light"),a=i.getModel("main"),o=i.getModel("ambient");t.intensity=a.get("intensity"),n.intensity=o.get("intensity"),t.color=r["a"].parseColor(a.get("color")).slice(0,3),n.color=r["a"].parseColor(o.get("color")).slice(0,3);var s=a.get("alpha")||0,l=a.get("beta")||0;t.position.setArray(r["a"].directionFromAlphaBeta(s,l)),t.lookAt(r["a"].Vector3.ZERO),t.castShadow=a.get("shadow"),t.shadowResolution=r["a"].getShadowResolution(a.get("shadowQuality"))},updateAmbientCubemap:function(e,t,n){var i=t.getModel("light.ambientCubemap"),a=i.get("texture");if(a){this._cubemapLightsCache=this._cubemapLightsCache||{};var o=this._cubemapLightsCache[a];if(!o){var s=this;o=this._cubemapLightsCache[a]=r["a"].createAmbientCubemap(i.option,e,n,(function(){s._isSkyboxFromAmbientCubemap&&s._skybox.setEnvironmentMap(o.specular.cubemap),n.getZr().refresh()}))}this._lightRoot.add(o.diffuse),this._lightRoot.add(o.specular),this._currentCubemapLights=o}else this._currentCubemapLights&&(this._lightRoot.remove(this._currentCubemapLights.diffuse),this._lightRoot.remove(this._currentCubemapLights.specular),this._currentCubemapLights=null)},updateSkybox:function(e,t,n){var a=t.get("environment"),s=this;function l(){return s._skybox=s._skybox||new i["a"],s._skybox}var c=l();if(a&&"none"!==a)if("auto"===a)if(this._isSkyboxFromAmbientCubemap=!0,this._currentCubemapLights){var u=this._currentCubemapLights.specular.cubemap;c.setEnvironmentMap(u),this._scene&&c.attachScene(this._scene),c.material.set("lod",3)}else this._skybox&&this._skybox.detachScene();else if("object"===typeof a&&a.colorStops||"string"===typeof a&&o.a.color.parse(a)){this._isSkyboxFromAmbientCubemap=!1;var d=new r["a"].Texture2D({anisotropic:8,flipY:!1});c.setEnvironmentMap(d);var h=d.image=document.createElement("canvas");h.width=h.height=16;var p=h.getContext("2d"),f=new o.a.graphic.Rect({shape:{x:0,y:0,width:16,height:16},style:{fill:a}});f.brush(p),c.attachScene(this._scene)}else{this._isSkyboxFromAmbientCubemap=!1;d=r["a"].loadTexture(a,n,{anisotropic:8,flipY:!1});c.setEnvironmentMap(d),c.attachScene(this._scene)}else this._skybox&&this._skybox.detachScene(this._scene),this._skybox=null;var _=t.coordinateSystem;if(this._skybox)if(!_||!_.viewGL||"auto"===a||a.match&&a.match(/.hdr$/))this._skybox.material.undefine("fragment","SRGB_DECODE");else{var m=_.viewGL.isLinearSpace()?"define":"undefine";this._skybox.material[m]("fragment","SRGB_DECODE")}}},t["a"]=s},function(e,t,n){"use strict";t["a"]={defaultOption:{shading:null,realisticMaterial:{textureTiling:1,textureOffset:0,detailTexture:null},lambertMaterial:{textureTiling:1,textureOffset:0,detailTexture:null},colorMaterial:{textureTiling:1,textureOffset:0,detailTexture:null},hatchingMaterial:{textureTiling:1,textureOffset:0,paperColor:"#fff"}}}},function(e,t,n){"use strict";var r=n(0),i=n.n(r),a={getFormattedLabel:function(e,t,n,r,a){n=n||"normal";var o=e.getData(r),s=o.getItemModel(t),l=e.getDataParams(t,r);null!=a&&l.value instanceof Array&&(l.value=l.value[a]);var c,u=s.get("normal"===n?["label","formatter"]:["emphasis","label","formatter"]);return null==u&&(u=s.get(["label","formatter"])),"function"===typeof u?(l.status=n,c=u(l)):"string"===typeof u&&(c=i.a.format.formatTpl(u,l)),c},normalizeToArray:function(e){return e instanceof Array?e:null==e?[]:[e]}};t["a"]=a},function(e,t,n){"use strict";var r=n(20),i={create:function(){var e=new r["a"](4);return e[0]=0,e[1]=0,e[2]=0,e[3]=0,e},clone:function(e){var t=new r["a"](4);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t},fromValues:function(e,t,n,i){var a=new r["a"](4);return a[0]=e,a[1]=t,a[2]=n,a[3]=i,a},copy:function(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e},set:function(e,t,n,r,i){return e[0]=t,e[1]=n,e[2]=r,e[3]=i,e},add:function(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e[3]=t[3]+n[3],e},subtract:function(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e[3]=t[3]-n[3],e}};i.sub=i.subtract,i.multiply=function(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e[2]=t[2]*n[2],e[3]=t[3]*n[3],e},i.mul=i.multiply,i.divide=function(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e[2]=t[2]/n[2],e[3]=t[3]/n[3],e},i.div=i.divide,i.min=function(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e[2]=Math.min(t[2],n[2]),e[3]=Math.min(t[3],n[3]),e},i.max=function(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e[2]=Math.max(t[2],n[2]),e[3]=Math.max(t[3],n[3]),e},i.scale=function(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e[3]=t[3]*n,e},i.scaleAndAdd=function(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e[3]=t[3]+n[3]*r,e},i.distance=function(e,t){var n=t[0]-e[0],r=t[1]-e[1],i=t[2]-e[2],a=t[3]-e[3];return Math.sqrt(n*n+r*r+i*i+a*a)},i.dist=i.distance,i.squaredDistance=function(e,t){var n=t[0]-e[0],r=t[1]-e[1],i=t[2]-e[2],a=t[3]-e[3];return n*n+r*r+i*i+a*a},i.sqrDist=i.squaredDistance,i.length=function(e){var t=e[0],n=e[1],r=e[2],i=e[3];return Math.sqrt(t*t+n*n+r*r+i*i)},i.len=i.length,i.squaredLength=function(e){var t=e[0],n=e[1],r=e[2],i=e[3];return t*t+n*n+r*r+i*i},i.sqrLen=i.squaredLength,i.negate=function(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e[3]=-t[3],e},i.inverse=function(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e[3]=1/t[3],e},i.normalize=function(e,t){var n=t[0],r=t[1],i=t[2],a=t[3],o=n*n+r*r+i*i+a*a;return o>0&&(o=1/Math.sqrt(o),e[0]=t[0]*o,e[1]=t[1]*o,e[2]=t[2]*o,e[3]=t[3]*o),e},i.dot=function(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]+e[3]*t[3]},i.lerp=function(e,t,n,r){var i=t[0],a=t[1],o=t[2],s=t[3];return e[0]=i+r*(n[0]-i),e[1]=a+r*(n[1]-a),e[2]=o+r*(n[2]-o),e[3]=s+r*(n[3]-s),e},i.random=function(e,t){return t=t||1,e[0]=Object(r["c"])(),e[1]=Object(r["c"])(),e[2]=Object(r["c"])(),e[3]=Object(r["c"])(),i.normalize(e,e),i.scale(e,e,t),e},i.transformMat4=function(e,t,n){var r=t[0],i=t[1],a=t[2],o=t[3];return e[0]=n[0]*r+n[4]*i+n[8]*a+n[12]*o,e[1]=n[1]*r+n[5]*i+n[9]*a+n[13]*o,e[2]=n[2]*r+n[6]*i+n[10]*a+n[14]*o,e[3]=n[3]*r+n[7]*i+n[11]*a+n[15]*o,e},i.transformQuat=function(e,t,n){var r=t[0],i=t[1],a=t[2],o=n[0],s=n[1],l=n[2],c=n[3],u=c*r+s*a-l*i,d=c*i+l*r-o*a,h=c*a+o*i-s*r,p=-o*r-s*i-l*a;return e[0]=u*c+p*-o+d*-l-h*-s,e[1]=d*c+p*-s+h*-o-u*-l,e[2]=h*c+p*-l+u*-s-d*-o,e},i.forEach=function(){var e=i.create();return function(t,n,r,i,a,o){var s,l;for(n||(n=4),r||(r=0),l=i?Math.min(i*n+r,t.length):t.length,s=r;s0&&console.warn("Found multiple camera in one scene. Use the fist one."),this._cameraList.push(e)):e instanceof i["a"]&&this.lights.push(e),e.name&&(this._nodeRepository[e.name]=e)},removeFromScene:function(e){var t;e instanceof a["a"]?(t=this._cameraList.indexOf(e),t>=0&&this._cameraList.splice(t,1)):e instanceof i["a"]&&(t=this.lights.indexOf(e),t>=0&&this.lights.splice(t,1)),e.name&&delete this._nodeRepository[e.name]},getNode:function(e){return this._nodeRepository[e]},setMainCamera:function(e){var t=this._cameraList.indexOf(e);t>=0&&this._cameraList.splice(t,1),this._cameraList.unshift(e)},getMainCamera:function(){return this._cameraList[0]},getLights:function(){return this.lights},updateLights:function(){var e=this.lights;this._previousLightNumber=this._lightNumber;for(var t={},n=0;n0&&this._doUpdateRenderList(o,t,n,r,i)}},isFrustumCulled:function(){var e=new o["a"],t=new u["a"];return function(n,r,i){var a=n.boundingBox;if(a||(a=n.skeleton&&n.skeleton.boundingBox?n.skeleton.boundingBox:n.geometry.boundingBox),!a)return!1;if(t.array=i,e.transformFrom(a,t),n.castShadow&&this.viewBoundingBoxLastFrame.union(e),n.frustumCulling){if(!e.intersectBoundingBox(r.frustum.boundingBox))return!0;t.array=r.projectionMatrix.array,e.max.array[2]>0&&e.min.array[2]<0&&(e.max.array[2]=-1e-20),e.applyProjection(t);var o=e.min.array,s=e.max.array;if(s[0]<-1||o[0]>1||s[1]<-1||o[1]>1||s[2]<-1||o[2]>1)return!0}return!1}}(),_updateLightUniforms:function(){var e=this.lights;e.sort(g);var t=this._lightUniforms;for(var n in t)for(var r in t[n])t[n][r].value.length=0;for(var i=0;i0?e[t].value=new Float32Array(e[t].value):e[t].value=null;this.indices&&this.indices.length>0&&(this.indices=this.vertexCount>65535?new Uint32Array(this.indices):new Uint16Array(this.indices)),this.dirty()}}},function(e,t,n){"use strict";var r=n(0),i=n.n(r);function a(e,t){var n=[];return i.a.util.each(e.dimensions,(function(r){var i=e.getDimensionInfo(r),a=i.otherDims,o=a[t];null!=o&&!1!==o&&(n[o]=i.name)})),n}t["a"]=function(e,t,n){function r(e){var r=!0,s=[],l=a(o,"tooltip");function c(e,t){var a=o.getDimensionInfo(t);if(a&&!1!==a.otherDims.tooltip){var l=a.type,c=(r?"- "+(a.tooltipName||a.name)+": ":"")+("ordinal"===l?e+"":"time"===l?n?"":i.a.format.formatTime("yyyy/MM/dd hh:mm:ss",e):i.a.format.addCommas(e));c&&s.push(i.a.format.encodeHTML(c))}}return l.length?i.a.util.each(l,(function(e){c(o.get(e,t),e)})):i.a.util.each(e,c),(r?"
":"")+s.join(r?"
":", ")}var o=e.getData(),s=e.getRawValue(t),l=i.a.util.isArray(s)?r(s):i.a.format.encodeHTML(i.a.format.addCommas(s)),c=o.getName(t),u=o.getItemVisual(t,"color");i.a.util.isObject(u)&&u.colorStops&&(u=(u.colorStops[0]||{}).color),u=u||"transparent";var d=i.a.format.getTooltipMarker(u),h=e.name;return"\0-"===h&&(h=""),h=h?i.a.format.encodeHTML(h)+(n?": ":"
"):"",n?d+h+l:h+d+(c?i.a.format.encodeHTML(c)+": "+l:l)}},function(e,t,n){"use strict";var r=n(71),i=n(11),a=r["a"].extend({skeleton:null,joints:null},(function(){this.joints||(this.joints=[])}),{offsetMatrix:null,isInstancedMesh:function(){return!1},isSkinnedMesh:function(){return!!(this.skeleton&&this.joints&&this.joints.length>0)},clone:function(){var e=r["a"].prototype.clone.call(this);return e.skeleton=this.skeleton,this.joints&&(e.joints=this.joints.slice()),e}});a.POINTS=i["a"].POINTS,a.LINES=i["a"].LINES,a.LINE_LOOP=i["a"].LINE_LOOP,a.LINE_STRIP=i["a"].LINE_STRIP,a.TRIANGLES=i["a"].TRIANGLES,a.TRIANGLE_STRIP=i["a"].TRIANGLE_STRIP,a.TRIANGLE_FAN=i["a"].TRIANGLE_FAN,a.BACK=i["a"].BACK,a.FRONT=i["a"].FRONT,a.FRONT_AND_BACK=i["a"].FRONT_AND_BACK,a.CW=i["a"].CW,a.CCW=i["a"].CCW,t["a"]=a},function(e,t,n){"use strict";var r=n(41),i=n(76),a=n(9),o=n(19),s=n(4),l=n(37),c=n(7),u=n(120);a["a"].import(u["a"]);var d=r["a"].extend((function(){var e=new a["a"]({vertex:a["a"].source("clay.skybox.vertex"),fragment:a["a"].source("clay.skybox.fragment")}),t=new o["a"]({shader:e,depthMask:!1});return{scene:null,geometry:new i["a"],material:t,environmentMap:null,culling:!1,_dummyCamera:new l["a"]}}),(function(){var e=this.scene;e&&this.attachScene(e),this.environmentMap&&this.setEnvironmentMap(this.environmentMap)}),{attachScene:function(e){this.scene&&this.detachScene(),e.skybox=this,this.scene=e,e.on("beforerender",this._beforeRenderScene,this)},detachScene:function(){this.scene&&(this.scene.off("beforerender",this._beforeRenderScene),this.scene.skybox=null),this.scene=null},dispose:function(e){this.detachScene(),this.geometry.dispose(e)},setEnvironmentMap:function(e){"texture2D"===e.textureType?(this.material.define("EQUIRECTANGULAR"),e.minFilter=s["a"].LINEAR):this.material.undefine("EQUIRECTANGULAR"),this.material.set("environmentMap",e)},getEnvironmentMap:function(){return this.material.get("environmentMap")},_beforeRenderScene:function(e,t,n){this.renderSkybox(e,n)},renderSkybox:function(e,t){var n=this._dummyCamera;n.aspect=e.getViewportAspect(),n.fov=t.fov||50,n.updateProjectionMatrix(),c["a"].invert(n.invProjectionMatrix,n.projectionMatrix),n.worldTransform.copy(t.worldTransform),n.viewMatrix.copy(t.viewMatrix),this.position.copy(t.getWorldPosition()),this.update(),e.gl.disable(e.gl.BLEND),this.material.get("lod")>0?this.material.define("fragment","LOD"):this.material.undefine("fragment","LOD"),e.renderPass([this],n)}});t["a"]=d},function(e,t,n){"use strict";var r=n(14),i=n(18),a=r["a"].extend({dynamic:!1,widthSegments:1,heightSegments:1},(function(){this.build()}),{build:function(){for(var e=this.heightSegments,t=this.widthSegments,n=this.attributes,r=[],a=[],o=[],s=[],l=0;l<=e;l++)for(var c=l/e,u=0;u<=t;u++){var d=u/t;if(r.push([2*d-1,2*c-1,0]),a&&a.push([d,c]),o&&o.push([0,0,1]),u0&&this._notFirst?this.animateTo({alpha:u,beta:d,center:h,distance:a,orthographicSize:o,easing:c.animationEasingUpdate,duration:c.animationDurationUpdate}):(this.setDistance(a),this.setAlpha(u),this.setBeta(d),this.setCenter(h),this.setOrthographicSize(o)),this._notFirst=!0,this._validateProperties()},_validateProperties:function(){null==l[this.panMouseButton]&&console.error("Unkown panMouseButton %s. It should be left|middle|right",this.panMouseButton),null==l[this.rotateMouseButton]&&console.error("Unkown rotateMouseButton %s. It should be left|middle|right",this.rotateMouseButton),"cw"!==this.autoRotateDirection&&"ccw"!==this.autoRotateDirection&&console.error("Unkown autoRotateDirection %s. It should be cw|ccw",this.autoRotateDirection)},animateTo:function(e){var t=this.zr,n=this,r={},i={};return null!=e.distance&&(r.distance=this.getDistance(),i.distance=e.distance),null!=e.orthographicSize&&(r.orthographicSize=this.getOrthographicSize(),i.orthographicSize=e.orthographicSize),null!=e.alpha&&(r.alpha=this.getAlpha(),i.alpha=e.alpha),null!=e.beta&&(r.beta=this.getBeta(),i.beta=e.beta),null!=e.center&&(r.center=this.getCenter(),i.center=e.center),this._addAnimator(t.animation.animate(r).when(e.duration||1e3,i).during((function(){null!=r.alpha&&n.setAlpha(r.alpha),null!=r.beta&&n.setBeta(r.beta),null!=r.distance&&n.setDistance(r.distance),null!=r.center&&n.setCenter(r.center),null!=r.orthographicSize&&n.setOrthographicSize(r.orthographicSize),n._needsUpdate=!0}))).start(e.easing||"linear")},stopAllAnimation:function(){for(var e=0;e0},_update:function(e){if(this._rotating){var t=("cw"===this.autoRotateDirection?1:-1)*this.autoRotateSpeed/180*Math.PI;this._phi-=t*e/1e3,this._needsUpdate=!0}else this._rotateVelocity.len()>0&&(this._needsUpdate=!0);(Math.abs(this._zoomSpeed)>.1||this._panVelocity.len()>0)&&(this._needsUpdate=!0),this._needsUpdate&&(e=Math.min(e,50),this._updateDistanceOrSize(e),this._updatePan(e),this._updateRotate(e),this._updateTransform(),this.getCamera().update(),this.zr&&this.zr.refresh(),this.trigger("update"),this._needsUpdate=!1)},_updateRotate:function(e){var t=this._rotateVelocity;this._phi=t.y*e/20+this._phi,this._theta=t.x*e/20+this._theta,this.setAlpha(this.getAlpha()),this.setBeta(this.getBeta()),this._vectorDamping(t,Math.pow(this.damping,e/16))},_updateDistanceOrSize:function(e){"perspective"===this._projection?this._setDistance(this._distance+this._zoomSpeed*e/20):this._setOrthoSize(this._orthoSize+this._zoomSpeed*e/20),this._zoomSpeed*=Math.pow(this.damping,e/16)},_setDistance:function(e){this._distance=Math.max(Math.min(e,this.maxDistance),this.minDistance)},_setOrthoSize:function(e){this._orthoSize=Math.max(Math.min(e,this.maxOrthographicSize),this.minOrthographicSize);var t=this.getCamera(),n=this._orthoSize,r=n/this.viewGL.viewport.height*this.viewGL.viewport.width;t.left=-r/2,t.right=r/2,t.top=n/2,t.bottom=-n/2},_updatePan:function(e){var t=this._panVelocity,n=this._distance,r=this.getCamera(),i=r.worldTransform.y,a=r.worldTransform.x;this._center.scaleAndAdd(a,-t.x*n/200).scaleAndAdd(i,-t.y*n/200),this._vectorDamping(t,0)},_updateTransform:function(){var e=this.getCamera(),t=new a["a"],n=this._theta+Math.PI/2,r=this._phi+Math.PI/2,i=Math.sin(n);t.x=i*Math.cos(r),t.y=-Math.cos(n),t.z=i*Math.sin(r),e.position.copy(this._center).scaleAndAdd(t,this._distance),e.rotation.identity().rotateY(-this._phi).rotateX(-this._theta)},_startCountingStill:function(){clearTimeout(this._stillTimeout);var e=this.autoRotateAfterStill,t=this;!isNaN(e)&&e>0&&(this._stillTimeout=setTimeout((function(){t._rotating=!0}),1e3*e))},_vectorDamping:function(e,t){var n=e.len();n*=t,n<1e-4&&(n=0),e.normalize().scale(n)},_decomposeTransform:function(){if(this.getCamera()){this.getCamera().updateWorldTransform();var e=this.getCamera().worldTransform.z,t=Math.asin(e.y),n=Math.atan2(e.x,e.z);this._theta=t,this._phi=-n,this.setBeta(this.getBeta()),this.setAlpha(this.getAlpha()),this.getCamera().aspect?this._setDistance(this.getCamera().position.dist(this._center)):this._setOrthoSize(this.getCamera().top-this.getCamera().bottom)}},_mouseDownHandler:function(e){if(!e.target&&!this._isAnimating()){var t=e.offsetX,n=e.offsetY;this.viewGL&&!this.viewGL.containPoint(t,n)||(this.zr.on("mousemove",this._mouseMoveHandler),this.zr.on("mouseup",this._mouseUpHandler),e.event.targetTouches?1===e.event.targetTouches.length&&(this._mode="rotate"):e.event.button===l[this.rotateMouseButton]?this._mode="rotate":e.event.button===l[this.panMouseButton]?this._mode="pan":this._mode="",this._rotateVelocity.set(0,0),this._rotating=!1,this.autoRotate&&this._startCountingStill(),this._mouseX=e.offsetX,this._mouseY=e.offsetY)}},_mouseMoveHandler:function(e){if((!e.target||!e.target.__isGLToZRProxy)&&!this._isAnimating()){var t=c(this.panSensitivity),n=c(this.rotateSensitivity);"rotate"===this._mode?(this._rotateVelocity.y=(e.offsetX-this._mouseX)/this.zr.getHeight()*2*n[0],this._rotateVelocity.x=(e.offsetY-this._mouseY)/this.zr.getWidth()*2*n[1]):"pan"===this._mode&&(this._panVelocity.x=(e.offsetX-this._mouseX)/this.zr.getWidth()*t[0]*400,this._panVelocity.y=(-e.offsetY+this._mouseY)/this.zr.getHeight()*t[1]*400),this._mouseX=e.offsetX,this._mouseY=e.offsetY,e.event.preventDefault()}},_mouseWheelHandler:function(e){if(!this._isAnimating()){var t=e.event.wheelDelta||-e.event.detail;this._zoomHandler(e,t)}},_pinchHandler:function(e){this._isAnimating()||(this._zoomHandler(e,e.pinchScale>1?1:-1),this._mode="")},_zoomHandler:function(e,t){if(0!==t){var n,r=e.offsetX,i=e.offsetY;if(!this.viewGL||this.viewGL.containPoint(r,i))n="perspective"===this._projection?Math.max(Math.max(Math.min(this._distance-this.minDistance,this.maxDistance-this._distance))/20,.5):Math.max(Math.max(Math.min(this._orthoSize-this.minOrthographicSize,this.maxOrthographicSize-this._orthoSize))/20,.5),this._zoomSpeed=(t>0?-1:1)*n*this.zoomSensitivity,this._rotating=!1,this.autoRotate&&"rotate"===this._mode&&this._startCountingStill(),e.event.preventDefault()}},_mouseUpHandler:function(){this.zr.off("mousemove",this._mouseMoveHandler),this.zr.off("mouseup",this._mouseUpHandler)},_isRightMouseButtonUsed:function(){return"right"===this.rotateMouseButton||"right"===this.panMouseButton},_contextMenuHandler:function(e){this._isRightMouseButtonUsed()&&e.preventDefault()},_addAnimator:function(e){var t=this._animators;return t.push(e),e.done((function(){var n=t.indexOf(e);n>=0&&t.splice(n,1)})),e}});Object.defineProperty(u.prototype,"autoRotate",{get:function(e){return this._autoRotate},set:function(e){this._autoRotate=e,this._rotating=e}}),t["a"]=u},function(e,t,n){"use strict";t["a"]="@export ecgl.lines3D.vertex\n\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\n\nattribute vec3 position: POSITION;\nattribute vec4 a_Color : COLOR;\nvarying vec4 v_Color;\n\nvoid main()\n{\n gl_Position = worldViewProjection * vec4(position, 1.0);\n v_Color = a_Color;\n}\n\n@end\n\n@export ecgl.lines3D.fragment\n\nuniform vec4 color : [1.0, 1.0, 1.0, 1.0];\n\nvarying vec4 v_Color;\n\n@import clay.util.srgb\n\nvoid main()\n{\n#ifdef SRGB_DECODE\n gl_FragColor = sRGBToLinear(color * v_Color);\n#else\n gl_FragColor = color * v_Color;\n#endif\n}\n@end\n\n\n\n@export ecgl.lines3D.clipNear\n\nvec4 clipNear(vec4 p1, vec4 p2) {\n float n = (p1.w - near) / (p1.w - p2.w);\n return vec4(mix(p1.xy, p2.xy, n), -near, near);\n}\n\n@end\n\n@export ecgl.lines3D.expandLine\n#ifdef VERTEX_ANIMATION\n vec4 prevProj = worldViewProjection * vec4(mix(prevPositionPrev, positionPrev, percent), 1.0);\n vec4 currProj = worldViewProjection * vec4(mix(prevPosition, position, percent), 1.0);\n vec4 nextProj = worldViewProjection * vec4(mix(prevPositionNext, positionNext, percent), 1.0);\n#else\n vec4 prevProj = worldViewProjection * vec4(positionPrev, 1.0);\n vec4 currProj = worldViewProjection * vec4(position, 1.0);\n vec4 nextProj = worldViewProjection * vec4(positionNext, 1.0);\n#endif\n\n if (currProj.w < 0.0) {\n if (nextProj.w > 0.0) {\n currProj = clipNear(currProj, nextProj);\n }\n else if (prevProj.w > 0.0) {\n currProj = clipNear(currProj, prevProj);\n }\n }\n\n vec2 prevScreen = (prevProj.xy / abs(prevProj.w) + 1.0) * 0.5 * viewport.zw;\n vec2 currScreen = (currProj.xy / abs(currProj.w) + 1.0) * 0.5 * viewport.zw;\n vec2 nextScreen = (nextProj.xy / abs(nextProj.w) + 1.0) * 0.5 * viewport.zw;\n\n vec2 dir;\n float len = offset;\n if (position == positionPrev) {\n dir = normalize(nextScreen - currScreen);\n }\n else if (position == positionNext) {\n dir = normalize(currScreen - prevScreen);\n }\n else {\n vec2 dirA = normalize(currScreen - prevScreen);\n vec2 dirB = normalize(nextScreen - currScreen);\n\n vec2 tanget = normalize(dirA + dirB);\n\n float miter = 1.0 / max(dot(tanget, dirA), 0.5);\n len *= miter;\n dir = tanget;\n }\n\n dir = vec2(-dir.y, dir.x) * len;\n currScreen += dir;\n\n currProj.xy = (currScreen / viewport.zw - 0.5) * 2.0 * abs(currProj.w);\n@end\n\n\n@export ecgl.meshLines3D.vertex\n\nattribute vec3 position: POSITION;\nattribute vec3 positionPrev;\nattribute vec3 positionNext;\nattribute float offset;\nattribute vec4 a_Color : COLOR;\n\n#ifdef VERTEX_ANIMATION\nattribute vec3 prevPosition;\nattribute vec3 prevPositionPrev;\nattribute vec3 prevPositionNext;\nuniform float percent : 1.0;\n#endif\n\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\nuniform vec4 viewport : VIEWPORT;\nuniform float near : NEAR;\n\nvarying vec4 v_Color;\n\n@import ecgl.common.wireframe.vertexHeader\n\n@import ecgl.lines3D.clipNear\n\nvoid main()\n{\n @import ecgl.lines3D.expandLine\n\n gl_Position = currProj;\n\n v_Color = a_Color;\n\n @import ecgl.common.wireframe.vertexMain\n}\n@end\n\n\n@export ecgl.meshLines3D.fragment\n\nuniform vec4 color : [1.0, 1.0, 1.0, 1.0];\n\nvarying vec4 v_Color;\n\n@import ecgl.common.wireframe.fragmentHeader\n\n@import clay.util.srgb\n\nvoid main()\n{\n#ifdef SRGB_DECODE\n gl_FragColor = sRGBToLinear(color * v_Color);\n#else\n gl_FragColor = color * v_Color;\n#endif\n\n @import ecgl.common.wireframe.fragmentMain\n}\n\n@end"},function(e,t,n){var r=n(16),i=n(83),a=n(84),o=a.parsePercent,s=n(172),l=r.each,c=["left","right","top","bottom","width","height"],u=[["width","left","right"],["height","top","bottom"]];function d(e,t,n,r,i){var a=0,o=0;null==r&&(r=1/0),null==i&&(i=1/0);var s=0;t.eachChild((function(l,c){var u,d,h=l.position,p=l.getBoundingRect(),f=t.childAt(c+1),_=f&&f.getBoundingRect();if("horizontal"===e){var m=p.width+(_?-_.x+p.x:0);u=a+m,u>r||l.newline?(a=0,u=m,o+=s+n,s=p.height):s=Math.max(s,p.height)}else{var g=p.height+(_?-_.y+p.y:0);d=o+g,d>i||l.newline?(a+=s+n,o=0,d=g,s=p.width):s=Math.max(s,p.width)}l.newline||(h[0]=a,h[1]=o,"horizontal"===e?a=u+n:o=d+n)}))}var h=d,p=r.curry(d,"vertical"),f=r.curry(d,"horizontal");function _(e,t,n){var r=t.width,i=t.height,a=o(e.x,r),l=o(e.y,i),c=o(e.x2,r),u=o(e.y2,i);return(isNaN(a)||isNaN(parseFloat(e.x)))&&(a=0),(isNaN(c)||isNaN(parseFloat(e.x2)))&&(c=r),(isNaN(l)||isNaN(parseFloat(e.y)))&&(l=0),(isNaN(u)||isNaN(parseFloat(e.y2)))&&(u=i),n=s.normalizeCssArray(n||0),{width:Math.max(c-a-n[1]-n[3],0),height:Math.max(u-l-n[0]-n[2],0)}}function m(e,t,n){n=s.normalizeCssArray(n||0);var r=t.width,a=t.height,l=o(e.left,r),c=o(e.top,a),u=o(e.right,r),d=o(e.bottom,a),h=o(e.width,r),p=o(e.height,a),f=n[2]+n[0],_=n[1]+n[3],m=e.aspect;switch(isNaN(h)&&(h=r-u-_-l),isNaN(p)&&(p=a-d-f-c),null!=m&&(isNaN(h)&&isNaN(p)&&(m>r/a?h=.8*r:p=.8*a),isNaN(h)&&(h=m*p),isNaN(p)&&(p=h/m)),isNaN(l)&&(l=r-u-h-_),isNaN(c)&&(c=a-d-p-f),e.left||e.right){case"center":l=r/2-h/2-n[3];break;case"right":l=r-h-_;break}switch(e.top||e.bottom){case"middle":case"center":c=a/2-p/2-n[0];break;case"bottom":c=a-p-f;break}l=l||0,c=c||0,isNaN(h)&&(h=r-_-l-(u||0)),isNaN(p)&&(p=a-f-c-(d||0));var g=new i(l+n[3],c+n[0],h,p);return g.margin=n,g}function g(e,t,n,a,o){var s=!o||!o.hv||o.hv[0],l=!o||!o.hv||o.hv[1],c=o&&o.boundingMode||"all";if(s||l){var u;if("raw"===c)u="group"===e.type?new i(0,0,+t.width||0,+t.height||0):e.getBoundingRect();else if(u=e.getBoundingRect(),e.needLocalTransform()){var d=e.getLocalTransform();u=u.clone(),u.applyTransform(d)}t=m(r.defaults({width:u.width,height:u.height},t),n,a);var h=e.position,p=s?t.x-u.x:0,f=l?t.y-u.y:0;e.attr("position","raw"===c?[p,f]:[h[0]+p,h[1]+f])}}function v(e,t){return null!=e[u[t][0]]||null!=e[u[t][1]]&&null!=e[u[t][2]]}function y(e,t,n){!r.isObject(n)&&(n={});var i=n.ignoreSize;!r.isArray(i)&&(i=[i,i]);var a=s(u[0],0),o=s(u[1],1);function s(n,r){var a={},o=0,s={},u=0,h=2;if(l(n,(function(t){s[t]=e[t]})),l(n,(function(e){c(t,e)&&(a[e]=s[e]=t[e]),d(a,e)&&o++,d(s,e)&&u++})),i[r])return d(t,n[1])?s[n[2]]=null:d(t,n[2])&&(s[n[1]]=null),s;if(u!==h&&o){if(o>=h)return a;for(var p=0;p0){var t=this.outputs[e];t.keepLastFrame?(this._prevOutputTextures[e]&&this._compositor.releaseTexture(this._prevOutputTextures[e]),this._prevOutputTextures[e]=this._outputTextures[e]):this._compositor.releaseTexture(this._outputTextures[e])}}});t["a"]=i},function(e,t,n){"use strict";function r(e,t){var n=0,r=1/t,i=e;while(i>0)n+=r*(i%t),i=Math.floor(i/t),r/=t;return n}t["a"]=r},function(e,t,n){"use strict";var r=n(0),i=n.n(r);t["a"]=function(e,t,n){n=n||e.getSource();var r=t||i.a.getCoordinateSystemDimensions(e.get("coordinateSystem"))||["x","y","z"],a=i.a.helper.createDimensions(n,{dimensionsDefine:n.dimensionsDefine||e.get("dimensions"),encodeDefine:n.encodeDefine||e.get("encode"),coordDimensions:r.map((function(t){var n=e.getReferringComponents(t+"Axis3D")[0];return{type:n&&"category"===n.get("type")?"ordinal":"float",name:t}}))});"cartesian3D"===e.get("coordinateSystem")&&a.forEach((function(t){if(r.indexOf(t.coordDim)>=0){var n=e.getReferringComponents(t.coordDim+"Axis3D")[0];n&&"category"===n.get("type")&&(t.ordinalMeta=n.getOrdinalMeta())}}));var o=i.a.helper.dataStack.enableDataStack(e,a,{byIndex:!0,stackedCoordDimension:"z"}),s=new i.a.List(a,e);return s.setCalculationInfo(o),s.initData(n),s}},function(e,t,n){var r=n(16),i=r.isFunction;function a(e,t,n){return{seriesType:e,performRawSeries:!0,reset:function(e,r,a){var o=e.getData(),s=e.get("symbol"),l=e.get("symbolSize"),c=e.get("symbolKeepAspect"),u=i(s),d=i(l),h=u||d,p=!u&&s?s:t,f=d?null:l;if(o.setVisual({legendSymbol:n||p,symbol:p,symbolSize:f,symbolKeepAspect:c}),!r.isSeriesFiltered(e))return{dataEach:o.hasItemOption||h?_:null};function _(t,n){if(h){var r=e.getRawValue(n),i=e.getDataParams(n);u&&t.setItemVisual(n,"symbol",s(r,i)),d&&t.setItemVisual(n,"symbolSize",l(r,i))}if(t.hasItemOption){var a=t.getItemModel(n),o=a.getShallow("symbol",!0),c=a.getShallow("symbolSize",!0),p=a.getShallow("symbolKeepAspect",!0);null!=o&&t.setItemVisual(n,"symbol",o),null!=c&&t.setItemVisual(n,"symbolSize",c),null!=p&&t.setItemVisual(n,"symbolKeepAspect",p)}}}}}e.exports=a},function(e,t,n){"use strict";var r=n(8),i=n(110),a=n(11),o=n(13),s=n(19),l=n(26),c=n(114),u=n(9),d=n(70),h=n(21),p=n(12);u["a"]["import"](d["a"]);var f=h["a"].create,_={};function m(e){return e.material}function g(e,t,n){return t.uniforms[n].value}function v(e,t,n,r){return n!==r}function y(e){return!0}function b(){}var S={float:a["a"].FLOAT,byte:a["a"].BYTE,ubyte:a["a"].UNSIGNED_BYTE,short:a["a"].SHORT,ushort:a["a"].UNSIGNED_SHORT};function E(e,t,n){this.availableAttributes=e,this.availableAttributeSymbols=t,this.indicesBuffer=n,this.vao=null}function x(e){var t,n;this.bind=function(e){t||(t=o["a"].createCanvas(),t.width=t.height=1,t.getContext("2d"));var r=e.gl,i=!n;i&&(n=r.createTexture()),r.bindTexture(r.TEXTURE_2D,n),i&&r.texImage2D(r.TEXTURE_2D,0,r.RGBA,r.RGBA,r.UNSIGNED_BYTE,t)},this.unbind=function(e){e.gl.bindTexture(e.gl.TEXTURE_2D,null)},this.isRenderable=function(){return!0}}var T=r["a"].extend((function(){return{canvas:null,_width:100,_height:100,devicePixelRatio:"undefined"!==typeof window&&window.devicePixelRatio||1,clearColor:[0,0,0,0],clearBit:17664,logDepthBuffer:!1,alpha:!0,depth:!0,stencil:!1,antialias:!0,premultipliedAlpha:!0,preserveDrawingBuffer:!1,throwError:!0,gl:null,viewport:{},maxJointNumber:20,__currentFrameBuffer:null,_viewportStack:[],_clearStack:[],_sceneRendering:null}}),(function(){this.canvas||(this.canvas=o["a"].createCanvas());var e=this.canvas;try{var t={alpha:this.alpha,depth:this.depth,stencil:this.stencil,antialias:this.antialias,premultipliedAlpha:this.premultipliedAlpha,preserveDrawingBuffer:this.preserveDrawingBuffer};if(this.gl=e.getContext("webgl",t)||e.getContext("experimental-webgl",t),!this.gl)throw new Error;this._glinfo=new i["a"](this.gl),this.gl.targetRenderer&&console.error("Already created a renderer"),this.gl.targetRenderer=this,this.resize()}catch(n){throw"Error creating WebGL Context "+n}this._programMgr=new c["a"](this),this._placeholderTexture=new x(this)}),{resize:function(e,t){var n=this.canvas,r=this.devicePixelRatio;null!=e?(n.style&&(n.style.width=e+"px",n.style.height=t+"px"),n.width=e*r,n.height=t*r,this._width=e,this._height=t):(this._width=n.width/r,this._height=n.height/r),this.setViewport(0,0,this._width,this._height)},getWidth:function(){return this._width},getHeight:function(){return this._height},getViewportAspect:function(){var e=this.viewport;return e.width/e.height},setDevicePixelRatio:function(e){this.devicePixelRatio=e,this.resize(this._width,this._height)},getDevicePixelRatio:function(){return this.devicePixelRatio},getGLExtension:function(e){return this._glinfo.getExtension(e)},getGLParameter:function(e){return this._glinfo.getParameter(e)},setViewport:function(e,t,n,r,i){if("object"===typeof e){var a=e;e=a.x,t=a.y,n=a.width,r=a.height,i=a.devicePixelRatio}i=i||this.devicePixelRatio,this.gl.viewport(e*i,t*i,n*i,r*i),this.viewport={x:e,y:t,width:n,height:r,devicePixelRatio:i}},saveViewport:function(){this._viewportStack.push(this.viewport)},restoreViewport:function(){this._viewportStack.length>0&&this.setViewport(this._viewportStack.pop())},saveClear:function(){this._clearStack.push({clearBit:this.clearBit,clearColor:this.clearColor})},restoreClear:function(){if(this._clearStack.length>0){var e=this._clearStack.pop();this.clearColor=e.clearColor,this.clearBit=e.clearBit}},bindSceneRendering:function(e){this._sceneRendering=e},render:function(e,t,n,r){var i=this.gl,a=this.clearColor;if(this.clearBit){i.colorMask(!0,!0,!0,!0),i.depthMask(!0);var o=this.viewport,s=!1,l=o.devicePixelRatio;(o.width!==this._width||o.height!==this._height||l&&l!==this.devicePixelRatio||o.x||o.y)&&(s=!0,i.enable(i.SCISSOR_TEST),i.scissor(o.x*l,o.y*l,o.width*l,o.height*l)),i.clearColor(a[0],a[1],a[2],a[3]),i.clear(this.clearBit),s&&i.disable(i.SCISSOR_TEST)}if(n||e.update(!1),e.updateLights(),t=t||e.getMainCamera(),t){t.update();var c=e.updateRenderList(t,!0);this._sceneRendering=e;var u=c.opaque,d=c.transparent,_=e.material;e.trigger("beforerender",this,e,t,c),r?(this.renderPreZ(u,e,t),i.depthFunc(i.LEQUAL)):i.depthFunc(i.LESS);for(var m=f(),g=p["a"].create(),v=0;v0){var s=e[i-1],l=s.joints?s.joints.length:0,c=a.joints?a.joints.length:0;if(c===l&&a.material===s.material&&a.lightGroup===s.lightGroup){a.__program=s.__program;continue}}var u=this._programMgr.getProgram(a,o,t,this);this.validateProgram(u),a.__program=u}},renderPass:function(e,t,n){this.trigger("beforerenderpass",this,e,t,n),n=n||{},n.getMaterial=n.getMaterial||m,n.getUniform=n.getUniform||g,n.isMaterialChanged=n.isMaterialChanged||v,n.beforeRender=n.beforeRender||b,n.afterRender=n.afterRender||b;var r=n.ifRender||y;this.updatePrograms(e,this._sceneRendering,n),n.sortCompare&&e.sort(n.sortCompare);var i=this.viewport,a=i.devicePixelRatio,o=[i.x*a,i.y*a,i.width*a,i.height*a],s=this.devicePixelRatio,l=this.__currentFrameBuffer?[this.__currentFrameBuffer.getTextureWidth(),this.__currentFrameBuffer.getTextureHeight()]:[this._width*s,this._height*s],c=[o[2],o[3]],u=Date.now();t?(h["a"].copy(C.VIEW,t.viewMatrix.array),h["a"].copy(C.PROJECTION,t.projectionMatrix.array),h["a"].copy(C.VIEWINVERSE,t.worldTransform.array)):(h["a"].identity(C.VIEW),h["a"].identity(C.PROJECTION),h["a"].identity(C.VIEWINVERSE)),h["a"].multiply(C.VIEWPROJECTION,C.PROJECTION,C.VIEW),h["a"].invert(C.PROJECTIONINVERSE,C.PROJECTION),h["a"].invert(C.VIEWPROJECTIONINVERSE,C.VIEWPROJECTION);for(var d,p,f,_,S,E,x,T,A,w,O,R,I=this.gl,N=this._sceneRendering,M=null,D=0;Dthis.getMaxJointNumber()){var a=i.getSubSkinMatricesTexture(e.__uid__,e.joints);t.useTextureSlot(this,a,n),t.setUniform(r,"1i","skinMatricesTexture",n),t.setUniform(r,"1f","skinMatricesTextureSize",a.width)}else{var o=i.getSubSkinMatrices(e.__uid__,e.joints);t.setUniformOfSemantic(r,"SKIN_MATRIX",o)}},_renderObject:function(e,t,n){var r=this.gl,i=e.geometry,a=e.mode;null==a&&(a=4);var o=null,s=e.isInstancedMesh&&e.isInstancedMesh();if(!s||(o=this.getGLExtension("ANGLE_instanced_arrays"),o)){var l;if(s&&(l=this._bindInstancedAttributes(e,n,o)),t.indicesBuffer){var c=this.getGLExtension("OES_element_index_uint"),u=c&&i.indices instanceof Uint32Array,d=u?r.UNSIGNED_INT:r.UNSIGNED_SHORT;s?o.drawElementsInstancedANGLE(a,t.indicesBuffer.count,d,0,e.getInstanceCount()):r.drawElements(a,t.indicesBuffer.count,d,0)}else s?o.drawArraysInstancedANGLE(a,0,i.vertexCount,e.getInstanceCount()):r.drawArrays(a,0,i.vertexCount);if(s)for(var h=0;hd)){var h=Math.sqrt(d-u),p=l-h,f=l+h;return a||(a=new r["a"]),p<0?f<0?null:(i["a"].scaleAndAdd(a.array,o,s,f),a):(i["a"].scaleAndAdd(a.array,o,s,p),a)}}}(),intersectBoundingBox:function(e,t){var n,a,o,s,l,c,u=this.direction.array,d=this.origin.array,h=e.min.array,p=e.max.array,f=1/u[0],_=1/u[1],m=1/u[2];if(f>=0?(n=(h[0]-d[0])*f,a=(p[0]-d[0])*f):(a=(h[0]-d[0])*f,n=(p[0]-d[0])*f),_>=0?(o=(h[1]-d[1])*_,s=(p[1]-d[1])*_):(s=(h[1]-d[1])*_,o=(p[1]-d[1])*_),n>s||o>a)return null;if((o>n||n!==n)&&(n=o),(s=0?(l=(h[2]-d[2])*m,c=(p[2]-d[2])*m):(c=(h[2]-d[2])*m,l=(p[2]-d[2])*m),n>c||l>a)return null;if((l>n||n!==n)&&(n=l),(c=0?n:a;return t||(t=new r["a"]),i["a"].scaleAndAdd(t.array,d,u,g),t},intersectTriangle:function(){var e=i["a"].create(),t=i["a"].create(),n=i["a"].create(),o=i["a"].create();return function(s,l,c,u,d,h){var p=this.direction.array,f=this.origin.array;s=s.array,l=l.array,c=c.array,i["a"].sub(e,l,s),i["a"].sub(t,c,s),i["a"].cross(o,t,p);var _=i["a"].dot(e,o);if(u){if(_>-a)return null}else if(_>-a&&_1)return null;i["a"].cross(o,e,n);var g=i["a"].dot(p,o)/_;if(g<0||g>1||m+g>1)return null;i["a"].cross(o,e,t);var v=-i["a"].dot(n,o)/_;return v<0?null:(d||(d=new r["a"]),h&&r["a"].set(h,1-m-g,m,g),i["a"].scaleAndAdd(d.array,f,p,v),d)}}(),applyTransform:function(e){r["a"].add(this.direction,this.direction,this.origin),r["a"].transformMat4(this.origin,this.origin,e),r["a"].transformMat4(this.direction,this.direction,e),r["a"].sub(this.direction,this.direction,this.origin),r["a"].normalize(this.direction,this.direction)},copy:function(e){r["a"].copy(this.origin,e.origin),r["a"].copy(this.direction,e.direction)},clone:function(){var e=new o;return e.copy(this),e}},t["a"]=o},function(e,t,n){"use strict";var r=n(20),i=n(12),a=n(33),o=n(34),s={create:function(){var e=new r["a"](4);return e[0]=0,e[1]=0,e[2]=0,e[3]=1,e}};s.rotationTo=function(){var e=i["a"].create(),t=i["a"].fromValues(1,0,0),n=i["a"].fromValues(0,1,0);return function(r,a,o){var l=i["a"].dot(a,o);return l<-.999999?(i["a"].cross(e,t,a),i["a"].length(e)<1e-6&&i["a"].cross(e,n,a),i["a"].normalize(e,e),s.setAxisAngle(r,e,Math.PI),r):l>.999999?(r[0]=0,r[1]=0,r[2]=0,r[3]=1,r):(i["a"].cross(e,a,o),r[0]=e[0],r[1]=e[1],r[2]=e[2],r[3]=1+l,s.normalize(r,r))}}(),s.setAxes=function(){var e=o["a"].create();return function(t,n,r,i){return e[0]=r[0],e[3]=r[1],e[6]=r[2],e[1]=i[0],e[4]=i[1],e[7]=i[2],e[2]=-n[0],e[5]=-n[1],e[8]=-n[2],s.normalize(t,s.fromMat3(t,e))}}(),s.clone=a["a"].clone,s.fromValues=a["a"].fromValues,s.copy=a["a"].copy,s.set=a["a"].set,s.identity=function(e){return e[0]=0,e[1]=0,e[2]=0,e[3]=1,e},s.setAxisAngle=function(e,t,n){n*=.5;var r=Math.sin(n);return e[0]=r*t[0],e[1]=r*t[1],e[2]=r*t[2],e[3]=Math.cos(n),e},s.add=a["a"].add,s.multiply=function(e,t,n){var r=t[0],i=t[1],a=t[2],o=t[3],s=n[0],l=n[1],c=n[2],u=n[3];return e[0]=r*u+o*s+i*c-a*l,e[1]=i*u+o*l+a*s-r*c,e[2]=a*u+o*c+r*l-i*s,e[3]=o*u-r*s-i*l-a*c,e},s.mul=s.multiply,s.scale=a["a"].scale,s.rotateX=function(e,t,n){n*=.5;var r=t[0],i=t[1],a=t[2],o=t[3],s=Math.sin(n),l=Math.cos(n);return e[0]=r*l+o*s,e[1]=i*l+a*s,e[2]=a*l-i*s,e[3]=o*l-r*s,e},s.rotateY=function(e,t,n){n*=.5;var r=t[0],i=t[1],a=t[2],o=t[3],s=Math.sin(n),l=Math.cos(n);return e[0]=r*l-a*s,e[1]=i*l+o*s,e[2]=a*l+r*s,e[3]=o*l-i*s,e},s.rotateZ=function(e,t,n){n*=.5;var r=t[0],i=t[1],a=t[2],o=t[3],s=Math.sin(n),l=Math.cos(n);return e[0]=r*l+i*s,e[1]=i*l-r*s,e[2]=a*l+o*s,e[3]=o*l-a*s,e},s.calculateW=function(e,t){var n=t[0],r=t[1],i=t[2];return e[0]=n,e[1]=r,e[2]=i,e[3]=Math.sqrt(Math.abs(1-n*n-r*r-i*i)),e},s.dot=a["a"].dot,s.lerp=a["a"].lerp,s.slerp=function(e,t,n,r){var i,a,o,s,l,c=t[0],u=t[1],d=t[2],h=t[3],p=n[0],f=n[1],_=n[2],m=n[3];return a=c*p+u*f+d*_+h*m,a<0&&(a=-a,p=-p,f=-f,_=-_,m=-m),1-a>1e-6?(i=Math.acos(a),o=Math.sin(i),s=Math.sin((1-r)*i)/o,l=Math.sin(r*i)/o):(s=1-r,l=r),e[0]=s*c+l*p,e[1]=s*u+l*f,e[2]=s*d+l*_,e[3]=s*h+l*m,e},s.invert=function(e,t){var n=t[0],r=t[1],i=t[2],a=t[3],o=n*n+r*r+i*i+a*a,s=o?1/o:0;return e[0]=-n*s,e[1]=-r*s,e[2]=-i*s,e[3]=a*s,e},s.conjugate=function(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e[3]=t[3],e},s.length=a["a"].length,s.len=s.length,s.squaredLength=a["a"].squaredLength,s.sqrLen=s.squaredLength,s.normalize=a["a"].normalize,s.fromMat3=function(e,t){var n,r=t[0]+t[4]+t[8];if(r>0)n=Math.sqrt(r+1),e[3]=.5*n,n=.5/n,e[0]=(t[5]-t[7])*n,e[1]=(t[6]-t[2])*n,e[2]=(t[1]-t[3])*n;else{var i=0;t[4]>t[0]&&(i=1),t[8]>t[3*i+i]&&(i=2);var a=(i+1)%3,o=(i+2)%3;n=Math.sqrt(t[3*i+i]-t[3*a+a]-t[3*o+o]+1),e[i]=.5*n,n=.5/n,e[3]=(t[3*a+o]-t[3*o+a])*n,e[a]=(t[3*a+i]+t[3*i+a])*n,e[o]=(t[3*o+i]+t[3*i+o])*n}return e},t["a"]=s},function(e,t,n){"use strict";var r=n(55),i=n(34),a=function(e,t,n,i){e=e||0,t=t||0,n=n||0,i=void 0===i?1:i,this.array=r["a"].fromValues(e,t,n,i),this._dirty=!0};a.prototype={constructor:a,add:function(e){return r["a"].add(this.array,this.array,e.array),this._dirty=!0,this},calculateW:function(){return r["a"].calculateW(this.array,this.array),this._dirty=!0,this},set:function(e,t,n,r){return this.array[0]=e,this.array[1]=t,this.array[2]=n,this.array[3]=r,this._dirty=!0,this},setArray:function(e){return this.array[0]=e[0],this.array[1]=e[1],this.array[2]=e[2],this.array[3]=e[3],this._dirty=!0,this},clone:function(){return new a(this.x,this.y,this.z,this.w)},conjugate:function(){return r["a"].conjugate(this.array,this.array),this._dirty=!0,this},copy:function(e){return r["a"].copy(this.array,e.array),this._dirty=!0,this},dot:function(e){return r["a"].dot(this.array,e.array)},fromMat3:function(e){return r["a"].fromMat3(this.array,e.array),this._dirty=!0,this},fromMat4:function(){var e=i["a"].create();return function(t){return i["a"].fromMat4(e,t.array),i["a"].transpose(e,e),r["a"].fromMat3(this.array,e),this._dirty=!0,this}}(),identity:function(){return r["a"].identity(this.array),this._dirty=!0,this},invert:function(){return r["a"].invert(this.array,this.array),this._dirty=!0,this},len:function(){return r["a"].len(this.array)},length:function(){return r["a"].length(this.array)},lerp:function(e,t,n){return r["a"].lerp(this.array,e.array,t.array,n),this._dirty=!0,this},mul:function(e){return r["a"].mul(this.array,this.array,e.array),this._dirty=!0,this},mulLeft:function(e){return r["a"].multiply(this.array,e.array,this.array),this._dirty=!0,this},multiply:function(e){return r["a"].multiply(this.array,this.array,e.array),this._dirty=!0,this},multiplyLeft:function(e){return r["a"].multiply(this.array,e.array,this.array),this._dirty=!0,this},normalize:function(){return r["a"].normalize(this.array,this.array),this._dirty=!0,this},rotateX:function(e){return r["a"].rotateX(this.array,this.array,e),this._dirty=!0,this},rotateY:function(e){return r["a"].rotateY(this.array,this.array,e),this._dirty=!0,this},rotateZ:function(e){return r["a"].rotateZ(this.array,this.array,e),this._dirty=!0,this},rotationTo:function(e,t){return r["a"].rotationTo(this.array,e.array,t.array),this._dirty=!0,this},setAxes:function(e,t,n){return r["a"].setAxes(this.array,e.array,t.array,n.array),this._dirty=!0,this},setAxisAngle:function(e,t){return r["a"].setAxisAngle(this.array,e.array,t),this._dirty=!0,this},slerp:function(e,t,n){return r["a"].slerp(this.array,e.array,t.array,n),this._dirty=!0,this},sqrLen:function(){return r["a"].sqrLen(this.array)},squaredLength:function(){return r["a"].squaredLength(this.array)},fromEuler:function(e,t){return a.fromEuler(this,e,t)},toString:function(){return"["+Array.prototype.join.call(this.array,",")+"]"},toArray:function(){return Array.prototype.slice.call(this.array)}};var o=Object.defineProperty;if(o){var s=a.prototype;o(s,"x",{get:function(){return this.array[0]},set:function(e){this.array[0]=e,this._dirty=!0}}),o(s,"y",{get:function(){return this.array[1]},set:function(e){this.array[1]=e,this._dirty=!0}}),o(s,"z",{get:function(){return this.array[2]},set:function(e){this.array[2]=e,this._dirty=!0}}),o(s,"w",{get:function(){return this.array[3]},set:function(e){this.array[3]=e,this._dirty=!0}})}a.add=function(e,t,n){return r["a"].add(e.array,t.array,n.array),e._dirty=!0,e},a.set=function(e,t,n,i,a){r["a"].set(e.array,t,n,i,a),e._dirty=!0},a.copy=function(e,t){return r["a"].copy(e.array,t.array),e._dirty=!0,e},a.calculateW=function(e,t){return r["a"].calculateW(e.array,t.array),e._dirty=!0,e},a.conjugate=function(e,t){return r["a"].conjugate(e.array,t.array),e._dirty=!0,e},a.identity=function(e){return r["a"].identity(e.array),e._dirty=!0,e},a.invert=function(e,t){return r["a"].invert(e.array,t.array),e._dirty=!0,e},a.dot=function(e,t){return r["a"].dot(e.array,t.array)},a.len=function(e){return r["a"].length(e.array)},a.lerp=function(e,t,n,i){return r["a"].lerp(e.array,t.array,n.array,i),e._dirty=!0,e},a.slerp=function(e,t,n,i){return r["a"].slerp(e.array,t.array,n.array,i),e._dirty=!0,e},a.mul=function(e,t,n){return r["a"].multiply(e.array,t.array,n.array),e._dirty=!0,e},a.multiply=a.mul,a.rotateX=function(e,t,n){return r["a"].rotateX(e.array,t.array,n),e._dirty=!0,e},a.rotateY=function(e,t,n){return r["a"].rotateY(e.array,t.array,n),e._dirty=!0,e},a.rotateZ=function(e,t,n){return r["a"].rotateZ(e.array,t.array,n),e._dirty=!0,e},a.setAxisAngle=function(e,t,n){return r["a"].setAxisAngle(e.array,t.array,n),e._dirty=!0,e},a.normalize=function(e,t){return r["a"].normalize(e.array,t.array),e._dirty=!0,e},a.sqrLen=function(e){return r["a"].sqrLen(e.array)},a.squaredLength=a.sqrLen,a.fromMat3=function(e,t){return r["a"].fromMat3(e.array,t.array),e._dirty=!0,e},a.setAxes=function(e,t,n,i){return r["a"].setAxes(e.array,t.array,n.array,i.array),e._dirty=!0,e},a.rotationTo=function(e,t,n){return r["a"].rotationTo(e.array,t.array,n.array),e._dirty=!0,e},a.fromEuler=function(e,t,n){e._dirty=!0,t=t.array;var r=e.array,i=Math.cos(t[0]/2),a=Math.cos(t[1]/2),o=Math.cos(t[2]/2),s=Math.sin(t[0]/2),l=Math.sin(t[1]/2),c=Math.sin(t[2]/2);n=(n||"XYZ").toUpperCase();switch(n){case"XYZ":r[0]=s*a*o+i*l*c,r[1]=i*l*o-s*a*c,r[2]=i*a*c+s*l*o,r[3]=i*a*o-s*l*c;break;case"YXZ":r[0]=s*a*o+i*l*c,r[1]=i*l*o-s*a*c,r[2]=i*a*c-s*l*o,r[3]=i*a*o+s*l*c;break;case"ZXY":r[0]=s*a*o-i*l*c,r[1]=i*l*o+s*a*c,r[2]=i*a*c+s*l*o,r[3]=i*a*o-s*l*c;break;case"ZYX":r[0]=s*a*o-i*l*c,r[1]=i*l*o+s*a*c,r[2]=i*a*c-s*l*o,r[3]=i*a*o+s*l*c;break;case"YZX":r[0]=s*a*o+i*l*c,r[1]=i*l*o+s*a*c,r[2]=i*a*c-s*l*o,r[3]=i*a*o-s*l*c;break;case"XZY":r[0]=s*a*o-i*l*c,r[1]=i*l*o-s*a*c,r[2]=i*a*c+s*l*o,r[3]=i*a*o+s*l*c;break}},t["a"]=a},function(e,t,n){"use strict";var r="__dt__",i=function(){this._contextId=0,this._caches=[],this._context={}};i.prototype={use:function(e,t){var n=this._caches;n[e]||(n[e]={},t&&(n[e]=t())),this._contextId=e,this._context=n[e]},put:function(e,t){this._context[e]=t},get:function(e){return this._context[e]},dirty:function(e){e=e||"";var t=r+e;this.put(t,!0)},dirtyAll:function(e){e=e||"";for(var t=r+e,n=this._caches,i=0;i20)return console.warn("Given image is not a height map"),e}var p,f,_,m;l%(4*r)===0?(p=o.data[l],_=o.data[l+4]):l%(4*r)===4*(r-1)?(p=o.data[l-4],_=o.data[l]):(p=o.data[l-4],_=o.data[l+4]),l<4*r?(f=o.data[l],m=o.data[l+4*r]):l>r*(i-1)*4?(f=o.data[l-4*r],m=o.data[l]):(f=o.data[l-4*r],m=o.data[l+4*r]),s.data[l]=p-_+127,s.data[l+1]=f-m+127,s.data[l+2]=255,s.data[l+3]=255}return a.putImageData(s,0,0),n},isHeightImage:function(e,t,n){if(!e||!e.width||!e.height)return!1;var r=document.createElement("canvas"),i=r.getContext("2d"),a=t||32;n=n||20,r.width=r.height=a,i.drawImage(e,0,0,a,a);for(var o=i.getImageData(0,0,a,a),s=0;sn)return!1}return!0},_fetchTexture:function(e,t,n){a["a"].request.get({url:e,responseType:"arraybuffer",onload:t,onerror:n})},createChessboard:function(e,t,n,i){e=e||512,t=t||64,n=n||"black",i=i||"white";var a=Math.ceil(e/t),o=document.createElement("canvas");o.width=e,o.height=e;var s=o.getContext("2d");s.fillStyle=i,s.fillRect(0,0,e,e),s.fillStyle=n;for(var l=0;l65535?new Uint32Array(3*s):new Uint16Array(3*s),p.material.shader!==t&&p.material.attachShader(t,!0),a["a"].setMaterialFromModel(t.__shading,p.material,e,n),l>0&&(this._linesMesh.geometry.resetOffset(),this._linesMesh.geometry.setVertexCount(l),this._linesMesh.geometry.setTriangleCount(c)),this._dataIndexOfVertex=new Uint32Array(o),this._vertexRangeOfDataIndex=new Uint32Array(2*(i-r))},_updateRegionMesh:function(e,t,n,r){for(var i=e.getData(),o=0,s=0,c=!1,u=this._polygonMesh,d=this._linesMesh,h=n;h0;T&&(x*=t.getDevicePixelRatio(),this._updateLinesGeometry(d.geometry,e,h,b,x,e.coordinateSystem.transform)),d.invisible=!T,d.material.set({color:v})}u=this._polygonMesh;u.material.transparent=c,u.material.depthMask=!c,u.geometry.updateBoundingBox(),u.frontFace=this.extrudeY?a["a"].Mesh.CCW:a["a"].Mesh.CW,u.material.get("normalMap")&&u.geometry.generateTangents(),u.seriesIndex=e.seriesIndex,u.on("mousemove",this._onmousemove,this),u.on("mouseout",this._onmouseout,this)},_updateDebugWireframe:function(e){var t=e.getModel("debug.wireframe");if(t.get("show")){var n=a["a"].parseColor(t.get("lineStyle.color")||"rgba(0,0,0,0.5)"),r=l["a"].firstNotNull(t.get("lineStyle.width"),1),i=this._polygonMesh;i.geometry.generateBarycentric(),i.material.define("both","WIREFRAME_TRIANGLE"),i.material.set("wireframeLineColor",n),i.material.set("wireframeLineWidth",r)}},_onmousemove:function(e){var t=this._dataIndexOfVertex[e.triangle[0]];null==t&&(t=-1),t!==this._lastHoverDataIndex&&(this.downplay(this._lastHoverDataIndex),this.highlight(t),this._labelsBuilder.updateLabels([t])),this._lastHoverDataIndex=t,this._polygonMesh.dataIndex=t},_onmouseout:function(e){e.target&&(this.downplay(this._lastHoverDataIndex),this._lastHoverDataIndex=-1,this._polygonMesh.dataIndex=-1),this._labelsBuilder.updateLabels([])},_updateGroundPlane:function(e,t,n){var r=e.getModel("groundPlane",e);if(this._groundMesh.invisible=!r.get("show",!0),!this._groundMesh.invisible){var i=e.get("shading"),o=this._groundMaterials[i];o||(console.warn("Unkown shading "+i),o=this._groundMaterials.lambert),a["a"].setMaterialFromModel(i,o,r,n),o.get("normalMap")&&this._groundMesh.geometry.generateTangents(),this._groundMesh.material=o,this._groundMesh.material.set("color",a["a"].parseColor(r.get("color"))),this._groundMesh.scale.set(t.size[0],t.size[2],1)}},_triangulation:function(e,t,n){this._triangulationResults=[];for(var r=[1/0,1/0,1/0],i=[-1/0,-1/0,-1/0],a=e.coordinateSystem,s=t;s1?r:0,M[V][g]=O.points[Y+2],l.set(i+V,M[V]),s?(k[0]=(O.points[Y]*v[0]-y[0])/S,k[1]=(O.points[Y+2]*v[g]-y[g])/S):(k[0]=(H?F:F+z)/S,k[1]=(M[V][m]*v[m]-y[m])/S),u.set(i+V,k)}p.sub(D,M[1],M[0]),p.sub(L,M[3],M[0]),p.cross(P,D,L),p.normalize(P,P);for(V=0;V<4;V++)c.set(i+V,P),f&&d.set(i+V,o);for(V=0;V<6;V++)_[3*a+V]=N[V]+i;i+=4,a+=2,F+=z}}return t.dirty(),{vertexOffset:i,triangleOffset:a}},_getRegionLinesInfo:function(e,t,n){var r=0,i=0,a=t.getRegionModel(e),o=a.getModel("itemStyle"),s=o.get("borderWidth");if(s>0){var l=t.getRegionPolygonCoords(e);l.forEach((function(e){var t=e.exterior,a=e.interiors;r+=n.getPolylineVertexCount(t),i+=n.getPolylineTriangleCount(t);for(var o=0;othis._endIndex)){t-=this._startIndex;for(var r=this._vertexRangeOfDataIndex[2*t];r=2e4},doSortTriangles:function(e,t){var n=this.indices;if(0===t){var r=this.attributes.position;e=e.array;this._triangleZList&&this._triangleZList.length===this.triangleCount||(this._triangleZList=new Float32Array(this.triangleCount),this._sortedTriangleIndices=new Uint32Array(this.triangleCount),this._indicesTmp=new n.constructor(n.length),this._triangleZListTmp=new Float32Array(this.triangleCount));for(var i,c=0,u=0;u0,n={},r=0;r2?(g=this._updateSymbolSprite(e,_,p,f),c.enableTexture("sprite")):c.disableTexture("sprite"),d.position.init(i-r);var v=[];if(m){c.undefine("VERTEX_SIZE"),c.undefine("VERTEX_COLOR");var y=l.getVisual("color"),b=l.getVisual("opacity");a["a"].parseColor(y,v),v[3]*=b,c.set({color:v,u_Size:p.maxSize*this._sizeScale})}else c.set({color:[1,1,1,1]}),c.define("VERTEX_SIZE"),c.define("VERTEX_COLOR"),d.size.init(i-r),d.color.init(i-r),this._originalOpacity=new Float32Array(i-r);for(var S=l.getLayout("points"),E=d.position.value,x=0;x1?(i[0]=n.maxSize,i[1]=n.maxSize/n.aspect):(i[1]=n.maxSize,i[0]=n.maxSize*n.aspect),i[0]=i[0]||1,i[1]=i[1]||1,this._symbolType===n.type&&p(this._symbolSize,i)&&this._lineWidth===t.lineWidth||(o["a"].createSymbolSprite(n.type,i,{fill:"#fff",lineWidth:t.lineWidth,stroke:"transparent",shadowColor:"transparent",minMargin:Math.min(i[0]/2,10)},this._spriteImageCanvas),o["a"].createSDFFromCanvas(this._spriteImageCanvas,Math.min(this._spriteImageCanvas.width,32),d,this._mesh.material.get("sprite").image),this._symbolType=n.type,this._symbolSize=i,this._lineWidth=t.lineWidth),this._spriteImageCanvas.width/n.maxSize*r},_updateMaterial:function(e,t){var n="lighter"===e.get("blendMode")?a["a"].additiveBlend:null,r=this._mesh.material;r.blend=n,r.set("lineWidth",t.lineWidth/d);var i=a["a"].parseColor(t.stroke);r.set("strokeColor",i),r.transparent=!0,r.depthMask=!1,r.depthTest=!this.is2D,r.sortVertices=!this.is2D},_updateLabelBuilder:function(e,t,n){var r=e.getData(),i=this._mesh.geometry,a=i.attributes.position.value,o=(t=this._startDataIndex,this._mesh.sizeScale);this._labelsBuilder.updateData(r,t,n),this._labelsBuilder.getLabelPosition=function(e,n,r){var i=3*(e-t);return[a[i],a[i+1],a[i+2]]},this._labelsBuilder.getLabelDistance=function(e,n,r){var a=i.attributes.size.get(e-t)/o;return a/2+r},this._labelsBuilder.updateLabels()},_updateAnimation:function(e){a["a"].updateVertexAnimation([["prevPosition","position"],["prevSize","size"]],this._prevMesh,this._mesh,e)},_updateHandler:function(e,t,n){var r,i=e.getData(),a=this._mesh,o=this,s=-1,l=e.coordinateSystem&&"cartesian3D"===e.coordinateSystem.type;l&&(r=e.coordinateSystem.model),a.seriesIndex=e.seriesIndex,a.off("mousemove"),a.off("mouseout"),a.on("mousemove",(function(t){var c=t.vertexIndex+o._startDataIndex;c!==s&&(this.highlightOnMouseover&&(this.downplay(i,s),this.highlight(i,c),this._labelsBuilder.updateLabels([c])),l&&n.dispatchAction({type:"grid3DShowAxisPointer",value:[i.get(e.coordDimToDataDim("x")[0],c),i.get(e.coordDimToDataDim("y")[0],c),i.get(e.coordDimToDataDim("z")[0],c)],grid3DIndex:r.componentIndex})),a.dataIndex=c,s=c}),this),a.on("mouseout",(function(e){var t=e.vertexIndex+o._startDataIndex;this.highlightOnMouseover&&(this.downplay(i,t),this._labelsBuilder.updateLabels()),s=-1,a.dataIndex=-1,l&&n.dispatchAction({type:"grid3DHideAxisPointer",grid3DIndex:r.componentIndex})}),this)},updateLayout:function(e,t,n){var r=e.getData();if(this._mesh){var i=this._mesh.geometry.attributes.position.value,a=r.getLayout("points");if(this.is2D)for(var o=0;othis._endDataIndex||tthis._endDataIndex||t.05&&(o=!0),p!==s&&(l=!0),s=p,i=h}return o&&console.warn("Different symbol width / height ratio will be ignored."),l&&console.warn("Different symbol type will be ignored."),{maxSize:c,type:s,aspect:i}}},t["a"]=f},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(r){"object"===typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";var r=n(113),i=function(e){this._list=new r["a"],this._map={},this._maxSize=e||10};i.prototype.setMaxSize=function(e){this._maxSize=e},i.prototype.put=function(e,t){if(!this._map.hasOwnProperty(e)){var n=this._list.length();if(n>=this._maxSize&&n>0){var r=this._list.head;this._list.remove(r),delete this._map[r.key]}var i=this._list.insert(t);i.key=e,this._map[e]=i}},i.prototype.get=function(e){var t=this._map[e];if(this._map.hasOwnProperty(e))return t!==this._list.tail&&(this._list.remove(t),this._list.insertEntry(t)),t.value},i.prototype.remove=function(e){var t=this._map[e];"undefined"!==typeof t&&(delete this._map[e],this._list.remove(t))},i.prototype.clear=function(){this._list.clear(),this._map={}},t["a"]=i},function(e,t,n){"use strict";var r=n(20),i={create:function(){var e=new r["a"](2);return e[0]=0,e[1]=0,e},clone:function(e){var t=new r["a"](2);return t[0]=e[0],t[1]=e[1],t},fromValues:function(e,t){var n=new r["a"](2);return n[0]=e,n[1]=t,n},copy:function(e,t){return e[0]=t[0],e[1]=t[1],e},set:function(e,t,n){return e[0]=t,e[1]=n,e},add:function(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e},subtract:function(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e}};i.sub=i.subtract,i.multiply=function(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e},i.mul=i.multiply,i.divide=function(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e},i.div=i.divide,i.min=function(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e},i.max=function(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e},i.scale=function(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e},i.scaleAndAdd=function(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e},i.distance=function(e,t){var n=t[0]-e[0],r=t[1]-e[1];return Math.sqrt(n*n+r*r)},i.dist=i.distance,i.squaredDistance=function(e,t){var n=t[0]-e[0],r=t[1]-e[1];return n*n+r*r},i.sqrDist=i.squaredDistance,i.length=function(e){var t=e[0],n=e[1];return Math.sqrt(t*t+n*n)},i.len=i.length,i.squaredLength=function(e){var t=e[0],n=e[1];return t*t+n*n},i.sqrLen=i.squaredLength,i.negate=function(e,t){return e[0]=-t[0],e[1]=-t[1],e},i.inverse=function(e,t){return e[0]=1/t[0],e[1]=1/t[1],e},i.normalize=function(e,t){var n=t[0],r=t[1],i=n*n+r*r;return i>0&&(i=1/Math.sqrt(i),e[0]=t[0]*i,e[1]=t[1]*i),e},i.dot=function(e,t){return e[0]*t[0]+e[1]*t[1]},i.cross=function(e,t,n){var r=t[0]*n[1]-t[1]*n[0];return e[0]=e[1]=0,e[2]=r,e},i.lerp=function(e,t,n,r){var i=t[0],a=t[1];return e[0]=i+r*(n[0]-i),e[1]=a+r*(n[1]-a),e},i.random=function(e,t){t=t||1;var n=2*GLMAT_RANDOM()*Math.PI;return e[0]=Math.cos(n)*t,e[1]=Math.sin(n)*t,e},i.transformMat2=function(e,t,n){var r=t[0],i=t[1];return e[0]=n[0]*r+n[2]*i,e[1]=n[1]*r+n[3]*i,e},i.transformMat2d=function(e,t,n){var r=t[0],i=t[1];return e[0]=n[0]*r+n[2]*i+n[4],e[1]=n[1]*r+n[3]*i+n[5],e},i.transformMat3=function(e,t,n){var r=t[0],i=t[1];return e[0]=n[0]*r+n[3]*i+n[6],e[1]=n[1]*r+n[4]*i+n[7],e},i.transformMat4=function(e,t,n){var r=t[0],i=t[1];return e[0]=n[0]*r+n[4]*i+n[12],e[1]=n[1]*r+n[5]*i+n[13],e},i.forEach=function(){var e=i.create();return function(t,n,r,i,a,o){var s,l;for(n||(n=2),r||(r=0),l=i?Math.min(i*n+r,t.length):t.length,s=r;s0},beforeRender:function(e){},afterRender:function(e,t){},getBoundingBox:function(e,t){return t=r["a"].prototype.getBoundingBox.call(this,e,t),this.geometry&&this.geometry.boundingBox&&t.union(this.geometry.boundingBox),t},clone:function(){var e=["castShadow","receiveShadow","mode","culling","cullFace","frontFace","frustumCulling","renderOrder","lineWidth","ignorePicking","ignorePreZ","ignoreGBuffer"];return function(){var t=r["a"].prototype.clone.call(this);t.geometry=this.geometry,t.material=this.material;for(var n=0;n>1,e|=e>>2,e|=e>>4,e|=e>>8,e|=e>>16,e++,e},nearestPowerOfTwo:function(e){return Math.pow(2,Math.round(Math.log(e)/Math.LN2))}};t["a"]=r},function(e,t,n){"use strict";var r=n(3),i=n(21),a=n(12),o=n(33),s=function(e,t){this.normal=e||new r["a"](0,1,0),this.distance=t||0};s.prototype={constructor:s,distanceToPoint:function(e){return a["a"].dot(e.array,this.normal.array)-this.distance},projectPoint:function(e,t){t||(t=new r["a"]);var n=this.distanceToPoint(e);return a["a"].scaleAndAdd(t.array,e.array,this.normal.array,-n),t._dirty=!0,t},normalize:function(){var e=1/a["a"].len(this.normal.array);a["a"].scale(this.normal.array,e),this.distance*=e},intersectFrustum:function(e){for(var t=e.vertices,n=this.normal.array,r=a["a"].dot(t[0].array,n)>this.distance,i=1;i<8;i++)if(a["a"].dot(t[i].array,n)>this.distance!=r)return!0},intersectLine:function(){var e=a["a"].create();return function(t,n,i){var o=this.distanceToPoint(t),s=this.distanceToPoint(n);if(o>0&&s>0||o<0&&s<0)return null;var l=this.normal.array,c=this.distance,u=t.array;a["a"].sub(e,n.array,t.array),a["a"].normalize(e,e);var d=a["a"].dot(l,e);if(0===d)return null;i||(i=new r["a"]);var h=(a["a"].dot(l,u)-c)/d;return a["a"].scaleAndAdd(i.array,u,e,-h),i._dirty=!0,i}}(),applyTransform:function(){var e=i["a"].create(),t=o["a"].create(),n=o["a"].create();return n[3]=1,function(r){r=r.array,a["a"].scale(n,this.normal.array,this.distance),o["a"].transformMat4(n,n,r),this.distance=a["a"].dot(n,this.normal.array),i["a"].invert(e,r),i["a"].transpose(e,e),t[3]=0,a["a"].copy(t,this.normal.array),o["a"].transformMat4(t,t,e),a["a"].copy(this.normal.array,t)}}(),copy:function(e){a["a"].copy(this.normal.array,e.normal.array),this.normal._dirty=!0,this.distance=e.distance},clone:function(){var e=new s;return e.copy(this),e}},t["a"]=s},function(e,t){var n=function(){this.head=null,this.tail=null,this._len=0},r=n.prototype;r.insert=function(e){var t=new i(e);return this.insertEntry(t),t},r.insertEntry=function(e){this.head?(this.tail.next=e,e.prev=this.tail,e.next=null,this.tail=e):this.head=this.tail=e,this._len++},r.remove=function(e){var t=e.prev,n=e.next;t?t.next=n:this.head=n,n?n.prev=t:this.tail=t,e.next=e.prev=null,this._len--},r.len=function(){return this._len},r.clear=function(){this.head=this.tail=null,this._len=0};var i=function(e){this.value=e,this.next,this.prev},a=function(e){this._list=new n,this._map={},this._maxSize=e||10,this._lastRemovedEntry=null},o=a.prototype;o.put=function(e,t){var n=this._list,r=this._map,a=null;if(null==r[e]){var o=n.len(),s=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var l=n.head;n.remove(l),delete r[l.key],a=l.value,this._lastRemovedEntry=l}s?s.value=t:s=new i(t),s.key=e,n.insertEntry(s),r[e]=s}return a},o.get=function(e){var t=this._map[e],n=this._list;if(null!=t)return t!==n.tail&&(n.remove(t),n.insertEntry(t)),t.value},o.clear=function(){this._list.clear(),this._map={}};var s=a;e.exports=s},function(e,t,n){"use strict";var r=n(42);t["a"]=r["a"]},function(e,t,n){"use strict";var r=n(14),i=n(43),a=n(7),o=n(3),s=n(18),l=n(13),c=new a["a"],u=r["a"].extend({dynamic:!1,widthSegments:1,heightSegments:1,depthSegments:1,inside:!1},(function(){this.build()}),{build:function(){var e={px:d("px",this.depthSegments,this.heightSegments),nx:d("nx",this.depthSegments,this.heightSegments),py:d("py",this.widthSegments,this.depthSegments),ny:d("ny",this.widthSegments,this.depthSegments),pz:d("pz",this.widthSegments,this.heightSegments),nz:d("nz",this.widthSegments,this.heightSegments)},t=["position","texcoord0","normal"],n=0,r=0;for(var i in e)n+=e[i].vertexCount,r+=e[i].indices.length;for(var a=0;a>>16)>>>0;d=((1431655765&d)<<1|(2863311530&d)>>>1)>>>0,d=((858993459&d)<<2|(3435973836&d)>>>2)>>>0,d=((252645135&d)<<4|(4042322160&d)>>>4)>>>0,d=(((16711935&d)<<8|(4278255360&d)>>>8)>>>0)/4294967296;var h=Math.sqrt((1-d)/(1+(c*c-1)*d));o[u]=h}for(u=0;uo&&(i=this._x=0,a+=this._rowHeight+l,this._y=a,this._rowHeight=0),this._x+=t+l,this._rowHeight=Math.max(this._rowHeight,n),a+n+l>s)return null;e.position[0]+=this.offsetX*this.dpr+i,e.position[1]+=this.offsetY*this.dpr+a,this._zr.add(e);var c=[this.offsetX/this.width,this.offsetY/this.height],u=[[i/o+c[0],a/s+c[1]],[(i+t)/o+c[0],(a+n)/s+c[1]]];return u},_fitElement:function(e,t,n){var r=e.getBoundingRect(),i=t/r.width,a=n/r.height;e.position=[-r.x*i,-r.y*a],e.scale=[i,a],e.update()}},s.prototype={clear:function(){for(var e=0;e=e)){var a=(r+this._nodeWidth)*this._dpr,s=(i+this._nodeHeight)*this._dpr;try{this._zr.resize({width:a,height:s})}catch(c){this._canvas.width=a,this._canvas.height=s}var l=new o(this._zr,r,i,this._nodeWidth,this._nodeHeight,this._gap,this._dpr);return this._textureAtlasNodes.push(l),l}console.error("Too much labels. Some will be ignored.")},add:function(e,t,n){if(this._coords[e.id])return console.warn("Element already been add"),this._coords[e.id];var r=this._getCurrentNode().add(e,t,n);if(!r){var i=this._expand();if(!i)return;r=i.add(e,t,n)}return this._coords[e.id]=r,r},getCoordsScale:function(){var e=this._dpr;return[this._nodeWidth/this._canvas.width*e,this._nodeHeight/this._canvas.height*e]},getCoords:function(e){return this._coords[e]}},t["a"]=s},function(e,t,n){var r=n(170),i=n(171),a=r.applyTransform,o=Math.min,s=Math.max;function l(e,t,n,r){n<0&&(e+=n,n=-n),r<0&&(t+=r,r=-r),this.x=e,this.y=t,this.width=n,this.height=r}l.prototype={constructor:l,union:function(e){var t=o(e.x,this.x),n=o(e.y,this.y);this.width=s(e.x+e.width,this.x+this.width)-t,this.height=s(e.y+e.height,this.y+this.height)-n,this.x=t,this.y=n},applyTransform:function(){var e=[],t=[],n=[],r=[];return function(i){if(i){e[0]=n[0]=this.x,e[1]=r[1]=this.y,t[0]=r[0]=this.x+this.width,t[1]=n[1]=this.y+this.height,a(e,e,i),a(t,t,i),a(n,n,i),a(r,r,i),this.x=o(e[0],t[0],n[0],r[0]),this.y=o(e[1],t[1],n[1],r[1]);var l=s(e[0],t[0],n[0],r[0]),c=s(e[1],t[1],n[1],r[1]);this.width=l-this.x,this.height=c-this.y}}}(),calculateTransform:function(e){var t=this,n=e.width/t.width,r=e.height/t.height,a=i.create();return i.translate(a,a,[-t.x,-t.y]),i.scale(a,a,[n,r]),i.translate(a,a,[e.x,e.y]),a},intersect:function(e){if(!e)return!1;e instanceof l||(e=l.create(e));var t=this,n=t.x,r=t.x+t.width,i=t.y,a=t.y+t.height,o=e.x,s=e.x+e.width,c=e.y,u=e.y+e.height;return!(r=n.x&&e<=n.x+n.width&&t>=n.y&&t<=n.y+n.height},clone:function(){return new l(this.x,this.y,this.width,this.height)},copy:function(e){this.x=e.x,this.y=e.y,this.width=e.width,this.height=e.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},l.create=function(e){return new l(e.x,e.y,e.width,e.height)};var c=l;e.exports=c},function(e,t,n){var r=n(16),i=1e-4;function a(e){return e.replace(/^\s+|\s+$/g,"")}function o(e,t,n,r){var i=t[1]-t[0],a=n[1]-n[0];if(0===i)return 0===a?n[0]:(n[0]+n[1])/2;if(r)if(i>0){if(e<=t[0])return n[0];if(e>=t[1])return n[1]}else{if(e>=t[0])return n[0];if(e<=t[1])return n[1]}else{if(e===t[0])return n[0];if(e===t[1])return n[1]}return(e-t[0])/i*a+n[0]}function s(e,t){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%";break}return"string"===typeof e?a(e).match(/%$/)?parseFloat(e)/100*t:parseFloat(e):null==e?NaN:+e}function l(e,t,n){return null==t&&(t=10),t=Math.min(Math.max(0,t),20),e=(+e).toFixed(t),n?e:+e}function c(e){return e.sort((function(e,t){return e-t})),e}function u(e){if(e=+e,isNaN(e))return 0;var t=1,n=0;while(Math.round(e*t)/t!==e)t*=10,n++;return n}function d(e){var t=e.toString(),n=t.indexOf("e");if(n>0){var r=+t.slice(n+1);return r<0?-r:0}var i=t.indexOf(".");return i<0?0:t.length-1-i}function h(e,t){var n=Math.log,r=Math.LN10,i=Math.floor(n(e[1]-e[0])/r),a=Math.round(n(Math.abs(t[1]-t[0]))/r),o=Math.min(Math.max(-i+a,0),20);return isFinite(o)?o:20}function p(e,t,n){if(!e[t])return 0;var i=r.reduce(e,(function(e,t){return e+(isNaN(t)?0:t)}),0);if(0===i)return 0;var a=Math.pow(10,n),o=r.map(e,(function(e){return(isNaN(e)?0:e)/i*a*100})),s=100*a,l=r.map(o,(function(e){return Math.floor(e)})),c=r.reduce(l,(function(e,t){return e+t}),0),u=r.map(o,(function(e,t){return e-l[t]}));while(cd&&(d=u[p],h=p);++l[h],u[h]=0,++c}return l[t]/a}var f=9007199254740991;function _(e){var t=2*Math.PI;return(e%t+t)%t}function m(e){return e>-i&&e=-20?+e.toFixed(r<0?-r:0):e}function E(e,t){var n=(e.length-1)*t+1,r=Math.floor(n),i=+e[r-1],a=n-r;return a?i+a*(e[r]-i):i}function x(e){e.sort((function(e,t){return s(e,t,0)?-1:1}));for(var t=-1/0,n=1,r=0;r=0}t.linearMap=o,t.parsePercent=s,t.round=l,t.asc=c,t.getPrecision=u,t.getPrecisionSafe=d,t.getPixelPrecision=h,t.getPercentWithPrecision=p,t.MAX_SAFE_INTEGER=f,t.remRadian=_,t.isRadianAroundZero=m,t.parseDate=v,t.quantity=y,t.nice=S,t.quantile=E,t.reformIntervals=x,t.isNumeric=T},function(e,t,n){"use strict";var r=n(5),i=n(11),a=n(23),o=function(){this._pool={},this._allocatedTextures=[]};o.prototype={constructor:o,get:function(e){var t=c(e);this._pool.hasOwnProperty(t)||(this._pool[t]=[]);var n=this._pool[t];if(!n.length){var i=new r["a"](e);return this._allocatedTextures.push(i),i}return n.pop()},put:function(e){var t=c(e);this._pool.hasOwnProperty(t)||(this._pool[t]=[]);var n=this._pool[t];n.push(e)},clear:function(e){for(var t=0;tu&&c.push({pivot:Math.floor((d+u)/2),left:u,right:d});u=s[l].pivot+1,d=s[l].right;d>u&&c.push({pivot:Math.floor((d+u)/2),left:u,right:d})}s=this._parts=c}else for(l=0;l50&&(u=1e3);var d=[];i.perspective(d,o,this.width/this.height,1,u),this.viewGL.camera.projectionMatrix.setArray(d),this.viewGL.camera.decomposeProjectionMatrix();d=i.identity([]);var h=this.dataToPoint(this.center);i.scale(d,d,[1,-1,1]),i.translate(d,d,[0,0,-e]),i.rotateX(d,d,t),i.rotateZ(d,d,-this.bearing/180*Math.PI),i.translate(d,d,[-h[0]*this.getScale()*l,-h[1]*this.getScale()*l,0]),this.viewGL.camera.viewMatrix.array=d;var p=[];i.invert(p,d),this.viewGL.camera.worldTransform.array=p,this.viewGL.camera.decomposeWorldTransform();var f,_=a*this.getScale();if(this.altitudeExtent&&!isNaN(this.boxHeight)){var m=this.altitudeExtent[1]-this.altitudeExtent[0];f=this.boxHeight/m*this.getScale()/Math.pow(2,this._initialZoom-this.zoomOffset)}else f=_/(2*Math.PI*6378e3*Math.abs(Math.cos(this.center[1]*(Math.PI/180))))*this.altitudeScale*l;this.viewGL.rootNode.scale.set(this.getScale()*l,this.getScale()*l,f)}},getScale:function(){return Math.pow(2,this.zoom-this.zoomOffset)},projectOnTile:function(e,t){return this.projectOnTileWithScale(e,this.getScale()*a,t)},projectOnTileWithScale:function(e,t,n){var r=e[0],i=e[1],a=r*s/180,o=i*s/180,l=t*(a+s)/(2*s),c=t*(s-Math.log(Math.tan(s/4+.5*o)))/(2*s);return n=n||[],n[0]=l,n[1]=c,n},unprojectFromTile:function(e,t){return this.unprojectOnTileWithScale(e,this.getScale()*a,t)},unprojectOnTileWithScale:function(e,t,n){var r=e[0],i=e[1],a=r/t*(2*s)-s,o=2*(Math.atan(Math.exp(s-i/t*(2*s)))-s/4);return n=n||[],n[0]=180*a/s,n[1]=180*o/s,n},dataToPoint:function(e,t){return t=this.projectOnTileWithScale(e,a,t),t[0]-=this._origin[0],t[1]-=this._origin[1],t[2]=isNaN(e[2])?0:e[2],isNaN(e[2])||(t[2]=e[2],this.altitudeExtent&&(t[2]-=this.altitudeExtent[0])),t}},t["a"]=c},function(e,t,n){"use strict";var r=n(2),i=n(1),a=n(22);t["a"]=function(e,t,n){function o(e,t){var n=t.getWidth(),r=t.getHeight(),i=t.getDevicePixelRatio();this.viewGL.setViewport(0,0,n,r,i),this.width=n,this.height=r,this.altitudeScale=e.get("altitudeScale"),this.boxHeight=e.get("boxHeight")}function s(e,t){if("auto"!==this.model.get("boxHeight")){var n=[1/0,-1/0];e.eachSeries((function(e){if(e.coordinateSystem===this){var t=e.getData(),r=e.coordDimToDataDim("alt")[0];if(r){var i=t.getDataExtent(r,!0);n[0]=Math.min(n[0],i[0]),n[1]=Math.max(n[1],i[1])}}}),this),n&&isFinite(n[1]-n[0])&&(this.altitudeExtent=n)}}return{dimensions:t.prototype.dimensions,create:function(l,c){var u=[];return l.eachComponent(e,(function(e){var n=e.__viewGL;n||(n=e.__viewGL=new a["a"],n.setRootNode(new i["a"].Node));var r=new t;r.viewGL=e.__viewGL,r.resize=o,r.resize(e,c),u.push(r),e.coordinateSystem=r,r.model=e,r.update=s})),l.eachSeries((function(t){if(t.get("coordinateSystem")===e){var n=t.getReferringComponents(e)[0];if(n||(n=l.getComponent(e)),!n)throw new Error(e+' "'+r["a"].firstNotNull(t.get(e+"Index"),t.get(e+"Id"),0)+'" not found');t.coordinateSystem=n.coordinateSystem}})),n&&n(u,l,c),u}}}},function(e,t,n){"use strict";t["a"]="\n@export ecgl.displayShadow.vertex\n\n@import ecgl.common.transformUniforms\n\n@import ecgl.common.uv.header\n\n@import ecgl.common.attributes\n\nvarying vec3 v_WorldPosition;\n\nvarying vec3 v_Normal;\n\nvoid main()\n{\n @import ecgl.common.uv.main\n v_Normal = normalize((worldInverseTranspose * vec4(normal, 0.0)).xyz);\n\n v_WorldPosition = (world * vec4(position, 1.0)).xyz;\n gl_Position = worldViewProjection * vec4(position, 1.0);\n}\n\n@end\n\n\n@export ecgl.displayShadow.fragment\n\n@import ecgl.common.uv.fragmentHeader\n\nvarying vec3 v_Normal;\nvarying vec3 v_WorldPosition;\n\nuniform float roughness: 0.2;\n\n#ifdef DIRECTIONAL_LIGHT_COUNT\n@import clay.header.directional_light\n#endif\n\n@import ecgl.common.ssaoMap.header\n\n@import clay.plugin.compute_shadow_map\n\nvoid main()\n{\n float shadow = 1.0;\n\n @import ecgl.common.ssaoMap.main\n\n#if defined(DIRECTIONAL_LIGHT_COUNT) && defined(DIRECTIONAL_LIGHT_SHADOWMAP_COUNT)\n float shadowContribsDir[DIRECTIONAL_LIGHT_COUNT];\n if(shadowEnabled)\n {\n computeShadowOfDirectionalLights(v_WorldPosition, shadowContribsDir);\n }\n for (int i = 0; i < DIRECTIONAL_LIGHT_COUNT; i++) {\n shadow = min(shadow, shadowContribsDir[i] * 0.5 + 0.5);\n }\n#endif\n\n shadow *= 0.5 + ao * 0.5;\n shadow = clamp(shadow, 0.0, 1.0);\n\n gl_FragColor = vec4(vec3(0.0), 1.0 - shadow);\n}\n\n@end"},function(e,t,n){"use strict";var r=n(264),i=n.n(r),a=n(265),o=n.n(a);function s(e){this.viewGL=e}s.prototype.reset=function(e,t){this._updateCamera(t.getWidth(),t.getHeight(),t.getDevicePixelRatio()),this._viewTransform=i.a.create(),this.updateTransform(e,t)},s.prototype.updateTransform=function(e,t){var n=e.coordinateSystem;n.getRoamTransform&&(i.a.invert(this._viewTransform,n.getRoamTransform()),this._setCameraTransform(this._viewTransform),t.getZr().refresh())},s.prototype.dataToPoint=function(e,t,n){n=e.dataToPoint(t,null,n);var r=this._viewTransform;r&&o.a.applyTransform(n,n,r)},s.prototype.removeTransformInPoint=function(e){return this._viewTransform&&o.a.applyTransform(e,e,this._viewTransform),e},s.prototype.getZoom=function(){if(this._viewTransform){var e=this._viewTransform;return 1/Math.max(Math.sqrt(e[0]*e[0]+e[1]*e[1]),Math.sqrt(e[2]*e[2]+e[3]*e[3]))}return 1},s.prototype._setCameraTransform=function(e){var t=this.viewGL.camera;t.position.set(e[4],e[5],0),t.scale.set(Math.sqrt(e[0]*e[0]+e[1]*e[1]),Math.sqrt(e[2]*e[2]+e[3]*e[3]),1)},s.prototype._updateCamera=function(e,t,n){this.viewGL.setViewport(0,0,e,t,n);var r=this.viewGL.camera;r.left=r.top=0,r.bottom=t,r.right=e,r.near=0,r.far=100},t["a"]=s},function(e,t,n){(function(e){var n;"undefined"!==typeof window?n=window.__DEV__:"undefined"!==typeof e&&(n=e.__DEV__),"undefined"===typeof n&&(n=!0);var r=n;t.__DEV__=r}).call(t,n(67))},function(e,t,n){"use strict";var r=n(14),i=n(0),a=n.n(i),o=n(39),s=n(6),l=s["a"].vec2,c=[[0,0],[1,1]],u=r["a"].extend((function(){return{segmentScale:4,dynamic:!0,useNativeLine:!0,attributes:{position:new r["a"].Attribute("position","float",2,"POSITION"),normal:new r["a"].Attribute("normal","float",2),offset:new r["a"].Attribute("offset","float",1),color:new r["a"].Attribute("color","float",4,"COLOR")}}}),{resetOffset:function(){this._vertexOffset=0,this._faceOffset=0,this._itemVertexOffsets=[]},setVertexCount:function(e){var t=this.attributes;this.vertexCount!==e&&(t.position.init(e),t.color.init(e),this.useNativeLine||(t.offset.init(e),t.normal.init(e)),e>65535?this.indices instanceof Uint16Array&&(this.indices=new Uint32Array(this.indices)):this.indices instanceof Uint32Array&&(this.indices=new Uint16Array(this.indices)))},setTriangleCount:function(e){this.triangleCount!==e&&(this.indices=0===e?null:this.vertexCount>65535?new Uint32Array(3*e):new Uint16Array(3*e))},_getCubicCurveApproxStep:function(e,t,n,r){var i=l.dist(e,t)+l.dist(n,t)+l.dist(r,n),a=1/(i+1)*this.segmentScale;return a},getCubicCurveVertexCount:function(e,t,n,r){var i=this._getCubicCurveApproxStep(e,t,n,r),a=Math.ceil(1/i);return this.useNativeLine?2*a:2*a+2},getCubicCurveTriangleCount:function(e,t,n,r){var i=this._getCubicCurveApproxStep(e,t,n,r),a=Math.ceil(1/i);return this.useNativeLine?0:2*a},getLineVertexCount:function(){return this.getPolylineVertexCount(c)},getLineTriangleCount:function(){return this.getPolylineTriangleCount(c)},getPolylineVertexCount:function(e){var t;if("number"===typeof e)t=e;else{var n="number"!==typeof e[0];t=n?e.length:e.length/2}return this.useNativeLine?2*(t-1):2*(t-1)+2},getPolylineTriangleCount:function(e){var t;if("number"===typeof e)t=e;else{var n="number"!==typeof e[0];t=n?e.length:e.length/2}return this.useNativeLine?0:2*(t-1)},addCubicCurve:function(e,t,n,r,i,a){null==a&&(a=1);var o=e[0],s=e[1],l=t[0],c=t[1],u=n[0],d=n[1],h=r[0],p=r[1],f=this._getCubicCurveApproxStep(e,t,n,r),_=f*f,m=_*f,g=3*f,v=3*_,y=6*_,b=6*m,S=o-2*l+u,E=s-2*c+d,x=3*(l-u)-o+h,T=3*(c-d)-s+p,C=o,A=s,w=(l-o)*g+S*v+x*m,O=(c-s)*g+E*v+T*m,R=S*y+x*b,I=E*y+T*b,N=x*b,M=T*b,D=0,L=0,P=Math.ceil(1/f),k=new Float32Array(3*(P+1)),F=(k=[],0);for(L=0;L1&&(C=w>0?Math.min(C,h):Math.max(C,h),A=O>0?Math.min(A,p):Math.max(A,p));this.addPolyline(k,i,a)},addLine:function(e,t,n,r){this.addPolyline([e,t],n,r)},addPolyline:function(){var e=l.create(),t=l.create(),n=l.create(),r=l.create(),i=[],a=[],o=[];return function(s,c,u,d,h){if(s.length){var p="number"!==typeof s[0];if(null==h&&(h=p?s.length:s.length/2),!(h<2)){null==d&&(d=0),null==u&&(u=1),this._itemVertexOffsets.push(this._vertexOffset);for(var f,_=p?"number"!==typeof c[0]:c.length/4===h,m=this.attributes.position,g=this.attributes.color,v=this.attributes.offset,y=this.attributes.normal,b=this.indices,S=this._vertexOffset,E=0;E1&&(m.copy(S,S-1),g.copy(S,S-1),S++);else{var C;if(E0){l.sub(e,i,o),l.sub(t,a,i),l.normalize(e,e),l.normalize(t,t),l.add(r,e,t),l.normalize(r,r);var A=u/2*Math.min(1/l.dot(e,r),2);n[0]=-r[1],n[1]=r[0],C=A}else l.sub(e,a,i),l.normalize(e,e),n[0]=-e[1],n[1]=e[0],C=u/2}else l.sub(e,i,o),l.normalize(e,e),n[0]=-e[1],n[1]=e[0],C=u/2;y.set(S,n),y.set(S+1,n),v.set(S,C),v.set(S+1,-C),l.copy(o,i),m.set(S,i),m.set(S+1,i),g.set(S,f),g.set(S+1,f),S+=2}if(this.useNativeLine)g.set(S,f),m.set(S,i),S++;else if(E>0){var w=3*this._faceOffset;b=this.indices;b[w]=S-4,b[w+1]=S-3,b[w+2]=S-2,b[w+3]=S-3,b[w+4]=S-1,b[w+5]=S-2,this._faceOffset+=2}}this._vertexOffset=S}}}}(),setItemColor:function(e,t){for(var n=this._itemVertexOffsets[e],r=ee&&o=0&&this._viewsToDispose.splice(t,1),this.views.push(e),e.layer=this;var n=this.zr;e.scene.traverse((function(e){e.__zr=n,e.addAnimatorsToZr&&e.addAnimatorsToZr(n)}))}},h.prototype.removeView=function(e){if(e.layer===this){var t=this.views.indexOf(e);t>=0&&(this.views.splice(t,1),e.scene.traverse(p,this),e.layer=null,this._viewsToDispose.push(e))}},h.prototype.removeViewsAll=function(){this.views.forEach((function(e){e.scene.traverse(p,this),e.layer=null,this._viewsToDispose.push(e)}),this),this.views.length=0},h.prototype.resize=function(e,t){var n=this.renderer;n.resize(e,t)},h.prototype.clear=function(){var e=this.renderer.gl,t=this._backgroundColor||[0,0,0,0];e.clearColor(t[0],t[1],t[2],t[3]),e.depthMask(!0),e.colorMask(!0,!0,!0,!0),e.clear(e.DEPTH_BUFFER_BIT|e.COLOR_BUFFER_BIT)},h.prototype.clearDepth=function(){var e=this.renderer.gl;e.clear(e.DEPTH_BUFFER_BIT)},h.prototype.clearColor=function(){var e=this.renderer.gl;e.clearColor(0,0,0,0),e.clear(e.COLOR_BUFFER_BIT)},h.prototype.needsRefresh=function(){this.zr.refresh()},h.prototype.refresh=function(e){this._backgroundColor=e?l["a"].parseColor(e):[0,0,0,0],this.renderer.clearColor=this._backgroundColor;for(var t=0;t20)){e=e.event;var r=this.pickObject(e.offsetX,e.offsetY);r&&(this._dispatchEvent(e.type,e,r),this._dispatchDataEvent(e.type,e,r));var i=this._clickToSetFocusPoint(e);if(i){var a=i.view.setDOFFocusOnPoint(i.distance);a&&this.zr.refresh()}}}},h.prototype._clickToSetFocusPoint=function(e){for(var t=this.renderer,n=t.viewport,r=this.views.length-1;r>=0;r--){var i=this.views[r];if(i.hasDOF()&&i.containPoint(e.offsetX,e.offsetY)){this._picking.scene=i.scene,this._picking.camera=i.camera,t.viewport=i.viewport;var a=this._picking.pick(e.offsetX,e.offsetY,!0);if(a)return a.view=i,a}}t.viewport=n},h.prototype.onglobalout=function(e){var t=this._hovered;t&&this._dispatchEvent("mouseout",e,{target:t.target})},h.prototype.pickObject=function(e,t){for(var n=[],r=this.renderer,i=r.viewport,a=0;a=0&&(l.dataIndex=this._lastDataIndex,l.seriesIndex=this._lastSeriesIndex,this.zr.handler.dispatchToElement(c,"mouseout",t)),s=!0):null!=o&&o!==this._lastEventData&&(null!=this._lastEventData&&(l.eventData=this._lastEventData,this.zr.handler.dispatchToElement(c,"mouseout",t)),s=!0),this._lastEventData=o,this._lastDataIndex=i,this._lastSeriesIndex=a),l.eventData=o,l.dataIndex=i,l.seriesIndex=a,(null!=o||parseInt(i,10)>=0&&parseInt(a,10)>=0)&&(this.zr.handler.dispatchToElement(c,e,t),s&&this.zr.handler.dispatchToElement(c,"mouseover",t))},h.prototype._dispatchToView=function(e,t){for(var n=0;n=400?e.onerror&&e.onerror():e.onload&&e.onload(t.response)},e.onerror&&(t.onerror=e.onerror),t.send(null)}t["a"]={get:r}},function(e,t,n){"use strict";var r=n(68),i={},a={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function o(e){return e=Math.round(e),e<0?0:e>255?255:e}function s(e){return e=Math.round(e),e<0?0:e>360?360:e}function l(e){return e<0?0:e>1?1:e}function c(e){return e.length&&"%"===e.charAt(e.length-1)?o(parseFloat(e)/100*255):o(parseInt(e,10))}function u(e){return e.length&&"%"===e.charAt(e.length-1)?l(parseFloat(e)/100):l(parseFloat(e))}function d(e,t,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?e+(t-e)*n*6:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}function h(e,t,n){return e+(t-e)*n}function p(e,t,n,r,i){return e[0]=t,e[1]=n,e[2]=r,e[3]=i,e}function f(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}var _=new r["a"](20),m=null;function g(e,t){m&&f(m,t),m=_.put(e,m||t.slice())}function v(e,t){var n=(parseFloat(e[0])%360+360)%360/360,r=u(e[1]),i=u(e[2]),a=i<=.5?i*(r+1):i+r-i*r,s=2*i-a;return t=t||[],p(t,o(255*d(s,a,n+1/3)),o(255*d(s,a,n)),o(255*d(s,a,n-1/3)),1),4===e.length&&(t[3]=e[3]),t}function y(e){if(e){var t,n,r=e[0]/255,i=e[1]/255,a=e[2]/255,o=Math.min(r,i,a),s=Math.max(r,i,a),l=s-o,c=(s+o)/2;if(0===l)t=0,n=0;else{n=c<.5?l/(s+o):l/(2-s-o);var u=((s-r)/6+l/2)/l,d=((s-i)/6+l/2)/l,h=((s-a)/6+l/2)/l;r===s?t=h-d:i===s?t=1/3+u-h:a===s&&(t=2/3+d-u),t<0&&(t+=1),t>1&&(t-=1)}var p=[360*t,n,c];return null!=e[3]&&p.push(e[3]),p}}i.parse=function(e,t){if(e){t=t||[];var n=_.get(e);if(n)return f(t,n);e+="";var r=e.replace(/ /g,"").toLowerCase();if(r in a)return f(t,a[r]),g(e,t),t;if("#"!==r.charAt(0)){var i=r.indexOf("("),o=r.indexOf(")");if(-1!==i&&o+1===r.length){var s=r.substr(0,i),l=r.substr(i+1,o-(i+1)).split(","),d=1;switch(s){case"rgba":if(4!==l.length)return void p(t,0,0,0,1);d=u(l.pop());case"rgb":return 3!==l.length?void p(t,0,0,0,1):(p(t,c(l[0]),c(l[1]),c(l[2]),d),g(e,t),t);case"hsla":return 4!==l.length?void p(t,0,0,0,1):(l[3]=u(l[3]),v(l,t),g(e,t),t);case"hsl":return 3!==l.length?void p(t,0,0,0,1):(v(l,t),g(e,t),t);default:return}}p(t,0,0,0,1)}else{if(4===r.length){var h=parseInt(r.substr(1),16);return h>=0&&h<=4095?(p(t,(3840&h)>>4|(3840&h)>>8,240&h|(240&h)>>4,15&h|(15&h)<<4,1),g(e,t),t):void p(t,0,0,0,1)}if(7===r.length){h=parseInt(r.substr(1),16);return h>=0&&h<=16777215?(p(t,(16711680&h)>>16,(65280&h)>>8,255&h,1),g(e,t),t):void p(t,0,0,0,1)}}}},i.parseToFloat=function(e,t){if(t=i.parse(e,t),t)return t[0]/=255,t[1]/=255,t[2]/=255,t},i.lift=function(e,t){var n=i.parse(e);if(n){for(var r=0;r<3;r++)n[r]=t<0?n[r]*(1-t)|0:(255-n[r])*t+n[r]|0;return i.stringify(n,4===n.length?"rgba":"rgb")}},i.toHex=function(e){var t=i.parse(e);if(t)return((1<<24)+(t[0]<<16)+(t[1]<<8)+ +t[2]).toString(16).slice(1)},i.fastLerp=function(e,t,n){if(t&&t.length&&e>=0&&e<=1){n=n||[];var r=e*(t.length-1),i=Math.floor(r),a=Math.ceil(r),s=t[i],c=t[a],u=r-i;return n[0]=o(h(s[0],c[0],u)),n[1]=o(h(s[1],c[1],u)),n[2]=o(h(s[2],c[2],u)),n[3]=l(h(s[3],c[3],u)),n}},i.fastMapToColor=i.fastLerp,i.lerp=function(e,t,n){if(t&&t.length&&e>=0&&e<=1){var r=e*(t.length-1),a=Math.floor(r),s=Math.ceil(r),c=i.parse(t[a]),u=i.parse(t[s]),d=r-a,p=i.stringify([o(h(c[0],u[0],d)),o(h(c[1],u[1],d)),o(h(c[2],u[2],d)),l(h(c[3],u[3],d))],"rgba");return n?{color:p,leftIndex:a,rightIndex:s,value:r}:p}},i.mapToColor=i.lerp,i.modifyHSL=function(e,t,n,r){if(e=i.parse(e),e)return e=y(e),null!=t&&(e[0]=s(t)),null!=n&&(e[1]=u(n)),null!=r&&(e[2]=u(r)),i.stringify(v(e),"rgba")},i.modifyAlpha=function(e,t){if(e=i.parse(e),e&&null!=t)return e[3]=l(t),i.stringify(e,"rgba")},i.stringify=function(e,t){if(e&&e.length){var n=e[0]+","+e[1]+","+e[2];return"rgba"!==t&&"hsva"!==t&&"hsla"!==t||(n+=","+e[3]),t+"("+n+")"}},t["a"]=i},function(e,t,n){"use strict";var r=function(){this.head=null,this.tail=null,this._length=0};r.prototype.insert=function(e){var t=new r.Entry(e);return this.insertEntry(t),t},r.prototype.insertAt=function(e,t){if(!(e<0)){var n=this.head,i=0;while(n&&i!=e)n=n.next,i++;if(n){var a=new r.Entry(t),o=n.prev;o?(o.next=a,a.prev=o):this.head=a,a.next=n,n.prev=a}else this.insert(t)}},r.prototype.insertBeforeEntry=function(e,t){var n=new r.Entry(e),i=t.prev;i?(i.next=n,n.prev=i):this.head=n,n.next=t,t.prev=n,this._length++},r.prototype.insertEntry=function(e){this.head?(this.tail.next=e,e.prev=this.tail,this.tail=e):this.head=this.tail=e,this._length++},r.prototype.remove=function(e){var t=e.prev,n=e.next;t?t.next=n:this.head=n,n?n.prev=t:this.tail=t,e.next=e.prev=null,this._length--},r.prototype.removeAt=function(e){if(!(e<0)){var t=this.head,n=0;while(t&&n!=e)t=t.next,n++;return t?(this.remove(t),t.value):void 0}},r.prototype.getHead=function(){if(this.head)return this.head.value},r.prototype.getTail=function(){if(this.tail)return this.tail.value},r.prototype.getAt=function(e){if(!(e<0)){var t=this.head,n=0;while(t&&n!=e)t=t.next,n++;return t.value}},r.prototype.indexOf=function(e){var t=this.head,n=0;while(t){if(t.value===e)return n;t=t.next,n++}},r.prototype.length=function(){return this._length},r.prototype.isEmpty=function(){return 0===this._length},r.prototype.forEach=function(e,t){var n=this.head,r=0,i="undefined"!=typeof t;while(n)i?e.call(t,n.value,r):e(n.value,r),n=n.next,r++},r.prototype.clear=function(){this.tail=this.head=null,this._length=0},r.Entry=function(e){this.value=e,this.next=null,this.prev=null},t["a"]=r},function(e,t,n){"use strict";var r=n(115),i=/for\s*?\(int\s*?_idx_\s*\=\s*([\w-]+)\;\s*_idx_\s*<\s*([\w-]+);\s*_idx_\s*\+\+\s*\)\s*\{\{([\s\S]+?)(?=\}\})\}\}/g;function a(e,t,n){function r(e,n,r,i){var o="";isNaN(n)&&(n=n in t?t[n]:a[n]),isNaN(r)&&(r=r in t?t[r]:a[r]);for(var s=parseInt(n);s0&&r.push("#define "+i.toUpperCase()+"_COUNT "+a)}if(n)for(var o=0;oi.getMaxJointNumber()&&(v.USE_SKIN_MATRICES_TEXTURE=null),g+="\n"+o(v)+"\n"}d&&(g+="\n#define INSTANCING\n"),i.logDepthBuffer&&(g+="\n#define LOG_DEPTH\n");for(var y=g+o(t.vertexDefines,f,m),b=g+o(t.fragmentDefines,f,m),S=[["OES_standard_derivatives","TEXTURE_LOD"],["EXT_shader_texture_lod","STANDARD_DERIVATIVES"],["EXT_frag_depth","FRAG_DEPTH"]].filter((function(e){return null!=i.getGLExtension(e[0])})),E=0;E=0&&A[T]>1e-4&&(u["a"].transformMat4(R,C,E[w[T]]),u["a"].scaleAndAdd(O,O,R,A[T]));I.set(x,O)}}for(x=0;x=0){t||(t=[]);var n=this.indices;return t[0]=n[3*e],t[1]=n[3*e+1],t[2]=n[3*e+2],t}},setTriangleIndices:function(e,t){var n=this.indices;n[3*e]=t[0],n[3*e+1]=t[1],n[3*e+2]=t[2]},isUseIndices:function(){return!!this.indices},initIndicesFromArray:function(e){var t,n=this.vertexCount>65535?o["a"].Uint32Array:o["a"].Uint16Array;if(e[0]&&e[0].length){var r=0,i=3;t=new n(e.length*i);for(var a=0;a=0&&(t.splice(n,1),delete this.attributes[e],!0)},getAttribute:function(e){return this.attributes[e]},getEnabledAttributes:function(){var e=this._enabledAttributes,t=this._attributeList;if(e)return e;for(var n=[],r=this.vertexCount,i=0;i0){var i=Math.pow(2,e[3]-128-8+r);t[n+0]=e[0]*i,t[n+1]=e[1]*i,t[n+2]=e[2]*i}else t[n+0]=0,t[n+1]=0,t[n+2]=0;return t[n+3]=1,t}function c(e,t,n){for(var r="",i=t;i0)if(e[a][0]=t[n++],e[a][1]=t[n++],e[a][2]=t[n++],e[a][3]=t[n++],1===e[a][0]&&1===e[a][1]&&1===e[a][2]){for(var s=e[a][3]<>>0;s>0;s--)u(e[a-1],e[a]),a++,o--;i+=8}else a++,o--,i=0;return n}function h(e,t,n,r){if(rs)return d(e,t,n,r);var i=t[n++];if(2!=i)return d(e,t,n-1,r);if(e[0][1]=t[n++],e[0][2]=t[n++],i=t[n++],(e[0][2]<<8>>>0|i)>>>0!==r)return null;for(i=0;i<4;i++)for(var a=0;a128){l=(127&l)>>>0;var c=t[n++];while(l--)e[a++][i]=c}else while(l--)e[a++][i]=t[n++]}return n}var p={parseRGBE:function(e,t,n){null==n&&(n=0);var o=new Uint8Array(e),s=o.length;if("#?"===c(o,0,2)){for(var u=2;u=s)){u+=2;for(var d="";u=0||(o.forEach((function(t){e.on(t,this[s(t)],this)}),this),this._meshes.push(e))},detachFromMesh:function(e){var t=this._meshes.indexOf(e);t>=0&&this._meshes.splice(t,1),o.forEach((function(t){e.off(t,this[s(t)])}),this)},dispose:function(){this._meshes.forEach((function(e){this.detachFromMesh(e)}),this)}},t["a"]=l},function(e,t,n){"use strict";var r=n(24),i=n(77),a=r["a"].extend({cubemap:null,castShadow:!1,_normalDistribution:null,_brdfLookup:null},{type:"AMBIENT_CUBEMAP_LIGHT",prefilter:function(e,t){if(e.getGLExtension("EXT_shader_texture_lod")){this._brdfLookup||(this._normalDistribution=i["a"].generateNormalDistribution(),this._brdfLookup=i["a"].integrateBRDF(e,this._normalDistribution));var n=this.cubemap;if(!n.__prefiltered){var r=i["a"].prefilterEnvironmentMap(e,n,{encodeRGBM:!0,width:t,height:t},this._normalDistribution,this._brdfLookup);this.cubemap=r.environmentMap,this.cubemap.__prefiltered=!0,n.dispose(e)}}else console.warn("Device not support textureCubeLodEXT")},getBRDFLookup:function(){return this._brdfLookup},uniformTemplates:{ambientCubemapLightColor:{type:"3f",value:function(e){var t=e.color,n=e.intensity;return[t[0]*n,t[1]*n,t[2]*n]}},ambientCubemapLightCubemap:{type:"t",value:function(e){return e.cubemap}},ambientCubemapLightBRDFLookup:{type:"t",value:function(e){return e._brdfLookup}}}});t["a"]=a},function(e,t,n){"use strict";t["a"]="\n@export clay.compositor.vertex\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\nattribute vec3 position : POSITION;\nattribute vec2 texcoord : TEXCOORD_0;\nvarying vec2 v_Texcoord;\nvoid main()\n{\n v_Texcoord = texcoord;\n gl_Position = worldViewProjection * vec4(position, 1.0);\n}\n@end"},function(e,t,n){"use strict";t["a"]="#define SAMPLE_NUMBER 1024\n#define PI 3.14159265358979\nuniform sampler2D normalDistribution;\nuniform vec2 viewportSize : [512, 256];\nconst vec3 N = vec3(0.0, 0.0, 1.0);\nconst float fSampleNumber = float(SAMPLE_NUMBER);\nvec3 importanceSampleNormal(float i, float roughness, vec3 N) {\n vec3 H = texture2D(normalDistribution, vec2(roughness, i)).rgb;\n vec3 upVector = abs(N.y) > 0.999 ? vec3(1.0, 0.0, 0.0) : vec3(0.0, 1.0, 0.0);\n vec3 tangentX = normalize(cross(N, upVector));\n vec3 tangentZ = cross(N, tangentX);\n return normalize(tangentX * H.x + N * H.y + tangentZ * H.z);\n}\nfloat G_Smith(float roughness, float NoV, float NoL) {\n float k = roughness * roughness / 2.0;\n float G1V = NoV / (NoV * (1.0 - k) + k);\n float G1L = NoL / (NoL * (1.0 - k) + k);\n return G1L * G1V;\n}\nvoid main() {\n vec2 uv = gl_FragCoord.xy / viewportSize;\n float NoV = uv.x;\n float roughness = uv.y;\n vec3 V;\n V.x = sqrt(1.0 - NoV * NoV);\n V.y = 0.0;\n V.z = NoV;\n float A = 0.0;\n float B = 0.0;\n for (int i = 0; i < SAMPLE_NUMBER; i++) {\n vec3 H = importanceSampleNormal(float(i) / fSampleNumber, roughness, N);\n vec3 L = reflect(-V, H);\n float NoL = clamp(L.z, 0.0, 1.0);\n float NoH = clamp(H.z, 0.0, 1.0);\n float VoH = clamp(dot(V, H), 0.0, 1.0);\n if (NoL > 0.0) {\n float G = G_Smith(roughness, NoV, NoL);\n float G_Vis = G * VoH / (NoH * NoV);\n float Fc = pow(1.0 - VoH, 5.0);\n A += (1.0 - Fc) * G_Vis;\n B += Fc * G_Vis;\n }\n }\n gl_FragColor = vec4(vec2(A, B) / fSampleNumber, 0.0, 1.0);\n}\n"},function(e,t,n){"use strict";t["a"]="#define SHADER_NAME prefilter\n#define SAMPLE_NUMBER 1024\n#define PI 3.14159265358979\nuniform mat4 viewInverse : VIEWINVERSE;\nuniform samplerCube environmentMap;\nuniform sampler2D normalDistribution;\nuniform float roughness : 0.5;\nvarying vec2 v_Texcoord;\nvarying vec3 v_WorldPosition;\n@import clay.util.rgbm\nvec3 importanceSampleNormal(float i, float roughness, vec3 N) {\n vec3 H = texture2D(normalDistribution, vec2(roughness, i)).rgb;\n vec3 upVector = abs(N.y) > 0.999 ? vec3(1.0, 0.0, 0.0) : vec3(0.0, 1.0, 0.0);\n vec3 tangentX = normalize(cross(N, upVector));\n vec3 tangentZ = cross(N, tangentX);\n return normalize(tangentX * H.x + N * H.y + tangentZ * H.z);\n}\nvoid main() {\n vec3 eyePos = viewInverse[3].xyz;\n vec3 V = normalize(v_WorldPosition - eyePos);\n vec3 N = V;\n vec3 prefilteredColor = vec3(0.0);\n float totalWeight = 0.0;\n float fMaxSampleNumber = float(SAMPLE_NUMBER);\n for (int i = 0; i < SAMPLE_NUMBER; i++) {\n vec3 H = importanceSampleNormal(float(i) / fMaxSampleNumber, roughness, N);\n vec3 L = reflect(-V, H);\n float NoL = clamp(dot(N, L), 0.0, 1.0);\n if (NoL > 0.0) {\n prefilteredColor += decodeHDR(textureCube(environmentMap, L)).rgb * NoL;\n totalWeight += NoL;\n }\n }\n gl_FragColor = encodeHDR(vec4(prefilteredColor / totalWeight, 1.0));\n}\n"},function(e,t,n){"use strict";var r=n(24),i=n(13),a=r["a"].extend({castShadow:!1,coefficients:[]},(function(){this._coefficientsTmpArr=new i["a"].Float32Array(27)}),{type:"AMBIENT_SH_LIGHT",uniformTemplates:{ambientSHLightColor:{type:"3f",value:function(e){var t=e.color,n=e.intensity;return[t[0]*n,t[1]*n,t[2]*n]}},ambientSHLightCoefficients:{type:"3f",value:function(e){for(var t=e._coefficientsTmpArr,n=0;n65535?Uint32Array:Uint16Array,y=this.indices=new v(t*e*6),b=this.radius,S=this.phiStart,E=this.phiLength,x=this.thetaStart,T=this.thetaLength,C=(b=this.radius,[]),A=[],w=0,O=1/b;for(p=0;p<=e;p++)for(h=0;h<=t;h++)u=h/t,d=p/e,s=-b*Math.cos(S+u*E)*Math.sin(x+d*T),l=b*Math.cos(x+d*T),c=b*Math.sin(S+u*E)*Math.sin(x+d*T),C[0]=s,C[1]=l,C[2]=c,A[0]=u,A[1]=d,n.set(w,C),r.set(w,A),C[0]*=O,C[1]*=O,C[2]*=O,a.set(w,C),w++;var R=t+1,I=0;for(p=0;p=0&&c.splice(e,1)})),c.push(u),this.__zr&&this.__zr.animation.addAnimator(u),u},stopAnimation:function(e){this._animators=this._animators||[];for(var t=this._animators,n=t.length,r=0;r.5?t:e}function h(e,t,n,r,i){var a=e.length;if(1==i)for(var o=0;oi;if(a)e.length=i;else for(var o=r;o=0;n--)if(O[n]<=t)break;n=Math.min(n,S-2)}else{for(n=V;nt)break;n=Math.min(n-1,S-2)}V=n,H=t;var r=O[n+1]-O[n];if(0!==r)if(F=(t-O[n])/r,b)if(U=R[n],B=R[0===n?n:n-1],G=R[n>S-2?S-1:n+1],z=R[n>S-3?S-1:n+2],T)_(B,U,G,z,F,F*F,F*F*F,c(e,s),w);else{if(C)i=_(B,U,G,z,F,F*F,F*F*F,Y,1),i=v(Y);else{if(A)return d(U,G,F);i=m(B,U,G,z,F,F*F,F*F*F)}g(e,s,i)}else if(T)h(R[n],R[n+1],F,c(e,s),w);else{var i;if(C)h(R[n],R[n+1],F,Y,1),i=v(Y);else{if(A)return d(R[n],R[n+1],F);i=u(R[n],R[n+1],F)}g(e,s,i)}},q=new r({target:e._target,life:E,loop:e._loop,delay:e._delay,onframe:W,ondestroy:n});return t&&"spline"!==t&&(q.easing=t),q}}}var S=function(e,t,n,r){this._tracks={},this._target=e,this._loop=t||!1,this._getter=n||l,this._setter=r||c,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};S.prototype={when:function(e,t){var n=this._tracks;for(var r in t)if(t.hasOwnProperty(r)){if(!n[r]){n[r]=[];var i=this._getter(this._target,r);if(null==i)continue;0!==e&&n[r].push({time:0,value:g(i)})}n[r].push({time:e,value:t[r]})}return this},during:function(e){return this._onframeList.push(e),this},pause:function(){for(var e=0;e255?255:e}function o(e){return e=Math.round(e),e<0?0:e>360?360:e}function s(e){return e<0?0:e>1?1:e}function l(e){return e.length&&"%"===e.charAt(e.length-1)?a(parseFloat(e)/100*255):a(parseInt(e,10))}function c(e){return e.length&&"%"===e.charAt(e.length-1)?s(parseFloat(e)/100):s(parseFloat(e))}function u(e,t,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?e+(t-e)*n*6:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}function d(e,t,n){return e+(t-e)*n}function h(e,t,n,r,i){return e[0]=t,e[1]=n,e[2]=r,e[3]=i,e}function p(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}var f=new r(20),_=null;function m(e,t){_&&p(_,t),_=f.put(e,_||t.slice())}function g(e,t){if(e){t=t||[];var n=f.get(e);if(n)return p(t,n);e+="";var r=e.replace(/ /g,"").toLowerCase();if(r in i)return p(t,i[r]),m(e,t),t;if("#"!==r.charAt(0)){var a=r.indexOf("("),o=r.indexOf(")");if(-1!==a&&o+1===r.length){var s=r.substr(0,a),u=r.substr(a+1,o-(a+1)).split(","),d=1;switch(s){case"rgba":if(4!==u.length)return void h(t,0,0,0,1);d=c(u.pop());case"rgb":return 3!==u.length?void h(t,0,0,0,1):(h(t,l(u[0]),l(u[1]),l(u[2]),d),m(e,t),t);case"hsla":return 4!==u.length?void h(t,0,0,0,1):(u[3]=c(u[3]),v(u,t),m(e,t),t);case"hsl":return 3!==u.length?void h(t,0,0,0,1):(v(u,t),m(e,t),t);default:return}}h(t,0,0,0,1)}else{if(4===r.length){var _=parseInt(r.substr(1),16);return _>=0&&_<=4095?(h(t,(3840&_)>>4|(3840&_)>>8,240&_|(240&_)>>4,15&_|(15&_)<<4,1),m(e,t),t):void h(t,0,0,0,1)}if(7===r.length){_=parseInt(r.substr(1),16);return _>=0&&_<=16777215?(h(t,(16711680&_)>>16,(65280&_)>>8,255&_,1),m(e,t),t):void h(t,0,0,0,1)}}}}function v(e,t){var n=(parseFloat(e[0])%360+360)%360/360,r=c(e[1]),i=c(e[2]),o=i<=.5?i*(r+1):i+r-i*r,s=2*i-o;return t=t||[],h(t,a(255*u(s,o,n+1/3)),a(255*u(s,o,n)),a(255*u(s,o,n-1/3)),1),4===e.length&&(t[3]=e[3]),t}function y(e){if(e){var t,n,r=e[0]/255,i=e[1]/255,a=e[2]/255,o=Math.min(r,i,a),s=Math.max(r,i,a),l=s-o,c=(s+o)/2;if(0===l)t=0,n=0;else{n=c<.5?l/(s+o):l/(2-s-o);var u=((s-r)/6+l/2)/l,d=((s-i)/6+l/2)/l,h=((s-a)/6+l/2)/l;r===s?t=h-d:i===s?t=1/3+u-h:a===s&&(t=2/3+d-u),t<0&&(t+=1),t>1&&(t-=1)}var p=[360*t,n,c];return null!=e[3]&&p.push(e[3]),p}}function b(e,t){var n=g(e);if(n){for(var r=0;r<3;r++)n[r]=t<0?n[r]*(1-t)|0:(255-n[r])*t+n[r]|0,n[r]>255?n[r]=255:e[r]<0&&(n[r]=0);return O(n,4===n.length?"rgba":"rgb")}}function S(e){var t=g(e);if(t)return((1<<24)+(t[0]<<16)+(t[1]<<8)+ +t[2]).toString(16).slice(1)}function E(e,t,n){if(t&&t.length&&e>=0&&e<=1){n=n||[];var r=e*(t.length-1),i=Math.floor(r),o=Math.ceil(r),l=t[i],c=t[o],u=r-i;return n[0]=a(d(l[0],c[0],u)),n[1]=a(d(l[1],c[1],u)),n[2]=a(d(l[2],c[2],u)),n[3]=s(d(l[3],c[3],u)),n}}var x=E;function T(e,t,n){if(t&&t.length&&e>=0&&e<=1){var r=e*(t.length-1),i=Math.floor(r),o=Math.ceil(r),l=g(t[i]),c=g(t[o]),u=r-i,h=O([a(d(l[0],c[0],u)),a(d(l[1],c[1],u)),a(d(l[2],c[2],u)),s(d(l[3],c[3],u))],"rgba");return n?{color:h,leftIndex:i,rightIndex:o,value:r}:h}}var C=T;function A(e,t,n,r){if(e=g(e),e)return e=y(e),null!=t&&(e[0]=o(t)),null!=n&&(e[1]=c(n)),null!=r&&(e[2]=c(r)),O(v(e),"rgba")}function w(e,t){if(e=g(e),e&&null!=t)return e[3]=s(t),O(e,"rgba")}function O(e,t){if(e&&e.length){var n=e[0]+","+e[1]+","+e[2];return"rgba"!==t&&"hsva"!==t&&"hsla"!==t||(n+=","+e[3]),t+"("+n+")"}}t.parse=g,t.lift=b,t.toHex=S,t.fastLerp=E,t.fastMapToColor=x,t.lerp=T,t.mapToColor=C,t.modifyHSL=A,t.modifyAlpha=w,t.stringify=O},function(e,t,n){"use strict";t["a"]="\n@export clay.util.rand\nhighp float rand(vec2 uv) {\n const highp float a = 12.9898, b = 78.233, c = 43758.5453;\n highp float dt = dot(uv.xy, vec2(a,b)), sn = mod(dt, 3.141592653589793);\n return fract(sin(sn) * c);\n}\n@end\n@export clay.util.calculate_attenuation\nuniform float attenuationFactor : 5.0;\nfloat lightAttenuation(float dist, float range)\n{\n float attenuation = 1.0;\n attenuation = dist*dist/(range*range+1.0);\n float att_s = attenuationFactor;\n attenuation = 1.0/(attenuation*att_s+1.0);\n att_s = 1.0/(att_s+1.0);\n attenuation = attenuation - att_s;\n attenuation /= 1.0 - att_s;\n return clamp(attenuation, 0.0, 1.0);\n}\n@end\n@export clay.util.edge_factor\n#ifdef SUPPORT_STANDARD_DERIVATIVES\nfloat edgeFactor(float width)\n{\n vec3 d = fwidth(v_Barycentric);\n vec3 a3 = smoothstep(vec3(0.0), d * width, v_Barycentric);\n return min(min(a3.x, a3.y), a3.z);\n}\n#else\nfloat edgeFactor(float width)\n{\n return 1.0;\n}\n#endif\n@end\n@export clay.util.encode_float\nvec4 encodeFloat(const in float depth)\n{\n const vec4 bitShifts = vec4(256.0*256.0*256.0, 256.0*256.0, 256.0, 1.0);\n const vec4 bit_mask = vec4(0.0, 1.0/256.0, 1.0/256.0, 1.0/256.0);\n vec4 res = fract(depth * bitShifts);\n res -= res.xxyz * bit_mask;\n return res;\n}\n@end\n@export clay.util.decode_float\nfloat decodeFloat(const in vec4 color)\n{\n const vec4 bitShifts = vec4(1.0/(256.0*256.0*256.0), 1.0/(256.0*256.0), 1.0/256.0, 1.0);\n return dot(color, bitShifts);\n}\n@end\n@export clay.util.float\n@import clay.util.encode_float\n@import clay.util.decode_float\n@end\n@export clay.util.rgbm_decode\nvec3 RGBMDecode(vec4 rgbm, float range) {\n return range * rgbm.rgb * rgbm.a;\n}\n@end\n@export clay.util.rgbm_encode\nvec4 RGBMEncode(vec3 color, float range) {\n if (dot(color, color) == 0.0) {\n return vec4(0.0);\n }\n vec4 rgbm;\n color /= range;\n rgbm.a = clamp(max(max(color.r, color.g), max(color.b, 1e-6)), 0.0, 1.0);\n rgbm.a = ceil(rgbm.a * 255.0) / 255.0;\n rgbm.rgb = color / rgbm.a;\n return rgbm;\n}\n@end\n@export clay.util.rgbm\n@import clay.util.rgbm_decode\n@import clay.util.rgbm_encode\nvec4 decodeHDR(vec4 color)\n{\n#if defined(RGBM_DECODE) || defined(RGBM)\n return vec4(RGBMDecode(color, 8.12), 1.0);\n#else\n return color;\n#endif\n}\nvec4 encodeHDR(vec4 color)\n{\n#if defined(RGBM_ENCODE) || defined(RGBM)\n return RGBMEncode(color.xyz, 8.12);\n#else\n return color;\n#endif\n}\n@end\n@export clay.util.srgb\nvec4 sRGBToLinear(in vec4 value) {\n return vec4(mix(pow(value.rgb * 0.9478672986 + vec3(0.0521327014), vec3(2.4)), value.rgb * 0.0773993808, vec3(lessThanEqual(value.rgb, vec3(0.04045)))), value.w);\n}\nvec4 linearTosRGB(in vec4 value) {\n return vec4(mix(pow(value.rgb, vec3(0.41666)) * 1.055 - vec3(0.055), value.rgb * 12.92, vec3(lessThanEqual(value.rgb, vec3(0.0031308)))), value.w);\n}\n@end\n@export clay.chunk.skinning_header\n#ifdef SKINNING\nattribute vec3 weight : WEIGHT;\nattribute vec4 joint : JOINT;\n#ifdef USE_SKIN_MATRICES_TEXTURE\nuniform sampler2D skinMatricesTexture : ignore;\nuniform float skinMatricesTextureSize: ignore;\nmat4 getSkinMatrix(sampler2D tex, float idx) {\n float j = idx * 4.0;\n float x = mod(j, skinMatricesTextureSize);\n float y = floor(j / skinMatricesTextureSize) + 0.5;\n vec2 scale = vec2(skinMatricesTextureSize);\n return mat4(\n texture2D(tex, vec2(x + 0.5, y) / scale),\n texture2D(tex, vec2(x + 1.5, y) / scale),\n texture2D(tex, vec2(x + 2.5, y) / scale),\n texture2D(tex, vec2(x + 3.5, y) / scale)\n );\n}\nmat4 getSkinMatrix(float idx) {\n return getSkinMatrix(skinMatricesTexture, idx);\n}\n#else\nuniform mat4 skinMatrix[JOINT_COUNT] : SKIN_MATRIX;\nmat4 getSkinMatrix(float idx) {\n return skinMatrix[int(idx)];\n}\n#endif\n#endif\n@end\n@export clay.chunk.skin_matrix\nmat4 skinMatrixWS = getSkinMatrix(joint.x) * weight.x;\nif (weight.y > 1e-4)\n{\n skinMatrixWS += getSkinMatrix(joint.y) * weight.y;\n}\nif (weight.z > 1e-4)\n{\n skinMatrixWS += getSkinMatrix(joint.z) * weight.z;\n}\nfloat weightW = 1.0-weight.x-weight.y-weight.z;\nif (weightW > 1e-4)\n{\n skinMatrixWS += getSkinMatrix(joint.w) * weightW;\n}\n@end\n@export clay.chunk.instancing_header\n#ifdef INSTANCING\nattribute vec4 instanceMat1;\nattribute vec4 instanceMat2;\nattribute vec4 instanceMat3;\n#endif\n@end\n@export clay.chunk.instancing_matrix\nmat4 instanceMat = mat4(\n vec4(instanceMat1.xyz, 0.0),\n vec4(instanceMat2.xyz, 0.0),\n vec4(instanceMat3.xyz, 0.0),\n vec4(instanceMat1.w, instanceMat2.w, instanceMat3.w, 1.0)\n);\n@end\n@export clay.util.parallax_correct\nvec3 parallaxCorrect(in vec3 dir, in vec3 pos, in vec3 boxMin, in vec3 boxMax) {\n vec3 first = (boxMax - pos) / dir;\n vec3 second = (boxMin - pos) / dir;\n vec3 further = max(first, second);\n float dist = min(further.x, min(further.y, further.z));\n vec3 fixedPos = pos + dir * dist;\n vec3 boxCenter = (boxMax + boxMin) * 0.5;\n return normalize(fixedPos - boxCenter);\n}\n@end\n@export clay.util.clamp_sample\nvec4 clampSample(const in sampler2D texture, const in vec2 coord)\n{\n#ifdef STEREO\n float eye = step(0.5, coord.x) * 0.5;\n vec2 coordClamped = clamp(coord, vec2(eye, 0.0), vec2(0.5 + eye, 1.0));\n#else\n vec2 coordClamped = clamp(coord, vec2(0.0), vec2(1.0));\n#endif\n return texture2D(texture, coordClamped);\n}\n@end\n@export clay.util.ACES\nvec3 ACESToneMapping(vec3 color)\n{\n const float A = 2.51;\n const float B = 0.03;\n const float C = 2.43;\n const float D = 0.59;\n const float E = 0.14;\n return (color * (A * color + B)) / (color * (C * color + D) + E);\n}\n@end\n@export clay.util.logdepth_vertex_header\n#ifdef LOG_DEPTH\n#ifdef SUPPORT_FRAG_DEPTH\nvarying float v_FragDepth;\n#else\nuniform float logDepthBufFC: LOG_DEPTH_BUFFER_FC;\n#endif\n#endif\n@end\n@export clay.util.logdepth_vertex_main\n#ifdef LOG_DEPTH\n #ifdef SUPPORT_FRAG_DEPTH\n v_FragDepth = 1.0 + gl_Position.w;\n #else\n gl_Position.z = log2(max(1e-6, gl_Position.w + 1.0)) * logDepthBufFC - 1.0;\n gl_Position.z *= gl_Position.w;\n #endif\n#endif\n@end\n@export clay.util.logdepth_fragment_header\n#if defined(LOG_DEPTH) && defined(SUPPORT_FRAG_DEPTH)\nvarying float v_FragDepth;\nuniform float logDepthBufFC : LOG_DEPTH_BUFFER_FC;\n#endif\n@end\n@export clay.util.logdepth_fragment_main\n#if defined(LOG_DEPTH) && defined(SUPPORT_FRAG_DEPTH)\n gl_FragDepthEXT = log2(v_FragDepth) * logDepthBufFC * 0.5;\n#endif\n@end\n"},function(e,t,n){"use strict";t["a"]="\n@export ecgl.common.transformUniforms\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\nuniform mat4 worldInverseTranspose : WORLDINVERSETRANSPOSE;\nuniform mat4 world : WORLD;\n@end\n\n@export ecgl.common.attributes\nattribute vec3 position : POSITION;\nattribute vec2 texcoord : TEXCOORD_0;\nattribute vec3 normal : NORMAL;\n@end\n\n@export ecgl.common.uv.header\nuniform vec2 uvRepeat : [1.0, 1.0];\nuniform vec2 uvOffset : [0.0, 0.0];\nuniform vec2 detailUvRepeat : [1.0, 1.0];\nuniform vec2 detailUvOffset : [0.0, 0.0];\n\nvarying vec2 v_Texcoord;\nvarying vec2 v_DetailTexcoord;\n@end\n\n@export ecgl.common.uv.main\nv_Texcoord = texcoord * uvRepeat + uvOffset;\nv_DetailTexcoord = texcoord * detailUvRepeat + detailUvOffset;\n@end\n\n@export ecgl.common.uv.fragmentHeader\nvarying vec2 v_Texcoord;\nvarying vec2 v_DetailTexcoord;\n@end\n\n\n@export ecgl.common.albedo.main\n\n vec4 albedoTexel = vec4(1.0);\n#ifdef DIFFUSEMAP_ENABLED\n albedoTexel = texture2D(diffuseMap, v_Texcoord);\n #ifdef SRGB_DECODE\n albedoTexel = sRGBToLinear(albedoTexel);\n #endif\n#endif\n\n#ifdef DETAILMAP_ENABLED\n vec4 detailTexel = texture2D(detailMap, v_DetailTexcoord);\n #ifdef SRGB_DECODE\n detailTexel = sRGBToLinear(detailTexel);\n #endif\n albedoTexel.rgb = mix(albedoTexel.rgb, detailTexel.rgb, detailTexel.a);\n albedoTexel.a = detailTexel.a + (1.0 - detailTexel.a) * albedoTexel.a;\n#endif\n\n@end\n\n@export ecgl.common.wireframe.vertexHeader\n\n#ifdef WIREFRAME_QUAD\nattribute vec4 barycentric;\nvarying vec4 v_Barycentric;\n#elif defined(WIREFRAME_TRIANGLE)\nattribute vec3 barycentric;\nvarying vec3 v_Barycentric;\n#endif\n\n@end\n\n@export ecgl.common.wireframe.vertexMain\n\n#if defined(WIREFRAME_QUAD) || defined(WIREFRAME_TRIANGLE)\n v_Barycentric = barycentric;\n#endif\n\n@end\n\n\n@export ecgl.common.wireframe.fragmentHeader\n\nuniform float wireframeLineWidth : 1;\nuniform vec4 wireframeLineColor: [0, 0, 0, 0.5];\n\n#ifdef WIREFRAME_QUAD\nvarying vec4 v_Barycentric;\nfloat edgeFactor () {\n vec4 d = fwidth(v_Barycentric);\n vec4 a4 = smoothstep(vec4(0.0), d * wireframeLineWidth, v_Barycentric);\n return min(min(min(a4.x, a4.y), a4.z), a4.w);\n}\n#elif defined(WIREFRAME_TRIANGLE)\nvarying vec3 v_Barycentric;\nfloat edgeFactor () {\n vec3 d = fwidth(v_Barycentric);\n vec3 a3 = smoothstep(vec3(0.0), d * wireframeLineWidth, v_Barycentric);\n return min(min(a3.x, a3.y), a3.z);\n}\n#endif\n\n@end\n\n\n@export ecgl.common.wireframe.fragmentMain\n\n#if defined(WIREFRAME_QUAD) || defined(WIREFRAME_TRIANGLE)\n if (wireframeLineWidth > 0.) {\n vec4 lineColor = wireframeLineColor;\n#ifdef SRGB_DECODE\n lineColor = sRGBToLinear(lineColor);\n#endif\n\n gl_FragColor.rgb = mix(gl_FragColor.rgb, lineColor.rgb, (1.0 - edgeFactor()) * lineColor.a);\n }\n#endif\n@end\n\n\n\n\n@export ecgl.common.bumpMap.header\n\n#ifdef BUMPMAP_ENABLED\nuniform sampler2D bumpMap;\nuniform float bumpScale : 1.0;\n\n\nvec3 bumpNormal(vec3 surfPos, vec3 surfNormal, vec3 baseNormal)\n{\n vec2 dSTdx = dFdx(v_Texcoord);\n vec2 dSTdy = dFdy(v_Texcoord);\n\n float Hll = bumpScale * texture2D(bumpMap, v_Texcoord).x;\n float dHx = bumpScale * texture2D(bumpMap, v_Texcoord + dSTdx).x - Hll;\n float dHy = bumpScale * texture2D(bumpMap, v_Texcoord + dSTdy).x - Hll;\n\n vec3 vSigmaX = dFdx(surfPos);\n vec3 vSigmaY = dFdy(surfPos);\n vec3 vN = surfNormal;\n\n vec3 R1 = cross(vSigmaY, vN);\n vec3 R2 = cross(vN, vSigmaX);\n\n float fDet = dot(vSigmaX, R1);\n\n vec3 vGrad = sign(fDet) * (dHx * R1 + dHy * R2);\n return normalize(abs(fDet) * baseNormal - vGrad);\n\n}\n#endif\n\n@end\n\n@export ecgl.common.normalMap.vertexHeader\n\n#ifdef NORMALMAP_ENABLED\nattribute vec4 tangent : TANGENT;\nvarying vec3 v_Tangent;\nvarying vec3 v_Bitangent;\n#endif\n\n@end\n\n@export ecgl.common.normalMap.vertexMain\n\n#ifdef NORMALMAP_ENABLED\n if (dot(tangent, tangent) > 0.0) {\n v_Tangent = normalize((worldInverseTranspose * vec4(tangent.xyz, 0.0)).xyz);\n v_Bitangent = normalize(cross(v_Normal, v_Tangent) * tangent.w);\n }\n#endif\n\n@end\n\n\n@export ecgl.common.normalMap.fragmentHeader\n\n#ifdef NORMALMAP_ENABLED\nuniform sampler2D normalMap;\nvarying vec3 v_Tangent;\nvarying vec3 v_Bitangent;\n#endif\n\n@end\n\n@export ecgl.common.normalMap.fragmentMain\n#ifdef NORMALMAP_ENABLED\n if (dot(v_Tangent, v_Tangent) > 0.0) {\n vec3 normalTexel = texture2D(normalMap, v_DetailTexcoord).xyz;\n if (dot(normalTexel, normalTexel) > 0.0) { N = normalTexel * 2.0 - 1.0;\n mat3 tbn = mat3(v_Tangent, v_Bitangent, v_Normal);\n N = normalize(tbn * N);\n }\n }\n#endif\n@end\n\n\n\n@export ecgl.common.vertexAnimation.header\n\n#ifdef VERTEX_ANIMATION\nattribute vec3 prevPosition;\nattribute vec3 prevNormal;\nuniform float percent;\n#endif\n\n@end\n\n@export ecgl.common.vertexAnimation.main\n\n#ifdef VERTEX_ANIMATION\n vec3 pos = mix(prevPosition, position, percent);\n vec3 norm = mix(prevNormal, normal, percent);\n#else\n vec3 pos = position;\n vec3 norm = normal;\n#endif\n\n@end\n\n\n@export ecgl.common.ssaoMap.header\n#ifdef SSAOMAP_ENABLED\nuniform sampler2D ssaoMap;\nuniform vec4 viewport : VIEWPORT;\n#endif\n@end\n\n@export ecgl.common.ssaoMap.main\n float ao = 1.0;\n#ifdef SSAOMAP_ENABLED\n ao = texture2D(ssaoMap, (gl_FragCoord.xy - viewport.xy) / viewport.zw).r;\n#endif\n@end\n\n\n\n\n@export ecgl.common.diffuseLayer.header\n\n#if (LAYER_DIFFUSEMAP_COUNT > 0)\nuniform float layerDiffuseIntensity[LAYER_DIFFUSEMAP_COUNT];\nuniform sampler2D layerDiffuseMap[LAYER_DIFFUSEMAP_COUNT];\n#endif\n\n@end\n\n@export ecgl.common.emissiveLayer.header\n\n#if (LAYER_EMISSIVEMAP_COUNT > 0)\nuniform float layerEmissionIntensity[LAYER_EMISSIVEMAP_COUNT];\nuniform sampler2D layerEmissiveMap[LAYER_EMISSIVEMAP_COUNT];\n#endif\n\n@end\n\n@export ecgl.common.layers.header\n@import ecgl.common.diffuseLayer.header\n@import ecgl.common.emissiveLayer.header\n@end\n\n@export ecgl.common.diffuseLayer.main\n\n#if (LAYER_DIFFUSEMAP_COUNT > 0)\n for (int _idx_ = 0; _idx_ < LAYER_DIFFUSEMAP_COUNT; _idx_++) {{\n float intensity = layerDiffuseIntensity[_idx_];\n vec4 texel2 = texture2D(layerDiffuseMap[_idx_], v_Texcoord);\n #ifdef SRGB_DECODE\n texel2 = sRGBToLinear(texel2);\n #endif\n albedoTexel.rgb = mix(albedoTexel.rgb, texel2.rgb * intensity, texel2.a);\n albedoTexel.a = texel2.a + (1.0 - texel2.a) * albedoTexel.a;\n }}\n#endif\n\n@end\n\n@export ecgl.common.emissiveLayer.main\n\n#if (LAYER_EMISSIVEMAP_COUNT > 0)\n for (int _idx_ = 0; _idx_ < LAYER_EMISSIVEMAP_COUNT; _idx_++)\n {{\n vec4 texel2 = texture2D(layerEmissiveMap[_idx_], v_Texcoord) * layerEmissionIntensity[_idx_];\n #ifdef SRGB_DECODE\n texel2 = sRGBToLinear(texel2);\n #endif\n float intensity = layerEmissionIntensity[_idx_];\n gl_FragColor.rgb += texel2.rgb * texel2.a * intensity;\n }}\n#endif\n\n@end\n"},function(e,t,n){"use strict";t["a"]="@export ecgl.color.vertex\n\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\n\n@import ecgl.common.uv.header\n\nattribute vec2 texcoord : TEXCOORD_0;\nattribute vec3 position: POSITION;\n\n@import ecgl.common.wireframe.vertexHeader\n\n#ifdef VERTEX_COLOR\nattribute vec4 a_Color : COLOR;\nvarying vec4 v_Color;\n#endif\n\n#ifdef VERTEX_ANIMATION\nattribute vec3 prevPosition;\nuniform float percent : 1.0;\n#endif\n\nvoid main()\n{\n#ifdef VERTEX_ANIMATION\n vec3 pos = mix(prevPosition, position, percent);\n#else\n vec3 pos = position;\n#endif\n\n gl_Position = worldViewProjection * vec4(pos, 1.0);\n\n @import ecgl.common.uv.main\n\n#ifdef VERTEX_COLOR\n v_Color = a_Color;\n#endif\n\n @import ecgl.common.wireframe.vertexMain\n\n}\n\n@end\n\n@export ecgl.color.fragment\n\n#define LAYER_DIFFUSEMAP_COUNT 0\n#define LAYER_EMISSIVEMAP_COUNT 0\n\nuniform sampler2D diffuseMap;\nuniform sampler2D detailMap;\n\nuniform vec4 color : [1.0, 1.0, 1.0, 1.0];\n\n#ifdef VERTEX_COLOR\nvarying vec4 v_Color;\n#endif\n\n@import ecgl.common.layers.header\n\n@import ecgl.common.uv.fragmentHeader\n\n@import ecgl.common.wireframe.fragmentHeader\n\n@import clay.util.srgb\n\nvoid main()\n{\n#ifdef SRGB_DECODE\n gl_FragColor = sRGBToLinear(color);\n#else\n gl_FragColor = color;\n#endif\n\n#ifdef VERTEX_COLOR\n gl_FragColor *= v_Color;\n#endif\n\n @import ecgl.common.albedo.main\n\n @import ecgl.common.diffuseLayer.main\n\n gl_FragColor *= albedoTexel;\n\n @import ecgl.common.emissiveLayer.main\n\n @import ecgl.common.wireframe.fragmentMain\n\n}\n@end"},function(e,t,n){"use strict";t["a"]="/**\n * http: */\n\n@export ecgl.lambert.vertex\n\n@import ecgl.common.transformUniforms\n\n@import ecgl.common.uv.header\n\n\n@import ecgl.common.attributes\n\n@import ecgl.common.wireframe.vertexHeader\n\n#ifdef VERTEX_COLOR\nattribute vec4 a_Color : COLOR;\nvarying vec4 v_Color;\n#endif\n\n\n@import ecgl.common.vertexAnimation.header\n\n\nvarying vec3 v_Normal;\nvarying vec3 v_WorldPosition;\n\nvoid main()\n{\n @import ecgl.common.uv.main\n\n @import ecgl.common.vertexAnimation.main\n\n\n gl_Position = worldViewProjection * vec4(pos, 1.0);\n\n v_Normal = normalize((worldInverseTranspose * vec4(norm, 0.0)).xyz);\n v_WorldPosition = (world * vec4(pos, 1.0)).xyz;\n\n#ifdef VERTEX_COLOR\n v_Color = a_Color;\n#endif\n\n @import ecgl.common.wireframe.vertexMain\n}\n\n@end\n\n\n@export ecgl.lambert.fragment\n\n#define LAYER_DIFFUSEMAP_COUNT 0\n#define LAYER_EMISSIVEMAP_COUNT 0\n\n#define NORMAL_UP_AXIS 1\n#define NORMAL_FRONT_AXIS 2\n\n@import ecgl.common.uv.fragmentHeader\n\nvarying vec3 v_Normal;\nvarying vec3 v_WorldPosition;\n\nuniform sampler2D diffuseMap;\nuniform sampler2D detailMap;\n\n@import ecgl.common.layers.header\n\nuniform float emissionIntensity: 1.0;\n\nuniform vec4 color : [1.0, 1.0, 1.0, 1.0];\n\nuniform mat4 viewInverse : VIEWINVERSE;\n\n#ifdef AMBIENT_LIGHT_COUNT\n@import clay.header.ambient_light\n#endif\n#ifdef AMBIENT_SH_LIGHT_COUNT\n@import clay.header.ambient_sh_light\n#endif\n\n#ifdef DIRECTIONAL_LIGHT_COUNT\n@import clay.header.directional_light\n#endif\n\n#ifdef VERTEX_COLOR\nvarying vec4 v_Color;\n#endif\n\n\n@import ecgl.common.ssaoMap.header\n\n@import ecgl.common.bumpMap.header\n\n@import clay.util.srgb\n\n@import ecgl.common.wireframe.fragmentHeader\n\n@import clay.plugin.compute_shadow_map\n\nvoid main()\n{\n#ifdef SRGB_DECODE\n gl_FragColor = sRGBToLinear(color);\n#else\n gl_FragColor = color;\n#endif\n\n#ifdef VERTEX_COLOR\n #ifdef SRGB_DECODE\n gl_FragColor *= sRGBToLinear(v_Color);\n #else\n gl_FragColor *= v_Color;\n #endif\n#endif\n\n @import ecgl.common.albedo.main\n\n @import ecgl.common.diffuseLayer.main\n\n gl_FragColor *= albedoTexel;\n\n vec3 N = v_Normal;\n#ifdef DOUBLE_SIDED\n vec3 eyePos = viewInverse[3].xyz;\n vec3 V = normalize(eyePos - v_WorldPosition);\n\n if (dot(N, V) < 0.0) {\n N = -N;\n }\n#endif\n\n float ambientFactor = 1.0;\n\n#ifdef BUMPMAP_ENABLED\n N = bumpNormal(v_WorldPosition, v_Normal, N);\n ambientFactor = dot(v_Normal, N);\n#endif\n\n vec3 N2 = vec3(N.x, N[NORMAL_UP_AXIS], N[NORMAL_FRONT_AXIS]);\n\n vec3 diffuseColor = vec3(0.0, 0.0, 0.0);\n\n @import ecgl.common.ssaoMap.main\n\n#ifdef AMBIENT_LIGHT_COUNT\n for(int i = 0; i < AMBIENT_LIGHT_COUNT; i++)\n {\n diffuseColor += ambientLightColor[i] * ambientFactor * ao;\n }\n#endif\n#ifdef AMBIENT_SH_LIGHT_COUNT\n for(int _idx_ = 0; _idx_ < AMBIENT_SH_LIGHT_COUNT; _idx_++)\n {{\n diffuseColor += calcAmbientSHLight(_idx_, N2) * ambientSHLightColor[_idx_] * ao;\n }}\n#endif\n#ifdef DIRECTIONAL_LIGHT_COUNT\n#if defined(DIRECTIONAL_LIGHT_SHADOWMAP_COUNT)\n float shadowContribsDir[DIRECTIONAL_LIGHT_COUNT];\n if(shadowEnabled)\n {\n computeShadowOfDirectionalLights(v_WorldPosition, shadowContribsDir);\n }\n#endif\n for(int i = 0; i < DIRECTIONAL_LIGHT_COUNT; i++)\n {\n vec3 lightDirection = -directionalLightDirection[i];\n vec3 lightColor = directionalLightColor[i];\n\n float shadowContrib = 1.0;\n#if defined(DIRECTIONAL_LIGHT_SHADOWMAP_COUNT)\n if (shadowEnabled)\n {\n shadowContrib = shadowContribsDir[i];\n }\n#endif\n\n float ndl = dot(N, normalize(lightDirection)) * shadowContrib;\n\n diffuseColor += lightColor * clamp(ndl, 0.0, 1.0);\n }\n#endif\n\n gl_FragColor.rgb *= diffuseColor;\n\n @import ecgl.common.emissiveLayer.main\n\n @import ecgl.common.wireframe.fragmentMain\n}\n\n@end"},function(e,t,n){"use strict";t["a"]="@export ecgl.realistic.vertex\n\n@import ecgl.common.transformUniforms\n\n@import ecgl.common.uv.header\n\n@import ecgl.common.attributes\n\n\n@import ecgl.common.wireframe.vertexHeader\n\n#ifdef VERTEX_COLOR\nattribute vec4 a_Color : COLOR;\nvarying vec4 v_Color;\n#endif\n\n#ifdef NORMALMAP_ENABLED\nattribute vec4 tangent : TANGENT;\nvarying vec3 v_Tangent;\nvarying vec3 v_Bitangent;\n#endif\n\n@import ecgl.common.vertexAnimation.header\n\nvarying vec3 v_Normal;\nvarying vec3 v_WorldPosition;\n\nvoid main()\n{\n\n @import ecgl.common.uv.main\n\n @import ecgl.common.vertexAnimation.main\n\n gl_Position = worldViewProjection * vec4(pos, 1.0);\n\n v_Normal = normalize((worldInverseTranspose * vec4(norm, 0.0)).xyz);\n v_WorldPosition = (world * vec4(pos, 1.0)).xyz;\n\n#ifdef VERTEX_COLOR\n v_Color = a_Color;\n#endif\n\n#ifdef NORMALMAP_ENABLED\n v_Tangent = normalize((worldInverseTranspose * vec4(tangent.xyz, 0.0)).xyz);\n v_Bitangent = normalize(cross(v_Normal, v_Tangent) * tangent.w);\n#endif\n\n @import ecgl.common.wireframe.vertexMain\n\n}\n\n@end\n\n\n\n@export ecgl.realistic.fragment\n\n#define LAYER_DIFFUSEMAP_COUNT 0\n#define LAYER_EMISSIVEMAP_COUNT 0\n#define PI 3.14159265358979\n#define ROUGHNESS_CHANEL 0\n#define METALNESS_CHANEL 1\n\n#define NORMAL_UP_AXIS 1\n#define NORMAL_FRONT_AXIS 2\n\n#ifdef VERTEX_COLOR\nvarying vec4 v_Color;\n#endif\n\n@import ecgl.common.uv.fragmentHeader\n\nvarying vec3 v_Normal;\nvarying vec3 v_WorldPosition;\n\nuniform sampler2D diffuseMap;\n\nuniform sampler2D detailMap;\nuniform sampler2D metalnessMap;\nuniform sampler2D roughnessMap;\n\n@import ecgl.common.layers.header\n\nuniform float emissionIntensity: 1.0;\n\nuniform vec4 color : [1.0, 1.0, 1.0, 1.0];\n\nuniform float metalness : 0.0;\nuniform float roughness : 0.5;\n\nuniform mat4 viewInverse : VIEWINVERSE;\n\n#ifdef AMBIENT_LIGHT_COUNT\n@import clay.header.ambient_light\n#endif\n\n#ifdef AMBIENT_SH_LIGHT_COUNT\n@import clay.header.ambient_sh_light\n#endif\n\n#ifdef AMBIENT_CUBEMAP_LIGHT_COUNT\n@import clay.header.ambient_cubemap_light\n#endif\n\n#ifdef DIRECTIONAL_LIGHT_COUNT\n@import clay.header.directional_light\n#endif\n\n@import ecgl.common.normalMap.fragmentHeader\n\n@import ecgl.common.ssaoMap.header\n\n@import ecgl.common.bumpMap.header\n\n@import clay.util.srgb\n\n@import clay.util.rgbm\n\n@import ecgl.common.wireframe.fragmentHeader\n\n@import clay.plugin.compute_shadow_map\n\nvec3 F_Schlick(float ndv, vec3 spec) {\n return spec + (1.0 - spec) * pow(1.0 - ndv, 5.0);\n}\n\nfloat D_Phong(float g, float ndh) {\n float a = pow(8192.0, g);\n return (a + 2.0) / 8.0 * pow(ndh, a);\n}\n\nvoid main()\n{\n vec4 albedoColor = color;\n\n vec3 eyePos = viewInverse[3].xyz;\n vec3 V = normalize(eyePos - v_WorldPosition);\n#ifdef VERTEX_COLOR\n #ifdef SRGB_DECODE\n albedoColor *= sRGBToLinear(v_Color);\n #else\n albedoColor *= v_Color;\n #endif\n#endif\n\n @import ecgl.common.albedo.main\n\n @import ecgl.common.diffuseLayer.main\n\n albedoColor *= albedoTexel;\n\n float m = metalness;\n\n#ifdef METALNESSMAP_ENABLED\n float m2 = texture2D(metalnessMap, v_DetailTexcoord)[METALNESS_CHANEL];\n m = clamp(m2 + (m - 0.5) * 2.0, 0.0, 1.0);\n#endif\n\n vec3 baseColor = albedoColor.rgb;\n albedoColor.rgb = baseColor * (1.0 - m);\n vec3 specFactor = mix(vec3(0.04), baseColor, m);\n\n float g = 1.0 - roughness;\n\n#ifdef ROUGHNESSMAP_ENABLED\n float g2 = 1.0 - texture2D(roughnessMap, v_DetailTexcoord)[ROUGHNESS_CHANEL];\n g = clamp(g2 + (g - 0.5) * 2.0, 0.0, 1.0);\n#endif\n\n vec3 N = v_Normal;\n\n#ifdef DOUBLE_SIDED\n if (dot(N, V) < 0.0) {\n N = -N;\n }\n#endif\n\n float ambientFactor = 1.0;\n\n#ifdef BUMPMAP_ENABLED\n N = bumpNormal(v_WorldPosition, v_Normal, N);\n ambientFactor = dot(v_Normal, N);\n#endif\n\n@import ecgl.common.normalMap.fragmentMain\n\n vec3 N2 = vec3(N.x, N[NORMAL_UP_AXIS], N[NORMAL_FRONT_AXIS]);\n\n vec3 diffuseTerm = vec3(0.0);\n vec3 specularTerm = vec3(0.0);\n\n float ndv = clamp(dot(N, V), 0.0, 1.0);\n vec3 fresnelTerm = F_Schlick(ndv, specFactor);\n\n @import ecgl.common.ssaoMap.main\n\n#ifdef AMBIENT_LIGHT_COUNT\n for(int _idx_ = 0; _idx_ < AMBIENT_LIGHT_COUNT; _idx_++)\n {{\n diffuseTerm += ambientLightColor[_idx_] * ambientFactor * ao;\n }}\n#endif\n\n#ifdef AMBIENT_SH_LIGHT_COUNT\n for(int _idx_ = 0; _idx_ < AMBIENT_SH_LIGHT_COUNT; _idx_++)\n {{\n diffuseTerm += calcAmbientSHLight(_idx_, N2) * ambientSHLightColor[_idx_] * ao;\n }}\n#endif\n\n#ifdef DIRECTIONAL_LIGHT_COUNT\n#if defined(DIRECTIONAL_LIGHT_SHADOWMAP_COUNT)\n float shadowContribsDir[DIRECTIONAL_LIGHT_COUNT];\n if(shadowEnabled)\n {\n computeShadowOfDirectionalLights(v_WorldPosition, shadowContribsDir);\n }\n#endif\n for(int _idx_ = 0; _idx_ < DIRECTIONAL_LIGHT_COUNT; _idx_++)\n {{\n vec3 L = -directionalLightDirection[_idx_];\n vec3 lc = directionalLightColor[_idx_];\n\n vec3 H = normalize(L + V);\n float ndl = clamp(dot(N, normalize(L)), 0.0, 1.0);\n float ndh = clamp(dot(N, H), 0.0, 1.0);\n\n float shadowContrib = 1.0;\n#if defined(DIRECTIONAL_LIGHT_SHADOWMAP_COUNT)\n if (shadowEnabled)\n {\n shadowContrib = shadowContribsDir[_idx_];\n }\n#endif\n\n vec3 li = lc * ndl * shadowContrib;\n\n diffuseTerm += li;\n specularTerm += li * fresnelTerm * D_Phong(g, ndh);\n }}\n#endif\n\n\n#ifdef AMBIENT_CUBEMAP_LIGHT_COUNT\n vec3 L = reflect(-V, N);\n L = vec3(L.x, L[NORMAL_UP_AXIS], L[NORMAL_FRONT_AXIS]);\n float rough2 = clamp(1.0 - g, 0.0, 1.0);\n float bias2 = rough2 * 5.0;\n vec2 brdfParam2 = texture2D(ambientCubemapLightBRDFLookup[0], vec2(rough2, ndv)).xy;\n vec3 envWeight2 = specFactor * brdfParam2.x + brdfParam2.y;\n vec3 envTexel2;\n for(int _idx_ = 0; _idx_ < AMBIENT_CUBEMAP_LIGHT_COUNT; _idx_++)\n {{\n envTexel2 = RGBMDecode(textureCubeLodEXT(ambientCubemapLightCubemap[_idx_], L, bias2), 8.12);\n specularTerm += ambientCubemapLightColor[_idx_] * envTexel2 * envWeight2 * ao;\n }}\n#endif\n\n gl_FragColor.rgb = albedoColor.rgb * diffuseTerm + specularTerm;\n gl_FragColor.a = albedoColor.a;\n\n#ifdef SRGB_ENCODE\n gl_FragColor = linearTosRGB(gl_FragColor);\n#endif\n\n @import ecgl.common.emissiveLayer.main\n\n @import ecgl.common.wireframe.fragmentMain\n}\n\n@end"},function(e,t,n){"use strict";t["a"]="@export ecgl.hatching.vertex\n\n@import ecgl.realistic.vertex\n\n@end\n\n\n@export ecgl.hatching.fragment\n\n#define NORMAL_UP_AXIS 1\n#define NORMAL_FRONT_AXIS 2\n\n@import ecgl.common.uv.fragmentHeader\n\nvarying vec3 v_Normal;\nvarying vec3 v_WorldPosition;\n\nuniform vec4 color : [0.0, 0.0, 0.0, 1.0];\nuniform vec4 paperColor : [1.0, 1.0, 1.0, 1.0];\n\nuniform mat4 viewInverse : VIEWINVERSE;\n\n#ifdef AMBIENT_LIGHT_COUNT\n@import clay.header.ambient_light\n#endif\n#ifdef AMBIENT_SH_LIGHT_COUNT\n@import clay.header.ambient_sh_light\n#endif\n\n#ifdef DIRECTIONAL_LIGHT_COUNT\n@import clay.header.directional_light\n#endif\n\n#ifdef VERTEX_COLOR\nvarying vec4 v_Color;\n#endif\n\n\n@import ecgl.common.ssaoMap.header\n\n@import ecgl.common.bumpMap.header\n\n@import clay.util.srgb\n\n@import ecgl.common.wireframe.fragmentHeader\n\n@import clay.plugin.compute_shadow_map\n\nuniform sampler2D hatch1;\nuniform sampler2D hatch2;\nuniform sampler2D hatch3;\nuniform sampler2D hatch4;\nuniform sampler2D hatch5;\nuniform sampler2D hatch6;\n\nfloat shade(in float tone) {\n vec4 c = vec4(1. ,1., 1., 1.);\n float step = 1. / 6.;\n vec2 uv = v_DetailTexcoord;\n if (tone <= step / 2.0) {\n c = mix(vec4(0.), texture2D(hatch6, uv), 12. * tone);\n }\n else if (tone <= step) {\n c = mix(texture2D(hatch6, uv), texture2D(hatch5, uv), 6. * tone);\n }\n if(tone > step && tone <= 2. * step){\n c = mix(texture2D(hatch5, uv), texture2D(hatch4, uv) , 6. * (tone - step));\n }\n if(tone > 2. * step && tone <= 3. * step){\n c = mix(texture2D(hatch4, uv), texture2D(hatch3, uv), 6. * (tone - 2. * step));\n }\n if(tone > 3. * step && tone <= 4. * step){\n c = mix(texture2D(hatch3, uv), texture2D(hatch2, uv), 6. * (tone - 3. * step));\n }\n if(tone > 4. * step && tone <= 5. * step){\n c = mix(texture2D(hatch2, uv), texture2D(hatch1, uv), 6. * (tone - 4. * step));\n }\n if(tone > 5. * step){\n c = mix(texture2D(hatch1, uv), vec4(1.), 6. * (tone - 5. * step));\n }\n\n return c.r;\n}\n\nconst vec3 w = vec3(0.2125, 0.7154, 0.0721);\n\nvoid main()\n{\n#ifdef SRGB_DECODE\n vec4 inkColor = sRGBToLinear(color);\n#else\n vec4 inkColor = color;\n#endif\n\n#ifdef VERTEX_COLOR\n #ifdef SRGB_DECODE\n inkColor *= sRGBToLinear(v_Color);\n #else\n inkColor *= v_Color;\n #endif\n#endif\n\n vec3 N = v_Normal;\n#ifdef DOUBLE_SIDED\n vec3 eyePos = viewInverse[3].xyz;\n vec3 V = normalize(eyePos - v_WorldPosition);\n\n if (dot(N, V) < 0.0) {\n N = -N;\n }\n#endif\n\n float tone = 0.0;\n\n float ambientFactor = 1.0;\n\n#ifdef BUMPMAP_ENABLED\n N = bumpNormal(v_WorldPosition, v_Normal, N);\n ambientFactor = dot(v_Normal, N);\n#endif\n\n vec3 N2 = vec3(N.x, N[NORMAL_UP_AXIS], N[NORMAL_FRONT_AXIS]);\n\n @import ecgl.common.ssaoMap.main\n\n#ifdef AMBIENT_LIGHT_COUNT\n for(int i = 0; i < AMBIENT_LIGHT_COUNT; i++)\n {\n tone += dot(ambientLightColor[i], w) * ambientFactor * ao;\n }\n#endif\n#ifdef AMBIENT_SH_LIGHT_COUNT\n for(int _idx_ = 0; _idx_ < AMBIENT_SH_LIGHT_COUNT; _idx_++)\n {{\n tone += dot(calcAmbientSHLight(_idx_, N2) * ambientSHLightColor[_idx_], w) * ao;\n }}\n#endif\n#ifdef DIRECTIONAL_LIGHT_COUNT\n#if defined(DIRECTIONAL_LIGHT_SHADOWMAP_COUNT)\n float shadowContribsDir[DIRECTIONAL_LIGHT_COUNT];\n if(shadowEnabled)\n {\n computeShadowOfDirectionalLights(v_WorldPosition, shadowContribsDir);\n }\n#endif\n for(int i = 0; i < DIRECTIONAL_LIGHT_COUNT; i++)\n {\n vec3 lightDirection = -directionalLightDirection[i];\n float lightTone = dot(directionalLightColor[i], w);\n\n float shadowContrib = 1.0;\n#if defined(DIRECTIONAL_LIGHT_SHADOWMAP_COUNT)\n if (shadowEnabled)\n {\n shadowContrib = shadowContribsDir[i];\n }\n#endif\n\n float ndl = dot(N, normalize(lightDirection)) * shadowContrib;\n\n tone += lightTone * clamp(ndl, 0.0, 1.0);\n }\n#endif\n\n gl_FragColor = mix(inkColor, paperColor, shade(clamp(tone, 0.0, 1.0)));\n }\n@end\n"},function(e,t,n){"use strict";t["a"]="@export ecgl.sm.depth.vertex\n\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\n\nattribute vec3 position : POSITION;\nattribute vec2 texcoord : TEXCOORD_0;\n\n#ifdef VERTEX_ANIMATION\nattribute vec3 prevPosition;\nuniform float percent : 1.0;\n#endif\n\nvarying vec4 v_ViewPosition;\nvarying vec2 v_Texcoord;\n\nvoid main(){\n\n#ifdef VERTEX_ANIMATION\n vec3 pos = mix(prevPosition, position, percent);\n#else\n vec3 pos = position;\n#endif\n\n v_ViewPosition = worldViewProjection * vec4(pos, 1.0);\n gl_Position = v_ViewPosition;\n\n v_Texcoord = texcoord;\n\n}\n@end\n\n\n\n@export ecgl.sm.depth.fragment\n\n@import clay.sm.depth.fragment\n\n@end"},function(e,t,n){"use strict";var r=n(0),i=n.n(r),a=["bar3D","line3D","map3D","scatter3D","surface","lines3D","scatterGL","scatter3D"];function o(e,t){if(e&&e[t]&&(e[t].normal||e[t].emphasis)){var n=e[t].normal,r=e[t].emphasis;n&&(e[t]=n),r&&(e.emphasis=e.emphasis||{},e.emphasis[t]=r)}}function s(e){o(e,"itemStyle"),o(e,"lineStyle"),o(e,"areaStyle"),o(e,"label")}function l(e){e&&(e instanceof Array||(e=[e]),i.a.util.each(e,(function(e){if(e.axisLabel){var t=e.axisLabel;i.a.util.extend(t,t.textStyle),t.textStyle=null}})))}t["a"]=function(e){i.a.util.each(e.series,(function(t){i.a.util.indexOf(a,t.type)>=0&&(s(t),"mapbox"===t.coordinateSystem&&(t.coordinateSystem="mapbox3D",e.mapbox3D=e.mapbox))})),l(e.xAxis3D),l(e.yAxis3D),l(e.zAxis3D),l(e.grid3D),o(e.geo3D)}},function(e,t,n){"use strict";n(154),n(158),n(159),n(166);var r=n(0),i=n.n(r);i.a.registerAction({type:"grid3DChangeCamera",event:"grid3dcamerachanged",update:"series:updateCamera"},(function(e,t){t.eachComponent({mainType:"grid3D",query:e},(function(t){t.setView(e)}))})),i.a.registerAction({type:"grid3DShowAxisPointer",event:"grid3dshowaxispointer",update:"grid3D:showAxisPointer"},(function(e,t){})),i.a.registerAction({type:"grid3DHideAxisPointer",event:"grid3dhideaxispointer",update:"grid3D:hideAxisPointer"},(function(e,t){}))},function(e,t,n){"use strict";var r=n(0),i=n.n(r),a=n(155),o=i.a.extendComponentModel({type:"cartesian3DAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid3D",index:this.option.gridIndex,id:this.option.gridId})[0]}});function s(e,t){return t.type||(t.data?"category":"value")}i.a.helper.mixinAxisModelCommonMethods(o),Object(a["a"])("x",o,s,{name:"X"}),Object(a["a"])("y",o,s,{name:"Y"}),Object(a["a"])("z",o,s,{name:"Z"})},function(e,t,n){"use strict";var r=n(0),i=n.n(r),a=n(156),o=n(157),s=n.n(o),l=["value","category","time","log"];t["a"]=function(e,t,n,r){i.a.util.each(l,(function(o){t.extend({type:e+"Axis3D."+o,__ordinalMeta:null,mergeDefaultAndTheme:function(t,r){var a=r.getTheme();i.a.util.merge(t,a.get(o+"Axis3D")),i.a.util.merge(t,this.getDefaultOption()),t.type=n(e,t)},optionUpdated:function(){var e=this.option;"category"===e.type&&(this.__ordinalMeta=s.a.createByAxisModel(this))},getCategories:function(){if("category"===this.option.type)return this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:i.a.util.merge(i.a.util.clone(a["a"][o+"Axis3D"]),r||{},!0)})})),t.superClass.registerSubTypeDefaulter(e+"Axis3D",i.a.util.curry(n,e))}},function(e,t,n){"use strict";var r=n(0),i=n.n(r),a={show:!0,grid3DIndex:0,inverse:!1,name:"",nameLocation:"middle",nameTextStyle:{fontSize:16},nameGap:20,axisPointer:{},axisLine:{},axisTick:{},axisLabel:{},splitArea:{}},o=i.a.util.merge({boundaryGap:!0,axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"},axisPointer:{label:{show:!1}}},a),s=i.a.util.merge({boundaryGap:[0,0],splitNumber:5,axisPointer:{label:{}}},a),l=i.a.util.defaults({scale:!0,min:"dataMin",max:"dataMax"},s),c=i.a.util.defaults({logBase:10},s);c.scale=!0,t["a"]={categoryAxis3D:o,valueAxis3D:s,timeAxis3D:l,logAxis3D:c}},function(e,t,n){var r=n(16),i=r.createHashMap,a=r.isObject,o=r.map;function s(e){this.categories=e.categories||[],this._needCollect=e.needCollect,this._deduplication=e.deduplication,this._map}s.createByAxisModel=function(e){var t=e.option,n=t.data,r=n&&o(n,u);return new s({categories:r,needCollect:!r,deduplication:!1!==t.dedplication})};var l=s.prototype;function c(e){return e._map||(e._map=i(e.categories))}function u(e){return a(e)&&null!=e.value?e.value:e+""}l.getOrdinal=function(e){return c(this).get(e)},l.parseAndCollect=function(e){var t,n=this._needCollect;if("string"!==typeof e&&!n)return e;if(n&&!this._deduplication)return t=this.categories.length,this.categories[t]=e,t;var r=c(this);return t=r.get(e),null==t&&(n?(t=this.categories.length,this.categories[t]=e,r.set(e,t)):t=NaN),t};var d=s;e.exports=d},function(e,t,n){"use strict";var r=n(0),i=n.n(r),a=n(44),o=n(28),s=n(29),l=i.a.extendComponentModel({type:"grid3D",dependencies:["xAxis3D","yAxis3D","zAxis3D"],defaultOption:{show:!0,zlevel:-10,left:0,top:0,width:"100%",height:"100%",environment:"auto",boxWidth:100,boxHeight:100,boxDepth:100,axisPointer:{show:!0,lineStyle:{color:"rgba(0, 0, 0, 0.8)",width:1},label:{show:!0,formatter:null,margin:8,textStyle:{fontSize:14,color:"#fff",backgroundColor:"rgba(0,0,0,0.5)",padding:3,borderRadius:3}}},axisLine:{show:!0,lineStyle:{color:"#333",width:2,type:"solid"}},axisTick:{show:!0,inside:!1,length:3,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,margin:8,textStyle:{fontSize:12}},splitLine:{show:!0,lineStyle:{color:["#ccc"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}},light:{main:{alpha:30,beta:40},ambient:{intensity:.4}},viewControl:{alpha:20,beta:40,autoRotate:!1,distance:200,minDistance:40,maxDistance:400}}});i.a.util.merge(l.prototype,a["a"]),i.a.util.merge(l.prototype,o["a"]),i.a.util.merge(l.prototype,s["a"])},function(e,t,n){"use strict";var r=n(0),i=n.n(r),a=n(1),o=n(45),s=n(25),l=n(2),c=n(82),u=n(30),d=n(161),h=n(163),p=n(62),f=n(46),_=l["a"].firstNotNull;a["a"].Shader.import(f["a"]),["x","y","z"].forEach((function(e){i.a.extendComponentView({type:e+"Axis3D"})}));var m={x:0,y:2,z:1};i.a.extendComponentView({type:"grid3D",__ecgl__:!0,init:function(e,t){var n=[["y","z","x",-1,"left"],["y","z","x",1,"right"],["x","y","z",-1,"bottom"],["x","y","z",1,"top"],["x","z","y",-1,"far"],["x","z","y",1,"near"]],r=["x","y","z"],i=new a["a"].Material({shader:a["a"].createShader("ecgl.color"),depthMask:!1,transparent:!0}),l=new a["a"].Material({shader:a["a"].createShader("ecgl.meshLines3D"),depthMask:!1,transparent:!0});i.define("fragment","DOUBLE_SIDED"),i.define("both","VERTEX_COLOR"),this.groupGL=new a["a"].Node,this._control=new o["a"]({zr:t.getZr()}),this._control.init(),this._faces=n.map((function(e){var t=new d["a"](e,l,i);return this.groupGL.add(t.rootNode),t}),this),this._axes=r.map((function(e){var t=new h["a"](e,l);return this.groupGL.add(t.rootNode),t}),this);var f=t.getDevicePixelRatio();this._axisLabelSurface=new c["a"]({width:256,height:256,devicePixelRatio:f}),this._axisLabelSurface.onupdate=function(){t.getZr().refresh()},this._axisPointerLineMesh=new a["a"].Mesh({geometry:new s["a"]({useNativeLine:!1}),material:l,castShadow:!1,ignorePicking:!0,renderOrder:3}),this.groupGL.add(this._axisPointerLineMesh),this._axisPointerLabelsSurface=new c["a"]({width:128,height:128,devicePixelRatio:f}),this._axisPointerLabelsMesh=new p["a"]({ignorePicking:!0,renderOrder:4,castShadow:!1}),this._axisPointerLabelsMesh.material.set("textureAtlas",this._axisPointerLabelsSurface.getTexture()),this.groupGL.add(this._axisPointerLabelsMesh),this._lightRoot=new a["a"].Node,this._sceneHelper=new u["a"],this._sceneHelper.initLight(this._lightRoot)},render:function(e,t,n){this._model=e,this._api=n;var r=e.coordinateSystem;r.viewGL.add(this._lightRoot),e.get("show")?r.viewGL.add(this.groupGL):r.viewGL.remove(this.groupGL);var i=this._control;i.setViewGL(r.viewGL);var a=e.getModel("viewControl");i.setFromViewControlModel(a,0),this._axisLabelSurface.clear(),i.off("update"),e.get("show")&&(this._faces.forEach((function(r){r.update(e,t,n)}),this),this._axes.forEach((function(t){t.update(e,this._axisLabelSurface,n)}),this)),i.on("update",this._onCameraChange.bind(this,e,n),this),this._sceneHelper.setScene(r.viewGL.scene),this._sceneHelper.updateLight(e),r.viewGL.setPostEffect(e.getModel("postEffect"),n),r.viewGL.setTemporalSuperSampling(e.getModel("temporalSuperSampling")),this._initMouseHandler(e)},afterRender:function(e,t,n,r){var i=r.renderer;this._sceneHelper.updateAmbientCubemap(i,e,n),this._sceneHelper.updateSkybox(i,e,n)},showAxisPointer:function(e,t,n,r){this._doShowAxisPointer(),this._updateAxisPointer(r.value)},hideAxisPointer:function(e,t,n,r){this._doHideAxisPointer()},_initMouseHandler:function(e){var t=e.coordinateSystem,n=t.viewGL;e.get("show")&&e.get("axisPointer.show")?n.on("mousemove",this._updateAxisPointerOnMousePosition,this):n.off("mousemove",this._updateAxisPointerOnMousePosition)},_updateAxisPointerOnMousePosition:function(e){if(!e.target){for(var t,n=this._model,r=n.coordinateSystem,i=r.viewGL,o=i.castRay(e.offsetX,e.offsetY,new a["a"].Ray),s=0;sr[1]?0:1,l=this._faces[2*n+s],c=this._faces[2*n+1-s];l.rootNode.invisible=!0,c.rootNode.invisible=!1}},_updateAxisLinePosition:function(){var e=this._model.coordinateSystem,t=e.getAxis("x"),n=e.getAxis("y"),r=e.getAxis("z"),i=r.getExtentMax(),a=r.getExtentMin(),o=t.getExtentMin(),s=t.getExtentMax(),l=n.getExtentMax(),c=n.getExtentMin(),u=this._axes[0].rootNode,d=this._axes[1].rootNode,h=this._axes[2].rootNode,p=this._faces,f=p[4].rootNode.invisible?c:l,_=p[2].rootNode.invisible?i:a,m=p[0].rootNode.invisible?o:s,g=p[2].rootNode.invisible?i:a,v=p[0].rootNode.invisible?s:o,y=p[4].rootNode.invisible?c:l;u.rotation.identity(),d.rotation.identity(),h.rotation.identity(),p[4].rootNode.invisible&&(this._axes[0].flipped=!0,u.rotation.rotateX(Math.PI)),p[0].rootNode.invisible&&(this._axes[1].flipped=!0,d.rotation.rotateZ(Math.PI)),p[4].rootNode.invisible&&(this._axes[2].flipped=!0,h.rotation.rotateY(Math.PI)),u.position.set(0,_,f),d.position.set(m,g,0),h.position.set(v,0,y),u.update(),d.update(),h.update(),this._updateAxisLabelAlign()},_updateAxisLabelAlign:function(){var e=this._control.getCamera(),t=[new a["a"].Vector4,new a["a"].Vector4],n=new a["a"].Vector4;this.groupGL.getWorldPosition(n),n.w=1,n.transformMat4(e.viewMatrix).transformMat4(e.projectionMatrix),n.x/=n.w,n.y/=n.w,this._axes.forEach((function(r){for(var i=r.axisLineCoords,a=(r.labelsMesh.geometry,0);an.y?"bottom":"top"):(s="middle",o=u>n.x?"left":"right"),r.setSpriteAlign(o,s,this._api)}),this)},_doShowAxisPointer:function(){this._axisPointerLineMesh.invisible&&(this._axisPointerLineMesh.invisible=!1,this._axisPointerLabelsMesh.invisible=!1,this._api.getZr().refresh())},_doHideAxisPointer:function(){this._axisPointerLineMesh.invisible||(this._axisPointerLineMesh.invisible=!0,this._axisPointerLabelsMesh.invisible=!0,this._api.getZr().refresh())},_updateAxisPointer:function(e){var t=this._model.coordinateSystem,n=t.dataToPoint(e),r=this._axisPointerLineMesh,i=r.geometry,o=this._model.getModel("axisPointer"),s=this._api.getDevicePixelRatio();function c(e){return l["a"].firstNotNull(e.model.get("axisPointer.show"),o.get("show"))}function u(e){var t=e.model.getModel("axisPointer",o),n=t.getModel("lineStyle"),r=a["a"].parseColor(n.get("color")),i=_(n.get("width"),1),s=_(n.get("opacity"),1);return r[3]*=s,{color:r,lineWidth:i}}i.convertToDynamicArray(!0);for(var d=0;d0&&e.rotation.rotateY(Math.PI),t.normal.z=-r)}function h(e,t,n){this.rootNode=new a["a"].Node;var r=new a["a"].Mesh({geometry:new s["a"]({useNativeLine:!1}),material:t,castShadow:!1,ignorePicking:!0,$ignorePicking:!0,renderOrder:1}),i=new a["a"].Mesh({geometry:new l["a"],material:n,castShadow:!1,culling:!1,ignorePicking:!0,$ignorePicking:!0,renderOrder:0});this.rootNode.add(i),this.rootNode.add(r),this.faceInfo=e,this.plane=new a["a"].Plane,this.linesMesh=r,this.quadsMesh=i}h.prototype.update=function(e,t,n){var r=e.coordinateSystem,i=[r.getAxis(this.faceInfo[0]),r.getAxis(this.faceInfo[1])],a=this.linesMesh.geometry,o=this.quadsMesh.geometry;a.convertToDynamicArray(!0),o.convertToDynamicArray(!0),this._updateSplitLines(a,i,e,n),this._udpateSplitAreas(o,i,e,n),a.convertToTypedArray(),o.convertToTypedArray();var s=r.getAxis(this.faceInfo[2]);d(this.rootNode,this.plane,s,this.faceInfo[3])},h.prototype._updateSplitLines=function(e,t,n,r){var o=r.getDevicePixelRatio();t.forEach((function(r,s){var l=r.model,u=t[1-s].getExtent();if(!r.scale.isBlank()){var d=l.getModel("splitLine",n.getModel("splitLine"));if(d.get("show")){var h=d.getModel("lineStyle"),p=h.get("color"),f=c(h.get("opacity"),1),_=c(h.get("width"),1);p=i.a.util.isArray(p)?p:[p];for(var m=r.getTicksCoords({tickModel:d}),g=0,v=0;v65535?new Uint32Array(3*r):new Uint16Array(3*r))},getQuadVertexCount:function(){return 4},getQuadTriangleCount:function(){return 2},addQuad:function(){var e=l.create(),t=l.create(),n=l.create(),r=[0,3,1,3,2,1];return function(i,a){var o=this.attributes.position,s=this.attributes.normal,c=this.attributes.color;l.sub(e,i[1],i[0]),l.sub(t,i[2],i[1]),l.cross(n,e,t),l.normalize(n,n);for(var u=0;u<4;u++)o.set(this._vertexOffset+u,i[u]),c.set(this._vertexOffset+u,a),s.set(this._vertexOffset+u,n);var d=3*this._faceOffset;for(u=0;u<6;u++)this.indices[d+u]=r[u]+this._vertexOffset;this._vertexOffset+=4,this._faceOffset+=2}}()});a.a.util.defaults(c.prototype,o["a"]),t["a"]=c},function(e,t,n){"use strict";var r=n(0),i=n.n(r),a=n(1),o=n(25),s=n(2),l=n(62),c=s["a"].firstNotNull,u={x:0,y:2,z:1};function d(e,t){var n=new a["a"].Mesh({geometry:new o["a"]({useNativeLine:!1}),material:t,castShadow:!1,ignorePicking:!0,renderOrder:2}),r=new l["a"];r.material.depthMask=!1;var i=new a["a"].Node;i.add(n),i.add(r),this.rootNode=i,this.dim=e,this.linesMesh=n,this.labelsMesh=r,this.axisLineCoords=null,this.labelElements=[]}var h={x:"y",y:"x",z:"y"};d.prototype.update=function(e,t,n){var r=e.coordinateSystem,o=r.getAxis(this.dim),s=this.linesMesh.geometry,l=this.labelsMesh.geometry;s.convertToDynamicArray(!0),l.convertToDynamicArray(!0);var d=o.model,p=o.getExtent(),f=n.getDevicePixelRatio(),_=d.getModel("axisLine",e.getModel("axisLine")),m=d.getModel("axisTick",e.getModel("axisTick")),g=d.getModel("axisLabel",e.getModel("axisLabel")),v=_.get("lineStyle.color");if(_.get("show")){var y=_.getModel("lineStyle"),b=[0,0,0],S=[0,0,0],E=u[o.dim];b[E]=p[0],S[E]=p[1],this.axisLineCoords=[b,S];var x=a["a"].parseColor(v),T=c(y.get("width"),1),C=c(y.get("opacity"),1);x[3]*=C,s.addLine(b,S,x,T*f)}if(m.get("show")){var A=m.getModel("lineStyle"),w=a["a"].parseColor(c(A.get("color"),v));T=c(A.get("width"),1);w[3]*=c(A.get("opacity"),1);for(var O=o.getTicksCoords(),R=m.get("length"),I=0;I65535?new Uint32Array(3*n):new Uint16Array(3*n))},setSpriteAlign:function(e,t,n,r,i){var a,o,s,l;switch(null==n&&(n="left"),null==r&&(r="top"),i=i||0,n){case"left":a=i,s=t[0]+i;break;case"center":case"middle":a=-t[0]/2,s=t[0]/2;break;case"right":a=-t[0]-i,s=-i;break}switch(r){case"bottom":o=i,l=t[1]+i;break;case"middle":o=-t[1]/2,l=t[1]/2;break;case"top":o=-t[1]-i,l=-i;break}var c=4*e,u=this.attributes.offset;u.set(c,[a,l]),u.set(c+1,[s,l]),u.set(c+2,[s,o]),u.set(c+3,[a,o])},addSprite:function(e,t,n,r,i,a){var o=this._vertexOffset;this.setSprite(this._vertexOffset/4,e,t,n,r,i,a);for(var l=0;l1?"."+e[1]:""))}function s(e,t){return e=(e||"").toLowerCase().replace(/-(.)/g,(function(e,t){return t.toUpperCase()})),t&&e&&(e=e.charAt(0).toUpperCase()+e.slice(1)),e}var l=r.normalizeCssArray,c=/([&<>"'])/g,u={"&":"&","<":"<",">":">",'"':""","'":"'"};function d(e){return null==e?"":(e+"").replace(c,(function(e,t){return u[t]}))}var h=["a","b","c","d","e","f","g"],p=function(e,t){return"{"+e+(null==t?"":t)+"}"};function f(e,t,n){r.isArray(t)||(t=[t]);var i=t.length;if(!i)return"";for(var a=t[0].$vars||[],o=0;o':'':{renderMode:a,content:"{marker"+o+"|} ",style:{color:n}}:""}function g(e,t){return e+="","0000".substr(0,t-e.length)+e}function v(e,t,n){"week"!==e&&"month"!==e&&"quarter"!==e&&"half-year"!==e&&"year"!==e||(e="MM-dd\nyyyy");var r=a.parseDate(t),i=n?"UTC":"",o=r["get"+i+"FullYear"](),s=r["get"+i+"Month"]()+1,l=r["get"+i+"Date"](),c=r["get"+i+"Hours"](),u=r["get"+i+"Minutes"](),d=r["get"+i+"Seconds"](),h=r["get"+i+"Milliseconds"]();return e=e.replace("MM",g(s,2)).replace("M",s).replace("yyyy",o).replace("yy",o%100).replace("dd",g(l,2)).replace("d",l).replace("hh",g(c,2)).replace("h",c).replace("mm",g(u,2)).replace("m",u).replace("ss",g(d,2)).replace("s",d).replace("SSS",g(h,3)),e}function y(e){return e?e.charAt(0).toUpperCase()+e.substr(1):e}var b=i.truncateText;function S(e){return i.getBoundingRect(e.text,e.font,e.textAlign,e.textVerticalAlign,e.textPadding,e.textLineHeight,e.rich,e.truncate)}function E(e,t,n,r,a,o,s,l){return i.getBoundingRect(e,t,n,r,a,l,o,s)}t.addCommas=o,t.toCamelCase=s,t.normalizeCssArray=l,t.encodeHTML=d,t.formatTpl=f,t.formatTplSimple=_,t.getTooltipMarker=m,t.formatTime=v,t.capitalFirst=y,t.truncateText=b,t.getTextBoundingRect=S,t.getTextRect=E},function(e,t,n){var r=n(83),i=n(174),a=n(16),o=a.getContext,s=a.extend,l=a.retrieve2,c=a.retrieve3,u=a.trim,d={},h=0,p=5e3,f=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,_="12px sans-serif",m={};function g(e,t){m[e]=t}function v(e,t){t=t||_;var n=e+":"+t;if(d[n])return d[n];for(var r=(e+"").split("\n"),i=0,a=0,o=r.length;ap&&(h=0,d={}),h++,d[n]=i,i}function y(e,t,n,r,i,a,o,s){return o?S(e,t,n,r,i,a,o,s):b(e,t,n,r,i,a,s)}function b(e,t,n,i,a,o,s){var l=M(e,t,a,o,s),c=v(e,t);a&&(c+=a[1]+a[3]);var u=l.outerHeight,d=E(0,c,n),h=x(0,u,i),p=new r(d,h,c,u);return p.lineHeight=l.lineHeight,p}function S(e,t,n,i,a,o,s,l){var c=D(e,{rich:s,truncate:l,font:t,textAlign:n,textPadding:a,textLineHeight:o}),u=c.outerWidth,d=c.outerHeight,h=E(0,u,n),p=x(0,d,i);return new r(h,p,u,d)}function E(e,t,n){return"right"===n?e-=t:"center"===n&&(e-=t/2),e}function x(e,t,n){return"middle"===n?e-=t/2:"bottom"===n&&(e-=t),e}function T(e,t,n){var r=t.textPosition,i=t.textDistance,a=n.x,o=n.y,s=n.height,l=n.width,c=s/2,u="left",d="top";switch(r){case"left":a-=i,o+=c,u="right",d="middle";break;case"right":a+=i+l,o+=c,d="middle";break;case"top":a+=l/2,o-=i,u="center",d="bottom";break;case"bottom":a+=l/2,o+=s+i,u="center";break;case"inside":a+=l/2,o+=c,u="center",d="middle";break;case"insideLeft":a+=i,o+=c,d="middle";break;case"insideRight":a+=l-i,o+=c,u="right",d="middle";break;case"insideTop":a+=l/2,o+=i,u="center";break;case"insideBottom":a+=l/2,o+=s-i,u="center",d="bottom";break;case"insideTopLeft":a+=i,o+=i;break;case"insideTopRight":a+=l-i,o+=i,u="right";break;case"insideBottomLeft":a+=i,o+=s-i,d="bottom";break;case"insideBottomRight":a+=l-i,o+=s-i,u="right",d="bottom";break}return e=e||{},e.x=a,e.y=o,e.textAlign=u,e.textVerticalAlign=d,e}function C(e,t,n){var r={textPosition:e,textDistance:n};return T({},r,t)}function A(e,t,n,r,i){if(!t)return"";var a=(e+"").split("\n");i=w(t,n,r,i);for(var o=0,s=a.length;o=a;c++)o-=a;var u=v(n,t);return u>o&&(n="",u=0),o=e-u,r.ellipsis=n,r.ellipsisWidth=u,r.contentWidth=o,r.containerWidth=e,r}function O(e,t){var n=t.containerWidth,r=t.font,i=t.contentWidth;if(!n)return"";var a=v(e,r);if(a<=n)return e;for(var o=0;;o++){if(a<=i||o>=t.maxIterations){e+=t.ellipsis;break}var s=0===o?R(e,i,t.ascCharWidth,t.cnCharWidth):a>0?Math.floor(e.length*i/a):0;e=e.substr(0,s),a=v(e,r)}return""===e&&(e=t.placeholder),e}function R(e,t,n,r){for(var i=0,a=0,o=e.length;au)e="",o=[];else if(null!=d)for(var h=w(d-(n?n[1]+n[3]:0),t,i.ellipsis,{minChar:i.minChar,placeholder:i.placeholder}),p=0,f=o.length;pa&&L(n,e.substring(a,o)),L(n,r[2],r[1]),a=f.lastIndex}ag)return{lines:[],width:0,height:0};T.textWidth=v(T.text,O);var N=C.textWidth,M=null==N||"auto"===N;if("string"===typeof N&&"%"===N.charAt(N.length-1))T.percentWidth=N,h.push(T),N=0;else{if(M){N=T.textWidth;var D=C.textBackgroundColor,P=D&&D.image;P&&(P=i.findExistImage(P),i.isImageReady(P)&&(N=Math.max(N,P.width*R/P.height)))}var k=w?w[1]+w[3]:0;N+=k;var F=null!=m?m-E:null;null!=F&&F=this._maxSize&&o>0){var l=n.head;n.remove(l),delete r[l.key],a=l.value,this._lastRemovedEntry=l}s?s.value=t:s=new i(t),s.key=e,n.insertEntry(s),r[e]=s}return a},o.get=function(e){var t=this._map[e],n=this._list;if(null!=t)return t!==n.tail&&(n.remove(t),n.insertEntry(t)),t.value},o.clear=function(){this._list.clear(),this._map={}};var s=a;e.exports=s},function(e,t,n){"use strict";var r=n(8),i=n(11),a=n(3),o=n(18),s=n(59),l=n(7),c=n(52),u=n(9),d=n(19),h=n(10),p=n(4),f=n(5),_=n(27),m=n(37),g=n(38),v=n(15),y=n(85),b=n(21),S=n(177),E=["px","nx","py","ny","pz","nz"];function x(e,t,n){if("alphaMap"===n)return e.material.get("diffuseMap");if("alphaCutoff"===n){if(e.material.isDefined("fragment","ALPHA_TEST")&&e.material.get("diffuseMap")){var r=e.material.get("alphaCutoff");return r||0}return 0}return"uvRepeat"===n?e.material.get("uvRepeat"):"uvOffset"===n?e.material.get("uvOffset"):t.get(n)}function T(e,t){var n=e.material,r=t.material;return n.get("diffuseMap")!==r.get("diffuseMap")||(n.get("alphaCutoff")||0)!==(r.get("alphaCutoff")||0)}u["a"]["import"](S["a"]);var C=r["a"].extend((function(){return{softShadow:C.PCF,shadowBlur:1,lightFrustumBias:"auto",kernelPCF:new Float32Array([1,0,1,1,-1,1,0,1,-1,0,-1,-1,1,-1,0,-1]),precision:"highp",_lastRenderNotCastShadow:!1,_frameBuffer:new h["a"],_textures:{},_shadowMapNumber:{POINT_LIGHT:0,DIRECTIONAL_LIGHT:0,SPOT_LIGHT:0},_depthMaterials:{},_distanceMaterials:{},_receivers:[],_lightsCastShadow:[],_lightCameras:{},_lightMaterials:{},_texturePool:new y["a"]}}),(function(){this._gaussianPassH=new v["a"]({fragment:u["a"].source("clay.compositor.gaussian_blur")}),this._gaussianPassV=new v["a"]({fragment:u["a"].source("clay.compositor.gaussian_blur")}),this._gaussianPassH.setUniform("blurSize",this.shadowBlur),this._gaussianPassH.setUniform("blurDir",0),this._gaussianPassV.setUniform("blurSize",this.shadowBlur),this._gaussianPassV.setUniform("blurDir",1),this._outputDepthPass=new v["a"]({fragment:u["a"].source("clay.sm.debug_depth")})}),{render:function(e,t,n,r){n||(n=t.getMainCamera()),this.trigger("beforerender",this,e,t,n),this._renderShadowPass(e,t,n,r),this.trigger("afterrender",this,e,t,n)},renderDebug:function(e,t){e.saveClear();var n=e.viewport,r=0,i=0,a=t||n.width/4,o=a;for(var s in this.softShadow===C.VSM?this._outputDepthPass.material.define("fragment","USE_VSM"):this._outputDepthPass.material.undefine("fragment","USE_VSM"),this._textures){var l=this._textures[s];e.setViewport(r,i,a*l.width/l.height,o),this._outputDepthPass.setUniform("depthMap",l),this._outputDepthPass.render(e),r+=a*l.width/l.height}e.setViewport(n),e.restoreClear()},_updateReceivers:function(e,t){if(t.receiveShadow?(this._receivers.push(t),t.material.set("shadowEnabled",1),t.material.set("pcfKernel",this.kernelPCF)):t.material.set("shadowEnabled",0),this.softShadow===C.VSM)t.material.define("fragment","USE_VSM"),t.material.undefine("fragment","PCF_KERNEL_SIZE");else{t.material.undefine("fragment","USE_VSM");var n=this.kernelPCF;n&&n.length?t.material.define("fragment","PCF_KERNEL_SIZE",n.length/2):t.material.undefine("fragment","PCF_KERNEL_SIZE")}},_update:function(e,t){var n=this;t.traverse((function(t){t.isRenderable()&&n._updateReceivers(e,t)}));for(var r=0;r4){console.warn("Support at most 4 cascade");continue}f.shadowCascade>1&&(o=f),this.renderDirectionalLightShadow(e,t,n,f,d,u,c)}else"SPOT_LIGHT"===f.type?this.renderSpotLightShadow(e,t,f,l,s):"POINT_LIGHT"===f.type&&this.renderPointLightShadow(e,t,f,h);this._shadowMapNumber[f.type]++}for(var _ in this._shadowMapNumber){var m=this._shadowMapNumber[_],g=_+"_SHADOWMAP_COUNT";for(p=0;p0?y.define("fragment",g,m):y.isDefined("fragment",g)&&y.undefine("fragment",g))}}for(p=0;p0){var S=c.map(C);if(b.directionalLightShadowMaps={value:c,type:"tv"},b.directionalLightMatrices={value:u,type:"m4v"},b.directionalLightShadowMapSizes={value:S,type:"1fv"},o){var E=d.slice(),x=d.slice();E.pop(),x.shift(),E.reverse(),x.reverse(),u.reverse(),b.shadowCascadeClipsNear={value:E,type:"1fv"},b.shadowCascadeClipsFar={value:x,type:"1fv"}}}if(s.length>0){var T=s.map(C);b=t.shadowUniforms;b.spotLightShadowMaps={value:s,type:"tv"},b.spotLightMatrices={value:l,type:"m4v"},b.spotLightShadowMapSizes={value:T,type:"1fv"}}h.length>0&&(b.pointLightShadowMaps={value:h,type:"tv"})}function C(e){return e.height}},renderDirectionalLightShadow:function(){var e=new s["a"],t=new l["a"],n=new o["a"],r=new l["a"],i=new l["a"],a=new l["a"],u=new l["a"];return function(o,s,d,h,p,f,_){var g=this._getDepthMaterial(h),v={getMaterial:function(e){return e.shadowDepthMaterial||g},isMaterialChanged:T,getUniform:x,ifRender:function(e){return e.castShadow},sortCompare:c["a"].opaqueSortCompare};if(!s.viewBoundingBoxLastFrame.isFinite()){var y=s.getBoundingBox();s.viewBoundingBoxLastFrame.copy(y).applyTransform(d.viewMatrix)}var S=Math.min(-s.viewBoundingBoxLastFrame.min.z,d.far),E=Math.max(-s.viewBoundingBoxLastFrame.max.z,d.near),A=this._getDirectionalLightCamera(h,s,d),w=a.array;u.copy(A.projectionMatrix),b["a"].invert(i.array,A.worldTransform.array),b["a"].multiply(i.array,i.array,d.worldTransform.array),b["a"].multiply(w,u.array,i.array);for(var O=[],R=d instanceof m["a"],I=(d.near+d.far)/(d.near-d.far),N=2*d.near*d.far/(d.near-d.far),M=0;M<=h.shadowCascade;M++){var D=E*Math.pow(S/E,M/h.shadowCascade),L=E+(S-E)*M/h.shadowCascade,P=D*h.cascadeSplitLogFactor+L*(1-h.cascadeSplitLogFactor);O.push(P),p.push(-(-P*I+N)/-P)}var k=this._getTexture(h,h.shadowCascade);_.push(k);var F=o.viewport,B=o.gl;this._frameBuffer.attach(k),this._frameBuffer.bind(o),B.clear(B.COLOR_BUFFER_BIT|B.DEPTH_BUFFER_BIT);for(M=0;Ml?s>c?g[i>0?"px":"nx"]=!0:g[o>0?"pz":"nz"]=!0:l>c?g[a>0?"py":"ny"]=!0:g[o>0?"pz":"nz"]=!0}for(n=0;n=0||(this.nodes.push(e),this._dirty=!0)},removeNode:function(e){"string"===typeof e&&(e=this.getNodeByName(e));var t=this.nodes.indexOf(e);t>=0&&(this.nodes.splice(t,1),this._dirty=!0)},getNodeByName:function(e){for(var t=0;t=n.COLOR_ATTACHMENT0&&c<=n.COLOR_ATTACHMENT0+8&&d.push(c);u.drawBuffersEXT(d)}e.saveClear(),e.clearBit=i["a"].DEPTH_BUFFER_BIT|i["a"].COLOR_BUFFER_BIT,t=e.render(this.scene,this.camera,!this.autoUpdateScene,this.preZ),e.restoreClear(),r.unbind(e)}else t=e.render(this.scene,this.camera,!this.autoUpdateScene,this.preZ);this.trigger("afterrender",t),this._rendering=!1,this._rendered=!0}});t["a"]=o},function(e,t,n){"use strict";var r=n(48),i=r["a"].extend((function(){return{texture:null,outputs:{color:{}}}}),(function(){}),{getOutput:function(e,t){return this.texture},beforeFrame:function(){},afterFrame:function(){}});t["a"]=i},function(e,t,n){"use strict";var r=n(15),i=n(48),a=i["a"].extend((function(){return{name:"",inputs:{},outputs:null,shader:"",inputLinks:{},outputLinks:{},pass:null,_prevOutputTextures:{},_outputTextures:{},_outputReferences:{},_rendering:!1,_rendered:!1,_compositor:null}}),(function(){var e=new r["a"]({fragment:this.shader});this.pass=e}),{render:function(e,t){this.trigger("beforerender",e),this._rendering=!0;var n=e.gl;for(var r in this.inputLinks){var i=this.inputLinks[r],a=i.node.getOutput(e,i.pin);this.pass.setUniform(r,a)}if(this.outputs){this.pass.outputs={};var o={};for(var s in this.outputs){var l=this.updateParameter(s,e);isNaN(l.width)&&this.updateParameter(s,e);var c=this.outputs[s],u=this._compositor.allocateTexture(l);this._outputTextures[s]=u;var d=c.attachment||n.COLOR_ATTACHMENT0;"string"===typeof d&&(d=n[d]),o[d]=u}for(var d in this._compositor.getFrameBuffer().bind(e),o)this._compositor.getFrameBuffer().attach(o[d],d);this.pass.render(e),this._compositor.getFrameBuffer().updateMipmap(e)}else this.pass.outputs=null,this._compositor.getFrameBuffer().unbind(e),this.pass.render(e,t);for(var r in this.inputLinks){i=this.inputLinks[r];i.node.removeReference(i.pin)}this._rendering=!1,this._rendered=!0,this.trigger("afterrender",e)},updateParameter:function(e,t){var n,r,i=this.outputs[e],a=i.parameters,o=i._parametersCopy;if(o||(o=i._parametersCopy={}),a)for(var s in a)"width"!==s&&"height"!==s&&(o[s]=a[s]);return n="function"===typeof a.width?a.width.call(this,t):a.width,r="function"===typeof a.height?a.height.call(this,t):a.height,n=Math.ceil(n),r=Math.ceil(r),o.width===n&&o.height===r||this._outputTextures[e]&&this._outputTextures[e].dispose(t),o.width=n,o.height=r,o},setParameter:function(e,t){this.pass.setUniform(e,t)},getParameter:function(e){return this.pass.getUniform(e)},setParameters:function(e){for(var t in e)this.setParameter(t,e[t])},define:function(e,t){this.pass.material.define("fragment",e,t)},undefine:function(e){this.pass.material.undefine("fragment",e)},removeReference:function(e){if(this._outputReferences[e]--,0===this._outputReferences[e]){var t=this.outputs[e];t.keepLastFrame?(this._prevOutputTextures[e]&&this._compositor.releaseTexture(this._prevOutputTextures[e]),this._prevOutputTextures[e]=this._outputTextures[e]):this._compositor.releaseTexture(this._outputTextures[e])}},clear:function(){i["a"].prototype.clear.call(this),this.pass.material.disableTexturesAll()}});t["a"]=a},function(e,t,n){"use strict";t["a"]=m;var r=n(187),i=n(86),a=n(188),o=n(87),s=n(189),l=n(88),c=n(89),u=n(90),d=n(91),h=n(92),p=n(190),f=n(93),_=n(94);function m(e){e["import"](r["a"]),e["import"](i["a"]),e["import"](a["a"]),e["import"](o["a"]),e["import"](s["a"]),e["import"](l["a"]),e["import"](c["a"]),e["import"](u["a"]),e["import"](d["a"]),e["import"](h["a"]),e["import"](p["a"]),e["import"](f["a"]),e["import"](_["a"])}},function(e,t,n){"use strict";t["a"]="@export clay.compositor.coloradjust\nvarying vec2 v_Texcoord;\nuniform sampler2D texture;\nuniform float brightness : 0.0;\nuniform float contrast : 1.0;\nuniform float exposure : 0.0;\nuniform float gamma : 1.0;\nuniform float saturation : 1.0;\nconst vec3 w = vec3(0.2125, 0.7154, 0.0721);\nvoid main()\n{\n vec4 tex = texture2D( texture, v_Texcoord);\n vec3 color = clamp(tex.rgb + vec3(brightness), 0.0, 1.0);\n color = clamp( (color-vec3(0.5))*contrast+vec3(0.5), 0.0, 1.0);\n color = clamp( color * pow(2.0, exposure), 0.0, 1.0);\n color = clamp( pow(color, vec3(gamma)), 0.0, 1.0);\n float luminance = dot( color, w );\n color = mix(vec3(luminance), color, saturation);\n gl_FragColor = vec4(color, tex.a);\n}\n@end\n@export clay.compositor.brightness\nvarying vec2 v_Texcoord;\nuniform sampler2D texture;\nuniform float brightness : 0.0;\nvoid main()\n{\n vec4 tex = texture2D( texture, v_Texcoord);\n vec3 color = tex.rgb + vec3(brightness);\n gl_FragColor = vec4(color, tex.a);\n}\n@end\n@export clay.compositor.contrast\nvarying vec2 v_Texcoord;\nuniform sampler2D texture;\nuniform float contrast : 1.0;\nvoid main()\n{\n vec4 tex = texture2D( texture, v_Texcoord);\n vec3 color = (tex.rgb-vec3(0.5))*contrast+vec3(0.5);\n gl_FragColor = vec4(color, tex.a);\n}\n@end\n@export clay.compositor.exposure\nvarying vec2 v_Texcoord;\nuniform sampler2D texture;\nuniform float exposure : 0.0;\nvoid main()\n{\n vec4 tex = texture2D(texture, v_Texcoord);\n vec3 color = tex.rgb * pow(2.0, exposure);\n gl_FragColor = vec4(color, tex.a);\n}\n@end\n@export clay.compositor.gamma\nvarying vec2 v_Texcoord;\nuniform sampler2D texture;\nuniform float gamma : 1.0;\nvoid main()\n{\n vec4 tex = texture2D(texture, v_Texcoord);\n vec3 color = pow(tex.rgb, vec3(gamma));\n gl_FragColor = vec4(color, tex.a);\n}\n@end\n@export clay.compositor.saturation\nvarying vec2 v_Texcoord;\nuniform sampler2D texture;\nuniform float saturation : 1.0;\nconst vec3 w = vec3(0.2125, 0.7154, 0.0721);\nvoid main()\n{\n vec4 tex = texture2D(texture, v_Texcoord);\n vec3 color = tex.rgb;\n float luminance = dot(color, w);\n color = mix(vec3(luminance), color, saturation);\n gl_FragColor = vec4(color, tex.a);\n}\n@end"},function(e,t,n){"use strict";t["a"]="@export clay.compositor.hdr.log_lum\nvarying vec2 v_Texcoord;\nuniform sampler2D texture;\nconst vec3 w = vec3(0.2125, 0.7154, 0.0721);\n@import clay.util.rgbm\nvoid main()\n{\n vec4 tex = decodeHDR(texture2D(texture, v_Texcoord));\n float luminance = dot(tex.rgb, w);\n luminance = log(luminance + 0.001);\n gl_FragColor = encodeHDR(vec4(vec3(luminance), 1.0));\n}\n@end\n@export clay.compositor.hdr.lum_adaption\nvarying vec2 v_Texcoord;\nuniform sampler2D adaptedLum;\nuniform sampler2D currentLum;\nuniform float frameTime : 0.02;\n@import clay.util.rgbm\nvoid main()\n{\n float fAdaptedLum = decodeHDR(texture2D(adaptedLum, vec2(0.5, 0.5))).r;\n float fCurrentLum = exp(encodeHDR(texture2D(currentLum, vec2(0.5, 0.5))).r);\n fAdaptedLum += (fCurrentLum - fAdaptedLum) * (1.0 - pow(0.98, 30.0 * frameTime));\n gl_FragColor = encodeHDR(vec4(vec3(fAdaptedLum), 1.0));\n}\n@end\n@export clay.compositor.lum\nvarying vec2 v_Texcoord;\nuniform sampler2D texture;\nconst vec3 w = vec3(0.2125, 0.7154, 0.0721);\nvoid main()\n{\n vec4 tex = texture2D( texture, v_Texcoord );\n float luminance = dot(tex.rgb, w);\n gl_FragColor = vec4(vec3(luminance), 1.0);\n}\n@end"},function(e,t,n){"use strict";t["a"]="@export clay.compositor.vignette\n#define OUTPUT_ALPHA\nvarying vec2 v_Texcoord;\nuniform sampler2D texture;\nuniform float darkness: 1;\nuniform float offset: 1;\n@import clay.util.rgbm\nvoid main()\n{\n vec4 texel = decodeHDR(texture2D(texture, v_Texcoord));\n gl_FragColor.rgb = texel.rgb;\n vec2 uv = (v_Texcoord - vec2(0.5)) * vec2(offset);\n gl_FragColor = encodeHDR(vec4(mix(texel.rgb, vec3(1.0 - darkness), dot(uv, uv)), texel.a));\n}\n@end"},function(e,t,n){"use strict";t["a"]="@export clay.compositor.lensflare\n#define SAMPLE_NUMBER 8\nuniform sampler2D texture;\nuniform sampler2D lenscolor;\nuniform vec2 textureSize : [512, 512];\nuniform float dispersal : 0.3;\nuniform float haloWidth : 0.4;\nuniform float distortion : 1.0;\nvarying vec2 v_Texcoord;\n@import clay.util.rgbm\nvec4 textureDistorted(\n in vec2 texcoord,\n in vec2 direction,\n in vec3 distortion\n) {\n return vec4(\n decodeHDR(texture2D(texture, texcoord + direction * distortion.r)).r,\n decodeHDR(texture2D(texture, texcoord + direction * distortion.g)).g,\n decodeHDR(texture2D(texture, texcoord + direction * distortion.b)).b,\n 1.0\n );\n}\nvoid main()\n{\n vec2 texcoord = -v_Texcoord + vec2(1.0); vec2 textureOffset = 1.0 / textureSize;\n vec2 ghostVec = (vec2(0.5) - texcoord) * dispersal;\n vec2 haloVec = normalize(ghostVec) * haloWidth;\n vec3 distortion = vec3(-textureOffset.x * distortion, 0.0, textureOffset.x * distortion);\n vec4 result = vec4(0.0);\n for (int i = 0; i < SAMPLE_NUMBER; i++)\n {\n vec2 offset = fract(texcoord + ghostVec * float(i));\n float weight = length(vec2(0.5) - offset) / length(vec2(0.5));\n weight = pow(1.0 - weight, 10.0);\n result += textureDistorted(offset, normalize(ghostVec), distortion) * weight;\n }\n result *= texture2D(lenscolor, vec2(length(vec2(0.5) - texcoord)) / length(vec2(0.5)));\n float weight = length(vec2(0.5) - fract(texcoord + haloVec)) / length(vec2(0.5));\n weight = pow(1.0 - weight, 10.0);\n vec2 offset = fract(texcoord + haloVec);\n result += textureDistorted(offset, normalize(ghostVec), distortion) * weight;\n gl_FragColor = result;\n}\n@end"},function(e,t,n){"use strict";var r=n(7),i=n(3),a=n(5),o=n(4),s=n(15),l=n(9),c=n(10),u=n(49),d=n(192);function h(e){for(var t=new Uint8Array(e*e*4),n=0,r=new i["a"],a=0;a=1?.95:0,weight2:i>=1?.05:1}),f.render(e)),u.attach(l),h.setUniform("texture",this._physicallyCorrect?this._currentTexture:s),h.render(e),u.attach(c),p.setUniform("texture",l),p.render(e),u.unbind(e),this._physicallyCorrect){var v=this._prevTexture;this._prevTexture=this._currentTexture,this._currentTexture=v}},d.prototype.getTargetTexture=function(){return this._texture3},d.prototype.setParameter=function(e,t){"maxIteration"===e?this._ssrPass.material.define("fragment","MAX_ITERATION",t):this._ssrPass.setUniform(e,t)},d.prototype.setPhysicallyCorrect=function(e){e?(this._normalDistribution||(this._normalDistribution=c["a"].generateNormalDistribution(64,this._totalSamples)),this._ssrPass.material.define("fragment","PHYSICALLY_CORRECT"),this._ssrPass.material.set("normalDistribution",this._normalDistribution),this._ssrPass.material.set("normalDistributionSize",[64,this._totalSamples])):this._ssrPass.material.undefine("fragment","PHYSICALLY_CORRECT"),this._physicallyCorrect=e},d.prototype.setSSAOTexture=function(e){var t=this._blurPass2;e?(t.material.enableTexture("ssaoTex"),t.material.set("ssaoTex",e)):t.material.disableTexture("ssaoTex")},d.prototype.isFinished=function(e){return!this._physicallyCorrect||e>this._totalSamples/this._samplePerFrame},d.prototype.dispose=function(e){this._ssrTexture.dispose(e),this._texture2.dispose(e),this._texture3.dispose(e),this._prevTexture.dispose(e),this._currentTexture.dispose(e),this._frameBuffer.dispose(e)},t["a"]=d},function(e,t,n){"use strict";t["a"]="@export ecgl.ssr.main\n\n#define SHADER_NAME SSR\n#define MAX_ITERATION 20;\n#define SAMPLE_PER_FRAME 5;\n#define TOTAL_SAMPLES 128;\n\nuniform sampler2D sourceTexture;\nuniform sampler2D gBufferTexture1;\nuniform sampler2D gBufferTexture2;\nuniform sampler2D gBufferTexture3;\nuniform samplerCube specularCubemap;\nuniform float specularIntensity: 1;\n\nuniform mat4 projection;\nuniform mat4 projectionInv;\nuniform mat4 toViewSpace;\nuniform mat4 toWorldSpace;\n\nuniform float maxRayDistance: 200;\n\nuniform float pixelStride: 16;\nuniform float pixelStrideZCutoff: 50; \nuniform float screenEdgeFadeStart: 0.9; \nuniform float eyeFadeStart : 0.2; uniform float eyeFadeEnd: 0.8; \nuniform float minGlossiness: 0.2; uniform float zThicknessThreshold: 1;\n\nuniform float nearZ;\nuniform vec2 viewportSize : VIEWPORT_SIZE;\n\nuniform float jitterOffset: 0;\n\nvarying vec2 v_Texcoord;\n\n#ifdef DEPTH_DECODE\n@import clay.util.decode_float\n#endif\n\n#ifdef PHYSICALLY_CORRECT\nuniform sampler2D normalDistribution;\nuniform float sampleOffset: 0;\nuniform vec2 normalDistributionSize;\n\nvec3 transformNormal(vec3 H, vec3 N) {\n vec3 upVector = N.y > 0.999 ? vec3(1.0, 0.0, 0.0) : vec3(0.0, 1.0, 0.0);\n vec3 tangentX = normalize(cross(N, upVector));\n vec3 tangentZ = cross(N, tangentX);\n return normalize(tangentX * H.x + N * H.y + tangentZ * H.z);\n}\nvec3 importanceSampleNormalGGX(float i, float roughness, vec3 N) {\n float p = fract((i + sampleOffset) / float(TOTAL_SAMPLES));\n vec3 H = texture2D(normalDistribution,vec2(roughness, p)).rgb;\n return transformNormal(H, N);\n}\nfloat G_Smith(float g, float ndv, float ndl) {\n float roughness = 1.0 - g;\n float k = roughness * roughness / 2.0;\n float G1V = ndv / (ndv * (1.0 - k) + k);\n float G1L = ndl / (ndl * (1.0 - k) + k);\n return G1L * G1V;\n}\nvec3 F_Schlick(float ndv, vec3 spec) {\n return spec + (1.0 - spec) * pow(1.0 - ndv, 5.0);\n}\n#endif\n\nfloat fetchDepth(sampler2D depthTexture, vec2 uv)\n{\n vec4 depthTexel = texture2D(depthTexture, uv);\n return depthTexel.r * 2.0 - 1.0;\n}\n\nfloat linearDepth(float depth)\n{\n if (projection[3][3] == 0.0) {\n return projection[3][2] / (depth * projection[2][3] - projection[2][2]);\n }\n else {\n return (depth - projection[3][2]) / projection[2][2];\n }\n}\n\nbool rayIntersectDepth(float rayZNear, float rayZFar, vec2 hitPixel)\n{\n if (rayZFar > rayZNear)\n {\n float t = rayZFar; rayZFar = rayZNear; rayZNear = t;\n }\n float cameraZ = linearDepth(fetchDepth(gBufferTexture2, hitPixel));\n return rayZFar <= cameraZ && rayZNear >= cameraZ - zThicknessThreshold;\n}\n\n\nbool traceScreenSpaceRay(\n vec3 rayOrigin, vec3 rayDir, float jitter,\n out vec2 hitPixel, out vec3 hitPoint, out float iterationCount\n)\n{\n float rayLength = ((rayOrigin.z + rayDir.z * maxRayDistance) > -nearZ)\n ? (-nearZ - rayOrigin.z) / rayDir.z : maxRayDistance;\n\n vec3 rayEnd = rayOrigin + rayDir * rayLength;\n\n vec4 H0 = projection * vec4(rayOrigin, 1.0);\n vec4 H1 = projection * vec4(rayEnd, 1.0);\n\n float k0 = 1.0 / H0.w, k1 = 1.0 / H1.w;\n\n vec3 Q0 = rayOrigin * k0, Q1 = rayEnd * k1;\n\n vec2 P0 = (H0.xy * k0 * 0.5 + 0.5) * viewportSize;\n vec2 P1 = (H1.xy * k1 * 0.5 + 0.5) * viewportSize;\n\n P1 += dot(P1 - P0, P1 - P0) < 0.0001 ? 0.01 : 0.0;\n vec2 delta = P1 - P0;\n\n bool permute = false;\n if (abs(delta.x) < abs(delta.y)) {\n permute = true;\n delta = delta.yx;\n P0 = P0.yx;\n P1 = P1.yx;\n }\n float stepDir = sign(delta.x);\n float invdx = stepDir / delta.x;\n\n vec3 dQ = (Q1 - Q0) * invdx;\n float dk = (k1 - k0) * invdx;\n\n vec2 dP = vec2(stepDir, delta.y * invdx);\n\n float strideScaler = 1.0 - min(1.0, -rayOrigin.z / pixelStrideZCutoff);\n float pixStride = 1.0 + strideScaler * pixelStride;\n\n dP *= pixStride; dQ *= pixStride; dk *= pixStride;\n\n vec4 pqk = vec4(P0, Q0.z, k0);\n vec4 dPQK = vec4(dP, dQ.z, dk);\n\n pqk += dPQK * jitter;\n float rayZFar = (dPQK.z * 0.5 + pqk.z) / (dPQK.w * 0.5 + pqk.w);\n float rayZNear;\n\n bool intersect = false;\n\n vec2 texelSize = 1.0 / viewportSize;\n\n iterationCount = 0.0;\n\n for (int i = 0; i < MAX_ITERATION; i++)\n {\n pqk += dPQK;\n\n rayZNear = rayZFar;\n rayZFar = (dPQK.z * 0.5 + pqk.z) / (dPQK.w * 0.5 + pqk.w);\n\n hitPixel = permute ? pqk.yx : pqk.xy;\n hitPixel *= texelSize;\n\n intersect = rayIntersectDepth(rayZNear, rayZFar, hitPixel);\n\n iterationCount += 1.0;\n\n dPQK *= 1.2;\n\n if (intersect) {\n break;\n }\n }\n\n Q0.xy += dQ.xy * iterationCount;\n Q0.z = pqk.z;\n hitPoint = Q0 / pqk.w;\n\n return intersect;\n}\n\nfloat calculateAlpha(\n float iterationCount, float reflectivity,\n vec2 hitPixel, vec3 hitPoint, float dist, vec3 rayDir\n)\n{\n float alpha = clamp(reflectivity, 0.0, 1.0);\n alpha *= 1.0 - (iterationCount / float(MAX_ITERATION));\n vec2 hitPixelNDC = hitPixel * 2.0 - 1.0;\n float maxDimension = min(1.0, max(abs(hitPixelNDC.x), abs(hitPixelNDC.y)));\n alpha *= 1.0 - max(0.0, maxDimension - screenEdgeFadeStart) / (1.0 - screenEdgeFadeStart);\n\n float _eyeFadeStart = eyeFadeStart;\n float _eyeFadeEnd = eyeFadeEnd;\n if (_eyeFadeStart > _eyeFadeEnd) {\n float tmp = _eyeFadeEnd;\n _eyeFadeEnd = _eyeFadeStart;\n _eyeFadeStart = tmp;\n }\n\n float eyeDir = clamp(rayDir.z, _eyeFadeStart, _eyeFadeEnd);\n alpha *= 1.0 - (eyeDir - _eyeFadeStart) / (_eyeFadeEnd - _eyeFadeStart);\n\n alpha *= 1.0 - clamp(dist / maxRayDistance, 0.0, 1.0);\n\n return alpha;\n}\n\n@import clay.util.rand\n\n@import clay.util.rgbm\n\nvoid main()\n{\n vec4 normalAndGloss = texture2D(gBufferTexture1, v_Texcoord);\n\n if (dot(normalAndGloss.rgb, vec3(1.0)) == 0.0) {\n discard;\n }\n\n float g = normalAndGloss.a;\n#if !defined(PHYSICALLY_CORRECT)\n if (g <= minGlossiness) {\n discard;\n }\n#endif\n\n float reflectivity = (g - minGlossiness) / (1.0 - minGlossiness);\n\n vec3 N = normalize(normalAndGloss.rgb * 2.0 - 1.0);\n N = normalize((toViewSpace * vec4(N, 0.0)).xyz);\n\n vec4 projectedPos = vec4(v_Texcoord * 2.0 - 1.0, fetchDepth(gBufferTexture2, v_Texcoord), 1.0);\n vec4 pos = projectionInv * projectedPos;\n vec3 rayOrigin = pos.xyz / pos.w;\n vec3 V = -normalize(rayOrigin);\n\n float ndv = clamp(dot(N, V), 0.0, 1.0);\n float iterationCount;\n float jitter = rand(fract(v_Texcoord + jitterOffset));\n\n#ifdef PHYSICALLY_CORRECT\n vec4 color = vec4(vec3(0.0), 1.0);\n vec4 albedoMetalness = texture2D(gBufferTexture3, v_Texcoord);\n vec3 albedo = albedoMetalness.rgb;\n float m = albedoMetalness.a;\n vec3 diffuseColor = albedo * (1.0 - m);\n vec3 spec = mix(vec3(0.04), albedo, m);\n\n float jitter2 = rand(fract(v_Texcoord)) * float(TOTAL_SAMPLES);\n\n for (int i = 0; i < SAMPLE_PER_FRAME; i++) {\n vec3 H = importanceSampleNormalGGX(float(i) + jitter2, 1.0 - g, N);\n vec3 rayDir = normalize(reflect(-V, H));\n#else\n vec3 rayDir = normalize(reflect(-V, N));\n#endif\n vec2 hitPixel;\n vec3 hitPoint;\n\n bool intersect = traceScreenSpaceRay(rayOrigin, rayDir, jitter, hitPixel, hitPoint, iterationCount);\n\n float dist = distance(rayOrigin, hitPoint);\n\n vec3 hitNormal = texture2D(gBufferTexture1, hitPixel).rgb * 2.0 - 1.0;\n hitNormal = normalize((toViewSpace * vec4(hitNormal, 0.0)).xyz);\n#ifdef PHYSICALLY_CORRECT\n float ndl = clamp(dot(N, rayDir), 0.0, 1.0);\n float vdh = clamp(dot(V, H), 0.0, 1.0);\n float ndh = clamp(dot(N, H), 0.0, 1.0);\n vec3 litTexel = vec3(0.0);\n if (dot(hitNormal, rayDir) < 0.0 && intersect) {\n litTexel = texture2D(sourceTexture, hitPixel).rgb;\n litTexel *= pow(clamp(1.0 - dist / 200.0, 0.0, 1.0), 3.0);\n\n }\n else {\n #ifdef SPECULARCUBEMAP_ENABLED\n vec3 rayDirW = normalize(toWorldSpace * vec4(rayDir, 0.0)).rgb;\n litTexel = RGBMDecode(textureCubeLodEXT(specularCubemap, rayDirW, 0.0), 8.12).rgb * specularIntensity;\n#endif\n }\n color.rgb += ndl * litTexel * (\n F_Schlick(ndl, spec) * G_Smith(g, ndv, ndl) * vdh / (ndh * ndv + 0.001)\n );\n }\n color.rgb /= float(SAMPLE_PER_FRAME);\n#else\n #if !defined(SPECULARCUBEMAP_ENABLED)\n if (dot(hitNormal, rayDir) >= 0.0) {\n discard;\n }\n if (!intersect) {\n discard;\n }\n#endif\n float alpha = clamp(calculateAlpha(iterationCount, reflectivity, hitPixel, hitPoint, dist, rayDir), 0.0, 1.0);\n vec4 color = texture2D(sourceTexture, hitPixel);\n color.rgb *= alpha;\n\n#ifdef SPECULARCUBEMAP_ENABLED\n vec3 rayDirW = normalize(toWorldSpace * vec4(rayDir, 0.0)).rgb;\n alpha = alpha * (intersect ? 1.0 : 0.0);\n float bias = (1.0 -g) * 5.0;\n color.rgb += (1.0 - alpha)\n * RGBMDecode(textureCubeLodEXT(specularCubemap, rayDirW, bias), 8.12).rgb\n * specularIntensity;\n#endif\n\n#endif\n\n gl_FragColor = encodeHDR(color);\n}\n@end\n\n@export ecgl.ssr.blur\n\nuniform sampler2D texture;\nuniform sampler2D gBufferTexture1;\nuniform sampler2D gBufferTexture2;\nuniform mat4 projection;\nuniform float depthRange : 0.05;\n\nvarying vec2 v_Texcoord;\n\nuniform vec2 textureSize;\nuniform float blurSize : 1.0;\n\n#ifdef BLEND\n #ifdef SSAOTEX_ENABLED\nuniform sampler2D ssaoTex;\n #endif\nuniform sampler2D sourceTexture;\n#endif\n\nfloat getLinearDepth(vec2 coord)\n{\n float depth = texture2D(gBufferTexture2, coord).r * 2.0 - 1.0;\n return projection[3][2] / (depth * projection[2][3] - projection[2][2]);\n}\n\n@import clay.util.rgbm\n\n\nvoid main()\n{\n @import clay.compositor.kernel.gaussian_9\n\n vec4 centerNTexel = texture2D(gBufferTexture1, v_Texcoord);\n float g = centerNTexel.a;\n float maxBlurSize = clamp(1.0 - g, 0.0, 1.0) * blurSize;\n#ifdef VERTICAL\n vec2 off = vec2(0.0, maxBlurSize / textureSize.y);\n#else\n vec2 off = vec2(maxBlurSize / textureSize.x, 0.0);\n#endif\n\n vec2 coord = v_Texcoord;\n\n vec4 sum = vec4(0.0);\n float weightAll = 0.0;\n\n vec3 cN = centerNTexel.rgb * 2.0 - 1.0;\n float cD = getLinearDepth(v_Texcoord);\n for (int i = 0; i < 9; i++) {\n vec2 coord = clamp((float(i) - 4.0) * off + v_Texcoord, vec2(0.0), vec2(1.0));\n float w = gaussianKernel[i]\n * clamp(dot(cN, texture2D(gBufferTexture1, coord).rgb * 2.0 - 1.0), 0.0, 1.0);\n float d = getLinearDepth(coord);\n w *= (1.0 - smoothstep(abs(cD - d) / depthRange, 0.0, 1.0));\n\n weightAll += w;\n sum += decodeHDR(texture2D(texture, coord)) * w;\n }\n\n#ifdef BLEND\n float aoFactor = 1.0;\n #ifdef SSAOTEX_ENABLED\n aoFactor = texture2D(ssaoTex, v_Texcoord).r;\n #endif\n gl_FragColor = encodeHDR(\n sum / weightAll * aoFactor + decodeHDR(texture2D(sourceTexture, v_Texcoord))\n );\n#else\n gl_FragColor = encodeHDR(sum / weightAll);\n#endif\n}\n\n@end"},function(e,t,n){"use strict";t["a"]=[0,0,-.321585265978,-.154972575841,.458126042375,.188473391593,.842080129861,.527766490688,.147304551086,-.659453822776,-.331943915203,-.940619700594,.0479226680259,.54812163202,.701581552186,-.709825561388,-.295436780218,.940589268233,-.901489676764,.237713156085,.973570876096,-.109899459384,-.866792314779,-.451805525005,.330975007087,.800048655954,-.344275183665,.381779221166,-.386139432542,-.437418421534,-.576478634965,-.0148463392551,.385798197415,-.262426961053,-.666302061145,.682427250835,-.628010632582,-.732836215494,.10163141741,-.987658134403,.711995289051,-.320024291314,.0296005138058,.950296523438,.0130612307608,-.351024443122,-.879596633704,-.10478487883,.435712737232,.504254490347,.779203817497,.206477676721,.388264289969,-.896736162545,-.153106280781,-.629203242522,-.245517550697,.657969239148,.126830499058,.26862328493,-.634888119007,-.302301223431,.617074219636,.779817204925]},function(e,t,n){"use strict";var r=n(5),i=n(4),a=n(9),o=n(10),s=n(19),l=n(15),c=n(60),u=n(197);function d(e,t,n,r,i){var a=e.gl;t.setUniform(a,"1i",n,i),a.activeTexture(a.TEXTURE0+i),r.isRenderable()?r.bind(e):r.unbind(e)}function h(e,t,n,r,i){var a,o,s,l,c=e.gl;return function(i,u,h){if(!l||l.material!==i.material){var p=i.material,f=i.__program,_=p.get("roughness");null==_&&(_=1);var m=p.get("normalMap")||t,g=p.get("roughnessMap"),v=p.get("bumpMap"),y=p.get("uvRepeat"),b=p.get("uvOffset"),S=p.get("detailUvRepeat"),E=p.get("detailUvOffset"),x=!!v&&p.isTextureEnabled("bumpMap"),T=!!g&&p.isTextureEnabled("roughnessMap"),C=p.isDefined("fragment","DOUBLE_SIDED");v=v||n,g=g||r,h!==u?(u.set("normalMap",m),u.set("bumpMap",v),u.set("roughnessMap",g),u.set("useBumpMap",x),u.set("useRoughnessMap",T),u.set("doubleSide",C),null!=y&&u.set("uvRepeat",y),null!=b&&u.set("uvOffset",b),null!=S&&u.set("detailUvRepeat",S),null!=E&&u.set("detailUvOffset",E),u.set("roughness",_)):(f.setUniform(c,"1f","roughness",_),a!==m&&d(e,f,"normalMap",m,0),o!==v&&v&&d(e,f,"bumpMap",v,1),s!==g&&g&&d(e,f,"roughnessMap",g,2),null!=y&&f.setUniform(c,"2f","uvRepeat",y),null!=b&&f.setUniform(c,"2f","uvOffset",b),null!=S&&f.setUniform(c,"2f","detailUvRepeat",S),null!=E&&f.setUniform(c,"2f","detailUvOffset",E),f.setUniform(c,"1i","useBumpMap",+x),f.setUniform(c,"1i","useRoughnessMap",+T),f.setUniform(c,"1i","doubleSide",+C)),a=m,o=v,s=g,l=i}}}function p(e){e=e||{},this._depthTex=new r["a"]({format:i["a"].DEPTH_COMPONENT,type:i["a"].UNSIGNED_INT}),this._normalTex=new r["a"]({type:i["a"].HALF_FLOAT}),this._framebuffer=new o["a"],this._framebuffer.attach(this._normalTex),this._framebuffer.attach(this._depthTex,o["a"].DEPTH_ATTACHMENT),this._normalMaterial=new s["a"]({shader:new a["a"](a["a"].source("ecgl.normal.vertex"),a["a"].source("ecgl.normal.fragment"))}),this._normalMaterial.enableTexture(["normalMap","bumpMap","roughnessMap"]),this._defaultNormalMap=c["a"].createBlank("#000"),this._defaultBumpMap=c["a"].createBlank("#000"),this._defaultRoughessMap=c["a"].createBlank("#000"),this._debugPass=new l["a"]({fragment:a["a"].source("clay.compositor.output")}),this._debugPass.setUniform("texture",this._normalTex),this._debugPass.material.undefine("fragment","OUTPUT_ALPHA")}a["a"].import(u["a"]),p.prototype.getDepthTexture=function(){return this._depthTex},p.prototype.getNormalTexture=function(){return this._normalTex},p.prototype.update=function(e,t,n){var r=e.getWidth(),i=e.getHeight(),a=this._depthTex,o=this._normalTex,s=this._normalMaterial;a.width=r,a.height=i,o.width=r,o.height=i;var l=t.getRenderList(n).opaque;this._framebuffer.bind(e),e.gl.clearColor(0,0,0,0),e.gl.clear(e.gl.COLOR_BUFFER_BIT|e.gl.DEPTH_BUFFER_BIT),e.gl.disable(e.gl.BLEND),e.renderPass(l,n,{getMaterial:function(){return s},ifRender:function(e){return e.renderNormal},beforeRender:h(e,this._defaultNormalMap,this._defaultBumpMap,this._defaultRoughessMap,this._normalMaterial),sort:e.opaqueSortCompare}),this._framebuffer.unbind(e)},p.prototype.renderDebug=function(e){this._debugPass.render(e)},p.prototype.dispose=function(e){this._depthTex.dispose(e),this._normalTex.dispose(e)},t["a"]=p},function(e,t,n){"use strict";t["a"]="@export ecgl.normal.vertex\n\n@import ecgl.common.transformUniforms\n\n@import ecgl.common.uv.header\n\n@import ecgl.common.attributes\n\nvarying vec3 v_Normal;\nvarying vec3 v_WorldPosition;\n\n@import ecgl.common.normalMap.vertexHeader\n\n@import ecgl.common.vertexAnimation.header\n\nvoid main()\n{\n\n @import ecgl.common.vertexAnimation.main\n\n @import ecgl.common.uv.main\n\n v_Normal = normalize((worldInverseTranspose * vec4(normal, 0.0)).xyz);\n v_WorldPosition = (world * vec4(pos, 1.0)).xyz;\n\n @import ecgl.common.normalMap.vertexMain\n\n gl_Position = worldViewProjection * vec4(pos, 1.0);\n\n}\n\n\n@end\n\n\n@export ecgl.normal.fragment\n\n#define ROUGHNESS_CHANEL 0\n\nuniform bool useBumpMap;\nuniform bool useRoughnessMap;\nuniform bool doubleSide;\nuniform float roughness;\n\n@import ecgl.common.uv.fragmentHeader\n\nvarying vec3 v_Normal;\nvarying vec3 v_WorldPosition;\n\nuniform mat4 viewInverse : VIEWINVERSE;\n\n@import ecgl.common.normalMap.fragmentHeader\n@import ecgl.common.bumpMap.header\n\nuniform sampler2D roughnessMap;\n\nvoid main()\n{\n vec3 N = v_Normal;\n \n bool flipNormal = false;\n if (doubleSide) {\n vec3 eyePos = viewInverse[3].xyz;\n vec3 V = normalize(eyePos - v_WorldPosition);\n\n if (dot(N, V) < 0.0) {\n flipNormal = true;\n }\n }\n\n @import ecgl.common.normalMap.fragmentMain\n\n if (useBumpMap) {\n N = bumpNormal(v_WorldPosition, v_Normal, N);\n }\n\n float g = 1.0 - roughness;\n\n if (useRoughnessMap) {\n float g2 = 1.0 - texture2D(roughnessMap, v_DetailTexcoord)[ROUGHNESS_CHANEL];\n g = clamp(g2 + (g - 0.5) * 2.0, 0.0, 1.0);\n }\n\n if (flipNormal) {\n N = -N;\n }\n\n gl_FragColor.rgb = (N.xyz + 1.0) * 0.5;\n gl_FragColor.a = g;\n}\n@end"},function(e,t,n){"use strict";n(7),n(3);var r=n(5),i=n(4),a=n(15),o=n(9),s=n(10);function l(e){e=e||{},this._edgePass=new a["a"]({fragment:o["a"].source("ecgl.edge")}),this._edgePass.setUniform("normalTexture",e.normalTexture),this._edgePass.setUniform("depthTexture",e.depthTexture),this._targetTexture=new r["a"]({type:i["a"].HALF_FLOAT}),this._frameBuffer=new s["a"],this._frameBuffer.attach(this._targetTexture)}l.prototype.update=function(e,t,n,r){var i=e.getWidth(),a=e.getHeight(),o=this._targetTexture;o.width=i,o.height=a;var s=this._frameBuffer;s.bind(e),this._edgePass.setUniform("projectionInv",t.invProjectionMatrix.array),this._edgePass.setUniform("textureSize",[i,a]),this._edgePass.setUniform("texture",n),this._edgePass.render(e),s.unbind(e)},l.prototype.getTargetTexture=function(){return this._targetTexture},l.prototype.setParameter=function(e,t){this._edgePass.setUniform(e,t)},l.prototype.dispose=function(e){this._targetTexture.dispose(e),this._frameBuffer.dispose(e)},t["a"]=l},function(e,t,n){"use strict";t["a"]={type:"compositor",nodes:[{name:"source",type:"texture",outputs:{color:{}}},{name:"source_half",shader:"#source(clay.compositor.downsample)",inputs:{texture:"source"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 2)",height:"expr(height * 1.0 / 2)",type:"HALF_FLOAT"}}},parameters:{textureSize:"expr( [width * 1.0, height * 1.0] )"}},{name:"bright",shader:"#source(clay.compositor.bright)",inputs:{texture:"source_half"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 2)",height:"expr(height * 1.0 / 2)",type:"HALF_FLOAT"}}},parameters:{threshold:2,scale:4,textureSize:"expr([width * 1.0 / 2, height / 2])"}},{name:"bright_downsample_4",shader:"#source(clay.compositor.downsample)",inputs:{texture:"bright"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 4)",height:"expr(height * 1.0 / 4)",type:"HALF_FLOAT"}}},parameters:{textureSize:"expr( [width * 1.0 / 2, height / 2] )"}},{name:"bright_downsample_8",shader:"#source(clay.compositor.downsample)",inputs:{texture:"bright_downsample_4"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 8)",height:"expr(height * 1.0 / 8)",type:"HALF_FLOAT"}}},parameters:{textureSize:"expr( [width * 1.0 / 4, height / 4] )"}},{name:"bright_downsample_16",shader:"#source(clay.compositor.downsample)",inputs:{texture:"bright_downsample_8"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 16)",height:"expr(height * 1.0 / 16)",type:"HALF_FLOAT"}}},parameters:{textureSize:"expr( [width * 1.0 / 8, height / 8] )"}},{name:"bright_downsample_32",shader:"#source(clay.compositor.downsample)",inputs:{texture:"bright_downsample_16"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 32)",height:"expr(height * 1.0 / 32)",type:"HALF_FLOAT"}}},parameters:{textureSize:"expr( [width * 1.0 / 16, height / 16] )"}},{name:"bright_upsample_16_blur_h",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright_downsample_32"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 16)",height:"expr(height * 1.0 / 16)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:0,textureSize:"expr( [width * 1.0 / 32, height / 32] )"}},{name:"bright_upsample_16_blur_v",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright_upsample_16_blur_h"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 16)",height:"expr(height * 1.0 / 16)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:1,textureSize:"expr( [width * 1.0 / 16, height * 1.0 / 16] )"}},{name:"bright_upsample_8_blur_h",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright_downsample_16"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 8)",height:"expr(height * 1.0 / 8)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:0,textureSize:"expr( [width * 1.0 / 16, height * 1.0 / 16] )"}},{name:"bright_upsample_8_blur_v",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright_upsample_8_blur_h"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 8)",height:"expr(height * 1.0 / 8)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:1,textureSize:"expr( [width * 1.0 / 8, height * 1.0 / 8] )"}},{name:"bright_upsample_8_blend",shader:"#source(clay.compositor.blend)",inputs:{texture1:"bright_upsample_8_blur_v",texture2:"bright_upsample_16_blur_v"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 8)",height:"expr(height * 1.0 / 8)",type:"HALF_FLOAT"}}},parameters:{weight1:.3,weight2:.7}},{name:"bright_upsample_4_blur_h",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright_downsample_8"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 4)",height:"expr(height * 1.0 / 4)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:0,textureSize:"expr( [width * 1.0 / 8, height * 1.0 / 8] )"}},{name:"bright_upsample_4_blur_v",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright_upsample_4_blur_h"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 4)",height:"expr(height * 1.0 / 4)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:1,textureSize:"expr( [width * 1.0 / 4, height * 1.0 / 4] )"}},{name:"bright_upsample_4_blend",shader:"#source(clay.compositor.blend)",inputs:{texture1:"bright_upsample_4_blur_v",texture2:"bright_upsample_8_blend"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 4)",height:"expr(height * 1.0 / 4)",type:"HALF_FLOAT"}}},parameters:{weight1:.3,weight2:.7}},{name:"bright_upsample_2_blur_h",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright_downsample_4"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 2)",height:"expr(height * 1.0 / 2)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:0,textureSize:"expr( [width * 1.0 / 4, height * 1.0 / 4] )"}},{name:"bright_upsample_2_blur_v",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright_upsample_2_blur_h"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 2)",height:"expr(height * 1.0 / 2)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:1,textureSize:"expr( [width * 1.0 / 2, height * 1.0 / 2] )"}},{name:"bright_upsample_2_blend",shader:"#source(clay.compositor.blend)",inputs:{texture1:"bright_upsample_2_blur_v",texture2:"bright_upsample_4_blend"},outputs:{color:{parameters:{width:"expr(width * 1.0 / 2)",height:"expr(height * 1.0 / 2)",type:"HALF_FLOAT"}}},parameters:{weight1:.3,weight2:.7}},{name:"bright_upsample_full_blur_h",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright"},outputs:{color:{parameters:{width:"expr(width * 1.0)",height:"expr(height * 1.0)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:0,textureSize:"expr( [width * 1.0 / 2, height * 1.0 / 2] )"}},{name:"bright_upsample_full_blur_v",shader:"#source(clay.compositor.gaussian_blur)",inputs:{texture:"bright_upsample_full_blur_h"},outputs:{color:{parameters:{width:"expr(width * 1.0)",height:"expr(height * 1.0)",type:"HALF_FLOAT"}}},parameters:{blurSize:1,blurDir:1,textureSize:"expr( [width * 1.0, height * 1.0] )"}},{name:"bloom_composite",shader:"#source(clay.compositor.blend)",inputs:{texture1:"bright_upsample_full_blur_v",texture2:"bright_upsample_2_blend"},outputs:{color:{parameters:{width:"expr(width * 1.0)",height:"expr(height * 1.0)",type:"HALF_FLOAT"}}},parameters:{weight1:.3,weight2:.7}},{name:"coc",shader:"#source(ecgl.dof.coc)",outputs:{color:{parameters:{minFilter:"NEAREST",magFilter:"NEAREST",width:"expr(width * 1.0)",height:"expr(height * 1.0)"}}},parameters:{focalDist:50,focalRange:30}},{name:"dof_far_blur",shader:"#source(ecgl.dof.diskBlur)",inputs:{texture:"source",coc:"coc"},outputs:{color:{parameters:{width:"expr(width * 1.0)",height:"expr(height * 1.0)",type:"HALF_FLOAT"}}},parameters:{textureSize:"expr( [width * 1.0, height * 1.0] )"}},{name:"dof_near_blur",shader:"#source(ecgl.dof.diskBlur)",inputs:{texture:"source",coc:"coc"},outputs:{color:{parameters:{width:"expr(width * 1.0)",height:"expr(height * 1.0)",type:"HALF_FLOAT"}}},parameters:{textureSize:"expr( [width * 1.0, height * 1.0] )"},defines:{BLUR_NEARFIELD:null}},{name:"dof_coc_blur",shader:"#source(ecgl.dof.diskBlur)",inputs:{texture:"coc"},outputs:{color:{parameters:{minFilter:"NEAREST",magFilter:"NEAREST",width:"expr(width * 1.0)",height:"expr(height * 1.0)"}}},parameters:{textureSize:"expr( [width * 1.0, height * 1.0] )"},defines:{BLUR_COC:null}},{name:"dof_composite",shader:"#source(ecgl.dof.composite)",inputs:{original:"source",blurred:"dof_far_blur",nearfield:"dof_near_blur",coc:"coc",nearcoc:"dof_coc_blur"},outputs:{color:{parameters:{width:"expr(width * 1.0)",height:"expr(height * 1.0)",type:"HALF_FLOAT"}}}},{name:"composite",shader:"#source(clay.compositor.hdr.composite)",inputs:{texture:"source",bloom:"bloom_composite"},defines:{}},{name:"FXAA",shader:"#source(clay.compositor.fxaa)",inputs:{texture:"composite"}}]}},function(e,t,n){"use strict";t["a"]="@export ecgl.dof.coc\n\nuniform sampler2D depth;\n\nuniform float zNear: 0.1;\nuniform float zFar: 2000;\n\nuniform float focalDistance: 3;\nuniform float focalRange: 1;\nuniform float focalLength: 30;\nuniform float fstop: 2.8;\n\nvarying vec2 v_Texcoord;\n\n@import clay.util.encode_float\n\nvoid main()\n{\n float z = texture2D(depth, v_Texcoord).r * 2.0 - 1.0;\n\n float dist = 2.0 * zNear * zFar / (zFar + zNear - z * (zFar - zNear));\n\n float aperture = focalLength / fstop;\n\n float coc;\n\n float uppper = focalDistance + focalRange;\n float lower = focalDistance - focalRange;\n if (dist <= uppper && dist >= lower) {\n coc = 0.5;\n }\n else {\n float focalAdjusted = dist > uppper ? uppper : lower;\n\n coc = abs(aperture * (focalLength * (dist - focalAdjusted)) / (dist * (focalAdjusted - focalLength)));\n coc = clamp(coc, 0.0, 2.0) / 2.00001;\n\n if (dist < lower) {\n coc = -coc;\n }\n coc = coc * 0.5 + 0.5;\n }\n\n gl_FragColor = encodeFloat(coc);\n}\n@end\n\n\n@export ecgl.dof.composite\n\n#define DEBUG 0\n\nuniform sampler2D original;\nuniform sampler2D blurred;\nuniform sampler2D nearfield;\nuniform sampler2D coc;\nuniform sampler2D nearcoc;\nvarying vec2 v_Texcoord;\n\n@import clay.util.rgbm\n@import clay.util.float\n\nvoid main()\n{\n vec4 blurredColor = texture2D(blurred, v_Texcoord);\n vec4 originalColor = texture2D(original, v_Texcoord);\n\n float fCoc = decodeFloat(texture2D(coc, v_Texcoord));\n\n fCoc = abs(fCoc * 2.0 - 1.0);\n\n float weight = smoothstep(0.0, 1.0, fCoc);\n \n#ifdef NEARFIELD_ENABLED\n vec4 nearfieldColor = texture2D(nearfield, v_Texcoord);\n float fNearCoc = decodeFloat(texture2D(nearcoc, v_Texcoord));\n fNearCoc = abs(fNearCoc * 2.0 - 1.0);\n\n gl_FragColor = encodeHDR(\n mix(\n nearfieldColor, mix(originalColor, blurredColor, weight),\n pow(1.0 - fNearCoc, 4.0)\n )\n );\n#else\n gl_FragColor = encodeHDR(mix(originalColor, blurredColor, weight));\n#endif\n\n}\n\n@end\n\n\n\n@export ecgl.dof.diskBlur\n\n#define POISSON_KERNEL_SIZE 16;\n\nuniform sampler2D texture;\nuniform sampler2D coc;\nvarying vec2 v_Texcoord;\n\nuniform float blurRadius : 10.0;\nuniform vec2 textureSize : [512.0, 512.0];\n\nuniform vec2 poissonKernel[POISSON_KERNEL_SIZE];\n\nuniform float percent;\n\nfloat nrand(const in vec2 n) {\n return fract(sin(dot(n.xy ,vec2(12.9898,78.233))) * 43758.5453);\n}\n\n@import clay.util.rgbm\n@import clay.util.float\n\n\nvoid main()\n{\n vec2 offset = blurRadius / textureSize;\n\n float rnd = 6.28318 * nrand(v_Texcoord + 0.07 * percent );\n float cosa = cos(rnd);\n float sina = sin(rnd);\n vec4 basis = vec4(cosa, -sina, sina, cosa);\n\n#if !defined(BLUR_NEARFIELD) && !defined(BLUR_COC)\n offset *= abs(decodeFloat(texture2D(coc, v_Texcoord)) * 2.0 - 1.0);\n#endif\n\n#ifdef BLUR_COC\n float cocSum = 0.0;\n#else\n vec4 color = vec4(0.0);\n#endif\n\n\n float weightSum = 0.0;\n\n for (int i = 0; i < POISSON_KERNEL_SIZE; i++) {\n vec2 ofs = poissonKernel[i];\n\n ofs = vec2(dot(ofs, basis.xy), dot(ofs, basis.zw));\n\n vec2 uv = v_Texcoord + ofs * offset;\n vec4 texel = texture2D(texture, uv);\n\n float w = 1.0;\n#ifdef BLUR_COC\n float fCoc = decodeFloat(texel) * 2.0 - 1.0;\n cocSum += clamp(fCoc, -1.0, 0.0) * w;\n#else\n texel = texel;\n #if !defined(BLUR_NEARFIELD)\n float fCoc = decodeFloat(texture2D(coc, uv)) * 2.0 - 1.0;\n w *= abs(fCoc);\n #endif\n texel.rgb *= texel.a;\n color += texel * w;\n#endif\n\n weightSum += w;\n }\n\n#ifdef BLUR_COC\n gl_FragColor = encodeFloat(clamp(cocSum / weightSum, -1.0, 0.0) * 0.5 + 0.5);\n#else\n color /= weightSum;\n color.rgb /= (color.a + 0.0001);\n gl_FragColor = color;\n#endif\n}\n\n@end"},function(e,t,n){"use strict";t["a"]="@export ecgl.edge\n\nuniform sampler2D texture;\n\nuniform sampler2D normalTexture;\nuniform sampler2D depthTexture;\n\nuniform mat4 projectionInv;\n\nuniform vec2 textureSize;\n\nuniform vec4 edgeColor: [0,0,0,0.8];\n\nvarying vec2 v_Texcoord;\n\nvec3 packColor(vec2 coord) {\n float z = texture2D(depthTexture, coord).r * 2.0 - 1.0;\n vec4 p = vec4(v_Texcoord * 2.0 - 1.0, z, 1.0);\n vec4 p4 = projectionInv * p;\n\n return vec3(\n texture2D(normalTexture, coord).rg,\n -p4.z / p4.w / 5.0\n );\n}\n\nvoid main() {\n vec2 cc = v_Texcoord;\n vec3 center = packColor(cc);\n\n float size = clamp(1.0 - (center.z - 10.0) / 100.0, 0.0, 1.0) * 0.5;\n float dx = size / textureSize.x;\n float dy = size / textureSize.y;\n\n vec2 coord;\n vec3 topLeft = packColor(cc+vec2(-dx, -dy));\n vec3 top = packColor(cc+vec2(0.0, -dy));\n vec3 topRight = packColor(cc+vec2(dx, -dy));\n vec3 left = packColor(cc+vec2(-dx, 0.0));\n vec3 right = packColor(cc+vec2(dx, 0.0));\n vec3 bottomLeft = packColor(cc+vec2(-dx, dy));\n vec3 bottom = packColor(cc+vec2(0.0, dy));\n vec3 bottomRight = packColor(cc+vec2(dx, dy));\n\n vec3 v = -topLeft-2.0*top-topRight+bottomLeft+2.0*bottom+bottomRight;\n vec3 h = -bottomLeft-2.0*left-topLeft+bottomRight+2.0*right+topRight;\n\n float edge = sqrt(dot(h, h) + dot(v, v));\n\n edge = smoothstep(0.8, 1.0, edge);\n\n gl_FragColor = mix(texture2D(texture, v_Texcoord), vec4(edgeColor.rgb, 1.0), edgeColor.a * edge);\n}\n@end"},function(e,t,n){"use strict";var r=n(49),i=n(15),a=n(10),o=n(5),s=n(9),l=n(7);function c(e){for(var t=[],n=0;n<30;n++)t.push([Object(r["a"])(n,2),Object(r["a"])(n,3)]);this._haltonSequence=t,this._frame=0,this._sourceTex=new o["a"],this._sourceFb=new a["a"],this._sourceFb.attach(this._sourceTex),this._prevFrameTex=new o["a"],this._outputTex=new o["a"];var l=this._blendPass=new i["a"]({fragment:s["a"].source("clay.compositor.blend")});l.material.disableTexturesAll(),l.material.enableTexture(["texture1","texture2"]),this._blendFb=new a["a"]({depthBuffer:!1}),this._outputPass=new i["a"]({fragment:s["a"].source("clay.compositor.output"),blendWithPrevious:!0}),this._outputPass.material.define("fragment","OUTPUT_ALPHA"),this._outputPass.material.blend=function(e){e.blendEquationSeparate(e.FUNC_ADD,e.FUNC_ADD),e.blendFuncSeparate(e.ONE,e.ONE_MINUS_SRC_ALPHA,e.ONE,e.ONE_MINUS_SRC_ALPHA)}}c.prototype={constructor:c,jitterProjection:function(e,t){var n=e.viewport,r=n.devicePixelRatio||e.getDevicePixelRatio(),i=n.width*r,a=n.height*r,o=this._haltonSequence[this._frame%this._haltonSequence.length],s=new l["a"];s.array[12]=(2*o[0]-1)/i,s.array[13]=(2*o[1]-1)/a,l["a"].mul(t.projectionMatrix,s,t.projectionMatrix),l["a"].invert(t.invProjectionMatrix,t.projectionMatrix)},resetFrame:function(){this._frame=0},getFrame:function(){return this._frame},getSourceFrameBuffer:function(){return this._sourceFb},getOutputTexture:function(){return this._outputTex},resize:function(e,t){this._prevFrameTex.width=e,this._prevFrameTex.height=t,this._outputTex.width=e,this._outputTex.height=t,this._sourceTex.width=e,this._sourceTex.height=t,this._prevFrameTex.dirty(),this._outputTex.dirty(),this._sourceTex.dirty()},isFinished:function(){return this._frame>=this._haltonSequence.length},render:function(e,t,n){var r=this._blendPass;0===this._frame?(r.setUniform("weight1",0),r.setUniform("weight2",1)):(r.setUniform("weight1",.9),r.setUniform("weight2",.1)),r.setUniform("texture1",this._prevFrameTex),r.setUniform("texture2",t||this._sourceTex),this._blendFb.attach(this._outputTex),this._blendFb.bind(e),r.render(e),this._blendFb.unbind(e),n||(this._outputPass.setUniform("texture",this._outputTex),this._outputPass.render(e));var i=this._prevFrameTex;this._prevFrameTex=this._outputTex,this._outputTex=i,this._frame++},dispose:function(e){this._sourceFb.dispose(e),this._blendFb.dispose(e),this._prevFrameTex.dispose(e),this._outputTex.dispose(e),this._sourceTex.dispose(e),this._outputPass.dispose(e),this._blendPass.dispose(e)}},t["a"]=c},function(e,t,n){"use strict";var r=n(0),i=n.n(r);n(204),n(205),n(97);i.a.registerAction({type:"geo3DChangeCamera",event:"geo3dcamerachanged",update:"series:updateCamera"},(function(e,t){t.eachComponent({mainType:"geo3D",query:e},(function(t){t.setView(e)}))}))},function(e,t,n){"use strict";var r=n(0),i=n.n(r),a=n(44),o=n(28),s=n(29),l=n(31),c=n(95),u=i.a.extendComponentModel({type:"geo3D",layoutMode:"box",coordinateSystem:null,optionUpdated:function(){var e=this.option;e.regions=this.getFilledRegions(e.regions,e.map);var t=i.a.helper.completeDimensions(["value"],e.data,{encodeDef:this.get("encode"),dimsDef:this.get("dimensions")}),n=new i.a.List(t,this);n.initData(e.regions);var r={};n.each((function(e){var t=n.getName(e),i=n.getItemModel(e);r[t]=i})),this._regionModelMap=r,this._data=n},getData:function(){return this._data},getRegionModel:function(e){var t=this.getData().getName(e);return this._regionModelMap[t]||new i.a.Model(null,this)},getRegionPolygonCoords:function(e){var t=this.getData().getName(e),n=this.coordinateSystem.getRegion(t);return n?n.geometries:[]},getFormattedLabel:function(e,t){var n=this._data.getName(e),r=this.getRegionModel(n),i=r.get("normal"===t?["label","formatter"]:["emphasis","label","formatter"]);null==i&&(i=r.get(["label","formatter"]));var a={name:n};if("function"===typeof i)return a.status=t,i(a);if("string"===typeof i){var o=a.seriesName;return i.replace("{a}",null!=o?o:"")}return n},defaultOption:{regions:[]}});i.a.util.merge(u.prototype,c["a"]),i.a.util.merge(u.prototype,a["a"]),i.a.util.merge(u.prototype,o["a"]),i.a.util.merge(u.prototype,s["a"]),i.a.util.merge(u.prototype,l["a"])},function(e,t,n){"use strict";var r=n(63),i=n(0),a=n.n(i),o=n(1),s=n(45),l=n(30);a.a.extendComponentView({type:"geo3D",__ecgl__:!0,init:function(e,t){this._geo3DBuilder=new r["a"](t),this.groupGL=new o["a"].Node,this._lightRoot=new o["a"].Node,this._sceneHelper=new l["a"](this._lightRoot),this._sceneHelper.initLight(this._lightRoot),this._control=new s["a"]({zr:t.getZr()}),this._control.init()},render:function(e,t,n){this.groupGL.add(this._geo3DBuilder.rootNode);var r=e.coordinateSystem;if(r&&r.viewGL){r.viewGL.add(this._lightRoot),e.get("show")?r.viewGL.add(this.groupGL):r.viewGL.remove(this.groupGL);var i=this._control;i.setViewGL(r.viewGL);var a=e.getModel("viewControl");i.setFromViewControlModel(a,0),this._sceneHelper.setScene(r.viewGL.scene),this._sceneHelper.updateLight(e),r.viewGL.setPostEffect(e.getModel("postEffect"),n),r.viewGL.setTemporalSuperSampling(e.getModel("temporalSuperSampling")),this._geo3DBuilder.update(e,t,n,0,e.getData().count());var o=r.viewGL.isLinearSpace()?"define":"undefine";this._geo3DBuilder.rootNode.traverse((function(e){e.material&&e.material[o]("fragment","SRGB_DECODE")})),i.off("update"),i.on("update",(function(){n.dispatchAction({type:"geo3DChangeCamera",alpha:i.getAlpha(),beta:i.getBeta(),distance:i.getDistance(),center:i.getCenter(),from:this.uid,geo3DId:e.id})})),i.update()}},afterRender:function(e,t,n,r){var i=r.renderer;this._sceneHelper.updateAmbientCubemap(i,e,n),this._sceneHelper.updateSkybox(i,e,n)},dispose:function(){this._control.dispose()}})},function(e,t,n){"use strict";function r(e,t,n){n=n||2;var r,a,s,l,c,u,h,p=t&&t.length,f=p?t[0]*n:e.length,_=i(e,0,f,n,!0),m=[];if(!_)return m;if(p&&(_=d(e,t,_,n)),e.length>80*n){r=s=e[0],a=l=e[1];for(var g=n;gs&&(s=c),u>l&&(l=u);h=Math.max(s-r,l-a)}return o(_,m,n,r,a,h),m}function i(e,t,n,r,i){var a,o;if(i===N(e,t,n,r)>0)for(a=t;a=t;a-=r)o=O(a,e[a],e[a+1],o);return o&&E(o,o.next)&&(R(o),o=o.next),o}function a(e,t){if(!e)return e;t||(t=e);var n,r=e;do{if(n=!1,r.steiner||!E(r,r.next)&&0!==S(r.prev,r,r.next))r=r.next;else{if(R(r),r=t=r.prev,r===r.next)return null;n=!0}}while(n||r!==t);return t}function o(e,t,n,r,i,d,h){if(e){!h&&d&&_(e,r,i,d);var p,f,m=e;while(e.prev!==e.next)if(p=e.prev,f=e.next,d?l(e,r,i,d):s(e))t.push(p.i/n),t.push(e.i/n),t.push(f.i/n),R(e),e=f.next,m=f.next;else if(e=f,e===m){h?1===h?(e=c(e,t,n),o(e,t,n,r,i,d,2)):2===h&&u(e,t,n,r,i,d):o(a(e),t,n,r,i,d,1);break}}}function s(e){var t=e.prev,n=e,r=e.next;if(S(t,n,r)>=0)return!1;var i=e.next.next;while(i!==e.prev){if(y(t.x,t.y,n.x,n.y,r.x,r.y,i.x,i.y)&&S(i.prev,i,i.next)>=0)return!1;i=i.next}return!0}function l(e,t,n,r){var i=e.prev,a=e,o=e.next;if(S(i,a,o)>=0)return!1;var s=i.xa.x?i.x>o.x?i.x:o.x:a.x>o.x?a.x:o.x,u=i.y>a.y?i.y>o.y?i.y:o.y:a.y>o.y?a.y:o.y,d=g(s,l,t,n,r),h=g(c,u,t,n,r),p=e.nextZ;while(p&&p.z<=h){if(p!==e.prev&&p!==e.next&&y(i.x,i.y,a.x,a.y,o.x,o.y,p.x,p.y)&&S(p.prev,p,p.next)>=0)return!1;p=p.nextZ}p=e.prevZ;while(p&&p.z>=d){if(p!==e.prev&&p!==e.next&&y(i.x,i.y,a.x,a.y,o.x,o.y,p.x,p.y)&&S(p.prev,p,p.next)>=0)return!1;p=p.prevZ}return!0}function c(e,t,n){var r=e;do{var i=r.prev,a=r.next.next;!E(i,a)&&x(i,r,r.next,a)&&C(i,a)&&C(a,i)&&(t.push(i.i/n),t.push(r.i/n),t.push(a.i/n),R(r),R(r.next),r=e=a),r=r.next}while(r!==e);return r}function u(e,t,n,r,i,s){var l=e;do{var c=l.next.next;while(c!==l.prev){if(l.i!==c.i&&b(l,c)){var u=w(l,c);return l=a(l,l.next),u=a(u,u.next),o(l,t,n,r,i,s),void o(u,t,n,r,i,s)}c=c.next}l=l.next}while(l!==e)}function d(e,t,n,r){var o,s,l,c,u,d=[];for(o=0,s=t.length;o=r.next.y&&r.next.y!==r.y){var s=r.x+(a-r.y)*(r.next.x-r.x)/(r.next.y-r.y);if(s<=i&&s>o){if(o=s,s===i){if(a===r.y)return r;if(a===r.next.y)return r.next}n=r.x=r.x&&r.x>=u&&i!==r.x&&y(an.x)&&C(r,e)&&(n=r,h=l)),r=r.next;return n}function _(e,t,n,r){var i=e;do{null===i.z&&(i.z=g(i.x,i.y,t,n,r)),i.prevZ=i.prev,i.nextZ=i.next,i=i.next}while(i!==e);i.prevZ.nextZ=null,i.prevZ=null,m(i)}function m(e){var t,n,r,i,a,o,s,l,c=1;do{n=e,e=null,a=null,o=0;while(n){for(o++,r=n,s=0,t=0;t0||l>0&&r)0!==s&&(0===l||!r||n.z<=r.z)?(i=n,n=n.nextZ,s--):(i=r,r=r.nextZ,l--),a?a.nextZ=i:e=i,i.prevZ=a,a=i;n=r}a.nextZ=null,c*=2}while(o>1);return e}function g(e,t,n,r,i){return e=32767*(e-n)/i,t=32767*(t-r)/i,e=16711935&(e|e<<8),e=252645135&(e|e<<4),e=858993459&(e|e<<2),e=1431655765&(e|e<<1),t=16711935&(t|t<<8),t=252645135&(t|t<<4),t=858993459&(t|t<<2),t=1431655765&(t|t<<1),e|t<<1}function v(e){var t=e,n=e;do{t.x=0&&(e-o)*(r-s)-(n-o)*(t-s)>=0&&(n-o)*(a-s)-(i-o)*(r-s)>=0}function b(e,t){return e.next.i!==t.i&&e.prev.i!==t.i&&!T(e,t)&&C(e,t)&&C(t,e)&&A(e,t)}function S(e,t,n){return(t.y-e.y)*(n.x-t.x)-(t.x-e.x)*(n.y-t.y)}function E(e,t){return e.x===t.x&&e.y===t.y}function x(e,t,n,r){return!!(E(e,t)&&E(n,r)||E(e,r)&&E(n,t))||S(e,t,n)>0!==S(e,t,r)>0&&S(n,r,e)>0!==S(n,r,t)>0}function T(e,t){var n=e;do{if(n.i!==e.i&&n.next.i!==e.i&&n.i!==t.i&&n.next.i!==t.i&&x(n,n.next,e,t))return!0;n=n.next}while(n!==e);return!1}function C(e,t){return S(e.prev,e,e.next)<0?S(e,t,e.next)>=0&&S(e,e.prev,t)>=0:S(e,t,e.prev)<0||S(e,e.next,t)<0}function A(e,t){var n=e,r=!1,i=(e.x+t.x)/2,a=(e.y+t.y)/2;do{n.y>a!==n.next.y>a&&n.next.y!==n.y&&i<(n.next.x-n.x)*(a-n.y)/(n.next.y-n.y)+n.x&&(r=!r),n=n.next}while(n!==e);return r}function w(e,t){var n=new I(e.i,e.x,e.y),r=new I(t.i,t.x,t.y),i=e.next,a=t.prev;return e.next=t,t.prev=e,n.next=i,i.prev=n,r.next=n,n.prev=r,a.next=r,r.prev=a,r}function O(e,t,n,r){var i=new I(e,t,n);return r?(i.next=r.next,i.prev=r,r.next.prev=i,r.next=i):(i.prev=i,i.next=i),i}function R(e){e.next.prev=e.prev,e.prev.next=e.next,e.prevZ&&(e.prevZ.nextZ=e.nextZ),e.nextZ&&(e.nextZ.prevZ=e.prevZ)}function I(e,t,n){this.i=e,this.x=t,this.y=n,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1}function N(e,t,n,r){for(var i=0,a=t,o=n-r;a0},_displacementChanged:!0,_displacementScale:0,updateDisplacementHash:function(){var e=this.getDisplacementTexture(),t=this.getDisplacemenScale();this._displacementChanged=this._displacementTexture!==e||this._displacementScale!==t,this._displacementTexture=e,this._displacementScale=t},isDisplacementChanged:function(){return this._displacementChanged}});i.a.util.merge(u.prototype,a["a"]),i.a.util.merge(u.prototype,o["a"]),i.a.util.merge(u.prototype,s["a"]),i.a.util.merge(u.prototype,l["a"])},function(e,t,n){"use strict";var r=n(0),i=n.n(r),a=n(1),o=n(45),s=n(30),l=n(212),c=n(2);i.a.extendComponentView({type:"globe",__ecgl__:!0,_displacementScale:0,init:function(e,t){this.groupGL=new a["a"].Node,this._sphereGeometry=new a["a"].SphereGeometry({widthSegments:200,heightSegments:100,dynamic:!0}),this._overlayGeometry=new a["a"].SphereGeometry({widthSegments:80,heightSegments:40}),this._planeGeometry=new a["a"].PlaneGeometry,this._earthMesh=new a["a"].Mesh({renderNormal:!0}),this._lightRoot=new a["a"].Node,this._sceneHelper=new s["a"],this._sceneHelper.initLight(this._lightRoot),this.groupGL.add(this._earthMesh),this._control=new o["a"]({zr:t.getZr()}),this._control.init(),this._layerMeshes={}},render:function(e,t,n){var r=e.coordinateSystem,i=e.get("shading");r.viewGL.add(this._lightRoot),e.get("show")?r.viewGL.add(this.groupGL):r.viewGL.remove(this.groupGL),this._sceneHelper.setScene(r.viewGL.scene),r.viewGL.setPostEffect(e.getModel("postEffect"),n),r.viewGL.setTemporalSuperSampling(e.getModel("temporalSuperSampling"));var o=this._earthMesh;o.geometry=this._sphereGeometry;var s="ecgl."+i;o.material&&o.material.shader.name===s||(o.material=a["a"].createMaterial(s)),a["a"].setMaterialFromModel(i,o.material,e,n),["roughnessMap","metalnessMap","detailMap","normalMap"].forEach((function(e){var t=o.material.get(e);t&&(t.flipY=!1)})),o.material.set("color",a["a"].parseColor(e.get("baseColor")));var l=.99*r.radius;o.scale.set(l,l,l);var c=o.material.setTextureImage("diffuseMap",e.get("baseTexture"),n,{flipY:!1,anisotropic:8});c&&c.surface&&c.surface.attachToMesh(o);var u=o.material.setTextureImage("bumpMap",e.get("heightTexture"),n,{flipY:!1,anisotropic:8});u&&u.surface&&u.surface.attachToMesh(o),o.material[e.get("postEffect.enable")?"define":"undefine"]("fragment","SRGB_DECODE"),this._updateLight(e,n),this._displaceVertices(e,n),this._updateViewControl(e,n),this._updateLayers(e,n)},afterRender:function(e,t,n,r){var i=r.renderer;this._sceneHelper.updateAmbientCubemap(i,e,n),this._sceneHelper.updateSkybox(i,e,n)},_updateLayers:function(e,t){var n=e.coordinateSystem,r=e.get("layers"),o=n.radius,s=[],l=[],u=[],d=[];i.a.util.each(r,(function(e){var r=new i.a.Model(e),h=r.get("type"),p=a["a"].loadTexture(r.get("texture"),t,{flipY:!1,anisotropic:8});if(p.surface&&p.surface.attachToMesh(this._earthMesh),"blend"===h){var f=r.get("blendTo"),_=c["a"].firstNotNull(r.get("intensity"),1);"emission"===f?(u.push(p),d.push(_)):(s.push(p),l.push(_))}else{var m=r.get("id"),g=this._layerMeshes[m];g||(g=this._layerMeshes[m]=new a["a"].Mesh({geometry:this._overlayGeometry,castShadow:!1,ignorePicking:!0}));var v=r.get("shading");"lambert"===v?(g.material=g.__lambertMaterial||new a["a"].Material({autoUpdateTextureStatus:!1,shader:a["a"].createShader("ecgl.lambert"),transparent:!0,depthMask:!1}),g.__lambertMaterial=g.material):(g.material=g.__colorMaterial||new a["a"].Material({autoUpdateTextureStatus:!1,shader:a["a"].createShader("ecgl.color"),transparent:!0,depthMask:!1}),g.__colorMaterial=g.material),g.material.enableTexture("diffuseMap");var y=r.get("distance"),b=o+(null==y?n.radius/100:y);g.scale.set(b,b,b),o=b;var S=this._blankTexture||(this._blankTexture=a["a"].createBlankTexture("rgba(255, 255, 255, 0)"));g.material.set("diffuseMap",S),a["a"].loadTexture(r.get("texture"),t,{flipY:!1,anisotropic:8},(function(e){e.surface&&e.surface.attachToMesh(g),g.material.set("diffuseMap",e),t.getZr().refresh()})),r.get("show")?this.groupGL.add(g):this.groupGL.remove(g)}}),this);var h=this._earthMesh.material;h.define("fragment","LAYER_DIFFUSEMAP_COUNT",s.length),h.define("fragment","LAYER_EMISSIVEMAP_COUNT",u.length),h.set("layerDiffuseMap",s),h.set("layerDiffuseIntensity",l),h.set("layerEmissiveMap",u),h.set("layerEmissionIntensity",d);var p=e.getModel("debug.wireframe");if(p.get("show")){h.define("both","WIREFRAME_TRIANGLE");var f=a["a"].parseColor(p.get("lineStyle.color")||"rgba(0,0,0,0.5)"),_=c["a"].firstNotNull(p.get("lineStyle.width"),1);h.set("wireframeLineWidth",_),h.set("wireframeLineColor",f)}else h.undefine("both","WIREFRAME_TRIANGLE")},_updateViewControl:function(e,t){var n=e.coordinateSystem,r=e.getModel("viewControl"),i=(n.viewGL.camera,this);function a(){return{type:"globeChangeCamera",alpha:o.getAlpha(),beta:o.getBeta(),distance:o.getDistance()-n.radius,center:o.getCenter(),from:i.uid,globeId:e.id}}var o=this._control;o.setViewGL(n.viewGL);var s,l,c=r.get("targetCoord");null!=c&&(l=c[0]+90,s=c[1]),o.setFromViewControlModel(r,{baseDistance:n.radius,alpha:s,beta:l}),o.off("update"),o.on("update",(function(){t.dispatchAction(a())}))},_displaceVertices:function(e,t){var n=e.get("displacementQuality"),r=e.get("debug.wireframe.show"),i=e.coordinateSystem;if(e.isDisplacementChanged()||n!==this._displacementQuality||r!==this._showDebugWireframe){this._displacementQuality=n,this._showDebugWireframe=r;var a=this._sphereGeometry,o={low:100,medium:200,high:400,ultra:800}[n]||200,s=o/2;(a.widthSegments!==o||r)&&(a.widthSegments=o,a.heightSegments=s,a.build()),this._doDisplaceVertices(a,i),r&&a.generateBarycentric()}},_doDisplaceVertices:function(e,t){var n=e.attributes.position.value,r=e.attributes.texcoord0.value,i=e.__originalPosition;i&&i.length===n.length||(i=new Float32Array(n.length),i.set(n),e.__originalPosition=i);for(var a=t.displacementWidth,o=t.displacementHeight,s=t.displacementData,l=0;lOpenStreetMap
contributors, © CARTO',center:[0,0],zoom:0,pitch:0,bearing:0,light:{main:{alpha:20,beta:30}},altitudeScale:1,boxHeight:"auto"},getMaptalksCameraOption:function(){var e=this;return s.reduce((function(t,n){return t[n]=e.get(n),t}),{})},setMaptalksCameraOption:function(e){null!=e&&s.forEach((function(t){null!=e[t]&&(this.option[t]=e[t])}),this)},getMaptalks:function(){return this._maptalks},setMaptalks:function(e){this._maptalks=e}});i.a.util.merge(l.prototype,a["a"]),i.a.util.merge(l.prototype,o["a"])},function(e,t,n){"use strict";var r=n(0),i=n.n(r),a=n(226),o=n(30),s=n(1),l=n(101);s["a"].Shader.import(l["a"]);i.a.extendComponentView({type:"maptalks3D",__ecgl__:!0,init:function(e,t){this._groundMesh=new s["a"].Mesh({geometry:new s["a"].PlaneGeometry,material:new s["a"].Material({shader:new s["a"].Shader({vertex:s["a"].Shader.source("ecgl.displayShadow.vertex"),fragment:s["a"].Shader.source("ecgl.displayShadow.fragment")}),depthMask:!1}),renderOrder:-100,culling:!1,castShadow:!1,$ignorePicking:!0,renderNormal:!0})},_initMaptalksLayer:function(e,t){var n=t.getZr();this._zrLayer=new a["a"]("maptalks3D",n,e.get("center"),e.get("zoom")),n.painter.insertLayer(-1e3,this._zrLayer),this._lightRoot=new s["a"].Node,this._sceneHelper=new o["a"](this._lightRoot),this._sceneHelper.initLight(this._lightRoot);var r=this._zrLayer.getMaptalks(),i=this._dispatchInteractAction.bind(this,t,r);["zoomend","zooming","zoomstart","dragrotating","pitch","pitchend","movestart","moving","moveend","resize","touchstart","touchmove","touchend","animating"].forEach((function(e){r.on(e,i)}))},render:function(e,t,n){this._zrLayer||this._initMaptalksLayer(e,n);var r=this._zrLayer.getMaptalks(),i=e.get("urlTemplate"),a=r.getBaseLayer();i!==this._oldUrlTemplate&&(a?a.setOptions({urlTemplate:i,attribution:e.get("attribution")}):(a=new maptalks.TileLayer("maptalks-echarts-gl-baselayer",{urlTemplate:i,subdomains:["a","b","c"],attribution:e.get("attribution")}),r.setBaseLayer(a))),this._oldUrlTemplate=i,r.setCenter(e.get("center")),r.setZoom(e.get("zoom"),{animation:!1}),r.setPitch(e.get("pitch")),r.setBearing(e.get("bearing")),e.setMaptalks(r);var o=e.coordinateSystem;o.viewGL.scene.add(this._lightRoot),o.viewGL.add(this._groundMesh),this._updateGroundMesh(),this._sceneHelper.setScene(o.viewGL.scene),this._sceneHelper.updateLight(e),o.viewGL.setPostEffect(e.getModel("postEffect"),n),o.viewGL.setTemporalSuperSampling(e.getModel("temporalSuperSampling")),this._maptalks3DModel=e},afterRender:function(e,t,n,r){var i=r.renderer;this._sceneHelper.updateAmbientCubemap(i,e,n),this._sceneHelper.updateSkybox(i,e,n),e.coordinateSystem.viewGL.scene.traverse((function(e){e.material&&(e.material.define("fragment","NORMAL_UP_AXIS",2),e.material.define("fragment","NORMAL_FRONT_AXIS",1))}))},updateCamera:function(e,t,n,r){e.coordinateSystem.setCameraOption(r),this._updateGroundMesh(),n.getZr().refresh()},_dispatchInteractAction:function(e,t,n){e.dispatchAction({type:"maptalks3DChangeCamera",pitch:t.getPitch(),zoom:u(t.getResolution())+1,center:t.getCenter().toArray(),bearing:t.getBearing(),maptalks3DId:this._maptalks3DModel&&this._maptalks3DModel.id})},_updateGroundMesh:function(){if(this._maptalks3DModel){var e=this._maptalks3DModel.coordinateSystem,t=e.dataToPoint(e.center);this._groundMesh.position.set(t[0],t[1],-.001);var n=new s["a"].Plane(new s["a"].Vector3(0,0,1),0),r=e.viewGL.camera.castRay(new s["a"].Vector2(-1,-1)),i=e.viewGL.camera.castRay(new s["a"].Vector2(1,1)),a=r.intersectPlane(n),o=i.intersectPlane(n),l=a.dist(o)/e.viewGL.rootNode.scale.x;this._groundMesh.scale.set(l,l,1)}},dispose:function(e,t){this._zrLayer&&this._zrLayer.dispose(),t.getZr().painter.delLayer(-1e3)}});const c=12756274*Math.PI/(256*Math.pow(2,20));function u(e){return 19-Math.log(e/c)/Math.LN2}},function(e,t,n){"use strict";function r(e,t,n,r){if(this.id=e,this.zr=t,this.dom=document.createElement("div"),this.dom.style.cssText="position:absolute;left:0;right:0;top:0;bottom:0;",!maptalks)throw new Error("Maptalks library must be included. See https://maptalks.org");this._maptalks=new maptalks.Map(this.dom,{center:n,zoom:r,doubleClickZoom:!1,fog:!1}),this._initEvents()}r.prototype.resize=function(){this._maptalks.checkSize()},r.prototype.getMaptalks=function(){return this._maptalks},r.prototype.clear=function(){},r.prototype.refresh=function(){this._maptalks.checkSize()};var i=["mousedown","mouseup","click","dblclick","mousemove","mousewheel","DOMMouseScroll","touchstart","touchend","touchmove","touchcancel"];r.prototype._initEvents=function(){var e=this.dom;this._handlers=this._handlers||{contextmenu:function(e){return e.preventDefault(),!1}},i.forEach((function(t){this._handlers[t]=function(n){var r={};for(var i in n)r[i]=n[i];r.bubbles=!1;var a=new n.constructor(n.type,r);"mousewheel"===t||"DOMMouseScroll"===t?e.dispatchEvent(a):e.firstElementChild.dispatchEvent(a)},this.zr.dom.addEventListener(t,this._handlers[t])}),this),this.zr.dom.addEventListener("contextmenu",this._handlers.contextmenu)},r.prototype.dispose=function(){i.forEach((function(e){this.zr.dom.removeEventListener(e,this._handlers[e])}),this),this._maptalks.remove()},t["a"]=r},function(e,t,n){"use strict";var r=n(0),i=n.n(r),a=(n(228),n(231),n(233),n(17));i.a.registerVisual(Object(a["a"])("bar3D")),i.a.registerProcessor((function(e,t){e.eachSeriesByType("bar3d",(function(e){var t=e.getData();t.filterSelf((function(e){return t.hasValue(e)}))}))}))},function(e,t,n){"use strict";var r=n(0),i=n.n(r),a=n(3),o=n(6),s=n(229),l=n(230),c=o["a"].vec3,u=i.a.helper.dataStack.isDimensionStacked;function d(e,t){var n=e.getData(),r=e.get("minHeight")||0,o=e.get("barSize"),s=["lng","lat","alt"].map((function(t){return e.coordDimToDataDim(t)[0]}));if(null==o){var u=t.radius*Math.PI,d=Object(l["a"])(n,s[0],s[1]);o=[u/Math.sqrt(n.count()/d),u/Math.sqrt(n.count()/d)]}else i.a.util.isArray(o)||(o=[o,o]);var h=f(n,s);n.each(s,(function(e,i,a,s){var l=n.get(h.dimension,s),u=h.isStacked?l-a:t.altitudeAxis.scale.getExtent()[0],d=Math.max(t.altitudeAxis.dataToCoord(a),r),p=t.dataToPoint([e,i,u]),f=t.dataToPoint([e,i,l]),_=c.sub([],f,p);c.normalize(_,_);var m=[o[0],d,o[1]];n.setItemLayout(s,[p,_,m])})),n.setLayout("orient",a["a"].UP.array)}function h(e,t){var n=e.getData(),r=e.get("barSize"),a=e.get("minHeight")||0,o=["lng","lat","alt"].map((function(t){return e.coordDimToDataDim(t)[0]}));if(null==r){var s=Math.min(t.size[0],t.size[2]),c=Object(l["a"])(n,o[0],o[1]);r=[s/Math.sqrt(n.count()/c),s/Math.sqrt(n.count()/c)]}else i.a.util.isArray(r)||(r=[r,r]);var u=[0,1,0],d=f(n,o);n.each(o,(function(e,i,o,s){var l=n.get(d.dimension,s),c=d.isStacked?l-o:t.altitudeAxis.scale.getExtent()[0],h=Math.max(t.altitudeAxis.dataToCoord(o),a),p=t.dataToPoint([e,i,c]),f=[r[0],h,r[1]];n.setItemLayout(s,[p,u,f])})),n.setLayout("orient",[1,0,0])}function p(e,t){var n=e.getData(),r=e.coordDimToDataDim("lng")[0],a=e.coordDimToDataDim("lat")[0],o=e.coordDimToDataDim("alt")[0],s=e.get("barSize"),c=e.get("minHeight")||0;if(null==s){var u=n.getDataExtent(r),d=n.getDataExtent(a),h=t.dataToPoint([u[0],d[0]]),p=t.dataToPoint([u[1],d[1]]),_=Math.min(Math.abs(h[0]-p[0]),Math.abs(h[1]-p[1]))||1,m=Object(l["a"])(n,r,a);s=[_/Math.sqrt(n.count()/m),_/Math.sqrt(n.count()/m)]}else i.a.util.isArray(s)||(s=[s,s]),s[0]/=t.getScale()/16,s[1]/=t.getScale()/16;var g=[0,0,1],v=[r,a,o],y=f(n,v);n.each(v,(function(e,r,i,a){var o=n.get(y.dimension,a),l=y.isStacked?o-i:0,u=t.dataToPoint([e,r,l]),d=t.dataToPoint([e,r,o]),h=Math.max(d[2]-u[2],c),p=[s[0],h,s[1]];n.setItemLayout(a,[u,g,p])})),n.setLayout("orient",[1,0,0])}function f(e,t){var n=u(e,t[2]);return{dimension:n?e.getCalculationInfo("stackResultDimension"):t[2],isStacked:n}}i.a.registerLayout((function(e,t){e.eachSeriesByType("bar3D",(function(e){var t=e.coordinateSystem,n=t&&t.type;if("globe"===n)d(e,t);else if("cartesian3D"===n)Object(s["a"])(e,t);else if("geo3D"===n)h(e,t);else{if("mapbox3D"!==n&&"maptalks3D"!==n)throw t?new Error("bar3D doesn't support coordinate system "+t.type):new Error("bar3D doesn't have coordinate system.");p(e,t)}}))}))},function(e,t,n){"use strict";var r=n(0),i=n.n(r),a=n(6),o=a["a"].vec3,s=i.a.helper.dataStack.isDimensionStacked;function l(e){var t=e[0],n=e[1];return!(t>0&&n>0||t<0&&n<0)}function c(e,t){var n=e.getData(),r=e.get("barSize");if(null==r){var a,c,u=t.size,d=t.getAxis("x"),h=t.getAxis("y");a="category"===d.type?.7*d.getBandWidth():.6*Math.round(u[0]/Math.sqrt(n.count())),c="category"===h.type?.7*h.getBandWidth():.6*Math.round(u[1]/Math.sqrt(n.count())),r=[a,c]}else i.a.util.isArray(r)||(r=[r,r]);var p=t.getAxis("z").scale.getExtent(),f=l(p),_=["x","y","z"].map((function(t){return e.coordDimToDataDim(t)[0]})),m=s(n,_[2]),g=m?n.getCalculationInfo("stackResultDimension"):_[2];n.each(_,(function(e,i,a,s){var l=n.get(g,s),c=m?l-a:f?0:p[0],u=t.dataToPoint([e,i,c]),d=t.dataToPoint([e,i,l]),h=o.dist(u,d),_=[0,d[1]0&&(f++,d[3]<.99&&(_=!0))}})),s.geometry.setBarCount(f);var m=n.getLayout("orient"),g=this._barIndexOfData=new Int32Array(n.count());f=0;n.each((function(e){if(n.hasValue(e)){var t=n.getItemLayout(e),r=t[0],i=t[1],a=t[2],s=4*e;d[0]=h[s++],d[1]=h[s++],d[2]=h[s++],d[3]=h[s++],d[3]>0&&(o._barMesh.geometry.addBar(r,i,m,a,d,e),g[e]=f++)}else g[e]=-1})),s.geometry.dirty(),s.geometry.updateBoundingBox();var v=s.material;v.transparent=_,v.depthMask=!_,s.geometry.sortTriangles=_,this._initHandler(e,t)},_initHandler:function(e,t){var n=e.getData(),r=this._barMesh,i="cartesian3D"===e.coordinateSystem.type;r.seriesIndex=e.seriesIndex;var a=-1;r.off("mousemove"),r.off("mouseout"),r.on("mousemove",(function(e){var o=r.geometry.getDataIndexOfVertex(e.triangle[0]);o!==a&&(this._downplay(a),this._highlight(o),this._labelsBuilder.updateLabels([o]),i&&t.dispatchAction({type:"grid3DShowAxisPointer",value:[n.get("x",o),n.get("y",o),n.get("z",o,!0)]})),a=o,r.dataIndex=o}),this),r.on("mouseout",(function(e){this._downplay(a),this._labelsBuilder.updateLabels(),a=-1,r.dataIndex=-1,i&&t.dispatchAction({type:"grid3DHideAxisPointer"})}),this)},_highlight:function(e){var t=this._data;if(t){var n=this._barIndexOfData[e];if(!(n<0)){var r=t.getItemModel(e),o=r.getModel("emphasis.itemStyle"),s=o.get("color"),l=o.get("opacity");if(null==s){var c=t.getItemVisual(e,"color");s=i.a.color.lift(c,-.4)}null==l&&(l=t.getItemVisual(e,"opacity"));var u=a["a"].parseColor(s);u[3]*=l,this._barMesh.geometry.setColor(n,u),this._api.getZr().refresh()}}},_downplay:function(e){var t=this._data;if(t){var n=this._barIndexOfData[e];if(!(n<0)){var r=t.getItemVisual(e,"color"),i=t.getItemVisual(e,"opacity"),o=a["a"].parseColor(r);o[3]*=i,this._barMesh.geometry.setColor(n,o),this._api.getZr().refresh()}}},highlight:function(e,t,n,r){this._toggleStatus("highlight",e,t,n,r)},downplay:function(e,t,n,r){this._toggleStatus("downplay",e,t,n,r)},_toggleStatus:function(e,t,n,r,a){var l=t.getData(),c=o["a"].queryDataIndex(l,a),u=this;null!=c?i.a.util.each(s["a"].normalizeToArray(c),(function(t){"highlight"===e?this._highlight(t):this._downplay(t)}),this):l.each((function(t){"highlight"===e?u._highlight(t):u._downplay(t)}))},remove:function(){this.groupGL.removeAll()},dispose:function(){this.groupGL.removeAll()}})},function(e,t,n){"use strict";var r=n(0),i=n.n(r),a=n(39),o=n(64),s=n(14),l=n(6),c=l["a"].vec3,u=l["a"].mat3,d=s["a"].extend((function(){return{attributes:{position:new s["a"].Attribute("position","float",3,"POSITION"),normal:new s["a"].Attribute("normal","float",3,"NORMAL"),color:new s["a"].Attribute("color","float",4,"COLOR"),prevPosition:new s["a"].Attribute("prevPosition","float",3),prevNormal:new s["a"].Attribute("prevNormal","float",3)},dynamic:!0,enableNormal:!1,bevelSize:1,bevelSegments:0,_dataIndices:null,_vertexOffset:0,_triangleOffset:0}}),{resetOffset:function(){this._vertexOffset=0,this._triangleOffset=0},setBarCount:function(e){var t=this.enableNormal,n=this.getBarVertexCount()*e,r=this.getBarTriangleCount()*e;this.vertexCount!==n&&(this.attributes.position.init(n),t?this.attributes.normal.init(n):this.attributes.normal.value=null,this.attributes.color.init(n)),this.triangleCount!==r&&(this.indices=n>65535?new Uint32Array(3*r):new Uint16Array(3*r),this._dataIndices=new Uint32Array(n))},getBarVertexCount:function(){var e=this.bevelSize>0?this.bevelSegments:0;return e>0?this._getBevelBarVertexCount(e):this.enableNormal?24:8},getBarTriangleCount:function(){var e=this.bevelSize>0?this.bevelSegments:0;return e>0?this._getBevelBarTriangleCount(e):12},_getBevelBarVertexCount:function(e){return 4*(e+1)*(e+1)*2},_getBevelBarTriangleCount:function(e){var t=4*e+3,n=2*e+1;return(t+1)*n*2+4},setColor:function(e,t){for(var n=this.getBarVertexCount(),r=n*e,i=n*(e+1),a=r;a0&&this.bevelSegments>0)this._addBevelBar(e,h,m,g,this.bevelSize,this.bevelSegments,v);else{c.copy(i,h),c.normalize(i,i),c.cross(a,m,i),c.normalize(a,a),c.cross(r,i,a),c.normalize(a,a),c.negate(o,r),c.negate(s,i),c.negate(l,a),t(u[0],e,r,g[0]/2),t(u[0],u[0],a,g[2]/2),t(u[1],e,r,g[0]/2),t(u[1],u[1],l,g[2]/2),t(u[2],e,o,g[0]/2),t(u[2],u[2],l,g[2]/2),t(u[3],e,o,g[0]/2),t(u[3],u[3],a,g[2]/2),t(n,e,i,g[1]),t(u[4],n,r,g[0]/2),t(u[4],u[4],a,g[2]/2),t(u[5],n,r,g[0]/2),t(u[5],u[5],l,g[2]/2),t(u[6],n,o,g[0]/2),t(u[6],u[6],l,g[2]/2),t(u[7],n,o,g[0]/2),t(u[7],u[7],a,g[2]/2);var S=this.attributes;if(this.enableNormal){d[0]=r,d[1]=o,d[2]=i,d[3]=s,d[4]=a,d[5]=l;for(var E=this._vertexOffset,x=0;x=0){var x=3*u,T=new c["a"](this._points[x],this._points[x+1],this._points[x+2]);a.push({dataIndex:u,point:T,pointWorld:T.clone(),target:this._line3DMesh,distance:this._camera.getWorldPosition().dist(T)})}},remove:function(){this.groupGL.removeAll()},dispose:function(){this.groupGL.removeAll()}})},function(e,t){function n(e,t,n,r,i,a,o){if(0===i)return!1;var s=i,l=0,c=e;if(o>t+s&&o>r+s||oe+s&&a>n+s||as?c.position[1]+=(u-s)/2:c.position[0]+=(u-o)/2;var d=c.getBoundingRect();return c.position[0]-=d.x,c.position[1]-=d.y,c.setStyle(n),c.update(),c.__size=u,c}function s(e,t,n){var r=t.width,i=t.height,a=e.canvas.width,o=e.canvas.height,s=r/a,l=i/o;function c(e){return e<128?1:-1}function u(e,a){var o=1/0;e=Math.floor(e*s),a=Math.floor(a*l);for(var u=a*r+e,d=t.data[4*u],h=c(d),p=Math.max(a-n,0);p=0;d--){var h;h=this.geometry.indices?this.geometry.indices[d]:d;var p=s[2*h],f=s[2*h+1],_=this.geometry.attributes.size.get(h)/this.sizeScale,m=_/2;if(e>p-m*c&&ef-m*u&&t=2e4},doSortVertices:function(e,t){var n=this.indices,r=a.create();if(!n){n=this.indices=this.vertexCount>65535?new Uint32Array(this.vertexCount):new Uint16Array(this.vertexCount);for(var i=0;i.05);else for(i=0;i<3;i++)this._progressiveQuickSort(3*t+i);this.dirtyIndices()},_simpleSort:function(e){var t=this._zList,n=this.indices;function i(e,n){return t[n]-t[e]}e?Array.prototype.sort.call(n,i):r["a"].sort(n,i,0,n.length-1)},_progressiveQuickSort:function(e){var t=this._zList,n=this.indices;this._quickSort=this._quickSort||new r["a"],this._quickSort.step(n,(function(e,n){return t[n]-t[e]}),e)}}},function(e,t,n){"use strict";t["a"]="@export ecgl.sdfSprite.vertex\n\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\nuniform float elapsedTime : 0;\n\nattribute vec3 position : POSITION;\n\n#ifdef VERTEX_SIZE\nattribute float size;\n#else\nuniform float u_Size;\n#endif\n\n#ifdef VERTEX_COLOR\nattribute vec4 a_FillColor: COLOR;\nvarying vec4 v_Color;\n#endif\n\n#ifdef VERTEX_ANIMATION\nattribute vec3 prevPosition;\nattribute float prevSize;\nuniform float percent : 1.0;\n#endif\n\n\n#ifdef POSITIONTEXTURE_ENABLED\nuniform sampler2D positionTexture;\n#endif\n\nvarying float v_Size;\n\nvoid main()\n{\n\n#ifdef POSITIONTEXTURE_ENABLED\n gl_Position = worldViewProjection * vec4(texture2D(positionTexture, position.xy).xy, -10.0, 1.0);\n#else\n\n #ifdef VERTEX_ANIMATION\n vec3 pos = mix(prevPosition, position, percent);\n #else\n vec3 pos = position;\n #endif\n gl_Position = worldViewProjection * vec4(pos, 1.0);\n#endif\n\n#ifdef VERTEX_SIZE\n#ifdef VERTEX_ANIMATION\n v_Size = mix(prevSize, size, percent);\n#else\n v_Size = size;\n#endif\n#else\n v_Size = u_Size;\n#endif\n\n#ifdef VERTEX_COLOR\n v_Color = a_FillColor;\n #endif\n\n gl_PointSize = v_Size;\n}\n\n@end\n\n@export ecgl.sdfSprite.fragment\n\nuniform vec4 color: [1, 1, 1, 1];\nuniform vec4 strokeColor: [1, 1, 1, 1];\nuniform float smoothing: 0.07;\n\nuniform float lineWidth: 0.0;\n\n#ifdef VERTEX_COLOR\nvarying vec4 v_Color;\n#endif\n\nvarying float v_Size;\n\nuniform sampler2D sprite;\n\n@import clay.util.srgb\n\nvoid main()\n{\n gl_FragColor = color;\n\n vec4 _strokeColor = strokeColor;\n\n#ifdef VERTEX_COLOR\n gl_FragColor *= v_Color;\n #endif\n\n#ifdef SPRITE_ENABLED\n float d = texture2D(sprite, gl_PointCoord).r;\n gl_FragColor.a *= smoothstep(0.5 - smoothing, 0.5 + smoothing, d);\n\n if (lineWidth > 0.0) {\n float sLineWidth = lineWidth / 2.0;\n\n float outlineMaxValue0 = 0.5 + sLineWidth;\n float outlineMaxValue1 = 0.5 + sLineWidth + smoothing;\n float outlineMinValue0 = 0.5 - sLineWidth - smoothing;\n float outlineMinValue1 = 0.5 - sLineWidth;\n\n if (d <= outlineMaxValue1 && d >= outlineMinValue0) {\n float a = _strokeColor.a;\n if (d <= outlineMinValue1) {\n a = a * smoothstep(outlineMinValue0, outlineMinValue1, d);\n }\n else {\n a = a * smoothstep(outlineMaxValue1, outlineMaxValue0, d);\n }\n gl_FragColor.rgb = mix(gl_FragColor.rgb * gl_FragColor.a, _strokeColor.rgb, a);\n gl_FragColor.a = gl_FragColor.a * (1.0 - a) + a;\n }\n }\n#endif\n\n#ifdef SRGB_DECODE\n gl_FragColor = sRGBToLinear(gl_FragColor);\n#endif\n}\n@end"},function(e,t,n){"use strict";var r=n(0),i=n.n(r),a=(n(246),n(247),n(250),n(17));i.a.registerVisual(Object(a["a"])("lines3D")),i.a.registerAction({type:"lines3DPauseEffect",event:"lines3deffectpaused",update:"series.lines3D:pauseEffect"},(function(){})),i.a.registerAction({type:"lines3DResumeEffect",event:"lines3deffectresumed",update:"series.lines3D:resumeEffect"},(function(){})),i.a.registerAction({type:"lines3DToggleEffect",event:"lines3deffectchanged",update:"series.lines3D:toggleEffect"},(function(){}))},function(e,t,n){"use strict";var r=n(0),i=n.n(r),a=n(6),o=a["a"].vec3,s=a["a"].vec2,l=o.normalize,c=o.cross,u=o.sub,d=o.add,h=o.create,p=h(),f=h(),_=h(),m=h(),g=[],v=[];function y(e,t){s.copy(g,e[0]),s.copy(v,e[1]);var n=[],r=n[0]=h(),i=n[1]=h(),a=n[2]=h(),y=n[3]=h();t.dataToPoint(g,r),t.dataToPoint(v,y),l(p,r),u(f,y,r),l(f,f),c(_,f,p),l(_,_),c(f,p,_),d(i,p,f),l(i,i),l(p,y),u(f,r,y),l(f,f),c(_,f,p),l(_,_),c(f,p,_),d(a,p,f),l(a,a),d(m,r,y),l(m,m);var b=o.dot(r,m),S=o.dot(m,i),E=(Math.max(o.len(r),o.len(y))-b)/S*2;return o.scaleAndAdd(i,r,i,E),o.scaleAndAdd(a,y,a,E),n}function b(e,t,n){var r=[],i=r[0]=o.create(),a=r[1]=o.create(),s=r[2]=o.create(),l=r[3]=o.create();t.dataToPoint(e[0],i),t.dataToPoint(e[1],l);var c=o.dist(i,l);return o.lerp(a,i,l,.3),o.lerp(s,i,l,.3),o.scaleAndAdd(a,a,n,Math.min(.1*c,10)),o.scaleAndAdd(s,s,n,Math.min(.1*c,10)),r}function S(e,t){for(var n=new Float32Array(3*e.length),r=0,i=[],a=0;a0&&i[0]instanceof Array))throw new Error("Invalid coords "+JSON.stringify(i)+". Lines must have 2d coords array in data item.");t.push(i)})),{coordsList:t}}function x(e,t){var n=e.getData(),r=e.get("polyline");n.setLayout("lineType",r?"polyline":"cubicBezier");var i=E(n);n.each((function(e){var a=i.coordsList[e],o=r?S:y;n.setItemLayout(e,o(a,t))}))}function T(e,t,n){var r=e.getData(),i=e.get("polyline"),a=E(r);r.setLayout("lineType",i?"polyline":"cubicBezier"),r.each((function(e){var o=a.coordsList[e],s=i?S(o,t):b(o,t,n);r.setItemLayout(e,s)}))}i.a.registerLayout((function(e,t){e.eachSeriesByType("lines3D",(function(e){var t=e.coordinateSystem;"globe"===t.type?x(e,t):"geo3D"===t.type?T(e,t,[0,1,0]):"mapbox3D"!==t.type&&"maptalks3D"!==t.type||T(e,t,[0,0,1])}))}))},function(e,t,n){"use strict";var r=n(0),i=n.n(r),a=n(1),o=n(25),s=n(248),l=n(46);function c(e){return null!=e.radius?e.radius:null!=e.size?Math.max(e.size[0],e.size[1],e.size[2]):100}a["a"].Shader.import(l["a"]);i.a.extendChartView({type:"lines3D",__ecgl__:!0,init:function(e,t){this.groupGL=new a["a"].Node,this._meshLinesMaterial=new a["a"].Material({shader:a["a"].createShader("ecgl.meshLines3D"),transparent:!0,depthMask:!1}),this._linesMesh=new a["a"].Mesh({geometry:new o["a"],material:this._meshLinesMaterial,$ignorePicking:!0}),this._trailMesh=new s["a"]},render:function(e,t,n){this.groupGL.add(this._linesMesh);var r=e.coordinateSystem,i=e.getData();if(r&&r.viewGL){var o=r.viewGL;o.add(this.groupGL),this._updateLines(e,t,n);var s=r.viewGL.isLinearSpace()?"define":"undefine";this._linesMesh.material[s]("fragment","SRGB_DECODE"),this._trailMesh.material[s]("fragment","SRGB_DECODE")}var l=this._trailMesh;if(l.stopAnimation(),e.get("effect.show")){this.groupGL.add(l),l.updateData(i,n,this._linesMesh.geometry),l.__time=l.__time||0;var c=36e5;this._curveEffectsAnimator=l.animate("",{loop:!0}).when(c,{__time:c}).during((function(){l.setAnimationTime(l.__time)})).start()}else this.groupGL.remove(l),this._curveEffectsAnimator=null;this._linesMesh.material.blend=this._trailMesh.material.blend="lighter"===e.get("blendMode")?a["a"].additiveBlend:null},pauseEffect:function(){this._curveEffectsAnimator&&this._curveEffectsAnimator.pause()},resumeEffect:function(){this._curveEffectsAnimator&&this._curveEffectsAnimator.resume()},toggleEffect:function(){var e=this._curveEffectsAnimator;e&&(e.isPaused()?e.resume():e.pause())},_updateLines:function(e,t,n){var r=e.getData(),i=e.coordinateSystem,o=this._linesMesh.geometry,s=e.get("polyline");o.expandLine=!0;var l=c(i);o.segmentScale=l/20;var u="lineStyle.width".split("."),d=n.getDevicePixelRatio(),h=0;r.each((function(e){var t=r.getItemModel(e),n=t.get(u);null==n&&(n=1),r.setItemVisual(e,"lineWidth",n),h=Math.max(n,h)})),o.useNativeLine=!1;var p=0,f=0;r.each((function(e){var t=r.getItemLayout(e);s?(p+=o.getPolylineVertexCount(t),f+=o.getPolylineTriangleCount(t)):(p+=o.getCubicCurveVertexCount(t[0],t[1],t[2],t[3]),f+=o.getCubicCurveTriangleCount(t[0],t[1],t[2],t[3]))})),o.setVertexCount(p),o.setTriangleCount(f),o.resetOffset();var _=[];r.each((function(e){var t=r.getItemLayout(e),n=r.getItemVisual(e,"color"),i=r.getItemVisual(e,"opacity"),l=r.getItemVisual(e,"lineWidth")*d;null==i&&(i=1),_=a["a"].parseColor(n,_),_[3]*=i,s?o.addPolyline(t,_,l):o.addCubicCurve(t[0],t[1],t[2],t[3],_,l)})),o.dirty()},remove:function(){this.groupGL.removeAll()},dispose:function(){this.groupGL.removeAll()}})},function(e,t,n){"use strict";var r=n(0),i=(n.n(r),n(1)),a=n(6),o=n(25),s=n(249),l=a["a"].vec3;function c(e){return e>0?1:-1}i["a"].Shader.import(s["a"]),t["a"]=i["a"].Mesh.extend((function(){var e=new i["a"].Material({shader:new i["a"].Shader(i["a"].Shader.source("ecgl.trail2.vertex"),i["a"].Shader.source("ecgl.trail2.fragment")),transparent:!0,depthMask:!1}),t=new o["a"]({dynamic:!0});return t.createAttribute("dist","float",1),t.createAttribute("distAll","float",1),t.createAttribute("start","float",1),{geometry:t,material:e,culling:!1,$ignorePicking:!0}}),{updateData:function(e,t,n){var r=e.hostModel,a=this.geometry,o=r.getModel("effect"),s=o.get("trailWidth")*t.getDevicePixelRatio(),u=o.get("trailLength"),d=r.get("effect.constantSpeed"),h=1e3*r.get("effect.period"),p=null!=d;this.getScene()||console.error("TrailMesh must been add to scene before updateData"),p?this.material.set("speed",d/1e3):this.material.set("period",h),this.material[p?"define":"undefine"]("vertex","CONSTANT_SPEED");var f=r.get("polyline");a.trailLength=u,this.material.set("trailLength",u),a.resetOffset(),["position","positionPrev","positionNext"].forEach((function(e){a.attributes[e].value=n.attributes[e].value}));var _=["dist","distAll","start","offset","color"];_.forEach((function(e){a.attributes[e].init(a.vertexCount)})),a.indices=n.indices;var m=[],g=o.get("trailColor"),v=o.get("trailOpacity"),y=null!=g,b=null!=v;this.updateWorldTransform();var S=this.worldTransform.x.len(),E=this.worldTransform.y.len(),x=this.worldTransform.z.len(),T=0,C=0;e.each((function(t){var r=e.getItemLayout(t),o=b?v:e.getItemVisual(t,"opacity"),u=e.getItemVisual(t,"color");null==o&&(o=1),m=i["a"].parseColor(y?g:u,m),m[3]*=o;for(var d=f?n.getPolylineVertexCount(r):n.getCubicCurveVertexCount(r[0],r[1],r[2],r[3]),_=0,A=[],w=[],O=T;OT&&(_+=l.dist(A,w)),a.attributes.dist.set(O,_),l.copy(w,A);C=Math.max(C,_);var R=Math.random()*(p?_:h);for(O=T;O0;this._updateSurfaceMesh(this._surfaceMesh,e,d,f);var _=this._surfaceMesh.material;f?(_.define("WIREFRAME_QUAD"),_.set("wireframeLineWidth",p),_.set("wireframeLineColor",a["a"].parseColor(h.get("lineStyle.color")))):_.undefine("WIREFRAME_QUAD"),this._initHandler(e,n),this._updateAnimation(e)},_updateAnimation:function(e){a["a"].updateVertexAnimation([["prevPosition","position"],["prevNormal","normal"]],this._prevSurfaceMesh,this._surfaceMesh,e)},_createSurfaceMesh:function(){var e=new a["a"].Mesh({geometry:new a["a"].Geometry({dynamic:!0,sortTriangles:!0}),shadowDepthMaterial:new a["a"].Material({shader:new a["a"].Shader(a["a"].Shader.source("ecgl.sm.depth.vertex"),a["a"].Shader.source("ecgl.sm.depth.fragment"))}),culling:!1,renderOrder:10,renderNormal:!0});return e.geometry.createAttribute("barycentric","float",4),e.geometry.createAttribute("prevPosition","float",3),e.geometry.createAttribute("prevNormal","float",3),i.a.util.extend(e.geometry,s["a"]),e},_initHandler:function(e,t){var n=e.getData(),r=this._surfaceMesh,i=e.coordinateSystem;function a(e,t){for(var n=1/0,i=-1,a=[],o=0;o=0){var c=[];r.geometry.attributes.position.get(s,c);for(var u=i.pointToData(c),d=1/0,h=-1,p=[],f=0;f65535?Uint32Array:Uint16Array)((g-1)*(v-1)*6),C=function(e,t,n){n[1]=e*v+t,n[0]=e*v+t+1,n[3]=(e+1)*v+t+1,n[2]=(e+1)*v+t},A=!1;if(d){var w=[],O=[],R=0;b?p.init(i.vertexCount):p.value=null;for(var I=[[],[],[]],N=[],M=[],D=l.create(),L=function(e,t,n){var r=3*t;return n[0]=e[r],n[1]=e[r+1],n[2]=e[r+2],n},P=new Float32Array(s.length),k=new Float32Array(s.length/3*4),F=0;F0){if(Math.floor(l/d)===l/d)return[d,l/d];d--}return d=Math.floor(Math.sqrt(l)),[d,d]},dispose:function(){this.groupGL.removeAll()},remove:function(){this.groupGL.removeAll()}})},function(e,t,n){"use strict";var r=n(0),i=n.n(r);i.a.registerLayout((function(e,t){e.eachSeriesByType("surface",(function(e){var t=e.coordinateSystem;t&&"cartesian3D"===t.type||console.error("Surface chart only support cartesian3D coordinateSystem");var n=e.getData(),r=new Float32Array(3*n.count()),i=[NaN,NaN,NaN];if(t&&"cartesian3D"===t.type){var a=t.dimensions,o=a.map((function(t){return e.coordDimToDataDim(t)[0]}));n.each(o,(function(e,a,o,s){var l;l=n.hasValue(s)?t.dataToPoint([e,a,o]):i,r[3*s]=l[0],r[3*s+1]=l[1],r[3*s+2]=l[2]}))}n.setLayout("points",r)}))}))},function(e,t,n){"use strict";var r=n(0),i=n.n(r),a=(n(98),n(259),n(260),n(17));i.a.registerVisual(Object(a["a"])("map3D")),i.a.registerAction({type:"map3DChangeCamera",event:"map3dcamerachanged",update:"series:updateCamera"},(function(e,t){t.eachComponent({mainType:"series",subType:"map3D",query:e},(function(t){t.setView(e)}))}))},function(e,t,n){"use strict";var r=n(0),i=n.n(r),a=n(44),o=n(28),s=n(29),l=n(31),c=n(95),u=n(32),d=n(40),h=n(97);function p(e,t){for(var n=[],r=0;r ")),a.value&&(u+=" : "+i.a.format.encodeHTML(a.value)),u}return s.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var e=(this.option.categories||[]).map((function(e){return null!=e.value?e:i.a.util.extend({value:0},e)})),t=new i.a.List(["value"],this);t.initData(e),this._categoriesData=t,this._categoriesModels=t.mapArray((function(e){return t.getItemModel(e,!0)}))},setView:function(e){null!=e.zoom&&(this.option.zoom=e.zoom),null!=e.offset&&(this.option.offset=e.offset)},setNodePosition:function(e){for(var t=0;t "+g)),f++)}var v=i.a.helper.completeDimensions(["value"],e);d=new i.a.List(v,n),d.initData(e);var y=new i.a.List(["value"],n);return y.initData(p,h),a&&a(d,y),l()({mainData:d,struct:s,structAttr:"graph",datas:{node:d,edge:y},datasAttr:{node:"data",edge:"edgeData"}}),s.update(),s}},function(e,t,n){var r=n(103),i=(r.__DEV__,n(16)),a=n(270),o=a.enableClassCheck;function s(e){return"_EC_"+e}var l=function(e){this._directed=e||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},c=l.prototype;function u(e,t){this.id=null==e?"":e,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=null==t?-1:t}function d(e,t,n){this.node1=e,this.node2=t,this.dataIndex=null==n?-1:n}c.type="graph",c.isDirected=function(){return this._directed},c.addNode=function(e,t){e=null==e?""+t:""+e;var n=this._nodesMap;if(!n[s(e)]){var r=new u(e,t);return r.hostGraph=this,this.nodes.push(r),n[s(e)]=r,r}},c.getNodeByIndex=function(e){var t=this.data.getRawIndex(e);return this.nodes[t]},c.getNodeById=function(e){return this._nodesMap[s(e)]},c.addEdge=function(e,t,n){var r=this._nodesMap,i=this._edgesMap;if("number"===typeof e&&(e=this.nodes[e]),"number"===typeof t&&(t=this.nodes[t]),u.isInstance(e)||(e=r[s(e)]),u.isInstance(t)||(t=r[s(t)]),e&&t){var a=e.id+"-"+t.id;if(!i[a]){var o=new d(e,t,n);return o.hostGraph=this,this._directed&&(e.outEdges.push(o),t.inEdges.push(o)),e.edges.push(o),e!==t&&t.edges.push(o),this.edges.push(o),i[a]=o,o}}},c.getEdgeByIndex=function(e){var t=this.edgeData.getRawIndex(e);return this.edges[t]},c.getEdge=function(e,t){u.isInstance(e)&&(e=e.id),u.isInstance(t)&&(t=t.id);var n=this._edgesMap;return this._directed?n[e+"-"+t]:n[e+"-"+t]||n[t+"-"+e]},c.eachNode=function(e,t){for(var n=this.nodes,r=n.length,i=0;i=0&&e.call(t,n[i],i)},c.eachEdge=function(e,t){for(var n=this.edges,r=n.length,i=0;i=0&&n[i].node1.dataIndex>=0&&n[i].node2.dataIndex>=0&&e.call(t,n[i],i)},c.breadthFirstTraverse=function(e,t,n,r){if(u.isInstance(t)||(t=this._nodesMap[s(t)]),t){for(var i="out"===n?"outEdges":"in"===n?"inEdges":"edges",a=0;a=0&&n.node2.dataIndex>=0}));for(i=0,a=r.length;i=0&&this[e][t].setItemVisual(this.dataIndex,n,r)},getVisual:function(n,r){return this[e][t].getItemVisual(this.dataIndex,n,r)},setLayout:function(n,r){this.dataIndex>=0&&this[e][t].setItemLayout(this.dataIndex,n,r)},getLayout:function(){return this[e][t].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[e][t].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[e][t].getRawIndex(this.dataIndex)}}};i.mixin(u,h("hostGraph","data")),i.mixin(d,h("hostGraph","edgeData")),l.Node=u,l.Edge=d,o(u),o(d);var p=l;e.exports=p},function(e,t,n){var r=n(103),i=(r.__DEV__,n(16)),a=".",o="___EC__COMPONENT__CONTAINER___";function s(e){var t={main:"",sub:""};return e&&(e=e.split(a),t.main=e[0]||"",t.sub=e[1]||""),t}function l(e){i.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(e),'componentType "'+e+'" illegal')}function c(e,t){e.$constructor=e,e.extend=function(e){var t=this,n=function(){e.$constructor?e.$constructor.apply(this,arguments):t.apply(this,arguments)};return i.extend(n.prototype,e),n.extend=this.extend,n.superCall=h,n.superApply=p,i.inherits(n,this),n.superClass=t,n}}var u=0;function d(e){var t=["__\0is_clz",u++,Math.random().toFixed(3)].join("_");e.prototype[t]=!0,e.isInstance=function(e){return!(!e||!e[t])}}function h(e,t){var n=i.slice(arguments,2);return this.superClass.prototype[t].apply(e,n)}function p(e,t,n){return this.superClass.prototype[t].apply(e,n)}function f(e,t){t=t||{};var n={};function r(e){var t=n[e.main];return t&&t[o]||(t=n[e.main]={},t[o]=!0),t}if(e.registerClass=function(e,t){if(t)if(l(t),t=s(t),t.sub){if(t.sub!==o){var i=r(t);i[t.sub]=e}}else n[t.main]=e;return e},e.getClass=function(e,t,r){var i=n[e];if(i&&i[o]&&(i=t?i[t]:null),r&&!i)throw new Error(t?"Component "+e+"."+(t||"")+" not exists. Load it first.":e+".type should be specified.");return i},e.getClassesByMainType=function(e){e=s(e);var t=[],r=n[e.main];return r&&r[o]?i.each(r,(function(e,n){n!==o&&t.push(e)})):t.push(r),t},e.hasClass=function(e){return e=s(e),!!n[e.main]},e.getAllClassMainTypes=function(){var e=[];return i.each(n,(function(t,n){e.push(n)})),e},e.hasSubTypes=function(e){e=s(e);var t=n[e.main];return t&&t[o]},e.parseClassType=s,t.registerWhenExtend){var a=e.extend;a&&(e.extend=function(t){var n=a.call(this,t);return e.registerClass(n,t.type)})}return e}function _(e,t){}t.parseClassType=s,t.enableClassExtend=c,t.enableClassCheck=d,t.enableClassManagement=f,t.setReadOnly=_},function(e,t,n){var r=n(16),i=r.each,a="\0__link_datas",o="\0__link_mainData";function s(e){var t=e.mainData,n=e.datas;n||(n={main:t},e.datasAttr={main:"data"}),e.datas=e.mainData=null,p(t,n,e),i(n,(function(n){i(t.TRANSFERABLE_METHODS,(function(t){n.wrapMethod(t,r.curry(l,e))}))})),t.wrapMethod("cloneShallow",r.curry(u,e)),i(t.CHANGABLE_METHODS,(function(n){t.wrapMethod(n,r.curry(c,e))})),r.assert(n[t.dataType]===t)}function l(e,t){if(h(this)){var n=r.extend({},this[a]);n[this.dataType]=t,p(t,n,e)}else f(t,this.dataType,this[o],e);return t}function c(e,t){return e.struct&&e.struct.update(this),t}function u(e,t){return i(t[a],(function(n,r){n!==t&&f(n.cloneShallow(),r,t,e)})),t}function d(e){var t=this[o];return null==e||null==t?t:t[a][e]}function h(e){return e[o]===e}function p(e,t,n){e[a]={},i(t,(function(t,r){f(t,r,e,n)}))}function f(e,t,n,r){n[a][t]=e,e[o]=n,e.dataType=t,r.struct&&(e[r.structAttr]=r.struct,r.struct[r.datasAttr[t]]=e),e.getLinkedData=d}var _=s;e.exports=_},function(e,t,n){"use strict";var r=n(0),i=n.n(r),a=n(47),o=n.n(a),s=n(1),l=n(22),c=n(104),u=n(2),d=n(273),h=n(275),p=n(81),f=n.n(p),_=n(6),m=n(277),g=n(66),v=n(278),y=_["a"].vec2;s["a"].Shader.import(v["a"]);var b=1;i.a.extendChartView({type:"graphGL",__ecgl__:!0,init:function(e,t){this.groupGL=new s["a"].Node,this.viewGL=new l["a"]("orthographic"),this.viewGL.camera.left=this.viewGL.camera.right=0,this.viewGL.add(this.groupGL),this._pointsBuilder=new g["a"](!0,t),this._forceEdgesMesh=new s["a"].Mesh({material:new s["a"].Material({shader:s["a"].createShader("ecgl.forceAtlas2.edges"),transparent:!0,depthMask:!1,depthTest:!1}),$ignorePicking:!0,geometry:new s["a"].Geometry({attributes:{node:new s["a"].Geometry.Attribute("node","float",2),color:new s["a"].Geometry.Attribute("color","float",4,"COLOR")},dynamic:!0,mainAttribute:"node"}),renderOrder:-1,mode:s["a"].Mesh.LINES}),this._edgesMesh=new s["a"].Mesh({material:new s["a"].Material({shader:s["a"].createShader("ecgl.meshLines2D"),transparent:!0,depthMask:!1,depthTest:!1}),$ignorePicking:!0,geometry:new c["a"]({useNativeLine:!1,dynamic:!0}),renderOrder:-1,culling:!1}),this._layoutId=0,this._control=new m["a"]({zr:t.getZr(),viewGL:this.viewGL}),this._control.setTarget(this.groupGL),this._control.init(),this._clickHandler=this._clickHandler.bind(this)},render:function(e,t,n){this.groupGL.add(this._pointsBuilder.rootNode),this._model=e,this._api=n,this._initLayout(e,t,n),this._pointsBuilder.update(e,t,n),this._forceLayoutInstance instanceof d["a"]||this.groupGL.remove(this._forceEdgesMesh),this._updateCamera(e,n),this._control.off("update"),this._control.on("update",(function(){n.dispatchAction({type:"graphGLRoam",seriesId:e.id,zoom:this._control.getZoom(),offset:this._control.getOffset()}),this._pointsBuilder.updateView(this.viewGL.camera)}),this),this._control.setZoom(u["a"].firstNotNull(e.get("zoom"),1)),this._control.setOffset(e.get("offset")||[0,0]);var r=this._pointsBuilder.getPointsMesh();if(r.off("mousemove",this._mousemoveHandler),r.off("mouseout",this._mouseOutHandler,this),n.getZr().off("click",this._clickHandler),this._pointsBuilder.highlightOnMouseover=!0,e.get("focusNodeAdjacency")){var i=e.get("focusNodeAdjacencyOn");"click"===i?n.getZr().on("click",this._clickHandler):"mouseover"===i?(r.on("mousemove",this._mousemoveHandler,this),r.on("mouseout",this._mouseOutHandler,this),this._pointsBuilder.highlightOnMouseover=!1):console.warn("Unkown focusNodeAdjacencyOn value s"+i)}this._lastMouseOverDataIndex=-1},_clickHandler:function(e){if(!this._layouting){var t=this._pointsBuilder.getPointsMesh().dataIndex;t>=0?this._api.dispatchAction({type:"graphGLFocusNodeAdjacency",seriesId:this._model.id,dataIndex:t}):this._api.dispatchAction({type:"graphGLUnfocusNodeAdjacency",seriesId:this._model.id})}},_mousemoveHandler:function(e){if(!this._layouting){var t=this._pointsBuilder.getPointsMesh().dataIndex;t>=0?t!==this._lastMouseOverDataIndex&&this._api.dispatchAction({type:"graphGLFocusNodeAdjacency",seriesId:this._model.id,dataIndex:t}):this._mouseOutHandler(e),this._lastMouseOverDataIndex=t}},_mouseOutHandler:function(e){this._layouting||(this._api.dispatchAction({type:"graphGLUnfocusNodeAdjacency",seriesId:this._model.id}),this._lastMouseOverDataIndex=-1)},_updateForceEdgesGeometry:function(e,t){var n=this._forceEdgesMesh.geometry,r=t.getEdgeData(),i=0,a=this._forceLayoutInstance,o=2*r.count();n.attributes.node.init(o),n.attributes.color.init(o),r.each((function(t){var o=e[t];n.attributes.node.set(i,a.getNodeUV(o.node1)),n.attributes.node.set(i+1,a.getNodeUV(o.node2));var l=r.getItemVisual(o.dataIndex,"color"),c=s["a"].parseColor(l);c[3]*=u["a"].firstNotNull(r.getItemVisual(o.dataIndex,"opacity"),1),n.attributes.color.set(i,c),n.attributes.color.set(i+1,c),i+=2})),n.dirty()},_updateMeshLinesGeometry:function(){var e=this._model.getEdgeData(),t=this._edgesMesh.geometry,n=(e=this._model.getEdgeData(),this._model.getData().getLayout("points"));t.resetOffset(),t.setVertexCount(e.count()*t.getLineVertexCount()),t.setTriangleCount(e.count()*t.getLineTriangleCount());var r=[],i=[],a=["lineStyle","width"];this._originalEdgeColors=new Float32Array(4*e.count()),this._edgeIndicesMap=new Float32Array(e.count()),e.each((function(o){var l=e.graph.getEdgeByIndex(o),c=2*l.node1.dataIndex,d=2*l.node2.dataIndex;r[0]=n[c],r[1]=n[c+1],i[0]=n[d],i[1]=n[d+1];var h=e.getItemVisual(l.dataIndex,"color"),p=s["a"].parseColor(h);p[3]*=u["a"].firstNotNull(e.getItemVisual(l.dataIndex,"opacity"),1);var f=e.getItemModel(l.dataIndex),_=u["a"].firstNotNull(f.get(a),1)*this._api.getDevicePixelRatio();t.addLine(r,i,p,_);for(var m=0;m<4;m++)this._originalEdgeColors[4*l.dataIndex+m]=p[m];this._edgeIndicesMap[l.dataIndex]=o}),this),t.dirty()},_updateForceNodesGeometry:function(e){for(var t=this._pointsBuilder.getPointsMesh(),n=[],r=0;r=p&&(l._syncNodePosition(e),h=0),n.getZr().refresh(),f()((function(){_(t)}))}))};f()((function(){l._forceLayoutInstanceToDispose&&(l._forceLayoutInstanceToDispose.dispose(i.layer.renderer),l._forceLayoutInstanceToDispose=null),_(c)})),this._layouting=!0}}else console.error("None layout don't have startLayout action")}},stopLayout:function(e,t,n,r){r&&null!=r.from&&r.from!==this.uid||(this._layoutId=0,this.groupGL.remove(this._forceEdgesMesh),this.groupGL.add(this._edgesMesh),this._forceLayoutInstance&&this.viewGL.layer&&(r&&r.beforeLayout||(this._syncNodePosition(e),this._updateAfterLayout(e,t,n)),this._api.getZr().refresh(),this._layouting=!1))},_syncNodePosition:function(e){var t=this._forceLayoutInstance.getNodePosition(this.viewGL.layer.renderer);e.getData().setLayout("points",t),e.setNodePosition(t)},_updateAfterLayout:function(e,t,n){this._updateMeshLinesGeometry(),this._pointsBuilder.removePositionTexture(),this._pointsBuilder.updateLayout(e,t,n),this._pointsBuilder.updateView(this.viewGL.camera),this._pointsBuilder.updateLabels(),this._pointsBuilder.showLabels()},focusNodeAdjacency:function(e,t,n,r){var i=this._model.getData();this._downplayAll();var a=r.dataIndex,o=i.graph,s=[],l=o.getNodeByIndex(a);s.push(l),l.edges.forEach((function(e){e.dataIndex<0||(e.node1!==l&&s.push(e.node1),e.node2!==l&&s.push(e.node2))}),this),this._pointsBuilder.fadeOutAll(.05),this._fadeOutEdgesAll(.05),s.forEach((function(e){this._pointsBuilder.highlight(i,e.dataIndex)}),this),this._pointsBuilder.updateLabels(s.map((function(e){return e.dataIndex})));var c=[];l.edges.forEach((function(e){e.dataIndex>=0&&(this._highlightEdge(e.dataIndex),c.push(e))}),this),this._focusNodes=s,this._focusEdges=c},unfocusNodeAdjacency:function(e,t,n,r){this._downplayAll(),this._pointsBuilder.fadeInAll(),this._fadeInEdgesAll(),this._pointsBuilder.updateLabels()},_highlightEdge:function(e){var t=this._model.getEdgeData().getItemModel(e),n=s["a"].parseColor(t.get("emphasis.lineStyle.color")||t.get("lineStyle.color")),r=u["a"].firstNotNull(t.get("emphasis.lineStyle.opacity"),t.get("lineStyle.opacity"),1);n[3]*=r,this._edgesMesh.geometry.setItemColor(this._edgeIndicesMap[e],n)},_downplayAll:function(){this._focusNodes&&this._focusNodes.forEach((function(e){this._pointsBuilder.downplay(this._model.getData(),e.dataIndex)}),this),this._focusEdges&&this._focusEdges.forEach((function(e){this._downplayEdge(e.dataIndex)}),this)},_downplayEdge:function(e){var t=this._getColor(e,[]);this._edgesMesh.geometry.setItemColor(this._edgeIndicesMap[e],t)},_setEdgeFade:function(){var e=[];return function(t,n){this._getColor(t,e),e[3]*=n,this._edgesMesh.geometry.setItemColor(this._edgeIndicesMap[t],e)}}(),_getColor:function(e,t){for(var n=0;n<4;n++)t[n]=this._originalEdgeColors[4*e+n];return t},_fadeOutEdgesAll:function(e){var t=this._model.getData().graph;t.eachEdge((function(t){this._setEdgeFade(t.dataIndex,e)}),this)},_fadeInEdgesAll:function(){this._fadeOutEdgesAll(1)},_updateCamera:function(e,t){this.viewGL.setViewport(0,0,t.getWidth(),t.getHeight(),t.getDevicePixelRatio());for(var n=this.viewGL.camera,r=e.getData(),i=r.getLayout("points"),a=y.create(1/0,1/0),o=y.create(-1/0,-1/0),s=[],l=0;ln.left&&un.top)){var d=Math.max(o[0]-a[0],10),h=d/t.getWidth()*t.getHeight();d*=1.4,h*=1.4,a[0]-=.2*d,n.left=a[0],n.top=c-h/2,n.bottom=c+h/2,n.right=d+a[0],n.near=0,n.far=100}},dispose:function(){var e=this.viewGL.layer.renderer;this._forceLayoutInstance&&this._forceLayoutInstance.dispose(e),this.groupGL.removeAll(),this._layoutId=-1},remove:function(){this.groupGL.removeAll(),this._control.dispose()}})},function(e,t,n){"use strict";var r=n(0),i=n.n(r),a=n(1),o=n(15),s=n(10),l=n(274);a["a"].Shader.import(l["a"]);var c={repulsionByDegree:!0,linLogMode:!1,strongGravityMode:!1,gravity:1,scaling:1,edgeWeightInfluence:1,jitterTolerence:.1,preventOverlap:!1,dissuadeHubs:!1,gravityCenter:null};function u(e){var t={type:a["a"].Texture.FLOAT,minFilter:a["a"].Texture.NEAREST,magFilter:a["a"].Texture.NEAREST};this._positionSourceTex=new a["a"].Texture2D(t),this._positionSourceTex.flipY=!1,this._positionTex=new a["a"].Texture2D(t),this._positionPrevTex=new a["a"].Texture2D(t),this._forceTex=new a["a"].Texture2D(t),this._forcePrevTex=new a["a"].Texture2D(t),this._weightedSumTex=new a["a"].Texture2D(t),this._weightedSumTex.width=this._weightedSumTex.height=1,this._globalSpeedTex=new a["a"].Texture2D(t),this._globalSpeedPrevTex=new a["a"].Texture2D(t),this._globalSpeedTex.width=this._globalSpeedTex.height=1,this._globalSpeedPrevTex.width=this._globalSpeedPrevTex.height=1,this._nodeRepulsionPass=new o["a"]({fragment:a["a"].Shader.source("ecgl.forceAtlas2.updateNodeRepulsion")}),this._positionPass=new o["a"]({fragment:a["a"].Shader.source("ecgl.forceAtlas2.updatePosition")}),this._globalSpeedPass=new o["a"]({fragment:a["a"].Shader.source("ecgl.forceAtlas2.calcGlobalSpeed")}),this._copyPass=new o["a"]({fragment:a["a"].Shader.source("clay.compositor.output")});var n=function(e){e.blendEquation(e.FUNC_ADD),e.blendFunc(e.ONE,e.ONE)};this._edgeForceMesh=new a["a"].Mesh({geometry:new a["a"].Geometry({attributes:{node1:new a["a"].Geometry.Attribute("node1","float",2),node2:new a["a"].Geometry.Attribute("node2","float",2),weight:new a["a"].Geometry.Attribute("weight","float",1)},dynamic:!0,mainAttribute:"node1"}),material:new a["a"].Material({transparent:!0,shader:a["a"].createShader("ecgl.forceAtlas2.updateEdgeAttraction"),blend:n,depthMask:!1,depthText:!1}),mode:a["a"].Mesh.POINTS}),this._weightedSumMesh=new a["a"].Mesh({geometry:new a["a"].Geometry({attributes:{node:new a["a"].Geometry.Attribute("node","float",2)},dynamic:!0,mainAttribute:"node"}),material:new a["a"].Material({transparent:!0,shader:a["a"].createShader("ecgl.forceAtlas2.calcWeightedSum"),blend:n,depthMask:!1,depthText:!1}),mode:a["a"].Mesh.POINTS}),this._framebuffer=new s["a"]({depthBuffer:!1}),this._dummyCamera=new a["a"].OrthographicCamera({left:-1,right:1,top:1,bottom:-1,near:0,far:100}),this._globalSpeed=0}u.prototype.updateOption=function(e){for(var t in c)this[t]=c[t];var n=this._nodes.length;if(this.jitterTolerence=n>5e4?10:n>5e3?1:.1,this.scaling=n>100?2:10,e)for(var t in c)null!=e[t]&&(this[t]=e[t]);if(this.repulsionByDegree)for(var r=this._positionSourceTex.pixels,i=0;ie},u.prototype._swapTexture=function(){var e=this._positionPrevTex;this._positionPrevTex=this._positionTex,this._positionTex=e;e=this._forcePrevTex;this._forcePrevTex=this._forceTex,this._forceTex=e;e=this._globalSpeedPrevTex;this._globalSpeedPrevTex=this._globalSpeedTex,this._globalSpeedTex=e},u.prototype._initFromSource=function(e){this._framebuffer.attach(this._positionPrevTex),this._framebuffer.bind(e),this._copyPass.setUniform("texture",this._positionSourceTex),this._copyPass.render(e),e.gl.clearColor(0,0,0,0),this._framebuffer.attach(this._forcePrevTex),e.gl.clear(e.gl.COLOR_BUFFER_BIT),this._framebuffer.attach(this._globalSpeedPrevTex),e.gl.clear(e.gl.COLOR_BUFFER_BIT),this._framebuffer.unbind(e)},u.prototype._resize=function(e,t){["_positionSourceTex","_positionTex","_positionPrevTex","_forceTex","_forcePrevTex"].forEach((function(n){this[n].width=e,this[n].height=t,this[n].dirty()}),this)},u.prototype.dispose=function(e){this._framebuffer.dispose(e),this._copyPass.dispose(e),this._nodeRepulsionPass.dispose(e),this._positionPass.dispose(e),this._globalSpeedPass.dispose(e),this._edgeForceMesh.geometry.dispose(e),this._weightedSumMesh.geometry.dispose(e),this._positionSourceTex.dispose(e),this._positionTex.dispose(e),this._positionPrevTex.dispose(e),this._forceTex.dispose(e),this._forcePrevTex.dispose(e),this._weightedSumTex.dispose(e),this._globalSpeedTex.dispose(e),this._globalSpeedPrevTex.dispose(e)},i.a.ForceAtlas2GPU=u,t["a"]=u},function(e,t,n){"use strict";t["a"]="@export ecgl.forceAtlas2.updateNodeRepulsion\n\n#define NODE_COUNT 0\n\nuniform sampler2D positionTex;\n\nuniform vec2 textureSize;\nuniform float gravity;\nuniform float scaling;\nuniform vec2 gravityCenter;\n\nuniform bool strongGravityMode;\nuniform bool preventOverlap;\n\nvarying vec2 v_Texcoord;\n\nvoid main() {\n\n vec4 n0 = texture2D(positionTex, v_Texcoord);\n\n vec2 force = vec2(0.0);\n for (int i = 0; i < NODE_COUNT; i++) {\n vec2 uv = vec2(\n mod(float(i), textureSize.x) / (textureSize.x - 1.0),\n floor(float(i) / textureSize.x) / (textureSize.y - 1.0)\n );\n vec4 n1 = texture2D(positionTex, uv);\n\n vec2 dir = n0.xy - n1.xy;\n float d2 = dot(dir, dir);\n\n if (d2 > 0.0) {\n float factor = 0.0;\n if (preventOverlap) {\n float d = sqrt(d2);\n d = d - n0.w - n1.w;\n if (d > 0.0) {\n factor = scaling * n0.z * n1.z / (d * d);\n }\n else if (d < 0.0) {\n factor = scaling * 100.0 * n0.z * n1.z;\n }\n }\n else {\n factor = scaling * n0.z * n1.z / d2;\n }\n force += dir * factor;\n }\n }\n\n vec2 dir = gravityCenter - n0.xy;\n float d = 1.0;\n if (!strongGravityMode) {\n d = length(dir);\n }\n\n force += dir * n0.z * gravity / (d + 1.0);\n\n gl_FragColor = vec4(force, 0.0, 1.0);\n}\n@end\n\n@export ecgl.forceAtlas2.updateEdgeAttraction.vertex\n\nattribute vec2 node1;\nattribute vec2 node2;\nattribute float weight;\n\nuniform sampler2D positionTex;\nuniform float edgeWeightInfluence;\nuniform bool preventOverlap;\nuniform bool linLogMode;\n\nuniform vec2 windowSize: WINDOW_SIZE;\n\nvarying vec2 v_Force;\n\nvoid main() {\n\n vec4 n0 = texture2D(positionTex, node1);\n vec4 n1 = texture2D(positionTex, node2);\n\n vec2 dir = n1.xy - n0.xy;\n float d = length(dir);\n float w;\n if (edgeWeightInfluence == 0.0) {\n w = 1.0;\n }\n else if (edgeWeightInfluence == 1.0) {\n w = weight;\n }\n else {\n w = pow(weight, edgeWeightInfluence);\n }\n vec2 offset = vec2(1.0 / windowSize.x, 1.0 / windowSize.y);\n vec2 scale = vec2((windowSize.x - 1.0) / windowSize.x, (windowSize.y - 1.0) / windowSize.y);\n vec2 pos = node1 * scale * 2.0 - 1.0;\n gl_Position = vec4(pos + offset, 0.0, 1.0);\n gl_PointSize = 1.0;\n\n float factor;\n if (preventOverlap) {\n d = d - n1.w - n0.w;\n }\n if (d <= 0.0) {\n v_Force = vec2(0.0);\n return;\n }\n\n if (linLogMode) {\n factor = w * log(d) / d;\n }\n else {\n factor = w;\n }\n v_Force = dir * factor;\n}\n@end\n\n@export ecgl.forceAtlas2.updateEdgeAttraction.fragment\n\nvarying vec2 v_Force;\n\nvoid main() {\n gl_FragColor = vec4(v_Force, 0.0, 0.0);\n}\n@end\n\n@export ecgl.forceAtlas2.calcWeightedSum.vertex\n\nattribute vec2 node;\n\nvarying vec2 v_NodeUv;\n\nvoid main() {\n\n v_NodeUv = node;\n gl_Position = vec4(0.0, 0.0, 0.0, 1.0);\n gl_PointSize = 1.0;\n}\n@end\n\n@export ecgl.forceAtlas2.calcWeightedSum.fragment\n\nvarying vec2 v_NodeUv;\n\nuniform sampler2D positionTex;\nuniform sampler2D forceTex;\nuniform sampler2D forcePrevTex;\n\nvoid main() {\n vec2 force = texture2D(forceTex, v_NodeUv).rg;\n vec2 forcePrev = texture2D(forcePrevTex, v_NodeUv).rg;\n\n float mass = texture2D(positionTex, v_NodeUv).z;\n float swing = length(force - forcePrev) * mass;\n float traction = length(force + forcePrev) * 0.5 * mass;\n\n gl_FragColor = vec4(swing, traction, 0.0, 0.0);\n}\n@end\n\n@export ecgl.forceAtlas2.calcGlobalSpeed\n\nuniform sampler2D globalSpeedPrevTex;\nuniform sampler2D weightedSumTex;\nuniform float jitterTolerence;\n\nvoid main() {\n vec2 weightedSum = texture2D(weightedSumTex, vec2(0.5)).xy;\n float prevGlobalSpeed = texture2D(globalSpeedPrevTex, vec2(0.5)).x;\n float globalSpeed = jitterTolerence * jitterTolerence\n * weightedSum.y / weightedSum.x;\n if (prevGlobalSpeed > 0.0) {\n globalSpeed = min(globalSpeed / prevGlobalSpeed, 1.5) * prevGlobalSpeed;\n }\n gl_FragColor = vec4(globalSpeed, 0.0, 0.0, 1.0);\n}\n@end\n\n@export ecgl.forceAtlas2.updatePosition\n\nuniform sampler2D forceTex;\nuniform sampler2D forcePrevTex;\nuniform sampler2D positionTex;\nuniform sampler2D globalSpeedTex;\n\nvarying vec2 v_Texcoord;\n\nvoid main() {\n vec2 force = texture2D(forceTex, v_Texcoord).xy;\n vec2 forcePrev = texture2D(forcePrevTex, v_Texcoord).xy;\n vec4 node = texture2D(positionTex, v_Texcoord);\n\n float globalSpeed = texture2D(globalSpeedTex, vec2(0.5)).r;\n float swing = length(force - forcePrev);\n float speed = 0.1 * globalSpeed / (0.1 + globalSpeed * sqrt(swing));\n\n float df = length(force);\n if (df > 0.0) {\n speed = min(df * speed, 10.0) / df;\n\n gl_FragColor = vec4(node.xy + speed * force, node.zw);\n }\n else {\n gl_FragColor = node;\n }\n}\n@end\n\n@export ecgl.forceAtlas2.edges.vertex\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\n\nattribute vec2 node;\nattribute vec4 a_Color : COLOR;\nvarying vec4 v_Color;\n\nuniform sampler2D positionTex;\n\nvoid main()\n{\n gl_Position = worldViewProjection * vec4(\n texture2D(positionTex, node).xy, -10.0, 1.0\n );\n v_Color = a_Color;\n}\n@end\n\n@export ecgl.forceAtlas2.edges.fragment\nuniform vec4 color : [1.0, 1.0, 1.0, 1.0];\nvarying vec4 v_Color;\nvoid main() {\n gl_FragColor = color * v_Color;\n}\n@end"},function(e,t,n){"use strict";var r=n(5),i=n(4),a=n(276),o=a["a"].toString();o=o.slice(o.indexOf("{")+1,o.lastIndexOf("}"));var s={barnesHutOptimize:!0,barnesHutTheta:1.5,repulsionByDegree:!0,linLogMode:!1,strongGravityMode:!1,gravity:1,scaling:1,edgeWeightInfluence:1,jitterTolerence:.1,preventOverlap:!1,dissuadeHubs:!1,gravityCenter:null},l=function(e){for(var t in s)this[t]=s[t];if(e)for(var t in e)this[t]=e[t];this._nodes=[],this._edges=[],this._disposed=!1,this._positionTex=new r["a"]({type:i["a"].FLOAT,flipY:!1,minFilter:i["a"].NEAREST,magFilter:i["a"].NEAREST})};l.prototype.initData=function(e,t){var n=new Blob([o]),r=window.URL.createObjectURL(n);this._worker=new Worker(r),this._worker.onmessage=this._$onupdate.bind(this),this._nodes=e,this._edges=t,this._frame=0;for(var i=e.length,a=t.length,s=new Float32Array(2*i),l=new Float32Array(i),c=new Float32Array(i),u=new Float32Array(2*a),d=new Float32Array(a),h=0;h5e4?10:a>5e3?1:.1,t.scaling=a>100?2:10,t.barnesHutOptimize=a>1e3,e)for(var n in s)null!=e[n]&&(t[n]=e[n]);if(!t.gravityCenter){for(var o=[1/0,1/0],l=[-1/0,-1/0],c=0;ce},l.prototype.getNodePosition=function(e,t){if(t||(t=new Float32Array(2*this._nodes.length)),this._positionArr)for(var n=0;n0&&(i=1/Math.sqrt(i),e[0]=t[0]*i,e[1]=t[1]*i),e},negate:function(e,t){return e[0]=-t[0],e[1]=-t[1],e},copy:function(e,t){return e[0]=t[0],e[1]=t[1],e},set:function(e,t,n){return e[0]=t,e[1]=n,e}};function t(){this.subRegions=[],this.nSubRegions=0,this.node=null,this.mass=0,this.centerOfMass=null,this.bbox=new Float32Array(4),this.size=0}var n=t.prototype;function r(){this.position=new Float32Array(2),this.force=e.create(),this.forcePrev=e.create(),this.mass=1,this.inDegree=0,this.outDegree=0}function i(e,t){this.source=e,this.target=t,this.weight=1}function a(){this.autoSettings=!0,this.barnesHutOptimize=!0,this.barnesHutTheta=1.5,this.repulsionByDegree=!0,this.linLogMode=!1,this.strongGravityMode=!1,this.gravity=1,this.scaling=1,this.edgeWeightInfluence=1,this.jitterTolerence=.1,this.preventOverlap=!1,this.dissuadeHubs=!1,this.rootRegion=new t,this.rootRegion.centerOfMass=e.create(),this.nodes=[],this.edges=[],this.bbox=new Float32Array(4),this.gravityCenter=null,this._massArr=null,this._swingingArr=null,this._sizeArr=null,this._globalSpeed=0}n.beforeUpdate=function(){for(var e=0;e=e&&this.bbox[1]<=t&&this.bbox[3]>=t},n.setBBox=function(e,t,n,r){this.bbox[0]=e,this.bbox[1]=t,this.bbox[2]=n,this.bbox[3]=r,this.size=(n-e+r-t)/2},n._newSubRegion=function(){var e=this.subRegions[this.nSubRegions];return e||(e=new t,this.subRegions[this.nSubRegions]=e),this.nSubRegions++,e},n._addNodeToSubRegion=function(e){var t=this.findSubRegion(e.position[0],e.position[1]),n=this.bbox;if(!t){var r=(n[0]+n[2])/2,i=(n[1]+n[3])/2,a=(n[2]-n[0])/2,o=(n[3]-n[1])/2,s=e.position[0]>=r?1:0,l=e.position[1]>=i?1:0;t=this._newSubRegion();t.setBBox(s*a+n[0],l*o+n[1],(s+1)*a+n[0],(l+1)*o+n[1])}t.addNode(e)},n._updateCenterOfMass=function(e){null==this.centerOfMass&&(this.centerOfMass=new Float32Array(2));var t=this.centerOfMass[0]*this.mass,n=this.centerOfMass[1]*this.mass;t+=e.position[0]*e.mass,n+=e.position[1]*e.mass,this.mass+=e.mass,this.centerOfMass[0]=t/this.mass,this.centerOfMass[1]=n/this.mass};var o=a.prototype;o.initNodes=function(e,t,n){var i=t.length;this.nodes.length=0;for(var a="undefined"!=typeof n,o=0;o0&&(this.strongGravityMode?this.applyNodeStrongGravity(i):this.applyNodeGravity(i))}for(n=0;n0&&(h=Math.min(h/this._globalSpeed,1.5)*this._globalSpeed),this._globalSpeed=h;for(n=0;n0&&(p=Math.min(f*p,10)/f,e.scaleAndAdd(r.position,r.position,r.force,p))}},o.applyRegionToNodeRepulsion=function(){var t=e.create();return function(n,r){if(n.node)this.applyNodeToNodeRepulsion(n.node,r,!0);else{e.sub(t,r.position,n.centerOfMass);var i=t[0]*t[0]+t[1]*t[1];if(i>this.barnesHutTheta*n.size*n.size){var a=this.scaling*r.mass*n.mass/i;e.scaleAndAdd(r.force,r.force,t,a)}else for(var o=0;o0)o=this.scaling*n.mass*r.mass/(s*s);else{if(!(s<0))return;o=100*this.scaling*n.mass*r.mass}}else o=this.scaling*n.mass*r.mass/a;e.scaleAndAdd(n.force,n.force,t,o),e.scaleAndAdd(r.force,r.force,t,-o)}}}}(),o.applyEdgeAttraction=function(){var t=e.create();return function(n){var r=n.source,i=n.target;e.sub(t,r.position,i.position);var a,o,s=e.len(t);a=0===this.edgeWeightInfluence?1:1===this.edgeWeightInfluence?n.weight:Math.pow(n.weight,this.edgeWeightInfluence),this.preventOverlap&&(s=s-r.size-i.size,s<=0)||(o=this.linLogMode?-a*Math.log(s+1)/(s+1):-a,e.scaleAndAdd(r.force,r.force,t,o),e.scaleAndAdd(i.force,i.force,t,-o))}}(),o.applyNodeGravity=function(){var t=e.create();return function(n){e.sub(t,this.gravityCenter,n.position);var r=e.len(t);e.scaleAndAdd(n.force,n.force,t,this.gravity*n.mass/(r+1))}}(),o.applyNodeStrongGravity=function(){var t=e.create();return function(n){e.sub(t,this.gravityCenter,n.position),e.scaleAndAdd(n.force,n.force,t,this.gravity*n.mass)}}(),o.updateBBox=function(){for(var e=1/0,t=1/0,n=-1/0,r=-1/0,i=0;i0?1.1:.9,a=Math.max(Math.min(this._zoom*i,this.maxZoom),this.minZoom);i=a/this._zoom;var o=this._convertPos(n,r),s=(o.x-this._dx)*(i-1),l=(o.y-this._dy)*(i-1);this._dx-=s,this._dy-=l,this._zoom=a,this._needsUpdate=!0}}},dispose:function(){var e=this.zr;e.off("mousedown",this._mouseDownHandler),e.off("mousemove",this._mouseMoveHandler),e.off("mouseup",this._mouseUpHandler),e.off("mousewheel",this._mouseWheelHandler),e.off("globalout",this._mouseUpHandler),e.animation.off("frame",this._update)}}));t["a"]=i},function(e,t,n){"use strict";t["a"]="@export ecgl.lines2D.vertex\n\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\n\nattribute vec2 position: POSITION;\nattribute vec4 a_Color : COLOR;\nvarying vec4 v_Color;\n\n#ifdef POSITIONTEXTURE_ENABLED\nuniform sampler2D positionTexture;\n#endif\n\nvoid main()\n{\n gl_Position = worldViewProjection * vec4(position, -10.0, 1.0);\n\n v_Color = a_Color;\n}\n\n@end\n\n@export ecgl.lines2D.fragment\n\nuniform vec4 color : [1.0, 1.0, 1.0, 1.0];\n\nvarying vec4 v_Color;\n\nvoid main()\n{\n gl_FragColor = color * v_Color;\n}\n@end\n\n\n@export ecgl.meshLines2D.vertex\n\nattribute vec2 position: POSITION;\nattribute vec2 normal;\nattribute float offset;\nattribute vec4 a_Color : COLOR;\n\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\nuniform vec4 viewport : VIEWPORT;\n\nvarying vec4 v_Color;\nvarying float v_Miter;\n\nvoid main()\n{\n vec4 p2 = worldViewProjection * vec4(position + normal, -10.0, 1.0);\n gl_Position = worldViewProjection * vec4(position, -10.0, 1.0);\n\n p2.xy /= p2.w;\n gl_Position.xy /= gl_Position.w;\n\n vec2 N = normalize(p2.xy - gl_Position.xy);\n gl_Position.xy += N * offset / viewport.zw * 2.0;\n\n gl_Position.xy *= gl_Position.w;\n\n v_Color = a_Color;\n}\n@end\n\n\n@export ecgl.meshLines2D.fragment\n\nuniform vec4 color : [1.0, 1.0, 1.0, 1.0];\n\nvarying vec4 v_Color;\nvarying float v_Miter;\n\nvoid main()\n{\n gl_FragColor = color * v_Color;\n}\n\n@end"},function(e,t,n){"use strict";var r=n(0);n.n(r),n(280),n(284)},function(e,t,n){"use strict";var r=n(0),i=n.n(r),a=n(1),o=n(2),s=n(22),l=n(281);i.a.extendChartView({type:"flowGL",__ecgl__:!0,init:function(e,t){this.viewGL=new s["a"]("orthographic"),this.groupGL=new a["a"].Node,this.viewGL.add(this.groupGL),this._particleSurface=new l["a"];var n=new a["a"].Mesh({geometry:new a["a"].PlaneGeometry,material:new a["a"].Material({shader:new a["a"].Shader({vertex:a["a"].Shader.source("ecgl.color.vertex"),fragment:a["a"].Shader.source("ecgl.color.fragment")}),transparent:!0})});n.material.enableTexture("diffuseMap"),this.groupGL.add(n),this._planeMesh=n},render:function(e,t,n){var r=this._particleSurface;r.setParticleType(e.get("particleType")),r.setSupersampling(e.get("supersampling")),this._updateData(e,n),this._updateCamera(n.getWidth(),n.getHeight(),n.getDevicePixelRatio());var i=o["a"].firstNotNull(e.get("particleDensity"),128);r.setParticleDensity(i,i);var s=this._planeMesh,l=+new Date,c=this,u=!0;s.__percent=0,s.stopAnimation(),s.animate("",{loop:!0}).when(1e5,{__percent:1}).during((function(){var e=+new Date,t=Math.min(e-l,20);l+=t,c._renderer&&(r.update(c._renderer,n,t/1e3,u),s.material.set("diffuseMap",r.getSurfaceTexture())),u=!1})).start();var d=e.getModel("itemStyle"),h=a["a"].parseColor(d.get("color"));h[3]*=o["a"].firstNotNull(d.get("opacity"),1),s.material.set("color",h),r.setColorTextureImage(e.get("colorTexture"),n),r.setParticleSize(e.get("particleSize")),r.particleSpeedScaling=e.get("particleSpeed"),r.motionBlurFactor=1-Math.pow(.1,e.get("particleTrail"))},updateTransform:function(e,t,n){this._updateData(e,n)},afterRender:function(e,t,n,r){var i=r.renderer;this._renderer=i},_updateData:function(e,t){var n=e.coordinateSystem,r=n.dimensions.map((function(t){return e.coordDimToDataDim(t)[0]})),i=e.getData(),a=i.getDataExtent(r[0]),o=i.getDataExtent(r[1]),s=e.get("gridWidth"),l=e.get("gridHeight");if(null==s||"auto"===s){var c=(a[1]-a[0])/(o[1]-o[0]);s=Math.round(Math.sqrt(c*i.count()))}null!=l&&"auto"!==l||(l=Math.ceil(i.count()/s));var u=this._particleSurface.vectorFieldTexture,d=u.pixels;if(d&&d.length===l*s*4)for(var h=0;h=359;s&&(i[0]>0&&(i[0]=0),a[0]0?e[e.length-1]:this._lastFrameTexture},setRegion:function(e){this._particlePass.setUniform("region",e)},resize:function(e,t){this._lastFrameTexture.width=e*this._supersampling,this._lastFrameTexture.height=t*this._supersampling,this._thisFrameTexture.width=e*this._supersampling,this._thisFrameTexture.height=t*this._supersampling,this._width=e,this._height=t},setParticleSize:function(e){var t=this._getParticleMesh();if(e<=2)return t.material.disableTexture("spriteTexture"),void(t.material.transparent=!1);this._spriteTexture||(this._spriteTexture=new l["a"]),this._spriteTexture.image&&this._spriteTexture.image.width===e||(this._spriteTexture.image=_(e),this._spriteTexture.dirty()),t.material.transparent=!0,t.material.enableTexture("spriteTexture"),t.material.set("spriteTexture",this._spriteTexture),this._particleSize=e},setGradientTexture:function(e){var t=this._getParticleMesh().material;t[e?"enableTexture":"disableTexture"]("gradientTexture"),t.setUniform("gradientTexture",e)},setColorTextureImage:function(e,t){var n=this._getParticleMesh().material;n.setTextureImage("colorTexture",e,t,{flipY:!0})},setParticleType:function(e){this._particleType=e},clearFrame:function(e){var t=this._frameBuffer;t.attach(this._lastFrameTexture),t.bind(e),e.gl.clear(e.gl.DEPTH_BUFFER_BIT|e.gl.COLOR_BUFFER_BIT),t.unbind(e)},setSupersampling:function(e){this._supersampling=e,this.resize(this._width,this._height)},_updateDownsampleTextures:function(e,t){for(var n=this._downsampleTextures,r=Math.max(Math.floor(Math.log(this._supersampling/t.getDevicePixelRatio())/Math.log(2)),0),i=2,a=this._width*this._supersampling,o=this._height*this._supersampling,s=0;s65535?new Uint32Array(3*r):new Uint16Array(3*r))},addLine:function(e){var t=this._vertexOffset;this.attributes.position.set(t,[e[0],e[1],1]),this.attributes.position.set(t+1,[e[0],e[1],-1]),this.attributes.position.set(t+2,[e[0],e[1],2]),this.attributes.position.set(t+3,[e[0],e[1],-2]),this.setTriangleIndices(this._faceOffset++,[t,t+1,t+2]),this.setTriangleIndices(this._faceOffset++,[t+1,t+2,t+3]),this._vertexOffset+=4}}));t["a"]=a},function(e,t,n){"use strict";t["a"]="@export ecgl.vfParticle.particle.fragment\n\nuniform sampler2D particleTexture;\nuniform sampler2D spawnTexture;\nuniform sampler2D velocityTexture;\n\nuniform float deltaTime;\nuniform float elapsedTime;\n\nuniform float speedScaling : 1.0;\n\nuniform vec2 textureSize;\nuniform vec4 region : [0, 0, 1, 1];\nuniform float firstFrameTime;\n\nvarying vec2 v_Texcoord;\n\n\nvoid main()\n{\n vec4 p = texture2D(particleTexture, v_Texcoord);\n bool spawn = false;\n if (p.w <= 0.0) {\n p = texture2D(spawnTexture, fract(v_Texcoord + elapsedTime / 10.0));\n p.w -= firstFrameTime;\n spawn = true;\n }\n vec2 v = texture2D(velocityTexture, fract(p.xy * region.zw + region.xy)).xy;\n v = (v - 0.5) * 2.0;\n p.z = length(v);\n p.xy += v * deltaTime / 10.0 * speedScaling;\n p.w -= deltaTime;\n\n if (spawn || p.xy != fract(p.xy)) {\n p.z = 0.0;\n }\n p.xy = fract(p.xy);\n\n gl_FragColor = p;\n}\n@end\n\n@export ecgl.vfParticle.renderPoints.vertex\n\n#define PI 3.1415926\n\nattribute vec2 texcoord : TEXCOORD_0;\n\nuniform sampler2D particleTexture;\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\n\nuniform float size : 1.0;\n\nvarying float v_Mag;\nvarying vec2 v_Uv;\n\nvoid main()\n{\n vec4 p = texture2D(particleTexture, texcoord);\n\n if (p.w > 0.0 && p.z > 1e-5) {\n gl_Position = worldViewProjection * vec4(p.xy * 2.0 - 1.0, 0.0, 1.0);\n }\n else {\n gl_Position = vec4(100000.0, 100000.0, 100000.0, 1.0);\n }\n\n v_Mag = p.z;\n v_Uv = p.xy;\n\n gl_PointSize = size;\n}\n\n@end\n\n@export ecgl.vfParticle.renderPoints.fragment\n\nuniform vec4 color : [1.0, 1.0, 1.0, 1.0];\nuniform sampler2D gradientTexture;\nuniform sampler2D colorTexture;\nuniform sampler2D spriteTexture;\n\nvarying float v_Mag;\nvarying vec2 v_Uv;\n\nvoid main()\n{\n gl_FragColor = color;\n#ifdef SPRITETEXTURE_ENABLED\n gl_FragColor *= texture2D(spriteTexture, gl_PointCoord);\n if (color.a == 0.0) {\n discard;\n }\n#endif\n#ifdef GRADIENTTEXTURE_ENABLED\n gl_FragColor *= texture2D(gradientTexture, vec2(v_Mag, 0.5));\n#endif\n#ifdef COLORTEXTURE_ENABLED\n gl_FragColor *= texture2D(colorTexture, v_Uv);\n#endif\n}\n\n@end\n\n@export ecgl.vfParticle.renderLines.vertex\n\n#define PI 3.1415926\n\nattribute vec3 position : POSITION;\n\nuniform sampler2D particleTexture;\nuniform sampler2D prevParticleTexture;\n\nuniform float size : 1.0;\nuniform vec4 vp: VIEWPORT;\nuniform mat4 worldViewProjection : WORLDVIEWPROJECTION;\n\nvarying float v_Mag;\nvarying vec2 v_Uv;\n\n@import clay.util.rand\n\nvoid main()\n{\n vec4 p = texture2D(particleTexture, position.xy);\n vec4 p2 = texture2D(prevParticleTexture, position.xy);\n\n p.xy = p.xy * 2.0 - 1.0;\n p2.xy = p2.xy * 2.0 - 1.0;\n\n if (p.w > 0.0 && p.z > 1e-5) {\n vec2 dir = normalize(p.xy - p2.xy);\n vec2 norm = vec2(dir.y / vp.z, -dir.x / vp.w) * sign(position.z) * size;\n if (abs(position.z) == 2.0) {\n gl_Position = vec4(p.xy + norm, 0.0, 1.0);\n v_Uv = p.xy;\n v_Mag = p.z;\n }\n else {\n gl_Position = vec4(p2.xy + norm, 0.0, 1.0);\n v_Mag = p2.z;\n v_Uv = p2.xy;\n }\n gl_Position = worldViewProjection * gl_Position;\n }\n else {\n gl_Position = vec4(100000.0, 100000.0, 100000.0, 1.0);\n }\n}\n\n@end\n\n@export ecgl.vfParticle.renderLines.fragment\n\nuniform vec4 color : [1.0, 1.0, 1.0, 1.0];\nuniform sampler2D gradientTexture;\nuniform sampler2D colorTexture;\n\nvarying float v_Mag;\nvarying vec2 v_Uv;\n\nvoid main()\n{\n gl_FragColor = color;\n #ifdef GRADIENTTEXTURE_ENABLED\n gl_FragColor *= texture2D(gradientTexture, vec2(v_Mag, 0.5));\n#endif\n#ifdef COLORTEXTURE_ENABLED\n gl_FragColor *= texture2D(colorTexture, v_Uv);\n#endif\n}\n\n@end\n"},function(e,t,n){"use strict";var r=n(0),i=n.n(r);i.a.extendSeriesModel({type:"series.flowGL",dependencies:["geo","grid","bmap"],visualColorAccessPath:"itemStyle.color",getInitialData:function(e,t){var n=i.a.getCoordinateSystemDimensions(this.get("coordinateSystem"))||["x","y"];if(n.length>2)throw new Error("flowGL can only be used on 2d coordinate systems.");n.push("vx","vy");var r=i.a.helper.completeDimensions(n,this.getSource(),{encodeDef:this.get("encode"),dimsDef:this.get("dimensions")}),a=new i.a.List(r,this);return a.initData(this.getSource()),a},defaultOption:{coordinateSystem:"cartesian2d",zlevel:10,supersampling:1,particleType:"point",particleDensity:128,particleSize:1,particleSpeed:1,particleTrail:2,colorTexture:null,gridWidth:"auto",gridHeight:"auto",itemStyle:{color:"#fff",opacity:.8}}})},function(e,t,n){"use strict";var r=n(0),i=n.n(r),a=(n(286),n(287),n(17));i.a.registerVisual(Object(a["a"])("linesGL"))},function(e,t,n){"use strict";var r=n(0),i=n.n(r),a=n(80),o=(n.n(a),i.a.extendSeriesModel({type:"series.linesGL",dependencies:["grid","geo"],visualColorAccessPath:"lineStyle.color",streamEnabled:!0,init:function(e){var t=this._processFlatCoordsArray(e.data);this._flatCoords=t.flatCoords,this._flatCoordsOffset=t.flatCoordsOffset,t.flatCoords&&(e.data=new Float32Array(t.count)),o.superApply(this,"init",arguments)},mergeOption:function(e){var t=this._processFlatCoordsArray(e.data);this._flatCoords=t.flatCoords,this._flatCoordsOffset=t.flatCoordsOffset,t.flatCoords&&(e.data=new Float32Array(t.count)),o.superApply(this,"mergeOption",arguments)},appendData:function(e){var t=this._processFlatCoordsArray(e.data);t.flatCoords&&(this._flatCoords?(this._flatCoords=Object(a["concatArray"])(this._flatCoords,t.flatCoords),this._flatCoordsOffset=Object(a["concatArray"])(this._flatCoordsOffset,t.flatCoordsOffset)):(this._flatCoords=t.flatCoords,this._flatCoordsOffset=t.flatCoordsOffset),e.data=new Float32Array(t.count)),this.getRawData().appendData(e.data)},_getCoordsFromItemModel:function(e){var t=this.getData().getItemModel(e),n=t.option instanceof Array?t.option:t.getShallow("coords");if(!(n instanceof Array&&n.length>0&&n[0]instanceof Array))throw new Error("Invalid coords "+JSON.stringify(n)+". Lines must have 2d coords array in data item.");return n},getLineCoordsCount:function(e){return this._flatCoordsOffset?this._flatCoordsOffset[2*e+1]:this._getCoordsFromItemModel(e).length},getLineCoords:function(e,t){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*e],r=this._flatCoordsOffset[2*e+1],i=0;in)throw new Error("Invalid data format.")}}return{flatCoordsOffset:new Uint32Array(r.buffer,0,o),flatCoords:i,count:s}}return{flatCoordsOffset:null,flatCoords:null,count:e.length}},getInitialData:function(e,t){var n=new i.a.List(["value"],this);return n.hasItemOption=!1,n.initData(e.data,[],(function(e,t,r,i){if(e instanceof Array)return NaN;n.hasItemOption=!0;var a=e.value;return null!=a?a instanceof Array?a[i]:a:void 0})),n},defaultOption:{coordinateSystem:"geo",zlevel:10,progressive:1e4,progressiveThreshold:5e4,blendMode:"source-over",lineStyle:{opacity:.8},postEffect:{enable:!1,colorCorrection:{exposure:0,brightness:0,contrast:1,saturation:1,enable:!0}}}}))},function(e,t,n){"use strict";var r=n(0),i=n.n(r),a=n(1),o=n(22),s=n(104),l=n(102),c=n(2);i.a.extendChartView({type:"linesGL",__ecgl__:!0,init:function(e,t){this.groupGL=new a["a"].Node,this.viewGL=new o["a"]("orthographic"),this.viewGL.add(this.groupGL),this._glViewHelper=new l["a"](this.viewGL),this._nativeLinesShader=a["a"].createShader("ecgl.lines3D"),this._meshLinesShader=a["a"].createShader("ecgl.meshLines3D"),this._linesMeshes=[],this._currentStep=0},render:function(e,t,n){this.groupGL.removeAll(),this._glViewHelper.reset(e,n);var r=this._linesMeshes[0];r||(r=this._linesMeshes[0]=this._createLinesMesh(e)),this._linesMeshes.length=1,this.groupGL.add(r),this._updateLinesMesh(e,r,0,e.getData().count()),this.viewGL.setPostEffect(e.getModel("postEffect"),n)},incrementalPrepareRender:function(e,t,n){this.groupGL.removeAll(),this._glViewHelper.reset(e,n),this._currentStep=0,this.viewGL.setPostEffect(e.getModel("postEffect"),n)},incrementalRender:function(e,t,n,r){var i=this._linesMeshes[this._currentStep];i||(i=this._createLinesMesh(t),this._linesMeshes[this._currentStep]=i),this._updateLinesMesh(t,i,e.start,e.end),this.groupGL.add(i),r.getZr().refresh(),this._currentStep++},updateTransform:function(e,t,n){e.coordinateSystem.getRoamTransform&&this._glViewHelper.updateTransform(e,n)},_createLinesMesh:function(e){var t=new a["a"].Mesh({$ignorePicking:!0,material:new a["a"].Material({shader:a["a"].createShader("ecgl.lines3D"),transparent:!0,depthMask:!1,depthTest:!1}),geometry:new s["a"]({segmentScale:10,useNativeLine:!0,dynamic:!1}),mode:a["a"].Mesh.LINES,culling:!1});return t},_updateLinesMesh:function(e,t,n,r){var i=e.getData();t.material.blend="lighter"===e.get("blendMode")?a["a"].additiveBlend:null;var o=e.get("lineStyle.curveness")||0,s=e.get("polyline"),l=t.geometry,u=e.coordinateSystem,d=c["a"].firstNotNull(e.get("lineStyle.width"),1);d>1?(t.material.shader!==this._meshLinesShader&&t.material.attachShader(this._meshLinesShader),t.mode=a["a"].Mesh.TRIANGLES):(t.material.shader!==this._nativeLinesShader&&t.material.attachShader(this._nativeLinesShader),t.mode=a["a"].Mesh.LINES),n=n||0,r=r||i.count(),l.resetOffset();var h=0,p=0,f=[],_=[],m=[],g=[],v=[],y=.3,b=.7;function S(){_[0]=f[0]*b+g[0]*y-(f[1]-g[1])*o,_[1]=f[1]*b+g[1]*y-(g[0]-f[0])*o,m[0]=f[0]*y+g[0]*b-(f[1]-g[1])*o,m[1]=f[1]*y+g[1]*b-(g[0]-f[0])*o}if(s||0!==o)for(var E=n;E\\<:\-,()$\[\]_.{}!+%^]+)+/,relevance:0}]};return{aliases:["gms"],case_insensitive:!0,keywords:t,contains:[e.COMMENT(/^\$ontext/,/^\$offtext/),{className:"meta",begin:"^\\$[a-z0-9]+",end:"$",returnBegin:!0,contains:[{className:"meta-keyword",begin:"^\\$[a-z0-9]+"}]},e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{beginKeywords:"set sets parameter parameters variable variables scalar scalars equation equations",end:";",contains:[e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,a,o]},{beginKeywords:"table",end:";",returnBegin:!0,contains:[{beginKeywords:"table",end:"$",contains:[o]},e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE]},{className:"function",begin:/^[a-z][a-z0-9_,\-+' ()$]+\.{2}/,returnBegin:!0,contains:[{className:"title",begin:/^[a-z0-9_]+/},n,r]},e.C_NUMBER_MODE,r]}}},"7dcf":function(e,t,n){var r=n("b12f"),i=r.extend({type:"dataZoom",render:function(e,t,n,r){this.dataZoomModel=e,this.ecModel=t,this.api=n},getTargetCoordInfo:function(){var e=this.dataZoomModel,t=this.ecModel,n={};function r(e,t,n,r){for(var i,a=0;a0&&(E[0]=-E[0],E[1]=-E[1]);var T,C=p[0]<0?-1:1;if("start"!==r.__position&&"end"!==r.__position){var A=-Math.atan2(p[1],p[0]);u[0].8?"left":d[0]<-.8?"right":"center",m=d[1]>.8?"top":d[1]<-.8?"bottom":"middle";break;case"start":f=[-d[0]*y+c[0],-d[1]*b+c[1]],_=d[0]>.8?"right":d[0]<-.8?"left":"center",m=d[1]>.8?"bottom":d[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":f=[y*C+c[0],c[1]+T],_=p[0]<0?"right":"left",g=[-y*C,-T];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":f=[x[0],x[1]+T],_="center",g=[0,-T];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":f=[-y*C+u[0],u[1]+T],_=p[0]>=0?"right":"left",g=[y*C,-T];break}r.attr({style:{textVerticalAlign:r.__verticalAlign||m,textAlign:r.__textAlign||_},position:f,scale:[a,a],origin:g})}}}}function m(e,t,n){s.Group.call(this),this._createLine(e,t,n)}var g=m.prototype;g.beforeUpdate=_,g._createLine=function(e,t,n){var i=e.hostModel,a=e.getItemLayout(t),o=p(a);o.shape.percent=0,s.initProps(o,{shape:{percent:1}},i,t),this.add(o);var l=new s.Text({name:"label",lineLabelOriginalOpacity:1});this.add(l),r.each(u,(function(n){var r=h(n,e,t);this.add(r),this[d(n)]=e.getItemVisual(t,n)}),this),this._updateCommonStl(e,t,n)},g.updateData=function(e,t,n){var i=e.hostModel,a=this.childOfName("line"),o=e.getItemLayout(t),l={shape:{}};f(l.shape,o),s.updateProps(a,l,i,t),r.each(u,(function(n){var r=e.getItemVisual(t,n),i=d(n);if(this[i]!==r){this.remove(this.childOfName(n));var a=h(n,e,t);this.add(a)}this[i]=r}),this),this._updateCommonStl(e,t,n)},g._updateCommonStl=function(e,t,n){var i=e.hostModel,a=this.childOfName("line"),o=n&&n.lineStyle,l=n&&n.hoverLineStyle,d=n&&n.labelModel,h=n&&n.hoverLabelModel;if(!n||e.hasItemOption){var p=e.getItemModel(t);o=p.getModel("lineStyle").getLineStyle(),l=p.getModel("emphasis.lineStyle").getLineStyle(),d=p.getModel("label"),h=p.getModel("emphasis.label")}var f=e.getItemVisual(t,"color"),_=r.retrieve3(e.getItemVisual(t,"opacity"),o.opacity,1);a.useStyle(r.defaults({strokeNoScale:!0,fill:"none",stroke:f,opacity:_},o)),a.hoverStyle=l,r.each(u,(function(e){var t=this.childOfName(e);t&&(t.setColor(f),t.setStyle({opacity:_}))}),this);var m,g,v=d.getShallow("show"),y=h.getShallow("show"),b=this.childOfName("label");if((v||y)&&(m=f||"#000",g=i.getFormattedLabel(t,"normal",e.dataType),null==g)){var S=i.getRawValue(t);g=null==S?e.getName(t):isFinite(S)?c(S):S}var E=v?g:null,x=y?r.retrieve2(i.getFormattedLabel(t,"emphasis",e.dataType),g):null,T=b.style;if(null!=E||null!=x){s.setTextStyle(b.style,d,{text:E},{autoColor:m}),b.__textAlign=T.textAlign,b.__verticalAlign=T.textVerticalAlign,b.__position=d.get("position")||"middle";var C=d.get("distance");r.isArray(C)||(C=[C,C]),b.__labelDistance=C}b.hoverStyle=null!=x?{text:x,textFill:h.getTextColor(!0),fontStyle:h.getShallow("fontStyle"),fontWeight:h.getShallow("fontWeight"),fontSize:h.getShallow("fontSize"),fontFamily:h.getShallow("fontFamily")}:{text:null},b.ignore=!v&&!y,s.setHoverStyle(this)},g.highlight=function(){this.trigger("emphasis")},g.downplay=function(){this.trigger("normal")},g.updateLayout=function(e,t){this.setLinePoints(e.getItemLayout(t))},g.setLinePoints=function(e){var t=this.childOfName("line");f(t.shape,e),t.dirty()},r.inherits(m,s.Group);var v=m;e.exports=v},"7e63":function(e,t,n){var r=n("4e08"),i=(r.__DEV__,n("6d8b")),a=i.each,o=i.filter,s=i.map,l=i.isArray,c=i.indexOf,u=i.isObject,d=i.isString,h=i.createHashMap,p=i.assert,f=i.clone,_=i.merge,m=i.extend,g=i.mixin,v=n("e0d3"),y=n("4319"),b=n("6cb7"),S=n("8971"),E=n("e47b"),x=n("0f99"),T=x.resetSourceDefaulter,C="\0_ec_inner",A=y.extend({init:function(e,t,n,r){n=n||{},this.option=null,this._theme=new y(n),this._optionManager=r},setOption:function(e,t){p(!(C in e),"please use chart.getOption()"),this._optionManager.setOption(e,t),this.resetOption(null)},resetOption:function(e){var t=!1,n=this._optionManager;if(!e||"recreate"===e){var r=n.mountOption("recreate"===e);this.option&&"recreate"!==e?(this.restoreData(),this.mergeOption(r)):R.call(this,r),t=!0}if("timeline"!==e&&"media"!==e||this.restoreData(),!e||"recreate"===e||"timeline"===e){var i=n.getTimelineOption(this);i&&(this.mergeOption(i),t=!0)}if(!e||"recreate"===e||"media"===e){var o=n.getMediaOption(this,this._api);o.length&&a(o,(function(e){this.mergeOption(e,t=!0)}),this)}return t},mergeOption:function(e){var t=this.option,n=this._componentsMap,r=[];function i(r,i){var o=v.normalizeToArray(e[r]),s=v.mappingToExists(n.get(r),o);v.makeIdAndName(s),a(s,(function(e,t){var n=e.option;u(n)&&(e.keyInfo.mainType=r,e.keyInfo.subType=N(r,n,e.exist))}));var l=I(n,i);t[r]=[],n.set(r,[]),a(s,(function(e,i){var a=e.exist,o=e.option;if(p(u(o)||a,"Empty component definition"),o){var s=b.getClass(r,e.keyInfo.subType,!0);if(a&&a.constructor===s)a.name=e.keyInfo.name,a.mergeOption(o,this),a.optionUpdated(o,!1);else{var c=m({dependentModels:l,componentIndex:i},e.keyInfo);a=new s(o,this,this,c),m(a,c),a.init(o,this,this,c),a.optionUpdated(null,!0)}}else a.mergeOption({},this),a.optionUpdated({},!1);n.get(r)[i]=a,t[r][i]=a.option}),this),"series"===r&&M(this,n.get("series"))}T(this),a(e,(function(e,n){null!=e&&(b.hasClass(n)?n&&r.push(n):t[n]=null==t[n]?f(e):_(t[n],e,!0))})),b.topologicalTravel(r,b.getAllClassMainTypes(),i,this),this._seriesIndicesMap=h(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var e=f(this.option);return a(e,(function(t,n){if(b.hasClass(n)){t=v.normalizeToArray(t);for(var r=t.length-1;r>=0;r--)v.isIdInner(t[r])&&t.splice(r,1);e[n]=t}})),delete e[C],e},getTheme:function(){return this._theme},getComponent:function(e,t){var n=this._componentsMap.get(e);if(n)return n[t||0]},queryComponents:function(e){var t=e.mainType;if(!t)return[];var n,r=e.index,i=e.id,a=e.name,u=this._componentsMap.get(t);if(!u||!u.length)return[];if(null!=r)l(r)||(r=[r]),n=o(s(r,(function(e){return u[e]})),(function(e){return!!e}));else if(null!=i){var d=l(i);n=o(u,(function(e){return d&&c(i,e.id)>=0||!d&&e.id===i}))}else if(null!=a){var h=l(a);n=o(u,(function(e){return h&&c(a,e.name)>=0||!h&&e.name===a}))}else n=u.slice();return D(n,e)},findComponents:function(e){var t=e.query,n=e.mainType,r=a(t),i=r?this.queryComponents(r):this._componentsMap.get(n);return s(D(i,e));function a(e){var t=n+"Index",r=n+"Id",i=n+"Name";return!e||null==e[t]&&null==e[r]&&null==e[i]?null:{mainType:n,index:e[t],id:e[r],name:e[i]}}function s(t){return e.filter?o(t,e.filter):t}},eachComponent:function(e,t,n){var r=this._componentsMap;if("function"===typeof e)n=t,t=e,r.each((function(e,r){a(e,(function(e,i){t.call(n,r,e,i)}))}));else if(d(e))a(r.get(e),t,n);else if(u(e)){var i=this.findComponents(e);a(i,t,n)}},getSeriesByName:function(e){var t=this._componentsMap.get("series");return o(t,(function(t){return t.name===e}))},getSeriesByIndex:function(e){return this._componentsMap.get("series")[e]},getSeriesByType:function(e){var t=this._componentsMap.get("series");return o(t,(function(t){return t.subType===e}))},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(e,t){L(this),a(this._seriesIndices,(function(n){var r=this._componentsMap.get("series")[n];e.call(t,r,n)}),this)},eachRawSeries:function(e,t){a(this._componentsMap.get("series"),e,t)},eachSeriesByType:function(e,t,n){L(this),a(this._seriesIndices,(function(r){var i=this._componentsMap.get("series")[r];i.subType===e&&t.call(n,i,r)}),this)},eachRawSeriesByType:function(e,t,n){return a(this.getSeriesByType(e),t,n)},isSeriesFiltered:function(e){return L(this),null==this._seriesIndicesMap.get(e.componentIndex)},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(e,t){L(this);var n=o(this._componentsMap.get("series"),e,t);M(this,n)},restoreData:function(e){var t=this._componentsMap;M(this,t.get("series"));var n=[];t.each((function(e,t){n.push(t)})),b.topologicalTravel(n,b.getAllClassMainTypes(),(function(n,r){a(t.get(n),(function(t){("series"!==n||!w(t,e))&&t.restoreData()}))}))}});function w(e,t){if(t){var n=t.seiresIndex,r=t.seriesId,i=t.seriesName;return null!=n&&e.componentIndex!==n||null!=r&&e.id!==r||null!=i&&e.name!==i}}function O(e,t){var n=e.color&&!e.colorLayer;a(t,(function(t,r){"colorLayer"===r&&n||b.hasClass(r)||("object"===typeof t?e[r]=e[r]?_(e[r],t,!1):f(t):null==e[r]&&(e[r]=t))}))}function R(e){e=e,this.option={},this.option[C]=1,this._componentsMap=h({series:[]}),this._seriesIndices,this._seriesIndicesMap,O(e,this._theme.option),_(e,S,!1),this.mergeOption(e)}function I(e,t){l(t)||(t=t?[t]:[]);var n={};return a(t,(function(t){n[t]=(e.get(t)||[]).slice()})),n}function N(e,t,n){var r=t.type?t.type:n?n.subType:b.determineSubType(e,t);return r}function M(e,t){e._seriesIndicesMap=h(e._seriesIndices=s(t,(function(e){return e.componentIndex}))||[])}function D(e,t){return t.hasOwnProperty("subType")?o(e,(function(e){return e.subType===t.subType})):e}function L(e){}g(A,E);var P=A;e.exports=P},"7f59":function(e,t,n){var r=n("4e08"),i=(r.__DEV__,n("3eba")),a=n("6d8b"),o=n("e0d3"),s=n("2306"),l=n("f934"),c=n("3842"),u=c.parsePercent,d={path:null,compoundPath:null,group:s.Group,image:s.Image,text:s.Text};i.registerPreprocessor((function(e){var t=e.graphic;a.isArray(t)?t[0]&&t[0].elements?e.graphic=[e.graphic[0]]:e.graphic=[{elements:t}]:t&&!t.elements&&(e.graphic=[{elements:[t]}])}));var h=i.extendComponentModel({type:"graphic",defaultOption:{elements:[],parentId:null},_elOptionsToUpdate:null,mergeOption:function(e){var t=this.option.elements;this.option.elements=null,h.superApply(this,"mergeOption",arguments),this.option.elements=t},optionUpdated:function(e,t){var n=this.option,r=(t?n:e).elements,i=n.elements=t?[]:n.elements,s=[];this._flatten(r,s);var l=o.mappingToExists(i,s);o.makeIdAndName(l);var c=this._elOptionsToUpdate=[];a.each(l,(function(e,t){var n=e.option;n&&(c.push(n),g(e,n),v(i,t,n),y(i[t],n))}),this);for(var u=i.length-1;u>=0;u--)null==i[u]?i.splice(u,1):delete i[u].$action},_flatten:function(e,t,n){a.each(e,(function(e){if(e){n&&(e.parentOption=n),t.push(e);var r=e.children;"group"===e.type&&r&&this._flatten(r,t,e),delete e.children}}),this)},useElOptionsToUpdate:function(){var e=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,e}});function p(e,t,n,r){var i=n.type,a=d.hasOwnProperty(i)?d[i]:s.getShapeClass(i),o=new a(n);t.add(o),r.set(e,o),o.__ecGraphicId=e}function f(e,t){var n=e&&e.parent;n&&("group"===e.type&&e.traverse((function(e){f(e,t)})),t.removeKey(e.__ecGraphicId),n.remove(e))}function _(e){return e=a.extend({},e),a.each(["id","parentId","$action","hv","bounding"].concat(l.LOCATION_PARAMS),(function(t){delete e[t]})),e}function m(e,t){var n;return a.each(t,(function(t){null!=e[t]&&"auto"!==e[t]&&(n=!0)})),n}function g(e,t){var n=e.exist;if(t.id=e.keyInfo.id,!t.type&&n&&(t.type=n.type),null==t.parentId){var r=t.parentOption;r?t.parentId=r.id:n&&(t.parentId=n.parentId)}t.parentOption=null}function v(e,t,n){var r=a.extend({},n),i=e[t],o=n.$action||"merge";"merge"===o?i?(a.merge(i,r,!0),l.mergeLayoutParam(i,r,{ignoreSize:!0}),l.copyLayoutParams(n,i)):e[t]=r:"replace"===o?e[t]=r:"remove"===o&&i&&(e[t]=null)}function y(e,t){e&&(e.hv=t.hv=[m(t,["left","right"]),m(t,["top","bottom"])],"group"===e.type&&(null==e.width&&(e.width=t.width=0),null==e.height&&(e.height=t.height=0)))}function b(e,t,n){var r=e.eventData;e.silent||e.ignore||r||(r=e.eventData={componentType:"graphic",componentIndex:t.componentIndex,name:e.name}),r&&(r.info=e.info)}i.extendComponentView({type:"graphic",init:function(e,t){this._elMap=a.createHashMap(),this._lastGraphicModel},render:function(e,t,n){e!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=e,this._updateElements(e),this._relocate(e,n)},_updateElements:function(e){var t=e.useElOptionsToUpdate();if(t){var n=this._elMap,r=this.group;a.each(t,(function(t){var i=t.$action,a=t.id,o=n.get(a),s=t.parentId,l=null!=s?n.get(s):r,c=t.style;"text"===t.type&&c&&(t.hv&&t.hv[1]&&(c.textVerticalAlign=c.textBaseline=null),!c.hasOwnProperty("textFill")&&c.fill&&(c.textFill=c.fill),!c.hasOwnProperty("textStroke")&&c.stroke&&(c.textStroke=c.stroke));var u=_(t);i&&"merge"!==i?"replace"===i?(f(o,n),p(a,l,u,n)):"remove"===i&&f(o,n):o?o.attr(u):p(a,l,u,n);var d=n.get(a);d&&(d.__ecGraphicWidthOption=t.width,d.__ecGraphicHeightOption=t.height,b(d,e,t))}))}},_relocate:function(e,t){for(var n=e.option.elements,r=this.group,i=this._elMap,a=t.getWidth(),o=t.getHeight(),s=0;s=0;s--){c=n[s],d=i.get(c.id);if(d){h=d.parent;var f=h===r?{width:a,height:o}:{width:h.__ecGraphicWidth,height:h.__ecGraphicHeight};l.positionElement(d,c,f,null,{hv:c.hv,boundingMode:c.bounding})}}},_clear:function(){var e=this._elMap;e.each((function(t){f(t,e)})),this._elMap=a.createHashMap()},dispose:function(){this._clear()}})},"7f72":function(e,t,n){n("6932"),n("3a56"),n("7dcf"),n("a18f"),n("32a1"),n("2c17"),n("9e87")},"7f91":function(e,t,n){var r=n("2306"),i=n("401b"),a=r.Line.prototype,o=r.BezierCurve.prototype;function s(e){return isNaN(+e.cpx1)||isNaN(+e.cpy1)}var l=r.extendShape({type:"ec-line",style:{stroke:"#000",fill:null},shape:{x1:0,y1:0,x2:0,y2:0,percent:1,cpx1:null,cpy1:null},buildPath:function(e,t){this[s(t)?"_buildPathLine":"_buildPathCurve"](e,t)},_buildPathLine:a.buildPath,_buildPathCurve:o.buildPath,pointAt:function(e){return this[s(this.shape)?"_pointAtLine":"_pointAtCurve"](e)},_pointAtLine:a.pointAt,_pointAtCurve:o.pointAt,tangentAt:function(e){var t=this.shape,n=s(t)?[t.x2-t.x1,t.y2-t.y1]:this._tangentAtCurve(e);return i.normalize(n,n)},_tangentAtCurve:o.tangentAt});e.exports=l},"7f96":function(e,t,n){var r=n("6d8b"),i=r.isFunction;function a(e,t,n){return{seriesType:e,performRawSeries:!0,reset:function(e,r,a){var o=e.getData(),s=e.get("symbol"),l=e.get("symbolSize"),c=e.get("symbolKeepAspect"),u=e.get("symbolRotate"),d=i(s),h=i(l),p=i(u),f=d||h||p,_=!d&&s?s:t,m=h?null:l;if(o.setVisual({legendSymbol:n||_,symbol:_,symbolSize:m,symbolKeepAspect:c,symbolRotate:u}),!r.isSeriesFiltered(e))return{dataEach:o.hasItemOption||f?g:null};function g(t,n){if(f){var r=e.getRawValue(n),i=e.getDataParams(n);d&&t.setItemVisual(n,"symbol",s(r,i)),h&&t.setItemVisual(n,"symbolSize",l(r,i)),p&&t.setItemVisual(n,"symbolRotate",u(r,i))}if(t.hasItemOption){var a=t.getItemModel(n),o=a.getShallow("symbol",!0),c=a.getShallow("symbolSize",!0),_=a.getShallow("symbolRotate",!0),m=a.getShallow("symbolKeepAspect",!0);null!=o&&t.setItemVisual(n,"symbol",o),null!=c&&t.setItemVisual(n,"symbolSize",c),null!=_&&t.setItemVisual(n,"symbolRotate",_),null!=m&&t.setItemVisual(n,"symbolKeepAspect",m)}}}}}e.exports=a},"80b3":function(e,t){e.exports=function(e){return{keywords:{keyword:"_|0 as at cofix else end exists exists2 fix for forall fun if IF in let match mod Prop return Set then Type using where with Abort About Add Admit Admitted All Arguments Assumptions Axiom Back BackTo Backtrack Bind Blacklist Canonical Cd Check Class Classes Close Coercion Coercions CoFixpoint CoInductive Collection Combined Compute Conjecture Conjectures Constant constr Constraint Constructors Context Corollary CreateHintDb Cut Declare Defined Definition Delimit Dependencies DependentDerive Drop eauto End Equality Eval Example Existential Existentials Existing Export exporting Extern Extract Extraction Fact Field Fields File Fixpoint Focus for From Function Functional Generalizable Global Goal Grab Grammar Graph Guarded Heap Hint HintDb Hints Hypotheses Hypothesis ident Identity If Immediate Implicit Import Include Inductive Infix Info Initial Inline Inspect Instance Instances Intro Intros Inversion Inversion_clear Language Left Lemma Let Libraries Library Load LoadPath Local Locate Ltac ML Mode Module Modules Monomorphic Morphism Next NoInline Notation Obligation Obligations Opaque Open Optimize Options Parameter Parameters Parametric Path Paths pattern Polymorphic Preterm Print Printing Program Projections Proof Proposition Pwd Qed Quit Rec Record Recursive Redirect Relation Remark Remove Require Reserved Reset Resolve Restart Rewrite Right Ring Rings Save Scheme Scope Scopes Script Search SearchAbout SearchHead SearchPattern SearchRewrite Section Separate Set Setoid Show Solve Sorted Step Strategies Strategy Structure SubClass Table Tables Tactic Term Test Theorem Time Timeout Transparent Type Typeclasses Types Undelimit Undo Unfocus Unfocused Unfold Universe Universes Unset Unshelve using Variable Variables Variant Verbose Visibility where with",built_in:"abstract absurd admit after apply as assert assumption at auto autorewrite autounfold before bottom btauto by case case_eq cbn cbv change classical_left classical_right clear clearbody cofix compare compute congruence constr_eq constructor contradict contradiction cut cutrewrite cycle decide decompose dependent destruct destruction dintuition discriminate discrR do double dtauto eapply eassumption eauto ecase econstructor edestruct ediscriminate eelim eexact eexists einduction einjection eleft elim elimtype enough equality erewrite eright esimplify_eq esplit evar exact exactly_once exfalso exists f_equal fail field field_simplify field_simplify_eq first firstorder fix fold fourier functional generalize generalizing gfail give_up has_evar hnf idtac in induction injection instantiate intro intro_pattern intros intuition inversion inversion_clear is_evar is_var lapply lazy left lia lra move native_compute nia nsatz omega once pattern pose progress proof psatz quote record red refine reflexivity remember rename repeat replace revert revgoals rewrite rewrite_strat right ring ring_simplify rtauto set setoid_reflexivity setoid_replace setoid_rewrite setoid_symmetry setoid_transitivity shelve shelve_unifiable simpl simple simplify_eq solve specialize split split_Rabs split_Rmult stepl stepr subst sum swap symmetry tactic tauto time timeout top transitivity trivial try tryif unfold unify until using vm_compute with"},contains:[e.QUOTE_STRING_MODE,e.COMMENT("\\(\\*","\\*\\)"),e.C_NUMBER_MODE,{className:"type",excludeBegin:!0,begin:"\\|\\s*",end:"\\w+"},{begin:/[-=]>/}]}}},"80f0":function(e,t){function n(e){return e}function r(e,t,r,i,a){this._old=e,this._new=t,this._oldKeyGetter=r||n,this._newKeyGetter=i||n,this.context=a}function i(e,t,n,r,i){for(var a=0;a=0;b&&y.depth>m&&(m=y.depth),v.setLayout({depth:b?y.depth:d},!0),"vertical"===a?v.setLayout({dy:n},!0):v.setLayout({dx:n},!0);for(var S=0;Sd-1?m:d-1;o&&"left"!==o&&p(e,o,a,A);h="vertical"===a?(i-n)/A:(r-n)/A;_(e,h,a)}function h(e){var t=e.hostGraph.data.getRawDataItem(e.dataIndex);return null!=t.depth&&t.depth>=0}function p(e,t,n,r){if("right"===t){var a=[],o=e,s=0;while(o.length){for(var l=0;l0;a--)l*=.99,b(s,l,o),y(s,i,n,r,o),O(s,l,o),y(s,i,n,r,o)}function g(e,t){var n=[],r="vertical"===t?"y":"x",a=o(e,(function(e){return e.getLayout()[r]}));return a.keys.sort((function(e,t){return e-t})),i.each(a.keys,(function(e){n.push(a.buckets.get(e))})),n}function v(e,t,n,r,a,o){var s=1/0;i.each(e,(function(e){var t=e.length,l=0;i.each(e,(function(e){l+=e.getLayout().value}));var c="vertical"===o?(r-(t-1)*a)/l:(n-(t-1)*a)/l;c0&&(i=s.getLayout()[o]+l,"vertical"===a?s.setLayout({x:i},!0):s.setLayout({y:i},!0)),c=s.getLayout()[o]+s.getLayout()[d]+t;var p="vertical"===a?r:n;if(l=c-t-p,l>0)for(i=s.getLayout()[o]-l,"vertical"===a?s.setLayout({x:i},!0):s.setLayout({y:i},!0),c=i,h=u-2;h>=0;--h)s=e[h],l=s.getLayout()[o]+s.getLayout()[d]+t-c,l>0&&(i=s.getLayout()[o]-l,"vertical"===a?s.setLayout({x:i},!0):s.setLayout({y:i},!0)),c=s.getLayout()[o]}))}function b(e,t,n){i.each(e.slice().reverse(),(function(e){i.each(e,(function(e){if(e.outEdges.length){var r=w(e.outEdges,S,n)/w(e.outEdges,A,n);if(isNaN(r)){var i=e.outEdges.length;r=i?w(e.outEdges,E,n)/i:0}if("vertical"===n){var a=e.getLayout().x+(r-C(e,n))*t;e.setLayout({x:a},!0)}else{var o=e.getLayout().y+(r-C(e,n))*t;e.setLayout({y:o},!0)}}}))}))}function S(e,t){return C(e.node2,t)*e.getValue()}function E(e,t){return C(e.node2,t)}function x(e,t){return C(e.node1,t)*e.getValue()}function T(e,t){return C(e.node1,t)}function C(e,t){return"vertical"===t?e.getLayout().x+e.getLayout().dx/2:e.getLayout().y+e.getLayout().dy/2}function A(e){return e.getValue()}function w(e,t,n){var r=0,i=e.length,a=-1;while(++a/,excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"},{begin:/&html<\s*\s*>/,subLanguage:"xml"}]}}},"82cb":function(e,t){e.exports=function(e){var t="[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",n={keyword:"and then defined module in return redo if BEGIN retry end for self when next until do begin unless END rescue else break undef not super class case require yield alias while ensure elsif or include attr_reader attr_writer attr_accessor",literal:"true false nil"},r={className:"doctag",begin:"@[A-Za-z]+"},i={begin:"#<",end:">"},a=[e.COMMENT("#","$",{contains:[r]}),e.COMMENT("^\\=begin","^\\=end",{contains:[r],relevance:10}),e.COMMENT("^__END__","\\n$")],o={className:"subst",begin:"#\\{",end:"}",keywords:n},s={className:"string",contains:[e.BACKSLASH_ESCAPE,o],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%[qQwWx]?\\(",end:"\\)"},{begin:"%[qQwWx]?\\[",end:"\\]"},{begin:"%[qQwWx]?{",end:"}"},{begin:"%[qQwWx]?<",end:">"},{begin:"%[qQwWx]?/",end:"/"},{begin:"%[qQwWx]?%",end:"%"},{begin:"%[qQwWx]?-",end:"-"},{begin:"%[qQwWx]?\\|",end:"\\|"},{begin:/\B\?(\\\d{1,3}|\\x[A-Fa-f0-9]{1,2}|\\u[A-Fa-f0-9]{4}|\\?\S)\b/},{begin:/<<[-~]?'?(\w+)(?:.|\n)*?\n\s*\1\b/,returnBegin:!0,contains:[{begin:/<<[-~]?'?/},{begin:/\w+/,endSameAsBegin:!0,contains:[e.BACKSLASH_ESCAPE,o]}]}]},l={className:"params",begin:"\\(",end:"\\)",endsParent:!0,keywords:n},c=[s,i,{className:"class",beginKeywords:"class module",end:"$|;",illegal:/=/,contains:[e.inherit(e.TITLE_MODE,{begin:"[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?"}),{begin:"<\\s*",contains:[{begin:"("+e.IDENT_RE+"::)?"+e.IDENT_RE}]}].concat(a)},{className:"function",beginKeywords:"def",end:"$|;",contains:[e.inherit(e.TITLE_MODE,{begin:t}),l].concat(a)},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(\\!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[s,{begin:t}],relevance:0},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\$\\W)|((\\$|\\@\\@?)(\\w+))"},{className:"params",begin:/\|/,end:/\|/,keywords:n},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[i,{className:"regexp",contains:[e.BACKSLASH_ESCAPE,o],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:"%r{",end:"}[a-z]*"},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(a),relevance:0}].concat(a);o.contains=c,l.contains=c;var u="[>?]>",d="[\\w#]+\\(\\w+\\):\\d+:\\d+>",h="(\\w+-)?\\d+\\.\\d+\\.\\d(p\\d+)?[^>]+>",p=[{begin:/^\s*=>/,starts:{end:"$",contains:c}},{className:"meta",begin:"^("+u+"|"+d+"|"+h+")",starts:{end:"$",contains:c}}];return{aliases:["rb","gemspec","podspec","thor","irb"],keywords:n,illegal:/\/\*/,contains:a.concat(p).concat(c)}}},"82eb":function(e,t){var n={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},r=9;t.ContextCachedBy=n,t.WILL_BE_RESTORED=r},"82f9":function(e,t,n){var r=n("6d8b"),i=n("76a5"),a=n("2306");function o(e,t,n,r){e[0]=n,e[1]=r,e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}function s(e){var t=this._zr=e.getZr();this._styleCoord=[0,0,0,0],o(this._styleCoord,t,e.getWidth()/2,e.getHeight()/2),this._show=!1,this._hideTimeout}s.prototype={constructor:s,_enterable:!0,update:function(e){var t=e.get("alwaysShowContent");t&&this._moveTooltipIfResized()},_moveTooltipIfResized:function(){var e=this._styleCoord[2],t=this._styleCoord[3],n=e*this._zr.getWidth(),r=t*this._zr.getHeight();this.moveTo(n,r)},show:function(e){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(e,t,n){this.el&&this._zr.remove(this.el);var r={},o=e,s="{marker",l="|}",c=o.indexOf(s);while(c>=0){var u=o.indexOf(l),d=o.substr(c+s.length,u-c-s.length);d.indexOf("sub")>-1?r["marker"+d]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:t[d],textOffset:[3,0]}:r["marker"+d]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:t[d]},o=o.substr(u+1),c=o.indexOf("{marker")}var h=n.getModel("textStyle"),p=h.get("fontSize"),f=n.get("textLineHeight");null==f&&(f=Math.round(3*p/2)),this.el=new i({style:a.setTextStyle({},h,{rich:r,text:e,textBackgroundColor:n.get("backgroundColor"),textBorderRadius:n.get("borderRadius"),textFill:n.get("textStyle.color"),textPadding:n.get("padding"),textLineHeight:f}),z:n.get("z")}),this._zr.add(this.el);var _=this;this.el.on("mouseover",(function(){_._enterable&&(clearTimeout(_._hideTimeout),_._show=!0),_._inContent=!0})),this.el.on("mouseout",(function(){_._enterable&&_._show&&_.hideLater(_._hideDelay),_._inContent=!1}))},setEnterable:function(e){this._enterable=e},getSize:function(){var e=this.el.getBoundingRect();return[e.width,e.height]},moveTo:function(e,t){if(this.el){var n=this._styleCoord;o(n,this._zr,e,t),this.el.attr("position",[n[0],n[1]])}},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(e){!this._show||this._inContent&&this._enterable||(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(r.bind(this.hide,this),e)):this.hide())},isShow:function(){return this._show},dispose:function(){clearTimeout(this._hideTimeout),this.el&&this._zr.remove(this.el)},getOuterSize:function(){var e=this.getSize();return{width:e[0],height:e[1]}}};var l=s;e.exports=l},8344:function(e,t,n){var r=n("6d8b"),i=n("f706"),a=n("3842"),o=n("6179"),s=n("923d"),l=n("88f0");function c(e,t,n){var r=t.coordinateSystem;e.each((function(i){var o,s=e.getItemModel(i),l=a.parsePercent(s.get("x"),n.getWidth()),c=a.parsePercent(s.get("y"),n.getHeight());if(isNaN(l)||isNaN(c)){if(t.getMarkerPosition)o=t.getMarkerPosition(e.getValues(e.dimensions,i));else if(r){var u=e.get(r.dimensions[0],i),d=e.get(r.dimensions[1],i);o=r.dataToPoint([u,d])}}else o=[l,c];isNaN(l)||(o[0]=l),isNaN(c)||(o[1]=c),e.setItemLayout(i,o)}))}var u=l.extend({type:"markPoint",updateTransform:function(e,t,n){t.eachSeries((function(e){var t=e.markPointModel;t&&(c(t.getData(),e,n),this.markerGroupMap.get(e.id).updateLayout(t))}),this)},renderSeries:function(e,t,n,a){var o=e.coordinateSystem,s=e.id,l=e.getData(),u=this.markerGroupMap,h=u.get(s)||u.set(s,new i),p=d(o,e,t);t.setData(p),c(t.getData(),e,a),p.each((function(e){var n=p.getItemModel(e),i=n.getShallow("symbol"),a=n.getShallow("symbolSize"),o=n.getShallow("symbolRotate"),s=r.isFunction(i),c=r.isFunction(a),u=r.isFunction(o);if(s||c||u){var d=t.getRawValue(e),h=t.getDataParams(e);s&&(i=i(d,h)),c&&(a=a(d,h)),u&&(o=o(d,h))}p.setItemVisual(e,{symbol:i,symbolSize:a,symbolRotate:o,color:n.get("itemStyle.color")||l.getVisual("color")})})),h.updateData(p),this.group.add(h.group),p.eachItemGraphicEl((function(e){e.traverse((function(e){e.dataModel=t}))})),h.__keep=!0,h.group.silent=t.get("silent")||e.get("silent")}});function d(e,t,n){var i;i=e?r.map(e&&e.dimensions,(function(e){var n=t.getData().getDimensionInfo(t.getData().mapDimension(e))||{};return r.defaults({name:e},n)})):[{name:"value",type:"float"}];var a=new o(i,n),l=r.map(n.get("data"),r.curry(s.dataTransform,t));return e&&(l=r.filter(l,r.curry(s.dataFilter,e))),a.initData(l,null,e?s.dimValueGetter:function(e){return e.value}),a}e.exports=u},"83ab":function(e,t,n){var r=n("d039");e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"83b9":function(e,t,n){"use strict";var r=n("d925"),i=n("e683");e.exports=function(e,t){return e&&!r(t)?i(e,t):t}},"83ba":function(e,t,n){var r=n("6d8b"),i=n("6cb7"),a=n("f934"),o=a.getLayoutParams,s=a.sizeCalculable,l=a.mergeLayoutParam,c=i.extend({type:"calendar",coordinateSystem:null,defaultOption:{zlevel:0,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%",nameMap:"en",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",nameMap:"en",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},init:function(e,t,n,r){var i=o(e);c.superApply(this,"init",arguments),u(e,i)},mergeOption:function(e,t){c.superApply(this,"mergeOption",arguments),u(this.option,e)}});function u(e,t){var n=e.cellSize;r.isArray(n)?1===n.length&&(n[1]=n[0]):n=e.cellSize=[n,n];var i=r.map([0,1],(function(e){return s(t,e)&&(n[e]="auto"),null!=n[e]&&"auto"!==n[e]}));l(e,t,{type:"box",ignoreSize:i})}var d=c;e.exports=d},8418:function(e,t,n){"use strict";var r=n("a04b"),i=n("9bf2"),a=n("5c6c");e.exports=function(e,t,n){var o=r(t);o in e?i.f(e,o,a(0,n)):e[o]=n}},"843e":function(e,t,n){var r=n("6d8b"),i=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function a(e){r.each(i,(function(t){this[t]=r.bind(e[t],e)}),this)}var o=a;e.exports=o},8459:function(e,t,n){var r=n("3eba"),i={type:"axisAreaSelect",event:"axisAreaSelected"};r.registerAction(i,(function(e,t){t.eachComponent({mainType:"parallelAxis",query:e},(function(t){t.axis.model.setActiveIntervals(e.intervals)}))})),r.registerAction("parallelAxisExpand",(function(e,t){t.eachComponent({mainType:"parallel",query:e},(function(t){t.setAxisExpand(e)}))}))},"848b":function(e,t,n){"use strict";var r=n("5cce").version,i={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){i[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var a={};function o(e,t,n){if("object"!==typeof e)throw new TypeError("options must be an object");var r=Object.keys(e),i=r.length;while(i-- >0){var a=r[i],o=t[a];if(o){var s=e[a],l=void 0===s||o(s,a,e);if(!0!==l)throw new TypeError("option "+a+" must be "+l)}else if(!0!==n)throw Error("Unknown option "+a)}}i.transitional=function(e,t,n){function i(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,o){if(!1===e)throw new Error(i(r," has been removed"+(t?" in "+t:"")));return t&&!a[r]&&(a[r]=!0,console.warn(i(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,o)}},e.exports={assertOptions:o,validators:i}},"849b":function(e,t,n){var r=n("d9d0"),i=n("2039");function a(e,t){var n=[];return e.eachComponent("parallel",(function(i,a){var o=new r(i,e,t);o.name="parallel_"+a,o.resize(i,t),i.coordinateSystem=o,o.model=i,n.push(o)})),e.eachSeries((function(t){if("parallel"===t.get("coordinateSystem")){var n=e.queryComponents({mainType:"parallel",index:t.get("parallelIndex"),id:t.get("parallelId")})[0];t.coordinateSystem=n.coordinateSystem}})),n}i.register("parallel",{create:a})},"84ce":function(e,t,n){var r=n("6d8b"),i=r.each,a=r.map,o=n("3842"),s=o.linearMap,l=o.getPixelPrecision,c=o.round,u=n("e073"),d=u.createAxisTicks,h=u.createAxisLabels,p=u.calculateCategoryInterval,f=[0,1],_=function(e,t,n){this.dim=e,this.scale=t,this._extent=n||[0,0],this.inverse=!1,this.onBand=!1};function m(e,t){var n=e[1]-e[0],r=t,i=n/r/2;e[0]+=i,e[1]-=i}function g(e,t,n,r){var a=t.length;if(e.onBand&&!n&&a){var o,s,l=e.getExtent();if(1===a)t[0].coord=l[0],o=t[1]={coord:l[0]};else{var u=t[a-1].tickValue-t[0].tickValue,d=(t[a-1].coord-t[0].coord)/u;i(t,(function(e){e.coord-=d/2}));var h=e.scale.getExtent();s=1+h[1]-t[a-1].tickValue,o={coord:t[a-1].coord+d*s},t.push(o)}var p=l[0]>l[1];f(t[0].coord,l[0])&&(r?t[0].coord=l[0]:t.shift()),r&&f(l[0],t[0].coord)&&t.unshift({coord:l[0]}),f(l[1],o.coord)&&(r?o.coord=l[1]:t.pop()),r&&f(o.coord,l[1])&&t.push({coord:l[1]})}function f(e,t){return e=c(e),t=c(t),p?e>t:e=n&&e<=r},containData:function(e){return this.scale.contain(e)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(e){return l(e||this.scale.getExtent(),this._extent)},setExtent:function(e,t){var n=this._extent;n[0]=e,n[1]=t},dataToCoord:function(e,t){var n=this._extent,r=this.scale;return e=r.normalize(e),this.onBand&&"ordinal"===r.type&&(n=n.slice(),m(n,r.count())),s(e,f,n,t)},coordToData:function(e,t){var n=this._extent,r=this.scale;this.onBand&&"ordinal"===r.type&&(n=n.slice(),m(n,r.count()));var i=s(e,n,f,t);return this.scale.scale(i)},pointToData:function(e,t){},getTicksCoords:function(e){e=e||{};var t=e.tickModel||this.getTickModel(),n=d(this,t),r=n.ticks,i=a(r,(function(e){return{coord:this.dataToCoord(e),tickValue:e}}),this),o=t.get("alignWithLabel");return g(this,i,o,e.clamp),i},getMinorTicksCoords:function(){if("ordinal"===this.scale.type)return[];var e=this.model.getModel("minorTick"),t=e.get("splitNumber");t>0&&t<100||(t=5);var n=this.scale.getMinorTicks(t),r=a(n,(function(e){return a(e,(function(e){return{coord:this.dataToCoord(e),tickValue:e}}),this)}),this);return r},getViewLabels:function(){return h(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var e=this._extent,t=this.scale.getExtent(),n=t[1]-t[0]+(this.onBand?1:0);0===n&&(n=1);var r=Math.abs(e[1]-e[0]);return Math.abs(r)/n},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return p(this)}};var v=_;e.exports=v},"84d5":function(e,t,n){var r=n("3eba"),i=n("6d8b"),a=n("4319"),o=n("e0d3"),s=o.isNameSpecified,l=n("29a8"),c=l.legend.selector,u={all:{type:"all",title:i.clone(c.all)},inverse:{type:"inverse",title:i.clone(c.inverse)}},d=r.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(e,t,n){this.mergeDefaultAndTheme(e,n),e.selected=e.selected||{},this._updateSelector(e)},mergeOption:function(e){d.superCall(this,"mergeOption",e),this._updateSelector(e)},_updateSelector:function(e){var t=e.selector;!0===t&&(t=e.selector=["all","inverse"]),i.isArray(t)&&i.each(t,(function(e,n){i.isString(e)&&(e={type:e}),t[n]=i.merge(e,u[e.type])}))},optionUpdated:function(){this._updateData(this.ecModel);var e=this._data;if(e[0]&&"single"===this.get("selectedMode")){for(var t=!1,n=0;n=0},getOrient:function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},defaultOption:{zlevel:0,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,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",itemStyle:{borderWidth:0},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}}}),h=d;e.exports=h},"84ec":function(e,t){var n=Math.log(2);function r(e,t,i,a,o,s){var l=a+"-"+o,c=e.length;if(s.hasOwnProperty(l))return s[l];if(1===t){var u=Math.round(Math.log((1<l)r.f(e,n=o[l++],t[n]);return e}},"861d":function(e,t,n){var r=n("1626"),i="object"==typeof document&&document.all,a="undefined"==typeof i&&void 0!==i;e.exports=a?function(e){return"object"==typeof e?null!==e:r(e)||e===i}:function(e){return"object"==typeof e?null!==e:r(e)}},"862d":function(e,t,n){var r=n("6d8b"),i=r.createHashMap,a=r.each,o=r.isString,s=r.defaults,l=r.extend,c=r.isObject,u=r.clone,d=n("e0d3"),h=d.normalizeToArray,p=n("0f99"),f=p.guessOrdinal,_=p.BE_ORDINAL,m=n("ec6f"),g=n("2f45"),v=g.OTHER_DIMENSIONS,y=n("562e");function b(e,t,n){m.isInstance(t)||(t=m.seriesDataToSource(t)),n=n||{},e=(e||[]).slice();for(var r=(n.dimsDef||[]).slice(),d=i(),p=i(),g=[],b=S(t,e,r,n.dimCount),x=0;x >= >> >>= @ @= ^ ^= abs accumulate all and any ap-compose ap-dotimes ap-each ap-each-while ap-filter ap-first ap-if ap-last ap-map ap-map-when ap-pipe ap-reduce ap-reject apply as-> ascii assert assoc bin break butlast callable calling-module-name car case cdr chain chr coll? combinations compile compress cond cons cons? continue count curry cut cycle dec def default-method defclass defmacro defmacro-alias defmacro/g! defmain defmethod defmulti defn defn-alias defnc defnr defreader defseq del delattr delete-route dict-comp dir disassemble dispatch-reader-macro distinct divmod do doto drop drop-last drop-while empty? end-sequence eval eval-and-compile eval-when-compile even? every? except exec filter first flatten float? fn fnc fnr for for* format fraction genexpr gensym get getattr global globals group-by hasattr hash hex id identity if if* if-not if-python2 import in inc input instance? integer integer-char? integer? interleave interpose is is-coll is-cons is-empty is-even is-every is-float is-instance is-integer is-integer-char is-iterable is-iterator is-keyword is-neg is-none is-not is-numeric is-odd is-pos is-string is-symbol is-zero isinstance islice issubclass iter iterable? iterate iterator? keyword keyword? lambda last len let lif lif-not list* list-comp locals loop macro-error macroexpand macroexpand-1 macroexpand-all map max merge-with method-decorator min multi-decorator multicombinations name neg? next none? nonlocal not not-in not? nth numeric? oct odd? open or ord partition permutations pos? post-route postwalk pow prewalk print product profile/calls profile/cpu put-route quasiquote quote raise range read read-str recursive-replace reduce remove repeat repeatedly repr require rest round route route-with-methods rwm second seq set-comp setattr setv some sorted string string? sum switch symbol? take take-nth take-while tee try unless unquote unquote-splicing vars walk when while with with* with-decorator with-gensyms xi xor yield yield-from zero? zip zip-longest | |= ~"},n="a-zA-Z_\\-!.?+*=<>&#'",r="["+n+"]["+n+"0-9/;:]*",i="[-+]?\\d+(\\.\\d+)?",a={className:"meta",begin:"^#!",end:"$"},o={begin:r,relevance:0},s={className:"number",begin:i,relevance:0},l=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),c=e.COMMENT(";","$",{relevance:0}),u={className:"literal",begin:/\b([Tt]rue|[Ff]alse|nil|None)\b/},d={begin:"[\\[\\{]",end:"[\\]\\}]"},h={className:"comment",begin:"\\^"+r},p=e.COMMENT("\\^\\{","\\}"),f={className:"symbol",begin:"[:]{1,2}"+r},_={begin:"\\(",end:"\\)"},m={endsWithParent:!0,relevance:0},g={keywords:t,lexemes:r,className:"name",begin:r,starts:m},v=[_,l,h,p,c,f,d,s,u,o];return _.contains=[e.COMMENT("comment",""),g,m],m.contains=v,d.contains=v,{aliases:["hylang"],illegal:/\S/,contains:[a,_,l,h,p,c,f,d,s,u]}}},"870e":function(e,t,n){var r=n("6d8b");function i(e){e.eachSeriesByType("radar",(function(e){var t=e.getData(),n=[],i=e.coordinateSystem;if(i){var s=i.getIndicatorAxes();r.each(s,(function(e,r){t.each(t.mapDimension(s[r].dim),(function(e,t){n[t]=n[t]||[];var s=i.dataToPoint(e,r);n[t][r]=a(s)?s:o(i)}))})),t.each((function(e){var s=r.find(n[e],(function(e){return a(e)}))||o(i);n[e].push(s.slice()),t.setItemLayout(e,n[e])}))}}))}function a(e){return!isNaN(e[0])&&!isNaN(e[1])}function o(e){return[e.cx,e.cy]}e.exports=i},8727:function(e,t){var n="http://www.w3.org/2000/svg";function r(e){return document.createElementNS(n,e)}t.createElement=r},8728:function(e,t){function n(e,t,n,r,i,a){if(a>t&&a>r||ai?o:0}e.exports=n},"879e":function(e,t,n){var r=n("3eba"),i=n("6179"),a=n("6d8b"),o=n("e0d3"),s=o.defaultEmphasis,l=n("4319"),c=n("eda2"),u=c.encodeHTML,d=n("237f"),h=n("c4a3"),p=n("0c37"),f=p.initCurvenessList,_=p.createEdgeMapForCurveness,m=r.extendSeriesModel({type:"series.graph",init:function(e){m.superApply(this,"init",arguments);var t=this;function n(){return t._categoriesData}this.legendVisualProvider=new h(n,n),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},mergeOption:function(e){m.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(e){m.superApply(this,"mergeDefaultAndTheme",arguments),s(e,["edgeLabel"],["show"])},getInitialData:function(e,t){var n=e.edges||e.links||[],r=e.data||e.nodes||[],i=this;if(r&&n){f(this);var o=d(r,n,this,!0,s);return a.each(o.edges,(function(e){_(e.node1,e.node2,this,e.dataIndex)}),this),o.data}function s(e,n){e.wrapMethod("getItemModel",(function(e){var t=i._categoriesModels,n=e.getShallow("category"),r=t[n];return r&&(r.parentModel=e.parentModel,e.parentModel=r),e}));var r=i.getModel("edgeLabel"),a=new l({label:r.option},r.parentModel,t),o=i.getModel("emphasis.edgeLabel"),s=new l({emphasis:{label:o.option}},o.parentModel,t);function c(e){return e=this.parsePath(e),e&&"label"===e[0]?a:e&&"emphasis"===e[0]&&"label"===e[1]?s:this.parentModel}n.wrapMethod("getItemModel",(function(e){return e.customizeGetParent(c),e}))}},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(e,t,n){if("edge"===n){var r=this.getData(),i=this.getDataParams(e,n),a=r.graph.getEdgeByIndex(e),o=r.getName(a.node1.dataIndex),s=r.getName(a.node2.dataIndex),l=[];return null!=o&&l.push(o),null!=s&&l.push(s),l=u(l.join(" > ")),i.value&&(l+=" : "+u(i.value)),l}return m.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var e=a.map(this.option.categories||[],(function(e){return null!=e.value?e:a.extend({value:0},e)})),t=new i(["value"],this);t.initData(e),this._categoriesData=t,this._categoriesModels=t.mapArray((function(e){return t.getItemModel(e,!0)}))},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},isAnimationEnabled:function(){return m.superCall(this,"isAnimationEnabled")&&!("force"===this.get("layout")&&this.get("force.layoutAnimation"))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",legendHoverLink:!0,hoverAnimation:!0,layout:null,focusNodeAdjacency:!1,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:{label:{show:!0}}}}),g=m;e.exports=g},"87b1":function(e,t,n){var r=n("cbe5"),i=n("4fac"),a=r.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(e,t){i.buildPath(e,t,!0)}});e.exports=a},"87c3":function(e,t,n){var r=n("6d8b"),i=r.map,a=n("cccd"),o=n("ee1a"),s=o.isDimensionStacked;function l(e){return{seriesType:e,plan:a(),reset:function(e){var t=e.getData(),n=e.coordinateSystem,r=e.pipelineContext,a=r.large;if(n){var o=i(n.dimensions,(function(e){return t.mapDimension(e)})).slice(0,2),l=o.length,c=t.getCalculationInfo("stackResultDimension");return s(t,o[0])&&(o[0]=c),s(t,o[1])&&(o[1]=c),l&&{progress:u}}function u(e,t){for(var r=e.end-e.start,i=a&&new Float32Array(r*l),s=e.start,c=0,u=[],d=[];s=0?d():u=setTimeout(d,-i),l=r};return h.clear=function(){u&&(clearTimeout(u),u=null)},h.debounceNextCall=function(e){s=e},h}function o(e,t,o,s){var l=e[t];if(l){var c=l[n]||l,u=l[i],d=l[r];if(d!==o||u!==s){if(null==o||!s)return e[t]=c;l=e[t]=a(c,o,"debounce"===s),l[n]=c,l[i]=s,l[r]=o}return l}}function s(e,t){var r=e[t];r&&r[n]&&(e[t]=r[n])}t.throttle=a,t.createOrUpdate=o,t.clear=s},"88f0":function(e,t,n){var r=n("3eba"),i=n("6d8b"),a=r.extendComponentView({type:"marker",init:function(){this.markerGroupMap=i.createHashMap()},render:function(e,t,n){var r=this.markerGroupMap;r.each((function(e){e.__keep=!1}));var i=this.type+"Model";t.eachSeries((function(e){var r=e[i];r&&this.renderSeries(e,r,t,n)}),this),r.each((function(e){!e.__keep&&this.group.remove(e.group)}),this)},renderSeries:function(){}});e.exports=a},8918:function(e,t,n){var r=n("6d8b"),i=n("625e"),a=i.parseClassType,o=0;function s(e){return[e||"",o++,Math.random().toFixed(5)].join("_")}function l(e){var t={};return e.registerSubTypeDefaulter=function(e,n){e=a(e),t[e.main]=n},e.determineSubType=function(n,r){var i=r.type;if(!i){var o=a(n).main;e.hasSubTypes(n)&&t[o]&&(i=t[o](r))}return i},e}function c(e,t){function n(e){var n={},o=[];return r.each(e,(function(s){var l=i(n,s),c=l.originalDeps=t(s),u=a(c,e);l.entryCount=u.length,0===l.entryCount&&o.push(s),r.each(u,(function(e){r.indexOf(l.predecessor,e)<0&&l.predecessor.push(e);var t=i(n,e);r.indexOf(t.successor,e)<0&&t.successor.push(s)}))})),{graph:n,noEntryList:o}}function i(e,t){return e[t]||(e[t]={predecessor:[],successor:[]}),e[t]}function a(e,t){var n=[];return r.each(e,(function(e){r.indexOf(t,e)>=0&&n.push(e)})),n}e.topologicalTravel=function(e,t,i,a){if(e.length){var o=n(t),s=o.graph,l=o.noEntryList,c={};r.each(e,(function(e){c[e]=!0}));while(l.length){var u=l.pop(),d=s[u],h=!!c[u];h&&(i.call(a,u,d.originalDeps.slice()),delete c[u]),r.each(d.successor,h?f:p)}r.each(c,(function(){throw new Error("Circle dependency may exists")}))}function p(e){s[e].entryCount--,0===s[e].entryCount&&l.push(e)}function f(e){c[e]=!0,p(e)}}}t.getUID=s,t.enableSubTypeDefaulter=l,t.enableTopologicalTravel=c},8925:function(e,t,n){var r=n("e330"),i=n("1626"),a=n("c6cd"),o=r(Function.toString);i(a.inspectSource)||(a.inspectSource=function(e){return o(e)}),e.exports=a.inspectSource},8931:function(e,t){e.exports=function(e){var t=["functions","model","data","parameters","quantities","transformed","generated"],n=["for","in","if","else","while","break","continue","return"],r=["print","reject","increment_log_prob|10","integrate_ode|10","integrate_ode_rk45|10","integrate_ode_bdf|10","algebra_solver"],i=["int","real","vector","ordered","positive_ordered","simplex","unit_vector","row_vector","matrix","cholesky_factor_corr|10","cholesky_factor_cov|10","corr_matrix|10","cov_matrix|10","void"],a=["Phi","Phi_approx","abs","acos","acosh","algebra_solver","append_array","append_col","append_row","asin","asinh","atan","atan2","atanh","bernoulli_cdf","bernoulli_lccdf","bernoulli_lcdf","bernoulli_logit_lpmf","bernoulli_logit_rng","bernoulli_lpmf","bernoulli_rng","bessel_first_kind","bessel_second_kind","beta_binomial_cdf","beta_binomial_lccdf","beta_binomial_lcdf","beta_binomial_lpmf","beta_binomial_rng","beta_cdf","beta_lccdf","beta_lcdf","beta_lpdf","beta_rng","binary_log_loss","binomial_cdf","binomial_coefficient_log","binomial_lccdf","binomial_lcdf","binomial_logit_lpmf","binomial_lpmf","binomial_rng","block","categorical_logit_lpmf","categorical_logit_rng","categorical_lpmf","categorical_rng","cauchy_cdf","cauchy_lccdf","cauchy_lcdf","cauchy_lpdf","cauchy_rng","cbrt","ceil","chi_square_cdf","chi_square_lccdf","chi_square_lcdf","chi_square_lpdf","chi_square_rng","cholesky_decompose","choose","col","cols","columns_dot_product","columns_dot_self","cos","cosh","cov_exp_quad","crossprod","csr_extract_u","csr_extract_v","csr_extract_w","csr_matrix_times_vector","csr_to_dense_matrix","cumulative_sum","determinant","diag_matrix","diag_post_multiply","diag_pre_multiply","diagonal","digamma","dims","dirichlet_lpdf","dirichlet_rng","distance","dot_product","dot_self","double_exponential_cdf","double_exponential_lccdf","double_exponential_lcdf","double_exponential_lpdf","double_exponential_rng","e","eigenvalues_sym","eigenvectors_sym","erf","erfc","exp","exp2","exp_mod_normal_cdf","exp_mod_normal_lccdf","exp_mod_normal_lcdf","exp_mod_normal_lpdf","exp_mod_normal_rng","expm1","exponential_cdf","exponential_lccdf","exponential_lcdf","exponential_lpdf","exponential_rng","fabs","falling_factorial","fdim","floor","fma","fmax","fmin","fmod","frechet_cdf","frechet_lccdf","frechet_lcdf","frechet_lpdf","frechet_rng","gamma_cdf","gamma_lccdf","gamma_lcdf","gamma_lpdf","gamma_p","gamma_q","gamma_rng","gaussian_dlm_obs_lpdf","get_lp","gumbel_cdf","gumbel_lccdf","gumbel_lcdf","gumbel_lpdf","gumbel_rng","head","hypergeometric_lpmf","hypergeometric_rng","hypot","inc_beta","int_step","integrate_ode","integrate_ode_bdf","integrate_ode_rk45","inv","inv_Phi","inv_chi_square_cdf","inv_chi_square_lccdf","inv_chi_square_lcdf","inv_chi_square_lpdf","inv_chi_square_rng","inv_cloglog","inv_gamma_cdf","inv_gamma_lccdf","inv_gamma_lcdf","inv_gamma_lpdf","inv_gamma_rng","inv_logit","inv_sqrt","inv_square","inv_wishart_lpdf","inv_wishart_rng","inverse","inverse_spd","is_inf","is_nan","lbeta","lchoose","lgamma","lkj_corr_cholesky_lpdf","lkj_corr_cholesky_rng","lkj_corr_lpdf","lkj_corr_rng","lmgamma","lmultiply","log","log10","log1m","log1m_exp","log1m_inv_logit","log1p","log1p_exp","log2","log_determinant","log_diff_exp","log_falling_factorial","log_inv_logit","log_mix","log_rising_factorial","log_softmax","log_sum_exp","logistic_cdf","logistic_lccdf","logistic_lcdf","logistic_lpdf","logistic_rng","logit","lognormal_cdf","lognormal_lccdf","lognormal_lcdf","lognormal_lpdf","lognormal_rng","machine_precision","matrix_exp","max","mdivide_left_spd","mdivide_left_tri_low","mdivide_right_spd","mdivide_right_tri_low","mean","min","modified_bessel_first_kind","modified_bessel_second_kind","multi_gp_cholesky_lpdf","multi_gp_lpdf","multi_normal_cholesky_lpdf","multi_normal_cholesky_rng","multi_normal_lpdf","multi_normal_prec_lpdf","multi_normal_rng","multi_student_t_lpdf","multi_student_t_rng","multinomial_lpmf","multinomial_rng","multiply_log","multiply_lower_tri_self_transpose","neg_binomial_2_cdf","neg_binomial_2_lccdf","neg_binomial_2_lcdf","neg_binomial_2_log_lpmf","neg_binomial_2_log_rng","neg_binomial_2_lpmf","neg_binomial_2_rng","neg_binomial_cdf","neg_binomial_lccdf","neg_binomial_lcdf","neg_binomial_lpmf","neg_binomial_rng","negative_infinity","normal_cdf","normal_lccdf","normal_lcdf","normal_lpdf","normal_rng","not_a_number","num_elements","ordered_logistic_lpmf","ordered_logistic_rng","owens_t","pareto_cdf","pareto_lccdf","pareto_lcdf","pareto_lpdf","pareto_rng","pareto_type_2_cdf","pareto_type_2_lccdf","pareto_type_2_lcdf","pareto_type_2_lpdf","pareto_type_2_rng","pi","poisson_cdf","poisson_lccdf","poisson_lcdf","poisson_log_lpmf","poisson_log_rng","poisson_lpmf","poisson_rng","positive_infinity","pow","print","prod","qr_Q","qr_R","quad_form","quad_form_diag","quad_form_sym","rank","rayleigh_cdf","rayleigh_lccdf","rayleigh_lcdf","rayleigh_lpdf","rayleigh_rng","reject","rep_array","rep_matrix","rep_row_vector","rep_vector","rising_factorial","round","row","rows","rows_dot_product","rows_dot_self","scaled_inv_chi_square_cdf","scaled_inv_chi_square_lccdf","scaled_inv_chi_square_lcdf","scaled_inv_chi_square_lpdf","scaled_inv_chi_square_rng","sd","segment","sin","singular_values","sinh","size","skew_normal_cdf","skew_normal_lccdf","skew_normal_lcdf","skew_normal_lpdf","skew_normal_rng","softmax","sort_asc","sort_desc","sort_indices_asc","sort_indices_desc","sqrt","sqrt2","square","squared_distance","step","student_t_cdf","student_t_lccdf","student_t_lcdf","student_t_lpdf","student_t_rng","sub_col","sub_row","sum","tail","tan","tanh","target","tcrossprod","tgamma","to_array_1d","to_array_2d","to_matrix","to_row_vector","to_vector","trace","trace_gen_quad_form","trace_quad_form","trigamma","trunc","uniform_cdf","uniform_lccdf","uniform_lcdf","uniform_lpdf","uniform_rng","variance","von_mises_lpdf","von_mises_rng","weibull_cdf","weibull_lccdf","weibull_lcdf","weibull_lpdf","weibull_rng","wiener_lpdf","wishart_lpdf","wishart_rng"],o=["bernoulli","bernoulli_logit","beta","beta_binomial","binomial","binomial_logit","categorical","categorical_logit","cauchy","chi_square","dirichlet","double_exponential","exp_mod_normal","exponential","frechet","gamma","gaussian_dlm_obs","gumbel","hypergeometric","inv_chi_square","inv_gamma","inv_wishart","lkj_corr","lkj_corr_cholesky","logistic","lognormal","multi_gp","multi_gp_cholesky","multi_normal","multi_normal_cholesky","multi_normal_prec","multi_student_t","multinomial","neg_binomial","neg_binomial_2","neg_binomial_2_log","normal","ordered_logistic","pareto","pareto_type_2","poisson","poisson_log","rayleigh","scaled_inv_chi_square","skew_normal","student_t","uniform","von_mises","weibull","wiener","wishart"];return{aliases:["stanfuncs"],keywords:{title:t.join(" "),keyword:n.concat(i).concat(r).join(" "),built_in:a.join(" ")},lexemes:e.IDENT_RE,contains:[e.C_LINE_COMMENT_MODE,e.COMMENT(/#/,/$/,{relevance:0,keywords:{"meta-keyword":"include"}}),e.COMMENT(/\/\*/,/\*\//,{relevance:0,contains:[{className:"doctag",begin:/@(return|param)/}]}),{begin:/<\s*lower\s*=/,keywords:"lower"},{begin:/[<,]*upper\s*=/,keywords:"upper"},{className:"keyword",begin:/\btarget\s*\+=/,relevance:10},{begin:"~\\s*("+e.IDENT_RE+")\\s*\\(",keywords:o.join(" ")},{className:"number",variants:[{begin:/\b\d+(?:\.\d*)?(?:[eE][+-]?\d+)?/},{begin:/\.\d+(?:[eE][+-]?\d+)?\b/}],relevance:0},{className:"string",begin:'"',end:'"',relevance:0}]}}},8971:function(e,t){var n="";"undefined"!==typeof navigator&&(n=navigator.platform||"");var r={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:n.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,animation:"auto",animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};e.exports=r},"897a":function(e,t,n){var r=n("22d1"),i=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];function a(e){return r.browser.ie&&r.browser.version>=11?function(){var t,n=this.__clipPaths,r=this.style;if(n)for(var a=0;at[1]&&(t[1]=e[1]),l.prototype.setExtent.call(this,t[0],t[1])},getInterval:function(){return this._interval},setInterval:function(e){this._interval=e,this._niceExtent=this._extent.slice(),this._intervalPrecision=o.getIntervalPrecision(e)},getTicks:function(e){var t=this._interval,n=this._extent,r=this._niceExtent,i=this._intervalPrecision,a=[];if(!t)return a;var o=1e4;n[0]o)return[]}var c=a.length?a[a.length-1]:r[1];return n[1]>c&&(e?a.push(s(c+t,i)):a.push(n[1])),a},getMinorTicks:function(e){for(var t=this.getTicks(!0),n=[],i=this.getExtent(),a=1;ai[0]&&h",contains:[e.PHRASAL_WORDS_MODE]}]}),e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"if else elseif end region externalsource"}}]}}},"8a0d":function(e,t){e.exports={}},"8a79":function(e,t,n){"use strict";var r=n("23e7"),i=n("e330"),a=n("06cf").f,o=n("50c4"),s=n("577e"),l=n("5a34"),c=n("1d80"),u=n("ab13"),d=n("c430"),h=i("".endsWith),p=i("".slice),f=Math.min,_=u("endsWith"),m=!d&&!_&&!!function(){var e=a(String.prototype,"endsWith");return e&&!e.writable}();r({target:"String",proto:!0,forced:!m&&!_},{endsWith:function(e){var t=s(c(this));l(e);var n=arguments.length>1?arguments[1]:void 0,r=t.length,i=void 0===n?r:f(o(n),r),a=s(e);return h?h(t,a,i):p(t,i-a.length,i)===a}})},"8a86":function(e,t){e.exports=function(e){return{aliases:["bind","zone"],keywords:{keyword:"IN A AAAA AFSDB APL CAA CDNSKEY CDS CERT CNAME DHCID DLV DNAME DNSKEY DS HIP IPSECKEY KEY KX LOC MX NAPTR NS NSEC NSEC3 NSEC3PARAM PTR RRSIG RP SIG SOA SRV SSHFP TA TKEY TLSA TSIG TXT"},contains:[e.COMMENT(";","$",{relevance:0}),{className:"meta",begin:/^\$(TTL|GENERATE|INCLUDE|ORIGIN)\b/},{className:"number",begin:"((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))\\b"},{className:"number",begin:"((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\b"},e.inherit(e.NUMBER_MODE,{begin:/\b\d+[dhwm]?/})]}}},"8aa5":function(e,t,n){"use strict";var r=n("6547").charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},"8aba":function(e,t){e.exports=function(e){return{keywords:{keyword:"BILL_PERIOD BILL_START BILL_STOP RS_EFFECTIVE_START RS_EFFECTIVE_STOP RS_JURIS_CODE RS_OPCO_CODE INTDADDATTRIBUTE|5 INTDADDVMSG|5 INTDBLOCKOP|5 INTDBLOCKOPNA|5 INTDCLOSE|5 INTDCOUNT|5 INTDCOUNTSTATUSCODE|5 INTDCREATEMASK|5 INTDCREATEDAYMASK|5 INTDCREATEFACTORMASK|5 INTDCREATEHANDLE|5 INTDCREATEOVERRIDEDAYMASK|5 INTDCREATEOVERRIDEMASK|5 INTDCREATESTATUSCODEMASK|5 INTDCREATETOUPERIOD|5 INTDDELETE|5 INTDDIPTEST|5 INTDEXPORT|5 INTDGETERRORCODE|5 INTDGETERRORMESSAGE|5 INTDISEQUAL|5 INTDJOIN|5 INTDLOAD|5 INTDLOADACTUALCUT|5 INTDLOADDATES|5 INTDLOADHIST|5 INTDLOADLIST|5 INTDLOADLISTDATES|5 INTDLOADLISTENERGY|5 INTDLOADLISTHIST|5 INTDLOADRELATEDCHANNEL|5 INTDLOADSP|5 INTDLOADSTAGING|5 INTDLOADUOM|5 INTDLOADUOMDATES|5 INTDLOADUOMHIST|5 INTDLOADVERSION|5 INTDOPEN|5 INTDREADFIRST|5 INTDREADNEXT|5 INTDRECCOUNT|5 INTDRELEASE|5 INTDREPLACE|5 INTDROLLAVG|5 INTDROLLPEAK|5 INTDSCALAROP|5 INTDSCALE|5 INTDSETATTRIBUTE|5 INTDSETDSTPARTICIPANT|5 INTDSETSTRING|5 INTDSETVALUE|5 INTDSETVALUESTATUS|5 INTDSHIFTSTARTTIME|5 INTDSMOOTH|5 INTDSORT|5 INTDSPIKETEST|5 INTDSUBSET|5 INTDTOU|5 INTDTOURELEASE|5 INTDTOUVALUE|5 INTDUPDATESTATS|5 INTDVALUE|5 STDEV INTDDELETEEX|5 INTDLOADEXACTUAL|5 INTDLOADEXCUT|5 INTDLOADEXDATES|5 INTDLOADEX|5 INTDLOADEXRELATEDCHANNEL|5 INTDSAVEEX|5 MVLOAD|5 MVLOADACCT|5 MVLOADACCTDATES|5 MVLOADACCTHIST|5 MVLOADDATES|5 MVLOADHIST|5 MVLOADLIST|5 MVLOADLISTDATES|5 MVLOADLISTHIST|5 IF FOR NEXT DONE SELECT END CALL ABORT CLEAR CHANNEL FACTOR LIST NUMBER OVERRIDE SET WEEK DISTRIBUTIONNODE ELSE WHEN THEN OTHERWISE IENUM CSV INCLUDE LEAVE RIDER SAVE DELETE NOVALUE SECTION WARN SAVE_UPDATE DETERMINANT LABEL REPORT REVENUE EACH IN FROM TOTAL CHARGE BLOCK AND OR CSV_FILE RATE_CODE AUXILIARY_DEMAND UIDACCOUNT RS BILL_PERIOD_SELECT HOURS_PER_MONTH INTD_ERROR_STOP SEASON_SCHEDULE_NAME ACCOUNTFACTOR ARRAYUPPERBOUND CALLSTOREDPROC GETADOCONNECTION GETCONNECT GETDATASOURCE GETQUALIFIER GETUSERID HASVALUE LISTCOUNT LISTOP LISTUPDATE LISTVALUE PRORATEFACTOR RSPRORATE SETBINPATH SETDBMONITOR WQ_OPEN BILLINGHOURS DATE DATEFROMFLOAT DATETIMEFROMSTRING DATETIMETOSTRING DATETOFLOAT DAY DAYDIFF DAYNAME DBDATETIME HOUR MINUTE MONTH MONTHDIFF MONTHHOURS MONTHNAME ROUNDDATE SAMEWEEKDAYLASTYEAR SECOND WEEKDAY WEEKDIFF YEAR YEARDAY YEARSTR COMPSUM HISTCOUNT HISTMAX HISTMIN HISTMINNZ HISTVALUE MAXNRANGE MAXRANGE MINRANGE COMPIKVA COMPKVA COMPKVARFROMKQKW COMPLF IDATTR FLAG LF2KW LF2KWH MAXKW POWERFACTOR READING2USAGE AVGSEASON MAXSEASON MONTHLYMERGE SEASONVALUE SUMSEASON ACCTREADDATES ACCTTABLELOAD CONFIGADD CONFIGGET CREATEOBJECT CREATEREPORT EMAILCLIENT EXPBLKMDMUSAGE EXPMDMUSAGE EXPORT_USAGE FACTORINEFFECT GETUSERSPECIFIEDSTOP INEFFECT ISHOLIDAY RUNRATE SAVE_PROFILE SETREPORTTITLE USEREXIT WATFORRUNRATE TO TABLE ACOS ASIN ATAN ATAN2 BITAND CEIL COS COSECANT COSH COTANGENT DIVQUOT DIVREM EXP FABS FLOOR FMOD FREPM FREXPN LOG LOG10 MAX MAXN MIN MINNZ MODF POW ROUND ROUND2VALUE ROUNDINT SECANT SIN SINH SQROOT TAN TANH FLOAT2STRING FLOAT2STRINGNC INSTR LEFT LEN LTRIM MID RIGHT RTRIM STRING STRINGNC TOLOWER TOUPPER TRIM NUMDAYS READ_DATE STAGING",built_in:"IDENTIFIER OPTIONS XML_ELEMENT XML_OP XML_ELEMENT_OF DOMDOCCREATE DOMDOCLOADFILE DOMDOCLOADXML DOMDOCSAVEFILE DOMDOCGETROOT DOMDOCADDPI DOMNODEGETNAME DOMNODEGETTYPE DOMNODEGETVALUE DOMNODEGETCHILDCT DOMNODEGETFIRSTCHILD DOMNODEGETSIBLING DOMNODECREATECHILDELEMENT DOMNODESETATTRIBUTE DOMNODEGETCHILDELEMENTCT DOMNODEGETFIRSTCHILDELEMENT DOMNODEGETSIBLINGELEMENT DOMNODEGETATTRIBUTECT DOMNODEGETATTRIBUTEI DOMNODEGETATTRIBUTEBYNAME DOMNODEGETBYNAME"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"literal",variants:[{begin:"#\\s+[a-zA-Z\\ \\.]*",relevance:0},{begin:"#[a-zA-Z\\ \\.]+"}]}]}}},"8b1a":function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},"8b7f":function(e,t,n){var r=n("4e08"),i=(r.__DEV__,n("6d8b")),a=i.createHashMap,o=(i.retrieve,i.each);function s(e){this.coordSysName=e,this.coordSysDims=[],this.axisMap=a(),this.categoryAxisMap=a(),this.firstCategoryDimIndex=null}function l(e){var t=e.get("coordinateSystem"),n=new s(t),r=c[t];if(r)return r(e,n,n.axisMap,n.categoryAxisMap),n}var c={cartesian2d:function(e,t,n,r){var i=e.getReferringComponents("xAxis")[0],a=e.getReferringComponents("yAxis")[0];t.coordSysDims=["x","y"],n.set("x",i),n.set("y",a),u(i)&&(r.set("x",i),t.firstCategoryDimIndex=0),u(a)&&(r.set("y",a),t.firstCategoryDimIndex,t.firstCategoryDimIndex=1)},singleAxis:function(e,t,n,r){var i=e.getReferringComponents("singleAxis")[0];t.coordSysDims=["single"],n.set("single",i),u(i)&&(r.set("single",i),t.firstCategoryDimIndex=0)},polar:function(e,t,n,r){var i=e.getReferringComponents("polar")[0],a=i.findAxisModel("radiusAxis"),o=i.findAxisModel("angleAxis");t.coordSysDims=["radius","angle"],n.set("radius",a),n.set("angle",o),u(a)&&(r.set("radius",a),t.firstCategoryDimIndex=0),u(o)&&(r.set("angle",o),null==t.firstCategoryDimIndex&&(t.firstCategoryDimIndex=1))},geo:function(e,t,n,r){t.coordSysDims=["lng","lat"]},parallel:function(e,t,n,r){var i=e.ecModel,a=i.getComponent("parallel",e.get("parallelIndex")),s=t.coordSysDims=a.dimensions.slice();o(a.parallelAxisIndex,(function(e,a){var o=i.getComponent("parallelAxis",e),l=s[a];n.set(l,o),u(o)&&null==t.firstCategoryDimIndex&&(r.set(l,o),t.firstCategoryDimIndex=a)}))}};function u(e){return"category"===e.get("type")}t.getCoordSysInfoBySeries=l},"8c2a":function(e,t,n){var r=n("6d8b"),i=n("e0d8"),a=n("3842"),o=n("89e3"),s=i.prototype,l=o.prototype,c=a.getPrecisionSafe,u=a.round,d=Math.floor,h=Math.ceil,p=Math.pow,f=Math.log,_=i.extend({type:"log",base:10,$constructor:function(){i.apply(this,arguments),this._originalScale=new o},getTicks:function(e){var t=this._originalScale,n=this._extent,i=t.getExtent();return r.map(l.getTicks.call(this,e),(function(e){var r=a.round(p(this.base,e));return r=e===n[0]&&t.__fixMin?m(r,i[0]):r,r=e===n[1]&&t.__fixMax?m(r,i[1]):r,r}),this)},getMinorTicks:l.getMinorTicks,getLabel:l.getLabel,scale:function(e){return e=s.scale.call(this,e),p(this.base,e)},setExtent:function(e,t){var n=this.base;e=f(e)/f(n),t=f(t)/f(n),l.setExtent.call(this,e,t)},getExtent:function(){var e=this.base,t=s.getExtent.call(this);t[0]=p(e,t[0]),t[1]=p(e,t[1]);var n=this._originalScale,r=n.getExtent();return n.__fixMin&&(t[0]=m(t[0],r[0])),n.__fixMax&&(t[1]=m(t[1],r[1])),t},unionExtent:function(e){this._originalScale.unionExtent(e);var t=this.base;e[0]=f(e[0])/f(t),e[1]=f(e[1])/f(t),s.unionExtent.call(this,e)},unionExtentFromData:function(e,t){this.unionExtent(e.getApproximateExtent(t))},niceTicks:function(e){e=e||10;var t=this._extent,n=t[1]-t[0];if(!(n===1/0||n<=0)){var r=a.quantity(n),i=e/n*r;i<=.5&&(r*=10);while(!isNaN(r)&&Math.abs(r)<1&&Math.abs(r)>0)r*=10;var o=[a.round(h(t[0]/r)*r),a.round(d(t[1]/r)*r)];this._interval=r,this._niceExtent=o}},niceExtent:function(e){l.niceExtent.call(this,e);var t=this._originalScale;t.__fixMin=e.fixMin,t.__fixMax=e.fixMax}});function m(e,t){return u(e,c(t))}r.each(["contain","normalize"],(function(e){_.prototype[e]=function(t){return t=f(t)/f(this.base),s[e].call(this,t)}})),_.create=function(){return new _};var g=_;e.exports=g},"8c4f":function(e,t,n){"use strict";function r(e,t){0}function i(e,t){for(var n in t)e[n]=t[n];return e}n.r(t);var a=/[!'()*]/g,o=function(e){return"%"+e.charCodeAt(0).toString(16)},s=/%2C/g,l=function(e){return encodeURIComponent(e).replace(a,o).replace(s,",")};function c(e){try{return decodeURIComponent(e)}catch(t){0}return e}function u(e,t,n){void 0===t&&(t={});var r,i=n||h;try{r=i(e||"")}catch(s){r={}}for(var a in t){var o=t[a];r[a]=Array.isArray(o)?o.map(d):d(o)}return r}var d=function(e){return null==e||"object"===typeof e?e:String(e)};function h(e){var t={};return e=e.trim().replace(/^(\?|#|&)/,""),e?(e.split("&").forEach((function(e){var n=e.replace(/\+/g," ").split("="),r=c(n.shift()),i=n.length>0?c(n.join("=")):null;void 0===t[r]?t[r]=i:Array.isArray(t[r])?t[r].push(i):t[r]=[t[r],i]})),t):t}function p(e){var t=e?Object.keys(e).map((function(t){var n=e[t];if(void 0===n)return"";if(null===n)return l(t);if(Array.isArray(n)){var r=[];return n.forEach((function(e){void 0!==e&&(null===e?r.push(l(t)):r.push(l(t)+"="+l(e)))})),r.join("&")}return l(t)+"="+l(n)})).filter((function(e){return e.length>0})).join("&"):null;return t?"?"+t:""}var f=/\/?$/;function _(e,t,n,r){var i=r&&r.options.stringifyQuery,a=t.query||{};try{a=m(a)}catch(s){}var o={name:t.name||e&&e.name,meta:e&&e.meta||{},path:t.path||"/",hash:t.hash||"",query:a,params:t.params||{},fullPath:y(t,i),matched:e?v(e):[]};return n&&(o.redirectedFrom=y(n,i)),Object.freeze(o)}function m(e){if(Array.isArray(e))return e.map(m);if(e&&"object"===typeof e){var t={};for(var n in e)t[n]=m(e[n]);return t}return e}var g=_(null,{path:"/"});function v(e){var t=[];while(e)t.unshift(e),e=e.parent;return t}function y(e,t){var n=e.path,r=e.query;void 0===r&&(r={});var i=e.hash;void 0===i&&(i="");var a=t||p;return(n||"/")+a(r)+i}function b(e,t){return t===g?e===t:!!t&&(e.path&&t.path?e.path.replace(f,"")===t.path.replace(f,"")&&e.hash===t.hash&&S(e.query,t.query):!(!e.name||!t.name)&&(e.name===t.name&&e.hash===t.hash&&S(e.query,t.query)&&S(e.params,t.params)))}function S(e,t){if(void 0===e&&(e={}),void 0===t&&(t={}),!e||!t)return e===t;var n=Object.keys(e).sort(),r=Object.keys(t).sort();return n.length===r.length&&n.every((function(n,i){var a=e[n],o=r[i];if(o!==n)return!1;var s=t[n];return null==a||null==s?a===s:"object"===typeof a&&"object"===typeof s?S(a,s):String(a)===String(s)}))}function E(e,t){return 0===e.path.replace(f,"/").indexOf(t.path.replace(f,"/"))&&(!t.hash||e.hash===t.hash)&&x(e.query,t.query)}function x(e,t){for(var n in t)if(!(n in e))return!1;return!0}function T(e){for(var t=0;t=0&&(t=e.slice(r),e=e.slice(0,r));var i=e.indexOf("?");return i>=0&&(n=e.slice(i+1),e=e.slice(0,i)),{path:e,query:n,hash:t}}function I(e){return e.replace(/\/\//g,"/")}var N=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)},M=X,D=B,L=U,P=V,k=Q,F=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function B(e,t){var n,r=[],i=0,a=0,o="",s=t&&t.delimiter||"/";while(null!=(n=F.exec(e))){var l=n[0],c=n[1],u=n.index;if(o+=e.slice(a,u),a=u+l.length,c)o+=c[1];else{var d=e[a],h=n[2],p=n[3],f=n[4],_=n[5],m=n[6],g=n[7];o&&(r.push(o),o="");var v=null!=h&&null!=d&&d!==h,y="+"===m||"*"===m,b="?"===m||"*"===m,S=n[2]||s,E=f||_;r.push({name:p||i++,prefix:h||"",delimiter:S,optional:b,repeat:y,partial:v,asterisk:!!g,pattern:E?Y(E):g?".*":"[^"+H(S)+"]+?"})}}return a1||!T.length)return 0===T.length?e():e("span",{},T)}if("a"===this.tag)x.on=S,x.attrs={href:l,"aria-current":v};else{var C=se(this.$slots.default);if(C){C.isStatic=!1;var A=C.data=i({},C.data);for(var w in A.on=A.on||{},A.on){var O=A.on[w];w in S&&(A.on[w]=Array.isArray(O)?O:[O])}for(var R in S)R in A.on?A.on[R].push(S[R]):A.on[R]=y;var I=C.data.attrs=i({},C.data.attrs);I.href=l,I["aria-current"]=v}else x.on=S}return e(this.tag,x,this.$slots.default)}};function oe(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&(void 0===e.button||0===e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){var t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function se(e){if(e)for(var t,n=0;n-1&&(s.params[h]=n.params[h]);return s.path=J(c.path,s.params,'named route "'+l+'"'),u(c,s,o)}if(s.path){s.params={};for(var p=0;p=e.length?n():e[i]?t(e[i],(function(){r(i+1)})):r(i+1)};r(0)}var Ue={redirected:2,aborted:4,cancelled:8,duplicated:16};function Ge(e,t){return Ye(e,t,Ue.redirected,'Redirected when going from "'+e.fullPath+'" to "'+qe(t)+'" via a navigation guard.')}function ze(e,t){var n=Ye(e,t,Ue.duplicated,'Avoided redundant navigation to current location: "'+e.fullPath+'".');return n.name="NavigationDuplicated",n}function Ve(e,t){return Ye(e,t,Ue.cancelled,'Navigation cancelled from "'+e.fullPath+'" to "'+t.fullPath+'" with a new navigation.')}function He(e,t){return Ye(e,t,Ue.aborted,'Navigation aborted from "'+e.fullPath+'" to "'+t.fullPath+'" via a navigation guard.')}function Ye(e,t,n,r){var i=new Error(r);return i._isRouter=!0,i.from=e,i.to=t,i.type=n,i}var We=["params","query","hash"];function qe(e){if("string"===typeof e)return e;if("path"in e)return e.path;var t={};return We.forEach((function(n){n in e&&(t[n]=e[n])})),JSON.stringify(t,null,2)}function je(e){return Object.prototype.toString.call(e).indexOf("Error")>-1}function $e(e,t){return je(e)&&e._isRouter&&(null==t||e.type===t)}function Ke(e){return function(t,n,r){var i=!1,a=0,o=null;Qe(e,(function(e,t,n,s){if("function"===typeof e&&void 0===e.cid){i=!0,a++;var l,c=et((function(t){Je(t)&&(t=t.default),e.resolved="function"===typeof t?t:te.extend(t),n.components[s]=t,a--,a<=0&&r()})),u=et((function(e){var t="Failed to resolve async component "+s+": "+e;o||(o=je(e)?e:new Error(t),r(o))}));try{l=e(c,u)}catch(h){u(h)}if(l)if("function"===typeof l.then)l.then(c,u);else{var d=l.component;d&&"function"===typeof d.then&&d.then(c,u)}}})),i||r()}}function Qe(e,t){return Xe(e.map((function(e){return Object.keys(e.components).map((function(n){return t(e.components[n],e.instances[n],e,n)}))})))}function Xe(e){return Array.prototype.concat.apply([],e)}var Ze="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag;function Je(e){return e.__esModule||Ze&&"Module"===e[Symbol.toStringTag]}function et(e){var t=!1;return function(){var n=[],r=arguments.length;while(r--)n[r]=arguments[r];if(!t)return t=!0,e.apply(this,n)}}var tt=function(e,t){this.router=e,this.base=nt(t),this.current=g,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function nt(e){if(!e)if(ce){var t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^https?:\/\/[^\/]+/,"")}else e="/";return"/"!==e.charAt(0)&&(e="/"+e),e.replace(/\/$/,"")}function rt(e,t){var n,r=Math.max(e.length,t.length);for(n=0;n0)){var t=this.router,n=t.options.scrollBehavior,r=Pe&&n;r&&this.listeners.push(xe());var i=function(){var n=e.current,i=ht(e.base);e.current===g&&i===e._startLocation||e.transitionTo(i,(function(e){r&&Te(t,e,n,!0)}))};window.addEventListener("popstate",i),this.listeners.push((function(){window.removeEventListener("popstate",i)}))}},t.prototype.go=function(e){window.history.go(e)},t.prototype.push=function(e,t,n){var r=this,i=this,a=i.current;this.transitionTo(e,(function(e){ke(I(r.base+e.fullPath)),Te(r.router,e,a,!1),t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var r=this,i=this,a=i.current;this.transitionTo(e,(function(e){Fe(I(r.base+e.fullPath)),Te(r.router,e,a,!1),t&&t(e)}),n)},t.prototype.ensureURL=function(e){if(ht(this.base)!==this.current.fullPath){var t=I(this.base+this.current.fullPath);e?ke(t):Fe(t)}},t.prototype.getCurrentLocation=function(){return ht(this.base)},t}(tt);function ht(e){var t=window.location.pathname;return e&&0===t.toLowerCase().indexOf(e.toLowerCase())&&(t=t.slice(e.length)),(t||"/")+window.location.search+window.location.hash}var pt=function(e){function t(t,n,r){e.call(this,t,n),r&&ft(this.base)||_t()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.setupListeners=function(){var e=this;if(!(this.listeners.length>0)){var t=this.router,n=t.options.scrollBehavior,r=Pe&&n;r&&this.listeners.push(xe());var i=function(){var t=e.current;_t()&&e.transitionTo(mt(),(function(n){r&&Te(e.router,n,t,!0),Pe||yt(n.fullPath)}))},a=Pe?"popstate":"hashchange";window.addEventListener(a,i),this.listeners.push((function(){window.removeEventListener(a,i)}))}},t.prototype.push=function(e,t,n){var r=this,i=this,a=i.current;this.transitionTo(e,(function(e){vt(e.fullPath),Te(r.router,e,a,!1),t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var r=this,i=this,a=i.current;this.transitionTo(e,(function(e){yt(e.fullPath),Te(r.router,e,a,!1),t&&t(e)}),n)},t.prototype.go=function(e){window.history.go(e)},t.prototype.ensureURL=function(e){var t=this.current.fullPath;mt()!==t&&(e?vt(t):yt(t))},t.prototype.getCurrentLocation=function(){return mt()},t}(tt);function ft(e){var t=ht(e);if(!/^\/#/.test(t))return window.location.replace(I(e+"/#"+t)),!0}function _t(){var e=mt();return"/"===e.charAt(0)||(yt("/"+e),!1)}function mt(){var e=window.location.href,t=e.indexOf("#");return t<0?"":(e=e.slice(t+1),e)}function gt(e){var t=window.location.href,n=t.indexOf("#"),r=n>=0?t.slice(0,n):t;return r+"#"+e}function vt(e){Pe?ke(gt(e)):window.location.hash=e}function yt(e){Pe?Fe(gt(e)):window.location.replace(gt(e))}var bt=function(e){function t(t,n){e.call(this,t,n),this.stack=[],this.index=-1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(e,t,n){var r=this;this.transitionTo(e,(function(e){r.stack=r.stack.slice(0,r.index+1).concat(e),r.index++,t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var r=this;this.transitionTo(e,(function(e){r.stack=r.stack.slice(0,r.index).concat(e),t&&t(e)}),n)},t.prototype.go=function(e){var t=this,n=this.index+e;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,(function(){var e=t.current;t.index=n,t.updateRoute(r),t.router.afterHooks.forEach((function(t){t&&t(r,e)}))}),(function(e){$e(e,Ue.duplicated)&&(t.index=n)}))}},t.prototype.getCurrentLocation=function(){var e=this.stack[this.stack.length-1];return e?e.fullPath:"/"},t.prototype.ensureURL=function(){},t}(tt),St=function(e){void 0===e&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=fe(e.routes||[],this);var t=e.mode||"hash";switch(this.fallback="history"===t&&!Pe&&!1!==e.fallback,this.fallback&&(t="hash"),ce||(t="abstract"),this.mode=t,t){case"history":this.history=new dt(this,e.base);break;case"hash":this.history=new pt(this,e.base,this.fallback);break;case"abstract":this.history=new bt(this,e.base);break;default:0}},Et={currentRoute:{configurable:!0}};function xt(e,t){return e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function Tt(e,t,n){var r="hash"===n?"#"+t:t;return e?I(e+"/"+r):r}St.prototype.match=function(e,t,n){return this.matcher.match(e,t,n)},Et.currentRoute.get=function(){return this.history&&this.history.current},St.prototype.init=function(e){var t=this;if(this.apps.push(e),e.$once("hook:destroyed",(function(){var n=t.apps.indexOf(e);n>-1&&t.apps.splice(n,1),t.app===e&&(t.app=t.apps[0]||null),t.app||t.history.teardown()})),!this.app){this.app=e;var n=this.history;if(n instanceof dt||n instanceof pt){var r=function(e){var r=n.current,i=t.options.scrollBehavior,a=Pe&&i;a&&"fullPath"in e&&Te(t,e,r,!1)},i=function(e){n.setupListeners(),r(e)};n.transitionTo(n.getCurrentLocation(),i,i)}n.listen((function(e){t.apps.forEach((function(t){t._route=e}))}))}},St.prototype.beforeEach=function(e){return xt(this.beforeHooks,e)},St.prototype.beforeResolve=function(e){return xt(this.resolveHooks,e)},St.prototype.afterEach=function(e){return xt(this.afterHooks,e)},St.prototype.onReady=function(e,t){this.history.onReady(e,t)},St.prototype.onError=function(e){this.history.onError(e)},St.prototype.push=function(e,t,n){var r=this;if(!t&&!n&&"undefined"!==typeof Promise)return new Promise((function(t,n){r.history.push(e,t,n)}));this.history.push(e,t,n)},St.prototype.replace=function(e,t,n){var r=this;if(!t&&!n&&"undefined"!==typeof Promise)return new Promise((function(t,n){r.history.replace(e,t,n)}));this.history.replace(e,t,n)},St.prototype.go=function(e){this.history.go(e)},St.prototype.back=function(){this.go(-1)},St.prototype.forward=function(){this.go(1)},St.prototype.getMatchedComponents=function(e){var t=e?e.matched?e:this.resolve(e).route:this.currentRoute;return t?[].concat.apply([],t.matched.map((function(e){return Object.keys(e.components).map((function(t){return e.components[t]}))}))):[]},St.prototype.resolve=function(e,t,n){t=t||this.history.current;var r=ee(e,t,n,this),i=this.match(r,t),a=i.redirectedFrom||i.fullPath,o=this.history.base,s=Tt(o,a,this.mode);return{location:r,route:i,href:s,normalizedTo:r,resolved:i}},St.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==g&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(St.prototype,Et),St.install=le,St.version="3.4.9",St.isNavigationFailure=$e,St.NavigationFailureType=Ue,ce&&window.Vue&&window.Vue.use(St),t["default"]=St},"8ca5":function(e,t){e.exports=function(e){var t="('|\\.')+",n={relevance:0,contains:[{begin:t}]};return{keywords:{keyword:"break case catch classdef continue else elseif end enumerated events for function global if methods otherwise parfor persistent properties return spmd switch try while",built_in:"sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i inf nan isnan isinf isfinite j why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun legend intersect ismember procrustes hold num2cell "},illegal:'(//|"|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}]}]},{className:"built_in",begin:/true|false/,relevance:0,starts:n},{begin:"[a-zA-Z][a-zA-Z_0-9]*"+t,relevance:0},{className:"number",begin:e.C_NUMBER_RE,relevance:0,starts:n},{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE,{begin:"''"}]},{begin:/\]|}|\)/,relevance:0,starts:n},{className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE,{begin:'""'}],starts:n},e.COMMENT("^\\s*\\%\\{\\s*$","^\\s*\\%\\}\\s*$"),e.COMMENT("\\%","$")]}}},"8d32":function(e,t,n){var r=n("cbe5"),i=r.extend({type:"arc",shape:{cx:0,cy:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},style:{stroke:"#000",fill:null},buildPath:function(e,t){var n=t.cx,r=t.cy,i=Math.max(t.r,0),a=t.startAngle,o=t.endAngle,s=t.clockwise,l=Math.cos(a),c=Math.sin(a);e.moveTo(l*i+n,c*i+r),e.arc(n,r,i,a,o,!s)}});e.exports=i},"8d4f":function(e,t){e.exports=function(e){var t="[a-z][a-zA-Z0-9_]*",n={className:"string",begin:"\\$.{1}"},r={className:"symbol",begin:"#"+e.UNDERSCORE_IDENT_RE};return{aliases:["st"],keywords:"self super nil true false thisContext",contains:[e.COMMENT('"','"'),e.APOS_STRING_MODE,{className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},{begin:t+":",relevance:0},e.C_NUMBER_MODE,r,n,{begin:"\\|[ ]*"+t+"([ ]+"+t+")*[ ]*\\|",returnBegin:!0,end:/\|/,illegal:/\S/,contains:[{begin:"(\\|[ ]*)?"+t}]},{begin:"\\#\\(",end:"\\)",contains:[e.APOS_STRING_MODE,n,e.C_NUMBER_MODE,r]}]}}},"8d6d":function(e,t){e.exports=function(e){var t={keyword:"abstract alias align asm assert auto body break byte case cast catch class const continue debug default delete deprecated do else enum export extern final finally for foreach foreach_reverse|10 goto if immutable import in inout int interface invariant is lazy macro mixin module new nothrow out override package pragma private protected public pure ref return scope shared static struct super switch synchronized template this throw try typedef typeid typeof union unittest version void volatile while with __FILE__ __LINE__ __gshared|10 __thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__",built_in:"bool cdouble cent cfloat char creal dchar delegate double dstring float function idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar wstring",literal:"false null true"},n="(0|[1-9][\\d_]*)",r="(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)",i="0[bB][01_]+",a="([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)",o="0[xX]"+a,s="([eE][+-]?"+r+")",l="("+r+"(\\.\\d*|"+s+")|\\d+\\."+r+r+"|\\."+n+s+"?)",c="(0[xX]("+a+"\\."+a+"|\\.?"+a+")[pP][+-]?"+r+")",u="("+n+"|"+i+"|"+o+")",d="("+c+"|"+l+")",h="\\\\(['\"\\?\\\\abfnrtv]|u[\\dA-Fa-f]{4}|[0-7]{1,3}|x[\\dA-Fa-f]{2}|U[\\dA-Fa-f]{8})|&[a-zA-Z\\d]{2,};",p={className:"number",begin:"\\b"+u+"(L|u|U|Lu|LU|uL|UL)?",relevance:0},f={className:"number",begin:"\\b("+d+"([fF]|L|i|[fF]i|Li)?|"+u+"(i|[fF]i|Li))",relevance:0},_={className:"string",begin:"'("+h+"|.)",end:"'",illegal:"."},m={begin:h,relevance:0},g={className:"string",begin:'"',contains:[m],end:'"[cwd]?'},v={className:"string",begin:'[rq]"',end:'"[cwd]?',relevance:5},y={className:"string",begin:"`",end:"`[cwd]?"},b={className:"string",begin:'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',relevance:10},S={className:"string",begin:'q"\\{',end:'\\}"'},E={className:"meta",begin:"^#!",end:"$",relevance:5},x={className:"meta",begin:"#(line)",end:"$",relevance:5},T={className:"keyword",begin:"@[a-zA-Z_][a-zA-Z_\\d]*"},C=e.COMMENT("\\/\\+","\\+\\/",{contains:["self"],relevance:10});return{lexemes:e.UNDERSCORE_IDENT_RE,keywords:t,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,C,b,g,v,y,S,f,p,_,E,x,T]}}},"8dcb":function(e,t){e.exports=function(e){var t="[A-Za-z0-9\\._:-]+",n={className:"symbol",begin:"&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;"},r={begin:"\\s",contains:[{className:"meta-keyword",begin:"#?[a-z_][a-z1-9_-]+",illegal:"\\n"}]},i=e.inherit(r,{begin:"\\(",end:"\\)"}),a=e.inherit(e.APOS_STRING_MODE,{className:"meta-string"}),o=e.inherit(e.QUOTE_STRING_MODE,{className:"meta-string"}),s={endsWithParent:!0,illegal:/`]+/}]}]}]};return{aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin:"",relevance:10,contains:[r,o,a,i,{begin:"\\[",end:"\\]",contains:[{className:"meta",begin:"",contains:[r,i,o,a]}]}]},e.COMMENT("\x3c!--","--\x3e",{relevance:10}),{begin:"<\\!\\[CDATA\\[",end:"\\]\\]>",relevance:10},n,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{begin:/<\?(php)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]},{className:"tag",begin:")",end:">",keywords:{name:"style"},contains:[s],starts:{end:"",returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:")",end:">",keywords:{name:"script"},contains:[s],starts:{end:"<\/script>",returnEnd:!0,subLanguage:["actionscript","javascript","handlebars","xml"]}},{className:"tag",begin:"",contains:[{className:"name",begin:/[^\/><\s]+/,relevance:0},s]}]}}},"8deb":function(e,t,n){var r=n("3eba");n("5522"),n("a016"),n("1466");var i=n("98e7"),a=n("7f96"),o=n("870e"),s=n("d3f4"),l=n("7891");r.registerVisual(i("radar")),r.registerVisual(a("radar","circle")),r.registerLayout(o),r.registerProcessor(s("radar")),r.registerPreprocessor(l)},"8df4":function(e,t,n){"use strict";var r=n("7a77");function i(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;this.promise.then((function(e){if(n._listeners){var t,r=n._listeners.length;for(t=0;tn},ie64:function(){return y.ie()&&h},firefox:function(){return v()||r},opera:function(){return v()||i},webkit:function(){return v()||a},safari:function(){return y.webkit()},chrome:function(){return v()||o},windows:function(){return v()||c},osx:function(){return v()||l},linux:function(){return v()||u},iphone:function(){return v()||p},mobile:function(){return v()||p||f||d||m},nativeApp:function(){return v()||_},android:function(){return v()||d},ipad:function(){return v()||f}};e.exports=y},"8ec5":function(e,t,n){var r=n("3eba"),i=n("6d8b"),a=n("2145"),o=r.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){o.superApply(this,"optionUpdated",arguments),i.each(this.option.feature,(function(e,t){var n=a.get(t);n&&i.merge(e,n.defaultOption)}))},defaultOption:{show:!0,z:6,zlevel:0,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}}}),s=o;e.exports=s},"8ed2":function(e,t,n){n("48c7");var r=n("6cb7"),i=r.extend({type:"grid",dependencies:["xAxis","yAxis"],layoutMode:"box",coordinateSystem:null,defaultOption:{show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:60,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"}});e.exports=i},"8ee0":function(e,t,n){n("3f8e");var r=n("697e7"),i=r.registerPainter,a=n("dc20");i("svg",a)},"8f9b":function(e,t,n){!function(t,r){e.exports=r(n("2b0e"))}("undefined"!=typeof self&&self,(function(e){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="./",t(t.s=64)}([function(e,t,n){"use strict";var r=n(45),i=n.n(r),a=n(6),o=n(50),s=n(13),l=n(49),c=n(27);t.a={data:function(){return{unwatchFns:[]}},mounted:function(){var e=this;s.b&&s.b.load().then((function(){e.__contextReady&&e.__contextReady.call(e,e.convertProps())})),this.$amap=this.$amap||this.$parent.$amap,this.$amap?this.register():this.$on(l.a.AMAP_READY_EVENT,(function(t){e.$amap=t,e.register()}))},destroyed:function(){this.unregisterEvents(),this.$amapComponent&&(this.$amapComponent.setMap&&this.$amapComponent.setMap(null),this.$amapComponent.close&&this.$amapComponent.close(),this.$amapComponent.editor&&this.$amapComponent.editor.close(),this.unwatchFns.forEach((function(e){return e()})),this.unwatchFns=[])},methods:{getHandlerFun:function(e){return this.handlers&&this.handlers[e]?this.handlers[e]:this.$amapComponent["set"+i()(e)]||this.$amapComponent.setOptions},convertProps:function(){var e=this,t={};this.$amap&&(t.map=this.$amap);var n=this.$options.propsData,r=void 0===n?{}:n,i=this.propsRedirect;return Object.keys(r).reduce((function(n,a){var o=a,s=e.convertSignalProp(o,r[o]);return void 0===s||(i&&i[a]&&(o=i[o]),t[o]=s),n}),t)},convertSignalProp:function(e,t){var n="",r="";if(this.amapTagName)try{var o=i()(this.amapTagName).replace(/^El/,"");r=(c.default[o]||"").props[e].$type,n=a.a[r]}catch(e){}if(r&&n)return n(t);if(this.converters&&this.converters[e])return this.converters[e].call(this,t);var s=a.a[e];return s?s(t):t},registerEvents:function(){if(this.setEditorEvents&&this.setEditorEvents(),this.$options.propsData){if(this.$options.propsData.events)for(var e in this.events)o.a.addListener(this.$amapComponent,e,this.events[e]);if(this.$options.propsData.onceEvents)for(var t in this.onceEvents)o.a.addListenerOnce(this.$amapComponent,t,this.onceEvents[t])}},unregisterEvents:function(){o.a.clearListeners(this.$amapComponent)},setPropWatchers:function(){var e=this,t=this.propsRedirect,n=this.$options.propsData,r=void 0===n?{}:n;Object.keys(r).forEach((function(n){var r=n;t&&t[n]&&(r=t[n]);var i=e.getHandlerFun(r);if(i||"events"===n){var a=e.$watch(n,(function(t){return"events"===n?(e.unregisterEvents(),void e.registerEvents()):i&&i===e.$amapComponent.setOptions?i.call(e.$amapComponent,(a={},a[r]=e.convertSignalProp(n,t),a)):void i.call(e.$amapComponent,e.convertSignalProp(n,t));var a}));e.unwatchFns.push(a)}}))},registerToManager:function(){var e=this.amapManager||this.$parent.amapManager;e&&void 0!==this.vid&&e.setComponent(this.vid,this.$amapComponent)},initProps:function(){var e=this;["editable","visible"].forEach((function(t){if(void 0!==e[t]){var n=e.getHandlerFun(t);n&&n.call(e.$amapComponent,e.convertSignalProp(t,e[t]))}}))},printReactiveProp:function(){var e=this;Object.keys(this._props).forEach((function(t){e.$amapComponent["set"+i()(t)]&&console.log(t)}))},register:function(){var e=this,t=this.__initComponent&&this.__initComponent(this.convertProps());t&&t.then?t.then((function(t){return e.registerRest(t)})):this.registerRest(t)},registerRest:function(e){!this.$amapComponent&&e&&(this.$amapComponent=e),this.registerEvents(),this.initProps(),this.setPropWatchers(),this.registerToManager(),this.events&&this.events.init&&this.events.init(this.$amapComponent,this.$amap,this.amapManager||this.$parent.amapManager)},$$getInstance:function(){return this.$amapComponent}}}},function(e,t,n){"use strict";function r(e,t,n,r,i,a,o,s){e=e||{};var l=typeof e.default;"object"!==l&&"function"!==l||(e=e.default);var c,u="function"==typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),a&&(u._scopeId=a),o?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},u._ssrRegister=c):i&&(c=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;var d=u.render;u.render=function(e,t){return c.call(t),d(e,t)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,c):[c]}return{exports:e,options:u}}t.a=r},function(e,t,n){var r=n(30)("wks"),i=n(14),a=n(3).Symbol,o="function"==typeof a;(e.exports=function(e){return r[e]||(r[e]=o&&a[e]||(o?a:i)("Symbol."+e))}).store=r},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){e.exports=!n(15)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){"use strict";function r(e){return new AMap.Pixel(e[0],e[1])}function i(e){return new AMap.Size(e[0],e[1])}function a(e){return Array.isArray(e)?e:[e.getX(),e.getY()]}function o(e){return new AMap.LngLat(e[0],e[1])}function s(e){if(e)return Array.isArray(e)?e.slice():[e.getLng(),e.getLat()]}function l(e){return new AMap.Bounds(o(e[0]),o(e[1]))}t.e=r,t.c=a,t.d=o,t.b=s,n.d(t,"a",(function(){return c}));var c={position:o,offset:r,bounds:l,LngLat:o,Pixel:r,Size:i,Bounds:l}},function(e,t,n){var r=n(3),i=n(8),a=n(11),o=n(14)("src"),s=Function.toString,l=(""+s).split("toString");n(16).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var c="function"==typeof n;c&&(a(n,"name")||i(n,"name",t)),e[t]!==n&&(c&&(a(n,o)||i(n,o,e[t]?""+e[t]:l.join(String(t)))),e===r?e[t]=n:s?e[t]?e[t]=n:i(e,t,n):(delete e[t],i(e,t,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[o]||s.call(this)}))},function(e,t,n){var r=n(9),i=n(20);e.exports=n(5)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(10),i=n(31),a=n(33),o=Object.defineProperty;t.f=n(5)?Object.defineProperty:function(e,t,n){if(r(e),t=a(t,!0),r(n),i)try{return o(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(4);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){e.exports={}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return o}));var r=n(97),i=n(19),a=n.n(i),o=null,s=function(e){a.a.prototype.$isServer||o||(o||(o=new r.a(e)),o.load())}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){var n=e.exports={version:"2.5.5"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(71);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(75),i=n(22);e.exports=function(e){return r(i(e))}},function(t,n){t.exports=e},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){"use strict";var r=n(70),i=n(34),a=n(7),o=n(8),s=n(12),l=n(72),c=n(25),u=n(79),d=n(2)("iterator"),h=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,n,f,_,m,g){l(n,t,f);var v,y,b,S=function(e){if(!h&&e in C)return C[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},E=t+" Iterator",x="values"==_,T=!1,C=e.prototype,A=C[d]||C["@@iterator"]||_&&C[_],w=A||S(_),O=_?x?S("entries"):w:void 0,R="Array"==t&&C.entries||A;if(R&&(b=u(R.call(new e)))!==Object.prototype&&b.next&&(c(b,E,!0),r||"function"==typeof b[d]||o(b,d,p)),x&&A&&"values"!==A.name&&(T=!0,w=function(){return A.call(this)}),r&&!g||!h&&!T&&C[d]||o(C,d,w),s[t]=w,s[E]=p,_)if(v={values:x?w:S("values"),keys:m?w:S("keys"),entries:O},g)for(y in v)y in C||a(C,y,v[y]);else i(i.P+i.F*(h||T),t,v);return v}},function(e,t,n){var r=n(30)("keys"),i=n(14);e.exports=function(e){return r[e]||(r[e]=i(e))}},function(e,t,n){var r=n(9).f,i=n(11),a=n(2)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,a)&&r(e,a,{configurable:!0,value:t})}},function(e,t,n){"use strict";var r=n(50);t.a={methods:{setEditorEvents:function(){var e=this;if(this.$amapComponent.editor&&this.events){var t=["addnode","adjust","removenode","end","move"],n={};Object.keys(this.events).forEach((function(r){-1!==t.indexOf(r)&&(n[r]=e.events[r])})),Object.keys(n).forEach((function(t){r.a.addListener(e.$amapComponent.editor,t,n[t])}))}}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(n(65),n(45)),i=n.n(r),a=n(13),o=n(100),s=n(106),l=n(107),c=n(111),u=n(113),d=n(115),h=n(116),p=n(118),f=n(120),_=n(122),m=n(124),g=n(126),v=n(128),y=n(130),b=n(131);n.d(t,"AMapManager",(function(){return y.a})),n.d(t,"initAMapApiLoader",(function(){return a.a})),n.d(t,"createCustomComponent",(function(){return b.a})),n.d(t,"lazyAMapApiLoaderInstance",(function(){return a.b}));var S=[o.a,s.a,l.a,c.a,u.a,d.a,p.a,h.a,f.a,_.a,m.a,g.a,v.a],E={initAMapApiLoader:a.a,AMapManager:y.a,install:function(e){E.installed||(e.config.optionMergeStrategies.deferredReady=e.config.optionMergeStrategies.created,S.map((function(t){e.component(t.name,t),E[i()(t.name).replace(/^El/,"")]=t})))}};"undefined"!=typeof window&&window.Vue&&function e(t){e.installed||E.install(t)}(window.Vue),t.default=E},function(e,t,n){var r=n(29),i=n(2)("toStringTag"),a="Arguments"==r(function(){return arguments}()),o=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=o(t=Object(e),i))?n:a?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(3),i=r["__core-js_shared__"]||(r["__core-js_shared__"]={});e.exports=function(e){return i[e]||(i[e]={})}},function(e,t,n){e.exports=!n(5)&&!n(15)((function(){return 7!=Object.defineProperty(n(32)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(4),i=n(3).document,a=r(i)&&r(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},function(e,t,n){var r=n(4);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var r=n(3),i=n(16),a=n(8),o=n(7),s=n(17),l=function(e,t,n){var c,u,d,h,p=e&l.F,f=e&l.G,_=e&l.S,m=e&l.P,g=e&l.B,v=f?r:_?r[t]||(r[t]={}):(r[t]||{}).prototype,y=f?i:i[t]||(i[t]={}),b=y.prototype||(y.prototype={});for(c in f&&(n=t),n)u=!p&&v&&void 0!==v[c],d=(u?v:n)[c],h=g&&u?s(d,r):m&&"function"==typeof d?s(Function.call,d):d,v&&o(v,c,d,e&l.U),y[c]!=d&&a(y,c,h),m&&b[c]!=d&&(b[c]=d)};r.core=i,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,n){var r=n(10),i=n(73),a=n(38),o=n(24)("IE_PROTO"),s=function(){},l=function(){var e,t=n(32)("iframe"),r=a.length;for(t.style.display="none",n(78).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("