webpackJsonp([4],{10:function(t,e,i){e=t.exports=i(1)(),e.push([t.i,'@charset "UTF-8";.lj-card__header[data-v-633a7004]{padding:5px 10px;background-color:unset;overflow:auto}.lj-card__header .van-cell__title[data-v-633a7004]{font-size:16px}.lj-card__header .van-cell__title .van-cell__label[data-v-633a7004]{margin-top:0}.lj-card__header .van-cell__value[data-v-633a7004]{display:flex;align-items:flex-end;justify-content:center;flex-direction:column}.lj-card__header .van-cell__value .lj-status-badge[data-v-633a7004]{position:relative;padding:0}.lj-card__header .jc-card-label[data-v-633a7004]{display:flex}.lj-card__header .jc-card-label .title[data-v-633a7004]{padding-right:6px;font-size:12px;color:rgba(60,60,67,.3)}.lj-card__header .card-default .card-status[data-v-633a7004]{display:flex;justify-content:flex-end}.lj-card__header .card-default .count-down[data-v-633a7004]{font-size:12px;color:#ff3b30;line-height:18px}.lj-card__header .field[data-v-633a7004]{color:rgba(60,60,67,.3);margin-right:2px}.lj-card__header .field-value[data-v-633a7004]{color:rgba(60,60,67,.6)}.eventmx-tag[data-v-633a7004]{display:flex}.eventmx-tag .eventmx-tag-left[data-v-633a7004]{flex:1}.eventmx-tag .eventmx-tag-left span[data-v-633a7004]{font-size:12px}.eventmx-tag .checkpoint-tag[data-v-633a7004]{background-color:hsla(240,4%,48%,.08);color:#000;margin-left:2px}.eventmx-tag .eventmx-tag-right[data-v-633a7004]{flex-shrink:0}.eventmx-tag .eventmx-tag-right .iconfont[data-v-633a7004]{font-size:12px;padding-right:1px}.eventmx-tag .duty-tag[data-v-633a7004]{background-color:rgba(255,69,58,.05);color:#ff3b30}.eventmx-tag .duty-tag .iconfont[data-v-633a7004]{font-size:12px;padding-right:1px}.eventmx-tag .duty-tag-item[data-v-633a7004]{margin-left:2px;background-color:#fff;border:1px solid rgba(255,69,58,.05);color:#ff3b30}.reason-rel-cell[data-v-633a7004]{margin-bottom:2px}.reason-rel-cell.van-cell[data-v-633a7004]{background-color:hsla(240,4%,48%,.12);padding:4px 8px;border-radius:4px}.reason-rel-cell .iconfont[data-v-633a7004]{font-size:16px;margin-right:4px}.reason-rel-cell .van-cell__label[data-v-633a7004]{margin-top:0}.reason-rel-cell .rel-right[data-v-633a7004]{display:inline-flex;flex-direction:column}.reason-rel-cell .rel-right .rel-right-tag[data-v-633a7004]{display:inline-block;justify-content:flex-end;font-size:12px;color:rgba(60,60,67,.6);line-height:16px}.reason-rel-cell .rel-right .rel-right-tag+.rel-right-tag[data-v-633a7004]{margin-top:3px}.lj-file-show_and_update[data-v-633a7004]{position:relative}.lj-file-show_and_update .add-fj[data-v-633a7004],.lj-file-show_and_update .file-rel-item[data-v-633a7004]{float:left;display:inline-flex;justify-content:center;align-items:center;margin:0 5px;margin-bottom:10px;border-radius:4px;width:-moz-calc(33.33vw - 25px);width:-webkit-calc(33.33vw - 25px);width:calc(33.33vw - 25px);height:-moz-calc(33.33vw - 25px);height:-webkit-calc(33.33vw - 25px);height:calc(33.33vw - 25px);background-color:hsla(240,3%,49%,.16);color:#000;overflow:hidden}.lj-file-show_and_update .add-fj .iconfont[data-v-633a7004]{font-size:36px}.lj-picture_and_video[data-v-633a7004]{position:relative;display:inline-block}.lj-picture_and_video .bottom-nav[data-v-633a7004]{display:inline-block;position:absolute;bottom:0;left:0;right:0;padding:0 2px;background-color:rgba(0,0,0,.4);color:#fff;transition:all .2s ease-in-out;text-align:center}.lj-picture_and_video .bottom-nav .iconfont[data-v-633a7004]{font-size:14px}.lj-picture_and_video .bottom-nav-status[data-v-633a7004]{display:inline-block;position:absolute;bottom:100%;left:0;right:0;background-color:#8e8e93;color:#fff;transition:all .2s ease-in-out;text-align:center}.lj-picture_and_video .bottom-nav-status.show[data-v-633a7004]{bottom:0}.lj-picture_and_video .bottom-nav-status .iconfont[data-v-633a7004]{font-size:14px}.lj-picture_and_video .bottom-nav-status .dl-success[data-v-633a7004]{background-color:#4caf50}.lj-picture_and_video .bottom-nav-status .dl-fail[data-v-633a7004]{background-color:#f44336}.lj-picture_and_video .bottom-nav-text[data-v-633a7004]{font-weight:400;font-size:12px}.lj-picture_and_video .control-bar[data-v-633a7004]{position:absolute;right:2px;top:2px;display:flex}.lj-picture_and_video .control-bar .van-tag[data-v-633a7004]{margin-left:2px}.lj-picture_and_video .control-bar.center[data-v-633a7004]{top:50%;right:unset;left:50%;transform:translate(-50%,-50%)}.lj-picture_and_video .control-bar.center .van-tag[data-v-633a7004]{margin-left:0}.lj-picture_and_video .control-bar .tag-item[data-v-633a7004]{margin-left:2px;display:flex;align-items:center;justify-content:center;padding:2px 6px;background-color:rgba(0,0,0,.4);color:#fff;transition:all .2s ease-in-out;text-align:center;min-height:18px}.lj-picture_and_video .control-bar .tag-item .iconfont[data-v-633a7004]{font-size:16px}.lj-picture_and_video .control-bar .tag-item.del-item[data-v-633a7004]{background-color:#ff3b30}.lj-picture_and_video .control-bar .tag-item.download-item[data-v-633a7004]{background-color:#219653}.lj-picture_and_video .control-bar .tag-item.error-item[data-v-633a7004]{background-color:#ff3b30;opacity:.6}.lj-picture_and_video .control-bar .tag-item.text-btn[data-v-633a7004]{color:#2196f3}.lj-picture_and_video .control-bar .tag-item.loading[data-v-633a7004]{background-color:transparent}.file-rel[data-v-633a7004]{position:relative;margin:0 -5px}.file-rel .file-rel-item[data-v-633a7004]{display:inline-block;margin:0 5px;margin-bottom:5px;border-radius:4px;overflow:hidden;width:-moz-calc(33.33vw - 32px);width:-webkit-calc(33.33vw - 32px);width:calc(33.33vw - 32px);height:-moz-calc(33.33vw - 32px);height:-webkit-calc(33.33vw - 32px);height:calc(33.33vw - 32px)}.fj-box[data-v-633a7004]{position:relative}.fj-box .add-fj[data-v-633a7004],.fj-box .file-rel-item[data-v-633a7004]{float:left;display:inline-flex;justify-content:center;align-items:center;margin:0 5px;margin-bottom:10px;border-radius:4px;width:-moz-calc(33.33vw - 34px);width:-webkit-calc(33.33vw - 34px);width:calc(33.33vw - 34px);height:-moz-calc(33.33vw - 34px);height:-webkit-calc(33.33vw - 34px);height:calc(33.33vw - 34px);background-color:hsla(240,3%,49%,.16);color:#000;overflow:hidden}.fj-box .add-fj .iconfont[data-v-633a7004]{font-size:36px}body[data-v-633a7004]{font-family:\\\\5FAE\\8F6F\\96C5\\9ED1;-webkit-overflow-scrolling:touch}.lj-background-color-primary[data-v-633a7004]{background-color:#fc4e2c}.lj-card-item[data-v-633a7004]{background-color:#fff;margin-bottom:8px;padding:5px}.lj-card-summary[data-v-633a7004]{padding:5px;background-color:#f5f4f4;border-radius:10px;margin-bottom:5px}.lj-card-summary-heavy-text[data-v-633a7004]{color:#000}.lj-card-summary-light-text[data-v-633a7004]{color:#888}.lj-card-summary-icon[data-v-633a7004]{font-size:16px!important;vertical-align:-2px}.lj-card-tag[data-v-633a7004]{background-color:#f5f4f4;border-radius:5px;width:fit-content;width:-webkit-fit-content;width:-moz-fit-content;padding:0 10px;margin-right:5px}.lj-card-tag-text[data-v-633a7004]{font-size:12px}.lj-card-detail-button[data-v-633a7004]{position:absolute;right:20px}.lj-card-primary-title[data-v-633a7004]{font-size:20px;font-weight:700}.lj-card-secondary-title[data-v-633a7004]{font-size:14px;font-weight:700;text-align:right}.lj-card-secondary-content[data-v-633a7004]{font-size:14px}.lj-card-tertiary-title[data-v-633a7004]{font-size:14px;font-weight:700;text-align:right}.lj-card-tertiary-content[data-v-633a7004]{font-size:14px}.lj-card-quaternary-title[data-v-633a7004]{font-size:12px;font-weight:700;text-align:right}.lj-card-quaternary-content[data-v-633a7004]{font-size:12px}.lj-sharp-red-text[data-v-633a7004]{color:#f44336}.lj-detail-status-header[data-v-633a7004]{height:80px;padding:10px;color:#fff}.lj-detail-content[data-v-633a7004]{margin-top:-30px}.lj-detail-content-top[data-v-633a7004]{border-top-left-radius:20px;border-top-right-radius:20px}.lj-detail-are-title[data-v-633a7004]{font-size:17px}.lj-detail-are-title-two[data-v-633a7004],.lj-detail-are-title[data-v-633a7004]{font-weight:700;text-align:center;margin-left:20px;margin-right:20px;margin-top:-5px;height:42px;line-height:43px;border-bottom:1px solid #f0f0f0}.lj-detail-mx-list-content[data-v-633a7004]{padding:10px 0}.lj-detail-mx-item[data-v-633a7004]{line-height:30px}.lj-oa-detail-status-header[data-v-633a7004]{font-size:16px;font-weight:700;align-items:center;height:35px;padding:5px 20px;color:#fff}.lj-bottom-sheet[data-v-633a7004]{border-top-left-radius:15px;border-top-right-radius:15px;padding:10px 20px 0}.lj-bottom-sheet-button[data-v-633a7004]{color:#fff;font-size:16px;text-align:center;padding:8px 0;margin:0 -20px;background-color:#fc4e2c}.lj-textarea-border[data-v-633a7004]{width:100%;font-size:15px;margin:10px 0}.lj-status-alert[data-v-633a7004]{background-color:#fc4e2c}.lj-status-alert-sec[data-v-633a7004]{background-color:#fd8e78}.lj-status-alert-thr[data-v-633a7004]{background-color:#ffdbd4}.lj-status-warn[data-v-633a7004]{background-color:#fdd835}.lj-status-normal[data-v-633a7004]{background-color:#8dc026}.lj-status-normal-sec[data-v-633a7004]{background-color:#bbe26e}.lj-status-normal-thr[data-v-633a7004]{background-color:#e3f8b8}.lj-status-pass[data-v-633a7004]{background-color:#46a4da}.lj-status-pass-sec[data-v-633a7004]{background-color:#90cef1}.lj-status-pass-thr[data-v-633a7004]{background-color:#d1edfd}.lj-status-text[data-v-633a7004]{color:#fff;font-size:12px;font-weight:700}.vux-number-input[data-v-633a7004],.vux-number-selector[data-v-633a7004]{box-sizing:content-box}body[data-v-633a7004]{margin:0;font-family:微软雅黑}.icon[data-v-633a7004]{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.iconfont[data-v-633a7004]{font-size:24px}.flex[data-v-633a7004]{display:flex}.flex-column[data-v-633a7004]{display:flex;flex-direction:column}.flex-1[data-v-633a7004]{flex:1}.flex_shrink-0[data-v-633a7004]{flex-shrink:0}.lj-divider[data-v-633a7004]{background-color:#eee;height:1px}.lj-summary-area[data-v-633a7004]{background-color:#f5f4f4;margin:5px;border-radius:10px}.lj-color-orange[data-v-633a7004]{color:#ffa726}.lj-color-green[data-v-633a7004]{color:#66bb6a}.lj-color-blue[data-v-633a7004]{color:#29b6f6}.lj-color-pink[data-v-633a7004]{color:#ef5350}.lj-color-red[data-v-633a7004]{color:red}.lj-group[data-v-633a7004]{margin-bottom:12px;background-color:#fff}.lj-group-title[data-v-633a7004]{background-color:#90a4ae;padding-left:10px}.lj-cell[data-v-633a7004]{padding-left:10px;padding-right:10px}.lj-group-sub-font[data-v-633a7004]{font-weight:700;font-size:14px}.lj-home-module[data-v-633a7004]{margin:8px 5px 10px;padding-bottom:10px;border-radius:10px;overflow:hidden;background-color:#fff}.lj-home-module-title[data-v-633a7004]{position:relative;background-color:#f5f5f5;color:#8b8b8b;font-weight:700;font-size:17px;padding:8px 20px}.lj-home-module-title .tips[data-v-633a7004]{position:absolute;right:10px;top:50%;transform:translateY(-50%);color:#999;font-size:14px;font-weight:400}.lj-home-module-title .tips .iconfont[data-v-633a7004]{color:#999;font-size:14px}.lj-home-module-title .iconfont[data-v-633a7004]{font-weight:400!important}.lj-home-module-title .hide-eye[data-v-633a7004]{padding-left:8px}.lj-home-module-content-label[data-v-633a7004]{padding-top:5px;font-size:13px;color:#999}.lj-home-module-data-margin[data-v-633a7004]{margin-left:20px;margin-top:10px}.lj-home-module-content-value[data-v-633a7004]{font-size:25px;font-weight:700;color:#ff801a}.lj-input-center[data-v-633a7004]{text-align:center;width:100%}.lj-muse-data-table td[data-v-633a7004]{padding:0}.lj-muse-data-table th[data-v-633a7004]{background-color:#d3d3d3;padding:0;font-size:14px;height:20px;line-height:1;font-weight:700}.lj-muse-data-table .mu-checkbox-col[data-v-633a7004]{text-align:center}.lj-input-box[data-v-633a7004]{border:1px solid #000;border-radius:5px}.lj-topDate[data-v-633a7004]{background-color:#9cf;padding:5px;border-radius:5px}.lj-taskinfo-title[data-v-633a7004]{font-weight:700;width:80px;text-align:right;display:inline-block}.lj-taskinfo-content[data-v-633a7004]{color:#333}.lj-peizhi-justify[data-v-633a7004]{display:block;float:left;width:70%;text-align:justify}.text-ellipsis-one[data-v-633a7004]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.text-ellipsis-one_2[data-v-633a7004]{-webkit-line-clamp:1;line-clamp:1}.text-ellipsis-one_2[data-v-633a7004],.text-ellipsis-two[data-v-633a7004]{text-overflow:-o-ellipsis-lastline;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical}.text-ellipsis-two[data-v-633a7004]{-webkit-line-clamp:2;line-clamp:2}.shadow[data-v-633a7004]{box-shadow:0 4px 4px 0 rgba(0,0,0,.04),0 0 6px 0 rgba(0,0,0,.12)}.mu-elevation-4[data-v-633a7004]{box-shadow:0 2px 5px 0 rgba(0,0,0,.04),0 0 3px 0 rgba(0,0,0,.08)}.mu-elevation-3[data-v-633a7004]{box-shadow:0 2px 5px 0 rgba(0,0,0,.06),0 0 3px 0 rgba(0,0,0,.1)}.clearfix[data-v-633a7004]:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0}.lj-icon[data-v-633a7004]{position:relative;width:16px;height:16px;text-align:center;line-height:16px;border-radius:4px;border:1px solid rgba(60,60,67,.3);transition:all .2s ease-in-out}.lj-icon.single[data-v-633a7004]{border-radius:50%}.lj-icon.checked[data-v-633a7004]{border-color:#2196f3;background-color:#2196f3}.lj-icon .iconfont[data-v-633a7004]{margin-right:0!important;font-size:12px!important;color:#fff}.lj-status-red[data-v-633a7004]{background-color:#ff3b30}.lj-status-orange[data-v-633a7004]{background-color:#ff9500}.lj-status-yellow[data-v-633a7004]{background-color:#fc0}.lj-status-indigo[data-v-633a7004]{background-color:#5856d6}.lj-status-green1[data-v-633a7004]{background-color:#219653}.lj-status-green2[data-v-633a7004]{background-color:#34c759}.lj-status-green3[data-v-633a7004]{background-color:#6fcf97}.lj-status-teal[data-v-633a7004]{background-color:#5ac8fa}.lj-status-blue[data-v-633a7004]{background-color:#007aff}.lj-status-pink[data-v-633a7004]{background-color:#ff2d55}.lj-status-gray1[data-v-633a7004]{background-color:#8e8e93}.lj-linear-status-blue[data-v-633a7004]{background:linear-gradient(138.09deg,#1890ff 19.93%,#0052d4 77.42%)}.lj-linear-status-red[data-v-633a7004]{background:linear-gradient(138.09deg,#ff3b30 19.93%,#da0000 77.42%)}.lj-linear-status-indigo[data-v-633a7004]{background:linear-gradient(138.09deg,#8886ff 19.93%,#5856d6 77.42%)}.event-icon-status[data-v-633a7004]{border-radius:50%;width:24px;height:24px;border:2px solid #fff;box-shadow:0 2px 4px rgba(0,0,0,.1),inset 1px 1px 2px rgba(0,0,0,.05);text-align:center}.event-icon-status.status-plus[data-v-633a7004]{background-color:#ffde3b}.event-icon-status.status-send[data-v-633a7004]{background-color:#ffd599}.event-icon-status.status-check[data-v-633a7004]{background-color:#7ac098}.event-icon-status.status-audit[data-v-633a7004]{background-color:#66b5ff}.event-icon-status.status-stop[data-v-633a7004]{background-color:#bdbdbd}.event-icon-status.status-chat[data-v-633a7004]{background-color:#a9e2c1}.event-icon-status.status-danger[data-v-633a7004]{background-color:#bebef5}.event-icon-status.status-close[data-v-633a7004]{background-color:#ffb1ac}.event-icon-status .iconfont[data-v-633a7004]{margin:auto;font-size:14px;color:#fff}@-webkit-keyframes long-press{0%{transform:scale(1)}10%{transform:scale(1.3)}20%{transform:scale(.9)}35%{transform:scale(1)}}@keyframes long-press{0%{transform:scale(1)}10%{transform:scale(1.3)}20%{transform:scale(.9)}35%{transform:scale(1)}}@-webkit-keyframes ball-scale-multiple{0%{-webkit-transform:scale(0);transform:scale(0);opacity:0}5%{opacity:1}to{-webkit-transform:scale(1);transform:scale(1);opacity:0}}@keyframes ball-scale-multiple{0%{-webkit-transform:scale(0);transform:scale(0);opacity:0}5%{opacity:1}to{-webkit-transform:scale(1);transform:scale(1);opacity:0}}.version-confirm[data-v-633a7004]{position:relative;display:flex;justify-content:center;align-items:center;flex:1}.version-confirm .check-btn[data-v-633a7004]{flex:1}.version-confirm .progress-btn[data-v-633a7004]{position:absolute;left:0;right:0;top:0;bottom:0;margin:auto;height:44px}.version-confirm .confirm-btn[data-v-633a7004]{flex:1;transition:all .2s ease-in-out;transform-origin:100% 50%;height:44px}.version-confirm .confirm-btn .van-progress__pivot[data-v-633a7004],.version-confirm .confirm-btn .van-progress__portion[data-v-633a7004]{transition:all .2s ease-in-out}.version-confirm .btn+.btn[data-v-633a7004]{margin-left:10px}.version-confirm.hasdownload .confirm-btn[data-v-633a7004]{margin-left:0;width:100%}.version-confirm.hasdownload .close-btn[data-v-633a7004]{margin-right:0;width:0;opacity:0}.van-cell-group--inset[data-v-633a7004]{margin:0 5px}.van-cell-group--inset .van-cell-group__title--inset[data-v-633a7004]{padding:16px 16px 8px}.lj-van-cell-group+.lj-van-cell-group[data-v-633a7004]{margin-top:16px}.header[data-v-633a7004]{width:100%;position:fixed;top:0;background-color:#fff;z-index:999}.content[data-v-633a7004]{width:100%;margin:0 auto}.background-color[data-v-633a7004]{background-color:#eee}.drawer-content[data-v-633a7004]{padding:2rem}.footer[data-v-633a7004]{position:fixed;bottom:0;width:100%;z-index:99}.header-sub[data-v-633a7004]{position:fixed;width:100%;height:auto;background:#fff;z-index:100}',""])},1e3:function(t,e,i){"use strict";i.d(e,"a",function(){return n}),i.d(e,"b",function(){return r});var n={type:"selectDataRange",event:"dataRangeSelected",update:"update"},r=function(t,e){e.eachComponent({mainType:"visualMap",query:t},function(e){e.setSelected(t.selected)})}},1001:function(t,e,i){"use strict";i.d(e,"a",function(){return n});var n={value:1,category:1,time:1,log:1}},1002:function(t,e,i){"use strict";function n(t){return"category"===t.type?a(t):l(t)}function r(t,e){return"category"===t.type?s(t,e):{ticks:y.p(t.scale.getTicks(),function(t){return t.value})}}function a(t){var e=t.getLabelModel(),i=o(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:i.labelCategoryInterval}:i}function o(t,e){var n=u(t,"labels"),r=i.i(_.b)(e),a=c(n,r);if(a)return a;var o,s;return y.a(r)?o=v(t,r):(s="auto"===r?d(t):r,o=g(t,s)),h(n,r,{labels:o,labelCategoryInterval:s})}function s(t,e){var n=u(t,"ticks"),r=i.i(_.b)(e),a=c(n,r);if(a)return a;var s,l;if(e.get("show")&&!t.scale.isBlank()||(s=[]),y.a(r))s=v(t,r,!0);else if("auto"===r){var d=o(t,t.getLabelModel());l=d.labelCategoryInterval,s=y.p(d.labels,function(t){return t.tickValue})}else l=r,s=g(t,l,!0);return h(n,r,{ticks:s,tickCategoryInterval:l})}function l(t){var e=t.scale.getTicks(),n=i.i(_.c)(t);return{labels:y.p(e,function(e,i){return{level:e.level,formattedLabel:n(e,i),rawLabel:t.scale.getLabel(e),tickValue:e.value}})}}function u(t,e){return b(t)[e]||(b(t)[e]=[])}function c(t,e){for(var i=0;i40&&(l=Math.max(1,Math.floor(s/40)));for(var u=o[0],c=t.dataToCoord(u+1)-t.dataToCoord(u),h=Math.abs(c*Math.cos(r)),d=Math.abs(c*Math.sin(r)),p=0,g=0;u<=o[1];u+=l){var v=0,y=0,x=m.g(n({value:u}),e.font,"center","top");v=1.3*x.width,y=1.3*x.height,p=Math.max(p,v,7),g=Math.max(g,y,7)}var w=p/h,S=g/d;isNaN(w)&&(w=1/0),isNaN(S)&&(S=1/0);var M=Math.max(0,Math.floor(Math.min(w,S))),I=b(t.model),T=t.getExtent(),C=I.lastAutoInterval,k=I.lastTickCount;return null!=C&&null!=k&&Math.abs(C-M)<=1&&Math.abs(k-s)<=1&&C>M&&I.axisExtent0===T[0]&&I.axisExtent1===T[1]?M=C:(I.lastTickCount=s,I.lastAutoInterval=M,I.axisExtent0=T[0],I.axisExtent1=T[1]),M}function f(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}function g(t,e,n){function r(t){var e={value:t};u.push(n?t:{formattedLabel:a(e),rawLabel:o.getLabel(e),tickValue:t})}var a=i.i(_.c)(t),o=t.scale,s=o.getExtent(),l=t.getLabelModel(),u=[],c=Math.max((e||0)+1,1),h=s[0],d=o.count();0!==h&&c>1&&d/c>2&&(h=Math.round(Math.ceil(h/c)*c));var p=i.i(_.d)(t),f=l.get("showMinLabel")||p,g=l.get("showMaxLabel")||p;f&&h!==s[0]&&r(s[0]);for(var v=h;v<=s[1];v+=c)r(v);return g&&v-c!==s[1]&&r(s[1]),u}function v(t,e,n){var r=t.scale,a=i.i(_.c)(t),o=[];return y.d(r.getTicks(),function(t){var i=r.getLabel(t),s=t.value;e(t.value,i)&&o.push(n?s:{formattedLabel:a(t),rawLabel:i,tickValue:s})}),o}e.b=n,e.a=r,e.c=p;var y=i(3),m=i(145),x=i(13),_=i(194),b=i.i(x.a)()},1003:function(t,e,i){"use strict";function n(t){var e=t.calendarModel,i=t.seriesModel;return e?e.coordinateSystem:i?i.coordinateSystem:null}var r=i(3),a=i(69),o=i(22),s=function(){function t(e,i,n){this.type="calendar",this.dimensions=t.dimensions,this.getDimensionsInfo=t.getDimensionsInfo,this._model=e}return t.getDimensionsInfo=function(){return[{name:"time",type:"time"},"value"]},t.prototype.getRangeInfo=function(){return this._rangeInfo},t.prototype.getModel=function(){return this._model},t.prototype.getRect=function(){return this._rect},t.prototype.getCellWidth=function(){return this._sw},t.prototype.getCellHeight=function(){return this._sh},t.prototype.getOrient=function(){return this._orient},t.prototype.getFirstDayOfWeek=function(){return this._firstDayOfWeek},t.prototype.getDateInfo=function(t){t=o.f(t);var e=t.getFullYear(),i=t.getMonth()+1,n=i<10?"0"+i:""+i,r=t.getDate(),a=r<10?"0"+r:""+r,s=t.getDay();return s=Math.abs((s+7-this.getFirstDayOfWeek())%7),{y:e+"",m:n,d:a,day:s,time:t.getTime(),formatedDate:e+"-"+n+"-"+a,date:t}},t.prototype.getNextNDay=function(t,e){return 0===(e=e||0)?this.getDateInfo(t):(t=new Date(this.getDateInfo(t).time),t.setDate(t.getDate()+e),this.getDateInfo(t))},t.prototype.update=function(t,e){function i(t,e){return null!=t[e]&&"auto"!==t[e]}this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var n=this._rangeInfo.weeks||1,o=["width","height"],s=this._model.getCellSize().slice(),l=this._model.getBoxLayoutParams(),u="horizontal"===this._orient?[n,7]:[7,n];r.d([0,1],function(t){i(s,t)&&(l[o[t]]=s[t]*u[t])});var c={width:e.getWidth(),height:e.getHeight()},h=this._rect=a.f(l,c);r.d([0,1],function(t){i(s,t)||(s[t]=h[o[t]]/u[t])}),this._sw=s[0],this._sh=s[1]},t.prototype.dataToPoint=function(t,e){r.j(t)&&(t=t[0]),null==e&&(e=!0);var i=this.getDateInfo(t),n=this._rangeInfo,a=i.formatedDate;if(e&&!(i.time>=n.start.time&&i.times.end.time&&t.reverse(),t},t.prototype._getRangeInfo=function(t){var e,i=[this.getDateInfo(t[0]),this.getDateInfo(t[1])];i[0].time>i[1].time&&(e=!0,i.reverse());var n=Math.floor(i[1].time/864e5)-Math.floor(i[0].time/864e5)+1,r=new Date(i[0].time),a=r.getDate(),o=i[1].date.getDate();r.setDate(a+n-1);var s=r.getDate();if(s!==o)for(var l=r.getTime()-i[1].time>0?1:-1;(s=r.getDate())!==o&&(r.getTime()-i[1].time)*l>0;)n-=l,r.setDate(s-l);var u=Math.floor((n+i[0].day+6)/7),c=e?1-u:u-1;return e&&i.reverse(),{range:[i[0].formatedDate,i[1].formatedDate],start:i[0],end:i[1],allDay:n,weeks:u,nthWeek:c,fweek:i[0].day,lweek:i[1].day}},t.prototype._getDateByWeeksAndDay=function(t,e,i){var n=this._getRangeInfo(i);if(t>n.weeks||0===t&&en.lweek)return null;var r=7*(t-1)-n.fweek+e,a=new Date(n.start.time);return a.setDate(+n.start.d+r),this.getDateInfo(a)},t.create=function(e,i){var n=[];return e.eachComponent("calendar",function(r){var a=new t(r,e,i);n.push(a),r.coordinateSystem=a}),e.eachSeries(function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=n[t.get("calendarIndex")||0])}),n},t.dimensions=["time","value"],t}();e.a=s},1004:function(t,e,i){"use strict";function n(t,e){var n,r=t.cellSize;n=a.j(r)?r:t.cellSize=[r,r],1===n.length&&(n[1]=n[0]);var o=a.p([0,1],function(t){return i.i(s.i)(e,t)&&(n[t]="auto"),null!=n[t]&&"auto"!==n[t]});i.i(s.c)(t,e,{type:"box",ignoreSize:o})}var r=i(6),a=i(3),o=i(73),s=i(69),l=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i.i(r.a)(e,t),e.prototype.init=function(e,r,a){var o=i.i(s.b)(e);t.prototype.init.apply(this,arguments),n(e,o)},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),n(this.option,e)},e.prototype.getCellSize=function(){return this.option.cellSize},e.type="calendar",e.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},e}(o.a);e.a=l},1005:function(t,e,i){"use strict";function n(t){var e=t.getRect(),i=t.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:i.start,end:i.end,weeks:i.weeks,dayCount:i.allDay}},api:{coord:function(e,i){return t.dataToPoint(e,i)}}}}e.a=n},1006:function(t,e,i){"use strict";var n=i(6),r=i(288),a=function(t){function e(e,i,n,r,a){var o=t.call(this,e,i,n)||this;return o.index=0,o.type=r||"value",o.position=a||"bottom",o}return i.i(n.a)(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.getGlobalExtent=function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},e.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},e.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e}(r.a);e.a=a},1007:function(t,e,i){"use strict";i.d(e,"a",function(){return l});var n=i(6),r=i(3),a=i(73),o=i(477),s=i(13),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.i(n.a)(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",s.i).models[0]},e.type="cartesian2dAxis",e}(a.a);r.y(l,o.a)},1008:function(t,e,i){"use strict";var n=i(3),r=function(){function t(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return t.prototype.getAxis=function(t){return this._axes[t]},t.prototype.getAxes=function(){return n.p(this._dimList,function(t){return this._axes[t]},this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),n.c(this.getAxes(),function(e){return e.scale.type===t})},t.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},t}();e.a=r},1009:function(t,e,i){"use strict";function n(t){return"interval"===t.type||"time"===t.type}i.d(e,"a",function(){return u});var r=i(6),a=i(74),o=i(1008),s=i(139),l=i(75),u=["x","y"],c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=u,e}return i.i(r.a)(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(n(t)&&n(e)){var r=t.getExtent(),a=e.getExtent(),o=this.dataToPoint([r[0],a[0]]),l=this.dataToPoint([r[1],a[1]]),u=r[1]-r[0],c=a[1]-a[0];if(u&&c){var h=(l[0]-o[0])/u,d=(l[1]-o[1])/c,p=o[0]-r[0]*h,f=o[1]-a[0]*d,g=this._transform=[h,0,0,d,p,f];this._invTransform=i.i(s.g)([],g)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(t){var e=this.getAxis("x"),i=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&i.contain(i.toLocalCoord(t[1]))},e.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},e.prototype.dataToPoint=function(t,e,n){n=n||[];var r=t[0],a=t[1];if(this._transform&&null!=r&&isFinite(r)&&null!=a&&isFinite(a))return i.i(l.e)(n,t,this._transform);var o=this.getAxis("x"),s=this.getAxis("y");return n[0]=o.toGlobalCoord(o.dataToCoord(r,e)),n[1]=s.toGlobalCoord(s.dataToCoord(a,e)),n},e.prototype.clampData=function(t,e){var i=this.getAxis("x").scale,n=this.getAxis("y").scale,r=i.getExtent(),a=n.getExtent(),o=i.parse(t[0]),s=n.parse(t[1]);return e=e||[],e[0]=Math.min(Math.max(Math.min(r[0],r[1]),o),Math.max(r[0],r[1])),e[1]=Math.min(Math.max(Math.min(a[0],a[1]),s),Math.max(a[0],a[1])),e},e.prototype.pointToData=function(t,e){var n=[];if(this._invTransform)return i.i(l.e)(n,t,this._invTransform);var r=this.getAxis("x"),a=this.getAxis("y");return n[0]=r.coordToData(r.toLocalCoord(t[0]),e),n[1]=a.coordToData(a.toLocalCoord(t[1]),e),n},e.prototype.getOtherAxis=function(t){return this.getAxis("x"===t.dim?"y":"x")},e.prototype.getArea=function(){var t=this.getAxis("x").getGlobalExtent(),e=this.getAxis("y").getGlobalExtent(),i=Math.min(t[0],t[1]),n=Math.min(e[0],e[1]),r=Math.max(t[0],t[1])-i,o=Math.max(e[0],e[1])-n;return new a.a(i,n,r,o)},e}(o.a);e.b=c},1010:function(t,e,i){"use strict";function n(t,e){return t.getCoordSysModel()===e}function r(t,e,i,n){function r(t){return t.dim+"_"+t.index}i.getAxesOnZeroOf=function(){return o?[o]:[]};var o,s=t[e],l=i.model,u=l.get(["axisLine","onZero"]),c=l.get(["axisLine","onZeroAxisIndex"]);if(u){if(null!=c)a(s[c])&&(o=s[c]);else for(var h in s)if(s.hasOwnProperty(h)&&a(s[h])&&!n[r(s[h])]){o=s[h];break}o&&(n[r(o)]=!0)}}function a(t){return t&&"category"!==t.type&&"time"!==t.type&&i.i(u.k)(t)}function o(t,e){var i=t.getExtent(),n=i[0]+i[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return n-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return n-t+e}}var s=i(3),l=i(69),u=i(194),c=i(1009),h=i(1006),d=i(13),p=i(608),f=i(324),g=i(688),v=function(){function t(t,e,i){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=c.a,this._initCartesian(t,e,i),this.model=t}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(t,e){function n(t){var e,n=i.i(s.b)(t),r=n.length;if(r){for(var a=[],o=r-1;o>=0;o--){var l=+n[o],c=t[l],h=c.model,d=c.scale;i.i(f.g)(d)&&h.get("alignTicks")&&null==h.get("interval")?a.push(c):(i.i(u.g)(d,h),i.i(f.g)(d)&&(e=c))}a.length&&(e||(e=a.pop(),i.i(u.g)(e.scale,e.model)),i.i(s.d)(a,function(t){i.i(g.a)(t.scale,t.model,e.scale)}))}}var a=this._axesMap;this._updateScale(t,this.model),n(a.x),n(a.y);var o={};i.i(s.d)(a.x,function(t){r(a,"y",t,o)}),i.i(s.d)(a.y,function(t){r(a,"x",t,o)}),this.resize(this.model,e)},t.prototype.resize=function(t,e,n){function r(){i.i(s.d)(d,function(t){var e=t.isHorizontal(),i=e?[0,h.width]:[0,h.height],n=t.inverse?1:0;t.setExtent(i[n],i[1-n]),o(t,e?h.x:h.y)})}var a=t.getBoxLayoutParams(),c=!n&&t.get("containLabel"),h=i.i(l.f)(a,{width:e.getWidth(),height:e.getHeight()});this._rect=h;var d=this._axesList;r(),c&&(i.i(s.d)(d,function(t){if(!t.model.get(["axisLabel","inside"])){var e=i.i(u.j)(t);if(e){var n=t.isHorizontal()?"height":"width",r=t.model.get(["axisLabel","margin"]);h[n]-=e[n]+r,"top"===t.position?h.y+=e.height+r:"left"===t.position&&(h.x+=e.width+r)}}}),r()),i.i(s.d)(this._coordsList,function(t){t.calcAffineTransform()})},t.prototype.getAxis=function(t,e){var i=this._axesMap[t];if(null!=i)return i[e||0]},t.prototype.getAxes=function(){return this._axesList.slice()},t.prototype.getCartesian=function(t,e){if(null!=t&&null!=e){var n="x"+t+"y"+e;return this._coordsMap[n]}i.i(s.i)(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var r=0,a=this._coordsList;r=0;i--)s.j(e[i])},e.prototype.getActiveState=function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t||isNaN(+t))return"inactive";if(1===e.length){var i=e[0];if(i[0]<=t&&t<=i[1])return"active"}else for(var n=0,r=e.length;n=i&&a<=i+e.axisLength&&o>=n&&o<=n+e.layoutLength},t.prototype.getModel=function(){return this._model},t.prototype._updateAxesFromSeries=function(t,e){e.eachSeries(function(i){if(t.contains(i,e)){var n=i.getData();f(this.dimensions,function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(n,n.mapDimension(t)),u.g(e.scale,e.model)},this)}},this)},t.prototype.resize=function(t,e){this._rect=l.f(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},t.prototype.getRect=function(){return this._rect},t.prototype._makeLayoutInfo=function(){var t,e=this._model,i=this._rect,r=["x","y"],a=["width","height"],o=e.get("layout"),s="horizontal"===o?0:1,l=i[a[s]],u=[0,l],c=this.dimensions.length,h=n(e.get("axisExpandWidth"),u),d=n(e.get("axisExpandCount")||0,[0,c]),p=e.get("axisExpandable")&&c>3&&c>d&&d>1&&h>0&&l>0,f=e.get("axisExpandWindow");if(f)t=n(f[1]-f[0],u),f[1]=f[0]+t;else{t=n(h*(d-1),u);f=[h*(e.get("axisExpandCenter")||y(c/2))-t/2],f[1]=f[0]+t}var g=(l-t)/(c-d);g<3&&(g=0);var v=[y(x(f[0]/h,1))+1,m(x(f[1]/h,1))-1],_=g/h*f[0];return{layout:o,pixelDimIndex:s,layoutBase:i[r[s]],layoutLength:l,axisBase:i[r[1-s]],axisLength:i[a[1-s]],axisExpandable:p,axisExpandWidth:h,axisCollapseWidth:g,axisExpandWindow:f,axisCount:c,winInnerIndices:v,axisExpandWindow0Pos:_}},t.prototype._layoutAxes=function(){var t=this._rect,e=this._axesMap,i=this.dimensions,n=this._makeLayoutInfo(),o=n.layout;e.each(function(t){var e=[0,n.axisLength],i=t.inverse?1:0;t.setExtent(e[i],e[1-i])}),f(i,function(e,i){var l=(n.axisExpandable?a:r)(i,n),u={horizontal:{x:l.position,y:n.axisLength},vertical:{x:0,y:l.position}},c={horizontal:_/2,vertical:0},h=[u[o].x+t.x,u[o].y+t.y],d=c[o],p=s.a();s.h(p,p,d),s.b(p,p,h),this._axesLayout[e]={position:h,rotation:d,transform:p,axisNameAvailableWidth:l.axisNameAvailableWidth,axisLabelShow:l.axisLabelShow,nameTruncateMaxWidth:l.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},t.prototype.getAxis=function(t){return this._axesMap.get(t)},t.prototype.dataToPoint=function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},t.prototype.eachActiveState=function(t,e,i,n){null==i&&(i=0),null==n&&(n=t.count());var r=this._axesMap,a=this.dimensions,s=[],l=[];o.d(a,function(e){s.push(t.mapDimension(e)),l.push(r.get(e).model)});for(var u=this.hasAxisBrushed(),c=i;ca*(1-h[0])?(u="jump",s=l-a*(1-h[2])):(s=l-a*h[1])>=0&&(s=l-a*(1-h[1]))<=0&&(s=0),s*=e.axisExpandWidth/c,s?i.i(p.a)(s,r,o,"all"):u="none";else{var f=r[1]-r[0];r=[v(0,o[1]*l/f-f/2)],r[1]=g(o[1],r[0]+f),r[0]=r[1]-f}return{axisExpandWindow:r,behavior:u}},t}();e.a=b},1023:function(t,e,i){"use strict";var n=i(6),r=i(288),a=function(t){function e(e,i,n,r,a){var o=t.call(this,e,i,n)||this;return o.type=r||"value",o.axisIndex=a,o}return i.i(n.a)(e,t),e.prototype.isHorizontal=function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")},e}(r.a);e.a=a},1024:function(t,e,i){"use strict";var n=i(6),r=i(3),a=i(73),o=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i.i(n.a)(e,t),e.prototype.init=function(){t.prototype.init.apply(this,arguments),this.mergeOption({})},e.prototype.mergeOption=function(t){var e=this.option;t&&r.G(e,t,!0),this._initDimensions()},e.prototype.contains=function(t,e){var i=t.get("parallelIndex");return null!=i&&e.getComponent("parallel",i)===this},e.prototype.setAxisExpand=function(t){r.d(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(e){t.hasOwnProperty(e)&&(this.option[e]=t[e])},this)},e.prototype._initDimensions=function(){var t=this.dimensions=[],e=this.parallelAxisIndex=[],i=r.c(this.ecModel.queryComponents({mainType:"parallelAxis"}),function(t){return(t.get("parallelIndex")||0)===this.componentIndex},this);r.d(i,function(i){t.push("dim"+i.get("dim")),e.push(i.componentIndex)})},e.type="parallel",e.dependencies=["parallelAxis"],e.layoutMode="box",e.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},e}(a.a);e.a=o},1025:function(t,e,i){"use strict";function n(t,e){var i=[];return t.eachComponent("parallel",function(n,a){var o=new r.a(n,t,e);o.name="parallel_"+a,o.resize(n,e),n.coordinateSystem=o,o.model=n,i.push(o)}),t.eachSeries(function(t){if("parallel"===t.get("coordinateSystem")){var e=t.getReferringComponents("parallel",a.i).models[0];t.coordinateSystem=e.coordinateSystem}}),i}var r=i(1022),a=i(13),o={create:n};e.a=o},1026:function(t,e,i){"use strict";function n(t){r(t),a(t)}function r(t){if(!t.parallel){var e=!1;o.d(t.series,function(t){t&&"parallel"===t.type&&(e=!0)}),e&&(t.parallel=[{}])}}function a(t){var e=s.d(t.parallelAxis);o.d(e,function(e){if(o.i(e)){var i=e.parallelIndex||0,n=s.d(t.parallel)[i];n&&n.parallelAxisDefault&&o.G(e,n.parallelAxisDefault,!1)}})}e.a=n;var o=i(3),s=i(13)},1027:function(t,e,i){"use strict";var n=i(6),r=i(145),a=i(288),o=i(13),s=i.i(o.a)(),l=function(t){function e(e,i){return t.call(this,"angle",e,i||[0,360])||this}return i.i(n.a)(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e.prototype.calculateCategoryInterval=function(){var t=this,e=t.getLabelModel(),i=t.scale,n=i.getExtent(),a=i.count();if(n[1]-n[0]<1)return 0;var o=n[0],l=t.dataToCoord(o+1)-t.dataToCoord(o),u=Math.abs(l),c=r.g(null==o?"":o+"",e.getFont(),"center","top"),h=Math.max(c.height,7),d=h/u;isNaN(d)&&(d=1/0);var p=Math.max(0,Math.floor(d)),f=s(t.model),g=f.lastAutoInterval,v=f.lastTickCount;return null!=g&&null!=v&&Math.abs(g-p)<=1&&Math.abs(v-a)<=1&&g>p?p=g:(f.lastTickCount=a,f.lastAutoInterval=p),p},e}(a.a);l.prototype.dataToAngle=a.a.prototype.dataToCoord,l.prototype.angleToData=a.a.prototype.coordToData,e.a=l},1028:function(t,e,i){"use strict";i.d(e,"a",function(){return u}),i.d(e,"b",function(){return c});var n=i(6),r=i(3),a=i(73),o=i(477),s=i(13),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.i(n.a)(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",s.i).models[0]},e.type="polarAxis",e}(a.a);r.y(l,o.a);var u=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i.i(n.a)(e,t),e.type="angleAxis",e}(l),c=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i.i(n.a)(e,t),e.type="radiusAxis",e}(l)},1029:function(t,e,i){"use strict";function n(t){var e=t.seriesModel,i=t.polarModel;return i&&i.coordinateSystem||e&&e.coordinateSystem}i.d(e,"a",function(){return o});var r=i(1031),a=i(1027),o=["radius","angle"],s=function(){function t(t){this.dimensions=o,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new r.a,this._angleAxis=new a.a,this.axisPointerEnabled=!0,this.name=t||"",this._radiusAxis.polar=this._angleAxis.polar=this}return t.prototype.containPoint=function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},t.prototype.containData=function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},t.prototype.getAxis=function(t){return this["_"+t+"Axis"]},t.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},t.prototype.getAxesByScale=function(t){var e=[],i=this._angleAxis,n=this._radiusAxis;return i.scale.type===t&&e.push(i),n.scale.type===t&&e.push(n),e},t.prototype.getAngleAxis=function(){return this._angleAxis},t.prototype.getRadiusAxis=function(){return this._radiusAxis},t.prototype.getOtherAxis=function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},t.prototype.getTooltipAxes=function(t){var e=null!=t&&"auto"!==t?this.getAxis(t):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},t.prototype.dataToPoint=function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},t.prototype.pointToData=function(t,e){var i=this.pointToCoord(t);return[this._radiusAxis.radiusToData(i[0],e),this._angleAxis.angleToData(i[1],e)]},t.prototype.pointToCoord=function(t){var e=t[0]-this.cx,i=t[1]-this.cy,n=this.getAngleAxis(),r=n.getExtent(),a=Math.min(r[0],r[1]),o=Math.max(r[0],r[1]);n.inverse?a=o-360:o=a+360;var s=Math.sqrt(e*e+i*i);e/=s,i/=s;for(var l=Math.atan2(-i,e)/Math.PI*180,u=lo;)l+=360*u;return[s,l]},t.prototype.coordToPoint=function(t){var e=t[0],i=t[1]/180*Math.PI;return[Math.cos(i)*e+this.cx,-Math.sin(i)*e+this.cy]},t.prototype.getArea=function(){var t=this.getAngleAxis(),e=this.getRadiusAxis(),i=e.getExtent().slice();i[0]>i[1]&&i.reverse();var n=t.getExtent(),r=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:i[0],r:i[1],startAngle:-n[0]*r,endAngle:-n[1]*r,clockwise:t.inverse,contain:function(t,e){var i=t-this.cx,n=e-this.cy,r=i*i+n*n-1e-4,a=this.r,o=this.r0;return r<=a*a&&r>=o*o}}},t.prototype.convertToPixel=function(t,e,i){return n(e)===this?this.dataToPoint(i):null},t.prototype.convertFromPixel=function(t,e,i){return n(e)===this?this.pointToData(i):null},t}();e.b=s},1030:function(t,e,i){"use strict";var n=i(6),r=i(73),a=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i.i(n.a)(e,t),e.prototype.findAxisModel=function(t){var e;return this.ecModel.eachComponent(t,function(t){t.getCoordSysModel()===this&&(e=t)},this),e},e.type="polar",e.dependencies=["radiusAxis","angleAxis"],e.defaultOption={z:0,center:["50%","50%"],radius:"80%"},e}(r.a);e.a=a},1031:function(t,e,i){"use strict";var n=i(6),r=i(288),a=function(t){function e(e,i){return t.call(this,"radius",e,i)||this}return i.i(n.a)(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e}(r.a);a.prototype.dataToRadius=r.a.prototype.dataToCoord,a.prototype.radiusToData=r.a.prototype.coordToData,e.a=a},1032:function(t,e,i){"use strict";function n(t,e,n){var r=e.get("center"),a=n.getWidth(),o=n.getHeight();t.cx=i.i(u.a)(r[0],a),t.cy=i.i(u.a)(r[1],o);var l=t.getRadiusAxis(),c=Math.min(a,o)/2,h=e.get("radius");null==h?h=[0,"100%"]:s.j(h)||(h=[0,h]);var d=[i.i(u.a)(h[0],c),i.i(u.a)(h[1],c)];l.inverse?l.setExtent(d[1],d[0]):l.setExtent(d[0],d[1])}function r(t,e){var n=this,r=n.getAngleAxis(),a=n.getRadiusAxis();if(r.scale.setExtent(1/0,-1/0),a.scale.setExtent(1/0,-1/0),t.eachSeries(function(t){if(t.coordinateSystem===n){var e=t.getData();s.d(i.i(c.i)(e,"radius"),function(t){a.scale.unionExtentFromData(e,t)}),s.d(i.i(c.i)(e,"angle"),function(t){r.scale.unionExtentFromData(e,t)})}}),i.i(c.g)(r.scale,r.model),i.i(c.g)(a.scale,a.model),"category"===r.type&&!r.onBand){var o=r.getExtent(),l=360/r.scale.count();r.inverse?o[1]+=l:o[1]-=l,r.setExtent(o[0],o[1])}}function a(t){return"angleAxis"===t.mainType}function o(t,e){if(t.type=e.get("type"),t.scale=i.i(c.f)(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),a(e)){t.inverse=t.inverse!==e.get("clockwise");var n=e.get("startAngle");t.setExtent(n,n+(t.inverse?-360:360))}e.axis=t,t.model=e}var s=i(3),l=i(1029),u=i(22),c=i(194),h=i(13),d={dimensions:l.a,create:function(t,e){var i=[];return t.eachComponent("polar",function(t,a){var s=new l.b(a+"");s.update=r;var u=s.getRadiusAxis(),c=s.getAngleAxis(),h=t.findAxisModel("radiusAxis"),d=t.findAxisModel("angleAxis");o(u,h),o(c,d),n(s,t,e),i.push(s),t.coordinateSystem=s,s.model=t}),t.eachSeries(function(t){if("polar"===t.get("coordinateSystem")){var e=t.getReferringComponents("polar",h.i).models[0];t.coordinateSystem=e.coordinateSystem}}),i}};e.a=d},1033:function(t,e,i){"use strict";function n(t,e){return e=e||[0,0],a.p(["Radius","Angle"],function(i,n){var r="get"+i+"Axis",a=this[r](),o=e[n],s=t[n]/2,l="category"===a.type?a.getBandWidth():Math.abs(a.dataToCoord(o-s)-a.dataToCoord(o+s));return"Angle"===i&&(l=l*Math.PI/180),l},this)}function r(t){var e=t.getRadiusAxis(),i=t.getAngleAxis(),r=e.getExtent();return r[0]>r[1]&&r.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:r[1],r0:r[0]},api:{coord:function(n){var r=e.dataToRadius(n[0]),a=i.dataToAngle(n[1]),o=t.coordToPoint([r,a]);return o.push(r,a*Math.PI/180),o},size:a.K(n,t)}}}e.a=r;var a=i(3)},1034:function(t,e,i){"use strict";var n=i(6),r=i(288),a=function(t){function e(e,i,n){var r=t.call(this,e,i,n)||this;return r.type="value",r.angle=0,r.name="",r}return i.i(n.a)(e,t),e}(r.a);e.a=a},1035:function(t,e,i){"use strict";var n=i(1034),r=i(483),a=i(22),o=i(3),s=i(688),l=function(){function t(t,e,a){this.dimensions=[],this._model=t,this._indicatorAxes=i.i(o.p)(t.getIndicatorModels(),function(t,e){var i="indicator_"+e,a=new n.a(i,new r.a);return a.name=t.get("name"),a.model=t,t.axis=a,this.dimensions.push(i),a},this),this.resize(t,a)}return t.prototype.getIndicatorAxes=function(){return this._indicatorAxes},t.prototype.dataToPoint=function(t,e){var i=this._indicatorAxes[e];return this.coordToPoint(i.dataToCoord(t),e)},t.prototype.coordToPoint=function(t,e){var i=this._indicatorAxes[e],n=i.angle;return[this.cx+t*Math.cos(n),this.cy-t*Math.sin(n)]},t.prototype.pointToData=function(t){var e=t[0]-this.cx,i=t[1]-this.cy,n=Math.sqrt(e*e+i*i);e/=n,i/=n;for(var r,a=Math.atan2(-i,e),o=1/0,s=-1,l=0;l0&&!f.min?f.min=0:null!=f.min&&f.min<0&&!f.max&&(f.max=0);var g=u;null!=f.color&&(g=a.t({color:f.color},u));var v=a.G(a.v(f),{boundaryGap:t,splitNumber:e,scale:i,axisLine:n,axisTick:r,axisLabel:o,name:f.text,showName:c,nameLocation:"end",nameGap:d,nameTextStyle:g,triggerEvent:p},!1);if(c||(v.name=""),a.m(h)){var y=v.name;v.name=h.replace("{value}",null!=y?y:"")}else a.a(h)&&(v.name=h(v.name,v));var m=new s.a(v,null,this.ecModel);return a.y(m,l.a.prototype),m.mainType="radar",m.componentIndex=this.componentIndex,m},this);this._indicatorModels=f},e.prototype.getIndicatorModels=function(){return this._indicatorModels},e.type="radar",e.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:a.G({lineStyle:{color:"#bbb"}},c.axisLine),axisLabel:n(c.axisLabel,!1),axisTick:n(c.axisTick,!1),splitLine:n(c.splitLine,!0),splitArea:n(c.splitArea,!0),indicator:[]},e}(u.a);e.a=h},1037:function(t,e,i){"use strict";var n=i(6),r=i(73),a=i(477),o=i(3),s=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i.i(n.a)(e,t),e.prototype.getCoordSysModel=function(){return this},e.type="singleAxis",e.layoutMode="box",e.defaultOption={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}},e}(r.a);i.i(o.y)(s,a.a.prototype),e.a=s},1038:function(t,e,i){"use strict";function n(t){var e=t.seriesModel,i=t.singleAxisModel;return i&&i.coordinateSystem||e&&e.coordinateSystem}i.d(e,"b",function(){return l});var r=i(1039),a=i(194),o=i(69),s=i(3),l=["single"],u=function(){function t(t,e,i){this.type="single",this.dimension="single",this.dimensions=l,this.axisPointerEnabled=!0,this.model=t,this._init(t,e,i)}return t.prototype._init=function(t,e,i){var n=this.dimension,o=new r.a(n,a.f(t),[0,0],t.get("type"),t.get("position")),s="category"===o.type;o.onBand=s&&t.get("boundaryGap"),o.inverse=t.get("inverse"),o.orient=t.get("orient"),t.axis=o,o.model=t,o.coordinateSystem=this,this._axis=o},t.prototype.update=function(t,e){t.eachSeries(function(t){if(t.coordinateSystem===this){var e=t.getData();i.i(s.d)(e.mapDimensionsAll(this.dimension),function(t){this._axis.scale.unionExtentFromData(e,t)},this),a.g(this._axis.scale,this._axis.model)}},this)},t.prototype.resize=function(t,e){this._rect=i.i(o.f)({left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")},{width:e.getWidth(),height:e.getHeight()}),this._adjustAxis()},t.prototype.getRect=function(){return this._rect},t.prototype._adjustAxis=function(){var t=this._rect,e=this._axis,i=e.isHorizontal(),n=i?[0,t.width]:[0,t.height],r=e.reverse?1:0;e.setExtent(n[r],n[1-r]),this._updateAxisTransform(e,i?t.x:t.y)},t.prototype._updateAxisTransform=function(t,e){var i=t.getExtent(),n=i[0]+i[1],r=t.isHorizontal();t.toGlobalCoord=r?function(t){return t+e}:function(t){return n-t+e},t.toLocalCoord=r?function(t){return t-e}:function(t){return n-t+e}},t.prototype.getAxis=function(){return this._axis},t.prototype.getBaseAxis=function(){return this._axis},t.prototype.getAxes=function(){return[this._axis]},t.prototype.getTooltipAxes=function(){return{baseAxes:[this.getAxis()],otherAxes:[]}},t.prototype.containPoint=function(t){var e=this.getRect(),i=this.getAxis();return"horizontal"===i.orient?i.contain(i.toLocalCoord(t[0]))&&t[1]>=e.y&&t[1]<=e.y+e.height:i.contain(i.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},t.prototype.pointToData=function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},t.prototype.dataToPoint=function(t){var e=this.getAxis(),i=this.getRect(),n=[],r="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),n[r]=e.toGlobalCoord(e.dataToCoord(+t)),n[1-r]=0===r?i.y+i.height/2:i.x+i.width/2,n},t.prototype.convertToPixel=function(t,e,i){return n(e)===this?this.dataToPoint(i):null},t.prototype.convertFromPixel=function(t,e,i){return n(e)===this?this.pointToData(i):null},t}();e.a=u},1039:function(t,e,i){"use strict";var n=i(6),r=i(288),a=function(t){function e(e,i,n,r,a){var o=t.call(this,e,i,n)||this;return o.type=r||"value",o.position=a||"bottom",o}return i.i(n.a)(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.pointToData=function(t,e){return this.coordinateSystem.pointToData(t)[0]},e}(r.a);e.a=a},1040:function(t,e,i){"use strict";function n(t,e){var i=this.getAxis(),n=e instanceof Array?e[0]:e,r=(t instanceof Array?t[0]:t)/2;return"category"===i.type?i.getBandWidth():Math.abs(i.dataToCoord(n-r)-i.dataToCoord(n+r))}function r(t){var e=t.getRect();return{coordSys:{type:"singleAxis",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:i.i(a.K)(n,t)}}}e.a=r;var a=i(3)},1041:function(t,e,i){"use strict";function n(t,e){var i=[];return t.eachComponent("singleAxis",function(n,a){var o=new r.a(n,t,e);o.name="single_"+a,o.resize(n,e),n.coordinateSystem=o,i.push(o)}),t.eachSeries(function(t){if("singleAxis"===t.get("coordinateSystem")){var e=t.getReferringComponents("singleAxis",a.i).models[0];t.coordinateSystem=e&&e.coordinateSystem}}),i}var r=i(1038),a=i(13),o={create:n,dimensions:r.b};e.a=o},1042:function(t,e,i){"use strict";function n(t){t.overallReset(t.ecModel,t.api,t.payload)}function r(t){return t.overallProgress&&a}function a(){this.agent.dirty(),this.getDownstream().dirty()}function o(){this.agent&&this.agent.dirty()}function s(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function l(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=i.i(x.d)(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?i.i(f.p)(e,function(t,e){return u(e)}):b}function u(t){return function(e,i){var n=i.data,r=i.resetDefines[t];if(r&&r.dataEach)for(var a=e.start;ai.blockIndex,a=r?i.step:null,o=n&&n.modDataCount;return{step:a,modBy:null!=o?Math.ceil(o/a):null,modDataCount:o}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var i=this._pipelineMap.get(t.uid),n=t.getData(),r=n.count(),a=i.progressiveEnabled&&e.incrementalPrepareRender&&r>=i.threshold,o=t.get("large")&&r>=t.get("largeThreshold"),s="mod"===t.get("progressiveChunkMode")?r:null;t.pipelineContext=i.context={progressiveRender:a,modDataCount:s,large:o}},t.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=i.i(f.k)();t.eachSeries(function(t){var i=t.getProgressive(),r=t.uid;n.set(r,{id:r,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),e._pipe(t,t.dataTask)})},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;i.i(f.d)(this._allHandlers,function(r){var a=t.get(r.uid)||t.set(r.uid,{}),o="";i.i(f.l)(!(r.reset&&r.overallReset),o),r.reset&&this._createSeriesStageTask(r,a,e,n),r.overallReset&&this._createOverallStageTask(r,a,e,n)},this)},t.prototype.prepareView=function(t,e,i,n){var r=t.renderTask,a=r.context;a.model=e,a.ecModel=i,a.api=n,r.__block=!t.incrementalPrepareRender,this._pipe(e,r)},t.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},t.prototype.performVisualTasks=function(t,e,i){this._performStageTasks(this._visualHandlers,t,e,i)},t.prototype._performStageTasks=function(t,e,n,r){function a(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}r=r||{};var o=!1,s=this;i.i(f.d)(t,function(t,i){if(!r.visualType||r.visualType===t.visualType){var l=s._stageTaskMap.get(t.uid),u=l.seriesTaskMap,c=l.overallTask;if(c){var h,d=c.agentStubMap;d.each(function(t){a(r,t)&&(t.dirty(),h=!0)}),h&&c.dirty(),s.updatePayload(c,n);var p=s.getPerformArgs(c,r.block);d.each(function(t){t.perform(p)}),c.perform(p)&&(o=!0)}else u&&u.each(function(i,l){a(r,i)&&i.dirty();var u=s.getPerformArgs(i,r.block);u.skip=!t.performRawSeries&&e.isSeriesFiltered(i.context.model),s.updatePayload(i,n),i.perform(u)&&(o=!0)})}}),this.unfinished=o||this.unfinished},t.prototype.performSeriesTasks=function(t){var e;t.eachSeries(function(t){e=t.dataTask.perform()||e}),this.unfinished=e||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each(function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)})},t.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},t.prototype._createSeriesStageTask=function(t,e,n,r){function a(e){var a=e.uid,d=h.set(a,u&&u.get(a)||i.i(g.a)({plan:s,reset:l,count:c}));d.context={model:e,ecModel:n,api:r,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:o},o._pipe(e,d)}var o=this,u=e.seriesTaskMap,h=e.seriesTaskMap=i.i(f.k)(),d=t.seriesType,p=t.getTargetSeries;t.createOnAllSeries?n.eachRawSeries(a):d?n.eachRawSeriesByType(d,a):p&&p(n,r).each(a)},t.prototype._createOverallStageTask=function(t,e,a,s){function l(t){var e=t.uid,n=d.set(e,h&&h.get(e)||(m=!0,i.i(g.a)({reset:r,onDirty:o})));n.context={model:t,overallProgress:y},n.agent=c,n.__block=y,u._pipe(t,n)}var u=this,c=e.overallTask=e.overallTask||i.i(g.a)({reset:n});c.context={ecModel:a,api:s,overallReset:t.overallReset,scheduler:u};var h=c.agentStubMap,d=c.agentStubMap=i.i(f.k)(),p=t.seriesType,v=t.getTargetSeries,y=!0,m=!1,x="";i.i(f.l)(!t.createOnAllSeries,x),p?a.eachRawSeriesByType(p,l):v?v(a,s).each(l):(y=!1,i.i(f.d)(a.getSeries(),l)),m&&c.dirty()},t.prototype._pipe=function(t,e){var i=t.uid,n=this._pipelineMap.get(i);!n.head&&(n.head=e),n.tail&&n.tail.pipe(e),n.tail=e,e.__idxInPipeline=n.count++,e.__pipeline=n},t.wrapStageHandler=function(t,e){return i.i(f.a)(t)&&(t={overallReset:t,seriesType:h(t)}),t.uid=i.i(v.a)("stageHandler"),e&&(t.visualType=e),t},t}(),b=u(0),w={},S={};d(w,y.a),d(S,m.a),w.eachSeriesByType=w.eachRawSeriesByType=function(t){p=t},w.eachComponent=function(t){"series"===t.mainType&&t.subType&&(p=t.subType)},e.a=_},1043:function(t,e,i){"use strict";var n=i(223),r=new n.a;e.a=r},1044:function(t,e,i){"use strict";function n(t){return"_EC_"+t}function r(t,e){return{getValue:function(i){var n=this[t][e];return n.getStore().get(n.getDimensionIndex(i||"value"),this.dataIndex)},setVisual:function(i,n){this.dataIndex>=0&&this[t][e].setItemVisual(this.dataIndex,i,n)},getVisual:function(i){return this[t][e].getItemVisual(this.dataIndex,i)},setLayout:function(i,n){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,i,n)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}}var a=i(3),o=function(){function t(t){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=t||!1}return t.prototype.isDirected=function(){return this._directed},t.prototype.addNode=function(t,e){t=null==t?""+e:""+t;var i=this._nodesMap;if(!i[n(t)]){var r=new s(t,e);return r.hostGraph=this,this.nodes.push(r),i[n(t)]=r,r}},t.prototype.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},t.prototype.getNodeById=function(t){return this._nodesMap[n(t)]},t.prototype.addEdge=function(t,e,i){var r=this._nodesMap,o=this._edgesMap;if(a.n(t)&&(t=this.nodes[t]),a.n(e)&&(e=this.nodes[e]),t instanceof s||(t=r[n(t)]),e instanceof s||(e=r[n(e)]),t&&e){var u=t.id+"-"+e.id,c=new l(t,e,i);return c.hostGraph=this,this._directed&&(t.outEdges.push(c),e.inEdges.push(c)),t.edges.push(c),t!==e&&e.edges.push(c),this.edges.push(c),o[u]=c,c}},t.prototype.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},t.prototype.getEdge=function(t,e){t instanceof s&&(t=t.id),e instanceof s&&(e=e.id);var i=this._edgesMap;return this._directed?i[t+"-"+e]:i[t+"-"+e]||i[e+"-"+t]},t.prototype.eachNode=function(t,e){for(var i=this.nodes,n=i.length,r=0;r=0&&t.call(e,i[r],r)},t.prototype.eachEdge=function(t,e){for(var i=this.edges,n=i.length,r=0;r=0&&i[r].node1.dataIndex>=0&&i[r].node2.dataIndex>=0&&t.call(e,i[r],r)},t.prototype.breadthFirstTraverse=function(t,e,i,r){if(e instanceof s||(e=this._nodesMap[n(e)]),e){for(var a="out"===i?"outEdges":"in"===i?"inEdges":"edges",o=0;o=0&&i.node2.dataIndex>=0});for(var r=0,a=n.length;r=0&&n.attr(l.oldLayoutSelect),i.i(d.f)(v,"emphasis")>=0&&n.attr(l.oldLayoutEmphasis)),i.i(o.updateProps)(n,p,e,h)}else if(n.attr(p),!i.i(f.a)(n).valueAnimation){var _=i.i(d.e)(n.style.opacity,1);n.style.opacity=0,i.i(o.initProps)(n,{style:{opacity:_}},e,h)}if(l.oldLayout=p,n.states.select){var b=l.oldLayoutSelect={};a(b,p,x),a(b,n.states.select,x)}if(n.states.emphasis){var w=l.oldLayoutEmphasis={};a(w,p,x),a(w,n.states.emphasis,x)}i.i(f.b)(n,h,g,e,e)}if(r&&!r.ignore&&!r.invisible){var l=m(r),u=l.oldLayout,S={points:r.shape.points};u?(r.attr({shape:u}),i.i(o.updateProps)(r,{shape:S},e)):(r.setShape(S),r.style.strokePercent=0,i.i(o.initProps)(r,{style:{strokePercent:1}},e)),l.oldLayout=S}},t}();e.a=_},1060:function(t,e,i){"use strict";function n(t,e){e=e||{};var n=e.isRoundCap;return function(e,r,l){var u=r.position;if(!u||u instanceof Array)return i.i(s.a)(e,r,l);var c=t(u),h=null!=r.distance?r.distance:5,d=this.shape,p=d.cx,f=d.cy,g=d.r,v=d.r0,y=(g+v)/2,m=d.startAngle,x=d.endAngle,_=(m+x)/2,b=n?Math.abs(g-v)/2:0,w=Math.cos,S=Math.sin,M=p+g*w(m),I=f+g*S(m),T="left",C="top";switch(c){case"startArc":M=p+(v-h)*w(_),I=f+(v-h)*S(_),T="center",C="top";break;case"insideStartArc":M=p+(v+h)*w(_),I=f+(v+h)*S(_),T="center",C="bottom";break;case"startAngle":M=p+y*w(m)+a(m,h+b,!1),I=f+y*S(m)+o(m,h+b,!1),T="right",C="middle";break;case"insideStartAngle":M=p+y*w(m)+a(m,-h+b,!1),I=f+y*S(m)+o(m,-h+b,!1),T="left",C="middle";break;case"middle":M=p+y*w(_),I=f+y*S(_),T="center",C="middle";break;case"endArc":M=p+(g+h)*w(_),I=f+(g+h)*S(_),T="center",C="bottom";break;case"insideEndArc":M=p+(g-h)*w(_),I=f+(g-h)*S(_),T="center",C="top";break;case"endAngle":M=p+y*w(x)+a(x,h+b,!0),I=f+y*S(x)+o(x,h+b,!0),T="left",C="middle";break;case"insideEndAngle":M=p+y*w(x)+a(x,-h+b,!0),I=f+y*S(x)+o(x,-h+b,!0),T="right",C="middle";break;default:return i.i(s.a)(e,r,l)}return e=e||{},e.x=M,e.y=I,e.align=T,e.verticalAlign=C,e}}function r(t,e,n,r){if(i.i(l.n)(r))return void t.setTextConfig({rotation:r});if(i.i(l.j)(e))return void t.setTextConfig({rotation:0});var a,o=t.shape,s=o.clockwise?o.startAngle:o.endAngle,u=o.clockwise?o.endAngle:o.startAngle,c=(s+u)/2,h=n(e);switch(h){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":a=c;break;case"startAngle":case"insideStartAngle":a=s;break;case"endAngle":case"insideEndAngle":a=u;break;default:return void t.setTextConfig({rotation:0})}var d=1.5*Math.PI-a;"middle"===h&&d>Math.PI/2&&d<1.5*Math.PI&&(d-=Math.PI),t.setTextConfig({rotation:d})}function a(t,e,i){return e*Math.sin(t)*(i?-1:1)}function o(t,e,i){return e*Math.cos(t)*(i?1:-1)}e.a=n,e.b=r;var s=i(145),l=i(3)},1061:function(t,e,i){"use strict";function n(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function r(t,e){return e.dim+t.model.componentIndex}function a(t,e,a){var l={},c=o(s.c(e.getSeriesByType(t),function(t){return!e.isSeriesFiltered(t)&&t.coordinateSystem&&"polar"===t.coordinateSystem.type}));e.eachSeriesByType(t,function(t){if("polar"===t.coordinateSystem.type){var e=t.getData(),a=t.coordinateSystem,o=a.getBaseAxis(),s=r(a,o),h=n(t),d=c[s][h],p=d.offset,f=d.width,g=a.getOtherAxis(o),v=t.coordinateSystem.cx,y=t.coordinateSystem.cy,m=t.get("barMinHeight")||0,x=t.get("barMinAngle")||0;l[h]=l[h]||[];for(var _=e.mapDimension(g.dim),b=e.mapDimension(o.dim),w=i.i(u.b)(e,_),S="radius"!==o.dim||!t.get("roundCap",!0),M=g.dataToCoord(0),I=0,T=e.count();I=0?"p":"n",A=M;w&&(l[h][k]||(l[h][k]={p:M,n:M}),A=l[h][k][D]);var L=void 0,P=void 0,O=void 0,R=void 0;if("radius"===g.dim){var N=g.dataToCoord(C)-M,E=o.dataToCoord(k);Math.abs(N)=R})}}})}function o(t){var e={};s.d(t,function(t,a){var o=t.getData(),s=t.coordinateSystem,u=s.getBaseAxis(),c=r(s,u),h=u.getExtent(),d="category"===u.type?u.getBandWidth():Math.abs(h[1]-h[0])/o.count(),p=e[c]||{bandWidth:d,remainedWidth:d,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},f=p.stacks;e[c]=p;var g=n(t);f[g]||p.autoWidthCount++,f[g]=f[g]||{width:0,maxWidth:0};var v=i.i(l.a)(t.get("barWidth"),d),y=i.i(l.a)(t.get("barMaxWidth"),d),m=t.get("barGap"),x=t.get("barCategoryGap");v&&!f[g].width&&(v=Math.min(p.remainedWidth,v),f[g].width=v,p.remainedWidth-=v),y&&(f[g].maxWidth=y),null!=m&&(p.gap=m),null!=x&&(p.categoryGap=x)});var a={};return s.d(e,function(t,e){a[e]={};var n=t.stacks,r=t.bandWidth,o=i.i(l.a)(t.categoryGap,r),u=i.i(l.a)(t.gap,1),c=t.remainedWidth,h=t.autoWidthCount,d=(c-o)/(h+(h-1)*u);d=Math.max(d,0),s.d(n,function(t,e){var i=t.maxWidth;i&&i=e:"max"===i?t<=e:t===e}function o(t,e){return t.join(",")===e.join(",")}var s=i(13),l=i(3),u=(i(56),/^(min|max)?(.+)$/),c=function(){function t(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return t.prototype.setOption=function(t,e,r){t&&(i.i(l.d)(i.i(s.d)(t.series),function(t){t&&t.data&&i.i(l.z)(t.data)&&i.i(l.L)(t.data)}),i.i(l.d)(i.i(s.d)(t.dataset),function(t){t&&t.source&&i.i(l.z)(t.source)&&i.i(l.L)(t.source)})),t=i.i(l.v)(t);var a=this._optionBackup,o=n(t,e,!a);this._newBaseOption=o.baseOption,a?(o.timelineOptions.length&&(a.timelineOptions=o.timelineOptions),o.mediaList.length&&(a.mediaList=o.mediaList),o.mediaDefault&&(a.mediaDefault=o.mediaDefault)):this._optionBackup=o},t.prototype.mountOption=function(t){var e=this._optionBackup;return this._timelineOptions=e.timelineOptions,this._mediaList=e.mediaList,this._mediaDefault=e.mediaDefault,this._currentMediaIndices=[],i.i(l.v)(t?e.baseOption:this._newBaseOption)},t.prototype.getTimelineOption=function(t){var e,n=this._timelineOptions;if(n.length){var r=t.getComponent("timeline");r&&(e=i.i(l.v)(n[r.getCurrentIndex()]))}return e},t.prototype.getMediaOption=function(t){var e=this._api.getWidth(),n=this._api.getHeight(),a=this._mediaList,s=this._mediaDefault,u=[],c=[];if(!a.length&&!s)return c;for(var h=0,d=a.length;h=0;v--){var y=t[v];if(u||(f=y.data.rawIndexOf(y.stackedByDimension,p)),f>=0){var m=y.data.getByRawIndex(y.stackResultDimension,f);if(d>=0&&m>0||d<=0&&m<0){d=i.i(o.o)(d,m),g=m;break}}}return r[0]=d,r[1]=g,r})})}e.a=n;var a=i(3),o=i(22)},1072:function(t,e,i){"use strict";function n(t){return{seriesType:t,reset:function(t,e){var n=t.getData();n.filterSelf(function(t){var e=n.mapDimension("value"),a=n.get(e,t);return!(i.i(r.n)(a)&&!isNaN(a)&&a<0)})}}}e.a=n;var r=i(3)},1073:function(t,e,i){"use strict";function n(t){t.registerPainter("canvas",r.a)}e.a=n;var r=i(1112)},1074:function(t,e,i){"use strict";function n(t){t.registerPainter("svg",r.a)}e.a=n;var r=i(1129)},1075:function(t,e,i){"use strict";function n(t,e){return d(t,s.e(e))}var r=i(6),a=i(3),o=i(523),s=i(22),l=i(324),u=i(483),c=o.a.prototype,h=u.a.prototype,d=s.d,p=Math.floor,f=Math.ceil,g=Math.pow,v=Math.log,y=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new u.a,e._interval=0,e}return i.i(r.a)(e,t),e.prototype.getTicks=function(t){var e=this._originalScale,i=this._extent,r=e.getExtent(),o=h.getTicks.call(this,t);return a.p(o,function(t){var e=t.value,a=s.d(g(this.base,e));return a=e===i[0]&&this._fixMin?n(a,r[0]):a,a=e===i[1]&&this._fixMax?n(a,r[1]):a,{value:a}},this)},e.prototype.setExtent=function(t,e){var i=this.base;t=v(t)/v(i),e=v(e)/v(i),h.setExtent.call(this,t,e)},e.prototype.getExtent=function(){var t=this.base,e=c.getExtent.call(this);e[0]=g(t,e[0]),e[1]=g(t,e[1]);var i=this._originalScale,r=i.getExtent();return this._fixMin&&(e[0]=n(e[0],r[0])),this._fixMax&&(e[1]=n(e[1],r[1])),e},e.prototype.unionExtent=function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=v(t[0])/v(e),t[1]=v(t[1])/v(e),c.unionExtent.call(this,t)},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.calcNiceTicks=function(t){t=t||10;var e=this._extent,i=e[1]-e[0];if(!(i===1/0||i<=0)){var n=s.n(i),r=t/i*n;for(r<=.5&&(n*=10);!isNaN(n)&&Math.abs(n)<1&&Math.abs(n)>0;)n*=10;var a=[s.d(f(e[0]/n)*n),s.d(p(e[1]/n)*n)];this._interval=n,this._niceExtent=a}},e.prototype.calcNiceExtent=function(t){h.calcNiceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return t=v(t)/v(this.base),l.a(t,this._extent)},e.prototype.normalize=function(t){return t=v(t)/v(this.base),l.b(t,this._extent)},e.prototype.scale=function(t){return t=l.c(t,this._extent),g(this.base,t)},e.type="log",e}(o.a),m=y.prototype;m.getMinorTicks=h.getMinorTicks,m.getLabel=h.getLabel,o.a.registerClass(y),e.a=y},1076:function(t,e,i){"use strict";var n=function(){return{axisLine:{lineStyle:{color:"#B9B8CE"}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},r=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],a={darkMode:!0,color:r,backgroundColor:"#100C2A",axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:"#B9B8CE"}},textStyle:{color:"#B9B8CE"},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:"#B9B8CE"}},dataZoom:{borderColor:"#71708A",textStyle:{color:"#B9B8CE"},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:"#B9B8CE"}},timeline:{lineStyle:{color:"#B9B8CE"},label:{color:"#B9B8CE"},controlStyle:{color:"#B9B8CE",borderColor:"#B9B8CE"}},calendar:{itemStyle:{color:"#100C2A"},dayLabel:{color:"#B9B8CE"},monthLabel:{color:"#B9B8CE"},yearLabel:{color:"#B9B8CE"}},timeAxis:n(),logAxis:n(),valueAxis:n(),categoryAxis:n(),line:{symbol:"circle"},graph:{color:r},gauge:{title:{color:"#B9B8CE"},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:"#B9B8CE"},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};a.categoryAxis.splitLine.show=!1,e.a=a},1077:function(t,e,i){"use strict";var n=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"];e.a={color:n,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],n]}},1078:function(t,e,i){"use strict";i.d(e,"a",function(){return a});var n=i(3),r=i(262),a=function(){function t(){}return t.prototype.normalizeQuery=function(t){var e={},a={},o={};if(n.m(t)){var s=i.i(r.f)(t);e.mainType=s.main||null,e.subType=s.sub||null}else{var l=["Index","Name","Id"],u={name:1,dataIndex:1,dataType:1};n.d(t,function(t,i){for(var n=!1,r=0;r0&&c===i.length-s.length){var h=i.slice(0,c);"data"!==h&&(e.mainType=h,e[s.toLowerCase()]=t,n=!0)}}u.hasOwnProperty(i)&&(a[i]=t,n=!0),n||(o[i]=t)})}return{cptQuery:e,dataQuery:a,otherQuery:o}},t.prototype.filter=function(t,e){function i(t,e,i,n){return null==t[i]||e[n||i]===t[i]}var n=this.eventInfo;if(!n)return!0;var r=n.targetEl,a=n.packedEvent,o=n.model,s=n.view;if(!o||!s)return!0;var l=e.cptQuery,u=e.dataQuery;return i(l,o,"mainType")&&i(l,o,"subType")&&i(l,o,"index","componentIndex")&&i(l,o,"name")&&i(l,o,"id")&&i(u,a,"name")&&i(u,a,"dataIndex")&&i(u,a,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(t,e.otherQuery,r,a))},t.prototype.afterTrigger=function(){this.eventInfo=null},t}()},1079:function(t,e,i){"use strict";function n(){return new r}e.a=n;var r=function(){function t(){this._storage=[],this._elExistsMap={}}return t.prototype.add=function(t,e,i,n,r){return!this._elExistsMap[t.id]&&(this._elExistsMap[t.id]=!0,this._storage.push({el:t,target:e,duration:i,delay:n,easing:r}),!0)},t.prototype.finished=function(t){return this._finishedCallback=t,this},t.prototype.start=function(){for(var t=this,e=this._storage.length,i=function(){--e<=0&&(t._storage.length=0,t._elExistsMap={},t._finishedCallback&&t._finishedCallback())},n=0,r=this._storage.length;n":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},p=function(){function t(t){if(null==(this._condVal=i.i(u.m)(t)?new RegExp(t):i.i(u.M)(t)?t:null)){var e="";i.i(c.b)(e)}}return t.prototype.evaluate=function(t){var e=typeof t;return i.i(u.m)(e)?this._condVal.test(t):!!i.i(u.n)(e)&&this._condVal.test(t+"")},t}(),f=function(){function t(){}return t.prototype.evaluate=function(){return this.value},t}(),g=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e1?o.get(["series","multiple","prefix"]):o.get(["series","single","prefix"]),{seriesCount:u}),t.eachSeries(function(t,e){if(e1?o.get(["series","multiple",a]):o.get(["series","single",a]),i=n(i,{seriesId:t.seriesIndex,seriesName:t.get("name"),seriesType:c(t.subType)});var s=t.getData();s.count()>d?i+=n(o.get(["data","partialData"]),{displayCnt:d}):i+=o.get(["data","allData"]);for(var l=o.get(["data","separator","middle"]),h=o.get(["data","separator","end"]),p=[],g=0;g>1,c=-7,h=i?r-1:0,d=i?-1:1,p=t[e+h];for(h+=d,a=p&(1<<-c)-1,p>>=-c,c+=s;c>0;a=256*a+t[e+h],h+=d,c-=8);for(o=a&(1<<-c)-1,a>>=-c,c+=n;c>0;o=256*o+t[e+h],h+=d,c-=8);if(0===a)a=1-u;else{if(a===l)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,n),a-=u}return(p?-1:1)*o*Math.pow(2,a-n)},e.write=function(t,e,i,n,r,a){var o,s,l,u=8*a-r-1,c=(1<>1,d=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:a-1,f=n?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,o=c):(o=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-o))<1&&(o--,l*=2),e+=o+h>=1?d/l:d*Math.pow(2,1-h),e*l>=2&&(o++,l/=2),o+h>=c?(s=0,o=c):o+h>=1?(s=(e*l-1)*Math.pow(2,r),o+=h):(s=e*Math.pow(2,h-1)*Math.pow(2,r),o=0));r>=8;t[i+p]=255&s,p+=f,s/=256,r-=8);for(o=o<0;t[i+p]=255&o,p+=f,o/=256,u-=8);t[i+p-f]|=128*g}},1094:function(t,e){var i={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==i.call(t)}},11:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{ref:"baseDiv"},[i("div",{staticClass:"background-color"},[i("mu-appbar",{directives:[{name:"show",rawName:"v-show",value:!t.hideAppBar,expression:"!hideAppBar"}],ref:"headerDom",staticClass:"header"},[i("div",{ref:"headerLeft",staticStyle:{position:"absolute","z-index":"99",top:"0",left:"0"},attrs:{slot:"left"},slot:"left"},[t._t("header_left",[t.showBack?i("mu-button",{attrs:{icon:""},on:{click:function(e){return t.closeWin()}}},[i("i",{staticClass:"iconfont icon-left"})]):t._e()])],2),t._v(" "),t._t("header",[i("div",{staticStyle:{"text-align":"center"}},[t._t("header_title",[t._v("\n "+t._s(t.title)+"\n ")])],2)]),t._v(" "),i("div",{ref:"headerRight",staticStyle:{position:"absolute","z-index":"99",top:"0",right:"0"},attrs:{slot:"right"},slot:"right"},[t._t("header_right")],2)],2),t._v(" "),t.hideHeaderSub?t._e():i("div",{staticClass:"header-sub",style:t.headerSubStyle,attrs:{id:"headerSub"}},[t._t("header_sub")],2),t._v(" "),i("div",{ref:"content",staticClass:"content",class:t.bodyClass,style:t.contentStyle},[t._t("body")],2),t._v(" "),i("mu-paper",{ref:"footerDom",staticClass:"footer",attrs:{zDepth:6}},[t._t("footer")],2)],1),t._v(" "),i("mu-drawer",{attrs:{docked:!1,right:"",open:t.rightDrawerOpen},on:{close:t.closeRightDrawer}},[i("div",{staticClass:"drawer-content",style:t.drawerStyle},[t._t("drawer_right")],2)])],1)},staticRenderFns:[]}},1107:function(t,e,i){"use strict";function n(t,e,i){return{type:t,event:i,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:i.zrX,offsetY:i.zrY,gestureEvent:i.gestureEvent,pinchX:i.pinchX,pinchY:i.pinchY,pinchScale:i.pinchScale,wheelDelta:i.zrDelta,zrByTouch:i.zrByTouch,which:i.which,stop:r}}function r(){d.a(this.event)}function a(t,e,i){if(t[t.rectHover?"rectContain":"contain"](e,i)){for(var n=t,r=void 0,a=!1;n;){if(n.ignoreClip&&(a=!0),!a){var o=n.getClipPath();if(o&&!o.contain(e,i))return!1;n.silent&&(r=!0)}var s=n.__hostTarget;n=s||n.parent}return!r||f}return!1}function o(t,e,i){var n=t.painter;return e<0||e>n.getWidth()||i<0||i>n.getHeight()}var s=i(6),l=i(3),u=i(75),c=i(1128),h=i(223),d=i(265),p=i(1116),f="silent",g=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return i.i(s.a)(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(h.a),v=function(){function t(t,e){this.x=t,this.y=e}return t}(),y=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],m=function(t){function e(e,i,n,r){var a=t.call(this)||this;return a._hovered=new v(0,0),a.storage=e,a.painter=i,a.painterRoot=r,n=n||new g,a.proxy=null,a.setHandlerProxy(n),a._draggingMgr=new c.a(a),a}return i.i(s.a)(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(l.d(y,function(e){t.on&&t.on(e,this[e],this)},this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var e=t.zrX,i=t.zrY,n=o(this,e,i),r=this._hovered,a=r.target;a&&!a.__zr&&(r=this.findHover(r.x,r.y),a=r.target);var s=this._hovered=n?new v(e,i):this.findHover(e,i),l=s.target,u=this.proxy;u.setCursor&&u.setCursor(l?l.cursor:"default"),a&&l!==a&&this.dispatchToElement(r,"mouseout",t),this.dispatchToElement(s,"mousemove",t),l&&l!==a&&this.dispatchToElement(s,"mouseover",t)},e.prototype.mouseout=function(t){var e=t.zrEventControl;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new v(0,0)},e.prototype.dispatch=function(t,e){var i=this[t];i&&i.call(this,e)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},e.prototype.dispatchToElement=function(t,e,i){t=t||{};var r=t.target;if(!r||!r.silent){for(var a="on"+e,o=n(e,t,i);r&&(r[a]&&(o.cancelBubble=!!r[a].call(r,o)),r.trigger(e,o),r=r.__hostTarget?r.__hostTarget:r.parent,!o.cancelBubble););o.cancelBubble||(this.trigger(e,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(t){"function"==typeof t[a]&&t[a].call(t,o),t.trigger&&t.trigger(e,o)}))}},e.prototype.findHover=function(t,e,i){for(var n=this.storage.getDisplayList(),r=new v(t,e),o=n.length-1;o>=0;o--){var s=void 0;if(n[o]!==i&&!n[o].ignore&&(s=a(n[o],t,e))&&(!r.topTarget&&(r.topTarget=n[o]),s!==f)){r.target=n[o];break}}return r},e.prototype.processGesture=function(t,e){this._gestureMgr||(this._gestureMgr=new p.a);var i=this._gestureMgr;"start"===e&&i.clear();var n=i.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&i.clear(),n){var r=n.type;t.gestureEvent=r;var a=new v;a.target=n.target,this.dispatchToElement(a,r,n.event)}},e}(h.a);l.d(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){m.prototype[t]=function(e){var i,n,r=e.zrX,a=e.zrY,s=o(this,r,a);if("mouseup"===t&&s||(i=this.findHover(r,a),n=i.target),"mousedown"===t)this._downEl=n,this._downPoint=[e.zrX,e.zrY],this._upEl=n;else if("mouseup"===t)this._upEl=n;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||u.l(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(i,t,e)}}),e.a=m},1108:function(t,e,i){"use strict";function n(){l||(l=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function r(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var a=i(3),o=i(721),s=i(346),l=!1,u=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=r}return t.prototype.traverse=function(t,e){for(var i=0;i0&&(h.__clipPaths=[]),isNaN(h.z)&&(n(),h.z=0),isNaN(h.z2)&&(n(),h.z2=0),isNaN(h.zlevel)&&(n(),h.zlevel=0),this._displayList[this._displayListLen++]=h}var d=t.getDecalElement&&t.getDecalElement();d&&this._updateAndAddDisplayable(d,e,i);var p=t.getTextGuideLine();p&&this._updateAndAddDisplayable(p,e,i);var f=t.getTextContent();f&&this._updateAndAddDisplayable(f,e,i)}},t.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},t.prototype.delRoot=function(t){if(t instanceof Array)for(var e=0,i=t.length;e=0&&this._roots.splice(n,1)}},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}();e.a=u},1109:function(t,e,i){"use strict";function n(){return(new Date).getTime()}e.b=n;var r=i(6),a=i(223),o=i(713),s=i(622),l=function(t){function e(e){var i=t.call(this)||this;return i._running=!1,i._time=0,i._pausedTime=0,i._pauseStart=0,i._paused=!1,e=e||{},i.stage=e.stage||{},i}return i.i(r.a)(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},e.prototype.removeClip=function(t){if(t.animation){var e=t.prev,i=t.next;e?e.next=i:this._head=i,i?i.prev=e:this._tail=e,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},e.prototype.update=function(t){for(var e=n()-this._pausedTime,i=e-this._time,r=this._head;r;){var a=r.next;r.step(e,i)?(r.ondestroy(),this.removeClip(r),r=a):r=a}this._time=e,t||(this.trigger("frame",i),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){function t(){e._running&&(i.i(o.a)(t),!e._paused&&e.update())}var e=this;this._running=!0,i.i(o.a)(t)},e.prototype.start=function(){this._running||(this._time=n(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=n(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=n()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var t=this._head;t;){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._head=this._tail=null},e.prototype.isFinished=function(){return null==this._head},e.prototype.animate=function(t,e){e=e||{},this.start();var i=new s.a(t,e.loop);return this.addAnimator(i),i},e}(a.a);e.a=l},1110:function(t,e,i){"use strict";var n=i(712),r=i(3),a=i(623),o=function(){function t(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||r.B,this.ondestroy=t.ondestroy||r.B,this.onrestart=t.onrestart||r.B,t.easing&&this.setEasing(t.easing)}return t.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),this._paused)return void(this._pausedTime+=e);var i=this._life,n=t-this._startTime-this._pausedTime,r=n/i;r<0&&(r=0),r=Math.min(r,1);var a=this.easingFunc,o=a?a(r):r;if(this.onframe(o),1===r){if(!this.loop)return!0;var s=n%i;this._startTime=t-s,this._pausedTime=0,this.onrestart()}return!1},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=i.i(r.a)(t)?t:n.a[t]||i.i(a.a)(t)},t}();e.a=o},1111:function(t,e,i){"use strict";function n(t,e,i){var n=d.a.createCanvas(),r=e.getWidth(),a=e.getHeight(),o=n.style;return o&&(o.position="absolute",o.left="0",o.top="0",o.width=r+"px",o.height=a+"px",n.setAttribute("data-zr-dom-id",t)),n.width=r*i,n.height=a*i,n}var r=i(6),a=i(3),o=i(488),s=i(223),l=i(553),u=i(552),c=i(74),h=i(346),d=i(166),p=function(t){function e(e,i,r){var s=t.call(this)||this;s.motionBlur=!1,s.lastFrameAlpha=.7,s.dpr=1,s.virtual=!1,s.config={},s.incremental=!1,s.zlevel=0,s.maxRepaintRectCount=5,s.__dirty=!0,s.__firstTimePaint=!0,s.__used=!1,s.__drawIndex=0,s.__startIndex=0,s.__endIndex=0,s.__prevStartIndex=null,s.__prevEndIndex=null;var l;r=r||o.e,"string"==typeof e?l=n(e,i,r):a.i(e)&&(l=e,e=l.id),s.id=e,s.dom=l;var u=l.style;return u&&(a.S(l),l.onselectstart=function(){return!1},u.padding="0",u.margin="0",u.borderWidth="0"),s.painter=i,s.dpr=r,s}return i.i(r.a)(e,t),e.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},e.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},e.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},e.prototype.setUnpainted=function(){this.__firstTimePaint=!0},e.prototype.createBackBuffer=function(){var t=this.dpr;this.domBack=n("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!==t&&this.ctxBack.scale(t,t)},e.prototype.createRepaintRects=function(t,e,i,n){function r(t){if(t.isFinite()&&!t.isZero())if(0===a.length){var e=new c.a(0,0,0,0);e.copy(t),a.push(e)}else{for(var i=!1,n=1/0,r=0,u=0;u=o)}}if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;for(var a=[],o=this.maxRepaintRectCount,s=!1,l=new c.a(0,0,0,0),u=this.__startIndex;u15)break}}i.prevElClipPaths&&l.restore()};if(u)if(0===u.length)m=s.__endIndex;else for(var _=p.dpr,b=0;b0&&t>r[0]){for(l=0;lt);l++);s=i[r[l]]}if(r.splice(l+1,0,t),i[t]=e,!e.virtual)if(s){var u=s.dom;u.nextSibling?o.insertBefore(e.dom,u.nextSibling):o.appendChild(e.dom)}else o.firstChild?o.insertBefore(e.dom,o.firstChild):o.appendChild(e.dom);e.__painter=this}},t.prototype.eachLayer=function(t,e){for(var i=this._zlevelList,n=0;n0?.01:0),this._needsManuallyCompositing),c.__builtin__||o.x("ZLevel "+u+" has been used by unkown layer "+c.id),c!==s&&(c.__used=!0,c.__startIndex!==a&&(c.__dirty=!0),c.__startIndex=a,c.incremental?c.__drawIndex=-1:c.__drawIndex=a,e(a),s=c),n.__dirty&h.a&&!n.__inHover&&(c.__dirty=!0,c.incremental&&c.__drawIndex<0&&(c.__drawIndex=a))}e(a),this.eachBuiltinLayer(function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)})},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(t){t.clear()},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t,o.d(this._layers,function(t){t.setUnpainted()})},t.prototype.configLayer=function(t,e){if(e){var i=this._layerConfig;i[t]?o.G(i[t],e,!0):i[t]=e;for(var n=0;nn||p+ds&&(s+=a);var g=Math.atan2(h,c);return g<0&&(g+=a),g>=o&&g<=s||g+a>=o&&g+a<=s}e.a=n;var r=i(718),a=2*Math.PI},1114:function(t,e,i){"use strict";function n(t,e,i,n,a,o,s,l,u,c,h){if(0===u)return!1;var d=u;return!(h>e+d&&h>n+d&&h>o+d&&h>l+d||ht+d&&c>i+d&&c>a+d&&c>s+d||ce&&c>n&&c>o&&c>l||c1&&r(),f=v.b(e,n,o,l,w[0]),p>1&&(g=v.b(e,n,o,l,w[1]))),2===p?me&&s>n&&s>a||s=0&&u<=1){for(var c=0,h=v.f(e,n,a,u),d=0;di||s<-i)return 0;var l=Math.sqrt(i*i-s*s);b[0]=-l,b[1]=l;var u=Math.abs(n-r);if(u<1e-4)return 0;if(u>=x-1e-4){n=0,r=x;var c=a?1:-1;return o>=b[0]+t&&o<=b[1]+t?c:0}if(n>r){var h=n;n=r,r=h}n<0&&(n+=x,r+=x);for(var d=0,p=0;p<2;p++){var f=b[p];if(f+t>o){var g=Math.atan2(s,f),c=a?1:-1;g<0&&(g=x+g),(g>=n&&g<=r||g+x>=n&&g+x<=r)&&(g>Math.PI/2&&g<1.5*Math.PI&&(c=-c),d+=c)}}return d}function l(t,e,r,l,u){for(var c,h,v=t.data,x=t.len(),_=0,b=0,w=0,S=0,M=0,I=0;I1&&(r||(_+=i.i(y.a)(b,w,S,M,l,u))),C&&(b=v[I],w=v[I+1],S=b,M=w),T){case m.M:S=v[I++],M=v[I++],b=S,w=M;break;case m.L:if(r){if(d.a(b,w,v[I],v[I+1],e,l,u))return!0}else _+=i.i(y.a)(b,w,v[I],v[I+1],l,u)||0;b=v[I++],w=v[I++];break;case m.C:if(r){if(p.a(b,w,v[I++],v[I++],v[I++],v[I++],v[I],v[I+1],e,l,u))return!0}else _+=a(b,w,v[I++],v[I++],v[I++],v[I++],v[I],v[I+1],l,u)||0;b=v[I++],w=v[I++];break;case m.Q:if(r){if(f.a(b,w,v[I++],v[I++],v[I],v[I+1],e,l,u))return!0}else _+=o(b,w,v[I++],v[I++],v[I],v[I+1],l,u)||0;b=v[I++],w=v[I++];break;case m.A:var k=v[I++],D=v[I++],A=v[I++],L=v[I++],P=v[I++],O=v[I++];I+=1;var R=!!(1-v[I++]);c=Math.cos(P)*A+k,h=Math.sin(P)*L+D,C?(S=c,M=h):_+=i.i(y.a)(b,w,c,h,l,u);var N=(l-k)*L/A+k;if(r){if(g.a(k,D,L,P,P+O,R,e,N,u))return!0}else _+=s(k,D,L,P,P+O,R,N,u);b=Math.cos(P+O)*A+k,w=Math.sin(P+O)*L+D;break;case m.R:S=b=v[I++],M=w=v[I++];var E=v[I++],z=v[I++];if(c=S+E,h=M+z,r){if(d.a(S,M,c,M,e,l,u)||d.a(c,M,c,h,e,l,u)||d.a(c,h,S,h,e,l,u)||d.a(S,h,S,M,e,l,u))return!0}else _+=i.i(y.a)(c,M,c,h,l,u),_+=i.i(y.a)(S,h,S,M,l,u);break;case m.Z:if(r){if(d.a(b,w,S,M,e,l,u))return!0}else _+=i.i(y.a)(b,w,S,M,l,u);b=S,w=M}}return r||n(w,M)||(_+=i.i(y.a)(b,w,S,M,l,u)||0),0!==_}function u(t,e,i){return l(t,0,!1,e,i)}function c(t,e,i,n){return l(t,e,!0,i,n)}e.b=u,e.a=c;var h=i(224),d=i(715),p=i(1114),f=i(717),g=i(1113),v=i(159),y=i(719),m=h.a.CMD,x=2*Math.PI,_=1e-4,b=[-1,-1,-1],w=[-1,-1]},1116:function(t,e,i){"use strict";function n(t){var e=t[1][0]-t[0][0],i=t[1][1]-t[0][1];return Math.sqrt(e*e+i*i)}function r(t){return[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]}i.d(e,"a",function(){return o});var a=i(265),o=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,i){return this._doTrack(t,e,i),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,i){var n=t.touches;if(n){for(var r={points:[],touches:[],target:e,event:t},o=0,s=n.length;o1&&a&&a.length>1){var s=n(a)/n(o);!isFinite(s)&&(s=1),e.pinchScale=s;var l=r(a);return e.pinchX=l[0],e.pinchY=l[1],{type:"pinch",target:t[0].target,event:e}}}}}},1117:function(t,e,i){"use strict";var n=i(554),r=[0,0],a=[0,0],o=new n.a,s=new n.a,l=function(){function t(t,e){this._corners=[],this._axes=[],this._origin=[0,0];for(var i=0;i<4;i++)this._corners[i]=new n.a;for(var i=0;i<2;i++)this._axes[i]=new n.a;t&&this.fromBoundingRect(t,e)}return t.prototype.fromBoundingRect=function(t,e){var i=this._corners,r=this._axes,a=t.x,o=t.y,s=a+t.width,l=o+t.height;if(i[0].set(a,o),i[1].set(s,o),i[2].set(s,l),i[3].set(a,l),e)for(var u=0;u<4;u++)i[u].transform(e);n.a.sub(r[0],i[1],i[0]),n.a.sub(r[1],i[3],i[0]),r[0].normalize(),r[1].normalize();for(var u=0;u<2;u++)this._origin[u]=r[u].dot(i[0])},t.prototype.intersect=function(t,e){var i=!0,r=!e;return o.set(1/0,1/0),s.set(0,0),!this._intersectCheckOneSide(this,t,o,s,r,1)&&(i=!1,r)?i:!this._intersectCheckOneSide(t,this,o,s,r,-1)&&(i=!1,r)?i:(r||n.a.copy(e,i?o:s),i)},t.prototype._intersectCheckOneSide=function(t,e,i,o,s,l){for(var u=!0,c=0;c<2;c++){var h=this._axes[c];if(this._getProjMinMaxOnAxis(c,t._corners,r),this._getProjMinMaxOnAxis(c,e._corners,a),r[1]a[1]){if(u=!1,s)return u;var d=Math.abs(a[0]-r[1]),p=Math.abs(r[0]-a[1]);Math.min(d,p)>o.len()&&(dl&&(h=i+n,i*=l/h,n*=l/h),r+a>l&&(h=r+a,r*=l/h,a*=l/h),n+r>u&&(h=n+r,n*=u/h,r*=u/h),i+a>u&&(h=i+a,i*=u/h,a*=u/h),t.moveTo(o+i,s),t.lineTo(o+l-n,s),0!==n&&t.arc(o+l-n,s+n,n,-Math.PI/2,0),t.lineTo(o+l,s+u-r),0!==r&&t.arc(o+l-r,s+u-r,r,0,Math.PI/2),t.lineTo(o+a,s+u),0!==a&&t.arc(o+a,s+u-a,a,Math.PI/2,Math.PI),t.lineTo(o,s+i),0!==i&&t.arc(o+i,s+i,i,Math.PI,1.5*Math.PI)}e.a=n},1123:function(t,e,i){"use strict";function n(t,e,i,n,r,a,o,s){var l=i-t,u=n-e,c=o-r,h=s-a,d=h*l-c*u;if(!(d*dP*P+O*O&&(T=k,C=D),{cx:T,cy:C,x0:-c,y0:-h,x1:T*(r/S-1),y1:C*(r/S-1)}}function a(t){var e;if(i.i(s.j)(t)){var n=t.length;if(!n)return t;e=1===n?[t[0],t[0],0,0]:2===n?[t[0],t[0],t[1],t[1]]:3===n?t.concat(t[2]):t}else e=[t,t,t,t];return e}function o(t,e){var i,o=v(e.r,0),s=v(e.r0||0,0),x=o>0,_=s>0;if(x||_){if(x||(o=s,s=0),s>o){var b=o;o=s,s=b}var w=e.startAngle,S=e.endAngle;if(!isNaN(w)&&!isNaN(S)){var M=e.cx,I=e.cy,T=!!e.clockwise,C=f(S-w),k=C>u&&C%u;if(k>m&&(C=k),o>m)if(C>u-m)t.moveTo(M+o*h(w),I+o*c(w)),t.arc(M,I,o,w,S,!T),s>m&&(t.moveTo(M+s*h(S),I+s*c(S)),t.arc(M,I,s,S,w,T));else{var D=void 0,A=void 0,L=void 0,P=void 0,O=void 0,R=void 0,N=void 0,E=void 0,z=void 0,B=void 0,F=void 0,V=void 0,j=void 0,G=void 0,W=void 0,H=void 0,Y=o*h(w),U=o*c(w),q=s*h(S),X=s*c(S),Z=C>m;if(Z){var $=e.cornerRadius;$&&(i=a($),D=i[0],A=i[1],L=i[2],P=i[3]);var K=f(o-s)/2;if(O=y(K,L),R=y(K,P),N=y(K,D),E=y(K,A),F=z=v(O,R),V=B=v(N,E),(z>m||B>m)&&(j=o*h(S),G=o*c(S),W=s*h(w),H=s*c(w),Cm){var at=y(L,F),ot=y(P,F),st=r(W,H,Y,U,o,at,T),lt=r(j,G,q,X,o,ot,T);t.moveTo(M+st.cx+st.x0,I+st.cy+st.y0),F0&&t.arc(M+st.cx,I+st.cy,at,p(st.y0,st.x0),p(st.y1,st.x1),!T),t.arc(M,I,o,p(st.cy+st.y1,st.cx+st.x1),p(lt.cy+lt.y1,lt.cx+lt.x1),!T),ot>0&&t.arc(M+lt.cx,I+lt.cy,ot,p(lt.y1,lt.x1),p(lt.y0,lt.x0),!T))}else t.moveTo(M+Y,I+U),t.arc(M,I,o,w,S,!T);else t.moveTo(M+Y,I+U);if(s>m&&Z)if(V>m){var at=y(D,V),ot=y(A,V),st=r(q,X,j,G,s,-ot,T),lt=r(Y,U,W,H,s,-at,T);t.lineTo(M+st.cx+st.x0,I+st.cy+st.y0),V0&&t.arc(M+st.cx,I+st.cy,ot,p(st.y0,st.x0),p(st.y1,st.x1),!T),t.arc(M,I,s,p(st.cy+st.y1,st.cx+st.x1),p(lt.cy+lt.y1,lt.cx+lt.x1),T),at>0&&t.arc(M+lt.cx,I+lt.cy,at,p(lt.y1,lt.x1),p(lt.y0,lt.x0),!T))}else t.lineTo(M+q,I+X),t.arc(M,I,s,S,w,T);else t.lineTo(M+q,I+X)}else t.moveTo(M,I);t.closePath()}}}e.a=o;var s=i(3),l=Math.PI,u=2*l,c=Math.sin,h=Math.cos,d=Math.acos,p=Math.atan2,f=Math.abs,g=Math.sqrt,v=Math.max,y=Math.min,m=1e-4},1124:function(t,e,i){"use strict";function n(t,e,n,a){var o,s,l,u,c=[],h=[],d=[],p=[];if(a){l=[1/0,1/0],u=[-1/0,-1/0];for(var f=0,g=t.length;f=0&&(!f||!s||f[y]!==s[y]);y--);for(var m=v-1;m>y;m--)c--,o=u[c-1];for(var x=y+1;x=0&&(r=m)}}}),r){e.d=!1;var h=a(u,n);return r.replace(o,h)}}function s(t){return i.i(f.m)(t)?y[t]?"cubic-bezier("+y[t]+")":i.i(v.a)(t)?t:"":""}function l(t,e,l,c){var h=t.animators,v=h.length,y=[];if(t instanceof g.a){var _=o(t,e,l);if(_)y.push(_);else if(!v)return}else if(!v)return;for(var b={},w=0;w0}).length){return a(b,l)+" "+o[0]+" both"}}(b[k]);_&&y.push(_)}if(y.length){var D=l.zrId+"-cls-"+l.cssClassIdx++;l.cssNodes["."+D]={animation:y.join(",")},e.class=D}}e.a=l;var u=i(296),c=i(557),h=i(732),d=i(224),p=i(490),f=i(3),g=i(722),v=i(623),y={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},m="transform-origin",x={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"}},1131:function(t,e,i){"use strict";function n(t){return document.createTextNode(t)}function r(t,e,i){t.insertBefore(e,i)}function a(t,e){t.removeChild(e)}function o(t,e){t.appendChild(e)}function s(t){return t.parentNode}function l(t){return t.nextSibling}function u(t,e){t.textContent=e}e.b=n,e.c=r,e.e=a,e.a=o,e.d=s,e.f=l,e.g=u},1132:function(t,e,i){"use strict";function n(t){return t&&i.i(k.m)(t.src)}function r(t){return t&&i.i(k.a)(t.toDataURL)}function a(t,e,n,r){i.i(T.a)(function(a,o){var s="fill"===a||"stroke"===a;s&&i.i(_.e)(o)?y(e,t,a,r):s&&i.i(_.f)(o)?m(n,t,a,r):t[a]=o},e,n,!1),v(n,t,r)}function o(t){return i.i(_.g)(t[0]-1)&&i.i(_.g)(t[1])&&i.i(_.g)(t[2])&&i.i(_.g)(t[3]-1)}function s(t){return i.i(_.g)(t[4])&&i.i(_.g)(t[5])}function l(t,e,n){if(e&&(!s(e)||!o(e))){var r=n?10:1e4;t.transform=o(e)?"translate("+O(e[4]*r)/r+" "+O(e[5]*r)/r+")":i.i(_.h)(e)}}function u(t,e,i){for(var n=t.points,r=[],a=0;ay?(p=null==i[_+1]?null:i[_+1].elm,l(t,p,i,g,_)):u(t,e,f,y))}function d(t,e){var i=e.elm=t.elm,a=t.children,o=e.children;t!==e&&(c(t,e),n(e.text)?r(a)&&r(o)?a!==o&&h(i,a,o):r(o)?(r(t.text)&&v.g(i,""),l(i,null,o,0,o.length-1)):r(a)?u(i,a,0,a.length-1):r(t.text)&&v.g(i,""):t.text!==e.text&&(r(a)&&u(i,a,0,a.length-1),v.g(i,e.text)))}function p(t,e){if(o(t,e))d(t,e);else{var i=t.elm,n=v.d(i);s(e),null!==n&&(v.c(n,e.elm,v.f(i)),u(n,[t],0,0))}return e}e.a=c,e.b=p;var f=i(3),g=i(557),v=i(1131),y=58,m=120,x=i.i(g.d)("","")},1135:function(t,e,i){"use strict";function n(t,e,i){var n=t[e],r=t[1-e],a=Math.abs(n/r),o=Math.ceil(Math.sqrt(a*i)),s=Math.floor(i/o);0===s&&(s=1,o=i);for(var l=[],u=0;u0)for(var u=0;uMath.abs(c),d=n([u,c],h?0:1,e),p=(h?l:c)/d.length,f=0;fa,s=n([r,a],o?0:1,e),l=o?"width":"height",u=o?"height":"width",c=o?"x":"y",h=o?"y":"x",d=t[l]/s.length,p=0;p1?null:new x.a(v*u+t,v*c+e)}function l(t,e,i){var n=new x.a;x.a.sub(n,i,e),n.normalize();var r=new x.a;return x.a.sub(r,t,e),r.dot(n)}function u(t,e){var i=t[t.length-1];i&&i[0]===e[0]&&i[1]===e[1]||t.push(e)}function c(t,e,i){for(var n=t.length,r=[],a=0;as?(h.x=d.x=l+o/2,h.y=u,d.y=u+s):(h.y=d.y=u+s/2,h.x=l,d.x=l+o),c(e,h,d)}function d(t,e,i,n){if(1===i)n.push(e);else{var r=Math.floor(i/2),a=t(e);d(t,a[0],r,n),d(t,a[1],i-r,n)}return n}function p(t,e){for(var n=[],r=0;r0)for(var M=n/i,I=-n/2;I<=n/2;I+=M){for(var T=Math.sin(I),C=Math.cos(I),k=0,w=0;w0;l/=2){var u=0,c=0;(t&l)>0&&(u=1),(e&l)>0&&(c=1),s+=l*l*(3*u^c),0===c&&(1===u&&(t=l-1-t,e=l-1-e),o=t,t=e,e=o)}return s}function y(t){var e=1/0,n=1/0,r=-1/0,a=-1/0,o=i.i(M.p)(t,function(t){var i=t.getBoundingRect(),o=t.getComputedTransform(),s=i.x+i.width/2+(o?o[4]:0),l=i.y+i.height/2+(o?o[5]:0);return e=Math.min(s,e),n=Math.min(l,n),r=Math.max(s,r),a=Math.max(l,a),[s,l]});return i.i(M.p)(o,function(i,o){return{cp:i,z:v(i[0],i[1],e,n,r,a),path:t[o]}}).sort(function(t,e){return t.z-e.z}).map(function(t){return t.path})}function m(t){return i.i(k.a)(t.path,t.count)}function x(){return{fromIndividuals:[],toIndividuals:[],count:0}}function _(t,e,n){function r(t){for(var e=0;e0?parseInt(n,10)/100:n?parseFloat(n):0;var a={};p(i,a,a);var o=a.stopColor||i.getAttribute("stop-color")||"#000000";e.colorStops.push({offset:r,color:o})}i=i.nextSibling}}function a(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),i.i(k.t)(e.__inheritedStyle,t.__inheritedStyle))}function o(t){for(var e=h(t),i=[],n=0;n0;a-=2){var o=n[a],s=n[a-1],l=h(o);switch(r=r||T.a(),s){case"translate":T.b(r,r,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":T.c(r,r,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":T.h(r,r,-parseFloat(l[0])*G);break;case"skewX":var u=Math.tan(parseFloat(l[0])*G);T.e(r,[1,0,u,1,0,0],r);break;case"skewY":var c=Math.tan(parseFloat(l[0])*G);T.e(r,[1,c,0,1,0,0],r);break;case"matrix":r[0]=parseFloat(l[0]),r[1]=parseFloat(l[1]),r[2]=parseFloat(l[2]),r[3]=parseFloat(l[3]),r[4]=parseFloat(l[4]),r[5]=parseFloat(l[5])}}e.setLocalTransform(r)}}function p(t,e,n){var r=t.getAttribute("style");if(r){W.lastIndex=0;for(var a;null!=(a=W.exec(r));){var o=a[1],s=i.i(k.F)(O,o)?O[o]:null;s&&(e[s]=a[2]);var l=i.i(k.F)(N,o)?N[o]:null;l&&(n[l]=a[2])}}}function f(t,e,i){for(var n=0;n=4&&(p={x:parseFloat(v[0]||0),y:parseFloat(v[1]||0),width:parseFloat(v[2]),height:parseFloat(v[3])})}if(p&&null!=l&&null!=u&&(f=g(p,{x:0,y:0,width:l,height:u}),!e.ignoreViewBox)){var y=r;r=new m.a,r.add(y),y.scaleX=y.scaleY=f.scale,y.x=f.x,y.y=f.y}return e.ignoreRootClip||null==l||null==u||r.setClipPath(new b.a({shape:{x:0,y:0,width:l,height:u}})),{root:r,width:l,height:u,viewBoxRect:p,viewBoxTransform:f,named:a}},t.prototype._parseNode=function(t,e,n,r,a,o){var s,l=t.nodeName.toLowerCase(),u=r;if("defs"===l&&(a=!0),"text"===l&&(o=!0),"defs"===l||"switch"===l)s=e;else{if(!a){var c=y[l];if(c&&i.i(k.F)(y,l)){s=c.call(this,t,e);var h=t.getAttribute("name");if(h){var d={name:h,namedFrom:null,svgNodeTagLower:l,el:s};n.push(d),"g"===l&&(u=d)}else r&&n.push({name:r.name,namedFrom:r,svgNodeTagLower:l,el:s});e.add(s)}}var p=B[l];if(p&&i.i(k.F)(B,l)){var f=p.call(this,t),g=t.getAttribute("id");g&&(this._defs[g]=f)}}if(s&&s.isGroup)for(var v=t.firstChild;v;)1===v.nodeType?this._parseNode(v,s,n,u,a,o):3===v.nodeType&&o&&this._parseText(v,s),v=v.nextSibling},t.prototype._parseText=function(t,e){var i=new L.a({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});a(e,i),s(t,i,this._defsUsePending,!1,!1),l(i,e);var n=i.style,r=n.fontSize;r&&r<9&&(n.fontSize=9,i.scaleX*=r/9,i.scaleY*=r/9);var o=(n.fontSize||n.fontFamily)&&[n.fontStyle,n.fontWeight,(n.fontSize||12)+"px",n.fontFamily||"sans-serif"].join(" ");n.font=o;var u=i.getBoundingRect();return this._textX+=u.width,e.add(i),i},t.internalField=function(){y={g:function(t,e){var i=new m.a;return a(e,i),s(t,i,this._defsUsePending,!1,!1),i},rect:function(t,e){var i=new b.a;return a(e,i),s(t,i,this._defsUsePending,!1,!1),i.setShape({x:parseFloat(t.getAttribute("x")||"0"),y:parseFloat(t.getAttribute("y")||"0"),width:parseFloat(t.getAttribute("width")||"0"),height:parseFloat(t.getAttribute("height")||"0")}),i.silent=!0,i},circle:function(t,e){var i=new _.a;return a(e,i),s(t,i,this._defsUsePending,!1,!1),i.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),i.silent=!0,i},line:function(t,e){var i=new S.a;return a(e,i),s(t,i,this._defsUsePending,!1,!1),i.setShape({x1:parseFloat(t.getAttribute("x1")||"0"),y1:parseFloat(t.getAttribute("y1")||"0"),x2:parseFloat(t.getAttribute("x2")||"0"),y2:parseFloat(t.getAttribute("y2")||"0")}),i.silent=!0,i},ellipse:function(t,e){var i=new w.a;return a(e,i),s(t,i,this._defsUsePending,!1,!1),i.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),rx:parseFloat(t.getAttribute("rx")||"0"),ry:parseFloat(t.getAttribute("ry")||"0")}),i.silent=!0,i},polygon:function(t,e){var i,n=t.getAttribute("points");n&&(i=o(n));var r=new M.a({shape:{points:i||[]},silent:!0});return a(e,r),s(t,r,this._defsUsePending,!1,!1),r},polyline:function(t,e){var i,n=t.getAttribute("points");n&&(i=o(n));var r=new I.a({shape:{points:i||[]},silent:!0});return a(e,r),s(t,r,this._defsUsePending,!1,!1),r},image:function(t,e){var i=new x.a;return a(e,i),s(t,i,this._defsUsePending,!1,!1),i.setStyle({image:t.getAttribute("xlink:href")||t.getAttribute("href"),x:+t.getAttribute("x"),y:+t.getAttribute("y"),width:+t.getAttribute("width"),height:+t.getAttribute("height")}),i.silent=!0,i},text:function(t,e){var i=t.getAttribute("x")||"0",n=t.getAttribute("y")||"0",r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0";this._textX=parseFloat(i)+parseFloat(r),this._textY=parseFloat(n)+parseFloat(o);var l=new m.a;return a(e,l),s(t,l,this._defsUsePending,!1,!0),l},tspan:function(t,e){var i=t.getAttribute("x"),n=t.getAttribute("y");null!=i&&(this._textX=parseFloat(i)),null!=n&&(this._textY=parseFloat(n));var r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0",l=new m.a;return a(e,l),s(t,l,this._defsUsePending,!1,!0),this._textX+=parseFloat(r),this._textY+=parseFloat(o),l},path:function(t,e){var n=t.getAttribute("d")||"",r=i.i(C.b)(n);return a(e,r),s(t,r,this._defsUsePending,!1,!1),r.silent=!0,r}}}(),t}(),B={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||"0",10),i=parseInt(t.getAttribute("y1")||"0",10),a=parseInt(t.getAttribute("x2")||"10",10),o=parseInt(t.getAttribute("y2")||"0",10),s=new D.a(e,i,a,o);return n(t,s),r(t,s),s},radialgradient:function(t){var e=parseInt(t.getAttribute("cx")||"0",10),i=parseInt(t.getAttribute("cy")||"0",10),a=parseInt(t.getAttribute("r")||"0",10),o=new A.a(e,i,a);return n(t,o),r(t,o),o}},F=/^url\(\s*#(.*?)\)/,V=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g,j=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g,G=Math.PI/180,W=/([^\s:;]+)\s*:\s*([^:;]+)/g},1138:function(t,e,i){"use strict";function n(t,e){if(e){var n,r,c,h,d,p,f=t.data,g=t.len(),v=o.M,y=o.C,m=o.L,x=o.R,_=o.A,b=o.Q;for(c=0,h=0;c0){var f=d.duration,g=d.delay,v=d.easing,y={duration:f,delay:g||0,easing:v,done:s,force:!!s||!!l,setToFinal:!h,scope:t,during:l};c?e.animateFrom(r,y):e.animateTo(r,y)}else e.stopAnimation(),!c&&e.attr(r),l&&l(1),s&&s()}function a(t,e,i,n,a,o){r("update",t,e,i,n,a,o)}function o(t,e,i,n,a,o){r("enter",t,e,i,n,a,o)}function s(t){if(!t.__zr)return!0;for(var e=0;e=0||(d.push(t),i.i(u.a)(t)&&(t={install:t}),t.install(p))}e.a=n;var r=i(479),a=i(81),o=i(80),s=i(73),l=i(79),u=i(3),c=i(694),h=i(628),d=[],p={registerPreprocessor:r.b,registerProcessor:r.c,registerPostInit:r.d,registerPostUpdate:r.e,registerUpdateLifecycle:r.f,registerAction:r.a,registerCoordinateSystem:r.g,registerLayout:r.h,registerVisual:r.i,registerTransform:r.j,registerLoading:r.k,registerMap:r.l,registerImpl:c.b,PRIORITY:r.m,ComponentModel:s.a,ComponentView:a.a,SeriesModel:l.b,ChartView:o.a,registerComponentModel:function(t){s.a.registerClass(t)},registerComponentView:function(t){a.a.registerClass(t)},registerSeriesModel:function(t){l.b.registerClass(t)},registerChartView:function(t){o.a.registerClass(t)},registerSubTypeDefaulter:function(t,e){s.a.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){i.i(h.b)(t,e)}}},137:function(t,e,i){"use strict";function n(t){if(!i.i(p.b)(t))return d.m(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function r(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,function(t,e){return e.toUpperCase()}),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}function a(t){return null==t?"":(t+"").replace(v,function(t,e){return y[e]})}function o(t,e,r){function a(t){return t&&d.h(t)?t:"-"}function o(t){return!(null==t||isNaN(t)||!isFinite(t))}var s="time"===e,l=t instanceof Date;if(s||l){var u=s?i.i(p.f)(t):t;if(!isNaN(+u))return i.i(f.a)(u,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",r);if(l)return"-"}if("ordinal"===e)return d.o(t)?a(t):d.n(t)&&o(t)?t+"":"-";var c=i.i(p.g)(t);return o(c)?n(c):d.o(t)?a(t):"boolean"==typeof t?t+"":"-"}function s(t,e,i){d.j(e)||(e=[e]);var n=e.length;if(!n)return"";for(var r=e[0].$vars||[],o=0;o':'':{renderMode:o,content:"{"+(i.markerId||"markerX")+"|} ",style:"subItem"===r?{width:4,height:4,borderRadius:2,backgroundColor:n}:{width:10,height:10,borderRadius:5,backgroundColor:n}}:""}function c(t,e){return e=e||"transparent",d.m(t)?t:d.i(t)?t.colorStops&&(t.colorStops[0]||{}).color||e:e}function h(t,e){if("_blank"===e||"blank"===e){var i=window.open();i.opener=null,i.location.href=t}else window.open(t,e)}e.g=n,e.i=r,i.d(e,"f",function(){return g}),e.b=a,e.c=o,e.a=s,e.j=l,e.e=u,e.d=c,e.h=h;var d=i(3),p=i(22),f=i(549),g=(i(56),i(725),i(1062),d.E),v=/([&<>"'])/g,y={"&":"&","<":"<",">":">",'"':""","'":"'"},m=["a","b","c","d","e","f","g"],x=function(t,e){return"{"+t+(null==e?"":e)+"}"}},138:function(t,e,i){i(180);var n=i(0)(i(170),i(177),"data-v-66a6a066",null);t.exports=n.exports},139:function(t,e,i){"use strict";function n(){return[1,0,0,1,0,0]}function r(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function a(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function o(t,e,i){var n=e[0]*i[0]+e[2]*i[1],r=e[1]*i[0]+e[3]*i[1],a=e[0]*i[2]+e[2]*i[3],o=e[1]*i[2]+e[3]*i[3],s=e[0]*i[4]+e[2]*i[5]+e[4],l=e[1]*i[4]+e[3]*i[5]+e[5];return t[0]=n,t[1]=r,t[2]=a,t[3]=o,t[4]=s,t[5]=l,t}function s(t,e,i){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+i[0],t[5]=e[5]+i[1],t}function l(t,e,i){var n=e[0],r=e[2],a=e[4],o=e[1],s=e[3],l=e[5],u=Math.sin(i),c=Math.cos(i);return t[0]=n*c+o*u,t[1]=-n*u+o*c,t[2]=r*c+s*u,t[3]=-r*u+c*s,t[4]=c*a+u*l,t[5]=c*l-u*a,t}function u(t,e,i){var n=i[0],r=i[1];return t[0]=e[0]*n,t[1]=e[1]*r,t[2]=e[2]*n,t[3]=e[3]*r,t[4]=e[4]*n,t[5]=e[5]*r,t}function c(t,e){var i=e[0],n=e[2],r=e[4],a=e[1],o=e[3],s=e[5],l=i*o-a*n;return l?(l=1/l,t[0]=o*l,t[1]=-a*l,t[2]=-n*l,t[3]=i*l,t[4]=(n*s-o*r)*l,t[5]=(a*r-i*s)*l,t):null}function h(t){var e=n();return a(e,t),e}e.a=n,e.d=r,e.f=a,e.e=o,e.b=s,e.h=l,e.c=u,e.g=c,e.i=h},14:function(t,e,i){"use strict";function n(t){return P.a.extend(t)}function r(t,e){return st(t,e)}function a(t,e){ot[t]=e}function o(t){if(ot.hasOwnProperty(t))return ot[t]}function s(t,e,i,n){var r=D.b(t,e);return i&&("center"===n&&(i=u(i,r.getBoundingRect())),c(r,i)),r}function l(t,e,i){var n=new R.a({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===i){var r={width:t.width,height:t.height};n.setStyle(u(e,r))}}});return n}function u(t,e){var i,n=e.width/e.height,r=t.height*n;return r<=t.width?i=t.height:(r=t.width,i=r/n),{x:t.x+t.width/2-r/2,y:t.y+t.height/2-i/2,width:r,height:i}}function c(t,e){if(t.applyTransform){var i=t.getBoundingRect(),n=i.calculateTransform(e);t.applyTransform(n)}}function h(t){return tt.b(t.shape,t.shape,t.style),t}function d(t){return tt.a(t.shape,t.shape,t.style),t}function p(t,e){for(var i=A.d([]);t&&t!==e;)A.e(i,t.getLocalTransform(),i),t=t.parent;return i}function f(t,e,n){return e&&!i.i(et.s)(e)&&(e=O.a.getLocalTransform(e)),n&&(e=A.g([],e)),L.e([],t,e)}function g(t,e,i){var n=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),r=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),a=["left"===t?-n:"right"===t?n:0,"top"===t?-r:"bottom"===t?r:0];return a=f(a,e,i),Math.abs(a[0])>Math.abs(a[1])?a[0]>0?"right":"left":a[1]>0?"bottom":"top"}function v(t){return!t.isGroup}function y(t){return null!=t.shape}function m(t,e,n){function r(t){var e={x:t.x,y:t.y,rotation:t.rotation};return y(t)&&(e.shape=i.i(et.g)({},t.shape)),e}if(t&&e){var a=function(t){var e={};return t.traverse(function(t){v(t)&&t.anid&&(e[t.anid]=t)}),e}(t);e.traverse(function(t){if(v(t)&&t.anid){var e=a[t.anid];if(e){var o=r(t);t.attr(r(e)),i.i(nt.a)(t,o,n,i.i(it.a)(t).dataIndex)}}})}}function x(t,e){return i.i(et.p)(t,function(t){var i=t[0];i=rt(i,e.x),i=at(i,e.x+e.width);var n=t[1];return n=rt(n,e.y),n=at(n,e.y+e.height),[i,n]})}function _(t,e){var i=rt(t.x,e.x),n=at(t.x+t.width,e.x+e.width),r=rt(t.y,e.y),a=at(t.y+t.height,e.y+e.height);if(n>=i&&a>=r)return{x:i,y:r,width:n-i,height:a-r}}function b(t,e,n){var r=i.i(et.g)({rectHover:!0},e),a=r.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(a.image=t.slice(8),i.i(et.t)(a,n),new R.a(r)):s(t.replace("path://",""),r,n,"center")}function w(t,e,i,n,r){for(var a=0,o=r[r.length-1];a1)return!1;var v=M(p,f,c,h)/d;return!(v<0||v>1)}function M(t,e,i,n){return t*n-i*e}function I(t){return t<=1e-6&&t>=-1e-6}function T(t){var e=t.itemTooltipOption,n=t.componentModel,r=t.itemName,a=i.i(et.m)(e)?{formatter:e}:e,o=n.mainType,s=n.componentIndex,l={componentType:o,name:r,$vars:["name"]};l[o+"Index"]=s;var u=t.formatterParamsExtra;u&&i.i(et.d)(i.i(et.b)(u),function(t){i.i(et.F)(l,t)||(l[t]=u[t],l.$vars.push(t))});var c=i.i(it.a)(t.el);c.componentMainType=o,c.componentIndex=s,c.tooltipConfig={name:r,option:i.i(et.t)({content:r,formatterParams:l},a)}}function C(t,e){var i;t.isGroup&&(i=e(t)),i||t.traverse(e)}function k(t,e){if(t)if(i.i(et.j)(t))for(var n=0;n=0?parseFloat(t)/100*e:parseFloat(t):t}function c(t,e,i){var n=e.position||"inside",r=null!=e.distance?e.distance:5,a=i.height,o=i.width,s=a/2,l=i.x,c=i.y,h="left",d="top";if(n instanceof Array)l+=u(n[0],i.width),c+=u(n[1],i.height),h=null,d=null;else switch(n){case"left":l-=r,c+=s,h="right",d="middle";break;case"right":l+=r+o,c+=s,d="middle";break;case"top":l+=o/2,c-=r,h="center",d="bottom";break;case"bottom":l+=o/2,c+=a+r,h="center";break;case"inside":l+=o/2,c+=s,h="center",d="middle";break;case"insideLeft":l+=r,c+=s,d="middle";break;case"insideRight":l+=o-r,c+=s,h="right",d="middle";break;case"insideTop":l+=o/2,c+=r,h="center";break;case"insideBottom":l+=o/2,c+=a-r,h="center",d="bottom";break;case"insideTopLeft":l+=r,c+=r;break;case"insideTopRight":l+=o-r,c+=r,h="right";break;case"insideBottomLeft":l+=r,c+=a-r,d="bottom";break;case"insideBottomRight":l+=o-r,c+=a-r,h="right",d="bottom"}return t=t||{},t.x=l,t.y=c,t.align=h,t.verticalAlign=d,t}e.e=n,e.g=a,e.d=o,e.c=s,e.f=l,e.b=u,e.a=c;var h=i(74),d=i(529),p=i(166),f={}},149:function(t,e,i){"use strict";function n(t,e){var n=t.color||"#6e7079",r=t.fontSize||12,a=t.fontWeight||"400",o=t.color||"#464646",s=t.fontSize||14,l=t.fontWeight||"900";return"html"===e?{nameStyle:"font-size:"+i.i(x.b)(r+"")+"px;color:"+i.i(x.b)(n)+";font-weight:"+i.i(x.b)(a+""),valueStyle:"font-size:"+i.i(x.b)(s+"")+"px;color:"+i.i(x.b)(o)+";font-weight:"+i.i(x.b)(l+"")}:{nameStyle:{fontSize:r,fill:n,fontWeight:a},valueStyle:{fontSize:s,fill:o,fontWeight:l}}}function r(t,e){return e.type=t,e}function a(t){return"section"===t.type}function o(t){return a(t)?l:u}function s(t){if(a(t)){var e=0,n=t.blocks.length,r=n>1||n>0&&!t.noHeader;return i.i(_.d)(t.blocks,function(t){var i=s(t);i>=e&&(e=i+ +(r&&(!i||a(t)&&!t.noHeader)))}),e}return 0}function l(t,e,r,a){var l=e.noHeader,u=h(s(e)),c=[],p=e.blocks||[];i.i(_.l)(!p||i.i(_.j)(p)),p=p||[];var f=t.orderMode;if(e.sortBlocks&&f){p=p.slice();var v={valueAsc:"asc",valueDesc:"desc"};if(i.i(_.F)(v,f)){var y=new b.a(v[f],null);p.sort(function(t,e){return y.evaluate(t.sortParam,e.sortParam)})}else"seriesDesc"===f&&p.reverse()}i.i(_.d)(p,function(n,r){var s=e.valueFormatter,l=o(n)(s?i.i(_.g)(i.i(_.g)({},t),{valueFormatter:s}):t,n,r>0?u.html:0,a);null!=l&&c.push(l)});var m="richText"===t.renderMode?c.join(u.richText):d(c.join(""),l?r:u.html);if(l)return m;var w=i.i(x.c)(e.header,"ordinal",t.useUTC),M=n(a,t.renderMode).nameStyle;return"richText"===t.renderMode?g(t,w,M)+u.richText+m:d('
'+i.i(x.b)(w)+"
"+m,r)}function u(t,e,r,a){var o=t.renderMode,s=e.noName,l=e.noValue,u=!e.markerType,c=e.name,h=t.useUTC,y=e.valueFormatter||t.valueFormatter||function(t){return t=i.i(_.j)(t)?t:[t],i.i(_.p)(t,function(t,e){return i.i(x.c)(t,i.i(_.j)(w)?w[e]:w,h)})};if(!s||!l){var m=u?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",o),b=s?"":i.i(x.c)(c,"ordinal",h),w=e.valueType,S=l?[]:y(e.value),M=!u||!s,I=!u&&s,T=n(a,o),C=T.nameStyle,k=T.valueStyle;return"richText"===o?(u?"":m)+(s?"":g(t,b,C))+(l?"":v(t,S,M,I,k)):d((u?"":m)+(s?"":p(b,!u,C))+(l?"":f(S,M,I,k)),r)}}function c(t,e,i,n,r,a){if(t){return o(t)({useUTC:r,renderMode:i,orderMode:n,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,a)}}function h(t){return{html:M[t],richText:I[t]}}function d(t,e){return'
'+t+'
'}function p(t,e,n){return''+i.i(x.b)(t)+""}function f(t,e,n,r){var a=n?"10px":"20px",o=e?"float:right;margin-left:"+a:"";return t=i.i(_.j)(t)?t:[t],''+i.i(_.p)(t,function(t){return i.i(x.b)(t)}).join("  ")+""}function g(t,e,i){return t.markupStyleCreator.wrapRichTextStyle(e,i)}function v(t,e,n,r,a){var o=[a],s=r?10:20;return n&&o.push({padding:[0,0,0,s],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(i.i(_.j)(e)?e.join(" "):e,o)}function y(t,e){var n=t.getData().getItemVisual(e,"style"),r=n[t.visualDrawType];return i.i(x.d)(r)}function m(t,e){var i=t.get("padding");return null!=i?i:"richText"===e?[8,10]:10}e.b=r,e.d=c,e.a=y,e.e=m,i.d(e,"c",function(){return T});var x=i(137),_=i(3),b=i(323),w=i(22),S="line-height:1",M=[0,10,20,30],I=["","\n","\n\n","\n\n\n"],T=function(){function t(){this.richTextStyles={},this._nextStyleNameId=i.i(w.c)()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var r="richText"===n?this._generateStyleName():null,a=i.i(x.e)({color:e,type:t,renderMode:n,markerId:r});return i.i(_.m)(a)?a:(this.richTextStyles[r]=a.style,a.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};i.i(_.j)(e)?i.i(_.d)(e,function(t){return i.i(_.g)(n,t)}):i.i(_.g)(n,e);var r=this._generateStyleName();return this.richTextStyles[r]=n,"{"+r+"|"+t+"}"},t}()},150:function(t,e,i){"use strict";function n(t){return[t||"",u++].join("_")}function r(t){var e={};t.registerSubTypeDefaulter=function(t,n){var r=i.i(l.f)(t);e[r.main]=n},t.determineSubType=function(n,r){var a=r.type;if(!a){var o=i.i(l.f)(n).main;t.hasSubTypes(n)&&e[o]&&(a=e[o](r))}return a}}function a(t,e){function i(t){var i={},a=[];return s.d(t,function(o){var l=n(i,o),u=l.originalDeps=e(o),c=r(u,t);l.entryCount=c.length,0===l.entryCount&&a.push(o),s.d(c,function(t){s.f(l.predecessor,t)<0&&l.predecessor.push(t);var e=n(i,t);s.f(e.successor,t)<0&&e.successor.push(o)})}),{graph:i,noEntryList:a}}function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}function r(t,e){var i=[];return s.d(t,function(t){s.f(e,t)>=0&&i.push(t)}),i}t.topologicalTravel=function(t,e,n,r){function a(t){0===--u[t].entryCount&&c.push(t)}function o(t){h[t]=!0,a(t)}if(t.length){var l=i(e),u=l.graph,c=l.noEntryList,h={};for(s.d(t,function(t){h[t]=!0});c.length;){var d=c.pop(),p=u[d],f=!!h[d];f&&(n.call(r,d,p.originalDeps.slice()),delete h[d]),s.d(p.successor,f?o:a)}s.d(h,function(){var t="";throw new Error(t)})}}}function o(t,e){return s.G(s.G({},t,!0),e,!0)}e.a=n,e.b=r,e.c=a,e.d=o;var s=i(3),l=i(262),u=(i(56),Math.round(10*Math.random()))},159:function(t,e,i){"use strict";function n(t){return t>-w&&tw||t<-w}function a(t,e,i,n,r){var a=1-r;return a*a*(a*t+3*r*e)+r*r*(r*n+3*a*i)}function o(t,e,i,n,r){var a=1-r;return 3*(((e-t)*a+2*(i-e)*r)*a+(n-i)*r*r)}function s(t,e,i,r,a,o){var s=r+3*(e-i)-t,l=3*(i-2*e+t),u=3*(e-t),c=t-a,h=l*l-3*s*u,d=l*u-9*s*c,p=u*u-3*l*c,f=0;if(n(h)&&n(d))if(n(l))o[0]=0;else{var g=-u/l;g>=0&&g<=1&&(o[f++]=g)}else{var v=d*d-4*h*p;if(n(v)){var y=d/h,g=-l/s+y,m=-y/2;g>=0&&g<=1&&(o[f++]=g),m>=0&&m<=1&&(o[f++]=m)}else if(v>0){var x=b(v),w=h*l+1.5*s*(-d+x),S=h*l+1.5*s*(-d-x);w=w<0?-_(-w,I):_(w,I),S=S<0?-_(-S,I):_(S,I);var g=(-l-(w+S))/(3*s);g>=0&&g<=1&&(o[f++]=g)}else{var T=(2*h*l-3*s*d)/(2*b(h*h*h)),C=Math.acos(T)/3,k=b(h),D=Math.cos(C),g=(-l-2*k*D)/(3*s),m=(-l+k*(D+M*Math.sin(C)))/(3*s),A=(-l+k*(D-M*Math.sin(C)))/(3*s);g>=0&&g<=1&&(o[f++]=g),m>=0&&m<=1&&(o[f++]=m),A>=0&&A<=1&&(o[f++]=A)}}return f}function l(t,e,i,a,o){var s=6*i-12*e+6*t,l=9*e+3*a-3*t-9*i,u=3*e-3*t,c=0;if(n(l)){if(r(s)){var h=-u/s;h>=0&&h<=1&&(o[c++]=h)}}else{var d=s*s-4*l*u;if(n(d))o[0]=-s/(2*l);else if(d>0){var p=b(d),h=(-s+p)/(2*l),f=(-s-p)/(2*l);h>=0&&h<=1&&(o[c++]=h),f>=0&&f<=1&&(o[c++]=f)}}return c}function u(t,e,i,n,r,a){var o=(e-t)*r+t,s=(i-e)*r+e,l=(n-i)*r+i,u=(s-o)*r+o,c=(l-s)*r+s,h=(c-u)*r+u;a[0]=t,a[1]=o,a[2]=u,a[3]=h,a[4]=h,a[5]=c,a[6]=l,a[7]=n}function c(t,e,n,r,o,s,l,u,c,h,d){var p,f,g,v,y,m=.005,_=1/0;T[0]=c,T[1]=h;for(var w=0;w<1;w+=.05)C[0]=a(t,n,o,l,w),C[1]=a(e,r,s,u,w),(v=i.i(x.b)(T,C))<_&&(p=w,_=v);_=1/0;for(var M=0;M<32&&!(m=0&&v<_?(p=f,_=v):(k[0]=a(t,n,o,l,g),k[1]=a(e,r,s,u,g),y=i.i(x.b)(k,T),g<=1&&y<_?(p=g,_=y):m*=.5);return d&&(d[0]=a(t,n,o,l,p),d[1]=a(e,r,s,u,p)),b(_)}function h(t,e,i,n,r,o,s,l,u){for(var c=t,h=e,d=0,p=1/u,f=1;f<=u;f++){var g=f*p,v=a(t,i,r,s,g),y=a(e,n,o,l,g),m=v-c,x=y-h;d+=Math.sqrt(m*m+x*x),c=v,h=y}return d}function d(t,e,i,n){var r=1-n;return r*(r*t+2*n*e)+n*n*i}function p(t,e,i,n){return 2*((1-n)*(e-t)+n*(i-e))}function f(t,e,i,a,o){var s=t-2*e+i,l=2*(e-t),u=t-a,c=0;if(n(s)){if(r(l)){var h=-u/l;h>=0&&h<=1&&(o[c++]=h)}}else{var d=l*l-4*s*u;if(n(d)){var h=-l/(2*s);h>=0&&h<=1&&(o[c++]=h)}else if(d>0){var p=b(d),h=(-l+p)/(2*s),f=(-l-p)/(2*s);h>=0&&h<=1&&(o[c++]=h),f>=0&&f<=1&&(o[c++]=f)}}return c}function g(t,e,i){var n=t+i-2*e;return 0===n?.5:(t-e)/n}function v(t,e,i,n,r){var a=(e-t)*n+t,o=(i-e)*n+e,s=(o-a)*n+a;r[0]=t,r[1]=a,r[2]=s,r[3]=s,r[4]=o,r[5]=i}function y(t,e,n,r,a,o,s,l,u){var c,h=.005,p=1/0;T[0]=s,T[1]=l;for(var f=0;f<1;f+=.05){C[0]=d(t,n,a,f),C[1]=d(e,r,o,f);var g=i.i(x.b)(T,C);g=0&&g255?255:t}function r(t){return t=Math.round(t),t<0?0:t>360?360:t}function a(t){return t<0?0:t>1?1:t}function o(t){var e=t;return n(e.length&&"%"===e.charAt(e.length-1)?parseFloat(e)/100*255:parseInt(e,10))}function s(t){var e=t;return a(e.length&&"%"===e.charAt(e.length-1)?parseFloat(e)/100:parseFloat(e))}function l(t,e,i){return i<0?i+=1:i>1&&(i-=1),6*i<1?t+(e-t)*i*6:2*i<1?e:3*i<2?t+(e-t)*(2/3-i)*6:t}function u(t,e,i){return t+(e-t)*i}function c(t,e,i,n,r){return t[0]=e,t[1]=i,t[2]=n,t[3]=r,t}function h(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}function d(t,e){T&&h(T,e),T=I.put(t,T||e.slice())}function p(t,e){if(t){e=e||[];var i=I.get(t);if(i)return h(e,i);t+="";var n=t.replace(/ /g,"").toLowerCase();if(n in M)return h(e,M[n]),d(t,e),e;var r=n.length;if("#"!==n.charAt(0)){var a=n.indexOf("("),l=n.indexOf(")");if(-1!==a&&l+1===r){var u=n.substr(0,a),p=n.substr(a+1,l-(a+1)).split(","),g=1;switch(u){case"rgba":if(4!==p.length)return 3===p.length?c(e,+p[0],+p[1],+p[2],1):c(e,0,0,0,1);g=s(p.pop());case"rgb":return 3!==p.length?void c(e,0,0,0,1):(c(e,o(p[0]),o(p[1]),o(p[2]),g),d(t,e),e);case"hsla":return 4!==p.length?void c(e,0,0,0,1):(p[3]=s(p[3]),f(p,e),d(t,e),e);case"hsl":return 3!==p.length?void c(e,0,0,0,1):(f(p,e),d(t,e),e);default:return}}c(e,0,0,0,1)}else{if(4===r||5===r){var v=parseInt(n.slice(1,4),16);return v>=0&&v<=4095?(c(e,(3840&v)>>4|(3840&v)>>8,240&v|(240&v)>>4,15&v|(15&v)<<4,5===r?parseInt(n.slice(4),16)/15:1),d(t,e),e):void c(e,0,0,0,1)}if(7===r||9===r){var v=parseInt(n.slice(1,7),16);return v>=0&&v<=16777215?(c(e,(16711680&v)>>16,(65280&v)>>8,255&v,9===r?parseInt(n.slice(7),16)/255:1),d(t,e),e):void c(e,0,0,0,1)}}}}function f(t,e){var i=(parseFloat(t[0])%360+360)%360/360,r=s(t[1]),a=s(t[2]),o=a<=.5?a*(r+1):a+r-a*r,u=2*a-o;return e=e||[],c(e,n(255*l(u,o,i+1/3)),n(255*l(u,o,i)),n(255*l(u,o,i-1/3)),1),4===t.length&&(e[3]=t[3]),e}function g(t){if(t){var e,i,n=t[0]/255,r=t[1]/255,a=t[2]/255,o=Math.min(n,r,a),s=Math.max(n,r,a),l=s-o,u=(s+o)/2;if(0===l)e=0,i=0;else{i=u<.5?l/(s+o):l/(2-s-o);var c=((s-n)/6+l/2)/l,h=((s-r)/6+l/2)/l,d=((s-a)/6+l/2)/l;n===s?e=d-h:r===s?e=1/3+c-d:a===s&&(e=2/3+h-c),e<0&&(e+=1),e>1&&(e-=1)}var p=[360*e,i,u];return null!=t[3]&&p.push(t[3]),p}}function v(t,e){var i=p(t);if(i){for(var n=0;n<3;n++)i[n]=e<0?i[n]*(1-e)|0:(255-i[n])*e+i[n]|0,i[n]>255?i[n]=255:i[n]<0&&(i[n]=0);return b(i,4===i.length?"rgba":"rgb")}}function y(t,e,i){if(e&&e.length&&t>=0&&t<=1){i=i||[];var r=t*(e.length-1),o=Math.floor(r),s=Math.ceil(r),l=e[o],c=e[s],h=r-o;return i[0]=n(u(l[0],c[0],h)),i[1]=n(u(l[1],c[1],h)),i[2]=n(u(l[2],c[2],h)),i[3]=a(u(l[3],c[3],h)),i}}function m(t,e,i){if(e&&e.length&&t>=0&&t<=1){var r=t*(e.length-1),o=Math.floor(r),s=Math.ceil(r),l=p(e[o]),c=p(e[s]),h=r-o,d=b([n(u(l[0],c[0],h)),n(u(l[1],c[1],h)),n(u(l[2],c[2],h)),a(u(l[3],c[3],h))],"rgba");return i?{color:d,leftIndex:o,rightIndex:s,value:r}:d}}function x(t,e,i,n){var a=p(t);if(t)return a=g(a),null!=e&&(a[0]=r(e)),null!=i&&(a[1]=s(i)),null!=n&&(a[2]=s(n)),b(f(a),"rgba")}function _(t,e){var i=p(t);if(i&&null!=e)return i[3]=a(e),b(i,"rgba")}function b(t,e){if(t&&t.length){var i=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(i+=","+t[3]),e+"("+i+")"}}function w(t,e){var i=p(t);return i?(.299*i[0]+.587*i[1]+.114*i[2])*i[3]/255+(1-i[3])*e:0}e.c=p,e.a=v,e.e=y,e.h=m,e.f=x,e.g=_,e.d=b,e.b=w;var S=i(529),M={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]},I=new S.a(20),T=null},164:function(t,e,i){"use strict";var n,r,a,o,s,l,u,c=i(3),h=i(85),d=i(289),p=i(481),f=i(543),g=i(696),v=i(165),y=i(13),m=i(66),x=i(290),_=i(612),b=i(614),w=c.i,S=c.p,M="undefined"==typeof Int32Array?Array:Int32Array,I=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],T=["_approximateExtent"],C=function(){function t(t,e){this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var n,r=!1;i.i(b.a)(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(r=!0,n=t),n=n||["x","y"];for(var a={},o=[],s={},l=!1,u={},h=0;h=e)){var r=this._store,a=r.getProvider();this._updateOrdinalMeta();var o=this._nameList,s=this._idList;if(a.getSource().sourceFormat===v.g&&!a.pure)for(var l=[],c=t;c0},t.prototype.ensureUniqueItemVisual=function(t,e){var i=this._itemVisuals,n=i[t];n||(n=i[t]={});var r=n[e];return null==r&&(r=this.getVisual(e),c.j(r)?r=r.slice():w(r)&&(r=c.g({},r)),n[e]=r),r},t.prototype.setItemVisual=function(t,e,i){var n=this._itemVisuals[t]||{};this._itemVisuals[t]=n,w(e)?c.g(n,e):n[e]=i},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){w(t)?c.g(this._layout,t):this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,i){this._itemLayouts[t]=i?c.g(this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel&&this.hostModel.seriesIndex;i.i(m.b)(n,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){c.d(this._graphicEls,function(i,n){i&&t&&t.call(e,i,n)})},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:S(this.dimensions,this._getDimInfo,this),this.hostModel)),s(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var i=this[t];c.a(i)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=i.apply(this,arguments);return e.apply(this,[t].concat(c.P(arguments)))})},t.internalField=function(){n=function(t){var e=t._invertedIndicesMap;c.d(e,function(i,n){var r=t._dimInfos[n],a=r.ordinalMeta,o=t._store;if(a){i=e[n]=new M(a.categories.length);for(var s=0;s1&&(l+="__ec__"+c),n[e]=l}}}(),t}();e.a=C},165:function(t,e,i){"use strict";i.d(e,"i",function(){return r}),i.d(e,"g",function(){return a}),i.d(e,"b",function(){return o}),i.d(e,"e",function(){return s}),i.d(e,"f",function(){return l}),i.d(e,"a",function(){return u}),i.d(e,"h",function(){return c}),i.d(e,"c",function(){return h}),i.d(e,"d",function(){return d});var n=i(3),r=i.i(n.k)(["tooltip","label","itemName","itemId","itemGroupId","seriesName"]),a="original",o="arrayRows",s="objectRows",l="keyedColumns",u="typedArray",c="unknown",h="column",d="row"},166:function(t,e,i){"use strict";function n(t){for(var e in c)t[e]&&(c[e]=t[e])}i.d(e,"c",function(){return r}),i.d(e,"e",function(){return a}),i.d(e,"b",function(){return o}),i.d(e,"a",function(){return c}),e.d=n;var r=12,a="sans-serif",o=r+"px "+a,s=20,l=100,u=function(t){var e={};if("undefined"==typeof JSON)return e;for(var i=0;i=0)h=l*i.length;else for(var d=0;d0&&n>0||i<0&&n<0)}function l(t){var e=t.getLabelModel().get("formatter"),i="category"===t.type?t.scale.getExtent()[0]:null;return"time"===t.scale.type?function(e){return function(i,n){return t.scale.getFormattedLabel(i,n,e)}}(e):v.m(e)?function(e){return function(i){var n=t.scale.getLabel(i);return e.replace("{value}",null!=n?n:"")}}(e):v.a(e)?function(e){return function(n,r){return null!=i&&(r=n.value-i),e(u(t,n),r,null!=n.level?{level:n.level}:null)}}(e):function(e){return t.scale.getLabel(e)}}function u(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function c(t){var e=t.model,i=t.scale;if(e.get(["axisLabel","show"])&&!i.isBlank()){var n,r,a=i.getExtent();i instanceof y.a?r=i.count():(n=i.getTicks(),r=n.length);var o,s=t.getLabelModel(),u=l(t),c=1;r>40&&(c=Math.ceil(r/40));for(var d=0;dt[1]&&(t[1]=n[1])})}e.h=n,e.g=a,e.f=o,e.k=s,e.c=l,e.e=u,e.j=c,e.b=d,e.d=p,e.i=f,e.a=g;var v=i(3),y=i(706),m=i(483),x=i(523),_=i(545),b=i(74),w=i(707),S=i(1075),M=i(260),I=i(691)},197:function(t,e,i){"use strict";function n(t){return!!(t&&"string"!=typeof t&&t.width&&t.height)}var r=i(6),a=i(167),o=i(74),s=i(3),l=i.i(s.t)({x:0,y:0},a.a),u={style:i.i(s.t)({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},a.b.style)},c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.i(r.a)(e,t),e.prototype.createStyle=function(t){return i.i(s.u)(l,t)},e.prototype._getSize=function(t){var e=this.style,i=e[t];if(null!=i)return i;var r=n(e.image)?e.image:this.__image;if(!r)return 0;var a="width"===t?"height":"width",o=e[a];return null==o?r[t]:r[t]/r[a]*o},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return u},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new o.a(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(a.c);c.prototype.type="image",e.a=c},1992:function(t,e,i){"use strict";function n(){r=new a.a({el:"#app",render:function(t){return t(s.a)}})}Object.defineProperty(e,"__esModule",{value:!0});var r,a=i(20),o=i(5235),s=i.n(o);window.apiready=function(){n()}},219:function(t,e,i){"use strict";function n(t,e){var n,r=t.get("coordinateSystem"),a=p.a.get(r);return e&&e.coordSysDims&&(n=l.p(e.coordSysDims,function(t){var n={name:t},r=e.axisMap.get(t);if(r){var a=r.get("type");n.type=i.i(h.b)(a)}return n})),n||(n=a&&(a.getDimensionsInfo?a.getDimensionsInfo():a.dimensions.slice())||["x","y"]),n}function r(t,e,i){var n,r;return i&&l.d(t,function(t,a){var o=t.coordDim,s=i.categoryAxisMap.get(o);s&&(null==n&&(n=a),t.ordinalMeta=s.getOrdinalMeta(),e&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(r=!0)}),r||null==n||(t[n].otherDims.itemName=0),n}function a(t,e,a){a=a||{};var s,h=e.getSourceManager(),d=!1;t?(d=!0,s=i.i(g.b)(t)):(s=h.getSource(),d=s.sourceFormat===m.g);var p=i.i(f.a)(e),x=n(e,p),_=a.useEncodeDefaulter,b=l.a(_)?_:_?l.I(y.f,x,e):null,w={coordDimensions:x,generateCoord:a.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:b,canOmitUnusedDimensions:!d},S=i.i(c.a)(s,w),M=r(S.dimensions,a.createInvertedIndices,p),I=d?null:h.getSharedDataStore(S),T=i.i(v.c)(e,{schema:S,store:I}),C=new u.a(S,e);C.setCalculationInfo(T);var k=null!=M&&o(s)?function(t,e,i,n){return n===M?i:this.defaultDimValueGetter(t,e,i,n)}:null;return C.hasItemOption=!1,C.initData(d?s:I,null,k),C}function o(t){if(t.sourceFormat===m.g){var e=s(t.data||[]);return!l.j(i.i(d.g)(e))}}function s(t){for(var e=0;e0){if(t<=r)return o;if(t>=a)return s}else{if(t>=r)return o;if(t<=a)return s}else{if(t===r)return o;if(t===a)return s}return(t-r)/l*u+o}function a(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return T.m(t)?n(t).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t}function o(t,e,i){return null==e&&(e=10),e=Math.min(Math.max(0,e),k),t=(+t).toFixed(e),i?t:+t}function s(t){return t.sort(function(t,e){return t-e}),t}function l(t){if(t=+t,isNaN(t))return 0;if(t>1e-14)for(var e=1,i=0;i<15;i++,e*=10)if(Math.round(t*e)/e===t)return i;return u(t)}function u(t){var e=t.toString().toLowerCase(),i=e.indexOf("e"),n=i>0?+e.slice(i+1):0,r=i>0?i:e.length,a=e.indexOf("."),o=a<0?0:r-1-a;return Math.max(0,o-n)}function c(t,e){var i=Math.log,n=Math.LN10,r=Math.floor(i(t[1]-t[0])/n),a=Math.round(i(Math.abs(e[1]-e[0]))/n),o=Math.min(Math.max(-r+a,0),20);return isFinite(o)?o:20}function h(t,e,i){if(!t[e])return 0;var n=T.q(t,function(t,e){return t+(isNaN(e)?0:e)},0);if(0===n)return 0;for(var r=Math.pow(10,i),a=T.p(t,function(t){return(isNaN(t)?0:t)/n*r*100}),o=100*r,s=T.p(a,function(t){return Math.floor(t)}),l=T.q(s,function(t,e){return t+e},0),u=T.p(a,function(t,e){return t-s[e]});lc&&(c=u[d],h=d);++s[h],u[h]=0,++l}return s[e]/r}function d(t,e){var i=Math.max(l(t),l(e)),n=t+e;return i>k?n:o(n,i)}function p(t){var e=2*Math.PI;return(t%e+e)%e}function f(t){return t>-C&&t=10&&e++,e}function m(t,e){var i,n=y(t),r=Math.pow(10,n),a=t/r;return i=e?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,t=i*r,n>=-20?+t.toFixed(n<0?-n:0):t}function x(t,e){var i=(t.length-1)*e+1,n=Math.floor(i),r=+t[n-1],a=i-n;return a?r+a*(t[n]-r):r}function _(t){function e(t,i,n){return t.interval[n]=S?a=i+S:e&&i-a>=S?a=i-S:!e&&i>a?a=i+(S-n(i-a)):e&&i0&&(this._ux=b(i/s.e/t)||0,this._uy=b(i/s.e/e)||0)},t.prototype.setDPR=function(t){this.dpr=t},t.prototype.setContext=function(t){this._ctx=t},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(c.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},t.prototype.lineTo=function(t,e){var i=b(t-this._xi),n=b(e-this._yi),r=i>this._ux||n>this._uy;if(this.addData(c.L,t,e),this._ctx&&r&&this._ctx.lineTo(t,e),r)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var a=i*i+n*n;a>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=a)}return this},t.prototype.bezierCurveTo=function(t,e,i,n,r,a){return this._drawPendingPt(),this.addData(c.C,t,e,i,n,r,a),this._ctx&&this._ctx.bezierCurveTo(t,e,i,n,r,a),this._xi=r,this._yi=a,this},t.prototype.quadraticCurveTo=function(t,e,i,n){return this._drawPendingPt(),this.addData(c.Q,t,e,i,n),this._ctx&&this._ctx.quadraticCurveTo(t,e,i,n),this._xi=i,this._yi=n,this},t.prototype.arc=function(t,e,i,n,a,o){this._drawPendingPt(),I[0]=n,I[1]=a,r(I,o),n=I[0],a=I[1];var s=a-n;return this.addData(c.A,t,e,i,i,n,s,0,o?0:1),this._ctx&&this._ctx.arc(t,e,i,n,a,o),this._xi=x(a)*i+t,this._yi=_(a)*i+e,this},t.prototype.arcTo=function(t,e,i,n,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,i,n,r),this},t.prototype.rect=function(t,e,i,n){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,i,n),this.addData(c.R,t,e,i,n),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(c.Z);var t=this._ctx,e=this._x0,i=this._y0;return t&&t.closePath(),this._xi=e,this._yi=i,this},t.prototype.fill=function(t){t&&t.fill(),this.toStatic()},t.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},t.prototype.len=function(){return this._len},t.prototype.setData=function(t){var e=t.length;this.data&&this.data.length===e||!M||(this.data=new Float32Array(e));for(var i=0;iu.length&&(this._expandData(),u=this.data);for(var c=0;c0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e11&&(this.data=new Float32Array(t)))}},t.prototype.getBoundingRect=function(){p[0]=p[1]=g[0]=g[1]=Number.MAX_VALUE,f[0]=f[1]=v[0]=v[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,r=0,s=0,u=0;for(t=0;tn||b(C)>r||f===e-1)&&(w=Math.sqrt(T*T+C*C),a=M,o=I);break;case c.C:var k=t[f++],D=t[f++],M=t[f++],I=t[f++],A=t[f++],L=t[f++];w=i.i(u.i)(a,o,k,D,M,I,A,L,10),a=A,o=L;break;case c.Q:var k=t[f++],D=t[f++],M=t[f++],I=t[f++];w=i.i(u.j)(a,o,k,D,M,I,10),a=M,o=I;break;case c.A:var P=t[f++],O=t[f++],R=t[f++],N=t[f++],E=t[f++],z=t[f++],B=z+E;f+=1;t[f++];v&&(s=x(E)*R+P,l=_(E)*N+O),w=m(R,N)*y(S,Math.abs(z)),a=x(B)*R+P,o=_(B)*N+O;break;case c.R:s=a=t[f++],l=o=t[f++];w=2*t[f++]+2*t[f++];break;case c.Z:var T=s-a,C=l-o;w=Math.sqrt(T*T+C*C),a=s,o=l}w>=0&&(h[p++]=w,d+=w)}return this._pathLen=d,d},t.prototype.rebuildPath=function(t,e){var n,r,a,o,s,l,p,f,g,v,w,S=this.data,M=this._ux,I=this._uy,T=this._len,C=e<1,k=0,D=0,A=0;if(!C||(this._pathSegLen||this._calculateLength(),p=this._pathSegLen,f=this._pathLen,g=e*f))t:for(var L=0;L0&&(t.lineTo(v,w),A=0),P){case c.M:n=a=S[L++],r=o=S[L++],t.moveTo(a,o);break;case c.L:s=S[L++],l=S[L++];var R=b(s-a),N=b(l-o);if(R>M||N>I){if(C){var E=p[D++];if(k+E>g){var z=(g-k)/E;t.lineTo(a*(1-z)+s*z,o*(1-z)+l*z);break t}k+=E}t.lineTo(s,l),a=s,o=l,A=0}else{var B=R*R+N*N;B>A&&(v=s,w=l,A=B)}break;case c.C:var F=S[L++],V=S[L++],j=S[L++],G=S[L++],W=S[L++],H=S[L++];if(C){var E=p[D++];if(k+E>g){var z=(g-k)/E;i.i(u.k)(a,F,j,W,z,h),i.i(u.k)(o,V,G,H,z,d),t.bezierCurveTo(h[1],d[1],h[2],d[2],h[3],d[3]);break t}k+=E}t.bezierCurveTo(F,V,j,G,W,H),a=W,o=H;break;case c.Q:var F=S[L++],V=S[L++],j=S[L++],G=S[L++];if(C){var E=p[D++];if(k+E>g){var z=(g-k)/E;i.i(u.l)(a,F,j,z,h),i.i(u.l)(o,V,G,z,d),t.quadraticCurveTo(h[1],d[1],h[2],d[2]);break t}k+=E}t.quadraticCurveTo(F,V,j,G),a=j,o=G;break;case c.A:var Y=S[L++],U=S[L++],q=S[L++],X=S[L++],Z=S[L++],$=S[L++],K=S[L++],Q=!S[L++],J=q>X?q:X,tt=b(q-X)>.001,et=Z+$,it=!1;if(C){var E=p[D++];k+E>g&&(et=Z+$*(g-k)/E,it=!0),k+=E}if(tt&&t.ellipse?t.ellipse(Y,U,q,X,K,Z,et,Q):t.arc(Y,U,J,Z,et,Q),it)break t;O&&(n=x(Z)*q+Y,r=_(Z)*X+U),a=x(et)*q+Y,o=_(et)*X+U;break;case c.R:n=a=S[L],r=o=S[L+1],s=S[L++],l=S[L++];var nt=S[L++],rt=S[L++];if(C){var E=p[D++];if(k+E>g){var at=g-k;t.moveTo(s,l),t.lineTo(s+y(at,nt),l),at-=nt,at>0&&t.lineTo(s+nt,l+y(at,rt)),at-=rt,at>0&&t.lineTo(s+m(nt-at,0),l+rt),at-=nt,at>0&&t.lineTo(s,l+m(rt-at,0));break t}k+=E}t.rect(s,l,nt,rt);break;case c.Z:if(C){var E=p[D++];if(k+E>g){var z=(g-k)/E;t.lineTo(a*(1-z)+n*z,o*(1-z)+r*z);break t}k+=E}t.closePath(),a=n,o=r}}},t.prototype.clone=function(){var e=new t,i=this.data;return e.data=i.slice?i.slice():Array.prototype.slice.call(i),e._len=this._len,e},t.CMD=c,t.initDefaultProps=function(){var e=t.prototype;e._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0}(),t}();e.a=T},228:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(15),r=i.n(n),a=i(5),o=i.n(a);e.default={name:"L1appWidgetCascader",data:function(){return{cascaderValue:"",cascaderText:"",queryData:{},currentItem:null,emptyDesc:"暂无数据",emptyImage:"default"}},props:{data:{type:Object/Array},title:{type:String,default:""},model:{type:String,default:""}},computed:{isConfirmText:function(){return this.data.value==this.data.children[0].initValue?"全部":this.data.title}},mounted:function(){this.init()},methods:{handleClick:function(t){console.log("text :>> ",t)},handleReset:function(){this.currentItem=null,this.$set(this.data,"value",this.data.initValue||""),this.$set(this.data,"title",""),this.$emit("reset")},hadnleChange:function(t){var e=t.value,i=t.selectedOptions,n=t.tabIndex;console.log("change item :>>>>>>>>>>>>>>>>>>>>>",o()(e)),console.log("change selectedOptions :>>>>>>>>>>>>>>>>>>>>>",o()(i)),console.log("change tabIndex :>>>>>>>>>>>>>>>>>>>>>",o()(n)),this.currentItem=i[n],this.$set(this.data,"value",e),this.$set(this.data,"title",this.currentItem.text)},handleSelect:function(){var t=this.currentItem,e=this.data.title,i=this.data.value;this.$emit("confirm",t,e,i)},init:function(){if(this.queryData=this.data.children[0],this.queryData.selectOptions.hasOwnProperty("optionsApi")){var t=this,e=this.queryData.selectOptions.hasOwnProperty("requestbody")?this.queryData.selectOptions.requestbody:{};e=r()({token:$lj.token},e),$lj.postLJRequest(this.queryData.selectOptions.optionsApi,e,function(e){e&&(t.emptyDesc="暂无数据",t.emptyImage="default",t.$set(t.queryData.selectOptions,"options",e[t.queryData.selectOptions.resultName]))},function(e){t.emptyDesc="网络错误",t.emptyImage="network",t.$set(t.queryData.selectOptions,"options",[])},!0)}}}}},229:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(15),r=i.n(n),a=i(5),o=i.n(a),s=i(19),l=i.n(s);e.default={name:"LjWidgetRadio",components:{"radio-cell":{props:{option:String/Object,valueMap:Object,activeStatus:String/Number,queryType:String,value:Object,property:String},filters:{filterEmpty:function(t){return""==t?"(空)":t}},render:function(t){var e=this,i=this,n=this.option,r=void 0,a=this.activeStatus;this.value.hasOwnProperty(this.property)&&(a=this.value[this.property]);var o=n[this.valueMap.value]===a,s=o&&"radio1"==this.queryType?t("i",{class:{iconfont:!0,"icon-tongyi":!0}}):null;return"object"==(void 0===n?"undefined":l()(n))?r=t("van-cell",{class:{radion_item:!0,selected:o},on:{click:function(){i.$emit("confirm",n)}},scopedSlots:{title:function(i){return t("div",{class:{"text-ellipsis-one":!0},domProps:{innerHTML:n[e.valueMap.text]}})},default:function(t){return s}}}):"string"==typeof n&&(r=t("van-cell",{class:{radion_item:!0,selected:n===this.activeStatus},on:{click:function(){i.$emit("confirm",n)}},scopedSlots:{title:function(i){return t("div",{class:{"text-ellipsis-one":!0}},[e.$options.filters.filterEmpty(n)])}}})),r}}},data:function(){return{queryData:{},emptyDesc:"暂无数据",emptyImage:"default"}},props:{data:{type:Object/Array},title:{type:String,default:""},model:{type:String,default:""},activeItem:{type:String/Number,default:""},resetBtn:{type:Boolean,default:!1},value:{type:Object}},computed:{isWidgetClsName:function(){var t="";switch(this.queryData.type){case"radio1":t="single-cell";break;case"radio2":t="double-cell round";break;case"radio3":t="treble-cell round";break;case"radioFree":t="free-cell round"}return t},isLoading:function(){return!this.queryData.hasOwnProperty("selectOptions")||!this.queryData.selectOptions.hasOwnProperty("options")},isGetCurrentValue:function(){return this.value.hasOwnProperty(this.data.property)?this.value[this.data.property]:this.activeItem}},mounted:function(){this.init()},methods:{handleSelect:function(t){if("object"==(void 0===t?"undefined":l()(t))){console.log("handleSelect item :>>>>>>>>>>>>>>>>>>>>>",o()(t));var e=t[this.queryData.selectOptions.valueMap.text],i=t[this.queryData.selectOptions.valueMap.value];this.$emit("confirm",t,e,i)}else"string"==typeof t&&this.$emit("confirm",t,t,t)},init:function(){this.queryData=this.data.children[0];var t=this.queryData.selectOptions;if(t.hasOwnProperty("optionsApi")){var e=this,i=t.hasOwnProperty("requestbody")?t.requestbody:{};i=r()({token:$lj.token},i),$lj.postLJRequest(t.optionsApi,i,function(t){t&&(e.emptyDesc="暂无数据",e.emptyImage="default",e.$set(e.queryData.selectOptions,"options",t[e.queryData.selectOptions.resultName]))},function(t){e.emptyDesc="网络错误",e.emptyImage="network",e.$set(e.queryData.selectOptions,"options",[])},!0)}},handleRetry:function(){console.warn(" 重置!!! :>>>>>>>>>>>>>>>>>>>>>"),delete this.queryData.selectOptions.options,this.init()},handleReset:function(){this.$emit("reset")}}}},230:function(t,e,i){e=t.exports=i(1)(),e.push([t.i,".filtrate-widget-cascader{display:flex;flex-direction:column;border-bottom-left-radius:8px;border-bottom-right-radius:8px;overflow:hidden}.filtrate-widget-cascader .van-cascader__header{display:none}.filtrate-widget-cascader .loading-part{position:relative;min-height:30vh}.filtrate-widget-cascader .widget-loading{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.filtrate-widget-cascader .main-part{flex:1;overflow:hidden}.filtrate-widget-cascader .main-part .van-tabs__nav{background-color:#f8f8f8}.filtrate-widget-cascader .main-part .van-cascader__options{height:30vh;min-height:30vh}.filtrate-widget-cascader .footer{flex-shrink:0;display:flex;margin:5px 10px}.filtrate-widget-cascader .footer .van-button+.van-button{margin-left:10px}.filtrate-widget-cascader .footer .iconfont{font-size:14px}.filtrate-widget-cascader .footer .btn-reset{border-color:transparent;color:rgba(60,60,67,.6)}",""])},231:function(t,e,i){e=t.exports=i(1)(),e.push([t.i,".filtrate-widget-double{display:flex;flex-direction:column;padding:8px 10px}.filtrate-widget-double .filtrate-header{font-size:16px;font-weight:700;padding:4px 0}.filtrate-widget-double.round .van-cell{display:inline-block;margin:1px 3px;padding:6px 12px;border-radius:18px;background-color:#f2f2f2;text-align:center}.filtrate-widget-double.single-cell{padding-left:0;padding-right:0}.filtrate-widget-double.single-cell .main-part .selected{background-color:unset;color:#2196f3;border:1px solid transparent;box-shadow:unset}.filtrate-widget-double.single-cell .main-part .selected .iconfont{font-size:13px;color:#2196f3}.filtrate-widget-double.double-cell .van-cell{width:-moz-calc(50% - 6px);width:-webkit-calc(50% - 6px);width:calc(50% - 6px)}.filtrate-widget-double.treble-cell .van-cell{width:-moz-calc(33.33% - 6px);width:-webkit-calc(33.33% - 6px);width:calc(33.33% - 6px)}.filtrate-widget-double.free-cell .van-cell{width:auto}.filtrate-widget-double .loading-part{position:relative;min-height:30vh}.filtrate-widget-double .widget-loading{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.filtrate-widget-double .main-part{flex:1;max-height:50vh;overflow:auto}.filtrate-widget-double .main-part .radion_item{border:1px solid transparent}.filtrate-widget-double .main-part .selected{background-color:#ddefff;color:#2196f3;border:1px solid #2196f3;box-shadow:0 4px 4px 0 rgba(33,150,243,.04),0 0 6px 0 rgba(33,150,243,.12)}.filtrate-widget-double .footer{flex-shrink:0;display:flex;margin:5px 10px}.filtrate-widget-double .footer .van-button+.van-button{margin-left:10px}.filtrate-widget-double .footer .iconfont{font-size:14px}.filtrate-widget-double .footer .btn-reset{border-color:transparent;color:rgba(60,60,67,.6)}",""])},232:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"filtrate-widget-cascader"},[t.queryData.hasOwnProperty("selectOptions")&&t.queryData.selectOptions.hasOwnProperty("options")&&t.queryData.selectOptions.options.length?[t.queryData.selectOptions.options.length?[i("van-cascader",{staticClass:"main-part",attrs:{closeable:!1,options:t.queryData.selectOptions.options,"active-color":"#1989fa","field-names":t.queryData.selectOptions.valueMap},on:{click:t.handleClick,change:t.hadnleChange,finish:t.handleSelect},model:{value:t.data.value,callback:function(e){t.$set(t.data,"value",e)},expression:"data.value"}}),t._v(" "),i("footer",{staticClass:"footer"},[i("van-button",{staticClass:"btn-reset",attrs:{round:"",block:""},on:{click:t.handleReset}},[i("i",{staticClass:"iconfont icon-reset_light",attrs:{solt:"icon"}}),t._v("\n 重置\n ")]),t._v(" "),i("van-button",{attrs:{type:"info",block:"",round:""},on:{click:t.handleSelect}},[t._v("\n "+t._s(t.isConfirmText)+"\n ")])],1)]:[i("van-empty",{staticClass:"refresh-empty",attrs:{image:t.emptyImage,description:t.emptyDesc}})]]:i("div",{staticClass:"loading-part"},[i("van-loading",{staticClass:"widget-loading",attrs:{size:"24px",vertical:"",color:"#2196f3"}},[t._v("加载中...")])],1)],2)},staticRenderFns:[]}},233:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"filtrate-widget-double",class:t.isWidgetClsName},["bottomFilter"==t.model&&t.title?i("header",{staticClass:"filtrate-header",on:{click:t.handleRetry}},[t._v("\n "+t._s(t.title)+"\n "),t.isLoading||!t.queryData.selectOptions.hasOwnProperty("options")||t.queryData.selectOptions.options.length?t._e():i("i",{staticClass:"iconfont icon-reset_light"})]):t._e(),t._v(" "),t.isLoading?i("div",{staticClass:"loading-part"},[i("van-loading",{staticClass:"widget-loading",attrs:{size:"24px",vertical:"",color:"#2196f3"}},[t._v("加载中...")])],1):[t.queryData.selectOptions.options.length?[i("div",{staticClass:"main-part"},t._l(t.queryData.selectOptions.options,function(e,n){return i("radio-cell",{key:n,attrs:{option:e,queryType:t.queryData.type,valueMap:t.queryData.selectOptions.valueMap,activeStatus:t.activeItem,value:t.value,property:t.queryData.property},on:{confirm:t.handleSelect}})}),1),t._v(" "),t.resetBtn?i("footer",{staticClass:"footer"},[i("van-button",{staticClass:"btn-reset",attrs:{size:"small",round:"",block:""},on:{click:t.handleReset}},[i("i",{staticClass:"iconfont icon-reset_light",attrs:{solt:"icon"}}),t._v("\n 重置\n ")])],1):t._e()]:[i("van-empty",{staticClass:"refresh-empty",attrs:{image:t.emptyImage,description:t.emptyDesc}})]]],2)},staticRenderFns:[]}},234:function(t,e,i){var n=i(230);"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);i(2)("6bd61dd3",n,!0)},235:function(t,e,i){var n=i(231);"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);i(2)("71d2cce7",n,!0)},2585:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(15),r=i.n(n),a=i(5),o=i.n(a),s=i(7),l=i.n(s),u=i(761),c=i.n(u),h=i(264),d=i.n(h),p=i(342),f=i.n(p),g=i(1259),v=i.n(g),y=i(796),m=i(776),x=i.n(m),_=i(138),b=i.n(_),w=i(5236),S=i.n(w),M=i(301),I=i.n(M),T=(new Date).getFullYear(),C=(new Date).getMonth()+1,k=C<10?T+"0"+C:T+C;e.default={components:{LjWinReportNew:c.a,LjTabsQuick:d.a,LjImgPro:f.a,Countup:v.a,RpSummaryItem:x.a,LjTagDouble:b.a,RpSptItem:S.a,LjToTop:I.a},data:function(){return{waitcount:0,winMode:"",apiName:"GetL1APPRpTaskReceive",allData:{eamtNow:0,qkamt3:0,qkamt2:0,qkamt1:0,qkamt:0,nokpamt:0,nokpamtNotax:0,nowriteoffamt:0,wagemthAmt:{amt_all:0,amt_yet:0,qkamt:0},nextAmt1:{amt_all:0,amt_yet:0,qkamt:0},nextAmt2:{amt_all:0,amt_yet:0,qkamt:0},nextAmt3:{amt_all:0,amt_yet:0,qkamt:0},taskpayChart:{labels:[],datasets:[]},custList:[]},currentQueryField:{},currentPageIndex:1,currentPageSize:20,currentAccount:{cusid:0,cusname:""},ifrefresh:1,modelLoading:!1,listFinished:!1,listError:!1,userInfo:{cusid:-1,cusname:"全部客户"},queryHardParms:{scid:-1},queryQuick:[{title:"年月",property:"wagemth",type:"year-month",initValue:k,selectOptions:{}}],eChart:null,power6425:!1,offsetTop:24,scrollFixed:!1,yaerColumns:[],showPopover:!1,echartLoading:!1,ifChart:0,ifTasklist:0,taskTabsActive:"all_eamt",taskSptTabs:[{title:"总",name:"all_eamt",sort:[{title:"客户",cls:"flex-1"},{title:"欠款",value:"eamt",cls:"flex_shrink-0"}]},{title:"超期",name:"all_last",fillter:[{title:"3个月及以上",value:2,suffix:"3"},{title:"2个月内",value:1,suffix:"2"},{title:"1个月内",value:0,suffix:"1"}],sort:[{title:"客户",cls:"flex-1"},{title:"欠款",value:"Qkamt",cls:"flex_shrink-0"}]},{title:"当月",name:"all_current",sort:[{title:"应收",value:"amt1",cls:"flex-1"},{title:"已收",value:"amt2",cls:"flex_shrink-0"},{title:"欠款",value:"qkamt",cls:"flex_shrink-0"}]},{title:"预期",name:"all_next",fillter:[{title:"1个月内",value:0,suffix:"_next1"},{title:"2个月内",value:1,suffix:"_next2"},{title:"3个月及以上",value:2,suffix:"_next3"}],sort:[{title:"应收",value:"amt1",cls:"flex-1"},{title:"已收",value:"amt2",cls:"flex_shrink-0"},{title:"欠款",value:"qkamt",cls:"flex_shrink-0"}]}],taskTabsStickyTop:0,listStyle:"",listStyleQuery:-1,listSort:"eamt DESC",tabsLoading:!1,tasklistMaxVal:0,taskSort:""}},created:function(){this.currentAccount={cusid:-1,cusname:"全部客户"},this.listStyle=this.taskTabsActive,this.autoSetTasklistMaxVal(),this.currentQueryField.chartyear=(new Date).getFullYear(),this.currentQueryField.wagemth=k,this.yaerColumns=[];for(var t=0;t<3;t++)this.yaerColumns.push(this.currentQueryField.chartyear-t)},mounted:function(){window.addEventListener("scroll",this.windowScroll)},methods:{handleTaskListSelSpt:function(t){var e={cusid:t.cusid,cusname:t.cusname},i=this.currentQueryField.wagemth,n=new Date(i.toString().substring(0,4),Number(i.toString().substring(4,6))-1),r=void 0,a=void 0;switch(this.listStyle){case"all_last":switch(this.listStyleQuery){case 0:r=n.getMonth()+1-1,a=new Date(n.setMonth(r-1)).getFullYear(),i=r<10?a+"0"+r:a+r;break;case 1:r=n.getMonth()+1-2,a=new Date(n.setMonth(r-1)).getFullYear(),i=r<10?a+"0"+r:a+r;break;case 2:r=n.getMonth()+1-3,a=new Date(n.setMonth(r-1)).getFullYear(),i=r<10?a+"0"+r:a+r}break;case"all_next":switch(this.listStyleQuery){case 0:r=n.getMonth()+1+1,a=new Date(n.setMonth(r-1)).getFullYear(),i=r<10?a+"0"+r:a+r;break;case 1:r=n.getMonth()+1+2,a=new Date(n.setMonth(r-1)).getFullYear(),i=r<10?a+"0"+r:a+r;break;case 2:r=n.getMonth()+1+3,a=new Date(n.setMonth(r-1)).getFullYear(),i=r<10?a+"0"+r:a+r}}var o={listStyle:"mx_all",cusid:t.cusid,listStyleQuery:-1,wagemth:i};$lj.openWin("rp-in-cust",{mainObject:o,currentAccount:e})},handleSpt:function(){var t=this;$lj.removeEventListener("cust_select"),$lj.addEventListener("cust_select",function(e){if(e.value){var i=e.value;if(i.cusid){var n={cusid:i.cusid,cusname:i.name};setTimeout(function(){t.handleTaskListSelSpt(n)},500)}}}),$lj.openWin("cust",{winMode:"single-select"})},handleTaskTabsSort:function(t,e){if(t.hasOwnProperty("value")&&!this.tabsLoading){var i=[],n=this.listSort.split(" "),r=n[n.length-1];if(e)if(-1==this.listStyleQuery){var a=!0,o=!1,s=void 0;try{for(var u,c=l()(e);!(a=(u=c.next()).done);a=!0){var h=u.value;i.push(t.value+h.suffix)}}catch(t){o=!0,s=t}finally{try{!a&&c.return&&c.return()}finally{if(o)throw s}}}else{var d=!0,p=!1,f=void 0;try{for(var g,v=l()(e);!(d=(g=v.next()).done);d=!0){var y=g.value;if(this.listStyleQuery==y.value){i.push(t.value+y.suffix);break}}}catch(t){p=!0,f=t}finally{try{!d&&v.return&&v.return()}finally{if(p)throw f}}}else i.push(t.value);this.listSort.indexOf(t.value)>-1&&(r="DESC"==r?"ASC":"DESC"),this.taskSort=t.value,this.listSort=i.join("+")+" "+r,this.fnResetTabsStatus(),this.refresh({})}},amtLengthFilter:function(t,e){return(t.toString().indexOf(".")>-1?t.toString().split(".")[0].length:t.toString().length)>=e},autoSetTasklistMaxVal:function(){var t="";switch(this.taskTabsActive){case"all_eamt":t=this.allData.eamtNow;break;case"all_current":t=this.allData.wagemthAmt.qkamt;break;case"all_last":t=this.allData.qkamt;break;case"all_next":t=this.allData.nextAmt1.qkamt+this.allData.nextAmt2.qkamt+this.allData.nextAmt3.qkamt}this.tasklistMaxVal=t},handleGotoTabs:function(t,e){var i=["all_last","all_next","all_current"],n=["mx_all","mx_inware","mx_voic","mx_taskpay"];if(this.currentAccount.cusid==this.userInfo.cusid){if(this.listStyle==t&&this.listStyleQuery==e)return;if(n.indexOf(t)>-1)return;this.listStyle=t,this.taskTabsActive=t,void 0!=e&&(this.listStyleQuery=e)}else{var r=-1;if(i.indexOf(t)>-1){if("all_last"==t)switch(e){case 0:r=2;break;case 1:r=1;break;case 2:r=0}else if("all_next"==t)switch(e){case 0:r=4;break;case 1:r=5;break;case 2:r=6}else"all_current"==t&&(r=3);this.listStyle="mx_all",this.taskTabsActive="mx_all",this.listStyleQuery=r}else this.listStyle=t,this.taskTabsActive=t,void 0!=e&&(this.listStyleQuery=e)}var a=this.$refs.taskpayTabs.$el.offsetTop;window.scrollTo({top:a,behavior:"auto"}),this.listSort=this._fnGetOrderByField(this.listStyle,this.listStyleQuery),this.fnResetTabsStatus(),this.refresh({})},fnResetTabsStatus:function(){this.ifrefresh=0,this.tabsLoading=!0,this.currentPageIndex=1,this.modelLoading=!0,this.listFinished=!1,this.listError=!1,this.ifTasklist=1},_fnGetOrderByField:function(t,e){var i="";switch(t){case"all_eamt":i="eamt DESC";break;case"all_current":switch(e){case 0:i="amt1 DESC",this.taskSort="amt1";break;case 1:i="amt2 DESC",this.taskSort="amt2";break;case-1:case 2:i="qkamt DESC",this.taskSort="qkamt"}break;case"all_last":switch(e){case-1:i="Qkamt3+Qkamt2+Qkamt1 DESC";break;case 0:i="Qkamt1 DESC";break;case 1:i="Qkamt2 DESC";break;case 2:i="Qkamt3 DESC"}this.taskSort="Qkamt";break;case"all_next":switch(e){case-1:i="qkamt_next1+qkamt_next2+qkamt_next3 DESC";break;case 0:i="qkamt_next1 DESC";break;case 1:i="qkamt_next2 DESC";break;case 2:i="qkamt_next3 DESC"}this.taskSort="qkamt";break;case"mx_all":i="ISNULL(viewdate, u2_mx_takepay.billdate) ASC";break;case"mx_inware":i="plandate ASC";break;case"mx_voic":i="viewdate ASC";break;case"mx_taskpay":i="billdate ASC"}return i},handleChangeListStyleQuery:function(t){if(!this.tabsLoading){if(console.log(" item :>>>>>>>>>>>>>>>>>>>>>",o()(t)),this.listStyleQuery==t.value)this.listStyleQuery=-1,this.listSort=this._fnGetOrderByField(this.taskTabsActive,this.listStyleQuery);else{this.listStyleQuery=t.value;var e=this.listSort.split(" ");"mx_all"==this.taskTabsActive||"mx_inware"==this.taskTabsActive||"mx_voic"==this.taskTabsActive||"mx_taskpay"==this.taskTabsActive?this.listSort=this._fnGetOrderByField(this.taskTabsActive,this.listStyleQuery):this.listSort=this.taskSort+t.suffix+" "+e[e.length-1]}this.fnResetTabsStatus(),this.refresh({})}},handleChangeTaskpayTabs:function(t,e){console.log("handleChangeTaskpayTabs name :>>>>>>>>>>>>>>>>>>>>>",o()(t)),this.tabsLoading||(this.fnResetTabsStatus(),this.listStyle=t,this.listStyleQuery=-1,this.listSort=this._fnGetOrderByField(t,this.listStyleQuery),this.refresh({}))},fixbody:function(t){this.taskTabsStickyTop=t.marginTop},handleChangeChartYear:function(t){var e=this.yaerColumns.indexOf(this.currentQueryField.chartyear+t);e<0||this.echartLoading||(this.currentQueryField.chartyear=this.yaerColumns[e],this.echartLoading=!0,this.ifChart=1,this.ifrefresh=0,this.refresh({}))},handleConfirmYearPicker:function(t){this.currentQueryField.chartyear=t,this.showPopover=!1,this.echartLoading=!0,this.ifChart=1,this.refresh({})},handleSelEvent:function(t){$lj.openWin("event-detail",{mainObject:t})},fnLoadMoreEvent:function(){this.modelLoading=!0,this.ifrefresh=0,this.ifTasklist=1,this.currentPageIndex++,this.refresh()},fnResetStatus:function(){this.ifrefresh=1,this.currentPageIndex=1,this.modelLoading=!1,this.listFinished=!1,this.listError=!1},handleClearCheckpoint:function(){console.log(" this.currentQueryField.checkpoint_id :>>>>>>>>>>>>>>>>>>>>>",o()(this.currentQueryField.checkpoint_id)),-1!=this.currentQueryField.checkpoint_id&&this.$refs.ljTabsQuick.handleReset(1)},_fnChangeWageid:function(t,e){for(var i=[],n=0;n-1&&i.push(t[n].id);return i.join(",")},clearChart:function(){this.eChart&&(console.log("clearChart 解绑事件"),this.eChart.off("legendselectchanged")),this.eChart=null},createChart:function(t){this.clearChart();for(var e=[],i=0;i>>>>>>>>>>>>>>>>>>>>",this.$refs.ljTabsQuick),"{}"==o()(t)){for(var i=0;i>>>>>>>>>>>>>>>>>>>>",o()(t))}var r=new Date,a=r.getFullYear().toString(),s=r.getMonth()+1;return s=s<10?"0"+s:s,t.wagemth=a+s,e.wagemth=a+s,console.log(" keywordObj :>>>>>>>>>>>>>>>>>>>>>",o()(t)),this.$refs.ljTabsQuick&&this.$refs.ljTabsQuick.initSearched(t,e),t},handleSelYearmonth:function(t){console.log(" item :>>>>>>>>>>>>>>>>>>>>>",o()(t)),this.currentQueryField.wagemth=t.monthint;var e=t.monthint.toString().substring(0,4),i=t.monthint.toString().substring(4,6),n=(new Date).setFullYear(e,i,0);this.$refs.ljTabsQuick.handleConfirmDTPicker([n],0)},refresh:function(t){var e=this;t&&(this.currentQueryField=r()({},this.currentQueryField,t,this.queryHardParms)),this.currentQueryField.comid=0,this.currentQueryField.cusid=this.currentAccount.cusid,this.currentQueryField.listStyle=this.listStyle,this.currentQueryField.listStyleQuery=this.listStyleQuery,this.currentQueryField.listSort=this.listSort,this.currentQueryField.ifChart=this.ifChart,this.currentQueryField.ifTasklist=this.ifTasklist,this.currentQueryField.token=$lj.token,this.currentQueryField.pagesize=this.currentPageSize,this.currentQueryField.pageindex=this.currentPageIndex,this.currentQueryField.ifrefresh=this.ifrefresh,console.log(" this.currentQueryField :>>>>>>>>>>>>>>>>>>>>>",o()(this.currentQueryField)),$lj.postLJRequest(this.apiName,this.currentQueryField,function(t){if(t){if(t.hasOwnProperty("eamtNow"))e.allData=t,e.$nextTick(function(){}),e.createChart(e.allData.taskpayChart),t.hasOwnProperty("custList")?t.custList.length=this.offsetTop&&t>0;this.scrollFixed!==e&&(this.scrollFixed=e)}},computed:{title:function(){return"应收帐龄统计表"},isClearWagethamt:function(){return 0==this.allData.wagemthAmt.qkamt&&this.allData.wagemthAmt.amt_all>0},isProgressNum:function(t,e){return function(t,e){return e=Math.abs(e),0==t||e<=0?0:Math.round(t/e*1e4)/100+"%"}},isProgressNum_only1:function(t,e){return function(t,e){return e=Math.abs(e),0==t||e<=0?0:Math.round(t/e*1e3)/10+"%"}},isNextMonth:function(t,e){return function(t,e){var i=Number(t.toString().substring(4,6))+e;return i>12&&(i-=12),e<3?i+"月":i+"月及以后"}},isListTitle:function(){return-1==this.currentAccount.cusid?"客户排行榜":"相关单据"},isTabsFieldSortCls:function(t,e){return function(t,e){var i="";return e.indexOf(t.value)>-1&&(i+=" sorting"),t.cls+i}}},filters:{amtShortFilter:function(t){return $lj.numberFormatShort(t,3,!0,!0)},amtShortFilter2:function(t){return $lj.numberFormatCHN(t,2)},checkpointTitleFilter:function(t,e){if(-1==t)return"考核节点";var i=$lj.getUserFilterTitle(e);return i.hasOwnProperty("checkpoint_id")&&i.checkpoint_id?i.checkpoint_id:void 0},amtFilter:function(t){return $lj.numberFormat(t,2)},ymDateFilter:function(t){return-1==t?"全部月份":(t=Number(t),t.toString().substring(0,4)+"年"+t.toString().substring(4,6)+"月")},billcodeFilter:function(t){return $lj.getBillcodeName(t)},lastOrNextFilter:function(t,e,i){var n=new Date(e.toString().substring(0,4),Number(e.toString().substring(4,6))-1),r=void 0;switch(i){case"all_last":switch(t){case 0:r=n.getMonth()+1-1,r=new Date(n.setMonth(r-1)).getMonth()+1,r+="月";break;case 1:r=n.getMonth()+1-2,r=new Date(n.setMonth(r-1)).getMonth()+1,r+="月";break;case 2:r=n.getMonth()+1-3,r=new Date(n.setMonth(r-1)).getMonth()+1,r+="月及以前"}break;case"all_next":switch(t){case 0:r=n.getMonth()+1+1,r=new Date(n.setMonth(r-1)).getMonth()+1,r+="月";break;case 1:r=n.getMonth()+1+2,r=new Date(n.setMonth(r-1)).getMonth()+1,r+="月";break;case 2:r=n.getMonth()+1+3,r=new Date(n.setMonth(r-1)).getMonth()+1,r+="月及以后"}}return r}},beforeDestroy:function(){window.removeEventListener("scroll",this.windowScroll,!0)}}},2586:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"L1AppEventCheckpointItem",props:{data:Array,amt:{type:Number,default:0},ifLink:{type:Boolean,default:!1}},methods:{handleSelect:function(t){this.ifLink&&this.$emit("confirm",t)}}}},260:function(t,e,i){"use strict";function n(t,e,n){n=n||{};var a,o,l,u=n.byIndex,c=n.stackedCoordDimension;r(e)?a=e:(o=e.schema,a=o.dimensions,l=e.store);var h,d,p,f,g=!(!t||!t.get("stack"));if(i.i(s.d)(a,function(t,e){i.i(s.m)(t)&&(a[e]=t={name:t}),g&&!t.isExtraCoord&&(u||h||!t.ordinalMeta||(h=t),d||"ordinal"===t.type||"time"===t.type||c&&c!==t.coordDim||(d=t))}),!d||u||h||(u=!0),d){p="__\0ecstackresult_"+t.id,f="__\0ecstackedover_"+t.id,h&&(h.createInvertedIndices=!0);var v=d.coordDim,y=d.type,m=0;i.i(s.d)(a,function(t){t.coordDim===v&&m++});var x={name:p,coordDim:v,coordDimIndex:m,type:y,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length},_={name:f,coordDim:f,coordDimIndex:m+1,type:y,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length+1};o?(l&&(x.storeDimIndex=l.ensureCalculationDimension(f,y),_.storeDimIndex=l.ensureCalculationDimension(p,y)),o.appendCalculationDimension(x),o.appendCalculationDimension(_)):(a.push(x),a.push(_))}return{stackedDimension:d&&d.name,stackedByDimension:h&&h.name,isStackedByIndex:u,stackedOverDimension:f,stackResultDimension:p}}function r(t){return!i.i(l.a)(t.schema)}function a(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function o(t,e){return a(t,e)?t.getCalculationInfo("stackResultDimension"):e}e.c=n,e.b=a,e.a=o;var s=i(3),l=i(614)},261:function(t,e,i){"use strict";function n(t){f(t).datasetMap=i.i(h.k)()}function r(t,e,n){function r(t,e,i){for(var n=0;n=0?n():h=setTimeout(n,-a),u=r};return d.clear=function(){h&&(clearTimeout(h),h=null)},d.debounceNextCall=function(t){l=t},d}function r(t,e,i,r){var a=t[e];if(a){var u=a[o]||a,c=a[l];if(a[s]!==i||c!==r){if(null==i||!r)return t[e]=u;a=t[e]=n(u,i,"debounce"===r),a[o]=u,a[l]=r,a[s]=i}return a}}function a(t,e){var i=t[e];i&&i[o]&&(i.clear&&i.clear(),t[e]=i[o])}e.c=n,e.a=r,e.b=a;var o="\0__throttleOriginMethod",s="\0__throttleRate",l="\0__throttleType"},264:function(t,e,i){i(294);var n=i(0)(i(282),i(292),null,null);t.exports=n.exports},265:function(t,e,i){"use strict";function n(t,e,i,n){return i=i||{},n?r(t,e,i):g&&null!=e.layerX&&e.layerX!==e.offsetX?(i.zrX=e.layerX,i.zrY=e.layerY):null!=e.offsetX?(i.zrX=e.offsetX,i.zrY=e.offsetY):r(t,e,i),i}function r(t,e,n){if(h.a.domSupported&&t.getBoundingClientRect){var r=e.clientX,a=e.clientY;if(i.i(d.a)(t)){var o=t.getBoundingClientRect();return n.zrX=r-o.left,void(n.zrY=a-o.top)}if(i.i(d.b)(f,t,r,a))return n.zrX=f[0],void(n.zrY=f[1])}n.zrX=n.zrY=0}function a(t){return t||window.event}function o(t,e,i){if(e=a(e),null!=e.zrX)return e;var r=e.type;if(r&&r.indexOf("touch")>=0){var o="touchend"!==r?e.targetTouches[0]:e.changedTouches[0];o&&n(t,o,e,i)}else{n(t,e,e,i);var l=s(e);e.zrDelta=l?l/120:-(e.detail||0)/3}var u=e.button;return null==e.which&&void 0!==u&&p.test(e.type)&&(e.which=1&u?1:2&u?3:4&u?2:0),e}function s(t){var e=t.wheelDelta;if(e)return e;var i=t.deltaX,n=t.deltaY;return null==i||null==n?e:3*(0!==n?Math.abs(n):Math.abs(i))*(n>0?-1:n<0?1:i>0?-1:1)}function l(t,e,i,n){t.addEventListener(e,i,n)}function u(t,e,i,n){t.removeEventListener(e,i,n)}function c(t){return 2===t.which||3===t.which}e.c=n,e.e=a,e.d=o,e.f=l,e.g=u,i.d(e,"a",function(){return v}),e.b=c;var h=(i(223),i(91)),d=i(720),p=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,f=[],g=h.a.browser.firefox&&+h.a.browser.version.split(".")[0]<39,v=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}},282:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(5),r=i.n(n),a=i(107),o=i.n(a),s=i(114),l=i.n(s);e.default={name:"LjTabsQuick",components:{WidgetDropDownRadio:o.a,WidgetDropDownCascader:l.a},data:function(){return{queryFieldsForWidget:[],currentQueryField:{},currentQueryTitle:{},hide:!1,showPopover:!1,showPopover2:!1,actions:[{text:"选项一"},{text:"选项二"},{text:"选项三"}],minDate:new Date(2020,0,1),maxDate:new Date(2025,10,1),currentDate:new Date,dateTimePickerIdx:-1}},props:{queryFields:{type:Array},habitKey:{type:String},hardParms:{type:Object,default:function(){return{}}},bindingParms:{type:Object},apiName:{type:String,required:!0},ifDarkModel:{type:Boolean,default:!1}},computed:{isDropdownDisable:function(t){return function(t){return!!(t.children.length>0&&t.children[0].selectOptions.hasOwnProperty("options"))&&!t.children[0].selectOptions.options.length}}},created:function(){this.initQueryField()},methods:{handleClearSingleProp:function(){},formatter:function(t,e){return"year"===t?e+"年":"month"===t?e+"月":e},handleConfirmDTPicker:function(t,e){console.log(" index :>>>>>>>>>>>>>>>>>>>>>",r()(e));var i=new Date(t[0]),n=i.getFullYear().toString(),a=i.getMonth()+1;a<10&&(a="0"+a),console.log(" year :>>>>>>>>>>>>>>>>>>>>>",r()(n)),console.log(" month :>>>>>>>>>>>>>>>>>>>>>",r()(a));var o=n+a;this.showPopover=!1,this.$set(this.queryFieldsForWidget[e],"title",o),this.$set(this.queryFieldsForWidget[e],"value",Number(o)),this.currentQueryField[this.queryFieldsForWidget[e].property]=Number(o),this.currentQueryTitle[this.queryFieldsForWidget[e].property]=o,this.$emit("confirm",this.currentQueryField,this.currentQueryTitle)},handleClickDateTime:function(t,e){this.dateTimePickerIdx=e,this.showPopover=!0},fnhide:function(t){console.log(" bool :>>>>>>>>>>>>>>>>>>>>>",r()(t)),this.hide=t},onSelect:function(t){console.log(" action :>>>>>>>>>>>>>>>>>>>>>",r()(t))},initSearched:function(t,e){for(var i=0;i> ",t);for(var e=-1,i=0;i-1&&this.fnResetProp(e)},initQueryField:function(){var t=this,e=[];this.queryFields.forEach(function(i){if(e.indexOf(i.group)>-1){var n=e.indexOf(i.group);t.queryFieldsForWidget[n].children.push(i)}else{var r={group:i.group||i.title,type:i.type,children:[i],value:i.initValue||"",title:"",property:i.property};e.push(r.group),t.queryFieldsForWidget.push(r)}})},handleSelTag:function(t,e){this.queryFieldsForWidget[e].title?this.handleReset(e):(this.$set(this.queryFieldsForWidget[e],"title",t.title),this.$set(this.queryFieldsForWidget[e],"value",t.optionValue),this.currentQueryField[this.queryFieldsForWidget[e].property]=t.optionValue,this.currentQueryTitle[this.queryFieldsForWidget[e].property]=t.title,this.$emit("confirm",this.currentQueryField,this.currentQueryTitle))},handleConfirm:function(t,e){this.$set(this.queryFieldsForWidget[e],"val",!1),this.$set(this.queryFieldsForWidget[e],"title",t[1]),this.$set(this.queryFieldsForWidget[e],"value",t[2]),this.currentQueryField[this.queryFieldsForWidget[e].property]=t[2],this.currentQueryTitle[this.queryFieldsForWidget[e].property]=t[1],this.$emit("confirm",this.currentQueryField,this.currentQueryTitle),this.close()},fnSetValue:function(t,e,i){for(var n=0;n=0){var n=i.getData().tree.root,r=t.targetNode;if(s.m(r)&&(r=n.getNodeById(r)),r&&n.contains(r))return{node:r};var a=t.targetNodeId;if(null!=a&&(r=n.getNodeById(a)))return{node:r}}}function r(t){for(var e=[];t;)(t=t.parentNode)&&e.push(t);return e.reverse()}function a(t,e){var i=r(t);return s.f(i,e)>=0}function o(t,e){for(var i=[];t;){var n=t.dataIndex;i.push({name:t.name,dataIndex:n,value:e.getRawValue(n)}),t=t.parentNode}return i.reverse(),i}e.a=n,e.d=r,e.b=a,e.c=o;var s=i(3)},287:function(t,e,i){"use strict";function n(t,e,n,r){var a,o,s=i.i(y.q)(n-t),l=r[0]>r[1],u="start"===e&&!l||"start"!==e&&l;return i.i(y.r)(s-S/2)?(o=u?"bottom":"top",a="center"):i.i(y.r)(s-1.5*S)?(o=u?"top":"bottom",a="center"):(o="middle",a=s<1.5*S&&s>S/2?u?"left":"right":u?"right":"left"),{rotation:s,textAlign:a,textVerticalAlign:o}}function r(t,e,n){if(!i.i(b.d)(t.axis)){var r=t.get(["axisLabel","showMinLabel"]),s=t.get(["axisLabel","showMaxLabel"]);e=e||[],n=n||[];var l=e[0],u=e[1],c=e[e.length-1],h=e[e.length-2],d=n[0],p=n[1],f=n[n.length-1],g=n[n.length-2];!1===r?(a(l),a(d)):o(l,u)&&(r?(a(u),a(p)):(a(l),a(d))),!1===s?(a(c),a(f)):o(h,c)&&(s?(a(h),a(g)):(a(c),a(f)))}}function a(t){t&&(t.ignore=!0)}function o(t,e){var i=t&&t.getBoundingRect().clone(),n=e&&e.getBoundingRect().clone();if(i&&n){var r=x.d([]);return x.h(r,r,-t.rotation),i.applyTransform(x.e([],r,t.getLocalTransform())),n.applyTransform(x.e([],r,e.getLocalTransform())),i.intersect(n)}}function s(t){return"middle"===t||"center"===t}function l(t,e,n,r,a){for(var o=[],s=[],l=[],u=0;u0?"top":"bottom",r="center"):i.i(y.r)(o-S)?(a=n>0?"bottom":"top",r="center"):(a="middle",r=o>0&&o0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:r,textVerticalAlign:a}},t.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},t.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},t}(),I={axisLine:function(t,e,n,r){var a=e.get(["axisLine","show"]);if("auto"===a&&t.handleAutoShown&&(a=t.handleAutoShown("axisLine")),a){var o=e.axis.getExtent(),s=r.transform,l=[o[0],0],u=[o[1],0];s&&(i.i(_.e)(l,l,s),i.i(_.e)(u,u,s));var c=i.i(d.g)({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),h=new p.Line({subPixelOptimize:!0,shape:{x1:l[0],y1:l[1],x2:u[0],y2:u[1]},style:c,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});h.anid="line",n.add(h);var f=e.get(["axisLine","symbol"]);if(null!=f){var g=e.get(["axisLine","symbolSize"]);i.i(d.m)(f)&&(f=[f,f]),(i.i(d.m)(g)||i.i(d.n)(g))&&(g=[g,g]);var v=i.i(m.d)(e.get(["axisLine","symbolOffset"])||0,g),y=g[0],x=g[1];i.i(d.d)([{rotate:t.rotation+Math.PI/2,offset:v[0],r:0},{rotate:t.rotation-Math.PI/2,offset:v[1],r:Math.sqrt((l[0]-u[0])*(l[0]-u[0])+(l[1]-u[1])*(l[1]-u[1]))}],function(e,r){if("none"!==f[r]&&null!=f[r]){var a=i.i(m.a)(f[r],-y/2,-x/2,y,x,c.stroke,!0),o=e.r+e.offset;a.attr({rotation:e.rotate,x:l[0]+o*Math.cos(t.rotation),y:l[1]-o*Math.sin(t.rotation),silent:!0,z2:11}),n.add(a)}})}}},axisTickLabel:function(t,e,n,a){var o=u(n,a,e,t),s=h(n,a,e,t);if(r(e,s,o),c(n,a,e,t.tickDirection),e.get(["axisLabel","hideOverlap"])){var l=i.i(w.a)(i.i(d.p)(s,function(t){return{label:t,priority:t.z2,defaultAttr:{ignore:t.ignore}}}));i.i(w.d)(l)}},axisName:function(t,e,r,a){var o=i.i(d.N)(t.axisName,e.get("name"));if(o){var l,u=e.get("nameLocation"),c=t.nameDirection,h=e.getModel("nameTextStyle"),v=e.get("nameGap")||0,y=e.axis.getExtent(),m=y[0]>y[1]?-1:1,x=["start"===u?y[0]-m*v:"end"===u?y[1]+m*v:(y[0]+y[1])/2,s(u)?t.labelOffset+c*v:0],_=e.get("nameRotate");null!=_&&(_=_*S/180);var b;s(u)?l=M.innerTextLayout(t.rotation,null!=_?_:t.rotation,c):(l=n(t.rotation,u,_||0,y),null!=(b=t.axisNameAvailableWidth)&&(b=Math.abs(b/Math.sin(l.rotation)),!isFinite(b)&&(b=null)));var w=h.getFont(),I=e.get("nameTruncate",!0)||{},T=I.ellipsis,C=i.i(d.N)(t.nameTruncateMaxWidth,I.maxWidth,b),k=new p.Text({x:x[0],y:x[1],rotation:l.rotation,silent:M.isLabelSilent(e),style:i.i(g.d)(h,{text:o,font:w,overflow:"truncate",width:C,ellipsis:T,fill:h.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:h.get("align")||l.textAlign,verticalAlign:h.get("verticalAlign")||l.textVerticalAlign}),z2:1});if(p.setTooltipConfig({el:k,componentModel:e,itemName:o}),k.__fullText=o,k.anid="name",e.get("triggerEvent")){var D=M.makeAxisEventDataBase(e);D.targetType="axisName",D.name=o,i.i(f.a)(k).eventData=D}a.add(k),k.updateTransform(),r.add(k),k.decomposeTransform()}}};e.a=M},288:function(t,e,i){"use strict";function n(t,e){var i=t[1]-t[0],n=e,r=i/n/2;t[0]+=r,t[1]-=r}function r(t,e,n,r){function s(t,e){return t=i.i(o.d)(t),e=i.i(o.d)(e),f?t>e:th[1];s(e[0].coord,h[0])&&(r?e[0].coord=h[0]:e.shift()),r&&s(h[0],e[0].coord)&&e.unshift({coord:h[0]}),s(h[1],u.coord)&&(r?u.coord=h[1]:e.pop()),r&&s(u.coord,h[1])&&e.push({coord:h[1]})}}var a=i(3),o=i(22),s=i(1002),l=[0,1],u=function(){function t(t,e,i){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=i||[0,0]}return t.prototype.contain=function(t){var e=this._extent,i=Math.min(e[0],e[1]),n=Math.max(e[0],e[1]);return t>=i&&t<=n},t.prototype.containData=function(t){return this.scale.contain(t)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(t){return i.i(o.k)(t||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(t,e){var i=this._extent;i[0]=t,i[1]=e},t.prototype.dataToCoord=function(t,e){var r=this._extent,a=this.scale;return t=a.normalize(t),this.onBand&&"ordinal"===a.type&&(r=r.slice(),n(r,a.count())),i.i(o.h)(t,l,r,e)},t.prototype.coordToData=function(t,e){var r=this._extent,a=this.scale;this.onBand&&"ordinal"===a.type&&(r=r.slice(),n(r,a.count()));var s=i.i(o.h)(t,r,l,e);return this.scale.scale(s)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){t=t||{};var e=t.tickModel||this.getTickModel(),n=i.i(s.a)(this,e),o=n.ticks,l=i.i(a.p)(o,function(t){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(t):t),tickValue:t}},this);return r(this,l,e.get("alignWithLabel"),t.clamp),l},t.prototype.getMinorTicksCoords=function(){if("ordinal"===this.scale.type)return[];var t=this.model.getModel("minorTick"),e=t.get("splitNumber");e>0&&e<100||(e=5);var n=this.scale.getMinorTicks(e);return i.i(a.p)(n,function(t){return i.i(a.p)(t,function(t){return{coord:this.dataToCoord(t),tickValue:t}},this)},this)},t.prototype.getViewLabels=function(){return i.i(s.b)(this).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){var t=this._extent,e=this.scale.getExtent(),i=e[1]-e[0]+(this.onBand?1:0);0===i&&(i=1);var n=Math.abs(t[1]-t[0]);return Math.abs(n)/i},t.prototype.calculateCategoryInterval=function(){return i.i(s.c)(this)},t}();e.a=u},289:function(t,e,i){"use strict";function n(t){return null==t?0:t.length||1}function r(t){return t}var a=function(){function t(t,e,i,n,a,o){this._old=t,this._new=e,this._oldKeyGetter=i||r,this._newKeyGetter=n||r,this.context=a,this._diffModeMultiple="multiple"===o}return t.prototype.add=function(t){return this._add=t,this},t.prototype.update=function(t){return this._update=t,this},t.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},t.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},t.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},t.prototype.remove=function(t){return this._remove=t,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var t=this._old,e=this._new,i={},r=new Array(t.length),a=new Array(e.length);this._initIndexMap(t,null,r,"_oldKeyGetter"),this._initIndexMap(e,i,a,"_newKeyGetter");for(var o=0;o1){var c=l.shift();1===l.length&&(i[s]=l[0]),this._update&&this._update(c,o)}else 1===u?(i[s]=null,this._update&&this._update(l,o)):this._remove&&this._remove(o)}this._performRestAdd(a,i)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,i={},r={},a=[],o=[];this._initIndexMap(t,i,a,"_oldKeyGetter"),this._initIndexMap(e,r,o,"_newKeyGetter");for(var s=0;s1&&1===d)this._updateManyToOne&&this._updateManyToOne(c,u),r[l]=null;else if(1===h&&d>1)this._updateOneToMany&&this._updateOneToMany(c,u),r[l]=null;else if(1===h&&1===d)this._update&&this._update(c,u),r[l]=null;else if(h>1&&d>1)this._updateManyToMany&&this._updateManyToMany(c,u),r[l]=null;else if(h>1)for(var p=0;p1)for(var s=0;sl||t<-l}function r(t,e){for(var i=0;i1e-10&&d(t[3]-1)>1e-10?Math.sqrt(d(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(t){r(this,t)},t.getLocalTransform=function(t,e){e=e||[];var i=t.originX||0,n=t.originY||0,r=t.scaleX,o=t.scaleY,s=t.anchorX,l=t.anchorY,u=t.rotation||0,c=t.x,h=t.y,d=t.skewX?Math.tan(t.skewX):0,p=t.skewY?Math.tan(-t.skewY):0;if(i||n||s||l){var f=i+s,g=n+l;e[4]=-f*r-d*g*o,e[5]=-g*o-p*f*r}else e[4]=e[5]=0;return e[0]=r,e[3]=o,e[1]=p*r,e[2]=d*o,u&&a.h(e,e,u),e[4]+=i+c,e[5]+=n+h,e},t.initDefaultProps=function(){var e=t.prototype;e.scaleX=e.scaleY=e.globalScaleRatio=1,e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0}(),t}(),f=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];e.a=p},297:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"lj-scrollToTop",data:function(){return{timer:null,heightArr:[],lastHeight:0,currentIndex:1}},props:{pageindex:{type:Number,default:1}},mounted:function(){this.body=window.document.querySelector("body"),this.scroll()},methods:{totop:function(){window.scrollTo({top:0,behavior:"auto"})},scroll:function(){var t=this;this.body.onscroll=function(){var e=t.body.scrollTop||document.documentElement.scrollTop||window.pageYOffset||document.body.scrollTop,i=window.innerHeight-500,n=1-(i-e)/i,r=n>1?1:n;t.$refs.btn.style.opacity=e<=0?0:r,clearTimeout(t.timer),t.timer=setTimeout(t.fnFinishScroll,500),t.lastHeight=e,t.fnGetCurrentIndex(e)}},fnFinishScroll:function(){var t=this.body.scrollTop||document.documentElement.scrollTop||window.pageYOffset||document.body.scrollTop;this.lastHeight==t&&(this.timer=null)},fnGetCurrentIndex:function(t){for(var e=0;e1?this.$nextTick(function(){e.heightArr.push(e.body.clientHeight)}):this.resetData()}},beforeDestroy:function(){window.removeEventListener("scroll",this.body)}}},298:function(t,e,i){e=t.exports=i(1)(),e.push([t.i,".back-to-top[data-v-4bb3453b]{position:fixed;right:10px;bottom:2rem;width:36px;height:36px;opacity:0;background-color:#fff;z-index:888;border-radius:50%;box-shadow:0 2px 5px 0 rgba(0,0,0,.06),0 0 3px 0 rgba(0,0,0,.1);display:flex;justify-content:center;align-items:center;font-size:16px;color:rgba(60,60,67,.6)}.back-to-top .iconfont[data-v-4bb3453b]{font-size:24px}",""])},299:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{ref:"btn",staticClass:"back-to-top",on:{click:t.totop}},[t.timer?[t._v("\n\t\t"+t._s(t.currentIndex)+"\n\t")]:[i("i",{staticClass:"iconfont icon-ToTop_light"})]],2)},staticRenderFns:[]}},3:function(t,e,i){"use strict";function n(){return lt++}function r(){for(var t=[],e=0;ee},gte:function(t,e){return t>=e}},h=function(){function t(t,e){if(!i.i(s.n)(e)){var n="";i.i(l.b)(n)}this._opFn=c[t],this._rvalFloat=i.i(o.g)(e)}return t.prototype.evaluate=function(t){return i.i(s.n)(t)?this._opFn(t,this._rvalFloat):this._opFn(i.i(o.g)(t),this._rvalFloat)},t}(),d=function(){function t(t,e){var i="desc"===t;this._resultLT=i?1:-1,null==e&&(e=i?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var n=i.i(s.n)(t)?t:i.i(o.g)(t),r=i.i(s.n)(e)?e:i.i(o.g)(e),a=isNaN(n),l=isNaN(r);if(a&&(n=this._incomparable),l&&(r=this._incomparable),a&&l){var u=i.i(s.m)(t),c=i.i(s.m)(e);u&&(n=c?t:0),c&&(r=u?e:0)}return nr?-this._resultLT:0},t}(),p=function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=i.i(o.g)(e)}return t.prototype.evaluate=function(t){var e=t===this._rval;if(!e){var n=typeof t;n===this._rvalTypeof||"number"!==n&&"number"!==this._rvalTypeof||(e=i.i(o.g)(t)===this._rvalFloat)}return this._isEQ?e:!e},t}()},324:function(t,e,i){"use strict";function n(t){return"interval"===t.type||"log"===t.type}function r(t,e,n,r){var a={},s=t[1]-t[0],u=a.interval=i.i(d.m)(s/e,!0);null!=n&&ur&&(u=a.interval=r);var c=a.intervalPrecision=o(u);return l(a.niceTickExtent=[i.i(d.d)(Math.ceil(t[0]/u)*u,c),i.i(d.d)(Math.floor(t[1]/u)*u,c)],t),a}function a(t){var e=Math.pow(10,i.i(d.l)(t)),n=t/e;return n?2===n?n=3:3===n?n=5:n*=2:n=1,i.i(d.d)(n*e)}function o(t){return i.i(d.e)(t)+2}function s(t,e,i){t[e]=Math.max(Math.min(t[e],i[1]),i[0])}function l(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),s(t,0,e),s(t,1,e),t[0]>t[1]&&(t[0]=t[1])}function u(t,e){return t>=e[0]&&t<=e[1]}function c(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function h(t,e){return t*(e[1]-e[0])+e[0]}e.g=n,e.e=r,e.f=a,e.d=o,e.a=u,e.b=c,e.c=h;var d=i(22)},325:function(t,e,i){"use strict";function n(t){var e=t.pieceList;t.hasSpecialVisual=!1,g.d(e,function(e,i){e.originIndex=i,null!=e.visual&&(t.hasSpecialVisual=!0)})}function r(t){var e=t.categories,i=t.categoryMap={},n=t.visual;if(m(e,function(t,e){i[t]=e}),!g.j(n)){var r=[];g.i(n)?m(n,function(t,e){var n=i[e];r[null!=n?n:_]=t}):r[_]=n,n=p(t,r)}for(var a=e.length-1;a>=0;a--)null==n[a]&&(delete i[e[a]],e.pop())}function a(t,e){var i=t.visual,n=[];g.i(i)?m(i,function(t){n.push(t)}):null!=i&&n.push(i);var r={color:1,symbol:1};e||1!==n.length||r.hasOwnProperty(t.type)||(n[1]=n[0]),p(t,n)}function o(t){return{applyVisual:function(e,i,n){var r=this.mapValueToVisual(e);n("color",t(i("color"),r))},_normalizedToVisual:h([0,1])}}function s(t){var e=this.option.visual;return e[Math.round(i.i(y.h)(t,[0,1],[0,e.length-1],!0))]||{}}function l(t){return function(e,i,n){n(t,this.mapValueToVisual(e))}}function u(t){var e=this.option.visual;return e[this.option.loop&&t!==_?t%e.length:t]}function c(){return this.option.visual[0]}function h(t){return{linear:function(e){return i.i(y.h)(e,t,this.option.visual,!0)},category:u,piecewise:function(e,n){var r=d.call(this,n);return null==r&&(r=i.i(y.h)(e,t,this.option.visual,!0)),r},fixed:c}}function d(t){var e=this.option,i=e.pieceList;if(e.hasSpecialVisual){var n=b.findPieceIndex(t,i),r=i[n];if(r&&r.visual)return r.visual[this.type]}}function p(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=g.p(e,function(t){var e=v.c(t);return e||[0,0,0,1]})),e}function f(t,e,i){return t?e<=i:e=0&&(i.splice(n,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var i=r.f(this._children,t);return i>=0&&this.replaceAt(e,i),this},e.prototype.replaceAt=function(t,e){var i=this._children,n=i[e];if(t&&t!==this&&t.parent!==this&&t!==n){i[e]=t,n.parent=null;var r=this.__zr;r&&n.removeSelfFromZr(r),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},e.prototype.remove=function(t){var e=this.__zr,i=this._children,n=r.f(i,t);return n<0?this:(i.splice(n,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh(),this)},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,i=0;i=0&&(t=t.substring(t.indexOf(".")+1))}return t.replace(/^\s+|\s+$/g,"")}},mounted:function(){this.Round?this.RadiusValue="50%":this.RadiusValue=this.Radius,this.refreshImg()},methods:{refreshImg:function(){this.error=!1,this.loading=!0;var t=this;this.src?api.imageCache({url:this.src,policy:"cache_only",thumbnail:!1},function(e,i){t.loading=!1,i?(t.error=!0,alert(r()(i))):t.getBase64(e.url),console.log(e.status+"\r\n"+e.url)}):this.md5&&$lj.getCacheDir(function(e){var i=e+"/"+t.md5,n=$lj.getFileHelperModule();console.warn("refreshImg getCacheDir:"+i),n.exist({path:i},function(e,a){e.exist?(t.loading=!1,t.getBase64(i)):$lj.postLJRequest("GetCacheFile",{filemd5:t.md5},function(e){var i=$lj.constant.cacheDir,a=i+"/"+t.md5;if(e.filedata!==t.md5){var o=i+"/"+e.filedata;console.error("!!!!!!!! lj-img:renaming "+e.filedata+" to "+t.md5+" !!!"),n.rename({oldPath:o,newPath:a},function(e,i){e.status?t.getBase64(a):(t.error=!0,console.error("图片重命名: "+r()(i)))})}else t.getBase64(a);t.loading=!1},function(e){t.error=!0,t.loading=!1},!0)})})},imageClick:function(t){if(this.error)return void this.refreshImg();this.$emit("image-click",t)},getBase64:function(t){return void(this.currentSrc=t)},handleBottomNav:function(){if(this.error&&!this.delbtn)return void this.refreshImg();this.downloadbtn?this.download():this.$emit("bottom-nav")},checkFile:function(t,e){var i=this,n=$lj.getFileHelperModule();$lj.getCacheDir(function(a){var o=a+"/topic/"+i.md5+"."+i.realFileType;n.exist({path:o},function(s,l){if(s.exist)return void e(o);n.copyTo({oldPath:t,newPath:a+"/topic"},function(t,s){t.status?n.rename({oldPath:a+"/topic/"+i.md5,newPath:o},function(t,i){t.status?e(o):console.error("图片重命名: "+r()(i))}):alert("copyTo操作失败,保存中断")})})})},_fnDownLoad:function(t,e){var i=this;api.saveMediaToAlbum({path:t},function(t,n){t&&t.status?(i.$toast.success("保存成功"),i.dlSuccess=1):(alert("保存失败"),i.dlSuccess=2),e(),setTimeout(function(){i.dlSuccess=0},1500)})},download:function(){var t=this;this.downloading||0!=this.dlSuccess||(this.downloading=!0,this.src?this._fnDownLoad(this.currentSrc,function(){t.downloading=!1}):this.md5&&this.checkFile(this.currentSrc,function(e){t._fnDownLoad(e,function(){t.downloading=!1})}))}},watch:{md5:function(t,e){t!==e&&this.refreshImg()},src:function(t,e){t!==e&&this.refreshImg()}}}},375:function(t,e,i){e=t.exports=i(1)(),e.push([t.i,".lj-img-pro.round{border-radius:50%;overflow:hidden}.lj-img-pro .img-pro-box{display:block;width:100%;height:100%}.lj-img-pro .img-pro-box .loading-icon{font-size:32px;color:#d1d1d6;opacity:.3}.lj-img-pro .img-pro-box .error-icon{font-size:32px;color:#ff3b30;opacity:.6}",""])},377:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"lj-img-pro lj-picture_and_video",class:{round:t.round}},[i("van-image",{staticClass:"img-pro-box",attrs:{src:t.currentSrc,fit:t.fit,round:t.round,radius:t.RadiusValue},on:{click:t.imageClick},scopedSlots:t._u([{key:"error",fn:function(){return[t.error?i("i",{staticClass:"error-icon iconfont icon-ImageError"}):i("i",{staticClass:"loading-icon iconfont icon-a-Image2"})]},proxy:!0}])}),t._v(" "),t.showfilename?t._t("bottom-nav",[i("div",{staticClass:"bottom-nav"},[i("div",{staticClass:"name text-ellipsis-one"},[t._v("\n "+t._s(t.fileName)+"\n ")])])]):t._e(),t._v(" "),t.downloadbtn&&(t.downloading||0!=t.dlSuccess)?i("div",{staticClass:"bottom-nav-status",class:{show:t.downloadbtn&&(t.downloading||0!=t.dlSuccess)}},[i("div",{staticClass:"download",class:{"del-item":t.delbtn,"dl-success":1==t.dlSuccess,"dl-fail":2==t.dlSuccess}},[t.downloading?[i("van-loading",{staticClass:"video-loading",attrs:{size:"14",color:"#fff"}},[i("span",{staticClass:"bottom-nav-text"},[t._v("\n 保存中\n ")])])]:0!=t.dlSuccess?[1==t.dlSuccess?i("i",{staticClass:"iconfont icon-check"}):i("i",{staticClass:"iconfont icon-jinggao"})]:t._e()],2)]):t._e(),t._v(" "),t.downloadbtn||t.delbtn||t.error||t.loading?i("div",{staticClass:"control-bar"},[t.loading?i("van-tag",{staticClass:"tag-item",class:{loading:t.loading},attrs:{round:""}},[i("van-loading",{attrs:{color:"#8E8E93",size:"14"}})],1):i("van-tag",{staticClass:"tag-item",class:{"del-item":t.delbtn,"download-item":t.downloadbtn,"error-item":t.error&&!t.delbtn,loading:t.downloading},attrs:{round:""},on:{click:function(e){return e.stopPropagation(),t.handleBottomNav(e)}}},[t.delbtn?[i("i",{staticClass:"iconfont icon-close"})]:t.error&&!t.delbtn?[i("i",{staticClass:"iconfont icon-ic_refresh"})]:t.downloading?[i("van-loading",{attrs:{color:"#8E8E93",size:"14"}})]:t.downloadbtn?[i("i",{staticClass:"iconfont icon-save1"})]:t._e()],2)],1):t._e()],2)},staticRenderFns:[]}},379:function(t,e,i){var n=i(375);"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);i(2)("7041f5a2",n,!0)},4248:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"taskpay-item-wrapper"},t._l(t.data,function(e,n){return i("div",{key:n,staticClass:"rp-card"},[i("van-cell",{staticClass:"lj-cell-left",attrs:{title:e.namemx},on:{click:function(i){return t.handleSelect(e)}},scopedSlots:t._u([{key:"icon",fn:function(){return[t._t("icon",null,{item:e})]},proxy:!0},{key:"title",fn:function(){return[i("span",{staticClass:"rp-card__title"},[t._t("title",null,{item:e,amt:t.amt})],2),t._v(" "),i("span",{staticClass:"rp-card__title-mate"},[t._t("mate",null,{item:e})],2)]},proxy:!0},{key:"label",fn:function(){return[t._t("label",null,{item:e,amt:t.amt})]},proxy:!0},{key:"default",fn:function(){return[i("div",{staticClass:"rp-card__default"},[t._t("default",null,{item:e}),t._v(" "),t.ifLink?i("span",{staticClass:"suffix"},[t._t("suffix",[i("i",{staticClass:"iconfont icon-down"})])],2):t._e()],2),t._v(" "),i("div",{staticClass:"rp-card__default-label"},[t._t("default-label",null,{item:e})],2)]},proxy:!0}],null,!0)}),t._v(" "),i("div",{staticClass:"rp-card-bottom"},[t._t("bottom",null,{item:e,amt:t.amt})],2)],1)}),0)},staticRenderFns:[]}},4323:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("lj-win-report-new",{ref:"baseWin",staticClass:"rp-out-wrapper",class:{sticky:t.scrollFixed},attrs:{title:t.title,apiName:t.apiName,"query-quick":t.queryQuick,hideHeaderSub:"","inner-field-handler":t.autoInnerFiled,"reset-state-handler":t.fnResetStatus},on:{refresh:t.refresh,"fix-body":t.fixbody},scopedSlots:t._u([{key:"content",fn:function(e){return i("div",{},[i("div",{staticClass:"event-contrast"},[i("lj-tabs-quick",{ref:"ljTabsQuick",staticClass:"tabs_quick",attrs:{ifDarkModel:"",apiName:t.apiName,"query-fields":t.queryQuick},on:{confirm:t.handleFilterConfirm,"click-right-btn":t.handleSpt},scopedSlots:t._u([{key:"right",fn:function(e){return[i("div",{staticClass:"right-part",on:{click:e.clickRightBtn}},[i("div",{staticClass:"lj-imgemp size-16",class:{selected:t.currentAccount.cusid!=t.userInfo.cusid}},[i("i",{staticClass:"emp-image nofile iconfont icon-gongyingshangguanli"}),t._v(" "),i("span",{staticClass:"text-ellipsis-one",staticStyle:{"max-width":"120px"}},[t._v("\n "+t._s(t.currentAccount.cusname)+"\n ")]),t._v(" "),t.currentAccount.cusid!=t.userInfo.cusid?i("div",{staticClass:"clear-box",on:{click:function(e){return e.stopPropagation(),t.handleClearAccount(e)}}},[i("i",{staticClass:"iconfont icon-wrong_light"})]):t._e()])])]}}],null,!0)}),t._v(" "),i("div",{staticClass:"eamtnow-box"},[i("div",{staticClass:"title"},[t._v("\n 应收结余总额\n "),i("span",{staticClass:"amt-unit"},[t._v("人民币:元")])]),t._v(" "),i("div",{staticClass:"number"},[i("div",{staticClass:"number-inner"},[t._v("\n "+t._s(t._f("amtShortFilter2")(t.allData.eamtNow))+"\n ")])])])],1),t._v(" "),i("rp-summary-item",{staticClass:"nokpamt-report__summary",attrs:{title:"待核销"}},[i("div",{staticClass:"lj-report__summary center"},[i("div",{staticClass:"report__summary-center flex-1"},[i("div",{staticClass:"report__summary-title"},[t._v("\n 未开发票\n ")]),t._v(" "),i("div",{staticClass:"report__summary-subtitle"},[i("span",[t._v("\n "+t._s(t._f("amtShortFilter")(t.allData.nokpamt))+"\n ")])]),t._v(" "),i("div",{staticClass:"report__summary-footer color-orange"},[t._v("\n 不含税\n ")])]),t._v(" "),i("div",{staticClass:"report__summary-center flex-1"},[i("div",{staticClass:"report__summary-title"},[t._v("\n 未开发票\n ")]),t._v(" "),i("div",{staticClass:"report__summary-subtitle"},[i("span",[t._v("\n "+t._s(t._f("amtShortFilter")(t.allData.nokpamtNotax))+"\n ")])]),t._v(" "),i("div",{staticClass:"report__summary-footer color-green"},[t._v("\n 含税\n ")])]),t._v(" "),i("div",{staticClass:"report__summary-center flex-1"},[i("div",{staticClass:"report__summary-title"},[t._v("\n 已收款\n ")]),t._v(" "),i("div",{staticClass:"report__summary-subtitle"},[i("span",[t._v("\n "+t._s(t._f("amtShortFilter")(t.allData.nowriteoffamt))+"\n ")])]),t._v(" "),i("div",{staticClass:"report__summary-footer color-red"},[t._v("\n 未对单\n ")])])])]),t._v(" "),i("rp-summary-item",{staticClass:"wagemthamt-summary",attrs:{title:t.isNextMonth(t.currentQueryField.wagemth,0)+"应收"}},[i("div",{staticClass:"lj-report__summary"},[i("div",{staticClass:"report__summary-left flex-1",class:{"wagemthamt-clear":t.isClearWagethamt},staticStyle:{height:"51px"}},[t.isClearWagethamt?[i("i",{staticClass:"iconfont icon-tongyi color-green2"}),t._v(" "),i("div",{staticClass:"report__summary-subtitle bigger",staticStyle:{"margin-left":"4px"}},[i("span",[t._v("已结清")])])]:[i("div",{staticClass:"report__summary-title",on:{click:function(e){return t.handleGotoTabs("all_current",2)}}},[t._v("\n 本月欠款\n "),i("i",{staticClass:"iconfont icon-format-list-bulleted to-tabs"})]),t._v(" "),i("div",{staticClass:"report__summary-subtitle bigger",on:{click:function(e){return t.handleGotoTabs("all_current",2)}}},[i("span",[t._v("\n "+t._s(t._f("amtShortFilter2")(t.allData.wagemthAmt.qkamt))+"\n ")])])]],2)]),t._v(" "),i("div",{staticClass:"lj-report__summary"},[i("div",{staticClass:"flex-1",class:t.isClearWagethamt?"report__summary-center":"report__summary-left"},[i("div",{staticClass:"report__summary-title",on:{click:function(e){return t.handleGotoTabs("all_current",0)}}},[t._v("\n 应收金额\n "),i("i",{staticClass:"iconfont icon-format-list-bulleted to-tabs"})]),t._v(" "),i("div",{staticClass:"report__summary-subtitle",on:{click:function(e){return t.handleGotoTabs("all_current",0)}}},[i("span",[t._v("\n "+t._s(t._f("amtShortFilter2")(t.allData.wagemthAmt.amt_all))+"\n ")])])]),t._v(" "),t.isClearWagethamt?t._e():i("div",{staticClass:"report__summary-left flex-1"},[i("div",{staticClass:"report__summary-title",on:{click:function(e){return t.handleGotoTabs("all_current",1)}}},[t._v("\n 已收金额\n "),i("i",{staticClass:"iconfont icon-format-list-bulleted to-tabs"}),t._v(" "),t.allData.wagemthAmt.amt_all>0&&t.isProgressNum(t.allData.wagemthAmt.amt_yet,t.allData.wagemthAmt.amt_all)?i("lj-tag-double",{staticClass:"nextamt-tag",attrs:{type:"success",round:""}},[i("i",{staticClass:"iconfont icon-tongyi"}),t._v("\n "+t._s(t.isProgressNum(t.allData.wagemthAmt.amt_yet,t.allData.wagemthAmt.amt_all))+"\n ")]):t._e()],1),t._v(" "),i("div",{staticClass:"report__summary-subtitle",on:{click:function(e){return t.handleGotoTabs("all_current",1)}}},[i("span",[t._v("\n "+t._s(t._f("amtShortFilter2")(t.allData.wagemthAmt.amt_yet))+"\n ")])])])])]),t._v(" "),i("rp-summary-item",{staticClass:"last_and_next-summary",attrs:{title:"欠款状况"}},[i("div",{staticClass:"lj-report__summary"},[i("div",{staticClass:"report__summary-left flex-1"},[i("div",{staticClass:"report__summary-title",on:{click:function(e){return t.handleGotoTabs("all_last",0)}}},[t._v("\n 超期1个月内\n "),i("i",{staticClass:"iconfont icon-format-list-bulleted to-tabs"})]),t._v(" "),i("div",{staticClass:"report__summary-subtitle",on:{click:function(e){return t.handleGotoTabs("all_last",0)}}},[i("span",[t._v("\n "+t._s(t._f("amtShortFilter2")(t.allData.qkamt1))+"\n ")])])]),t._v(" "),i("div",{staticClass:"report__summary-left flex-1"},[i("div",{staticClass:"report__summary-title",on:{click:function(e){return t.handleGotoTabs("all_next",0)}}},[t._v("\n "+t._s(t.isNextMonth(t.currentQueryField.wagemth,1))+"\n "),i("i",{staticClass:"iconfont icon-format-list-bulleted to-tabs"})]),t._v(" "),i("div",{staticClass:"report__summary-subtitle",on:{click:function(e){return t.handleGotoTabs("all_next",0)}}},[i("span",[t._v("\n "+t._s(t._f("amtShortFilter2")(t.allData.nextAmt1.qkamt))+"\n ")]),t._v(" "),t.isProgressNum(t.allData.nextAmt1.amt_yet,t.allData.nextAmt1.amt_all)?i("lj-tag-double",{staticClass:"nextamt-tag",attrs:{type:"success",round:"",plain:""}},[i("i",{staticClass:"iconfont icon-tongyi"}),t._v("\n "+t._s(t.isProgressNum(t.allData.nextAmt1.amt_yet,t.allData.nextAmt1.amt_all))+"\n ")]):t._e()],1)])]),t._v(" "),i("div",{staticClass:"lj-report__summary"},[i("div",{staticClass:"report__summary-left flex-1"},[i("div",{staticClass:"report__summary-title",on:{click:function(e){return t.handleGotoTabs("all_last",1)}}},[t._v("\n 超期2个月内\n "),i("i",{staticClass:"iconfont icon-format-list-bulleted to-tabs"})]),t._v(" "),i("div",{staticClass:"report__summary-subtitle",on:{click:function(e){return t.handleGotoTabs("all_last",1)}}},[i("span",[t._v("\n "+t._s(t._f("amtShortFilter2")(t.allData.qkamt2))+"\n ")])])]),t._v(" "),i("div",{staticClass:"report__summary-left flex-1"},[i("div",{staticClass:"report__summary-title",on:{click:function(e){return t.handleGotoTabs("all_next",1)}}},[t._v("\n "+t._s(t.isNextMonth(t.currentQueryField.wagemth,2))+"\n "),i("i",{staticClass:"iconfont icon-format-list-bulleted to-tabs"})]),t._v(" "),i("div",{staticClass:"report__summary-subtitle",on:{click:function(e){return t.handleGotoTabs("all_next",1)}}},[i("span",[t._v("\n "+t._s(t._f("amtShortFilter2")(t.allData.nextAmt2.qkamt))+"\n ")]),t._v(" "),t.isProgressNum(t.allData.nextAmt2.amt_yet,t.allData.nextAmt2.amt_all)?i("lj-tag-double",{staticClass:"nextamt-tag",attrs:{type:"success",round:"",plain:""}},[i("i",{staticClass:"iconfont icon-tongyi"}),t._v("\n "+t._s(t.isProgressNum(t.allData.nextAmt2.amt_yet,t.allData.nextAmt2.amt_all))+"\n ")]):t._e()],1)])]),t._v(" "),i("div",{staticClass:"lj-report__summary"},[i("div",{staticClass:"report__summary-left flex-1"},[i("div",{staticClass:"report__summary-title",on:{click:function(e){return t.handleGotoTabs("all_last",2)}}},[t._v("\n 超期3个月及以上\n "),i("i",{staticClass:"iconfont icon-format-list-bulleted to-tabs"})]),t._v(" "),i("div",{staticClass:"report__summary-subtitle",on:{click:function(e){return t.handleGotoTabs("all_last",2)}}},[i("span",[t._v("\n "+t._s(t._f("amtShortFilter2")(t.allData.qkamt3))+"\n ")])])]),t._v(" "),i("div",{staticClass:"report__summary-left flex-1"},[i("div",{staticClass:"report__summary-title",on:{click:function(e){return t.handleGotoTabs("all_next",2)}}},[t._v("\n "+t._s(t.isNextMonth(t.currentQueryField.wagemth,3))+"\n "),i("i",{staticClass:"iconfont icon-format-list-bulleted to-tabs"})]),t._v(" "),i("div",{staticClass:"report__summary-subtitle",on:{click:function(e){return t.handleGotoTabs("all_next",2)}}},[i("span",[t._v("\n "+t._s(t._f("amtShortFilter2")(t.allData.nextAmt3.qkamt))+"\n ")]),t._v(" "),t.isProgressNum(t.allData.nextAmt3.amt_yet,t.allData.nextAmt3.amt_all)?i("lj-tag-double",{staticClass:"nextamt-tag",attrs:{type:"success",round:"",plain:""}},[i("i",{staticClass:"iconfont icon-tongyi"}),t._v("\n "+t._s(t.isProgressNum(t.allData.nextAmt3.amt_yet,t.allData.nextAmt3.amt_all))+"\n ")]):t._e()],1)])])]),t._v(" "),i("rp-summary-item",{staticClass:"echarts-summary",attrs:{title:"应收走势"}},[i("div",{staticClass:"chart-control",attrs:{slot:"header-right"},slot:"header-right"},[i("div",{staticClass:"left",class:{disabled:t.yaerColumns.indexOf(t.currentQueryField.chartyear-1)<0},on:{click:function(e){return t.handleChangeChartYear(-1)}}},[i("i",{staticClass:"iconfont icon-left"})]),t._v(" "),i("div",{staticClass:"middle",on:{click:function(e){t.showPopover=!0}}},[t._v("\n "+t._s(t.currentQueryField.chartyear+"年")+"\n ")]),t._v(" "),i("div",{staticClass:"right",class:{disabled:t.yaerColumns.indexOf(t.currentQueryField.chartyear+1)<0},on:{click:function(e){return t.handleChangeChartYear(1)}}},[i("i",{staticClass:"iconfont icon-right"})])]),t._v(" "),i("div",{staticClass:"echarts-box"},[t.echartLoading||e.loading?i("div",{staticClass:"loading-box"},[i("van-loading",{attrs:{color:"#2196f3"}})],1):t._e(),t._v(" "),i("div",{staticStyle:{width:"100%",height:"300px"},attrs:{id:"taskpayEcharts"}})])]),t._v(" "),i("rp-summary-item",{ref:"taskpayTabs",staticClass:"taskpay_list-summary",attrs:{title:t.isListTitle,loading:t.tabsLoading}},[i("div",{attrs:{slot:"header-left"},slot:"header-left"},[t.tabsLoading?i("div",{staticClass:"loading-box"},[i("van-loading",{attrs:{type:"spinner",size:"16px",color:"#2196f3"}})],1):t._e(),t._v("\n "+t._s(t.isListTitle)+"\n ")]),t._v(" "),i("div",{staticClass:"report__model-main"},[e.loading?i("van-skeleton",{attrs:{row:8}}):[i("van-tabs",{attrs:{sticky:"","offset-top":t.taskTabsStickyTop,"swipe-threshold":"3"},on:{click:t.handleChangeTaskpayTabs},model:{value:t.taskTabsActive,callback:function(e){t.taskTabsActive=e},expression:"taskTabsActive"}},t._l(t.taskSptTabs,function(e,n){return i("van-tab",{key:n,attrs:{title:e.title,name:e.name}},[e.hasOwnProperty("fillter")?i("div",{staticClass:"fillter-box"},t._l(e.fillter,function(n,r){return i("lj-tag-double",{key:r,attrs:{type:t.listStyleQuery==n.value?"primary":"default",size:"medium",round:"",light:"",value:t._f("lastOrNextFilter")(n.value,t.currentQueryField.wagemth,e.name)},on:{tagclick:function(e){return t.handleChangeListStyleQuery(n)}}})}),1):t._e(),t._v(" "),e.hasOwnProperty("sort")?i("div",{staticClass:"report__model-subtitle"},t._l(e.sort,function(n,r){return i("div",{key:r,staticClass:"sort-tag",class:t.isTabsFieldSortCls(n,t.listSort),on:{click:function(i){return t.handleTaskTabsSort(n,e.fillter)}}},[t._v("\n "+t._s(n.title)+"\n "),n.hasOwnProperty("value")?[t.listSort.indexOf(n.value)>-1?[i("i",{staticClass:"iconfont",class:t.listSort.indexOf("DESC")>-1?"icon-Arrow-Down_light":"icon-Arrow-Up_light"})]:[i("i",{staticClass:"iconfont icon-Swap_light"})]]:t._e()],2)}),0):t._e(),t._v(" "),t.allData.custList.length?t.tabsLoading&&t.modelLoading?[i("van-skeleton",{attrs:{row:16}})]:i("van-list",{attrs:{finished:t.listFinished,"finished-text":"没有更多了",error:t.listError,"error-text":"请求失败,点击重新加载","immediate-check":!1},on:{"update:error":function(e){t.listError=e},load:t.fnLoadMoreEvent},model:{value:t.modelLoading,callback:function(e){t.modelLoading=e},expression:"modelLoading"}},[i("rp-spt-item",{attrs:{data:t.allData.custList,ifLink:"",amt:t.tasklistMaxVal},on:{confirm:t.handleTaskListSelSpt},scopedSlots:t._u([{key:"icon",fn:function(e){return[e.item.no<=3?[i("div",{staticClass:"svg-icon-box"},[i("svg",{staticClass:"svg-icon",attrs:{"aria-hidden":"true"}},[i("use",{attrs:{"xlink:href":1==e.item.no?"#icon-jiangpai-":2==e.item.no?"#icon-jiangpai-2":"#icon-jiangpai-1"}})])])]:[i("div",{staticClass:"svg-icon-box"},[i("div",{staticClass:"number"},[t._v("\n "+t._s(e.item.no)+"\n ")])])]]}},{key:"title",fn:function(e){return[i("lj-tag-double",{staticClass:"progress-tag",attrs:{size:"mini",light:"",value:t.isProgressNum_only1(e.item.qkamt,e.amt)}}),t._v("\n "+t._s(e.item.cusname)+"\n ")]}},{key:"label",fn:function(e){return e.item.hasOwnProperty("amt_all")?[i("span",{class:{"ifSort-field":t.listSort.indexOf("amt1")>-1}},[t._v("\n "+t._s(t._f("amtShortFilter2")(e.item.amt_all))+"\n ")])]:void 0}},{key:"default",fn:function(e){return[i("div",{staticStyle:{display:"inline-flex"}},[i("span",{staticClass:"prefix"},[t._v("¥")]),t._v(" "),i("span",{class:{"ifSort-field":t.listSort.indexOf("qkamt")>-1||t.listSort.indexOf("eamt")>-1||t.listSort.indexOf("Qkamt")>-1}},[t._v("\n "+t._s(t._f("amtShortFilter2")(e.item.qkamt))+"\n ")])])]}},{key:"default-label",fn:function(e){return e.item.hasOwnProperty("amt_yet")?[i("span",{class:{"ifSort-field":t.listSort.indexOf("amt2")>-1}},[t._v("\n "+t._s(t._f("amtShortFilter2")(e.item.amt_yet))+"\n ")])]:void 0}}],null,!0)},[t._v(" "),t._v(" "),t._v(" "),t._v(" "),i("template",{slot:"suffix"},[i("i",{staticClass:"iconfont icon-right is-link"})])],2)],1):[i("van-empty",{attrs:{image:"search",description:"暂无匹配数据"}})]],2)}),1)]],2)]),t._v(" "),i("van-popup",{attrs:{position:"bottom","get-container":"body"},model:{value:t.showPopover,callback:function(e){t.showPopover=e},expression:"showPopover"}},[i("van-picker",{attrs:{title:"年份","show-toolbar":"",columns:t.yaerColumns},on:{confirm:t.handleConfirmYearPicker,cancel:function(e){t.showPopover=!1}}})],1),t._v(" "),i("lj-to-top",{ref:"scrollToTop"})],1)}}])},[i("div",{staticClass:"winheader-title",attrs:{slot:"header_title"},slot:"header_title"},[i("div",{staticClass:"title-item"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),i("span",{directives:[{name:"show",rawName:"v-show",value:t.scrollFixed,expression:"scrollFixed"}],staticClass:"subtitle"},[t._v("\n "+t._s(t._f("ymDateFilter")(t.currentQueryField.wagemth))+"\n -\n "+t._s(t.currentAccount.cusname)+"\n ")])])])},staticRenderFns:[]}},45:function(t,e,i){"use strict";function n(t){return null!=t&&"none"!==t}function r(t){if(i.i(J.m)(t)){var e=_t.get(t);return e||(e=et.a(t,-.1),_t.put(t,e)),e}if(i.i(J.r)(t)){var n=i.i(J.g)({},t);return n.colorStops=i.i(J.p)(t.colorStops,function(t){return{offset:t.offset,color:et.a(t.color,-.1)}}),n}return t}function a(t,e,i){t.onHoverStateChange&&(t.hoverState||0)!==i&&t.onHoverStateChange(e),t.hoverState=i}function o(t){a(t,"emphasis",ct)}function s(t){t.hoverState===ct&&a(t,"normal",lt)}function l(t){a(t,"blur",ut)}function u(t){t.hoverState===ut&&a(t,"normal",lt)}function c(t){t.selected=!0}function h(t){t.selected=!1}function d(t,e,i){e(t,i)}function p(t,e,i){d(t,e,i),t.isGroup&&t.traverse(function(t){d(t,e,i)})}function f(t,e){switch(e){case"emphasis":t.hoverState=ct;break;case"normal":t.hoverState=lt;break;case"blur":t.hoverState=ut;break;case"select":t.selected=!0}}function g(t,e,i,n){for(var r=t.style,a={},o=0;o=0,l=!1;if(t instanceof nt.a){var u=ot(t),c=s?u.selectFill||u.normalFill:u.normalFill,h=s?u.selectStroke||u.normalStroke:u.normalStroke;if(n(c)||n(h)){o=o||{};var d=o.style||{};"inherit"===d.fill?(l=!0,o=i.i(J.g)({},o),d=i.i(J.g)({},d),d.fill=c):!n(d.fill)&&n(c)?(l=!0,o=i.i(J.g)({},o),d=i.i(J.g)({},d),d.fill=r(c)):!n(d.stroke)&&n(h)&&(l||(o=i.i(J.g)({},o),d=i.i(J.g)({},d)),d.stroke=r(h)),o.style=d}}if(o&&null==o.z2){l||(o=i.i(J.g)({},o));var p=t.z2EmphasisLift;o.z2=t.z2+(null!=p?p:pt)}return o}function y(t,e,n){if(n&&null==n.z2){n=i.i(J.g)({},n);var r=t.z2SelectLift;n.z2=t.z2+(null!=r?r:ft)}return n}function m(t,e,n){var r=i.i(J.f)(t.currentStates,e)>=0,a=t.style.opacity,o=r?null:g(t,["opacity"],e,{opacity:1});n=n||{};var s=n.style||{};return null==s.opacity&&(n=i.i(J.g)({},n),s=i.i(J.g)({opacity:r?a:.1*o.opacity},s),n.style=s),n}function x(t,e){var i=this.states[t];if(this.style){if("emphasis"===t)return v(this,t,e,i);if("blur"===t)return m(this,t,i);if("select"===t)return y(this,t,i)}return i}function _(t){t.stateProxy=x;var e=t.getTextContent(),i=t.getTextGuideLine();e&&(e.stateProxy=x),i&&(i.stateProxy=x)}function b(t,e){!D(t,e)&&!t.__highByOuter&&p(t,o)}function w(t,e){!D(t,e)&&!t.__highByOuter&&p(t,s)}function S(t,e){t.__highByOuter|=1<<(e||0),p(t,o)}function M(t,e){!(t.__highByOuter&=~(1<<(e||0)))&&p(t,s)}function I(t){p(t,l)}function T(t){p(t,u)}function C(t){p(t,c)}function k(t){p(t,h)}function D(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function A(t){var e=t.getModel(),n=[],r=[];e.eachComponent(function(e,i){var a=st(i),o="series"===e,s=o?t.getViewOfSeriesModel(i):t.getViewOfComponentModel(i);!o&&r.push(s),a.isBlured&&(s.group.traverse(function(t){u(t)}),o&&n.push(i)),a.isBlured=!1}),i.i(J.d)(r,function(t){t&&t.toggleBlurSeries&&t.toggleBlurSeries(n,!1,e)})}function L(t,e,n,r){function a(t,e){for(var i=0;i0){var a={dataIndex:r,seriesIndex:t.seriesIndex};null!=n&&(a.dataType=n),e.push(a)}})}),e}function V(t,e,i){Y(t,!0),p(t,_),W(t,e,i)}function j(t){Y(t,!1)}function G(t,e,i,n){n?j(t):V(t,e,i)}function W(t,e,n){var r=i.i(tt.a)(t);null!=e?(r.focus=e,r.blurScope=n):r.focus&&(r.focus=null)}function H(t,e,i,n){i=i||"itemStyle";for(var r=0;r=0}function r(t){return t+"Axis"}function a(t,e){function n(t){!c.get(t.uid)&&a(t)&&(r(t),h=!0)}function r(t){c.set(t.uid,!0),u.push(t),o(t)}function a(t){var e=!1;return t.eachTargetAxis(function(t,i){var n=l.get(t);n&&n[i]&&(e=!0)}),e}function o(t){t.eachTargetAxis(function(t,e){(l.get(t)||l.set(t,[]))[e]=!0})}var l=i.i(s.k)(),u=[],c=i.i(s.k)();t.eachComponent({mainType:"dataZoom",query:e},function(t){c.get(t.uid)||r(t)});var h;do{h=!1,t.eachComponent("dataZoom",n)}while(h);return u}function o(t){var e=t.ecModel,n={infoList:[],infoMap:i.i(s.k)()};return t.eachTargetAxis(function(t,i){var a=e.getComponent(r(t),i);if(a){var o=a.getCoordSysModel();if(o){var s=o.uid,l=n.infoMap.get(s);l||(l={model:o,axisModels:[]},n.infoList.push(l),n.infoMap.set(s,l)),l.axisModels.push(a)}}}),n}i.d(e,"e",function(){return l}),e.c=n,e.b=r,e.a=a,e.d=o;var s=i(3),l=["x","y","radius","angle","single"],u=["cartesian2d","polar","singleAxis"]},476:function(t,e,i){"use strict";function n(t,e,i,n,o,s){t=t||0;var l=i[1]-i[0];if(null!=o&&(o=a(o,[0,l])),null!=s&&(s=Math.max(s,null!=o?o:0)),"all"===n){var u=Math.abs(e[1]-e[0]);u=a(u,[0,l]),o=s=a(u,[o,s]),n=0}e[0]=a(e[0],i),e[1]=a(e[1],i);var c=r(e,n);e[n]+=t;var h=o||0,d=i.slice();c.sign<0?d[0]+=h:d[1]-=h,e[n]=a(e[n],d);var p;return p=r(e,n),null!=o&&(p.sign!==c.sign||p.spans&&(e[1-n]=e[n]+p.sign*s),e}function r(t,e){var i=t[e]-t[1-e];return{span:Math.abs(i),sign:i>0?-1:i<0?1:e?-1:1}}function a(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}e.a=n},477:function(t,e,i){"use strict";i.d(e,"a",function(){return n});var n=function(){function t(){}return t.prototype.getNeedCrossZero=function(){return!this.option.scale},t.prototype.getCoordSysModel=function(){},t}()},478:function(t,e,i){"use strict";var n=i(3),r=i(1016),a=i(1014),o=i.i(n.k)();e.a={registerMap:function(t,e,i){if(e.svg){var n=new r.a(t,e.svg);o.set(t,n)}else{var s=e.geoJson||e.geoJSON;s&&!e.features?i=e.specialAreas:s=e;var n=new a.a(t,s,i);o.set(t,n)}},getGeoResource:function(t){return o.get(t)},getMapForUser:function(t){var e=o.get(t);return e&&"geoJSON"===e.type&&e.getMapForUser()},load:function(t,e,i){var n=o.get(t);if(n)return n.load(e,i)}}},479:function(t,e,i){"use strict";function n(t){return function(){for(var e=[],i=0;i=0)){Xt.push(n);var o=H.a.wrapStageHandler(n,a);o.__prio=e,o.__raw=n,t.push(o)}}function _(t,e){Wt[t]=e}function b(t,e,n){var r=i.i(at.a)("registerMap");r&&r(t,e,n)}i.d(e,"m",function(){return ct}),e.n=s,e.b=c,e.c=h,e.d=d,e.e=p,e.f=f,e.a=g,e.g=v,i.d(e,"h",function(){return y}),i.d(e,"i",function(){return m}),e.k=_,e.l=b,i.d(e,"j",function(){return Zt});var w=i(6),S=i(628),M=i(3),I=i(91),T=i(721),C=i(223),k=i(701),D=i(693),A=i(520),L=i(1064),P=i(1069),O=i(1071),R=i(79),N=i(81),E=i(80),z=i(14),B=i(66),F=i(45),V=i(13),j=i(263),G=i(1083),W=i(1063),H=i(1042),Y=i(1077),U=i(1076),q=i(262),X=i(1078),Z=i(1084),$=i(484),K=i(56),Q=i(616),J=i(699),tt=i(542),et=i(617),it=i(1082),nt=i(1043),rt=i(166),at=i(694),ot="undefined"!=typeof window,st=2e3,lt=1e3,ut=3e3,ct={PROCESSOR:{FILTER:1e3,SERIES_FILTER:800,STATISTIC:5e3},VISUAL:{LAYOUT:lt,PROGRESSIVE_LAYOUT:1100,GLOBAL:2e3,CHART:ut,POST_CHART_LAYOUT:4600,COMPONENT:4e3,BRUSH:5e3,CHART_ITEM:4500,ARIA:6e3,DECAL:7e3}},ht="__pendingUpdate",dt=/^[a-zA-Z0-9_]+$/,pt="__connectUpdateStatus",ft=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.i(w.a)(e,t),e}(C.a),gt=ft.prototype;gt.on=r("on"),gt.off=r("off");var vt,yt,mt,xt,_t,bt,wt,St,Mt,It,Tt,Ct,kt,Dt,At,Lt,Pt,Ot,Rt=function(t){function e(e,n,r){function a(t,e){return t.__prio-e.__prio}var o=t.call(this,new X.a)||this;o._chartsViews=[],o._chartsMap={},o._componentsViews=[],o._componentsMap={},o._pendingActions=[],r=r||{},i.i(M.m)(n)&&(n=Gt[n]),o._dom=e;var s="canvas",l=!1,u=o._zr=S.a(e,{renderer:r.renderer||s,devicePixelRatio:r.devicePixelRatio,width:r.width,height:r.height,ssr:r.ssr,useDirtyRect:null==r.useDirtyRect?l:r.useDirtyRect});o._ssr=r.ssr,o._throttledZrFlush=i.i(j.c)(i.i(M.K)(u.flush,u),17),n=i.i(M.v)(n),n&&i.i(P.a)(n,!0),o._theme=n,o._locale=i.i(tt.d)(r.locale||tt.b),o._coordSysMgr=new A.a;var c=o._api=At(o);return i.i(T.a)(jt,a),i.i(T.a)(Ft,a),o._scheduler=new H.a(o,c,Ft,jt),o._messageCenter=new ft,o._initEvents(),o.resize=i.i(M.K)(o.resize,o),u.animation.on("frame",o._onframe,o),It(u,o),Tt(u,o),i.i(M.L)(o),o}return i.i(w.a)(e,t),e.prototype._onframe=function(){if(!this._disposed){Ot(this);var t=this._scheduler;if(this[ht]){var e=this[ht].silent;this.__flagInMainProcess=!0;try{vt(this),xt.update.call(this,null,this[ht].updateParams)}catch(t){throw this.__flagInMainProcess=!1,this[ht]=null,t}this._zr.flush(),this.__flagInMainProcess=!1,this[ht]=null,St.call(this,e),Mt.call(this,e)}else if(t.unfinished){var i=1,n=this._model,r=this._api;t.unfinished=!1;do{var a=+new Date;t.performSeriesTasks(n),t.performDataProcessorTasks(n),bt(this,n),t.performVisualTasks(n),Dt(this,this._model,r,"remain",{}),i-=+new Date-a}while(i>0&&t.unfinished);t.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(t,e,n){if(!this.__flagInMainProcess){if(this._disposed)return void o(this.id);var r,a,s;if(i.i(M.i)(e)&&(n=e.lazyUpdate,r=e.silent,a=e.replaceMerge,s=e.transition,e=e.notMerge),this.__flagInMainProcess=!0,!this._model||e){var l=new L.a(this._api),u=this._theme,c=this._model=new k.a;c.scheduler=this._scheduler,c.ssr=this._ssr,c.init(null,null,null,u,this._locale,l)}this._model.setOption(t,{replaceMerge:a},Vt);var h={seriesTransition:s,optionChanged:!0};if(n)this[ht]={silent:r,updateParams:h},this.__flagInMainProcess=!1,this.getZr().wakeUp();else{try{vt(this),xt.update.call(this,null,h)}catch(t){throw this[ht]=null,this.__flagInMainProcess=!1,t}this._ssr||this._zr.flush(),this[ht]=null,this.__flagInMainProcess=!1,St.call(this,r),Mt.call(this,r)}}},e.prototype.setTheme=function(){i.i(K.c)("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||ot&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){t=t||{};var e=this._zr.painter;return e.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){t=t||{};var e=this._zr.painter;return e.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){if(I.a.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return i.i(M.d)(e,function(t){t.stopAnimation(null,!0)}),t.painter.toDataURL()}},e.prototype.getDataURL=function(t){if(this._disposed)return void o(this.id);t=t||{};var e=t.excludeComponents,n=this._model,r=[],a=this;i.i(M.d)(e,function(t){n.eachComponent({mainType:t},function(t){var e=a._componentsMap[t.__viewId];e.group.ignore||(r.push(e),e.group.ignore=!0)})});var s="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return i.i(M.d)(r,function(t){t.group.ignore=!1}),s},e.prototype.getConnectedDataURL=function(t){if(this._disposed)return void o(this.id);var e="svg"===t.type,n=this.group,r=Math.min,a=Math.max;if(Yt[n]){var s=1/0,l=1/0,u=-1/0,c=-1/0,h=[],d=t&&t.pixelRatio||this.getDevicePixelRatio();i.i(M.d)(Ht,function(o,d){if(o.group===n){var p=e?o.getZr().painter.getSvgDom().innerHTML:o.renderToCanvas(i.i(M.v)(t)),f=o.getDom().getBoundingClientRect();s=r(f.left,s),l=r(f.top,l),u=a(f.right,u),c=a(f.bottom,c),h.push({dom:p,left:f.left,top:f.top})}}),s*=d,l*=d,u*=d,c*=d;var p=u-s,f=c-l,g=rt.a.createCanvas(),v=S.a(g,{renderer:e?"svg":"canvas"});if(v.resize({width:p,height:f}),e){var y="";return i.i(M.d)(h,function(t){var e=t.left-s,i=t.top-l;y+=''+t.dom+""}),v.painter.getSvgRoot().innerHTML=y,t.connectedBackgroundColor&&v.painter.setBackgroundColor(t.connectedBackgroundColor),v.refreshImmediately(),v.painter.toDataURL()}return t.connectedBackgroundColor&&v.add(new z.Rect({shape:{x:0,y:0,width:p,height:f},style:{fill:t.connectedBackgroundColor}})),i.i(M.d)(h,function(t){var e=new z.Image({style:{x:t.left*d-s,y:t.top*d-l,image:t.dom}});v.add(e)}),v.refreshImmediately(),g.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)},e.prototype.convertToPixel=function(t,e){return _t(this,"convertToPixel",t,e)},e.prototype.convertFromPixel=function(t,e){return _t(this,"convertFromPixel",t,e)},e.prototype.containPixel=function(t,e){if(this._disposed)return void o(this.id);var n,r=this._model,a=V.l(r,t);return i.i(M.d)(a,function(t,r){r.indexOf("Models")>=0&&i.i(M.d)(t,function(t){var i=t.coordinateSystem;if(i&&i.containPoint)n=n||!!i.containPoint(e);else if("seriesModels"===r){var a=this._chartsMap[t.__viewId];a&&a.containPoint&&(n=n||a.containPoint(e,t))}},this)},this),!!n},e.prototype.getVisual=function(t,e){var n=this._model,r=V.l(n,t,{defaultMainType:"series"}),a=r.seriesModel,o=a.getData(),s=r.hasOwnProperty("dataIndexInside")?r.dataIndexInside:r.hasOwnProperty("dataIndex")?o.indexOfRawIndex(r.dataIndex):null;return null!=s?i.i($.b)(o,s,e):i.i($.a)(o,e)},e.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},e.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},e.prototype._initEvents=function(){var t=this;i.i(M.d)(Et,function(e){var n=function(n){var r,a=t.getModel(),o=n.target,s="globalout"===e;if(s?r={}:o&&i.i(et.a)(o,function(t){var e=i.i(B.a)(t);if(e&&null!=e.dataIndex){var n=e.dataModel||a.getSeriesByIndex(e.seriesIndex);return r=n&&n.getDataParams(e.dataIndex,e.dataType)||{},!0}if(e.eventData)return r=i.i(M.g)({},e.eventData),!0},!0),r){var l=r.componentType,u=r.componentIndex;"markLine"!==l&&"markPoint"!==l&&"markArea"!==l||(l="series",u=r.seriesIndex);var c=l&&null!=u&&a.getComponent(l,u),h=c&&t["series"===c.mainType?"_chartsMap":"_componentsMap"][c.__viewId];r.event=n,r.type=e,t._$eventProcessor.eventInfo={targetEl:o,packedEvent:r,model:c,view:h},t.trigger(e,r)}};n.zrEventfulCallAtLast=!0,t._zr.on(e,n,t)}),i.i(M.d)(Bt,function(e,i){t._messageCenter.on(i,function(t){this.trigger(i,t)},t)}),i.i(M.d)(["selectchanged"],function(e){t._messageCenter.on(e,function(t){this.trigger(e,t)},t)}),i.i(Q.a)(this._messageCenter,this,this._api)},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){if(this._disposed)return void o(this.id);this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)return void o(this.id);this._disposed=!0,this.getDom()&&V.m(this.getDom(),qt,"");var t=this,e=t._api,n=t._model;i.i(M.d)(t._componentsViews,function(t){t.dispose(n,e)}),i.i(M.d)(t._chartsViews,function(t){t.dispose(n,e)}),t._zr.dispose(),t._dom=t._model=t._chartsMap=t._componentsMap=t._chartsViews=t._componentsViews=t._scheduler=t._api=t._zr=t._throttledZrFlush=t._theme=t._coordSysMgr=t._messageCenter=null,delete Ht[t.id]},e.prototype.resize=function(t){if(!this.__flagInMainProcess){if(this._disposed)return void o(this.id);this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),r=t&&t.silent;this[ht]&&(null==r&&(r=this[ht].silent),n=!0,this[ht]=null),this.__flagInMainProcess=!0;try{n&&vt(this),xt.update.call(this,{type:"resize",animation:i.i(M.g)({duration:0},t&&t.animation)})}catch(t){throw this.__flagInMainProcess=!1,t}this.__flagInMainProcess=!1,St.call(this,r),Mt.call(this,r)}}},e.prototype.showLoading=function(t,e){if(this._disposed)return void o(this.id);if(i.i(M.i)(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),Wt[t]){var n=Wt[t](this._api,e),r=this._zr;this._loadingFX=n,r.add(n)}},e.prototype.hideLoading=function(){if(this._disposed)return void o(this.id);this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},e.prototype.makeActionFromEvent=function(t){var e=i.i(M.g)({},t);return e.type=Bt[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)return void o(this.id);if(i.i(M.i)(e)||(e={silent:!!e}),zt[t.type]&&this._model){if(this.__flagInMainProcess)return void this._pendingActions.push(t);var n=e.silent;wt.call(this,t,n);var r=e.flush;r?this._zr.flush():!1!==r&&I.a.browser.weChat&&this._throttledZrFlush(),St.call(this,n),Mt.call(this,n)}},e.prototype.updateLabelLayout=function(){nt.a.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed)return void o(this.id);var e=t.seriesIndex,i=this.getModel(),n=i.getSeriesByIndex(e);n.appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()},e.internalField=function(){function t(t){t.clearColorPalette(),t.eachSeries(function(t){t.clearColorPalette()})}function e(t){var e=[],n=[],r=!1;if(t.eachComponent(function(t,i){var a=i.get("zlevel")||0,o=i.get("z")||0,s=i.getZLevelKey();r=r||!!s,("series"===t?n:e).push({zlevel:a,z:o,idx:i.componentIndex,type:t,key:s})}),r){var a,o,s=e.concat(n);i.i(T.a)(s,function(t,e){return t.zlevel===e.zlevel?t.z-e.z:t.zlevel-e.zlevel}),i.i(M.d)(s,function(e){var i=t.getComponent(e.type,e.idx),n=e.zlevel,r=e.key;null!=a&&(n=Math.max(a,n)),r?(n===a&&r!==o&&n++,o=r):o&&(n===a&&n++,o=""),a=n,i.setZLevel(n)})}}function n(t){for(var e=[],i=t.currentStates,n=0;ne.get("hoverLayerThreshold")&&!I.a.node&&!I.a.worker&&e.eachSeries(function(e){if(!e.preventUsingHoverLayer){var i=t._chartsMap[e.__viewId];i.__alive&&i.eachRendered(function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)})}})}function a(t,e){var i=t.get("blendMode")||null;e.eachRendered(function(t){t.isGroup||(t.style.blend=i)})}function s(t,e){if(!t.preventAutoZ){var i=t.get("z")||0,n=t.get("zlevel")||0;e.eachRendered(function(t){return l(t,i,n,-1/0),!0})}}function l(t,e,i,n){var r=t.getTextContent(),a=t.getTextGuideLine();if(t.isGroup)for(var o=t.childrenRef(),s=0;s0?{duration:o,delay:r.get("delay"),easing:r.get("easing")}:null;e.eachRendered(function(t){if(t.states&&t.states.emphasis){if(z.isElementRemoved(t))return;if(t instanceof z.Path&&i.i(F.v)(t),t.__dirty){var e=t.prevStates;e&&t.useStates(e)}if(a){t.stateTransition=s;var r=t.getTextContent(),o=t.getTextGuideLine();r&&(r.stateTransition=s),o&&(o.stateTransition=s)}t.__dirty&&n(t)}})}vt=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),yt(t,!0),yt(t,!1),e.plan()},yt=function(t,e){function n(t){var n=t.__requireNewView;t.__requireNewView=!1;var c="_ec_"+t.id+"_"+t.type,h=!n&&s[c];if(!h){var d=i.i(q.f)(t.type),p=e?N.a.getClass(d.main,d.sub):E.a.getClass(d.sub);h=new p,h.init(r,u),s[c]=h,o.push(h),l.add(h.group)}t.__viewId=h.__id=c,h.__alive=!0,h.__model=t,h.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},!e&&a.prepareView(h,t,r,u)}for(var r=t._model,a=t._scheduler,o=e?t._componentsViews:t._chartsViews,s=e?t._componentsMap:t._chartsMap,l=t._zr,u=t._api,c=0;c0&&(r.name=a+(o-1)),o++,e.set(a,o)}}function a(t,e,n,r){var a=Math.max(t.dimensionsDetectedCount||1,e.length,n.length,r||0);return i.i(u.d)(e,function(t){var e;i.i(u.i)(t)&&(e=t.dimsDef)&&(a=Math.max(a,e.length))}),a}function o(t,e,i){var n=e.data;if(i||n.hasOwnProperty(t)){for(var r=0;n.hasOwnProperty(t+r);)r++;t+=r}return e.set(t,!0),t}e.a=n;var s=i(165),l=i(696),u=i(3),c=i(290),h=i(612),d=i(13),p=i(261),f=i(614)},481:function(t,e,i){"use strict";function n(t,e){var i=x[o(t,e)];return i}function r(t,e){var i=b[o(t,e)];return i}function a(t){var e=S[t];return e}function o(t,e){return t===v.b?t+"_"+e:t}function s(t,e,n){if(t){var r=t.getRawDataItem(e);if(null!=r){var o=t.getStore(),s=o.getSource().sourceFormat;if(null!=n){var l=t.getDimensionIndex(n),u=o.getDimensionProperty(l);return a(s)(r,l,u)}var c=r;return s===v.g&&(c=i.i(f.g)(r)),c}}}i.d(e,"b",function(){return y}),e.c=n,e.d=r,e.e=a,e.a=s;var l,u,c,h,d,p=i(3),f=i(13),g=i(290),v=i(165),y=function(){function t(t,e){var n=i.i(g.a)(t)?t:i.i(g.b)(t);this._source=n;var r=this._data=n.data;n.sourceFormat===v.a&&(this._offset=0,this._dimSize=e,this._data=r),d(this,r,n)}return t.prototype.getSource=function(){return this._source},t.prototype.count=function(){return 0},t.prototype.getItem=function(t,e){},t.prototype.appendData=function(t){},t.prototype.clean=function(){},t.protoInitialize=function(){var e=t.prototype;e.pure=!1,e.persistent=!0}(),t.internalField=function(){function t(t){for(var e=0;eu&&(u=p)}s[0]=l,s[1]=u}},l=function(){return this._data?this._data.length/this._dimSize:0};e={},e[v.b+"_"+v.c]={pure:!0,appendData:t},e[v.b+"_"+v.d]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},e[v.e]={pure:!0,appendData:t},e[v.f]={pure:!0,appendData:function(t){var e=this._data;i.i(p.d)(t,function(t,i){for(var n=e[i]||(e[i]=[]),r=0;r<(t||[]).length;r++)n.push(t[r])})}},e[v.g]={appendData:t},e[v.a]={persistent:!1,pure:!0,appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}},h=e}(),t}(),m=function(t,e,i,n){return t[n]},x=(l={},l[v.b+"_"+v.c]=function(t,e,i,n){return t[n+e]},l[v.b+"_"+v.d]=function(t,e,i,n,r){n+=e;for(var a=r||[],o=t,s=0;s=0||a&&r.f(a,l)<0)){var u=i.getShallow(l,e);null!=u&&(o[t[s][0]]=u)}}return o}}e.a=n;var r=i(3)},483:function(t,e,i){"use strict";var n=i(6),r=i(22),a=i(137),o=i(523),s=i(324),l=r.d,u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return i.i(n.a)(e,t),e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return s.a(t,this._extent)},e.prototype.normalize=function(t){return s.b(t,this._extent)},e.prototype.scale=function(t){return s.c(t,this._extent)},e.prototype.setExtent=function(t,e){var i=this._extent;isNaN(t)||(i[0]=parseFloat(t)),isNaN(e)||(i[1]=parseFloat(e))},e.prototype.unionExtent=function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1]),this.setExtent(e[0],e[1])},e.prototype.getInterval=function(){return this._interval},e.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=s.d(t)},e.prototype.getTicks=function(t){var e=this._interval,i=this._extent,n=this._niceExtent,r=this._intervalPrecision,a=[];if(!e)return a;i[0]1e4)return[];var s=a.length?a[a.length-1].value:n[1];return i[1]>s&&(t?a.push({value:l(s+e,r)}):a.push({value:i[1]})),a},e.prototype.getMinorTicks=function(t){for(var e=this.getTicks(!0),i=[],n=this.getExtent(),r=1;rn[0]&&d0,B=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),F=o.calculatedLineHeight,V=0;V=0&&(O=I[P],"right"===O.align);)this._placeToken(O,t,C,_,L,"right",w),k-=O.width,L-=O.width,P--;for(A+=(r-(A-x)-(b-L)-k)/2;D<=P;)O=I[D],this._placeToken(O,t,C,_,A+O.width/2,"center",w),A+=O.width,D++;_+=C}},e.prototype._placeToken=function(t,e,n,a,o,s,h){var p=e.rich[t.styleName]||{};p.text=t.text;var f=t.verticalAlign,m=a+n/2;"top"===f?m=a+t.height/2:"bottom"===f&&(m=a+n-t.height/2),!t.isLineHolder&&d(p)&&this._renderBackground(p,e,"right"===s?o-t.width:"center"===s?o-t.width/2:o,m-t.height/2,t.width,t.height);var x=!!p.backgroundColor,b=t.textPadding;b&&(o=c(o,s,b),m-=t.height/2-b[0]-t.innerHeight/2);var S=this._getOrCreateChild(g.a),M=S.createStyle();S.useStyle(M);var I=this._defaultStyle,T=!1,C=0,k=u("fill"in p?p.fill:"fill"in e?e.fill:(T=!0,I.fill)),D=l("stroke"in p?p.stroke:"stroke"in e?e.stroke:x||h||I.autoStroke&&!T?null:(C=2,I.stroke)),A=p.textShadowBlur>0||e.textShadowBlur>0;M.text=t.text,M.x=o,M.y=m,A&&(M.shadowBlur=p.textShadowBlur||e.textShadowBlur||0,M.shadowColor=p.textShadowColor||e.textShadowColor||"transparent",M.shadowOffsetX=p.textShadowOffsetX||e.textShadowOffsetX||0,M.shadowOffsetY=p.textShadowOffsetY||e.textShadowOffsetY||0),M.textAlign=s,M.textBaseline="middle",M.font=t.font||w.b,M.opacity=i.i(v.D)(p.opacity,e.opacity,1),r(M,p),D&&(M.lineWidth=i.i(v.D)(p.lineWidth,e.lineWidth,C),M.lineDash=i.i(v.e)(p.lineDash,e.lineDash),M.lineDashOffset=e.lineDashOffset||0,M.stroke=D),k&&(M.fill=k);var L=t.contentWidth,P=t.contentHeight;S.setBoundingRect(new _.a(i.i(y.d)(M.x,L,M.textAlign),i.i(y.c)(M.y,P,M.textBaseline),L,P))},e.prototype._renderBackground=function(t,e,n,r,a,o){var s,l,u=t.backgroundColor,c=t.borderWidth,h=t.borderColor,d=u&&u.image,p=u&&!d,f=t.borderRadius,g=this;if(p||t.lineHeight||c&&h){s=this._getOrCreateChild(x.a),s.useStyle(s.createStyle()),s.style.fill=null;var y=s.shape;y.x=n,y.y=r,y.width=a,y.height=o,y.r=f,s.dirtyShape()}if(p){var _=s.style;_.fill=u||null,_.fillOpacity=i.i(v.e)(t.fillOpacity,1)}else if(d){l=this._getOrCreateChild(m.a),l.onload=function(){g.dirtyStyle()};var b=l.style;b.image=u.image,b.x=n,b.y=r,b.width=a,b.height=o}if(c&&h){var _=s.style;_.lineWidth=c,_.stroke=h,_.strokeOpacity=i.i(v.e)(t.strokeOpacity,1),_.lineDash=t.borderDash,_.lineDashOffset=t.borderDashOffset||0,s.strokeContainThreshold=0,s.hasFill()&&s.hasStroke()&&(_.strokeFirst=!0,_.lineWidth*=2)}var w=(s||l).style;w.shadowBlur=t.shadowBlur||0,w.shadowColor=t.shadowColor||"transparent",w.shadowOffsetX=t.shadowOffsetX||0,w.shadowOffsetY=t.shadowOffsetY||0,w.opacity=i.i(v.D)(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";return a(t)&&(e=[t.fontStyle,t.fontWeight,n(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),e&&i.i(v.h)(e)||t.textFont||t.font},e}(b.c),T={left:!0,right:1,center:1},C={top:1,bottom:1,middle:1},k=["fontStyle","fontWeight","fontSize","fontFamily"];e.a=I},490:function(t,e,i){"use strict";(function(t){function n(t){var e;if(t&&"transparent"!==t){if("string"==typeof t&&t.indexOf("rgba")>-1){var n=i.i(b.c)(t);n&&(t="rgb("+n[0]+","+n[1]+","+n[2]+")",e=n[3])}}else t="none";return{color:t,opacity:null==e?1:e}}function r(t){return t-M}function a(t){return S(1e3*t)/1e3}function o(t){return S(1e4*t)/1e4}function s(t){return"matrix("+a(t[0])+","+a(t[1])+","+a(t[2])+","+a(t[3])+","+o(t[4])+","+o(t[5])+")"}function l(t,e,i){return"top"===i?t+=e/2:"bottom"===i&&(t-=e/2),t}function u(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)}function c(t){var e=t.style,i=t.getGlobalScale();return[e.shadowColor,(e.shadowBlur||0).toFixed(2),(e.shadowOffsetX||0).toFixed(2),(e.shadowOffsetY||0).toFixed(2),i[0],i[1]].join(",")}function h(t){return t&&!!t.image}function d(t){return t&&!!t.svgElement}function p(t){return h(t)||d(t)}function f(t){return"linear"===t.type}function g(t){return"radial"===t.type}function v(t){return t&&("linear"===t.type||"radial"===t.type)}function y(t){return"url(#"+t+")"}function m(t){var e=t.getGlobalScale(),i=Math.max(e[0],e[1]);return Math.max(Math.ceil(Math.log(i)/Math.log(10)),1)}function x(t){var e=t.x||0,n=t.y||0,r=(t.rotation||0)*_.C,a=i.i(_.e)(t.scaleX,1),o=i.i(_.e)(t.scaleY,1),s=t.skewX||0,l=t.skewY||0,u=[];return(e||n)&&u.push("translate("+e+"px,"+n+"px)"),r&&u.push("rotate("+r+")"),1===a&&1===o||u.push("scale("+a+","+o+")"),(s||l)&&u.push("skew("+S(s*_.C)+"deg, "+S(l*_.C)+"deg)"),u.join(" ")}e.c=n,e.g=r,e.o=o,e.h=s,i.d(e,"k",function(){return I}),e.j=l,e.l=u,e.m=c,e.p=h,e.f=p,e.a=f,e.b=g,e.e=v,e.n=y,e.i=m,e.q=x,i.d(e,"d",function(){return T});var _=i(3),b=i(160),w=i(91),S=Math.round,M=1e-4,I={left:"start",right:"end",center:"middle",middle:"middle"},T=function(){return w.a.hasGlobalWindow&&i.i(_.a)(window.btoa)?function(t){return window.btoa(unescape(t))}:void 0!==t?function(e){return t.from(e).toString("base64")}:function(t){return null}}()}).call(e,i(793).Buffer)},514:function(t,e,i){"use strict";function n(t,e,i,n){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(n.isIgnore&&n.isIgnore(i))&&!(n.clipShape&&!n.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(i,"symbol")}function r(t){return null==t||i.i(l.i)(t)||(t={isIgnore:t}),t||{}}function a(t){var e=t.hostModel,n=e.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:i.i(u.f)(e),cursorStyle:e.get("cursor")}}var o=i(14),s=i(535),l=i(3),u=i(58),c=function(){function t(t){this.group=new o.Group,this._SymbolCtor=t||s.a}return t.prototype.updateData=function(t,e){this._progressiveEls=null,e=r(e);var i=this.group,s=t.hostModel,l=this._data,u=this._SymbolCtor,c=e.disableAnimation,h=a(t),d={disableAnimation:c},p=e.getSymbolPoint||function(e){return t.getItemLayout(e)};l||i.removeAll(),t.diff(l).add(function(r){var a=p(r);if(n(t,a,r,e)){var o=new u(t,r,h,d);o.setPosition(a),t.setItemGraphicEl(r,o),i.add(o)}}).update(function(r,a){var f=l.getItemGraphicEl(a),g=p(r);if(!n(t,g,r,e))return void i.remove(f);var v=t.getItemVisual(r,"symbol")||"circle",y=f&&f.getSymbolType&&f.getSymbolType();if(!f||y&&y!==v)i.remove(f),f=new u(t,r,h,d),f.setPosition(g);else{f.updateData(t,r,h,d);var m={x:g[0],y:g[1]};c?f.attr(m):o.updateProps(f,m,s)}i.add(f),t.setItemGraphicEl(r,f)}).remove(function(t){var e=l.getItemGraphicEl(t);e&&e.fadeOut(function(){i.remove(e)},s)}).execute(),this._getSymbolPoint=p,this._data=t},t.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl(function(e,i){var n=t._getSymbolPoint(i);e.setPosition(n),e.markRedraw()})},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=a(t),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e,i){function a(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],i=r(i);for(var o=t.start;o=0&&r.push(e[s])}return r.join(" ")}e.a=n,e.b=r;var a=i(481),o=i(3)},517:function(t,e,i){"use strict";function n(t){r.a.registerAxisPointerClass("CartesianAxisPointer",a.a),t.registerComponentModel(o.a),t.registerComponentView(s.a),t.registerPreprocessor(function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!i.i(l.j)(e)&&(t.axisPointer.link=[e])}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=i.i(u.a)(t,e)}),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},c.a)}e.a=n;var r=i(321),a=i(920),o=i(918),s=i(919),l=i(3),u=i(537),c=i(923)},518:function(t,e,i){"use strict";function n(t,e,i,n,a){t.pointerChecker&&t.pointerChecker(n,a.originX,a.originY)&&(l.a(n.event),r(t,e,i,n,a))}function r(t,e,n,r,o){o.isAvailableBehavior=i.i(c.K)(a,null,n,r),t.trigger(e,o)}function a(t,e,n){var r=n[t];return!t||r&&(!i.i(c.m)(r)||e.event[r+"Key"])}var o=i(6),s=i(223),l=i(265),u=i(673),c=i(3),h=function(t){function e(e){var n=t.call(this)||this;n._zr=e;var r=i.i(c.K)(n._mousedownHandler,n),a=i.i(c.K)(n._mousemoveHandler,n),o=i.i(c.K)(n._mouseupHandler,n),s=i.i(c.K)(n._mousewheelHandler,n),l=i.i(c.K)(n._pinchHandler,n);return n.enable=function(t,n){this.disable(),this._opt=i.i(c.t)(i.i(c.v)(n)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==t&&(t=!0),!0!==t&&"move"!==t&&"pan"!==t||(e.on("mousedown",r),e.on("mousemove",a),e.on("mouseup",o)),!0!==t&&"scale"!==t&&"zoom"!==t||(e.on("mousewheel",s),e.on("pinch",l))},n.disable=function(){e.off("mousedown",r),e.off("mousemove",a),e.off("mouseup",o),e.off("mousewheel",s),e.off("pinch",l)},n}return i.i(o.a)(e,t),e.prototype.isDragging=function(){return this._dragging},e.prototype.isPinching=function(){return this._pinching},e.prototype.setPointerChecker=function(t){this.pointerChecker=t},e.prototype.dispose=function(){this.disable()},e.prototype._mousedownHandler=function(t){if(!(l.b(t)||t.target&&t.target.draggable)){var e=t.offsetX,i=t.offsetY;this.pointerChecker&&this.pointerChecker(t,e,i)&&(this._x=e,this._y=i,this._dragging=!0)}},e.prototype._mousemoveHandler=function(t){if(this._dragging&&a("moveOnMouseMove",t,this._opt)&&"pinch"!==t.gestureEvent&&!u.a(this._zr,"globalPan")){var e=t.offsetX,i=t.offsetY,n=this._x,o=this._y,s=e-n,c=i-o;this._x=e,this._y=i,this._opt.preventDefaultMouseMove&&l.a(t.event),r(this,"pan","moveOnMouseMove",t,{dx:s,dy:c,oldX:n,oldY:o,newX:e,newY:i,isAvailableBehavior:null})}},e.prototype._mouseupHandler=function(t){l.b(t)||(this._dragging=!1)},e.prototype._mousewheelHandler=function(t){var e=a("zoomOnMouseWheel",t,this._opt),i=a("moveOnMouseWheel",t,this._opt),r=t.wheelDelta,o=Math.abs(r),s=t.offsetX,l=t.offsetY;if(0!==r&&(e||i)){if(e){var u=o>3?1.4:o>1?1.2:1.1;n(this,"zoom","zoomOnMouseWheel",t,{scale:r>0?u:1/u,originX:s,originY:l,isAvailableBehavior:null})}if(i){var c=Math.abs(r);n(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(r>0?1:-1)*(c>3?.4:c>1?.15:.05),originX:s,originY:l,isAvailableBehavior:null})}}},e.prototype._pinchHandler=function(t){if(!u.a(this._zr,"globalPan")){n(this,"zoom",null,t,{scale:t.pinchScale>1?1.1:1/1.1,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})}},e}(s.a);e.a=h},519:function(t,e,i){"use strict";function n(t,e){return t.type===e}e.a=n},520:function(t,e,i){"use strict";var n=i(3),r={},a=function(){function t(){this._coordinateSystems=[]}return t.prototype.create=function(t,e){var i=[];n.d(r,function(n,r){var a=n.create(t,e);i=i.concat(a||[])}),this._coordinateSystems=i},t.prototype.update=function(t,e){n.d(this._coordinateSystems,function(i){i.update&&i.update(t,e)})},t.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},t.register=function(t,e){r[t]=e},t.get=function(t){return r[t]},t}();e.a=a},521:function(t,e,i){"use strict";function n(t,e){return{seriesType:t,plan:i.i(a.a)(),reset:function(t){var n=t.getData(),a=t.coordinateSystem,l=t.pipelineContext,u=e||l.large;if(a){var c=i.i(r.p)(a.dimensions,function(t){return n.mapDimension(t)}).slice(0,2),h=c.length,d=n.getCalculationInfo("stackResultDimension");i.i(o.b)(n,c[0])&&(c[0]=d),i.i(o.b)(n,c[1])&&(c[1]=d);var p=n.getStore(),f=n.getDimensionIndex(c[0]),g=n.getDimensionIndex(c[1]);return h&&{progress:function(t,e){for(var n=t.end-t.start,r=u&&i.i(s.a)(n*h),o=[],l=[],c=t.start,d=0;ce[1]&&(e[1]=t[1])},t.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(t,e){var i=this._extent;isNaN(t)||(i[0]=t),isNaN(e)||(i[1]=e)},t.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(t){this._isBlank=t},t}();n.e(r),e.a=r},5235:function(t,e,i){i(4812);var n=i(0)(i(2585),i(4323),null,null);t.exports=n.exports},5236:function(t,e,i){i(4749);var n=i(0)(i(2586),i(4248),null,null);t.exports=n.exports},524:function(t,e,i){"use strict";function n(t){return i.i(r.j)(t)?a?new Float32Array(t):t:new o(t)}e.a=n;var r=i(3),a="undefined"!=typeof Float32Array,o=a?Float32Array:Array},525:function(t,e,i){"use strict";var n=function(){function t(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}return t.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},t.prototype.containName=function(t){return this._getRawData().indexOfName(t)>=0},t.prototype.indexOfName=function(t){return this._getDataWithEncodedVisual().indexOfName(t)},t.prototype.getItemVisual=function(t,e){return this._getDataWithEncodedVisual().getItemVisual(t,e)},t}();e.a=n},529:function(t,e,i){"use strict";var n=function(){function t(t){this.value=t}return t}(),r=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new n(t);return this.insertEntry(e),e},t.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},t.prototype.remove=function(t){var e=t.prev,i=t.next;e?e.next=i:this.head=i,i?i.prev=e:this.tail=e,t.next=t.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}(),a=function(){function t(t){this._list=new r,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var i=this._list,r=this._map,a=null;if(null==r[t]){var o=i.len(),s=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var l=i.head;i.remove(l),delete r[l.key],a=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new n(e),s.key=t,i.insertEntry(s),r[t]=s}return a},t.prototype.get=function(t){var e=this._map[t],i=this._list;if(null!=e)return e!==i.tail&&(i.remove(e),i.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}();e.a=a},530:function(t,e,i){"use strict";var n=i(6),r=i(76),a=i(1122),o=i(626),s=function(){function t(){this.x=0,this.y=0,this.width=0,this.height=0}return t}(),l={},u=function(t){function e(e){return t.call(this,e)||this}return i.i(n.a)(e,t),e.prototype.getDefaultShape=function(){return new s},e.prototype.buildPath=function(t,e){var n,r,s,u;if(this.subPixelOptimize){var c=i.i(o.a)(l,e,this.style);n=c.x,r=c.y,s=c.width,u=c.height,c.r=e.r,e=c}else n=e.x,r=e.y,s=e.width,u=e.height;e.r?a.a(t,e):t.rect(n,r,s,u)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(r.a);u.prototype.type="rect",e.a=u},531:function(t,e,i){"use strict";function n(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function r(t,e){return(t[0]*e[0]+t[1]*e[1])/(n(t)*n(e))}function a(t,e){return(t[0]*e[1]1&&(l*=x(v),u*=x(v));var y=(o===s?-1:1)*x((l*l*(u*u)-l*l*(g*g)-u*u*(f*f))/(l*l*(g*g)+u*u*(f*f)))||0,m=y*l*g/u,S=y*-u*f/l,M=(t+i)/2+b(p)*m-_(p)*S,I=(e+n)/2+_(p)*m+b(p)*S,T=a([1,0],[(f-m)/l,(g-S)/u]),C=[(f-m)/l,(g-S)/u],k=[(-1*f-m)/l,(-1*g-S)/u],D=a(C,k);if(r(C,k)<=-1&&(D=w),r(C,k)>=1&&(D=0),D<0){var A=Math.round(D/w*1e6)/1e6;D=2*w+A%2*w}d.addData(h,M,I,l,u,T,D,p,s)}function s(t){var e=new v.a;if(!t)return e;var i,n=0,r=0,a=n,s=r,l=v.a.CMD,u=t.match(S);if(!u)return e;for(var c=0;cn&&(n=e);var a=n%2?n+2:n+3;r=[];for(var l=0;l=0||t===e}function u(t){var e=c(t);if(e){var i=e.axisPointerModel,n=e.axis.scale,r=i.option,a=i.get("status"),o=i.get("value");null!=o&&(o=n.parse(o));var s=d(i);null==a&&(r.status=s?"show":"hide");var l=n.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==o||o>l[1])&&(o=l[1]),o-1?d:f}():f;n(p,u.a),n(d,c.a)},543:function(t,e,i){"use strict";function n(t,e){var n={},a=n.encode={},c=i.i(s.k)(),h=[],d=[],p={};i.i(s.d)(t.dimensions,function(e){var i=t.getDimensionInfo(e),n=i.coordDim;if(n){var s=i.coordDimIndex;r(a,n)[s]=e,i.isExtraCoord||(c.set(n,1),o(i.type)&&(h[0]=e),r(p,n)[s]=t.getDimensionIndex(i.name)),i.defaultTooltip&&d.push(e)}l.i.each(function(t,e){var n=r(a,e),o=i.otherDims[e];null!=o&&!1!==o&&(n[o]=i.name)})});var f=[],g={};c.each(function(t,e){var i=a[e];g[e]=i[0],f=f.concat(i)}),n.dataDimsOnCoord=f,n.dataDimIndicesOnCoord=i.i(s.p)(f,function(e){return t.getDimensionInfo(e).storeDimIndex}),n.encodeFirstDimNotExtra=g;var v=a.label;v&&v.length&&(h=v.slice());var y=a.tooltip;return y&&y.length?d=y.slice():d.length||(d=h.slice()),a.defaultedLabel=h,a.defaultedTooltip=d,n.userOutput=new u(p,e),n}function r(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function a(t){return"category"===t?"ordinal":"time"===t?"time":"float"}function o(t){return!("ordinal"===t||"time"===t)}e.a=n,e.b=a;var s=i(3),l=i(165),u=function(){function t(t,e){this._encode=t,this._schema=e}return t.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},t.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},t}()},544:function(t,e,i){"use strict";function n(t,e,i,n,r){var a=i.width,o=i.height;switch(t){case"top":n.set(i.x+a/2,i.y-e),r.set(0,-1);break;case"bottom":n.set(i.x+a/2,i.y+o+e),r.set(0,1);break;case"left":n.set(i.x-e,i.y+o/2),r.set(-1,0);break;case"right":n.set(i.x+a+e,i.y+o/2),r.set(1,0)}}function r(t,e,n,r,a,o,s,l,u){s-=t,l-=e;var c=Math.sqrt(s*s+l*l);s/=c,l/=c;var h=s*n+t,d=l*n+e;if(Math.abs(r-a)%M<1e-4)return u[0]=h,u[1]=d,c-n;if(o){var p=r;r=i.i(m.a)(a),a=i.i(m.a)(p)}else r=i.i(m.a)(r),a=i.i(m.a)(a);r>a&&(a+=M);var f=Math.atan2(l,s);if(f<0&&(f+=M),f>=r&&f<=a||f+M>=r&&f+M<=a)return u[0]=h,u[1]=d,c-n;var g=n*Math.cos(r)+t,v=n*Math.sin(r)+e,y=n*Math.cos(a)+t,x=n*Math.sin(a)+e,_=(g-s)*(g-s)+(v-l)*(v-l),b=(y-s)*(y-s)+(x-l)*(x-l);return _0){e=e/180*Math.PI,k.fromArray(t[0]),D.fromArray(t[1]),A.fromArray(t[2]),v.Point.sub(L,k,D),v.Point.sub(P,A,D);var i=L.len(),n=P.len();if(!(i<.001||n<.001)){L.scale(1/i),P.scale(1/n);var r=L.dot(P);if(Math.cos(e)1&&v.Point.copy(R,A),R.toArray(t[1])}}}}function h(t,e,i){if(i<=180&&i>0){i=i/180*Math.PI,k.fromArray(t[0]),D.fromArray(t[1]),A.fromArray(t[2]),v.Point.sub(L,D,k),v.Point.sub(P,A,D);var n=L.len(),r=P.len();if(!(n<.001||r<.001)){L.scale(1/n),P.scale(1/r);if(L.dot(e)=s)v.Point.copy(R,A);else{R.scaleAndAdd(P,o/Math.tan(Math.PI/2-u));var c=A.x!==D.x?(R.x-D.x)/(A.x-D.x):(R.y-D.y)/(A.y-D.y);if(isNaN(c))return;c<0?v.Point.copy(R,D):c>1&&v.Point.copy(R,A)}R.toArray(t[1])}}}}function d(t,e,i,n){var r="normal"===i,a=r?t:t.ensureState(i);a.ignore=e;var o=n.get("smooth");o&&!0===o&&(o=.3),a.shape=a.shape||{},o>0&&(a.shape.smooth=o);var s=n.getModel("lineStyle").getLineStyle();r?t.useStyle(s):a.style=s}function p(t,e){var i=e.smooth,n=e.points;if(n)if(t.moveTo(n[0][0],n[0][1]),i>0&&n.length>=3){var r=w.l(n[0],n[1]),a=w.l(n[1],n[2]);if(!r||!a)return t.lineTo(n[1][0],n[1][1]),void t.lineTo(n[2][0],n[2][1]);var o=Math.min(r,a)*i,s=w.m([],n[1],n[0],o/r),l=w.m([],n[1],n[2],o/a),u=w.m([],s,l,.5);t.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),t.bezierCurveTo(l[0],l[1],l[0],l[1],n[2][0],n[2][1])}else for(var c=1;c0&&(o=null===o?l:Math.min(o,l))}n[r]=o}}return n}function l(t){var e=s(t),a=[];return i.i(v.d)(t,function(t){var o,s=t.coordinateSystem,l=s.getBaseAxis(),u=l.getExtent();if("category"===l.type)o=l.getBandWidth();else if("value"===l.type||"time"===l.type){var c=l.dim+"_"+l.index,h=e[c],d=Math.abs(u[1]-u[0]),p=l.scale.getExtent(),g=Math.abs(p[1]-p[0]);o=h?d/g*h:d}else{var v=t.getData();o=Math.abs(u[1]-u[0])/v.count()}var m=i.i(y.a)(t.get("barWidth"),o),x=i.i(y.a)(t.get("barMaxWidth"),o),_=i.i(y.a)(t.get("barMinWidth")||(f(t)?.5:1),o),b=t.get("barGap"),w=t.get("barCategoryGap");a.push({bandWidth:o,barWidth:m,barMaxWidth:x,barMinWidth:_,barGap:b,barCategoryGap:w,axisKey:r(l),stackId:n(t)})}),u(a)}function u(t){var e={};i.i(v.d)(t,function(t,i){var n=t.axisKey,r=t.bandWidth,a=e[n]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},o=a.stacks;e[n]=a;var s=t.stackId;o[s]||a.autoWidthCount++,o[s]=o[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!o[s].width&&(o[s].width=l,l=Math.min(a.remainedWidth,l),a.remainedWidth-=l);var u=t.barMaxWidth;u&&(o[s].maxWidth=u);var c=t.barMinWidth;c&&(o[s].minWidth=c);var h=t.barGap;null!=h&&(a.gap=h);var d=t.barCategoryGap;null!=d&&(a.categoryGap=d)});var n={};return i.i(v.d)(e,function(t,e){n[e]={};var r=t.stacks,a=t.bandWidth,o=t.categoryGap;if(null==o){var s=i.i(v.b)(r).length;o=Math.max(35-4*s,15)+"%"}var l=i.i(y.a)(o,a),u=i.i(y.a)(t.gap,1),c=t.remainedWidth,h=t.autoWidthCount,d=(c-l)/(h+(h-1)*u);d=Math.max(d,0),i.i(v.d)(r,function(t){var e=t.maxWidth,i=t.minWidth;if(t.width){var n=t.width;e&&(n=Math.min(n,e)),i&&(n=Math.max(n,i)),t.width=n,c-=n+u*n,h--}else{var n=d;e&&en&&(n=i),n!==d&&(t.width=n,c-=n+u*n,h--)}}),d=(c-l)/(h+(h-1)*u),d=Math.max(d,0);var p,f=0;i.i(v.d)(r,function(t,e){t.width||(t.width=d),p=t,f+=t.width*(1+u)}),p&&(f-=p.width*u);var g=-f/2;i.i(v.d)(r,function(t,i){n[e][i]=n[e][i]||{bandWidth:a,offset:g,width:t.width},g+=t.width*(1+u)})}),n}function c(t,e,i){if(t&&e){var a=t[r(e)];return null!=a&&null!=i?a[n(i)]:a}}function h(t,e){var a=o(t,e),s=l(a);i.i(v.d)(a,function(t){var e=t.getData(),i=t.coordinateSystem,a=i.getBaseAxis(),o=n(t),l=s[r(a)][o],u=l.offset,c=l.width;e.setLayout({bandWidth:l.bandWidth,offset:u,size:c})})}function d(t){return{seriesType:t,plan:i.i(x.a)(),reset:function(t){if(p(t)){var e=t.getData(),n=t.coordinateSystem,r=n.getBaseAxis(),a=n.getOtherAxis(r),o=e.getDimensionIndex(e.mapDimension(a.dim)),s=e.getDimensionIndex(e.mapDimension(r.dim)),l=t.get("showBackground",!0),u=e.mapDimension(a.dim),c=e.getCalculationInfo("stackResultDimension"),h=i.i(m.b)(e,u)&&!!e.getCalculationInfo("stackedOnSeries"),d=a.isHorizontal(),v=g(r,a),y=f(t),x=t.get("barMinHeight")||0,b=c&&e.getDimensionIndex(c),w=e.getLayout("size"),S=e.getLayout("offset");return{progress:function(t,e){for(var r,a=t.count,u=y&&i.i(_.a)(3*a),c=y&&l&&i.i(_.a)(3*a),p=y&&i.i(_.a)(a),f=n.master.getRect(),g=d?f.width:f.height,m=e.getStore(),M=0;null!=(r=t.next());){var I=m.get(h?b:o,r),T=m.get(s,r),C=v,k=void 0;h&&(k=+I-m.get(o,r));var D=void 0,A=void 0,L=void 0,P=void 0;if(d){var O=n.dataToPoint([I,T]);if(h){var R=n.dataToPoint([k,T]);C=R[0]}D=C,A=O[1]+S,L=O[0]-C,P=w,Math.abs(L)=0&&(l=c.interpolatedValue[u])}return null!=l?l+"":""})}},t.prototype.getRawValue=function(t,e){return i.i(a.a)(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,i){},t}()},547:function(t,e,i){"use strict";function n(t,e,n,r){var o=i.i(s.d)(t.get(["aria","decal","decals"]));return a(t,u,o,null,e,n,r)}function r(t,e){for(var i=t.length,n=0;ne)return t[n];return t[i-1]}function a(t,e,i,n,a,o,s){o=o||t;var l=e(o),u=l.paletteIdx||0,c=l.paletteNameMap=l.paletteNameMap||{};if(c.hasOwnProperty(a))return c[a];var h=null!=s&&n?r(n,s):i;if((h=h||i)&&h.length){var d=h[u];return a&&(c[a]=d),l.paletteIdx=(u+1)%h.length,d}}function o(t,e){e(t).paletteIdx=0,e(t).paletteNameMap={}}e.b=n,i.d(e,"a",function(){return c});var s=i(13),l=i.i(s.a)(),u=i.i(s.a)(),c=function(){function t(){}return t.prototype.getColorFromPalette=function(t,e,n){var r=i.i(s.d)(this.get("color",!0)),o=this.get("colorLayer",!0);return a(this,l,r,o,t,e,n)},t.prototype.clearColorPalette=function(){o(this,l)},t}()},548:function(t,e,i){"use strict";function n(t,e){if("none"===t)return null;var n=e.getDevicePixelRatio(),u=e.getZr(),c="svg"===u.painter.type;t.dirty&&v.delete(t);var x=v.get(t);if(x)return x;var _=i.i(h.t)(t,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});"none"===_.backgroundColor&&(_.backgroundColor=null);var b={repeat:"repeat"};return function(t){for(var e=[n],v=!0,x=0;x0)for(var l=0;l=0;--l)if(c[h]){a=c[h];break}a=a||o.none}if(I.j(a)){var p=null==t.level?0:t.level>=0?t.level:a.length+t.level;p=Math.min(p,a.length-1),a=a[p]}}return s(new Date(t.value),a,r,n)}function u(t,e){var i=T.f(t),n=i[d(e)]()+1,r=i[p(e)](),a=i[f(e)](),o=i[g(e)](),s=i[v(e)](),l=i[y(e)](),u=0===l,c=u&&0===s,h=c&&0===o,m=h&&0===a,x=m&&1===r;return x&&1===n?"year":x?"month":m?"day":h?"hour":c?"minute":u?"second":"millisecond"}function c(t,e,i){var n=I.n(t)?T.f(t):t;switch(e=e||u(t,i)){case"year":return n[h(i)]();case"half-year":return n[d(i)]()>=6?1:0;case"quarter":return Math.floor((n[d(i)]()+1)/4);case"month":return n[d(i)]();case"day":return n[p(i)]();case"half-day":return n[f(i)]()/24;case"hour":return n[f(i)]();case"minute":return n[g(i)]();case"second":return n[v(i)]();case"millisecond":return n[y(i)]()}}function h(t){return t?"getUTCFullYear":"getFullYear"}function d(t){return t?"getUTCMonth":"getMonth"}function p(t){return t?"getUTCDate":"getDate"}function f(t){return t?"getUTCHours":"getHours"}function g(t){return t?"getUTCMinutes":"getMinutes"}function v(t){return t?"getUTCSeconds":"getSeconds"}function y(t){return t?"getUTCMilliseconds":"getMilliseconds"}function m(t){return t?"setUTCFullYear":"setFullYear"}function x(t){return t?"setUTCMonth":"setMonth"}function _(t){return t?"setUTCDate":"setDate"}function b(t){return t?"setUTCHours":"setHours"}function w(t){return t?"setUTCMinutes":"setMinutes"}function S(t){return t?"setUTCSeconds":"setSeconds"}function M(t){return t?"setUTCMilliseconds":"setMilliseconds"}i.d(e,"h",function(){return D}),i.d(e,"i",function(){return A}),i.d(e,"j",function(){return L}),i.d(e,"g",function(){return P}),i.d(e,"k",function(){return O}),i.d(e,"c",function(){return N}),i.d(e,"s",function(){return z}),e.b=n,e.e=r,e.B=a,e.d=o,e.a=s,e.f=l,e.l=c,e.t=h,e.v=d,e.w=p,e.x=f,e.y=g,e.z=v,e.A=y,e.u=m,e.m=x,e.n=_,e.o=b,e.p=w,e.q=S,e.r=M;var I=i(3),T=i(22),C=i(542),k=i(85),D=1e3,A=60*D,L=60*A,P=24*L,O=365*P,R={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},N={year:"{yyyy}",month:"{yyyy}-{MM}",day:"{yyyy}-{MM}-{dd}",hour:"{yyyy}-{MM}-{dd} "+R.hour,minute:"{yyyy}-{MM}-{dd} "+R.minute,second:"{yyyy}-{MM}-{dd} "+R.second,millisecond:R.none},E=["year","month","day","hour","minute","second","millisecond"],z=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"]},550:function(t,e,i){"use strict";function n(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}function r(t,e,i){function n(){var t=function(){};return t.prototype.__hidden=t.prototype,new t}var r={};return h(e,function(e){var a=r[e]=n();h(t[e],function(t,n){if(u.a.isValidType(n)){var r={type:n,visual:t};i&&i(r,e),a[n]=new u.a(r),"opacity"===n&&(r=l.v(r),r.type="colorAlpha",a.__hidden.__alphaForOpacity=new u.a(r))}})}),r}function a(t,e,i){var r;l.d(i,function(t){e.hasOwnProperty(t)&&n(e[t])&&(r=!0)}),r&&l.d(i,function(i){e.hasOwnProperty(i)&&n(e[i])?t[i]=l.v(e[i]):delete t[i]})}function o(t,e,n,r,a,o){function s(t){return i.i(c.b)(n,f,t)}function h(t,e){i.i(c.c)(n,f,t,e)}function d(t,i){f=null==o?t:i;var l=n.getRawDataItem(f);if(!l||!1!==l.visualMap)for(var u=r.call(a,t),c=e[u],d=p[u],g=0,v=d.length;g0))}function r(t){return"string"==typeof t&&"none"!==t}function a(t){var e=t.fill;return null!=e&&"none"!==e}function o(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var i=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=i}else t.fill()}function s(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var i=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=i}else t.stroke()}function l(t,e,n){var r=i.i(T.c)(e.image,e.__image,n);if(i.i(T.b)(r)){var a=t.createPattern(r,e.repeat||"repeat");if("function"==typeof DOMMatrix&&a&&a.setTransform){var o=new DOMMatrix;o.translateSelf(e.x||0,e.y||0),o.rotateSelf(0,0,(e.rotation||0)*L.C),o.scaleSelf(e.scaleX||1,e.scaleY||1),a.setTransform(o)}return a}}function u(t,e,r,u){var c,h=n(r),d=a(r),p=r.strokePercent,f=p<1,g=!e.path;e.silent&&!f||!g||e.createPathProxy();var v=e.path||N,y=e.__dirty;if(!u){var m=r.fill,x=r.stroke,_=d&&!!m.colorStops,b=h&&!!x.colorStops,w=d&&!!m.image,S=h&&!!x.image,M=void 0,I=void 0,T=void 0,k=void 0,D=void 0;(_||b)&&(D=e.getBoundingRect()),_&&(M=y?i.i(C.a)(t,m,D):e.__canvasFillGradient,e.__canvasFillGradient=M),b&&(I=y?i.i(C.a)(t,x,D):e.__canvasStrokeGradient,e.__canvasStrokeGradient=I),w&&(T=y||!e.__canvasFillPattern?l(t,m,e):e.__canvasFillPattern,e.__canvasFillPattern=T),S&&(k=y||!e.__canvasStrokePattern?l(t,x,e):e.__canvasStrokePattern,e.__canvasStrokePattern=T),_?t.fillStyle=M:w&&(T?t.fillStyle=T:d=!1),b?t.strokeStyle=I:S&&(k?t.strokeStyle=k:h=!1)}var A=e.getGlobalScale();v.setScale(A[0],A[1],e.segmentIgnoreThreshold);var L,R;t.setLineDash&&r.lineDash&&(c=i.i(P.a)(e),L=c[0],R=c[1]);var E=!0;(g||y&O.b)&&(v.setDPR(t.dpr),f?v.setContext(null):(v.setContext(t),E=!1),v.reset(),e.buildPath(v,e.shape,u),v.toStatic(),e.pathUpdated()),E&&v.rebuildPath(t,f?p:1),L&&(t.setLineDash(L),t.lineDashOffset=R),u||(r.strokeFirst?(h&&s(t,r),d&&o(t,r)):(d&&o(t,r),h&&s(t,r))),L&&t.setLineDash([])}function c(t,e,n){var r=e.__image=i.i(T.c)(n.image,e.__image,e,e.onload);if(r&&i.i(T.b)(r)){var a=n.x||0,o=n.y||0,s=e.getWidth(),l=e.getHeight(),u=r.width/r.height;if(null==s&&null!=l?s=l*u:null==l&&null!=s?l=s/u:null==s&&null==l&&(s=r.width,l=r.height),n.sWidth&&n.sHeight){var c=n.sx||0,h=n.sy||0;t.drawImage(r,c,h,n.sWidth,n.sHeight,a,o,s,l)}else if(n.sx&&n.sy){var c=n.sx,h=n.sy,d=s-c,p=l-h;t.drawImage(r,c,h,d,p,a,o,s,l)}else t.drawImage(r,a,o,s,l)}}function h(t,e,r){var o,s=r.text;if(null!=s&&(s+=""),s){t.font=r.font||R.b,t.textAlign=r.textAlign,t.textBaseline=r.textBaseline;var l=void 0,u=void 0;t.setLineDash&&r.lineDash&&(o=i.i(P.a)(e),l=o[0],u=o[1]),l&&(t.setLineDash(l),t.lineDashOffset=u),r.strokeFirst?(n(r)&&t.strokeText(s,r.x,r.y),a(r)&&t.fillText(s,r.x,r.y)):(a(r)&&t.fillText(s,r.x,r.y),n(r)&&t.strokeText(s,r.x,r.y)),l&&t.setLineDash([])}}function d(t,e,i,n,r){var a=!1;if(!n&&(i=i||{},e===i))return!1;if(n||e.opacity!==i.opacity){x(t,r),a=!0;var o=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(o)?M.a.opacity:o}(n||e.blend!==i.blend)&&(a||(x(t,r),a=!0),t.globalCompositeOperation=e.blend||M.a.blend);for(var s=0;s1e-4)return s[0]=t-i,s[1]=e-n,u[0]=t+i,void(u[1]=e+n);if(g[0]=p(r)*i+t,g[1]=d(r)*n+e,v[0]=p(a)*i+t,v[1]=d(a)*n+e,c(s,g,v),h(u,g,v),r%=f,r<0&&(r+=f),a%=f,a<0&&(a+=f),r>a&&!o?a+=f:rr&&(y[0]=p(_)*i+t,y[1]=d(_)*n+e,c(s,y,s),h(u,y,u))}e.e=n,e.a=r,e.b=a,e.c=o,e.d=s;var l=i(75),u=i(159),c=Math.min,h=Math.max,d=Math.sin,p=Math.cos,f=2*Math.PI,g=l.a(),v=l.a(),y=l.a(),m=[],x=[]},556:function(t,e,i){"use strict";var n=i(6),r=i(167),a=i(145),o=i(76),s=i(3),l=i(166),u=i.i(s.t)({strokeFirst:!0,font:l.b,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},o.b),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.i(n.a)(e,t),e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0},e.prototype.hasFill=function(){var t=this.style,e=t.fill;return null!=e&&"none"!==e},e.prototype.createStyle=function(t){return i.i(s.u)(u,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var e=t.text;null!=e?e+="":e="";var n=i.i(a.g)(e,t.font,t.textAlign,t.textBaseline);if(n.x+=t.x||0,n.y+=t.y||0,this.hasStroke()){var r=t.lineWidth;n.x-=r/2,n.y-=r/2,n.width+=r,n.height+=r}this._rect=n}return this._rect},e.initDefaultProps=function(){e.prototype.dirtyRectTolerance=10}(),e}(r.c);c.prototype.type="tspan",e.a=c},557:function(t,e,i){"use strict";function n(t){return document.createElementNS(d,t)}function r(t,e,i,n,r){return{tag:t,attrs:i||{},children:n,text:r,key:e}}function a(t,e){var i=[];if(e)for(var n in e){var r=e[n],a=n;!1!==r&&(!0!==r&&null!=r&&(a+='="'+r+'"'),i.push(a))}return"<"+t+" "+i.join(" ")+">"}function o(t){return""}function s(t,e){function n(t){var e=t.children,s=t.tag;return a(s,t.attrs)+(t.text||"")+(e?""+r+i.i(h.p)(e,function(t){return n(t)}).join(r)+r:"")+o(s)}e=e||{};var r=e.newline?"\n":"";return n(t)}function l(t,e,n){n=n||{};var r=n.newline?"\n":"",a=" {"+r,o=r+"}",s=i.i(h.p)(i.i(h.b)(t),function(e){return e+a+i.i(h.p)(i.i(h.b)(t[e]),function(i){return i+":"+t[e][i]+";"}).join(r)+o}).join(r),l=i.i(h.p)(i.i(h.b)(e),function(t){return"@keyframes "+t+a+i.i(h.p)(i.i(h.b)(e[t]),function(n){return n+a+i.i(h.p)(i.i(h.b)(e[t][n]),function(i){var r=e[t][n][i];return"d"===i&&(r='path("'+r+'")'),i+":"+r+";"}).join(r)+o}).join(r)+o}).join(r);return s||l?[""].join(r):""}function u(t){return{zrId:t,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssClassIdx:0,cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function c(t,e,i,n){return r("svg","root",{width:t,height:e,xmlns:d,"xmlns:xlink":p,version:"1.1",baseProfile:"full",viewBox:!!n&&"0 0 "+t+" "+e},i)}i.d(e,"i",function(){return p}),i.d(e,"g",function(){return f}),i.d(e,"h",function(){return g}),e.b=n,e.d=r,e.f=s,e.e=l,e.c=u,e.a=c;var h=i(3),d="http://www.w3.org/2000/svg",p="http://www.w3.org/1999/xlink",f="http://www.w3.org/2000/xmlns/",g="http://www.w3.org/XML/1998/namespace"},56:function(t,e,i){"use strict";function n(t,e,i){if(c){if(i){if(u[e])return;u[e]=!0}console[t](l+e)}}function r(t,e){n("warn",t,e)}function a(t,e){n("error",t,e)}function o(t){}function s(t){throw new Error(t)}e.a=r,e.d=a,e.c=o,e.b=s;var l=(i(3),"[ECharts] "),u={},c="undefined"!=typeof console&&console.warn&&console.log},58:function(t,e,i){"use strict";function n(t,e){for(var i=0;i0&&(s.during=l?i.i(x.K)(h,{el:e,userDuring:l}):null,s.setToFinal=!0,s.scope=t),i.i(x.g)(s,n[o]),s}function r(t,e,r,o){o=o||{};var s=o.dataIndex,h=o.isInit,y=o.clearStyle,m=r.isAnimationEnabled(),_=k(t),b=e.style;_.userDuring=e.during;var w={},S={};if(g(t,e,S),p("shape",e,S),p("extra",e,S),!h&&m&&(f(t,e,w),d("shape",t,e,w),d("extra",t,e,w),v(t,e,b,w)),S.style=b,l(t,S,y),c(t,e),m)if(h){var M={};i.i(x.d)(C,function(t){var n=t?e[t]:e;n&&n.enterFrom&&(t&&(M[t]=M[t]||{}),i.i(x.g)(t?M[t]:M,n.enterFrom))});var I=n("enter",t,e,r,s);I.duration>0&&t.animateFrom(M,I)}else u(t,e,s||0,r,w);a(t,e),b?t.dirty():t.markRedraw()}function a(t,e){for(var n=k(t).leaveToProps,r=0;r0&&t.animateFrom(a,o)}}function c(t,e){i.i(x.F)(e,"silent")&&(t.silent=e.silent),i.i(x.F)(e,"ignore")&&(t.ignore=e.ignore),t instanceof b.c&&i.i(x.F)(e,"invisible")&&(t.invisible=e.invisible),t instanceof S.Path&&i.i(x.F)(e,"autoBatch")&&(t.autoBatch=e.autoBatch)}function h(){var t=this,e=t.el;if(e){var i=k(e).userDuring,n=t.userDuring;if(i!==n)return void(t.el=t.userDuring=null);D.el=e,n(A)}}function d(t,e,n,r){var a=n[t];if(a){var o,l=e[t];if(l){var u=n.transition,c=a.transition;if(c)if(!o&&(o=r[t]={}),s(c))i.i(x.g)(o,l);else for(var h=i.i(m.d)(c),d=0;d=0){!o&&(o=r[t]={});for(var g=i.i(x.b)(l),d=0;d=0)){var f=t.getAnimationStyleProps(),g=f?f.style:null;if(g){!a&&(a=r.style={});for(var v=i.i(x.b)(n),h=0;h0&&(_[0]=-_[0],_[1]=-_[1]);var w=x[0]<0?-1:1;if("start"!==r.__position&&"end"!==r.__position){var S=-Math.atan2(x[1],x[0]);h[0].8?"left":d[0]<-.8?"right":"center",f=d[1]>.8?"top":d[1]<-.8?"bottom":"middle";break;case"start":r.x=-d[0]*v+c[0],r.y=-d[1]*y+c[1],p=d[0]>.8?"right":d[0]<-.8?"left":"center",f=d[1]>.8?"bottom":d[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":r.x=v*w+c[0],r.y=c[1]+M,p=x[0]<0?"right":"left",r.originX=-v*w,r.originY=-M;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":r.x=b[0],r.y=b[1]+M,p="center",r.originY=-M;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":r.x=-v*w+h[0],r.y=h[1]+M,p=x[0]>=0?"right":"left",r.originX=v*w,r.originY=-M}r.scaleX=r.scaleY=a,r.setStyle({verticalAlign:r.__verticalAlign||f,align:r.__align||p})}}}},e}(d.Group);e.a=y},596:function(t,e,i){"use strict";function n(t){return t.animators&&t.animators.length>0}function r(t){var e=t.hostModel,n=e.getModel("emphasis");return{lineStyle:e.getModel("lineStyle").getLineStyle(),emphasisLineStyle:n.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:e.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:e.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:n.get("disabled"),blurScope:n.get("blurScope"),focus:n.get("focus"),labelStatesModels:i.i(u.f)(e)}}function a(t){return isNaN(t[0])||isNaN(t[1])}function o(t){return t&&!a(t[0])&&!a(t[1])}var s=i(14),l=i(595),u=i(58),c=function(){function t(t){this.group=new s.Group,this._LineCtor=t||l.a}return t.prototype.updateData=function(t){var e=this;this._progressiveEls=null;var i=this,n=i.group,a=i._lineData;i._lineData=t,a||n.removeAll();var o=r(t);t.diff(a).add(function(i){e._doAdd(t,i,o)}).update(function(i,n){e._doUpdate(a,t,n,i,o)}).remove(function(t){n.remove(a.getItemGraphicEl(t))}).execute()},t.prototype.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl(function(e,i){e.updateLayout(t,i)},this)},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=r(t),this._lineData=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e){function i(t){t.isGroup||n(t)||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[];for(var r=t.start;ro)return!0;if(a){var s=c.c(t).seriesDataCount,l=n.getExtent();return Math.abs(l[0]-l[1])/s>o}return!1}return!0===i},t.prototype.makeElOption=function(t,e,i,n,r){},t.prototype.createPointerEl=function(t,e,i,n){var r=e.pointer;if(r){var a=f(t).pointerEl=new u[r.type](g(e.pointer));t.add(a)}},t.prototype.createLabelEl=function(t,e,i,n){if(e.label){var r=f(t).labelEl=new u.Text(g(e.label));t.add(r),a(r,n)}},t.prototype.updatePointerEl=function(t,e,i){var n=f(t).pointerEl;n&&e.pointer&&(n.setStyle(e.pointer.style),i(n,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,i,n){var r=f(t).labelEl;r&&(r.setStyle(e.label.style),i(r,{x:e.label.x,y:e.label.y}),a(r,n))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e=this._axisPointerModel,i=this._api.getZr(),n=this._handle,r=e.getModel("handle"),a=e.get("status");if(!r.get("show")||!a||"hide"===a)return n&&i.remove(n),void(this._handle=null);var o;this._handle||(o=!0,n=this._handle=u.createIcon(r.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){h.a(t.event)},onmousedown:v(this._onHandleDragMove,this,0,0),drift:v(this._onHandleDragMove,this),ondragend:v(this._onHandleDragEnd,this)}),i.add(n)),s(n,e,!1),n.setStyle(r.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var c=r.get("size");l.j(c)||(c=[c,c]),n.scaleX=c[0]/2,n.scaleY=c[1]/2,d.a(this,"_doDispatchAxisPointer",r.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,o)}},t.prototype._moveHandleToValue=function(t,e){n(this._axisPointerModel,!e&&this._moveAnimation,this._handle,o(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var i=this._handle;if(i){this._dragging=!0;var n=this.updateHandleTransform(o(i),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=n,i.stopAnimation(),i.attr(o(n)),f(i).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){if(this._dragging=!1,this._handle){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),i=this._group,n=this._handle;e&&i&&(this._lastGraphicKey=null,i&&e.remove(i),n&&e.remove(n),this._group=null,this._handle=null,this._payloadInfo=null),d.b(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(t,e,i){return i=i||0,{x:t[i],y:t[1-i],width:e[i],height:e[1-i]}},t}();e.a=y},598:function(t,e,i){"use strict";function n(t){var e={};return i.i(a.d)(["start","end","startValue","endValue","throttle"],function(i){t.hasOwnProperty(i)&&(e[i]=t[i])}),e}var r=i(6),a=i(3),o=i(73),s=i(475),l=i(13),u=function(){function t(){this.indexList=[],this.indexMap=[]}return t.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},t}(),c=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i._autoThrottle=!0,i._noTarget=!0,i._rangePropMode=["percent","percent"],i}return i.i(r.a)(e,t),e.prototype.init=function(t,e,i){var r=n(t);this.settledOption=r,this.mergeDefaultAndTheme(t,i),this._doInit(r)},e.prototype.mergeOption=function(t){var e=n(t);i.i(a.G)(this.option,t,!0),i.i(a.G)(this.settledOption,e,!0),this._doInit(e)},e.prototype._doInit=function(t){var e=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var n=this.settledOption;i.i(a.d)([["start","startValue"],["end","endValue"]],function(t,i){"value"===this._rangePropMode[i]&&(e[t[0]]=n[t[0]]=null)},this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get("orient",!0),e=this._targetAxisInfoMap=i.i(a.k)();this._fillSpecifiedTargetAxis(e)?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(e,this._orient)),this._noTarget=!0,e.each(function(t){t.indexList.length&&(this._noTarget=!1)},this)},e.prototype._fillSpecifiedTargetAxis=function(t){var e=!1;return i.i(a.d)(s.e,function(n){var r=this.getReferringComponents(i.i(s.b)(n),l.k);if(r.specified){e=!0;var o=new u;i.i(a.d)(r.models,function(t){o.add(t.componentIndex)}),t.set(n,o)}},this),e},e.prototype._fillAutoTargetAxisByOrient=function(t,e){function n(e,n){var r=e[0];if(r){var s=new u;if(s.add(r.componentIndex),t.set(n,s),o=!1,"x"===n||"y"===n){var c=r.getReferringComponents("grid",l.i).models[0];c&&i.i(a.d)(e,function(t){r.componentIndex!==t.componentIndex&&c===t.getReferringComponents("grid",l.i).models[0]&&s.add(t.componentIndex)})}}}var r=this.ecModel,o=!0;if(o){var c="vertical"===e?"y":"x",h=r.findComponents({mainType:c+"Axis"});n(h,c)}if(o){var h=r.findComponents({mainType:"singleAxis",filter:function(t){return t.get("orient",!0)===e}});n(h,"single")}o&&i.i(a.d)(s.e,function(e){if(o){var n=r.findComponents({mainType:i.i(s.b)(e),filter:function(t){return"category"===t.get("type",!0)}});if(n[0]){var a=new u;a.add(n[0].componentIndex),t.set(e,a),o=!1}}},this)},e.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis(function(e){!t&&(t=e)},this),"y"===t?"vertical":"horizontal"},e.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var e=this.ecModel.option;this.option.throttle=e.animation&&e.animationDurationUpdate>0?100:20}},e.prototype._updateRangeUse=function(t){var e=this._rangePropMode,n=this.get("rangeMode");i.i(a.d)([["start","startValue"],["end","endValue"]],function(i,r){var a=null!=t[i[0]],o=null!=t[i[1]];a&&!o?e[r]="percent":!a&&o?e[r]="value":n?e[r]=n[r]:a&&(e[r]="percent")})},e.prototype.noTarget=function(){return this._noTarget},e.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis(function(e,n){null==t&&(t=this.ecModel.getComponent(i.i(s.b)(e),n))},this),t},e.prototype.eachTargetAxis=function(t,e){this._targetAxisInfoMap.each(function(n,r){i.i(a.d)(n.indexList,function(i){t.call(e,r,i)})})},e.prototype.getAxisProxy=function(t,e){var i=this.getAxisModel(t,e);if(i)return i.__dzAxisProxy},e.prototype.getAxisModel=function(t,e){var n=this._targetAxisInfoMap.get(t);if(n&&n.indexMap[e])return this.ecModel.getComponent(i.i(s.b)(t),e)},e.prototype.setRawRange=function(t){var e=this.option,n=this.settledOption;i.i(a.d)([["start","startValue"],["end","endValue"]],function(i){null==t[i[0]]&&null==t[i[1]]||(e[i[0]]=n[i[0]]=t[i[0]],e[i[1]]=n[i[1]]=t[i[1]])},this),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var e=this.option;i.i(a.d)(["start","startValue","end","endValue"],function(i){e[i]=t[i]})},e.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},e.prototype.getValueRange=function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var i=this.findRepresentativeAxisProxy();return i?i.getDataValueWindow():void 0},e.prototype.findRepresentativeAxisProxy=function(t){if(t)return t.__dzAxisProxy;for(var e,i=this._targetAxisInfoMap.keys(),n=0;nX}function f(t){var e=t.length-1;return e<0&&(e=0),[t[0],t[e]]}function g(t,e,n,r){var a=new V.Group;return a.add(new V.Rect({name:"main",style:x(n),silent:!0,draggable:!0,cursor:"move",drift:i.i(B.I)(M,t,e,a,["n","s","w","e"]),ondragend:i.i(B.I)(d,e,{isEnd:!0})})),i.i(B.d)(r,function(n){a.add(new V.Rect({name:n.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:i.i(B.I)(M,t,e,a,n),ondragend:i.i(B.I)(d,e,{isEnd:!0})}))}),a}function v(t,e,i,n){var r=n.brushStyle.lineWidth||0,a=Y(r,Z),o=i[0][0],s=i[1][0],l=o-r/2,u=s-r/2,c=i[0][1],h=i[1][1],d=c-a+r/2,p=h-a+r/2,f=c-o,g=h-s,v=f+r,y=g+r;m(t,e,"main",o,s,f,g),n.transformable&&(m(t,e,"w",l,u,a,y),m(t,e,"e",d,u,a,y),m(t,e,"n",l,u,v,a),m(t,e,"s",l,p,v,a),m(t,e,"nw",l,u,a,a),m(t,e,"ne",d,u,a,a),m(t,e,"sw",l,p,a,a),m(t,e,"se",d,p,a,a))}function y(t,e){var n=e.__brushOption,r=n.transformable,a=e.childAt(0);a.useStyle(x(n)),a.attr({silent:!r,cursor:r?"move":"default"}),i.i(B.d)([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],function(i){var n=e.childOfName(i.join("")),a=1===i.length?w(t,i[0]):S(t,i);n&&n.attr({silent:!r,invisible:!r,cursor:r?K[a]+"-resize":null})})}function m(t,e,i,n,r,a,o){var s=e.childOfName(i);s&&s.setShape(k(C(t,e,[[n,r],[n+a,r+o]])))}function x(t){return i.i(B.t)({strokeNoScale:!0},t.brushStyle)}function _(t,e,i,n){var r=[H(t,i),H(e,n)],a=[Y(t,i),Y(e,n)];return[[r[0],a[0]],[r[1],a[1]]]}function b(t){return V.getTransform(t.group)}function w(t,e){var i={w:"left",e:"right",n:"top",s:"bottom"};return{left:"w",right:"e",top:"n",bottom:"s"}[V.transformDirection(i[e],b(t))]}function S(t,e){var i=[w(t,e[0]),w(t,e[1])];return("e"===i[0]||"w"===i[0])&&i.reverse(),i.join("")}function M(t,e,n,r,a,o){var l=n.__brushOption,u=t.toRectRange(l.range),c=T(e,a,o);i.i(B.d)(r,function(t){var e=$[t];u[e[0]][e[1]]+=c[e[0]]}),l.range=t.fromRectRange(_(u[0][0],u[1][0],u[0][1],u[1][1])),s(e,n),d(e,{isEnd:!1})}function I(t,e,n,r){var a=e.__brushOption.range,o=T(t,n,r);i.i(B.d)(a,function(t){t[0]+=o[0],t[1]+=o[1]}),s(t,e),d(t,{isEnd:!1})}function T(t,e,i){var n=t.group,r=n.transformCoordToLocal(e,i),a=n.transformCoordToLocal(0,0);return[r[0]-a[0],r[1]-a[1]]}function C(t,e,n){var r=c(t,e);return r&&r!==W?r.clipPath(n,t._transform):i.i(B.v)(n)}function k(t){var e=H(t[0][0],t[1][0]),i=H(t[0][1],t[1][1]);return{x:e,y:i,width:Y(t[0][0],t[1][0])-e,height:Y(t[0][1],t[1][1])-i}}function D(t,e,i){if(t._brushType&&!N(t,e.offsetX,e.offsetY)){var n=t._zr,r=t._covers,a=u(t,e,i);if(!t._dragging)for(var o=0;on.getWidth()||i<0||i>n.getHeight()}function E(t){return{createCover:function(e,i){return g({toRectRange:function(e){var i=[e,[0,100]];return t&&i.reverse(),i},fromRectRange:function(e){return e[t]}},e,i,[[["w"],["e"]],[["n"],["s"]]][t])},getCreatingRange:function(e){var i=f(e);return[H(i[0][t],i[1][t]),Y(i[0][t],i[1][t])]},updateCoverShape:function(e,i,n,r){var a,o=c(e,i);if(o!==W&&o.getLinearBrushOtherExtent)a=o.getLinearBrushOtherExtent(t);else{var s=e._zr;a=[0,[s.getWidth(),s.getHeight()][1-t]]}var l=[n,a];t&&l.reverse(),v(e,i,l,r)},updateCommon:y,contain:L}}var z=i(6),B=i(3),F=i(223),V=i(14),j=i(673),G=i(289),W=!0,H=Math.min,Y=Math.max,U=Math.pow,q=1e4,X=6,Z=6,$={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},K={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},Q={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},J=0,tt=function(t){function e(e){var n=t.call(this)||this;return n._track=[],n._covers=[],n._handlers={},n._zr=e,n.group=new V.Group,n._uid="brushController_"+J++,i.i(B.d)(et,function(t,e){this._handlers[e]=i.i(B.K)(t,this)},n),n}return i.i(z.a)(e,t),e.prototype.enableBrush=function(t){return this._brushType&&this._doDisableBrush(),t.brushType&&this._doEnableBrush(t),this},e.prototype._doEnableBrush=function(t){var e=this._zr;this._enableGlobalPan||j.b(e,"globalPan",this._uid),i.i(B.d)(this._handlers,function(t,i){e.on(i,t)}),this._brushType=t.brushType,this._brushOption=i.i(B.G)(i.i(B.v)(Q),t,!0)},e.prototype._doDisableBrush=function(){var t=this._zr;j.c(t,"globalPan",this._uid),i.i(B.d)(this._handlers,function(e,i){t.off(i,e)}),this._brushType=this._brushOption=null},e.prototype.setPanels=function(t){if(t&&t.length){var e=this._panels={};i.i(B.d)(t,function(t){e[t.panelId]=i.i(B.v)(t)})}else this._panels=null;return this},e.prototype.mount=function(t){t=t||{},this._enableGlobalPan=t.enableGlobalPan;var e=this.group;return this._zr.add(e),e.attr({x:t.x||0,y:t.y||0,rotation:t.rotation||0,scaleX:t.scaleX||1,scaleY:t.scaleY||1}),this._transform=e.getLocalTransform(),this},e.prototype.updateCovers=function(t){function e(t,e){return(null!=t.id?t.id:u+e)+"-"+t.brushType}function a(t,i){return e(t.__brushOption,i)}function o(e,i){var a=t[e];if(null!=i&&c[i]===p)h[e]=c[i];else{var o=h[e]=null!=i?(c[i].__brushOption=a,c[i]):r(d,n(d,a));s(d,o)}}function l(t){c[t]!==p&&d.group.remove(c[t])}t=i.i(B.p)(t,function(t){return i.i(B.G)(i.i(B.v)(Q),t,!0)});var u="\0-brush-index-",c=this._covers,h=this._covers=[],d=this,p=this._creatingCover;return new G.a(c,t,a,e).add(o).update(o).remove(l).execute(),this},e.prototype.unmount=function(){return this.enableBrush(!1),h(this),this._zr.remove(this.group),this},e.prototype.dispose=function(){this.unmount(),this.off()},e}(F.a),et={mousedown:function(t){if(this._dragging)R(this,t);else if(!t.target||!t.target.draggable){A(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null;var i=this._creatingPanel=u(this,t,e);i&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=t.offsetX,i=t.offsetY,n=this.group.transformCoordToLocal(e,i);if(D(this,t,n),this._dragging){A(t);var r=P(this,t,n,!1);r&&d(this,r)}},mouseup:function(t){R(this,t)}},it={lineX:E(0),lineY:E(1),rect:{createCover:function(t,e){function i(t){return t}return g({toRectRange:i,fromRectRange:i},t,e,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(t){var e=f(t);return _(e[1][0],e[1][1],e[0][0],e[0][1])},updateCoverShape:function(t,e,i,n){v(t,e,i,n)},updateCommon:y,contain:L},polygon:{createCover:function(t,e){var i=new V.Group;return i.add(new V.Polyline({name:"main",style:x(e),silent:!0})),i},getCreatingRange:function(t){return t},endCreating:function(t,e){e.remove(e.childAt(0)),e.add(new V.Polygon({name:"main",draggable:!0,drift:i.i(B.I)(I,t,e),ondragend:i.i(B.I)(d,t,{isEnd:!0})}))},updateCoverShape:function(t,e,i,n){e.childAt(0).setShape({points:C(t,e,i)})},updateCommon:y,contain:L}};e.a=tt},603:function(t,e,i){"use strict";function n(t,e,i){var n=t.target;n.x+=e,n.y+=i,n.dirty()}function r(t,e,i,n){var r=t.target,a=t.zoomLimit,o=t.zoom=t.zoom||1;if(o*=e,a){var s=a.min||0,l=a.max||1/0;o=Math.max(Math.min(l,o),s)}var u=o/t.zoom;t.zoom=o,r.x-=(i-r.x)*(u-1),r.y-=(n-r.y)*(u-1),r.scaleX*=u,r.scaleY*=u,r.dirty()}e.a=n,e.b=r},604:function(t,e,i){"use strict";function n(t){t.registerComponentModel(r.a),t.registerComponentView(a.a),t.registerProcessor(t.PRIORITY.PROCESSOR.SERIES_FILTER,o.a),t.registerSubTypeDefaulter("legend",function(){return"plain"}),i.i(s.a)(t)}e.a=n;var r=i(675),a=i(676),o=i(952),s=i(951)},605:function(t,e,i){"use strict";var n=i(6),r=i(81),a=i(3),o=i(322),s=i(13),l=i(45),u=i.i(s.a)(),c=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i.i(n.a)(e,t),e.prototype.init=function(){this.markerGroupMap=i.i(a.k)()},e.prototype.render=function(t,e,i){var n=this,r=this.markerGroupMap;r.each(function(t){u(t).keep=!1}),e.eachSeries(function(t){var r=o.a.getMarkerModelFromSeries(t,n.type);r&&n.renderSeries(t,r,e,i)}),r.each(function(t){!u(t).keep&&n.group.remove(t.group)})},e.prototype.markKeep=function(t){u(t).keep=!0},e.prototype.toggleBlurSeries=function(t,e){var n=this;i.i(a.d)(t,function(t){var r=o.a.getMarkerModelFromSeries(t,n.type);if(r){r.getData().eachItemGraphicEl(function(t){t&&(e?i.i(l.w)(t):i.i(l.x)(t))})}})},e.type="marker",e}(r.a);e.a=c},606:function(t,e,i){"use strict";function n(t,e){if(!t)return!1;for(var n=i.i(r.j)(t)?t:[t],a=0;a=0&&(s[o]=+s[o].toFixed(v)),[s,g]}function o(t,e){var n=t.getData(),a=t.coordinateSystem;if(e&&!r(e)&&!i.i(f.j)(e.coord)&&a){var o=a.dimensions,l=s(e,n,a,t);if(e=i.i(f.v)(e),e.type&&v[e.type]&&l.baseAxis&&l.valueAxis){var u=i.i(f.f)(o,l.baseAxis.dim),c=i.i(f.f)(o,l.valueAxis.dim),d=v[e.type](n,l.baseDataDim,l.valueDataDim,u,c);e.coord=d[0],e.value=d[1]}else{for(var p=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis],g=0;g<2;g++)v[p[g]]&&(p[g]=h(n,n.mapDimension(o[g]),p[g]));e.coord=p}}return e}function s(t,e,i,n){var r={};return null!=t.valueIndex||null!=t.valueDim?(r.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,r.valueAxis=i.getAxis(l(n,r.valueDataDim)),r.baseAxis=i.getOtherAxis(r.valueAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim)):(r.baseAxis=n.getBaseAxis(),r.valueAxis=i.getOtherAxis(r.baseAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim),r.valueDataDim=e.mapDimension(r.valueAxis.dim)),r}function l(t,e){var i=t.getData().getDimensionInfo(e);return i&&i.coordDim}function u(t,e){return!(t&&t.containData&&e.coord&&!n(e))||t.containData(e.coord)}function c(t,e){return t?function(t,n,r,a){var o=a<2?t.coord&&t.coord[a]:t.value;return i.i(g.b)(o,e[a])}:function(t,n,r,a){return i.i(g.b)(t.value,e[a])}}function h(t,e,i){if("average"===i){var n=0,r=0;return t.each(e,function(t,e){isNaN(t)||(n+=t,r++)}),n/r}return"median"===i?t.getMedian(e):t.getDataExtent(e)["max"===i?1:0]}e.a=o,e.c=s,e.b=u,e.e=c,e.d=h;var d=i(22),p=i(260),f=i(3),g=i(323),v={min:i.i(f.I)(a,"min"),max:i.i(f.I)(a,"max"),average:i.i(f.I)(a,"average"),median:i.i(f.I)(a,"median")}},608:function(t,e,i){"use strict";function n(t,e,i){i=i||{};var n=t.coordinateSystem,r=e.axis,a={},s=r.getAxesOnZeroOf()[0],l=r.position,u=s?"onZero":l,c=r.dim,h=n.getRect(),d=[h.x,h.x+h.width,h.y,h.y+h.height],p={left:0,right:1,top:0,bottom:1,onZero:2},f=e.get("offset")||0,g="x"===c?[d[2]-f,d[3]+f]:[d[0]-f,d[1]+f];if(s){var v=s.toGlobalCoord(s.dataToCoord(0));g[p.onZero]=Math.max(Math.min(v,g[1]),g[0])}a.position=["y"===c?g[p[u]]:d[0],"x"===c?g[p[u]]:d[3]],a.rotation=Math.PI/2*("x"===c?0:1);var y={top:-1,bottom:1,left:-1,right:1};a.labelDirection=a.tickDirection=a.nameDirection=y[l],a.labelOffset=s?g[p[l]]-g[p.onZero]:0,e.get(["axisTick","inside"])&&(a.tickDirection=-a.tickDirection),o.N(i.labelInside,e.get(["axisLabel","inside"]))&&(a.labelDirection=-a.labelDirection);var m=e.get(["axisLabel","rotate"]);return a.labelRotate="top"===u?-m:m,a.z2=1,a}function r(t){return"cartesian2d"===t.get("coordinateSystem")}function a(t){var e={xAxisModel:null,yAxisModel:null};return o.d(e,function(i,n){var r=n.replace(/Model$/,""),a=t.getReferringComponents(r,s.i).models[0];e[n]=a}),e}e.a=n,e.b=r,e.c=a;var o=i(3),s=i(13)},609:function(t,e,i){"use strict";function n(t,e){for(var i=0;ii&&(t=r,i=s)}if(t)return a(t.exterior);var l=this.getBoundingRect();return[l.x+l.width/2,l.y+l.height/2]},e.prototype.getBoundingRect=function(t){var e=this._rect;if(e&&!t)return e;var n=[1/0,1/0],a=[-1/0,-1/0],o=this.geometries;return i.i(h.d)(o,function(e){"polygon"===e.type?r(e.exterior,n,a,t):i.i(h.d)(e.points,function(e){r(e,n,a,t)})}),isFinite(n[0])&&isFinite(n[1])&&isFinite(a[0])&&isFinite(a[1])||(n[0]=n[1]=a[0]=a[1]=0),e=new s.a(n[0],n[1],a[0]-n[0],a[1]-n[1]),t||(this._rect=e),e},e.prototype.contain=function(t){var e=this.getBoundingRect(),i=this.geometries;if(!e.contain(t[0],t[1]))return!1;t:for(var n=0,r=i.length;n>1^-(1&s),l=l>>1^-(1&l),s+=r,l+=a,r=s,a=l,n.push([s/i,l/i])}return n}function o(t,e){return t=n(t),s.p(s.c(t.features,function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0}),function(t){var i=t.properties,n=t.geometry,r=[];switch(n.type){case"Polygon":var a=n.coordinates;r.push(new l.b(a[0],a.slice(1)));break;case"MultiPolygon":s.d(n.coordinates,function(t){t[0]&&r.push(new l.b(t[0],t.slice(1)))});break;case"LineString":r.push(new l.c([n.coordinates]));break;case"MultiLineString":r.push(new l.c(n.coordinates))}var o=new l.a(i[e||"name"],r,i.cp);return o.properties=i,o})}e.a=o;var s=i(3),l=i(609)},611:function(t,e,i){"use strict";function n(t){return new a(t)}e.a=n;var r=i(3),a=function(){function t(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){function e(t){return!(t>=1)&&(t=1),t}var n=this._upstream,a=t&&t.skip;if(this._dirty&&n){var o=this.context;o.data=o.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var s;this._plan&&!a&&(s=this._plan(this.context));var l=e(this._modBy),u=this._modDataCount||0,c=e(t&&t.modBy),h=t&&t.modDataCount||0;l===c&&u===h||(s="reset");var d;(this._dirty||"reset"===s)&&(this._dirty=!1,d=this._doReset(a)),this._modBy=c,this._modDataCount=h;var p=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var f=this._dueIndex,g=Math.min(null!=p?this._dueIndex+p:1/0,this._dueEnd);if(!a&&(d||f=i?null:t1&&a>0?e:t}};return s}()},612:function(t,e,i){"use strict";function n(t){return t>65535?h:d}function r(){return[1/0,-1/0]}function a(t){var e=t.constructor;return e===Array?t.slice():new e(t)}function o(t,e,i,n,r){var a=g[i||"float"];if(r){var o=t[e],s=o&&o.length;if(s!==n){for(var l=new a(n),u=0;uy[1]&&(y[1]=v)}return this._rawCount=this._count=u,{start:l,end:u}},t.prototype._initDataFromProvider=function(t,e,n){for(var a=this._provider,s=this._chunks,u=this._dimensions,c=u.length,h=this._rawExtent,d=i.i(l.p)(u,function(t){return t.property}),p=0;p_[1]&&(_[1]=x)}}!a.persistent&&a.clean&&a.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e=0&&e=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,i=e[t];if(null!=i&&it))return a;r=a-1}}return-1},t.prototype.indicesOfNearest=function(t,e,i){var n=this._chunks,r=n[t],a=[];if(!r)return a;null==i&&(i=1/0);for(var o=1/0,s=-1,l=0,u=0,c=this.count();u=0&&s<0)&&(o=p,s=d,l=0),d===s&&(a[l++]=u))}return a.length=l,a},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var i=e.constructor,r=this._count;if(i===Array){t=new i(r);for(var a=0;a=p&&_<=f||isNaN(_))&&(c[h++]=y),y++}v=!0}else if(2===o){for(var m=g[a[0]],b=g[a[1]],w=t[a[1]][0],S=t[a[1]][1],x=0;x=p&&_<=f||isNaN(_))&&(M>=w&&M<=S||isNaN(M))&&(c[h++]=y),y++}v=!0}}if(!v)if(1===o)for(var x=0;x=p&&_<=f||isNaN(_))&&(c[h++]=I)}else for(var x=0;xt[k][1])&&(T=!1)}T&&(c[h++]=e.getRawIndex(x))}return hy[1]&&(y[1]=v)}}}},t.prototype.lttbDownSample=function(t,e){var i,r,a,o=this.clone([t],!0),s=o._chunks,l=s[t],u=this.count(),c=0,h=Math.floor(1/e),d=this.getRawIndex(0),p=new(n(this._rawCount))(Math.min(2*(Math.ceil(u/h)+2),u));p[c++]=d;for(var f=1;fi&&(i=r,a=_)}C>0&&Ch-g&&(u=h-g,l.length=u);for(var v=0;vd[1]&&(d[1]=m),p[f++]=x}return o._count=f,o._indices=p,o._updateGetRawIdx(),o},t.prototype.each=function(t,e){if(this._count)for(var i=t.length,n=this._chunks,r=0,a=this.count();rl&&(l=h)}return n=[s,l],this._extent[t]=n,n},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var i=[],n=this._chunks,r=0;r=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,n,r){return i.i(u.b)(t[r],this._dimensions[r])}s={arrayRows:t,objectRows:function(t,e,n,r){return i.i(u.b)(t[e],this._dimensions[r])},keyedColumns:t,original:function(t,e,n,r){var a=t&&(null==t.value?t:t.value);return i.i(u.b)(a instanceof Array?a[r]:a,this._dimensions[r])},typedArray:function(t,e,i,n){return t[n]}}}(),t}();e.a=v},613:function(t,e,i){"use strict";function n(t,e){var i=e.children;t.parentNode!==e&&(i.push(t),t.parentNode=e)}var r=i(3),a=i(697),o=i(164),s=i(480),l=i(13),u=function(){function t(t,e){this.depth=0,this.height=0,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.isExpand=!1,this.name=t||"",this.hostTree=e}return t.prototype.isRemoved=function(){return this.dataIndex<0},t.prototype.eachNode=function(t,e,i){r.a(t)&&(i=e,e=t,t=null),t=t||{},r.m(t)&&(t={order:t});var n,a=t.order||"preorder",o=this[t.attr||"children"];"preorder"===a&&(n=e.call(i,this));for(var s=0;!n&&se&&(e=n.height)}this.height=e+1},t.prototype.getNodeById=function(t){if(this.getId()===t)return this;for(var e=0,i=this.children,n=i.length;e=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},t.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},t.prototype.getModel=function(t){if(!(this.dataIndex<0)){return this.hostTree.data.getItemModel(this.dataIndex).getModel(t)}},t.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},t.prototype.setVisual=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},t.prototype.getVisual=function(t){return this.hostTree.data.getItemVisual(this.dataIndex,t)},t.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},t.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},t.prototype.getChildIndex=function(){if(this.parentNode){for(var t=this.parentNode.children,e=0;e30}i.d(e,"e",function(){return d}),e.a=n,e.d=r,e.c=a,e.b=o;var s=i(3),l=i(13),u=i(290),c=i.i(l.a)(),h={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},d=function(){function t(t){this.dimensions=t.dimensions,this._dimOmitted=t.dimensionOmitted,this.source=t.source,this._fullDimCount=t.fullDimensionCount,this._updateDimOmitted(t.dimensionOmitted)}return t.prototype.isDimensionOmitted=function(){return this._dimOmitted},t.prototype._updateDimOmitted=function(t){this._dimOmitted=t,t&&(this._dimNameMap||(this._dimNameMap=a(this.source)))},t.prototype.getSourceDimensionIndex=function(t){return i.i(s.e)(this._dimNameMap.get(t),-1)},t.prototype.getSourceDimension=function(t){var e=this.source.dimensionsDefine;if(e)return e[t]},t.prototype.makeStoreSchema=function(){for(var t=this._fullDimCount,e=i.i(u.e)(this.source),n=!o(t),r="",a=[],s=0,l=0;s0){l(n*i,0,h);var r=n+t;r<0&&u(-r*i,1)}else u(-t*i,1)}}function l(i,n,r){0!==i&&(f=!0);for(var a=n;a0)for(var s=0;s0;s--){var p=a[s-1]*d;l(-p,s,h)}}}function c(t){var e=t<0?-1:1;t=Math.abs(t);for(var i=Math.ceil(t/(h-1)),n=0;n0?l(i,0,n+1):l(-i,h-n-1,h),(t-=i)<=0)return}var h=t.length;if(!(h<2)){t.sort(function(t,i){return t.rect[e]-i.rect[e]});for(var d,p=0,f=!1,g=[],v=0,y=0;y0&&a&&l(-v/h,0,h);var b,w,S=t[0],M=t[h-1];return o(),b<0&&u(-b,.8),w<0&&u(w,.8),o(),s(b,w,1),s(w,b,-1),o(),b<0&&c(-b),w<0&&c(w),f}}function a(t,e,i,n){return r(t,"x","width",e,i,n)}function o(t,e,i,n){return r(t,"y","height",e,i,n)}function s(t){function e(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}var i=[];t.sort(function(t,e){return e.priority-t.priority});for(var n=new l.BoundingRect(0,0,0,0),r=0;rn?e:t,a=Math.min(i,n),o=r[a-1]||{color:[0,0,0,0],offset:0},s=a;so)n.length=o;else for(var s=a;s=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var r=this.keyframes,a=r.length,o=!1,s=6,l=e;if(i.i(y.s)(e)){var u=d(e);s=u,(1===u&&!i.i(y.n)(e[0])||2===u&&!i.i(y.n)(e[0][0]))&&(o=!0)}else if(i.i(y.n)(e)&&!i.i(y.A)(e))s=0;else if(i.i(y.m)(e))if(isNaN(+e)){var c=v.c(e);c&&(l=c,s=3)}else s=0;else if(i.i(y.r)(e)){var h=i.i(y.g)({},l);h.colorStops=i.i(y.p)(e.colorStops,function(t){return{offset:t.offset,color:v.c(t.color)}}),i.i(_.a)(e)?s=M:i.i(_.b)(e)&&(s=I),l=h}0===a?this.valType=s:s===this.valType&&6!==s||(o=!0),this.discrete=this.discrete||o;var p={time:t,value:l,rawValue:e,percent:0};return n&&(p.easing=n,p.easingFunc=i.i(y.a)(n)?n:m.a[n]||i.i(x.a)(n)),r.push(p),p},t.prototype.prepare=function(t,e){var i=this.keyframes;this._needsSort&&i.sort(function(t,e){return t.time-e.time});for(var n=this.valType,r=i.length,a=i[r-1],c=this.discrete,h=f(n),d=p(n),g=0;g=0&&!(g[o].percent<=e);o--);o=b(o,v-2)}else{for(o=_;oe);o++);o=b(o-1,v-2)}l=g[o+1],s=g[o]}if(s&&l){this._lastFr=o,this._lastFrP=e;var I=l.percent-s.percent,C=0===I?1:b((e-s.percent)/I,1);l.easingFunc&&(C=l.easingFunc(C));var k=u?this._additiveValue:x?T:t[m];if(!f(d)&&!x||k||(k=this._additiveValue=[]),this.discrete)t[m]=C<1?s.rawValue:l.rawValue;else if(f(d))d===w?r(k,s[c],l[c],C):a(k,s[c],l[c],C);else if(p(d)){var D=s[c],A=l[c],L=d===M;t[m]={type:L?"linear":"radial",x:n(D.x,A.x,C),y:n(D.y,A.y,C),colorStops:i.i(y.p)(D.colorStops,function(t,e){var i=A.colorStops[e];return{offset:n(t.offset,i.offset,C),color:h(r([],t.color,i.color,C))}}),global:A.global},L?(t[m].x2=n(D.x2,A.x2,C),t[m].y2=n(D.y2,A.y2,C)):t[m].r=n(D.r,A.r,C)}else if(x)r(k,s[c],l[c],C),u||(t[m]=h(k));else{var P=n(s[c],l[c],C);u?this._additiveValue=P:t[m]=P}u&&this._addToTarget(t)}}},t.prototype._addToTarget=function(t){var e=this.valType,i=this.propName,n=this._additiveValue;0===e?t[i]=t[i]+n:3===e?(v.c(t[i],T),o(T,T,n,1),t[i]=h(T)):e===w?o(t[i],t[i],n,1):e===S&&s(t[i],t[i],n,1)},t}(),k=function(){function t(t,e,n,r){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&r)return void i.i(y.x)("Can' use additive animation on looped animation.");this._additiveAnimators=r,this._allowDiscrete=n}return t.prototype.getMaxTime=function(){return this._maxTime},t.prototype.getDelay=function(){return this._delay},t.prototype.getLoop=function(){return this._loop},t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(t){this._target=t},t.prototype.when=function(t,e,n){return this.whenWithKeys(t,e,i.i(y.b)(e),n)},t.prototype.whenWithKeys=function(t,e,i,n){for(var r=this._tracks,a=0;a0&&s.addKeyframe(0,c(l),n),this._trackKeys.push(o)}s.addKeyframe(t,c(e[o]),n)}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,i=0;i0)){this._started=1;for(var e=this,i=[],n=this._maxTime||0,r=0;r1){var s=o.pop();a.addKeyframe(s.time,t[r]),a.prepare(this._maxTime,a.getAdditiveTrack())}}}},t}();e.a=k},623:function(t,e,i){"use strict";function n(t){var e=t&&o.exec(t);if(e){var n=e[1].split(","),s=+i.i(a.h)(n[0]),l=+i.i(a.h)(n[1]),u=+i.i(a.h)(n[2]),c=+i.i(a.h)(n[3]);if(isNaN(s+l+u+c))return;var h=[];return function(t){return t<=0?0:t>=1?1:i.i(r.a)(0,s,u,1,t,h)&&i.i(r.b)(0,l,c,1,h[0])}}}e.a=n;var r=i(159),a=i(3),o=/cubic-bezier\(([0-9,\.e ]+)\)/},624:function(t,e,i){"use strict";var n=i(6),r=i(723),a=function(t){function e(e,i,n,r,a,o){var s=t.call(this,a)||this;return s.x=null==e?0:e,s.y=null==i?0:i,s.x2=null==n?1:n,s.y2=null==r?0:r,s.type="linear",s.global=o||!1,s}return i.i(n.a)(e,t),e}(r.a);e.a=a},625:function(t,e,i){"use strict";function n(t){if("string"==typeof t){var e=u.get(t);return e&&e.image}return t}function r(t,e,i,n,r){if(t){if("string"==typeof t){if(e&&e.__zrImageSrc===t||!i)return e;var s=u.get(t),c={hostEl:i,cb:n,cbPayload:r};if(s)e=s.image,!o(e)&&s.pending.push(c);else{var h=l.a.loadImage(t,a,a);h.__zrImageSrc=t,u.put(t,h.__cachedImgObj={image:h,pending:[c]})}return e}return t}return e}function a(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e0&&++this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop()},t.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){this.animation.start(),this._stillFrameAccum=0},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover()},t.prototype.resize=function(t){t=t||{},this.painter.resize(t.width,t.height),this.handler.resize()},t.prototype.clearAnimation=function(){this.animation.clear()},t.prototype.getWidth=function(){return this.painter.getWidth()},t.prototype.getHeight=function(){return this.painter.getHeight()},t.prototype.setCursorStyle=function(t){this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){return this.handler.findHover(t,e)},t.prototype.on=function(t,e,i){return this.handler.on(t,e,i),this},t.prototype.off=function(t,e){this.handler.off(t,e)},t.prototype.trigger=function(t,e){this.handler.trigger(t,e)},t.prototype.clear=function(){for(var t=this.storage.getRoots(),e=0;e0&&(a=this._getLineLength(n)/l*1e3),a!==this._period||s!==this._loop){n.stopAnimation();var c=void 0;c=o.a(u)?u(i):u,n.__t>0&&(c=-a*n.__t),this._animateSymbol(n,a,c,s)}this._period=a,this._loop=s}},e.prototype._animateSymbol=function(t,e,i,n){if(e>0){t.__t=0;var r=this,a=t.animate("",n).when(e,{__t:1}).delay(i).during(function(){r._updateSymbolPosition(t)});n||a.done(function(){r.remove(t)}),a.start()}},e.prototype._getLineLength=function(t){return l.l(t.__p1,t.__cp1)+l.l(t.__cp1,t.__p2)},e.prototype._updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},e.prototype.updateData=function(t,e,i){this.childAt(0).updateData(t,e,i),this._updateEffectSymbol(t,e)},e.prototype._updateSymbolPosition=function(t){var e=t.__p1,i=t.__p2,n=t.__cp1,r=t.__t,a=[t.x,t.y],o=a.slice(),s=u.f,c=u.n;a[0]=s(e[0],n[0],i[0],r),a[1]=s(e[1],n[1],i[1],r);var h=c(e[0],n[0],i[0],r),d=c(e[1],n[1],i[1],r);t.rotation=-Math.atan2(d,h)-Math.PI/2,"line"!==this._symbolType&&"rect"!==this._symbolType&&"roundRect"!==this._symbolType||(void 0!==t.__lastT&&t.__lastT "+b)),m++)}var w,S=n.get("coordinateSystem");if("cartesian2d"===S||"polar"===S)w=i.i(c.a)(t,n);else{var M=u.a.get(S),I=M?M.dimensions||[]:[];r.f(I,"value")<0&&I.concat(["value"]);var T=i.i(l.a)(t,{coordDimensions:I,encodeDefine:n.getEncode()}).dimensions;w=new a.a(T,n),w.initData(t)}var C=new a.a(["value"],n);return C.initData(y,v),p&&p(w,C),i.i(s.a)({mainData:w,struct:f,structAttr:"graph",datas:{node:w,edge:C},datasAttr:{node:"data",edge:"edgeData"}}),f.update(),f}e.a=n;var r=i(3),a=i(164),o=i(1044),s=i(697),l=i(480),u=i(520),c=i(219),h=i(13)},652:function(t,e,i){"use strict";function n(t){var e={};t.getData().tree.eachNode(function(n){for(var a=n;a&&a.depth>1;)a=a.parentNode;var o=i.i(r.b)(t.ecModel,a.name||a.dataIndex+"",e);n.setVisual("decal",o)})}e.a=n;var r=i(547)},653:function(t,e,i){"use strict";function n(t,e,n){var o=t.get("borderRadius");if(null==o)return n?{cornerRadius:0}:null;i.i(r.j)(o)||(o=[o,o,o,o]);var s=Math.abs(e.r||0-e.r0||0);return{cornerRadius:i.i(r.p)(o,function(t){return i.i(a.b)(t,s)})}}e.a=n;var r=i(3),a=i(145)},654:function(t,e,i){"use strict";i.d(e,"a",function(){return s});var n=i(474),r=i(3),a=i(543),o=i(261),s=function(){function t(){}return t.prototype.getInitialData=function(t,e){var s,l,u=e.getComponent("xAxis",this.get("xAxisIndex")),c=e.getComponent("yAxis",this.get("yAxisIndex")),h=u.get("type"),d=c.get("type");"category"===h?(t.layout="horizontal",s=u.getOrdinalMeta(),l=!0):"category"===d?(t.layout="vertical",s=c.getOrdinalMeta(),l=!0):t.layout=t.layout||"horizontal";var p=["x","y"],f="horizontal"===t.layout?0:1,g=this._baseAxisDim=p[f],v=p[1-f],y=[u,c],m=y[f].get("type"),x=y[1-f].get("type"),_=t.data;if(_&&l){var b=[];r.d(_,function(t,e){var i;r.j(t)?(i=t.slice(),t.unshift(e)):r.j(t.value)?(i=r.g({},t),i.value=i.value.slice(),t.value.unshift(e)):i=t,b.push(i)}),t.data=b}var w=this.defaultValueDimensions,S=[{name:g,type:i.i(a.b)(m),ordinalMeta:s,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:v,type:i.i(a.b)(x),dimsDef:w.slice()}];return i.i(n.a)(this,{coordDimensions:S,dimensionsCount:w.length+1,encodeDefaulter:r.I(o.f,S,this)})},t.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},t}()},655:function(t,e,i){"use strict";function n(t,e,n){var a=t.getBaseAxis(),l=t.getOtherAxis(a),u=r(l,n),c=a.dim,h=l.dim,d=e.mapDimension(h),p=e.mapDimension(c),f="x"===h||"radius"===h?1:0,g=i.i(s.p)(t.dimensions,function(t){return e.mapDimension(t)}),v=!1,y=e.getCalculationInfo("stackResultDimension");return i.i(o.b)(e,g[0])&&(v=!0,g[0]=y),i.i(o.b)(e,g[1])&&(v=!0,g[1]=y),{dataDimsForPoint:g,valueStart:u,valueAxisDim:h,baseAxisDim:c,stacked:!!v,valueDim:d,baseDim:p,baseDataOffset:f,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function r(t,e){var n=0,r=t.scale.getExtent();return"start"===e?n=r[0]:"end"===e?n=r[1]:i.i(s.n)(e)&&!isNaN(e)?n=e:r[0]>0?n=r[0]:r[1]<0&&(n=r[1]),n}function a(t,e,i,n){var r=NaN;t.stacked&&(r=i.get(i.getCalculationInfo("stackedOverDimension"),n)),isNaN(r)&&(r=t.valueStart);var a=t.baseDataOffset,o=[];return o[a]=i.get(t.baseDim,n),o[1-a]=r,e.dataToPoint(o)}e.b=n,e.a=a;var o=i(260),s=i(3)},656:function(t,e,i){"use strict";function n(t,e){return isNaN(t)||isNaN(e)}function r(t,e,i,r,a,o,s,l,h){for(var d,p,f,g,v,y,m=i,x=0;x=a||m<0)break;if(n(_,b)){if(h){m+=o;continue}break}if(m===i)t[o>0?"moveTo":"lineTo"](_,b),f=_,g=b;else{var w=_-d,S=b-p;if(w*w+S*S<.5){m+=o;continue}if(s>0){for(var M=m+o,I=e[2*M],T=e[2*M+1];I===_&&T===b&&x=r||n(I,T))v=_,y=b;else{D=I-d,A=T-p;var O=_-d,R=I-_,N=b-p,E=T-b,z=void 0,B=void 0;if("x"===l){z=Math.abs(O),B=Math.abs(R);var F=D>0?1:-1;v=_-F*z*s,y=b,L=_+F*B*s,P=b}else if("y"===l){z=Math.abs(N),B=Math.abs(E);var V=A>0?1:-1;v=_,y=b-V*z*s,L=_,P=b+V*B*s}else z=Math.sqrt(O*O+N*N),B=Math.sqrt(R*R+E*E),k=B/(B+z),v=_-D*s*(1-k),y=b-A*s*(1-k),L=_+D*s*k,P=b+A*s*k,L=u(L,c(I,_)),P=u(P,c(T,b)),L=c(L,u(I,_)),P=c(P,u(T,b)),D=L-_,A=P-b,v=_-D*z/B,y=b-A*z/B,v=u(v,c(d,_)),y=u(y,c(p,b)),v=c(v,u(d,_)),y=c(y,u(p,b)),D=_-v,A=b-y,L=_+D*B/z,P=b+A*B/z}t.bezierCurveTo(f,g,v,y,_,b),f=L,g=P}else t.lineTo(_,b)}d=_,p=b,m+=o}return x}i.d(e,"b",function(){return d}),i.d(e,"a",function(){return f});var a=i(6),o=i(76),s=i(224),l=i(159),u=Math.min,c=Math.max,h=function(){function t(){this.smooth=0,this.smoothConstraint=!0}return t}(),d=function(t){function e(e){var i=t.call(this,e)||this;return i.type="ec-polyline",i}return i.i(a.a)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new h},e.prototype.buildPath=function(t,e){var i=e.points,a=0,o=i.length/2;if(e.connectNulls){for(;o>0&&n(i[2*o-2],i[2*o-1]);o--);for(;a=0){var b=c?(g-r)*_+r:(f-n)*_+n;return c?[t,b]:[b,t]}n=f,r=g;break;case u.C:f=o[d++],g=o[d++],v=o[d++],y=o[d++],m=o[d++],x=o[d++];var w=c?i.i(l.a)(n,f,v,m,t,h):i.i(l.a)(r,g,y,x,t,h);if(w>0)for(var S=0;S=0){var b=c?i.i(l.b)(r,g,y,x,M):i.i(l.b)(n,f,v,m,M);return c?[t,b]:[b,t]}}n=m,r=x}}},e}(o.a),p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.i(a.a)(e,t),e}(h),f=function(t){function e(e){var i=t.call(this,e)||this;return i.type="ec-polygon",i}return i.i(a.a)(e,t),e.prototype.getDefaultShape=function(){return new p},e.prototype.buildPath=function(t,e){var i=e.points,a=e.stackedOnPoints,o=0,s=i.length/2,l=e.smoothMonotone;if(e.connectNulls){for(;s>0&&n(i[2*s-2],i[2*s-1]);s--);for(;o=0;o--){var s=n[o];s.hierNode={defaultAncestor:null,ancestor:s,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},r.push(s)}}function r(t,e){var i=t.isExpand?t.children:[],n=t.parentNode.children,r=t.hierNode.i?n[t.hierNode.i-1]:null;if(i.length){u(t);var a=(i[0].hierNode.prelim+i[i.length-1].hierNode.prelim)/2;r?(t.hierNode.prelim=r.hierNode.prelim+e(t,r),t.hierNode.modifier=t.hierNode.prelim-a):t.hierNode.prelim=a}else r&&(t.hierNode.prelim=r.hierNode.prelim+e(t,r));t.parentNode.hierNode.defaultAncestor=c(t,r,t.parentNode.hierNode.defaultAncestor||n[0],e)}function a(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function o(t){return arguments.length?t:g}function s(t,e){return t-=Math.PI/2,{x:e*Math.cos(t),y:e*Math.sin(t)}}function l(t,e){return v.f(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function u(t){for(var e=t.children,i=e.length,n=0,r=0;--i>=0;){var a=e[i];a.hierNode.prelim+=n,a.hierNode.modifier+=n,r+=a.hierNode.change,n+=a.hierNode.shift+r}}function c(t,e,i,n){if(e){for(var r=t,a=t,o=a.parentNode.children[0],s=e,l=r.hierNode.modifier,u=a.hierNode.modifier,c=o.hierNode.modifier,g=s.hierNode.modifier;s=h(s),a=d(a),s&&a;){r=h(r),o=d(o),r.hierNode.ancestor=t;var v=s.hierNode.prelim+g-a.hierNode.prelim-u+n(s,a);v>0&&(f(p(s,t,i),t,v),u+=v,l+=v),g+=s.hierNode.modifier,u+=a.hierNode.modifier,l+=r.hierNode.modifier,c+=o.hierNode.modifier}s&&!h(r)&&(r.hierNode.thread=s,r.hierNode.modifier+=g-l),a&&!d(o)&&(o.hierNode.thread=a,o.hierNode.modifier+=u-c,i=t)}return i}function h(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function d(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function p(t,e,i){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:i}function f(t,e,i){var n=i/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=n,e.hierNode.shift+=i,e.hierNode.modifier+=i,e.hierNode.prelim+=i,t.hierNode.change+=n}function g(t,e){return t.parentNode===e.parentNode?1:2}e.c=n,e.d=r,e.e=a,e.b=o,e.f=s,e.a=l;var v=i(69)},661:function(t,e,i){"use strict";function n(t,e,i,n){var r=i.axis;if(!r.scale.isBlank()){var s=i.getModel("splitArea"),u=s.getModel("areaStyle"),c=u.get("color"),h=n.coordinateSystem.getRect(),d=r.getTicksCoords({tickModel:s,clamp:!0});if(d.length){var p=c.length,f=l(t).splitAreaColors,g=a.k(),v=0;if(f)for(var y=0;ye[0][1]&&(e[0][1]=a[0]),a[1]e[1][1]&&(e[1][1]=a[1])}return e&&u(e)}}},665:function(t,e,i){"use strict";function n(t,e){var i=s(t);c(e,function(e,n){for(var r=i.length-1;r>=0;r--){if(i[r][n])break}if(r<0){var a=t.queryComponents({mainType:"dataZoom",subType:"select",id:n})[0];if(a){var o=a.getPercentRange();i[0][n]={dataZoomId:n,start:o[0],end:o[1]}}}}),i.push(e)}function r(t){var e=s(t),i=e[e.length-1];e.length>1&&e.pop();var n={};return c(i,function(t,i){for(var r=e.length-1;r>=0;r--)if(t=e[r][i]){n[i]=t;break}}),n}function a(t){h(t).snapshots=null}function o(t){return s(t).length}function s(t){var e=h(t);return e.snapshots||(e.snapshots=[{}]),e.snapshots}e.b=n,e.c=r,e.a=a,e.d=o;var l=i(3),u=i(13),c=l.d,h=i.i(u.a)()},666:function(t,e,i){"use strict";function n(t){i.i(s.a)(t),t.registerComponentModel(r.a),t.registerComponentView(a.a),i.i(o.a)(t)}e.a=n;var r=i(932),a=i(933),o=i(668),s=i(600)},667:function(t,e,i){"use strict";function n(t){t.registerComponentModel(r.a),t.registerComponentView(a.a),i.i(o.a)(t)}e.a=n;var r=i(936),a=i(937),o=i(600)},668:function(t,e,i){"use strict";function n(t,e,i){v(t).coordSysRecordMap.each(function(t){var n=t.dataZoomInfoMap.get(e.uid);n&&(n.getRange=i)})}function r(t,e){for(var i=v(t).coordSysRecordMap,n=i.keys(),r=0;ri["type_"+e]&&(e=a),n=n&&r.get("preventDefaultMouseMove",!0)}),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!n}}}function c(t){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,function(t,e){var n=v(e),r=n.coordSysRecordMap||(n.coordSysRecordMap=i.i(f.k)());r.each(function(t){t.dataZoomInfoMap=null}),t.eachComponent({mainType:"dataZoom",subType:"inside"},function(t){var n=i.i(g.d)(t);i.i(f.d)(n.infoList,function(n){var a=n.model.uid,s=r.get(a)||r.set(a,o(e,n.model));(s.dataZoomInfoMap||(s.dataZoomInfoMap=i.i(f.k)())).set(t.uid,{dzReferCoordSysInfo:n,model:t,getRange:null})})}),r.each(function(t){var e,i=t.controller,n=t.dataZoomInfoMap;if(n){var o=n.keys()[0];null!=o&&(e=n.get(o))}if(!e)return void a(r,t);var s=u(n);i.enable(s.controlType,s.opt),i.setPointerChecker(t.containsPoint),d.a(t,"dispatchAction",e.model.get("throttle",!0),"fixRate")})})}e.b=n,e.c=r,e.a=c;var h=i(518),d=i(263),p=i(13),f=i(3),g=i(475),v=i.i(p.a)()},669:function(t,e,i){"use strict";function n(t,e,i){c.a.registerMap(t,e,i)}function r(t){function e(e,n){n.update="geo:updateSelectStatus",t.registerAction(n,function(t,n){var r={},a=[];return n.eachComponent({mainType:"geo",query:t},function(n){n[e](t.name);var o=n.coordinateSystem;i.i(s.d)(o.regions,function(t){r[t.name]=n.isSelected(t.name)||!1});var l=[];i.i(s.d)(r,function(t,e){r[e]&&l.push(e)}),a.push({geoIndex:n.componentIndex,name:l})}),{selected:r,allSelected:a,name:t.name}})}t.registerCoordinateSystem("geo",o.a),t.registerComponentModel(a.a),t.registerComponentView(u.a),t.registerImpl("registerMap",n),t.registerImpl("getMap",function(t){return c.a.getMapForUser(t)}),e("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),e("select",{type:"geoSelect",event:"geoselected"}),e("unSelect",{type:"geoUnSelect",event:"geounselected"}),t.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},function(t,e){var n=t.componentType||"series";e.eachComponent({mainType:n,query:t},function(e){var r=e.coordinateSystem;if("geo"===r.type){var a=i.i(l.a)(r,t,e.get("scaleLimit"));e.setCenter&&e.setCenter(a.center),e.setZoom&&e.setZoom(a.zoom),"series"===n&&i.i(s.d)(e.seriesGroup,function(t){t.setCenter(a.center),t.setZoom(a.zoom)})}})})}e.a=r;var a=i(1015),o=i(690),s=i(3),l=i(592),u=i(943),c=i(478)},670:function(t,e,i){"use strict";function n(t){return t[0]>t[1]&&t.reverse(),t}function r(t,e){return i.i(d.l)(t,e,{includeMainTypes:p})}function a(t,e,r,a){var o=r.getAxis(["x","y"][t]),s=n(i.i(u.p)([0,1],function(t){return e?o.coordToData(o.toLocalCoord(a[t]),!0):o.toGlobalCoord(o.dataToCoord(a[t]))})),l=[];return l[t]=s,l[1-t]=[NaN,NaN],{values:s,xyMinMax:l}}function o(t,e,i,n){return[e[0]-n[t]*i[0],e[1]-n[t]*i[1]]}function s(t,e){var i=l(t),n=l(e),r=[i[0]/n[0],i[1]/n[1]];return isNaN(r[0])&&(r[0]=1),isNaN(r[1])&&(r[1]=1),r}function l(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}var u=i(3),c=i(14),h=i(672),d=i(13),p=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],f=function(){function t(t,e,n){var a=this;this._targetInfoList=[];var o=r(e,t);i.i(u.d)(g,function(t,e){(!n||!n.include||i.i(u.f)(n.include,e)>=0)&&t(o,a._targetInfoList)})}return t.prototype.setOutputRanges=function(t,e){return this.matchOutputRanges(t,e,function(t,e,i){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var n=m[t.brushType](0,i,e);t.__rangeOffset={offset:x[t.brushType](n.values,t.range,[1,1]),xyMinMax:n.xyMinMax}}}),t},t.prototype.matchOutputRanges=function(t,e,n){i.i(u.d)(t,function(t){var r=this.findTargetInfo(t,e);r&&!0!==r&&i.i(u.d)(r.coordSyses,function(i){var r=m[t.brushType](1,i,t.range,!0);n(t,r.values,i,e)})},this)},t.prototype.setInputRanges=function(t,e){i.i(u.d)(t,function(t){var i=this.findTargetInfo(t,e);if(t.range=t.range||[],i&&!0!==i){t.panelId=i.panelId;var n=m[t.brushType](0,i.coordSys,t.coordRange),r=t.__rangeOffset;t.range=r?x[t.brushType](n.values,r.offset,s(n.xyMinMax,r.xyMinMax)):n.values}},this)},t.prototype.makePanelOpts=function(t,e){return i.i(u.p)(this._targetInfoList,function(i){var n=i.getPanelRect();return{panelId:i.panelId,defaultBrushType:e?e(i):null,clipPath:h.a(n),isTargetByCursor:h.b(n,t,i.coordSysModel),getLinearBrushOtherExtent:h.c(n)}})},t.prototype.controlSeries=function(t,e,n){var r=this.findTargetInfo(t,n);return!0===r||r&&i.i(u.f)(r.coordSyses,e.coordinateSystem)>=0},t.prototype.findTargetInfo=function(t,e){for(var i=this._targetInfoList,n=r(e,t),a=0;a=0||i.i(u.f)(r,t.getAxis("y").model)>=0)&&o.push(t)}),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:o[0],coordSyses:o,getPanelRect:y.grid,xAxisDeclared:s[t.id],yAxisDeclared:l[t.id]})}))},geo:function(t,e){i.i(u.d)(t.geoModels,function(t){var i=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:i,coordSyses:[i],getPanelRect:y.geo})})}},v=[function(t,e){var i=t.xAxisModel,n=t.yAxisModel,r=t.gridModel;return!r&&i&&(r=i.axis.grid.model),!r&&n&&(r=n.axis.grid.model),r&&r===e.gridModel},function(t,e){var i=t.geoModel;return i&&i===e.geoModel}],y={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(c.getTransform(t)),e}},m={lineX:i.i(u.I)(a,0),lineY:i.i(u.I)(a,1),rect:function(t,e,i,r){var a=t?e.pointToData([i[0][0],i[1][0]],r):e.dataToPoint([i[0][0],i[1][0]],r),o=t?e.pointToData([i[0][1],i[1][1]],r):e.dataToPoint([i[0][1],i[1][1]],r),s=[n([a[0],o[0]]),n([a[1],o[1]])];return{values:s,xyMinMax:s}},polygon:function(t,e,n,r){var a=[[1/0,-1/0],[1/0,-1/0]];return{values:i.i(u.p)(n,function(i){var n=t?e.pointToData(i,r):e.dataToPoint(i,r);return a[0][0]=Math.min(a[0][0],n[0]),a[1][0]=Math.min(a[1][0],n[1]),a[0][1]=Math.max(a[0][1],n[0]),a[1][1]=Math.max(a[1][1],n[1]),n}),xyMinMax:a}}},x={lineX:i.i(u.I)(o,0),lineY:i.i(u.I)(o,1),rect:function(t,e,i){return[[t[0][0]-i[0]*e[0][0],t[0][1]-i[0]*e[0][1]],[t[1][0]-i[1]*e[1][0],t[1][1]-i[1]*e[1][1]]]},polygon:function(t,e,n){return i.i(u.p)(t,function(t,i){return[t[0]-n[0]*e[i][0],t[1]-n[1]*e[i][1]]})}};e.a=f},671:function(t,e,i){"use strict";function n(t){var e=t.getItemStyle(),i=t.get("areaColor");return null!=i&&(e.fill=i),e}function r(t){var e=t.style;e&&(e.stroke=e.stroke||e.fill,e.fill=null)}function a(t,e,r,a){var o=a.getModel("itemStyle"),s=a.getModel(["emphasis","itemStyle"]),l=a.getModel(["blur","itemStyle"]),u=a.getModel(["select","itemStyle"]),c=n(o),h=n(s),d=n(u),p=n(l),f=t.data;if(f){var g=f.getItemVisual(r,"style"),y=f.getItemVisual(r,"decal");t.isVisualEncodedByVisualMap&&g.fill&&(c.fill=g.fill),y&&(c.decal=i.i(b.a)(y,t.api))}e.setStyle(c),e.style.strokeNoScale=!0,e.ensureState("emphasis").style=h,e.ensureState("select").style=d,e.ensureState("blur").style=p,i.i(v.H)(e)}function o(t,e,n,r,a,o,s){var l=t.data,u=t.isGeo,c=l&&isNaN(l.get(l.mapDimension("value"),o)),h=l&&l.getItemLayout(o);if(u||c||h&&h.showLabel){var d=u?n:o,p=void 0;(!l||o>=0)&&(p=a);var f=s?{normal:{align:"center",verticalAlign:"middle"}}:null;i.i(x.e)(e,i.i(x.f)(r),{labelFetcher:p,labelDataIndex:d,defaultText:n},f);var g=e.getTextContent();if(g&&(k(g).ignore=g.ignore,e.textConfig&&s)){var v=e.getBoundingRect().clone();e.textConfig.layoutRect=v,e.textConfig.position=[(s[0]-v.x)/v.width*100+"%",(s[1]-v.y)/v.height*100+"%"]}e.disableLabelAnimation=!0}else e.removeTextContent(),e.removeTextConfig(),e.disableLabelAnimation=null}function s(t,e,n,r,a,o){t.data?t.data.setItemGraphicEl(o,e):i.i(_.a)(e).eventData={componentType:"geo",componentIndex:a.componentIndex,geoIndex:a.componentIndex,name:n,region:r&&r.option||{}}}function l(t,e,i,n,r){t.data||g.setTooltipConfig({el:e,componentModel:r,itemName:i,itemTooltipOption:n.get("tooltip")})}function u(t,e,n,r,a){e.highDownSilentOnTouch=!!a.get("selectedMode");var o=r.getModel("emphasis"),s=o.get("focus");return i.i(v.G)(e,s,o.get("blurScope"),o.get("disabled")),t.isGeo&&i.i(v.I)(e,a,n),s}function c(t,e,i){function n(){a=[]}function r(){a.length&&(o.push(a),a=[])}var a,o=[],s=e({polygonStart:n,polygonEnd:r,lineStart:n,lineEnd:r,point:function(t,e){isFinite(t)&&isFinite(e)&&a.push([t,e])},sphere:function(){}});return!i&&s.polygonStart(),h.d(t,function(t){s.lineStart();for(var e=0;e0,f={api:i,geo:s,mapOrGeoModel:t,data:o,isVisualEncodedByVisualMap:p,isGeo:a,transformInfoRaw:h};"geoJSON"===s.resourceType?this._buildGeoJSON(f):"geoSVG"===s.resourceType&&this._buildSVG(f),this._updateController(t,e,i),this._updateMapSelectHandler(t,l,i,n)},t.prototype._buildGeoJSON=function(t){function e(t,e){return e&&(t=e(t)),t&&[t[0]*v.scaleX+v.x,t[1]*v.scaleY+v.y]}function i(t){for(var i=[],n=!_&&x&&x.project,r=0;r=0},e.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},e.type="legend.plain",e.dependencies=["series"],e.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},e}(s.a);e.a=u},676:function(t,e,i){"use strict";function n(t,e,i,n,r,a){function o(t,e){"auto"===t.lineWidth&&(t.lineWidth=e.lineWidth>0?2:0),_(t,function(i,n){"inherit"===t[n]&&(t[n]=e[n])})}var s=e.getModel("itemStyle"),l=s.getItemStyle(),u=0===t.lastIndexOf("empty",0)?"fill":"stroke";l.decal=n.decal,"inherit"===l.fill&&(l.fill=n[r]),"inherit"===l.stroke&&(l.stroke=n[u]),"inherit"===l.opacity&&(l.opacity=("fill"===r?n:i).opacity),o(l,n);var c=e.getModel("lineStyle"),h=c.getLineStyle();if(o(h,i),"auto"===l.fill&&(l.fill=n.fill),"auto"===l.stroke&&(l.stroke=n.fill),"auto"===h.stroke&&(h.stroke=n.fill),!a){var d=e.get("inactiveBorderWidth"),p=l[u];l.lineWidth="auto"===d?n.lineWidth>0&&p?2:0:l.lineWidth,l.fill=e.get("inactiveColor"),l.stroke=e.get("inactiveBorderColor"),h.stroke=c.get("inactiveColor"),h.lineWidth=c.get("inactiveWidth")}return{itemStyle:l,lineStyle:h}}function r(t){var e=t.icon||"roundRect",n=i.i(m.a)(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill,t.symbolKeepAspect);return n.setStyle(t.itemStyle),n.rotation=(t.iconRotate||0)*Math.PI/180,n.setOrigin([t.itemWidth/2,t.itemHeight/2]),e.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n}function a(t,e,i,n){l(t,e,i,n),i.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),s(t,e,i,n)}function o(t){for(var e,i=t.getZr().storage.getDisplayList(),n=0,r=i.length;n1||m&&!v){var _=r(y,h,d,g,x);e=_.inlineValues,n=_.inlineValueTypes,u=_.blocks,c=_.inlineValues[0]}else if(v){var b=f.getDimensionInfo(g[0]);c=e=i.i(s.a)(f,d,g[0]),n=b.type}else c=e=m?y[0]:y;var w=i.i(l.f)(h),S=w&&h.name||"",M=f.getName(d),I=p?S:M;return i.i(o.b)("section",{header:S,noHeader:p||!w,sortParam:c,blocks:[i.i(o.b)("nameValue",{markerType:"item",markerColor:x,name:I,noName:!i.i(a.h)(I),value:e,valueType:n})].concat(u||[])})}function r(t,e,n,r,l){function u(t,e){var n=c.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(h?f.push(i.i(o.b)("nameValue",{markerType:"subItem",markerColor:l,name:n.displayName,value:t,valueType:n.type})):(d.push(t),p.push(n.type)))}var c=e.getData(),h=i.i(a.q)(t,function(t,e,i){var n=c.getDimensionInfo(i);return t=t||n&&!1!==n.tooltip&&null!=n.displayName},!1),d=[],p=[],f=[];return r.length?i.i(a.d)(r,function(t){u(i.i(s.a)(c,n,t),t)}):i.i(a.d)(t,u),{inlineValues:d,inlineValueTypes:p,blocks:f}}e.a=n;var a=i(3),o=i(149),s=i(481),l=i(13)},682:function(t,e,i){"use strict";var n=i(6),r=i(3),a=i(710),o=i(325),s=i(550),l=i(13),u=i(22),c=i(73),h=o.a.mapVisual,d=o.a.eachVisual,p=r.j,f=r.d,g=u.j,v=u.h,y=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.stateList=["inRange","outOfRange"],i.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],i.layoutMode={type:"box",ignoreSize:!0},i.dataBound=[-1/0,1/0],i.targetVisuals={},i.controllerVisuals={},i}return i.i(n.a)(e,t),e.prototype.init=function(t,e,i){this.mergeDefaultAndTheme(t,i)},e.prototype.optionUpdated=function(t,e){var i=this.option;!e&&s.b(i,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},e.prototype.resetVisual=function(t){var e=this.stateList;t=r.K(t,this),this.controllerVisuals=s.c(this.option.controller,e,t),this.targetVisuals=s.c(this.option.target,e,t)},e.prototype.getItemSymbol=function(){return null},e.prototype.getTargetSeriesIndices=function(){var t=this.option.seriesIndex,e=[];return null==t||"all"===t?this.ecModel.eachSeries(function(t,i){e.push(i)}):e=l.d(t),e},e.prototype.eachTargetSeries=function(t,e){r.d(this.getTargetSeriesIndices(),function(i){var n=this.ecModel.getSeriesByIndex(i);n&&t.call(e,n)},this)},e.prototype.isTargetSeries=function(t){var e=!1;return this.eachTargetSeries(function(i){i===t&&(e=!0)}),e},e.prototype.formatValueText=function(t,e,i){function n(t){return t===l[0]?"min":t===l[1]?"max":(+t).toFixed(Math.min(s,20))}var a,o=this.option,s=o.precision,l=this.dataBound,u=o.formatter;i=i||["<",">"],r.j(t)&&(t=t.slice(),a=!0);var c=e?t:a?[n(t[0]),n(t[1])]:n(t);return r.m(u)?u.replace("{value}",a?c[0]:c).replace("{value2}",a?c[1]:c):r.a(u)?a?u(t[0],t[1]):u(t):a?t[0]===l[0]?i[0]+" "+c[1]:t[1]===l[1]?i[1]+" "+c[0]:c[0]+" - "+c[1]:c},e.prototype.resetExtent=function(){var t=this.option,e=g([t.min,t.max]);this._dataExtent=e},e.prototype.getDataDimensionIndex=function(t){var e=this.option.dimension;if(null!=e)return t.getDimensionIndex(e);for(var i=t.dimensions,n=i.length-1;n>=0;n--){var r=i[n],a=t.getDimensionInfo(r);if(!a.isCalculationCoord)return a.storeDimIndex}},e.prototype.getExtent=function(){return this._dataExtent.slice()},e.prototype.completeVisualOption=function(){function t(t){p(s.color)&&!t.inRange&&(t.inRange={color:s.color.slice().reverse()}),t.inRange=t.inRange||{color:n.get("gradientColor")}}function e(t,e,i){var n=t[e],r=t[i];n&&!r&&(r=t[i]={},f(n,function(t,e){if(o.a.isValidType(e)){var i=a.a.get(e,"inactive",g);null!=i&&(r[e]=i,"color"!==e||r.hasOwnProperty("opacity")||r.hasOwnProperty("colorAlpha")||(r.opacity=[0,0]))}}))}function i(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,i=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,n=this.get("inactiveColor"),a=this.getItemSymbol(),o=a||"roundRect";f(this.stateList,function(a){var s=this.itemSize,l=t[a];l||(l=t[a]={color:g?n:[n]}),null==l.symbol&&(l.symbol=e&&r.v(e)||(g?o:[o])),null==l.symbolSize&&(l.symbolSize=i&&r.v(i)||(g?s[0]:[s[0],s[0]])),l.symbol=h(l.symbol,function(t){return"none"===t?o:t});var u=l.symbolSize;if(null!=u){var c=-1/0;d(u,function(t){t>c&&(c=t)}),l.symbolSize=h(u,function(t){return v(t,[0,c],[0,s[0]],!0)})}},this)}var n=this.ecModel,s=this.option,l={inRange:s.inRange,outOfRange:s.outOfRange},u=s.target||(s.target={}),c=s.controller||(s.controller={});r.G(u,l),r.G(c,l);var g=this.isCategory();t.call(this,u),t.call(this,c),e.call(this,u,"inRange","outOfRange"),i.call(this,c)},e.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},e.prototype.isCategory=function(){return!!this.option.categories},e.prototype.setSelected=function(t){},e.prototype.getSelected=function(){return null},e.prototype.getValueState=function(t){return null},e.prototype.getVisualMeta=function(t){return null},e.type="visualMap",e.dependencies=["series"],e.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},e}(c.a);e.a=y},683:function(t,e,i){"use strict";var n=i(6),r=i(3),a=i(14),o=i(137),s=i(69),l=i(325),u=i(81),c=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.autoPositionValues={left:1,right:1,top:1,bottom:1},i}return i.i(n.a)(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e},e.prototype.render=function(t,e,i,n){if(this.visualMapModel=t,!1===t.get("show"))return void this.group.removeAll();this.doRender(t,e,i,n)},e.prototype.renderBackground=function(t){var e=this.visualMapModel,i=o.f(e.get("padding")||0),n=t.getBoundingRect();t.add(new a.Rect({z2:-1,silent:!0,shape:{x:n.x-i[3],y:n.y-i[0],width:n.width+i[3]+i[1],height:n.height+i[0]+i[2]},style:{fill:e.get("backgroundColor"),stroke:e.get("borderColor"),lineWidth:e.get("borderWidth")}}))},e.prototype.getControllerVisual=function(t,e,i){function n(t){return u[t]}function a(t,e){u[t]=e}i=i||{};var o=i.forceState,s=this.visualMapModel,u={};if("color"===e){var c=s.get("contentColor");u.color=c}var h=s.controllerVisuals[o||s.getValueState(t)],d=l.a.prepareVisualTypes(h);return r.d(d,function(r){var o=h[r];i.convertOpacityToAlpha&&"opacity"===r&&(r="colorAlpha",o=h.__alphaForOpacity),l.a.dependsOn(r,e)&&o&&o.applyVisual(t,n,a)}),u[e]},e.prototype.positionGroup=function(t){var e=this.visualMapModel,i=this.api;s.e(t,e.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()})},e.prototype.doRender=function(t,e,i,n){},e.type="visualMap",e}(u.a);e.a=c},684:function(t,e,i){"use strict";function n(t,e,n){var r=t.option,a=r.align;if(null!=a&&"auto"!==a)return a;for(var l={width:e.getWidth(),height:e.getHeight()},u="horizontal"===r.orient?1:0,c=s[u],h=[0,null,10],d={},p=0;p<3;p++)d[s[1-u][p]]=h[p],d[c[p]]=2===p?n[0]:r[c[p]];var f=[["x","width",3],["y","height",0]][u],g=i.i(o.f)(d,l,r.padding);return c[(g.margin[f[2]]||0)+g[f[0]]+.5*g[f[1]]<.5*l[f[1]]?0:1]}function r(t,e){return a.d(t||[],function(t){null!=t.dataIndex&&(t.dataIndexInside=t.dataIndex,t.dataIndex=null),t.highlightKey="visualMap"+(e?e.componentIndex:"")}),t}e.b=n,e.a=r;var a=i(3),o=i(69),s=[["left","right","width"],["top","bottom","height"]]},685:function(t,e,i){"use strict";function n(t){l||(l=!0,t.registerSubTypeDefaulter("visualMap",function(t){return t.categories||(t.pieces?t.pieces.length>0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"}),t.registerAction(r.a,r.b),i.i(o.d)(a.a,function(e){t.registerVisual(t.PRIORITY.VISUAL.COMPONENT,e)}),t.registerPreprocessor(s.a))}e.a=n;var r=i(1e3),a=i(999),o=i(3),s=i(998),l=!1},686:function(t,e,i){"use strict";function n(t){t.registerComponentModel(r.a),t.registerComponentView(a.a),i.i(o.a)(t)}e.a=n;var r=i(993),a=i(994),o=i(685)},687:function(t,e,i){"use strict";function n(t){t.registerComponentModel(r.a),t.registerComponentView(a.a),i.i(o.a)(t)}e.a=n;var r=i(995),a=i(996),o=i(685)},688:function(t,e,i){"use strict";function n(t,e,n){var u=a.a.prototype,c=u.getTicks.call(n),h=u.getTicks.call(n,!0),d=c.length-1,p=u.getInterval.call(n),f=i.i(o.h)(t,e),g=f.extent,v=f.fixMin,y=f.fixMax;if("log"===t.type){var m=l(t.base);g=[l(g[0])/m,l(g[1])/m]}t.setExtent(g[0],g[1]),t.calcNiceExtent({splitNumber:d,fixMin:v,fixMax:y});var x=u.getExtent.call(t);v&&(g[0]=x[0]),y&&(g[1]=x[1]);var _=u.getInterval.call(t),b=g[0],w=g[1];if(v&&y)_=(w-b)/d;else if(v)for(w=g[0]+_*d;wg[0]&&isFinite(b)&&isFinite(g[0]);)_=i.i(s.f)(_),b=g[1]-_*d;else{var S=t.getTicks().length-1;S>d&&(_=i.i(s.f)(_));var M=_*d;w=Math.ceil(g[1]/_)*_,b=i.i(r.d)(w-M),b<0&&g[0]>=0?(b=0,w=i.i(r.d)(M)):w>0&&g[1]<=0&&(w=0,b=-i.i(r.d)(M))}var I=(c[0].value-h[0].value)/p,T=(c[d].value-h[d].value)/p;u.setExtent.call(t,b+_*I,w+_*T),u.setInterval.call(t,_),(I||T)&&u.setNiceExtent.call(t,b+_,w-_)}e.a=n;var r=i(22),a=i(483),o=i(194),s=(i(56),i(324)),l=Math.log},689:function(t,e,i){"use strict";var n=i(3),r={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},a=n.G({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},r),o=n.G({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},r),s=n.G({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},o),l=n.t({logBase:10},o);e.a={category:a,value:o,time:s,log:l}},69:function(t,e,i){"use strict";function n(t,e,i,n,r){var a=0,o=0;null==n&&(n=1/0),null==r&&(r=1/0);var s=0;e.eachChild(function(l,u){var c,h,d=l.getBoundingRect(),p=e.childAt(u+1),f=p&&p.getBoundingRect();if("horizontal"===t){var g=d.width+(f?-f.x+d.x:0);c=a+g,c>n||l.newline?(a=0,c=g,o+=s+i,s=d.height):s=Math.max(s,d.height)}else{var v=d.height+(f?-f.y+d.y:0);h=o+v,h>r||l.newline?(a+=s+i,o=0,h=v,s=d.width):s=Math.max(s,d.width)}l.newline||(l.x=a,l.y=o,l.markRedraw(),"horizontal"===t?a=c+i:o=h+i)})}function r(t,e,n){var r=e.width,a=e.height,o=i.i(f.a)(t.left,r),s=i.i(f.a)(t.top,a),l=i.i(f.a)(t.right,r),u=i.i(f.a)(t.bottom,a);return(isNaN(o)||isNaN(parseFloat(t.left)))&&(o=0),(isNaN(l)||isNaN(parseFloat(t.right)))&&(l=r),(isNaN(s)||isNaN(parseFloat(t.top)))&&(s=0),(isNaN(u)||isNaN(parseFloat(t.bottom)))&&(u=a),n=g.f(n||0),{width:Math.max(l-o-n[1]-n[3],0),height:Math.max(u-s-n[0]-n[2],0)}}function a(t,e,n){n=g.f(n||0);var r=e.width,a=e.height,o=i.i(f.a)(t.left,r),s=i.i(f.a)(t.top,a),l=i.i(f.a)(t.right,r),u=i.i(f.a)(t.bottom,a),c=i.i(f.a)(t.width,r),h=i.i(f.a)(t.height,a),d=n[2]+n[0],v=n[1]+n[3],y=t.aspect;switch(isNaN(c)&&(c=r-l-v-o),isNaN(h)&&(h=a-u-d-s),null!=y&&(isNaN(c)&&isNaN(h)&&(y>r/a?c=.8*r:h=.8*a),isNaN(c)&&(c=y*h),isNaN(h)&&(h=c/y)),isNaN(o)&&(o=r-l-c-v),isNaN(s)&&(s=a-u-h-d),t.left||t.right){case"center":o=r/2-c/2-n[3];break;case"right":o=r-c-v}switch(t.top||t.bottom){case"middle":case"center":s=a/2-h/2-n[0];break;case"bottom":s=a-h-d}o=o||0,s=s||0,isNaN(c)&&(c=r-v-o-(l||0)),isNaN(h)&&(h=a-d-s-(u||0));var m=new p.a(o+n[3],s+n[0],c,h);return m.margin=n,m}function o(t,e,i,n,r,o){var s=!r||!r.hv||r.hv[0],l=!r||!r.hv||r.hv[1],u=r&&r.boundingMode||"all";if(o=o||t,o.x=t.x,o.y=t.y,!s&&!l)return!1;var c;if("raw"===u)c="group"===t.type?new p.a(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(c=t.getBoundingRect(),t.needLocalTransform()){var h=t.getLocalTransform();c=c.clone(),c.applyTransform(h)}var f=a(d.t({width:c.width,height:c.height},e),i,n),g=s?f.x-c.x:0,v=l?f.y-c.y:0;return"raw"===u?(o.x=g,o.y=v):(o.x+=g,o.y+=v),o===t&&t.markRedraw(),!0}function s(t,e){return null!=t[m[e][0]]||null!=t[m[e][1]]&&null!=t[m[e][2]]}function l(t){var e=t.layoutMode||t.constructor.layoutMode;return d.i(e)?e:e?{type:e}:null}function u(t,e,i){function n(i,n){var o={},l=0,u={},c=0;if(v(i,function(e){u[e]=t[e]}),v(i,function(t){r(e,t)&&(o[t]=u[t]=e[t]),a(o,t)&&l++,a(u,t)&&c++}),s[n])return a(e,i[1])?u[i[2]]=null:a(e,i[2])&&(u[i[1]]=null),u;if(2!==c&&l){if(l>=2)return o;for(var h=0;h1?(S.width=g,S.height=g/b):(S.height=g,S.width=g*b),S.y=f[1]-S.height/2,S.x=f[0]-S.width/2;else{var M=t.getBoxLayoutParams();M.aspect=b,S=s.f(M,{width:x,height:_})}this.setViewRect(S.x,S.y,S.width,S.height),this.setCenter(t.get("center")),this.setZoom(t.get("zoom"))}function r(t,e){a.d(e.get("geoCoord"),function(e,i){t.addGeoCoord(i,e)})}var a=i(3),o=i(1013),s=i(69),l=i(22),u=i(478),c=i(75),h=function(){function t(){this.dimensions=o.a}return t.prototype.create=function(t,e){function i(t){return{nameProperty:t.get("nameProperty"),aspectScale:t.get("aspectScale"),projection:t.get("projection")}}var s=[];t.eachComponent("geo",function(t,r){var l=t.get("map"),u=new o.b(l+r,l,a.g({nameMap:t.get("nameMap")},i(t)));u.zoomLimit=t.get("scaleLimit"),s.push(u),t.coordinateSystem=u,u.model=t,u.resize=n,u.resize(t,e)}),t.eachSeries(function(t){if("geo"===t.get("coordinateSystem")){var e=t.get("geoIndex")||0;t.coordinateSystem=s[e]}});var l={};return t.eachSeriesByType("map",function(t){if(!t.getHostGeoModel()){var e=t.getMapType();l[e]=l[e]||[],l[e].push(t)}}),a.d(l,function(t,l){var u=a.p(t,function(t){return t.get("nameMap")}),c=new o.b(l,l,a.g({nameMap:a.O(u)},i(t[0])));c.zoomLimit=a.N.apply(null,a.p(t,function(t){return t.get("scaleLimit")})),s.push(c),c.resize=n,c.resize(t[0],e),a.d(t,function(t){t.coordinateSystem=c,r(c,t)})}),s},t.prototype.getFilledRegions=function(t,e,i,n){for(var r=(t||[]).slice(),o=a.k(),s=0;s0&&u>0&&!c&&(l=0),l<0&&u<0&&!h&&(u=0));var p=this._determinedMin,f=this._determinedMax;return null!=p&&(l=p,c=!0),null!=f&&(u=f,h=!0),{min:l,max:u,minFixed:c,maxFixed:h,isBlank:d}},t.prototype.modifyDataMinMax=function(t,e){this[u[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){var i=l[t];this[i]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),l={min:"_determinedMin",max:"_determinedMax"},u={min:"_dataMin",max:"_dataMax"}},692:function(t,e,i){"use strict";function n(t,e){e=e||{};var i=t.coordinateSystem,n=t.axis,a={},o=n.position,s=n.orient,l=i.getRect(),u=[l.x,l.x+l.width,l.y,l.y+l.height],c={horizontal:{top:u[2],bottom:u[3]},vertical:{left:u[0],right:u[1]}};a.position=["vertical"===s?c.vertical[o]:u[0],"horizontal"===s?c.horizontal[o]:u[3]];var h={horizontal:0,vertical:1};a.rotation=Math.PI/2*h[s];var d={top:-1,bottom:1,right:1,left:-1};a.labelDirection=a.tickDirection=a.nameDirection=d[o],t.get(["axisTick","inside"])&&(a.tickDirection=-a.tickDirection),r.N(e.labelInside,t.get(["axisLabel","inside"]))&&(a.labelDirection=-a.labelDirection);var p=e.rotate;return null==p&&(p=t.get(["axisLabel","rotate"])),a.labelRotation="top"===o?-p:p,a.z2=1,a}e.a=n;var r=i(3)},693:function(t,e,i){"use strict";var n=i(3),r=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],a=function(){function t(t){n.d(r,function(e){this[e]=n.K(t[e],t)},this)}return t}();e.a=a},694:function(t,e,i){"use strict";function n(t,e){a[t]=e}function r(t){return a[t]}e.b=n,e.a=r;var a=(i(56),{})},695:function(t,e,i){"use strict";function n(t){return i.i(r.i)(t)&&null!=t.value?t.value:t+""}var r=i(3),a=0,o=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++a}return t.createByAxisModel=function(e){var a=e.option,o=a.data,s=o&&i.i(r.p)(o,n);return new t({categories:s,needCollect:!s,deduplication:!1!==a.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if(!i.i(r.m)(t)&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var a=this._getOrCreateMap();return e=a.get(t),null==e&&(n?(e=this.categories.length,this.categories[e]=t,a.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=i.i(r.k)(this.categories))},t}();e.a=o},696:function(t,e,i){"use strict";var n=i(3),r=function(){function t(t){this.otherDims={},null!=t&&n.g(this,t)}return t}();e.a=r},697:function(t,e,i){"use strict";function n(t){var e=t.mainData,n=t.datas;n||(n={main:e},t.datasAttr={main:"data"}),t.datas=t.mainData=null,c(e,n,t),i.i(d.d)(n,function(n){i.i(d.d)(e.TRANSFERABLE_METHODS,function(e){n.wrapMethod(e,i.i(d.I)(r,t))})}),e.wrapMethod("cloneShallow",i.i(d.I)(o,t)),i.i(d.d)(e.CHANGABLE_METHODS,function(n){e.wrapMethod(n,i.i(d.I)(a,t))}),i.i(d.l)(n[e.dataType]===e)}function r(t,e){if(u(this)){var n=i.i(d.g)({},f(this).datas);n[this.dataType]=e,c(e,n,t)}else h(e,this.dataType,f(this).mainData,t);return e}function a(t,e){return t.struct&&t.struct.update(),e}function o(t,e){return i.i(d.d)(f(e).datas,function(i,n){i!==e&&h(i.cloneShallow(),n,e,t)}),e}function s(t){var e=f(this).mainData;return null==t||null==e?e:f(e).datas[t]}function l(){var t=f(this).mainData;return null==t?[{data:t}]:i.i(d.p)(i.i(d.b)(f(t).datas),function(e){return{type:e,data:f(t).datas[e]}})}function u(t){return f(t).mainData===t}function c(t,e,n){f(t).datas={},i.i(d.d)(e,function(e,i){h(e,i,t,n)})}function h(t,e,i,n){f(i).datas[e]=t,f(t).mainData=i,t.dataType=e,n.struct&&(t[n.structAttr]=n.struct,n.struct[n.datasAttr[e]]=t),t.getLinkedData=s,t.getLinkedDataAll=l}var d=i(3),p=i(13),f=i.i(p.a)();e.a=n},698:function(t,e,i){"use strict";function n(t){t.option.transform&&i.i(o.L)(t.option.transform)}function r(t){return"series"===t.mainType}function a(t){throw new Error(t)}i.d(e,"a",function(){return p}),e.b=n;var o=i(3),s=i(290),l=i(165),u=i(261),c=i(699),h=i(612),d=i(481),p=function(){function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,++this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,n=this._sourceHost,a=this._getUpstreamSourceManagers(),u=!!a.length;if(r(n)){var c=n,h=void 0,d=void 0,p=void 0;if(u){var f=a[0];f.prepareSource(),p=f.getSource(),h=p.data,d=p.sourceFormat,e=[f._getVersionSign()]}else h=c.get("data",!0),d=i.i(o.z)(h)?l.a:l.g,e=[];var g=this._getSourceMetaRawOption()||{},v=p&&p.metaRawOption||{},y=i.i(o.e)(g.seriesLayoutBy,v.seriesLayoutBy)||null,m=i.i(o.e)(g.sourceHeader,v.sourceHeader),x=i.i(o.e)(g.dimensions,v.dimensions);t=y!==v.seriesLayoutBy||!!m!=!!v.sourceHeader||x?[i.i(s.c)(h,{seriesLayoutBy:y,sourceHeader:m,dimensions:x},d)]:[]}else{var _=n;if(u){var b=this._applyTransform(a);t=b.sourceList,e=b.upstreamSignList}else{var w=_.get("source",!0);t=[i.i(s.c)(w,this._getSourceMetaRawOption(),null)],e=[]}}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e=this._sourceHost,n=e.get("transform",!0),r=e.get("fromTransformResult",!0);if(null!=r){var l="";1!==t.length&&a(l)}var u,h=[],d=[];return i.i(o.d)(t,function(t){t.prepareSource();var e=t.getSource(r||0),i="";null==r||e||a(i),h.push(e),d.push(t._getVersionSign())}),n?u=i.i(c.a)(n,h,{datasetIndex:e.componentIndex}):null!=r&&(u=[i.i(s.d)(h[0])]),{sourceList:u,upstreamSignList:d}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e=0;o--)n[o]&&!p.s(n[o])?a=!0:(n[o]=null,!a&&r--);n.length=r,t[i]=n}}),delete t["\0_ec_inner"],t},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,e){var i=this._componentsMap.get(t);if(i){var n=i[e||0];if(n)return n;if(null==e)for(var r=0;r10&&"cartesian2d"===u.type&&l){var h=u.getBaseAxis(),d=u.getOtherAxis(h),p=h.getExtent(),f=n.getDevicePixelRatio(),g=Math.abs(p[1]-p[0])*(f||1),v=Math.round(c/g);if(isFinite(v)&&v>1){"lttb"===l&&t.setData(s.lttbDownSample(s.mapDimension(d.dim),1/v));var y=void 0;i.i(r.m)(l)?y=a[l]:i.i(r.a)(l)&&(y=l),y&&t.setData(s.downSample(s.mapDimension(d.dim),1/v,y,o))}}}}}e.a=n;var r=i(3),a={average:function(t){for(var e=0,i=0,n=0;ne&&(e=t[i]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,i=0;i=0&&t=0&&t=t},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.calcNiceTicks=function(){},e.prototype.calcNiceExtent=function(){},e.type="ordinal",e}(r.a);r.a.registerClass(l),e.a=l},707:function(t,e,i){"use strict";function n(t,e,n,r){var a=d.f(e),o=d.f(n),s=function(t){return i.i(p.l)(a,t,r)===i.i(p.l)(o,t,r)},l=function(){return s("year")},u=function(){return l()&&s("month")},c=function(){return u()&&s("day")},h=function(){return c()&&s("hour")},f=function(){return h()&&s("minute")},g=function(){return f()&&s("second")};switch(t){case"year":return l();case"month":return u();case"day":return c();case"hour":return h();case"minute":return f();case"second":return g();case"millisecond":return function(){return g()&&s("millisecond")}()}}function r(t,e){return t/=p.g,t>16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function a(t){return t/=30*p.g,t>6?6:t>3?3:t>2?2:1}function o(t){return t/=p.j,t>12?12:t>6?6:t>3.5?4:t>2?2:1}function s(t,e){return t/=e?p.i:p.h,t>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function l(t){return d.m(t,!0)}function u(t,e,n){var r=new Date(t);switch(i.i(p.e)(e)){case"year":case"month":r[i.i(p.m)(n)](0);case"day":r[i.i(p.n)(n)](1);case"hour":r[i.i(p.o)(n)](0);case"minute":r[i.i(p.p)(n)](0);case"second":r[i.i(p.q)(n)](0),r[i.i(p.r)(n)](0)}return r.getTime()}function c(t,e,c,h){function d(t,e,i,n,r,a,o){for(var s=new Date(e),l=e,u=s[n]();l1&&0===m&&g.unshift({value:g[0].value-b})}}for(var m=0;m=h[0]&&I<=h[1]&&x++)}var T=(h[1]-h[0])/e;if(x>1.5*T&&_>T/1.5)break;if(v.push(S),x>T||t===f[b])break}m=[]}}}for(var C=i.i(y.c)(i.i(y.p)(v,function(t){return i.i(y.c)(t,function(t){return t.value>=h[0]&&t.value<=h[1]&&!t.notAdd})}),function(t){return t.length>0}),k=[],D=C.length-1,b=0;b>>1;t[r][1]i&&(this._approxInterval=i);var a=_.length,o=Math.min(m(_,this._approxInterval,0,a),a-1);this._interval=_[o][1],this._minLevelUnit=_[Math.max(o-1,0)][0]},e.prototype.parse=function(t){return i.i(y.n)(t)?t:+d.f(t)},e.prototype.contain=function(t){return f.a(this.parse(t),this._extent)},e.prototype.normalize=function(t){return f.b(this.parse(t),this._extent)},e.prototype.scale=function(t){return f.c(t,this._extent)},e.type="time",e}(g.a),_=[["second",p.h],["minute",p.i],["hour",p.j],["quarter-day",6*p.j],["half-day",12*p.j],["day",1.2*p.g],["half-week",3.5*p.g],["week",7*p.g],["month",31*p.g],["quarter",95*p.g],["half-year",p.k/2],["year",p.k]];v.a.registerClass(x),e.a=x},708:function(t,e,i){"use strict";var n=i(6),r=i(14),a=function(){function t(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0}return t}(),o=function(t){function e(e){var i=t.call(this,e)||this;return i.type="sausage",i}return i.i(n.a)(e,t),e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){var i=e.cx,n=e.cy,r=Math.max(e.r0||0,0),a=Math.max(e.r,0),o=.5*(a-r),s=r+o,l=e.startAngle,u=e.endAngle,c=e.clockwise,h=2*Math.PI,d=c?u-l=0,o=t.fill||"#000";s(r,e);var u=null==r.textFill;return a?u&&(r.textFill=n.insideFill||"#fff",!r.textStroke&&n.insideStroke&&(r.textStroke=n.insideStroke),!r.textStroke&&(r.textStroke=o),null==r.textStrokeWidth&&(r.textStrokeWidth=2)):(u&&(r.textFill=t.fill||n.outsideFill||"#000"),!r.textStroke&&n.outsideStroke&&(r.textStroke=n.outsideStroke)),r.text=e.text,r.rich=e.rich,i.i(l.d)(e.rich,function(t){s(t,t)}),r}function s(t,e){e&&(i.i(l.F)(e,"fill")&&(t.textFill=e.fill),i.i(l.F)(e,"stroke")&&(t.textStroke=e.fill),i.i(l.F)(e,"lineWidth")&&(t.textStrokeWidth=e.lineWidth),i.i(l.F)(e,"font")&&(t.font=e.font),i.i(l.F)(e,"fontStyle")&&(t.fontStyle=e.fontStyle),i.i(l.F)(e,"fontWeight")&&(t.fontWeight=e.fontWeight),i.i(l.F)(e,"fontSize")&&(t.fontSize=e.fontSize),i.i(l.F)(e,"fontFamily")&&(t.fontFamily=e.fontFamily),i.i(l.F)(e,"align")&&(t.textAlign=e.align),i.i(l.F)(e,"verticalAlign")&&(t.textVerticalAlign=e.verticalAlign),i.i(l.F)(e,"lineHeight")&&(t.textLineHeight=e.lineHeight),i.i(l.F)(e,"width")&&(t.textWidth=e.width),i.i(l.F)(e,"height")&&(t.textHeight=e.height),i.i(l.F)(e,"backgroundColor")&&(t.textBackgroundColor=e.backgroundColor),i.i(l.F)(e,"padding")&&(t.textPadding=e.padding),i.i(l.F)(e,"borderColor")&&(t.textBorderColor=e.borderColor),i.i(l.F)(e,"borderWidth")&&(t.textBorderWidth=e.borderWidth),i.i(l.F)(e,"borderRadius")&&(t.textBorderRadius=e.borderRadius),i.i(l.F)(e,"shadowColor")&&(t.textBoxShadowColor=e.shadowColor),i.i(l.F)(e,"shadowBlur")&&(t.textBoxShadowBlur=e.shadowBlur),i.i(l.F)(e,"shadowOffsetX")&&(t.textBoxShadowOffsetX=e.shadowOffsetX),i.i(l.F)(e,"shadowOffsetY")&&(t.textBoxShadowOffsetY=e.shadowOffsetY),i.i(l.F)(e,"textShadowColor")&&(t.textShadowColor=e.textShadowColor),i.i(l.F)(e,"textShadowBlur")&&(t.textShadowBlur=e.textShadowBlur),i.i(l.F)(e,"textShadowOffsetX")&&(t.textShadowOffsetX=e.textShadowOffsetX),i.i(l.F)(e,"textShadowOffsetY")&&(t.textShadowOffsetY=e.textShadowOffsetY))}e.a=n,e.b=r,e.c=o;var l=i(3)},710:function(t,e,i){"use strict";var n=i(3),r={get:function(t,e,i){var r=n.v((a[t]||{})[e]);return i&&n.j(r)?r[r.length-1]:r}},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]}};e.a=r},711:function(t,e,i){"use strict";function n(t,e,i,n,r){i=i||{};var a=[];u(t,"",t,e,i,n,a,r);var o=a.length,s=!1,l=i.done,c=i.aborted,h=function(){s=!0,--o<=0&&(s?l&&l():c&&c())},d=function(){--o<=0&&(s?l&&l():c&&c())};o||l&&l(),a.length>0&&i.during&&a[0].during(function(t,e){i.during(e)});for(var p=0;p0||a.force&&!c.length){var A=void 0,L=void 0,P=void 0;if(d){L={},m&&(A={});for(var T=0;T=0:n.inside,y=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),x=void 0,_=void 0,S=void 0;v&&this.canBeInsideText()?(x=n.insideFill,_=n.insideStroke,null!=x&&"auto"!==x||(x=this.getInsideTextFill()),null!=_&&"auto"!==_||(_=this.getInsideTextStroke(x),S=!0)):(x=n.outsideFill,_=n.outsideStroke,null!=x&&"auto"!==x||(x=this.getOutsideFill()),null!=_&&"auto"!==_||(_=this.getOutsideStroke(x),S=!0)),x=x||"#000",x===y.fill&&_===y.stroke&&S===y.autoStroke&&o===y.align&&s===y.verticalAlign||(l=!0,y.fill=x,y.stroke=_,y.autoStroke=S,y.align=o,y.verticalAlign=s,e.setDefaultTextStyle(y)),e.__dirty|=m.a,l&&e.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(t){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?v.c:v.a},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"==typeof e&&i.i(y.c)(e);n||(n=[255,255,255,1]);for(var r=n[3],a=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*r+(a?0:255)*(1-r);return n[3]=1,i.i(y.d)(n,"rgba")},t.prototype.traverse=function(t,e){},t.prototype.attrKV=function(t,e){"textConfig"===t?this.setTextConfig(e):"textContent"===t?this.setTextContent(e):"clipPath"===t?this.setClipPath(e):"extra"===t?(this.extra=this.extra||{},i.i(g.g)(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(t,e){if("string"==typeof t)this.attrKV(t,e);else if(i.i(g.i)(t))for(var n=t,r=i.i(g.b)(n),a=0;a0},t.prototype.getState=function(t){return this.states[t]},t.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},t.prototype.clearStates=function(t){this.useState("__zr_normal__",!1,t)},t.prototype.useState=function(t,e,n,r){var a="__zr_normal__"===t;if(this.hasState()||!a){var o=this.currentStates,s=this.stateTransition;if(!(i.i(g.f)(o,t)>=0)||!e&&1!==o.length){var l;if(this.stateProxy&&!a&&(l=this.stateProxy(t)),l||(l=this.states&&this.states[t]),!l&&!a)return void i.i(g.x)("State "+t+" not exists.");a||this.saveCurrentToNormalState(l);var u=!!(l&&l.hoverLayer||r);u&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,l,this._normalState,e,!n&&!this.__inHover&&s&&s.duration>0,s);var c=this._textContent,h=this._textGuide;return c&&c.useState(t,e,n,u),h&&h.useState(t,e,n,u),a?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!u&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~m.a),l}}},t.prototype.useStates=function(t,e,i){if(t.length){var n=[],r=this.currentStates,a=t.length,o=a===r.length;if(o)for(var s=0;s0,p);var f=this._textContent,g=this._textGuide;f&&f.useStates(t,e,h),g&&g.useStates(t,e,h),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!h&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~m.a)}else this.clearStates()},t.prototype._updateAnimationTargets=function(){for(var t=0;t=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},t.prototype.replaceState=function(t,e,n){var r=this.currentStates.slice(),a=i.i(g.f)(r,t),o=i.i(g.f)(r,e)>=0;a>=0?o?r.splice(a,1):r[a]=e:n&&!o&&r.push(e),this.useStates(r)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,n={},r=0;r=0&&e.splice(n,1)}),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var i=this.animators,n=i.length,r=[],a=0;a0?"dashed"===t?[4*e,2*e]:"dotted"===t?[e]:i.i(a.n)(t)?[t]:i.i(a.j)(t)?t:null:null}function r(t){var e=t.style,r=e.lineDash&&e.lineWidth>0&&n(e.lineDash,e.lineWidth),o=e.lineDashOffset;if(r){var s=e.strokeNoScale&&t.getLineScale?t.getLineScale():1;s&&1!==s&&(r=i.i(a.p)(r,function(t){return t/s}),o/=s)}return[r,o]}e.a=r;var a=i(3)},715:function(t,e,i){"use strict";function n(t,e,i,n,r,a,o){if(0===r)return!1;var s=r,l=0,u=t;if(o>e+s&&o>n+s||ot+s&&a>i+s||ae+h&&c>a+h&&c>s+h||ct+h&&u>n+h&&u>o+h||ue&&a>n||ar?s:0}e.a=n},720:function(t,e,i){"use strict";function n(t,e,i,n,a){return r(h,e,n,a,!0)&&r(t,i,h[0],h[1])}function r(t,e,i,n,r){if(e.getBoundingClientRect&&l.a.domSupported&&!s(e)){var u=e[c]||(e[c]={}),h=a(e,u),d=o(h,u,r);if(d)return d(t,i,n),!0}return!1}function a(t,e){var i=e.markers;if(i)return i;i=e.markers=[];for(var n=["left","right"],r=["top","bottom"],a=0;a<4;a++){var o=document.createElement("div"),s=o.style,l=a%2,u=(a>>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",n[l]+":0",r[u]+":0",n[1-l]+":auto",r[1-u]+":auto",""].join("!important;"),t.appendChild(o),i.push(o)}return i}function o(t,e,n){for(var r=n?"invTrans":"trans",a=e[r],o=e.srcCoords,s=[],l=[],c=!0,h=0;h<4;h++){var d=t[h].getBoundingClientRect(),p=2*h,f=d.left,g=d.top;s.push(f,g),c=c&&o&&f===o[p]&&g===o[p+1],l.push(t[h].offsetLeft,t[h].offsetTop)}return c&&a?a:(e.srcCoords=s,e[r]=n?i.i(u.a)(l,s):i.i(u.a)(s,l))}function s(t){return"CANVAS"===t.nodeName.toUpperCase()}e.c=n,e.b=r,e.a=s;var l=i(91),u=i(1119),c="___zrEVENTSAVED",h=[]},721:function(t,e,i){"use strict";function n(t){for(var e=0;t>=h;)e|=1&t,t>>=1;return t+e}function r(t,e,i,n){var r=e+1;if(r===i)return 1;if(n(t[r++],t[e])<0){for(;r=0;)r++;return r-e}function a(t,e,i){for(i--;e>>1,r(o,t[a])<0?l=a:s=a+1;var u=n-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=o}}function s(t,e,i,n,r,a){var o=0,s=0,l=1;if(a(t,e[i+r])>0){for(s=n-r;l0;)o=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),o+=r,l+=r}else{for(s=r+1;ls&&(l=s);var u=o;o=r-l,l=r-u}for(o++;o>>1);a(t,e[i+c])>0?o=c+1:l=c}return l}function l(t,e,i,n,r,a){var o=0,s=0,l=1;if(a(t,e[i+r])<0){for(s=r+1;ls&&(l=s);var u=o;o=r-l,l=r-u}else{for(s=n-r;l=0;)o=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),o+=r,l+=r}for(o++;o>>1);a(t,e[i+c])<0?l=c:o=c+1}return l}function u(t,e){function i(t,e){c[g]=t,h[g]=e,g+=1}function n(){for(;g>1;){var t=g-2;if(t>=1&&h[t-1]<=h[t]+h[t+1]||t>=2&&h[t-2]<=h[t]+h[t-1])h[t-1]h[t+1])break;a(t)}}function r(){for(;g>1;){var t=g-2;t>0&&h[t-1]=d||g>=d);if(y)break;m<0&&(m=0),m+=2}if(p=m,p<1&&(p=1),1===n){for(o=0;o=0;o--)t[g+o]=t[f+o];return void(t[h]=v[c])}for(var y=p;;){var m=0,x=0,_=!1;do{if(e(v[c],t[u])<0){if(t[h--]=t[u--],m++,x=0,0==--n){_=!0;break}}else if(t[h--]=v[c--],x++,m=0,1==--a){_=!0;break}}while((m|x)=0;o--)t[g+o]=t[f+o];if(0===n){_=!0;break}}if(t[h--]=v[c--],1==--a){_=!0;break}if(0!==(x=a-s(t[u],v,0,a,a-1,e))){for(h-=x,c-=x,a-=x,g=h+1,f=c+1,o=0;o=d||x>=d);if(_)break;y<0&&(y=0),y+=2}if(p=y,p<1&&(p=1),1===a){for(h-=n,u-=n,g=h+1,f=u+1,o=n-1;o>=0;o--)t[g+o]=t[f+o];t[h]=v[c]}else{if(0===a)throw new Error;for(f=h-(a-1),o=0;od&&(p=d),o(t,i,i+p,i+l,e),l=p}c.pushRun(i,l),c.mergeRuns(),s-=l,i+=l}while(0!==s);c.forceMergeRuns()}}e.a=c;var h=32,d=7},722:function(t,e,i){"use strict";var n=i(6),r=i(76),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="compound",e}return i.i(n.a)(e,t),e.prototype._updatePathDirty=function(){for(var t=this.shape.paths,e=this.shapeChanged(),i=0;i=s;u++)l-=s;var c=i.i(g.e)(n,e);return c>l&&(n="",c=0),l=t-c,a.ellipsis=n,a.ellipsisWidth=c,a.contentWidth=l,a.containerWidth=t,a}function a(t,e){var n=e.containerWidth,r=e.font,a=e.contentWidth;if(!n)return"";var s=i.i(g.e)(t,r);if(s<=n)return t;for(var l=0;;l++){if(s<=a||l>=e.maxIterations){t+=e.ellipsis;break}var u=0===l?o(t,a,e.ascCharWidth,e.cnCharWidth):s>0?Math.floor(t.length*a/s):0;t=t.substr(0,u),s=i.i(g.e)(t,r)}return""===t&&(t=e.placeholder),t}function o(t,e,i,n){for(var r=0,a=0,o=t.length;ax&&v){var _=Math.floor(x/h);n=n.slice(0,_)}if(t&&u&&null!=y)for(var b=r(y,l,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),w=0;wd&&u(a,t.substring(d,y),e,h),u(a,o[2],e,h,o[1]),d=v.lastIndex}dl){D>0?(T.tokens=T.tokens.slice(0,D),r(T,k,C),a.lines=a.lines.slice(0,I+1)):a.lines=a.lines.slice(0,I);break t}var E=L.width,z=null==E||"auto"===E;if("string"==typeof E&&"%"===E.charAt(E.length-1))A.percentWidth=E,m.push(A),A.contentWidth=i.i(g.e)(A.text,R);else{if(z){var B=L.backgroundColor,F=B&&B.image;F&&(F=p.a(F),p.b(F)&&(A.width=Math.max(A.width,F.width*N/F.height)))}var V=S&&null!=s?s-k:null;null!=V&&V0&&x+r.accumWidth>r.width&&(o=e.split("\n"),p=!0),r.accumWidth=x}else{var _=d(e,h,r.width,r.breakAll,r.accumWidth);r.accumWidth=_.accumWidth+v,s=_.linesWidths,o=_.lines}}else o=e.split("\n");for(var b=0;b=33&&e<=383}function h(t){return!c(t)||!!_[t]}function d(t,e,n,r,a){for(var o=[],s=[],l="",u="",c=0,d=0,p=0;pn:a+d+v>n)?d?(l||u)&&(y?(l||(l=u,u="",c=0,d=c),o.push(l),s.push(d-c),u+=f,c+=v,l="",d=c):(u&&(l+=u,u="",c=0),o.push(l),s.push(d),l=f,d=v)):y?(o.push(u),s.push(c),u=f,c=v):(o.push(f),s.push(v)):(d+=v,y?(u+=f,c+=v):(u&&(l+=u,u="",c=0),l+=f))}else u&&(l+=u,d+=c),o.push(l),s.push(d),l="",u="",c=0,d=0}return o.length||l||(l=t,u="",c=0),u&&(l+=u),l&&(o.push(l),s.push(d)),1===o.length&&(d+=a),{accumWidth:d,lines:o,linesWidths:s}}e.a=s,e.b=l;var p=i(625),f=i(3),g=i(145),v=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,y=function(){function t(){}return t}(),m=function(){function t(t){this.tokens=[],t&&(this.tokens=t)}return t}(),x=function(){function t(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]}return t}(),_=i.i(f.q)(",&?/;] ".split(""),function(t,e){return t[e]=!0,t},{})},726:function(t,e,i){"use strict";function n(t,e,n){var a=e.smooth,o=e.points;if(o&&o.length>=2){if(a){var s=i.i(r.a)(o,a,n,e.smoothConstraint);t.moveTo(o[0][0],o[0][1]);for(var l=o.length,u=0;u<(n?l:l-1);u++){var c=s[2*u],h=s[2*u+1],d=o[(u+1)%l];t.bezierCurveTo(c[0],c[1],h[0],h[1],d[0],d[1])}}else{t.moveTo(o[0][0],o[0][1]);for(var u=1,p=o.length;u=0;u--)s=a.G(s,n[u],!0);e.defaultOption=s}return e.defaultOption},e.prototype.getReferringComponents=function(t,e){var n=t+"Index",r=t+"Id";return i.i(u.h)(this.ecModel,t,{index:this.get(n,!0),id:this.get(r,!0)},e)},e.prototype.getBoxLayoutParams=function(){var t=this;return{left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")}},e.prototype.getZLevelKey=function(){return""},e.prototype.setZLevel=function(t){this.option.zlevel=t},e.protoInitialize=function(){var t=e.prototype;t.type="component",t.id="",t.name="",t.mainType="",t.subType="",t.componentIndex=0}(),e}(o.a);i.i(l.a)(d,o.a),i.i(l.e)(d),s.b(d),s.c(d,n),e.a=d},730:function(t,e,i){"use strict";var n=i(6),r=i(76),a=i(726),o=function(){function t(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}return t}(),s=function(t){function e(e){return t.call(this,e)||this}return i.i(n.a)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){a.a(t,e,!1)},e}(r.a);s.prototype.type="polyline",e.a=s},731:function(t,e,i){"use strict";var n=i(6),r=i(76),a=i(1123),o=function(){function t(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0}return t}(),s=function(t){function e(e){return t.call(this,e)||this}return i.i(n.a)(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){a.a(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(r.a);s.prototype.type="sector",e.a=s},732:function(t,e,i){"use strict";var n=i(490),r=Math.sin,a=Math.cos,o=Math.PI,s=2*Math.PI,l=180/o,u=function(){function t(){}return t.prototype.reset=function(t){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,t||4)},t.prototype.moveTo=function(t,e){this._add("M",t,e)},t.prototype.lineTo=function(t,e){this._add("L",t,e)},t.prototype.bezierCurveTo=function(t,e,i,n,r,a){this._add("C",t,e,i,n,r,a)},t.prototype.quadraticCurveTo=function(t,e,i,n){this._add("Q",t,e,i,n)},t.prototype.arc=function(t,e,i,n,r,a){this.ellipse(t,e,i,i,0,n,r,a)},t.prototype.ellipse=function(t,e,u,c,h,d,p,f){var g=p-d,v=!f,y=Math.abs(g),m=i.i(n.g)(y-s)||(v?g>=s:-g>=s),x=g>0?g%s:g%s+s,_=!1;_=!!m||!i.i(n.g)(y)&&x>=o==!!v;var b=t+u*a(d),w=e+c*r(d);this._start&&this._add("M",b,w);var S=Math.round(h*l);if(m){var M=1/this._p,I=(v?1:-1)*(s-M);this._add("A",u,c,S,1,+v,t+u*a(d+I),e+c*r(d+I)),M>.01&&this._add("A",u,c,S,0,+v,b,w)}else{var T=t+u*a(p),C=e+c*r(p);this._add("A",u,c,S,+_,+v,T,C)}},t.prototype.rect=function(t,e,i,n){this._add("M",t,e),this._add("l",i,0),this._add("l",0,n),this._add("l",-i,0),this._add("Z")},t.prototype.closePath=function(){this._d.length>0&&this._add("Z")},t.prototype._add=function(t,e,i,n,r,a,o,s,l){for(var u=[],c=this._p,h=1;h2&&d.push(r),r=[t,e]}function i(t,e,i,a){n(t,i)&&n(e,a)||r.push(t,e,i,a,i,a)}for(var r,a,o,s,l,c=t.data,h=t.len(),d=[],p=0,f=0,g=0,v=0,y=0;yI:k2&&d.push(r),d}function a(t,e,r,o,l,u,c,h,d,p){if(n(t,r)&&n(e,o)&&n(l,c)&&n(u,h))return void d.push(c,h);var f=2/p,g=f*f,v=c-t,y=h-e,m=Math.sqrt(v*v+y*y);v/=m,y/=m;var x=r-t,_=o-e,b=l-c,w=u-h,S=x*x+_*_,M=b*b+w*w;if(S=0&&k=0)return void d.push(c,h);var D=[],A=[];i.i(s.k)(t,r,l,c,.5,D),i.i(s.k)(e,o,u,h,.5,A),a(D[0],A[0],D[1],A[1],D[2],A[2],D[3],A[3],d,p),a(D[4],A[4],D[5],A[5],D[6],A[6],D[7],A[7],d,p)}function o(t,e){var i=r(t),n=[];e=e||1;for(var o=0;o-1)if(""!=t[n]){this.$refs.ljTabsQuick.fnResetTabs(n);var a=$lj.getUserFilterTitle(this.apiName);console.log("删除前 keywordObjTitle :>>>>>>>>>>>>>>>>>>>>>",r()(a)),a.hasOwnProperty(n)&&(a[n]="",$lj.setUserFilterTitle(this.apiName,a),console.log("删除后 keywordObjTitle :>>>>>>>>>>>>>>>>>>>>>",r()(a)))}else this.currentRequestBody[n]&&i[n]==this.currentRequestBody[n]&&(t[n]=this.currentRequestBody[n])}return console.log("赋值后 item :>>>>>>>>>>>>>>>>>>>>>",r()(t)),t},initSearched:function(){var t=$lj.getUserFilterParams(this.apiName),e=$lj.getUserFilterTitle(this.apiName);console.log("initSearched keywordObj :>>>>>>>>>>>>>>>>>>>>>",r()(t)),console.log("initSearched keywordObjTitle :>>>>>>>>>>>>>>>>>>>>>",r()(e)),this.queryParams=t,this.innerFieldHandler&&this.innerFieldHandler(t,e),this.refresh(t)},_fnSetSearchedForTabsFiltrate:function(t,e){if(console.log("this.$refs.ljTabsQuick :>>>>>>>>>>>>>>>>>>>>>",this.$refs.ljTabsQuick),"{}"==r()(t)){for(var i=0;i>>>>>>>>>>>>>>>>>>>>",r()(t))}this.$refs.ljTabsQuick&&this.$refs.ljTabsQuick.initSearched(t,e)},_autoResetStatus:function(){},fnRefreshed:function(){this.refreshing=!1},refresh:function(t){this.resetStateHandler(),this.refreshing=!0,console.log("组件的onRefresh this.refreshing :>>>>>>>>>>>>>>>>>>>>>",r()(this.refreshing)),this.$emit("refresh",t)},handleFilterConfirm:function(t,e){console.log("handleFilterConfirm item :>>>>>>>>>>>>>>>>>>>>>",r()(t)),console.log("handleFilterConfirm titles :>>>>>>>>>>>>>>>>>>>>>",r()(e)),$lj.setUserFilterParams(this.apiName,t),void 0!=e&&$lj.setUserFilterTitle(this.apiName,e),this.queryParams=t,this.refresh(t)},openRightDrawer:function(){this.$refs.baseWin.openRightDrawer()},handleQuerySubmit:function(t){this.queryParams=t,this.$refs.baseWin.closeRightDrawer(),this.refresh()},handleClickDateSelect:function(){var t=this;$lj.removeEventListener("rp_date_select"),$lj.addEventListener("rp_date_select",function(e){if(e.value){if(t.beforeDateTemp=e.value.begindate,t.afterDateTemp=e.value.enddate,t.habitKey){var i=$lj.getStorage("reportHabit");i[t.habitKey]={beforeDate:t.beforeDateTemp,afterDate:t.afterDateTemp},$lj.setStorage("reportHabit",i)}t.refresh()}}),$lj.openWin("rp-date-select",{begindate:this.beforeDateTemp,enddate:this.afterDateTemp,mode:this.showday})},showThisYear:function(){var t=new Date,e={};if(e.beforeDate=t.getFullYear()+"-1-1",e.afterDate=t.getFullYear()+"-12-31",e.beforeDate=$lj.dateformat(e.beforeDate,"yyyy-MM"),e.afterDate=$lj.dateformat(e.afterDate,"yyyy-MM"),this.beforeDateTemp=e.beforeDate,this.afterDateTemp=e.afterDate,this.habitKey){var i=$lj.getStorage("reportHabit");i[this.habitKey]={beforeDate:this.beforeDateTemp,afterDate:this.afterDateTemp},$lj.setStorage("reportHabit",i)}this.refresh()},showLastYear:function(){var t=new Date,e={};if(e.beforeDate=t.getFullYear()-1+"-1-1",e.afterDate=t.getFullYear()-1+"-12-31",e.beforeDate=$lj.dateformat(e.beforeDate,"yyyy-MM"),e.afterDate=$lj.dateformat(e.afterDate,"yyyy-MM"),this.beforeDateTemp=e.beforeDate,this.afterDateTemp=e.afterDate,this.habitKey){var i=$lj.getStorage("reportHabit");i[this.habitKey]={beforeDate:this.beforeDateTemp,afterDate:this.afterDateTemp},$lj.setStorage("reportHabit",i)}this.refresh()},showThisMonth:function(){var t=new Date,e={},i=t.getMonth(),n=(t.getMonth(),t.getFullYear());if(e.beforeDate=new Date(n,i,1),e.afterDate=new Date(n,i+1,0),e.beforeDate=$lj.dateformat(e.beforeDate,"yyyy-MM-dd"),e.afterDate=$lj.dateformat(e.afterDate,"yyyy-MM-dd"),this.beforeDateTemp=e.beforeDate,this.afterDateTemp=e.afterDate,this.habitKey){var r=$lj.getStorage("reportHabit");r[this.habitKey]={beforeDate:this.beforeDateTemp,afterDate:this.afterDateTemp},$lj.setStorage("reportHabit",r)}this.refresh()},showLastMonth:function(){var t=new Date,e={},i=(t.getMonth(),t.getMonth()-1),n=t.getFullYear();if(e.beforeDate=new Date(n,i,1),e.afterDate=new Date(n,i+1,0),e.beforeDate=$lj.dateformat(e.beforeDate,"yyyy-MM-dd"),e.afterDate=$lj.dateformat(e.afterDate,"yyyy-MM-dd"),this.beforeDateTemp=e.beforeDate,this.afterDateTemp=e.afterDate,this.habitKey){var r=$lj.getStorage("reportHabit");r[this.habitKey]={beforeDate:this.beforeDateTemp,afterDate:this.afterDateTemp},$lj.setStorage("reportHabit",r)}this.refresh()}},computed:{showFilter:function(){return this.queryFields&&this.queryFields.length>0},colortop:function(){return{kindred:1==this.rpmxtype,kindblue:2==this.rpmxtype,kindgreen:3==this.rpmxtype,kindpurple:4==this.rpmxtype,kindgold:5==this.rpmxtype,kindcyan:6==this.rpmxtype}},colortitle:function(){return{bgred:1==this.rpmxtype,bgblue:2==this.rpmxtype,bggreen:3==this.rpmxtype,bgpurple:4==this.rpmxtype,bggold:5==this.rpmxtype,bgcyan:6==this.rpmxtype}}}}},74:function(t,e,i){"use strict";var n=i(139),r=i(554),a=Math.min,o=Math.max,s=new r.a,l=new r.a,u=new r.a,c=new r.a,h=new r.a,d=new r.a,p=function(){function t(t,e,i,n){i<0&&(t+=i,i=-i),n<0&&(e+=n,n=-n),this.x=t,this.y=e,this.width=i,this.height=n}return t.prototype.union=function(t){var e=a(t.x,this.x),i=a(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=o(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=o(t.y+t.height,this.y+this.height)-i:this.height=t.height,this.x=e,this.y=i},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){var e=this,i=t.width/e.width,r=t.height/e.height,a=n.a();return n.b(a,a,[-e.x,-e.y]),n.c(a,a,[i,r]),n.b(a,a,[t.x,t.y]),a},t.prototype.intersect=function(e,i){if(!e)return!1;e instanceof t||(e=t.create(e));var n=this,a=n.x,o=n.x+n.width,s=n.y,l=n.y+n.height,u=e.x,c=e.x+e.width,p=e.y,f=e.y+e.height,g=!(oy&&(y=w,my&&(y=S,_=i.x&&t<=i.x+i.width&&e>=i.y&&e<=i.y+i.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},t.applyTransform=function(e,i,n){if(!n)return void(e!==i&&t.copy(e,i));if(n[1]<1e-5&&n[1]>-1e-5&&n[2]<1e-5&&n[2]>-1e-5){var r=n[0],h=n[3],d=n[4],p=n[5];return e.x=i.x*r+d,e.y=i.y*h+p,e.width=i.width*r,e.height=i.height*h,e.width<0&&(e.x+=e.width,e.width=-e.width),void(e.height<0&&(e.y+=e.height,e.height=-e.height))}s.x=u.x=i.x,s.y=c.y=i.y,l.x=c.x=i.x+i.width,l.y=u.y=i.y+i.height,s.transform(n),c.transform(n),l.transform(n),u.transform(n),e.x=a(s.x,l.x,u.x,c.x),e.y=a(s.y,l.y,u.y,c.y);var f=o(s.x,l.x,u.x,c.x),g=o(s.y,l.y,u.y,c.y);e.width=f-e.x,e.height=g-e.y},t}();e.a=p},740:function(t,e,i){e=t.exports=i(1)(),e.push([t.i,".background-color{background-color:#fff!important}.header-sub{padding-top:5px}.body>.van-overlay{z-index:99!important}.body>.van-popover{width:-moz-calc(100% - 20px);width:-webkit-calc(100% - 20px);width:calc(100% - 20px);left:10px!important;right:10px!important}.body>.van-popover .van-popover__action{width:100%}.body .van-popover__arrow{display:none}.reportcom-header-wap{width:100%;height:150px;overflow:hidden}.reportcom-header{width:120%;height:115px;background-color:#fd9153;border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:50%;border-bottom-left-radius:50%;position:relative;left:-10%;padding:10px 0;margin-bottom:10px;z-index:9998}.reportcom-header-sub{width:130%;background-color:#ffba92;top:-120px;left:-23%;z-index:9997}.reportcom-header-sub,.reportcom-header-sub-two{height:125px;border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:50%;border-bottom-left-radius:50%;position:relative;padding:10px 0;margin-bottom:10px}.reportcom-header-sub-two{width:140%;background-color:#fddecc;top:-240px;left:-35%;z-index:9996}.reportcom-header-title{color:#fff;font-size:20px;margin-left:10%}.reportdetail_mx_title{color:#fff;font-size:15px;font-weight:700;padding:3px 8px;margin-left:20px;border-bottom-left-radius:8px;border-bottom-right-radius:8px}.reportdetail_mx_subtitle{position:absolute;right:10px;padding:3px;font-size:15px;font-weight:700;line-height:20px;color:grey;margin-top:3px}.rpdate_ch{margin-left:10px;padding:8px 15px;color:#fff;font-size:12px;background-color:#6495ed;border-radius:10px}.kindblue{border-top:8px solid #0195da}.kindgreen{border-top:8px solid #88b04b}.kindred{border-top:8px solid #ff6f61}.kindpurple{border-top:8px solid #ba68c8}.kindgold{border-top:8px solid gold}.kindcyan{border-top:8px solid #40e0d0}.bgblue{background-color:#0195da}.bggreen{background-color:#88b04b}.bgred{background-color:#ff6f61}.bgpurple{background-color:#ba68c8}.bggold{background-color:gold}.bgcyan{background-color:#40e0d0}.rpdate{padding:15px 8px;width:100%;background-color:#f6f6f6}",""])},75:function(t,e,i){"use strict";function n(t,e){return null==t&&(t=0),null==e&&(e=0),[t,e]}function r(t,e){return t[0]=e[0],t[1]=e[1],t}function a(t){return[t[0],t[1]]}function o(t,e,i){return t[0]=e,t[1]=i,t}function s(t,e,i){return t[0]=e[0]+i[0],t[1]=e[1]+i[1],t}function l(t,e,i,n){return t[0]=e[0]+i[0]*n,t[1]=e[1]+i[1]*n,t}function u(t,e,i){return t[0]=e[0]-i[0],t[1]=e[1]-i[1],t}function c(t){return Math.sqrt(h(t))}function h(t){return t[0]*t[0]+t[1]*t[1]}function d(t,e,i){return t[0]=e[0]*i,t[1]=e[1]*i,t}function p(t,e){var i=c(e);return 0===i?(t[0]=0,t[1]=0):(t[0]=e[0]/i,t[1]=e[1]/i),t}function f(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}function g(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}function v(t,e,i,n){return t[0]=e[0]+n*(i[0]-e[0]),t[1]=e[1]+n*(i[1]-e[1]),t}function y(t,e,i){var n=e[0],r=e[1];return t[0]=i[0]*n+i[2]*r+i[4],t[1]=i[1]*n+i[3]*r+i[5],t}function m(t,e,i){return t[0]=Math.min(e[0],i[0]),t[1]=Math.min(e[1],i[1]),t}function x(t,e,i){return t[0]=Math.max(e[0],i[0]),t[1]=Math.max(e[1],i[1]),t}e.a=n,e.n=r,e.g=a,e.q=o,e.k=s,e.o=l,e.h=u,e.p=c,e.i=d,e.f=p,e.j=f,i.d(e,"l",function(){return _}),i.d(e,"b",function(){return b}),e.m=v,e.e=y,e.c=m,e.d=x;var _=f,b=g},756:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("lj-win-common",{ref:"baseWin",attrs:{title:t.title,closeWinHandler:t.closeWinHandler,"right-drawer-title":"搜索",rightDrawerInitOpen:t.rightDrawerInitOpen,hideHeaderSub:t.hideHeaderSub},on:{"fix-body":t.fixbody}},[i("template",{slot:"header_title"},[t._t("header_title")],2),t._v(" "),i("template",{slot:"header_right"},[t._t("header_right")],2),t._v(" "),t.hideHeaderSub?t._e():t._t("header_sub",[i("lj-tabs-quick",{ref:"ljTabsQuick",attrs:{apiName:t.apiName,"query-fields":t.queryQuick},on:{confirm:t.handleFilterConfirm},scopedSlots:t._u([{key:"right",fn:function(e){return[t._t("tabs-right")]}}],null,!0)})],{slot:"header_sub"}),t._v(" "),i("div",{ref:"bodyref",staticClass:"body",attrs:{slot:"body"},slot:"body"},[i("van-pull-refresh",{staticClass:"pull-refresh",style:{"min-height":"100vh"},on:{refresh:function(e){return t.refresh(t.queryParams)}},model:{value:t.refreshing,callback:function(e){t.refreshing=e},expression:"refreshing"}},[t._t("content",null,{loading:t.refreshing})],2)],1),t._v(" "),i("template",{slot:"footer"},[t._t("rp_footer")],2)],2)},staticRenderFns:[]}},758:function(t,e,i){var n=i(740);"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);i(2)("75b605c4",n,!0)},76:function(t,e,i){"use strict";i.d(e,"b",function(){return d});var n=i(6),r=i(167),a=i(224),o=i(1115),s=i(3),l=i(160),u=i(488),c=i(346),h=i(296),d=i.i(s.t)({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},r.a),p={style:i.i(s.t)({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},r.b.style)},f=h.b.concat(["invisible","culling","z","z2","zlevel","parent"]),g=function(t){function e(e){return t.call(this,e)||this}return i.i(n.a)(e,t),e.prototype.update=function(){var i=this;t.prototype.update.call(this);var n=this.style;if(n.decal){var r=this._decalEl=this._decalEl||new e;r.buildPath===e.prototype.buildPath&&(r.buildPath=function(t){i.buildPath(t,i.shape)}),r.silent=!0;var a=r.style;for(var o in n)a[o]!==n[o]&&(a[o]=n[o]);a.fill=n.fill?n.decal:null,a.decal=null,a.shadowColor=null,n.strokeFirst&&(a.stroke=null);for(var s=0;s.5?u.a:e>.2?u.b:u.c}if(t)return u.c}return u.a},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(i.i(s.m)(e)){var n=this.__zr;if(!(!n||!n.isDarkMode())===i.i(l.b)(t,0)0))},e.prototype.hasFill=function(){var t=this.style,e=t.fill;return null!=e&&"none"!==e},e.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,i=!t;if(i){var n=!1;this.path||(n=!0,this.createPathProxy());var r=this.path;(n||this.__dirty&c.b)&&(r.beginPath(),this.buildPath(r,this.shape,!1),this.pathUpdated()),t=r.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var a=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||i){a.copy(t);var o=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}o>1e-10&&(a.width+=s/o,a.height+=s/o,a.x-=s/o/2,a.y-=s/o/2)}return a}return t},e.prototype.contain=function(t,e){var i=this.transformCoordToLocal(t,e),n=this.getBoundingRect(),r=this.style;if(t=i[0],e=i[1],n.contain(t,e)){var a=this.path;if(this.hasStroke()){var s=r.lineWidth,l=r.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(this.hasFill()||(s=Math.max(s,this.strokeContainThreshold)),o.a(a,s/l,t,e)))return!0}if(this.hasFill())return o.b(a,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=c.b,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(t){return this.animate("shape",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(e,i){"shape"===e?this.setShape(i):t.prototype.attrKV.call(this,e,i)},e.prototype.setShape=function(t,e){var n=this.shape;return n||(n=this.shape={}),"string"==typeof t?n[t]=e:i.i(s.g)(n,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(this.__dirty&c.b)},e.prototype.createStyle=function(t){return i.i(s.u)(d,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=i.i(s.g)({},this.shape))},e.prototype._applyStateObj=function(e,n,r,a,o,l){t.prototype._applyStateObj.call(this,e,n,r,a,o,l);var u,c=!(n&&a);if(n&&n.shape?o?a?u=n.shape:(u=i.i(s.g)({},r.shape),i.i(s.g)(u,n.shape)):(u=i.i(s.g)({},a?this.shape:r.shape),i.i(s.g)(u,n.shape)):c&&(u=r.shape),u)if(o){this.shape=i.i(s.g)({},this.shape);for(var h={},d=i.i(s.b)(u),p=0;pe.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function u(t,e){p.d(p.H(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),function(i){t.wrapMethod(i,p.I(c,e))})}function c(t,e){var i=h(t);return i&&i.setOutputEnd((e||this).count()),e}function h(t){var e=(t.ecModel||{}).scheduler,i=e&&e.getPipeline(t.uid);if(i){var n=i.currentTask;if(n){var r=n.agentStubMap;r&&(n=r.get(t.uid))}return n}}i.d(e,"a",function(){return I});var d=i(6),p=i(3),f=i(91),g=i(13),v=i(73),y=i(547),m=i(546),x=i(69),_=i(611),b=i(262),w=i(698),S=i(681),M=g.a(),I="__universalTransitionEnabled",T=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return i.i(d.a)(e,t),e.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=i.i(_.a)({count:o,reset:s}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),(M(this).sourceManager=new w.a(this)).prepareSource();var a=this.getInitialData(t,n);u(a,this),this.dataTask.context.data=a,M(this).dataBeforeProcessed=a,r(this),this._initSelectedMapFromData(a)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=i.i(x.a)(this),r=n?i.i(x.b)(t):{},a=this.subType;v.a.hasClass(a)&&(a+="Series"),p.G(t,e.getTheme().get(this.subType)),p.G(t,this.getDefaultOption()),g.e(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&i.i(x.c)(t,r,n)},e.prototype.mergeOption=function(t,e){t=p.G(this.option,t,!0),this.fillDataTextStyle(t.data);var n=i.i(x.a)(this);n&&i.i(x.c)(this.option,t,n);var a=M(this).sourceManager;a.dirty(),a.prepareSource();var o=this.getInitialData(t,e);u(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,M(this).dataBeforeProcessed=o,r(this),this._initSelectedMapFromData(o)},e.prototype.fillDataTextStyle=function(t){if(t&&!p.z(t))for(var e=["show"],i=0;ithis.getShallow("animationThreshold")&&(e=!1),!!e},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(t,e,i){var n=this.ecModel,r=y.a.prototype.getColorFromPalette.call(this,t,e,i);return r||(r=n.getColorFromPalette(t,e,i)),r},e.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},e.prototype.getProgressive=function(){return this.get("progressive")},e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},e.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},e.prototype.unselect=function(t,e){var i=this.option.selectedMap;if(i){var r=this.option.selectedMode,a=this.getData(e);if("series"===r||"all"===i)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var o=0;o=0&&i.push(r)}return i},e.prototype.isSelected=function(t,e){var i=this.option.selectedMap;if(!i)return!1;var r=this.getData(e);return("all"===i||i[n(r,t)])&&!r.getItemModel(t).get(["select","disabled"])},e.prototype.isUniversalTransitionEnabled=function(){if(this[I])return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},e.prototype._innerSelect=function(t,e){var i,r,a=this.option,o=a.selectedMode,s=e.length;if(o&&s)if("series"===o)a.selectedMap="all";else if("multiple"===o){p.i(a.selectedMap)||(a.selectedMap={});for(var l=a.selectedMap,u=0;u0&&this._innerSelect(t,e)}},e.registerClass=function(t){return v.a.registerClass(t)},e.protoInitialize=function(){var t=e.prototype;t.type="series.__base__",t.seriesIndex=0,t.ignoreStyleOnData=!1,t.hasSymbolVisual=!1,t.defaultSymbol="circle",t.visualStyleAccessPath="itemStyle",t.visualDrawType="fill"}(),e}(v.a);p.y(T,m.a),p.y(T,y.a),i.i(b.a)(T,v.a),e.b=T},792:function(t,e,i){"use strict";function n(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var i=t.indexOf("=");return-1===i&&(i=e),[i,i===e?0:4-i%4]}function r(t){var e=n(t),i=e[0],r=e[1];return 3*(i+r)/4-r}function a(t,e,i){return 3*(e+i)/4-i}function o(t){for(var e,i=n(t),r=i[0],o=i[1],s=new d(a(t,r,o)),l=0,u=o>0?r-4:r,c=0;c>16&255,s[l++]=e>>8&255,s[l++]=255&e;return 2===o&&(e=h[t.charCodeAt(c)]<<2|h[t.charCodeAt(c+1)]>>4,s[l++]=255&e),1===o&&(e=h[t.charCodeAt(c)]<<10|h[t.charCodeAt(c+1)]<<4|h[t.charCodeAt(c+2)]>>2,s[l++]=e>>8&255,s[l++]=255&e),s}function s(t){return c[t>>18&63]+c[t>>12&63]+c[t>>6&63]+c[63&t]}function l(t,e,i){for(var n,r=[],a=e;ao?o:a+16383));return 1===n?(e=t[i-1],r.push(c[e>>2]+c[e<<4&63]+"==")):2===n&&(e=(t[i-2]<<8)+t[i-1],r.push(c[e>>10]+c[e>>4&63]+c[e<<2&63]+"=")),r.join("")}e.byteLength=r,e.toByteArray=o,e.fromByteArray=u;for(var c=[],h=[],d="undefined"!=typeof Uint8Array?Uint8Array:Array,p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",f=0,g=p.length;f=n())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+n().toString(16)+" bytes");return 0|t}function g(t){return+t!=t&&(t=0),a.alloc(+t)}function v(t,e){if(a.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var i=t.length;if(0===i)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":case void 0:return H(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return q(t).length;default:if(n)return H(t).length;e=(""+e).toLowerCase(),n=!0}}function y(t,e,i){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===i||i>this.length)&&(i=this.length),i<=0)return"";if(i>>>=0,e>>>=0,i<=e)return"";for(t||(t="utf8");;)switch(t){case"hex":return P(this,e,i);case"utf8":case"utf-8":return k(this,e,i);case"ascii":return A(this,e,i);case"latin1":case"binary":return L(this,e,i);case"base64":return C(this,e,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,e,i);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function m(t,e,i){var n=t[e];t[e]=t[i],t[i]=n}function x(t,e,i,n,r){if(0===t.length)return-1;if("string"==typeof i?(n=i,i=0):i>2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),i=+i,isNaN(i)&&(i=r?0:t.length-1),i<0&&(i=t.length+i),i>=t.length){if(r)return-1;i=t.length-1}else if(i<0){if(!r)return-1;i=0}if("string"==typeof e&&(e=a.from(e,n)),a.isBuffer(e))return 0===e.length?-1:_(t,e,i,n,r);if("number"==typeof e)return e&=255,a.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(t,e,i):Uint8Array.prototype.lastIndexOf.call(t,e,i):_(t,[e],i,n,r);throw new TypeError("val must be string, number or Buffer")}function _(t,e,i,n,r){function a(t,e){return 1===o?t[e]:t.readUInt16BE(e*o)}var o=1,s=t.length,l=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;o=2,s/=2,l/=2,i/=2}var u;if(r){var c=-1;for(u=i;us&&(i=s-l),u=i;u>=0;u--){for(var h=!0,d=0;dr&&(n=r):n=r;var a=e.length;if(a%2!=0)throw new TypeError("Invalid hex string");n>a/2&&(n=a/2);for(var o=0;o239?4:a>223?3:a>191?2:1;if(r+s<=i){var l,u,c,h;switch(s){case 1:a<128&&(o=a);break;case 2:l=t[r+1],128==(192&l)&&(h=(31&a)<<6|63&l)>127&&(o=h);break;case 3:l=t[r+1],u=t[r+2],128==(192&l)&&128==(192&u)&&(h=(15&a)<<12|(63&l)<<6|63&u)>2047&&(h<55296||h>57343)&&(o=h);break;case 4:l=t[r+1],u=t[r+2],c=t[r+3],128==(192&l)&&128==(192&u)&&128==(192&c)&&(h=(15&a)<<18|(63&l)<<12|(63&u)<<6|63&c)>65535&&h<1114112&&(o=h)}}null===o?(o=65533,s=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|1023&o),n.push(o),r+=s}return D(n)}function D(t){var e=t.length;if(e<=J)return String.fromCharCode.apply(String,t);for(var i="",n=0;nn)&&(i=n);for(var r="",a=e;ai)throw new RangeError("Trying to access beyond buffer length")}function N(t,e,i,n,r,o){if(!a.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||et.length)throw new RangeError("Index out of range")}function E(t,e,i,n){e<0&&(e=65535+e+1);for(var r=0,a=Math.min(t.length-i,2);r>>8*(n?r:1-r)}function z(t,e,i,n){e<0&&(e=4294967295+e+1);for(var r=0,a=Math.min(t.length-i,4);r>>8*(n?r:3-r)&255}function B(t,e,i,n,r,a){if(i+n>t.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("Index out of range")}function F(t,e,i,n,r){return r||B(t,e,i,4,3.4028234663852886e38,-3.4028234663852886e38),K.write(t,e,i,n,23,4),i+4}function V(t,e,i,n,r){return r||B(t,e,i,8,1.7976931348623157e308,-1.7976931348623157e308),K.write(t,e,i,n,52,8),i+8}function j(t){if(t=G(t).replace(tt,""),t.length<2)return"";for(;t.length%4!=0;)t+="=";return t}function G(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function W(t){return t<16?"0"+t.toString(16):t.toString(16)}function H(t,e){e=e||1/0;for(var i,n=t.length,r=null,a=[],o=0;o55295&&i<57344){if(!r){if(i>56319){(e-=3)>-1&&a.push(239,191,189);continue}if(o+1===n){(e-=3)>-1&&a.push(239,191,189);continue}r=i;continue}if(i<56320){(e-=3)>-1&&a.push(239,191,189),r=i;continue}i=65536+(r-55296<<10|i-56320)}else r&&(e-=3)>-1&&a.push(239,191,189);if(r=null,i<128){if((e-=1)<0)break;a.push(i)}else if(i<2048){if((e-=2)<0)break;a.push(i>>6|192,63&i|128)}else if(i<65536){if((e-=3)<0)break;a.push(i>>12|224,i>>6&63|128,63&i|128)}else{if(!(i<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;a.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}}return a}function Y(t){for(var e=[],i=0;i>8,r=i%256,a.push(r),a.push(n);return a}function q(t){return $.toByteArray(j(t))}function X(t,e,i,n){for(var r=0;r=e.length||r>=t.length);++r)e[r+i]=t[r];return r}function Z(t){return t!==t}/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */ var $=i(792),K=i(1093),Q=i(1094);e.Buffer=a,e.SlowBuffer=g,e.INSPECT_MAX_BYTES=50,a.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),e.kMaxLength=n(),a.poolSize=8192,a._augment=function(t){return t.__proto__=a.prototype,t},a.from=function(t,e,i){return o(null,t,e,i)},a.TYPED_ARRAY_SUPPORT&&(a.prototype.__proto__=Uint8Array.prototype,a.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&a[Symbol.species]===a&&Object.defineProperty(a,Symbol.species,{value:null,configurable:!0})),a.alloc=function(t,e,i){return l(null,t,e,i)},a.allocUnsafe=function(t){return u(null,t)},a.allocUnsafeSlow=function(t){return u(null,t)},a.isBuffer=function(t){return!(null==t||!t._isBuffer)},a.compare=function(t,e){if(!a.isBuffer(t)||!a.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var i=t.length,n=e.length,r=0,o=Math.min(i,n);r0&&(t=this.toString("hex",0,i).match(/.{2}/g).join(" "),this.length>i&&(t+=" ... ")),""},a.prototype.compare=function(t,e,i,n,r){if(!a.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===i&&(i=t?t.length:0),void 0===n&&(n=0),void 0===r&&(r=this.length),e<0||i>t.length||n<0||r>this.length)throw new RangeError("out of range index");if(n>=r&&e>=i)return 0;if(n>=r)return-1;if(e>=i)return 1;if(e>>>=0,i>>>=0,n>>>=0,r>>>=0,this===t)return 0;for(var o=r-n,s=i-e,l=Math.min(o,s),u=this.slice(n,r),c=t.slice(e,i),h=0;hr)&&(i=r),t.length>0&&(i<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var a=!1;;)switch(n){case"hex":return b(this,t,e,i);case"utf8":case"utf-8":return w(this,t,e,i);case"ascii":return S(this,t,e,i);case"latin1":case"binary":return M(this,t,e,i);case"base64":return I(this,t,e,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,e,i);default:if(a)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),a=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var J=4096;a.prototype.slice=function(t,e){var i=this.length;t=~~t,e=void 0===e?i:~~e,t<0?(t+=i)<0&&(t=0):t>i&&(t=i),e<0?(e+=i)<0&&(e=0):e>i&&(e=i),e0&&(r*=256);)n+=this[t+--e]*r;return n},a.prototype.readUInt8=function(t,e){return e||R(t,1,this.length),this[t]},a.prototype.readUInt16LE=function(t,e){return e||R(t,2,this.length),this[t]|this[t+1]<<8},a.prototype.readUInt16BE=function(t,e){return e||R(t,2,this.length),this[t]<<8|this[t+1]},a.prototype.readUInt32LE=function(t,e){return e||R(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},a.prototype.readUInt32BE=function(t,e){return e||R(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},a.prototype.readIntLE=function(t,e,i){t|=0,e|=0,i||R(t,e,this.length);for(var n=this[t],r=1,a=0;++a=r&&(n-=Math.pow(2,8*e)),n},a.prototype.readIntBE=function(t,e,i){t|=0,e|=0,i||R(t,e,this.length);for(var n=e,r=1,a=this[t+--n];n>0&&(r*=256);)a+=this[t+--n]*r;return r*=128,a>=r&&(a-=Math.pow(2,8*e)),a},a.prototype.readInt8=function(t,e){return e||R(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},a.prototype.readInt16LE=function(t,e){e||R(t,2,this.length);var i=this[t]|this[t+1]<<8;return 32768&i?4294901760|i:i},a.prototype.readInt16BE=function(t,e){e||R(t,2,this.length);var i=this[t+1]|this[t]<<8;return 32768&i?4294901760|i:i},a.prototype.readInt32LE=function(t,e){return e||R(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},a.prototype.readInt32BE=function(t,e){return e||R(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},a.prototype.readFloatLE=function(t,e){return e||R(t,4,this.length),K.read(this,t,!0,23,4)},a.prototype.readFloatBE=function(t,e){return e||R(t,4,this.length),K.read(this,t,!1,23,4)},a.prototype.readDoubleLE=function(t,e){return e||R(t,8,this.length),K.read(this,t,!0,52,8)},a.prototype.readDoubleBE=function(t,e){return e||R(t,8,this.length),K.read(this,t,!1,52,8)},a.prototype.writeUIntLE=function(t,e,i,n){if(t=+t,e|=0,i|=0,!n){N(this,t,e,i,Math.pow(2,8*i)-1,0)}var r=1,a=0;for(this[e]=255&t;++a=0&&(a*=256);)this[e+r]=t/a&255;return e+i},a.prototype.writeUInt8=function(t,e,i){return t=+t,e|=0,i||N(this,t,e,1,255,0),a.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},a.prototype.writeUInt16LE=function(t,e,i){return t=+t,e|=0,i||N(this,t,e,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):E(this,t,e,!0),e+2},a.prototype.writeUInt16BE=function(t,e,i){return t=+t,e|=0,i||N(this,t,e,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):E(this,t,e,!1),e+2},a.prototype.writeUInt32LE=function(t,e,i){return t=+t,e|=0,i||N(this,t,e,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):z(this,t,e,!0),e+4},a.prototype.writeUInt32BE=function(t,e,i){return t=+t,e|=0,i||N(this,t,e,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):z(this,t,e,!1),e+4},a.prototype.writeIntLE=function(t,e,i,n){if(t=+t,e|=0,!n){var r=Math.pow(2,8*i-1);N(this,t,e,i,r-1,-r)}var a=0,o=1,s=0;for(this[e]=255&t;++a>0)-s&255;return e+i},a.prototype.writeIntBE=function(t,e,i,n){if(t=+t,e|=0,!n){var r=Math.pow(2,8*i-1);N(this,t,e,i,r-1,-r)}var a=i-1,o=1,s=0;for(this[e+a]=255&t;--a>=0&&(o*=256);)t<0&&0===s&&0!==this[e+a+1]&&(s=1),this[e+a]=(t/o>>0)-s&255;return e+i},a.prototype.writeInt8=function(t,e,i){return t=+t,e|=0,i||N(this,t,e,1,127,-128),a.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},a.prototype.writeInt16LE=function(t,e,i){return t=+t,e|=0,i||N(this,t,e,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):E(this,t,e,!0),e+2},a.prototype.writeInt16BE=function(t,e,i){return t=+t,e|=0,i||N(this,t,e,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):E(this,t,e,!1),e+2},a.prototype.writeInt32LE=function(t,e,i){return t=+t,e|=0,i||N(this,t,e,4,2147483647,-2147483648),a.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):z(this,t,e,!0),e+4},a.prototype.writeInt32BE=function(t,e,i){return t=+t,e|=0,i||N(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),a.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):z(this,t,e,!1),e+4},a.prototype.writeFloatLE=function(t,e,i){return F(this,t,e,!0,i)},a.prototype.writeFloatBE=function(t,e,i){return F(this,t,e,!1,i)},a.prototype.writeDoubleLE=function(t,e,i){return V(this,t,e,!0,i)},a.prototype.writeDoubleBE=function(t,e,i){return V(this,t,e,!1,i)},a.prototype.copy=function(t,e,i,n){if(i||(i=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e=0;--r)t[r+e]=this[r+i];else if(o<1e3||!a.TYPED_ARRAY_SUPPORT)for(r=0;r>>=0,i=void 0===i?this.length:i>>>0,t||(t=0);var o;if("number"==typeof t)for(o=e;o=0;r--)if(!i[r].many.length){var l=i[s].many;if(l.length<=1){if(!s)return i;s=0}var a=l.length,u=Math.ceil(a/2);i[r].many=l.slice(u,a),i[s].many=l.slice(0,u),s++}return i}function a(t,e,a,o,l,h){function p(t,e,n,r,o){var l=t.many,c=t.one;if(1!==l.length||o)for(var f=i.i(u.t)({dividePath:d[a],individualDelay:y&&function(t,e,i,a){return y(t+n,r)}},m),g=e?i.i(s.c)(l,c,f):i.i(s.d)(c,l,f),v=g.fromIndividuals,x=g.toIndividuals,_=v.length,b=0;b<_;b++){var w=y?i.i(u.t)({delay:y(b,_)},m):m;h(v[b],x[b],e?l[b]:t.one,e?t.one:l[b],w)}else{var S=e?l[0]:c,M=e?c:l[0];if(i.i(s.a)(S))p({many:[S],one:M},!0,n,r,!0);else{var w=y?i.i(u.t)({delay:y(n,r)},m):m;i.i(s.b)(S,M,w),h(S,M,S,M,w)}}}if(t.length&&e.length){var f=i.i(c.d)("update",o,l);if(f&&f.duration>0){var g,v,y=o.getModel("universalTransition").get("delay"),m=Object.assign({setToFinal:!0},f);n(t)&&(g=t,v=e),n(e)&&(g=e,v=t);for(var x=g?g===t:t.length>e.length,_=g?r(v,g):r(x?e:t,[x?t:e]),b=0,w=0;w<_.length;w++)b+=_[w].many.length;for(var S=0,w=0;w<_.length;w++)p(_[w],x,S,b),S+=_[w].many.length}}}function o(t){if(!t)return[];if(i.i(u.j)(t)){for(var e=[],n=0;nC))for(var r=i.getIndices(),a=n(i),o=0;o0&&a.group.traverse(function(t){t instanceof b.a&&!t.animators.length&&t.animateFrom({style:{opacity:0}},o)})})}function h(t){var e=t.getModel("universalTransition").get("seriesKey");return e||t.id}function d(t){return i.i(x.j)(t)?t.sort().join(","):t}function p(t){if(t.hostModel)return t.hostModel.getModel("universalTransition").get("divideShape")}function f(t,e){var n=i.i(x.k)(),r=i.i(x.k)(),a=i.i(x.k)();return i.i(x.d)(t.oldSeries,function(e,n){var o=t.oldData[n],s=h(e),l=d(s);r.set(l,o),i.i(x.j)(s)&&i.i(x.d)(s,function(t){a.set(t,{data:o,key:l})})}),i.i(x.d)(e.updatedSeries,function(t){if(t.isUniversalTransitionEnabled()&&t.isAnimationEnabled()){var e=t.getData(),o=h(t),s=d(o),l=r.get(s);if(l)n.set(s,{oldSeries:[{divide:p(l),data:l}],newSeries:[{divide:p(e),data:e}]});else if(i.i(x.j)(o)){var u=[];i.i(x.d)(o,function(t){var e=r.get(t);e&&u.push({divide:p(e),data:e})}),u.length&&n.set(s,{oldSeries:u,newSeries:[{data:e,divide:p(e)}]})}else{var c=a.get(o);if(c){var f=n.get(c.key);f||(f={oldSeries:[{data:c.data,divide:p(c.data)}],newSeries:[]},n.set(c.key,f)),f.newSeries.push({data:e,divide:p(e)})}}}}),n}function g(t,e){for(var i=0;i=0&&a.push({data:e.oldData[i],divide:p(e.oldData[i]),dim:t.dimension})}),i.i(x.d)(i.i(M.d)(t.to),function(t){var e=g(n.updatedSeries,t);if(e>=0){var i=n.updatedSeries[e].getData();o.push({data:i,divide:p(i),dim:t.dimension})}}),a.length>0&&o.length>0&&c(a,o,r)}function y(t){t.registerUpdateLifecycle("series:beforeupdate",function(t,e,n){i.i(x.d)(i.i(M.d)(n.seriesTransition),function(t){i.i(x.d)(i.i(M.d)(t.to),function(t){for(var e=n.updatedSeries,i=0;it&&(t=e),t},e.prototype.brushSelector=function(t,e,i){return i.rect(e.getItemLayout(t))},e.type="series.bar",e.dependencies=["grid","polar"],e.defaultOption=i.i(o.d)(r.a.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),e}(r.a);e.a=s},8:function(t,e,i){i(12);var n=i(0)(i(9),i(11),"data-v-633a7004",null);t.exports=n.exports},80:function(t,e,i){"use strict";function n(t,e,n){t&&i.i(d.q)(t)&&("emphasis"===e?d.j:d.k)(t,n)}function r(t,e,r){var a=h.c(t,e),o=e&&null!=e.highlightKey?i.i(d.E)(e.highlightKey):null;null!=a?i.i(s.d)(h.d(a),function(e){n(t.getItemGraphicEl(e),r,o)}):t.eachItemGraphicEl(function(t){n(t,r,o)})}function a(t){return y(t.model)}function o(t){var e=t.model,i=t.ecModel,n=t.api,r=t.payload,a=e.pipelineContext.progressiveRender,o=t.view,s=r&&v(r).updateMethod,l=a?"incrementalPrepareRender":s&&o[s]?s:"render";return"render"!==l&&o[l](e,i,n,r),x[l]}var s=i(3),l=i(345),u=i(150),c=i(262),h=i(13),d=i(45),p=i(611),f=i(473),g=i(14),v=(i(56),h.a()),y=i.i(f.a)(),m=function(){function t(){this.group=new l.a,this.uid=u.a("viewChart"),this.renderTask=i.i(p.a)({plan:a,reset:o}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,i,n){},t.prototype.highlight=function(t,e,i,n){var a=t.getData(n&&n.dataType);a&&r(a,n,"emphasis")},t.prototype.downplay=function(t,e,i,n){var a=t.getData(n&&n.dataType);a&&r(a,n,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,i,n){this.render(t,e,i,n)},t.prototype.updateLayout=function(t,e,i,n){this.render(t,e,i,n)},t.prototype.updateVisual=function(t,e,i,n){this.render(t,e,i,n)},t.prototype.eachRendered=function(t){i.i(g.traverseElements)(this.group,t)},t.markUpdateMethod=function(t,e){v(t).updateMethod=e},t.protoInitialize=function(){t.prototype.type="chart"}(),t}();c.b(m,["dispose"]),c.e(m);var x={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}};e.a=m},800:function(t,e,i){"use strict";function n(t,e){var n=t.getArea&&t.getArea();if(i.i(C.a)(t,"cartesian2d")){var r=t.getBaseAxis();if("category"!==r.type||!r.onBand){var a=e.getLayout("bandWidth");r.isHorizontal()?(n.x-=a,n.width+=2*a):(n.y-=a,n.height+=2*a)}}return n}function r(t,e){var i=t.get("realtimeSort",!0),n=e.getBaseAxis();if(i&&"category"===n.type&&"cartesian2d"===e.type)return{baseAxis:n,otherAxis:e.getOtherAxis(n)}}function a(t,e,i,n,r,a,o,s){var l,u;a?(u={x:n.x,width:n.width},l={y:n.y,height:n.height}):(u={y:n.y,height:n.height},l={x:n.x,width:n.width}),s||(o?x.updateProps:x.initProps)(i,{shape:l},e,r,null);var c=e?t.baseAxis.model:null;(o?x.updateProps:x.initProps)(i,{shape:u},c,r)}function o(t,e){for(var i=0;i=a.r0?"endArc":"startArc":a.endAngle>=a.startAngle?"endAngle":"startAngle":u?a.height>=0?"bottom":"top":a.width>=0?"right":"left",f=i.i(w.f)(r);i.i(w.e)(t,f,{labelFetcher:o,labelDataIndex:n,defaultText:i.i(k.a)(o.getData(),n),inheritColor:h.fill,defaultOpacity:h.opacity,defaultOutsidePosition:p});var g=t.getTextContent();if(c&&g){var v=r.get(["label","position"]);t.textConfig.inside="middle"===v||null,i.i(D.b)(t,"outside"===v?p:v,l(u),r.get(["label","rotate"]))}i.i(w.h)(g,f,o.getRawValue(n),function(t){return i.i(k.b)(e,t)});var y=r.getModel(["emphasis"]);i.i(b.G)(t,y.get("focus"),y.get("blurScope"),y.get("disabled")),i.i(b.F)(t,r),s(a)&&(t.style.fill="none",t.style.stroke="none",i.i(m.d)(t.states,function(t){t.style&&(t.style.fill=t.style.stroke="none")}))}function c(t,e){var i=t.get(["itemStyle","borderColor"]);if(!i||"none"===i)return 0;var n=t.get(["itemStyle","borderWidth"])||0,r=isNaN(e.width)?Number.MAX_VALUE:Math.abs(e.width),a=isNaN(e.height)?Number.MAX_VALUE:Math.abs(e.height);return Math.min(n,r,a)}function h(t,e,n,r){var a=t.getData(),o=a.getLayout("valueAxisHorizontal")?1:0,s=a.getLayout("largeDataIndices"),l=a.getLayout("size"),u=t.getModel("backgroundStyle"),c=a.getLayout("largeBackgroundPoints");if(c){var h=new j({shape:{points:c},incremental:!!r,silent:!0,z2:0});h.baseDimIdx=o,h.largeDataIndices=s,h.barWidth=l,h.useStyle(u.getItemStyle()),e.add(h),n&&n.push(h)}var d=new j({shape:{points:a.getLayout("largePoints")},incremental:!!r,z2:1});d.baseDimIdx=o,d.largeDataIndices=s,d.barWidth=l,e.add(d),d.useStyle(a.getVisual("style")),i.i(_.a)(d).seriesIndex=t.seriesIndex,t.get("silent")||(d.on("mousedown",G),d.on("mousemove",G)),n&&n.push(d)}function d(t,e,i){for(var n=t.baseDimIdx,r=1-n,a=t.shape.points,o=t.largeDataIndices,s=[],l=[],u=t.barWidth,c=0,h=a.length/3;c=s[0]&&e<=s[0]+l[0]&&i>=s[1]&&i<=s[1]+l[1])return o[c]}return-1}function p(t,e,n){if(i.i(C.a)(n,"cartesian2d")){var r=e,a=n.getArea();return{x:t?r.x:a.x,y:t?a.y:r.y,width:t?r.width:a.width,height:t?a.height:r.height}}var a=n.getArea(),o=e;return{cx:a.cx,cy:a.cy,r0:t?a.r0:o.r0,r:t?a.r:o.r,startAngle:t?o.startAngle:0,endAngle:t?o.endAngle:2*Math.PI}}function f(t,e,i){return new("polar"===t.type?x.Sector:x.Rect)({shape:p(e,i,t),silent:!0,z2:0})}var g=i(6),v=i(76),y=i(345),m=i(3),x=i(14),_=i(66),b=i(45),w=i(58),S=i(263),M=i(515),I=i(708),T=i(80),C=i(519),k=i(516),D=(i(56),i(1060)),A=i(135),L=Math.max,P=Math.min,O=function(t){function e(){var i=t.call(this)||this;return i.type=e.type,i._isFirstFrame=!0,i}return i.i(g.a)(e,t),e.prototype.render=function(t,e,i,n){this._model=t,this._removeOnRenderedListener(i),this._updateDrawMode(t);var r=t.get("coordinateSystem");"cartesian2d"!==r&&"polar"!==r||(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(t,e,i):this._renderNormal(t,e,i,n))},e.prototype.incrementalPrepareRender=function(t){this._clear(),this._updateDrawMode(t),this._updateLargeClip(t)},e.prototype.incrementalRender=function(t,e){this._progressiveEls=[],this._incrementalRenderLarge(t,e)},e.prototype.eachRendered=function(t){i.i(x.traverseElements)(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},e.prototype._renderNormal=function(t,e,o,s){function l(t){var e=F[v.type](d,t),i=f(v,c,e);return i.useStyle(C.getItemStyle()),"cartesian2d"===v.type&&i.setShape("r",k),D[t]=i,i}var c,h=this.group,d=t.getData(),g=this._data,v=t.coordinateSystem,m=v.getBaseAxis();"cartesian2d"===v.type?c=m.isHorizontal():"polar"===v.type&&(c="angle"===m.dim);var _=t.isAnimationEnabled()?t:null,b=r(t,v);b&&this._enableRealtimeSort(b,d,o);var S=t.get("clip",!0)||b,M=n(v,d);h.removeClipPath();var I=t.get("roundCap",!0),T=t.get("showBackground",!0),C=t.getModel("backgroundStyle"),k=C.get("borderRadius")||0,D=[],L=this._backgroundEls,P=s&&s.isInitSort,O=s&&"changeAxisOrder"===s.type;d.diff(g).add(function(e){var n=d.getItemModel(e),r=F[v.type](d,e,n);if(T&&l(e),d.hasValue(e)&&B[v.type](r)){var o=!1;S&&(o=R[v.type](M,r));var s=N[v.type](t,d,e,r,c,_,m.model,!1,I);b&&(s.forceLabelAnimation=!0),u(s,d,e,n,r,t,c,"polar"===v.type),P?s.attr({shape:r}):b?a(b,_,s,r,e,c,!1,!1):i.i(x.initProps)(s,{shape:r},t,e),d.setItemGraphicEl(e,s),h.add(s),s.ignore=o}}).update(function(e,n){var r=d.getItemModel(e),o=F[v.type](d,e,r);if(T){var s=void 0;0===L.length?s=l(n):(s=L[n],s.useStyle(C.getItemStyle()),"cartesian2d"===v.type&&s.setShape("r",k),D[e]=s);var f=F[v.type](d,e),y=p(c,f,v);i.i(x.updateProps)(s,{shape:y},_,e)}var E=g.getItemGraphicEl(n);if(!d.hasValue(e)||!B[v.type](o))return void h.remove(E);var z=!1;if(S&&(z=R[v.type](M,o))&&h.remove(E),E?i.i(A.f)(E):E=N[v.type](t,d,e,o,c,_,m.model,!!E,I),b&&(E.forceLabelAnimation=!0),O){var V=E.getTextContent();if(V){var j=i.i(w.a)(V);null!=j.prevValue&&(j.prevValue=j.value)}}else u(E,d,e,r,o,t,c,"polar"===v.type);P?E.attr({shape:o}):b?a(b,_,E,o,e,c,!0,O):i.i(x.updateProps)(E,{shape:o},t,e,null),d.setItemGraphicEl(e,E),E.ignore=z,h.add(E)}).remove(function(e){var n=g.getItemGraphicEl(e);n&&i.i(x.removeElementWithFadeOut)(n,t,e)}).execute();var E=this._backgroundGroup||(this._backgroundGroup=new y.a);E.removeAll();for(var z=0;za)return!0;a=u}return!1},e.prototype._isOrderDifferentInView=function(t,e){for(var i=e.scale,n=i.getExtent(),r=Math.max(0,n[0]),a=Math.min(n[1],i.getOrdinalMeta().categories.length-1);r<=a;++r)if(t.ordinalNumbers[r]!==i.getRawOrdinalNumber(r))return!0},e.prototype._updateSortWithinSameData=function(t,e,i,n){if(this._isOrderChangedWithinSameData(t,e,i)){var r=this._dataSort(t,i,e);this._isOrderDifferentInView(r,i)&&(this._removeOnRenderedListener(n),n.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",axisId:i.index,sortInfo:r}))}},e.prototype._dispatchInitSort=function(t,e,i){var n=e.baseAxis,r=this._dataSort(t,n,function(i){return t.get(t.mapDimension(e.otherAxis.dim),i)});i.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",isInitSort:!0,axisId:n.index,sortInfo:r})},e.prototype.remove=function(t,e){this._clear(this._model),this._removeOnRenderedListener(e)},e.prototype.dispose=function(t,e){this._removeOnRenderedListener(e)},e.prototype._removeOnRenderedListener=function(t){this._onRendered&&(t.getZr().off("rendered",this._onRendered),this._onRendered=null)},e.prototype._clear=function(t){var e=this.group,n=this._data;t&&t.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl(function(e){i.i(x.removeElementWithFadeOut)(e,t,i.i(_.a)(e).dataIndex)})):e.removeAll(),this._data=null,this._isFirstFrame=!0},e.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},e.type="bar",e}(T.a),R={cartesian2d:function(t,e){var i=e.width<0?-1:1,n=e.height<0?-1:1;i<0&&(e.x+=e.width,e.width=-e.width),n<0&&(e.y+=e.height,e.height=-e.height);var r=t.x+t.width,a=t.y+t.height,o=L(e.x,t.x),s=P(e.x+e.width,r),l=L(e.y,t.y),u=P(e.y+e.height,a),c=sr?s:o,e.y=h&&l>a?u:l,e.width=c?0:s-o,e.height=h?0:u-l,i<0&&(e.x+=e.width,e.width=-e.width),n<0&&(e.y+=e.height,e.height=-e.height),c||h},polar:function(t,e){var i=e.r0<=e.r?1:-1;if(i<0){var n=e.r;e.r=e.r0,e.r0=n}var r=P(e.r,t.r),a=L(e.r0,t.r0);e.r=r,e.r0=a;var o=r-a<0;if(i<0){var n=e.r;e.r=e.r0,e.r0=n}return o}},N={cartesian2d:function(t,e,n,r,a,o,s,l,u){var c=new x.Rect({shape:i.i(m.g)({},r),z2:1});if(c.__dataIndex=n,c.name="item",o){c.shape[a?"height":"width"]=0}return c},polar:function(t,e,n,r,a,o,s,u,c){var h=!a&&c?I.a:x.Sector,d=new h({shape:r,z2:1});d.name="item";var p=l(a);if(d.calculateTextPosition=i.i(D.a)(p,{isRoundCap:h===I.a}),o){var f=d.shape,g=a?"r":"endAngle",v={};f[g]=a?0:r.startAngle,v[g]=r[g],(u?x.updateProps:x.initProps)(d,{shape:v},o)}return d}},E=["x","y","width","height"],z=["cx","cy","r","startAngle","endAngle"],B={cartesian2d:function(t){return!o(t,E)},polar:function(t){return!o(t,z)}},F={cartesian2d:function(t,e,i){var n=t.getItemLayout(e),r=i?c(i,n):0,a=n.width>0?1:-1,o=n.height>0?1:-1;return{x:n.x+a*r/2,y:n.y+o*r/2,width:n.width-a*r,height:n.height-o*r}},polar:function(t,e,i){var n=t.getItemLayout(e);return{cx:n.cx,cy:n.cy,r0:n.r0,r:n.r,startAngle:n.startAngle,endAngle:n.endAngle,clockwise:n.clockwise}}},V=function(){function t(){}return t}(),j=function(t){function e(e){var i=t.call(this,e)||this;return i.type="largeBar",i}return i.i(g.a)(e,t),e.prototype.getDefaultShape=function(){return new V},e.prototype.buildPath=function(t,e){for(var i=e.points,n=this.baseDimIdx,r=1-this.baseDimIdx,a=[],o=[],s=this.barWidth,l=0;l=0?n:null},30,!1);e.a=O},801:function(t,e,i){"use strict";var n=i(6),r=i(645),a=i(150),o=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.hasSymbolVisual=!0,i.defaultSymbol="roundRect",i}return i.i(n.a)(e,t),e.prototype.getInitialData=function(e){return e.stack=null,t.prototype.getInitialData.apply(this,arguments)},e.type="series.pictorialBar",e.dependencies=["grid"],e.defaultOption=i.i(a.d)(r.a.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),e}(r.a);e.a=o},802:function(t,e,i){"use strict";function n(t,e,n,a){var u=t.getItemLayout(e),c=n.get("symbolRepeat"),h=n.get("symbolClip"),d=n.get("symbolPosition")||"start",p=n.get("symbolRotate"),f=(p||0)*Math.PI/180||0,g=n.get("symbolPatternSize")||2,v=n.isAnimationEnabled(),y={dataIndex:e,layout:u,itemModel:n,symbolType:t.getItemVisual(e,"symbol")||"circle",style:t.getItemVisual(e,"style"),symbolClip:h,symbolRepeat:c,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:g,rotation:f,animationModel:v?n:null,hoverScale:v&&n.get(["emphasis","scale"]),z2:n.getShallow("z",!0)||0};r(n,c,u,a,y),o(t,e,u,c,h,y.boundingLength,y.pxSign,g,a,y),s(n,y.symbolScale,f,a,y);var m=y.symbolSize;return l(n,m,u,c,h,i.i(D.d)(n.get("symbolOffset"),m),d,y.valueLineWidth,y.boundingLength,y.repeatCutLength,a,y),y}function r(t,e,i,n,r){var o,s=n.valueDim,l=t.get("symbolBoundingData"),u=n.coordSys.getOtherAxis(n.coordSys.getBaseAxis()),c=u.toGlobalCoord(u.dataToCoord(0)),h=1-+(i[s.wh]<=0);if(T.j(l)){var d=[a(u,l[0])-c,a(u,l[1])-c];d[1]0?1:-1}function a(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function o(t,e,n,r,a,o,s,l,u,c){var h,d=u.valueDim,p=u.categoryDim,f=Math.abs(n[p.wh]),g=t.getItemVisual(e,"symbolSize");h=T.j(g)?g.slice():null==g?["100%","100%"]:[g,g],h[p.index]=i.i(A.a)(h[p.index],f),h[d.index]=i.i(A.a)(h[d.index],r?f:Math.abs(o)),c.symbolSize=h,(c.symbolScale=[h[0]/l,h[1]/l])[d.index]*=(u.isHorizontal?-1:1)*s}function s(t,e,i,n,r){var a=t.get(E)||0;a&&(B.attr({scaleX:e[0],scaleY:e[1],rotation:i}),B.updateTransform(),a/=B.getLineScale(),a*=e[n.valueDim.index]),r.valueLineWidth=a||0}function l(t,e,n,r,a,o,s,l,u,c,h,d){var p=h.categoryDim,f=h.valueDim,g=d.pxSign,v=Math.max(e[f.index]+l,0),y=v;if(r){var m=Math.abs(u),x=T.N(t.get("symbolMargin"),"15%")+"",_=!1;x.lastIndexOf("!")===x.length-1&&(_=!0,x=x.slice(0,x.length-1));var b=i.i(A.a)(x,e[f.index]),w=Math.max(v+2*b,0),S=_?0:2*b,I=i.i(A.b)(r),C=I?r:M((m+S)/w);b=(m-C*v)/2/(_?C:Math.max(C-1,1)),w=v+2*b,S=_?0:2*b,I||"fixed"===r||(C=c?M((Math.abs(c)+S)/w):0),y=C*w-S,d.repeatTimes=C,d.symbolMargin=b}var k=g*(y/2),D=d.pathPosition=[];D[p.index]=n[p.wh]/2,D[f.index]="start"===s?k:"end"===s?u-k:u/2,o&&(D[0]+=o[0],D[1]+=o[1]);var L=d.bundlePosition=[];L[p.index]=n[p.xy],L[f.index]=n[f.xy];var P=d.barRectShape=T.g({},n);P[f.wh]=g*Math.max(Math.abs(n[f.wh]),Math.abs(D[f.index]+k)),P[p.wh]=n[p.wh];var O=d.clipShape={};O[p.xy]=-n[p.xy],O[p.wh]=h.ecSize[p.wh],O[f.xy]=0,O[f.wh]=n[f.wh]}function u(t){var e=t.symbolPatternSize,n=i.i(D.a)(t.symbolType,-e/2,-e/2,e,e);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function c(t,e,i,n){function r(t){var e=l.slice(),n=i.pxSign,r=t;return("start"===i.symbolRepeatDirection?n>0:n<0)&&(r=h-1-t),e[c.index]=p*(r-h/2+.5)+l[c.index],{x:e[0],y:e[1],scaleX:i.symbolScale[0],scaleY:i.symbolScale[1],rotation:i.rotation}}var a=t.__pictorialBundle,o=i.symbolSize,s=i.valueLineWidth,l=i.pathPosition,c=e.valueDim,h=i.repeatTimes||0,d=0,p=o[e.valueDim.index]+s+2*i.symbolMargin;for(b(t,function(t){t.__pictorialAnimationIndex=d,t.__pictorialRepeatTimes=h,d0)],g=t.__pictorialBarRect;i.i(O.e)(g,i.i(O.f)(a),{labelFetcher:e.seriesModel,labelDataIndex:r,defaultText:i.i(P.a)(e.seriesModel.getData(),r),inheritColor:n.style.fill,defaultOpacity:n.style.opacity,defaultOutsidePosition:f}),i.i(k.G)(t,h,d,o.get("disabled"))}function M(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var I=i(6),T=i(3),C=i(14),k=i(45),D=i(105),A=i(22),L=i(80),P=i(516),O=i(58),R=i(197),N=i(66),E=["itemStyle","borderWidth"],z=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],B=new C.Circle,F=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i.i(I.a)(e,t),e.prototype.render=function(t,e,i){var r=this.group,a=t.getData(),o=this._data,s=t.coordinateSystem,l=s.getBaseAxis(),u=l.isHorizontal(),c=s.master.getRect(),h={ecSize:{width:i.getWidth(),height:i.getHeight()},seriesModel:t,coordSys:s,coordSysExtent:[[c.x,c.x+c.width],[c.y,c.y+c.height]],isHorizontal:u,valueDim:z[+u],categoryDim:z[1-+u]};return a.diff(o).add(function(t){if(a.hasValue(t)){var e=f(a,t),i=n(a,t,e,h),o=y(a,h,i);a.setItemGraphicEl(t,o),r.add(o),S(o,h,i)}}).update(function(t,e){var i=o.getItemGraphicEl(e);if(!a.hasValue(t))return void r.remove(i);var s=f(a,t),l=n(a,t,s,h),u=_(a,l);i&&u!==i.__pictorialShapeStr&&(r.remove(i),a.setItemGraphicEl(t,null),i=null),i?m(i,h,l):i=y(a,h,l,!0),a.setItemGraphicEl(t,i),i.__pictorialSymbolMeta=l,r.add(i),S(i,h,l)}).remove(function(t){var e=o.getItemGraphicEl(t);e&&x(o,t,e.__pictorialSymbolMeta.animationModel,e)}).execute(),this._data=a,this.group},e.prototype.remove=function(t,e){var n=this.group,r=this._data;t.get("animation")?r&&r.eachItemGraphicEl(function(e){x(r,i.i(N.a)(e).dataIndex,t,e)}):n.removeAll()},e.type="pictorialBar",e}(L.a);e.a=F},803:function(t,e,i){"use strict";function n(t){t.registerChartView(l.a),t.registerSeriesModel(s.a),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,r.I(a.e,"bar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,i.i(a.f)("bar")),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,i.i(o.a)("bar")),t.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(t,e){var i=t.componentType||"series";e.eachComponent({mainType:i,query:t},function(e){t.sortInfo&&e.axis.setCategorySortInfo(t.sortInfo)})})}e.a=n;var r=i(3),a=i(545),o=i(705),s=i(799),l=i(800)},804:function(t,e,i){"use strict";function n(t){t.registerChartView(r.a),t.registerSeriesModel(a.a),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,i.i(s.I)(o.e,"pictorialBar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,i.i(o.f)("pictorialBar"))}e.a=n;var r=i(802),a=i(801),o=i(545),s=i(3)},805:function(t,e,i){"use strict";var n=i(6),r=i(79),a=i(654),o=i(3),s=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],i.visualDrawType="stroke",i}return i.i(n.a)(e,t),e.type="series.boxplot",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},e}(r.b);i.i(o.y)(s,a.a,!0),e.a=s},806:function(t,e,i){"use strict";function n(t,e,i,n,o){var s=t.ends,l=new g({shape:{points:o?a(s,n,t):s}});return r(t,l,e,i,o),l}function r(t,e,n,r,a){var o=n.hostModel;(0,u[a?"initProps":"updateProps"])(e,{shape:{points:t.ends}},o,r),e.useStyle(n.getItemVisual(r,"style")),e.style.strokeNoScale=!0,e.z2=100;var s=n.getItemModel(r),l=s.getModel("emphasis");i.i(c.F)(e,s),i.i(c.G)(e,l.get("focus"),l.get("blurScope"),l.get("disabled"))}function a(t,e,i){return s.p(t,function(t){return t=t.slice(),t[e]=i.initBaseline,t})}var o=i(6),s=i(3),l=i(80),u=i(14),c=i(45),h=i(76),d=i(135),p=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i.i(o.a)(e,t),e.prototype.render=function(t,e,a){var o=t.getData(),s=this.group,l=this._data;this._data||s.removeAll();var u="horizontal"===t.get("layout")?1:0;o.diff(l).add(function(t){if(o.hasValue(t)){var e=o.getItemLayout(t),i=n(e,o,t,u,!0);o.setItemGraphicEl(t,i),s.add(i)}}).update(function(t,e){var a=l.getItemGraphicEl(e);if(!o.hasValue(t))return void s.remove(a);var c=o.getItemLayout(t);a?(i.i(d.f)(a),r(c,a,o,t)):a=n(c,o,t,u),s.add(a),o.setItemGraphicEl(t,a)}).remove(function(t){var e=l.getItemGraphicEl(t);e&&s.remove(e)}).execute(),this._data=o},e.prototype.remove=function(t){var e=this.group,i=this._data;this._data=null,i&&i.eachItemGraphicEl(function(t){t&&e.remove(t)})},e.type="boxplot",e}(l.a),f=function(){function t(){}return t}(),g=function(t){function e(e){var i=t.call(this,e)||this;return i.type="boxplotBoxPath",i}return i.i(o.a)(e,t),e.prototype.getDefaultShape=function(){return new f},e.prototype.buildPath=function(t,e){var i=e.points,n=0;for(t.moveTo(i[n][0],i[n][1]),n++;n<4;n++)t.lineTo(i[n][0],i[n][1]);for(t.closePath();nm){var S=[_,w];o.push(S)}}}return{boxData:n,outliers:o}}e.a=n;var r=i(22),a=i(3)},812:function(t,e,i){"use strict";var n=i(6),r=i(79),a=i(654),o=i(3),s=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],i}return i.i(n.a)(e,t),e.prototype.getShadowDim=function(){return"open"},e.prototype.brushSelector=function(t,e,i){var n=e.getItemLayout(t);return n&&i.rect(n.brushRect)},e.type="series.candlestick",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},e}(r.b);i.i(o.y)(s,a.a,!0),e.a=s},813:function(t,e,i){"use strict";function n(t,e,i){var n=t.ends;return new _({shape:{points:i?o(n,t):n},z2:100})}function r(t,e){for(var i=!0,n=0;n0?"borderColor":"borderColor0"])||i.get(["itemStyle",t>0?"color":"color0"]),a=i.getModel("itemStyle").getItemStyle(y);e.useStyle(a),e.style.fill=null,e.style.stroke=r}var u=i(6),c=i(3),h=i(80),d=i(14),p=i(45),f=i(76),g=i(515),v=i(135),y=["color","borderColor"],m=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i.i(u.a)(e,t),e.prototype.render=function(t,e,i){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},e.prototype.incrementalPrepareRender=function(t,e,i){this._clear(),this._updateDrawMode(t)},e.prototype.incrementalRender=function(t,e,i,n){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(t,e):this._incrementalRenderNormal(t,e)},e.prototype.eachRendered=function(t){d.traverseElements(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},e.prototype._renderNormal=function(t){var e=t.getData(),o=this._data,s=this.group,l=e.getLayout("isSimpleBox"),u=t.get("clip",!0),c=t.coordinateSystem,h=c.getArea&&c.getArea();this._data||s.removeAll(),e.diff(o).add(function(i){if(e.hasValue(i)){var o=e.getItemLayout(i);if(u&&r(h,o))return;var c=n(o,i,!0);d.initProps(c,{shape:{points:o.ends}},t,i),a(c,e,i,l),s.add(c),e.setItemGraphicEl(i,c)}}).update(function(c,p){var f=o.getItemGraphicEl(p);if(!e.hasValue(c))return void s.remove(f);var g=e.getItemLayout(c);if(u&&r(h,g))return void s.remove(f);f?(d.updateProps(f,{shape:{points:g.ends}},t,c),i.i(v.f)(f)):f=n(g,c),a(f,e,c,l),s.add(f),e.setItemGraphicEl(c,f)}).remove(function(t){var e=o.getItemGraphicEl(t);e&&s.remove(e)}).execute(),this._data=e},e.prototype._renderLarge=function(t){this._clear(),s(t,this.group);var e=t.get("clip",!0)?i.i(g.a)(t.coordinateSystem,!1,t):null;e?this.group.setClipPath(e):this.group.removeClipPath()},e.prototype._incrementalRenderNormal=function(t,e){for(var i,r=e.getData(),o=r.getLayout("isSimpleBox");null!=(i=t.next());){var s=r.getItemLayout(i),l=n(s,i);a(l,r,i,o),l.incremental=!0,this.group.add(l),this._progressiveEls.push(l)}},e.prototype._incrementalRenderLarge=function(t,e){s(e,this.group,this._progressiveEls,!0)},e.prototype.remove=function(t){this._clear()},e.prototype._clear=function(){this.group.removeAll(),this._data=null},e.type="candlestick",e}(h.a),x=function(){function t(){}return t}(),_=function(t){function e(e){var i=t.call(this,e)||this;return i.type="normalCandlestickBox",i}return i.i(u.a)(e,t),e.prototype.getDefaultShape=function(){return new x},e.prototype.buildPath=function(t,e){var i=e.points;this.__simpleBox?(t.moveTo(i[4][0],i[4][1]),t.lineTo(i[6][0],i[6][1])):(t.moveTo(i[0][0],i[0][1]),t.lineTo(i[1][0],i[1][1]),t.lineTo(i[2][0],i[2][1]),t.lineTo(i[3][0],i[3][1]),t.closePath(),t.moveTo(i[4][0],i[4][1]),t.lineTo(i[5][0],i[5][1]),t.moveTo(i[6][0],i[6][1]),t.lineTo(i[7][0],i[7][1]))},e}(f.a),b=function(){function t(){}return t}(),w=function(t){function e(e){var i=t.call(this,e)||this;return i.type="largeCandlestickBox",i}return i.i(u.a)(e,t),e.prototype.getDefaultShape=function(){return new b},e.prototype.buildPath=function(t,e){for(var i=e.points,n=0;nn?-1:i0?t.get(r,e-1)<=n?1:-1:1}function r(t,e){var n,r=t.getBaseAxis(),a="category"===r.type?r.getBandWidth():(n=r.getExtent(),Math.abs(n[1]-n[0])/e.count()),o=i.i(s.a)(i.i(l.e)(t.get("barMaxWidth"),a),a),u=i.i(s.a)(i.i(l.e)(t.get("barMinWidth"),1),a),c=t.get("barWidth");return null!=c?i.i(s.a)(c,a):Math.max(Math.min(a/2,o),u)}var a=i(14),o=i(473),s=i(22),l=i(3),u=i(524),c={seriesType:"candlestick",plan:i.i(o.a)(),reset:function(t){function e(t,e){function r(t,e){var i=[];return i[d]=e,i[p]=t,isNaN(e)||isNaN(t)?[NaN,NaN]:s.dataToPoint(i)}function o(t,e,n){var r=e.slice(),o=e.slice();r[d]=i.i(a.subPixelOptimize)(r[d]+h/2,1,!1),o[d]=i.i(a.subPixelOptimize)(o[d]-h/2,1,!0),n?t.push(r,o):t.push(o,r)}function l(t){return t[d]=i.i(a.subPixelOptimize)(t[d],1),t}for(var u,c=e.getStore();null!=(u=t.next());){var f=c.get(g,u),v=c.get(y,u),b=c.get(m,u),w=c.get(x,u),S=c.get(_,u),M=Math.min(v,b),I=Math.max(v,b),T=r(M,f),C=r(I,f),k=r(w,f),D=r(S,f),A=[];o(A,C,0),o(A,T,1),A.push(l(D),l(C),l(k),l(T)),e.setItemLayout(u,{sign:n(c,u,v,b,m),initBaseline:v>b?C[p]:T[p],ends:A,brushRect:function(t,e,i){var n=r(t,i),a=r(e,i);return n[d]-=h/2,a[d]-=h/2,{x:n[0],y:n[1],width:p?h:a[0]-n[0],height:p?a[1]-n[1]:h}}(w,S,f)})}}function o(t,e){for(var r,a,o=i.i(u.a)(4*t.count),l=0,c=[],h=[],f=e.getStore();null!=(a=t.next());){var v=f.get(g,a),b=f.get(y,a),w=f.get(m,a),S=f.get(x,a),M=f.get(_,a);isNaN(v)||isNaN(S)||isNaN(M)?(o[l++]=NaN,l+=3):(o[l++]=n(f,a,b,w,m),c[d]=v,c[p]=S,r=s.dataToPoint(c,null,h),o[l++]=r?r[0]:NaN,o[l++]=r?r[1]:NaN,c[p]=M,r=s.dataToPoint(c,null,h),o[l++]=r?r[1]:NaN)}e.setLayout("largePoints",o)}var s=t.coordinateSystem,c=t.getData(),h=r(t,c),d=0,p=1,f=["x","y"],g=c.getDimensionIndex(c.mapDimension(f[d])),v=i.i(l.p)(c.mapDimensionsAll(f[p]),c.getDimensionIndex,c),y=v[0],m=v[1],x=v[2],_=v[3];if(c.setLayout({candleWidth:h,isSimpleBox:h<=1.3}),!(g<0||v.length<4))return{progress:t.pipelineContext.large?o:e}}};e.a=c},815:function(t,e,i){"use strict";var n=i(473),r=i(3),a=["itemStyle","borderColor"],o=["itemStyle","borderColor0"],s=["itemStyle","color"],l=["itemStyle","color0"],u={seriesType:"candlestick",plan:i.i(n.a)(),performRawSeries:!0,reset:function(t,e){function n(t,e){return e.get(t>0?s:l)}function u(t,e){return e.get(t>0?a:o)}if(!e.isSeriesFiltered(t)){return!t.pipelineContext.large&&{progress:function(t,e){for(var a;null!=(a=t.next());){var o=e.getItemModel(a),s=e.getItemLayout(a).sign,l=o.getItemStyle();l.fill=n(s,o),l.stroke=u(s,o)||l.fill;var c=e.ensureUniqueItemVisual(a,"style");i.i(r.g)(c,l)}}}}}};e.a=u},816:function(t,e,i){"use strict";function n(t){t.registerChartView(r.a),t.registerSeriesModel(a.a),t.registerPreprocessor(o.a),t.registerVisual(s.a),t.registerLayout(l.a)}e.a=n;var r=i(813),a=i(812),o=i(817),s=i(815),l=i(814)},817:function(t,e,i){"use strict";function n(t){t&&r.j(t.series)&&r.d(t.series,function(t){r.i(t)&&"k"===t.type&&(t.type="candlestick")})}e.a=n;var r=i(3)},818:function(t,e,i){"use strict";function n(t){return t instanceof A.Path}function r(t){return t instanceof W.c}function a(t,e){e.copyTransform(t),r(e)&&r(t)&&(e.setStyle(t.style),e.z=t.z,e.z2=t.z2,e.zlevel=t.zlevel,e.invisible=t.invisible,e.ignore=t.ignore,n(e)&&n(t)&&e.setShape(t.shape))}function o(t){var e,n=t.type;if("path"===n){var r=t.shape,a=null!=r.width&&null!=r.height?{x:r.x||0,y:r.y||0,width:r.width,height:r.height}:null,o=T(r);e=A.makePath(o,null,a,r.layout||"center"),i.i(q.b)(e).customPathData=o}else if("image"===n)e=new A.Image({}),i.i(q.b)(e).customImagePath=t.style.image;else if("text"===n)e=new A.Text({});else if("group"===n)e=new A.Group;else{if("compoundPath"===n)throw new Error('"compoundPath" is not supported yet.');var s=A.getShapeClass(n);if(!s){var l="";i.i(Y.b)(l)}e=new s}return i.i(q.b)(e).customGraphicType=n,e.name=t.name,e.z2EmphasisLift=1,e.z2SelectLift=1,e}function s(t,e,a,o,s,l,u){i.i(Z.a)(e);var c=s&&s.normal.cfg;c&&e.setTextConfig(c),o&&null==o.transition&&(o.transition=et);var h=o&&o.style;if(h){if("text"===e.type){var d=h;i.i(D.F)(d,"textFill")&&(d.fill=d.textFill),i.i(D.F)(d,"textStroke")&&(d.stroke=d.textStroke)}var p=void 0,f=n(e)?h.decal:null;t&&f&&(f.dirty=!0,p=i.i(U.a)(f,t)),h.__decalPattern=p}if(r(e)&&h){var p=h.__decalPattern;p&&(h.decal=p)}i.i(X.a)(e,o,l,{dataIndex:a,isInit:u,clearStyle:!0}),i.i(Z.b)(e,o.keyframeAnimation,l)}function l(t,e,n,r,a){var o=e.isGroup?null:e,s=a&&a[t].cfg;if(o){var l=o.ensureState(t);if(!1===r){var u=o.getState(t);u&&(u.style=null)}else l.style=r||null;s&&(l.textConfig=s),i.i(L.H)(o)}}function u(t,e,i){if(!t.isGroup){var n=t,r=i.currentZ,a=i.currentZLevel;n.z=r,n.zlevel=a;var o=e.z2;null!=o&&(n.z2=o||0);for(var s=0;s=0?e.getStore().get(r,i):void 0}var a=e.get(n.name,i),o=n&&n.ordinalMeta;return o?o.categories[a]:a}function c(n,r){null==r&&(r=w);var a=e.getItemVisual(r,"style"),l=a&&a.fill,u=a&&a.opacity,c=o(r,K).getItemStyle();null!=l&&(c.fill=l),null!=u&&(c.opacity=u);var h={inheritColor:i.i(D.m)(l)?l:"#000"},d=s(r,K),g=P.d(d,null,h,!1,!0);g.text=d.getShallow("show")?i.i(D.e)(t.getFormattedLabel(r,K),i.i(O.a)(e,r)):null;var v=P.g(d,h,!1);return f(n,c),c=i.i(H.c)(c,g,v),n&&p(c,n),c.legacy=!0,c}function h(n,r){null==r&&(r=w);var a=o(r,$).getItemStyle(),l=s(r,$),u=P.d(l,null,null,!0,!0);u.text=l.getShallow("show")?i.i(D.D)(t.getFormattedLabel(r,$),t.getFormattedLabel(r,K),i.i(O.a)(e,r)):null;var c=P.g(l,null,!0);return f(n,a),a=i.i(H.c)(a,u,c),n&&p(a,n),a.legacy=!0,a}function p(t,e){for(var n in e)i.i(D.F)(e,n)&&(t[n]=e[n])}function f(t,e){t&&(t.textFill&&(e.textFill=t.textFill),t.textPosition&&(e.textPosition=t.textPosition))}function g(t,n){if(null==n&&(n=w),i.i(D.F)(q.c,t)){var r=e.getItemVisual(n,"style");return r?r[q.c[t]]:null}if(i.i(D.F)(q.d,t))return e.getItemVisual(n,t)}function v(t){if("cartesian2d"===_.type){var e=_.getBaseAxis();return i.i(R.d)(i.i(D.t)({axis:e},t))}}function y(){return n.getCurrentSeriesIndices()}function m(t){return P.c(t,n)}var x=t.get("renderItem"),_=t.coordinateSystem,b={};_&&(b=_.prepareCustoms?_.prepareCustoms(_):rt[_.type](_));for(var w,S,M=i.i(D.t)({getWidth:r.getWidth,getHeight:r.getHeight,getZr:r.getZr,getDevicePixelRatio:r.getDevicePixelRatio,value:l,style:c,ordinalRawValue:u,styleEmphasis:h,visual:g,barLayout:v,currentSeriesIndices:y,font:m},b.api||{}),I={context:{},seriesId:t.id,seriesName:t.name,seriesIndex:t.seriesIndex,coordSys:b.coordSys,dataInsideLength:e.count(),encode:d(t.getData())},T={},C={},k={},A={},L=0;L=0?h.replaceAt(m,d):h.add(m),m}function g(t,e,n){var r=i.i(q.b)(t),a=e.type,o=e.shape,s=e.style;return n.isUniversalTransitionEnabled()||null!=a&&a!==r.customGraphicType||"path"===a&&C(o)&&T(o)!==r.customPathData||"image"===a&&i.i(D.F)(s,"image")&&s.image!==r.customImagePath}function v(t,e,i,n,r){var a=i.clipPath;if(!1===a)t&&t.getClipPath()&&t.removeClipPath();else if(a){var l=t.getClipPath();l&&g(l,a,n)&&(l=null),l||(l=o(a),t.setClipPath(l)),s(null,l,e,a,null,n,r)}}function y(t,e,i,n,r,a){if(!t.isGroup){m(i,null,a),m(i,$,a);var u=a.normal.conOpt,c=a.emphasis.conOpt,h=a.blur.conOpt,d=a.select.conOpt;if(null!=u||null!=c||null!=d||null!=h){var p=t.getTextContent();if(!1===u)p&&t.removeTextContent();else{u=a.normal.conOpt=u||{type:"text"},p?p.clearStates():(p=o(u),t.setTextContent(p)),s(null,p,e,u,null,n,r);for(var f=u&&u.style,g=0;g=h;d--){var p=e.childAt(d);i.i(X.d)(p,i.i(q.b)(e).option,a)}}}function w(t){new N.a(t.oldChildren,t.newChildren,S,S,t).add(M).update(M).remove(I).execute()}function S(t,e){var i=t&&t.name;return null!=i?i:it+e}function M(t,e){var i=this.context,n=null!=t?i.newChildren[t]:null,r=null!=e?i.oldChildren[e]:null;f(i.api,r,i.dataIndex,n,i.seriesModel,i.group)}function I(t){var e=this.context,n=e.oldChildren[t];i.i(X.d)(n,i.i(q.b)(n).option,e.seriesModel)}function T(t){return t&&(t.pathData||t.d)}function C(t){return t&&(i.i(D.F)(t,"pathData")||i.i(D.F)(t,"d"))}var k=i(6),D=i(3),A=i(14),L=i(45),P=i(58),O=i(516),R=i(545),N=i(289),E=i(80),z=i(515),B=i(1012),F=i(1020),V=i(1040),j=i(1033),G=i(1005),W=i(167),H=i(709),Y=i(56),U=i(548),q=i(646),X=i(593),Z=i(644),$="emphasis",K="normal",Q=[K,$,"blur","select"],J={normal:["itemStyle"],emphasis:[$,"itemStyle"],blur:["blur","itemStyle"],select:["select","itemStyle"]},tt={normal:["label"],emphasis:[$,"label"],blur:["blur","label"],select:["select","label"]},et=["x","y"],it="e\0\0",nt={normal:{},emphasis:{},blur:{},select:{}},rt={cartesian2d:B.a,geo:F.a,singleAxis:V.a,polar:j.a,calendar:G.a},at=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i.i(k.a)(e,t),e.prototype.render=function(t,e,n,r){this._progressiveEls=null;var a=this._data,o=t.getData(),s=this.group,l=h(t,o,e,n);a||s.removeAll(),o.diff(a).add(function(e){p(n,null,e,l(e,r),t,s,o)}).remove(function(e){var n=a.getItemGraphicEl(e);i.i(X.d)(n,i.i(q.b)(n).option,t)}).update(function(e,i){var u=a.getItemGraphicEl(i);p(n,u,e,l(e,r),t,s,o)}).execute();var u=t.get("clip",!0)?i.i(z.a)(t.coordinateSystem,!1,t):null;u?s.setClipPath(u):s.removeClipPath(),this._data=o},e.prototype.incrementalPrepareRender=function(t,e,i){this.group.removeAll(),this._data=null},e.prototype.incrementalRender=function(t,e,i,n,r){function a(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}for(var o=e.getData(),s=h(e,o,i,n),l=this._progressiveEls=[],u=t.start;u=t&&(0===e?0:r[e-1][0]).8?"bottom":"middle",align:f<-.4?"left":f>.4?"right":"center"},{inheritColor:F}),silent:!0}))}if(S.get("show")&&N!==I){var E=S.get("distance");E=E?E+p:p;for(var V=0;V<=T;V++){f=Math.cos(D),g=Math.sin(D);var j=new s.Line({shape:{x1:f*(x-E)+y,y1:g*(x-E)+m,x2:f*(x-k-E)+y,y2:g*(x-k-E)+m},silent:!0,style:O});"auto"===O.stroke&&j.setStyle({stroke:a((N+V/T)/I)}),v.add(j),D+=L}D-=L}else D+=A}},e.prototype._renderPointer=function(t,e,n,r,a,u,c,y,m){function x(e,n){var r,s=k.getItemModel(e),l=s.getModel("pointer"),u=i.i(h.a)(l.get("width"),a.r),c=i.i(h.a)(l.get("length"),a.r),d=t.get(["pointer","icon"]),f=l.get("offsetCenter"),g=i.i(h.a)(f[0],a.r),v=i.i(h.a)(f[1],a.r),y=l.get("keepAspect");return r=d?i.i(p.a)(d,g-u/2,v-c,u,c,null,y):new o.a({shape:{angle:-Math.PI/2,width:u,r:c,x:g,y:v}}),r.rotation=-(n+Math.PI/2),r.x=a.cx,r.y=a.cy,r}function _(t,e){var i=T.get("roundCap"),n=i?d.a:s.Sector,r=T.get("overlap"),o=r?T.get("width"):m/k.count(),l=r?a.r-o:a.r-(t+1)*o,c=r?a.r:a.r-t*o,h=new n({shape:{startAngle:u,endAngle:e,cx:a.cx,cy:a.cy,clockwise:y,r0:l,r:c}});return r&&(h.z2=L-k.get(D,t)%L),h}var b=this.group,w=this._data,S=this._progressEls,M=[],I=t.get(["pointer","show"]),T=t.getModel("progress"),C=T.get("show"),k=t.getData(),D=k.mapDimension("value"),A=+t.get("min"),L=+t.get("max"),P=[A,L],O=[u,c];(C||I)&&(k.diff(w).add(function(e){var n=k.get(D,e);if(I){var r=x(e,u);s.initProps(r,{rotation:-((isNaN(+n)?O[0]:i.i(h.h)(n,P,O,!0))+Math.PI/2)},t),b.add(r),k.setItemGraphicEl(e,r)}if(C){var a=_(e,u),o=T.get("clip");s.initProps(a,{shape:{endAngle:i.i(h.h)(n,P,O,o)}},t),b.add(a),i.i(v.b)(t.seriesIndex,k.dataType,e,a),M[e]=a}}).update(function(e,n){var r=k.get(D,e);if(I){var a=w.getItemGraphicEl(n),o=a?a.rotation:u,l=x(e,o);l.rotation=o,s.updateProps(l,{rotation:-((isNaN(+r)?O[0]:i.i(h.h)(r,P,O,!0))+Math.PI/2)},t),b.add(l),k.setItemGraphicEl(e,l)}if(C){var c=S[n],d=c?c.shape.endAngle:u,p=_(e,d),f=T.get("clip");s.updateProps(p,{shape:{endAngle:i.i(h.h)(r,P,O,f)}},t),b.add(p),i.i(v.b)(t.seriesIndex,k.dataType,e,p),M[e]=p}}).execute(),k.each(function(t){var e=k.getItemModel(t),n=e.getModel("emphasis"),a=n.get("focus"),o=n.get("blurScope"),s=n.get("disabled");if(I){var u=k.getItemGraphicEl(t),c=k.getItemVisual(t,"style"),d=c.fill;if(u instanceof f.a){var p=u.style;u.useStyle(i.i(g.g)({image:p.image,x:p.x,y:p.y,width:p.width,height:p.height},c))}else u.useStyle(c),"pointer"!==u.type&&u.setColor(d);u.setStyle(e.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===u.style.fill&&u.setStyle("fill",r(i.i(h.h)(k.get(D,t),P,[0,1],!0))),u.z2EmphasisLift=0,i.i(l.F)(u,e),i.i(l.G)(u,a,o,s)}if(C){var v=M[t];v.useStyle(k.getItemVisual(t,"style")),v.setStyle(e.getModel(["progress","itemStyle"]).getItemStyle()),v.z2EmphasisLift=0,i.i(l.F)(v,e),i.i(l.G)(v,a,o,s)}}),this._progressEls=M)},e.prototype._renderAnchor=function(t,e){var n=t.getModel("anchor");if(n.get("show")){var r=n.get("size"),a=n.get("icon"),o=n.get("offsetCenter"),s=n.get("keepAspect"),l=i.i(p.a)(a,e.cx-r/2+i.i(h.a)(o[0],e.r),e.cy-r/2+i.i(h.a)(o[1],e.r),r,r,null,s);l.z2=n.get("showAbove")?1:0,l.setStyle(n.getModel("itemStyle").getItemStyle()),this.group.add(l)}},e.prototype._renderTitleAndDetail=function(t,e,n,a,o){var l=this,c=t.getData(),d=c.mapDimension("value"),p=+t.get("min"),f=+t.get("max"),g=new s.Group,v=[],y=[],m=t.isAnimationEnabled(),x=t.get(["pointer","showAbove"]);c.diff(this._data).add(function(t){v[t]=new s.Text({silent:!0}),y[t]=new s.Text({silent:!0})}).update(function(t,e){v[t]=l._titleEls[e],y[t]=l._detailEls[e]}).execute(),c.each(function(e){var n=c.getItemModel(e),l=c.get(d,e),_=new s.Group,b=a(i.i(h.h)(l,[p,f],[0,1],!0)),w=n.getModel("title");if(w.get("show")){var S=w.get("offsetCenter"),M=o.cx+i.i(h.a)(S[0],o.r),I=o.cy+i.i(h.a)(S[1],o.r),T=v[e];T.attr({z2:x?0:2,style:i.i(u.d)(w,{x:M,y:I,text:c.getName(e),align:"center",verticalAlign:"middle"},{inheritColor:b})}),_.add(T)}var C=n.getModel("detail");if(C.get("show")){var k=C.get("offsetCenter"),D=o.cx+i.i(h.a)(k[0],o.r),A=o.cy+i.i(h.a)(k[1],o.r),L=i.i(h.a)(C.get("width"),o.r),P=i.i(h.a)(C.get("height"),o.r),O=t.get(["progress","show"])?c.getItemVisual(e,"style").fill:b,T=y[e],R=C.get("formatter");T.attr({z2:x?0:2,style:i.i(u.d)(C,{x:D,y:A,text:r(l,R),width:isNaN(L)?null:L,height:isNaN(P)?null:P,align:"center",verticalAlign:"middle"},{inheritColor:O})}),i.i(u.h)(T,{normal:C},l,function(t){return r(t,R)}),m&&i.i(u.b)(T,e,c,t,{getFormattedLabel:function(t,e,i,n,a,o){return r(o?o.interpolatedValue:l,R)}}),_.add(T)}g.add(_)}),this.group.add(g),this._titleEls=v,this._detailEls=y},e.type="gauge",e}(c.a);e.a=m},829:function(t,e,i){"use strict";var n=i(6),r=i(76),a=function(){function t(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0}return t}(),o=function(t){function e(e){var i=t.call(this,e)||this;return i.type="pointer",i}return i.i(n.a)(e,t),e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){var i=Math.cos,n=Math.sin,r=e.r,a=e.width,o=e.angle,s=e.x-i(o)*a*(a>=r/3?1:2),l=e.y-n(o)*a*(a>=r/3?1:2);o=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+i(o)*a,e.y+n(o)*a),t.lineTo(e.x+i(e.angle)*r,e.y+n(e.angle)*r),t.lineTo(e.x-i(o)*a,e.y-n(o)*a),t.lineTo(s,l)},e}(r.a);e.a=o},830:function(t,e,i){"use strict";function n(t){t.registerChartView(r.a),t.registerSeriesModel(a.a)}e.a=n;var r=i(828),a=i(827)},831:function(t,e,i){"use strict";var n=i(6),r=i(164),a=i(3),o=i(13),s=i(85),l=i(651),u=i(525),c=i(79),h=i(149),d=i(681),p=i(536),f=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.hasSymbolVisual=!0,i}return i.i(n.a)(e,t),e.prototype.init=function(e){function i(){return n._categoriesData}t.prototype.init.apply(this,arguments);var n=this;this.legendVisualProvider=new u.a(i,i),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},e.prototype.mergeDefaultAndTheme=function(e){t.prototype.mergeDefaultAndTheme.apply(this,arguments),i.i(o.e)(e,"edgeLabel",["show"])},e.prototype.getInitialData=function(t,e){function n(t,e){function i(t,e){var i=r.call(this,t,e);return i.resolveParentPath=n,i}function n(t){if(t&&("label"===t[0]||"label"===t[1])){var e=t.slice();return"label"===t[0]?e[0]="edgeLabel":"label"===t[1]&&(e[1]="edgeLabel"),e}return t}t.wrapMethod("getItemModel",function(t){var e=u._categoriesModels,i=t.getShallow("category"),n=e[i];return n&&(n.parentModel=t.parentModel,t.parentModel=n),t});var r=s.a.prototype.getModel;e.wrapMethod("getItemModel",function(t){return t.resolveParentPath=n,t.getModel=i,t})}var r=t.edges||t.links||[],o=t.data||t.nodes||[],u=this;if(o&&r){i.i(p.b)(this);var c=i.i(l.a)(o,r,this,!0,n);return a.d(c.edges,function(t){i.i(p.c)(t.node1,t.node2,this,t.dataIndex)},this),c.data}},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.getCategoriesData=function(){return this._categoriesData},e.prototype.formatTooltip=function(t,e,n){if("edge"===n){var r=this.getData(),a=this.getDataParams(t,n),o=r.graph.getEdgeByIndex(t),s=r.getName(o.node1.dataIndex),l=r.getName(o.node2.dataIndex),u=[];return null!=s&&u.push(s),null!=l&&u.push(l),i.i(h.b)("nameValue",{name:u.join(" > "),value:a.value,noValue:null==a.value})}return i.i(d.a)({series:this,dataIndex:t,multipleSeries:e})},e.prototype._updateCategoriesData=function(){var t=a.p(this.option.categories||[],function(t){return null!=t.value?t:a.g({value:0},t)}),e=new r.a(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray(function(t){return e.getItemModel(t)})},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.isAnimationEnabled=function(){return t.prototype.isAnimationEnabled.call(this)&&!("force"===this.get("layout")&&this.get(["force","layoutAnimation"]))},e.type="series.graph",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(c.b);e.a=f},832:function(t,e,i){"use strict";function n(t){return"view"===t.type}var r=i(6),a=i(3),o=i(514),s=i(596),l=i(518),u=i(603),c=i(539),h=i(14),d=i(833),p=i(594),f=i(80),g=i(66),v=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i.i(r.a)(e,t),e.prototype.init=function(t,e){var i=new o.a,n=new s.a,r=this.group;this._controller=new l.a(e.getZr()),this._controllerHost={target:r},r.add(i.group),r.add(n.group),this._symbolDraw=i,this._lineDraw=n,this._firstRender=!0},e.prototype.render=function(t,e,r){var o=this,s=t.coordinateSystem;this._model=t;var l=this._symbolDraw,u=this._lineDraw,c=this.group;if(n(s)){var f={x:s.x,y:s.y,scaleX:s.scaleX,scaleY:s.scaleY};this._firstRender?c.attr(f):h.updateProps(c,f,t)}i.i(d.a)(t.getGraph(),i.i(p.a)(t));var v=t.getData();l.updateData(v);var y=t.getEdgeData();u.updateData(y),this._updateNodeAndLinkScale(),this._updateController(t,e,r),clearTimeout(this._layoutTimeout);var m=t.forceLayout,x=t.get(["force","layoutAnimation"]);m&&this._startForceLayoutIteration(m,x),v.graph.eachNode(function(t){var e=t.dataIndex,n=t.getGraphicEl(),r=t.getModel();if(n){n.off("drag").off("dragend");var a=r.get("draggable");a&&n.on("drag",function(){m&&(m.warmUp(),!o._layouting&&o._startForceLayoutIteration(m,x),m.setFixed(e),v.setItemLayout(e,[n.x,n.y]))}).on("dragend",function(){m&&m.setUnfixed(e)}),n.setDraggable(a&&!!m);"adjacency"===r.get(["emphasis","focus"])&&(i.i(g.a)(n).focus=t.getAdjacentDataIndices())}}),v.graph.eachEdge(function(t){var e=t.getGraphicEl(),n=t.getModel().get(["emphasis","focus"]);e&&"adjacency"===n&&(i.i(g.a)(e).focus={edge:[t.dataIndex],node:[t.node1.dataIndex,t.node2.dataIndex]})});var _="circular"===t.get("layout")&&t.get(["circular","rotateLabel"]),b=v.getLayout("cx"),w=v.getLayout("cy");v.eachItemGraphicEl(function(t,e){var i=v.getItemModel(e),n=i.get(["label","rotate"])||0,r=t.getSymbolPath();if(_){var o=v.getItemLayout(e),s=Math.atan2(o[1]-w,o[0]-b);s<0&&(s=2*Math.PI+s);var l=o[0]=0?n+=g:n-=g:_>=0?n-=g:n+=g}return n}function r(t,e){var r=[],l=a.l,u=[[],[],[]],c=[[],[]],h=[];e/=2,t.eachEdge(function(t,a){var d=t.getLayout(),p=t.getVisual("fromSymbol"),f=t.getVisual("toSymbol");d.__original||(d.__original=[o.g(d[0]),o.g(d[1])],d[2]&&d.__original.push(o.g(d[2])));var g=d.__original;if(null!=d[2]){if(o.n(u[0],g[0]),o.n(u[1],g[2]),o.n(u[2],g[1]),p&&"none"!==p){var v=i.i(s.b)(t.node1),y=n(u,g[0],v*e);l(u[0][0],u[1][0],u[2][0],y,r),u[0][0]=r[3],u[1][0]=r[4],l(u[0][1],u[1][1],u[2][1],y,r),u[0][1]=r[3],u[1][1]=r[4]}if(f&&"none"!==f){var v=i.i(s.b)(t.node2),y=n(u,g[1],v*e);l(u[0][0],u[1][0],u[2][0],y,r),u[1][0]=r[1],u[2][0]=r[2],l(u[0][1],u[1][1],u[2][1],y,r),u[1][1]=r[1],u[2][1]=r[2]}o.n(d[0],u[0]),o.n(d[1],u[2]),o.n(d[2],u[1])}else{if(o.n(c[0],g[0]),o.n(c[1],g[1]),o.h(h,c[1],c[0]),o.f(h,h),p&&"none"!==p){var v=i.i(s.b)(t.node1);o.o(c[0],c[0],h,v*e)}if(f&&"none"!==f){var v=i.i(s.b)(t.node2);o.o(c[1],c[1],h,-v*e)}o.n(d[0],c[0]),o.n(d[1],c[1])}})}e.a=r;var a=i(159),o=i(75),s=i(594),l=[],u=[],c=[],h=a.f,d=o.b,p=Math.abs},834:function(t,e,i){"use strict";function n(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.eachSeriesByType("graph",function(t){var n=t.getCategoriesData(),a=t.getGraph(),o=a.data,s=n.mapArray(n.getName);o.filterSelf(function(t){var n=o.getItemModel(t),a=n.getShallow("category");if(null!=a){i.i(r.n)(a)&&(a=s[a]);for(var l=0;l0){var C=a(m)?s:l;m>0&&(m=m*I+S),_[b++]=C[T],_[b++]=C[T+1],_[b++]=C[T+2],_[b++]=C[T+3]*m*256}else b+=4}return h.putImageData(x,0,0),c},t.prototype._getBrush=function(){var t=this._brushCanvas||(this._brushCanvas=n.a.createCanvas()),e=this.pointSize+this.blurSize,i=2*e;t.width=i,t.height=i;var r=t.getContext("2d");return r.clearRect(0,0,i,i),r.shadowOffsetX=i,r.shadowBlur=this.blurSize,r.shadowColor="#000",r.beginPath(),r.arc(-e,e,this.pointSize,0,2*Math.PI,!0),r.closePath(),r.fill(),t},t.prototype._getGradient=function(t,e){for(var i=this._gradientPixels,n=i[e]||(i[e]=new Uint8ClampedArray(1024)),r=[0,0,0,0],a=0,o=0;o<256;o++)t[e](o/255,!0,r),n[a++]=r[0],n[a++]=r[1],n[a++]=r[2],n[a++]=r[3];return n},t}();e.a=r},844:function(t,e,i){"use strict";var n=i(6),r=i(79),a=i(219),o=i(520),s=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i.i(n.a)(e,t),e.prototype.getInitialData=function(t,e){return i.i(a.a)(null,this,{generateCoord:"value"})},e.prototype.preventIncremental=function(){var t=o.a.get(this.get("coordinateSystem"));if(t&&t.dimensions)return"lng"===t.dimensions[0]&&"lat"===t.dimensions[1]},e.type="series.heatmap",e.dependencies=["grid","geo","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},e}(r.b);e.a=s},845:function(t,e,i){"use strict";function n(t,e,i){var n=t[1]-t[0];e=c.p(e,function(e){return{interval:[(e.interval[0]-t[0])/n,(e.interval[1]-t[0])/n]}});var r=e.length,a=0;return function(t){var n;for(n=a;n=0;n--){var o=e[n].interval;if(o[0]<=t&&t<=o[1]){a=n;break}}return n>=0&&n=e[0]&&t<=e[1]}}function a(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}var o=i(6),s=i(14),l=i(45),u=i(843),c=i(3),h=i(80),d=i(519),p=i(58),f=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i.i(o.a)(e,t),e.prototype.render=function(t,e,i){var n;e.eachComponent("visualMap",function(e){e.eachTargetSeries(function(i){i===t&&(n=e)})}),this._progressiveEls=null,this.group.removeAll();var r=t.coordinateSystem;"cartesian2d"===r.type||"calendar"===r.type?this._renderOnCartesianAndCalendar(t,i,0,t.getData().count()):a(r)&&this._renderOnGeo(r,t,n,i)},e.prototype.incrementalPrepareRender=function(t,e,i){this.group.removeAll()},e.prototype.incrementalRender=function(t,e,i,n){var r=e.coordinateSystem;r&&(a(r)?this.render(e,i,n):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(e,n,t.start,t.end,!0)))},e.prototype.eachRendered=function(t){s.traverseElements(this._progressiveEls||this.group,t)},e.prototype._renderOnCartesianAndCalendar=function(t,e,n,r,a){var o,u,c,h,f=t.coordinateSystem,g=i.i(d.a)(f,"cartesian2d");if(g){var v=f.getAxis("x"),y=f.getAxis("y");o=v.getBandWidth()+.5,u=y.getBandWidth()+.5,c=v.scale.getExtent(),h=y.scale.getExtent()}for(var m=this.group,x=t.getData(),_=t.getModel(["emphasis","itemStyle"]).getItemStyle(),b=t.getModel(["blur","itemStyle"]).getItemStyle(),w=t.getModel(["select","itemStyle"]).getItemStyle(),S=t.get(["itemStyle","borderRadius"]),M=i.i(p.f)(t),I=t.getModel("emphasis"),T=I.get("focus"),C=I.get("blurScope"),k=I.get("disabled"),D=g?[x.mapDimension("x"),x.mapDimension("y"),x.mapDimension("value")]:[x.mapDimension("time"),x.mapDimension("value")],A=n;Ac[1]||Rh[1])continue;var N=f.dataToPoint([O,R]);L=new s.Rect({shape:{x:N[0]-o/2,y:N[1]-u/2,width:o,height:u},style:P})}else{if(isNaN(x.get(D[1],A)))continue;L=new s.Rect({z2:1,shape:f.dataToRect([x.get(D[0],A)]).contentShape,style:P})}if(x.hasItemOption){var E=x.getItemModel(A),z=E.getModel("emphasis");_=z.getModel("itemStyle").getItemStyle(),b=E.getModel(["blur","itemStyle"]).getItemStyle(),w=E.getModel(["select","itemStyle"]).getItemStyle(),S=E.get(["itemStyle","borderRadius"]),T=z.get("focus"),C=z.get("blurScope"),k=z.get("disabled"),M=i.i(p.f)(E)}L.shape.r=S;var B=t.getRawValue(A),F="-";B&&null!=B[2]&&(F=B[2]+""),i.i(p.e)(L,M,{labelFetcher:t,labelDataIndex:A,defaultOpacity:P.opacity,defaultText:F}),L.ensureState("emphasis").style=_,L.ensureState("blur").style=b,L.ensureState("select").style=w,i.i(l.G)(L,T,C,k),L.incremental=a,a&&(L.states.emphasis.hoverLayer=!0),m.add(L),x.setItemGraphicEl(A,L),this._progressiveEls&&this._progressiveEls.push(L)}},e.prototype._renderOnGeo=function(t,e,i,a){var o=i.targetVisuals.inRange,l=i.targetVisuals.outOfRange,c=e.getData(),h=this._hmLayer||this._hmLayer||new u.a;h.blurSize=e.get("blurSize"),h.pointSize=e.get("pointSize"),h.minOpacity=e.get("minOpacity"),h.maxOpacity=e.get("maxOpacity");var d=t.getViewRect().clone(),p=t.getRoamTransform();d.applyTransform(p);var f=Math.max(d.x,0),g=Math.max(d.y,0),v=Math.min(d.width+d.x,a.getWidth()),y=Math.min(d.height+d.y,a.getHeight()),m=v-f,x=y-g,_=[c.mapDimension("lng"),c.mapDimension("lat"),c.mapDimension("value")],b=c.mapArray(_,function(e,i,n){var r=t.dataToPoint([e,i]);return r[0]-=f,r[1]-=g,r.push(n),r}),w=i.getExtent(),S="visualMap.continuous"===i.type?r(w,i.option.range):n(w,i.getPieceList(),i.option.selected);h.update(b,m,x,o.color.getNormalizer(),{inRange:o.color.getColorMapper(),outOfRange:l.color.getColorMapper()},S);var M=new s.Image({style:{width:m,height:x,x:f,y:g,image:h.canvas},silent:!0});this.group.add(M)},e.type="heatmap",e}(h.a);e.a=f},846:function(t,e,i){"use strict";function n(t){t.registerChartView(r.a),t.registerSeriesModel(a.a)}e.a=n;var r=i(845),a=i(844)},847:function(t,e,i){"use strict";var n=i(6),r=i(650),a=i(649),o=i(75),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._lastFrame=0,e._lastFramePercent=0,e}return i.i(n.a)(e,t),e.prototype.createLine=function(t,e,i){return new r.a(t,e,i)},e.prototype._updateAnimationPoints=function(t,e){this._points=e;for(var i=[0],n=0,r=1;r=0&&!(n[a]<=e);a--);a=Math.min(a,r-2)}else{for(a=o;ae);a++);a=Math.min(a-1,r-2)}var l=(e-n[a])/(n[a+1]-n[a]),u=i[a],c=i[a+1];t.x=u[0]*(1-l)+l*c[0],t.y=u[1]*(1-l)+l*c[1];var h=c[0]-u[0],d=c[1]-u[1];t.rotation=-Math.atan2(d,h)-Math.PI/2,this._lastFrame=a,this._lastFramePercent=e,t.ignore=!1}},e}(a.a);e.a=s},848:function(t,e,i){"use strict";function n(t,e){var i=e.rippleEffectColor||e.color;t.eachChild(function(t){t.attr({z:e.z,zlevel:e.zlevel,style:{stroke:"stroke"===e.brushType?i:null,fill:"fill"===e.brushType?i:null}})})}var r=i(6),a=i(105),o=i(14),s=i(45),l=i(535),u=function(t){function e(e,i){var n=t.call(this)||this,r=new l.a(e,i),a=new o.Group;return n.add(r),n.add(a),n.updateData(e,i),n}return i.i(r.a)(e,t),e.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},e.prototype.startEffectAnimation=function(t){for(var e=t.symbolType,r=t.color,o=t.rippleNumber,s=this.childAt(1),l=0;l0){t.moveTo(n[i++],n[i++]);for(var o=1;o0){var h=(s+u)/2-(l-c)*r,d=(l+c)/2-(u-s)*r;t.quadraticCurveTo(h,d,u,c)}else t.lineTo(u,c)}this.incremental&&(this._off=i,this.notClear=!0)},e.prototype.findDataIndex=function(t,e){var i=this.shape,n=i.segs,r=i.curveness,s=this.style.lineWidth;if(i.polyline)for(var l=0,u=0;u0)for(var h=n[u++],d=n[u++],p=1;p0){var v=(h+f)/2-(d-g)*r,y=(d+g)/2-(f-h)*r;if(o.a(h,d,v,y,f,g,s,t,e))return l}else if(a.a(h,d,f,g,s,t,e))return l;l++}return-1},e.prototype.contain=function(t,e){var i=this.transformCoordToLocal(t,e),n=this.getBoundingRect();if(t=i[0],e=i[1],n.contain(t,e)){return(this.hoverDataIdx=this.findDataIndex(t,e))>=0}return this.hoverDataIdx=-1,!1},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape,i=e.segs,n=1/0,a=1/0,o=-1/0,s=-1/0,l=0;l0&&(o.dataIndex=i+t.__startIndex)})},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}();e.a=c},85:function(t,e,i){"use strict";var n=i(91),r=i(262),a=i(1066),o=i(1067),s=i(704),l=i(703),u=i(3),c=function(){function t(t,e,i){this.parentModel=e,this.ecModel=i,this.option=t}return t.prototype.init=function(t,e,i){for(var n=[],r=3;r=0;s--){var l=2*s,u=n[l]-a/2,c=n[l+1]-o/2;if(t>=u&&e>=c&&t<=u+a&&e<=c+o)return s}return-1},e.prototype.contain=function(t,e){var i=this.transformCoordToLocal(t,e),n=this.getBoundingRect();if(t=i[0],e=i[1],n.contain(t,e)){return(this.hoverDataIdx=this.findDataIndex(t,e))>=0}return this.hoverDataIdx=-1,!1},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape,i=e.points,n=e.size,a=n[0],o=n[1],s=1/0,l=1/0,u=-1/0,c=-1/0,h=0;h=0&&(h.dataIndex=i+(t.startIndex||0))})},t.prototype.remove=function(){this._clear()},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}();e.a=u},851:function(t,e,i){"use strict";function n(t){return isNaN(+t.cpx1)||isNaN(+t.cpy1)}var r=i(6),a=i(14),o=i(75),s=a.Line.prototype,l=a.BezierCurve.prototype,u=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return t}(),c=(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}i.i(r.a)(e,t)}(u),function(t){function e(e){var i=t.call(this,e)||this;return i.type="ec-line",i}return i.i(r.a)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new u},e.prototype.buildPath=function(t,e){n(e)?s.buildPath.call(this,t,e):l.buildPath.call(this,t,e)},e.prototype.pointAt=function(t){return n(this.shape)?s.pointAt.call(this,t):l.pointAt.call(this,t)},e.prototype.tangentAt=function(t){var e=this.shape,i=n(e)?[e.x2-e.x1,e.y2-e.y1]:l.tangentAt.call(this,t);return o.f(i,i)},e}(a.Path));e.a=c},852:function(t,e,i){"use strict";var n=i(6),r=i(219),a=i(79),o=i(105),s=i(14),l=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.hasSymbolVisual=!0,i}return i.i(n.a)(e,t),e.prototype.getInitialData=function(t){return i.i(r.a)(null,this,{useEncodeDefaulter:!0})},e.prototype.getLegendIcon=function(t){var e=new s.Group,n=i.i(o.a)("line",0,t.itemHeight/2,t.itemWidth,0,t.lineStyle.stroke,!1);e.add(n),n.setStyle(t.lineStyle);var r=this.getData().getVisual("symbol"),a=this.getData().getVisual("symbolRotate"),l="none"===r?"circle":r,u=.8*t.itemHeight,c=i.i(o.a)(l,(t.itemWidth-u)/2,(t.itemHeight-u)/2,u,u,t.itemStyle.fill);e.add(c),c.setStyle(t.itemStyle);var h="inherit"===t.iconRotate?a:t.iconRotate||0;return c.rotation=h*Math.PI/180,c.setOrigin([t.itemWidth/2,t.itemHeight/2]),l.indexOf("empty")>-1&&(c.style.stroke=c.style.fill,c.style.fill="#fff",c.style.lineWidth=2),e},e.type="series.line",e.dependencies=["grid","polar"],e.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},e}(a.b);e.a=l},853:function(t,e,i){"use strict";function n(t,e){if(t.length===e.length){for(var i=0;ie){a?o.push(n(a,u,e)):r&&o.push(n(r,u,0),n(r,u,e));break}r&&(o.push(n(r,u,0)),r=null),o.push(u),a=u}}return o}function c(t,e,i){var n=t.getVisual("visualMeta");if(n&&n.length&&t.count()&&"cartesian2d"===e.type){for(var r,a,o=n.length-1;o>=0;o--){var s=t.getDimensionInfo(n[o].dimension);if("x"===(r=s&&s.coordDim)||"y"===r){a=n[o];break}}if(a){var l=e.getAxis(r),c=b.p(a.stops,function(t){return{coord:l.toGlobalCoord(l.dataToCoord(t.value)),color:t.color}}),h=c.length,d=a.outerColors.slice();h&&c[0].coord>c[h-1].coord&&(c.reverse(),d.reverse());var p=u(c,"x"===r?i.getWidth():i.getHeight()),f=p.length;if(!f&&h)return c[0].coord<0?d[1]?d[1]:c[h-1].color:d[0]?d[0]:c[0].color;var g=p[0].coord-10,v=p[f-1].coord+10,y=v-g;if(y<.001)return"transparent";b.d(p,function(t){t.offset=(t.coord-g)/y}),p.push({offset:f?p[f-1].offset:.5,color:d[1]||"transparent"}),p.unshift({offset:f?p[0].offset:.5,color:d[0]||"transparent"});var m=new I.LinearGradient(0,0,0,0,p,!0);return m[r]=g,m[r+"2"]=v,m}}}function h(t,e,i){var n=t.get("showAllSymbol"),r="auto"===n;if(!n||r){var a=i.getAxesByScale("ordinal")[0];if(a&&(!r||!d(a,e))){var o=e.mapDimension(a.dim),s={};return b.d(a.getViewLabels(),function(t){var e=a.scale.getRawOrdinalNumber(t.tickValue);s[e]=1}),function(t){return!s.hasOwnProperty(e.get(o,t))}}}}function d(t,e){var i=t.getExtent(),n=Math.abs(i[1]-i[0])/t.scale.count();isNaN(n)&&(n=0);for(var r=e.count(),a=Math.max(1,Math.round(r/5)),o=0;on)return!1;return!0}function p(t,e){return isNaN(t)||isNaN(e)}function f(t){for(var e=t.length/2;e>0&&p(t[2*e-2],t[2*e-1]);e--);return e-1}function g(t,e){return[t[2*e],t[2*e+1]]}function v(t,e,i){for(var n,r,a=t.length/2,o="x"===i?0:1,s=0,l=-1,u=0;u=e||n>=e&&r<=e){l=u;break}s=u,n=r}else n=r;return{range:[s,l],t:(e-n)/(r-n)}}function y(t){if(t.get(["endLabel","show"]))return!0;for(var e=0;e0&&"bolder"===t.get(["emphasis","lineStyle","width"])){w.getState("emphasis").style.lineWidth=+w.style.lineWidth+1}i.i(N.a)(w).seriesIndex=t.seriesIndex,i.i(P.G)(w,Y,U,q);var X=o(t.get("smooth")),Z=t.get("smoothMonotone");if(w.setShape({smooth:X,smoothMonotone:Z,connectNulls:R}),S){var $=p.getCalculationInfo("stackedOnSeries"),K=0;S.useStyle(b.t(g.getAreaStyle(),{fill:j,opacity:.7,lineJoin:"bevel",decal:p.getVisual("style").decal})),$&&(K=o($.get("smooth"))),S.setShape({smooth:X,stackedOnSmooth:K,smoothMonotone:Z,connectNulls:R}),i.i(P.F)(S,t,"areaStyle"),i.i(N.a)(S).seriesIndex=t.seriesIndex,i.i(P.G)(S,Y,U,q)}var Q=function(t){a._changePolyState(t)};p.eachItemGraphicEl(function(t){t&&(t.onHoverStateChange=Q)}),this._polyline.onHoverStateChange=Q,this._data=p,this._coordSys=u,this._stackedOnPoints=L,this._points=v,this._step=V,this._valueOrigin=k,t.get("triggerLineEvent")&&(this.packEventData(t,w),S&&this.packEventData(t,S))},e.prototype.packEventData=function(t,e){i.i(N.a)(e).eventData={componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line"}},e.prototype.highlight=function(t,e,i,n){var r=t.getData(),a=T.c(r,n);if(this._changePolyState("emphasis"),!(a instanceof Array)&&null!=a&&a>=0){var o=r.getLayout("points"),s=r.getItemGraphicEl(a);if(!s){var l=o[2*a],u=o[2*a+1];if(isNaN(l)||isNaN(u))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,u))return;var c=t.get("zlevel"),h=t.get("z");s=new S.a(r,a),s.x=l,s.y=u,s.setZ(c,h);var d=s.getSymbolPath().getTextContent();d&&(d.zlevel=c,d.z=h,d.z2=this._polyline.z2+1),s.__temp=!0,r.setItemGraphicEl(a,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else k.a.prototype.highlight.call(this,t,e,i,n)},e.prototype.downplay=function(t,e,i,n){var r=t.getData(),a=T.c(r,n);if(this._changePolyState("normal"),null!=a&&a>=0){var o=r.getItemGraphicEl(a);o&&(o.__temp?(r.setItemGraphicEl(a,null),this.group.remove(o)):o.downplay())}else k.a.prototype.downplay.call(this,t,e,i,n)},e.prototype._changePolyState=function(t){var e=this._polygon;i.i(P.L)(this._polyline,t),e&&i.i(P.L)(e,t)},e.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new C.b({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(e),this._polyline=e,e},e.prototype._newPolygon=function(t,e){var i=this._polygon;return i&&this._lineGroup.remove(i),i=new C.a({shape:{points:t,stackedOnPoints:e},segmentIgnoreThreshold:2}),this._lineGroup.add(i),this._polygon=i,i},e.prototype._initSymbolLabelAnimation=function(t,e,i){var n,r,a=e.getBaseAxis(),o=a.inverse;"cartesian2d"===e.type?(n=a.isHorizontal(),r=!1):"polar"===e.type&&(n="angle"===a.dim,r=!0);var s=t.hostModel,l=s.get("animationDuration");b.a(l)&&(l=l(null));var u=s.get("animationDelay")||0,c=b.a(u)?u(null):u;t.eachItemGraphicEl(function(t,a){var s=t;if(s){var h=[t.x,t.y],d=void 0,p=void 0,f=void 0;if(i)if(r){var g=i,v=e.pointToCoord(h);n?(d=g.startAngle,p=g.endAngle,f=-v[1]/180*Math.PI):(d=g.r0,p=g.r,f=v[0])}else{var y=i;n?(d=y.x,p=y.x+y.width,f=t.x):(d=y.y+y.height,p=y.y,f=t.y)}var m=p===d?0:(f-d)/(p-d);o&&(m=1-m);var x=b.a(u)?u(a):l*m+c,_=s.getSymbolPath(),w=_.getTextContent();s.attr({scaleX:0,scaleY:0}),s.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:x}),w&&w.animateFrom({style:{opacity:0}},{duration:300,delay:x}),_.disableLabelAnimation=!0}})},e.prototype._initOrUpdateEndLabel=function(t,e,n){var r=t.getModel("endLabel");if(y(t)){var a=t.getData(),o=this._polyline,s=a.getLayout("points");if(!s)return o.removeTextContent(),void(this._endLabel=null);var l=this._endLabel;l||(l=this._endLabel=new I.Text({z2:200}),l.ignoreClip=!0,o.setTextContent(this._endLabel),o.disableLabelAnimation=!0);var u=f(s);u>=0&&(i.i(O.e)(o,i.i(O.f)(t,"endLabel"),{inheritColor:n,labelFetcher:t,labelDataIndex:u,defaultText:function(t,e,n){return null!=n?i.i(R.b)(a,n):i.i(R.a)(a,t)},enableTextSetter:!0},x(r,e)),o.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(t,e,n,r,a,o,s){var l=this._endLabel,u=this._polyline;if(l){t<1&&null==r.originalX&&(r.originalX=l.x,r.originalY=l.y);var c=n.getLayout("points"),h=n.hostModel,d=h.get("connectNulls"),p=o.get("precision"),f=o.get("distance")||0,y=s.getBaseAxis(),m=y.isHorizontal(),x=y.inverse,_=e.shape,b=x?m?_.x:_.y+_.height:m?_.x+_.width:_.y,w=(m?f:0)*(x?-1:1),S=(m?0:-f)*(x?-1:1),M=m?"x":"y",I=v(c,b,M),C=I.range,k=C[1]-C[0],D=void 0;if(k>=1){if(k>1&&!d){var A=g(c,C[0]);l.attr({x:A[0]+w,y:A[1]+S}),a&&(D=h.getRawValue(C[0]))}else{var A=u.getPointOn(b,M);A&&l.attr({x:A[0]+w,y:A[1]+S});var L=h.getRawValue(C[0]),P=h.getRawValue(C[1]);a&&(D=T.b(n,p,L,P,I.t))}r.lastFrameIndex=C[0]}else{var R=1===t||r.lastFrameIndex>0?C[0]:0,A=g(c,R);a&&(D=h.getRawValue(R)),l.attr({x:A[0]+w,y:A[1]+S})}a&&i.i(O.a)(l).setLabelText(D)}},e.prototype._doUpdateAnimation=function(t,e,n,r,o,s,u){var c=this._polyline,h=this._polygon,d=t.hostModel,p=i.i(M.a)(this._data,t,this._stackedOnPoints,e,this._coordSys,n,this._valueOrigin,s),f=p.current,g=p.stackedOnCurrent,v=p.next,y=p.stackedOnNext;if(o&&(f=l(p.current,n,o,u),g=l(p.stackedOnCurrent,n,o,u),v=l(p.next,n,o,u),y=l(p.stackedOnNext,n,o,u)),a(f,v)>3e3||h&&a(g,y)>3e3)return c.stopAnimation(),c.setShape({points:v}),void(h&&(h.stopAnimation(),h.setShape({points:v,stackedOnPoints:y})));c.shape.__points=p.current,c.shape.points=f;var m={shape:{points:v}};p.current!==f&&(m.shape.__points=p.next),c.stopAnimation(),I.updateProps(c,m,d),h&&(h.setShape({points:f,stackedOnPoints:g}),h.stopAnimation(),I.updateProps(h,{shape:{stackedOnPoints:y}},d),c.shape.points!==h.shape.points&&(h.shape.points=c.shape.points));for(var x=[],_=p.status,b=0;b<_.length;b++){if("="===_[b].cmd){var w=t.getItemGraphicEl(_[b].idx1);w&&x.push({el:w,ptIdx:b})}}c.animators&&c.animators.length&&c.animators[0].during(function(){h&&h.dirtyShape();for(var t=c.shape.__points,e=0;e ")})},e.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},e.prototype.getZLevelKey=function(){var t=this.getModel("effect"),e=t.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:t.get("show")&&e>0?e+"":""},e.type="series.lines",e.dependencies=["grid","polar","geo","calendar"],e.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},e}(a.b);e.a=h},857:function(t,e,i){"use strict";var n=i(6),r=i(596),a=i(649),o=i(595),s=i(650),l=i(847),u=i(849),c=i(657),h=i(515),d=i(80),p=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i.i(n.a)(e,t),e.prototype.render=function(t,e,n){var r=t.getData(),a=this._updateLineDraw(r,t),o=t.get("zlevel"),s=t.get(["effect","trailLength"]),l=n.getZr(),u="svg"===l.painter.getType();u||l.painter.getLayer(o).clear(!0),null==this._lastZlevel||u||l.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(t)&&s>0&&(u||l.configLayer(o,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(s/10+.9,1),0)})),a.updateData(r);var c=t.get("clip",!0)&&i.i(h.a)(t.coordinateSystem,!1,t);c?this.group.setClipPath(c):this.group.removeClipPath(),this._lastZlevel=o,this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,i){var n=t.getData();this._updateLineDraw(n,t).incrementalPrepareUpdate(n),this._clearLayer(i),this._finished=!1},e.prototype.incrementalRender=function(t,e,i){this._lineDraw.incrementalUpdate(t,e.getData()),this._finished=t.end===e.getData().count()},e.prototype.eachRendered=function(t){this._lineDraw&&this._lineDraw.eachRendered(t)},e.prototype.updateTransform=function(t,e,i){var n=t.getData(),r=t.pipelineContext;if(!this._finished||r.large||r.progressiveRender)return{update:!0};var a=c.a.reset(t,e,i);a.progress&&a.progress({start:0,end:n.count(),count:n.count()},n),this._lineDraw.updateLayout(),this._clearLayer(i)},e.prototype._updateLineDraw=function(t,e){var i=this._lineDraw,n=this._showEffect(e),c=!!e.get("polyline"),h=e.pipelineContext,d=h.large;return i&&n===this._hasEffet&&c===this._isPolyline&&d===this._isLargeDraw||(i&&i.remove(),i=this._lineDraw=d?new u.a:new r.a(c?n?l.a:s.a:n?a.a:o.a),this._hasEffet=n,this._isPolyline=c,this._isLargeDraw=d),this.group.add(i.group),i},e.prototype._showEffect=function(t){return!!t.get(["effect","show"])},e.prototype._clearLayer=function(t){var e=t.getZr();"svg"===e.painter.getType()||null==this._lastZlevel||e.painter.getLayer(this._lastZlevel).clear(!0)},e.prototype.remove=function(t,e){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(e)},e.prototype.dispose=function(t,e){this.remove(t,e)},e.type="lines",e}(d.a);e.a=p},858:function(t,e,i){"use strict";function n(t){t.registerChartView(r.a),t.registerSeriesModel(a.a),t.registerLayout(o.a),t.registerVisual(s.a)}e.a=n;var r=i(857),a=i(856),o=i(657),s=i(859)},859:function(t,e,i){"use strict";function n(t){return t instanceof Array||(t=[t,t]),t}var r={seriesType:"lines",reset:function(t){function e(t,e){var i=t.getItemModel(e),r=n(i.getShallow("symbol",!0)),a=n(i.getShallow("symbolSize",!0));r[0]&&t.setItemVisual(e,"fromSymbol",r[0]),r[1]&&t.setItemVisual(e,"toSymbol",r[1]),a[0]&&t.setItemVisual(e,"fromSymbolSize",a[0]),a[1]&&t.setItemVisual(e,"toSymbolSize",a[1])}var i=n(t.get("symbol")),r=n(t.get("symbolSize")),a=t.getData();return a.setVisual("fromSymbol",i&&i[0]),a.setVisual("toSymbol",i&&i[1]),a.setVisual("fromSymbolSize",r&&r[0]),a.setVisual("toSymbolSize",r&&r[1]),{dataEach:a.hasItemOption?e:null}}};e.a=r},860:function(t,e,i){"use strict";var n=i(6),r=i(3),a=i(474),o=i(79),s=i(478),l=i(261),u=i(149),c=i(105),h=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.needsDrawMap=!1,i.seriesGroup=[],i.getTooltipPosition=function(t){if(null!=t){var e=this.getData().getName(t),i=this.coordinateSystem,n=i.getRegion(e);return n&&i.dataToPoint(n.getCenter())}},i}return i.i(n.a)(e,t),e.prototype.getInitialData=function(t){for(var e=i.i(a.a)(this,{coordDimensions:["value"],encodeDefaulter:r.I(l.g,this)}),n=r.k(),o=[],u=0,c=e.count();u-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n},e.type="series.map",e.dependencies=["geo"],e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},e}(o.b);e.a=h},861:function(t,e,i){"use strict";var n=i(6),r=i(14),a=i(671),o=i(80),s=i(58),l=i(45),u=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i.i(n.a)(e,t),e.prototype.render=function(t,e,i,n){if(!n||"mapToggleSelect"!==n.type||n.from!==this.uid){var r=this.group;if(r.removeAll(),!t.getHostGeoModel()){if(this._mapDraw&&n&&"geoRoam"===n.type&&this._mapDraw.resetForLabelLayout(),n&&"geoRoam"===n.type&&"series"===n.componentType&&n.seriesId===t.id){var o=this._mapDraw;o&&r.add(o.group)}else if(t.needsDrawMap){var o=this._mapDraw||new a.a(i);r.add(o.group),o.draw(t,e,i,this,n),this._mapDraw=o}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;t.get("showLegendSymbol")&&e.getComponent("legend")&&this._renderSymbols(t,e,i)}}},e.prototype.remove=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},e.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},e.prototype._renderSymbols=function(t,e,n){var a=t.originalData,o=this.group;a.each(a.mapDimension("value"),function(e,n){if(!isNaN(e)){var u=a.getItemLayout(n);if(u&&u.point){var c=u.point,h=u.offset,d=new r.Circle({style:{fill:t.getData().getVisual("style").fill},shape:{cx:c[0]+9*h,cy:c[1],r:3},silent:!0,z2:8+(h?0:l.J+1)});if(!h){var p=t.mainSeries.getData(),f=a.getName(n),g=p.indexOfName(f),v=a.getItemModel(n),y=v.getModel("label"),m=p.getItemGraphicEl(g);i.i(s.e)(d,i.i(s.f)(v),{labelFetcher:{getFormattedLabel:function(e,i){return t.getFormattedLabel(g,i)}},defaultText:f}),d.disableLabelAnimation=!0,y.get("position")||d.setTextConfig({position:"bottom"}),m.onHoverStateChange=function(t){i.i(l.L)(d,t)}}o.add(d)}}})},e.type="map",e}(o.a);e.a=u},862:function(t,e,i){"use strict";function n(t){i.i(r.a)(c.a),t.registerChartView(a.a),t.registerSeriesModel(o.a),t.registerLayout(l.a),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,s.a),i.i(u.b)("map",t.registerAction)}e.a=n;var r=i(136),a=i(861),o=i(860),s=i(863),l=i(864),u=i(616),c=i(669)},863:function(t,e,i){"use strict";function n(t,e){var i={};return a.d(t,function(t){t.each(t.mapDimension("value"),function(e,n){var r="ec-"+t.getName(n);i[r]=i[r]||[],isNaN(e)||i[r].push(e)})}),t[0].map(t[0].mapDimension("value"),function(n,r){for(var a="ec-"+t[0].getName(r),o=0,s=1/0,l=-1/0,u=i[a].length,c=0;c0){for(var h=s.getItemLayout(0),d=1;isNaN(h&&h.startAngle)&&d=n.r0}},e.type="pie",e}(s.a);e.a=g},871:function(t,e,i){"use strict";function n(t){t.registerChartView(l.a),t.registerSeriesModel(u.a),i.i(r.b)("pie",t.registerAction),t.registerLayout(i.i(s.I)(a.a,"pie")),t.registerProcessor(i.i(o.a)("pie")),t.registerProcessor(i.i(c.a)("pie"))}e.a=n;var r=i(616),a=i(658),o=i(522),s=i(3),l=i(870),u=i(869),c=i(1072)},872:function(t,e,i){"use strict";function n(t,e,n,r,o,s,l,u,c,h){function p(t){for(var i=t.rB,s=i*i,l=0;ln?a:i,c=Math.abs(l.label.y-n);if(c>=u.maxY){var h=l.label.x-e-l.len2*o,d=r+l.len,f=Math.abs(h)t.unconstrainedWidth?null:p:null;n.setStyle("width",f)}var g=n.getBoundingRect();a.width=g.width;var v=(n.style.margin||0)+2.1;a.height=g.height+v,a.y-=(a.height-h)/2}}}function o(t){return"center"===t.position}function s(t){function e(t){t.ignore=!0}function n(t){if(!t.ignore)return!0;for(var e in t.states)if(!1===t.states[e].ignore)return!0;return!1}var a,o,s=t.getData(),d=[],f=!1,g=(t.get("minShowLabelAngle")||0)*p,v=s.getLayout("viewRect"),y=s.getLayout("r"),m=v.width,x=v.x,_=v.y,b=v.height;s.each(function(t){var r=s.getItemGraphicEl(t),h=r.shape,p=r.getTextContent(),v=r.getTextGuideLine(),_=s.getItemModel(t),b=_.getModel("label"),w=b.get("position")||_.get(["emphasis","label","position"]),S=b.get("distanceToLabelLine"),M=b.get("alignTo"),I=i.i(l.a)(b.get("edgeDistance"),m),T=b.get("bleedMargin"),C=_.getModel("labelLine"),k=C.get("length");k=i.i(l.a)(k,m);var D=C.get("length2");if(D=i.i(l.a)(D,m),Math.abs(h.endAngle-h.startAngle)0?"right":"left":N>0?"left":"right"}var H=Math.PI,Y=0,U=b.get("rotate");if(i.i(c.n)(U))Y=U*(H/180);else if("center"===w)Y=0;else if("radial"===U||!0===U){var q=N<0?-R+H:-R;Y=q}else if("tangential"===U&&"outside"!==w&&"outer"!==w){var X=Math.atan2(N,E);X<0&&(X=2*H+X);var Z=E>0;Z&&(X=H+X),Y=X-H}if(f=!!Y,p.x=A,p.y=L,p.rotation=Y,p.setStyle({verticalAlign:"middle"}),z){p.setStyle({align:O});var $=p.states.select;$&&($.x+=p.x,$.y+=p.y)}else{var K=p.getBoundingRect().clone();K.applyTransform(p.getComputedTransform());var Q=(p.style.margin||0)+2.1;K.y-=Q/2,K.height+=Q,d.push({label:p,labelLine:v,position:w,len:k,len2:D,minTurnAngle:C.get("minTurnAngle"),maxSurfaceAngle:C.get("maxSurfaceAngle"),surfaceNormal:new u.Point(N,E),linePoints:P,textAlign:O,labelDistance:S,labelAlignTo:M,edgeDistance:I,bleedMargin:T,rect:K,unconstrainedWidth:K.width,labelStyleWidth:p.style.width})}r.setTextConfig({inside:z})}}),!f&&t.get("avoidLabelOverlap")&&r(d,a,o,y,m,b,x,_);for(var w=0;w=0&&(u[l[c].depth]=new o.a(l[c],this,e));if(s&&r){return i.i(a.a)(s,r,this,!0,n).data}},e.prototype.setNodePosition=function(t,e){var i=this.option.data||this.option.nodes,n=i[t];n.localX=e[0],n.localY=e[1]},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.formatTooltip=function(t,e,n){function r(t){return isNaN(t)||null==t}if("edge"===n){var a=this.getDataParams(t,n),o=a.data,l=a.value,u=o.source+" -- "+o.target;return i.i(s.b)("nameValue",{name:u,value:l,noValue:r(l)})}var c=this.getGraph().getNodeByIndex(t),h=c.getLayout().value,d=this.getDataParams(t,n).data.name;return i.i(s.b)("nameValue",{name:null!=d?d+"":null,value:h,noValue:r(h)})},e.prototype.optionUpdated=function(){},e.prototype.getDataParams=function(e,i){var n=t.prototype.getDataParams.call(this,e,i);if(null==n.value&&"node"===i){var r=this.getGraph().getNodeByIndex(e),a=r.getLayout().value;n.value=a}return n},e.type="series.sankey",e.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},e}(r.b);e.a=l},879:function(t,e,i){"use strict";function n(t,e,i){var n=new a.Rect({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return a.initProps(n,{shape:{width:t.width+20}},e,i),n}var r=i(6),a=i(14),o=i(45),s=i(80),l=i(58),u=i(66),c=i(3),h=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0}return t}(),d=function(t){function e(e){return t.call(this,e)||this}return i.i(r.a)(e,t),e.prototype.getDefaultShape=function(){return new h},e.prototype.buildPath=function(t,e){var i=e.extent;t.moveTo(e.x1,e.y1),t.bezierCurveTo(e.cpx1,e.cpy1,e.cpx2,e.cpy2,e.x2,e.y2),"vertical"===e.orient?(t.lineTo(e.x2+i,e.y2),t.bezierCurveTo(e.cpx2+i,e.cpy2,e.cpx1+i,e.cpy1,e.x1+i,e.y1)):(t.lineTo(e.x2,e.y2+i),t.bezierCurveTo(e.cpx2,e.cpy2+i,e.cpx1,e.cpy1+i,e.x1,e.y1+i)),t.closePath()},e.prototype.highlight=function(){i.i(o.j)(this)},e.prototype.downplay=function(){i.i(o.k)(this)},e}(a.Path),p=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i._focusAdjacencyDisabled=!1,i}return i.i(r.a)(e,t),e.prototype.render=function(t,e,r){var s=this,h=t.getGraph(),p=this.group,f=t.layoutInfo,g=f.width,v=f.height,y=t.getData(),m=t.getData("edge"),x=t.get("orient");this._model=t,p.removeAll(),p.x=f.x,p.y=f.y,h.eachEdge(function(e){var n=new d,r=i.i(u.a)(n);r.dataIndex=e.dataIndex,r.seriesIndex=t.seriesIndex,r.dataType="edge";var s,l,h,f,y,_,b,w,S=e.getModel(),M=S.getModel("lineStyle"),I=M.get("curveness"),T=e.node1.getLayout(),C=e.node1.getModel(),k=C.get("localX"),D=C.get("localY"),A=e.node2.getLayout(),L=e.node2.getModel(),P=L.get("localX"),O=L.get("localY"),R=e.getLayout();switch(n.shape.extent=Math.max(1,R.dy),n.shape.orient=x,"vertical"===x?(s=(null!=k?k*g:T.x)+R.sy,l=(null!=D?D*v:T.y)+T.dy,h=(null!=P?P*g:A.x)+R.ty,f=null!=O?O*v:A.y,y=s,_=l*(1-I)+f*I,b=h,w=l*I+f*(1-I)):(s=(null!=k?k*g:T.x)+T.dx,l=(null!=D?D*v:T.y)+R.sy,h=null!=P?P*g:A.x,f=(null!=O?O*v:A.y)+R.ty,y=s*(1-I)+h*I,_=l,b=s*I+h*(1-I),w=f),n.setShape({x1:s,y1:l,x2:h,y2:f,cpx1:y,cpy1:_,cpx2:b,cpy2:w}),n.useStyle(M.getItemStyle()),n.style.fill){case"source":n.style.fill=e.node1.getVisual("color"),n.style.decal=e.node1.getVisual("style").decal;break;case"target":n.style.fill=e.node2.getVisual("color"),n.style.decal=e.node2.getVisual("style").decal;break;case"gradient":var N=e.node1.getVisual("color"),E=e.node2.getVisual("color");i.i(c.m)(N)&&i.i(c.m)(E)&&(n.style.fill=new a.LinearGradient(0,0,+("horizontal"===x),+("vertical"===x),[{color:N,offset:0},{color:E,offset:1}]))}var z=S.getModel("emphasis");i.i(o.F)(n,S,"lineStyle",function(t){return t.getItemStyle()}),p.add(n),m.setItemGraphicEl(e.dataIndex,n);var B=z.get("focus");i.i(o.G)(n,"adjacency"===B?e.getAdjacentDataIndices():B,z.get("blurScope"),z.get("disabled")),i.i(u.a)(n).dataType="edge"}),h.eachNode(function(e){var n=e.getLayout(),r=e.getModel(),s=r.get("localX"),c=r.get("localY"),h=r.getModel("emphasis"),d=new a.Rect({shape:{x:null!=s?s*g:n.x,y:null!=c?c*v:n.y,width:n.dx,height:n.dy},style:r.getModel("itemStyle").getItemStyle(),z2:10});i.i(l.e)(d,i.i(l.f)(r),{labelFetcher:t,labelDataIndex:e.dataIndex,defaultText:e.id}),d.disableLabelAnimation=!0,d.setStyle("fill",e.getVisual("color")),d.setStyle("decal",e.getVisual("style").decal),i.i(o.F)(d,r),p.add(d),y.setItemGraphicEl(e.dataIndex,d),i.i(u.a)(d).dataType="node";var f=h.get("focus");i.i(o.G)(d,"adjacency"===f?e.getAdjacentDataIndices():f,h.get("blurScope"),h.get("disabled"))}),y.eachItemGraphicEl(function(e,i){y.getItemModel(i).get("draggable")&&(e.drift=function(e,n){s._focusAdjacencyDisabled=!0,this.shape.x+=e,this.shape.y+=n,this.dirty(),r.dispatchAction({type:"dragNode",seriesId:t.id,dataIndex:y.getRawIndex(i),localX:this.shape.x/g,localY:this.shape.y/v})},e.ondragend=function(){s._focusAdjacencyDisabled=!1},e.draggable=!0,e.cursor="move")}),!this._data&&t.isAnimationEnabled()&&p.setClipPath(n(p.getBoundingRect(),t,function(){p.removeClipPath()})),this._data=t.getData()},e.prototype.dispose=function(){},e.type="sankey",e}(s.a);e.a=p},880:function(t,e,i){"use strict";function n(t){t.registerChartView(r.a),t.registerSeriesModel(a.a),t.registerLayout(o.a),t.registerVisual(s.a),t.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(t,e){e.eachComponent({mainType:"series",subType:"sankey",query:t},function(e){e.setNodePosition(t.dataIndex,[t.localX,t.localY])})})}e.a=n;var r=i(879),a=i(878),o=i(881),s=i(882)},881:function(t,e,i){"use strict";function n(t,e){t.eachSeriesByType("sankey",function(t){var i=t.get("nodeWidth"),n=t.get("nodeGap"),s=r(t,e);t.layoutInfo=s;var l=s.width,u=s.height,c=t.getGraph(),h=c.nodes,d=c.edges;o(h),a(h,d,i,n,l,u,0!==C.c(h,function(t){return 0===t.getLayout().value}).length?0:t.get("layoutIterations"),t.get("orient"),t.get("nodeAlign"))})}function r(t,e){return T.f(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function a(t,e,i,n,r,a,o,l,u){s(t,e,i,r,a,l,u),d(t,e,a,r,n,o,l),I(t,l)}function o(t){C.d(t,function(t){var e=S(t.outEdges,w),i=S(t.inEdges,w),n=t.getValue()||0,r=Math.max(e,i,n);t.setLayout({value:r},!0)})}function s(t,e,i,n,r,a,o){for(var s=[],l=[],c=[],d=[],p=0,f=0;f=0;x&&m.depth>g&&(g=m.depth),y.setLayout({depth:x?m.depth:p},!0),"vertical"===a?y.setLayout({dy:i},!0):y.setLayout({dx:i},!0);for(var _=0;_p-1?g:p-1;o&&"left"!==o&&u(t,o,a,S),h(t,"vertical"===a?(r-i)/S:(n-i)/S,a)}function l(t){var e=t.hostGraph.data.getRawDataItem(t.dataIndex);return null!=e.depth&&e.depth>=0}function u(t,e,i,n){if("right"===e){for(var r=[],a=t,o=0;a.length;){for(var s=0;s0;a--)l*=.99,v(s,l,o),g(s,r,i,n,o),M(s,l,o),g(s,r,i,n,o)}function p(t,e){var n=[],r="vertical"===e?"y":"x",a=i.i(k.x)(t,function(t){return t.getLayout()[r]});return a.keys.sort(function(t,e){return t-e}),C.d(a.keys,function(t){n.push(a.buckets.get(t))}),n}function f(t,e,i,n,r,a){var o=1/0;C.d(t,function(t){var e=t.length,s=0;C.d(t,function(t){s+=t.getLayout().value});var l="vertical"===a?(n-(e-1)*r)/s:(i-(e-1)*r)/s;l0&&(o=s.getLayout()[a]+l,"vertical"===r?s.setLayout({x:o},!0):s.setLayout({y:o},!0)),u=s.getLayout()[a]+s.getLayout()[h]+e;if((l=u-e-("vertical"===r?n:i))>0){o=s.getLayout()[a]-l,"vertical"===r?s.setLayout({x:o},!0):s.setLayout({y:o},!0),u=o;for(var d=c-2;d>=0;--d)s=t[d],l=s.getLayout()[a]+s.getLayout()[h]+e-u,l>0&&(o=s.getLayout()[a]-l,"vertical"===r?s.setLayout({x:o},!0):s.setLayout({y:o},!0)),u=s.getLayout()[a]}})}function v(t,e,i){C.d(t.slice().reverse(),function(t){C.d(t,function(t){if(t.outEdges.length){var n=S(t.outEdges,y,i)/S(t.outEdges,w);if(isNaN(n)){var r=t.outEdges.length;n=r?S(t.outEdges,m,i)/r:0}if("vertical"===i){var a=t.getLayout().x+(n-b(t,i))*e;t.setLayout({x:a},!0)}else{var o=t.getLayout().y+(n-b(t,i))*e;t.setLayout({y:o},!0)}}})})}function y(t,e){return b(t.node2,e)*t.getValue()}function m(t,e){return b(t.node2,e)}function x(t,e){return b(t.node1,e)*t.getValue()}function _(t,e){return b(t.node1,e)}function b(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function w(t){return t.getValue()}function S(t,e,i){for(var n=0,r=t.length,a=-1;++ao&&(o=e)}),r.d(i,function(e){var i=new a.a({type:"color",mappingMethod:"linear",dataExtent:[n,o],visual:t.get("color")}),r=i.mapValueToVisual(e.getLayout().value),s=e.getModel().get(["itemStyle","color"]);null!=s?(e.setVisual("color",s),e.setVisual("style",{fill:s})):(e.setVisual("color",r),e.setVisual("style",{fill:r}))})}})}e.a=n;var r=i(3),a=i(325)},883:function(t,e,i){"use strict";var n=i(6),r=i(219),a=i(79),o=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.hasSymbolVisual=!0,i}return i.i(n.a)(e,t),e.prototype.getInitialData=function(t,e){return i.i(r.a)(null,this,{useEncodeDefaulter:!0})},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},e.prototype.brushSelector=function(t,e,i){return i.point(e.getItemLayout(t))},e.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},e.type="series.scatter",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},e}(a.b);e.a=o},884:function(t,e,i){"use strict";var n=i(6),r=i(514),a=i(850),o=i(521),s=i(80),l=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i.i(n.a)(e,t),e.prototype.render=function(t,e,i){var n=t.getData();this._updateSymbolDraw(n,t).updateData(n,{clipShape:this._getClipShape(t)}),this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,i){var n=t.getData();this._updateSymbolDraw(n,t).incrementalPrepareUpdate(n),this._finished=!1},e.prototype.incrementalRender=function(t,e,i){this._symbolDraw.incrementalUpdate(t,e.getData(),{clipShape:this._getClipShape(e)}),this._finished=t.end===e.getData().count()},e.prototype.updateTransform=function(t,e,n){var r=t.getData();if(this.group.dirty(),!this._finished||r.count()>1e4)return{update:!0};var a=i.i(o.a)("").reset(t,e,n);a.progress&&a.progress({start:0,end:r.count(),count:r.count()},r),this._symbolDraw.updateLayout(r)},e.prototype.eachRendered=function(t){this._symbolDraw&&this._symbolDraw.eachRendered(t)},e.prototype._getClipShape=function(t){var e=t.coordinateSystem,i=e&&e.getArea&&e.getArea();return t.get("clip",!0)?i:null},e.prototype._updateSymbolDraw=function(t,e){var i=this._symbolDraw,n=e.pipelineContext,o=n.large;return i&&o===this._isLargeDraw||(i&&i.remove(),i=this._symbolDraw=o?new a.a:new r.a,this._isLargeDraw=o,this.group.removeAll()),this.group.add(i.group),i},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},e.prototype.dispose=function(){},e.type="scatter",e}(s.a);e.a=l},885:function(t,e,i){"use strict";function n(t){i.i(r.a)(s.a),t.registerSeriesModel(a.a),t.registerChartView(o.a),t.registerLayout(i.i(l.a)("scatter"))}e.a=n;var r=i(136),a=i(883),o=i(884),s=i(601),l=i(521)},886:function(t,e,i){"use strict";var n=i(6),r=i(3),a=i(14),o=i(45),s=i(58),l=i(66),u=i(653),c=i(548),h=i(135),d=2,p=4,f=function(t){function e(e,n,r,o){var s=t.call(this)||this;s.z2=d,s.textConfig={inside:!0},i.i(l.a)(s).seriesIndex=n.seriesIndex;var u=new a.Text({z2:p,silent:e.getModel().get(["label","silent"])});return s.setTextContent(u),s.updateData(!0,e,n,r,o),s}return i.i(n.a)(e,t),e.prototype.updateData=function(t,e,n,s,d){this.node=e,e.piece=this,n=n||this._seriesModel,s=s||this._ecModel;var p=this;i.i(l.a)(p).dataIndex=e.dataIndex;var f=e.getModel(),g=f.getModel("emphasis"),v=e.getLayout(),y=r.g({},v);y.label=null;var m=e.getVisual("style");m.lineJoin="bevel";var x=e.getVisual("decal");x&&(m.decal=i.i(c.a)(x,d));var _=i.i(u.a)(f.getModel("itemStyle"),y,!0);r.g(y,_),r.d(o.a,function(t){var e=p.ensureState(t),n=f.getModel([t,"itemStyle"]);e.style=n.getItemStyle();var r=i.i(u.a)(n,y);r&&(e.shape=r)}),t?(p.setShape(y),p.shape.r=v.r0,a.updateProps(p,{shape:{r:v.r}},n,e.dataIndex)):(a.updateProps(p,{shape:y},n),i.i(h.f)(p)),p.useStyle(m),this._updateLabel(n);var b=f.getShallow("cursor");b&&p.attr("cursor",b),this._seriesModel=n||this._seriesModel,this._ecModel=s||this._ecModel;var w=g.get("focus"),S="ancestor"===w?e.getAncestorsIndices():"descendant"===w?e.getDescendantIndices():w;i.i(o.G)(this,S,g.get("blurScope"),g.get("disabled"))},e.prototype._updateLabel=function(t){function e(t,e){var i=t.get(e);return null==i?l.get(e):i}var n=this,a=this.node.getModel(),l=a.getModel("label"),u=this.node.getLayout(),c=u.endAngle-u.startAngle,h=(u.startAngle+u.endAngle)/2,d=Math.cos(h),p=Math.sin(h),f=this,g=f.getTextContent(),v=this.node.dataIndex,y=l.get("minAngle")/180*Math.PI,m=l.get("show")&&!(null!=y&&Math.abs(c)Math.PI/2?"right":"left"):T&&"center"!==T?"left"===T?(M=u.r0+I,h>Math.PI/2&&(T="right")):"right"===T&&(M=u.r-I,h>Math.PI/2&&(T="left")):(M=c===2*Math.PI&&0===u.r0?0:(u.r+u.r0)/2,T="center"),m.style.align=T,m.style.verticalAlign=e(l,"verticalAlign")||"middle",m.x=M*d+u.cx,m.y=M*p+u.cy;var C=e(l,"rotate"),k=0;"radial"===C?(k=-h)<-Math.PI/2&&(k+=Math.PI):"tangential"===C?(k=Math.PI/2-h,k>Math.PI/2?k-=Math.PI:k<-Math.PI/2&&(k+=Math.PI)):r.n(C)&&(k=C*Math.PI/180),m.rotation=k}),g.dirtyStyle()},e}(a.Sector);e.a=f},887:function(t,e,i){"use strict";function n(t){var e=0;a.d(t.children,function(t){n(t);var i=t.value;a.j(i)&&(i=i[0]),e+=i});var i=t.value;a.j(i)&&(i=i[0]),(null==i||isNaN(i))&&(i=e),i<0&&(i=0),a.j(t.value)?t.value[0]=i:t.value=i}var r=i(6),a=i(3),o=i(79),s=i(613),l=i(286),u=i(85),c=i(652),h=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.ignoreStyleOnData=!0,i}return i.i(r.a)(e,t),e.prototype.getInitialData=function(t,e){function i(t){t.wrapMethod("getItemModel",function(t,e){var i=l.getNodeByDataIndex(e),n=o[i.depth];return n&&(t.parentModel=n),t})}var r={name:t.name,children:t.data};n(r);var o=this._levelModels=a.p(t.levels||[],function(t){return new u.a(t,this,e)},this),l=s.a.createTree(r,this,i);return l.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(e);return n.treePathInfo=i.i(l.c)(r,this),n},e.prototype.getLevelModel=function(t){return this._levelModels&&this._levelModels[t.depth]},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},e.prototype.enableAriaDecal=function(){i.i(c.a)(this)},e.type="series.sunburst",e.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},e}(o.b);e.a=h},888:function(t,e,i){"use strict";var n=i(6),r=i(3),a=i(80),o=i(886),s=i(289),l=i(659),u=i(137),c=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i.i(n.a)(e,t),e.prototype.render=function(t,e,i,n){function a(n,r){if(f||!n||n.getValue()||(n=null),n!==h&&r!==h)if(r&&r.piece)n?(r.piece.updateData(!1,n,t,e,i),c.setItemGraphicEl(n.dataIndex,r.piece)):l(r);else if(n){var a=new o.a(n,t,e,i);p.add(a),c.setItemGraphicEl(n.dataIndex,a)}}function l(t){t&&t.piece&&(p.remove(t.piece),t.piece=null)}var u=this;this.seriesModel=t,this.api=i,this.ecModel=e;var c=t.getData(),h=c.tree.root,d=t.getViewRoot(),p=this.group,f=t.get("renderLabelForZeroData"),g=[];d.eachNode(function(t){g.push(t)});var v=this._oldChildren||[];!function(t,e){function i(t){return t.getId()}function n(i,n){a(null==i?null:t[i],null==n?null:e[n])}0===t.length&&0===e.length||new s.a(e,t,i,i).add(n).update(n).remove(r.I(n,null)).execute()}(g,v),function(n,r){r.depth>0?(u.virtualPiece?u.virtualPiece.updateData(!1,n,t,e,i):(u.virtualPiece=new o.a(n,t,e,i),p.add(u.virtualPiece)),r.piece.off("click"),u.virtualPiece.on("click",function(t){u._rootToNode(r.parentNode)})):u.virtualPiece&&(p.remove(u.virtualPiece),u.virtualPiece=null)}(h,d),this._initEvents(),this._oldChildren=g},e.prototype._initEvents=function(){var t=this;this.group.off("click"),this.group.on("click",function(e){var n=!1;t.seriesModel.getViewRoot().eachNode(function(r){if(!n&&r.piece&&r.piece===e.target){var a=r.getModel().get("nodeClick");if("rootToNode"===a)t._rootToNode(r);else if("link"===a){var o=r.getModel(),s=o.get("link");if(s){var l=o.get("target",!0)||"_blank";i.i(u.h)(s,l)}}n=!0}})})},e.prototype._rootToNode=function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:l.b,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},e.prototype.containPoint=function(t,e){var i=e.getData(),n=i.getItemLayout(0);if(n){var r=t[0]-n.cx,a=t[1]-n.cy,o=Math.sqrt(r*r+a*a);return o<=n.r&&o>=n.r0}},e.type="sunburst",e}(a.a);e.a=c},889:function(t,e,i){"use strict";function n(t){t.registerChartView(r.a),t.registerSeriesModel(a.a),t.registerLayout(i.i(u.I)(o.a,"sunburst")),t.registerProcessor(i.i(u.I)(l.a,"sunburst")),t.registerVisual(s.a),i.i(c.a)(t)}e.a=n;var r=i(888),a=i(887),o=i(890),s=i(891),l=i(522),u=i(3),c=i(659)},890:function(t,e,i){"use strict";function n(t,e,n){e.eachSeriesByType(t,function(t){var e=t.get("center"),a=t.get("radius");s.j(a)||(a=[0,a]),s.j(e)||(e=[e,e]);var u=n.getWidth(),c=n.getHeight(),h=Math.min(u,c),d=i.i(o.a)(e[0],u),p=i.i(o.a)(e[1],c),f=i.i(o.a)(a[0],h/2),g=i.i(o.a)(a[1],h/2),v=-t.get("startAngle")*l,y=t.get("minAngle")*l,m=t.getData().tree.root,x=t.getViewRoot(),_=x.depth,b=t.get("sort");null!=b&&r(x,b);var w=0;s.d(x.children,function(t){!isNaN(t.getValue())&&w++});var S=x.getValue(),M=Math.PI/(S||w)*2,I=x.depth>0,T=x.height-(I?-1:1),C=(g-f)/(T||1),k=t.get("clockwise"),D=t.get("stillShowZeroSum"),A=k?1:-1,L=function(e,n){if(e){var r=n;if(e!==m){var a=e.getValue(),l=0===S&&D?M:a*M;l1;)s=s.parentNode;var l=e.getColorFromPalette(s.name||s.dataIndex+"",n);return t.depth>1&&i.i(a.m)(l)&&(l=i.i(r.a)(l,(t.depth-1)/(o-1)*.5)),l}var n={};t.eachSeriesByType("sunburst",function(t){var n=t.getData(),r=n.tree;r.eachNode(function(o){var s=o.getModel(),l=s.getModel("itemStyle").getItemStyle();l.fill||(l.fill=e(o,t,r.root.height));var u=n.ensureUniqueItemVisual(o.dataIndex,"style");i.i(a.g)(u,l)})})}e.a=n;var r=i(160),a=i(3)},892:function(t,e,i){"use strict";var n=i(6),r=i(79),a=i(480),o=i(543),s=i(164),l=i(3),u=i(13),c=i(525),h=i(149),d=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i.i(n.a)(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new c.a(l.K(this.getData,this),l.K(this.getRawData,this))},e.prototype.fixData=function(t){var e=t.length,n={},r=i.i(u.x)(t,function(t){return n.hasOwnProperty(t[0]+"")||(n[t[0]+""]=-1),t[2]}),a=[];r.buckets.each(function(t,e){a.push({name:e,dataList:t})});for(var o=a.length,s=0;sa&&(a=s),n.push(s)}for(var u=0;ua&&(a=h)}return{y0:r,max:a}}e.a=n;var o=i(3),s=i(22)},896:function(t,e,i){"use strict";var n=i(6),r=i(79),a=i(613),o=i(85),s=i(149),l=i(286),u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasSymbolVisual=!0,e.ignoreStyleOnData=!0,e}return i.i(n.a)(e,t),e.prototype.getInitialData=function(t){function e(t){t.wrapMethod("getItemModel",function(t,e){var i=s.getNodeByDataIndex(e);return i&&i.children.length&&i.isExpand||(t.parentModel=r),t})}var i={name:t.name,children:t.data},n=t.leaves||{},r=new o.a(n,this,this.ecModel),s=a.a.createTree(i,this,e),l=0;s.eachNode("preorder",function(t){t.depth>l&&(l=t.depth)});var u=t.expandAndCollapse,c=u&&t.initialTreeDepth>=0?t.initialTreeDepth:l;return s.root.eachNode("preorder",function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=c}),s.data},e.prototype.getOrient=function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.formatTooltip=function(t,e,n){for(var r=this.getData().tree,a=r.root.children[0],o=r.getNodeByDataIndex(t),l=o.getValue(),u=o.name;o&&o!==a;)u=o.parentNode.name+"."+u,o=o.parentNode;return i.i(s.b)("nameValue",{name:u,value:l,noValue:isNaN(l)||null==l})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=i.i(l.c)(r,this),n.collapsed=!r.isExpand,n},e.type="series.tree",e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},e}(r.b);e.a=u},897:function(t,e,i){"use strict";function n(t,e){var i=t.getItemLayout(e);return i&&!isNaN(i.x)&&!isNaN(i.y)}function r(t,e,n,r,o){var s=!n,l=t.tree.getNodeByDataIndex(e),u=l.getModel(),c=l.getVisual("style").fill,h=!1===l.isExpand&&0!==l.children.length?c:"#fff",g=t.tree.root,v=l.parentNode===g?l:l.parentNode||l,y=t.getItemGraphicEl(v.dataIndex),m=v.getLayout(),x=y?{x:y.__oldX,y:y.__oldY,rawX:y.__radialOldRawX,rawY:y.__radialOldRawY}:m,_=l.getLayout();s?(n=new f.a(t,e,null,{symbolInnerColor:h,useNameLabel:!0}),n.x=x.x,n.y=x.y):n.updateData(t,e,null,{symbolInnerColor:h,useNameLabel:!0}),n.__radialOldRawX=n.__radialRawX,n.__radialOldRawY=n.__radialRawY,n.__radialRawX=_.rawX,n.__radialRawY=_.rawY,r.add(n),t.setItemGraphicEl(e,n),n.__oldX=n.x,n.__oldY=n.y,d.updateProps(n,{x:_.x,y:_.y},o);var b=n.getSymbolPath();if("radial"===o.get("layout")){var w=g.children[0],S=w.getLayout(),I=w.children.length,T=void 0,C=void 0;if(_.x===S.x&&!0===l.isExpand){var k={x:(w.children[0].getLayout().x+w.children[I-1].getLayout().x)/2,y:(w.children[0].getLayout().y+w.children[I-1].getLayout().y)/2};T=Math.atan2(k.y-S.y,k.x-S.x),T<0&&(T=2*Math.PI+T),C=k.xS.x)||(T-=Math.PI);var D=C?"left":"right",A=u.getModel("label"),L=A.get("rotate"),P=L*(Math.PI/180),O=b.getTextContent();O&&(b.setTextConfig({position:A.get("position")||D,rotation:null==L?-T:P,origin:"center"}),O.setStyle("verticalAlign","middle"))}var R=u.get(["emphasis","focus"]),N="ancestor"===R?l.getAncestorsIndices():"descendant"===R?l.getDescendantIndices():null;N&&(i.i(p.a)(n).focus=N),a(o,l,g,n,x,m,_,r),n.__edge&&(n.onHoverStateChange=function(e){if("blur"!==e){var r=l.parentNode&&t.getItemGraphicEl(l.parentNode.dataIndex);r&&r.hoverState===M.u||i.i(M.L)(n.__edge,e)}})}function a(t,e,n,r,a,o,s,l){var c=e.getModel(),p=t.get("edgeShape"),f=t.get("layout"),g=t.getOrient(),v=t.get(["lineStyle","curveness"]),y=t.get("edgeForkPosition"),m=c.getModel("lineStyle").getLineStyle(),x=r.__edge;if("curve"===p)e.parentNode&&e.parentNode!==n&&(x||(x=r.__edge=new d.BezierCurve({shape:u(f,g,v,a,a)})),d.updateProps(x,{shape:u(f,g,v,o,s)},t));else if("polyline"===p&&"orthogonal"===f&&e!==n&&e.children&&0!==e.children.length&&!0===e.isExpand){for(var _=e.children,b=[],w=0;w<_.length;w++){var S=_[w].getLayout();b.push([S.x,S.y])}x||(x=r.__edge=new T({shape:{parentPoint:[s.x,s.y],childPoints:[[s.x,s.y]],orient:g,forkPosition:y}})),d.updateProps(x,{shape:{parentPoint:[s.x,s.y],childPoints:b}},t)}x&&(x.useStyle(h.t({strokeNoScale:!0,fill:null},m)),i.i(M.F)(x,c,"lineStyle"),i.i(M.H)(x),l.add(x))}function o(t,e,i,n,r){var a=e.tree.root,o=s(a,t),l=o.source,c=o.sourceLayout,h=e.getItemGraphicEl(t.dataIndex);if(h){var p=e.getItemGraphicEl(l.dataIndex),f=p.__edge,g=h.__edge||(!1===l.isExpand||1===l.children.length?f:void 0),v=n.get("edgeShape"),y=n.get("layout"),m=n.get("orient"),x=n.get(["lineStyle","curveness"]);g&&("curve"===v?d.removeElement(g,{shape:u(y,m,x,c,c),style:{opacity:0}},n,{cb:function(){i.remove(g)},removeOpt:r}):"polyline"===v&&"orthogonal"===n.get("layout")&&d.removeElement(g,{shape:{parentPoint:[c.x,c.y],childPoints:[[c.x,c.y]]},style:{opacity:0}},n,{cb:function(){i.remove(g)},removeOpt:r}))}}function s(t,e){for(var i,n=e.parentNode===t?e:e.parentNode||e;null==(i=n.getLayout());)n=n.parentNode===t?n:n.parentNode||n;return{source:n,sourceLayout:i}}function l(t,e,i,n,r){var a=t.tree.getNodeByDataIndex(e),l=t.tree.root,u=s(l,a).sourceLayout,c={duration:r.get("animationDurationUpdate"),easing:r.get("animationEasingUpdate")};d.removeElement(i,{x:u.x+1,y:u.y+1},r,{cb:function(){n.remove(i),t.setItemGraphicEl(e,null)},removeOpt:c}),i.fadeOut(null,t.hostModel,{fadeLabel:!0,animation:c}),a.children.forEach(function(e){o(e,t,n,r,c)}),o(a,t,n,r,c)}function u(t,e,n,r,a){var o,s,l,u,c,h,d,p;if("radial"===t){c=r.rawX,d=r.rawY,h=a.rawX,p=a.rawY;var f=i.i(g.f)(c,d),v=i.i(g.f)(c,d+(p-d)*n),y=i.i(g.f)(h,p+(d-p)*n),m=i.i(g.f)(h,p);return{x1:f.x||0,y1:f.y||0,x2:m.x||0,y2:m.y||0,cpx1:v.x||0,cpy1:v.y||0,cpx2:y.x||0,cpy2:y.y||0}}return c=r.x,d=r.y,h=a.x,p=a.y,"LR"!==e&&"RL"!==e||(o=c+(h-c)*n,s=d,l=h+(c-h)*n,u=p),"TB"!==e&&"BT"!==e||(o=c,s=d+(p-d)*n,l=h,u=p+(d-p)*n),{x1:c,y1:d,x2:h,y2:p,cpx1:o,cpy1:s,cpx2:l,cpy2:u}}var c=i(6),h=i(3),d=i(14),p=i(66),f=i(535),g=i(660),v=i(555),y=i(540),m=i(603),x=i(518),_=i(539),b=i(22),w=i(80),S=i(76),M=i(45),I=function(){function t(){this.parentPoint=[],this.childPoints=[]}return t}(),T=function(t){function e(e){return t.call(this,e)||this}return i.i(c.a)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new I},e.prototype.buildPath=function(t,e){var n=e.childPoints,r=n.length,a=e.parentPoint,o=n[0],s=n[r-1];if(1===r)return t.moveTo(a[0],a[1]),void t.lineTo(o[0],o[1]);var l=e.orient,u="TB"===l||"BT"===l?0:1,c=1-u,h=i.i(b.a)(e.forkPosition,1),d=[];d[u]=a[u],d[c]=a[c]+(s[c]-a[c])*h,t.moveTo(a[0],a[1]),t.lineTo(d[0],d[1]),t.moveTo(o[0],o[1]),d[u]=o[u],t.lineTo(d[0],d[1]),d[u]=s[u],t.lineTo(d[0],d[1]),t.lineTo(s[0],s[1]);for(var p=1;p=0;a--)n.push(r[a])}}i.d(e,"a",function(){return n}),i.d(e,"b",function(){return r})},9:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(5),r=i.n(n),a=i(7),o=i.n(a),s=i(21),l=i.n(s);e.default={name:"lj-win-common",components:{sticky:l.a},props:{title:{type:String,default:"龙嘉软件"},bodyClass:{type:[String,Array,Object]},rightDrawerTitle:{type:String,default:""},rightDrawerInitOpen:{type:Boolean,default:!1},showBack:{type:Boolean,default:!0},hideAppBar:{type:Boolean,default:!1},closeWinHandler:{type:Function},hideHeaderSub:{type:Boolean,default:!1}},data:function(){return{rightDrawerOpen:!1,contentStyle:{marginTop:"0px",marginBottom:"0px"},headerSubStyle:{top:"0"},drawerStyle:{},stickyOffset:40}},created:function(){this.rightDrawerOpen=this.rightDrawerInitOpen},mounted:function(){this.initStyle()},updated:function(){this.initStyle()},methods:{initStyle:function(){var t=this,e=0;if($lj.fixStatusBar(this.$refs.headerDom.$el),$lj.fixStatusBar(this.$refs.headerLeft),$lj.fixStatusBar(this.$refs.headerRight),e=$lj.getAppBarHeight(),this.$refs.headerDom.$el.style.height=e+"px","ios"===api.systemType&&this.$slots.footer){var i=void 0,n=!0,a=!1,s=void 0;try{for(var l,u=o()(this.$slots.footer.reverse());!(n=(l=u.next()).done);n=!0){var c=l.value;if(c.tag){i=c;break}}}catch(t){a=!0,s=t}finally{try{!n&&u.return&&u.return()}finally{if(a)throw s}}i&&$lj.fixTabBar(i.elm)}var h=0,d=0;if(this.$refs.headerDom.$el&&(e=this.$refs.headerDom.$el.offsetHeight),document.getElementById("headerSub")&&(d=document.getElementById("headerSub").offsetHeight),this.stickyOffset=e,this.$slots.footer){var p=[];this.$slots.footer.forEach(function(t){t.elm.offsetHeight&&p.push(t.elm.offsetHeight)}),h=Math.max.apply(null,p)}var f=80;window.api&&(f=api.winHeight),this.headerSubStyle.top=e+"px",this.contentStyle.minHeight=f-e-h-d+"px",this.contentStyle.marginTop=e+d+"px",this.contentStyle.marginBottom=h+"px",console.log(" this.contentStyle :>>>>>>>>>>>>>>>>>>>>>!!!!!!!!!!!!!!!!!____________________________",r()(this.contentStyle)),this.$nextTick(function(){t.$emit("fix-body",t.contentStyle)})},openRightDrawer:function(){this.rightDrawerOpen=!0},closeRightDrawer:function(){this.rightDrawerOpen=!1},closeWin:function(){this.closeWinHandler?this.closeWinHandler():$lj.closeWin()}}}},900:function(t,e,i){"use strict";function n(t){t.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},function(e){var i=t.dataIndex,n=e.getData().tree,r=n.getNodeByDataIndex(i);r.isExpand=!r.isExpand})}),t.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},function(e){var n=e.coordinateSystem,a=i.i(r.a)(n,t);e.setCenter&&e.setCenter(a.center),e.setZoom&&e.setZoom(a.zoom)})})}e.a=n;var r=i(592)},901:function(t,e,i){"use strict";function n(t,e){t.eachSeriesByType("tree",function(t){r(t,e)})}function r(t,e){var n=i.i(o.a)(t,e);t.layoutInfo=n;var r=t.get("layout"),s=0,l=0,u=null;"radial"===r?(s=2*Math.PI,l=Math.min(n.height,n.width)/2,u=i.i(o.b)(function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth})):(s=n.width,l=n.height,u=i.i(o.b)());var c=t.getData().tree.root,h=c.children[0];if(h){i.i(o.c)(c),i.i(a.a)(h,o.d,u),c.hierNode.modifier=-h.hierNode.prelim,i.i(a.b)(h,o.e);var d=h,p=h,f=h;i.i(a.b)(h,function(t){var e=t.getLayout().x;ep.getLayout().x&&(p=t),t.depth>f.depth&&(f=t)});var g=d===p?1:u(d,p)/2,v=g-d.getLayout().x,y=0,m=0,x=0,_=0;if("radial"===r)y=s/(p.getLayout().x+g+v),m=l/(f.depth-1||1),i.i(a.b)(h,function(t){x=(t.getLayout().x+v)*y,_=(t.depth-1)*m;var e=i.i(o.f)(x,_);t.setLayout({x:e.x,y:e.y,rawX:x,rawY:_},!0)});else{var b=t.getOrient();"RL"===b||"LR"===b?(m=l/(p.getLayout().x+g+v),y=s/(f.depth-1||1),i.i(a.b)(h,function(t){_=(t.getLayout().x+v)*m,x="LR"===b?(t.depth-1)*y:s-(t.depth-1)*y,t.setLayout({x:x,y:_},!0)})):"TB"!==b&&"BT"!==b||(y=s/(p.getLayout().x+g+v),m=l/(f.depth-1||1),i.i(a.b)(h,function(t){x=(t.getLayout().x+v)*y,_="TB"===b?(t.depth-1)*m:l-(t.depth-1)*m,t.setLayout({x:x,y:_},!0)}))}}}e.a=n;var a=i(899),o=i(660)},902:function(t,e,i){"use strict";function n(t){t.eachSeriesByType("tree",function(t){var e=t.getData();e.tree.eachNode(function(t){var n=t.getModel(),a=n.getModel("itemStyle").getItemStyle(),o=e.ensureUniqueItemVisual(t.dataIndex,"style");i.i(r.g)(o,a)})})}e.a=n;var r=i(3)},903:function(t,e,i){"use strict";function n(t,e,i,n,r,a){var o=[[r?t:t-d,e],[t+i,e],[t+i,e+n],[r?t:t-d,e+n]];return!a&&o.splice(2,0,[t+i+d,e+n/2]),!r&&o.push([t,e+n/2]),o}function r(t,e,n){i.i(o.a)(t).eventData={componentType:"series",componentSubType:"treemap",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&i.i(l.c)(n,e)}}var a=i(14),o=i(66),s=i(69),l=i(286),u=i(3),c=i(13),h=i(45),d=5,p=function(){function t(t){this.group=new a.Group,t.add(this.group)}return t.prototype.render=function(t,e,i,n){var r=t.getModel("breadcrumb"),a=this.group;if(a.removeAll(),r.get("show")&&i){var o=r.getModel("itemStyle"),l=o.getModel("textStyle"),u={pos:{left:r.get("left"),right:r.get("right"),top:r.get("top"),bottom:r.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:r.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(i,u,l),this._renderContent(t,u,o,l,n),s.e(a,u.pos,u.box)}},t.prototype._prepare=function(t,e,n){for(var r=t;r;r=r.parentNode){var a=i.i(c.n)(r.getModel().get("name"),""),o=n.getTextRect(a),s=Math.max(o.width+16,e.emptyItemWidth);e.totalWidth+=s+8,e.renderList.push({node:r,text:a,width:s})}},t.prototype._renderContent=function(t,e,o,l,c){for(var d=0,p=e.emptyItemWidth,f=t.get(["breadcrumb","height"]),g=s.j(e.pos,e.box),v=e.totalWidth,y=e.renderList,m=y.length-1;m>=0;m--){var x=y[m],_=x.node,b=x.width,w=x.text;v>g.width&&(v-=b-p,b=p,w=null);var S=new a.Polygon({shape:{points:n(d,0,b,f,m===y.length-1,0===m)},style:i.i(u.t)(o.getItemStyle(),{lineJoin:"bevel"}),textContent:new a.Text({style:{text:w,fill:l.getTextColor(),font:l.getFont()}}),textConfig:{position:"inside"},z2:1e4*h.J,onclick:i.i(u.I)(c,_)});S.disableLabelAnimation=!0,this.group.add(S),r(S,t,_),d+=b+8}},t.prototype.remove=function(){this.group.removeAll()},t}();e.a=p},904:function(t,e,i){"use strict";function n(t){var e=0;o.d(t.children,function(t){n(t);var i=t.value;o.j(i)&&(i=i[0]),e+=i});var i=t.value;o.j(i)&&(i=i[0]),(null==i||isNaN(i))&&(i=e),i<0&&(i=0),o.j(t.value)?t.value[0]=i:t.value=i}function r(t,e){var n=i.i(h.d)(e.get("color")),r=i.i(h.d)(e.get(["aria","decal","decals"]));if(n){t=t||[];var a,s;o.d(t,function(t){var e=new u.a(t),i=e.get("color"),n=e.get("decal");(e.get(["itemStyle","color"])||i&&"none"!==i)&&(a=!0),(e.get(["itemStyle","decal"])||n&&"none"!==n)&&(s=!0)});var l=t[0]||(t[0]={});return a||(l.color=n.slice()),!s&&r&&(l.decal=r.slice()),t}}var a=i(6),o=i(3),s=i(79),l=i(613),u=i(85),c=i(286),h=i(13),d=i(149),p=i(652),f=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.preventUsingHoverLayer=!0,i}return i.i(a.a)(e,t),e.prototype.getInitialData=function(t,e){function i(t){t.wrapMethod("getItemModel",function(t,e){var i=p.getNodeByDataIndex(e),n=i?d[i.depth]:null;return t.parentModel=n||h,t})}var a={name:t.name,children:t.data};n(a);var s=t.levels||[],c=this.designatedVisualItemStyle={},h=new u.a({itemStyle:c},this,e);s=t.levels=r(s,e);var d=o.p(s||[],function(t){return new u.a(t,h,e)},this),p=l.a.createTree(a,this,i);return p.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.formatTooltip=function(t,e,n){var r=this.getData(),a=this.getRawValue(t),o=r.getName(t);return i.i(d.b)("nameValue",{name:o,value:a})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=i.i(c.c)(r,this),n.treePathInfo=n.treeAncestors,n},e.prototype.setLayoutInfo=function(t){this.layoutInfo=this.layoutInfo||{},o.g(this.layoutInfo,t)},e.prototype.mapIdToIndex=function(t){var e=this._idIndexMap;e||(e=this._idIndexMap=o.k(),this._idIndexMapCount=0);var i=e.get(t);return null==i&&e.set(t,i=this._idIndexMapCount++),i},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},e.prototype.enableAriaDecal=function(){i.i(p.a)(this)},e.type="series.treemap",e.layoutMode="box",e.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.1024,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},e}(s.b);e.a=f},905:function(t,e,i){"use strict";function n(){return{nodeGroup:[],background:[],content:[]}}function r(t,e,n,r,o,h,d,p,f,g){function v(t){!t.invisible&&h.push(t)}function y(e,n,r,a){var o=E.getModel(a?C:T),l=i.i(b.n)(E.get("name"),null),u=o.getShallow("show");i.i(S.e)(e,i.i(S.f)(E,a?C:T),{defaultText:u?l:null,inheritColor:n,defaultOpacity:r,labelFetcher:t,labelDataIndex:d.dataIndex});var c=e.getTextContent();if(c){var h=c.style,p=i.i(s.E)(h.padding||0);a&&(e.setTextConfig({layoutRect:a}),c.disableLabelLayout=!0),c.beforeUpdate=function(){var t=Math.max((a?a.width:e.shape.width)-p[1]-p[3],0),i=Math.max((a?a.height:e.shape.height)-p[0]-p[2],0);h.width===t&&h.height===i||c.setStyle({width:t,height:i})},h.truncateMinChar=2,h.lineOverflow="truncate",m(h,a,R);var f=c.getState("emphasis");m(f?f.style:null,a,R)}}function m(e,i,n){var r=e?e.text:null;if(!i&&n.isLeafRoot&&null!=r){var a=t.get("drillDownIcon",!0);e.text=a?a+" "+r:r}}function x(t,i,r,s){var l=null!=G&&n[t][G],u=o[t];return l?(n[t][G]=null,w(u,l)):V||(l=new i,l instanceof _.c&&(l.z2=a(r,s)),k(u,l)),e[t][j]=l}function w(t,e){var n=t[j]={};e instanceof M?(n.oldX=e.x,n.oldY=e.y):n.oldShape=i.i(s.g)({},e.shape)}function k(t,e){var i=t[j]={},n=d.parentNode,a=e instanceof l.Group;if(n&&(!r||"drillDown"===r.direction)){var s=0,u=0,c=o.background[n.getRawIndex()];!r&&c&&c.oldShape&&(s=c.oldShape.width,u=c.oldShape.height),a?(i.oldX=0,i.oldY=u):i.oldShape={x:s,y:u,width:0,height:0}}i.fadein=!a}if(d){var R=d.getLayout(),N=t.getData(),E=d.getModel();if(N.setItemGraphicEl(d.dataIndex,null),R&&R.isInView){var z=R.width,B=R.height,F=R.borderWidth,V=R.invisible,j=d.getRawIndex(),G=p&&p.getRawIndex(),W=d.viewChildren,H=R.upperHeight,Y=W&&W.length,U=E.getModel("itemStyle"),q=E.getModel(["emphasis","itemStyle"]),X=E.getModel(["blur","itemStyle"]),Z=E.getModel(["select","itemStyle"]),$=U.get("borderRadius")||0,K=x("nodeGroup",M);if(K){if(f.add(K),K.x=R.x||0,K.y=R.y||0,K.markRedraw(),O(K).nodeWidth=z,O(K).nodeHeight=B,R.isAboveViewRoot)return K;var Q=x("background",I,g,D);Q&&function(e,n,r){var a=i.i(u.a)(n);if(a.dataIndex=d.dataIndex,a.seriesIndex=t.seriesIndex,n.setShape({x:0,y:0,width:z,height:B,r:$}),V)v(n);else{n.invisible=!1;var o=d.getVisual("style"),s=o.stroke,l=P(U);l.fill=s;var h=L(q);h.fill=q.get("borderColor");var p=L(X);p.fill=X.get("borderColor");var f=L(Z);if(f.fill=Z.get("borderColor"),r){var g=z-2*F;y(n,s,o.opacity,{x:F,y:0,width:g,height:H})}else n.removeTextContent();n.setStyle(l),n.ensureState("emphasis").style=h,n.ensureState("blur").style=p,n.ensureState("select").style=f,i.i(c.H)(n)}e.add(n)}(K,Q,Y&&R.upperLabelHeight);var J=E.getModel("emphasis"),tt=J.get("focus"),et=J.get("blurScope"),it=J.get("disabled"),nt="ancestor"===tt?d.getAncestorsIndices():"descendant"===tt?d.getDescendantIndices():tt;if(Y)i.i(c.q)(K)&&i.i(c.c)(K,!1),Q&&(i.i(c.c)(Q,!it),N.setItemGraphicEl(d.dataIndex,Q),i.i(c.K)(Q,nt,et));else{var rt=x("content",I,g,A);rt&&function(e,n){var r=i.i(u.a)(n);r.dataIndex=d.dataIndex,r.seriesIndex=t.seriesIndex;var a=Math.max(z-2*F,0),o=Math.max(B-2*F,0);if(n.culling=!0,n.setShape({x:F,y:F,width:a,height:o,r:$}),V)v(n);else{n.invisible=!1;var s=d.getVisual("style"),l=s.fill,h=P(U);h.fill=l,h.decal=s.decal;var p=L(q),f=L(X),g=L(Z);y(n,l,s.opacity,null),n.setStyle(h),n.ensureState("emphasis").style=p,n.ensureState("blur").style=f,n.ensureState("select").style=g,i.i(c.H)(n)}e.add(n)}(K,rt),Q.disableMorphing=!0,Q&&i.i(c.q)(Q)&&i.i(c.c)(Q,!1),i.i(c.c)(K,!it),N.setItemGraphicEl(d.dataIndex,K),i.i(c.K)(K,nt,et)}return K}}}}function a(t,e){return t*k+e}var o=i(6),s=i(3),l=i(14),u=i(66),c=i(45),h=i(289),d=i(286),p=i(903),f=i(518),g=i(74),v=i(139),y=i(1079),m=i(482),x=i(80),_=i(167),b=i(13),w=i(137),S=i(58),M=l.Group,I=l.Rect,T="label",C="upperLabel",k=10*c.J,D=2*c.J,A=3*c.J,L=i.i(m.a)([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),P=function(t){var e=L(t);return e.stroke=e.fill=e.lineWidth=null,e},O=i.i(b.a)(),R=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i._state="ready",i._storage=n(),i}return i.i(o.a)(e,t),e.prototype.render=function(t,e,n,r){var a=e.findComponents({mainType:"series",subType:"treemap",query:r});if(!(i.i(s.f)(a,t)<0)){this.seriesModel=t,this.api=n,this.ecModel=e;var o=["treemapZoomToNode","treemapRootToNode"],l=d.a(r,o,t),u=r&&r.type,c=t.layoutInfo,h=!this._oldTree,p=this._storage,f="treemapRootToNode"===u&&l&&p?{rootNodeGroup:p.nodeGroup[l.node.getRawIndex()],direction:r.direction}:null,g=this._giveContainerGroup(c),v=t.get("animation"),y=this._doRender(g,t,f);!v||h||u&&"treemapZoomToNode"!==u&&"treemapRootToNode"!==u?y.renderFinally():this._doAnimation(g,y,t,f),this._resetController(n),this._renderBreadcrumb(t,n,l)}},e.prototype._giveContainerGroup=function(t){var e=this._containerGroup;return e||(e=this._containerGroup=new M,this._initEvents(e),this.group.add(e)),e.x=t.x,e.y=t.y,e},e.prototype._doRender=function(t,e,a){function o(t,i,n,o){return r(e,f,g,a,p,v,t,i,n,o)}function l(t,e,n,r,a){function u(t){return t.getId()}function c(i,s){var u=null!=i?t[i]:null,c=null!=s?e[s]:null,h=o(u,c,n,a);h&&l(u&&u.viewChildren||[],c&&c.viewChildren||[],h,r,a+1)}r?(e=t,i.i(s.d)(t,function(t,e){!t.isRemoved()&&c(e,e)})):new h.a(e,t,u,u).add(c).update(c).remove(i.i(s.I)(c,null)).execute()}function u(){i.i(s.d)(y,function(t){i.i(s.d)(t,function(t){t.parent&&t.parent.remove(t)})}),i.i(s.d)(v,function(t){t.invisible=!0,t.dirty()})}var c=e.getData().tree,d=this._oldTree,p=n(),f=n(),g=this._storage,v=[];l(c.root?[c.root]:[],d&&d.root?[d.root]:[],t,c===d||!d,0);var y=function(t){var e=n();return t&&i.i(s.d)(t,function(t,n){var r=e[n];i.i(s.d)(t,function(t){t&&(r.push(t),O(t).willDelete=!0)})}),e}(g);return this._oldTree=c,this._storage=f,{lastsForAnimation:p,willDeleteEls:y,renderFinally:u}},e.prototype._doAnimation=function(t,e,n,r){var a=n.get("animationDurationUpdate"),o=n.get("animationEasing"),u=(i.i(s.a)(a)?0:a)||0,c=(i.i(s.a)(o)?null:o)||"cubicOut",h=y.a();i.i(s.d)(e.willDeleteEls,function(t,e){i.i(s.d)(t,function(t,i){if(!t.invisible){var n,a=t.parent,o=O(a);if(r&&"drillDown"===r.direction)n=a===r.rootNodeGroup?{shape:{x:0,y:0,width:o.nodeWidth,height:o.nodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var s=0,l=0;o.willDelete||(s=o.nodeWidth/2,l=o.nodeHeight/2),n="nodeGroup"===e?{x:s,y:l,style:{opacity:0}}:{shape:{x:s,y:l,width:0,height:0},style:{opacity:0}}}n&&h.add(t,n,u,0,c)}})}),i.i(s.d)(this._storage,function(t,n){i.i(s.d)(t,function(t,r){var a=e.lastsForAnimation[n][r],o={};a&&(t instanceof l.Group?null!=a.oldX&&(o.x=t.x,o.y=t.y,t.x=a.oldX,t.y=a.oldY):(a.oldShape&&(o.shape=i.i(s.g)({},t.shape),t.setShape(a.oldShape)),a.fadein?(t.setStyle("opacity",0),o.style={opacity:1}):1!==t.style.opacity&&(o.style={opacity:1})),h.add(t,o,u,0,c))})},this),this._state="animating",h.finished(i.i(s.K)(function(){this._state="ready",e.renderFinally()},this)).start()},e.prototype._resetController=function(t){var e=this._controller;e||(e=this._controller=new f.a(t.getZr()),e.enable(this.seriesModel.get("roam")),e.on("pan",i.i(s.K)(this._onPan,this)),e.on("zoom",i.i(s.K)(this._onZoom,this)));var n=new g.a(0,0,t.getWidth(),t.getHeight());e.setPointerChecker(function(t,e,i){return n.contain(e,i)})},e.prototype._clearController=function(){var t=this._controller;t&&(t.dispose(),t=null)},e.prototype._onPan=function(t){if("animating"!==this._state&&(Math.abs(t.dx)>3||Math.abs(t.dy)>3)){var e=this.seriesModel.getData().tree.root;if(!e)return;var i=e.getLayout();if(!i)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:i.x+t.dx,y:i.y+t.dy,width:i.width,height:i.height}})}},e.prototype._onZoom=function(t){var e=t.originX,i=t.originY;if("animating"!==this._state){var n=this.seriesModel.getData().tree.root;if(!n)return;var r=n.getLayout();if(!r)return;var a=new g.a(r.x,r.y,r.width,r.height),o=this.seriesModel.layoutInfo;e-=o.x,i-=o.y;var s=v.a();v.b(s,s,[-e,-i]),v.c(s,s,[t.scale,t.scale]),v.b(s,s,[e,i]),a.applyTransform(s),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:a.x,y:a.y,width:a.width,height:a.height}})}},e.prototype._initEvents=function(t){var e=this;t.on("click",function(t){if("ready"===e._state){var n=e.seriesModel.get("nodeClick",!0);if(n){var r=e.findTarget(t.offsetX,t.offsetY);if(r){var a=r.node;if(a.getLayout().isLeafRoot)e._rootToNode(r);else if("zoomToNode"===n)e._zoomToNode(r);else if("link"===n){var o=a.hostTree.data.getItemModel(a.dataIndex),s=o.get("link",!0),l=o.get("target",!0)||"blank";s&&i.i(w.h)(s,l)}}}}},this)},e.prototype._renderBreadcrumb=function(t,e,i){var n=this;i||(i=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2))||(i={node:t.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new p.a(this.group))).render(t,e,i.node,function(e){"animating"!==n._state&&(d.b(t.getViewRoot(),e)?n._rootToNode({node:e}):n._zoomToNode({node:e}))})},e.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=n(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},e.prototype.dispose=function(){this._clearController()},e.prototype._zoomToNode=function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype._rootToNode=function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype.findTarget=function(t,e){var i;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},function(n){var r=this._storage.background[n.getRawIndex()];if(r){var a=r.transformCoordToLocal(t,e),o=r.shape;if(!(o.x<=a[0]&&a[0]<=o.x+o.width&&o.y<=a[1]&&a[1]<=o.y+o.height))return!1;i={node:n,offsetX:a[0],offsetY:a[1]}}},this),i},e.type="treemap",e}(x.a);e.a=R},906:function(t,e,i){"use strict";function n(t){t.registerSeriesModel(a.a),t.registerChartView(o.a),t.registerVisual(s.a),t.registerLayout(l.a),i.i(r.a)(t)}e.a=n;var r=i(907),a=i(904),o=i(905),s=i(909),l=i(908)},907:function(t,e,i){"use strict";function n(t){for(var e=0;e=0;l--){var u=r["asc"===n?o-l-1:l].getValue();u/i*eo[1]&&(o[1]=e)})):o=[NaN,NaN],{sum:n,dataExtent:o}}function l(t,e,i){for(var n=0,r=1/0,a=0,o=void 0,s=t.length;an&&(n=o));var l=t.area*t.area,u=e*e*i;return l?x(u*n/l,l/(u*r)):1/0}function u(t,e,i,n,r){var a=e===i.width?0:1,o=1-a,s=["x","y"],l=["width","height"],u=i[s[a]],c=e?t.area/e:0;(r||c>i[l[o]])&&(c=i[l[o]]);for(var h=0,d=t.length;hv.t&&(u=v.t),a=s}u=s.length||t===s[t.depth]){n(t,c(h,m,t,e,S,u),s,u)}})}else v=a(m),x.fill=v}}function r(t,e,n){var r=i.i(d.g)({},e),a=n.designatedVisualItemStyle;return i.i(d.d)(["color","colorAlpha","colorSaturation"],function(i){a[i]=e[i];var n=t.get(i);a[i]=null,null!=n&&(r[i]=n)}),r}function a(t){var e=s(t,"color");if(e){var n=s(t,"colorAlpha"),r=s(t,"colorSaturation");return r&&(e=i.i(p.f)(e,null,null,r)),n&&(e=i.i(p.g)(e,n)),e}}function o(t,e){return null!=e?i.i(p.f)(e,null,null,t):null}function s(t,e){var i=t[e];if(null!=i&&"none"!==i)return i}function l(t,e,i,n,r,a){if(a&&a.length){var o=u(e,"color")||null!=r.color&&"none"!==r.color&&(u(e,"colorAlpha")||u(e,"colorSaturation"));if(o){var s=e.get("visualMin"),l=e.get("visualMax"),c=i.dataExtent.slice();null!=s&&sc[1]&&(c[1]=l);var d=e.get("colorMappingBy"),p={type:o.name,dataExtent:c,visual:o.range};"color"!==p.type||"index"!==d&&"id"!==d?p.mappingMethod="linear":(p.mappingMethod="category",p.loop=!0);var f=new h.a(p);return v(f).drColorMappingBy=d,f}}}function u(t,e){var n=t.get(e);return i.i(d.j)(n)&&n.length?{name:e,range:n}:null}function c(t,e,n,r,a,o){var s=i.i(d.g)({},e);if(a){var l=a.type,u="color"===l&&v(a).drColorMappingBy,c="index"===u?r:"id"===u?o.mapIdToIndex(n.getId()):n.getValue(t.get("visualDimension"));s[l]=a.mapValueToVisual(c)}return s}var h=i(325),d=i(3),p=i(160),f=i(13),g="itemStyle",v=i.i(f.a)();e.a={seriesType:"treemap",reset:function(t){var e=t.getData().tree,i=e.root;i.isRemoved()||n(i,{},t.getViewRoot().getAncestors(),t)}}},91:function(t,e,i){"use strict";var n=function(){function t(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return t}(),r=function(){function t(){this.browser=new n,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!=typeof window}return t}(),a=new r;"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(a.wxa=!0,a.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?a.worker=!0:"undefined"==typeof navigator?(a.node=!0,a.svgSupported=!0):function(t,e){var i=e.browser,n=t.match(/Firefox\/([\d.]+)/),r=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),a=t.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(t);n&&(i.firefox=!0,i.version=n[1]),r&&(i.ie=!0,i.version=r[1]),a&&(i.edge=!0,i.version=a[1],i.newEdge=+a[1].split(".")[0]>18),o&&(i.weChat=!0),e.svgSupported="undefined"!=typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!i.ie&&!i.edge,e.pointerEventsSupported="onpointerdown"in window&&(i.edge||i.ie&&+i.version>=11),e.domSupported="undefined"!=typeof document;var s=document.documentElement.style;e.transform3dSupported=(i.ie&&"transition"in s||i.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||i.ie&&+i.version>=9}(navigator.userAgent,a),e.a=a},910:function(t,e,i){"use strict";function n(t){t.registerPreprocessor(a.a),t.registerVisual(t.PRIORITY.VISUAL.ARIA,r.a)}e.a=n;var r=i(1081),a=i(911)},911:function(t,e,i){"use strict";function n(t){if(t&&t.aria){var e=t.aria;null!=e.show&&(e.enabled=e.show),e.label=e.label||{},r.d(["description","general","series","data"],function(t){null!=e[t]&&(e.label[t]=e[t])})}}e.a=n;var r=i(3)},912:function(t,e,i){"use strict";function n(t,e,i){e[1]>e[0]&&(e=e.slice().reverse());var n=t.coordToPoint([e[0],i]),r=t.coordToPoint([e[1],i]);return{x1:n[0],y1:n[1],x2:r[0],y2:r[1]}}function r(t){return t.getRadiusAxis().inverse?0:1}function a(t){var e=t[0],i=t[t.length-1];e&&i&&Math.abs(Math.abs(e.coord-i.coord)-360)<1e-4&&t.pop()}var o=i(6),s=i(3),l=i(14),u=i(58),c=i(85),h=i(321),d=i(287),p=i(66),f=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"],g=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.axisPointerClass="PolarAxisPointer",i}return i.i(o.a)(e,t),e.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var i=t.axis,n=i.polar,r=n.getRadiusAxis().getExtent(),o=i.getTicksCoords(),l=i.getMinorTicksCoords(),u=s.p(i.getViewLabels(),function(t){t=s.v(t);var e=i.scale,n="ordinal"===e.type?e.getRawOrdinalNumber(t.tickValue):t.tickValue;return t.coord=i.dataToCoord(n),t});a(u),a(o),s.d(f,function(e){!t.get([e,"show"])||i.scale.isBlank()&&"axisLine"!==e||v[e](this.group,t,n,o,l,r,u)},this)}},e.type="angleAxis",e}(h.a),v={axisLine:function(t,e,i,n,a,o){var s,u=e.getModel(["axisLine","lineStyle"]),c=r(i),h=c?0:1;s=0===o[h]?new l.Circle({shape:{cx:i.cx,cy:i.cy,r:o[c]},style:u.getLineStyle(),z2:1,silent:!0}):new l.Ring({shape:{cx:i.cx,cy:i.cy,r:o[c],r0:o[h]},style:u.getLineStyle(),z2:1,silent:!0}),s.style.fill=null,t.add(s)},axisTick:function(t,e,i,a,o,u){var c=e.getModel("axisTick"),h=(c.get("inside")?-1:1)*c.get("length"),d=u[r(i)],p=s.p(a,function(t){return new l.Line({shape:n(i,[d,d+h],t.coord)})});t.add(l.mergePath(p,{style:s.t(c.getModel("lineStyle").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(t,e,i,a,o,u){if(o.length){for(var c=e.getModel("axisTick"),h=e.getModel("minorTick"),d=(c.get("inside")?-1:1)*h.get("length"),p=u[r(i)],f=[],g=0;gw?"left":"right",I=Math.abs(b[1]-S)/_<.3?"middle":b[1]>S?"top":"bottom";if(g&&g[x]){var T=g[x];s.i(T)&&T.textStyle&&(f=new c.a(T.textStyle,v,v.ecModel))}var C=new l.Text({silent:d.a.isLabelSilent(e),style:i.i(u.d)(f,{x:b[0],y:b[1],fill:f.getTextColor()||e.get(["axisLine","lineStyle","color"]),text:a.formattedLabel,align:M,verticalAlign:I})});if(t.add(C),m){var k=d.a.makeAxisEventDataBase(e);k.targetType="axisLabel",k.value=a.rawLabel,i.i(p.a)(C).eventData=k}},this)},splitLine:function(t,e,i,r,a,o){var u=e.getModel("splitLine"),c=u.getModel("lineStyle"),h=c.get("color"),d=0;h=h instanceof Array?h:[h];for(var p=[],f=0;f=0)&&i({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})})},e.prototype.remove=function(t,e){r.b("axisPointer",e)},e.prototype.dispose=function(t,e){r.b("axisPointer",e)},e.type="axisPointer",e}(a.a);e.a=o},920:function(t,e,i){"use strict";function n(t,e){var i={};return i[e.dim+"AxisIndex"]=e.index,t.getCartesian(i)}function r(t){return"x"===t.dim?0:1}var a=i(6),o=i(597),s=i(538),l=i(608),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.i(a.a)(e,t),e.prototype.makeElOption=function(t,e,i,r,a){var o=i.axis,u=o.grid,h=r.get("type"),d=n(u,o).getOtherAxis(o).getGlobalExtent(),p=o.toGlobalCoord(o.dataToCoord(e,!0));if(h&&"none"!==h){var f=s.a(r),g=c[h](o,p,d);g.style=f,t.graphicKey=g.type,t.pointer=g}var v=l.a(u.model,i);s.b(e,t,v,i,r,a)},e.prototype.getHandleTransform=function(t,e,i){var n=l.a(e.axis.grid.model,e,{labelInside:!1});n.labelMargin=i.get(["handle","margin"]);var r=s.c(e.axis,t,n);return{x:r[0],y:r[1],rotation:n.rotation+(n.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,i,r){var a=i.axis,o=a.grid,s=a.getGlobalExtent(!0),l=n(o,a).getOtherAxis(a).getGlobalExtent(),u="x"===a.dim?0:1,c=[t.x,t.y];c[u]+=e[u],c[u]=Math.min(s[1],c[u]),c[u]=Math.max(s[0],c[u]);var h=(l[1]+l[0])/2,d=[h,h];d[u]=c[u];var p=[{verticalAlign:"middle"},{align:"center"}];return{x:c[0],y:c[1],rotation:t.rotation,cursorPoint:d,tooltipOption:p[u]}},e}(o.a),c={line:function(t,e,i){return{type:"Line",subPixelOptimize:!0,shape:s.d([e,i[0]],[e,i[1]],r(t))}},shadow:function(t,e,i){var n=Math.max(1,t.getBandWidth()),a=i[1]-i[0];return{type:"Rect",shape:s.e([e-n/2,i[0]],[n,a],r(t))}}};e.a=u},921:function(t,e,i){"use strict";function n(t,e,i,n,r){var a=e.axis,s=a.dataToCoord(t),c=n.getAngleAxis().getExtent()[0];c=c/180*Math.PI;var h,d,p,f=n.getRadiusAxis().getExtent();if("radius"===a.dim){var g=l.a();l.h(g,g,c),l.b(g,g,[n.cx,n.cy]),h=o.applyTransform([s,-r],g);var v=e.getModel("axisLabel").get("rotate")||0,y=u.a.innerTextLayout(c,v*Math.PI/180,-1);d=y.textAlign,p=y.textVerticalAlign}else{var m=f[1];h=n.coordToPoint([m+r,s]);var x=n.cx,_=n.cy;d=Math.abs(h[0]-x)/m<.3?"center":h[0]>x?"left":"right",p=Math.abs(h[1]-_)/m<.3?"middle":h[1]>_?"top":"bottom"}return{position:h,align:d,verticalAlign:p}}var r=i(6),a=i(597),o=i(14),s=i(538),l=i(139),u=i(287),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.i(r.a)(e,t),e.prototype.makeElOption=function(t,e,i,r,a){var o=i.axis;"angle"===o.dim&&(this.animationThreshold=Math.PI/18);var l=o.polar,u=l.getOtherAxis(o),c=u.getExtent(),d=o.dataToCoord(e),p=r.get("type");if(p&&"none"!==p){var f=s.a(r),g=h[p](o,l,d,c);g.style=f,t.graphicKey=g.type,t.pointer=g}var v=r.get(["label","margin"]),y=n(e,i,r,l,v);s.g(t,i,r,a,y)},e}(a.a),h={line:function(t,e,i,n){return"angle"===t.dim?{type:"Line",shape:s.d(e.coordToPoint([n[0],i]),e.coordToPoint([n[1],i]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:i}}},shadow:function(t,e,i,n){var r=Math.max(1,t.getBandWidth()),a=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:s.h(e.cx,e.cy,n[0],n[1],(-i-r/2)*a,(r/2-i)*a)}:{type:"Sector",shape:s.h(e.cx,e.cy,i-r/2,i+r/2,0,2*Math.PI)}}};e.a=c},922:function(t,e,i){"use strict";function n(t){return t.isHorizontal()?0:1}function r(t,e){var i=t.getRect();return[i[u[e]],i[u[e]]+i[c[e]]]}var a=i(6),o=i(597),s=i(538),l=i(692),u=["x","y"],c=["width","height"],h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.i(a.a)(e,t),e.prototype.makeElOption=function(t,e,i,a,o){var u=i.axis,c=u.coordinateSystem,h=r(c,1-n(u)),p=c.dataToPoint(e)[0],f=a.get("type");if(f&&"none"!==f){var g=s.a(a),v=d[f](u,p,h);v.style=g,t.graphicKey=v.type,t.pointer=v}var y=l.a(i);s.b(e,t,y,i,a,o)},e.prototype.getHandleTransform=function(t,e,i){var n=l.a(e,{labelInside:!1});n.labelMargin=i.get(["handle","margin"]);var r=s.c(e.axis,t,n);return{x:r[0],y:r[1],rotation:n.rotation+(n.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,i,a){var o=i.axis,s=o.coordinateSystem,l=n(o),u=r(s,l),c=[t.x,t.y];c[l]+=e[l],c[l]=Math.min(u[1],c[l]),c[l]=Math.max(u[0],c[l]);var h=r(s,1-l),d=(h[1]+h[0])/2,p=[d,d];return p[l]=c[l],{x:c[0],y:c[1],rotation:t.rotation,cursorPoint:p,tooltipOption:{verticalAlign:"middle"}}},e}(o.a),d={line:function(t,e,i){return{type:"Line",subPixelOptimize:!0,shape:s.d([e,i[0]],[e,i[1]],n(t))}},shadow:function(t,e,i){var r=t.getBandWidth(),a=i[1]-i[0];return{type:"Rect",shape:s.e([e-r/2,i[0]],[r,a],n(t))}}};e.a=h},923:function(t,e,i){"use strict";function n(t,e,n){var a=t.currTrigger,f=[t.x,t.y],g=t,m=t.dispatchAction||i.i(y.K)(n.dispatchAction,n),x=e.getComponent("axisPointer").coordSysAxesInfo;if(x){p(f)&&(f=i.i(v.a)({seriesIndex:g.seriesIndex,dataIndex:g.dataIndex},e).point);var _=p(f),b=g.axesInfo,w=x.axesInfo,S="leave"===a||p(f),M={},I={},T={list:[],map:{}},C={showPointer:i.i(y.I)(o,I),showTooltip:i.i(y.I)(s,T)};i.i(y.d)(x.coordSysMap,function(t,e){var n=_||t.containPoint(f);i.i(y.d)(x.coordSysAxesInfo[e],function(t,e){var i=t.axis,a=h(b,t);if(!S&&n&&(!b||a)){var o=a&&a.value;null!=o||_||(o=i.pointToData(f)),null!=o&&r(t,o,C,!1,M)}})});var k={};return i.i(y.d)(w,function(t,e){var n=t.linkGroup;n&&!I[e]&&i.i(y.d)(n.axesInfo,function(e,i){var r=I[i];if(e!==t&&r){var a=r.value;n.mapper&&(a=t.axis.scale.parse(n.mapper(a,d(e),d(t)))),k[t.key]=a}})}),i.i(y.d)(k,function(t,e){r(w[e],t,C,!0,M)}),l(I,w,M),u(T,f,t,m),c(w,m,n),M}}function r(t,e,n,r,o){var s=t.axis;if(!s.scale.isBlank()&&s.containData(e)){if(!t.involveSeries)return void n.showPointer(t,e);var l=a(e,t),u=l.payloadBatch,c=l.snapToValue;u[0]&&null==o.seriesIndex&&i.i(y.g)(o,u[0]),!r&&t.snap&&s.containData(c)&&null!=c&&(e=c),n.showPointer(t,e,u),n.showTooltip(t,l,c)}}function a(t,e){var n=e.axis,r=n.dim,a=t,o=[],s=Number.MAX_VALUE,l=-1;return i.i(y.d)(e.seriesModels,function(e,u){var c,h,d=e.getData().mapDimensionsAll(r);if(e.getAxisTooltipData){var p=e.getAxisTooltipData(d,t,n);h=p.dataIndices,c=p.nestestValue}else{if(h=e.getData().indicesOfNearest(d[0],t,"category"===n.type?.5:null),!h.length)return;c=e.getData().get(d[0],h[0])}if(null!=c&&isFinite(c)){var f=t-c,g=Math.abs(f);g<=s&&((g=0&&l<0)&&(s=g,l=f,a=c,o.length=0),i.i(y.d)(h,function(t){o.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})}))}}),{payloadBatch:o,snapToValue:a}}function o(t,e,i,n){t[e.key]={value:i,payloadBatch:n}}function s(t,e,i,n){var r=i.payloadBatch,a=e.axis,o=a.model,s=e.axisPointerModel;if(e.triggerTooltip&&r.length){var l=e.coordSys.model,u=g.b(l),c=t.map[u];c||(c=t.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(c)),c.dataByAxis.push({axisDim:a.dim,axisIndex:o.componentIndex,axisType:o.type,axisId:o.id,value:n,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:r.slice()})}}function l(t,e,n){var r=n.axesInfo=[];i.i(y.d)(e,function(e,i){var n=e.axisPointerModel.option,a=t[i];a?(!e.useHandle&&(n.status="show"),n.value=a.value,n.seriesDataIndices=(a.payloadBatch||[]).slice()):!e.useHandle&&(n.status="hide"),"show"===n.status&&r.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:n.value})})}function u(t,e,i,n){if(p(e)||!t.list.length)return void n({type:"hideTip"});var r=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};n({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:i.tooltipOption,position:i.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:t.list})}function c(t,e,n){var r=n.getZr(),a=m(r).axisPointerLastHighlights||{},o=m(r).axisPointerLastHighlights={};i.i(y.d)(t,function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&i.i(y.d)(n.seriesDataIndices,function(t){var e=t.seriesIndex+" | "+t.dataIndex;o[e]=t})});var s=[],l=[];i.i(y.d)(a,function(t,e){!o[e]&&l.push(t)}),i.i(y.d)(o,function(t,e){!a[e]&&s.push(t)}),l.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}function h(t,e){for(var i=0;i<(t||[]).length;i++){var n=t[i];if(e.axis.dim===n.axisDim&&e.axis.model.componentIndex===n.axisIndex)return n}}function d(t){var e=t.axis.model,i={},n=i.axisDim=t.axis.dim;return i.axisIndex=i[n+"AxisIndex"]=e.componentIndex,i.axisName=i[n+"AxisName"]=e.name,i.axisId=i[n+"AxisId"]=e.id,i}function p(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}e.a=n;var f=i(13),g=i(537),v=i(662),y=i(3),m=i.i(f.a)()},924:function(t,e,i){"use strict";function n(t,e){return a.G({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new s.a(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}var r=i(6),a=i(3),o=i(550),s=i(85),l=i(73),u=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.areas=[],i.brushOption={},i}return i.i(r.a)(e,t),e.prototype.optionUpdated=function(t,e){var i=this.option;!e&&o.b(i,t,["inBrush","outOfBrush"]);var n=i.inBrush=i.inBrush||{};i.outOfBrush=i.outOfBrush||{color:"#ddd"},n.hasOwnProperty("liftZ")||(n.liftZ=5)},e.prototype.setAreas=function(t){t&&(this.areas=a.p(t,function(t){return n(this.option,t)},this))},e.prototype.setBrushOption=function(t){this.brushOption=n(this.option,t),this.brushType=this.brushOption.brushType},e.type="brush",e.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],e.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},e}(l.a);e.a=u},925:function(t,e,i){"use strict";var n=i(6),r=i(3),a=i(602),o=i(664),s=i(81),l=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i.i(n.a)(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e,this.model,(this._brushController=new a.a(e.getZr())).on("brush",r.K(this._onBrush,this)).mount()},e.prototype.render=function(t,e,i,n){this.model=t,this._updateController(t,e,i,n)},e.prototype.updateTransform=function(t,e,n,r){i.i(o.b)(e),this._updateController(t,e,n,r)},e.prototype.updateVisual=function(t,e,i,n){this.updateTransform(t,e,i,n)},e.prototype.updateView=function(t,e,i,n){this._updateController(t,e,i,n)},e.prototype._updateController=function(t,e,i,n){(!n||n.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(i)).enableBrush(t.brushOption).updateCovers(t.areas.slice())},e.prototype.dispose=function(){this._brushController.dispose()},e.prototype._onBrush=function(t){var e=this.model.id,i=this.model.brushTargetManager.setOutputRanges(t.areas,this.ecModel);(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:e,areas:r.v(i),$from:e}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:e,areas:r.v(i),$from:e})},e.type="brush",e}(s.a);e.a=l},926:function(t,e,i){"use strict";function n(t){t.registerComponentView(a.a),t.registerComponentModel(o.a),t.registerPreprocessor(r.a),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,s.a),t.registerAction({type:"brush",event:"brush",update:"updateVisual"},function(t,e){e.eachComponent({mainType:"brush",query:t},function(e){e.setAreas(t.areas)})}),t.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},c.B),t.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},c.B),i.i(u.a)("brush",l.a)}e.a=n;var r=i(927),a=i(925),o=i(924),s=i(664),l=i(978),u=i(220),c=i(3)},927:function(t,e,i){"use strict";function n(t,e){var n=i.i(o.d)(t?t.brush:[]);if(n.length){var l=[];a.d(n,function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(l=l.concat(e))});var u=t&&t.toolbox;a.j(u)&&(u=u[0]),u||(u={feature:{}},t.toolbox=[u]);var c=u.feature||(u.feature={}),h=c.brush||(c.brush={}),d=h.type||(h.type=[]);d.push.apply(d,l),r(d),e&&!d.length&&d.push.apply(d,s)}}function r(t){var e={};a.d(t,function(t){e[t]=1}),t.length=0,a.d(e,function(e,i){t.push(i)})}e.a=n;var a=i(3),o=i(13),s=["rect","polygon","keep","clear"]},928:function(t,e,i){"use strict";function n(t){var e=t.brushType,i={point:function(n){return u[e].point(n,i,t)},rect:function(n){return u[e].rect(n,i,t)}};return i}function r(t){var e=["x","y"],i=["width","height"];return{point:function(e,i,n){if(e){var r=n.range;return a(e[t],r)}},rect:function(n,r,o){if(n){var s=o.range,l=[n[e[t]],n[e[t]]+n[i[t]]];return l[1]+e.start.y&&(g=g+"-"+e.end.y);var v=s.get("formatter"),y={start:e.start.y,end:e.end.y,nameMap:g},m=this._formatterLabel(v,y),x=new a.Text({z2:30,style:i.i(o.d)(s,{text:m})});x.attr(this._yearTextPositionControl(x,f[u],n,u,l)),r.add(x)}},e.prototype._monthTextPositionControl=function(t,e,i,n,r){var a="left",o="top",s=t[0],l=t[1];return"horizontal"===i?(l+=r,e&&(a="center"),"start"===n&&(o="bottom")):(s+=r,e&&(o="middle"),"start"===n&&(a="right")),{x:s,y:l,align:a,verticalAlign:o}},e.prototype._renderMonthText=function(t,e,n,s){var l=t.getModel("monthLabel");if(l.get("show")){var u=l.get("nameMap"),h=l.get("margin"),d=l.get("position"),p=l.get("align"),f=[this._tlpoints,this._blpoints];u&&!i.i(r.m)(u)||(u&&(e=i.i(c.a)(u)||e),u=e.get(["time","monthAbbr"])||[]);var g="start"===d?0:1,v="horizontal"===n?0:1;h="start"===d?-h:h;for(var y="center"===p,m=0;m=s[0]&&t<=s[1]}if(t===this._dataZoomModel){var n=this._dimName,a=this.getTargetSeriesModels(),o=t.get("filterMode"),s=this._valueWindow;"none"!==o&&h(a,function(t){var e=t.getData(),a=e.mapDimensionsAll(n);if(a.length){if("weakFilter"===o){var l=e.getStore(),u=r.p(a,function(t){return e.getDimensionIndex(t)},e);e.filterSelf(function(t){for(var e,i,n,r=0;rs[1];if(c&&!h&&!d)return!0;c&&(n=!0),h&&(e=!0),d&&(i=!0)}return n&&e&&i})}else h(a,function(n){if("empty"===o)t.setData(e=e.map(n,function(t){return i(t)?t:NaN}));else{var r={};r[n]=s,e.selectRange(r)}});h(a,function(t){e.setApproximateExtent(s,t)})}})}},t.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,i=this._dataExtent;h(["min","max"],function(n){var r=e.get(n+"Span"),o=e.get(n+"ValueSpan");null!=o&&(o=this.getAxisModel().axis.scale.parse(o)),null!=o?r=a.h(i[0]+o,i,[0,100],!0):null!=r&&(o=a.h(r,[0,100],i,!0)-i[0]),t[n+"Span"]=r,t[n+"ValueSpan"]=o},this)},t.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,i=this._valueWindow;if(e){var n=a.k(i,[0,500]);n=Math.min(n,20);var r=t.axis.scale.rawExtentInfo;0!==e[0]&&r.setDeterminedMinMax("min",+i[0].toFixed(n)),100!==e[1]&&r.setDeterminedMinMax("max",+i[1].toFixed(n)),r.freeze()}},t}();e.a=p},932:function(t,e,i){"use strict";var n=i(6),r=i(598),a=i(150),o=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i.i(n.a)(e,t),e.type="dataZoom.inside",e.defaultOption=i.i(a.d)(r.a.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(r.a);e.a=o},933:function(t,e,i){"use strict";function n(t){return function(e,n,r,a){var s=this.range,l=s.slice(),u=e.axisModels[0];if(u){var c=t(l,u,e,n,r,a);return i.i(o.a)(c,l,[0,100],"all"),this.range=l,s[0]!==l[0]||s[1]!==l[1]?l:void 0}}}var r=i(6),a=i(599),o=i(476),s=i(668),l=i(3),u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return i.i(r.a)(e,t),e.prototype.render=function(e,n,r){if(t.prototype.render.apply(this,arguments),e.noTarget())return void this._clear();this.range=e.getPercentRange(),s.b(r,e,{pan:i.i(l.K)(c.pan,this),zoom:i.i(l.K)(c.zoom,this),scrollMove:i.i(l.K)(c.scrollMove,this)})},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){s.c(this.api,this.dataZoomModel),this.range=null},e.type="dataZoom.inside",e}(a.a),c={zoom:function(t,e,n,r){var a=this.range,s=a.slice(),l=t.axisModels[0];if(l){var u=h[e](null,[r.originX,r.originY],l,n,t),c=(u.signal>0?u.pixelStart+u.pixelLength-u.pixel:u.pixel-u.pixelStart)/u.pixelLength*(s[1]-s[0])+s[0],d=Math.max(1/r.scale,0);s[0]=(s[0]-c)*d+c,s[1]=(s[1]-c)*d+c;var p=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return i.i(o.a)(0,s,[0,100],0,p.minSpan,p.maxSpan),this.range=s,a[0]!==s[0]||a[1]!==s[1]?s:void 0}},pan:n(function(t,e,i,n,r,a){var o=h[n]([a.oldX,a.oldY],[a.newX,a.newY],e,r,i);return o.signal*(t[1]-t[0])*o.pixel/o.pixelLength}),scrollMove:n(function(t,e,i,n,r,a){return h[n]([0,0],[a.scrollDelta,a.scrollDelta],e,r,i).signal*(t[1]-t[0])*a.scrollDelta})},h={grid:function(t,e,i,n,r){var a=i.axis,o={},s=r.model.coordinateSystem.getRect();return t=t||[0,0],"x"===a.dim?(o.pixel=e[0]-t[0],o.pixelLength=s.width,o.pixelStart=s.x,o.signal=a.inverse?1:-1):(o.pixel=e[1]-t[1],o.pixelLength=s.height,o.pixelStart=s.y,o.signal=a.inverse?-1:1),o},polar:function(t,e,i,n,r){var a=i.axis,o={},s=r.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===i.mainType?(o.pixel=e[0]-t[0],o.pixelLength=l[1]-l[0],o.pixelStart=l[0],o.signal=a.inverse?1:-1):(o.pixel=e[1]-t[1],o.pixelLength=u[1]-u[0],o.pixelStart=u[0],o.signal=a.inverse?-1:1),o},singleAxis:function(t,e,i,n,r){var a=i.axis,o=r.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===a.orient?(s.pixel=e[0]-t[0],s.pixelLength=o.width,s.pixelStart=o.x,s.signal=a.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=o.height,s.pixelStart=o.y,s.signal=a.inverse?-1:1),s}};e.a=u},934:function(t,e,i){"use strict";var n=i(6),r=i(598),a=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i.i(n.a)(e,t),e.type="dataZoom.select",e}(r.a);e.a=a},935:function(t,e,i){"use strict";var n=i(6),r=i(599),a=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i.i(n.a)(e,t),e.type="dataZoom.select",e}(r.a);e.a=a},936:function(t,e,i){"use strict";var n=i(6),r=i(598),a=i(150),o=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i.i(n.a)(e,t),e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=i.i(a.d)(r.a.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),e}(r.a);e.a=o},937:function(t,e,i){"use strict";function n(t){return{x:"y",y:"x",radius:"angle",angle:"radius"}[t]}function r(t){return"vertical"===t?"ns-resize":"ew-resize"}var a=i(6),o=i(3),s=i(265),l=i(14),u=i(263),c=i(599),h=i(22),d=i(69),p=i(476),f=i(475),g=i(45),v=i(105),y=(i(56),i(58)),m=l.Rect,x="horizontal",_=5,b=["line","bar","candlestick","scatter"],w={easing:"cubicOut",duration:100,delay:0},S=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i._displayables={},i}return i.i(a.a)(e,t),e.prototype.init=function(t,e){this.api=e,this._onBrush=i.i(o.K)(this._onBrush,this),this._onBrushEnd=i.i(o.K)(this._onBrushEnd,this)},e.prototype.render=function(e,i,n,r){return t.prototype.render.apply(this,arguments),u.a(this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),!1===e.get("show")?void this.group.removeAll():e.noTarget()?(this._clear(),void this.group.removeAll()):(r&&"dataZoom"===r.type&&r.from===this.uid||this._buildView(),void this._updateView())},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){u.b(this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},e.prototype._buildView=function(){var t=this.group;t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var e=this._displayables.sliderGroup=new l.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},e.prototype._resetLocation=function(){var t=this.dataZoomModel,e=this.api,n=t.get("brushSelect"),r=n?7:0,a=this._findCoordRect(),s={width:e.getWidth(),height:e.getHeight()},l=this._orient===x?{right:s.width-a.x-a.width,top:s.height-30-7-r,width:a.width,height:30}:{right:7,top:a.y,width:30,height:a.height},u=d.b(t.option);i.i(o.d)(["right","top","width","height"],function(t){"ph"===u[t]&&(u[t]=l[t])});var c=d.f(u,s);this._location={x:c.x,y:c.y},this._size=[c.width,c.height],"vertical"===this._orient&&this._size.reverse()},e.prototype._positionGroup=function(){var t=this.group,e=this._location,i=this._orient,n=this.dataZoomModel.getFirstTargetAxisModel(),r=n&&n.get("inverse"),a=this._displayables.sliderGroup,o=(this._dataShadowInfo||{}).otherAxisInverse;a.attr(i!==x||r?i===x&&r?{scaleY:o?1:-1,scaleX:-1}:"vertical"!==i||r?{scaleY:o?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:o?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:o?1:-1,scaleX:1});var s=t.getBoundingRect([a]);t.x=e.x-s.x,t.y=e.y-s.y,t.markRedraw()},e.prototype._getViewExtent=function(){return[0,this._size[0]]},e.prototype._renderBackground=function(){var t=this.dataZoomModel,e=this._size,n=this._displayables.sliderGroup,r=t.get("brushSelect");n.add(new m({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var a=new m({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:i.i(o.K)(this._onClickPanel,this)}),s=this.api.getZr();r?(a.on("mousedown",this._onBrushStart,this),a.cursor="crosshair",s.on("mousemove",this._onBrush),s.on("mouseup",this._onBrushEnd)):(s.off("mousemove",this._onBrush),s.off("mouseup",this._onBrushEnd)),n.add(a)},e.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],t){var e=this._size,n=this._shadowSize||[],r=t.series,a=r.getRawData(),o=r.getShadowDim?r.getShadowDim():t.otherDim;if(null!=o){var s=this._shadowPolygonPts,u=this._shadowPolylinePts;if(a!==this._shadowData||o!==this._shadowDim||e[0]!==n[0]||e[1]!==n[1]){var c=a.getDataExtent(o),d=.3*(c[1]-c[0]);c=[c[0]-d,c[1]+d];var p,f=[0,e[1]],g=[0,e[0]],v=[[e[0],0],[0,0]],y=[],m=g[1]/(a.count()-1),x=0,_=Math.round(a.count()/e[0]);a.each([o],function(t,e){if(_>0&&e%_)return void(x+=m);var n=null==t||isNaN(t)||""===t,r=n?0:i.i(h.h)(t,c,f,!0);n&&!p&&e?(v.push([v[v.length-1][0],0]),y.push([y[y.length-1][0],0])):!n&&p&&(v.push([x,0]),y.push([x,0])),v.push([x,r]),y.push([x,r]),x+=m,p=n}),s=this._shadowPolygonPts=v,u=this._shadowPolylinePts=y}this._shadowData=a,this._shadowDim=o,this._shadowSize=[e[0],e[1]];for(var b=this.dataZoomModel,w=0;w<3;w++){var S=function(t){var e=b.getModel(t?"selectedDataBackground":"dataBackground"),i=new l.Group,n=new l.Polygon({shape:{points:s},segmentIgnoreThreshold:1,style:e.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),r=new l.Polyline({shape:{points:u},segmentIgnoreThreshold:1,style:e.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return i.add(n),i.add(r),i}(1===w);this._displayables.sliderGroup.add(S),this._displayables.dataShadowSegs.push(S)}}}},e.prototype._prepareDataShadowInfo=function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var r,a=this.ecModel;return t.eachTargetAxis(function(s,l){var u=t.getAxisProxy(s,l).getTargetSeriesModels();i.i(o.d)(u,function(t){if(!(r||!0!==e&&i.i(o.f)(b,t.get("type"))<0)){var u,c=a.getComponent(i.i(f.b)(s),l).axis,h=n(s),d=t.coordinateSystem;null!=h&&d.getOtherAxis&&(u=d.getOtherAxis(c).inverse),h=t.getData().mapDimension(h),r={thisAxis:c,series:t,thisDim:s,otherDim:h,otherAxisInverse:u}}},this)},this),r}},e.prototype._renderHandle=function(){var t=this.group,e=this._displayables,n=e.handles=[null,null],a=e.handleLabels=[null,null],s=this._displayables.sliderGroup,u=this._size,c=this.dataZoomModel,d=this.api,p=c.get("borderRadius")||0,f=c.get("brushSelect"),x=e.filler=new m({silent:f,style:{fill:c.get("fillerColor")},textConfig:{position:"inside"}});s.add(x),s.add(new m({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:u[0],height:u[1],r:p},style:{stroke:c.get("dataBackgroundColor")||c.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),i.i(o.d)([0,1],function(e){var u=c.get("handleIcon");!v.b[u]&&u.indexOf("path://")<0&&u.indexOf("image://")<0&&(u="path://"+u);var d=i.i(v.a)(u,-1,0,2,2,null,!0);d.attr({cursor:r(this._orient),draggable:!0,drift:i.i(o.K)(this._onDragMove,this,e),ondragend:i.i(o.K)(this._onDragEnd,this),onmouseover:i.i(o.K)(this._showDataInfo,this,!0),onmouseout:i.i(o.K)(this._showDataInfo,this,!1),z2:5});var p=d.getBoundingRect(),f=c.get("handleSize");this._handleHeight=i.i(h.a)(f,this._size[1]),this._handleWidth=p.width/p.height*this._handleHeight,d.setStyle(c.getModel("handleStyle").getItemStyle()),d.style.strokeNoScale=!0,d.rectHover=!0,d.ensureState("emphasis").style=c.getModel(["emphasis","handleStyle"]).getItemStyle(),i.i(g.d)(d);var m=c.get("handleColor");null!=m&&(d.style.fill=m),s.add(n[e]=d);var x=c.getModel("textStyle");t.add(a[e]=new l.Text({silent:!0,invisible:!0,style:i.i(y.d)(x,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:x.getTextColor(),font:x.getFont()}),z2:10}))},this);var _=x;if(f){var b=i.i(h.a)(c.get("moveHandleSize"),u[1]),w=e.moveHandle=new l.Rect({style:c.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:u[1]-.5,height:b}}),S=.8*b,M=e.moveHandleIcon=i.i(v.a)(c.get("moveHandleIcon"),-S/2,-S/2,S,S,"#fff",!0);M.silent=!0,M.y=u[1]+b/2-.5,w.ensureState("emphasis").style=c.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var I=Math.min(u[1]/2,Math.max(b,10));_=e.moveZone=new l.Rect({invisible:!0,shape:{y:u[1]-I,height:b+I}}),_.on("mouseover",function(){d.enterEmphasis(w)}).on("mouseout",function(){d.leaveEmphasis(w)}),s.add(w),s.add(M),s.add(_)}_.attr({draggable:!0,cursor:r(this._orient),drift:i.i(o.K)(this._onDragMove,this,"all"),ondragstart:i.i(o.K)(this._showDataInfo,this,!0),ondragend:i.i(o.K)(this._onDragEnd,this),onmouseover:i.i(o.K)(this._showDataInfo,this,!0),onmouseout:i.i(o.K)(this._showDataInfo,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[i.i(h.h)(t[0],[0,100],e,!0),i.i(h.h)(t[1],[0,100],e,!0)]},e.prototype._updateInterval=function(t,e){var n=this.dataZoomModel,r=this._handleEnds,a=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),s=[0,100];i.i(p.a)(e,r,a,n.get("zoomLock")?"all":t,null!=o.minSpan?i.i(h.h)(o.minSpan,s,a,!0):null,null!=o.maxSpan?i.i(h.h)(o.maxSpan,s,a,!0):null);var l=this._range,u=this._range=i.i(h.j)([i.i(h.h)(r[0],a,s,!0),i.i(h.h)(r[1],a,s,!0)]);return!l||l[0]!==u[0]||l[1]!==u[1]},e.prototype._updateView=function(t){var e=this._displayables,n=this._handleEnds,r=i.i(h.j)(n.slice()),a=this._size;i.i(o.d)([0,1],function(t){var i=e.handles[t],r=this._handleHeight;i.attr({scaleX:r/2,scaleY:r/2,x:n[t]+(t?-1:1),y:a[1]/2-r/2})},this),e.filler.setShape({x:r[0],y:0,width:r[1]-r[0],height:a[1]});var s={x:r[0],width:r[1]-r[0]};e.moveHandle&&(e.moveHandle.setShape(s),e.moveZone.setShape(s),e.moveZone.getBoundingRect(),e.moveHandleIcon&&e.moveHandleIcon.attr("x",s.x+s.width/2));for(var u=e.dataShadowSegs,c=[0,r[0],r[1],a[0]],d=0;de[0]||i[1]<0||i[1]>e[1])){var n=this._handleEnds,r=(n[0]+n[1])/2,a=this._updateInterval("all",i[0]-r);this._updateView(),a&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(t){var e=t.offsetX,i=t.offsetY;this._brushStart=new l.Point(e,i),this._brushing=!0,this._brushStartTime=+new Date},e.prototype._onBrushEnd=function(t){if(this._brushing){var e=this._displayables.brushRect;if(this._brushing=!1,e){e.attr("ignore",!0);var n=e.shape;if(!(+new Date-this._brushStartTime<200&&Math.abs(n.width)<5)){var r=this._getViewExtent(),a=[0,100];this._range=i.i(h.j)([i.i(h.h)(n.x,r,a,!0),i.i(h.h)(n.x+n.width,r,a,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&(s.a(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},e.prototype._updateBrushRect=function(t,e){var i=this._displayables,n=this.dataZoomModel,r=i.brushRect;r||(r=i.brushRect=new m({silent:!0,style:n.getModel("brushStyle").getItemStyle()}),i.sliderGroup.add(r)),r.attr("ignore",!1);var a=this._brushStart,o=this._displayables.sliderGroup,s=o.transformCoordToLocal(t,e),l=o.transformCoordToLocal(a.x,a.y),u=this._size;s[0]=Math.max(Math.min(u[0],s[0]),0),r.setShape({x:l[0],y:0,width:s[0]-l[0],height:u[1]})},e.prototype._dispatchZoomAction=function(t){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?w:null,start:e[0],end:e[1]})},e.prototype._findCoordRect=function(){var t,e=i.i(f.d)(this.dataZoomModel).infoList;if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}if(!t){var r=this.api.getWidth(),a=this.api.getHeight();t={x:.2*r,y:.2*a,width:.6*r,height:.6*a}}return t},e.type="dataZoom.slider",e}(c.a);e.a=S},938:function(t,e,i){"use strict";function n(t){t.registerAction("dataZoom",function(t,e){var n=i.i(r.a)(e,t);i.i(a.d)(n,function(e){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})})})}e.a=n;var r=i(475),a=i(3)},939:function(t,e,i){"use strict";var n=i(3),r=i(475),a=i(931),o={getTargetSeries:function(t){function e(e){t.eachComponent("dataZoom",function(n){n.eachTargetAxis(function(a,o){var s=t.getComponent(i.i(r.b)(a),o);e(a,o,s,n)})})}e(function(t,e,i,n){i.__dzAxisProxy=null});var o=[];e(function(e,i,n,r){n.__dzAxisProxy||(n.__dzAxisProxy=new a.a(e,i,r,t),o.push(n.__dzAxisProxy))});var s=i.i(n.k)();return i.i(n.d)(o,function(t){i.i(n.d)(t.getTargetSeriesModels(),function(t){s.set(t.uid,t)})}),s},overallReset:function(t,e){t.eachComponent("dataZoom",function(t){t.eachTargetAxis(function(e,i){t.getAxisProxy(e,i).reset(t)}),t.eachTargetAxis(function(i,n){t.getAxisProxy(i,n).filterData(t,e)})}),t.eachComponent("dataZoom",function(t){var e=t.findRepresentativeAxisProxy();if(e){var i=e.getDataPercentWindow(),n=e.getDataValueWindow();t.setCalculatedRange({start:i[0],end:i[1],startValue:n[0],endValue:n[1]})}})}};e.a=o},940:function(t,e,i){"use strict";function n(t){i.i(r.a)(a.a),i.i(r.a)(o.a)}e.a=n;var r=i(136),a=i(666),o=i(667)},941:function(t,e,i){"use strict";function n(t){t.registerComponentModel(r.a),t.registerComponentView(a.a),i.i(o.a)(t)}e.a=n;var r=i(934),a=i(935),o=i(600)},942:function(t,e,i){"use strict";function n(t){t.registerComponentModel(u),t.registerComponentView(c)}e.a=n;var r=i(6),a=i(73),o=i(81),s=i(165),l=i(698),u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return i.i(r.a)(e,t),e.prototype.init=function(e,n,r){t.prototype.init.call(this,e,n,r),this._sourceManager=new l.a(this),i.i(l.b)(this)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),i.i(l.b)(this)},e.prototype.optionUpdated=function(){this._sourceManager.dirty()},e.prototype.getSourceManager=function(){return this._sourceManager},e.type="dataset",e.defaultOption={seriesLayoutBy:s.c},e}(a.a),c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return i.i(r.a)(e,t),e.type="dataset",e}(o.a)},943:function(t,e,i){"use strict";var n=i(6),r=i(671),a=i(81),o=i(66),s=i(617),l=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.focusBlurEnabled=!0,i}return i.i(n.a)(e,t),e.prototype.init=function(t,e){this._api=e},e.prototype.render=function(t,e,i,n){if(this._model=t,!t.get("show"))return this._mapDraw&&this._mapDraw.remove(),void(this._mapDraw=null);this._mapDraw||(this._mapDraw=new r.a(i));var a=this._mapDraw;a.draw(t,e,i,this,n),a.group.on("click",this._handleRegionClick,this),a.group.silent=t.get("silent"),this.group.add(a.group),this.updateSelectStatus(t,e,i)},e.prototype._handleRegionClick=function(t){var e;i.i(s.a)(t.target,function(t){return null!=(e=i.i(o.a)(t).eventData)},!0),e&&this._api.dispatchAction({type:"geoToggleSelect",geoId:this._model.id,name:e.name})},e.prototype.updateSelectStatus=function(t,e,n){var r=this;this._mapDraw.group.traverse(function(t){var e=i.i(o.a)(t).eventData;if(e)return r._model.isSelected(e.name)?n.enterSelect(t):n.leaveSelect(t),!0})},e.prototype.findHighDownDispatchers=function(t){return this._mapDraw&&this._mapDraw.findHighDownDispatchers(t,this._model)},e.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove()},e.type="geo",e}(a.a);e.a=l},944:function(t,e,i){"use strict";function n(t,e){var i=t.existing;if(e.id=t.keyInfo.id,!e.type&&i&&(e.type=i.type),null==e.parentId){var n=e.parentOption;n?e.parentId=n.id:i&&(e.parentId=i.parentId)}e.parentOption=null}function r(t,e){var i;return u.d(e,function(e){null!=t[e]&&"auto"!==t[e]&&(i=!0)}),i}function a(t,e,n){var r=u.g({},n),a=t[e],s=n.$action||"merge";if("merge"===s)if(a){u.G(a,r,!0),i.i(d.c)(a,r,{ignoreSize:!0}),i.i(d.h)(n,a),o(n,a),o(n,a,"shape"),o(n,a,"style"),o(n,a,"extra"),n.clipPath=a.clipPath}else t[e]=r;else"replace"===s?t[e]=r:"remove"===s&&a&&(t[e]=null)}function o(t,e,i){if(i&&(!t[i]&&e[i]&&(t[i]={}),t=t[i],e=e[i]),t&&e)for(var n=i?p:f,r=0;r=0;u--){var h=n[u],p=d.n(h.id,null),v=null!=p?a.get(p):null;if(v){var y=v.parent,w=S(y),M=y===r?{width:o,height:s}:{width:w.width,height:w.height},I={},T=f.e(v,h,M,null,{hv:h.hv,boundingMode:h.bounding},I);if(!S(v).isNew&&T){for(var C=h.transition,k={},D=0;D=0)?k[A]=L:v[A]=L}i.i(_.a)(v,k,t,0)}else v.attr(I)}}},e.prototype._clear=function(){var t=this,e=this._elMap;e.each(function(i){a(i,S(i).option,e,t._lastGraphicModel)}),this._elMap=c.k()},e.prototype.dispose=function(){this._clear()},e.type="graphic",e}(v.a)},946:function(t,e,i){"use strict";function n(t){t.registerComponentModel(a.a),t.registerComponentView(o.a),t.registerPreprocessor(function(t){var e=t.graphic;i.i(r.j)(e)?e[0]&&e[0].elements?t.graphic=[t.graphic[0]]:t.graphic=[{elements:e}]:e&&!e.elements&&(t.graphic=[{elements:[e]}])})}e.a=n;var r=i(3),a=i(944),o=i(945)},947:function(t,e,i){"use strict";function n(t){i.i(o.a)(r.a),i.i(o.a)(a.a)}e.a=n;var r=i(601),a=i(517),o=i(136)},948:function(t,e,i){"use strict";function n(t,e,n){var r=t.getOrient(),a=[1,1];a[r.index]=0,i.i(o.c)(e,n,{type:"box",ignoreSize:!!a})}var r=i(6),a=i(675),o=i(69),s=i(150),l=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i.i(r.a)(e,t),e.prototype.setScrollDataIndex=function(t){this.option.scrollDataIndex=t},e.prototype.init=function(e,r,a){var s=i.i(o.b)(e);t.prototype.init.call(this,e,r,a),n(this,e,s)},e.prototype.mergeOption=function(e,i){t.prototype.mergeOption.call(this,e,i),n(this,this.option,e)},e.type="legend.scroll",e.defaultOption=i.i(s.d)(a.a.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800}),e}(a.a);e.a=l},949:function(t,e,i){"use strict";var n=i(6),r=i(3),a=i(14),o=i(69),s=i(676),l=a.Group,u=["width","height"],c=["x","y"],h=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.newlineDisabled=!0,i._currentIndex=0,i}return i.i(n.a)(e,t),e.prototype.init=function(){t.prototype.init.call(this),this.group.add(this._containerGroup=new l),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new l)},e.prototype.resetInner=function(){t.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},e.prototype.renderInner=function(e,i,n,o,s,l,u){function c(t,e){var n=t+"DataIndex",s=a.createIcon(i.get("pageIcons",!0)[i.getOrient().name][e],{onclick:r.K(h._pageGo,h,n,i,o)},{x:-f[0]/2,y:-f[1]/2,width:f[0],height:f[1]});s.name=t,d.add(s)}var h=this;t.prototype.renderInner.call(this,e,i,n,o,s,l,u);var d=this._controllerGroup,p=i.get("pageIconSize",!0),f=r.j(p)?p:[p,p];c("pagePrev",0);var g=i.getModel("pageTextStyle");d.add(new a.Text({name:"pageText",style:{text:"xx/xx",fill:g.getTextColor(),font:g.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),c("pageNext",1)},e.prototype.layoutInner=function(t,e,i,n,a,s){var l=this.getSelectorGroup(),h=t.getOrient().index,d=u[h],p=c[h],f=u[1-h],g=c[1-h];a&&o.d("horizontal",l,t.get("selectorItemGap",!0));var v=t.get("selectorButtonGap",!0),y=l.getBoundingRect(),m=[-y.x,-y.y],x=r.v(i);a&&(x[d]=i[d]-y[d]-v);var _=this._layoutContentAndController(t,n,x,h,d,f,g,p);if(a){if("end"===s)m[h]+=_[d]+v;else{var b=y[d]+v;m[h]-=b,_[p]-=b}_[d]+=y[d]+v,m[1-h]+=_[g]+_[f]/2-y[f]/2,_[f]=Math.max(_[f],y[f]),_[g]=Math.min(_[g],y[g]+m[1-h]),l.x=m[0],l.y=m[1],l.markRedraw()}return _},e.prototype._layoutContentAndController=function(t,e,i,n,s,l,u,c){var h=this.getContentGroup(),d=this._containerGroup,p=this._controllerGroup;o.d(t.get("orient"),h,t.get("itemGap"),n?i.width:null,n?null:i.height),o.d("horizontal",p,t.get("pageButtonItemGap",!0));var f=h.getBoundingRect(),g=p.getBoundingRect(),v=this._showController=f[s]>i[s],y=[-f.x,-f.y];e||(y[n]=h[c]);var m=[0,0],x=[-g.x,-g.y],_=r.e(t.get("pageButtonGap",!0),t.get("itemGap",!0));if(v){"end"===t.get("pageButtonPosition",!0)?x[n]+=i[s]-g[s]:m[n]+=g[s]+_}x[1-n]+=f[l]/2-g[l]/2,h.setPosition(y),d.setPosition(m),p.setPosition(x);var b={x:0,y:0};if(b[s]=v?i[s]:f[s],b[l]=Math.max(f[l],g[l]),b[u]=Math.min(0,g[u]+x[1-n]),d.__rectSize=i[s],v){var w={x:0,y:0};w[s]=Math.max(i[s]-g[s]-_,0),w[l]=b[l],d.setClipPath(new a.Rect({shape:w})),d.__rectSize=w[s]}else p.eachChild(function(t){t.attr({invisible:!0,silent:!0})});var S=this._getPageInfo(t);return null!=S.pageIndex&&a.updateProps(h,{x:S.contentPosition[0],y:S.contentPosition[1]},v?t:null),this._updatePageInfoView(t,S),b},e.prototype._pageGo=function(t,e,i){var n=this._getPageInfo(e)[t];null!=n&&i.dispatchAction({type:"legendScroll",scrollDataIndex:n,legendId:e.id})},e.prototype._updatePageInfoView=function(t,e){var i=this._controllerGroup;r.d(["pagePrev","pageNext"],function(n){var r=n+"DataIndex",a=null!=e[r],o=i.childOfName(n);o&&(o.setStyle("fill",a?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),o.cursor=a?"pointer":"default")});var n=i.childOfName("pageText"),a=t.get("pageFormatter"),o=e.pageIndex,s=null!=o?o+1:0,l=e.pageCount;n&&a&&n.setStyle("text",r.m(a)?a.replace("{current}",null==s?"":s+"").replace("{total}",null==l?"":l+""):a({current:s,total:l}))},e.prototype._getPageInfo=function(t){function e(t){if(t){var e=t.getBoundingRect(),i=e[l]+t[l];return{s:i,e:i+e[s],i:t.__legendDataIndex}}}function i(t,e){return t.e>=e&&t.s<=e+a}var n=t.get("scrollDataIndex",!0),r=this.getContentGroup(),a=this._containerGroup.__rectSize,o=t.getOrient().index,s=u[o],l=c[o],h=this._findTargetItemIndex(n),d=r.children(),p=d[h],f=d.length,g=f?1:0,v={contentPosition:[r.x,r.y],pageCount:g,pageIndex:g-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!p)return v;var y=e(p);v.contentPosition[o]=-y.s;for(var m=h+1,x=y,_=y,b=null;m<=f;++m)b=e(d[m]),(!b&&_.e>x.s+a||b&&!i(b,x.s))&&(x=_.i>x.i?_:b)&&(null==v.pageNextDataIndex&&(v.pageNextDataIndex=x.i),++v.pageCount),_=b;for(var m=h-1,x=y,_=y,b=null;m>=-1;--m)b=e(d[m]),b&&i(_,b.s)||!(x.i<_.i)||(_=x,null==v.pagePrevDataIndex&&(v.pagePrevDataIndex=x.i),++v.pageCount,++v.pageIndex),x=b;return v},e.prototype._findTargetItemIndex=function(t){if(!this._showController)return 0;var e,i,n=this.getContentGroup();return n.eachChild(function(n,r){var a=n.__legendDataIndex;null==i&&null!=a&&(i=r),a===t&&(e=r)}),null!=e?e:i},e.type="legend.scroll",e}(s.a);e.a=h},950:function(t,e,i){"use strict";function n(t){i.i(r.a)(a.a),i.i(r.a)(o.a)}e.a=n;var r=i(136),a=i(604),o=i(677)},951:function(t,e,i){"use strict";function n(t,e,n){var r,o={},s="toggleSelected"===t;return n.eachComponent("legend",function(n){s&&null!=r?n[r?"select":"unSelect"](e.name):"allSelect"===t||"inverseSelect"===t?n[t]():(n[t](e.name),r=n.isSelected(e.name));var l=n.getData();i.i(a.d)(l,function(t){var e=t.get("name");if("\n"!==e&&""!==e){var i=n.isSelected(e);o.hasOwnProperty(e)?o[e]=o[e]&&i:o[e]=i}})}),"allSelect"===t||"inverseSelect"===t?{selected:o}:{name:e.name,selected:o}}function r(t){t.registerAction("legendToggleSelect","legendselectchanged",i.i(a.I)(n,"toggleSelected")),t.registerAction("legendAllSelect","legendselectall",i.i(a.I)(n,"allSelect")),t.registerAction("legendInverseSelect","legendinverseselect",i.i(a.I)(n,"inverseSelect")),t.registerAction("legendSelect","legendselected",i.i(a.I)(n,"select")),t.registerAction("legendUnSelect","legendunselected",i.i(a.I)(n,"unSelect"))}e.a=r;var a=i(3)},952:function(t,e,i){"use strict";function n(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries(function(t){for(var i=0;if[1]||d[1]g[1]||p[1]=0&&i.i(m.n)(u)&&(u=+u.toFixed(Math.min(x,20))),v.coord[p]=y.coord[p]=u,a=[v,y,{type:s,valueIndex:r.valueIndex,value:u}]}else a=[]}var _=[h.a(t,a[0]),h.a(t,a[1]),i.i(m.g)({},a[2])];return _[2].type=_[2].type||null,i.i(m.G)(_[2],_[0]),i.i(m.G)(_[2],_[1]),_},S=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i.i(l.a)(e,t),e.prototype.updateTransform=function(t,e,i){e.eachSeries(function(t){var e=y.a.getMarkerModelFromSeries(t,"markLine");if(e){var n=e.getData(),r=b(e).from,a=b(e).to;r.each(function(e){o(r,e,!0,t,i),o(a,e,!1,t,i)}),n.each(function(t){n.setItemLayout(t,[r.getItemLayout(t),a.getItemLayout(t)])}),this.markerGroupMap.get(t.id).updateLayout()}},this)},e.prototype.renderSeries=function(t,e,n,r){function a(e,n,a){var s=e.getItemModel(n);o(e,n,a,t,r);var l=s.getModel("itemStyle").getItemStyle();null==l.fill&&(l.fill=i.i(_.a)(c,"color")),e.setItemVisual(n,{symbolKeepAspect:s.get("symbolKeepAspect"),symbolOffset:i.i(m.e)(s.get("symbolOffset",!0),I[a?0:1]),symbolRotate:i.i(m.e)(s.get("symbolRotate",!0),M[a?0:1]),symbolSize:i.i(m.e)(s.get("symbolSize"),S[a?0:1]),symbol:i.i(m.e)(s.get("symbol",!0),w[a?0:1]),style:l})}var l=t.coordinateSystem,u=t.id,c=t.getData(),h=this.markerGroupMap,p=h.get(u)||h.set(u,new d.a);this.group.add(p.group);var f=s(l,t,e),g=f.from,y=f.to,x=f.line;b(e).from=g,b(e).to=y,e.setData(x);var w=e.get("symbol"),S=e.get("symbolSize"),M=e.get("symbolRotate"),I=e.get("symbolOffset");i.i(m.j)(w)||(w=[w,w]),i.i(m.j)(S)||(S=[S,S]),i.i(m.j)(M)||(M=[M,M]),i.i(m.j)(I)||(I=[I,I]),f.from.each(function(t){a(g,t,!0),a(y,t,!1)}),x.each(function(t){var e=x.getItemModel(t).getModel("lineStyle").getLineStyle();x.setItemLayout(t,[g.getItemLayout(t),y.getItemLayout(t)]),null==e.stroke&&(e.stroke=g.getItemVisual(t,"style").fill),x.setItemVisual(t,{fromSymbolKeepAspect:g.getItemVisual(t,"symbolKeepAspect"),fromSymbolOffset:g.getItemVisual(t,"symbolOffset"),fromSymbolRotate:g.getItemVisual(t,"symbolRotate"),fromSymbolSize:g.getItemVisual(t,"symbolSize"),fromSymbol:g.getItemVisual(t,"symbol"),toSymbolKeepAspect:y.getItemVisual(t,"symbolKeepAspect"),toSymbolOffset:y.getItemVisual(t,"symbolOffset"),toSymbolRotate:y.getItemVisual(t,"symbolRotate"),toSymbolSize:y.getItemVisual(t,"symbolSize"),toSymbol:y.getItemVisual(t,"symbol"),style:e})}),p.updateData(x),f.line.eachItemGraphicEl(function(t,n){t.traverse(function(t){i.i(v.a)(t).dataModel=e})}),this.markKeep(p),p.group.silent=e.get("silent")||t.get("silent")},e.type="markLine",e}(p.a);e.a=S},958:function(t,e,i){"use strict";var n=i(6),r=i(322),a=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i.i(n.a)(e,t),e.prototype.createMarkerModelFromSeries=function(t,i,n){return new e(t,i,n)},e.type="markPoint",e.defaultOption={z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}},e}(r.a);e.a=a},959:function(t,e,i){"use strict";function n(t,e,i){var n=e.coordinateSystem;t.each(function(r){var a,o=t.getItemModel(r),l=s.a(o.get("x"),i.getWidth()),u=s.a(o.get("y"),i.getHeight());if(isNaN(l)||isNaN(u)){if(e.getMarkerPosition)a=e.getMarkerPosition(t.getValues(t.dimensions,r));else if(n){var c=t.get(n.dimensions[0],r),h=t.get(n.dimensions[1],r);a=n.dataToPoint([c,h])}}else a=[l,u];isNaN(l)||(a[0]=l),isNaN(u)||(a[1]=u),t.setItemLayout(r,a)})}function r(t,e,n){var r;r=t?i.i(d.p)(t&&t.dimensions,function(t){var n=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return i.i(d.g)(i.i(d.g)({},n),{name:t,ordinalMeta:null})}):[{name:"value",type:"float"}];var a=new l.a(r,n),o=i.i(d.p)(n.get("data"),i.i(d.I)(u.a,e));t&&(o=i.i(d.c)(o,i.i(d.I)(u.b,t)));var s=u.e(!!t,r);return a.initData(o,null,s),a}var a=i(6),o=i(514),s=i(22),l=i(164),u=i(607),c=i(605),h=i(322),d=i(3),p=i(66),f=i(484),g=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i.i(a.a)(e,t),e.prototype.updateTransform=function(t,e,i){e.eachSeries(function(t){var e=h.a.getMarkerModelFromSeries(t,"markPoint");e&&(n(e.getData(),t,i),this.markerGroupMap.get(t.id).updateLayout())},this)},e.prototype.renderSeries=function(t,e,a,s){var l=t.coordinateSystem,u=t.id,c=t.getData(),h=this.markerGroupMap,g=h.get(u)||h.set(u,new o.a),v=r(l,t,e);e.setData(v),n(e.getData(),t,s),v.each(function(t){var n=v.getItemModel(t),r=n.getShallow("symbol"),a=n.getShallow("symbolSize"),o=n.getShallow("symbolRotate"),s=n.getShallow("symbolOffset"),l=n.getShallow("symbolKeepAspect");if(i.i(d.a)(r)||i.i(d.a)(a)||i.i(d.a)(o)||i.i(d.a)(s)){var u=e.getRawValue(t),h=e.getDataParams(t);i.i(d.a)(r)&&(r=r(u,h)),i.i(d.a)(a)&&(a=a(u,h)),i.i(d.a)(o)&&(o=o(u,h)),i.i(d.a)(s)&&(s=s(u,h))}var p=n.getModel("itemStyle").getItemStyle(),g=i.i(f.a)(c,"color");p.fill||(p.fill=g),v.setItemVisual(t,{symbol:r,symbolSize:a,symbolRotate:o,symbolOffset:s,symbolKeepAspect:l,style:p})}),g.updateData(v),this.group.add(g.group),v.eachItemGraphicEl(function(t){t.traverse(function(t){i.i(p.a)(t).dataModel=e})}),this.markKeep(g),g.group.silent=e.get("silent")||t.get("silent")},e.type="markPoint",e}(c.a);e.a=g},960:function(t,e,i){"use strict";function n(t){t.registerComponentModel(a.a),t.registerComponentView(o.a),t.registerPreprocessor(function(t){i.i(r.a)(t.series,"markArea")&&(t.markArea=t.markArea||{})})}e.a=n;var r=i(606),a=i(954),o=i(955)},961:function(t,e,i){"use strict";function n(t){t.registerComponentModel(a.a),t.registerComponentView(o.a),t.registerPreprocessor(function(t){i.i(r.a)(t.series,"markLine")&&(t.markLine=t.markLine||{})})}e.a=n;var r=i(606),a=i(956),o=i(957)},962:function(t,e,i){"use strict";function n(t){t.registerComponentModel(a.a),t.registerComponentView(o.a),t.registerPreprocessor(function(t){i.i(r.a)(t.series,"markPoint")&&(t.markPoint=t.markPoint||{})})}e.a=n;var r=i(606),a=i(958),o=i(959)},963:function(t,e,i){"use strict";function n(t,e){var i=t._model;return i.get("axisExpandable")&&i.get("axisExpandTriggerOn")===e}var r=i(6),a=i(81),o=i(3),s=i(263),l=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i.i(r.a)(e,t),e.prototype.render=function(t,e,n){this._model=t,this._api=n,this._handlers||(this._handlers={},i.i(o.d)(u,function(t,e){n.getZr().on(e,this._handlers[e]=i.i(o.K)(t,this))},this)),i.i(s.a)(this,"_throttledDispatchExpand",t.get("axisExpandRate"),"fixRate")},e.prototype.dispose=function(t,e){i.i(s.b)(this,"_throttledDispatchExpand"),i.i(o.d)(this._handlers,function(t,i){e.getZr().off(i,t)}),this._handlers=null},e.prototype._throttledDispatchExpand=function(t){this._dispatchExpand(t)},e.prototype._dispatchExpand=function(t){t&&this._api.dispatchAction(i.i(o.g)({type:"parallelAxisExpand"},t))},e.type="parallel",e}(a.a),u={mousedown:function(t){n(this,"click")&&(this._mouseDownPoint=[t.offsetX,t.offsetY])},mouseup:function(t){var e=this._mouseDownPoint;if(n(this,"click")&&e){var i=[t.offsetX,t.offsetY];if(Math.pow(e[0]-i[0],2)+Math.pow(e[1]-i[1],2)>5)return;var r=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==r.behavior&&this._dispatchExpand({axisExpandWindow:r.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&n(this,"mousemove")){var e=this._model,i=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),r=i.behavior;"jump"===r&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===r?null:{axisExpandWindow:i.axisExpandWindow,animation:"jump"===r?null:{duration:0}})}}};e.a=l},964:function(t,e,i){"use strict";function n(t){i.i(a.a)(l.a),o.a.registerAxisPointerClass("PolarAxisPointer",s.a),t.registerCoordinateSystem("polar",d.a),t.registerComponentModel(u.a),t.registerComponentView(_),i.i(c.a)(t,"angle",h.a,m),i.i(c.a)(t,"radius",h.b,x),t.registerComponentView(p.a),t.registerComponentView(f.a),t.registerLayout(i.i(v.I)(y.a,"bar"))}e.a=n;var r=i(6),a=i(136),o=i(321),s=i(921),l=i(517),u=i(1030),c=i(541),h=i(1028),d=i(1032),p=i(912),f=i(915),g=i(81),v=i(3),y=i(1061),m={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},x={splitNumber:5},_=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i.i(r.a)(e,t),e.type="polar",e}(g.a)},965:function(t,e,i){"use strict";var n=i(6),r=i(3),a=i(287),o=i(14),s=i(81),l=["axisLine","axisTickLabel","axisName"],u=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i.i(n.a)(e,t),e.prototype.render=function(t,e,i){this.group.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},e.prototype._buildAxes=function(t){var e=t.coordinateSystem,i=e.getIndicatorAxes(),n=r.p(i,function(t){var i=t.model.get("showName")?t.name:"";return new a.a(t.model,{axisName:i,position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})});r.d(n,function(t){r.d(l,t.add,t),this.group.add(t.getGroup())},this)},e.prototype._buildSplitLineAndArea=function(t){function e(t,e,i){var n=i%e.length;return t[n]=t[n]||[],n}var i=t.coordinateSystem,n=i.getIndicatorAxes();if(n.length){var a=t.get("shape"),s=t.getModel("splitLine"),l=t.getModel("splitArea"),u=s.getModel("lineStyle"),c=l.getModel("areaStyle"),h=s.get("show"),d=l.get("show"),p=u.get("color"),f=c.get("color"),g=r.j(p)?p:[p],v=r.j(f)?f:[f],y=[],m=[];if("circle"===a)for(var x=n[0].getTicksCoords(),_=i.cx,b=i.cy,w=0;w=0||"+"===n?"left":"right"},u={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},c={horizontal:0,vertical:C/2},h="vertical"===o?s.height:s.width,d=t.getModel("controlStyle"),p=d.get("show",!0),f=p?d.get("itemSize"):0,g=p?d.get("itemGap"):0,v=f+g,y=t.get(["label","rotate"])||0;y=y*C/180;var x,_,b,w=d.get("position",!0),S=p&&d.get("showPlayBtn",!0),M=p&&d.get("showPrevBtn",!0),I=p&&d.get("showNextBtn",!0),T=0,k=h;"left"===w||"bottom"===w?(S&&(x=[0,0],T+=v),M&&(_=[T,0],T+=v),I&&(b=[k-f,0],k-=v)):(S&&(x=[k-f,0],k-=v),M&&(_=[0,0],T+=v),I&&(b=[k-f,0],k-=v));var D=[T,k];return t.get("inverse")&&D.reverse(),{viewRect:s,mainLength:h,orient:o,rotation:c[o],labelRotation:y,labelPosOpt:n,labelAlign:t.get(["label","align"])||l[o],labelBaseline:t.get(["label","verticalAlign"])||t.get(["label","baseline"])||u[o],playPosition:x,prevBtnPosition:_,nextBtnPosition:b,axisExtent:D,controlSize:f,controlGap:g}},e.prototype._position=function(t,e){function n(t){t.originX=p[0][0]-t.x,t.originY=p[1][0]-t.y}function r(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function a(t,e,i,n,r){t[n]+=i[n][r]-e[n][r]}var o=this._mainGroup,s=this._labelGroup,l=t.viewRect;if("vertical"===t.orient){var u=c.a(),h=l.x,d=l.y+l.height;c.b(u,u,[-h,-d]),c.h(u,u,-C/2),c.b(u,u,[h,d]),l=l.clone(),l.applyTransform(u)}var p=r(l),f=r(o.getBoundingRect()),g=r(s.getBoundingRect()),v=[o.x,o.y],y=[s.x,s.y];y[0]=v[0]=p[0][0];var x=t.labelPosOpt;if(null==x||i.i(m.m)(x)){var _="+"===x?0:1;a(v,f,p,1,_),a(y,g,p,1,1-_)}else{var _=x>=0?0:1;a(v,f,p,1,_),y[1]=v[1]+x}o.setPosition(v),s.setPosition(y),o.rotation=s.rotation=t.rotation,n(o),n(s)},e.prototype._createAxis=function(t,e){var i=e.getData(),r=e.get("axisType"),a=n(e,r);a.getTicks=function(){return i.mapArray(["value"],function(t){return{value:t}})};var o=i.getDataExtent("value");a.setExtent(o[0],o[1]),a.calcNiceTicks();var s=new g.a("value",a,t.axisExtent,r);return s.model=e,s},e.prototype._createGroup=function(t){var e=this[t]=new h.Group;return this.group.add(e),e},e.prototype._renderAxisLine=function(t,e,n,r){var a=n.getExtent();if(r.get(["lineStyle","show"])){var o=new h.Line({shape:{x1:a[0],y1:0,x2:a[1],y2:0},style:i.i(m.g)({lineCap:"round"},r.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});e.add(o);var s=this._progressLine=new h.Line({shape:{x1:a[0],x2:this._currentPointer?this._currentPointer.x:a[0],y1:0,y2:0},style:i.i(m.t)({lineCap:"round",lineWidth:o.style.lineWidth},r.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});e.add(s)}},e.prototype._renderAxisTick=function(t,e,n,r){var a=this,s=r.getData(),l=n.scale.getTicks();this._tickSymbols=[],i.i(m.d)(l,function(t){var l=n.dataToCoord(t.value),u=s.getItemModel(t.value),c=u.getModel("itemStyle"),h=u.getModel(["emphasis","itemStyle"]),d=u.getModel(["progress","itemStyle"]),p={x:l,y:0,onclick:i.i(m.K)(a._changeTimeline,a,t.value)},f=o(u,c,e,p);f.ensureState("emphasis").style=h.getItemStyle(),f.ensureState("progress").style=d.getItemStyle(),i.i(I.d)(f);var g=i.i(M.a)(f);u.get("tooltip")?(g.dataIndex=t.value,g.dataModel=r):g.dataIndex=g.dataModel=null,a._tickSymbols.push(f)})},e.prototype._renderAxisLabel=function(t,e,n,r){var a=this;if(n.getLabelModel().get("show")){var o=r.getData(),s=n.getViewLabels();this._tickLabels=[],i.i(m.d)(s,function(r){var s=r.tickValue,l=o.getItemModel(s),u=l.getModel("label"),c=l.getModel(["emphasis","label"]),p=l.getModel(["progress","label"]),f=n.dataToCoord(r.tickValue),g=new h.Text({x:f,y:0,rotation:t.labelRotation-t.rotation,onclick:i.i(m.K)(a._changeTimeline,a,s),silent:!1,style:i.i(d.d)(u,{text:r.formattedLabel,align:t.labelAlign,verticalAlign:t.labelBaseline})});g.ensureState("emphasis").style=i.i(d.d)(c),g.ensureState("progress").style=i.i(d.d)(p),e.add(g),i.i(I.d)(g),k(g).dataIndex=s,a._tickLabels.push(g)})}},e.prototype._renderControl=function(t,e,n,r){function o(t,n,o,h){if(t){var d=i.i(w.b)(i.i(m.e)(r.get(["controlStyle",n+"BtnSize"]),s),s),p=[0,-d/2,d,d],f=a(r,n+"Icon",p,{x:t[0],y:t[1],originX:s/2,originY:0,rotation:h?-l:0,rectHover:!0,style:u,onclick:o});f.ensureState("emphasis").style=c,e.add(f),i.i(I.d)(f)}}var s=t.controlSize,l=t.rotation,u=r.getModel("controlStyle").getItemStyle(),c=r.getModel(["emphasis","controlStyle"]).getItemStyle(),h=r.getPlayState(),d=r.get("inverse",!0);o(t.nextBtnPosition,"next",i.i(m.K)(this._changeTimeline,this,d?"-":"+")),o(t.prevBtnPosition,"prev",i.i(m.K)(this._changeTimeline,this,d?"+":"-")),o(t.playPosition,h?"stop":"play",i.i(m.K)(this._handlePlayClick,this,!h),!0)},e.prototype._renderCurrentPointer=function(t,e,n,r){var a=r.getData(),l=r.getCurrentIndex(),u=a.getItemModel(l).getModel("checkpointStyle"),c=this,h={onCreate:function(t){t.draggable=!0,t.drift=i.i(m.K)(c._handlePointerDrag,c),t.ondragend=i.i(m.K)(c._handlePointerDragend,c),s(t,c._progressLine,l,n,r,!0)},onUpdate:function(t){s(t,c._progressLine,l,n,r)}};this._currentPointer=o(u,u,this._mainGroup,{},this._currentPointer,h)},e.prototype._handlePlayClick=function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},e.prototype._handlePointerDrag=function(t,e,i){this._clearTimer(),this._pointerChangeTimeline([i.offsetX,i.offsetY])},e.prototype._handlePointerDragend=function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},e.prototype._pointerChangeTimeline=function(t,e){var i=this._toAxisCoord(t)[0],n=this._axis,r=y.j(n.getExtent().slice());i>r[1]&&(i=r[1]),i=e&&(t=e-1),t<0&&(t=0)),this.option.currentIndex=t},e.prototype.getCurrentIndex=function(){return this.option.currentIndex},e.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},e.prototype.setPlayState=function(t){this.option.autoPlay=!!t},e.prototype.getPlayState=function(){return!!this.option.autoPlay},e.prototype._initData=function(){var t,e=this.option,n=e.data||[],r=e.axisType,l=this._names=[];"category"===r?(t=[],i.i(o.d)(n,function(e,n){var r,a=i.i(s.n)(i.i(s.g)(e),"");i.i(o.i)(e)?(r=i.i(o.v)(e),r.value=n):r=n,t.push(r),l.push(a)})):t=n;var u={category:"ordinal",time:"time",value:"number"}[r]||"number";(this._data=new a.a([{name:"value",type:u}],this)).initData(t,l)},e.prototype.getData=function(){return this._data},e.prototype.getCategories=function(){if("category"===this.get("axisType"))return this._names.slice()},e.type="timeline",e.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},e}(r.a);e.a=l},971:function(t,e,i){"use strict";var n=i(6),r=i(81),a=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i.i(n.a)(e,t),e.type="timeline",e}(r.a);e.a=a},972:function(t,e,i){"use strict";function n(t){t.registerComponentModel(r.a),t.registerComponentView(a.a),t.registerSubTypeDefaulter("timeline",function(){return"slider"}),i.i(o.a)(t),t.registerPreprocessor(s.a)}e.a=n;var r=i(967),a=i(968),o=i(974),s=i(973)},973:function(t,e,i){"use strict";function n(t){var e=t&&t.timeline;s.j(e)||(e=e?[e]:[]),s.d(e,function(t){t&&r(t)})}function r(t){var e=t.type,i={number:"value",time:"time"};if(i[e]&&(t.axisType=i[e],delete t.type),a(t),o(t,"controlPosition")){var n=t.controlStyle||(t.controlStyle={});o(n,"position")||(n.position=t.controlPosition),"none"!==n.position||o(n,"show")||(n.show=!1,delete n.position),delete t.controlPosition}s.d(t.data||[],function(t){s.i(t)&&!s.j(t)&&(!o(t,"value")&&o(t,"name")&&(t.value=t.name),a(t))})}function a(t){var e=t.itemStyle||(t.itemStyle={}),i=e.emphasis||(e.emphasis={}),n=t.label||t.label||{},r=n.normal||(n.normal={}),a={normal:1,emphasis:1};s.d(n,function(t,e){a[e]||o(r,e)||(r[e]=t)}),i.label&&!o(n,"emphasis")&&(n.emphasis=i.label,delete i.label)}function o(t,e){return t.hasOwnProperty(e)}e.a=n;var s=i(3)},974:function(t,e,i){"use strict";function n(t){t.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(t,e,n){var a=e.getComponent("timeline");return a&&null!=t.currentIndex&&(a.setCurrentIndex(t.currentIndex),!a.get("loop",!0)&&a.isIndexMax()&&a.getPlayState()&&(a.setPlayState(!1),n.dispatchAction({type:"timelinePlayChange",playState:!1,from:t.from}))),e.resetOption("timeline",{replaceMerge:a.get("replaceMerge",!0)}),i.i(r.t)({currentIndex:a.option.currentIndex},t)}),t.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(t,e){var i=e.getComponent("timeline");i&&null!=t.playState&&i.setPlayState(t.playState)})}e.a=n;var r=i(3)},975:function(t,e,i){"use strict";function n(t){t.registerComponentModel(p),t.registerComponentView(f)}e.a=n;var r=i(6),a=i(3),o=i(14),s=i(66),l=i(58),u=i(69),c=i(73),h=i(81),d=i(137),p=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i.layoutMode={type:"box",ignoreSize:!0},i}return i.i(r.a)(e,t),e.type="title",e.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},e}(c.a),f=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i.i(r.a)(e,t),e.prototype.render=function(t,e,n){if(this.group.removeAll(),t.get("show")){var r=this.group,c=t.getModel("textStyle"),h=t.getModel("subtextStyle"),p=t.get("textAlign"),f=a.e(t.get("textBaseline"),t.get("textVerticalAlign")),g=new o.Text({style:i.i(l.d)(c,{text:t.get("text"),fill:c.getTextColor()},{disableBox:!0}),z2:10}),v=g.getBoundingRect(),y=t.get("subtext"),m=new o.Text({style:i.i(l.d)(h,{text:y,fill:h.getTextColor(),y:v.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),x=t.get("link"),_=t.get("sublink"),b=t.get("triggerEvent",!0);g.silent=!x&&!b,m.silent=!_&&!b,x&&g.on("click",function(){i.i(d.h)(x,"_"+t.get("target"))}),_&&m.on("click",function(){i.i(d.h)(_,"_"+t.get("subtarget"))}),i.i(s.a)(g).eventData=i.i(s.a)(m).eventData=b?{componentType:"title",componentIndex:t.componentIndex}:null,r.add(g),y&&r.add(m);var w=r.getBoundingRect(),S=t.getBoxLayoutParams();S.width=w.width,S.height=w.height;var M=i.i(u.f)(S,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));p||(p=t.get("left")||t.get("right"),"middle"===p&&(p="center"),"right"===p?M.x+=M.width:"center"===p&&(M.x+=M.width/2)),f||(f=t.get("top")||t.get("bottom"),"center"===f&&(f="middle"),"bottom"===f?M.y+=M.height:"middle"===f&&(M.y+=M.height/2),f=f||"top"),r.x=M.x,r.y=M.y,r.markRedraw();var I={align:p,verticalAlign:f};g.setStyle(I),m.setStyle(I),w=r.getBoundingRect();var T=M.margin,C=t.getItemStyle(["color","opacity"]);C.fill=t.get("backgroundColor");var k=new o.Rect({shape:{x:w.x-T[3],y:w.y-T[0],width:w.width+T[1]+T[3],height:w.height+T[0]+T[2],r:t.get("borderRadius")},style:C,subPixelOptimize:!0,silent:!0});r.add(k)}},e.type="title",e}(h.a)},976:function(t,e,i){"use strict";var n=i(6),r=i(3),a=i(220),o=i(73),s=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i.i(n.a)(e,t),e.prototype.optionUpdated=function(){t.prototype.optionUpdated.apply(this,arguments);var e=this.ecModel;r.d(this.option.feature,function(t,i){var n=a.c(i);n&&(n.getDefaultOption&&(n.defaultOption=n.getDefaultOption(e)),r.G(t,n.defaultOption))})},e.type="toolbox",e.layoutMode={type:"box",ignoreSize:!0},e.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},e}(o.a);e.a=s},977:function(t,e,i){"use strict";function n(t){return 0===t.indexOf("my")}var r=i(6),a=i(3),o=i(145),s=i(14),l=i(45),u=i(85),c=i(289),h=i(674),d=i(81),p=i(220),f=i(150),g=i(489),v=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.i(r.a)(e,t),e.prototype.render=function(t,e,r,d){function v(a,o){var s,c=S[a],h=S[o],g=b[c],v=new u.a(g,t,t.ecModel);if(d&&null!=d.newTitle&&d.featureName===c&&(g.title=d.newTitle),c&&!h){if(n(c))s={onclick:v.option.onclick,featureName:c};else{var m=i.i(p.c)(c);if(!m)return;s=new m}w[c]=s}else if(!(s=w[h]))return;s.uid=i.i(f.a)("toolbox-feature"),s.model=v,s.ecModel=e,s.api=r;var x=s instanceof p.b;return!c&&h?void(x&&s.dispose&&s.dispose(e,r)):!v.get("show")||x&&s.unusable?void(x&&s.remove&&s.remove(e,r)):(y(v,s,c),v.setIconStatus=function(t,e){var i=this.option,n=this.iconPaths;i.iconStatus=i.iconStatus||{},i.iconStatus[t]=e,n[t]&&("emphasis"===e?l.j:l.k)(n[t])},void(s instanceof p.b&&s.render&&s.render(v,e,r,d)))}function y(i,n,o){var u,c,h=i.getModel("iconStyle"),d=i.getModel(["emphasis","iconStyle"]),f=n instanceof p.b&&n.getIcons?n.getIcons():i.get("icon"),v=i.get("title")||{};a.m(f)?(u={},u[o]=f):u=f,a.m(v)?(c={},c[o]=v):c=v;var y=i.iconPaths={};a.d(u,function(o,u){var p=s.createIcon(o,{},{x:-x/2,y:-x/2,width:x,height:x});p.setStyle(h.getItemStyle()),p.ensureState("emphasis").style=d.getItemStyle();var f=new g.a({style:{text:c[u],align:d.get("textAlign"),borderRadius:d.get("textBorderRadius"),padding:d.get("textPadding"),fill:null},ignore:!0});p.setTextContent(f),s.setTooltipConfig({el:p,componentModel:t,itemName:u,formatterParamsExtra:{title:c[u]}}),p.__title=c[u],p.on("mouseover",function(){var e=d.getItemStyle(),i=_?null==t.get("right")&&"right"!==t.get("left")?"right":"left":null==t.get("bottom")&&"bottom"!==t.get("top")?"bottom":"top";f.setStyle({fill:d.get("textFill")||e.fill||e.stroke||"#000",backgroundColor:d.get("textBackgroundColor")}),p.setTextConfig({position:d.get("textPosition")||i}),f.ignore=!t.get("showTitle"),r.enterEmphasis(this)}).on("mouseout",function(){"emphasis"!==i.get(["iconStatus",u])&&r.leaveEmphasis(this),f.hide()}),("emphasis"===i.get(["iconStatus",u])?l.j:l.k)(p),m.add(p),p.on("click",a.K(n.onclick,n,e,r,u)),y[u]=p})}var m=this.group;if(m.removeAll(),t.get("show")){var x=+t.get("itemSize"),_="vertical"===t.get("orient"),b=t.get("feature")||{},w=this._features||(this._features={}),S=[];a.d(b,function(t,e){S.push(e)}),new c.a(this._featureNames||[],S).add(v).update(v).remove(a.I(v,null)).execute(),this._featureNames=S,h.b(m,t,r),m.add(h.a(m.getBoundingRect(),t)),_||m.eachChild(function(t){var e=t.__title,i=t.ensureState("emphasis"),n=i.textConfig||(i.textConfig={}),s=t.getTextContent(),l=s&&s.ensureState("emphasis");if(l&&!a.a(l)&&e){var u=l.style||(l.style={}),c=o.g(e,g.a.makeFont(u)),h=t.x+m.x,d=t.y+m.y+x,p=!1;d+c.height>r.getHeight()&&(n.position="top",p=!0);var f=p?-5-c.height:x+10;h+c.width/2>r.getWidth()?(n.position=["100%",f],u.align="right"):h-c.width/2<0&&(n.position=[0,f],u.align="left")}})}},e.prototype.updateView=function(t,e,i,n){a.d(this._features,function(t){t instanceof p.b&&t.updateView&&t.updateView(t.model,e,i,n)})},e.prototype.remove=function(t,e){a.d(this._features,function(i){i instanceof p.b&&i.remove&&i.remove(t,e)}),this.group.removeAll()},e.prototype.dispose=function(t,e){a.d(this._features,function(i){i instanceof p.b&&i.dispose&&i.dispose(t,e)})},e.type="toolbox",e}(d.a);e.a=v},978:function(t,e,i){"use strict";var n=i(6),r=i(3),a=i(220),o=["rect","polygon","lineX","lineY","keep","clear"],s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.i(n.a)(e,t),e.prototype.render=function(t,e,i){var n,a,o;e.eachComponent({mainType:"brush"},function(t){n=t.brushType,a=t.brushOption.brushMode||"single",o=o||!!t.areas.length}),this._brushType=n,this._brushMode=a,r.d(t.get("type",!0),function(e){t.setIconStatus(e,("keep"===e?"multiple"===a:"clear"===e?o:e===n)?"emphasis":"normal")})},e.prototype.updateView=function(t,e,i){this.render(t,e,i)},e.prototype.getIcons=function(){var t=this.model,e=t.get("icon",!0),i={};return r.d(t.get("type",!0),function(t){e[t]&&(i[t]=e[t])}),i},e.prototype.onclick=function(t,e,i){var n=this._brushType,r=this._brushMode;"clear"===i?(e.dispatchAction({type:"axisAreaSelect",intervals:[]}),e.dispatchAction({type:"brush",command:"clear",areas:[]})):e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===i?n:n!==i&&i,brushMode:"keep"===i?"multiple"===r?"single":"multiple":r}})},e.getDefaultOption=function(t){return{show:!0,type:o.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:t.getLocaleModel().get(["toolbox","brush","title"])}},e}(a.b);e.a=s},979:function(t,e,i){"use strict";function n(t){var e={},i=[],n=[];return t.eachRawSeries(function(t){var r=t.coordinateSystem;if(!r||"cartesian2d"!==r.type&&"polar"!==r.type)i.push(t);else{var a=r.getBaseAxis();if("category"===a.type){var o=a.dim+"_"+a.index;e[o]||(e[o]={categoryAxis:a,valueAxis:r.getOtherAxis(a),series:[]},n.push({axisDim:a.dim,axisIndex:a.index})),e[o].series.push(t)}else i.push(t)}}),{seriesGroupByCategoryAxis:e,other:i,meta:n}}function r(t){var e=[];return g.d(t,function(t,i){var n=t.categoryAxis,r=t.valueAxis,a=r.dim,o=[" "].concat(g.p(t.series,function(t){return t.name})),s=[n.model.getCategories()];g.d(t.series,function(t){var e=t.getRawData();s.push(t.getRawData().mapArray(e.mapDimension(a),function(t){return t}))});for(var l=[o.join(x)],u=0;u=0)return!0}function u(t){for(var e=t.split(/\n+/g),i=s(e.shift()).split(_),n=[],r=g.p(i,function(t){return{name:t,data:[]}}),a=0;a1?"emphasis":"normal")}function a(t,e,i,r,a){var o=i._isZoomActive;r&&"takeGlobalCursor"===r.type&&(o="dataZoomSelect"===r.key&&r.dataZoomSelectActive),i._isZoomActive=o,t.setIconStatus("zoom",o?"emphasis":"normal");var s=new u.a(n(t),e,{include:["grid"]}),l=s.makePanelOpts(a,function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"});i._brushController.setPanels(l).enableBrush(!(!o||!l.length)&&{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()})}var o=i(6),s=i(3),l=i(602),u=i(670),c=i(665),h=i(476),d=i(220),p=i(13),f=i(702),g=s.d,v=i.i(p.w)("toolbox-dataZoom_"),y=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.i(o.a)(e,t),e.prototype.render=function(t,e,i,n){this._brushController||(this._brushController=new l.a(i.getZr()),this._brushController.on("brush",s.K(this._onBrush,this)).mount()),a(t,e,this,n,i),r(t,e)},e.prototype.onclick=function(t,e,i){m[i].call(this)},e.prototype.remove=function(t,e){this._brushController&&this._brushController.unmount()},e.prototype.dispose=function(t,e){this._brushController&&this._brushController.dispose()},e.prototype._onBrush=function(t){function e(t,e,n){var a=e.getAxis(t),l=a.model,u=r(t,l,s),c=u.findRepresentativeAxisProxy(l).getMinMaxSpan();null==c.minValueSpan&&null==c.maxValueSpan||(n=i.i(h.a)(0,n.slice(),a.scale.getExtent(),0,c.minValueSpan,c.maxValueSpan)),u&&(o[u.id]={dataZoomId:u.id,startValue:n[0],endValue:n[1]})}function r(t,e,i){var n;return i.eachComponent({mainType:"dataZoom",subType:"select"},function(i){i.getAxisModel(t,e.componentIndex)&&(n=i)}),n}var a=t.areas;if(t.isEnd&&a.length){var o={},s=this.ecModel;this._brushController.updateCovers([]);new u.a(n(this.model),s,{include:["grid"]}).matchOutputRanges(a,s,function(t,i,n){if("cartesian2d"===n.type){var r=t.brushType;"rect"===r?(e("x",n,i[0]),e("y",n,i[1])):e({lineX:"x",lineY:"y"}[r],n,i)}}),c.b(s,o),this._dispatchZoomAction(o)}},e.prototype._dispatchZoomAction=function(t){var e=[];g(t,function(t,i){e.push(s.v(t))}),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},e.getDefaultOption=function(t){return{show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:t.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}}},e}(d.b),m={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(c.c(this.ecModel))}};i.i(f.b)("dataZoom",function(t){function e(t,e,i){var n=t.componentIndex,r={type:"select",$fromToolbox:!0,filterMode:o.get("filterMode",!0)||"filter",id:v+e+n};r[i]=n,s.push(r)}var r=t.getComponent("toolbox",0),a=["feature","dataZoom"];if(r&&null!=r.get(a)){var o=r.getModel(a),s=[],l=n(o),u=i.i(p.l)(t,l);return g(u.xAxisModels,function(t){return e(t,"xAxis","xAxisIndex")}),g(u.yAxisModels,function(t){return e(t,"yAxis","yAxisIndex")}),s}}),e.a=y},981:function(t,e,i){"use strict";var n=i(6),r=i(479),a=i(3),o=i(220),s=i(13),l=[["line","bar"],["stack"]],u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.i(n.a)(e,t),e.prototype.getIcons=function(){var t=this.model,e=t.get("icon"),i={};return a.d(t.get("type"),function(t){e[t]&&(i[t]=e[t])}),i},e.getDefaultOption=function(t){return{show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:t.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}}},e.prototype.onclick=function(t,e,i){var n=this.model,r=n.get(["seriesIndex",i]);if(c[i]){var o={series:[]},u=function(t){var e=t.subType,r=t.id,l=c[i](e,r,t,n);l&&(a.t(l,t.option),o.series.push(l));var u=t.coordinateSystem;if(u&&"cartesian2d"===u.type&&("line"===i||"bar"===i)){var h=u.getAxesByScale("ordinal")[0];if(h){var d=h.dim,p=d+"Axis",f=t.getReferringComponents(p,s.i).models[0],g=f.componentIndex;o[p]=o[p]||[];for(var v=0;v<=g;v++)o[p][g]=o[p][g]||{};o[p][g].boundaryGap="bar"===i}}};a.d(l,function(t){a.f(t,i)>=0&&a.d(t,function(t){n.setIconStatus(t,"normal")})}),n.setIconStatus(i,"emphasis"),t.eachComponent({mainType:"series",query:null==r?null:{seriesIndex:r}},u);var h,d=i;"stack"===i&&(h=a.G({stack:n.option.title.tiled,tiled:n.option.title.stack},n.option.title),"emphasis"!==n.get(["iconStatus",i])&&(d="tiled")),e.dispatchAction({type:"changeMagicType",currentType:d,newOption:o,newTitle:h,featureName:"magicType"})}},e}(o.b),c={line:function(t,e,i,n){if("bar"===t)return a.G({id:e,type:"line",data:i.get("data"),stack:i.get("stack"),markPoint:i.get("markPoint"),markLine:i.get("markLine")},n.get(["option","line"])||{},!0)},bar:function(t,e,i,n){if("line"===t)return a.G({id:e,type:"bar",data:i.get("data"),stack:i.get("stack"),markPoint:i.get("markPoint"),markLine:i.get("markLine")},n.get(["option","bar"])||{},!0)},stack:function(t,e,i,n){var r="__ec_magicType_stack__"===i.get("stack");if("line"===t||"bar"===t)return n.setIconStatus("stack",r?"normal":"emphasis"),a.G({id:e,stack:r?"":"__ec_magicType_stack__"},n.get(["option","stack"])||{},!0)}};r.a({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(t,e){e.mergeOption(t.newOption)}),e.a=u},982:function(t,e,i){"use strict";var n=i(6),r=i(479),a=i(665),o=i(220),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.i(n.a)(e,t),e.prototype.onclick=function(t,e){a.a(t),e.dispatchAction({type:"restore",from:this.uid})},e.getDefaultOption=function(t){return{show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:t.getLocaleModel().get(["toolbox","restore","title"])}},e}(o.b);r.a({type:"restore",event:"restore",update:"prepareAndUpdate"},function(t,e){e.resetOption("recreate")}),e.a=s},983:function(t,e,i){"use strict";var n=i(6),r=i(91),a=i(220),o=i(3),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i.i(n.a)(e,t),e.prototype.onclick=function(t,e){var n=this.model,a=n.get("name")||t.get("title.0.text")||"echarts",s="svg"===e.getZr().painter.getType(),l=s?"svg":n.get("type",!0)||"png",u=e.getConnectedDataURL({type:l,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")}),c=r.a.browser;if(i.i(o.a)(MouseEvent)&&(c.newEdge||!c.ie&&!c.edge)){var h=document.createElement("a");h.download=a+"."+l,h.target="_blank",h.href=u;var d=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});h.dispatchEvent(d)}else if(window.navigator.msSaveOrOpenBlob||s){var p=u.split(","),f=p[0].indexOf("base64")>-1,g=s?decodeURIComponent(p[1]):p[1];f&&(g=window.atob(g));var v=a+"."+l;if(window.navigator.msSaveOrOpenBlob){for(var y=g.length,m=new Uint8Array(y);y--;)m[y]=g.charCodeAt(y);var x=new Blob([m]);window.navigator.msSaveOrOpenBlob(x,v)}else{var _=document.createElement("iframe");document.body.appendChild(_);var b=_.contentWindow,w=b.document;w.open("image/svg+xml","replace"),w.write(g),w.close(),b.focus(),w.execCommand("SaveAs",!0,v),document.body.removeChild(_)}}else{var S=n.get("lang"),M='',I=window.open();I.document.write(M),I.document.title=a}},e.getDefaultOption=function(t){return{show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:t.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:t.getLocaleModel().get(["toolbox","saveAsImage","lang"])}},e}(a.b);e.a=s},984:function(t,e,i){"use strict";function n(t){t.registerComponentModel(o.a),t.registerComponentView(s.a),i.i(l.a)("saveAsImage",u.a),i.i(l.a)("magicType",c.a),i.i(l.a)("dataView",h.a),i.i(l.a)("dataZoom",p.a),i.i(l.a)("restore",d.a),i.i(r.a)(a.a)}e.a=n;var r=i(136),a=i(941),o=i(976),s=i(977),l=i(220),u=i(983),c=i(981),h=i(979),d=i(982),p=i(980)},985:function(t,e,i){"use strict";function n(t){return t="left"===t?"right":"right"===t?"left":"top"===t?"bottom":"top"}function r(t,e,r){if(!i.i(c.m)(r)||"inside"===r)return"";var a=t.get("backgroundColor"),o=t.get("borderWidth");e=i.i(f.d)(e);var s,l=n(r),u=Math.max(1.5*Math.round(o),6),h="",d=m+":";i.i(c.f)(["left","right"],l)>-1?(h+="top:50%",d+="translateY(-50%) rotate("+(s="left"===l?-225:-45)+"deg)"):(h+="left:50%",d+="translateX(-50%) rotate("+(s="top"===l?225:45)+"deg)");var p=s*Math.PI/180,g=u+o,v=g*Math.abs(Math.cos(p))+g*Math.abs(Math.sin(p));h+=";"+l+":-"+Math.round(100*((v-Math.SQRT2*o)/2+Math.SQRT2*o-(v-g)/2))/100+"px";var y=e+" solid "+o+"px;";return'
'}function a(t,e){var i=" "+t/2+"s cubic-bezier(0.23,1,0.32,1)",n="opacity"+i+",visibility"+i;return e||(i=" "+t+"s cubic-bezier(0.23,1,0.32,1)",n+=p.a.transformSupported?","+m+i:",left"+i+",top"+i),y+":"+n}function o(t,e,i){var n=t.toFixed(0)+"px",r=e.toFixed(0)+"px";if(!p.a.transformSupported)return i?"top:"+r+";left:"+n+";":[["top",r],["left",n]];var a=p.a.transform3dSupported,o="translate"+(a?"3d":"")+"("+n+","+r+(a?",0":"")+")";return i?"top:0;left:0;"+m+":"+o+";":[["top",0],["left",0],[g.d,o]]}function s(t){var e=[],n=t.get("fontSize"),r=t.getTextColor();r&&e.push("color:"+r),e.push("font:"+t.getFont()),n&&e.push("line-height:"+Math.round(3*n/2)+"px");var a=t.get("textShadowColor"),o=t.get("textShadowBlur")||0,s=t.get("textShadowOffsetX")||0,l=t.get("textShadowOffsetY")||0;return a&&o&&e.push("text-shadow:"+s+"px "+l+"px "+o+"px "+a),i.i(c.d)(["decoration","align"],function(i){var n=t.get(i);n&&e.push("text-"+i+":"+n)}),e.join(";")}function l(t,e,n){var r=[],o=t.get("transitionDuration"),l=t.get("backgroundColor"),u=t.get("shadowBlur"),h=t.get("shadowColor"),d=t.get("shadowOffsetX"),p=t.get("shadowOffsetY"),g=t.getModel("textStyle"),y=i.i(v.e)(t,"html"),m=d+"px "+p+"px "+u+"px "+h;return r.push("box-shadow:"+m),e&&o&&r.push(a(o,n)),l&&r.push("background-color:"+l),i.i(c.d)(["width","color","radius"],function(e){var n="border-"+e,a=i.i(f.i)(n),o=t.get(a);null!=o&&r.push(n+":"+o+("color"===e?"":"px"))}),r.push(s(g)),null!=y&&r.push("padding:"+i.i(f.f)(y).join("px ")+"px"),r.join(";")+";"}function u(t,e,n,r,a){var o=e&&e.painter;if(n){var s=o&&o.getViewportRoot();s&&i.i(d.c)(t,s,document.body,r,a)}else{t[0]=r,t[1]=a;var l=o&&o.getViewportRootOffset();l&&(t[0]+=l.offsetLeft,t[1]+=l.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var c=i(3),h=i(265),d=i(720),p=i(91),f=i(137),g=i(680),v=i(149),y=i.i(g.b)(g.c,"transition"),m=i.i(g.b)(g.d,"transform"),x="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(p.a.transform3dSupported?"will-change:transform;":""),_=function(){function t(t,e,n){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._firstShow=!0,this._longHide=!0,p.a.wxa)return null;var r=document.createElement("div");r.domBelongToZr=!0,this.el=r;var a=this._zr=e.getZr(),o=this._appendToBody=n&&n.appendToBody;u(this._styleCoord,a,o,e.getWidth()/2,e.getHeight()/2),o?document.body.appendChild(r):t.appendChild(r),this._container=t;var s=this;r.onmouseenter=function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0},r.onmousemove=function(t){if(t=t||window.event,!s._enterable){var e=a.handler,n=a.painter.getViewportRoot();i.i(h.d)(n,t,!0),e.dispatch("mousemove",t)}},r.onmouseleave=function(){s._inContent=!1,s._enterable&&s._show&&s.hideLater(s._hideDelay)}}return t.prototype.update=function(t){var e=this._container,n=i.i(g.e)(e,"position"),r=e.style;"absolute"!==r.position&&"absolute"!==n&&(r.position="relative"),t.get("alwaysShowContent")&&this._moveIfResized(),this.el.className=t.get("className")||""},t.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,r=n.style,a=this._styleCoord;n.innerHTML?r.cssText=x+l(t,!this._firstShow,this._longHide)+o(a[0],a[1],!0)+"border-color:"+i.i(f.d)(e)+";"+(t.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):r.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(t,e,n,a,o){var s=this.el;if(null==t)return void(s.innerHTML="");var l="";if(i.i(c.m)(o)&&"item"===n.get("trigger")&&!i.i(g.a)(n)&&(l=r(n,a,o)),i.i(c.m)(t))s.innerHTML=t+l;else if(t){s.innerHTML="",i.i(c.j)(t)||(t=[t]);for(var u=0;u=0;o--){var s=t[o];s&&(s instanceof _.a&&(s=s.get("tooltip",!0)),i.i(h.m)(s)&&(s={formatter:s}),s&&(r=new _.a(s,r,a)))}return r}function r(t,e){return t.dispatchAction||i.i(h.K)(e.dispatchAction,e)}function a(t,e,i,n,r,a,o){var s=i.getSize(),l=s[0],u=s[1];return null!=a&&(t+l+a+2>n?t-=l+a:t+=a),null!=o&&(e+u+o>r?e-=u+o:e+=o),[t,e]}function o(t,e,i,n,r){var a=i.getSize(),o=a[0],s=a[1];return t=Math.min(t+o,n)-o,e=Math.min(e+s,r)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}function s(t,e,i,n){var r=i[0],a=i[1],o=Math.ceil(Math.SQRT2*n)+8,s=0,l=0,u=e.width,c=e.height;switch(t){case"inside":s=e.x+u/2-r/2,l=e.y+c/2-a/2;break;case"top":s=e.x+u/2-r/2,l=e.y-a-o;break;case"bottom":s=e.x+u/2-r/2,l=e.y+c+o;break;case"left":s=e.x-r-o,l=e.y+c/2-a/2;break;case"right":s=e.x+u+o,l=e.y+c/2-a/2}return[s,l]}function l(t){return"center"===t||"middle"===t}function u(t,e,n){var r=i.i(M.o)(t).queryOptionMap,a=r.keys()[0];if(a&&"series"!==a){var o=i.i(M.h)(e,a,r.get(a),{useDefault:!1,enableAll:!1,enableNone:!1}),s=o.models[0];if(s){var l,u=n.getViewOfComponentModel(s);return u.group.traverse(function(e){var n=i.i(C.a)(e).tooltipConfig;if(n&&n.name===t.name)return l=e,!0}),l?{componentMainType:a,componentIndex:s.componentIndex,el:l}:void 0}}}var c=i(6),h=i(3),d=i(91),p=i(985),f=i(987),g=i(137),v=i(22),y=i(14),m=i(662),x=i(69),_=i(85),b=i(663),w=i(194),S=i(538),M=i(13),I=i(81),T=i(549),C=i(66),k=i(680),D=i(546),A=i(149),L=i(617),P=i(263),O=new y.Rect({shape:{x:-1,y:-1,width:2,height:2}}),R=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i.i(c.a)(e,t),e.prototype.init=function(t,e){if(!d.a.node&&e.getDom()){var n=t.getComponent("tooltip"),r=this._renderMode=i.i(M.v)(n.get("renderMode"));this._tooltipContent="richText"===r?new f.a(e):new p.a(e.getDom(),e,{appendToBody:n.get("appendToBody",!0)})}},e.prototype.render=function(t,e,n){if(!d.a.node&&n.getDom()){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=n,this._alwaysShowContent=t.get("alwaysShowContent");var r=this._tooltipContent;r.update(t),r.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow(),"richText"!==this._renderMode&&t.get("transitionDuration")?i.i(P.a)(this,"_updatePosition",50,"fixRate"):i.i(P.b)(this,"_updatePosition")}},e.prototype._initGlobalListener=function(){var t=this._tooltipModel,e=t.get("triggerOn");b.a("itemTooltip",this._api,i.i(h.K)(function(t,i,n){"none"!==e&&(e.indexOf(t)>=0?this._tryShow(i,n):"leave"===t&&this._hide(n))},this))},e.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,i=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==t.get("triggerOn")){var n=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!i.isDisposed()&&n.manuallyShowTip(t,e,i,{x:n._lastX,y:n._lastY,dataByCoordSys:n._lastDataByCoordSys})})}},e.prototype.manuallyShowTip=function(t,e,n,a){if(a.from!==this.uid&&!d.a.node&&n.getDom()){var o=r(a,n);this._ticket="";var s=a.dataByCoordSys,l=u(a,e,n);if(l){var c=l.el.getBoundingRect().clone();c.applyTransform(l.el.transform),this._tryShow({offsetX:c.x+c.width/2,offsetY:c.y+c.height/2,target:l.el,position:a.position,positionDefault:"bottom"},o)}else if(a.tooltip&&null!=a.x&&null!=a.y){var h=O;h.x=a.x,h.y=a.y,h.update(),i.i(C.a)(h).tooltipConfig={name:null,option:a.tooltip},this._tryShow({offsetX:a.x,offsetY:a.y,target:h},o)}else if(s)this._tryShow({offsetX:a.x,offsetY:a.y,position:a.position,dataByCoordSys:s,tooltipOption:a.tooltipOption},o);else if(null!=a.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,a))return;var p=i.i(m.a)(a,e),f=p.point[0],g=p.point[1];null!=f&&null!=g&&this._tryShow({offsetX:f,offsetY:g,target:p.el,position:a.position,positionDefault:"bottom"},o)}else null!=a.x&&null!=a.y&&(n.dispatchAction({type:"updateAxisPointer",x:a.x,y:a.y}),this._tryShow({offsetX:a.x,offsetY:a.y,position:a.position,target:n.getZr().findHover(a.x,a.y).target},o))}},e.prototype.manuallyHideTip=function(t,e,i,n){var a=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&a.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,n.from!==this.uid&&this._hide(r(n,i))},e.prototype._manuallyAxisShowTip=function(t,e,i,r){var a=r.seriesIndex,o=r.dataIndex,s=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=a&&null!=o&&null!=s){var l=e.getSeriesByIndex(a);if(l){if("axis"===n([l.getData().getItemModel(o),l,(l.coordinateSystem||{}).model],this._tooltipModel).get("trigger"))return i.dispatchAction({type:"updateAxisPointer",seriesIndex:a,dataIndex:o,position:r.position}),!0}}},e.prototype._tryShow=function(t,e){var n=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var r=t.dataByCoordSys;if(r&&r.length)this._showAxisTooltip(r,t);else if(n){this._lastDataByCoordSys=null;var a,o;i.i(L.a)(n,function(t){return null!=i.i(C.a)(t).dataIndex?(a=t,!0):null!=i.i(C.a)(t).tooltipConfig?(o=t,!0):void 0},!0),a?this._showSeriesItemTooltip(t,a,e):o?this._showComponentItemTooltip(t,o,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var n=t.get("showDelay");e=i.i(h.K)(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},e.prototype._showAxisTooltip=function(t,e){var r=this._ecModel,a=this._tooltipModel,o=[e.offsetX,e.offsetY],s=n([e.tooltipOption],a),l=this._renderMode,u=[],c=i.i(A.b)("section",{blocks:[],noHeader:!0}),d=[],p=new A.c;i.i(h.d)(t,function(t){i.i(h.d)(t.dataByAxis,function(t){var e=r.getComponent(t.axisDim+"Axis",t.axisIndex),o=t.value;if(e&&null!=o){var s=S.f(o,e.axis,r,t.seriesDataIndices,t.valueLabelOpt),f=i.i(A.b)("section",{header:s,noHeader:!i.i(h.h)(s),sortBlocks:!0,blocks:[]});c.blocks.push(f),i.i(h.d)(t.seriesDataIndices,function(c){var v=r.getSeriesByIndex(c.seriesIndex),y=c.dataIndexInside,m=v.getDataParams(y);if(!(m.dataIndex<0)){m.axisDim=t.axisDim,m.axisIndex=t.axisIndex,m.axisType=t.axisType,m.axisId=t.axisId,m.axisValue=w.e(e.axis,{value:o}),m.axisValueLabel=s,m.marker=p.makeTooltipMarker("item",i.i(g.d)(m.color),l);var x=i.i(D.b)(v.formatTooltip(y,!0,null)),_=x.frag;if(_){var b=n([v],a).get("valueFormatter");f.blocks.push(b?i.i(h.g)({valueFormatter:b},_):_)}x.text&&d.push(x.text),u.push(m)}})}})}),c.blocks.reverse(),d.reverse();var f=e.position,v=s.get("order"),y=i.i(A.d)(c,p,l,v,r.get("useUTC"),s.get("textStyle"));y&&d.unshift(y);var m="richText"===l?"\n\n":"
",x=d.join(m);this._showOrMove(s,function(){this._updateContentNotChangedOnAxis(t,u)?this._updatePosition(s,f,o[0],o[1],this._tooltipContent,u):this._showTooltipContent(s,x,u,Math.random()+"",o[0],o[1],f,null,p)})},e.prototype._showSeriesItemTooltip=function(t,e,r){var a=this._ecModel,o=i.i(C.a)(e),s=o.seriesIndex,l=a.getSeriesByIndex(s),u=o.dataModel||l,c=o.dataIndex,d=o.dataType,p=u.getData(d),f=this._renderMode,v=t.positionDefault,y=n([p.getItemModel(c),u,l&&(l.coordinateSystem||{}).model],this._tooltipModel,v?{position:v}:null),m=y.get("trigger");if(null==m||"item"===m){var x=u.getDataParams(c,d),_=new A.c;x.marker=_.makeTooltipMarker("item",i.i(g.d)(x.color),f);var b=i.i(D.b)(u.formatTooltip(c,!1,d)),w=y.get("order"),S=y.get("valueFormatter"),M=b.frag,I=M?i.i(A.d)(S?i.i(h.g)({valueFormatter:S},M):M,_,f,w,a.get("useUTC"),y.get("textStyle")):b.text,T="item_"+u.name+"_"+c;this._showOrMove(y,function(){this._showTooltipContent(y,I,x,T,t.offsetX,t.offsetY,t.position,t.target,_)}),r({type:"showTip",dataIndexInside:c,dataIndex:p.getRawIndex(c),seriesIndex:s,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,r){var a=i.i(C.a)(e),o=a.tooltipConfig,s=o.option||{};if(i.i(h.m)(s)){var l=s;s={content:l,formatter:l}}var u=[s],c=this._ecModel.getComponent(a.componentMainType,a.componentIndex);c&&u.push(c),u.push({formatter:s.content});var d=t.positionDefault,p=n(u,this._tooltipModel,d?{position:d}:null),f=p.get("content"),g=Math.random()+"",v=new A.c;this._showOrMove(p,function(){var n=i.i(h.v)(p.get("formatterParams")||{});this._showTooltipContent(p,f,n,g,t.offsetX,t.offsetY,t.position,e,v)}),r({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,e,n,r,a,o,s,l,u){if(this._ticket="",t.get("showContent")&&t.get("show")){var c=this._tooltipContent;c.setEnterable(t.get("enterable"));var d=t.get("formatter");s=s||t.get("position");var p=e,f=this._getNearestPoint([a,o],n,t.get("trigger"),t.get("borderColor")),v=f.color;if(d)if(i.i(h.m)(d)){var y=t.ecModel.get("useUTC"),m=i.i(h.j)(n)?n[0]:n,x=m&&m.axisType&&m.axisType.indexOf("time")>=0;p=d,x&&(p=i.i(T.a)(m.axisValue,p,y)),p=i.i(g.a)(p,n,!0)}else if(i.i(h.a)(d)){var _=i.i(h.K)(function(e,i){e===this._ticket&&(c.setContent(i,u,t,v,s),this._updatePosition(t,s,a,o,c,n,l))},this);this._ticket=r,p=d(n,r,_)}else p=d;c.setContent(p,u,t,v,s),c.show(t,v),this._updatePosition(t,s,a,o,c,n,l)}},e.prototype._getNearestPoint=function(t,e,n,r){return"axis"===n||i.i(h.j)(e)?{color:r||("html"===this._renderMode?"#fff":"none")}:i.i(h.j)(e)?void 0:{color:r||e.color||e.borderColor}},e.prototype._updatePosition=function(t,e,n,r,u,c,d){var p=this._api.getWidth(),f=this._api.getHeight();e=e||t.get("position");var g=u.getSize(),y=t.get("align"),m=t.get("verticalAlign"),_=d&&d.getBoundingRect().clone();if(d&&_.applyTransform(d.transform),i.i(h.a)(e)&&(e=e([n,r],c,u.el,_,{viewSize:[p,f],contentSize:g.slice()})),i.i(h.j)(e))n=i.i(v.a)(e[0],p),r=i.i(v.a)(e[1],f);else if(i.i(h.i)(e)){var b=e;b.width=g[0],b.height=g[1];var w=i.i(x.f)(b,{width:p,height:f});n=w.x,r=w.y,y=null,m=null}else if(i.i(h.m)(e)&&d){var S=s(e,_,g,t.get("borderWidth"));n=S[0],r=S[1]}else{var S=a(n,r,u,p,f,y?null:20,m?null:20);n=S[0],r=S[1]}if(y&&(n-=l(y)?g[0]/2:"right"===y?g[0]:0),m&&(r-=l(m)?g[1]/2:"bottom"===m?g[1]:0),i.i(k.a)(t)){var S=o(n,r,u,p,f);n=S[0],r=S[1]}u.moveTo(n,r)},e.prototype._updateContentNotChangedOnAxis=function(t,e){var n=this._lastDataByCoordSys,r=this._cbParamsList,a=!!n&&n.length===t.length;return a&&i.i(h.d)(n,function(n,o){var s=n.dataByAxis||[],l=t[o]||{},u=l.dataByAxis||[];(a=a&&s.length===u.length)&&i.i(h.d)(s,function(t,n){var o=u[n]||{},s=t.seriesDataIndices||[],l=o.seriesDataIndices||[];a=a&&t.value===o.value&&t.axisType===o.axisType&&t.axisId===o.axisId&&s.length===l.length,a&&i.i(h.d)(s,function(t,e){var i=l[e];a=a&&t.seriesIndex===i.seriesIndex&&t.dataIndex===i.dataIndex}),r&&i.i(h.d)(t.seriesDataIndices,function(t){var i=t.seriesIndex,n=e[i],o=r[i];n&&o&&o.data!==n.data&&(a=!1)})})}),this._lastDataByCoordSys=t,this._cbParamsList=e,!!a},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,e){!d.a.node&&e.getDom()&&(i.i(P.b)(this,"_updatePosition"),this._tooltipContent.dispose(),b.b("itemTooltip",e))},e.type="tooltip",e}(I.a);e.a=R},989:function(t,e,i){"use strict";function n(t){i.i(a.a)(r.a),t.registerComponentModel(o.a),t.registerComponentView(s.a),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},l.B),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},l.B)}e.a=n;var r=i(517),a=i(136),o=i(986),s=i(988),l=i(3)},990:function(t,e,i){"use strict";i.d(e,"a",function(){return o});var n=i(1080),r=i(3),a=i(56),o={type:"echarts:filter",transform:function(t){for(var e,o=t.upstream,s=i.i(n.a)(t.config,{valueGetterAttrMap:i.i(r.k)({dimension:!0}),prepareGetValue:function(t){var e="",n=t.dimension;i.i(r.F)(t,"dimension")||i.i(a.b)(e);var s=o.getDimensionInfo(n);return s||i.i(a.b)(e),{dimIdx:s.index}},getValue:function(t){return o.retrieveValueFromItem(e,t.dimIdx)}}),l=[],u=0,c=o.count();ue[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},e.prototype.completeVisualOption=function(){t.prototype.completeVisualOption.apply(this,arguments),a.d(this.stateList,function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=e[1]/3)},this)},e.prototype.setSelected=function(t){this.option.range=t.slice(),this._resetRange()},e.prototype.getSelected=function(){var t=this.getExtent(),e=s.j((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]=i[1]||t<=e[1])?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[];return this.eachTargetSeries(function(i){var n=[],r=i.getData();r.each(this.getDataDimensionIndex(r),function(e,i){t[0]<=e&&e<=t[1]&&n.push(i)},this),e.push({seriesId:i.id,dataIndex:n})},this),e},e.prototype.getVisualMeta=function(t){function e(e,i){a.push({value:e,color:t(e,i)})}for(var i=n(this,"outOfRange",this.getExtent()),r=n(this,"inRange",this.option.range.slice()),a=[],o=0,s=0,l=r.length,u=i.length;st[1])break;i.push({color:this.getControllerVisual(a,"color",e),offset:r/100})}return i.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),i},e.prototype._createBarPoints=function(t,e){var i=this.visualMapModel.itemSize;return[[i[0]-e[0],t[0]],[i[0],t[0]],[i[0],t[1]],[i[0]-e[1],t[1]]]},e.prototype._createBarGroup=function(t){var e=this._orient,i=this.visualMapModel.get("inverse");return new d.Group("horizontal"!==e||i?"horizontal"===e&&i?{scaleX:"bottom"===t?-1:1,rotation:-Math.PI/2}:"vertical"!==e||i?{scaleX:"left"===t?1:-1}:{scaleX:"left"===t?1:-1,scaleY:-1}:{scaleX:"bottom"===t?1:-1,rotation:Math.PI/2})},e.prototype._updateHandle=function(t,e){if(this._useHandle){var i=this._shapes,n=this.visualMapModel,r=i.handleThumbs,a=i.handleLabels,o=n.itemSize,s=n.getExtent();M([0,1],function(l){var u=r[l];u.setStyle("fill",e.handlesColor[l]),u.y=t[l];var c=S(t[l],[0,o[1]],s,!0),h=this.getControllerVisual(c,"symbolSize");u.scaleX=u.scaleY=h/o[0],u.x=o[0]-h/2;var p=d.applyTransform(i.handleLabelPoints[l],d.getTransform(u,this.group));a[l].setStyle({x:p[0],y:p[1],text:n.formatValueText(this._dataInterval[l]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",i.mainGroup):"center"})},this)}},e.prototype._showIndicator=function(t,e,i,n){var r=this.visualMapModel,a=r.getExtent(),o=r.itemSize,s=[0,o[1]],l=this._shapes,u=l.indicator;if(u){u.attr("invisible",!1);var c={convertOpacityToAlpha:!0},h=this.getControllerVisual(t,"color",c),p=this.getControllerVisual(t,"symbolSize"),f=S(t,a,s,!0),g=o[0]-p/2,v={x:u.x,y:u.y};u.y=f,u.x=g;var y=d.applyTransform(l.indicatorLabelPoint,d.getTransform(u,this.group)),m=l.indicatorLabel;m.attr("invisible",!1);var x=this._applyTransform("left",l.mainGroup),_=this._orient,b="horizontal"===_;m.setStyle({text:(i||"")+r.formatValueText(e),verticalAlign:b?x:"middle",align:b?"center":x});var w={x:g,y:f,style:{fill:h}},M={style:{x:y[0],y:y[1]}};if(r.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var I={duration:100,easing:"cubicInOut",additive:!0};u.x=v.x,u.y=v.y,u.animateTo(w,I),m.animateTo(M,I)}else u.attr(w),m.attr(M);this._firstShowIndicator=!1;var T=this._shapes.handleLabels;if(T)for(var C=0;Co[1]&&(h[1]=1/0),e&&(h[0]===-1/0?this._showIndicator(c,h[1],"< ",l):h[1]===1/0?this._showIndicator(c,h[0],"> ",l):this._showIndicator(c,c,"≈ ",l));var d=this._hoverLinkDataIndices,p=[];(e||a(i))&&(p=this._hoverLinkDataIndices=i.findTargetDataIndices(h));var f=v.j(d,p);this._dispatchHighDown("downplay",g.a(f[0],i)),this._dispatchHighDown("highlight",g.a(f[1],i))}},e.prototype._hoverLinkFromSeriesMouseOver=function(t){var e=t.target,n=this.visualMapModel;if(e&&null!=i.i(b.a)(e).dataIndex){var r=i.i(b.a)(e),a=this.ecModel.getSeriesByIndex(r.seriesIndex);if(n.isTargetSeries(a)){var o=a.getData(r.dataType),s=o.getStore().get(n.getDataDimensionIndex(o),r.dataIndex);isNaN(s)||this._showIndicator(s,s)}}},e.prototype._hideIndicator=function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0);var e=this._shapes.handleLabels;if(e)for(var i=0;i0?"pieces":this.option.categories?"categories":"splitNumber"},e.prototype.setSelected=function(t){this.option.selected=a.v(t)},e.prototype.getValueState=function(t){var e=s.a.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[],i=this._pieceList;return this.eachTargetSeries(function(n){var r=[],a=n.getData();a.each(this.getDataDimensionIndex(a),function(e,n){s.a.findPieceIndex(e,i)===t&&r.push(n)},this),e.push({seriesId:n.id,dataIndex:r})},this),e},e.prototype.getRepresentValue=function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var i=t.interval||[];e=i[0]===-1/0&&i[1]===1/0?0:(i[0]+i[1])/2}return e},e.prototype.getVisualMeta=function(t){function e(e,a){var o=r.getRepresentValue({interval:e});a||(a=r.getValueState(o));var s=t(o,a);e[0]===-1/0?n[0]=s:e[1]===1/0?n[1]=s:i.push({value:e[0],color:s},{value:e[1],color:s})}if(!this.isCategory()){var i=[],n=["",""],r=this,o=this._pieceList.slice();if(o.length){var s=o[0].interval[0];s!==-1/0&&o.unshift({interval:[-1/0,s]}),s=o[o.length-1].interval[1],s!==1/0&&o.push({interval:[s,1/0]})}else o.push({interval:[-1/0,1/0]});var l=-1/0;return a.d(o,function(t){var i=t.interval;i&&(i[0]>l&&e([l,i[0]],"outOfRange"),e(i.slice()),l=i[1])},this),{stops:i,outerColors:n}}},e.type="visualMap.piecewise",e.defaultOption=i.i(c.d)(o.a.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),e}(o.a),d={splitNumber:function(t){var e=this.option,n=Math.min(e.precision,20),r=this.getExtent(),o=e.splitNumber;o=Math.max(parseInt(o,10),1),e.splitNumber=o;for(var s=(r[1]-r[0])/o;+s.toFixed(n)!==s&&n<5;)n++;e.precision=n,s=+s.toFixed(n),e.minOpen&&t.push({interval:[-1/0,r[0]],close:[0,0]});for(var l=0,c=r[0];l","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,i)},this)}};e.a=h},996:function(t,e,i){"use strict";var n=i(6),r=i(3),a=i(683),o=i(14),s=i(105),l=i(69),u=i(684),c=i(58),h=function(t){function e(){var i=null!==t&&t.apply(this,arguments)||this;return i.type=e.type,i}return i.i(n.a)(e,t),e.prototype.doRender=function(){var t=this.group;t.removeAll();var e=this.visualMapModel,i=e.get("textGap"),n=e.textStyleModel,a=n.getFont(),s=n.getTextColor(),u=this._getItemAlign(),c=e.itemSize,h=this._getViewData(),d=h.endsText,p=r.N(e.get("showLabel",!0),!d);d&&this._renderEndsText(t,d[0],c,p,u),r.d(h.viewPieceList,function(n){var l=n.piece,h=new o.Group;h.onclick=r.K(this._onItemClick,this,l),this._enableHoverLink(h,n.indexInModelPieceList);var d=e.getRepresentValue(l);if(this._createItemSymbol(h,d,[0,0,c[0],c[1]]),p){var f=this.visualMapModel.getValueState(d);h.add(new o.Text({style:{x:"right"===u?-i:c[0]+i,y:c[1]/2,text:l.text,verticalAlign:"middle",align:u,font:a,fill:s,opacity:"outOfRange"===f?.5:1}}))}t.add(h)},this),d&&this._renderEndsText(t,d[1],c,p,u),l.d(e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},e.prototype._enableHoverLink=function(t,e){var i=this;t.on("mouseover",function(){return n("highlight")}).on("mouseout",function(){return n("downplay")});var n=function(t){var n=i.visualMapModel;n.option.hoverLink&&i.api.dispatchAction({type:t,batch:u.a(n.findTargetDataIndices(e),n)})}},e.prototype._getItemAlign=function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return u.b(t,this.api,t.itemSize);var i=e.align;return i&&"auto"!==i||(i="left"),i},e.prototype._renderEndsText=function(t,e,n,r,a){if(e){var s=new o.Group,l=this.visualMapModel.textStyleModel;s.add(new o.Text({style:i.i(c.d)(l,{x:r?"right"===a?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:r?a:"center",text:e})})),t.add(s)}},e.prototype._getViewData=function(){var t=this.visualMapModel,e=r.p(t.getPieceList(),function(t,e){return{piece:t,indexInModelPieceList:e}}),i=t.get("text"),n=t.get("orient"),a=t.get("inverse");return("horizontal"===n?a:!a)?e.reverse():i&&(i=i.slice().reverse()),{viewPieceList:e,endsText:i}},e.prototype._createItemSymbol=function(t,e,n){t.add(i.i(s.a)(this.getControllerVisual(e,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(e,"color")))},e.prototype._onItemClick=function(t){var e=this.visualMapModel,i=e.option,n=r.v(i.selected),a=e.getSelectedMapKey(t);"single"===i.selectedMode?(n[a]=!0,r.d(n,function(t,e){n[e]=e===a})):n[a]=!n[a],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:n})},e.type="visualMap.piecewise",e}(a.a);e.a=h},997:function(t,e,i){"use strict";function n(t){i.i(r.a)(a.a),i.i(r.a)(o.a)}e.a=n;var r=i(136),a=i(686),o=i(687)},998:function(t,e,i){"use strict";function n(t){var e=t&&t.visualMap;a.j(e)||(e=e?[e]:[]),o(e,function(t){if(t){r(t,"splitList")&&!r(t,"pieces")&&(t.pieces=t.splitList,delete t.splitList);var e=t.pieces;e&&a.j(e)&&o(e,function(t){a.i(t)&&(r(t,"start")&&!r(t,"min")&&(t.min=t.start),r(t,"end")&&!r(t,"max")&&(t.max=t.end))})}})}function r(t,e){return t&&t.hasOwnProperty&&t.hasOwnProperty(e)}e.a=n;var a=i(3),o=a.d},999:function(t,e,i){"use strict";function n(t,e,n,r){function a(t){return h[t]}function l(t,e){h[t]=e}for(var u=e.targetVisuals[r],c=o.a.prepareVisualTypes(u),h={color:i.i(s.a)(t.getData(),"color")},d=0,p=c.length;d=0&&(o.dimension=s,a.push(o))}}),t.getData().setVisual("visualMeta",a)}}]}},[5819]);