From 00384d738281cf4f45b28365fa9f5635d5f403f6 Mon Sep 17 00:00:00 2001
From: qiaomu <3520484422@qq.com>
Date: Thu, 18 Jul 2024 14:18:05 +0800
Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=88=86=E5=8C=85=EF=BC=8C?=
=?UTF-8?q?=E5=AE=8C=E6=88=90=E9=9A=90=E7=A7=81=E5=8D=8F=E8=AE=AE=EF=BC=88?=
=?UTF-8?q?=E6=A0=B7=E5=BC=8F=E5=BE=85=E4=BC=98=E5=8C=96=EF=BC=89?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app.json | 14 +-
.../components}/echarts/ec-canvas.js | 0
.../components}/echarts/ec-canvas.json | 0
.../components}/echarts/ec-canvas.wxml | 0
.../components}/echarts/ec-canvas.wxss | 0
.../components}/echarts/echarts.js | 0
.../components}/echarts/wx-canvas.js | 0
.../towxml/audio-player/Audio.js | 105 +
.../towxml/audio-player/audio-player.js | 100 +
.../towxml/audio-player/audio-player.json | 5 +
.../towxml/audio-player/audio-player.wxml | 14 +
.../towxml/audio-player/audio-player.wxss | 175 ++
.../towxml/audio-player/loading.svg | 1 +
childPackage/miniprogram_npm/towxml/config.js | 291 +++
childPackage/miniprogram_npm/towxml/decode.js | 26 +
.../miniprogram_npm/towxml/decode.json | 13 +
.../miniprogram_npm/towxml/decode.wxml | 1 +
.../miniprogram_npm/towxml/decode.wxss | 0
.../miniprogram_npm/towxml/echarts/dark.js | 496 ++++
.../miniprogram_npm/towxml/echarts/echarts.js | 173 ++
.../towxml/echarts/echarts.json | 1 +
.../towxml/echarts/echarts.wxml | 5 +
.../towxml/echarts/echarts.wxss | 4 +
.../towxml/echarts/wx-canvas.js | 97 +
.../towxml/echarts/wx-echarts.js | 12 +
.../miniprogram_npm/towxml/img/img.js | 98 +
.../miniprogram_npm/towxml/img/img.json | 3 +
.../miniprogram_npm/towxml/img/img.wxml | 1 +
.../miniprogram_npm/towxml/img/img.wxss | 0
childPackage/miniprogram_npm/towxml/index.js | 19 +
.../miniprogram_npm/towxml/index.js.map | 1 +
.../miniprogram_npm/towxml/latex/latex.js | 53 +
.../miniprogram_npm/towxml/latex/latex.json | 5 +
.../miniprogram_npm/towxml/latex/latex.wxml | 1 +
.../miniprogram_npm/towxml/latex/latex.wxss | 0
.../towxml/parse/highlight/highlight.js | 1 +
.../towxml/parse/highlight/index.js | 8 +
.../towxml/parse/highlight/languages/bash.js | 111 +
.../parse/highlight/languages/c-like.js | 236 ++
.../towxml/parse/highlight/languages/c.js | 22 +
.../towxml/parse/highlight/languages/css.js | 132 ++
.../towxml/parse/highlight/languages/dart.js | 134 ++
.../towxml/parse/highlight/languages/go.js | 63 +
.../parse/highlight/languages/htmlbars.js | 80 +
.../towxml/parse/highlight/languages/java.js | 125 ++
.../parse/highlight/languages/javascript.js | 265 +++
.../towxml/parse/highlight/languages/json.js | 52 +
.../towxml/parse/highlight/languages/less.js | 148 ++
.../towxml/parse/highlight/languages/nginx.js | 101 +
.../towxml/parse/highlight/languages/php.js | 161 ++
.../parse/highlight/languages/python-repl.js | 29 +
.../parse/highlight/languages/python.js | 131 ++
.../towxml/parse/highlight/languages/scss.js | 122 +
.../towxml/parse/highlight/languages/shell.js | 22 +
.../parse/highlight/languages/typescript.js | 215 ++
.../towxml/parse/highlight/languages/xml.js | 139 ++
.../towxml/parse/highlight/style/github.wxss | 99 +
.../towxml/parse/highlight/style/monokai.wxss | 70 +
.../miniprogram_npm/towxml/parse/index.js | 118 +
.../towxml/parse/markdown/index.js | 67 +
.../towxml/parse/markdown/markdown.js | 4 +
.../towxml/parse/markdown/plugins/echarts.js | 11 +
.../towxml/parse/markdown/plugins/emoji.js | 2 +
.../towxml/parse/markdown/plugins/ins.js | 1 +
.../towxml/parse/markdown/plugins/latex.js | 158 ++
.../towxml/parse/markdown/plugins/mark.js | 1 +
.../towxml/parse/markdown/plugins/sub.js | 1 +
.../towxml/parse/markdown/plugins/sup.js | 1 +
.../towxml/parse/markdown/plugins/todo.js | 147 ++
.../towxml/parse/markdown/plugins/yuml.js | 20 +
.../towxml/parse/parse2/Parser.js | 492 ++++
.../towxml/parse/parse2/Tokenizer.js | 903 ++++++++
.../parse/parse2/domelementtype/index.js | 55 +
.../towxml/parse/parse2/domhandler/index.js | 145 ++
.../towxml/parse/parse2/domhandler/node.js | 474 ++++
.../towxml/parse/parse2/entities/decode.js | 179 ++
.../parse/parse2/entities/decode_codepoint.js | 60 +
.../towxml/parse/parse2/entities/encode.js | 77 +
.../towxml/parse/parse2/entities/escape.js | 112 +
.../entities/generated/decode-data-html.js | 9 +
.../entities/generated/decode-data-xml.js | 9 +
.../parse2/entities/generated/encode-html.js | 12 +
.../towxml/parse/parse2/entities/index.js | 137 ++
.../towxml/parse/parse2/index.js | 8 +
.../miniprogram_npm/towxml/style/main.wxss | 390 ++++
.../towxml/style/theme/dark.wxss | 73 +
.../towxml/style/theme/light.wxss | 63 +
.../miniprogram_npm/towxml/table/table.js | 11 +
.../miniprogram_npm/towxml/table/table.json | 6 +
.../miniprogram_npm/towxml/table/table.wxml | 24 +
.../miniprogram_npm/towxml/table/table.wxss | 0
.../towxml/todogroup/todogroup.js | 20 +
.../towxml/todogroup/todogroup.json | 6 +
.../towxml/todogroup/todogroup.wxml | 12 +
.../towxml/todogroup/todogroup.wxss | 3 +
childPackage/miniprogram_npm/towxml/towxml.js | 16 +
.../miniprogram_npm/towxml/towxml.json | 6 +
.../miniprogram_npm/towxml/towxml.wxml | 5 +
.../miniprogram_npm/towxml/towxml.wxss | 8 +
.../miniprogram_npm/towxml/yuml/yuml.js | 51 +
.../miniprogram_npm/towxml/yuml/yuml.json | 5 +
.../miniprogram_npm/towxml/yuml/yuml.wxml | 5 +
.../miniprogram_npm/towxml/yuml/yuml.wxss | 0
childPackage/pages/agreements/index.js | 104 +
childPackage/pages/agreements/index.json | 5 +
childPackage/pages/agreements/index.wxml | 5 +
.../pages}/agreements/index.wxss | 0
.../pages}/billDetail/index.js | 6 +-
.../pages}/billDetail/index.json | 2 +-
.../pages}/billDetail/index.wxml | 0
.../pages}/billDetail/index.wxss | 2 +-
.../components/accountingCard/index.js | 0
.../components/accountingCard/index.json | 0
.../components/accountingCard/index.wxml | 0
.../components/accountingCard/index.wxss | 0
.../pages}/electricQuery/index.js | 10 +-
.../pages}/electricQuery/index.json | 2 +-
.../pages}/electricQuery/index.wxml | 0
.../pages}/electricQuery/index.wxss | 0
miniprogram_npm/fs-extra/index.js | 1994 +++++++++++++++++
miniprogram_npm/fs-extra/index.js.map | 1 +
miniprogram_npm/graceful-fs/index.js | 966 ++++++++
miniprogram_npm/graceful-fs/index.js.map | 1 +
miniprogram_npm/jsonfile/index.js | 147 ++
miniprogram_npm/jsonfile/index.js.map | 1 +
miniprogram_npm/universalify/index.js | 38 +
miniprogram_npm/universalify/index.js.map | 1 +
node_modules/.package-lock.json | 12 +
node_modules/@vant/weapp/LICENSE | 7 +
node_modules/@vant/weapp/README.md | 129 ++
.../@vant/weapp/dist/action-sheet/index.d.ts | 1 +
.../@vant/weapp/dist/action-sheet/index.js | 75 +
.../@vant/weapp/dist/action-sheet/index.json | 8 +
.../@vant/weapp/dist/action-sheet/index.wxml | 70 +
.../@vant/weapp/dist/action-sheet/index.wxss | 1 +
node_modules/@vant/weapp/dist/area/index.d.ts | 1 +
node_modules/@vant/weapp/dist/area/index.js | 220 ++
node_modules/@vant/weapp/dist/area/index.json | 6 +
node_modules/@vant/weapp/dist/area/index.wxml | 20 +
node_modules/@vant/weapp/dist/area/index.wxs | 8 +
node_modules/@vant/weapp/dist/area/index.wxss | 1 +
.../@vant/weapp/dist/button/index.d.ts | 1 +
node_modules/@vant/weapp/dist/button/index.js | 64 +
.../@vant/weapp/dist/button/index.json | 7 +
.../@vant/weapp/dist/button/index.wxml | 56 +
.../@vant/weapp/dist/button/index.wxs | 39 +
.../@vant/weapp/dist/button/index.wxss | 1 +
.../@vant/weapp/dist/calendar/calendar.wxml | 70 +
.../@vant/weapp/dist/calendar/index.d.ts | 1 +
.../@vant/weapp/dist/calendar/index.js | 360 +++
.../@vant/weapp/dist/calendar/index.json | 10 +
.../@vant/weapp/dist/calendar/index.wxml | 27 +
.../@vant/weapp/dist/calendar/index.wxs | 37 +
.../@vant/weapp/dist/calendar/index.wxss | 1 +
.../@vant/weapp/dist/calendar/utils.d.ts | 12 +
.../@vant/weapp/dist/calendar/utils.js | 83 +
.../@vant/weapp/dist/calendar/utils.wxs | 25 +
node_modules/@vant/weapp/dist/card/index.d.ts | 1 +
node_modules/@vant/weapp/dist/card/index.js | 49 +
node_modules/@vant/weapp/dist/card/index.json | 6 +
node_modules/@vant/weapp/dist/card/index.wxml | 56 +
node_modules/@vant/weapp/dist/card/index.wxss | 1 +
.../@vant/weapp/dist/cascader/index.d.ts | 1 +
.../@vant/weapp/dist/cascader/index.js | 209 ++
.../@vant/weapp/dist/cascader/index.json | 8 +
.../@vant/weapp/dist/cascader/index.wxml | 54 +
.../@vant/weapp/dist/cascader/index.wxs | 24 +
.../@vant/weapp/dist/cascader/index.wxss | 1 +
.../@vant/weapp/dist/cell-group/index.d.ts | 1 +
.../@vant/weapp/dist/cell-group/index.js | 11 +
.../@vant/weapp/dist/cell-group/index.json | 3 +
.../@vant/weapp/dist/cell-group/index.wxml | 11 +
.../@vant/weapp/dist/cell-group/index.wxss | 1 +
node_modules/@vant/weapp/dist/cell/index.d.ts | 1 +
node_modules/@vant/weapp/dist/cell/index.js | 38 +
node_modules/@vant/weapp/dist/cell/index.json | 6 +
node_modules/@vant/weapp/dist/cell/index.wxml | 47 +
node_modules/@vant/weapp/dist/cell/index.wxs | 17 +
node_modules/@vant/weapp/dist/cell/index.wxss | 1 +
.../weapp/dist/checkbox-group/index.d.ts | 1 +
.../@vant/weapp/dist/checkbox-group/index.js | 36 +
.../weapp/dist/checkbox-group/index.json | 3 +
.../weapp/dist/checkbox-group/index.wxml | 5 +
.../weapp/dist/checkbox-group/index.wxss | 1 +
.../@vant/weapp/dist/checkbox/index.d.ts | 1 +
.../@vant/weapp/dist/checkbox/index.js | 77 +
.../@vant/weapp/dist/checkbox/index.json | 6 +
.../@vant/weapp/dist/checkbox/index.wxml | 31 +
.../@vant/weapp/dist/checkbox/index.wxs | 20 +
.../@vant/weapp/dist/checkbox/index.wxss | 1 +
.../@vant/weapp/dist/circle/canvas.d.ts | 4 +
.../@vant/weapp/dist/circle/canvas.js | 43 +
.../@vant/weapp/dist/circle/index.d.ts | 1 +
node_modules/@vant/weapp/dist/circle/index.js | 197 ++
.../@vant/weapp/dist/circle/index.json | 3 +
.../@vant/weapp/dist/circle/index.wxml | 9 +
.../@vant/weapp/dist/circle/index.wxss | 1 +
node_modules/@vant/weapp/dist/col/index.d.ts | 1 +
node_modules/@vant/weapp/dist/col/index.js | 9 +
node_modules/@vant/weapp/dist/col/index.json | 3 +
node_modules/@vant/weapp/dist/col/index.wxml | 9 +
node_modules/@vant/weapp/dist/col/index.wxs | 18 +
node_modules/@vant/weapp/dist/col/index.wxss | 1 +
.../weapp/dist/collapse-item/animate.d.ts | 2 +
.../@vant/weapp/dist/collapse-item/animate.js | 39 +
.../@vant/weapp/dist/collapse-item/index.d.ts | 1 +
.../@vant/weapp/dist/collapse-item/index.js | 60 +
.../@vant/weapp/dist/collapse-item/index.json | 6 +
.../@vant/weapp/dist/collapse-item/index.wxml | 45 +
.../@vant/weapp/dist/collapse-item/index.wxss | 1 +
.../@vant/weapp/dist/collapse/index.d.ts | 1 +
.../@vant/weapp/dist/collapse/index.js | 46 +
.../@vant/weapp/dist/collapse/index.json | 3 +
.../@vant/weapp/dist/collapse/index.wxml | 3 +
.../@vant/weapp/dist/collapse/index.wxss | 1 +
.../@vant/weapp/dist/common/color.d.ts | 7 +
node_modules/@vant/weapp/dist/common/color.js | 7 +
.../@vant/weapp/dist/common/component.d.ts | 4 +
.../@vant/weapp/dist/common/component.js | 46 +
.../@vant/weapp/dist/common/index.wxss | 1 +
.../@vant/weapp/dist/common/relation.d.ts | 15 +
.../@vant/weapp/dist/common/relation.js | 56 +
.../weapp/dist/common/style/clearfix.wxss | 1 +
.../weapp/dist/common/style/ellipsis.wxss | 1 +
.../weapp/dist/common/style/hairline.wxss | 1 +
.../@vant/weapp/dist/common/style/var.wxss | 0
.../@vant/weapp/dist/common/utils.d.ts | 21 +
node_modules/@vant/weapp/dist/common/utils.js | 86 +
.../@vant/weapp/dist/common/validator.d.ts | 9 +
.../@vant/weapp/dist/common/validator.js | 31 +
.../@vant/weapp/dist/common/version.d.ts | 15 +
.../@vant/weapp/dist/common/version.js | 59 +
.../weapp/dist/config-provider/index.d.ts | 1 +
.../@vant/weapp/dist/config-provider/index.js | 9 +
.../weapp/dist/config-provider/index.json | 3 +
.../weapp/dist/config-provider/index.wxml | 5 +
.../weapp/dist/config-provider/index.wxs | 29 +
.../@vant/weapp/dist/count-down/index.d.ts | 1 +
.../@vant/weapp/dist/count-down/index.js | 100 +
.../@vant/weapp/dist/count-down/index.json | 3 +
.../@vant/weapp/dist/count-down/index.wxml | 4 +
.../@vant/weapp/dist/count-down/index.wxss | 1 +
.../@vant/weapp/dist/count-down/utils.d.ts | 10 +
.../@vant/weapp/dist/count-down/utils.js | 57 +
.../weapp/dist/datetime-picker/index.d.ts | 1 +
.../@vant/weapp/dist/datetime-picker/index.js | 295 +++
.../weapp/dist/datetime-picker/index.json | 6 +
.../weapp/dist/datetime-picker/index.wxml | 16 +
.../weapp/dist/datetime-picker/index.wxss | 1 +
.../@vant/weapp/dist/definitions/index.d.ts | 28 +
.../@vant/weapp/dist/definitions/index.js | 1 +
.../@vant/weapp/dist/dialog/dialog.d.ts | 55 +
.../@vant/weapp/dist/dialog/dialog.js | 77 +
.../@vant/weapp/dist/dialog/index.d.ts | 1 +
node_modules/@vant/weapp/dist/dialog/index.js | 130 ++
.../@vant/weapp/dist/dialog/index.json | 9 +
.../@vant/weapp/dist/dialog/index.wxml | 125 ++
.../@vant/weapp/dist/dialog/index.wxss | 1 +
.../@vant/weapp/dist/divider/index.d.ts | 1 +
.../@vant/weapp/dist/divider/index.js | 12 +
.../@vant/weapp/dist/divider/index.json | 4 +
.../@vant/weapp/dist/divider/index.wxml | 9 +
.../@vant/weapp/dist/divider/index.wxs | 18 +
.../@vant/weapp/dist/divider/index.wxss | 1 +
.../@vant/weapp/dist/dropdown-item/index.d.ts | 1 +
.../@vant/weapp/dist/dropdown-item/index.js | 130 ++
.../@vant/weapp/dist/dropdown-item/index.json | 8 +
.../@vant/weapp/dist/dropdown-item/index.wxml | 50 +
.../@vant/weapp/dist/dropdown-item/index.wxss | 1 +
.../weapp/dist/dropdown-item/shared.d.ts | 5 +
.../@vant/weapp/dist/dropdown-item/shared.js | 1 +
.../@vant/weapp/dist/dropdown-menu/index.d.ts | 1 +
.../@vant/weapp/dist/dropdown-menu/index.js | 117 +
.../@vant/weapp/dist/dropdown-menu/index.json | 3 +
.../@vant/weapp/dist/dropdown-menu/index.wxml | 23 +
.../@vant/weapp/dist/dropdown-menu/index.wxs | 16 +
.../@vant/weapp/dist/dropdown-menu/index.wxss | 1 +
.../@vant/weapp/dist/empty/index.d.ts | 1 +
node_modules/@vant/weapp/dist/empty/index.js | 10 +
.../@vant/weapp/dist/empty/index.json | 4 +
.../@vant/weapp/dist/empty/index.wxml | 22 +
node_modules/@vant/weapp/dist/empty/index.wxs | 15 +
.../@vant/weapp/dist/empty/index.wxss | 1 +
.../@vant/weapp/dist/field/index.d.ts | 1 +
node_modules/@vant/weapp/dist/field/index.js | 123 +
.../@vant/weapp/dist/field/index.json | 7 +
.../@vant/weapp/dist/field/index.wxml | 56 +
node_modules/@vant/weapp/dist/field/index.wxs | 18 +
.../@vant/weapp/dist/field/index.wxss | 1 +
.../@vant/weapp/dist/field/input.wxml | 30 +
.../@vant/weapp/dist/field/props.d.ts | 4 +
node_modules/@vant/weapp/dist/field/props.js | 64 +
.../@vant/weapp/dist/field/textarea.wxml | 32 +
.../@vant/weapp/dist/field/types.d.ts | 8 +
node_modules/@vant/weapp/dist/field/types.js | 1 +
.../weapp/dist/goods-action-button/index.d.ts | 1 +
.../weapp/dist/goods-action-button/index.js | 44 +
.../weapp/dist/goods-action-button/index.json | 6 +
.../weapp/dist/goods-action-button/index.wxml | 35 +
.../weapp/dist/goods-action-button/index.wxss | 1 +
.../weapp/dist/goods-action-icon/index.d.ts | 1 +
.../weapp/dist/goods-action-icon/index.js | 27 +
.../weapp/dist/goods-action-icon/index.json | 7 +
.../weapp/dist/goods-action-icon/index.wxml | 41 +
.../weapp/dist/goods-action-icon/index.wxss | 1 +
.../@vant/weapp/dist/goods-action/index.d.ts | 1 +
.../@vant/weapp/dist/goods-action/index.js | 15 +
.../@vant/weapp/dist/goods-action/index.json | 3 +
.../@vant/weapp/dist/goods-action/index.wxml | 5 +
.../@vant/weapp/dist/goods-action/index.wxss | 1 +
.../@vant/weapp/dist/grid-item/index.d.ts | 1 +
.../@vant/weapp/dist/grid-item/index.js | 52 +
.../@vant/weapp/dist/grid-item/index.json | 6 +
.../@vant/weapp/dist/grid-item/index.wxml | 27 +
.../@vant/weapp/dist/grid-item/index.wxs | 32 +
.../@vant/weapp/dist/grid-item/index.wxss | 1 +
node_modules/@vant/weapp/dist/grid/index.d.ts | 1 +
node_modules/@vant/weapp/dist/grid/index.js | 55 +
node_modules/@vant/weapp/dist/grid/index.json | 3 +
node_modules/@vant/weapp/dist/grid/index.wxml | 8 +
node_modules/@vant/weapp/dist/grid/index.wxs | 13 +
node_modules/@vant/weapp/dist/grid/index.wxss | 1 +
node_modules/@vant/weapp/dist/icon/index.d.ts | 1 +
node_modules/@vant/weapp/dist/icon/index.js | 21 +
node_modules/@vant/weapp/dist/icon/index.json | 6 +
node_modules/@vant/weapp/dist/icon/index.wxml | 20 +
node_modules/@vant/weapp/dist/icon/index.wxs | 43 +
node_modules/@vant/weapp/dist/icon/index.wxss | 1 +
.../@vant/weapp/dist/image/index.d.ts | 1 +
node_modules/@vant/weapp/dist/image/index.js | 64 +
.../@vant/weapp/dist/image/index.json | 7 +
.../@vant/weapp/dist/image/index.wxml | 35 +
node_modules/@vant/weapp/dist/image/index.wxs | 32 +
.../@vant/weapp/dist/image/index.wxss | 1 +
.../@vant/weapp/dist/index-anchor/index.d.ts | 1 +
.../@vant/weapp/dist/index-anchor/index.js | 25 +
.../@vant/weapp/dist/index-anchor/index.json | 3 +
.../@vant/weapp/dist/index-anchor/index.wxml | 14 +
.../@vant/weapp/dist/index-anchor/index.wxss | 1 +
.../@vant/weapp/dist/index-bar/index.d.ts | 1 +
.../@vant/weapp/dist/index-bar/index.js | 246 ++
.../@vant/weapp/dist/index-bar/index.json | 3 +
.../@vant/weapp/dist/index-bar/index.wxml | 22 +
.../@vant/weapp/dist/index-bar/index.wxss | 1 +
node_modules/@vant/weapp/dist/info/index.d.ts | 1 +
node_modules/@vant/weapp/dist/info/index.js | 8 +
node_modules/@vant/weapp/dist/info/index.json | 3 +
node_modules/@vant/weapp/dist/info/index.wxml | 7 +
node_modules/@vant/weapp/dist/info/index.wxss | 1 +
.../@vant/weapp/dist/loading/index.d.ts | 1 +
.../@vant/weapp/dist/loading/index.js | 16 +
.../@vant/weapp/dist/loading/index.json | 3 +
.../@vant/weapp/dist/loading/index.wxml | 19 +
.../@vant/weapp/dist/loading/index.wxs | 22 +
.../@vant/weapp/dist/loading/index.wxss | 1 +
.../@vant/weapp/dist/mixins/basic.d.ts | 1 +
node_modules/@vant/weapp/dist/mixins/basic.js | 11 +
.../@vant/weapp/dist/mixins/button.d.ts | 1 +
.../@vant/weapp/dist/mixins/button.js | 51 +
.../@vant/weapp/dist/mixins/link.d.ts | 1 +
node_modules/@vant/weapp/dist/mixins/link.js | 23 +
.../@vant/weapp/dist/mixins/page-scroll.d.ts | 6 +
.../@vant/weapp/dist/mixins/page-scroll.js | 42 +
.../@vant/weapp/dist/mixins/touch.d.ts | 1 +
node_modules/@vant/weapp/dist/mixins/touch.js | 37 +
.../@vant/weapp/dist/mixins/transition.d.ts | 1 +
.../@vant/weapp/dist/mixins/transition.js | 130 ++
.../@vant/weapp/dist/nav-bar/index.d.ts | 1 +
.../@vant/weapp/dist/nav-bar/index.js | 65 +
.../@vant/weapp/dist/nav-bar/index.json | 6 +
.../@vant/weapp/dist/nav-bar/index.wxml | 42 +
.../@vant/weapp/dist/nav-bar/index.wxs | 13 +
.../@vant/weapp/dist/nav-bar/index.wxss | 1 +
.../@vant/weapp/dist/notice-bar/index.d.ts | 1 +
.../@vant/weapp/dist/notice-bar/index.js | 120 +
.../@vant/weapp/dist/notice-bar/index.json | 6 +
.../@vant/weapp/dist/notice-bar/index.wxml | 38 +
.../@vant/weapp/dist/notice-bar/index.wxs | 15 +
.../@vant/weapp/dist/notice-bar/index.wxss | 1 +
.../@vant/weapp/dist/notify/index.d.ts | 1 +
node_modules/@vant/weapp/dist/notify/index.js | 65 +
.../@vant/weapp/dist/notify/index.json | 6 +
.../@vant/weapp/dist/notify/index.wxml | 21 +
.../@vant/weapp/dist/notify/index.wxs | 22 +
.../@vant/weapp/dist/notify/index.wxss | 1 +
.../@vant/weapp/dist/notify/notify.d.ts | 22 +
.../@vant/weapp/dist/notify/notify.js | 53 +
.../@vant/weapp/dist/overlay/index.d.ts | 1 +
.../@vant/weapp/dist/overlay/index.js | 30 +
.../@vant/weapp/dist/overlay/index.json | 6 +
.../@vant/weapp/dist/overlay/index.wxml | 7 +
.../@vant/weapp/dist/overlay/index.wxss | 1 +
.../@vant/weapp/dist/overlay/overlay.wxml | 10 +
.../@vant/weapp/dist/panel/index.d.ts | 1 +
node_modules/@vant/weapp/dist/panel/index.js | 9 +
.../@vant/weapp/dist/panel/index.json | 6 +
.../@vant/weapp/dist/panel/index.wxml | 19 +
.../@vant/weapp/dist/panel/index.wxss | 1 +
.../@vant/weapp/dist/picker-column/index.d.ts | 1 +
.../@vant/weapp/dist/picker-column/index.js | 118 +
.../@vant/weapp/dist/picker-column/index.json | 3 +
.../@vant/weapp/dist/picker-column/index.wxml | 23 +
.../@vant/weapp/dist/picker-column/index.wxs | 36 +
.../@vant/weapp/dist/picker-column/index.wxss | 1 +
.../@vant/weapp/dist/picker/index.d.ts | 1 +
node_modules/@vant/weapp/dist/picker/index.js | 136 ++
.../@vant/weapp/dist/picker/index.json | 7 +
.../@vant/weapp/dist/picker/index.wxml | 37 +
.../@vant/weapp/dist/picker/index.wxs | 42 +
.../@vant/weapp/dist/picker/index.wxss | 1 +
.../@vant/weapp/dist/picker/shared.d.ts | 21 +
.../@vant/weapp/dist/picker/shared.js | 21 +
.../@vant/weapp/dist/picker/toolbar.wxml | 23 +
.../@vant/weapp/dist/popup/index.d.ts | 1 +
node_modules/@vant/weapp/dist/popup/index.js | 97 +
.../@vant/weapp/dist/popup/index.json | 7 +
.../@vant/weapp/dist/popup/index.wxml | 21 +
node_modules/@vant/weapp/dist/popup/index.wxs | 18 +
.../@vant/weapp/dist/popup/index.wxss | 1 +
.../@vant/weapp/dist/popup/popup.wxml | 16 +
.../@vant/weapp/dist/progress/index.d.ts | 1 +
.../@vant/weapp/dist/progress/index.js | 51 +
.../@vant/weapp/dist/progress/index.json | 3 +
.../@vant/weapp/dist/progress/index.wxml | 20 +
.../@vant/weapp/dist/progress/index.wxs | 36 +
.../@vant/weapp/dist/progress/index.wxss | 1 +
.../@vant/weapp/dist/radio-group/index.d.ts | 1 +
.../@vant/weapp/dist/radio-group/index.js | 22 +
.../@vant/weapp/dist/radio-group/index.json | 3 +
.../@vant/weapp/dist/radio-group/index.wxml | 5 +
.../@vant/weapp/dist/radio-group/index.wxss | 1 +
.../@vant/weapp/dist/radio/index.d.ts | 1 +
node_modules/@vant/weapp/dist/radio/index.js | 66 +
.../@vant/weapp/dist/radio/index.json | 6 +
.../@vant/weapp/dist/radio/index.wxml | 30 +
node_modules/@vant/weapp/dist/radio/index.wxs | 33 +
.../@vant/weapp/dist/radio/index.wxss | 1 +
node_modules/@vant/weapp/dist/rate/index.d.ts | 1 +
node_modules/@vant/weapp/dist/rate/index.js | 78 +
node_modules/@vant/weapp/dist/rate/index.json | 6 +
node_modules/@vant/weapp/dist/rate/index.wxml | 35 +
node_modules/@vant/weapp/dist/rate/index.wxss | 1 +
node_modules/@vant/weapp/dist/row/index.d.ts | 1 +
node_modules/@vant/weapp/dist/row/index.js | 23 +
node_modules/@vant/weapp/dist/row/index.json | 3 +
node_modules/@vant/weapp/dist/row/index.wxml | 5 +
node_modules/@vant/weapp/dist/row/index.wxs | 18 +
node_modules/@vant/weapp/dist/row/index.wxss | 1 +
.../@vant/weapp/dist/search/index.d.ts | 1 +
node_modules/@vant/weapp/dist/search/index.js | 97 +
.../@vant/weapp/dist/search/index.json | 6 +
.../@vant/weapp/dist/search/index.wxml | 54 +
.../@vant/weapp/dist/search/index.wxss | 1 +
.../@vant/weapp/dist/share-sheet/index.d.ts | 1 +
.../@vant/weapp/dist/share-sheet/index.js | 59 +
.../@vant/weapp/dist/share-sheet/index.json | 7 +
.../@vant/weapp/dist/share-sheet/index.wxml | 47 +
.../@vant/weapp/dist/share-sheet/index.wxs | 12 +
.../@vant/weapp/dist/share-sheet/index.wxss | 1 +
.../@vant/weapp/dist/share-sheet/options.d.ts | 1 +
.../@vant/weapp/dist/share-sheet/options.js | 14 +
.../@vant/weapp/dist/share-sheet/options.json | 3 +
.../@vant/weapp/dist/share-sheet/options.wxml | 20 +
.../@vant/weapp/dist/share-sheet/options.wxs | 14 +
.../@vant/weapp/dist/share-sheet/options.wxss | 1 +
.../@vant/weapp/dist/sidebar-item/index.d.ts | 1 +
.../@vant/weapp/dist/sidebar-item/index.js | 29 +
.../@vant/weapp/dist/sidebar-item/index.json | 6 +
.../@vant/weapp/dist/sidebar-item/index.wxml | 18 +
.../@vant/weapp/dist/sidebar-item/index.wxss | 1 +
.../@vant/weapp/dist/sidebar/index.d.ts | 1 +
.../@vant/weapp/dist/sidebar/index.js | 34 +
.../@vant/weapp/dist/sidebar/index.json | 3 +
.../@vant/weapp/dist/sidebar/index.wxml | 3 +
.../@vant/weapp/dist/sidebar/index.wxss | 1 +
.../@vant/weapp/dist/skeleton/index.d.ts | 1 +
.../@vant/weapp/dist/skeleton/index.js | 46 +
.../@vant/weapp/dist/skeleton/index.json | 4 +
.../@vant/weapp/dist/skeleton/index.wxml | 29 +
.../@vant/weapp/dist/skeleton/index.wxss | 1 +
.../@vant/weapp/dist/slider/index.d.ts | 1 +
node_modules/@vant/weapp/dist/slider/index.js | 207 ++
.../@vant/weapp/dist/slider/index.json | 3 +
.../@vant/weapp/dist/slider/index.wxml | 68 +
.../@vant/weapp/dist/slider/index.wxs | 14 +
.../@vant/weapp/dist/slider/index.wxss | 1 +
.../@vant/weapp/dist/stepper/index.d.ts | 1 +
.../@vant/weapp/dist/stepper/index.js | 188 ++
.../@vant/weapp/dist/stepper/index.json | 3 +
.../@vant/weapp/dist/stepper/index.wxml | 43 +
.../@vant/weapp/dist/stepper/index.wxs | 22 +
.../@vant/weapp/dist/stepper/index.wxss | 1 +
.../@vant/weapp/dist/steps/index.d.ts | 1 +
node_modules/@vant/weapp/dist/steps/index.js | 33 +
.../@vant/weapp/dist/steps/index.json | 6 +
.../@vant/weapp/dist/steps/index.wxml | 54 +
.../@vant/weapp/dist/steps/index.wxss | 1 +
.../@vant/weapp/dist/sticky/index.d.ts | 1 +
node_modules/@vant/weapp/dist/sticky/index.js | 120 +
.../@vant/weapp/dist/sticky/index.json | 3 +
.../@vant/weapp/dist/sticky/index.wxml | 8 +
.../@vant/weapp/dist/sticky/index.wxs | 25 +
.../@vant/weapp/dist/sticky/index.wxss | 1 +
.../@vant/weapp/dist/submit-bar/index.d.ts | 1 +
.../@vant/weapp/dist/submit-bar/index.js | 56 +
.../@vant/weapp/dist/submit-bar/index.json | 7 +
.../@vant/weapp/dist/submit-bar/index.wxml | 44 +
.../@vant/weapp/dist/submit-bar/index.wxss | 1 +
.../@vant/weapp/dist/swipe-cell/index.d.ts | 1 +
.../@vant/weapp/dist/swipe-cell/index.js | 133 ++
.../@vant/weapp/dist/swipe-cell/index.json | 3 +
.../@vant/weapp/dist/swipe-cell/index.wxml | 20 +
.../@vant/weapp/dist/swipe-cell/index.wxss | 1 +
.../@vant/weapp/dist/switch/index.d.ts | 1 +
node_modules/@vant/weapp/dist/switch/index.js | 36 +
.../@vant/weapp/dist/switch/index.json | 6 +
.../@vant/weapp/dist/switch/index.wxml | 16 +
.../@vant/weapp/dist/switch/index.wxs | 26 +
.../@vant/weapp/dist/switch/index.wxss | 1 +
node_modules/@vant/weapp/dist/tab/index.d.ts | 1 +
node_modules/@vant/weapp/dist/tab/index.js | 56 +
node_modules/@vant/weapp/dist/tab/index.json | 3 +
node_modules/@vant/weapp/dist/tab/index.wxml | 8 +
node_modules/@vant/weapp/dist/tab/index.wxss | 1 +
.../@vant/weapp/dist/tabbar-item/index.d.ts | 1 +
.../@vant/weapp/dist/tabbar-item/index.js | 68 +
.../@vant/weapp/dist/tabbar-item/index.json | 7 +
.../@vant/weapp/dist/tabbar-item/index.wxml | 28 +
.../@vant/weapp/dist/tabbar-item/index.wxss | 1 +
.../@vant/weapp/dist/tabbar/index.d.ts | 1 +
node_modules/@vant/weapp/dist/tabbar/index.js | 65 +
.../@vant/weapp/dist/tabbar/index.json | 3 +
.../@vant/weapp/dist/tabbar/index.wxml | 10 +
.../@vant/weapp/dist/tabbar/index.wxss | 1 +
node_modules/@vant/weapp/dist/tabs/index.d.ts | 1 +
node_modules/@vant/weapp/dist/tabs/index.js | 302 +++
node_modules/@vant/weapp/dist/tabs/index.json | 7 +
node_modules/@vant/weapp/dist/tabs/index.wxml | 63 +
node_modules/@vant/weapp/dist/tabs/index.wxs | 83 +
node_modules/@vant/weapp/dist/tabs/index.wxss | 1 +
node_modules/@vant/weapp/dist/tag/index.d.ts | 1 +
node_modules/@vant/weapp/dist/tag/index.js | 21 +
node_modules/@vant/weapp/dist/tag/index.json | 6 +
node_modules/@vant/weapp/dist/tag/index.wxml | 15 +
node_modules/@vant/weapp/dist/tag/index.wxs | 13 +
node_modules/@vant/weapp/dist/tag/index.wxss | 1 +
.../@vant/weapp/dist/toast/index.d.ts | 1 +
node_modules/@vant/weapp/dist/toast/index.js | 29 +
.../@vant/weapp/dist/toast/index.json | 9 +
.../@vant/weapp/dist/toast/index.wxml | 36 +
.../@vant/weapp/dist/toast/index.wxss | 1 +
.../@vant/weapp/dist/toast/toast.d.ts | 28 +
node_modules/@vant/weapp/dist/toast/toast.js | 68 +
.../@vant/weapp/dist/transition/index.d.ts | 1 +
.../@vant/weapp/dist/transition/index.js | 13 +
.../@vant/weapp/dist/transition/index.json | 3 +
.../@vant/weapp/dist/transition/index.wxml | 10 +
.../@vant/weapp/dist/transition/index.wxs | 17 +
.../@vant/weapp/dist/transition/index.wxss | 1 +
.../@vant/weapp/dist/tree-select/index.d.ts | 1 +
.../@vant/weapp/dist/tree-select/index.js | 68 +
.../@vant/weapp/dist/tree-select/index.json | 8 +
.../@vant/weapp/dist/tree-select/index.wxml | 41 +
.../@vant/weapp/dist/tree-select/index.wxs | 12 +
.../@vant/weapp/dist/tree-select/index.wxss | 1 +
.../@vant/weapp/dist/uploader/index.d.ts | 1 +
.../@vant/weapp/dist/uploader/index.js | 168 ++
.../@vant/weapp/dist/uploader/index.json | 7 +
.../@vant/weapp/dist/uploader/index.wxml | 84 +
.../@vant/weapp/dist/uploader/index.wxs | 17 +
.../@vant/weapp/dist/uploader/index.wxss | 1 +
.../@vant/weapp/dist/uploader/shared.d.ts | 53 +
.../@vant/weapp/dist/uploader/shared.js | 57 +
.../@vant/weapp/dist/uploader/utils.d.ts | 24 +
.../@vant/weapp/dist/uploader/utils.js | 94 +
.../@vant/weapp/dist/wxs/add-unit.wxs | 12 +
node_modules/@vant/weapp/dist/wxs/array.wxs | 5 +
node_modules/@vant/weapp/dist/wxs/bem.wxs | 39 +
node_modules/@vant/weapp/dist/wxs/memoize.wxs | 55 +
node_modules/@vant/weapp/dist/wxs/object.wxs | 13 +
node_modules/@vant/weapp/dist/wxs/style.wxs | 42 +
node_modules/@vant/weapp/dist/wxs/utils.wxs | 10 +
.../@vant/weapp/lib/action-sheet/index.d.ts | 1 +
.../@vant/weapp/lib/action-sheet/index.js | 78 +
.../@vant/weapp/lib/action-sheet/index.json | 8 +
.../@vant/weapp/lib/action-sheet/index.wxml | 70 +
.../@vant/weapp/lib/action-sheet/index.wxss | 1 +
node_modules/@vant/weapp/lib/area/index.d.ts | 1 +
node_modules/@vant/weapp/lib/area/index.js | 235 ++
node_modules/@vant/weapp/lib/area/index.json | 6 +
node_modules/@vant/weapp/lib/area/index.wxml | 20 +
node_modules/@vant/weapp/lib/area/index.wxs | 8 +
node_modules/@vant/weapp/lib/area/index.wxss | 1 +
.../@vant/weapp/lib/button/index.d.ts | 1 +
node_modules/@vant/weapp/lib/button/index.js | 67 +
.../@vant/weapp/lib/button/index.json | 7 +
.../@vant/weapp/lib/button/index.wxml | 56 +
node_modules/@vant/weapp/lib/button/index.wxs | 39 +
.../@vant/weapp/lib/button/index.wxss | 1 +
.../@vant/weapp/lib/calendar/calendar.wxml | 70 +
.../@vant/weapp/lib/calendar/index.d.ts | 1 +
.../@vant/weapp/lib/calendar/index.js | 383 ++++
.../@vant/weapp/lib/calendar/index.json | 10 +
.../@vant/weapp/lib/calendar/index.wxml | 27 +
.../@vant/weapp/lib/calendar/index.wxs | 37 +
.../@vant/weapp/lib/calendar/index.wxss | 1 +
.../@vant/weapp/lib/calendar/utils.d.ts | 12 +
.../@vant/weapp/lib/calendar/utils.js | 97 +
.../@vant/weapp/lib/calendar/utils.wxs | 25 +
node_modules/@vant/weapp/lib/card/index.d.ts | 1 +
node_modules/@vant/weapp/lib/card/index.js | 51 +
node_modules/@vant/weapp/lib/card/index.json | 6 +
node_modules/@vant/weapp/lib/card/index.wxml | 56 +
node_modules/@vant/weapp/lib/card/index.wxss | 1 +
.../@vant/weapp/lib/cascader/index.d.ts | 1 +
.../@vant/weapp/lib/cascader/index.js | 223 ++
.../@vant/weapp/lib/cascader/index.json | 8 +
.../@vant/weapp/lib/cascader/index.wxml | 54 +
.../@vant/weapp/lib/cascader/index.wxs | 24 +
.../@vant/weapp/lib/cascader/index.wxss | 1 +
.../@vant/weapp/lib/cell-group/index.d.ts | 1 +
.../@vant/weapp/lib/cell-group/index.js | 13 +
.../@vant/weapp/lib/cell-group/index.json | 3 +
.../@vant/weapp/lib/cell-group/index.wxml | 11 +
.../@vant/weapp/lib/cell-group/index.wxss | 1 +
node_modules/@vant/weapp/lib/cell/index.d.ts | 1 +
node_modules/@vant/weapp/lib/cell/index.js | 40 +
node_modules/@vant/weapp/lib/cell/index.json | 6 +
node_modules/@vant/weapp/lib/cell/index.wxml | 47 +
node_modules/@vant/weapp/lib/cell/index.wxs | 17 +
node_modules/@vant/weapp/lib/cell/index.wxss | 1 +
.../@vant/weapp/lib/checkbox-group/index.d.ts | 1 +
.../@vant/weapp/lib/checkbox-group/index.js | 39 +
.../@vant/weapp/lib/checkbox-group/index.json | 3 +
.../@vant/weapp/lib/checkbox-group/index.wxml | 5 +
.../@vant/weapp/lib/checkbox-group/index.wxss | 1 +
.../@vant/weapp/lib/checkbox/index.d.ts | 1 +
.../@vant/weapp/lib/checkbox/index.js | 79 +
.../@vant/weapp/lib/checkbox/index.json | 6 +
.../@vant/weapp/lib/checkbox/index.wxml | 31 +
.../@vant/weapp/lib/checkbox/index.wxs | 20 +
.../@vant/weapp/lib/checkbox/index.wxss | 1 +
.../@vant/weapp/lib/circle/canvas.d.ts | 4 +
node_modules/@vant/weapp/lib/circle/canvas.js | 47 +
.../@vant/weapp/lib/circle/index.d.ts | 1 +
node_modules/@vant/weapp/lib/circle/index.js | 207 ++
.../@vant/weapp/lib/circle/index.json | 3 +
.../@vant/weapp/lib/circle/index.wxml | 9 +
.../@vant/weapp/lib/circle/index.wxss | 1 +
node_modules/@vant/weapp/lib/col/index.d.ts | 1 +
node_modules/@vant/weapp/lib/col/index.js | 11 +
node_modules/@vant/weapp/lib/col/index.json | 3 +
node_modules/@vant/weapp/lib/col/index.wxml | 9 +
node_modules/@vant/weapp/lib/col/index.wxs | 18 +
node_modules/@vant/weapp/lib/col/index.wxss | 1 +
.../weapp/lib/collapse-item/animate.d.ts | 2 +
.../@vant/weapp/lib/collapse-item/animate.js | 43 +
.../@vant/weapp/lib/collapse-item/index.d.ts | 1 +
.../@vant/weapp/lib/collapse-item/index.js | 62 +
.../@vant/weapp/lib/collapse-item/index.json | 6 +
.../@vant/weapp/lib/collapse-item/index.wxml | 45 +
.../@vant/weapp/lib/collapse-item/index.wxss | 1 +
.../@vant/weapp/lib/collapse/index.d.ts | 1 +
.../@vant/weapp/lib/collapse/index.js | 48 +
.../@vant/weapp/lib/collapse/index.json | 3 +
.../@vant/weapp/lib/collapse/index.wxml | 3 +
.../@vant/weapp/lib/collapse/index.wxss | 1 +
.../@vant/weapp/lib/common/color.d.ts | 7 +
node_modules/@vant/weapp/lib/common/color.js | 10 +
.../@vant/weapp/lib/common/component.d.ts | 4 +
.../@vant/weapp/lib/common/component.js | 49 +
.../@vant/weapp/lib/common/index.wxss | 1 +
.../@vant/weapp/lib/common/relation.d.ts | 15 +
.../@vant/weapp/lib/common/relation.js | 65 +
.../weapp/lib/common/style/clearfix.wxss | 1 +
.../weapp/lib/common/style/ellipsis.wxss | 1 +
.../weapp/lib/common/style/hairline.wxss | 1 +
.../@vant/weapp/lib/common/style/var.wxss | 0
.../@vant/weapp/lib/common/utils.d.ts | 21 +
node_modules/@vant/weapp/lib/common/utils.js | 109 +
.../@vant/weapp/lib/common/validator.d.ts | 9 +
.../@vant/weapp/lib/common/validator.js | 43 +
.../@vant/weapp/lib/common/version.d.ts | 15 +
.../@vant/weapp/lib/common/version.js | 70 +
.../weapp/lib/config-provider/index.d.ts | 1 +
.../@vant/weapp/lib/config-provider/index.js | 11 +
.../weapp/lib/config-provider/index.json | 3 +
.../weapp/lib/config-provider/index.wxml | 5 +
.../@vant/weapp/lib/config-provider/index.wxs | 29 +
.../@vant/weapp/lib/count-down/index.d.ts | 1 +
.../@vant/weapp/lib/count-down/index.js | 104 +
.../@vant/weapp/lib/count-down/index.json | 3 +
.../@vant/weapp/lib/count-down/index.wxml | 4 +
.../@vant/weapp/lib/count-down/index.wxss | 1 +
.../@vant/weapp/lib/count-down/utils.d.ts | 10 +
.../@vant/weapp/lib/count-down/utils.js | 64 +
.../weapp/lib/datetime-picker/index.d.ts | 1 +
.../@vant/weapp/lib/datetime-picker/index.js | 329 +++
.../weapp/lib/datetime-picker/index.json | 6 +
.../weapp/lib/datetime-picker/index.wxml | 16 +
.../weapp/lib/datetime-picker/index.wxss | 1 +
.../@vant/weapp/lib/definitions/index.d.ts | 28 +
.../@vant/weapp/lib/definitions/index.js | 2 +
.../@vant/weapp/lib/dialog/dialog.d.ts | 55 +
node_modules/@vant/weapp/lib/dialog/dialog.js | 92 +
.../@vant/weapp/lib/dialog/index.d.ts | 1 +
node_modules/@vant/weapp/lib/dialog/index.js | 135 ++
.../@vant/weapp/lib/dialog/index.json | 9 +
.../@vant/weapp/lib/dialog/index.wxml | 125 ++
.../@vant/weapp/lib/dialog/index.wxss | 1 +
.../@vant/weapp/lib/divider/index.d.ts | 1 +
node_modules/@vant/weapp/lib/divider/index.js | 14 +
.../@vant/weapp/lib/divider/index.json | 4 +
.../@vant/weapp/lib/divider/index.wxml | 9 +
.../@vant/weapp/lib/divider/index.wxs | 18 +
.../@vant/weapp/lib/divider/index.wxss | 1 +
.../@vant/weapp/lib/dropdown-item/index.d.ts | 1 +
.../@vant/weapp/lib/dropdown-item/index.js | 136 ++
.../@vant/weapp/lib/dropdown-item/index.json | 8 +
.../@vant/weapp/lib/dropdown-item/index.wxml | 50 +
.../@vant/weapp/lib/dropdown-item/index.wxss | 1 +
.../@vant/weapp/lib/dropdown-item/shared.d.ts | 5 +
.../@vant/weapp/lib/dropdown-item/shared.js | 2 +
.../@vant/weapp/lib/dropdown-menu/index.d.ts | 1 +
.../@vant/weapp/lib/dropdown-menu/index.js | 122 +
.../@vant/weapp/lib/dropdown-menu/index.json | 3 +
.../@vant/weapp/lib/dropdown-menu/index.wxml | 23 +
.../@vant/weapp/lib/dropdown-menu/index.wxs | 16 +
.../@vant/weapp/lib/dropdown-menu/index.wxss | 1 +
node_modules/@vant/weapp/lib/empty/index.d.ts | 1 +
node_modules/@vant/weapp/lib/empty/index.js | 12 +
node_modules/@vant/weapp/lib/empty/index.json | 4 +
node_modules/@vant/weapp/lib/empty/index.wxml | 22 +
node_modules/@vant/weapp/lib/empty/index.wxs | 15 +
node_modules/@vant/weapp/lib/empty/index.wxss | 1 +
node_modules/@vant/weapp/lib/field/index.d.ts | 1 +
node_modules/@vant/weapp/lib/field/index.js | 137 ++
node_modules/@vant/weapp/lib/field/index.json | 7 +
node_modules/@vant/weapp/lib/field/index.wxml | 56 +
node_modules/@vant/weapp/lib/field/index.wxs | 18 +
node_modules/@vant/weapp/lib/field/index.wxss | 1 +
node_modules/@vant/weapp/lib/field/input.wxml | 30 +
node_modules/@vant/weapp/lib/field/props.d.ts | 4 +
node_modules/@vant/weapp/lib/field/props.js | 67 +
.../@vant/weapp/lib/field/textarea.wxml | 32 +
node_modules/@vant/weapp/lib/field/types.d.ts | 8 +
node_modules/@vant/weapp/lib/field/types.js | 2 +
.../weapp/lib/goods-action-button/index.d.ts | 1 +
.../weapp/lib/goods-action-button/index.js | 46 +
.../weapp/lib/goods-action-button/index.json | 6 +
.../weapp/lib/goods-action-button/index.wxml | 35 +
.../weapp/lib/goods-action-button/index.wxss | 1 +
.../weapp/lib/goods-action-icon/index.d.ts | 1 +
.../weapp/lib/goods-action-icon/index.js | 29 +
.../weapp/lib/goods-action-icon/index.json | 7 +
.../weapp/lib/goods-action-icon/index.wxml | 41 +
.../weapp/lib/goods-action-icon/index.wxss | 1 +
.../@vant/weapp/lib/goods-action/index.d.ts | 1 +
.../@vant/weapp/lib/goods-action/index.js | 17 +
.../@vant/weapp/lib/goods-action/index.json | 3 +
.../@vant/weapp/lib/goods-action/index.wxml | 5 +
.../@vant/weapp/lib/goods-action/index.wxss | 1 +
.../@vant/weapp/lib/grid-item/index.d.ts | 1 +
.../@vant/weapp/lib/grid-item/index.js | 54 +
.../@vant/weapp/lib/grid-item/index.json | 6 +
.../@vant/weapp/lib/grid-item/index.wxml | 27 +
.../@vant/weapp/lib/grid-item/index.wxs | 32 +
.../@vant/weapp/lib/grid-item/index.wxss | 1 +
node_modules/@vant/weapp/lib/grid/index.d.ts | 1 +
node_modules/@vant/weapp/lib/grid/index.js | 57 +
node_modules/@vant/weapp/lib/grid/index.json | 3 +
node_modules/@vant/weapp/lib/grid/index.wxml | 8 +
node_modules/@vant/weapp/lib/grid/index.wxs | 13 +
node_modules/@vant/weapp/lib/grid/index.wxss | 1 +
node_modules/@vant/weapp/lib/icon/index.d.ts | 1 +
node_modules/@vant/weapp/lib/icon/index.js | 23 +
node_modules/@vant/weapp/lib/icon/index.json | 6 +
node_modules/@vant/weapp/lib/icon/index.wxml | 20 +
node_modules/@vant/weapp/lib/icon/index.wxs | 43 +
node_modules/@vant/weapp/lib/icon/index.wxss | 1 +
node_modules/@vant/weapp/lib/image/index.d.ts | 1 +
node_modules/@vant/weapp/lib/image/index.js | 66 +
node_modules/@vant/weapp/lib/image/index.json | 7 +
node_modules/@vant/weapp/lib/image/index.wxml | 35 +
node_modules/@vant/weapp/lib/image/index.wxs | 32 +
node_modules/@vant/weapp/lib/image/index.wxss | 1 +
.../@vant/weapp/lib/index-anchor/index.d.ts | 1 +
.../@vant/weapp/lib/index-anchor/index.js | 28 +
.../@vant/weapp/lib/index-anchor/index.json | 3 +
.../@vant/weapp/lib/index-anchor/index.wxml | 14 +
.../@vant/weapp/lib/index-anchor/index.wxss | 1 +
.../@vant/weapp/lib/index-bar/index.d.ts | 1 +
.../@vant/weapp/lib/index-bar/index.js | 243 ++
.../@vant/weapp/lib/index-bar/index.json | 3 +
.../@vant/weapp/lib/index-bar/index.wxml | 22 +
.../@vant/weapp/lib/index-bar/index.wxss | 1 +
node_modules/@vant/weapp/lib/info/index.d.ts | 1 +
node_modules/@vant/weapp/lib/info/index.js | 10 +
node_modules/@vant/weapp/lib/info/index.json | 3 +
node_modules/@vant/weapp/lib/info/index.wxml | 7 +
node_modules/@vant/weapp/lib/info/index.wxss | 1 +
.../@vant/weapp/lib/loading/index.d.ts | 1 +
node_modules/@vant/weapp/lib/loading/index.js | 18 +
.../@vant/weapp/lib/loading/index.json | 3 +
.../@vant/weapp/lib/loading/index.wxml | 19 +
.../@vant/weapp/lib/loading/index.wxs | 22 +
.../@vant/weapp/lib/loading/index.wxss | 1 +
.../@vant/weapp/lib/mixins/basic.d.ts | 1 +
node_modules/@vant/weapp/lib/mixins/basic.js | 14 +
.../@vant/weapp/lib/mixins/button.d.ts | 1 +
node_modules/@vant/weapp/lib/mixins/button.js | 54 +
node_modules/@vant/weapp/lib/mixins/link.d.ts | 1 +
node_modules/@vant/weapp/lib/mixins/link.js | 27 +
.../@vant/weapp/lib/mixins/page-scroll.d.ts | 6 +
.../@vant/weapp/lib/mixins/page-scroll.js | 47 +
.../@vant/weapp/lib/mixins/touch.d.ts | 1 +
node_modules/@vant/weapp/lib/mixins/touch.js | 40 +
.../@vant/weapp/lib/mixins/transition.d.ts | 1 +
.../@vant/weapp/lib/mixins/transition.js | 136 ++
.../@vant/weapp/lib/nav-bar/index.d.ts | 1 +
node_modules/@vant/weapp/lib/nav-bar/index.js | 68 +
.../@vant/weapp/lib/nav-bar/index.json | 6 +
.../@vant/weapp/lib/nav-bar/index.wxml | 42 +
.../@vant/weapp/lib/nav-bar/index.wxs | 13 +
.../@vant/weapp/lib/nav-bar/index.wxss | 1 +
.../@vant/weapp/lib/notice-bar/index.d.ts | 1 +
.../@vant/weapp/lib/notice-bar/index.js | 125 ++
.../@vant/weapp/lib/notice-bar/index.json | 6 +
.../@vant/weapp/lib/notice-bar/index.wxml | 38 +
.../@vant/weapp/lib/notice-bar/index.wxs | 15 +
.../@vant/weapp/lib/notice-bar/index.wxss | 1 +
.../@vant/weapp/lib/notify/index.d.ts | 1 +
node_modules/@vant/weapp/lib/notify/index.js | 68 +
.../@vant/weapp/lib/notify/index.json | 6 +
.../@vant/weapp/lib/notify/index.wxml | 21 +
node_modules/@vant/weapp/lib/notify/index.wxs | 22 +
.../@vant/weapp/lib/notify/index.wxss | 1 +
.../@vant/weapp/lib/notify/notify.d.ts | 22 +
node_modules/@vant/weapp/lib/notify/notify.js | 67 +
.../@vant/weapp/lib/overlay/index.d.ts | 1 +
node_modules/@vant/weapp/lib/overlay/index.js | 32 +
.../@vant/weapp/lib/overlay/index.json | 6 +
.../@vant/weapp/lib/overlay/index.wxml | 7 +
.../@vant/weapp/lib/overlay/index.wxss | 1 +
.../@vant/weapp/lib/overlay/overlay.wxml | 10 +
node_modules/@vant/weapp/lib/panel/index.d.ts | 1 +
node_modules/@vant/weapp/lib/panel/index.js | 11 +
node_modules/@vant/weapp/lib/panel/index.json | 6 +
node_modules/@vant/weapp/lib/panel/index.wxml | 19 +
node_modules/@vant/weapp/lib/panel/index.wxss | 1 +
.../@vant/weapp/lib/picker-column/index.d.ts | 1 +
.../@vant/weapp/lib/picker-column/index.js | 122 +
.../@vant/weapp/lib/picker-column/index.json | 3 +
.../@vant/weapp/lib/picker-column/index.wxml | 23 +
.../@vant/weapp/lib/picker-column/index.wxs | 36 +
.../@vant/weapp/lib/picker-column/index.wxss | 1 +
.../@vant/weapp/lib/picker/index.d.ts | 1 +
node_modules/@vant/weapp/lib/picker/index.js | 161 ++
.../@vant/weapp/lib/picker/index.json | 7 +
.../@vant/weapp/lib/picker/index.wxml | 37 +
node_modules/@vant/weapp/lib/picker/index.wxs | 42 +
.../@vant/weapp/lib/picker/index.wxss | 1 +
.../@vant/weapp/lib/picker/shared.d.ts | 21 +
node_modules/@vant/weapp/lib/picker/shared.js | 24 +
.../@vant/weapp/lib/picker/toolbar.wxml | 23 +
node_modules/@vant/weapp/lib/popup/index.d.ts | 1 +
node_modules/@vant/weapp/lib/popup/index.js | 99 +
node_modules/@vant/weapp/lib/popup/index.json | 7 +
node_modules/@vant/weapp/lib/popup/index.wxml | 21 +
node_modules/@vant/weapp/lib/popup/index.wxs | 18 +
node_modules/@vant/weapp/lib/popup/index.wxss | 1 +
node_modules/@vant/weapp/lib/popup/popup.wxml | 16 +
.../@vant/weapp/lib/progress/index.d.ts | 1 +
.../@vant/weapp/lib/progress/index.js | 55 +
.../@vant/weapp/lib/progress/index.json | 3 +
.../@vant/weapp/lib/progress/index.wxml | 20 +
.../@vant/weapp/lib/progress/index.wxs | 36 +
.../@vant/weapp/lib/progress/index.wxss | 1 +
.../@vant/weapp/lib/radio-group/index.d.ts | 1 +
.../@vant/weapp/lib/radio-group/index.js | 24 +
.../@vant/weapp/lib/radio-group/index.json | 3 +
.../@vant/weapp/lib/radio-group/index.wxml | 5 +
.../@vant/weapp/lib/radio-group/index.wxss | 1 +
node_modules/@vant/weapp/lib/radio/index.d.ts | 1 +
node_modules/@vant/weapp/lib/radio/index.js | 68 +
node_modules/@vant/weapp/lib/radio/index.json | 6 +
node_modules/@vant/weapp/lib/radio/index.wxml | 30 +
node_modules/@vant/weapp/lib/radio/index.wxs | 33 +
node_modules/@vant/weapp/lib/radio/index.wxss | 1 +
node_modules/@vant/weapp/lib/rate/index.d.ts | 1 +
node_modules/@vant/weapp/lib/rate/index.js | 93 +
node_modules/@vant/weapp/lib/rate/index.json | 6 +
node_modules/@vant/weapp/lib/rate/index.wxml | 35 +
node_modules/@vant/weapp/lib/rate/index.wxss | 1 +
node_modules/@vant/weapp/lib/row/index.d.ts | 1 +
node_modules/@vant/weapp/lib/row/index.js | 26 +
node_modules/@vant/weapp/lib/row/index.json | 3 +
node_modules/@vant/weapp/lib/row/index.wxml | 5 +
node_modules/@vant/weapp/lib/row/index.wxs | 18 +
node_modules/@vant/weapp/lib/row/index.wxss | 1 +
.../@vant/weapp/lib/search/index.d.ts | 1 +
node_modules/@vant/weapp/lib/search/index.js | 100 +
.../@vant/weapp/lib/search/index.json | 6 +
.../@vant/weapp/lib/search/index.wxml | 54 +
.../@vant/weapp/lib/search/index.wxss | 1 +
.../@vant/weapp/lib/share-sheet/index.d.ts | 1 +
.../@vant/weapp/lib/share-sheet/index.js | 61 +
.../@vant/weapp/lib/share-sheet/index.json | 7 +
.../@vant/weapp/lib/share-sheet/index.wxml | 47 +
.../@vant/weapp/lib/share-sheet/index.wxs | 12 +
.../@vant/weapp/lib/share-sheet/index.wxss | 1 +
.../@vant/weapp/lib/share-sheet/options.d.ts | 1 +
.../@vant/weapp/lib/share-sheet/options.js | 27 +
.../@vant/weapp/lib/share-sheet/options.json | 3 +
.../@vant/weapp/lib/share-sheet/options.wxml | 20 +
.../@vant/weapp/lib/share-sheet/options.wxs | 14 +
.../@vant/weapp/lib/share-sheet/options.wxss | 1 +
.../@vant/weapp/lib/sidebar-item/index.d.ts | 1 +
.../@vant/weapp/lib/sidebar-item/index.js | 32 +
.../@vant/weapp/lib/sidebar-item/index.json | 6 +
.../@vant/weapp/lib/sidebar-item/index.wxml | 18 +
.../@vant/weapp/lib/sidebar-item/index.wxss | 1 +
.../@vant/weapp/lib/sidebar/index.d.ts | 1 +
node_modules/@vant/weapp/lib/sidebar/index.js | 36 +
.../@vant/weapp/lib/sidebar/index.json | 3 +
.../@vant/weapp/lib/sidebar/index.wxml | 3 +
.../@vant/weapp/lib/sidebar/index.wxss | 1 +
.../@vant/weapp/lib/skeleton/index.d.ts | 1 +
.../@vant/weapp/lib/skeleton/index.js | 48 +
.../@vant/weapp/lib/skeleton/index.json | 4 +
.../@vant/weapp/lib/skeleton/index.wxml | 29 +
.../@vant/weapp/lib/skeleton/index.wxss | 1 +
.../@vant/weapp/lib/slider/index.d.ts | 1 +
node_modules/@vant/weapp/lib/slider/index.js | 206 ++
.../@vant/weapp/lib/slider/index.json | 3 +
.../@vant/weapp/lib/slider/index.wxml | 68 +
node_modules/@vant/weapp/lib/slider/index.wxs | 14 +
.../@vant/weapp/lib/slider/index.wxss | 1 +
.../@vant/weapp/lib/stepper/index.d.ts | 1 +
node_modules/@vant/weapp/lib/stepper/index.js | 203 ++
.../@vant/weapp/lib/stepper/index.json | 3 +
.../@vant/weapp/lib/stepper/index.wxml | 43 +
.../@vant/weapp/lib/stepper/index.wxs | 22 +
.../@vant/weapp/lib/stepper/index.wxss | 1 +
node_modules/@vant/weapp/lib/steps/index.d.ts | 1 +
node_modules/@vant/weapp/lib/steps/index.js | 35 +
node_modules/@vant/weapp/lib/steps/index.json | 6 +
node_modules/@vant/weapp/lib/steps/index.wxml | 54 +
node_modules/@vant/weapp/lib/steps/index.wxss | 1 +
.../@vant/weapp/lib/sticky/index.d.ts | 1 +
node_modules/@vant/weapp/lib/sticky/index.js | 126 ++
.../@vant/weapp/lib/sticky/index.json | 3 +
.../@vant/weapp/lib/sticky/index.wxml | 8 +
node_modules/@vant/weapp/lib/sticky/index.wxs | 25 +
.../@vant/weapp/lib/sticky/index.wxss | 1 +
.../@vant/weapp/lib/submit-bar/index.d.ts | 1 +
.../@vant/weapp/lib/submit-bar/index.js | 58 +
.../@vant/weapp/lib/submit-bar/index.json | 7 +
.../@vant/weapp/lib/submit-bar/index.wxml | 44 +
.../@vant/weapp/lib/submit-bar/index.wxss | 1 +
.../@vant/weapp/lib/swipe-cell/index.d.ts | 1 +
.../@vant/weapp/lib/swipe-cell/index.js | 135 ++
.../@vant/weapp/lib/swipe-cell/index.json | 3 +
.../@vant/weapp/lib/swipe-cell/index.wxml | 20 +
.../@vant/weapp/lib/swipe-cell/index.wxss | 1 +
.../@vant/weapp/lib/switch/index.d.ts | 1 +
node_modules/@vant/weapp/lib/switch/index.js | 38 +
.../@vant/weapp/lib/switch/index.json | 6 +
.../@vant/weapp/lib/switch/index.wxml | 16 +
node_modules/@vant/weapp/lib/switch/index.wxs | 26 +
.../@vant/weapp/lib/switch/index.wxss | 1 +
node_modules/@vant/weapp/lib/tab/index.d.ts | 1 +
node_modules/@vant/weapp/lib/tab/index.js | 58 +
node_modules/@vant/weapp/lib/tab/index.json | 3 +
node_modules/@vant/weapp/lib/tab/index.wxml | 8 +
node_modules/@vant/weapp/lib/tab/index.wxss | 1 +
.../@vant/weapp/lib/tabbar-item/index.d.ts | 1 +
.../@vant/weapp/lib/tabbar-item/index.js | 70 +
.../@vant/weapp/lib/tabbar-item/index.json | 7 +
.../@vant/weapp/lib/tabbar-item/index.wxml | 28 +
.../@vant/weapp/lib/tabbar-item/index.wxss | 1 +
.../@vant/weapp/lib/tabbar/index.d.ts | 1 +
node_modules/@vant/weapp/lib/tabbar/index.js | 68 +
.../@vant/weapp/lib/tabbar/index.json | 3 +
.../@vant/weapp/lib/tabbar/index.wxml | 10 +
.../@vant/weapp/lib/tabbar/index.wxss | 1 +
node_modules/@vant/weapp/lib/tabs/index.d.ts | 1 +
node_modules/@vant/weapp/lib/tabs/index.js | 327 +++
node_modules/@vant/weapp/lib/tabs/index.json | 7 +
node_modules/@vant/weapp/lib/tabs/index.wxml | 63 +
node_modules/@vant/weapp/lib/tabs/index.wxs | 83 +
node_modules/@vant/weapp/lib/tabs/index.wxss | 1 +
node_modules/@vant/weapp/lib/tag/index.d.ts | 1 +
node_modules/@vant/weapp/lib/tag/index.js | 23 +
node_modules/@vant/weapp/lib/tag/index.json | 6 +
node_modules/@vant/weapp/lib/tag/index.wxml | 15 +
node_modules/@vant/weapp/lib/tag/index.wxs | 13 +
node_modules/@vant/weapp/lib/tag/index.wxss | 1 +
node_modules/@vant/weapp/lib/toast/index.d.ts | 1 +
node_modules/@vant/weapp/lib/toast/index.js | 31 +
node_modules/@vant/weapp/lib/toast/index.json | 9 +
node_modules/@vant/weapp/lib/toast/index.wxml | 36 +
node_modules/@vant/weapp/lib/toast/index.wxss | 1 +
node_modules/@vant/weapp/lib/toast/toast.d.ts | 28 +
node_modules/@vant/weapp/lib/toast/toast.js | 83 +
.../@vant/weapp/lib/transition/index.d.ts | 1 +
.../@vant/weapp/lib/transition/index.js | 15 +
.../@vant/weapp/lib/transition/index.json | 3 +
.../@vant/weapp/lib/transition/index.wxml | 10 +
.../@vant/weapp/lib/transition/index.wxs | 17 +
.../@vant/weapp/lib/transition/index.wxss | 1 +
.../@vant/weapp/lib/tree-select/index.d.ts | 1 +
.../@vant/weapp/lib/tree-select/index.js | 70 +
.../@vant/weapp/lib/tree-select/index.json | 8 +
.../@vant/weapp/lib/tree-select/index.wxml | 41 +
.../@vant/weapp/lib/tree-select/index.wxs | 12 +
.../@vant/weapp/lib/tree-select/index.wxss | 1 +
.../@vant/weapp/lib/uploader/index.d.ts | 1 +
.../@vant/weapp/lib/uploader/index.js | 183 ++
.../@vant/weapp/lib/uploader/index.json | 7 +
.../@vant/weapp/lib/uploader/index.wxml | 84 +
.../@vant/weapp/lib/uploader/index.wxs | 17 +
.../@vant/weapp/lib/uploader/index.wxss | 1 +
.../@vant/weapp/lib/uploader/shared.d.ts | 53 +
.../@vant/weapp/lib/uploader/shared.js | 60 +
.../@vant/weapp/lib/uploader/utils.d.ts | 24 +
.../@vant/weapp/lib/uploader/utils.js | 112 +
node_modules/@vant/weapp/lib/wxs/add-unit.wxs | 12 +
node_modules/@vant/weapp/lib/wxs/array.wxs | 5 +
node_modules/@vant/weapp/lib/wxs/bem.wxs | 39 +
node_modules/@vant/weapp/lib/wxs/memoize.wxs | 55 +
node_modules/@vant/weapp/lib/wxs/object.wxs | 13 +
node_modules/@vant/weapp/lib/wxs/style.wxs | 42 +
node_modules/@vant/weapp/lib/wxs/utils.wxs | 10 +
node_modules/@vant/weapp/package.json | 71 +
pages/agreements/index.js | 67 -
pages/agreements/index.wxml | 2 -
pages/billList/index.js | 2 +-
pages/billList/index.wxss | 4 -
pages/home/index.js | 2 +-
pages/login/index.js | 18 +-
pages/login/index.wxml | 20 +-
pages/login/index.wxss | 2 +
project.private.config.json | 6 +-
service/user.js | 5 +
1045 files changed, 34254 insertions(+), 98 deletions(-)
rename {components => childPackage/components}/echarts/ec-canvas.js (100%)
rename {components => childPackage/components}/echarts/ec-canvas.json (100%)
rename {components => childPackage/components}/echarts/ec-canvas.wxml (100%)
rename {components => childPackage/components}/echarts/ec-canvas.wxss (100%)
rename {components => childPackage/components}/echarts/echarts.js (100%)
rename {components => childPackage/components}/echarts/wx-canvas.js (100%)
create mode 100644 childPackage/miniprogram_npm/towxml/audio-player/Audio.js
create mode 100644 childPackage/miniprogram_npm/towxml/audio-player/audio-player.js
create mode 100644 childPackage/miniprogram_npm/towxml/audio-player/audio-player.json
create mode 100644 childPackage/miniprogram_npm/towxml/audio-player/audio-player.wxml
create mode 100644 childPackage/miniprogram_npm/towxml/audio-player/audio-player.wxss
create mode 100644 childPackage/miniprogram_npm/towxml/audio-player/loading.svg
create mode 100644 childPackage/miniprogram_npm/towxml/config.js
create mode 100644 childPackage/miniprogram_npm/towxml/decode.js
create mode 100644 childPackage/miniprogram_npm/towxml/decode.json
create mode 100644 childPackage/miniprogram_npm/towxml/decode.wxml
create mode 100644 childPackage/miniprogram_npm/towxml/decode.wxss
create mode 100644 childPackage/miniprogram_npm/towxml/echarts/dark.js
create mode 100644 childPackage/miniprogram_npm/towxml/echarts/echarts.js
rename pages/agreements/index.json => childPackage/miniprogram_npm/towxml/echarts/echarts.json (56%)
create mode 100644 childPackage/miniprogram_npm/towxml/echarts/echarts.wxml
create mode 100644 childPackage/miniprogram_npm/towxml/echarts/echarts.wxss
create mode 100644 childPackage/miniprogram_npm/towxml/echarts/wx-canvas.js
create mode 100644 childPackage/miniprogram_npm/towxml/echarts/wx-echarts.js
create mode 100644 childPackage/miniprogram_npm/towxml/img/img.js
create mode 100644 childPackage/miniprogram_npm/towxml/img/img.json
create mode 100644 childPackage/miniprogram_npm/towxml/img/img.wxml
create mode 100644 childPackage/miniprogram_npm/towxml/img/img.wxss
create mode 100644 childPackage/miniprogram_npm/towxml/index.js
create mode 100644 childPackage/miniprogram_npm/towxml/index.js.map
create mode 100644 childPackage/miniprogram_npm/towxml/latex/latex.js
create mode 100644 childPackage/miniprogram_npm/towxml/latex/latex.json
create mode 100644 childPackage/miniprogram_npm/towxml/latex/latex.wxml
create mode 100644 childPackage/miniprogram_npm/towxml/latex/latex.wxss
create mode 100644 childPackage/miniprogram_npm/towxml/parse/highlight/highlight.js
create mode 100644 childPackage/miniprogram_npm/towxml/parse/highlight/index.js
create mode 100644 childPackage/miniprogram_npm/towxml/parse/highlight/languages/bash.js
create mode 100644 childPackage/miniprogram_npm/towxml/parse/highlight/languages/c-like.js
create mode 100644 childPackage/miniprogram_npm/towxml/parse/highlight/languages/c.js
create mode 100644 childPackage/miniprogram_npm/towxml/parse/highlight/languages/css.js
create mode 100644 childPackage/miniprogram_npm/towxml/parse/highlight/languages/dart.js
create mode 100644 childPackage/miniprogram_npm/towxml/parse/highlight/languages/go.js
create mode 100644 childPackage/miniprogram_npm/towxml/parse/highlight/languages/htmlbars.js
create mode 100644 childPackage/miniprogram_npm/towxml/parse/highlight/languages/java.js
create mode 100644 childPackage/miniprogram_npm/towxml/parse/highlight/languages/javascript.js
create mode 100644 childPackage/miniprogram_npm/towxml/parse/highlight/languages/json.js
create mode 100644 childPackage/miniprogram_npm/towxml/parse/highlight/languages/less.js
create mode 100644 childPackage/miniprogram_npm/towxml/parse/highlight/languages/nginx.js
create mode 100644 childPackage/miniprogram_npm/towxml/parse/highlight/languages/php.js
create mode 100644 childPackage/miniprogram_npm/towxml/parse/highlight/languages/python-repl.js
create mode 100644 childPackage/miniprogram_npm/towxml/parse/highlight/languages/python.js
create mode 100644 childPackage/miniprogram_npm/towxml/parse/highlight/languages/scss.js
create mode 100644 childPackage/miniprogram_npm/towxml/parse/highlight/languages/shell.js
create mode 100644 childPackage/miniprogram_npm/towxml/parse/highlight/languages/typescript.js
create mode 100644 childPackage/miniprogram_npm/towxml/parse/highlight/languages/xml.js
create mode 100644 childPackage/miniprogram_npm/towxml/parse/highlight/style/github.wxss
create mode 100644 childPackage/miniprogram_npm/towxml/parse/highlight/style/monokai.wxss
create mode 100644 childPackage/miniprogram_npm/towxml/parse/index.js
create mode 100644 childPackage/miniprogram_npm/towxml/parse/markdown/index.js
create mode 100644 childPackage/miniprogram_npm/towxml/parse/markdown/markdown.js
create mode 100644 childPackage/miniprogram_npm/towxml/parse/markdown/plugins/echarts.js
create mode 100644 childPackage/miniprogram_npm/towxml/parse/markdown/plugins/emoji.js
create mode 100644 childPackage/miniprogram_npm/towxml/parse/markdown/plugins/ins.js
create mode 100644 childPackage/miniprogram_npm/towxml/parse/markdown/plugins/latex.js
create mode 100644 childPackage/miniprogram_npm/towxml/parse/markdown/plugins/mark.js
create mode 100644 childPackage/miniprogram_npm/towxml/parse/markdown/plugins/sub.js
create mode 100644 childPackage/miniprogram_npm/towxml/parse/markdown/plugins/sup.js
create mode 100644 childPackage/miniprogram_npm/towxml/parse/markdown/plugins/todo.js
create mode 100644 childPackage/miniprogram_npm/towxml/parse/markdown/plugins/yuml.js
create mode 100644 childPackage/miniprogram_npm/towxml/parse/parse2/Parser.js
create mode 100644 childPackage/miniprogram_npm/towxml/parse/parse2/Tokenizer.js
create mode 100644 childPackage/miniprogram_npm/towxml/parse/parse2/domelementtype/index.js
create mode 100644 childPackage/miniprogram_npm/towxml/parse/parse2/domhandler/index.js
create mode 100644 childPackage/miniprogram_npm/towxml/parse/parse2/domhandler/node.js
create mode 100644 childPackage/miniprogram_npm/towxml/parse/parse2/entities/decode.js
create mode 100644 childPackage/miniprogram_npm/towxml/parse/parse2/entities/decode_codepoint.js
create mode 100644 childPackage/miniprogram_npm/towxml/parse/parse2/entities/encode.js
create mode 100644 childPackage/miniprogram_npm/towxml/parse/parse2/entities/escape.js
create mode 100644 childPackage/miniprogram_npm/towxml/parse/parse2/entities/generated/decode-data-html.js
create mode 100644 childPackage/miniprogram_npm/towxml/parse/parse2/entities/generated/decode-data-xml.js
create mode 100644 childPackage/miniprogram_npm/towxml/parse/parse2/entities/generated/encode-html.js
create mode 100644 childPackage/miniprogram_npm/towxml/parse/parse2/entities/index.js
create mode 100644 childPackage/miniprogram_npm/towxml/parse/parse2/index.js
create mode 100644 childPackage/miniprogram_npm/towxml/style/main.wxss
create mode 100644 childPackage/miniprogram_npm/towxml/style/theme/dark.wxss
create mode 100644 childPackage/miniprogram_npm/towxml/style/theme/light.wxss
create mode 100644 childPackage/miniprogram_npm/towxml/table/table.js
create mode 100644 childPackage/miniprogram_npm/towxml/table/table.json
create mode 100644 childPackage/miniprogram_npm/towxml/table/table.wxml
create mode 100644 childPackage/miniprogram_npm/towxml/table/table.wxss
create mode 100644 childPackage/miniprogram_npm/towxml/todogroup/todogroup.js
create mode 100644 childPackage/miniprogram_npm/towxml/todogroup/todogroup.json
create mode 100644 childPackage/miniprogram_npm/towxml/todogroup/todogroup.wxml
create mode 100644 childPackage/miniprogram_npm/towxml/todogroup/todogroup.wxss
create mode 100644 childPackage/miniprogram_npm/towxml/towxml.js
create mode 100644 childPackage/miniprogram_npm/towxml/towxml.json
create mode 100644 childPackage/miniprogram_npm/towxml/towxml.wxml
create mode 100644 childPackage/miniprogram_npm/towxml/towxml.wxss
create mode 100644 childPackage/miniprogram_npm/towxml/yuml/yuml.js
create mode 100644 childPackage/miniprogram_npm/towxml/yuml/yuml.json
create mode 100644 childPackage/miniprogram_npm/towxml/yuml/yuml.wxml
create mode 100644 childPackage/miniprogram_npm/towxml/yuml/yuml.wxss
create mode 100644 childPackage/pages/agreements/index.js
create mode 100644 childPackage/pages/agreements/index.json
create mode 100644 childPackage/pages/agreements/index.wxml
rename {pages => childPackage/pages}/agreements/index.wxss (100%)
rename {pages => childPackage/pages}/billDetail/index.js (96%)
rename {pages => childPackage/pages}/billDetail/index.json (83%)
rename {pages => childPackage/pages}/billDetail/index.wxml (100%)
rename {pages => childPackage/pages}/billDetail/index.wxss (98%)
rename {pages => childPackage/pages}/electricQuery/components/accountingCard/index.js (100%)
rename {pages => childPackage/pages}/electricQuery/components/accountingCard/index.json (100%)
rename {pages => childPackage/pages}/electricQuery/components/accountingCard/index.wxml (100%)
rename {pages => childPackage/pages}/electricQuery/components/accountingCard/index.wxss (100%)
rename {pages => childPackage/pages}/electricQuery/index.js (96%)
rename {pages => childPackage/pages}/electricQuery/index.json (89%)
rename {pages => childPackage/pages}/electricQuery/index.wxml (100%)
rename {pages => childPackage/pages}/electricQuery/index.wxss (100%)
create mode 100644 miniprogram_npm/fs-extra/index.js
create mode 100644 miniprogram_npm/fs-extra/index.js.map
create mode 100644 miniprogram_npm/graceful-fs/index.js
create mode 100644 miniprogram_npm/graceful-fs/index.js.map
create mode 100644 miniprogram_npm/jsonfile/index.js
create mode 100644 miniprogram_npm/jsonfile/index.js.map
create mode 100644 miniprogram_npm/universalify/index.js
create mode 100644 miniprogram_npm/universalify/index.js.map
create mode 100644 node_modules/.package-lock.json
create mode 100644 node_modules/@vant/weapp/LICENSE
create mode 100644 node_modules/@vant/weapp/README.md
create mode 100644 node_modules/@vant/weapp/dist/action-sheet/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/action-sheet/index.js
create mode 100644 node_modules/@vant/weapp/dist/action-sheet/index.json
create mode 100644 node_modules/@vant/weapp/dist/action-sheet/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/action-sheet/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/area/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/area/index.js
create mode 100644 node_modules/@vant/weapp/dist/area/index.json
create mode 100644 node_modules/@vant/weapp/dist/area/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/area/index.wxs
create mode 100644 node_modules/@vant/weapp/dist/area/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/button/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/button/index.js
create mode 100644 node_modules/@vant/weapp/dist/button/index.json
create mode 100644 node_modules/@vant/weapp/dist/button/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/button/index.wxs
create mode 100644 node_modules/@vant/weapp/dist/button/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/calendar/calendar.wxml
create mode 100644 node_modules/@vant/weapp/dist/calendar/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/calendar/index.js
create mode 100644 node_modules/@vant/weapp/dist/calendar/index.json
create mode 100644 node_modules/@vant/weapp/dist/calendar/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/calendar/index.wxs
create mode 100644 node_modules/@vant/weapp/dist/calendar/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/calendar/utils.d.ts
create mode 100644 node_modules/@vant/weapp/dist/calendar/utils.js
create mode 100644 node_modules/@vant/weapp/dist/calendar/utils.wxs
create mode 100644 node_modules/@vant/weapp/dist/card/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/card/index.js
create mode 100644 node_modules/@vant/weapp/dist/card/index.json
create mode 100644 node_modules/@vant/weapp/dist/card/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/card/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/cascader/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/cascader/index.js
create mode 100644 node_modules/@vant/weapp/dist/cascader/index.json
create mode 100644 node_modules/@vant/weapp/dist/cascader/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/cascader/index.wxs
create mode 100644 node_modules/@vant/weapp/dist/cascader/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/cell-group/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/cell-group/index.js
create mode 100644 node_modules/@vant/weapp/dist/cell-group/index.json
create mode 100644 node_modules/@vant/weapp/dist/cell-group/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/cell-group/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/cell/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/cell/index.js
create mode 100644 node_modules/@vant/weapp/dist/cell/index.json
create mode 100644 node_modules/@vant/weapp/dist/cell/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/cell/index.wxs
create mode 100644 node_modules/@vant/weapp/dist/cell/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/checkbox-group/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/checkbox-group/index.js
create mode 100644 node_modules/@vant/weapp/dist/checkbox-group/index.json
create mode 100644 node_modules/@vant/weapp/dist/checkbox-group/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/checkbox-group/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/checkbox/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/checkbox/index.js
create mode 100644 node_modules/@vant/weapp/dist/checkbox/index.json
create mode 100644 node_modules/@vant/weapp/dist/checkbox/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/checkbox/index.wxs
create mode 100644 node_modules/@vant/weapp/dist/checkbox/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/circle/canvas.d.ts
create mode 100644 node_modules/@vant/weapp/dist/circle/canvas.js
create mode 100644 node_modules/@vant/weapp/dist/circle/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/circle/index.js
create mode 100644 node_modules/@vant/weapp/dist/circle/index.json
create mode 100644 node_modules/@vant/weapp/dist/circle/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/circle/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/col/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/col/index.js
create mode 100644 node_modules/@vant/weapp/dist/col/index.json
create mode 100644 node_modules/@vant/weapp/dist/col/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/col/index.wxs
create mode 100644 node_modules/@vant/weapp/dist/col/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/collapse-item/animate.d.ts
create mode 100644 node_modules/@vant/weapp/dist/collapse-item/animate.js
create mode 100644 node_modules/@vant/weapp/dist/collapse-item/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/collapse-item/index.js
create mode 100644 node_modules/@vant/weapp/dist/collapse-item/index.json
create mode 100644 node_modules/@vant/weapp/dist/collapse-item/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/collapse-item/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/collapse/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/collapse/index.js
create mode 100644 node_modules/@vant/weapp/dist/collapse/index.json
create mode 100644 node_modules/@vant/weapp/dist/collapse/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/collapse/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/common/color.d.ts
create mode 100644 node_modules/@vant/weapp/dist/common/color.js
create mode 100644 node_modules/@vant/weapp/dist/common/component.d.ts
create mode 100644 node_modules/@vant/weapp/dist/common/component.js
create mode 100644 node_modules/@vant/weapp/dist/common/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/common/relation.d.ts
create mode 100644 node_modules/@vant/weapp/dist/common/relation.js
create mode 100644 node_modules/@vant/weapp/dist/common/style/clearfix.wxss
create mode 100644 node_modules/@vant/weapp/dist/common/style/ellipsis.wxss
create mode 100644 node_modules/@vant/weapp/dist/common/style/hairline.wxss
create mode 100644 node_modules/@vant/weapp/dist/common/style/var.wxss
create mode 100644 node_modules/@vant/weapp/dist/common/utils.d.ts
create mode 100644 node_modules/@vant/weapp/dist/common/utils.js
create mode 100644 node_modules/@vant/weapp/dist/common/validator.d.ts
create mode 100644 node_modules/@vant/weapp/dist/common/validator.js
create mode 100644 node_modules/@vant/weapp/dist/common/version.d.ts
create mode 100644 node_modules/@vant/weapp/dist/common/version.js
create mode 100644 node_modules/@vant/weapp/dist/config-provider/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/config-provider/index.js
create mode 100644 node_modules/@vant/weapp/dist/config-provider/index.json
create mode 100644 node_modules/@vant/weapp/dist/config-provider/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/config-provider/index.wxs
create mode 100644 node_modules/@vant/weapp/dist/count-down/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/count-down/index.js
create mode 100644 node_modules/@vant/weapp/dist/count-down/index.json
create mode 100644 node_modules/@vant/weapp/dist/count-down/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/count-down/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/count-down/utils.d.ts
create mode 100644 node_modules/@vant/weapp/dist/count-down/utils.js
create mode 100644 node_modules/@vant/weapp/dist/datetime-picker/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/datetime-picker/index.js
create mode 100644 node_modules/@vant/weapp/dist/datetime-picker/index.json
create mode 100644 node_modules/@vant/weapp/dist/datetime-picker/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/datetime-picker/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/definitions/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/definitions/index.js
create mode 100644 node_modules/@vant/weapp/dist/dialog/dialog.d.ts
create mode 100644 node_modules/@vant/weapp/dist/dialog/dialog.js
create mode 100644 node_modules/@vant/weapp/dist/dialog/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/dialog/index.js
create mode 100644 node_modules/@vant/weapp/dist/dialog/index.json
create mode 100644 node_modules/@vant/weapp/dist/dialog/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/dialog/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/divider/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/divider/index.js
create mode 100644 node_modules/@vant/weapp/dist/divider/index.json
create mode 100644 node_modules/@vant/weapp/dist/divider/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/divider/index.wxs
create mode 100644 node_modules/@vant/weapp/dist/divider/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/dropdown-item/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/dropdown-item/index.js
create mode 100644 node_modules/@vant/weapp/dist/dropdown-item/index.json
create mode 100644 node_modules/@vant/weapp/dist/dropdown-item/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/dropdown-item/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/dropdown-item/shared.d.ts
create mode 100644 node_modules/@vant/weapp/dist/dropdown-item/shared.js
create mode 100644 node_modules/@vant/weapp/dist/dropdown-menu/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/dropdown-menu/index.js
create mode 100644 node_modules/@vant/weapp/dist/dropdown-menu/index.json
create mode 100644 node_modules/@vant/weapp/dist/dropdown-menu/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/dropdown-menu/index.wxs
create mode 100644 node_modules/@vant/weapp/dist/dropdown-menu/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/empty/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/empty/index.js
create mode 100644 node_modules/@vant/weapp/dist/empty/index.json
create mode 100644 node_modules/@vant/weapp/dist/empty/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/empty/index.wxs
create mode 100644 node_modules/@vant/weapp/dist/empty/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/field/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/field/index.js
create mode 100644 node_modules/@vant/weapp/dist/field/index.json
create mode 100644 node_modules/@vant/weapp/dist/field/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/field/index.wxs
create mode 100644 node_modules/@vant/weapp/dist/field/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/field/input.wxml
create mode 100644 node_modules/@vant/weapp/dist/field/props.d.ts
create mode 100644 node_modules/@vant/weapp/dist/field/props.js
create mode 100644 node_modules/@vant/weapp/dist/field/textarea.wxml
create mode 100644 node_modules/@vant/weapp/dist/field/types.d.ts
create mode 100644 node_modules/@vant/weapp/dist/field/types.js
create mode 100644 node_modules/@vant/weapp/dist/goods-action-button/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/goods-action-button/index.js
create mode 100644 node_modules/@vant/weapp/dist/goods-action-button/index.json
create mode 100644 node_modules/@vant/weapp/dist/goods-action-button/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/goods-action-button/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/goods-action-icon/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/goods-action-icon/index.js
create mode 100644 node_modules/@vant/weapp/dist/goods-action-icon/index.json
create mode 100644 node_modules/@vant/weapp/dist/goods-action-icon/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/goods-action-icon/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/goods-action/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/goods-action/index.js
create mode 100644 node_modules/@vant/weapp/dist/goods-action/index.json
create mode 100644 node_modules/@vant/weapp/dist/goods-action/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/goods-action/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/grid-item/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/grid-item/index.js
create mode 100644 node_modules/@vant/weapp/dist/grid-item/index.json
create mode 100644 node_modules/@vant/weapp/dist/grid-item/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/grid-item/index.wxs
create mode 100644 node_modules/@vant/weapp/dist/grid-item/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/grid/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/grid/index.js
create mode 100644 node_modules/@vant/weapp/dist/grid/index.json
create mode 100644 node_modules/@vant/weapp/dist/grid/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/grid/index.wxs
create mode 100644 node_modules/@vant/weapp/dist/grid/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/icon/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/icon/index.js
create mode 100644 node_modules/@vant/weapp/dist/icon/index.json
create mode 100644 node_modules/@vant/weapp/dist/icon/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/icon/index.wxs
create mode 100644 node_modules/@vant/weapp/dist/icon/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/image/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/image/index.js
create mode 100644 node_modules/@vant/weapp/dist/image/index.json
create mode 100644 node_modules/@vant/weapp/dist/image/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/image/index.wxs
create mode 100644 node_modules/@vant/weapp/dist/image/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/index-anchor/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/index-anchor/index.js
create mode 100644 node_modules/@vant/weapp/dist/index-anchor/index.json
create mode 100644 node_modules/@vant/weapp/dist/index-anchor/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/index-anchor/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/index-bar/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/index-bar/index.js
create mode 100644 node_modules/@vant/weapp/dist/index-bar/index.json
create mode 100644 node_modules/@vant/weapp/dist/index-bar/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/index-bar/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/info/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/info/index.js
create mode 100644 node_modules/@vant/weapp/dist/info/index.json
create mode 100644 node_modules/@vant/weapp/dist/info/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/info/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/loading/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/loading/index.js
create mode 100644 node_modules/@vant/weapp/dist/loading/index.json
create mode 100644 node_modules/@vant/weapp/dist/loading/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/loading/index.wxs
create mode 100644 node_modules/@vant/weapp/dist/loading/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/mixins/basic.d.ts
create mode 100644 node_modules/@vant/weapp/dist/mixins/basic.js
create mode 100644 node_modules/@vant/weapp/dist/mixins/button.d.ts
create mode 100644 node_modules/@vant/weapp/dist/mixins/button.js
create mode 100644 node_modules/@vant/weapp/dist/mixins/link.d.ts
create mode 100644 node_modules/@vant/weapp/dist/mixins/link.js
create mode 100644 node_modules/@vant/weapp/dist/mixins/page-scroll.d.ts
create mode 100644 node_modules/@vant/weapp/dist/mixins/page-scroll.js
create mode 100644 node_modules/@vant/weapp/dist/mixins/touch.d.ts
create mode 100644 node_modules/@vant/weapp/dist/mixins/touch.js
create mode 100644 node_modules/@vant/weapp/dist/mixins/transition.d.ts
create mode 100644 node_modules/@vant/weapp/dist/mixins/transition.js
create mode 100644 node_modules/@vant/weapp/dist/nav-bar/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/nav-bar/index.js
create mode 100644 node_modules/@vant/weapp/dist/nav-bar/index.json
create mode 100644 node_modules/@vant/weapp/dist/nav-bar/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/nav-bar/index.wxs
create mode 100644 node_modules/@vant/weapp/dist/nav-bar/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/notice-bar/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/notice-bar/index.js
create mode 100644 node_modules/@vant/weapp/dist/notice-bar/index.json
create mode 100644 node_modules/@vant/weapp/dist/notice-bar/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/notice-bar/index.wxs
create mode 100644 node_modules/@vant/weapp/dist/notice-bar/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/notify/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/notify/index.js
create mode 100644 node_modules/@vant/weapp/dist/notify/index.json
create mode 100644 node_modules/@vant/weapp/dist/notify/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/notify/index.wxs
create mode 100644 node_modules/@vant/weapp/dist/notify/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/notify/notify.d.ts
create mode 100644 node_modules/@vant/weapp/dist/notify/notify.js
create mode 100644 node_modules/@vant/weapp/dist/overlay/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/overlay/index.js
create mode 100644 node_modules/@vant/weapp/dist/overlay/index.json
create mode 100644 node_modules/@vant/weapp/dist/overlay/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/overlay/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/overlay/overlay.wxml
create mode 100644 node_modules/@vant/weapp/dist/panel/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/panel/index.js
create mode 100644 node_modules/@vant/weapp/dist/panel/index.json
create mode 100644 node_modules/@vant/weapp/dist/panel/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/panel/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/picker-column/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/picker-column/index.js
create mode 100644 node_modules/@vant/weapp/dist/picker-column/index.json
create mode 100644 node_modules/@vant/weapp/dist/picker-column/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/picker-column/index.wxs
create mode 100644 node_modules/@vant/weapp/dist/picker-column/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/picker/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/picker/index.js
create mode 100644 node_modules/@vant/weapp/dist/picker/index.json
create mode 100644 node_modules/@vant/weapp/dist/picker/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/picker/index.wxs
create mode 100644 node_modules/@vant/weapp/dist/picker/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/picker/shared.d.ts
create mode 100644 node_modules/@vant/weapp/dist/picker/shared.js
create mode 100644 node_modules/@vant/weapp/dist/picker/toolbar.wxml
create mode 100644 node_modules/@vant/weapp/dist/popup/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/popup/index.js
create mode 100644 node_modules/@vant/weapp/dist/popup/index.json
create mode 100644 node_modules/@vant/weapp/dist/popup/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/popup/index.wxs
create mode 100644 node_modules/@vant/weapp/dist/popup/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/popup/popup.wxml
create mode 100644 node_modules/@vant/weapp/dist/progress/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/progress/index.js
create mode 100644 node_modules/@vant/weapp/dist/progress/index.json
create mode 100644 node_modules/@vant/weapp/dist/progress/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/progress/index.wxs
create mode 100644 node_modules/@vant/weapp/dist/progress/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/radio-group/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/radio-group/index.js
create mode 100644 node_modules/@vant/weapp/dist/radio-group/index.json
create mode 100644 node_modules/@vant/weapp/dist/radio-group/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/radio-group/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/radio/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/radio/index.js
create mode 100644 node_modules/@vant/weapp/dist/radio/index.json
create mode 100644 node_modules/@vant/weapp/dist/radio/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/radio/index.wxs
create mode 100644 node_modules/@vant/weapp/dist/radio/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/rate/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/rate/index.js
create mode 100644 node_modules/@vant/weapp/dist/rate/index.json
create mode 100644 node_modules/@vant/weapp/dist/rate/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/rate/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/row/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/row/index.js
create mode 100644 node_modules/@vant/weapp/dist/row/index.json
create mode 100644 node_modules/@vant/weapp/dist/row/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/row/index.wxs
create mode 100644 node_modules/@vant/weapp/dist/row/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/search/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/search/index.js
create mode 100644 node_modules/@vant/weapp/dist/search/index.json
create mode 100644 node_modules/@vant/weapp/dist/search/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/search/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/share-sheet/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/share-sheet/index.js
create mode 100644 node_modules/@vant/weapp/dist/share-sheet/index.json
create mode 100644 node_modules/@vant/weapp/dist/share-sheet/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/share-sheet/index.wxs
create mode 100644 node_modules/@vant/weapp/dist/share-sheet/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/share-sheet/options.d.ts
create mode 100644 node_modules/@vant/weapp/dist/share-sheet/options.js
create mode 100644 node_modules/@vant/weapp/dist/share-sheet/options.json
create mode 100644 node_modules/@vant/weapp/dist/share-sheet/options.wxml
create mode 100644 node_modules/@vant/weapp/dist/share-sheet/options.wxs
create mode 100644 node_modules/@vant/weapp/dist/share-sheet/options.wxss
create mode 100644 node_modules/@vant/weapp/dist/sidebar-item/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/sidebar-item/index.js
create mode 100644 node_modules/@vant/weapp/dist/sidebar-item/index.json
create mode 100644 node_modules/@vant/weapp/dist/sidebar-item/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/sidebar-item/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/sidebar/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/sidebar/index.js
create mode 100644 node_modules/@vant/weapp/dist/sidebar/index.json
create mode 100644 node_modules/@vant/weapp/dist/sidebar/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/sidebar/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/skeleton/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/skeleton/index.js
create mode 100644 node_modules/@vant/weapp/dist/skeleton/index.json
create mode 100644 node_modules/@vant/weapp/dist/skeleton/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/skeleton/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/slider/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/slider/index.js
create mode 100644 node_modules/@vant/weapp/dist/slider/index.json
create mode 100644 node_modules/@vant/weapp/dist/slider/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/slider/index.wxs
create mode 100644 node_modules/@vant/weapp/dist/slider/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/stepper/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/stepper/index.js
create mode 100644 node_modules/@vant/weapp/dist/stepper/index.json
create mode 100644 node_modules/@vant/weapp/dist/stepper/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/stepper/index.wxs
create mode 100644 node_modules/@vant/weapp/dist/stepper/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/steps/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/steps/index.js
create mode 100644 node_modules/@vant/weapp/dist/steps/index.json
create mode 100644 node_modules/@vant/weapp/dist/steps/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/steps/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/sticky/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/sticky/index.js
create mode 100644 node_modules/@vant/weapp/dist/sticky/index.json
create mode 100644 node_modules/@vant/weapp/dist/sticky/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/sticky/index.wxs
create mode 100644 node_modules/@vant/weapp/dist/sticky/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/submit-bar/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/submit-bar/index.js
create mode 100644 node_modules/@vant/weapp/dist/submit-bar/index.json
create mode 100644 node_modules/@vant/weapp/dist/submit-bar/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/submit-bar/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/swipe-cell/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/swipe-cell/index.js
create mode 100644 node_modules/@vant/weapp/dist/swipe-cell/index.json
create mode 100644 node_modules/@vant/weapp/dist/swipe-cell/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/swipe-cell/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/switch/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/switch/index.js
create mode 100644 node_modules/@vant/weapp/dist/switch/index.json
create mode 100644 node_modules/@vant/weapp/dist/switch/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/switch/index.wxs
create mode 100644 node_modules/@vant/weapp/dist/switch/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/tab/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/tab/index.js
create mode 100644 node_modules/@vant/weapp/dist/tab/index.json
create mode 100644 node_modules/@vant/weapp/dist/tab/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/tab/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/tabbar-item/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/tabbar-item/index.js
create mode 100644 node_modules/@vant/weapp/dist/tabbar-item/index.json
create mode 100644 node_modules/@vant/weapp/dist/tabbar-item/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/tabbar-item/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/tabbar/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/tabbar/index.js
create mode 100644 node_modules/@vant/weapp/dist/tabbar/index.json
create mode 100644 node_modules/@vant/weapp/dist/tabbar/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/tabbar/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/tabs/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/tabs/index.js
create mode 100644 node_modules/@vant/weapp/dist/tabs/index.json
create mode 100644 node_modules/@vant/weapp/dist/tabs/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/tabs/index.wxs
create mode 100644 node_modules/@vant/weapp/dist/tabs/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/tag/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/tag/index.js
create mode 100644 node_modules/@vant/weapp/dist/tag/index.json
create mode 100644 node_modules/@vant/weapp/dist/tag/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/tag/index.wxs
create mode 100644 node_modules/@vant/weapp/dist/tag/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/toast/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/toast/index.js
create mode 100644 node_modules/@vant/weapp/dist/toast/index.json
create mode 100644 node_modules/@vant/weapp/dist/toast/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/toast/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/toast/toast.d.ts
create mode 100644 node_modules/@vant/weapp/dist/toast/toast.js
create mode 100644 node_modules/@vant/weapp/dist/transition/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/transition/index.js
create mode 100644 node_modules/@vant/weapp/dist/transition/index.json
create mode 100644 node_modules/@vant/weapp/dist/transition/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/transition/index.wxs
create mode 100644 node_modules/@vant/weapp/dist/transition/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/tree-select/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/tree-select/index.js
create mode 100644 node_modules/@vant/weapp/dist/tree-select/index.json
create mode 100644 node_modules/@vant/weapp/dist/tree-select/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/tree-select/index.wxs
create mode 100644 node_modules/@vant/weapp/dist/tree-select/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/uploader/index.d.ts
create mode 100644 node_modules/@vant/weapp/dist/uploader/index.js
create mode 100644 node_modules/@vant/weapp/dist/uploader/index.json
create mode 100644 node_modules/@vant/weapp/dist/uploader/index.wxml
create mode 100644 node_modules/@vant/weapp/dist/uploader/index.wxs
create mode 100644 node_modules/@vant/weapp/dist/uploader/index.wxss
create mode 100644 node_modules/@vant/weapp/dist/uploader/shared.d.ts
create mode 100644 node_modules/@vant/weapp/dist/uploader/shared.js
create mode 100644 node_modules/@vant/weapp/dist/uploader/utils.d.ts
create mode 100644 node_modules/@vant/weapp/dist/uploader/utils.js
create mode 100644 node_modules/@vant/weapp/dist/wxs/add-unit.wxs
create mode 100644 node_modules/@vant/weapp/dist/wxs/array.wxs
create mode 100644 node_modules/@vant/weapp/dist/wxs/bem.wxs
create mode 100644 node_modules/@vant/weapp/dist/wxs/memoize.wxs
create mode 100644 node_modules/@vant/weapp/dist/wxs/object.wxs
create mode 100644 node_modules/@vant/weapp/dist/wxs/style.wxs
create mode 100644 node_modules/@vant/weapp/dist/wxs/utils.wxs
create mode 100644 node_modules/@vant/weapp/lib/action-sheet/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/action-sheet/index.js
create mode 100644 node_modules/@vant/weapp/lib/action-sheet/index.json
create mode 100644 node_modules/@vant/weapp/lib/action-sheet/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/action-sheet/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/area/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/area/index.js
create mode 100644 node_modules/@vant/weapp/lib/area/index.json
create mode 100644 node_modules/@vant/weapp/lib/area/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/area/index.wxs
create mode 100644 node_modules/@vant/weapp/lib/area/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/button/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/button/index.js
create mode 100644 node_modules/@vant/weapp/lib/button/index.json
create mode 100644 node_modules/@vant/weapp/lib/button/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/button/index.wxs
create mode 100644 node_modules/@vant/weapp/lib/button/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/calendar/calendar.wxml
create mode 100644 node_modules/@vant/weapp/lib/calendar/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/calendar/index.js
create mode 100644 node_modules/@vant/weapp/lib/calendar/index.json
create mode 100644 node_modules/@vant/weapp/lib/calendar/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/calendar/index.wxs
create mode 100644 node_modules/@vant/weapp/lib/calendar/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/calendar/utils.d.ts
create mode 100644 node_modules/@vant/weapp/lib/calendar/utils.js
create mode 100644 node_modules/@vant/weapp/lib/calendar/utils.wxs
create mode 100644 node_modules/@vant/weapp/lib/card/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/card/index.js
create mode 100644 node_modules/@vant/weapp/lib/card/index.json
create mode 100644 node_modules/@vant/weapp/lib/card/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/card/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/cascader/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/cascader/index.js
create mode 100644 node_modules/@vant/weapp/lib/cascader/index.json
create mode 100644 node_modules/@vant/weapp/lib/cascader/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/cascader/index.wxs
create mode 100644 node_modules/@vant/weapp/lib/cascader/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/cell-group/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/cell-group/index.js
create mode 100644 node_modules/@vant/weapp/lib/cell-group/index.json
create mode 100644 node_modules/@vant/weapp/lib/cell-group/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/cell-group/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/cell/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/cell/index.js
create mode 100644 node_modules/@vant/weapp/lib/cell/index.json
create mode 100644 node_modules/@vant/weapp/lib/cell/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/cell/index.wxs
create mode 100644 node_modules/@vant/weapp/lib/cell/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/checkbox-group/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/checkbox-group/index.js
create mode 100644 node_modules/@vant/weapp/lib/checkbox-group/index.json
create mode 100644 node_modules/@vant/weapp/lib/checkbox-group/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/checkbox-group/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/checkbox/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/checkbox/index.js
create mode 100644 node_modules/@vant/weapp/lib/checkbox/index.json
create mode 100644 node_modules/@vant/weapp/lib/checkbox/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/checkbox/index.wxs
create mode 100644 node_modules/@vant/weapp/lib/checkbox/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/circle/canvas.d.ts
create mode 100644 node_modules/@vant/weapp/lib/circle/canvas.js
create mode 100644 node_modules/@vant/weapp/lib/circle/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/circle/index.js
create mode 100644 node_modules/@vant/weapp/lib/circle/index.json
create mode 100644 node_modules/@vant/weapp/lib/circle/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/circle/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/col/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/col/index.js
create mode 100644 node_modules/@vant/weapp/lib/col/index.json
create mode 100644 node_modules/@vant/weapp/lib/col/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/col/index.wxs
create mode 100644 node_modules/@vant/weapp/lib/col/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/collapse-item/animate.d.ts
create mode 100644 node_modules/@vant/weapp/lib/collapse-item/animate.js
create mode 100644 node_modules/@vant/weapp/lib/collapse-item/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/collapse-item/index.js
create mode 100644 node_modules/@vant/weapp/lib/collapse-item/index.json
create mode 100644 node_modules/@vant/weapp/lib/collapse-item/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/collapse-item/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/collapse/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/collapse/index.js
create mode 100644 node_modules/@vant/weapp/lib/collapse/index.json
create mode 100644 node_modules/@vant/weapp/lib/collapse/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/collapse/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/common/color.d.ts
create mode 100644 node_modules/@vant/weapp/lib/common/color.js
create mode 100644 node_modules/@vant/weapp/lib/common/component.d.ts
create mode 100644 node_modules/@vant/weapp/lib/common/component.js
create mode 100644 node_modules/@vant/weapp/lib/common/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/common/relation.d.ts
create mode 100644 node_modules/@vant/weapp/lib/common/relation.js
create mode 100644 node_modules/@vant/weapp/lib/common/style/clearfix.wxss
create mode 100644 node_modules/@vant/weapp/lib/common/style/ellipsis.wxss
create mode 100644 node_modules/@vant/weapp/lib/common/style/hairline.wxss
create mode 100644 node_modules/@vant/weapp/lib/common/style/var.wxss
create mode 100644 node_modules/@vant/weapp/lib/common/utils.d.ts
create mode 100644 node_modules/@vant/weapp/lib/common/utils.js
create mode 100644 node_modules/@vant/weapp/lib/common/validator.d.ts
create mode 100644 node_modules/@vant/weapp/lib/common/validator.js
create mode 100644 node_modules/@vant/weapp/lib/common/version.d.ts
create mode 100644 node_modules/@vant/weapp/lib/common/version.js
create mode 100644 node_modules/@vant/weapp/lib/config-provider/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/config-provider/index.js
create mode 100644 node_modules/@vant/weapp/lib/config-provider/index.json
create mode 100644 node_modules/@vant/weapp/lib/config-provider/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/config-provider/index.wxs
create mode 100644 node_modules/@vant/weapp/lib/count-down/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/count-down/index.js
create mode 100644 node_modules/@vant/weapp/lib/count-down/index.json
create mode 100644 node_modules/@vant/weapp/lib/count-down/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/count-down/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/count-down/utils.d.ts
create mode 100644 node_modules/@vant/weapp/lib/count-down/utils.js
create mode 100644 node_modules/@vant/weapp/lib/datetime-picker/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/datetime-picker/index.js
create mode 100644 node_modules/@vant/weapp/lib/datetime-picker/index.json
create mode 100644 node_modules/@vant/weapp/lib/datetime-picker/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/datetime-picker/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/definitions/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/definitions/index.js
create mode 100644 node_modules/@vant/weapp/lib/dialog/dialog.d.ts
create mode 100644 node_modules/@vant/weapp/lib/dialog/dialog.js
create mode 100644 node_modules/@vant/weapp/lib/dialog/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/dialog/index.js
create mode 100644 node_modules/@vant/weapp/lib/dialog/index.json
create mode 100644 node_modules/@vant/weapp/lib/dialog/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/dialog/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/divider/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/divider/index.js
create mode 100644 node_modules/@vant/weapp/lib/divider/index.json
create mode 100644 node_modules/@vant/weapp/lib/divider/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/divider/index.wxs
create mode 100644 node_modules/@vant/weapp/lib/divider/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/dropdown-item/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/dropdown-item/index.js
create mode 100644 node_modules/@vant/weapp/lib/dropdown-item/index.json
create mode 100644 node_modules/@vant/weapp/lib/dropdown-item/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/dropdown-item/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/dropdown-item/shared.d.ts
create mode 100644 node_modules/@vant/weapp/lib/dropdown-item/shared.js
create mode 100644 node_modules/@vant/weapp/lib/dropdown-menu/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/dropdown-menu/index.js
create mode 100644 node_modules/@vant/weapp/lib/dropdown-menu/index.json
create mode 100644 node_modules/@vant/weapp/lib/dropdown-menu/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/dropdown-menu/index.wxs
create mode 100644 node_modules/@vant/weapp/lib/dropdown-menu/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/empty/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/empty/index.js
create mode 100644 node_modules/@vant/weapp/lib/empty/index.json
create mode 100644 node_modules/@vant/weapp/lib/empty/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/empty/index.wxs
create mode 100644 node_modules/@vant/weapp/lib/empty/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/field/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/field/index.js
create mode 100644 node_modules/@vant/weapp/lib/field/index.json
create mode 100644 node_modules/@vant/weapp/lib/field/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/field/index.wxs
create mode 100644 node_modules/@vant/weapp/lib/field/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/field/input.wxml
create mode 100644 node_modules/@vant/weapp/lib/field/props.d.ts
create mode 100644 node_modules/@vant/weapp/lib/field/props.js
create mode 100644 node_modules/@vant/weapp/lib/field/textarea.wxml
create mode 100644 node_modules/@vant/weapp/lib/field/types.d.ts
create mode 100644 node_modules/@vant/weapp/lib/field/types.js
create mode 100644 node_modules/@vant/weapp/lib/goods-action-button/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/goods-action-button/index.js
create mode 100644 node_modules/@vant/weapp/lib/goods-action-button/index.json
create mode 100644 node_modules/@vant/weapp/lib/goods-action-button/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/goods-action-button/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/goods-action-icon/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/goods-action-icon/index.js
create mode 100644 node_modules/@vant/weapp/lib/goods-action-icon/index.json
create mode 100644 node_modules/@vant/weapp/lib/goods-action-icon/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/goods-action-icon/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/goods-action/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/goods-action/index.js
create mode 100644 node_modules/@vant/weapp/lib/goods-action/index.json
create mode 100644 node_modules/@vant/weapp/lib/goods-action/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/goods-action/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/grid-item/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/grid-item/index.js
create mode 100644 node_modules/@vant/weapp/lib/grid-item/index.json
create mode 100644 node_modules/@vant/weapp/lib/grid-item/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/grid-item/index.wxs
create mode 100644 node_modules/@vant/weapp/lib/grid-item/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/grid/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/grid/index.js
create mode 100644 node_modules/@vant/weapp/lib/grid/index.json
create mode 100644 node_modules/@vant/weapp/lib/grid/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/grid/index.wxs
create mode 100644 node_modules/@vant/weapp/lib/grid/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/icon/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/icon/index.js
create mode 100644 node_modules/@vant/weapp/lib/icon/index.json
create mode 100644 node_modules/@vant/weapp/lib/icon/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/icon/index.wxs
create mode 100644 node_modules/@vant/weapp/lib/icon/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/image/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/image/index.js
create mode 100644 node_modules/@vant/weapp/lib/image/index.json
create mode 100644 node_modules/@vant/weapp/lib/image/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/image/index.wxs
create mode 100644 node_modules/@vant/weapp/lib/image/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/index-anchor/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/index-anchor/index.js
create mode 100644 node_modules/@vant/weapp/lib/index-anchor/index.json
create mode 100644 node_modules/@vant/weapp/lib/index-anchor/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/index-anchor/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/index-bar/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/index-bar/index.js
create mode 100644 node_modules/@vant/weapp/lib/index-bar/index.json
create mode 100644 node_modules/@vant/weapp/lib/index-bar/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/index-bar/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/info/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/info/index.js
create mode 100644 node_modules/@vant/weapp/lib/info/index.json
create mode 100644 node_modules/@vant/weapp/lib/info/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/info/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/loading/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/loading/index.js
create mode 100644 node_modules/@vant/weapp/lib/loading/index.json
create mode 100644 node_modules/@vant/weapp/lib/loading/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/loading/index.wxs
create mode 100644 node_modules/@vant/weapp/lib/loading/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/mixins/basic.d.ts
create mode 100644 node_modules/@vant/weapp/lib/mixins/basic.js
create mode 100644 node_modules/@vant/weapp/lib/mixins/button.d.ts
create mode 100644 node_modules/@vant/weapp/lib/mixins/button.js
create mode 100644 node_modules/@vant/weapp/lib/mixins/link.d.ts
create mode 100644 node_modules/@vant/weapp/lib/mixins/link.js
create mode 100644 node_modules/@vant/weapp/lib/mixins/page-scroll.d.ts
create mode 100644 node_modules/@vant/weapp/lib/mixins/page-scroll.js
create mode 100644 node_modules/@vant/weapp/lib/mixins/touch.d.ts
create mode 100644 node_modules/@vant/weapp/lib/mixins/touch.js
create mode 100644 node_modules/@vant/weapp/lib/mixins/transition.d.ts
create mode 100644 node_modules/@vant/weapp/lib/mixins/transition.js
create mode 100644 node_modules/@vant/weapp/lib/nav-bar/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/nav-bar/index.js
create mode 100644 node_modules/@vant/weapp/lib/nav-bar/index.json
create mode 100644 node_modules/@vant/weapp/lib/nav-bar/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/nav-bar/index.wxs
create mode 100644 node_modules/@vant/weapp/lib/nav-bar/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/notice-bar/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/notice-bar/index.js
create mode 100644 node_modules/@vant/weapp/lib/notice-bar/index.json
create mode 100644 node_modules/@vant/weapp/lib/notice-bar/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/notice-bar/index.wxs
create mode 100644 node_modules/@vant/weapp/lib/notice-bar/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/notify/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/notify/index.js
create mode 100644 node_modules/@vant/weapp/lib/notify/index.json
create mode 100644 node_modules/@vant/weapp/lib/notify/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/notify/index.wxs
create mode 100644 node_modules/@vant/weapp/lib/notify/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/notify/notify.d.ts
create mode 100644 node_modules/@vant/weapp/lib/notify/notify.js
create mode 100644 node_modules/@vant/weapp/lib/overlay/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/overlay/index.js
create mode 100644 node_modules/@vant/weapp/lib/overlay/index.json
create mode 100644 node_modules/@vant/weapp/lib/overlay/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/overlay/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/overlay/overlay.wxml
create mode 100644 node_modules/@vant/weapp/lib/panel/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/panel/index.js
create mode 100644 node_modules/@vant/weapp/lib/panel/index.json
create mode 100644 node_modules/@vant/weapp/lib/panel/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/panel/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/picker-column/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/picker-column/index.js
create mode 100644 node_modules/@vant/weapp/lib/picker-column/index.json
create mode 100644 node_modules/@vant/weapp/lib/picker-column/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/picker-column/index.wxs
create mode 100644 node_modules/@vant/weapp/lib/picker-column/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/picker/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/picker/index.js
create mode 100644 node_modules/@vant/weapp/lib/picker/index.json
create mode 100644 node_modules/@vant/weapp/lib/picker/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/picker/index.wxs
create mode 100644 node_modules/@vant/weapp/lib/picker/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/picker/shared.d.ts
create mode 100644 node_modules/@vant/weapp/lib/picker/shared.js
create mode 100644 node_modules/@vant/weapp/lib/picker/toolbar.wxml
create mode 100644 node_modules/@vant/weapp/lib/popup/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/popup/index.js
create mode 100644 node_modules/@vant/weapp/lib/popup/index.json
create mode 100644 node_modules/@vant/weapp/lib/popup/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/popup/index.wxs
create mode 100644 node_modules/@vant/weapp/lib/popup/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/popup/popup.wxml
create mode 100644 node_modules/@vant/weapp/lib/progress/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/progress/index.js
create mode 100644 node_modules/@vant/weapp/lib/progress/index.json
create mode 100644 node_modules/@vant/weapp/lib/progress/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/progress/index.wxs
create mode 100644 node_modules/@vant/weapp/lib/progress/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/radio-group/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/radio-group/index.js
create mode 100644 node_modules/@vant/weapp/lib/radio-group/index.json
create mode 100644 node_modules/@vant/weapp/lib/radio-group/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/radio-group/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/radio/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/radio/index.js
create mode 100644 node_modules/@vant/weapp/lib/radio/index.json
create mode 100644 node_modules/@vant/weapp/lib/radio/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/radio/index.wxs
create mode 100644 node_modules/@vant/weapp/lib/radio/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/rate/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/rate/index.js
create mode 100644 node_modules/@vant/weapp/lib/rate/index.json
create mode 100644 node_modules/@vant/weapp/lib/rate/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/rate/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/row/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/row/index.js
create mode 100644 node_modules/@vant/weapp/lib/row/index.json
create mode 100644 node_modules/@vant/weapp/lib/row/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/row/index.wxs
create mode 100644 node_modules/@vant/weapp/lib/row/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/search/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/search/index.js
create mode 100644 node_modules/@vant/weapp/lib/search/index.json
create mode 100644 node_modules/@vant/weapp/lib/search/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/search/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/share-sheet/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/share-sheet/index.js
create mode 100644 node_modules/@vant/weapp/lib/share-sheet/index.json
create mode 100644 node_modules/@vant/weapp/lib/share-sheet/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/share-sheet/index.wxs
create mode 100644 node_modules/@vant/weapp/lib/share-sheet/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/share-sheet/options.d.ts
create mode 100644 node_modules/@vant/weapp/lib/share-sheet/options.js
create mode 100644 node_modules/@vant/weapp/lib/share-sheet/options.json
create mode 100644 node_modules/@vant/weapp/lib/share-sheet/options.wxml
create mode 100644 node_modules/@vant/weapp/lib/share-sheet/options.wxs
create mode 100644 node_modules/@vant/weapp/lib/share-sheet/options.wxss
create mode 100644 node_modules/@vant/weapp/lib/sidebar-item/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/sidebar-item/index.js
create mode 100644 node_modules/@vant/weapp/lib/sidebar-item/index.json
create mode 100644 node_modules/@vant/weapp/lib/sidebar-item/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/sidebar-item/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/sidebar/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/sidebar/index.js
create mode 100644 node_modules/@vant/weapp/lib/sidebar/index.json
create mode 100644 node_modules/@vant/weapp/lib/sidebar/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/sidebar/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/skeleton/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/skeleton/index.js
create mode 100644 node_modules/@vant/weapp/lib/skeleton/index.json
create mode 100644 node_modules/@vant/weapp/lib/skeleton/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/skeleton/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/slider/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/slider/index.js
create mode 100644 node_modules/@vant/weapp/lib/slider/index.json
create mode 100644 node_modules/@vant/weapp/lib/slider/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/slider/index.wxs
create mode 100644 node_modules/@vant/weapp/lib/slider/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/stepper/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/stepper/index.js
create mode 100644 node_modules/@vant/weapp/lib/stepper/index.json
create mode 100644 node_modules/@vant/weapp/lib/stepper/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/stepper/index.wxs
create mode 100644 node_modules/@vant/weapp/lib/stepper/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/steps/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/steps/index.js
create mode 100644 node_modules/@vant/weapp/lib/steps/index.json
create mode 100644 node_modules/@vant/weapp/lib/steps/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/steps/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/sticky/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/sticky/index.js
create mode 100644 node_modules/@vant/weapp/lib/sticky/index.json
create mode 100644 node_modules/@vant/weapp/lib/sticky/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/sticky/index.wxs
create mode 100644 node_modules/@vant/weapp/lib/sticky/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/submit-bar/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/submit-bar/index.js
create mode 100644 node_modules/@vant/weapp/lib/submit-bar/index.json
create mode 100644 node_modules/@vant/weapp/lib/submit-bar/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/submit-bar/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/swipe-cell/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/swipe-cell/index.js
create mode 100644 node_modules/@vant/weapp/lib/swipe-cell/index.json
create mode 100644 node_modules/@vant/weapp/lib/swipe-cell/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/swipe-cell/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/switch/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/switch/index.js
create mode 100644 node_modules/@vant/weapp/lib/switch/index.json
create mode 100644 node_modules/@vant/weapp/lib/switch/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/switch/index.wxs
create mode 100644 node_modules/@vant/weapp/lib/switch/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/tab/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/tab/index.js
create mode 100644 node_modules/@vant/weapp/lib/tab/index.json
create mode 100644 node_modules/@vant/weapp/lib/tab/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/tab/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/tabbar-item/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/tabbar-item/index.js
create mode 100644 node_modules/@vant/weapp/lib/tabbar-item/index.json
create mode 100644 node_modules/@vant/weapp/lib/tabbar-item/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/tabbar-item/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/tabbar/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/tabbar/index.js
create mode 100644 node_modules/@vant/weapp/lib/tabbar/index.json
create mode 100644 node_modules/@vant/weapp/lib/tabbar/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/tabbar/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/tabs/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/tabs/index.js
create mode 100644 node_modules/@vant/weapp/lib/tabs/index.json
create mode 100644 node_modules/@vant/weapp/lib/tabs/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/tabs/index.wxs
create mode 100644 node_modules/@vant/weapp/lib/tabs/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/tag/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/tag/index.js
create mode 100644 node_modules/@vant/weapp/lib/tag/index.json
create mode 100644 node_modules/@vant/weapp/lib/tag/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/tag/index.wxs
create mode 100644 node_modules/@vant/weapp/lib/tag/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/toast/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/toast/index.js
create mode 100644 node_modules/@vant/weapp/lib/toast/index.json
create mode 100644 node_modules/@vant/weapp/lib/toast/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/toast/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/toast/toast.d.ts
create mode 100644 node_modules/@vant/weapp/lib/toast/toast.js
create mode 100644 node_modules/@vant/weapp/lib/transition/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/transition/index.js
create mode 100644 node_modules/@vant/weapp/lib/transition/index.json
create mode 100644 node_modules/@vant/weapp/lib/transition/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/transition/index.wxs
create mode 100644 node_modules/@vant/weapp/lib/transition/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/tree-select/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/tree-select/index.js
create mode 100644 node_modules/@vant/weapp/lib/tree-select/index.json
create mode 100644 node_modules/@vant/weapp/lib/tree-select/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/tree-select/index.wxs
create mode 100644 node_modules/@vant/weapp/lib/tree-select/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/uploader/index.d.ts
create mode 100644 node_modules/@vant/weapp/lib/uploader/index.js
create mode 100644 node_modules/@vant/weapp/lib/uploader/index.json
create mode 100644 node_modules/@vant/weapp/lib/uploader/index.wxml
create mode 100644 node_modules/@vant/weapp/lib/uploader/index.wxs
create mode 100644 node_modules/@vant/weapp/lib/uploader/index.wxss
create mode 100644 node_modules/@vant/weapp/lib/uploader/shared.d.ts
create mode 100644 node_modules/@vant/weapp/lib/uploader/shared.js
create mode 100644 node_modules/@vant/weapp/lib/uploader/utils.d.ts
create mode 100644 node_modules/@vant/weapp/lib/uploader/utils.js
create mode 100644 node_modules/@vant/weapp/lib/wxs/add-unit.wxs
create mode 100644 node_modules/@vant/weapp/lib/wxs/array.wxs
create mode 100644 node_modules/@vant/weapp/lib/wxs/bem.wxs
create mode 100644 node_modules/@vant/weapp/lib/wxs/memoize.wxs
create mode 100644 node_modules/@vant/weapp/lib/wxs/object.wxs
create mode 100644 node_modules/@vant/weapp/lib/wxs/style.wxs
create mode 100644 node_modules/@vant/weapp/lib/wxs/utils.wxs
create mode 100644 node_modules/@vant/weapp/package.json
delete mode 100644 pages/agreements/index.js
delete mode 100644 pages/agreements/index.wxml
diff --git a/app.json b/app.json
index 2d31885..6159760 100644
--- a/app.json
+++ b/app.json
@@ -1,8 +1,6 @@
{
"pages": [
"pages/home/index",
- "pages/electricQuery/index",
- "pages/billDetail/index",
"pages/billList/index",
"pages/rechargeRecord/index",
"pages/invoiceList/index",
@@ -20,10 +18,20 @@
"pages/questions/index",
"pages/editInvoice/index",
"pages/rechargeDetail/index",
- "pages/agreements/index",
+
"pages/updateInvoice/index",
"pages/rechargeWay/index"
],
+ "subPackages": [
+ {
+ "root": "childPackage",
+ "pages": [
+ "pages/agreements/index",
+ "pages/billDetail/index",
+ "pages/electricQuery/index"
+ ]
+ }
+ ],
"tabBar": {
"list": [
{
diff --git a/components/echarts/ec-canvas.js b/childPackage/components/echarts/ec-canvas.js
similarity index 100%
rename from components/echarts/ec-canvas.js
rename to childPackage/components/echarts/ec-canvas.js
diff --git a/components/echarts/ec-canvas.json b/childPackage/components/echarts/ec-canvas.json
similarity index 100%
rename from components/echarts/ec-canvas.json
rename to childPackage/components/echarts/ec-canvas.json
diff --git a/components/echarts/ec-canvas.wxml b/childPackage/components/echarts/ec-canvas.wxml
similarity index 100%
rename from components/echarts/ec-canvas.wxml
rename to childPackage/components/echarts/ec-canvas.wxml
diff --git a/components/echarts/ec-canvas.wxss b/childPackage/components/echarts/ec-canvas.wxss
similarity index 100%
rename from components/echarts/ec-canvas.wxss
rename to childPackage/components/echarts/ec-canvas.wxss
diff --git a/components/echarts/echarts.js b/childPackage/components/echarts/echarts.js
similarity index 100%
rename from components/echarts/echarts.js
rename to childPackage/components/echarts/echarts.js
diff --git a/components/echarts/wx-canvas.js b/childPackage/components/echarts/wx-canvas.js
similarity index 100%
rename from components/echarts/wx-canvas.js
rename to childPackage/components/echarts/wx-canvas.js
diff --git a/childPackage/miniprogram_npm/towxml/audio-player/Audio.js b/childPackage/miniprogram_npm/towxml/audio-player/Audio.js
new file mode 100644
index 0000000..080534b
--- /dev/null
+++ b/childPackage/miniprogram_npm/towxml/audio-player/Audio.js
@@ -0,0 +1,105 @@
+const fillIn = val => `${val < 10 ? '0' : ''}${val}`,
+ formatTime = _time => {
+ let time = Math.round(_time);
+ let second = Math.round(time % 60),
+ minute = Math.floor(time / 60 % 60),
+ hour = Math.floor(time / 60 / 60);
+ return `${fillIn(hour)}:${fillIn(minute)}:${fillIn(second)}`;
+ };
+
+class Audio{
+ constructor(obj){
+ const _ts = this,
+ option = _ts.option = obj.attrs;
+
+ _ts.loop = option.loop === 'true',
+ _ts.autoplay = option.autoplay === 'true';
+ _ts.create();
+ _ts.index = 0;
+
+
+ }
+ create(){
+ const _ts = this,
+ option = _ts.option;
+ let audio = _ts.audio = wx.createInnerAudioContext();
+ audio.src = option.src;
+
+ // 说明可以播放了
+ audio.onCanplay(function(){
+ if(_ts.autoplay && !_ts.index){
+ _ts.play();
+ };
+ if(!_ts.autoplay && !_ts.index){
+ _ts.eventCanplay();
+ };
+ });
+
+ // 更新时间
+ audio.onTimeUpdate(function(){
+ //_ts.status = 'update';
+ _ts.duration = audio.duration;
+ _ts.currentTime = audio.currentTime;
+
+ // 定义播放结束
+ if(_ts.duration - _ts.currentTime < 0.5){
+ _ts.index++;
+ if(_ts.loop){
+ audio.stop();
+ }else{
+ _ts.stop();
+ };
+ audio.seek(0);
+ };
+ _ts.eventTimeUpdate(formatTime(_ts.duration),formatTime(_ts.currentTime));
+ });
+
+ //
+ audio.onSeeked(function(){
+ if(_ts.loop){
+ _ts.play();
+ };
+ });
+
+
+
+ }
+ // 播放
+ play(){
+ const _ts = this;
+ _ts.status = 'play';
+ _ts.audio.play();
+ _ts.eventPlay();
+ }
+ // 暂停
+ pause(){
+ const _ts = this;
+ _ts.status = 'pause';
+ _ts.audio.pause();
+ _ts.eventPause();
+ }
+ // 停止
+ stop(){
+ const _ts = this;
+ _ts.status = 'stop';
+ _ts.audio.stop();
+ _ts.eventStop();
+ }
+ // 销毁
+ destroy(){
+ const _ts = this;
+ _ts.stop();
+ _ts.audio.destroy();
+ }
+ eventCanplay(){}
+ eventTimeUpdate(){}
+ eventEnded(){}
+ eventError(){}
+ eventPause(){}
+ eventPlay(){}
+ eventSeeked(){}
+ eventSeeking(){}
+ eventStop(){}
+ eventWaiting(){}
+};
+module.exports = Audio;
diff --git a/childPackage/miniprogram_npm/towxml/audio-player/audio-player.js b/childPackage/miniprogram_npm/towxml/audio-player/audio-player.js
new file mode 100644
index 0000000..5a41242
--- /dev/null
+++ b/childPackage/miniprogram_npm/towxml/audio-player/audio-player.js
@@ -0,0 +1,100 @@
+const Audio = require('./Audio');
+Component({
+ options: {
+ styleIsolation: 'shared'
+ },
+ properties: {
+ data: {
+ type: Object,
+ value: {}
+ }
+ },
+ lifetimes:{
+ // 页面生命周期
+ attached:function(){
+ const _ts = this,
+ audio = _ts.audio = new Audio(this.data.data);
+
+ audio.eventPlay = function(){
+ _ts.setData({tips:{state:'h2w__audio--play',text:'Playing'}});
+ };
+ audio.eventCanplay = function(){
+ _ts.setData({tips:{state:'h2w__audio--readyed',text:'Readyed'}});
+ };
+ audio.eventTimeUpdate = function(duration,currentTime){
+ _ts.setData({time:{currentTime:currentTime,duration:duration,schedule:Math.round(_ts.audio.currentTime) / Math.round(_ts.audio.duration) * 100 + '%'}});
+ };
+ audio.eventPause = function(){
+ _ts.setData({tips:{state:'h2w__audio--pause',text:'Pause'}});
+ };
+ audio.eventStop = function(){
+ _ts.setData({tips:{state:'h2w__audio--end',text:'End'}});
+ };
+
+
+
+
+
+ // // 更新播放状态
+ // _ts.audio.onTimeUpdate = function(duration,currentTime){
+ // _ts.setData({
+ // playerData:{
+ // state:'h2w__audio--play',
+ // tips:'Playing',
+ // currentTime:currentTime,
+ // duration:duration,
+ // schedule:_ts.audio.currentTime / _ts.audio.duration * 100 + '%'
+ // }
+ // });
+ // };
+
+ // _ts.audio.onPause = function(){
+ // _ts.setData({playerData:{state:'h2w__audio--pause',tips:'Pause'}});
+ // };
+
+ // _ts.audio.onCanplay = function(){
+ // _ts.setData({playerData:{state:'h2w__audio--readyed',tips:'Readyed'}});
+ // };
+
+ // _ts.audio.onError = function(){
+ // _ts.setData({playerData:{state:'h2w__audio--error',tips:'Error'}});
+ // };
+
+ // _ts.audio.onEnded = ()=>{
+ // _ts.setData({playerData:{state:'h2w__audio--end',tips:'End'}});
+ // };
+
+ },
+ moved:function(){
+ _ts.audio.stop();
+ _ts.audio.destroy();
+ },
+ detached:()=>{
+ _ts.audio.stop();
+ _ts.audio.destroy();
+ },
+ },
+ data: {
+ tips:{
+ state:'',
+ text:'--'
+ },
+ time: {
+ currentTime:'00:00:00',
+ duration:'00:00:00',
+ schedule:'0%'
+ }
+ },
+ methods: {
+ playAndPause: function () {
+ const _ts = this,
+ audio = _ts.audio;
+ audio.isTouch = true;
+ if(audio.status === 'update' || audio.status === 'play'){
+ audio.pause();
+ }else{
+ audio.play();
+ };
+ }
+ }
+})
diff --git a/childPackage/miniprogram_npm/towxml/audio-player/audio-player.json b/childPackage/miniprogram_npm/towxml/audio-player/audio-player.json
new file mode 100644
index 0000000..78013bd
--- /dev/null
+++ b/childPackage/miniprogram_npm/towxml/audio-player/audio-player.json
@@ -0,0 +1,5 @@
+{
+ "component": true,
+ "usingComponents": {
+ }
+}
\ No newline at end of file
diff --git a/childPackage/miniprogram_npm/towxml/audio-player/audio-player.wxml b/childPackage/miniprogram_npm/towxml/audio-player/audio-player.wxml
new file mode 100644
index 0000000..a067682
--- /dev/null
+++ b/childPackage/miniprogram_npm/towxml/audio-player/audio-player.wxml
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+ {{tips.text || 'Error'}}
+
+ {{data.attrs.name}}
+ {{data.attrs.author}}
+ {{time.currentTime || '00:00:00'}} / {{time.duration || '00:00:00'}}
+
+
\ No newline at end of file
diff --git a/childPackage/miniprogram_npm/towxml/audio-player/audio-player.wxss b/childPackage/miniprogram_npm/towxml/audio-player/audio-player.wxss
new file mode 100644
index 0000000..e0e8930
--- /dev/null
+++ b/childPackage/miniprogram_npm/towxml/audio-player/audio-player.wxss
@@ -0,0 +1,175 @@
+/*音频播放器样式*/
+.h2w__audio {
+ height: 136rpx;
+ margin:16rpx 0;
+ background: #f1f1f1;
+ position: relative;
+}
+
+.h2w__audio--error .h2w__audioIcon,
+.h2w__audio--loading .h2w__audioIcon {
+ display:none;
+}
+
+.h2w__audio--readyed .h2w__audioLoading,
+.h2w__audio--end .h2w__audioLoading,
+.h2w__audio--play .h2w__audioIcon,
+.h2w__audio--pause .h2w__audioLoading,
+.h2w__audio--play .h2w__audioLoading {
+ display: none;
+}
+
+.h2w__audio--play .h2w__audioCover image {
+ opacity: 1;
+}
+
+.h2w__audio--readyed .h2w__audioTips,
+.h2w__audio--end .h2w__audioTips,
+.h2w__audio--stop .h2w__audioTips,
+.h2w__audio--pause .h2w__audioTips,
+.h2w__audio--play .h2w__audioTips {
+ opacity:0.4;
+}
+
+.h2w__audio--error {
+ background:red;
+}
+
+/* .h2w__audio--end .h2w__audio__icon {width:20rpx; height:20rpx; background:white; border:0; left:24rpx; top:24rpx; border-radius:2rpx;} */
+.h2w__audioCover {
+ width: 136rpx;
+ height: 136rpx;
+ background: black;
+ float: left;
+ position: relative;
+}
+
+.h2w__audioCover image {
+ width: 100%;
+ height: 100%;
+ opacity: 0.6;
+ margin:0;
+ transition: all 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
+}
+
+.h2w__audioCover .h2w__audioLoading {
+ width:80rpx;
+ height:80rpx;
+ position:absolute;
+ left:50%;
+ top:50%;
+ margin:-40rpx 0 0 -40rpx;
+ z-index:1;
+ opacity:1;
+}
+
+.h2w__audioInfo {
+ padding-left: 20rpx;
+ padding-top: 16rpx;
+ position: absolute;
+ left: 136rpx;
+ right: 0;
+}
+
+.h2w__audioSchedule {
+ position: absolute;
+ left: 0;
+ top: 0;
+ background: rgba(0, 255, 0, 0.1);
+ height: 136rpx;
+ width: 0;
+}
+
+.h2w__audioTips {
+ position:absolute;
+ right:0;
+ top:0;
+ height: 32rpx;
+ line-height: 32rpx;
+ padding:10rpx 20rpx;
+ font-size:20rpx;
+}
+
+.h2w__audio--error .h2w__audioTips {
+ color:red;
+}
+
+.h2w__audioTitle {
+ display: block;
+ font-size: 24rpx;
+ height: 40rpx;
+ line-height: 40rpx;
+ font-weight: bold;
+}
+
+.h2w__audioAuthor {
+ display: block;
+ font-size: 20rpx;
+ height: 32rpx;
+ line-height: 32rpx;
+}
+
+.h2w__audioTime {
+ display: block;
+ font-size: 20rpx;
+ height: 32rpx;
+ line-height: 32rpx;
+}
+
+.h2w__audioIcon {
+ width: 0;
+ height: 0;
+ position: absolute;
+ left: 60rpx;
+ top: 48rpx;
+ border-width: 20rpx 0 20rpx 20rpx;
+ border-style: solid;
+ border-color: transparent transparent transparent #fff;
+ z-index: 1;
+}
+
+/* 深色主题 */
+.h2w-dark .h2w__audio {
+ background: #1f1f1f;
+}
+
+.h2w-dark .h2w__audio--error {
+ background:rgba(255,0,0,0.1);
+}
+
+.h2w-dark .h2w__audioCover {
+ background: black;
+}
+
+.h2w-dark .h2w__audioSchedule {
+ background: rgba(0, 255, 0, 0.2);
+}
+
+.h2w-dark .h2w__audioIcon {
+ border-color: transparent transparent transparent #fff;
+}
+
+
+
+/* 浅色主题 */
+.h2w-light .h2w__audio {
+ background: #f1f1f1;
+}
+
+.h2w-light .h2w__audio--error {
+ background:rgba(255,0,0,0.1);
+}
+
+.h2w-light .h2w__audioCover {
+ background: black;
+}
+
+.h2w-light .h2w__audioSchedule {
+ background: rgba(0, 255, 0, 0.1);
+}
+
+.h2w-light .h2w__audioIcon {
+ border-color: transparent transparent transparent #fff;
+}
+
+
diff --git a/childPackage/miniprogram_npm/towxml/audio-player/loading.svg b/childPackage/miniprogram_npm/towxml/audio-player/loading.svg
new file mode 100644
index 0000000..e96fb5d
--- /dev/null
+++ b/childPackage/miniprogram_npm/towxml/audio-player/loading.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/childPackage/miniprogram_npm/towxml/config.js b/childPackage/miniprogram_npm/towxml/config.js
new file mode 100644
index 0000000..c88a2e2
--- /dev/null
+++ b/childPackage/miniprogram_npm/towxml/config.js
@@ -0,0 +1,291 @@
+module.exports = {
+ // LaTex公式、yuml解析服务架设参见 https://github.com/sbfkcel/markdown-server
+
+ // 数学公式解析API
+ latex:{
+ api:'http://towxml.vvadd.com/?tex'
+ },
+
+ // yuml图解析APPI
+ yuml:{
+ api:'http://towxml.vvadd.com/?yuml'
+ },
+
+ // markdown解析配置,保留需要的选项即可
+ markdown:[
+ 'sub', // 下标支持
+ 'sup', // 上标支持
+ 'ins', // 文本删除线支持
+ 'mark', // 文本高亮支持
+ 'emoji', // emoji表情支持
+ 'todo' // todo支持
+ ],
+
+ // 代码高亮配置,保留需要的选项即可(尽量越少越好,不要随意调整顺序。部分高亮有顺序依赖)
+ highlight:[
+ 'c-like',
+ 'c',
+ 'bash',
+ 'css',
+ 'dart',
+ 'go',
+ 'java',
+ 'javascript',
+ 'json',
+ 'less',
+ 'scss',
+ 'shell',
+ 'xml',
+ 'htmlbars',
+ 'nginx',
+ 'php',
+ 'python',
+ 'python-repl',
+ 'typescript',
+
+ // 'csharp',
+ // 'http',
+ // 'swift',
+ // 'yaml',
+ // 'markdown',
+ // 'powershell',
+ // 'ruby',
+ // 'makefile',
+ // 'lua',
+ // 'stylus',
+ // 'basic',
+ // '1c',
+ // 'abnf',
+ // 'accesslog',
+ // 'actionscript',
+ // 'ada',
+ // 'angelscript',
+ // 'apache',
+ // 'applescript',
+ // 'arcade',
+ // 'cpp',
+ // 'arduino',
+ // 'armasm',
+ // 'asciidoc',
+ // 'aspectj',
+ // 'autohotkey',
+ // 'autoit',
+ // 'avrasm',
+ // 'awk',
+ // 'axapta',
+ // 'bnf',
+ // 'brainfuck',
+ // 'cal',
+ // 'capnproto',
+ // 'ceylon',
+ // 'clean',
+ // 'clojure-repl',
+ // 'clojure',
+ // 'cmake',
+ // 'coffeescript',
+ // 'coq',
+ // 'cos',
+ // 'crmsh',
+ // 'crystal',
+ // 'csp',
+ // 'd',
+ // 'delphi',
+ // 'diff',
+ // 'django',
+ // 'dns',
+ // 'dockerfile',
+ // 'dos',
+ // 'dsconfig',
+ // 'dts',
+ // 'dust',
+ // 'ebnf',
+ // 'elixir',
+ // 'elm',
+ // 'erb',
+ // 'erlang-repl',
+ // 'erlang',
+ // 'excel',
+ // 'fix',
+ // 'flix',
+ // 'fortran',
+ // 'fsharp',
+ // 'gams',
+ // 'gauss',
+ // 'gcode',
+ // 'gherkin',
+ // 'glsl',
+ // 'gml',
+ // 'golo',
+ // 'gradle',
+ // 'groovy',
+ // 'haml',
+ // 'handlebars',
+ // 'haskell',
+ // 'haxe',
+ // 'hsp',
+ // 'hy',
+ // 'inform7',
+ // 'ini',
+ // 'irpf90',
+ // 'isbl',
+ // 'jboss-cli',
+ // 'julia-repl',
+ // 'julia',
+ // 'kotlin',
+ // 'lasso',
+ // 'latex',
+ // 'ldif',
+ // 'leaf',
+ // 'lisp',
+ // 'livecodeserver',
+ // 'livescript',
+ // 'llvm',
+ // 'lsl',
+ // 'mathematica',
+ // 'matlab',
+ // 'maxima',
+ // 'mel',
+ // 'mercury',
+ // 'mipsasm',
+ // 'mizar',
+ // 'mojolicious',
+ // 'monkey',
+ // 'moonscript',
+ // 'n1ql',
+ // 'nim',
+ // 'nix',
+ // 'nsis',
+ // 'objectivec',
+ // 'ocaml',
+ // 'openscad',
+ // 'oxygene',
+ // 'parser3',
+ // 'perl',
+ // 'pf',
+ // 'pgsql',
+ // 'php-template',
+ // 'plaintext',
+ // 'pony',
+ // 'processing',
+ // 'profile',
+ // 'prolog',
+ // 'properties',
+ // 'protobuf',
+ // 'puppet',
+ // 'purebasic',
+ // 'q',
+ // 'qml',
+ // 'r',
+ // 'reasonml',
+ // 'rib',
+ // 'roboconf',
+ // 'routeros',
+ // 'rsl',
+ // 'ruleslanguage',
+ // 'rust',
+ // 'sas',
+ // 'scala',
+ // 'scheme',
+ // 'scilab',
+ // 'smali',
+ // 'smalltalk',
+ // 'sml',
+ // 'sqf',
+ // 'sql',
+ // 'stan',
+ // 'stata',
+ // 'step21',
+ // 'subunit',
+ // 'taggerscript',
+ // 'tap',
+ // 'tcl',
+ // 'thrift',
+ // 'tp',
+ // 'twig',
+ // 'vala',
+ // 'vbnet',
+ // 'vbscript-html',
+ // 'vbscript',
+ // 'verilog',
+ // 'vhdl',
+ // 'vim',
+ // 'x86asm',
+ // 'xl',
+ // 'xquery',
+ // 'zephir'
+ ],
+
+ // wxml原生标签,该系列标签将不会被转换
+ wxml:[
+ 'view',
+ 'video',
+ 'text',
+ 'image',
+ 'navigator',
+ 'swiper',
+ 'swiper-item',
+ 'block',
+ 'form',
+ 'input',
+ 'textarea',
+ 'button',
+ 'checkbox-group',
+ 'checkbox',
+ 'radio-group',
+ 'radio',
+ 'rich-text',
+
+ // 可以解析的标签(html或markdown中会很少使用)
+ // 'canvas',
+ // 'map',
+ // 'slider',
+ // 'scroll-view',
+ // 'movable-area',
+ // 'movable-view',
+ // 'progress',
+ // 'label',
+ // 'switch',
+ // 'picker',
+ // 'picker-view',
+ // 'switch',
+ // 'contact-button'
+ ],
+
+ // 自定义组件
+ components:[
+ 'audio-player', // 音频组件,建议保留,由于小程序原生audio存在诸多问题,towxml解决了原生音频播放器的相关问题
+ 'echarts', // echarts图表支持
+ 'latex', // 数学公式支持
+ 'table', // 表格支持
+ 'todogroup', // todo支持
+ 'yuml', // yuml图表支持
+ 'img' // 图片解析组件
+ ],
+
+ // 保留原本的元素属性(建议不要变动)
+ attrs:[
+ 'class',
+ 'data',
+ 'id',
+ 'style'
+ ],
+
+ // 事件绑定方式(catch或bind),catch 会阻止事件向上冒泡。更多请参考:https://developers.weixin.qq.com/miniprogram/dev/framework/view/wxml/event.html
+ bindType:'catch',
+
+ // 需要激活的事件
+ events:[
+ // 'touchstart',
+ // 'touchmove',
+ // 'touchcancel',
+ // 'touchend',
+ 'tap', // 用于元素的点击事件
+ 'change', // 用于todoList的change事件
+ ],
+
+ // 图片倍数
+ dpr:1,
+
+ // 代码块显示行号
+ showLineNumber:true
+}
\ No newline at end of file
diff --git a/childPackage/miniprogram_npm/towxml/decode.js b/childPackage/miniprogram_npm/towxml/decode.js
new file mode 100644
index 0000000..18d3a7b
--- /dev/null
+++ b/childPackage/miniprogram_npm/towxml/decode.js
@@ -0,0 +1,26 @@
+const config = require('./config');
+
+Component({
+ options: {
+ styleIsolation: 'apply-shared'
+ },
+ properties: {
+ nodes: {
+ type: Object,
+ value: {}
+ }
+ },
+ lifetimes: {
+ attached: function () {
+ const _ts = this;
+
+ config.events.forEach(item => {
+ _ts['_' + item] = function (...arg) {
+ if (global._events && typeof global._events[item] === 'function') {
+ global._events[item](...arg);
+ }
+ };
+ });
+ }
+ }
+})
\ No newline at end of file
diff --git a/childPackage/miniprogram_npm/towxml/decode.json b/childPackage/miniprogram_npm/towxml/decode.json
new file mode 100644
index 0000000..58f1c69
--- /dev/null
+++ b/childPackage/miniprogram_npm/towxml/decode.json
@@ -0,0 +1,13 @@
+{
+ "component": true,
+ "usingComponents": {
+ "decode": "../towxml/decode",
+ "audio-player": "../towxml/audio-player/audio-player",
+ "echarts": "../towxml/echarts/echarts",
+ "latex": "../towxml/latex/latex",
+ "table": "../towxml/table/table",
+ "todogroup": "../towxml/todogroup/todogroup",
+ "yuml": "../towxml/yuml/yuml",
+ "img": "../towxml/img/img"
+ }
+}
\ No newline at end of file
diff --git a/childPackage/miniprogram_npm/towxml/decode.wxml b/childPackage/miniprogram_npm/towxml/decode.wxml
new file mode 100644
index 0000000..535ea5e
--- /dev/null
+++ b/childPackage/miniprogram_npm/towxml/decode.wxml
@@ -0,0 +1 @@
+{{item.text}}
\ No newline at end of file
diff --git a/childPackage/miniprogram_npm/towxml/decode.wxss b/childPackage/miniprogram_npm/towxml/decode.wxss
new file mode 100644
index 0000000..e69de29
diff --git a/childPackage/miniprogram_npm/towxml/echarts/dark.js b/childPackage/miniprogram_npm/towxml/echarts/dark.js
new file mode 100644
index 0000000..87b518e
--- /dev/null
+++ b/childPackage/miniprogram_npm/towxml/echarts/dark.js
@@ -0,0 +1,496 @@
+
+module.exports =
+
+{
+ "color": [
+ "#fc97af",
+ "#87f7cf",
+ "#f7f494",
+ "#72ccff",
+ "#f7c5a0",
+ "#d4a4eb",
+ "#d2f5a6",
+ "#76f2f2"
+ ],
+ "backgroundColor": "rgba(0,0,0,1)",
+ "textStyle": {},
+ "title": {
+ "textStyle": {
+ "color": "#ffffff"
+ },
+ "subtextStyle": {
+ "color": "#dddddd"
+ }
+ },
+ "line": {
+ "itemStyle": {
+ "normal": {
+ "borderWidth": "4"
+ }
+ },
+ "lineStyle": {
+ "normal": {
+ "width": "3"
+ }
+ },
+ "symbolSize": "0",
+ "symbol": "circle",
+ "smooth": true
+ },
+ "radar": {
+ "itemStyle": {
+ "normal": {
+ "borderWidth": "4"
+ }
+ },
+ "lineStyle": {
+ "normal": {
+ "width": "3"
+ }
+ },
+ "symbolSize": "0",
+ "symbol": "circle",
+ "smooth": true
+ },
+ "bar": {
+ "itemStyle": {
+ "normal": {
+ "barBorderWidth": 0,
+ "barBorderColor": "#ccc"
+ },
+ "emphasis": {
+ "barBorderWidth": 0,
+ "barBorderColor": "#ccc"
+ }
+ }
+ },
+ "pie": {
+ "itemStyle": {
+ "normal": {
+ "borderWidth": 0,
+ "borderColor": "#ccc"
+ },
+ "emphasis": {
+ "borderWidth": 0,
+ "borderColor": "#ccc"
+ }
+ }
+ },
+ "scatter": {
+ "itemStyle": {
+ "normal": {
+ "borderWidth": 0,
+ "borderColor": "#ccc"
+ },
+ "emphasis": {
+ "borderWidth": 0,
+ "borderColor": "#ccc"
+ }
+ }
+ },
+ "boxplot": {
+ "itemStyle": {
+ "normal": {
+ "borderWidth": 0,
+ "borderColor": "#ccc"
+ },
+ "emphasis": {
+ "borderWidth": 0,
+ "borderColor": "#ccc"
+ }
+ }
+ },
+ "parallel": {
+ "itemStyle": {
+ "normal": {
+ "borderWidth": 0,
+ "borderColor": "#ccc"
+ },
+ "emphasis": {
+ "borderWidth": 0,
+ "borderColor": "#ccc"
+ }
+ }
+ },
+ "sankey": {
+ "itemStyle": {
+ "normal": {
+ "borderWidth": 0,
+ "borderColor": "#ccc"
+ },
+ "emphasis": {
+ "borderWidth": 0,
+ "borderColor": "#ccc"
+ }
+ }
+ },
+ "funnel": {
+ "itemStyle": {
+ "normal": {
+ "borderWidth": 0,
+ "borderColor": "#ccc"
+ },
+ "emphasis": {
+ "borderWidth": 0,
+ "borderColor": "#ccc"
+ }
+ }
+ },
+ "gauge": {
+ "itemStyle": {
+ "normal": {
+ "borderWidth": 0,
+ "borderColor": "#ccc"
+ },
+ "emphasis": {
+ "borderWidth": 0,
+ "borderColor": "#ccc"
+ }
+ }
+ },
+ "candlestick": {
+ "itemStyle": {
+ "normal": {
+ "color": "#fc97af",
+ "color0": "transparent",
+ "borderColor": "#fc97af",
+ "borderColor0": "#87f7cf",
+ "borderWidth": "2"
+ }
+ }
+ },
+ "graph": {
+ "itemStyle": {
+ "normal": {
+ "borderWidth": 0,
+ "borderColor": "#ccc"
+ }
+ },
+ "lineStyle": {
+ "normal": {
+ "width": "1",
+ "color": "#ffffff"
+ }
+ },
+ "symbolSize": "0",
+ "symbol": "circle",
+ "smooth": true,
+ "color": [
+ "#fc97af",
+ "#87f7cf",
+ "#f7f494",
+ "#72ccff",
+ "#f7c5a0",
+ "#d4a4eb",
+ "#d2f5a6",
+ "#76f2f2"
+ ],
+ "label": {
+ "normal": {
+ "textStyle": {
+ "color": "#293441"
+ }
+ }
+ }
+ },
+ "map": {
+ "itemStyle": {
+ "normal": {
+ "areaColor": "#f3f3f3",
+ "borderColor": "#999999",
+ "borderWidth": 0.5
+ },
+ "emphasis": {
+ "areaColor": "rgba(255,178,72,1)",
+ "borderColor": "#eb8146",
+ "borderWidth": 1
+ }
+ },
+ "label": {
+ "normal": {
+ "textStyle": {
+ "color": "#893448"
+ }
+ },
+ "emphasis": {
+ "textStyle": {
+ "color": "rgb(137,52,72)"
+ }
+ }
+ }
+ },
+ "geo": {
+ "itemStyle": {
+ "normal": {
+ "areaColor": "#f3f3f3",
+ "borderColor": "#999999",
+ "borderWidth": 0.5
+ },
+ "emphasis": {
+ "areaColor": "rgba(255,178,72,1)",
+ "borderColor": "#eb8146",
+ "borderWidth": 1
+ }
+ },
+ "label": {
+ "normal": {
+ "textStyle": {
+ "color": "#893448"
+ }
+ },
+ "emphasis": {
+ "textStyle": {
+ "color": "rgb(137,52,72)"
+ }
+ }
+ }
+ },
+ "categoryAxis": {
+ "axisLine": {
+ "show": true,
+ "lineStyle": {
+ "color": "#666666"
+ }
+ },
+ "axisTick": {
+ "show": false,
+ "lineStyle": {
+ "color": "#333"
+ }
+ },
+ "axisLabel": {
+ "show": true,
+ "textStyle": {
+ "color": "#ffffff"
+ }
+ },
+ "splitLine": {
+ "show": false,
+ "lineStyle": {
+ "color": [
+ "#e6e6e6"
+ ]
+ }
+ },
+ "splitArea": {
+ "show": false,
+ "areaStyle": {
+ "color": [
+ "rgba(250,250,250,0.05)",
+ "rgba(200,200,200,0.02)"
+ ]
+ }
+ }
+ },
+ "valueAxis": {
+ "axisLine": {
+ "show": true,
+ "lineStyle": {
+ "color": "#666666"
+ }
+ },
+ "axisTick": {
+ "show": false,
+ "lineStyle": {
+ "color": "#333"
+ }
+ },
+ "axisLabel": {
+ "show": true,
+ "textStyle": {
+ "color": "#ffffff"
+ }
+ },
+ "splitLine": {
+ "show": false,
+ "lineStyle": {
+ "color": [
+ "#e6e6e6"
+ ]
+ }
+ },
+ "splitArea": {
+ "show": false,
+ "areaStyle": {
+ "color": [
+ "rgba(250,250,250,0.05)",
+ "rgba(200,200,200,0.02)"
+ ]
+ }
+ }
+ },
+ "logAxis": {
+ "axisLine": {
+ "show": true,
+ "lineStyle": {
+ "color": "#666666"
+ }
+ },
+ "axisTick": {
+ "show": false,
+ "lineStyle": {
+ "color": "#333"
+ }
+ },
+ "axisLabel": {
+ "show": true,
+ "textStyle": {
+ "color": "#ffffff"
+ }
+ },
+ "splitLine": {
+ "show": false,
+ "lineStyle": {
+ "color": [
+ "#e6e6e6"
+ ]
+ }
+ },
+ "splitArea": {
+ "show": false,
+ "areaStyle": {
+ "color": [
+ "rgba(250,250,250,0.05)",
+ "rgba(200,200,200,0.02)"
+ ]
+ }
+ }
+ },
+ "timeAxis": {
+ "axisLine": {
+ "show": true,
+ "lineStyle": {
+ "color": "#666666"
+ }
+ },
+ "axisTick": {
+ "show": false,
+ "lineStyle": {
+ "color": "#333"
+ }
+ },
+ "axisLabel": {
+ "show": true,
+ "textStyle": {
+ "color": "#ffffff"
+ }
+ },
+ "splitLine": {
+ "show": false,
+ "lineStyle": {
+ "color": [
+ "#e6e6e6"
+ ]
+ }
+ },
+ "splitArea": {
+ "show": false,
+ "areaStyle": {
+ "color": [
+ "rgba(250,250,250,0.05)",
+ "rgba(200,200,200,0.02)"
+ ]
+ }
+ }
+ },
+ "toolbox": {
+ "iconStyle": {
+ "normal": {
+ "borderColor": "#999999"
+ },
+ "emphasis": {
+ "borderColor": "#666666"
+ }
+ }
+ },
+ "legend": {
+ "textStyle": {
+ "color": "#999999"
+ }
+ },
+ "tooltip": {
+ "axisPointer": {
+ "lineStyle": {
+ "color": "#cccccc",
+ "width": 1
+ },
+ "crossStyle": {
+ "color": "#cccccc",
+ "width": 1
+ }
+ }
+ },
+ "timeline": {
+ "lineStyle": {
+ "color": "#87f7cf",
+ "width": 1
+ },
+ "itemStyle": {
+ "normal": {
+ "color": "#87f7cf",
+ "borderWidth": 1
+ },
+ "emphasis": {
+ "color": "#f7f494"
+ }
+ },
+ "controlStyle": {
+ "normal": {
+ "color": "#87f7cf",
+ "borderColor": "#87f7cf",
+ "borderWidth": 0.5
+ },
+ "emphasis": {
+ "color": "#87f7cf",
+ "borderColor": "#87f7cf",
+ "borderWidth": 0.5
+ }
+ },
+ "checkpointStyle": {
+ "color": "#fc97af",
+ "borderColor": "rgba(252,151,175,0.3)"
+ },
+ "label": {
+ "normal": {
+ "textStyle": {
+ "color": "#87f7cf"
+ }
+ },
+ "emphasis": {
+ "textStyle": {
+ "color": "#87f7cf"
+ }
+ }
+ }
+ },
+ "visualMap": {
+ "color": [
+ "#fc97af",
+ "#87f7cf"
+ ]
+ },
+ "dataZoom": {
+ "backgroundColor": "rgba(255,255,255,0)",
+ "dataBackgroundColor": "rgba(114,204,255,1)",
+ "fillerColor": "rgba(114,204,255,0.2)",
+ "handleColor": "#72ccff",
+ "handleSize": "100%",
+ "textStyle": {
+ "color": "#333333"
+ }
+ },
+ "markPoint": {
+ "label": {
+ "normal": {
+ "textStyle": {
+ "color": "#293441"
+ }
+ },
+ "emphasis": {
+ "textStyle": {
+ "color": "#293441"
+ }
+ }
+ }
+ }
+}
diff --git a/childPackage/miniprogram_npm/towxml/echarts/echarts.js b/childPackage/miniprogram_npm/towxml/echarts/echarts.js
new file mode 100644
index 0000000..0ee19f6
--- /dev/null
+++ b/childPackage/miniprogram_npm/towxml/echarts/echarts.js
@@ -0,0 +1,173 @@
+import WxCanvas from './wx-canvas';
+import * as echarts from './wx-echarts';
+const darkTheme = require('./dark');
+
+let ctx;
+
+Component({
+ properties: {
+ canvasId: {
+ type: String,
+ value: 'ec-canvas'
+ },
+
+ data: {
+ type: Object,
+ value: {}
+ },
+
+ ec: {
+ type: Object
+ }
+ },
+
+ data: {
+ size: {
+ height: 240
+ }
+ },
+
+ ready: function () {
+ if (!this.data.ec) {
+ console.warn('组件需绑定 ec 变量,例:');
+ return;
+ }
+
+ if (!this.data.ec.lazyLoad) {
+ this.init();
+ }
+ },
+ lifetimes: {
+ attached: function () {
+ const _ts = this;
+
+ let dataAttr = this.data.data.attrs,
+ obj = JSON.parse(decodeURIComponent(dataAttr.value));
+ obj.option.color = ['#60acfc', '#32d3eb', '#5bc49f', '#feb64d', '#ff7c7c', '#9287e7'];
+ if (obj.height) {
+ _ts.setData({
+ size: {
+ height: obj.height
+ }
+ })
+ }
+ _ts.data.ec = {};
+ _ts.data.ec.onInit = function (canvas, width, height) {
+ echarts.registerTheme('dark', darkTheme);
+ const theme = global._theme === 'dark' ? 'dark' : null,
+ chart = echarts.init(canvas, theme, {
+ width: width,
+ height: height
+ });
+ canvas.setChart(chart);
+
+ chart.setOption(obj.option);
+ return chart;
+ };
+ },
+ moved: function () {},
+ detached: () => {
+
+ },
+ },
+ methods: {
+ init: function (callback) {
+ const version = wx.version.version.split('.').map(n => parseInt(n, 10));
+ const isValid = version[0] > 1 || (version[0] === 1 && version[1] > 9) ||
+ (version[0] === 1 && version[1] === 9 && version[2] >= 91);
+ 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;
+ }
+
+ ctx = wx.createCanvasContext(this.data.canvasId, this);
+
+ const canvas = new WxCanvas(ctx, this.data.canvasId);
+
+ echarts.setCanvasCreator(() => {
+ return canvas;
+ });
+
+ var query = wx.createSelectorQuery().in(this);
+ query.select('.ec-canvas').boundingClientRect(res => {
+ if (typeof callback === 'function') {
+ this.chart = callback(canvas, res.width, res.height);
+ } else if (this.data.ec && typeof this.data.ec.onInit === 'function') {
+ this.chart = this.data.ec.onInit(canvas, res.width, res.height);
+ } else {
+ this.triggerEvent('init', {
+ canvas: canvas,
+ width: res.width,
+ height: res.height
+ });
+ }
+ }).exec();
+ },
+
+ canvasToTempFilePath(opt) {
+ 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
+ });
+ handler.dispatch('mousemove', {
+ zrX: touch.x,
+ zrY: touch.y
+ });
+ 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
+ });
+ 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
+ });
+ handler.dispatch('click', {
+ zrX: touch.x,
+ zrY: touch.y
+ });
+ 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;
+}
\ No newline at end of file
diff --git a/pages/agreements/index.json b/childPackage/miniprogram_npm/towxml/echarts/echarts.json
similarity index 56%
rename from pages/agreements/index.json
rename to childPackage/miniprogram_npm/towxml/echarts/echarts.json
index 8835af0..e8cfaaf 100644
--- a/pages/agreements/index.json
+++ b/childPackage/miniprogram_npm/towxml/echarts/echarts.json
@@ -1,3 +1,4 @@
{
+ "component": true,
"usingComponents": {}
}
\ No newline at end of file
diff --git a/childPackage/miniprogram_npm/towxml/echarts/echarts.wxml b/childPackage/miniprogram_npm/towxml/echarts/echarts.wxml
new file mode 100644
index 0000000..55b978f
--- /dev/null
+++ b/childPackage/miniprogram_npm/towxml/echarts/echarts.wxml
@@ -0,0 +1,5 @@
+
diff --git a/childPackage/miniprogram_npm/towxml/echarts/echarts.wxss b/childPackage/miniprogram_npm/towxml/echarts/echarts.wxss
new file mode 100644
index 0000000..0d64b10
--- /dev/null
+++ b/childPackage/miniprogram_npm/towxml/echarts/echarts.wxss
@@ -0,0 +1,4 @@
+.ec-canvas {
+ width: 100%;
+ height: 100%;
+}
diff --git a/childPackage/miniprogram_npm/towxml/echarts/wx-canvas.js b/childPackage/miniprogram_npm/towxml/echarts/wx-canvas.js
new file mode 100644
index 0000000..23ce9ad
--- /dev/null
+++ b/childPackage/miniprogram_npm/towxml/echarts/wx-canvas.js
@@ -0,0 +1,97 @@
+export default class WxCanvas {
+ constructor(ctx, canvasId) {
+ this.ctx = ctx;
+ this.canvasId = canvasId;
+ this.chart = null;
+
+ // this._initCanvas(zrender, ctx);
+ this._initStyle(ctx);
+ this._initEvent();
+ }
+
+ getContext(contextType) {
+ if (contextType === '2d') {
+ return this.ctx;
+ }
+ }
+
+ // canvasToTempFilePath(opt) {
+ // if (!opt.canvasId) {
+ // opt.canvasId = this.canvasId;
+ // }
+
+ // return wx.canvasToTempFilePath(opt, this);
+ // }
+
+ setChart(chart) {
+ this.chart = chart;
+ }
+
+ attachEvent () {
+ // noop
+ }
+
+ detachEvent() {
+ // noop
+ }
+
+ _initCanvas(zrender, ctx) {
+ zrender.util.getContext = function () {
+ return ctx;
+ };
+
+ zrender.util.$override('measureText', function (text, font) {
+ ctx.font = font || '12px sans-serif';
+ return ctx.measureText(text);
+ });
+ }
+
+ _initStyle(ctx) {
+ var styles = ['fillStyle', 'strokeStyle', 'globalAlpha',
+ 'textAlign', 'textBaseAlign', 'shadow', 'lineWidth',
+ 'lineCap', 'lineJoin', 'lineDash', 'miterLimit', 'fontSize'];
+
+ styles.forEach(style => {
+ Object.defineProperty(ctx, style, {
+ set: value => {
+ if (style !== 'fillStyle' && style !== 'strokeStyle'
+ || value !== 'none' && value !== null
+ ) {
+ ctx['set' + style.charAt(0).toUpperCase() + style.slice(1)](value);
+ }
+ }
+ });
+ });
+
+ ctx.createRadialGradient = () => {
+ return ctx.createCircularGradient(arguments);
+ };
+ }
+
+ _initEvent() {
+ this.event = {};
+ const eventNames = [{
+ wxName: 'touchStart',
+ ecName: 'mousedown'
+ }, {
+ wxName: 'touchMove',
+ ecName: 'mousemove'
+ }, {
+ wxName: 'touchEnd',
+ ecName: 'mouseup'
+ }, {
+ wxName: 'touchEnd',
+ ecName: 'click'
+ }];
+
+ eventNames.forEach(name => {
+ this.event[name.wxName] = e => {
+ const touch = e.touches[0];
+ this.chart.getZr().handler.dispatch(name.ecName, {
+ zrX: name.wxName === 'tap' ? touch.clientX : touch.x,
+ zrY: name.wxName === 'tap' ? touch.clientY : touch.y
+ });
+ };
+ });
+ }
+}
diff --git a/childPackage/miniprogram_npm/towxml/echarts/wx-echarts.js b/childPackage/miniprogram_npm/towxml/echarts/wx-echarts.js
new file mode 100644
index 0000000..dc6be7e
--- /dev/null
+++ b/childPackage/miniprogram_npm/towxml/echarts/wx-echarts.js
@@ -0,0 +1,12 @@
+!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(t.echarts={})}(this,function(t){"use strict";function e(t){var e={},n={},i=t.match(/Firefox\/([\d.]+)/),r=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),a=t.match(/Edge\/([\d.]+)/),o=/micromessenger/i.test(t);return i&&(n.firefox=!0,n.version=i[1]),r&&(n.ie=!0,n.version=r[1]),a&&(n.edge=!0,n.version=a[1]),o&&(n.weChat=!0),{browser:n,os:e,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:"undefined"!=typeof SVGRect,touchEventsSupported:"ontouchstart"in window&&!n.ie&&!n.edge,pointerEventsSupported:"onpointerdown"in window&&(n.edge||n.ie&&n.version>=11),domSupported:"undefined"!=typeof document}}function n(t,e){"createCanvas"===t&&(Jf=null),$f[t]=e}function i(t){if(null==t||"object"!=typeof t)return t;var e=t,n=Xf.call(t);if("[object Array]"===n){if(!z(t)){e=[];for(var r=0,a=t.length;a>r;r++)e[r]=i(t[r])}}else if(Wf[n]){if(!z(t)){var o=t.constructor;if(t.constructor.from)e=o.from(t);else{e=new o(t.length);for(var r=0,a=t.length;a>r;r++)e[r]=i(t[r])}}}else if(!Gf[n]&&!z(t)&&!T(t)){e={};for(var s in t)t.hasOwnProperty(s)&&(e[s]=i(t[s]))}return e}function r(t,e,n){if(!S(e)||!S(t))return n?i(e):t;for(var a in e)if(e.hasOwnProperty(a)){var o=t[a],s=e[a];!S(s)||!S(o)||x(s)||x(o)||T(s)||T(o)||M(s)||M(o)||z(s)||z(o)?!n&&a in t||(t[a]=i(e[a],!0)):r(o,s,n)}return t}function a(t,e){for(var n=t[0],i=1,a=t.length;a>i;i++)n=r(n,t[i],e);return n}function o(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function s(t,e,n){for(var i in e)e.hasOwnProperty(i)&&(n?null!=e[i]:null==t[i])&&(t[i]=e[i]);return t}function l(){return Jf||(Jf=Qf().getContext("2d")),Jf}function u(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var n=0,i=t.length;i>n;n++)if(t[n]===e)return n}return-1}function h(t,e){function n(){}var i=t.prototype;n.prototype=e.prototype,t.prototype=new n;for(var r in i)i.hasOwnProperty(r)&&(t.prototype[r]=i[r]);t.prototype.constructor=t,t.superClass=e}function c(t,e,n){t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,s(t,e,n)}function d(t){return t?"string"==typeof t?!1:"number"==typeof t.length:void 0}function f(t,e,n){if(t&&e)if(t.forEach&&t.forEach===Uf)t.forEach(e,n);else if(t.length===+t.length)for(var i=0,r=t.length;r>i;i++)e.call(n,t[i],i,t);else for(var a in t)t.hasOwnProperty(a)&&e.call(n,t[a],a,t)}function p(t,e,n){if(t&&e){if(t.map&&t.map===Zf)return t.map(e,n);for(var i=[],r=0,a=t.length;a>r;r++)i.push(e.call(n,t[r],r,t));return i}}function g(t,e,n,i){if(t&&e){if(t.reduce&&t.reduce===Kf)return t.reduce(e,n,i);for(var r=0,a=t.length;a>r;r++)n=e.call(i,n,t[r],r,t);return n}}function v(t,e,n){if(t&&e){if(t.filter&&t.filter===qf)return t.filter(e,n);for(var i=[],r=0,a=t.length;a>r;r++)e.call(n,t[r],r,t)&&i.push(t[r]);return i}}function m(t,e,n){if(t&&e)for(var i=0,r=t.length;r>i;i++)if(e.call(n,t[i],i,t))return t[i]}function y(t,e){var n=jf.call(arguments,2);return function(){return t.apply(e,n.concat(jf.call(arguments)))}}function _(t){var e=jf.call(arguments,1);return function(){return t.apply(this,e.concat(jf.call(arguments)))}}function x(t){return"[object Array]"===Xf.call(t)}function w(t){return"function"==typeof t}function b(t){return"[object String]"===Xf.call(t)}function S(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function M(t){return!!Gf[Xf.call(t)]}function I(t){return!!Wf[Xf.call(t)]}function T(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}function C(t){return t!==t}function D(){for(var t=0,e=arguments.length;e>t;t++)if(null!=arguments[t])return arguments[t]}function A(t,e){return null!=t?t:e}function k(t,e,n){return null!=t?t:null!=e?e:n}function P(){return Function.call.apply(jf,arguments)}function L(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 O(t,e){if(!t)throw new Error(e)}function B(t){return null==t?null:"function"==typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}function E(t){t[tp]=!0}function z(t){return t[tp]}function R(t){function e(t,e){n?i.set(t,e):i.set(e,t)}var n=x(t);this.data={};var i=this;t instanceof R?t.each(e):t&&f(t,e)}function N(t){return new R(t)}function F(t,e){for(var n=new t.constructor(t.length+e.length),i=0;id;d++){var p=1<o;o++)for(var s=0;8>s;s++)null==a[s]&&(a[s]=0),a[s]+=((o+s)%2?-1:1)*de(n,7,0===o?1:0,1<a;a++){var o=document.createElement("div"),s=o.style,l=a%2,u=(a>>1)%2;s.cssText=["position:absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","width:0","height:0",i[l]+":0",r[u]+":0",i[1-l]+":auto",r[1-u]+":auto",""].join("!important;"),t.appendChild(o),n.push(o)}return n}function me(t,e){for(var n=e.transformer,i=e.srcCoords,r=!0,a=[],o=[],s=0;4>s;s++){var l=t[s].getBoundingClientRect(),u=2*s,h=l.left,c=l.top;a.push(h,c),r&=i&&h===i[u]&&c===i[u+1],o.push(t[s].offsetLeft,t[s].offsetTop)}return r?n:(e.srcCoords=a,e.transformer=fe(a,o))}function ye(t){return t||window.event}function _e(t,e,n){if(e=ye(e),null!=e.zrX)return e;var i=e.type,r=i&&i.indexOf("touch")>=0;if(r){var a="touchend"!==i?e.targetTouches[0]:e.changedTouches[0];a&&pe(t,a,e,n)}else pe(t,e,e,n),e.zrDelta=e.wheelDelta?e.wheelDelta/120:-(e.detail||0)/3;var o=e.button;return null==e.which&&void 0!==o&&dp.test(e.type)&&(e.which=1&o?1:2&o?3:4&o?2:0),e}function xe(t,e,n,i){cp?t.addEventListener(e,n,i):t.attachEvent("on"+e,n)}function we(t,e,n,i){cp?t.removeEventListener(e,n,i):t.detachEvent("on"+e,n)}function be(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}function Se(t){return[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]}function Me(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:Ie}}function Ie(){gp(this.event)}function Te(){}function Ce(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){for(var i,r=t;r;){if(r.clipPath&&!r.clipPath.contain(e,n))return!1;r.silent&&(i=!0),r=r.parent}return i?yp:!0}return!1}function De(t,e,n){var i=t.painter;return 0>e||e>i.getWidth()||0>n||n>i.getHeight()}function Ae(){var t=new wp(6);return ke(t),t}function ke(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function Pe(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 Le(t,e,n){var i=e[0]*n[0]+e[2]*n[1],r=e[1]*n[0]+e[3]*n[1],a=e[0]*n[2]+e[2]*n[3],o=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]=a,t[3]=o,t[4]=s,t[5]=l,t}function Oe(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 Be(t,e,n){var i=e[0],r=e[2],a=e[4],o=e[1],s=e[3],l=e[5],u=Math.sin(n),h=Math.cos(n);return t[0]=i*h+o*u,t[1]=-i*u+o*h,t[2]=r*h+s*u,t[3]=-r*u+h*s,t[4]=h*a+u*l,t[5]=h*l-u*a,t}function Ee(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 ze(t,e){var n=e[0],i=e[2],r=e[4],a=e[1],o=e[3],s=e[5],l=n*o-a*i;return l?(l=1/l,t[0]=o*l,t[1]=-a*l,t[2]=-i*l,t[3]=n*l,t[4]=(i*s-o*r)*l,t[5]=(a*r-n*s)*l,t):null}function Re(t){var e=Ae();return Pe(e,t),e}function Ne(t){return t>Mp||-Mp>t}function Fe(t){this._target=t.target,this._life=t.life||1e3,this._delay=t.delay||0,this._initialized=!1,this.loop=null==t.loop?!1:t.loop,this.gap=t.gap||0,this.easing=t.easing||"Linear",this.onframe=t.onframe,this.ondestroy=t.ondestroy,this.onrestart=t.onrestart,this._pausedTime=0,this._paused=!1}function Ve(t){return t=Math.round(t),0>t?0:t>255?255:t}function He(t){return t=Math.round(t),0>t?0:t>360?360:t}function Ge(t){return 0>t?0:t>1?1:t}function We(t){return Ve(t.length&&"%"===t.charAt(t.length-1)?parseFloat(t)/100*255:parseInt(t,10))}function Xe(t){return Ge(t.length&&"%"===t.charAt(t.length-1)?parseFloat(t)/100:parseFloat(t))}function Ye(t,e,n){return 0>n?n+=1:n>1&&(n-=1),1>6*n?t+(e-t)*n*6:1>2*n?e:2>3*n?t+(e-t)*(2/3-n)*6:t}function Ue(t,e,n){return t+(e-t)*n}function qe(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function je(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}function Ze(t,e){Np&&je(Np,e),Np=Rp.put(t,Np||e.slice())}function Ke(t,e){if(t){e=e||[];var n=Rp.get(t);if(n)return je(e,n);t+="";var i=t.replace(/ /g,"").toLowerCase();if(i in zp)return je(e,zp[i]),Ze(t,e),e;if("#"!==i.charAt(0)){var r=i.indexOf("("),a=i.indexOf(")");if(-1!==r&&a+1===i.length){var o=i.substr(0,r),s=i.substr(r+1,a-(r+1)).split(","),l=1;switch(o){case"rgba":if(4!==s.length)return void qe(e,0,0,0,1);l=Xe(s.pop());case"rgb":return 3!==s.length?void qe(e,0,0,0,1):(qe(e,We(s[0]),We(s[1]),We(s[2]),l),Ze(t,e),e);case"hsla":return 4!==s.length?void qe(e,0,0,0,1):(s[3]=Xe(s[3]),$e(s,e),Ze(t,e),e);case"hsl":return 3!==s.length?void qe(e,0,0,0,1):($e(s,e),Ze(t,e),e);default:return}}qe(e,0,0,0,1)}else{if(4===i.length){var u=parseInt(i.substr(1),16);return u>=0&&4095>=u?(qe(e,(3840&u)>>4|(3840&u)>>8,240&u|(240&u)>>4,15&u|(15&u)<<4,1),Ze(t,e),e):void qe(e,0,0,0,1)}if(7===i.length){var u=parseInt(i.substr(1),16);return u>=0&&16777215>=u?(qe(e,(16711680&u)>>16,(65280&u)>>8,255&u,1),Ze(t,e),e):void qe(e,0,0,0,1)}}}}function $e(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=Xe(t[1]),r=Xe(t[2]),a=.5>=r?r*(i+1):r+i-r*i,o=2*r-a;return e=e||[],qe(e,Ve(255*Ye(o,a,n+1/3)),Ve(255*Ye(o,a,n)),Ve(255*Ye(o,a,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function Qe(t){if(t){var e,n,i=t[0]/255,r=t[1]/255,a=t[2]/255,o=Math.min(i,r,a),s=Math.max(i,r,a),l=s-o,u=(s+o)/2;if(0===l)e=0,n=0;else{n=.5>u?l/(s+o):l/(2-s-o);var h=((s-i)/6+l/2)/l,c=((s-r)/6+l/2)/l,d=((s-a)/6+l/2)/l;i===s?e=d-c:r===s?e=1/3+h-d:a===s&&(e=2/3+c-h),0>e&&(e+=1),e>1&&(e-=1)}var f=[360*e,n,u];return null!=t[3]&&f.push(t[3]),f}}function Je(t,e){var n=Ke(t);if(n){for(var i=0;3>i;i++)n[i]=0>e?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,n[i]>255?n[i]=255:t[i]<0&&(n[i]=0);return on(n,4===n.length?"rgba":"rgb")}}function tn(t){var e=Ke(t);return e?((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1):void 0}function en(t,e,n){if(e&&e.length&&t>=0&&1>=t){n=n||[];var i=t*(e.length-1),r=Math.floor(i),a=Math.ceil(i),o=e[r],s=e[a],l=i-r;return n[0]=Ve(Ue(o[0],s[0],l)),n[1]=Ve(Ue(o[1],s[1],l)),n[2]=Ve(Ue(o[2],s[2],l)),n[3]=Ge(Ue(o[3],s[3],l)),n}}function nn(t,e,n){if(e&&e.length&&t>=0&&1>=t){var i=t*(e.length-1),r=Math.floor(i),a=Math.ceil(i),o=Ke(e[r]),s=Ke(e[a]),l=i-r,u=on([Ve(Ue(o[0],s[0],l)),Ve(Ue(o[1],s[1],l)),Ve(Ue(o[2],s[2],l)),Ge(Ue(o[3],s[3],l))],"rgba");return n?{color:u,leftIndex:r,rightIndex:a,value:i}:u}}function rn(t,e,n,i){return t=Ke(t),t?(t=Qe(t),null!=e&&(t[0]=He(e)),null!=n&&(t[1]=Xe(n)),null!=i&&(t[2]=Xe(i)),on($e(t),"rgba")):void 0}function an(t,e){return t=Ke(t),t&&null!=e?(t[3]=Ge(e),on(t,"rgba")):void 0}function on(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 sn(t,e){return t[e]}function ln(t,e,n){t[e]=n}function un(t,e,n){return(e-t)*n+t}function hn(t,e,n){return n>.5?e:t}function cn(t,e,n,i,r){var a=t.length;if(1===r)for(var o=0;a>o;o++)i[o]=un(t[o],e[o],n);else for(var s=a&&t[0].length,o=0;a>o;o++)for(var l=0;s>l;l++)i[o][l]=un(t[o][l],e[o][l],n)}function dn(t,e,n){var i=t.length,r=e.length;if(i!==r){var a=i>r;if(a)t.length=r;else for(var o=i;r>o;o++)t.push(1===n?e[o]:Gp.call(e[o]))}for(var s=t[0]&&t[0].length,o=0;ol;l++)isNaN(t[o][l])&&(t[o][l]=e[o][l])}function fn(t,e,n){if(t===e)return!0;var i=t.length;if(i!==e.length)return!1;if(1===n){for(var r=0;i>r;r++)if(t[r]!==e[r])return!1}else for(var a=t[0].length,r=0;i>r;r++)for(var o=0;a>o;o++)if(t[r][o]!==e[r][o])return!1;return!0}function pn(t,e,n,i,r,a,o,s,l){var u=t.length;if(1===l)for(var h=0;u>h;h++)s[h]=gn(t[h],e[h],n[h],i[h],r,a,o);else for(var c=t[0].length,h=0;u>h;h++)for(var d=0;c>d;d++)s[h][d]=gn(t[h][d],e[h][d],n[h][d],i[h][d],r,a,o)}function gn(t,e,n,i,r,a,o){var s=.5*(n-t),l=.5*(i-e);return(2*(e-n)+s+l)*o+(-3*(e-n)-2*s-l)*a+s*r+e}function vn(t){if(d(t)){var e=t.length;if(d(t[0])){for(var n=[],i=0;e>i;i++)n.push(Gp.call(t[i]));return n}return Gp.call(t)}return t}function mn(t){return t[0]=Math.floor(t[0]),t[1]=Math.floor(t[1]),t[2]=Math.floor(t[2]),"rgba("+t.join(",")+")"}function yn(t){var e=t[t.length-1].value;return d(e&&e[0])?2:1}function _n(t,e,n,i,r,a){var o=t._getter,s=t._setter,l="spline"===e,u=i.length;if(u){var h,c=i[0].value,f=d(c),p=!1,g=!1,v=f?yn(i):0;i.sort(function(t,e){return t.time-e.time}),h=i[u-1].time;for(var m=[],y=[],_=i[0].value,x=!0,w=0;u>w;w++){m.push(i[w].time/h);var b=i[w].value;if(f&&fn(b,_,v)||!f&&b===_||(x=!1),_=b,"string"==typeof b){var S=Ke(b);S?(b=S,p=!0):g=!0}y.push(b)}if(a||!x){for(var M=y[u-1],w=0;u-1>w;w++)f?dn(y[w],M,v):!isNaN(y[w])||isNaN(M)||g||p||(y[w]=M);f&&dn(o(t._target,r),M,v);var I,T,C,D,A,k,P=0,L=0;if(p)var O=[0,0,0,0];var B=function(t,e){var n;if(0>e)n=0;else if(L>e){for(I=Math.min(P+1,u-1),n=I;n>=0&&!(m[n]<=e);n--);n=Math.min(n,u-2)}else{for(n=P;u>n&&!(m[n]>e);n++);n=Math.min(n-1,u-2)}P=n,L=e;var i=m[n+1]-m[n];if(0!==i)if(T=(e-m[n])/i,l)if(D=y[n],C=y[0===n?n:n-1],A=y[n>u-2?u-1:n+1],k=y[n>u-3?u-1:n+2],f)pn(C,D,A,k,T,T*T,T*T*T,o(t,r),v);else{var a;if(p)a=pn(C,D,A,k,T,T*T,T*T*T,O,1),a=mn(O);else{if(g)return hn(D,A,T);a=gn(C,D,A,k,T,T*T,T*T*T)}s(t,r,a)}else if(f)cn(y[n],y[n+1],T,o(t,r),v);else{var a;if(p)cn(y[n],y[n+1],T,O,1),a=mn(O);else{if(g)return hn(y[n],y[n+1],T);a=un(y[n],y[n+1],T)}s(t,r,a)}},E=new Fe({target:t._target,life:h,loop:t._loop,delay:t._delay,onframe:B,ondestroy:n});return e&&"spline"!==e&&(E.easing=e),E}}}function xn(t,e,n,i,r,a,o,s){function l(){h--,h||a&&a()}b(i)?(a=r,r=i,i=0):w(r)?(a=r,r="linear",i=0):w(i)?(a=i,i=0):w(n)?(a=n,n=500):n||(n=500),t.stopAnimation(),wn(t,"",t,e,n,i,s);var u=t.animators.slice(),h=u.length;h||a&&a();for(var c=0;c0&&t.animate(e,!1).when(null==r?500:r,s).delay(a||0)}function bn(t,e,n,i){if(e){var r={};r[e]={},r[e][n]=i,t.attr(r)}else t.attr(n,i)}function Sn(t,e,n,i){0>n&&(t+=n,n=-n),0>i&&(e+=i,i=-i),this.x=t,this.y=e,this.width=n,this.height=i}function Mn(t){for(var e=0;t>=eg;)e|=1&t,t>>=1;return t+e}function In(t,e,n,i){var r=e+1;if(r===n)return 1;if(i(t[r++],t[e])<0){for(;n>r&&i(t[r],t[r-1])<0;)r++;Tn(t,e,r)}else for(;n>r&&i(t[r],t[r-1])>=0;)r++;return r-e}function Tn(t,e,n){for(n--;n>e;){var i=t[e];t[e++]=t[n],t[n--]=i}}function Cn(t,e,n,i,r){for(i===e&&i++;n>i;i++){for(var a,o=t[i],s=e,l=i;l>s;)a=s+l>>>1,r(o,t[a])<0?l=a:s=a+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]=o}}function Dn(t,e,n,i,r,a){var o=0,s=0,l=1;if(a(t,e[n+r])>0){for(s=i-r;s>l&&a(t,e[n+r+l])>0;)o=l,l=(l<<1)+1,0>=l&&(l=s);l>s&&(l=s),o+=r,l+=r}else{for(s=r+1;s>l&&a(t,e[n+r-l])<=0;)o=l,l=(l<<1)+1,0>=l&&(l=s);l>s&&(l=s);var u=o;o=r-l,l=r-u}for(o++;l>o;){var h=o+(l-o>>>1);a(t,e[n+h])>0?o=h+1:l=h}return l}function An(t,e,n,i,r,a){var o=0,s=0,l=1;if(a(t,e[n+r])<0){for(s=r+1;s>l&&a(t,e[n+r-l])<0;)o=l,l=(l<<1)+1,0>=l&&(l=s);l>s&&(l=s);var u=o;o=r-l,l=r-u}else{for(s=i-r;s>l&&a(t,e[n+r+l])>=0;)o=l,l=(l<<1)+1,0>=l&&(l=s);l>s&&(l=s),o+=r,l+=r}for(o++;l>o;){var h=o+(l-o>>>1);a(t,e[n+h])<0?l=h:o=h+1}return l}function kn(t,e){function n(t,e){l[c]=t,u[c]=e,c+=1}function i(){for(;c>1;){var t=c-2;if(t>=1&&u[t-1]<=u[t]+u[t+1]||t>=2&&u[t-2]<=u[t]+u[t-1])u[t-1]u[t+1])break;a(t)}}function r(){for(;c>1;){var t=c-2;t>0&&u[t-1]=r?o(i,r,a,h):s(i,r,a,h)))}function o(n,i,r,a){var o=0;for(o=0;i>o;o++)d[o]=t[n+o];var s=0,l=r,u=n;if(t[u++]=t[l++],0!==--a){if(1===i){for(o=0;a>o;o++)t[u+o]=t[l+o];return void(t[u+a]=d[s])}for(var c,f,p,g=h;;){c=0,f=0,p=!1;do if(e(t[l],d[s])<0){if(t[u++]=t[l++],f++,c=0,0===--a){p=!0;break}}else if(t[u++]=d[s++],c++,f=0,1===--i){p=!0;break}while(g>(c|f));if(p)break;do{if(c=An(t[l],d,s,i,0,e),0!==c){for(o=0;c>o;o++)t[u+o]=d[s+o];if(u+=c,s+=c,i-=c,1>=i){p=!0;break}}if(t[u++]=t[l++],0===--a){p=!0;break}if(f=Dn(d[s],t,l,a,0,e),0!==f){for(o=0;f>o;o++)t[u+o]=t[l+o];if(u+=f,l+=f,a-=f,0===a){p=!0;break}}if(t[u++]=d[s++],1===--i){p=!0;break}g--}while(c>=ng||f>=ng);if(p)break;0>g&&(g=0),g+=2}if(h=g,1>h&&(h=1),1===i){for(o=0;a>o;o++)t[u+o]=t[l+o];t[u+a]=d[s]}else{if(0===i)throw new Error;for(o=0;i>o;o++)t[u+o]=d[s+o]}}else for(o=0;i>o;o++)t[u+o]=d[s+o]}function s(n,i,r,a){var o=0;for(o=0;a>o;o++)d[o]=t[r+o];var s=n+i-1,l=a-1,u=r+a-1,c=0,f=0;if(t[u--]=t[s--],0!==--i){if(1===a){for(u-=i,s-=i,f=u+1,c=s+1,o=i-1;o>=0;o--)t[f+o]=t[c+o];return void(t[u]=d[l])}for(var p=h;;){var g=0,v=0,m=!1;do if(e(d[l],t[s])<0){if(t[u--]=t[s--],g++,v=0,0===--i){m=!0;break}}else if(t[u--]=d[l--],v++,g=0,1===--a){m=!0;break}while(p>(g|v));if(m)break;do{if(g=i-An(d[l],t,n,i,i-1,e),0!==g){for(u-=g,s-=g,i-=g,f=u+1,c=s+1,o=g-1;o>=0;o--)t[f+o]=t[c+o];if(0===i){m=!0;break}}if(t[u--]=d[l--],1===--a){m=!0;break}if(v=a-Dn(t[s],d,0,a,a-1,e),0!==v){for(u-=v,l-=v,a-=v,f=u+1,c=l+1,o=0;v>o;o++)t[f+o]=d[c+o];if(1>=a){m=!0;break}}if(t[u--]=t[s--],0===--i){m=!0;break}p--}while(g>=ng||v>=ng);if(m)break;0>p&&(p=0),p+=2}if(h=p,1>h&&(h=1),1===a){for(u-=i,s-=i,f=u+1,c=s+1,o=i-1;o>=0;o--)t[f+o]=t[c+o];t[u]=d[l]}else{if(0===a)throw new Error;for(c=u-(a-1),o=0;a>o;o++)t[c+o]=d[o]}}else for(c=u-(a-1),o=0;a>o;o++)t[c+o]=d[o]}var l,u,h=ng,c=0,d=[];l=[],u=[],this.mergeRuns=i,this.forceMergeRuns=r,this.pushRun=n}function Pn(t,e,n,i){n||(n=0),i||(i=t.length);var r=i-n;if(!(2>r)){var a=0;if(eg>r)return a=In(t,n,i,e),void Cn(t,n,i,n+a,e);var o=new kn(t,e),s=Mn(r);do{if(a=In(t,n,i,e),s>a){var l=r;l>s&&(l=s),Cn(t,n,n+l,n+a,e),a=l}o.pushRun(n,a),o.mergeRuns(),r-=a,n+=a}while(0!==r);o.forceMergeRuns()}}function Ln(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}function On(t,e,n){var i=null==e.x?0:e.x,r=null==e.x2?1:e.x2,a=null==e.y?0:e.y,o=null==e.y2?0:e.y2;e.global||(i=i*n.width+n.x,r=r*n.width+n.x,a=a*n.height+n.y,o=o*n.height+n.y),i=isNaN(i)?0:i,r=isNaN(r)?1:r,a=isNaN(a)?0:a,o=isNaN(o)?0:o;var s=t.createLinearGradient(i,a,r,o);return s}function Bn(t,e,n){var i=n.width,r=n.height,a=Math.min(i,r),o=null==e.x?.5:e.x,s=null==e.y?.5:e.y,l=null==e.r?.5:e.r;e.global||(o=o*i+n.x,s=s*r+n.y,l*=a);var u=t.createRadialGradient(o,s,0,o,s,l);return u}function En(){return!1}function zn(t,e,n){var i=Qf(),r=e.getWidth(),a=e.getHeight(),o=i.style;return o&&(o.position="absolute",o.left=0,o.top=0,o.width=r+"px",o.height=a+"px",i.setAttribute("data-zr-dom-id",t)),i.width=r*n,i.height=a*n,i}function Rn(t){if("string"==typeof t){var e=vg.get(t);return e&&e.image}return t}function Nn(t,e,n,i,r){if(t){if("string"==typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var a=vg.get(t),o={hostEl:n,cb:i,cbPayload:r};return a?(e=a.image,!Vn(e)&&a.pending.push(o)):(e=new Image,e.onload=e.onerror=Fn,vg.put(t,e.__cachedImgObj={image:e,pending:[o]}),e.src=e.__zrImageSrc=t),e}return t}return e}function Fn(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;ea;a++)r=Math.max(Jn(i[a],e).width,r);return yg>_g&&(yg=0,mg={}),yg++,mg[n]=r,r}function Gn(t,e,n,i,r,a,o,s){return o?Xn(t,e,n,i,r,a,o,s):Wn(t,e,n,i,r,a,s)}function Wn(t,e,n,i,r,a,o){var s=ti(t,e,r,a,o),l=Hn(t,e);r&&(l+=r[1]+r[3]);var u=s.outerHeight,h=Yn(0,l,n),c=Un(0,u,i),d=new Sn(h,c,l,u);return d.lineHeight=s.lineHeight,d}function Xn(t,e,n,i,r,a,o,s){var l=ei(t,{rich:o,truncate:s,font:e,textAlign:n,textPadding:r,textLineHeight:a}),u=l.outerWidth,h=l.outerHeight,c=Yn(0,u,n),d=Un(0,h,i);return new Sn(c,d,u,h)}function Yn(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function Un(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function qn(t,e,n){var i=e.textPosition,r=e.textDistance,a=n.x,o=n.y;r=r||0;var s=n.height,l=n.width,u=s/2,h="left",c="top";switch(i){case"left":a-=r,o+=u,h="right",c="middle";break;case"right":a+=r+l,o+=u,c="middle";break;case"top":a+=l/2,o-=r,h="center",c="bottom";break;case"bottom":a+=l/2,o+=s+r,h="center";break;case"inside":a+=l/2,o+=u,h="center",c="middle";break;case"insideLeft":a+=r,o+=u,c="middle";break;case"insideRight":a+=l-r,o+=u,h="right",c="middle";break;case"insideTop":a+=l/2,o+=r,h="center";break;case"insideBottom":a+=l/2,o+=s-r,h="center",c="bottom";break;case"insideTopLeft":a+=r,o+=r;break;case"insideTopRight":a+=l-r,o+=r,h="right";break;case"insideBottomLeft":a+=r,o+=s-r,c="bottom";break;case"insideBottomRight":a+=l-r,o+=s-r,h="right",c="bottom"}return t=t||{},t.x=a,t.y=o,t.textAlign=h,t.textVerticalAlign=c,t}function jn(t,e,n,i,r){if(!e)return"";var a=(t+"").split("\n");r=Zn(e,n,i,r);for(var o=0,s=a.length;s>o;o++)a[o]=Kn(a[o],r);return a.join("\n")}function Zn(t,e,n,i){i=o({},i),i.font=e;var n=A(n,"...");i.maxIterations=A(i.maxIterations,2);var r=i.minChar=A(i.minChar,0);i.cnCharWidth=Hn("国",e);var a=i.ascCharWidth=Hn("a",e);i.placeholder=A(i.placeholder,"");for(var s=t=Math.max(0,t-1),l=0;r>l&&s>=a;l++)s-=a;var u=Hn(n,e);return u>s&&(n="",u=0),s=t-u,i.ellipsis=n,i.ellipsisWidth=u,i.contentWidth=s,i.containerWidth=t,i}function Kn(t,e){var n=e.containerWidth,i=e.font,r=e.contentWidth;if(!n)return"";var a=Hn(t,i);if(n>=a)return t;for(var o=0;;o++){if(r>=a||o>=e.maxIterations){t+=e.ellipsis;break}var s=0===o?$n(t,r,e.ascCharWidth,e.cnCharWidth):a>0?Math.floor(t.length*r/a):0;t=t.substr(0,s),a=Hn(t,i)}return""===t&&(t=e.placeholder),t}function $n(t,e,n,i){for(var r=0,a=0,o=t.length;o>a&&e>r;a++){var s=t.charCodeAt(a);r+=s>=0&&127>=s?n:i}return a}function Qn(t){return Hn("国",t)}function Jn(t,e){return bg.measureText(t,e)}function ti(t,e,n,i,r){null!=t&&(t+="");var a=A(i,Qn(e)),o=t?t.split("\n"):[],s=o.length*a,l=s,u=!0;if(n&&(l+=n[0]+n[2]),t&&r){u=!1;var h=r.outerHeight,c=r.outerWidth;if(null!=h&&l>h)t="",o=[];else if(null!=c)for(var d=Zn(c-(n?n[1]+n[3]:0),e,r.ellipsis,{minChar:r.minChar,placeholder:r.placeholder}),f=0,p=o.length;p>f;f++)o[f]=Kn(o[f],d)}return{lines:o,height:s,outerHeight:l,lineHeight:a,canCacheByTextString:u}}function ei(t,e){var n={lines:[],width:0,height:0};if(null!=t&&(t+=""),!t)return n;for(var i,r=xg.lastIndex=0;null!=(i=xg.exec(t));){var a=i.index;a>r&&ni(n,t.substring(r,a)),ni(n,i[2],i[1]),r=xg.lastIndex}rf)return{lines:[],width:0,height:0};_.textWidth=Hn(_.text,b);var M=x.textWidth,I=null==M||"auto"===M;if("string"==typeof M&&"%"===M.charAt(M.length-1))_.percentWidth=M,u.push(_),M=0;else{if(I){M=_.textWidth;var T=x.textBackgroundColor,C=T&&T.image;C&&(C=Rn(C),Vn(C)&&(M=Math.max(M,C.width*S/C.height)))}var D=w?w[1]+w[3]:0;M+=D;var P=null!=d?d-m:null;null!=P&&M>P&&(!I||D>P?(_.text="",_.textWidth=M=0):(_.text=jn(_.text,P-D,b,c.ellipsis,{minChar:c.minChar}),_.textWidth=Hn(_.text,b),M=_.textWidth+D))}m+=_.width=M,x&&(v=Math.max(v,_.lineHeight))}g.width=m,g.lineHeight=v,s+=v,l=Math.max(l,m)}n.outerWidth=n.width=A(e.textWidth,l),n.outerHeight=n.height=A(e.textHeight,s),h&&(n.outerWidth+=h[1]+h[3],n.outerHeight+=h[0]+h[2]);for(var p=0;pl&&(o+=l,l=-l),0>u&&(s+=u,u=-u),"number"==typeof h?n=i=r=a=h:h instanceof Array?1===h.length?n=i=r=a=h[0]:2===h.length?(n=r=h[0],i=a=h[1]):3===h.length?(n=h[0],i=a=h[1],r=h[2]):(n=h[0],i=h[1],r=h[2],a=h[3]):n=i=r=a=0;var c;n+i>l&&(c=n+i,n*=l/c,i*=l/c),r+a>l&&(c=r+a,r*=l/c,a*=l/c),i+r>u&&(c=i+r,i*=u/c,r*=u/c),n+a>u&&(c=n+a,n*=u/c,a*=u/c),t.moveTo(o+n,s),t.lineTo(o+l-i,s),0!==i&&t.arc(o+l-i,s+i,i,-Math.PI/2,0),t.lineTo(o+l,s+u-r),0!==r&&t.arc(o+l-r,s+u-r,r,0,Math.PI/2),t.lineTo(o+a,s+u),0!==a&&t.arc(o+a,s+u-a,a,Math.PI/2,Math.PI),t.lineTo(o,s+n),0!==n&&t.arc(o+n,s+n,n,Math.PI,1.5*Math.PI)}function ai(t){return oi(t),f(t.rich,oi),t}function oi(t){if(t){t.font=ii(t);var e=t.textAlign;"middle"===e&&(e="center"),t.textAlign=null==e||Mg[e]?e:"left";var n=t.textVerticalAlign||t.textBaseline;"center"===n&&(n="middle"),t.textVerticalAlign=null==n||Ig[n]?n:"top";var i=t.textPadding;i&&(t.textPadding=L(t.textPadding))}}function si(t,e,n,i,r,a){i.rich?ui(t,e,n,i,r,a):li(t,e,n,i,r,a)}function li(t,e,n,i,r,a){var o,s=fi(i),l=!1,u=e.__attrCachedBy===og.PLAIN_TEXT;a!==sg?(a&&(o=a.style,l=!s&&u&&o),e.__attrCachedBy=s?og.NONE:og.PLAIN_TEXT):u&&(e.__attrCachedBy=og.NONE);var h=i.font||Sg;l&&h===(o.font||Sg)||(e.font=h);var c=t.__computedFont;t.__styleFont!==h&&(t.__styleFont=h,c=t.__computedFont=e.font);var d=i.textPadding,f=i.textLineHeight,p=t.__textCotentBlock;(!p||t.__dirtyText)&&(p=t.__textCotentBlock=ti(n,c,d,f,i.truncate));var g=p.outerHeight,v=p.lines,m=p.lineHeight,y=vi(Dg,t,i,r),_=y.baseX,x=y.baseY,w=y.textAlign||"left",b=y.textVerticalAlign;ci(e,i,r,_,x);var S=Un(x,g,b),M=_,I=S;if(s||d){var T=Hn(n,c),C=T;d&&(C+=d[1]+d[3]);var D=Yn(_,C,w);s&&pi(t,e,i,D,S,C,g),d&&(M=wi(_,w,d),I+=d[0])}e.textAlign=w,e.textBaseline="middle",e.globalAlpha=i.opacity||1;for(var A=0;AT&&(x=b[T],!x.textAlign||"left"===x.textAlign);)di(t,e,x,i,M,m,C,"left"),I-=x.width,C+=x.width,T++;for(;A>=0&&(x=b[A],"right"===x.textAlign);)di(t,e,x,i,M,m,D,"right"),I-=x.width,D-=x.width,A--;for(C+=(a-(C-v)-(y-D)-I)/2;A>=T;)x=b[T],di(t,e,x,i,M,m,C+x.width/2,"center"),C+=x.width,T++;m+=M}}function ci(t,e,n,i,r){if(n&&e.textRotation){var a=e.textOrigin;"center"===a?(i=n.width/2+n.x,r=n.height/2+n.y):a&&(i=a[0]+n.x,r=a[1]+n.y),t.translate(i,r),t.rotate(-e.textRotation),t.translate(-i,-r)}}function di(t,e,n,i,r,a,o,s){var l=i.rich[n.styleName]||{};l.text=n.text;var u=n.textVerticalAlign,h=a+r/2;"top"===u?h=a+n.height/2:"bottom"===u&&(h=a+r-n.height/2),!n.isLineHolder&&fi(l)&&pi(t,e,l,"right"===s?o-n.width:"center"===s?o-n.width/2:o,h-n.height/2,n.width,n.height);var c=n.textPadding;c&&(o=wi(o,s,c),h-=n.height/2-c[2]-n.textHeight/2),mi(e,"shadowBlur",k(l.textShadowBlur,i.textShadowBlur,0)),mi(e,"shadowColor",l.textShadowColor||i.textShadowColor||"transparent"),mi(e,"shadowOffsetX",k(l.textShadowOffsetX,i.textShadowOffsetX,0)),mi(e,"shadowOffsetY",k(l.textShadowOffsetY,i.textShadowOffsetY,0)),mi(e,"textAlign",s),mi(e,"textBaseline","middle"),mi(e,"font",n.font||Sg);
+var d=yi(l.textStroke||i.textStroke,p),f=_i(l.textFill||i.textFill),p=A(l.textStrokeWidth,i.textStrokeWidth);d&&(mi(e,"lineWidth",p),mi(e,"strokeStyle",d),e.strokeText(n.text,o,h)),f&&(mi(e,"fillStyle",f),e.fillText(n.text,o,h))}function fi(t){return!!(t.textBackgroundColor||t.textBorderWidth&&t.textBorderColor)}function pi(t,e,n,i,r,a,o){var s=n.textBackgroundColor,l=n.textBorderWidth,u=n.textBorderColor,h=b(s);if(mi(e,"shadowBlur",n.textBoxShadowBlur||0),mi(e,"shadowColor",n.textBoxShadowColor||"transparent"),mi(e,"shadowOffsetX",n.textBoxShadowOffsetX||0),mi(e,"shadowOffsetY",n.textBoxShadowOffsetY||0),h||l&&u){e.beginPath();var c=n.textBorderRadius;c?ri(e,{x:i,y:r,width:a,height:o,r:c}):e.rect(i,r,a,o),e.closePath()}if(h)if(mi(e,"fillStyle",s),null!=n.fillOpacity){var d=e.globalAlpha;e.globalAlpha=n.fillOpacity*n.opacity,e.fill(),e.globalAlpha=d}else e.fill();else if(S(s)){var f=s.image;f=Nn(f,null,t,gi,s),f&&Vn(f)&&e.drawImage(f,i,r,a,o)}if(l&&u)if(mi(e,"lineWidth",l),mi(e,"strokeStyle",u),null!=n.strokeOpacity){var d=e.globalAlpha;e.globalAlpha=n.strokeOpacity*n.opacity,e.stroke(),e.globalAlpha=d}else e.stroke()}function gi(t,e){e.image=t}function vi(t,e,n,i){var r=n.x||0,a=n.y||0,o=n.textAlign,s=n.textVerticalAlign;if(i){var l=n.textPosition;if(l instanceof Array)r=i.x+xi(l[0],i.width),a=i.y+xi(l[1],i.height);else{var u=e&&e.calculateTextPosition?e.calculateTextPosition(Cg,n,i):qn(Cg,n,i);r=u.x,a=u.y,o=o||u.textAlign,s=s||u.textVerticalAlign}var h=n.textOffset;h&&(r+=h[0],a+=h[1])}return t=t||{},t.baseX=r,t.baseY=a,t.textAlign=o,t.textVerticalAlign=s,t}function mi(t,e,n){return t[e]=ag(t,e,n),t[e]}function yi(t,e){return null==t||0>=e||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function _i(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function xi(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function wi(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}function bi(t,e){return null!=t&&(t||e.textBackgroundColor||e.textBorderWidth&&e.textBorderColor||e.textPadding)}function Si(t){t=t||{},Kp.call(this,t);for(var e in t)t.hasOwnProperty(e)&&"style"!==e&&(this[e]=t[e]);this.style=new ug(t.style,this),this._rect=null,this.__clipPaths=null}function Mi(t){Si.call(this,t)}function Ii(t){return parseInt(t,10)}function Ti(t){return t?t.__builtin__?!0:"function"!=typeof t.resize||"function"!=typeof t.refresh?!1:!0:!1}function Ci(t,e,n){return Eg.copy(t.getBoundingRect()),t.transform&&Eg.applyTransform(t.transform),zg.width=e,zg.height=n,!Eg.intersect(zg)}function Di(t,e){if(t===e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var n=0;ni;i++){var a=n[i];!t.emphasis[e].hasOwnProperty(a)&&t[e].hasOwnProperty(a)&&(t.emphasis[e][a]=t[e][a])}}}function Qi(t){return!tv(t)||ev(t)||t instanceof Date?t:t.value}function Ji(t){return tv(t)&&!(t instanceof Array)}function tr(t,e){e=(e||[]).slice();var n=p(t||[],function(t){return{exist:t}});return Jg(e,function(t,i){if(tv(t)){for(var r=0;r=n.length&&n.push({option:t})}}),n}function er(t){var e=N();Jg(t,function(t){var n=t.exist;n&&e.set(n.id,t)}),Jg(t,function(t){var n=t.option;O(!n||null==n.id||!e.get(n.id)||e.get(n.id)===t,"id duplicates: "+(n&&n.id)),n&&null!=n.id&&e.set(n.id,t),!t.keyInfo&&(t.keyInfo={})}),Jg(t,function(t,n){var i=t.exist,r=t.option,a=t.keyInfo;if(tv(r)){if(a.name=null!=r.name?r.name+"":i?i.name:nv+n,i)a.id=i.id;else if(null!=r.id)a.id=r.id+"";else{var o=0;do a.id="\x00"+a.name+"\x00"+o++;while(e.get(a.id))}e.set(a.id,t)}})}function nr(t){var e=t.name;return!(!e||!e.indexOf(nv))}function ir(t){return tv(t)&&t.id&&0===(t.id+"").indexOf("\x00_ec_\x00")}function rr(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?x(e.dataIndex)?p(e.dataIndex,function(e){return t.indexOfRawIndex(e)}):t.indexOfRawIndex(e.dataIndex):null!=e.name?x(e.name)?p(e.name,function(e){return t.indexOfName(e)}):t.indexOfName(e.name):void 0}function ar(){var t="__\x00ec_inner_"+rv++ +"_"+Math.random().toFixed(5);return function(e){return e[t]||(e[t]={})}}function or(t,e,n){if(b(e)){var i={};i[e+"Index"]=0,e=i}var r=n&&n.defaultMainType;!r||sr(e,r+"Index")||sr(e,r+"Id")||sr(e,r+"Name")||(e[r+"Index"]=0);var a={};return Jg(e,function(i,r){var i=e[r];if("dataIndex"===r||"dataIndexInside"===r)return void(a[r]=i);var o=r.match(/^(\w+)(Index|Id|Name)$/)||[],s=o[1],l=(o[2]||"").toLowerCase();if(!(!s||!l||null==i||"index"===l&&"none"===i||n&&n.includeMainTypes&&u(n.includeMainTypes,s)<0)){var h={mainType:s};("index"!==l||"all"!==i)&&(h[l]=i);var c=t.queryComponents(h);a[s+"Models"]=c,a[s+"Model"]=c[0]}}),a}function sr(t,e){return t&&t.hasOwnProperty(e)}function lr(t,e,n){t.setAttribute?t.setAttribute(e,n):t[e]=n}function ur(t,e){return t.getAttribute?t.getAttribute(e):t[e]}function hr(t){return"auto"===t?Hf.domSupported?"html":"richText":t||"html"}function cr(t){var e={main:"",sub:""};return t&&(t=t.split(av),e.main=t[0]||"",e.sub=t[1]||""),e}function dr(t){O(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function fr(t){t.$constructor=t,t.extend=function(t){var e=this,n=function(){t.$constructor?t.$constructor.apply(this,arguments):e.apply(this,arguments)};return o(n.prototype,t),n.extend=this.extend,n.superCall=gr,n.superApply=vr,h(n,this),n.superClass=e,n}}function pr(t){var e=["__\x00is_clz",sv++,Math.random().toFixed(3)].join("_");t.prototype[e]=!0,t.isInstance=function(t){return!(!t||!t[e])}}function gr(t,e){var n=P(arguments,2);return this.superClass.prototype[e].apply(t,n)}function vr(t,e,n){return this.superClass.prototype[e].apply(t,n)}function mr(t,e){function n(t){var e=i[t.main];return e&&e[ov]||(e=i[t.main]={},e[ov]=!0),e}e=e||{};var i={};if(t.registerClass=function(t,e){if(e)if(dr(e),e=cr(e),e.sub){if(e.sub!==ov){var r=n(e);r[e.sub]=t}}else i[e.main]=t;return t},t.getClass=function(t,e,n){var r=i[t];if(r&&r[ov]&&(r=e?r[e]:null),n&&!r)throw new Error(e?"Component "+t+"."+(e||"")+" not exists. Load it first.":t+".type should be specified.");return r},t.getClassesByMainType=function(t){t=cr(t);var e=[],n=i[t.main];return n&&n[ov]?f(n,function(t,n){n!==ov&&e.push(t)}):e.push(n),e},t.hasClass=function(t){return t=cr(t),!!i[t.main]},t.getAllClassMainTypes=function(){var t=[];return f(i,function(e,n){t.push(n)}),t},t.hasSubTypes=function(t){t=cr(t);var e=i[t.main];return e&&e[ov]},t.parseClassType=cr,e.registerWhenExtend){var r=t.extend;r&&(t.extend=function(e){var n=r.call(this,e);return t.registerClass(n,e.type)})}return t}function yr(t){return t>-gv&&gv>t}function _r(t){return t>gv||-gv>t}function xr(t,e,n,i,r){var a=1-r;return a*a*(a*t+3*r*e)+r*r*(r*i+3*a*n)}function wr(t,e,n,i,r){var a=1-r;return 3*(((e-t)*a+2*(n-e)*r)*a+(i-n)*r*r)}function br(t,e,n,i,r,a){var o=i+3*(e-n)-t,s=3*(n-2*e+t),l=3*(e-t),u=t-r,h=s*s-3*o*l,c=s*l-9*o*u,d=l*l-3*s*u,f=0;if(yr(h)&&yr(c))if(yr(s))a[0]=0;else{var p=-l/s;p>=0&&1>=p&&(a[f++]=p)}else{var g=c*c-4*h*d;if(yr(g)){var v=c/h,p=-s/o+v,m=-v/2;p>=0&&1>=p&&(a[f++]=p),m>=0&&1>=m&&(a[f++]=m)}else if(g>0){var y=pv(g),_=h*s+1.5*o*(-c+y),x=h*s+1.5*o*(-c-y);_=0>_?-fv(-_,yv):fv(_,yv),x=0>x?-fv(-x,yv):fv(x,yv);var p=(-s-(_+x))/(3*o);p>=0&&1>=p&&(a[f++]=p)}else{var w=(2*h*s-3*o*c)/(2*pv(h*h*h)),b=Math.acos(w)/3,S=pv(h),M=Math.cos(b),p=(-s-2*S*M)/(3*o),m=(-s+S*(M+mv*Math.sin(b)))/(3*o),I=(-s+S*(M-mv*Math.sin(b)))/(3*o);p>=0&&1>=p&&(a[f++]=p),m>=0&&1>=m&&(a[f++]=m),I>=0&&1>=I&&(a[f++]=I)}}return f}function Sr(t,e,n,i,r){var a=6*n-12*e+6*t,o=9*e+3*i-3*t-9*n,s=3*e-3*t,l=0;if(yr(o)){if(_r(a)){var u=-s/a;u>=0&&1>=u&&(r[l++]=u)}}else{var h=a*a-4*o*s;if(yr(h))r[0]=-a/(2*o);else if(h>0){var c=pv(h),u=(-a+c)/(2*o),d=(-a-c)/(2*o);u>=0&&1>=u&&(r[l++]=u),d>=0&&1>=d&&(r[l++]=d)}}return l}function Mr(t,e,n,i,r,a){var o=(e-t)*r+t,s=(n-e)*r+e,l=(i-n)*r+n,u=(s-o)*r+o,h=(l-s)*r+s,c=(h-u)*r+u;a[0]=t,a[1]=o,a[2]=u,a[3]=c,a[4]=c,a[5]=h,a[6]=l,a[7]=i}function Ir(t,e,n,i,r,a,o,s,l,u,h){var c,d,f,p,g,v=.005,m=1/0;_v[0]=l,_v[1]=u;for(var y=0;1>y;y+=.05)xv[0]=xr(t,n,r,o,y),xv[1]=xr(e,i,a,s,y),p=op(_v,xv),m>p&&(c=y,m=p);m=1/0;for(var _=0;32>_&&!(vv>v);_++)d=c-v,f=c+v,xv[0]=xr(t,n,r,o,d),xv[1]=xr(e,i,a,s,d),p=op(xv,_v),d>=0&&m>p?(c=d,m=p):(wv[0]=xr(t,n,r,o,f),wv[1]=xr(e,i,a,s,f),g=op(wv,_v),1>=f&&m>g?(c=f,m=g):v*=.5);return h&&(h[0]=xr(t,n,r,o,c),h[1]=xr(e,i,a,s,c)),pv(m)}function Tr(t,e,n,i){var r=1-i;return r*(r*t+2*i*e)+i*i*n}function Cr(t,e,n,i){return 2*((1-i)*(e-t)+i*(n-e))}function Dr(t,e,n,i,r){var a=t-2*e+n,o=2*(e-t),s=t-i,l=0;if(yr(a)){if(_r(o)){var u=-s/o;u>=0&&1>=u&&(r[l++]=u)}}else{var h=o*o-4*a*s;if(yr(h)){var u=-o/(2*a);u>=0&&1>=u&&(r[l++]=u)}else if(h>0){var c=pv(h),u=(-o+c)/(2*a),d=(-o-c)/(2*a);u>=0&&1>=u&&(r[l++]=u),d>=0&&1>=d&&(r[l++]=d)}}return l}function Ar(t,e,n){var i=t+n-2*e;return 0===i?.5:(t-e)/i}function kr(t,e,n,i,r){var a=(e-t)*i+t,o=(n-e)*i+e,s=(o-a)*i+a;r[0]=t,r[1]=a,r[2]=s,r[3]=s,r[4]=o,r[5]=n}function Pr(t,e,n,i,r,a,o,s,l){var u,h=.005,c=1/0;_v[0]=o,_v[1]=s;for(var d=0;1>d;d+=.05){xv[0]=Tr(t,n,r,d),xv[1]=Tr(e,i,a,d);var f=op(_v,xv);c>f&&(u=d,c=f)}c=1/0;for(var p=0;32>p&&!(vv>h);p++){var g=u-h,v=u+h;xv[0]=Tr(t,n,r,g),xv[1]=Tr(e,i,a,g);var f=op(xv,_v);if(g>=0&&c>f)u=g,c=f;else{wv[0]=Tr(t,n,r,v),wv[1]=Tr(e,i,a,v);var m=op(wv,_v);1>=v&&c>m?(u=v,c=m):h*=.5}}return l&&(l[0]=Tr(t,n,r,u),l[1]=Tr(e,i,a,u)),pv(c)}function Lr(t,e,n){if(0!==t.length){var i,r=t[0],a=r[0],o=r[0],s=r[1],l=r[1];for(i=1;ih;h++){var p=d(t,n,r,o,kv[h]);l[0]=bv(p,l[0]),u[0]=Sv(p,u[0])}for(f=c(e,i,a,s,Pv),h=0;f>h;h++){var g=d(e,i,a,s,Pv[h]);l[1]=bv(g,l[1]),u[1]=Sv(g,u[1])}l[0]=bv(t,l[0]),u[0]=Sv(t,u[0]),l[0]=bv(o,l[0]),u[0]=Sv(o,u[0]),l[1]=bv(e,l[1]),u[1]=Sv(e,u[1]),l[1]=bv(s,l[1]),u[1]=Sv(s,u[1])}function Er(t,e,n,i,r,a,o,s){var l=Ar,u=Tr,h=Sv(bv(l(t,n,r),1),0),c=Sv(bv(l(e,i,a),1),0),d=u(t,n,r,h),f=u(e,i,a,c);o[0]=bv(t,r,d),o[1]=bv(e,a,f),s[0]=Sv(t,r,d),s[1]=Sv(e,a,f)}function zr(t,e,n,i,r,a,o,s,l){var u=oe,h=se,c=Math.abs(r-a);if(1e-4>c%Tv&&c>1e-4)return s[0]=t-n,s[1]=e-i,l[0]=t+n,void(l[1]=e+i);if(Cv[0]=Iv(r)*n+t,Cv[1]=Mv(r)*i+e,Dv[0]=Iv(a)*n+t,Dv[1]=Mv(a)*i+e,u(s,Cv,Dv),h(l,Cv,Dv),r%=Tv,0>r&&(r+=Tv),a%=Tv,0>a&&(a+=Tv),r>a&&!o?a+=Tv:a>r&&o&&(r+=Tv),o){var d=a;a=r,r=d}for(var f=0;a>f;f+=Math.PI/2)f>r&&(Av[0]=Iv(f)*n+t,Av[1]=Mv(f)*i+e,u(s,Av,s),h(l,Av,l))}function Rr(t,e,n,i,r,a,o){if(0===r)return!1;var s=r,l=0,u=t;if(o>e+s&&o>i+s||e-s>o&&i-s>o||a>t+s&&a>n+s||t-s>a&&n-s>a)return!1;if(t===n)return Math.abs(a-t)<=s/2;l=(e-i)/(t-n),u=(t*i-n*e)/(t-n);var h=l*a-o+u,c=h*h/(l*l+1);return s/2*s/2>=c}function Nr(t,e,n,i,r,a,o,s,l,u,h){if(0===l)return!1;var c=l;if(h>e+c&&h>i+c&&h>a+c&&h>s+c||e-c>h&&i-c>h&&a-c>h&&s-c>h||u>t+c&&u>n+c&&u>r+c&&u>o+c||t-c>u&&n-c>u&&r-c>u&&o-c>u)return!1;var d=Ir(t,e,n,i,r,a,o,s,u,h,null);return c/2>=d}function Fr(t,e,n,i,r,a,o,s,l){if(0===o)return!1;var u=o;if(l>e+u&&l>i+u&&l>a+u||e-u>l&&i-u>l&&a-u>l||s>t+u&&s>n+u&&s>r+u||t-u>s&&n-u>s&&r-u>s)return!1;var h=Pr(t,e,n,i,r,a,s,l,null);return u/2>=h}function Vr(t){return t%=Yv,0>t&&(t+=Yv),t}function Hr(t,e,n,i,r,a,o,s,l){if(0===o)return!1;var u=o;s-=t,l-=e;var h=Math.sqrt(s*s+l*l);if(h-u>n||n>h+u)return!1;if(Math.abs(i-r)%Uv<1e-4)return!0;if(a){var c=i;i=Vr(r),r=Vr(c)}else i=Vr(i),r=Vr(r);i>r&&(r+=Uv);var d=Math.atan2(l,s);return 0>d&&(d+=Uv),d>=i&&r>=d||d+Uv>=i&&r>=d+Uv}function Gr(t,e,n,i,r,a){if(a>e&&a>i||e>a&&i>a)return 0;if(i===e)return 0;var o=e>i?1:-1,s=(a-e)/(i-e);(1===s||0===s)&&(o=e>i?.5:-.5);var l=s*(n-t)+t;return l===r?1/0:l>r?o:0}function Wr(t,e){return Math.abs(t-e)e&&u>i&&u>a&&u>s||e>u&&i>u&&a>u&&s>u)return 0;var h=br(e,i,a,s,u,Kv);if(0===h)return 0;for(var c,d,f=0,p=-1,g=0;h>g;g++){var v=Kv[g],m=0===v||1===v?.5:1,y=xr(t,n,r,o,v);l>y||(0>p&&(p=Sr(e,i,a,s,$v),$v[1]<$v[0]&&p>1&&Xr(),c=xr(e,i,a,s,$v[0]),p>1&&(d=xr(e,i,a,s,$v[1]))),f+=2===p?v<$v[0]?e>c?m:-m:v<$v[1]?c>d?m:-m:d>s?m:-m:v<$v[0]?e>c?m:-m:c>s?m:-m)}return f}function Ur(t,e,n,i,r,a,o,s){if(s>e&&s>i&&s>a||e>s&&i>s&&a>s)return 0;var l=Dr(e,i,a,s,Kv);if(0===l)return 0;var u=Ar(e,i,a);if(u>=0&&1>=u){for(var h=0,c=Tr(e,i,a,u),d=0;l>d;d++){var f=0===Kv[d]||1===Kv[d]?.5:1,p=Tr(t,n,r,Kv[d]);o>p||(h+=Kv[d]c?f:-f:c>a?f:-f)}return h}var f=0===Kv[0]||1===Kv[0]?.5:1,p=Tr(t,n,r,Kv[0]);return o>p?0:e>a?f:-f}function qr(t,e,n,i,r,a,o,s){if(s-=e,s>n||-n>s)return 0;var l=Math.sqrt(n*n-s*s);Kv[0]=-l,Kv[1]=l;var u=Math.abs(i-r);if(1e-4>u)return 0;if(1e-4>u%jv){i=0,r=jv;var h=a?1:-1;return o>=Kv[0]+t&&o<=Kv[1]+t?h:0}if(a){var l=i;i=Vr(r),r=Vr(l)}else i=Vr(i),r=Vr(r);i>r&&(r+=jv);for(var c=0,d=0;2>d;d++){var f=Kv[d];if(f+t>o){var p=Math.atan2(s,f),h=a?1:-1;0>p&&(p=jv+p),(p>=i&&r>=p||p+jv>=i&&r>=p+jv)&&(p>Math.PI/2&&p<1.5*Math.PI&&(h=-h),c+=h)}}return c}function jr(t,e,n,i,r){for(var a=0,o=0,s=0,l=0,u=0,h=0;h1&&(n||(a+=Gr(o,s,l,u,i,r))),1===h&&(o=t[h],s=t[h+1],l=o,u=s),c){case qv.M:l=t[h++],u=t[h++],o=l,s=u;break;case qv.L:if(n){if(Rr(o,s,t[h],t[h+1],e,i,r))return!0}else a+=Gr(o,s,t[h],t[h+1],i,r)||0;o=t[h++],s=t[h++];break;case qv.C:if(n){if(Nr(o,s,t[h++],t[h++],t[h++],t[h++],t[h],t[h+1],e,i,r))return!0}else a+=Yr(o,s,t[h++],t[h++],t[h++],t[h++],t[h],t[h+1],i,r)||0;o=t[h++],s=t[h++];break;case qv.Q:if(n){if(Fr(o,s,t[h++],t[h++],t[h],t[h+1],e,i,r))return!0}else a+=Ur(o,s,t[h++],t[h++],t[h],t[h+1],i,r)||0;o=t[h++],s=t[h++];break;case qv.A:var d=t[h++],f=t[h++],p=t[h++],g=t[h++],v=t[h++],m=t[h++];h+=1;var y=1-t[h++],_=Math.cos(v)*p+d,x=Math.sin(v)*g+f;h>1?a+=Gr(o,s,_,x,i,r):(l=_,u=x);var w=(i-d)*g/p+d;if(n){if(Hr(d,f,g,v,v+m,y,e,w,r))return!0}else a+=qr(d,f,g,v,v+m,y,w,r);o=Math.cos(v+m)*p+d,s=Math.sin(v+m)*g+f;break;case qv.R:l=o=t[h++],u=s=t[h++];var b=t[h++],S=t[h++],_=l+b,x=u+S;if(n){if(Rr(l,u,_,u,e,i,r)||Rr(_,u,_,x,e,i,r)||Rr(_,x,l,x,e,i,r)||Rr(l,x,l,u,e,i,r))return!0}else a+=Gr(_,u,_,x,i,r),a+=Gr(l,x,l,u,i,r);break;case qv.Z:if(n){if(Rr(o,s,l,u,e,i,r))return!0}else a+=Gr(o,s,l,u,i,r);o=l,s=u}}return n||Wr(s,u)||(a+=Gr(o,s,l,u,i,r)||0),0!==a}function Zr(t,e,n){return jr(t,0,!1,e,n)}function Kr(t,e,n,i){return jr(t,e,!0,n,i)}function $r(t){Si.call(this,t),this.path=null}function Qr(t,e,n,i,r,a,o,s,l,u,h){var c=l*(um/180),d=lm(c)*(t-n)/2+sm(c)*(e-i)/2,f=-1*sm(c)*(t-n)/2+lm(c)*(e-i)/2,p=d*d/(o*o)+f*f/(s*s);p>1&&(o*=om(p),s*=om(p));var g=(r===a?-1:1)*om((o*o*s*s-o*o*f*f-s*s*d*d)/(o*o*f*f+s*s*d*d))||0,v=g*o*f/s,m=g*-s*d/o,y=(t+n)/2+lm(c)*v-sm(c)*m,_=(e+i)/2+sm(c)*v+lm(c)*m,x=dm([1,0],[(d-v)/o,(f-m)/s]),w=[(d-v)/o,(f-m)/s],b=[(-1*d-v)/o,(-1*f-m)/s],S=dm(w,b);cm(w,b)<=-1&&(S=um),cm(w,b)>=1&&(S=0),0===a&&S>0&&(S-=2*um),1===a&&0>S&&(S+=2*um),h.addData(u,y,_,o,s,x,S,c,a)}function Jr(t){if(!t)return new Xv;for(var e,n=0,i=0,r=n,a=i,o=new Xv,s=Xv.CMD,l=t.match(fm),u=0;ug;g++)f[g]=parseFloat(f[g]);for(var v=0;p>v;){var m,y,_,x,w,b,S,M=n,I=i;switch(d){case"l":n+=f[v++],i+=f[v++],h=s.L,o.addData(h,n,i);break;case"L":n=f[v++],i=f[v++],h=s.L,o.addData(h,n,i);break;case"m":n+=f[v++],i+=f[v++],h=s.M,o.addData(h,n,i),r=n,a=i,d="l";break;case"M":n=f[v++],i=f[v++],h=s.M,o.addData(h,n,i),r=n,a=i,d="L";break;case"h":n+=f[v++],h=s.L,o.addData(h,n,i);break;case"H":n=f[v++],h=s.L,o.addData(h,n,i);break;case"v":i+=f[v++],h=s.L,o.addData(h,n,i);break;case"V":i=f[v++],h=s.L,o.addData(h,n,i);break;case"C":h=s.C,o.addData(h,f[v++],f[v++],f[v++],f[v++],f[v++],f[v++]),n=f[v-2],i=f[v-1];break;case"c":h=s.C,o.addData(h,f[v++]+n,f[v++]+i,f[v++]+n,f[v++]+i,f[v++]+n,f[v++]+i),n+=f[v-2],i+=f[v-1];break;case"S":m=n,y=i;var T=o.len(),C=o.data;e===s.C&&(m+=n-C[T-4],y+=i-C[T-3]),h=s.C,M=f[v++],I=f[v++],n=f[v++],i=f[v++],o.addData(h,m,y,M,I,n,i);break;case"s":m=n,y=i;var T=o.len(),C=o.data;e===s.C&&(m+=n-C[T-4],y+=i-C[T-3]),h=s.C,M=n+f[v++],I=i+f[v++],n+=f[v++],i+=f[v++],o.addData(h,m,y,M,I,n,i);break;case"Q":M=f[v++],I=f[v++],n=f[v++],i=f[v++],h=s.Q,o.addData(h,M,I,n,i);break;case"q":M=f[v++]+n,I=f[v++]+i,n+=f[v++],i+=f[v++],h=s.Q,o.addData(h,M,I,n,i);break;case"T":m=n,y=i;var T=o.len(),C=o.data;e===s.Q&&(m+=n-C[T-4],y+=i-C[T-3]),n=f[v++],i=f[v++],h=s.Q,o.addData(h,m,y,n,i);break;case"t":m=n,y=i;var T=o.len(),C=o.data;e===s.Q&&(m+=n-C[T-4],y+=i-C[T-3]),n+=f[v++],i+=f[v++],h=s.Q,o.addData(h,m,y,n,i);break;case"A":_=f[v++],x=f[v++],w=f[v++],b=f[v++],S=f[v++],M=n,I=i,n=f[v++],i=f[v++],h=s.A,Qr(M,I,n,i,b,S,_,x,w,h,o);break;case"a":_=f[v++],x=f[v++],w=f[v++],b=f[v++],S=f[v++],M=n,I=i,n+=f[v++],i+=f[v++],h=s.A,Qr(M,I,n,i,b,S,_,x,w,h,o)}}("z"===d||"Z"===d)&&(h=s.Z,o.addData(h),n=r,i=a),e=h}return o.toStatic(),o}function ta(t,e){var n=Jr(t);return e=e||{},e.buildPath=function(t){if(t.setData){t.setData(n.data);var e=t.getContext();e&&t.rebuildPath(e)}else{var e=t;n.rebuildPath(e)}},e.applyTransform=function(t){am(n,t),this.dirty(!0)},e}function ea(t,e){return new $r(ta(t,e))}function na(t,e){return $r.extend(ta(t,e))}function ia(t,e){for(var n=[],i=t.length,r=0;i>r;r++){var a=t[r];a.path||a.createPathProxy(),a.__dirtyPath&&a.buildPath(a.path,a.shape,!0),n.push(a.path)}var o=new $r(e);return o.createPathProxy(),o.buildPath=function(t){t.appendPath(n);var e=t.getContext();e&&t.rebuildPath(e)},o}function ra(t,e,n,i,r,a,o){var s=.5*(n-t),l=.5*(i-e);return(2*(e-n)+s+l)*o+(-3*(e-n)-2*s-l)*a+s*r+e}function aa(t,e,n){var i=e.points,r=e.smooth;if(i&&i.length>=2){if(r&&"spline"!==r){var a=bm(i,r,n,e.smoothConstraint);t.moveTo(i[0][0],i[0][1]);for(var o=i.length,s=0;(n?o:o-1)>s;s++){var l=a[2*s],u=a[2*s+1],h=i[(s+1)%o];t.bezierCurveTo(l[0],l[1],u[0],u[1],h[0],h[1])}}else{"spline"===r&&(i=wm(i,n)),t.moveTo(i[0][0],i[0][1]);for(var s=1,c=i.length;c>s;s++)t.lineTo(i[s][0],i[s][1])}n&&t.closePath()}}function oa(t,e,n){var i=n&&n.lineWidth;if(e&&i){var r=e.x1,a=e.x2,o=e.y1,s=e.y2;Im(2*r)===Im(2*a)?t.x1=t.x2=la(r,i,!0):(t.x1=r,t.x2=a),Im(2*o)===Im(2*s)?t.y1=t.y2=la(o,i,!0):(t.y1=o,t.y2=s)}}function sa(t,e,n){var i=n&&n.lineWidth;if(e&&i){var r=e.x,a=e.y,o=e.width,s=e.height;t.x=la(r,i,!0),t.y=la(a,i,!0),t.width=Math.max(la(r+o,i,!1)-t.x,0===o?0:1),t.height=Math.max(la(a+s,i,!1)-t.y,0===s?0:1)}}function la(t,e,n){var i=Im(2*t);return(i+Im(e))%2===0?i/2:(i+(n?1:-1))/2}function ua(t,e,n){var i=t.cpx2,r=t.cpy2;return null===i||null===r?[(n?wr:xr)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?wr:xr)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?Cr:Tr)(t.x1,t.cpx1,t.x2,e),(n?Cr:Tr)(t.y1,t.cpy1,t.y2,e)]}function ha(t){Si.call(this,t),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}function ca(t){return $r.extend(t)}function da(t,e){return na(t,e)}function fa(t,e){qm[t]=e}function pa(t){return qm.hasOwnProperty(t)?qm[t]:void 0}function ga(t,e,n,i){var r=ea(t,e);return n&&("center"===i&&(n=ma(n,r.getBoundingRect())),ya(r,n)),r}function va(t,e,n){var i=new Mi({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(ma(e,r))}}});return i}function ma(t,e){var n,i=e.width/e.height,r=t.height*i;r<=t.width?n=t.height:(r=t.width,n=r/i);var a=t.x+t.width/2,o=t.y+t.height/2;return{x:a-r/2,y:o-n/2,width:r,height:n}}function ya(t,e){if(t.applyTransform){var n=t.getBoundingRect(),i=n.calculateTransform(e);t.applyTransform(i)}}function _a(t){return oa(t.shape,t.shape,t.style),t}function xa(t){return sa(t.shape,t.shape,t.style),t}function wa(t){return null!=t&&"none"!==t}function ba(t){if("string"!=typeof t)return t;var e=Km.get(t);return e||(e=Je(t,-.1),1e4>$m&&(Km.set(t,e),$m++)),e}function Sa(t){if(t.__hoverStlDirty){t.__hoverStlDirty=!1;var e=t.__hoverStl;if(!e)return void(t.__cachedNormalStl=t.__cachedNormalZ2=null);var n=t.__cachedNormalStl={};t.__cachedNormalZ2=t.z2;var i=t.style;for(var r in e)null!=e[r]&&(n[r]=i[r]);n.fill=i.fill,n.stroke=i.stroke}}function Ma(t){var e=t.__hoverStl;if(e&&!t.__highlighted){var n=t.__zr,i=t.useHoverLayer&&n&&"canvas"===n.painter.type;if(t.__highlighted=i?"layer":"plain",!(t.isGroup||!n&&t.useHoverLayer)){var r=t,a=t.style;i&&(r=n.addHover(t),a=r.style),qa(a),i||Sa(r),a.extendFrom(e),Ia(a,e,"fill"),Ia(a,e,"stroke"),Ua(a),i||(t.dirty(!1),t.z2+=Hm)}}}function Ia(t,e,n){!wa(e[n])&&wa(t[n])&&(t[n]=ba(t[n]))}function Ta(t){var e=t.__highlighted;if(e&&(t.__highlighted=!1,!t.isGroup))if("layer"===e)t.__zr&&t.__zr.removeHover(t);else{var n=t.style,i=t.__cachedNormalStl;i&&(qa(n),t.setStyle(i),Ua(n));var r=t.__cachedNormalZ2;null!=r&&t.z2-r===Hm&&(t.z2=r)}}function Ca(t,e,n){var i,r=Xm,a=Xm;t.__highlighted&&(r=Wm,i=!0),e(t,n),t.__highlighted&&(a=Wm,i=!0),t.isGroup&&t.traverse(function(t){!t.isGroup&&e(t,n)}),i&&t.__highDownOnUpdate&&t.__highDownOnUpdate(r,a)}function Da(t,e){e=t.__hoverStl=e!==!1&&(t.hoverStyle||e||{}),t.__hoverStlDirty=!0,t.__highlighted&&(t.__cachedNormalStl=null,Ta(t),Ma(t))}function Aa(t){!Oa(this,t)&&!this.__highByOuter&&Ca(this,Ma)}function ka(t){!Oa(this,t)&&!this.__highByOuter&&Ca(this,Ta)}function Pa(t){this.__highByOuter|=1<<(t||0),Ca(this,Ma)}function La(t){!(this.__highByOuter&=~(1<<(t||0)))&&Ca(this,Ta)}function Oa(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function Ba(t,e){Ea(t,!0),Ca(t,Da,e)}function Ea(t,e){var n=e===!1;if(t.__highDownSilentOnTouch=t.highDownSilentOnTouch,t.__highDownOnUpdate=t.highDownOnUpdate,!n||t.__highDownDispatcher){var i=n?"off":"on";t[i]("mouseover",Aa)[i]("mouseout",ka),t[i]("emphasis",Pa)[i]("normal",La),t.__highByOuter=t.__highByOuter||0,t.__highDownDispatcher=!n}}function za(t){return!(!t||!t.__highDownDispatcher)}function Ra(t){var e=Um[t];return null==e&&32>=Ym&&(e=Um[t]=Ym++),e}function Na(t,e,n,i,r,a,o){r=r||Vm;var s,l=r.labelFetcher,u=r.labelDataIndex,h=r.labelDimIndex,c=n.getShallow("show"),d=i.getShallow("show");(c||d)&&(l&&(s=l.getFormattedLabel(u,"normal",null,h)),null==s&&(s=w(r.defaultText)?r.defaultText(u,r):r.defaultText));var f=c?s:null,p=d?A(l?l.getFormattedLabel(u,"emphasis",null,h):null,s):null;(null!=f||null!=p)&&(Va(t,n,a,r),Va(e,i,o,r,!0)),t.text=f,e.text=p}function Fa(t,e,n){var i=t.style;e&&(qa(i),t.setStyle(e),Ua(i)),i=t.__hoverStl,n&&i&&(qa(i),o(i,n),Ua(i))}function Va(t,e,n,i,r){return Ga(t,e,i,r),n&&o(t,n),t}function Ha(t,e,n){var i,r={isRectText:!0};n===!1?i=!0:r.autoColor=n,Ga(t,e,r,i)}function Ga(t,e,n,i){if(n=n||Vm,n.isRectText){var r;n.getTextPosition?r=n.getTextPosition(e,i):(r=e.getShallow("position")||(i?null:"inside"),"outside"===r&&(r="top")),t.textPosition=r,t.textOffset=e.getShallow("offset");var a=e.getShallow("rotate");null!=a&&(a*=Math.PI/180),t.textRotation=a,t.textDistance=A(e.getShallow("distance"),i?null:5)}var o,s=e.ecModel,l=s&&s.option.textStyle,u=Wa(e);if(u){o={};for(var h in u)if(u.hasOwnProperty(h)){var c=e.getModel(["rich",h]);Xa(o[h]={},c,l,n,i)}}return t.rich=o,Xa(t,e,l,n,i,!0),n.forceRich&&!n.textStyle&&(n.textStyle={}),t}function Wa(t){for(var e;t&&t!==t.ecModel;){var n=(t.option||Vm).rich;if(n){e=e||{};for(var i in n)n.hasOwnProperty(i)&&(e[i]=1)}t=t.parentModel}return e}function Xa(t,e,n,i,r,a){n=!r&&n||Vm,t.textFill=Ya(e.getShallow("color"),i)||n.color,t.textStroke=Ya(e.getShallow("textBorderColor"),i)||n.textBorderColor,t.textStrokeWidth=A(e.getShallow("textBorderWidth"),n.textBorderWidth),r||(a&&(t.insideRollbackOpt=i,Ua(t)),null==t.textFill&&(t.textFill=i.autoColor)),t.fontStyle=e.getShallow("fontStyle")||n.fontStyle,t.fontWeight=e.getShallow("fontWeight")||n.fontWeight,t.fontSize=e.getShallow("fontSize")||n.fontSize,t.fontFamily=e.getShallow("fontFamily")||n.fontFamily,t.textAlign=e.getShallow("align"),t.textVerticalAlign=e.getShallow("verticalAlign")||e.getShallow("baseline"),t.textLineHeight=e.getShallow("lineHeight"),t.textWidth=e.getShallow("width"),t.textHeight=e.getShallow("height"),t.textTag=e.getShallow("tag"),a&&i.disableBox||(t.textBackgroundColor=Ya(e.getShallow("backgroundColor"),i),t.textPadding=e.getShallow("padding"),t.textBorderColor=Ya(e.getShallow("borderColor"),i),t.textBorderWidth=e.getShallow("borderWidth"),t.textBorderRadius=e.getShallow("borderRadius"),t.textBoxShadowColor=e.getShallow("shadowColor"),t.textBoxShadowBlur=e.getShallow("shadowBlur"),t.textBoxShadowOffsetX=e.getShallow("shadowOffsetX"),t.textBoxShadowOffsetY=e.getShallow("shadowOffsetY")),t.textShadowColor=e.getShallow("textShadowColor")||n.textShadowColor,t.textShadowBlur=e.getShallow("textShadowBlur")||n.textShadowBlur,t.textShadowOffsetX=e.getShallow("textShadowOffsetX")||n.textShadowOffsetX,t.textShadowOffsetY=e.getShallow("textShadowOffsetY")||n.textShadowOffsetY}function Ya(t,e){return"auto"!==t?t:e&&e.autoColor?e.autoColor:null}function Ua(t){var e,n=t.textPosition,i=t.insideRollbackOpt;if(i&&null==t.textFill){var r=i.autoColor,a=i.isRectText,o=i.useInsideStyle,s=o!==!1&&(o===!0||a&&n&&"string"==typeof n&&n.indexOf("inside")>=0),l=!s&&null!=r;(s||l)&&(e={textFill:t.textFill,textStroke:t.textStroke,textStrokeWidth:t.textStrokeWidth}),s&&(t.textFill="#fff",null==t.textStroke&&(t.textStroke=r,null==t.textStrokeWidth&&(t.textStrokeWidth=2))),l&&(t.textFill=r)}t.insideRollback=e}function qa(t){var e=t.insideRollback;e&&(t.textFill=e.textFill,t.textStroke=e.textStroke,t.textStrokeWidth=e.textStrokeWidth,t.insideRollback=null)}function ja(t,e){var n=e&&e.getModel("textStyle");return B([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(" "))}function Za(t,e,n,i,r,a){"function"==typeof r&&(a=r,r=null);var o=i&&i.isAnimationEnabled();if(o){var s=t?"Update":"",l=i.getShallow("animationDuration"+s),u=i.getShallow("animationEasing"+s),h=i.getShallow("animationDelay"+s);"function"==typeof h&&(h=h(r,i.getAnimationDelayParams?i.getAnimationDelayParams(e,r):null)),"function"==typeof l&&(l=l(r)),l>0?e.animateTo(n,l,h||0,u,a,!!a):(e.stopAnimation(),e.attr(n),a&&a())}else e.stopAnimation(),e.attr(n),a&&a()}function Ka(t,e,n,i,r){Za(!0,t,e,n,i,r)}function $a(t,e,n,i,r){Za(!1,t,e,n,i,r)}function Qa(t,e){for(var n=ke([]);t&&t!==e;)Le(n,t.getLocalTransform(),n),t=t.parent;return n}function Ja(t,e,n){return e&&!d(e)&&(e=Ip.getLocalTransform(e)),n&&(e=ze([],e)),ae([],t,e)}function to(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]),a=["left"===t?-i:"right"===t?i:0,"top"===t?-r:"bottom"===t?r:0];return a=Ja(a,e,n),Math.abs(a[0])>Math.abs(a[1])?a[0]>0?"right":"left":a[1]>0?"bottom":"top"}function eo(t,e,n){function i(t){var e={};return t.traverse(function(t){!t.isGroup&&t.anid&&(e[t.anid]=t)}),e}function r(t){var e={position:W(t.position),rotation:t.rotation};return t.shape&&(e.shape=o({},t.shape)),e}if(t&&e){var a=i(t);e.traverse(function(t){if(!t.isGroup&&t.anid){var e=a[t.anid];if(e){var i=r(t);t.attr(r(e)),Ka(t,i,n,t.dataIndex)}}})}}function no(t,e){return p(t,function(t){var n=t[0];n=Nm(n,e.x),n=Fm(n,e.x+e.width);var i=t[1];return i=Nm(i,e.y),i=Fm(i,e.y+e.height),[n,i]})}function io(t,e){var n=Nm(t.x,e.x),i=Fm(t.x+t.width,e.x+e.width),r=Nm(t.y,e.y),a=Fm(t.y+t.height,e.y+e.height);return i>=n&&a>=r?{x:n,y:r,width:i-n,height:a-r}:void 0}function ro(t,e,n){e=o({rectHover:!0},e);var i=e.style={strokeNoScale:!0};return n=n||{x:-1,y:-1,width:2,height:2},t?0===t.indexOf("image://")?(i.image=t.slice(8),s(i,n),new Mi(e)):ga(t.replace("path://",""),e,n,"center"):void 0}function ao(t,e,n,i,r){for(var a=0,o=r[r.length-1];ag||g>1)return!1;var v=so(f,p,h,c)/d;return 0>v||v>1?!1:!0}function so(t,e,n,i){return t*i-n*e}function lo(t){return 1e-6>=t&&t>=-1e-6}function uo(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}function ho(t,e,n){for(var i=0;i=0&&n.push(t)}),n}t.topologicalTravel=function(t,e,i,r){function a(t){l[t].entryCount--,0===l[t].entryCount&&u.push(t)
+}function o(t){h[t]=!0,a(t)}if(t.length){var s=n(e),l=s.graph,u=s.noEntryList,h={};for(f(t,function(t){h[t]=!0});u.length;){var c=u.pop(),d=l[c],p=!!h[c];p&&(i.call(r,c,d.originalDeps.slice()),delete h[c]),f(d.successor,p?o:a)}f(h,function(){throw new Error("Circle dependency may exists")})}}}function vo(t){return t.replace(/^\s+|\s+$/g,"")}function mo(t,e,n,i){var r=e[1]-e[0],a=n[1]-n[0];if(0===r)return 0===a?n[0]:(n[0]+n[1])/2;if(i)if(r>0){if(t<=e[0])return n[0];if(t>=e[1])return n[1]}else{if(t>=e[0])return n[0];if(t<=e[1])return n[1]}else{if(t===e[0])return n[0];if(t===e[1])return n[1]}return(t-e[0])/r*a+n[0]}function yo(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"string"==typeof t?vo(t).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?0/0:+t}function _o(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t}function xo(t){return t.sort(function(t,e){return t-e}),t}function wo(t){if(t=+t,isNaN(t))return 0;for(var e=1,n=0;Math.round(t*e)/e!==t;)e*=10,n++;return n}function bo(t){var e=t.toString(),n=e.indexOf("e");if(n>0){var i=+e.slice(n+1);return 0>i?-i:0}var r=e.indexOf(".");return 0>r?0:e.length-1-r}function So(t,e){var n=Math.log,i=Math.LN10,r=Math.floor(n(t[1]-t[0])/i),a=Math.round(n(Math.abs(e[1]-e[0]))/i),o=Math.min(Math.max(-r+a,0),20);return isFinite(o)?o:20}function Mo(t,e,n){if(!t[e])return 0;var i=g(t,function(t,e){return t+(isNaN(e)?0:e)},0);if(0===i)return 0;for(var r=Math.pow(10,n),a=p(t,function(t){return(isNaN(t)?0:t)/i*r*100}),o=100*r,s=p(a,function(t){return Math.floor(t)}),l=g(s,function(t,e){return t+e},0),u=p(a,function(t,e){return t-s[e]});o>l;){for(var h=Number.NEGATIVE_INFINITY,c=null,d=0,f=u.length;f>d;++d)u[d]>h&&(h=u[d],c=d);++s[c],u[c]=0,++l}return s[e]/r}function Io(t){var e=2*Math.PI;return(t%e+e)%e}function To(t){return t>-oy&&oy>t}function Co(t){if(t instanceof Date)return t;if("string"==typeof t){var e=ly.exec(t);if(!e)return new Date(0/0);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]||0))}return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,+e[7]||0)}return new Date(null==t?0/0:Math.round(t))}function Do(t){return Math.pow(10,Ao(t))}function Ao(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 ko(t,e){var n,i=Ao(t),r=Math.pow(10,i),a=t/r;return n=e?1.5>a?1:2.5>a?2:4>a?3:7>a?5:10:1>a?1:2>a?2:3>a?3:5>a?5:10,t=n*r,i>=-20?+t.toFixed(0>i?-i:0):t}function Po(t,e){var n=(t.length-1)*e+1,i=Math.floor(n),r=+t[i-1],a=n-i;return a?r+a*(t[i]-r):r}function Lo(t){function e(t,n,i){return t.interval[i]s;s++)a[s]<=n&&(a[s]=n,o[s]=s?1:1-i),n=a[s],i=o[s];a[0]===a[1]&&o[0]*o[1]!==1?t.splice(r,1):r++}return t}function Oo(t){return t-parseFloat(t)>=0}function Bo(t){return isNaN(t)?"-":(t=(t+"").split("."),t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:""))}function Eo(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,function(t,e){return e.toUpperCase()}),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}function zo(t){return null==t?"":(t+"").replace(cy,function(t,e){return dy[e]})}function Ro(t,e,n){x(e)||(e=[e]);var i=e.length;if(!i)return"";for(var r=e[0].$vars||[],a=0;as;s++)for(var l=0;l':'':{renderMode:r,content:"{marker"+a+"|} ",style:{color:n}}:""}function Vo(t,e){return t+="","0000".substr(0,e-t.length)+t}function Ho(t,e,n){("week"===t||"month"===t||"quarter"===t||"half-year"===t||"year"===t)&&(t="MM-dd\nyyyy");var i=Co(e),r=n?"UTC":"",a=i["get"+r+"FullYear"](),o=i["get"+r+"Month"]()+1,s=i["get"+r+"Date"](),l=i["get"+r+"Hours"](),u=i["get"+r+"Minutes"](),h=i["get"+r+"Seconds"](),c=i["get"+r+"Milliseconds"]();return t=t.replace("MM",Vo(o,2)).replace("M",o).replace("yyyy",a).replace("yy",a%100).replace("dd",Vo(s,2)).replace("d",s).replace("hh",Vo(l,2)).replace("h",l).replace("mm",Vo(u,2)).replace("m",u).replace("ss",Vo(h,2)).replace("s",h).replace("SSS",Vo(c,3))}function Go(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t}function Wo(t){return Gn(t.text,t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich,t.truncate)}function Xo(t,e,n,i,r,a,o,s){return Gn(t,e,n,i,r,s,a,o)}function Yo(t,e,n,i,r){var a=0,o=0;null==i&&(i=1/0),null==r&&(r=1/0);var s=0;e.eachChild(function(l,u){var h,c,d=l.position,f=l.getBoundingRect(),p=e.childAt(u+1),g=p&&p.getBoundingRect();if("horizontal"===t){var v=f.width+(g?-g.x+f.x:0);h=a+v,h>i||l.newline?(a=0,h=v,o+=s+n,s=f.height):s=Math.max(s,f.height)}else{var m=f.height+(g?-g.y+f.y:0);c=o+m,c>r||l.newline?(a+=s+n,o=0,c=m,s=f.width):s=Math.max(s,f.width)}l.newline||(d[0]=a,d[1]=o,"horizontal"===t?a=h+n:o=c+n)})}function Uo(t,e,n){n=hy(n||0);var i=e.width,r=e.height,a=yo(t.left,i),o=yo(t.top,r),s=yo(t.right,i),l=yo(t.bottom,r),u=yo(t.width,i),h=yo(t.height,r),c=n[2]+n[0],d=n[1]+n[3],f=t.aspect;switch(isNaN(u)&&(u=i-s-d-a),isNaN(h)&&(h=r-l-c-o),null!=f&&(isNaN(u)&&isNaN(h)&&(f>i/r?u=.8*i:h=.8*r),isNaN(u)&&(u=f*h),isNaN(h)&&(h=u/f)),isNaN(a)&&(a=i-s-u-d),isNaN(o)&&(o=r-l-h-c),t.left||t.right){case"center":a=i/2-u/2-n[3];break;case"right":a=i-u-d}switch(t.top||t.bottom){case"middle":case"center":o=r/2-h/2-n[0];break;case"bottom":o=r-h-c}a=a||0,o=o||0,isNaN(u)&&(u=i-d-a-(s||0)),isNaN(h)&&(h=r-c-o-(l||0));var p=new Sn(a+n[3],o+n[0],u,h);return p.margin=n,p}function qo(t,e,n){function i(n,i){var o={},l=0,u={},h=0,c=2;if(my(n,function(e){u[e]=t[e]}),my(n,function(t){r(e,t)&&(o[t]=u[t]=e[t]),a(o,t)&&l++,a(u,t)&&h++}),s[i])return a(e,n[1])?u[n[2]]=null:a(e,n[2])&&(u[n[1]]=null),u;if(h!==c&&l){if(l>=c)return o;for(var d=0;di;i++)if(t[i].length>e)return t[i];return t[n-1]}function Qo(t){this.fromDataset=t.fromDataset,this.data=t.data||(t.sourceFormat===Py?{}:[]),this.sourceFormat=t.sourceFormat||Ly,this.seriesLayoutBy=t.seriesLayoutBy||By,this.dimensionsDefine=t.dimensionsDefine,this.encodeDefine=t.encodeDefine&&N(t.encodeDefine),this.startIndex=t.startIndex||0,this.dimensionsDetectCount=t.dimensionsDetectCount}function Jo(t){var e=t.option.source,n=Ly;if(I(e))n=Oy;else if(x(e)){0===e.length&&(n=Ay);for(var i=0,r=e.length;r>i;i++){var a=e[i];if(null!=a){if(x(a)){n=Ay;break}if(S(a)){n=ky;break}}}}else if(S(e)){for(var o in e)if(e.hasOwnProperty(o)&&d(e[o])){n=Py;break}}else if(null!=e)throw new Error("Invalid data");Ry(t).sourceFormat=n}function ts(t){return Ry(t).source}function es(t){Ry(t).datasetMap=N()}function ns(t){var e=t.option,n=e.data,i=I(n)?Oy:Dy,r=!1,a=e.seriesLayoutBy,o=e.sourceHeader,s=e.dimensions,l=us(t);if(l){var u=l.option;n=u.source,i=Ry(l).sourceFormat,r=!0,a=a||u.seriesLayoutBy,null==o&&(o=u.sourceHeader),s=s||u.dimensions}var h=is(n,i,a,o,s);Ry(t).source=new Qo({data:n,fromDataset:r,seriesLayoutBy:a,sourceFormat:i,dimensionsDefine:h.dimensionsDefine,startIndex:h.startIndex,dimensionsDetectCount:h.dimensionsDetectCount,encodeDefine:e.encode})}function is(t,e,n,i,r){if(!t)return{dimensionsDefine:rs(r)};var a,o;if(e===Ay)"auto"===i||null==i?as(function(t){null!=t&&"-"!==t&&(b(t)?null==o&&(o=1):o=0)},n,t,10):o=i?1:0,r||1!==o||(r=[],as(function(t,e){r[e]=null!=t?t:""},n,t)),a=r?r.length:n===Ey?t.length:t[0]?t[0].length:null;else if(e===ky)r||(r=os(t));else if(e===Py)r||(r=[],f(t,function(t,e){r.push(e)}));else if(e===Dy){var s=Qi(t[0]);a=x(s)&&s.length||1}return{startIndex:o,dimensionsDefine:rs(r),dimensionsDetectCount:a}}function rs(t){if(t){var e=N();return p(t,function(t){if(t=o({},S(t)?t:{name:t}),null==t.name)return t;t.name+="",null==t.displayName&&(t.displayName=t.name);var n=e.get(t.name);return n?t.name+="-"+n.count++:e.set(t.name,{count:1}),t})}}function as(t,e,n,i){if(null==i&&(i=1/0),e===Ey)for(var r=0;rr;r++)t(n[r]?n[r][0]:null,r);else for(var a=n[0]||[],r=0;rr;r++)t(a[r],r)}function os(t){for(var e,n=0;ni;i++)t.push(e+i)}function r(t){var e=t.dimsDef;return e?e.length:1}var a={},o=us(e);if(!o||!t)return a;var s,l,u=[],h=[],c=e.ecModel,d=Ry(c).datasetMap,p=o.uid+"_"+n.seriesLayoutBy;t=t.slice(),f(t,function(e,n){!S(e)&&(t[n]={name:e}),"ordinal"===e.type&&null==s&&(s=n,l=r(t[n])),a[e.name]=[]});var g=d.get(p)||d.set(p,{categoryWayDim:l,valueWayDim:0});return f(t,function(t,e){var n=t.name,o=r(t);if(null==s){var l=g.valueWayDim;i(a[n],l,o),i(h,l,o),g.valueWayDim+=o}else if(s===e)i(a[n],0,o),i(u,0,o);else{var l=g.categoryWayDim;i(a[n],l,o),i(h,l,o),g.categoryWayDim+=o}}),u.length&&(a.itemName=u),h.length&&(a.seriesName=h),a}function ls(t,e,n){var i={},r=us(t);if(!r)return i;var a,o=e.sourceFormat,s=e.dimensionsDefine;(o===ky||o===Py)&&f(s,function(t,e){"name"===(S(t)?t.name:t)&&(a=e)});var l=function(){function t(t){return null!=t.v&&null!=t.n}for(var i={},r={},l=[],u=0,h=Math.min(5,n);h>u;u++){var c=cs(e.data,o,e.seriesLayoutBy,s,e.startIndex,u);l.push(c);var d=c===zy.Not;if(d&&null==i.v&&u!==a&&(i.v=u),(null==i.n||i.n===i.v||!d&&l[i.n]===zy.Not)&&(i.n=u),t(i)&&l[i.n]!==zy.Not)return i;d||(c===zy.Might&&null==r.v&&u!==a&&(r.v=u),(null==r.n||r.n===r.v)&&(r.n=u))}return t(i)?i:t(r)?r:null}();if(l){i.value=l.v;var u=null!=a?a:l.n;i.itemName=[u],i.seriesName=[u]}return i}function us(t){var e=t.option,n=e.data;return n?void 0:t.ecModel.getComponent("dataset",e.datasetIndex||0)}function hs(t,e){return cs(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}function cs(t,e,n,i,r,a){function o(t){var e=b(t);return null!=t&&isFinite(t)&&""!==t?e?zy.Might:zy.Not:e&&"-"!==t?zy.Must:void 0}var s,l=5;if(I(t))return zy.Not;var u,h;if(i){var c=i[a];S(c)?(u=c.name,h=c.type):b(c)&&(u=c)}if(null!=h)return"ordinal"===h?zy.Must:zy.Not;if(e===Ay)if(n===Ey){for(var d=t[a],f=0;f<(d||[]).length&&l>f;f++)if(null!=(s=o(d[r+f])))return s}else for(var f=0;ff;f++){var p=t[r+f];if(p&&null!=(s=o(p[a])))return s}else if(e===ky){if(!u)return zy.Not;for(var f=0;ff;f++){var g=t[f];if(g&&null!=(s=o(g[u])))return s}}else if(e===Py){if(!u)return zy.Not;var d=t[u];if(!d||I(d))return zy.Not;for(var f=0;ff;f++)if(null!=(s=o(d[f])))return s}else if(e===Dy)for(var f=0;ff;f++){var g=t[f],v=Qi(g);if(!x(v))return zy.Not;if(null!=(s=o(v[a])))return s}return zy.Not}function ds(t,e){if(e){var n=e.seiresIndex,i=e.seriesId,r=e.seriesName;return null!=n&&t.componentIndex!==n||null!=i&&t.id!==i||null!=r&&t.name!==r}}function fs(t,e){var n=t.color&&!t.colorLayer;f(e,function(e,a){"colorLayer"===a&&n||Sy.hasClass(a)||("object"==typeof e?t[a]=t[a]?r(t[a],e,!1):i(e):null==t[a]&&(t[a]=e))})}function ps(t){t=t,this.option={},this.option[Ny]=1,this._componentsMap=N({series:[]}),this._seriesIndices,this._seriesIndicesMap,fs(t,this._theme.option),r(t,Iy,!1),this.mergeOption(t)}function gs(t,e){x(e)||(e=e?[e]:[]);var n={};return f(e,function(e){n[e]=(t.get(e)||[]).slice()}),n}function vs(t,e,n){var i=e.type?e.type:n?n.subType:Sy.determineSubType(t,e);return i}function ms(t,e){t._seriesIndicesMap=N(t._seriesIndices=p(e,function(t){return t.componentIndex})||[])}function ys(t,e){return e.hasOwnProperty("subType")?v(t,function(t){return t.subType===e.subType}):t}function _s(t){f(Vy,function(e){this[e]=y(t[e],t)},this)}function xs(){this._coordinateSystems=[]}function ws(t){this._api=t,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}function bs(t,e,n){var i,r,a=[],o=[],s=t.timeline;if(t.baseOption&&(r=t.baseOption),(s||t.options)&&(r=r||{},a=(t.options||[]).slice()),t.media){r=r||{};var l=t.media;Gy(l,function(t){t&&t.option&&(t.query?o.push(t):i||(i=t))})}return r||(r=t),r.timeline||(r.timeline=s),Gy([r].concat(a).concat(p(o,function(t){return t.option})),function(t){Gy(e,function(e){e(t,n)})}),{baseOption:r,timelineOptions:a,mediaDefault:i,mediaList:o}}function Ss(t,e,n){var i={width:e,height:n,aspectratio:e/n},r=!0;return f(t,function(t,e){var n=e.match(Uy);if(n&&n[1]&&n[2]){var a=n[1],o=n[2].toLowerCase();Ms(i[o],t,a)||(r=!1)}}),r}function Ms(t,e,n){return"min"===n?t>=e:"max"===n?e>=t:t===e}function Is(t,e){return t.join(",")===e.join(",")}function Ts(t,e){e=e||{},Gy(e,function(e,n){if(null!=e){var i=t[n];if(Sy.hasClass(n)){e=Ki(e),i=Ki(i);var r=tr(i,e);t[n]=Xy(r,function(t){return t.option&&t.exist?Yy(t.exist,t.option,!0):t.exist||t.option})}else t[n]=Yy(i,e,!0)}})}function Cs(t){var e=t&&t.itemStyle;if(e)for(var n=0,i=Zy.length;i>n;n++){var a=Zy[n],o=e.normal,s=e.emphasis;o&&o[a]&&(t[a]=t[a]||{},t[a].normal?r(t[a].normal,o[a]):t[a].normal=o[a],o[a]=null),s&&s[a]&&(t[a]=t[a]||{},t[a].emphasis?r(t[a].emphasis,s[a]):t[a].emphasis=s[a],s[a]=null)}}function Ds(t,e,n){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var i=t[e].normal,r=t[e].emphasis;i&&(n?(t[e].normal=t[e].emphasis=null,s(t[e],i)):t[e]=i),r&&(t.emphasis=t.emphasis||{},t.emphasis[e]=r)}}function As(t){Ds(t,"itemStyle"),Ds(t,"lineStyle"),Ds(t,"areaStyle"),Ds(t,"label"),Ds(t,"labelLine"),Ds(t,"upperLabel"),Ds(t,"edgeLabel")}function ks(t,e){var n=jy(t)&&t[e],i=jy(n)&&n.textStyle;if(i)for(var r=0,a=iv.length;a>r;r++){var e=iv[r];i.hasOwnProperty(e)&&(n[e]=i[e])}}function Ps(t){t&&(As(t),ks(t,"label"),t.emphasis&&ks(t.emphasis,"label"))}function Ls(t){if(jy(t)){Cs(t),As(t),ks(t,"label"),ks(t,"upperLabel"),ks(t,"edgeLabel"),t.emphasis&&(ks(t.emphasis,"label"),ks(t.emphasis,"upperLabel"),ks(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&(Cs(e),Ps(e));var n=t.markLine;n&&(Cs(n),Ps(n));var i=t.markArea;i&&Ps(i);var r=t.data;if("graph"===t.type){r=r||t.nodes;var a=t.links||t.edges;if(a&&!I(a))for(var o=0;o=0;p--){var g=t[p];if(s||(d=g.data.rawIndexOf(g.stackedByDimension,c)),d>=0){var v=g.data.getByRawIndex(g.stackResultDimension,d);if(h>=0&&v>0||0>=h&&0>v){h+=v,f=v;break}}}return i[0]=h,i[1]=f,i});o.hostModel.setData(l),e.data=l})}function Fs(t,e){Qo.isInstance(t)||(t=Qo.seriesDataToSource(t)),this._source=t;var n=this._data=t.data,i=t.sourceFormat;i===Oy&&(this._offset=0,this._dimSize=e,this._data=n);var r=n_[i===Ay?i+"_"+t.seriesLayoutBy:i];o(this,r)}function Vs(){return this._data.length}function Hs(t){return this._data[t]}function Gs(t){for(var e=0;ee.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function il(t,e){f(t.CHANGABLE_METHODS,function(n){t.wrapMethod(n,_(rl,e))})}function rl(t){var e=al(t);e&&e.setOutputEnd(this.count())}function al(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var i=n.currentTask;if(i){var r=i.agentStubMap;r&&(i=r.get(t.uid))}return i}}function ol(){this.group=new tg,this.uid=fo("viewChart"),this.renderTask=js({plan:ul,reset:hl}),this.renderTask.context={view:this}}function sl(t,e,n){if(t&&(t.trigger(e,n),t.isGroup&&!za(t)))for(var i=0,r=t.childCount();r>i;i++)sl(t.childAt(i),e,n)}function ll(t,e,n){var i=rr(t,e),r=e&&null!=e.highlightKey?Ra(e.highlightKey):null;null!=i?f(Ki(i),function(e){sl(t.getItemGraphicEl(e),n,r)}):t.eachItemGraphicEl(function(t){sl(t,n,r)})}function ul(t){return g_(t.model)}function hl(t){var e=t.model,n=t.ecModel,i=t.api,r=t.payload,a=e.pipelineContext.progressiveRender,o=t.view,s=r&&p_(r).updateMethod,l=a?"incrementalPrepareRender":s&&o[s]?s:"render";return"render"!==l&&o[l](e,n,i,r),m_[l]}function cl(t,e,n){function i(){h=(new Date).getTime(),c=null,t.apply(o,s||[])}var r,a,o,s,l,u=0,h=0,c=null;e=e||0;var d=function(){r=(new Date).getTime(),o=this,s=arguments;var t=l||e,d=l||n;l=null,a=r-(d?u:h)-t,clearTimeout(c),d?c=setTimeout(i,t):a>=0?i():c=setTimeout(i,-a),u=r};return d.clear=function(){c&&(clearTimeout(c),c=null)},d.debounceNextCall=function(t){l=t},d}function dl(t,e,n,i){var r=t[e];if(r){var a=r[y_]||r,o=r[x_],s=r[__];if(s!==n||o!==i){if(null==n||!i)return t[e]=a;r=t[e]=cl(a,n,"debounce"===i),r[y_]=a,r[x_]=i,r[__]=n}return r}}function fl(t,e,n,i){this.ecInstance=t,this.api=e,this.unfinished;var n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice();this._allHandlers=n.concat(i),this._stageTaskMap=N()}function pl(t,e,n,i,r){function a(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}r=r||{};var o;f(e,function(e){if(!r.visualType||r.visualType===e.visualType){var s=t._stageTaskMap.get(e.uid),l=s.seriesTaskMap,u=s.overallTask;if(u){var h,c=u.agentStubMap;c.each(function(t){a(r,t)&&(t.dirty(),h=!0)}),h&&u.dirty(),C_(u,i);var d=t.getPerformArgs(u,r.block);c.each(function(t){t.perform(d)}),o|=u.perform(d)}else l&&l.each(function(s){a(r,s)&&s.dirty();var l=t.getPerformArgs(s,r.block);l.skip=!e.performRawSeries&&n.isSeriesFiltered(s.context.model),C_(s,i),o|=s.perform(l)})}}),t.unfinished|=o}function gl(t,e,n,i,r){function a(n){var a=n.uid,s=o.get(a)||o.set(a,js({plan:wl,reset:bl,count:Ml}));s.context={model:n,ecModel:i,api:r,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:t},Il(t,n,s)}var o=n.seriesTaskMap||(n.seriesTaskMap=N()),s=e.seriesType,l=e.getTargetSeries;e.createOnAllSeries?i.eachRawSeries(a):s?i.eachRawSeriesByType(s,a):l&&l(i,r).each(a);var u=t._pipelineMap;o.each(function(t,e){u.get(e)||(t.dispose(),o.removeKey(e))})}function vl(t,e,n,i,r){function a(e){var n=e.uid,i=s.get(n);i||(i=s.set(n,js({reset:yl,onDirty:xl})),o.dirty()),i.context={model:e,overallProgress:h,modifyOutputEnd:c},i.agent=o,i.__block=h,Il(t,e,i)}var o=n.overallTask=n.overallTask||js({reset:ml});o.context={ecModel:i,api:r,overallReset:e.overallReset,scheduler:t};var s=o.agentStubMap=o.agentStubMap||N(),l=e.seriesType,u=e.getTargetSeries,h=!0,c=e.modifyOutputEnd;l?i.eachRawSeriesByType(l,a):u?u(i,r).each(a):(h=!1,f(i.getSeries(),a));var d=t._pipelineMap;s.each(function(t,e){d.get(e)||(t.dispose(),o.dirty(),s.removeKey(e))})}function ml(t){t.overallReset(t.ecModel,t.api,t.payload)}function yl(t){return t.overallProgress&&_l}function _l(){this.agent.dirty(),this.getDownstream().dirty()}function xl(){this.agent&&this.agent.dirty()}function wl(t){return t.plan&&t.plan(t.model,t.ecModel,t.api,t.payload)}function bl(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=Ki(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?p(e,function(t,e){return Sl(e)}):D_}function Sl(t){return function(e,n){var i=n.data,r=n.resetDefines[t];if(r&&r.dataEach)for(var a=e.start;a0?parseInt(i,10)/100:i?parseFloat(i):0;var r=n.getAttribute("stop-color")||"#000000";e.addColorStop(i,r)}n=n.nextSibling}}function Pl(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),s(e.__inheritedStyle,t.__inheritedStyle))}function Ll(t){for(var e=B(t).split(F_),n=[],i=0;i0;a-=2){var o=r[a],s=r[a-1];switch(i=i||Ae(),s){case"translate":o=B(o).split(F_),Oe(i,i,[parseFloat(o[0]),parseFloat(o[1]||0)]);break;case"scale":o=B(o).split(F_),Ee(i,i,[parseFloat(o[0]),parseFloat(o[1]||o[0])]);break;case"rotate":o=B(o).split(F_),Be(i,i,parseFloat(o[0]));break;case"skew":o=B(o).split(F_),console.warn("Skew transform is not supported yet");break;case"matrix":var o=B(o).split(F_);i[0]=parseFloat(o[0]),i[1]=parseFloat(o[1]),i[2]=parseFloat(o[2]),i[3]=parseFloat(o[3]),i[4]=parseFloat(o[4]),i[5]=parseFloat(o[5])}}e.setLocalTransform(i)}}function zl(t){var e=t.getAttribute("style"),n={};if(!e)return n;var i={};Y_.lastIndex=0;for(var r;null!=(r=Y_.exec(e));)i[r[1]]=r[2];for(var a in G_)G_.hasOwnProperty(a)&&null!=i[a]&&(n[G_[a]]=i[a]);return n}function Rl(t,e,n){var i=e/t.width,r=n/t.height,a=Math.min(i,r),o=[a,a],s=[-(t.x+t.width/2)*a+e/2,-(t.y+t.height/2)*a+n/2];return{scale:o,position:s}}function Nl(t,e){return function(n,i,r){(e||!this._disposed)&&(n=n&&n.toLowerCase(),up.prototype[t].call(this,n,i,r))}}function Fl(){up.call(this)}function Vl(t,e,n){function r(t,e){return t.__prio-e.__prio}n=n||{},"string"==typeof e&&(e=Dx[e]),this.id,this.group,this._dom=t;var a="canvas",o=this._zr=Yi(t,{renderer:n.renderer||a,devicePixelRatio:n.devicePixelRatio,width:n.width,height:n.height});this._throttledZrFlush=cl(y(o.flush,o),17);var e=i(e);e&&Jy(e,!0),this._theme=e,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new xs;var s=this._api=ru(this);Pn(Cx,r),Pn(Mx,r),this._scheduler=new fl(this,s,Mx,Cx),up.call(this,this._ecEventProcessor=new au),this._messageCenter=new Fl,this._initEvents(),this.resize=y(this.resize,this),this._pendingActions=[],o.animation.on("frame",this._onframe,this),jl(o,this),E(this)}function Hl(t,e,n){if(!this._disposed){var i,r=this._model,a=this._coordSysMgr.getCoordinateSystems();e=or(r,e);for(var o=0;oe.get("hoverLayerThreshold")&&!Hf.node&&e.eachSeries(function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.group.traverse(function(t){t.useHoverLayer=!0})}})}function nu(t,e){var n=t.get("blendMode")||null;e.group.traverse(function(t){t.isGroup||t.style.blend!==n&&t.setStyle("blend",n),t.eachPendingDisplayable&&t.eachPendingDisplayable(function(t){t.setStyle("blend",n)})})}function iu(t,e){var n=t.get("z"),i=t.get("zlevel");e.group.traverse(function(t){"group"!==t.type&&(null!=n&&(t.z=n),null!=i&&(t.zlevel=i))})}function ru(t){var e=t._coordSysMgr;return o(new _s(t),{getCoordinateSystems:y(e.getCoordinateSystems,e),getComponentByElement:function(e){for(;e;){var n=e.__ecComponentInfo;if(null!=n)return t._model.getComponent(n.mainType,n.index);e=e.parent}}})}function au(){this.eventInfo}function ou(t){function e(t,e){for(var n=0;n65535?Wx:Yx}function Vu(t){var e=t.constructor;return e===Array?t.slice():new e(t)}function Hu(t,e){f(Ux.concat(e.__wrappedMethods||[]),function(n){e.hasOwnProperty(n)&&(t[n]=e[n])}),t.__wrappedMethods=e.__wrappedMethods,f(qx,function(n){t[n]=i(e[n])}),t._calculationInfo=o(e._calculationInfo)}function Gu(t,e,n,i,r){var a=Gx[e.type],o=i-1,s=e.name,l=t[s][o];if(l&&l.lengthc;c+=n)t[s].push(new a(Math.min(r-c,n)))}function Wu(t){var e=t._invertedIndicesMap;f(e,function(n,i){var r=t._dimensionInfos[i],a=r.ordinalMeta;if(a){n=e[i]=new Xx(a.categories.length);for(var o=0;o=0?this._indices[t]:-1}function qu(t,e){var n=t._idList[e];return null==n&&(n=Xu(t,t._idDimIdx,e)),null==n&&(n=Hx+e),n}function ju(t){return x(t)||(t=[t]),t}function Zu(t,e){var n=t.dimensions,i=new jx(p(n,t.getDimensionInfo,t),t.hostModel);Hu(i,t);for(var r=i._storage={},a=t._storage,o=0;o=0?(r[s]=Ku(a[s]),i._rawExtent[s]=$u(),i._extent[s]=null):r[s]=a[s])}return i}function Ku(t){for(var e=new Array(t.length),n=0;nd;d++){var p=a[d]=o({},S(a[d])?a[d]:{name:a[d]}),g=p.name,v=h[d]=new Nu;null!=g&&null==l.get(g)&&(v.name=v.displayName=g,l.set(g,d)),null!=p.type&&(v.type=p.type),null!=p.displayName&&(v.displayName=p.displayName)}var m=n.encodeDef;!m&&n.encodeDefaulter&&(m=n.encodeDefaulter(e,c)),m=N(m),m.each(function(t,e){if(t=Ki(t).slice(),1===t.length&&!b(t[0])&&t[0]<0)return void m.set(e,!1);var n=m.set(e,[]);f(t,function(t,i){b(t)&&(t=l.get(t)),null!=t&&c>t&&(n[i]=t,r(h[t],e,i))})});var y=0;f(t,function(t){var e,t,n,a;if(b(t))e=t,t={};else{e=t.name;var o=t.ordinalMeta;t.ordinalMeta=null,t=i(t),t.ordinalMeta=o,n=t.dimsDef,a=t.otherDims,t.name=t.coordDim=t.coordDimIndex=t.dimsDef=t.otherDims=null}var l=m.get(e);if(l!==!1){var l=Ki(l);if(!l.length)for(var u=0;u<(n&&n.length||1);u++){for(;yI;I++){var v=h[I]=h[I]||new Nu,T=v.coordDim;null==T&&(v.coordDim=th(M,u,w),v.coordDimIndex=0,(!_||0>=x)&&(v.isExtraCoord=!0),x--),null==v.name&&(v.name=th(v.coordDim,l)),null!=v.type||hs(e,I,v.name)!==zy.Must&&(!v.isExtraCoord||null==v.otherDims.itemName&&null==v.otherDims.seriesName)||(v.type="ordinal")}return h}function Ju(t,e,n,i){var r=Math.max(t.dimensionsDetectCount||1,e.length,n.length,i||0);return f(e,function(t){var e=t.dimsDef;e&&(r=Math.max(r,e.length))}),r}function th(t,e,n){if(n||null!=e.get(t)){for(var i=0;null!=e.get(t+i);)i++;t+=i}return e.set(t,!0),t}function eh(t){this.coordSysName=t,this.coordSysDims=[],this.axisMap=N(),this.categoryAxisMap=N(),this.firstCategoryDimIndex=null}function nh(t){var e=t.get("coordinateSystem"),n=new eh(e),i=Qx[e];return i?(i(t,n,n.axisMap,n.categoryAxisMap),n):void 0}function ih(t){return"category"===t.get("type")}function rh(t,e,n){n=n||{};var i,r,a,o,s=n.byIndex,l=n.stackedCoordDimension,u=!(!t||!t.get("stack"));if(f(e,function(t,n){b(t)&&(e[n]=t={name:t}),u&&!t.isExtraCoord&&(s||i||!t.ordinalMeta||(i=t),r||"ordinal"===t.type||"time"===t.type||l&&l!==t.coordDim||(r=t))}),!r||s||i||(s=!0),r){a="__\x00ecstackresult",o="__\x00ecstackedover",i&&(i.createInvertedIndices=!0);var h=r.coordDim,c=r.type,d=0;f(e,function(t){t.coordDim===h&&d++}),e.push({name:a,coordDim:h,coordDimIndex:d,type:c,isExtraCoord:!0,isCalculationCoord:!0}),d++,e.push({name:o,coordDim:o,coordDimIndex:d,type:c,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:r&&r.name,stackedByDimension:i&&i.name,isStackedByIndex:s,stackedOverDimension:o,stackResultDimension:a}}function ah(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function oh(t,e){return ah(t,e)?t.getCalculationInfo("stackResultDimension"):e}function sh(t,e,n){n=n||{},Qo.isInstance(t)||(t=Qo.seriesDataToSource(t));var i,r=e.get("coordinateSystem"),a=xs.get(r),o=nh(e);o&&(i=p(o.coordSysDims,function(t){var e={name:t},n=o.axisMap.get(t);if(n){var i=n.get("type");e.type=zu(i)}return e})),i||(i=a&&(a.getDimensionsInfo?a.getDimensionsInfo():a.dimensions.slice())||["x","y"]);var s,l,u=$x(t,{coordDimensions:i,generateCoord:n.generateCoord,encodeDefaulter:n.useEncodeDefaulter?_(ss,i,e):null});o&&f(u,function(t,e){var n=t.coordDim,i=o.categoryAxisMap.get(n);i&&(null==s&&(s=e),t.ordinalMeta=i.getOrdinalMeta()),null!=t.otherDims.itemName&&(l=!0)}),l||null==s||(u[s].otherDims.itemName=0);var h=rh(e,u),c=new jx(u,e);c.setCalculationInfo(h);var d=null!=s&&lh(t)?function(t,e,n,i){return i===s?n:this.defaultDimValueGetter(t,e,n,i)}:null;return c.hasItemOption=!1,c.initData(t,null,d),c}function lh(t){if(t.sourceFormat===Dy){var e=uh(t.data||[]);return null!=e&&!x(Qi(e))}}function uh(t){for(var e=0;eo&&(o=r.interval=n),null!=i&&o>i&&(o=r.interval=i);var s=r.intervalPrecision=gh(o),l=r.niceTickExtent=[nw(Math.ceil(t[0]/o)*o,s),nw(Math.floor(t[1]/o)*o,s)];return mh(l,t),r}function gh(t){return bo(t)+2}function vh(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function mh(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),vh(t,0,e),vh(t,1,e),t[0]>t[1]&&(t[0]=t[1])}function yh(t){return t.get("stack")||aw+t.seriesIndex}function _h(t){return t.dim+t.index}function xh(t,e){var n=[];return e.eachSeriesByType(t,function(t){Th(t)&&!Ch(t)&&n.push(t)}),n}function wh(t){var e={};f(t,function(t){var n=t.coordinateSystem,i=n.getBaseAxis();if("time"===i.type||"value"===i.type)for(var r=t.getData(),a=i.dim+"_"+i.index,o=r.mapDimension(i.dim),s=0,l=r.count();l>s;++s){var u=r.get(o,s);e[a]?e[a].push(u):e[a]=[u]}});var n=[];for(var i in e)if(e.hasOwnProperty(i)){var r=e[i];if(r){r.sort(function(t,e){return t-e});for(var a=null,o=1;o0&&(a=null===a?s:Math.min(a,s))}n[i]=a}}return n}function bh(t){var e=wh(t),n=[];return f(t,function(t){var i,r=t.coordinateSystem,a=r.getBaseAxis(),o=a.getExtent();if("category"===a.type)i=a.getBandWidth();else if("value"===a.type||"time"===a.type){var s=a.dim+"_"+a.index,l=e[s],u=Math.abs(o[1]-o[0]),h=a.scale.getExtent(),c=Math.abs(h[1]-h[0]);i=l?u/c*l:u}else{var d=t.getData();i=Math.abs(o[1]-o[0])/d.count()}var f=yo(t.get("barWidth"),i),p=yo(t.get("barMaxWidth"),i),g=yo(t.get("barMinWidth")||1,i),v=t.get("barGap"),m=t.get("barCategoryGap");n.push({bandWidth:i,barWidth:f,barMaxWidth:p,barMinWidth:g,barGap:v,barCategoryGap:m,axisKey:_h(a),stackId:yh(t)})}),Sh(n)}function Sh(t){var e={};f(t,function(t){var n=t.axisKey,i=t.bandWidth,r=e[n]||{bandWidth:i,remainedWidth:i,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},a=r.stacks;e[n]=r;var o=t.stackId;a[o]||r.autoWidthCount++,a[o]=a[o]||{width:0,maxWidth:0};var s=t.barWidth;s&&!a[o].width&&(a[o].width=s,s=Math.min(r.remainedWidth,s),r.remainedWidth-=s);var l=t.barMaxWidth;l&&(a[o].maxWidth=l);var u=t.barMinWidth;u&&(a[o].minWidth=u);var h=t.barGap;null!=h&&(r.gap=h);var c=t.barCategoryGap;null!=c&&(r.categoryGap=c)});var n={};return f(e,function(t,e){n[e]={};var i=t.stacks,r=t.bandWidth,a=yo(t.categoryGap,r),o=yo(t.gap,1),s=t.remainedWidth,l=t.autoWidthCount,u=(s-a)/(l+(l-1)*o);u=Math.max(u,0),f(i,function(t){var e=t.maxWidth,n=t.minWidth;if(t.width){var i=t.width;e&&(i=Math.min(i,e)),n&&(i=Math.max(i,n)),t.width=i,s-=i+o*i,l--}else{var i=u;e&&i>e&&(i=Math.min(e,s)),n&&n>i&&(i=n),i!==u&&(t.width=i,s-=i+o*i,l--)}}),u=(s-a)/(l+(l-1)*o),u=Math.max(u,0);var h,c=0;f(i,function(t){t.width||(t.width=u),h=t,c+=t.width*(1+o)}),h&&(c-=h.width*o);var d=-c/2;f(i,function(t,i){n[e][i]=n[e][i]||{bandWidth:r,offset:d,width:t.width},d+=t.width*(1+o)})}),n}function Mh(t,e,n){if(t&&e){var i=t[_h(e)];return null!=i&&null!=n&&(i=i[yh(n)]),i}}function Ih(t,e){var n=xh(t,e),i=bh(n),r={};f(n,function(t){var e=t.getData(),n=t.coordinateSystem,a=n.getBaseAxis(),o=yh(t),s=i[_h(a)][o],l=s.offset,u=s.width,h=n.getOtherAxis(a),c=t.get("barMinHeight")||0;r[o]=r[o]||[],e.setLayout({bandWidth:s.bandWidth,offset:l,size:u});for(var d=e.mapDimension(h.dim),f=e.mapDimension(a.dim),p=ah(e,d),g=h.isHorizontal(),v=Dh(a,h,p),m=0,y=e.count();y>m;m++){var _=e.get(d,m),x=e.get(f,m);if(!isNaN(_)&&!isNaN(x)){var w=_>=0?"p":"n",b=v;p&&(r[o][x]||(r[o][x]={p:v,n:v}),b=r[o][x][w]);var S,M,I,T;if(g){var C=n.dataToPoint([_,x]);S=b,M=C[1]+l,I=C[0]-v,T=u,Math.abs(I)I?-1:1)*c),p&&(r[o][x][w]+=I)}else{var C=n.dataToPoint([x,_]);S=C[0]+l,M=b,I=u,T=C[1]-v,Math.abs(T)=T?-1:1)*c),p&&(r[o][x][w]+=T)}e.setItemLayout(m,{x:S,y:M,width:I,height:T})}}},this)}function Th(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function Ch(t){return t.pipelineContext&&t.pipelineContext.large}function Dh(t,e){return e.toGlobalCoord(e.dataToCoord("log"===e.type?1:0))}function Ah(t,e){return bw(t,ww(e))}function kh(t,e){var n,i,r,a=t.type,o=e.getMin(),s=e.getMax(),l=null!=o,u=null!=s,h=t.getExtent();"ordinal"===a?n=e.getCategories().length:(i=e.get("boundaryGap"),x(i)||(i=[i||0,i||0]),"boolean"==typeof i[0]&&(i=[0,0]),i[0]=yo(i[0],1),i[1]=yo(i[1],1),r=h[1]-h[0]||Math.abs(h[0])),null==o&&(o="ordinal"===a?n?0:0/0:h[0]-i[0]*r),null==s&&(s="ordinal"===a?n?n-1:0/0:h[1]+i[1]*r),"dataMin"===o?o=h[0]:"function"==typeof o&&(o=o({min:h[0],max:h[1]})),"dataMax"===s?s=h[1]:"function"==typeof s&&(s=s({min:h[0],max:h[1]})),(null==o||!isFinite(o))&&(o=0/0),(null==s||!isFinite(s))&&(s=0/0),t.setBlank(C(o)||C(s)||"ordinal"===a&&!t.getOrdinalMeta().categories.length),e.getNeedCrossZero()&&(o>0&&s>0&&!l&&(o=0),0>o&&0>s&&!u&&(s=0));var c=e.ecModel;if(c&&"time"===a){var d,p=xh("bar",c);if(f(p,function(t){d|=t.getBaseAxis()===e.axis}),d){var g=bh(p),v=Ph(o,s,e,g);o=v.min,s=v.max}}return[o,s]}function Ph(t,e,n,i){var r=n.axis.getExtent(),a=r[1]-r[0],o=Mh(i,n.axis);if(void 0===o)return{min:t,max:e};var s=1/0;f(o,function(t){s=Math.min(t.offset,s)});var l=-1/0;f(o,function(t){l=Math.max(t.offset+t.width,l)}),s=Math.abs(s),l=Math.abs(l);var u=s+l,h=e-t,c=1-(s+l)/a,d=h/c-h;return e+=d*(l/u),t-=d*(s/u),{min:t,max:e}}function Lh(t,e){var n=kh(t,e),i=null!=e.getMin(),r=null!=e.getMax(),a=e.get("splitNumber");"log"===t.type&&(t.base=e.get("logBase"));var o=t.type;t.setExtent(n[0],n[1]),t.niceExtent({splitNumber:a,fixMin:i,fixMax:r,minInterval:"interval"===o||"time"===o?e.get("minInterval"):null,maxInterval:"interval"===o||"time"===o?e.get("maxInterval"):null});var s=e.get("interval");null!=s&&t.setInterval&&t.setInterval(s)}function Oh(t,e){if(e=e||t.get("type"))switch(e){case"category":return new ew(t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),[1/0,-1/0]);case"value":return new rw;default:return(hh.getClass(e)||rw).create(t)}}function Bh(t){var e=t.scale.getExtent(),n=e[0],i=e[1];return!(n>0&&i>0||0>n&&0>i)}function Eh(t){var e=t.getLabelModel().get("formatter"),n="category"===t.type?t.scale.getExtent()[0]:null;return"string"==typeof e?e=function(e){return function(n){return n=t.scale.getLabel(n),e.replace("{value}",null!=n?n:"")}}(e):"function"==typeof e?function(i,r){return null!=n&&(r=i-n),e(zh(t,i),r)}:function(e){return t.scale.getLabel(e)}}function zh(t,e){return"category"===t.type?t.scale.getLabel(e):e}function Rh(t){var e=t.model,n=t.scale;if(e.get("axisLabel.show")&&!n.isBlank()){var i,r,a="category"===t.type,o=n.getExtent();a?r=n.count():(i=n.getTicks(),r=i.length);var s,l=t.getLabelModel(),u=Eh(t),h=1;r>40&&(h=Math.ceil(r/40));for(var c=0;r>c;c+=h){var d=i?i[c]:o[0]+c,f=u(d),p=l.getTextRect(f),g=Nh(p,l.get("rotate")||0);s?s.union(g):s=g}return s}}function Nh(t,e){var n=e*Math.PI/180,i=t.plain(),r=i.width,a=i.height,o=r*Math.cos(n)+a*Math.sin(n),s=r*Math.sin(n)+a*Math.cos(n),l=new Sn(i.x,i.y,o,s);return l}function Fh(t){var e=t.get("interval");return null==e?"auto":e}function Vh(t){return"category"===t.type&&0===Fh(t.getLabelModel())}function Hh(t,e){if("image"!==this.type){var n=this.style,i=this.shape;i&&"line"===i.symbolType?n.stroke=t:this.__isEmptyBrush?(n.stroke=t,n.fill=e||"#fff"):(n.fill&&(n.fill=t),n.stroke&&(n.stroke=t)),this.dirty(!1)}}function Gh(t,e,n,i,r,a,o){var s=0===t.indexOf("empty");s&&(t=t.substr(5,1).toLowerCase()+t.substr(6));var l;return l=0===t.indexOf("image://")?va(t.slice(8),new Sn(e,n,i,r),o?"center":"cover"):0===t.indexOf("path://")?ga(t.slice(7),{},new Sn(e,n,i,r),o?"center":"cover"):new zw({shape:{symbolType:t,x:e,y:n,width:i,height:r}}),l.__isEmptyBrush=s,l.setColor=Hh,l.setColor(a),l}function Wh(t){return sh(t.getSource(),t)}function Xh(t,e){var n=e;uo.isInstance(e)||(n=new uo(e),c(n,Dw));var i=Oh(n);return i.setExtent(t[0],t[1]),Lh(i,n),i}function Yh(t){c(t,Dw)}function Uh(t,e){return Math.abs(t-e)>1^-(1&s),l=l>>1^-(1&l),s+=r,l+=a,r=s,a=l,i.push([s/n,l/n])}return i}function $h(t){return"category"===t.type?Jh(t):nc(t)}function Qh(t,e){return"category"===t.type?ec(t,e):{ticks:t.scale.getTicks()}}function Jh(t){var e=t.getLabelModel(),n=tc(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}function tc(t,e){var n=ic(t,"labels"),i=Fh(e),r=rc(n,i);if(r)return r;var a,o;return w(i)?a=hc(t,i):(o="auto"===i?oc(t):i,a=uc(t,o)),ac(n,i,{labels:a,labelCategoryInterval:o})}function ec(t,e){var n=ic(t,"ticks"),i=Fh(e),r=rc(n,i);if(r)return r;var a,o;if((!e.get("show")||t.scale.isBlank())&&(a=[]),w(i))a=hc(t,i,!0);else if("auto"===i){var s=tc(t,t.getLabelModel());o=s.labelCategoryInterval,a=p(s.labels,function(t){return t.tickValue})}else o=i,a=uc(t,o,!0);return ac(n,i,{ticks:a,tickCategoryInterval:o})}function nc(t){var e=t.scale.getTicks(),n=Eh(t);return{labels:p(e,function(e,i){return{formattedLabel:n(e,i),rawLabel:t.scale.getLabel(e),tickValue:e}})}}function ic(t,e){return Hw(t)[e]||(Hw(t)[e]=[])}function rc(t,e){for(var n=0;n40&&(s=Math.max(1,Math.floor(o/40)));for(var l=a[0],u=t.dataToCoord(l+1)-t.dataToCoord(l),h=Math.abs(u*Math.cos(i)),c=Math.abs(u*Math.sin(i)),d=0,f=0;l<=a[1];l+=s){var p=0,g=0,v=Gn(n(l),e.font,"center","top");p=1.3*v.width,g=1.3*v.height,d=Math.max(d,p,7),f=Math.max(f,g,7)}var m=d/h,y=f/c;isNaN(m)&&(m=1/0),isNaN(y)&&(y=1/0);var _=Math.max(0,Math.floor(Math.min(m,y))),x=Hw(t.model),w=t.getExtent(),b=x.lastAutoInterval,S=x.lastTickCount;return null!=b&&null!=S&&Math.abs(b-_)<=1&&Math.abs(S-o)<=1&&b>_&&x.axisExtend0===w[0]&&x.axisExtend1===w[1]?_=b:(x.lastTickCount=o,x.lastAutoInterval=_,x.axisExtend0=w[0],x.axisExtend1=w[1]),_}function lc(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}function uc(t,e,n){function i(t){l.push(n?t:{formattedLabel:r(t),rawLabel:a.getLabel(t),tickValue:t})}var r=Eh(t),a=t.scale,o=a.getExtent(),s=t.getLabelModel(),l=[],u=Math.max((e||0)+1,1),h=o[0],c=a.count();0!==h&&u>1&&c/u>2&&(h=Math.round(Math.ceil(h/u)*u));var d=Vh(t),f=s.get("showMinLabel")||d,p=s.get("showMaxLabel")||d;f&&h!==o[0]&&i(o[0]);for(var g=h;g<=o[1];g+=u)i(g);return p&&g-u!==o[1]&&i(o[1]),l}function hc(t,e,n){var i=t.scale,r=Eh(t),a=[];return f(i.getTicks(),function(t){var o=i.getLabel(t);e(t,o)&&a.push(n?t:{formattedLabel:r(t),rawLabel:o,tickValue:t})}),a}function cc(t,e){var n=t[1]-t[0],i=e,r=n/i/2;t[0]+=r,t[1]-=r}function dc(t,e,n,i){function r(t,e){return t=_o(t),e=_o(e),d?t>e:e>t}var a=e.length;if(t.onBand&&!n&&a){var o,s,l=t.getExtent();if(1===a)e[0].coord=l[0],o=e[1]={coord:l[0]};else{var u=e[a-1].tickValue-e[0].tickValue,h=(e[a-1].coord-e[0].coord)/u;f(e,function(t){t.coord-=h/2});var c=t.scale.getExtent();s=1+c[1]-e[a-1].tickValue,o={coord:e[a-1].coord+h*s},e.push(o)}var d=l[0]>l[1];r(e[0].coord,l[0])&&(i?e[0].coord=l[0]:e.shift()),i&&r(l[0],e[0].coord)&&e.unshift({coord:l[0]}),r(l[1],o.coord)&&(i?o.coord=l[1]:e.pop()),i&&r(o.coord,l[1])&&e.push({coord:l[1]})}}function fc(t){return this._axes[t]}function pc(t){qw.call(this,t)}function gc(t,e){return e.type||(e.data?"category":"value")}function vc(t,e){return t.getCoordSysModel()===e}function mc(t,e,n){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(t,e,n),this.model=t}function yc(t,e,n,i){function r(t){return t.dim+"_"+t.index}n.getAxesOnZeroOf=function(){return a?[a]:[]};var a,o=t[e],s=n.model,l=s.get("axisLine.onZero"),u=s.get("axisLine.onZeroAxisIndex");if(l){if(null!=u)_c(o[u])&&(a=o[u]);else for(var h in o)if(o.hasOwnProperty(h)&&_c(o[h])&&!i[r(o[h])]){a=o[h];break}a&&(i[r(a)]=!0)}}function _c(t){return t&&"category"!==t.type&&"time"!==t.type&&Bh(t)}function xc(t,e){var n=t.getExtent(),i=n[0]+n[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return i-t+e}}function wc(t){return p(nb,function(e){var n=t.getReferringComponents(e)[0];return n})}function bc(t){return"cartesian2d"===t.get("coordinateSystem")}function Sc(t,e){var n=t.mapDimension("defaultedLabel",!0),i=n.length;if(1===i)return Us(t,e,n[0]);if(i){for(var r=[],a=0;a0?"bottom":"top":r.width>0?"left":"right";l||Mc(t.style,f,i,u,a,n,g),Lc(r)&&(f.fill=f.stroke="none"),Ba(t,f)}function Bc(t,e){var n=t.get(sb)||0;return Math.min(n,Math.abs(e.width),Math.abs(e.height))}function Ec(t,e,n){var i=t.getData(),r=[],a=i.getLayout("valueAxisHorizontal")?1:0;r[1-a]=i.getLayout("valueAxisStart");var o=new pb({shape:{points:i.getLayout("largePoints")},incremental:!!n,__startPoint:r,__baseDimIdx:a,__largeDataIndices:i.getLayout("largeDataIndices"),__barWidth:i.getLayout("barWidth")});e.add(o),Rc(o,t,i),o.seriesIndex=t.seriesIndex,t.get("silent")||(o.on("mousedown",gb),o.on("mousemove",gb))}function zc(t,e,n){var i=t.__baseDimIdx,r=1-i,a=t.shape.points,o=t.__largeDataIndices,s=Math.abs(t.__barWidth/2),l=t.__startPoint[r];lb[0]=e,lb[1]=n;for(var u=lb[i],h=lb[1-i],c=u-s,d=u+s,f=0,p=a.length/2;p>f;f++){var g=2*f,v=a[g+i],m=a[g+r];if(v>=c&&d>=v&&(m>=l?h>=l&&m>=h:h>=m&&l>=h))return o[f]}return-1}function Rc(t,e,n){var i=n.getVisual("borderColor")||n.getVisual("color"),r=e.getModel("itemStyle").getItemStyle(["color","borderColor"]);t.useStyle(r),t.style.fill=null,t.style.stroke=i,t.style.lineWidth=n.getLayout("barWidth")}function Nc(t,e,n,i){var r,a,o=Io(n-t.rotation),s=i[0]>i[1],l="start"===e&&!s||"start"!==e&&s;return To(o-vb/2)?(a=l?"bottom":"top",r="center"):To(o-1.5*vb)?(a=l?"top":"bottom",r="center"):(a="middle",r=1.5*vb>o&&o>vb/2?l?"left":"right":l?"right":"left"),{rotation:o,textAlign:r,textVerticalAlign:a}}function Fc(t,e,n){if(!Vh(t.axis)){var i=t.get("axisLabel.showMinLabel"),r=t.get("axisLabel.showMaxLabel");e=e||[],n=n||[];var a=e[0],o=e[1],s=e[e.length-1],l=e[e.length-2],u=n[0],h=n[1],c=n[n.length-1],d=n[n.length-2];i===!1?(Vc(a),Vc(u)):Hc(a,o)&&(i?(Vc(o),Vc(h)):(Vc(a),Vc(u))),r===!1?(Vc(s),Vc(c)):Hc(l,s)&&(r?(Vc(l),Vc(d)):(Vc(s),Vc(c)))}}function Vc(t){t&&(t.ignore=!0)}function Hc(t,e){var n=t&&t.getBoundingRect().clone(),i=e&&e.getBoundingRect().clone();if(n&&i){var r=ke([]);return Be(r,r,-t.rotation),n.applyTransform(Le([],r,t.getLocalTransform())),i.applyTransform(Le([],r,e.getLocalTransform())),n.intersect(i)}}function Gc(t){return"middle"===t||"center"===t}function Wc(t,e,n,i,r){for(var a=[],o=[],s=[],l=0;l=0||t===e}function Jc(t){var e=td(t);if(e){var n=e.axisPointerModel,i=e.axis.scale,r=n.option,a=n.get("status"),o=n.get("value");null!=o&&(o=i.parse(o));var s=nd(n);null==a&&(r.status=s?"show":"hide");var l=i.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==o||o>l[1])&&(o=l[1]),o0?n=i[0]:i[1]<0&&(n=i[1]),n}function md(t,e,n,i){var r=0/0;t.stacked&&(r=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(r)&&(r=t.valueStart);var a=t.baseDataOffset,o=[];return o[a]=n.get(t.baseDim,i),o[1-a]=r,e.dataToPoint(o)}function yd(t,e){var n=[];return e.diff(t).add(function(t){n.push({cmd:"+",idx:t})}).update(function(t,e){n.push({cmd:"=",idx:e,idx1:t})}).remove(function(t){n.push({cmd:"-",idx:t})}).execute(),n}function _d(t){return isNaN(t[0])||isNaN(t[1])}function xd(t,e,n,i,r,a,o,s,l,u){return"none"!==u&&u?wd.apply(this,arguments):bd.apply(this,arguments)}function wd(t,e,n,i,r,a,o,s,l,u,h){for(var c=0,d=n,f=0;i>f;f++){var p=e[d];if(d>=r||0>d)break;if(_d(p)){if(h){d+=a;continue}break}if(d===n)t[a>0?"moveTo":"lineTo"](p[0],p[1]);else if(l>0){var g=e[c],v="y"===u?1:0,m=(p[v]-g[v])*l;Vb(Gb,g),Gb[v]=g[v]+m,Vb(Wb,p),Wb[v]=p[v]-m,t.bezierCurveTo(Gb[0],Gb[1],Wb[0],Wb[1],p[0],p[1])}else t.lineTo(p[0],p[1]);c=d,d+=a}return f}function bd(t,e,n,i,r,a,o,s,l,u,h){for(var c=0,d=n,f=0;i>f;f++){var p=e[d];if(d>=r||0>d)break;if(_d(p)){if(h){d+=a;continue}break}if(d===n)t[a>0?"moveTo":"lineTo"](p[0],p[1]),Vb(Gb,p);else if(l>0){var g=d+a,v=e[g];if(h)for(;v&&_d(e[g]);)g+=a,v=e[g];var m=.5,y=e[c],v=e[g];if(!v||_d(v))Vb(Wb,p);else{_d(v)&&!h&&(v=p),q(Hb,v,y);var _,x;if("x"===u||"y"===u){var w="x"===u?0:1;_=Math.abs(p[w]-y[w]),x=Math.abs(p[w]-v[w])}else _=ap(p,y),x=ap(p,v);m=x/(x+_),Fb(Wb,p,Hb,-l*(1-m))}Rb(Gb,Gb,s),Nb(Gb,Gb,o),Rb(Wb,Wb,s),Nb(Wb,Wb,o),t.bezierCurveTo(Gb[0],Gb[1],Wb[0],Wb[1],p[0],p[1]),Fb(Gb,p,Hb,l*m)}else t.lineTo(p[0],p[1]);c=d,d+=a}return f}function Sd(t,e){var n=[1/0,1/0],i=[-1/0,-1/0];if(e)for(var r=0;ri[0]&&(i[0]=a[0]),a[1]>i[1]&&(i[1]=a[1])}return{min:e?n:i,max:e?i:n}}function Md(t,e){if(t.length===e.length){for(var n=0;nr;r++)i.push(md(n,t,e,r));return i}function Cd(t,e,n){for(var i=e.getBaseAxis(),r="x"===i.dim||"radius"===i.dim?0:1,a=[],o=0;o=0;a--){var o=n[a].dimension,s=t.dimensions[o],l=t.getDimensionInfo(s);if(i=l&&l.coordDim,"x"===i||"y"===i){r=n[a];break}}if(r){var u=e.getAxis(i),h=p(r.stops,function(t){return{coord:u.toGlobalCoord(u.dataToCoord(t.value)),color:t.color}}),c=h.length,d=r.outerColors.slice();c&&h[0].coord>h[c-1].coord&&(h.reverse(),d.reverse());var g=10,v=h[0].coord-g,m=h[c-1].coord+g,y=m-v;if(.001>y)return"transparent";f(h,function(t){t.offset=(t.coord-v)/y}),h.push({offset:c?h[c-1].offset:.5,color:d[1]||"transparent"}),h.unshift({offset:c?h[0].offset:.5,color:d[0]||"transparent"});var _=new Em(0,0,0,0,h,!0);return _[i]=v,_[i+"2"]=m,_}}}function Ad(t,e,n){var i=t.get("showAllSymbol"),r="auto"===i;if(!i||r){var a=n.getAxesByScale("ordinal")[0];if(a&&(!r||!kd(a,e))){var o=e.mapDimension(a.dim),s={};return f(a.getViewLabels(),function(t){s[t.tickValue]=1}),function(t){return!s.hasOwnProperty(e.get(o,t))}}}}function kd(t,e){var n=t.getExtent(),i=Math.abs(n[1]-n[0])/t.scale.count();isNaN(i)&&(i=0);for(var r=e.count(),a=Math.max(1,Math.round(r/5)),o=0;r>o;o+=a)if(1.5*sd.getSymbolSize(e,o)[t.isHorizontal()?1:0]>i)return!1;return!0}function Pd(t,e,n){if("cartesian2d"===t.type){var i=t.getBaseAxis().isHorizontal(),r=Tc(t,e,n);if(!n.get("clip",!0)){var a=r.shape,o=Math.max(a.width,a.height);i?(a.y-=o,a.height+=2*o):(a.x-=o,a.width+=2*o)}return r}return Cc(t,e,n)}function Ld(t,e){this.getAllNames=function(){var t=e();return t.mapArray(t.getName)},this.containName=function(t){var n=e();return n.indexOfName(t)>=0},this.indexOfName=function(e){var n=t();return n.indexOfName(e)},this.getItemVisual=function(e,n){var i=t();return i.getItemVisual(e,n)}}function Od(t,e,n,i){var r=e.getData(),a=this.dataIndex,o=r.getName(a),s=e.get("selectedOffset");i.dispatchAction({type:"pieToggleSelect",from:t,name:o,seriesId:e.id}),r.each(function(t){Bd(r.getItemGraphicEl(t),r.getItemLayout(t),e.isSelected(r.getName(t)),s,n)})}function Bd(t,e,n,i,r){var a=(e.startAngle+e.endAngle)/2,o=Math.cos(a),s=Math.sin(a),l=n?i:0,u=[o*l,s*l];r?t.animate().when(200,{position:u}).start("bounceOut"):t.attr("position",u)}function Ed(t,e){tg.call(this);var n=new _m({z2:2}),i=new Mm,r=new gm;this.add(n),this.add(i),this.add(r),this.updateData(t,e,!0)}function zd(t,e,n,i,r,a,o,s,l,u){function h(e,n,i){for(var r=e;n>r&&!(t[r].y+i>l+o);r++)if(t[r].y+=i,r>e&&n>r+1&&t[r+1].y>t[r].y+t[r].height)return void c(r,i/2);c(n-1,i/2)}function c(e,n){for(var i=e;i>=0&&!(t[i].y-n0&&t[i].y>t[i-1].y+t[i-1].height));i--);}function d(t,e,n,i,r,a){for(var o=a>0?e?Number.MAX_VALUE:0:e?Number.MAX_VALUE:0,s=0,l=t.length;l>s;s++)if("none"===t[s].labelAlignTo){var u=Math.abs(t[s].y-i),h=t[s].len,c=t[s].len2,d=r+h>u?Math.sqrt((r+h+c)*(r+h+c)-u*u):Math.abs(t[s].x-n);e&&d>=o&&(d=o-10),!e&&o>=d&&(d=o+10),t[s].x=n+d*a,o=d}}t.sort(function(t,e){return t.y-e.y});for(var f,p=0,g=t.length,v=[],m=[],y=0;g>y;y++){if("outer"===t[y].position&&"labelLine"===t[y].labelAlignTo){var _=t[y].x-u;t[y].linePoints[1][0]+=_,t[y].x=u}f=t[y].y-p,0>f&&h(y,g,-f,r),p=t[y].y+t[y].height}0>o-p&&c(g-1,p-o);for(var y=0;g>y;y++)t[y].y>=n?m.push(t[y]):v.push(t[y]);d(v,!1,e,n,i,r),d(m,!0,e,n,i,r)}function Rd(t,e,n,i,r,a,o,s){for(var l=[],u=[],h=Number.MAX_VALUE,c=-Number.MAX_VALUE,d=0;d=f&&((o>f||d>=0&&0>s)&&(o=f,s=d,r=l,a.length=0),SS(u,function(t){a.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})}))}}),{payloadBatch:a,snapToValue:r}}function Zd(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function Kd(t,e,n,i){var r=n.payloadBatch,a=e.axis,o=a.model,s=e.axisPointerModel;if(e.triggerTooltip&&r.length){var l=e.coordSys.model,u=id(l),h=t.map[u];h||(h=t.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(h)),h.dataByAxis.push({axisDim:a.dim,axisIndex:o.componentIndex,axisType:o.type,axisId:o.id,value:i,valueLabelOpt:{precision:s.get("label.precision"),formatter:s.get("label.formatter")},seriesDataIndices:r.slice()})}}function $d(t,e,n){var i=n.axesInfo=[];SS(e,function(e,n){var r=e.axisPointerModel.option,a=t[n];a?(!e.useHandle&&(r.status="show"),r.value=a.value,r.seriesDataIndices=(a.payloadBatch||[]).slice()):!e.useHandle&&(r.status="hide"),"show"===r.status&&i.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:r.value})})}function Qd(t,e,n,i){if(nf(e)||!t.list.length)return void i({type:"hideTip"});var r=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};i({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:t.list})}function Jd(t,e,n){var i=n.getZr(),r="axisPointerLastHighlights",a=IS(i)[r]||{},o=IS(i)[r]={};SS(t,function(t){var e=t.axisPointerModel.option;"show"===e.status&&SS(e.seriesDataIndices,function(t){var e=t.seriesIndex+" | "+t.dataIndex;o[e]=t})});var s=[],l=[];f(a,function(t,e){!o[e]&&l.push(t)}),f(o,function(t,e){!a[e]&&s.push(t)}),l.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,batch:l}),s.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,batch:s})}function tf(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}function ef(t){var e=t.axis.model,n={},i=n.axisDim=t.axis.dim;return n.axisIndex=n[i+"AxisIndex"]=e.componentIndex,n.axisName=n[i+"AxisName"]=e.name,n.axisId=n[i+"AxisId"]=e.id,n}function nf(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function rf(t,e,n){if(!Hf.node){var i=e.getZr();CS(i).records||(CS(i).records={}),af(i,e);var r=CS(i).records[t]||(CS(i).records[t]={});r.handler=n}}function af(t,e){function n(n,i){t.on(n,function(n){var r=uf(e);DS(CS(t).records,function(t){t&&i(t,n,r.dispatchAction)}),of(r.pendings,e)})}CS(t).initialized||(CS(t).initialized=!0,n("click",_(lf,"click")),n("mousemove",_(lf,"mousemove")),n("globalout",sf))}function of(t,e){var n,i=t.showTip.length,r=t.hideTip.length;i?n=t.showTip[i-1]:r&&(n=t.hideTip[r-1]),n&&(n.dispatchAction=null,e.dispatchAction(n))}function sf(t,e,n){t.handler("leave",null,n)}function lf(t,e,n,i){e.handler(t,n,i)}function uf(t){var e={showTip:[],hideTip:[]},n=function(i){var r=e[i.type];r?r.push(i):(i.dispatchAction=n,t.dispatchAction(i))};return{dispatchAction:n,pendings:e}}function hf(t,e){if(!Hf.node){var n=e.getZr(),i=(CS(n).records||{})[t];i&&(CS(n).records[t]=null)}}function cf(){}function df(t,e,n,i){ff(kS(n).lastProp,i)||(kS(n).lastProp=i,e?Ka(n,i,t):(n.stopAnimation(),n.attr(i)))}function ff(t,e){if(S(t)&&S(e)){var n=!0;return f(e,function(e,i){n=n&&ff(t[i],e)}),!!n}return t===e}function pf(t,e){t[e.get("label.show")?"show":"hide"]()}function gf(t){return{position:t.position.slice(),rotation:t.rotation||0}}function vf(t,e,n){var i=e.get("z"),r=e.get("zlevel");t&&t.traverse(function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=r&&(t.zlevel=r),t.silent=n)})}function mf(t){var e,n=t.get("type"),i=t.getModel(n+"Style");return"line"===n?(e=i.getLineStyle(),e.fill=null):"shadow"===n&&(e=i.getAreaStyle(),e.stroke=null),e}function yf(t,e,n,i,r){var a=n.get("value"),o=xf(a,e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get("label.precision"),formatter:n.get("label.formatter")}),s=n.getModel("label"),l=hy(s.get("padding")||0),u=s.getFont(),h=Gn(o,u),c=r.position,d=h.width+l[1]+l[3],f=h.height+l[0]+l[2],p=r.align;"right"===p&&(c[0]-=d),"center"===p&&(c[0]-=d/2);var g=r.verticalAlign;"bottom"===g&&(c[1]-=f),"middle"===g&&(c[1]-=f/2),_f(c,d,f,i);var v=s.get("backgroundColor");v&&"auto"!==v||(v=e.get("axisLine.lineStyle.color")),t.label={shape:{x:0,y:0,width:d,height:f,r:s.get("borderRadius")},position:c.slice(),style:{text:o,textFont:u,textFill:s.getTextColor(),textPosition:"inside",textPadding:l,fill:v,stroke:s.get("borderColor")||"transparent",lineWidth:s.get("borderWidth")||0,shadowBlur:s.get("shadowBlur"),shadowColor:s.get("shadowColor"),shadowOffsetX:s.get("shadowOffsetX"),shadowOffsetY:s.get("shadowOffsetY")},z2:10}}function _f(t,e,n,i){var r=i.getWidth(),a=i.getHeight();t[0]=Math.min(t[0]+e,r)-e,t[1]=Math.min(t[1]+n,a)-n,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}function xf(t,e,n,i,r){t=e.scale.parse(t);var a=e.scale.getLabel(t,{precision:r.precision}),o=r.formatter;if(o){var s={value:zh(e,t),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};f(i,function(t){var e=n.getSeriesByIndex(t.seriesIndex),i=t.dataIndexInside,r=e&&e.getDataParams(i);r&&s.seriesData.push(r)}),b(o)?a=o.replace("{value}",a):w(o)&&(a=o(s))}return a}function wf(t,e,n){var i=Ae();return Be(i,i,n.rotation),Oe(i,i,n.position),Ja([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}function bf(t,e,n,i,r,a){var o=mb.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get("label.margin"),yf(e,i,r,a,{position:wf(i.axis,t,n),align:o.textAlign,verticalAlign:o.textVerticalAlign})}function Sf(t,e,n){return n=n||0,{x1:t[n],y1:t[1-n],x2:e[n],y2:e[1-n]}}function Mf(t,e,n){return n=n||0,{x:t[n],y:t[1-n],width:e[n],height:e[1-n]}}function If(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}function Tf(t){return"x"===t.dim?0:1}function Cf(t){var e="cubic-bezier(0.23, 1, 0.32, 1)",n="left "+t+"s "+e+",top "+t+"s "+e;return p(RS,function(t){return t+"transition:"+n}).join(";")}function Df(t){var e=[],n=t.get("fontSize"),i=t.getTextColor();return i&&e.push("color:"+i),e.push("font:"+t.getFont()),n&&e.push("line-height:"+Math.round(3*n/2)+"px"),ES(["decoration","align"],function(n){var i=t.get(n);i&&e.push("text-"+n+":"+i)}),e.join(";")}function Af(t){var e=[],n=t.get("transitionDuration"),i=t.get("backgroundColor"),r=t.getModel("textStyle"),a=t.get("padding");return n&&e.push(Cf(n)),i&&(Hf.canvasSupported?e.push("background-Color:"+i):(e.push("background-Color:#"+tn(i)),e.push("filter:alpha(opacity=70)"))),ES(["width","color","radius"],function(n){var i="border-"+n,r=zS(i),a=t.get(r);null!=a&&e.push(i+":"+a+("color"===n?"":"px"))}),e.push(Df(r)),null!=a&&e.push("padding:"+hy(a).join("px ")+"px"),e.join(";")+";"}function kf(t,e){if(Hf.wxa)return null;var n=document.createElement("div"),i=this._zr=e.getZr();this.el=n,this._x=e.getWidth()/2,this._y=e.getHeight()/2,t.appendChild(n),this._container=t,this._show=!1,this._hideTimeout;var r=this;n.onmouseenter=function(){r._enterable&&(clearTimeout(r._hideTimeout),r._show=!0),r._inContent=!0},n.onmousemove=function(e){if(e=e||window.event,!r._enterable){var n=i.handler;_e(t,e,!0),n.dispatch("mousemove",e)}},n.onmouseleave=function(){r._enterable&&r._show&&r.hideLater(r._hideDelay),r._inContent=!1}}function Pf(t){this._zr=t.getZr(),this._show=!1,this._hideTimeout}function Lf(t){for(var e=t.pop();t.length;){var n=t.pop();n&&(uo.isInstance(n)&&(n=n.get("tooltip",!0)),"string"==typeof n&&(n={formatter:n}),e=new uo(n,e,e.ecModel))}return e}function Of(t,e){return t.dispatchAction||y(e.dispatchAction,e)}function Bf(t,e,n,i,r,a,o){var s=n.getOuterSize(),l=s.width,u=s.height;return null!=a&&(t+l+a>i?t-=l+a:t+=a),null!=o&&(e+u+o>r?e-=u+o:e+=o),[t,e]}function Ef(t,e,n,i,r){var a=n.getOuterSize(),o=a.width,s=a.height;return t=Math.min(t+o,i)-o,e=Math.min(e+s,r)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}function zf(t,e,n){var i=n[0],r=n[1],a=5,o=0,s=0,l=e.width,u=e.height;switch(t){case"inside":o=e.x+l/2-i/2,s=e.y+u/2-r/2;break;case"top":o=e.x+l/2-i/2,s=e.y-r-a;break;case"bottom":o=e.x+l/2-i/2,s=e.y+u+a;break;case"left":o=e.x-i-a,s=e.y+u/2-r/2;break;case"right":o=e.x+l+a,s=e.y+u/2-r/2}return[o,s]}function Rf(t){return"center"===t||"middle"===t}var Nf=2311,Ff=function(){return Nf++},Vf={};Vf="object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?{browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:"undefined"==typeof document&&"undefined"!=typeof self?{browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:"undefined"==typeof navigator?{browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:e(navigator.userAgent);var Hf=Vf,Gf={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},Wf={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},Xf=Object.prototype.toString,Yf=Array.prototype,Uf=Yf.forEach,qf=Yf.filter,jf=Yf.slice,Zf=Yf.map,Kf=Yf.reduce,$f={},Qf=function(){return $f.createCanvas()};$f.createCanvas=function(){return document.createElement("canvas")};var Jf,tp="__ec_primitive__";R.prototype={constructor:R,get:function(t){return this.data.hasOwnProperty(t)?this.data[t]:null},set:function(t,e){return this.data[t]=e},each:function(t,e){void 0!==e&&(t=y(t,e));for(var n in this.data)this.data.hasOwnProperty(n)&&t(this.data[n],n)},removeKey:function(t){delete this.data[t]}};var ep=(Object.freeze||Object)({$override:n,clone:i,merge:r,mergeAll:a,extend:o,defaults:s,createCanvas:Qf,getContext:l,indexOf:u,inherits:h,mixin:c,isArrayLike:d,each:f,map:p,reduce:g,filter:v,find:m,bind:y,curry:_,isArray:x,isFunction:w,isString:b,isObject:S,isBuiltInObject:M,isTypedArray:I,isDom:T,eqNaN:C,retrieve:D,retrieve2:A,retrieve3:k,slice:P,normalizeCssArray:L,assert:O,trim:B,setAsPrimitive:E,isPrimitive:z,createHashMap:N,concatArray:F,noop:V}),np="undefined"==typeof Float32Array?Array:Float32Array,ip=j,rp=Z,ap=ee,op=ne,sp=(Object.freeze||Object)({create:H,copy:G,clone:W,set:X,add:Y,scaleAndAdd:U,sub:q,len:j,length:ip,lenSquare:Z,lengthSquare:rp,mul:K,div:$,dot:Q,scale:J,normalize:te,distance:ee,dist:ap,distanceSquare:ne,distSquare:op,negate:ie,lerp:re,applyTransform:ae,min:oe,max:se});le.prototype={constructor:le,_dragStart:function(t){var e=t.target;e&&e.draggable&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.dispatchToElement(ue(e,t),"dragstart",t.event))},_drag:function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,i=t.offsetY,r=n-this._x,a=i-this._y;this._x=n,this._y=i,e.drift(r,a,t),this.dispatchToElement(ue(e,t),"drag",t.event);var o=this.findHover(n,i,e).target,s=this._dropTarget;this._dropTarget=o,e!==o&&(s&&o!==s&&this.dispatchToElement(ue(s,t),"dragleave",t.event),o&&o!==s&&this.dispatchToElement(ue(o,t),"dragenter",t.event))}},_dragEnd:function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.dispatchToElement(ue(e,t),"dragend",t.event),this._dropTarget&&this.dispatchToElement(ue(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null}};var lp=Array.prototype.slice,up=function(t){this._$handlers={},this._$eventProcessor=t};up.prototype={constructor:up,one:function(t,e,n,i){return ce(this,t,e,n,i,!0)},on:function(t,e,n,i){return ce(this,t,e,n,i,!1)},isSilent:function(t){var e=this._$handlers;return!e[t]||!e[t].length},off:function(t,e){var n=this._$handlers;if(!t)return this._$handlers={},this;if(e){if(n[t]){for(var i=[],r=0,a=n[t].length;a>r;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},trigger:function(t){var e=this._$handlers[t],n=this._$eventProcessor;if(e){var i=arguments,r=i.length;r>3&&(i=lp.call(i,1));for(var a=e.length,o=0;a>o;){var s=e[o];if(n&&n.filter&&null!=s.query&&!n.filter(t,s.query))o++;else{switch(r){case 1:s.h.call(s.ctx);break;case 2:s.h.call(s.ctx,i[1]);break;case 3:s.h.call(s.ctx,i[1],i[2]);break;default:s.h.apply(s.ctx,i)}s.one?(e.splice(o,1),a--):o++}}}return n&&n.afterTrigger&&n.afterTrigger(t),this},triggerWithContext:function(t){var e=this._$handlers[t],n=this._$eventProcessor;if(e){var i=arguments,r=i.length;r>4&&(i=lp.call(i,1,i.length-1));for(var a=i[i.length-1],o=e.length,s=0;o>s;){var l=e[s];if(n&&n.filter&&null!=l.query&&!n.filter(t,l.query))s++;else{switch(r){case 1:l.h.call(a);break;case 2:l.h.call(a,i[1]);break;case 3:l.h.call(a,i[1],i[2]);break;default:l.h.apply(a,i)}l.one?(e.splice(s,1),o--):s++}}}return n&&n.afterTrigger&&n.afterTrigger(t),this}};var hp=Math.log(2),cp="undefined"!=typeof window&&!!window.addEventListener,dp=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,fp="___zrEVENTSAVED",pp=[],gp=cp?function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}:function(t){t.returnValue=!1,t.cancelBubble=!0},vp=function(){this._track=[]};vp.prototype={constructor:vp,recognize:function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},clear:function(){return this._track.length=0,this},_doTrack:function(t,e,n){var i=t.touches;if(i){for(var r={points:[],touches:[],target:e,event:t},a=0,o=i.length;o>a;a++){var s=i[a],l=pe(n,s,{});r.points.push([l.zrX,l.zrY]),r.touches.push(s)}this._track.push(r)}},_recognize:function(t){for(var e in mp)if(mp.hasOwnProperty(e)){var n=mp[e](this._track,t);if(n)return n}}};var mp={pinch:function(t,e){var n=t.length;if(n){var i=(t[n-1]||{}).points,r=(t[n-2]||{}).points||i;if(r&&r.length>1&&i&&i.length>1){var a=be(i)/be(r);!isFinite(a)&&(a=1),e.pinchScale=a;var o=Se(i);return e.pinchX=o[0],e.pinchY=o[1],{type:"pinch",target:t[0].target,event:e}}}}},yp="silent";Te.prototype.dispose=function(){};var _p=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],xp=function(t,e,n,i){up.call(this),this.storage=t,this.painter=e,this.painterRoot=i,n=n||new Te,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,le.call(this),this.setHandlerProxy(n)};xp.prototype={constructor:xp,setHandlerProxy:function(t){this.proxy&&this.proxy.dispose(),t&&(f(_p,function(e){t.on&&t.on(e,this[e],this)},this),t.handler=this),this.proxy=t},mousemove:function(t){var e=t.zrX,n=t.zrY,i=De(this,e,n),r=this._hovered,a=r.target;a&&!a.__zr&&(r=this.findHover(r.x,r.y),a=r.target);var o=this._hovered=i?{x:e,y:n}:this.findHover(e,n),s=o.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),a&&s!==a&&this.dispatchToElement(r,"mouseout",t),this.dispatchToElement(o,"mousemove",t),s&&s!==a&&this.dispatchToElement(o,"mouseover",t)},mouseout:function(t){var e=t.zrEventControl,n=t.zrIsToLocalDOM;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&!n&&this.trigger("globalout",{type:"globalout",event:t})},resize:function(){this._hovered={}},dispatch:function(t,e){var n=this[t];n&&n.call(this,e)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},dispatchToElement:function(t,e,n){t=t||{};var i=t.target;if(!i||!i.silent){for(var r="on"+e,a=Me(e,t,n);i&&(i[r]&&(a.cancelBubble=i[r].call(i,a)),i.trigger(e,a),i=i.parent,!a.cancelBubble););a.cancelBubble||(this.trigger(e,a),this.painter&&this.painter.eachOtherLayer(function(t){"function"==typeof t[r]&&t[r].call(t,a),t.trigger&&t.trigger(e,a)}))}},findHover:function(t,e,n){for(var i=this.storage.getDisplayList(),r={x:t,y:e},a=i.length-1;a>=0;a--){var o;if(i[a]!==n&&!i[a].ignore&&(o=Ce(i[a],t,e))&&(!r.topTarget&&(r.topTarget=i[a]),o!==yp)){r.target=i[a];break}}return r},processGesture:function(t,e){this._gestureMgr||(this._gestureMgr=new vp);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,this.dispatchToElement({target:i.target},r,i.event)}}},f(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){xp.prototype[t]=function(e){var n,i,r=e.zrX,a=e.zrY,o=De(this,r,a);if("mouseup"===t&&o||(n=this.findHover(r,a),i=n.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||ap(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}}),c(xp,up),c(xp,le);var wp="undefined"==typeof Float32Array?Array:Float32Array,bp=(Object.freeze||Object)({create:Ae,identity:ke,copy:Pe,mul:Le,translate:Oe,rotate:Be,scale:Ee,invert:ze,clone:Re}),Sp=ke,Mp=5e-5,Ip=function(t){t=t||{},t.position||(this.position=[0,0]),null==t.rotation&&(this.rotation=0),t.scale||(this.scale=[1,1]),this.origin=this.origin||null},Tp=Ip.prototype;Tp.transform=null,Tp.needLocalTransform=function(){return Ne(this.rotation)||Ne(this.position[0])||Ne(this.position[1])||Ne(this.scale[0]-1)||Ne(this.scale[1]-1)};var Cp=[];Tp.updateTransform=function(){var t=this.parent,e=t&&t.transform,n=this.needLocalTransform(),i=this.transform;if(!n&&!e)return void(i&&Sp(i));i=i||Ae(),n?this.getLocalTransform(i):Sp(i),e&&(n?Le(i,t.transform,i):Pe(i,t.transform)),this.transform=i;var r=this.globalScaleRatio;if(null!=r&&1!==r){this.getGlobalScale(Cp);var a=Cp[0]<0?-1:1,o=Cp[1]<0?-1:1,s=((Cp[0]-a)*r+a)/Cp[0]||0,l=((Cp[1]-o)*r+o)/Cp[1]||0;i[0]*=s,i[1]*=s,i[2]*=l,i[3]*=l}this.invTransform=this.invTransform||Ae(),ze(this.invTransform,i)},Tp.getLocalTransform=function(t){return Ip.getLocalTransform(this,t)},Tp.setTransform=function(t){var e=this.transform,n=t.dpr||1;e?t.setTransform(n*e[0],n*e[1],n*e[2],n*e[3],n*e[4],n*e[5]):t.setTransform(n,0,0,n,0,0)},Tp.restoreTransform=function(t){var e=t.dpr||1;t.setTransform(e,0,0,e,0,0)};var Dp=[],Ap=Ae();Tp.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=this.position,r=this.scale;Ne(e-1)&&(e=Math.sqrt(e)),Ne(n-1)&&(n=Math.sqrt(n)),t[0]<0&&(e=-e),t[3]<0&&(n=-n),i[0]=t[4],i[1]=t[5],r[0]=e,r[1]=n,this.rotation=Math.atan2(-t[1]/n,t[0]/e)}},Tp.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(Le(Dp,t.invTransform,e),e=Dp);var n=this.origin;n&&(n[0]||n[1])&&(Ap[4]=n[0],Ap[5]=n[1],Le(Dp,e,Ap),Dp[4]-=n[0],Dp[5]-=n[1],e=Dp),this.setLocalTransform(e)}},Tp.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)},Tp.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&ae(n,n,i),n},Tp.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&ae(n,n,i),n},Ip.getLocalTransform=function(t,e){e=e||[],Sp(e);var n=t.origin,i=t.scale||[1,1],r=t.rotation||0,a=t.position||[0,0];return n&&(e[4]-=n[0],e[5]-=n[1]),Ee(e,e,i),r&&Be(e,e,r),n&&(e[4]+=n[0],e[5]+=n[1]),e[4]+=a[0],e[5]+=a[1],e};var kp={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*(-Math.pow(2,-10*(t-1))+2)},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,i=.4;return 0===t?0:1===t?1:(!n||1>n?(n=1,e=i/4):e=i*Math.asin(1/n)/(2*Math.PI),-(n*Math.pow(2,10*(t-=1))*Math.sin(2*(t-e)*Math.PI/i)))},elasticOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||1>n?(n=1,e=i/4):e=i*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin(2*(t-e)*Math.PI/i)+1)},elasticInOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||1>n?(n=1,e=i/4):e=i*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?-.5*n*Math.pow(2,10*(t-=1))*Math.sin(2*(t-e)*Math.PI/i):n*Math.pow(2,-10*(t-=1))*Math.sin(2*(t-e)*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?.5*t*t*((e+1)*t-e):.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-kp.bounceOut(1-t)},bounceOut:function(t){return 1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return.5>t?.5*kp.bounceIn(2*t):.5*kp.bounceOut(2*t-1)+.5}};Fe.prototype={constructor:Fe,step:function(t,e){if(this._initialized||(this._startTime=t+this._delay,this._initialized=!0),this._paused)return void(this._pausedTime+=e);var n=(t-this._startTime-this._pausedTime)/this._life;if(!(0>n)){n=Math.min(n,1);
+var i=this.easing,r="string"==typeof i?kp[i]:i,a="function"==typeof r?r(n):n;return this.fire("frame",a),1===n?this.loop?(this.restart(t),"restart"):(this._needsRemove=!0,"destroy"):null}},restart:function(t){var e=(t-this._startTime-this._pausedTime)%this._life;this._startTime=t-e+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(t,e){t="on"+t,this[t]&&this[t](this._target,e)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}};var Pp=function(){this.head=null,this.tail=null,this._len=0},Lp=Pp.prototype;Lp.insert=function(t){var e=new Op(t);return this.insertEntry(e),e},Lp.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++},Lp.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--},Lp.len=function(){return this._len},Lp.clear=function(){this.head=this.tail=null,this._len=0};var Op=function(t){this.value=t,this.next,this.prev},Bp=function(t){this._list=new Pp,this._map={},this._maxSize=t||10,this._lastRemovedEntry=null},Ep=Bp.prototype;Ep.put=function(t,e){var n=this._list,i=this._map,r=null;if(null==i[t]){var a=n.len(),o=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var s=n.head;n.remove(s),delete i[s.key],r=s.value,this._lastRemovedEntry=s}o?o.value=e:o=new Op(e),o.key=t,n.insertEntry(o),i[t]=o}return r},Ep.get=function(t){var e=this._map[t],n=this._list;return null!=e?(e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value):void 0},Ep.clear=function(){this._list.clear(),this._map={}};var zp={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]},Rp=new Bp(20),Np=null,Fp=en,Vp=nn,Hp=(Object.freeze||Object)({parse:Ke,lift:Je,toHex:tn,fastLerp:en,fastMapToColor:Fp,lerp:nn,mapToColor:Vp,modifyHSL:rn,modifyAlpha:an,stringify:on}),Gp=Array.prototype.slice,Wp=function(t,e,n,i){this._tracks={},this._target=t,this._loop=e||!1,this._getter=n||sn,this._setter=i||ln,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};Wp.prototype={when:function(t,e){var n=this._tracks;for(var i in e)if(e.hasOwnProperty(i)){if(!n[i]){n[i]=[];var r=this._getter(this._target,i);if(null==r)continue;0!==t&&n[i].push({time:0,value:vn(r)})}n[i].push({time:t,value:e[i]})}return this},during:function(t){return this._onframeList.push(t),this},pause:function(){for(var t=0;tn;n++)t[n].call(this)},start:function(t,e){var n,i=this,r=0,a=function(){r--,r||i._doneCallback()};for(var o in this._tracks)if(this._tracks.hasOwnProperty(o)){var s=_n(this,t,a,this._tracks[o],o,e);s&&(this._clipList.push(s),r++,this.animation&&this.animation.addClip(s),n=s)}if(n){var l=n.onframe;n.onframe=function(t,e){l(t,e);for(var n=0;nl;l++)s&&(s=s[o[l]]);s&&(n=s)}else n=r;if(!n)return void jp('Property "'+t+'" is not existed in element '+r.id);var c=r.animators,d=new Wp(n,e);return d.during(function(){r.dirty(i)}).done(function(){c.splice(u(c,d),1)}),c.push(d),a&&a.animation.addAnimator(d),d},stopAnimation:function(t){for(var e=this.animators,n=e.length,i=0;n>i;i++)e[i].stop(t);return e.length=0,this},animateTo:function(t,e,n,i,r,a){xn(this,t,e,n,i,r,a)},animateFrom:function(t,e,n,i,r,a){xn(this,t,e,n,i,r,a,!0)}};var Kp=function(t){Ip.call(this,t),up.call(this,t),Zp.call(this,t),this.id=t.id||Ff()};Kp.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(t,e){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var n=this.transform;n||(n=this.transform=[1,0,0,1,0,0]),n[4]+=t,n[5]+=e,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(){},attrKV:function(t,e){if("position"===t||"scale"===t||"origin"===t){if(e){var n=this[t];n||(n=this[t]=[]),n[0]=e[0],n[1]=e[1]}}else this[t]=e},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(t,e){if("string"==typeof t)this.attrKV(t,e);else if(S(t))for(var n in t)t.hasOwnProperty(n)&&this.attrKV(n,t[n]);return this.dirty(!1),this},setClipPath:function(t){var e=this.__zr;e&&t.addSelfToZr(e),this.clipPath&&this.clipPath!==t&&this.removeClipPath(),this.clipPath=t,t.__zr=e,t.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var t=this.clipPath;t&&(t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(t){this.__zr=t;var e=this.animators;if(e)for(var n=0;ni||n>s||l>a||r>u)},contain:function(t,e){var n=this;return t>=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},clone:function(){return new Sn(this.x,this.y,this.width,this.height)},copy:function(t){this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},Sn.create=function(t){return new Sn(t.x,t.y,t.width,t.height)};var tg=function(t){t=t||{},Kp.call(this,t);for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);this._children=[],this.__storage=null,this.__dirty=!0};tg.prototype={constructor:tg,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(t){return this._children[t]},childOfName:function(t){for(var e=this._children,n=0;n=0&&(n.splice(i,0,t),this._doAdd(t))}return this},_doAdd:function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__storage,n=this.__zr;e&&e!==t.__storage&&(e.addToStorage(t),t instanceof tg&&t.addChildrenToStorage(e)),n&&n.refresh()},remove:function(t){var e=this.__zr,n=this.__storage,i=this._children,r=u(i,t);return 0>r?this:(i.splice(r,1),t.parent=null,n&&(n.delFromStorage(t),t instanceof tg&&t.delChildrenFromStorage(n)),e&&e.refresh(),this)},removeAll:function(){var t,e,n=this._children,i=this.__storage;for(e=0;ei;i++)this._updateAndAddDisplayable(e[i],null,t);n.length=this._displayListLen,Hf.canvasSupported&&Pn(n,Ln)},_updateAndAddDisplayable:function(t,e,n){if(!t.ignore||n){t.beforeUpdate(),t.__dirty&&t.update(),t.afterUpdate();var i=t.clipPath;if(i){e=e?e.slice():[];for(var r=i,a=t;r;)r.parent=a,r.updateTransform(),e.push(r),a=r,r=r.clipPath}if(t.isGroup){for(var o=t._children,s=0;se;e++)this.delRoot(t[e]);else{var r=u(this._roots,t);r>=0&&(this.delFromStorage(t),this._roots.splice(r,1),t instanceof tg&&t.delChildrenFromStorage(this))}},addToStorage:function(t){return t&&(t.__storage=this,t.dirty(!1)),this},delFromStorage:function(t){return t&&(t.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:Ln};var rg={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1},ag=function(t,e,n){return rg.hasOwnProperty(e)?n*=t.dpr:n},og={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},sg=9,lg=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],ug=function(t){this.extendFrom(t,!1)};ug.prototype={constructor:ug,fill:"#000",stroke:null,opacity:1,fillOpacity:null,strokeOpacity:null,lineDash:null,lineDashOffset:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,lineWidth:1,strokeNoScale:!1,text:null,font:null,textFont:null,fontStyle:null,fontWeight:null,fontSize:null,fontFamily:null,textTag:null,textFill:"#000",textStroke:null,textWidth:null,textHeight:null,textStrokeWidth:0,textLineHeight:null,textPosition:"inside",textRect:null,textOffset:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowColor:"transparent",textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,textBoxShadowColor:"transparent",textBoxShadowBlur:0,textBoxShadowOffsetX:0,textBoxShadowOffsetY:0,transformText:!1,textRotation:0,textOrigin:null,textBackgroundColor:null,textBorderColor:null,textBorderWidth:0,textBorderRadius:0,textPadding:null,rich:null,truncate:null,blend:null,bind:function(t,e,n){var i=this,r=n&&n.style,a=!r||t.__attrCachedBy!==og.STYLE_BIND;t.__attrCachedBy=og.STYLE_BIND;for(var o=0;o0},extendFrom:function(t,e){if(t)for(var n in t)!t.hasOwnProperty(n)||e!==!0&&(e===!1?this.hasOwnProperty(n):null==t[n])||(this[n]=t[n])},set:function(t,e){"string"==typeof t?this[t]=e:this.extendFrom(t,!0)},clone:function(){var t=new this.constructor;return t.extendFrom(this,!0),t},getGradient:function(t,e,n){for(var i="radial"===e.type?Bn:On,r=i(t,e,n),a=e.colorStops,o=0;o=0&&n.splice(i,1),t.__hoverMir=null},clearHover:function(){for(var t=this._hoverElements,e=0;er;){var a=t[r],o=a.__from;o&&o.__zr?(r++,o.invisible||(a.transform=o.transform,a.invTransform=o.invTransform,a.__clipPaths=o.__clipPaths,this._doPaintEl(a,n,!0,i))):(t.splice(r,1),o.__hoverMir=null,e--)}n.ctx.restore()}},getHoverLayer:function(){return this.getLayer(Pg)},_paintList:function(t,e,n){if(this._redrawId===n){e=e||!1,this._updateLayerStatus(t);var i=this._doPaintList(t,e);if(this._needsManuallyCompositing&&this._compositeManually(),!i){var r=this;gg(function(){r._paintList(t,e,n)})}}},_compositeManually:function(){var t=this.getLayer(Lg).ctx,e=this._domRoot.width,n=this._domRoot.height;t.clearRect(0,0,e,n),this.eachBuiltinLayer(function(i){i.virtual&&t.drawImage(i.dom,0,0,e,n)})},_doPaintList:function(t,e){for(var n=[],i=0;i15)break}}a.__drawIndex=v,a.__drawIndex0&&t>i[0]){for(o=0;r-1>o&&!(i[o]t);o++);a=n[i[o]]}if(i.splice(o+1,0,t),n[t]=e,!e.virtual)if(a){var l=a.dom;l.nextSibling?s.insertBefore(e.dom,l.nextSibling):s.appendChild(e.dom)}else s.firstChild?s.insertBefore(e.dom,s.firstChild):s.appendChild(e.dom)},eachLayer:function(t,e){var n,i,r=this._zlevelList;for(i=0;i0?Og:0),this._needsManuallyCompositing),o.__builtin__||jp("ZLevel "+s+" has been used by unkown layer "+o.id),o!==r&&(o.__used=!0,o.__startIndex!==n&&(o.__dirty=!0),o.__startIndex=n,o.__drawIndex=o.incremental?-1:n,e(n),r=o),i.__dirty&&(o.__dirty=!0,o.incremental&&o.__drawIndex<0&&(o.__drawIndex=n))}e(n),this.eachBuiltinLayer(function(t){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)})},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(t){t.clear()},setBackgroundColor:function(t){this._backgroundColor=t},configLayer:function(t,e){if(e){var n=this._layerConfig;n[t]?r(n[t],e,!0):n[t]=e;for(var i=0;i=0&&this._clips.splice(e,1)},removeAnimator:function(t){for(var e=t.getClips(),n=0;no;o++){var s=n[o],l=s.step(t,e);l&&(r.push(l),a.push(s))}for(var o=0;i>o;)n[o]._needsRemove?(n[o]=n[i-1],n.pop(),i--):o++;i=r.length;for(var o=0;i>o;o++)a[o].fire(r[o]);this._time=t,this.onframe(e),this.trigger("frame",e),this.stage.update&&this.stage.update()},_startLoop:function(){function t(){e._running&&(gg(t),!e._paused&&e._update())}var e=this;this._running=!0,gg(t)},start:function(){this._time=(new Date).getTime(),this._pausedTime=0,this._startLoop()},stop:function(){this._running=!1},pause:function(){this._paused||(this._pauseStart=(new Date).getTime(),this._paused=!0)},resume:function(){this._paused&&(this._pausedTime+=(new Date).getTime()-this._pauseStart,this._paused=!1)},clear:function(){this._clips=[]},isFinished:function(){return!this._clips.length},animate:function(t,e){e=e||{};var n=new Wp(t,e.loop,e.getter,e.setter);return this.addAnimator(n),n}},c(Ng,up);var Fg=300,Vg=Hf.domSupported,Hg=function(){var t=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],e=["touchstart","touchend","touchmove"],n={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},i=p(t,function(t){var e=t.replace("mouse","pointer");return n.hasOwnProperty(e)?e:t});return{mouse:t,touch:e,pointer:i}}(),Gg={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},Wg=Ri.prototype;Wg.stopPropagation=Wg.stopImmediatePropagation=Wg.preventDefault=V;var Xg={mousedown:function(t){t=_e(this.dom,t),this._mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=_e(this.dom,t);var e=this._mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||Gi(this,!0),this.trigger("mousemove",t)},mouseup:function(t){t=_e(this.dom,t),Gi(this,!1),this.trigger("mouseup",t)},mouseout:function(t){t=_e(this.dom,t),this._pointerCapturing&&(t.zrEventControl="no_globalout");var e=t.toElement||t.relatedTarget;t.zrIsToLocalDOM=zi(this,e),this.trigger("mouseout",t)},touchstart:function(t){t=_e(this.dom,t),Bi(t),this._lastTouchMoment=new Date,this.handler.processGesture(t,"start"),Xg.mousemove.call(this,t),Xg.mousedown.call(this,t)},touchmove:function(t){t=_e(this.dom,t),Bi(t),this.handler.processGesture(t,"change"),Xg.mousemove.call(this,t)},touchend:function(t){t=_e(this.dom,t),Bi(t),this.handler.processGesture(t,"end"),Xg.mouseup.call(this,t),+new Date-this._lastTouchMoment=0||i&&u(i,o)<0)){var s=e.getShallow(o);null!=s&&(r[t[a][0]]=s)}}return r}},uv=lv([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),hv={getLineStyle:function(t){var e=uv(this,t);return e.lineDash=this.getLineDash(e.lineWidth),e},getLineDash:function(t){null==t&&(t=1);var e=this.get("type"),n=Math.max(t,2),i=4*t;return"solid"===e||null==e?!1:"dashed"===e?[i,i]:[n,n]}},cv=lv([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),dv={getAreaStyle:function(t,e){return cv(this,t,e)}},fv=Math.pow,pv=Math.sqrt,gv=1e-8,vv=1e-4,mv=pv(3),yv=1/3,_v=H(),xv=H(),wv=H(),bv=Math.min,Sv=Math.max,Mv=Math.sin,Iv=Math.cos,Tv=2*Math.PI,Cv=H(),Dv=H(),Av=H(),kv=[],Pv=[],Lv={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},Ov=[],Bv=[],Ev=[],zv=[],Rv=Math.min,Nv=Math.max,Fv=Math.cos,Vv=Math.sin,Hv=Math.sqrt,Gv=Math.abs,Wv="undefined"!=typeof Float32Array,Xv=function(t){this._saveData=!t,this._saveData&&(this.data=[]),this._ctx=null};Xv.prototype={constructor:Xv,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(t,e,n){n=n||0,this._ux=Gv(n/Up/t)||0,this._uy=Gv(n/Up/e)||0},getContext:function(){return this._ctx},beginPath:function(t){return this._ctx=t,t&&t.beginPath(),t&&(this.dpr=t.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(t,e){return this.addData(Lv.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},lineTo:function(t,e){var n=Gv(t-this._xi)>this._ux||Gv(e-this._yi)>this._uy||this._len<5;return this.addData(Lv.L,t,e),this._ctx&&n&&(this._needsDash()?this._dashedLineTo(t,e):this._ctx.lineTo(t,e)),n&&(this._xi=t,this._yi=e),this},bezierCurveTo:function(t,e,n,i,r,a){return this.addData(Lv.C,t,e,n,i,r,a),this._ctx&&(this._needsDash()?this._dashedBezierTo(t,e,n,i,r,a):this._ctx.bezierCurveTo(t,e,n,i,r,a)),this._xi=r,this._yi=a,this},quadraticCurveTo:function(t,e,n,i){return this.addData(Lv.Q,t,e,n,i),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(t,e,n,i):this._ctx.quadraticCurveTo(t,e,n,i)),this._xi=n,this._yi=i,this},arc:function(t,e,n,i,r,a){return this.addData(Lv.A,t,e,n,n,i,r-i,0,a?0:1),this._ctx&&this._ctx.arc(t,e,n,i,r,a),this._xi=Fv(r)*n+t,this._yi=Vv(r)*n+e,this},arcTo:function(t,e,n,i,r){return this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},rect:function(t,e,n,i){return this._ctx&&this._ctx.rect(t,e,n,i),this.addData(Lv.R,t,e,n,i),this},closePath:function(){this.addData(Lv.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&(this._needsDash()&&this._dashedLineTo(e,n),t.closePath()),this._xi=e,this._yi=n,this},fill:function(t){t&&t.fill(),this.toStatic()},stroke:function(t){t&&t.stroke(),this.toStatic()},setLineDash:function(t){if(t instanceof Array){this._lineDash=t,this._dashIdx=0;for(var e=0,n=0;nn;n++)this.data[n]=t[n];this._len=e},appendPath:function(t){t instanceof Array||(t=[t]);for(var e=t.length,n=0,i=this._len,r=0;e>r;r++)n+=t[r].len();Wv&&this.data instanceof Float32Array&&(this.data=new Float32Array(i+n));for(var r=0;e>r;r++)for(var a=t[r].data,o=0;oe.length&&(this._expandData(),e=this.data);for(var n=0;na&&(a=r+a),a%=r,f-=a*h,p-=a*c;h>0&&t>=f||0>h&&f>=t||0===h&&(c>0&&e>=p||0>c&&p>=e);)i=this._dashIdx,n=o[i],f+=h*n,p+=c*n,this._dashIdx=(i+1)%g,h>0&&l>f||0>h&&f>l||c>0&&u>p||0>c&&p>u||s[i%2?"moveTo":"lineTo"](h>=0?Rv(f,t):Nv(f,t),c>=0?Rv(p,e):Nv(p,e));h=f-t,c=p-e,this._dashOffset=-Hv(h*h+c*c)},_dashedBezierTo:function(t,e,n,i,r,a){var o,s,l,u,h,c=this._dashSum,d=this._dashOffset,f=this._lineDash,p=this._ctx,g=this._xi,v=this._yi,m=xr,y=0,_=this._dashIdx,x=f.length,w=0;for(0>d&&(d=c+d),d%=c,o=0;1>o;o+=.1)s=m(g,t,n,r,o+.1)-m(g,t,n,r,o),l=m(v,e,i,a,o+.1)-m(v,e,i,a,o),y+=Hv(s*s+l*l);for(;x>_&&(w+=f[_],!(w>d));_++);for(o=(w-d)/y;1>=o;)u=m(g,t,n,r,o),h=m(v,e,i,a,o),_%2?p.moveTo(u,h):p.lineTo(u,h),o+=f[_]/y,_=(_+1)%x;_%2!==0&&p.lineTo(r,a),s=r-u,l=a-h,this._dashOffset=-Hv(s*s+l*l)},_dashedQuadraticTo:function(t,e,n,i){var r=n,a=i;n=(n+2*t)/3,i=(i+2*e)/3,t=(this._xi+2*t)/3,e=(this._yi+2*e)/3,this._dashedBezierTo(t,e,n,i,r,a)},toStatic:function(){var t=this.data;t instanceof Array&&(t.length=this._len,Wv&&(this.data=new Float32Array(t)))},getBoundingRect:function(){Ov[0]=Ov[1]=Ev[0]=Ev[1]=Number.MAX_VALUE,Bv[0]=Bv[1]=zv[0]=zv[1]=-Number.MAX_VALUE;for(var t=this.data,e=0,n=0,i=0,r=0,a=0;ac;){var d=s[c++];switch(1===c&&(i=s[c],r=s[c+1],e=i,n=r),d){case Lv.M:e=i=s[c++],n=r=s[c++],t.moveTo(i,r);break;case Lv.L:a=s[c++],o=s[c++],(Gv(a-i)>l||Gv(o-r)>u||c===h-1)&&(t.lineTo(a,o),i=a,r=o);break;case Lv.C:t.bezierCurveTo(s[c++],s[c++],s[c++],s[c++],s[c++],s[c++]),i=s[c-2],r=s[c-1];break;case Lv.Q:t.quadraticCurveTo(s[c++],s[c++],s[c++],s[c++]),i=s[c-2],r=s[c-1];break;case Lv.A:var f=s[c++],p=s[c++],g=s[c++],v=s[c++],m=s[c++],y=s[c++],_=s[c++],x=s[c++],w=g>v?g:v,b=g>v?1:g/v,S=g>v?v/g:1,M=Math.abs(g-v)>.001,I=m+y;M?(t.translate(f,p),t.rotate(_),t.scale(b,S),t.arc(0,0,w,m,I,1-x),t.scale(1/b,1/S),t.rotate(-_),t.translate(-f,-p)):t.arc(f,p,w,m,I,1-x),1===c&&(e=Fv(m)*g+f,n=Vv(m)*v+p),i=Fv(I)*g+f,r=Vv(I)*v+p;break;case Lv.R:e=i=s[c],n=r=s[c+1],t.rect(s[c++],s[c++],s[c++],s[c++]);break;case Lv.Z:t.closePath(),i=e,r=n}}}},Xv.CMD=Lv;var Yv=2*Math.PI,Uv=2*Math.PI,qv=Xv.CMD,jv=2*Math.PI,Zv=1e-4,Kv=[-1,-1,-1],$v=[-1,-1],Qv=fg.prototype.getCanvasPattern,Jv=Math.abs,tm=new Xv(!0);$r.prototype={constructor:$r,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(t,e){var n=this.style,i=this.path||tm,r=n.hasStroke(),a=n.hasFill(),o=n.fill,s=n.stroke,l=a&&!!o.colorStops,u=r&&!!s.colorStops,h=a&&!!o.image,c=r&&!!s.image;if(n.bind(t,this,e),this.setTransform(t),this.__dirty){var d;l&&(d=d||this.getBoundingRect(),this._fillGradient=n.getGradient(t,o,d)),u&&(d=d||this.getBoundingRect(),this._strokeGradient=n.getGradient(t,s,d))}l?t.fillStyle=this._fillGradient:h&&(t.fillStyle=Qv.call(o,t)),u?t.strokeStyle=this._strokeGradient:c&&(t.strokeStyle=Qv.call(s,t));var f=n.lineDash,p=n.lineDashOffset,g=!!t.setLineDash,v=this.getGlobalScale();if(i.setScale(v[0],v[1],this.segmentIgnoreThreshold),this.__dirtyPath||f&&!g&&r?(i.beginPath(t),f&&!g&&(i.setLineDash(f),i.setLineDashOffset(p)),this.buildPath(i,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(t.beginPath(),this.path.rebuildPath(t)),a)if(null!=n.fillOpacity){var m=t.globalAlpha;t.globalAlpha=n.fillOpacity*n.opacity,i.fill(t),t.globalAlpha=m}else i.fill(t);if(f&&g&&(t.setLineDash(f),t.lineDashOffset=p),r)if(null!=n.strokeOpacity){var m=t.globalAlpha;t.globalAlpha=n.strokeOpacity*n.opacity,i.stroke(t),t.globalAlpha=m}else i.stroke(t);f&&g&&t.setLineDash([]),null!=n.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))},buildPath:function(){},createPathProxy:function(){this.path=new Xv},getBoundingRect:function(){var t=this._rect,e=this.style,n=!t;if(n){var i=this.path;i||(i=this.path=new Xv),this.__dirtyPath&&(i.beginPath(),this.buildPath(i,this.shape,!1)),t=i.getBoundingRect()}if(this._rect=t,e.hasStroke()){var r=this._rectWithStroke||(this._rectWithStroke=t.clone());if(this.__dirty||n){r.copy(t);var a=e.lineWidth,o=e.strokeNoScale?this.getLineScale():1;e.hasFill()||(a=Math.max(a,this.strokeContainThreshold||4)),o>1e-10&&(r.width+=a/o,r.height+=a/o,r.x-=a/o/2,r.y-=a/o/2)}return r}return t},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 a=this.path.data;if(r.hasStroke()){var o=r.lineWidth,s=r.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(r.hasFill()||(o=Math.max(o,this.strokeContainThreshold)),Kr(a,o/s,t,e)))return!0}if(r.hasFill())return Zr(a,t,e)}return!1},dirty:function(t){null==t&&(t=!0),t&&(this.__dirtyPath=t,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(t){return this.animate("shape",t)},attrKV:function(t,e){"shape"===t?(this.setShape(e),this.__dirtyPath=!0,this._rect=null):Si.prototype.attrKV.call(this,t,e)},setShape:function(t,e){var n=this.shape;if(n){if(S(t))for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);else n[t]=e;this.dirty(!0)}return this},getLineScale:function(){var t=this.transform;return t&&Jv(t[0]-1)>1e-10&&Jv(t[3]-1)>1e-10?Math.sqrt(Jv(t[0]*t[3]-t[2]*t[1])):1}},$r.extend=function(t){var e=function(e){$r.call(this,e),t.style&&this.style.extendFrom(t.style,!1);var n=t.shape;if(n){this.shape=this.shape||{};var i=this.shape;for(var r in n)!i.hasOwnProperty(r)&&n.hasOwnProperty(r)&&(i[r]=n[r])}t.init&&t.init.call(this,e)};h(e,$r);for(var n in t)"style"!==n&&"shape"!==n&&(e.prototype[n]=t[n]);return e},h($r,Si);var em=Xv.CMD,nm=[[],[],[]],im=Math.sqrt,rm=Math.atan2,am=function(t,e){var n,i,r,a,o,s,l=t.data,u=em.M,h=em.C,c=em.L,d=em.R,f=em.A,p=em.Q;for(r=0,a=0;ro;o++){var s=nm[o];s[0]=l[r++],s[1]=l[r++],ae(s,s,e),l[a++]=s[0],l[a++]=s[1]}}},om=Math.sqrt,sm=Math.sin,lm=Math.cos,um=Math.PI,hm=function(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])},cm=function(t,e){return(t[0]*e[0]+t[1]*e[1])/(hm(t)*hm(e))},dm=function(t,e){return(t[0]*e[1]=11?function(){var e,n=this.__clipPaths,i=this.style;if(n)for(var r=0;ra;a++)r+=ee(t[a-1],t[a]);var o=r/2;o=n>o?n:o;for(var a=0;o>a;a++){var s,l,u,h=a/(o-1)*(e?n:n-1),c=Math.floor(h),d=h-c,f=t[c%n];e?(s=t[(c-1+n)%n],l=t[(c+1)%n],u=t[(c+2)%n]):(s=t[0===c?c:c-1],l=t[c>n-2?n-1:c+1],u=t[c>n-3?n-1:c+2]);var p=d*d,g=d*p;i.push([ra(s[0],f[0],l[0],u[0],d,p,g),ra(s[1],f[1],l[1],u[1],d,p,g)])}return i},bm=function(t,e,n,i){var r,a,o,s,l=[],u=[],h=[],c=[];if(i){o=[1/0,1/0],s=[-1/0,-1/0];for(var d=0,f=t.length;f>d;d++)oe(o,o,t[d]),se(s,s,t[d]);oe(o,o,i[0]),se(s,s,i[1])}for(var d=0,f=t.length;f>d;d++){var p=t[d];if(n)r=t[d?d-1:f-1],a=t[(d+1)%f];else{if(0===d||d===f-1){l.push(W(t[d]));continue}r=t[d-1],a=t[d+1]}q(u,a,r),J(u,u,e);var g=ee(p,r),v=ee(p,a),m=g+v;0!==m&&(g/=m,v/=m),J(h,u,-g),J(c,u,v);var y=Y([],p,h),_=Y([],p,c);i&&(se(y,y,o),oe(y,y,s),se(_,_,o),oe(_,_,s)),l.push(y),l.push(_)}return n&&l.push(l.shift()),l},Sm=$r.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(t,e){aa(t,e,!0)}}),Mm=$r.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(t,e){aa(t,e,!1)}}),Im=Math.round,Tm={},Cm=$r.extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(t,e){var n,i,r,a;this.subPixelOptimize?(sa(Tm,e,this.style),n=Tm.x,i=Tm.y,r=Tm.width,a=Tm.height,Tm.r=e.r,e=Tm):(n=e.x,i=e.y,r=e.width,a=e.height),e.r?ri(t,e):t.rect(n,i,r,a),t.closePath()}}),Dm={},Am=$r.extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(t,e){var n,i,r,a;this.subPixelOptimize?(oa(Dm,e,this.style),n=Dm.x1,i=Dm.y1,r=Dm.x2,a=Dm.y2):(n=e.x1,i=e.y1,r=e.x2,a=e.y2);var o=e.percent;0!==o&&(t.moveTo(n,i),1>o&&(r=n*(1-o)+r*o,a=i*(1-o)+a*o),t.lineTo(r,a))},pointAt:function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]}}),km=[],Pm=$r.extend({type:"bezier-curve",shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(t,e){var n=e.x1,i=e.y1,r=e.x2,a=e.y2,o=e.cpx1,s=e.cpy1,l=e.cpx2,u=e.cpy2,h=e.percent;0!==h&&(t.moveTo(n,i),null==l||null==u?(1>h&&(kr(n,o,r,h,km),o=km[1],r=km[2],kr(i,s,a,h,km),s=km[1],a=km[2]),t.quadraticCurveTo(o,s,r,a)):(1>h&&(Mr(n,o,l,r,h,km),o=km[1],l=km[2],r=km[3],Mr(i,s,u,a,h,km),s=km[1],u=km[2],a=km[3]),t.bezierCurveTo(o,s,l,u,r,a)))},pointAt:function(t){return ua(this.shape,t,!1)},tangentAt:function(t){var e=ua(this.shape,t,!0);return te(e,e)}}),Lm=$r.extend({type:"arc",shape:{cx:0,cy:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},style:{stroke:"#000",fill:null},buildPath:function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r,0),a=e.startAngle,o=e.endAngle,s=e.clockwise,l=Math.cos(a),u=Math.sin(a);t.moveTo(l*r+n,u*r+i),t.arc(n,i,r,a,o,!s)}}),Om=$r.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var t=this.__dirtyPath,e=this.shape.paths,n=0;n"'])/g,dy={"&":"&","<":"<",">":">",'"':""","'":"'"},fy=["a","b","c","d","e","f","g"],py=function(t,e){return"{"+t+(null==e?"":e)+"}"},gy=jn,vy=(Object.freeze||Object)({addCommas:Bo,toCamelCase:Eo,normalizeCssArray:hy,encodeHTML:zo,formatTpl:Ro,formatTplSimple:No,getTooltipMarker:Fo,formatTime:Ho,capitalFirst:Go,truncateText:gy,getTextBoundingRect:Wo,getTextRect:Xo}),my=f,yy=["left","right","top","bottom","width","height"],_y=[["width","left","right"],["height","top","bottom"]],xy=Yo,wy=(_(Yo,"vertical"),_(Yo,"horizontal"),{getBoxLayoutParams:function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}}}),by=ar(),Sy=uo.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(t,e,n,i){uo.call(this,t,e,n,i),this.uid=fo("ec_cpt_model")},init:function(t,e,n){this.mergeDefaultAndTheme(t,n)},mergeDefaultAndTheme:function(t,e){var n=this.layoutMode,i=n?jo(t):{},a=e.getTheme();r(t,a.get(this.mainType)),r(t,this.getDefaultOption()),n&&qo(t,i,n)},mergeOption:function(t){r(this.option,t,!0);var e=this.layoutMode;e&&qo(this.option,t,e)},optionUpdated:function(){},getDefaultOption:function(){var t=by(this);if(!t.defaultOption){for(var e=[],n=this.constructor;n;){var i=n.prototype.defaultOption;i&&e.push(i),n=n.superClass}for(var a={},o=e.length-1;o>=0;o--)a=r(a,e[o],!0);t.defaultOption=a}return t.defaultOption},getReferringComponents:function(t){return this.ecModel.queryComponents({mainType:t,index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)})}});mr(Sy,{registerWhenExtend:!0}),po(Sy),go(Sy,Ko),c(Sy,wy);var My="";"undefined"!=typeof navigator&&(My=navigator.platform||"");var Iy={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:My.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,animation:"auto",animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1},Ty=ar(),Cy={clearColorPalette:function(){Ty(this).colorIdx=0,Ty(this).colorNameMap={}
+},getColorFromPalette:function(t,e,n){e=e||this;var i=Ty(e),r=i.colorIdx||0,a=i.colorNameMap=i.colorNameMap||{};if(a.hasOwnProperty(t))return a[t];var o=Ki(this.get("color",!0)),s=this.get("colorLayer",!0),l=null!=n&&s?$o(s,n):o;if(l=l||o,l&&l.length){var u=l[r];return t&&(a[t]=u),i.colorIdx=(r+1)%l.length,u}}},Dy="original",Ay="arrayRows",ky="objectRows",Py="keyedColumns",Ly="unknown",Oy="typedArray",By="column",Ey="row";Qo.seriesDataToSource=function(t){return new Qo({data:t,sourceFormat:I(t)?Oy:Dy,fromDataset:!1})},pr(Qo);var zy={Must:1,Might:2,Not:3},Ry=ar(),Ny="\x00_ec_inner",Fy=uo.extend({init:function(t,e,n,i){n=n||{},this.option=null,this._theme=new uo(n),this._optionManager=i},setOption:function(t,e){O(!(Ny in t),"please use chart.getOption()"),this._optionManager.setOption(t,e),this.resetOption(null)},resetOption:function(t){var e=!1,n=this._optionManager;if(!t||"recreate"===t){var i=n.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this.mergeOption(i)):ps.call(this,i),e=!0}if(("timeline"===t||"media"===t)&&this.restoreData(),!t||"recreate"===t||"timeline"===t){var r=n.getTimelineOption(this);r&&(this.mergeOption(r),e=!0)}if(!t||"recreate"===t||"media"===t){var a=n.getMediaOption(this,this._api);a.length&&f(a,function(t){this.mergeOption(t,e=!0)},this)}return e},mergeOption:function(t){function e(e,i){var r=Ki(t[e]),s=tr(a.get(e),r);er(s),f(s,function(t){var n=t.option;S(n)&&(t.keyInfo.mainType=e,t.keyInfo.subType=vs(e,n,t.exist))});var l=gs(a,i);n[e]=[],a.set(e,[]),f(s,function(t,i){var r=t.exist,s=t.option;if(O(S(s)||r,"Empty component definition"),s){var u=Sy.getClass(e,t.keyInfo.subType,!0);if(r&&r.constructor===u)r.name=t.keyInfo.name,r.mergeOption(s,this),r.optionUpdated(s,!1);else{var h=o({dependentModels:l,componentIndex:i},t.keyInfo);r=new u(s,this,this,h),o(r,h),r.init(s,this,this,h),r.optionUpdated(null,!0)}}else r.mergeOption({},this),r.optionUpdated({},!1);a.get(e)[i]=r,n[e][i]=r.option},this),"series"===e&&ms(this,a.get("series"))}var n=this.option,a=this._componentsMap,s=[];es(this),f(t,function(t,e){null!=t&&(Sy.hasClass(e)?e&&s.push(e):n[e]=null==n[e]?i(t):r(n[e],t,!0))}),Sy.topologicalTravel(s,Sy.getAllClassMainTypes(),e,this),this._seriesIndicesMap=N(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var t=i(this.option);return f(t,function(e,n){if(Sy.hasClass(n)){for(var e=Ki(e),i=e.length-1;i>=0;i--)ir(e[i])&&e.splice(i,1);t[n]=e}}),delete t[Ny],t},getTheme:function(){return this._theme},getComponent:function(t,e){var n=this._componentsMap.get(t);return n?n[e||0]:void 0},queryComponents:function(t){var e=t.mainType;if(!e)return[];var n=t.index,i=t.id,r=t.name,a=this._componentsMap.get(e);if(!a||!a.length)return[];var o;if(null!=n)x(n)||(n=[n]),o=v(p(n,function(t){return a[t]}),function(t){return!!t});else if(null!=i){var s=x(i);o=v(a,function(t){return s&&u(i,t.id)>=0||!s&&t.id===i})}else if(null!=r){var l=x(r);o=v(a,function(t){return l&&u(r,t.name)>=0||!l&&t.name===r})}else o=a.slice();return ys(o,t)},findComponents:function(t){function e(t){var e=r+"Index",n=r+"Id",i=r+"Name";return!t||null==t[e]&&null==t[n]&&null==t[i]?null:{mainType:r,index:t[e],id:t[n],name:t[i]}}function n(e){return t.filter?v(e,t.filter):e}var i=t.query,r=t.mainType,a=e(i),o=a?this.queryComponents(a):this._componentsMap.get(r);return n(ys(o,t))},eachComponent:function(t,e,n){var i=this._componentsMap;if("function"==typeof t)n=e,e=t,i.each(function(t,i){f(t,function(t,r){e.call(n,i,t,r)})});else if(b(t))f(i.get(t),e,n);else if(S(t)){var r=this.findComponents(t);f(r,e,n)}},getSeriesByName:function(t){var e=this._componentsMap.get("series");return v(e,function(e){return e.name===t})},getSeriesByIndex:function(t){return this._componentsMap.get("series")[t]},getSeriesByType:function(t){var e=this._componentsMap.get("series");return v(e,function(e){return e.subType===t})},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(t,e){f(this._seriesIndices,function(n){var i=this._componentsMap.get("series")[n];t.call(e,i,n)},this)},eachRawSeries:function(t,e){f(this._componentsMap.get("series"),t,e)},eachSeriesByType:function(t,e,n){f(this._seriesIndices,function(i){var r=this._componentsMap.get("series")[i];r.subType===t&&e.call(n,r,i)},this)},eachRawSeriesByType:function(t,e,n){return f(this.getSeriesByType(t),e,n)},isSeriesFiltered:function(t){return null==this._seriesIndicesMap.get(t.componentIndex)},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(t,e){var n=v(this._componentsMap.get("series"),t,e);ms(this,n)},restoreData:function(t){var e=this._componentsMap;ms(this,e.get("series"));var n=[];e.each(function(t,e){n.push(e)}),Sy.topologicalTravel(n,Sy.getAllClassMainTypes(),function(n){f(e.get(n),function(e){("series"!==n||!ds(e,t))&&e.restoreData()})})}});c(Fy,Cy);var Vy=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"],Hy={};xs.prototype={constructor:xs,create:function(t,e){var n=[];f(Hy,function(i){var r=i.create(t,e);n=n.concat(r||[])}),this._coordinateSystems=n},update:function(t,e){f(this._coordinateSystems,function(n){n.update&&n.update(t,e)})},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},xs.register=function(t,e){Hy[t]=e},xs.get=function(t){return Hy[t]};var Gy=f,Wy=i,Xy=p,Yy=r,Uy=/^(min|max)?(.+)$/;ws.prototype={constructor:ws,setOption:function(t,e){t&&f(Ki(t.series),function(t){t&&t.data&&I(t.data)&&E(t.data)}),t=Wy(t);var n=this._optionBackup,i=bs.call(this,t,e,!n);this._newBaseOption=i.baseOption,n?(Ts(n.baseOption,i.baseOption),i.timelineOptions.length&&(n.timelineOptions=i.timelineOptions),i.mediaList.length&&(n.mediaList=i.mediaList),i.mediaDefault&&(n.mediaDefault=i.mediaDefault)):this._optionBackup=i},mountOption:function(t){var e=this._optionBackup;return this._timelineOptions=Xy(e.timelineOptions,Wy),this._mediaList=Xy(e.mediaList,Wy),this._mediaDefault=Wy(e.mediaDefault),this._currentMediaIndices=[],Wy(t?e.baseOption:this._newBaseOption)},getTimelineOption:function(t){var e,n=this._timelineOptions;if(n.length){var i=t.getComponent("timeline");i&&(e=Wy(n[i.getCurrentIndex()],!0))}return e},getMediaOption:function(){var t=this._api.getWidth(),e=this._api.getHeight(),n=this._mediaList,i=this._mediaDefault,r=[],a=[];if(!n.length&&!i)return a;for(var o=0,s=n.length;s>o;o++)Ss(n[o].query,t,e)&&r.push(o);return!r.length&&i&&(r=[-1]),r.length&&!Is(r,this._currentMediaIndices)&&(a=Xy(r,function(t){return Wy(-1===t?i.option:n[t].option)})),this._currentMediaIndices=r,a}};var qy=f,jy=S,Zy=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"],Ky=function(t,e){qy(Os(t.series),function(t){jy(t)&&Ls(t)});var n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];e&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),qy(n,function(e){qy(Os(t[e]),function(t){t&&(ks(t,"axisLabel"),ks(t.axisPointer,"label"))})}),qy(Os(t.parallel),function(t){var e=t&&t.parallelAxisDefault;ks(e,"axisLabel"),ks(e&&e.axisPointer,"label")}),qy(Os(t.calendar),function(t){Ds(t,"itemStyle"),ks(t,"dayLabel"),ks(t,"monthLabel"),ks(t,"yearLabel")}),qy(Os(t.radar),function(t){ks(t,"name")}),qy(Os(t.geo),function(t){jy(t)&&(Ps(t),qy(Os(t.regions),function(t){Ps(t)}))}),qy(Os(t.timeline),function(t){Ps(t),Ds(t,"label"),Ds(t,"itemStyle"),Ds(t,"controlStyle",!0);var e=t.data;x(e)&&f(e,function(t){S(t)&&(Ds(t,"label"),Ds(t,"itemStyle"))})}),qy(Os(t.toolbox),function(t){Ds(t,"iconStyle"),qy(t.feature,function(t){Ds(t,"iconStyle")})}),ks(Bs(t.axisPointer),"label"),ks(Bs(t.tooltip).axisPointer,"label")},$y=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],Qy=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],Jy=function(t,e){Ky(t,e),t.series=Ki(t.series),f(t.series,function(t){if(S(t)){var e=t.type;if("line"===e)null!=t.clipOverflow&&(t.clip=t.clipOverflow);else if("pie"===e||"gauge"===e)null!=t.clockWise&&(t.clockwise=t.clockWise);else if("gauge"===e){var n=Es(t,"pointer.color");null!=n&&zs(t,"itemStyle.color",n)}Rs(t)}}),t.dataRange&&(t.visualMap=t.dataRange),f(Qy,function(e){var n=t[e];n&&(x(n)||(n=[n]),f(n,function(t){Rs(t)}))})},t_=function(t){var e=N();t.eachSeries(function(t){var n=t.get("stack");if(n){var i=e.get(n)||e.set(n,[]),r=t.getData(),a={stackResultDimension:r.getCalculationInfo("stackResultDimension"),stackedOverDimension:r.getCalculationInfo("stackedOverDimension"),stackedDimension:r.getCalculationInfo("stackedDimension"),stackedByDimension:r.getCalculationInfo("stackedByDimension"),isStackedByIndex:r.getCalculationInfo("isStackedByIndex"),data:r,seriesModel:t};if(!a.stackedDimension||!a.isStackedByIndex&&!a.stackedByDimension)return;i.length&&r.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(a)}}),e.each(Ns)},e_=Fs.prototype;e_.pure=!1,e_.persistent=!0,e_.getSource=function(){return this._source};var n_={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(t){return this._data[t+this._source.startIndex]},appendData:Gs},arrayRows_row:{pure:!0,count:function(){var t=this._data[0];return t?Math.max(0,t.length-this._source.startIndex):0},getItem:function(t){t+=this._source.startIndex;for(var e=[],n=this._data,i=0;i=1)&&(t=1),t}var n=this._upstream,i=t&&t.skip;if(this._dirty&&n){var r=this.context;r.data=r.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var a;this._plan&&!i&&(a=this._plan(this.context));var o=e(this._modBy),s=this._modDataCount||0,l=e(t&&t.modBy),u=t&&t.modDataCount||0;(o!==l||s!==u)&&(a="reset");var h;(this._dirty||"reset"===a)&&(this._dirty=!1,h=$s(this,i)),this._modBy=l,this._modDataCount=u;var c=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var d=this._dueIndex,f=Math.min(null!=c?this._dueIndex+c:1/0,this._dueEnd);if(!i&&(h||f>d)){var p=this._progress;if(x(p))for(var g=0;gi?i++:null}function e(){var t=i%o*r+Math.ceil(i/o),e=i>=n?null:a>t?t:i;return i++,e}var n,i,r,a,o,s={reset:function(l,u,h,c){i=l,n=u,r=h,a=c,o=Math.ceil(a/r),s.next=r>1&&a>0?e:t}};return s}();s_.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},s_.unfinished=function(){return this._progress&&this._dueIndex":"",v=p+s.join(p||", ");return{renderMode:i,content:v,style:u}}function a(t){return{renderMode:i,content:zo(Bo(t)),style:u}}var o=this;i=i||"html";var s="html"===i?"
":"\n",l="richText"===i,u={},h=0,c=this.getData(),d=c.mapDimension("defaultedTooltip",!0),p=d.length,v=this.getRawValue(t),m=x(v),y=c.getItemVisual(t,"color");S(y)&&y.colorStops&&(y=(y.colorStops[0]||{}).color),y=y||"transparent";var _=p>1||m&&!p?r(v):a(p?Us(c,t,d[0]):m?v[0]:v),w=_.content,b=o.seriesIndex+"at"+h,M=Fo({color:y,type:"item",renderMode:i,markerId:b});u[b]=y,++h;var I=c.getName(t),T=this.name;nr(this)||(T=""),T=T?zo(T)+(e?": ":s):"";var C="string"==typeof M?M:M.content,D=e?C+T+w:T+C+(I?zo(I)+": "+w:w);return{html:D,markers:u}},isAnimationEnabled:function(){if(Hf.node)return!1;var t=this.getShallow("animation");return t&&this.getData().count()>this.getShallow("animationThreshold")&&(t=!1),t},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(t,e,n){var i=this.ecModel,r=Cy.getColorFromPalette.call(this,t,e,n);return r||(r=i.getColorFromPalette(t,e,n)),r},coordDimToDataDim:function(t){return this.getRawData().mapDimension(t,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});c(h_,o_),c(h_,Cy);var c_=function(){this.group=new tg,this.uid=fo("viewComponent")};c_.prototype={constructor:c_,init:function(){},render:function(){},dispose:function(){},filterForExposedEvent:null};var d_=c_.prototype;d_.updateView=d_.updateLayout=d_.updateVisual=function(){},fr(c_),mr(c_,{registerWhenExtend:!0});var f_=function(){var t=ar();return function(e){var n=t(e),i=e.pipelineContext,r=n.large,a=n.progressiveRender,o=n.large=i.large,s=n.progressiveRender=i.progressiveRender;return!!(r^o||a^s)&&"reset"}},p_=ar(),g_=f_();ol.prototype={type:"chart",init:function(){},render:function(){},highlight:function(t,e,n,i){ll(t.getData(),i,"emphasis")},downplay:function(t,e,n,i){ll(t.getData(),i,"normal")},remove:function(){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};var v_=ol.prototype;v_.updateView=v_.updateLayout=v_.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},fr(ol,["dispose"]),mr(ol,{registerWhenExtend:!0}),ol.markUpdateMethod=function(t,e){p_(t).updateMethod=e};var m_={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}},y_="\x00__throttleOriginMethod",__="\x00__throttleRate",x_="\x00__throttleType",w_={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),i=(t.visualColorAccessPath||"itemStyle.color").split("."),r=t.get(i),a=!w(r)||r instanceof Bm?null:r;(!r||a)&&(r=t.getColorFromPalette(t.name,null,e.getSeriesCount())),n.setVisual("color",r);var o=(t.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),s=t.get(o);if(n.setVisual("borderColor",s),!e.isSeriesFiltered(t)){a&&n.each(function(e){n.setItemVisual(e,"color",a(t.getDataParams(e)))});var l=function(t,e){var n=t.getItemModel(e),r=n.get(i,!0),a=n.get(o,!0);null!=r&&t.setItemVisual(e,"color",r),null!=a&&t.setItemVisual(e,"borderColor",a)};return{dataEach:n.hasItemOption?l:null}}}},b_={legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}},S_=function(t,e){function n(t,e){if("string"!=typeof t)return t;var n=t;return f(e,function(t,e){n=n.replace(new RegExp("\\{\\s*"+e+"\\s*\\}","g"),t)}),n}function i(t){var e=o.get(t);if(null==e){for(var n=t.split("."),i=b_.aria,r=0;rs)){var d=r();l=d?n(i("general.withTitle"),{title:d}):i("general.withoutTitle");var p=[],g=s>1?"series.multiple.prefix":"series.single.prefix";l+=n(i(g),{seriesCount:s}),e.eachSeries(function(t,e){if(c>e){var r,o=t.get("name"),l="series."+(s>1?"multiple":"single")+".";r=i(o?l+"withName":l+"withoutName"),r=n(r,{seriesId:t.seriesIndex,seriesName:t.get("name"),seriesType:a(t.subType)});var h=t.getData();window.data=h,r+=h.count()>u?n(i("data.partialData"),{displayCnt:u}):i("data.allData");for(var d=[],f=0;ff){var g=h.getName(f),v=Us(h,f);d.push(n(i(g?"data.withName":"data.withoutName"),{name:g,value:v}))}r+=d.join(i("data.separator.middle"))+i("data.separator.end"),p.push(r)}}),l+=p.join(i("series.multiple.separator.middle"))+i("series.multiple.separator.end"),t.setAttribute("aria-label",l)}}},M_=Math.PI,I_=function(t,e){e=e||{},s(e,{text:"loading",color:"#c23531",textColor:"#000",maskColor:"rgba(255, 255, 255, 0.8)",zlevel:0});var n=new Cm({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4}),i=new Lm({shape:{startAngle:-M_/2,endAngle:-M_/2+.1,r:10},style:{stroke:e.color,lineCap:"round",lineWidth:5},zlevel:e.zlevel,z:10001}),r=new Cm({style:{fill:"none",text:e.text,textPosition:"right",textDistance:10,textFill:e.textColor},zlevel:e.zlevel,z:10001});i.animateShape(!0).when(1e3,{endAngle:3*M_/2}).start("circularInOut"),i.animateShape(!0).when(1e3,{startAngle:3*M_/2}).delay(300).start("circularInOut");var a=new tg;return a.add(i),a.add(r),a.add(n),a.resize=function(){var e=t.getWidth()/2,a=t.getHeight()/2;i.setShape({cx:e,cy:a});var o=i.shape.r;r.setShape({x:e-o,y:a-o,width:2*o,height:2*o}),n.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},a.resize(),a},T_=fl.prototype;T_.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each(function(t){var e=t.overallTask;e&&e.dirty()})},T_.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,r=!e&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex,a=r?n.step:null,o=i&&i.modDataCount,s=null!=o?Math.ceil(o/a):null;return{step:a,modBy:s,modDataCount:o}}},T_.getPipeline=function(t){return this._pipelineMap.get(t)},T_.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData(),r=i.count(),a=n.progressiveEnabled&&e.incrementalPrepareRender&&r>=n.threshold,o=t.get("large")&&r>=t.get("largeThreshold"),s="mod"===t.get("progressiveChunkMode")?r:null;t.pipelineContext=n.context={progressiveRender:a,modDataCount:s,large:o}},T_.restorePipelines=function(t){var e=this,n=e._pipelineMap=N();t.eachSeries(function(t){var i=t.getProgressive(),r=t.uid;n.set(r,{id:r,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),Il(e,t,t.dataTask)})},T_.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.ecInstance.getModel(),n=this.api;f(this._allHandlers,function(i){var r=t.get(i.uid)||t.set(i.uid,[]);i.reset&&gl(this,i,r,e,n),i.overallReset&&vl(this,i,r,e,n)},this)},T_.prepareView=function(t,e,n,i){var r=t.renderTask,a=r.context;a.model=e,a.ecModel=n,a.api=i,r.__block=!t.incrementalPrepareRender,Il(this,e,r)},T_.performDataProcessorTasks=function(t,e){pl(this,this._dataProcessorHandlers,t,e,{block:!0})},T_.performVisualTasks=function(t,e,n){pl(this,this._visualHandlers,t,e,n)},T_.performSeriesTasks=function(t){var e;t.eachSeries(function(t){e|=t.dataTask.perform()}),this.unfinished|=e},T_.plan=function(){this._pipelineMap.each(function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)})};var C_=T_.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},D_=Sl(0);fl.wrapStageHandler=function(t,e){return w(t)&&(t={overallReset:t,seriesType:Tl(t)}),t.uid=fo("stageHandler"),e&&(t.visualType=e),t};var A_,k_={},P_={};Cl(k_,Fy),Cl(P_,_s),k_.eachSeriesByType=k_.eachRawSeriesByType=function(t){A_=t},k_.eachComponent=function(t){"series"===t.mainType&&t.subType&&(A_=t.subType)};var L_=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],O_={color:L_,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],L_]},B_="#eee",E_=function(){return{axisLine:{lineStyle:{color:B_}},axisTick:{lineStyle:{color:B_}},axisLabel:{textStyle:{color:B_}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:B_}}}},z_=["#dd6b66","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78","#73a373","#73b9bc","#7289ab","#91ca8c","#f49f42"],R_={color:z_,backgroundColor:"#333",tooltip:{axisPointer:{lineStyle:{color:B_},crossStyle:{color:B_},label:{color:"#000"}}},legend:{textStyle:{color:B_}},textStyle:{color:B_},title:{textStyle:{color:B_}},toolbox:{iconStyle:{normal:{borderColor:B_}}},dataZoom:{textStyle:{color:B_}},visualMap:{textStyle:{color:B_}},timeline:{lineStyle:{color:B_},itemStyle:{normal:{color:z_[1]}},label:{normal:{textStyle:{color:B_}}},controlStyle:{normal:{color:B_,borderColor:B_}}},timeAxis:E_(),logAxis:E_(),valueAxis:E_(),categoryAxis:E_(),line:{symbol:"circle"},graph:{color:z_},gauge:{title:{textStyle:{color:B_}}},candlestick:{itemStyle:{normal:{color:"#FD1050",color0:"#0CF49B",borderColor:"#FD1050",borderColor0:"#0CF49B"}}}};R_.categoryAxis.splitLine.show=!1,Sy.extend({type:"dataset",defaultOption:{seriesLayoutBy:By,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){Jo(this)}}),c_.extend({type:"dataset"});var N_=$r.extend({type:"ellipse",shape:{cx:0,cy:0,rx:0,ry:0},buildPath:function(t,e){var n=.5522848,i=e.cx,r=e.cy,a=e.rx,o=e.ry,s=a*n,l=o*n;t.moveTo(i-a,r),t.bezierCurveTo(i-a,r-l,i-s,r-o,i,r-o),t.bezierCurveTo(i+s,r-o,i+a,r-l,i+a,r),t.bezierCurveTo(i+a,r+l,i+s,r+o,i,r+o),t.bezierCurveTo(i-s,r+o,i-a,r+l,i-a,r),t.closePath()}}),F_=/[\s,]+/;Al.prototype.parse=function(t,e){e=e||{};var n=Dl(t);if(!n)throw new Error("Illegal svg");var i=new tg;this._root=i;var r=n.getAttribute("viewBox")||"",a=parseFloat(n.getAttribute("width")||e.width),o=parseFloat(n.getAttribute("height")||e.height);isNaN(a)&&(a=null),isNaN(o)&&(o=null),Ol(n,i,null,!0);for(var s=n.firstChild;s;)this._parseNode(s,i),s=s.nextSibling;var l,u;if(r){var h=B(r).split(F_);h.length>=4&&(l={x:parseFloat(h[0]||0),y:parseFloat(h[1]||0),width:parseFloat(h[2]),height:parseFloat(h[3])})}if(l&&null!=a&&null!=o&&(u=Rl(l,a,o),!e.ignoreViewBox)){var c=i;i=new tg,i.add(c),c.scale=u.scale.slice(),c.position=u.position.slice()}return e.ignoreRootClip||null==a||null==o||i.setClipPath(new Cm({shape:{x:0,y:0,width:a,height:o}})),{root:i,width:a,height:o,viewBoxRect:l,viewBoxTransform:u}},Al.prototype._parseNode=function(t,e){var n=t.nodeName.toLowerCase();"defs"===n?this._isDefine=!0:"text"===n&&(this._isText=!0);var i;if(this._isDefine){var r=H_[n];if(r){var a=r.call(this,t),o=t.getAttribute("id");o&&(this._defs[o]=a)}}else{var r=V_[n];r&&(i=r.call(this,t,e),e.add(i))}for(var s=t.firstChild;s;)1===s.nodeType&&this._parseNode(s,i),3===s.nodeType&&this._isText&&this._parseText(s,i),s=s.nextSibling;"defs"===n?this._isDefine=!1:"text"===n&&(this._isText=!1)},Al.prototype._parseText=function(t,e){if(1===t.nodeType){var n=t.getAttribute("dx")||0,i=t.getAttribute("dy")||0;this._textX+=parseFloat(n),this._textY+=parseFloat(i)}var r=new gm({style:{text:t.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});Pl(e,r),Ol(t,r,this._defs);var a=r.style.fontSize;a&&9>a&&(r.style.fontSize=9,r.scale=r.scale||[1,1],r.scale[0]*=a/9,r.scale[1]*=a/9);var o=r.getBoundingRect();return this._textX+=o.width,e.add(r),r};var V_={g:function(t,e){var n=new tg;return Pl(e,n),Ol(t,n,this._defs),n},rect:function(t,e){var n=new Cm;return Pl(e,n),Ol(t,n,this._defs),n.setShape({x:parseFloat(t.getAttribute("x")||0),y:parseFloat(t.getAttribute("y")||0),width:parseFloat(t.getAttribute("width")||0),height:parseFloat(t.getAttribute("height")||0)}),n},circle:function(t,e){var n=new vm;return Pl(e,n),Ol(t,n,this._defs),n.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),r:parseFloat(t.getAttribute("r")||0)}),n},line:function(t,e){var n=new Am;return Pl(e,n),Ol(t,n,this._defs),n.setShape({x1:parseFloat(t.getAttribute("x1")||0),y1:parseFloat(t.getAttribute("y1")||0),x2:parseFloat(t.getAttribute("x2")||0),y2:parseFloat(t.getAttribute("y2")||0)}),n},ellipse:function(t,e){var n=new N_;return Pl(e,n),Ol(t,n,this._defs),n.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),rx:parseFloat(t.getAttribute("rx")||0),ry:parseFloat(t.getAttribute("ry")||0)}),n},polygon:function(t,e){var n=t.getAttribute("points");n&&(n=Ll(n));var i=new Sm({shape:{points:n||[]}});return Pl(e,i),Ol(t,i,this._defs),i},polyline:function(t,e){var n=new $r;Pl(e,n),Ol(t,n,this._defs);var i=t.getAttribute("points");i&&(i=Ll(i));var r=new Mm({shape:{points:i||[]}});return r},image:function(t,e){var n=new Mi;return Pl(e,n),Ol(t,n,this._defs),n.setStyle({image:t.getAttribute("xlink:href"),x:t.getAttribute("x"),y:t.getAttribute("y"),width:t.getAttribute("width"),height:t.getAttribute("height")}),n},text:function(t,e){var n=t.getAttribute("x")||0,i=t.getAttribute("y")||0,r=t.getAttribute("dx")||0,a=t.getAttribute("dy")||0;this._textX=parseFloat(n)+parseFloat(r),this._textY=parseFloat(i)+parseFloat(a);var o=new tg;return Pl(e,o),Ol(t,o,this._defs),o},tspan:function(t,e){var n=t.getAttribute("x"),i=t.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=i&&(this._textY=parseFloat(i));var r=t.getAttribute("dx")||0,a=t.getAttribute("dy")||0,o=new tg;return Pl(e,o),Ol(t,o,this._defs),this._textX+=r,this._textY+=a,o},path:function(t,e){var n=t.getAttribute("d")||"",i=ea(n);return Pl(e,i),Ol(t,i,this._defs),i}},H_={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||0,10),n=parseInt(t.getAttribute("y1")||0,10),i=parseInt(t.getAttribute("x2")||10,10),r=parseInt(t.getAttribute("y2")||0,10),a=new Em(e,n,i,r);return kl(t,a),a},radialgradient:function(){}},G_={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-align":"textAlign","alignment-baseline":"textBaseline"},W_=/url\(\s*#(.*?)\)/,X_=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g,Y_=/([^\s:;]+)\s*:\s*([^:;]+)/g,U_=N(),q_={registerMap:function(t,e,n){var i;
+return x(e)?i=e:e.svg?i=[{type:"svg",source:e.svg,specialAreas:e.specialAreas}]:(e.geoJson&&!e.features&&(n=e.specialAreas,e=e.geoJson),i=[{type:"geoJSON",source:e,specialAreas:n}]),f(i,function(t){var e=t.type;"geoJson"===e&&(e=t.type="geoJSON");var n=j_[e];n(t)}),U_.set(t,i)},retrieveMap:function(t){return U_.get(t)}},j_={geoJSON:function(t){var e=t.source;t.geoJSON=b(e)?"undefined"!=typeof JSON&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")():e},svg:function(t){t.svgXML=Dl(t.source)}},Z_=O,K_=f,$_=w,Q_=S,J_=Sy.parseClassType,tx="4.6.0",ex={zrender:"4.2.0"},nx=1,ix=1e3,rx=800,ax=900,ox=5e3,sx=1e3,lx=1100,ux=2e3,hx=3e3,cx=3500,dx=4e3,fx=5e3,px={PROCESSOR:{FILTER:ix,SERIES_FILTER:rx,STATISTIC:ox},VISUAL:{LAYOUT:sx,PROGRESSIVE_LAYOUT:lx,GLOBAL:ux,CHART:hx,POST_CHART_LAYOUT:cx,COMPONENT:dx,BRUSH:fx}},gx="__flagInMainProcess",vx="__optionUpdated",mx=/^[a-zA-Z0-9_]+$/;Fl.prototype.on=Nl("on",!0),Fl.prototype.off=Nl("off",!0),Fl.prototype.one=Nl("one",!0),c(Fl,up);var yx=Vl.prototype;yx._onframe=function(){if(!this._disposed){var t=this._scheduler;if(this[vx]){var e=this[vx].silent;this[gx]=!0,Gl(this),_x.update.call(this),this[gx]=!1,this[vx]=!1,Ul.call(this,e),ql.call(this,e)}else if(t.unfinished){var n=nx,i=this._model,r=this._api;t.unfinished=!1;do{var a=+new Date;t.performSeriesTasks(i),t.performDataProcessorTasks(i),Xl(this,i),t.performVisualTasks(i),Jl(this,this._model,r,"remain"),n-=+new Date-a}while(n>0&&t.unfinished);t.unfinished||this._zr.flush()}}},yx.getDom=function(){return this._dom},yx.getZr=function(){return this._zr},yx.setOption=function(t,e,n){if(!this._disposed){var i;if(Q_(e)&&(n=e.lazyUpdate,i=e.silent,e=e.notMerge),this[gx]=!0,!this._model||e){var r=new ws(this._api),a=this._theme,o=this._model=new Fy;o.scheduler=this._scheduler,o.init(null,null,a,r)}this._model.setOption(t,Ix),n?(this[vx]={silent:i},this[gx]=!1):(Gl(this),_x.update.call(this),this._zr.flush(),this[vx]=!1,this[gx]=!1,Ul.call(this,i),ql.call(this,i))}},yx.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},yx.getModel=function(){return this._model},yx.getOption=function(){return this._model&&this._model.getOption()},yx.getWidth=function(){return this._zr.getWidth()},yx.getHeight=function(){return this._zr.getHeight()},yx.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},yx.getRenderedCanvas=function(t){if(Hf.canvasSupported){t=t||{},t.pixelRatio=t.pixelRatio||1,t.backgroundColor=t.backgroundColor||this._model.get("backgroundColor");var e=this._zr;return e.painter.getRenderedCanvas(t)}},yx.getSvgDataUrl=function(){if(Hf.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return f(e,function(t){t.stopAnimation(!0)}),t.painter.pathToDataUrl()}},yx.getDataURL=function(t){if(!this._disposed){t=t||{};var e=t.excludeComponents,n=this._model,i=[],r=this;K_(e,function(t){n.eachComponent({mainType:t},function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(i.push(e),e.group.ignore=!0)})});var a="svg"===this._zr.painter.getType()?this.getSvgDataUrl():this.getRenderedCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return K_(i,function(t){t.group.ignore=!1}),a}},yx.getConnectedDataURL=function(t){if(!this._disposed&&Hf.canvasSupported){var e=this.group,n=Math.min,r=Math.max,a=1/0;if(Px[e]){var o=a,s=a,l=-a,u=-a,h=[],c=t&&t.pixelRatio||1;f(kx,function(a){if(a.group===e){var c=a.getRenderedCanvas(i(t)),d=a.getDom().getBoundingClientRect();o=n(d.left,o),s=n(d.top,s),l=r(d.right,l),u=r(d.bottom,u),h.push({dom:c,left:d.left,top:d.top})}}),o*=c,s*=c,l*=c,u*=c;var d=l-o,p=u-s,g=Qf();g.width=d,g.height=p;var v=Yi(g);return t.connectedBackgroundColor&&v.add(new Cm({shape:{x:0,y:0,width:d,height:p},style:{fill:t.connectedBackgroundColor}})),K_(h,function(t){var e=new Mi({style:{x:t.left*c-o,y:t.top*c-s,image:t.dom}});v.add(e)}),v.refreshImmediately(),g.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}},yx.convertToPixel=_(Hl,"convertToPixel"),yx.convertFromPixel=_(Hl,"convertFromPixel"),yx.containPixel=function(t,e){if(!this._disposed){var n,i=this._model;return t=or(i,t),f(t,function(t,i){i.indexOf("Models")>=0&&f(t,function(t){var r=t.coordinateSystem;if(r&&r.containPoint)n|=!!r.containPoint(e);else if("seriesModels"===i){var a=this._chartsMap[t.__viewId];a&&a.containPoint&&(n|=a.containPoint(e,t))}},this)},this),!!n}},yx.getVisual=function(t,e){var n=this._model;t=or(n,t,{defaultMainType:"series"});var i=t.seriesModel,r=i.getData(),a=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty("dataIndex")?r.indexOfRawIndex(t.dataIndex):null;return null!=a?r.getItemVisual(a,e):r.getVisual(e)},yx.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},yx.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]};var _x={prepareAndUpdate:function(t){Gl(this),_x.update.call(this,t)},update:function(t){var e=this._model,n=this._api,i=this._zr,r=this._coordSysMgr,a=this._scheduler;if(e){a.restoreData(e,t),a.performSeriesTasks(e),r.create(e,n),a.performDataProcessorTasks(e,t),Xl(this,e),r.update(e,n),Kl(e),a.performVisualTasks(e,t),$l(this,e,n,t);var o=e.get("backgroundColor")||"transparent";if(Hf.canvasSupported)i.setBackgroundColor(o);else{var s=Ke(o);o=on(s,"rgb"),0===s[3]&&(o="transparent")}tu(e,n)}},updateTransform:function(t){var e=this._model,n=this,i=this._api;if(e){var r=[];e.eachComponent(function(a,o){var s=n.getViewOfComponentModel(o);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(o,e,i,t);l&&l.update&&r.push(s)}else r.push(s)});var a=N();e.eachSeries(function(r){var o=n._chartsMap[r.__viewId];if(o.updateTransform){var s=o.updateTransform(r,e,i,t);s&&s.update&&a.set(r.uid,1)}else a.set(r.uid,1)}),Kl(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0,dirtyMap:a}),Jl(n,e,i,t,a),tu(e,this._api)}},updateView:function(t){var e=this._model;e&&(ol.markUpdateMethod(t,"updateView"),Kl(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0}),$l(this,this._model,this._api,t),tu(e,this._api))},updateVisual:function(t){_x.update.call(this,t)},updateLayout:function(t){_x.update.call(this,t)}};yx.resize=function(t){if(!this._disposed){this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),i=t&&t.silent;this[gx]=!0,n&&Gl(this),_x.update.call(this),this[gx]=!1,Ul.call(this,i),ql.call(this,i)}}},yx.showLoading=function(t,e){if(!this._disposed&&(Q_(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),Ax[t])){var n=Ax[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},yx.hideLoading=function(){this._disposed||(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},yx.makeActionFromEvent=function(t){var e=o({},t);return e.type=Sx[t.type],e},yx.dispatchAction=function(t,e){if(!this._disposed&&(Q_(e)||(e={silent:!!e}),bx[t.type]&&this._model)){if(this[gx])return void this._pendingActions.push(t);Yl.call(this,t,e.silent),e.flush?this._zr.flush(!0):e.flush!==!1&&Hf.browser.weChat&&this._throttledZrFlush(),Ul.call(this,e.silent),ql.call(this,e.silent)}},yx.appendData=function(t){if(!this._disposed){var e=t.seriesIndex,n=this.getModel(),i=n.getSeriesByIndex(e);i.appendData(t),this._scheduler.unfinished=!0}},yx.on=Nl("on",!1),yx.off=Nl("off",!1),yx.one=Nl("one",!1);var xx=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];yx._initEvents=function(){K_(xx,function(t){var e=function(e){var n,i=this.getModel(),r=e.target,a="globalout"===t;if(a)n={};else if(r&&null!=r.dataIndex){var s=r.dataModel||i.getSeriesByIndex(r.seriesIndex);n=s&&s.getDataParams(r.dataIndex,r.dataType,r)||{}}else r&&r.eventData&&(n=o({},r.eventData));if(n){var l=n.componentType,u=n.componentIndex;("markLine"===l||"markPoint"===l||"markArea"===l)&&(l="series",u=n.seriesIndex);var h=l&&null!=u&&i.getComponent(l,u),c=h&&this["series"===h.mainType?"_chartsMap":"_componentsMap"][h.__viewId];n.event=e,n.type=t,this._ecEventProcessor.eventInfo={targetEl:r,packedEvent:n,model:h,view:c},this.trigger(t,n)}};e.zrEventfulCallAtLast=!0,this._zr.on(t,e,this)},this),K_(Sx,function(t,e){this._messageCenter.on(e,function(t){this.trigger(e,t)},this)},this)},yx.isDisposed=function(){return this._disposed},yx.clear=function(){this._disposed||this.setOption({series:[]},!0)},yx.dispose=function(){if(!this._disposed){this._disposed=!0,lr(this.getDom(),Bx,"");var t=this._api,e=this._model;K_(this._componentsViews,function(n){n.dispose(e,t)}),K_(this._chartsViews,function(n){n.dispose(e,t)}),this._zr.dispose(),delete kx[this.id]}},c(Vl,up),au.prototype={constructor:au,normalizeQuery:function(t){var e={},n={},i={};if(b(t)){var r=J_(t);e.mainType=r.main||null,e.subType=r.sub||null}else{var a=["Index","Name","Id"],o={name:1,dataIndex:1,dataType:1};f(t,function(t,r){for(var s=!1,l=0;l0&&h===r.length-u.length){var c=r.slice(0,h);"data"!==c&&(e.mainType=c,e[u.toLowerCase()]=t,s=!0)}}o.hasOwnProperty(r)&&(n[r]=t,s=!0),s||(i[r]=t)})}return{cptQuery:e,dataQuery:n,otherQuery:i}},filter:function(t,e){function n(t,e,n,i){return null==t[n]||e[i||n]===t[n]}var i=this.eventInfo;if(!i)return!0;var r=i.targetEl,a=i.packedEvent,o=i.model,s=i.view;if(!o||!s)return!0;var l=e.cptQuery,u=e.dataQuery;return n(l,o,"mainType")&&n(l,o,"subType")&&n(l,o,"index","componentIndex")&&n(l,o,"name")&&n(l,o,"id")&&n(u,a,"name")&&n(u,a,"dataIndex")&&n(u,a,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(t,e.otherQuery,r,a))},afterTrigger:function(){this.eventInfo=null}};var bx={},Sx={},Mx=[],Ix=[],Tx=[],Cx=[],Dx={},Ax={},kx={},Px={},Lx=new Date-0,Ox=new Date-0,Bx="_echarts_instance_",Ex=uu;wu(ux,w_),pu(Jy),gu(ax,t_),Su("default",I_),mu({type:"highlight",event:"highlight",update:"highlight"},V),mu({type:"downplay",event:"downplay",update:"downplay"},V),fu("light",O_),fu("dark",R_);var zx={};Lu.prototype={constructor:Lu,add:function(t){return this._add=t,this},update:function(t){return this._update=t,this},remove:function(t){return this._remove=t,this},execute:function(){var t,e=this._old,n=this._new,i={},r={},a=[],o=[];for(Ou(e,i,a,"_oldKeyGetter",this),Ou(n,r,o,"_newKeyGetter",this),t=0;th;h++)this._add&&this._add(l[h]);else this._add&&this._add(l)}}}};var Rx=N(["tooltip","label","itemName","itemId","seriesName"]),Nx=S,Fx="undefined",Vx=-1,Hx="e\x00\x00",Gx={"float":typeof Float64Array===Fx?Array:Float64Array,"int":typeof Int32Array===Fx?Array:Int32Array,ordinal:Array,number:Array,time:Array},Wx=typeof Uint32Array===Fx?Array:Uint32Array,Xx=typeof Int32Array===Fx?Array:Int32Array,Yx=typeof Uint16Array===Fx?Array:Uint16Array,Ux=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],qx=["_extent","_approximateExtent","_rawExtent"],jx=function(t,e){t=t||["x","y"];for(var n={},i=[],r={},a=0;ah;h++){var c=r[h];o[c]||(o[c]=$u()),i[c]||(i[c]=[]),Gu(i,this._dimensionInfos[c],n,u,l),this._chunkCount=i[c].length}for(var d=new Array(a),f=s;l>f;f++){for(var p=f-s,g=Math.floor(f/n),v=f%n,m=0;a>m;m++){var c=r[m],y=this._dimValueGetterArrayRows(t[p]||d,c,p,m);i[c][g][v]=y;var _=o[c];y<_[0]&&(_[0]=y),y>_[1]&&(_[1]=y)}e&&(this._nameList[f]=e[p])}this._rawCount=this._count=l,this._extent={},Wu(this)},Zx._initDataFromProvider=function(t,e){if(!(t>=e)){for(var n,i=this._chunkSize,r=this._rawData,a=this._storage,o=this.dimensions,s=o.length,l=this._dimensionInfos,u=this._nameList,h=this._idList,c=this._rawExtent,d=this._nameRepeatCount={},f=this._chunkCount,p=0;s>p;p++){var g=o[p];c[g]||(c[g]=$u());var v=l[g];0===v.otherDims.itemName&&(n=this._nameDimIdx=p),0===v.otherDims.itemId&&(this._idDimIdx=p),a[g]||(a[g]=[]),Gu(a,v,i,f,e),this._chunkCount=a[g].length}for(var m=new Array(s),y=t;e>y;y++){m=r.getItem(y,m);for(var _=Math.floor(y/i),x=y%i,w=0;s>w;w++){var g=o[w],b=a[g][_],S=this._dimValueGetter(m,g,y,w);b[x]=S;var M=c[g];SM[1]&&(M[1]=S)}if(!r.pure){var I=u[y];if(m&&null==I)if(null!=m.name)u[y]=I=m.name;else if(null!=n){var T=o[n],C=a[T][_];if(C){I=C[x];var D=l[T].ordinalMeta;D&&D.categories.length&&(I=D.categories[I])}}var A=null==m?null:m.id;null==A&&null!=I&&(d[I]=d[I]||0,A=I,d[I]>0&&(A+="__ec__"+d[I]),d[I]++),null!=A&&(h[y]=A)}}!r.persistent&&r.clean&&r.clean(),this._rawCount=this._count=e,this._extent={},Wu(this)}},Zx.count=function(){return this._count},Zx.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,i=this._count;if(n===Array){t=new n(i);for(var r=0;i>r;r++)t[r]=e[r]}else t=new n(e.buffer,0,i)}else for(var n=Fu(this),t=new n(this.count()),r=0;r=0&&e=0&&ei;i++)n.push(this.get(t[i],e));return n},Zx.hasValue=function(t){for(var e=this._dimensionsSummary.dataDimsOnCoord,n=0,i=e.length;i>n;n++)if(isNaN(this.get(e[n],t)))return!1;return!0},Zx.getDataExtent=function(t){t=this.getDimension(t);var e=this._storage[t],n=$u();if(!e)return n;var i,r=this.count(),a=!this._indices;if(a)return this._rawExtent[t].slice();if(i=this._extent[t])return i.slice();i=n;for(var o=i[0],s=i[1],l=0;r>l;l++){var u=this._getFast(t,this.getRawIndex(l));o>u&&(o=u),u>s&&(s=u)}return i=[o,s],this._extent[t]=i,i},Zx.getApproximateExtent=function(t){return t=this.getDimension(t),this._approximateExtent[t]||this.getDataExtent(t)},Zx.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},Zx.getCalculationInfo=function(t){return this._calculationInfo[t]},Zx.setCalculationInfo=function(t,e){Nx(t)?o(this._calculationInfo,t):this._calculationInfo[t]=e},Zx.getSum=function(t){var e=this._storage[t],n=0;if(e)for(var i=0,r=this.count();r>i;i++){var a=this.get(t,i);isNaN(a)||(n+=a)}return n},Zx.getMedian=function(t){var e=[];this.each(t,function(t){isNaN(t)||e.push(t)});var n=[].concat(e).sort(function(t,e){return t-e}),i=this.count();return 0===i?0:i%2===1?n[(i-1)/2]:(n[i/2]+n[i/2-1])/2},Zx.rawIndexOf=function(t,e){var n=t&&this._invertedIndicesMap[t],i=n[e];return null==i||isNaN(i)?Vx:i},Zx.indexOfName=function(t){for(var e=0,n=this.count();n>e;e++)if(this.getName(e)===t)return e;return-1},Zx.indexOfRawIndex=function(t){if(t>=this._rawCount||0>t)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&n=i;){var a=(i+r)/2|0;if(e[a]t))return a;r=a-1}}return-1},Zx.indicesOfNearest=function(t,e,n){var i=this._storage,r=i[t],a=[];if(!r)return a;null==n&&(n=1/0);for(var o=1/0,s=-1,l=0,u=0,h=this.count();h>u;u++){var c=e-this.get(t,u),d=Math.abs(c);n>=d&&((o>d||d===o&&c>=0&&0>s)&&(o=d,s=c,l=0),c===s&&(a[l++]=u))}return a.length=l,a},Zx.getRawIndex=Yu,Zx.getRawDataItem=function(t){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(t));for(var e=[],n=0;no;o++)s[o]=this.get(t[o],a);s[o]=a,e.apply(n,s)}}},Zx.filterSelf=function(t,e,n,i){if(this._count){"function"==typeof t&&(i=n,n=e,e=t,t=[]),n=n||i||this,t=p(ju(t),this.getDimension,this);for(var r=this.count(),a=Fu(this),o=new a(r),s=[],l=t.length,u=0,h=t[0],c=0;r>c;c++){var d,f=this.getRawIndex(c);if(0===l)d=e.call(n,c);else if(1===l){var g=this._getFast(h,f);d=e.call(n,g,c)}else{for(var v=0;l>v;v++)s[v]=this._getFast(h,f);s[v]=c,d=e.apply(n,s)}d&&(o[u++]=f)}return r>u&&(this._indices=o),this._count=u,this._extent={},this.getRawIndex=this._indices?Uu:Yu,this}},Zx.selectRange=function(t){if(this._count){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);var i=e.length;if(i){var r=this.count(),a=Fu(this),o=new a(r),s=0,l=e[0],u=t[l][0],h=t[l][1],c=!1;if(!this._indices){var d=0;if(1===i){for(var f=this._storage[e[0]],p=0;pm;m++){var y=g[m];(y>=u&&h>=y||isNaN(y))&&(o[s++]=d),d++}c=!0}else if(2===i){for(var f=this._storage[l],_=this._storage[e[1]],x=t[e[1]][0],w=t[e[1]][1],p=0;pm;m++){var y=g[m],S=b[m];(y>=u&&h>=y||isNaN(y))&&(S>=x&&w>=S||isNaN(S))&&(o[s++]=d),d++}c=!0}}if(!c)if(1===i)for(var m=0;r>m;m++){var M=this.getRawIndex(m),y=this._getFast(l,M);(y>=u&&h>=y||isNaN(y))&&(o[s++]=M)}else for(var m=0;r>m;m++){for(var I=!0,M=this.getRawIndex(m),p=0;i>p;p++){var T=e[p],y=this._getFast(n,M);(yt[T][1])&&(I=!1)}I&&(o[s++]=this.getRawIndex(m))}return r>s&&(this._indices=o),this._count=s,this._extent={},this.getRawIndex=this._indices?Uu:Yu,this}}},Zx.mapArray=function(t,e,n,i){"function"==typeof t&&(i=n,n=e,e=t,t=[]),n=n||i||this;var r=[];return this.each(t,function(){r.push(e&&e.apply(this,arguments))},n),r},Zx.map=function(t,e,n,i){n=n||i||this,t=p(ju(t),this.getDimension,this);var r=Zu(this,t);r._indices=this._indices,r.getRawIndex=r._indices?Uu:Yu;for(var a=r._storage,o=[],s=this._chunkSize,l=t.length,u=this.count(),h=[],c=r._rawExtent,d=0;u>d;d++){for(var f=0;l>f;f++)h[f]=this.get(t[f],d);h[l]=d;var g=e&&e.apply(n,h);if(null!=g){"object"!=typeof g&&(o[0]=g,g=o);for(var v=this.getRawIndex(d),m=Math.floor(v/s),y=v%s,_=0;_b[1]&&(b[1]=w)}}}return r},Zx.downSample=function(t,e,n,i){for(var r=Zu(this,[t]),a=r._storage,o=[],s=Math.floor(1/e),l=a[t],u=this.count(),h=this._chunkSize,c=r._rawExtent[t],d=new(Fu(this))(u),f=0,p=0;u>p;p+=s){s>u-p&&(s=u-p,o.length=s);for(var g=0;s>g;g++){var v=this.getRawIndex(p+g),m=Math.floor(v/h),y=v%h;o[g]=l[m][y]}var _=n(o),x=this.getRawIndex(Math.min(p+i(o,_)||0,u-1)),w=Math.floor(x/h),b=x%h;l[w][b]=_,_c[1]&&(c[1]=_),d[f++]=x}return r._count=f,r._indices=d,r.getRawIndex=Uu,r},Zx.getItemModel=function(t){var e=this.hostModel;return new uo(this.getRawDataItem(t),e,e&&e.ecModel)},Zx.diff=function(t){var e=this;return new Lu(t?t.getIndices():[],this.getIndices(),function(e){return qu(t,e)},function(t){return qu(e,t)})},Zx.getVisual=function(t){var e=this._visual;return e&&e[t]},Zx.setVisual=function(t,e){if(Nx(t))for(var n in t)t.hasOwnProperty(n)&&this.setVisual(n,t[n]);else this._visual=this._visual||{},this._visual[t]=e},Zx.setLayout=function(t,e){if(Nx(t))for(var n in t)t.hasOwnProperty(n)&&this.setLayout(n,t[n]);else this._layout[t]=e},Zx.getLayout=function(t){return this._layout[t]},Zx.getItemLayout=function(t){return this._itemLayouts[t]},Zx.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?o(this._itemLayouts[t]||{},e):e},Zx.clearItemLayouts=function(){this._itemLayouts.length=0},Zx.getItemVisual=function(t,e,n){var i=this._itemVisuals[t],r=i&&i[e];return null!=r||n?r:this.getVisual(e)},Zx.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{},r=this.hasItemVisual;if(this._itemVisuals[t]=i,Nx(e))for(var a in e)e.hasOwnProperty(a)&&(i[a]=e[a],r[a]=!0);else i[e]=n,r[e]=!0},Zx.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var Kx=function(t){t.seriesIndex=this.seriesIndex,t.dataIndex=this.dataIndex,t.dataType=this.dataType};Zx.setItemGraphicEl=function(t,e){var n=this.hostModel;e&&(e.dataIndex=t,e.dataType=this.dataType,e.seriesIndex=n&&n.seriesIndex,"group"===e.type&&e.traverse(Kx,e)),this._graphicEls[t]=e},Zx.getItemGraphicEl=function(t){return this._graphicEls[t]},Zx.eachItemGraphicEl=function(t,e){f(this._graphicEls,function(n,i){n&&t&&t.call(e,n,i)})},Zx.cloneShallow=function(t){if(!t){var e=p(this.dimensions,this.getDimensionInfo,this);t=new jx(e,this.hostModel)}if(t._storage=this._storage,Hu(t,this),this._indices){var n=this._indices.constructor;t._indices=new n(this._indices)}else t._indices=null;return t.getRawIndex=t._indices?Uu:Yu,t},Zx.wrapMethod=function(t,e){var n=this[t];"function"==typeof n&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(P(arguments)))})},Zx.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],Zx.CHANGABLE_METHODS=["filterSelf","selectRange"];var $x=function(t,e){return e=e||{},Qu(e.coordDimensions||[],t,{dimsDef:e.dimensionsDefine||t.dimensionsDefine,encodeDef:e.encodeDefine||t.encodeDefine,dimCount:e.dimensionsCount,encodeDefaulter:e.encodeDefaulter,generateCoord:e.generateCoord,generateCoordCount:e.generateCoordCount})},Qx={cartesian2d:function(t,e,n,i){var r=t.getReferringComponents("xAxis")[0],a=t.getReferringComponents("yAxis")[0];e.coordSysDims=["x","y"],n.set("x",r),n.set("y",a),ih(r)&&(i.set("x",r),e.firstCategoryDimIndex=0),ih(a)&&(i.set("y",a),null==e.firstCategoryDimIndex&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,i){var r=t.getReferringComponents("singleAxis")[0];e.coordSysDims=["single"],n.set("single",r),ih(r)&&(i.set("single",r),e.firstCategoryDimIndex=0)},polar:function(t,e,n,i){var r=t.getReferringComponents("polar")[0],a=r.findAxisModel("radiusAxis"),o=r.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",a),n.set("angle",o),ih(a)&&(i.set("radius",a),e.firstCategoryDimIndex=0),ih(o)&&(i.set("angle",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,i){var r=t.ecModel,a=r.getComponent("parallel",t.get("parallelIndex")),o=e.coordSysDims=a.dimensions.slice();f(a.parallelAxisIndex,function(t,a){var s=r.getComponent("parallelAxis",t),l=o[a];n.set(l,s),ih(s)&&null==e.firstCategoryDimIndex&&(i.set(l,s),e.firstCategoryDimIndex=a)})}};hh.prototype.parse=function(t){return t},hh.prototype.getSetting=function(t){return this._setting[t]},hh.prototype.contain=function(t){var e=this._extent;return t>=e[0]&&t<=e[1]},hh.prototype.normalize=function(t){var e=this._extent;return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])},hh.prototype.scale=function(t){var e=this._extent;return t*(e[1]-e[0])+e[0]},hh.prototype.unionExtent=function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1])},hh.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},hh.prototype.getExtent=function(){return this._extent.slice()},hh.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},hh.prototype.isBlank=function(){return this._isBlank},hh.prototype.setBlank=function(t){this._isBlank=t},hh.prototype.getLabel=null,fr(hh),mr(hh,{registerWhenExtend:!0}),ch.createByAxisModel=function(t){var e=t.option,n=e.data,i=n&&p(n,fh);return new ch({categories:i,needCollect:!i,deduplication:e.dedplication!==!1})};var Jx=ch.prototype;Jx.getOrdinal=function(t){return dh(this).get(t)},Jx.parseAndCollect=function(t){var e,n=this._needCollect;if("string"!=typeof t&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var i=dh(this);return e=i.get(t),null==e&&(n?(e=this.categories.length,this.categories[e]=t,i.set(t,e)):e=0/0),e};var tw=hh.prototype,ew=hh.extend({type:"ordinal",init:function(t,e){(!t||x(t))&&(t=new ch({categories:t})),this._ordinalMeta=t,this._extent=e||[0,t.categories.length-1]},parse:function(t){return"string"==typeof t?this._ordinalMeta.getOrdinal(t):Math.round(t)},contain:function(t){return t=this.parse(t),tw.contain.call(this,t)&&null!=this._ordinalMeta.categories[t]},normalize:function(t){return tw.normalize.call(this,this.parse(t))},scale:function(t){return Math.round(tw.scale.call(this,t))},getTicks:function(){for(var t=[],e=this._extent,n=e[0];n<=e[1];)t.push(n),n++;return t},getLabel:function(t){return this.isBlank()?void 0:this._ordinalMeta.categories[t]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(t,e){this.unionExtent(t.getApproximateExtent(e))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:V,niceExtent:V});ew.create=function(){return new ew};var nw=_o,iw=_o,rw=hh.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(t,e){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(e)||(n[1]=parseFloat(e))},unionExtent:function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1]),rw.prototype.setExtent.call(this,e[0],e[1])},getInterval:function(){return this._interval},setInterval:function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=gh(t)},getTicks:function(t){var e=this._interval,n=this._extent,i=this._niceExtent,r=this._intervalPrecision,a=[];if(!e)return a;var o=1e4;n[0]o)return[];var l=a.length?a[a.length-1]:i[1];return n[1]>l&&a.push(t?l+e:n[1]),a},getMinorTicks:function(t){for(var e=this.getTicks(!0),n=[],i=this.getExtent(),r=1;rs;){var c=_o(o+(s+1)*h);c>i[0]&&cr&&(r=-r,i.reverse());var a=ph(i,t,e,n);this._intervalPrecision=a.intervalPrecision,this._interval=a.interval,this._niceExtent=a.niceTickExtent}},niceExtent:function(t){var e=this._extent;if(e[0]===e[1])if(0!==e[0]){var n=e[0];t.fixMax?e[0]-=n/2:(e[1]+=n/2,e[0]-=n/2)}else e[1]=1;var i=e[1]-e[0];isFinite(i)||(e[0]=0,e[1]=1),this.niceTicks(t.splitNumber,t.minInterval,t.maxInterval);var r=this._interval;t.fixMin||(e[0]=iw(Math.floor(e[0]/r)*r)),t.fixMax||(e[1]=iw(Math.ceil(e[1]/r)*r))}});rw.create=function(){return new rw};var aw="__ec_stack_",ow=.5,sw="undefined"!=typeof Float32Array?Float32Array:Array,lw={seriesType:"bar",plan:f_(),reset:function(t){function e(t,e){for(var n,c=t.count,d=new sw(2*c),f=new sw(c),p=[],g=[],v=0,m=0;null!=(n=t.next());)g[u]=e.get(o,n),g[1-u]=e.get(s,n),p=i.dataToPoint(g,null,p),d[v++]=p[0],d[v++]=p[1],f[m++]=n;e.setLayout({largePoints:d,largeDataIndices:f,barWidth:h,valueAxisStart:Dh(r,a,!1),valueAxisHorizontal:l})}if(Th(t)&&Ch(t)){var n=t.getData(),i=t.coordinateSystem,r=i.getBaseAxis(),a=i.getOtherAxis(r),o=n.mapDimension(a.dim),s=n.mapDimension(r.dim),l=a.isHorizontal(),u=l?0:1,h=Mh(bh([t]),r,t).width;return h>ow||(h=ow),{progress:e}}}},uw=rw.prototype,hw=Math.ceil,cw=Math.floor,dw=1e3,fw=60*dw,pw=60*fw,gw=24*pw,vw=function(t,e,n,i){for(;i>n;){var r=n+i>>>1;t[r][1]a&&(a=e),null!=n&&a>n&&(a=n);var o=yw.length,s=vw(yw,a,0,o),l=yw[Math.min(s,o-1)],u=l[1];if("year"===l[0]){var h=r/u,c=ko(h/t,!0);u*=c}var d=this.getSetting("useUTC")?0:60*new Date(+i[0]||+i[1]).getTimezoneOffset()*1e3,f=[Math.round(hw((i[0]-d)/u)*u+d),Math.round(cw((i[1]-d)/u)*u+d)];mh(f,i),this._stepLvl=l,this._interval=u,this._niceExtent=f},parse:function(t){return+Co(t)}});f(["contain","normalize"],function(t){mw.prototype[t]=function(e){return uw[t].call(this,this.parse(e))}});var yw=[["hh:mm:ss",dw],["hh:mm:ss",5*dw],["hh:mm:ss",10*dw],["hh:mm:ss",15*dw],["hh:mm:ss",30*dw],["hh:mm\nMM-dd",fw],["hh:mm\nMM-dd",5*fw],["hh:mm\nMM-dd",10*fw],["hh:mm\nMM-dd",15*fw],["hh:mm\nMM-dd",30*fw],["hh:mm\nMM-dd",pw],["hh:mm\nMM-dd",2*pw],["hh:mm\nMM-dd",6*pw],["hh:mm\nMM-dd",12*pw],["MM-dd\nyyyy",gw],["MM-dd\nyyyy",2*gw],["MM-dd\nyyyy",3*gw],["MM-dd\nyyyy",4*gw],["MM-dd\nyyyy",5*gw],["MM-dd\nyyyy",6*gw],["week",7*gw],["MM-dd\nyyyy",10*gw],["week",14*gw],["week",21*gw],["month",31*gw],["week",42*gw],["month",62*gw],["week",70*gw],["quarter",95*gw],["month",31*gw*4],["month",31*gw*5],["half-year",380*gw/2],["month",31*gw*8],["month",31*gw*10],["year",380*gw]];mw.create=function(t){return new mw({useUTC:t.ecModel.get("useUTC")})};var _w=hh.prototype,xw=rw.prototype,ww=bo,bw=_o,Sw=Math.floor,Mw=Math.ceil,Iw=Math.pow,Tw=Math.log,Cw=hh.extend({type:"log",base:10,$constructor:function(){hh.apply(this,arguments),this._originalScale=new rw
+},getTicks:function(t){var e=this._originalScale,n=this._extent,i=e.getExtent();return p(xw.getTicks.call(this,t),function(t){var r=_o(Iw(this.base,t));return r=t===n[0]&&e.__fixMin?Ah(r,i[0]):r,r=t===n[1]&&e.__fixMax?Ah(r,i[1]):r},this)},getMinorTicks:xw.getMinorTicks,getLabel:xw.getLabel,scale:function(t){return t=_w.scale.call(this,t),Iw(this.base,t)},setExtent:function(t,e){var n=this.base;t=Tw(t)/Tw(n),e=Tw(e)/Tw(n),xw.setExtent.call(this,t,e)},getExtent:function(){var t=this.base,e=_w.getExtent.call(this);e[0]=Iw(t,e[0]),e[1]=Iw(t,e[1]);var n=this._originalScale,i=n.getExtent();return n.__fixMin&&(e[0]=Ah(e[0],i[0])),n.__fixMax&&(e[1]=Ah(e[1],i[1])),e},unionExtent:function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=Tw(t[0])/Tw(e),t[1]=Tw(t[1])/Tw(e),_w.unionExtent.call(this,t)},unionExtentFromData:function(t,e){this.unionExtent(t.getApproximateExtent(e))},niceTicks:function(t){t=t||10;var e=this._extent,n=e[1]-e[0];if(!(1/0===n||0>=n)){var i=Do(n),r=t/n*i;for(.5>=r&&(i*=10);!isNaN(i)&&Math.abs(i)<1&&Math.abs(i)>0;)i*=10;var a=[_o(Mw(e[0]/i)*i),_o(Sw(e[1]/i)*i)];this._interval=i,this._niceExtent=a}},niceExtent:function(t){xw.niceExtent.call(this,t);var e=this._originalScale;e.__fixMin=t.fixMin,e.__fixMax=t.fixMax}});f(["contain","normalize"],function(t){Cw.prototype[t]=function(e){return e=Tw(e)/Tw(this.base),_w[t].call(this,e)}}),Cw.create=function(){return new Cw};var Dw={getMin:function(t){var e=this.option,n=t||null==e.rangeStart?e.min:e.rangeStart;return this.axis&&null!=n&&"dataMin"!==n&&"function"!=typeof n&&!C(n)&&(n=this.axis.scale.parse(n)),n},getMax:function(t){var e=this.option,n=t||null==e.rangeEnd?e.max:e.rangeEnd;return this.axis&&null!=n&&"dataMax"!==n&&"function"!=typeof n&&!C(n)&&(n=this.axis.scale.parse(n)),n},getNeedCrossZero:function(){var t=this.option;return null!=t.rangeStart||null!=t.rangeEnd?!1:!t.scale},getCoordSysModel:V,setRange:function(t,e){this.option.rangeStart=t,this.option.rangeEnd=e},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}},Aw=ca({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,a=e.height/2;t.moveTo(n,i-a),t.lineTo(n+r,i+a),t.lineTo(n-r,i+a),t.closePath()}}),kw=ca({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,a=e.height/2;t.moveTo(n,i-a),t.lineTo(n+r,i),t.lineTo(n,i+a),t.lineTo(n-r,i),t.closePath()}}),Pw=ca({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.x,i=e.y,r=e.width/5*3,a=Math.max(r,e.height),o=r/2,s=o*o/(a-o),l=i-a+o+s,u=Math.asin(s/o),h=Math.cos(u)*o,c=Math.sin(u),d=Math.cos(u),f=.6*o,p=.7*o;t.moveTo(n-h,l+s),t.arc(n,l,o,Math.PI-u,2*Math.PI+u),t.bezierCurveTo(n+h-c*f,l+s+d*f,n,i-p,n,i),t.bezierCurveTo(n,i-p,n-h+c*f,l+s+d*f,n-h,l+s),t.closePath()}}),Lw=ca({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.height,i=e.width,r=e.x,a=e.y,o=i/3*2;t.moveTo(r,a),t.lineTo(r+o,a+n),t.lineTo(r,a+n/4*3),t.lineTo(r-o,a+n),t.lineTo(r,a),t.closePath()}}),Ow={line:Am,rect:Cm,roundRect:Cm,square:Cm,circle:vm,diamond:kw,pin:Pw,arrow:Lw,triangle:Aw},Bw={line:function(t,e,n,i,r){r.x1=t,r.y1=e+i/2,r.x2=t+n,r.y2=e+i/2},rect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i},roundRect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i,r.r=Math.min(n,i)/4},square:function(t,e,n,i,r){var a=Math.min(n,i);r.x=t,r.y=e,r.width=a,r.height=a},circle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.r=Math.min(n,i)/2},diamond:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i},pin:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},arrow:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},triangle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i}},Ew={};f(Ow,function(t,e){Ew[e]=new t});var zw=ca({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,n){var i=qn(t,e,n),r=this.shape;return r&&"pin"===r.symbolType&&"inside"===e.textPosition&&(i.y=n.y+.4*n.height),i},buildPath:function(t,e,n){var i=e.symbolType;if("none"!==i){var r=Ew[i];r||(i="rect",r=Ew[i]),Bw[i](e.x,e.y,e.width,e.height,r.shape),r.buildPath(t,r.shape,n)}}}),Rw={isDimensionStacked:ah,enableDataStack:rh,getStackedDimension:oh},Nw=(Object.freeze||Object)({createList:Wh,getLayoutRect:Uo,dataStack:Rw,createScale:Xh,mixinAxisModelCommonMethods:Yh,completeDimensions:Qu,createDimensions:$x,createSymbol:Gh}),Fw=1e-8;jh.prototype={constructor:jh,properties:null,getBoundingRect:function(){var t=this._rect;if(t)return t;for(var e=Number.MAX_VALUE,n=[e,e],i=[-e,-e],r=[],a=[],o=this.geometries,s=0;si;i++)if("polygon"===n[i].type){var a=n[i].exterior,o=n[i].interiors;if(qh(a,t[0],t[1])){for(var s=0;s<(o?o.length:0);s++)if(qh(o[s]))continue t;return!0}}return!1},transformTo:function(t,e,n,i){var r=this.getBoundingRect(),a=r.width/r.height;n?i||(i=n/a):n=a*i;for(var o=new Sn(t,e,n,i),s=r.calculateTransform(o),l=this.geometries,u=0;u0}),function(t){var e=t.properties,n=t.geometry,i=n.coordinates,r=[];"Polygon"===n.type&&r.push({type:"polygon",exterior:i[0],interiors:i.slice(1)}),"MultiPolygon"===n.type&&f(i,function(t){t[0]&&r.push({type:"polygon",exterior:t[0],interiors:t.slice(1)})});var a=new jh(e.name,r,e.cp);return a.properties=e,a})},Hw=ar(),Gw=[0,1],Ww=function(t,e,n){this.dim=t,this.scale=e,this._extent=n||[0,0],this.inverse=!1,this.onBand=!1};Ww.prototype={constructor:Ww,contain:function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=n&&i>=t},containData:function(t){return this.scale.contain(t)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(t){return So(t||this.scale.getExtent(),this._extent)},setExtent:function(t,e){var n=this._extent;n[0]=t,n[1]=e},dataToCoord:function(t,e){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&"ordinal"===i.type&&(n=n.slice(),cc(n,i.count())),mo(t,Gw,n,e)},coordToData:function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&(n=n.slice(),cc(n,i.count()));var r=mo(t,n,Gw,e);return this.scale.scale(r)},pointToData:function(){},getTicksCoords:function(t){t=t||{};var e=t.tickModel||this.getTickModel(),n=Qh(this,e),i=n.ticks,r=p(i,function(t){return{coord:this.dataToCoord(t),tickValue:t}},this),a=e.get("alignWithLabel");return dc(this,r,a,t.clamp),r},getMinorTicksCoords:function(){if("ordinal"===this.scale.type)return[];var t=this.model.getModel("minorTick"),e=t.get("splitNumber");e>0&&100>e||(e=5);var n=this.scale.getMinorTicks(e),i=p(n,function(t){return p(t,function(t){return{coord:this.dataToCoord(t),tickValue:t}},this)},this);return i},getViewLabels:function(){return $h(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);0===n&&(n=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/n},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return sc(this)}};var Xw=Vw,Yw={};f(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],function(t){Yw[t]=ep[t]});var Uw={};f(["extendShape","extendPath","makePath","makeImage","mergePath","resizePath","createIcon","setHoverStyle","setLabelStyle","setTextStyle","setText","getFont","updateProps","initProps","getTransform","clipPointsByRect","clipRectByRect","registerShape","getShapeClass","Group","Image","Text","Circle","Sector","Ring","Polygon","Polyline","Rect","Line","BezierCurve","Arc","IncrementalDisplayable","CompoundPath","LinearGradient","RadialGradient","BoundingRect"],function(t){Uw[t]=Qm[t]});var qw=function(t){this._axes={},this._dimList=[],this.name=t||""};qw.prototype={constructor:qw,type:"cartesian",getAxis:function(t){return this._axes[t]},getAxes:function(){return p(this._dimList,fc,this)},getAxesByScale:function(t){return t=t.toLowerCase(),v(this.getAxes(),function(e){return e.scale.type===t})},addAxis:function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},dataToCoord:function(t){return this._dataCoordConvert(t,"dataToCoord")},coordToData:function(t){return this._dataCoordConvert(t,"coordToData")},_dataCoordConvert:function(t,e){for(var n=this._dimList,i=t instanceof Array?[]:{},r=0;re[1]&&e.reverse(),e},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},toLocalCoord:null,toGlobalCoord:null},h(jw,Ww);var Zw={show:!0,zlevel:0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#333",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#ccc"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},Kw={};Kw.categoryAxis=r({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},Zw),Kw.valueAxis=r({boundaryGap:[0,0],splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#eee",width:1}}},Zw),Kw.timeAxis=s({scale:!0,min:"dataMin",max:"dataMax"},Kw.valueAxis),Kw.logAxis=s({scale:!0,logBase:10},Kw.valueAxis);var $w=["value","category","time","log"],Qw=function(t,e,n,i){f($w,function(o){e.extend({type:t+"Axis."+o,mergeDefaultAndTheme:function(e,i){var a=this.layoutMode,s=a?jo(e):{},l=i.getTheme();r(e,l.get(o+"Axis")),r(e,this.getDefaultOption()),e.type=n(t,e),a&&qo(e,s,a)},optionUpdated:function(){var t=this.option;"category"===t.type&&(this.__ordinalMeta=ch.createByAxisModel(this))},getCategories:function(t){var e=this.option;return"category"===e.type?t?e.data:this.__ordinalMeta.categories:void 0},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:a([{},Kw[o+"Axis"],i],!0)})}),Sy.registerSubTypeDefaulter(t+"Axis",_(n,t))},Jw=Sy.extend({type:"cartesian2dAxis",axis:null,init:function(){Jw.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){Jw.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){Jw.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});r(Jw.prototype,Dw);var tb={offset:0};Qw("x",Jw,gc,tb),Qw("y",Jw,gc,tb),Sy.extend({type:"grid",dependencies:["xAxis","yAxis"],layoutMode:"box",coordinateSystem:null,defaultOption:{show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:60,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"}});var eb=mc.prototype;eb.type="grid",eb.axisPointerEnabled=!0,eb.getRect=function(){return this._rect},eb.update=function(t,e){var n=this._axesMap;this._updateScale(t,this.model),f(n.x,function(t){Lh(t.scale,t.model)}),f(n.y,function(t){Lh(t.scale,t.model)});var i={};f(n.x,function(t){yc(n,"y",t,i)}),f(n.y,function(t){yc(n,"x",t,i)}),this.resize(this.model,e)},eb.resize=function(t,e,n){function i(){f(a,function(t){var e=t.isHorizontal(),n=e?[0,r.width]:[0,r.height],i=t.inverse?1:0;t.setExtent(n[i],n[1-i]),xc(t,e?r.x:r.y)})}var r=Uo(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()});this._rect=r;var a=this._axesList;i(),!n&&t.get("containLabel")&&(f(a,function(t){if(!t.model.get("axisLabel.inside")){var e=Rh(t);if(e){var n=t.isHorizontal()?"height":"width",i=t.model.get("axisLabel.margin");r[n]-=e[n]+i,"top"===t.position?r.y+=e.height+i:"left"===t.position&&(r.x+=e.width+i)}}}),i())},eb.getAxis=function(t,e){var n=this._axesMap[t];if(null!=n){if(null==e)for(var i in n)if(n.hasOwnProperty(i))return n[i];return n[e]}},eb.getAxes=function(){return this._axesList.slice()},eb.getCartesian=function(t,e){if(null!=t&&null!=e){var n="x"+t+"y"+e;return this._coordsMap[n]}S(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var i=0,r=this._coordsList;it&&(t=e),t},defaultOption:{clip:!0,roundCap:!1}});var rb=lv([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),ab={getBarItemStyle:function(t){var e=rb(this,t);if(this.getBorderLineDash){var n=this.getBorderLineDash();n&&(e.lineDash=n)}return e}},ob=ca({type:"sausage",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r0||0,0),a=Math.max(e.r,0),o=.5*(a-r),s=r+o,l=e.startAngle,u=e.endAngle,h=e.clockwise,c=Math.cos(l),d=Math.sin(l),f=Math.cos(u),p=Math.sin(u),g=h?u-l<2*Math.PI:l-u<2*Math.PI;g&&(t.moveTo(c*r+n,d*r+i),t.arc(c*s+n,d*s+i,o,-Math.PI+l,l,!h)),t.arc(n,i,a,l,u,!h),t.moveTo(f*a+n,p*a+i),t.arc(f*s+n,p*s+i,o,u-2*Math.PI,u-Math.PI,!h),0!==r&&(t.arc(n,i,r,u,l,h),t.moveTo(c*r+n,p*r+i)),t.closePath()}}),sb=["itemStyle","barBorderWidth"],lb=[0,0];o(uo.prototype,ab),Cu({type:"bar",render:function(t,e,n){this._updateDrawMode(t);var i=t.get("coordinateSystem");return("cartesian2d"===i||"polar"===i)&&(this._isLargeDraw?this._renderLarge(t,e,n):this._renderNormal(t,e,n)),this.group},incrementalPrepareRender:function(t){this._clear(),this._updateDrawMode(t)},incrementalRender:function(t,e){this._incrementalRenderLarge(t,e)},_updateDrawMode:function(t){var e=t.pipelineContext.large;(null==this._isLargeDraw||e^this._isLargeDraw)&&(this._isLargeDraw=e,this._clear())},_renderNormal:function(t){var e,n=this.group,i=t.getData(),r=this._data,a=t.coordinateSystem,o=a.getBaseAxis();"cartesian2d"===a.type?e=o.isHorizontal():"polar"===a.type&&(e="angle"===o.dim);var s=t.isAnimationEnabled()?t:null,l=t.get("clip",!0),u=Ac(a,i);n.removeClipPath();var h=t.get("roundCap",!0);i.diff(r).add(function(r){if(i.hasValue(r)){var o=i.getItemModel(r),c=fb[a.type](i,r,o);if(l){var d=cb[a.type](u,c);if(d)return void n.remove(f)}var f=db[a.type](r,c,e,s,!1,h);i.setItemGraphicEl(r,f),n.add(f),Oc(f,i,r,o,c,t,e,"polar"===a.type)}}).update(function(o,c){var d=r.getItemGraphicEl(c);if(!i.hasValue(o))return void n.remove(d);var f=i.getItemModel(o),p=fb[a.type](i,o,f);if(l){var g=cb[a.type](u,p);if(g)return void n.remove(d)}d?Ka(d,{shape:p},s,o):d=db[a.type](o,p,e,s,!0,h),i.setItemGraphicEl(o,d),n.add(d),Oc(d,i,o,f,p,t,e,"polar"===a.type)}).remove(function(t){var e=r.getItemGraphicEl(t);"cartesian2d"===a.type?e&&kc(t,s,e):e&&Pc(t,s,e)}).execute(),this._data=i},_renderLarge:function(t){this._clear(),Ec(t,this.group);var e=t.get("clip",!0)?Dc(t.coordinateSystem,!1,t):null;e?this.group.setClipPath(e):this.group.removeClipPath()},_incrementalRenderLarge:function(t,e){Ec(e,this.group,!0)},dispose:V,remove:function(t){this._clear(t)},_clear:function(t){var e=this.group,n=this._data;t&&t.get("animation")&&n&&!this._isLargeDraw?n.eachItemGraphicEl(function(e){"sector"===e.type?Pc(e.dataIndex,t,e):kc(e.dataIndex,t,e)}):e.removeAll(),this._data=null}});var ub=Math.max,hb=Math.min,cb={cartesian2d:function(t,e){var n=e.width<0?-1:1,i=e.height<0?-1:1;0>n&&(e.x+=e.width,e.width=-e.width),0>i&&(e.y+=e.height,e.height=-e.height);var r=ub(e.x,t.x),a=hb(e.x+e.width,t.x+t.width),o=ub(e.y,t.y),s=hb(e.y+e.height,t.y+t.height);e.x=r,e.y=o,e.width=a-r,e.height=s-o;var l=e.width<0||e.height<0;return 0>n&&(e.x+=e.width,e.width=-e.width),0>i&&(e.y+=e.height,e.height=-e.height),l},polar:function(){return!1}},db={cartesian2d:function(t,e,n,i,r){var a=new Cm({shape:o({},e)});if(i){var s=a.shape,l=n?"height":"width",u={};s[l]=0,u[l]=e[l],Qm[r?"updateProps":"initProps"](a,{shape:u},i,t)}return a},polar:function(t,e,n,i,r,a){var o=e.startAngle0?1:-1,o=i.height>0?1:-1;return{x:i.x+a*r/2,y:i.y+o*r/2,width:i.width-a*r,height:i.height-o*r}},polar:function(t,e){var n=t.getItemLayout(e);return{cx:n.cx,cy:n.cy,r0:n.r0,r:n.r,startAngle:n.startAngle,endAngle:n.endAngle}}},pb=$r.extend({type:"largeBar",shape:{points:[]},buildPath:function(t,e){for(var n=e.points,i=this.__startPoint,r=this.__baseDimIdx,a=0;a=0?n:null},30,!1),vb=Math.PI,mb=function(t,e){this.opt=e,this.axisModel=t,s(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new tg;var n=new tg({position:e.position.slice(),rotation:e.rotation});n.updateTransform(),this._transform=n.transform,this._dumbGroup=n};mb.prototype={constructor:mb,hasBuilder:function(t){return!!yb[t]},add:function(t){yb[t].call(this)},getGroup:function(){return this.group}};var yb={axisLine:function(){var t=this.opt,e=this.axisModel;if(e.get("axisLine.show")){var n=this.axisModel.axis.getExtent(),i=this._transform,r=[n[0],0],a=[n[1],0];i&&(ae(r,r,i),ae(a,a,i));var s=o({lineCap:"round"},e.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new Am({anid:"line",subPixelOptimize:!0,shape:{x1:r[0],y1:r[1],x2:a[0],y2:a[1]},style:s,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1}));var l=e.get("axisLine.symbol"),u=e.get("axisLine.symbolSize"),h=e.get("axisLine.symbolOffset")||0;if("number"==typeof h&&(h=[h,h]),null!=l){"string"==typeof l&&(l=[l,l]),("string"==typeof u||"number"==typeof u)&&(u=[u,u]);var c=u[0],d=u[1];f([{rotate:t.rotation+Math.PI/2,offset:h[0],r:0},{rotate:t.rotation-Math.PI/2,offset:h[1],r:Math.sqrt((r[0]-a[0])*(r[0]-a[0])+(r[1]-a[1])*(r[1]-a[1]))}],function(e,n){if("none"!==l[n]&&null!=l[n]){var i=Gh(l[n],-c/2,-d/2,c,d,s.stroke,!0),a=e.r+e.offset,o=[r[0]+a*Math.cos(t.rotation),r[1]-a*Math.sin(t.rotation)];i.attr({rotation:e.rotate,position:o,silent:!0,z2:11}),this.group.add(i)}},this)}}},axisTickLabel:function(){var t=this.axisModel,e=this.opt,n=Xc(this,t,e),i=Uc(this,t,e);Fc(t,i,n),Yc(this,t,e)},axisName:function(){var t=this.opt,e=this.axisModel,n=D(t.axisName,e.get("name"));if(n){var i,r=e.get("nameLocation"),a=t.nameDirection,s=e.getModel("nameTextStyle"),l=e.get("nameGap")||0,u=this.axisModel.axis.getExtent(),h=u[0]>u[1]?-1:1,c=["start"===r?u[0]-h*l:"end"===r?u[1]+h*l:(u[0]+u[1])/2,Gc(r)?t.labelOffset+a*l:0],d=e.get("nameRotate");null!=d&&(d=d*vb/180);var f;Gc(r)?i=xb(t.rotation,null!=d?d:t.rotation,a):(i=Nc(t,r,d||0,u),f=t.axisNameAvailableWidth,null!=f&&(f=Math.abs(f/Math.sin(i.rotation)),!isFinite(f)&&(f=null)));var p=s.getFont(),g=e.get("nameTruncate",!0)||{},v=g.ellipsis,m=D(t.nameTruncateMaxWidth,g.maxWidth,f),y=null!=v&&null!=m?gy(n,m,p,v,{minChar:2,placeholder:g.placeholder}):n,_=e.get("tooltip",!0),x=e.mainType,w={componentType:x,name:n,$vars:["name"]};w[x+"Index"]=e.componentIndex;var b=new gm({anid:"name",__fullText:n,__truncatedText:y,position:c,rotation:i.rotation,silent:wb(e),z2:1,tooltip:_&&_.show?o({content:n,formatter:function(){return n},formatterParams:w},_):null});Va(b.style,s,{text:y,textFont:p,textFill:s.getTextColor()||e.get("axisLine.lineStyle.color"),textAlign:s.get("align")||i.textAlign,textVerticalAlign:s.get("verticalAlign")||i.textVerticalAlign}),e.get("triggerEvent")&&(b.eventData=_b(e),b.eventData.targetType="axisName",b.eventData.name=n),this._dumbGroup.add(b),b.updateTransform(),this.group.add(b),b.decomposeTransform()}}},_b=mb.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},xb=mb.innerTextLayout=function(t,e,n){var i,r,a=Io(e-t);return To(a)?(r=n>0?"top":"bottom",i="center"):To(a-vb)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=a>0&&vb>a?n>0?"right":"left":n>0?"left":"right"),{rotation:a,textAlign:i,textVerticalAlign:r}},wb=mb.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},bb=f,Sb=_,Mb=Iu({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(t,e,n,i){this.axisPointerClass&&Jc(t),Mb.superApply(this,"render",arguments),rd(this,t,e,n,i,!0)},updateAxisPointer:function(t,e,n,i){rd(this,t,e,n,i,!1)},remove:function(t,e){var n=this._axisPointer;n&&n.remove(e),Mb.superApply(this,"remove",arguments)},dispose:function(t,e){ad(this,e),Mb.superApply(this,"dispose",arguments)}}),Ib=[];Mb.registerAxisPointerClass=function(t,e){Ib[t]=e},Mb.getAxisPointerClass=function(t){return t&&Ib[t]};var Tb=["axisLine","axisTickLabel","axisName"],Cb=["splitArea","splitLine","minorSplitLine"],Db=Mb.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(t,e,n,i){this.group.removeAll();var r=this._axisGroup;if(this._axisGroup=new tg,this.group.add(this._axisGroup),t.get("show")){var a=t.getCoordSysModel(),o=od(a,t),s=new mb(t,o);f(Tb,s.add,s),this._axisGroup.add(s.getGroup()),f(Cb,function(e){t.get(e+".show")&&this["_"+e](t,a)},this),eo(r,this._axisGroup,t),Db.superCall(this,"render",t,e,n,i)}},remove:function(){this._splitAreaColors=null},_splitLine:function(t,e){var n=t.axis;if(!n.scale.isBlank()){var i=t.getModel("splitLine"),r=i.getModel("lineStyle"),a=r.get("color");a=x(a)?a:[a];for(var o=e.coordinateSystem.getRect(),l=n.isHorizontal(),u=0,h=n.getTicksCoords({tickModel:i}),c=[],d=[],f=r.getLineStyle(),p=0;p0&&_d(n[r-1]);r--);for(;r>i&&_d(n[i]);i++);}for(;r>i;)i+=xd(t,n,i,r,r,1,a.min,a.max,e.smooth,e.smoothMonotone,e.connectNulls)+1}}),Yb=$r.extend({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},brush:ym($r.prototype.brush),buildPath:function(t,e){var n=e.points,i=e.stackedOnPoints,r=0,a=n.length,o=e.smoothMonotone,s=Sd(n,e.smoothConstraint),l=Sd(i,e.smoothConstraint);if(e.connectNulls){for(;a>0&&_d(n[a-1]);a--);for(;a>r&&_d(n[r]);r++);}for(;a>r;){var u=xd(t,n,r,a,a,1,s.min,s.max,e.smooth,o,e.connectNulls);xd(t,i,r+u-1,u,a,-1,l.min,l.max,e.stackedOnSmooth,o,e.connectNulls),r+=u+1,t.closePath()}}});ol.extend({type:"line",init:function(){var t=new tg,e=new cd;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},render:function(t,e,n){var i=t.coordinateSystem,r=this.group,a=t.getData(),o=t.getModel("lineStyle"),l=t.getModel("areaStyle"),u=a.mapArray(a.getItemLayout),h="polar"===i.type,c=this._coordSys,d=this._symbolDraw,f=this._polyline,p=this._polygon,g=this._lineGroup,v=t.get("animation"),m=!l.isEmpty(),y=l.get("origin"),_=gd(i,a,y),x=Td(i,a,_),w=t.get("showSymbol"),b=w&&!h&&Ad(t,a,i),S=this._data;S&&S.eachItemGraphicEl(function(t,e){t.__temp&&(r.remove(t),S.setItemGraphicEl(e,null))}),w||d.remove(),r.add(g);var M,I=!h&&t.get("step");i&&i.getArea&&t.get("clip",!0)&&(M=i.getArea(),null!=M.width?(M.x-=.1,M.y-=.1,M.width+=.2,M.height+=.2):M.r0&&(M.r0-=.5,M.r1+=.5)),this._clipShapeForSymbol=M,f&&c.type===i.type&&I===this._step?(m&&!p?p=this._newPolygon(u,x,i,v):p&&!m&&(g.remove(p),p=this._polygon=null),g.setClipPath(Pd(i,!1,t)),w&&d.updateData(a,{isIgnore:b,clipShape:M}),a.eachItemGraphicEl(function(t){t.stopAnimation(!0)}),Md(this._stackedOnPoints,x)&&Md(this._points,u)||(v?this._updateAnimation(a,x,i,n,I,y):(I&&(u=Cd(u,i,I),x=Cd(x,i,I)),f.setShape({points:u}),p&&p.setShape({points:u,stackedOnPoints:x})))):(w&&d.updateData(a,{isIgnore:b,clipShape:M}),I&&(u=Cd(u,i,I),x=Cd(x,i,I)),f=this._newPolyline(u,i,v),m&&(p=this._newPolygon(u,x,i,v)),g.setClipPath(Pd(i,!0,t)));var T=Dd(a,i)||a.getVisual("color");f.useStyle(s(o.getLineStyle(),{fill:"none",stroke:T,lineJoin:"bevel"}));var C=t.get("smooth");if(C=Id(t.get("smooth")),f.setShape({smooth:C,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")}),p){var D=a.getCalculationInfo("stackedOnSeries"),A=0;p.useStyle(s(l.getAreaStyle(),{fill:T,opacity:.7,lineJoin:"bevel"})),D&&(A=Id(D.get("smooth"))),p.setShape({smooth:C,stackedOnSmooth:A,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")})}this._data=a,this._coordSys=i,this._stackedOnPoints=x,this._points=u,this._step=I,this._valueOrigin=y},dispose:function(){},highlight:function(t,e,n,i){var r=t.getData(),a=rr(r,i);if(!(a instanceof Array)&&null!=a&&a>=0){var o=r.getItemGraphicEl(a);if(!o){var s=r.getItemLayout(a);if(!s)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(s[0],s[1]))return;o=new sd(r,a),o.position=s,o.setZ(t.get("zlevel"),t.get("z")),o.ignore=isNaN(s[0])||isNaN(s[1]),o.__temp=!0,r.setItemGraphicEl(a,o),o.stopSymbolAnimation(!0),this.group.add(o)}o.highlight()}else ol.prototype.highlight.call(this,t,e,n,i)},downplay:function(t,e,n,i){var r=t.getData(),a=rr(r,i);if(null!=a&&a>=0){var o=r.getItemGraphicEl(a);o&&(o.__temp?(r.setItemGraphicEl(a,null),this.group.remove(o)):o.downplay())}else ol.prototype.downplay.call(this,t,e,n,i)},_newPolyline:function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new Xb({shape:{points:t},silent:!0,z2:10}),this._lineGroup.add(e),this._polyline=e,e},_newPolygon:function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new Yb({shape:{points:t,stackedOnPoints:e},silent:!0}),this._lineGroup.add(n),this._polygon=n,n},_updateAnimation:function(t,e,n,i,r,a){var o=this._polyline,s=this._polygon,l=t.hostModel,u=zb(this._data,t,this._stackedOnPoints,e,this._coordSys,n,this._valueOrigin,a),h=u.current,c=u.stackedOnCurrent,d=u.next,f=u.stackedOnNext;r&&(h=Cd(u.current,n,r),c=Cd(u.stackedOnCurrent,n,r),d=Cd(u.next,n,r),f=Cd(u.stackedOnNext,n,r)),o.shape.__points=u.current,o.shape.points=h,Ka(o,{shape:{points:d}},l),s&&(s.setShape({points:h,stackedOnPoints:c}),Ka(s,{shape:{points:d,stackedOnPoints:f}},l));for(var p=[],g=u.status,v=0;ve&&(e=t[n]);return isFinite(e)?e:0/0},min:function(t){for(var e=1/0,n=0;n1){var u;"string"==typeof n?u=jb[n]:"function"==typeof n&&(u=n),u&&t.setData(e.downSample(e.mapDimension(a.dim),1/l,u,Zb))}}}}};wu(Ub("line","circle","line")),xu(qb("line")),gu(px.PROCESSOR.STATISTIC,Kb("line"));var $b=function(t,e,n){e=x(e)&&{coordDimensions:e}||o({},e);var i=t.getSource(),r=$x(i,e),a=new jx(r,t);return a.initData(i,n),a},Qb={updateSelectedMap:function(t){this._targetList=x(t)?t.slice():[],this._selectTargetMap=g(t||[],function(t,e){return t.set(e.name,e),t},N())},select:function(t,e){var n=null!=e?this._targetList[e]:this._selectTargetMap.get(t),i=this.get("selectedMode");"single"===i&&this._selectTargetMap.each(function(t){t.selected=!1}),n&&(n.selected=!0)},unSelect:function(t,e){var n=null!=e?this._targetList[e]:this._selectTargetMap.get(t);n&&(n.selected=!1)},toggleSelected:function(t,e){var n=null!=e?this._targetList[e]:this._selectTargetMap.get(t);return null!=n?(this[n.selected?"unSelect":"select"](t,e),n.selected):void 0},isSelected:function(t,e){var n=null!=e?this._targetList[e]:this._selectTargetMap.get(t);return n&&n.selected}},Jb=Tu({type:"series.pie",init:function(t){Jb.superApply(this,"init",arguments),this.legendVisualProvider=new Ld(y(this.getData,this),y(this.getRawData,this)),this.updateSelectedMap(this._createSelectableList()),this._defaultLabelLine(t)},mergeOption:function(t){Jb.superCall(this,"mergeOption",t),this.updateSelectedMap(this._createSelectableList())},getInitialData:function(){return $b(this,{coordDimensions:["value"],encodeDefaulter:_(ls,this)})},_createSelectableList:function(){for(var t=this.getRawData(),e=t.mapDimension("value"),n=[],i=0,r=t.count();r>i;i++)n.push({name:t.getName(i),value:t.get(e,i),selected:qs(t,i,"selected")});return n},getDataParams:function(t){var e=this.getData(),n=Jb.superCall(this,"getDataParams",t),i=[];return e.each(e.mapDimension("value"),function(t){i.push(t)}),n.percent=Mo(i,t,e.hostModel.get("percentPrecision")),n.$vars.push("percent"),n},_defaultLabelLine:function(t){$i(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,minShowLabelAngle:0,selectedOffset:10,hoverOffset:10,avoidLabelOverlap:!0,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:!1,show:!0,position:"outer",alignTo:"none",margin:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1},animationType:"expansion",animationTypeUpdate:"transition",animationEasing:"cubicOut"}});c(Jb,Qb);var tS=Ed.prototype;tS.updateData=function(t,e,n){var i=this.childAt(0),r=this.childAt(1),a=this.childAt(2),l=t.hostModel,u=t.getItemModel(e),h=t.getItemLayout(e),c=o({},h);c.label=null;var d=l.getShallow("animationTypeUpdate");if(n){i.setShape(c);var f=l.getShallow("animationType");"scale"===f?(i.shape.r=h.r0,$a(i,{shape:{r:h.r}},l,e)):(i.shape.endAngle=h.startAngle,Ka(i,{shape:{endAngle:h.endAngle}},l,e))}else"expansion"===d?i.setShape(c):Ka(i,{shape:c},l,e);var p=t.getItemVisual(e,"color");i.useStyle(s({lineJoin:"bevel",fill:p},u.getModel("itemStyle").getItemStyle())),i.hoverStyle=u.getModel("emphasis.itemStyle").getItemStyle();var g=u.getShallow("cursor");g&&i.attr("cursor",g),Bd(this,t.getItemLayout(e),l.isSelected(null,e),l.get("selectedOffset"),l.get("animation"));var v=!n&&"transition"===d;this._updateLabel(t,e,v),this.highDownOnUpdate=u.get("hoverAnimation")&&l.isAnimationEnabled()?function(t,e){"emphasis"===e?(r.ignore=r.hoverIgnore,a.ignore=a.hoverIgnore,i.stopAnimation(!0),i.animateTo({shape:{r:h.r+l.get("hoverOffset")}},300,"elasticOut")):(r.ignore=r.normalIgnore,a.ignore=a.normalIgnore,i.stopAnimation(!0),i.animateTo({shape:{r:h.r}},300,"elasticOut"))}:null,Ba(this)},tS._updateLabel=function(t,e,n){var i=this.childAt(1),r=this.childAt(2),a=t.hostModel,o=t.getItemModel(e),s=t.getItemLayout(e),l=s.label,u=t.getItemVisual(e,"color");if(!l||isNaN(l.x)||isNaN(l.y))return void(r.ignore=r.normalIgnore=r.hoverIgnore=i.ignore=i.normalIgnore=i.hoverIgnore=!0);var h={points:l.linePoints||[[l.x,l.y],[l.x,l.y],[l.x,l.y]]},c={x:l.x,y:l.y};n?(Ka(i,{shape:h},a,e),Ka(r,{style:c},a,e)):(i.attr({shape:h}),r.attr({style:c})),r.attr({rotation:l.rotation,origin:[l.x,l.y],z2:10});var d=o.getModel("label"),f=o.getModel("emphasis.label"),p=o.getModel("labelLine"),g=o.getModel("emphasis.labelLine"),u=t.getItemVisual(e,"color");Na(r.style,r.hoverStyle={},d,f,{labelFetcher:t.hostModel,labelDataIndex:e,defaultText:l.text,autoColor:u,useInsideStyle:!!l.inside},{textAlign:l.textAlign,textVerticalAlign:l.verticalAlign,opacity:t.getItemVisual(e,"opacity")}),r.ignore=r.normalIgnore=!d.get("show"),r.hoverIgnore=!f.get("show"),i.ignore=i.normalIgnore=!p.get("show"),i.hoverIgnore=!g.get("show"),i.setStyle({stroke:u,opacity:t.getItemVisual(e,"opacity")}),i.setStyle(p.getModel("lineStyle").getLineStyle()),i.hoverStyle=g.getModel("lineStyle").getLineStyle();var v=p.get("smooth");v&&v===!0&&(v=.4),i.setShape({smooth:v})},h(Ed,tg);var eS=(ol.extend({type:"pie",init:function(){var t=new tg;this._sectorGroup=t},render:function(t,e,n,i){if(!i||i.from!==this.uid){var r=t.getData(),a=this._data,o=this.group,s=e.get("animation"),l=!a,u=t.get("animationType"),h=t.get("animationTypeUpdate"),c=_(Od,this.uid,t,s,n),d=t.get("selectedMode");if(r.diff(a).add(function(t){var e=new Ed(r,t);l&&"scale"!==u&&e.eachChild(function(t){t.stopAnimation(!0)}),d&&e.on("click",c),r.setItemGraphicEl(t,e),o.add(e)}).update(function(t,e){var n=a.getItemGraphicEl(e);l||"transition"===h||n.eachChild(function(t){t.stopAnimation(!0)}),n.updateData(r,t),n.off("click"),d&&n.on("click",c),o.add(n),r.setItemGraphicEl(t,n)}).remove(function(t){var e=a.getItemGraphicEl(t);o.remove(e)}).execute(),s&&r.count()>0&&(l?"scale"!==u:"transition"!==h)){for(var f=r.getItemLayout(0),p=1;isNaN(f.startAngle)&&p=i.r0}}}),function(t,e){f(e,function(e){e.update="updateView",mu(e,function(n,i){var r={};return i.eachComponent({mainType:"series",subType:t,query:n},function(t){t[e.method]&&t[e.method](n.name,n.dataIndex);var i=t.getData();i.each(function(e){var n=i.getName(e);r[n]=t.isSelected(n)||!1})}),{name:n.name,selected:r,seriesId:n.seriesId}})})}),nS=function(t){return{getTargetSeries:function(e){var n={},i=N();return e.eachSeriesByType(t,function(t){t.__paletteScope=n,i.set(t.uid,t)}),i},reset:function(t){var e=t.getRawData(),n={},i=t.getData();i.each(function(t){var e=i.getRawIndex(t);n[e]=t}),e.each(function(r){var a,o=n[r],s=null!=o&&i.getItemVisual(o,"color",!0),l=null!=o&&i.getItemVisual(o,"borderColor",!0);if(s&&l||(a=e.getItemModel(r)),!s){var u=a.get("itemStyle.color")||t.getColorFromPalette(e.getName(r)||r+"",t.__paletteScope,e.count());null!=o&&i.setItemVisual(o,"color",u)}if(!l){var h=a.get("itemStyle.borderColor");null!=o&&i.setItemVisual(o,"borderColor",h)}})}}},iS=Math.PI/180,rS=function(t,e,n,i,r,a){var o,s,l=t.getData(),u=[],h=!1,c=(t.get("minShowLabelAngle")||0)*iS;l.each(function(i){var a=l.getItemLayout(i),d=l.getItemModel(i),f=d.getModel("label"),p=f.get("position")||d.get("emphasis.label.position"),g=f.get("distanceToLabelLine"),v=f.get("alignTo"),m=yo(f.get("margin"),n),y=f.get("bleedMargin"),_=f.getFont(),x=d.getModel("labelLine"),w=x.get("length");w=yo(w,n);var b=x.get("length2");if(b=yo(b,n),!(a.angleD?-1:1)*b,N=z;S="edge"===v?0>D?r+m:r+n-m:R+(0>D?-g:g),M=N,I=[[O,B],[E,z],[R,N]]}T=L?"center":"edge"===v?D>0?"right":"left":D>0?"left":"right"}var F,V=f.get("rotate");F="number"==typeof V?V*(Math.PI/180):V?0>D?-C+Math.PI:-C:0,h=!!F,a.label={x:S,y:M,position:p,height:P.height,len:w,len2:b,linePoints:I,textAlign:T,verticalAlign:"middle",rotation:F,inside:L,labelDistance:g,labelAlignTo:v,labelMargin:m,bleedMargin:y,textRect:P,text:k,font:_},L||u.push(a.label)}}),!h&&t.get("avoidLabelOverlap")&&Rd(u,o,s,e,n,i,r,a)},aS=2*Math.PI,oS=Math.PI/180,sS=function(t,e,n){e.eachSeriesByType(t,function(t){var e=t.getData(),i=e.mapDimension("value"),r=Fd(t,n),a=t.get("center"),o=t.get("radius");x(o)||(o=[0,o]),x(a)||(a=[a,a]);var s=yo(r.width,n.getWidth()),l=yo(r.height,n.getHeight()),u=Math.min(s,l),h=yo(a[0],s)+r.x,c=yo(a[1],l)+r.y,d=yo(o[0],u/2),f=yo(o[1],u/2),p=-t.get("startAngle")*oS,g=t.get("minAngle")*oS,v=0;e.each(i,function(t){!isNaN(t)&&v++});var m=e.getSum(i),y=Math.PI/(m||v)*2,_=t.get("clockwise"),w=t.get("roseType"),b=t.get("stillShowZeroSum"),S=e.getDataExtent(i);S[0]=0;var M=aS,I=0,T=p,C=_?1:-1;if(e.each(i,function(t,n){var i;if(isNaN(t))return void e.setItemLayout(n,{angle:0/0,startAngle:0/0,endAngle:0/0,clockwise:_,cx:h,cy:c,r0:d,r:w?0/0:f,viewRect:r});i="area"!==w?0===m&&b?y:t*y:aS/v,g>i?(i=g,M-=g):I+=t;var a=T+C*i;e.setItemLayout(n,{angle:i,startAngle:T,endAngle:a,clockwise:_,cx:h,cy:c,r0:d,r:w?mo(t,S,[d,f]):f,viewRect:r}),T=a}),aS>M&&v)if(.001>=M){var D=aS/v;e.each(i,function(t,n){if(!isNaN(t)){var i=e.getItemLayout(n);i.angle=D,i.startAngle=p+C*n*D,i.endAngle=p+C*(n+1)*D}})}else y=M/I,T=p,e.each(i,function(t,n){if(!isNaN(t)){var i=e.getItemLayout(n),r=i.angle===g?g:t*y;i.startAngle=T,i.endAngle=T+C*r,T+=C*r}});rS(t,f,r.width,r.height,r.x,r.y)})},lS=function(t){return{seriesType:t,reset:function(t,e){var n=e.findComponents({mainType:"legend"});if(n&&n.length){var i=t.getData();i.filterSelf(function(t){for(var e=i.getName(t),r=0;r=0},getOrient:function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},defaultOption:{zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",itemStyle:{borderWidth:0},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:" sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}}});mu("legendToggleSelect","legendselectchanged",_(Vd,"toggleSelected")),mu("legendAllSelect","legendselectall",_(Vd,"allSelect")),mu("legendInverseSelect","legendinverseselect",_(Vd,"inverseSelect")),mu("legendSelect","legendselected",_(Vd,"select")),mu("legendUnSelect","legendunselected",_(Vd,"unSelect"));var dS=_,fS=f,pS=tg,gS=Iu({type:"legend.plain",newlineDisabled:!1,init:function(){this.group.add(this._contentGroup=new pS),this._backgroundEl,this.group.add(this._selectorGroup=new pS),this._isFirstRender=!0},getContentGroup:function(){return this._contentGroup},getSelectorGroup:function(){return this._selectorGroup},render:function(t,e,n){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var r=t.get("align"),a=t.get("orient");r&&"auto"!==r||(r="right"===t.get("left")&&"vertical"===a?"right":"left");var o=t.get("selector",!0),l=t.get("selectorPosition",!0);!o||l&&"auto"!==l||(l="horizontal"===a?"end":"start"),this.renderInner(r,t,e,n,o,a,l);var u=t.getBoxLayoutParams(),h={width:n.getWidth(),height:n.getHeight()},c=t.get("padding"),d=Uo(u,h,c),f=this.layoutInner(t,r,d,i,o,l),p=Uo(s({width:f.width,height:f.height},u),h,c);this.group.attr("position",[p.x-f.x,p.y-f.y]),this.group.add(this._backgroundEl=Hd(f,t))}},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},renderInner:function(t,e,n,i,r,a,o){var s=this.getContentGroup(),l=N(),u=e.get("selectedMode"),h=[];n.eachRawSeries(function(t){!t.get("legendHoverLink")&&h.push(t.id)}),fS(e.getData(),function(r,a){var o=r.get("name");if(!this.newlineDisabled&&(""===o||"\n"===o))return void s.add(new pS({newline:!0}));var c=n.getSeriesByName(o)[0];if(!l.get(o))if(c){var d=c.getData(),f=d.getVisual("color"),p=d.getVisual("borderColor");"function"==typeof f&&(f=f(c.getDataParams(0))),"function"==typeof p&&(p=p(c.getDataParams(0)));var g=d.getVisual("legendSymbol")||"roundRect",v=d.getVisual("symbol"),m=this._createItem(o,a,r,e,g,v,t,f,p,u);m.on("click",dS(Wd,o,null,i,h)).on("mouseover",dS(Xd,c.name,null,i,h)).on("mouseout",dS(Yd,c.name,null,i,h)),l.set(o,!0)}else n.eachRawSeries(function(n){if(!l.get(o)&&n.legendVisualProvider){var s=n.legendVisualProvider;if(!s.containName(o))return;var c=s.indexOfName(o),d=s.getItemVisual(c,"color"),f=s.getItemVisual(c,"borderColor"),p="roundRect",g=this._createItem(o,a,r,e,p,null,t,d,f,u);g.on("click",dS(Wd,null,o,i,h)).on("mouseover",dS(Xd,null,o,i,h)).on("mouseout",dS(Yd,null,o,i,h)),l.set(o,!0)}},this)},this),r&&this._createSelector(r,e,i,a,o)},_createSelector:function(t,e,n){function i(t){var i=t.type,a=new gm({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===i?"legendAllSelect":"legendInverseSelect"})}});r.add(a);var o=e.getModel("selectorLabel"),s=e.getModel("emphasis.selectorLabel");Na(a.style,a.hoverStyle={},o,s,{defaultText:t.title,isRectText:!1}),Ba(a)}var r=this.getSelectorGroup();fS(t,function(t){i(t)})},_createItem:function(t,e,n,i,r,a,s,l,u,h){var c=i.get("itemWidth"),d=i.get("itemHeight"),f=i.get("inactiveColor"),p=i.get("inactiveBorderColor"),g=i.get("symbolKeepAspect"),v=i.getModel("itemStyle"),m=i.isSelected(t),y=new pS,_=n.getModel("textStyle"),x=n.get("icon"),w=n.getModel("tooltip"),b=w.parentModel;r=x||r;var S=Gh(r,0,0,c,d,m?l:f,null==g?!0:g);if(y.add(Gd(S,r,v,u,p,m)),!x&&a&&(a!==r||"none"===a)){var M=.8*d;"none"===a&&(a="circle");var I=Gh(a,(c-M)/2,(d-M)/2,M,M,m?l:f,null==g?!0:g);y.add(Gd(I,a,v,u,p,m))}var T="left"===s?c+5:-5,C=s,D=i.get("formatter"),A=t;"string"==typeof D&&D?A=D.replace("{name}",null!=t?t:""):"function"==typeof D&&(A=D(t)),y.add(new gm({style:Va({},_,{text:A,x:T,y:d/2,textFill:m?_.getTextColor():f,textAlign:C,textVerticalAlign:"middle"})}));var k=new Cm({shape:y.getBoundingRect(),invisible:!0,tooltip:w.get("show")?o({content:t,formatter:b.get("formatter",!0)||function(){return t},formatterParams:{componentType:"legend",legendIndex:i.componentIndex,name:t,$vars:["name"]}},w.option):null});return y.add(k),y.eachChild(function(t){t.silent=!0}),k.silent=!h,this.getContentGroup().add(y),Ba(y),y.__legendDataIndex=e,y},layoutInner:function(t,e,n,i,r,a){var o=this.getContentGroup(),s=this.getSelectorGroup();xy(t.get("orient"),o,t.get("itemGap"),n.width,n.height);var l=o.getBoundingRect(),u=[-l.x,-l.y];if(r){xy("horizontal",s,t.get("selectorItemGap",!0));var h=s.getBoundingRect(),c=[-h.x,-h.y],d=t.get("selectorButtonGap",!0),f=t.getOrient().index,p=0===f?"width":"height",g=0===f?"height":"width",v=0===f?"y":"x";"end"===a?c[f]+=l[p]+d:u[f]+=h[p]+d,c[1-f]+=l[g]/2-h[g]/2,s.attr("position",c),o.attr("position",u);var m={x:0,y:0};return m[p]=l[p]+d+h[p],m[g]=Math.max(l[g],h[g]),m[v]=Math.min(0,h[v]+c[1-f]),m}return o.attr("position",u),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}}),vS=function(t){var e=t.findComponents({mainType:"legend"});
+e&&e.length&&t.filterSeries(function(t){for(var n=0;nn[r],f=[-h.x,-h.y];e||(f[i]=s.position[i]);var p=[0,0],g=[-c.x,-c.y],v=A(t.get("pageButtonGap",!0),t.get("itemGap",!0));if(d){var m=t.get("pageButtonPosition",!0);"end"===m?g[i]+=n[r]-c[r]:p[i]+=c[r]+v}g[1-i]+=h[a]/2-c[a]/2,s.attr("position",f),l.attr("position",p),u.attr("position",g);var y={x:0,y:0};if(y[r]=d?n[r]:h[r],y[a]=Math.max(h[a],c[a]),y[o]=Math.min(0,c[o]+g[1-i]),l.__rectSize=n[r],d){var _={x:0,y:0};_[r]=Math.max(n[r]-c[r]-v,0),_[a]=y[a],l.setClipPath(new Cm({shape:_})),l.__rectSize=_[r]}else u.eachChild(function(t){t.attr({invisible:!0,silent:!0})});var x=this._getPageInfo(t);return null!=x.pageIndex&&Ka(s,{position:x.contentPosition},d?t:!1),this._updatePageInfoView(t,x),y},_pageGo:function(t,e,n){var i=this._getPageInfo(e)[t];null!=i&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:e.id})},_updatePageInfoView:function(t,e){var n=this._controllerGroup;f(["pagePrev","pageNext"],function(i){var r=null!=e[i+"DataIndex"],a=n.childOfName(i);a&&(a.setStyle("fill",r?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),a.cursor=r?"pointer":"default")});var i=n.childOfName("pageText"),r=t.get("pageFormatter"),a=e.pageIndex,o=null!=a?a+1:0,s=e.pageCount;i&&r&&i.setStyle("text",b(r)?r.replace("{current}",o).replace("{total}",s):r({current:o,total:s}))},_getPageInfo:function(t){function e(t){if(t){var e=t.getBoundingRect(),n=e[l]+t.position[o];return{s:n,e:n+e[s],i:t.__legendDataIndex}}}function n(t,e){return t.e>=e&&t.s<=e+a}var i=t.get("scrollDataIndex",!0),r=this.getContentGroup(),a=this._containerGroup.__rectSize,o=t.getOrient().index,s=_S[o],l=xS[o],u=this._findTargetItemIndex(i),h=r.children(),c=h[u],d=h.length,f=d?1:0,p={contentPosition:r.position.slice(),pageCount:f,pageIndex:f-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!c)return p;var g=e(c);p.contentPosition[o]=-g.s;for(var v=u+1,m=g,y=g,_=null;d>=v;++v)_=e(h[v]),(!_&&y.e>m.s+a||_&&!n(_,m.s))&&(m=y.i>m.i?y:_,m&&(null==p.pageNextDataIndex&&(p.pageNextDataIndex=m.i),++p.pageCount)),y=_;for(var v=u-1,m=g,y=g,_=null;v>=-1;--v)_=e(h[v]),_&&n(y,_.s)||!(m.io||x(o))return{point:[]};var s=a.getItemGraphicEl(o),l=n.coordinateSystem;if(n.getTooltipPosition)i=n.getTooltipPosition(o)||[];else if(l&&l.dataToPoint)i=l.dataToPoint(a.getValues(p(l.dimensions,function(t){return a.mapDimension(t)}),o,!0))||[];else if(s){var u=s.getBoundingRect().clone();u.applyTransform(s.transform),i=[u.x+u.width/2,u.y+u.height/2]}return{point:i,el:s}},SS=f,MS=_,IS=ar(),TS=function(t,e,n){var i=t.currTrigger,r=[t.x,t.y],a=t,o=t.dispatchAction||y(n.dispatchAction,n),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){nf(r)&&(r=bS({seriesIndex:a.seriesIndex,dataIndex:a.dataIndex},e).point);var l=nf(r),u=a.axesInfo,h=s.axesInfo,c="leave"===i||nf(r),d={},f={},p={list:[],map:{}},g={showPointer:MS(Zd,f),showTooltip:MS(Kd,p)};SS(s.coordSysMap,function(t,e){var n=l||t.containPoint(r);SS(s.coordSysAxesInfo[e],function(t){var e=t.axis,i=tf(u,t);if(!c&&n&&(!u||i)){var a=i&&i.value;null!=a||l||(a=e.pointToData(r)),null!=a&&qd(t,a,g,!1,d)}})});var v={};return SS(h,function(t,e){var n=t.linkGroup;n&&!f[e]&&SS(n.axesInfo,function(e,i){var r=f[i];if(e!==t&&r){var a=r.value;n.mapper&&(a=t.axis.scale.parse(n.mapper(a,ef(e),ef(t)))),v[t.key]=a}})}),SS(v,function(t,e){qd(h[e],t,g,!0,d)}),$d(f,h,d),Qd(p,r,t,o),Jd(h,o,n),d}},CS=(Mu({type:"axisPointer",coordSysAxesInfo:null,defaultOption:{show:"auto",triggerOn:null,zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#aaa",width:1,type:"solid"},shadowStyle:{color:"rgba(150,150,150,0.3)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,shadowBlur:3,shadowColor:"#aaa"},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}}}),ar()),DS=f,AS=Iu({type:"axisPointer",render:function(t,e,n){var i=e.getComponent("tooltip"),r=t.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";rf("axisPointer",n,function(t,e,n){"none"!==r&&("leave"===t||r.indexOf(t)>=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})})},remove:function(t,e){hf(e.getZr(),"axisPointer"),AS.superApply(this._model,"remove",arguments)},dispose:function(t,e){hf("axisPointer",e),AS.superApply(this._model,"dispose",arguments)}}),kS=ar(),PS=i,LS=y;cf.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(t,e,n,i){var r=e.get("value"),a=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,i||this._lastValue!==r||this._lastStatus!==a){this._lastValue=r,this._lastStatus=a;var o=this._group,s=this._handle;if(!a||"hide"===a)return o&&o.hide(),void(s&&s.hide());o&&o.show(),s&&s.show();var l={};this.makeElOption(l,r,t,e,n);var u=l.graphicKey;u!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=u;var h=this._moveAnimation=this.determineAnimation(t,e);if(o){var c=_(df,e,h);this.updatePointerEl(o,l,c,e),this.updateLabelEl(o,l,c,e)}else o=this._group=new tg,this.createPointerEl(o,l,t,e),this.createLabelEl(o,l,t,e),n.getZr().add(o);vf(o,e,!0),this._renderHandle(r)}},remove:function(t){this.clear(t)},dispose:function(t){this.clear(t)},determineAnimation:function(t,e){var n=e.get("animation"),i=t.axis,r="category"===i.type,a=e.get("snap");if(!a&&!r)return!1;if("auto"===n||null==n){var o=this.animationThreshold;if(r&&i.getBandWidth()>o)return!0;if(a){var s=td(t).seriesDataCount,l=i.getExtent();return Math.abs(l[0]-l[1])/s>o}return!1}return n===!0},makeElOption:function(){},createPointerEl:function(t,e){var n=e.pointer;if(n){var i=kS(t).pointerEl=new Qm[n.type](PS(e.pointer));t.add(i)}},createLabelEl:function(t,e,n,i){if(e.label){var r=kS(t).labelEl=new Cm(PS(e.label));t.add(r),pf(r,i)}},updatePointerEl:function(t,e,n){var i=kS(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),n(i,{shape:e.pointer.shape}))},updateLabelEl:function(t,e,n,i){var r=kS(t).labelEl;r&&(r.setStyle(e.label.style),n(r,{shape:e.label.shape,position:e.label.position}),pf(r,i))},_renderHandle:function(t){if(!this._dragging&&this.updateHandleTransform){var e=this._axisPointerModel,n=this._api.getZr(),i=this._handle,r=e.getModel("handle"),a=e.get("status");if(!r.get("show")||!a||"hide"===a)return i&&n.remove(i),void(this._handle=null);var o;this._handle||(o=!0,i=this._handle=ro(r.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){gp(t.event)},onmousedown:LS(this._onHandleDragMove,this,0,0),drift:LS(this._onHandleDragMove,this),ondragend:LS(this._onHandleDragEnd,this)}),n.add(i)),vf(i,e,!1);var s=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];i.setStyle(r.getItemStyle(null,s));var l=r.get("size");x(l)||(l=[l,l]),i.attr("scale",[l[0]/2,l[1]/2]),dl(this,"_doDispatchAxisPointer",r.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,o)}},_moveHandleToValue:function(t,e){df(this._axisPointerModel,!e&&this._moveAnimation,this._handle,gf(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(t,e){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(gf(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(gf(i)),kS(n).lastProp=null,this._doDispatchAxisPointer()}},_doDispatchAxisPointer:function(){var t=this._handle;if(t){var e=this._payloadInfo,n=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:e.cursorPoint[0],y:e.cursorPoint[1],tooltipOption:e.tooltipOption,axesInfo:[{axisDim:n.axis.dim,axisIndex:n.componentIndex}]})}},_onHandleDragEnd:function(){this._dragging=!1;var t=this._handle;if(t){var e=this._axisPointerModel.get("value");this._moveHandleToValue(e),this._api.dispatchAction({type:"hideTip"})}},getHandleTransform:null,updateHandleTransform:null,clear:function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,i=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),i&&e.remove(i),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(t,e,n){return n=n||0,{x:t[n],y:t[1-n],width:e[n],height:e[1-n]}}},cf.prototype.constructor=cf,fr(cf);var OS=cf.extend({makeElOption:function(t,e,n,i,r){var a=n.axis,o=a.grid,s=i.get("type"),l=If(o,a).getOtherAxis(a).getGlobalExtent(),u=a.toGlobalCoord(a.dataToCoord(e,!0));if(s&&"none"!==s){var h=mf(i),c=BS[s](a,u,l);c.style=h,t.graphicKey=c.type,t.pointer=c}var d=od(o.model,n);bf(e,t,d,n,i,r)},getHandleTransform:function(t,e,n){var i=od(e.axis.grid.model,e,{labelInside:!1});return i.labelMargin=n.get("handle.margin"),{position:wf(e.axis,t,i),rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(t,e,n){var i=n.axis,r=i.grid,a=i.getGlobalExtent(!0),o=If(r,i).getOtherAxis(i).getGlobalExtent(),s="x"===i.dim?0:1,l=t.position;l[s]+=e[s],l[s]=Math.min(a[1],l[s]),l[s]=Math.max(a[0],l[s]);var u=(o[1]+o[0])/2,h=[u,u];h[s]=l[s];var c=[{verticalAlign:"middle"},{align:"center"}];return{position:l,rotation:t.rotation,cursorPoint:h,tooltipOption:c[s]}}}),BS={line:function(t,e,n){var i=Sf([e,n[0]],[e,n[1]],Tf(t));return{type:"Line",subPixelOptimize:!0,shape:i}},shadow:function(t,e,n){var i=Math.max(1,t.getBandWidth()),r=n[1]-n[0];return{type:"Rect",shape:Mf([e-i/2,n[0]],[i,r],Tf(t))}}};Mb.registerAxisPointerClass("CartesianAxisPointer",OS),pu(function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!x(e)&&(t.axisPointer.link=[e])}}),gu(px.PROCESSOR.STATISTIC,function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=qc(t,e)}),mu({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},TS),Mu({type:"tooltip",dependencies:["axisPointer"],defaultOption:{zlevel:0,z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:!1,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"rgba(50,50,50,0.7)",borderColor:"#333",borderRadius:4,borderWidth:0,padding:5,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#fff",fontSize:14}}});var ES=f,zS=Eo,RS=["","-webkit-","-moz-","-o-"],NS="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";kf.prototype={constructor:kf,_enterable:!0,update:function(){var t=this._container,e=t.currentStyle||document.defaultView.getComputedStyle(t),n=t.style;"absolute"!==n.position&&"absolute"!==e.position&&(n.position="relative")},show:function(t){clearTimeout(this._hideTimeout);var e=this.el;e.style.cssText=NS+Af(t)+";left:"+this._x+"px;top:"+this._y+"px;"+(t.get("extraCssText")||""),e.style.display=e.innerHTML?"block":"none",e.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(t){this.el.innerHTML=null==t?"":t},setEnterable:function(t){this._enterable=t},getSize:function(){var t=this.el;return[t.clientWidth,t.clientHeight]},moveTo:function(t,e){var n,i=this._zr;i&&i.painter&&(n=i.painter.getViewportRootOffset())&&(t+=n.offsetLeft,e+=n.offsetTop);var r=this.el.style;r.left=t+"px",r.top=e+"px",this._x=t,this._y=e},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(t){!this._show||this._inContent&&this._enterable||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(y(this.hide,this),t)):this.hide())},isShow:function(){return this._show},getOuterSize:function(){var t=this.el.clientWidth,e=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var n=document.defaultView.getComputedStyle(this.el);n&&(t+=parseInt(n.borderLeftWidth,10)+parseInt(n.borderRightWidth,10),e+=parseInt(n.borderTopWidth,10)+parseInt(n.borderBottomWidth,10))}return{width:t,height:e}}},Pf.prototype={constructor:Pf,_enterable:!0,update:function(){},show:function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(t,e,n){this.el&&this._zr.remove(this.el);for(var i={},r=t,a="{marker",o="|}",s=r.indexOf(a);s>=0;){var l=r.indexOf(o),u=r.substr(s+a.length,l-s-a.length);i["marker"+u]=u.indexOf("sub")>-1?{textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:e[u],textOffset:[3,0]}:{textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:e[u]},r=r.substr(l+1),s=r.indexOf("{marker")}this.el=new gm({style:{rich:i,text:t,textLineHeight:20,textBackgroundColor:n.get("backgroundColor"),textBorderRadius:n.get("borderRadius"),textFill:n.get("textStyle.color"),textPadding:n.get("padding")},z:n.get("z")}),this._zr.add(this.el);var h=this;this.el.on("mouseover",function(){h._enterable&&(clearTimeout(h._hideTimeout),h._show=!0),h._inContent=!0}),this.el.on("mouseout",function(){h._enterable&&h._show&&h.hideLater(h._hideDelay),h._inContent=!1})},setEnterable:function(t){this._enterable=t},getSize:function(){var t=this.el.getBoundingRect();return[t.width,t.height]},moveTo:function(t,e){this.el&&this.el.attr("position",[t,e])},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(t){!this._show||this._inContent&&this._enterable||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(y(this.hide,this),t)):this.hide())},isShow:function(){return this._show},getOuterSize:function(){var t=this.getSize();return{width:t[0],height:t[1]}}};var FS=y,VS=f,HS=yo,GS=new Cm({shape:{x:-1,y:-1,width:2,height:2}});Iu({type:"tooltip",init:function(t,e){if(!Hf.node){var n=t.getComponent("tooltip"),i=n.get("renderMode");this._renderMode=hr(i);var r;"html"===this._renderMode?(r=new kf(e.getDom(),e),this._newLine="
"):(r=new Pf(e),this._newLine="\n"),this._tooltipContent=r}},render:function(t,e,n){if(!Hf.node){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=n,this._lastDataByCoordSys=null,this._alwaysShowContent=t.get("alwaysShowContent");var i=this._tooltipContent;i.update(),i.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow()}},_initGlobalListener:function(){var t=this._tooltipModel,e=t.get("triggerOn");rf("itemTooltip",this._api,FS(function(t,n,i){"none"!==e&&(e.indexOf(t)>=0?this._tryShow(n,i):"leave"===t&&this._hide(i))},this))},_keepShow:function(){var t=this._tooltipModel,e=this._ecModel,n=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==t.get("triggerOn")){var i=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!n.isDisposed()&&i.manuallyShowTip(t,e,n,{x:i._lastX,y:i._lastY})})}},manuallyShowTip:function(t,e,n,i){if(i.from!==this.uid&&!Hf.node){var r=Of(i,n);this._ticket="";var a=i.dataByCoordSys;if(i.tooltip&&null!=i.x&&null!=i.y){var o=GS;o.position=[i.x,i.y],o.update(),o.tooltip=i.tooltip,this._tryShow({offsetX:i.x,offsetY:i.y,target:o},r)}else if(a)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,event:{},dataByCoordSys:i.dataByCoordSys,tooltipOption:i.tooltipOption},r);else if(null!=i.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,i))return;var s=bS(i,e),l=s.point[0],u=s.point[1];null!=l&&null!=u&&this._tryShow({offsetX:l,offsetY:u,position:i.position,target:s.el,event:{}},r)}else null!=i.x&&null!=i.y&&(n.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:n.getZr().findHover(i.x,i.y).target,event:{}},r))}},manuallyHideTip:function(t,e,n,i){var r=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,i.from!==this.uid&&this._hide(Of(i,n))},_manuallyAxisShowTip:function(t,e,n,i){var r=i.seriesIndex,a=i.dataIndex,o=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=a&&null!=o){var s=e.getSeriesByIndex(r);if(s){var l=s.getData(),t=Lf([l.getItemModel(a),s,(s.coordinateSystem||{}).model,t]);if("axis"===t.get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:a,position:i.position}),!0}}},_tryShow:function(t,e){var n=t.target,i=this._tooltipModel;if(i){this._lastX=t.offsetX,this._lastY=t.offsetY;var r=t.dataByCoordSys;r&&r.length?this._showAxisTooltip(r,t):n&&null!=n.dataIndex?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(t,n,e)):n&&n.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(t,n,e)):(this._lastDataByCoordSys=null,this._hide(e))}},_showOrMove:function(t,e){var n=t.get("showDelay");e=y(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},_showAxisTooltip:function(t,e){var n=this._ecModel,i=this._tooltipModel,a=[e.offsetX,e.offsetY],o=[],s=[],l=Lf([e.tooltipOption,i]),u=this._renderMode,h=this._newLine,c={};VS(t,function(t){VS(t.dataByAxis,function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),i=t.value,a=[];if(e&&null!=i){var l=xf(i,e.axis,n,t.seriesDataIndices,t.valueLabelOpt);f(t.seriesDataIndices,function(o){var h=n.getSeriesByIndex(o.seriesIndex),d=o.dataIndexInside,f=h&&h.getDataParams(d);if(f.axisDim=t.axisDim,f.axisIndex=t.axisIndex,f.axisType=t.axisType,f.axisId=t.axisId,f.axisValue=zh(e.axis,i),f.axisValueLabel=l,f){s.push(f);var p,g=h.formatTooltip(d,!0,null,u);if(S(g)){p=g.html;var v=g.markers;r(c,v)}else p=g;a.push(p)}});var d=l;o.push("html"!==u?a.join(h):(d?zo(d)+h:"")+a.join(h))}})},this),o.reverse(),o=o.join(this._newLine+this._newLine);var d=e.position;this._showOrMove(l,function(){this._updateContentNotChangedOnAxis(t)?this._updatePosition(l,d,a[0],a[1],this._tooltipContent,s):this._showTooltipContent(l,o,s,Math.random(),a[0],a[1],d,void 0,c)})},_showSeriesItemTooltip:function(t,e,n){var i=this._ecModel,r=e.seriesIndex,a=i.getSeriesByIndex(r),o=e.dataModel||a,s=e.dataIndex,l=e.dataType,u=o.getData(),h=Lf([u.getItemModel(s),o,a&&(a.coordinateSystem||{}).model,this._tooltipModel]),c=h.get("trigger");if(null==c||"item"===c){var d,f,p=o.getDataParams(s,l),g=o.formatTooltip(s,!1,l,this._renderMode);S(g)?(d=g.html,f=g.markers):(d=g,f=null);var v="item_"+o.name+"_"+s;this._showOrMove(h,function(){this._showTooltipContent(h,d,p,v,t.offsetX,t.offsetY,t.position,t.target,f)}),n({type:"showTip",dataIndexInside:s,dataIndex:u.getRawIndex(s),seriesIndex:r,from:this.uid})}},_showComponentItemTooltip:function(t,e,n){var i=e.tooltip;if("string"==typeof i){var r=i;i={content:r,formatter:r}}var a=new uo(i,this._tooltipModel,this._ecModel),o=a.get("content"),s=Math.random();this._showOrMove(a,function(){this._showTooltipContent(a,o,a.get("formatterParams")||{},s,t.offsetX,t.offsetY,t.position,e)}),n({type:"showTip",from:this.uid})},_showTooltipContent:function(t,e,n,i,r,a,o,s,l){if(this._ticket="",t.get("showContent")&&t.get("show")){var u=this._tooltipContent,h=t.get("formatter");o=o||t.get("position");var c=e;if(h&&"string"==typeof h)c=Ro(h,n,!0);else if("function"==typeof h){var d=FS(function(e,i){e===this._ticket&&(u.setContent(i,l,t),this._updatePosition(t,o,r,a,u,n,s))},this);this._ticket=i,c=h(n,i,d)}u.setContent(c,l,t),u.show(t),this._updatePosition(t,o,r,a,u,n,s)}},_updatePosition:function(t,e,n,i,r,a,o){var s=this._api.getWidth(),l=this._api.getHeight();e=e||t.get("position");var u=r.getSize(),h=t.get("align"),c=t.get("verticalAlign"),d=o&&o.getBoundingRect().clone();if(o&&d.applyTransform(o.transform),"function"==typeof e&&(e=e([n,i],a,r.el,d,{viewSize:[s,l],contentSize:u.slice()})),x(e))n=HS(e[0],s),i=HS(e[1],l);else if(S(e)){e.width=u[0],e.height=u[1];var f=Uo(e,{width:s,height:l});n=f.x,i=f.y,h=null,c=null}else if("string"==typeof e&&o){var p=zf(e,d,u);n=p[0],i=p[1]}else{var p=Bf(n,i,r,s,l,h?null:20,c?null:20);n=p[0],i=p[1]}if(h&&(n-=Rf(h)?u[0]/2:"right"===h?u[0]:0),c&&(i-=Rf(c)?u[1]/2:"bottom"===c?u[1]:0),t.get("confine")){var p=Ef(n,i,r,s,l);n=p[0],i=p[1]}r.moveTo(n,i)},_updateContentNotChangedOnAxis:function(t){var e=this._lastDataByCoordSys,n=!!e&&e.length===t.length;return n&&VS(e,function(e,i){var r=e.dataByAxis||{},a=t[i]||{},o=a.dataByAxis||[];n&=r.length===o.length,n&&VS(r,function(t,e){var i=o[e]||{},r=t.seriesDataIndices||[],a=i.seriesDataIndices||[];n&=t.value===i.value&&t.axisType===i.axisType&&t.axisId===i.axisId&&r.length===a.length,n&&VS(r,function(t,e){var i=a[e];n&=t.seriesIndex===i.seriesIndex&&t.dataIndex===i.dataIndex})})}),this._lastDataByCoordSys=t,!!n},_hide:function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},dispose:function(t,e){Hf.node||(this._tooltipContent.hide(),hf("itemTooltip",e))}}),mu({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},function(){}),mu({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},function(){}),t.version=tx,t.dependencies=ex,t.PRIORITY=px,t.init=su,t.connect=lu,t.disConnect=uu,t.disconnect=Ex,t.dispose=hu,t.getInstanceByDom=cu,t.getInstanceById=du,t.registerTheme=fu,t.registerPreprocessor=pu,t.registerProcessor=gu,t.registerPostUpdate=vu,t.registerAction=mu,t.registerCoordinateSystem=yu,t.getCoordinateSystemDimensions=_u,t.registerLayout=xu,t.registerVisual=wu,t.registerLoading=Su,t.extendComponentModel=Mu,t.extendComponentView=Iu,t.extendSeriesModel=Tu,t.extendChartView=Cu,t.setCanvasCreator=Du,t.registerMap=Au,t.getMap=ku,t.dataTool=zx,t.zrender=Qg,t.number=uy,t.format=vy,t.throttle=cl,t.helper=Nw,t.matrix=bp,t.vector=sp,t.color=Hp,t.parseGeoJSON=Vw,t.parseGeoJson=Xw,t.util=Yw,t.graphic=Uw,t.List=jx,t.Model=uo,t.Axis=Ww,t.env=Hf});
\ No newline at end of file
diff --git a/childPackage/miniprogram_npm/towxml/img/img.js b/childPackage/miniprogram_npm/towxml/img/img.js
new file mode 100644
index 0000000..1254b2a
--- /dev/null
+++ b/childPackage/miniprogram_npm/towxml/img/img.js
@@ -0,0 +1,98 @@
+const config = require('../config');
+Component({
+ options: {
+ styleIsolation: 'shared'
+ },
+ properties: {
+ data: {
+ type: Object,
+ value: {}
+ }
+ },
+ data: {
+ attr:{
+ src:'',
+ class:'',
+ style:''
+ },
+ size:{
+ w:0,
+ h:0
+ },
+ styleObj:{}
+ },
+ lifetimes:{
+ attached:function(){
+ const _ts = this;
+ let dataAttr = this.data.data.attrs;
+
+ // 将图片大小处理到对象中
+ if(dataAttr.width){
+ _ts.data.size.w = +dataAttr.width / config.dpr;
+ };
+
+ if(dataAttr.height){
+ _ts.data.size.h = +dataAttr.height / config.dpr;
+ };
+
+ // 将样式合并到样式对象中
+ if(dataAttr.style){
+ let re = /;\s{0,}/ig;
+ dataAttr.style = dataAttr.style.replace(re,';');
+ dataAttr.style.split(';').forEach(item => {
+ let itemArr = item.split(':');
+ if(/^(width|height)$/i.test(itemArr[0])){
+ let num = parseInt(itemArr[1]) || 0,
+ key = '';
+ // itemArr[1] = num / config.dpr + itemArr[1].replace(num,'');
+ switch (itemArr[0].toLocaleLowerCase()) {
+ case 'width':
+ key = 'w';
+ break;
+ case 'height':
+ key = 'h';
+ break;
+ };
+ _ts.data.size[key] = num / config.dpr;
+ }else{
+ _ts.data.styleObj[itemArr[0]] = itemArr[1];
+ };
+ });
+ };
+
+ // 设置公式图片
+ _ts.setData({
+ attrs:{
+ src:dataAttr.src,
+ class:dataAttr.class,
+ style:_ts.setStyle(_ts.data.styleObj)
+ },
+ size:_ts.data.size
+ });
+ }
+ },
+ methods: {
+ // 设置图片样式
+ setStyle:function(o){
+ let str = ``;
+ for(let key in o){
+ str += `${key}:${o[key]};`;
+ };
+ return str;
+ },
+
+ // 图片加载完成设置图片大小
+ load:function(e){
+ const _ts = this;
+
+ if(!_ts.data.size.w || !_ts.data.size.h){
+ _ts.setData({
+ size:{
+ w:e.detail.width / config.dpr,
+ h:e.detail.height / config.dpr
+ }
+ });
+ };
+ }
+ }
+})
\ No newline at end of file
diff --git a/childPackage/miniprogram_npm/towxml/img/img.json b/childPackage/miniprogram_npm/towxml/img/img.json
new file mode 100644
index 0000000..32640e0
--- /dev/null
+++ b/childPackage/miniprogram_npm/towxml/img/img.json
@@ -0,0 +1,3 @@
+{
+ "component": true
+}
\ No newline at end of file
diff --git a/childPackage/miniprogram_npm/towxml/img/img.wxml b/childPackage/miniprogram_npm/towxml/img/img.wxml
new file mode 100644
index 0000000..1143d50
--- /dev/null
+++ b/childPackage/miniprogram_npm/towxml/img/img.wxml
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/childPackage/miniprogram_npm/towxml/img/img.wxss b/childPackage/miniprogram_npm/towxml/img/img.wxss
new file mode 100644
index 0000000..e69de29
diff --git a/childPackage/miniprogram_npm/towxml/index.js b/childPackage/miniprogram_npm/towxml/index.js
new file mode 100644
index 0000000..be627ca
--- /dev/null
+++ b/childPackage/miniprogram_npm/towxml/index.js
@@ -0,0 +1,19 @@
+const md = require('./parse/markdown/index'),
+ parse = require('./parse/index')
+
+module.exports = (str,type,option)=>{
+ option = option || {};
+ let result;
+ switch (type) {
+ case 'markdown':
+ result = parse(md(str),option);
+ break;
+ case 'html':
+ result = parse(str,option);
+ break;
+ default:
+ throw new Error('Invalid type, only markdown and html are supported');
+ break;
+ };
+ return result;
+};
diff --git a/childPackage/miniprogram_npm/towxml/index.js.map b/childPackage/miniprogram_npm/towxml/index.js.map
new file mode 100644
index 0000000..b42693f
--- /dev/null
+++ b/childPackage/miniprogram_npm/towxml/index.js.map
@@ -0,0 +1 @@
+{"version":3,"sources":["index.js","parse/markdown/index.js","parse/highlight/index.js","config.js","parse/highlight/highlight.js","parse/markdown/markdown.js","parse/index.js","parse/parse2/index.js","parse/parse2/domhandler/index.js","parse/parse2/domhandler/node.js","parse/parse2/Parser.js","parse/parse2/Tokenizer.js","parse/parse2/entities/decode_codepoint.js","parse/parse2/entities/maps/decode.js","parse/parse2/entities/maps/entities.js","parse/parse2/entities/maps/legacy.js","parse/parse2/entities/maps/xml.js"],"names":[],"mappings":";;;;;;;AAAA;AACA;AACA;AACA,ACHA;ADIA,ACHA;ADIA,ACHA;ADIA,AENA,ADGA;ADIA,AENA,ADGA;ADIA,AENA,ADGA;AELA,AHSA,AENA,ADGA;AELA,AHSA,AENA,ADGA;AELA,AHSA,AENA,ADGA;AELA,AHSA,AIZA,AFMA,ADGA;AELA,AHSA,ACHA;AELA,AHSA,ACHA;AELA,AHSA,ACHA,AIZA;AFOA,AHSA,ACHA,AIZA;AFOA,AHSA,ACHA,AIZA;AFOA,AHSA,AMlBA,ALeA,AIZA;AFOA,AHSA,AMlBA,ALeA,AIZA;AFOA,AGTA,ALeA;AELA,AGTA,ALeA,AMlBA;AJaA,AGTA,ALeA,AMlBA;AJaA,AGTA,ALeA;AELA,AGTA,ALeA,AOrBA;ALgBA,AGTA,ALeA,AOrBA;ALgBA,AGTA,ALeA;AELA,AGTA,ALeA,AQxBA;ANmBA,AGTA,ALeA,AQxBA;ANmBA,AGTA,ALeA;AELA,AGTA,ALeA,AS3BA;APsBA,AGTA,ALeA,AS3BA;APsBA,AGTA,ALeA;AELA,AGTA,ALeA,AU9BA;ARyBA,AGTA,ALeA,AU9BA;ARyBA,AGTA,ALeA;AELA,AGTA,ALeA,AWjCA;AT4BA,AGTA,ALeA,AWjCA;AT4BA,AGTA,ALeA;AELA,AGTA,ALeA,AYpCA;AV+BA,AGTA,ALeA,AYpCA;AV+BA,AGTA,ALeA;AELA,AGTA,ALeA,AavCA;AXkCA,AGTA,ALeA,AavCA;AXkCA,AGTA,ALeA;AELA,AGTA,ALeA,Ac1CA;AZqCA,AGTA,ALeA,Ac1CA;AZqCA,AGTA,ALeA;AELA,AGTA,ALeA,Ae7CA;AbwCA,AGTA,ALeA,Ae7CA;AbwCA,AGTA,ALeA;AELA,AGTA,ALeA;AELA,AGTA,ALeA;AELA,AGTA,ALeA;AELA,AGTA,ALeA;AELA,AGTA,ALeA;AELA,AGTA,ALeA;AELA,AGTA,ALeA;AELA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"index.js","sourcesContent":["const md = require('./parse/markdown/index'),\n parse = require('./parse/index')\n\nmodule.exports = (str,type,option)=>{\n option = option || {};\n let result;\n switch (type) {\n case 'markdown':\n result = parse(md(str),option);\n break;\n case 'html':\n result = parse(str,option);\n break;\n default:\n throw new Error('Invalid type, only markdown and html are supported');\n break;\n };\n return result;\n};\n","let hljs;\nhljs = require('../highlight/index');\n\nconst config = require('../../config'),\n mdOption = (()=>{\n let result = {\n html: true,\n xhtmlOut: true,\n typographer: true,\n breaks: true,\n };\n\n if(config.highlight.length && hljs){\n result.highlight = (code,lang,callback)=>{\n let lineLen = code.split(/\\r|\\n/ig).length,\n result = hljs.highlightAuto(code).value;\n\n result = result.replace(/\\r|\\n/g,'
').replace(/ /g,' ').replace(/\\t/g,' ');\n\n if(config.showLineNumber){\n let lineStr = (()=>{\n let str = ``;\n for(let i=0;i${i+1}`\n };\n\n str += `
`;\n return str;\n })();\n return lineStr + result;\n };\n return result;\n }\n };\n return result;\n })(),\n md = require('./markdown')(mdOption);\n\n// 应用Markdown解析扩展,包括自定义组件(['sub','sup','ins','mark','emoji','todo','latex','yuml','echarts'])\n[...config.markdown,...config.components].forEach(item => {\n if(!/^audio-player|table|todogroup|img$/.test(item)){\n md.use(require(`./plugins/${item}`));\n };\n});\n\n// 定义emoji渲染规则\nmd.renderer.rules.emoji = (token,index)=>{\n let item = token[index];\n return `${item.content}`;\n};\n\n// 导出模块\nmodule.exports = str => {\n return md.render(str);\n};","const config = require('../../config'),\n hljs = require('./highlight');\nconfig.highlight.forEach(item => {\n hljs.registerLanguage(item, require(`./languages/${item}`).default);\n});\n\nmodule.exports = hljs;","module.exports = {\n // LaTex公式、yuml解析服务架设参见 https://github.com/sbfkcel/markdown-server\n\n // 数学公式解析API\n latex:{\n api:'http://towxml.vvadd.com/?tex'\n },\n\n // yuml图解析APPI\n yuml:{\n api:'http://towxml.vvadd.com/?yuml'\n },\n\n // markdown解析配置,保留需要的选项即可\n markdown:[\n 'sub', // 下标支持\n 'sup', // 上标支持\n 'ins', // 文本删除线支持\n 'mark', // 文本高亮支持\n 'emoji', // emoji表情支持\n 'todo' // todo支持\n ],\n\n // 代码高亮配置,保留需要的选项即可(尽量越少越好,不要随意调整顺序。部分高亮有顺序依赖)\n highlight:[\n 'c-like',\n 'c',\n 'bash',\n 'css',\n 'dart',\n 'go',\n 'java',\n 'javascript',\n 'json',\n 'less',\n 'scss',\n 'shell',\n 'xml',\n 'htmlbars',\n 'nginx',\n 'php',\n 'python',\n 'python-repl',\n 'typescript',\n \n // 'csharp',\n // 'http',\n // 'swift',\n // 'yaml',\n // 'markdown',\n // 'powershell',\n // 'ruby',\n // 'makefile',\n // 'lua',\n // 'stylus',\n // 'basic',\n // '1c',\n // 'abnf',\n // 'accesslog',\n // 'actionscript',\n // 'ada',\n // 'angelscript',\n // 'apache',\n // 'applescript',\n // 'arcade',\n // 'cpp',\n // 'arduino',\n // 'armasm',\n // 'asciidoc',\n // 'aspectj',\n // 'autohotkey',\n // 'autoit',\n // 'avrasm',\n // 'awk',\n // 'axapta',\n // 'bnf',\n // 'brainfuck',\n // 'cal',\n // 'capnproto',\n // 'ceylon',\n // 'clean',\n // 'clojure-repl',\n // 'clojure',\n // 'cmake',\n // 'coffeescript',\n // 'coq',\n // 'cos',\n // 'crmsh',\n // 'crystal',\n // 'csp',\n // 'd',\n // 'delphi',\n // 'diff',\n // 'django',\n // 'dns',\n // 'dockerfile',\n // 'dos',\n // 'dsconfig',\n // 'dts',\n // 'dust',\n // 'ebnf',\n // 'elixir',\n // 'elm',\n // 'erb',\n // 'erlang-repl',\n // 'erlang',\n // 'excel',\n // 'fix',\n // 'flix',\n // 'fortran',\n // 'fsharp',\n // 'gams',\n // 'gauss',\n // 'gcode',\n // 'gherkin',\n // 'glsl',\n // 'gml',\n // 'golo',\n // 'gradle',\n // 'groovy',\n // 'haml',\n // 'handlebars',\n // 'haskell',\n // 'haxe',\n // 'hsp',\n // 'hy',\n // 'inform7',\n // 'ini',\n // 'irpf90',\n // 'isbl',\n // 'jboss-cli',\n // 'julia-repl',\n // 'julia',\n // 'kotlin',\n // 'lasso',\n // 'latex',\n // 'ldif',\n // 'leaf',\n // 'lisp',\n // 'livecodeserver',\n // 'livescript',\n // 'llvm',\n // 'lsl',\n // 'mathematica',\n // 'matlab',\n // 'maxima',\n // 'mel',\n // 'mercury',\n // 'mipsasm',\n // 'mizar',\n // 'mojolicious',\n // 'monkey',\n // 'moonscript',\n // 'n1ql',\n // 'nim',\n // 'nix',\n // 'nsis',\n // 'objectivec',\n // 'ocaml',\n // 'openscad',\n // 'oxygene',\n // 'parser3',\n // 'perl',\n // 'pf',\n // 'pgsql',\n // 'php-template',\n // 'plaintext',\n // 'pony',\n // 'processing',\n // 'profile',\n // 'prolog',\n // 'properties',\n // 'protobuf',\n // 'puppet',\n // 'purebasic',\n // 'q',\n // 'qml',\n // 'r',\n // 'reasonml',\n // 'rib',\n // 'roboconf',\n // 'routeros',\n // 'rsl',\n // 'ruleslanguage',\n // 'rust',\n // 'sas',\n // 'scala',\n // 'scheme',\n // 'scilab',\n // 'smali',\n // 'smalltalk',\n // 'sml',\n // 'sqf',\n // 'sql',\n // 'stan',\n // 'stata',\n // 'step21',\n // 'subunit',\n // 'taggerscript',\n // 'tap',\n // 'tcl',\n // 'thrift',\n // 'tp',\n // 'twig',\n // 'vala',\n // 'vbnet',\n // 'vbscript-html',\n // 'vbscript',\n // 'verilog',\n // 'vhdl',\n // 'vim',\n // 'x86asm',\n // 'xl',\n // 'xquery',\n // 'zephir'\n ],\n\n // wxml原生标签,该系列标签将不会被转换\n wxml:[\n 'view',\n 'video',\n 'text',\n 'image',\n 'navigator',\n 'swiper',\n 'swiper-item',\n 'block',\n 'form',\n 'input',\n 'textarea',\n 'button',\n 'checkbox-group',\n 'checkbox',\n 'radio-group',\n 'radio',\n\n // 可以解析的标签(html或markdown中会很少使用)\n // 'canvas',\n // 'map',\n // 'slider',\n // 'scroll-view',\n // 'movable-area',\n // 'movable-view',\n // 'progress',\n // 'label',\n // 'switch',\n // 'picker',\n // 'picker-view',\n // 'switch',\n // 'contact-button'\n ],\n\n // 自定义组件\n components:[\n 'audio-player', // 音频组件,建议保留,由于小程序原生audio存在诸多问题,towxml解决了原生音频播放器的相关问题\n // 'echarts', // echarts图表支持\n 'latex', // 数学公式支持\n 'table', // 表格支持\n 'todogroup', // todo支持\n 'yuml', // yuml图表支持\n 'img' // 图片解析组件\n ],\n\n // 保留原本的元素属性(建议不要变动)\n attrs:[\n 'class',\n 'data',\n 'id',\n 'style'\n ],\n\n // 事件绑定方式(catch或bind),catch 会阻止事件向上冒泡。更多请参考:https://developers.weixin.qq.com/miniprogram/dev/framework/view/wxml/event.html\n bindType:'catch',\n\n // 需要激活的事件\n events:[\n // 'touchstart',\n // 'touchmove',\n // 'touchcancel',\n // 'touchend',\n 'tap', // 用于元素的点击事件\n 'change', // 用于todoList的change事件\n ],\n\n // 图片倍数\n dpr:1,\n\n // 代码块显示行号\n showLineNumber:true\n}\n","function deepFreeze(e){Object.freeze(e);var n=\"function\"==typeof e;return Object.getOwnPropertyNames(e).forEach(function(t){!e.hasOwnProperty(t)||null===e[t]||\"object\"!=typeof e[t]&&\"function\"!=typeof e[t]||n&&(\"caller\"===t||\"callee\"===t||\"arguments\"===t)||Object.isFrozen(e[t])||deepFreeze(e[t])}),e}function escapeHTML(e){return e.replace(/&/g,\"&\").replace(//g,\">\")}function inherit(e){var n,t={},r=Array.prototype.slice.call(arguments,1);for(n in e)t[n]=e[n];return r.forEach(function(e){for(n in e)t[n]=e[n]}),t}function tag(e){return e.nodeName.toLowerCase()}function nodeStream(e){var n=[];return function e(t,r){for(var a=t.firstChild;a;a=a.nextSibling)3===a.nodeType?r+=a.nodeValue.length:1===a.nodeType&&(n.push({event:\"start\",offset:r,node:a}),r=e(a,r),tag(a).match(/br|hr|img|input/)||n.push({event:\"stop\",offset:r,node:a}));return r}(e,0),n}function mergeStreams(e,n,t){var r=0,a=\"\",i=[];function s(){return e.length&&n.length?e[0].offset!==n[0].offset?e[0].offset\"}function l(e){a+=\"\"+tag(e)+\">\"}function c(e){(\"start\"===e.event?o:l)(e.node)}for(;e.length||n.length;){var u=s();if(a+=escapeHTML(t.substring(r,u[0].offset)),r=u[0].offset,u===e){i.reverse().forEach(l);do{c(u.splice(0,1)[0]),u=s()}while(u===e&&u.length&&u[0].offset===r);i.reverse().forEach(o)}else\"start\"===u[0].event?i.push(u[0].node):i.pop(),c(u.splice(0,1)[0])}return a+escapeHTML(t.substr(r))}var utils=Object.freeze({__proto__:null,escapeHTML:escapeHTML,inherit:inherit,nodeStream:nodeStream,mergeStreams:mergeStreams});const SPAN_CLOSE=\"\",emitsWrappingTags=e=>!!e.kind;class HTMLRenderer{constructor(e,n){this.buffer=\"\",this.classPrefix=n.classPrefix,e.walk(this)}addText(e){this.buffer+=escapeHTML(e)}openNode(e){if(!emitsWrappingTags(e))return;let n=e.kind;e.sublanguage||(n=`${this.classPrefix}${n}`),this.span(n)}closeNode(e){emitsWrappingTags(e)&&(this.buffer+=SPAN_CLOSE)}span(e){this.buffer+=``}value(){return this.buffer}}class TokenTree{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){let n={kind:e,children:[]};this.add(n),this.stack.push(n)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,n){return\"string\"==typeof n?e.addText(n):n.children&&(e.openNode(n),n.children.forEach(n=>this._walk(e,n)),e.closeNode(n)),e}static _collapse(e){e.children&&(e.children.every(e=>\"string\"==typeof e)?(e.text=e.children.join(\"\"),delete e.children):e.children.forEach(e=>{\"string\"!=typeof e&&TokenTree._collapse(e)}))}}class TokenTreeEmitter extends TokenTree{constructor(e){super(),this.options=e}addKeyword(e,n){\"\"!==e&&(this.openNode(n),this.addText(e),this.closeNode())}addText(e){\"\"!==e&&this.add(e)}addSublanguage(e,n){let t=e.root;t.kind=n,t.sublanguage=!0,this.add(t)}toHTML(){return new HTMLRenderer(this,this.options).value()}finalize(){}}function escape(e){return new RegExp(e.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g,\"\\\\$&\"),\"m\")}function source(e){return e&&e.source||e}function countMatchGroups(e){return new RegExp(e.toString()+\"|\").exec(\"\").length-1}function startsWith(e,n){var t=e&&e.exec(n);return t&&0===t.index}function join(e,n){for(var t=/\\[(?:[^\\\\\\]]|\\\\.)*\\]|\\(\\??|\\\\([1-9][0-9]*)|\\\\./,r=0,a=\"\",i=0;i0&&(a+=n),a+=\"(\";o.length>0;){var l=t.exec(o);if(null==l){a+=o;break}a+=o.substring(0,l.index),o=o.substring(l.index+l[0].length),\"\\\\\"==l[0][0]&&l[1]?a+=\"\\\\\"+String(Number(l[1])+s):(a+=l[0],\"(\"==l[0]&&r++)}a+=\")\"}return a}const IDENT_RE=\"[a-zA-Z]\\\\w*\",UNDERSCORE_IDENT_RE=\"[a-zA-Z_]\\\\w*\",NUMBER_RE=\"\\\\b\\\\d+(\\\\.\\\\d+)?\",C_NUMBER_RE=\"(-?)(\\\\b0[xX][a-fA-F0-9]+|(\\\\b\\\\d+(\\\\.\\\\d*)?|\\\\.\\\\d+)([eE][-+]?\\\\d+)?)\",BINARY_NUMBER_RE=\"\\\\b(0b[01]+)\",RE_STARTERS_RE=\"!|!=|!==|%|%=|&|&&|&=|\\\\*|\\\\*=|\\\\+|\\\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\\\?|\\\\[|\\\\{|\\\\(|\\\\^|\\\\^=|\\\\||\\\\|=|\\\\|\\\\||~\",BACKSLASH_ESCAPE={begin:\"\\\\\\\\[\\\\s\\\\S]\",relevance:0},APOS_STRING_MODE={className:\"string\",begin:\"'\",end:\"'\",illegal:\"\\\\n\",contains:[BACKSLASH_ESCAPE]},QUOTE_STRING_MODE={className:\"string\",begin:'\"',end:'\"',illegal:\"\\\\n\",contains:[BACKSLASH_ESCAPE]},PHRASAL_WORDS_MODE={begin:/\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b/},COMMENT=function(e,n,t){var r=inherit({className:\"comment\",begin:e,end:n,contains:[]},t||{});return r.contains.push(PHRASAL_WORDS_MODE),r.contains.push({className:\"doctag\",begin:\"(?:TODO|FIXME|NOTE|BUG|XXX):\",relevance:0}),r},C_LINE_COMMENT_MODE=COMMENT(\"//\",\"$\"),C_BLOCK_COMMENT_MODE=COMMENT(\"/\\\\*\",\"\\\\*/\"),HASH_COMMENT_MODE=COMMENT(\"#\",\"$\"),NUMBER_MODE={className:\"number\",begin:NUMBER_RE,relevance:0},C_NUMBER_MODE={className:\"number\",begin:C_NUMBER_RE,relevance:0},BINARY_NUMBER_MODE={className:\"number\",begin:\"\\\\b(0b[01]+)\",relevance:0},CSS_NUMBER_MODE={className:\"number\",begin:NUMBER_RE+\"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?\",relevance:0},REGEXP_MODE={begin:/(?=\\/[^\\/\\n]*\\/)/,contains:[{className:\"regexp\",begin:/\\//,end:/\\/[gimuy]*/,illegal:/\\n/,contains:[BACKSLASH_ESCAPE,{begin:/\\[/,end:/\\]/,relevance:0,contains:[BACKSLASH_ESCAPE]}]}]},TITLE_MODE={className:\"title\",begin:IDENT_RE,relevance:0},UNDERSCORE_TITLE_MODE={className:\"title\",begin:\"[a-zA-Z_]\\\\w*\",relevance:0},METHOD_GUARD={begin:\"\\\\.\\\\s*[a-zA-Z_]\\\\w*\",relevance:0};var MODES=Object.freeze({__proto__:null,IDENT_RE:IDENT_RE,UNDERSCORE_IDENT_RE:\"[a-zA-Z_]\\\\w*\",NUMBER_RE:NUMBER_RE,C_NUMBER_RE:C_NUMBER_RE,BINARY_NUMBER_RE:\"\\\\b(0b[01]+)\",RE_STARTERS_RE:RE_STARTERS_RE,BACKSLASH_ESCAPE:BACKSLASH_ESCAPE,APOS_STRING_MODE:APOS_STRING_MODE,QUOTE_STRING_MODE:QUOTE_STRING_MODE,PHRASAL_WORDS_MODE:PHRASAL_WORDS_MODE,COMMENT:COMMENT,C_LINE_COMMENT_MODE:C_LINE_COMMENT_MODE,C_BLOCK_COMMENT_MODE:C_BLOCK_COMMENT_MODE,HASH_COMMENT_MODE:HASH_COMMENT_MODE,NUMBER_MODE:NUMBER_MODE,C_NUMBER_MODE:C_NUMBER_MODE,BINARY_NUMBER_MODE:BINARY_NUMBER_MODE,CSS_NUMBER_MODE:CSS_NUMBER_MODE,REGEXP_MODE:REGEXP_MODE,TITLE_MODE:TITLE_MODE,UNDERSCORE_TITLE_MODE:UNDERSCORE_TITLE_MODE,METHOD_GUARD:METHOD_GUARD}),COMMON_KEYWORDS=\"of and for in not or if then\".split(\" \");function compileLanguage(e){function n(n,t){return new RegExp(source(n),\"m\"+(e.case_insensitive?\"i\":\"\")+(t?\"g\":\"\"))}class t{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,n){n.position=this.position++,this.matchIndexes[this.matchAt]=n,this.regexes.push([n,e]),this.matchAt+=countMatchGroups(e)+1}compile(){0===this.regexes.length&&(this.exec=(()=>null));let e=this.regexes.map(e=>e[1]);this.matcherRe=n(join(e,\"|\"),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;let n=this.matcherRe.exec(e);if(!n)return null;let t=n.findIndex((e,n)=>n>0&&void 0!=e),r=this.matchIndexes[t];return Object.assign(n,r)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];let n=new t;return this.rules.slice(e).forEach(([e,t])=>n.addRule(e,t)),n.compile(),this.multiRegexes[e]=n,n}considerAll(){this.regexIndex=0}addRule(e,n){this.rules.push([e,n]),\"begin\"===n.type&&this.count++}exec(e){let n=this.getMatcher(this.regexIndex);n.lastIndex=this.lastIndex;let t=n.exec(e);return t&&(this.regexIndex+=t.position+1,this.regexIndex===this.count&&(this.regexIndex=0)),t}}function a(e){let n=e.input[e.index-1],t=e.input[e.index+e[0].length];if(\".\"===n||\".\"===t)return{ignoreMatch:!0}}if(e.contains&&e.contains.includes(\"self\"))throw new Error(\"ERR: contains `self` is not supported at the top-level of a language. See documentation.\");!function t(i,s){i.compiled||(i.compiled=!0,i.__onBegin=null,i.keywords=i.keywords||i.beginKeywords,i.keywords&&(i.keywords=compileKeywords(i.keywords,e.case_insensitive)),i.lexemesRe=n(i.lexemes||/\\w+/,!0),s&&(i.beginKeywords&&(i.begin=\"\\\\b(\"+i.beginKeywords.split(\" \").join(\"|\")+\")(?=\\\\b|\\\\s)\",i.__onBegin=a),i.begin||(i.begin=/\\B|\\b/),i.beginRe=n(i.begin),i.endSameAsBegin&&(i.end=i.begin),i.end||i.endsWithParent||(i.end=/\\B|\\b/),i.end&&(i.endRe=n(i.end)),i.terminator_end=source(i.end)||\"\",i.endsWithParent&&s.terminator_end&&(i.terminator_end+=(i.end?\"|\":\"\")+s.terminator_end)),i.illegal&&(i.illegalRe=n(i.illegal)),null==i.relevance&&(i.relevance=1),i.contains||(i.contains=[]),i.contains=[].concat(...i.contains.map(function(e){return expand_or_clone_mode(\"self\"===e?i:e)})),i.contains.forEach(function(e){t(e,i)}),i.starts&&t(i.starts,s),i.matcher=function(e){let n=new r;return e.contains.forEach(e=>n.addRule(e.begin,{rule:e,type:\"begin\"})),e.terminator_end&&n.addRule(e.terminator_end,{type:\"end\"}),e.illegal&&n.addRule(e.illegal,{type:\"illegal\"}),n}(i))}(e)}function dependencyOnParent(e){return!!e&&(e.endsWithParent||dependencyOnParent(e.starts))}function expand_or_clone_mode(e){return e.variants&&!e.cached_variants&&(e.cached_variants=e.variants.map(function(n){return inherit(e,{variants:null},n)})),e.cached_variants?e.cached_variants:dependencyOnParent(e)?inherit(e,{starts:e.starts?inherit(e.starts):null}):Object.isFrozen(e)?inherit(e):e}function compileKeywords(e,n){var t={};return\"string\"==typeof e?r(\"keyword\",e):Object.keys(e).forEach(function(n){r(n,e[n])}),t;function r(e,r){n&&(r=r.toLowerCase()),r.split(\" \").forEach(function(n){var r=n.split(\"|\");t[r[0]]=[e,scoreForKeyword(r[0],r[1])]})}}function scoreForKeyword(e,n){return n?Number(n):commonKeyword(e)?0:1}function commonKeyword(e){return COMMON_KEYWORDS.includes(e.toLowerCase())}var version=\"10.0.0-beta.0\";const escape$1=escapeHTML,inherit$1=inherit,{nodeStream:nodeStream$1,mergeStreams:mergeStreams$1}=utils,HLJS=function(e){var n=[],t={},r={},a=[],i=!0,s=/((^(<[^>]+>|\\t|)+|(?:\\n)))/gm,o=\"Could not find the language '{}', did you forget to load/include a language module?\",l={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\\blang(?:uage)?-([\\w-]+)\\b/i,classPrefix:\"hljs-\",tabReplace:null,useBR:!1,languages:void 0,__emitter:TokenTreeEmitter};function c(e){return l.noHighlightRe.test(e)}function u(e,n,t,r){var a={code:n,language:e};R(\"before:highlight\",a);var i=a.result?a.result:d(a.language,a.code,t,r);return i.code=a.code,R(\"after:highlight\",i),i}function d(e,n,r,a){var s=n;function c(e,n){var t=R.case_insensitive?n[0].toLowerCase():n[0];return e.keywords.hasOwnProperty(t)&&e.keywords[t]}function u(){null!=b.subLanguage?function(){if(\"\"!==S){var e=\"string\"==typeof b.subLanguage;if(!e||t[b.subLanguage]){var n=e?d(b.subLanguage,S,!0,v[b.subLanguage]):g(S,b.subLanguage.length?b.subLanguage:void 0);b.relevance>0&&(T+=n.relevance),e&&(v[b.subLanguage]=n.top),N.addSublanguage(n.emitter,n.language)}else N.addText(S)}}():function(){var e,n,t,r;if(b.keywords){for(n=0,b.lexemesRe.lastIndex=0,t=b.lexemesRe.exec(S),r=\"\";t;){r+=S.substring(n,t.index);var a=null;(e=c(b,t))?(N.addText(r),r=\"\",T+=e[1],a=e[0],N.addKeyword(t[0],a)):r+=t[0],n=b.lexemesRe.lastIndex,t=b.lexemesRe.exec(S)}r+=S.substr(n),N.addText(r)}else N.addText(S)}(),S=\"\"}function h(e){e.className&&N.openNode(e.className),b=Object.create(e,{parent:{value:b}})}function f(e){var n=e[0],t=e.rule;if(t.__onBegin){if((t.__onBegin(e)||{}).ignoreMatch)return function(e){return 0===b.matcher.regexIndex?(S+=e[0],1):(w=!0,0)}(n)}return t&&t.endSameAsBegin&&(t.endRe=escape(n)),t.skip?S+=n:(t.excludeBegin&&(S+=n),u(),t.returnBegin||t.excludeBegin||(S=n)),h(t),t.returnBegin?0:n.length}function E(e){var n=e[0],t=s.substr(e.index),r=function e(n,t){if(startsWith(n.endRe,t)){for(;n.endsParent&&n.parent;)n=n.parent;return n}if(n.endsWithParent)return e(n.parent,t)}(b,t);if(r){var a=b;a.skip?S+=n:(a.returnEnd||a.excludeEnd||(S+=n),u(),a.excludeEnd&&(S=n));do{b.className&&N.closeNode(),b.skip||b.subLanguage||(T+=b.relevance),b=b.parent}while(b!==r.parent);return r.starts&&(r.endSameAsBegin&&(r.starts.endRe=r.endRe),h(r.starts)),a.returnEnd?0:n.length}}var _={};function m(n,t){var a,o=t&&t[0];if(S+=n,null==o)return u(),0;if(\"begin\"==_.type&&\"end\"==t.type&&_.index==t.index&&\"\"===o){if(S+=s.slice(t.index,t.index+1),!i)throw(a=new Error(\"0 width match regex\")).languageName=e,a.badRule=_.rule,a;return 1}if(_=t,\"begin\"===t.type)return f(t);if(\"illegal\"===t.type&&!r)throw(a=new Error('Illegal lexeme \"'+o+'\" for mode \"'+(b.className||\"\")+'\"')).mode=b,a;if(\"end\"===t.type){var l=E(t);if(void 0!=l)return l}return S+=o,o.length}var R=p(e);if(!R)throw console.error(o.replace(\"{}\",e)),new Error('Unknown language: \"'+e+'\"');compileLanguage(R);var M,b=a||R,v={},N=new l.__emitter(l);!function(){for(var e=[],n=b;n!==R;n=n.parent)n.className&&e.unshift(n.className);e.forEach(e=>N.openNode(e))}();var O,x,S=\"\",T=0,D=0;try{var w=!1;for(b.matcher.considerAll();w?w=!1:(b.matcher.lastIndex=D,b.matcher.considerAll()),O=b.matcher.exec(s);){x=m(s.substring(D,O.index),O),D=O.index+x}return m(s.substr(D)),N.closeAllNodes(),N.finalize(),M=N.toHTML(),{relevance:T,value:M,language:e,illegal:!1,emitter:N,top:b}}catch(n){if(n.message&&n.message.includes(\"Illegal\"))return{illegal:!0,illegalBy:{msg:n.message,context:s.slice(D-100,D+100),mode:n.mode},sofar:M,relevance:0,value:escape$1(s),emitter:N};if(i)return{relevance:0,value:escape$1(s),emitter:N,language:e,top:b,errorRaised:n};throw n}}function g(e,n){n=n||l.languages||Object.keys(t);var r={relevance:0,emitter:new l.__emitter(l),value:escape$1(e)},a=r;return n.filter(p).filter(m).forEach(function(n){var t=d(n,e,!1);t.language=n,t.relevance>a.relevance&&(a=t),t.relevance>r.relevance&&(a=r,r=t)}),a.language&&(r.second_best=a),r}function h(e){return l.tabReplace||l.useBR?e.replace(s,function(e,n){return l.useBR&&\"\\n\"===e?\"
\":l.tabReplace?n.replace(/\\t/g,l.tabReplace):\"\"}):e}function f(e){var n,t,a,i,s,d=function(e){var n,t=e.className+\" \";if(t+=e.parentNode?e.parentNode.className:\"\",n=l.languageDetectRe.exec(t)){var r=p(n[1]);return r||(console.warn(o.replace(\"{}\",n[1])),console.warn(\"Falling back to no-highlight mode for this block.\",e)),r?n[1]:\"no-highlight\"}return t.split(/\\s+/).find(e=>c(e)||p(e))}(e);c(d)||(R(\"before:highlightBlock\",{block:e,language:d}),l.useBR?(n=document.createElement(\"div\")).innerHTML=e.innerHTML.replace(/\\n/g,\"\").replace(/
/g,\"\\n\"):n=e,s=n.textContent,a=d?u(d,s,!0):g(s),(t=nodeStream$1(n)).length&&((i=document.createElement(\"div\")).innerHTML=a.value,a.value=mergeStreams$1(t,nodeStream$1(i),s)),a.value=h(a.value),R(\"after:highlightBlock\",{block:e,result:a}),e.innerHTML=a.value,e.className=function(e,n,t){var a=n?r[n]:t,i=[e.trim()];return e.match(/\\bhljs\\b/)||i.push(\"hljs\"),e.includes(a)||i.push(a),i.join(\" \").trim()}(e.className,d,a.language),e.result={language:a.language,re:a.relevance},a.second_best&&(e.second_best={language:a.second_best.language,re:a.second_best.relevance}))}function E(){if(!E.called){E.called=!0;var e=document.querySelectorAll(\"pre code\");n.forEach.call(e,f)}}var _={disableAutodetect:!0};function p(e){return e=(e||\"\").toLowerCase(),t[e]||t[r[e]]}function m(e){var n=p(e);return n&&!n.disableAutodetect}function R(e,n){var t=e;a.forEach(function(e){e[t]&&e[t](n)})}Object.assign(e,{highlight:u,highlightAuto:g,fixMarkup:h,highlightBlock:f,configure:function(e){l=inherit$1(l,e)},initHighlighting:E,initHighlightingOnLoad:function(){window.addEventListener(\"DOMContentLoaded\",E,!1)},registerLanguage:function(n,a){var s;try{s=a(e)}catch(e){if(console.error(\"Language definition for '{}' could not be registered.\".replace(\"{}\",n)),!i)throw e;console.error(e),s=_}s.name||(s.name=n),t[n]=s,s.rawDefinition=a.bind(null,e),s.aliases&&s.aliases.forEach(function(e){r[e]=n})},listLanguages:function(){return Object.keys(t)},getLanguage:p,requireLanguage:function(e){var n=p(e);if(n)return n;throw new Error(\"The '{}' language is required, but not loaded.\".replace(\"{}\",e))},autoDetection:m,inherit:inherit$1,addPlugin:function(e,n){a.push(e)}}),e.debugMode=function(){i=!1},e.safeMode=function(){i=!0},e.versionString=version;for(const e in MODES)\"object\"==typeof MODES[e]&&deepFreeze(MODES[e]);return Object.assign(e,MODES),e};var highlight=HLJS({});module.exports=highlight;","!function(e){if(\"object\"==typeof exports&&\"undefined\"!=typeof module)module.exports=e();else if(\"function\"==typeof define&&define.amd)define([],e);else{var r;r=\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:this,r.markdownit=e()}}(function(){var e;return function e(r,t,n){function s(i,a){if(!t[i]){if(!r[i]){var c=\"function\"==typeof require&&require;if(!a&&c)return c(i,!0);if(o)return o(i,!0);var l=new Error(\"Cannot find module '\"+i+\"'\");throw l.code=\"MODULE_NOT_FOUND\",l}var u=t[i]={exports:{}};r[i][0].call(u.exports,function(e){var t=r[i][1][e];return s(t?t:e)},u,u.exports,e,r,t,n)}return t[i].exports}for(var o=\"function\"==typeof require&&require,i=0;i`\\\\x00-\\\\x20]+|'[^']*'|\\\"[^\\\"]*\\\"))?)*\\\\s*\\\\/?>\",s=\"<\\\\/[A-Za-z][A-Za-z0-9\\\\-]*\\\\s*>\",o=new RegExp(\"^(?:\"+n+\"|\"+s+\"|||<[?].*?[?]>|]*>|)\"),i=new RegExp(\"^(?:\"+n+\"|\"+s+\")\");r.exports.HTML_TAG_RE=o,r.exports.HTML_OPEN_CLOSE_TAG_RE=i},{}],4:[function(e,r,t){function n(e){return Object.prototype.toString.call(e)}function s(e){return\"[object String]\"===n(e)}function o(e,r){return y.call(e,r)}function i(e){return Array.prototype.slice.call(arguments,1).forEach(function(r){if(r){if(\"object\"!=typeof r)throw new TypeError(r+\"must be object\");Object.keys(r).forEach(function(t){e[t]=r[t]})}}),e}function a(e,r,t){return[].concat(e.slice(0,r),t,e.slice(r+1))}function c(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function l(e){if(e>65535){e-=65536;var r=55296+(e>>10),t=56320+(1023&e);return String.fromCharCode(r,t)}return String.fromCharCode(e)}function u(e,r){var t=0;return o(w,r)?w[r]:35===r.charCodeAt(0)&&A.test(r)&&(t=\"x\"===r[1].toLowerCase()?parseInt(r.slice(2),16):parseInt(r.slice(1),10),c(t))?l(t):e}function p(e){return e.indexOf(\"\\\\\")<0?e:e.replace(x,\"$1\")}function h(e){return e.indexOf(\"\\\\\")<0&&e.indexOf(\"&\")<0?e:e.replace(C,function(e,r,t){return r?r:u(e,t)})}function f(e){return q[e]}function d(e){return D.test(e)?e.replace(/[&<>\"]/g,f):e}function m(e){return e.replace(/[.?*+^$[\\]\\\\(){}|-]/g,\"\\\\$&\")}function _(e){switch(e){case 9:case 32:return!0}return!1}function g(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function b(e){return E.test(e)}function k(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function v(e){return e.trim().replace(/\\s+/g,\" \").toUpperCase()}var y=Object.prototype.hasOwnProperty,x=/\\\\([!\"#$%&'()*+,\\-.\\/:;<=>?@[\\\\\\]^_`{|}~])/g,C=new RegExp(x.source+\"|\"+/&([a-z#][a-z0-9]{1,31});/gi.source,\"gi\"),A=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,w=e(\"./entities\"),D=/[&<>\"]/,q={\"&\":\"&\",\"<\":\"<\",\">\":\">\",'\"':\""\"},E=e(\"uc.micro/categories/P/regex\");t.lib={},t.lib.mdurl=e(\"mdurl\"),t.lib.ucmicro=e(\"uc.micro\"),t.assign=i,t.isString=s,t.has=o,t.unescapeMd=p,t.unescapeAll=h,t.isValidEntityCode=c,t.fromCodePoint=l,t.escapeHtml=d,t.arrayReplaceAt=a,t.isSpace=_,t.isWhiteSpace=g,t.isMdAsciiPunct=k,t.isPunctChar=b,t.escapeRE=m,t.normalizeReference=v},{\"./entities\":1,mdurl:58,\"uc.micro\":65,\"uc.micro/categories/P/regex\":63}],5:[function(e,r,t){t.parseLinkLabel=e(\"./parse_link_label\"),t.parseLinkDestination=e(\"./parse_link_destination\"),t.parseLinkTitle=e(\"./parse_link_title\")},{\"./parse_link_destination\":6,\"./parse_link_label\":7,\"./parse_link_title\":8}],6:[function(e,r,t){var n=e(\"../common/utils\").isSpace,s=e(\"../common/utils\").unescapeAll;r.exports=function(e,r,t){var o,i,a=r,c={ok:!1,pos:0,lines:0,str:\"\"};if(60===e.charCodeAt(r)){for(r++;r1)break;if(41===o&&--i<0)break;r++}return a===r?c:(c.str=s(e.slice(a,r)),c.lines=0,c.pos=r,c.ok=!0,c)}},{\"../common/utils\":4}],7:[function(e,r,t){r.exports=function(e,r,t){var n,s,o,i,a=-1,c=e.posMax,l=e.pos;for(e.pos=r+1,n=1;e.pos=t)return c;if(34!==(o=e.charCodeAt(r))&&39!==o&&40!==o)return c;for(r++,40===o&&(o=41);r=0))try{r.hostname=m.toASCII(r.hostname)}catch(e){}return d.encode(d.format(r))}function o(e){var r=d.parse(e,!0);if(r.hostname&&(!r.protocol||k.indexOf(r.protocol)>=0))try{r.hostname=m.toUnicode(r.hostname)}catch(e){}return d.decode(d.format(r))}function i(e,r){if(!(this instanceof i))return new i(e,r);r||a.isString(e)||(r=e||{},e=\"default\"),this.inline=new h,this.block=new p,this.core=new u,this.renderer=new l,this.linkify=new f,this.validateLink=n,this.normalizeLink=s,this.normalizeLinkText=o,this.utils=a,this.helpers=a.assign({},c),this.options={},this.configure(e),r&&this.set(r)}var a=e(\"./common/utils\"),c=e(\"./helpers\"),l=e(\"./renderer\"),u=e(\"./parser_core\"),p=e(\"./parser_block\"),h=e(\"./parser_inline\"),f=e(\"linkify-it\"),d=e(\"mdurl\"),m=e(\"punycode\"),_={default:e(\"./presets/default\"),zero:e(\"./presets/zero\"),commonmark:e(\"./presets/commonmark\")},g=/^(vbscript|javascript|file|data):/,b=/^data:image\\/(gif|png|jpeg|webp);/,k=[\"http:\",\"https:\",\"mailto:\"];i.prototype.set=function(e){return a.assign(this.options,e),this},i.prototype.configure=function(e){var r,t=this;if(a.isString(e)&&(r=e,!(e=_[r])))throw new Error('Wrong `markdown-it` preset \"'+r+'\", check name');if(!e)throw new Error(\"Wrong `markdown-it` preset, can't be empty\");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(r){e.components[r].rules&&t[r].ruler.enableOnly(e.components[r].rules),e.components[r].rules2&&t[r].ruler2.enableOnly(e.components[r].rules2)}),this},i.prototype.enable=function(e,r){var t=[];Array.isArray(e)||(e=[e]),[\"core\",\"block\",\"inline\"].forEach(function(r){t=t.concat(this[r].ruler.enable(e,!0))},this),t=t.concat(this.inline.ruler2.enable(e,!0));var n=e.filter(function(e){return t.indexOf(e)<0});if(n.length&&!r)throw new Error(\"MarkdownIt. Failed to enable unknown rule(s): \"+n);return this},i.prototype.disable=function(e,r){var t=[];Array.isArray(e)||(e=[e]),[\"core\",\"block\",\"inline\"].forEach(function(r){t=t.concat(this[r].ruler.disable(e,!0))},this),t=t.concat(this.inline.ruler2.disable(e,!0));var n=e.filter(function(e){return t.indexOf(e)<0});if(n.length&&!r)throw new Error(\"MarkdownIt. Failed to disable unknown rule(s): \"+n);return this},i.prototype.use=function(e){var r=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,r),this},i.prototype.parse=function(e,r){if(\"string\"!=typeof e)throw new Error(\"Input data should be a String\");var t=new this.core.State(e,this,r);return this.core.process(t),t.tokens},i.prototype.render=function(e,r){return r=r||{},this.renderer.render(this.parse(e,r),this.options,r)},i.prototype.parseInline=function(e,r){var t=new this.core.State(e,this,r);return t.inlineMode=!0,this.core.process(t),t.tokens},i.prototype.renderInline=function(e,r){return r=r||{},this.renderer.render(this.parseInline(e,r),this.options,r)},r.exports=i},{\"./common/utils\":4,\"./helpers\":5,\"./parser_block\":10,\"./parser_core\":11,\"./parser_inline\":12,\"./presets/commonmark\":13,\"./presets/default\":14,\"./presets/zero\":15,\"./renderer\":16,\"linkify-it\":53,mdurl:58,punycode:60}],10:[function(e,r,t){function n(){this.ruler=new s;for(var e=0;e=t))&&!(e.sCount[i]=c){e.line=t;break}for(n=0;n=o)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},n.prototype.parse=function(e,r,t,n){var s,o,i,a=new this.State(e,r,t,n);for(this.tokenize(a),o=this.ruler2.getRules(\"\"),i=o.length,s=0;s\"+i(e[r].content)+\"\"},a.code_block=function(e,r,t,n,s){var o=e[r];return\"\"+i(e[r].content)+\"
\\n\"},a.fence=function(e,r,t,n,s){var a,c,l,u,p=e[r],h=p.info?o(p.info).trim():\"\",f=\"\";return h&&(f=h.split(/\\s+/g)[0]),a=t.highlight?t.highlight(p.content,f)||i(p.content):i(p.content),0===a.indexOf(\"\"+a+\"
\\n\"):\"\"+a+\"
\\n\"},a.image=function(e,r,t,n,s){var o=e[r];return o.attrs[o.attrIndex(\"alt\")][1]=s.renderInlineAsText(o.children,t,n),s.renderToken(e,r,t)},a.hardbreak=function(e,r,t){return t.xhtmlOut?\"
\\n\":\"
\\n\"},a.softbreak=function(e,r,t){return t.breaks?t.xhtmlOut?\"
\\n\":\"
\\n\":\"\\n\"},a.text=function(e,r){return i(e[r].content)},a.html_block=function(e,r){return e[r].content},a.html_inline=function(e,r){return e[r].content},n.prototype.renderAttrs=function(e){var r,t,n;if(!e.attrs)return\"\";for(n=\"\",r=0,t=e.attrs.length;r\\n\":\">\")},n.prototype.renderInline=function(e,r,t){for(var n,s=\"\",o=this.rules,i=0,a=e.length;i=4)return!1;if(62!==e.src.charCodeAt(D++))return!1;if(s)return!0;for(c=d=e.sCount[r]+D-(e.bMarks[r]+e.tShift[r]),32===e.src.charCodeAt(D)?(D++,c++,d++,o=!1,y=!0):9===e.src.charCodeAt(D)?(y=!0,(e.bsCount[r]+d)%4==3?(D++,c++,d++,o=!1):o=!0):y=!1,m=[e.bMarks[r]],e.bMarks[r]=D;D=q,k=[e.sCount[r]],e.sCount[r]=d-c,v=[e.tShift[r]],e.tShift[r]=D-e.bMarks[r],C=e.md.block.ruler.getRules(\"blockquote\"),b=e.parentType,e.parentType=\"blockquote\",f=r+1;f=q));f++)if(62!==e.src.charCodeAt(D++)||l){if(p)break;for(x=!1,a=0,u=C.length;a=q,_.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+(y?1:0),k.push(e.sCount[f]),e.sCount[f]=d-c,v.push(e.tShift[f]),e.tShift[f]=D-e.bMarks[f]}for(g=e.blkIndent,e.blkIndent=0,A=e.push(\"blockquote_open\",\"blockquote\",1),A.markup=\">\",A.map=h=[r,0],e.md.block.tokenize(e,r,f),A=e.push(\"blockquote_close\",\"blockquote\",-1),A.markup=\">\",e.lineMax=w,e.parentType=b,h[1]=e.line,a=0;a=4))break;n++,s=n}return e.line=s,o=e.push(\"code_block\",\"code\",0),o.content=e.getLines(r,s,4+e.blkIndent,!0),o.map=[r,e.line],!0}},{}],20:[function(e,r,t){r.exports=function(e,r,t,n){var s,o,i,a,c,l,u,p=!1,h=e.bMarks[r]+e.tShift[r],f=e.eMarks[r];if(e.sCount[r]-e.blkIndent>=4)return!1;if(h+3>f)return!1;if(126!==(s=e.src.charCodeAt(h))&&96!==s)return!1;if(c=h,h=e.skipChars(h,s),(o=h-c)<3)return!1;if(u=e.src.slice(c,h),i=e.src.slice(h,f),i.indexOf(String.fromCharCode(s))>=0)return!1;if(n)return!0;for(a=r;!(++a>=t)&&(h=c=e.bMarks[a]+e.tShift[a],f=e.eMarks[a],!(h=4||(h=e.skipChars(h,s))-c=4)return!1;if(35!==(o=e.src.charCodeAt(l))||l>=u)return!1;for(i=1,o=e.src.charCodeAt(++l);35===o&&l6||ll&&n(e.src.charCodeAt(a-1))&&(u=a),e.line=r+1,c=e.push(\"heading_open\",\"h\"+String(i),1),c.markup=\"########\".slice(0,i),c.map=[r,e.line],c=e.push(\"inline\",\"\",0),c.content=e.src.slice(l,u).trim(),c.map=[r,e.line],c.children=[],c=e.push(\"heading_close\",\"h\"+String(i),-1),c.markup=\"########\".slice(0,i),!0))}},{\"../common/utils\":4}],22:[function(e,r,t){var n=e(\"../common/utils\").isSpace;r.exports=function(e,r,t,s){var o,i,a,c,l=e.bMarks[r]+e.tShift[r],u=e.eMarks[r];if(e.sCount[r]-e.blkIndent>=4)return!1;if(42!==(o=e.src.charCodeAt(l++))&&45!==o&&95!==o)return!1;for(i=1;l|$))/i,/<\\/(script|pre|style)>/i,!0],[/^/,!0],[/^<\\?/,/\\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp(\"^?(\"+n.join(\"|\")+\")(?=(\\\\s|/?>|$))\",\"i\"),/^$/,!0],[new RegExp(s.source+\"\\\\s*$\"),/^$/,!1]];r.exports=function(e,r,t,n){var s,i,a,c,l=e.bMarks[r]+e.tShift[r],u=e.eMarks[r];if(e.sCount[r]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(l))return!1;for(c=e.src.slice(l,u),s=0;s=4)return!1;for(h=e.parentType,e.parentType=\"paragraph\";f3)){if(e.sCount[f]>=e.blkIndent&&(c=e.bMarks[f]+e.tShift[f],l=e.eMarks[f],c=l))){u=61===p?1:2;break}if(!(e.sCount[f]<0)){for(s=!1,o=0,i=d.length;o=o)return-1;if((t=e.src.charCodeAt(s++))<48||t>57)return-1;for(;;){if(s>=o)return-1;t=e.src.charCodeAt(s++);{if(!(t>=48&&t<=57)){if(41===t||46===t)break;return-1}if(s-n>=10)return-1}}return s=4)return!1;if(a&&\"paragraph\"===e.parentType&&e.tShift[r]>=e.blkIndent&&(M=!0),(F=s(e,r))>=0){if(d=!0,z=e.bMarks[r]+e.tShift[r],v=Number(e.src.substr(z,F-z-1)),M&&1!==v)return!1}else{if(!((F=n(e,r))>=0))return!1;d=!1}if(M&&e.skipSpaces(F)>=e.eMarks[r])return!1;if(k=e.src.charCodeAt(F-1),a)return!0;for(b=e.tokens.length,d?(R=e.push(\"ordered_list_open\",\"ol\",1),1!==v&&(R.attrs=[[\"start\",v]])):R=e.push(\"bullet_list_open\",\"ul\",1),R.map=g=[r,0],R.markup=String.fromCharCode(k),x=r,L=!1,I=e.md.block.ruler.getRules(\"list\"),D=e.parentType,e.parentType=\"list\";x=y?1:C-f,h>4&&(h=1),p=f+h,R=e.push(\"list_item_open\",\"li\",1),R.markup=String.fromCharCode(k),R.map=m=[r,0],A=e.blkIndent,E=e.tight,q=e.tShift[r],w=e.sCount[r],e.blkIndent=p,e.tight=!0,e.tShift[r]=l-e.bMarks[r],e.sCount[r]=C,l>=y&&e.isEmpty(r+1)?e.line=Math.min(e.line+2,t):e.md.block.tokenize(e,r,t,!0),e.tight&&!L||(B=!1),L=e.line-r>1&&e.isEmpty(e.line-1),e.blkIndent=A,e.tShift[r]=q,e.sCount[r]=w,e.tight=E,R=e.push(\"list_item_close\",\"li\",-1),R.markup=String.fromCharCode(k),x=r=e.line,m[1]=x,l=e.bMarks[r],x>=t)break;if(e.sCount[x]3||e.sCount[c]<0)){for(n=!1,s=0,o=l.length;s=4)return!1;if(91!==e.src.charCodeAt(C))return!1;for(;++C3||e.sCount[w]<0)){for(k=!1,p=0,h=v.length;p0&&this.level++,this.tokens.push(n),n},n.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},n.prototype.skipEmptyLines=function(e){for(var r=this.lineMax;er;)if(!o(this.src.charCodeAt(--e)))return e+1;return e},n.prototype.skipChars=function(e,r){for(var t=this.src.length;et;)if(r!==this.src.charCodeAt(--e))return e+1;return e},n.prototype.getLines=function(e,r,t,n){var s,i,a,c,l,u,p,h=e;if(e>=r)return\"\";for(u=new Array(r-e),s=0;ht?new Array(i-t+1).join(\" \")+this.src.slice(c,l):this.src.slice(c,l)}return u.join(\"\")},n.prototype.Token=s,r.exports=n},{\"../common/utils\":4,\"../token\":51}],29:[function(e,r,t){function n(e,r){var t=e.bMarks[r]+e.blkIndent,n=e.eMarks[r];return e.src.substr(t,n-t)}function s(e){var r,t=[],n=0,s=e.length,o=0,i=0,a=!1,c=0;for(r=e.charCodeAt(n);nt)return!1;if(p=r+1,e.sCount[p]=4)return!1;if((l=e.bMarks[p]+e.tShift[p])>=e.eMarks[p])return!1;if(124!==(a=e.src.charCodeAt(l++))&&45!==a&&58!==a)return!1;for(;l=4)return!1;if(h=s(c.replace(/^\\||\\|$/g,\"\")),(f=h.length)>m.length)return!1;if(i)return!0;for(d=e.push(\"table_open\",\"table\",1),d.map=g=[r,0],d=e.push(\"thead_open\",\"thead\",1),d.map=[r,r+1],d=e.push(\"tr_open\",\"tr\",1),d.map=[r,r+1],u=0;u=4);p++){for(h=s(c.replace(/^\\||\\|$/g,\"\")),d=e.push(\"tr_open\",\"tr\",1),u=0;u\\s]/i.test(e)}function s(e){return/^<\\/a\\s*>/i.test(e)}var o=e(\"../common/utils\").arrayReplaceAt;r.exports=function(e){var r,t,i,a,c,l,u,p,h,f,d,m,_,g,b,k,v,y=e.tokens;if(e.md.options.linkify)for(t=0,i=y.length;t=0;r--)if(l=a[r],\"link_close\"!==l.type){if(\"html_inline\"===l.type&&(n(l.content)&&_>0&&_--,s(l.content)&&_++),!(_>0)&&\"text\"===l.type&&e.md.linkify.test(l.content)){for(h=l.content,v=e.md.linkify.match(h),u=[],m=l.level,d=0,p=0;pd&&(c=new e.Token(\"text\",\"\",0),c.content=h.slice(d,f),c.level=m,u.push(c)),c=new e.Token(\"link_open\",\"a\",1),c.attrs=[[\"href\",b]],c.level=m++,c.markup=\"linkify\",c.info=\"auto\",u.push(c),c=new e.Token(\"text\",\"\",0),c.content=k,c.level=m,u.push(c),c=new e.Token(\"link_close\",\"a\",-1),c.level=--m,c.markup=\"linkify\",c.info=\"auto\",u.push(c),d=v[p].lastIndex);d=0;r--)t=e[r],\"text\"!==t.type||s||(t.content=t.content.replace(/\\((c|tm|r|p)\\)/gi,n)),\"link_open\"===t.type&&\"auto\"===t.info&&s--,\"link_close\"===t.type&&\"auto\"===t.info&&s++}function o(e){var r,t,n=0;for(r=e.length-1;r>=0;r--)t=e[r],\"text\"!==t.type||n||i.test(t.content)&&(t.content=t.content.replace(/\\+-/g,\"\\xb1\").replace(/\\.{2,}/g,\"\\u2026\").replace(/([?!])\\u2026/g,\"$1..\").replace(/([?!]){4,}/g,\"$1$1$1\").replace(/,{2,}/g,\",\").replace(/(^|[^-])---([^-]|$)/gm,\"$1\\u2014$2\").replace(/(^|\\s)--(\\s|$)/gm,\"$1\\u2013$2\").replace(/(^|[^-\\s])--([^-\\s]|$)/gm,\"$1\\u2013$2\")),\"link_open\"===t.type&&\"auto\"===t.info&&n--,\"link_close\"===t.type&&\"auto\"===t.info&&n++}var i=/\\+-|\\.\\.|\\?\\?\\?\\?|!!!!|,,|--/,a=/\\((c|tm|r|p)\\)/i,c={c:\"\\xa9\",r:\"\\xae\",p:\"\\xa7\",tm:\"\\u2122\"};r.exports=function(e){var r;if(e.md.options.typographer)for(r=e.tokens.length-1;r>=0;r--)\"inline\"===e.tokens[r].type&&(a.test(e.tokens[r].content)&&s(e.tokens[r].children),i.test(e.tokens[r].content)&&o(e.tokens[r].children))}},{}],35:[function(e,r,t){function n(e,r,t){return e.substr(0,r)+t+e.substr(r+1)}function s(e,r){var t,s,c,u,p,h,f,d,m,_,g,b,k,v,y,x,C,A,w,D,q;for(w=[],t=0;t=0&&!(w[C].level<=f);C--);if(w.length=C+1,\"text\"===s.type){c=s.content,p=0,h=c.length;e:for(;p=0)m=c.charCodeAt(u.index-1);else for(C=t-1;C>=0;C--)if(\"text\"===e[C].type){m=e[C].content.charCodeAt(e[C].content.length-1);break}if(_=32,p=48&&m<=57&&(x=y=!1),y&&x&&(y=!1,x=b),y||x){if(x)for(C=w.length-1;C>=0&&(d=w[C],!(w[C].level=0;r--)\"inline\"===e.tokens[r].type&&c.test(e.tokens[r].content)&&s(e.tokens[r].children,e)}},{\"../common/utils\":4}],36:[function(e,r,t){function n(e,r,t){this.src=e,this.env=t,this.tokens=[],this.inlineMode=!1,this.md=r}var s=e(\"../token\");n.prototype.Token=s,r.exports=n},{\"../token\":51}],37:[function(e,r,t){var n=/^<([a-zA-Z0-9.!#$%&'*+\\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,s=/^<([a-zA-Z][a-zA-Z0-9+.\\-]{1,31}):([^<>\\x00-\\x20]*)>/;r.exports=function(e,r){var t,o,i,a,c,l,u=e.pos;return 60===e.src.charCodeAt(u)&&(t=e.src.slice(u),!(t.indexOf(\">\")<0)&&(s.test(t)?(o=t.match(s),a=o[0].slice(1,-1),c=e.md.normalizeLink(a),!!e.md.validateLink(c)&&(r||(l=e.push(\"link_open\",\"a\",1),l.attrs=[[\"href\",c]],l.markup=\"autolink\",l.info=\"auto\",l=e.push(\"text\",\"\",0),l.content=e.md.normalizeLinkText(a),l=e.push(\"link_close\",\"a\",-1),l.markup=\"autolink\",l.info=\"auto\"),e.pos+=o[0].length,!0)):!!n.test(t)&&(i=t.match(n),a=i[0].slice(1,-1),c=e.md.normalizeLink(\"mailto:\"+a),!!e.md.validateLink(c)&&(r||(l=e.push(\"link_open\",\"a\",1),l.attrs=[[\"href\",c]],l.markup=\"autolink\",l.info=\"auto\",l=e.push(\"text\",\"\",0),l.content=e.md.normalizeLinkText(a),l=e.push(\"link_close\",\"a\",-1),l.markup=\"autolink\",l.info=\"auto\"),e.pos+=i[0].length,!0))))}},{}],38:[function(e,r,t){r.exports=function(e,r){var t,n,s,o,i,a,c=e.pos;if(96!==e.src.charCodeAt(c))return!1;for(t=c,c++,n=e.posMax;c=0;){if(s=o[t],s.open&&s.marker===n.marker&&s.end<0&&s.level===n.level){var a=(s.close||n.open)&&void 0!==s.length&&void 0!==n.length&&(s.length+n.length)%3==0;if(!a){n.jump=r-t,n.open=!1,s.end=r,s.jump=0;break}}t-=s.jump+1}}},{}],40:[function(e,r,t){r.exports.tokenize=function(e,r){var t,n,s,o=e.pos,i=e.src.charCodeAt(o);if(r)return!1;if(95!==i&&42!==i)return!1;for(n=e.scanDelims(e.pos,42===i),t=0;t?@[]^_`{|}~-\".split(\"\").forEach(function(e){s[e.charCodeAt(0)]=1}),r.exports=function(e,r){var t,o=e.pos,i=e.posMax;if(92!==e.src.charCodeAt(o))return!1;if(++o=97&&r<=122}var s=e(\"../common/html_re\").HTML_TAG_RE;r.exports=function(e,r){var t,o,i,a,c=e.pos;return!!e.md.options.html&&(i=e.posMax,!(60!==e.src.charCodeAt(c)||c+2>=i)&&(!(33!==(t=e.src.charCodeAt(c+1))&&63!==t&&47!==t&&!n(t))&&(!!(o=e.src.slice(c).match(s))&&(r||(a=e.push(\"html_inline\",\"\",0),a.content=e.src.slice(c,c+o[0].length)),e.pos+=o[0].length,!0))))}},{\"../common/html_re\":3}],44:[function(e,r,t){var n=e(\"../common/utils\").normalizeReference,s=e(\"../common/utils\").isSpace;r.exports=function(e,r){var t,o,i,a,c,l,u,p,h,f,d,m,_,g=\"\",b=e.pos,k=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(l=e.pos+2,(c=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=c+1)=k)return!1;for(_=u,h=e.md.helpers.parseLinkDestination(e.src,u,e.posMax),h.ok&&(g=e.md.normalizeLink(h.str),e.md.validateLink(g)?u=h.pos:g=\"\"),_=u;u=k||41!==e.src.charCodeAt(u))return e.pos=b,!1;u++}else{if(void 0===e.env.references)return!1;if(u=0?a=e.src.slice(_,u++):u=c+1):u=c+1,a||(a=e.src.slice(l,c)),!(p=e.env.references[n(a)]))return e.pos=b,!1;g=p.href,f=p.title}return r||(i=e.src.slice(l,c),e.md.inline.parse(i,e.md,e.env,m=[]),d=e.push(\"image\",\"img\",0),d.attrs=t=[[\"src\",g],[\"alt\",\"\"]],d.children=m,d.content=i,f&&t.push([\"title\",f])),e.pos=u,e.posMax=k,!0}},{\"../common/utils\":4}],45:[function(e,r,t){var n=e(\"../common/utils\").normalizeReference,s=e(\"../common/utils\").isSpace;r.exports=function(e,r){var t,o,i,a,c,l,u,p,h,f,d=\"\",m=e.pos,_=e.posMax,g=e.pos,b=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(c=e.pos+1,(a=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((l=a+1)<_&&40===e.src.charCodeAt(l)){for(b=!1,l++;l<_&&(o=e.src.charCodeAt(l),s(o)||10===o);l++);if(l>=_)return!1;for(g=l,u=e.md.helpers.parseLinkDestination(e.src,l,e.posMax),u.ok&&(d=e.md.normalizeLink(u.str),e.md.validateLink(d)?l=u.pos:d=\"\"),g=l;l<_&&(o=e.src.charCodeAt(l),s(o)||10===o);l++);if(u=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<_&&g!==l&&u.ok)for(h=u.str,l=u.pos;l<_&&(o=e.src.charCodeAt(l),s(o)||10===o);l++);else h=\"\";(l>=_||41!==e.src.charCodeAt(l))&&(b=!0),l++}if(b){if(void 0===e.env.references)return!1;if(l<_&&91===e.src.charCodeAt(l)?(g=l+1,l=e.md.helpers.parseLinkLabel(e,l),l>=0?i=e.src.slice(g,l++):l=a+1):l=a+1,i||(i=e.src.slice(c,a)),!(p=e.env.references[n(i)]))return e.pos=m,!1;d=p.href,h=p.title}return r||(e.pos=c,e.posMax=a,f=e.push(\"link_open\",\"a\",1),f.attrs=t=[[\"href\",d]],h&&t.push([\"title\",h]),e.md.inline.tokenize(e),f=e.push(\"link_close\",\"a\",-1)),e.pos=l,e.posMax=_,!0}},{\"../common/utils\":4}],46:[function(e,r,t){var n=e(\"../common/utils\").isSpace;r.exports=function(e,r){var t,s,o=e.pos;if(10!==e.src.charCodeAt(o))return!1;for(t=e.pending.length-1,s=e.posMax,r||(t>=0&&32===e.pending.charCodeAt(t)?t>=1&&32===e.pending.charCodeAt(t-1)?(e.pending=e.pending.replace(/ +$/,\"\"),e.push(\"hardbreak\",\"br\",0)):(e.pending=e.pending.slice(0,-1),e.push(\"softbreak\",\"br\",0)):e.push(\"softbreak\",\"br\",0)),o++;o0&&this.level++,this.pendingLevel=this.level,this.tokens.push(n),n},n.prototype.scanDelims=function(e,r){var t,n,s,c,l,u,p,h,f,d=e,m=!0,_=!0,g=this.posMax,b=this.src.charCodeAt(e);for(t=e>0?this.src.charCodeAt(e-1):32;d=0&&(t=this.attrs[r][1]),t},n.prototype.attrJoin=function(e,r){var t=this.attrIndex(e);t<0?this.attrPush([e,r]):this.attrs[t][1]=this.attrs[t][1]+\" \"+r},r.exports=n},{}],52:[function(e,r,t){r.exports={Aacute:\"\\xc1\",aacute:\"\\xe1\",Abreve:\"\\u0102\",abreve:\"\\u0103\",ac:\"\\u223e\",acd:\"\\u223f\",acE:\"\\u223e\\u0333\",Acirc:\"\\xc2\",acirc:\"\\xe2\",acute:\"\\xb4\",Acy:\"\\u0410\",acy:\"\\u0430\",AElig:\"\\xc6\",aelig:\"\\xe6\",af:\"\\u2061\",Afr:\"\\ud835\\udd04\",afr:\"\\ud835\\udd1e\",Agrave:\"\\xc0\",agrave:\"\\xe0\",alefsym:\"\\u2135\",aleph:\"\\u2135\",Alpha:\"\\u0391\",alpha:\"\\u03b1\",Amacr:\"\\u0100\",amacr:\"\\u0101\",amalg:\"\\u2a3f\",amp:\"&\",AMP:\"&\",andand:\"\\u2a55\",And:\"\\u2a53\",and:\"\\u2227\",andd:\"\\u2a5c\",andslope:\"\\u2a58\",andv:\"\\u2a5a\",ang:\"\\u2220\",ange:\"\\u29a4\",angle:\"\\u2220\",angmsdaa:\"\\u29a8\",angmsdab:\"\\u29a9\",angmsdac:\"\\u29aa\",angmsdad:\"\\u29ab\",angmsdae:\"\\u29ac\",angmsdaf:\"\\u29ad\",angmsdag:\"\\u29ae\",angmsdah:\"\\u29af\",angmsd:\"\\u2221\",angrt:\"\\u221f\",angrtvb:\"\\u22be\",angrtvbd:\"\\u299d\",angsph:\"\\u2222\",angst:\"\\xc5\",angzarr:\"\\u237c\",Aogon:\"\\u0104\",aogon:\"\\u0105\",Aopf:\"\\ud835\\udd38\",aopf:\"\\ud835\\udd52\",apacir:\"\\u2a6f\",ap:\"\\u2248\",apE:\"\\u2a70\",ape:\"\\u224a\",apid:\"\\u224b\",apos:\"'\",ApplyFunction:\"\\u2061\",approx:\"\\u2248\",approxeq:\"\\u224a\",Aring:\"\\xc5\",aring:\"\\xe5\",Ascr:\"\\ud835\\udc9c\",ascr:\"\\ud835\\udcb6\",Assign:\"\\u2254\",ast:\"*\",asymp:\"\\u2248\",asympeq:\"\\u224d\",Atilde:\"\\xc3\",atilde:\"\\xe3\",Auml:\"\\xc4\",auml:\"\\xe4\",awconint:\"\\u2233\",awint:\"\\u2a11\",backcong:\"\\u224c\",backepsilon:\"\\u03f6\",backprime:\"\\u2035\",backsim:\"\\u223d\",backsimeq:\"\\u22cd\",Backslash:\"\\u2216\",Barv:\"\\u2ae7\",barvee:\"\\u22bd\",barwed:\"\\u2305\",Barwed:\"\\u2306\",barwedge:\"\\u2305\",bbrk:\"\\u23b5\",bbrktbrk:\"\\u23b6\",bcong:\"\\u224c\",Bcy:\"\\u0411\",bcy:\"\\u0431\",bdquo:\"\\u201e\",becaus:\"\\u2235\",because:\"\\u2235\",Because:\"\\u2235\",bemptyv:\"\\u29b0\",bepsi:\"\\u03f6\",bernou:\"\\u212c\",Bernoullis:\"\\u212c\",Beta:\"\\u0392\",beta:\"\\u03b2\",beth:\"\\u2136\",between:\"\\u226c\",Bfr:\"\\ud835\\udd05\",bfr:\"\\ud835\\udd1f\",bigcap:\"\\u22c2\",bigcirc:\"\\u25ef\",bigcup:\"\\u22c3\",bigodot:\"\\u2a00\",bigoplus:\"\\u2a01\",bigotimes:\"\\u2a02\",bigsqcup:\"\\u2a06\",bigstar:\"\\u2605\",bigtriangledown:\"\\u25bd\",bigtriangleup:\"\\u25b3\",biguplus:\"\\u2a04\",bigvee:\"\\u22c1\",bigwedge:\"\\u22c0\",bkarow:\"\\u290d\",blacklozenge:\"\\u29eb\",blacksquare:\"\\u25aa\",blacktriangle:\"\\u25b4\",blacktriangledown:\"\\u25be\",blacktriangleleft:\"\\u25c2\",blacktriangleright:\"\\u25b8\",blank:\"\\u2423\",blk12:\"\\u2592\",blk14:\"\\u2591\",blk34:\"\\u2593\",block:\"\\u2588\",bne:\"=\\u20e5\",bnequiv:\"\\u2261\\u20e5\",bNot:\"\\u2aed\",bnot:\"\\u2310\",Bopf:\"\\ud835\\udd39\",bopf:\"\\ud835\\udd53\",bot:\"\\u22a5\",bottom:\"\\u22a5\",bowtie:\"\\u22c8\",boxbox:\"\\u29c9\",boxdl:\"\\u2510\",boxdL:\"\\u2555\",boxDl:\"\\u2556\",boxDL:\"\\u2557\",boxdr:\"\\u250c\",boxdR:\"\\u2552\",boxDr:\"\\u2553\",boxDR:\"\\u2554\",boxh:\"\\u2500\",boxH:\"\\u2550\",boxhd:\"\\u252c\",boxHd:\"\\u2564\",boxhD:\"\\u2565\",boxHD:\"\\u2566\",boxhu:\"\\u2534\",boxHu:\"\\u2567\",boxhU:\"\\u2568\",boxHU:\"\\u2569\",boxminus:\"\\u229f\",boxplus:\"\\u229e\",boxtimes:\"\\u22a0\",boxul:\"\\u2518\",boxuL:\"\\u255b\",boxUl:\"\\u255c\",boxUL:\"\\u255d\",boxur:\"\\u2514\",boxuR:\"\\u2558\",boxUr:\"\\u2559\",boxUR:\"\\u255a\",boxv:\"\\u2502\",boxV:\"\\u2551\",boxvh:\"\\u253c\",boxvH:\"\\u256a\",boxVh:\"\\u256b\",boxVH:\"\\u256c\",boxvl:\"\\u2524\",boxvL:\"\\u2561\",boxVl:\"\\u2562\",boxVL:\"\\u2563\",boxvr:\"\\u251c\",boxvR:\"\\u255e\",boxVr:\"\\u255f\",boxVR:\"\\u2560\",bprime:\"\\u2035\",breve:\"\\u02d8\",Breve:\"\\u02d8\",brvbar:\"\\xa6\",bscr:\"\\ud835\\udcb7\",Bscr:\"\\u212c\",bsemi:\"\\u204f\",bsim:\"\\u223d\",bsime:\"\\u22cd\",bsolb:\"\\u29c5\",bsol:\"\\\\\",bsolhsub:\"\\u27c8\",bull:\"\\u2022\",bullet:\"\\u2022\",bump:\"\\u224e\",bumpE:\"\\u2aae\",bumpe:\"\\u224f\",Bumpeq:\"\\u224e\",bumpeq:\"\\u224f\",Cacute:\"\\u0106\",cacute:\"\\u0107\",capand:\"\\u2a44\",capbrcup:\"\\u2a49\",capcap:\"\\u2a4b\",cap:\"\\u2229\",Cap:\"\\u22d2\",capcup:\"\\u2a47\",capdot:\"\\u2a40\",CapitalDifferentialD:\"\\u2145\",caps:\"\\u2229\\ufe00\",caret:\"\\u2041\",caron:\"\\u02c7\",Cayleys:\"\\u212d\",ccaps:\"\\u2a4d\",Ccaron:\"\\u010c\",ccaron:\"\\u010d\",Ccedil:\"\\xc7\",ccedil:\"\\xe7\",Ccirc:\"\\u0108\",ccirc:\"\\u0109\",Cconint:\"\\u2230\",ccups:\"\\u2a4c\",ccupssm:\"\\u2a50\",Cdot:\"\\u010a\",cdot:\"\\u010b\",cedil:\"\\xb8\",Cedilla:\"\\xb8\",cemptyv:\"\\u29b2\",cent:\"\\xa2\",centerdot:\"\\xb7\",CenterDot:\"\\xb7\",cfr:\"\\ud835\\udd20\",Cfr:\"\\u212d\",CHcy:\"\\u0427\",chcy:\"\\u0447\",check:\"\\u2713\",checkmark:\"\\u2713\",Chi:\"\\u03a7\",chi:\"\\u03c7\",circ:\"\\u02c6\",circeq:\"\\u2257\",circlearrowleft:\"\\u21ba\",circlearrowright:\"\\u21bb\",circledast:\"\\u229b\",circledcirc:\"\\u229a\",circleddash:\"\\u229d\",CircleDot:\"\\u2299\",circledR:\"\\xae\",circledS:\"\\u24c8\",CircleMinus:\"\\u2296\",CirclePlus:\"\\u2295\",CircleTimes:\"\\u2297\",cir:\"\\u25cb\",cirE:\"\\u29c3\",cire:\"\\u2257\",cirfnint:\"\\u2a10\",cirmid:\"\\u2aef\",cirscir:\"\\u29c2\",ClockwiseContourIntegral:\"\\u2232\",CloseCurlyDoubleQuote:\"\\u201d\",CloseCurlyQuote:\"\\u2019\",clubs:\"\\u2663\",clubsuit:\"\\u2663\",colon:\":\",Colon:\"\\u2237\",Colone:\"\\u2a74\",colone:\"\\u2254\",coloneq:\"\\u2254\",comma:\",\",commat:\"@\",comp:\"\\u2201\",compfn:\"\\u2218\",complement:\"\\u2201\",complexes:\"\\u2102\",cong:\"\\u2245\",congdot:\"\\u2a6d\",Congruent:\"\\u2261\",conint:\"\\u222e\",Conint:\"\\u222f\",ContourIntegral:\"\\u222e\",copf:\"\\ud835\\udd54\",Copf:\"\\u2102\",coprod:\"\\u2210\",Coproduct:\"\\u2210\",copy:\"\\xa9\",COPY:\"\\xa9\",copysr:\"\\u2117\",CounterClockwiseContourIntegral:\"\\u2233\",crarr:\"\\u21b5\",cross:\"\\u2717\",Cross:\"\\u2a2f\",Cscr:\"\\ud835\\udc9e\",cscr:\"\\ud835\\udcb8\",csub:\"\\u2acf\",csube:\"\\u2ad1\",csup:\"\\u2ad0\",csupe:\"\\u2ad2\",ctdot:\"\\u22ef\",cudarrl:\"\\u2938\",cudarrr:\"\\u2935\",cuepr:\"\\u22de\",cuesc:\"\\u22df\",cularr:\"\\u21b6\",cularrp:\"\\u293d\",cupbrcap:\"\\u2a48\",cupcap:\"\\u2a46\",CupCap:\"\\u224d\",cup:\"\\u222a\",Cup:\"\\u22d3\",cupcup:\"\\u2a4a\",cupdot:\"\\u228d\",cupor:\"\\u2a45\",cups:\"\\u222a\\ufe00\",curarr:\"\\u21b7\",curarrm:\"\\u293c\",curlyeqprec:\"\\u22de\",curlyeqsucc:\"\\u22df\",curlyvee:\"\\u22ce\",curlywedge:\"\\u22cf\",curren:\"\\xa4\",curvearrowleft:\"\\u21b6\",curvearrowright:\"\\u21b7\",cuvee:\"\\u22ce\",cuwed:\"\\u22cf\",cwconint:\"\\u2232\",cwint:\"\\u2231\",cylcty:\"\\u232d\",dagger:\"\\u2020\",Dagger:\"\\u2021\",daleth:\"\\u2138\",darr:\"\\u2193\",Darr:\"\\u21a1\",dArr:\"\\u21d3\",dash:\"\\u2010\",Dashv:\"\\u2ae4\",dashv:\"\\u22a3\",dbkarow:\"\\u290f\",dblac:\"\\u02dd\",Dcaron:\"\\u010e\",dcaron:\"\\u010f\",Dcy:\"\\u0414\",dcy:\"\\u0434\",ddagger:\"\\u2021\",ddarr:\"\\u21ca\",DD:\"\\u2145\",dd:\"\\u2146\",DDotrahd:\"\\u2911\",ddotseq:\"\\u2a77\",deg:\"\\xb0\",Del:\"\\u2207\",Delta:\"\\u0394\",delta:\"\\u03b4\",demptyv:\"\\u29b1\",dfisht:\"\\u297f\",Dfr:\"\\ud835\\udd07\",dfr:\"\\ud835\\udd21\",dHar:\"\\u2965\",dharl:\"\\u21c3\",dharr:\"\\u21c2\",DiacriticalAcute:\"\\xb4\",DiacriticalDot:\"\\u02d9\",DiacriticalDoubleAcute:\"\\u02dd\",DiacriticalGrave:\"`\",DiacriticalTilde:\"\\u02dc\",diam:\"\\u22c4\",diamond:\"\\u22c4\",Diamond:\"\\u22c4\",diamondsuit:\"\\u2666\",diams:\"\\u2666\",die:\"\\xa8\",DifferentialD:\"\\u2146\",digamma:\"\\u03dd\",disin:\"\\u22f2\",div:\"\\xf7\",divide:\"\\xf7\",divideontimes:\"\\u22c7\",divonx:\"\\u22c7\",DJcy:\"\\u0402\",djcy:\"\\u0452\",dlcorn:\"\\u231e\",dlcrop:\"\\u230d\",dollar:\"$\",Dopf:\"\\ud835\\udd3b\",dopf:\"\\ud835\\udd55\",Dot:\"\\xa8\",dot:\"\\u02d9\",DotDot:\"\\u20dc\",doteq:\"\\u2250\",doteqdot:\"\\u2251\",DotEqual:\"\\u2250\",dotminus:\"\\u2238\",dotplus:\"\\u2214\",dotsquare:\"\\u22a1\",doublebarwedge:\"\\u2306\",DoubleContourIntegral:\"\\u222f\",DoubleDot:\"\\xa8\",DoubleDownArrow:\"\\u21d3\",DoubleLeftArrow:\"\\u21d0\",DoubleLeftRightArrow:\"\\u21d4\",DoubleLeftTee:\"\\u2ae4\",DoubleLongLeftArrow:\"\\u27f8\",DoubleLongLeftRightArrow:\"\\u27fa\",DoubleLongRightArrow:\"\\u27f9\",DoubleRightArrow:\"\\u21d2\",DoubleRightTee:\"\\u22a8\",DoubleUpArrow:\"\\u21d1\",DoubleUpDownArrow:\"\\u21d5\",DoubleVerticalBar:\"\\u2225\",DownArrowBar:\"\\u2913\",downarrow:\"\\u2193\",DownArrow:\"\\u2193\",Downarrow:\"\\u21d3\",DownArrowUpArrow:\"\\u21f5\",DownBreve:\"\\u0311\",downdownarrows:\"\\u21ca\",downharpoonleft:\"\\u21c3\",downharpoonright:\"\\u21c2\",DownLeftRightVector:\"\\u2950\",DownLeftTeeVector:\"\\u295e\",DownLeftVectorBar:\"\\u2956\",DownLeftVector:\"\\u21bd\",DownRightTeeVector:\"\\u295f\",DownRightVectorBar:\"\\u2957\",DownRightVector:\"\\u21c1\",DownTeeArrow:\"\\u21a7\",DownTee:\"\\u22a4\",drbkarow:\"\\u2910\",drcorn:\"\\u231f\",drcrop:\"\\u230c\",Dscr:\"\\ud835\\udc9f\",dscr:\"\\ud835\\udcb9\",DScy:\"\\u0405\",dscy:\"\\u0455\",dsol:\"\\u29f6\",Dstrok:\"\\u0110\",dstrok:\"\\u0111\",dtdot:\"\\u22f1\",dtri:\"\\u25bf\",dtrif:\"\\u25be\",duarr:\"\\u21f5\",duhar:\"\\u296f\",dwangle:\"\\u29a6\",DZcy:\"\\u040f\",dzcy:\"\\u045f\",dzigrarr:\"\\u27ff\",Eacute:\"\\xc9\",eacute:\"\\xe9\",easter:\"\\u2a6e\",Ecaron:\"\\u011a\",ecaron:\"\\u011b\",Ecirc:\"\\xca\",ecirc:\"\\xea\",ecir:\"\\u2256\",ecolon:\"\\u2255\",Ecy:\"\\u042d\",ecy:\"\\u044d\",eDDot:\"\\u2a77\",Edot:\"\\u0116\",edot:\"\\u0117\",eDot:\"\\u2251\",ee:\"\\u2147\",efDot:\"\\u2252\",Efr:\"\\ud835\\udd08\",efr:\"\\ud835\\udd22\",eg:\"\\u2a9a\",Egrave:\"\\xc8\",egrave:\"\\xe8\",egs:\"\\u2a96\",egsdot:\"\\u2a98\",el:\"\\u2a99\",Element:\"\\u2208\",elinters:\"\\u23e7\",ell:\"\\u2113\",els:\"\\u2a95\",elsdot:\"\\u2a97\",Emacr:\"\\u0112\",emacr:\"\\u0113\",empty:\"\\u2205\",emptyset:\"\\u2205\",EmptySmallSquare:\"\\u25fb\",emptyv:\"\\u2205\",EmptyVerySmallSquare:\"\\u25ab\",emsp13:\"\\u2004\",emsp14:\"\\u2005\",emsp:\"\\u2003\",ENG:\"\\u014a\",eng:\"\\u014b\",ensp:\"\\u2002\",Eogon:\"\\u0118\",eogon:\"\\u0119\",Eopf:\"\\ud835\\udd3c\",eopf:\"\\ud835\\udd56\",epar:\"\\u22d5\",eparsl:\"\\u29e3\",eplus:\"\\u2a71\",epsi:\"\\u03b5\",Epsilon:\"\\u0395\",epsilon:\"\\u03b5\",epsiv:\"\\u03f5\",eqcirc:\"\\u2256\",eqcolon:\"\\u2255\",eqsim:\"\\u2242\",eqslantgtr:\"\\u2a96\",eqslantless:\"\\u2a95\",Equal:\"\\u2a75\",equals:\"=\",EqualTilde:\"\\u2242\",equest:\"\\u225f\",Equilibrium:\"\\u21cc\",equiv:\"\\u2261\",equivDD:\"\\u2a78\",eqvparsl:\"\\u29e5\",erarr:\"\\u2971\",erDot:\"\\u2253\",escr:\"\\u212f\",Escr:\"\\u2130\",esdot:\"\\u2250\",Esim:\"\\u2a73\",esim:\"\\u2242\",Eta:\"\\u0397\",eta:\"\\u03b7\",ETH:\"\\xd0\",eth:\"\\xf0\",Euml:\"\\xcb\",euml:\"\\xeb\",euro:\"\\u20ac\",excl:\"!\",exist:\"\\u2203\",Exists:\"\\u2203\",expectation:\"\\u2130\",exponentiale:\"\\u2147\",ExponentialE:\"\\u2147\",fallingdotseq:\"\\u2252\",Fcy:\"\\u0424\",fcy:\"\\u0444\",female:\"\\u2640\",ffilig:\"\\ufb03\",fflig:\"\\ufb00\",ffllig:\"\\ufb04\",Ffr:\"\\ud835\\udd09\",ffr:\"\\ud835\\udd23\",filig:\"\\ufb01\",FilledSmallSquare:\"\\u25fc\",FilledVerySmallSquare:\"\\u25aa\",fjlig:\"fj\",flat:\"\\u266d\",fllig:\"\\ufb02\",fltns:\"\\u25b1\",fnof:\"\\u0192\",Fopf:\"\\ud835\\udd3d\",fopf:\"\\ud835\\udd57\",forall:\"\\u2200\",ForAll:\"\\u2200\",fork:\"\\u22d4\",forkv:\"\\u2ad9\",Fouriertrf:\"\\u2131\",fpartint:\"\\u2a0d\",frac12:\"\\xbd\",frac13:\"\\u2153\",frac14:\"\\xbc\",frac15:\"\\u2155\",frac16:\"\\u2159\",frac18:\"\\u215b\",frac23:\"\\u2154\",frac25:\"\\u2156\",frac34:\"\\xbe\",frac35:\"\\u2157\",frac38:\"\\u215c\",frac45:\"\\u2158\",frac56:\"\\u215a\",frac58:\"\\u215d\",frac78:\"\\u215e\",frasl:\"\\u2044\",frown:\"\\u2322\",fscr:\"\\ud835\\udcbb\",Fscr:\"\\u2131\",gacute:\"\\u01f5\",Gamma:\"\\u0393\",gamma:\"\\u03b3\",Gammad:\"\\u03dc\",gammad:\"\\u03dd\",gap:\"\\u2a86\",Gbreve:\"\\u011e\",gbreve:\"\\u011f\",Gcedil:\"\\u0122\",Gcirc:\"\\u011c\",gcirc:\"\\u011d\",Gcy:\"\\u0413\",gcy:\"\\u0433\",Gdot:\"\\u0120\",gdot:\"\\u0121\",ge:\"\\u2265\",gE:\"\\u2267\",gEl:\"\\u2a8c\",gel:\"\\u22db\",geq:\"\\u2265\",geqq:\"\\u2267\",geqslant:\"\\u2a7e\",gescc:\"\\u2aa9\",ges:\"\\u2a7e\",gesdot:\"\\u2a80\",gesdoto:\"\\u2a82\",gesdotol:\"\\u2a84\",gesl:\"\\u22db\\ufe00\",gesles:\"\\u2a94\",Gfr:\"\\ud835\\udd0a\",gfr:\"\\ud835\\udd24\",gg:\"\\u226b\",Gg:\"\\u22d9\",ggg:\"\\u22d9\",gimel:\"\\u2137\",GJcy:\"\\u0403\",gjcy:\"\\u0453\",gla:\"\\u2aa5\",gl:\"\\u2277\",glE:\"\\u2a92\",glj:\"\\u2aa4\",gnap:\"\\u2a8a\",gnapprox:\"\\u2a8a\",gne:\"\\u2a88\",gnE:\"\\u2269\",gneq:\"\\u2a88\",gneqq:\"\\u2269\",gnsim:\"\\u22e7\",Gopf:\"\\ud835\\udd3e\",gopf:\"\\ud835\\udd58\",grave:\"`\",GreaterEqual:\"\\u2265\",GreaterEqualLess:\"\\u22db\",GreaterFullEqual:\"\\u2267\",GreaterGreater:\"\\u2aa2\",GreaterLess:\"\\u2277\",GreaterSlantEqual:\"\\u2a7e\",GreaterTilde:\"\\u2273\",Gscr:\"\\ud835\\udca2\",gscr:\"\\u210a\",gsim:\"\\u2273\",gsime:\"\\u2a8e\",gsiml:\"\\u2a90\",gtcc:\"\\u2aa7\",gtcir:\"\\u2a7a\",gt:\">\",GT:\">\",Gt:\"\\u226b\",gtdot:\"\\u22d7\",gtlPar:\"\\u2995\",gtquest:\"\\u2a7c\",gtrapprox:\"\\u2a86\",gtrarr:\"\\u2978\",gtrdot:\"\\u22d7\",gtreqless:\"\\u22db\",gtreqqless:\"\\u2a8c\",gtrless:\"\\u2277\",gtrsim:\"\\u2273\",gvertneqq:\"\\u2269\\ufe00\",gvnE:\"\\u2269\\ufe00\",Hacek:\"\\u02c7\",hairsp:\"\\u200a\",half:\"\\xbd\",hamilt:\"\\u210b\",HARDcy:\"\\u042a\",hardcy:\"\\u044a\",harrcir:\"\\u2948\",harr:\"\\u2194\",hArr:\"\\u21d4\",harrw:\"\\u21ad\",Hat:\"^\",hbar:\"\\u210f\",Hcirc:\"\\u0124\",hcirc:\"\\u0125\",hearts:\"\\u2665\",heartsuit:\"\\u2665\",hellip:\"\\u2026\",hercon:\"\\u22b9\",hfr:\"\\ud835\\udd25\",Hfr:\"\\u210c\",HilbertSpace:\"\\u210b\",hksearow:\"\\u2925\",hkswarow:\"\\u2926\",hoarr:\"\\u21ff\",homtht:\"\\u223b\",hookleftarrow:\"\\u21a9\",hookrightarrow:\"\\u21aa\",hopf:\"\\ud835\\udd59\",Hopf:\"\\u210d\",horbar:\"\\u2015\",HorizontalLine:\"\\u2500\",hscr:\"\\ud835\\udcbd\",Hscr:\"\\u210b\",hslash:\"\\u210f\",Hstrok:\"\\u0126\",hstrok:\"\\u0127\",HumpDownHump:\"\\u224e\",HumpEqual:\"\\u224f\",hybull:\"\\u2043\",hyphen:\"\\u2010\",Iacute:\"\\xcd\",iacute:\"\\xed\",ic:\"\\u2063\",Icirc:\"\\xce\",icirc:\"\\xee\",Icy:\"\\u0418\",icy:\"\\u0438\",Idot:\"\\u0130\",IEcy:\"\\u0415\",iecy:\"\\u0435\",iexcl:\"\\xa1\",iff:\"\\u21d4\",ifr:\"\\ud835\\udd26\",Ifr:\"\\u2111\",Igrave:\"\\xcc\",igrave:\"\\xec\",ii:\"\\u2148\",iiiint:\"\\u2a0c\",iiint:\"\\u222d\",iinfin:\"\\u29dc\",iiota:\"\\u2129\",IJlig:\"\\u0132\",ijlig:\"\\u0133\",Imacr:\"\\u012a\",imacr:\"\\u012b\",image:\"\\u2111\",ImaginaryI:\"\\u2148\",imagline:\"\\u2110\",imagpart:\"\\u2111\",imath:\"\\u0131\",Im:\"\\u2111\",imof:\"\\u22b7\",imped:\"\\u01b5\",Implies:\"\\u21d2\",incare:\"\\u2105\",in:\"\\u2208\",infin:\"\\u221e\",infintie:\"\\u29dd\",inodot:\"\\u0131\",intcal:\"\\u22ba\",int:\"\\u222b\",Int:\"\\u222c\",integers:\"\\u2124\",Integral:\"\\u222b\",intercal:\"\\u22ba\",Intersection:\"\\u22c2\",intlarhk:\"\\u2a17\",intprod:\"\\u2a3c\",InvisibleComma:\"\\u2063\",InvisibleTimes:\"\\u2062\",IOcy:\"\\u0401\",iocy:\"\\u0451\",Iogon:\"\\u012e\",iogon:\"\\u012f\",Iopf:\"\\ud835\\udd40\",iopf:\"\\ud835\\udd5a\",Iota:\"\\u0399\",iota:\"\\u03b9\",iprod:\"\\u2a3c\",iquest:\"\\xbf\",iscr:\"\\ud835\\udcbe\",Iscr:\"\\u2110\",isin:\"\\u2208\",isindot:\"\\u22f5\",isinE:\"\\u22f9\",isins:\"\\u22f4\",isinsv:\"\\u22f3\",isinv:\"\\u2208\",it:\"\\u2062\",Itilde:\"\\u0128\",itilde:\"\\u0129\",Iukcy:\"\\u0406\",iukcy:\"\\u0456\",Iuml:\"\\xcf\",iuml:\"\\xef\",Jcirc:\"\\u0134\",jcirc:\"\\u0135\",Jcy:\"\\u0419\",jcy:\"\\u0439\",Jfr:\"\\ud835\\udd0d\",jfr:\"\\ud835\\udd27\",jmath:\"\\u0237\",Jopf:\"\\ud835\\udd41\",\njopf:\"\\ud835\\udd5b\",Jscr:\"\\ud835\\udca5\",jscr:\"\\ud835\\udcbf\",Jsercy:\"\\u0408\",jsercy:\"\\u0458\",Jukcy:\"\\u0404\",jukcy:\"\\u0454\",Kappa:\"\\u039a\",kappa:\"\\u03ba\",kappav:\"\\u03f0\",Kcedil:\"\\u0136\",kcedil:\"\\u0137\",Kcy:\"\\u041a\",kcy:\"\\u043a\",Kfr:\"\\ud835\\udd0e\",kfr:\"\\ud835\\udd28\",kgreen:\"\\u0138\",KHcy:\"\\u0425\",khcy:\"\\u0445\",KJcy:\"\\u040c\",kjcy:\"\\u045c\",Kopf:\"\\ud835\\udd42\",kopf:\"\\ud835\\udd5c\",Kscr:\"\\ud835\\udca6\",kscr:\"\\ud835\\udcc0\",lAarr:\"\\u21da\",Lacute:\"\\u0139\",lacute:\"\\u013a\",laemptyv:\"\\u29b4\",lagran:\"\\u2112\",Lambda:\"\\u039b\",lambda:\"\\u03bb\",lang:\"\\u27e8\",Lang:\"\\u27ea\",langd:\"\\u2991\",langle:\"\\u27e8\",lap:\"\\u2a85\",Laplacetrf:\"\\u2112\",laquo:\"\\xab\",larrb:\"\\u21e4\",larrbfs:\"\\u291f\",larr:\"\\u2190\",Larr:\"\\u219e\",lArr:\"\\u21d0\",larrfs:\"\\u291d\",larrhk:\"\\u21a9\",larrlp:\"\\u21ab\",larrpl:\"\\u2939\",larrsim:\"\\u2973\",larrtl:\"\\u21a2\",latail:\"\\u2919\",lAtail:\"\\u291b\",lat:\"\\u2aab\",late:\"\\u2aad\",lates:\"\\u2aad\\ufe00\",lbarr:\"\\u290c\",lBarr:\"\\u290e\",lbbrk:\"\\u2772\",lbrace:\"{\",lbrack:\"[\",lbrke:\"\\u298b\",lbrksld:\"\\u298f\",lbrkslu:\"\\u298d\",Lcaron:\"\\u013d\",lcaron:\"\\u013e\",Lcedil:\"\\u013b\",lcedil:\"\\u013c\",lceil:\"\\u2308\",lcub:\"{\",Lcy:\"\\u041b\",lcy:\"\\u043b\",ldca:\"\\u2936\",ldquo:\"\\u201c\",ldquor:\"\\u201e\",ldrdhar:\"\\u2967\",ldrushar:\"\\u294b\",ldsh:\"\\u21b2\",le:\"\\u2264\",lE:\"\\u2266\",LeftAngleBracket:\"\\u27e8\",LeftArrowBar:\"\\u21e4\",leftarrow:\"\\u2190\",LeftArrow:\"\\u2190\",Leftarrow:\"\\u21d0\",LeftArrowRightArrow:\"\\u21c6\",leftarrowtail:\"\\u21a2\",LeftCeiling:\"\\u2308\",LeftDoubleBracket:\"\\u27e6\",LeftDownTeeVector:\"\\u2961\",LeftDownVectorBar:\"\\u2959\",LeftDownVector:\"\\u21c3\",LeftFloor:\"\\u230a\",leftharpoondown:\"\\u21bd\",leftharpoonup:\"\\u21bc\",leftleftarrows:\"\\u21c7\",leftrightarrow:\"\\u2194\",LeftRightArrow:\"\\u2194\",Leftrightarrow:\"\\u21d4\",leftrightarrows:\"\\u21c6\",leftrightharpoons:\"\\u21cb\",leftrightsquigarrow:\"\\u21ad\",LeftRightVector:\"\\u294e\",LeftTeeArrow:\"\\u21a4\",LeftTee:\"\\u22a3\",LeftTeeVector:\"\\u295a\",leftthreetimes:\"\\u22cb\",LeftTriangleBar:\"\\u29cf\",LeftTriangle:\"\\u22b2\",LeftTriangleEqual:\"\\u22b4\",LeftUpDownVector:\"\\u2951\",LeftUpTeeVector:\"\\u2960\",LeftUpVectorBar:\"\\u2958\",LeftUpVector:\"\\u21bf\",LeftVectorBar:\"\\u2952\",LeftVector:\"\\u21bc\",lEg:\"\\u2a8b\",leg:\"\\u22da\",leq:\"\\u2264\",leqq:\"\\u2266\",leqslant:\"\\u2a7d\",lescc:\"\\u2aa8\",les:\"\\u2a7d\",lesdot:\"\\u2a7f\",lesdoto:\"\\u2a81\",lesdotor:\"\\u2a83\",lesg:\"\\u22da\\ufe00\",lesges:\"\\u2a93\",lessapprox:\"\\u2a85\",lessdot:\"\\u22d6\",lesseqgtr:\"\\u22da\",lesseqqgtr:\"\\u2a8b\",LessEqualGreater:\"\\u22da\",LessFullEqual:\"\\u2266\",LessGreater:\"\\u2276\",lessgtr:\"\\u2276\",LessLess:\"\\u2aa1\",lesssim:\"\\u2272\",LessSlantEqual:\"\\u2a7d\",LessTilde:\"\\u2272\",lfisht:\"\\u297c\",lfloor:\"\\u230a\",Lfr:\"\\ud835\\udd0f\",lfr:\"\\ud835\\udd29\",lg:\"\\u2276\",lgE:\"\\u2a91\",lHar:\"\\u2962\",lhard:\"\\u21bd\",lharu:\"\\u21bc\",lharul:\"\\u296a\",lhblk:\"\\u2584\",LJcy:\"\\u0409\",ljcy:\"\\u0459\",llarr:\"\\u21c7\",ll:\"\\u226a\",Ll:\"\\u22d8\",llcorner:\"\\u231e\",Lleftarrow:\"\\u21da\",llhard:\"\\u296b\",lltri:\"\\u25fa\",Lmidot:\"\\u013f\",lmidot:\"\\u0140\",lmoustache:\"\\u23b0\",lmoust:\"\\u23b0\",lnap:\"\\u2a89\",lnapprox:\"\\u2a89\",lne:\"\\u2a87\",lnE:\"\\u2268\",lneq:\"\\u2a87\",lneqq:\"\\u2268\",lnsim:\"\\u22e6\",loang:\"\\u27ec\",loarr:\"\\u21fd\",lobrk:\"\\u27e6\",longleftarrow:\"\\u27f5\",LongLeftArrow:\"\\u27f5\",Longleftarrow:\"\\u27f8\",longleftrightarrow:\"\\u27f7\",LongLeftRightArrow:\"\\u27f7\",Longleftrightarrow:\"\\u27fa\",longmapsto:\"\\u27fc\",longrightarrow:\"\\u27f6\",LongRightArrow:\"\\u27f6\",Longrightarrow:\"\\u27f9\",looparrowleft:\"\\u21ab\",looparrowright:\"\\u21ac\",lopar:\"\\u2985\",Lopf:\"\\ud835\\udd43\",lopf:\"\\ud835\\udd5d\",loplus:\"\\u2a2d\",lotimes:\"\\u2a34\",lowast:\"\\u2217\",lowbar:\"_\",LowerLeftArrow:\"\\u2199\",LowerRightArrow:\"\\u2198\",loz:\"\\u25ca\",lozenge:\"\\u25ca\",lozf:\"\\u29eb\",lpar:\"(\",lparlt:\"\\u2993\",lrarr:\"\\u21c6\",lrcorner:\"\\u231f\",lrhar:\"\\u21cb\",lrhard:\"\\u296d\",lrm:\"\\u200e\",lrtri:\"\\u22bf\",lsaquo:\"\\u2039\",lscr:\"\\ud835\\udcc1\",Lscr:\"\\u2112\",lsh:\"\\u21b0\",Lsh:\"\\u21b0\",lsim:\"\\u2272\",lsime:\"\\u2a8d\",lsimg:\"\\u2a8f\",lsqb:\"[\",lsquo:\"\\u2018\",lsquor:\"\\u201a\",Lstrok:\"\\u0141\",lstrok:\"\\u0142\",ltcc:\"\\u2aa6\",ltcir:\"\\u2a79\",lt:\"<\",LT:\"<\",Lt:\"\\u226a\",ltdot:\"\\u22d6\",lthree:\"\\u22cb\",ltimes:\"\\u22c9\",ltlarr:\"\\u2976\",ltquest:\"\\u2a7b\",ltri:\"\\u25c3\",ltrie:\"\\u22b4\",ltrif:\"\\u25c2\",ltrPar:\"\\u2996\",lurdshar:\"\\u294a\",luruhar:\"\\u2966\",lvertneqq:\"\\u2268\\ufe00\",lvnE:\"\\u2268\\ufe00\",macr:\"\\xaf\",male:\"\\u2642\",malt:\"\\u2720\",maltese:\"\\u2720\",Map:\"\\u2905\",map:\"\\u21a6\",mapsto:\"\\u21a6\",mapstodown:\"\\u21a7\",mapstoleft:\"\\u21a4\",mapstoup:\"\\u21a5\",marker:\"\\u25ae\",mcomma:\"\\u2a29\",Mcy:\"\\u041c\",mcy:\"\\u043c\",mdash:\"\\u2014\",mDDot:\"\\u223a\",measuredangle:\"\\u2221\",MediumSpace:\"\\u205f\",Mellintrf:\"\\u2133\",Mfr:\"\\ud835\\udd10\",mfr:\"\\ud835\\udd2a\",mho:\"\\u2127\",micro:\"\\xb5\",midast:\"*\",midcir:\"\\u2af0\",mid:\"\\u2223\",middot:\"\\xb7\",minusb:\"\\u229f\",minus:\"\\u2212\",minusd:\"\\u2238\",minusdu:\"\\u2a2a\",MinusPlus:\"\\u2213\",mlcp:\"\\u2adb\",mldr:\"\\u2026\",mnplus:\"\\u2213\",models:\"\\u22a7\",Mopf:\"\\ud835\\udd44\",mopf:\"\\ud835\\udd5e\",mp:\"\\u2213\",mscr:\"\\ud835\\udcc2\",Mscr:\"\\u2133\",mstpos:\"\\u223e\",Mu:\"\\u039c\",mu:\"\\u03bc\",multimap:\"\\u22b8\",mumap:\"\\u22b8\",nabla:\"\\u2207\",Nacute:\"\\u0143\",nacute:\"\\u0144\",nang:\"\\u2220\\u20d2\",nap:\"\\u2249\",napE:\"\\u2a70\\u0338\",napid:\"\\u224b\\u0338\",napos:\"\\u0149\",napprox:\"\\u2249\",natural:\"\\u266e\",naturals:\"\\u2115\",natur:\"\\u266e\",nbsp:\"\\xa0\",nbump:\"\\u224e\\u0338\",nbumpe:\"\\u224f\\u0338\",ncap:\"\\u2a43\",Ncaron:\"\\u0147\",ncaron:\"\\u0148\",Ncedil:\"\\u0145\",ncedil:\"\\u0146\",ncong:\"\\u2247\",ncongdot:\"\\u2a6d\\u0338\",ncup:\"\\u2a42\",Ncy:\"\\u041d\",ncy:\"\\u043d\",ndash:\"\\u2013\",nearhk:\"\\u2924\",nearr:\"\\u2197\",neArr:\"\\u21d7\",nearrow:\"\\u2197\",ne:\"\\u2260\",nedot:\"\\u2250\\u0338\",NegativeMediumSpace:\"\\u200b\",NegativeThickSpace:\"\\u200b\",NegativeThinSpace:\"\\u200b\",NegativeVeryThinSpace:\"\\u200b\",nequiv:\"\\u2262\",nesear:\"\\u2928\",nesim:\"\\u2242\\u0338\",NestedGreaterGreater:\"\\u226b\",NestedLessLess:\"\\u226a\",NewLine:\"\\n\",nexist:\"\\u2204\",nexists:\"\\u2204\",Nfr:\"\\ud835\\udd11\",nfr:\"\\ud835\\udd2b\",ngE:\"\\u2267\\u0338\",nge:\"\\u2271\",ngeq:\"\\u2271\",ngeqq:\"\\u2267\\u0338\",ngeqslant:\"\\u2a7e\\u0338\",nges:\"\\u2a7e\\u0338\",nGg:\"\\u22d9\\u0338\",ngsim:\"\\u2275\",nGt:\"\\u226b\\u20d2\",ngt:\"\\u226f\",ngtr:\"\\u226f\",nGtv:\"\\u226b\\u0338\",nharr:\"\\u21ae\",nhArr:\"\\u21ce\",nhpar:\"\\u2af2\",ni:\"\\u220b\",nis:\"\\u22fc\",nisd:\"\\u22fa\",niv:\"\\u220b\",NJcy:\"\\u040a\",njcy:\"\\u045a\",nlarr:\"\\u219a\",nlArr:\"\\u21cd\",nldr:\"\\u2025\",nlE:\"\\u2266\\u0338\",nle:\"\\u2270\",nleftarrow:\"\\u219a\",nLeftarrow:\"\\u21cd\",nleftrightarrow:\"\\u21ae\",nLeftrightarrow:\"\\u21ce\",nleq:\"\\u2270\",nleqq:\"\\u2266\\u0338\",nleqslant:\"\\u2a7d\\u0338\",nles:\"\\u2a7d\\u0338\",nless:\"\\u226e\",nLl:\"\\u22d8\\u0338\",nlsim:\"\\u2274\",nLt:\"\\u226a\\u20d2\",nlt:\"\\u226e\",nltri:\"\\u22ea\",nltrie:\"\\u22ec\",nLtv:\"\\u226a\\u0338\",nmid:\"\\u2224\",NoBreak:\"\\u2060\",NonBreakingSpace:\"\\xa0\",nopf:\"\\ud835\\udd5f\",Nopf:\"\\u2115\",Not:\"\\u2aec\",not:\"\\xac\",NotCongruent:\"\\u2262\",NotCupCap:\"\\u226d\",NotDoubleVerticalBar:\"\\u2226\",NotElement:\"\\u2209\",NotEqual:\"\\u2260\",NotEqualTilde:\"\\u2242\\u0338\",NotExists:\"\\u2204\",NotGreater:\"\\u226f\",NotGreaterEqual:\"\\u2271\",NotGreaterFullEqual:\"\\u2267\\u0338\",NotGreaterGreater:\"\\u226b\\u0338\",NotGreaterLess:\"\\u2279\",NotGreaterSlantEqual:\"\\u2a7e\\u0338\",NotGreaterTilde:\"\\u2275\",NotHumpDownHump:\"\\u224e\\u0338\",NotHumpEqual:\"\\u224f\\u0338\",notin:\"\\u2209\",notindot:\"\\u22f5\\u0338\",notinE:\"\\u22f9\\u0338\",notinva:\"\\u2209\",notinvb:\"\\u22f7\",notinvc:\"\\u22f6\",NotLeftTriangleBar:\"\\u29cf\\u0338\",NotLeftTriangle:\"\\u22ea\",NotLeftTriangleEqual:\"\\u22ec\",NotLess:\"\\u226e\",NotLessEqual:\"\\u2270\",NotLessGreater:\"\\u2278\",NotLessLess:\"\\u226a\\u0338\",NotLessSlantEqual:\"\\u2a7d\\u0338\",NotLessTilde:\"\\u2274\",NotNestedGreaterGreater:\"\\u2aa2\\u0338\",NotNestedLessLess:\"\\u2aa1\\u0338\",notni:\"\\u220c\",notniva:\"\\u220c\",notnivb:\"\\u22fe\",notnivc:\"\\u22fd\",NotPrecedes:\"\\u2280\",NotPrecedesEqual:\"\\u2aaf\\u0338\",NotPrecedesSlantEqual:\"\\u22e0\",NotReverseElement:\"\\u220c\",NotRightTriangleBar:\"\\u29d0\\u0338\",NotRightTriangle:\"\\u22eb\",NotRightTriangleEqual:\"\\u22ed\",NotSquareSubset:\"\\u228f\\u0338\",NotSquareSubsetEqual:\"\\u22e2\",NotSquareSuperset:\"\\u2290\\u0338\",NotSquareSupersetEqual:\"\\u22e3\",NotSubset:\"\\u2282\\u20d2\",NotSubsetEqual:\"\\u2288\",NotSucceeds:\"\\u2281\",NotSucceedsEqual:\"\\u2ab0\\u0338\",NotSucceedsSlantEqual:\"\\u22e1\",NotSucceedsTilde:\"\\u227f\\u0338\",NotSuperset:\"\\u2283\\u20d2\",NotSupersetEqual:\"\\u2289\",NotTilde:\"\\u2241\",NotTildeEqual:\"\\u2244\",NotTildeFullEqual:\"\\u2247\",NotTildeTilde:\"\\u2249\",NotVerticalBar:\"\\u2224\",nparallel:\"\\u2226\",npar:\"\\u2226\",nparsl:\"\\u2afd\\u20e5\",npart:\"\\u2202\\u0338\",npolint:\"\\u2a14\",npr:\"\\u2280\",nprcue:\"\\u22e0\",nprec:\"\\u2280\",npreceq:\"\\u2aaf\\u0338\",npre:\"\\u2aaf\\u0338\",nrarrc:\"\\u2933\\u0338\",nrarr:\"\\u219b\",nrArr:\"\\u21cf\",nrarrw:\"\\u219d\\u0338\",nrightarrow:\"\\u219b\",nRightarrow:\"\\u21cf\",nrtri:\"\\u22eb\",nrtrie:\"\\u22ed\",nsc:\"\\u2281\",nsccue:\"\\u22e1\",nsce:\"\\u2ab0\\u0338\",Nscr:\"\\ud835\\udca9\",nscr:\"\\ud835\\udcc3\",nshortmid:\"\\u2224\",nshortparallel:\"\\u2226\",nsim:\"\\u2241\",nsime:\"\\u2244\",nsimeq:\"\\u2244\",nsmid:\"\\u2224\",nspar:\"\\u2226\",nsqsube:\"\\u22e2\",nsqsupe:\"\\u22e3\",nsub:\"\\u2284\",nsubE:\"\\u2ac5\\u0338\",nsube:\"\\u2288\",nsubset:\"\\u2282\\u20d2\",nsubseteq:\"\\u2288\",nsubseteqq:\"\\u2ac5\\u0338\",nsucc:\"\\u2281\",nsucceq:\"\\u2ab0\\u0338\",nsup:\"\\u2285\",nsupE:\"\\u2ac6\\u0338\",nsupe:\"\\u2289\",nsupset:\"\\u2283\\u20d2\",nsupseteq:\"\\u2289\",nsupseteqq:\"\\u2ac6\\u0338\",ntgl:\"\\u2279\",Ntilde:\"\\xd1\",ntilde:\"\\xf1\",ntlg:\"\\u2278\",ntriangleleft:\"\\u22ea\",ntrianglelefteq:\"\\u22ec\",ntriangleright:\"\\u22eb\",ntrianglerighteq:\"\\u22ed\",Nu:\"\\u039d\",nu:\"\\u03bd\",num:\"#\",numero:\"\\u2116\",numsp:\"\\u2007\",nvap:\"\\u224d\\u20d2\",nvdash:\"\\u22ac\",nvDash:\"\\u22ad\",nVdash:\"\\u22ae\",nVDash:\"\\u22af\",nvge:\"\\u2265\\u20d2\",nvgt:\">\\u20d2\",nvHarr:\"\\u2904\",nvinfin:\"\\u29de\",nvlArr:\"\\u2902\",nvle:\"\\u2264\\u20d2\",nvlt:\"<\\u20d2\",nvltrie:\"\\u22b4\\u20d2\",nvrArr:\"\\u2903\",nvrtrie:\"\\u22b5\\u20d2\",nvsim:\"\\u223c\\u20d2\",nwarhk:\"\\u2923\",nwarr:\"\\u2196\",nwArr:\"\\u21d6\",nwarrow:\"\\u2196\",nwnear:\"\\u2927\",Oacute:\"\\xd3\",oacute:\"\\xf3\",oast:\"\\u229b\",Ocirc:\"\\xd4\",ocirc:\"\\xf4\",ocir:\"\\u229a\",Ocy:\"\\u041e\",ocy:\"\\u043e\",odash:\"\\u229d\",Odblac:\"\\u0150\",odblac:\"\\u0151\",odiv:\"\\u2a38\",odot:\"\\u2299\",odsold:\"\\u29bc\",OElig:\"\\u0152\",oelig:\"\\u0153\",ofcir:\"\\u29bf\",Ofr:\"\\ud835\\udd12\",ofr:\"\\ud835\\udd2c\",ogon:\"\\u02db\",Ograve:\"\\xd2\",ograve:\"\\xf2\",ogt:\"\\u29c1\",ohbar:\"\\u29b5\",ohm:\"\\u03a9\",oint:\"\\u222e\",olarr:\"\\u21ba\",olcir:\"\\u29be\",olcross:\"\\u29bb\",oline:\"\\u203e\",olt:\"\\u29c0\",Omacr:\"\\u014c\",omacr:\"\\u014d\",Omega:\"\\u03a9\",omega:\"\\u03c9\",Omicron:\"\\u039f\",omicron:\"\\u03bf\",omid:\"\\u29b6\",ominus:\"\\u2296\",Oopf:\"\\ud835\\udd46\",oopf:\"\\ud835\\udd60\",opar:\"\\u29b7\",OpenCurlyDoubleQuote:\"\\u201c\",OpenCurlyQuote:\"\\u2018\",operp:\"\\u29b9\",oplus:\"\\u2295\",orarr:\"\\u21bb\",Or:\"\\u2a54\",or:\"\\u2228\",ord:\"\\u2a5d\",order:\"\\u2134\",orderof:\"\\u2134\",ordf:\"\\xaa\",ordm:\"\\xba\",origof:\"\\u22b6\",oror:\"\\u2a56\",orslope:\"\\u2a57\",orv:\"\\u2a5b\",oS:\"\\u24c8\",Oscr:\"\\ud835\\udcaa\",oscr:\"\\u2134\",Oslash:\"\\xd8\",oslash:\"\\xf8\",osol:\"\\u2298\",Otilde:\"\\xd5\",otilde:\"\\xf5\",otimesas:\"\\u2a36\",Otimes:\"\\u2a37\",otimes:\"\\u2297\",Ouml:\"\\xd6\",ouml:\"\\xf6\",ovbar:\"\\u233d\",OverBar:\"\\u203e\",OverBrace:\"\\u23de\",OverBracket:\"\\u23b4\",OverParenthesis:\"\\u23dc\",para:\"\\xb6\",parallel:\"\\u2225\",par:\"\\u2225\",parsim:\"\\u2af3\",parsl:\"\\u2afd\",part:\"\\u2202\",PartialD:\"\\u2202\",Pcy:\"\\u041f\",pcy:\"\\u043f\",percnt:\"%\",period:\".\",permil:\"\\u2030\",perp:\"\\u22a5\",pertenk:\"\\u2031\",Pfr:\"\\ud835\\udd13\",pfr:\"\\ud835\\udd2d\",Phi:\"\\u03a6\",phi:\"\\u03c6\",phiv:\"\\u03d5\",phmmat:\"\\u2133\",phone:\"\\u260e\",Pi:\"\\u03a0\",pi:\"\\u03c0\",pitchfork:\"\\u22d4\",piv:\"\\u03d6\",planck:\"\\u210f\",planckh:\"\\u210e\",plankv:\"\\u210f\",plusacir:\"\\u2a23\",plusb:\"\\u229e\",pluscir:\"\\u2a22\",plus:\"+\",plusdo:\"\\u2214\",plusdu:\"\\u2a25\",pluse:\"\\u2a72\",PlusMinus:\"\\xb1\",plusmn:\"\\xb1\",plussim:\"\\u2a26\",plustwo:\"\\u2a27\",pm:\"\\xb1\",Poincareplane:\"\\u210c\",pointint:\"\\u2a15\",popf:\"\\ud835\\udd61\",Popf:\"\\u2119\",pound:\"\\xa3\",prap:\"\\u2ab7\",Pr:\"\\u2abb\",pr:\"\\u227a\",prcue:\"\\u227c\",precapprox:\"\\u2ab7\",prec:\"\\u227a\",preccurlyeq:\"\\u227c\",Precedes:\"\\u227a\",PrecedesEqual:\"\\u2aaf\",PrecedesSlantEqual:\"\\u227c\",PrecedesTilde:\"\\u227e\",preceq:\"\\u2aaf\",precnapprox:\"\\u2ab9\",precneqq:\"\\u2ab5\",precnsim:\"\\u22e8\",pre:\"\\u2aaf\",prE:\"\\u2ab3\",precsim:\"\\u227e\",prime:\"\\u2032\",Prime:\"\\u2033\",primes:\"\\u2119\",prnap:\"\\u2ab9\",prnE:\"\\u2ab5\",prnsim:\"\\u22e8\",prod:\"\\u220f\",Product:\"\\u220f\",profalar:\"\\u232e\",profline:\"\\u2312\",profsurf:\"\\u2313\",prop:\"\\u221d\",Proportional:\"\\u221d\",Proportion:\"\\u2237\",propto:\"\\u221d\",prsim:\"\\u227e\",prurel:\"\\u22b0\",Pscr:\"\\ud835\\udcab\",pscr:\"\\ud835\\udcc5\",Psi:\"\\u03a8\",psi:\"\\u03c8\",puncsp:\"\\u2008\",Qfr:\"\\ud835\\udd14\",qfr:\"\\ud835\\udd2e\",qint:\"\\u2a0c\",qopf:\"\\ud835\\udd62\",Qopf:\"\\u211a\",qprime:\"\\u2057\",Qscr:\"\\ud835\\udcac\",qscr:\"\\ud835\\udcc6\",quaternions:\"\\u210d\",quatint:\"\\u2a16\",quest:\"?\",questeq:\"\\u225f\",quot:'\"',QUOT:'\"',rAarr:\"\\u21db\",race:\"\\u223d\\u0331\",Racute:\"\\u0154\",racute:\"\\u0155\",radic:\"\\u221a\",raemptyv:\"\\u29b3\",rang:\"\\u27e9\",Rang:\"\\u27eb\",rangd:\"\\u2992\",range:\"\\u29a5\",rangle:\"\\u27e9\",raquo:\"\\xbb\",rarrap:\"\\u2975\",rarrb:\"\\u21e5\",rarrbfs:\"\\u2920\",rarrc:\"\\u2933\",rarr:\"\\u2192\",Rarr:\"\\u21a0\",rArr:\"\\u21d2\",rarrfs:\"\\u291e\",rarrhk:\"\\u21aa\",rarrlp:\"\\u21ac\",rarrpl:\"\\u2945\",rarrsim:\"\\u2974\",Rarrtl:\"\\u2916\",rarrtl:\"\\u21a3\",rarrw:\"\\u219d\",ratail:\"\\u291a\",rAtail:\"\\u291c\",ratio:\"\\u2236\",rationals:\"\\u211a\",rbarr:\"\\u290d\",rBarr:\"\\u290f\",RBarr:\"\\u2910\",rbbrk:\"\\u2773\",rbrace:\"}\",rbrack:\"]\",rbrke:\"\\u298c\",rbrksld:\"\\u298e\",rbrkslu:\"\\u2990\",Rcaron:\"\\u0158\",rcaron:\"\\u0159\",Rcedil:\"\\u0156\",rcedil:\"\\u0157\",rceil:\"\\u2309\",rcub:\"}\",Rcy:\"\\u0420\",rcy:\"\\u0440\",rdca:\"\\u2937\",rdldhar:\"\\u2969\",rdquo:\"\\u201d\",rdquor:\"\\u201d\",rdsh:\"\\u21b3\",real:\"\\u211c\",realine:\"\\u211b\",realpart:\"\\u211c\",reals:\"\\u211d\",Re:\"\\u211c\",rect:\"\\u25ad\",reg:\"\\xae\",REG:\"\\xae\",ReverseElement:\"\\u220b\",ReverseEquilibrium:\"\\u21cb\",ReverseUpEquilibrium:\"\\u296f\",rfisht:\"\\u297d\",rfloor:\"\\u230b\",rfr:\"\\ud835\\udd2f\",Rfr:\"\\u211c\",rHar:\"\\u2964\",rhard:\"\\u21c1\",rharu:\"\\u21c0\",rharul:\"\\u296c\",Rho:\"\\u03a1\",rho:\"\\u03c1\",rhov:\"\\u03f1\",RightAngleBracket:\"\\u27e9\",RightArrowBar:\"\\u21e5\",rightarrow:\"\\u2192\",RightArrow:\"\\u2192\",Rightarrow:\"\\u21d2\",RightArrowLeftArrow:\"\\u21c4\",rightarrowtail:\"\\u21a3\",RightCeiling:\"\\u2309\",RightDoubleBracket:\"\\u27e7\",RightDownTeeVector:\"\\u295d\",RightDownVectorBar:\"\\u2955\",RightDownVector:\"\\u21c2\",RightFloor:\"\\u230b\",rightharpoondown:\"\\u21c1\",rightharpoonup:\"\\u21c0\",rightleftarrows:\"\\u21c4\",rightleftharpoons:\"\\u21cc\",rightrightarrows:\"\\u21c9\",rightsquigarrow:\"\\u219d\",RightTeeArrow:\"\\u21a6\",RightTee:\"\\u22a2\",RightTeeVector:\"\\u295b\",rightthreetimes:\"\\u22cc\",RightTriangleBar:\"\\u29d0\",RightTriangle:\"\\u22b3\",RightTriangleEqual:\"\\u22b5\",RightUpDownVector:\"\\u294f\",RightUpTeeVector:\"\\u295c\",RightUpVectorBar:\"\\u2954\",RightUpVector:\"\\u21be\",RightVectorBar:\"\\u2953\",RightVector:\"\\u21c0\",ring:\"\\u02da\",risingdotseq:\"\\u2253\",rlarr:\"\\u21c4\",rlhar:\"\\u21cc\",rlm:\"\\u200f\",rmoustache:\"\\u23b1\",rmoust:\"\\u23b1\",rnmid:\"\\u2aee\",roang:\"\\u27ed\",roarr:\"\\u21fe\",robrk:\"\\u27e7\",ropar:\"\\u2986\",ropf:\"\\ud835\\udd63\",Ropf:\"\\u211d\",roplus:\"\\u2a2e\",rotimes:\"\\u2a35\",RoundImplies:\"\\u2970\",rpar:\")\",rpargt:\"\\u2994\",rppolint:\"\\u2a12\",rrarr:\"\\u21c9\",Rrightarrow:\"\\u21db\",rsaquo:\"\\u203a\",rscr:\"\\ud835\\udcc7\",Rscr:\"\\u211b\",rsh:\"\\u21b1\",Rsh:\"\\u21b1\",rsqb:\"]\",rsquo:\"\\u2019\",rsquor:\"\\u2019\",rthree:\"\\u22cc\",rtimes:\"\\u22ca\",rtri:\"\\u25b9\",rtrie:\"\\u22b5\",rtrif:\"\\u25b8\",rtriltri:\"\\u29ce\",RuleDelayed:\"\\u29f4\",ruluhar:\"\\u2968\",rx:\"\\u211e\",Sacute:\"\\u015a\",sacute:\"\\u015b\",sbquo:\"\\u201a\",scap:\"\\u2ab8\",Scaron:\"\\u0160\",scaron:\"\\u0161\",Sc:\"\\u2abc\",sc:\"\\u227b\",sccue:\"\\u227d\",sce:\"\\u2ab0\",scE:\"\\u2ab4\",Scedil:\"\\u015e\",scedil:\"\\u015f\",Scirc:\"\\u015c\",scirc:\"\\u015d\",scnap:\"\\u2aba\",scnE:\"\\u2ab6\",scnsim:\"\\u22e9\",scpolint:\"\\u2a13\",scsim:\"\\u227f\",Scy:\"\\u0421\",scy:\"\\u0441\",sdotb:\"\\u22a1\",sdot:\"\\u22c5\",sdote:\"\\u2a66\",searhk:\"\\u2925\",searr:\"\\u2198\",seArr:\"\\u21d8\",searrow:\"\\u2198\",sect:\"\\xa7\",semi:\";\",seswar:\"\\u2929\",setminus:\"\\u2216\",setmn:\"\\u2216\",sext:\"\\u2736\",Sfr:\"\\ud835\\udd16\",sfr:\"\\ud835\\udd30\",sfrown:\"\\u2322\",sharp:\"\\u266f\",SHCHcy:\"\\u0429\",shchcy:\"\\u0449\",SHcy:\"\\u0428\",shcy:\"\\u0448\",ShortDownArrow:\"\\u2193\",ShortLeftArrow:\"\\u2190\",shortmid:\"\\u2223\",shortparallel:\"\\u2225\",ShortRightArrow:\"\\u2192\",ShortUpArrow:\"\\u2191\",shy:\"\\xad\",Sigma:\"\\u03a3\",sigma:\"\\u03c3\",sigmaf:\"\\u03c2\",sigmav:\"\\u03c2\",sim:\"\\u223c\",simdot:\"\\u2a6a\",sime:\"\\u2243\",simeq:\"\\u2243\",simg:\"\\u2a9e\",simgE:\"\\u2aa0\",siml:\"\\u2a9d\",simlE:\"\\u2a9f\",simne:\"\\u2246\",simplus:\"\\u2a24\",simrarr:\"\\u2972\",slarr:\"\\u2190\",SmallCircle:\"\\u2218\",smallsetminus:\"\\u2216\",smashp:\"\\u2a33\",smeparsl:\"\\u29e4\",smid:\"\\u2223\",smile:\"\\u2323\",smt:\"\\u2aaa\",smte:\"\\u2aac\",smtes:\"\\u2aac\\ufe00\",SOFTcy:\"\\u042c\",softcy:\"\\u044c\",solbar:\"\\u233f\",solb:\"\\u29c4\",sol:\"/\",Sopf:\"\\ud835\\udd4a\",sopf:\"\\ud835\\udd64\",spades:\"\\u2660\",spadesuit:\"\\u2660\",spar:\"\\u2225\",sqcap:\"\\u2293\",sqcaps:\"\\u2293\\ufe00\",sqcup:\"\\u2294\",sqcups:\"\\u2294\\ufe00\",Sqrt:\"\\u221a\",sqsub:\"\\u228f\",sqsube:\"\\u2291\",sqsubset:\"\\u228f\",sqsubseteq:\"\\u2291\",sqsup:\"\\u2290\",sqsupe:\"\\u2292\",sqsupset:\"\\u2290\",sqsupseteq:\"\\u2292\",square:\"\\u25a1\",Square:\"\\u25a1\",SquareIntersection:\"\\u2293\",SquareSubset:\"\\u228f\",SquareSubsetEqual:\"\\u2291\",SquareSuperset:\"\\u2290\",SquareSupersetEqual:\"\\u2292\",SquareUnion:\"\\u2294\",squarf:\"\\u25aa\",squ:\"\\u25a1\",squf:\"\\u25aa\",srarr:\"\\u2192\",Sscr:\"\\ud835\\udcae\",sscr:\"\\ud835\\udcc8\",ssetmn:\"\\u2216\",ssmile:\"\\u2323\",sstarf:\"\\u22c6\",Star:\"\\u22c6\",star:\"\\u2606\",starf:\"\\u2605\",straightepsilon:\"\\u03f5\",straightphi:\"\\u03d5\",strns:\"\\xaf\",sub:\"\\u2282\",Sub:\"\\u22d0\",subdot:\"\\u2abd\",subE:\"\\u2ac5\",sube:\"\\u2286\",subedot:\"\\u2ac3\",submult:\"\\u2ac1\",subnE:\"\\u2acb\",subne:\"\\u228a\",subplus:\"\\u2abf\",subrarr:\"\\u2979\",subset:\"\\u2282\",Subset:\"\\u22d0\",subseteq:\"\\u2286\",subseteqq:\"\\u2ac5\",SubsetEqual:\"\\u2286\",subsetneq:\"\\u228a\",subsetneqq:\"\\u2acb\",subsim:\"\\u2ac7\",subsub:\"\\u2ad5\",subsup:\"\\u2ad3\",succapprox:\"\\u2ab8\",succ:\"\\u227b\",succcurlyeq:\"\\u227d\",Succeeds:\"\\u227b\",SucceedsEqual:\"\\u2ab0\",SucceedsSlantEqual:\"\\u227d\",SucceedsTilde:\"\\u227f\",succeq:\"\\u2ab0\",succnapprox:\"\\u2aba\",succneqq:\"\\u2ab6\",succnsim:\"\\u22e9\",succsim:\"\\u227f\",SuchThat:\"\\u220b\",sum:\"\\u2211\",Sum:\"\\u2211\",sung:\"\\u266a\",sup1:\"\\xb9\",sup2:\"\\xb2\",sup3:\"\\xb3\",sup:\"\\u2283\",Sup:\"\\u22d1\",supdot:\"\\u2abe\",supdsub:\"\\u2ad8\",supE:\"\\u2ac6\",supe:\"\\u2287\",supedot:\"\\u2ac4\",Superset:\"\\u2283\",SupersetEqual:\"\\u2287\",suphsol:\"\\u27c9\",suphsub:\"\\u2ad7\",suplarr:\"\\u297b\",supmult:\"\\u2ac2\",supnE:\"\\u2acc\",supne:\"\\u228b\",supplus:\"\\u2ac0\",supset:\"\\u2283\",Supset:\"\\u22d1\",supseteq:\"\\u2287\",supseteqq:\"\\u2ac6\",supsetneq:\"\\u228b\",supsetneqq:\"\\u2acc\",supsim:\"\\u2ac8\",supsub:\"\\u2ad4\",supsup:\"\\u2ad6\",swarhk:\"\\u2926\",swarr:\"\\u2199\",swArr:\"\\u21d9\",swarrow:\"\\u2199\",swnwar:\"\\u292a\",szlig:\"\\xdf\",Tab:\"\\t\",target:\"\\u2316\",Tau:\"\\u03a4\",tau:\"\\u03c4\",tbrk:\"\\u23b4\",Tcaron:\"\\u0164\",tcaron:\"\\u0165\",Tcedil:\"\\u0162\",tcedil:\"\\u0163\",Tcy:\"\\u0422\",tcy:\"\\u0442\",tdot:\"\\u20db\",telrec:\"\\u2315\",Tfr:\"\\ud835\\udd17\",tfr:\"\\ud835\\udd31\",there4:\"\\u2234\",therefore:\"\\u2234\",Therefore:\"\\u2234\",Theta:\"\\u0398\",theta:\"\\u03b8\",thetasym:\"\\u03d1\",thetav:\"\\u03d1\",thickapprox:\"\\u2248\",thicksim:\"\\u223c\",ThickSpace:\"\\u205f\\u200a\",ThinSpace:\"\\u2009\",thinsp:\"\\u2009\",thkap:\"\\u2248\",thksim:\"\\u223c\",THORN:\"\\xde\",thorn:\"\\xfe\",tilde:\"\\u02dc\",Tilde:\"\\u223c\",TildeEqual:\"\\u2243\",TildeFullEqual:\"\\u2245\",TildeTilde:\"\\u2248\",timesbar:\"\\u2a31\",timesb:\"\\u22a0\",times:\"\\xd7\",timesd:\"\\u2a30\",tint:\"\\u222d\",toea:\"\\u2928\",topbot:\"\\u2336\",topcir:\"\\u2af1\",top:\"\\u22a4\",Topf:\"\\ud835\\udd4b\",topf:\"\\ud835\\udd65\",topfork:\"\\u2ada\",tosa:\"\\u2929\",tprime:\"\\u2034\",trade:\"\\u2122\",TRADE:\"\\u2122\",triangle:\"\\u25b5\",triangledown:\"\\u25bf\",triangleleft:\"\\u25c3\",trianglelefteq:\"\\u22b4\",triangleq:\"\\u225c\",triangleright:\"\\u25b9\",trianglerighteq:\"\\u22b5\",tridot:\"\\u25ec\",trie:\"\\u225c\",triminus:\"\\u2a3a\",TripleDot:\"\\u20db\",triplus:\"\\u2a39\",trisb:\"\\u29cd\",tritime:\"\\u2a3b\",trpezium:\"\\u23e2\",Tscr:\"\\ud835\\udcaf\",tscr:\"\\ud835\\udcc9\",TScy:\"\\u0426\",tscy:\"\\u0446\",TSHcy:\"\\u040b\",tshcy:\"\\u045b\",Tstrok:\"\\u0166\",tstrok:\"\\u0167\",twixt:\"\\u226c\",twoheadleftarrow:\"\\u219e\",twoheadrightarrow:\"\\u21a0\",Uacute:\"\\xda\",uacute:\"\\xfa\",uarr:\"\\u2191\",Uarr:\"\\u219f\",uArr:\"\\u21d1\",Uarrocir:\"\\u2949\",Ubrcy:\"\\u040e\",ubrcy:\"\\u045e\",Ubreve:\"\\u016c\",ubreve:\"\\u016d\",Ucirc:\"\\xdb\",ucirc:\"\\xfb\",Ucy:\"\\u0423\",ucy:\"\\u0443\",udarr:\"\\u21c5\",Udblac:\"\\u0170\",udblac:\"\\u0171\",udhar:\"\\u296e\",ufisht:\"\\u297e\",Ufr:\"\\ud835\\udd18\",ufr:\"\\ud835\\udd32\",Ugrave:\"\\xd9\",ugrave:\"\\xf9\",uHar:\"\\u2963\",uharl:\"\\u21bf\",uharr:\"\\u21be\",uhblk:\"\\u2580\",ulcorn:\"\\u231c\",ulcorner:\"\\u231c\",ulcrop:\"\\u230f\",ultri:\"\\u25f8\",Umacr:\"\\u016a\",umacr:\"\\u016b\",uml:\"\\xa8\",UnderBar:\"_\",UnderBrace:\"\\u23df\",UnderBracket:\"\\u23b5\",UnderParenthesis:\"\\u23dd\",Union:\"\\u22c3\",UnionPlus:\"\\u228e\",Uogon:\"\\u0172\",uogon:\"\\u0173\",Uopf:\"\\ud835\\udd4c\",uopf:\"\\ud835\\udd66\",UpArrowBar:\"\\u2912\",uparrow:\"\\u2191\",UpArrow:\"\\u2191\",Uparrow:\"\\u21d1\",UpArrowDownArrow:\"\\u21c5\",updownarrow:\"\\u2195\",UpDownArrow:\"\\u2195\",Updownarrow:\"\\u21d5\",UpEquilibrium:\"\\u296e\",upharpoonleft:\"\\u21bf\",upharpoonright:\"\\u21be\",uplus:\"\\u228e\",UpperLeftArrow:\"\\u2196\",UpperRightArrow:\"\\u2197\",upsi:\"\\u03c5\",Upsi:\"\\u03d2\",upsih:\"\\u03d2\",Upsilon:\"\\u03a5\",upsilon:\"\\u03c5\",UpTeeArrow:\"\\u21a5\",UpTee:\"\\u22a5\",upuparrows:\"\\u21c8\",urcorn:\"\\u231d\",urcorner:\"\\u231d\",urcrop:\"\\u230e\",Uring:\"\\u016e\",uring:\"\\u016f\",urtri:\"\\u25f9\",Uscr:\"\\ud835\\udcb0\",uscr:\"\\ud835\\udcca\",utdot:\"\\u22f0\",Utilde:\"\\u0168\",utilde:\"\\u0169\",utri:\"\\u25b5\",utrif:\"\\u25b4\",uuarr:\"\\u21c8\",Uuml:\"\\xdc\",uuml:\"\\xfc\",uwangle:\"\\u29a7\",vangrt:\"\\u299c\",varepsilon:\"\\u03f5\",varkappa:\"\\u03f0\",varnothing:\"\\u2205\",varphi:\"\\u03d5\",varpi:\"\\u03d6\",varpropto:\"\\u221d\",varr:\"\\u2195\",vArr:\"\\u21d5\",varrho:\"\\u03f1\",varsigma:\"\\u03c2\",varsubsetneq:\"\\u228a\\ufe00\",varsubsetneqq:\"\\u2acb\\ufe00\",varsupsetneq:\"\\u228b\\ufe00\",varsupsetneqq:\"\\u2acc\\ufe00\",vartheta:\"\\u03d1\",vartriangleleft:\"\\u22b2\",vartriangleright:\"\\u22b3\",vBar:\"\\u2ae8\",Vbar:\"\\u2aeb\",vBarv:\"\\u2ae9\",Vcy:\"\\u0412\",vcy:\"\\u0432\",vdash:\"\\u22a2\",vDash:\"\\u22a8\",Vdash:\"\\u22a9\",VDash:\"\\u22ab\",Vdashl:\"\\u2ae6\",veebar:\"\\u22bb\",vee:\"\\u2228\",Vee:\"\\u22c1\",veeeq:\"\\u225a\",vellip:\"\\u22ee\",verbar:\"|\",Verbar:\"\\u2016\",vert:\"|\",Vert:\"\\u2016\",VerticalBar:\"\\u2223\",VerticalLine:\"|\",VerticalSeparator:\"\\u2758\",VerticalTilde:\"\\u2240\",VeryThinSpace:\"\\u200a\",Vfr:\"\\ud835\\udd19\",vfr:\"\\ud835\\udd33\",vltri:\"\\u22b2\",vnsub:\"\\u2282\\u20d2\",vnsup:\"\\u2283\\u20d2\",Vopf:\"\\ud835\\udd4d\",vopf:\"\\ud835\\udd67\",vprop:\"\\u221d\",vrtri:\"\\u22b3\",Vscr:\"\\ud835\\udcb1\",vscr:\"\\ud835\\udccb\",vsubnE:\"\\u2acb\\ufe00\",vsubne:\"\\u228a\\ufe00\",vsupnE:\"\\u2acc\\ufe00\",vsupne:\"\\u228b\\ufe00\",Vvdash:\"\\u22aa\",vzigzag:\"\\u299a\",Wcirc:\"\\u0174\",wcirc:\"\\u0175\",wedbar:\"\\u2a5f\",wedge:\"\\u2227\",Wedge:\"\\u22c0\",wedgeq:\"\\u2259\",weierp:\"\\u2118\",Wfr:\"\\ud835\\udd1a\",wfr:\"\\ud835\\udd34\",Wopf:\"\\ud835\\udd4e\",wopf:\"\\ud835\\udd68\",wp:\"\\u2118\",wr:\"\\u2240\",wreath:\"\\u2240\",Wscr:\"\\ud835\\udcb2\",wscr:\"\\ud835\\udccc\",xcap:\"\\u22c2\",xcirc:\"\\u25ef\",xcup:\"\\u22c3\",xdtri:\"\\u25bd\",Xfr:\"\\ud835\\udd1b\",xfr:\"\\ud835\\udd35\",xharr:\"\\u27f7\",xhArr:\"\\u27fa\",Xi:\"\\u039e\",xi:\"\\u03be\",xlarr:\"\\u27f5\",xlArr:\"\\u27f8\",xmap:\"\\u27fc\",xnis:\"\\u22fb\",xodot:\"\\u2a00\",Xopf:\"\\ud835\\udd4f\",xopf:\"\\ud835\\udd69\",xoplus:\"\\u2a01\",xotime:\"\\u2a02\",xrarr:\"\\u27f6\",xrArr:\"\\u27f9\",Xscr:\"\\ud835\\udcb3\",xscr:\"\\ud835\\udccd\",xsqcup:\"\\u2a06\",xuplus:\"\\u2a04\",xutri:\"\\u25b3\",xvee:\"\\u22c1\",xwedge:\"\\u22c0\",Yacute:\"\\xdd\",yacute:\"\\xfd\",YAcy:\"\\u042f\",yacy:\"\\u044f\",Ycirc:\"\\u0176\",ycirc:\"\\u0177\",Ycy:\"\\u042b\",ycy:\"\\u044b\",yen:\"\\xa5\",Yfr:\"\\ud835\\udd1c\",yfr:\"\\ud835\\udd36\",YIcy:\"\\u0407\",yicy:\"\\u0457\",Yopf:\"\\ud835\\udd50\",yopf:\"\\ud835\\udd6a\",Yscr:\"\\ud835\\udcb4\",yscr:\"\\ud835\\udcce\",YUcy:\"\\u042e\",yucy:\"\\u044e\",yuml:\"\\xff\",Yuml:\"\\u0178\",Zacute:\"\\u0179\",zacute:\"\\u017a\",Zcaron:\"\\u017d\",zcaron:\"\\u017e\",Zcy:\"\\u0417\",zcy:\"\\u0437\",Zdot:\"\\u017b\",zdot:\"\\u017c\",zeetrf:\"\\u2128\",ZeroWidthSpace:\"\\u200b\",Zeta:\"\\u0396\",zeta:\"\\u03b6\",zfr:\"\\ud835\\udd37\",Zfr:\"\\u2128\",ZHcy:\"\\u0416\",zhcy:\"\\u0436\",zigrarr:\"\\u21dd\",zopf:\"\\ud835\\udd6b\",Zopf:\"\\u2124\",Zscr:\"\\ud835\\udcb5\",zscr:\"\\ud835\\udccf\",zwj:\"\\u200d\",zwnj:\"\\u200c\"}},{}],53:[function(e,r,t){function n(e){return Array.prototype.slice.call(arguments,1).forEach(function(r){r&&Object.keys(r).forEach(function(t){e[t]=r[t]})}),e}function s(e){return Object.prototype.toString.call(e)}function o(e){return\"[object String]\"===s(e)}function i(e){return\"[object Object]\"===s(e)}function a(e){return\"[object RegExp]\"===s(e)}function c(e){return\"[object Function]\"===s(e)}function l(e){return e.replace(/[.?*+^$[\\]\\\\(){}|-]/g,\"\\\\$&\")}function u(e){return Object.keys(e||{}).reduce(function(e,r){return e||b.hasOwnProperty(r)},!1)}function p(e){e.__index__=-1,e.__text_cache__=\"\"}function h(e){return function(r,t){var n=r.slice(t);return e.test(n)?n.match(e)[0].length:0}}function f(){return function(e,r){r.normalize(e)}}function d(r){function t(e){return e.replace(\"%TLDS%\",s.src_tlds)}function n(e,r){throw new Error('(LinkifyIt) Invalid schema \"'+e+'\": '+r)}var s=r.re=e(\"./lib/re\")(r.__opts__),u=r.__tlds__.slice();r.onCompile(),r.__tlds_replaced__||u.push(\"a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]\"),u.push(s.src_xn),s.src_tlds=u.join(\"|\"),s.email_fuzzy=RegExp(t(s.tpl_email_fuzzy),\"i\"),s.link_fuzzy=RegExp(t(s.tpl_link_fuzzy),\"i\"),s.link_no_ip_fuzzy=RegExp(t(s.tpl_link_no_ip_fuzzy),\"i\"),s.host_fuzzy_test=RegExp(t(s.tpl_host_fuzzy_test),\"i\");var d=[];r.__compiled__={},Object.keys(r.__schemas__).forEach(function(e){var t=r.__schemas__[e];if(null!==t){var s={validate:null,link:null};return r.__compiled__[e]=s,i(t)?(a(t.validate)?s.validate=h(t.validate):c(t.validate)?s.validate=t.validate:n(e,t),void(c(t.normalize)?s.normalize=t.normalize:t.normalize?n(e,t):s.normalize=f())):o(t)?void d.push(e):void n(e,t)}}),d.forEach(function(e){r.__compiled__[r.__schemas__[e]]&&(r.__compiled__[e].validate=r.__compiled__[r.__schemas__[e]].validate,r.__compiled__[e].normalize=r.__compiled__[r.__schemas__[e]].normalize)}),r.__compiled__[\"\"]={validate:null,normalize:f()};var m=Object.keys(r.__compiled__).filter(function(e){return e.length>0&&r.__compiled__[e]}).map(l).join(\"|\");r.re.schema_test=RegExp(\"(^|(?!_)(?:[><\\uff5c]|\"+s.src_ZPCc+\"))(\"+m+\")\",\"i\"),r.re.schema_search=RegExp(\"(^|(?!_)(?:[><\\uff5c]|\"+s.src_ZPCc+\"))(\"+m+\")\",\"ig\"),r.re.pretest=RegExp(\"(\"+r.re.schema_test.source+\")|(\"+r.re.host_fuzzy_test.source+\")|@\",\"i\"),p(r)}function m(e,r){var t=e.__index__,n=e.__last_index__,s=e.__text_cache__.slice(t,n);this.schema=e.__schema__.toLowerCase(),this.index=t+r,this.lastIndex=n+r,this.raw=s,this.text=s,this.url=s}function _(e,r){var t=new m(e,r);return e.__compiled__[t.schema].normalize(t,e),t}function g(e,r){if(!(this instanceof g))return new g(e,r);r||u(e)&&(r=e,e={}),this.__opts__=n({},b,r),this.__index__=-1,this.__last_index__=-1,this.__schema__=\"\",this.__text_cache__=\"\",this.__schemas__=n({},k,e),this.__compiled__={},this.__tlds__=v,this.__tlds_replaced__=!1,this.re={},d(this)}var b={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},k={\"http:\":{validate:function(e,r,t){var n=e.slice(r);return t.re.http||(t.re.http=new RegExp(\"^\\\\/\\\\/\"+t.re.src_auth+t.re.src_host_port_strict+t.re.src_path,\"i\")),t.re.http.test(n)?n.match(t.re.http)[0].length:0}},\"https:\":\"http:\",\"ftp:\":\"http:\",\"//\":{validate:function(e,r,t){var n=e.slice(r);return t.re.no_http||(t.re.no_http=new RegExp(\"^\"+t.re.src_auth+\"(?:localhost|(?:(?:\"+t.re.src_domain+\")\\\\.)+\"+t.re.src_domain_root+\")\"+t.re.src_port+t.re.src_host_terminator+t.re.src_path,\"i\")),t.re.no_http.test(n)?r>=3&&\":\"===e[r-3]?0:r>=3&&\"/\"===e[r-3]?0:n.match(t.re.no_http)[0].length:0}},\"mailto:\":{validate:function(e,r,t){var n=e.slice(r);return t.re.mailto||(t.re.mailto=new RegExp(\"^\"+t.re.src_email_name+\"@\"+t.re.src_host_strict,\"i\")),t.re.mailto.test(n)?n.match(t.re.mailto)[0].length:0}}},v=\"biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\\u0440\\u0444\".split(\"|\");g.prototype.add=function(e,r){return this.__schemas__[e]=r,d(this),this},g.prototype.set=function(e){return this.__opts__=n(this.__opts__,e),this},g.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var r,t,n,s,o,i,a,c;if(this.re.schema_test.test(e))for(a=this.re.schema_search,a.lastIndex=0;null!==(r=a.exec(e));)if(s=this.testSchemaAt(e,r[2],a.lastIndex)){this.__schema__=r[2],this.__index__=r.index+r[1].length,this.__last_index__=r.index+r[0].length+s;break}return this.__opts__.fuzzyLink&&this.__compiled__[\"http:\"]&&(c=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||c=0&&null!==(n=e.match(this.re.email_fuzzy))&&(o=n.index+n[1].length,i=n.index+n[0].length,(this.__index__<0||othis.__last_index__)&&(this.__schema__=\"mailto:\",this.__index__=o,this.__last_index__=i)),this.__index__>=0},g.prototype.pretest=function(e){return this.re.pretest.test(e)},g.prototype.testSchemaAt=function(e,r,t){return this.__compiled__[r.toLowerCase()]?this.__compiled__[r.toLowerCase()].validate(e,t,this):0},g.prototype.match=function(e){var r=0,t=[];this.__index__>=0&&this.__text_cache__===e&&(t.push(_(this,r)),r=this.__last_index__);for(var n=r?e.slice(r):e;this.test(n);)t.push(_(this,r)),n=n.slice(this.__last_index__),r+=this.__last_index__;return t.length?t:null},g.prototype.tlds=function(e,r){return e=Array.isArray(e)?e:[e],r?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,r,t){return e!==t[r-1]}).reverse(),d(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,d(this),this)},g.prototype.normalize=function(e){e.schema||(e.url=\"http://\"+e.url),\"mailto:\"!==e.schema||/^mailto:/i.test(e.url)||(e.url=\"mailto:\"+e.url)},g.prototype.onCompile=function(){},r.exports=g},{\"./lib/re\":54}],54:[function(e,r,t){r.exports=function(r){var t={};t.src_Any=e(\"uc.micro/properties/Any/regex\").source,t.src_Cc=e(\"uc.micro/categories/Cc/regex\").source,t.src_Z=e(\"uc.micro/categories/Z/regex\").source,t.src_P=e(\"uc.micro/categories/P/regex\").source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join(\"|\"),t.src_ZCc=[t.src_Z,t.src_Cc].join(\"|\");return t.src_pseudo_letter=\"(?:(?![><\\uff5c]|\"+t.src_ZPCc+\")\"+t.src_Any+\")\",t.src_ip4=\"(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\",t.src_auth=\"(?:(?:(?!\"+t.src_ZCc+\"|[@/\\\\[\\\\]()]).)+@)?\",t.src_port=\"(?::(?:6(?:[0-4]\\\\d{3}|5(?:[0-4]\\\\d{2}|5(?:[0-2]\\\\d|3[0-5])))|[1-5]?\\\\d{1,4}))?\",t.src_host_terminator=\"(?=$|[><\\uff5c]|\"+t.src_ZPCc+\")(?!-|_|:\\\\d|\\\\.-|\\\\.(?!$|\"+t.src_ZPCc+\"))\",t.src_path=\"(?:[/?#](?:(?!\"+t.src_ZCc+\"|[><\\uff5c]|[()[\\\\]{}.,\\\"'?!\\\\-]).|\\\\[(?:(?!\"+t.src_ZCc+\"|\\\\]).)*\\\\]|\\\\((?:(?!\"+t.src_ZCc+\"|[)]).)*\\\\)|\\\\{(?:(?!\"+t.src_ZCc+'|[}]).)*\\\\}|\\\\\"(?:(?!'+t.src_ZCc+'|[\"]).)+\\\\\"|\\\\\\'(?:(?!'+t.src_ZCc+\"|[']).)+\\\\'|\\\\'(?=\"+t.src_pseudo_letter+\"|[-]).|\\\\.{2,3}[a-zA-Z0-9%/]|\\\\.(?!\"+t.src_ZCc+\"|[.]).|\"+(r&&r[\"---\"]?\"\\\\-(?!--(?:[^-]|$))(?:-*)|\":\"\\\\-+|\")+\"\\\\,(?!\"+t.src_ZCc+\").|\\\\!(?!\"+t.src_ZCc+\"|[!]).|\\\\?(?!\"+t.src_ZCc+\"|[?]).)+|\\\\/)?\",t.src_email_name='[\\\\-;:&=\\\\+\\\\$,\\\\\"\\\\.a-zA-Z0-9_]+',t.src_xn=\"xn--[a-z0-9\\\\-]{1,59}\",t.src_domain_root=\"(?:\"+t.src_xn+\"|\"+t.src_pseudo_letter+\"{1,63})\",t.src_domain=\"(?:\"+t.src_xn+\"|(?:\"+t.src_pseudo_letter+\")|(?:\"+t.src_pseudo_letter+\"(?:-(?!-)|\"+t.src_pseudo_letter+\"){0,61}\"+t.src_pseudo_letter+\"))\",t.src_host=\"(?:(?:(?:(?:\"+t.src_domain+\")\\\\.)*\"+t.src_domain+\"))\",t.tpl_host_fuzzy=\"(?:\"+t.src_ip4+\"|(?:(?:(?:\"+t.src_domain+\")\\\\.)+(?:%TLDS%)))\",t.tpl_host_no_ip_fuzzy=\"(?:(?:(?:\"+t.src_domain+\")\\\\.)+(?:%TLDS%))\",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test=\"localhost|www\\\\.|\\\\.\\\\d{1,3}\\\\.|(?:\\\\.(?:%TLDS%)(?:\"+t.src_ZPCc+\"|>|$))\",t.tpl_email_fuzzy=\"(^|[><\\uff5c]|\\\\(|\"+t.src_ZCc+\")(\"+t.src_email_name+\"@\"+t.tpl_host_fuzzy_strict+\")\",t.tpl_link_fuzzy=\"(^|(?![.:/\\\\-_@])(?:[$+<=>^`|\\uff5c]|\"+t.src_ZPCc+\"))((?![$+<=>^`|\\uff5c])\"+t.tpl_host_port_fuzzy_strict+t.src_path+\")\",t.tpl_link_no_ip_fuzzy=\"(^|(?![.:/\\\\-_@])(?:[$+<=>^`|\\uff5c]|\"+t.src_ZPCc+\"))((?![$+<=>^`|\\uff5c])\"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+\")\",t}},{\n\"uc.micro/categories/Cc/regex\":61,\"uc.micro/categories/P/regex\":63,\"uc.micro/categories/Z/regex\":64,\"uc.micro/properties/Any/regex\":66}],55:[function(e,r,t){function n(e){var r,t,n=o[e];if(n)return n;for(n=o[e]=[],r=0;r<128;r++)t=String.fromCharCode(r),n.push(t);for(r=0;r=55296&&c<=57343?\"\\ufffd\\ufffd\\ufffd\":String.fromCharCode(c),r+=6):240==(248&s)&&r+91114111?l+=\"\\ufffd\\ufffd\\ufffd\\ufffd\":(c-=65536,l+=String.fromCharCode(55296+(c>>10),56320+(1023&c))),r+=9):l+=\"\\ufffd\";return l})}var o={};s.defaultChars=\";/?:@&=+$,#\",s.componentChars=\"\",r.exports=s},{}],56:[function(e,r,t){function n(e){var r,t,n=o[e];if(n)return n;for(n=o[e]=[],r=0;r<128;r++)t=String.fromCharCode(r),/^[0-9a-z]$/i.test(t)?n.push(t):n.push(\"%\"+(\"0\"+r.toString(16).toUpperCase()).slice(-2));for(r=0;r=55296&&a<=57343){if(a>=55296&&a<=56319&&o+1=56320&&c<=57343){u+=encodeURIComponent(e[o]+e[o+1]),o++;continue}u+=\"%EF%BF%BD\"}else u+=encodeURIComponent(e[o]);return u}var o={};s.defaultChars=\";/?:@&=+$,-_.!~*'()#\",s.componentChars=\"-_.!~*'()\",r.exports=s},{}],57:[function(e,r,t){r.exports=function(e){var r=\"\";return r+=e.protocol||\"\",r+=e.slashes?\"//\":\"\",r+=e.auth?e.auth+\"@\":\"\",r+=e.hostname&&e.hostname.indexOf(\":\")!==-1?\"[\"+e.hostname+\"]\":e.hostname||\"\",r+=e.port?\":\"+e.port:\"\",r+=e.pathname||\"\",r+=e.search||\"\",r+=e.hash||\"\"}},{}],58:[function(e,r,t){r.exports.encode=e(\"./encode\"),r.exports.decode=e(\"./decode\"),r.exports.format=e(\"./format\"),r.exports.parse=e(\"./parse\")},{\"./decode\":55,\"./encode\":56,\"./format\":57,\"./parse\":59}],59:[function(e,r,t){function n(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}function s(e,r){if(e&&e instanceof n)return e;var t=new n;return t.parse(e,r),t}var o=/^([a-z0-9.+-]+:)/i,i=/:[0-9]*$/,a=/^(\\/\\/?(?!\\/)[^\\?\\s]*)(\\?[^\\s]*)?$/,c=[\"<\",\">\",'\"',\"`\",\" \",\"\\r\",\"\\n\",\"\\t\"],l=[\"{\",\"}\",\"|\",\"\\\\\",\"^\",\"`\"].concat(c),u=[\"'\"].concat(l),p=[\"%\",\"/\",\"?\",\";\",\"#\"].concat(u),h=[\"/\",\"?\",\"#\"],f={javascript:!0,\"javascript:\":!0},d={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,\"http:\":!0,\"https:\":!0,\"ftp:\":!0,\"gopher:\":!0,\"file:\":!0};n.prototype.parse=function(e,r){var t,n,s,i,c,l=e;if(l=l.trim(),!r&&1===e.split(\"#\").length){var u=a.exec(l);if(u)return this.pathname=u[1],u[2]&&(this.search=u[2]),this}var m=o.exec(l);if(m&&(m=m[0],s=m.toLowerCase(),this.protocol=m,l=l.substr(m.length)),(r||m||l.match(/^\\/\\/[^@\\/]+@[^@\\/]+/))&&(!(c=\"//\"===l.substr(0,2))||m&&f[m]||(l=l.substr(2),this.slashes=!0)),!f[m]&&(c||m&&!d[m])){var _=-1;for(t=0;t127?\"x\":x[A];if(!C.match(/^[+a-z0-9A-Z_-]{0,63}$/)){var D=y.slice(0,t),q=y.slice(t+1),E=x.match(/^([+a-z0-9A-Z_-]{0,63})(.*)$/);E&&(D.push(E[1]),q.unshift(E[2])),q.length&&(l=q.join(\".\")+l),this.hostname=D.join(\".\");break}}}}this.hostname.length>255&&(this.hostname=\"\"),v&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var S=l.indexOf(\"#\");S!==-1&&(this.hash=l.substr(S),l=l.slice(0,S));var F=l.indexOf(\"?\");return F!==-1&&(this.search=l.substr(F),l=l.slice(0,F)),l&&(this.pathname=l),d[s]&&this.hostname&&!this.pathname&&(this.pathname=\"\"),this},n.prototype.parseHost=function(e){var r=i.exec(e);r&&(r=r[0],\":\"!==r&&(this.port=r.substr(1)),e=e.substr(0,e.length-r.length)),e&&(this.hostname=e)},r.exports=s},{}],60:[function(r,t,n){(function(r){!function(s){function o(e){throw new RangeError(w[e])}function i(e,r){for(var t=e.length,n=[];t--;)n[t]=r(e[t]);return n}function a(e,r){var t=e.split(\"@\"),n=\"\";return t.length>1&&(n=t[0]+\"@\",e=t[1]),e=e.replace(/[\\x2E\\u3002\\uFF0E\\uFF61]/g,\".\"),n+i(e.split(\".\"),r).join(\".\")}function c(e){for(var r,t,n=[],s=0,o=e.length;s=55296&&r<=56319&&s65535&&(e-=65536,r+=q(e>>>10&1023|55296),e=56320|1023&e),r+=q(e)}).join(\"\")}function u(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:36}function p(e,r){return e+22+75*(e<26)-((0!=r)<<5)}function h(e,r,t){var n=0;for(e=t?D(e/700):e>>1,e+=D(e/r);e>455;n+=36)e=D(e/35);return D(n+36*e/(e+38))}function f(e){var r,t,n,s,i,a,c,p,f,d,m=[],_=e.length,g=0,b=128,k=72;for(t=e.lastIndexOf(\"-\"),t<0&&(t=0),n=0;n=128&&o(\"not-basic\"),m.push(e.charCodeAt(n));for(s=t>0?t+1:0;s<_;){for(i=g,a=1,c=36;s>=_&&o(\"invalid-input\"),p=u(e.charCodeAt(s++)),(p>=36||p>D((x-g)/a))&&o(\"overflow\"),g+=p*a,f=c<=k?1:c>=k+26?26:c-k,!(pD(x/d)&&o(\"overflow\"),a*=d;r=m.length+1,k=h(g-i,r,0==i),D(g/r)>x-b&&o(\"overflow\"),b+=D(g/r),g%=r,m.splice(g++,0,b)}return l(m)}function d(e){var r,t,n,s,i,a,l,u,f,d,m,_,g,b,k,v=[];for(e=c(e),_=e.length,r=128,t=0,i=72,a=0;a<_;++a)(m=e[a])<128&&v.push(q(m));for(n=s=v.length,s&&v.push(\"-\");n<_;){for(l=x,a=0;a<_;++a)(m=e[a])>=r&&mD((x-t)/g)&&o(\"overflow\"),t+=(l-r)*g,r=l,a=0;a<_;++a)if(m=e[a],mx&&o(\"overflow\"),m==r){for(u=t,f=36;d=f<=i?1:f>=i+26?26:f-i,!(u= 0x80 (not a basic code point)\",\"invalid-input\":\"Invalid input\"},D=Math.floor,q=String.fromCharCode;if(v={version:\"1.4.1\",ucs2:{decode:c,encode:l},decode:f,encode:d,toASCII:_,toUnicode:m},\"function\"==typeof e&&\"object\"==typeof e.amd&&e.amd)e(\"punycode\",function(){return v});else if(g&&b)if(t.exports==g)b.exports=v;else for(y in v)v.hasOwnProperty(y)&&(g[y]=v[y]);else s.punycode=v}(this)}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}],61:[function(e,r,t){r.exports=/[\\0-\\x1F\\x7F-\\x9F]/},{}],62:[function(e,r,t){r.exports=/[\\xAD\\u0600-\\u0605\\u061C\\u06DD\\u070F\\u08E2\\u180E\\u200B-\\u200F\\u202A-\\u202E\\u2060-\\u2064\\u2066-\\u206F\\uFEFF\\uFFF9-\\uFFFB]|\\uD804\\uDCBD|\\uD82F[\\uDCA0-\\uDCA3]|\\uD834[\\uDD73-\\uDD7A]|\\uDB40[\\uDC01\\uDC20-\\uDC7F]/},{}],63:[function(e,r,t){r.exports=/[!-#%-\\*,-\\/:;\\?@\\[-\\]_\\{\\}\\xA1\\xA7\\xAB\\xB6\\xB7\\xBB\\xBF\\u037E\\u0387\\u055A-\\u055F\\u0589\\u058A\\u05BE\\u05C0\\u05C3\\u05C6\\u05F3\\u05F4\\u0609\\u060A\\u060C\\u060D\\u061B\\u061E\\u061F\\u066A-\\u066D\\u06D4\\u0700-\\u070D\\u07F7-\\u07F9\\u0830-\\u083E\\u085E\\u0964\\u0965\\u0970\\u0AF0\\u0DF4\\u0E4F\\u0E5A\\u0E5B\\u0F04-\\u0F12\\u0F14\\u0F3A-\\u0F3D\\u0F85\\u0FD0-\\u0FD4\\u0FD9\\u0FDA\\u104A-\\u104F\\u10FB\\u1360-\\u1368\\u1400\\u166D\\u166E\\u169B\\u169C\\u16EB-\\u16ED\\u1735\\u1736\\u17D4-\\u17D6\\u17D8-\\u17DA\\u1800-\\u180A\\u1944\\u1945\\u1A1E\\u1A1F\\u1AA0-\\u1AA6\\u1AA8-\\u1AAD\\u1B5A-\\u1B60\\u1BFC-\\u1BFF\\u1C3B-\\u1C3F\\u1C7E\\u1C7F\\u1CC0-\\u1CC7\\u1CD3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205E\\u207D\\u207E\\u208D\\u208E\\u2308-\\u230B\\u2329\\u232A\\u2768-\\u2775\\u27C5\\u27C6\\u27E6-\\u27EF\\u2983-\\u2998\\u29D8-\\u29DB\\u29FC\\u29FD\\u2CF9-\\u2CFC\\u2CFE\\u2CFF\\u2D70\\u2E00-\\u2E2E\\u2E30-\\u2E44\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301F\\u3030\\u303D\\u30A0\\u30FB\\uA4FE\\uA4FF\\uA60D-\\uA60F\\uA673\\uA67E\\uA6F2-\\uA6F7\\uA874-\\uA877\\uA8CE\\uA8CF\\uA8F8-\\uA8FA\\uA8FC\\uA92E\\uA92F\\uA95F\\uA9C1-\\uA9CD\\uA9DE\\uA9DF\\uAA5C-\\uAA5F\\uAADE\\uAADF\\uAAF0\\uAAF1\\uABEB\\uFD3E\\uFD3F\\uFE10-\\uFE19\\uFE30-\\uFE52\\uFE54-\\uFE61\\uFE63\\uFE68\\uFE6A\\uFE6B\\uFF01-\\uFF03\\uFF05-\\uFF0A\\uFF0C-\\uFF0F\\uFF1A\\uFF1B\\uFF1F\\uFF20\\uFF3B-\\uFF3D\\uFF3F\\uFF5B\\uFF5D\\uFF5F-\\uFF65]|\\uD800[\\uDD00-\\uDD02\\uDF9F\\uDFD0]|\\uD801\\uDD6F|\\uD802[\\uDC57\\uDD1F\\uDD3F\\uDE50-\\uDE58\\uDE7F\\uDEF0-\\uDEF6\\uDF39-\\uDF3F\\uDF99-\\uDF9C]|\\uD804[\\uDC47-\\uDC4D\\uDCBB\\uDCBC\\uDCBE-\\uDCC1\\uDD40-\\uDD43\\uDD74\\uDD75\\uDDC5-\\uDDC9\\uDDCD\\uDDDB\\uDDDD-\\uDDDF\\uDE38-\\uDE3D\\uDEA9]|\\uD805[\\uDC4B-\\uDC4F\\uDC5B\\uDC5D\\uDCC6\\uDDC1-\\uDDD7\\uDE41-\\uDE43\\uDE60-\\uDE6C\\uDF3C-\\uDF3E]|\\uD807[\\uDC41-\\uDC45\\uDC70\\uDC71]|\\uD809[\\uDC70-\\uDC74]|\\uD81A[\\uDE6E\\uDE6F\\uDEF5\\uDF37-\\uDF3B\\uDF44]|\\uD82F\\uDC9F|\\uD836[\\uDE87-\\uDE8B]|\\uD83A[\\uDD5E\\uDD5F]/},{}],64:[function(e,r,t){r.exports=/[ \\xA0\\u1680\\u2000-\\u200A\\u202F\\u205F\\u3000]/},{}],65:[function(e,r,t){t.Any=e(\"./properties/Any/regex\"),t.Cc=e(\"./categories/Cc/regex\"),t.Cf=e(\"./categories/Cf/regex\"),t.P=e(\"./categories/P/regex\"),t.Z=e(\"./categories/Z/regex\")},{\"./categories/Cc/regex\":61,\"./categories/Cf/regex\":62,\"./categories/P/regex\":63,\"./categories/Z/regex\":64,\"./properties/Any/regex\":66}],66:[function(e,r,t){r.exports=/[\\0-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF]/},{}],67:[function(e,r,t){r.exports=e(\"./lib/\")},{\"./lib/\":9}]},{},[67])(67)});\n","const parse2 = require('./parse2/index'),\n // parse5 = require('./parse5/index').parse,\n config = require('../config'),\n\n // html与wxml转换关系\n correspondTag = (()=>{\n let result = {\n a:'navigator',\n todogroup:'checkbox-group',\n audio:'audio-player'\n };\n \n // // 该系列的标签都转换为text\n // ['span','b','strong','i','em','code','sub','sup','g-emoji','mark','ins'].forEach(item => {\n // result[item] = 'text';\n // });\n\n // 该系列小程序原生tag,不需转换\n [...config.wxml,...config.components].forEach(item => {\n result[item] = item;\n });\n return result;\n })(),\n\n // 元素与html对应的wxml标签名\n getWxmlTag = tagStr => !tagStr ? undefined : correspondTag[tagStr] || 'view',\n\n // 精简数据,并初始化相关事件等\n initObj = (obj,option)=>{\n const result = {\n theme:option.theme || 'light',\n _e:{}\n },\n events = global._events = {},\n base = option.base;\n\n // 主题保存到全局\n global._theme = result.theme;\n\n // 事件添加到全局中,各个组件在触发事件时会从全局调用\n if(option.events){\n for(let key in option.events){\n events[key] = option.events[key];\n };\n };\n\n // 遍历原始数据,处理成能解析的数据\n let eachFn;\n (eachFn = (arr,obj,_e) => {\n obj.child = obj.child || [];\n _e.child = _e.child || [];\n\n arr.forEach(item => {\n if(item.type === 'comment'){\n return;\n };\n let o = {},\n e = {};\n o.type = e.type = item.type;\n o._e = e;\n if(item.type === 'text'){\n o.text = e.text = item.data;\n }else{\n o.tag = getWxmlTag(item.name); // 转换之后的标签\n // o.tag = o.tag === 'text' ? 'view' : o.tag;\n e.tag = item.name; // 原始\n o.attr = item.attribs;\n e.attr = JSON.parse(JSON.stringify(item.attribs));\n\n o.attr.class = o.attr.class ? `h2w__${item.name} ${o.attr.class}` : `h2w__${item.name}`;\n\n // 处理资源相对路径\n if(base && o.attr.src){\n let src = o.attr.src;\n switch (src.indexOf('//')) {\n case 0:\n o.attr.src = `https:${src}`;\n break;\n case -1:\n o.attr.src = `${base}${src}`;\n break;\n };\n };\n\n if(item.children){\n eachFn(item.children,o,e);\n };\n };\n _e.child.push(e);\n obj.child.push(o);\n });\n })(obj,result,result._e);\n return result;\n };\n\nmodule.exports = (str,option) => {\n str = (()=>{\n let re = /]*>([\\s\\S]*)<\\/body>/i;\n if(re.test(str)){\n let result = re.exec(str);\n return result[1] || str;\n }else{\n return str;\n };\n })();\n return initObj(parse2(str,{decodeEntities:true}),option);\n};","/*! Project:无, Create:FWS 2020.01.08 21:48, Update:FWS 2020.01.08 21:48 */ \r\nfunction parseDOM(r,e){var a=new domhandler_1.DomHandler(void 0,e);return new Parser_1.Parser(a,e).end(r),a.dom}var domhandler_1=require(\"./domhandler/index\"),Parser_1=require(\"./Parser\");module.exports=parseDOM;","/*! Project:无, Create:FWS 2020.01.08 21:48, Update:FWS 2020.01.08 21:48 */ \r\nObject.defineProperty(exports,\"__esModule\",{value:!0});var node_1=require(\"./node\");exports.Node=node_1.Node,exports.Element=node_1.Element,exports.DataNode=node_1.DataNode,exports.NodeWithChildren=node_1.NodeWithChildren;var reWhitespace=/\\s+/g,defaultOpts={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1},DomHandler=function(){function t(t,e,o){this.dom=[],this._done=!1,this._tagStack=[],this._lastNode=null,this._parser=null,\"function\"==typeof e&&(o=e,e=defaultOpts),\"object\"==typeof t&&(e=t,t=undefined),this._callback=t||null,this._options=e||defaultOpts,this._elementCB=o||null}return t.prototype.onparserinit=function(t){this._parser=t},t.prototype.onreset=function(){this.dom=[],this._done=!1,this._tagStack=[],this._lastNode=null,this._parser=this._parser||null},t.prototype.onend=function(){this._done||(this._done=!0,this._parser=null,this.handleCallback(null))},t.prototype.onerror=function(t){this.handleCallback(t)},t.prototype.onclosetag=function(){this._lastNode=null;var t=this._tagStack.pop();t&&this._parser&&(this._options.withEndIndices&&(t.endIndex=this._parser.endIndex),this._elementCB&&this._elementCB(t))},t.prototype.onopentag=function(t,e){var o=new node_1.Element(t,e);this.addNode(o),this._tagStack.push(o)},t.prototype.ontext=function(t){var e=this._options.normalizeWhitespace,o=this._lastNode;if(o&&\"text\"===o.type)e?o.data=(o.data+t).replace(reWhitespace,\" \"):o.data+=t;else{e&&(t=t.replace(reWhitespace,\" \"));var n=new node_1.DataNode(\"text\",t);this.addNode(n),this._lastNode=n}},t.prototype.oncomment=function(t){if(this._lastNode&&\"comment\"===this._lastNode.type)return void(this._lastNode.data+=t);var e=new node_1.DataNode(\"comment\",t);this.addNode(e),this._lastNode=e},t.prototype.oncommentend=function(){this._lastNode=null},t.prototype.oncdatastart=function(){var t=new node_1.DataNode(\"text\",\"\"),e=new node_1.NodeWithChildren(\"cdata\",[t]);this.addNode(e),t.parent=e,this._lastNode=t},t.prototype.oncdataend=function(){this._lastNode=null},t.prototype.onprocessinginstruction=function(t,e){var o=new node_1.ProcessingInstruction(t,e);this.addNode(o)},t.prototype.handleCallback=function(t){if(\"function\"==typeof this._callback)this._callback(t,this.dom);else if(t)throw t},t.prototype.addNode=function(t){var e=this._tagStack[this._tagStack.length-1],o=e?e.children:this.dom,n=o[o.length-1];this._parser&&(this._options.withStartIndices&&(t.startIndex=this._parser.startIndex),this._options.withEndIndices&&(t.endIndex=this._parser.endIndex)),o.push(t),n&&(t.prev=n,n.next=t),e&&(t.parent=e),this._lastNode=null},t.prototype.addDataNode=function(t){this.addNode(t),this._lastNode=t},t}();exports.DomHandler=DomHandler,exports[\"default\"]=DomHandler;","/*! Project:无, Create:FWS 2020.01.08 21:48, Update:FWS 2020.01.08 21:48 */ \r\nvar __extends=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(exports,\"__esModule\",{value:!0});var nodeTypes=new Map([[\"tag\",1],[\"script\",1],[\"style\",1],[\"directive\",1],[\"text\",3],[\"cdata\",4],[\"comment\",8]]),Node=function(){function e(e){this.type=e,this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,\"nodeType\",{get:function(){return nodeTypes.get(this.type)||1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,\"parentNode\",{get:function(){return this.parent||null},set:function(e){this.parent=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,\"previousSibling\",{get:function(){return this.prev||null},set:function(e){this.prev=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,\"nextSibling\",{get:function(){return this.next||null},set:function(e){this.next=e},enumerable:!0,configurable:!0}),e}();exports.Node=Node;var DataNode=function(e){function t(t,n){var r=e.call(this,t)||this;return r.data=n,r}return __extends(t,e),Object.defineProperty(t.prototype,\"nodeValue\",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!0,configurable:!0}),t}(Node);exports.DataNode=DataNode;var ProcessingInstruction=function(e){function t(t,n){var r=e.call(this,\"directive\",n)||this;return r.name=t,r}return __extends(t,e),t}(DataNode);exports.ProcessingInstruction=ProcessingInstruction;var NodeWithChildren=function(e){function t(t,n){var r=e.call(this,t)||this;return r.children=n,r}return __extends(t,e),Object.defineProperty(t.prototype,\"firstChild\",{get:function(){return this.children[0]||null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,\"lastChild\",{get:function(){return this.children[this.children.length-1]||null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,\"childNodes\",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!0,configurable:!0}),t}(Node);exports.NodeWithChildren=NodeWithChildren;var Element=function(e){function t(t,n){var r=e.call(this,\"script\"===t?\"script\":\"style\"===t?\"style\":\"tag\",[])||this;return r.name=t,r.attribs=n,r.attribs=n,r}return __extends(t,e),Object.defineProperty(t.prototype,\"tagName\",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!0,configurable:!0}),t}(NodeWithChildren);exports.Element=Element;","/*! Project:无, Create:FWS 2020.01.08 21:48, Update:FWS 2020.01.08 21:48 */ \r\nfunction Parser(t,e){var s=this;return s._tagname=\"\",s._attribname=\"\",s._attribvalue=\"\",s._attribs=null,s._stack=[],s._foreignContext=[],s.startIndex=0,s.endIndex=null,s.parseChunk=Parser.prototype.write,s.done=Parser.prototype.end,s._options=e||{},s._cbs=t||{},s._tagname=\"\",s._attribname=\"\",s._attribvalue=\"\",s._attribs=null,s._stack=[],s._foreignContext=[],s.startIndex=0,s.endIndex=null,s._lowerCaseTagNames=\"lowerCaseTags\"in s._options?!!s._options.lowerCaseTags:!s._options.xmlMode,s._lowerCaseAttributeNames=\"lowerCaseAttributeNames\"in s._options?!!s._options.lowerCaseAttributeNames:!s._options.xmlMode,s._tokenizer=new(s._options.Tokenizer||Tokenizer_1[\"default\"])(s._options,s),s._cbs.onparserinit&&s._cbs.onparserinit(s),s}var __importDefault=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(exports,\"__esModule\",{value:!0});var Tokenizer_1=__importDefault(require(\"./Tokenizer\")),formTags=new Set([\"input\",\"option\",\"optgroup\",\"select\",\"button\",\"datalist\",\"textarea\"]),pTag=new Set([\"p\"]),openImpliesClose={tr:new Set([\"tr\",\"th\",\"td\"]),th:new Set([\"th\"]),td:new Set([\"thead\",\"th\",\"td\"]),body:new Set([\"head\",\"link\",\"script\"]),li:new Set([\"li\"]),p:pTag,h1:pTag,h2:pTag,h3:pTag,h4:pTag,h5:pTag,h6:pTag,select:formTags,input:formTags,output:formTags,button:formTags,datalist:formTags,textarea:formTags,option:new Set([\"option\"]),optgroup:new Set([\"optgroup\",\"option\"]),dd:new Set([\"dt\",\"dd\"]),dt:new Set([\"dt\",\"dd\"]),address:pTag,article:pTag,aside:pTag,blockquote:pTag,details:pTag,div:pTag,dl:pTag,fieldset:pTag,figcaption:pTag,figure:pTag,footer:pTag,form:pTag,header:pTag,hr:pTag,main:pTag,nav:pTag,ol:pTag,pre:pTag,section:pTag,table:pTag,ul:pTag,rt:new Set([\"rt\",\"rp\"]),rp:new Set([\"rt\",\"rp\"]),tbody:new Set([\"thead\",\"tbody\"]),tfoot:new Set([\"thead\",\"tbody\"])},voidElements=new Set([\"area\",\"base\",\"basefont\",\"br\",\"col\",\"command\",\"embed\",\"frame\",\"hr\",\"img\",\"input\",\"isindex\",\"keygen\",\"link\",\"meta\",\"param\",\"source\",\"track\",\"wbr\"]),foreignContextElements=new Set([\"math\",\"svg\"]),htmlIntegrationElements=new Set([\"mi\",\"mo\",\"mn\",\"ms\",\"mtext\",\"annotation-xml\",\"foreignObject\",\"desc\",\"title\"]),reNameEnd=/\\s|\\//;Parser.prototype._updatePosition=function(t){null===this.endIndex?this._tokenizer._sectionStart<=t?this.startIndex=0:this.startIndex=this._tokenizer._sectionStart-t:this.startIndex=this.endIndex+1,this.endIndex=this._tokenizer.getAbsoluteIndex()},Parser.prototype.ontext=function(t){this._updatePosition(1),this.endIndex--,this._cbs.ontext&&this._cbs.ontext(t)},Parser.prototype.onopentagname=function(t){if(this._lowerCaseTagNames&&(t=t.toLowerCase()),this._tagname=t,!this._options.xmlMode&&t in openImpliesClose)for(var e=void 0;openImpliesClose[t].has(e=this._stack[this._stack.length-1]);this.onclosetag(e));!this._options.xmlMode&&voidElements.has(t)||(this._stack.push(t),foreignContextElements.has(t)?this._foreignContext.push(!0):htmlIntegrationElements.has(t)&&this._foreignContext.push(!1)),this._cbs.onopentagname&&this._cbs.onopentagname(t),this._cbs.onopentag&&(this._attribs={})},Parser.prototype.onopentagend=function(){this._updatePosition(1),this._attribs&&(this._cbs.onopentag&&this._cbs.onopentag(this._tagname,this._attribs),this._attribs=null),!this._options.xmlMode&&this._cbs.onclosetag&&voidElements.has(this._tagname)&&this._cbs.onclosetag(this._tagname),this._tagname=\"\"},Parser.prototype.onclosetag=function(t){if(this._updatePosition(1),this._lowerCaseTagNames&&(t=t.toLowerCase()),(foreignContextElements.has(t)||htmlIntegrationElements.has(t))&&this._foreignContext.pop(),!this._stack.length||!this._options.xmlMode&&voidElements.has(t))this._options.xmlMode||\"br\"!==t&&\"p\"!==t||(this.onopentagname(t),this._closeCurrentTag());else{var e=this._stack.lastIndexOf(t);if(-1!==e)if(this._cbs.onclosetag)for(e=this._stack.length-e;e--;)this._cbs.onclosetag(this._stack.pop());else this._stack.length=e;else\"p\"!==t||this._options.xmlMode||(this.onopentagname(t),this._closeCurrentTag())}},Parser.prototype.onselfclosingtag=function(){this._options.xmlMode||this._options.recognizeSelfClosing||this._foreignContext[this._foreignContext.length-1]?this._closeCurrentTag():this.onopentagend()},Parser.prototype._closeCurrentTag=function(){var t=this._tagname;this.onopentagend(),this._stack[this._stack.length-1]===t&&(this._cbs.onclosetag&&this._cbs.onclosetag(t),this._stack.pop())},Parser.prototype.onattribname=function(t){this._lowerCaseAttributeNames&&(t=t.toLowerCase()),this._attribname=t},Parser.prototype.onattribdata=function(t){this._attribvalue+=t},Parser.prototype.onattribend=function(){this._cbs.onattribute&&this._cbs.onattribute(this._attribname,this._attribvalue),this._attribs&&!Object.prototype.hasOwnProperty.call(this._attribs,this._attribname)&&(this._attribs[this._attribname]=this._attribvalue),this._attribname=\"\",this._attribvalue=\"\"},Parser.prototype._getInstructionName=function(t){var e=t.search(reNameEnd),s=e<0?t:t.substr(0,e);return this._lowerCaseTagNames&&(s=s.toLowerCase()),s},Parser.prototype.ondeclaration=function(t){if(this._cbs.onprocessinginstruction){var e=this._getInstructionName(t);this._cbs.onprocessinginstruction(\"!\"+e,\"!\"+t)}},Parser.prototype.onprocessinginstruction=function(t){if(this._cbs.onprocessinginstruction){var e=this._getInstructionName(t);this._cbs.onprocessinginstruction(\"?\"+e,\"?\"+t)}},Parser.prototype.oncomment=function(t){this._updatePosition(4),this._cbs.oncomment&&this._cbs.oncomment(t),this._cbs.oncommentend&&this._cbs.oncommentend()},Parser.prototype.oncdata=function(t){this._updatePosition(1),this._options.xmlMode||this._options.recognizeCDATA?(this._cbs.oncdatastart&&this._cbs.oncdatastart(),this._cbs.ontext&&this._cbs.ontext(t),this._cbs.oncdataend&&this._cbs.oncdataend()):this.oncomment(\"[CDATA[\"+t+\"]]\")},Parser.prototype.onerror=function(t){this._cbs.onerror&&this._cbs.onerror(t)},Parser.prototype.onend=function(){if(this._cbs.onclosetag)for(var t=this._stack.length;t>0;this._cbs.onclosetag(this._stack[--t]));this._cbs.onend&&this._cbs.onend()},Parser.prototype.reset=function(){this._cbs.onreset&&this._cbs.onreset(),this._tokenizer.reset(),this._tagname=\"\",this._attribname=\"\",this._attribs=null,this._stack=[],this._cbs.onparserinit&&this._cbs.onparserinit(this)},Parser.prototype.parseComplete=function(t){this.reset(),this.end(t)},Parser.prototype.write=function(t){this._tokenizer.write(t)},Parser.prototype.end=function(t){this._tokenizer.end(t)},Parser.prototype.pause=function(){this._tokenizer.pause()},Parser.prototype.resume=function(){this._tokenizer.resume()},exports.Parser=Parser;","/*! Project:无, Create:FWS 2020.01.08 21:48, Update:FWS 2020.01.08 21:48 */ \r\nfunction whitespace(t){return\" \"===t||\"\\n\"===t||\"\\t\"===t||\"\\f\"===t||\"\\r\"===t}function ifElseState(t,e,s){var i=t.toLowerCase();return t===i?function(t,a){a===i?t._state=e:(t._state=s,t._index--)}:function(a,_){_===i||_===t?a._state=e:(a._state=s,a._index--)}}function consumeSpecialNameChar(t,e){var s=t.toLowerCase();return function(i,a){a===s||a===t?i._state=e:(i._state=3,i._index--)}}var __importDefault=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(exports,\"__esModule\",{value:!0});var decode_codepoint_1=__importDefault(require(\"./entities/decode_codepoint\")),entities_json_1=__importDefault(require(\"./entities/maps/entities\")),legacy_json_1=__importDefault(require(\"./entities/maps/legacy\")),xml_json_1=__importDefault(require(\"./entities/maps/xml\")),stateBeforeCdata1=ifElseState(\"C\",23,16),stateBeforeCdata2=ifElseState(\"D\",24,16),stateBeforeCdata3=ifElseState(\"A\",25,16),stateBeforeCdata4=ifElseState(\"T\",26,16),stateBeforeCdata5=ifElseState(\"A\",27,16),stateBeforeScript1=consumeSpecialNameChar(\"R\",34),stateBeforeScript2=consumeSpecialNameChar(\"I\",35),stateBeforeScript3=consumeSpecialNameChar(\"P\",36),stateBeforeScript4=consumeSpecialNameChar(\"T\",37),stateAfterScript1=ifElseState(\"R\",39,1),stateAfterScript2=ifElseState(\"I\",40,1),stateAfterScript3=ifElseState(\"P\",41,1),stateAfterScript4=ifElseState(\"T\",42,1),stateBeforeStyle1=consumeSpecialNameChar(\"Y\",44),stateBeforeStyle2=consumeSpecialNameChar(\"L\",45),stateBeforeStyle3=consumeSpecialNameChar(\"E\",46),stateAfterStyle1=ifElseState(\"Y\",48,1),stateAfterStyle2=ifElseState(\"L\",49,1),stateAfterStyle3=ifElseState(\"E\",50,1),stateBeforeEntity=ifElseState(\"#\",52,53),stateBeforeNumericEntity=ifElseState(\"X\",55,54),Tokenizer=function(){function t(t,e){this._state=1,this._buffer=\"\",this._sectionStart=0,this._index=0,this._bufferOffset=0,this._baseState=1,this._special=1,this._running=!0,this._ended=!1,this._cbs=e,this._xmlMode=!(!t||!t.xmlMode),this._decodeEntities=!(!t||!t.decodeEntities)}return t.prototype.reset=function(){this._state=1,this._buffer=\"\",this._sectionStart=0,this._index=0,this._bufferOffset=0,this._baseState=1,this._special=1,this._running=!0,this._ended=!1},t.prototype._stateText=function(t){\"<\"===t?(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._state=2,this._sectionStart=this._index):this._decodeEntities&&1===this._special&&\"&\"===t&&(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._baseState=1,this._state=51,this._sectionStart=this._index)},t.prototype._stateBeforeTagName=function(t){\"/\"===t?this._state=5:\"<\"===t?(this._cbs.ontext(this._getSection()),this._sectionStart=this._index):\">\"===t||1!==this._special||whitespace(t)?this._state=1:\"!\"===t?(this._state=15,this._sectionStart=this._index+1):\"?\"===t?(this._state=17,this._sectionStart=this._index+1):(this._state=this._xmlMode||\"s\"!==t&&\"S\"!==t?3:31,this._sectionStart=this._index)},t.prototype._stateInTagName=function(t){(\"/\"===t||\">\"===t||whitespace(t))&&(this._emitToken(\"onopentagname\"),this._state=8,this._index--)},t.prototype._stateBeforeCloseingTagName=function(t){whitespace(t)||(\">\"===t?this._state=1:1!==this._special?\"s\"===t||\"S\"===t?this._state=32:(this._state=1,this._index--):(this._state=6,this._sectionStart=this._index))},t.prototype._stateInCloseingTagName=function(t){(\">\"===t||whitespace(t))&&(this._emitToken(\"onclosetag\"),this._state=7,this._index--)},t.prototype._stateAfterCloseingTagName=function(t){\">\"===t&&(this._state=1,this._sectionStart=this._index+1)},t.prototype._stateBeforeAttributeName=function(t){\">\"===t?(this._cbs.onopentagend(),this._state=1,this._sectionStart=this._index+1):\"/\"===t?this._state=4:whitespace(t)||(this._state=9,this._sectionStart=this._index)},t.prototype._stateInSelfClosingTag=function(t){\">\"===t?(this._cbs.onselfclosingtag(),this._state=1,this._sectionStart=this._index+1):whitespace(t)||(this._state=8,this._index--)},t.prototype._stateInAttributeName=function(t){(\"=\"===t||\"/\"===t||\">\"===t||whitespace(t))&&(this._cbs.onattribname(this._getSection()),this._sectionStart=-1,this._state=10,this._index--)},t.prototype._stateAfterAttributeName=function(t){\"=\"===t?this._state=11:\"/\"===t||\">\"===t?(this._cbs.onattribend(),this._state=8,this._index--):whitespace(t)||(this._cbs.onattribend(),this._state=9,this._sectionStart=this._index)},t.prototype._stateBeforeAttributeValue=function(t){'\"'===t?(this._state=12,this._sectionStart=this._index+1):\"'\"===t?(this._state=13,this._sectionStart=this._index+1):whitespace(t)||(this._state=14,this._sectionStart=this._index,this._index--)},t.prototype._stateInAttributeValueDoubleQuotes=function(t){'\"'===t?(this._emitToken(\"onattribdata\"),this._cbs.onattribend(),this._state=8):this._decodeEntities&&\"&\"===t&&(this._emitToken(\"onattribdata\"),this._baseState=this._state,this._state=51,this._sectionStart=this._index)},t.prototype._stateInAttributeValueSingleQuotes=function(t){\"'\"===t?(this._emitToken(\"onattribdata\"),this._cbs.onattribend(),this._state=8):this._decodeEntities&&\"&\"===t&&(this._emitToken(\"onattribdata\"),this._baseState=this._state,this._state=51,this._sectionStart=this._index)},t.prototype._stateInAttributeValueNoQuotes=function(t){whitespace(t)||\">\"===t?(this._emitToken(\"onattribdata\"),this._cbs.onattribend(),this._state=8,this._index--):this._decodeEntities&&\"&\"===t&&(this._emitToken(\"onattribdata\"),this._baseState=this._state,this._state=51,this._sectionStart=this._index)},t.prototype._stateBeforeDeclaration=function(t){this._state=\"[\"===t?22:\"-\"===t?18:16},t.prototype._stateInDeclaration=function(t){\">\"===t&&(this._cbs.ondeclaration(this._getSection()),this._state=1,this._sectionStart=this._index+1)},t.prototype._stateInProcessingInstruction=function(t){\">\"===t&&(this._cbs.onprocessinginstruction(this._getSection()),this._state=1,this._sectionStart=this._index+1)},t.prototype._stateBeforeComment=function(t){\"-\"===t?(this._state=19,this._sectionStart=this._index+1):this._state=16},t.prototype._stateInComment=function(t){\"-\"===t&&(this._state=20)},t.prototype._stateAfterComment1=function(t){this._state=\"-\"===t?21:19},t.prototype._stateAfterComment2=function(t){\">\"===t?(this._cbs.oncomment(this._buffer.substring(this._sectionStart,this._index-2)),this._state=1,this._sectionStart=this._index+1):\"-\"!==t&&(this._state=19)},t.prototype._stateBeforeCdata6=function(t){\"[\"===t?(this._state=28,this._sectionStart=this._index+1):(this._state=16,this._index--)},t.prototype._stateInCdata=function(t){\"]\"===t&&(this._state=29)},t.prototype._stateAfterCdata1=function(t){this._state=\"]\"===t?30:28},t.prototype._stateAfterCdata2=function(t){\">\"===t?(this._cbs.oncdata(this._buffer.substring(this._sectionStart,this._index-2)),this._state=1,this._sectionStart=this._index+1):\"]\"!==t&&(this._state=28)},t.prototype._stateBeforeSpecial=function(t){\"c\"===t||\"C\"===t?this._state=33:\"t\"===t||\"T\"===t?this._state=43:(this._state=3,this._index--)},t.prototype._stateBeforeSpecialEnd=function(t){2!==this._special||\"c\"!==t&&\"C\"!==t?3!==this._special||\"t\"!==t&&\"T\"!==t?this._state=1:this._state=47:this._state=38},t.prototype._stateBeforeScript5=function(t){(\"/\"===t||\">\"===t||whitespace(t))&&(this._special=2),this._state=3,this._index--},t.prototype._stateAfterScript5=function(t){\">\"===t||whitespace(t)?(this._special=1,this._state=6,this._sectionStart=this._index-6,this._index--):this._state=1},t.prototype._stateBeforeStyle4=function(t){(\"/\"===t||\">\"===t||whitespace(t))&&(this._special=3),this._state=3,this._index--},t.prototype._stateAfterStyle4=function(t){\">\"===t||whitespace(t)?(this._special=1,this._state=6,this._sectionStart=this._index-5,this._index--):this._state=1},t.prototype._parseNamedEntityStrict=function(){if(this._sectionStart+16&&(e=6);e>=2;){var s=this._buffer.substr(t,e);if(Object.prototype.hasOwnProperty.call(legacy_json_1[\"default\"],s))return this._emitPartial(legacy_json_1[\"default\"][s]),void(this._sectionStart+=e+1);e--}},t.prototype._stateInNamedEntity=function(t){\";\"===t?(this._parseNamedEntityStrict(),this._sectionStart+1\"z\")&&(t<\"A\"||t>\"Z\")&&(t<\"0\"||t>\"9\")&&(this._xmlMode||this._sectionStart+1===this._index||(1!==this._baseState?\"=\"!==t&&this._parseNamedEntityStrict():this._parseLegacyEntity()),this._state=this._baseState,this._index--)},t.prototype._decodeNumericEntity=function(t,e){var s=this._sectionStart+t;if(s!==this._index){var i=this._buffer.substring(s,this._index),a=parseInt(i,e);this._emitPartial(decode_codepoint_1[\"default\"](a)),this._sectionStart=this._index}else this._sectionStart--;this._state=this._baseState},t.prototype._stateInNumericEntity=function(t){\";\"===t?(this._decodeNumericEntity(2,10),this._sectionStart++):(t<\"0\"||t>\"9\")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(2,10),this._index--)},t.prototype._stateInHexEntity=function(t){\";\"===t?(this._decodeNumericEntity(3,16),this._sectionStart++):(t<\"a\"||t>\"f\")&&(t<\"A\"||t>\"F\")&&(t<\"0\"||t>\"9\")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(3,16),this._index--)},t.prototype._cleanup=function(){this._sectionStart<0?(this._buffer=\"\",this._bufferOffset+=this._index,this._index=0):this._running&&(1===this._state?(this._sectionStart!==this._index&&this._cbs.ontext(this._buffer.substr(this._sectionStart)),this._buffer=\"\",this._bufferOffset+=this._index,this._index=0):this._sectionStart===this._index?(this._buffer=\"\",this._bufferOffset+=this._index,this._index=0):(this._buffer=this._buffer.substr(this._sectionStart),this._index-=this._sectionStart,this._bufferOffset+=this._sectionStart),this._sectionStart=0)},t.prototype.write=function(t){this._ended&&this._cbs.onerror(Error(\".write() after done!\")),this._buffer+=t,this._parse()},t.prototype._parse=function(){for(;this._index=55296&&e<=57343||e>1114111)return\"�\";e in decode_json_1[\"default\"]&&(e=decode_json_1[\"default\"][e]);var o=\"\";return e>65535&&(e-=65536,o+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),o+=String.fromCharCode(e)}var __importDefault=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,\"__esModule\",{value:!0});var decode_json_1=__importDefault(require(\"./maps/decode\"));exports[\"default\"]=decodeCodePoint;","/*! Project:无, Create:FWS 2020.01.08 21:48, Update:FWS 2020.01.08 21:48 */ \r\nmodule.exports={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376};","/*! Project:无, Create:FWS 2020.01.08 21:48, Update:FWS 2020.01.08 21:48 */ \r\nmodule.exports={Aacute:\"Á\",aacute:\"á\",Abreve:\"Ă\",abreve:\"ă\",ac:\"∾\",acd:\"∿\",acE:\"∾̳\",Acirc:\"Â\",acirc:\"â\",acute:\"´\",Acy:\"А\",acy:\"а\",AElig:\"Æ\",aelig:\"æ\",af:\"\",Afr:\"𝔄\",afr:\"𝔞\",Agrave:\"À\",agrave:\"à\",alefsym:\"ℵ\",aleph:\"ℵ\",Alpha:\"Α\",alpha:\"α\",Amacr:\"Ā\",amacr:\"ā\",amalg:\"⨿\",amp:\"&\",AMP:\"&\",andand:\"⩕\",And:\"⩓\",and:\"∧\",andd:\"⩜\",andslope:\"⩘\",andv:\"⩚\",ang:\"∠\",ange:\"⦤\",angle:\"∠\",angmsdaa:\"⦨\",angmsdab:\"⦩\",angmsdac:\"⦪\",angmsdad:\"⦫\",angmsdae:\"⦬\",angmsdaf:\"⦭\",angmsdag:\"⦮\",angmsdah:\"⦯\",angmsd:\"∡\",angrt:\"∟\",angrtvb:\"⊾\",angrtvbd:\"⦝\",angsph:\"∢\",angst:\"Å\",angzarr:\"⍼\",Aogon:\"Ą\",aogon:\"ą\",Aopf:\"𝔸\",aopf:\"𝕒\",apacir:\"⩯\",ap:\"≈\",apE:\"⩰\",ape:\"≊\",apid:\"≋\",apos:\"'\",ApplyFunction:\"\",approx:\"≈\",approxeq:\"≊\",Aring:\"Å\",aring:\"å\",Ascr:\"𝒜\",ascr:\"𝒶\",Assign:\"≔\",ast:\"*\",asymp:\"≈\",asympeq:\"≍\",Atilde:\"Ã\",atilde:\"ã\",Auml:\"Ä\",auml:\"ä\",awconint:\"∳\",awint:\"⨑\",backcong:\"≌\",backepsilon:\"϶\",backprime:\"‵\",backsim:\"∽\",backsimeq:\"⋍\",Backslash:\"∖\",Barv:\"⫧\",barvee:\"⊽\",barwed:\"⌅\",Barwed:\"⌆\",barwedge:\"⌅\",bbrk:\"⎵\",bbrktbrk:\"⎶\",bcong:\"≌\",Bcy:\"Б\",bcy:\"б\",bdquo:\"„\",becaus:\"∵\",because:\"∵\",Because:\"∵\",bemptyv:\"⦰\",bepsi:\"϶\",bernou:\"ℬ\",Bernoullis:\"ℬ\",Beta:\"Β\",beta:\"β\",beth:\"ℶ\",between:\"≬\",Bfr:\"𝔅\",bfr:\"𝔟\",bigcap:\"⋂\",bigcirc:\"◯\",bigcup:\"⋃\",bigodot:\"⨀\",bigoplus:\"⨁\",bigotimes:\"⨂\",bigsqcup:\"⨆\",bigstar:\"★\",bigtriangledown:\"▽\",bigtriangleup:\"△\",biguplus:\"⨄\",bigvee:\"⋁\",bigwedge:\"⋀\",bkarow:\"⤍\",blacklozenge:\"⧫\",blacksquare:\"▪\",blacktriangle:\"▴\",blacktriangledown:\"▾\",blacktriangleleft:\"◂\",blacktriangleright:\"▸\",blank:\"␣\",blk12:\"▒\",blk14:\"░\",blk34:\"▓\",block:\"█\",bne:\"=⃥\",bnequiv:\"≡⃥\",bNot:\"⫭\",bnot:\"⌐\",Bopf:\"𝔹\",bopf:\"𝕓\",bot:\"⊥\",bottom:\"⊥\",bowtie:\"⋈\",boxbox:\"⧉\",boxdl:\"┐\",boxdL:\"╕\",boxDl:\"╖\",boxDL:\"╗\",boxdr:\"┌\",boxdR:\"╒\",boxDr:\"╓\",boxDR:\"╔\",boxh:\"─\",boxH:\"═\",boxhd:\"┬\",boxHd:\"╤\",boxhD:\"╥\",boxHD:\"╦\",boxhu:\"┴\",boxHu:\"╧\",boxhU:\"╨\",boxHU:\"╩\",boxminus:\"⊟\",boxplus:\"⊞\",boxtimes:\"⊠\",boxul:\"┘\",boxuL:\"╛\",boxUl:\"╜\",boxUL:\"╝\",boxur:\"└\",boxuR:\"╘\",boxUr:\"╙\",boxUR:\"╚\",boxv:\"│\",boxV:\"║\",boxvh:\"┼\",boxvH:\"╪\",boxVh:\"╫\",boxVH:\"╬\",boxvl:\"┤\",boxvL:\"╡\",boxVl:\"╢\",boxVL:\"╣\",boxvr:\"├\",boxvR:\"╞\",boxVr:\"╟\",boxVR:\"╠\",bprime:\"‵\",breve:\"˘\",Breve:\"˘\",brvbar:\"¦\",bscr:\"𝒷\",Bscr:\"ℬ\",bsemi:\"⁏\",bsim:\"∽\",bsime:\"⋍\",bsolb:\"⧅\",bsol:\"\\\\\",bsolhsub:\"⟈\",bull:\"•\",bullet:\"•\",bump:\"≎\",bumpE:\"⪮\",bumpe:\"≏\",Bumpeq:\"≎\",bumpeq:\"≏\",Cacute:\"Ć\",cacute:\"ć\",capand:\"⩄\",capbrcup:\"⩉\",capcap:\"⩋\",cap:\"∩\",Cap:\"⋒\",capcup:\"⩇\",capdot:\"⩀\",CapitalDifferentialD:\"ⅅ\",caps:\"∩︀\",caret:\"⁁\",caron:\"ˇ\",Cayleys:\"ℭ\",ccaps:\"⩍\",Ccaron:\"Č\",ccaron:\"č\",Ccedil:\"Ç\",ccedil:\"ç\",Ccirc:\"Ĉ\",ccirc:\"ĉ\",Cconint:\"∰\",ccups:\"⩌\",ccupssm:\"⩐\",Cdot:\"Ċ\",cdot:\"ċ\",cedil:\"¸\",Cedilla:\"¸\",cemptyv:\"⦲\",cent:\"¢\",centerdot:\"·\",CenterDot:\"·\",cfr:\"𝔠\",Cfr:\"ℭ\",CHcy:\"Ч\",chcy:\"ч\",check:\"✓\",checkmark:\"✓\",Chi:\"Χ\",chi:\"χ\",circ:\"ˆ\",circeq:\"≗\",circlearrowleft:\"↺\",circlearrowright:\"↻\",circledast:\"⊛\",circledcirc:\"⊚\",circleddash:\"⊝\",CircleDot:\"⊙\",circledR:\"®\",circledS:\"Ⓢ\",CircleMinus:\"⊖\",CirclePlus:\"⊕\",CircleTimes:\"⊗\",cir:\"○\",cirE:\"⧃\",cire:\"≗\",cirfnint:\"⨐\",cirmid:\"⫯\",cirscir:\"⧂\",ClockwiseContourIntegral:\"∲\",CloseCurlyDoubleQuote:\"”\",CloseCurlyQuote:\"’\",clubs:\"♣\",clubsuit:\"♣\",colon:\":\",Colon:\"∷\",Colone:\"⩴\",colone:\"≔\",coloneq:\"≔\",comma:\",\",commat:\"@\",comp:\"∁\",compfn:\"∘\",complement:\"∁\",complexes:\"ℂ\",cong:\"≅\",congdot:\"⩭\",Congruent:\"≡\",conint:\"∮\",Conint:\"∯\",ContourIntegral:\"∮\",copf:\"𝕔\",Copf:\"ℂ\",coprod:\"∐\",Coproduct:\"∐\",copy:\"©\",COPY:\"©\",copysr:\"℗\",CounterClockwiseContourIntegral:\"∳\",crarr:\"↵\",cross:\"✗\",Cross:\"⨯\",Cscr:\"𝒞\",cscr:\"𝒸\",csub:\"⫏\",csube:\"⫑\",csup:\"⫐\",csupe:\"⫒\",ctdot:\"⋯\",cudarrl:\"⤸\",cudarrr:\"⤵\",cuepr:\"⋞\",cuesc:\"⋟\",cularr:\"↶\",cularrp:\"⤽\",cupbrcap:\"⩈\",cupcap:\"⩆\",CupCap:\"≍\",cup:\"∪\",Cup:\"⋓\",cupcup:\"⩊\",cupdot:\"⊍\",cupor:\"⩅\",cups:\"∪︀\",curarr:\"↷\",curarrm:\"⤼\",curlyeqprec:\"⋞\",curlyeqsucc:\"⋟\",curlyvee:\"⋎\",curlywedge:\"⋏\",curren:\"¤\",curvearrowleft:\"↶\",curvearrowright:\"↷\",cuvee:\"⋎\",cuwed:\"⋏\",cwconint:\"∲\",cwint:\"∱\",cylcty:\"⌭\",dagger:\"†\",Dagger:\"‡\",daleth:\"ℸ\",darr:\"↓\",Darr:\"↡\",dArr:\"⇓\",dash:\"‐\",Dashv:\"⫤\",dashv:\"⊣\",dbkarow:\"⤏\",dblac:\"˝\",Dcaron:\"Ď\",dcaron:\"ď\",Dcy:\"Д\",dcy:\"д\",ddagger:\"‡\",ddarr:\"⇊\",DD:\"ⅅ\",dd:\"ⅆ\",DDotrahd:\"⤑\",ddotseq:\"⩷\",deg:\"°\",Del:\"∇\",Delta:\"Δ\",delta:\"δ\",demptyv:\"⦱\",dfisht:\"⥿\",Dfr:\"𝔇\",dfr:\"𝔡\",dHar:\"⥥\",dharl:\"⇃\",dharr:\"⇂\",DiacriticalAcute:\"´\",DiacriticalDot:\"˙\",DiacriticalDoubleAcute:\"˝\",DiacriticalGrave:\"`\",DiacriticalTilde:\"˜\",diam:\"⋄\",diamond:\"⋄\",Diamond:\"⋄\",diamondsuit:\"♦\",diams:\"♦\",die:\"¨\",DifferentialD:\"ⅆ\",digamma:\"ϝ\",disin:\"⋲\",div:\"÷\",divide:\"÷\",divideontimes:\"⋇\",divonx:\"⋇\",DJcy:\"Ђ\",djcy:\"ђ\",dlcorn:\"⌞\",dlcrop:\"⌍\",dollar:\"$\",Dopf:\"𝔻\",dopf:\"𝕕\",Dot:\"¨\",dot:\"˙\",DotDot:\"⃜\",doteq:\"≐\",doteqdot:\"≑\",DotEqual:\"≐\",dotminus:\"∸\",dotplus:\"∔\",dotsquare:\"⊡\",doublebarwedge:\"⌆\",DoubleContourIntegral:\"∯\",DoubleDot:\"¨\",DoubleDownArrow:\"⇓\",DoubleLeftArrow:\"⇐\",DoubleLeftRightArrow:\"⇔\",DoubleLeftTee:\"⫤\",DoubleLongLeftArrow:\"⟸\",DoubleLongLeftRightArrow:\"⟺\",DoubleLongRightArrow:\"⟹\",DoubleRightArrow:\"⇒\",DoubleRightTee:\"⊨\",DoubleUpArrow:\"⇑\",DoubleUpDownArrow:\"⇕\",DoubleVerticalBar:\"∥\",DownArrowBar:\"⤓\",downarrow:\"↓\",DownArrow:\"↓\",Downarrow:\"⇓\",DownArrowUpArrow:\"⇵\",DownBreve:\"̑\",downdownarrows:\"⇊\",downharpoonleft:\"⇃\",downharpoonright:\"⇂\",DownLeftRightVector:\"⥐\",DownLeftTeeVector:\"⥞\",DownLeftVectorBar:\"⥖\",DownLeftVector:\"↽\",DownRightTeeVector:\"⥟\",DownRightVectorBar:\"⥗\",DownRightVector:\"⇁\",DownTeeArrow:\"↧\",DownTee:\"⊤\",drbkarow:\"⤐\",drcorn:\"⌟\",drcrop:\"⌌\",Dscr:\"𝒟\",dscr:\"𝒹\",DScy:\"Ѕ\",dscy:\"ѕ\",dsol:\"⧶\",Dstrok:\"Đ\",dstrok:\"đ\",dtdot:\"⋱\",dtri:\"▿\",dtrif:\"▾\",duarr:\"⇵\",duhar:\"⥯\",dwangle:\"⦦\",DZcy:\"Џ\",dzcy:\"џ\",dzigrarr:\"⟿\",Eacute:\"É\",eacute:\"é\",easter:\"⩮\",Ecaron:\"Ě\",ecaron:\"ě\",Ecirc:\"Ê\",ecirc:\"ê\",ecir:\"≖\",ecolon:\"≕\",Ecy:\"Э\",ecy:\"э\",eDDot:\"⩷\",Edot:\"Ė\",edot:\"ė\",eDot:\"≑\",ee:\"ⅇ\",efDot:\"≒\",Efr:\"𝔈\",efr:\"𝔢\",eg:\"⪚\",Egrave:\"È\",egrave:\"è\",egs:\"⪖\",egsdot:\"⪘\",el:\"⪙\",Element:\"∈\",elinters:\"⏧\",ell:\"ℓ\",els:\"⪕\",elsdot:\"⪗\",Emacr:\"Ē\",emacr:\"ē\",empty:\"∅\",emptyset:\"∅\",EmptySmallSquare:\"◻\",emptyv:\"∅\",EmptyVerySmallSquare:\"▫\",emsp13:\" \",emsp14:\" \",emsp:\" \",ENG:\"Ŋ\",eng:\"ŋ\",ensp:\" \",Eogon:\"Ę\",eogon:\"ę\",Eopf:\"𝔼\",eopf:\"𝕖\",epar:\"⋕\",eparsl:\"⧣\",eplus:\"⩱\",epsi:\"ε\",Epsilon:\"Ε\",epsilon:\"ε\",epsiv:\"ϵ\",eqcirc:\"≖\",eqcolon:\"≕\",eqsim:\"≂\",eqslantgtr:\"⪖\",eqslantless:\"⪕\",Equal:\"⩵\",equals:\"=\",EqualTilde:\"≂\",equest:\"≟\",Equilibrium:\"⇌\",equiv:\"≡\",equivDD:\"⩸\",eqvparsl:\"⧥\",erarr:\"⥱\",erDot:\"≓\",escr:\"ℯ\",Escr:\"ℰ\",esdot:\"≐\",Esim:\"⩳\",esim:\"≂\",Eta:\"Η\",eta:\"η\",ETH:\"Ð\",eth:\"ð\",Euml:\"Ë\",euml:\"ë\",euro:\"€\",excl:\"!\",exist:\"∃\",Exists:\"∃\",expectation:\"ℰ\",exponentiale:\"ⅇ\",ExponentialE:\"ⅇ\",fallingdotseq:\"≒\",Fcy:\"Ф\",fcy:\"ф\",female:\"♀\",ffilig:\"ffi\",fflig:\"ff\",ffllig:\"ffl\",Ffr:\"𝔉\",ffr:\"𝔣\",filig:\"fi\",FilledSmallSquare:\"◼\",FilledVerySmallSquare:\"▪\",fjlig:\"fj\",flat:\"♭\",fllig:\"fl\",fltns:\"▱\",fnof:\"ƒ\",Fopf:\"𝔽\",fopf:\"𝕗\",forall:\"∀\",ForAll:\"∀\",fork:\"⋔\",forkv:\"⫙\",Fouriertrf:\"ℱ\",fpartint:\"⨍\",frac12:\"½\",frac13:\"⅓\",frac14:\"¼\",frac15:\"⅕\",frac16:\"⅙\",frac18:\"⅛\",frac23:\"⅔\",frac25:\"⅖\",frac34:\"¾\",frac35:\"⅗\",frac38:\"⅜\",frac45:\"⅘\",frac56:\"⅚\",frac58:\"⅝\",frac78:\"⅞\",frasl:\"⁄\",frown:\"⌢\",fscr:\"𝒻\",Fscr:\"ℱ\",gacute:\"ǵ\",Gamma:\"Γ\",gamma:\"γ\",Gammad:\"Ϝ\",gammad:\"ϝ\",gap:\"⪆\",Gbreve:\"Ğ\",gbreve:\"ğ\",Gcedil:\"Ģ\",Gcirc:\"Ĝ\",gcirc:\"ĝ\",Gcy:\"Г\",gcy:\"г\",Gdot:\"Ġ\",gdot:\"ġ\",ge:\"≥\",gE:\"≧\",gEl:\"⪌\",gel:\"⋛\",geq:\"≥\",geqq:\"≧\",geqslant:\"⩾\",gescc:\"⪩\",ges:\"⩾\",gesdot:\"⪀\",gesdoto:\"⪂\",gesdotol:\"⪄\",gesl:\"⋛︀\",gesles:\"⪔\",Gfr:\"𝔊\",gfr:\"𝔤\",gg:\"≫\",Gg:\"⋙\",ggg:\"⋙\",gimel:\"ℷ\",GJcy:\"Ѓ\",gjcy:\"ѓ\",gla:\"⪥\",gl:\"≷\",glE:\"⪒\",glj:\"⪤\",gnap:\"⪊\",gnapprox:\"⪊\",gne:\"⪈\",gnE:\"≩\",gneq:\"⪈\",gneqq:\"≩\",gnsim:\"⋧\",Gopf:\"𝔾\",gopf:\"𝕘\",grave:\"`\",GreaterEqual:\"≥\",GreaterEqualLess:\"⋛\",GreaterFullEqual:\"≧\",GreaterGreater:\"⪢\",GreaterLess:\"≷\",GreaterSlantEqual:\"⩾\",GreaterTilde:\"≳\",Gscr:\"𝒢\",gscr:\"ℊ\",gsim:\"≳\",gsime:\"⪎\",gsiml:\"⪐\",gtcc:\"⪧\",gtcir:\"⩺\",gt:\">\",GT:\">\",Gt:\"≫\",gtdot:\"⋗\",gtlPar:\"⦕\",gtquest:\"⩼\",gtrapprox:\"⪆\",gtrarr:\"⥸\",gtrdot:\"⋗\",gtreqless:\"⋛\",gtreqqless:\"⪌\",gtrless:\"≷\",gtrsim:\"≳\",gvertneqq:\"≩︀\",gvnE:\"≩︀\",Hacek:\"ˇ\",hairsp:\" \",half:\"½\",hamilt:\"ℋ\",HARDcy:\"Ъ\",hardcy:\"ъ\",harrcir:\"⥈\",harr:\"↔\",hArr:\"⇔\",harrw:\"↭\",Hat:\"^\",hbar:\"ℏ\",Hcirc:\"Ĥ\",hcirc:\"ĥ\",hearts:\"♥\",heartsuit:\"♥\",hellip:\"…\",hercon:\"⊹\",hfr:\"𝔥\",Hfr:\"ℌ\",HilbertSpace:\"ℋ\",hksearow:\"⤥\",hkswarow:\"⤦\",hoarr:\"⇿\",homtht:\"∻\",hookleftarrow:\"↩\",hookrightarrow:\"↪\",hopf:\"𝕙\",Hopf:\"ℍ\",horbar:\"―\",HorizontalLine:\"─\",hscr:\"𝒽\",Hscr:\"ℋ\",hslash:\"ℏ\",Hstrok:\"Ħ\",hstrok:\"ħ\",HumpDownHump:\"≎\",HumpEqual:\"≏\",hybull:\"⁃\",hyphen:\"‐\",Iacute:\"Í\",iacute:\"í\",ic:\"\",Icirc:\"Î\",icirc:\"î\",Icy:\"И\",icy:\"и\",Idot:\"İ\",IEcy:\"Е\",iecy:\"е\",iexcl:\"¡\",iff:\"⇔\",ifr:\"𝔦\",Ifr:\"ℑ\",Igrave:\"Ì\",igrave:\"ì\",ii:\"ⅈ\",iiiint:\"⨌\",iiint:\"∭\",iinfin:\"⧜\",iiota:\"℩\",IJlig:\"IJ\",ijlig:\"ij\",Imacr:\"Ī\",imacr:\"ī\",image:\"ℑ\",ImaginaryI:\"ⅈ\",imagline:\"ℐ\",imagpart:\"ℑ\",imath:\"ı\",Im:\"ℑ\",imof:\"⊷\",imped:\"Ƶ\",Implies:\"⇒\",incare:\"℅\",in:\"∈\",infin:\"∞\",infintie:\"⧝\",inodot:\"ı\",intcal:\"⊺\",int:\"∫\",Int:\"∬\",integers:\"ℤ\",Integral:\"∫\",intercal:\"⊺\",Intersection:\"⋂\",intlarhk:\"⨗\",intprod:\"⨼\",InvisibleComma:\"\",InvisibleTimes:\"\",IOcy:\"Ё\",iocy:\"ё\",Iogon:\"Į\",iogon:\"į\",Iopf:\"𝕀\",iopf:\"𝕚\",Iota:\"Ι\",iota:\"ι\",iprod:\"⨼\",iquest:\"¿\",iscr:\"𝒾\",Iscr:\"ℐ\",isin:\"∈\",isindot:\"⋵\",isinE:\"⋹\",isins:\"⋴\",isinsv:\"⋳\",isinv:\"∈\",it:\"\",Itilde:\"Ĩ\",itilde:\"ĩ\",Iukcy:\"І\",iukcy:\"і\",Iuml:\"Ï\",iuml:\"ï\",Jcirc:\"Ĵ\",jcirc:\"ĵ\",Jcy:\"Й\",jcy:\"й\",Jfr:\"𝔍\",jfr:\"𝔧\",jmath:\"ȷ\",Jopf:\"𝕁\",jopf:\"𝕛\",Jscr:\"𝒥\",jscr:\"𝒿\",Jsercy:\"Ј\",jsercy:\"ј\",Jukcy:\"Є\",jukcy:\"є\",Kappa:\"Κ\",kappa:\"κ\",kappav:\"ϰ\",Kcedil:\"Ķ\",kcedil:\"ķ\",Kcy:\"К\",kcy:\"к\",Kfr:\"𝔎\",kfr:\"𝔨\",kgreen:\"ĸ\",KHcy:\"Х\",khcy:\"х\",KJcy:\"Ќ\",kjcy:\"ќ\",Kopf:\"𝕂\",kopf:\"𝕜\",Kscr:\"𝒦\",kscr:\"𝓀\",lAarr:\"⇚\",Lacute:\"Ĺ\",lacute:\"ĺ\",laemptyv:\"⦴\",lagran:\"ℒ\",Lambda:\"Λ\",lambda:\"λ\",lang:\"⟨\",Lang:\"⟪\",langd:\"⦑\",langle:\"⟨\",lap:\"⪅\",Laplacetrf:\"ℒ\",laquo:\"«\",larrb:\"⇤\",larrbfs:\"⤟\",larr:\"←\",Larr:\"↞\",lArr:\"⇐\",larrfs:\"⤝\",larrhk:\"↩\",larrlp:\"↫\",larrpl:\"⤹\",larrsim:\"⥳\",larrtl:\"↢\",latail:\"⤙\",lAtail:\"⤛\",lat:\"⪫\",late:\"⪭\",lates:\"⪭︀\",lbarr:\"⤌\",lBarr:\"⤎\",lbbrk:\"❲\",lbrace:\"{\",lbrack:\"[\",lbrke:\"⦋\",lbrksld:\"⦏\",lbrkslu:\"⦍\",Lcaron:\"Ľ\",lcaron:\"ľ\",Lcedil:\"Ļ\",lcedil:\"ļ\",lceil:\"⌈\",lcub:\"{\",Lcy:\"Л\",lcy:\"л\",ldca:\"⤶\",ldquo:\"“\",ldquor:\"„\",ldrdhar:\"⥧\",ldrushar:\"⥋\",ldsh:\"↲\",le:\"≤\",lE:\"≦\",LeftAngleBracket:\"⟨\",LeftArrowBar:\"⇤\",leftarrow:\"←\",LeftArrow:\"←\",Leftarrow:\"⇐\",LeftArrowRightArrow:\"⇆\",leftarrowtail:\"↢\",LeftCeiling:\"⌈\",LeftDoubleBracket:\"⟦\",LeftDownTeeVector:\"⥡\",LeftDownVectorBar:\"⥙\",LeftDownVector:\"⇃\",LeftFloor:\"⌊\",leftharpoondown:\"↽\",leftharpoonup:\"↼\",leftleftarrows:\"⇇\",leftrightarrow:\"↔\",LeftRightArrow:\"↔\",Leftrightarrow:\"⇔\",leftrightarrows:\"⇆\",leftrightharpoons:\"⇋\",leftrightsquigarrow:\"↭\",LeftRightVector:\"⥎\",LeftTeeArrow:\"↤\",LeftTee:\"⊣\",LeftTeeVector:\"⥚\",leftthreetimes:\"⋋\",LeftTriangleBar:\"⧏\",LeftTriangle:\"⊲\",LeftTriangleEqual:\"⊴\",LeftUpDownVector:\"⥑\",LeftUpTeeVector:\"⥠\",LeftUpVectorBar:\"⥘\",LeftUpVector:\"↿\",LeftVectorBar:\"⥒\",LeftVector:\"↼\",lEg:\"⪋\",leg:\"⋚\",leq:\"≤\",leqq:\"≦\",leqslant:\"⩽\",lescc:\"⪨\",les:\"⩽\",lesdot:\"⩿\",lesdoto:\"⪁\",lesdotor:\"⪃\",lesg:\"⋚︀\",lesges:\"⪓\",lessapprox:\"⪅\",lessdot:\"⋖\",lesseqgtr:\"⋚\",lesseqqgtr:\"⪋\",LessEqualGreater:\"⋚\",LessFullEqual:\"≦\",LessGreater:\"≶\",lessgtr:\"≶\",LessLess:\"⪡\",lesssim:\"≲\",LessSlantEqual:\"⩽\",LessTilde:\"≲\",lfisht:\"⥼\",lfloor:\"⌊\",Lfr:\"𝔏\",lfr:\"𝔩\",lg:\"≶\",lgE:\"⪑\",lHar:\"⥢\",lhard:\"↽\",lharu:\"↼\",lharul:\"⥪\",lhblk:\"▄\",LJcy:\"Љ\",ljcy:\"љ\",llarr:\"⇇\",ll:\"≪\",Ll:\"⋘\",llcorner:\"⌞\",Lleftarrow:\"⇚\",llhard:\"⥫\",lltri:\"◺\",Lmidot:\"Ŀ\",lmidot:\"ŀ\",lmoustache:\"⎰\",lmoust:\"⎰\",lnap:\"⪉\",lnapprox:\"⪉\",lne:\"⪇\",lnE:\"≨\",lneq:\"⪇\",lneqq:\"≨\",lnsim:\"⋦\",loang:\"⟬\",loarr:\"⇽\",lobrk:\"⟦\",longleftarrow:\"⟵\",LongLeftArrow:\"⟵\",Longleftarrow:\"⟸\",longleftrightarrow:\"⟷\",LongLeftRightArrow:\"⟷\",Longleftrightarrow:\"⟺\",longmapsto:\"⟼\",longrightarrow:\"⟶\",LongRightArrow:\"⟶\",Longrightarrow:\"⟹\",looparrowleft:\"↫\",looparrowright:\"↬\",lopar:\"⦅\",Lopf:\"𝕃\",lopf:\"𝕝\",loplus:\"⨭\",lotimes:\"⨴\",lowast:\"∗\",lowbar:\"_\",LowerLeftArrow:\"↙\",LowerRightArrow:\"↘\",loz:\"◊\",lozenge:\"◊\",lozf:\"⧫\",lpar:\"(\",lparlt:\"⦓\",lrarr:\"⇆\",lrcorner:\"⌟\",lrhar:\"⇋\",lrhard:\"⥭\",lrm:\"\",lrtri:\"⊿\",lsaquo:\"‹\",lscr:\"𝓁\",Lscr:\"ℒ\",lsh:\"↰\",Lsh:\"↰\",lsim:\"≲\",lsime:\"⪍\",lsimg:\"⪏\",lsqb:\"[\",lsquo:\"‘\",lsquor:\"‚\",Lstrok:\"Ł\",lstrok:\"ł\",ltcc:\"⪦\",ltcir:\"⩹\",lt:\"<\",LT:\"<\",Lt:\"≪\",ltdot:\"⋖\",lthree:\"⋋\",ltimes:\"⋉\",ltlarr:\"⥶\",ltquest:\"⩻\",ltri:\"◃\",ltrie:\"⊴\",ltrif:\"◂\",ltrPar:\"⦖\",lurdshar:\"⥊\",luruhar:\"⥦\",lvertneqq:\"≨︀\",lvnE:\"≨︀\",macr:\"¯\",male:\"♂\",malt:\"✠\",maltese:\"✠\",Map:\"⤅\",map:\"↦\",mapsto:\"↦\",mapstodown:\"↧\",mapstoleft:\"↤\",mapstoup:\"↥\",marker:\"▮\",mcomma:\"⨩\",Mcy:\"М\",mcy:\"м\",mdash:\"—\",mDDot:\"∺\",measuredangle:\"∡\",MediumSpace:\" \",Mellintrf:\"ℳ\",Mfr:\"𝔐\",mfr:\"𝔪\",mho:\"℧\",micro:\"µ\",midast:\"*\",midcir:\"⫰\",mid:\"∣\",middot:\"·\",minusb:\"⊟\",minus:\"−\",minusd:\"∸\",minusdu:\"⨪\",MinusPlus:\"∓\",mlcp:\"⫛\",mldr:\"…\",mnplus:\"∓\",models:\"⊧\",Mopf:\"𝕄\",mopf:\"𝕞\",mp:\"∓\",mscr:\"𝓂\",Mscr:\"ℳ\",mstpos:\"∾\",Mu:\"Μ\",mu:\"μ\",multimap:\"⊸\",mumap:\"⊸\",nabla:\"∇\",Nacute:\"Ń\",nacute:\"ń\",nang:\"∠⃒\",nap:\"≉\",napE:\"⩰̸\",napid:\"≋̸\",napos:\"ʼn\",napprox:\"≉\",natural:\"♮\",naturals:\"ℕ\",natur:\"♮\",nbsp:\" \",nbump:\"≎̸\",nbumpe:\"≏̸\",ncap:\"⩃\",Ncaron:\"Ň\",ncaron:\"ň\",Ncedil:\"Ņ\",ncedil:\"ņ\",ncong:\"≇\",ncongdot:\"⩭̸\",ncup:\"⩂\",Ncy:\"Н\",ncy:\"н\",ndash:\"–\",nearhk:\"⤤\",nearr:\"↗\",neArr:\"⇗\",nearrow:\"↗\",ne:\"≠\",nedot:\"≐̸\",NegativeMediumSpace:\"\",NegativeThickSpace:\"\",NegativeThinSpace:\"\",NegativeVeryThinSpace:\"\",nequiv:\"≢\",nesear:\"⤨\",nesim:\"≂̸\",NestedGreaterGreater:\"≫\",NestedLessLess:\"≪\",NewLine:\"\\n\",nexist:\"∄\",nexists:\"∄\",Nfr:\"𝔑\",nfr:\"𝔫\",ngE:\"≧̸\",nge:\"≱\",ngeq:\"≱\",ngeqq:\"≧̸\",ngeqslant:\"⩾̸\",nges:\"⩾̸\",nGg:\"⋙̸\",ngsim:\"≵\",nGt:\"≫⃒\",ngt:\"≯\",ngtr:\"≯\",nGtv:\"≫̸\",nharr:\"↮\",nhArr:\"⇎\",nhpar:\"⫲\",ni:\"∋\",nis:\"⋼\",nisd:\"⋺\",niv:\"∋\",NJcy:\"Њ\",njcy:\"њ\",nlarr:\"↚\",nlArr:\"⇍\",nldr:\"‥\",nlE:\"≦̸\",nle:\"≰\",nleftarrow:\"↚\",nLeftarrow:\"⇍\",nleftrightarrow:\"↮\",nLeftrightarrow:\"⇎\",nleq:\"≰\",nleqq:\"≦̸\",nleqslant:\"⩽̸\",nles:\"⩽̸\",nless:\"≮\",nLl:\"⋘̸\",nlsim:\"≴\",nLt:\"≪⃒\",nlt:\"≮\",nltri:\"⋪\",nltrie:\"⋬\",nLtv:\"≪̸\",nmid:\"∤\",NoBreak:\"\",NonBreakingSpace:\" \",nopf:\"𝕟\",Nopf:\"ℕ\",Not:\"⫬\",not:\"¬\",NotCongruent:\"≢\",NotCupCap:\"≭\",NotDoubleVerticalBar:\"∦\",NotElement:\"∉\",NotEqual:\"≠\",NotEqualTilde:\"≂̸\",NotExists:\"∄\",NotGreater:\"≯\",NotGreaterEqual:\"≱\",NotGreaterFullEqual:\"≧̸\",NotGreaterGreater:\"≫̸\",NotGreaterLess:\"≹\",NotGreaterSlantEqual:\"⩾̸\",NotGreaterTilde:\"≵\",NotHumpDownHump:\"≎̸\",NotHumpEqual:\"≏̸\",notin:\"∉\",notindot:\"⋵̸\",notinE:\"⋹̸\",notinva:\"∉\",notinvb:\"⋷\",notinvc:\"⋶\",NotLeftTriangleBar:\"⧏̸\",NotLeftTriangle:\"⋪\",NotLeftTriangleEqual:\"⋬\",NotLess:\"≮\",NotLessEqual:\"≰\",NotLessGreater:\"≸\",NotLessLess:\"≪̸\",NotLessSlantEqual:\"⩽̸\",NotLessTilde:\"≴\",NotNestedGreaterGreater:\"⪢̸\",NotNestedLessLess:\"⪡̸\",notni:\"∌\",notniva:\"∌\",notnivb:\"⋾\",notnivc:\"⋽\",NotPrecedes:\"⊀\",NotPrecedesEqual:\"⪯̸\",NotPrecedesSlantEqual:\"⋠\",NotReverseElement:\"∌\",NotRightTriangleBar:\"⧐̸\",NotRightTriangle:\"⋫\",NotRightTriangleEqual:\"⋭\",NotSquareSubset:\"⊏̸\",NotSquareSubsetEqual:\"⋢\",NotSquareSuperset:\"⊐̸\",NotSquareSupersetEqual:\"⋣\",NotSubset:\"⊂⃒\",NotSubsetEqual:\"⊈\",NotSucceeds:\"⊁\",NotSucceedsEqual:\"⪰̸\",NotSucceedsSlantEqual:\"⋡\",NotSucceedsTilde:\"≿̸\",NotSuperset:\"⊃⃒\",NotSupersetEqual:\"⊉\",NotTilde:\"≁\",NotTildeEqual:\"≄\",NotTildeFullEqual:\"≇\",NotTildeTilde:\"≉\",NotVerticalBar:\"∤\",nparallel:\"∦\",npar:\"∦\",nparsl:\"⫽⃥\",npart:\"∂̸\",npolint:\"⨔\",npr:\"⊀\",nprcue:\"⋠\",nprec:\"⊀\",npreceq:\"⪯̸\",npre:\"⪯̸\",nrarrc:\"⤳̸\",nrarr:\"↛\",nrArr:\"⇏\",nrarrw:\"↝̸\",nrightarrow:\"↛\",nRightarrow:\"⇏\",nrtri:\"⋫\",nrtrie:\"⋭\",nsc:\"⊁\",nsccue:\"⋡\",nsce:\"⪰̸\",Nscr:\"𝒩\",nscr:\"𝓃\",nshortmid:\"∤\",nshortparallel:\"∦\",nsim:\"≁\",nsime:\"≄\",nsimeq:\"≄\",nsmid:\"∤\",nspar:\"∦\",nsqsube:\"⋢\",nsqsupe:\"⋣\",nsub:\"⊄\",nsubE:\"⫅̸\",nsube:\"⊈\",nsubset:\"⊂⃒\",nsubseteq:\"⊈\",nsubseteqq:\"⫅̸\",nsucc:\"⊁\",nsucceq:\"⪰̸\",nsup:\"⊅\",nsupE:\"⫆̸\",nsupe:\"⊉\",nsupset:\"⊃⃒\",nsupseteq:\"⊉\",nsupseteqq:\"⫆̸\",ntgl:\"≹\",Ntilde:\"Ñ\",ntilde:\"ñ\",ntlg:\"≸\",ntriangleleft:\"⋪\",ntrianglelefteq:\"⋬\",ntriangleright:\"⋫\",ntrianglerighteq:\"⋭\",Nu:\"Ν\",nu:\"ν\",num:\"#\",numero:\"№\",numsp:\" \",nvap:\"≍⃒\",nvdash:\"⊬\",nvDash:\"⊭\",nVdash:\"⊮\",nVDash:\"⊯\",nvge:\"≥⃒\",nvgt:\">⃒\",nvHarr:\"⤄\",nvinfin:\"⧞\",nvlArr:\"⤂\",nvle:\"≤⃒\",nvlt:\"<⃒\",nvltrie:\"⊴⃒\",nvrArr:\"⤃\",nvrtrie:\"⊵⃒\",nvsim:\"∼⃒\",nwarhk:\"⤣\",nwarr:\"↖\",nwArr:\"⇖\",nwarrow:\"↖\",nwnear:\"⤧\",Oacute:\"Ó\",oacute:\"ó\",oast:\"⊛\",Ocirc:\"Ô\",ocirc:\"ô\",ocir:\"⊚\",Ocy:\"О\",ocy:\"о\",odash:\"⊝\",Odblac:\"Ő\",odblac:\"ő\",odiv:\"⨸\",odot:\"⊙\",odsold:\"⦼\",OElig:\"Œ\",oelig:\"œ\",ofcir:\"⦿\",Ofr:\"𝔒\",ofr:\"𝔬\",ogon:\"˛\",Ograve:\"Ò\",ograve:\"ò\",ogt:\"⧁\",ohbar:\"⦵\",ohm:\"Ω\",oint:\"∮\",olarr:\"↺\",olcir:\"⦾\",olcross:\"⦻\",oline:\"‾\",olt:\"⧀\",Omacr:\"Ō\",omacr:\"ō\",Omega:\"Ω\",omega:\"ω\",Omicron:\"Ο\",omicron:\"ο\",omid:\"⦶\",ominus:\"⊖\",Oopf:\"𝕆\",oopf:\"𝕠\",opar:\"⦷\",OpenCurlyDoubleQuote:\"“\",OpenCurlyQuote:\"‘\",operp:\"⦹\",oplus:\"⊕\",orarr:\"↻\",Or:\"⩔\",or:\"∨\",ord:\"⩝\",order:\"ℴ\",orderof:\"ℴ\",ordf:\"ª\",ordm:\"º\",origof:\"⊶\",oror:\"⩖\",orslope:\"⩗\",orv:\"⩛\",oS:\"Ⓢ\",Oscr:\"𝒪\",oscr:\"ℴ\",Oslash:\"Ø\",oslash:\"ø\",osol:\"⊘\",Otilde:\"Õ\",otilde:\"õ\",otimesas:\"⨶\",Otimes:\"⨷\",otimes:\"⊗\",Ouml:\"Ö\",ouml:\"ö\",ovbar:\"⌽\",OverBar:\"‾\",OverBrace:\"⏞\",OverBracket:\"⎴\",OverParenthesis:\"⏜\",para:\"¶\",parallel:\"∥\",par:\"∥\",parsim:\"⫳\",parsl:\"⫽\",part:\"∂\",PartialD:\"∂\",Pcy:\"П\",pcy:\"п\",percnt:\"%\",period:\".\",permil:\"‰\",perp:\"⊥\",pertenk:\"‱\",Pfr:\"𝔓\",pfr:\"𝔭\",Phi:\"Φ\",phi:\"φ\",phiv:\"ϕ\",phmmat:\"ℳ\",phone:\"☎\",Pi:\"Π\",pi:\"π\",pitchfork:\"⋔\",piv:\"ϖ\",planck:\"ℏ\",planckh:\"ℎ\",plankv:\"ℏ\",plusacir:\"⨣\",plusb:\"⊞\",pluscir:\"⨢\",plus:\"+\",plusdo:\"∔\",plusdu:\"⨥\",pluse:\"⩲\",PlusMinus:\"±\",plusmn:\"±\",plussim:\"⨦\",plustwo:\"⨧\",pm:\"±\",Poincareplane:\"ℌ\",pointint:\"⨕\",popf:\"𝕡\",Popf:\"ℙ\",pound:\"£\",prap:\"⪷\",Pr:\"⪻\",pr:\"≺\",prcue:\"≼\",precapprox:\"⪷\",prec:\"≺\",preccurlyeq:\"≼\",Precedes:\"≺\",PrecedesEqual:\"⪯\",PrecedesSlantEqual:\"≼\",PrecedesTilde:\"≾\",preceq:\"⪯\",precnapprox:\"⪹\",precneqq:\"⪵\",precnsim:\"⋨\",pre:\"⪯\",prE:\"⪳\",precsim:\"≾\",prime:\"′\",Prime:\"″\",primes:\"ℙ\",prnap:\"⪹\",prnE:\"⪵\",prnsim:\"⋨\",prod:\"∏\",Product:\"∏\",profalar:\"⌮\",profline:\"⌒\",profsurf:\"⌓\",prop:\"∝\",Proportional:\"∝\",Proportion:\"∷\",propto:\"∝\",prsim:\"≾\",prurel:\"⊰\",Pscr:\"𝒫\",pscr:\"𝓅\",Psi:\"Ψ\",psi:\"ψ\",puncsp:\" \",Qfr:\"𝔔\",qfr:\"𝔮\",qint:\"⨌\",qopf:\"𝕢\",Qopf:\"ℚ\",qprime:\"⁗\",Qscr:\"𝒬\",qscr:\"𝓆\",quaternions:\"ℍ\",quatint:\"⨖\",quest:\"?\",questeq:\"≟\",quot:'\"',QUOT:'\"',rAarr:\"⇛\",race:\"∽̱\",Racute:\"Ŕ\",racute:\"ŕ\",radic:\"√\",raemptyv:\"⦳\",rang:\"⟩\",Rang:\"⟫\",rangd:\"⦒\",range:\"⦥\",rangle:\"⟩\",raquo:\"»\",rarrap:\"⥵\",rarrb:\"⇥\",rarrbfs:\"⤠\",rarrc:\"⤳\",rarr:\"→\",Rarr:\"↠\",rArr:\"⇒\",rarrfs:\"⤞\",rarrhk:\"↪\",rarrlp:\"↬\",rarrpl:\"⥅\",rarrsim:\"⥴\",Rarrtl:\"⤖\",rarrtl:\"↣\",rarrw:\"↝\",ratail:\"⤚\",rAtail:\"⤜\",ratio:\"∶\",rationals:\"ℚ\",rbarr:\"⤍\",rBarr:\"⤏\",RBarr:\"⤐\",rbbrk:\"❳\",rbrace:\"}\",rbrack:\"]\",rbrke:\"⦌\",rbrksld:\"⦎\",rbrkslu:\"⦐\",Rcaron:\"Ř\",rcaron:\"ř\",Rcedil:\"Ŗ\",rcedil:\"ŗ\",rceil:\"⌉\",rcub:\"}\",Rcy:\"Р\",rcy:\"р\",rdca:\"⤷\",rdldhar:\"⥩\",rdquo:\"”\",rdquor:\"”\",rdsh:\"↳\",real:\"ℜ\",realine:\"ℛ\",realpart:\"ℜ\",reals:\"ℝ\",Re:\"ℜ\",rect:\"▭\",reg:\"®\",REG:\"®\",ReverseElement:\"∋\",ReverseEquilibrium:\"⇋\",ReverseUpEquilibrium:\"⥯\",rfisht:\"⥽\",rfloor:\"⌋\",rfr:\"𝔯\",Rfr:\"ℜ\",rHar:\"⥤\",rhard:\"⇁\",rharu:\"⇀\",rharul:\"⥬\",Rho:\"Ρ\",rho:\"ρ\",rhov:\"ϱ\",RightAngleBracket:\"⟩\",RightArrowBar:\"⇥\",rightarrow:\"→\",RightArrow:\"→\",Rightarrow:\"⇒\",RightArrowLeftArrow:\"⇄\",rightarrowtail:\"↣\",RightCeiling:\"⌉\",RightDoubleBracket:\"⟧\",RightDownTeeVector:\"⥝\",RightDownVectorBar:\"⥕\",RightDownVector:\"⇂\",RightFloor:\"⌋\",rightharpoondown:\"⇁\",rightharpoonup:\"⇀\",rightleftarrows:\"⇄\",rightleftharpoons:\"⇌\",rightrightarrows:\"⇉\",rightsquigarrow:\"↝\",RightTeeArrow:\"↦\",RightTee:\"⊢\",RightTeeVector:\"⥛\",rightthreetimes:\"⋌\",RightTriangleBar:\"⧐\",RightTriangle:\"⊳\",RightTriangleEqual:\"⊵\",RightUpDownVector:\"⥏\",RightUpTeeVector:\"⥜\",RightUpVectorBar:\"⥔\",RightUpVector:\"↾\",RightVectorBar:\"⥓\",RightVector:\"⇀\",ring:\"˚\",risingdotseq:\"≓\",rlarr:\"⇄\",rlhar:\"⇌\",rlm:\"\",rmoustache:\"⎱\",rmoust:\"⎱\",rnmid:\"⫮\",roang:\"⟭\",roarr:\"⇾\",robrk:\"⟧\",ropar:\"⦆\",ropf:\"𝕣\",Ropf:\"ℝ\",roplus:\"⨮\",rotimes:\"⨵\",RoundImplies:\"⥰\",rpar:\")\",rpargt:\"⦔\",rppolint:\"⨒\",rrarr:\"⇉\",Rrightarrow:\"⇛\",rsaquo:\"›\",rscr:\"𝓇\",Rscr:\"ℛ\",rsh:\"↱\",Rsh:\"↱\",rsqb:\"]\",rsquo:\"’\",rsquor:\"’\",rthree:\"⋌\",rtimes:\"⋊\",rtri:\"▹\",rtrie:\"⊵\",rtrif:\"▸\",rtriltri:\"⧎\",RuleDelayed:\"⧴\",ruluhar:\"⥨\",rx:\"℞\",Sacute:\"Ś\",sacute:\"ś\",sbquo:\"‚\",scap:\"⪸\",Scaron:\"Š\",scaron:\"š\",Sc:\"⪼\",sc:\"≻\",sccue:\"≽\",sce:\"⪰\",scE:\"⪴\",Scedil:\"Ş\",scedil:\"ş\",Scirc:\"Ŝ\",scirc:\"ŝ\",scnap:\"⪺\",scnE:\"⪶\",scnsim:\"⋩\",scpolint:\"⨓\",scsim:\"≿\",Scy:\"С\",scy:\"с\",sdotb:\"⊡\",sdot:\"⋅\",sdote:\"⩦\",searhk:\"⤥\",searr:\"↘\",seArr:\"⇘\",searrow:\"↘\",sect:\"§\",semi:\";\",seswar:\"⤩\",setminus:\"∖\",setmn:\"∖\",sext:\"✶\",Sfr:\"𝔖\",sfr:\"𝔰\",sfrown:\"⌢\",sharp:\"♯\",SHCHcy:\"Щ\",shchcy:\"щ\",SHcy:\"Ш\",shcy:\"ш\",ShortDownArrow:\"↓\",ShortLeftArrow:\"←\",shortmid:\"∣\",shortparallel:\"∥\",ShortRightArrow:\"→\",ShortUpArrow:\"↑\",shy:\"\",Sigma:\"Σ\",sigma:\"σ\",sigmaf:\"ς\",sigmav:\"ς\",sim:\"∼\",simdot:\"⩪\",sime:\"≃\",simeq:\"≃\",simg:\"⪞\",simgE:\"⪠\",siml:\"⪝\",simlE:\"⪟\",simne:\"≆\",simplus:\"⨤\",simrarr:\"⥲\",slarr:\"←\",SmallCircle:\"∘\",smallsetminus:\"∖\",smashp:\"⨳\",smeparsl:\"⧤\",smid:\"∣\",smile:\"⌣\",smt:\"⪪\",smte:\"⪬\",smtes:\"⪬︀\",SOFTcy:\"Ь\",softcy:\"ь\",solbar:\"⌿\",solb:\"⧄\",sol:\"/\",Sopf:\"𝕊\",sopf:\"𝕤\",spades:\"♠\",spadesuit:\"♠\",spar:\"∥\",sqcap:\"⊓\",sqcaps:\"⊓︀\",sqcup:\"⊔\",sqcups:\"⊔︀\",Sqrt:\"√\",sqsub:\"⊏\",sqsube:\"⊑\",sqsubset:\"⊏\",sqsubseteq:\"⊑\",sqsup:\"⊐\",sqsupe:\"⊒\",sqsupset:\"⊐\",sqsupseteq:\"⊒\",square:\"□\",Square:\"□\",SquareIntersection:\"⊓\",SquareSubset:\"⊏\",SquareSubsetEqual:\"⊑\",SquareSuperset:\"⊐\",SquareSupersetEqual:\"⊒\",SquareUnion:\"⊔\",squarf:\"▪\",squ:\"□\",squf:\"▪\",srarr:\"→\",Sscr:\"𝒮\",sscr:\"𝓈\",ssetmn:\"∖\",ssmile:\"⌣\",sstarf:\"⋆\",Star:\"⋆\",star:\"☆\",starf:\"★\",straightepsilon:\"ϵ\",straightphi:\"ϕ\",strns:\"¯\",sub:\"⊂\",Sub:\"⋐\",subdot:\"⪽\",subE:\"⫅\",sube:\"⊆\",subedot:\"⫃\",submult:\"⫁\",subnE:\"⫋\",subne:\"⊊\",subplus:\"⪿\",subrarr:\"⥹\",subset:\"⊂\",Subset:\"⋐\",subseteq:\"⊆\",subseteqq:\"⫅\",SubsetEqual:\"⊆\",subsetneq:\"⊊\",subsetneqq:\"⫋\",subsim:\"⫇\",subsub:\"⫕\",subsup:\"⫓\",succapprox:\"⪸\",succ:\"≻\",succcurlyeq:\"≽\",Succeeds:\"≻\",SucceedsEqual:\"⪰\",SucceedsSlantEqual:\"≽\",SucceedsTilde:\"≿\",succeq:\"⪰\",succnapprox:\"⪺\",succneqq:\"⪶\",succnsim:\"⋩\",succsim:\"≿\",SuchThat:\"∋\",sum:\"∑\",Sum:\"∑\",sung:\"♪\",sup1:\"¹\",sup2:\"²\",sup3:\"³\",sup:\"⊃\",Sup:\"⋑\",supdot:\"⪾\",supdsub:\"⫘\",supE:\"⫆\",supe:\"⊇\",supedot:\"⫄\",Superset:\"⊃\",SupersetEqual:\"⊇\",suphsol:\"⟉\",suphsub:\"⫗\",suplarr:\"⥻\",supmult:\"⫂\",supnE:\"⫌\",supne:\"⊋\",supplus:\"⫀\",supset:\"⊃\",Supset:\"⋑\",supseteq:\"⊇\",supseteqq:\"⫆\",supsetneq:\"⊋\",supsetneqq:\"⫌\",supsim:\"⫈\",supsub:\"⫔\",supsup:\"⫖\",swarhk:\"⤦\",swarr:\"↙\",swArr:\"⇙\",swarrow:\"↙\",swnwar:\"⤪\",szlig:\"ß\",Tab:\"\\t\",target:\"⌖\",Tau:\"Τ\",tau:\"τ\",tbrk:\"⎴\",Tcaron:\"Ť\",tcaron:\"ť\",Tcedil:\"Ţ\",tcedil:\"ţ\",Tcy:\"Т\",tcy:\"т\",tdot:\"⃛\",telrec:\"⌕\",Tfr:\"𝔗\",tfr:\"𝔱\",there4:\"∴\",therefore:\"∴\",Therefore:\"∴\",Theta:\"Θ\",theta:\"θ\",thetasym:\"ϑ\",thetav:\"ϑ\",thickapprox:\"≈\",thicksim:\"∼\",ThickSpace:\" \",ThinSpace:\" \",thinsp:\" \",thkap:\"≈\",thksim:\"∼\",THORN:\"Þ\",thorn:\"þ\",tilde:\"˜\",Tilde:\"∼\",TildeEqual:\"≃\",TildeFullEqual:\"≅\",TildeTilde:\"≈\",timesbar:\"⨱\",timesb:\"⊠\",times:\"×\",timesd:\"⨰\",tint:\"∭\",toea:\"⤨\",topbot:\"⌶\",topcir:\"⫱\",top:\"⊤\",Topf:\"𝕋\",topf:\"𝕥\",topfork:\"⫚\",tosa:\"⤩\",tprime:\"‴\",trade:\"™\",TRADE:\"™\",triangle:\"▵\",triangledown:\"▿\",triangleleft:\"◃\",trianglelefteq:\"⊴\",triangleq:\"≜\",triangleright:\"▹\",trianglerighteq:\"⊵\",tridot:\"◬\",trie:\"≜\",triminus:\"⨺\",TripleDot:\"⃛\",triplus:\"⨹\",trisb:\"⧍\",tritime:\"⨻\",trpezium:\"⏢\",Tscr:\"𝒯\",tscr:\"𝓉\",TScy:\"Ц\",tscy:\"ц\",TSHcy:\"Ћ\",tshcy:\"ћ\",Tstrok:\"Ŧ\",tstrok:\"ŧ\",twixt:\"≬\",twoheadleftarrow:\"↞\",twoheadrightarrow:\"↠\",Uacute:\"Ú\",uacute:\"ú\",uarr:\"↑\",Uarr:\"↟\",uArr:\"⇑\",Uarrocir:\"⥉\",Ubrcy:\"Ў\",ubrcy:\"ў\",Ubreve:\"Ŭ\",ubreve:\"ŭ\",Ucirc:\"Û\",ucirc:\"û\",Ucy:\"У\",ucy:\"у\",udarr:\"⇅\",Udblac:\"Ű\",udblac:\"ű\",udhar:\"⥮\",ufisht:\"⥾\",Ufr:\"𝔘\",ufr:\"𝔲\",Ugrave:\"Ù\",ugrave:\"ù\",uHar:\"⥣\",uharl:\"↿\",uharr:\"↾\",uhblk:\"▀\",ulcorn:\"⌜\",ulcorner:\"⌜\",ulcrop:\"⌏\",ultri:\"◸\",Umacr:\"Ū\",umacr:\"ū\",uml:\"¨\",UnderBar:\"_\",UnderBrace:\"⏟\",UnderBracket:\"⎵\",UnderParenthesis:\"⏝\",Union:\"⋃\",UnionPlus:\"⊎\",Uogon:\"Ų\",uogon:\"ų\",Uopf:\"𝕌\",uopf:\"𝕦\",UpArrowBar:\"⤒\",uparrow:\"↑\",UpArrow:\"↑\",Uparrow:\"⇑\",UpArrowDownArrow:\"⇅\",updownarrow:\"↕\",UpDownArrow:\"↕\",Updownarrow:\"⇕\",UpEquilibrium:\"⥮\",upharpoonleft:\"↿\",upharpoonright:\"↾\",uplus:\"⊎\",UpperLeftArrow:\"↖\",UpperRightArrow:\"↗\",upsi:\"υ\",Upsi:\"ϒ\",upsih:\"ϒ\",Upsilon:\"Υ\",upsilon:\"υ\",UpTeeArrow:\"↥\",UpTee:\"⊥\",upuparrows:\"⇈\",urcorn:\"⌝\",urcorner:\"⌝\",urcrop:\"⌎\",Uring:\"Ů\",uring:\"ů\",urtri:\"◹\",Uscr:\"𝒰\",uscr:\"𝓊\",utdot:\"⋰\",Utilde:\"Ũ\",utilde:\"ũ\",utri:\"▵\",utrif:\"▴\",uuarr:\"⇈\",Uuml:\"Ü\",uuml:\"ü\",uwangle:\"⦧\",vangrt:\"⦜\",varepsilon:\"ϵ\",varkappa:\"ϰ\",varnothing:\"∅\",varphi:\"ϕ\",varpi:\"ϖ\",varpropto:\"∝\",varr:\"↕\",vArr:\"⇕\",varrho:\"ϱ\",varsigma:\"ς\",varsubsetneq:\"⊊︀\",varsubsetneqq:\"⫋︀\",varsupsetneq:\"⊋︀\",varsupsetneqq:\"⫌︀\",vartheta:\"ϑ\",vartriangleleft:\"⊲\",vartriangleright:\"⊳\",vBar:\"⫨\",Vbar:\"⫫\",vBarv:\"⫩\",Vcy:\"В\",vcy:\"в\",vdash:\"⊢\",vDash:\"⊨\",Vdash:\"⊩\",VDash:\"⊫\",Vdashl:\"⫦\",veebar:\"⊻\",vee:\"∨\",Vee:\"⋁\",veeeq:\"≚\",vellip:\"⋮\",verbar:\"|\",Verbar:\"‖\",vert:\"|\",Vert:\"‖\",VerticalBar:\"∣\",VerticalLine:\"|\",VerticalSeparator:\"❘\",VerticalTilde:\"≀\",VeryThinSpace:\" \",Vfr:\"𝔙\",vfr:\"𝔳\",vltri:\"⊲\",vnsub:\"⊂⃒\",vnsup:\"⊃⃒\",Vopf:\"𝕍\",vopf:\"𝕧\",vprop:\"∝\",vrtri:\"⊳\",Vscr:\"𝒱\",vscr:\"𝓋\",vsubnE:\"⫋︀\",vsubne:\"⊊︀\",vsupnE:\"⫌︀\",vsupne:\"⊋︀\",Vvdash:\"⊪\",vzigzag:\"⦚\",Wcirc:\"Ŵ\",wcirc:\"ŵ\",wedbar:\"⩟\",wedge:\"∧\",Wedge:\"⋀\",wedgeq:\"≙\",weierp:\"℘\",Wfr:\"𝔚\",wfr:\"𝔴\",Wopf:\"𝕎\",wopf:\"𝕨\",wp:\"℘\",wr:\"≀\",wreath:\"≀\",Wscr:\"𝒲\",wscr:\"𝓌\",xcap:\"⋂\",xcirc:\"◯\",xcup:\"⋃\",xdtri:\"▽\",Xfr:\"𝔛\",xfr:\"𝔵\",xharr:\"⟷\",xhArr:\"⟺\",Xi:\"Ξ\",xi:\"ξ\",xlarr:\"⟵\",xlArr:\"⟸\",xmap:\"⟼\",xnis:\"⋻\",xodot:\"⨀\",Xopf:\"𝕏\",xopf:\"𝕩\",xoplus:\"⨁\",xotime:\"⨂\",xrarr:\"⟶\",xrArr:\"⟹\",Xscr:\"𝒳\",xscr:\"𝓍\",xsqcup:\"⨆\",xuplus:\"⨄\",xutri:\"△\",xvee:\"⋁\",xwedge:\"⋀\",Yacute:\"Ý\",yacute:\"ý\",YAcy:\"Я\",yacy:\"я\",Ycirc:\"Ŷ\",ycirc:\"ŷ\",Ycy:\"Ы\",ycy:\"ы\",yen:\"¥\",Yfr:\"𝔜\",yfr:\"𝔶\",YIcy:\"Ї\",yicy:\"ї\",Yopf:\"𝕐\",yopf:\"𝕪\",Yscr:\"𝒴\",yscr:\"𝓎\",YUcy:\"Ю\",yucy:\"ю\",yuml:\"ÿ\",Yuml:\"Ÿ\",Zacute:\"Ź\",zacute:\"ź\",Zcaron:\"Ž\",zcaron:\"ž\",Zcy:\"З\",zcy:\"з\",Zdot:\"Ż\",zdot:\"ż\",zeetrf:\"ℨ\",ZeroWidthSpace:\"\",Zeta:\"Ζ\",zeta:\"ζ\",zfr:\"𝔷\",Zfr:\"ℨ\",ZHcy:\"Ж\",zhcy:\"ж\",zigrarr:\"⇝\",zopf:\"𝕫\",Zopf:\"ℤ\",Zscr:\"𝒵\",zscr:\"𝓏\",zwj:\"\",zwnj:\"\"};","/*! Project:无, Create:FWS 2020.01.08 21:48, Update:FWS 2020.01.08 21:48 */ \r\nmodule.exports={Aacute:\"Á\",aacute:\"á\",Acirc:\"Â\",acirc:\"â\",acute:\"´\",AElig:\"Æ\",aelig:\"æ\",Agrave:\"À\",agrave:\"à\",amp:\"&\",AMP:\"&\",Aring:\"Å\",aring:\"å\",Atilde:\"Ã\",atilde:\"ã\",Auml:\"Ä\",auml:\"ä\",brvbar:\"¦\",Ccedil:\"Ç\",ccedil:\"ç\",cedil:\"¸\",cent:\"¢\",copy:\"©\",COPY:\"©\",curren:\"¤\",deg:\"°\",divide:\"÷\",Eacute:\"É\",eacute:\"é\",Ecirc:\"Ê\",ecirc:\"ê\",Egrave:\"È\",egrave:\"è\",ETH:\"Ð\",eth:\"ð\",Euml:\"Ë\",euml:\"ë\",frac12:\"½\",frac14:\"¼\",frac34:\"¾\",gt:\">\",GT:\">\",Iacute:\"Í\",iacute:\"í\",Icirc:\"Î\",icirc:\"î\",iexcl:\"¡\",Igrave:\"Ì\",igrave:\"ì\",iquest:\"¿\",Iuml:\"Ï\",iuml:\"ï\",laquo:\"«\",lt:\"<\",LT:\"<\",macr:\"¯\",micro:\"µ\",middot:\"·\",nbsp:\" \",not:\"¬\",Ntilde:\"Ñ\",ntilde:\"ñ\",Oacute:\"Ó\",oacute:\"ó\",Ocirc:\"Ô\",ocirc:\"ô\",Ograve:\"Ò\",ograve:\"ò\",ordf:\"ª\",ordm:\"º\",Oslash:\"Ø\",oslash:\"ø\",Otilde:\"Õ\",otilde:\"õ\",Ouml:\"Ö\",ouml:\"ö\",para:\"¶\",plusmn:\"±\",pound:\"£\",quot:'\"',QUOT:'\"',raquo:\"»\",reg:\"®\",REG:\"®\",sect:\"§\",shy:\"\",sup1:\"¹\",sup2:\"²\",sup3:\"³\",szlig:\"ß\",THORN:\"Þ\",thorn:\"þ\",times:\"×\",Uacute:\"Ú\",uacute:\"ú\",Ucirc:\"Û\",ucirc:\"û\",Ugrave:\"Ù\",ugrave:\"ù\",uml:\"¨\",Uuml:\"Ü\",uuml:\"ü\",Yacute:\"Ý\",yacute:\"ý\",yen:\"¥\",yuml:\"ÿ\"};","/*! Project:无, Create:FWS 2020.01.08 21:48, Update:FWS 2020.01.08 21:48 */ \r\nmodule.exports={amp:\"&\",apos:\"'\",gt:\">\",lt:\"<\",quot:'\"'};"]}
\ No newline at end of file
diff --git a/childPackage/miniprogram_npm/towxml/latex/latex.js b/childPackage/miniprogram_npm/towxml/latex/latex.js
new file mode 100644
index 0000000..b6b0765
--- /dev/null
+++ b/childPackage/miniprogram_npm/towxml/latex/latex.js
@@ -0,0 +1,53 @@
+const config = require('../config');
+Component({
+ options: {
+ styleIsolation: 'shared'
+ },
+ properties: {
+ data: {
+ type: Object,
+ value: {}
+ }
+ },
+ data: {
+ attr:{
+ src:'',
+ class:''
+ },
+ size:{
+ w:0,
+ h:0
+ }
+ },
+ lifetimes:{
+ attached:function(){
+ const _ts = this;
+ let dataAttr = this.data.data.attrs;
+
+ // 设置公式图片
+ _ts.setData({
+ attrs:{
+ src:`${config.latex.api}=${dataAttr.value}&theme=${global._theme}`,
+ class:`${dataAttr.class} ${dataAttr.class}--${dataAttr.type}`
+ }
+ });
+ }
+ },
+ methods: {
+ load:function(e){
+ const _ts = this;
+
+ // 公式图片加载完成则根据其图片大小、类型计算其显示的合适大小
+ let scale = 20,
+ w = e.detail.width / scale,
+ h = e.detail.height /scale;
+
+ _ts.setData({
+ size:{
+ w:w,
+ h:h
+ }
+ });
+ }
+ }
+})
\ No newline at end of file
diff --git a/childPackage/miniprogram_npm/towxml/latex/latex.json b/childPackage/miniprogram_npm/towxml/latex/latex.json
new file mode 100644
index 0000000..78013bd
--- /dev/null
+++ b/childPackage/miniprogram_npm/towxml/latex/latex.json
@@ -0,0 +1,5 @@
+{
+ "component": true,
+ "usingComponents": {
+ }
+}
\ No newline at end of file
diff --git a/childPackage/miniprogram_npm/towxml/latex/latex.wxml b/childPackage/miniprogram_npm/towxml/latex/latex.wxml
new file mode 100644
index 0000000..342b595
--- /dev/null
+++ b/childPackage/miniprogram_npm/towxml/latex/latex.wxml
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/childPackage/miniprogram_npm/towxml/latex/latex.wxss b/childPackage/miniprogram_npm/towxml/latex/latex.wxss
new file mode 100644
index 0000000..e69de29
diff --git a/childPackage/miniprogram_npm/towxml/parse/highlight/highlight.js b/childPackage/miniprogram_npm/towxml/parse/highlight/highlight.js
new file mode 100644
index 0000000..57fb280
--- /dev/null
+++ b/childPackage/miniprogram_npm/towxml/parse/highlight/highlight.js
@@ -0,0 +1 @@
+"use strict";function deepFreeze(e){Object.freeze(e);var n="function"==typeof e;return Object.getOwnPropertyNames(e).forEach(function(t){!e.hasOwnProperty(t)||null===e[t]||"object"!=typeof e[t]&&"function"!=typeof e[t]||n&&("caller"===t||"callee"===t||"arguments"===t)||Object.isFrozen(e[t])||deepFreeze(e[t])}),e}function escapeHTML(e){return e.replace(/&/g,"&").replace(//g,">")}function inherit(e){var n,t={},r=Array.prototype.slice.call(arguments,1);for(n in e)t[n]=e[n];return r.forEach(function(e){for(n in e)t[n]=e[n]}),t}function tag(e){return e.nodeName.toLowerCase()}function nodeStream(e){var n=[];return function e(t,r){for(var a=t.firstChild;a;a=a.nextSibling)3===a.nodeType?r+=a.nodeValue.length:1===a.nodeType&&(n.push({event:"start",offset:r,node:a}),r=e(a,r),tag(a).match(/br|hr|img|input/)||n.push({event:"stop",offset:r,node:a}));return r}(e,0),n}function mergeStreams(e,n,t){var r=0,a="",i=[];function s(){return e.length&&n.length?e[0].offset!==n[0].offset?e[0].offset"}function l(e){a+=""+tag(e)+">"}function c(e){("start"===e.event?o:l)(e.node)}for(;e.length||n.length;){var u=s();if(a+=escapeHTML(t.substring(r,u[0].offset)),r=u[0].offset,u===e){i.reverse().forEach(l);do{c(u.splice(0,1)[0]),u=s()}while(u===e&&u.length&&u[0].offset===r);i.reverse().forEach(o)}else"start"===u[0].event?i.push(u[0].node):i.pop(),c(u.splice(0,1)[0])}return a+escapeHTML(t.substr(r))}var utils=Object.freeze({__proto__:null,escapeHTML:escapeHTML,inherit:inherit,nodeStream:nodeStream,mergeStreams:mergeStreams});const SPAN_CLOSE="
",emitsWrappingTags=e=>!!e.kind;class HTMLRenderer{constructor(e,n){this.buffer="",this.classPrefix=n.classPrefix,e.walk(this)}addText(e){this.buffer+=escapeHTML(e)}openNode(e){if(!emitsWrappingTags(e))return;let n=e.kind;e.sublanguage||(n=`${this.classPrefix}${n}`),this.span(n)}closeNode(e){emitsWrappingTags(e)&&(this.buffer+=SPAN_CLOSE)}span(e){this.buffer+=``}value(){return this.buffer}}class TokenTree{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){let n={kind:e,children:[]};this.add(n),this.stack.push(n)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,n){return"string"==typeof n?e.addText(n):n.children&&(e.openNode(n),n.children.forEach(n=>this._walk(e,n)),e.closeNode(n)),e}static _collapse(e){e.children&&(e.children.every(e=>"string"==typeof e)?(e.text=e.children.join(""),delete e.children):e.children.forEach(e=>{"string"!=typeof e&&TokenTree._collapse(e)}))}}class TokenTreeEmitter extends TokenTree{constructor(e){super(),this.options=e}addKeyword(e,n){""!==e&&(this.openNode(n),this.addText(e),this.closeNode())}addText(e){""!==e&&this.add(e)}addSublanguage(e,n){let t=e.root;t.kind=n,t.sublanguage=!0,this.add(t)}toHTML(){return new HTMLRenderer(this,this.options).value()}finalize(){}}function escape(e){return new RegExp(e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function source(e){return e&&e.source||e}function countMatchGroups(e){return new RegExp(e.toString()+"|").exec("").length-1}function startsWith(e,n){var t=e&&e.exec(n);return t&&0===t.index}function join(e,n){for(var t=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./,r=0,a="",i=0;i0&&(a+=n),a+="(";o.length>0;){var l=t.exec(o);if(null==l){a+=o;break}a+=o.substring(0,l.index),o=o.substring(l.index+l[0].length),"\\"==l[0][0]&&l[1]?a+="\\"+String(Number(l[1])+s):(a+=l[0],"("==l[0]&&r++)}a+=")"}return a}const IDENT_RE="[a-zA-Z]\\w*",UNDERSCORE_IDENT_RE="[a-zA-Z_]\\w*",NUMBER_RE="\\b\\d+(\\.\\d+)?",C_NUMBER_RE="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",BINARY_NUMBER_RE="\\b(0b[01]+)",RE_STARTERS_RE="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",BACKSLASH_ESCAPE={begin:"\\\\[\\s\\S]",relevance:0},APOS_STRING_MODE={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[BACKSLASH_ESCAPE]},QUOTE_STRING_MODE={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[BACKSLASH_ESCAPE]},PHRASAL_WORDS_MODE={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},COMMENT=function(e,n,t){var r=inherit({className:"comment",begin:e,end:n,contains:[]},t||{});return r.contains.push(PHRASAL_WORDS_MODE),r.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|XXX):",relevance:0}),r},C_LINE_COMMENT_MODE=COMMENT("//","$"),C_BLOCK_COMMENT_MODE=COMMENT("/\\*","\\*/"),HASH_COMMENT_MODE=COMMENT("#","$"),NUMBER_MODE={className:"number",begin:NUMBER_RE,relevance:0},C_NUMBER_MODE={className:"number",begin:C_NUMBER_RE,relevance:0},BINARY_NUMBER_MODE={className:"number",begin:"\\b(0b[01]+)",relevance:0},CSS_NUMBER_MODE={className:"number",begin:NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},REGEXP_MODE={begin:/(?=\/[^\/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[BACKSLASH_ESCAPE]}]}]},TITLE_MODE={className:"title",begin:IDENT_RE,relevance:0},UNDERSCORE_TITLE_MODE={className:"title",begin:"[a-zA-Z_]\\w*",relevance:0},METHOD_GUARD={begin:"\\.\\s*[a-zA-Z_]\\w*",relevance:0};var MODES=Object.freeze({__proto__:null,IDENT_RE:IDENT_RE,UNDERSCORE_IDENT_RE:"[a-zA-Z_]\\w*",NUMBER_RE:NUMBER_RE,C_NUMBER_RE:C_NUMBER_RE,BINARY_NUMBER_RE:"\\b(0b[01]+)",RE_STARTERS_RE:RE_STARTERS_RE,BACKSLASH_ESCAPE:BACKSLASH_ESCAPE,APOS_STRING_MODE:APOS_STRING_MODE,QUOTE_STRING_MODE:QUOTE_STRING_MODE,PHRASAL_WORDS_MODE:PHRASAL_WORDS_MODE,COMMENT:COMMENT,C_LINE_COMMENT_MODE:C_LINE_COMMENT_MODE,C_BLOCK_COMMENT_MODE:C_BLOCK_COMMENT_MODE,HASH_COMMENT_MODE:HASH_COMMENT_MODE,NUMBER_MODE:NUMBER_MODE,C_NUMBER_MODE:C_NUMBER_MODE,BINARY_NUMBER_MODE:BINARY_NUMBER_MODE,CSS_NUMBER_MODE:CSS_NUMBER_MODE,REGEXP_MODE:REGEXP_MODE,TITLE_MODE:TITLE_MODE,UNDERSCORE_TITLE_MODE:UNDERSCORE_TITLE_MODE,METHOD_GUARD:METHOD_GUARD}),COMMON_KEYWORDS="of and for in not or if then".split(" ");function compileLanguage(e){function n(n,t){return new RegExp(source(n),"m"+(e.case_insensitive?"i":"")+(t?"g":""))}class t{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,n){n.position=this.position++,this.matchIndexes[this.matchAt]=n,this.regexes.push([n,e]),this.matchAt+=countMatchGroups(e)+1}compile(){0===this.regexes.length&&(this.exec=(()=>null));let e=this.regexes.map(e=>e[1]);this.matcherRe=n(join(e,"|"),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;let n=this.matcherRe.exec(e);if(!n)return null;let t=n.findIndex((e,n)=>n>0&&void 0!=e),r=this.matchIndexes[t];return Object.assign(n,r)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];let n=new t;return this.rules.slice(e).forEach(([e,t])=>n.addRule(e,t)),n.compile(),this.multiRegexes[e]=n,n}considerAll(){this.regexIndex=0}addRule(e,n){this.rules.push([e,n]),"begin"===n.type&&this.count++}exec(e){let n=this.getMatcher(this.regexIndex);n.lastIndex=this.lastIndex;let t=n.exec(e);return t&&(this.regexIndex+=t.position+1,this.regexIndex===this.count&&(this.regexIndex=0)),t}}function a(e){let n=e.input[e.index-1],t=e.input[e.index+e[0].length];if("."===n||"."===t)return{ignoreMatch:!0}}if(e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");!function t(i,s){i.compiled||(i.compiled=!0,i.__onBegin=null,i.keywords=i.keywords||i.beginKeywords,i.keywords&&(i.keywords=compileKeywords(i.keywords,e.case_insensitive)),i.lexemesRe=n(i.lexemes||/\w+/,!0),s&&(i.beginKeywords&&(i.begin="\\b("+i.beginKeywords.split(" ").join("|")+")(?=\\b|\\s)",i.__onBegin=a),i.begin||(i.begin=/\B|\b/),i.beginRe=n(i.begin),i.endSameAsBegin&&(i.end=i.begin),i.end||i.endsWithParent||(i.end=/\B|\b/),i.end&&(i.endRe=n(i.end)),i.terminator_end=source(i.end)||"",i.endsWithParent&&s.terminator_end&&(i.terminator_end+=(i.end?"|":"")+s.terminator_end)),i.illegal&&(i.illegalRe=n(i.illegal)),null==i.relevance&&(i.relevance=1),i.contains||(i.contains=[]),i.contains=[].concat(...i.contains.map(function(e){return expand_or_clone_mode("self"===e?i:e)})),i.contains.forEach(function(e){t(e,i)}),i.starts&&t(i.starts,s),i.matcher=function(e){let n=new r;return e.contains.forEach(e=>n.addRule(e.begin,{rule:e,type:"begin"})),e.terminator_end&&n.addRule(e.terminator_end,{type:"end"}),e.illegal&&n.addRule(e.illegal,{type:"illegal"}),n}(i))}(e)}function dependencyOnParent(e){return!!e&&(e.endsWithParent||dependencyOnParent(e.starts))}function expand_or_clone_mode(e){return e.variants&&!e.cached_variants&&(e.cached_variants=e.variants.map(function(n){return inherit(e,{variants:null},n)})),e.cached_variants?e.cached_variants:dependencyOnParent(e)?inherit(e,{starts:e.starts?inherit(e.starts):null}):Object.isFrozen(e)?inherit(e):e}function compileKeywords(e,n){var t={};return"string"==typeof e?r("keyword",e):Object.keys(e).forEach(function(n){r(n,e[n])}),t;function r(e,r){n&&(r=r.toLowerCase()),r.split(" ").forEach(function(n){var r=n.split("|");t[r[0]]=[e,scoreForKeyword(r[0],r[1])]})}}function scoreForKeyword(e,n){return n?Number(n):commonKeyword(e)?0:1}function commonKeyword(e){return COMMON_KEYWORDS.includes(e.toLowerCase())}var version="10.0.0-beta.0";const escape$1=escapeHTML,inherit$1=inherit,{nodeStream:nodeStream$1,mergeStreams:mergeStreams$1}=utils,HLJS=function(e){var n=[],t={},r={},a=[],i=!0,s=/((^(<[^>]+>|\t|)+|(?:\n)))/gm,o="Could not find the language '{}', did you forget to load/include a language module?",l={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:void 0,__emitter:TokenTreeEmitter};function c(e){return l.noHighlightRe.test(e)}function u(e,n,t,r){var a={code:n,language:e};R("before:highlight",a);var i=a.result?a.result:d(a.language,a.code,t,r);return i.code=a.code,R("after:highlight",i),i}function d(e,n,r,a){var s=n;function c(e,n){var t=R.case_insensitive?n[0].toLowerCase():n[0];return e.keywords.hasOwnProperty(t)&&e.keywords[t]}function u(){null!=b.subLanguage?function(){if(""!==S){var e="string"==typeof b.subLanguage;if(!e||t[b.subLanguage]){var n=e?d(b.subLanguage,S,!0,v[b.subLanguage]):g(S,b.subLanguage.length?b.subLanguage:void 0);b.relevance>0&&(T+=n.relevance),e&&(v[b.subLanguage]=n.top),N.addSublanguage(n.emitter,n.language)}else N.addText(S)}}():function(){var e,n,t,r;if(b.keywords){for(n=0,b.lexemesRe.lastIndex=0,t=b.lexemesRe.exec(S),r="";t;){r+=S.substring(n,t.index);var a=null;(e=c(b,t))?(N.addText(r),r="",T+=e[1],a=e[0],N.addKeyword(t[0],a)):r+=t[0],n=b.lexemesRe.lastIndex,t=b.lexemesRe.exec(S)}r+=S.substr(n),N.addText(r)}else N.addText(S)}(),S=""}function h(e){e.className&&N.openNode(e.className),b=Object.create(e,{parent:{value:b}})}function f(e){var n=e[0],t=e.rule;if(t.__onBegin){if((t.__onBegin(e)||{}).ignoreMatch)return function(e){return 0===b.matcher.regexIndex?(S+=e[0],1):(w=!0,0)}(n)}return t&&t.endSameAsBegin&&(t.endRe=escape(n)),t.skip?S+=n:(t.excludeBegin&&(S+=n),u(),t.returnBegin||t.excludeBegin||(S=n)),h(t),t.returnBegin?0:n.length}function E(e){var n=e[0],t=s.substr(e.index),r=function e(n,t){if(startsWith(n.endRe,t)){for(;n.endsParent&&n.parent;)n=n.parent;return n}if(n.endsWithParent)return e(n.parent,t)}(b,t);if(r){var a=b;a.skip?S+=n:(a.returnEnd||a.excludeEnd||(S+=n),u(),a.excludeEnd&&(S=n));do{b.className&&N.closeNode(),b.skip||b.subLanguage||(T+=b.relevance),b=b.parent}while(b!==r.parent);return r.starts&&(r.endSameAsBegin&&(r.starts.endRe=r.endRe),h(r.starts)),a.returnEnd?0:n.length}}var _={};function m(n,t){var a,o=t&&t[0];if(S+=n,null==o)return u(),0;if("begin"==_.type&&"end"==t.type&&_.index==t.index&&""===o){if(S+=s.slice(t.index,t.index+1),!i)throw(a=new Error("0 width match regex")).languageName=e,a.badRule=_.rule,a;return 1}if(_=t,"begin"===t.type)return f(t);if("illegal"===t.type&&!r)throw(a=new Error('Illegal lexeme "'+o+'" for mode "'+(b.className||"")+'"')).mode=b,a;if("end"===t.type){var l=E(t);if(void 0!=l)return l}return S+=o,o.length}var R=p(e);if(!R)throw console.error(o.replace("{}",e)),new Error('Unknown language: "'+e+'"');compileLanguage(R);var M,b=a||R,v={},N=new l.__emitter(l);!function(){for(var e=[],n=b;n!==R;n=n.parent)n.className&&e.unshift(n.className);e.forEach(e=>N.openNode(e))}();var O,x,S="",T=0,D=0;try{var w=!1;for(b.matcher.considerAll();w?w=!1:(b.matcher.lastIndex=D,b.matcher.considerAll()),O=b.matcher.exec(s);){x=m(s.substring(D,O.index),O),D=O.index+x}return m(s.substr(D)),N.closeAllNodes(),N.finalize(),M=N.toHTML(),{relevance:T,value:M,language:e,illegal:!1,emitter:N,top:b}}catch(n){if(n.message&&n.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:n.message,context:s.slice(D-100,D+100),mode:n.mode},sofar:M,relevance:0,value:escape$1(s),emitter:N};if(i)return{relevance:0,value:escape$1(s),emitter:N,language:e,top:b,errorRaised:n};throw n}}function g(e,n){n=n||l.languages||Object.keys(t);var r={relevance:0,emitter:new l.__emitter(l),value:escape$1(e)},a=r;return n.filter(p).filter(m).forEach(function(n){var t=d(n,e,!1);t.language=n,t.relevance>a.relevance&&(a=t),t.relevance>r.relevance&&(a=r,r=t)}),a.language&&(r.second_best=a),r}function h(e){return l.tabReplace||l.useBR?e.replace(s,function(e,n){return l.useBR&&"\n"===e?"
":l.tabReplace?n.replace(/\t/g,l.tabReplace):""}):e}function f(e){var n,t,a,i,s,d=function(e){var n,t=e.className+" ";if(t+=e.parentNode?e.parentNode.className:"",n=l.languageDetectRe.exec(t)){var r=p(n[1]);return r||(console.warn(o.replace("{}",n[1])),console.warn("Falling back to no-highlight mode for this block.",e)),r?n[1]:"no-highlight"}return t.split(/\s+/).find(e=>c(e)||p(e))}(e);c(d)||(R("before:highlightBlock",{block:e,language:d}),l.useBR?(n=document.createElement("div")).innerHTML=e.innerHTML.replace(/\n/g,"").replace(/
/g,"\n"):n=e,s=n.textContent,a=d?u(d,s,!0):g(s),(t=nodeStream$1(n)).length&&((i=document.createElement("div")).innerHTML=a.value,a.value=mergeStreams$1(t,nodeStream$1(i),s)),a.value=h(a.value),R("after:highlightBlock",{block:e,result:a}),e.innerHTML=a.value,e.className=function(e,n,t){var a=n?r[n]:t,i=[e.trim()];return e.match(/\bhljs\b/)||i.push("hljs"),e.includes(a)||i.push(a),i.join(" ").trim()}(e.className,d,a.language),e.result={language:a.language,re:a.relevance},a.second_best&&(e.second_best={language:a.second_best.language,re:a.second_best.relevance}))}function E(){if(!E.called){E.called=!0;var e=document.querySelectorAll("pre code");n.forEach.call(e,f)}}var _={disableAutodetect:!0};function p(e){return e=(e||"").toLowerCase(),t[e]||t[r[e]]}function m(e){var n=p(e);return n&&!n.disableAutodetect}function R(e,n){var t=e;a.forEach(function(e){e[t]&&e[t](n)})}Object.assign(e,{highlight:u,highlightAuto:g,fixMarkup:h,highlightBlock:f,configure:function(e){l=inherit$1(l,e)},initHighlighting:E,initHighlightingOnLoad:function(){window.addEventListener("DOMContentLoaded",E,!1)},registerLanguage:function(n,a){var s;try{s=a(e)}catch(e){if(console.error("Language definition for '{}' could not be registered.".replace("{}",n)),!i)throw e;console.error(e),s=_}s.name||(s.name=n),t[n]=s,s.rawDefinition=a.bind(null,e),s.aliases&&s.aliases.forEach(function(e){r[e]=n})},listLanguages:function(){return Object.keys(t)},getLanguage:p,requireLanguage:function(e){var n=p(e);if(n)return n;throw new Error("The '{}' language is required, but not loaded.".replace("{}",e))},autoDetection:m,inherit:inherit$1,addPlugin:function(e,n){a.push(e)}}),e.debugMode=function(){i=!1},e.safeMode=function(){i=!0},e.versionString=version;for(const e in MODES)"object"==typeof MODES[e]&&deepFreeze(MODES[e]);return Object.assign(e,MODES),e};var highlight=HLJS({});module.exports=highlight;
\ No newline at end of file
diff --git a/childPackage/miniprogram_npm/towxml/parse/highlight/index.js b/childPackage/miniprogram_npm/towxml/parse/highlight/index.js
new file mode 100644
index 0000000..9858366
--- /dev/null
+++ b/childPackage/miniprogram_npm/towxml/parse/highlight/index.js
@@ -0,0 +1,8 @@
+const config = require('../../config'),
+ hljs = require('./highlight');
+// config.highlight.forEach(item => {
+// hljs.registerLanguage(item, require(`./languages/${item}`).default);
+// });
+hljs.registerLanguage('c-like', require('./languages/c-like').default);hljs.registerLanguage('c', require('./languages/c').default);hljs.registerLanguage('bash', require('./languages/bash').default);hljs.registerLanguage('css', require('./languages/css').default);hljs.registerLanguage('dart', require('./languages/dart').default);hljs.registerLanguage('go', require('./languages/go').default);hljs.registerLanguage('java', require('./languages/java').default);hljs.registerLanguage('javascript', require('./languages/javascript').default);hljs.registerLanguage('json', require('./languages/json').default);hljs.registerLanguage('less', require('./languages/less').default);hljs.registerLanguage('scss', require('./languages/scss').default);hljs.registerLanguage('shell', require('./languages/shell').default);hljs.registerLanguage('xml', require('./languages/xml').default);hljs.registerLanguage('htmlbars', require('./languages/htmlbars').default);hljs.registerLanguage('nginx', require('./languages/nginx').default);hljs.registerLanguage('php', require('./languages/php').default);hljs.registerLanguage('python', require('./languages/python').default);hljs.registerLanguage('python-repl', require('./languages/python-repl').default);hljs.registerLanguage('typescript', require('./languages/typescript').default);
+
+module.exports = hljs;
\ No newline at end of file
diff --git a/childPackage/miniprogram_npm/towxml/parse/highlight/languages/bash.js b/childPackage/miniprogram_npm/towxml/parse/highlight/languages/bash.js
new file mode 100644
index 0000000..be9c8c9
--- /dev/null
+++ b/childPackage/miniprogram_npm/towxml/parse/highlight/languages/bash.js
@@ -0,0 +1,111 @@
+/*
+Language: Bash
+Author: vah
+Contributrors: Benjamin Pannell
+Website: https://www.gnu.org/software/bash/
+Category: common
+*/
+
+export default function(hljs) {
+ const VAR = {};
+ const BRACED_VAR = {
+ begin: /\$\{/, end:/\}/,
+ contains: [
+ { begin: /:-/, contains: [VAR] } // default values
+ ]
+ };
+ Object.assign(VAR,{
+ className: 'variable',
+ variants: [
+ {begin: /\$[\w\d#@][\w\d_]*/},
+ BRACED_VAR
+ ]
+ });
+
+ const SUBST = {
+ className: 'subst',
+ begin: /\$\(/, end: /\)/,
+ contains: [hljs.BACKSLASH_ESCAPE]
+ };
+ const QUOTE_STRING = {
+ className: 'string',
+ begin: /"/, end: /"/,
+ contains: [
+ hljs.BACKSLASH_ESCAPE,
+ VAR,
+ SUBST
+ ]
+ };
+ SUBST.contains.push(QUOTE_STRING);
+ const ESCAPED_QUOTE = {
+ className: '',
+ begin: /\\"/
+
+ };
+ const APOS_STRING = {
+ className: 'string',
+ begin: /'/, end: /'/
+ };
+ const ARITHMETIC = {
+ begin: /\$\(\(/,
+ end: /\)\)/,
+ contains: [
+ { begin: /\d+#[0-9a-f]+/, className: "number" },
+ hljs.NUMBER_MODE,
+ VAR
+ ]
+ };
+ const SHEBANG = {
+ className: 'meta',
+ begin: /^#![^\n]+sh\s*$/,
+ relevance: 10
+ };
+ const FUNCTION = {
+ className: 'function',
+ begin: /\w[\w\d_]*\s*\(\s*\)\s*\{/,
+ returnBegin: true,
+ contains: [hljs.inherit(hljs.TITLE_MODE, {begin: /\w[\w\d_]*/})],
+ relevance: 0
+ };
+
+ return {
+ name: 'Bash',
+ aliases: ['sh', 'zsh'],
+ lexemes: /\b-?[a-z\._]+\b/,
+ keywords: {
+ keyword:
+ 'if then else elif fi for while in do done case esac function',
+ literal:
+ 'true false',
+ built_in:
+ // Shell built-ins
+ // http://www.gnu.org/software/bash/manual/html_node/Shell-Builtin-Commands.html
+ 'break cd continue eval exec exit export getopts hash pwd readonly return shift test times ' +
+ 'trap umask unset ' +
+ // Bash built-ins
+ 'alias bind builtin caller command declare echo enable help let local logout mapfile printf ' +
+ 'read readarray source type typeset ulimit unalias ' +
+ // Shell modifiers
+ 'set shopt ' +
+ // Zsh built-ins
+ 'autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles ' +
+ 'compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate ' +
+ 'fc fg float functions getcap getln history integer jobs kill limit log noglob popd print ' +
+ 'pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit ' +
+ 'unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof ' +
+ 'zpty zregexparse zsocket zstyle ztcp',
+ _:
+ '-ne -eq -lt -gt -f -d -e -s -l -a' // relevance booster
+ },
+ contains: [
+ SHEBANG,
+ FUNCTION,
+ ARITHMETIC,
+ hljs.HASH_COMMENT_MODE,
+ QUOTE_STRING,
+ ESCAPED_QUOTE,
+ APOS_STRING,
+ VAR
+ ]
+ };
+}
diff --git a/childPackage/miniprogram_npm/towxml/parse/highlight/languages/c-like.js b/childPackage/miniprogram_npm/towxml/parse/highlight/languages/c-like.js
new file mode 100644
index 0000000..90e2307
--- /dev/null
+++ b/childPackage/miniprogram_npm/towxml/parse/highlight/languages/c-like.js
@@ -0,0 +1,236 @@
+/*
+Language: C-like foundation grammar for C/C++ grammars
+Author: Ivan Sagalaev
+Contributors: Evgeny Stepanischev , Zaven Muradyan , Roel Deckers , Sam Wu , Jordi Petit , Pieter Vantorre , Google Inc. (David Benjamin)
+Category: common, system
+*/
+
+/* In the future the intention is to split out the C/C++ grammars distinctly
+since they are separate languages. They will likely share a common foundation
+though, and this file sets the groundwork for that - so that we get the breaking
+change in v10 and don't have to change the requirements again later.
+
+See: https://github.com/highlightjs/highlight.js/issues/2146
+*/
+
+export default function(hljs) {
+ function optional(s) {
+ return '(?:' + s + ')?';
+ }
+ var DECLTYPE_AUTO_RE = 'decltype\\(auto\\)'
+ var NAMESPACE_RE = '[a-zA-Z_]\\w*::'
+ var TEMPLATE_ARGUMENT_RE = '<.*?>';
+ var FUNCTION_TYPE_RE = '(' +
+ DECLTYPE_AUTO_RE + '|' +
+ optional(NAMESPACE_RE) +'[a-zA-Z_]\\w*' + optional(TEMPLATE_ARGUMENT_RE) +
+ ')';
+ var CPP_PRIMITIVE_TYPES = {
+ className: 'keyword',
+ begin: '\\b[a-z\\d_]*_t\\b'
+ };
+
+ // https://en.cppreference.com/w/cpp/language/escape
+ // \\ \x \xFF \u2837 \u00323747 \374
+ var CHARACTER_ESCAPES = '\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)'
+ var STRINGS = {
+ className: 'string',
+ variants: [
+ {
+ begin: '(u8?|U|L)?"', end: '"',
+ illegal: '\\n',
+ contains: [hljs.BACKSLASH_ESCAPE]
+ },
+ {
+ begin: '(u8?|U|L)?\'(' + CHARACTER_ESCAPES + "|.)", end: '\'',
+ illegal: '.'
+ },
+ { begin: /(?:u8?|U|L)?R"([^()\\ ]{0,16})\((?:.|\n)*?\)\1"/ }
+ ]
+ };
+
+ var NUMBERS = {
+ className: 'number',
+ variants: [
+ { begin: '\\b(0b[01\']+)' },
+ { begin: '(-?)\\b([\\d\']+(\\.[\\d\']*)?|\\.[\\d\']+)(u|U|l|L|ul|UL|f|F|b|B)' },
+ { begin: '(-?)(\\b0[xX][a-fA-F0-9\']+|(\\b[\\d\']+(\\.[\\d\']*)?|\\.[\\d\']+)([eE][-+]?[\\d\']+)?)' }
+ ],
+ relevance: 0
+ };
+
+ var PREPROCESSOR = {
+ className: 'meta',
+ begin: /#\s*[a-z]+\b/, end: /$/,
+ keywords: {
+ 'meta-keyword':
+ 'if else elif endif define undef warning error line ' +
+ 'pragma _Pragma ifdef ifndef include'
+ },
+ contains: [
+ {
+ begin: /\\\n/, relevance: 0
+ },
+ hljs.inherit(STRINGS, {className: 'meta-string'}),
+ {
+ className: 'meta-string',
+ begin: /<.*?>/, end: /$/,
+ illegal: '\\n',
+ },
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE
+ ]
+ };
+
+ var TITLE_MODE = {
+ className: 'title',
+ begin: optional(NAMESPACE_RE) + hljs.IDENT_RE,
+ relevance: 0
+ };
+
+ var FUNCTION_TITLE = optional(NAMESPACE_RE) + hljs.IDENT_RE + '\\s*\\(';
+
+ var CPP_KEYWORDS = {
+ keyword: 'int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof ' +
+ 'dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace ' +
+ 'unsigned long volatile static protected bool template mutable if public friend ' +
+ 'do goto auto void enum else break extern using asm case typeid wchar_t ' +
+ 'short reinterpret_cast|10 default double register explicit signed typename try this ' +
+ 'switch continue inline delete alignas alignof constexpr consteval constinit decltype ' +
+ 'concept co_await co_return co_yield requires ' +
+ 'noexcept static_assert thread_local restrict final override ' +
+ 'atomic_bool atomic_char atomic_schar ' +
+ 'atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong ' +
+ 'atomic_ullong new throw return ' +
+ 'and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq',
+ built_in: 'std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream ' +
+ 'auto_ptr deque list queue stack vector map set bitset multiset multimap unordered_set ' +
+ 'unordered_map unordered_multiset unordered_multimap array shared_ptr abort terminate abs acos ' +
+ 'asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp ' +
+ 'fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper ' +
+ 'isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow ' +
+ 'printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp ' +
+ 'strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan ' +
+ 'vfprintf vprintf vsprintf endl initializer_list unique_ptr _Bool complex _Complex imaginary _Imaginary',
+ literal: 'true false nullptr NULL'
+ };
+
+ var EXPRESSION_CONTAINS = [
+ CPP_PRIMITIVE_TYPES,
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ NUMBERS,
+ STRINGS
+ ];
+
+ var EXPRESSION_CONTEXT = {
+ // This mode covers expression context where we can't expect a function
+ // definition and shouldn't highlight anything that looks like one:
+ // `return some()`, `else if()`, `(x*sum(1, 2))`
+ variants: [
+ {begin: /=/, end: /;/},
+ {begin: /\(/, end: /\)/},
+ {beginKeywords: 'new throw return else', end: /;/}
+ ],
+ keywords: CPP_KEYWORDS,
+ contains: EXPRESSION_CONTAINS.concat([
+ {
+ begin: /\(/, end: /\)/,
+ keywords: CPP_KEYWORDS,
+ contains: EXPRESSION_CONTAINS.concat(['self']),
+ relevance: 0
+ }
+ ]),
+ relevance: 0
+ };
+
+ var FUNCTION_DECLARATION = {
+ className: 'function',
+ begin: '(' + FUNCTION_TYPE_RE + '[\\*&\\s]+)+' + FUNCTION_TITLE,
+ returnBegin: true, end: /[{;=]/,
+ excludeEnd: true,
+ keywords: CPP_KEYWORDS,
+ illegal: /[^\w\s\*&:<>]/,
+ contains: [
+
+ { // to prevent it from being confused as the function title
+ begin: DECLTYPE_AUTO_RE,
+ keywords: CPP_KEYWORDS,
+ relevance: 0,
+ },
+ {
+ begin: FUNCTION_TITLE, returnBegin: true,
+ contains: [TITLE_MODE],
+ relevance: 0
+ },
+ {
+ className: 'params',
+ begin: /\(/, end: /\)/,
+ keywords: CPP_KEYWORDS,
+ relevance: 0,
+ contains: [
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ STRINGS,
+ NUMBERS,
+ CPP_PRIMITIVE_TYPES,
+ // Count matching parentheses.
+ {
+ begin: /\(/, end: /\)/,
+ keywords: CPP_KEYWORDS,
+ relevance: 0,
+ contains: [
+ 'self',
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ STRINGS,
+ NUMBERS,
+ CPP_PRIMITIVE_TYPES
+ ]
+ }
+ ]
+ },
+ CPP_PRIMITIVE_TYPES,
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ PREPROCESSOR
+ ]
+ };
+
+ return {
+ aliases: ['c', 'cc', 'h', 'c++', 'h++', 'hpp', 'hh', 'hxx', 'cxx'],
+ keywords: CPP_KEYWORDS,
+ // the base c-like language will NEVER be auto-detected, rather the
+ // derivitives: c, c++, arduino turn auto-detect back on for themselves
+ disableAutodetect: true,
+ illegal: '',
+ contains: [].concat(
+ EXPRESSION_CONTEXT,
+ FUNCTION_DECLARATION,
+ EXPRESSION_CONTAINS,
+ [
+ PREPROCESSOR,
+ {
+ begin: '\\b(deque|list|queue|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<', end: '>',
+ keywords: CPP_KEYWORDS,
+ contains: ['self', CPP_PRIMITIVE_TYPES]
+ },
+ {
+ begin: hljs.IDENT_RE + '::',
+ keywords: CPP_KEYWORDS
+ },
+ {
+ className: 'class',
+ beginKeywords: 'class struct', end: /[{;:]/,
+ contains: [
+ {begin: /, end: />/, contains: ['self']}, // skip generic stuff
+ hljs.TITLE_MODE
+ ]
+ }
+ ]),
+ exports: {
+ preprocessor: PREPROCESSOR,
+ strings: STRINGS,
+ keywords: CPP_KEYWORDS
+ }
+ };
+}
diff --git a/childPackage/miniprogram_npm/towxml/parse/highlight/languages/c.js b/childPackage/miniprogram_npm/towxml/parse/highlight/languages/c.js
new file mode 100644
index 0000000..854c9da
--- /dev/null
+++ b/childPackage/miniprogram_npm/towxml/parse/highlight/languages/c.js
@@ -0,0 +1,22 @@
+/*
+Language: C
+Category: common, system
+Website: https://en.wikipedia.org/wiki/C_(programming_language)
+Requires: c-like.js
+*/
+
+export default function(hljs) {
+
+ var lang = hljs.getLanguage('c-like').rawDefinition();
+ // Until C is actually different than C++ there is no reason to auto-detect C
+ // as it's own language since it would just fail auto-detect testing or
+ // simply match with C++.
+ //
+ // See further comments in c-like.js.
+
+ // lang.disableAutodetect = false;
+ lang.name = 'C';
+ lang.aliases = ['c', 'h'];
+ return lang;
+
+}
diff --git a/childPackage/miniprogram_npm/towxml/parse/highlight/languages/css.js b/childPackage/miniprogram_npm/towxml/parse/highlight/languages/css.js
new file mode 100644
index 0000000..85e3dc1
--- /dev/null
+++ b/childPackage/miniprogram_npm/towxml/parse/highlight/languages/css.js
@@ -0,0 +1,132 @@
+/*
+Language: CSS
+Category: common, css
+Website: https://developer.mozilla.org/en-US/docs/Web/CSS
+*/
+
+export default function(hljs) {
+ var FUNCTION_LIKE = {
+ begin: /[\w-]+\(/, returnBegin: true,
+ contains: [
+ {
+ className: 'built_in',
+ begin: /[\w-]+/
+ },
+ {
+ begin: /\(/, end: /\)/,
+ contains: [
+ hljs.APOS_STRING_MODE,
+ hljs.QUOTE_STRING_MODE,
+ hljs.CSS_NUMBER_MODE,
+ ]
+ }
+ ]
+ }
+ var ATTRIBUTE = {
+ className: 'attribute',
+ begin: /\S/, end: ':', excludeEnd: true,
+ starts: {
+ endsWithParent: true, excludeEnd: true,
+ contains: [
+ FUNCTION_LIKE,
+ hljs.CSS_NUMBER_MODE,
+ hljs.QUOTE_STRING_MODE,
+ hljs.APOS_STRING_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ {
+ className: 'number', begin: '#[0-9A-Fa-f]+'
+ },
+ {
+ className: 'meta', begin: '!important'
+ }
+ ]
+ }
+ }
+ var AT_IDENTIFIER = '@[a-z-]+' // @font-face
+ var AT_MODIFIERS = "and or not only"
+ var MEDIA_TYPES = "all print screen speech"
+ var AT_PROPERTY_RE = /@\-?\w[\w]*(\-\w+)*/ // @-webkit-keyframes
+ var IDENT_RE = '[a-zA-Z-][a-zA-Z0-9_-]*';
+ var RULE = {
+ begin: /(?:[A-Z\_\.\-]+|--[a-zA-Z0-9_-]+)\s*:/, returnBegin: true, end: ';', endsWithParent: true,
+ contains: [
+ ATTRIBUTE
+ ]
+ };
+
+ return {
+ name: 'CSS',
+ case_insensitive: true,
+ illegal: /[=\/|'\$]/,
+ contains: [
+ hljs.C_BLOCK_COMMENT_MODE,
+ {
+ className: 'selector-id', begin: /#[A-Za-z0-9_-]+/
+ },
+ {
+ className: 'selector-class', begin: /\.[A-Za-z0-9_-]+/
+ },
+ {
+ className: 'selector-attr',
+ begin: /\[/, end: /\]/,
+ illegal: '$',
+ contains: [
+ hljs.APOS_STRING_MODE,
+ hljs.QUOTE_STRING_MODE,
+ ]
+ },
+ {
+ className: 'selector-pseudo',
+ begin: /:(:)?[a-zA-Z0-9\_\-\+\(\)"'.]+/
+ },
+ // matching these here allows us to treat them more like regular CSS
+ // rules so everything between the {} gets regular rule highlighting,
+ // which is what we want for page and font-face
+ {
+ begin: '@(page|font-face)',
+ lexemes: AT_IDENTIFIER,
+ keywords: '@page @font-face'
+ },
+ {
+ begin: '@', end: '[{;]', // at_rule eating first "{" is a good thing
+ // because it doesn’t let it to be parsed as
+ // a rule set but instead drops parser into
+ // the default mode which is how it should be.
+ illegal: /:/, // break on Less variables @var: ...
+ returnBegin: true,
+ contains: [
+ {
+ className: 'keyword',
+ begin: AT_PROPERTY_RE
+ },
+ {
+ begin: /\s/, endsWithParent: true, excludeEnd: true,
+ relevance: 0,
+ keywords: AT_MODIFIERS,
+ contains: [
+ {
+ begin: /[a-z-]+:/,
+ className:"attribute"
+ },
+ hljs.APOS_STRING_MODE,
+ hljs.QUOTE_STRING_MODE,
+ hljs.CSS_NUMBER_MODE
+ ]
+ }
+ ]
+ },
+ {
+ className: 'selector-tag', begin: IDENT_RE,
+ relevance: 0
+ },
+ {
+ begin: '{', end: '}',
+ illegal: /\S/,
+ contains: [
+ hljs.C_BLOCK_COMMENT_MODE,
+ RULE,
+ ]
+ }
+ ]
+ };
+}
diff --git a/childPackage/miniprogram_npm/towxml/parse/highlight/languages/dart.js b/childPackage/miniprogram_npm/towxml/parse/highlight/languages/dart.js
new file mode 100644
index 0000000..c7101b0
--- /dev/null
+++ b/childPackage/miniprogram_npm/towxml/parse/highlight/languages/dart.js
@@ -0,0 +1,134 @@
+/*
+Language: Dart
+Requires: markdown.js
+Author: Maxim Dikun
+Description: Dart a modern, object-oriented language developed by Google. For more information see https://www.dartlang.org/
+Website: https://dart.dev
+Category: scripting
+*/
+
+export default function(hljs) {
+ var SUBST = {
+ className: 'subst',
+ variants: [{
+ begin: '\\$[A-Za-z0-9_]+'
+ }],
+ };
+
+ var BRACED_SUBST = {
+ className: 'subst',
+ variants: [{
+ begin: '\\${',
+ end: '}'
+ }, ],
+ keywords: 'true false null this is new super',
+ };
+
+ var STRING = {
+ className: 'string',
+ variants: [{
+ begin: 'r\'\'\'',
+ end: '\'\'\''
+ },
+ {
+ begin: 'r"""',
+ end: '"""'
+ },
+ {
+ begin: 'r\'',
+ end: '\'',
+ illegal: '\\n'
+ },
+ {
+ begin: 'r"',
+ end: '"',
+ illegal: '\\n'
+ },
+ {
+ begin: '\'\'\'',
+ end: '\'\'\'',
+ contains: [hljs.BACKSLASH_ESCAPE, SUBST, BRACED_SUBST]
+ },
+ {
+ begin: '"""',
+ end: '"""',
+ contains: [hljs.BACKSLASH_ESCAPE, SUBST, BRACED_SUBST]
+ },
+ {
+ begin: '\'',
+ end: '\'',
+ illegal: '\\n',
+ contains: [hljs.BACKSLASH_ESCAPE, SUBST, BRACED_SUBST]
+ },
+ {
+ begin: '"',
+ end: '"',
+ illegal: '\\n',
+ contains: [hljs.BACKSLASH_ESCAPE, SUBST, BRACED_SUBST]
+ }
+ ]
+ };
+ BRACED_SUBST.contains = [
+ hljs.C_NUMBER_MODE, STRING
+ ];
+
+ var KEYWORDS = {
+ keyword: 'abstract as assert async await break case catch class const continue covariant default deferred do ' +
+ 'dynamic else enum export extends extension external factory false final finally for Function get hide if ' +
+ 'implements import in inferface is library mixin new null on operator part rethrow return set show static ' +
+ 'super switch sync this throw true try typedef var void while with yield',
+ built_in:
+ // dart:core
+ 'Comparable DateTime Duration Function Iterable Iterator List Map Match Null Object Pattern RegExp Set ' +
+ 'Stopwatch String StringBuffer StringSink Symbol Type Uri bool double dynamic int num print ' +
+ // dart:html
+ 'Element ElementList document querySelector querySelectorAll window'
+ };
+
+ return {
+ name: 'Dart',
+ keywords: KEYWORDS,
+ contains: [
+ STRING,
+ hljs.COMMENT(
+ '/\\*\\*',
+ '\\*/', {
+ subLanguage: 'markdown',
+ relevance:0
+ }
+ ),
+ hljs.COMMENT(
+ '///+\\s*',
+ '$', {
+ contains: [{
+ subLanguage: 'markdown',
+ begin: '.',
+ end: '$',
+ relevance:0
+ }]
+ }
+ ),
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ {
+ className: 'class',
+ beginKeywords: 'class interface',
+ end: '{',
+ excludeEnd: true,
+ contains: [{
+ beginKeywords: 'extends implements'
+ },
+ hljs.UNDERSCORE_TITLE_MODE
+ ]
+ },
+ hljs.C_NUMBER_MODE,
+ {
+ className: 'meta',
+ begin: '@[A-Za-z]+'
+ },
+ {
+ begin: '=>' // No markup, just a relevance booster
+ }
+ ]
+ }
+}
diff --git a/childPackage/miniprogram_npm/towxml/parse/highlight/languages/go.js b/childPackage/miniprogram_npm/towxml/parse/highlight/languages/go.js
new file mode 100644
index 0000000..7244a66
--- /dev/null
+++ b/childPackage/miniprogram_npm/towxml/parse/highlight/languages/go.js
@@ -0,0 +1,63 @@
+/*
+Language: Go
+Author: Stephan Kountso aka StepLg
+Contributors: Evgeny Stepanischev
+Description: Google go language (golang). For info about language
+Website: http://golang.org/
+Category: common, system
+*/
+
+export default function(hljs) {
+ var GO_KEYWORDS = {
+ keyword:
+ 'break default func interface select case map struct chan else goto package switch ' +
+ 'const fallthrough if range type continue for import return var go defer ' +
+ 'bool byte complex64 complex128 float32 float64 int8 int16 int32 int64 string uint8 ' +
+ 'uint16 uint32 uint64 int uint uintptr rune',
+ literal:
+ 'true false iota nil',
+ built_in:
+ 'append cap close complex copy imag len make new panic print println real recover delete'
+ };
+ return {
+ name: 'Go',
+ aliases: ['golang'],
+ keywords: GO_KEYWORDS,
+ illegal: '',
+ contains: [
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ {
+ className: 'string',
+ variants: [
+ hljs.QUOTE_STRING_MODE,
+ hljs.APOS_STRING_MODE,
+ {begin: '`', end: '`'},
+ ]
+ },
+ {
+ className: 'number',
+ variants: [
+ {begin: hljs.C_NUMBER_RE + '[i]', relevance: 1},
+ hljs.C_NUMBER_MODE
+ ]
+ },
+ {
+ begin: /:=/ // relevance booster
+ },
+ {
+ className: 'function',
+ beginKeywords: 'func', end: '\\s*(\\{|$)', excludeEnd: true,
+ contains: [
+ hljs.TITLE_MODE,
+ {
+ className: 'params',
+ begin: /\(/, end: /\)/,
+ keywords: GO_KEYWORDS,
+ illegal: /["']/
+ }
+ ]
+ }
+ ]
+ };
+}
diff --git a/childPackage/miniprogram_npm/towxml/parse/highlight/languages/htmlbars.js b/childPackage/miniprogram_npm/towxml/parse/highlight/languages/htmlbars.js
new file mode 100644
index 0000000..49adc15
--- /dev/null
+++ b/childPackage/miniprogram_npm/towxml/parse/highlight/languages/htmlbars.js
@@ -0,0 +1,80 @@
+/*
+Language: HTMLBars
+Requires: xml.js
+Author: Michael Johnston
+Description: Matcher for HTMLBars
+Website: https://github.com/tildeio/htmlbars
+Category: template
+*/
+
+export default function(hljs) {
+ var BUILT_INS = 'action collection component concat debugger each each-in else get hash if input link-to loc log mut outlet partial query-params render textarea unbound unless with yield view';
+
+ var ATTR_ASSIGNMENT = {
+ illegal: /\}\}/,
+ begin: /[a-zA-Z0-9_]+=/,
+ returnBegin: true,
+ relevance: 0,
+ contains: [
+ {
+ className: 'attr', begin: /[a-zA-Z0-9_]+/
+ }
+ ]
+ };
+
+ var SUB_EXPR = {
+ illegal: /\}\}/,
+ begin: /\)/, end: /\)/,
+ contains: [
+ {
+ begin: /[a-zA-Z\.\-]+/,
+ keywords: {built_in: BUILT_INS},
+ starts: {
+ endsWithParent: true, relevance: 0,
+ contains: [
+ hljs.QUOTE_STRING_MODE,
+ ]
+ }
+ }
+ ]
+ };
+
+ var TAG_INNARDS = {
+ endsWithParent: true, relevance: 0,
+ keywords: {keyword: 'as', built_in: BUILT_INS},
+ contains: [
+ hljs.QUOTE_STRING_MODE,
+ ATTR_ASSIGNMENT,
+ hljs.NUMBER_MODE
+ ]
+ };
+
+ return {
+ name: 'HTMLBars',
+ case_insensitive: true,
+ subLanguage: 'xml',
+ contains: [
+ hljs.COMMENT('{{!(--)?', '(--)?}}'),
+ {
+ className: 'template-tag',
+ begin: /\{\{[#\/]/, end: /\}\}/,
+ contains: [
+ {
+ className: 'name',
+ begin: /[a-zA-Z\.\-]+/,
+ keywords: {'builtin-name': BUILT_INS},
+ starts: TAG_INNARDS
+ }
+ ]
+ },
+ {
+ className: 'template-variable',
+ begin: /\{\{[a-zA-Z][a-zA-Z\-]+/, end: /\}\}/,
+ keywords: {keyword: 'as', built_in: BUILT_INS},
+ contains: [
+ hljs.QUOTE_STRING_MODE
+ ]
+ }
+ ]
+ };
+}
diff --git a/childPackage/miniprogram_npm/towxml/parse/highlight/languages/java.js b/childPackage/miniprogram_npm/towxml/parse/highlight/languages/java.js
new file mode 100644
index 0000000..f349a76
--- /dev/null
+++ b/childPackage/miniprogram_npm/towxml/parse/highlight/languages/java.js
@@ -0,0 +1,125 @@
+/*
+Language: Java
+Author: Vsevolod Solovyov
+Category: common, enterprise
+Website: https://www.java.com/
+*/
+
+export default function(hljs) {
+ var JAVA_IDENT_RE = '[\u00C0-\u02B8a-zA-Z_$][\u00C0-\u02B8a-zA-Z_$0-9]*';
+ var GENERIC_IDENT_RE = JAVA_IDENT_RE + '(<' + JAVA_IDENT_RE + '(\\s*,\\s*' + JAVA_IDENT_RE + ')*>)?';
+ var KEYWORDS =
+ 'false synchronized int abstract float private char boolean var static null if const ' +
+ 'for true while long strictfp finally protected import native final void ' +
+ 'enum else break transient catch instanceof byte super volatile case assert short ' +
+ 'package default double public try this switch continue throws protected public private ' +
+ 'module requires exports do';
+
+ var ANNOTATION = {
+ className: 'meta',
+ begin: '@' + JAVA_IDENT_RE,
+ contains:[
+ {
+ begin: /\(/,
+ end: /\)/,
+ contains: ["self"] // allow nested () inside our annotation
+ },
+ ]
+ }
+ // https://docs.oracle.com/javase/7/docs/technotes/guides/language/underscores-literals.html
+ var JAVA_NUMBER_RE = '\\b' +
+ '(' +
+ '0[bB]([01]+[01_]+[01]+|[01]+)' + // 0b...
+ '|' +
+ '0[xX]([a-fA-F0-9]+[a-fA-F0-9_]+[a-fA-F0-9]+|[a-fA-F0-9]+)' + // 0x...
+ '|' +
+ '(' +
+ '([\\d]+[\\d_]+[\\d]+|[\\d]+)(\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))?' +
+ '|' +
+ '\\.([\\d]+[\\d_]+[\\d]+|[\\d]+)' +
+ ')' +
+ '([eE][-+]?\\d+)?' + // octal, decimal, float
+ ')' +
+ '[lLfF]?';
+ var JAVA_NUMBER_MODE = {
+ className: 'number',
+ begin: JAVA_NUMBER_RE,
+ relevance: 0
+ };
+
+ return {
+ name: 'Java',
+ aliases: ['jsp'],
+ keywords: KEYWORDS,
+ illegal: /<\/|#/,
+ contains: [
+ hljs.COMMENT(
+ '/\\*\\*',
+ '\\*/',
+ {
+ relevance : 0,
+ contains : [
+ {
+ // eat up @'s in emails to prevent them to be recognized as doctags
+ begin: /\w+@/, relevance: 0
+ },
+ {
+ className : 'doctag',
+ begin : '@[A-Za-z]+'
+ }
+ ]
+ }
+ ),
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ hljs.APOS_STRING_MODE,
+ hljs.QUOTE_STRING_MODE,
+ {
+ className: 'class',
+ beginKeywords: 'class interface', end: /[{;=]/, excludeEnd: true,
+ keywords: 'class interface',
+ illegal: /[:"\[\]]/,
+ contains: [
+ {beginKeywords: 'extends implements'},
+ hljs.UNDERSCORE_TITLE_MODE
+ ]
+ },
+ {
+ // Expression keywords prevent 'keyword Name(...)' from being
+ // recognized as a function definition
+ beginKeywords: 'new throw return else',
+ relevance: 0
+ },
+ {
+ className: 'function',
+ begin: '(' + GENERIC_IDENT_RE + '\\s+)+' + hljs.UNDERSCORE_IDENT_RE + '\\s*\\(', returnBegin: true, end: /[{;=]/,
+ excludeEnd: true,
+ keywords: KEYWORDS,
+ contains: [
+ {
+ begin: hljs.UNDERSCORE_IDENT_RE + '\\s*\\(', returnBegin: true,
+ relevance: 0,
+ contains: [hljs.UNDERSCORE_TITLE_MODE]
+ },
+ {
+ className: 'params',
+ begin: /\(/, end: /\)/,
+ keywords: KEYWORDS,
+ relevance: 0,
+ contains: [
+ ANNOTATION,
+ hljs.APOS_STRING_MODE,
+ hljs.QUOTE_STRING_MODE,
+ hljs.C_NUMBER_MODE,
+ hljs.C_BLOCK_COMMENT_MODE
+ ]
+ },
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE
+ ]
+ },
+ JAVA_NUMBER_MODE,
+ ANNOTATION
+ ]
+ };
+}
diff --git a/childPackage/miniprogram_npm/towxml/parse/highlight/languages/javascript.js b/childPackage/miniprogram_npm/towxml/parse/highlight/languages/javascript.js
new file mode 100644
index 0000000..9636f50
--- /dev/null
+++ b/childPackage/miniprogram_npm/towxml/parse/highlight/languages/javascript.js
@@ -0,0 +1,265 @@
+/*
+Language: JavaScript
+Description: JavaScript (JS) is a lightweight, interpreted, or just-in-time compiled programming language with first-class functions.
+Category: common, scripting
+Website: https://developer.mozilla.org/en-US/docs/Web/JavaScript
+*/
+
+export default function(hljs) {
+ var FRAGMENT = {
+ begin: '<>',
+ end: '>'
+ };
+ var XML_TAG = {
+ begin: /<[A-Za-z0-9\\._:-]+/,
+ end: /\/[A-Za-z0-9\\._:-]+>|\/>/
+ };
+ var IDENT_RE = '[A-Za-z$_][0-9A-Za-z$_]*';
+ var KEYWORDS = {
+ keyword:
+ 'in of if for while finally var new function do return void else break catch ' +
+ 'instanceof with throw case default try this switch continue typeof delete ' +
+ 'let yield const export super debugger as async await static ' +
+ // ECMAScript 6 modules import
+ 'import from as'
+ ,
+ literal:
+ 'true false null undefined NaN Infinity',
+ built_in:
+ 'eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent ' +
+ 'encodeURI encodeURIComponent escape unescape Object Function Boolean Error ' +
+ 'EvalError InternalError RangeError ReferenceError StopIteration SyntaxError ' +
+ 'TypeError URIError Number Math Date String RegExp Array Float32Array ' +
+ 'Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array ' +
+ 'Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require ' +
+ 'module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect ' +
+ 'Promise'
+ };
+ var NUMBER = {
+ className: 'number',
+ variants: [
+ { begin: '\\b(0[bB][01]+)n?' },
+ { begin: '\\b(0[oO][0-7]+)n?' },
+ { begin: hljs.C_NUMBER_RE + 'n?' }
+ ],
+ relevance: 0
+ };
+ var SUBST = {
+ className: 'subst',
+ begin: '\\$\\{', end: '\\}',
+ keywords: KEYWORDS,
+ contains: [] // defined later
+ };
+ var HTML_TEMPLATE = {
+ begin: 'html`', end: '',
+ starts: {
+ end: '`', returnEnd: false,
+ contains: [
+ hljs.BACKSLASH_ESCAPE,
+ SUBST
+ ],
+ subLanguage: 'xml',
+ }
+ };
+ var CSS_TEMPLATE = {
+ begin: 'css`', end: '',
+ starts: {
+ end: '`', returnEnd: false,
+ contains: [
+ hljs.BACKSLASH_ESCAPE,
+ SUBST
+ ],
+ subLanguage: 'css',
+ }
+ };
+ var TEMPLATE_STRING = {
+ className: 'string',
+ begin: '`', end: '`',
+ contains: [
+ hljs.BACKSLASH_ESCAPE,
+ SUBST
+ ]
+ };
+ SUBST.contains = [
+ hljs.APOS_STRING_MODE,
+ hljs.QUOTE_STRING_MODE,
+ HTML_TEMPLATE,
+ CSS_TEMPLATE,
+ TEMPLATE_STRING,
+ NUMBER,
+ hljs.REGEXP_MODE
+ ];
+ var PARAMS_CONTAINS = SUBST.contains.concat([
+ hljs.C_BLOCK_COMMENT_MODE,
+ hljs.C_LINE_COMMENT_MODE
+ ]);
+ var PARAMS = {
+ className: 'params',
+ begin: /\(/, end: /\)/,
+ excludeBegin: true,
+ excludeEnd: true,
+ contains: PARAMS_CONTAINS
+ };
+
+ return {
+ name: 'JavaScript',
+ aliases: ['js', 'jsx', 'mjs', 'cjs'],
+ keywords: KEYWORDS,
+ contains: [
+ {
+ className: 'meta',
+ relevance: 10,
+ begin: /^\s*['"]use (strict|asm)['"]/
+ },
+ {
+ className: 'meta',
+ begin: /^#!/, end: /$/
+ },
+ hljs.APOS_STRING_MODE,
+ hljs.QUOTE_STRING_MODE,
+ HTML_TEMPLATE,
+ CSS_TEMPLATE,
+ TEMPLATE_STRING,
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.COMMENT(
+ '/\\*\\*',
+ '\\*/',
+ {
+ relevance : 0,
+ contains : [
+ {
+ className : 'doctag',
+ begin : '@[A-Za-z]+',
+ contains : [
+ {
+ className: 'type',
+ begin: '\\{',
+ end: '\\}',
+ relevance: 0
+ },
+ {
+ className: 'variable',
+ begin: IDENT_RE + '(?=\\s*(-)|$)',
+ endsParent: true,
+ relevance: 0
+ },
+ // eat spaces (not newlines) so we can find
+ // types or variables
+ {
+ begin: /(?=[^\n])\s/,
+ relevance: 0
+ },
+ ]
+ }
+ ]
+ }
+ ),
+ hljs.C_BLOCK_COMMENT_MODE,
+ NUMBER,
+ { // object attr container
+ begin: /[{,\n]\s*/, relevance: 0,
+ contains: [
+ {
+ begin: IDENT_RE + '\\s*:', returnBegin: true,
+ relevance: 0,
+ contains: [{className: 'attr', begin: IDENT_RE, relevance: 0}]
+ }
+ ]
+ },
+ { // "value" container
+ begin: '(' + hljs.RE_STARTERS_RE + '|\\b(case|return|throw)\\b)\\s*',
+ keywords: 'return throw case',
+ contains: [
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ hljs.REGEXP_MODE,
+ {
+ className: 'function',
+ begin: '(\\(.*?\\)|' + IDENT_RE + ')\\s*=>', returnBegin: true,
+ end: '\\s*=>',
+ contains: [
+ {
+ className: 'params',
+ variants: [
+ {
+ begin: IDENT_RE
+ },
+ {
+ begin: /\(\s*\)/,
+ },
+ {
+ begin: /\(/, end: /\)/,
+ excludeBegin: true, excludeEnd: true,
+ keywords: KEYWORDS,
+ contains: PARAMS_CONTAINS
+ }
+ ]
+ }
+ ]
+ },
+ { // could be a comma delimited list of params to a function call
+ begin: /,/, relevance: 0,
+ },
+ {
+ className: '',
+ begin: /\s/,
+ end: /\s*/,
+ skip: true,
+ },
+ { // JSX
+ variants: [
+ { begin: FRAGMENT.begin, end: FRAGMENT.end },
+ { begin: XML_TAG.begin, end: XML_TAG.end }
+ ],
+ subLanguage: 'xml',
+ contains: [
+ {
+ begin: XML_TAG.begin, end: XML_TAG.end, skip: true,
+ contains: ['self']
+ }
+ ]
+ },
+ ],
+ relevance: 0
+ },
+ {
+ className: 'function',
+ beginKeywords: 'function', end: /\{/, excludeEnd: true,
+ contains: [
+ hljs.inherit(hljs.TITLE_MODE, {begin: IDENT_RE}),
+ PARAMS
+ ],
+ illegal: /\[|%/
+ },
+ {
+ begin: /\$[(.]/ // relevance booster for a pattern common to JS libs: `$(something)` and `$.something`
+ },
+
+ hljs.METHOD_GUARD,
+ { // ES6 class
+ className: 'class',
+ beginKeywords: 'class', end: /[{;=]/, excludeEnd: true,
+ illegal: /[:"\[\]]/,
+ contains: [
+ {beginKeywords: 'extends'},
+ hljs.UNDERSCORE_TITLE_MODE
+ ]
+ },
+ {
+ beginKeywords: 'constructor', end: /\{/, excludeEnd: true
+ },
+ {
+ begin:'(get|set)\\s*(?=' + IDENT_RE+ '\\()',
+ end: /{/,
+ keywords: "get set",
+ contains: [
+ hljs.inherit(hljs.TITLE_MODE, {begin: IDENT_RE}),
+ { begin: /\(\)/ }, // eat to avoid empty params
+ PARAMS
+ ]
+
+ }
+ ],
+ illegal: /#(?!!)/
+ };
+}
diff --git a/childPackage/miniprogram_npm/towxml/parse/highlight/languages/json.js b/childPackage/miniprogram_npm/towxml/parse/highlight/languages/json.js
new file mode 100644
index 0000000..34bded9
--- /dev/null
+++ b/childPackage/miniprogram_npm/towxml/parse/highlight/languages/json.js
@@ -0,0 +1,52 @@
+/*
+Language: JSON
+Description: JSON (JavaScript Object Notation) is a lightweight data-interchange format.
+Author: Ivan Sagalaev
+Website: http://www.json.org
+Category: common, protocols
+*/
+
+export default function(hljs) {
+ var LITERALS = {literal: 'true false null'};
+ var ALLOWED_COMMENTS = [
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE
+ ]
+ var TYPES = [
+ hljs.QUOTE_STRING_MODE,
+ hljs.C_NUMBER_MODE
+ ];
+ var VALUE_CONTAINER = {
+ end: ',', endsWithParent: true, excludeEnd: true,
+ contains: TYPES,
+ keywords: LITERALS
+ };
+ var OBJECT = {
+ begin: '{', end: '}',
+ contains: [
+ {
+ className: 'attr',
+ begin: /"/, end: /"/,
+ contains: [hljs.BACKSLASH_ESCAPE],
+ illegal: '\\n',
+ },
+ hljs.inherit(VALUE_CONTAINER, {begin: /:/})
+ ].concat(ALLOWED_COMMENTS),
+ illegal: '\\S'
+ };
+ var ARRAY = {
+ begin: '\\[', end: '\\]',
+ contains: [hljs.inherit(VALUE_CONTAINER)], // inherit is a workaround for a bug that makes shared modes with endsWithParent compile only the ending of one of the parents
+ illegal: '\\S'
+ };
+ TYPES.push(OBJECT, ARRAY);
+ ALLOWED_COMMENTS.forEach(function(rule) {
+ TYPES.push(rule)
+ })
+ return {
+ name: 'JSON',
+ contains: TYPES,
+ keywords: LITERALS,
+ illegal: '\\S'
+ };
+}
diff --git a/childPackage/miniprogram_npm/towxml/parse/highlight/languages/less.js b/childPackage/miniprogram_npm/towxml/parse/highlight/languages/less.js
new file mode 100644
index 0000000..00c2617
--- /dev/null
+++ b/childPackage/miniprogram_npm/towxml/parse/highlight/languages/less.js
@@ -0,0 +1,148 @@
+/*
+Language: Less
+Description: It's CSS, with just a little more.
+Author: Max Mikhailov
+Website: http://lesscss.org
+Category: common, css
+*/
+
+export default function(hljs) {
+ var IDENT_RE = '[\\w-]+'; // yes, Less identifiers may begin with a digit
+ var INTERP_IDENT_RE = '(' + IDENT_RE + '|@{' + IDENT_RE + '})';
+
+ /* Generic Modes */
+
+ var RULES = [], VALUE = []; // forward def. for recursive modes
+
+ var STRING_MODE = function(c) { return {
+ // Less strings are not multiline (also include '~' for more consistent coloring of "escaped" strings)
+ className: 'string', begin: '~?' + c + '.*?' + c
+ };};
+
+ var IDENT_MODE = function(name, begin, relevance) { return {
+ className: name, begin: begin, relevance: relevance
+ };};
+
+ var PARENS_MODE = {
+ // used only to properly balance nested parens inside mixin call, def. arg list
+ begin: '\\(', end: '\\)', contains: VALUE, relevance: 0
+ };
+
+ // generic Less highlighter (used almost everywhere except selectors):
+ VALUE.push(
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ STRING_MODE("'"),
+ STRING_MODE('"'),
+ hljs.CSS_NUMBER_MODE, // fixme: it does not include dot for numbers like .5em :(
+ {
+ begin: '(url|data-uri)\\(',
+ starts: {className: 'string', end: '[\\)\\n]', excludeEnd: true}
+ },
+ IDENT_MODE('number', '#[0-9A-Fa-f]+\\b'),
+ PARENS_MODE,
+ IDENT_MODE('variable', '@@?' + IDENT_RE, 10),
+ IDENT_MODE('variable', '@{' + IDENT_RE + '}'),
+ IDENT_MODE('built_in', '~?`[^`]*?`'), // inline javascript (or whatever host language) *multiline* string
+ { // @media features (it’s here to not duplicate things in AT_RULE_MODE with extra PARENS_MODE overriding):
+ className: 'attribute', begin: IDENT_RE + '\\s*:', end: ':', returnBegin: true, excludeEnd: true
+ },
+ {
+ className: 'meta',
+ begin: '!important'
+ }
+ );
+
+ var VALUE_WITH_RULESETS = VALUE.concat({
+ begin: '{', end: '}', contains: RULES
+ });
+
+ var MIXIN_GUARD_MODE = {
+ beginKeywords: 'when', endsWithParent: true,
+ contains: [{beginKeywords: 'and not'}].concat(VALUE) // using this form to override VALUE’s 'function' match
+ };
+
+ /* Rule-Level Modes */
+
+ var RULE_MODE = {
+ begin: INTERP_IDENT_RE + '\\s*:', returnBegin: true, end: '[;}]',
+ relevance: 0,
+ contains: [
+ {
+ className: 'attribute',
+ begin: INTERP_IDENT_RE, end: ':', excludeEnd: true,
+ starts: {
+ endsWithParent: true, illegal: '[<=$]',
+ relevance: 0,
+ contains: VALUE
+ }
+ }
+ ]
+ };
+
+ var AT_RULE_MODE = {
+ className: 'keyword',
+ begin: '@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b',
+ starts: {end: '[;{}]', returnEnd: true, contains: VALUE, relevance: 0}
+ };
+
+ // variable definitions and calls
+ var VAR_RULE_MODE = {
+ className: 'variable',
+ variants: [
+ // using more strict pattern for higher relevance to increase chances of Less detection.
+ // this is *the only* Less specific statement used in most of the sources, so...
+ // (we’ll still often loose to the css-parser unless there's '//' comment,
+ // simply because 1 variable just can't beat 99 properties :)
+ {begin: '@' + IDENT_RE + '\\s*:', relevance: 15},
+ {begin: '@' + IDENT_RE}
+ ],
+ starts: {end: '[;}]', returnEnd: true, contains: VALUE_WITH_RULESETS}
+ };
+
+ var SELECTOR_MODE = {
+ // first parse unambiguous selectors (i.e. those not starting with tag)
+ // then fall into the scary lookahead-discriminator variant.
+ // this mode also handles mixin definitions and calls
+ variants: [{
+ begin: '[\\.#:&\\[>]', end: '[;{}]' // mixin calls end with ';'
+ }, {
+ begin: INTERP_IDENT_RE, end: '{'
+ }],
+ returnBegin: true,
+ returnEnd: true,
+ illegal: '[<=\'$"]',
+ relevance: 0,
+ contains: [
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ MIXIN_GUARD_MODE,
+ IDENT_MODE('keyword', 'all\\b'),
+ IDENT_MODE('variable', '@{' + IDENT_RE + '}'), // otherwise it’s identified as tag
+ IDENT_MODE('selector-tag', INTERP_IDENT_RE + '%?', 0), // '%' for more consistent coloring of @keyframes "tags"
+ IDENT_MODE('selector-id', '#' + INTERP_IDENT_RE),
+ IDENT_MODE('selector-class', '\\.' + INTERP_IDENT_RE, 0),
+ IDENT_MODE('selector-tag', '&', 0),
+ {className: 'selector-attr', begin: '\\[', end: '\\]'},
+ {className: 'selector-pseudo', begin: /:(:)?[a-zA-Z0-9\_\-\+\(\)"'.]+/},
+ {begin: '\\(', end: '\\)', contains: VALUE_WITH_RULESETS}, // argument list of parametric mixins
+ {begin: '!important'} // eat !important after mixin call or it will be colored as tag
+ ]
+ };
+
+ RULES.push(
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ AT_RULE_MODE,
+ VAR_RULE_MODE,
+ RULE_MODE,
+ SELECTOR_MODE
+ );
+
+ return {
+ name: 'Less',
+ case_insensitive: true,
+ illegal: '[=>\'/<($"]',
+ contains: RULES
+ };
+}
diff --git a/childPackage/miniprogram_npm/towxml/parse/highlight/languages/nginx.js b/childPackage/miniprogram_npm/towxml/parse/highlight/languages/nginx.js
new file mode 100644
index 0000000..2dc2a3e
--- /dev/null
+++ b/childPackage/miniprogram_npm/towxml/parse/highlight/languages/nginx.js
@@ -0,0 +1,101 @@
+/*
+Language: Nginx config
+Author: Peter Leonov
+Contributors: Ivan Sagalaev
+Category: common, config
+Website: https://www.nginx.com
+*/
+
+export default function(hljs) {
+ var VAR = {
+ className: 'variable',
+ variants: [
+ {begin: /\$\d+/},
+ {begin: /\$\{/, end: /}/},
+ {begin: '[\\$\\@]' + hljs.UNDERSCORE_IDENT_RE}
+ ]
+ };
+ var DEFAULT = {
+ endsWithParent: true,
+ lexemes: '[a-z/_]+',
+ keywords: {
+ literal:
+ 'on off yes no true false none blocked debug info notice warn error crit ' +
+ 'select break last permanent redirect kqueue rtsig epoll poll /dev/poll'
+ },
+ relevance: 0,
+ illegal: '=>',
+ contains: [
+ hljs.HASH_COMMENT_MODE,
+ {
+ className: 'string',
+ contains: [hljs.BACKSLASH_ESCAPE, VAR],
+ variants: [
+ {begin: /"/, end: /"/},
+ {begin: /'/, end: /'/}
+ ]
+ },
+ // this swallows entire URLs to avoid detecting numbers within
+ {
+ begin: '([a-z]+):/', end: '\\s', endsWithParent: true, excludeEnd: true,
+ contains: [VAR]
+ },
+ {
+ className: 'regexp',
+ contains: [hljs.BACKSLASH_ESCAPE, VAR],
+ variants: [
+ {begin: "\\s\\^", end: "\\s|{|;", returnEnd: true},
+ // regexp locations (~, ~*)
+ {begin: "~\\*?\\s+", end: "\\s|{|;", returnEnd: true},
+ // *.example.com
+ {begin: "\\*(\\.[a-z\\-]+)+"},
+ // sub.example.*
+ {begin: "([a-z\\-]+\\.)+\\*"}
+ ]
+ },
+ // IP
+ {
+ className: 'number',
+ begin: '\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b'
+ },
+ // units
+ {
+ className: 'number',
+ begin: '\\b\\d+[kKmMgGdshdwy]*\\b',
+ relevance: 0
+ },
+ VAR
+ ]
+ };
+
+ return {
+ name: 'Nginx config',
+ aliases: ['nginxconf'],
+ contains: [
+ hljs.HASH_COMMENT_MODE,
+ {
+ begin: hljs.UNDERSCORE_IDENT_RE + '\\s+{', returnBegin: true,
+ end: '{',
+ contains: [
+ {
+ className: 'section',
+ begin: hljs.UNDERSCORE_IDENT_RE
+ }
+ ],
+ relevance: 0
+ },
+ {
+ begin: hljs.UNDERSCORE_IDENT_RE + '\\s', end: ';|{', returnBegin: true,
+ contains: [
+ {
+ className: 'attribute',
+ begin: hljs.UNDERSCORE_IDENT_RE,
+ starts: DEFAULT
+ }
+ ],
+ relevance: 0
+ }
+ ],
+ illegal: '[^\\s\\}]'
+ };
+}
diff --git a/childPackage/miniprogram_npm/towxml/parse/highlight/languages/php.js b/childPackage/miniprogram_npm/towxml/parse/highlight/languages/php.js
new file mode 100644
index 0000000..752bc44
--- /dev/null
+++ b/childPackage/miniprogram_npm/towxml/parse/highlight/languages/php.js
@@ -0,0 +1,161 @@
+/*
+Language: PHP
+Author: Victor Karamzin
+Contributors: Evgeny Stepanischev , Ivan Sagalaev
+Website: https://www.php.net
+Category: common
+*/
+
+export default function(hljs) {
+ var VARIABLE = {
+ begin: '\\$+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*'
+ };
+ var PREPROCESSOR = {
+ className: 'meta',
+ variants: [
+ { begin: /<\?php/, relevance: 10 }, // boost for obvious PHP
+ { begin: /<\?[=]?/ },
+ { begin: /\?>/ } // end php tag
+ ]
+ };
+ var STRING = {
+ className: 'string',
+ contains: [hljs.BACKSLASH_ESCAPE, PREPROCESSOR],
+ variants: [
+ {
+ begin: 'b"', end: '"'
+ },
+ {
+ begin: 'b\'', end: '\''
+ },
+ hljs.inherit(hljs.APOS_STRING_MODE, {illegal: null}),
+ hljs.inherit(hljs.QUOTE_STRING_MODE, {illegal: null})
+ ]
+ };
+ var NUMBER = {variants: [hljs.BINARY_NUMBER_MODE, hljs.C_NUMBER_MODE]};
+ var KEYWORDS = {
+ keyword:
+ // Magic constants:
+ //
+ '__CLASS__ __DIR__ __FILE__ __FUNCTION__ __LINE__ __METHOD__ __NAMESPACE__ __TRAIT__ ' +
+ // Function that look like language construct or language construct that look like function:
+ // List of keywords that may not require parenthesis
+ 'die echo exit include include_once print require require_once ' +
+ // These are not language construct (function) but operate on the currently-executing function and can access the current symbol table
+ // 'compact extract func_get_arg func_get_args func_num_args get_called_class get_parent_class ' +
+ // Other keywords:
+ //
+ //
+ 'array abstract and as binary bool boolean break callable case catch class clone const continue declare default do double else elseif empty enddeclare endfor endforeach endif endswitch endwhile eval extends final finally float for foreach from global goto if implements instanceof insteadof int integer interface isset iterable list new object or private protected public real return string switch throw trait try unset use var void while xor yield',
+ literal: 'false null true',
+ built_in:
+ // Standard PHP library:
+ //
+ 'Error|0 ' + // error is too common a name esp since PHP is case in-sensitive
+ 'AppendIterator ArgumentCountError ArithmeticError ArrayIterator ArrayObject AssertionError BadFunctionCallException BadMethodCallException CachingIterator CallbackFilterIterator CompileError Countable DirectoryIterator DivisionByZeroError DomainException EmptyIterator ErrorException Exception FilesystemIterator FilterIterator GlobIterator InfiniteIterator InvalidArgumentException IteratorIterator LengthException LimitIterator LogicException MultipleIterator NoRewindIterator OutOfBoundsException OutOfRangeException OuterIterator OverflowException ParentIterator ParseError RangeException RecursiveArrayIterator RecursiveCachingIterator RecursiveCallbackFilterIterator RecursiveDirectoryIterator RecursiveFilterIterator RecursiveIterator RecursiveIteratorIterator RecursiveRegexIterator RecursiveTreeIterator RegexIterator RuntimeException SeekableIterator SplDoublyLinkedList SplFileInfo SplFileObject SplFixedArray SplHeap SplMaxHeap SplMinHeap SplObjectStorage SplObserver SplObserver SplPriorityQueue SplQueue SplStack SplSubject SplSubject SplTempFileObject TypeError UnderflowException UnexpectedValueException ' +
+ // Reserved interfaces:
+ //
+ 'ArrayAccess Closure Generator Iterator IteratorAggregate Serializable Throwable Traversable WeakReference ' +
+ // Reserved classes:
+ //
+ 'Directory __PHP_Incomplete_Class parent php_user_filter self static stdClass'
+ };
+ return {
+ aliases: ['php', 'php3', 'php4', 'php5', 'php6', 'php7'],
+ case_insensitive: true,
+ keywords: KEYWORDS,
+ contains: [
+ hljs.HASH_COMMENT_MODE,
+ hljs.COMMENT('//', '$', {contains: [PREPROCESSOR]}),
+ hljs.COMMENT(
+ '/\\*',
+ '\\*/',
+ {
+ contains: [
+ {
+ className: 'doctag',
+ begin: '@[A-Za-z]+'
+ }
+ ]
+ }
+ ),
+ hljs.COMMENT(
+ '__halt_compiler.+?;',
+ false,
+ {
+ endsWithParent: true,
+ keywords: '__halt_compiler',
+ lexemes: hljs.UNDERSCORE_IDENT_RE
+ }
+ ),
+ {
+ className: 'string',
+ begin: /<<<['"]?\w+['"]?$/, end: /^\w+;?$/,
+ contains: [
+ hljs.BACKSLASH_ESCAPE,
+ {
+ className: 'subst',
+ variants: [
+ {begin: /\$\w+/},
+ {begin: /\{\$/, end: /\}/}
+ ]
+ }
+ ]
+ },
+ PREPROCESSOR,
+ {
+ className: 'keyword', begin: /\$this\b/
+ },
+ VARIABLE,
+ {
+ // swallow composed identifiers to avoid parsing them as keywords
+ begin: /(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/
+ },
+ {
+ className: 'function',
+ beginKeywords: 'fn function', end: /[;{]/, excludeEnd: true,
+ illegal: '[$%\\[]',
+ contains: [
+ hljs.UNDERSCORE_TITLE_MODE,
+ {
+ className: 'params',
+ begin: '\\(', end: '\\)',
+ excludeBegin: true,
+ excludeEnd: true,
+ keywords: KEYWORDS,
+ contains: [
+ 'self',
+ VARIABLE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ STRING,
+ NUMBER
+ ]
+ }
+ ]
+ },
+ {
+ className: 'class',
+ beginKeywords: 'class interface', end: '{', excludeEnd: true,
+ illegal: /[:\(\$"]/,
+ contains: [
+ {beginKeywords: 'extends implements'},
+ hljs.UNDERSCORE_TITLE_MODE
+ ]
+ },
+ {
+ beginKeywords: 'namespace', end: ';',
+ illegal: /[\.']/,
+ contains: [hljs.UNDERSCORE_TITLE_MODE]
+ },
+ {
+ beginKeywords: 'use', end: ';',
+ contains: [hljs.UNDERSCORE_TITLE_MODE]
+ },
+ {
+ begin: '=>' // No markup, just a relevance booster
+ },
+ STRING,
+ NUMBER
+ ]
+ };
+}
diff --git a/childPackage/miniprogram_npm/towxml/parse/highlight/languages/python-repl.js b/childPackage/miniprogram_npm/towxml/parse/highlight/languages/python-repl.js
new file mode 100644
index 0000000..ceb92d9
--- /dev/null
+++ b/childPackage/miniprogram_npm/towxml/parse/highlight/languages/python-repl.js
@@ -0,0 +1,29 @@
+/*
+Language: Python REPL
+Requires: python.js
+Author: Josh Goebel
+Category: common
+*/
+
+export default function(hljs) {
+ return {
+ aliases: ['pycon'],
+ contains: [
+ {
+ className: 'meta',
+ starts: {
+ // a space separates the REPL prefix from the actual code
+ // this is purely for cleaner HTML output
+ end: / |$/,
+ starts: {
+ end: '$', subLanguage: 'python'
+ }
+ },
+ variants: [
+ { begin: /^>>>(?=[ ]|$)/ },
+ { begin: /^\.\.\.(?=[ ]|$)/ }
+ ]
+ },
+ ]
+ }
+}
diff --git a/childPackage/miniprogram_npm/towxml/parse/highlight/languages/python.js b/childPackage/miniprogram_npm/towxml/parse/highlight/languages/python.js
new file mode 100644
index 0000000..e7ae1bf
--- /dev/null
+++ b/childPackage/miniprogram_npm/towxml/parse/highlight/languages/python.js
@@ -0,0 +1,131 @@
+/*
+Language: Python
+Description: Python is an interpreted, object-oriented, high-level programming language with dynamic semantics.
+Website: https://www.python.org
+Category: common
+*/
+
+export default function(hljs) {
+ var KEYWORDS = {
+ keyword:
+ 'and elif is global as in if from raise for except finally print import pass return ' +
+ 'exec else break not with class assert yield try while continue del or def lambda ' +
+ 'async await nonlocal|10',
+ built_in:
+ 'Ellipsis NotImplemented',
+ literal: 'False None True'
+ };
+ var PROMPT = {
+ className: 'meta', begin: /^(>>>|\.\.\.) /
+ };
+ var SUBST = {
+ className: 'subst',
+ begin: /\{/, end: /\}/,
+ keywords: KEYWORDS,
+ illegal: /#/
+ };
+ var LITERAL_BRACKET = {
+ begin: /\{\{/,
+ relevance: 0
+ };
+ var STRING = {
+ className: 'string',
+ contains: [hljs.BACKSLASH_ESCAPE],
+ variants: [
+ {
+ begin: /(u|b)?r?'''/, end: /'''/,
+ contains: [hljs.BACKSLASH_ESCAPE, PROMPT],
+ relevance: 10
+ },
+ {
+ begin: /(u|b)?r?"""/, end: /"""/,
+ contains: [hljs.BACKSLASH_ESCAPE, PROMPT],
+ relevance: 10
+ },
+ {
+ begin: /(fr|rf|f)'''/, end: /'''/,
+ contains: [hljs.BACKSLASH_ESCAPE, PROMPT, LITERAL_BRACKET, SUBST]
+ },
+ {
+ begin: /(fr|rf|f)"""/, end: /"""/,
+ contains: [hljs.BACKSLASH_ESCAPE, PROMPT, LITERAL_BRACKET, SUBST]
+ },
+ {
+ begin: /(u|r|ur)'/, end: /'/,
+ relevance: 10
+ },
+ {
+ begin: /(u|r|ur)"/, end: /"/,
+ relevance: 10
+ },
+ {
+ begin: /(b|br)'/, end: /'/
+ },
+ {
+ begin: /(b|br)"/, end: /"/
+ },
+ {
+ begin: /(fr|rf|f)'/, end: /'/,
+ contains: [hljs.BACKSLASH_ESCAPE, LITERAL_BRACKET, SUBST]
+ },
+ {
+ begin: /(fr|rf|f)"/, end: /"/,
+ contains: [hljs.BACKSLASH_ESCAPE, LITERAL_BRACKET, SUBST]
+ },
+ hljs.APOS_STRING_MODE,
+ hljs.QUOTE_STRING_MODE
+ ]
+ };
+ var NUMBER = {
+ className: 'number', relevance: 0,
+ variants: [
+ {begin: hljs.BINARY_NUMBER_RE + '[lLjJ]?'},
+ {begin: '\\b(0o[0-7]+)[lLjJ]?'},
+ {begin: hljs.C_NUMBER_RE + '[lLjJ]?'}
+ ]
+ };
+ var PARAMS = {
+ className: 'params',
+ begin: /\(/, end: /\)/,
+ contains: ['self', PROMPT, NUMBER, STRING, hljs.HASH_COMMENT_MODE]
+ };
+ SUBST.contains = [STRING, NUMBER, PROMPT];
+ return {
+ name: 'Python',
+ aliases: ['py', 'gyp', 'ipython'],
+ keywords: KEYWORDS,
+ illegal: /(<\/|->|\?)|=>/,
+ contains: [
+ PROMPT,
+ NUMBER,
+ // eat "if" prior to string so that it won't accidentally be
+ // labeled as an f-string as in:
+ { beginKeywords: "if", relevance: 0 },
+ STRING,
+ hljs.HASH_COMMENT_MODE,
+ {
+ variants: [
+ {className: 'function', beginKeywords: 'def'},
+ {className: 'class', beginKeywords: 'class'}
+ ],
+ end: /:/,
+ illegal: /[${=;\n,]/,
+ contains: [
+ hljs.UNDERSCORE_TITLE_MODE,
+ PARAMS,
+ {
+ begin: /->/, endsWithParent: true,
+ keywords: 'None'
+ }
+ ]
+ },
+ {
+ className: 'meta',
+ begin: /^[\t ]*@/, end: /$/
+ },
+ {
+ begin: /\b(print|exec)\(/ // don’t highlight keywords-turned-functions in Python 3
+ }
+ ]
+ };
+}
diff --git a/childPackage/miniprogram_npm/towxml/parse/highlight/languages/scss.js b/childPackage/miniprogram_npm/towxml/parse/highlight/languages/scss.js
new file mode 100644
index 0000000..90ed1b5
--- /dev/null
+++ b/childPackage/miniprogram_npm/towxml/parse/highlight/languages/scss.js
@@ -0,0 +1,122 @@
+/*
+Language: SCSS
+Description: Scss is an extension of the syntax of CSS.
+Author: Kurt Emch
+Website: https://sass-lang.com
+Category: common, css
+*/
+export default function(hljs) {
+ var AT_IDENTIFIER = '@[a-z-]+' // @font-face
+ var AT_MODIFIERS = "and or not only"
+ var IDENT_RE = '[a-zA-Z-][a-zA-Z0-9_-]*';
+ var VARIABLE = {
+ className: 'variable',
+ begin: '(\\$' + IDENT_RE + ')\\b'
+ };
+ var HEXCOLOR = {
+ className: 'number', begin: '#[0-9A-Fa-f]+'
+ };
+ var DEF_INTERNALS = {
+ className: 'attribute',
+ begin: '[A-Z\\_\\.\\-]+', end: ':',
+ excludeEnd: true,
+ illegal: '[^\\s]',
+ starts: {
+ endsWithParent: true, excludeEnd: true,
+ contains: [
+ HEXCOLOR,
+ hljs.CSS_NUMBER_MODE,
+ hljs.QUOTE_STRING_MODE,
+ hljs.APOS_STRING_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ {
+ className: 'meta', begin: '!important'
+ }
+ ]
+ }
+ };
+ return {
+ name: 'SCSS',
+ case_insensitive: true,
+ illegal: '[=/|\']',
+ contains: [
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ {
+ className: 'selector-id', begin: '\\#[A-Za-z0-9_-]+',
+ relevance: 0
+ },
+ {
+ className: 'selector-class', begin: '\\.[A-Za-z0-9_-]+',
+ relevance: 0
+ },
+ {
+ className: 'selector-attr', begin: '\\[', end: '\\]',
+ illegal: '$'
+ },
+ {
+ className: 'selector-tag', // begin: IDENT_RE, end: '[,|\\s]'
+ begin: '\\b(a|abbr|acronym|address|area|article|aside|audio|b|base|big|blockquote|body|br|button|canvas|caption|cite|code|col|colgroup|command|datalist|dd|del|details|dfn|div|dl|dt|em|embed|fieldset|figcaption|figure|footer|form|frame|frameset|(h[1-6])|head|header|hgroup|hr|html|i|iframe|img|input|ins|kbd|keygen|label|legend|li|link|map|mark|meta|meter|nav|noframes|noscript|object|ol|optgroup|option|output|p|param|pre|progress|q|rp|rt|ruby|samp|script|section|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|time|title|tr|tt|ul|var|video)\\b',
+ relevance: 0
+ },
+ {
+ className: 'selector-pseudo',
+ begin: ':(visited|valid|root|right|required|read-write|read-only|out-range|optional|only-of-type|only-child|nth-of-type|nth-last-of-type|nth-last-child|nth-child|not|link|left|last-of-type|last-child|lang|invalid|indeterminate|in-range|hover|focus|first-of-type|first-line|first-letter|first-child|first|enabled|empty|disabled|default|checked|before|after|active)'
+ },
+ {
+ className: 'selector-pseudo',
+ begin: '::(after|before|choices|first-letter|first-line|repeat-index|repeat-item|selection|value)'
+ },
+ VARIABLE,
+ {
+ className: 'attribute',
+ begin: '\\b(src|z-index|word-wrap|word-spacing|word-break|width|widows|white-space|visibility|vertical-align|unicode-bidi|transition-timing-function|transition-property|transition-duration|transition-delay|transition|transform-style|transform-origin|transform|top|text-underline-position|text-transform|text-shadow|text-rendering|text-overflow|text-indent|text-decoration-style|text-decoration-line|text-decoration-color|text-decoration|text-align-last|text-align|tab-size|table-layout|right|resize|quotes|position|pointer-events|perspective-origin|perspective|page-break-inside|page-break-before|page-break-after|padding-top|padding-right|padding-left|padding-bottom|padding|overflow-y|overflow-x|overflow-wrap|overflow|outline-width|outline-style|outline-offset|outline-color|outline|orphans|order|opacity|object-position|object-fit|normal|none|nav-up|nav-right|nav-left|nav-index|nav-down|min-width|min-height|max-width|max-height|mask|marks|margin-top|margin-right|margin-left|margin-bottom|margin|list-style-type|list-style-position|list-style-image|list-style|line-height|letter-spacing|left|justify-content|initial|inherit|ime-mode|image-orientation|image-resolution|image-rendering|icon|hyphens|height|font-weight|font-variant-ligatures|font-variant|font-style|font-stretch|font-size-adjust|font-size|font-language-override|font-kerning|font-feature-settings|font-family|font|float|flex-wrap|flex-shrink|flex-grow|flex-flow|flex-direction|flex-basis|flex|filter|empty-cells|display|direction|cursor|counter-reset|counter-increment|content|column-width|column-span|column-rule-width|column-rule-style|column-rule-color|column-rule|column-gap|column-fill|column-count|columns|color|clip-path|clip|clear|caption-side|break-inside|break-before|break-after|box-sizing|box-shadow|box-decoration-break|bottom|border-width|border-top-width|border-top-style|border-top-right-radius|border-top-left-radius|border-top-color|border-top|border-style|border-spacing|border-right-width|border-right-style|border-right-color|border-right|border-radius|border-left-width|border-left-style|border-left-color|border-left|border-image-width|border-image-source|border-image-slice|border-image-repeat|border-image-outset|border-image|border-color|border-collapse|border-bottom-width|border-bottom-style|border-bottom-right-radius|border-bottom-left-radius|border-bottom-color|border-bottom|border|background-size|background-repeat|background-position|background-origin|background-image|background-color|background-clip|background-attachment|background-blend-mode|background|backface-visibility|auto|animation-timing-function|animation-play-state|animation-name|animation-iteration-count|animation-fill-mode|animation-duration|animation-direction|animation-delay|animation|align-self|align-items|align-content)\\b',
+ illegal: '[^\\s]'
+ },
+ {
+ begin: '\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b'
+ },
+ {
+ begin: ':', end: ';',
+ contains: [
+ VARIABLE,
+ HEXCOLOR,
+ hljs.CSS_NUMBER_MODE,
+ hljs.QUOTE_STRING_MODE,
+ hljs.APOS_STRING_MODE,
+ {
+ className: 'meta', begin: '!important'
+ }
+ ]
+ },
+ // matching these here allows us to treat them more like regular CSS
+ // rules so everything between the {} gets regular rule highlighting,
+ // which is what we want for page and font-face
+ {
+ begin: '@(page|font-face)',
+ lexemes: AT_IDENTIFIER,
+ keywords: '@page @font-face'
+ },
+ {
+ begin: '@', end: '[{;]',
+ returnBegin: true,
+ keywords: AT_MODIFIERS,
+ contains: [
+ {
+ begin: AT_IDENTIFIER,
+ className: "keyword"
+ },
+ VARIABLE,
+ hljs.QUOTE_STRING_MODE,
+ hljs.APOS_STRING_MODE,
+ HEXCOLOR,
+ hljs.CSS_NUMBER_MODE,
+ // {
+ // begin: '\\s[A-Za-z0-9_.-]+',
+ // relevance: 0
+ // }
+ ]
+ }
+ ]
+ };
+}
diff --git a/childPackage/miniprogram_npm/towxml/parse/highlight/languages/shell.js b/childPackage/miniprogram_npm/towxml/parse/highlight/languages/shell.js
new file mode 100644
index 0000000..3a1bc03
--- /dev/null
+++ b/childPackage/miniprogram_npm/towxml/parse/highlight/languages/shell.js
@@ -0,0 +1,22 @@
+/*
+Language: Shell Session
+Requires: bash.js
+Author: TSUYUSATO Kitsune
+Category: common
+*/
+
+export default function(hljs) {
+ return {
+ name: 'Shell Session',
+ aliases: ['console'],
+ contains: [
+ {
+ className: 'meta',
+ begin: '^\\s{0,3}[/\\w\\d\\[\\]()@-]*[>%$#]',
+ starts: {
+ end: '$', subLanguage: 'bash'
+ }
+ }
+ ]
+ }
+}
diff --git a/childPackage/miniprogram_npm/towxml/parse/highlight/languages/typescript.js b/childPackage/miniprogram_npm/towxml/parse/highlight/languages/typescript.js
new file mode 100644
index 0000000..23d3fb3
--- /dev/null
+++ b/childPackage/miniprogram_npm/towxml/parse/highlight/languages/typescript.js
@@ -0,0 +1,215 @@
+/*
+Language: TypeScript
+Author: Panu Horsmalahti
+Contributors: Ike Ku
+Description: TypeScript is a strict superset of JavaScript
+Website: https://www.typescriptlang.org
+Category: common, scripting
+*/
+
+export default function(hljs) {
+ var JS_IDENT_RE = '[A-Za-z$_][0-9A-Za-z$_]*';
+ var KEYWORDS = {
+ keyword:
+ 'in if for while finally var new function do return void else break catch ' +
+ 'instanceof with throw case default try this switch continue typeof delete ' +
+ 'let yield const class public private protected get set super ' +
+ 'static implements enum export import declare type namespace abstract ' +
+ 'as from extends async await',
+ literal:
+ 'true false null undefined NaN Infinity',
+ built_in:
+ 'eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent ' +
+ 'encodeURI encodeURIComponent escape unescape Object Function Boolean Error ' +
+ 'EvalError InternalError RangeError ReferenceError StopIteration SyntaxError ' +
+ 'TypeError URIError Number Math Date String RegExp Array Float32Array ' +
+ 'Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array ' +
+ 'Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require ' +
+ 'module console window document any number boolean string void Promise'
+ };
+
+ var DECORATOR = {
+ className: 'meta',
+ begin: '@' + JS_IDENT_RE,
+ };
+
+ var ARGS =
+ {
+ begin: '\\(',
+ end: /\)/,
+ keywords: KEYWORDS,
+ contains: [
+ 'self',
+ hljs.QUOTE_STRING_MODE,
+ hljs.APOS_STRING_MODE,
+ hljs.NUMBER_MODE
+ ]
+ };
+
+ var PARAMS = {
+ className: 'params',
+ begin: /\(/, end: /\)/,
+ excludeBegin: true,
+ excludeEnd: true,
+ keywords: KEYWORDS,
+ contains: [
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ DECORATOR,
+ ARGS
+ ]
+ };
+ var NUMBER = {
+ className: 'number',
+ variants: [
+ { begin: '\\b(0[bB][01]+)n?' },
+ { begin: '\\b(0[oO][0-7]+)n?' },
+ { begin: hljs.C_NUMBER_RE + 'n?' }
+ ],
+ relevance: 0
+ };
+ var SUBST = {
+ className: 'subst',
+ begin: '\\$\\{', end: '\\}',
+ keywords: KEYWORDS,
+ contains: [] // defined later
+ };
+ var HTML_TEMPLATE = {
+ begin: 'html`', end: '',
+ starts: {
+ end: '`', returnEnd: false,
+ contains: [
+ hljs.BACKSLASH_ESCAPE,
+ SUBST
+ ],
+ subLanguage: 'xml',
+ }
+ };
+ var CSS_TEMPLATE = {
+ begin: 'css`', end: '',
+ starts: {
+ end: '`', returnEnd: false,
+ contains: [
+ hljs.BACKSLASH_ESCAPE,
+ SUBST
+ ],
+ subLanguage: 'css',
+ }
+ };
+ var TEMPLATE_STRING = {
+ className: 'string',
+ begin: '`', end: '`',
+ contains: [
+ hljs.BACKSLASH_ESCAPE,
+ SUBST
+ ]
+ };
+ SUBST.contains = [
+ hljs.APOS_STRING_MODE,
+ hljs.QUOTE_STRING_MODE,
+ HTML_TEMPLATE,
+ CSS_TEMPLATE,
+ TEMPLATE_STRING,
+ NUMBER,
+ hljs.REGEXP_MODE
+ ];
+
+
+
+ return {
+ name: 'TypeScript',
+ aliases: ['ts'],
+ keywords: KEYWORDS,
+ contains: [
+ {
+ className: 'meta',
+ begin: /^\s*['"]use strict['"]/
+ },
+ hljs.APOS_STRING_MODE,
+ hljs.QUOTE_STRING_MODE,
+ HTML_TEMPLATE,
+ CSS_TEMPLATE,
+ TEMPLATE_STRING,
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ NUMBER,
+ { // "value" container
+ begin: '(' + hljs.RE_STARTERS_RE + '|\\b(case|return|throw)\\b)\\s*',
+ keywords: 'return throw case',
+ contains: [
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE,
+ hljs.REGEXP_MODE,
+ {
+ className: 'function',
+ begin: '(\\(.*?\\)|' + hljs.IDENT_RE + ')\\s*=>', returnBegin: true,
+ end: '\\s*=>',
+ contains: [
+ {
+ className: 'params',
+ variants: [
+ {
+ begin: hljs.IDENT_RE
+ },
+ {
+ begin: /\(\s*\)/,
+ },
+ {
+ begin: /\(/, end: /\)/,
+ excludeBegin: true, excludeEnd: true,
+ keywords: KEYWORDS,
+ contains: [
+ 'self',
+ hljs.C_LINE_COMMENT_MODE,
+ hljs.C_BLOCK_COMMENT_MODE
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ relevance: 0
+ },
+ {
+ className: 'function',
+ beginKeywords: 'function', end: /[\{;]/, excludeEnd: true,
+ keywords: KEYWORDS,
+ contains: [
+ 'self',
+ hljs.inherit(hljs.TITLE_MODE, { begin: JS_IDENT_RE }),
+ PARAMS
+ ],
+ illegal: /%/,
+ relevance: 0 // () => {} is more typical in TypeScript
+ },
+ {
+ beginKeywords: 'constructor', end: /[\{;]/, excludeEnd: true,
+ contains: [
+ 'self',
+ PARAMS
+ ]
+ },
+ { // prevent references like module.id from being higlighted as module definitions
+ begin: /module\./,
+ keywords: { built_in: 'module' },
+ relevance: 0
+ },
+ {
+ beginKeywords: 'module', end: /\{/, excludeEnd: true
+ },
+ {
+ beginKeywords: 'interface', end: /\{/, excludeEnd: true,
+ keywords: 'interface extends'
+ },
+ {
+ begin: /\$[(.]/ // relevance booster for a pattern common to JS libs: `$(something)` and `$.something`
+ },
+ {
+ begin: '\\.' + hljs.IDENT_RE, relevance: 0 // hack: prevents detection of keywords after dots
+ },
+ DECORATOR,
+ ARGS
+ ]
+ };
+}
diff --git a/childPackage/miniprogram_npm/towxml/parse/highlight/languages/xml.js b/childPackage/miniprogram_npm/towxml/parse/highlight/languages/xml.js
new file mode 100644
index 0000000..877092f
--- /dev/null
+++ b/childPackage/miniprogram_npm/towxml/parse/highlight/languages/xml.js
@@ -0,0 +1,139 @@
+/*
+Language: HTML, XML
+Website: https://www.w3.org/XML/
+Category: common
+*/
+
+export default function(hljs) {
+ var XML_IDENT_RE = '[A-Za-z0-9\\._:-]+';
+ var XML_ENTITIES = {
+ className: 'symbol',
+ begin: '&[a-z]+;|[0-9]+;|[a-f0-9]+;'
+ };
+ var XML_META_KEYWORDS = {
+ begin: '\\s',
+ contains:[
+ {
+ className: 'meta-keyword',
+ begin: '#?[a-z_][a-z1-9_-]+',
+ illegal: '\\n',
+ }
+ ]
+ };
+ var XML_META_PAR_KEYWORDS = hljs.inherit(XML_META_KEYWORDS, {begin: '\\(', end: '\\)'});
+ var APOS_META_STRING_MODE = hljs.inherit(hljs.APOS_STRING_MODE, {className: 'meta-string'});
+ var QUOTE_META_STRING_MODE = hljs.inherit(hljs.QUOTE_STRING_MODE, {className: 'meta-string'});
+ var TAG_INTERNALS = {
+ endsWithParent: true,
+ illegal: /,
+ relevance: 0,
+ contains: [
+ {
+ className: 'attr',
+ begin: XML_IDENT_RE,
+ relevance: 0
+ },
+ {
+ begin: /=\s*/,
+ relevance: 0,
+ contains: [
+ {
+ className: 'string',
+ endsParent: true,
+ variants: [
+ {begin: /"/, end: /"/, contains: [XML_ENTITIES]},
+ {begin: /'/, end: /'/, contains: [XML_ENTITIES]},
+ {begin: /[^\s"'=<>`]+/}
+ ]
+ }
+ ]
+ }
+ ]
+ };
+ return {
+ name: 'HTML, XML',
+ aliases: ['html', 'xhtml', 'rss', 'atom', 'xjb', 'xsd', 'xsl', 'plist', 'wsf', 'svg'],
+ case_insensitive: true,
+ contains: [
+ {
+ className: 'meta',
+ begin: '',
+ relevance: 10,
+ contains: [
+ XML_META_KEYWORDS,
+ QUOTE_META_STRING_MODE,
+ APOS_META_STRING_MODE,
+ XML_META_PAR_KEYWORDS,
+ {
+ begin: '\\[', end: '\\]',
+ contains:[
+ {
+ className: 'meta',
+ begin: '',
+ contains: [
+ XML_META_KEYWORDS,
+ XML_META_PAR_KEYWORDS,
+ QUOTE_META_STRING_MODE,
+ APOS_META_STRING_MODE
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ hljs.COMMENT(
+ '',
+ {
+ relevance: 10
+ }
+ ),
+ {
+ begin: '<\\!\\[CDATA\\[', end: '\\]\\]>',
+ relevance: 10
+ },
+ XML_ENTITIES,
+ {
+ className: 'meta',
+ begin: /<\?xml/, end: /\?>/, relevance: 10
+ },
+ {
+ className: 'tag',
+ /*
+ The lookahead pattern (?=...) ensures that 'begin' only matches
+ '', returnEnd: true,
+ subLanguage: ['css', 'xml']
+ }
+ },
+ {
+ className: 'tag',
+ // See the comment in the