Full Code of ecomfe/echarts-for-weixin for AI

master 82e6cdfe5347 cached
116 files
1.1 MB
409.7k tokens
1661 symbols
1 requests
Download .txt
Showing preview only (1,158K chars total). Download the full file or copy to clipboard to get everything.
Repository: ecomfe/echarts-for-weixin
Branch: master
Commit: 82e6cdfe5347
Files: 116
Total size: 1.1 MB

Directory structure:
gitextract_m1kz_fri/

├── .gitignore
├── ISSUE_TEMPLATE.md
├── LICENSE
├── README.md
├── app.js
├── app.json
├── app.wxss
├── ec-canvas/
│   ├── ec-canvas.js
│   ├── ec-canvas.json
│   ├── ec-canvas.wxml
│   ├── ec-canvas.wxss
│   ├── echarts.js
│   └── wx-canvas.js
├── pages/
│   ├── bar/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   └── index.wxss
│   ├── boxplot/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   └── index.wxss
│   ├── funnel/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   └── index.wxss
│   ├── gauge/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   └── index.wxss
│   ├── graph/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   └── index.wxss
│   ├── heatmap/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   └── index.wxss
│   ├── index/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   └── index.wxss
│   ├── k/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   └── index.wxss
│   ├── lazyLoad/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   └── index.wxss
│   ├── line/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   └── index.wxss
│   ├── loadImage/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   └── index.wxss
│   ├── map/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   ├── index.wxss
│   │   └── mapData.js
│   ├── measureText/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   └── index.wxss
│   ├── move/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   └── index.wxss
│   ├── multiCharts/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   └── index.wxss
│   ├── parallel/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   └── index.wxss
│   ├── pie/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   └── index.wxss
│   ├── radar/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   └── index.wxss
│   ├── sankey/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   └── index.wxss
│   ├── saveCanvas/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   └── index.wxss
│   ├── scatter/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   └── index.wxss
│   ├── sunburst/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   └── index.wxss
│   ├── themeRiver/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   └── index.wxss
│   ├── tree/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   └── index.wxss
│   └── treemap/
│       ├── index.js
│       ├── index.json
│       ├── index.wxml
│       └── index.wxss
├── project.config.json
└── sitemap.json

================================================
FILE CONTENTS
================================================

================================================
FILE: .gitignore
================================================
project.private.config.json



================================================
FILE: ISSUE_TEMPLATE.md
================================================
## 提问前应该做的事

请确保提问前做了以下事,将完成的项目的 `[]` 改为 `[x]`:

- [] 我已通读过 [README](https://github.com/ecomfe/echarts-for-weixin/blob/master/README.md)
- [] 我已阅读过 [FAQ](https://github.com/ecomfe/echarts-for-weixin/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3Afaq+)

## 需提供的信息

将符合项的 `[]` 改为 `[x]`,并补充需要的信息:

### 简单描述问题:
???

### 预期效果:
???
(如有需要请提供预期的图)

### 实际效果:
???
(如有需要请提供截图)

### 复现环境:
- [] 在微信开发工具中存在该问题
- [] 在真机上存在该问题


================================================
FILE: LICENSE
================================================
BSD 3-Clause License

Copyright (c) 2020, Baidu Inc.
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
  list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
  this list of conditions and the following disclaimer in the documentation
  and/or other materials provided with the distribution.

* Neither the name of the copyright holder nor the names of its
  contributors may be used to endorse or promote products derived from
  this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


================================================
FILE: README.md
================================================
# 在微信小程序中使用 Apache ECharts

本项目是基于 [Apache ECharts](https://github.com/apache/echarts) 的微信小程序图表库,以及使用的示例。

开发者可以通过熟悉的 ECharts 配置方式,快速开发图表,满足各种可视化需求。

## 体验示例小程序

在微信中扫描下面的二维码即可体验 ECharts Demo:

![ECharts Demo](img/weixin-app.jpg)

## 下载

为了兼容小程序 Canvas,我们提供了一个小程序的组件,用这种方式可以方便地使用 ECharts。

首先,下载本项目。

其中,`ec-canvas` 是我们提供的组件,其他文件是如何使用该组件的示例。

`ec-canvas` 目录下有一个 `echarts.js`,默认我们会在每次 `echarts-for-weixin` 项目发版的时候替换成最新版的 ECharts。如有必要,可以自行从 ECharts 项目中下载[最新发布版](https://github.com/apache/echarts/releases),或者从[官网自定义构建](https://echarts.apache.org/zh/builder.html)以减小文件大小。

## 引入组件

微信小程序的项目创建可以参见[微信公众平台官方文档](https://developers.weixin.qq.com/miniprogram/dev/framework/quickstart/)。

在创建项目之后,可以将下载的 [ecomfe/echarts-for-weixin](https://github.com/ecomfe/echarts-for-weixin) 项目完全替换新建的项目,然后将修改代码;或者仅拷贝 `ec-canvas` 目录到新建的项目下,然后做相应的调整。

如果采用完全替换的方式,需要将 `project.config.json` 中的 `appid` 替换成在公众平台申请的项目 id。`pages` 目录下的每个文件夹是一个页面,可以根据情况删除不需要的页面,并且在 `app.json` 中删除对应页面。

如果仅拷贝 `ec-canvas` 目录,则可以参考 `pages/bar` 目录下的几个文件的写法。下面,我们具体地说明。


## 创建图表

首先,在 `pages/bar` 目录下新建以下几个文件:`index.js`、 `index.json`、 `index.wxml`、 `index.wxss`。并且在 `app.json` 的 `pages` 中增加 `'pages/bar/index'`。

`index.json` 配置如下:

```json
{
  "usingComponents": {
    "ec-canvas": "../../ec-canvas/ec-canvas"
  }
}
```

这一配置的作用是,允许我们在 `pages/bar/index.wxml` 中使用 `<ec-canvas>` 组件。注意路径的相对位置要写对,如果目录结构和本例相同,就应该像上面这样配置。

`index.wxml` 中,我们创建了一个 `<ec-canvas>` 组件,内容如下:

```xml
<view class="container">
  <ec-canvas id="mychart-dom-bar" canvas-id="mychart-bar" ec="{{ ec }}"></ec-canvas>
</view>
```

> 注意此处的 `.container`,新建小程序项目后,其中 `app.wxss` 中默认自动生成的此 class 与本 demo 中的可能不一致,导致图表不能正常显示,只显示空白。请注意参考 `app.wxss` 修改样式,保证图表的初始化的时候是有宽度和高度的。

其中 `ec` 是一个我们在 `index.js` 中定义的对象,它使得图表能够在页面加载后被初始化并设置。`index.js` 的结构如下:

```js
function initChart(canvas, width, height, dpr) {
  const chart = echarts.init(canvas, null, {
    width: width,
    height: height,
    devicePixelRatio: dpr // 像素比
  });
  canvas.setChart(chart);

  var option = {
    ...
  };
  chart.setOption(option);
  return chart;
}

Page({
  data: {
    ec: {
      onInit: initChart
    }
  }
});
```

这对于所有 ECharts 图表都是通用的,用户只需要修改上面 `option` 的内容,即可改变图表。`option` 的使用方法参见 [ECharts 配置项文档](https://echarts.apache.org/zh/option.html)。对于不熟悉 ECharts 的用户,可以参见 [快速上手 ECharts](https://echarts.apache.org/handbook/zh/get-started/) 教程。

完整的例子请参见 [ecomfe/echarts-for-weixin](https://github.com/ecomfe/echarts-for-weixin) 项目。

## FAQ
### 如何获取图表实例?

`echarts.init` 返回的即为图表实例,可以参考 [pages/bar/index.js](/blob/master/pages/bar/index.js) 的写法。

### 如何延迟加载图表?

参见 `pages/lazyLoad` 的例子,可以在获取数据后再初始化数据。

### 如何在一个页面中加载多个图表?

参见 `pages/multiCharts` 的例子。

### 如何使用 Tooltip?

目前,本项目已支持 ECharts Tooltip,但是由于 ECharts 相关功能尚未发版,因此需要使用当前本项目中 `ec-canvas/echarts.js`,这个文件包含了可以在微信中使用 Tooltip 的相关代码。目前在 ECharts 官网下载的 `echarts.js` 还不能直接替换使用,等 ECharts 正式发版后即可。

具体使用方法和 ECharts 相同,例子参见 `pages/line/index.js`。

目前一个已知的 bug 是,有些图表的 tooltip 会显示 `<br/>` 而非换行符。这一问题将在之后修复,暂时碰到这一问题时,开发者可以通过在 formatter 中使用 `\n` 作为换行。

### 如何保存为图片?

参见 `pages/saveCanvas` 的例子。

### 文件太大怎么办?

本项目默认提供的 ECharts 文件是最新版本的包含所有组件文件。可以下载不同版本的 [ECharts](https://github.com/apache/echarts/blob/master/dist/) 进行替换。建议调试时使用未压缩版本,发布时使用压缩版本,否则文件会太大无法发布。

发布时,如果对文件大小要求更高,可以在 [ECharts 在线定制](https://echarts.apache.org/zh/builder.html)网页下载仅包含必要组件的包,并且选择压缩。

下载的文件放在 `ec-canvas/echarts.js`,**注意一定需要重命名为 `echarts.js`**。

此外,还可考虑使用微信小程序的[分包策略](https://developers.weixin.qq.com/miniprogram/dev/framework/subpackages/independent.html)

## 微信版本要求

### Canvas 2d 版本要求

最新版的 ECharts 微信小程序支持微信 Canvas 2d,当用户的基础库版本 >= 2.9.0 且没有设置 `force-use-old-canvas="true"` 的情况下,使用新的 Canvas 2d(默认)。

使用新的 Canvas 2d 可以提升渲染性能,解决非同层渲染问题,强烈建议开启

如果仍需使用旧版 Canvas,使用方法如下:

```html
<ec-canvas id="xxx" canvas-id="xxx" ec="{{ ec }}" force-use-old-canvas="true"></ec-canvas>
```

### 最低版本要求

支持微信版本 >= 6.6.3,对应基础库版本 >= 1.9.91。尽可能使用更高版本的基础库版本。

调试的时候,需要在微信开发者工具中,将“详情”下的“调试基础库”设为 1.9.91 及以上版本。

发布前,需要在 [https://mp.weixin.qq.com](https://mp.weixin.qq.com) 的“设置”页面,将“基础库最低版本设置”设为 1.9.91。当用户微信版本过低的时候,会提示用户更新。


## 暂不支持的功能

ECharts 中的绝大部分功能都支持小程序版本,因此这里仅说明不支持的功能,以及存在的问题。

以下功能尚不支持,如果有相关需求请在 [issue](https://github.com/ecomfe/echarts-for-weixin/issues) 中向我们反馈,对于反馈人数多的需求将优先支持:

- 多个 zlevel 分层

此外,目前还有一些 bug 尚未修复,部分需要小程序团队配合上线支持,但不影响基本的使用。已知的 bug 包括:

- 安卓平台:transform 的问题(会影响关系图边两端的标记位置、旭日图文字位置等)
- iOS 平台:半透明略有变深的问题
- iOS 平台:渐变色出现在定义区域之外的地方

如有其它问题,也欢迎在 [issue](https://github.com/ecomfe/echarts-for-weixin/issues) 中向我们反馈,谢谢!

## Notice

The Apache Software Foundation [Apache ECharts, ECharts](https://echarts.apache.org/), Apache, the Apache feather, and the Apache ECharts project logo are either registered trademarks or trademarks of the [Apache Software Foundation](https://www.apache.org/).


================================================
FILE: app.js
================================================
//app.js
App({
  onLaunch: function () {
    // 展示本地存储能力
    var logs = wx.getStorageSync('logs') || []
    logs.unshift(Date.now())
    wx.setStorageSync('logs', logs)

    // 登录
    wx.login({
      success: res => {
        // 发送 res.code 到后台换取 openId, sessionKey, unionId
      }
    })
    // 获取用户信息
    wx.getSetting({
      success: res => {
        if (res.authSetting['scope.userInfo']) {
          // 已经授权,可以直接调用 getUserInfo 获取头像昵称,不会弹框
          wx.getUserInfo({
            success: res => {
              // 可以将 res 发送给后台解码出 unionId
              this.globalData.userInfo = res.userInfo

              // 由于 getUserInfo 是网络请求,可能会在 Page.onLoad 之后才返回
              // 所以此处加入 callback 以防止这种情况
              if (this.userInfoReadyCallback) {
                this.userInfoReadyCallback(res)
              }
            }
          })
        }
      }
    })
  },
  globalData: {
    userInfo: null
  }
})

================================================
FILE: app.json
================================================
{
  "pages": [
    "pages/index/index",
    "pages/bar/index",
    "pages/measureText/index",
    "pages/line/index",
    "pages/scatter/index",
    "pages/sunburst/index",
    "pages/funnel/index",
    "pages/radar/index",
    "pages/gauge/index",
    "pages/pie/index",
    "pages/k/index",
    "pages/heatmap/index",
    "pages/tree/index",
    "pages/treemap/index",
    "pages/map/index",
    "pages/graph/index",
    "pages/boxplot/index",
    "pages/parallel/index",
    "pages/sankey/index",
    "pages/themeRiver/index",
    "pages/lazyLoad/index",
    "pages/multiCharts/index",
    "pages/move/index",
    "pages/saveCanvas/index",
    "pages/loadImage/index"
  ],
  "window": {
    "backgroundTextStyle": "light",
    "backgroundColor": "#eee",
    "navigationBarBackgroundColor": "#eee",
    "navigationBarTitleText": "ECharts 图表示例",
    "navigationBarTextStyle": "black"
  },
  "sitemapLocation": "sitemap.json"
}

================================================
FILE: app.wxss
================================================
/**app.wxss**/
.container {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
} 


================================================
FILE: ec-canvas/ec-canvas.js
================================================
import WxCanvas from './wx-canvas';
import * as echarts from './echarts';

let ctx;

function compareVersion(v1, v2) {
  v1 = v1.split('.')
  v2 = v2.split('.')
  const len = Math.max(v1.length, v2.length)

  while (v1.length < len) {
    v1.push('0')
  }
  while (v2.length < len) {
    v2.push('0')
  }

  for (let i = 0; i < len; i++) {
    const num1 = parseInt(v1[i])
    const num2 = parseInt(v2[i])

    if (num1 > num2) {
      return 1
    } else if (num1 < num2) {
      return -1
    }
  }
  return 0
}

Component({
  properties: {
    canvasId: {
      type: String,
      value: 'ec-canvas'
    },

    ec: {
      type: Object
    },

    forceUseOldCanvas: {
      type: Boolean,
      value: false
    }
  },

  data: {
    isUseNewCanvas: false
  },

  ready: function () {
    // Disable prograssive because drawImage doesn't support DOM as parameter
    // See https://developers.weixin.qq.com/miniprogram/dev/api/canvas/CanvasContext.drawImage.html
    echarts.registerPreprocessor(option => {
      if (option && option.series) {
        if (option.series.length > 0) {
          option.series.forEach(series => {
            series.progressive = 0;
          });
        }
        else if (typeof option.series === 'object') {
          option.series.progressive = 0;
        }
      }
    });

    if (!this.data.ec) {
      console.warn('组件需绑定 ec 变量,例:<ec-canvas id="mychart-dom-bar" '
        + 'canvas-id="mychart-bar" ec="{{ ec }}"></ec-canvas>');
      return;
    }

    if (!this.data.ec.lazyLoad) {
      this.init();
    }
  },

  methods: {
    init: function (callback) {
      const version = wx.getSystemInfoSync().SDKVersion

      const canUseNewCanvas = compareVersion(version, '2.9.0') >= 0;
      const forceUseOldCanvas = this.data.forceUseOldCanvas;
      const isUseNewCanvas = canUseNewCanvas && !forceUseOldCanvas;
      this.setData({ isUseNewCanvas });

      if (forceUseOldCanvas && canUseNewCanvas) {
        console.warn('开发者强制使用旧canvas,建议关闭');
      }

      if (isUseNewCanvas) {
        // console.log('微信基础库版本大于2.9.0,开始使用<canvas type="2d"/>');
        // 2.9.0 可以使用 <canvas type="2d"></canvas>
        this.initByNewWay(callback);
      } else {
        const isValid = compareVersion(version, '1.9.91') >= 0
        if (!isValid) {
          console.error('微信基础库版本过低,需大于等于 1.9.91。'
            + '参见:https://github.com/ecomfe/echarts-for-weixin'
            + '#%E5%BE%AE%E4%BF%A1%E7%89%88%E6%9C%AC%E8%A6%81%E6%B1%82');
          return;
        } else {
          console.warn('建议将微信基础库调整大于等于2.9.0版本。升级后绘图将有更好性能');
          this.initByOldWay(callback);
        }
      }
    },

    initByOldWay(callback) {
      // 1.9.91 <= version < 2.9.0:原来的方式初始化
      ctx = wx.createCanvasContext(this.data.canvasId, this);
      const canvas = new WxCanvas(ctx, this.data.canvasId, false);

      if (echarts.setPlatformAPI) {
        echarts.setPlatformAPI({
          createCanvas: () => canvas,
        });
      } else {
        echarts.setCanvasCreator(() => canvas);
      };
      // const canvasDpr = wx.getSystemInfoSync().pixelRatio // 微信旧的canvas不能传入dpr
      const canvasDpr = 1
      var query = wx.createSelectorQuery().in(this);
      query.select('.ec-canvas').boundingClientRect(res => {
        if (typeof callback === 'function') {
          this.chart = callback(canvas, res.width, res.height, canvasDpr);
        }
        else if (this.data.ec && typeof this.data.ec.onInit === 'function') {
          this.chart = this.data.ec.onInit(canvas, res.width, res.height, canvasDpr);
        }
        else {
          this.triggerEvent('init', {
            canvas: canvas,
            width: res.width,
            height: res.height,
            canvasDpr: canvasDpr // 增加了dpr,可方便外面echarts.init
          });
        }
      }).exec();
    },

    initByNewWay(callback) {
      // version >= 2.9.0:使用新的方式初始化
      const query = wx.createSelectorQuery().in(this)
      query
        .select('.ec-canvas')
        .fields({ node: true, size: true })
        .exec(res => {
          const canvasNode = res[0].node
          this.canvasNode = canvasNode

          const canvasDpr = wx.getSystemInfoSync().pixelRatio
          const canvasWidth = res[0].width
          const canvasHeight = res[0].height

          const ctx = canvasNode.getContext('2d')

          const canvas = new WxCanvas(ctx, this.data.canvasId, true, canvasNode)
          if (echarts.setPlatformAPI) {
            echarts.setPlatformAPI({
              createCanvas: () => canvas,
              loadImage: (src, onload, onerror) => {
                if (canvasNode.createImage) {
                  const image = canvasNode.createImage();
                  image.onload = onload;
                  image.onerror = onerror;
                  image.src = src;
                  return image;
                }
                console.error('加载图片依赖 `Canvas.createImage()` API,要求小程序基础库版本在 2.7.0 及以上。');
                // PENDING fallback?
              }
            })
          } else {
            echarts.setCanvasCreator(() => canvas)
          }

          if (typeof callback === 'function') {
            this.chart = callback(canvas, canvasWidth, canvasHeight, canvasDpr)
          } else if (this.data.ec && typeof this.data.ec.onInit === 'function') {
            this.chart = this.data.ec.onInit(canvas, canvasWidth, canvasHeight, canvasDpr)
          } else {
            this.triggerEvent('init', {
              canvas: canvas,
              width: canvasWidth,
              height: canvasHeight,
              dpr: canvasDpr
            })
          }
        })
    },
    canvasToTempFilePath(opt) {
      if (this.data.isUseNewCanvas) {
        // 新版
        const query = wx.createSelectorQuery().in(this)
        query
          .select('.ec-canvas')
          .fields({ node: true, size: true })
          .exec(res => {
            const canvasNode = res[0].node
            opt.canvas = canvasNode
            wx.canvasToTempFilePath(opt)
          })
      } else {
        // 旧的
        if (!opt.canvasId) {
          opt.canvasId = this.data.canvasId;
        }
        ctx.draw(true, () => {
          wx.canvasToTempFilePath(opt, this);
        });
      }
    },

    touchStart(e) {
      if (this.chart && e.touches.length > 0) {
        var touch = e.touches[0];
        var handler = this.chart.getZr().handler;
        handler.dispatch('mousedown', {
          zrX: touch.x,
          zrY: touch.y,
          preventDefault: () => {},
          stopImmediatePropagation: () => {},
          stopPropagation: () => {}
        });
        handler.dispatch('mousemove', {
          zrX: touch.x,
          zrY: touch.y,
          preventDefault: () => {},
          stopImmediatePropagation: () => {},
          stopPropagation: () => {}
        });
        handler.processGesture(wrapTouch(e), 'start');
      }
    },

    touchMove(e) {
      if (this.chart && e.touches.length > 0) {
        var touch = e.touches[0];
        var handler = this.chart.getZr().handler;
        handler.dispatch('mousemove', {
          zrX: touch.x,
          zrY: touch.y,
          preventDefault: () => {},
          stopImmediatePropagation: () => {},
          stopPropagation: () => {}
        });
        handler.processGesture(wrapTouch(e), 'change');
      }
    },

    touchEnd(e) {
      if (this.chart) {
        const touch = e.changedTouches ? e.changedTouches[0] : {};
        var handler = this.chart.getZr().handler;
        handler.dispatch('mouseup', {
          zrX: touch.x,
          zrY: touch.y,
          preventDefault: () => {},
          stopImmediatePropagation: () => {},
          stopPropagation: () => {}
        });
        handler.dispatch('click', {
          zrX: touch.x,
          zrY: touch.y,
          preventDefault: () => {},
          stopImmediatePropagation: () => {},
          stopPropagation: () => {}
        });
        handler.processGesture(wrapTouch(e), 'end');
      }
    }
  }
});

function wrapTouch(event) {
  for (let i = 0; i < event.touches.length; ++i) {
    const touch = event.touches[i];
    touch.offsetX = touch.x;
    touch.offsetY = touch.y;
  }
  return event;
}


================================================
FILE: ec-canvas/ec-canvas.json
================================================
{
  "component": true,
  "usingComponents": {}
}

================================================
FILE: ec-canvas/ec-canvas.wxml
================================================
<!-- 新的:接口对其了H5 -->
<canvas wx:if="{{isUseNewCanvas}}" type="2d" class="ec-canvas" canvas-id="{{ canvasId }}" bindinit="init" bindtouchstart="{{ ec.disableTouch ? '' : 'touchStart' }}" bindtouchmove="{{ ec.disableTouch ? '' : 'touchMove' }}" bindtouchend="{{ ec.disableTouch ? '' : 'touchEnd' }}"></canvas>
<!-- 旧的 -->
<canvas wx:else class="ec-canvas" canvas-id="{{ canvasId }}" bindinit="init" bindtouchstart="{{ ec.disableTouch ? '' : 'touchStart' }}" bindtouchmove="{{ ec.disableTouch ? '' : 'touchMove' }}" bindtouchend="{{ ec.disableTouch ? '' : 'touchEnd' }}"></canvas>


================================================
FILE: ec-canvas/ec-canvas.wxss
================================================
.ec-canvas {
  width: 100%;
  height: 100%;
}


================================================
FILE: ec-canvas/echarts.js
================================================

/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements.  See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership.  The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License.  You may obtain a copy of the License at
*
*   http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied.  See the License for the
* specific language governing permissions and limitations
* under the License.
*/

!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).echarts={})}(this,(function(t){"use strict";
/*! *****************************************************************************
    Copyright (c) Microsoft Corporation.

    Permission to use, copy, modify, and/or distribute this software for any
    purpose with or without fee is hereby granted.

    THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
    REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
    AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
    INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
    LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
    OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
    PERFORMANCE OF THIS SOFTWARE.
    ***************************************************************************** */var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,n)};function n(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}var i=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},r=new function(){this.browser=new i,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!=typeof window};"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(r.wxa=!0,r.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?r.worker=!0:"undefined"==typeof navigator?(r.node=!0,r.svgSupported=!0):function(t,e){var n=e.browser,i=t.match(/Firefox\/([\d.]+)/),r=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),o=t.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(t);i&&(n.firefox=!0,n.version=i[1]);r&&(n.ie=!0,n.version=r[1]);o&&(n.edge=!0,n.version=o[1],n.newEdge=+o[1].split(".")[0]>18);a&&(n.weChat=!0);e.svgSupported="undefined"!=typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,e.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),e.domSupported="undefined"!=typeof document;var s=document.documentElement.style;e.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||n.ie&&+n.version>=9}(navigator.userAgent,r);var o="sans-serif",a="12px sans-serif";var s,l,u=function(t){var e={};if("undefined"==typeof JSON)return e;for(var n=0;n<t.length;n++){var i=String.fromCharCode(n+32),r=(t.charCodeAt(n)-20)/100;e[i]=r}return e}("007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N"),h={createCanvas:function(){return"undefined"!=typeof document&&document.createElement("canvas")},measureText:function(t,e){if(!s){var n=h.createCanvas();s=n&&n.getContext("2d")}if(s)return l!==e&&(l=s.font=e||a),s.measureText(t);t=t||"";var i=/^([0-9]*?)px$/.exec(e=e||a),r=+(i&&i[1])||12,o=0;if(e.indexOf("mono")>=0)o=r*t.length;else for(var c=0;c<t.length;c++){var p=u[t[c]];o+=null==p?r:p*r}return{width:o}},loadImage:function(t,e,n){var i=new Image;return i.onload=e,i.onerror=n,i.src=t,i}};function c(t){for(var e in h)t[e]&&(h[e]=t[e])}var p=V(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],(function(t,e){return t["[object "+e+"]"]=!0,t}),{}),d=V(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],(function(t,e){return t["[object "+e+"Array]"]=!0,t}),{}),f=Object.prototype.toString,g=Array.prototype,y=g.forEach,v=g.filter,m=g.slice,x=g.map,_=function(){}.constructor,b=_?_.prototype:null,w="__proto__",S=2311;function M(){return S++}function I(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];"undefined"!=typeof console&&console.error.apply(console,t)}function T(t){if(null==t||"object"!=typeof t)return t;var e=t,n=f.call(t);if("[object Array]"===n){if(!pt(t)){e=[];for(var i=0,r=t.length;i<r;i++)e[i]=T(t[i])}}else if(d[n]){if(!pt(t)){var o=t.constructor;if(o.from)e=o.from(t);else{e=new o(t.length);for(i=0,r=t.length;i<r;i++)e[i]=t[i]}}}else if(!p[n]&&!pt(t)&&!J(t))for(var a in e={},t)t.hasOwnProperty(a)&&a!==w&&(e[a]=T(t[a]));return e}function C(t,e,n){if(!q(e)||!q(t))return n?T(e):t;for(var i in e)if(e.hasOwnProperty(i)&&i!==w){var r=t[i],o=e[i];!q(o)||!q(r)||Y(o)||Y(r)||J(o)||J(r)||K(o)||K(r)||pt(o)||pt(r)?!n&&i in t||(t[i]=T(e[i])):C(r,o,n)}return t}function D(t,e){for(var n=t[0],i=1,r=t.length;i<r;i++)n=C(n,t[i],e);return n}function A(t,e){if(Object.assign)Object.assign(t,e);else for(var n in e)e.hasOwnProperty(n)&&n!==w&&(t[n]=e[n]);return t}function k(t,e,n){for(var i=G(e),r=0;r<i.length;r++){var o=i[r];(n?null!=e[o]:null==t[o])&&(t[o]=e[o])}return t}var L=h.createCanvas;function P(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n}return-1}function O(t,e){var n=t.prototype;function i(){}for(var r in i.prototype=e.prototype,t.prototype=new i,n)n.hasOwnProperty(r)&&(t.prototype[r]=n[r]);t.prototype.constructor=t,t.superClass=e}function R(t,e,n){if(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var i=Object.getOwnPropertyNames(e),r=0;r<i.length;r++){var o=i[r];"constructor"!==o&&(n?null!=e[o]:null==t[o])&&(t[o]=e[o])}else k(t,e,n)}function N(t){return!!t&&("string"!=typeof t&&"number"==typeof t.length)}function E(t,e,n){if(t&&e)if(t.forEach&&t.forEach===y)t.forEach(e,n);else if(t.length===+t.length)for(var i=0,r=t.length;i<r;i++)e.call(n,t[i],i,t);else for(var o in t)t.hasOwnProperty(o)&&e.call(n,t[o],o,t)}function z(t,e,n){if(!t)return[];if(!e)return at(t);if(t.map&&t.map===x)return t.map(e,n);for(var i=[],r=0,o=t.length;r<o;r++)i.push(e.call(n,t[r],r,t));return i}function V(t,e,n,i){if(t&&e){for(var r=0,o=t.length;r<o;r++)n=e.call(i,n,t[r],r,t);return n}}function B(t,e,n){if(!t)return[];if(!e)return at(t);if(t.filter&&t.filter===v)return t.filter(e,n);for(var i=[],r=0,o=t.length;r<o;r++)e.call(n,t[r],r,t)&&i.push(t[r]);return i}function F(t,e,n){if(t&&e)for(var i=0,r=t.length;i<r;i++)if(e.call(n,t[i],i,t))return t[i]}function G(t){if(!t)return[];if(Object.keys)return Object.keys(t);var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e}var W=b&&U(b.bind)?b.call.bind(b.bind):function(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return function(){return t.apply(e,n.concat(m.call(arguments)))}};function H(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return function(){return t.apply(this,e.concat(m.call(arguments)))}}function Y(t){return Array.isArray?Array.isArray(t):"[object Array]"===f.call(t)}function U(t){return"function"==typeof t}function X(t){return"string"==typeof t}function Z(t){return"[object String]"===f.call(t)}function j(t){return"number"==typeof t}function q(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function K(t){return!!p[f.call(t)]}function $(t){return!!d[f.call(t)]}function J(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}function Q(t){return null!=t.colorStops}function tt(t){return null!=t.image}function et(t){return"[object RegExp]"===f.call(t)}function nt(t){return t!=t}function it(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=0,i=t.length;n<i;n++)if(null!=t[n])return t[n]}function rt(t,e){return null!=t?t:e}function ot(t,e,n){return null!=t?t:null!=e?e:n}function at(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return m.apply(t,e)}function st(t){if("number"==typeof t)return[t,t,t,t];var e=t.length;return 2===e?[t[0],t[1],t[0],t[1]]:3===e?[t[0],t[1],t[2],t[1]]:t}function lt(t,e){if(!t)throw new Error(e)}function ut(t){return null==t?null:"function"==typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var ht="__ec_primitive__";function ct(t){t[ht]=!0}function pt(t){return t[ht]}var dt=function(){function t(e){this.data={};var n=Y(e);this.data={};var i=this;function r(t,e){n?i.set(t,e):i.set(e,t)}e instanceof t?e.each(r):e&&E(e,r)}return t.prototype.get=function(t){return this.data.hasOwnProperty(t)?this.data[t]:null},t.prototype.set=function(t,e){return this.data[t]=e},t.prototype.each=function(t,e){for(var n in this.data)this.data.hasOwnProperty(n)&&t.call(e,this.data[n],n)},t.prototype.keys=function(){return G(this.data)},t.prototype.removeKey=function(t){delete this.data[t]},t}();function ft(t){return new dt(t)}function gt(t,e){for(var n=new t.constructor(t.length+e.length),i=0;i<t.length;i++)n[i]=t[i];var r=t.length;for(i=0;i<e.length;i++)n[i+r]=e[i];return n}function yt(t,e){var n;if(Object.create)n=Object.create(t);else{var i=function(){};i.prototype=t,n=new i}return e&&A(n,e),n}function vt(t){var e=t.style;e.webkitUserSelect="none",e.userSelect="none",e.webkitTapHighlightColor="rgba(0,0,0,0)",e["-webkit-touch-callout"]="none"}function mt(t,e){return t.hasOwnProperty(e)}function xt(){}var _t=180/Math.PI,bt=Object.freeze({__proto__:null,guid:M,logError:I,clone:T,merge:C,mergeAll:D,extend:A,defaults:k,createCanvas:L,indexOf:P,inherits:O,mixin:R,isArrayLike:N,each:E,map:z,reduce:V,filter:B,find:F,keys:G,bind:W,curry:H,isArray:Y,isFunction:U,isString:X,isStringSafe:Z,isNumber:j,isObject:q,isBuiltInObject:K,isTypedArray:$,isDom:J,isGradientObject:Q,isImagePatternObject:tt,isRegExp:et,eqNaN:nt,retrieve:it,retrieve2:rt,retrieve3:ot,slice:at,normalizeCssArray:st,assert:lt,trim:ut,setAsPrimitive:ct,isPrimitive:pt,HashMap:dt,createHashMap:ft,concatArray:gt,createObject:yt,disableUserSelect:vt,hasOwn:mt,noop:xt,RADIAN_TO_DEGREE:_t});function wt(t,e){return null==t&&(t=0),null==e&&(e=0),[t,e]}function St(t,e){return t[0]=e[0],t[1]=e[1],t}function Mt(t){return[t[0],t[1]]}function It(t,e,n){return t[0]=e,t[1]=n,t}function Tt(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t}function Ct(t,e,n,i){return t[0]=e[0]+n[0]*i,t[1]=e[1]+n[1]*i,t}function Dt(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function At(t){return Math.sqrt(Lt(t))}var kt=At;function Lt(t){return t[0]*t[0]+t[1]*t[1]}var Pt=Lt;function Ot(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t}function Rt(t,e){var n=At(e);return 0===n?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t[1]=e[1]/n),t}function Nt(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var Et=Nt;function zt(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var Vt=zt;function Bt(t,e,n,i){return t[0]=e[0]+i*(n[0]-e[0]),t[1]=e[1]+i*(n[1]-e[1]),t}function Ft(t,e,n){var i=e[0],r=e[1];return t[0]=n[0]*i+n[2]*r+n[4],t[1]=n[1]*i+n[3]*r+n[5],t}function Gt(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t}function Wt(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}var Ht=Object.freeze({__proto__:null,create:wt,copy:St,clone:Mt,set:It,add:Tt,scaleAndAdd:Ct,sub:Dt,len:At,length:kt,lenSquare:Lt,lengthSquare:Pt,mul:function(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t},div:function(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t},dot:function(t,e){return t[0]*e[0]+t[1]*e[1]},scale:Ot,normalize:Rt,distance:Nt,dist:Et,distanceSquare:zt,distSquare:Vt,negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t},lerp:Bt,applyTransform:Ft,min:Gt,max:Wt}),Yt=function(t,e){this.target=t,this.topTarget=e&&e.topTarget},Ut=function(){function t(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return t.prototype._dragStart=function(t){for(var e=t.target;e&&!e.draggable;)e=e.parent||e.__hostTarget;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new Yt(e,t),"dragstart",t.event))},t.prototype._drag=function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,i=t.offsetY,r=n-this._x,o=i-this._y;this._x=n,this._y=i,e.drift(r,o,t),this.handler.dispatchToElement(new Yt(e,t),"drag",t.event);var a=this.handler.findHover(n,i,e).target,s=this._dropTarget;this._dropTarget=a,e!==a&&(s&&a!==s&&this.handler.dispatchToElement(new Yt(s,t),"dragleave",t.event),a&&a!==s&&this.handler.dispatchToElement(new Yt(a,t),"dragenter",t.event))}},t.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new Yt(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new Yt(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},t}(),Xt=function(){function t(t){t&&(this._$eventProcessor=t)}return t.prototype.on=function(t,e,n,i){this._$handlers||(this._$handlers={});var r=this._$handlers;if("function"==typeof e&&(i=n,n=e,e=null),!n||!t)return this;var o=this._$eventProcessor;null!=e&&o&&o.normalizeQuery&&(e=o.normalizeQuery(e)),r[t]||(r[t]=[]);for(var a=0;a<r[t].length;a++)if(r[t][a].h===n)return this;var s={h:n,query:e,ctx:i||this,callAtLast:n.zrEventfulCallAtLast},l=r[t].length-1,u=r[t][l];return u&&u.callAtLast?r[t].splice(l,0,s):r[t].push(s),this},t.prototype.isSilent=function(t){var e=this._$handlers;return!e||!e[t]||!e[t].length},t.prototype.off=function(t,e){var n=this._$handlers;if(!n)return this;if(!t)return this._$handlers={},this;if(e){if(n[t]){for(var i=[],r=0,o=n[t].length;r<o;r++)n[t][r].h!==e&&i.push(n[t][r]);n[t]=i}n[t]&&0===n[t].length&&delete n[t]}else delete n[t];return this},t.prototype.trigger=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],r=this._$eventProcessor;if(i)for(var o=e.length,a=i.length,s=0;s<a;s++){var l=i[s];if(!r||!r.filter||null==l.query||r.filter(t,l.query))switch(o){case 0:l.h.call(l.ctx);break;case 1:l.h.call(l.ctx,e[0]);break;case 2:l.h.call(l.ctx,e[0],e[1]);break;default:l.h.apply(l.ctx,e)}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t.prototype.triggerWithContext=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],r=this._$eventProcessor;if(i)for(var o=e.length,a=e[o-1],s=i.length,l=0;l<s;l++){var u=i[l];if(!r||!r.filter||null==u.query||r.filter(t,u.query))switch(o){case 0:u.h.call(a);break;case 1:u.h.call(a,e[0]);break;case 2:u.h.call(a,e[0],e[1]);break;default:u.h.apply(a,e.slice(1,o-1))}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t}(),Zt=Math.log(2);function jt(t,e,n,i,r,o){var a=i+"-"+r,s=t.length;if(o.hasOwnProperty(a))return o[a];if(1===e){var l=Math.round(Math.log((1<<s)-1&~r)/Zt);return t[n][l]}for(var u=i|1<<n,h=n+1;i&1<<h;)h++;for(var c=0,p=0,d=0;p<s;p++){var f=1<<p;f&r||(c+=(d%2?-1:1)*t[n][p]*jt(t,e-1,h,u,r|f,o),d++)}return o[a]=c,c}function qt(t,e){var n=[[t[0],t[1],1,0,0,0,-e[0]*t[0],-e[0]*t[1]],[0,0,0,t[0],t[1],1,-e[1]*t[0],-e[1]*t[1]],[t[2],t[3],1,0,0,0,-e[2]*t[2],-e[2]*t[3]],[0,0,0,t[2],t[3],1,-e[3]*t[2],-e[3]*t[3]],[t[4],t[5],1,0,0,0,-e[4]*t[4],-e[4]*t[5]],[0,0,0,t[4],t[5],1,-e[5]*t[4],-e[5]*t[5]],[t[6],t[7],1,0,0,0,-e[6]*t[6],-e[6]*t[7]],[0,0,0,t[6],t[7],1,-e[7]*t[6],-e[7]*t[7]]],i={},r=jt(n,8,0,0,0,i);if(0!==r){for(var o=[],a=0;a<8;a++)for(var s=0;s<8;s++)null==o[s]&&(o[s]=0),o[s]+=((a+s)%2?-1:1)*jt(n,7,0===a?1:0,1<<a,1<<s,i)/r*e[a];return function(t,e,n){var i=e*o[6]+n*o[7]+1;t[0]=(e*o[0]+n*o[1]+o[2])/i,t[1]=(e*o[3]+n*o[4]+o[5])/i}}}var Kt=[];function $t(t,e,n,i,o){if(e.getBoundingClientRect&&r.domSupported&&!Jt(e)){var a=e.___zrEVENTSAVED||(e.___zrEVENTSAVED={}),s=function(t,e,n){for(var i=n?"invTrans":"trans",r=e[i],o=e.srcCoords,a=[],s=[],l=!0,u=0;u<4;u++){var h=t[u].getBoundingClientRect(),c=2*u,p=h.left,d=h.top;a.push(p,d),l=l&&o&&p===o[c]&&d===o[c+1],s.push(t[u].offsetLeft,t[u].offsetTop)}return l&&r?r:(e.srcCoords=a,e[i]=n?qt(s,a):qt(a,s))}(function(t,e){var n=e.markers;if(n)return n;n=e.markers=[];for(var i=["left","right"],r=["top","bottom"],o=0;o<4;o++){var a=document.createElement("div"),s=o%2,l=(o>>1)%2;a.style.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[s]+":0",r[l]+":0",i[1-s]+":auto",r[1-l]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return n}(e,a),a,o);if(s)return s(t,n,i),!0}return!1}function Jt(t){return"CANVAS"===t.nodeName.toUpperCase()}var Qt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,te=[],ee=r.browser.firefox&&+r.browser.version.split(".")[0]<39;function ne(t,e,n,i){return n=n||{},i?ie(t,e,n):ee&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):ie(t,e,n),n}function ie(t,e,n){if(r.domSupported&&t.getBoundingClientRect){var i=e.clientX,o=e.clientY;if(Jt(t)){var a=t.getBoundingClientRect();return n.zrX=i-a.left,void(n.zrY=o-a.top)}if($t(te,t,i,o))return n.zrX=te[0],void(n.zrY=te[1])}n.zrX=n.zrY=0}function re(t){return t||window.event}function oe(t,e,n){if(null!=(e=re(e)).zrX)return e;var i=e.type;if(i&&i.indexOf("touch")>=0){var r="touchend"!==i?e.targetTouches[0]:e.changedTouches[0];r&&ne(t,r,e,n)}else{ne(t,e,e,n);var o=function(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,i=t.deltaY;if(null==n||null==i)return e;return 3*(0!==i?Math.abs(i):Math.abs(n))*(i>0?-1:i<0?1:n>0?-1:1)}(e);e.zrDelta=o?o/120:-(e.detail||0)/3}var a=e.button;return null==e.which&&void 0!==a&&Qt.test(e.type)&&(e.which=1&a?1:2&a?3:4&a?2:0),e}function ae(t,e,n,i){t.addEventListener(e,n,i)}var se=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function le(t){return 2===t.which||3===t.which}var ue=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,n){var i=t.touches;if(i){for(var r={points:[],touches:[],target:e,event:t},o=0,a=i.length;o<a;o++){var s=i[o],l=ne(n,s,{});r.points.push([l.zrX,l.zrY]),r.touches.push(s)}this._track.push(r)}},t.prototype._recognize=function(t){for(var e in ce)if(ce.hasOwnProperty(e)){var n=ce[e](this._track,t);if(n)return n}},t}();function he(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}var ce={pinch:function(t,e){var n=t.length;if(n){var i,r=(t[n-1]||{}).points,o=(t[n-2]||{}).points||r;if(o&&o.length>1&&r&&r.length>1){var a=he(r)/he(o);!isFinite(a)&&(a=1),e.pinchScale=a;var s=[((i=r)[0][0]+i[1][0])/2,(i[0][1]+i[1][1])/2];return e.pinchX=s[0],e.pinchY=s[1],{type:"pinch",target:t[0].target,event:e}}}}},pe="silent";function de(){se(this.event)}var fe=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return n(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(Xt),ge=function(t,e){this.x=t,this.y=e},ye=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],ve=function(t){function e(e,n,i,r){var o=t.call(this)||this;return o._hovered=new ge(0,0),o.storage=e,o.painter=n,o.painterRoot=r,i=i||new fe,o.proxy=null,o.setHandlerProxy(i),o._draggingMgr=new Ut(o),o}return n(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(E(ye,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var e=t.zrX,n=t.zrY,i=xe(this,e,n),r=this._hovered,o=r.target;o&&!o.__zr&&(o=(r=this.findHover(r.x,r.y)).target);var a=this._hovered=i?new ge(e,n):this.findHover(e,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(r,"mouseout",t),this.dispatchToElement(a,"mousemove",t),s&&s!==o&&this.dispatchToElement(a,"mouseover",t)},e.prototype.mouseout=function(t){var e=t.zrEventControl;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new ge(0,0)},e.prototype.dispatch=function(t,e){var n=this[t];n&&n.call(this,e)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},e.prototype.dispatchToElement=function(t,e,n){var i=(t=t||{}).target;if(!i||!i.silent){for(var r="on"+e,o=function(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:de}}(e,t,n);i&&(i[r]&&(o.cancelBubble=!!i[r].call(i,o)),i.trigger(e,o),i=i.__hostTarget?i.__hostTarget:i.parent,!o.cancelBubble););o.cancelBubble||(this.trigger(e,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(t){"function"==typeof t[r]&&t[r].call(t,o),t.trigger&&t.trigger(e,o)})))}},e.prototype.findHover=function(t,e,n){for(var i=this.storage.getDisplayList(),r=new ge(t,e),o=i.length-1;o>=0;o--){var a=void 0;if(i[o]!==n&&!i[o].ignore&&(a=me(i[o],t,e))&&(!r.topTarget&&(r.topTarget=i[o]),a!==pe)){r.target=i[o];break}}return r},e.prototype.processGesture=function(t,e){this._gestureMgr||(this._gestureMgr=new ue);var n=this._gestureMgr;"start"===e&&n.clear();var i=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&n.clear(),i){var r=i.type;t.gestureEvent=r;var o=new ge;o.target=i.target,this.dispatchToElement(o,r,i.event)}},e}(Xt);function me(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){for(var i=t,r=void 0,o=!1;i;){if(i.ignoreClip&&(o=!0),!o){var a=i.getClipPath();if(a&&!a.contain(e,n))return!1;i.silent&&(r=!0)}var s=i.__hostTarget;i=s||i.parent}return!r||pe}return!1}function xe(t,e,n){var i=t.painter;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}E(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){ve.prototype[t]=function(e){var n,i,r=e.zrX,o=e.zrY,a=xe(this,r,o);if("mouseup"===t&&a||(i=(n=this.findHover(r,o)).target),"mousedown"===t)this._downEl=i,this._downPoint=[e.zrX,e.zrY],this._upEl=i;else if("mouseup"===t)this._upEl=i;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||Et(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}}));function _e(t,e,n,i){var r=e+1;if(r===n)return 1;if(i(t[r++],t[e])<0){for(;r<n&&i(t[r],t[r-1])<0;)r++;!function(t,e,n){n--;for(;e<n;){var i=t[e];t[e++]=t[n],t[n--]=i}}(t,e,r)}else for(;r<n&&i(t[r],t[r-1])>=0;)r++;return r-e}function be(t,e,n,i,r){for(i===e&&i++;i<n;i++){for(var o,a=t[i],s=e,l=i;s<l;)r(a,t[o=s+l>>>1])<0?l=o:s=o+1;var u=i-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=a}}function we(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])>0){for(s=i-r;l<s&&o(t,e[n+r+l])>0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}else{for(s=r+1;l<s&&o(t,e[n+r-l])<=0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s);var u=a;a=r-l,l=r-u}for(a++;a<l;){var h=a+(l-a>>>1);o(t,e[n+h])>0?a=h+1:l=h}return l}function Se(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])<0){for(s=r+1;l<s&&o(t,e[n+r-l])<0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s);var u=a;a=r-l,l=r-u}else{for(s=i-r;l<s&&o(t,e[n+r+l])>=0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}for(a++;a<l;){var h=a+(l-a>>>1);o(t,e[n+h])<0?l=h:a=h+1}return l}function Me(t,e){var n,i,r=7,o=0;t.length;var a=[];function s(s){var l=n[s],u=i[s],h=n[s+1],c=i[s+1];i[s]=u+c,s===o-3&&(n[s+1]=n[s+2],i[s+1]=i[s+2]),o--;var p=Se(t[h],t,l,u,0,e);l+=p,0!==(u-=p)&&0!==(c=we(t[l+u-1],t,h,c,c-1,e))&&(u<=c?function(n,i,o,s){var l=0;for(l=0;l<i;l++)a[l]=t[n+l];var u=0,h=o,c=n;if(t[c++]=t[h++],0==--s){for(l=0;l<i;l++)t[c+l]=a[u+l];return}if(1===i){for(l=0;l<s;l++)t[c+l]=t[h+l];return void(t[c+s]=a[u])}var p,d,f,g=r;for(;;){p=0,d=0,f=!1;do{if(e(t[h],a[u])<0){if(t[c++]=t[h++],d++,p=0,0==--s){f=!0;break}}else if(t[c++]=a[u++],p++,d=0,1==--i){f=!0;break}}while((p|d)<g);if(f)break;do{if(0!==(p=Se(t[h],a,u,i,0,e))){for(l=0;l<p;l++)t[c+l]=a[u+l];if(c+=p,u+=p,(i-=p)<=1){f=!0;break}}if(t[c++]=t[h++],0==--s){f=!0;break}if(0!==(d=we(a[u],t,h,s,0,e))){for(l=0;l<d;l++)t[c+l]=t[h+l];if(c+=d,h+=d,0===(s-=d)){f=!0;break}}if(t[c++]=a[u++],1==--i){f=!0;break}g--}while(p>=7||d>=7);if(f)break;g<0&&(g=0),g+=2}if((r=g)<1&&(r=1),1===i){for(l=0;l<s;l++)t[c+l]=t[h+l];t[c+s]=a[u]}else{if(0===i)throw new Error;for(l=0;l<i;l++)t[c+l]=a[u+l]}}(l,u,h,c):function(n,i,o,s){var l=0;for(l=0;l<s;l++)a[l]=t[o+l];var u=n+i-1,h=s-1,c=o+s-1,p=0,d=0;if(t[c--]=t[u--],0==--i){for(p=c-(s-1),l=0;l<s;l++)t[p+l]=a[l];return}if(1===s){for(d=(c-=i)+1,p=(u-=i)+1,l=i-1;l>=0;l--)t[d+l]=t[p+l];return void(t[c]=a[h])}var f=r;for(;;){var g=0,y=0,v=!1;do{if(e(a[h],t[u])<0){if(t[c--]=t[u--],g++,y=0,0==--i){v=!0;break}}else if(t[c--]=a[h--],y++,g=0,1==--s){v=!0;break}}while((g|y)<f);if(v)break;do{if(0!==(g=i-Se(a[h],t,n,i,i-1,e))){for(i-=g,d=(c-=g)+1,p=(u-=g)+1,l=g-1;l>=0;l--)t[d+l]=t[p+l];if(0===i){v=!0;break}}if(t[c--]=a[h--],1==--s){v=!0;break}if(0!==(y=s-we(t[u],a,0,s,s-1,e))){for(s-=y,d=(c-=y)+1,p=(h-=y)+1,l=0;l<y;l++)t[d+l]=a[p+l];if(s<=1){v=!0;break}}if(t[c--]=t[u--],0==--i){v=!0;break}f--}while(g>=7||y>=7);if(v)break;f<0&&(f=0),f+=2}(r=f)<1&&(r=1);if(1===s){for(d=(c-=i)+1,p=(u-=i)+1,l=i-1;l>=0;l--)t[d+l]=t[p+l];t[c]=a[h]}else{if(0===s)throw new Error;for(p=c-(s-1),l=0;l<s;l++)t[p+l]=a[l]}}(l,u,h,c))}return n=[],i=[],{mergeRuns:function(){for(;o>1;){var t=o-2;if(t>=1&&i[t-1]<=i[t]+i[t+1]||t>=2&&i[t-2]<=i[t]+i[t-1])i[t-1]<i[t+1]&&t--;else if(i[t]>i[t+1])break;s(t)}},forceMergeRuns:function(){for(;o>1;){var t=o-2;t>0&&i[t-1]<i[t+1]&&t--,s(t)}},pushRun:function(t,e){n[o]=t,i[o]=e,o+=1}}}function Ie(t,e,n,i){n||(n=0),i||(i=t.length);var r=i-n;if(!(r<2)){var o=0;if(r<32)be(t,n,i,n+(o=_e(t,n,i,e)),e);else{var a=Me(t,e),s=function(t){for(var e=0;t>=32;)e|=1&t,t>>=1;return t+e}(r);do{if((o=_e(t,n,i,e))<s){var l=r;l>s&&(l=s),be(t,n,n+l,n+o,e),o=l}a.pushRun(n,o),a.mergeRuns(),r-=o,n+=o}while(0!==r);a.forceMergeRuns()}}}var Te=!1;function Ce(){Te||(Te=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function De(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var Ae=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=De}return t.prototype.traverse=function(t,e){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(t,e)},t.prototype.getDisplayList=function(t,e){e=e||!1;var n=this._displayList;return!t&&n.length||this.updateDisplayList(e),n},t.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var e=this._roots,n=this._displayList,i=0,r=e.length;i<r;i++)this._updateAndAddDisplayable(e[i],null,t);n.length=this._displayListLen,Ie(n,De)},t.prototype._updateAndAddDisplayable=function(t,e,n){if(!t.ignore||n){t.beforeUpdate(),t.update(),t.afterUpdate();var i=t.getClipPath();if(t.ignoreClip)e=null;else if(i){e=e?e.slice():[];for(var r=i,o=t;r;)r.parent=o,r.updateTransform(),e.push(r),o=r,r=r.getClipPath()}if(t.childrenRef){for(var a=t.childrenRef(),s=0;s<a.length;s++){var l=a[s];t.__dirty&&(l.__dirty|=1),this._updateAndAddDisplayable(l,e,n)}t.__dirty=0}else{var u=t;e&&e.length?u.__clipPaths=e:u.__clipPaths&&u.__clipPaths.length>0&&(u.__clipPaths=[]),isNaN(u.z)&&(Ce(),u.z=0),isNaN(u.z2)&&(Ce(),u.z2=0),isNaN(u.zlevel)&&(Ce(),u.zlevel=0),this._displayList[this._displayListLen++]=u}var h=t.getDecalElement&&t.getDecalElement();h&&this._updateAndAddDisplayable(h,e,n);var c=t.getTextGuideLine();c&&this._updateAndAddDisplayable(c,e,n);var p=t.getTextContent();p&&this._updateAndAddDisplayable(p,e,n)}},t.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},t.prototype.delRoot=function(t){if(t instanceof Array)for(var e=0,n=t.length;e<n;e++)this.delRoot(t[e]);else{var i=P(this._roots,t);i>=0&&this._roots.splice(i,1)}},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}(),ke=r.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)},Le={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=i*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-Le.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*Le.bounceIn(2*t):.5*Le.bounceOut(2*t-1)+.5}},Pe=Math.pow,Oe=Math.sqrt,Re=1e-8,Ne=1e-4,Ee=Oe(3),ze=1/3,Ve=wt(),Be=wt(),Fe=wt();function Ge(t){return t>-1e-8&&t<Re}function We(t){return t>Re||t<-1e-8}function He(t,e,n,i,r){var o=1-r;return o*o*(o*t+3*r*e)+r*r*(r*i+3*o*n)}function Ye(t,e,n,i,r){var o=1-r;return 3*(((e-t)*o+2*(n-e)*r)*o+(i-n)*r*r)}function Ue(t,e,n,i,r,o){var a=i+3*(e-n)-t,s=3*(n-2*e+t),l=3*(e-t),u=t-r,h=s*s-3*a*l,c=s*l-9*a*u,p=l*l-3*s*u,d=0;if(Ge(h)&&Ge(c)){if(Ge(s))o[0]=0;else(M=-l/s)>=0&&M<=1&&(o[d++]=M)}else{var f=c*c-4*h*p;if(Ge(f)){var g=c/h,y=-g/2;(M=-s/a+g)>=0&&M<=1&&(o[d++]=M),y>=0&&y<=1&&(o[d++]=y)}else if(f>0){var v=Oe(f),m=h*s+1.5*a*(-c+v),x=h*s+1.5*a*(-c-v);(M=(-s-((m=m<0?-Pe(-m,ze):Pe(m,ze))+(x=x<0?-Pe(-x,ze):Pe(x,ze))))/(3*a))>=0&&M<=1&&(o[d++]=M)}else{var _=(2*h*s-3*a*c)/(2*Oe(h*h*h)),b=Math.acos(_)/3,w=Oe(h),S=Math.cos(b),M=(-s-2*w*S)/(3*a),I=(y=(-s+w*(S+Ee*Math.sin(b)))/(3*a),(-s+w*(S-Ee*Math.sin(b)))/(3*a));M>=0&&M<=1&&(o[d++]=M),y>=0&&y<=1&&(o[d++]=y),I>=0&&I<=1&&(o[d++]=I)}}return d}function Xe(t,e,n,i,r){var o=6*n-12*e+6*t,a=9*e+3*i-3*t-9*n,s=3*e-3*t,l=0;if(Ge(a)){if(We(o))(h=-s/o)>=0&&h<=1&&(r[l++]=h)}else{var u=o*o-4*a*s;if(Ge(u))r[0]=-o/(2*a);else if(u>0){var h,c=Oe(u),p=(-o-c)/(2*a);(h=(-o+c)/(2*a))>=0&&h<=1&&(r[l++]=h),p>=0&&p<=1&&(r[l++]=p)}}return l}function Ze(t,e,n,i,r,o){var a=(e-t)*r+t,s=(n-e)*r+e,l=(i-n)*r+n,u=(s-a)*r+a,h=(l-s)*r+s,c=(h-u)*r+u;o[0]=t,o[1]=a,o[2]=u,o[3]=c,o[4]=c,o[5]=h,o[6]=l,o[7]=i}function je(t,e,n,i,r,o,a,s,l,u,h){var c,p,d,f,g,y=.005,v=1/0;Ve[0]=l,Ve[1]=u;for(var m=0;m<1;m+=.05)Be[0]=He(t,n,r,a,m),Be[1]=He(e,i,o,s,m),(f=Vt(Ve,Be))<v&&(c=m,v=f);v=1/0;for(var x=0;x<32&&!(y<Ne);x++)p=c-y,d=c+y,Be[0]=He(t,n,r,a,p),Be[1]=He(e,i,o,s,p),f=Vt(Be,Ve),p>=0&&f<v?(c=p,v=f):(Fe[0]=He(t,n,r,a,d),Fe[1]=He(e,i,o,s,d),g=Vt(Fe,Ve),d<=1&&g<v?(c=d,v=g):y*=.5);return h&&(h[0]=He(t,n,r,a,c),h[1]=He(e,i,o,s,c)),Oe(v)}function qe(t,e,n,i,r,o,a,s,l){for(var u=t,h=e,c=0,p=1/l,d=1;d<=l;d++){var f=d*p,g=He(t,n,r,a,f),y=He(e,i,o,s,f),v=g-u,m=y-h;c+=Math.sqrt(v*v+m*m),u=g,h=y}return c}function Ke(t,e,n,i){var r=1-i;return r*(r*t+2*i*e)+i*i*n}function $e(t,e,n,i){return 2*((1-i)*(e-t)+i*(n-e))}function Je(t,e,n){var i=t+n-2*e;return 0===i?.5:(t-e)/i}function Qe(t,e,n,i,r){var o=(e-t)*i+t,a=(n-e)*i+e,s=(a-o)*i+o;r[0]=t,r[1]=o,r[2]=s,r[3]=s,r[4]=a,r[5]=n}function tn(t,e,n,i,r,o,a,s,l){var u,h=.005,c=1/0;Ve[0]=a,Ve[1]=s;for(var p=0;p<1;p+=.05){Be[0]=Ke(t,n,r,p),Be[1]=Ke(e,i,o,p),(y=Vt(Ve,Be))<c&&(u=p,c=y)}c=1/0;for(var d=0;d<32&&!(h<Ne);d++){var f=u-h,g=u+h;Be[0]=Ke(t,n,r,f),Be[1]=Ke(e,i,o,f);var y=Vt(Be,Ve);if(f>=0&&y<c)u=f,c=y;else{Fe[0]=Ke(t,n,r,g),Fe[1]=Ke(e,i,o,g);var v=Vt(Fe,Ve);g<=1&&v<c?(u=g,c=v):h*=.5}}return l&&(l[0]=Ke(t,n,r,u),l[1]=Ke(e,i,o,u)),Oe(c)}function en(t,e,n,i,r,o,a){for(var s=t,l=e,u=0,h=1/a,c=1;c<=a;c++){var p=c*h,d=Ke(t,n,r,p),f=Ke(e,i,o,p),g=d-s,y=f-l;u+=Math.sqrt(g*g+y*y),s=d,l=f}return u}var nn=/cubic-bezier\(([0-9,\.e ]+)\)/;function rn(t){var e=t&&nn.exec(t);if(e){var n=e[1].split(","),i=+ut(n[0]),r=+ut(n[1]),o=+ut(n[2]),a=+ut(n[3]);if(isNaN(i+r+o+a))return;var s=[];return function(t){return t<=0?0:t>=1?1:Ue(0,i,o,1,t,s)&&He(0,r,a,1,s[0])}}}var on=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||xt,this.ondestroy=t.ondestroy||xt,this.onrestart=t.onrestart||xt,t.easing&&this.setEasing(t.easing)}return t.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),!this._paused){var n=this._life,i=t-this._startTime-this._pausedTime,r=i/n;r<0&&(r=0),r=Math.min(r,1);var o=this.easingFunc,a=o?o(r):r;if(this.onframe(a),1===r){if(!this.loop)return!0;var s=i%n;this._startTime=t-s,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=e},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=U(t)?t:Le[t]||rn(t)},t}(),an=function(t){this.value=t},sn=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new an(t);return this.insertEntry(e),e},t.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},t.prototype.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}(),ln=function(){function t(t){this._list=new sn,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var n=this._list,i=this._map,r=null;if(null==i[t]){var o=n.len(),a=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var s=n.head;n.remove(s),delete i[s.key],r=s.value,this._lastRemovedEntry=s}a?a.value=e:a=new an(e),a.key=t,n.insertEntry(a),i[t]=a}return r},t.prototype.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}(),un={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function hn(t){return(t=Math.round(t))<0?0:t>255?255:t}function cn(t){return t<0?0:t>1?1:t}function pn(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?hn(parseFloat(e)/100*255):hn(parseInt(e,10))}function dn(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?cn(parseFloat(e)/100):cn(parseFloat(e))}function fn(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function gn(t,e,n){return t+(e-t)*n}function yn(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function vn(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var mn=new ln(20),xn=null;function _n(t,e){xn&&vn(xn,e),xn=mn.put(t,xn||e.slice())}function bn(t,e){if(t){e=e||[];var n=mn.get(t);if(n)return vn(e,n);var i=(t+="").replace(/ /g,"").toLowerCase();if(i in un)return vn(e,un[i]),_n(t,e),e;var r,o=i.length;if("#"===i.charAt(0))return 4===o||5===o?(r=parseInt(i.slice(1,4),16))>=0&&r<=4095?(yn(e,(3840&r)>>4|(3840&r)>>8,240&r|(240&r)>>4,15&r|(15&r)<<4,5===o?parseInt(i.slice(4),16)/15:1),_n(t,e),e):void yn(e,0,0,0,1):7===o||9===o?(r=parseInt(i.slice(1,7),16))>=0&&r<=16777215?(yn(e,(16711680&r)>>16,(65280&r)>>8,255&r,9===o?parseInt(i.slice(7),16)/255:1),_n(t,e),e):void yn(e,0,0,0,1):void 0;var a=i.indexOf("("),s=i.indexOf(")");if(-1!==a&&s+1===o){var l=i.substr(0,a),u=i.substr(a+1,s-(a+1)).split(","),h=1;switch(l){case"rgba":if(4!==u.length)return 3===u.length?yn(e,+u[0],+u[1],+u[2],1):yn(e,0,0,0,1);h=dn(u.pop());case"rgb":return 3!==u.length?void yn(e,0,0,0,1):(yn(e,pn(u[0]),pn(u[1]),pn(u[2]),h),_n(t,e),e);case"hsla":return 4!==u.length?void yn(e,0,0,0,1):(u[3]=dn(u[3]),wn(u,e),_n(t,e),e);case"hsl":return 3!==u.length?void yn(e,0,0,0,1):(wn(u,e),_n(t,e),e);default:return}}yn(e,0,0,0,1)}}function wn(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=dn(t[1]),r=dn(t[2]),o=r<=.5?r*(i+1):r+i-r*i,a=2*r-o;return yn(e=e||[],hn(255*fn(a,o,n+1/3)),hn(255*fn(a,o,n)),hn(255*fn(a,o,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function Sn(t,e){var n=bn(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,n[i]>255?n[i]=255:n[i]<0&&(n[i]=0);return kn(n,4===n.length?"rgba":"rgb")}}function Mn(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var i=t*(e.length-1),r=Math.floor(i),o=Math.ceil(i),a=e[r],s=e[o],l=i-r;return n[0]=hn(gn(a[0],s[0],l)),n[1]=hn(gn(a[1],s[1],l)),n[2]=hn(gn(a[2],s[2],l)),n[3]=cn(gn(a[3],s[3],l)),n}}var In=Mn;function Tn(t,e,n){if(e&&e.length&&t>=0&&t<=1){var i=t*(e.length-1),r=Math.floor(i),o=Math.ceil(i),a=bn(e[r]),s=bn(e[o]),l=i-r,u=kn([hn(gn(a[0],s[0],l)),hn(gn(a[1],s[1],l)),hn(gn(a[2],s[2],l)),cn(gn(a[3],s[3],l))],"rgba");return n?{color:u,leftIndex:r,rightIndex:o,value:i}:u}}var Cn=Tn;function Dn(t,e,n,i){var r=bn(t);if(t)return r=function(t){if(t){var e,n,i=t[0]/255,r=t[1]/255,o=t[2]/255,a=Math.min(i,r,o),s=Math.max(i,r,o),l=s-a,u=(s+a)/2;if(0===l)e=0,n=0;else{n=u<.5?l/(s+a):l/(2-s-a);var h=((s-i)/6+l/2)/l,c=((s-r)/6+l/2)/l,p=((s-o)/6+l/2)/l;i===s?e=p-c:r===s?e=1/3+h-p:o===s&&(e=2/3+c-h),e<0&&(e+=1),e>1&&(e-=1)}var d=[360*e,n,u];return null!=t[3]&&d.push(t[3]),d}}(r),null!=e&&(r[0]=function(t){return(t=Math.round(t))<0?0:t>360?360:t}(e)),null!=n&&(r[1]=dn(n)),null!=i&&(r[2]=dn(i)),kn(wn(r),"rgba")}function An(t,e){var n=bn(t);if(n&&null!=e)return n[3]=cn(e),kn(n,"rgba")}function kn(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}}function Ln(t,e){var n=bn(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}var Pn=Object.freeze({__proto__:null,parse:bn,lift:Sn,toHex:function(t){var e=bn(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)},fastLerp:Mn,fastMapToColor:In,lerp:Tn,mapToColor:Cn,modifyHSL:Dn,modifyAlpha:An,stringify:kn,lum:Ln,random:function(){return kn([Math.round(255*Math.random()),Math.round(255*Math.random()),Math.round(255*Math.random())],"rgb")}}),On=Math.round;function Rn(t){var e;if(t&&"transparent"!==t){if("string"==typeof t&&t.indexOf("rgba")>-1){var n=bn(t);n&&(t="rgb("+n[0]+","+n[1]+","+n[2]+")",e=n[3])}}else t="none";return{color:t,opacity:null==e?1:e}}var Nn=1e-4;function En(t){return t<Nn&&t>-1e-4}function zn(t){return On(1e3*t)/1e3}function Vn(t){return On(1e4*t)/1e4}var Bn={left:"start",right:"end",center:"middle",middle:"middle"};function Fn(t){return t&&!!t.image}function Gn(t){return"linear"===t.type}function Wn(t){return"radial"===t.type}function Hn(t){return"url(#"+t+")"}function Yn(t){var e=t.getGlobalScale(),n=Math.max(e[0],e[1]);return Math.max(Math.ceil(Math.log(n)/Math.log(10)),1)}function Un(t){var e=t.x||0,n=t.y||0,i=(t.rotation||0)*_t,r=rt(t.scaleX,1),o=rt(t.scaleY,1),a=t.skewX||0,s=t.skewY||0,l=[];return(e||n)&&l.push("translate("+e+"px,"+n+"px)"),i&&l.push("rotate("+i+")"),1===r&&1===o||l.push("scale("+r+","+o+")"),(a||s)&&l.push("skew("+On(a*_t)+"deg, "+On(s*_t)+"deg)"),l.join(" ")}var Xn=r.hasGlobalWindow&&U(window.btoa)?function(t){return window.btoa(unescape(t))}:"undefined"!=typeof Buffer?function(t){return Buffer.from(t).toString("base64")}:function(t){return null},Zn=Array.prototype.slice;function jn(t,e,n){return(e-t)*n+t}function qn(t,e,n,i){for(var r=e.length,o=0;o<r;o++)t[o]=jn(e[o],n[o],i);return t}function Kn(t,e,n,i){for(var r=e.length,o=0;o<r;o++)t[o]=e[o]+n[o]*i;return t}function $n(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a<r;a++){t[a]||(t[a]=[]);for(var s=0;s<o;s++)t[a][s]=e[a][s]+n[a][s]*i}return t}function Jn(t,e){for(var n=t.length,i=e.length,r=n>i?e:t,o=Math.min(n,i),a=r[o-1]||{color:[0,0,0,0],offset:0},s=o;s<Math.max(n,i);s++)r.push({offset:a.offset,color:a.color.slice()})}function Qn(t,e,n){var i=t,r=e;if(i.push&&r.push){var o=i.length,a=r.length;if(o!==a)if(o>a)i.length=a;else for(var s=o;s<a;s++)i.push(1===n?r[s]:Zn.call(r[s]));var l=i[0]&&i[0].length;for(s=0;s<i.length;s++)if(1===n)isNaN(i[s])&&(i[s]=r[s]);else for(var u=0;u<l;u++)isNaN(i[s][u])&&(i[s][u]=r[s][u])}}function ti(t){if(N(t)){var e=t.length;if(N(t[0])){for(var n=[],i=0;i<e;i++)n.push(Zn.call(t[i]));return n}return Zn.call(t)}return t}function ei(t){return t[0]=Math.floor(t[0])||0,t[1]=Math.floor(t[1])||0,t[2]=Math.floor(t[2])||0,t[3]=null==t[3]?1:t[3],"rgba("+t.join(",")+")"}function ni(t){return 4===t||5===t}function ii(t){return 1===t||2===t}var ri=[0,0,0,0],oi=function(){function t(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=t}return t.prototype.isFinished=function(){return this._finished},t.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},t.prototype.needsAnimate=function(){return this.keyframes.length>=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var i=this.keyframes,r=i.length,o=!1,a=6,s=e;if(N(e)){var l=function(t){return N(t&&t[0])?2:1}(e);a=l,(1===l&&!j(e[0])||2===l&&!j(e[0][0]))&&(o=!0)}else if(j(e)&&!nt(e))a=0;else if(X(e))if(isNaN(+e)){var u=bn(e);u&&(s=u,a=3)}else a=0;else if(Q(e)){var h=A({},s);h.colorStops=z(e.colorStops,(function(t){return{offset:t.offset,color:bn(t.color)}})),Gn(e)?a=4:Wn(e)&&(a=5),s=h}0===r?this.valType=a:a===this.valType&&6!==a||(o=!0),this.discrete=this.discrete||o;var c={time:t,value:s,rawValue:e,percent:0};return n&&(c.easing=n,c.easingFunc=U(n)?n:Le[n]||rn(n)),i.push(c),c},t.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort((function(t,e){return t.time-e.time}));for(var i=this.valType,r=n.length,o=n[r-1],a=this.discrete,s=ii(i),l=ni(i),u=0;u<r;u++){var h=n[u],c=h.value,p=o.value;h.percent=h.time/t,a||(s&&u!==r-1?Qn(c,p,i):l&&Jn(c.colorStops,p.colorStops))}if(!a&&5!==i&&e&&this.needsAnimate()&&e.needsAnimate()&&i===e.valType&&!e._finished){this._additiveTrack=e;var d=n[0].value;for(u=0;u<r;u++)0===i?n[u].additiveValue=n[u].value-d:3===i?n[u].additiveValue=Kn([],n[u].value,d,-1):ii(i)&&(n[u].additiveValue=1===i?Kn([],n[u].value,d,-1):$n([],n[u].value,d,-1))}},t.prototype.step=function(t,e){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var n,i,r,o=null!=this._additiveTrack,a=o?"additiveValue":"value",s=this.valType,l=this.keyframes,u=l.length,h=this.propName,c=3===s,p=this._lastFr,d=Math.min;if(1===u)i=r=l[0];else{if(e<0)n=0;else if(e<this._lastFrP){for(n=d(p+1,u-1);n>=0&&!(l[n].percent<=e);n--);n=d(n,u-2)}else{for(n=p;n<u&&!(l[n].percent>e);n++);n=d(n-1,u-2)}r=l[n+1],i=l[n]}if(i&&r){this._lastFr=n,this._lastFrP=e;var f=r.percent-i.percent,g=0===f?1:d((e-i.percent)/f,1);r.easingFunc&&(g=r.easingFunc(g));var y=o?this._additiveValue:c?ri:t[h];if(!ii(s)&&!c||y||(y=this._additiveValue=[]),this.discrete)t[h]=g<1?i.rawValue:r.rawValue;else if(ii(s))1===s?qn(y,i[a],r[a],g):function(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a<r;a++){t[a]||(t[a]=[]);for(var s=0;s<o;s++)t[a][s]=jn(e[a][s],n[a][s],i)}}(y,i[a],r[a],g);else if(ni(s)){var v=i[a],m=r[a],x=4===s;t[h]={type:x?"linear":"radial",x:jn(v.x,m.x,g),y:jn(v.y,m.y,g),colorStops:z(v.colorStops,(function(t,e){var n=m.colorStops[e];return{offset:jn(t.offset,n.offset,g),color:ei(qn([],t.color,n.color,g))}})),global:m.global},x?(t[h].x2=jn(v.x2,m.x2,g),t[h].y2=jn(v.y2,m.y2,g)):t[h].r=jn(v.r,m.r,g)}else if(c)qn(y,i[a],r[a],g),o||(t[h]=ei(y));else{var _=jn(i[a],r[a],g);o?this._additiveValue=_:t[h]=_}o&&this._addToTarget(t)}}},t.prototype._addToTarget=function(t){var e=this.valType,n=this.propName,i=this._additiveValue;0===e?t[n]=t[n]+i:3===e?(bn(t[n],ri),Kn(ri,ri,i,1),t[n]=ei(ri)):1===e?Kn(t[n],t[n],i,1):2===e&&$n(t[n],t[n],i,1)},t}(),ai=function(){function t(t,e,n,i){this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&i?I("Can' use additive animation on looped animation."):(this._additiveAnimators=i,this._allowDiscrete=n)}return t.prototype.getMaxTime=function(){return this._maxTime},t.prototype.getDelay=function(){return this._delay},t.prototype.getLoop=function(){return this._loop},t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(t){this._target=t},t.prototype.when=function(t,e,n){return this.whenWithKeys(t,e,G(e),n)},t.prototype.whenWithKeys=function(t,e,n,i){for(var r=this._tracks,o=0;o<n.length;o++){var a=n[o],s=r[a];if(!s){s=r[a]=new oi(a);var l=void 0,u=this._getAdditiveTrack(a);if(u){var h=u.keyframes,c=h[h.length-1];l=c&&c.value,3===u.valType&&l&&(l=ei(l))}else l=this._target[a];if(null==l)continue;t>0&&s.addKeyframe(0,ti(l),i),this._trackKeys.push(a)}s.addKeyframe(t,ti(e[a]),i)}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,n=0;n<e;n++)t[n].call(this)},t.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,e=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,e)for(var n=0;n<e.length;n++)e[n].call(this)},t.prototype._setTracksFinished=function(){for(var t=this._tracks,e=this._trackKeys,n=0;n<e.length;n++)t[e[n]].setFinished()},t.prototype._getAdditiveTrack=function(t){var e,n=this._additiveAnimators;if(n)for(var i=0;i<n.length;i++){var r=n[i].getTrack(t);r&&(e=r)}return e},t.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var e=this,n=[],i=this._maxTime||0,r=0;r<this._trackKeys.length;r++){var o=this._trackKeys[r],a=this._tracks[o],s=this._getAdditiveTrack(o),l=a.keyframes,u=l.length;if(a.prepare(i,s),a.needsAnimate())if(!this._allowDiscrete&&a.discrete){var h=l[u-1];h&&(e._target[a.propName]=h.rawValue),a.setFinished()}else n.push(a)}if(n.length||this._force){var c=new on({life:i,loop:this._loop,delay:this._delay||0,onframe:function(t){e._started=2;var i=e._additiveAnimators;if(i){for(var r=!1,o=0;o<i.length;o++)if(i[o]._clip){r=!0;break}r||(e._additiveAnimators=null)}for(o=0;o<n.length;o++)n[o].step(e._target,t);var a=e._onframeCbs;if(a)for(o=0;o<a.length;o++)a[o](e._target,t)},ondestroy:function(){e._doneCallback()}});this._clip=c,this.animation&&this.animation.addClip(c),t&&c.setEasing(t)}else this._doneCallback();return this}},t.prototype.stop=function(t){if(this._clip){var e=this._clip;t&&e.onframe(1),this._abortedCallback()}},t.prototype.delay=function(t){return this._delay=t,this},t.prototype.during=function(t){return t&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(t)),this},t.prototype.done=function(t){return t&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(t)),this},t.prototype.aborted=function(t){return t&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(t)),this},t.prototype.getClip=function(){return this._clip},t.prototype.getTrack=function(t){return this._tracks[t]},t.prototype.getTracks=function(){var t=this;return z(this._trackKeys,(function(e){return t._tracks[e]}))},t.prototype.stopTracks=function(t,e){if(!t.length||!this._clip)return!0;for(var n=this._tracks,i=this._trackKeys,r=0;r<t.length;r++){var o=n[t[r]];o&&!o.isFinished()&&(e?o.step(this._target,1):1===this._started&&o.step(this._target,0),o.setFinished())}var a=!0;for(r=0;r<i.length;r++)if(!n[i[r]].isFinished()){a=!1;break}return a&&this._abortedCallback(),a},t.prototype.saveTo=function(t,e,n){if(t){e=e||this._trackKeys;for(var i=0;i<e.length;i++){var r=e[i],o=this._tracks[r];if(o&&!o.isFinished()){var a=o.keyframes,s=a[n?0:a.length-1];s&&(t[r]=ti(s.rawValue))}}}},t.prototype.__changeFinalValue=function(t,e){e=e||G(t);for(var n=0;n<e.length;n++){var i=e[n],r=this._tracks[i];if(r){var o=r.keyframes;if(o.length>1){var a=o.pop();r.addKeyframe(a.time,t[i]),r.prepare(this._maxTime,r.getAdditiveTrack())}}}},t}();function si(){return(new Date).getTime()}var li,ui,hi=function(t){function e(e){var n=t.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,e=e||{},n.stage=e.stage||{},n}return n(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},e.prototype.removeClip=function(t){if(t.animation){var e=t.prev,n=t.next;e?e.next=n:this._head=n,n?n.prev=e:this._tail=e,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},e.prototype.update=function(t){for(var e=si()-this._pausedTime,n=e-this._time,i=this._head;i;){var r=i.next;i.step(e,n)?(i.ondestroy(),this.removeClip(i),i=r):i=r}this._time=e,t||(this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;this._running=!0,ke((function e(){t._running&&(ke(e),!t._paused&&t.update())}))},e.prototype.start=function(){this._running||(this._time=si(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=si(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=si()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var t=this._head;t;){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._head=this._tail=null},e.prototype.isFinished=function(){return null==this._head},e.prototype.animate=function(t,e){e=e||{},this.start();var n=new ai(t,e.loop);return this.addAnimator(n),n},e}(Xt),ci=r.domSupported,pi=(ui={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},{mouse:li=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],touch:["touchstart","touchend","touchmove"],pointer:z(li,(function(t){var e=t.replace("mouse","pointer");return ui.hasOwnProperty(e)?e:t}))}),di=["mousemove","mouseup"],fi=["pointermove","pointerup"],gi=!1;function yi(t){var e=t.pointerType;return"pen"===e||"touch"===e}function vi(t){t&&(t.zrByTouch=!0)}function mi(t,e){for(var n=e,i=!1;n&&9!==n.nodeType&&!(i=n.domBelongToZr||n!==e&&n===t.painterRoot);)n=n.parentNode;return i}var xi=function(t,e){this.stopPropagation=xt,this.stopImmediatePropagation=xt,this.preventDefault=xt,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY},_i={mousedown:function(t){t=oe(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=oe(this.dom,t);var e=this.__mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=oe(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){mi(this,(t=oe(this.dom,t)).toElement||t.relatedTarget)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){gi=!0,t=oe(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){gi||(t=oe(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){vi(t=oe(this.dom,t)),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),_i.mousemove.call(this,t),_i.mousedown.call(this,t)},touchmove:function(t){vi(t=oe(this.dom,t)),this.handler.processGesture(t,"change"),_i.mousemove.call(this,t)},touchend:function(t){vi(t=oe(this.dom,t)),this.handler.processGesture(t,"end"),_i.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<300&&_i.click.call(this,t)},pointerdown:function(t){_i.mousedown.call(this,t)},pointermove:function(t){yi(t)||_i.mousemove.call(this,t)},pointerup:function(t){_i.mouseup.call(this,t)},pointerout:function(t){yi(t)||_i.mouseout.call(this,t)}};E(["click","dblclick","contextmenu"],(function(t){_i[t]=function(e){e=oe(this.dom,e),this.trigger(t,e)}}));var bi={pointermove:function(t){yi(t)||bi.mousemove.call(this,t)},pointerup:function(t){bi.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function wi(t,e){var n=e.domHandlers;r.pointerEventsSupported?E(pi.pointer,(function(i){Mi(e,i,(function(e){n[i].call(t,e)}))})):(r.touchEventsSupported&&E(pi.touch,(function(i){Mi(e,i,(function(r){n[i].call(t,r),function(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout((function(){t.touching=!1,t.touchTimer=null}),700)}(e)}))})),E(pi.mouse,(function(i){Mi(e,i,(function(r){r=re(r),e.touching||n[i].call(t,r)}))})))}function Si(t,e){function n(n){Mi(e,n,(function(i){i=re(i),mi(t,i.target)||(i=function(t,e){return oe(t.dom,new xi(t,e),!0)}(t,i),e.domHandlers[n].call(t,i))}),{capture:!0})}r.pointerEventsSupported?E(fi,n):r.touchEventsSupported||E(di,n)}function Mi(t,e,n,i){t.mounted[e]=n,t.listenerOpts[e]=i,ae(t.domTarget,e,n,i)}function Ii(t){var e,n,i,r,o=t.mounted;for(var a in o)o.hasOwnProperty(a)&&(e=t.domTarget,n=a,i=o[a],r=t.listenerOpts[a],e.removeEventListener(n,i,r));t.mounted={}}var Ti=function(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e},Ci=function(t){function e(e,n){var i=t.call(this)||this;return i.__pointerCapturing=!1,i.dom=e,i.painterRoot=n,i._localHandlerScope=new Ti(e,_i),ci&&(i._globalHandlerScope=new Ti(document,bi)),wi(i,i._localHandlerScope),i}return n(e,t),e.prototype.dispose=function(){Ii(this._localHandlerScope),ci&&Ii(this._globalHandlerScope)},e.prototype.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},e.prototype.__togglePointerCapture=function(t){if(this.__mayPointerCapture=null,ci&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?Si(this,e):Ii(e)}},e}(Xt),Di=1;r.hasGlobalWindow&&(Di=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var Ai=Di,ki="#333",Li="#ccc";function Pi(){return[1,0,0,1,0,0]}function Oi(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function Ri(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 Ni(t,e,n){var i=e[0]*n[0]+e[2]*n[1],r=e[1]*n[0]+e[3]*n[1],o=e[0]*n[2]+e[2]*n[3],a=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4],l=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=i,t[1]=r,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t}function Ei(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t}function zi(t,e,n){var i=e[0],r=e[2],o=e[4],a=e[1],s=e[3],l=e[5],u=Math.sin(n),h=Math.cos(n);return t[0]=i*h+a*u,t[1]=-i*u+a*h,t[2]=r*h+s*u,t[3]=-r*u+h*s,t[4]=h*o+u*l,t[5]=h*l-u*o,t}function Vi(t,e,n){var i=n[0],r=n[1];return t[0]=e[0]*i,t[1]=e[1]*r,t[2]=e[2]*i,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*r,t}function Bi(t,e){var n=e[0],i=e[2],r=e[4],o=e[1],a=e[3],s=e[5],l=n*a-o*i;return l?(l=1/l,t[0]=a*l,t[1]=-o*l,t[2]=-i*l,t[3]=n*l,t[4]=(i*s-a*r)*l,t[5]=(o*r-n*s)*l,t):null}function Fi(t){var e=[1,0,0,1,0,0];return Ri(e,t),e}var Gi=Object.freeze({__proto__:null,create:Pi,identity:Oi,copy:Ri,mul:Ni,translate:Ei,rotate:zi,scale:Vi,invert:Bi,clone:Fi}),Wi=Oi,Hi=5e-5;function Yi(t){return t>Hi||t<-5e-5}var Ui=[],Xi=[],Zi=[1,0,0,1,0,0],ji=Math.abs,qi=function(){function t(){}return t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},t.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},t.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},t.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},t.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},t.prototype.needLocalTransform=function(){return Yi(this.rotation)||Yi(this.x)||Yi(this.y)||Yi(this.scaleX-1)||Yi(this.scaleY-1)||Yi(this.skewX)||Yi(this.skewY)},t.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;e||t?(n=n||[1,0,0,1,0,0],e?this.getLocalTransform(n):Wi(n),t&&(e?Ni(n,t,n):Ri(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&Wi(n)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(Ui);var n=Ui[0]<0?-1:1,i=Ui[1]<0?-1:1,r=((Ui[0]-n)*e+n)/Ui[0]||0,o=((Ui[1]-i)*e+i)/Ui[1]||0;t[0]*=r,t[1]*=r,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||[1,0,0,1,0,0],Bi(this.invTransform,t)},t.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},t.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),r=Math.PI/2+i-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(r),e=Math.sqrt(e),this.skewX=r,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(Ni(Xi,t.invTransform,e),e=Xi);var n=this.originX,i=this.originY;(n||i)&&(Zi[4]=n,Zi[5]=i,Ni(Xi,e,Zi),Xi[4]-=n,Xi[5]-=i,e=Xi),this.setLocalTransform(e)}},t.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},t.prototype.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&Ft(n,n,i),n},t.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&Ft(n,n,i),n},t.prototype.getLineScale=function(){var t=this.transform;return t&&ji(t[0]-1)>1e-10&&ji(t[3]-1)>1e-10?Math.sqrt(ji(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(t){$i(this,t)},t.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,i=t.originY||0,r=t.scaleX,o=t.scaleY,a=t.anchorX,s=t.anchorY,l=t.rotation||0,u=t.x,h=t.y,c=t.skewX?Math.tan(t.skewX):0,p=t.skewY?Math.tan(-t.skewY):0;if(n||i||a||s){var d=n+a,f=i+s;e[4]=-d*r-c*f*o,e[5]=-f*o-p*d*r}else e[4]=e[5]=0;return e[0]=r,e[3]=o,e[1]=p*r,e[2]=c*o,l&&zi(e,e,l),e[4]+=n+u,e[5]+=i+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}(),Ki=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function $i(t,e){for(var n=0;n<Ki.length;n++){var i=Ki[n];t[i]=e[i]}}var Ji=function(){function t(t,e){this.x=t||0,this.y=e||0}return t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(t,e){return this.x=t,this.y=e,this},t.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},t.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.scale=function(t){this.x*=t,this.y*=t},t.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},t.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},t.prototype.dot=function(t){return this.x*t.x+this.y*t.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},t.prototype.distance=function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,n=this.y-t.y;return e*e+n*n},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(t){if(t){var e=this.x,n=this.y;return this.x=t[0]*e+t[2]*n+t[4],this.y=t[1]*e+t[3]*n+t[5],this}},t.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},t.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},t.set=function(t,e,n){t.x=e,t.y=n},t.copy=function(t,e){t.x=e.x,t.y=e.y},t.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},t.lenSquare=function(t){return t.x*t.x+t.y*t.y},t.dot=function(t,e){return t.x*e.x+t.y*e.y},t.add=function(t,e,n){t.x=e.x+n.x,t.y=e.y+n.y},t.sub=function(t,e,n){t.x=e.x-n.x,t.y=e.y-n.y},t.scale=function(t,e,n){t.x=e.x*n,t.y=e.y*n},t.scaleAndAdd=function(t,e,n,i){t.x=e.x+n.x*i,t.y=e.y+n.y*i},t.lerp=function(t,e,n,i){var r=1-i;t.x=r*e.x+i*n.x,t.y=r*e.y+i*n.y},t}(),Qi=Math.min,tr=Math.max,er=new Ji,nr=new Ji,ir=new Ji,rr=new Ji,or=new Ji,ar=new Ji,sr=function(){function t(t,e,n,i){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i),this.x=t,this.y=e,this.width=n,this.height=i}return t.prototype.union=function(t){var e=Qi(t.x,this.x),n=Qi(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=tr(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=tr(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=e,this.y=n},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){var e=this,n=t.width/e.width,i=t.height/e.height,r=[1,0,0,1,0,0];return Ei(r,r,[-e.x,-e.y]),Vi(r,r,[n,i]),Ei(r,r,[t.x,t.y]),r},t.prototype.intersect=function(e,n){if(!e)return!1;e instanceof t||(e=t.create(e));var i=this,r=i.x,o=i.x+i.width,a=i.y,s=i.y+i.height,l=e.x,u=e.x+e.width,h=e.y,c=e.y+e.height,p=!(o<l||u<r||s<h||c<a);if(n){var d=1/0,f=0,g=Math.abs(o-l),y=Math.abs(u-r),v=Math.abs(s-h),m=Math.abs(c-a),x=Math.min(g,y),_=Math.min(v,m);o<l||u<r?x>f&&(f=x,g<y?Ji.set(ar,-g,0):Ji.set(ar,y,0)):x<d&&(d=x,g<y?Ji.set(or,g,0):Ji.set(or,-y,0)),s<h||c<a?_>f&&(f=_,v<m?Ji.set(ar,0,-v):Ji.set(ar,0,m)):x<d&&(d=x,v<m?Ji.set(or,0,v):Ji.set(or,0,-m))}return n&&Ji.copy(n,p?or:ar),p},t.prototype.contain=function(t,e){var n=this;return t>=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},t.applyTransform=function(e,n,i){if(i){if(i[1]<1e-5&&i[1]>-1e-5&&i[2]<1e-5&&i[2]>-1e-5){var r=i[0],o=i[3],a=i[4],s=i[5];return e.x=n.x*r+a,e.y=n.y*o+s,e.width=n.width*r,e.height=n.height*o,e.width<0&&(e.x+=e.width,e.width=-e.width),void(e.height<0&&(e.y+=e.height,e.height=-e.height))}er.x=ir.x=n.x,er.y=rr.y=n.y,nr.x=rr.x=n.x+n.width,nr.y=ir.y=n.y+n.height,er.transform(i),rr.transform(i),nr.transform(i),ir.transform(i),e.x=Qi(er.x,nr.x,ir.x,rr.x),e.y=Qi(er.y,nr.y,ir.y,rr.y);var l=tr(er.x,nr.x,ir.x,rr.x),u=tr(er.y,nr.y,ir.y,rr.y);e.width=l-e.x,e.height=u-e.y}else e!==n&&t.copy(e,n)},t}(),lr={};function ur(t,e){var n=lr[e=e||a];n||(n=lr[e]=new ln(500));var i=n.get(t);return null==i&&(i=h.measureText(t,e).width,n.put(t,i)),i}function hr(t,e,n,i){var r=ur(t,e),o=fr(e),a=pr(0,r,n),s=dr(0,o,i);return new sr(a,s,r,o)}function cr(t,e,n,i){var r=((t||"")+"").split("\n");if(1===r.length)return hr(r[0],e,n,i);for(var o=new sr(0,0,0,0),a=0;a<r.length;a++){var s=hr(r[a],e,n,i);0===a?o.copy(s):o.union(s)}return o}function pr(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function dr(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function fr(t){return ur("国",t)}function gr(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function yr(t,e,n){var i=e.position||"inside",r=null!=e.distance?e.distance:5,o=n.height,a=n.width,s=o/2,l=n.x,u=n.y,h="left",c="top";if(i instanceof Array)l+=gr(i[0],n.width),u+=gr(i[1],n.height),h=null,c=null;else switch(i){case"left":l-=r,u+=s,h="right",c="middle";break;case"right":l+=r+a,u+=s,c="middle";break;case"top":l+=a/2,u-=r,h="center",c="bottom";break;case"bottom":l+=a/2,u+=o+r,h="center";break;case"inside":l+=a/2,u+=s,h="center",c="middle";break;case"insideLeft":l+=r,u+=s,c="middle";break;case"insideRight":l+=a-r,u+=s,h="right",c="middle";break;case"insideTop":l+=a/2,u+=r,h="center";break;case"insideBottom":l+=a/2,u+=o-r,h="center",c="bottom";break;case"insideTopLeft":l+=r,u+=r;break;case"insideTopRight":l+=a-r,u+=r,h="right";break;case"insideBottomLeft":l+=r,u+=o-r,c="bottom";break;case"insideBottomRight":l+=a-r,u+=o-r,h="right",c="bottom"}return(t=t||{}).x=l,t.y=u,t.align=h,t.verticalAlign=c,t}var vr="__zr_normal__",mr=Ki.concat(["ignore"]),xr=V(Ki,(function(t,e){return t[e]=!0,t}),{ignore:!1}),_r={},br=new sr(0,0,0,0),wr=function(){function t(t){this.id=M(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,n){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,r=e.innerTransformable,o=void 0,a=void 0,s=!1;r.parent=i?this:null;var l=!1;if(r.copyTransform(e),null!=n.position){var u=br;n.layoutRect?u.copy(n.layoutRect):u.copy(this.getBoundingRect()),i||u.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(_r,n,u):yr(_r,n,u),r.x=_r.x,r.y=_r.y,o=_r.align,a=_r.verticalAlign;var h=n.origin;if(h&&null!=n.rotation){var c=void 0,p=void 0;"center"===h?(c=.5*u.width,p=.5*u.height):(c=gr(h[0],u.width),p=gr(h[1],u.height)),l=!0,r.originX=-r.x+c+(i?0:u.x),r.originY=-r.y+p+(i?0:u.y)}}null!=n.rotation&&(r.rotation=n.rotation);var d=n.offset;d&&(r.x+=d[0],r.y+=d[1],l||(r.originX=-d[0],r.originY=-d[1]));var f=null==n.inside?"string"==typeof n.position&&n.position.indexOf("inside")>=0:n.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),y=void 0,v=void 0,m=void 0;f&&this.canBeInsideText()?(y=n.insideFill,v=n.insideStroke,null!=y&&"auto"!==y||(y=this.getInsideTextFill()),null!=v&&"auto"!==v||(v=this.getInsideTextStroke(y),m=!0)):(y=n.outsideFill,v=n.outsideStroke,null!=y&&"auto"!==y||(y=this.getOutsideFill()),null!=v&&"auto"!==v||(v=this.getOutsideStroke(y),m=!0)),(y=y||"#000")===g.fill&&v===g.stroke&&m===g.autoStroke&&o===g.align&&a===g.verticalAlign||(s=!0,g.fill=y,g.stroke=v,g.autoStroke=m,g.align=o,g.verticalAlign=a,e.setDefaultTextStyle(g)),e.__dirty|=1,s&&e.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(t){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?Li:ki},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"==typeof e&&bn(e);n||(n=[255,255,255,1]);for(var i=n[3],r=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*i+(r?0:255)*(1-i);return n[3]=1,kn(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||{},A(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(q(t))for(var n=G(t),i=0;i<n.length;i++){var r=n[i];this.attrKV(r,t[r])}return this.markRedraw(),this},t.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var e=this._normalState,n=0;n<this.animators.length;n++){var i=this.animators[n],r=i.__fromStateTransition;if(!(i.getLoop()||r&&r!==vr)){var o=i.targetName,a=o?e[o]:e;i.saveTo(a)}}},t.prototype._innerSaveToNormal=function(t){var e=this._normalState;e||(e=this._normalState={}),t.textConfig&&!e.textConfig&&(e.textConfig=this.textConfig),this._savePrimaryToNormal(t,e,mr)},t.prototype._savePrimaryToNormal=function(t,e,n){for(var i=0;i<n.length;i++){var r=n[i];null==t[r]||r in e||(e[r]=this[r])}},t.prototype.hasState=function(){return this.currentStates.length>0},t.prototype.getState=function(t){return this.states[t]},t.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},t.prototype.clearStates=function(t){this.useState(vr,!1,t)},t.prototype.useState=function(t,e,n,i){var r=t===vr;if(this.hasState()||!r){var o=this.currentStates,a=this.stateTransition;if(!(P(o,t)>=0)||!e&&1!==o.length){var s;if(this.stateProxy&&!r&&(s=this.stateProxy(t)),s||(s=this.states&&this.states[t]),s||r){r||this.saveCurrentToNormalState(s);var l=!!(s&&s.hoverLayer||i);l&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,s,this._normalState,e,!n&&!this.__inHover&&a&&a.duration>0,a);var u=this._textContent,h=this._textGuide;return u&&u.useState(t,e,n,l),h&&h.useState(t,e,n,l),r?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!l&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2),s}I("State "+t+" not exists.")}}},t.prototype.useStates=function(t,e,n){if(t.length){var i=[],r=this.currentStates,o=t.length,a=o===r.length;if(a)for(var s=0;s<o;s++)if(t[s]!==r[s]){a=!1;break}if(a)return;for(s=0;s<o;s++){var l=t[s],u=void 0;this.stateProxy&&(u=this.stateProxy(l,t)),u||(u=this.states[l]),u&&i.push(u)}var h=i[o-1],c=!!(h&&h.hoverLayer||n);c&&this._toggleHoverLayerFlag(!0);var p=this._mergeStates(i),d=this.stateTransition;this.saveCurrentToNormalState(p),this._applyStateObj(t.join(","),p,this._normalState,!1,!e&&!this.__inHover&&d&&d.duration>0,d);var f=this._textContent,g=this._textGuide;f&&f.useStates(t,e,c),g&&g.useStates(t,e,c),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2)}else this.clearStates()},t.prototype._updateAnimationTargets=function(){for(var t=0;t<this.animators.length;t++){var e=this.animators[t];e.targetName&&e.changeTarget(this[e.targetName])}},t.prototype.removeState=function(t){var e=P(this.currentStates,t);if(e>=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},t.prototype.replaceState=function(t,e,n){var i=this.currentStates.slice(),r=P(i,t),o=P(i,e)>=0;r>=0?o?i.splice(r,1):i[r]=e:n&&!o&&i.push(e),this.useStates(i)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,n={},i=0;i<t.length;i++){var r=t[i];A(n,r),r.textConfig&&A(e=e||{},r.textConfig)}return e&&(n.textConfig=e),n},t.prototype._applyStateObj=function(t,e,n,i,r,o){var a=!(e&&i);e&&e.textConfig?(this.textConfig=A({},i?this.textConfig:n.textConfig),A(this.textConfig,e.textConfig)):a&&n.textConfig&&(this.textConfig=n.textConfig);for(var s={},l=!1,u=0;u<mr.length;u++){var h=mr[u],c=r&&xr[h];e&&null!=e[h]?c?(l=!0,s[h]=e[h]):this[h]=e[h]:a&&null!=n[h]&&(c?(l=!0,s[h]=n[h]):this[h]=n[h])}if(!r)for(u=0;u<this.animators.length;u++){var p=this.animators[u],d=p.targetName;p.getLoop()||p.__changeFinalValue(d?(e||n)[d]:e||n)}l&&this._transitionState(t,s,o)},t.prototype._attachComponent=function(t){if((!t.__zr||t.__hostTarget)&&t!==this){var e=this.__zr;e&&t.addSelfToZr(e),t.__zr=e,t.__hostTarget=this}},t.prototype._detachComponent=function(t){t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__hostTarget=null},t.prototype.getClipPath=function(){return this._clipPath},t.prototype.setClipPath=function(t){this._clipPath&&this._clipPath!==t&&this.removeClipPath(),this._attachComponent(t),this._clipPath=t,this.markRedraw()},t.prototype.removeClipPath=function(){var t=this._clipPath;t&&(this._detachComponent(t),this._clipPath=null,this.markRedraw())},t.prototype.getTextContent=function(){return this._textContent},t.prototype.setTextContent=function(t){var e=this._textContent;e!==t&&(e&&e!==t&&this.removeTextContent(),t.innerTransformable=new qi,this._attachComponent(t),this._textContent=t,this.markRedraw())},t.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),A(this.textConfig,t),this.markRedraw()},t.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},t.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.innerTransformable=null,this._detachComponent(t),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},t.prototype.getTextGuideLine=function(){return this._textGuide},t.prototype.setTextGuideLine=function(t){this._textGuide&&this._textGuide!==t&&this.removeTextGuideLine(),this._attachComponent(t),this._textGuide=t,this.markRedraw()},t.prototype.removeTextGuideLine=function(){var t=this._textGuide;t&&(this._detachComponent(t),this._textGuide=null,this.markRedraw())},t.prototype.markRedraw=function(){this.__dirty|=1;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},t.prototype.dirty=function(){this.markRedraw()},t.prototype._toggleHoverLayerFlag=function(t){this.__inHover=t;var e=this._textContent,n=this._textGuide;e&&(e.__inHover=t),n&&(n.__inHover=t)},t.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.addAnimator(e[n]);this._clipPath&&this._clipPath.addSelfToZr(t),this._textContent&&this._textContent.addSelfToZr(t),this._textGuide&&this._textGuide.addSelfToZr(t)}},t.prototype.removeSelfFromZr=function(t){if(this.__zr){this.__zr=null;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.removeAnimator(e[n]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},t.prototype.animate=function(t,e,n){var i=t?this[t]:this;var r=new ai(i,e,n);return t&&(r.targetName=t),this.addAnimator(r,t),r},t.prototype.addAnimator=function(t,e){var n=this.__zr,i=this;t.during((function(){i.updateDuringAnimation(e)})).done((function(){var e=i.animators,n=P(e,t);n>=0&&e.splice(n,1)})),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var n=this.animators,i=n.length,r=[],o=0;o<i;o++){var a=n[o];t&&t!==a.scope?r.push(a):a.stop(e)}return this.animators=r,this},t.prototype.animateTo=function(t,e,n){Sr(this,t,e,n)},t.prototype.animateFrom=function(t,e,n){Sr(this,t,e,n,!0)},t.prototype._transitionState=function(t,e,n,i){for(var r=Sr(this,e,n,i),o=0;o<r.length;o++)r[o].__fromStateTransition=t},t.prototype.getBoundingRect=function(){return null},t.prototype.getPaintRect=function(){return null},t.initDefaultProps=function(){var e=t.prototype;e.type="element",e.name="",e.ignore=e.silent=e.isGroup=e.draggable=e.dragging=e.ignoreClip=e.__inHover=!1,e.__dirty=1;function n(t,n,i,r){function o(t,e){Object.defineProperty(e,0,{get:function(){return t[i]},set:function(e){t[i]=e}}),Object.defineProperty(e,1,{get:function(){return t[r]},set:function(e){t[r]=e}})}Object.defineProperty(e,t,{get:function(){this[n]||o(this,this[n]=[]);return this[n]},set:function(t){this[i]=t[0],this[r]=t[1],this[n]=t,o(this,t)}})}Object.defineProperty&&(n("position","_legacyPos","x","y"),n("scale","_legacyScale","scaleX","scaleY"),n("origin","_legacyOrigin","originX","originY"))}(),t}();function Sr(t,e,n,i,r){var o=[];Tr(t,"",t,e,n=n||{},i,o,r);var a=o.length,s=!1,l=n.done,u=n.aborted,h=function(){s=!0,--a<=0&&(s?l&&l():u&&u())},c=function(){--a<=0&&(s?l&&l():u&&u())};a||l&&l(),o.length>0&&n.during&&o[0].during((function(t,e){n.during(e)}));for(var p=0;p<o.length;p++){var d=o[p];h&&d.done(h),c&&d.aborted(c),n.force&&d.duration(n.duration),d.start(n.easing)}return o}function Mr(t,e,n){for(var i=0;i<n;i++)t[i]=e[i]}function Ir(t,e,n){if(N(e[n]))if(N(t[n])||(t[n]=[]),$(e[n])){var i=e[n].length;t[n].length!==i&&(t[n]=new e[n].constructor(i),Mr(t[n],e[n],i))}else{var r=e[n],o=t[n],a=r.length;if(N(r[0]))for(var s=r[0].length,l=0;l<a;l++)o[l]?Mr(o[l],r[l],s):o[l]=Array.prototype.slice.call(r[l]);else Mr(o,r,a);o.length=r.length}else t[n]=e[n]}function Tr(t,e,n,i,r,o,a,s){for(var l=G(i),u=r.duration,h=r.delay,c=r.additive,p=r.setToFinal,d=!q(o),f=t.animators,g=[],y=0;y<l.length;y++){var v=l[y],m=i[v];if(null!=m&&null!=n[v]&&(d||o[v]))if(!q(m)||N(m)||Q(m))g.push(v);else{if(e){s||(n[v]=m,t.updateDuringAnimation(e));continue}Tr(t,v,n[v],m,r,o&&o[v],a,s)}else s||(n[v]=m,t.updateDuringAnimation(e),g.push(v))}var x=g.length;if(!c&&x)for(var _=0;_<f.length;_++){if((w=f[_]).targetName===e)if(w.stopTracks(g)){var b=P(f,w);f.splice(b,1)}}if(r.force||(x=(g=B(g,(function(t){return e=i[t],r=n[t],!(e===r||N(e)&&N(r)&&function(t,e){var n=t.length;if(n!==e.length)return!1;for(var i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}(e,r));var e,r}))).length),x>0||r.force&&!a.length){var w,S=void 0,M=void 0,I=void 0;if(s){M={},p&&(S={});for(_=0;_<x;_++){M[v=g[_]]=n[v],p?S[v]=i[v]:n[v]=i[v]}}else if(p){I={};for(_=0;_<x;_++){I[v=g[_]]=ti(n[v]),Ir(n,i,v)}}(w=new ai(n,!1,!1,c?B(f,(function(t){return t.targetName===e})):null)).targetName=e,r.scope&&(w.scope=r.scope),p&&S&&w.whenWithKeys(0,S,g),I&&w.whenWithKeys(0,I,g),w.whenWithKeys(null==u?500:u,s?M:i,g).delay(h||0),t.addAnimator(w,e),a.push(w)}}R(wr,Xt),R(wr,qi);var Cr=function(t){function e(e){var n=t.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(e),n}return n(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.children=function(){return this._children.slice()},e.prototype.childAt=function(t){return this._children[t]},e.prototype.childOfName=function(t){for(var e=this._children,n=0;n<e.length;n++)if(e[n].name===t)return e[n]},e.prototype.childCount=function(){return this._children.length},e.prototype.add=function(t){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),this},e.prototype.addBefore=function(t,e){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var n=this._children,i=n.indexOf(e);i>=0&&(n.splice(i,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var n=P(this._children,t);return n>=0&&this.replaceAt(e,n),this},e.prototype.replaceAt=function(t,e){var n=this._children,i=n[e];if(t&&t!==this&&t.parent!==this&&t!==i){n[e]=t,i.parent=null;var r=this.__zr;r&&i.removeSelfFromZr(r),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},e.prototype.remove=function(t){var e=this.__zr,n=this._children,i=P(n,t);return i<0||(n.splice(i,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,n=0;n<t.length;n++){var i=t[n];e&&i.removeSelfFromZr(e),i.parent=null}return t.length=0,this},e.prototype.eachChild=function(t,e){for(var n=this._children,i=0;i<n.length;i++){var r=n[i];t.call(e,r,i)}return this},e.prototype.traverse=function(t,e){for(var n=0;n<this._children.length;n++){var i=this._children[n],r=t.call(e,i);i.isGroup&&!r&&i.traverse(t,e)}return this},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++){this._children[n].addSelfToZr(e)}},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++){this._children[n].removeSelfFromZr(e)}},e.prototype.getBoundingRect=function(t){for(var e=new sr(0,0,0,0),n=t||this._children,i=[],r=null,o=0;o<n.length;o++){var a=n[o];if(!a.ignore&&!a.invisible){var s=a.getBoundingRect(),l=a.getLocalTransform(i);l?(sr.applyTransform(e,s,l),(r=r||e.clone()).union(e)):(r=r||s.clone()).union(s)}}return r||e},e}(wr);Cr.prototype.type="group";
/*!
    * ZRender, a high performance 2d drawing library.
    *
    * Copyright (c) 2013, Baidu Inc.
    * All rights reserved.
    *
    * LICENSE
    * https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
    */
var Dr={},Ar={};var kr=function(){function t(t,e,n){var i=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=e,this.id=t;var o=new Ae,a=n.renderer||"canvas";Dr[a]||(a=G(Dr)[0]),n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var s=new Dr[a](e,o,n,t),l=n.ssr||s.ssrOnly;this.storage=o,this.painter=s;var u=r.node||r.worker||l?null:new Ci(s.getViewportRoot(),s.root);this.handler=new ve(o,s,u,s.root),this.animation=new hi({stage:{update:l?null:function(){return i._flush(!0)}}}),l||this.animation.start()}return t.prototype.add=function(t){t&&(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},t.prototype.remove=function(t){t&&(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},t.prototype.configLayer=function(t,e){this.painter.configLayer&&this.painter.configLayer(t,e),this.refresh()},t.prototype.setBackgroundColor=function(t){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=function(t){if(!t)return!1;if("string"==typeof t)return Ln(t,1)<.4;if(t.colorStops){for(var e=t.colorStops,n=0,i=e.length,r=0;r<i;r++)n+=Ln(e[r].color,1);return(n/=i)<.4}return!1}(t)},t.prototype.getBackgroundColor=function(){return this._backgroundColor},t.prototype.setDarkMode=function(t){this._darkMode=t},t.prototype.isDarkMode=function(){return this._darkMode},t.prototype.refreshImmediately=function(t){t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},t.prototype.refresh=function(){this._needsRefresh=!0,this.animation.start()},t.prototype.flush=function(){this._flush(!1)},t.prototype._flush=function(t){var e,n=si();this._needsRefresh&&(e=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately());var i=si();e?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:i-n})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){this.animation.start(),this._stillFrameAccum=0},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover()},t.prototype.resize=function(t){t=t||{},this.painter.resize(t.width,t.height),this.handler.resize()},t.prototype.clearAnimation=function(){this.animation.clear()},t.prototype.getWidth=function(){return this.painter.getWidth()},t.prototype.getHeight=function(){return this.painter.getHeight()},t.prototype.setCursorStyle=function(t){this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){return this.handler.findHover(t,e)},t.prototype.on=function(t,e,n){return this.handler.on(t,e,n),this},t.prototype.off=function(t,e){this.handler.off(t,e)},t.prototype.trigger=function(t,e){this.handler.trigger(t,e)},t.prototype.clear=function(){for(var t=this.storage.getRoots(),e=0;e<t.length;e++)t[e]instanceof Cr&&t[e].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()},t.prototype.dispose=function(){var t;this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,t=this.id,delete Ar[t]},t}();function Lr(t,e){var n=new kr(M(),t,e);return Ar[n.id]=n,n}function Pr(t,e){Dr[t]=e}var Or=Object.freeze({__proto__:null,init:Lr,dispose:function(t){t.dispose()},disposeAll:function(){for(var t in Ar)Ar.hasOwnProperty(t)&&Ar[t].dispose();Ar={}},getInstance:function(t){return Ar[t]},registerPainter:Pr,version:"5.3.2"}),Rr=1e-4;function Nr(t,e,n,i){var r=e[0],o=e[1],a=n[0],s=n[1],l=o-r,u=s-a;if(0===l)return 0===u?a:(a+s)/2;if(i)if(l>0){if(t<=r)return a;if(t>=o)return s}else{if(t>=r)return a;if(t<=o)return s}else{if(t===r)return a;if(t===o)return s}return(t-r)/l*u+a}function Er(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 X(t)?(n=t,n.replace(/^\s+|\s+$/g,"")).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t;var n}function zr(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t}function Vr(t){return t.sort((function(t,e){return t-e})),t}function Br(t){if(t=+t,isNaN(t))return 0;if(t>1e-14)for(var e=1,n=0;n<15;n++,e*=10)if(Math.round(t*e)/e===t)return n;return Fr(t)}function Fr(t){var e=t.toString().toLowerCase(),n=e.indexOf("e"),i=n>0?+e.slice(n+1):0,r=n>0?n:e.length,o=e.indexOf("."),a=o<0?0:r-1-o;return Math.max(0,a-i)}function Gr(t,e){var n=Math.log,i=Math.LN10,r=Math.floor(n(t[1]-t[0])/i),o=Math.round(n(Math.abs(e[1]-e[0]))/i),a=Math.min(Math.max(-r+o,0),20);return isFinite(a)?a:20}function Wr(t,e,n){if(!t[e])return 0;var i=V(t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===i)return 0;for(var r=Math.pow(10,n),o=z(t,(function(t){return(isNaN(t)?0:t)/i*r*100})),a=100*r,s=z(o,(function(t){return Math.floor(t)})),l=V(s,(function(t,e){return t+e}),0),u=z(o,(function(t,e){return t-s[e]}));l<a;){for(var h=Number.NEGATIVE_INFINITY,c=null,p=0,d=u.length;p<d;++p)u[p]>h&&(h=u[p],c=p);++s[c],u[c]=0,++l}return s[e]/r}function Hr(t,e){var n=Math.max(Br(t),Br(e)),i=t+e;return n>20?i:zr(i,n)}var Yr=9007199254740991;function Ur(t){var e=2*Math.PI;return(t%e+e)%e}function Xr(t){return t>-1e-4&&t<Rr}var Zr=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function jr(t){if(t instanceof Date)return t;if(X(t)){var e=Zr.exec(t);if(!e)return new Date(NaN);if(e[8]){var n=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(n-=+e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,n,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0))}return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0)}return null==t?new Date(NaN):new Date(Math.round(t))}function qr(t){return Math.pow(10,Kr(t))}function Kr(t){if(0===t)return 0;var e=Math.floor(Math.log(t)/Math.LN10);return t/Math.pow(10,e)>=10&&e++,e}function $r(t,e){var n=Kr(t),i=Math.pow(10,n),r=t/i;return t=(e?r<1.5?1:r<2.5?2:r<4?3:r<7?5:10:r<1?1:r<2?2:r<3?3:r<5?5:10)*i,n>=-20?+t.toFixed(n<0?-n:0):t}function Jr(t,e){var n=(t.length-1)*e+1,i=Math.floor(n),r=+t[i-1],o=n-i;return o?r+o*(t[i]-r):r}function Qr(t){t.sort((function(t,e){return s(t,e,0)?-1:1}));for(var e=-1/0,n=1,i=0;i<t.length;){for(var r=t[i].interval,o=t[i].close,a=0;a<2;a++)r[a]<=e&&(r[a]=e,o[a]=a?1:1-n),e=r[a],n=o[a];r[0]===r[1]&&o[0]*o[1]!=1?t.splice(i,1):i++}return t;function s(t,e,n){return t.interval[n]<e.interval[n]||t.interval[n]===e.interval[n]&&(t.close[n]-e.close[n]==(n?-1:1)||!n&&s(t,e,1))}}function to(t){var e=parseFloat(t);return e==t&&(0!==e||!X(t)||t.indexOf("x")<=0)?e:NaN}function eo(t){return!isNaN(to(t))}function no(){return Math.round(9*Math.random())}function io(t,e){return 0===e?t:io(e,t%e)}function ro(t,e){return null==t?e:null==e?t:t*e/io(t,e)}"undefined"!=typeof console&&console.warn&&console.log;function oo(t){0}function ao(t){throw new Error(t)}function so(t,e,n){return(e-t)*n+t}var lo="series\0",uo="\0_ec_\0";function ho(t){return t instanceof Array?t:null==t?[]:[t]}function co(t,e,n){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var i=0,r=n.length;i<r;i++){var o=n[i];!t.emphasis[e].hasOwnProperty(o)&&t[e].hasOwnProperty(o)&&(t.emphasis[e][o]=t[e][o])}}}var po=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function fo(t){return!q(t)||Y(t)||t instanceof Date?t:t.value}function go(t){return q(t)&&!(t instanceof Array)}function yo(t,e,n){var i="normalMerge"===n,r="replaceMerge"===n,o="replaceAll"===n;t=t||[],e=(e||[]).slice();var a=ft();E(e,(function(t,n){q(t)||(e[n]=null)}));var s,l,u=function(t,e,n){var i=[];if("replaceAll"===n)return i;for(var r=0;r<t.length;r++){var o=t[r];o&&null!=o.id&&e.set(o.id,r),i.push({existing:"replaceMerge"===n||bo(o)?null:o,newOption:null,keyInfo:null,brandNew:null})}return i}(t,a,n);return(i||r)&&function(t,e,n,i){E(i,(function(r,o){if(r&&null!=r.id){var a=mo(r.id),s=n.get(a);if(null!=s){var l=t[s];lt(!l.newOption,'Duplicated option on id "'+a+'".'),l.newOption=r,l.existing=e[s],i[o]=null}}}))}(u,t,a,e),i&&function(t,e){E(e,(function(n,i){if(n&&null!=n.name)for(var r=0;r<t.length;r++){var o=t[r].existing;if(!t[r].newOption&&o&&(null==o.id||null==n.id)&&!bo(n)&&!bo(o)&&vo("name",o,n))return t[r].newOption=n,void(e[i]=null)}}))}(u,e),i||r?function(t,e,n){E(e,(function(e){if(e){for(var i,r=0;(i=t[r])&&(i.newOption||bo(i.existing)||i.existing&&null!=e.id&&!vo("id",e,i.existing));)r++;i?(i.newOption=e,i.brandNew=n):t.push({newOption:e,brandNew:n,existing:null,keyInfo:null}),r++}}))}(u,e,r):o&&function(t,e){E(e,(function(e){t.push({newOption:e,brandNew:!0,existing:null,keyInfo:null})}))}(u,e),s=u,l=ft(),E(s,(function(t){var e=t.existing;e&&l.set(e.id,t)})),E(s,(function(t){var e=t.newOption;lt(!e||null==e.id||!l.get(e.id)||l.get(e.id)===t,"id duplicates: "+(e&&e.id)),e&&null!=e.id&&l.set(e.id,t),!t.keyInfo&&(t.keyInfo={})})),E(s,(function(t,e){var n=t.existing,i=t.newOption,r=t.keyInfo;if(q(i)){if(r.name=null!=i.name?mo(i.name):n?n.name:lo+e,n)r.id=mo(n.id);else if(null!=i.id)r.id=mo(i.id);else{var o=0;do{r.id="\0"+r.name+"\0"+o++}while(l.get(r.id))}l.set(r.id,t)}})),u}function vo(t,e,n){var i=xo(e[t],null),r=xo(n[t],null);return null!=i&&null!=r&&i===r}function mo(t){return xo(t,"")}function xo(t,e){return null==t?e:X(t)?t:j(t)||Z(t)?t+"":e}function _o(t){var e=t.name;return!(!e||!e.indexOf(lo))}function bo(t){return t&&null!=t.id&&0===mo(t.id).indexOf(uo)}function wo(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?Y(e.dataIndex)?z(e.dataIndex,(function(e){return t.indexOfRawIndex(e)})):t.indexOfRawIndex(e.dataIndex):null!=e.name?Y(e.name)?z(e.name,(function(e){return t.indexOfName(e)})):t.indexOfName(e.name):void 0}function So(){var t="__ec_inner_"+Mo++;return function(e){return e[t]||(e[t]={})}}var Mo=no();function Io(t,e,n){var i=To(e,n),r=i.mainTypeSpecified,o=i.queryOptionMap,a=i.others,s=n?n.defaultMainType:null;return!r&&s&&o.set(s,{}),o.each((function(e,i){var r=Ao(t,i,e,{useDefault:s===i,enableAll:!n||null==n.enableAll||n.enableAll,enableNone:!n||null==n.enableNone||n.enableNone});a[i+"Models"]=r.models,a[i+"Model"]=r.models[0]})),a}function To(t,e){var n;if(X(t)){var i={};i[t+"Index"]=0,n=i}else n=t;var r=ft(),o={},a=!1;return E(n,(function(t,n){if("dataIndex"!==n&&"dataIndexInside"!==n){var i=n.match(/^(\w+)(Index|Id|Name)$/)||[],s=i[1],l=(i[2]||"").toLowerCase();if(s&&l&&!(e&&e.includeMainTypes&&P(e.includeMainTypes,s)<0))a=a||!!s,(r.get(s)||r.set(s,{}))[l]=t}else o[n]=t})),{mainTypeSpecified:a,queryOptionMap:r,others:o}}var Co={useDefault:!0,enableAll:!1,enableNone:!1},Do={useDefault:!1,enableAll:!0,enableNone:!0};function Ao(t,e,n,i){i=i||Co;var r=n.index,o=n.id,a=n.name,s={models:null,specified:null!=r||null!=o||null!=a};if(!s.specified){var l=void 0;return s.models=i.useDefault&&(l=t.getComponent(e))?[l]:[],s}return"none"===r||!1===r?(lt(i.enableNone,'`"none"` or `false` is not a valid value on index option.'),s.models=[],s):("all"===r&&(lt(i.enableAll,'`"all"` is not a valid value on index option.'),r=o=a=null),s.models=t.queryComponents({mainType:e,index:r,id:o,name:a}),s)}function ko(t,e,n){t.setAttribute?t.setAttribute(e,n):t[e]=n}function Lo(t,e){var n=ft(),i=[];return E(t,(function(t){var r=e(t);(n.get(r)||(i.push(r),n.set(r,[]))).push(t)})),{keys:i,buckets:n}}function Po(t,e,n,i,r){var o=null==e||"auto"===e;if(null==i)return i;if(j(i))return zr(f=so(n||0,i,r),o?Math.max(Br(n||0),Br(i)):e);if(X(i))return r<1?n:i;for(var a=[],s=n,l=i,u=Math.max(s?s.length:0,l.length),h=0;h<u;++h){var c=t.getDimensionInfo(h);if(c&&"ordinal"===c.type)a[h]=(r<1&&s?s:l)[h];else{var p=s&&s[h]?s[h]:0,d=l[h],f=so(p,d,r);a[h]=zr(f,o?Math.max(Br(p),Br(d)):e)}}return a}var Oo="___EC__COMPONENT__CONTAINER___",Ro="___EC__EXTENDED_CLASS___";function No(t){var e={main:"",sub:""};if(t){var n=t.split(".");e.main=n[0]||"",e.sub=n[1]||""}return e}function Eo(t,e){t.$constructor=t,t.extend=function(t){var e,i,r=this;return U(i=r)&&/^class\s/.test(Function.prototype.toString.call(i))?e=function(t){function e(){return t.apply(this,arguments)||this}return n(e,t),e}(r):O(e=function(){(t.$constructor||r).apply(this,arguments)},this),A(e.prototype,t),e[Ro]=!0,e.extend=this.extend,e.superCall=Bo,e.superApply=Fo,e.superClass=r,e}}function zo(t,e){t.extend=e.extend}var Vo=Math.round(10*Math.random());function Bo(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return this.superClass.prototype[e].apply(t,n)}function Fo(t,e,n){return this.superClass.prototype[e].apply(t,n)}function Go(t){var e={};t.registerClass=function(t){var n,i=t.type||t.prototype.type;if(i){lt(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(n=i),'componentType "'+n+'" illegal'),t.prototype.type=i;var r=No(i);if(r.sub){if(r.sub!==Oo){(function(t){var n=e[t.main];n&&n[Oo]||((n=e[t.main]={})[Oo]=!0);return n}(r))[r.sub]=t}}else e[r.main]=t}return t},t.getClass=function(t,n,i){var r=e[t];if(r&&r[Oo]&&(r=n?r[n]:null),i&&!r)throw new Error(n?"Component "+t+"."+(n||"")+" is used but not imported.":t+".type should be specified.");return r},t.getClassesByMainType=function(t){var n=No(t),i=[],r=e[n.main];return r&&r[Oo]?E(r,(function(t,e){e!==Oo&&i.push(t)})):i.push(r),i},t.hasClass=function(t){var n=No(t);return!!e[n.main]},t.getAllClassMainTypes=function(){var t=[];return E(e,(function(e,n){t.push(n)})),t},t.hasSubTypes=function(t){var n=No(t),i=e[n.main];return i&&i[Oo]}}function Wo(t,e){for(var n=0;n<t.length;n++)t[n][1]||(t[n][1]=t[n][0]);return e=e||!1,function(n,i,r){for(var o={},a=0;a<t.length;a++){var s=t[a][1];if(!(i&&P(i,s)>=0||r&&P(r,s)<0)){var l=n.getShallow(s,e);null!=l&&(o[t[a][0]]=l)}}return o}}var Ho=Wo([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),Yo=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return Ho(this,t,e)},t}(),Uo=new ln(50);function Xo(t){if("string"==typeof t){var e=Uo.get(t);return e&&e.image}return t}function Zo(t,e,n,i,r){if(t){if("string"==typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var o=Uo.get(t),a={hostEl:n,cb:i,cbPayload:r};return o?!qo(e=o.image)&&o.pending.push(a):((e=h.loadImage(t,jo,jo)).__zrImageSrc=t,Uo.put(t,e.__cachedImgObj={image:e,pending:[a]})),e}return t}return e}function jo(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var n=t.pending[e],i=n.cb;i&&i(this,n.cbPayload),n.hostEl.dirty()}t.pending.length=0}function qo(t){return t&&t.width&&t.height}var Ko=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function $o(t,e,n,i,r){if(!e)return"";var o=(t+"").split("\n");r=Jo(e,n,i,r);for(var a=0,s=o.length;a<s;a++)o[a]=Qo(o[a],r);return o.join("\n")}function Jo(t,e,n,i){var r=A({},i=i||{});r.font=e,n=rt(n,"..."),r.maxIterations=rt(i.maxIterations,2);var o=r.minChar=rt(i.minChar,0);r.cnCharWidth=ur("国",e);var a=r.ascCharWidth=ur("a",e);r.placeholder=rt(i.placeholder,"");for(var s=t=Math.max(0,t-1),l=0;l<o&&s>=a;l++)s-=a;var u=ur(n,e);return u>s&&(n="",u=0),s=t-u,r.ellipsis=n,r.ellipsisWidth=u,r.contentWidth=s,r.containerWidth=t,r}function Qo(t,e){var n=e.containerWidth,i=e.font,r=e.contentWidth;if(!n)return"";var o=ur(t,i);if(o<=n)return t;for(var a=0;;a++){if(o<=r||a>=e.maxIterations){t+=e.ellipsis;break}var s=0===a?ta(t,r,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*r/o):0;o=ur(t=t.substr(0,s),i)}return""===t&&(t=e.placeholder),t}function ta(t,e,n,i){for(var r=0,o=0,a=t.length;o<a&&r<e;o++){var s=t.charCodeAt(o);r+=0<=s&&s<=127?n:i}return o}var ea=function(){},na=function(t){this.tokens=[],t&&(this.tokens=t)},ia=function(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]};function ra(t,e,n,i,r){var o,a,s=""===e,l=r&&n.rich[r]||{},u=t.lines,h=l.font||n.font,c=!1;if(i){var p=l.padding,d=p?p[1]+p[3]:0;if(null!=l.width&&"auto"!==l.width){var f=gr(l.width,i.width)+d;u.length>0&&f+i.accumWidth>i.width&&(o=e.split("\n"),c=!0),i.accumWidth=f}else{var g=sa(e,h,i.width,i.breakAll,i.accumWidth);i.accumWidth=g.accumWidth+d,a=g.linesWidths,o=g.lines}}else o=e.split("\n");for(var y=0;y<o.length;y++){var v=o[y],m=new ea;if(m.styleName=r,m.text=v,m.isLineHolder=!v&&!s,"number"==typeof l.width?m.width=l.width:m.width=a?a[y]:ur(v,h),y||c)u.push(new na([m]));else{var x=(u[u.length-1]||(u[0]=new na)).tokens,_=x.length;1===_&&x[0].isLineHolder?x[0]=m:(v||!_||s)&&x.push(m)}}}var oa=V(",&?/;] ".split(""),(function(t,e){return t[e]=!0,t}),{});function aa(t){return!function(t){var e=t.charCodeAt(0);return e>=33&&e<=383}(t)||!!oa[t]}function sa(t,e,n,i,r){for(var o=[],a=[],s="",l="",u=0,h=0,c=0;c<t.length;c++){var p=t.charAt(c);if("\n"!==p){var d=ur(p,e),f=!i&&!aa(p);(o.length?h+d>n:r+h+d>n)?h?(s||l)&&(f?(s||(s=l,l="",h=u=0),o.push(s),a.push(h-u),l+=p,s="",h=u+=d):(l&&(s+=l,l="",u=0),o.push(s),a.push(h),s=p,h=d)):f?(o.push(l),a.push(u),l=p,u=d):(o.push(p),a.push(d)):(h+=d,f?(l+=p,u+=d):(l&&(s+=l,l="",u=0),s+=p))}else l&&(s+=l,h+=u),o.push(s),a.push(h),s="",l="",u=0,h=0}return o.length||s||(s=t,l="",u=0),l&&(s+=l),s&&(o.push(s),a.push(h)),1===o.length&&(h+=r),{accumWidth:h,lines:o,linesWidths:a}}var la="__zr_style_"+Math.round(10*Math.random()),ua={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},ha={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};ua[la]=!0;var ca=["z","z2","invisible"],pa=["invisible"],da=function(t){function e(e){return t.call(this,e)||this}var i;return n(e,t),e.prototype._init=function(e){for(var n=G(e),i=0;i<n.length;i++){var r=n[i];"style"===r?this.useStyle(e[r]):t.prototype.attrKV.call(this,r,e[r])}this.style||this.useStyle({})},e.prototype.beforeBrush=function(){},e.prototype.afterBrush=function(){},e.prototype.innerBeforeBrush=function(){},e.prototype.innerAfterBrush=function(){},e.prototype.shouldBePainted=function(t,e,n,i){var r=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&function(t,e,n){fa.copy(t.getBoundingRect()),t.transform&&fa.applyTransform(t.transform);return ga.width=e,ga.height=n,!fa.intersect(ga)}(this,t,e)||r&&!r[0]&&!r[3])return!1;if(n&&this.__clipPaths)for(var o=0;o<this.__clipPaths.length;++o)if(this.__clipPaths[o].isZeroArea())return!1;if(i&&this.parent)for(var a=this.parent;a;){if(a.ignore)return!1;a=a.parent}return!0},e.prototype.contain=function(t,e){return this.rectContain(t,e)},e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.rectContain=function(t,e){var n=this.transformCoordToLocal(t,e);return this.getBoundingRect().contain(n[0],n[1])},e.prototype.getPaintRect=function(){var t=this._paintRect;if(!this._paintRect||this.__dirty){var e=this.transform,n=this.getBoundingRect(),i=this.style,r=i.shadowBlur||0,o=i.shadowOffsetX||0,a=i.shadowOffsetY||0;t=this._paintRect||(this._paintRect=new sr(0,0,0,0)),e?sr.applyTransform(t,n,e):t.copy(n),(r||o||a)&&(t.width+=2*r+Math.abs(o),t.height+=2*r+Math.abs(a),t.x=Math.min(t.x,t.x+o-r),t.y=Math.min(t.y,t.y+a-r));var s=this.dirtyRectTolerance;t.isZero()||(t.x=Math.floor(t.x-s),t.y=Math.floor(t.y-s),t.width=Math.ceil(t.width+1+2*s),t.height=Math.ceil(t.height+1+2*s))}return t},e.prototype.setPrevPaintRect=function(t){t?(this._prevPaintRect=this._prevPaintRect||new sr(0,0,0,0),this._prevPaintRect.copy(t)):this._prevPaintRect=null},e.prototype.getPrevPaintRect=function(){return this._prevPaintRect},e.prototype.animateStyle=function(t){return this.animate("style",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():this.markRedraw()},e.prototype.attrKV=function(e,n){"style"!==e?t.prototype.attrKV.call(this,e,n):this.style?this.setStyle(n):this.useStyle(n)},e.prototype.setStyle=function(t,e){return"string"==typeof t?this.style[t]=e:A(this.style,t),this.dirtyStyle(),this},e.prototype.dirtyStyle=function(t){t||this.markRedraw(),this.__dirty|=2,this._rect&&(this._rect=null)},e.prototype.dirty=function(){this.dirtyStyle()},e.prototype.styleChanged=function(){return!!(2&this.__dirty)},e.prototype.styleUpdated=function(){this.__dirty&=-3},e.prototype.createStyle=function(t){return yt(ua,t)},e.prototype.useStyle=function(t){t[la]||(t=this.createStyle(t)),this.__inHover?this.__hoverStyle=t:this.style=t,this.dirtyStyle()},e.prototype.isStyleObject=function(t){return t[la]},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.style&&!n.style&&(n.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(e,n,ca)},e.prototype._applyStateObj=function(e,n,i,r,o,a){t.prototype._applyStateObj.call(this,e,n,i,r,o,a);var s,l=!(n&&r);if(n&&n.style?o?r?s=n.style:(s=this._mergeStyle(this.createStyle(),i.style),this._mergeStyle(s,n.style)):(s=this._mergeStyle(this.createStyle(),r?this.style:i.style),this._mergeStyle(s,n.style)):l&&(s=i.style),s)if(o){var u=this.style;if(this.style=this.createStyle(l?{}:u),l)for(var h=G(u),c=0;c<h.length;c++){(d=h[c])in s&&(s[d]=s[d],this.style[d]=u[d])}var p=G(s);for(c=0;c<p.length;c++){var d=p[c];this.style[d]=this.style[d]}this._transitionState(e,{style:s},a,this.getAnimationStyleProps())}else this.useStyle(s);var f=this.__inHover?pa:ca;for(c=0;c<f.length;c++){d=f[c];n&&null!=n[d]?this[d]=n[d]:l&&null!=i[d]&&(this[d]=i[d])}},e.prototype._mergeStates=function(e){for(var n,i=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var o=e[r];o.style&&(n=n||{},this._mergeStyle(n,o.style))}return n&&(i.style=n),i},e.prototype._mergeStyle=function(t,e){return A(t,e),t},e.prototype.getAnimationStyleProps=function(){return ha},e.initDefaultProps=((i=e.prototype).type="displayable",i.invisible=!1,i.z=0,i.z2=0,i.zlevel=0,i.culling=!1,i.cursor="pointer",i.rectHover=!1,i.incremental=!1,i._rect=null,i.dirtyRectTolerance=0,void(i.__dirty=3)),e}(wr),fa=new sr(0,0,0,0),ga=new sr(0,0,0,0);var ya=Math.min,va=Math.max,ma=Math.sin,xa=Math.cos,_a=2*Math.PI,ba=wt(),wa=wt(),Sa=wt();function Ma(t,e,n){if(0!==t.length){for(var i=t[0],r=i[0],o=i[0],a=i[1],s=i[1],l=1;l<t.length;l++)i=t[l],r=ya(r,i[0]),o=va(o,i[0]),a=ya(a,i[1]),s=va(s,i[1]);e[0]=r,e[1]=a,n[0]=o,n[1]=s}}function Ia(t,e,n,i,r,o){r[0]=ya(t,n),r[1]=ya(e,i),o[0]=va(t,n),o[1]=va(e,i)}var Ta=[],Ca=[];function Da(t,e,n,i,r,o,a,s,l,u){var h=Xe,c=He,p=h(t,n,r,a,Ta);l[0]=1/0,l[1]=1/0,u[0]=-1/0,u[1]=-1/0;for(var d=0;d<p;d++){var f=c(t,n,r,a,Ta[d]);l[0]=ya(f,l[0]),u[0]=va(f,u[0])}p=h(e,i,o,s,Ca);for(d=0;d<p;d++){var g=c(e,i,o,s,Ca[d]);l[1]=ya(g,l[1]),u[1]=va(g,u[1])}l[0]=ya(t,l[0]),u[0]=va(t,u[0]),l[0]=ya(a,l[0]),u[0]=va(a,u[0]),l[1]=ya(e,l[1]),u[1]=va(e,u[1]),l[1]=ya(s,l[1]),u[1]=va(s,u[1])}function Aa(t,e,n,i,r,o,a,s){var l=Je,u=Ke,h=va(ya(l(t,n,r),1),0),c=va(ya(l(e,i,o),1),0),p=u(t,n,r,h),d=u(e,i,o,c);a[0]=ya(t,r,p),a[1]=ya(e,o,d),s[0]=va(t,r,p),s[1]=va(e,o,d)}function ka(t,e,n,i,r,o,a,s,l){var u=Gt,h=Wt,c=Math.abs(r-o);if(c%_a<1e-4&&c>1e-4)return s[0]=t-n,s[1]=e-i,l[0]=t+n,void(l[1]=e+i);if(ba[0]=xa(r)*n+t,ba[1]=ma(r)*i+e,wa[0]=xa(o)*n+t,wa[1]=ma(o)*i+e,u(s,ba,wa),h(l,ba,wa),(r%=_a)<0&&(r+=_a),(o%=_a)<0&&(o+=_a),r>o&&!a?o+=_a:r<o&&a&&(r+=_a),a){var p=o;o=r,r=p}for(var d=0;d<o;d+=Math.PI/2)d>r&&(Sa[0]=xa(d)*n+t,Sa[1]=ma(d)*i+e,u(s,Sa,s),h(l,Sa,l))}var La={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},Pa=[],Oa=[],Ra=[],Na=[],Ea=[],za=[],Va=Math.min,Ba=Math.max,Fa=Math.cos,Ga=Math.sin,Wa=Math.abs,Ha=Math.PI,Ya=2*Ha,Ua="undefined"!=typeof Float32Array,Xa=[];function Za(t){return Math.round(t/Ha*1e8)/1e8%2*Ha}function ja(t,e){var n=Za(t[0]);n<0&&(n+=Ya);var i=n-t[0],r=t[1];r+=i,!e&&r-n>=Ya?r=n+Ya:e&&n-r>=Ya?r=n-Ya:!e&&n>r?r=n+(Ya-Za(n-r)):e&&n<r&&(r=n-(Ya-Za(r-n))),t[0]=n,t[1]=r}var qa=function(){function t(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}return t.prototype.increaseVersion=function(){this._version++},t.prototype.getVersion=function(){return this._version},t.prototype.setScale=function(t,e,n){(n=n||0)>0&&(this._ux=Wa(n/Ai/t)||0,this._uy=Wa(n/Ai/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(La.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},t.prototype.lineTo=function(t,e){var n=Wa(t-this._xi),i=Wa(e-this._yi),r=n>this._ux||i>this._uy;if(this.addData(La.L,t,e),this._ctx&&r&&this._ctx.lineTo(t,e),r)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=n*n+i*i;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},t.prototype.bezierCurveTo=function(t,e,n,i,r,o){return this._drawPendingPt(),this.addData(La.C,t,e,n,i,r,o),this._ctx&&this._ctx.bezierCurveTo(t,e,n,i,r,o),this._xi=r,this._yi=o,this},t.prototype.quadraticCurveTo=function(t,e,n,i){return this._drawPendingPt(),this.addData(La.Q,t,e,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,i),this._xi=n,this._yi=i,this},t.prototype.arc=function(t,e,n,i,r,o){this._drawPendingPt(),Xa[0]=i,Xa[1]=r,ja(Xa,o),i=Xa[0];var a=(r=Xa[1])-i;return this.addData(La.A,t,e,n,n,i,a,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,i,r,o),this._xi=Fa(r)*n+t,this._yi=Ga(r)*n+e,this},t.prototype.arcTo=function(t,e,n,i,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},t.prototype.rect=function(t,e,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,i),this.addData(La.R,t,e,n,i),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(La.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},t.prototype.fill=function(t){t&&t.fill(),this.toStatic()},t.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},t.prototype.len=function(){return this._len},t.prototype.setData=function(t){var e=t.length;this.data&&this.data.length===e||!Ua||(this.data=new Float32Array(e));for(var n=0;n<e;n++)this.data[n]=t[n];this._len=e},t.prototype.appendPath=function(t){t instanceof Array||(t=[t]);for(var e=t.length,n=0,i=this._len,r=0;r<e;r++)n+=t[r].len();Ua&&this.data instanceof Float32Array&&(this.data=new Float32Array(i+n));for(r=0;r<e;r++)for(var o=t[r].data,a=0;a<o.length;a++)this.data[i++]=o[a];this._len=i},t.prototype.addData=function(t,e,n,i,r,o,a,s,l){if(this._saveData){var u=this.data;this._len+arguments.length>u.length&&(this._expandData(),u=this.data);for(var h=0;h<arguments.length;h++)u[this._len++]=arguments[h]}},t.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e<this._len;e++)t[e]=this.data[e];this.data=t}},t.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,Ua&&this._len>11&&(this.data=new Float32Array(t)))}},t.prototype.getBoundingRect=function(){Ra[0]=Ra[1]=Ea[0]=Ea[1]=Number.MAX_VALUE,Na[0]=Na[1]=za[0]=za[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,i=0,r=0,o=0;for(t=0;t<this._len;){var a=e[t++],s=1===t;switch(s&&(r=n=e[t],o=i=e[t+1]),a){case La.M:n=r=e[t++],i=o=e[t++],Ea[0]=r,Ea[1]=o,za[0]=r,za[1]=o;break;case La.L:Ia(n,i,e[t],e[t+1],Ea,za),n=e[t++],i=e[t++];break;case La.C:Da(n,i,e[t++],e[t++],e[t++],e[t++],e[t],e[t+1],Ea,za),n=e[t++],i=e[t++];break;case La.Q:Aa(n,i,e[t++],e[t++],e[t],e[t+1],Ea,za),n=e[t++],i=e[t++];break;case La.A:var l=e[t++],u=e[t++],h=e[t++],c=e[t++],p=e[t++],d=e[t++]+p;t+=1;var f=!e[t++];s&&(r=Fa(p)*h+l,o=Ga(p)*c+u),ka(l,u,h,c,p,d,f,Ea,za),n=Fa(d)*h+l,i=Ga(d)*c+u;break;case La.R:Ia(r=n=e[t++],o=i=e[t++],r+e[t++],o+e[t++],Ea,za);break;case La.Z:n=r,i=o}Gt(Ra,Ra,Ea),Wt(Na,Na,za)}return 0===t&&(Ra[0]=Ra[1]=Na[0]=Na[1]=0),new sr(Ra[0],Ra[1],Na[0]-Ra[0],Na[1]-Ra[1])},t.prototype._calculateLength=function(){var t=this.data,e=this._len,n=this._ux,i=this._uy,r=0,o=0,a=0,s=0;this._pathSegLen||(this._pathSegLen=[]);for(var l=this._pathSegLen,u=0,h=0,c=0;c<e;){var p=t[c++],d=1===c;d&&(a=r=t[c],s=o=t[c+1]);var f=-1;switch(p){case La.M:r=a=t[c++],o=s=t[c++];break;case La.L:var g=t[c++],y=(x=t[c++])-o;(Wa(A=g-r)>n||Wa(y)>i||c===e-1)&&(f=Math.sqrt(A*A+y*y),r=g,o=x);break;case La.C:var v=t[c++],m=t[c++],x=(g=t[c++],t[c++]),_=t[c++],b=t[c++];f=qe(r,o,v,m,g,x,_,b,10),r=_,o=b;break;case La.Q:f=en(r,o,v=t[c++],m=t[c++],g=t[c++],x=t[c++],10),r=g,o=x;break;case La.A:var w=t[c++],S=t[c++],M=t[c++],I=t[c++],T=t[c++],C=t[c++],D=C+T;c+=1;t[c++];d&&(a=Fa(T)*M+w,s=Ga(T)*I+S),f=Ba(M,I)*Va(Ya,Math.abs(C)),r=Fa(D)*M+w,o=Ga(D)*I+S;break;case La.R:a=r=t[c++],s=o=t[c++],f=2*t[c++]+2*t[c++];break;case La.Z:var A=a-r;y=s-o;f=Math.sqrt(A*A+y*y),r=a,o=s}f>=0&&(l[h++]=f,u+=f)}return this._pathLen=u,u},t.prototype.rebuildPath=function(t,e){var n,i,r,o,a,s,l,u,h,c,p=this.data,d=this._ux,f=this._uy,g=this._len,y=e<1,v=0,m=0,x=0;if(!y||(this._pathSegLen||this._calculateLength(),l=this._pathSegLen,u=e*this._pathLen))t:for(var _=0;_<g;){var b=p[_++],w=1===_;switch(w&&(n=r=p[_],i=o=p[_+1]),b!==La.L&&x>0&&(t.lineTo(h,c),x=0),b){case La.M:n=r=p[_++],i=o=p[_++],t.moveTo(r,o);break;case La.L:a=p[_++],s=p[_++];var S=Wa(a-r),M=Wa(s-o);if(S>d||M>f){if(y){if(v+(j=l[m++])>u){var I=(u-v)/j;t.lineTo(r*(1-I)+a*I,o*(1-I)+s*I);break t}v+=j}t.lineTo(a,s),r=a,o=s,x=0}else{var T=S*S+M*M;T>x&&(h=a,c=s,x=T)}break;case La.C:var C=p[_++],D=p[_++],A=p[_++],k=p[_++],L=p[_++],P=p[_++];if(y){if(v+(j=l[m++])>u){Ze(r,C,A,L,I=(u-v)/j,Pa),Ze(o,D,k,P,I,Oa),t.bezierCurveTo(Pa[1],Oa[1],Pa[2],Oa[2],Pa[3],Oa[3]);break t}v+=j}t.bezierCurveTo(C,D,A,k,L,P),r=L,o=P;break;case La.Q:C=p[_++],D=p[_++],A=p[_++],k=p[_++];if(y){if(v+(j=l[m++])>u){Qe(r,C,A,I=(u-v)/j,Pa),Qe(o,D,k,I,Oa),t.quadraticCurveTo(Pa[1],Oa[1],Pa[2],Oa[2]);break t}v+=j}t.quadraticCurveTo(C,D,A,k),r=A,o=k;break;case La.A:var O=p[_++],R=p[_++],N=p[_++],E=p[_++],z=p[_++],V=p[_++],B=p[_++],F=!p[_++],G=N>E?N:E,W=Wa(N-E)>.001,H=z+V,Y=!1;if(y)v+(j=l[m++])>u&&(H=z+V*(u-v)/j,Y=!0),v+=j;if(W&&t.ellipse?t.ellipse(O,R,N,E,B,z,H,F):t.arc(O,R,G,z,H,F),Y)break t;w&&(n=Fa(z)*N+O,i=Ga(z)*E+R),r=Fa(H)*N+O,o=Ga(H)*E+R;break;case La.R:n=r=p[_],i=o=p[_+1],a=p[_++],s=p[_++];var U=p[_++],X=p[_++];if(y){if(v+(j=l[m++])>u){var Z=u-v;t.moveTo(a,s),t.lineTo(a+Va(Z,U),s),(Z-=U)>0&&t.lineTo(a+U,s+Va(Z,X)),(Z-=X)>0&&t.lineTo(a+Ba(U-Z,0),s+X),(Z-=U)>0&&t.lineTo(a,s+Ba(X-Z,0));break t}v+=j}t.rect(a,s,U,X);break;case La.Z:if(y){var j;if(v+(j=l[m++])>u){I=(u-v)/j;t.lineTo(r*(1-I)+n*I,o*(1-I)+i*I);break t}v+=j}t.closePath(),r=n,o=i}}},t.prototype.clone=function(){var e=new t,n=this.data;return e.data=n.slice?n.slice():Array.prototype.slice.call(n),e._len=this._len,e},t.CMD=La,t.initDefaultProps=function(){var e=t.prototype;e._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0}(),t}();function Ka(t,e,n,i,r,o,a){if(0===r)return!1;var s=r,l=0;if(a>e+s&&a>i+s||a<e-s&&a<i-s||o>t+s&&o>n+s||o<t-s&&o<n-s)return!1;if(t===n)return Math.abs(o-t)<=s/2;var u=(l=(e-i)/(t-n))*o-a+(t*i-n*e)/(t-n);return u*u/(l*l+1)<=s/2*s/2}function $a(t,e,n,i,r,o,a,s,l,u,h){if(0===l)return!1;var c=l;return!(h>e+c&&h>i+c&&h>o+c&&h>s+c||h<e-c&&h<i-c&&h<o-c&&h<s-c||u>t+c&&u>n+c&&u>r+c&&u>a+c||u<t-c&&u<n-c&&u<r-c&&u<a-c)&&je(t,e,n,i,r,o,a,s,u,h,null)<=c/2}function Ja(t,e,n,i,r,o,a,s,l){if(0===a)return!1;var u=a;return!(l>e+u&&l>i+u&&l>o+u||l<e-u&&l<i-u&&l<o-u||s>t+u&&s>n+u&&s>r+u||s<t-u&&s<n-u&&s<r-u)&&tn(t,e,n,i,r,o,s,l,null)<=u/2}var Qa=2*Math.PI;function ts(t){return(t%=Qa)<0&&(t+=Qa),t}var es=2*Math.PI;function ns(t,e,n,i,r,o,a,s,l){if(0===a)return!1;var u=a;s-=t,l-=e;var h=Math.sqrt(s*s+l*l);if(h-u>n||h+u<n)return!1;if(Math.abs(i-r)%es<1e-4)return!0;if(o){var c=i;i=ts(r),r=ts(c)}else i=ts(i),r=ts(r);i>r&&(r+=es);var p=Math.atan2(l,s);return p<0&&(p+=es),p>=i&&p<=r||p+es>=i&&p+es<=r}function is(t,e,n,i,r,o){if(o>e&&o>i||o<e&&o<i)return 0;if(i===e)return 0;var a=(o-e)/(i-e),s=i<e?1:-1;1!==a&&0!==a||(s=i<e?.5:-.5);var l=a*(n-t)+t;return l===r?1/0:l>r?s:0}var rs=qa.CMD,os=2*Math.PI;var as=[-1,-1,-1],ss=[-1,-1];function ls(t,e,n,i,r,o,a,s,l,u){if(u>e&&u>i&&u>o&&u>s||u<e&&u<i&&u<o&&u<s)return 0;var h,c=Ue(e,i,o,s,u,as);if(0===c)return 0;for(var p=0,d=-1,f=void 0,g=void 0,y=0;y<c;y++){var v=as[y],m=0===v||1===v?.5:1;He(t,n,r,a,v)<l||(d<0&&(d=Xe(e,i,o,s,ss),ss[1]<ss[0]&&d>1&&(h=void 0,h=ss[0],ss[0]=ss[1],ss[1]=h),f=He(e,i,o,s,ss[0]),d>1&&(g=He(e,i,o,s,ss[1]))),2===d?v<ss[0]?p+=f<e?m:-m:v<ss[1]?p+=g<f?m:-m:p+=s<g?m:-m:v<ss[0]?p+=f<e?m:-m:p+=s<f?m:-m)}return p}function us(t,e,n,i,r,o,a,s){if(s>e&&s>i&&s>o||s<e&&s<i&&s<o)return 0;var l=function(t,e,n,i,r){var o=t-2*e+n,a=2*(e-t),s=t-i,l=0;if(Ge(o))We(a)&&(h=-s/a)>=0&&h<=1&&(r[l++]=h);else{var u=a*a-4*o*s;if(Ge(u))(h=-a/(2*o))>=0&&h<=1&&(r[l++]=h);else if(u>0){var h,c=Oe(u),p=(-a-c)/(2*o);(h=(-a+c)/(2*o))>=0&&h<=1&&(r[l++]=h),p>=0&&p<=1&&(r[l++]=p)}}return l}(e,i,o,s,as);if(0===l)return 0;var u=Je(e,i,o);if(u>=0&&u<=1){for(var h=0,c=Ke(e,i,o,u),p=0;p<l;p++){var d=0===as[p]||1===as[p]?.5:1;Ke(t,n,r,as[p])<a||(as[p]<u?h+=c<e?d:-d:h+=o<c?d:-d)}return h}d=0===as[0]||1===as[0]?.5:1;return Ke(t,n,r,as[0])<a?0:o<e?d:-d}function hs(t,e,n,i,r,o,a,s){if((s-=e)>n||s<-n)return 0;var l=Math.sqrt(n*n-s*s);as[0]=-l,as[1]=l;var u=Math.abs(i-r);if(u<1e-4)return 0;if(u>=os-1e-4){i=0,r=os;var h=o?1:-1;return a>=as[0]+t&&a<=as[1]+t?h:0}if(i>r){var c=i;i=r,r=c}i<0&&(i+=os,r+=os);for(var p=0,d=0;d<2;d++){var f=as[d];if(f+t>a){var g=Math.atan2(s,f);h=o?1:-1;g<0&&(g=os+g),(g>=i&&g<=r||g+os>=i&&g+os<=r)&&(g>Math.PI/2&&g<1.5*Math.PI&&(h=-h),p+=h)}}return p}function cs(t,e,n,i,r){for(var o,a,s,l,u=t.data,h=t.len(),c=0,p=0,d=0,f=0,g=0,y=0;y<h;){var v=u[y++],m=1===y;switch(v===rs.M&&y>1&&(n||(c+=is(p,d,f,g,i,r))),m&&(f=p=u[y],g=d=u[y+1]),v){case rs.M:p=f=u[y++],d=g=u[y++];break;case rs.L:if(n){if(Ka(p,d,u[y],u[y+1],e,i,r))return!0}else c+=is(p,d,u[y],u[y+1],i,r)||0;p=u[y++],d=u[y++];break;case rs.C:if(n){if($a(p,d,u[y++],u[y++],u[y++],u[y++],u[y],u[y+1],e,i,r))return!0}else c+=ls(p,d,u[y++],u[y++],u[y++],u[y++],u[y],u[y+1],i,r)||0;p=u[y++],d=u[y++];break;case rs.Q:if(n){if(Ja(p,d,u[y++],u[y++],u[y],u[y+1],e,i,r))return!0}else c+=us(p,d,u[y++],u[y++],u[y],u[y+1],i,r)||0;p=u[y++],d=u[y++];break;case rs.A:var x=u[y++],_=u[y++],b=u[y++],w=u[y++],S=u[y++],M=u[y++];y+=1;var I=!!(1-u[y++]);o=Math.cos(S)*b+x,a=Math.sin(S)*w+_,m?(f=o,g=a):c+=is(p,d,o,a,i,r);var T=(i-x)*w/b+x;if(n){if(ns(x,_,w,S,S+M,I,e,T,r))return!0}else c+=hs(x,_,w,S,S+M,I,T,r);p=Math.cos(S+M)*b+x,d=Math.sin(S+M)*w+_;break;case rs.R:if(f=p=u[y++],g=d=u[y++],o=f+u[y++],a=g+u[y++],n){if(Ka(f,g,o,g,e,i,r)||Ka(o,g,o,a,e,i,r)||Ka(o,a,f,a,e,i,r)||Ka(f,a,f,g,e,i,r))return!0}else c+=is(o,g,o,a,i,r),c+=is(f,a,f,g,i,r);break;case rs.Z:if(n){if(Ka(p,d,f,g,e,i,r))return!0}else c+=is(p,d,f,g,i,r);p=f,d=g}}return n||(s=d,l=g,Math.abs(s-l)<1e-4)||(c+=is(p,d,f,g,i,r)||0),0!==c}var ps=k({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},ua),ds={style:k({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},ha.style)},fs=Ki.concat(["invisible","culling","z","z2","zlevel","parent"]),gs=function(t){function e(e){return t.call(this,e)||this}var i;return n(e,t),e.prototype.update=function(){var n=this;t.prototype.update.call(this);var i=this.style;if(i.decal){var r=this._decalEl=this._decalEl||new e;r.buildPath===e.prototype.buildPath&&(r.buildPath=function(t){n.buildPath(t,n.shape)}),r.silent=!0;var o=r.style;for(var a in i)o[a]!==i[a]&&(o[a]=i[a]);o.fill=i.fill?i.decal:null,o.decal=null,o.shadowColor=null,i.strokeFirst&&(o.stroke=null);for(var s=0;s<fs.length;++s)r[fs[s]]=this[fs[s]];r.__dirty|=1}else this._decalEl&&(this._decalEl=null)},e.prototype.getDecalElement=function(){return this._decalEl},e.prototype._init=function(e){var n=G(e);this.shape=this.getDefaultShape();var i=this.getDefaultStyle();i&&this.useStyle(i);for(var r=0;r<n.length;r++){var o=n[r],a=e[o];"style"===o?this.style?A(this.style,a):this.useStyle(a):"shape"===o?A(this.shape,a):t.prototype.attrKV.call(this,o,a)}this.style||this.useStyle({})},e.prototype.getDefaultStyle=function(){return null},e.prototype.getDefaultShape=function(){return{}},e.prototype.canBeInsideText=function(){return this.hasFill()},e.prototype.getInsideTextFill=function(){var t=this.style.fill;if("none"!==t){if(X(t)){var e=Ln(t,0);return e>.5?ki:e>.2?"#eee":Li}if(t)return Li}return ki},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(X(e)){var n=this.__zr;if(!(!n||!n.isDarkMode())===Ln(t,0)<.4)return e}},e.prototype.buildPath=function(t,e,n){},e.prototype.pathUpdated=function(){this.__dirty&=-5},e.prototype.getUpdatedPathProxy=function(t){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},e.prototype.createPathProxy=function(){this.path=new qa(!1)},e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,n=!t;if(n){var i=!1;this.path||(i=!0,this.createPathProxy());var r=this.path;(i||4&this.__dirty)&&(r.beginPath(),this.buildPath(r,this.shape,!1),this.pathUpdated()),t=r.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||n){o.copy(t);var a=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return t},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),r=this.style;if(t=n[0],e=n[1],i.contain(t,e)){var o=this.path;if(this.hasStroke()){var a=r.lineWidth,s=r.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),function(t,e,n,i){return cs(t,e,!0,n,i)}(o,a/s,t,e)))return!0}if(this.hasFill())return function(t,e,n){return cs(t,0,!1,e,n)}(o,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=4,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(t){return this.animate("shape",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(e,n){"shape"===e?this.setShape(n):t.prototype.attrKV.call(this,e,n)},e.prototype.setShape=function(t,e){var n=this.shape;return n||(n=this.shape={}),"string"==typeof t?n[t]=e:A(n,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(4&this.__dirty)},e.prototype.createStyle=function(t){return yt(ps,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=A({},this.shape))},e.prototype._applyStateObj=function(e,n,i,r,o,a){t.prototype._applyStateObj.call(this,e,n,i,r,o,a);var s,l=!(n&&r);if(n&&n.shape?o?r?s=n.shape:(s=A({},i.shape),A(s,n.shape)):(s=A({},r?this.shape:i.shape),A(s,n.shape)):l&&(s=i.shape),s)if(o){this.shape=A({},this.shape);for(var u={},h=G(s),c=0;c<h.length;c++){var p=h[c];"object"==typeof s[p]?this.shape[p]=s[p]:u[p]=s[p]}this._transitionState(e,{shape:u},a)}else this.shape=s,this.dirtyShape()},e.prototype._mergeStates=function(e){for(var n,i=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var o=e[r];o.shape&&(n=n||{},this._mergeStyle(n,o.shape))}return n&&(i.shape=n),i},e.prototype.getAnimationStyleProps=function(){return ds},e.prototype.isZeroArea=function(){return!1},e.extend=function(t){var i=function(e){function i(n){var i=e.call(this,n)||this;return t.init&&t.init.call(i,n),i}return n(i,e),i.prototype.getDefaultStyle=function(){return T(t.style)},i.prototype.getDefaultShape=function(){return T(t.shape)},i}(e);for(var r in t)"function"==typeof t[r]&&(i.prototype[r]=t[r]);return i},e.initDefaultProps=((i=e.prototype).type="path",i.strokeContainThreshold=5,i.segmentIgnoreThreshold=0,i.subPixelOptimize=!1,i.autoBatch=!1,void(i.__dirty=7)),e}(da),ys=k({strokeFirst:!0,font:a,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},ps),vs=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.createStyle=function(t){return yt(ys,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=cr(e,t.font,t.textAlign,t.textBaseline);if(n.x+=t.x||0,n.y+=t.y||0,this.hasStroke()){var i=t.lineWidth;n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i}this._rect=n}return this._rect},e.initDefaultProps=void(e.prototype.dirtyRectTolerance=10),e}(da);vs.prototype.type="tspan";var ms=k({x:0,y:0},ua),xs={style:k({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},ha.style)};var _s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.createStyle=function(t){return yt(ms,t)},e.prototype._getSize=function(t){var e=this.style,n=e[t];if(null!=n)return n;var i,r=(i=e.image)&&"string"!=typeof i&&i.width&&i.height?e.image:this.__image;if(!r)return 0;var o="width"===t?"height":"width",a=e[o];return null==a?r[t]:r[t]/r[o]*a},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return xs},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new sr(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(da);_s.prototype.type="image";var bs=Math.round;function ws(t,e,n){if(e){var i=e.x1,r=e.x2,o=e.y1,a=e.y2;t.x1=i,t.x2=r,t.y1=o,t.y2=a;var s=n&&n.lineWidth;return s?(bs(2*i)===bs(2*r)&&(t.x1=t.x2=Ms(i,s,!0)),bs(2*o)===bs(2*a)&&(t.y1=t.y2=Ms(o,s,!0)),t):t}}function Ss(t,e,n){if(e){var i=e.x,r=e.y,o=e.width,a=e.height;t.x=i,t.y=r,t.width=o,t.height=a;var s=n&&n.lineWidth;return s?(t.x=Ms(i,s,!0),t.y=Ms(r,s,!0),t.width=Math.max(Ms(i+o,s,!1)-t.x,0===o?0:1),t.height=Math.max(Ms(r+a,s,!1)-t.y,0===a?0:1),t):t}}function Ms(t,e,n){if(!e)return t;var i=bs(2*t);return(i+bs(e))%2==0?i/2:(i+(n?1:-1))/2}var Is=function(){this.x=0,this.y=0,this.width=0,this.height=0},Ts={},Cs=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.getDefaultShape=function(){return new Is},e.prototype.buildPath=function(t,e){var n,i,r,o;if(this.subPixelOptimize){var a=Ss(Ts,e,this.style);n=a.x,i=a.y,r=a.width,o=a.height,a.r=e.r,e=a}else n=e.x,i=e.y,r=e.width,o=e.height;e.r?function(t,e){var n,i,r,o,a,s=e.x,l=e.y,u=e.width,h=e.height,c=e.r;u<0&&(s+=u,u=-u),h<0&&(l+=h,h=-h),"number"==typeof c?n=i=r=o=c:c instanceof Array?1===c.length?n=i=r=o=c[0]:2===c.length?(n=r=c[0],i=o=c[1]):3===c.length?(n=c[0],i=o=c[1],r=c[2]):(n=c[0],i=c[1],r=c[2],o=c[3]):n=i=r=o=0,n+i>u&&(n*=u/(a=n+i),i*=u/a),r+o>u&&(r*=u/(a=r+o),o*=u/a),i+r>h&&(i*=h/(a=i+r),r*=h/a),n+o>h&&(n*=h/(a=n+o),o*=h/a),t.moveTo(s+n,l),t.lineTo(s+u-i,l),0!==i&&t.arc(s+u-i,l+i,i,-Math.PI/2,0),t.lineTo(s+u,l+h-r),0!==r&&t.arc(s+u-r,l+h-r,r,0,Math.PI/2),t.lineTo(s+o,l+h),0!==o&&t.arc(s+o,l+h-o,o,Math.PI/2,Math.PI),t.lineTo(s,l+n),0!==n&&t.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}(t,e):t.rect(n,i,r,o)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(gs);Cs.prototype.type="rect";var Ds={fill:"#000"},As={style:k({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},ha.style)},ks=function(t){function e(e){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=Ds,n.attr(e),n}return n(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;e<this._children.length;e++){var n=this._children[e];n.zlevel=this.zlevel,n.z=this.z,n.z2=this.z2,n.culling=this.culling,n.cursor=this.cursor,n.invisible=this.invisible}},e.prototype.updateTransform=function(){var e=this.innerTransformable;e?(e.updateTransform(),e.transform&&(this.transform=e.transform)):t.prototype.updateTransform.call(this)},e.prototype.getLocalTransform=function(e){var n=this.innerTransformable;return n?n.getLocalTransform(e):t.prototype.getLocalTransform.call(this,e)},e.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),t.prototype.getComputedTransform.call(this)},e.prototype._updateSubTexts=function(){var t;this._childCursor=0,zs(t=this.style),E(t.rich,zs),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=e},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=null},e.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var t=new sr(0,0,0,0),e=this._children,n=[],i=null,r=0;r<e.length;r++){var o=e[r],a=o.getBoundingRect(),s=o.getLocalTransform(n);s?(t.copy(a),t.applyTransform(s),(i=i||t.clone()).union(t)):(i=i||a.clone()).union(a)}this._rect=i||t}return this._rect},e.prototype.setDefaultTextStyle=function(t){this._defaultStyle=t||Ds},e.prototype.setTextContent=function(t){0},e.prototype._mergeStyle=function(t,e){if(!e)return t;var n=e.rich,i=t.rich||n&&{};return A(t,e),n&&i?(this._mergeRich(i,n),t.rich=i):i&&(t.rich=i),t},e.prototype._mergeRich=function(t,e){for(var n=G(e),i=0;i<n.length;i++){var r=n[i];t[r]=t[r]||{},A(t[r],e[r])}},e.prototype.getAnimationStyleProps=function(){return As},e.prototype._getOrCreateChild=function(t){var e=this._children[this._childCursor];return e&&e instanceof t||(e=new t),this._children[this._childCursor++]=e,e.__zr=this.__zr,e.parent=this,e},e.prototype._updatePlainTexts=function(){var t=this.style,e=t.font||a,n=t.padding,i=function(t,e){null!=t&&(t+="");var n,i=e.overflow,r=e.padding,o=e.font,a="truncate"===i,s=fr(o),l=rt(e.lineHeight,s),u=!!e.backgroundColor,h="truncate"===e.lineOverflow,c=e.width,p=(n=null==c||"break"!==i&&"breakAll"!==i?t?t.split("\n"):[]:t?sa(t,e.font,c,"breakAll"===i,0).lines:[]).length*l,d=rt(e.height,p);if(p>d&&h){var f=Math.floor(d/l);n=n.slice(0,f)}if(t&&a&&null!=c)for(var g=Jo(c,o,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),y=0;y<n.length;y++)n[y]=Qo(n[y],g);var v=d,m=0;for(y=0;y<n.length;y++)m=Math.max(ur(n[y],o),m);null==c&&(c=m);var x=m;return r&&(v+=r[0]+r[2],x+=r[1]+r[3],c+=r[1]+r[3]),u&&(x=c),{lines:n,height:d,outerWidth:x,outerHeight:v,lineHeight:l,calculatedLineHeight:s,contentWidth:m,contentHeight:p,width:c}}(Gs(t),t),r=Ws(t),o=!!t.backgroundColor,s=i.outerHeight,l=i.outerWidth,u=i.contentWidth,h=i.lines,c=i.lineHeight,p=this._defaultStyle,d=t.x||0,f=t.y||0,g=t.align||p.align||"left",y=t.verticalAlign||p.verticalAlign||"top",v=d,m=dr(f,i.contentHeight,y);if(r||n){var x=pr(d,l,g),_=dr(f,s,y);r&&this._renderBackground(t,t,x,_,l,s)}m+=c/2,n&&(v=Fs(d,g,n),"top"===y?m+=n[0]:"bottom"===y&&(m-=n[2]));for(var b=0,w=!1,S=(Bs("fill"in t?t.fill:(w=!0,p.fill))),M=(Vs("stroke"in t?t.stroke:o||p.autoStroke&&!w?null:(b=2,p.stroke))),I=t.textShadowBlur>0,T=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),C=i.calculatedLineHeight,D=0;D<h.length;D++){var A=this._getOrCreateChild(vs),k=A.createStyle();A.useStyle(k),k.text=h[D],k.x=v,k.y=m,g&&(k.textAlign=g),k.textBaseline="middle",k.opacity=t.opacity,k.strokeFirst=!0,I&&(k.shadowBlur=t.textShadowBlur||0,k.shadowColor=t.textShadowColor||"transparent",k.shadowOffsetX=t.textShadowOffsetX||0,k.shadowOffsetY=t.textShadowOffsetY||0),k.stroke=M,k.fill=S,M&&(k.lineWidth=t.lineWidth||b,k.lineDash=t.lineDash,k.lineDashOffset=t.lineDashOffset||0),k.font=e,Ns(k,t),m+=c,T&&A.setBoundingRect(new sr(pr(k.x,t.width,k.textAlign),dr(k.y,C,k.textBaseline),u,C))}},e.prototype._updateRichTexts=function(){var t=this.style,e=function(t,e){var n=new ia;if(null!=t&&(t+=""),!t)return n;for(var i,r=e.width,o=e.height,a=e.overflow,s="break"!==a&&"breakAll"!==a||null==r?null:{width:r,accumWidth:0,breakAll:"breakAll"===a},l=Ko.lastIndex=0;null!=(i=Ko.exec(t));){var u=i.index;u>l&&ra(n,t.substring(l,u),e,s),ra(n,i[2],e,s,i[1]),l=Ko.lastIndex}l<t.length&&ra(n,t.substring(l,t.length),e,s);var h=[],c=0,p=0,d=e.padding,f="truncate"===a,g="truncate"===e.lineOverflow;function y(t,e,n){t.width=e,t.lineHeight=n,c+=n,p=Math.max(p,e)}t:for(var v=0;v<n.lines.length;v++){for(var m=n.lines[v],x=0,_=0,b=0;b<m.tokens.length;b++){var w=(P=m.tokens[b]).styleName&&e.rich[P.styleName]||{},S=P.textPadding=w.padding,M=S?S[1]+S[3]:0,I=P.font=w.font||e.font;P.contentHeight=fr(I);var T=rt(w.height,P.contentHeight);if(P.innerHeight=T,S&&(T+=S[0]+S[2]),P.height=T,P.lineHeight=ot(w.lineHeight,e.lineHeight,T),P.align=w&&w.align||e.align,P.verticalAlign=w&&w.verticalAlign||"middle",g&&null!=o&&c+P.lineHeight>o){b>0?(m.tokens=m.tokens.slice(0,b),y(m,_,x),n.lines=n.lines.slice(0,v+1)):n.lines=n.lines.slice(0,v);break t}var C=w.width,D=null==C||"auto"===C;if("string"==typeof C&&"%"===C.charAt(C.length-1))P.percentWidth=C,h.push(P),P.contentWidth=ur(P.text,I);else{if(D){var A=w.backgroundColor,k=A&&A.image;k&&qo(k=Xo(k))&&(P.width=Math.max(P.width,k.width*T/k.height))}var L=f&&null!=r?r-_:null;null!=L&&L<P.width?!D||L<M?(P.text="",P.width=P.contentWidth=0):(P.text=$o(P.text,L-M,I,e.ellipsis,{minChar:e.truncateMinChar}),P.width=P.contentWidth=ur(P.text,I)):P.contentWidth=ur(P.text,I)}P.width+=M,_+=P.width,w&&(x=Math.max(x,P.lineHeight))}y(m,_,x)}for(n.outerWidth=n.width=rt(r,p),n.outerHeight=n.height=rt(o,c),n.contentHeight=c,n.contentWidth=p,d&&(n.outerWidth+=d[1]+d[3],n.outerHeight+=d[0]+d[2]),v=0;v<h.length;v++){var P,O=(P=h[v]).percentWidth;P.width=parseInt(O,10)/100*n.width}return n}(Gs(t),t),n=e.width,i=e.outerWidth,r=e.outerHeight,o=t.padding,a=t.x||0,s=t.y||0,l=this._defaultStyle,u=t.align||l.align,h=t.verticalAlign||l.verticalAlign,c=pr(a,i,u),p=dr(s,r,h),d=c,f=p;o&&(d+=o[3],f+=o[0]);var g=d+n;Ws(t)&&this._renderBackground(t,t,c,p,i,r);for(var y=!!t.backgroundColor,v=0;v<e.lines.length;v++){for(var m=e.lines[v],x=m.tokens,_=x.length,b=m.lineHeight,w=m.width,S=0,M=d,I=g,T=_-1,C=void 0;S<_&&(!(C=x[S]).align||"left"===C.align);)this._placeToken(C,t,b,f,M,"left",y),w-=C.width,M+=C.width,S++;for(;T>=0&&"right"===(C=x[T]).align;)this._placeToken(C,t,b,f,I,"right",y),w-=C.width,I-=C.width,T--;for(M+=(n-(M-d)-(g-I)-w)/2;S<=T;)C=x[S],this._placeToken(C,t,b,f,M+C.width/2,"center",y),M+=C.width,S++;f+=b}},e.prototype._placeToken=function(t,e,n,i,r,o,s){var l=e.rich[t.styleName]||{};l.text=t.text;var u=t.verticalAlign,h=i+n/2;"top"===u?h=i+t.height/2:"bottom"===u&&(h=i+n-t.height/2),!t.isLineHolder&&Ws(l)&&this._renderBackground(l,e,"right"===o?r-t.width:"center"===o?r-t.width/2:r,h-t.height/2,t.width,t.height);var c=!!l.backgroundColor,p=t.textPadding;p&&(r=Fs(r,o,p),h-=t.height/2-p[0]-t.innerHeight/2);var d=this._getOrCreateChild(vs),f=d.createStyle();d.useStyle(f);var g=this._defaultStyle,y=!1,v=0,m=Bs("fill"in l?l.fill:"fill"in e?e.fill:(y=!0,g.fill)),x=Vs("stroke"in l?l.stroke:"stroke"in e?e.stroke:c||s||g.autoStroke&&!y?null:(v=2,g.stroke)),_=l.textShadowBlur>0||e.textShadowBlur>0;f.text=t.text,f.x=r,f.y=h,_&&(f.shadowBlur=l.textShadowBlur||e.textShadowBlur||0,f.shadowColor=l.textShadowColor||e.textShadowColor||"transparent",f.shadowOffsetX=l.textShadowOffsetX||e.textShadowOffsetX||0,f.shadowOffsetY=l.textShadowOffsetY||e.textShadowOffsetY||0),f.textAlign=o,f.textBaseline="middle",f.font=t.font||a,f.opacity=ot(l.opacity,e.opacity,1),Ns(f,l),x&&(f.lineWidth=ot(l.lineWidth,e.lineWidth,v),f.lineDash=rt(l.lineDash,e.lineDash),f.lineDashOffset=e.lineDashOffset||0,f.stroke=x),m&&(f.fill=m);var b=t.contentWidth,w=t.contentHeight;d.setBoundingRect(new sr(pr(f.x,b,f.textAlign),dr(f.y,w,f.textBaseline),b,w))},e.prototype._renderBackground=function(t,e,n,i,r,o){var a,s,l,u=t.backgroundColor,h=t.borderWidth,c=t.borderColor,p=u&&u.image,d=u&&!p,f=t.borderRadius,g=this;if(d||t.lineHeight||h&&c){(a=this._getOrCreateChild(Cs)).useStyle(a.createStyle()),a.style.fill=null;var y=a.shape;y.x=n,y.y=i,y.width=r,y.height=o,y.r=f,a.dirtyShape()}if(d)(l=a.style).fill=u||null,l.fillOpacity=rt(t.fillOpacity,1);else if(p){(s=this._getOrCreateChild(_s)).onload=function(){g.dirtyStyle()};var v=s.style;v.image=u.image,v.x=n,v.y=i,v.width=r,v.height=o}h&&c&&((l=a.style).lineWidth=h,l.stroke=c,l.strokeOpacity=rt(t.strokeOpacity,1),l.lineDash=t.borderDash,l.lineDashOffset=t.borderDashOffset||0,a.strokeContainThreshold=0,a.hasFill()&&a.hasStroke()&&(l.strokeFirst=!0,l.lineWidth*=2));var m=(a||s).style;m.shadowBlur=t.shadowBlur||0,m.shadowColor=t.shadowColor||"transparent",m.shadowOffsetX=t.shadowOffsetX||0,m.shadowOffsetY=t.shadowOffsetY||0,m.opacity=ot(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";return Es(t)&&(e=[t.fontStyle,t.fontWeight,Rs(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),e&&ut(e)||t.textFont||t.font},e}(da),Ls={left:!0,right:1,center:1},Ps={top:1,bottom:1,middle:1},Os=["fontStyle","fontWeight","fontSize","fontFamily"];function Rs(t){return"string"!=typeof t||-1===t.indexOf("px")&&-1===t.indexOf("rem")&&-1===t.indexOf("em")?isNaN(+t)?"12px":t+"px":t}function Ns(t,e){for(var n=0;n<Os.length;n++){var i=Os[n],r=e[i];null!=r&&(t[i]=r)}}function Es(t){return null!=t.fontSize||t.fontFamily||t.fontWeight}function zs(t){if(t){t.font=ks.makeFont(t);var e=t.align;"middle"===e&&(e="center"),t.align=null==e||Ls[e]?e:"left";var n=t.verticalAlign;"center"===n&&(n="middle"),t.verticalAlign=null==n||Ps[n]?n:"top",t.padding&&(t.padding=st(t.padding))}}function Vs(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function Bs(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function Fs(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}function Gs(t){var e=t.text;return null!=e&&(e+=""),e}function Ws(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&t.borderColor)}var Hs=So(),Ys=function(t,e,n,i){if(i){var r=Hs(i);r.dataIndex=n,r.dataType=e,r.seriesIndex=t,"group"===i.type&&i.traverse((function(i){var r=Hs(i);r.seriesIndex=t,r.dataIndex=n,r.dataType=e}))}},Us=1,Xs={},Zs=So(),js=So(),qs=["emphasis","blur","select"],Ks=["normal","emphasis","blur","select"],$s=10,Js="highlight",Qs="downplay",tl="select",el="unselect",nl="toggleSelect";function il(t){return null!=t&&"none"!==t}var rl=new ln(100);function ol(t){if(X(t)){var e=rl.get(t);return e||(e=Sn(t,-.1),rl.put(t,e)),e}if(Q(t)){var n=A({},t);return n.colorStops=z(t.colorStops,(function(t){return{offset:t.offset,color:Sn(t.color,-.1)}})),n}return t}function al(t,e,n){t.onHoverStateChange&&(t.hoverState||0)!==n&&t.onHoverStateChange(e),t.hoverState=n}function sl(t){al(t,"emphasis",2)}function ll(t){2===t.hoverState&&al(t,"normal",0)}function ul(t){al(t,"blur",1)}function hl(t){1===t.hoverState&&al(t,"normal",0)}function cl(t){t.selected=!0}function pl(t){t.selected=!1}function dl(t,e,n){e(t,n)}function fl(t,e,n){dl(t,e,n),t.isGroup&&t.traverse((function(t){dl(t,e,n)}))}function gl(t,e){switch(e){case"emphasis":t.hoverState=2;break;case"normal":t.hoverState=0;break;case"blur":t.hoverState=1;break;case"select":t.selected=!0}}function yl(t,e){var n=this.states[t];if(this.style){if("emphasis"===t)return function(t,e,n,i){var r=n&&P(n,"select")>=0,o=!1;if(t instanceof gs){var a=Zs(t),s=r&&a.selectFill||a.normalFill,l=r&&a.selectStroke||a.normalStroke;if(il(s)||il(l)){var u=(i=i||{}).style||{};"inherit"===u.fill?(o=!0,i=A({},i),(u=A({},u)).fill=s):!il(u.fill)&&il(s)?(o=!0,i=A({},i),(u=A({},u)).fill=ol(s)):!il(u.stroke)&&il(l)&&(o||(i=A({},i),u=A({},u)),u.stroke=ol(l)),i.style=u}}if(i&&null==i.z2){o||(i=A({},i));var h=t.z2EmphasisLift;i.z2=t.z2+(null!=h?h:$s)}return i}(this,0,e,n);if("blur"===t)return function(t,e,n){var i=P(t.currentStates,e)>=0,r=t.style.opacity,o=i?null:function(t,e,n,i){for(var r=t.style,o={},a=0;a<e.length;a++){var s=e[a],l=r[s];o[s]=null==l?i&&i[s]:l}for(a=0;a<t.animators.length;a++){var u=t.animators[a];u.__fromStateTransition&&u.__fromStateTransition.indexOf(n)<0&&"style"===u.targetName&&u.saveTo(o,e)}return o}(t,["opacity"],e,{opacity:1}),a=(n=n||{}).style||{};return null==a.opacity&&(n=A({},n),a=A({opacity:i?r:.1*o.opacity},a),n.style=a),n}(this,t,n);if("select"===t)return function(t,e,n){if(n&&null==n.z2){n=A({},n);var i=t.z2SelectLift;n.z2=t.z2+(null!=i?i:9)}return n}(this,0,n)}return n}function vl(t){t.stateProxy=yl;var e=t.getTextContent(),n=t.getTextGuideLine();e&&(e.stateProxy=yl),n&&(n.stateProxy=yl)}function ml(t,e){!Tl(t,e)&&!t.__highByOuter&&fl(t,sl)}function xl(t,e){!Tl(t,e)&&!t.__highByOuter&&fl(t,ll)}function _l(t,e){t.__highByOuter|=1<<(e||0),fl(t,sl)}function bl(t,e){!(t.__highByOuter&=~(1<<(e||0)))&&fl(t,ll)}function wl(t){fl(t,ul)}function Sl(t){fl(t,hl)}function Ml(t){fl(t,cl)}function Il(t){fl(t,pl)}function Tl(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function Cl(t){var e=t.getModel(),n=[],i=[];e.eachComponent((function(e,r){var o=js(r),a="series"===e,s=a?t.getViewOfSeriesModel(r):t.getViewOfComponentModel(r);!a&&i.push(s),o.isBlured&&(s.group.traverse((function(t){hl(t)})),a&&n.push(r)),o.isBlured=!1})),E(i,(function(t){t&&t.toggleBlurSeries&&t.toggleBlurSeries(n,!1,e)}))}function Dl(t,e,n,i){var r=i.getModel();function o(t,e){for(var n=0;n<e.length;n++){var i=t.getItemGraphicEl(e[n]);i&&Sl(i)}}if(n=n||"coordinateSystem",null!=t&&e&&"none"!==e){var a=r.getSeriesByIndex(t),s=a.coordinateSystem;s&&s.master&&(s=s.master);var l=[];r.eachSeries((function(t){var r=a===t,u=t.coordinateSystem;if(u&&u.master&&(u=u.master),!("series"===n&&!r||"coordinateSystem"===n&&!(u&&s?u===s:r)||"series"===e&&r)){if(i.getViewOfSeriesModel(t).group.traverse((function(t){ul(t)})),N(e))o(t.getData(),e);else if(q(e))for(var h=G(e),c=0;c<h.length;c++)o(t.getData(h[c]),e[h[c]]);l.push(t),js(t).isBlured=!0}})),r.eachComponent((function(t,e){if("series"!==t){var n=i.getViewOfComponentModel(e);n&&n.toggleBlurSeries&&n.toggleBlurSeries(l,!0,r)}}))}}function Al(t,e,n){if(null!=t&&null!=e){var i=n.getModel().getComponent(t,e);if(i){js(i).isBlured=!0;var r=n.getViewOfComponentModel(i);r&&r.focusBlurEnabled&&r.group.traverse((function(t){ul(t)}))}}}function kl(t,e,n,i){var r={focusSelf:!1,dispatchers:null};if(null==t||"series"===t||null==e||null==n)return r;var o=i.getModel().getComponent(t,e);if(!o)return r;var a=i.getViewOfComponentModel(o);if(!a||!a.findHighDownDispatchers)return r;for(var s,l=a.findHighDownDispatchers(n),u=0;u<l.length;u++)if("self"===Hs(l[u]).focus){s=!0;break}return{focusSelf:s,dispatchers:l}}function Ll(t){E(t.getAllData(),(function(e){var n=e.data,i=e.type;n.eachItemGraphicEl((function(e,n){t.isSelected(n,i)?Ml(e):Il(e)}))}))}function Pl(t){var e=[];return t.eachSeries((function(t){E(t.getAllData(),(function(n){n.data;var i=n.type,r=t.getSelectedDataIndices();if(r.length>0){var o={dataIndex:r,seriesIndex:t.seriesIndex};null!=i&&(o.dataType=i),e.push(o)}}))})),e}function Ol(t,e,n){Bl(t,!0),fl(t,vl),Nl(t,e,n)}function Rl(t,e,n,i){i?function(t){Bl(t,!1)}(t):Ol(t,e,n)}function Nl(t,e,n){var i=Hs(t);null!=e?(i.focus=e,i.blurScope=n):i.focus&&(i.focus=null)}var El=["emphasis","blur","select"],zl={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function Vl(t,e,n,i){n=n||"itemStyle";for(var r=0;r<El.length;r++){var o=El[r],a=e.getModel([o,n]);t.ensureState(o).style=i?i(a):a[zl[n]]()}}function Bl(t,e){var n=!1===e,i=t;t.highDownSilentOnTouch&&(i.__highDownSilentOnTouch=t.highDownSilentOnTouch),n&&!i.__highDownDispatcher||(i.__highByOuter=i.__highByOuter||0,i.__highDownDispatcher=!n)}function Fl(t){return!(!t||!t.__highDownDispatcher)}function Gl(t){var e=t.type;return e===tl||e===el||e===nl}function Wl(t){var e=t.type;return e===Js||e===Qs}var Hl=qa.CMD,Yl=[[],[],[]],Ul=Math.sqrt,Xl=Math.atan2;function Zl(t,e){if(e){var n,i,r,o,a,s,l=t.data,u=t.len(),h=Hl.M,c=Hl.C,p=Hl.L,d=Hl.R,f=Hl.A,g=Hl.Q;for(r=0,o=0;r<u;){switch(n=l[r++],o=r,i=0,n){case h:case p:i=1;break;case c:i=3;break;case g:i=2;break;case f:var y=e[4],v=e[5],m=Ul(e[0]*e[0]+e[1]*e[1]),x=Ul(e[2]*e[2]+e[3]*e[3]),_=Xl(-e[1]/x,e[0]/m);l[r]*=m,l[r++]+=y,l[r]*=x,l[r++]+=v,l[r++]*=m,l[r++]*=x,l[r++]+=_,l[r++]+=_,o=r+=2;break;case d:s[0]=l[r++],s[1]=l[r++],Ft(s,s,e),l[o++]=s[0],l[o++]=s[1],s[0]+=l[r++],s[1]+=l[r++],Ft(s,s,e),l[o++]=s[0],l[o++]=s[1]}for(a=0;a<i;a++){var b=Yl[a];b[0]=l[r++],b[1]=l[r++],Ft(b,b,e),l[o++]=b[0],l[o++]=b[1]}}t.increaseVersion()}}var jl=Math.sqrt,ql=Math.sin,Kl=Math.cos,$l=Math.PI;function Jl(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function Ql(t,e){return(t[0]*e[0]+t[1]*e[1])/(Jl(t)*Jl(e))}function tu(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(Ql(t,e))}function eu(t,e,n,i,r,o,a,s,l,u,h){var c=l*($l/180),p=Kl(c)*(t-n)/2+ql(c)*(e-i)/2,d=-1*ql(c)*(t-n)/2+Kl(c)*(e-i)/2,f=p*p/(a*a)+d*d/(s*s);f>1&&(a*=jl(f),s*=jl(f));var g=(r===o?-1:1)*jl((a*a*(s*s)-a*a*(d*d)-s*s*(p*p))/(a*a*(d*d)+s*s*(p*p)))||0,y=g*a*d/s,v=g*-s*p/a,m=(t+n)/2+Kl(c)*y-ql(c)*v,x=(e+i)/2+ql(c)*y+Kl(c)*v,_=tu([1,0],[(p-y)/a,(d-v)/s]),b=[(p-y)/a,(d-v)/s],w=[(-1*p-y)/a,(-1*d-v)/s],S=tu(b,w);if(Ql(b,w)<=-1&&(S=$l),Ql(b,w)>=1&&(S=0),S<0){var M=Math.round(S/$l*1e6)/1e6;S=2*$l+M%2*$l}h.addData(u,m,x,a,s,_,S,c,o)}var nu=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,iu=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;var ru=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.applyTransform=function(t){},e}(gs);function ou(t){return null!=t.setData}function au(t,e){var n=function(t){var e=new qa;if(!t)return e;var n,i=0,r=0,o=i,a=r,s=qa.CMD,l=t.match(nu);if(!l)return e;for(var u=0;u<l.length;u++){for(var h=l[u],c=h.charAt(0),p=void 0,d=h.match(iu)||[],f=d.length,g=0;g<f;g++)d[g]=parseFloat(d[g]);for(var y=0;y<f;){var v=void 0,m=void 0,x=void 0,_=void 0,b=void 0,w=void 0,S=void 0,M=i,I=r,T=void 0,C=void 0;switch(c){case"l":i+=d[y++],r+=d[y++],p=s.L,e.addData(p,i,r);break;case"L":i=d[y++],r=d[y++],p=s.L,e.addData(p,i,r);break;case"m":i+=d[y++],r+=d[y++],p=s.M,e.addData(p,i,r),o=i,a=r,c="l";break;case"M":i=d[y++],r=d[y++],p=s.M,e.addData(p,i,r),o=i,a=r,c="L";break;case"h":i+=d[y++],p=s.L,e.addData(p,i,r);break;case"H":i=d[y++],p=s.L,e.addData(p,i,r);break;case"v":r+=d[y++],p=s.L,e.addData(p,i,r);break;case"V":r=d[y++],p=s.L,e.addData(p,i,r);break;case"C":p=s.C,e.addData(p,d[y++],d[y++],d[y++],d[y++],d[y++],d[y++]),i=d[y-2],r=d[y-1];break;case"c":p=s.C,e.addData(p,d[y++]+i,d[y++]+r,d[y++]+i,d[y++]+r,d[y++]+i,d[y++]+r),i+=d[y-2],r+=d[y-1];break;case"S":v=i,m=r,T=e.len(),C=e.data,n===s.C&&(v+=i-C[T-4],m+=r-C[T-3]),p=s.C,M=d[y++],I=d[y++],i=d[y++],r=d[y++],e.addData(p,v,m,M,I,i,r);break;case"s":v=i,m=r,T=e.len(),C=e.data,n===s.C&&(v+=i-C[T-4],m+=r-C[T-3]),p=s.C,M=i+d[y++],I=r+d[y++],i+=d[y++],r+=d[y++],e.addData(p,v,m,M,I,i,r);break;case"Q":M=d[y++],I=d[y++],i=d[y++],r=d[y++],p=s.Q,e.addData(p,M,I,i,r);break;case"q":M=d[y++]+i,I=d[y++]+r,i+=d[y++],r+=d[y++],p=s.Q,e.addData(p,M,I,i,r);break;case"T":v=i,m=r,T=e.len(),C=e.data,n===s.Q&&(v+=i-C[T-4],m+=r-C[T-3]),i=d[y++],r=d[y++],p=s.Q,e.addData(p,v,m,i,r);break;case"t":v=i,m=r,T=e.len(),C=e.data,n===s.Q&&(v+=i-C[T-4],m+=r-C[T-3]),i+=d[y++],r+=d[y++],p=s.Q,e.addData(p,v,m,i,r);break;case"A":x=d[y++],_=d[y++],b=d[y++],w=d[y++],S=d[y++],eu(M=i,I=r,i=d[y++],r=d[y++],w,S,x,_,b,p=s.A,e);break;case"a":x=d[y++],_=d[y++],b=d[y++],w=d[y++],S=d[y++],eu(M=i,I=r,i+=d[y++],r+=d[y++],w,S,x,_,b,p=s.A,e)}}"z"!==c&&"Z"!==c||(p=s.Z,e.addData(p),i=o,r=a),n=p}return e.toStatic(),e}(t),i=A({},e);return i.buildPath=function(t){if(ou(t)){t.setData(n.data),(e=t.getContext())&&t.rebuildPath(e,1)}else{var e=t;n.rebuildPath(e,1)}},i.applyTransform=function(t){Zl(n,t),this.dirtyShape()},i}function su(t,e){return new ru(au(t,e))}function lu(t,e){e=e||{};var n=new gs;return t.shape&&n.setShape(t.shape),n.setStyle(t.style),e.bakeTransform?Zl(n.path,t.getComputedTransform()):e.toLocal?n.setLocalTransform(t.getComputedTransform()):n.copyTransform(t),n.buildPath=t.buildPath,n.applyTransform=n.applyTransform,n.z=t.z,n.z2=t.z2,n.zlevel=t.zlevel,n}var uu=function(){this.cx=0,this.cy=0,this.r=0},hu=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.getDefaultShape=function(){return new uu},e.prototype.buildPath=function(t,e){t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI)},e}(gs);hu.prototype.type="circle";var cu=function(){this.cx=0,this.cy=0,this.rx=0,this.ry=0},pu=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.getDefaultShape=function(){return new cu},e.prototype.buildPath=function(t,e){var n=.5522848,i=e.cx,r=e.cy,o=e.rx,a=e.ry,s=o*n,l=a*n;t.moveTo(i-o,r),t.bezierCurveTo(i-o,r-l,i-s,r-a,i,r-a),t.bezierCurveTo(i+s,r-a,i+o,r-l,i+o,r),t.bezierCurveTo(i+o,r+l,i+s,r+a,i,r+a),t.bezierCurveTo(i-s,r+a,i-o,r+l,i-o,r),t.closePath()},e}(gs);pu.prototype.type="ellipse";var du=Math.PI,fu=2*du,gu=Math.sin,yu=Math.cos,vu=Math.acos,mu=Math.atan2,xu=Math.abs,_u=Math.sqrt,bu=Math.max,wu=Math.min,Su=1e-4;function Mu(t,e,n,i,r,o,a){var s=t-n,l=e-i,u=(a?o:-o)/_u(s*s+l*l),h=u*l,c=-u*s,p=t+h,d=e+c,f=n+h,g=i+c,y=(p+f)/2,v=(d+g)/2,m=f-p,x=g-d,_=m*m+x*x,b=r-o,w=p*g-f*d,S=(x<0?-1:1)*_u(bu(0,b*b*_-w*w)),M=(w*x-m*S)/_,I=(-w*m-x*S)/_,T=(w*x+m*S)/_,C=(-w*m+x*S)/_,D=M-y,A=I-v,k=T-y,L=C-v;return D*D+A*A>k*k+L*L&&(M=T,I=C),{cx:M,cy:I,x0:-h,y0:-c,x1:M*(r/b-1),y1:I*(r/b-1)}}function Iu(t,e){var n,i=bu(e.r,0),r=bu(e.r0||0,0),o=i>0;if(o||r>0){if(o||(i=r,r=0),r>i){var a=i;i=r,r=a}var s=e.startAngle,l=e.endAngle;if(!isNaN(s)&&!isNaN(l)){var u=e.cx,h=e.cy,c=!!e.clockwise,p=xu(l-s),d=p>fu&&p%fu;if(d>Su&&(p=d),i>Su)if(p>fu-Su)t.moveTo(u+i*yu(s),h+i*gu(s)),t.arc(u,h,i,s,l,!c),r>Su&&(t.moveTo(u+r*yu(l),h+r*gu(l)),t.arc(u,h,r,l,s,c));else{var f=void 0,g=void 0,y=void 0,v=void 0,m=void 0,x=void 0,_=void 0,b=void 0,w=void 0,S=void 0,M=void 0,I=void 0,T=void 0,C=void 0,D=void 0,A=void 0,k=i*yu(s),L=i*gu(s),P=r*yu(l),O=r*gu(l),R=p>Su;if(R){var N=e.cornerRadius;N&&(f=(n=function(t){var e;if(Y(t)){var n=t.length;if(!n)return t;e=1===n?[t[0],t[0],0,0]:2===n?[t[0],t[0],t[1],t[1]]:3===n?t.concat(t[2]):t}else e=[t,t,t,t];return e}(N))[0],g=n[1],y=n[2],v=n[3]);var E=xu(i-r)/2;if(m=wu(E,y),x=wu(E,v),_=wu(E,f),b=wu(E,g),M=w=bu(m,x),I=S=bu(_,b),(w>Su||S>Su)&&(T=i*yu(l),C=i*gu(l),D=r*yu(s),A=r*gu(s),p<du)){var z=function(t,e,n,i,r,o,a,s){var l=n-t,u=i-e,h=a-r,c=s-o,p=c*l-h*u;if(!(p*p<Su))return[t+(p=(h*(e-o)-c*(t-r))/p)*l,e+p*u]}(k,L,D,A,T,C,P,O);if(z){var V=k-z[0],B=L-z[1],F=T-z[0],G=C-z[1],W=1/gu(vu((V*F+B*G)/(_u(V*V+B*B)*_u(F*F+G*G)))/2),H=_u(z[0]*z[0]+z[1]*z[1]);M=wu(w,(i-H)/(W+1)),I=wu(S,(r-H)/(W-1))}}}if(R)if(M>Su){var U=wu(y,M),X=wu(v,M),Z=Mu(D,A,k,L,i,U,c),j=Mu(T,C,P,O,i,X,c);t.moveTo(u+Z.cx+Z.x0,h+Z.cy+Z.y0),M<w&&U===X?t.arc(u+Z.cx,h+Z.cy,M,mu(Z.y0,Z.x0),mu(j.y0,j.x0),!c):(U>0&&t.arc(u+Z.cx,h+Z.cy,U,mu(Z.y0,Z.x0),mu(Z.y1,Z.x1),!c),t.arc(u,h,i,mu(Z.cy+Z.y1,Z.cx+Z.x1),mu(j.cy+j.y1,j.cx+j.x1),!c),X>0&&t.arc(u+j.cx,h+j.cy,X,mu(j.y1,j.x1),mu(j.y0,j.x0),!c))}else t.moveTo(u+k,h+L),t.arc(u,h,i,s,l,!c);else t.moveTo(u+k,h+L);if(r>Su&&R)if(I>Su){U=wu(f,I),Z=Mu(P,O,T,C,r,-(X=wu(g,I)),c),j=Mu(k,L,D,A,r,-U,c);t.lineTo(u+Z.cx+Z.x0,h+Z.cy+Z.y0),I<S&&U===X?t.arc(u+Z.cx,h+Z.cy,I,mu(Z.y0,Z.x0),mu(j.y0,j.x0),!c):(X>0&&t.arc(u+Z.cx,h+Z.cy,X,mu(Z.y0,Z.x0),mu(Z.y1,Z.x1),!c),t.arc(u,h,r,mu(Z.cy+Z.y1,Z.cx+Z.x1),mu(j.cy+j.y1,j.cx+j.x1),c),U>0&&t.arc(u+j.cx,h+j.cy,U,mu(j.y1,j.x1),mu(j.y0,j.x0),!c))}else t.lineTo(u+P,h+O),t.arc(u,h,r,l,s,c);else t.lineTo(u+P,h+O)}else t.moveTo(u,h);t.closePath()}}}var Tu=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0},Cu=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.getDefaultShape=function(){return new Tu},e.prototype.buildPath=function(t,e){Iu(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(gs);Cu.prototype.type="sector";var Du=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},Au=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.getDefaultShape=function(){return new Du},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=2*Math.PI;t.moveTo(n+e.r,i),t.arc(n,i,e.r,0,r,!1),t.moveTo(n+e.r0,i),t.arc(n,i,e.r0,0,r,!0)},e}(gs);function ku(t,e,n){var i=e.smooth,r=e.points;if(r&&r.length>=2){if(i){var o=function(t,e,n,i){var r,o,a,s,l=[],u=[],h=[],c=[];if(i){a=[1/0,1/0],s=[-1/0,-1/0];for(var p=0,d=t.length;p<d;p++)Gt(a,a,t[p]),Wt(s,s,t[p]);Gt(a,a,i[0]),Wt(s,s,i[1])}for(p=0,d=t.length;p<d;p++){var f=t[p];if(n)r=t[p?p-1:d-1],o=t[(p+1)%d];else{if(0===p||p===d-1){l.push(Mt(t[p]));continue}r=t[p-1],o=t[p+1]}Dt(u,o,r),Ot(u,u,e);var g=Nt(f,r),y=Nt(f,o),v=g+y;0!==v&&(g/=v,y/=v),Ot(h,u,-g),Ot(c,u,y);var m=Tt([],f,h),x=Tt([],f,c);i&&(Wt(m,m,a),Gt(m,m,s),Wt(x,x,a),Gt(x,x,s)),l.push(m),l.push(x)}return n&&l.push(l.shift()),l}(r,i,n,e.smoothConstraint);t.moveTo(r[0][0],r[0][1]);for(var a=r.length,s=0;s<(n?a:a-1);s++){var l=o[2*s],u=o[2*s+1],h=r[(s+1)%a];t.bezierCurveTo(l[0],l[1],u[0],u[1],h[0],h[1])}}else{t.moveTo(r[0][0],r[0][1]);s=1;for(var c=r.length;s<c;s++)t.lineTo(r[s][0],r[s][1])}n&&t.closePath()}}Au.prototype.type="ring";var Lu=function(){this.points=null,this.smooth=0,this.smoothConstraint=null},Pu=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.getDefaultShape=function(){return new Lu},e.prototype.buildPath=function(t,e){ku(t,e,!0)},e}(gs);Pu.prototype.type="polygon";var Ou=function(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null},Ru=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Ou},e.prototype.buildPath=function(t,e){ku(t,e,!1)},e}(gs);Ru.prototype.type="polyline";var Nu={},Eu=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1},zu=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Eu},e.prototype.buildPath=function(t,e){var n,i,r,o;if(this.subPixelOptimize){var a=ws(Nu,e,this.style);n=a.x1,i=a.y1,r=a.x2,o=a.y2}else n=e.x1,i=e.y1,r=e.x2,o=e.y2;var s=e.percent;0!==s&&(t.moveTo(n,i),s<1&&(r=n*(1-s)+r*s,o=i*(1-s)+o*s),t.lineTo(r,o))},e.prototype.pointAt=function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]},e}(gs);zu.prototype.type="line";var Vu=[],Bu=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1};function Fu(t,e,n){var i=t.cpx2,r=t.cpy2;return null!=i||null!=r?[(n?Ye:He)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?Ye:He)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?$e:Ke)(t.x1,t.cpx1,t.x2,e),(n?$e:Ke)(t.y1,t.cpy1,t.y2,e)]}var Gu=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Bu},e.prototype.buildPath=function(t,e){var n=e.x1,i=e.y1,r=e.x2,o=e.y2,a=e.cpx1,s=e.cpy1,l=e.cpx2,u=e.cpy2,h=e.percent;0!==h&&(t.moveTo(n,i),null==l||null==u?(h<1&&(Qe(n,a,r,h,Vu),a=Vu[1],r=Vu[2],Qe(i,s,o,h,Vu),s=Vu[1],o=Vu[2]),t.quadraticCurveTo(a,s,r,o)):(h<1&&(Ze(n,a,l,r,h,Vu),a=Vu[1],l=Vu[2],r=Vu[3],Ze(i,s,u,o,h,Vu),s=Vu[1],u=Vu[2],o=Vu[3]),t.bezierCurveTo(a,s,l,u,r,o)))},e.prototype.pointAt=function(t){return Fu(this.shape,t,!1)},e.prototype.tangentAt=function(t){var e=Fu(this.shape,t,!0);return Rt(e,e)},e}(gs);Gu.prototype.type="bezier-curve";var Wu=function(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},Hu=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Wu},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r,0),o=e.startAngle,a=e.endAngle,s=e.clockwise,l=Math.cos(o),u=Math.sin(o);t.moveTo(l*r+n,u*r+i),t.arc(n,i,r,o,a,!s)},e}(gs);Hu.prototype.type="arc";var Yu=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="compound",e}return n(e,t),e.prototype._updatePathDirty=function(){for(var t=this.shape.paths,e=this.shapeChanged(),n=0;n<t.length;n++)e=e||t[n].shapeChanged();e&&this.dirtyShape()},e.prototype.beforeBrush=function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),n=0;n<t.length;n++)t[n].path||t[n].createPathProxy(),t[n].path.setScale(e[0],e[1],t[n].segmentIgnoreThreshold)},e.prototype.buildPath=function(t,e){for(var n=e.paths||[],i=0;i<n.length;i++)n[i].buildPath(t,n[i].shape,!0)},e.prototype.afterBrush=function(){for(var t=this.shape.paths||[],e=0;e<t.length;e++)t[e].pathUpdated()},e.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),gs.prototype.getBoundingRect.call(this)},e}(gs),Uu=function(){function t(t){this.colorStops=t||[]}return t.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},t}(),Xu=function(t){function e(e,n,i,r,o,a){var s=t.call(this,o)||this;return s.x=null==e?0:e,s.y=null==n?0:n,s.x2=null==i?1:i,s.y2=null==r?0:r,s.type="linear",s.global=a||!1,s}return n(e,t),e}(Uu),Zu=function(t){function e(e,n,i,r,o){var a=t.call(this,r)||this;return a.x=null==e?.5:e,a.y=null==n?.5:n,a.r=null==i?.5:i,a.type="radial",a.global=o||!1,a}return n(e,t),e}(Uu),ju=[0,0],qu=[0,0],Ku=new Ji,$u=new Ji,Ju=function(){function t(t,e){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new Ji;for(n=0;n<2;n++)this._axes[n]=new Ji;t&&this.fromBoundingRect(t,e)}return t.prototype.fromBoundingRect=function(t,e){var n=this._corners,i=this._axes,r=t.x,o=t.y,a=r+t.width,s=o+t.height;if(n[0].set(r,o),n[1].set(a,o),n[2].set(a,s),n[3].set(r,s),e)for(var l=0;l<4;l++)n[l].transform(e);Ji.sub(i[0],n[1],n[0]),Ji.sub(i[1],n[3],n[0]),i[0].normalize(),i[1].normalize();for(l=0;l<2;l++)this._origin[l]=i[l].dot(n[0])},t.prototype.intersect=function(t,e){var n=!0,i=!e;return Ku.set(1/0,1/0),$u.set(0,0),!this._intersectCheckOneSide(this,t,Ku,$u,i,1)&&(n=!1,i)||!this._intersectCheckOneSide(t,this,Ku,$u,i,-1)&&(n=!1,i)||i||Ji.copy(e,n?Ku:$u),n},t.prototype._intersectCheckOneSide=function(t,e,n,i,r,o){for(var a=!0,s=0;s<2;s++){var l=this._axes[s];if(this._getProjMinMaxOnAxis(s,t._corners,ju),this._getProjMinMaxOnAxis(s,e._corners,qu),ju[1]<qu[0]||ju[0]>qu[1]){if(a=!1,r)return a;var u=Math.abs(qu[0]-ju[1]),h=Math.abs(ju[0]-qu[1]);Math.min(u,h)>i.len()&&(u<h?Ji.scale(i,l,-u*o):Ji.scale(i,l,h*o))}else if(n){u=Math.abs(qu[0]-ju[1]),h=Math.abs(ju[0]-qu[1]);Math.min(u,h)<n.len()&&(u<h?Ji.scale(n,l,u*o):Ji.scale(n,l,-h*o))}}return a},t.prototype._getProjMinMaxOnAxis=function(t,e,n){for(var i=this._axes[t],r=this._origin,o=e[0].dot(i)+r[t],a=o,s=o,l=1;l<e.length;l++){var u=e[l].dot(i)+r[t];a=Math.min(u,a),s=Math.max(u,s)}n[0]=a,n[1]=s},t}(),Qu=[],th=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.notClear=!0,e.incremental=!0,e._displayables=[],e._temporaryDisplayables=[],e._cursor=0,e}return n(e,t),e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.useStyle=function(){this.style={}},e.prototype.getCursor=function(){return this._cursor},e.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},e.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},e.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},e.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.markRedraw()},e.prototype.addDisplayables=function(t,e){e=e||!1;for(var n=0;n<t.length;n++)this.addDisplayable(t[n],e)},e.prototype.getDisplayables=function(){return this._displayables},e.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},e.prototype.eachPendingDisplayable=function(t){for(var e=this._cursor;e<this._displayables.length;e++)t&&t(this._displayables[e]);for(e=0;e<this._temporaryDisplayables.length;e++)t&&t(this._temporaryDisplayables[e])},e.prototype.update=function(){this.updateTransform();for(var t=this._cursor;t<this._displayables.length;t++){(e=this._displayables[t]).parent=this,e.update(),e.parent=null}for(t=0;t<this._temporaryDisplayables.length;t++){var e;(e=this._temporaryDisplayables[t]).parent=this,e.update(),e.parent=null}},e.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new sr(1/0,1/0,-1/0,-1/0),e=0;e<this._displayables.length;e++){var n=this._displayables[e],i=n.getBoundingRect().clone();n.needLocalTransform()&&i.applyTransform(n.getLocalTransform(Qu)),t.union(i)}this._rect=t}return this._rect},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e);if(this.getBoundingRect().contain(n[0],n[1]))for(var i=0;i<this._displayables.length;i++){if(this._displayables[i].contain(t,e))return!0}return!1},e}(da),eh=So();function nh(t,e,n,i,r){var o;if(e&&e.ecModel){var a=e.ecModel.getUpdatePayload();o=a&&a.animation}var s="update"===t;if(e&&e.isAnimationEnabled()){var l=void 0,u=void 0,h=void 0;return i?(l=rt(i.duration,200),u=rt(i.easing,"cubicOut"),h=0):(l=e.getShallow(s?"animationDurationUpdate":"animationDuration"),u=e.getShallow(s?"animationEasingUpdate":"animationEasing"),h=e.getShallow(s?"animationDelayUpdate":"animationDelay")),o&&(null!=o.duration&&(l=o.duration),null!=o.easing&&(u=o.easing),null!=o.delay&&(h=o.delay)),U(h)&&(h=h(n,r)),U(l)&&(l=l(n)),{duration:l||0,delay:h,easing:u}}return null}function ih(t,e,n,i,r,o,a){var s,l=!1;U(r)?(a=o,o=r,r=null):q(r)&&(o=r.cb,a=r.during,l=r.isFrom,s=r.removeOpt,r=r.dataIndex);var u="leave"===t;u||e.stopAnimation("leave");var h=nh(t,i,r,u?s||{}:null,i&&i.getAnimationDelayParams?i.getAnimationDelayParams(e,r):null);if(h&&h.duration>0){var c={duration:h.duration,delay:h.delay||0,easing:h.easing,done:o,force:!!o||!!a,setToFinal:!u,scope:t,during:a};l?e.animateFrom(n,c):e.animateTo(n,c)}else e.stopAnimation(),!l&&e.attr(n),a&&a(1),o&&o()}function rh(t,e,n,i,r,o){ih("update",t,e,n,i,r,o)}function oh(t,e,n,i,r,o){ih("enter",t,e,n,i,r,o)}function ah(t){if(!t.__zr)return!0;for(var e=0;e<t.animators.length;e++){if("leave"===t.animators[e].scope)return!0}return!1}function sh(t,e,n,i,r,o){ah(t)||ih("leave",t,e,n,i,r,o)}function lh(t,e,n,i){t.removeTextContent(),t.removeTextGuideLine(),sh(t,{style:{opacity:0}},e,n,i)}function uh(t,e,n){function i(){t.parent&&t.parent.remove(t)}t.isGroup?t.traverse((function(t){t.isGroup||lh(t,e,n,i)})):lh(t,e,n,i)}function hh(t){eh(t).oldStyle=t.style}var ch=Math.max,ph=Math.min,dh={};function fh(t){return gs.extend(t)}var gh=function(t,e){var i=au(t,e);return function(t){function e(e){var n=t.call(this,e)||this;return n.applyTransform=i.applyTransform,n.buildPath=i.buildPath,n}return n(e,t),e}(ru)};function yh(t,e){return gh(t,e)}function vh(t,e){dh[t]=e}function mh(t){if(dh.hasOwnProperty(t))return dh[t]}function xh(t,e,n,i){var r=su(t,e);return n&&("center"===i&&(n=bh(n,r.getBoundingRect())),Sh(r,n)),r}function _h(t,e,n){var i=new _s({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===n){var r={width:t.width,height:t.height};i.setStyle(bh(e,r))}}});return i}function bh(t,e){var n,i=e.width/e.height,r=t.height*i;return n=r<=t.width?t.height:(r=t.width)/i,{x:t.x+t.width/2-r/2,y:t.y+t.height/2-n/2,width:r,height:n}}var wh=function(t,e){for(var n=[],i=t.length,r=0;r<i;r++){var o=t[r];n.push(o.getUpdatedPathProxy(!0))}var a=new gs(e);return a.createPathProxy(),a.buildPath=function(t){if(ou(t)){t.appendPath(n);var e=t.getContext();e&&t.rebuildPath(e,1)}},a};function Sh(t,e){if(t.applyTransform){var n=t.getBoundingRect().calculateTransform(e);t.applyTransform(n)}}var Mh=Ms;function Ih(t,e){for(var n=Oi([]);t&&t!==e;)Ni(n,t.getLocalTransform(),n),t=t.parent;return n}function Th(t,e,n){return e&&!N(e)&&(e=qi.getLocalTransform(e)),n&&(e=Bi([],e)),Ft([],t,e)}function Ch(t,e,n){var i=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),r=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),o=["left"===t?-i:"right"===t?i:0,"top"===t?-r:"bottom"===t?r:0];return o=Th(o,e,n),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function Dh(t){return!t.isGroup}function Ah(t,e,n){if(t&&e){var i,r=(i={},t.traverse((function(t){Dh(t)&&t.anid&&(i[t.anid]=t)})),i);e.traverse((function(t){if(Dh(t)&&t.anid){var e=r[t.anid];if(e){var i=o(t);t.attr(o(e)),rh(t,i,n,Hs(t).dataIndex)}}}))}function o(t){var e={x:t.x,y:t.y,rotation:t.rotation};return function(t){return null!=t.shape}(t)&&(e.shape=A({},t.shape)),e}}function kh(t,e){return z(t,(function(t){var n=t[0];n=ch(n,e.x),n=ph(n,e.x+e.width);var i=t[1];return i=ch(i,e.y),[n,i=ph(i,e.y+e.height)]}))}function Lh(t,e){var n=ch(t.x,e.x),i=ph(t.x+t.width,e.x+e.width),r=ch(t.y,e.y),o=ph(t.y+t.height,e.y+e.height);if(i>=n&&o>=r)return{x:n,y:r,width:i-n,height:o-r}}function Ph(t,e,n){var i=A({rectHover:!0},e),r=i.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(r.image=t.slice(8),k(r,n),new _s(i)):xh(t.replace("path://",""),i,n,"center")}function Oh(t,e,n,i,r){for(var o=0,a=r[r.length-1];o<r.length;o++){var s=r[o];if(Rh(t,e,n,i,s[0],s[1],a[0],a[1]))return!0;a=s}}function Rh(t,e,n,i,r,o,a,s){var l,u=n-t,h=i-e,c=a-r,p=s-o,d=Nh(c,p,u,h);if((l=d)<=1e-6&&l>=-1e-6)return!1;var f=t-r,g=e-o,y=Nh(f,g,u,h)/d;if(y<0||y>1)return!1;var v=Nh(f,g,c,p)/d;return!(v<0||v>1)}function Nh(t,e,n,i){return t*i-n*e}function Eh(t){var e=t.itemTooltipOption,n=t.componentModel,i=t.itemName,r=X(e)?{formatter:e}:e,o=n.mainType,a=n.componentIndex,s={componentType:o,name:i,$vars:["name"]};s[o+"Index"]=a;var l=t.formatterParamsExtra;l&&E(G(l),(function(t){mt(s,t)||(s[t]=l[t],s.$vars.push(t))}));var u=Hs(t.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:i,option:k({content:i,formatterParams:s},r)}}function zh(t,e){var n;t.isGroup&&(n=e(t)),n||t.traverse(e)}function Vh(t,e){if(t)if(Y(t))for(var n=0;n<t.length;n++)zh(t[n],e);else zh(t,e)}vh("circle",hu),vh("ellipse",pu),vh("sector",Cu),vh("ring",Au),vh("polygon",Pu),vh("polyline",Ru),vh("rect",Cs),vh("line",zu),vh("bezierCurve",Gu),vh("arc",Hu);var Bh=Object.freeze({__proto__:null,updateProps:rh,initProps:oh,removeElement:sh,removeElementWithFadeOut:uh,isElementRemoved:ah,extendShape:fh,extendPath:yh,registerShape:vh,getShapeClass:mh,makePath:xh,makeImage:_h,mergePath:wh,resizePath:Sh,subPixelOptimizeLine:function(t){return ws(t.shape,t.shape,t.style),t},subPixelOptimizeRect:function(t){return Ss(t.shape,t.shape,t.style),t},subPixelOptimize:Mh,getTransform:Ih,applyTransform:Th,transformDirection:Ch,groupTransition:Ah,clipPointsByRect:kh,clipRectByRect:Lh,createIcon:Ph,linePolygonIntersect:Oh,lineLineIntersect:Rh,setTooltipConfig:Eh,traverseElements:Vh,Group:Cr,Image:_s,Text:ks,Circle:hu,Ellipse:pu,Sector:Cu,Ring:Au,Polygon:Pu,Polyline:Ru,Rect:Cs,Line:zu,BezierCurve:Gu,Arc:Hu,IncrementalDisplayable:th,CompoundPath:Yu,LinearGradient:Xu,RadialGradient:Zu,BoundingRect:sr,OrientedBoundingRect:Ju,Point:Ji,Path:gs}),Fh={};function Gh(t,e){for(var n=0;n<qs.length;n++){var i=qs[n],r=e[i],o=t.ensureState(i);o.style=o.style||{},o.style.text=r}var a=t.currentStates.slice();t.clearStates(!0),t.setStyle({text:e.normal}),t.useStates(a,!0)}function Wh(t,e,n){var i,r=t.labelFetcher,o=t.labelDataIndex,a=t.labelDimIndex,s=e.normal;r&&(i=r.getFormattedLabel(o,"normal",null,a,s&&s.get("formatter"),null!=n?{interpolatedValue:n}:null)),null==i&&(i=U(t.defaultText)?t.defaultText(o,t,n):t.defaultText);for(var l={normal:i},u=0;u<qs.length;u++){var h=qs[u],c=e[h];l[h]=rt(r?r.getFormattedLabel(o,h,null,a,c&&c.get("formatter")):null,i)}return l}function Hh(t,e,n,i){n=n||Fh;for(var r=t instanceof ks,o=!1,a=0;a<Ks.length;a++){if((p=e[Ks[a]])&&p.getShallow("show")){o=!0;break}}var s=r?t:t.getTextContent();if(o){r||(s||(s=new ks,t.setTextContent(s)),t.stateProxy&&(s.stateProxy=t.stateProxy));var l=Wh(n,e),u=e.normal,h=!!u.getShallow("show"),c=Uh(u,i&&i.normal,n,!1,!r);c.text=l.normal,r||t.setTextConfig(Xh(u,n,!1));for(a=0;a<qs.length;a++){var p,d=qs[a];if(p=e[d]){var f=s.ensureState(d),g=!!rt(p.getShallow("show"),h);if(g!==h&&(f.ignore=!g),f.style=Uh(p,i&&i[d],n,!0,!r),f.style.text=l[d],!r)t.ensureState(d).textConfig=Xh(p,n,!0)}}s.silent=!!u.getShallow("silent"),null!=s.style.x&&(c.x=s.style.x),null!=s.style.y&&(c.y=s.style.y),s.ignore=!h,s.useStyle(c),s.dirty(),n.enableTextSetter&&(Jh(s).setLabelText=function(t){var i=Wh(n,e,t);Gh(s,i)})}else s&&(s.ignore=!0);t.dirty()}function Yh(t,e){e=e||"label";for(var n={normal:t.getModel(e)},i=0;i<qs.length;i++){var r=qs[i];n[r]=t.getModel([r,e])}return n}function Uh(t,e,n,i,r){var o={};return function(t,e,n,i,r){n=n||Fh;var o,a=e.ecModel,s=a&&a.option.textStyle,l=function(t){var e;for(;t&&t!==t.ecModel;){var n=(t.option||Fh).rich;if(n){e=e||{};for(var i=G(n),r=0;r<i.length;r++){e[i[r]]=1}}t=t.parentModel}return e}(e);if(l)for(var u in o={},l)if(l.hasOwnProperty(u)){var h=e.getModel(["rich",u]);Kh(o[u]={},h,s,n,i,r,!1,!0)}o&&(t.rich=o);var c=e.get("overflow");c&&(t.overflow=c);var p=e.get("minMargin");null!=p&&(t.margin=p);Kh(t,e,s,n,i,r,!0,!1)}(o,t,n,i,r),e&&A(o,e),o}function Xh(t,e,n){e=e||{};var i,r={},o=t.getShallow("rotate"),a=rt(t.getShallow("distance"),n?null:5),s=t.getShallow("offset");return"outside"===(i=t.getShallow("position")||(n?null:"inside"))&&(i=e.defaultOutsidePosition||"top"),null!=i&&(r.position=i),null!=s&&(r.offset=s),null!=o&&(o*=Math.PI/180,r.rotation=o),null!=a&&(r.distance=a),r.outsideFill="inherit"===t.get("color")?e.inheritColor||null:"auto",r}var Zh=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],jh=["align","lineHeight","width","height","tag","verticalAlign"],qh=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function Kh(t,e,n,i,r,o,a,s){n=!r&&n||Fh;var l=i&&i.inheritColor,u=e.getShallow("color"),h=e.getShallow("textBorderColor"),c=rt(e.getShallow("opacity"),n.opacity);"inherit"!==u&&"auto"!==u||(u=l||null),"inherit"!==h&&"auto"!==h||(h=l||null),o||(u=u||n.color,h=h||n.textBorderColor),null!=u&&(t.fill=u),null!=h&&(t.stroke=h);var p=rt(e.getShallow("textBorderWidth"),n.textBorderWidth);null!=p&&(t.lineWidth=p);var d=rt(e.getShallow("textBorderType"),n.textBorderType);null!=d&&(t.lineDash=d);var f=rt(e.getShallow("textBorderDashOffset"),n.textBorderDashOffset);null!=f&&(t.lineDashOffset=f),r||null!=c||s||(c=i&&i.defaultOpacity),null!=c&&(t.opacity=c),r||o||null==t.fill&&i.inheritColor&&(t.fill=i.inheritColor);for(var g=0;g<Zh.length;g++){var y=Zh[g];null!=(m=rt(e.getShallow(y),n[y]))&&(t[y]=m)}for(g=0;g<jh.length;g++){y=jh[g];null!=(m=e.getShallow(y))&&(t[y]=m)}if(null==t.verticalAlign){var v=e.getShallow("baseline");null!=v&&(t.verticalAlign=v)}if(!a||!i.disableBox){for(g=0;g<qh.length;g++){var m;y=qh[g];null!=(m=e.getShallow(y))&&(t[y]=m)}var x=e.getShallow("borderType");null!=x&&(t.borderDash=x),"auto"!==t.backgroundColor&&"inherit"!==t.backgroundColor||!l||(t.backgroundColor=l),"auto"!==t.borderColor&&"inherit"!==t.borderColor||!l||(t.borderColor=l)}}function $h(t,e){var n=e&&e.getModel("textStyle");return ut([t.fontStyle||n&&n.getShallow("fontStyle")||"",t.fontWeight||n&&n.getShallow("fontWeight")||"",(t.fontSize||n&&n.getShallow("fontSize")||12)+"px",t.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))}var Jh=So();function Qh(t,e,n,i){if(t){var r=Jh(t);r.prevValue=r.value,r.value=n;var o=e.normal;r.valueAnimation=o.get("valueAnimation"),r.valueAnimation&&(r.precision=o.get("precision"),r.defaultInterpolatedText=i,r.statesModels=e)}}function tc(t,e,n,i,r){var o=Jh(t);if(o.valueAnimation&&o.prevValue!==o.value){var a=o.defaultInterpolatedText,s=rt(o.interpolatedValue,o.prevValue),l=o.value;t.percent=0,(null==o.prevValue?oh:rh)(t,{percent:1},i,e,null,(function(i){var u=Po(n,o.precision,s,l,i);o.interpolatedValue=1===i?null:u;var h=Wh({labelDataIndex:e,labelFetcher:r,defaultText:a?a(u):u+""},o.statesModels,u);Gh(t,h)}))}}var ec,nc,ic=["textStyle","color"],rc=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],oc=new ks,ac=function(){function t(){}return t.prototype.getTextColor=function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(ic):null)},t.prototype.getFont=function(){return $h({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},t.prototype.getTextRect=function(t){for(var e={text:t,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},n=0;n<rc.length;n++)e[rc[n]]=this.getShallow(rc[n]);return oc.useStyle(e),oc.update(),oc.getBoundingRect()},t}(),sc=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],lc=Wo(sc),uc=function(){function t(){}return t.prototype.getLineStyle=function(t){return lc(this,t)},t}(),hc=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],cc=Wo(hc),pc=function(){function t(){}return t.prototype.getItemStyle=function(t,e){return cc(this,t,e)},t}(),dc=function(){function t(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}return t.prototype.init=function(t,e,n){for(var i=[],r=3;r<arguments.length;r++)i[r-3]=arguments[r]},t.prototype.mergeOption=function(t,e){C(this.option,t,!0)},t.prototype.get=function(t,e){return null==t?this.option:this._doGet(this.parsePath(t),!e&&this.parentModel)},t.prototype.getShallow=function(t,e){var n=this.option,i=null==n?n:n[t];if(null==i&&!e){var r=this.parentModel;r&&(i=r.getShallow(t))}return i},t.prototype.getModel=function(e,n){var i=null!=e,r=i?this.parsePath(e):null;return new t(i?this._doGet(r):this.option,n=n||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(r)),this.ecModel)},t.prototype.isEmpty=function(){return null==this.option},t.prototype.restoreData=function(){},t.prototype.clone=function(){return new(0,this.constructor)(T(this.option))},t.prototype.parsePath=function(t){return"string"==typeof t?t.split("."):t},t.prototype.resolveParentPath=function(t){return t},t.prototype.isAnimationEnabled=function(){if(!r.node&&this.option){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},t.prototype._doGet=function(t,e){var n=this.option;if(!t)return n;for(var i=0;i<t.length&&(!t[i]||null!=(n=n&&"object"==typeof n?n[t[i]]:null));i++);return null==n&&e&&(n=e._doGet(this.resolveParentPath(t),e.parentModel)),n},t}();Eo(dc),ec=dc,nc=["__\0is_clz",Vo++].join("_"),ec.prototype[nc]=!0,ec.isInstance=function(t){return!(!t||!t[nc])},R(dc,uc),R(dc,pc),R(dc,Yo),R(dc,ac);var fc=Math.round(10*Math.random());function gc(t){return[t||"",fc++].join("_")}function yc(t,e){return C(C({},t,!0),e,!0)}var vc="ZH",mc="EN",xc=mc,_c={},bc={},wc=r.domSupported&&(document.documentElement.lang||navigator.language||navigator.browserLanguage).toUpperCase().indexOf(vc)>-1?vc:xc;function Sc(t,e){t=t.toUpperCase(),bc[t]=new dc(e),_c[t]=e}function Mc(t){return bc[t]}Sc(mc,{time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{t
Download .txt
gitextract_m1kz_fri/

├── .gitignore
├── ISSUE_TEMPLATE.md
├── LICENSE
├── README.md
├── app.js
├── app.json
├── app.wxss
├── ec-canvas/
│   ├── ec-canvas.js
│   ├── ec-canvas.json
│   ├── ec-canvas.wxml
│   ├── ec-canvas.wxss
│   ├── echarts.js
│   └── wx-canvas.js
├── pages/
│   ├── bar/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   └── index.wxss
│   ├── boxplot/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   └── index.wxss
│   ├── funnel/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   └── index.wxss
│   ├── gauge/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   └── index.wxss
│   ├── graph/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   └── index.wxss
│   ├── heatmap/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   └── index.wxss
│   ├── index/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   └── index.wxss
│   ├── k/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   └── index.wxss
│   ├── lazyLoad/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   └── index.wxss
│   ├── line/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   └── index.wxss
│   ├── loadImage/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   └── index.wxss
│   ├── map/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   ├── index.wxss
│   │   └── mapData.js
│   ├── measureText/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   └── index.wxss
│   ├── move/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   └── index.wxss
│   ├── multiCharts/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   └── index.wxss
│   ├── parallel/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   └── index.wxss
│   ├── pie/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   └── index.wxss
│   ├── radar/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   └── index.wxss
│   ├── sankey/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   └── index.wxss
│   ├── saveCanvas/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   └── index.wxss
│   ├── scatter/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   └── index.wxss
│   ├── sunburst/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   └── index.wxss
│   ├── themeRiver/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   └── index.wxss
│   ├── tree/
│   │   ├── index.js
│   │   ├── index.json
│   │   ├── index.wxml
│   │   └── index.wxss
│   └── treemap/
│       ├── index.js
│       ├── index.json
│       ├── index.wxml
│       └── index.wxss
├── project.config.json
└── sitemap.json
Download .txt
SYMBOL INDEX (1661 symbols across 28 files)

FILE: ec-canvas/ec-canvas.js
  function compareVersion (line 6) | function compareVersion(v1, v2) {
  method initByOldWay (line 110) | initByOldWay(callback) {
  method initByNewWay (line 143) | initByNewWay(callback) {
  method canvasToTempFilePath (line 193) | canvasToTempFilePath(opt) {
  method touchStart (line 216) | touchStart(e) {
  method touchMove (line 238) | touchMove(e) {
  method touchEnd (line 253) | touchEnd(e) {
  function wrapTouch (line 277) | function wrapTouch(event) {

FILE: ec-canvas/echarts.js
  function n (line 35) | function n(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("C...
  function c (line 35) | function c(t){for(var e in h)t[e]&&(h[e]=t[e])}
  function M (line 35) | function M(){return S++}
  function I (line 35) | function I(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];"...
  function T (line 35) | function T(t){if(null==t||"object"!=typeof t)return t;var e=t,n=f.call(t...
  function C (line 35) | function C(t,e,n){if(!q(e)||!q(t))return n?T(e):t;for(var i in e)if(e.ha...
  function D (line 35) | function D(t,e){for(var n=t[0],i=1,r=t.length;i<r;i++)n=C(n,t[i],e);retu...
  function A (line 35) | function A(t,e){if(Object.assign)Object.assign(t,e);else for(var n in e)...
  function k (line 35) | function k(t,e,n){for(var i=G(e),r=0;r<i.length;r++){var o=i[r];(n?null!...
  function P (line 35) | function P(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var n=0,i=t.l...
  function O (line 35) | function O(t,e){var n=t.prototype;function i(){}for(var r in i.prototype...
  function R (line 35) | function R(t,e,n){if(t="prototype"in t?t.prototype:t,e="prototype"in e?e...
  function N (line 35) | function N(t){return!!t&&("string"!=typeof t&&"number"==typeof t.length)}
  function E (line 35) | function E(t,e,n){if(t&&e)if(t.forEach&&t.forEach===y)t.forEach(e,n);els...
  function z (line 35) | function z(t,e,n){if(!t)return[];if(!e)return at(t);if(t.map&&t.map===x)...
  function V (line 35) | function V(t,e,n,i){if(t&&e){for(var r=0,o=t.length;r<o;r++)n=e.call(i,n...
  function B (line 35) | function B(t,e,n){if(!t)return[];if(!e)return at(t);if(t.filter&&t.filte...
  function F (line 35) | function F(t,e,n){if(t&&e)for(var i=0,r=t.length;i<r;i++)if(e.call(n,t[i...
  function G (line 35) | function G(t){if(!t)return[];if(Object.keys)return Object.keys(t);var e=...
  function H (line 35) | function H(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n...
  function Y (line 35) | function Y(t){return Array.isArray?Array.isArray(t):"[object Array]"===f...
  function U (line 35) | function U(t){return"function"==typeof t}
  function X (line 35) | function X(t){return"string"==typeof t}
  function Z (line 35) | function Z(t){return"[object String]"===f.call(t)}
  function j (line 35) | function j(t){return"number"==typeof t}
  function q (line 35) | function q(t){var e=typeof t;return"function"===e||!!t&&"object"===e}
  function K (line 35) | function K(t){return!!p[f.call(t)]}
  function $ (line 35) | function $(t){return!!d[f.call(t)]}
  function J (line 35) | function J(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"ob...
  function Q (line 35) | function Q(t){return null!=t.colorStops}
  function tt (line 35) | function tt(t){return null!=t.image}
  function et (line 35) | function et(t){return"[object RegExp]"===f.call(t)}
  function nt (line 35) | function nt(t){return t!=t}
  function it (line 35) | function it(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];...
  function rt (line 35) | function rt(t,e){return null!=t?t:e}
  function ot (line 35) | function ot(t,e,n){return null!=t?t:null!=e?e:n}
  function at (line 35) | function at(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[...
  function st (line 35) | function st(t){if("number"==typeof t)return[t,t,t,t];var e=t.length;retu...
  function lt (line 35) | function lt(t,e){if(!t)throw new Error(e)}
  function ut (line 35) | function ut(t){return null==t?null:"function"==typeof t.trim?t.trim():t....
  function ct (line 35) | function ct(t){t[ht]=!0}
  function pt (line 35) | function pt(t){return t[ht]}
  function t (line 35) | function t(e){this.data={};var n=Y(e);this.data={};var i=this;function r...
  function ft (line 35) | function ft(t){return new dt(t)}
  function gt (line 35) | function gt(t,e){for(var n=new t.constructor(t.length+e.length),i=0;i<t....
  function yt (line 35) | function yt(t,e){var n;if(Object.create)n=Object.create(t);else{var i=fu...
  function vt (line 35) | function vt(t){var e=t.style;e.webkitUserSelect="none",e.userSelect="non...
  function mt (line 35) | function mt(t,e){return t.hasOwnProperty(e)}
  function xt (line 35) | function xt(){}
  function wt (line 35) | function wt(t,e){return null==t&&(t=0),null==e&&(e=0),[t,e]}
  function St (line 35) | function St(t,e){return t[0]=e[0],t[1]=e[1],t}
  function Mt (line 35) | function Mt(t){return[t[0],t[1]]}
  function It (line 35) | function It(t,e,n){return t[0]=e,t[1]=n,t}
  function Tt (line 35) | function Tt(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t}
  function Ct (line 35) | function Ct(t,e,n,i){return t[0]=e[0]+n[0]*i,t[1]=e[1]+n[1]*i,t}
  function Dt (line 35) | function Dt(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}
  function At (line 35) | function At(t){return Math.sqrt(Lt(t))}
  function Lt (line 35) | function Lt(t){return t[0]*t[0]+t[1]*t[1]}
  function Ot (line 35) | function Ot(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t}
  function Rt (line 35) | function Rt(t,e){var n=At(e);return 0===n?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t...
  function Nt (line 35) | function Nt(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t...
  function zt (line 35) | function zt(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}
  function Bt (line 35) | function Bt(t,e,n,i){return t[0]=e[0]+i*(n[0]-e[0]),t[1]=e[1]+i*(n[1]-e[...
  function Ft (line 35) | function Ft(t,e,n){var i=e[0],r=e[1];return t[0]=n[0]*i+n[2]*r+n[4],t[1]...
  function Gt (line 35) | function Gt(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[...
  function Wt (line 35) | function Wt(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[...
  function t (line 35) | function t(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on...
  function t (line 35) | function t(t){t&&(this._$eventProcessor=t)}
  function jt (line 35) | function jt(t,e,n,i,r,o){var a=i+"-"+r,s=t.length;if(o.hasOwnProperty(a)...
  function qt (line 35) | function qt(t,e){var n=[[t[0],t[1],1,0,0,0,-e[0]*t[0],-e[0]*t[1]],[0,0,0...
  function $t (line 35) | function $t(t,e,n,i,o){if(e.getBoundingClientRect&&r.domSupported&&!Jt(e...
  function Jt (line 35) | function Jt(t){return"CANVAS"===t.nodeName.toUpperCase()}
  function ne (line 35) | function ne(t,e,n,i){return n=n||{},i?ie(t,e,n):ee&&null!=e.layerX&&e.la...
  function ie (line 35) | function ie(t,e,n){if(r.domSupported&&t.getBoundingClientRect){var i=e.c...
  function re (line 35) | function re(t){return t||window.event}
  function oe (line 35) | function oe(t,e,n){if(null!=(e=re(e)).zrX)return e;var i=e.type;if(i&&i....
  function ae (line 35) | function ae(t,e,n,i){t.addEventListener(e,n,i)}
  function le (line 35) | function le(t){return 2===t.which||3===t.which}
  function t (line 35) | function t(){this._track=[]}
  function he (line 35) | function he(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(...
  function de (line 35) | function de(){se(this.event)}
  function e (line 35) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hand...
  function e (line 35) | function e(e,n,i,r){var o=t.call(this)||this;return o._hovered=new ge(0,...
  function me (line 35) | function me(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){for(v...
  function xe (line 35) | function xe(t,e,n){var i=t.painter;return e<0||e>i.getWidth()||n<0||n>i....
  function _e (line 35) | function _e(t,e,n,i){var r=e+1;if(r===n)return 1;if(i(t[r++],t[e])<0){fo...
  function be (line 35) | function be(t,e,n,i,r){for(i===e&&i++;i<n;i++){for(var o,a=t[i],s=e,l=i;...
  function we (line 35) | function we(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])>0){for(s=i-r;l<s...
  function Se (line 35) | function Se(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])<0){for(s=r+1;l<s...
  function Me (line 35) | function Me(t,e){var n,i,r=7,o=0;t.length;var a=[];function s(s){var l=n...
  function Ie (line 35) | function Ie(t,e,n,i){n||(n=0),i||(i=t.length);var r=i-n;if(!(r<2)){var o...
  function Ce (line 35) | function Ce(){Te||(Te=!0,console.warn("z / z2 / zlevel of displayable is...
  function De (line 35) | function De(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:...
  function t (line 35) | function t(){this._roots=[],this._displayList=[],this._displayListLen=0,...
  function Ge (line 35) | function Ge(t){return t>-1e-8&&t<Re}
  function We (line 35) | function We(t){return t>Re||t<-1e-8}
  function He (line 35) | function He(t,e,n,i,r){var o=1-r;return o*o*(o*t+3*r*e)+r*r*(r*i+3*o*n)}
  function Ye (line 35) | function Ye(t,e,n,i,r){var o=1-r;return 3*(((e-t)*o+2*(n-e)*r)*o+(i-n)*r...
  function Ue (line 35) | function Ue(t,e,n,i,r,o){var a=i+3*(e-n)-t,s=3*(n-2*e+t),l=3*(e-t),u=t-r...
  function Xe (line 35) | function Xe(t,e,n,i,r){var o=6*n-12*e+6*t,a=9*e+3*i-3*t-9*n,s=3*e-3*t,l=...
  function Ze (line 35) | function Ze(t,e,n,i,r,o){var a=(e-t)*r+t,s=(n-e)*r+e,l=(i-n)*r+n,u=(s-a)...
  function je (line 35) | function je(t,e,n,i,r,o,a,s,l,u,h){var c,p,d,f,g,y=.005,v=1/0;Ve[0]=l,Ve...
  function qe (line 35) | function qe(t,e,n,i,r,o,a,s,l){for(var u=t,h=e,c=0,p=1/l,d=1;d<=l;d++){v...
  function Ke (line 35) | function Ke(t,e,n,i){var r=1-i;return r*(r*t+2*i*e)+i*i*n}
  function $e (line 35) | function $e(t,e,n,i){return 2*((1-i)*(e-t)+i*(n-e))}
  function Je (line 35) | function Je(t,e,n){var i=t+n-2*e;return 0===i?.5:(t-e)/i}
  function Qe (line 35) | function Qe(t,e,n,i,r){var o=(e-t)*i+t,a=(n-e)*i+e,s=(a-o)*i+o;r[0]=t,r[...
  function tn (line 35) | function tn(t,e,n,i,r,o,a,s,l){var u,h=.005,c=1/0;Ve[0]=a,Ve[1]=s;for(va...
  function en (line 35) | function en(t,e,n,i,r,o,a){for(var s=t,l=e,u=0,h=1/a,c=1;c<=a;c++){var p...
  function rn (line 35) | function rn(t){var e=t&&nn.exec(t);if(e){var n=e[1].split(","),i=+ut(n[0...
  function t (line 35) | function t(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this....
  function t (line 35) | function t(){this._len=0}
  function t (line 35) | function t(t){this._list=new sn,this._maxSize=10,this._map={},this._maxS...
  function hn (line 35) | function hn(t){return(t=Math.round(t))<0?0:t>255?255:t}
  function cn (line 35) | function cn(t){return t<0?0:t>1?1:t}
  function pn (line 35) | function pn(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?hn(pa...
  function dn (line 35) | function dn(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?cn(pa...
  function fn (line 35) | function fn(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e...
  function gn (line 35) | function gn(t,e,n){return t+(e-t)*n}
  function yn (line 35) | function yn(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}
  function vn (line 35) | function vn(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}
  function _n (line 35) | function _n(t,e){xn&&vn(xn,e),xn=mn.put(t,xn||e.slice())}
  function bn (line 35) | function bn(t,e){if(t){e=e||[];var n=mn.get(t);if(n)return vn(e,n);var i...
  function wn (line 35) | function wn(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=dn(t[1]),r=d...
  function Sn (line 35) | function Sn(t,e){var n=bn(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-...
  function Mn (line 35) | function Mn(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var i=t*(e.length...
  function Tn (line 35) | function Tn(t,e,n){if(e&&e.length&&t>=0&&t<=1){var i=t*(e.length-1),r=Ma...
  function Dn (line 35) | function Dn(t,e,n,i){var r=bn(t);if(t)return r=function(t){if(t){var e,n...
  function An (line 35) | function An(t,e){var n=bn(t);if(n&&null!=e)return n[3]=cn(e),kn(n,"rgba")}
  function kn (line 35) | function kn(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return"rgb...
  function Ln (line 35) | function Ln(t,e){var n=bn(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[...
  function Rn (line 35) | function Rn(t){var e;if(t&&"transparent"!==t){if("string"==typeof t&&t.i...
  function En (line 35) | function En(t){return t<Nn&&t>-1e-4}
  function zn (line 35) | function zn(t){return On(1e3*t)/1e3}
  function Vn (line 35) | function Vn(t){return On(1e4*t)/1e4}
  function Fn (line 35) | function Fn(t){return t&&!!t.image}
  function Gn (line 35) | function Gn(t){return"linear"===t.type}
  function Wn (line 35) | function Wn(t){return"radial"===t.type}
  function Hn (line 35) | function Hn(t){return"url(#"+t+")"}
  function Yn (line 35) | function Yn(t){var e=t.getGlobalScale(),n=Math.max(e[0],e[1]);return Mat...
  function Un (line 35) | function Un(t){var e=t.x||0,n=t.y||0,i=(t.rotation||0)*_t,r=rt(t.scaleX,...
  function jn (line 35) | function jn(t,e,n){return(e-t)*n+t}
  function qn (line 35) | function qn(t,e,n,i){for(var r=e.length,o=0;o<r;o++)t[o]=jn(e[o],n[o],i)...
  function Kn (line 35) | function Kn(t,e,n,i){for(var r=e.length,o=0;o<r;o++)t[o]=e[o]+n[o]*i;ret...
  function $n (line 35) | function $n(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a<r;a++){t[...
  function Jn (line 35) | function Jn(t,e){for(var n=t.length,i=e.length,r=n>i?e:t,o=Math.min(n,i)...
  function Qn (line 35) | function Qn(t,e,n){var i=t,r=e;if(i.push&&r.push){var o=i.length,a=r.len...
  function ti (line 35) | function ti(t){if(N(t)){var e=t.length;if(N(t[0])){for(var n=[],i=0;i<e;...
  function ei (line 35) | function ei(t){return t[0]=Math.floor(t[0])||0,t[1]=Math.floor(t[1])||0,...
  function ni (line 35) | function ni(t){return 4===t||5===t}
  function ii (line 35) | function ii(t){return 1===t||2===t}
  function t (line 35) | function t(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._...
  function t (line 35) | function t(t,e,n,i){this._tracks={},this._trackKeys=[],this._maxTime=0,t...
  function si (line 35) | function si(){return(new Date).getTime()}
  function e (line 35) | function e(e){var n=t.call(this)||this;return n._running=!1,n._time=0,n....
  function yi (line 35) | function yi(t){var e=t.pointerType;return"pen"===e||"touch"===e}
  function vi (line 35) | function vi(t){t&&(t.zrByTouch=!0)}
  function mi (line 35) | function mi(t,e){for(var n=e,i=!1;n&&9!==n.nodeType&&!(i=n.domBelongToZr...
  function wi (line 35) | function wi(t,e){var n=e.domHandlers;r.pointerEventsSupported?E(pi.point...
  function Si (line 35) | function Si(t,e){function n(n){Mi(e,n,(function(i){i=re(i),mi(t,i.target...
  function Mi (line 35) | function Mi(t,e,n,i){t.mounted[e]=n,t.listenerOpts[e]=i,ae(t.domTarget,e...
  function Ii (line 35) | function Ii(t){var e,n,i,r,o=t.mounted;for(var a in o)o.hasOwnProperty(a...
  function e (line 35) | function e(e,n){var i=t.call(this)||this;return i.__pointerCapturing=!1,...
  function Pi (line 35) | function Pi(){return[1,0,0,1,0,0]}
  function Oi (line 35) | function Oi(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}
  function Ri (line 35) | function Ri(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4...
  function Ni (line 35) | function Ni(t,e,n){var i=e[0]*n[0]+e[2]*n[1],r=e[1]*n[0]+e[3]*n[1],o=e[0...
  function Ei (line 35) | function Ei(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e...
  function zi (line 35) | function zi(t,e,n){var i=e[0],r=e[2],o=e[4],a=e[1],s=e[3],l=e[5],u=Math....
  function Vi (line 35) | function Vi(t,e,n){var i=n[0],r=n[1];return t[0]=e[0]*i,t[1]=e[1]*r,t[2]...
  function Bi (line 35) | function Bi(t,e){var n=e[0],i=e[2],r=e[4],o=e[1],a=e[3],s=e[5],l=n*a-o*i...
  function Fi (line 35) | function Fi(t){var e=[1,0,0,1,0,0];return Ri(e,t),e}
  function Yi (line 35) | function Yi(t){return t>Hi||t<-5e-5}
  function t (line 35) | function t(){}
  function $i (line 35) | function $i(t,e){for(var n=0;n<Ki.length;n++){var i=Ki[n];t[i]=e[i]}}
  function t (line 35) | function t(t,e){this.x=t||0,this.y=e||0}
  function t (line 35) | function t(t,e,n,i){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i),this.x=t,this.y=e,...
  function ur (line 35) | function ur(t,e){var n=lr[e=e||a];n||(n=lr[e]=new ln(500));var i=n.get(t...
  function hr (line 35) | function hr(t,e,n,i){var r=ur(t,e),o=fr(e),a=pr(0,r,n),s=dr(0,o,i);retur...
  function cr (line 35) | function cr(t,e,n,i){var r=((t||"")+"").split("\n");if(1===r.length)retu...
  function pr (line 35) | function pr(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}
  function dr (line 35) | function dr(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}
  function fr (line 35) | function fr(t){return ur("国",t)}
  function gr (line 35) | function gr(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFlo...
  function yr (line 35) | function yr(t,e,n){var i=e.position||"inside",r=null!=e.distance?e.dista...
  function t (line 35) | function t(t){this.id=M(),this.animators=[],this.currentStates=[],this.s...
  function n (line 35) | function n(t,n,i,r){function o(t,e){Object.defineProperty(e,0,{get:funct...
  function Sr (line 35) | function Sr(t,e,n,i,r){var o=[];Tr(t,"",t,e,n=n||{},i,o,r);var a=o.lengt...
  function Mr (line 35) | function Mr(t,e,n){for(var i=0;i<n;i++)t[i]=e[i]}
  function Ir (line 35) | function Ir(t,e,n){if(N(e[n]))if(N(t[n])||(t[n]=[]),$(e[n])){var i=e[n]....
  function Tr (line 35) | function Tr(t,e,n,i,r,o,a,s){for(var l=G(i),u=r.duration,h=r.delay,c=r.a...
  function e (line 35) | function e(e){var n=t.call(this)||this;return n.isGroup=!0,n._children=[...
  function t (line 45) | function t(t,e,n){var i=this;this._sleepAfterStill=10,this._stillFrameAc...
  function Lr (line 45) | function Lr(t,e){var n=new kr(M(),t,e);return Ar[n.id]=n,n}
  function Pr (line 45) | function Pr(t,e){Dr[t]=e}
  function Nr (line 45) | function Nr(t,e,n,i){var r=e[0],o=e[1],a=n[0],s=n[1],l=o-r,u=s-a;if(0===...
  function Er (line 45) | function Er(t,e){switch(t){case"center":case"middle":t="50%";break;case"...
  function zr (line 45) | function zr(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t...
  function Vr (line 45) | function Vr(t){return t.sort((function(t,e){return t-e})),t}
  function Br (line 45) | function Br(t){if(t=+t,isNaN(t))return 0;if(t>1e-14)for(var e=1,n=0;n<15...
  function Fr (line 45) | function Fr(t){var e=t.toString().toLowerCase(),n=e.indexOf("e"),i=n>0?+...
  function Gr (line 45) | function Gr(t,e){var n=Math.log,i=Math.LN10,r=Math.floor(n(t[1]-t[0])/i)...
  function Wr (line 45) | function Wr(t,e,n){if(!t[e])return 0;var i=V(t,(function(t,e){return t+(...
  function Hr (line 45) | function Hr(t,e){var n=Math.max(Br(t),Br(e)),i=t+e;return n>20?i:zr(i,n)}
  function Ur (line 45) | function Ur(t){var e=2*Math.PI;return(t%e+e)%e}
  function Xr (line 45) | function Xr(t){return t>-1e-4&&t<Rr}
  function jr (line 45) | function jr(t){if(t instanceof Date)return t;if(X(t)){var e=Zr.exec(t);i...
  function qr (line 45) | function qr(t){return Math.pow(10,Kr(t))}
  function Kr (line 45) | function Kr(t){if(0===t)return 0;var e=Math.floor(Math.log(t)/Math.LN10)...
  function $r (line 45) | function $r(t,e){var n=Kr(t),i=Math.pow(10,n),r=t/i;return t=(e?r<1.5?1:...
  function Jr (line 45) | function Jr(t,e){var n=(t.length-1)*e+1,i=Math.floor(n),r=+t[i-1],o=n-i;...
  function Qr (line 45) | function Qr(t){t.sort((function(t,e){return s(t,e,0)?-1:1}));for(var e=-...
  function to (line 45) | function to(t){var e=parseFloat(t);return e==t&&(0!==e||!X(t)||t.indexOf...
  function eo (line 45) | function eo(t){return!isNaN(to(t))}
  function no (line 45) | function no(){return Math.round(9*Math.random())}
  function io (line 45) | function io(t,e){return 0===e?t:io(e,t%e)}
  function ro (line 45) | function ro(t,e){return null==t?e:null==e?t:t*e/io(t,e)}
  function oo (line 45) | function oo(t){0}
  function ao (line 45) | function ao(t){throw new Error(t)}
  function so (line 45) | function so(t,e,n){return(e-t)*n+t}
  function ho (line 45) | function ho(t){return t instanceof Array?t:null==t?[]:[t]}
  function co (line 45) | function co(t,e,n){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.empha...
  function fo (line 45) | function fo(t){return!q(t)||Y(t)||t instanceof Date?t:t.value}
  function go (line 45) | function go(t){return q(t)&&!(t instanceof Array)}
  function yo (line 45) | function yo(t,e,n){var i="normalMerge"===n,r="replaceMerge"===n,o="repla...
  function vo (line 45) | function vo(t,e,n){var i=xo(e[t],null),r=xo(n[t],null);return null!=i&&n...
  function mo (line 45) | function mo(t){return xo(t,"")}
  function xo (line 45) | function xo(t,e){return null==t?e:X(t)?t:j(t)||Z(t)?t+"":e}
  function _o (line 45) | function _o(t){var e=t.name;return!(!e||!e.indexOf(lo))}
  function bo (line 45) | function bo(t){return t&&null!=t.id&&0===mo(t.id).indexOf(uo)}
  function wo (line 45) | function wo(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=...
  function So (line 45) | function So(){var t="__ec_inner_"+Mo++;return function(e){return e[t]||(...
  function Io (line 45) | function Io(t,e,n){var i=To(e,n),r=i.mainTypeSpecified,o=i.queryOptionMa...
  function To (line 45) | function To(t,e){var n;if(X(t)){var i={};i[t+"Index"]=0,n=i}else n=t;var...
  function Ao (line 45) | function Ao(t,e,n,i){i=i||Co;var r=n.index,o=n.id,a=n.name,s={models:nul...
  function ko (line 45) | function ko(t,e,n){t.setAttribute?t.setAttribute(e,n):t[e]=n}
  function Lo (line 45) | function Lo(t,e){var n=ft(),i=[];return E(t,(function(t){var r=e(t);(n.g...
  function Po (line 45) | function Po(t,e,n,i,r){var o=null==e||"auto"===e;if(null==i)return i;if(...
  function No (line 45) | function No(t){var e={main:"",sub:""};if(t){var n=t.split(".");e.main=n[...
  function Eo (line 45) | function Eo(t,e){t.$constructor=t,t.extend=function(t){var e,i,r=this;re...
  function zo (line 45) | function zo(t,e){t.extend=e.extend}
  function Bo (line 45) | function Bo(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=argument...
  function Fo (line 45) | function Fo(t,e,n){return this.superClass.prototype[e].apply(t,n)}
  function Go (line 45) | function Go(t){var e={};t.registerClass=function(t){var n,i=t.type||t.pr...
  function Wo (line 45) | function Wo(t,e){for(var n=0;n<t.length;n++)t[n][1]||(t[n][1]=t[n][0]);r...
  function t (line 45) | function t(){}
  function Xo (line 45) | function Xo(t){if("string"==typeof t){var e=Uo.get(t);return e&&e.image}...
  function Zo (line 45) | function Zo(t,e,n,i,r){if(t){if("string"==typeof t){if(e&&e.__zrImageSrc...
  function jo (line 45) | function jo(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__...
  function qo (line 45) | function qo(t){return t&&t.width&&t.height}
  function $o (line 45) | function $o(t,e,n,i,r){if(!e)return"";var o=(t+"").split("\n");r=Jo(e,n,...
  function Jo (line 45) | function Jo(t,e,n,i){var r=A({},i=i||{});r.font=e,n=rt(n,"..."),r.maxIte...
  function Qo (line 45) | function Qo(t,e){var n=e.containerWidth,i=e.font,r=e.contentWidth;if(!n)...
  function ta (line 45) | function ta(t,e,n,i){for(var r=0,o=0,a=t.length;o<a&&r<e;o++){var s=t.ch...
  function ra (line 45) | function ra(t,e,n,i,r){var o,a,s=""===e,l=r&&n.rich[r]||{},u=t.lines,h=l...
  function aa (line 45) | function aa(t){return!function(t){var e=t.charCodeAt(0);return e>=33&&e<...
  function sa (line 45) | function sa(t,e,n,i,r){for(var o=[],a=[],s="",l="",u=0,h=0,c=0;c<t.lengt...
  function e (line 45) | function e(e){return t.call(this,e)||this}
  function Ma (line 45) | function Ma(t,e,n){if(0!==t.length){for(var i=t[0],r=i[0],o=i[0],a=i[1],...
  function Ia (line 45) | function Ia(t,e,n,i,r,o){r[0]=ya(t,n),r[1]=ya(e,i),o[0]=va(t,n),o[1]=va(...
  function Da (line 45) | function Da(t,e,n,i,r,o,a,s,l,u){var h=Xe,c=He,p=h(t,n,r,a,Ta);l[0]=1/0,...
  function Aa (line 45) | function Aa(t,e,n,i,r,o,a,s){var l=Je,u=Ke,h=va(ya(l(t,n,r),1),0),c=va(y...
  function ka (line 45) | function ka(t,e,n,i,r,o,a,s,l){var u=Gt,h=Wt,c=Math.abs(r-o);if(c%_a<1e-...
  function Za (line 45) | function Za(t){return Math.round(t/Ha*1e8)/1e8%2*Ha}
  function ja (line 45) | function ja(t,e){var n=Za(t[0]);n<0&&(n+=Ya);var i=n-t[0],r=t[1];r+=i,!e...
  function t (line 45) | function t(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,thi...
  function Ka (line 45) | function Ka(t,e,n,i,r,o,a){if(0===r)return!1;var s=r,l=0;if(a>e+s&&a>i+s...
  function $a (line 45) | function $a(t,e,n,i,r,o,a,s,l,u,h){if(0===l)return!1;var c=l;return!(h>e...
  function Ja (line 45) | function Ja(t,e,n,i,r,o,a,s,l){if(0===a)return!1;var u=a;return!(l>e+u&&...
  function ts (line 45) | function ts(t){return(t%=Qa)<0&&(t+=Qa),t}
  function ns (line 45) | function ns(t,e,n,i,r,o,a,s,l){if(0===a)return!1;var u=a;s-=t,l-=e;var h...
  function is (line 45) | function is(t,e,n,i,r,o){if(o>e&&o>i||o<e&&o<i)return 0;if(i===e)return ...
  function ls (line 45) | function ls(t,e,n,i,r,o,a,s,l,u){if(u>e&&u>i&&u>o&&u>s||u<e&&u<i&&u<o&&u...
  function us (line 45) | function us(t,e,n,i,r,o,a,s){if(s>e&&s>i&&s>o||s<e&&s<i&&s<o)return 0;va...
  function hs (line 45) | function hs(t,e,n,i,r,o,a,s){if((s-=e)>n||s<-n)return 0;var l=Math.sqrt(...
  function cs (line 45) | function cs(t,e,n,i,r){for(var o,a,s,l,u=t.data,h=t.len(),c=0,p=0,d=0,f=...
  function e (line 45) | function e(e){return t.call(this,e)||this}
  function i (line 45) | function i(n){var i=e.call(this,n)||this;return t.init&&t.init.call(i,n),i}
  function e (line 45) | function e(){return null!==t&&t.apply(this,arguments)||this}
  function e (line 45) | function e(){return null!==t&&t.apply(this,arguments)||this}
  function ws (line 45) | function ws(t,e,n){if(e){var i=e.x1,r=e.x2,o=e.y1,a=e.y2;t.x1=i,t.x2=r,t...
  function Ss (line 45) | function Ss(t,e,n){if(e){var i=e.x,r=e.y,o=e.width,a=e.height;t.x=i,t.y=...
  function Ms (line 45) | function Ms(t,e,n){if(!e)return t;var i=bs(2*t);return(i+bs(e))%2==0?i/2...
  function e (line 45) | function e(e){return t.call(this,e)||this}
  function e (line 45) | function e(e){var n=t.call(this)||this;return n.type="text",n._children=...
  function y (line 45) | function y(t,e,n){t.width=e,t.lineHeight=n,c+=n,p=Math.max(p,e)}
  function Rs (line 45) | function Rs(t){return"string"!=typeof t||-1===t.indexOf("px")&&-1===t.in...
  function Ns (line 45) | function Ns(t,e){for(var n=0;n<Os.length;n++){var i=Os[n],r=e[i];null!=r...
  function Es (line 45) | function Es(t){return null!=t.fontSize||t.fontFamily||t.fontWeight}
  function zs (line 45) | function zs(t){if(t){t.font=ks.makeFont(t);var e=t.align;"middle"===e&&(...
  function Vs (line 45) | function Vs(t,e){return null==t||e<=0||"transparent"===t||"none"===t?nul...
  function Bs (line 45) | function Bs(t){return null==t||"none"===t?null:t.image||t.colorStops?"#0...
  function Fs (line 45) | function Fs(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2...
  function Gs (line 45) | function Gs(t){var e=t.text;return null!=e&&(e+=""),e}
  function Ws (line 45) | function Ws(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&...
  function il (line 45) | function il(t){return null!=t&&"none"!==t}
  function ol (line 45) | function ol(t){if(X(t)){var e=rl.get(t);return e||(e=Sn(t,-.1),rl.put(t,...
  function al (line 45) | function al(t,e,n){t.onHoverStateChange&&(t.hoverState||0)!==n&&t.onHove...
  function sl (line 45) | function sl(t){al(t,"emphasis",2)}
  function ll (line 45) | function ll(t){2===t.hoverState&&al(t,"normal",0)}
  function ul (line 45) | function ul(t){al(t,"blur",1)}
  function hl (line 45) | function hl(t){1===t.hoverState&&al(t,"normal",0)}
  function cl (line 45) | function cl(t){t.selected=!0}
  function pl (line 45) | function pl(t){t.selected=!1}
  function dl (line 45) | function dl(t,e,n){e(t,n)}
  function fl (line 45) | function fl(t,e,n){dl(t,e,n),t.isGroup&&t.traverse((function(t){dl(t,e,n...
  function gl (line 45) | function gl(t,e){switch(e){case"emphasis":t.hoverState=2;break;case"norm...
  function yl (line 45) | function yl(t,e){var n=this.states[t];if(this.style){if("emphasis"===t)r...
  function vl (line 45) | function vl(t){t.stateProxy=yl;var e=t.getTextContent(),n=t.getTextGuide...
  function ml (line 45) | function ml(t,e){!Tl(t,e)&&!t.__highByOuter&&fl(t,sl)}
  function xl (line 45) | function xl(t,e){!Tl(t,e)&&!t.__highByOuter&&fl(t,ll)}
  function _l (line 45) | function _l(t,e){t.__highByOuter|=1<<(e||0),fl(t,sl)}
  function bl (line 45) | function bl(t,e){!(t.__highByOuter&=~(1<<(e||0)))&&fl(t,ll)}
  function wl (line 45) | function wl(t){fl(t,ul)}
  function Sl (line 45) | function Sl(t){fl(t,hl)}
  function Ml (line 45) | function Ml(t){fl(t,cl)}
  function Il (line 45) | function Il(t){fl(t,pl)}
  function Tl (line 45) | function Tl(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}
  function Cl (line 45) | function Cl(t){var e=t.getModel(),n=[],i=[];e.eachComponent((function(e,...
  function Dl (line 45) | function Dl(t,e,n,i){var r=i.getModel();function o(t,e){for(var n=0;n<e....
  function Al (line 45) | function Al(t,e,n){if(null!=t&&null!=e){var i=n.getModel().getComponent(...
  function kl (line 45) | function kl(t,e,n,i){var r={focusSelf:!1,dispatchers:null};if(null==t||"...
  function Ll (line 45) | function Ll(t){E(t.getAllData(),(function(e){var n=e.data,i=e.type;n.eac...
  function Pl (line 45) | function Pl(t){var e=[];return t.eachSeries((function(t){E(t.getAllData(...
  function Ol (line 45) | function Ol(t,e,n){Bl(t,!0),fl(t,vl),Nl(t,e,n)}
  function Rl (line 45) | function Rl(t,e,n,i){i?function(t){Bl(t,!1)}(t):Ol(t,e,n)}
  function Nl (line 45) | function Nl(t,e,n){var i=Hs(t);null!=e?(i.focus=e,i.blurScope=n):i.focus...
  function Vl (line 45) | function Vl(t,e,n,i){n=n||"itemStyle";for(var r=0;r<El.length;r++){var o...
  function Bl (line 45) | function Bl(t,e){var n=!1===e,i=t;t.highDownSilentOnTouch&&(i.__highDown...
  function Fl (line 45) | function Fl(t){return!(!t||!t.__highDownDispatcher)}
  function Gl (line 45) | function Gl(t){var e=t.type;return e===tl||e===el||e===nl}
  function Wl (line 45) | function Wl(t){var e=t.type;return e===Js||e===Qs}
  function Zl (line 45) | function Zl(t,e){if(e){var n,i,r,o,a,s,l=t.data,u=t.len(),h=Hl.M,c=Hl.C,...
  function Jl (line 45) | function Jl(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}
  function Ql (line 45) | function Ql(t,e){return(t[0]*e[0]+t[1]*e[1])/(Jl(t)*Jl(e))}
  function tu (line 45) | function tu(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(Ql(t,e))}
  function eu (line 45) | function eu(t,e,n,i,r,o,a,s,l,u,h){var c=l*($l/180),p=Kl(c)*(t-n)/2+ql(c...
  function e (line 45) | function e(){return null!==t&&t.apply(this,arguments)||this}
  function ou (line 45) | function ou(t){return null!=t.setData}
  function au (line 45) | function au(t,e){var n=function(t){var e=new qa;if(!t)return e;var n,i=0...
  function su (line 45) | function su(t,e){return new ru(au(t,e))}
  function lu (line 45) | function lu(t,e){e=e||{};var n=new gs;return t.shape&&n.setShape(t.shape...
  function e (line 45) | function e(e){return t.call(this,e)||this}
  function e (line 45) | function e(e){return t.call(this,e)||this}
  function Mu (line 45) | function Mu(t,e,n,i,r,o,a){var s=t-n,l=e-i,u=(a?o:-o)/_u(s*s+l*l),h=u*l,...
  function Iu (line 45) | function Iu(t,e){var n,i=bu(e.r,0),r=bu(e.r0||0,0),o=i>0;if(o||r>0){if(o...
  function e (line 45) | function e(e){return t.call(this,e)||this}
  function e (line 45) | function e(e){return t.call(this,e)||this}
  function ku (line 45) | function ku(t,e,n){var i=e.smooth,r=e.points;if(r&&r.length>=2){if(i){va...
  function e (line 45) | function e(e){return t.call(this,e)||this}
  function e (line 45) | function e(e){return t.call(this,e)||this}
  function e (line 45) | function e(e){return t.call(this,e)||this}
  function Fu (line 45) | function Fu(t,e,n){var i=t.cpx2,r=t.cpy2;return null!=i||null!=r?[(n?Ye:...
  function e (line 45) | function e(e){return t.call(this,e)||this}
  function e (line 45) | function e(e){return t.call(this,e)||this}
  function e (line 45) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type...
  function t (line 45) | function t(t){this.colorStops=t||[]}
  function e (line 45) | function e(e,n,i,r,o,a){var s=t.call(this,o)||this;return s.x=null==e?0:...
  function e (line 45) | function e(e,n,i,r,o){var a=t.call(this,r)||this;return a.x=null==e?.5:e...
  function t (line 45) | function t(t,e){this._corners=[],this._axes=[],this._origin=[0,0];for(va...
  function e (line 45) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.notC...
  function nh (line 45) | function nh(t,e,n,i,r){var o;if(e&&e.ecModel){var a=e.ecModel.getUpdateP...
  function ih (line 45) | function ih(t,e,n,i,r,o,a){var s,l=!1;U(r)?(a=o,o=r,r=null):q(r)&&(o=r.c...
  function rh (line 45) | function rh(t,e,n,i,r,o){ih("update",t,e,n,i,r,o)}
  function oh (line 45) | function oh(t,e,n,i,r,o){ih("enter",t,e,n,i,r,o)}
  function ah (line 45) | function ah(t){if(!t.__zr)return!0;for(var e=0;e<t.animators.length;e++)...
  function sh (line 45) | function sh(t,e,n,i,r,o){ah(t)||ih("leave",t,e,n,i,r,o)}
  function lh (line 45) | function lh(t,e,n,i){t.removeTextContent(),t.removeTextGuideLine(),sh(t,...
  function uh (line 45) | function uh(t,e,n){function i(){t.parent&&t.parent.remove(t)}t.isGroup?t...
  function hh (line 45) | function hh(t){eh(t).oldStyle=t.style}
  function fh (line 45) | function fh(t){return gs.extend(t)}
  function e (line 45) | function e(e){var n=t.call(this,e)||this;return n.applyTransform=i.apply...
  function yh (line 45) | function yh(t,e){return gh(t,e)}
  function vh (line 45) | function vh(t,e){dh[t]=e}
  function mh (line 45) | function mh(t){if(dh.hasOwnProperty(t))return dh[t]}
  function xh (line 45) | function xh(t,e,n,i){var r=su(t,e);return n&&("center"===i&&(n=bh(n,r.ge...
  function _h (line 45) | function _h(t,e,n){var i=new _s({style:{image:t,x:e.x,y:e.y,width:e.widt...
  function bh (line 45) | function bh(t,e){var n,i=e.width/e.height,r=t.height*i;return n=r<=t.wid...
  function Sh (line 45) | function Sh(t,e){if(t.applyTransform){var n=t.getBoundingRect().calculat...
  function Ih (line 45) | function Ih(t,e){for(var n=Oi([]);t&&t!==e;)Ni(n,t.getLocalTransform(),n...
  function Th (line 45) | function Th(t,e,n){return e&&!N(e)&&(e=qi.getLocalTransform(e)),n&&(e=Bi...
  function Ch (line 45) | function Ch(t,e,n){var i=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/...
  function Dh (line 45) | function Dh(t){return!t.isGroup}
  function Ah (line 45) | function Ah(t,e,n){if(t&&e){var i,r=(i={},t.traverse((function(t){Dh(t)&...
  function kh (line 45) | function kh(t,e){return z(t,(function(t){var n=t[0];n=ch(n,e.x),n=ph(n,e...
  function Lh (line 45) | function Lh(t,e){var n=ch(t.x,e.x),i=ph(t.x+t.width,e.x+e.width),r=ch(t....
  function Ph (line 45) | function Ph(t,e,n){var i=A({rectHover:!0},e),r=i.style={strokeNoScale:!0...
  function Oh (line 45) | function Oh(t,e,n,i,r){for(var o=0,a=r[r.length-1];o<r.length;o++){var s...
  function Rh (line 45) | function Rh(t,e,n,i,r,o,a,s){var l,u=n-t,h=i-e,c=a-r,p=s-o,d=Nh(c,p,u,h)...
  function Nh (line 45) | function Nh(t,e,n,i){return t*i-n*e}
  function Eh (line 45) | function Eh(t){var e=t.itemTooltipOption,n=t.componentModel,i=t.itemName...
  function zh (line 45) | function zh(t,e){var n;t.isGroup&&(n=e(t)),n||t.traverse(e)}
  function Vh (line 45) | function Vh(t,e){if(t)if(Y(t))for(var n=0;n<t.length;n++)zh(t[n],e);else...
  function Gh (line 45) | function Gh(t,e){for(var n=0;n<qs.length;n++){var i=qs[n],r=e[i],o=t.ens...
  function Wh (line 45) | function Wh(t,e,n){var i,r=t.labelFetcher,o=t.labelDataIndex,a=t.labelDi...
  function Hh (line 45) | function Hh(t,e,n,i){n=n||Fh;for(var r=t instanceof ks,o=!1,a=0;a<Ks.len...
  function Yh (line 45) | function Yh(t,e){e=e||"label";for(var n={normal:t.getModel(e)},i=0;i<qs....
  function Uh (line 45) | function Uh(t,e,n,i,r){var o={};return function(t,e,n,i,r){n=n||Fh;var o...
  function Xh (line 45) | function Xh(t,e,n){e=e||{};var i,r={},o=t.getShallow("rotate"),a=rt(t.ge...
  function Kh (line 45) | function Kh(t,e,n,i,r,o,a,s){n=!r&&n||Fh;var l=i&&i.inheritColor,u=e.get...
  function $h (line 45) | function $h(t,e){var n=e&&e.getModel("textStyle");return ut([t.fontStyle...
  function Qh (line 45) | function Qh(t,e,n,i){if(t){var r=Jh(t);r.prevValue=r.value,r.value=n;var...
  function tc (line 45) | function tc(t,e,n,i,r){var o=Jh(t);if(o.valueAnimation&&o.prevValue!==o....
  function t (line 45) | function t(){}
  function t (line 45) | function t(){}
  function t (line 45) | function t(){}
  function t (line 45) | function t(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}
  function gc (line 45) | function gc(t){return[t||"",fc++].join("_")}
  function yc (line 45) | function yc(t,e){return C(C({},t,!0),e,!0)}
  function Sc (line 45) | function Sc(t,e){t=t.toUpperCase(),bc[t]=new dc(e),_c[t]=e}
  function Mc (line 45) | function Mc(t){return bc[t]}
  function Nc (line 45) | function Nc(t,e){return"0000".substr(0,e-(t+="").length)+t}
  function Ec (line 45) | function Ec(t){switch(t){case"half-year":case"quarter":return"month";cas...
  function zc (line 45) | function zc(t){return t===Ec(t)}
  function Vc (line 45) | function Vc(t,e,n,i){var r=jr(t),o=r[Gc(n)](),a=r[Wc(n)]()+1,s=Math.floo...
  function Bc (line 45) | function Bc(t,e){var n=jr(t),i=n[Wc(e)]()+1,r=n[Hc(e)](),o=n[Yc(e)](),a=...
  function Fc (line 45) | function Fc(t,e,n){var i=j(t)?jr(t):t;switch(e=e||Bc(t,n)){case"year":re...
  function Gc (line 45) | function Gc(t){return t?"getUTCFullYear":"getFullYear"}
  function Wc (line 45) | function Wc(t){return t?"getUTCMonth":"getMonth"}
  function Hc (line 45) | function Hc(t){return t?"getUTCDate":"getDate"}
  function Yc (line 45) | function Yc(t){return t?"getUTCHours":"getHours"}
  function Uc (line 45) | function Uc(t){return t?"getUTCMinutes":"getMinutes"}
  function Xc (line 45) | function Xc(t){return t?"getUTCSeconds":"getSeconds"}
  function Zc (line 45) | function Zc(t){return t?"getUTCMilliseconds":"getMilliseconds"}
  function jc (line 45) | function jc(t){return t?"setUTCFullYear":"setFullYear"}
  function qc (line 45) | function qc(t){return t?"setUTCMonth":"setMonth"}
  function Kc (line 45) | function Kc(t){return t?"setUTCDate":"setDate"}
  function $c (line 45) | function $c(t){return t?"setUTCHours":"setHours"}
  function Jc (line 45) | function Jc(t){return t?"setUTCMinutes":"setMinutes"}
  function Qc (line 45) | function Qc(t){return t?"setUTCSeconds":"setSeconds"}
  function tp (line 45) | function tp(t){return t?"setUTCMilliseconds":"setMilliseconds"}
  function ep (line 45) | function ep(t){if(!eo(t))return X(t)?t:"-";var e=(t+"").split(".");retur...
  function np (line 45) | function np(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(functio...
  function ap (line 45) | function ap(t){return null==t?"":(t+"").replace(rp,(function(t,e){return...
  function sp (line 45) | function sp(t,e,n){function i(t){return t&&ut(t)?t:"-"}function r(t){ret...
  function hp (line 45) | function hp(t,e,n){Y(e)||(e=[e]);var i=e.length;if(!i)return"";for(var r...
  function cp (line 45) | function cp(t,e){var n=X(t)?{color:t,extraCssText:e}:t||{},i=n.color,r=n...
  function pp (line 45) | function pp(t,e){return e=e||"transparent",X(t)?t:q(t)&&t.colorStops&&(t...
  function dp (line 45) | function dp(t,e){if("_blank"===e||"blank"===e){var n=window.open();n.ope...
  function vp (line 45) | function vp(t,e,n,i,r){var o=0,a=0;null==i&&(i=1/0),null==r&&(r=1/0);var...
  function xp (line 45) | function xp(t,e,n){n=ip(n||0);var i=e.width,r=e.height,o=Er(t.left,i),a=...
  function _p (line 45) | function _p(t,e,n,i,r,o){var a,s=!r||!r.hv||r.hv[0],l=!r||!r.hv||r.hv[1]...
  function bp (line 45) | function bp(t){var e=t.layoutMode||t.constructor.layoutMode;return q(e)?...
  function wp (line 45) | function wp(t,e,n){var i=n&&n.ignoreSize;!Y(i)&&(i=[i,i]);var r=a(yp[0],...
  function Sp (line 45) | function Sp(t){return Mp({},t)}
  function Mp (line 45) | function Mp(t,e){return e&&t&&fp(gp,(function(n){e.hasOwnProperty(n)&&(t...
  function e (line 45) | function e(e,n,i){var r=t.call(this,e,n,i)||this;return r.uid=gc("ec_cpt...
  function n (line 45) | function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}
  function d (line 45) | function d(t){s[t].entryCount--,0===s[t].entryCount&&l.push(t)}
  function f (line 45) | function f(t){u[t]=!0,d(t)}
  function Hp (line 45) | function Hp(t,e,n){var i={},r=Up(e);if(!r||!t)return i;var o,a,s=[],l=[]...
  function Yp (line 45) | function Yp(t,e,n){var i={};if(!Up(t))return i;var r,o=e.sourceFormat,a=...
  function Up (line 45) | function Up(t){if(!t.get("data",!0))return Ao(t.ecModel,"dataset",{index...
  function Xp (line 45) | function Xp(t,e){return Zp(t.data,t.sourceFormat,t.seriesLayoutBy,t.dime...
  function Zp (line 45) | function Zp(t,e,n,i,r,o){var a,s,l;if($(t))return Gp;if(i){var u=i[o];q(...
  function t (line 45) | function t(){}
  function ed (line 45) | function ed(t,e,n,i){var r=ho(t.get(["aria","decal","decals"]));return n...
  function nd (line 45) | function nd(t,e,n,i,r,o,a){var s=e(o=o||t),l=s.paletteIdx||0,u=s.palette...
  function e (line 45) | function e(){return null!==t&&t.apply(this,arguments)||this}
  function rd (line 45) | function rd(t,e,n){if(Y(e)){var i=ft();return E(e,(function(t){null!=t&&...
  function od (line 45) | function od(t,e){return e.hasOwnProperty("subType")?B(t,(function(t){ret...
  function ad (line 45) | function ad(t){var e=ft();return t&&E(ho(t.replaceMerge),(function(t){e....
  function t (line 45) | function t(){this._coordinateSystems=[]}
  function t (line 45) | function t(t){this._timelineOptions=[],this._mediaList=[],this._currentM...
  function p (line 45) | function p(t){E(e,(function(e){e(t,n)}))}
  function dd (line 45) | function dd(t,e,n){var i={width:e,height:n,aspectratio:e/n},r=!0;return ...
  function vd (line 45) | function vd(t){var e=t&&t.itemStyle;if(e)for(var n=0,i=yd.length;n<i;n++...
  function md (line 45) | function md(t,e,n){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var i=t[e]....
  function xd (line 45) | function xd(t){md(t,"itemStyle"),md(t,"lineStyle"),md(t,"areaStyle"),md(...
  function _d (line 45) | function _d(t,e){var n=gd(t)&&t[e],i=gd(n)&&n.textStyle;if(i){0;for(var ...
  function bd (line 45) | function bd(t){t&&(xd(t),_d(t,"label"),t.emphasis&&_d(t.emphasis,"label"))}
  function wd (line 45) | function wd(t){return Y(t)?t:t?[t]:[]}
  function Sd (line 45) | function Sd(t){return(Y(t)?t[0]:t)||{}}
  function Md (line 45) | function Md(t,e){fd(wd(t.series),(function(t){gd(t)&&function(t){if(gd(t...
  function Id (line 45) | function Id(t){t&&E(Td,(function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[...
  function Ad (line 45) | function Ad(t){var e=t&&t.itemStyle;if(e)for(var n=0;n<Dd.length;n++){va...
  function kd (line 45) | function kd(t){t&&"edge"===t.alignTo&&null!=t.margin&&null==t.edgeDistan...
  function Ld (line 45) | function Ld(t){t&&t.downplay&&!t.blur&&(t.blur=t.downplay)}
  function Pd (line 45) | function Pd(t,e){if(t)for(var n=0;n<t.length;n++)e(t[n]),t[n]&&Pd(t[n].c...
  function Od (line 45) | function Od(t,e){Md(t,e),t.series=ho(t.series),E(t.series,(function(t){i...
  function Rd (line 45) | function Rd(t){E(t,(function(e,n){var i=[],r=[NaN,NaN],o=[e.stackResultD...
  function Gd (line 45) | function Gd(t){return t instanceof Fd}
  function Wd (line 45) | function Wd(t,e,n){n=n||Yd(t);var i=e.seriesLayoutBy,r=function(t,e,n,i,...
  function Hd (line 45) | function Hd(t){return new Fd({data:t,sourceFormat:$(t)?Np:Lp})}
  function Yd (line 45) | function Yd(t){var e=Ep;if($(t))e=Np;else if(Y(t)){0===t.length&&(e=Pp);...
  function Ud (line 45) | function Ud(t){if(t){var e=ft();return z(t,(function(t,n){var i={name:(t...
  function Xd (line 45) | function Xd(t,e,n,i){if(e===Vp)for(var r=0;r<n.length&&r<i;r++)t(n[r]?n[...
  function Zd (line 45) | function Zd(t){var e=t.sourceFormat;return e===Op||e===Rp}
  function t (line 45) | function t(t,e){var n=Gd(t)?t:Hd(t);this._source=n;var i=this._data=n.da...
  function r (line 45) | function r(t){for(var e=0;e<t.length;e++)this._data.push(t[e])}
  function $d (line 45) | function $d(t,e){var n=Kd[of(t,e)];return n}
  function tf (line 45) | function tf(t,e){var n=Qd[of(t,e)];return n}
  function rf (line 45) | function rf(t){var e=nf[t];return e}
  function of (line 45) | function of(t,e){return t===Pp?t+"_"+e:t}
  function af (line 45) | function af(t,e,n){if(t){var i=t.getRawDataItem(e);if(null!=i){var r=t.g...
  function t (line 45) | function t(){}
  function uf (line 45) | function uf(t){var e,n;return q(t)?t.type&&(n=t):e=t,{text:e,frag:n}}
  function hf (line 45) | function hf(t){return new cf(t)}
  function t (line 45) | function t(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=...
  function h (line 45) | function h(t){return!(t>=1)&&(t=1),t}
  function a (line 45) | function a(){return e<t?e++:null}
  function s (line 45) | function s(){var o=e%r*n+Math.ceil(e/r),a=e>=t?null:o<i?o:e;return e++,a}
  function df (line 45) | function df(t,e){var n=e&&e.type;return"ordinal"===n?t:("time"!==n||j(t)...
  function gf (line 45) | function gf(t){return ff.get(t)}
  function t (line 45) | function t(t,e){if(!j(e)){var n="";0,ao(n)}this._opFn=yf[t],this._rvalFl...
  function t (line 45) | function t(t,e){var n="desc"===t;this._resultLT=n?1:-1,null==e&&(e=n?"mi...
  function t (line 45) | function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this...
  function _f (line 45) | function _f(t,e){return"eq"===t||"ne"===t?new xf("eq"===t,e):mt(yf,t)?ne...
  function t (line 45) | function t(){}
  function wf (line 45) | function wf(t){var e=t.sourceFormat;if(!Df(e)){var n="";0,ao(n)}return t...
  function Sf (line 45) | function Sf(t){var e=t.sourceFormat,n=t.data;if(!Df(e)){var i="";0,ao(i)...
  function Mf (line 45) | function Mf(t,e,n){if(null!=n)return j(n)||!isNaN(n)&&!mt(e,n)?t[n]:mt(e...
  function If (line 45) | function If(t){return T(t)}
  function Cf (line 45) | function Cf(t,e,n,i){var r="";e.length||ao(r),q(t)||ao(r);var o=t.type,a...
  function Df (line 45) | function Df(t){return t===Pp||t===Op}
  function Ef (line 45) | function Ef(t){return t>65535?Lf:Pf}
  function zf (line 45) | function zf(t,e,n,i,r){var o=Nf[n||"float"];if(r){var a=t[e],s=a&&a.leng...
  function t (line 45) | function t(){this._chunks=[],this._rawExtent=[],this._extent=[],this._co...
  function t (line 45) | function t(t,e,n,i){return df(t[i],this._dimensions[i])}
  function t (line 45) | function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignL...
  function Ff (line 45) | function Ff(t){t.option.transform&&ct(t.option.transform)}
  function Gf (line 45) | function Gf(t){return"series"===t.mainType}
  function Wf (line 45) | function Wf(t){throw new Error(t)}
  function Hf (line 45) | function Hf(t,e){var n=t.color||"#6e7079",i=t.fontSize||12,r=t.fontWeigh...
  function Xf (line 45) | function Xf(t,e){return e.type=t,e}
  function Zf (line 45) | function Zf(t){return"section"===t.type}
  function jf (line 45) | function jf(t){return Zf(t)?Kf:$f}
  function qf (line 45) | function qf(t){if(Zf(t)){var e=0,n=t.blocks.length,i=n>1||n>0&&!t.noHead...
  function Kf (line 45) | function Kf(t,e,n,i){var r,o=e.noHeader,a=(r=qf(e),{html:Yf[r],richText:...
  function $f (line 45) | function $f(t,e,n,i){var r=t.renderMode,o=e.noName,a=e.noValue,s=!e.mark...
  function Jf (line 45) | function Jf(t,e,n,i,r,o){if(t)return jf(t)({useUTC:r,renderMode:n,orderM...
  function Qf (line 45) | function Qf(t,e){return'<div style="'+("margin: "+e+"px 0 0")+";"+'line-...
  function tg (line 45) | function tg(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}
  function eg (line 45) | function eg(t,e){return pp(t.getData().getItemVisual(e,"style")[t.visual...
  function ng (line 45) | function ng(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?...
  function t (line 45) | function t(){this.richTextStyles={},this._nextStyleNameId=no()}
  function rg (line 45) | function rg(t){var e,n,i,r,o=t.series,a=t.dataIndex,s=t.multipleSeries,l...
  function ag (line 45) | function ag(t,e){return t.getName(e)||t.getId(e)}
  function e (line 45) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._sel...
  function lg (line 45) | function lg(t){var e=t.name;_o(t)||(t.name=function(t){var e=t.getRawDat...
  function ug (line 45) | function ug(t){return t.model.getRawData().count()}
  function hg (line 45) | function hg(t){var e=t.model;return e.setData(e.getRawData().cloneShallo...
  function cg (line 45) | function cg(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRa...
  function pg (line 45) | function pg(t,e){E(gt(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),(functio...
  function dg (line 45) | function dg(t,e){var n=fg(t);return n&&n.setOutputEnd((e||this).count()),e}
  function fg (line 45) | function fg(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid)...
  function t (line 45) | function t(){this.group=new Cr,this.uid=gc("viewComponent")}
  function yg (line 45) | function yg(){var t=So();return function(e){var n=t(e),i=e.pipelineConte...
  function t (line 45) | function t(){this.group=new Cr,this.uid=gc("viewChart"),this.renderTask=...
  function _g (line 45) | function _g(t,e,n){t&&Fl(t)&&("emphasis"===e?_l:bl)(t,n)}
  function bg (line 45) | function bg(t,e,n){var i=wo(t,e),r=e&&null!=e.highlightKey?function(t){v...
  function wg (line 45) | function wg(t){return mg(t.model)}
  function Sg (line 45) | function Sg(t){var e=t.model,n=t.ecModel,i=t.api,r=t.payload,o=e.pipelin...
  function Dg (line 45) | function Dg(t,e,n){var i,r,o,a,s,l=0,u=0,h=null;function c(){u=(new Date...
  function Ag (line 45) | function Ag(t,e,n,i){var r=t[e];if(r){var o=r[Ig]||r,a=r[Cg];if(r[Tg]!==...
  function kg (line 45) | function kg(t,e){var n=t[e];n&&n[Ig]&&(n.clear&&n.clear(),t[e]=n[Ig])}
  function Rg (line 45) | function Rg(t,e){var n=t.visualStyleMapper||Pg[e];return n||(console.war...
  function Ng (line 45) | function Ng(t,e){var n=t.visualDrawType||Og[e];return n||(console.warn("...
  function t (line 45) | function t(t,e,n,i){this._stageTaskMap=ft(),this.ecInstance=t,this.api=e...
  function a (line 45) | function a(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipe...
  function u (line 45) | function u(e){var s=e.uid,l=a.set(s,o&&o.get(s)||hf({plan:Xg,reset:Zg,co...
  function d (line 45) | function d(t){var e=t.uid,n=s.set(e,a&&a.get(e)||(c=!0,hf({reset:Hg,onDi...
  function Wg (line 45) | function Wg(t){t.overallReset(t.ecModel,t.api,t.payload)}
  function Hg (line 45) | function Hg(t){return t.overallProgress&&Yg}
  function Yg (line 45) | function Yg(){this.agent.dirty(),this.getDownstream().dirty()}
  function Ug (line 45) | function Ug(){this.agent&&this.agent.dirty()}
  function Xg (line 45) | function Xg(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):n...
  function Zg (line 45) | function Zg(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDe...
  function qg (line 45) | function qg(t){return function(e,n){var i=n.data,r=n.resetDefines[t];if(...
  function Kg (line 45) | function Kg(t){return t.data.count()}
  function $g (line 45) | function $g(t){Jg=null;try{t(Qg,ty)}catch(t){}return Jg}
  function ey (line 45) | function ey(t,e){for(var n in e.prototype)t[n]=xt}
  function t (line 45) | function t(){}
  function u (line 45) | function u(t,e,n,i){return null==t[n]||e[i||n]===t[n]}
  function fy (line 45) | function fy(t,e,n){switch(n){case"color":return t.getItemVisual(e,"style...
  function gy (line 45) | function gy(t,e){switch(e){case"color":return t.getVisual("style")[t.get...
  function yy (line 45) | function yy(t,e,n,i){switch(n){case"color":t.ensureUniqueItemVisual(e,"s...
  function vy (line 45) | function vy(t,e){function n(e,n){var i=[];return e.eachComponent({mainTy...
  function my (line 45) | function my(t,e,n,i,r){var o=t+e;n.isSilent(o)||i.eachComponent({mainTyp...
  function xy (line 45) | function xy(t,e,n){for(var i;t&&(!e(t)||(i=t,!n));)t=t.__hostTarget||t.p...
  function t (line 45) | function t(){this._id="__ec_inner_"+_y++}
  function ky (line 45) | function ky(t,e){if("image"!==this.type){var n=this.style;this.__isEmpty...
  function Ly (line 45) | function Ly(t,e,n,i,r,o,a){var s,l=0===t.indexOf("empty");return l&&(t=t...
  function Py (line 45) | function Py(t){return Y(t)||(t=[+t,+t]),[t[0]||0,t[1]||0]}
  function Oy (line 45) | function Oy(t,e){if(null!=t)return Y(t)||(t=[t,t]),[Er(t[0],e[0])||0,Er(...
  function Ry (line 45) | function Ry(t){return isFinite(t)}
  function Ny (line 45) | function Ny(t,e,n){for(var i="radial"===e.type?function(t,e,n){var i=n.w...
  function Ey (line 45) | function Ey(t){return parseInt(t,10)}
  function zy (line 45) | function zy(t,e,n){var i=["width","height"][e],r=["clientWidth","clientH...
  function Vy (line 45) | function Vy(t){var e,n,i=t.style,r=i.lineDash&&i.lineWidth>0&&(e=i.lineD...
  function Fy (line 45) | function Fy(t){var e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth...
  function Gy (line 45) | function Gy(t){return"string"==typeof t&&"none"!==t}
  function Wy (line 45) | function Wy(t){var e=t.fill;return null!=e&&"none"!==e}
  function Hy (line 45) | function Hy(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var n=t.glob...
  function Yy (line 45) | function Yy(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var n=t....
  function Uy (line 45) | function Uy(t,e,n){var i=Zo(e.image,e.__image,n);if(qo(i)){var r=t.creat...
  function jy (line 45) | function jy(t,e,n,i,r){var o=!1;if(!i&&e===(n=n||{}))return!1;if(i||e.op...
  function qy (line 45) | function qy(t,e,n,i,r){var o=Jy(e,r.inHover),a=i?null:n&&Jy(n,r.inHover)...
  function Ky (line 45) | function Ky(t,e){var n=e.transform,i=t.dpr||1;n?t.setTransform(i*n[0],i*...
  function $y (line 45) | function $y(t,e){e.batchFill&&t.fill(),e.batchStroke&&t.stroke(),e.batch...
  function Jy (line 45) | function Jy(t,e){return e&&t.__hoverStyle||t.style}
  function Qy (line 45) | function Qy(t,e){tv(t,e,{inHover:!1,viewWidth:0,viewHeight:0},!0)}
  function tv (line 45) | function tv(t,e,n,i){var r=e.transform;if(!e.shouldBePainted(n.viewWidth...
  function rv (line 45) | function rv(t,e){if("none"===t)return null;var n=e.getDevicePixelRatio()...
  function ov (line 45) | function ov(t){if(!t||0===t.length)return[["rect"]];if(X(t))return[[t]];...
  function av (line 45) | function av(t){if(!t||0===t.length)return[[0,0]];if(j(t))return[[r=Math....
  function sv (line 45) | function sv(t){for(var e=0,n=0;n<t.length;++n)e+=t[n];return t.length%2=...
  function hv (line 45) | function hv(t){return uv[t]}
  function vv (line 45) | function vv(t){return function(){for(var e=[],n=0;n<arguments.length;n++...
  function mv (line 45) | function mv(t){return function(){for(var e=[],n=0;n<arguments.length;n++...
  function xv (line 45) | function xv(t,e,n){return n[0]=n[0]&&n[0].toLowerCase(),Xt.prototype[e]....
  function e (line 45) | function e(){return null!==t&&t.apply(this,arguments)||this}
  function e (line 45) | function e(e,n,i){var r=t.call(this,new uy)||this;r._chartsViews=[],r._c...
  function t (line 45) | function t(t){t.clearColorPalette(),t.eachSeries((function(t){t.clearCol...
  function e (line 45) | function e(t){for(var e=[],n=t.currentStates,i=0;i<n.length;i++){var r=n...
  function i (line 45) | function i(t,e){if(!t.preventAutoZ){var n=t.get("z")||0,i=t.get("zlevel"...
  function o (line 45) | function o(t,e,n,i){var r=t.getTextContent(),a=t.getTextGuideLine();if(t...
  function a (line 45) | function a(t,e){e.eachRendered((function(t){if(!ah(t)){var e=t.getTextCo...
  function s (line 45) | function s(t,n){var i=t.getModel("stateAnimation"),r=t.isAnimationEnable...
  function u (line 45) | function u(t){var l=t.__requireNewView;t.__requireNewView=!1;var u="_ec_...
  function h (line 45) | function h(i){i&&i.__alive&&i[e]&&i[e](i.__model,o,t._api,n)}
  function i (line 45) | function i(){return null!==e&&e.apply(this,arguments)||this}
  function e (line 45) | function e(t,e){for(var n=0;n<t.length;n++){t[n][yv]=e}}
  function Hv (line 45) | function Hv(t){0}
  function nm (line 45) | function nm(t){Jv[t]=!1}
  function rm (line 45) | function rm(t){return $v[function(t,e){return t.getAttribute?t.getAttrib...
  function om (line 45) | function om(t,e){qv[t]=e}
  function am (line 45) | function am(t){P(Zv,t)<0&&Zv.push(t)}
  function sm (line 45) | function sm(t,e){ym(Xv,t,e,2e3)}
  function lm (line 45) | function lm(t){hm("afterinit",t)}
  function um (line 45) | function um(t){hm("afterupdate",t)}
  function hm (line 45) | function hm(t,e){lv.on(t,e)}
  function cm (line 45) | function cm(t,e,n){U(e)&&(n=e,e="");var i=q(t)?t.type:[t,t={event:e}][0]...
  function pm (line 45) | function pm(t,e){hd.register(t,e)}
  function dm (line 45) | function dm(t,e){ym(jv,t,e,1e3,"layout")}
  function fm (line 45) | function fm(t,e){ym(jv,t,e,3e3,"visual")}
  function ym (line 45) | function ym(t,e,n,i,r){if((U(e)||q(e))&&(n=e,e=i),!(P(gm,n)>=0)){gm.push...
  function vm (line 45) | function vm(t,e){Kv[t]=e}
  function mm (line 45) | function mm(t,e,n){var i=hv("registerMap");i&&i(t,e,n)}
  function wm (line 45) | function wm(t){Y(t)?E(t,(function(t){wm(t)})):P(_m,t)>=0||(_m.push(t),U(...
  function Sm (line 45) | function Sm(t){return null==t?0:t.length||1}
  function Mm (line 45) | function Mm(t){return t}
  function t (line 45) | function t(t,e,n,i,r,o){this._old=t,this._new=e,this._oldKeyGetter=n||Mm...
  function t (line 45) | function t(t,e){this._encode=t,this._schema=e}
  function Cm (line 45) | function Cm(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}
  function Dm (line 45) | function Dm(t){return"category"===t?"ordinal":"time"===t?"time":"float"}
  function t (line 45) | function t(t){this.dimensions=t.dimensions,this._dimOmitted=t.dimensionO...
  function Om (line 45) | function Om(t){return t instanceof Pm}
  function Rm (line 45) | function Rm(t){for(var e=ft(),n=0;n<(t||[]).length;n++){var i=t[n],r=q(i...
  function Nm (line 45) | function Nm(t){var e=km(t);return e.dimNameMap||(e.dimNameMap=Rm(t.dimen...
  function Em (line 45) | function Em(t){return t>30}
  function t (line 45) | function t(t,e){var n;this.type="list",this._dimOmitted=!1,this._nameLis...
  function Km (line 45) | function Km(t,e){Gd(t)||(t=Hd(t));var n=(e=e||{}).coordDimensions||[],i=...
  function $m (line 45) | function $m(t,e,n){var i=e.data;if(n||i.hasOwnProperty(t)){for(var r=0;i...
  function tx (line 45) | function tx(t){return"category"===t.get("type")}
  function ex (line 45) | function ex(t,e,n){var i,r,o,a=(n=n||{}).byIndex,s=n.stackedCoordDimensi...
  function nx (line 45) | function nx(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}
  function ix (line 45) | function ix(t,e){return nx(t,e)?t.getCalculationInfo("stackResultDimensi...
  function rx (line 45) | function rx(t,e,n){n=n||{};var i,r=e.getSourceManager(),o=!1;t?(o=!0,i=H...
  function t (line 45) | function t(t){this._setting=t||{},this._extent=[1/0,-1/0]}
  function t (line 45) | function t(t){this.categories=t.categories||[],this._needCollect=t.needC...
  function lx (line 45) | function lx(t){return q(t)&&null!=t.value?t.value:t+""}
  function ux (line 45) | function ux(t){return"interval"===t.type||"log"===t.type}
  function hx (line 45) | function hx(t,e,n,i){var r={},o=t[1]-t[0],a=r.interval=$r(o/e,!0);null!=...
  function cx (line 45) | function cx(t){var e=Math.pow(10,Kr(t)),n=t/e;return n?2===n?n=3:3===n?n...
  function px (line 45) | function px(t){return Br(t)+2}
  function dx (line 45) | function dx(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}
  function fx (line 45) | function fx(t,e){return t>=e[0]&&t<=e[1]}
  function gx (line 45) | function gx(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}
  function yx (line 45) | function yx(t,e){return t*(e[1]-e[0])+e[0]}
  function e (line 45) | function e(e){var n=t.call(this,e)||this;n.type="ordinal";var i=n.getSet...
  function e (line 45) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type...
  function Sx (line 45) | function Sx(t){return Y(t)?_x?new Float32Array(t):t:new bx(t)}
  function Ix (line 45) | function Ix(t){return t.get("stack")||Mx+t.seriesIndex}
  function Tx (line 45) | function Tx(t){return t.dim+t.index}
  function Cx (line 45) | function Cx(t,e){var n=[];return e.eachSeriesByType(t,(function(t){Px(t)...
  function Dx (line 45) | function Dx(t){var e=function(t){var e={};E(t,(function(t){var n=t.coord...
  function Ax (line 45) | function Ax(t){var e={};E(t,(function(t,n){var i=t.axisKey,r=t.bandWidth...
  function kx (line 45) | function kx(t,e){var n=Cx(t,e),i=Dx(n);E(n,(function(t){var e=t.getData(...
  function Lx (line 45) | function Lx(t){return{seriesType:t,plan:yg(),reset:function(t){if(Px(t))...
  function Px (line 45) | function Px(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSy...
  function Ox (line 45) | function Ox(t){return t.pipelineContext&&t.pipelineContext.large}
  function e (line 45) | function e(e){var n=t.call(this,e)||this;return n.type="time",n}
  function s (line 45) | function s(t,e,n,r,o,a,s){for(var l=new Date(e),u=e,h=l[r]();u<n&&u<=i[1...
  function l (line 45) | function l(t,r,o){var a=[],l=!r.length;if(!function(t,e,n,i){var r=jr(e)...
  function Ex (line 45) | function Ex(t,e){return(t/=Dc)>16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}
  function zx (line 45) | function zx(t){return(t/=2592e6)>6?6:t>3?3:t>2?2:1}
  function Vx (line 45) | function Vx(t){return(t/=Cc)>12?12:t>6?6:t>3.5?4:t>2?2:1}
  function Bx (line 45) | function Bx(t,e){return(t/=e?Tc:Ic)>30?30:t>20?20:t>15?15:t>10?10:t>5?5:...
  function Fx (line 45) | function Fx(t){return $r(t,!0)}
  function Gx (line 45) | function Gx(t,e,n){var i=new Date(t);switch(Ec(e)){case"year":case"month...
  function e (line 45) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type...
  function $x (line 45) | function $x(t,e){return Yx(t,Br(e))}
  function t (line 45) | function t(t,e,n){this._prepareParams(t,e,n)}
  function e_ (line 45) | function e_(t,e,n){var i=t.rawExtentInfo;return i||(i=new Jx(t,e,n),t.ra...
  function n_ (line 45) | function n_(t,e){return null==e?null:nt(e)?NaN:t.parse(e)}
  function i_ (line 45) | function i_(t,e){var n=t.type,i=e_(t,e,t.getExtent()).calculate();t.setB...
  function r_ (line 45) | function r_(t,e){var n=e,i=i_(t,n),r=i.extent,o=n.get("splitNumber");t i...
  function o_ (line 45) | function o_(t,e){if(e=e||t.get("type"))switch(e){case"category":return n...
  function a_ (line 45) | function a_(t){var e,n,i=t.getLabelModel().get("formatter"),r="category"...
  function s_ (line 45) | function s_(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}
  function l_ (line 45) | function l_(t,e){var n=e*Math.PI/180,i=t.width,r=t.height,o=i*Math.abs(M...
  function u_ (line 45) | function u_(t){var e=t.get("interval");return null==e?"auto":e}
  function h_ (line 45) | function h_(t){return"category"===t.type&&0===u_(t.getLabelModel())}
  function c_ (line 45) | function c_(t,e){var n={};return E(t.mapDimensionsAll(e),(function(e){n[...
  function t (line 45) | function t(){}
  function g_ (line 45) | function g_(t,e){return Math.abs(t-e)<1e-8}
  function y_ (line 45) | function y_(t,e,n){var i=0,r=t[0];if(!r)return!1;for(var o=1;o<t.length;...
  function m_ (line 45) | function m_(t,e){for(var n=0;n<t.length;n++)Ft(t[n],t[n],e)}
  function x_ (line 45) | function x_(t,e,n,i){for(var r=0;r<t.length;r++){var o=t[r];i&&(o=i.proj...
  function t (line 45) | function t(t){this.name=t}
  function e (line 45) | function e(e,n,i){var r=t.call(this,e)||this;return r.type="geoJSON",r.g...
  function e (line 45) | function e(e,n){var i=t.call(this,e)||this;return i.type="geoSVG",i._elO...
  function I_ (line 45) | function I_(t,e,n){for(var i=0;i<t.length;i++)t[i]=T_(t[i],e[i],n)}
  function T_ (line 45) | function T_(t,e,n){for(var i=[],r=e[0],o=e[1],a=0;a<t.length;a+=2){var s...
  function C_ (line 45) | function C_(t,e){return z(B((t=function(t){if(!t.UTF8Encoding)return t;v...
  function R_ (line 45) | function R_(t){return"category"===t.type?function(t){var e=t.getLabelMod...
  function N_ (line 45) | function N_(t,e){return"category"===t.type?function(t,e){var n,i,r=z_(t,...
  function E_ (line 45) | function E_(t,e){var n,i,r=z_(t,"labels"),o=u_(e),a=V_(r,o);return a||(U...
  function z_ (line 45) | function z_(t,e){return O_(t)[e]||(O_(t)[e]=[])}
  function V_ (line 45) | function V_(t,e){for(var n=0;n<t.length;n++)if(t[n].key===e)return t[n]....
  function B_ (line 45) | function B_(t,e,n){return t.push({key:e,value:n}),n}
  function F_ (line 45) | function F_(t,e,n){var i=a_(t),r=t.scale,o=r.getExtent(),a=t.getLabelMod...
  function G_ (line 45) | function G_(t,e,n){var i=t.scale,r=a_(t),o=[];return E(i.getTicks(),(fun...
  function t (line 45) | function t(t,e,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e...
  function c (line 45) | function c(t,e){return t=zr(t),e=zr(e),h?t>e:t<e}
  function Y_ (line 45) | function Y_(t,e){var n=(t[1]-t[0])/e/2;t[0]+=n,t[1]-=n}
  function j_ (line 45) | function j_(t,e,n,i,r){var o=n.width,a=n.height;switch(t){case"top":i.se...
  function q_ (line 45) | function q_(t,e,n,i,r,o,a,s,l){a-=t,s-=e;var u=Math.sqrt(a*a+s*s),h=(a/=...
  function K_ (line 45) | function K_(t,e,n,i,r,o,a,s){var l=r-t,u=o-e,h=n-t,c=i-e,p=Math.sqrt(h*h...
  function $_ (line 45) | function $_(t,e,n,i,r,o,a){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i);var s=t+n,l...
  function Q_ (line 45) | function Q_(t,e,n){var i=$_(e.x,e.y,e.width,e.height,t.x,t.y,J_);return ...
  function tb (line 45) | function tb(t,e,n){for(var i,r,o=0,a=0,s=0,l=0,u=1/0,h=e.data,c=t.x,p=t....
  function ab (line 45) | function ab(t,e){if(t){var n=t.getTextGuideLine(),i=t.getTextContent();i...
  function ub (line 45) | function ub(t,e){if(e<=180&&e>0){e=e/180*Math.PI,eb.fromArray(t[0]),nb.f...
  function hb (line 45) | function hb(t,e,n){if(n<=180&&n>0){n=n/180*Math.PI,eb.fromArray(t[0]),nb...
  function cb (line 45) | function cb(t,e,n,i){var r="normal"===n,o=r?t:t.ensureState(n);o.ignore=...
  function pb (line 45) | function pb(t,e){var n=e.smooth,i=e.points;if(i)if(t.moveTo(i[0][0],i[0]...
  function db (line 45) | function db(t,e,n){var i=t.getTextGuideLine(),r=t.getTextContent();if(r)...
  function fb (line 45) | function fb(t,e){e=e||"labelLine";for(var n={normal:t.getModel(e)},i=0;i...
  function gb (line 45) | function gb(t){for(var e=[],n=0;n<t.length;n++){var i=t[n];if(!i.default...
  function yb (line 45) | function yb(t,e,n,i,r,o){var a=t.length;if(!(a<2)){t.sort((function(t,n)...
  function vb (line 45) | function vb(t,e,n,i){return yb(t,"y","height",e,n,i)}
  function mb (line 45) | function mb(t){var e=[];t.sort((function(t,e){return e.priority-t.priori...
  function xb (line 45) | function xb(t){if(t){for(var e=[],n=0;n<t.length;n++)e.push(t[n].slice()...
  function _b (line 45) | function _b(t,e){var n=t.label,i=e&&e.getTextGuideLine();return{dataInde...
  function Ib (line 45) | function Ib(t,e,n){for(var i=0;i<n.length;i++){var r=n[i];null!=e[r]&&(t...
  function t (line 45) | function t(){this._labelList=[],this._chartViewList=[]}
  function i (line 45) | function i(t,e){return function(){ab(t,e)}}
  function t (line 45) | function t(){}
  function Bb (line 45) | function Bb(t,e,n,i){var r=null==e.opacity?1:e.opacity;if(n instanceof _...
  function Wb (line 45) | function Wb(t){return document.createElementNS(Fb,t)}
  function Hb (line 45) | function Hb(t,e,n,i,r){return{tag:t,attrs:n||{},children:i,text:r,key:e}}
  function Yb (line 45) | function Yb(t,e){var n=(e=e||{}).newline?"\n":"";return function t(e){va...
  function Ub (line 45) | function Ub(t){return{zrId:t,shadowCache:{},patternCache:{},gradientCach...
  function Xb (line 45) | function Xb(t,e,n,i){return Hb("svg","root",{width:t,height:e,xmlns:Fb,"...
  function qb (line 45) | function qb(t,e,n){var i=A({},t.shape);A(i,e),t.buildPath(n,i);var r=new...
  function Kb (line 45) | function Kb(t,e){var n=e.originX,i=e.originY;(n||i)&&(t[jb]=n+"px "+i+"p...
  function Jb (line 45) | function Jb(t,e){var n=e.zrId+"-ani-"+e.cssAnimIdx++;return e.cssAnims[n...
  function Qb (line 45) | function Qb(t){return X(t)?Zb[t]?"cubic-bezier("+Zb[t]+")":rn(t)?t:"":""}
  function tw (line 45) | function tw(t,e,n,i){var r=t.animators,o=r.length,a=[];if(t instanceof Y...
  function nw (line 45) | function nw(t){return t&&X(t.src)}
  function iw (line 45) | function iw(t){return t&&U(t.toDataURL)}
  function rw (line 45) | function rw(t,e,n,i){Bb((function(r,o){var a="fill"===r||"stroke"===r;a&...
  function ow (line 45) | function ow(t){return En(t[0]-1)&&En(t[1])&&En(t[2])&&En(t[3]-1)}
  function aw (line 45) | function aw(t,e,n){if(e&&(!function(t){return En(t[4])&&En(t[5])}(e)||!o...
  function sw (line 45) | function sw(t,e,n){for(var i=t.points,r=[],o=0;o<i.length;o++)r.push(ew(...
  function lw (line 45) | function lw(t){return!t.smooth}
  function pw (line 45) | function pw(t,e){var n=t.style,i=t.shape,r=cw[t.type],o={},a=e.animation...
  function dw (line 45) | function dw(t,e){return t instanceof gs?pw(t,e):t instanceof _s?function...
  function fw (line 45) | function fw(t,e,n){var i=n.clipPathCache,r=n.defs,o=i[t.id];if(!o){var a...
  function gw (line 45) | function gw(t){return document.createTextNode(t)}
  function yw (line 45) | function yw(t,e,n){t.insertBefore(e,n)}
  function vw (line 45) | function vw(t,e){t.removeChild(e)}
  function mw (line 45) | function mw(t,e){t.appendChild(e)}
  function xw (line 45) | function xw(t){return t.parentNode}
  function _w (line 45) | function _w(t){return t.nextSibling}
  function bw (line 45) | function bw(t,e){t.textContent=e}
  function Sw (line 45) | function Sw(t){return void 0===t}
  function Mw (line 45) | function Mw(t){return void 0!==t}
  function Iw (line 45) | function Iw(t,e,n){for(var i={},r=e;r<=n;++r){var o=t[r].key;void 0!==o&...
  function Tw (line 45) | function Tw(t,e){var n=t.key===e.key;return t.tag===e.tag&&n}
  function Cw (line 45) | function Cw(t){var e,n=t.children,i=t.tag;if(Mw(i)){var r=t.elm=Wb(i);if...
  function Dw (line 45) | function Dw(t,e,n,i,r){for(;i<=r;++i){var o=n[i];null!=o&&yw(t,Cw(o),e)}}
  function Aw (line 45) | function Aw(t,e,n,i){for(;n<=i;++n){var r=e[n];if(null!=r)if(Mw(r.tag))v...
  function kw (line 45) | function kw(t,e){var n,i=e.elm,r=t&&t.attrs||{},o=e.attrs||{};if(r!==o){...
  function Lw (line 45) | function Lw(t,e){var n=e.elm=t.elm,i=t.children,r=e.children;t!==e&&(kw(...
  function t (line 45) | function t(t,e,n){if(this.type="svg",this.refreshHover=Rw("refreshHover"...
  function Rw (line 45) | function Rw(t){return function(){0}}
  function Nw (line 45) | function Nw(t,e,n){var i=h.createCanvas(),r=e.getWidth(),o=e.getHeight()...
  function e (line 45) | function e(e,n,i){var r,o=t.call(this)||this;o.motionBlur=!1,o.lastFrame...
  function u (line 45) | function u(t){if(t.isFinite()&&!t.isZero())if(0===o.length){(e=new sr(0,...
  function p (line 45) | function p(t,n,i,o){if(r.clearRect(t,n,i,o),e&&"transparent"!==e){var a=...
  function t (line 45) | function t(t,e,n,i){this.type="canvas",this._zlevelList=[],this._prevDis...
  function e (line 45) | function e(t){o&&(o.__endIndex!==t&&(o.__dirty=!0),o.__endIndex=t)}
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function Ww (line 45) | function Ww(t,e){var n=t.mapDimensionsAll("defaultedLabel"),i=n.length;i...
  function Hw (line 45) | function Hw(t,e){var n=t.mapDimensionsAll("defaultedLabel");if(!Y(e))ret...
  function e (line 45) | function e(e,n,i,r){var o=t.call(this)||this;return o.updateData(e,n,i,r...
  function Uw (line 45) | function Uw(t,e){this.parent.drift(t,e)}
  function Xw (line 45) | function Xw(t,e,n,i){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(i.isIgnore&...
  function Zw (line 45) | function Zw(t){return null==t||q(t)||(t={isIgnore:t}),t||{}}
  function jw (line 45) | function jw(t){var e=t.hostModel,n=e.getModel("emphasis");return{emphasi...
  function t (line 45) | function t(t){this.group=new Cr,this._SymbolCtor=t||Yw}
  function i (line 45) | function i(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hov...
  function Kw (line 45) | function Kw(t,e,n){var i=t.getBaseAxis(),r=t.getOtherAxis(i),o=function(...
  function $w (line 45) | function $w(t,e,n,i){var r=NaN;t.stacked&&(r=n.get(n.getCalculationInfo(...
  function tS (line 45) | function tS(t,e){return isNaN(t)||isNaN(e)}
  function eS (line 45) | function eS(t,e,n,i,r,o,a,s,l){for(var u,h,c,p,d,f,g=n,y=0;y<i;y++){var ...
  function e (line 45) | function e(e){var n=t.call(this,e)||this;return n.type="ec-polyline",n}
  function e (line 45) | function e(){return null!==t&&t.apply(this,arguments)||this}
  function e (line 45) | function e(e){var n=t.call(this,e)||this;return n.type="ec-polygon",n}
  function aS (line 45) | function aS(t,e,n,i,r){var o=t.getArea(),a=o.x,s=o.y,l=o.width,u=o.heigh...
  function sS (line 45) | function sS(t,e,n){var i=t.getArea(),r=zr(i.r0,1),o=zr(i.r,1),a=new Cu({...
  function lS (line 45) | function lS(t,e,n,i,r){return t?"polar"===t.type?sS(t,e,n):"cartesian2d"...
  function uS (line 45) | function uS(t,e){return t.type===e}
  function hS (line 45) | function hS(t,e){if(t.length===e.length){for(var n=0;n<t.length;n++)if(t...
  function cS (line 45) | function cS(t){for(var e=1/0,n=1/0,i=-1/0,r=-1/0,o=0;o<t.length;){var a=...
  function pS (line 45) | function pS(t,e){var n=cS(t),i=n[0],r=n[1],o=cS(e),a=o[0],s=o[1];return ...
  function dS (line 45) | function dS(t){return j(t)?t:t?.5:0}
  function fS (line 45) | function fS(t,e,n,i){var r=e.getBaseAxis(),o="x"===r.dim||"radius"===r.d...
  function gS (line 45) | function gS(t,e,n){var i=t.getVisual("visualMeta");if(i&&i.length&&t.cou...
  function yS (line 45) | function yS(t,e,n){var i=t.get("showAllSymbol"),r="auto"===i;if(!i||r){v...
  function vS (line 45) | function vS(t,e){return[t[2*e],t[2*e+1]]}
  function mS (line 45) | function mS(t){if(t.get(["endLabel","show"]))return!0;for(var e=0;e<qs.l...
  function xS (line 45) | function xS(t,e,n,i){if(uS(e,"cartesian2d")){var r=i.getModel("endLabel"...
  function e (line 45) | function e(){return null!==t&&t.apply(this,arguments)||this}
  function bS (line 45) | function bS(t,e){return{seriesType:t,plan:yg(),reset:function(t){var n=t...
  function MS (line 45) | function MS(t){return{seriesType:t,reset:function(t,e,n){var i=t.getData...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function e (line 45) | function e(e){var n=t.call(this,e)||this;return n.type="sausage",n}
  function AS (line 45) | function AS(t,e,n){return e*Math.sin(t)*(n?-1:1)}
  function kS (line 45) | function kS(t,e,n){return e*Math.cos(t)*(n?1:-1)}
  function e (line 45) | function e(){var n=t.call(this)||this;return n.type=e.type,n._isFirstFra...
  function w (line 45) | function w(t){var e=GS[l.type](a,t),n=function(t,e,n){return new("polar"...
  function ES (line 45) | function ES(t,e,n,i,r,o,a,s){var l,u;o?(u={x:i.x,width:i.width},l={y:i.y...
  function zS (line 45) | function zS(t,e){for(var n=0;n<e.length;n++)if(!isFinite(t[e[n]]))return...
  function WS (line 45) | function WS(t){return function(t){var e=t?"Arc":"Angle";return function(...
  function HS (line 45) | function HS(t,e,n,i,r,o,a,s){var l=e.getItemVisual(n,"style");s||t.setSh...
  function e (line 45) | function e(e){var n=t.call(this,e)||this;return n.type="largeBar",n}
  function XS (line 45) | function XS(t,e,n,i){var r=t.getData(),o=r.getLayout("valueAxisHorizonta...
  function jS (line 45) | function jS(t,e,n){if(uS(n,"cartesian2d")){var i=e,r=n.getArea();return{...
  function $S (line 45) | function $S(t,e){return xp(t.getBoxLayoutParams(),{width:e.getWidth(),he...
  function JS (line 45) | function JS(t,e){var n=$S(t,e),i=t.get("center"),r=t.get("radius");Y(r)|...
  function QS (line 45) | function QS(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.getData(),i...
  function tM (line 45) | function tM(t){return{seriesType:t,reset:function(t,e){var n=e.findCompo...
  function nM (line 45) | function nM(t,e,n,i,r,o,a,s,l,u){if(!(t.length<2)){for(var h=t.length,c=...
  function iM (line 45) | function iM(t,e,n){if(void 0===n&&(n=!1),null==t.labelStyleWidth){var i=...
  function rM (line 45) | function rM(t){return"center"===t.position}
  function oM (line 45) | function oM(t){var e,n,i=t.getData(),r=[],o=!1,a=(t.get("minShowLabelAng...
  function aM (line 45) | function aM(t,e,n){var i=t.get("borderRadius");if(null==i)return n?{corn...
  function e (line 45) | function e(e,n,i){var r=t.call(this)||this;r.z2=2;var o=new ks;return r....
  function e (line 45) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.igno...
  function uM (line 45) | function uM(t,e,n){e=Y(e)&&{coordDimensions:e}||A({encodeDefine:t.getEnc...
  function t (line 45) | function t(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}
  function e (line 45) | function e(){return null!==t&&t.apply(this,arguments)||this}
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function e (line 45) | function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=...
  function t (line 45) | function t(){this.group=new Cr}
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function e (line 45) | function e(){return null!==t&&t.apply(this,arguments)||this}
  function e (line 45) | function e(){return null!==t&&t.apply(this,arguments)||this}
  function MM (line 45) | function MM(t,e,i,r){E(SM,(function(o,a){var s=C(C({},wM[a],!0),r,!0),l=...
  function IM (line 45) | function IM(t){return t.type||(t.data?"category":"value")}
  function t (line 45) | function t(t){this.type="cartesian",this._dimList=[],this._axes={},this....
  function DM (line 45) | function DM(t){return"interval"===t.type||"time"===t.type}
  function e (line 45) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type...
  function e (line 45) | function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.index=0,a....
  function LM (line 45) | function LM(t,e,n){n=n||{};var i=t.coordinateSystem,r=e.axis,o={},a=r.ge...
  function PM (line 45) | function PM(t){return"cartesian2d"===t.get("coordinateSystem")}
  function OM (line 45) | function OM(t){var e={xAxisModel:null,yAxisModel:null};return E(e,(funct...
  function NM (line 45) | function NM(t,e,n){var i=xx.prototype,r=i.getTicks.call(n),o=i.getTicks....
  function t (line 45) | function t(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[...
  function i (line 45) | function i(t){var e,n=G(t),i=n.length;if(i){for(var r=[],o=i-1;o>=0;o--)...
  function s (line 45) | function s(){E(a,(function(t){var e=t.isHorizontal(),n=e?[0,o.width]:[0,...
  function l (line 45) | function l(e){return function(n,i){if(zM(n,t)){var l=n.get("position");"...
  function n (line 45) | function n(t,e){E(c_(t,e.dim),(function(n){e.scale.unionExtentFromData(t...
  function zM (line 45) | function zM(t,e){return t.getCoordSysModel()===e}
  function VM (line 45) | function VM(t,e,n,i){n.getAxesOnZeroOf=function(){return r?[r]:[]};var r...
  function BM (line 45) | function BM(t){return t&&"category"!==t.type&&"time"!==t.type&&function(...
  function t (line 45) | function t(t,e){this.group=new Cr,this.opt=e,this.axisModel=t,k(e,{label...
  function HM (line 45) | function HM(t){t&&(t.ignore=!0)}
  function YM (line 45) | function YM(t,e){var n=t&&t.getBoundingRect().clone(),i=e&&e.getBounding...
  function UM (line 45) | function UM(t){return"middle"===t||"center"===t}
  function XM (line 45) | function XM(t,e,n,i,r){for(var o=[],a=[],s=[],l=0;l<t.length;l++){var u=...
  function ZM (line 45) | function ZM(t,e){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{...
  function jM (line 45) | function jM(t,e){return"all"===t||Y(t)&&P(t,e)>=0||t===e}
  function qM (line 45) | function qM(t){var e=KM(t);if(e){var n=e.axisPointerModel,i=e.axis.scale...
  function KM (line 45) | function KM(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSy...
  function $M (line 45) | function $M(t){return!!t.get(["handle","show"])}
  function JM (line 45) | function JM(t){return t.type+"||"+t.id}
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function nI (line 45) | function nI(t,e,n,i){var r=n.axis;if(!r.scale.isBlank()){var o=n.getMode...
  function iI (line 45) | function iI(t){eI(t).splitAreaColors=null}
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function e (line 45) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type...
  function e (line 45) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type...
  function pI (line 45) | function pI(t){t.registerComponentView(hI),t.registerComponentModel(vM),...
  function dI (line 45) | function dI(t){t.eachSeriesByType("radar",(function(t){var e=t.getData()...
  function fI (line 45) | function fI(t){return!isNaN(t[0])&&!isNaN(t[1])}
  function gI (line 45) | function gI(t){return[t.cx,t.cy]}
  function yI (line 45) | function yI(t){var e=t.polar;if(e){Y(e)||(e=[e]);var n=[];E(e,(function(...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function s (line 45) | function s(t,e){var n=t.getItemVisual(e,"symbol")||"circle";if("none"!==...
  function l (line 45) | function l(e,n,i,r,o,a){i.removeAll();for(var l=0;l<n.length-1;l++){var ...
  function u (line 45) | function u(t){return z(t,(function(t){return[i.cx,i.cy]}))}
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function _I (line 45) | function _I(t,e){return k({show:e},t)}
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function C (line 45) | function C(t,e,n){var i=n%e.length;return t[i]=t[i]||[],i}
  function e (line 45) | function e(e,n,i){var r=t.call(this,e,n,i)||this;return r.type="value",r...
  function t (line 45) | function t(t,e,n){this.dimensions=[],this._model=t,this._indicatorAxes=z...
  function TI (line 45) | function TI(t){t.registerCoordinateSystem("radar",II),t.registerComponen...
  function DI (line 45) | function DI(t,e){return!!AI(t)[e]}
  function AI (line 45) | function AI(t){return t[CI]||(t[CI]={})}
  function e (line 45) | function e(e){var n=t.call(this)||this;n._zr=e;var i=W(n._mousedownHandl...
  function LI (line 45) | function LI(t,e,n,i,r){t.pointerChecker&&t.pointerChecker(i,r.originX,r....
  function PI (line 45) | function PI(t,e,n,i,r){r.isAvailableBehavior=W(OI,null,n,i),t.trigger(e,r)}
  function OI (line 45) | function OI(t,e,n){var i=n[t];return!t||i&&(!X(i)||e.event[i+"Key"])}
  function RI (line 45) | function RI(t,e,n){var i=t.target;i.x+=e,i.y+=n,i.dirty()}
  function NI (line 45) | function NI(t,e,n,i){var r=t.target,o=t.zoomLimit,a=t.zoom=t.zoom||1;if(...
  function VI (line 45) | function VI(t,e,n){var i=e.getComponentByElement(t.topTarget),r=i&&i.coo...
  function BI (line 45) | function BI(t){X(t)&&(t=(new DOMParser).parseFromString(t,"text/xml"));v...
  function t (line 45) | function t(){this._defs={},this._root=null}
  function XI (line 45) | function XI(t,e){"userSpaceOnUse"===t.getAttribute("gradientUnits")&&(e....
  function ZI (line 45) | function ZI(t,e){for(var n=t.firstChild;n;){if(1===n.nodeType&&"stop"===...
  function jI (line 45) | function jI(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheri...
  function qI (line 45) | function qI(t){for(var e=tT(t),n=[],i=0;i<e.length;i+=2){var r=parseFloa...
  function KI (line 45) | function KI(t,e,n,i,r){var o=e,a=o.__inheritedStyle=o.__inheritedStyle||...
  function JI (line 45) | function JI(t,e,n,i){var r=n&&n.match($I);if(!r)return"none"===n&&(n=nul...
  function tT (line 45) | function tT(t){return t.match(QI)||[]}
  function rT (line 45) | function rT(t,e,n){var i,r=t.getAttribute("style");if(r)for(iT.lastIndex...
  function oT (line 45) | function oT(t,e){var n=e.width/t.width,i=e.height/t.height,r=Math.min(n,...
  function t (line 45) | function t(t,e){this.type="geoSVG",this._usedGraphicMap=ft(),this._freed...
  function t (line 45) | function t(t,e,n){var i;this.type="geoJSON",this._parsedMap=ft(),this._m...
  function yT (line 45) | function yT(t){for(var e,n=0;n<t.length;n++){var i=t[n].getBoundingRect(...
  function CT (line 45) | function CT(t){var e=t.getItemStyle(),n=t.get("areaColor");return null!=...
  function DT (line 45) | function DT(t){var e=t.style;e&&(e.stroke=e.stroke||e.fill,e.fill=null)}
  function t (line 45) | function t(t){var e=new Cr;this.uid=gc("ec_map_draw"),this._controller=n...
  function u (line 45) | function u(t,e){return e&&(t=e(t)),t&&[t[0]*r.scaleX+r.x,t[1]*r.scaleY+r...
  function h (line 45) | function h(t){for(var e=[],n=!l&&s&&s.project,i=0;i<t.length;++i){var r=...
  function c (line 45) | function c(t){return{shape:{points:h(t)}}}
  function x (line 45) | function x(e,n){if(e.length){var i=new Yu({culling:!0,segmentIgnoreThres...
  function s (line 45) | function s(){var e={type:"geoRoam",componentType:a};return e[a+"Id"]=t.i...
  function kT (line 45) | function kT(t,e,n,i){var r=i.getModel("itemStyle"),o=i.getModel(["emphas...
  function LT (line 45) | function LT(t,e,n,i,r,o,a){var s=t.data,l=t.isGeo,u=s&&isNaN(s.get(s.map...
  function PT (line 45) | function PT(t,e,n,i,r,o){t.data?t.data.setItemGraphicEl(o,e):Hs(e).event...
  function OT (line 45) | function OT(t,e,n,i,r){t.data||Eh({el:e,componentModel:r,itemName:n,item...
  function RT (line 45) | function RT(t,e,n,i,r){e.highDownSilentOnTouch=!!r.get("selectedMode");v...
  function NT (line 45) | function NT(t,e,n){var i,r=[];function o(){i=[]}function a(){i.length&&(...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function VT (line 45) | function VT(t){var e={};t.eachSeriesByType("map",(function(t){var n=t.ge...
  function BT (line 45) | function BT(t){var e={};t.eachSeriesByType("map",(function(n){var i=n.ge...
  function e (line 45) | function e(e){var n=t.call(this)||this;return n.type="view",n.dimensions...
  function WT (line 45) | function WT(t){var e=t.seriesModel;return e?e.coordinateSystem:null}
  function e (line 45) | function e(e,n,i){var r=t.call(this,e)||this;r.dimensions=YT,r.type="geo...
  function XT (line 45) | function XT(t){var e=t.geoModel,n=t.seriesModel;return e?e.coordinateSys...
  function ZT (line 45) | function ZT(t,e){var n=t.get("boundingCoords");if(null!=n){var i=n[0],r=...
  function t (line 45) | function t(){this.dimensions=YT}
  function i (line 45) | function i(t){return{nameProperty:t.get("nameProperty"),aspectScale:t.ge...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function KT (line 45) | function KT(t,e){return t.pointToProjected?t.pointToProjected(e):t.point...
  function $T (line 45) | function $T(t,e,n,i){var r=t.getZoom(),o=t.getCenter(),a=e.zoom,s=t.proj...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function QT (line 45) | function QT(t,e,n){mT(t,e,n)}
  function tC (line 45) | function tC(t){function e(e,n){n.update="geo:updateSelectStatus",t.regis...
  function eC (line 45) | function eC(t,e){var n=t.isExpand?t.children:[],i=t.parentNode.children,...
  function nC (line 45) | function nC(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t....
  function iC (line 45) | function iC(t){return arguments.length?t:uC}
  function rC (line 45) | function rC(t,e){return t-=Math.PI/2,{x:e*Math.cos(t),y:e*Math.sin(t)}}
  function oC (line 45) | function oC(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1...
  function aC (line 45) | function aC(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierN...
  function sC (line 45) | function sC(t,e,n){return t.hierNode.ancestor.parentNode===e.parentNode?...
  function lC (line 45) | function lC(t,e,n){var i=n/(e.hierNode.i-t.hierNode.i);e.hierNode.change...
  function uC (line 45) | function uC(t,e){return t.parentNode===e.parentNode?1:2}
  function e (line 45) | function e(e){return t.call(this,e)||this}
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function dC (line 45) | function dC(t,e){var n=t.getItemLayout(e);return n&&!isNaN(n.x)&&!isNaN(...
  function fC (line 45) | function fC(t,e,n,i,r){var o=!n,a=t.tree.getNodeByDataIndex(e),s=a.getMo...
  function gC (line 45) | function gC(t,e,n,i,r){var o=yC(e.tree.root,t),a=o.source,s=o.sourceLayo...
  function yC (line 45) | function yC(t,e){for(var n,i=e.parentNode===t?e:e.parentNode||e;null==(n...
  function vC (line 45) | function vC(t,e,n,i,r){var o=t.tree.getNodeByDataIndex(e),a=yC(t.tree.ro...
  function mC (line 45) | function mC(t,e,n,i,r){var o,a,s,l,u,h,c,p;if("radial"===t){u=i.rawX,c=i...
  function _C (line 45) | function _C(t){var e=t.mainData,n=t.datas;n||(n={main:e},t.datasAttr={ma...
  function bC (line 45) | function bC(t,e){if(xC(i=this).mainData===i){var n=A({},xC(this).datas);...
  function wC (line 45) | function wC(t,e){return t.struct&&t.struct.update(),e}
  function SC (line 45) | function SC(t,e){return E(xC(e).datas,(function(n,i){n!==e&&CC(n.cloneSh...
  function MC (line 45) | function MC(t){var e=xC(this).mainData;return null==t||null==e?e:xC(e).d...
  function IC (line 45) | function IC(){var t=xC(this).mainData;return null==t?[{data:t}]:z(G(xC(t...
  function TC (line 45) | function TC(t,e,n){xC(t).datas={},E(e,(function(e,i){CC(e,i,t,n)}))}
  function CC (line 45) | function CC(t,e,n,i){xC(n).datas[e]=t,xC(t).mainData=n,t.dataType=e,i.st...
  function t (line 45) | function t(t,e){this.depth=0,this.height=0,this.dataIndex=-1,this.childr...
  function t (line 45) | function t(t){this.type="tree",this._nodes=[],this.hostModel=t}
  function kC (line 45) | function kC(t,e,n){if(t&&P(e,t.type)>=0){var i=n.getData().tree.root,r=t...
  function LC (line 45) | function LC(t){for(var e=[];t;)(t=t.parentNode)&&e.push(t);return e.reve...
  function PC (line 45) | function PC(t,e){return P(LC(t),e)>=0}
  function OC (line 45) | function OC(t,e){for(var n=[];t;){var i=t.dataIndex;n.push({name:t.name,...
  function e (line 45) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasS...
  function NC (line 45) | function NC(t,e){for(var n,i=[t];n=i.pop();)if(e(n),n.isExpand){var r=n....
  function EC (line 45) | function EC(t,e){t.eachSeriesByType("tree",(function(t){!function(t,e){v...
  function zC (line 45) | function zC(t){t.eachSeriesByType("tree",(function(t){var e=t.getData();...
  function BC (line 45) | function BC(t){var e=t.getData().tree,n={};e.eachNode((function(e){for(v...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function GC (line 45) | function GC(t){var e=0;E(t.children,(function(t){GC(t);var n=t.value;Y(n...
  function t (line 45) | function t(t){this.group=new Cr,t.add(this.group)}
  function HC (line 45) | function HC(t,e,n,i,r,o){var a=[[r?t:t-5,e],[t+n,e],[t+n,e+i],[r?t:t-5,e...
  function YC (line 45) | function YC(t,e,n){Hs(t).eventData={componentType:"series",componentSubT...
  function t (line 45) | function t(){this._storage=[],this._elExistsMap={}}
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function u (line 45) | function u(t,i,r,u){return function(t,e,n,i,r,o,a,s,l,u){if(!a)return;va...
  function a (line 45) | function a(t){return t.getId()}
  function s (line 45) | function s(a,s){var l=null!=a?e[a]:null,h=null!=s?n[s]:null,c=u(l,h,i,o)...
  function t (line 45) | function t(e){var n=e.mappingMethod,i=e.type,r=this.option=T(e);this.typ...
  function c (line 45) | function c(e,n){var o=Math.abs(e-t);o<r&&(r=o,i=n)}
  function rD (line 45) | function rD(t,e){var n=t.visual,i=[];q(n)?tD(n,(function(t){i.push(t)}))...
  function oD (line 45) | function oD(t){return{applyVisual:function(e,n,i){var r=this.mapValueToV...
  function aD (line 45) | function aD(t){var e=this.option.visual;return e[Math.round(Nr(t,[0,1],[...
  function sD (line 45) | function sD(t){return function(e,n,i){i(t,this.mapValueToVisual(e))}}
  function lD (line 45) | function lD(t){var e=this.option.visual;return e[this.option.loop&&t!==n...
  function uD (line 45) | function uD(){return this.option.visual[0]}
  function hD (line 45) | function hD(t){return{linear:function(e){return Nr(e,t,this.option.visua...
  function cD (line 45) | function cD(t){var e=this.option,n=e.pieceList;if(e.hasSpecialVisual){va...
  function pD (line 45) | function pD(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=z(e...
  function fD (line 45) | function fD(t,e,n){return t?e<=n:e<n}
  function vD (line 45) | function vD(t,e,n,i){var r=t.getModel(),o=t.getLayout(),a=t.hostTree.dat...
  function mD (line 45) | function mD(t){var e=xD(t,"color");if(e){var n=xD(t,"colorAlpha"),i=xD(t...
  function xD (line 45) | function xD(t,e){var n=t[e];if(null!=n&&"none"!==n)return n}
  function _D (line 45) | function _D(t,e){var n=t.get(e);return Y(n)&&n.length?{name:e,range:n}:n...
  function kD (line 45) | function kD(t,e,n,i){var r,o;if(!t.isRemoved()){var a=t.getLayout();r=a....
  function LD (line 45) | function LD(t,e,n){for(var i=0,r=1/0,o=0,a=void 0,s=t.length;o<s;o++)(a=...
  function PD (line 45) | function PD(t,e,n,i,r){var o=e===n.width?0:1,a=1-o,s=["x","y"],l=["width...
  function OD (line 45) | function OD(t,e,n,i,r){var o=t.getLayout(),a=n[r],s=a&&a===t;if(!(a&&!s|...
  function RD (line 45) | function RD(t){return t.get(CD)?t.get(DD):0}
  function ND (line 45) | function ND(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&...
  function ED (line 45) | function ED(t){var e={};t.eachSeriesByType("graph",(function(t){var n=t....
  function zD (line 45) | function zD(t){return t instanceof Array||(t=[t,t]),t}
  function VD (line 45) | function VD(t){t.eachSeriesByType("graph",(function(t){var e=t.getGraph(...
  function UD (line 45) | function UD(t,e,n,i){var r=FD(e),o=Y(r);if(!r)return null;var a=function...
  function XD (line 45) | function XD(t){var e=t.coordinateSystem;if(!e||"view"===e.type){var n=t....
  function ZD (line 45) | function ZD(t,e){t.eachEdge((function(t,n){var i=ot(t.getModel().get(["l...
  function jD (line 45) | function jD(t,e){t.eachSeriesByType("graph",(function(t){var e=t.get("la...
  function qD (line 45) | function qD(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var ...
  function KD (line 45) | function KD(t){var e=t.getVisual("symbolSize");return e instanceof Array...
  function QD (line 45) | function QD(t,e){var n=t.coordinateSystem;if(!n||"view"===n.type){var i=...
  function eA (line 45) | function eA(t){t.eachSeriesByType("graph",(function(t){"circular"===t.ge...
  function iA (line 45) | function iA(t){t.eachSeriesByType("graph",(function(t){var e=t.coordinat...
  function rA (line 45) | function rA(t,e){var n=[];return t.eachSeriesByType("graph",(function(t)...
  function e (line 45) | function e(){return null!==t&&t.apply(this,arguments)||this}
  function lA (line 45) | function lA(t){return isNaN(+t.cpx1)||isNaN(+t.cpy1)}
  function e (line 45) | function e(e){var n=t.call(this,e)||this;return n.type="ec-line",n}
  function cA (line 45) | function cA(t){return"_"+t+"Type"}
  function pA (line 45) | function pA(t,e,n){var i=e.getItemVisual(n,t);if(i&&"none"!==i){var r=e....
  function dA (line 45) | function dA(t,e){t.x1=e[0][0],t.y1=e[0][1],t.x2=e[1][0],t.y2=e[1][1],t.p...
  function e (line 45) | function e(e,n,i){var r=t.call(this)||this;return r._createLine(e,n,i),r}
  function S (line 45) | function S(t,e){var n=t.__specifiedRotation;if(null==n){var i=a.tangentA...
  function t (line 45) | function t(t){this.group=new Cr,this._LineCtor=t||fA}
  function n (line 45) | function n(t){t.isGroup||function(t){return t.animators&&t.animators.len...
  function yA (line 45) | function yA(t){var e=t.hostModel,n=e.getModel("emphasis");return{lineSty...
  function vA (line 45) | function vA(t){return isNaN(t[0])||isNaN(t[1])}
  function mA (line 45) | function mA(t){return t&&!vA(t[0])&&!vA(t[1])}
  function IA (line 45) | function IA(t,e,n){for(var i,r=t[0],o=t[1],a=t[2],s=1/0,l=n*n,u=.1,h=.1;...
  function TA (line 45) | function TA(t,e){var n=[],i=Qe,r=[[],[],[]],o=[[],[]],a=[];e/=2,t.eachEd...
  function CA (line 45) | function CA(t){return"view"===t.type}
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function AA (line 45) | function AA(t){return"_EC_"+t}
  function t (line 45) | function t(t){this.type="graph",this.nodes=[],this.edges=[],this._nodesM...
  function t (line 45) | function t(t,e){this.inEdges=[],this.outEdges=[],this.edges=[],this.data...
  function t (line 45) | function t(t,e,n){this.dataIndex=-1,this.node1=t,this.node2=e,this.dataI...
  function OA (line 45) | function OA(t,e){return{getValue:function(n){var i=this[t][e];return i.g...
  function RA (line 45) | function RA(t,e,n,i,r){for(var o=new kA(i),a=0;a<t.length;a++)o.addNode(...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function i (line 45) | function i(){return n._categoriesData}
  function i (line 45) | function i(t,e){var i=n.call(this,t,e);return i.resolveParentPath=r,i}
  function r (line 45) | function r(t){if(t&&("label"===t[0]||"label"===t[1])){var e=t.slice();re...
  function e (line 45) | function e(e){var n=t.call(this,e)||this;return n.type="pointer",n}
  function BA (line 45) | function BA(t,e){var n=null==t?"":t+"";return e&&(X(e)?n=e.replace("{val...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function w (line 45) | function w(e,n){var i,o=y.getItemModel(e).getModel("pointer"),a=Er(o.get...
  function S (line 45) | function S(t,e){var n=f.get("roundCap")?DS:Cu,i=f.get("overlap"),a=i?f.g...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function e (line 45) | function e(e,n){var i=t.call(this)||this,r=i,o=new Ru,a=new ks;return r....
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function XA (line 45) | function XA(t,e){t.eachSeriesByType("funnel",(function(t){var n=t.getDat...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function jA (line 45) | function jA(t,e,n,i){for(var r,o=[],a=0;a<n.length;a++){var s=n[a],l=t.g...
  function qA (line 45) | function qA(t,e,n,i,r){var o=jA(t,n,i,r),a=new Ru({shape:{points:o},z2:1...
  function KA (line 45) | function KA(t){var e=t.get("smooth",!0);return!0===e&&(e=.3),nt(e=to(e))...
  function $A (line 45) | function $A(t,e,n,i){t.useStyle(e.getItemVisual(n,"style")),t.style.fill...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function QA (line 45) | function QA(t){var e=t.ecModel.getComponent("parallel",t.get("parallelIn...
  function nk (line 45) | function nk(t){!function(t){if(t.parallel)return;var e=!1;E(t.series,(fu...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function ok (line 45) | function ok(t,e){var n=t._model;return n.get("axisExpandable")&&n.get("a...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function e (line 45) | function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.type=r||"v...
  function lk (line 45) | function lk(t,e,n,i,r,o){t=t||0;var a=n[1]-n[0];if(null!=r&&(r=hk(r,[0,a...
  function uk (line 45) | function uk(t,e){var n=t[e]-t[1-e];return{span:Math.abs(n),sign:n>0?-1:n...
  function hk (line 45) | function hk(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]...
  function t (line 45) | function t(t,e,n){this.type="parallel",this._axesMap=ft(),this._axesLayo...
  function xk (line 45) | function xk(t,e){return pk(dk(t,e[0]),e[1])}
  function _k (line 45) | function _k(t,e){var n=e.layoutLength/(e.axisCount-1);return{position:n*...
  function bk (line 45) | function bk(t,e){var n,i,r=e.layoutLength,o=e.axisExpandWidth,a=e.axisCo...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function e (line 45) | function e(e){var n=t.call(this)||this;return n._track=[],n._covers=[],n...
  function o (line 45) | function o(t,e){return(null!=t.id?t.id:"\0-brush-index-"+e)+"-"+t.brushT...
  function a (line 45) | function a(o,a){var s=t[o];if(null!=a&&e[a]===r)n[o]=e[a];else{var l=n[o...
  function Rk (line 45) | function Rk(t,e){var n=lL[e.brushType].createCover(t,e);return n.__brush...
  function Nk (line 45) | function Nk(t,e){var n=Bk(e);return n.endCreating&&(n.endCreating(t,e),z...
  function Ek (line 45) | function Ek(t,e){var n=e.__brushOption;Bk(e).updateCoverShape(t,e,n.rang...
  function zk (line 45) | function zk(t,e){var n=e.z;null==n&&(n=1e4),t.traverse((function(t){t.z=...
  function Vk (line 45) | function Vk(t,e){Bk(e).updateCommon(t,e),Ek(t,e)}
  function Bk (line 45) | function Bk(t){return lL[t.__brushOption.brushType]}
  function Fk (line 45) | function Fk(t,e,n){var i,r=t._panels;if(!r)return Mk;var o=t._transform;...
  function Gk (line 45) | function Gk(t,e){var n=t._panels;if(!n)return Mk;var i=e.__brushOption.p...
  function Wk (line 45) | function Wk(t){var e=t._covers,n=e.length;return E(e,(function(e){t.grou...
  function Hk (line 45) | function Hk(t,e){var n=z(t._covers,(function(t){var e=t.__brushOption,n=...
  function Yk (line 45) | function Yk(t){var e=t.length-1;return e<0&&(e=0),[t[0],t[e]]}
  function Uk (line 45) | function Uk(t,e,n,i){var r=new Cr;return r.add(new Cs({name:"main",style...
  function Xk (line 45) | function Xk(t,e,n,i){var r=i.brushStyle.lineWidth||0,o=Tk(r,6),a=n[0][0]...
  function Zk (line 45) | function Zk(t,e){var n=e.__brushOption,i=n.transformable,r=e.childAt(0);...
  function jk (line 45) | function jk(t,e,n,i,r,o,a){var s=e.childOfName(n);s&&s.setShape(function...
  function qk (line 45) | function qk(t){return k({strokeNoScale:!0},t.brushStyle)}
  function Kk (line 45) | function Kk(t,e,n,i){var r=[Ik(t,n),Ik(e,i)],o=[Tk(t,n),Tk(e,i)];return[...
  function $k (line 45) | function $k(t,e){return{left:"w",right:"e",top:"n",bottom:"s"}[Ch({w:"le...
  function Jk (line 45) | function Jk(t,e,n,i,r,o){var a=n.__brushOption,s=t.toRectRange(a.range),...
  function Qk (line 45) | function Qk(t,e,n,i){var r=e.__brushOption.range,o=tL(t,n,i);E(r,(functi...
  function tL (line 45) | function tL(t,e,n){var i=t.group,r=i.transformCoordToLocal(e,n),o=i.tran...
  function eL (line 45) | function eL(t,e,n){var i=Gk(t,e);return i&&i!==Mk?i.clipPath(n,t._transf...
  function nL (line 45) | function nL(t){var e=t.event;e.preventDefault&&e.preventDefault()}
  function iL (line 45) | function iL(t,e,n){return t.childOfName("main").contain(e,n)}
  function rL (line 45) | function rL(t,e,n,i){var r,o=t._creatingCover,a=t._creatingPanel,s=t._br...
  function oL (line 45) | function oL(t,e){return"auto"===t?e.defaultBrushType:t}
  function sL (line 45) | function sL(t,e){if(t._dragging){nL(e);var n=e.offsetX,i=e.offsetY,r=t.g...
  function n (line 45) | function n(t){return t}
  function uL (line 45) | function uL(t){return{createCover:function(e,n){return Uk({toRectRange:f...
  function hL (line 45) | function hL(t){return t=dL(t),function(e){return kh(e,t)}}
  function cL (line 45) | function cL(t,e){return t=dL(t),function(n){var i=null!=e?e:n,r=i?t.widt...
  function pL (line 45) | function pL(t,e,n){var i=dL(t);return function(t,r){return i.contain(r[0...
  function dL (line 45) | function dL(t){return sr.create(t)}
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function mL (line 45) | function mL(t){t.registerComponentView(ik),t.registerComponentModel(ak),...
  function e (line 45) | function e(e){return t.call(this,e)||this}
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function i (line 45) | function i(t){return isNaN(t)||null==t}
  function SL (line 45) | function SL(t,e){t.eachSeriesByType("sankey",(function(t){var n=t.get("n...
  function ML (line 45) | function ML(t){var e=t.hostGraph.data.getRawDataItem(t.dataIndex);return...
  function IL (line 45) | function IL(t,e,n,i,r){var o="vertical"===r?"x":"y";E(t,(function(t){var...
  function TL (line 45) | function TL(t,e,n){E(t.slice().reverse(),(function(t){E(t,(function(t){i...
  function CL (line 45) | function CL(t,e){return LL(t.node2,e)*t.getValue()}
  function DL (line 45) | function DL(t,e){return LL(t.node2,e)}
  function AL (line 45) | function AL(t,e){return LL(t.node1,e)*t.getValue()}
  function kL (line 45) | function kL(t,e){return LL(t.node1,e)}
  function LL (line 45) | function LL(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2...
  function PL (line 45) | function PL(t){return t.getValue()}
  function OL (line 45) | function OL(t,e,n){for(var i=0,r=t.length,o=-1;++o<r;){var a=+e(t[o],n);...
  function RL (line 45) | function RL(t,e,n){E(t,(function(t){E(t,(function(t){if(t.inEdges.length...
  function NL (line 45) | function NL(t){t.eachSeriesByType("sankey",(function(t){var e=t.getGraph...
  function t (line 45) | function t(){}
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function e (line 45) | function e(e){var n=t.call(this,e)||this;return n.type="boxplotBoxPath",n}
  function GL (line 45) | function GL(t,e,n,i,r){var o=t.ends,a=new FL({shape:{points:r?HL(o,i,t):...
  function WL (line 45) | function WL(t,e,n,i,r){var o=n.hostModel;(0,Bh[r?"initProps":"updateProp...
  function HL (line 45) | function HL(t,e,n){return z(t,(function(t){return(t=t.slice())[e]=n.init...
  function YL (line 45) | function YL(t,e){}
  function XL (line 45) | function XL(t){var e=function(t){var e=[],n=[];return t.eachSeriesByType...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function e (line 45) | function e(e){var n=t.call(this,e)||this;return n.type="normalCandlestic...
  function JL (line 45) | function JL(t,e,n){var i=t.ends;return new $L({shape:{points:n?eP(i,t):i...
  function QL (line 45) | function QL(t,e){for(var n=!0,i=0;i<e.ends.length;i++)if(t.contain(e.end...
  function tP (line 45) | function tP(t,e,n,i){var r=e.getItemModel(n);t.useStyle(e.getItemVisual(...
  function eP (line 45) | function eP(t,e){return z(t,(function(t){return(t=t.slice())[1]=e.initBa...
  function e (line 45) | function e(e){var n=t.call(this,e)||this;return n.type="largeCandlestick...
  function rP (line 45) | function rP(t,e,n,i){var r=t.getData().getLayout("largePoints"),o=new iP...
  function oP (line 45) | function oP(t,e,n,i){var r=n.get(["itemStyle",t>0?"borderColor":"borderC...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function sP (line 45) | function sP(t){t&&Y(t.series)&&E(t.series,(function(t){q(t)&&"k"===t.typ...
  function n (line 45) | function n(t,e){return e.get(t>0?hP:cP)}
  function i (line 45) | function i(t,e){return e.get(t>0?lP:uP)}
  function S (line 45) | function S(t,n){var i=[];return i[0]=n,i[1]=t,isNaN(n)||isNaN(t)?[NaN,Na...
  function M (line 45) | function M(t,e,n){var r=e.slice(),o=e.slice();r[0]=Mh(r[0]+i/2,1,!1),o[0...
  function I (line 45) | function I(t,e,n){var r=S(t,n),o=S(e,n);return r[0]-=i/2,o[0]-=i/2,{x:r[...
  function T (line 45) | function T(t){return t[0]=Mh(t[0],1),t}
  function fP (line 45) | function fP(t,e,n,i,r){return n>i?-1:n<i?1:e>0?t.get(r,e-1)<=i?1:-1:1}
  function gP (line 45) | function gP(t,e){var n=e.rippleEffectColor||e.color;t.eachChild((functio...
  function e (line 45) | function e(e,n){var i=t.call(this)||this,r=new Yw(e,n),o=new Cr;return i...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function e (line 45) | function e(e,n,i){var r=t.call(this)||this;return r.add(r.createLine(e,n...
  function e (line 45) | function e(e,n,i){var r=t.call(this)||this;return r._createPolyline(e,n,...
  function e (line 45) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._las...
  function e (line 45) | function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=...
  function t (line 45) | function t(){this.group=new Cr}
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function AP (line 45) | function AP(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=z(e...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function LP (line 45) | function LP(t){return t instanceof Array||(t=[t,t]),t}
  function t (line 45) | function t(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.m...
  function RP (line 45) | function RP(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function GP (line 45) | function GP(t,e,n,i){var r=t.getItemLayout(e),o=n.get("symbolRepeat"),a=...
  function WP (line 45) | function WP(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}
  function HP (line 45) | function HP(t){var e=t.symbolPatternSize,n=Ly(t.symbolType,-e/2,-e/2,e,e...
  function YP (line 45) | function YP(t,e,n,i){var r=t.__pictorialBundle,o=n.symbolSize,a=n.valueL...
  function UP (line 45) | function UP(t,e,n,i){var r=t.__pictorialBundle,o=t.__pictorialMainPath;o...
  function XP (line 45) | function XP(t,e,n){var i=A({},e.barRectShape),r=t.__pictorialBarRect;r?e...
  function ZP (line 45) | function ZP(t,e,n,i){if(n.symbolClip){var r=t.__pictorialClipPath,o=A({}...
  function jP (line 45) | function jP(t,e){var n=t.getItemModel(e);return n.getAnimationDelayParam...
  function qP (line 45) | function qP(t){return{index:t.__pictorialAnimationIndex,count:t.__pictor...
  function KP (line 45) | function KP(){return this.parentModel.isAnimationEnabled()&&!!this.getSh...
  function $P (line 45) | function $P(t,e,n,i){var r=new Cr,o=new Cr;return r.add(o),r.__pictorial...
  function JP (line 45) | function JP(t,e,n,i){var r=i.__pictorialBarRect;r&&r.removeTextContent()...
  function QP (line 45) | function QP(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!...
  function tO (line 45) | function tO(t,e,n){E(t.__pictorialBundle.children(),(function(i){i!==t._...
  function eO (line 45) | function eO(t,e,n,i,r,o){e&&t.attr(e),i.symbolClip&&!r?n&&t.attr(n):n&&B...
  function nO (line 45) | function nO(t,e,n){var i=n.dataIndex,r=n.itemModel,o=r.getModel("emphasi...
  function iO (line 45) | function iO(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function h (line 45) | function h(t){return t.name}
  function d (line 45) | function d(e,n,s){var l=r._layers;if("remove"!==e){for(var u,h,c=[],d=[]...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function sO (line 45) | function sO(t,e){t.eachSeriesByType("themeRiver",(function(t){var e=t.ge...
  function lO (line 45) | function lO(t,e,n){if(t.count())for(var i,r=e.coordinateSystem,o=e.getLa...
  function e (line 45) | function e(e,n,i,r){var o=t.call(this)||this;o.z2=2,o.textConfig={inside...
  function f (line 45) | function f(t,e){var n=t.get(e);return null==n?i.get(e):n}
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function s (line 45) | function s(t){return t.getId()}
  function h (line 45) | function h(s,h){!function(i,r){u||!i||i.getValue()||(i=null);if(i!==a&&r...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function fO (line 45) | function fO(t){var e=0;E(t.children,(function(t){fO(t);var n=t.value;Y(n...
  function yO (line 45) | function yO(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.get("center...
  function vO (line 45) | function vO(t,e){var n=t.children||[];t.children=function(t,e){if(U(e)){...
  function mO (line 45) | function mO(t){var e={};t.eachSeriesByType("sunburst",(function(t){var n...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function SO (line 45) | function SO(t,e){return e=e||[0,0],z(["x","y"],(function(n,i){var r=this...
  function MO (line 45) | function MO(t,e){return e=e||[0,0],z([0,1],(function(n){var i=e[n],r=t[n...
  function IO (line 45) | function IO(t,e){var n=this.getAxis(),i=e instanceof Array?e[0]:e,r=(t i...
  function TO (line 45) | function TO(t,e){return e=e||[0,0],z(["Radius","Angle"],(function(n,i){v...
  function CO (line 45) | function CO(t,e,n,i){return t&&(t.legacy||!1!==t.legacy&&!n&&!i&&"tspan"...
  function DO (line 45) | function DO(t,e,n){var i,r,o,a=t;if("text"===e)o=a;else{o={},mt(a,"text"...
  function AO (line 45) | function AO(t,e){e&&(e.font=e.textFont||e.font,mt(e,"textStrokeWidth")&&...
  function kO (line 45) | function kO(t,e,n){var i=t;i.textPosition=i.textPosition||n.position||"i...
  function LO (line 45) | function LO(t,e){e&&(mt(e,"fill")&&(t.textFill=e.fill),mt(e,"stroke")&&(...
  function EO (line 45) | function EO(t,e,n,i,r){var o=t+"Animation",a=nh(t,i,r)||{},s=NO(e).userD...
  function zO (line 45) | function zO(t,e,n,i){var r=(i=i||{}).dataIndex,o=i.isInit,a=i.clearStyle...
  function VO (line 45) | function VO(t,e){for(var n=NO(t).leaveToProps,i=0;i<RO.length;i++){var r...
  function BO (line 45) | function BO(t,e,n,i){if(t){var r=t.parent,o=NO(t).leaveToProps;if(o){var...
  function FO (line 45) | function FO(t){return"all"===t}
  function HO (line 45) | function HO(){var t=this,e=t.el;if(e){var n=NO(e).userDuring,i=t.userDur...
  function YO (line 45) | function YO(t,e,n,i){var r=n[t];if(r){var o,a=e[t];if(a){var s=n.transit...
  function UO (line 45) | function UO(t,e,n){var i=e[t];if(i)for(var r=n[t]={},o=G(i),a=0;a<o.leng...
  function XO (line 45) | function XO(t,e){return N(t)?t!==e:null!=t&&isFinite(t)}
  function qO (line 45) | function qO(t){t.stopAnimation("keyframe"),t.attr(ZO(t))}
  function KO (line 45) | function KO(t,e,n){if(n.isAnimationEnabled()&&e)if(Y(e))E(e,(function(e)...
  function sR (line 45) | function sR(t){return t instanceof gs}
  function lR (line 45) | function lR(t){return t instanceof da}
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function l (line 45) | function l(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hov...
  function hR (line 45) | function hR(t){var e,n=t.type;if("path"===n){var i=t.shape,r=null!=i.wid...
  function cR (line 45) | function cR(t,e,n,i,r,o,a){qO(e);var s=r&&r.normal.cfg;s&&e.setTextConfi...
  function pR (line 45) | function pR(t,e,n,i,r){var o=e.isGroup?null:e,a=r&&r[t].cfg;if(o){var s=...
  function dR (line 45) | function dR(t,e,n){var i=n===JO,r=i?e:_R(e,n),o=r?r.z2:null;null!=o&&((i...
  function fR (line 45) | function fR(t,e,n,i){var r=t.get("renderItem"),o=t.coordinateSystem,a={}...
  function gR (line 45) | function gR(t){var e={};return E(t.dimensions,(function(n){var i=t.getDi...
  function yR (line 45) | function yR(t,e,n,i,r,o,a){if(i){var s=vR(t,e,n,i,r,o);return s&&a.setIt...
  function vR (line 45) | function vR(t,e,n,i,r,o){var a=-1,s=e;e&&mR(e,i,r)&&(a=P(o.childrenRef()...
  function mR (line 45) | function mR(t,e,n){var i,r=bO(t),o=e.type,a=e.shape,s=e.style;return n.i...
  function xR (line 45) | function xR(t,e,n){var i=e?_R(t,e):t,r=e?bR(t,i,$O):t.style,o=t.type,a=i...
  function _R (line 45) | function _R(t,e){return e?t?t[e]:null:t}
  function bR (line 45) | function bR(t,e,n){var i=e&&e.style;return null==i&&n===$O&&t&&(i=t.styl...
  function wR (line 45) | function wR(t,e){var n=t&&t.name;return null!=n?n:"e\0\0"+e}
  function SR (line 45) | function SR(t,e){var n=this.context,i=null!=t?n.newChildren[t]:null,r=nu...
  function MR (line 45) | function MR(t){var e=this.context,n=e.oldChildren[t];BO(n,bO(n).option,e...
  function IR (line 45) | function IR(t){return t&&(t.pathData||t.d)}
  function t (line 45) | function t(){this._dragging=!1,this.animationThreshold=15}
  function kR (line 45) | function kR(t,e,n,i){LR(TR(n).lastProp,i)||(TR(n).lastProp=i,e?rh(n,i,t)...
  function LR (line 45) | function LR(t,e){if(q(t)&&q(e)){var n=!0;return E(e,(function(e,i){n=n&&...
  function PR (line 45) | function PR(t,e){t[e.get(["label","show"])?"show":"hide"]()}
  function OR (line 45) | function OR(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}
  function RR (line 45) | function RR(t,e,n){var i=e.get("z"),r=e.get("zlevel");t&&t.traverse((fun...
  function NR (line 45) | function NR(t){var e,n=t.get("type"),i=t.getModel(n+"Style");return"line...
  function ER (line 45) | function ER(t,e,n,i,r){var o=zR(n.get("value"),e.axis,e.ecModel,n.get("s...
  function zR (line 45) | function zR(t,e,n,i,r){t=e.scale.parse(t);var o=e.scale.getLabel({value:...
  function VR (line 45) | function VR(t,e,n){var i=[1,0,0,1,0,0];return zi(i,i,n.rotation),Ei(i,i,...
  function BR (line 45) | function BR(t,e,n,i,r,o){var a=GM.innerTextLayout(n.rotation,0,n.labelDi...
  function FR (line 45) | function FR(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}}
  function GR (line 45) | function GR(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}
  function WR (line 45) | function WR(t,e,n,i,r,o){return{cx:t,cy:e,r0:n,r:i,startAngle:r,endAngle...
  function e (line 45) | function e(){return null!==t&&t.apply(this,arguments)||this}
  function YR (line 45) | function YR(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCarte...
  function XR (line 45) | function XR(t){return"x"===t.dim?0:1}
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function KR (line 45) | function KR(t,e,n){if(!r.node){var i=e.getZr();jR(i).records||(jR(i).rec...
  function $R (line 45) | function $R(t,e,n){t.handler("leave",null,n)}
  function JR (line 45) | function JR(t,e,n,i){e.handler(t,n,i)}
  function QR (line 45) | function QR(t,e){if(!r.node){var n=e.getZr();(jR(n).records||{})[t]&&(jR...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function eN (line 45) | function eN(t,e){var n,i=[],r=t.seriesIndex;if(null==r||!(n=e.getSeriesB...
  function iN (line 45) | function iN(t,e,n){var i=t.currTrigger,r=[t.x,t.y],o=t,a=t.dispatchActio...
  function rN (line 45) | function rN(t,e,n,i,r){var o=t.axis;if(!o.scale.isBlank()&&o.containData...
  function oN (line 45) | function oN(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}
  function aN (line 45) | function aN(t,e,n,i){var r=n.payloadBatch,o=e.axis,a=o.model,s=e.axisPoi...
  function sN (line 45) | function sN(t){var e=t.axis.model,n={},i=n.axisDim=t.axis.dim;return n.a...
  function lN (line 45) | function lN(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}
  function uN (line 45) | function uN(t){tI.registerAxisPointerClass("CartesianAxisPointer",HR),t....
  function e (line 45) | function e(){return null!==t&&t.apply(this,arguments)||this}
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function e (line 45) | function e(){return null!==t&&t.apply(this,arguments)||this}
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function e (line 45) | function e(e,n){return t.call(this,"radius",e,n)||this}
  function e (line 45) | function e(e,n){return t.call(this,"angle",e,n||[0,360])||this}
  function t (line 45) | function t(t){this.dimensions=xN,this.type="polar",this.cx=0,this.cy=0,t...
  function bN (line 45) | function bN(t){var e=t.seriesModel,n=t.polarModel;return n&&n.coordinate...
  function wN (line 45) | function wN(t,e){var n=this,i=n.getAngleAxis(),r=n.getRadiusAxis();if(i....
  function SN (line 45) | function SN(t,e){if(t.type=e.get("type"),t.scale=o_(e),t.onBand=e.get("b...
  function TN (line 45) | function TN(t,e,n){e[1]>e[0]&&(e=e.slice().reverse());var i=t.coordToPoi...
  function CN (line 45) | function CN(t){return t.getRadiusAxis().inverse?0:1}
  function DN (line 45) | function DN(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coor...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function NN (line 45) | function NN(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}
  function EN (line 45) | function EN(t,e){return e.dim+t.model.componentIndex}
  function zN (line 45) | function zN(t,e,n){var i={},r=function(t){var e={};E(t,(function(t,n){va...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function GN (line 45) | function GN(t,e){e=e||{};var n=t.coordinateSystem,i=t.axis,r={},o=i.posi...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function e (line 45) | function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.type=r||"v...
  function t (line 45) | function t(t,e,n){this.type="single",this.dimension="single",this.dimens...
  function KN (line 45) | function KN(t){var e=t.seriesModel,n=t.singleAxisModel;return n&&n.coord...
  function e (line 45) | function e(){return null!==t&&t.apply(this,arguments)||this}
  function nE (line 45) | function nE(t){return t.isHorizontal()?0:1}
  function iE (line 45) | function iE(t,e){var n=t.getRect();return[n[JN[e]],n[JN[e]]+n[QN[e]]]}
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function aE (line 45) | function aE(t,e){var n,i=t.cellSize;1===(n=Y(i)?i:t.cellSize=[i,i]).leng...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function p (line 45) | function p(e){r._firstDayOfMonth.push(o.getDateInfo(e)),r._firstDayPoint...
  function t (line 45) | function t(e,n,i){this.type="calendar",this.dimensions=t.dimensions,this...
  function u (line 45) | function u(t,e){return null!=t[e]&&"auto"!==t[e]}
  function hE (line 45) | function hE(t){var e=t.calendarModel,n=t.seriesModel;return e?e.coordina...
  function cE (line 45) | function cE(t,e){var n;return E(e,(function(e){null!=t[e]&&"auto"!==t[e]...
  function fE (line 45) | function fE(t,e,n){if(n&&(!t[n]&&e[n]&&(t[n]={}),t=t[n],e=e[n]),t&&e)for...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function xE (line 45) | function xE(t){var e=mt(yE,t)?yE[t]:mh(t);var n=new e({});return vE(n).t...
  function _E (line 45) | function _E(t,e,n,i){var r=xE(n);return e.add(r),i.set(t,r),vE(r).id=t,v...
  function bE (line 45) | function bE(t,e,n,i){t&&t.parent&&("group"===t.type&&t.traverse((functio...
  function wE (line 45) | function wE(t,e,n,i){t.isGroup||E([["cursor",da.prototype.cursor],["zlev...
  function IE (line 45) | function IE(t){return t+"Axis"}
  function TE (line 45) | function TE(t,e){var n,i=ft(),r=[],o=ft();t.eachComponent({mainType:"dat...
  function CE (line 45) | function CE(t){var e=t.ecModel,n={infoList:[],infoMap:ft()};return t.eac...
  function t (line 45) | function t(){this.indexList=[],this.indexMap=[]}
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function o (line 45) | function o(e,n){var r=e[0];if(r){var o=new DE;if(o.add(r.componentIndex)...
  function kE (line 45) | function kE(t){var e={};return E(["start","end","startValue","endValue",...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function t (line 45) | function t(t,e,n,i){this._dimName=t,this._axisIndex=e,this.ecModel=i,thi...
  function u (line 45) | function u(t,e,n,r,o){var a=o?"Span":"ValueSpan";lk(0,t,n,"all",l["min"+...
  function e (line 45) | function e(e){t.eachComponent("dataZoom",(function(n){n.eachTargetAxis((...
  function BE (line 45) | function BE(t){VE||(VE=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTE...
  function FE (line 45) | function FE(t){t.registerComponentModel(LE),t.registerComponentView(OE),...
  function HE (line 45) | function HE(t,e){WE[t]=e}
  function YE (line 45) | function YE(t){return WE[t]}
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function XE (line 45) | function XE(t,e){var n=ip(e.get("padding")),i=e.getItemStyle(["color","o...
  function e (line 45) | function e(){return null!==t&&t.apply(this,arguments)||this}
  function h (line 45) | function h(h,c){var p,d=u[h],f=u[c],g=s[d],y=new dc(g,t,t.ecModel);if(i&...
  function e (line 45) | function e(){return null!==t&&t.apply(this,arguments)||this}
  function e (line 45) | function e(){return null!==t&&t.apply(this,arguments)||this}
  function ez (line 45) | function ez(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}
  function iz (line 45) | function iz(t,e){var n=t.split(new RegExp("\n*"+QE+"\n*","g")),i={series...
  function e (line 45) | function e(){return null!==t&&t.apply(this,arguments)||this}
  function _ (line 45) | function _(){n.removeChild(r),x._dom=null}
  function oz (line 45) | function oz(t,e){return z(t,(function(t,n){var i=e&&e[n];if(q(i)&&!Y(i))...
  function lz (line 45) | function lz(t){var e=sz(t);return e.snapshots||(e.snapshots=[{}]),e.snap...
  function e (line 45) | function e(){return null!==t&&t.apply(this,arguments)||this}
  function t (line 45) | function t(t,e,n){var i=this;this._targetInfoList=[];var r=dz(e,t);E(fz,...
  function pz (line 45) | function pz(t){return t[0]>t[1]&&t.reverse(),t}
  function dz (line 45) | function dz(t,e){return Io(t,e,{includeMainTypes:hz})}
  function mz (line 45) | function mz(t,e,n,i){var r=n.getAxis(["x","y"][t]),o=pz(z([0,1],(functio...
  function _z (line 45) | function _z(t,e,n,i){return[e[0]-i[t]*n[0],e[1]-i[t]*n[1]]}
  function bz (line 45) | function bz(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}
  function e (line 45) | function e(){return null!==t&&t.apply(this,arguments)||this}
  function r (line 45) | function r(t,e,r){var o=e.getAxis(t),a=o.model,s=function(t,e,n){var i;r...
  function Dz (line 45) | function Dz(t){var e={xAxisIndex:t.get("xAxisIndex",!0),yAxisIndex:t.get...
  function a (line 45) | function a(t,e,n){var o=t.componentIndex,a={type:"select",$fromToolbox:!...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function kz (line 45) | function kz(t){var e=t.get("confine");return null!=e?!!e:"richText"===t....
  function Lz (line 45) | function Lz(t){if(r.domSupported)for(var e=document.documentElement.styl...
  function Oz (line 45) | function Oz(t,e){if(!t)return e;e=np(e,!0);var n=t.indexOf(e);return(t=-...
  function zz (line 45) | function zz(t,e,n){var i=t.toFixed(0)+"px",o=e.toFixed(0)+"px";if(!r.tra...
  function Vz (line 45) | function Vz(t,e,n){var i=[],o=t.get("transitionDuration"),a=t.get("backg...
  function Bz (line 45) | function Bz(t,e,n,i,r){var o=e&&e.painter;if(n){var a=o&&o.getViewportRo...
  function t (line 45) | function t(t,e,n){if(this._show=!1,this._styleCoord=[0,0,0,0],this._ente...
  function t (line 45) | function t(t){this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!...
  function Wz (line 45) | function Wz(t){return Math.max(0,t)}
  function Hz (line 45) | function Hz(t){var e=Wz(t.shadowBlur||0),n=Wz(t.shadowOffsetX||0),i=Wz(t...
  function Yz (line 45) | function Yz(t,e,n,i){t[0]=n,t[1]=i,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.ge...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function Zz (line 45) | function Zz(t,e,n){var i,r=e.ecModel;n?(i=new dc(n,r,r),i=new dc(e.optio...
  function jz (line 45) | function jz(t,e){return t.dispatchAction||W(e.dispatchAction,e)}
  function qz (line 45) | function qz(t){return"center"===t||"middle"===t}
  function $z (line 45) | function $z(t,e){var n=ho(t?t.brush:[]);if(n.length){var i=[];E(n,(funct...
  function Qz (line 45) | function Qz(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}
  function tV (line 45) | function tV(t,e,n){var i={};return Jz(e,(function(e){var r,o=i[e]=((r=fu...
  function eV (line 45) | function eV(t,e,n){var i;E(n,(function(t){e.hasOwnProperty(t)&&Qz(e[t])&...
  function iV (line 45) | function iV(t){var e=["x","y"],n=["width","height"];return{point:functio...
  function rV (line 45) | function rV(t,e){return e[0]<=t&&t<=e[1]}
  function lV (line 45) | function lV(t){t.eachComponent({mainType:"brush"},(function(e){(e.brushT...
  function uV (line 45) | function uV(t,e,n){var i,r,o=[];t.eachComponent({mainType:"brush"},(func...
  function hV (line 45) | function hV(t,e){if(!t.isDisposed()){var n=t.getZr();n[sV]=!0,t.dispatch...
  function cV (line 45) | function cV(t,e,n,i){for(var r=0,o=e.length;r<o;r++){var a=e[r];if(t.bru...
  function dV (line 45) | function dV(t){return new sr(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function yV (line 45) | function yV(t,e){return C({brushType:t.brushType,brushMode:t.brushMode,t...
  function e (line 45) | function e(){return null!==t&&t.apply(this,arguments)||this}
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function e (line 45) | function e(e,n,i,r){var o=t.call(this,e,n,i)||this;return o.type=r||"val...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function g (line 45) | function g(t){t.originX=l[0][0]-t.x,t.originY=l[1][0]-t.y}
  function y (line 45) | function y(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}
  function v (line 45) | function v(t,e,n,i,r){t[i]+=n[i][r]-e[i][r]}
  function h (line 45) | function h(t,n,l,u){if(t){var h=gr(rt(i.get(["controlStyle",n+"BtnSize"]...
  function DV (line 45) | function DV(t,e,n,i,r,o){var a=e.get("color");r?(r.setColor(a),n.add(r),...
  function AV (line 45) | function AV(t,e,n,i,r,o){if(!t.dragging){var a=r.getModel("checkpointSty...
  function kV (line 45) | function kV(t){var e=t&&t.timeline;Y(e)||(e=e?[e]:[]),E(e,(function(t){t...
  function LV (line 45) | function LV(t){var e=t.itemStyle||(t.itemStyle={}),n=e.emphasis||(e.emph...
  function PV (line 45) | function PV(t,e){return t.hasOwnProperty(e)}
  function OV (line 45) | function OV(t,e){if(!t)return!1;for(var n=Y(t)?t:[t],i=0;i<n.length;i++)...
  function RV (line 45) | function RV(t){co(t,"label",["show"])}
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function VV (line 45) | function VV(t){return!(isNaN(parseFloat(t.x))&&isNaN(parseFloat(t.y)))}
  function BV (line 45) | function BV(t,e,n,i,r,o){var a=[],s=nx(e,i)?e.getCalculationInfo("stackR...
  function GV (line 45) | function GV(t,e){var n=t.getData(),i=t.coordinateSystem;if(e&&!function(...
  function WV (line 45) | function WV(t,e,n,i){var r={};return null!=t.valueIndex||null!=t.valueDi...
  function HV (line 45) | function HV(t,e){return!(t&&t.containData&&e.coord&&!VV(e))||t.containDa...
  function YV (line 45) | function YV(t,e){return t?function(t,n,i,r){return df(r<2?t.coord&&t.coo...
  function UV (line 45) | function UV(t,e,n){if("average"===n){var i=0,r=0;return t.each(e,(functi...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function jV (line 45) | function jV(t,e,n){var i=e.coordinateSystem;t.each((function(r){var o,a=...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function QV (line 45) | function QV(t){return!isNaN(t)&&!isFinite(t)}
  function tB (line 45) | function tB(t,e,n,i){var r=1-t,o=i.dimensions[t];return QV(e[r])&&QV(n[r...
  function eB (line 45) | function eB(t,e){if("cartesian2d"===t.type){var n=e[0].coord,i=e[1].coor...
  function nB (line 45) | function nB(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),l=...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function v (line 45) | function v(e,n,r){var o=e.getItemModel(n);nB(e,n,r,t,i);var s=o.getModel...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function sB (line 45) | function sB(t){return!isNaN(t)&&!isFinite(t)}
  function lB (line 45) | function lB(t,e,n,i){var r=1-t;return sB(e[r])&&sB(n[r])}
  function uB (line 45) | function uB(t,e){var n=e.coord[0],i=e.coord[1],r={coord:n,x:e.x0,y:e.y0}...
  function hB (line 45) | function hB(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),l=...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function s (line 45) | function s(t,e){"auto"===t.lineWidth&&(t.lineWidth=e.lineWidth>0?2:0),gB...
  function mB (line 45) | function mB(t,e,n,i){bB(t,e,n,i),n.dispatchAction({type:"legendToggleSel...
  function xB (line 45) | function xB(t){for(var e,n=t.getZr().storage.getDisplayList(),i=0,r=n.le...
  function _B (line 45) | function _B(t,e,n,i){xB(n)||n.dispatchAction({type:"highlight",seriesNam...
  function bB (line 45) | function bB(t,e,n,i){xB(n)||n.dispatchAction({type:"downplay",seriesName...
  function wB (line 45) | function wB(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&...
  function SB (line 45) | function SB(t,e,n){var i,r={},o="toggleSelected"===t;return n.eachCompon...
  function MB (line 45) | function MB(t){t.registerComponentModel(dB),t.registerComponentView(vB),...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function TB (line 45) | function TB(t,e,n){var i=[1,1];i[t.getOrient().index]=0,wp(e,n,{type:"bo...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function d (line 45) | function d(t,e){var i=t+"DataIndex",o=Ph(n.get("pageIcons",!0)[n.getOrie...
  function m (line 45) | function m(t){if(t){var e=t.getBoundingRect(),n=e[a]+t[a];return{s:n,e:n...
  function x (line 45) | function x(t,e){return t.e>=e&&t.s<=e+i}
  function LB (line 45) | function LB(t){wm(MB),t.registerComponentModel(IB),t.registerComponentVi...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function RB (line 45) | function RB(t,e,n){OB(t).coordSysRecordMap.each((function(t){var i=t.dat...
  function NB (line 45) | function NB(t,e){if(e){t.removeKey(e.model.uid);var n=e.controller;n&&n....
  function EB (line 45) | function EB(t,e){t.isDisposed()||t.dispatchAction({type:"dataZoom",anima...
  function zB (line 45) | function zB(t,e,n,i){return t.coordinateSystem.containPoint([n,i])}
  function VB (line 45) | function VB(t){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,(function...
  function e (line 45) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type...
  function GB (line 45) | function GB(t){return function(e,n,i,r){var o=this.range,a=o.slice(),s=e...
  function HB (line 45) | function HB(t){BE(t),t.registerComponentModel(PB),t.registerComponentVie...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function b (line 45) | function b(t){var e=m.getModel(t?"selectedDataBackground":"dataBackgroun...
  function c (line 45) | function c(t){var e=Ih(n.handles[t].parent,this.group),a=Ch(0===t?"right...
  function $B (line 45) | function $B(t){return"vertical"===t?"ns-resize":"ew-resize"}
  function JB (line 45) | function JB(t){t.registerComponentModel(YB),t.registerComponentView(KB),...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function u (line 45) | function u(t){return t===a[0]?"min":t===a[1]?"max":(+t).toFixed(Math.min...
  function a (line 45) | function a(n){iF(e.color)&&!n.inRange&&(n.inRange={color:e.color.slice()...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function r (line 45) | function r(e,n){i.push({value:e,color:t(e,n)})}
  function hF (line 45) | function hF(t,e,n){if(n[0]===n[1])return n.slice();for(var i=(n[1]-n[0])...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function s (line 45) | function s(t){return o[t]}
  function l (line 45) | function l(t,e){o[t]=e}
  function dF (line 45) | function dF(t,e,n){var i=t.option,r=i.align;if(null!=r&&"auto"!==r)retur...
  function fF (line 45) | function fF(t,e){return E(t||[],(function(t){null!=t.dataIndex&&(t.dataI...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function r (line 45) | function r(t,e,n){for(var i=0,r=t.length;i<r;i++){var o=xo(t[i].seriesId...
  function o (line 45) | function o(t,e){var n=[];for(var i in t)if(t.hasOwnProperty(i)&&null!=t[...
  function _F (line 45) | function _F(t,e,n,i){return new Pu({shape:{points:t},draggable:!!n,curso...
  function bF (line 45) | function bF(t){var e=t.get("hoverLinkOnHandle");return!!(null==e?t.get("...
  function wF (line 45) | function wF(t){return"vertical"===t?"ns-resize":"ew-resize"}
  function l (line 45) | function l(t){return fy(e,i,t)}
  function u (line 45) | function u(t,n){yy(e,i,t,n)}
  function TF (line 45) | function TF(t,e,n,i){for(var r=e.targetVisuals[i],o=iD.prepareVisualType...
  function DF (line 45) | function DF(t){var e=t&&t.visualMap;Y(e)||(e=e?[e]:[]),CF(e,(function(t)...
  function AF (line 45) | function AF(t,e){return t&&t.hasOwnProperty&&t.hasOwnProperty(e)}
  function LF (line 45) | function LF(t){kF||(kF=!0,t.registerSubTypeDefaulter("visualMap",(functi...
  function PF (line 45) | function PF(t){t.registerComponentModel(uF),t.registerComponentView(xF),...
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function o (line 45) | function o(t,e,n){return t&&t[e]&&t[e].hasOwnProperty(n)}
  function s (line 45) | function s(r,o){var a=i.getRepresentValue({interval:r});o||(o=i.getValue...
  function NF (line 45) | function NF(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}
  function e (line 45) | function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type...
  function zF (line 45) | function zF(t){t.registerComponentModel(OF),t.registerComponentView(EF),...
  function GF (line 45) | function GF(t,e){var n=t.getModel("aria");if(n.get("enabled")){var i=T(V...
  function WF (line 45) | function WF(t){if(t&&t.aria){var e=t.aria;null!=e.show&&(e.enabled=e.sho...
  function t (line 45) | function t(t){if(null==(this._condVal=X(t)?new RegExp(t):et(t)?t:null)){...
  function t (line 45) | function t(){}
  function t (line 45) | function t(){}
  function t (line 45) | function t(){}
  function t (line 45) | function t(){}
  function t (line 45) | function t(){}
  function KF (line 45) | function KF(t,e){if(!0===t||!1===t){var n=new UF;return n.value=t,n}var ...
  function $F (line 45) | function $F(t,e,n){var i=e[t],r="";Y(i)||ao(r),i.length||ao(r);var o="an...
  function JF (line 45) | function JF(t){return q(t)&&!N(t)}
  function t (line 45) | function t(t,e){this._cond=KF(t,e)}
  function e (line 45) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type...
  function e (line 45) | function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type...
  function oG (line 45) | function oG(t,e){return Math.abs(t-e)<1e-5}
  function aG (line 45) | function aG(t){var e,n,i,r,o,a=t.data,s=t.len(),l=[],u=0,h=0,c=0,p=0;fun...
  function sG (line 45) | function sG(t,e,n,i,r,o,a,s,l,u){if(oG(t,n)&&oG(e,i)&&oG(r,a)&&oG(o,s))l...
  function lG (line 45) | function lG(t,e,n){var i=t[e],r=t[1-e],o=Math.abs(i/r),a=Math.ceil(Math....
  function uG (line 45) | function uG(t,e,n){for(var i=t.r0,r=t.r,o=t.startAngle,a=t.endAngle,s=Ma...
  function hG (line 45) | function hG(t,e,n,i){return t*i-n*e}
  function cG (line 45) | function cG(t,e,n,i,r,o,a,s){var l=n-t,u=i-e,h=a-r,c=s-o,p=hG(h,c,l,u);i...
  function pG (line 45) | function pG(t,e,n){var i=new Ji;Ji.sub(i,n,e),i.normalize();var r=new Ji...
  function dG (line 45) | function dG(t,e){var n=t[t.length-1];n&&n[0]===e[0]&&n[1]===e[1]||t.push...
  function fG (line 45) | function fG(t){var e=t.points,n=[],i=[];Ma(e,n,i);var r=new sr(n[0],n[1]...
  function gG (line 45) | function gG(t,e,n,i){if(1===n)i.push(e);else{var r=Math.floor(n/2),o=t(e...
  function yG (line 45) | function yG(t,e){e.setStyle(t.style),e.z=t.z,e.z2=t.z2,e.zlevel=t.zlevel}
  function vG (line 45) | function vG(t,e){var n,i=[],r=t.shape;switch(t.type){case"rect":!functio...
  function mG (line 45) | function mG(t,e){var n=t.length,i=e.length;if(n===i)return[t,e];for(var ...
  function xG (line 45) | function xG(t,e){for(var n=t.length,i=t[n-2],r=t[n-1],o=[],a=0;a<e.lengt...
  function _G (line 45) | function _G(t){for(var e=0,n=0,i=0,r=t.length,o=0,a=r-2;o<r;a=o,o+=2){va...
  function bG (line 45) | function bG(t,e,n,i){for(var r=(t.length-2)/6,o=1/0,a=0,s=t.length,l=s-2...
  function wG (line 45) | function wG(t){for(var e=[],n=t.length,i=0;i<n;i+=2)e[i]=t[n-i-2],e[i+1]...
  function SG (line 45) | function SG(t){return t.__isCombineMorphing}
  function IG (line 45) | function IG(t,e,n){var i=MG+e,r=t[i]||t[e];t[i]||(t[i]=t[e]);var o=n.rep...
  function TG (line 45) | function TG(t,e){var n=MG+e;t[n]&&(t[e]=t[n],t[n]=null)}
  function CG (line 45) | function CG(t,e){for(var n=0;n<t.length;n++)for(var i=t[n],r=0;r<i.lengt...
  function DG (line 45) | function DG(t,e){var n=t.getUpdatedPathProxy(),i=e.getUpdatedPathProxy()...
  function AG (line 45) | function AG(t,e,n){if(!t||!e)return e;var i=n.done,r=n.during;return DG(...
  function kG (line 45) | function kG(t,e,n,i,r,o){t=r===n?0:Math.round(32767*(t-n)/(r-n)),e=o===i...
  function LG (line 45) | function LG(t){var e=1/0,n=1/0,i=-1/0,r=-1/0,o=z(t,(function(t){var o=t....
  function PG (line 45) | function PG(t){return vG(t.path,t.count)}
  function OG (line 45) | function OG(t){return Y(t[0])}
  function RG (line 45) | function RG(t,e){for(var n=[],i=t.length,r=0;r<i;r++)n.push({one:t[r],ma...
  function EG (line 45) | function EG(t,e,n,i,r,o){if(t.length&&e.length){var a=nh("update",i,r);i...
  function zG (line 45) | function zG(t){if(!t)return[];if(Y(t)){for(var e=[],n=0;n<t.length;n++)e...
  function BG (line 45) | function BG(t){var e=[];return E(t,(function(t){var n=t.data;if(!(n.coun...
  function FG (line 45) | function FG(t,e,n){t.traverse((function(t){t instanceof gs&&oh(t,{style:...
  function GG (line 45) | function GG(t){if(t.parent){var e=t.getComputedTransform();t.setLocalTra...
  function WG (line 45) | function WG(t){t.stopAnimation(),t.isGroup&&t.traverse((function(t){t.st...
  function HG (line 45) | function HG(t,e,n){var i=nh("update",n,e);i&&t.traverse((function(t){if(...
  function YG (line 45) | function YG(t,e,n){var i=BG(t),r=BG(e);function o(t,e,n,i,r){(n||t)&&e.a...
  function UG (line 45) | function UG(t){var e=t.getModel("universalTransition").get("seriesKey");...
  function XG (line 45) | function XG(t){return Y(t)?t.sort().join(","):t}
  function ZG (line 45) | function ZG(t){if(t.hostModel)return t.hostModel.getModel("universalTran...
  function jG (line 45) | function jG(t,e){for(var n=0;n<t.length;n++){if(null!=e.seriesIndex&&e.s...

FILE: ec-canvas/wx-canvas.js
  class WxCanvas (line 1) | class WxCanvas {
    method constructor (line 2) | constructor(ctx, canvasId, isNew, canvasNode) {
    method getContext (line 19) | getContext(contextType) {
    method setChart (line 32) | setChart(chart) {
    method addEventListener (line 36) | addEventListener() {
    method attachEvent (line 40) | attachEvent() {
    method detachEvent (line 44) | detachEvent() {
    method _initCanvas (line 48) | _initCanvas(zrender, ctx) {
    method _initStyle (line 59) | _initStyle(ctx) {
    method _initEvent (line 65) | _initEvent() {
    method width (line 94) | set width(w) {
    method height (line 97) | set height(h) {
    method width (line 101) | get width() {
    method height (line 106) | get height() {

FILE: pages/bar/index.js
  function initChart (line 5) | function initChart(canvas, width, height, dpr) {
  method onReady (line 131) | onReady() {

FILE: pages/boxplot/index.js
  function initChart (line 5) | function initChart(canvas, width, height, dpr) {
  method onReady (line 189) | onReady() {

FILE: pages/funnel/index.js
  function initChart (line 5) | function initChart(canvas, width, height, dpr) {
  method onReady (line 121) | onReady() {

FILE: pages/gauge/index.js
  function initChart (line 5) | function initChart(canvas, width, height, dpr) {
  method onReady (line 52) | onReady() {

FILE: pages/graph/index.js
  function initChart (line 5) | function initChart(canvas, width, height, dpr) {
  method onReady (line 139) | onReady() {

FILE: pages/heatmap/index.js
  function initChart (line 5) | function initChart(canvas, width, height, dpr) {
  method onReady (line 101) | onReady() {

FILE: pages/index/index.js
  method onReady (line 86) | onReady() {

FILE: pages/k/index.js
  function initChart (line 5) | function initChart(canvas, width, height, dpr) {
  method onReady (line 62) | onReady() {

FILE: pages/lazyLoad/index.js
  function setOption (line 5) | function setOption(chart) {

FILE: pages/line/index.js
  function initChart (line 5) | function initChart(canvas, width, height, dpr) {
  method onReady (line 85) | onReady() {

FILE: pages/loadImage/index.js
  function initChart (line 5) | function initChart(canvas, width, height, dpr) {
  method onReady (line 83) | onReady() {

FILE: pages/map/index.js
  function initChart (line 6) | function initChart(canvas, width, height, dpr) {
  method onReady (line 113) | onReady() {

FILE: pages/measureText/index.js
  method onReady (line 8) | onReady() {

FILE: pages/move/index.js
  method onReady (line 32) | onReady() {
  function getBarOption (line 36) | function getBarOption() {

FILE: pages/multiCharts/index.js
  method onReady (line 42) | onReady() {
  function getBarOption (line 47) | function getBarOption() {
  function getScatterOption (line 132) | function getScatterOption() {

FILE: pages/parallel/index.js
  function initChart (line 5) | function initChart(canvas, width, height, dpr) {
  method onReady (line 77) | onReady() {

FILE: pages/pie/index.js
  function initChart (line 5) | function initChart(canvas, width, height, dpr) {
  method onReady (line 62) | onReady() {

FILE: pages/radar/index.js
  function initChart (line 5) | function initChart(canvas, width, height, dpr) {
  method onReady (line 83) | onReady() {

FILE: pages/sankey/index.js
  function initChart (line 5) | function initChart(canvas, width, height, dpr) {
  method onReady (line 105) | onReady() {

FILE: pages/saveCanvas/index.js
  function initChart (line 5) | function initChart(canvas, width, height, dpr) {
  method onReady (line 130) | onReady() {
  method save (line 137) | save() {

FILE: pages/scatter/index.js
  function initChart (line 5) | function initChart(canvas, width, height, dpr) {
  method onReady (line 108) | onReady() {

FILE: pages/sunburst/index.js
  function initChart (line 5) | function initChart(canvas, width, height, dpr) {
  method onReady (line 147) | onReady() {

FILE: pages/themeRiver/index.js
  function initChart (line 5) | function initChart(canvas, width, height, dpr) {
  method onReady (line 125) | onReady() {

FILE: pages/tree/index.js
  function initChart (line 5) | function initChart(canvas, width, height, dpr) {
  method onReady (line 98) | onReady() {

FILE: pages/treemap/index.js
  function initChart (line 5) | function initChart(canvas, width, height, dpr) {
  method onReady (line 181) | onReady() { }
Condensed preview — 116 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (1,169K chars).
[
  {
    "path": ".gitignore",
    "chars": 29,
    "preview": "project.private.config.json\n\n"
  },
  {
    "path": "ISSUE_TEMPLATE.md",
    "chars": 408,
    "preview": "## 提问前应该做的事\n\n请确保提问前做了以下事,将完成的项目的 `[]` 改为 `[x]`:\n\n- [] 我已通读过 [README](https://github.com/ecomfe/echarts-for-weixin/blob/m"
  },
  {
    "path": "LICENSE",
    "chars": 1510,
    "preview": "BSD 3-Clause License\n\nCopyright (c) 2020, Baidu Inc.\nAll rights reserved.\n\nRedistribution and use in source and binary f"
  },
  {
    "path": "README.md",
    "chars": 4693,
    "preview": "# 在微信小程序中使用 Apache ECharts\n\n本项目是基于 [Apache ECharts](https://github.com/apache/echarts) 的微信小程序图表库,以及使用的示例。\n\n开发者可以通过熟悉的 EC"
  },
  {
    "path": "app.js",
    "chars": 913,
    "preview": "//app.js\nApp({\n  onLaunch: function () {\n    // 展示本地存储能力\n    var logs = wx.getStorageSync('logs') || []\n    logs.unshift"
  },
  {
    "path": "app.json",
    "chars": 927,
    "preview": "{\n  \"pages\": [\n    \"pages/index/index\",\n    \"pages/bar/index\",\n    \"pages/measureText/index\",\n    \"pages/line/index\",\n  "
  },
  {
    "path": "app.wxss",
    "chars": 226,
    "preview": "/**app.wxss**/\n.container {\n  position: absolute;\n  top: 0;\n  bottom: 0;\n  left: 0;\n  right: 0;\n\n  display: flex;\n  flex"
  },
  {
    "path": "ec-canvas/ec-canvas.js",
    "chars": 8193,
    "preview": "import WxCanvas from './wx-canvas';\nimport * as echarts from './echarts';\n\nlet ctx;\n\nfunction compareVersion(v1, v2) {\n "
  },
  {
    "path": "ec-canvas/ec-canvas.json",
    "chars": 48,
    "preview": "{\n  \"component\": true,\n  \"usingComponents\": {}\n}"
  },
  {
    "path": "ec-canvas/ec-canvas.wxml",
    "chars": 577,
    "preview": "<!-- 新的:接口对其了H5 -->\n<canvas wx:if=\"{{isUseNewCanvas}}\" type=\"2d\" class=\"ec-canvas\" canvas-id=\"{{ canvasId }}\" bindinit=\""
  },
  {
    "path": "ec-canvas/ec-canvas.wxss",
    "chars": 46,
    "preview": ".ec-canvas {\n  width: 100%;\n  height: 100%;\n}\n"
  },
  {
    "path": "ec-canvas/echarts.js",
    "chars": 1016813,
    "preview": "\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements.  See the NOTI"
  },
  {
    "path": "ec-canvas/wx-canvas.js",
    "chars": 2241,
    "preview": "export default class WxCanvas {\n  constructor(ctx, canvasId, isNew, canvasNode) {\n    this.ctx = ctx;\n    this.canvasId "
  },
  {
    "path": "pages/bar/index.js",
    "chars": 2580,
    "preview": "import * as echarts from '../../ec-canvas/echarts';\n\nlet chart = null;\n\nfunction initChart(canvas, width, height, dpr) {"
  },
  {
    "path": "pages/bar/index.json",
    "chars": 76,
    "preview": "{\n  \"usingComponents\": {\n    \"ec-canvas\": \"../../ec-canvas/ec-canvas\"\n  }\n}\n"
  },
  {
    "path": "pages/bar/index.wxml",
    "chars": 136,
    "preview": "<!--index.wxml-->\n<view class=\"container\">\n  <ec-canvas id=\"mychart-dom-bar\" canvas-id=\"mychart-bar\" ec=\"{{ ec }}\"></ec-"
  },
  {
    "path": "pages/bar/index.wxss",
    "chars": 62,
    "preview": "/**index.wxss**/\nec-canvas {\n  width: 100%;\n  height: 100%;\n}\n"
  },
  {
    "path": "pages/boxplot/index.js",
    "chars": 3688,
    "preview": "import * as echarts from '../../ec-canvas/echarts';\n\nconst app = getApp();\n\nfunction initChart(canvas, width, height, dp"
  },
  {
    "path": "pages/boxplot/index.json",
    "chars": 76,
    "preview": "{\n  \"usingComponents\": {\n    \"ec-canvas\": \"../../ec-canvas/ec-canvas\"\n  }\n}\n"
  },
  {
    "path": "pages/boxplot/index.wxml",
    "chars": 136,
    "preview": "<!--index.wxml-->\n<view class=\"container\">\n  <ec-canvas id=\"mychart-dom-pie\" canvas-id=\"mychart-pie\" ec=\"{{ ec }}\"></ec-"
  },
  {
    "path": "pages/boxplot/index.wxss",
    "chars": 62,
    "preview": "/**index.wxss**/\nec-canvas {\n  width: 100%;\n  height: 100%;\n}\n"
  },
  {
    "path": "pages/funnel/index.js",
    "chars": 2529,
    "preview": "import * as echarts from '../../ec-canvas/echarts';\n\nconst app = getApp();\n\nfunction initChart(canvas, width, height, dp"
  },
  {
    "path": "pages/funnel/index.json",
    "chars": 76,
    "preview": "{\n  \"usingComponents\": {\n    \"ec-canvas\": \"../../ec-canvas/ec-canvas\"\n  }\n}\n"
  },
  {
    "path": "pages/funnel/index.wxml",
    "chars": 142,
    "preview": "<!--index.wxml-->\n<view class=\"container\">\n  <ec-canvas id=\"mychart-dom-funnel\" canvas-id=\"mychart-funnel\" ec=\"{{ ec }}\""
  },
  {
    "path": "pages/funnel/index.wxss",
    "chars": 62,
    "preview": "/**index.wxss**/\nec-canvas {\n  width: 100%;\n  height: 100%;\n}\n"
  },
  {
    "path": "pages/gauge/index.js",
    "chars": 890,
    "preview": "import * as echarts from '../../ec-canvas/echarts';\n\nconst app = getApp();\n\nfunction initChart(canvas, width, height, dp"
  },
  {
    "path": "pages/gauge/index.json",
    "chars": 76,
    "preview": "{\n  \"usingComponents\": {\n    \"ec-canvas\": \"../../ec-canvas/ec-canvas\"\n  }\n}\n"
  },
  {
    "path": "pages/gauge/index.wxml",
    "chars": 140,
    "preview": "<!--index.wxml-->\n<view class=\"container\">\n  <ec-canvas id=\"mychart-dom-gauge\" canvas-id=\"mychart-gauge\" ec=\"{{ ec }}\"><"
  },
  {
    "path": "pages/gauge/index.wxss",
    "chars": 62,
    "preview": "/**index.wxss**/\nec-canvas {\n  width: 100%;\n  height: 100%;\n}\n"
  },
  {
    "path": "pages/graph/index.js",
    "chars": 2698,
    "preview": "import * as echarts from '../../ec-canvas/echarts';\n\nconst app = getApp();\n\nfunction initChart(canvas, width, height, dp"
  },
  {
    "path": "pages/graph/index.json",
    "chars": 76,
    "preview": "{\n  \"usingComponents\": {\n    \"ec-canvas\": \"../../ec-canvas/ec-canvas\"\n  }\n}\n"
  },
  {
    "path": "pages/graph/index.wxml",
    "chars": 136,
    "preview": "<!--index.wxml-->\n<view class=\"container\">\n  <ec-canvas id=\"mychart-dom-pie\" canvas-id=\"mychart-pie\" ec=\"{{ ec }}\"></ec-"
  },
  {
    "path": "pages/graph/index.wxss",
    "chars": 62,
    "preview": "/**index.wxss**/\nec-canvas {\n  width: 100%;\n  height: 100%;\n}\n"
  },
  {
    "path": "pages/heatmap/index.js",
    "chars": 2210,
    "preview": "import * as echarts from '../../ec-canvas/echarts';\n\nconst app = getApp();\n\nfunction initChart(canvas, width, height, dp"
  },
  {
    "path": "pages/heatmap/index.json",
    "chars": 76,
    "preview": "{\n  \"usingComponents\": {\n    \"ec-canvas\": \"../../ec-canvas/ec-canvas\"\n  }\n}\n"
  },
  {
    "path": "pages/heatmap/index.wxml",
    "chars": 138,
    "preview": "<!--index.wxml-->\n<view class=\"container\">\n  <ec-canvas id=\"mychart-dom-area\" canvas-id=\"mychart-area\" ec=\"{{ ec }}\"></e"
  },
  {
    "path": "pages/heatmap/index.wxss",
    "chars": 62,
    "preview": "/**index.wxss**/\nec-canvas {\n  width: 100%;\n  height: 100%;\n}\n"
  },
  {
    "path": "pages/index/index.js",
    "chars": 1523,
    "preview": "const app = getApp();\n\nPage({\n  onShareAppMessage: function (res) {\n    return {\n      title: 'ECharts 可以在微信小程序中使用啦!',\n "
  },
  {
    "path": "pages/index/index.json",
    "chars": 4,
    "preview": "{\n}\n"
  },
  {
    "path": "pages/index/index.wxml",
    "chars": 456,
    "preview": "<!-- index.wxml -->\n<view class=\"panel\">\n  <view class=\"chart-with-img\" wx:for=\"{{charts}}\" wx:for-item=\"chart\" wx:key=\""
  },
  {
    "path": "pages/index/index.wxss",
    "chars": 536,
    "preview": ".panel {\n  display: block;\n  margin-top: 10px;\n}\n\n.panel .chart-with-img {\n  display: inline-block;\n  width: 25%;\n  marg"
  },
  {
    "path": "pages/k/index.js",
    "chars": 1188,
    "preview": "import * as echarts from '../../ec-canvas/echarts';\n\nconst app = getApp();\n\nfunction initChart(canvas, width, height, dp"
  },
  {
    "path": "pages/k/index.json",
    "chars": 76,
    "preview": "{\n  \"usingComponents\": {\n    \"ec-canvas\": \"../../ec-canvas/ec-canvas\"\n  }\n}\n"
  },
  {
    "path": "pages/k/index.wxml",
    "chars": 138,
    "preview": "<!--index.wxml-->\n<view class=\"container\">\n  <ec-canvas id=\"mychart-dom-area\" canvas-id=\"mychart-area\" ec=\"{{ ec }}\"></e"
  },
  {
    "path": "pages/k/index.wxss",
    "chars": 62,
    "preview": "/**index.wxss**/\nec-canvas {\n  width: 100%;\n  height: 100%;\n}\n"
  },
  {
    "path": "pages/lazyLoad/index.js",
    "chars": 3145,
    "preview": "import * as echarts from '../../ec-canvas/echarts';\n\nconst app = getApp();\n\nfunction setOption(chart) {\n  const option ="
  },
  {
    "path": "pages/lazyLoad/index.json",
    "chars": 76,
    "preview": "{\n  \"usingComponents\": {\n    \"ec-canvas\": \"../../ec-canvas/ec-canvas\"\n  }\n}\n"
  },
  {
    "path": "pages/lazyLoad/index.wxml",
    "chars": 299,
    "preview": "<!--index.wxml-->\n<view class=\"container\">\n  <button bindtap=\"init\" wx:if=\"{{!isLoaded}}\">加载图表</button>\n  <button bindta"
  },
  {
    "path": "pages/lazyLoad/index.wxss",
    "chars": 130,
    "preview": "/**index.wxss**/\nec-canvas {\n  position: absolute;\n  top: 80px;\n  bottom: 0;\n  left: 0;\n  right: 0;\n}\n\nbutton {\n  margin"
  },
  {
    "path": "pages/line/index.js",
    "chars": 1580,
    "preview": "import * as echarts from '../../ec-canvas/echarts';\n\nconst app = getApp();\n\nfunction initChart(canvas, width, height, dp"
  },
  {
    "path": "pages/line/index.json",
    "chars": 76,
    "preview": "{\n  \"usingComponents\": {\n    \"ec-canvas\": \"../../ec-canvas/ec-canvas\"\n  }\n}\n"
  },
  {
    "path": "pages/line/index.wxml",
    "chars": 138,
    "preview": "<!--index.wxml-->\n<view class=\"container\">\n  <ec-canvas id=\"mychart-dom-line\" canvas-id=\"mychart-line\" ec=\"{{ ec }}\"></e"
  },
  {
    "path": "pages/line/index.wxss",
    "chars": 62,
    "preview": "/**index.wxss**/\nec-canvas {\n  width: 100%;\n  height: 100%;\n}\n"
  },
  {
    "path": "pages/loadImage/index.js",
    "chars": 1698,
    "preview": "import * as echarts from '../../ec-canvas/echarts';\n\nconst app = getApp();\n\nfunction initChart(canvas, width, height, dp"
  },
  {
    "path": "pages/loadImage/index.json",
    "chars": 76,
    "preview": "{\n  \"usingComponents\": {\n    \"ec-canvas\": \"../../ec-canvas/ec-canvas\"\n  }\n}\n"
  },
  {
    "path": "pages/loadImage/index.wxml",
    "chars": 150,
    "preview": "<!--index.wxml-->\n<view class=\"container\">\n  <ec-canvas id=\"mychart-dom-load-image\" canvas-id=\"mychart-load-image\" ec=\"{"
  },
  {
    "path": "pages/loadImage/index.wxss",
    "chars": 62,
    "preview": "/**index.wxss**/\nec-canvas {\n  width: 100%;\n  height: 100%;\n}\n"
  },
  {
    "path": "pages/map/index.js",
    "chars": 2325,
    "preview": "import * as echarts from '../../ec-canvas/echarts';\nimport geoJson from './mapData.js';\n\nconst app = getApp();\n\nfunction"
  },
  {
    "path": "pages/map/index.json",
    "chars": 76,
    "preview": "{\n  \"usingComponents\": {\n    \"ec-canvas\": \"../../ec-canvas/ec-canvas\"\n  }\n}\n"
  },
  {
    "path": "pages/map/index.wxml",
    "chars": 138,
    "preview": "<!--index.wxml-->\n<view class=\"container\">\n  <ec-canvas id=\"mychart-dom-area\" canvas-id=\"mychart-area\" ec=\"{{ ec }}\"></e"
  },
  {
    "path": "pages/map/index.wxss",
    "chars": 62,
    "preview": "/**index.wxss**/\nec-canvas {\n  width: 100%;\n  height: 100%;\n}\n"
  },
  {
    "path": "pages/map/mapData.js",
    "chars": 36254,
    "preview": "module.exports = { \"type\": \"FeatureCollection\", \"features\": [{ \"id\": \"410100\", \"type\": \"Feature\", \"geometry\": { \"type\": "
  },
  {
    "path": "pages/measureText/index.js",
    "chars": 244,
    "preview": "const app = getApp();\n\nPage({\n  data: {\n    value: null\n  },\n\n  onReady() {\n    var ctx = wx.createCanvasContext('measur"
  },
  {
    "path": "pages/measureText/index.json",
    "chars": 4,
    "preview": "{\n}\n"
  },
  {
    "path": "pages/measureText/index.wxml",
    "chars": 132,
    "preview": "<!--index.wxml-->\n<view class=\"container\">\n  measureText: {{ value }} \n  <canvas canvas-id=\"measure\" id=\"measure\"></canv"
  },
  {
    "path": "pages/measureText/index.wxss",
    "chars": 62,
    "preview": "/**index.wxss**/\n#measure {\n  width: 100%;\n  height: 500px;\n}\n"
  },
  {
    "path": "pages/move/index.js",
    "chars": 2322,
    "preview": "import * as echarts from '../../ec-canvas/echarts';\n\nPage({\n  onShareAppMessage: function (res) {\n    return {\n      tit"
  },
  {
    "path": "pages/move/index.json",
    "chars": 76,
    "preview": "{\n  \"usingComponents\": {\n    \"ec-canvas\": \"../../ec-canvas/ec-canvas\"\n  }\n}\n"
  },
  {
    "path": "pages/move/index.wxml",
    "chars": 868,
    "preview": "<!--index.wxml-->\n<view class=\"move-container\">\n  <ec-canvas id=\"mychart-dom-move-bar\" canvas-id=\"mychart-move-bar\" ec=\""
  },
  {
    "path": "pages/move/index.wxss",
    "chars": 287,
    "preview": ".move-container {\n  width: 100%;\n  min-height: 500px;\n}\n\n#mychart-dom-move-bar {\n  width: 70%;\n  height: 300px;\n  margin"
  },
  {
    "path": "pages/multiCharts/index.js",
    "chars": 3879,
    "preview": "import * as echarts from '../../ec-canvas/echarts';\n\nPage({\n  onShareAppMessage: function (res) {\n    return {\n      tit"
  },
  {
    "path": "pages/multiCharts/index.json",
    "chars": 76,
    "preview": "{\n  \"usingComponents\": {\n    \"ec-canvas\": \"../../ec-canvas/ec-canvas\"\n  }\n}\n"
  },
  {
    "path": "pages/multiCharts/index.wxml",
    "chars": 263,
    "preview": "<!--index.wxml-->\n<view class=\"container\">\n  <ec-canvas id=\"mychart-dom-multi-bar\" canvas-id=\"mychart-multi-bar\" ec=\"{{ "
  },
  {
    "path": "pages/multiCharts/index.wxss",
    "chars": 199,
    "preview": "#mychart-dom-multi-bar {\n  position: absolute;\n  top: 0;\n  bottom: 50%;\n  left: 0;\n  right: 0;\n}\n\n#mychart-dom-multi-sca"
  },
  {
    "path": "pages/parallel/index.js",
    "chars": 1456,
    "preview": "import * as echarts from '../../ec-canvas/echarts';\n\nconst app = getApp();\n\nfunction initChart(canvas, width, height, dp"
  },
  {
    "path": "pages/parallel/index.json",
    "chars": 76,
    "preview": "{\n  \"usingComponents\": {\n    \"ec-canvas\": \"../../ec-canvas/ec-canvas\"\n  }\n}\n"
  },
  {
    "path": "pages/parallel/index.wxml",
    "chars": 136,
    "preview": "<!--index.wxml-->\n<view class=\"container\">\n  <ec-canvas id=\"mychart-dom-pie\" canvas-id=\"mychart-pie\" ec=\"{{ ec }}\"></ec-"
  },
  {
    "path": "pages/parallel/index.wxss",
    "chars": 62,
    "preview": "/**index.wxss**/\nec-canvas {\n  width: 100%;\n  height: 100%;\n}\n"
  },
  {
    "path": "pages/pie/index.js",
    "chars": 1088,
    "preview": "import * as echarts from '../../ec-canvas/echarts';\n\nconst app = getApp();\n\nfunction initChart(canvas, width, height, dp"
  },
  {
    "path": "pages/pie/index.json",
    "chars": 76,
    "preview": "{\n  \"usingComponents\": {\n    \"ec-canvas\": \"../../ec-canvas/ec-canvas\"\n  }\n}\n"
  },
  {
    "path": "pages/pie/index.wxml",
    "chars": 136,
    "preview": "<!--index.wxml-->\n<view class=\"container\">\n  <ec-canvas id=\"mychart-dom-pie\" canvas-id=\"mychart-pie\" ec=\"{{ ec }}\"></ec-"
  },
  {
    "path": "pages/pie/index.wxss",
    "chars": 62,
    "preview": "/**index.wxss**/\nec-canvas {\n  width: 100%;\n  height: 100%;\n}\n"
  },
  {
    "path": "pages/radar/index.js",
    "chars": 1366,
    "preview": "import * as echarts from '../../ec-canvas/echarts';\n\nconst app = getApp();\n\nfunction initChart(canvas, width, height, dp"
  },
  {
    "path": "pages/radar/index.json",
    "chars": 76,
    "preview": "{\n  \"usingComponents\": {\n    \"ec-canvas\": \"../../ec-canvas/ec-canvas\"\n  }\n}\n"
  },
  {
    "path": "pages/radar/index.wxml",
    "chars": 140,
    "preview": "<!--index.wxml-->\n<view class=\"container\">\n  <ec-canvas id=\"mychart-dom-graph\" canvas-id=\"mychart-graph\" ec=\"{{ ec }}\"><"
  },
  {
    "path": "pages/radar/index.wxss",
    "chars": 62,
    "preview": "/**index.wxss**/\nec-canvas {\n  width: 100%;\n  height: 100%;\n}\n"
  },
  {
    "path": "pages/sankey/index.js",
    "chars": 1792,
    "preview": "import * as echarts from '../../ec-canvas/echarts';\n\nconst app = getApp();\n\nfunction initChart(canvas, width, height, dp"
  },
  {
    "path": "pages/sankey/index.json",
    "chars": 76,
    "preview": "{\n  \"usingComponents\": {\n    \"ec-canvas\": \"../../ec-canvas/ec-canvas\"\n  }\n}\n"
  },
  {
    "path": "pages/sankey/index.wxml",
    "chars": 139,
    "preview": "<!--index.wxml-->\n<view class=\"container\">\n  <ec-canvas id=\"mychart-dom-sankey\" canvas-id=\"mychart-pie\" ec=\"{{ ec }}\"></"
  },
  {
    "path": "pages/sankey/index.wxss",
    "chars": 62,
    "preview": "/**index.wxss**/\nec-canvas {\n  width: 100%;\n  height: 100%;\n}\n"
  },
  {
    "path": "pages/saveCanvas/index.js",
    "chars": 3115,
    "preview": "import * as echarts from '../../ec-canvas/echarts';\n\nlet chart = null;\n\nfunction initChart(canvas, width, height, dpr) {"
  },
  {
    "path": "pages/saveCanvas/index.json",
    "chars": 76,
    "preview": "{\n  \"usingComponents\": {\n    \"ec-canvas\": \"../../ec-canvas/ec-canvas\"\n  }\n}\n"
  },
  {
    "path": "pages/saveCanvas/index.wxml",
    "chars": 138,
    "preview": "<!--index.wxml-->\n<view class=\"container\">\n  <ec-canvas id=\"mychart-dom-save\" canvas-id=\"mychart-save\" ec=\"{{ ec }}\"></e"
  },
  {
    "path": "pages/saveCanvas/index.wxss",
    "chars": 62,
    "preview": "/**index.wxss**/\nec-canvas {\n  width: 100%;\n  height: 100%;\n}\n"
  },
  {
    "path": "pages/scatter/index.js",
    "chars": 1866,
    "preview": "import * as echarts from '../../ec-canvas/echarts';\n\nconst app = getApp();\n\nfunction initChart(canvas, width, height, dp"
  },
  {
    "path": "pages/scatter/index.json",
    "chars": 76,
    "preview": "{\n  \"usingComponents\": {\n    \"ec-canvas\": \"../../ec-canvas/ec-canvas\"\n  }\n}\n"
  },
  {
    "path": "pages/scatter/index.wxml",
    "chars": 144,
    "preview": "<!--index.wxml-->\n<view class=\"container\">\n  <ec-canvas id=\"mychart-dom-scatter\" canvas-id=\"mychart-scatter\" ec=\"{{ ec }"
  },
  {
    "path": "pages/scatter/index.wxss",
    "chars": 62,
    "preview": "/**index.wxss**/\nec-canvas {\n  width: 100%;\n  height: 100%;\n}\n"
  },
  {
    "path": "pages/sunburst/index.js",
    "chars": 2448,
    "preview": "import * as echarts from '../../ec-canvas/echarts';\n\nconst app = getApp();\n\nfunction initChart(canvas, width, height, dp"
  },
  {
    "path": "pages/sunburst/index.json",
    "chars": 76,
    "preview": "{\n  \"usingComponents\": {\n    \"ec-canvas\": \"../../ec-canvas/ec-canvas\"\n  }\n}\n"
  },
  {
    "path": "pages/sunburst/index.wxml",
    "chars": 146,
    "preview": "<!--index.wxml-->\n<view class=\"container\">\n  <ec-canvas id=\"mychart-dom-calendar\" canvas-id=\"mychart-calendar\" ec=\"{{ ec"
  },
  {
    "path": "pages/sunburst/index.wxss",
    "chars": 62,
    "preview": "/**index.wxss**/\nec-canvas {\n  width: 100%;\n  height: 100%;\n}\n"
  },
  {
    "path": "pages/themeRiver/index.js",
    "chars": 5034,
    "preview": "import * as echarts from '../../ec-canvas/echarts';\n\nconst app = getApp();\n\nfunction initChart(canvas, width, height, dp"
  },
  {
    "path": "pages/themeRiver/index.json",
    "chars": 76,
    "preview": "{\n  \"usingComponents\": {\n    \"ec-canvas\": \"../../ec-canvas/ec-canvas\"\n  }\n}\n"
  },
  {
    "path": "pages/themeRiver/index.wxml",
    "chars": 136,
    "preview": "<!--index.wxml-->\n<view class=\"container\">\n  <ec-canvas id=\"mychart-dom-pie\" canvas-id=\"mychart-pie\" ec=\"{{ ec }}\"></ec-"
  },
  {
    "path": "pages/themeRiver/index.wxss",
    "chars": 62,
    "preview": "/**index.wxss**/\nec-canvas {\n  width: 100%;\n  height: 100%;\n}\n"
  },
  {
    "path": "pages/tree/index.js",
    "chars": 1594,
    "preview": "import * as echarts from '../../ec-canvas/echarts';\n\nconst app = getApp();\n\nfunction initChart(canvas, width, height, dp"
  },
  {
    "path": "pages/tree/index.json",
    "chars": 76,
    "preview": "{\n  \"usingComponents\": {\n    \"ec-canvas\": \"../../ec-canvas/ec-canvas\"\n  }\n}\n"
  },
  {
    "path": "pages/tree/index.wxml",
    "chars": 138,
    "preview": "<!--index.wxml-->\n<view class=\"container\">\n  <ec-canvas id=\"mychart-dom-area\" canvas-id=\"mychart-area\" ec=\"{{ ec }}\"></e"
  },
  {
    "path": "pages/tree/index.wxss",
    "chars": 62,
    "preview": "/**index.wxss**/\nec-canvas {\n  width: 100%;\n  height: 100%;\n}\n"
  },
  {
    "path": "pages/treemap/index.js",
    "chars": 4165,
    "preview": "import * as echarts from '../../ec-canvas/echarts';\n\nconst app = getApp();\n\nfunction initChart(canvas, width, height, dp"
  },
  {
    "path": "pages/treemap/index.json",
    "chars": 76,
    "preview": "{\n  \"usingComponents\": {\n    \"ec-canvas\": \"../../ec-canvas/ec-canvas\"\n  }\n}\n"
  },
  {
    "path": "pages/treemap/index.wxml",
    "chars": 138,
    "preview": "<!--index.wxml-->\n<view class=\"container\">\n  <ec-canvas id=\"mychart-dom-pie2\" canvas-id=\"mychart-pie2\" ec=\"{{ ec }}\"></e"
  },
  {
    "path": "pages/treemap/index.wxss",
    "chars": 62,
    "preview": "/**index.wxss**/\nec-canvas {\n  width: 100%;\n  height: 100%;\n}\n"
  },
  {
    "path": "project.config.json",
    "chars": 1605,
    "preview": "{\n  \"description\": \"项目配置文件,详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html\",\n  \"settin"
  },
  {
    "path": "sitemap.json",
    "chars": 159,
    "preview": "{\n  \"desc\": \"关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html\",\n  \"rules\": [{\n  "
  }
]

About this extraction

This page contains the full source code of the ecomfe/echarts-for-weixin GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 116 files (1.1 MB), approximately 409.7k tokens, and a symbol index with 1661 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.

Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.

Copied to clipboard!