| | |
| | | NODE_ENV = production |
| | | VITE_NAME='ç产ç¯å¢' |
| | | VITE_BASE_CONTEXT='' |
| | | VITE_BASE_PATH='' |
| | | VITE_BASE_URL='' |
| | | VITE_NAME = 'ç产ç¯å¢' |
| | | VITE_BASE_CONTEXT = 'screen' |
| | | VITE_BASE_PATH = '/doumeeplant' |
| | | VITE_BASE_URL = 'https://www.mes.red/doumeeplant/' |
| | |
| | | { |
| | | "name": "screen_standard", |
| | | "version": "0.0.0", |
| | | "lockfileVersion": 2, |
| | | "lockfileVersion": 1, |
| | | "requires": true, |
| | | "packages": { |
| | | "": { |
| | | "name": "screen_standard", |
| | | "version": "0.0.0", |
| | | "dependencies": { |
| | | "axios": "^1.4.0", |
| | | "echarts": "^5.4.3", |
| | | "element-plus": "^2.3.9", |
| | | "pinia": "^2.1.4", |
| | | "terser": "^5.19.2", |
| | | "vue": "^3.3.4", |
| | | "vue-router": "^4.2.4" |
| | | }, |
| | | "devDependencies": { |
| | | "@vitejs/plugin-vue": "^4.2.3", |
| | | "@vitejs/plugin-vue-jsx": "^3.0.1", |
| | | "sass": "^1.66.1", |
| | | "unplugin-auto-import": "^0.16.6", |
| | | "unplugin-vue-components": "^0.25.1", |
| | | "vite": "^4.4.6" |
| | | } |
| | | }, |
| | | "node_modules/@ampproject/remapping": { |
| | | "version": "2.2.1", |
| | | "resolved": "https://registry.npmmirror.com/@ampproject/remapping/-/remapping-2.2.1.tgz", |
| | | "integrity": "sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "@jridgewell/gen-mapping": "^0.3.0", |
| | | "@jridgewell/trace-mapping": "^0.3.9" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6.0.0" |
| | | } |
| | | }, |
| | | "node_modules/@antfu/utils": { |
| | | "version": "0.7.6", |
| | | "resolved": "https://registry.npmjs.org/@antfu/utils/-/utils-0.7.6.tgz", |
| | | "integrity": "sha512-pvFiLP2BeOKA/ZOS6jxx4XhKzdVLHDhGlFEaZ2flWWYf2xOqVniqpk38I04DFRyz+L0ASggl7SkItTc+ZLju4w==", |
| | | "dev": true |
| | | }, |
| | | "node_modules/@babel/code-frame": { |
| | | "version": "7.22.10", |
| | | "resolved": "https://registry.npmmirror.com/@babel/code-frame/-/code-frame-7.22.10.tgz", |
| | | "integrity": "sha512-/KKIMG4UEL35WmI9OlvMhurwtytjvXoFcGNrOvyG9zIzA8YmPjVtIZUf7b05+TPO7G7/GEmLHDaoCgACHl9hhA==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "@babel/highlight": "^7.22.10", |
| | | "chalk": "^2.4.2" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/compat-data": { |
| | | "version": "7.22.9", |
| | | "resolved": "https://registry.npmmirror.com/@babel/compat-data/-/compat-data-7.22.9.tgz", |
| | | "integrity": "sha512-5UamI7xkUcJ3i9qVDS+KFDEK8/7oJ55/sJMB1Ge7IEapr7KfdfV/HErR+koZwOfd+SgtFKOKRhRakdg++DcJpQ==", |
| | | "dev": true, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/core": { |
| | | "version": "7.22.10", |
| | | "resolved": "https://registry.npmmirror.com/@babel/core/-/core-7.22.10.tgz", |
| | | "integrity": "sha512-fTmqbbUBAwCcre6zPzNngvsI0aNrPZe77AeqvDxWM9Nm+04RrJ3CAmGHA9f7lJQY6ZMhRztNemy4uslDxTX4Qw==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "@ampproject/remapping": "^2.2.0", |
| | | "@babel/code-frame": "^7.22.10", |
| | | "@babel/generator": "^7.22.10", |
| | | "@babel/helper-compilation-targets": "^7.22.10", |
| | | "@babel/helper-module-transforms": "^7.22.9", |
| | | "@babel/helpers": "^7.22.10", |
| | | "@babel/parser": "^7.22.10", |
| | | "@babel/template": "^7.22.5", |
| | | "@babel/traverse": "^7.22.10", |
| | | "@babel/types": "^7.22.10", |
| | | "convert-source-map": "^1.7.0", |
| | | "debug": "^4.1.0", |
| | | "gensync": "^1.0.0-beta.2", |
| | | "json5": "^2.2.2", |
| | | "semver": "^6.3.1" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/generator": { |
| | | "version": "7.22.10", |
| | | "resolved": "https://registry.npmmirror.com/@babel/generator/-/generator-7.22.10.tgz", |
| | | "integrity": "sha512-79KIf7YiWjjdZ81JnLujDRApWtl7BxTqWD88+FFdQEIOG8LJ0etDOM7CXuIgGJa55sGOwZVwuEsaLEm0PJ5/+A==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "@babel/types": "^7.22.10", |
| | | "@jridgewell/gen-mapping": "^0.3.2", |
| | | "@jridgewell/trace-mapping": "^0.3.17", |
| | | "jsesc": "^2.5.1" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/helper-annotate-as-pure": { |
| | | "version": "7.22.5", |
| | | "resolved": "https://registry.npmmirror.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.22.5.tgz", |
| | | "integrity": "sha512-LvBTxu8bQSQkcyKOU+a1btnNFQ1dMAd0R6PyW3arXes06F6QLWLIrd681bxRPIXlrMGR3XYnW9JyML7dP3qgxg==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "@babel/types": "^7.22.5" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/helper-compilation-targets": { |
| | | "version": "7.22.10", |
| | | "resolved": "https://registry.npmmirror.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.22.10.tgz", |
| | | "integrity": "sha512-JMSwHD4J7SLod0idLq5PKgI+6g/hLD/iuWBq08ZX49xE14VpVEojJ5rHWptpirV2j020MvypRLAXAO50igCJ5Q==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "@babel/compat-data": "^7.22.9", |
| | | "@babel/helper-validator-option": "^7.22.5", |
| | | "browserslist": "^4.21.9", |
| | | "lru-cache": "^5.1.1", |
| | | "semver": "^6.3.1" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/helper-create-class-features-plugin": { |
| | | "version": "7.22.10", |
| | | "resolved": "https://registry.npmmirror.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.22.10.tgz", |
| | | "integrity": "sha512-5IBb77txKYQPpOEdUdIhBx8VrZyDCQ+H82H0+5dX1TmuscP5vJKEE3cKurjtIw/vFwzbVH48VweE78kVDBrqjA==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "@babel/helper-annotate-as-pure": "^7.22.5", |
| | | "@babel/helper-environment-visitor": "^7.22.5", |
| | | "@babel/helper-function-name": "^7.22.5", |
| | | "@babel/helper-member-expression-to-functions": "^7.22.5", |
| | | "@babel/helper-optimise-call-expression": "^7.22.5", |
| | | "@babel/helper-replace-supers": "^7.22.9", |
| | | "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5", |
| | | "@babel/helper-split-export-declaration": "^7.22.6", |
| | | "semver": "^6.3.1" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | }, |
| | | "peerDependencies": { |
| | | "@babel/core": "^7.0.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/helper-environment-visitor": { |
| | | "version": "7.22.5", |
| | | "resolved": "https://registry.npmmirror.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.5.tgz", |
| | | "integrity": "sha512-XGmhECfVA/5sAt+H+xpSg0mfrHq6FzNr9Oxh7PSEBBRUb/mL7Kz3NICXb194rCqAEdxkhPT1a88teizAFyvk8Q==", |
| | | "dev": true, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/helper-function-name": { |
| | | "version": "7.22.5", |
| | | "resolved": "https://registry.npmmirror.com/@babel/helper-function-name/-/helper-function-name-7.22.5.tgz", |
| | | "integrity": "sha512-wtHSq6jMRE3uF2otvfuD3DIvVhOsSNshQl0Qrd7qC9oQJzHvOL4qQXlQn2916+CXGywIjpGuIkoyZRRxHPiNQQ==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "@babel/template": "^7.22.5", |
| | | "@babel/types": "^7.22.5" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/helper-hoist-variables": { |
| | | "version": "7.22.5", |
| | | "resolved": "https://registry.npmmirror.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz", |
| | | "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "@babel/types": "^7.22.5" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/helper-member-expression-to-functions": { |
| | | "version": "7.22.5", |
| | | "resolved": "https://registry.npmmirror.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.22.5.tgz", |
| | | "integrity": "sha512-aBiH1NKMG0H2cGZqspNvsaBe6wNGjbJjuLy29aU+eDZjSbbN53BaxlpB02xm9v34pLTZ1nIQPFYn2qMZoa5BQQ==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "@babel/types": "^7.22.5" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/helper-module-imports": { |
| | | "version": "7.22.5", |
| | | "resolved": "https://registry.npmmirror.com/@babel/helper-module-imports/-/helper-module-imports-7.22.5.tgz", |
| | | "integrity": "sha512-8Dl6+HD/cKifutF5qGd/8ZJi84QeAKh+CEe1sBzz8UayBBGg1dAIJrdHOcOM5b2MpzWL2yuotJTtGjETq0qjXg==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "@babel/types": "^7.22.5" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/helper-module-transforms": { |
| | | "version": "7.22.9", |
| | | "resolved": "https://registry.npmmirror.com/@babel/helper-module-transforms/-/helper-module-transforms-7.22.9.tgz", |
| | | "integrity": "sha512-t+WA2Xn5K+rTeGtC8jCsdAH52bjggG5TKRuRrAGNM/mjIbO4GxvlLMFOEz9wXY5I2XQ60PMFsAG2WIcG82dQMQ==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "@babel/helper-environment-visitor": "^7.22.5", |
| | | "@babel/helper-module-imports": "^7.22.5", |
| | | "@babel/helper-simple-access": "^7.22.5", |
| | | "@babel/helper-split-export-declaration": "^7.22.6", |
| | | "@babel/helper-validator-identifier": "^7.22.5" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | }, |
| | | "peerDependencies": { |
| | | "@babel/core": "^7.0.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/helper-optimise-call-expression": { |
| | | "version": "7.22.5", |
| | | "resolved": "https://registry.npmmirror.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.22.5.tgz", |
| | | "integrity": "sha512-HBwaojN0xFRx4yIvpwGqxiV2tUfl7401jlok564NgB9EHS1y6QT17FmKWm4ztqjeVdXLuC4fSvHc5ePpQjoTbw==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "@babel/types": "^7.22.5" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/helper-plugin-utils": { |
| | | "version": "7.22.5", |
| | | "resolved": "https://registry.npmmirror.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.22.5.tgz", |
| | | "integrity": "sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg==", |
| | | "dev": true, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/helper-replace-supers": { |
| | | "version": "7.22.9", |
| | | "resolved": "https://registry.npmmirror.com/@babel/helper-replace-supers/-/helper-replace-supers-7.22.9.tgz", |
| | | "integrity": "sha512-LJIKvvpgPOPUThdYqcX6IXRuIcTkcAub0IaDRGCZH0p5GPUp7PhRU9QVgFcDDd51BaPkk77ZjqFwh6DZTAEmGg==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "@babel/helper-environment-visitor": "^7.22.5", |
| | | "@babel/helper-member-expression-to-functions": "^7.22.5", |
| | | "@babel/helper-optimise-call-expression": "^7.22.5" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | }, |
| | | "peerDependencies": { |
| | | "@babel/core": "^7.0.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/helper-simple-access": { |
| | | "version": "7.22.5", |
| | | "resolved": "https://registry.npmmirror.com/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz", |
| | | "integrity": "sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "@babel/types": "^7.22.5" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/helper-skip-transparent-expression-wrappers": { |
| | | "version": "7.22.5", |
| | | "resolved": "https://registry.npmmirror.com/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.22.5.tgz", |
| | | "integrity": "sha512-tK14r66JZKiC43p8Ki33yLBVJKlQDFoA8GYN67lWCDCqoL6EMMSuM9b+Iff2jHaM/RRFYl7K+iiru7hbRqNx8Q==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "@babel/types": "^7.22.5" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/helper-split-export-declaration": { |
| | | "version": "7.22.6", |
| | | "resolved": "https://registry.npmmirror.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz", |
| | | "integrity": "sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "@babel/types": "^7.22.5" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/helper-string-parser": { |
| | | "version": "7.22.5", |
| | | "resolved": "https://registry.npmmirror.com/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz", |
| | | "integrity": "sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==", |
| | | "dev": true, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/helper-validator-identifier": { |
| | | "version": "7.22.5", |
| | | "resolved": "https://registry.npmmirror.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.5.tgz", |
| | | "integrity": "sha512-aJXu+6lErq8ltp+JhkJUfk1MTGyuA4v7f3pA+BJ5HLfNC6nAQ0Cpi9uOquUj8Hehg0aUiHzWQbOVJGao6ztBAQ==", |
| | | "dev": true, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/helper-validator-option": { |
| | | "version": "7.22.5", |
| | | "resolved": "https://registry.npmmirror.com/@babel/helper-validator-option/-/helper-validator-option-7.22.5.tgz", |
| | | "integrity": "sha512-R3oB6xlIVKUnxNUxbmgq7pKjxpru24zlimpE8WK47fACIlM0II/Hm1RS8IaOI7NgCr6LNS+jl5l75m20npAziw==", |
| | | "dev": true, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/helpers": { |
| | | "version": "7.22.10", |
| | | "resolved": "https://registry.npmmirror.com/@babel/helpers/-/helpers-7.22.10.tgz", |
| | | "integrity": "sha512-a41J4NW8HyZa1I1vAndrraTlPZ/eZoga2ZgS7fEr0tZJGVU4xqdE80CEm0CcNjha5EZ8fTBYLKHF0kqDUuAwQw==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "@babel/template": "^7.22.5", |
| | | "@babel/traverse": "^7.22.10", |
| | | "@babel/types": "^7.22.10" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/highlight": { |
| | | "version": "7.22.10", |
| | | "resolved": "https://registry.npmmirror.com/@babel/highlight/-/highlight-7.22.10.tgz", |
| | | "integrity": "sha512-78aUtVcT7MUscr0K5mIEnkwxPE0MaxkR5RxRwuHaQ+JuU5AmTPhY+do2mdzVTnIJJpyBglql2pehuBIWHug+WQ==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "@babel/helper-validator-identifier": "^7.22.5", |
| | | "chalk": "^2.4.2", |
| | | "js-tokens": "^4.0.0" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/parser": { |
| | | "version": "7.22.10", |
| | | "resolved": "https://registry.npmmirror.com/@babel/parser/-/parser-7.22.10.tgz", |
| | | "integrity": "sha512-lNbdGsQb9ekfsnjFGhEiF4hfFqGgfOP3H3d27re3n+CGhNuTSUEQdfWk556sTLNTloczcdM5TYF2LhzmDQKyvQ==", |
| | | "bin": { |
| | | "parser": "bin/babel-parser.js" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6.0.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/plugin-syntax-jsx": { |
| | | "version": "7.22.5", |
| | | "resolved": "https://registry.npmmirror.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.22.5.tgz", |
| | | "integrity": "sha512-gvyP4hZrgrs/wWMaocvxZ44Hw0b3W8Pe+cMxc8V1ULQ07oh8VNbIRaoD1LRZVTvD+0nieDKjfgKg89sD7rrKrg==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "@babel/helper-plugin-utils": "^7.22.5" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | }, |
| | | "peerDependencies": { |
| | | "@babel/core": "^7.0.0-0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/plugin-syntax-typescript": { |
| | | "version": "7.22.5", |
| | | "resolved": "https://registry.npmmirror.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.22.5.tgz", |
| | | "integrity": "sha512-1mS2o03i7t1c6VzH6fdQ3OA8tcEIxwG18zIPRp+UY1Ihv6W+XZzBCVxExF9upussPXJ0xE9XRHwMoNs1ep/nRQ==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "@babel/helper-plugin-utils": "^7.22.5" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | }, |
| | | "peerDependencies": { |
| | | "@babel/core": "^7.0.0-0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/plugin-transform-typescript": { |
| | | "version": "7.22.10", |
| | | "resolved": "https://registry.npmmirror.com/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.22.10.tgz", |
| | | "integrity": "sha512-7++c8I/ymsDo4QQBAgbraXLzIM6jmfao11KgIBEYZRReWzNWH9NtNgJcyrZiXsOPh523FQm6LfpLyy/U5fn46A==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "@babel/helper-annotate-as-pure": "^7.22.5", |
| | | "@babel/helper-create-class-features-plugin": "^7.22.10", |
| | | "@babel/helper-plugin-utils": "^7.22.5", |
| | | "@babel/plugin-syntax-typescript": "^7.22.5" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | }, |
| | | "peerDependencies": { |
| | | "@babel/core": "^7.0.0-0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/template": { |
| | | "version": "7.22.5", |
| | | "resolved": "https://registry.npmmirror.com/@babel/template/-/template-7.22.5.tgz", |
| | | "integrity": "sha512-X7yV7eiwAxdj9k94NEylvbVHLiVG1nvzCV2EAowhxLTwODV1jl9UzZ48leOC0sH7OnuHrIkllaBgneUykIcZaw==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "@babel/code-frame": "^7.22.5", |
| | | "@babel/parser": "^7.22.5", |
| | | "@babel/types": "^7.22.5" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/traverse": { |
| | | "version": "7.22.10", |
| | | "resolved": "https://registry.npmmirror.com/@babel/traverse/-/traverse-7.22.10.tgz", |
| | | "integrity": "sha512-Q/urqV4pRByiNNpb/f5OSv28ZlGJiFiiTh+GAHktbIrkPhPbl90+uW6SmpoLyZqutrg9AEaEf3Q/ZBRHBXgxig==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "@babel/code-frame": "^7.22.10", |
| | | "@babel/generator": "^7.22.10", |
| | | "@babel/helper-environment-visitor": "^7.22.5", |
| | | "@babel/helper-function-name": "^7.22.5", |
| | | "@babel/helper-hoist-variables": "^7.22.5", |
| | | "@babel/helper-split-export-declaration": "^7.22.6", |
| | | "@babel/parser": "^7.22.10", |
| | | "@babel/types": "^7.22.10", |
| | | "debug": "^4.1.0", |
| | | "globals": "^11.1.0" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | } |
| | | }, |
| | | "node_modules/@babel/types": { |
| | | "version": "7.22.10", |
| | | "resolved": "https://registry.npmmirror.com/@babel/types/-/types-7.22.10.tgz", |
| | | "integrity": "sha512-obaoigiLrlDZ7TUQln/8m4mSqIW2QFeOrCQc9r+xsaHGNoplVNYlRVpsfE8Vj35GEm2ZH4ZhrNYogs/3fj85kg==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "@babel/helper-string-parser": "^7.22.5", |
| | | "@babel/helper-validator-identifier": "^7.22.5", |
| | | "to-fast-properties": "^2.0.0" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | } |
| | | }, |
| | | "node_modules/@ctrl/tinycolor": { |
| | | "version": "3.6.0", |
| | | "resolved": "https://registry.npmjs.org/@ctrl/tinycolor/-/tinycolor-3.6.0.tgz", |
| | | "integrity": "sha512-/Z3l6pXthq0JvMYdUFyX9j0MaCltlIn6mfh9jLyQwg5aPKxkyNa0PTHtU1AlFXLNk55ZuAeJRcpvq+tmLfKmaQ==", |
| | | "engines": { |
| | | "node": ">=10" |
| | | } |
| | | }, |
| | | "node_modules/@element-plus/icons-vue": { |
| | | "version": "2.1.0", |
| | | "resolved": "https://registry.npmjs.org/@element-plus/icons-vue/-/icons-vue-2.1.0.tgz", |
| | | "integrity": "sha512-PSBn3elNoanENc1vnCfh+3WA9fimRC7n+fWkf3rE5jvv+aBohNHABC/KAR5KWPecxWxDTVT1ERpRbOMRcOV/vA==", |
| | | "peerDependencies": { |
| | | "vue": "^3.2.0" |
| | | } |
| | | }, |
| | | "node_modules/@esbuild/android-arm": { |
| | | "version": "0.18.20", |
| | | "resolved": "https://registry.npmmirror.com/@esbuild/android-arm/-/android-arm-0.18.20.tgz", |
| | | "integrity": "sha512-fyi7TDI/ijKKNZTUJAQqiG5T7YjJXgnzkURqmGj13C6dCqckZBLdl4h7bkhHt/t0WP+zO9/zwroDvANaOqO5Sw==", |
| | | "cpu": [ |
| | | "arm" |
| | | ], |
| | | "dev": true, |
| | | "optional": true, |
| | | "os": [ |
| | | "android" |
| | | ], |
| | | "engines": { |
| | | "node": ">=12" |
| | | } |
| | | }, |
| | | "node_modules/@esbuild/android-arm64": { |
| | | "version": "0.18.20", |
| | | "resolved": "https://registry.npmmirror.com/@esbuild/android-arm64/-/android-arm64-0.18.20.tgz", |
| | | "integrity": "sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ==", |
| | | "cpu": [ |
| | | "arm64" |
| | | ], |
| | | "dev": true, |
| | | "optional": true, |
| | | "os": [ |
| | | "android" |
| | | ], |
| | | "engines": { |
| | | "node": ">=12" |
| | | } |
| | | }, |
| | | "node_modules/@esbuild/android-x64": { |
| | | "version": "0.18.20", |
| | | "resolved": "https://registry.npmmirror.com/@esbuild/android-x64/-/android-x64-0.18.20.tgz", |
| | | "integrity": "sha512-8GDdlePJA8D6zlZYJV/jnrRAi6rOiNaCC/JclcXpB+KIuvfBN4owLtgzY2bsxnx666XjJx2kDPUmnTtR8qKQUg==", |
| | | "cpu": [ |
| | | "x64" |
| | | ], |
| | | "dev": true, |
| | | "optional": true, |
| | | "os": [ |
| | | "android" |
| | | ], |
| | | "engines": { |
| | | "node": ">=12" |
| | | } |
| | | }, |
| | | "node_modules/@esbuild/darwin-arm64": { |
| | | "version": "0.18.20", |
| | | "resolved": "https://registry.npmmirror.com/@esbuild/darwin-arm64/-/darwin-arm64-0.18.20.tgz", |
| | | "integrity": "sha512-bxRHW5kHU38zS2lPTPOyuyTm+S+eobPUnTNkdJEfAddYgEcll4xkT8DB9d2008DtTbl7uJag2HuE5NZAZgnNEA==", |
| | | "cpu": [ |
| | | "arm64" |
| | | ], |
| | | "dev": true, |
| | | "optional": true, |
| | | "os": [ |
| | | "darwin" |
| | | ], |
| | | "engines": { |
| | | "node": ">=12" |
| | | } |
| | | }, |
| | | "node_modules/@esbuild/darwin-x64": { |
| | | "version": "0.18.20", |
| | | "resolved": "https://registry.npmmirror.com/@esbuild/darwin-x64/-/darwin-x64-0.18.20.tgz", |
| | | "integrity": "sha512-pc5gxlMDxzm513qPGbCbDukOdsGtKhfxD1zJKXjCCcU7ju50O7MeAZ8c4krSJcOIJGFR+qx21yMMVYwiQvyTyQ==", |
| | | "cpu": [ |
| | | "x64" |
| | | ], |
| | | "dev": true, |
| | | "optional": true, |
| | | "os": [ |
| | | "darwin" |
| | | ], |
| | | "engines": { |
| | | "node": ">=12" |
| | | } |
| | | }, |
| | | "node_modules/@esbuild/freebsd-arm64": { |
| | | "version": "0.18.20", |
| | | "resolved": "https://registry.npmmirror.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.20.tgz", |
| | | "integrity": "sha512-yqDQHy4QHevpMAaxhhIwYPMv1NECwOvIpGCZkECn8w2WFHXjEwrBn3CeNIYsibZ/iZEUemj++M26W3cNR5h+Tw==", |
| | | "cpu": [ |
| | | "arm64" |
| | | ], |
| | | "dev": true, |
| | | "optional": true, |
| | | "os": [ |
| | | "freebsd" |
| | | ], |
| | | "engines": { |
| | | "node": ">=12" |
| | | } |
| | | }, |
| | | "node_modules/@esbuild/freebsd-x64": { |
| | | "version": "0.18.20", |
| | | "resolved": "https://registry.npmmirror.com/@esbuild/freebsd-x64/-/freebsd-x64-0.18.20.tgz", |
| | | "integrity": "sha512-tgWRPPuQsd3RmBZwarGVHZQvtzfEBOreNuxEMKFcd5DaDn2PbBxfwLcj4+aenoh7ctXcbXmOQIn8HI6mCSw5MQ==", |
| | | "cpu": [ |
| | | "x64" |
| | | ], |
| | | "dev": true, |
| | | "optional": true, |
| | | "os": [ |
| | | "freebsd" |
| | | ], |
| | | "engines": { |
| | | "node": ">=12" |
| | | } |
| | | }, |
| | | "node_modules/@esbuild/linux-arm": { |
| | | "version": "0.18.20", |
| | | "resolved": "https://registry.npmmirror.com/@esbuild/linux-arm/-/linux-arm-0.18.20.tgz", |
| | | "integrity": "sha512-/5bHkMWnq1EgKr1V+Ybz3s1hWXok7mDFUMQ4cG10AfW3wL02PSZi5kFpYKrptDsgb2WAJIvRcDm+qIvXf/apvg==", |
| | | "cpu": [ |
| | | "arm" |
| | | ], |
| | | "dev": true, |
| | | "optional": true, |
| | | "os": [ |
| | | "linux" |
| | | ], |
| | | "engines": { |
| | | "node": ">=12" |
| | | } |
| | | }, |
| | | "node_modules/@esbuild/linux-arm64": { |
| | | "version": "0.18.20", |
| | | "resolved": "https://registry.npmmirror.com/@esbuild/linux-arm64/-/linux-arm64-0.18.20.tgz", |
| | | "integrity": "sha512-2YbscF+UL7SQAVIpnWvYwM+3LskyDmPhe31pE7/aoTMFKKzIc9lLbyGUpmmb8a8AixOL61sQ/mFh3jEjHYFvdA==", |
| | | "cpu": [ |
| | | "arm64" |
| | | ], |
| | | "dev": true, |
| | | "optional": true, |
| | | "os": [ |
| | | "linux" |
| | | ], |
| | | "engines": { |
| | | "node": ">=12" |
| | | } |
| | | }, |
| | | "node_modules/@esbuild/linux-ia32": { |
| | | "version": "0.18.20", |
| | | "resolved": "https://registry.npmmirror.com/@esbuild/linux-ia32/-/linux-ia32-0.18.20.tgz", |
| | | "integrity": "sha512-P4etWwq6IsReT0E1KHU40bOnzMHoH73aXp96Fs8TIT6z9Hu8G6+0SHSw9i2isWrD2nbx2qo5yUqACgdfVGx7TA==", |
| | | "cpu": [ |
| | | "ia32" |
| | | ], |
| | | "dev": true, |
| | | "optional": true, |
| | | "os": [ |
| | | "linux" |
| | | ], |
| | | "engines": { |
| | | "node": ">=12" |
| | | } |
| | | }, |
| | | "node_modules/@esbuild/linux-loong64": { |
| | | "version": "0.18.20", |
| | | "resolved": "https://registry.npmmirror.com/@esbuild/linux-loong64/-/linux-loong64-0.18.20.tgz", |
| | | "integrity": "sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg==", |
| | | "cpu": [ |
| | | "loong64" |
| | | ], |
| | | "dev": true, |
| | | "optional": true, |
| | | "os": [ |
| | | "linux" |
| | | ], |
| | | "engines": { |
| | | "node": ">=12" |
| | | } |
| | | }, |
| | | "node_modules/@esbuild/linux-mips64el": { |
| | | "version": "0.18.20", |
| | | "resolved": "https://registry.npmmirror.com/@esbuild/linux-mips64el/-/linux-mips64el-0.18.20.tgz", |
| | | "integrity": "sha512-d5NeaXZcHp8PzYy5VnXV3VSd2D328Zb+9dEq5HE6bw6+N86JVPExrA6O68OPwobntbNJ0pzCpUFZTo3w0GyetQ==", |
| | | "cpu": [ |
| | | "mips64el" |
| | | ], |
| | | "dev": true, |
| | | "optional": true, |
| | | "os": [ |
| | | "linux" |
| | | ], |
| | | "engines": { |
| | | "node": ">=12" |
| | | } |
| | | }, |
| | | "node_modules/@esbuild/linux-ppc64": { |
| | | "version": "0.18.20", |
| | | "resolved": "https://registry.npmmirror.com/@esbuild/linux-ppc64/-/linux-ppc64-0.18.20.tgz", |
| | | "integrity": "sha512-WHPyeScRNcmANnLQkq6AfyXRFr5D6N2sKgkFo2FqguP44Nw2eyDlbTdZwd9GYk98DZG9QItIiTlFLHJHjxP3FA==", |
| | | "cpu": [ |
| | | "ppc64" |
| | | ], |
| | | "dev": true, |
| | | "optional": true, |
| | | "os": [ |
| | | "linux" |
| | | ], |
| | | "engines": { |
| | | "node": ">=12" |
| | | } |
| | | }, |
| | | "node_modules/@esbuild/linux-riscv64": { |
| | | "version": "0.18.20", |
| | | "resolved": "https://registry.npmmirror.com/@esbuild/linux-riscv64/-/linux-riscv64-0.18.20.tgz", |
| | | "integrity": "sha512-WSxo6h5ecI5XH34KC7w5veNnKkju3zBRLEQNY7mv5mtBmrP/MjNBCAlsM2u5hDBlS3NGcTQpoBvRzqBcRtpq1A==", |
| | | "cpu": [ |
| | | "riscv64" |
| | | ], |
| | | "dev": true, |
| | | "optional": true, |
| | | "os": [ |
| | | "linux" |
| | | ], |
| | | "engines": { |
| | | "node": ">=12" |
| | | } |
| | | }, |
| | | "node_modules/@esbuild/linux-s390x": { |
| | | "version": "0.18.20", |
| | | "resolved": "https://registry.npmmirror.com/@esbuild/linux-s390x/-/linux-s390x-0.18.20.tgz", |
| | | "integrity": "sha512-+8231GMs3mAEth6Ja1iK0a1sQ3ohfcpzpRLH8uuc5/KVDFneH6jtAJLFGafpzpMRO6DzJ6AvXKze9LfFMrIHVQ==", |
| | | "cpu": [ |
| | | "s390x" |
| | | ], |
| | | "dev": true, |
| | | "optional": true, |
| | | "os": [ |
| | | "linux" |
| | | ], |
| | | "engines": { |
| | | "node": ">=12" |
| | | } |
| | | }, |
| | | "node_modules/@esbuild/linux-x64": { |
| | | "version": "0.18.20", |
| | | "resolved": "https://registry.npmmirror.com/@esbuild/linux-x64/-/linux-x64-0.18.20.tgz", |
| | | "integrity": "sha512-UYqiqemphJcNsFEskc73jQ7B9jgwjWrSayxawS6UVFZGWrAAtkzjxSqnoclCXxWtfwLdzU+vTpcNYhpn43uP1w==", |
| | | "cpu": [ |
| | | "x64" |
| | | ], |
| | | "dev": true, |
| | | "optional": true, |
| | | "os": [ |
| | | "linux" |
| | | ], |
| | | "engines": { |
| | | "node": ">=12" |
| | | } |
| | | }, |
| | | "node_modules/@esbuild/netbsd-x64": { |
| | | "version": "0.18.20", |
| | | "resolved": "https://registry.npmmirror.com/@esbuild/netbsd-x64/-/netbsd-x64-0.18.20.tgz", |
| | | "integrity": "sha512-iO1c++VP6xUBUmltHZoMtCUdPlnPGdBom6IrO4gyKPFFVBKioIImVooR5I83nTew5UOYrk3gIJhbZh8X44y06A==", |
| | | "cpu": [ |
| | | "x64" |
| | | ], |
| | | "dev": true, |
| | | "optional": true, |
| | | "os": [ |
| | | "netbsd" |
| | | ], |
| | | "engines": { |
| | | "node": ">=12" |
| | | } |
| | | }, |
| | | "node_modules/@esbuild/openbsd-x64": { |
| | | "version": "0.18.20", |
| | | "resolved": "https://registry.npmmirror.com/@esbuild/openbsd-x64/-/openbsd-x64-0.18.20.tgz", |
| | | "integrity": "sha512-e5e4YSsuQfX4cxcygw/UCPIEP6wbIL+se3sxPdCiMbFLBWu0eiZOJ7WoD+ptCLrmjZBK1Wk7I6D/I3NglUGOxg==", |
| | | "cpu": [ |
| | | "x64" |
| | | ], |
| | | "dev": true, |
| | | "optional": true, |
| | | "os": [ |
| | | "openbsd" |
| | | ], |
| | | "engines": { |
| | | "node": ">=12" |
| | | } |
| | | }, |
| | | "node_modules/@esbuild/sunos-x64": { |
| | | "version": "0.18.20", |
| | | "resolved": "https://registry.npmmirror.com/@esbuild/sunos-x64/-/sunos-x64-0.18.20.tgz", |
| | | "integrity": "sha512-kDbFRFp0YpTQVVrqUd5FTYmWo45zGaXe0X8E1G/LKFC0v8x0vWrhOWSLITcCn63lmZIxfOMXtCfti/RxN/0wnQ==", |
| | | "cpu": [ |
| | | "x64" |
| | | ], |
| | | "dev": true, |
| | | "optional": true, |
| | | "os": [ |
| | | "sunos" |
| | | ], |
| | | "engines": { |
| | | "node": ">=12" |
| | | } |
| | | }, |
| | | "node_modules/@esbuild/win32-arm64": { |
| | | "version": "0.18.20", |
| | | "resolved": "https://registry.npmmirror.com/@esbuild/win32-arm64/-/win32-arm64-0.18.20.tgz", |
| | | "integrity": "sha512-ddYFR6ItYgoaq4v4JmQQaAI5s7npztfV4Ag6NrhiaW0RrnOXqBkgwZLofVTlq1daVTQNhtI5oieTvkRPfZrePg==", |
| | | "cpu": [ |
| | | "arm64" |
| | | ], |
| | | "dev": true, |
| | | "optional": true, |
| | | "os": [ |
| | | "win32" |
| | | ], |
| | | "engines": { |
| | | "node": ">=12" |
| | | } |
| | | }, |
| | | "node_modules/@esbuild/win32-ia32": { |
| | | "version": "0.18.20", |
| | | "resolved": "https://registry.npmmirror.com/@esbuild/win32-ia32/-/win32-ia32-0.18.20.tgz", |
| | | "integrity": "sha512-Wv7QBi3ID/rROT08SABTS7eV4hX26sVduqDOTe1MvGMjNd3EjOz4b7zeexIR62GTIEKrfJXKL9LFxTYgkyeu7g==", |
| | | "cpu": [ |
| | | "ia32" |
| | | ], |
| | | "dev": true, |
| | | "optional": true, |
| | | "os": [ |
| | | "win32" |
| | | ], |
| | | "engines": { |
| | | "node": ">=12" |
| | | } |
| | | }, |
| | | "node_modules/@esbuild/win32-x64": { |
| | | "version": "0.18.20", |
| | | "resolved": "https://registry.npmmirror.com/@esbuild/win32-x64/-/win32-x64-0.18.20.tgz", |
| | | "integrity": "sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ==", |
| | | "cpu": [ |
| | | "x64" |
| | | ], |
| | | "dev": true, |
| | | "optional": true, |
| | | "os": [ |
| | | "win32" |
| | | ], |
| | | "engines": { |
| | | "node": ">=12" |
| | | } |
| | | }, |
| | | "node_modules/@floating-ui/core": { |
| | | "version": "1.4.1", |
| | | "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.4.1.tgz", |
| | | "integrity": "sha512-jk3WqquEJRlcyu7997NtR5PibI+y5bi+LS3hPmguVClypenMsCY3CBa3LAQnozRCtCrYWSEtAdiskpamuJRFOQ==", |
| | | "dependencies": { |
| | | "@floating-ui/utils": "^0.1.1" |
| | | } |
| | | }, |
| | | "node_modules/@floating-ui/dom": { |
| | | "version": "1.5.1", |
| | | "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.5.1.tgz", |
| | | "integrity": "sha512-KwvVcPSXg6mQygvA1TjbN/gh///36kKtllIF8SUm0qpFj8+rvYrpvlYdL1JoA71SHpDqgSSdGOSoQ0Mp3uY5aw==", |
| | | "dependencies": { |
| | | "@floating-ui/core": "^1.4.1", |
| | | "@floating-ui/utils": "^0.1.1" |
| | | } |
| | | }, |
| | | "node_modules/@floating-ui/utils": { |
| | | "version": "0.1.1", |
| | | "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.1.1.tgz", |
| | | "integrity": "sha512-m0G6wlnhm/AX0H12IOWtK8gASEMffnX08RtKkCgTdHb9JpHKGloI7icFfLg9ZmQeavcvR0PKmzxClyuFPSjKWw==" |
| | | }, |
| | | "node_modules/@jridgewell/gen-mapping": { |
| | | "version": "0.3.3", |
| | | "resolved": "https://registry.npmmirror.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", |
| | | "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", |
| | | "dependencies": { |
| | | "@jridgewell/set-array": "^1.0.1", |
| | | "@jridgewell/sourcemap-codec": "^1.4.10", |
| | | "@jridgewell/trace-mapping": "^0.3.9" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6.0.0" |
| | | } |
| | | }, |
| | | "node_modules/@jridgewell/resolve-uri": { |
| | | "version": "3.1.1", |
| | | "resolved": "https://registry.npmmirror.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz", |
| | | "integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==", |
| | | "engines": { |
| | | "node": ">=6.0.0" |
| | | } |
| | | }, |
| | | "node_modules/@jridgewell/set-array": { |
| | | "version": "1.1.2", |
| | | "resolved": "https://registry.npmmirror.com/@jridgewell/set-array/-/set-array-1.1.2.tgz", |
| | | "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", |
| | | "engines": { |
| | | "node": ">=6.0.0" |
| | | } |
| | | }, |
| | | "node_modules/@jridgewell/source-map": { |
| | | "version": "0.3.5", |
| | | "resolved": "https://registry.npmmirror.com/@jridgewell/source-map/-/source-map-0.3.5.tgz", |
| | | "integrity": "sha512-UTYAUj/wviwdsMfzoSJspJxbkH5o1snzwX0//0ENX1u/55kkZZkcTZP6u9bwKGkv+dkk9at4m1Cpt0uY80kcpQ==", |
| | | "dependencies": { |
| | | "@jridgewell/gen-mapping": "^0.3.0", |
| | | "@jridgewell/trace-mapping": "^0.3.9" |
| | | } |
| | | }, |
| | | "node_modules/@jridgewell/sourcemap-codec": { |
| | | "version": "1.4.15", |
| | | "resolved": "https://registry.npmmirror.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", |
| | | "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==" |
| | | }, |
| | | "node_modules/@jridgewell/trace-mapping": { |
| | | "version": "0.3.19", |
| | | "resolved": "https://registry.npmmirror.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.19.tgz", |
| | | "integrity": "sha512-kf37QtfW+Hwx/buWGMPcR60iF9ziHa6r/CZJIHbmcm4+0qrXiVdxegAH0F6yddEVQ7zdkjcGCgCzUu+BcbhQxw==", |
| | | "dependencies": { |
| | | "@jridgewell/resolve-uri": "^3.1.0", |
| | | "@jridgewell/sourcemap-codec": "^1.4.14" |
| | | } |
| | | }, |
| | | "node_modules/@nodelib/fs.scandir": { |
| | | "version": "2.1.5", |
| | | "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", |
| | | "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "@nodelib/fs.stat": "2.0.5", |
| | | "run-parallel": "^1.1.9" |
| | | }, |
| | | "engines": { |
| | | "node": ">= 8" |
| | | } |
| | | }, |
| | | "node_modules/@nodelib/fs.stat": { |
| | | "version": "2.0.5", |
| | | "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", |
| | | "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", |
| | | "dev": true, |
| | | "engines": { |
| | | "node": ">= 8" |
| | | } |
| | | }, |
| | | "node_modules/@nodelib/fs.walk": { |
| | | "version": "1.2.8", |
| | | "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", |
| | | "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "@nodelib/fs.scandir": "2.1.5", |
| | | "fastq": "^1.6.0" |
| | | }, |
| | | "engines": { |
| | | "node": ">= 8" |
| | | } |
| | | }, |
| | | "node_modules/@popperjs/core": { |
| | | "name": "@sxzz/popperjs-es", |
| | | "version": "2.11.7", |
| | | "resolved": "https://registry.npmjs.org/@sxzz/popperjs-es/-/popperjs-es-2.11.7.tgz", |
| | | "integrity": "sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==" |
| | | }, |
| | | "node_modules/@rollup/pluginutils": { |
| | | "version": "5.0.3", |
| | | "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.0.3.tgz", |
| | | "integrity": "sha512-hfllNN4a80rwNQ9QCxhxuHCGHMAvabXqxNdaChUSSadMre7t4iEUI6fFAhBOn/eIYTgYVhBv7vCLsAJ4u3lf3g==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "@types/estree": "^1.0.0", |
| | | "estree-walker": "^2.0.2", |
| | | "picomatch": "^2.3.1" |
| | | }, |
| | | "engines": { |
| | | "node": ">=14.0.0" |
| | | }, |
| | | "peerDependencies": { |
| | | "rollup": "^1.20.0||^2.0.0||^3.0.0" |
| | | }, |
| | | "peerDependenciesMeta": { |
| | | "rollup": { |
| | | "optional": true |
| | | } |
| | | } |
| | | }, |
| | | "node_modules/@types/estree": { |
| | | "version": "1.0.1", |
| | | "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.1.tgz", |
| | | "integrity": "sha512-LG4opVs2ANWZ1TJoKc937iMmNstM/d0ae1vNbnBvBhqCSezgVUOzcLCqbI5elV8Vy6WKwKjaqR+zO9VKirBBCA==", |
| | | "dev": true |
| | | }, |
| | | "node_modules/@types/lodash": { |
| | | "version": "4.14.197", |
| | | "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.197.tgz", |
| | | "integrity": "sha512-BMVOiWs0uNxHVlHBgzTIqJYmj+PgCo4euloGF+5m4okL3rEYzM2EEv78mw8zWSMM57dM7kVIgJ2QDvwHSoCI5g==" |
| | | }, |
| | | "node_modules/@types/lodash-es": { |
| | | "version": "4.17.8", |
| | | "resolved": "https://registry.npmjs.org/@types/lodash-es/-/lodash-es-4.17.8.tgz", |
| | | "integrity": "sha512-euY3XQcZmIzSy7YH5+Unb3b2X12Wtk54YWINBvvGQ5SmMvwb11JQskGsfkH/5HXK77Kr8GF0wkVDIxzAisWtog==", |
| | | "dependencies": { |
| | | "@types/lodash": "*" |
| | | } |
| | | }, |
| | | "node_modules/@types/web-bluetooth": { |
| | | "version": "0.0.16", |
| | | "resolved": "https://registry.npmjs.org/@types/web-bluetooth/-/web-bluetooth-0.0.16.tgz", |
| | | "integrity": "sha512-oh8q2Zc32S6gd/j50GowEjKLoOVOwHP/bWVjKJInBwQqdOYMdPrf1oVlelTlyfFK3CKxL1uahMDAr+vy8T7yMQ==" |
| | | }, |
| | | "node_modules/@vitejs/plugin-vue": { |
| | | "version": "4.3.1", |
| | | "resolved": "https://registry.npmmirror.com/@vitejs/plugin-vue/-/plugin-vue-4.3.1.tgz", |
| | | "integrity": "sha512-tUBEtWcF7wFtII7ayNiLNDTCE1X1afySEo+XNVMNkFXaThENyCowIEX095QqbJZGTgoOcSVDJGlnde2NG4jtbQ==", |
| | | "dev": true, |
| | | "engines": { |
| | | "node": "^14.18.0 || >=16.0.0" |
| | | }, |
| | | "peerDependencies": { |
| | | "vite": "^4.0.0", |
| | | "vue": "^3.2.25" |
| | | } |
| | | }, |
| | | "node_modules/@vitejs/plugin-vue-jsx": { |
| | | "version": "3.0.2", |
| | | "resolved": "https://registry.npmmirror.com/@vitejs/plugin-vue-jsx/-/plugin-vue-jsx-3.0.2.tgz", |
| | | "integrity": "sha512-obF26P2Z4Ogy3cPp07B4VaW6rpiu0ue4OT2Y15UxT5BZZ76haUY9guOsZV3uWh/I6xc+VeiW+ZVabRE82FyzWw==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "@babel/core": "^7.22.10", |
| | | "@babel/plugin-transform-typescript": "^7.22.10", |
| | | "@vue/babel-plugin-jsx": "^1.1.5" |
| | | }, |
| | | "engines": { |
| | | "node": "^14.18.0 || >=16.0.0" |
| | | }, |
| | | "peerDependencies": { |
| | | "vite": "^4.0.0", |
| | | "vue": "^3.0.0" |
| | | } |
| | | }, |
| | | "node_modules/@vue/babel-helper-vue-transform-on": { |
| | | "version": "1.1.5", |
| | | "resolved": "https://registry.npmmirror.com/@vue/babel-helper-vue-transform-on/-/babel-helper-vue-transform-on-1.1.5.tgz", |
| | | "integrity": "sha512-SgUymFpMoAyWeYWLAY+MkCK3QEROsiUnfaw5zxOVD/M64KQs8D/4oK6Q5omVA2hnvEOE0SCkH2TZxs/jnnUj7w==", |
| | | "dev": true |
| | | }, |
| | | "node_modules/@vue/babel-plugin-jsx": { |
| | | "version": "1.1.5", |
| | | "resolved": "https://registry.npmmirror.com/@vue/babel-plugin-jsx/-/babel-plugin-jsx-1.1.5.tgz", |
| | | "integrity": "sha512-nKs1/Bg9U1n3qSWnsHhCVQtAzI6aQXqua8j/bZrau8ywT1ilXQbK4FwEJGmU8fV7tcpuFvWmmN7TMmV1OBma1g==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "@babel/helper-module-imports": "^7.22.5", |
| | | "@babel/plugin-syntax-jsx": "^7.22.5", |
| | | "@babel/template": "^7.22.5", |
| | | "@babel/traverse": "^7.22.5", |
| | | "@babel/types": "^7.22.5", |
| | | "@vue/babel-helper-vue-transform-on": "^1.1.5", |
| | | "camelcase": "^6.3.0", |
| | | "html-tags": "^3.3.1", |
| | | "svg-tags": "^1.0.0" |
| | | }, |
| | | "peerDependencies": { |
| | | "@babel/core": "^7.0.0-0" |
| | | } |
| | | }, |
| | | "node_modules/@vue/compiler-core": { |
| | | "version": "3.3.4", |
| | | "resolved": "https://registry.npmmirror.com/@vue/compiler-core/-/compiler-core-3.3.4.tgz", |
| | | "integrity": "sha512-cquyDNvZ6jTbf/+x+AgM2Arrp6G4Dzbb0R64jiG804HRMfRiFXWI6kqUVqZ6ZR0bQhIoQjB4+2bhNtVwndW15g==", |
| | | "dependencies": { |
| | | "@babel/parser": "^7.21.3", |
| | | "@vue/shared": "3.3.4", |
| | | "estree-walker": "^2.0.2", |
| | | "source-map-js": "^1.0.2" |
| | | } |
| | | }, |
| | | "node_modules/@vue/compiler-dom": { |
| | | "version": "3.3.4", |
| | | "resolved": "https://registry.npmmirror.com/@vue/compiler-dom/-/compiler-dom-3.3.4.tgz", |
| | | "integrity": "sha512-wyM+OjOVpuUukIq6p5+nwHYtj9cFroz9cwkfmP9O1nzH68BenTTv0u7/ndggT8cIQlnBeOo6sUT/gvHcIkLA5w==", |
| | | "dependencies": { |
| | | "@vue/compiler-core": "3.3.4", |
| | | "@vue/shared": "3.3.4" |
| | | } |
| | | }, |
| | | "node_modules/@vue/compiler-sfc": { |
| | | "version": "3.3.4", |
| | | "resolved": "https://registry.npmmirror.com/@vue/compiler-sfc/-/compiler-sfc-3.3.4.tgz", |
| | | "integrity": "sha512-6y/d8uw+5TkCuzBkgLS0v3lSM3hJDntFEiUORM11pQ/hKvkhSKZrXW6i69UyXlJQisJxuUEJKAWEqWbWsLeNKQ==", |
| | | "dependencies": { |
| | | "@babel/parser": "^7.20.15", |
| | | "@vue/compiler-core": "3.3.4", |
| | | "@vue/compiler-dom": "3.3.4", |
| | | "@vue/compiler-ssr": "3.3.4", |
| | | "@vue/reactivity-transform": "3.3.4", |
| | | "@vue/shared": "3.3.4", |
| | | "estree-walker": "^2.0.2", |
| | | "magic-string": "^0.30.0", |
| | | "postcss": "^8.1.10", |
| | | "source-map-js": "^1.0.2" |
| | | } |
| | | }, |
| | | "node_modules/@vue/compiler-ssr": { |
| | | "version": "3.3.4", |
| | | "resolved": "https://registry.npmmirror.com/@vue/compiler-ssr/-/compiler-ssr-3.3.4.tgz", |
| | | "integrity": "sha512-m0v6oKpup2nMSehwA6Uuu+j+wEwcy7QmwMkVNVfrV9P2qE5KshC6RwOCq8fjGS/Eak/uNb8AaWekfiXxbBB6gQ==", |
| | | "dependencies": { |
| | | "@vue/compiler-dom": "3.3.4", |
| | | "@vue/shared": "3.3.4" |
| | | } |
| | | }, |
| | | "node_modules/@vue/devtools-api": { |
| | | "version": "6.5.0", |
| | | "resolved": "https://registry.npmmirror.com/@vue/devtools-api/-/devtools-api-6.5.0.tgz", |
| | | "integrity": "sha512-o9KfBeaBmCKl10usN4crU53fYtC1r7jJwdGKjPT24t348rHxgfpZ0xL3Xm/gLUYnc0oTp8LAmrxOeLyu6tbk2Q==" |
| | | }, |
| | | "node_modules/@vue/reactivity": { |
| | | "version": "3.3.4", |
| | | "resolved": "https://registry.npmmirror.com/@vue/reactivity/-/reactivity-3.3.4.tgz", |
| | | "integrity": "sha512-kLTDLwd0B1jG08NBF3R5rqULtv/f8x3rOFByTDz4J53ttIQEDmALqKqXY0J+XQeN0aV2FBxY8nJDf88yvOPAqQ==", |
| | | "dependencies": { |
| | | "@vue/shared": "3.3.4" |
| | | } |
| | | }, |
| | | "node_modules/@vue/reactivity-transform": { |
| | | "version": "3.3.4", |
| | | "resolved": "https://registry.npmmirror.com/@vue/reactivity-transform/-/reactivity-transform-3.3.4.tgz", |
| | | "integrity": "sha512-MXgwjako4nu5WFLAjpBnCj/ieqcjE2aJBINUNQzkZQfzIZA4xn+0fV1tIYBJvvva3N3OvKGofRLvQIwEQPpaXw==", |
| | | "dependencies": { |
| | | "@babel/parser": "^7.20.15", |
| | | "@vue/compiler-core": "3.3.4", |
| | | "@vue/shared": "3.3.4", |
| | | "estree-walker": "^2.0.2", |
| | | "magic-string": "^0.30.0" |
| | | } |
| | | }, |
| | | "node_modules/@vue/runtime-core": { |
| | | "version": "3.3.4", |
| | | "resolved": "https://registry.npmmirror.com/@vue/runtime-core/-/runtime-core-3.3.4.tgz", |
| | | "integrity": "sha512-R+bqxMN6pWO7zGI4OMlmvePOdP2c93GsHFM/siJI7O2nxFRzj55pLwkpCedEY+bTMgp5miZ8CxfIZo3S+gFqvA==", |
| | | "dependencies": { |
| | | "@vue/reactivity": "3.3.4", |
| | | "@vue/shared": "3.3.4" |
| | | } |
| | | }, |
| | | "node_modules/@vue/runtime-dom": { |
| | | "version": "3.3.4", |
| | | "resolved": "https://registry.npmmirror.com/@vue/runtime-dom/-/runtime-dom-3.3.4.tgz", |
| | | "integrity": "sha512-Aj5bTJ3u5sFsUckRghsNjVTtxZQ1OyMWCr5dZRAPijF/0Vy4xEoRCwLyHXcj4D0UFbJ4lbx3gPTgg06K/GnPnQ==", |
| | | "dependencies": { |
| | | "@vue/runtime-core": "3.3.4", |
| | | "@vue/shared": "3.3.4", |
| | | "csstype": "^3.1.1" |
| | | } |
| | | }, |
| | | "node_modules/@vue/server-renderer": { |
| | | "version": "3.3.4", |
| | | "resolved": "https://registry.npmmirror.com/@vue/server-renderer/-/server-renderer-3.3.4.tgz", |
| | | "integrity": "sha512-Q6jDDzR23ViIb67v+vM1Dqntu+HUexQcsWKhhQa4ARVzxOY2HbC7QRW/ggkDBd5BU+uM1sV6XOAP0b216o34JQ==", |
| | | "dependencies": { |
| | | "@vue/compiler-ssr": "3.3.4", |
| | | "@vue/shared": "3.3.4" |
| | | }, |
| | | "peerDependencies": { |
| | | "vue": "3.3.4" |
| | | } |
| | | }, |
| | | "node_modules/@vue/shared": { |
| | | "version": "3.3.4", |
| | | "resolved": "https://registry.npmmirror.com/@vue/shared/-/shared-3.3.4.tgz", |
| | | "integrity": "sha512-7OjdcV8vQ74eiz1TZLzZP4JwqM5fA94K6yntPS5Z25r9HDuGNzaGdgvwKYq6S+MxwF0TFRwe50fIR/MYnakdkQ==" |
| | | }, |
| | | "node_modules/@vueuse/core": { |
| | | "version": "9.13.0", |
| | | "resolved": "https://registry.npmjs.org/@vueuse/core/-/core-9.13.0.tgz", |
| | | "integrity": "sha512-pujnclbeHWxxPRqXWmdkKV5OX4Wk4YeK7wusHqRwU0Q7EFusHoqNA/aPhB6KCh9hEqJkLAJo7bb0Lh9b+OIVzw==", |
| | | "dependencies": { |
| | | "@types/web-bluetooth": "^0.0.16", |
| | | "@vueuse/metadata": "9.13.0", |
| | | "@vueuse/shared": "9.13.0", |
| | | "vue-demi": "*" |
| | | } |
| | | }, |
| | | "node_modules/@vueuse/core/node_modules/vue-demi": { |
| | | "version": "0.14.5", |
| | | "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.5.tgz", |
| | | "integrity": "sha512-o9NUVpl/YlsGJ7t+xuqJKx8EBGf1quRhCiT6D/J0pfwmk9zUwYkC7yrF4SZCe6fETvSM3UNL2edcbYrSyc4QHA==", |
| | | "hasInstallScript": true, |
| | | "bin": { |
| | | "vue-demi-fix": "bin/vue-demi-fix.js", |
| | | "vue-demi-switch": "bin/vue-demi-switch.js" |
| | | }, |
| | | "engines": { |
| | | "node": ">=12" |
| | | }, |
| | | "peerDependencies": { |
| | | "@vue/composition-api": "^1.0.0-rc.1", |
| | | "vue": "^3.0.0-0 || ^2.6.0" |
| | | }, |
| | | "peerDependenciesMeta": { |
| | | "@vue/composition-api": { |
| | | "optional": true |
| | | } |
| | | } |
| | | }, |
| | | "node_modules/@vueuse/metadata": { |
| | | "version": "9.13.0", |
| | | "resolved": "https://registry.npmjs.org/@vueuse/metadata/-/metadata-9.13.0.tgz", |
| | | "integrity": "sha512-gdU7TKNAUVlXXLbaF+ZCfte8BjRJQWPCa2J55+7/h+yDtzw3vOoGQDRXzI6pyKyo6bXFT5/QoPE4hAknExjRLQ==" |
| | | }, |
| | | "node_modules/@vueuse/shared": { |
| | | "version": "9.13.0", |
| | | "resolved": "https://registry.npmjs.org/@vueuse/shared/-/shared-9.13.0.tgz", |
| | | "integrity": "sha512-UrnhU+Cnufu4S6JLCPZnkWh0WwZGUp72ktOF2DFptMlOs3TOdVv8xJN53zhHGARmVOsz5KqOls09+J1NR6sBKw==", |
| | | "dependencies": { |
| | | "vue-demi": "*" |
| | | } |
| | | }, |
| | | "node_modules/@vueuse/shared/node_modules/vue-demi": { |
| | | "version": "0.14.5", |
| | | "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.5.tgz", |
| | | "integrity": "sha512-o9NUVpl/YlsGJ7t+xuqJKx8EBGf1quRhCiT6D/J0pfwmk9zUwYkC7yrF4SZCe6fETvSM3UNL2edcbYrSyc4QHA==", |
| | | "hasInstallScript": true, |
| | | "bin": { |
| | | "vue-demi-fix": "bin/vue-demi-fix.js", |
| | | "vue-demi-switch": "bin/vue-demi-switch.js" |
| | | }, |
| | | "engines": { |
| | | "node": ">=12" |
| | | }, |
| | | "peerDependencies": { |
| | | "@vue/composition-api": "^1.0.0-rc.1", |
| | | "vue": "^3.0.0-0 || ^2.6.0" |
| | | }, |
| | | "peerDependenciesMeta": { |
| | | "@vue/composition-api": { |
| | | "optional": true |
| | | } |
| | | } |
| | | }, |
| | | "node_modules/acorn": { |
| | | "version": "8.10.0", |
| | | "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.10.0.tgz", |
| | | "integrity": "sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==", |
| | | "bin": { |
| | | "acorn": "bin/acorn" |
| | | }, |
| | | "engines": { |
| | | "node": ">=0.4.0" |
| | | } |
| | | }, |
| | | "node_modules/ansi-styles": { |
| | | "version": "3.2.1", |
| | | "resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-3.2.1.tgz", |
| | | "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "color-convert": "^1.9.0" |
| | | }, |
| | | "engines": { |
| | | "node": ">=4" |
| | | } |
| | | }, |
| | | "node_modules/anymatch": { |
| | | "version": "3.1.3", |
| | | "resolved": "https://registry.npmmirror.com/anymatch/-/anymatch-3.1.3.tgz", |
| | | "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "normalize-path": "^3.0.0", |
| | | "picomatch": "^2.0.4" |
| | | }, |
| | | "engines": { |
| | | "node": ">= 8" |
| | | } |
| | | }, |
| | | "node_modules/async-validator": { |
| | | "version": "4.2.5", |
| | | "resolved": "https://registry.npmjs.org/async-validator/-/async-validator-4.2.5.tgz", |
| | | "integrity": "sha512-7HhHjtERjqlNbZtqNqy2rckN/SpOOlmDliet+lP7k+eKZEjPk3DgyeU9lIXLdeLz0uBbbVp+9Qdow9wJWgwwfg==" |
| | | }, |
| | | "node_modules/asynckit": { |
| | | "version": "0.4.0", |
| | | "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", |
| | | "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" |
| | | }, |
| | | "node_modules/axios": { |
| | | "version": "1.4.0", |
| | | "resolved": "https://registry.npmjs.org/axios/-/axios-1.4.0.tgz", |
| | | "integrity": "sha512-S4XCWMEmzvo64T9GfvQDOXgYRDJ/wsSZc7Jvdgx5u1sd0JwsuPLqb3SYmusag+edF6ziyMensPVqLTSc1PiSEA==", |
| | | "dependencies": { |
| | | "follow-redirects": "^1.15.0", |
| | | "form-data": "^4.0.0", |
| | | "proxy-from-env": "^1.1.0" |
| | | } |
| | | }, |
| | | "node_modules/balanced-match": { |
| | | "version": "1.0.2", |
| | | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", |
| | | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", |
| | | "dev": true |
| | | }, |
| | | "node_modules/binary-extensions": { |
| | | "version": "2.2.0", |
| | | "resolved": "https://registry.npmmirror.com/binary-extensions/-/binary-extensions-2.2.0.tgz", |
| | | "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", |
| | | "dev": true, |
| | | "engines": { |
| | | "node": ">=8" |
| | | } |
| | | }, |
| | | "node_modules/brace-expansion": { |
| | | "version": "2.0.1", |
| | | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", |
| | | "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "balanced-match": "^1.0.0" |
| | | } |
| | | }, |
| | | "node_modules/braces": { |
| | | "version": "3.0.2", |
| | | "resolved": "https://registry.npmmirror.com/braces/-/braces-3.0.2.tgz", |
| | | "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "fill-range": "^7.0.1" |
| | | }, |
| | | "engines": { |
| | | "node": ">=8" |
| | | } |
| | | }, |
| | | "node_modules/browserslist": { |
| | | "version": "4.21.10", |
| | | "resolved": "https://registry.npmmirror.com/browserslist/-/browserslist-4.21.10.tgz", |
| | | "integrity": "sha512-bipEBdZfVH5/pwrvqc+Ub0kUPVfGUhlKxbvfD+z1BDnPEO/X98ruXGA1WP5ASpAFKan7Qr6j736IacbZQuAlKQ==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "caniuse-lite": "^1.0.30001517", |
| | | "electron-to-chromium": "^1.4.477", |
| | | "node-releases": "^2.0.13", |
| | | "update-browserslist-db": "^1.0.11" |
| | | }, |
| | | "bin": { |
| | | "browserslist": "cli.js" |
| | | }, |
| | | "engines": { |
| | | "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" |
| | | } |
| | | }, |
| | | "node_modules/buffer-from": { |
| | | "version": "1.1.2", |
| | | "resolved": "https://registry.npmmirror.com/buffer-from/-/buffer-from-1.1.2.tgz", |
| | | "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==" |
| | | }, |
| | | "node_modules/camelcase": { |
| | | "version": "6.3.0", |
| | | "resolved": "https://registry.npmmirror.com/camelcase/-/camelcase-6.3.0.tgz", |
| | | "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", |
| | | "dev": true, |
| | | "engines": { |
| | | "node": ">=10" |
| | | } |
| | | }, |
| | | "node_modules/caniuse-lite": { |
| | | "version": "1.0.30001521", |
| | | "resolved": "https://registry.npmmirror.com/caniuse-lite/-/caniuse-lite-1.0.30001521.tgz", |
| | | "integrity": "sha512-fnx1grfpEOvDGH+V17eccmNjucGUnCbP6KL+l5KqBIerp26WK/+RQ7CIDE37KGJjaPyqWXXlFUyKiWmvdNNKmQ==", |
| | | "dev": true |
| | | }, |
| | | "node_modules/chalk": { |
| | | "version": "2.4.2", |
| | | "resolved": "https://registry.npmmirror.com/chalk/-/chalk-2.4.2.tgz", |
| | | "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "ansi-styles": "^3.2.1", |
| | | "escape-string-regexp": "^1.0.5", |
| | | "supports-color": "^5.3.0" |
| | | }, |
| | | "engines": { |
| | | "node": ">=4" |
| | | } |
| | | }, |
| | | "node_modules/chokidar": { |
| | | "version": "3.5.3", |
| | | "resolved": "https://registry.npmmirror.com/chokidar/-/chokidar-3.5.3.tgz", |
| | | "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "anymatch": "~3.1.2", |
| | | "braces": "~3.0.2", |
| | | "glob-parent": "~5.1.2", |
| | | "is-binary-path": "~2.1.0", |
| | | "is-glob": "~4.0.1", |
| | | "normalize-path": "~3.0.0", |
| | | "readdirp": "~3.6.0" |
| | | }, |
| | | "engines": { |
| | | "node": ">= 8.10.0" |
| | | }, |
| | | "optionalDependencies": { |
| | | "fsevents": "~2.3.2" |
| | | } |
| | | }, |
| | | "node_modules/color-convert": { |
| | | "version": "1.9.3", |
| | | "resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-1.9.3.tgz", |
| | | "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "color-name": "1.1.3" |
| | | } |
| | | }, |
| | | "node_modules/color-name": { |
| | | "version": "1.1.3", |
| | | "resolved": "https://registry.npmmirror.com/color-name/-/color-name-1.1.3.tgz", |
| | | "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", |
| | | "dev": true |
| | | }, |
| | | "node_modules/combined-stream": { |
| | | "version": "1.0.8", |
| | | "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", |
| | | "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", |
| | | "dependencies": { |
| | | "delayed-stream": "~1.0.0" |
| | | }, |
| | | "engines": { |
| | | "node": ">= 0.8" |
| | | } |
| | | }, |
| | | "node_modules/commander": { |
| | | "version": "2.20.3", |
| | | "resolved": "https://registry.npmmirror.com/commander/-/commander-2.20.3.tgz", |
| | | "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" |
| | | }, |
| | | "node_modules/convert-source-map": { |
| | | "version": "1.9.0", |
| | | "resolved": "https://registry.npmmirror.com/convert-source-map/-/convert-source-map-1.9.0.tgz", |
| | | "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==", |
| | | "dev": true |
| | | }, |
| | | "node_modules/csstype": { |
| | | "version": "3.1.2", |
| | | "resolved": "https://registry.npmmirror.com/csstype/-/csstype-3.1.2.tgz", |
| | | "integrity": "sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==" |
| | | }, |
| | | "node_modules/dayjs": { |
| | | "version": "1.11.9", |
| | | "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.9.tgz", |
| | | "integrity": "sha512-QvzAURSbQ0pKdIye2txOzNaHmxtUBXerpY0FJsFXUMKbIZeFm5ht1LS/jFsrncjnmtv8HsG0W2g6c0zUjZWmpA==" |
| | | }, |
| | | "node_modules/debug": { |
| | | "version": "4.3.4", |
| | | "resolved": "https://registry.npmmirror.com/debug/-/debug-4.3.4.tgz", |
| | | "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "ms": "2.1.2" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6.0" |
| | | }, |
| | | "peerDependenciesMeta": { |
| | | "supports-color": { |
| | | "optional": true |
| | | } |
| | | } |
| | | }, |
| | | "node_modules/delayed-stream": { |
| | | "version": "1.0.0", |
| | | "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", |
| | | "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", |
| | | "engines": { |
| | | "node": ">=0.4.0" |
| | | } |
| | | }, |
| | | "node_modules/echarts": { |
| | | "version": "5.4.3", |
| | | "resolved": "https://registry.npmmirror.com/echarts/-/echarts-5.4.3.tgz", |
| | | "integrity": "sha512-mYKxLxhzy6zyTi/FaEbJMOZU1ULGEQHaeIeuMR5L+JnJTpz+YR03mnnpBhbR4+UYJAgiXgpyTVLffPAjOTLkZA==", |
| | | "dependencies": { |
| | | "tslib": "2.3.0", |
| | | "zrender": "5.4.4" |
| | | } |
| | | }, |
| | | "node_modules/electron-to-chromium": { |
| | | "version": "1.4.495", |
| | | "resolved": "https://registry.npmmirror.com/electron-to-chromium/-/electron-to-chromium-1.4.495.tgz", |
| | | "integrity": "sha512-mwknuemBZnoOCths4GtpU/SDuVMp3uQHKa2UNJT9/aVD6WVRjGpXOxRGX7lm6ILIenTdGXPSTCTDaWos5tEU8Q==", |
| | | "dev": true |
| | | }, |
| | | "node_modules/element-plus": { |
| | | "version": "2.3.9", |
| | | "resolved": "https://registry.npmjs.org/element-plus/-/element-plus-2.3.9.tgz", |
| | | "integrity": "sha512-TIOLnPl4cnoCPXqK3QYh+jpkthUBQnAM21O7o3Lhbse8v9pfrRXRTaBJtoEKnYNa8GZ4lZptUfH0PeZgDCNLUg==", |
| | | "dependencies": { |
| | | "@ctrl/tinycolor": "^3.4.1", |
| | | "@element-plus/icons-vue": "^2.0.6", |
| | | "@floating-ui/dom": "^1.0.1", |
| | | "@popperjs/core": "npm:@sxzz/popperjs-es@^2.11.7", |
| | | "@types/lodash": "^4.14.182", |
| | | "@types/lodash-es": "^4.17.6", |
| | | "@vueuse/core": "^9.1.0", |
| | | "async-validator": "^4.2.5", |
| | | "dayjs": "^1.11.3", |
| | | "escape-html": "^1.0.3", |
| | | "lodash": "^4.17.21", |
| | | "lodash-es": "^4.17.21", |
| | | "lodash-unified": "^1.0.2", |
| | | "memoize-one": "^6.0.0", |
| | | "normalize-wheel-es": "^1.2.0" |
| | | }, |
| | | "peerDependencies": { |
| | | "vue": "^3.2.0" |
| | | } |
| | | }, |
| | | "node_modules/esbuild": { |
| | | "version": "0.18.20", |
| | | "resolved": "https://registry.npmmirror.com/esbuild/-/esbuild-0.18.20.tgz", |
| | | "integrity": "sha512-ceqxoedUrcayh7Y7ZX6NdbbDzGROiyVBgC4PriJThBKSVPWnnFHZAkfI1lJT8QFkOwH4qOS2SJkS4wvpGl8BpA==", |
| | | "dev": true, |
| | | "hasInstallScript": true, |
| | | "bin": { |
| | | "esbuild": "bin/esbuild" |
| | | }, |
| | | "engines": { |
| | | "node": ">=12" |
| | | }, |
| | | "optionalDependencies": { |
| | | "@esbuild/android-arm": "0.18.20", |
| | | "@esbuild/android-arm64": "0.18.20", |
| | | "@esbuild/android-x64": "0.18.20", |
| | | "@esbuild/darwin-arm64": "0.18.20", |
| | | "@esbuild/darwin-x64": "0.18.20", |
| | | "@esbuild/freebsd-arm64": "0.18.20", |
| | | "@esbuild/freebsd-x64": "0.18.20", |
| | | "@esbuild/linux-arm": "0.18.20", |
| | | "@esbuild/linux-arm64": "0.18.20", |
| | | "@esbuild/linux-ia32": "0.18.20", |
| | | "@esbuild/linux-loong64": "0.18.20", |
| | | "@esbuild/linux-mips64el": "0.18.20", |
| | | "@esbuild/linux-ppc64": "0.18.20", |
| | | "@esbuild/linux-riscv64": "0.18.20", |
| | | "@esbuild/linux-s390x": "0.18.20", |
| | | "@esbuild/linux-x64": "0.18.20", |
| | | "@esbuild/netbsd-x64": "0.18.20", |
| | | "@esbuild/openbsd-x64": "0.18.20", |
| | | "@esbuild/sunos-x64": "0.18.20", |
| | | "@esbuild/win32-arm64": "0.18.20", |
| | | "@esbuild/win32-ia32": "0.18.20", |
| | | "@esbuild/win32-x64": "0.18.20" |
| | | } |
| | | }, |
| | | "node_modules/escalade": { |
| | | "version": "3.1.1", |
| | | "resolved": "https://registry.npmmirror.com/escalade/-/escalade-3.1.1.tgz", |
| | | "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", |
| | | "dev": true, |
| | | "engines": { |
| | | "node": ">=6" |
| | | } |
| | | }, |
| | | "node_modules/escape-html": { |
| | | "version": "1.0.3", |
| | | "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", |
| | | "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==" |
| | | }, |
| | | "node_modules/escape-string-regexp": { |
| | | "version": "1.0.5", |
| | | "resolved": "https://registry.npmmirror.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", |
| | | "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", |
| | | "dev": true, |
| | | "engines": { |
| | | "node": ">=0.8.0" |
| | | } |
| | | }, |
| | | "node_modules/estree-walker": { |
| | | "version": "2.0.2", |
| | | "resolved": "https://registry.npmmirror.com/estree-walker/-/estree-walker-2.0.2.tgz", |
| | | "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==" |
| | | }, |
| | | "node_modules/fast-glob": { |
| | | "version": "3.3.1", |
| | | "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.1.tgz", |
| | | "integrity": "sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "@nodelib/fs.stat": "^2.0.2", |
| | | "@nodelib/fs.walk": "^1.2.3", |
| | | "glob-parent": "^5.1.2", |
| | | "merge2": "^1.3.0", |
| | | "micromatch": "^4.0.4" |
| | | }, |
| | | "engines": { |
| | | "node": ">=8.6.0" |
| | | } |
| | | }, |
| | | "node_modules/fastq": { |
| | | "version": "1.15.0", |
| | | "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz", |
| | | "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "reusify": "^1.0.4" |
| | | } |
| | | }, |
| | | "node_modules/fill-range": { |
| | | "version": "7.0.1", |
| | | "resolved": "https://registry.npmmirror.com/fill-range/-/fill-range-7.0.1.tgz", |
| | | "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "to-regex-range": "^5.0.1" |
| | | }, |
| | | "engines": { |
| | | "node": ">=8" |
| | | } |
| | | }, |
| | | "node_modules/follow-redirects": { |
| | | "version": "1.15.2", |
| | | "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", |
| | | "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==", |
| | | "engines": { |
| | | "node": ">=4.0" |
| | | }, |
| | | "peerDependenciesMeta": { |
| | | "debug": { |
| | | "optional": true |
| | | } |
| | | } |
| | | }, |
| | | "node_modules/form-data": { |
| | | "version": "4.0.0", |
| | | "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", |
| | | "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", |
| | | "dependencies": { |
| | | "asynckit": "^0.4.0", |
| | | "combined-stream": "^1.0.8", |
| | | "mime-types": "^2.1.12" |
| | | }, |
| | | "engines": { |
| | | "node": ">= 6" |
| | | } |
| | | }, |
| | | "node_modules/fsevents": { |
| | | "version": "2.3.2", |
| | | "resolved": "https://registry.npmmirror.com/fsevents/-/fsevents-2.3.2.tgz", |
| | | "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", |
| | | "dev": true, |
| | | "hasInstallScript": true, |
| | | "optional": true, |
| | | "os": [ |
| | | "darwin" |
| | | ], |
| | | "engines": { |
| | | "node": "^8.16.0 || ^10.6.0 || >=11.0.0" |
| | | } |
| | | }, |
| | | "node_modules/function-bind": { |
| | | "version": "1.1.1", |
| | | "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", |
| | | "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", |
| | | "dev": true |
| | | }, |
| | | "node_modules/gensync": { |
| | | "version": "1.0.0-beta.2", |
| | | "resolved": "https://registry.npmmirror.com/gensync/-/gensync-1.0.0-beta.2.tgz", |
| | | "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", |
| | | "dev": true, |
| | | "engines": { |
| | | "node": ">=6.9.0" |
| | | } |
| | | }, |
| | | "node_modules/glob-parent": { |
| | | "version": "5.1.2", |
| | | "resolved": "https://registry.npmmirror.com/glob-parent/-/glob-parent-5.1.2.tgz", |
| | | "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "is-glob": "^4.0.1" |
| | | }, |
| | | "engines": { |
| | | "node": ">= 6" |
| | | } |
| | | }, |
| | | "node_modules/globals": { |
| | | "version": "11.12.0", |
| | | "resolved": "https://registry.npmmirror.com/globals/-/globals-11.12.0.tgz", |
| | | "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", |
| | | "dev": true, |
| | | "engines": { |
| | | "node": ">=4" |
| | | } |
| | | }, |
| | | "node_modules/has": { |
| | | "version": "1.0.3", |
| | | "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", |
| | | "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "function-bind": "^1.1.1" |
| | | }, |
| | | "engines": { |
| | | "node": ">= 0.4.0" |
| | | } |
| | | }, |
| | | "node_modules/has-flag": { |
| | | "version": "3.0.0", |
| | | "resolved": "https://registry.npmmirror.com/has-flag/-/has-flag-3.0.0.tgz", |
| | | "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", |
| | | "dev": true, |
| | | "engines": { |
| | | "node": ">=4" |
| | | } |
| | | }, |
| | | "node_modules/html-tags": { |
| | | "version": "3.3.1", |
| | | "resolved": "https://registry.npmmirror.com/html-tags/-/html-tags-3.3.1.tgz", |
| | | "integrity": "sha512-ztqyC3kLto0e9WbNp0aeP+M3kTt+nbaIveGmUxAtZa+8iFgKLUOD4YKM5j+f3QD89bra7UeumolZHKuOXnTmeQ==", |
| | | "dev": true, |
| | | "engines": { |
| | | "node": ">=8" |
| | | } |
| | | }, |
| | | "node_modules/immutable": { |
| | | "version": "4.3.2", |
| | | "resolved": "https://registry.npmmirror.com/immutable/-/immutable-4.3.2.tgz", |
| | | "integrity": "sha512-oGXzbEDem9OOpDWZu88jGiYCvIsLHMvGw+8OXlpsvTFvIQplQbjg1B1cvKg8f7Hoch6+NGjpPsH1Fr+Mc2D1aA==", |
| | | "dev": true |
| | | }, |
| | | "node_modules/is-binary-path": { |
| | | "version": "2.1.0", |
| | | "resolved": "https://registry.npmmirror.com/is-binary-path/-/is-binary-path-2.1.0.tgz", |
| | | "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "binary-extensions": "^2.0.0" |
| | | }, |
| | | "engines": { |
| | | "node": ">=8" |
| | | } |
| | | }, |
| | | "node_modules/is-core-module": { |
| | | "version": "2.13.0", |
| | | "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.0.tgz", |
| | | "integrity": "sha512-Z7dk6Qo8pOCp3l4tsX2C5ZVas4V+UxwQodwZhLopL91TX8UyyHEXafPcyoeeWuLrwzHcr3igO78wNLwHJHsMCQ==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "has": "^1.0.3" |
| | | } |
| | | }, |
| | | "node_modules/is-extglob": { |
| | | "version": "2.1.1", |
| | | "resolved": "https://registry.npmmirror.com/is-extglob/-/is-extglob-2.1.1.tgz", |
| | | "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", |
| | | "dev": true, |
| | | "engines": { |
| | | "node": ">=0.10.0" |
| | | } |
| | | }, |
| | | "node_modules/is-glob": { |
| | | "version": "4.0.3", |
| | | "resolved": "https://registry.npmmirror.com/is-glob/-/is-glob-4.0.3.tgz", |
| | | "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "is-extglob": "^2.1.1" |
| | | }, |
| | | "engines": { |
| | | "node": ">=0.10.0" |
| | | } |
| | | }, |
| | | "node_modules/is-number": { |
| | | "version": "7.0.0", |
| | | "resolved": "https://registry.npmmirror.com/is-number/-/is-number-7.0.0.tgz", |
| | | "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", |
| | | "dev": true, |
| | | "engines": { |
| | | "node": ">=0.12.0" |
| | | } |
| | | }, |
| | | "node_modules/js-tokens": { |
| | | "version": "4.0.0", |
| | | "resolved": "https://registry.npmmirror.com/js-tokens/-/js-tokens-4.0.0.tgz", |
| | | "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", |
| | | "dev": true |
| | | }, |
| | | "node_modules/jsesc": { |
| | | "version": "2.5.2", |
| | | "resolved": "https://registry.npmmirror.com/jsesc/-/jsesc-2.5.2.tgz", |
| | | "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", |
| | | "dev": true, |
| | | "bin": { |
| | | "jsesc": "bin/jsesc" |
| | | }, |
| | | "engines": { |
| | | "node": ">=4" |
| | | } |
| | | }, |
| | | "node_modules/json5": { |
| | | "version": "2.2.3", |
| | | "resolved": "https://registry.npmmirror.com/json5/-/json5-2.2.3.tgz", |
| | | "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", |
| | | "dev": true, |
| | | "bin": { |
| | | "json5": "lib/cli.js" |
| | | }, |
| | | "engines": { |
| | | "node": ">=6" |
| | | } |
| | | }, |
| | | "node_modules/jsonc-parser": { |
| | | "version": "3.2.0", |
| | | "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz", |
| | | "integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==", |
| | | "dev": true |
| | | }, |
| | | "node_modules/local-pkg": { |
| | | "version": "0.4.3", |
| | | "resolved": "https://registry.npmjs.org/local-pkg/-/local-pkg-0.4.3.tgz", |
| | | "integrity": "sha512-SFppqq5p42fe2qcZQqqEOiVRXl+WCP1MdT6k7BDEW1j++sp5fIY+/fdRQitvKgB5BrBcmrs5m/L0v2FrU5MY1g==", |
| | | "dev": true, |
| | | "engines": { |
| | | "node": ">=14" |
| | | } |
| | | }, |
| | | "node_modules/lodash": { |
| | | "version": "4.17.21", |
| | | "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", |
| | | "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" |
| | | }, |
| | | "node_modules/lodash-es": { |
| | | "version": "4.17.21", |
| | | "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", |
| | | "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==" |
| | | }, |
| | | "node_modules/lodash-unified": { |
| | | "version": "1.0.3", |
| | | "resolved": "https://registry.npmjs.org/lodash-unified/-/lodash-unified-1.0.3.tgz", |
| | | "integrity": "sha512-WK9qSozxXOD7ZJQlpSqOT+om2ZfcT4yO+03FuzAHD0wF6S0l0090LRPDx3vhTTLZ8cFKpBn+IOcVXK6qOcIlfQ==", |
| | | "peerDependencies": { |
| | | "@types/lodash-es": "*", |
| | | "lodash": "*", |
| | | "lodash-es": "*" |
| | | } |
| | | }, |
| | | "node_modules/lru-cache": { |
| | | "version": "5.1.1", |
| | | "resolved": "https://registry.npmmirror.com/lru-cache/-/lru-cache-5.1.1.tgz", |
| | | "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "yallist": "^3.0.2" |
| | | } |
| | | }, |
| | | "node_modules/magic-string": { |
| | | "version": "0.30.2", |
| | | "resolved": "https://registry.npmmirror.com/magic-string/-/magic-string-0.30.2.tgz", |
| | | "integrity": "sha512-lNZdu7pewtq/ZvWUp9Wpf/x7WzMTsR26TWV03BRZrXFsv+BI6dy8RAiKgm1uM/kyR0rCfUcqvOlXKG66KhIGug==", |
| | | "dependencies": { |
| | | "@jridgewell/sourcemap-codec": "^1.4.15" |
| | | }, |
| | | "engines": { |
| | | "node": ">=12" |
| | | } |
| | | }, |
| | | "node_modules/memoize-one": { |
| | | "version": "6.0.0", |
| | | "resolved": "https://registry.npmjs.org/memoize-one/-/memoize-one-6.0.0.tgz", |
| | | "integrity": "sha512-rkpe71W0N0c0Xz6QD0eJETuWAJGnJ9afsl1srmwPrI+yBCkge5EycXXbYRyvL29zZVUWQCY7InPRCv3GDXuZNw==" |
| | | }, |
| | | "node_modules/merge2": { |
| | | "version": "1.4.1", |
| | | "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", |
| | | "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", |
| | | "dev": true, |
| | | "engines": { |
| | | "node": ">= 8" |
| | | } |
| | | }, |
| | | "node_modules/micromatch": { |
| | | "version": "4.0.5", |
| | | "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", |
| | | "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "braces": "^3.0.2", |
| | | "picomatch": "^2.3.1" |
| | | }, |
| | | "engines": { |
| | | "node": ">=8.6" |
| | | } |
| | | }, |
| | | "node_modules/mime-db": { |
| | | "version": "1.52.0", |
| | | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", |
| | | "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", |
| | | "engines": { |
| | | "node": ">= 0.6" |
| | | } |
| | | }, |
| | | "node_modules/mime-types": { |
| | | "version": "2.1.35", |
| | | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", |
| | | "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", |
| | | "dependencies": { |
| | | "mime-db": "1.52.0" |
| | | }, |
| | | "engines": { |
| | | "node": ">= 0.6" |
| | | } |
| | | }, |
| | | "node_modules/minimatch": { |
| | | "version": "9.0.3", |
| | | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", |
| | | "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "brace-expansion": "^2.0.1" |
| | | }, |
| | | "engines": { |
| | | "node": ">=16 || 14 >=14.17" |
| | | } |
| | | }, |
| | | "node_modules/mlly": { |
| | | "version": "1.4.0", |
| | | "resolved": "https://registry.npmjs.org/mlly/-/mlly-1.4.0.tgz", |
| | | "integrity": "sha512-ua8PAThnTwpprIaU47EPeZ/bPUVp2QYBbWMphUQpVdBI3Lgqzm5KZQ45Agm3YJedHXaIHl6pBGabaLSUPPSptg==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "acorn": "^8.9.0", |
| | | "pathe": "^1.1.1", |
| | | "pkg-types": "^1.0.3", |
| | | "ufo": "^1.1.2" |
| | | } |
| | | }, |
| | | "node_modules/ms": { |
| | | "version": "2.1.2", |
| | | "resolved": "https://registry.npmmirror.com/ms/-/ms-2.1.2.tgz", |
| | | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", |
| | | "dev": true |
| | | }, |
| | | "node_modules/nanoid": { |
| | | "version": "3.3.6", |
| | | "resolved": "https://registry.npmmirror.com/nanoid/-/nanoid-3.3.6.tgz", |
| | | "integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==", |
| | | "bin": { |
| | | "nanoid": "bin/nanoid.cjs" |
| | | }, |
| | | "engines": { |
| | | "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" |
| | | } |
| | | }, |
| | | "node_modules/node-releases": { |
| | | "version": "2.0.13", |
| | | "resolved": "https://registry.npmmirror.com/node-releases/-/node-releases-2.0.13.tgz", |
| | | "integrity": "sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ==", |
| | | "dev": true |
| | | }, |
| | | "node_modules/normalize-path": { |
| | | "version": "3.0.0", |
| | | "resolved": "https://registry.npmmirror.com/normalize-path/-/normalize-path-3.0.0.tgz", |
| | | "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", |
| | | "dev": true, |
| | | "engines": { |
| | | "node": ">=0.10.0" |
| | | } |
| | | }, |
| | | "node_modules/normalize-wheel-es": { |
| | | "version": "1.2.0", |
| | | "resolved": "https://registry.npmjs.org/normalize-wheel-es/-/normalize-wheel-es-1.2.0.tgz", |
| | | "integrity": "sha512-Wj7+EJQ8mSuXr2iWfnujrimU35R2W4FAErEyTmJoJ7ucwTn2hOUSsRehMb5RSYkxXGTM7Y9QpvPmp++w5ftoJw==" |
| | | }, |
| | | "node_modules/path-parse": { |
| | | "version": "1.0.7", |
| | | "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", |
| | | "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", |
| | | "dev": true |
| | | }, |
| | | "node_modules/pathe": { |
| | | "version": "1.1.1", |
| | | "resolved": "https://registry.npmjs.org/pathe/-/pathe-1.1.1.tgz", |
| | | "integrity": "sha512-d+RQGp0MAYTIaDBIMmOfMwz3E+LOZnxx1HZd5R18mmCZY0QBlK0LDZfPc8FW8Ed2DlvsuE6PRjroDY+wg4+j/Q==", |
| | | "dev": true |
| | | }, |
| | | "node_modules/picocolors": { |
| | | "version": "1.0.0", |
| | | "resolved": "https://registry.npmmirror.com/picocolors/-/picocolors-1.0.0.tgz", |
| | | "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==" |
| | | }, |
| | | "node_modules/picomatch": { |
| | | "version": "2.3.1", |
| | | "resolved": "https://registry.npmmirror.com/picomatch/-/picomatch-2.3.1.tgz", |
| | | "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", |
| | | "dev": true, |
| | | "engines": { |
| | | "node": ">=8.6" |
| | | } |
| | | }, |
| | | "node_modules/pinia": { |
| | | "version": "2.1.6", |
| | | "resolved": "https://registry.npmmirror.com/pinia/-/pinia-2.1.6.tgz", |
| | | "integrity": "sha512-bIU6QuE5qZviMmct5XwCesXelb5VavdOWKWaB17ggk++NUwQWWbP5YnsONTk3b752QkW9sACiR81rorpeOMSvQ==", |
| | | "dependencies": { |
| | | "@vue/devtools-api": "^6.5.0", |
| | | "vue-demi": ">=0.14.5" |
| | | }, |
| | | "peerDependencies": { |
| | | "@vue/composition-api": "^1.4.0", |
| | | "typescript": ">=4.4.4", |
| | | "vue": "^2.6.14 || ^3.3.0" |
| | | }, |
| | | "peerDependenciesMeta": { |
| | | "@vue/composition-api": { |
| | | "optional": true |
| | | }, |
| | | "typescript": { |
| | | "optional": true |
| | | } |
| | | } |
| | | }, |
| | | "node_modules/pinia/node_modules/vue-demi": { |
| | | "version": "0.14.5", |
| | | "resolved": "https://registry.npmmirror.com/vue-demi/-/vue-demi-0.14.5.tgz", |
| | | "integrity": "sha512-o9NUVpl/YlsGJ7t+xuqJKx8EBGf1quRhCiT6D/J0pfwmk9zUwYkC7yrF4SZCe6fETvSM3UNL2edcbYrSyc4QHA==", |
| | | "hasInstallScript": true, |
| | | "bin": { |
| | | "vue-demi-fix": "bin/vue-demi-fix.js", |
| | | "vue-demi-switch": "bin/vue-demi-switch.js" |
| | | }, |
| | | "engines": { |
| | | "node": ">=12" |
| | | }, |
| | | "peerDependencies": { |
| | | "@vue/composition-api": "^1.0.0-rc.1", |
| | | "vue": "^3.0.0-0 || ^2.6.0" |
| | | }, |
| | | "peerDependenciesMeta": { |
| | | "@vue/composition-api": { |
| | | "optional": true |
| | | } |
| | | } |
| | | }, |
| | | "node_modules/pkg-types": { |
| | | "version": "1.0.3", |
| | | "resolved": "https://registry.npmjs.org/pkg-types/-/pkg-types-1.0.3.tgz", |
| | | "integrity": "sha512-nN7pYi0AQqJnoLPC9eHFQ8AcyaixBUOwvqc5TDnIKCMEE6I0y8P7OKA7fPexsXGCGxQDl/cmrLAp26LhcwxZ4A==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "jsonc-parser": "^3.2.0", |
| | | "mlly": "^1.2.0", |
| | | "pathe": "^1.1.0" |
| | | } |
| | | }, |
| | | "node_modules/postcss": { |
| | | "version": "8.4.28", |
| | | "resolved": "https://registry.npmmirror.com/postcss/-/postcss-8.4.28.tgz", |
| | | "integrity": "sha512-Z7V5j0cq8oEKyejIKfpD8b4eBy9cwW2JWPk0+fB1HOAMsfHbnAXLLS+PfVWlzMSLQaWttKDt607I0XHmpE67Vw==", |
| | | "dependencies": { |
| | | "nanoid": "^3.3.6", |
| | | "picocolors": "^1.0.0", |
| | | "source-map-js": "^1.0.2" |
| | | }, |
| | | "engines": { |
| | | "node": "^10 || ^12 || >=14" |
| | | } |
| | | }, |
| | | "node_modules/proxy-from-env": { |
| | | "version": "1.1.0", |
| | | "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", |
| | | "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" |
| | | }, |
| | | "node_modules/queue-microtask": { |
| | | "version": "1.2.3", |
| | | "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", |
| | | "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", |
| | | "dev": true |
| | | }, |
| | | "node_modules/readdirp": { |
| | | "version": "3.6.0", |
| | | "resolved": "https://registry.npmmirror.com/readdirp/-/readdirp-3.6.0.tgz", |
| | | "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "picomatch": "^2.2.1" |
| | | }, |
| | | "engines": { |
| | | "node": ">=8.10.0" |
| | | } |
| | | }, |
| | | "node_modules/resolve": { |
| | | "version": "1.22.4", |
| | | "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.4.tgz", |
| | | "integrity": "sha512-PXNdCiPqDqeUou+w1C2eTQbNfxKSuMxqTCuvlmmMsk1NWHL5fRrhY6Pl0qEYYc6+QqGClco1Qj8XnjPego4wfg==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "is-core-module": "^2.13.0", |
| | | "path-parse": "^1.0.7", |
| | | "supports-preserve-symlinks-flag": "^1.0.0" |
| | | }, |
| | | "bin": { |
| | | "resolve": "bin/resolve" |
| | | } |
| | | }, |
| | | "node_modules/reusify": { |
| | | "version": "1.0.4", |
| | | "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", |
| | | "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", |
| | | "dev": true, |
| | | "engines": { |
| | | "iojs": ">=1.0.0", |
| | | "node": ">=0.10.0" |
| | | } |
| | | }, |
| | | "node_modules/rollup": { |
| | | "version": "3.28.0", |
| | | "resolved": "https://registry.npmmirror.com/rollup/-/rollup-3.28.0.tgz", |
| | | "integrity": "sha512-d7zhvo1OUY2SXSM6pfNjgD5+d0Nz87CUp4mt8l/GgVP3oBsPwzNvSzyu1me6BSG9JIgWNTVcafIXBIyM8yQ3yw==", |
| | | "dev": true, |
| | | "bin": { |
| | | "rollup": "dist/bin/rollup" |
| | | }, |
| | | "engines": { |
| | | "node": ">=14.18.0", |
| | | "npm": ">=8.0.0" |
| | | }, |
| | | "optionalDependencies": { |
| | | "fsevents": "~2.3.2" |
| | | } |
| | | }, |
| | | "node_modules/run-parallel": { |
| | | "version": "1.2.0", |
| | | "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", |
| | | "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "queue-microtask": "^1.2.2" |
| | | } |
| | | }, |
| | | "node_modules/sass": { |
| | | "version": "1.66.1", |
| | | "resolved": "https://registry.npmmirror.com/sass/-/sass-1.66.1.tgz", |
| | | "integrity": "sha512-50c+zTsZOJVgFfTgwwEzkjA3/QACgdNsKueWPyAR0mRINIvLAStVQBbPg14iuqEQ74NPDbXzJARJ/O4SI1zftA==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "chokidar": ">=3.0.0 <4.0.0", |
| | | "immutable": "^4.0.0", |
| | | "source-map-js": ">=0.6.2 <2.0.0" |
| | | }, |
| | | "bin": { |
| | | "sass": "sass.js" |
| | | }, |
| | | "engines": { |
| | | "node": ">=14.0.0" |
| | | } |
| | | }, |
| | | "node_modules/scule": { |
| | | "version": "1.0.0", |
| | | "resolved": "https://registry.npmjs.org/scule/-/scule-1.0.0.tgz", |
| | | "integrity": "sha512-4AsO/FrViE/iDNEPaAQlb77tf0csuq27EsVpy6ett584EcRTp6pTDLoGWVxCD77y5iU5FauOvhsI4o1APwPoSQ==", |
| | | "dev": true |
| | | }, |
| | | "node_modules/semver": { |
| | | "version": "6.3.1", |
| | | "resolved": "https://registry.npmmirror.com/semver/-/semver-6.3.1.tgz", |
| | | "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", |
| | | "dev": true, |
| | | "bin": { |
| | | "semver": "bin/semver.js" |
| | | } |
| | | }, |
| | | "node_modules/source-map": { |
| | | "version": "0.6.1", |
| | | "resolved": "https://registry.npmmirror.com/source-map/-/source-map-0.6.1.tgz", |
| | | "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", |
| | | "engines": { |
| | | "node": ">=0.10.0" |
| | | } |
| | | }, |
| | | "node_modules/source-map-js": { |
| | | "version": "1.0.2", |
| | | "resolved": "https://registry.npmmirror.com/source-map-js/-/source-map-js-1.0.2.tgz", |
| | | "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==", |
| | | "engines": { |
| | | "node": ">=0.10.0" |
| | | } |
| | | }, |
| | | "node_modules/source-map-support": { |
| | | "version": "0.5.21", |
| | | "resolved": "https://registry.npmmirror.com/source-map-support/-/source-map-support-0.5.21.tgz", |
| | | "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", |
| | | "dependencies": { |
| | | "buffer-from": "^1.0.0", |
| | | "source-map": "^0.6.0" |
| | | } |
| | | }, |
| | | "node_modules/strip-literal": { |
| | | "version": "1.3.0", |
| | | "resolved": "https://registry.npmjs.org/strip-literal/-/strip-literal-1.3.0.tgz", |
| | | "integrity": "sha512-PugKzOsyXpArk0yWmUwqOZecSO0GH0bPoctLcqNDH9J04pVW3lflYE0ujElBGTloevcxF5MofAOZ7C5l2b+wLg==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "acorn": "^8.10.0" |
| | | } |
| | | }, |
| | | "node_modules/supports-color": { |
| | | "version": "5.5.0", |
| | | "resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-5.5.0.tgz", |
| | | "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "has-flag": "^3.0.0" |
| | | }, |
| | | "engines": { |
| | | "node": ">=4" |
| | | } |
| | | }, |
| | | "node_modules/supports-preserve-symlinks-flag": { |
| | | "version": "1.0.0", |
| | | "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", |
| | | "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", |
| | | "dev": true, |
| | | "engines": { |
| | | "node": ">= 0.4" |
| | | } |
| | | }, |
| | | "node_modules/svg-tags": { |
| | | "version": "1.0.0", |
| | | "resolved": "https://registry.npmmirror.com/svg-tags/-/svg-tags-1.0.0.tgz", |
| | | "integrity": "sha512-ovssysQTa+luh7A5Weu3Rta6FJlFBBbInjOh722LIt6klpU2/HtdUbszju/G4devcvk8PGt7FCLv5wftu3THUA==", |
| | | "dev": true |
| | | }, |
| | | "node_modules/terser": { |
| | | "version": "5.19.2", |
| | | "resolved": "https://registry.npmmirror.com/terser/-/terser-5.19.2.tgz", |
| | | "integrity": "sha512-qC5+dmecKJA4cpYxRa5aVkKehYsQKc+AHeKl0Oe62aYjBL8ZA33tTljktDHJSaxxMnbI5ZYw+o/S2DxxLu8OfA==", |
| | | "dependencies": { |
| | | "@jridgewell/source-map": "^0.3.3", |
| | | "acorn": "^8.8.2", |
| | | "commander": "^2.20.0", |
| | | "source-map-support": "~0.5.20" |
| | | }, |
| | | "bin": { |
| | | "terser": "bin/terser" |
| | | }, |
| | | "engines": { |
| | | "node": ">=10" |
| | | } |
| | | }, |
| | | "node_modules/to-fast-properties": { |
| | | "version": "2.0.0", |
| | | "resolved": "https://registry.npmmirror.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz", |
| | | "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==", |
| | | "dev": true, |
| | | "engines": { |
| | | "node": ">=4" |
| | | } |
| | | }, |
| | | "node_modules/to-regex-range": { |
| | | "version": "5.0.1", |
| | | "resolved": "https://registry.npmmirror.com/to-regex-range/-/to-regex-range-5.0.1.tgz", |
| | | "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "is-number": "^7.0.0" |
| | | }, |
| | | "engines": { |
| | | "node": ">=8.0" |
| | | } |
| | | }, |
| | | "node_modules/tslib": { |
| | | "version": "2.3.0", |
| | | "resolved": "https://registry.npmmirror.com/tslib/-/tslib-2.3.0.tgz", |
| | | "integrity": "sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg==" |
| | | }, |
| | | "node_modules/ufo": { |
| | | "version": "1.2.0", |
| | | "resolved": "https://registry.npmjs.org/ufo/-/ufo-1.2.0.tgz", |
| | | "integrity": "sha512-RsPyTbqORDNDxqAdQPQBpgqhWle1VcTSou/FraClYlHf6TZnQcGslpLcAphNR+sQW4q5lLWLbOsRlh9j24baQg==", |
| | | "dev": true |
| | | }, |
| | | "node_modules/unimport": { |
| | | "version": "3.1.3", |
| | | "resolved": "https://registry.npmjs.org/unimport/-/unimport-3.1.3.tgz", |
| | | "integrity": "sha512-up4TE2yA+nMyyErGTjbYGVw95MriGa2hVRXQ3/JRp7984cwwqULcnBjHaovVpsO8tZc2j0fvgGu9yiBKOyxvYw==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "@rollup/pluginutils": "^5.0.2", |
| | | "escape-string-regexp": "^5.0.0", |
| | | "fast-glob": "^3.3.1", |
| | | "local-pkg": "^0.4.3", |
| | | "magic-string": "^0.30.2", |
| | | "mlly": "^1.4.0", |
| | | "pathe": "^1.1.1", |
| | | "pkg-types": "^1.0.3", |
| | | "scule": "^1.0.0", |
| | | "strip-literal": "^1.3.0", |
| | | "unplugin": "^1.4.0" |
| | | } |
| | | }, |
| | | "node_modules/unimport/node_modules/escape-string-regexp": { |
| | | "version": "5.0.0", |
| | | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", |
| | | "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==", |
| | | "dev": true, |
| | | "engines": { |
| | | "node": ">=12" |
| | | } |
| | | }, |
| | | "node_modules/unplugin": { |
| | | "version": "1.4.0", |
| | | "resolved": "https://registry.npmjs.org/unplugin/-/unplugin-1.4.0.tgz", |
| | | "integrity": "sha512-5x4eIEL6WgbzqGtF9UV8VEC/ehKptPXDS6L2b0mv4FRMkJxRtjaJfOWDd6a8+kYbqsjklix7yWP0N3SUepjXcg==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "acorn": "^8.9.0", |
| | | "chokidar": "^3.5.3", |
| | | "webpack-sources": "^3.2.3", |
| | | "webpack-virtual-modules": "^0.5.0" |
| | | } |
| | | }, |
| | | "node_modules/unplugin-auto-import": { |
| | | "version": "0.16.6", |
| | | "resolved": "https://registry.npmjs.org/unplugin-auto-import/-/unplugin-auto-import-0.16.6.tgz", |
| | | "integrity": "sha512-M+YIITkx3C/Hg38hp8HmswP5mShUUyJOzpifv7RTlAbeFlO2Tyw0pwrogSSxnipHDPTtI8VHFBpkYkNKzYSuyA==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "@antfu/utils": "^0.7.5", |
| | | "@rollup/pluginutils": "^5.0.2", |
| | | "fast-glob": "^3.3.0", |
| | | "local-pkg": "^0.4.3", |
| | | "magic-string": "^0.30.1", |
| | | "minimatch": "^9.0.2", |
| | | "unimport": "^3.0.14", |
| | | "unplugin": "^1.3.2" |
| | | }, |
| | | "engines": { |
| | | "node": ">=14" |
| | | }, |
| | | "peerDependencies": { |
| | | "@nuxt/kit": "^3.2.2", |
| | | "@vueuse/core": "*" |
| | | }, |
| | | "peerDependenciesMeta": { |
| | | "@nuxt/kit": { |
| | | "optional": true |
| | | }, |
| | | "@vueuse/core": { |
| | | "optional": true |
| | | } |
| | | } |
| | | }, |
| | | "node_modules/unplugin-vue-components": { |
| | | "version": "0.25.1", |
| | | "resolved": "https://registry.npmjs.org/unplugin-vue-components/-/unplugin-vue-components-0.25.1.tgz", |
| | | "integrity": "sha512-kzS2ZHVMaGU2XEO2keYQcMjNZkanDSGDdY96uQT9EPe+wqSZwwgbFfKVJ5ti0+8rGAcKHColwKUvctBhq2LJ3A==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "@antfu/utils": "^0.7.4", |
| | | "@rollup/pluginutils": "^5.0.2", |
| | | "chokidar": "^3.5.3", |
| | | "debug": "^4.3.4", |
| | | "fast-glob": "^3.2.12", |
| | | "local-pkg": "^0.4.3", |
| | | "magic-string": "^0.30.0", |
| | | "minimatch": "^9.0.1", |
| | | "resolve": "^1.22.2", |
| | | "unplugin": "^1.3.1" |
| | | }, |
| | | "engines": { |
| | | "node": ">=14" |
| | | }, |
| | | "peerDependencies": { |
| | | "@babel/parser": "^7.15.8", |
| | | "@nuxt/kit": "^3.2.2", |
| | | "vue": "2 || 3" |
| | | }, |
| | | "peerDependenciesMeta": { |
| | | "@babel/parser": { |
| | | "optional": true |
| | | }, |
| | | "@nuxt/kit": { |
| | | "optional": true |
| | | } |
| | | } |
| | | }, |
| | | "node_modules/update-browserslist-db": { |
| | | "version": "1.0.11", |
| | | "resolved": "https://registry.npmmirror.com/update-browserslist-db/-/update-browserslist-db-1.0.11.tgz", |
| | | "integrity": "sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "escalade": "^3.1.1", |
| | | "picocolors": "^1.0.0" |
| | | }, |
| | | "bin": { |
| | | "update-browserslist-db": "cli.js" |
| | | }, |
| | | "peerDependencies": { |
| | | "browserslist": ">= 4.21.0" |
| | | } |
| | | }, |
| | | "node_modules/vite": { |
| | | "version": "4.4.9", |
| | | "resolved": "https://registry.npmmirror.com/vite/-/vite-4.4.9.tgz", |
| | | "integrity": "sha512-2mbUn2LlUmNASWwSCNSJ/EG2HuSRTnVNaydp6vMCm5VIqJsjMfbIWtbH2kDuwUVW5mMUKKZvGPX/rqeqVvv1XA==", |
| | | "dev": true, |
| | | "dependencies": { |
| | | "esbuild": "^0.18.10", |
| | | "postcss": "^8.4.27", |
| | | "rollup": "^3.27.1" |
| | | }, |
| | | "bin": { |
| | | "vite": "bin/vite.js" |
| | | }, |
| | | "engines": { |
| | | "node": "^14.18.0 || >=16.0.0" |
| | | }, |
| | | "optionalDependencies": { |
| | | "fsevents": "~2.3.2" |
| | | }, |
| | | "peerDependencies": { |
| | | "@types/node": ">= 14", |
| | | "less": "*", |
| | | "lightningcss": "^1.21.0", |
| | | "sass": "*", |
| | | "stylus": "*", |
| | | "sugarss": "*", |
| | | "terser": "^5.4.0" |
| | | }, |
| | | "peerDependenciesMeta": { |
| | | "@types/node": { |
| | | "optional": true |
| | | }, |
| | | "less": { |
| | | "optional": true |
| | | }, |
| | | "lightningcss": { |
| | | "optional": true |
| | | }, |
| | | "sass": { |
| | | "optional": true |
| | | }, |
| | | "stylus": { |
| | | "optional": true |
| | | }, |
| | | "sugarss": { |
| | | "optional": true |
| | | }, |
| | | "terser": { |
| | | "optional": true |
| | | } |
| | | } |
| | | }, |
| | | "node_modules/vue": { |
| | | "version": "3.3.4", |
| | | "resolved": "https://registry.npmmirror.com/vue/-/vue-3.3.4.tgz", |
| | | "integrity": "sha512-VTyEYn3yvIeY1Py0WaYGZsXnz3y5UnGi62GjVEqvEGPl6nxbOrCXbVOTQWBEJUqAyTUk2uJ5JLVnYJ6ZzGbrSw==", |
| | | "dependencies": { |
| | | "@vue/compiler-dom": "3.3.4", |
| | | "@vue/compiler-sfc": "3.3.4", |
| | | "@vue/runtime-dom": "3.3.4", |
| | | "@vue/server-renderer": "3.3.4", |
| | | "@vue/shared": "3.3.4" |
| | | } |
| | | }, |
| | | "node_modules/vue-router": { |
| | | "version": "4.2.4", |
| | | "resolved": "https://registry.npmmirror.com/vue-router/-/vue-router-4.2.4.tgz", |
| | | "integrity": "sha512-9PISkmaCO02OzPVOMq2w82ilty6+xJmQrarYZDkjZBfl4RvYAlt4PKnEX21oW4KTtWfa9OuO/b3qk1Od3AEdCQ==", |
| | | "dependencies": { |
| | | "@vue/devtools-api": "^6.5.0" |
| | | }, |
| | | "peerDependencies": { |
| | | "vue": "^3.2.0" |
| | | } |
| | | }, |
| | | "node_modules/webpack-sources": { |
| | | "version": "3.2.3", |
| | | "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.3.tgz", |
| | | "integrity": "sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==", |
| | | "dev": true, |
| | | "engines": { |
| | | "node": ">=10.13.0" |
| | | } |
| | | }, |
| | | "node_modules/webpack-virtual-modules": { |
| | | "version": "0.5.0", |
| | | "resolved": "https://registry.npmjs.org/webpack-virtual-modules/-/webpack-virtual-modules-0.5.0.tgz", |
| | | "integrity": "sha512-kyDivFZ7ZM0BVOUteVbDFhlRt7Ah/CSPwJdi8hBpkK7QLumUqdLtVfm/PX/hkcnrvr0i77fO5+TjZ94Pe+C9iw==", |
| | | "dev": true |
| | | }, |
| | | "node_modules/yallist": { |
| | | "version": "3.1.1", |
| | | "resolved": "https://registry.npmmirror.com/yallist/-/yallist-3.1.1.tgz", |
| | | "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", |
| | | "dev": true |
| | | }, |
| | | "node_modules/zrender": { |
| | | "version": "5.4.4", |
| | | "resolved": "https://registry.npmmirror.com/zrender/-/zrender-5.4.4.tgz", |
| | | "integrity": "sha512-0VxCNJ7AGOMCWeHVyTrGzUgrK4asT4ml9PEkeGirAkKNYXYzoPJCLvmyfdoOXcjTHPs10OZVMfD1Rwg16AZyYw==", |
| | | "dependencies": { |
| | | "tslib": "2.3.0" |
| | | } |
| | | } |
| | | }, |
| | | "dependencies": { |
| | | "@ampproject/remapping": { |
| | | "version": "2.2.1", |
| | |
| | | "@element-plus/icons-vue": { |
| | | "version": "2.1.0", |
| | | "resolved": "https://registry.npmjs.org/@element-plus/icons-vue/-/icons-vue-2.1.0.tgz", |
| | | "integrity": "sha512-PSBn3elNoanENc1vnCfh+3WA9fimRC7n+fWkf3rE5jvv+aBohNHABC/KAR5KWPecxWxDTVT1ERpRbOMRcOV/vA==", |
| | | "requires": {} |
| | | "integrity": "sha512-PSBn3elNoanENc1vnCfh+3WA9fimRC7n+fWkf3rE5jvv+aBohNHABC/KAR5KWPecxWxDTVT1ERpRbOMRcOV/vA==" |
| | | }, |
| | | "@esbuild/android-arm": { |
| | | "version": "0.18.20", |
| | |
| | | "version": "0.3.3", |
| | | "resolved": "https://registry.npmmirror.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", |
| | | "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", |
| | | "dev": true, |
| | | "requires": { |
| | | "@jridgewell/set-array": "^1.0.1", |
| | | "@jridgewell/sourcemap-codec": "^1.4.10", |
| | |
| | | "@jridgewell/resolve-uri": { |
| | | "version": "3.1.1", |
| | | "resolved": "https://registry.npmmirror.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz", |
| | | "integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==" |
| | | "integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==", |
| | | "dev": true |
| | | }, |
| | | "@jridgewell/set-array": { |
| | | "version": "1.1.2", |
| | | "resolved": "https://registry.npmmirror.com/@jridgewell/set-array/-/set-array-1.1.2.tgz", |
| | | "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==" |
| | | "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", |
| | | "dev": true |
| | | }, |
| | | "@jridgewell/source-map": { |
| | | "version": "0.3.5", |
| | | "resolved": "https://registry.npmmirror.com/@jridgewell/source-map/-/source-map-0.3.5.tgz", |
| | | "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.5.tgz", |
| | | "integrity": "sha512-UTYAUj/wviwdsMfzoSJspJxbkH5o1snzwX0//0ENX1u/55kkZZkcTZP6u9bwKGkv+dkk9at4m1Cpt0uY80kcpQ==", |
| | | "dev": true, |
| | | "requires": { |
| | | "@jridgewell/gen-mapping": "^0.3.0", |
| | | "@jridgewell/trace-mapping": "^0.3.9" |
| | |
| | | "version": "0.3.19", |
| | | "resolved": "https://registry.npmmirror.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.19.tgz", |
| | | "integrity": "sha512-kf37QtfW+Hwx/buWGMPcR60iF9ziHa6r/CZJIHbmcm4+0qrXiVdxegAH0F6yddEVQ7zdkjcGCgCzUu+BcbhQxw==", |
| | | "dev": true, |
| | | "requires": { |
| | | "@jridgewell/resolve-uri": "^3.1.0", |
| | | "@jridgewell/sourcemap-codec": "^1.4.14" |
| | |
| | | "version": "4.3.1", |
| | | "resolved": "https://registry.npmmirror.com/@vitejs/plugin-vue/-/plugin-vue-4.3.1.tgz", |
| | | "integrity": "sha512-tUBEtWcF7wFtII7ayNiLNDTCE1X1afySEo+XNVMNkFXaThENyCowIEX095QqbJZGTgoOcSVDJGlnde2NG4jtbQ==", |
| | | "dev": true, |
| | | "requires": {} |
| | | "dev": true |
| | | }, |
| | | "@vitejs/plugin-vue-jsx": { |
| | | "version": "3.0.2", |
| | |
| | | "vue-demi": { |
| | | "version": "0.14.5", |
| | | "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.5.tgz", |
| | | "integrity": "sha512-o9NUVpl/YlsGJ7t+xuqJKx8EBGf1quRhCiT6D/J0pfwmk9zUwYkC7yrF4SZCe6fETvSM3UNL2edcbYrSyc4QHA==", |
| | | "requires": {} |
| | | "integrity": "sha512-o9NUVpl/YlsGJ7t+xuqJKx8EBGf1quRhCiT6D/J0pfwmk9zUwYkC7yrF4SZCe6fETvSM3UNL2edcbYrSyc4QHA==" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "vue-demi": { |
| | | "version": "0.14.5", |
| | | "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.5.tgz", |
| | | "integrity": "sha512-o9NUVpl/YlsGJ7t+xuqJKx8EBGf1quRhCiT6D/J0pfwmk9zUwYkC7yrF4SZCe6fETvSM3UNL2edcbYrSyc4QHA==", |
| | | "requires": {} |
| | | "integrity": "sha512-o9NUVpl/YlsGJ7t+xuqJKx8EBGf1quRhCiT6D/J0pfwmk9zUwYkC7yrF4SZCe6fETvSM3UNL2edcbYrSyc4QHA==" |
| | | } |
| | | } |
| | | }, |
| | | "acorn": { |
| | | "version": "8.10.0", |
| | | "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.10.0.tgz", |
| | | "integrity": "sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==" |
| | | "integrity": "sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==", |
| | | "dev": true |
| | | }, |
| | | "ansi-styles": { |
| | | "version": "3.2.1", |
| | |
| | | }, |
| | | "buffer-from": { |
| | | "version": "1.1.2", |
| | | "resolved": "https://registry.npmmirror.com/buffer-from/-/buffer-from-1.1.2.tgz", |
| | | "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==" |
| | | "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", |
| | | "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", |
| | | "dev": true |
| | | }, |
| | | "camelcase": { |
| | | "version": "6.3.0", |
| | |
| | | }, |
| | | "commander": { |
| | | "version": "2.20.3", |
| | | "resolved": "https://registry.npmmirror.com/commander/-/commander-2.20.3.tgz", |
| | | "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" |
| | | "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", |
| | | "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", |
| | | "dev": true |
| | | }, |
| | | "convert-source-map": { |
| | | "version": "1.9.0", |
| | |
| | | "lodash-unified": { |
| | | "version": "1.0.3", |
| | | "resolved": "https://registry.npmjs.org/lodash-unified/-/lodash-unified-1.0.3.tgz", |
| | | "integrity": "sha512-WK9qSozxXOD7ZJQlpSqOT+om2ZfcT4yO+03FuzAHD0wF6S0l0090LRPDx3vhTTLZ8cFKpBn+IOcVXK6qOcIlfQ==", |
| | | "requires": {} |
| | | "integrity": "sha512-WK9qSozxXOD7ZJQlpSqOT+om2ZfcT4yO+03FuzAHD0wF6S0l0090LRPDx3vhTTLZ8cFKpBn+IOcVXK6qOcIlfQ==" |
| | | }, |
| | | "lru-cache": { |
| | | "version": "5.1.1", |
| | |
| | | "vue-demi": { |
| | | "version": "0.14.5", |
| | | "resolved": "https://registry.npmmirror.com/vue-demi/-/vue-demi-0.14.5.tgz", |
| | | "integrity": "sha512-o9NUVpl/YlsGJ7t+xuqJKx8EBGf1quRhCiT6D/J0pfwmk9zUwYkC7yrF4SZCe6fETvSM3UNL2edcbYrSyc4QHA==", |
| | | "requires": {} |
| | | "integrity": "sha512-o9NUVpl/YlsGJ7t+xuqJKx8EBGf1quRhCiT6D/J0pfwmk9zUwYkC7yrF4SZCe6fETvSM3UNL2edcbYrSyc4QHA==" |
| | | } |
| | | } |
| | | }, |
| | |
| | | }, |
| | | "source-map": { |
| | | "version": "0.6.1", |
| | | "resolved": "https://registry.npmmirror.com/source-map/-/source-map-0.6.1.tgz", |
| | | "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" |
| | | "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", |
| | | "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", |
| | | "dev": true |
| | | }, |
| | | "source-map-js": { |
| | | "version": "1.0.2", |
| | |
| | | }, |
| | | "source-map-support": { |
| | | "version": "0.5.21", |
| | | "resolved": "https://registry.npmmirror.com/source-map-support/-/source-map-support-0.5.21.tgz", |
| | | "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", |
| | | "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", |
| | | "dev": true, |
| | | "requires": { |
| | | "buffer-from": "^1.0.0", |
| | | "source-map": "^0.6.0" |
| | |
| | | }, |
| | | "terser": { |
| | | "version": "5.19.2", |
| | | "resolved": "https://registry.npmmirror.com/terser/-/terser-5.19.2.tgz", |
| | | "resolved": "https://registry.npmjs.org/terser/-/terser-5.19.2.tgz", |
| | | "integrity": "sha512-qC5+dmecKJA4cpYxRa5aVkKehYsQKc+AHeKl0Oe62aYjBL8ZA33tTljktDHJSaxxMnbI5ZYw+o/S2DxxLu8OfA==", |
| | | "dev": true, |
| | | "requires": { |
| | | "@jridgewell/source-map": "^0.3.3", |
| | | "acorn": "^8.8.2", |
| | |
| | | "echarts": "^5.4.3", |
| | | "element-plus": "^2.3.9", |
| | | "pinia": "^2.1.4", |
| | | "terser": "^5.19.2", |
| | | "vue": "^3.3.4", |
| | | "vue-router": "^4.2.4" |
| | | }, |
| | |
| | | "@vitejs/plugin-vue": "^4.2.3", |
| | | "@vitejs/plugin-vue-jsx": "^3.0.1", |
| | | "sass": "^1.66.1", |
| | | "terser": "^5.19.2", |
| | | "unplugin-auto-import": "^0.16.6", |
| | | "unplugin-vue-components": "^0.25.1", |
| | | "vite": "^4.4.6" |
¶Ô±ÈÐÂÎļþ |
| | |
| | | !function(){const t=document.createElement("link").relList;if(!(t&&t.supports&&t.supports("modulepreload"))){for(const t of document.querySelectorAll('link[rel="modulepreload"]'))e(t);new MutationObserver((t=>{for(const n of t)if("childList"===n.type)for(const t of n.addedNodes)"LINK"===t.tagName&&"modulepreload"===t.rel&&e(t)})).observe(document,{childList:!0,subtree:!0})}function e(t){if(t.ep)return;t.ep=!0;const e=function(t){const e={};return t.integrity&&(e.integrity=t.integrity),t.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),"use-credentials"===t.crossOrigin?e.credentials="include":"anonymous"===t.crossOrigin?e.credentials="omit":e.credentials="same-origin",e}(t);fetch(t.href,e)}}();function t(t,e){const n=Object.create(null),i=t.split(",");for(let r=0;r<i.length;r++)n[i[r]]=!0;return e?t=>!!n[t.toLowerCase()]:t=>!!n[t]}const e={},n=[],i=()=>{},r=()=>!1,o=/^on[^a-z]/,a=t=>o.test(t),s=t=>t.startsWith("onUpdate:"),l=Object.assign,u=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},c=Object.prototype.hasOwnProperty,h=(t,e)=>c.call(t,e),d=Array.isArray,p=t=>"[object Map]"===b(t),f=t=>"[object Set]"===b(t),g=t=>"function"==typeof t,v=t=>"string"==typeof t,m=t=>"symbol"==typeof t,y=t=>null!==t&&"object"==typeof t,_=t=>y(t)&&g(t.then)&&g(t.catch),x=Object.prototype.toString,b=t=>x.call(t),w=t=>b(t).slice(8,-1),S=t=>"[object Object]"===b(t),M=t=>v(t)&&"NaN"!==t&&"-"!==t[0]&&""+parseInt(t,10)===t,I=t(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),A=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},C=/-(\w)/g,T=A((t=>t.replace(C,((t,e)=>e?e.toUpperCase():"")))),D=/\B([A-Z])/g,k=A((t=>t.replace(D,"-$1").toLowerCase())),L=A((t=>t.charAt(0).toUpperCase()+t.slice(1))),P=A((t=>t?`on${L(t)}`:"")),O=(t,e)=>!Object.is(t,e),E=(t,e)=>{for(let n=0;n<t.length;n++)t[n](e)},R=(t,e,n)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},N=t=>{const e=parseFloat(t);return isNaN(e)?t:e},B=t=>{const e=v(t)?Number(t):NaN;return isNaN(e)?t:e};let z;const V=()=>z||(z="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function F(t){if(d(t)){const e={};for(let n=0;n<t.length;n++){const i=t[n],r=v(i)?U(i):F(i);if(r)for(const t in r)e[t]=r[t]}return e}return v(t)||y(t)?t:void 0}const G=/;(?![^(]*\))/g,H=/:([^]+)/,W=/\/\*[^]*?\*\//g;function U(t){const e={};return t.replace(W,"").split(G).forEach((t=>{if(t){const n=t.split(H);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}function j(t){let e="";if(v(t))e=t;else if(d(t))for(let n=0;n<t.length;n++){const i=j(t[n]);i&&(e+=i+" ")}else if(y(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}function Y(t){if(!t)return null;let{class:e,style:n}=t;return e&&!v(e)&&(t.class=j(e)),n&&(t.style=F(n)),t}const X=t("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function q(t){return!!t||""===t}const Z=t=>v(t)?t:null==t?"":d(t)||y(t)&&(t.toString===x||!g(t.toString))?JSON.stringify(t,K,2):String(t),K=(t,e)=>e&&e.__v_isRef?K(t,e.value):p(e)?{[`Map(${e.size})`]:[...e.entries()].reduce(((t,[e,n])=>(t[`${e} =>`]=n,t)),{})}:f(e)?{[`Set(${e.size})`]:[...e.values()]}:!y(e)||d(e)||S(e)?e:String(e);let $;class J{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=$,!t&&$&&(this.index=($.scopes||($.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const e=$;try{return $=this,t()}finally{$=e}}}on(){$=this}off(){$=this.parent}stop(t){if(this._active){let e,n;for(e=0,n=this.effects.length;e<n;e++)this.effects[e].stop();for(e=0,n=this.cleanups.length;e<n;e++)this.cleanups[e]();if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].stop(!0);if(!this.detached&&this.parent&&!t){const t=this.parent.scopes.pop();t&&t!==this&&(this.parent.scopes[this.index]=t,t.index=this.index)}this.parent=void 0,this._active=!1}}}function Q(t){return new J(t)}function tt(){return $}function et(t){$&&$.cleanups.push(t)}const nt=t=>{const e=new Set(t);return e.w=0,e.n=0,e},it=t=>(t.w&st)>0,rt=t=>(t.n&st)>0,ot=new WeakMap;let at=0,st=1;const lt=30;let ut;const ct=Symbol(""),ht=Symbol("");class dt{constructor(t,e=null,n){this.fn=t,this.scheduler=e,this.active=!0,this.deps=[],this.parent=void 0,function(t,e=$){e&&e.active&&e.effects.push(t)}(this,n)}run(){if(!this.active)return this.fn();let t=ut,e=ft;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=ut,ut=this,ft=!0,st=1<<++at,at<=lt?(({deps:t})=>{if(t.length)for(let e=0;e<t.length;e++)t[e].w|=st})(this):pt(this),this.fn()}finally{at<=lt&&(t=>{const{deps:e}=t;if(e.length){let n=0;for(let i=0;i<e.length;i++){const r=e[i];it(r)&&!rt(r)?r.delete(t):e[n++]=r,r.w&=~st,r.n&=~st}e.length=n}})(this),st=1<<--at,ut=this.parent,ft=e,this.parent=void 0,this.deferStop&&this.stop()}}stop(){ut===this?this.deferStop=!0:this.active&&(pt(this),this.onStop&&this.onStop(),this.active=!1)}}function pt(t){const{deps:e}=t;if(e.length){for(let n=0;n<e.length;n++)e[n].delete(t);e.length=0}}let ft=!0;const gt=[];function vt(){gt.push(ft),ft=!1}function mt(){const t=gt.pop();ft=void 0===t||t}function yt(t,e,n){if(ft&&ut){let e=ot.get(t);e||ot.set(t,e=new Map);let i=e.get(n);i||e.set(n,i=nt()),_t(i)}}function _t(t,e){let n=!1;at<=lt?rt(t)||(t.n|=st,n=!it(t)):n=!t.has(ut),n&&(t.add(ut),ut.deps.push(t))}function xt(t,e,n,i,r,o){const a=ot.get(t);if(!a)return;let s=[];if("clear"===e)s=[...a.values()];else if("length"===n&&d(t)){const t=Number(i);a.forEach(((e,n)=>{("length"===n||n>=t)&&s.push(e)}))}else switch(void 0!==n&&s.push(a.get(n)),e){case"add":d(t)?M(n)&&s.push(a.get("length")):(s.push(a.get(ct)),p(t)&&s.push(a.get(ht)));break;case"delete":d(t)||(s.push(a.get(ct)),p(t)&&s.push(a.get(ht)));break;case"set":p(t)&&s.push(a.get(ct))}if(1===s.length)s[0]&&bt(s[0]);else{const t=[];for(const e of s)e&&t.push(...e);bt(nt(t))}}function bt(t,e){const n=d(t)?t:[...t];for(const i of n)i.computed&&wt(i);for(const i of n)i.computed||wt(i)}function wt(t,e){(t!==ut||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const St=t("__proto__,__v_isRef,__isVue"),Mt=new Set(Object.getOwnPropertyNames(Symbol).filter((t=>"arguments"!==t&&"caller"!==t)).map((t=>Symbol[t])).filter(m)),It=Lt(),At=Lt(!1,!0),Ct=Lt(!0),Tt=Dt();function Dt(){const t={};return["includes","indexOf","lastIndexOf"].forEach((e=>{t[e]=function(...t){const n=ge(this);for(let e=0,r=this.length;e<r;e++)yt(n,0,e+"");const i=n[e](...t);return-1===i||!1===i?n[e](...t.map(ge)):i}})),["push","pop","shift","unshift","splice"].forEach((e=>{t[e]=function(...t){vt();const n=ge(this)[e].apply(this,t);return mt(),n}})),t}function kt(t){const e=ge(this);return yt(e,0,t),e.hasOwnProperty(t)}function Lt(t=!1,e=!1){return function(n,i,r){if("__v_isReactive"===i)return!t;if("__v_isReadonly"===i)return t;if("__v_isShallow"===i)return e;if("__v_raw"===i&&r===(t?e?ae:oe:e?re:ie).get(n))return n;const o=d(n);if(!t){if(o&&h(Tt,i))return Reflect.get(Tt,i,r);if("hasOwnProperty"===i)return kt}const a=Reflect.get(n,i,r);return(m(i)?Mt.has(i):St(i))?a:(t||yt(n,0,i),e?a:be(a)?o&&M(i)?a:a.value:y(a)?t?ue(a):se(a):a)}}function Pt(t=!1){return function(e,n,i,r){let o=e[n];if(de(o)&&be(o)&&!be(i))return!1;if(!t&&(pe(i)||de(i)||(o=ge(o),i=ge(i)),!d(e)&&be(o)&&!be(i)))return o.value=i,!0;const a=d(e)&&M(n)?Number(n)<e.length:h(e,n),s=Reflect.set(e,n,i,r);return e===ge(r)&&(a?O(i,o)&&xt(e,"set",n,i):xt(e,"add",n,i)),s}}const Ot={get:It,set:Pt(),deleteProperty:function(t,e){const n=h(t,e);t[e];const i=Reflect.deleteProperty(t,e);return i&&n&&xt(t,"delete",e,void 0),i},has:function(t,e){const n=Reflect.has(t,e);return m(e)&&Mt.has(e)||yt(t,0,e),n},ownKeys:function(t){return yt(t,0,d(t)?"length":ct),Reflect.ownKeys(t)}},Et={get:Ct,set:(t,e)=>!0,deleteProperty:(t,e)=>!0},Rt=l({},Ot,{get:At,set:Pt(!0)}),Nt=t=>t,Bt=t=>Reflect.getPrototypeOf(t);function zt(t,e,n=!1,i=!1){const r=ge(t=t.__v_raw),o=ge(e);n||(e!==o&&yt(r,0,e),yt(r,0,o));const{has:a}=Bt(r),s=i?Nt:n?ye:me;return a.call(r,e)?s(t.get(e)):a.call(r,o)?s(t.get(o)):void(t!==r&&t.get(e))}function Vt(t,e=!1){const n=this.__v_raw,i=ge(n),r=ge(t);return e||(t!==r&&yt(i,0,t),yt(i,0,r)),t===r?n.has(t):n.has(t)||n.has(r)}function Ft(t,e=!1){return t=t.__v_raw,!e&&yt(ge(t),0,ct),Reflect.get(t,"size",t)}function Gt(t){t=ge(t);const e=ge(this);return Bt(e).has.call(e,t)||(e.add(t),xt(e,"add",t,t)),this}function Ht(t,e){e=ge(e);const n=ge(this),{has:i,get:r}=Bt(n);let o=i.call(n,t);o||(t=ge(t),o=i.call(n,t));const a=r.call(n,t);return n.set(t,e),o?O(e,a)&&xt(n,"set",t,e):xt(n,"add",t,e),this}function Wt(t){const e=ge(this),{has:n,get:i}=Bt(e);let r=n.call(e,t);r||(t=ge(t),r=n.call(e,t)),i&&i.call(e,t);const o=e.delete(t);return r&&xt(e,"delete",t,void 0),o}function Ut(){const t=ge(this),e=0!==t.size,n=t.clear();return e&&xt(t,"clear",void 0,void 0),n}function jt(t,e){return function(n,i){const r=this,o=r.__v_raw,a=ge(o),s=e?Nt:t?ye:me;return!t&&yt(a,0,ct),o.forEach(((t,e)=>n.call(i,s(t),s(e),r)))}}function Yt(t,e,n){return function(...i){const r=this.__v_raw,o=ge(r),a=p(o),s="entries"===t||t===Symbol.iterator&&a,l="keys"===t&&a,u=r[t](...i),c=n?Nt:e?ye:me;return!e&&yt(o,0,l?ht:ct),{next(){const{value:t,done:e}=u.next();return e?{value:t,done:e}:{value:s?[c(t[0]),c(t[1])]:c(t),done:e}},[Symbol.iterator](){return this}}}}function Xt(t){return function(...e){return"delete"!==t&&this}}function qt(){const t={get(t){return zt(this,t)},get size(){return Ft(this)},has:Vt,add:Gt,set:Ht,delete:Wt,clear:Ut,forEach:jt(!1,!1)},e={get(t){return zt(this,t,!1,!0)},get size(){return Ft(this)},has:Vt,add:Gt,set:Ht,delete:Wt,clear:Ut,forEach:jt(!1,!0)},n={get(t){return zt(this,t,!0)},get size(){return Ft(this,!0)},has(t){return Vt.call(this,t,!0)},add:Xt("add"),set:Xt("set"),delete:Xt("delete"),clear:Xt("clear"),forEach:jt(!0,!1)},i={get(t){return zt(this,t,!0,!0)},get size(){return Ft(this,!0)},has(t){return Vt.call(this,t,!0)},add:Xt("add"),set:Xt("set"),delete:Xt("delete"),clear:Xt("clear"),forEach:jt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((r=>{t[r]=Yt(r,!1,!1),n[r]=Yt(r,!0,!1),e[r]=Yt(r,!1,!0),i[r]=Yt(r,!0,!0)})),[t,n,e,i]}const[Zt,Kt,$t,Jt]=qt();function Qt(t,e){const n=e?t?Jt:$t:t?Kt:Zt;return(e,i,r)=>"__v_isReactive"===i?!t:"__v_isReadonly"===i?t:"__v_raw"===i?e:Reflect.get(h(n,i)&&i in e?n:e,i,r)}const te={get:Qt(!1,!1)},ee={get:Qt(!1,!0)},ne={get:Qt(!0,!1)},ie=new WeakMap,re=new WeakMap,oe=new WeakMap,ae=new WeakMap;function se(t){return de(t)?t:ce(t,!1,Ot,te,ie)}function le(t){return ce(t,!1,Rt,ee,re)}function ue(t){return ce(t,!0,Et,ne,oe)}function ce(t,e,n,i,r){if(!y(t))return t;if(t.__v_raw&&(!e||!t.__v_isReactive))return t;const o=r.get(t);if(o)return o;const a=(s=t).__v_skip||!Object.isExtensible(s)?0:function(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(w(s));var s;if(0===a)return t;const l=new Proxy(t,2===a?i:n);return r.set(t,l),l}function he(t){return de(t)?he(t.__v_raw):!(!t||!t.__v_isReactive)}function de(t){return!(!t||!t.__v_isReadonly)}function pe(t){return!(!t||!t.__v_isShallow)}function fe(t){return he(t)||de(t)}function ge(t){const e=t&&t.__v_raw;return e?ge(e):t}function ve(t){return R(t,"__v_skip",!0),t}const me=t=>y(t)?se(t):t,ye=t=>y(t)?ue(t):t;function _e(t){ft&&ut&&_t((t=ge(t)).dep||(t.dep=nt()))}function xe(t,e){const n=(t=ge(t)).dep;n&&bt(n)}function be(t){return!(!t||!0!==t.__v_isRef)}function we(t){return Me(t,!1)}function Se(t){return Me(t,!0)}function Me(t,e){return be(t)?t:new Ie(t,e)}class Ie{constructor(t,e){this.__v_isShallow=e,this.dep=void 0,this.__v_isRef=!0,this._rawValue=e?t:ge(t),this._value=e?t:me(t)}get value(){return _e(this),this._value}set value(t){const e=this.__v_isShallow||pe(t)||de(t);t=e?t:ge(t),O(t,this._rawValue)&&(this._rawValue=t,this._value=e?t:me(t),xe(this))}}function Ae(t){return be(t)?t.value:t}const Ce={get:(t,e,n)=>Ae(Reflect.get(t,e,n)),set:(t,e,n,i)=>{const r=t[e];return be(r)&&!be(n)?(r.value=n,!0):Reflect.set(t,e,n,i)}};function Te(t){return he(t)?t:new Proxy(t,Ce)}function De(t){const e=d(t)?new Array(t.length):{};for(const n in t)e[n]=Oe(t,n);return e}class ke{constructor(t,e,n){this._object=t,this._key=e,this._defaultValue=n,this.__v_isRef=!0}get value(){const t=this._object[this._key];return void 0===t?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return t=ge(this._object),e=this._key,null==(n=ot.get(t))?void 0:n.get(e);var t,e,n}}class Le{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Pe(t,e,n){return be(t)?t:g(t)?new Le(t):y(t)&&arguments.length>1?Oe(t,e,n):we(t)}function Oe(t,e,n){const i=t[e];return be(i)?i:new ke(t,e,n)}class Ee{constructor(t,e,n,i){this._setter=e,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new dt(t,(()=>{this._dirty||(this._dirty=!0,xe(this))})),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=n}get value(){const t=ge(this);return _e(t),!t._dirty&&t._cacheable||(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Re(t,e,n,i){let r;try{r=i?t(...i):t()}catch(o){Be(o,e,n)}return r}function Ne(t,e,n,i){if(g(t)){const r=Re(t,e,n,i);return r&&_(r)&&r.catch((t=>{Be(t,e,n)})),r}const r=[];for(let o=0;o<t.length;o++)r.push(Ne(t[o],e,n,i));return r}function Be(t,e,n,i=!0){e&&e.vnode;if(e){let i=e.parent;const r=e.proxy,o=n;for(;i;){const e=i.ec;if(e)for(let n=0;n<e.length;n++)if(!1===e[n](t,r,o))return;i=i.parent}const a=e.appContext.config.errorHandler;if(a)return void Re(a,null,10,[t,r,o])}!function(t,e,n,i=!0){console.error(t)}(t,0,0,i)}let ze=!1,Ve=!1;const Fe=[];let Ge=0;const He=[];let We=null,Ue=0;const je=Promise.resolve();let Ye=null;function Xe(t){const e=Ye||je;return t?e.then(this?t.bind(this):t):e}function qe(t){Fe.length&&Fe.includes(t,ze&&t.allowRecurse?Ge+1:Ge)||(null==t.id?Fe.push(t):Fe.splice(function(t){let e=Ge+1,n=Fe.length;for(;e<n;){const i=e+n>>>1;Je(Fe[i])<t?e=i+1:n=i}return e}(t.id),0,t),Ze())}function Ze(){ze||Ve||(Ve=!0,Ye=je.then(tn))}function Ke(t,e=(ze?Ge+1:0)){for(;e<Fe.length;e++){const t=Fe[e];t&&t.pre&&(Fe.splice(e,1),e--,t())}}function $e(t){if(He.length){const t=[...new Set(He)];if(He.length=0,We)return void We.push(...t);for(We=t,We.sort(((t,e)=>Je(t)-Je(e))),Ue=0;Ue<We.length;Ue++)We[Ue]();We=null,Ue=0}}const Je=t=>null==t.id?1/0:t.id,Qe=(t,e)=>{const n=Je(t)-Je(e);if(0===n){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function tn(t){Ve=!1,ze=!0,Fe.sort(Qe);try{for(Ge=0;Ge<Fe.length;Ge++){const t=Fe[Ge];t&&!1!==t.active&&Re(t,null,14)}}finally{Ge=0,Fe.length=0,$e(),ze=!1,Ye=null,(Fe.length||He.length)&&tn()}}function en(t,n,...i){if(t.isUnmounted)return;const r=t.vnode.props||e;let o=i;const a=n.startsWith("update:"),s=a&&n.slice(7);if(s&&s in r){const t=`${"modelValue"===s?"model":s}Modifiers`,{number:n,trim:a}=r[t]||e;a&&(o=i.map((t=>v(t)?t.trim():t))),n&&(o=i.map(N))}let l,u=r[l=P(n)]||r[l=P(T(n))];!u&&a&&(u=r[l=P(k(n))]),u&&Ne(u,t,6,o);const c=r[l+"Once"];if(c){if(t.emitted){if(t.emitted[l])return}else t.emitted={};t.emitted[l]=!0,Ne(c,t,6,o)}}function nn(t,e,n=!1){const i=e.emitsCache,r=i.get(t);if(void 0!==r)return r;const o=t.emits;let a={},s=!1;if(!g(t)){const i=t=>{const n=nn(t,e,!0);n&&(s=!0,l(a,n))};!n&&e.mixins.length&&e.mixins.forEach(i),t.extends&&i(t.extends),t.mixins&&t.mixins.forEach(i)}return o||s?(d(o)?o.forEach((t=>a[t]=null)):l(a,o),y(t)&&i.set(t,a),a):(y(t)&&i.set(t,null),null)}function rn(t,e){return!(!t||!a(e))&&(e=e.slice(2).replace(/Once$/,""),h(t,e[0].toLowerCase()+e.slice(1))||h(t,k(e))||h(t,e))}let on=null,an=null;function sn(t){const e=on;return on=t,an=t&&t.type.__scopeId||null,e}function ln(t){an=t}function un(){an=null}function cn(t,e=on,n){if(!e)return t;if(t._n)return t;const i=(...n)=>{i._d&&mr(-1);const r=sn(e);let o;try{o=t(...n)}finally{sn(r),i._d&&mr(1)}return o};return i._n=!0,i._c=!0,i._d=!0,i}function hn(t){const{type:e,vnode:n,proxy:i,withProxy:r,props:o,propsOptions:[a],slots:l,attrs:u,emit:c,render:h,renderCache:d,data:p,setupState:f,ctx:g,inheritAttrs:v}=t;let m,y;const _=sn(t);try{if(4&n.shapeFlag){const t=r||i;m=Or(h.call(t,t,d,o,f,p,g)),y=u}else{const t=e;0,m=Or(t.length>1?t(o,{attrs:u,slots:l,emit:c}):t(o,null)),y=e.props?u:dn(u)}}catch(b){pr.length=0,Be(b,t,1),m=Cr(hr)}let x=m;if(y&&!1!==v){const t=Object.keys(y),{shapeFlag:e}=x;t.length&&7&e&&(a&&t.some(s)&&(y=pn(y,a)),x=Dr(x,y))}return n.dirs&&(x=Dr(x),x.dirs=x.dirs?x.dirs.concat(n.dirs):n.dirs),n.transition&&(x.transition=n.transition),m=x,sn(_),m}const dn=t=>{let e;for(const n in t)("class"===n||"style"===n||a(n))&&((e||(e={}))[n]=t[n]);return e},pn=(t,e)=>{const n={};for(const i in t)s(i)&&i.slice(9)in e||(n[i]=t[i]);return n};function fn(t,e,n){const i=Object.keys(e);if(i.length!==Object.keys(t).length)return!0;for(let r=0;r<i.length;r++){const o=i[r];if(e[o]!==t[o]&&!rn(n,o))return!0}return!1}const gn=t=>t.__isSuspense;const vn={};function mn(t,e,n){return yn(t,e,n)}function yn(t,n,{immediate:r,deep:o,flush:a,onTrack:s,onTrigger:l}=e){var c;const h=tt()===(null==(c=Fr)?void 0:c.scope)?Fr:null;let p,f,v=!1,m=!1;if(be(t)?(p=()=>t.value,v=pe(t)):he(t)?(p=()=>t,o=!0):d(t)?(m=!0,v=t.some((t=>he(t)||pe(t))),p=()=>t.map((t=>be(t)?t.value:he(t)?bn(t):g(t)?Re(t,h,2):void 0))):p=g(t)?n?()=>Re(t,h,2):()=>{if(!h||!h.isUnmounted)return f&&f(),Ne(t,h,3,[_])}:i,n&&o){const t=p;p=()=>bn(t())}let y,_=t=>{f=S.onStop=()=>{Re(t,h,4)}};if(Zr){if(_=i,n?r&&Ne(n,h,3,[p(),m?[]:void 0,_]):p(),"sync"!==a)return i;{const t=ro();y=t.__watcherHandles||(t.__watcherHandles=[])}}let x=m?new Array(t.length).fill(vn):vn;const b=()=>{if(S.active)if(n){const t=S.run();(o||v||(m?t.some(((t,e)=>O(t,x[e]))):O(t,x)))&&(f&&f(),Ne(n,h,3,[t,x===vn?void 0:m&&x[0]===vn?[]:x,_]),x=t)}else S.run()};let w;b.allowRecurse=!!n,"sync"===a?w=b:"post"===a?w=()=>Ji(b,h&&h.suspense):(b.pre=!0,h&&(b.id=h.uid),w=()=>qe(b));const S=new dt(p,w);n?r?b():x=S.run():"post"===a?Ji(S.run.bind(S),h&&h.suspense):S.run();const M=()=>{S.stop(),h&&h.scope&&u(h.scope.effects,S)};return y&&y.push(M),M}function _n(t,e,n){const i=this.proxy,r=v(t)?t.includes(".")?xn(i,t):()=>i[t]:t.bind(i,i);let o;g(e)?o=e:(o=e.handler,n=e);const a=Fr;jr(this);const s=yn(r,o.bind(i),n);return a?jr(a):Yr(),s}function xn(t,e){const n=e.split(".");return()=>{let e=t;for(let t=0;t<n.length&&e;t++)e=e[n[t]];return e}}function bn(t,e){if(!y(t)||t.__v_skip)return t;if((e=e||new Set).has(t))return t;if(e.add(t),be(t))bn(t.value,e);else if(d(t))for(let n=0;n<t.length;n++)bn(t[n],e);else if(f(t)||p(t))t.forEach((t=>{bn(t,e)}));else if(S(t))for(const n in t)bn(t[n],e);return t}function wn(t,n){const i=on;if(null===i)return t;const r=Qr(i)||i.proxy,o=t.dirs||(t.dirs=[]);for(let a=0;a<n.length;a++){let[t,i,s,l=e]=n[a];t&&(g(t)&&(t={mounted:t,updated:t}),t.deep&&bn(i),o.push({dir:t,instance:r,value:i,oldValue:void 0,arg:s,modifiers:l}))}return t}function Sn(t,e,n,i){const r=t.dirs,o=e&&e.dirs;for(let a=0;a<r.length;a++){const s=r[a];o&&(s.oldValue=o[a].value);let l=s.dir[i];l&&(vt(),Ne(l,n,8,[t.el,s,t,e]),mt())}}const Mn=[Function,Array],In={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Mn,onEnter:Mn,onAfterEnter:Mn,onEnterCancelled:Mn,onBeforeLeave:Mn,onLeave:Mn,onAfterLeave:Mn,onLeaveCancelled:Mn,onBeforeAppear:Mn,onAppear:Mn,onAfterAppear:Mn,onAppearCancelled:Mn},An={name:"BaseTransition",props:In,setup(t,{slots:e}){const n=Gr(),i=function(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return qn((()=>{t.isMounted=!0})),$n((()=>{t.isUnmounting=!0})),t}();let r;return()=>{const o=e.default&&Pn(e.default(),!0);if(!o||!o.length)return;let a=o[0];if(o.length>1)for(const t of o)if(t.type!==hr){a=t;break}const s=ge(t),{mode:l}=s;if(i.isLeaving)return Dn(a);const u=kn(a);if(!u)return Dn(a);const c=Tn(u,s,i,n);Ln(u,c);const h=n.subTree,d=h&&kn(h);let p=!1;const{getTransitionKey:f}=u.type;if(f){const t=f();void 0===r?r=t:t!==r&&(r=t,p=!0)}if(d&&d.type!==hr&&(!wr(u,d)||p)){const t=Tn(d,s,i,n);if(Ln(d,t),"out-in"===l)return i.isLeaving=!0,t.afterLeave=()=>{i.isLeaving=!1,!1!==n.update.active&&n.update()},Dn(a);"in-out"===l&&u.type!==hr&&(t.delayLeave=(t,e,n)=>{Cn(i,d)[String(d.key)]=d,t._leaveCb=()=>{e(),t._leaveCb=void 0,delete c.delayedLeave},c.delayedLeave=n})}return a}}};function Cn(t,e){const{leavingVNodes:n}=t;let i=n.get(e.type);return i||(i=Object.create(null),n.set(e.type,i)),i}function Tn(t,e,n,i){const{appear:r,mode:o,persisted:a=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:u,onEnterCancelled:c,onBeforeLeave:h,onLeave:p,onAfterLeave:f,onLeaveCancelled:g,onBeforeAppear:v,onAppear:m,onAfterAppear:y,onAppearCancelled:_}=e,x=String(t.key),b=Cn(n,t),w=(t,e)=>{t&&Ne(t,i,9,e)},S=(t,e)=>{const n=e[1];w(t,e),d(t)?t.every((t=>t.length<=1))&&n():t.length<=1&&n()},M={mode:o,persisted:a,beforeEnter(e){let i=s;if(!n.isMounted){if(!r)return;i=v||s}e._leaveCb&&e._leaveCb(!0);const o=b[x];o&&wr(t,o)&&o.el._leaveCb&&o.el._leaveCb(),w(i,[e])},enter(t){let e=l,i=u,o=c;if(!n.isMounted){if(!r)return;e=m||l,i=y||u,o=_||c}let a=!1;const s=t._enterCb=e=>{a||(a=!0,w(e?o:i,[t]),M.delayedLeave&&M.delayedLeave(),t._enterCb=void 0)};e?S(e,[t,s]):s()},leave(e,i){const r=String(t.key);if(e._enterCb&&e._enterCb(!0),n.isUnmounting)return i();w(h,[e]);let o=!1;const a=e._leaveCb=n=>{o||(o=!0,i(),w(n?g:f,[e]),e._leaveCb=void 0,b[r]===t&&delete b[r])};b[r]=t,p?S(p,[e,a]):a()},clone:t=>Tn(t,e,n,i)};return M}function Dn(t){if(Rn(t))return(t=Dr(t)).children=null,t}function kn(t){return Rn(t)?t.children?t.children[0]:void 0:t}function Ln(t,e){6&t.shapeFlag&&t.component?Ln(t.component.subTree,e):128&t.shapeFlag?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Pn(t,e=!1,n){let i=[],r=0;for(let o=0;o<t.length;o++){let a=t[o];const s=null==n?a.key:String(n)+String(null!=a.key?a.key:o);a.type===ur?(128&a.patchFlag&&r++,i=i.concat(Pn(a.children,e,s))):(e||a.type!==hr)&&i.push(null!=s?Dr(a,{key:s}):a)}if(r>1)for(let o=0;o<i.length;o++)i[o].patchFlag=-2;return i}function On(t,e){return g(t)?(()=>l({name:t.name},e,{setup:t}))():t}const En=t=>!!t.type.__asyncLoader,Rn=t=>t.type.__isKeepAlive,Nn={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(t,{slots:e}){const n=Gr(),i=n.ctx;if(!i.renderer)return()=>{const t=e.default&&e.default();return t&&1===t.length?t[0]:t};const r=new Map,o=new Set;let a=null;const s=n.suspense,{renderer:{p:l,m:u,um:c,o:{createElement:h}}}=i,d=h("div");function p(t){Wn(t),c(t,n,s,!0)}function f(t){r.forEach(((e,n)=>{const i=to(e.type);!i||t&&t(i)||g(n)}))}function g(t){const e=r.get(t);a&&wr(e,a)?a&&Wn(a):p(e),r.delete(t),o.delete(t)}i.activate=(t,e,n,i,r)=>{const o=t.component;u(t,e,n,0,s),l(o.vnode,t,e,n,o,s,i,t.slotScopeIds,r),Ji((()=>{o.isDeactivated=!1,o.a&&E(o.a);const e=t.props&&t.props.onVnodeMounted;e&&Br(e,o.parent,t)}),s)},i.deactivate=t=>{const e=t.component;u(t,d,null,1,s),Ji((()=>{e.da&&E(e.da);const n=t.props&&t.props.onVnodeUnmounted;n&&Br(n,e.parent,t),e.isDeactivated=!0}),s)},mn((()=>[t.include,t.exclude]),(([t,e])=>{t&&f((e=>zn(t,e))),e&&f((t=>!zn(e,t)))}),{flush:"post",deep:!0});let v=null;const m=()=>{null!=v&&r.set(v,Un(n.subTree))};return qn(m),Kn(m),$n((()=>{r.forEach((t=>{const{subTree:e,suspense:i}=n,r=Un(e);if(t.type!==r.type||t.key!==r.key)p(t);else{Wn(r);const t=r.component.da;t&&Ji(t,i)}}))})),()=>{if(v=null,!e.default)return null;const n=e.default(),i=n[0];if(n.length>1)return a=null,n;if(!(br(i)&&(4&i.shapeFlag||128&i.shapeFlag)))return a=null,i;let s=Un(i);const l=s.type,u=to(En(s)?s.type.__asyncResolved||{}:l),{include:c,exclude:h,max:d}=t;if(c&&(!u||!zn(c,u))||h&&u&&zn(h,u))return a=s,i;const p=null==s.key?l:s.key,f=r.get(p);return s.el&&(s=Dr(s),128&i.shapeFlag&&(i.ssContent=s)),v=p,f?(s.el=f.el,s.component=f.component,s.transition&&Ln(s,s.transition),s.shapeFlag|=512,o.delete(p),o.add(p)):(o.add(p),d&&o.size>parseInt(d,10)&&g(o.values().next().value)),s.shapeFlag|=256,a=s,gn(i.type)?i:s}}},Bn=Nn;function zn(t,e){return d(t)?t.some((t=>zn(t,e))):v(t)?t.split(",").includes(e):"[object RegExp]"===b(t)&&t.test(e)}function Vn(t,e){Gn(t,"a",e)}function Fn(t,e){Gn(t,"da",e)}function Gn(t,e,n=Fr){const i=t.__wdc||(t.__wdc=()=>{let e=n;for(;e;){if(e.isDeactivated)return;e=e.parent}return t()});if(jn(e,i,n),n){let t=n.parent;for(;t&&t.parent;)Rn(t.parent.vnode)&&Hn(i,e,n,t),t=t.parent}}function Hn(t,e,n,i){const r=jn(e,t,i,!0);Jn((()=>{u(i[e],r)}),n)}function Wn(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function Un(t){return 128&t.shapeFlag?t.ssContent:t}function jn(t,e,n=Fr,i=!1){if(n){const r=n[t]||(n[t]=[]),o=e.__weh||(e.__weh=(...i)=>{if(n.isUnmounted)return;vt(),jr(n);const r=Ne(e,n,t,i);return Yr(),mt(),r});return i?r.unshift(o):r.push(o),o}}const Yn=t=>(e,n=Fr)=>(!Zr||"sp"===t)&&jn(t,((...t)=>e(...t)),n),Xn=Yn("bm"),qn=Yn("m"),Zn=Yn("bu"),Kn=Yn("u"),$n=Yn("bum"),Jn=Yn("um"),Qn=Yn("sp"),ti=Yn("rtg"),ei=Yn("rtc");function ni(t,e=Fr){jn("ec",t,e)}const ii="components";function ri(t,e){return si(ii,t,!0,e)||t}const oi=Symbol.for("v-ndc");function ai(t){return v(t)?si(ii,t,!1)||t:t||oi}function si(t,e,n=!0,i=!1){const r=on||Fr;if(r){const n=r.type;if(t===ii){const t=to(n,!1);if(t&&(t===e||t===T(e)||t===L(T(e))))return n}const o=li(r[t]||n[t],e)||li(r.appContext[t],e);return!o&&i?n:o}}function li(t,e){return t&&(t[e]||t[T(e)]||t[L(T(e))])}function ui(t,e,n,i){let r;const o=n&&n[i];if(d(t)||v(t)){r=new Array(t.length);for(let n=0,i=t.length;n<i;n++)r[n]=e(t[n],n,void 0,o&&o[n])}else if("number"==typeof t){r=new Array(t);for(let n=0;n<t;n++)r[n]=e(n+1,n,void 0,o&&o[n])}else if(y(t))if(t[Symbol.iterator])r=Array.from(t,((t,n)=>e(t,n,void 0,o&&o[n])));else{const n=Object.keys(t);r=new Array(n.length);for(let i=0,a=n.length;i<a;i++){const a=n[i];r[i]=e(t[a],a,i,o&&o[i])}}else r=[];return n&&(n[i]=r),r}function ci(t,e){for(let n=0;n<e.length;n++){const i=e[n];if(d(i))for(let e=0;e<i.length;e++)t[i[e].name]=i[e].fn;else i&&(t[i.name]=i.key?(...t)=>{const e=i.fn(...t);return e&&(e.key=i.key),e}:i.fn)}return t}function hi(t,e,n={},i,r){if(on.isCE||on.parent&&En(on.parent)&&on.parent.isCE)return"default"!==e&&(n.name=e),Cr("slot",n,i&&i());let o=t[e];o&&o._c&&(o._d=!1),gr();const a=o&&di(o(n)),s=xr(ur,{key:n.key||a&&a.key||`_${e}`},a||(i?i():[]),a&&1===t._?64:-2);return!r&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),o&&o._c&&(o._d=!0),s}function di(t){return t.some((t=>!br(t)||t.type!==hr&&!(t.type===ur&&!di(t.children))))?t:null}const pi=t=>t?Xr(t)?Qr(t)||t.proxy:pi(t.parent):null,fi=l(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>pi(t.parent),$root:t=>pi(t.root),$emit:t=>t.emit,$options:t=>Si(t),$forceUpdate:t=>t.f||(t.f=()=>qe(t.update)),$nextTick:t=>t.n||(t.n=Xe.bind(t.proxy)),$watch:t=>_n.bind(t)}),gi=(t,n)=>t!==e&&!t.__isScriptSetup&&h(t,n),vi={get({_:t},n){const{ctx:i,setupState:r,data:o,props:a,accessCache:s,type:l,appContext:u}=t;let c;if("$"!==n[0]){const l=s[n];if(void 0!==l)switch(l){case 1:return r[n];case 2:return o[n];case 4:return i[n];case 3:return a[n]}else{if(gi(r,n))return s[n]=1,r[n];if(o!==e&&h(o,n))return s[n]=2,o[n];if((c=t.propsOptions[0])&&h(c,n))return s[n]=3,a[n];if(i!==e&&h(i,n))return s[n]=4,i[n];_i&&(s[n]=0)}}const d=fi[n];let p,f;return d?("$attrs"===n&&yt(t,0,n),d(t)):(p=l.__cssModules)&&(p=p[n])?p:i!==e&&h(i,n)?(s[n]=4,i[n]):(f=u.config.globalProperties,h(f,n)?f[n]:void 0)},set({_:t},n,i){const{data:r,setupState:o,ctx:a}=t;return gi(o,n)?(o[n]=i,!0):r!==e&&h(r,n)?(r[n]=i,!0):!h(t.props,n)&&(("$"!==n[0]||!(n.slice(1)in t))&&(a[n]=i,!0))},has({_:{data:t,setupState:n,accessCache:i,ctx:r,appContext:o,propsOptions:a}},s){let l;return!!i[s]||t!==e&&h(t,s)||gi(n,s)||(l=a[0])&&h(l,s)||h(r,s)||h(fi,s)||h(o.config.globalProperties,s)},defineProperty(t,e,n){return null!=n.get?t._.accessCache[e]=0:h(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function mi(){return function(){const t=Gr();return t.setupContext||(t.setupContext=Jr(t))}().slots}function yi(t){return d(t)?t.reduce(((t,e)=>(t[e]=null,t)),{}):t}let _i=!0;function xi(t){const e=Si(t),n=t.proxy,r=t.ctx;_i=!1,e.beforeCreate&&bi(e.beforeCreate,t,"bc");const{data:o,computed:a,methods:s,watch:l,provide:u,inject:c,created:h,beforeMount:p,mounted:f,beforeUpdate:v,updated:m,activated:_,deactivated:x,beforeDestroy:b,beforeUnmount:w,destroyed:S,unmounted:M,render:I,renderTracked:A,renderTriggered:C,errorCaptured:T,serverPrefetch:D,expose:k,inheritAttrs:L,components:P,directives:O,filters:E}=e;if(c&&function(t,e,n=i){d(t)&&(t=Ci(t));for(const i in t){const n=t[i];let r;r=y(n)?"default"in n?Ni(n.from||i,n.default,!0):Ni(n.from||i):Ni(n),be(r)?Object.defineProperty(e,i,{enumerable:!0,configurable:!0,get:()=>r.value,set:t=>r.value=t}):e[i]=r}}(c,r,null),s)for(const i in s){const t=s[i];g(t)&&(r[i]=t.bind(n))}if(o){const e=o.call(n,n);y(e)&&(t.data=se(e))}if(_i=!0,a)for(const d in a){const t=a[d],e=g(t)?t.bind(n,n):g(t.get)?t.get.bind(n,n):i,o=!g(t)&&g(t.set)?t.set.bind(n):i,s=eo({get:e,set:o});Object.defineProperty(r,d,{enumerable:!0,configurable:!0,get:()=>s.value,set:t=>s.value=t})}if(l)for(const i in l)wi(l[i],r,n,i);if(u){const t=g(u)?u.call(n):u;Reflect.ownKeys(t).forEach((e=>{Ri(e,t[e])}))}function R(t,e){d(e)?e.forEach((e=>t(e.bind(n)))):e&&t(e.bind(n))}if(h&&bi(h,t,"c"),R(Xn,p),R(qn,f),R(Zn,v),R(Kn,m),R(Vn,_),R(Fn,x),R(ni,T),R(ei,A),R(ti,C),R($n,w),R(Jn,M),R(Qn,D),d(k))if(k.length){const e=t.exposed||(t.exposed={});k.forEach((t=>{Object.defineProperty(e,t,{get:()=>n[t],set:e=>n[t]=e})}))}else t.exposed||(t.exposed={});I&&t.render===i&&(t.render=I),null!=L&&(t.inheritAttrs=L),P&&(t.components=P),O&&(t.directives=O)}function bi(t,e,n){Ne(d(t)?t.map((t=>t.bind(e.proxy))):t.bind(e.proxy),e,n)}function wi(t,e,n,i){const r=i.includes(".")?xn(n,i):()=>n[i];if(v(t)){const n=e[t];g(n)&&mn(r,n)}else if(g(t))mn(r,t.bind(n));else if(y(t))if(d(t))t.forEach((t=>wi(t,e,n,i)));else{const i=g(t.handler)?t.handler.bind(n):e[t.handler];g(i)&&mn(r,i,t)}}function Si(t){const e=t.type,{mixins:n,extends:i}=e,{mixins:r,optionsCache:o,config:{optionMergeStrategies:a}}=t.appContext,s=o.get(e);let l;return s?l=s:r.length||n||i?(l={},r.length&&r.forEach((t=>Mi(l,t,a,!0))),Mi(l,e,a)):l=e,y(e)&&o.set(e,l),l}function Mi(t,e,n,i=!1){const{mixins:r,extends:o}=e;o&&Mi(t,o,n,!0),r&&r.forEach((e=>Mi(t,e,n,!0)));for(const a in e)if(i&&"expose"===a);else{const i=Ii[a]||n&&n[a];t[a]=i?i(t[a],e[a]):e[a]}return t}const Ii={data:Ai,props:ki,emits:ki,methods:Di,computed:Di,beforeCreate:Ti,created:Ti,beforeMount:Ti,mounted:Ti,beforeUpdate:Ti,updated:Ti,beforeDestroy:Ti,beforeUnmount:Ti,destroyed:Ti,unmounted:Ti,activated:Ti,deactivated:Ti,errorCaptured:Ti,serverPrefetch:Ti,components:Di,directives:Di,watch:function(t,e){if(!t)return e;if(!e)return t;const n=l(Object.create(null),t);for(const i in e)n[i]=Ti(t[i],e[i]);return n},provide:Ai,inject:function(t,e){return Di(Ci(t),Ci(e))}};function Ai(t,e){return e?t?function(){return l(g(t)?t.call(this,this):t,g(e)?e.call(this,this):e)}:e:t}function Ci(t){if(d(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function Ti(t,e){return t?[...new Set([].concat(t,e))]:e}function Di(t,e){return t?l(Object.create(null),t,e):e}function ki(t,e){return t?d(t)&&d(e)?[...new Set([...t,...e])]:l(Object.create(null),yi(t),yi(null!=e?e:{})):e}function Li(){return{app:null,config:{isNativeTag:r,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Pi=0;function Oi(t,e){return function(n,i=null){g(n)||(n=l({},n)),null==i||y(i)||(i=null);const r=Li(),o=new Set;let a=!1;const s=r.app={_uid:Pi++,_component:n,_props:i,_container:null,_context:r,_instance:null,version:oo,get config(){return r.config},set config(t){},use:(t,...e)=>(o.has(t)||(t&&g(t.install)?(o.add(t),t.install(s,...e)):g(t)&&(o.add(t),t(s,...e))),s),mixin:t=>(r.mixins.includes(t)||r.mixins.push(t),s),component:(t,e)=>e?(r.components[t]=e,s):r.components[t],directive:(t,e)=>e?(r.directives[t]=e,s):r.directives[t],mount(o,l,u){if(!a){const c=Cr(n,i);return c.appContext=r,l&&e?e(c,o):t(c,o,u),a=!0,s._container=o,o.__vue_app__=s,Qr(c.component)||c.component.proxy}},unmount(){a&&(t(null,s._container),delete s._container.__vue_app__)},provide:(t,e)=>(r.provides[t]=e,s),runWithContext(t){Ei=s;try{return t()}finally{Ei=null}}};return s}}let Ei=null;function Ri(t,e){if(Fr){let n=Fr.provides;const i=Fr.parent&&Fr.parent.provides;i===n&&(n=Fr.provides=Object.create(i)),n[t]=e}else;}function Ni(t,e,n=!1){const i=Fr||on;if(i||Ei){const r=i?null==i.parent?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides:Ei._context.provides;if(r&&t in r)return r[t];if(arguments.length>1)return n&&g(e)?e.call(i&&i.proxy):e}}function Bi(t,n,i,r){const[o,a]=t.propsOptions;let s,l=!1;if(n)for(let e in n){if(I(e))continue;const u=n[e];let c;o&&h(o,c=T(e))?a&&a.includes(c)?(s||(s={}))[c]=u:i[c]=u:rn(t.emitsOptions,e)||e in r&&u===r[e]||(r[e]=u,l=!0)}if(a){const n=ge(i),r=s||e;for(let e=0;e<a.length;e++){const s=a[e];i[s]=zi(o,n,s,r[s],t,!h(r,s))}}return l}function zi(t,e,n,i,r,o){const a=t[n];if(null!=a){const t=h(a,"default");if(t&&void 0===i){const t=a.default;if(a.type!==Function&&!a.skipFactory&&g(t)){const{propsDefaults:o}=r;n in o?i=o[n]:(jr(r),i=o[n]=t.call(null,e),Yr())}else i=t}a[0]&&(o&&!t?i=!1:!a[1]||""!==i&&i!==k(n)||(i=!0))}return i}function Vi(t,i,r=!1){const o=i.propsCache,a=o.get(t);if(a)return a;const s=t.props,u={},c=[];let p=!1;if(!g(t)){const e=t=>{p=!0;const[e,n]=Vi(t,i,!0);l(u,e),n&&c.push(...n)};!r&&i.mixins.length&&i.mixins.forEach(e),t.extends&&e(t.extends),t.mixins&&t.mixins.forEach(e)}if(!s&&!p)return y(t)&&o.set(t,n),n;if(d(s))for(let n=0;n<s.length;n++){const t=T(s[n]);Fi(t)&&(u[t]=e)}else if(s)for(const e in s){const t=T(e);if(Fi(t)){const n=s[e],i=u[t]=d(n)||g(n)?{type:n}:l({},n);if(i){const e=Wi(Boolean,i.type),n=Wi(String,i.type);i[0]=e>-1,i[1]=n<0||e<n,(e>-1||h(i,"default"))&&c.push(t)}}}const f=[u,c];return y(t)&&o.set(t,f),f}function Fi(t){return"$"!==t[0]}function Gi(t){const e=t&&t.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:null===t?"null":""}function Hi(t,e){return Gi(t)===Gi(e)}function Wi(t,e){return d(e)?e.findIndex((e=>Hi(e,t))):g(e)&&Hi(e,t)?0:-1}const Ui=t=>"_"===t[0]||"$stable"===t,ji=t=>d(t)?t.map(Or):[Or(t)],Yi=(t,e,n)=>{if(e._n)return e;const i=cn(((...t)=>ji(e(...t))),n);return i._c=!1,i},Xi=(t,e,n)=>{const i=t._ctx;for(const r in t){if(Ui(r))continue;const n=t[r];if(g(n))e[r]=Yi(0,n,i);else if(null!=n){const t=ji(n);e[r]=()=>t}}},qi=(t,e)=>{const n=ji(e);t.slots.default=()=>n},Zi=(t,e)=>{if(32&t.vnode.shapeFlag){const n=e._;n?(t.slots=ge(e),R(e,"_",n)):Xi(e,t.slots={})}else t.slots={},e&&qi(t,e);R(t.slots,Sr,1)},Ki=(t,n,i)=>{const{vnode:r,slots:o}=t;let a=!0,s=e;if(32&r.shapeFlag){const t=n._;t?i&&1===t?a=!1:(l(o,n),i||1!==t||delete o._):(a=!n.$stable,Xi(n,o)),s=n}else n&&(qi(t,n),s={default:1});if(a)for(const e in o)Ui(e)||e in s||delete o[e]};function $i(t,n,i,r,o=!1){if(d(t))return void t.forEach(((t,e)=>$i(t,n&&(d(n)?n[e]:n),i,r,o)));if(En(r)&&!o)return;const a=4&r.shapeFlag?Qr(r.component)||r.component.proxy:r.el,s=o?null:a,{i:l,r:c}=t,p=n&&n.r,f=l.refs===e?l.refs={}:l.refs,m=l.setupState;if(null!=p&&p!==c&&(v(p)?(f[p]=null,h(m,p)&&(m[p]=null)):be(p)&&(p.value=null)),g(c))Re(c,l,12,[s,f]);else{const e=v(c),n=be(c);if(e||n){const r=()=>{if(t.f){const n=e?h(m,c)?m[c]:f[c]:c.value;o?d(n)&&u(n,a):d(n)?n.includes(a)||n.push(a):e?(f[c]=[a],h(m,c)&&(m[c]=f[c])):(c.value=[a],t.k&&(f[t.k]=c.value))}else e?(f[c]=s,h(m,c)&&(m[c]=s)):n&&(c.value=s,t.k&&(f[t.k]=s))};s?(r.id=-1,Ji(r,i)):r()}}}const Ji=function(t,e){var n;e&&e.pendingBranch?d(t)?e.effects.push(...t):e.effects.push(t):(d(n=t)?He.push(...n):We&&We.includes(n,n.allowRecurse?Ue+1:Ue)||He.push(n),Ze())};function Qi(t){return function(t,r){V().__VUE__=!0;const{insert:o,remove:a,patchProp:s,createElement:l,createText:u,createComment:c,setText:d,setElementText:p,parentNode:f,nextSibling:g,setScopeId:v=i,insertStaticContent:m}=t,y=(t,e,n,i=null,r=null,o=null,a=!1,s=null,l=!!e.dynamicChildren)=>{if(t===e)return;t&&!wr(t,e)&&(i=tt(t),q(t,r,o,!0),t=null),-2===e.patchFlag&&(l=!1,e.dynamicChildren=null);const{type:u,ref:c,shapeFlag:h}=e;switch(u){case cr:x(t,e,n,i);break;case hr:b(t,e,n,i);break;case dr:null==t&&w(e,n,i,a);break;case ur:B(t,e,n,i,r,o,a,s,l);break;default:1&h?A(t,e,n,i,r,o,a,s,l):6&h?z(t,e,n,i,r,o,a,s,l):(64&h||128&h)&&u.process(t,e,n,i,r,o,a,s,l,nt)}null!=c&&r&&$i(c,t&&t.ref,o,e||t,!e)},x=(t,e,n,i)=>{if(null==t)o(e.el=u(e.children),n,i);else{const n=e.el=t.el;e.children!==t.children&&d(n,e.children)}},b=(t,e,n,i)=>{null==t?o(e.el=c(e.children||""),n,i):e.el=t.el},w=(t,e,n,i)=>{[t.el,t.anchor]=m(t.children,e,n,i,t.el,t.anchor)},S=({el:t,anchor:e},n,i)=>{let r;for(;t&&t!==e;)r=g(t),o(t,n,i),t=r;o(e,n,i)},M=({el:t,anchor:e})=>{let n;for(;t&&t!==e;)n=g(t),a(t),t=n;a(e)},A=(t,e,n,i,r,o,a,s,l)=>{a=a||"svg"===e.type,null==t?C(e,n,i,r,o,a,s,l):P(t,e,r,o,a,s,l)},C=(t,e,n,i,r,a,u,c)=>{let h,d;const{type:f,props:g,shapeFlag:v,transition:m,dirs:y}=t;if(h=t.el=l(t.type,a,g&&g.is,g),8&v?p(h,t.children):16&v&&L(t.children,h,null,i,r,a&&"foreignObject"!==f,u,c),y&&Sn(t,null,i,"created"),D(h,t,t.scopeId,u,i),g){for(const e in g)"value"===e||I(e)||s(h,e,null,g[e],a,t.children,i,r,Q);"value"in g&&s(h,"value",null,g.value),(d=g.onVnodeBeforeMount)&&Br(d,i,t)}y&&Sn(t,null,i,"beforeMount");const _=(!r||r&&!r.pendingBranch)&&m&&!m.persisted;_&&m.beforeEnter(h),o(h,e,n),((d=g&&g.onVnodeMounted)||_||y)&&Ji((()=>{d&&Br(d,i,t),_&&m.enter(h),y&&Sn(t,null,i,"mounted")}),r)},D=(t,e,n,i,r)=>{if(n&&v(t,n),i)for(let o=0;o<i.length;o++)v(t,i[o]);if(r){if(e===r.subTree){const e=r.vnode;D(t,e,e.scopeId,e.slotScopeIds,r.parent)}}},L=(t,e,n,i,r,o,a,s,l=0)=>{for(let u=l;u<t.length;u++){const l=t[u]=s?Er(t[u]):Or(t[u]);y(null,l,e,n,i,r,o,a,s)}},P=(t,n,i,r,o,a,l)=>{const u=n.el=t.el;let{patchFlag:c,dynamicChildren:h,dirs:d}=n;c|=16&t.patchFlag;const f=t.props||e,g=n.props||e;let v;i&&tr(i,!1),(v=g.onVnodeBeforeUpdate)&&Br(v,i,n,t),d&&Sn(n,t,i,"beforeUpdate"),i&&tr(i,!0);const m=o&&"foreignObject"!==n.type;if(h?O(t.dynamicChildren,h,u,i,r,m,a):l||U(t,n,u,null,i,r,m,a,!1),c>0){if(16&c)N(u,n,f,g,i,r,o);else if(2&c&&f.class!==g.class&&s(u,"class",null,g.class,o),4&c&&s(u,"style",f.style,g.style,o),8&c){const e=n.dynamicProps;for(let n=0;n<e.length;n++){const a=e[n],l=f[a],c=g[a];c===l&&"value"!==a||s(u,a,l,c,o,t.children,i,r,Q)}}1&c&&t.children!==n.children&&p(u,n.children)}else l||null!=h||N(u,n,f,g,i,r,o);((v=g.onVnodeUpdated)||d)&&Ji((()=>{v&&Br(v,i,n,t),d&&Sn(n,t,i,"updated")}),r)},O=(t,e,n,i,r,o,a)=>{for(let s=0;s<e.length;s++){const l=t[s],u=e[s],c=l.el&&(l.type===ur||!wr(l,u)||70&l.shapeFlag)?f(l.el):n;y(l,u,c,null,i,r,o,a,!0)}},N=(t,n,i,r,o,a,l)=>{if(i!==r){if(i!==e)for(const e in i)I(e)||e in r||s(t,e,i[e],null,l,n.children,o,a,Q);for(const e in r){if(I(e))continue;const u=r[e],c=i[e];u!==c&&"value"!==e&&s(t,e,c,u,l,n.children,o,a,Q)}"value"in r&&s(t,"value",i.value,r.value)}},B=(t,e,n,i,r,a,s,l,c)=>{const h=e.el=t?t.el:u(""),d=e.anchor=t?t.anchor:u("");let{patchFlag:p,dynamicChildren:f,slotScopeIds:g}=e;g&&(l=l?l.concat(g):g),null==t?(o(h,n,i),o(d,n,i),L(e.children,n,d,r,a,s,l,c)):p>0&&64&p&&f&&t.dynamicChildren?(O(t.dynamicChildren,f,n,r,a,s,l),(null!=e.key||r&&e===r.subTree)&&er(t,e,!0)):U(t,e,n,d,r,a,s,l,c)},z=(t,e,n,i,r,o,a,s,l)=>{e.slotScopeIds=s,null==t?512&e.shapeFlag?r.ctx.activate(e,n,i,a,l):F(e,n,i,r,o,a,l):G(t,e,l)},F=(t,n,i,r,o,a,s)=>{const l=t.component=function(t,n,i){const r=t.type,o=(n?n.appContext:t.appContext)||zr,a={uid:Vr++,vnode:t,type:r,parent:n,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new J(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:n?n.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Vi(r,o),emitsOptions:nn(r,o),emit:null,emitted:null,propsDefaults:e,inheritAttrs:r.inheritAttrs,ctx:e,data:e,props:e,attrs:e,slots:e,refs:e,setupState:e,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:i,suspenseId:i?i.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};a.ctx={_:a},a.root=n?n.root:a,a.emit=en.bind(null,a),t.ce&&t.ce(a);return a}(t,r,o);if(Rn(t)&&(l.ctx.renderer=nt),function(t,e=!1){Zr=e;const{props:n,children:i}=t.vnode,r=Xr(t);(function(t,e,n,i=!1){const r={},o={};R(o,Sr,1),t.propsDefaults=Object.create(null),Bi(t,e,r,o);for(const a in t.propsOptions[0])a in r||(r[a]=void 0);n?t.props=i?r:le(r):t.type.props?t.props=r:t.props=o,t.attrs=o})(t,n,r,e),Zi(t,i);const o=r?function(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=ve(new Proxy(t.ctx,vi));const{setup:i}=n;if(i){const n=t.setupContext=i.length>1?Jr(t):null;jr(t),vt();const r=Re(i,t,0,[t.props,n]);if(mt(),Yr(),_(r)){if(r.then(Yr,Yr),e)return r.then((n=>{Kr(t,n,e)})).catch((e=>{Be(e,t,0)}));t.asyncDep=r}else Kr(t,r,e)}else $r(t,e)}(t,e):void 0;Zr=!1}(l),l.asyncDep){if(o&&o.registerDep(l,H),!t.el){const t=l.subTree=Cr(hr);b(null,t,n,i)}}else H(l,t,n,i,o,a,s)},G=(t,e,n)=>{const i=e.component=t.component;if(function(t,e,n){const{props:i,children:r,component:o}=t,{props:a,children:s,patchFlag:l}=e,u=o.emitsOptions;if(e.dirs||e.transition)return!0;if(!(n&&l>=0))return!(!r&&!s||s&&s.$stable)||i!==a&&(i?!a||fn(i,a,u):!!a);if(1024&l)return!0;if(16&l)return i?fn(i,a,u):!!a;if(8&l){const t=e.dynamicProps;for(let e=0;e<t.length;e++){const n=t[e];if(a[n]!==i[n]&&!rn(u,n))return!0}}return!1}(t,e,n)){if(i.asyncDep&&!i.asyncResolved)return void W(i,e,n);i.next=e,function(t){const e=Fe.indexOf(t);e>Ge&&Fe.splice(e,1)}(i.update),i.update()}else e.el=t.el,i.vnode=e},H=(t,e,n,i,r,o,a)=>{const s=()=>{if(t.isMounted){let e,{next:n,bu:i,u:s,parent:l,vnode:u}=t,c=n;tr(t,!1),n?(n.el=u.el,W(t,n,a)):n=u,i&&E(i),(e=n.props&&n.props.onVnodeBeforeUpdate)&&Br(e,l,n,u),tr(t,!0);const h=hn(t),d=t.subTree;t.subTree=h,y(d,h,f(d.el),tt(d),t,r,o),n.el=h.el,null===c&&function({vnode:t,parent:e},n){for(;e&&e.subTree===t;)(t=e.vnode).el=n,e=e.parent}(t,h.el),s&&Ji(s,r),(e=n.props&&n.props.onVnodeUpdated)&&Ji((()=>Br(e,l,n,u)),r)}else{let a;const{el:s,props:l}=e,{bm:u,m:c,parent:h}=t,d=En(e);if(tr(t,!1),u&&E(u),!d&&(a=l&&l.onVnodeBeforeMount)&&Br(a,h,e),tr(t,!0),s&&rt){const n=()=>{t.subTree=hn(t),rt(s,t.subTree,t,r,null)};d?e.type.__asyncLoader().then((()=>!t.isUnmounted&&n())):n()}else{const a=t.subTree=hn(t);y(null,a,n,i,t,r,o),e.el=a.el}if(c&&Ji(c,r),!d&&(a=l&&l.onVnodeMounted)){const t=e;Ji((()=>Br(a,h,t)),r)}(256&e.shapeFlag||h&&En(h.vnode)&&256&h.vnode.shapeFlag)&&t.a&&Ji(t.a,r),t.isMounted=!0,e=n=i=null}},l=t.effect=new dt(s,(()=>qe(u)),t.scope),u=t.update=()=>l.run();u.id=t.uid,tr(t,!0),u()},W=(t,e,n)=>{e.component=t;const i=t.vnode.props;t.vnode=e,t.next=null,function(t,e,n,i){const{props:r,attrs:o,vnode:{patchFlag:a}}=t,s=ge(r),[l]=t.propsOptions;let u=!1;if(!(i||a>0)||16&a){let i;Bi(t,e,r,o)&&(u=!0);for(const o in s)e&&(h(e,o)||(i=k(o))!==o&&h(e,i))||(l?!n||void 0===n[o]&&void 0===n[i]||(r[o]=zi(l,s,o,void 0,t,!0)):delete r[o]);if(o!==s)for(const t in o)e&&h(e,t)||(delete o[t],u=!0)}else if(8&a){const n=t.vnode.dynamicProps;for(let i=0;i<n.length;i++){let a=n[i];if(rn(t.emitsOptions,a))continue;const c=e[a];if(l)if(h(o,a))c!==o[a]&&(o[a]=c,u=!0);else{const e=T(a);r[e]=zi(l,s,e,c,t,!1)}else c!==o[a]&&(o[a]=c,u=!0)}}u&&xt(t,"set","$attrs")}(t,e.props,i,n),Ki(t,e.children,n),vt(),Ke(),mt()},U=(t,e,n,i,r,o,a,s,l=!1)=>{const u=t&&t.children,c=t?t.shapeFlag:0,h=e.children,{patchFlag:d,shapeFlag:f}=e;if(d>0){if(128&d)return void Y(u,h,n,i,r,o,a,s,l);if(256&d)return void j(u,h,n,i,r,o,a,s,l)}8&f?(16&c&&Q(u,r,o),h!==u&&p(n,h)):16&c?16&f?Y(u,h,n,i,r,o,a,s,l):Q(u,r,o,!0):(8&c&&p(n,""),16&f&&L(h,n,i,r,o,a,s,l))},j=(t,e,i,r,o,a,s,l,u)=>{e=e||n;const c=(t=t||n).length,h=e.length,d=Math.min(c,h);let p;for(p=0;p<d;p++){const n=e[p]=u?Er(e[p]):Or(e[p]);y(t[p],n,i,null,o,a,s,l,u)}c>h?Q(t,o,a,!0,!1,d):L(e,i,r,o,a,s,l,u,d)},Y=(t,e,i,r,o,a,s,l,u)=>{let c=0;const h=e.length;let d=t.length-1,p=h-1;for(;c<=d&&c<=p;){const n=t[c],r=e[c]=u?Er(e[c]):Or(e[c]);if(!wr(n,r))break;y(n,r,i,null,o,a,s,l,u),c++}for(;c<=d&&c<=p;){const n=t[d],r=e[p]=u?Er(e[p]):Or(e[p]);if(!wr(n,r))break;y(n,r,i,null,o,a,s,l,u),d--,p--}if(c>d){if(c<=p){const t=p+1,n=t<h?e[t].el:r;for(;c<=p;)y(null,e[c]=u?Er(e[c]):Or(e[c]),i,n,o,a,s,l,u),c++}}else if(c>p)for(;c<=d;)q(t[c],o,a,!0),c++;else{const f=c,g=c,v=new Map;for(c=g;c<=p;c++){const t=e[c]=u?Er(e[c]):Or(e[c]);null!=t.key&&v.set(t.key,c)}let m,_=0;const x=p-g+1;let b=!1,w=0;const S=new Array(x);for(c=0;c<x;c++)S[c]=0;for(c=f;c<=d;c++){const n=t[c];if(_>=x){q(n,o,a,!0);continue}let r;if(null!=n.key)r=v.get(n.key);else for(m=g;m<=p;m++)if(0===S[m-g]&&wr(n,e[m])){r=m;break}void 0===r?q(n,o,a,!0):(S[r-g]=c+1,r>=w?w=r:b=!0,y(n,e[r],i,null,o,a,s,l,u),_++)}const M=b?function(t){const e=t.slice(),n=[0];let i,r,o,a,s;const l=t.length;for(i=0;i<l;i++){const l=t[i];if(0!==l){if(r=n[n.length-1],t[r]<l){e[i]=r,n.push(i);continue}for(o=0,a=n.length-1;o<a;)s=o+a>>1,t[n[s]]<l?o=s+1:a=s;l<t[n[o]]&&(o>0&&(e[i]=n[o-1]),n[o]=i)}}o=n.length,a=n[o-1];for(;o-- >0;)n[o]=a,a=e[a];return n}(S):n;for(m=M.length-1,c=x-1;c>=0;c--){const t=g+c,n=e[t],d=t+1<h?e[t+1].el:r;0===S[c]?y(null,n,i,d,o,a,s,l,u):b&&(m<0||c!==M[m]?X(n,i,d,2):m--)}}},X=(t,e,n,i,r=null)=>{const{el:a,type:s,transition:l,children:u,shapeFlag:c}=t;if(6&c)return void X(t.component.subTree,e,n,i);if(128&c)return void t.suspense.move(e,n,i);if(64&c)return void s.move(t,e,n,nt);if(s===ur){o(a,e,n);for(let t=0;t<u.length;t++)X(u[t],e,n,i);return void o(t.anchor,e,n)}if(s===dr)return void S(t,e,n);if(2!==i&&1&c&&l)if(0===i)l.beforeEnter(a),o(a,e,n),Ji((()=>l.enter(a)),r);else{const{leave:t,delayLeave:i,afterLeave:r}=l,s=()=>o(a,e,n),u=()=>{t(a,(()=>{s(),r&&r()}))};i?i(a,s,u):u()}else o(a,e,n)},q=(t,e,n,i=!1,r=!1)=>{const{type:o,props:a,ref:s,children:l,dynamicChildren:u,shapeFlag:c,patchFlag:h,dirs:d}=t;if(null!=s&&$i(s,null,n,t,!0),256&c)return void e.ctx.deactivate(t);const p=1&c&&d,f=!En(t);let g;if(f&&(g=a&&a.onVnodeBeforeUnmount)&&Br(g,e,t),6&c)$(t.component,n,i);else{if(128&c)return void t.suspense.unmount(n,i);p&&Sn(t,null,e,"beforeUnmount"),64&c?t.type.remove(t,e,n,r,nt,i):u&&(o!==ur||h>0&&64&h)?Q(u,e,n,!1,!0):(o===ur&&384&h||!r&&16&c)&&Q(l,e,n),i&&Z(t)}(f&&(g=a&&a.onVnodeUnmounted)||p)&&Ji((()=>{g&&Br(g,e,t),p&&Sn(t,null,e,"unmounted")}),n)},Z=t=>{const{type:e,el:n,anchor:i,transition:r}=t;if(e===ur)return void K(n,i);if(e===dr)return void M(t);const o=()=>{a(n),r&&!r.persisted&&r.afterLeave&&r.afterLeave()};if(1&t.shapeFlag&&r&&!r.persisted){const{leave:e,delayLeave:i}=r,a=()=>e(n,o);i?i(t.el,o,a):a()}else o()},K=(t,e)=>{let n;for(;t!==e;)n=g(t),a(t),t=n;a(e)},$=(t,e,n)=>{const{bum:i,scope:r,update:o,subTree:a,um:s}=t;i&&E(i),r.stop(),o&&(o.active=!1,q(a,t,e,n)),s&&Ji(s,e),Ji((()=>{t.isUnmounted=!0}),e),e&&e.pendingBranch&&!e.isUnmounted&&t.asyncDep&&!t.asyncResolved&&t.suspenseId===e.pendingId&&(e.deps--,0===e.deps&&e.resolve())},Q=(t,e,n,i=!1,r=!1,o=0)=>{for(let a=o;a<t.length;a++)q(t[a],e,n,i,r)},tt=t=>6&t.shapeFlag?tt(t.component.subTree):128&t.shapeFlag?t.suspense.next():g(t.anchor||t.el),et=(t,e,n)=>{null==t?e._vnode&&q(e._vnode,null,null,!0):y(e._vnode||null,t,e,null,null,null,n),Ke(),$e(),e._vnode=t},nt={p:y,um:q,m:X,r:Z,mt:F,mc:L,pc:U,pbc:O,n:tt,o:t};let it,rt;r&&([it,rt]=r(nt));return{render:et,hydrate:it,createApp:Oi(et,it)}}(t)}function tr({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function er(t,e,n=!1){const i=t.children,r=e.children;if(d(i)&&d(r))for(let o=0;o<i.length;o++){const t=i[o];let e=r[o];1&e.shapeFlag&&!e.dynamicChildren&&((e.patchFlag<=0||32===e.patchFlag)&&(e=r[o]=Er(r[o]),e.el=t.el),n||er(t,e)),e.type===cr&&(e.el=t.el)}}const nr=t=>t&&(t.disabled||""===t.disabled),ir=t=>"undefined"!=typeof SVGElement&&t instanceof SVGElement,rr=(t,e)=>{const n=t&&t.to;if(v(n)){if(e){return e(n)}return null}return n},or={__isTeleport:!0,process(t,e,n,i,r,o,a,s,l,u){const{mc:c,pc:h,pbc:d,o:{insert:p,querySelector:f,createText:g,createComment:v}}=u,m=nr(e.props);let{shapeFlag:y,children:_,dynamicChildren:x}=e;if(null==t){const t=e.el=g(""),u=e.anchor=g("");p(t,n,i),p(u,n,i);const h=e.target=rr(e.props,f),d=e.targetAnchor=g("");h&&(p(d,h),a=a||ir(h));const v=(t,e)=>{16&y&&c(_,t,e,r,o,a,s,l)};m?v(n,u):h&&v(h,d)}else{e.el=t.el;const i=e.anchor=t.anchor,c=e.target=t.target,p=e.targetAnchor=t.targetAnchor,g=nr(t.props),v=g?n:c,y=g?i:p;if(a=a||ir(c),x?(d(t.dynamicChildren,x,v,r,o,a,s),er(t,e,!0)):l||h(t,e,v,y,r,o,a,s,!1),m)g||ar(e,n,i,u,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const t=e.target=rr(e.props,f);t&&ar(e,t,null,u,0)}else g&&ar(e,c,p,u,1)}lr(e)},remove(t,e,n,i,{um:r,o:{remove:o}},a){const{shapeFlag:s,children:l,anchor:u,targetAnchor:c,target:h,props:d}=t;if(h&&o(c),(a||!nr(d))&&(o(u),16&s))for(let p=0;p<l.length;p++){const t=l[p];r(t,e,n,!0,!!t.dynamicChildren)}},move:ar,hydrate:function(t,e,n,i,r,o,{o:{nextSibling:a,parentNode:s,querySelector:l}},u){const c=e.target=rr(e.props,l);if(c){const l=c._lpa||c.firstChild;if(16&e.shapeFlag)if(nr(e.props))e.anchor=u(a(t),e,s(t),n,i,r,o),e.targetAnchor=l;else{e.anchor=a(t);let s=l;for(;s;)if(s=a(s),s&&8===s.nodeType&&"teleport anchor"===s.data){e.targetAnchor=s,c._lpa=e.targetAnchor&&a(e.targetAnchor);break}u(l,e,c,n,i,r,o)}lr(e)}return e.anchor&&a(e.anchor)}};function ar(t,e,n,{o:{insert:i},m:r},o=2){0===o&&i(t.targetAnchor,e,n);const{el:a,anchor:s,shapeFlag:l,children:u,props:c}=t,h=2===o;if(h&&i(a,e,n),(!h||nr(c))&&16&l)for(let d=0;d<u.length;d++)r(u[d],e,n,2);h&&i(s,e,n)}const sr=or;function lr(t){const e=t.ctx;if(e&&e.ut){let n=t.children[0].el;for(;n!==t.targetAnchor;)1===n.nodeType&&n.setAttribute("data-v-owner",e.uid),n=n.nextSibling;e.ut()}}const ur=Symbol.for("v-fgt"),cr=Symbol.for("v-txt"),hr=Symbol.for("v-cmt"),dr=Symbol.for("v-stc"),pr=[];let fr=null;function gr(t=!1){pr.push(fr=t?null:[])}let vr=1;function mr(t){vr+=t}function yr(t){return t.dynamicChildren=vr>0?fr||n:null,pr.pop(),fr=pr[pr.length-1]||null,vr>0&&fr&&fr.push(t),t}function _r(t,e,n,i,r,o){return yr(Ar(t,e,n,i,r,o,!0))}function xr(t,e,n,i,r){return yr(Cr(t,e,n,i,r,!0))}function br(t){return!!t&&!0===t.__v_isVNode}function wr(t,e){return t.type===e.type&&t.key===e.key}const Sr="__vInternal",Mr=({key:t})=>null!=t?t:null,Ir=({ref:t,ref_key:e,ref_for:n})=>("number"==typeof t&&(t=""+t),null!=t?v(t)||be(t)||g(t)?{i:on,r:t,k:e,f:!!n}:t:null);function Ar(t,e=null,n=null,i=0,r=null,o=(t===ur?0:1),a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Mr(e),ref:e&&Ir(e),scopeId:an,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:i,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:on};return s?(Rr(l,n),128&o&&t.normalize(l)):n&&(l.shapeFlag|=v(n)?8:16),vr>0&&!a&&fr&&(l.patchFlag>0||6&o)&&32!==l.patchFlag&&fr.push(l),l}const Cr=function(t,e=null,n=null,i=0,r=null,o=!1){t&&t!==oi||(t=hr);if(br(t)){const i=Dr(t,e,!0);return n&&Rr(i,n),vr>0&&!o&&fr&&(6&i.shapeFlag?fr[fr.indexOf(t)]=i:fr.push(i)),i.patchFlag|=-2,i}a=t,g(a)&&"__vccOpts"in a&&(t=t.__vccOpts);var a;if(e){e=Tr(e);let{class:t,style:n}=e;t&&!v(t)&&(e.class=j(t)),y(n)&&(fe(n)&&!d(n)&&(n=l({},n)),e.style=F(n))}const s=v(t)?1:gn(t)?128:(t=>t.__isTeleport)(t)?64:y(t)?4:g(t)?2:0;return Ar(t,e,n,i,r,s,o,!0)};function Tr(t){return t?fe(t)||Sr in t?l({},t):t:null}function Dr(t,e,n=!1){const{props:i,ref:r,patchFlag:o,children:a}=t,s=e?Nr(i||{},e):i;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:s,key:s&&Mr(s),ref:e&&e.ref?n&&r?d(r)?r.concat(Ir(e)):[r,Ir(e)]:Ir(e):r,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:a,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==ur?-1===o?16:16|o:o,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Dr(t.ssContent),ssFallback:t.ssFallback&&Dr(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function kr(t=" ",e=0){return Cr(cr,null,t,e)}function Lr(t,e){const n=Cr(dr,null,t);return n.staticCount=e,n}function Pr(t="",e=!1){return e?(gr(),xr(hr,null,t)):Cr(hr,null,t)}function Or(t){return null==t||"boolean"==typeof t?Cr(hr):d(t)?Cr(ur,null,t.slice()):"object"==typeof t?Er(t):Cr(cr,null,String(t))}function Er(t){return null===t.el&&-1!==t.patchFlag||t.memo?t:Dr(t)}function Rr(t,e){let n=0;const{shapeFlag:i}=t;if(null==e)e=null;else if(d(e))n=16;else if("object"==typeof e){if(65&i){const n=e.default;return void(n&&(n._c&&(n._d=!1),Rr(t,n()),n._c&&(n._d=!0)))}{n=32;const i=e._;i||Sr in e?3===i&&on&&(1===on.slots._?e._=1:(e._=2,t.patchFlag|=1024)):e._ctx=on}}else g(e)?(e={default:e,_ctx:on},n=32):(e=String(e),64&i?(n=16,e=[kr(e)]):n=8);t.children=e,t.shapeFlag|=n}function Nr(...t){const e={};for(let n=0;n<t.length;n++){const i=t[n];for(const t in i)if("class"===t)e.class!==i.class&&(e.class=j([e.class,i.class]));else if("style"===t)e.style=F([e.style,i.style]);else if(a(t)){const n=e[t],r=i[t];!r||n===r||d(n)&&n.includes(r)||(e[t]=n?[].concat(n,r):r)}else""!==t&&(e[t]=i[t])}return e}function Br(t,e,n,i=null){Ne(t,e,7,[n,i])}const zr=Li();let Vr=0;let Fr=null;const Gr=()=>Fr||on;let Hr,Wr,Ur="__VUE_INSTANCE_SETTERS__";(Wr=V()[Ur])||(Wr=V()[Ur]=[]),Wr.push((t=>Fr=t)),Hr=t=>{Wr.length>1?Wr.forEach((e=>e(t))):Wr[0](t)};const jr=t=>{Hr(t),t.scope.on()},Yr=()=>{Fr&&Fr.scope.off(),Hr(null)};function Xr(t){return 4&t.vnode.shapeFlag}let qr,Zr=!1;function Kr(t,e,n){g(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:y(e)&&(t.setupState=Te(e)),$r(t,n)}function $r(t,e,n){const r=t.type;if(!t.render){if(!e&&qr&&!r.render){const e=r.template||Si(t).template;if(e){const{isCustomElement:n,compilerOptions:i}=t.appContext.config,{delimiters:o,compilerOptions:a}=r,s=l(l({isCustomElement:n,delimiters:o},i),a);r.render=qr(e,s)}}t.render=r.render||i}jr(t),vt(),xi(t),mt(),Yr()}function Jr(t){const e=e=>{t.exposed=e||{}};return{get attrs(){return function(t){return t.attrsProxy||(t.attrsProxy=new Proxy(t.attrs,{get:(e,n)=>(yt(t,0,"$attrs"),e[n])}))}(t)},slots:t.slots,emit:t.emit,expose:e}}function Qr(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(Te(ve(t.exposed)),{get:(e,n)=>n in e?e[n]:n in fi?fi[n](t):void 0,has:(t,e)=>e in t||e in fi}))}function to(t,e=!0){return g(t)?t.displayName||t.name:t.name||e&&t.__name}const eo=(t,e)=>function(t,e,n=!1){let r,o;const a=g(t);return a?(r=t,o=i):(r=t.get,o=t.set),new Ee(r,o,a||!o,n)}(t,0,Zr);function no(t,e,n){const i=arguments.length;return 2===i?y(e)&&!d(e)?br(e)?Cr(t,null,[e]):Cr(t,e):Cr(t,null,e):(i>3?n=Array.prototype.slice.call(arguments,2):3===i&&br(n)&&(n=[n]),Cr(t,e,n))}const io=Symbol.for("v-scx"),ro=()=>Ni(io),oo="3.3.4",ao="undefined"!=typeof document?document:null,so=ao&&ao.createElement("template"),lo={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,i)=>{const r=e?ao.createElementNS("http://www.w3.org/2000/svg",t):ao.createElement(t,n?{is:n}:void 0);return"select"===t&&i&&null!=i.multiple&&r.setAttribute("multiple",i.multiple),r},createText:t=>ao.createTextNode(t),createComment:t=>ao.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>ao.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,i,r,o){const a=n?n.previousSibling:e.lastChild;if(r&&(r===o||r.nextSibling))for(;e.insertBefore(r.cloneNode(!0),n),r!==o&&(r=r.nextSibling););else{so.innerHTML=i?`<svg>${t}</svg>`:t;const r=so.content;if(i){const t=r.firstChild;for(;t.firstChild;)r.appendChild(t.firstChild);r.removeChild(t)}e.insertBefore(r,n)}return[a?a.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}};const uo=/\s*!important$/;function co(t,e,n){if(d(n))n.forEach((n=>co(t,e,n)));else if(null==n&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const i=function(t,e){const n=po[e];if(n)return n;let i=T(e);if("filter"!==i&&i in t)return po[e]=i;i=L(i);for(let r=0;r<ho.length;r++){const n=ho[r]+i;if(n in t)return po[e]=n}return e}(t,e);uo.test(n)?t.setProperty(k(i),n.replace(uo,""),"important"):t[i]=n}}const ho=["Webkit","Moz","ms"],po={};const fo="http://www.w3.org/1999/xlink";function go(t,e,n,i,r=null){const o=t._vei||(t._vei={}),a=o[e];if(i&&a)a.value=i;else{const[n,s]=function(t){let e;if(vo.test(t)){let n;for(e={};n=t.match(vo);)t=t.slice(0,t.length-n[0].length),e[n[0].toLowerCase()]=!0}const n=":"===t[2]?t.slice(3):k(t.slice(2));return[n,e]}(e);if(i){const a=o[e]=function(t,e){const n=t=>{if(t._vts){if(t._vts<=n.attached)return}else t._vts=Date.now();Ne(function(t,e){if(d(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map((t=>e=>!e._stopped&&t&&t(e)))}return e}(t,n.value),e,5,[t])};return n.value=t,n.attached=_o(),n}(i,r);!function(t,e,n,i){t.addEventListener(e,n,i)}(t,n,a,s)}else a&&(!function(t,e,n,i){t.removeEventListener(e,n,i)}(t,n,a,s),o[e]=void 0)}}const vo=/(?:Once|Passive|Capture)$/;let mo=0;const yo=Promise.resolve(),_o=()=>mo||(yo.then((()=>mo=0)),mo=Date.now());const xo=/^on[a-z]/;const bo="transition",wo="animation",So=(t,{slots:e})=>no(An,function(t){const e={};for(const l in t)l in Mo||(e[l]=t[l]);if(!1===t.css)return e;const{name:n="v",type:i,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:u=o,appearActiveClass:c=a,appearToClass:h=s,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:f=`${n}-leave-to`}=t,g=function(t){if(null==t)return null;if(y(t))return[Co(t.enter),Co(t.leave)];{const e=Co(t);return[e,e]}}(r),v=g&&g[0],m=g&&g[1],{onBeforeEnter:_,onEnter:x,onEnterCancelled:b,onLeave:w,onLeaveCancelled:S,onBeforeAppear:M=_,onAppear:I=x,onAppearCancelled:A=b}=e,C=(t,e,n)=>{Do(t,e?h:s),Do(t,e?c:a),n&&n()},T=(t,e)=>{t._isLeaving=!1,Do(t,d),Do(t,f),Do(t,p),e&&e()},D=t=>(e,n)=>{const r=t?I:x,a=()=>C(e,t,n);Io(r,[e,a]),ko((()=>{Do(e,t?u:o),To(e,t?h:s),Ao(r)||Po(e,i,v,a)}))};return l(e,{onBeforeEnter(t){Io(_,[t]),To(t,o),To(t,a)},onBeforeAppear(t){Io(M,[t]),To(t,u),To(t,c)},onEnter:D(!1),onAppear:D(!0),onLeave(t,e){t._isLeaving=!0;const n=()=>T(t,e);To(t,d),document.body.offsetHeight,To(t,p),ko((()=>{t._isLeaving&&(Do(t,d),To(t,f),Ao(w)||Po(t,i,m,n))})),Io(w,[t,n])},onEnterCancelled(t){C(t,!1),Io(b,[t])},onAppearCancelled(t){C(t,!0),Io(A,[t])},onLeaveCancelled(t){T(t),Io(S,[t])}})}(t),e);So.displayName="Transition";const Mo={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};So.props=l({},In,Mo);const Io=(t,e=[])=>{d(t)?t.forEach((t=>t(...e))):t&&t(...e)},Ao=t=>!!t&&(d(t)?t.some((t=>t.length>1)):t.length>1);function Co(t){return B(t)}function To(t,e){e.split(/\s+/).forEach((e=>e&&t.classList.add(e))),(t._vtc||(t._vtc=new Set)).add(e)}function Do(t,e){e.split(/\s+/).forEach((e=>e&&t.classList.remove(e)));const{_vtc:n}=t;n&&(n.delete(e),n.size||(t._vtc=void 0))}function ko(t){requestAnimationFrame((()=>{requestAnimationFrame(t)}))}let Lo=0;function Po(t,e,n,i){const r=t._endId=++Lo,o=()=>{r===t._endId&&i()};if(n)return setTimeout(o,n);const{type:a,timeout:s,propCount:l}=function(t,e){const n=window.getComputedStyle(t),i=t=>(n[t]||"").split(", "),r=i(`${bo}Delay`),o=i(`${bo}Duration`),a=Oo(r,o),s=i(`${wo}Delay`),l=i(`${wo}Duration`),u=Oo(s,l);let c=null,h=0,d=0;e===bo?a>0&&(c=bo,h=a,d=o.length):e===wo?u>0&&(c=wo,h=u,d=l.length):(h=Math.max(a,u),c=h>0?a>u?bo:wo:null,d=c?c===bo?o.length:l.length:0);const p=c===bo&&/\b(transform|all)(,|$)/.test(i(`${bo}Property`).toString());return{type:c,timeout:h,propCount:d,hasTransform:p}}(t,e);if(!a)return i();const u=a+"end";let c=0;const h=()=>{t.removeEventListener(u,d),o()},d=e=>{e.target===t&&++c>=l&&h()};setTimeout((()=>{c<l&&h()}),s+1),t.addEventListener(u,d)}function Oo(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map(((e,n)=>Eo(e)+Eo(t[n]))))}function Eo(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}const Ro=["ctrl","shift","alt","meta"],No={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&0!==t.button,middle:t=>"button"in t&&1!==t.button,right:t=>"button"in t&&2!==t.button,exact:(t,e)=>Ro.some((n=>t[`${n}Key`]&&!e.includes(n)))},Bo=(t,e)=>(n,...i)=>{for(let t=0;t<e.length;t++){const i=No[e[t]];if(i&&i(n,e))return}return t(n,...i)},zo={beforeMount(t,{value:e},{transition:n}){t._vod="none"===t.style.display?"":t.style.display,n&&e?n.beforeEnter(t):Vo(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:i}){!e!=!n&&(i?e?(i.beforeEnter(t),Vo(t,!0),i.enter(t)):i.leave(t,(()=>{Vo(t,!1)})):Vo(t,e))},beforeUnmount(t,{value:e}){Vo(t,e)}};function Vo(t,e){t.style.display=e?t._vod:"none"}const Fo=l({patchProp:(t,e,n,i,r=!1,o,l,u,c)=>{"class"===e?function(t,e,n){const i=t._vtc;i&&(e=(e?[e,...i]:[...i]).join(" ")),null==e?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}(t,i,r):"style"===e?function(t,e,n){const i=t.style,r=v(n);if(n&&!r){if(e&&!v(e))for(const t in e)null==n[t]&&co(i,t,"");for(const t in n)co(i,t,n[t])}else{const o=i.display;r?e!==n&&(i.cssText=n):e&&t.removeAttribute("style"),"_vod"in t&&(i.display=o)}}(t,n,i):a(e)?s(e)||go(t,e,0,i,l):("."===e[0]?(e=e.slice(1),1):"^"===e[0]?(e=e.slice(1),0):function(t,e,n,i){if(i)return"innerHTML"===e||"textContent"===e||!!(e in t&&xo.test(e)&&g(n));if("spellcheck"===e||"draggable"===e||"translate"===e)return!1;if("form"===e)return!1;if("list"===e&&"INPUT"===t.tagName)return!1;if("type"===e&&"TEXTAREA"===t.tagName)return!1;if(xo.test(e)&&v(n))return!1;return e in t}(t,e,i,r))?function(t,e,n,i,r,o,a){if("innerHTML"===e||"textContent"===e)return i&&a(i,r,o),void(t[e]=null==n?"":n);const s=t.tagName;if("value"===e&&"PROGRESS"!==s&&!s.includes("-")){t._value=n;const i=null==n?"":n;return("OPTION"===s?t.getAttribute("value"):t.value)!==i&&(t.value=i),void(null==n&&t.removeAttribute(e))}let l=!1;if(""===n||null==n){const i=typeof t[e];"boolean"===i?n=q(n):null==n&&"string"===i?(n="",l=!0):"number"===i&&(n=0,l=!0)}try{t[e]=n}catch(u){}l&&t.removeAttribute(e)}(t,e,i,o,l,u,c):("true-value"===e?t._trueValue=i:"false-value"===e&&(t._falseValue=i),function(t,e,n,i,r){if(i&&e.startsWith("xlink:"))null==n?t.removeAttributeNS(fo,e.slice(6,e.length)):t.setAttributeNS(fo,e,n);else{const i=X(e);null==n||i&&!q(n)?t.removeAttribute(e):t.setAttribute(e,i?"":n)}}(t,e,i,r))}},lo);let Go;function Ho(){return Go||(Go=Qi(Fo))}const Wo=(...t)=>{Ho().render(...t)}; |
| | | /*! |
| | | * pinia v2.1.6 |
| | | * (c) 2023 Eduardo San Martin Morote |
| | | * @license MIT |
| | | */ |
| | | let Uo;const jo=t=>Uo=t,Yo=Symbol();function Xo(t){return t&&"object"==typeof t&&"[object Object]"===Object.prototype.toString.call(t)&&"function"!=typeof t.toJSON}var qo,Zo;(Zo=qo||(qo={})).direct="direct",Zo.patchObject="patch object",Zo.patchFunction="patch function";const Ko=()=>{};function $o(t,e,n,i=Ko){t.push(e);const r=()=>{const n=t.indexOf(e);n>-1&&(t.splice(n,1),i())};return!n&&tt()&&et(r),r}function Jo(t,...e){t.slice().forEach((t=>{t(...e)}))}const Qo=t=>t();function ta(t,e){t instanceof Map&&e instanceof Map&&e.forEach(((e,n)=>t.set(n,e))),t instanceof Set&&e instanceof Set&&e.forEach(t.add,t);for(const n in e){if(!e.hasOwnProperty(n))continue;const i=e[n],r=t[n];Xo(r)&&Xo(i)&&t.hasOwnProperty(n)&&!be(i)&&!he(i)?t[n]=ta(r,i):t[n]=i}return t}const ea=Symbol();const{assign:na}=Object;function ia(t,e,n={},i,r,o){let a;const s=na({actions:{}},n),l={deep:!0};let u,c,h,d=[],p=[];const f=i.state.value[t];let g;function v(e){let n;u=c=!1,"function"==typeof e?(e(i.state.value[t]),n={type:qo.patchFunction,storeId:t,events:h}):(ta(i.state.value[t],e),n={type:qo.patchObject,payload:e,storeId:t,events:h});const r=g=Symbol();Xe().then((()=>{g===r&&(u=!0)})),c=!0,Jo(d,n,i.state.value[t])}o||f||(i.state.value[t]={}),we({});const m=o?function(){const{state:t}=n,e=t?t():{};this.$patch((t=>{na(t,e)}))}:Ko;function y(e,n){return function(){jo(i);const r=Array.from(arguments),o=[],a=[];let s;Jo(p,{args:r,name:e,store:_,after:function(t){o.push(t)},onError:function(t){a.push(t)}});try{s=n.apply(this&&this.$id===t?this:_,r)}catch(l){throw Jo(a,l),l}return s instanceof Promise?s.then((t=>(Jo(o,t),t))).catch((t=>(Jo(a,t),Promise.reject(t)))):(Jo(o,s),s)}}const _=se({_p:i,$id:t,$onAction:$o.bind(null,p),$patch:v,$reset:m,$subscribe(e,n={}){const r=$o(d,e,n.detached,(()=>o())),o=a.run((()=>mn((()=>i.state.value[t]),(i=>{("sync"===n.flush?c:u)&&e({storeId:t,type:qo.direct,events:h},i)}),na({},l,n))));return r},$dispose:function(){a.stop(),d=[],p=[],i._s.delete(t)}});i._s.set(t,_);const x=i._a&&i._a.runWithContext||Qo,b=i._e.run((()=>(a=Q(),x((()=>a.run(e))))));for(const M in b){const e=b[M];if(be(e)&&(!be(S=e)||!S.effect)||he(e))o||(!f||Xo(w=e)&&w.hasOwnProperty(ea)||(be(e)?e.value=f[M]:ta(e,f[M])),i.state.value[t][M]=e);else if("function"==typeof e){const t=y(M,e);b[M]=t,s.actions[M]=e}}var w,S;return na(_,b),na(ge(_),b),Object.defineProperty(_,"$state",{get:()=>i.state.value[t],set:t=>{v((e=>{na(e,t)}))}}),i._p.forEach((t=>{na(_,a.run((()=>t({store:_,app:i._a,pinia:i,options:s}))))})),f&&o&&n.hydrate&&n.hydrate(_.$state,f),u=!0,c=!0,_}const ra=(t,e,{checkForDefaultPrevented:n=!0}={})=>i=>{const r=null==t?void 0:t(i);if(!1===n||!r)return null==e?void 0:e(i)},oa=t=>e=>"mouse"===e.pointerType?t(e):void 0;var aa;const sa="undefined"!=typeof window,la=t=>"string"==typeof t,ua=()=>{},ca=sa&&(null==(aa=null==window?void 0:window.navigator)?void 0:aa.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function ha(t){return"function"==typeof t?t():Ae(t)}function da(t){return!!tt()&&(et(t),!0)}function pa(t){var e;const n=ha(t);return null!=(e=null==n?void 0:n.$el)?e:n}const fa=sa?window:void 0;function ga(...t){let e,n,i,r;if(la(t[0])||Array.isArray(t[0])?([n,i,r]=t,e=fa):[e,n,i,r]=t,!e)return ua;Array.isArray(n)||(n=[n]),Array.isArray(i)||(i=[i]);const o=[],a=()=>{o.forEach((t=>t())),o.length=0},s=mn((()=>[pa(e),ha(r)]),(([t,e])=>{a(),t&&o.push(...n.flatMap((n=>i.map((i=>((t,e,n,i)=>(t.addEventListener(e,n,i),()=>t.removeEventListener(e,n,i)))(t,n,i,e))))))}),{immediate:!0,flush:"post"}),l=()=>{s(),a()};return da(l),l}let va=!1;function ma(t,e=!1){const n=we(),i=()=>n.value=Boolean(t());return i(),function(t,e=!0){Gr()?qn(t):e?t():Xe(t)}(i,e),n}const ya="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},_a="__vueuse_ssr_handlers__";ya[_a]=ya[_a]||{};var xa,ba,wa=Object.getOwnPropertySymbols,Sa=Object.prototype.hasOwnProperty,Ma=Object.prototype.propertyIsEnumerable;function Ia(t,e,n={}){const i=n,{window:r=fa}=i,o=((t,e)=>{var n={};for(var i in t)Sa.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&wa)for(var i of wa(t))e.indexOf(i)<0&&Ma.call(t,i)&&(n[i]=t[i]);return n})(i,["window"]);let a;const s=ma((()=>r&&"ResizeObserver"in r)),l=()=>{a&&(a.disconnect(),a=void 0)},u=mn((()=>pa(t)),(t=>{l(),s.value&&r&&t&&(a=new ResizeObserver(e),a.observe(t,o))}),{immediate:!0,flush:"post"}),c=()=>{l(),u()};return da(c),{isSupported:s,stop:c}}(ba=xa||(xa={})).UP="UP",ba.RIGHT="RIGHT",ba.DOWN="DOWN",ba.LEFT="LEFT",ba.NONE="NONE";var Aa=Object.defineProperty,Ca=Object.getOwnPropertySymbols,Ta=Object.prototype.hasOwnProperty,Da=Object.prototype.propertyIsEnumerable,ka=(t,e,n)=>e in t?Aa(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;((t,e)=>{for(var n in e||(e={}))Ta.call(e,n)&&ka(t,n,e[n]);if(Ca)for(var n of Ca(e))Da.call(e,n)&&ka(t,n,e[n])})({linear:function(t){return t}},{easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]});const La="object"==typeof global&&global&&global.Object===Object&&global;var Pa="object"==typeof self&&self&&self.Object===Object&&self;const Oa=La||Pa||Function("return this")();const Ea=Oa.Symbol;var Ra=Object.prototype,Na=Ra.hasOwnProperty,Ba=Ra.toString,za=Ea?Ea.toStringTag:void 0;var Va=Object.prototype.toString;var Fa="[object Null]",Ga="[object Undefined]",Ha=Ea?Ea.toStringTag:void 0;function Wa(t){return null==t?void 0===t?Ga:Fa:Ha&&Ha in Object(t)?function(t){var e=Na.call(t,za),n=t[za];try{t[za]=void 0;var i=!0}catch(o){}var r=Ba.call(t);return i&&(e?t[za]=n:delete t[za]),r}(t):function(t){return Va.call(t)}(t)}var Ua="[object Symbol]";function ja(t){return"symbol"==typeof t||function(t){return null!=t&&"object"==typeof t}(t)&&Wa(t)==Ua}const Ya=Array.isArray;var Xa=1/0,qa=Ea?Ea.prototype:void 0,Za=qa?qa.toString:void 0;function Ka(t){if("string"==typeof t)return t;if(Ya(t))return function(t,e){for(var n=-1,i=null==t?0:t.length,r=Array(i);++n<i;)r[n]=e(t[n],n,t);return r}(t,Ka)+"";if(ja(t))return Za?Za.call(t):"";var e=t+"";return"0"==e&&1/t==-Xa?"-0":e}function $a(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}var Ja="[object AsyncFunction]",Qa="[object Function]",ts="[object GeneratorFunction]",es="[object Proxy]";const ns=Oa["__core-js_shared__"];var is,rs=(is=/[^.]+$/.exec(ns&&ns.keys&&ns.keys.IE_PROTO||""))?"Symbol(src)_1."+is:"";var os=Function.prototype.toString;var as=/^\[object .+?Constructor\]$/,ss=Function.prototype,ls=Object.prototype,us=ss.toString,cs=ls.hasOwnProperty,hs=RegExp("^"+us.call(cs).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ds(t){if(!$a(t)||(e=t,rs&&rs in e))return!1;var e,n=function(t){if(!$a(t))return!1;var e=Wa(t);return e==Qa||e==ts||e==Ja||e==es}(t)?hs:as;return n.test(function(t){if(null!=t){try{return os.call(t)}catch(e){}try{return t+""}catch(e){}}return""}(t))}function ps(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return ds(n)?n:void 0}var fs=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,gs=/^\w*$/;const vs=ps(Object,"create");var ms=Object.prototype.hasOwnProperty;var ys=Object.prototype.hasOwnProperty;function _s(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function xs(t,e){for(var n,i,r=t.length;r--;)if((n=t[r][0])===(i=e)||n!=n&&i!=i)return r;return-1}_s.prototype.clear=function(){this.__data__=vs?vs(null):{},this.size=0},_s.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},_s.prototype.get=function(t){var e=this.__data__;if(vs){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return ms.call(e,t)?e[t]:void 0},_s.prototype.has=function(t){var e=this.__data__;return vs?void 0!==e[t]:ys.call(e,t)},_s.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=vs&&void 0===e?"__lodash_hash_undefined__":e,this};var bs=Array.prototype.splice;function ws(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}ws.prototype.clear=function(){this.__data__=[],this.size=0},ws.prototype.delete=function(t){var e=this.__data__,n=xs(e,t);return!(n<0)&&(n==e.length-1?e.pop():bs.call(e,n,1),--this.size,!0)},ws.prototype.get=function(t){var e=this.__data__,n=xs(e,t);return n<0?void 0:e[n][1]},ws.prototype.has=function(t){return xs(this.__data__,t)>-1},ws.prototype.set=function(t,e){var n=this.__data__,i=xs(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this};const Ss=ps(Oa,"Map");function Ms(t,e){var n,i,r=t.__data__;return("string"==(i=typeof(n=e))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?r["string"==typeof e?"string":"hash"]:r.map}function Is(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}Is.prototype.clear=function(){this.size=0,this.__data__={hash:new _s,map:new(Ss||ws),string:new _s}},Is.prototype.delete=function(t){var e=Ms(this,t).delete(t);return this.size-=e?1:0,e},Is.prototype.get=function(t){return Ms(this,t).get(t)},Is.prototype.has=function(t){return Ms(this,t).has(t)},Is.prototype.set=function(t,e){var n=Ms(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this};var As="Expected a function";function Cs(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(As);var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var a=t.apply(this,i);return n.cache=o.set(r,a)||o,a};return n.cache=new(Cs.Cache||Is),n}Cs.Cache=Is;var Ts,Ds,ks,Ls=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ps=/\\(\\)?/g,Os=(Ts=function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Ls,(function(t,n,i,r){e.push(i?r.replace(Ps,"$1"):n||t)})),e},Ds=Cs(Ts,(function(t){return 500===ks.size&&ks.clear(),t})),ks=Ds.cache,Ds);const Es=Os;function Rs(t,e){return Ya(t)?t:function(t,e){if(Ya(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!ja(t))||gs.test(t)||!fs.test(t)||null!=e&&t in Object(e)}(t,e)?[t]:Es(function(t){return null==t?"":Ka(t)}(t))}var Ns=1/0;function Bs(t){if("string"==typeof t||ja(t))return t;var e=t+"";return"0"==e&&1/t==-Ns?"-0":e}function zs(t,e,n){var i=null==t?void 0:function(t,e){for(var n=0,i=(e=Rs(e,t)).length;null!=t&&n<i;)t=t[Bs(e[n++])];return n&&n==i?t:void 0}(t,e);return void 0===i?n:i}function Vs(t){for(var e=-1,n=null==t?0:t.length,i={};++e<n;){var r=t[e];i[r[0]]=r[1]}return i}function Fs(t){return null==t}const Gs=t=>"boolean"==typeof t,Hs=t=>"number"==typeof t,Ws=t=>"undefined"!=typeof Element&&t instanceof Element,Us=t=>Object.keys(t);class js extends Error{constructor(t){super(t),this.name="ElementPlusError"}}function Ys(t,e="px"){return t?Hs(t)||v(n=t)&&!Number.isNaN(Number(n))?`${t}${e}`:v(t)?t:void 0:"";var n} |
| | | /*! Element Plus Icons Vue v2.1.0 */var Xs=(t,e)=>{let n=t.__vccOpts||t;for(let[i,r]of e)n[i]=r;return n},qs={name:"ArrowDown"},Zs={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Ks=[Ar("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"},null,-1)];var $s=Xs(qs,[["render",function(t,e,n,i,r,o){return gr(),_r("svg",Zs,Ks)}],["__file","arrow-down.vue"]]),Js={name:"Check"},Qs={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},tl=[Ar("path",{fill:"currentColor",d:"M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"},null,-1)];var el=Xs(Js,[["render",function(t,e,n,i,r,o){return gr(),_r("svg",Qs,tl)}],["__file","check.vue"]]),nl={name:"CircleCheck"},il={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},rl=[Ar("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),Ar("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752l265.344-265.408z"},null,-1)];var ol=Xs(nl,[["render",function(t,e,n,i,r,o){return gr(),_r("svg",il,rl)}],["__file","circle-check.vue"]]),al={name:"CircleCloseFilled"},sl={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},ll=[Ar("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336L512 457.664z"},null,-1)];var ul=Xs(al,[["render",function(t,e,n,i,r,o){return gr(),_r("svg",sl,ll)}],["__file","circle-close-filled.vue"]]),cl={name:"CircleClose"},hl={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},dl=[Ar("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248L466.752 512z"},null,-1),Ar("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1)];var pl=Xs(cl,[["render",function(t,e,n,i,r,o){return gr(),_r("svg",hl,dl)}],["__file","circle-close.vue"]]),fl={name:"Close"},gl={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},vl=[Ar("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"},null,-1)];var ml=Xs(fl,[["render",function(t,e,n,i,r,o){return gr(),_r("svg",gl,vl)}],["__file","close.vue"]]),yl={name:"InfoFilled"},_l={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},xl=[Ar("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64zm67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344zM590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"},null,-1)];var bl=Xs(yl,[["render",function(t,e,n,i,r,o){return gr(),_r("svg",_l,xl)}],["__file","info-filled.vue"]]),wl={name:"Loading"},Sl={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Ml=[Ar("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32zm0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32zm448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32zm-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32zM195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0zm-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"},null,-1)];var Il=Xs(wl,[["render",function(t,e,n,i,r,o){return gr(),_r("svg",Sl,Ml)}],["__file","loading.vue"]]),Al={name:"SuccessFilled"},Cl={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Tl=[Ar("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336L456.192 600.384z"},null,-1)];var Dl=Xs(Al,[["render",function(t,e,n,i,r,o){return gr(),_r("svg",Cl,Tl)}],["__file","success-filled.vue"]]),kl={name:"WarningFilled"},Ll={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Pl=[Ar("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256zm0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4z"},null,-1)];var Ol=Xs(kl,[["render",function(t,e,n,i,r,o){return gr(),_r("svg",Ll,Pl)}],["__file","warning-filled.vue"]]);const El="__epPropKey",Rl=(t,e)=>{if(!y(t)||y(n=t)&&n[El])return t;var n;const{values:i,required:r,default:o,type:a,validator:s}=t,l=i||s?e=>{let n=!1,r=[];if(i&&(r=Array.from(i),h(t,"default")&&r.push(o),n||(n=r.includes(e))),s&&(n||(n=s(e))),!n&&r.length>0){[...new Set(r)].map((t=>JSON.stringify(t))).join(", ");JSON.stringify(e)}return n}:void 0,u={type:a,required:!!r,validator:l,[El]:!0};return h(t,"default")&&(u.default=o),u},Nl=t=>Vs(Object.entries(t).map((([t,e])=>[t,Rl(e)]))),Bl=[String,Object,Function],zl={Close:ml,SuccessFilled:Dl,InfoFilled:bl,WarningFilled:Ol,CircleCloseFilled:ul},Vl={success:Dl,warning:Ol,error:ul,info:bl},Fl=(t,e)=>{if(t.install=n=>{for(const i of[t,...Object.values(null!=e?e:{})])n.component(i.name,i)},e)for(const[n,i]of Object.entries(e))t[n]=i;return t},Gl=t=>(t.install=i,t),Hl=(...t)=>e=>{t.forEach((t=>{g(t)?t(e):t.value=e}))},Wl={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"};var Ul={name:"en",el:{colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color."},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"}}};const jl=t=>(e,n)=>Yl(e,n,Ae(t)),Yl=(t,e,n)=>zs(n,t,t).replace(/\{(\w+)\}/g,((t,n)=>{var i;return`${null!=(i=null==e?void 0:e[n])?i:`{${n}}`}`})),Xl=Symbol("localeContextKey"),ql=t=>{const e=t||Ni(Xl,we());return(t=>({lang:eo((()=>Ae(t).name)),locale:be(t)?t:we(t),t:jl(t)}))(eo((()=>e.value||Ul)))},Zl="el",Kl=(t,e,n,i,r)=>{let o=`${t}-${e}`;return n&&(o+=`-${n}`),i&&(o+=`__${i}`),r&&(o+=`--${r}`),o},$l=Symbol("namespaceContextKey"),Jl=t=>{const e=t||(Gr()?Ni($l,we(Zl)):we(Zl));return eo((()=>Ae(e)||Zl))},Ql=(t,e)=>{const n=Jl(e);return{namespace:n,b:(e="")=>Kl(n.value,t,e,"",""),e:e=>e?Kl(n.value,t,"",e,""):"",m:e=>e?Kl(n.value,t,"","",e):"",be:(e,i)=>e&&i?Kl(n.value,t,e,i,""):"",em:(e,i)=>e&&i?Kl(n.value,t,"",e,i):"",bm:(e,i)=>e&&i?Kl(n.value,t,e,"",i):"",bem:(e,i,r)=>e&&i&&r?Kl(n.value,t,e,i,r):"",is:(t,...e)=>{const n=!(e.length>=1)||e[0];return t&&n?`is-${t}`:""},cssVar:t=>{const e={};for(const i in t)t[i]&&(e[`--${n.value}-${i}`]=t[i]);return e},cssVarName:t=>`--${n.value}-${t}`,cssVarBlock:e=>{const i={};for(const r in e)e[r]&&(i[`--${n.value}-${t}-${r}`]=e[r]);return i},cssVarBlockName:e=>`--${n.value}-${t}-${e}`}},tu=Rl({type:Boolean,default:null}),eu=Rl({type:Function}),nu=t=>{const e=`update:${t}`,n=`onUpdate:${t}`;return{useModelToggle:({indicator:i,toggleReason:r,shouldHideWhenRouteChanges:o,shouldProceed:a,onShow:s,onHide:l})=>{const u=Gr(),{emit:c}=u,h=u.props,d=eo((()=>g(h[n]))),p=eo((()=>null===h[t])),f=t=>{!0!==i.value&&(i.value=!0,r&&(r.value=t),g(s)&&s(t))},v=t=>{!1!==i.value&&(i.value=!1,r&&(r.value=t),g(l)&&l(t))},m=t=>{if(!0===h.disabled||g(a)&&!a())return;const n=d.value&&sa;n&&c(e,!0),!p.value&&n||f(t)},y=t=>{if(!0===h.disabled||!sa)return;const n=d.value&&sa;n&&c(e,!1),!p.value&&n||v(t)},_=t=>{Gs(t)&&(h.disabled&&t?d.value&&c(e,!1):i.value!==t&&(t?f():v()))};return mn((()=>h[t]),_),o&&void 0!==u.appContext.config.globalProperties.$route&&mn((()=>({...u.proxy.$route})),(()=>{o.value&&i.value&&y()})),qn((()=>{_(h[t])})),{hide:y,show:m,toggle:()=>{i.value?y():m()},hasUpdateHandler:d}},useModelToggleProps:{[t]:tu,[n]:eu},useModelToggleEmits:[e]}};nu("modelValue");const iu=t=>{const e=Gr();return eo((()=>{var n,i;return null==(i=null==(n=null==e?void 0:e.proxy)?void 0:n.$props)?void 0:i[t]}))};var ru="top",ou="bottom",au="right",su="left",lu="auto",uu=[ru,ou,au,su],cu="start",hu="end",du="clippingParents",pu="viewport",fu="popper",gu="reference",vu=uu.reduce((function(t,e){return t.concat([e+"-"+cu,e+"-"+hu])}),[]),mu=[].concat(uu,[lu]).reduce((function(t,e){return t.concat([e,e+"-"+cu,e+"-"+hu])}),[]),yu=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function _u(t){return t?(t.nodeName||"").toLowerCase():null}function xu(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function bu(t){return t instanceof xu(t).Element||t instanceof Element}function wu(t){return t instanceof xu(t).HTMLElement||t instanceof HTMLElement}function Su(t){return"undefined"!=typeof ShadowRoot&&(t instanceof xu(t).ShadowRoot||t instanceof ShadowRoot)}var Mu={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},i=e.attributes[t]||{},r=e.elements[t];!wu(r)||!_u(r)||(Object.assign(r.style,n),Object.keys(i).forEach((function(t){var e=i[t];!1===e?r.removeAttribute(t):r.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var i=e.elements[t],r=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});!wu(i)||!_u(i)||(Object.assign(i.style,o),Object.keys(r).forEach((function(t){i.removeAttribute(t)})))}))}},requires:["computeStyles"]};function Iu(t){return t.split("-")[0]}var Au=Math.max,Cu=Math.min,Tu=Math.round;function Du(t,e){void 0===e&&(e=!1);var n=t.getBoundingClientRect(),i=1,r=1;if(wu(t)&&e){var o=t.offsetHeight,a=t.offsetWidth;a>0&&(i=Tu(n.width)/a||1),o>0&&(r=Tu(n.height)/o||1)}return{width:n.width/i,height:n.height/r,top:n.top/r,right:n.right/i,bottom:n.bottom/r,left:n.left/i,x:n.left/i,y:n.top/r}}function ku(t){var e=Du(t),n=t.offsetWidth,i=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-i)<=1&&(i=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:i}}function Lu(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&Su(n)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function Pu(t){return xu(t).getComputedStyle(t)}function Ou(t){return["table","td","th"].indexOf(_u(t))>=0}function Eu(t){return((bu(t)?t.ownerDocument:t.document)||window.document).documentElement}function Ru(t){return"html"===_u(t)?t:t.assignedSlot||t.parentNode||(Su(t)?t.host:null)||Eu(t)}function Nu(t){return wu(t)&&"fixed"!==Pu(t).position?t.offsetParent:null}function Bu(t){for(var e=xu(t),n=Nu(t);n&&Ou(n)&&"static"===Pu(n).position;)n=Nu(n);return n&&("html"===_u(n)||"body"===_u(n)&&"static"===Pu(n).position)?e:n||function(t){var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&wu(t)&&"fixed"===Pu(t).position)return null;var n=Ru(t);for(Su(n)&&(n=n.host);wu(n)&&["html","body"].indexOf(_u(n))<0;){var i=Pu(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||e&&"filter"===i.willChange||e&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(t)||e}function zu(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Vu(t,e,n){return Au(t,Cu(e,n))}function Fu(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function Gu(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}var Hu={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,i=t.name,r=t.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=Iu(n.placement),l=zu(s),u=[su,au].indexOf(s)>=0?"height":"width";if(o&&a){var c=function(t,e){return Fu("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:Gu(t,uu))}(r.padding,n),h=ku(o),d="y"===l?ru:su,p="y"===l?ou:au,f=n.rects.reference[u]+n.rects.reference[l]-a[l]-n.rects.popper[u],g=a[l]-n.rects.reference[l],v=Bu(o),m=v?"y"===l?v.clientHeight||0:v.clientWidth||0:0,y=f/2-g/2,_=c[d],x=m-h[u]-c[p],b=m/2-h[u]/2+y,w=Vu(_,b,x),S=l;n.modifiersData[i]=((e={})[S]=w,e.centerOffset=w-b,e)}},effect:function(t){var e=t.state,n=t.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"==typeof i&&!(i=e.elements.popper.querySelector(i))||!Lu(e.elements.popper,i)||(e.elements.arrow=i))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Wu(t){return t.split("-")[1]}var Uu={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ju(t){var e,n=t.popper,i=t.popperRect,r=t.placement,o=t.variation,a=t.offsets,s=t.position,l=t.gpuAcceleration,u=t.adaptive,c=t.roundOffsets,h=t.isFixed,d=a.x,p=void 0===d?0:d,f=a.y,g=void 0===f?0:f,v="function"==typeof c?c({x:p,y:g}):{x:p,y:g};p=v.x,g=v.y;var m=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),_=su,x=ru,b=window;if(u){var w=Bu(n),S="clientHeight",M="clientWidth";if(w===xu(n)&&("static"!==Pu(w=Eu(n)).position&&"absolute"===s&&(S="scrollHeight",M="scrollWidth")),r===ru||(r===su||r===au)&&o===hu)x=ou,g-=(h&&w===b&&b.visualViewport?b.visualViewport.height:w[S])-i.height,g*=l?1:-1;if(r===su||(r===ru||r===ou)&&o===hu)_=au,p-=(h&&w===b&&b.visualViewport?b.visualViewport.width:w[M])-i.width,p*=l?1:-1}var I,A=Object.assign({position:s},u&&Uu),C=!0===c?function(t){var e=t.x,n=t.y,i=window.devicePixelRatio||1;return{x:Tu(e*i)/i||0,y:Tu(n*i)/i||0}}({x:p,y:g}):{x:p,y:g};return p=C.x,g=C.y,l?Object.assign({},A,((I={})[x]=y?"0":"",I[_]=m?"0":"",I.transform=(b.devicePixelRatio||1)<=1?"translate("+p+"px, "+g+"px)":"translate3d("+p+"px, "+g+"px, 0)",I)):Object.assign({},A,((e={})[x]=y?g+"px":"",e[_]=m?p+"px":"",e.transform="",e))}var Yu={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,i=n.gpuAcceleration,r=void 0===i||i,o=n.adaptive,a=void 0===o||o,s=n.roundOffsets,l=void 0===s||s,u={placement:Iu(e.placement),variation:Wu(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:r,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,ju(Object.assign({},u,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,ju(Object.assign({},u,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},Xu={passive:!0};var qu={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,i=t.options,r=i.scroll,o=void 0===r||r,a=i.resize,s=void 0===a||a,l=xu(e.elements.popper),u=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&u.forEach((function(t){t.addEventListener("scroll",n.update,Xu)})),s&&l.addEventListener("resize",n.update,Xu),function(){o&&u.forEach((function(t){t.removeEventListener("scroll",n.update,Xu)})),s&&l.removeEventListener("resize",n.update,Xu)}},data:{}},Zu={left:"right",right:"left",bottom:"top",top:"bottom"};function Ku(t){return t.replace(/left|right|bottom|top/g,(function(t){return Zu[t]}))}var $u={start:"end",end:"start"};function Ju(t){return t.replace(/start|end/g,(function(t){return $u[t]}))}function Qu(t){var e=xu(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function tc(t){return Du(Eu(t)).left+Qu(t).scrollLeft}function ec(t){var e=Pu(t),n=e.overflow,i=e.overflowX,r=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+i)}function nc(t){return["html","body","#document"].indexOf(_u(t))>=0?t.ownerDocument.body:wu(t)&&ec(t)?t:nc(Ru(t))}function ic(t,e){var n;void 0===e&&(e=[]);var i=nc(t),r=i===(null==(n=t.ownerDocument)?void 0:n.body),o=xu(i),a=r?[o].concat(o.visualViewport||[],ec(i)?i:[]):i,s=e.concat(a);return r?s:s.concat(ic(Ru(a)))}function rc(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function oc(t,e){return e===pu?rc(function(t){var e=xu(t),n=Eu(t),i=e.visualViewport,r=n.clientWidth,o=n.clientHeight,a=0,s=0;return i&&(r=i.width,o=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=i.offsetLeft,s=i.offsetTop)),{width:r,height:o,x:a+tc(t),y:s}}(t)):bu(e)?function(t){var e=Du(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(e):rc(function(t){var e,n=Eu(t),i=Qu(t),r=null==(e=t.ownerDocument)?void 0:e.body,o=Au(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=Au(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),s=-i.scrollLeft+tc(t),l=-i.scrollTop;return"rtl"===Pu(r||n).direction&&(s+=Au(n.clientWidth,r?r.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}(Eu(t)))}function ac(t,e,n){var i="clippingParents"===e?function(t){var e=ic(Ru(t)),n=["absolute","fixed"].indexOf(Pu(t).position)>=0&&wu(t)?Bu(t):t;return bu(n)?e.filter((function(t){return bu(t)&&Lu(t,n)&&"body"!==_u(t)})):[]}(t):[].concat(e),r=[].concat(i,[n]),o=r[0],a=r.reduce((function(e,n){var i=oc(t,n);return e.top=Au(i.top,e.top),e.right=Cu(i.right,e.right),e.bottom=Cu(i.bottom,e.bottom),e.left=Au(i.left,e.left),e}),oc(t,o));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function sc(t){var e,n=t.reference,i=t.element,r=t.placement,o=r?Iu(r):null,a=r?Wu(r):null,s=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(o){case ru:e={x:s,y:n.y-i.height};break;case ou:e={x:s,y:n.y+n.height};break;case au:e={x:n.x+n.width,y:l};break;case su:e={x:n.x-i.width,y:l};break;default:e={x:n.x,y:n.y}}var u=o?zu(o):null;if(null!=u){var c="y"===u?"height":"width";switch(a){case cu:e[u]=e[u]-(n[c]/2-i[c]/2);break;case hu:e[u]=e[u]+(n[c]/2-i[c]/2)}}return e}function lc(t,e){void 0===e&&(e={});var n=e,i=n.placement,r=void 0===i?t.placement:i,o=n.boundary,a=void 0===o?du:o,s=n.rootBoundary,l=void 0===s?pu:s,u=n.elementContext,c=void 0===u?fu:u,h=n.altBoundary,d=void 0!==h&&h,p=n.padding,f=void 0===p?0:p,g=Fu("number"!=typeof f?f:Gu(f,uu)),v=c===fu?gu:fu,m=t.rects.popper,y=t.elements[d?v:c],_=ac(bu(y)?y:y.contextElement||Eu(t.elements.popper),a,l),x=Du(t.elements.reference),b=sc({reference:x,element:m,strategy:"absolute",placement:r}),w=rc(Object.assign({},m,b)),S=c===fu?w:x,M={top:_.top-S.top+g.top,bottom:S.bottom-_.bottom+g.bottom,left:_.left-S.left+g.left,right:S.right-_.right+g.right},I=t.modifiersData.offset;if(c===fu&&I){var A=I[r];Object.keys(M).forEach((function(t){var e=[au,ou].indexOf(t)>=0?1:-1,n=[ru,ou].indexOf(t)>=0?"y":"x";M[t]+=A[n]*e}))}return M}var uc={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name;if(!e.modifiersData[i]._skip){for(var r=n.mainAxis,o=void 0===r||r,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,u=n.padding,c=n.boundary,h=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,f=void 0===p||p,g=n.allowedAutoPlacements,v=e.options.placement,m=Iu(v),y=l||(m===v||!f?[Ku(v)]:function(t){if(Iu(t)===lu)return[];var e=Ku(t);return[Ju(t),e,Ju(e)]}(v)),_=[v].concat(y).reduce((function(t,n){return t.concat(Iu(n)===lu?function(t,e){void 0===e&&(e={});var n=e,i=n.placement,r=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=void 0===l?mu:l,c=Wu(i),h=c?s?vu:vu.filter((function(t){return Wu(t)===c})):uu,d=h.filter((function(t){return u.indexOf(t)>=0}));0===d.length&&(d=h);var p=d.reduce((function(e,n){return e[n]=lc(t,{placement:n,boundary:r,rootBoundary:o,padding:a})[Iu(n)],e}),{});return Object.keys(p).sort((function(t,e){return p[t]-p[e]}))}(e,{placement:n,boundary:c,rootBoundary:h,padding:u,flipVariations:f,allowedAutoPlacements:g}):n)}),[]),x=e.rects.reference,b=e.rects.popper,w=new Map,S=!0,M=_[0],I=0;I<_.length;I++){var A=_[I],C=Iu(A),T=Wu(A)===cu,D=[ru,ou].indexOf(C)>=0,k=D?"width":"height",L=lc(e,{placement:A,boundary:c,rootBoundary:h,altBoundary:d,padding:u}),P=D?T?au:su:T?ou:ru;x[k]>b[k]&&(P=Ku(P));var O=Ku(P),E=[];if(o&&E.push(L[C]<=0),s&&E.push(L[P]<=0,L[O]<=0),E.every((function(t){return t}))){M=A,S=!1;break}w.set(A,E)}if(S)for(var R=function(t){var e=_.find((function(e){var n=w.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return M=e,"break"},N=f?3:1;N>0;N--){if("break"===R(N))break}e.placement!==M&&(e.modifiersData[i]._skip=!0,e.placement=M,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function cc(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function hc(t){return[ru,au,ou,su].some((function(e){return t[e]>=0}))}var dc={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,n=t.name,i=e.rects.reference,r=e.rects.popper,o=e.modifiersData.preventOverflow,a=lc(e,{elementContext:"reference"}),s=lc(e,{altBoundary:!0}),l=cc(a,i),u=cc(s,r,o),c=hc(l),h=hc(u);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:h},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":h})}};var pc={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.options,i=t.name,r=n.offset,o=void 0===r?[0,0]:r,a=mu.reduce((function(t,n){return t[n]=function(t,e,n){var i=Iu(t),r=[su,ru].indexOf(i)>=0?-1:1,o="function"==typeof n?n(Object.assign({},e,{placement:t})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*r,[su,au].indexOf(i)>=0?{x:s,y:a}:{x:a,y:s}}(n,e.rects,o),t}),{}),s=a[e.placement],l=s.x,u=s.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=u),e.modifiersData[i]=a}};var fc={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=sc({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}};var gc={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,i=t.name,r=n.mainAxis,o=void 0===r||r,a=n.altAxis,s=void 0!==a&&a,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,h=n.padding,d=n.tether,p=void 0===d||d,f=n.tetherOffset,g=void 0===f?0:f,v=lc(e,{boundary:l,rootBoundary:u,padding:h,altBoundary:c}),m=Iu(e.placement),y=Wu(e.placement),_=!y,x=zu(m),b=function(t){return"x"===t?"y":"x"}(x),w=e.modifiersData.popperOffsets,S=e.rects.reference,M=e.rects.popper,I="function"==typeof g?g(Object.assign({},e.rects,{placement:e.placement})):g,A="number"==typeof I?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),C=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,T={x:0,y:0};if(w){if(o){var D,k="y"===x?ru:su,L="y"===x?ou:au,P="y"===x?"height":"width",O=w[x],E=O+v[k],R=O-v[L],N=p?-M[P]/2:0,B=y===cu?S[P]:M[P],z=y===cu?-M[P]:-S[P],V=e.elements.arrow,F=p&&V?ku(V):{width:0,height:0},G=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},H=G[k],W=G[L],U=Vu(0,S[P],F[P]),j=_?S[P]/2-N-U-H-A.mainAxis:B-U-H-A.mainAxis,Y=_?-S[P]/2+N+U+W+A.mainAxis:z+U+W+A.mainAxis,X=e.elements.arrow&&Bu(e.elements.arrow),q=X?"y"===x?X.clientTop||0:X.clientLeft||0:0,Z=null!=(D=null==C?void 0:C[x])?D:0,K=O+Y-Z,$=Vu(p?Cu(E,O+j-Z-q):E,O,p?Au(R,K):R);w[x]=$,T[x]=$-O}if(s){var J,Q="x"===x?ru:su,tt="x"===x?ou:au,et=w[b],nt="y"===b?"height":"width",it=et+v[Q],rt=et-v[tt],ot=-1!==[ru,su].indexOf(m),at=null!=(J=null==C?void 0:C[b])?J:0,st=ot?it:et-S[nt]-M[nt]-at+A.altAxis,lt=ot?et+S[nt]+M[nt]-at-A.altAxis:rt,ut=p&&ot?function(t,e,n){var i=Vu(t,e,n);return i>n?n:i}(st,et,lt):Vu(p?st:it,et,p?lt:rt);w[b]=ut,T[b]=ut-et}e.modifiersData[i]=T}},requiresIfExists:["offset"]};function vc(t,e,n){void 0===n&&(n=!1);var i=wu(e),r=wu(e)&&function(t){var e=t.getBoundingClientRect(),n=Tu(e.width)/t.offsetWidth||1,i=Tu(e.height)/t.offsetHeight||1;return 1!==n||1!==i}(e),o=Eu(e),a=Du(t,r),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!n)&&(("body"!==_u(e)||ec(o))&&(s=function(t){return t!==xu(t)&&wu(t)?function(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}(t):Qu(t)}(e)),wu(e)?((l=Du(e,!0)).x+=e.clientLeft,l.y+=e.clientTop):o&&(l.x=tc(o))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function mc(t){var e=new Map,n=new Set,i=[];function r(t){n.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!n.has(t)){var i=e.get(t);i&&r(i)}})),i.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||r(t)})),i}function yc(t){var e;return function(){return e||(e=new Promise((function(n){Promise.resolve().then((function(){e=void 0,n(t())}))}))),e}}var _c={placement:"bottom",modifiers:[],strategy:"absolute"};function xc(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function bc(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,i=void 0===n?[]:n,r=e.defaultOptions,o=void 0===r?_c:r;return function(t,e,n){void 0===n&&(n=o);var r={placement:"bottom",orderedModifiers:[],options:Object.assign({},_c,o),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},a=[],s=!1,l={state:r,setOptions:function(n){var s="function"==typeof n?n(r.options):n;u(),r.options=Object.assign({},o,r.options,s),r.scrollParents={reference:bu(t)?ic(t):t.contextElement?ic(t.contextElement):[],popper:ic(e)};var c=function(t){var e=mc(t);return yu.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}(function(t){var e=t.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t}),{});return Object.keys(e).map((function(t){return e[t]}))}([].concat(i,r.options.modifiers)));return r.orderedModifiers=c.filter((function(t){return t.enabled})),r.orderedModifiers.forEach((function(t){var e=t.name,n=t.options,i=void 0===n?{}:n,o=t.effect;if("function"==typeof o){var s=o({state:r,name:e,instance:l,options:i}),u=function(){};a.push(s||u)}})),l.update()},forceUpdate:function(){if(!s){var t=r.elements,e=t.reference,n=t.popper;if(xc(e,n)){r.rects={reference:vc(e,Bu(n),"fixed"===r.options.strategy),popper:ku(n)},r.reset=!1,r.placement=r.options.placement,r.orderedModifiers.forEach((function(t){return r.modifiersData[t.name]=Object.assign({},t.data)}));for(var i=0;i<r.orderedModifiers.length;i++)if(!0!==r.reset){var o=r.orderedModifiers[i],a=o.fn,u=o.options,c=void 0===u?{}:u,h=o.name;"function"==typeof a&&(r=a({state:r,options:c,name:h,instance:l})||r)}else r.reset=!1,i=-1}}},update:yc((function(){return new Promise((function(t){l.forceUpdate(),t(r)}))})),destroy:function(){u(),s=!0}};if(!xc(t,e))return l;function u(){a.forEach((function(t){return t()})),a=[]}return l.setOptions(n).then((function(t){!s&&n.onFirstUpdate&&n.onFirstUpdate(t)})),l}}bc(),bc({defaultModifiers:[qu,fc,Yu,Mu]});var wc=bc({defaultModifiers:[qu,fc,Yu,Mu,pc,uc,gc,Hu,dc]});const Sc=(t,e,n={})=>{const i={name:"updateState",enabled:!0,phase:"write",fn:({state:t})=>{const e=function(t){const e=Object.keys(t.elements),n=Vs(e.map((e=>[e,t.styles[e]||{}]))),i=Vs(e.map((e=>[e,t.attributes[e]])));return{styles:n,attributes:i}}(t);Object.assign(a.value,e)},requires:["computeStyles"]},r=eo((()=>{const{onFirstUpdate:t,placement:e,strategy:r,modifiers:o}=Ae(n);return{onFirstUpdate:t,placement:e||"bottom",strategy:r||"absolute",modifiers:[...o||[],i,{name:"applyStyles",enabled:!1}]}})),o=Se(),a=we({styles:{popper:{position:Ae(r).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),s=()=>{o.value&&(o.value.destroy(),o.value=void 0)};return mn(r,(t=>{const e=Ae(o);e&&e.setOptions(t)}),{deep:!0}),mn([t,e],(([t,e])=>{s(),t&&e&&(o.value=wc(t,e,Ae(r)))})),$n((()=>{s()})),{state:eo((()=>{var t;return{...(null==(t=Ae(o))?void 0:t.state)||{}}})),styles:eo((()=>Ae(a).styles)),attributes:eo((()=>Ae(a).attributes)),update:()=>{var t;return null==(t=Ae(o))?void 0:t.update()},forceUpdate:()=>{var t;return null==(t=Ae(o))?void 0:t.forceUpdate()},instanceRef:eo((()=>Ae(o)))}};function Mc(){let t;const e=()=>window.clearTimeout(t);return da((()=>e())),{registerTimeout:(n,i)=>{e(),t=window.setTimeout(n,i)},cancelTimeout:e}}const Ic={prefix:Math.floor(1e4*Math.random()),current:0},Ac=Symbol("elIdInjection"),Cc=()=>Gr()?Ni(Ac,Ic):Ic,Tc=t=>{const e=Cc(),n=Jl();return eo((()=>Ae(t)||`${n.value}-id-${e.prefix}-${e.current++}`))};let Dc=[];const kc=t=>{const e=t;e.key===Wl.esc&&Dc.forEach((t=>t(e)))};let Lc;const Pc=()=>{const t=Jl(),e=Cc(),n=eo((()=>`${t.value}-popper-container-${e.prefix}`)),i=eo((()=>`#${n.value}`));return{id:n,selector:i}},Oc=()=>{const{id:t,selector:e}=Pc();return Xn((()=>{sa&&(Lc||document.body.querySelector(e.value)||(Lc=(t=>{const e=document.createElement("div");return e.id=t,document.body.appendChild(e),e})(t.value)))})),{id:t,selector:e}},Ec=Nl({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),Rc=Symbol("elForwardRef"),Nc=we(0),Bc=Symbol("zIndexContextKey"),zc=t=>{const e=t||(Gr()?Ni(Bc,void 0):void 0),n=eo((()=>{const t=Ae(e);return Hs(t)?t:2e3})),i=eo((()=>n.value+Nc.value));return{initialZIndex:n,currentZIndex:i,nextZIndex:()=>(Nc.value++,i.value)}},Vc=Rl({type:String,values:["","default","small","large"],required:!1}),Fc=Symbol("size"),Gc=Symbol(),Hc=we();function Wc(t,e=void 0){const n=Gr()?Ni(Gc,Hc):Hc;return t?eo((()=>{var i,r;return null!=(r=null==(i=n.value)?void 0:i[t])?r:e})):n}const Uc=(t,e,n=!1)=>{var i;const r=!!Gr(),o=r?Wc():void 0,a=null!=(i=null==e?void 0:e.provide)?i:r?Ri:void 0;if(!a)return;const s=eo((()=>{const e=Ae(t);return(null==o?void 0:o.value)?jc(o.value,e):e}));return a(Gc,s),a(Xl,eo((()=>s.value.locale))),a($l,eo((()=>s.value.namespace))),a(Bc,eo((()=>s.value.zIndex))),a(Fc,{size:eo((()=>s.value.size||""))}),!n&&Hc.value||(Hc.value=s.value),s},jc=(t,e)=>{var n;const i=[...new Set([...Us(t),...Us(e)])],r={};for(const o of i)r[o]=null!=(n=e[o])?n:t[o];return r},Yc={};var Xc=(t,e)=>{const n=t.__vccOpts||t;for(const[i,r]of e)n[i]=r;return n};const qc=Nl({size:{type:[Number,String]},color:{type:String}}),Zc=On({name:"ElIcon",inheritAttrs:!1}),Kc=On({...Zc,props:qc,setup(t){const e=t,n=Ql("icon"),i=eo((()=>{const{size:t,color:n}=e;return t||n?{fontSize:(i=t,void 0===i?void 0:Ys(t)),"--color":n}:{};var i}));return(t,e)=>(gr(),_r("i",Nr({class:Ae(n).b(),style:Ae(i)},t.$attrs),[hi(t.$slots,"default")],16))}});const $c=Fl(Xc(Kc,[["__file","/home/runner/work/element-plus/element-plus/packages/components/icon/src/icon.vue"]])),Jc=Symbol("formContextKey"),Qc=Symbol("formItemContextKey"),th=(t,e={})=>{const n=we(void 0),i=e.prop?n:iu("size"),r=e.global?n:(()=>{const t=Ni(Fc,{});return eo((()=>Ae(t.size)||""))})(),o=e.form?{size:void 0}:Ni(Jc,void 0),a=e.formItem?{size:void 0}:Ni(Qc,void 0);return eo((()=>i.value||Ae(t)||(null==a?void 0:a.size)||(null==o?void 0:o.size)||r.value||""))},eh=t=>{const e=iu("disabled"),n=Ni(Jc,void 0);return eo((()=>e.value||Ae(t)||(null==n?void 0:n.disabled)||!1))},nh={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}},ih=Symbol("scrollbarContextKey"),rh=Nl({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),oh=On({__name:"thumb",props:rh,setup(t){const e=t,n=Ni(ih),i=Ql("scrollbar");n||function(t,e){throw new js(`[${t}] ${e}`)}("Thumb","can not inject scrollbar context");const r=we(),o=we(),a=we({}),s=we(!1);let l=!1,u=!1,c=sa?document.onselectstart:null;const h=eo((()=>nh[e.vertical?"vertical":"horizontal"])),d=eo((()=>(({move:t,size:e,bar:n})=>({[n.size]:e,transform:`translate${n.axis}(${t}%)`}))({size:e.size,move:e.move,bar:h.value}))),p=eo((()=>r.value[h.value.offset]**2/n.wrapElement[h.value.scrollSize]/e.ratio/o.value[h.value.offset])),f=t=>{var e;if(t.stopPropagation(),t.ctrlKey||[1,2].includes(t.button))return;null==(e=window.getSelection())||e.removeAllRanges(),v(t);const n=t.currentTarget;n&&(a.value[h.value.axis]=n[h.value.offset]-(t[h.value.client]-n.getBoundingClientRect()[h.value.direction]))},g=t=>{if(!o.value||!r.value||!n.wrapElement)return;const e=100*(Math.abs(t.target.getBoundingClientRect()[h.value.direction]-t[h.value.client])-o.value[h.value.offset]/2)*p.value/r.value[h.value.offset];n.wrapElement[h.value.scroll]=e*n.wrapElement[h.value.scrollSize]/100},v=t=>{t.stopImmediatePropagation(),l=!0,document.addEventListener("mousemove",m),document.addEventListener("mouseup",y),c=document.onselectstart,document.onselectstart=()=>!1},m=t=>{if(!r.value||!o.value)return;if(!1===l)return;const e=a.value[h.value.axis];if(!e)return;const i=100*(-1*(r.value.getBoundingClientRect()[h.value.direction]-t[h.value.client])-(o.value[h.value.offset]-e))*p.value/r.value[h.value.offset];n.wrapElement[h.value.scroll]=i*n.wrapElement[h.value.scrollSize]/100},y=()=>{l=!1,a.value[h.value.axis]=0,document.removeEventListener("mousemove",m),document.removeEventListener("mouseup",y),_(),u&&(s.value=!1)};$n((()=>{_(),document.removeEventListener("mouseup",y)}));const _=()=>{document.onselectstart!==c&&(document.onselectstart=c)};return ga(Pe(n,"scrollbarElement"),"mousemove",(()=>{u=!1,s.value=!!e.size})),ga(Pe(n,"scrollbarElement"),"mouseleave",(()=>{u=!0,s.value=l})),(t,e)=>(gr(),xr(So,{name:Ae(i).b("fade"),persisted:""},{default:cn((()=>[wn(Ar("div",{ref_key:"instance",ref:r,class:j([Ae(i).e("bar"),Ae(i).is(Ae(h).key)]),onMousedown:g},[Ar("div",{ref_key:"thumb",ref:o,class:j(Ae(i).e("thumb")),style:F(Ae(d)),onMousedown:f},null,38)],34),[[zo,t.always||s.value]])])),_:1},8,["name"]))}});var ah=Xc(oh,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/thumb.vue"]]);const sh=On({__name:"bar",props:Nl({always:{type:Boolean,default:!0},width:String,height:String,ratioX:{type:Number,default:1},ratioY:{type:Number,default:1}}),setup(t,{expose:e}){const n=t,i=we(0),r=we(0);return e({handleScroll:t=>{if(t){const e=t.offsetHeight-4,o=t.offsetWidth-4;r.value=100*t.scrollTop/e*n.ratioY,i.value=100*t.scrollLeft/o*n.ratioX}}}),(t,e)=>(gr(),_r(ur,null,[Cr(ah,{move:i.value,ratio:t.ratioX,size:t.width,always:t.always},null,8,["move","ratio","size","always"]),Cr(ah,{move:r.value,ratio:t.ratioY,size:t.height,vertical:"",always:t.always},null,8,["move","ratio","size","always"])],64))}});var lh=Xc(sh,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/bar.vue"]]);const uh=Nl({height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:{type:Boolean,default:!1},wrapStyle:{type:[String,Object,Array],default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:[String,Array,Object],default:""},noresize:Boolean,tag:{type:String,default:"div"},always:Boolean,minSize:{type:Number,default:20}}),ch={scroll:({scrollTop:t,scrollLeft:e})=>[t,e].every(Hs)},hh=On({name:"ElScrollbar"}),dh=On({...hh,props:uh,emits:ch,setup(t,{expose:e,emit:n}){const i=t,r=Ql("scrollbar");let o,a;const s=we(),l=we(),u=we(),c=we("0"),h=we("0"),d=we(),p=we(1),f=we(1),g=eo((()=>{const t={};return i.height&&(t.height=Ys(i.height)),i.maxHeight&&(t.maxHeight=Ys(i.maxHeight)),[i.wrapStyle,t]})),v=eo((()=>[i.wrapClass,r.e("wrap"),{[r.em("wrap","hidden-default")]:!i.native}])),m=eo((()=>[r.e("view"),i.viewClass])),_=()=>{var t;l.value&&(null==(t=d.value)||t.handleScroll(l.value),n("scroll",{scrollTop:l.value.scrollTop,scrollLeft:l.value.scrollLeft}))};const x=()=>{if(!l.value)return;const t=l.value.offsetHeight-4,e=l.value.offsetWidth-4,n=t**2/l.value.scrollHeight,r=e**2/l.value.scrollWidth,o=Math.max(n,i.minSize),a=Math.max(r,i.minSize);p.value=n/(t-n)/(o/(t-o)),f.value=r/(e-r)/(a/(e-a)),h.value=o+4<t?`${o}px`:"",c.value=a+4<e?`${a}px`:""};return mn((()=>i.noresize),(t=>{t?(null==o||o(),null==a||a()):(({stop:o}=Ia(u,x)),a=ga("resize",x))}),{immediate:!0}),mn((()=>[i.maxHeight,i.height]),(()=>{i.native||Xe((()=>{var t;x(),l.value&&(null==(t=d.value)||t.handleScroll(l.value))}))})),Ri(ih,se({scrollbarElement:s,wrapElement:l})),qn((()=>{i.native||Xe((()=>{x()}))})),Kn((()=>x())),e({wrapRef:l,update:x,scrollTo:function(t,e){y(t)?l.value.scrollTo(t):Hs(t)&&Hs(e)&&l.value.scrollTo(t,e)},setScrollTop:t=>{Hs(t)&&(l.value.scrollTop=t)},setScrollLeft:t=>{Hs(t)&&(l.value.scrollLeft=t)},handleScroll:_}),(t,e)=>(gr(),_r("div",{ref_key:"scrollbarRef",ref:s,class:j(Ae(r).b())},[Ar("div",{ref_key:"wrapRef",ref:l,class:j(Ae(v)),style:F(Ae(g)),onScroll:_},[(gr(),xr(ai(t.tag),{ref_key:"resizeRef",ref:u,class:j(Ae(m)),style:F(t.viewStyle)},{default:cn((()=>[hi(t.$slots,"default")])),_:3},8,["class","style"]))],38),t.native?Pr("v-if",!0):(gr(),xr(lh,{key:0,ref_key:"barRef",ref:d,height:h.value,width:c.value,always:t.always,"ratio-x":f.value,"ratio-y":p.value},null,8,["height","width","always","ratio-x","ratio-y"]))],2))}});const ph=Fl(Xc(dh,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/scrollbar.vue"]])),fh=Symbol("popper"),gh=Symbol("popperContent"),vh=Nl({role:{type:String,values:["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],default:"tooltip"}}),mh=On({name:"ElPopper",inheritAttrs:!1}),yh=On({...mh,props:vh,setup(t,{expose:e}){const n=t,i={triggerRef:we(),popperInstanceRef:we(),contentRef:we(),referenceRef:we(),role:eo((()=>n.role))};return e(i),Ri(fh,i),(t,e)=>hi(t.$slots,"default")}});var _h=Xc(yh,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/popper.vue"]]);const xh=Nl({arrowOffset:{type:Number,default:5}}),bh=On({name:"ElPopperArrow",inheritAttrs:!1});var wh=Xc(On({...bh,props:xh,setup(t,{expose:e}){const n=t,i=Ql("popper"),{arrowOffset:r,arrowRef:o,arrowStyle:a}=Ni(gh,void 0);return mn((()=>n.arrowOffset),(t=>{r.value=t})),$n((()=>{o.value=void 0})),e({arrowRef:o}),(t,e)=>(gr(),_r("span",{ref_key:"arrowRef",ref:o,class:j(Ae(i).e("arrow")),style:F(Ae(a)),"data-popper-arrow":""},null,6))}}),[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/arrow.vue"]]);const Sh=On({name:"ElOnlyChild",setup(t,{slots:e,attrs:n}){var r;const o=Ni(Rc),a=(s=null!=(r=null==o?void 0:o.setForwardRef)?r:i,{mounted(t){s(t)},updated(t){s(t)},unmounted(){s(null)}});var s;return()=>{var t;const i=null==(t=e.default)?void 0:t.call(e,n);if(!i)return null;if(i.length>1)return null;const r=Mh(i);return r?wn(Dr(r,n),[[a]]):null}}});function Mh(t){if(!t)return null;const e=t;for(const n of e){if(y(n))switch(n.type){case hr:continue;case cr:case"svg":return Ih(n);case ur:return Mh(n.children);default:return n}return Ih(n)}return null}function Ih(t){const e=Ql("only-child");return Cr("span",{class:e.e("content")},[t])}const Ah=Nl({virtualRef:{type:Object},virtualTriggering:Boolean,onMouseenter:{type:Function},onMouseleave:{type:Function},onClick:{type:Function},onKeydown:{type:Function},onFocus:{type:Function},onBlur:{type:Function},onContextmenu:{type:Function},id:String,open:Boolean}),Ch=On({name:"ElPopperTrigger",inheritAttrs:!1}),Th=On({...Ch,props:Ah,setup(t,{expose:e}){const n=t,{role:i,triggerRef:r}=Ni(fh,void 0);var o;o=r,Ri(Rc,{setForwardRef:t=>{o.value=t}});const a=eo((()=>l.value?n.id:void 0)),s=eo((()=>{if(i&&"tooltip"===i.value)return n.open&&n.id?n.id:void 0})),l=eo((()=>{if(i&&"tooltip"!==i.value)return i.value})),u=eo((()=>l.value?`${n.open}`:void 0));let c;return qn((()=>{mn((()=>n.virtualRef),(t=>{t&&(r.value=pa(t))}),{immediate:!0}),mn(r,((t,e)=>{null==c||c(),c=void 0,Ws(t)&&(["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"].forEach((i=>{var r;const o=n[i];o&&(t.addEventListener(i.slice(2).toLowerCase(),o),null==(r=null==e?void 0:e.removeEventListener)||r.call(e,i.slice(2).toLowerCase(),o))})),c=mn([a,s,l,u],(e=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(((n,i)=>{Fs(e[i])?t.removeAttribute(n):t.setAttribute(n,e[i])}))}),{immediate:!0})),Ws(e)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((t=>e.removeAttribute(t)))}),{immediate:!0})})),$n((()=>{null==c||c(),c=void 0})),e({triggerRef:r}),(t,e)=>t.virtualTriggering?Pr("v-if",!0):(gr(),xr(Ae(Sh),Nr({key:0},t.$attrs,{"aria-controls":Ae(a),"aria-describedby":Ae(s),"aria-expanded":Ae(u),"aria-haspopup":Ae(l)}),{default:cn((()=>[hi(t.$slots,"default")])),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}});var Dh=Xc(Th,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/trigger.vue"]]);const kh="focus-trap.focus-after-trapped",Lh="focus-trap.focus-after-released",Ph={cancelable:!0,bubbles:!1},Oh={cancelable:!0,bubbles:!1},Eh="focusAfterTrapped",Rh="focusAfterReleased",Nh=Symbol("elFocusTrap"),Bh=we(),zh=we(0),Vh=we(0);let Fh=0;const Gh=t=>{const e=[],n=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:t=>{const e="INPUT"===t.tagName&&"hidden"===t.type;return t.disabled||t.hidden||e?NodeFilter.FILTER_SKIP:t.tabIndex>=0||t===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)e.push(n.currentNode);return e},Hh=(t,e)=>{for(const n of t)if(!Wh(n,e))return n},Wh=(t,e)=>{if("hidden"===getComputedStyle(t).visibility)return!0;for(;t;){if(e&&t===e)return!1;if("none"===getComputedStyle(t).display)return!0;t=t.parentElement}return!1},Uh=(t,e)=>{if(t&&t.focus){const n=document.activeElement;t.focus({preventScroll:!0}),Vh.value=window.performance.now(),t!==n&&(t=>t instanceof HTMLInputElement&&"select"in t)(t)&&e&&t.select()}};function jh(t,e){const n=[...t],i=t.indexOf(e);return-1!==i&&n.splice(i,1),n}const Yh=(()=>{let t=[];return{push:e=>{const n=t[0];n&&e!==n&&n.pause(),t=jh(t,e),t.unshift(e)},remove:e=>{var n,i;t=jh(t,e),null==(i=null==(n=t[0])?void 0:n.resume)||i.call(n)}}})(),Xh=()=>{Bh.value="pointer",zh.value=window.performance.now()},qh=()=>{Bh.value="keyboard",zh.value=window.performance.now()},Zh=t=>new CustomEvent("focus-trap.focusout-prevented",{...Oh,detail:t}),Kh=On({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[Eh,Rh,"focusin","focusout","focusout-prevented","release-requested"],setup(t,{emit:e}){const n=we();let i,r;const{focusReason:o}=(qn((()=>{0===Fh&&(document.addEventListener("mousedown",Xh),document.addEventListener("touchstart",Xh),document.addEventListener("keydown",qh)),Fh++})),$n((()=>{Fh--,Fh<=0&&(document.removeEventListener("mousedown",Xh),document.removeEventListener("touchstart",Xh),document.removeEventListener("keydown",qh))})),{focusReason:Bh,lastUserFocusTimestamp:zh,lastAutomatedFocusTimestamp:Vh});var a;a=n=>{t.trapped&&!s.paused&&e("release-requested",n)},qn((()=>{0===Dc.length&&document.addEventListener("keydown",kc),sa&&Dc.push(a)})),$n((()=>{Dc=Dc.filter((t=>t!==a)),0===Dc.length&&sa&&document.removeEventListener("keydown",kc)}));const s={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},l=n=>{if(!t.loop&&!t.trapped)return;if(s.paused)return;const{key:i,altKey:r,ctrlKey:a,metaKey:l,currentTarget:u,shiftKey:c}=n,{loop:h}=t,d=i===Wl.tab&&!r&&!a&&!l,p=document.activeElement;if(d&&p){const t=u,[i,r]=(t=>{const e=Gh(t);return[Hh(e,t),Hh(e.reverse(),t)]})(t);if(i&&r)if(c||p!==r){if(c&&[i,t].includes(p)){const t=Zh({focusReason:o.value});e("focusout-prevented",t),t.defaultPrevented||(n.preventDefault(),h&&Uh(r,!0))}}else{const t=Zh({focusReason:o.value});e("focusout-prevented",t),t.defaultPrevented||(n.preventDefault(),h&&Uh(i,!0))}else if(p===t){const t=Zh({focusReason:o.value});e("focusout-prevented",t),t.defaultPrevented||n.preventDefault()}}};Ri(Nh,{focusTrapRef:n,onKeydown:l}),mn((()=>t.focusTrapEl),(t=>{t&&(n.value=t)}),{immediate:!0}),mn([n],(([t],[e])=>{t&&(t.addEventListener("keydown",l),t.addEventListener("focusin",h),t.addEventListener("focusout",d)),e&&(e.removeEventListener("keydown",l),e.removeEventListener("focusin",h),e.removeEventListener("focusout",d))}));const u=t=>{e(Eh,t)},c=t=>e(Rh,t),h=o=>{const a=Ae(n);if(!a)return;const l=o.target,u=o.relatedTarget,c=l&&a.contains(l);if(!t.trapped){u&&a.contains(u)||(i=u)}c&&e("focusin",o),s.paused||t.trapped&&(c?r=l:Uh(r,!0))},d=i=>{const a=Ae(n);if(!s.paused&&a)if(t.trapped){const n=i.relatedTarget;Fs(n)||a.contains(n)||setTimeout((()=>{if(!s.paused&&t.trapped){const t=Zh({focusReason:o.value});e("focusout-prevented",t),t.defaultPrevented||Uh(r,!0)}}),0)}else{const t=i.target;t&&a.contains(t)||e("focusout",i)}};async function p(){await Xe();const e=Ae(n);if(e){Yh.push(s);const n=e.contains(document.activeElement)?i:document.activeElement;i=n;if(!e.contains(n)){const i=new Event(kh,Ph);e.addEventListener(kh,u),e.dispatchEvent(i),i.defaultPrevented||Xe((()=>{let i=t.focusStartEl;v(i)||(Uh(i),document.activeElement!==i&&(i="first")),"first"===i&&((t,e=!1)=>{const n=document.activeElement;for(const i of t)if(Uh(i,e),document.activeElement!==n)return})(Gh(e),!0),document.activeElement!==n&&"container"!==i||Uh(e)}))}}}function f(){const t=Ae(n);if(t){t.removeEventListener(kh,u);const e=new CustomEvent(Lh,{...Ph,detail:{focusReason:o.value}});t.addEventListener(Lh,c),t.dispatchEvent(e),e.defaultPrevented||"keyboard"!=o.value&&zh.value>Vh.value&&!t.contains(document.activeElement)||Uh(null!=i?i:document.body),t.removeEventListener(Lh,c),Yh.remove(s)}}return qn((()=>{t.trapped&&p(),mn((()=>t.trapped),(t=>{t?p():f()}))})),$n((()=>{t.trapped&&f()})),{onKeydown:l}}});var $h=Xc(Kh,[["render",function(t,e,n,i,r,o){return hi(t.$slots,"default",{handleKeydown:t.onKeydown})}],["__file","/home/runner/work/element-plus/element-plus/packages/components/focus-trap/src/focus-trap.vue"]]);const Jh=Nl({boundariesPadding:{type:Number,default:0},fallbackPlacements:{type:Array,default:void 0},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:mu,default:"bottom"},popperOptions:{type:Object,default:()=>({})},strategy:{type:String,values:["fixed","absolute"],default:"absolute"}}),Qh=Nl({...Jh,id:String,style:{type:[String,Array,Object]},className:{type:[String,Array,Object]},effect:{type:String,default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:{type:Boolean,default:!1},trapping:{type:Boolean,default:!1},popperClass:{type:[String,Array,Object]},popperStyle:{type:[String,Array,Object]},referenceEl:{type:Object},triggerTargetEl:{type:Object},stopPopperMouseEvent:{type:Boolean,default:!0},ariaLabel:{type:String,default:void 0},virtualTriggering:Boolean,zIndex:Number}),td={mouseenter:t=>t instanceof MouseEvent,mouseleave:t=>t instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},ed=(t,e=[])=>{const{placement:n,strategy:i,popperOptions:r}=t,o={placement:n,strategy:i,...r,modifiers:[...nd(t),...e]};return function(t,e){e&&(t.modifiers=[...t.modifiers,...null!=e?e:[]])}(o,null==r?void 0:r.modifiers),o};function nd(t){const{offset:e,gpuAcceleration:n,fallbackPlacements:i}=t;return[{name:"offset",options:{offset:[0,null!=e?e:12]}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5,fallbackPlacements:i}},{name:"computeStyles",options:{gpuAcceleration:n}}]}const id=t=>{const{popperInstanceRef:e,contentRef:n,triggerRef:i,role:r}=Ni(fh,void 0),o=we(),a=we(),s=eo((()=>({name:"eventListeners",enabled:!!t.visible}))),l=eo((()=>{var t;const e=Ae(o),n=null!=(t=Ae(a))?t:0;return{name:"arrow",enabled:(i=e,!(void 0===i)),options:{element:e,padding:n}};var i})),u=eo((()=>({onFirstUpdate:()=>{f()},...ed(t,[Ae(l),Ae(s)])}))),c=eo((()=>(t=>{if(sa)return pa(t)})(t.referenceEl)||Ae(i))),{attributes:h,state:d,styles:p,update:f,forceUpdate:g,instanceRef:v}=Sc(c,n,u);return mn(v,(t=>e.value=t)),qn((()=>{mn((()=>{var t;return null==(t=Ae(c))?void 0:t.getBoundingClientRect()}),(()=>{f()}))})),{attributes:h,arrowRef:o,contentRef:n,instanceRef:v,state:d,styles:p,role:r,forceUpdate:g,update:f}},rd=On({name:"ElPopperContent"}),od=On({...rd,props:Qh,emits:td,setup(t,{expose:e,emit:n}){const r=t,{focusStartRef:o,trapped:a,onFocusAfterReleased:s,onFocusAfterTrapped:l,onFocusInTrap:u,onFocusoutPrevented:c,onReleaseRequested:h}=((t,e)=>{const n=we(!1),i=we();return{focusStartRef:i,trapped:n,onFocusAfterReleased:t=>{var n;"pointer"!==(null==(n=t.detail)?void 0:n.focusReason)&&(i.value="first",e("blur"))},onFocusAfterTrapped:()=>{e("focus")},onFocusInTrap:e=>{t.visible&&!n.value&&(e.target&&(i.value=e.target),n.value=!0)},onFocusoutPrevented:e=>{t.trapping||("pointer"===e.detail.focusReason&&e.preventDefault(),n.value=!1)},onReleaseRequested:()=>{n.value=!1,e("close")}}})(r,n),{attributes:d,arrowRef:p,contentRef:f,styles:g,instanceRef:v,role:m,update:y}=id(r),{ariaModal:_,arrowStyle:x,contentAttrs:b,contentClass:w,contentStyle:S,updateZIndex:M}=((t,{attributes:e,styles:n,role:i})=>{const{nextZIndex:r}=zc(),o=Ql("popper"),a=eo((()=>Ae(e).popper)),s=we(t.zIndex||r()),l=eo((()=>[o.b(),o.is("pure",t.pure),o.is(t.effect),t.popperClass])),u=eo((()=>[{zIndex:Ae(s)},Ae(n).popper,t.popperStyle||{}]));return{ariaModal:eo((()=>"dialog"===i.value?"false":void 0)),arrowStyle:eo((()=>Ae(n).arrow||{})),contentAttrs:a,contentClass:l,contentStyle:u,contentZIndex:s,updateZIndex:()=>{s.value=t.zIndex||r()}}})(r,{styles:g,attributes:d,role:m}),I=Ni(Qc,void 0),A=we();let C;Ri(gh,{arrowStyle:x,arrowRef:p,arrowOffset:A}),I&&(I.addInputId||I.removeInputId)&&Ri(Qc,{...I,addInputId:i,removeInputId:i});const T=(t=!0)=>{y(),t&&M()},D=()=>{T(!1),r.visible&&r.focusOnShow?a.value=!0:!1===r.visible&&(a.value=!1)};return qn((()=>{mn((()=>r.triggerTargetEl),((t,e)=>{null==C||C(),C=void 0;const n=Ae(t||f.value),i=Ae(e||f.value);Ws(n)&&(C=mn([m,()=>r.ariaLabel,_,()=>r.id],(t=>{["role","aria-label","aria-modal","id"].forEach(((e,i)=>{Fs(t[i])?n.removeAttribute(e):n.setAttribute(e,t[i])}))}),{immediate:!0})),i!==n&&Ws(i)&&["role","aria-label","aria-modal","id"].forEach((t=>{i.removeAttribute(t)}))}),{immediate:!0}),mn((()=>r.visible),D,{immediate:!0})})),$n((()=>{null==C||C(),C=void 0})),e({popperContentRef:f,popperInstanceRef:v,updatePopper:T,contentStyle:S}),(t,e)=>(gr(),_r("div",Nr({ref_key:"contentRef",ref:f},Ae(b),{style:Ae(S),class:Ae(w),tabindex:"-1",onMouseenter:e[0]||(e[0]=e=>t.$emit("mouseenter",e)),onMouseleave:e[1]||(e[1]=e=>t.$emit("mouseleave",e))}),[Cr(Ae($h),{trapped:Ae(a),"trap-on-focus-in":!0,"focus-trap-el":Ae(f),"focus-start-el":Ae(o),onFocusAfterTrapped:Ae(l),onFocusAfterReleased:Ae(s),onFocusin:Ae(u),onFocusoutPrevented:Ae(c),onReleaseRequested:Ae(h)},{default:cn((()=>[hi(t.$slots,"default")])),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16))}});var ad=Xc(od,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/content.vue"]]);const sd=Fl(_h),ld=Symbol("elTooltip"),ud=Nl({...Ec,...Qh,appendTo:{type:[String,Object]},content:{type:String,default:""},rawContent:{type:Boolean,default:!1},persistent:Boolean,ariaLabel:String,visible:{type:Boolean,default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean}),cd=Nl({...Ah,disabled:Boolean,trigger:{type:[String,Array],default:"hover"},triggerKeys:{type:Array,default:()=>[Wl.enter,Wl.space]}}),{useModelToggleProps:hd,useModelToggleEmits:dd,useModelToggle:pd}=nu("visible"),fd=Nl({...vh,...hd,...ud,...cd,...xh,showArrow:{type:Boolean,default:!0}}),gd=[...dd,"before-show","before-hide","show","hide","open","close"],vd=(t,e,n)=>i=>{((t,e)=>d(t)?t.includes(e):t===e)(Ae(t),e)&&n(i)},md=On({name:"ElTooltipTrigger"}),yd=On({...md,props:cd,setup(t,{expose:e}){const n=t,i=Ql("tooltip"),{controlled:r,id:o,open:a,onOpen:s,onClose:l,onToggle:u}=Ni(ld,void 0),c=we(null),h=()=>{if(Ae(r)||n.disabled)return!0},d=Pe(n,"trigger"),p=ra(h,vd(d,"hover",s)),f=ra(h,vd(d,"hover",l)),g=ra(h,vd(d,"click",(t=>{0===t.button&&u(t)}))),v=ra(h,vd(d,"focus",s)),m=ra(h,vd(d,"focus",l)),y=ra(h,vd(d,"contextmenu",(t=>{t.preventDefault(),u(t)}))),_=ra(h,(t=>{const{code:e}=t;n.triggerKeys.includes(e)&&(t.preventDefault(),u(t))}));return e({triggerRef:c}),(t,e)=>(gr(),xr(Ae(Dh),{id:Ae(o),"virtual-ref":t.virtualRef,open:Ae(a),"virtual-triggering":t.virtualTriggering,class:j(Ae(i).e("trigger")),onBlur:Ae(m),onClick:Ae(g),onContextmenu:Ae(y),onFocus:Ae(v),onMouseenter:Ae(p),onMouseleave:Ae(f),onKeydown:Ae(_)},{default:cn((()=>[hi(t.$slots,"default")])),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}});var _d=Xc(yd,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/trigger.vue"]]);const xd=On({name:"ElTooltipContent",inheritAttrs:!1}),bd=On({...xd,props:ud,setup(t,{expose:e}){const n=t,{selector:i}=Pc(),r=Ql("tooltip"),o=we(null),a=we(!1),{controlled:s,id:l,open:u,trigger:c,onClose:h,onOpen:d,onShow:p,onHide:f,onBeforeShow:g,onBeforeHide:v}=Ni(ld,void 0),m=eo((()=>n.transition||`${r.namespace.value}-fade-in-linear`)),y=eo((()=>n.persistent));$n((()=>{a.value=!0}));const _=eo((()=>!!Ae(y)||Ae(u))),x=eo((()=>!n.disabled&&Ae(u))),b=eo((()=>n.appendTo||i.value)),w=eo((()=>{var t;return null!=(t=n.style)?t:{}})),S=eo((()=>!Ae(u))),M=()=>{f()},I=()=>{if(Ae(s))return!0},A=ra(I,(()=>{n.enterable&&"hover"===Ae(c)&&d()})),C=ra(I,(()=>{"hover"===Ae(c)&&h()})),T=()=>{var t,e;null==(e=null==(t=o.value)?void 0:t.updatePopper)||e.call(t),null==g||g()},D=()=>{null==v||v()},k=()=>{p(),P=function(t,e,n={}){const{window:i=fa,ignore:r=[],capture:o=!0,detectIframe:a=!1}=n;if(!i)return;ca&&!va&&(va=!0,Array.from(i.document.body.children).forEach((t=>t.addEventListener("click",ua))));let s=!0;const l=t=>r.some((e=>{if("string"==typeof e)return Array.from(i.document.querySelectorAll(e)).some((e=>e===t.target||t.composedPath().includes(e)));{const n=pa(e);return n&&(t.target===n||t.composedPath().includes(n))}})),u=[ga(i,"click",(n=>{const i=pa(t);i&&i!==n.target&&!n.composedPath().includes(i)&&(0===n.detail&&(s=!l(n)),s?e(n):s=!0)}),{passive:!0,capture:o}),ga(i,"pointerdown",(e=>{const n=pa(t);n&&(s=!e.composedPath().includes(n)&&!l(e))}),{passive:!0}),a&&ga(i,"blur",(n=>{var r;const o=pa(t);"IFRAME"!==(null==(r=i.document.activeElement)?void 0:r.tagName)||(null==o?void 0:o.contains(i.document.activeElement))||e(n)}))].filter(Boolean);return()=>u.forEach((t=>t()))}(eo((()=>{var t;return null==(t=o.value)?void 0:t.popperContentRef})),(()=>{if(Ae(s))return;"hover"!==Ae(c)&&h()}))},L=()=>{n.virtualTriggering||h()};let P;return mn((()=>Ae(u)),(t=>{t||null==P||P()}),{flush:"post"}),mn((()=>n.content),(()=>{var t,e;null==(e=null==(t=o.value)?void 0:t.updatePopper)||e.call(t)})),e({contentRef:o}),(t,e)=>(gr(),xr(sr,{disabled:!t.teleported,to:Ae(b)},[Cr(So,{name:Ae(m),onAfterLeave:M,onBeforeEnter:T,onAfterEnter:k,onBeforeLeave:D},{default:cn((()=>[Ae(_)?wn((gr(),xr(Ae(ad),Nr({key:0,id:Ae(l),ref_key:"contentRef",ref:o},t.$attrs,{"aria-label":t.ariaLabel,"aria-hidden":Ae(S),"boundaries-padding":t.boundariesPadding,"fallback-placements":t.fallbackPlacements,"gpu-acceleration":t.gpuAcceleration,offset:t.offset,placement:t.placement,"popper-options":t.popperOptions,strategy:t.strategy,effect:t.effect,enterable:t.enterable,pure:t.pure,"popper-class":t.popperClass,"popper-style":[t.popperStyle,Ae(w)],"reference-el":t.referenceEl,"trigger-target-el":t.triggerTargetEl,visible:Ae(x),"z-index":t.zIndex,onMouseenter:Ae(A),onMouseleave:Ae(C),onBlur:L,onClose:Ae(h)}),{default:cn((()=>[a.value?Pr("v-if",!0):hi(t.$slots,"default",{key:0})])),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","onMouseenter","onMouseleave","onClose"])),[[zo,Ae(x)]]):Pr("v-if",!0)])),_:3},8,["name"])],8,["disabled","to"]))}});var wd=Xc(bd,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/content.vue"]]);const Sd=["innerHTML"],Md={key:1},Id=On({name:"ElTooltip"}),Ad=On({...Id,props:fd,emits:gd,setup(t,{expose:e,emit:n}){const i=t;Oc();const r=Tc(),o=we(),a=we(),s=()=>{var t;const e=Ae(o);e&&(null==(t=e.popperInstanceRef)||t.update())},l=we(!1),u=we(),{show:c,hide:h,hasUpdateHandler:d}=pd({indicator:l,toggleReason:u}),{onOpen:p,onClose:f}=(({showAfter:t,hideAfter:e,autoClose:n,open:i,close:r})=>{const{registerTimeout:o}=Mc(),{registerTimeout:a,cancelTimeout:s}=Mc();return{onOpen:e=>{o((()=>{i(e);const t=Ae(n);Hs(t)&&t>0&&a((()=>{r(e)}),t)}),Ae(t))},onClose:t=>{s(),o((()=>{r(t)}),Ae(e))}}})({showAfter:Pe(i,"showAfter"),hideAfter:Pe(i,"hideAfter"),autoClose:Pe(i,"autoClose"),open:c,close:h}),g=eo((()=>Gs(i.visible)&&!d.value));Ri(ld,{controlled:g,id:r,open:ue(l),trigger:Pe(i,"trigger"),onOpen:t=>{p(t)},onClose:t=>{f(t)},onToggle:t=>{Ae(l)?f(t):p(t)},onShow:()=>{n("show",u.value)},onHide:()=>{n("hide",u.value)},onBeforeShow:()=>{n("before-show",u.value)},onBeforeHide:()=>{n("before-hide",u.value)},updatePopper:s}),mn((()=>i.disabled),(t=>{t&&l.value&&(l.value=!1)}));return Fn((()=>l.value&&h())),e({popperRef:o,contentRef:a,isFocusInsideContent:t=>{var e,n;const i=null==(n=null==(e=a.value)?void 0:e.contentRef)?void 0:n.popperContentRef,r=(null==t?void 0:t.relatedTarget)||document.activeElement;return i&&i.contains(r)},updatePopper:s,onOpen:p,onClose:f,hide:h}),(t,e)=>(gr(),xr(Ae(sd),{ref_key:"popperRef",ref:o,role:t.role},{default:cn((()=>[Cr(_d,{disabled:t.disabled,trigger:t.trigger,"trigger-keys":t.triggerKeys,"virtual-ref":t.virtualRef,"virtual-triggering":t.virtualTriggering},{default:cn((()=>[t.$slots.default?hi(t.$slots,"default",{key:0}):Pr("v-if",!0)])),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering"]),Cr(wd,{ref_key:"contentRef",ref:a,"aria-label":t.ariaLabel,"boundaries-padding":t.boundariesPadding,content:t.content,disabled:t.disabled,effect:t.effect,enterable:t.enterable,"fallback-placements":t.fallbackPlacements,"hide-after":t.hideAfter,"gpu-acceleration":t.gpuAcceleration,offset:t.offset,persistent:t.persistent,"popper-class":t.popperClass,"popper-style":t.popperStyle,placement:t.placement,"popper-options":t.popperOptions,pure:t.pure,"raw-content":t.rawContent,"reference-el":t.referenceEl,"trigger-target-el":t.triggerTargetEl,"show-after":t.showAfter,strategy:t.strategy,teleported:t.teleported,transition:t.transition,"virtual-triggering":t.virtualTriggering,"z-index":t.zIndex,"append-to":t.appendTo},{default:cn((()=>[hi(t.$slots,"content",{},(()=>[t.rawContent?(gr(),_r("span",{key:0,innerHTML:t.content},null,8,Sd)):(gr(),_r("span",Md,Z(t.content),1))])),t.showArrow?(gr(),xr(Ae(wh),{key:0,"arrow-offset":t.arrowOffset},null,8,["arrow-offset"])):Pr("v-if",!0)])),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to"])])),_:3},8,["role"]))}});const Cd=Fl(Xc(Ad,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/tooltip.vue"]])),Td=Nl({value:{type:[String,Number],default:""},max:{type:Number,default:99},isDot:Boolean,hidden:Boolean,type:{type:String,values:["primary","success","warning","info","danger"],default:"danger"}}),Dd=["textContent"],kd=On({name:"ElBadge"}),Ld=On({...kd,props:Td,setup(t,{expose:e}){const n=t,i=Ql("badge"),r=eo((()=>n.isDot?"":Hs(n.value)&&Hs(n.max)&&n.max<n.value?`${n.max}+`:`${n.value}`));return e({content:r}),(t,e)=>(gr(),_r("div",{class:j(Ae(i).b())},[hi(t.$slots,"default"),Cr(So,{name:`${Ae(i).namespace.value}-zoom-in-center`,persisted:""},{default:cn((()=>[wn(Ar("sup",{class:j([Ae(i).e("content"),Ae(i).em("content",t.type),Ae(i).is("fixed",!!t.$slots.default),Ae(i).is("dot",t.isDot)]),textContent:Z(Ae(r))},null,10,Dd),[[zo,!t.hidden&&(Ae(r)||t.isDot)]])])),_:1},8,["name"])],2))}});const Pd=Fl(Xc(Ld,[["__file","/home/runner/work/element-plus/element-plus/packages/components/badge/src/badge.vue"]])),Od=Symbol("buttonGroupContextKey"),Ed=(t,e)=>{(({from:t,replacement:e,scope:n,version:i,ref:r,type:o="API"},a)=>{mn((()=>Ae(a)),(t=>{}),{immediate:!0})})({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},eo((()=>"text"===t.type)));const n=Ni(Od,void 0),i=Wc("button"),{form:r}={form:Ni(Jc,void 0),formItem:Ni(Qc,void 0)},o=th(eo((()=>null==n?void 0:n.size))),a=eh(),s=we(),l=mi(),u=eo((()=>t.type||(null==n?void 0:n.type)||"")),c=eo((()=>{var e,n,r;return null!=(r=null!=(n=t.autoInsertSpace)?n:null==(e=i.value)?void 0:e.autoInsertSpace)&&r})),h=eo((()=>"button"===t.tag?{ariaDisabled:a.value||t.loading,disabled:a.value||t.loading,autofocus:t.autofocus,type:t.nativeType}:{})),d=eo((()=>{var t;const e=null==(t=l.default)?void 0:t.call(l);if(c.value&&1===(null==e?void 0:e.length)){const t=e[0];if((null==t?void 0:t.type)===cr){const e=t.children;return/^\p{Unified_Ideograph}{2}$/u.test(e.trim())}}return!1}));return{_disabled:a,_size:o,_type:u,_ref:s,_props:h,shouldAddSpace:d,handleClick:n=>{"reset"===t.nativeType&&(null==r||r.resetFields()),e("click",n)}}},Rd=Nl({size:Vc,disabled:Boolean,type:{type:String,values:["default","primary","success","warning","info","danger","text",""],default:""},icon:{type:Bl},nativeType:{type:String,values:["button","submit","reset"],default:"button"},loading:Boolean,loadingIcon:{type:Bl,default:()=>Il},plain:Boolean,text:Boolean,link:Boolean,bg:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean,color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:[String,Object],default:"button"}}),Nd={click:t=>t instanceof MouseEvent};function Bd(t,e){(function(t){return"string"==typeof t&&-1!==t.indexOf(".")&&1===parseFloat(t)})(t)&&(t="100%");var n=function(t){return"string"==typeof t&&-1!==t.indexOf("%")}(t);return t=360===e?t:Math.min(e,Math.max(0,parseFloat(t))),n&&(t=parseInt(String(t*e),10)/100),Math.abs(t-e)<1e-6?1:t=360===e?(t<0?t%e+e:t%e)/parseFloat(String(e)):t%e/parseFloat(String(e))}function zd(t){return Math.min(1,Math.max(0,t))}function Vd(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function Fd(t){return t<=1?"".concat(100*Number(t),"%"):t}function Gd(t){return 1===t.length?"0"+t:String(t)}function Hd(t,e,n){t=Bd(t,255),e=Bd(e,255),n=Bd(n,255);var i=Math.max(t,e,n),r=Math.min(t,e,n),o=0,a=0,s=(i+r)/2;if(i===r)a=0,o=0;else{var l=i-r;switch(a=s>.5?l/(2-i-r):l/(i+r),i){case t:o=(e-n)/l+(e<n?6:0);break;case e:o=(n-t)/l+2;break;case n:o=(t-e)/l+4}o/=6}return{h:o,s:a,l:s}}function Wd(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*n*(e-t):n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function Ud(t,e,n){t=Bd(t,255),e=Bd(e,255),n=Bd(n,255);var i=Math.max(t,e,n),r=Math.min(t,e,n),o=0,a=i,s=i-r,l=0===i?0:s/i;if(i===r)o=0;else{switch(i){case t:o=(e-n)/s+(e<n?6:0);break;case e:o=(n-t)/s+2;break;case n:o=(t-e)/s+4}o/=6}return{h:o,s:l,v:a}}function jd(t,e,n,i){var r=[Gd(Math.round(t).toString(16)),Gd(Math.round(e).toString(16)),Gd(Math.round(n).toString(16))];return i&&r[0].startsWith(r[0].charAt(1))&&r[1].startsWith(r[1].charAt(1))&&r[2].startsWith(r[2].charAt(1))?r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0):r.join("")}function Yd(t){return Xd(t)/255}function Xd(t){return parseInt(t,16)}var qd={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function Zd(t){var e,n,i,r={r:0,g:0,b:0},o=1,a=null,s=null,l=null,u=!1,c=!1;return"string"==typeof t&&(t=function(t){if(t=t.trim().toLowerCase(),0===t.length)return!1;var e=!1;if(qd[t])t=qd[t],e=!0;else if("transparent"===t)return{r:0,g:0,b:0,a:0,format:"name"};var n=Qd.rgb.exec(t);if(n)return{r:n[1],g:n[2],b:n[3]};if(n=Qd.rgba.exec(t),n)return{r:n[1],g:n[2],b:n[3],a:n[4]};if(n=Qd.hsl.exec(t),n)return{h:n[1],s:n[2],l:n[3]};if(n=Qd.hsla.exec(t),n)return{h:n[1],s:n[2],l:n[3],a:n[4]};if(n=Qd.hsv.exec(t),n)return{h:n[1],s:n[2],v:n[3]};if(n=Qd.hsva.exec(t),n)return{h:n[1],s:n[2],v:n[3],a:n[4]};if(n=Qd.hex8.exec(t),n)return{r:Xd(n[1]),g:Xd(n[2]),b:Xd(n[3]),a:Yd(n[4]),format:e?"name":"hex8"};if(n=Qd.hex6.exec(t),n)return{r:Xd(n[1]),g:Xd(n[2]),b:Xd(n[3]),format:e?"name":"hex"};if(n=Qd.hex4.exec(t),n)return{r:Xd(n[1]+n[1]),g:Xd(n[2]+n[2]),b:Xd(n[3]+n[3]),a:Yd(n[4]+n[4]),format:e?"name":"hex8"};if(n=Qd.hex3.exec(t),n)return{r:Xd(n[1]+n[1]),g:Xd(n[2]+n[2]),b:Xd(n[3]+n[3]),format:e?"name":"hex"};return!1}(t)),"object"==typeof t&&(tp(t.r)&&tp(t.g)&&tp(t.b)?(e=t.r,n=t.g,i=t.b,r={r:255*Bd(e,255),g:255*Bd(n,255),b:255*Bd(i,255)},u=!0,c="%"===String(t.r).substr(-1)?"prgb":"rgb"):tp(t.h)&&tp(t.s)&&tp(t.v)?(a=Fd(t.s),s=Fd(t.v),r=function(t,e,n){t=6*Bd(t,360),e=Bd(e,100),n=Bd(n,100);var i=Math.floor(t),r=t-i,o=n*(1-e),a=n*(1-r*e),s=n*(1-(1-r)*e),l=i%6;return{r:255*[n,a,o,o,s,n][l],g:255*[s,n,n,a,o,o][l],b:255*[o,o,s,n,n,a][l]}}(t.h,a,s),u=!0,c="hsv"):tp(t.h)&&tp(t.s)&&tp(t.l)&&(a=Fd(t.s),l=Fd(t.l),r=function(t,e,n){var i,r,o;if(t=Bd(t,360),e=Bd(e,100),n=Bd(n,100),0===e)r=n,o=n,i=n;else{var a=n<.5?n*(1+e):n+e-n*e,s=2*n-a;i=Wd(s,a,t+1/3),r=Wd(s,a,t),o=Wd(s,a,t-1/3)}return{r:255*i,g:255*r,b:255*o}}(t.h,a,l),u=!0,c="hsl"),Object.prototype.hasOwnProperty.call(t,"a")&&(o=t.a)),o=Vd(o),{ok:u,format:t.format||c,r:Math.min(255,Math.max(r.r,0)),g:Math.min(255,Math.max(r.g,0)),b:Math.min(255,Math.max(r.b,0)),a:o}}var Kd="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),$d="[\\s|\\(]+(".concat(Kd,")[,|\\s]+(").concat(Kd,")[,|\\s]+(").concat(Kd,")\\s*\\)?"),Jd="[\\s|\\(]+(".concat(Kd,")[,|\\s]+(").concat(Kd,")[,|\\s]+(").concat(Kd,")[,|\\s]+(").concat(Kd,")\\s*\\)?"),Qd={CSS_UNIT:new RegExp(Kd),rgb:new RegExp("rgb"+$d),rgba:new RegExp("rgba"+Jd),hsl:new RegExp("hsl"+$d),hsla:new RegExp("hsla"+Jd),hsv:new RegExp("hsv"+$d),hsva:new RegExp("hsva"+Jd),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function tp(t){return Boolean(Qd.CSS_UNIT.exec(String(t)))}var ep=function(){function t(e,n){var i;if(void 0===e&&(e=""),void 0===n&&(n={}),e instanceof t)return e;"number"==typeof e&&(e=function(t){return{r:t>>16,g:(65280&t)>>8,b:255&t}}(e)),this.originalInput=e;var r=Zd(e);this.originalInput=e,this.r=r.r,this.g=r.g,this.b=r.b,this.a=r.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(i=n.format)&&void 0!==i?i:r.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=r.ok}return t.prototype.isDark=function(){return this.getBrightness()<128},t.prototype.isLight=function(){return!this.isDark()},t.prototype.getBrightness=function(){var t=this.toRgb();return(299*t.r+587*t.g+114*t.b)/1e3},t.prototype.getLuminance=function(){var t=this.toRgb(),e=t.r/255,n=t.g/255,i=t.b/255;return.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4))},t.prototype.getAlpha=function(){return this.a},t.prototype.setAlpha=function(t){return this.a=Vd(t),this.roundA=Math.round(100*this.a)/100,this},t.prototype.isMonochrome=function(){return 0===this.toHsl().s},t.prototype.toHsv=function(){var t=Ud(this.r,this.g,this.b);return{h:360*t.h,s:t.s,v:t.v,a:this.a}},t.prototype.toHsvString=function(){var t=Ud(this.r,this.g,this.b),e=Math.round(360*t.h),n=Math.round(100*t.s),i=Math.round(100*t.v);return 1===this.a?"hsv(".concat(e,", ").concat(n,"%, ").concat(i,"%)"):"hsva(".concat(e,", ").concat(n,"%, ").concat(i,"%, ").concat(this.roundA,")")},t.prototype.toHsl=function(){var t=Hd(this.r,this.g,this.b);return{h:360*t.h,s:t.s,l:t.l,a:this.a}},t.prototype.toHslString=function(){var t=Hd(this.r,this.g,this.b),e=Math.round(360*t.h),n=Math.round(100*t.s),i=Math.round(100*t.l);return 1===this.a?"hsl(".concat(e,", ").concat(n,"%, ").concat(i,"%)"):"hsla(".concat(e,", ").concat(n,"%, ").concat(i,"%, ").concat(this.roundA,")")},t.prototype.toHex=function(t){return void 0===t&&(t=!1),jd(this.r,this.g,this.b,t)},t.prototype.toHexString=function(t){return void 0===t&&(t=!1),"#"+this.toHex(t)},t.prototype.toHex8=function(t){return void 0===t&&(t=!1),function(t,e,n,i,r){var o,a=[Gd(Math.round(t).toString(16)),Gd(Math.round(e).toString(16)),Gd(Math.round(n).toString(16)),Gd((o=i,Math.round(255*parseFloat(o)).toString(16)))];return r&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))&&a[3].startsWith(a[3].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}(this.r,this.g,this.b,this.a,t)},t.prototype.toHex8String=function(t){return void 0===t&&(t=!1),"#"+this.toHex8(t)},t.prototype.toHexShortString=function(t){return void 0===t&&(t=!1),1===this.a?this.toHexString(t):this.toHex8String(t)},t.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},t.prototype.toRgbString=function(){var t=Math.round(this.r),e=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(t,", ").concat(e,", ").concat(n,")"):"rgba(".concat(t,", ").concat(e,", ").concat(n,", ").concat(this.roundA,")")},t.prototype.toPercentageRgb=function(){var t=function(t){return"".concat(Math.round(100*Bd(t,255)),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},t.prototype.toPercentageRgbString=function(){var t=function(t){return Math.round(100*Bd(t,255))};return 1===this.a?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},t.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var t="#"+jd(this.r,this.g,this.b,!1),e=0,n=Object.entries(qd);e<n.length;e++){var i=n[e],r=i[0];if(t===i[1])return r}return!1},t.prototype.toString=function(t){var e=Boolean(t);t=null!=t?t:this.format;var n=!1,i=this.a<1&&this.a>=0;return e||!i||!t.startsWith("hex")&&"name"!==t?("rgb"===t&&(n=this.toRgbString()),"prgb"===t&&(n=this.toPercentageRgbString()),"hex"!==t&&"hex6"!==t||(n=this.toHexString()),"hex3"===t&&(n=this.toHexString(!0)),"hex4"===t&&(n=this.toHex8String(!0)),"hex8"===t&&(n=this.toHex8String()),"name"===t&&(n=this.toName()),"hsl"===t&&(n=this.toHslString()),"hsv"===t&&(n=this.toHsvString()),n||this.toHexString()):"name"===t&&0===this.a?this.toName():this.toRgbString()},t.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},t.prototype.clone=function(){return new t(this.toString())},t.prototype.lighten=function(e){void 0===e&&(e=10);var n=this.toHsl();return n.l+=e/100,n.l=zd(n.l),new t(n)},t.prototype.brighten=function(e){void 0===e&&(e=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-e/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-e/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-e/100*255))),new t(n)},t.prototype.darken=function(e){void 0===e&&(e=10);var n=this.toHsl();return n.l-=e/100,n.l=zd(n.l),new t(n)},t.prototype.tint=function(t){return void 0===t&&(t=10),this.mix("white",t)},t.prototype.shade=function(t){return void 0===t&&(t=10),this.mix("black",t)},t.prototype.desaturate=function(e){void 0===e&&(e=10);var n=this.toHsl();return n.s-=e/100,n.s=zd(n.s),new t(n)},t.prototype.saturate=function(e){void 0===e&&(e=10);var n=this.toHsl();return n.s+=e/100,n.s=zd(n.s),new t(n)},t.prototype.greyscale=function(){return this.desaturate(100)},t.prototype.spin=function(e){var n=this.toHsl(),i=(n.h+e)%360;return n.h=i<0?360+i:i,new t(n)},t.prototype.mix=function(e,n){void 0===n&&(n=50);var i=this.toRgb(),r=new t(e).toRgb(),o=n/100;return new t({r:(r.r-i.r)*o+i.r,g:(r.g-i.g)*o+i.g,b:(r.b-i.b)*o+i.b,a:(r.a-i.a)*o+i.a})},t.prototype.analogous=function(e,n){void 0===e&&(e=6),void 0===n&&(n=30);var i=this.toHsl(),r=360/n,o=[this];for(i.h=(i.h-(r*e>>1)+720)%360;--e;)i.h=(i.h+r)%360,o.push(new t(i));return o},t.prototype.complement=function(){var e=this.toHsl();return e.h=(e.h+180)%360,new t(e)},t.prototype.monochromatic=function(e){void 0===e&&(e=6);for(var n=this.toHsv(),i=n.h,r=n.s,o=n.v,a=[],s=1/e;e--;)a.push(new t({h:i,s:r,v:o})),o=(o+s)%1;return a},t.prototype.splitcomplement=function(){var e=this.toHsl(),n=e.h;return[this,new t({h:(n+72)%360,s:e.s,l:e.l}),new t({h:(n+216)%360,s:e.s,l:e.l})]},t.prototype.onBackground=function(e){var n=this.toRgb(),i=new t(e).toRgb(),r=n.a+i.a*(1-n.a);return new t({r:(n.r*n.a+i.r*i.a*(1-n.a))/r,g:(n.g*n.a+i.g*i.a*(1-n.a))/r,b:(n.b*n.a+i.b*i.a*(1-n.a))/r,a:r})},t.prototype.triad=function(){return this.polyad(3)},t.prototype.tetrad=function(){return this.polyad(4)},t.prototype.polyad=function(e){for(var n=this.toHsl(),i=n.h,r=[this],o=360/e,a=1;a<e;a++)r.push(new t({h:(i+a*o)%360,s:n.s,l:n.l}));return r},t.prototype.equals=function(e){return this.toRgbString()===new t(e).toRgbString()},t}();function np(t,e=20){return t.mix("#141414",e).toString()}const ip=On({name:"ElButton"}),rp=On({...ip,props:Rd,emits:Nd,setup(t,{expose:e,emit:n}){const i=t,r=function(t){const e=eh(),n=Ql("button");return eo((()=>{let i={};const r=t.color;if(r){const o=new ep(r),a=t.dark?o.tint(20).toString():np(o,20);if(t.plain)i=n.cssVarBlock({"bg-color":t.dark?np(o,90):o.tint(90).toString(),"text-color":r,"border-color":t.dark?np(o,50):o.tint(50).toString(),"hover-text-color":`var(${n.cssVarName("color-white")})`,"hover-bg-color":r,"hover-border-color":r,"active-bg-color":a,"active-text-color":`var(${n.cssVarName("color-white")})`,"active-border-color":a}),e.value&&(i[n.cssVarBlockName("disabled-bg-color")]=t.dark?np(o,90):o.tint(90).toString(),i[n.cssVarBlockName("disabled-text-color")]=t.dark?np(o,50):o.tint(50).toString(),i[n.cssVarBlockName("disabled-border-color")]=t.dark?np(o,80):o.tint(80).toString());else{const s=t.dark?np(o,30):o.tint(30).toString(),l=o.isDark()?`var(${n.cssVarName("color-white")})`:`var(${n.cssVarName("color-black")})`;if(i=n.cssVarBlock({"bg-color":r,"text-color":l,"border-color":r,"hover-bg-color":s,"hover-text-color":l,"hover-border-color":s,"active-bg-color":a,"active-border-color":a}),e.value){const e=t.dark?np(o,50):o.tint(50).toString();i[n.cssVarBlockName("disabled-bg-color")]=e,i[n.cssVarBlockName("disabled-text-color")]=t.dark?"rgba(255, 255, 255, 0.5)":`var(${n.cssVarName("color-white")})`,i[n.cssVarBlockName("disabled-border-color")]=e}}}return i}))}(i),o=Ql("button"),{_ref:a,_size:s,_type:l,_disabled:u,_props:c,shouldAddSpace:h,handleClick:d}=Ed(i,n);return e({ref:a,size:s,type:l,disabled:u,shouldAddSpace:h}),(t,e)=>(gr(),xr(ai(t.tag),Nr({ref_key:"_ref",ref:a},Ae(c),{class:[Ae(o).b(),Ae(o).m(Ae(l)),Ae(o).m(Ae(s)),Ae(o).is("disabled",Ae(u)),Ae(o).is("loading",t.loading),Ae(o).is("plain",t.plain),Ae(o).is("round",t.round),Ae(o).is("circle",t.circle),Ae(o).is("text",t.text),Ae(o).is("link",t.link),Ae(o).is("has-bg",t.bg)],style:Ae(r),onClick:Ae(d)}),{default:cn((()=>[t.loading?(gr(),_r(ur,{key:0},[t.$slots.loading?hi(t.$slots,"loading",{key:0}):(gr(),xr(Ae($c),{key:1,class:j(Ae(o).is("loading"))},{default:cn((()=>[(gr(),xr(ai(t.loadingIcon)))])),_:1},8,["class"]))],64)):t.icon||t.$slots.icon?(gr(),xr(Ae($c),{key:1},{default:cn((()=>[t.icon?(gr(),xr(ai(t.icon),{key:0})):hi(t.$slots,"icon",{key:1})])),_:3})):Pr("v-if",!0),t.$slots.default?(gr(),_r("span",{key:2,class:j({[Ae(o).em("text","expand")]:Ae(h)})},[hi(t.$slots,"default")],2)):Pr("v-if",!0)])),_:3},16,["class","style","onClick"]))}});var op=Xc(rp,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button.vue"]]);const ap={size:Rd.size,type:Rd.type},sp=On({name:"ElButtonGroup"}),lp=On({...sp,props:ap,setup(t){const e=t;Ri(Od,se({size:Pe(e,"size"),type:Pe(e,"type")}));const n=Ql("button");return(t,e)=>(gr(),_r("div",{class:j(`${Ae(n).b("group")}`)},[hi(t.$slots,"default")],2))}});var up=Xc(lp,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button-group.vue"]]);const cp=Fl(op,{ButtonGroup:up});Gl(up);var hp=Xc(On({inheritAttrs:!1}),[["render",function(t,e,n,i,r,o){return hi(t.$slots,"default")}],["__file","/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection.vue"]]);var dp=Xc(On({name:"ElCollectionItem",inheritAttrs:!1}),[["render",function(t,e,n,i,r,o){return hi(t.$slots,"default")}],["__file","/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection-item.vue"]]);const pp="data-el-collection-item",fp=t=>{const e=`El${t}Collection`,n=`${e}Item`,i=Symbol(e),r=Symbol(n),o={...hp,name:e,setup(){const t=we(null),e=new Map;Ri(i,{itemMap:e,getItems:()=>{const n=Ae(t);if(!n)return[];const i=Array.from(n.querySelectorAll(`[${pp}]`));return[...e.values()].sort(((t,e)=>i.indexOf(t.ref)-i.indexOf(e.ref)))},collectionRef:t})}},a={...dp,name:n,setup(t,{attrs:e}){const n=we(null),o=Ni(i,void 0);Ri(r,{collectionItemRef:n}),qn((()=>{const t=Ae(n);t&&o.itemMap.set(t,{ref:t,...e})})),$n((()=>{const t=Ae(n);o.itemMap.delete(t)}))}};return{COLLECTION_INJECTION_KEY:i,COLLECTION_ITEM_INJECTION_KEY:r,ElCollection:o,ElCollectionItem:a}},gp=Nl({style:{type:[String,Array,Object]},currentTabId:{type:String},defaultCurrentTabId:String,loop:Boolean,dir:{type:String,values:["ltr","rtl"],default:"ltr"},orientation:{type:String},onBlur:Function,onFocus:Function,onMousedown:Function}),{ElCollection:vp,ElCollectionItem:mp,COLLECTION_INJECTION_KEY:yp,COLLECTION_ITEM_INJECTION_KEY:_p}=fp("RovingFocusGroup"),xp=Symbol("elRovingFocusGroup"),bp=Symbol("elRovingFocusGroupItem"),wp={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"},Sp=(t,e,n)=>{const i=((t,e)=>{if("rtl"!==e)return t;switch(t){case Wl.right:return Wl.left;case Wl.left:return Wl.right;default:return t}})(t.key,n);if(!("vertical"===e&&[Wl.left,Wl.right].includes(i)||"horizontal"===e&&[Wl.up,Wl.down].includes(i)))return wp[i]},Mp=t=>{const{activeElement:e}=document;for(const n of t){if(n===e)return;if(n.focus(),e!==document.activeElement)return}},Ip="currentTabIdChange",Ap="rovingFocusGroup.entryFocus",Cp={bubbles:!1,cancelable:!0},Tp=On({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:gp,emits:[Ip,"entryFocus"],setup(t,{emit:e}){var n;const i=we(null!=(n=t.currentTabId||t.defaultCurrentTabId)?n:null),r=we(!1),o=we(!1),a=we(null),{getItems:s}=Ni(yp,void 0),l=eo((()=>[{outline:"none"},t.style])),u=ra((e=>{var n;null==(n=t.onMousedown)||n.call(t,e)}),(()=>{o.value=!0})),c=ra((e=>{var n;null==(n=t.onFocus)||n.call(t,e)}),(t=>{const e=!Ae(o),{target:n,currentTarget:a}=t;if(n===a&&e&&!Ae(r)){const t=new Event(Ap,Cp);if(null==a||a.dispatchEvent(t),!t.defaultPrevented){const t=s().filter((t=>t.focusable)),e=[t.find((t=>t.active)),t.find((t=>t.id===Ae(i))),...t].filter(Boolean).map((t=>t.ref));Mp(e)}}o.value=!1})),h=ra((e=>{var n;null==(n=t.onBlur)||n.call(t,e)}),(()=>{r.value=!1}));Ri(xp,{currentTabbedId:ue(i),loop:Pe(t,"loop"),tabIndex:eo((()=>Ae(r)?-1:0)),rovingFocusGroupRef:a,rovingFocusGroupRootStyle:l,orientation:Pe(t,"orientation"),dir:Pe(t,"dir"),onItemFocus:t=>{e(Ip,t)},onItemShiftTab:()=>{r.value=!0},onBlur:h,onFocus:c,onMousedown:u}),mn((()=>t.currentTabId),(t=>{i.value=null!=t?t:null})),ga(a,Ap,((...t)=>{e("entryFocus",...t)}))}});var Dp=Xc(Tp,[["render",function(t,e,n,i,r,o){return hi(t.$slots,"default")}],["__file","/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-group-impl.vue"]]);var kp=Xc(On({name:"ElRovingFocusGroup",components:{ElFocusGroupCollection:vp,ElRovingFocusGroupImpl:Dp}}),[["render",function(t,e,n,i,r,o){const a=ri("el-roving-focus-group-impl"),s=ri("el-focus-group-collection");return gr(),xr(s,null,{default:cn((()=>[Cr(a,Y(Tr(t.$attrs)),{default:cn((()=>[hi(t.$slots,"default")])),_:3},16)])),_:3})}],["__file","/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-group.vue"]]);const Lp=On({components:{ElRovingFocusCollectionItem:mp},props:{focusable:{type:Boolean,default:!0},active:{type:Boolean,default:!1}},emits:["mousedown","focus","keydown"],setup(t,{emit:e}){const{currentTabbedId:n,loop:i,onItemFocus:r,onItemShiftTab:o}=Ni(xp,void 0),{getItems:a}=Ni(yp,void 0),s=Tc(),l=we(null),u=ra((t=>{e("mousedown",t)}),(e=>{t.focusable?r(Ae(s)):e.preventDefault()})),c=ra((t=>{e("focus",t)}),(()=>{r(Ae(s))})),h=ra((t=>{e("keydown",t)}),(t=>{const{key:e,shiftKey:n,target:r,currentTarget:s}=t;if(e===Wl.tab&&n)return void o();if(r!==s)return;const l=Sp(t);if(l){t.preventDefault();let e=a().filter((t=>t.focusable)).map((t=>t.ref));switch(l){case"last":e.reverse();break;case"prev":case"next":{"prev"===l&&e.reverse();const t=e.indexOf(s);e=i.value?(c=t+1,(u=e).map(((t,e)=>u[(e+c)%u.length]))):e.slice(t+1);break}}Xe((()=>{Mp(e)}))}var u,c})),d=eo((()=>n.value===Ae(s)));return Ri(bp,{rovingFocusGroupItemRef:l,tabIndex:eo((()=>Ae(d)?0:-1)),handleMousedown:u,handleFocus:c,handleKeydown:h}),{id:s,handleKeydown:h,handleFocus:c,handleMousedown:u}}});var Pp=Xc(Lp,[["render",function(t,e,n,i,r,o){const a=ri("el-roving-focus-collection-item");return gr(),xr(a,{id:t.id,focusable:t.focusable,active:t.active},{default:cn((()=>[hi(t.$slots,"default")])),_:3},8,["id","focusable","active"])}],["__file","/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-item.vue"]]);const Op=Nl({trigger:cd.trigger,effect:{...ud.effect,default:"light"},type:{type:String},placement:{type:String,default:"bottom"},popperOptions:{type:Object,default:()=>({})},id:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean,default:!0},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:[Number,String],default:0},maxHeight:{type:[Number,String],default:""},popperClass:{type:String,default:""},disabled:{type:Boolean,default:!1},role:{type:String,default:"menu"},buttonProps:{type:Object},teleported:ud.teleported}),Ep=Nl({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:Bl}}),Rp=Nl({onKeydown:{type:Function}}),Np=[Wl.down,Wl.pageDown,Wl.home],Bp=[Wl.up,Wl.pageUp,Wl.end],zp=[...Np,...Bp],{ElCollection:Vp,ElCollectionItem:Fp,COLLECTION_INJECTION_KEY:Gp,COLLECTION_ITEM_INJECTION_KEY:Hp}=fp("Dropdown"),Wp=Symbol("elDropdown"),{ButtonGroup:Up}=cp;var jp=Xc(On({name:"ElDropdown",components:{ElButton:cp,ElButtonGroup:Up,ElScrollbar:ph,ElDropdownCollection:Vp,ElTooltip:Cd,ElRovingFocusGroup:kp,ElOnlyChild:Sh,ElIcon:$c,ArrowDown:$s},props:Op,emits:["visible-change","click","command"],setup(t,{emit:e}){const n=Gr(),i=Ql("dropdown"),{t:r}=ql(),o=we(),a=we(),s=we(null),l=we(null),u=we(null),c=we(null),h=we(!1),p=[Wl.enter,Wl.space,Wl.down],f=eo((()=>({maxHeight:Ys(t.maxHeight)}))),g=eo((()=>[i.m(_.value)])),v=Tc().value,m=eo((()=>t.id||v));function y(){var t;null==(t=s.value)||t.onClose()}mn([o,Pe(t,"trigger")],(([t,e],[n])=>{var i,r,o;const a=d(e)?e:[e];(null==(i=null==n?void 0:n.$el)?void 0:i.removeEventListener)&&n.$el.removeEventListener("pointerenter",x),(null==(r=null==t?void 0:t.$el)?void 0:r.removeEventListener)&&t.$el.removeEventListener("pointerenter",x),(null==(o=null==t?void 0:t.$el)?void 0:o.addEventListener)&&a.includes("hover")&&t.$el.addEventListener("pointerenter",x)}),{immediate:!0}),$n((()=>{var t,e;(null==(e=null==(t=o.value)?void 0:t.$el)?void 0:e.removeEventListener)&&o.value.$el.removeEventListener("pointerenter",x)}));const _=th();function x(){var t,e;null==(e=null==(t=o.value)?void 0:t.$el)||e.focus()}Ri(Wp,{contentRef:l,role:eo((()=>t.role)),triggerId:m,isUsingKeyboard:h,onItemEnter:function(){},onItemLeave:function(){const t=Ae(l);null==t||t.focus(),c.value=null}}),Ri("elDropdown",{instance:n,dropdownSize:_,handleClick:function(){y()},commandHandler:function(...t){e("command",...t)},trigger:Pe(t,"trigger"),hideOnClick:Pe(t,"hideOnClick")});return{t:r,ns:i,scrollbar:u,wrapStyle:f,dropdownTriggerKls:g,dropdownSize:_,triggerId:m,triggerKeys:p,currentTabId:c,handleCurrentTabIdChange:function(t){c.value=t},handlerMainButtonClick:t=>{e("click",t)},handleEntryFocus:function(t){h.value||(t.preventDefault(),t.stopImmediatePropagation())},handleClose:y,handleOpen:function(){var t;null==(t=s.value)||t.onOpen()},handleBeforeShowTooltip:function(){e("visible-change",!0)},handleShowTooltip:function(t){"keydown"===(null==t?void 0:t.type)&&l.value.focus()},handleBeforeHideTooltip:function(){e("visible-change",!1)},onFocusAfterTrapped:t=>{var e,n;t.preventDefault(),null==(n=null==(e=l.value)?void 0:e.focus)||n.call(e,{preventScroll:!0})},popperRef:s,contentRef:l,triggeringElementRef:o,referenceElementRef:a}}}),[["render",function(t,e,n,i,r,o){var a;const s=ri("el-dropdown-collection"),l=ri("el-roving-focus-group"),u=ri("el-scrollbar"),c=ri("el-only-child"),h=ri("el-tooltip"),d=ri("el-button"),p=ri("arrow-down"),f=ri("el-icon"),g=ri("el-button-group");return gr(),_r("div",{class:j([t.ns.b(),t.ns.is("disabled",t.disabled)])},[Cr(h,{ref:"popperRef",role:t.role,effect:t.effect,"fallback-placements":["bottom","top"],"popper-options":t.popperOptions,"gpu-acceleration":!1,"hide-after":"hover"===t.trigger?t.hideTimeout:0,"manual-mode":!0,placement:t.placement,"popper-class":[t.ns.e("popper"),t.popperClass],"reference-element":null==(a=t.referenceElementRef)?void 0:a.$el,trigger:t.trigger,"trigger-keys":t.triggerKeys,"trigger-target-el":t.contentRef,"show-after":"hover"===t.trigger?t.showTimeout:0,"stop-popper-mouse-event":!1,"virtual-ref":t.triggeringElementRef,"virtual-triggering":t.splitButton,disabled:t.disabled,transition:`${t.ns.namespace.value}-zoom-in-top`,teleported:t.teleported,pure:"",persistent:"",onBeforeShow:t.handleBeforeShowTooltip,onShow:t.handleShowTooltip,onBeforeHide:t.handleBeforeHideTooltip},ci({content:cn((()=>[Cr(u,{ref:"scrollbar","wrap-style":t.wrapStyle,tag:"div","view-class":t.ns.e("list")},{default:cn((()=>[Cr(l,{loop:t.loop,"current-tab-id":t.currentTabId,orientation:"horizontal",onCurrentTabIdChange:t.handleCurrentTabIdChange,onEntryFocus:t.handleEntryFocus},{default:cn((()=>[Cr(s,null,{default:cn((()=>[hi(t.$slots,"dropdown")])),_:3})])),_:3},8,["loop","current-tab-id","onCurrentTabIdChange","onEntryFocus"])])),_:3},8,["wrap-style","view-class"])])),_:2},[t.splitButton?void 0:{name:"default",fn:cn((()=>[Cr(c,{id:t.triggerId,ref:"triggeringElementRef",role:"button",tabindex:t.tabindex},{default:cn((()=>[hi(t.$slots,"default")])),_:3},8,["id","tabindex"])]))}]),1032,["role","effect","popper-options","hide-after","placement","popper-class","reference-element","trigger","trigger-keys","trigger-target-el","show-after","virtual-ref","virtual-triggering","disabled","transition","teleported","onBeforeShow","onShow","onBeforeHide"]),t.splitButton?(gr(),xr(g,{key:0},{default:cn((()=>[Cr(d,Nr({ref:"referenceElementRef"},t.buttonProps,{size:t.dropdownSize,type:t.type,disabled:t.disabled,tabindex:t.tabindex,onClick:t.handlerMainButtonClick}),{default:cn((()=>[hi(t.$slots,"default")])),_:3},16,["size","type","disabled","tabindex","onClick"]),Cr(d,Nr({id:t.triggerId,ref:"triggeringElementRef"},t.buttonProps,{role:"button",size:t.dropdownSize,type:t.type,class:t.ns.e("caret-button"),disabled:t.disabled,tabindex:t.tabindex,"aria-label":t.t("el.dropdown.toggleDropdown")}),{default:cn((()=>[Cr(f,{class:j(t.ns.e("icon"))},{default:cn((()=>[Cr(p)])),_:1},8,["class"])])),_:1},16,["id","size","type","class","disabled","tabindex","aria-label"])])),_:3})):Pr("v-if",!0)],2)}],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown.vue"]]);const Yp=On({name:"DropdownItemImpl",components:{ElIcon:$c},props:Ep,emits:["pointermove","pointerleave","click","clickimpl"],setup(t,{emit:e}){const n=Ql("dropdown"),{role:i}=Ni(Wp,void 0),{collectionItemRef:r}=Ni(Hp,void 0),{collectionItemRef:o}=Ni(_p,void 0),{rovingFocusGroupItemRef:a,tabIndex:s,handleFocus:l,handleKeydown:u,handleMousedown:c}=Ni(bp,void 0),h=Hl(r,o,a),d=eo((()=>"menu"===i.value?"menuitem":"navigation"===i.value?"link":"button")),p=ra((t=>{const{code:n}=t;if(n===Wl.enter||n===Wl.space)return t.preventDefault(),t.stopImmediatePropagation(),e("clickimpl",t),!0}),u);return{ns:n,itemRef:h,dataset:{[pp]:""},role:d,tabIndex:s,handleFocus:l,handleKeydown:p,handleMousedown:c}}}),Xp=["aria-disabled","tabindex","role"];var qp=Xc(Yp,[["render",function(t,e,n,i,r,o){const a=ri("el-icon");return gr(),_r(ur,null,[t.divided?(gr(),_r("li",Nr({key:0,role:"separator",class:t.ns.bem("menu","item","divided")},t.$attrs),null,16)):Pr("v-if",!0),Ar("li",Nr({ref:t.itemRef},{...t.dataset,...t.$attrs},{"aria-disabled":t.disabled,class:[t.ns.be("menu","item"),t.ns.is("disabled",t.disabled)],tabindex:t.tabIndex,role:t.role,onClick:e[0]||(e[0]=e=>t.$emit("clickimpl",e)),onFocus:e[1]||(e[1]=(...e)=>t.handleFocus&&t.handleFocus(...e)),onKeydown:e[2]||(e[2]=Bo(((...e)=>t.handleKeydown&&t.handleKeydown(...e)),["self"])),onMousedown:e[3]||(e[3]=(...e)=>t.handleMousedown&&t.handleMousedown(...e)),onPointermove:e[4]||(e[4]=e=>t.$emit("pointermove",e)),onPointerleave:e[5]||(e[5]=e=>t.$emit("pointerleave",e))}),[t.icon?(gr(),xr(a,{key:0},{default:cn((()=>[(gr(),xr(ai(t.icon)))])),_:1})):Pr("v-if",!0),hi(t.$slots,"default")],16,Xp)],64)}],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-item-impl.vue"]]);const Zp=()=>{const t=Ni("elDropdown",{}),e=eo((()=>null==t?void 0:t.dropdownSize));return{elDropdown:t,_elDropdownSize:e}},Kp=On({name:"ElDropdownItem",components:{ElDropdownCollectionItem:Fp,ElRovingFocusItem:Pp,ElDropdownItemImpl:qp},inheritAttrs:!1,props:Ep,emits:["pointermove","pointerleave","click"],setup(t,{emit:e,attrs:n}){const{elDropdown:i}=Zp(),r=Gr(),o=we(null),a=eo((()=>{var t,e;return null!=(e=null==(t=Ae(o))?void 0:t.textContent)?e:""})),{onItemEnter:s,onItemLeave:l}=Ni(Wp,void 0),u=ra((t=>(e("pointermove",t),t.defaultPrevented)),oa((e=>{if(t.disabled)return void l(e);const n=e.currentTarget;n===document.activeElement||n.contains(document.activeElement)||(s(e),e.defaultPrevented||null==n||n.focus())}))),c=ra((t=>(e("pointerleave",t),t.defaultPrevented)),oa((t=>{l(t)})));return{handleClick:ra((n=>{if(!t.disabled)return e("click",n),"keydown"!==n.type&&n.defaultPrevented}),(e=>{var n,o,a;t.disabled?e.stopImmediatePropagation():((null==(n=null==i?void 0:i.hideOnClick)?void 0:n.value)&&(null==(o=i.handleClick)||o.call(i)),null==(a=i.commandHandler)||a.call(i,t.command,r,e))})),handlePointerMove:u,handlePointerLeave:c,textContent:a,propsAndAttrs:eo((()=>({...t,...n})))}}});var $p=Xc(Kp,[["render",function(t,e,n,i,r,o){var a;const s=ri("el-dropdown-item-impl"),l=ri("el-roving-focus-item"),u=ri("el-dropdown-collection-item");return gr(),xr(u,{disabled:t.disabled,"text-value":null!=(a=t.textValue)?a:t.textContent},{default:cn((()=>[Cr(l,{focusable:!t.disabled},{default:cn((()=>[Cr(s,Nr(t.propsAndAttrs,{onPointerleave:t.handlePointerLeave,onPointermove:t.handlePointerMove,onClickimpl:t.handleClick}),{default:cn((()=>[hi(t.$slots,"default")])),_:3},16,["onPointerleave","onPointermove","onClickimpl"])])),_:3},8,["focusable"])])),_:3},8,["disabled","text-value"])}],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-item.vue"]]);const Jp=On({name:"ElDropdownMenu",props:Rp,setup(t){const e=Ql("dropdown"),{_elDropdownSize:n}=Zp(),i=n.value,{focusTrapRef:r,onKeydown:o}=Ni(Nh,void 0),{contentRef:a,role:s,triggerId:l}=Ni(Wp,void 0),{collectionRef:u,getItems:c}=Ni(Gp,void 0),{rovingFocusGroupRef:h,rovingFocusGroupRootStyle:d,tabIndex:p,onBlur:f,onFocus:g,onMousedown:v}=Ni(xp,void 0),{collectionRef:m}=Ni(yp,void 0),y=eo((()=>[e.b("menu"),e.bm("menu",null==i?void 0:i.value)])),_=Hl(a,u,r,h,m),x=ra((e=>{var n;null==(n=t.onKeydown)||n.call(t,e)}),(t=>{const{currentTarget:e,code:n,target:i}=t;if(e.contains(i),Wl.tab===n&&t.stopImmediatePropagation(),t.preventDefault(),i!==Ae(a))return;if(!zp.includes(n))return;const r=c().filter((t=>!t.disabled)).map((t=>t.ref));Bp.includes(n)&&r.reverse(),Mp(r)}));return{size:i,rovingFocusGroupRootStyle:d,tabIndex:p,dropdownKls:y,role:s,triggerId:l,dropdownListWrapperRef:_,handleKeydown:t=>{x(t),o(t)},onBlur:f,onFocus:g,onMousedown:v}}}),Qp=["role","aria-labelledby"];var tf=Xc(Jp,[["render",function(t,e,n,i,r,o){return gr(),_r("ul",{ref:t.dropdownListWrapperRef,class:j(t.dropdownKls),style:F(t.rovingFocusGroupRootStyle),tabindex:-1,role:t.role,"aria-labelledby":t.triggerId,onBlur:e[0]||(e[0]=(...e)=>t.onBlur&&t.onBlur(...e)),onFocus:e[1]||(e[1]=(...e)=>t.onFocus&&t.onFocus(...e)),onKeydown:e[2]||(e[2]=Bo(((...e)=>t.handleKeydown&&t.handleKeydown(...e)),["self"])),onMousedown:e[3]||(e[3]=Bo(((...e)=>t.onMousedown&&t.onMousedown(...e)),["self"]))},[hi(t.$slots,"default")],46,Qp)}],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-menu.vue"]]);const ef=Fl(jp,{DropdownItem:$p,DropdownMenu:tf}),nf=Gl($p),rf=Gl(tf),of=Nl({type:{type:String,default:"line",values:["line","circle","dashboard"]},percentage:{type:Number,default:0,validator:t=>t>=0&&t<=100},status:{type:String,default:"",values:["","success","exception","warning"]},indeterminate:{type:Boolean,default:!1},duration:{type:Number,default:3},strokeWidth:{type:Number,default:6},strokeLinecap:{type:String,default:"round"},textInside:{type:Boolean,default:!1},width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:[String,Array,Function],default:""},striped:Boolean,stripedFlow:Boolean,format:{type:Function,default:t=>`${t}%`}}),af=["aria-valuenow"],sf={viewBox:"0 0 100 100"},lf=["d","stroke","stroke-linecap","stroke-width"],uf=["d","stroke","opacity","stroke-linecap","stroke-width"],cf={key:0},hf=On({name:"ElProgress"}),df=On({...hf,props:of,setup(t){const e=t,n={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},i=Ql("progress"),r=eo((()=>({width:`${e.percentage}%`,animationDuration:`${e.duration}s`,backgroundColor:_(e.percentage)}))),o=eo((()=>(e.strokeWidth/e.width*100).toFixed(1))),a=eo((()=>["circle","dashboard"].includes(e.type)?Number.parseInt(""+(50-Number.parseFloat(o.value)/2),10):0)),s=eo((()=>{const t=a.value,n="dashboard"===e.type;return`\n M 50 50\n m 0 ${n?"":"-"}${t}\n a ${t} ${t} 0 1 1 0 ${n?"-":""}${2*t}\n a ${t} ${t} 0 1 1 0 ${n?"":"-"}${2*t}\n `})),l=eo((()=>2*Math.PI*a.value)),u=eo((()=>"dashboard"===e.type?.75:1)),c=eo((()=>`${-1*l.value*(1-u.value)/2}px`)),h=eo((()=>({strokeDasharray:`${l.value*u.value}px, ${l.value}px`,strokeDashoffset:c.value}))),d=eo((()=>({strokeDasharray:`${l.value*u.value*(e.percentage/100)}px, ${l.value}px`,strokeDashoffset:c.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"}))),p=eo((()=>{let t;return t=e.color?_(e.percentage):n[e.status]||n.default,t})),f=eo((()=>"warning"===e.status?Ol:"line"===e.type?"success"===e.status?ol:pl:"success"===e.status?el:ml)),m=eo((()=>"line"===e.type?12+.4*e.strokeWidth:.111111*e.width+2)),y=eo((()=>e.format(e.percentage)));const _=t=>{var n;const{color:i}=e;if(g(i))return i(t);if(v(i))return i;{const e=function(t){const e=100/t.length;return t.map(((t,n)=>v(t)?{color:t,percentage:(n+1)*e}:t)).sort(((t,e)=>t.percentage-e.percentage))}(i);for(const n of e)if(n.percentage>t)return n.color;return null==(n=e[e.length-1])?void 0:n.color}};return(t,e)=>(gr(),_r("div",{class:j([Ae(i).b(),Ae(i).m(t.type),Ae(i).is(t.status),{[Ae(i).m("without-text")]:!t.showText,[Ae(i).m("text-inside")]:t.textInside}]),role:"progressbar","aria-valuenow":t.percentage,"aria-valuemin":"0","aria-valuemax":"100"},["line"===t.type?(gr(),_r("div",{key:0,class:j(Ae(i).b("bar"))},[Ar("div",{class:j(Ae(i).be("bar","outer")),style:F({height:`${t.strokeWidth}px`})},[Ar("div",{class:j([Ae(i).be("bar","inner"),{[Ae(i).bem("bar","inner","indeterminate")]:t.indeterminate},{[Ae(i).bem("bar","inner","striped")]:t.striped},{[Ae(i).bem("bar","inner","striped-flow")]:t.stripedFlow}]),style:F(Ae(r))},[(t.showText||t.$slots.default)&&t.textInside?(gr(),_r("div",{key:0,class:j(Ae(i).be("bar","innerText"))},[hi(t.$slots,"default",{percentage:t.percentage},(()=>[Ar("span",null,Z(Ae(y)),1)]))],2)):Pr("v-if",!0)],6)],6)],2)):(gr(),_r("div",{key:1,class:j(Ae(i).b("circle")),style:F({height:`${t.width}px`,width:`${t.width}px`})},[(gr(),_r("svg",sf,[Ar("path",{class:j(Ae(i).be("circle","track")),d:Ae(s),stroke:`var(${Ae(i).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-linecap":t.strokeLinecap,"stroke-width":Ae(o),fill:"none",style:F(Ae(h))},null,14,lf),Ar("path",{class:j(Ae(i).be("circle","path")),d:Ae(s),stroke:Ae(p),fill:"none",opacity:t.percentage?1:0,"stroke-linecap":t.strokeLinecap,"stroke-width":Ae(o),style:F(Ae(d))},null,14,uf)]))],6)),!t.showText&&!t.$slots.default||t.textInside?Pr("v-if",!0):(gr(),_r("div",{key:2,class:j(Ae(i).e("text")),style:F({fontSize:`${Ae(m)}px`})},[hi(t.$slots,"default",{percentage:t.percentage},(()=>[t.status?(gr(),xr(Ae($c),{key:1},{default:cn((()=>[(gr(),xr(ai(Ae(f))))])),_:1})):(gr(),_r("span",cf,Z(Ae(y)),1))]))],6))],10,af))}});const pf=Fl(Xc(df,[["__file","/home/runner/work/element-plus/element-plus/packages/components/progress/src/progress.vue"]])),ff=["success","info","warning","error"],gf={customClass:"",center:!1,dangerouslyUseHTMLString:!1,duration:3e3,icon:void 0,id:"",message:"",onClose:void 0,showClose:!1,type:"info",offset:16,zIndex:0,grouping:!1,repeatNum:1,appendTo:sa?document.body:void 0},vf=Nl({customClass:{type:String,default:gf.customClass},center:{type:Boolean,default:gf.center},dangerouslyUseHTMLString:{type:Boolean,default:gf.dangerouslyUseHTMLString},duration:{type:Number,default:gf.duration},icon:{type:Bl,default:gf.icon},id:{type:String,default:gf.id},message:{type:[String,Object,Function],default:gf.message},onClose:{type:Function,required:!1},showClose:{type:Boolean,default:gf.showClose},type:{type:String,values:ff,default:gf.type},offset:{type:Number,default:gf.offset},zIndex:{type:Number,default:gf.zIndex},grouping:{type:Boolean,default:gf.grouping},repeatNum:{type:Number,default:gf.repeatNum}}),mf=le([]),yf=t=>{const{prev:e}=(t=>{const e=mf.findIndex((e=>e.id===t)),n=mf[e];let i;return e>0&&(i=mf[e-1]),{current:n,prev:i}})(t);return e?e.vm.exposed.bottom.value:0},_f=["id"],xf=["innerHTML"],bf=On({name:"ElMessage"}),wf=On({...bf,props:vf,emits:{destroy:()=>!0},setup(t,{expose:e}){const n=t,{Close:i}=zl,{ns:r,zIndex:o}=function(t,e){const n=Wc(),i=Ql(t,eo((()=>{var t;return(null==(t=n.value)?void 0:t.namespace)||Zl}))),r=ql(eo((()=>{var t;return null==(t=n.value)?void 0:t.locale}))),o=zc(eo((()=>{var t;return(null==(t=n.value)?void 0:t.zIndex)||2e3}))),a=eo((()=>{var t;return Ae(e)||(null==(t=n.value)?void 0:t.size)||""}));return Uc(eo((()=>Ae(n)||{}))),{ns:i,locale:r,zIndex:o,size:a}}("message"),{currentZIndex:a,nextZIndex:s}=o,l=we(),u=we(!1),c=we(0);let h;const d=eo((()=>n.type?"error"===n.type?"danger":n.type:"info")),p=eo((()=>{const t=n.type;return{[r.bm("icon",t)]:t&&Vl[t]}})),f=eo((()=>n.icon||Vl[n.type]||"")),g=eo((()=>yf(n.id))),v=eo((()=>((t,e)=>mf.findIndex((e=>e.id===t))>0?20:e)(n.id,n.offset)+g.value)),m=eo((()=>c.value+v.value)),y=eo((()=>({top:`${v.value}px`,zIndex:a.value})));function _(){0!==n.duration&&({stop:h}=function(t,e,n={}){const{immediate:i=!0}=n,r=we(!1);let o=null;function a(){o&&(clearTimeout(o),o=null)}function s(){r.value=!1,a()}function l(...n){a(),r.value=!0,o=setTimeout((()=>{r.value=!1,o=null,t(...n)}),ha(e))}return i&&(r.value=!0,sa&&l()),da(s),{isPending:ue(r),start:l,stop:s}}((()=>{b()}),n.duration))}function x(){null==h||h()}function b(){u.value=!1}return qn((()=>{_(),s(),u.value=!0})),mn((()=>n.repeatNum),(()=>{x(),_()})),ga(document,"keydown",(function({code:t}){t===Wl.esc&&b()})),Ia(l,(()=>{c.value=l.value.getBoundingClientRect().height})),e({visible:u,bottom:m,close:b}),(t,e)=>(gr(),xr(So,{name:Ae(r).b("fade"),onBeforeLeave:t.onClose,onAfterLeave:e[0]||(e[0]=e=>t.$emit("destroy")),persisted:""},{default:cn((()=>[wn(Ar("div",{id:t.id,ref_key:"messageRef",ref:l,class:j([Ae(r).b(),{[Ae(r).m(t.type)]:t.type&&!t.icon},Ae(r).is("center",t.center),Ae(r).is("closable",t.showClose),t.customClass]),style:F(Ae(y)),role:"alert",onMouseenter:x,onMouseleave:_},[t.repeatNum>1?(gr(),xr(Ae(Pd),{key:0,value:t.repeatNum,type:Ae(d),class:j(Ae(r).e("badge"))},null,8,["value","type","class"])):Pr("v-if",!0),Ae(f)?(gr(),xr(Ae($c),{key:1,class:j([Ae(r).e("icon"),Ae(p)])},{default:cn((()=>[(gr(),xr(ai(Ae(f))))])),_:1},8,["class"])):Pr("v-if",!0),hi(t.$slots,"default",{},(()=>[t.dangerouslyUseHTMLString?(gr(),_r(ur,{key:1},[Pr(" Caution here, message could've been compromised, never use user's input as message "),Ar("p",{class:j(Ae(r).e("content")),innerHTML:t.message},null,10,xf)],2112)):(gr(),_r("p",{key:0,class:j(Ae(r).e("content"))},Z(t.message),3))])),t.showClose?(gr(),xr(Ae($c),{key:2,class:j(Ae(r).e("closeBtn")),onClick:Bo(b,["stop"])},{default:cn((()=>[Cr(Ae(i))])),_:1},8,["class","onClick"])):Pr("v-if",!0)],46,_f),[[zo,u.value]])])),_:3},8,["name","onBeforeLeave"]))}});var Sf=Xc(wf,[["__file","/home/runner/work/element-plus/element-plus/packages/components/message/src/message.vue"]]);let Mf=1;const If=t=>{const e=!t||v(t)||br(t)||g(t)?{message:t}:t,n={...gf,...e};if(n.appendTo){if(v(n.appendTo)){let t=document.querySelector(n.appendTo);Ws(t)||(t=document.body),n.appendTo=t}}else n.appendTo=document.body;return n},Af=({appendTo:t,...e},n)=>{const i="message_"+Mf++,r=e.onClose,o=document.createElement("div"),a={...e,id:i,onClose:()=>{null==r||r(),(t=>{const e=mf.indexOf(t);if(-1===e)return;mf.splice(e,1);const{handler:n}=t;n.close()})(c)},onDestroy:()=>{Wo(null,o)}},s=Cr(Sf,a,g(a.message)||br(a.message)?{default:g(a.message)?a.message:()=>a.message}:null);s.appContext=n||Cf._context,Wo(s,o),t.appendChild(o.firstElementChild);const l=s.component,u={close:()=>{l.exposed.visible.value=!1}},c={id:i,vnode:s,vm:l,handler:u,props:s.component.props};return c},Cf=(t={},e)=>{if(!sa)return{close:()=>{}};if(Hs(Yc.max)&&mf.length>=Yc.max)return{close:()=>{}};const n=If(t);if(n.grouping&&mf.length){const t=mf.find((({vnode:t})=>{var e;return(null==(e=t.props)?void 0:e.message)===n.message}));if(t)return t.props.repeatNum+=1,t.props.type=n.type,t.handler}const i=Af(n,e);return mf.push(i),i.handler};ff.forEach((t=>{Cf[t]=(e={},n)=>{const i=If(e);return Cf({...i,type:t},n)}})),Cf.closeAll=function(t){for(const e of mf)t&&t!==e.props.type||e.handler.close()},Cf._context=null;const Tf=(kf="$message",(Df=Cf).install=t=>{Df._context=t._context,t.config.globalProperties[kf]=Df},Df);var Df,kf;function Lf(t){return new URL(Object.assign({"../assets/img/ar_drop@2x.png":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAYFJREFUOE+tlb9LAmEYxz/PaUubQ1upWxD0LwQGDdFQaXtrUxRFDUFIUFAURVNre5oN0ZYQ9BcEQZuaW4NbS3pPvMednnp2Snfj8+PzPN/3fZ73hKCvrPFkgwxKBmFGlAkTpsIXyjtCuZagTEaavenSa0gVdR7YBiYDi3WMdeCympVnf1wHmFcrPcumCushoC63KLeVN67Ji20cbWC6oFujwjyyA83JVRvoyrwYpbOA2B0jXyhrPNXgfogzC6tXryZYlWRRFwTOwqKH8SvsSbKgJyIs9iS0gFgIpC9GlSfTYUkg5U+2YyxZTaZVOBUY8/sUfkTZt+N8WC0ee3xVSRX0FWG8y2FxXFuRu6mCzolw7kENTJXdz5y8JEu6JjYHXSqU70AgYAscVbLy4EGdTXFh6aIuKxwCVh8wSLIb1AU1NtPZQJgpCNVBl+IVbkON4S+Yq8C5lLCxsRVu3C3Y6JPp0+yMTeSDbQpEu3puy5E+Dg4z6ufLO9voHlj/hP7jF/ALVgbAb2cF9n0AAAAASUVORK5CYII=","../assets/img/bg@2x.png":"/screen/assets/bg@2x-eea19a40.png","../assets/img/bg_jinribuliang@2x.png":"/screen/assets/bg_jinribuliang@2x-53eab507.png","../assets/img/bg_jinrirenshu@2x.png":"/screen/assets/bg_jinrirenshu@2x-889552bb.png","../assets/img/bg_jinrishebei@2x.png":"/screen/assets/bg_jinrishebei@2x-be1eea81.png","../assets/img/bg_maintitle@2x.png":"/screen/assets/bg_maintitle@2x-4b8bdc00.png","../assets/img/bg_yanqijihua@2x.png":"/screen/assets/bg_yanqijihua@2x-c2094a94.png","../assets/img/bg_zhixingzhong@2x.png":"/screen/assets/bg_zhixingzhong@2x-998363d4.png","../assets/img/btn_back@2x.png":"/screen/assets/btn_back@2x-675e2455.png","../assets/img/gongxu_title@2x.png":"/screen/assets/gongxu_title@2x-b27af72d.png","../assets/img/home_title_long@2x.png":"/screen/assets/home_title_long@2x-4b73bebe.png","../assets/img/home_title_short@2x.png":"/screen/assets/home_title_short@2x-f3c01af2.png","../assets/img/ic_complete@2x.png":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAZCAYAAAC/zUevAAAAAXNSR0IArs4c6QAAAwdJREFUSEvFlk1IVFEUx//n3acoYxFRbtqUFGI2juUESkFIG503IpWFkEJJBgbmqmhRYGmbIAiyiDAiC4LpY5EzY9pCWpSRH/BmEFoUYtCihVFkkuPce2LGN9OUX6My49u99849/98995w/l7BWz1h/FraV/47I01ow6EF/OzOfB+O5dBi1aYcQQX8DmO9Zmw/JbFqfVogM88UeReINgCwL4r4sMhrSBzH6cqOQchjA1ggAA0EVUqVwVk2lB4JbNRHc6wNQYVXghxTCicKKj2lrTD3gvcKgSxYAg6laOlzdsaFIeSVE0GuAKSIY1SKgPVxkxICiHKmFCHjzBCjSBxusXfdJ+2AlqFUlWkPqIN56srUc2wABjqggY1xmTpeg4PDE/96UMghh+rpAqLcEpzXC/hm7MTSfOaYEQjO9Z4joVlyQ0SgdRudC7kwY6t6kZYjTmoahsN3Vt1obzzD9pYr4NYBMq+s6pd1oXCwviYDvIYA669zuSP1XCwqPhVYEY/bmCgqPANhiGdKwyqZ92OGaXhRCD/puMKMlIWhQClWDwqrPywLxeITIt70CoXx2HU1InUuw0xhfKg/B7LUJTXaCufZvME2QUsfDxe7epRLE/utB3zVmnLPeFRFVJnu88cbUgt5mYroOICOWiMGXld1oAxEvBiNM3xEQnsZimPmicrivJruBf6ZDD3SXMbQnsTO1kvRIIepQWPFt3qRmT74gNQhgndWI3XKXq3op8MXNasS/WejqMUAHE0ZsXNNQM2fOR/tzdDn1noECK/aTlCEndh/6nmwVot0zb7DHI/R8WxsTLiTETDP4rCpy342tEQG/B+Cj1vuUIK0sZK8MLAdgYQgrizD9VSDuSvD+CNMDOTnZpOXYmgiI9JA1DFwv7e5HywVYEiKaMODN05ieEaE4rgd8YGA7AH32G3fIInfzSgCSg4hEjfVniZ9TtwGcnCtEAzKUewBO50xqIeLH4zsFws2EO+JXqVQJiqu+rBQg+UokKMxeVvUOAm8kphMzDte71QBE1v4BQakDwfLPV9MAAAAASUVORK5CYII=","../assets/img/ic_exitfullscreen@2x.png":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAZBJREFUSEvtl79KxEAQh7+fnj6DLyDY2loJgqCCqK8ggoVgq6CVgraChSAWvoCKoIIgWNnaij6APoP/RiYksneX3CUXY5pLk5CdnS8zuzP7i8zsFJgGliVdE1xmNgZcAjeS1sOxrGczOwBmgHlJTy3+ZoET4FZm9gqMAO/AkqSrxNjMNoA94BsYkuT3zMvMBoAPwO+bkvYDX3PAGTAMvDnYv+I8ftEEN7MtYCee3JD01QU8CHzGNtuSdv3ZzEKoMxaVMRBF/hfgFGjkOwJnwYHxMhEDj0F6m7L5C86APwCTPab6HphIW0L31wROgYdLWnSNk7ltmzYCxyWzADQCylQQafK6V7BHfhf49s134eBnYLRLjfZSTp1cvjjYC34trr00Y4ceS1rN2UCOgJUu/g6TcvKCb1vvZMN3axytHxQ3ko7+sgbzBFfKpg8ulb4ik/upLpKtUrb1pjpPwRcJL4+/+lpmnYeEK8n/PxZTGnwozKoTAqHnFGFWvfRJU4OVi70sCVqpvK1N0Nf5C1PLT9sPXcVS1O7WqdUAAAAASUVORK5CYII=","../assets/img/ic_fullscreen@2x.png":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAWBJREFUSEvtl7EuREEUhr8/xBvQ09KKSqMkEruVUq/wAsRu7Aso9EoVCaHUqEStpecNxObIkZ3k7phrR67dafYmt7n3nPOdOTNn5h+Z2SmwD8yQfvrAmaSDmv9Dn7PjmdnnL9AQ9FXSUib4BVgcYduXmVlk9ADcV755YleSnjPBK8AOMFux3wDWq/4p8AfQlnSbAxplY2ZbwCUwVwf2ka4NDP4FHkE95mMYeXXEXeCpkl0jeALaBlaBYx/5EFhSJ+Xw17LXxTCzTi3Ys0k4tiTdjZrPge+mL8bUlMXg0E5HknoheAR/l7SQCX4D5oEfU2Vmh8AJ8N1OvoFs+xu3jJl59ufeXpJ2M8EXgLfPXlwlM/NWuwZulBNsHDZT8Diqmow5LfW01GOrQLnFVWzLrGiuiR8SQXN1/Tye5LE4BC4iBEpJn2JiL/RsI5EXN36OvA0+TQX9MtDKEfTFrjBFLm1fE1IyGlVh99UAAAAASUVORK5CYII=","../assets/img/ic_jinribuliang@2x.png":"/screen/assets/ic_jinribuliang@2x-455fc64a.png","../assets/img/ic_jinrirenshu@2x.png":"/screen/assets/ic_jinrirenshu@2x-b55a14fc.png","../assets/img/ic_jinrishebei@2x.png":"/screen/assets/ic_jinrishebei@2x-0cff47d1.png","../assets/img/ic_rain@2x.png":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAlCAYAAAAuqZsAAAAAAXNSR0IArs4c6QAABVVJREFUWEfFmGtsFFUUx/9n7nRb2yJEMGoiRA3Iy50FqQriC1+FztYaMZVElJgQEOUDqMH4QBrBaJTHJxASSHiomAoS7M5SBKwJCWJYKDvDgkIQEzUiggm0pbLde4+Z3R373LZbaHs+ztz7///u2TvnnruEnkaseriWUOWk4SEwjwYwJC11HkQnWKn9SnElxpee6okFZTvJZ1t+CXwMoBhAV/MZRN8K0KK4f5qdjVdXws1azKQ7uyoY/DYAvYVJHIANxtnkM8LNAAwAvhZjJAEfJvwl74GIuwPYPbBIJEfk/rUVjOmeKAEnmXipLCzYhtun/NvK7ExNnqhrnE7gxQyMbH5HO6Son4Gx5e5iOo1ugQnH2gTGi2mlBgDz5U8NW1BeLjtVr6wUYmT+TBCtBlCQHvuZNMwXrhpMs625BKxNCXE9MUoSgeD+roRbvteP7nqANRUGMCCpwvyqCgTXdKbRecacnTcJ1n8GMBDAFYKakjBKf8gGyhubEw1PVMQ1APIAXJK6GIUxU//MpNUpmO6ElzHzO6k9jVUJw3ytJ1DeHD0aWs5Er6f1PkoY5lvZgcVqCoVqeBigjeBkfaqTcXUHikrPXw0YTnw9WDTl/gLgeoAugPGSzG36HqPK6trqts5YdHeBDlnBxPNabFY3W52uLhtY3Ql9wExuyfGigYB1ifqGd3F/eaP3sBnsSPhGobMF4J62RoLZHw8Ej2UDkHGsExotmI538P6Q1EWZt+9SYM7uoYKbvgNouDeBgcMasI8ZR2XA3HpNoNIiIhqaQaSNY/BjAIpaaP8udXGvC5cEE7a1B8Dj6QEHBTAnbpjOtYTJqBULjxGS3XL0YHIMYbP0m7NIj4YfZeJ96Yl7ZVyVoaj0cp9AeSbuSXHp8lcgBN0ypzEmkYham0FwK3GTlNqdGD/t1z6F8syOV98iEvI0gOsA2kS6Y51kxgiAP5dGcGa/QHl7zw6vA3gOgNMkbMs9+/IZWKwMc1l/gmm2tZCAlQAaSdihOoAKGZivDNM9bPstRDQ0C0QbAVwkzbaOEDAejC0yYHodRL/Aiaj1KQgvM2CTblsrGVgI4G8ZV7f1+RfppeBUOFc0stuGDyWm5YRUHXFrlubVkP5Il3Cs1WC8AkBKQUaqwDqhNWByz0c31sm4700UPXGxTwBjNYW6bFzK4AVJP8ZaGTDnpY6kSFW+8Im9AE9Kw5wFIcSKa0mjq+soMqyOFQ0mwjiASwDcmh72oxyQ/4jbqjcf4pE9A4Uv7n4RT/dJptqb7JQifybGTqlPnUxtQthWGYBFACYm913vhgLxASh8IgPBb1paZe5gI1VDdF0fxRoPAbO4pnxEkkidS1zhk5maz27dktpBRSI5mBCSoArVKfCZmrx2V7turjB7sFjVMCG1WgLOJeJqQqa6l+7vF4IxVwbM9d3k+X9Y1mC6ba1gIHkp0cBFTUbwcDvT2h2DhPBdSNfGKuk3n+p1MGGHD3hlRZI+DP7i39qa6kdDxaxRdboubZABc3bvgsUqfUIWXAKQC+APaZhe/WnlqznWEmJUJB8Sz5b+4IZeBcuJWvcpwsGUIbZLv/lsR4bCCVeD2f03CEKJu+LjpsZ6FUyLhhYQ0SrXhIneUP6SFe0MmUk44X8ADHLbF+k/dEOXX28H1FltfhG1vgThuWTCiCcn/MED7TRbX8/2SMN8MttspX6QLEKzLZsAP4C4HJA/sKMaJaLWdBC2pcTp/YRRsiQLi56VCxG1toPwDIAvpGE+35FhzrGqgFJarXu5EUrc3ZP9lXXG4B70ufFimUfVGFHifp0dhn4sPBlKqp7+M+SK/gfHMwW20voEoAAAAABJRU5ErkJggg==","../assets/img/ic_yanqijihua@2x.png":"/screen/assets/ic_yanqijihua@2x-91e879d7.png","../assets/img/ic_zhixingzhong@2x.png":"/screen/assets/ic_zhixingzhong@2x-d5daba40.png","../assets/img/rank_blue@2x.png":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAjRJREFUOE+Nk7+LE1EQxz/f2U3OcI2goI2dvdwfYGNhYXugf4Bw1hZaKhYWYicIiq2lWNlqZS/YmNyVNgpaXHHES/a9kdnNM8leAk7zmZ03v99bMfHrcn+CuOSAgGBI0YMbZdXB+enosTTOHzEM2GuD+lm3JSv2ktT0xbMnMc6fJS5vjZPAHYKbKq438EOa5A8OF7eNdaZhyXEXwViLu1zylvBLduhv3f18t7F2ZoVbx00t9Te7LCn3YzFOL03s5kV0LDP0YCfrlkxuVx7sTju9u4Z8IjvypznnHbMuRc6Z0INnA87k7/ufRocPTNRgi9eS1enB6NbcyApuurjoI2q3dJL4lg4wz1BtuehEdxYMKXrnX5GUqDzoSGLc3EbVrGRbdVgkcKIwVdthP/2axRmKI7+JLza8pcdVc900aurag629BpoFE6Zq4reScVIcinPwP/Kvu+S0KyZ+p6743syjDNSDmtCDIY3jtVCwNQgRejAk4sJ33lBZfUWM/S7i67LUHBiE58JU9ODypPvqvJbe6ZqYpPtgn/5V7M25ng7mjg+Egv2VGNyIhI8wezdc/Hsz8NCDG3c4Qwxxgq3EAxl2rOv9+Jef53T6huFOl6AfUIKDwM4MnQ7xYHwXPWjzfCAbp1dD7Nmf0k5ZeBnpHBCHwZCil4DVSzIeikN/QWreY/XRphFHhqYZD8b5lCkjRi1bySPHpqIZXDWz/XjYe+bcc7hAdmHyliFFD26Q9WH8N7LXfwGgtyx76J22lQAAAABJRU5ErkJggg==","../assets/img/rank_yellow@2x.png":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAntJREFUOE+llTFrFEEUx/9vdnb3LgbEQrCQEzEELfQD2AteaW1lEy39AiqohYKgEggmCgFjKbYWVhb5BEGIJCDRIKQQuewld7uzM0/e7OzluFuJ4L/5/Wffmzdv3rIs8cGTLhytADgLZoAInqLaC4/XLhQvEPef7rCLvsOqK1URMBjk+S8KuaTcBpTtEGfP9thSf9QVpBupFbqaWE6dMXYr0pglzl58YVv0weFexOy9sEn1WaPo2Fx0fII4W/zM9vBgtNeBoMAQimovbJLzOYADKJ6RgkvvnekNRjOr5yds0uSMx/JVfHKGbLa8jOLXIcChwMSrVgpwDhCKHBMUsafXUb5KTreJs9ePXbk3/OsLtQAiAMIm1bEIUPpMi7i/etcVP4bh/KktYyMKI/Xj8mPzDYNJgdgz6aTE/bWbNt8qqjaOmqlW07KwiBBBOKX0Qkqmt3Zdl1u2hPMz0VAsXthUsIQiDcfCybhO5xXx4bsbONj8XSdo7bgsFQkbWyz9qYCw6qDyGrDRxVPE2ds7MFsbpakydKwhXujFjkGKPEW1F0qtkOs5e+ky2Wz1gc23PwLG58dQbOBIKOvaC6t4DAPjWcXlWWA61yXO3iyZwdcVIKo2xIqNcST0G4IXVgUtG0QknCwYpfO3ye2/+mDMt3swthoyWwZF5AkgSRIUReF5nDg+/4h4f2kd+fatPGSnAMQLRbU/iqfIkSMNGbUXJsncKrne4jYNdq6NTk9LRq4JQgDDXFMrLVlY5chH1QoU18IQQ09unftErvdy03FxPyp/rjddaUAltVmz0McHANqBYluaB8OSktnOVUXJQ+Le8y4zql/A/2mXCAt/AJzRWZFmBrriAAAAAElFTkSuQmCC","../assets/img/tab_select@2x.png":"/screen/assets/tab_select@2x-562f0f68.png","../assets/img/tab_select_grey@2x.png":"/screen/assets/tab_select_grey@2x-293d45eb.png","../assets/img/title_line@2x.png":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAAiCAYAAAB1GggSAAAAAXNSR0IArs4c6QAAAB1JREFUKFNjrJpwWZyBgYGBsWjSSf1RBu5AgAUUAPJzQ4vdGxPpAAAAAElFTkSuQmCC"})[`../assets/img/${t}`],self.location).href}function Pf(t,e){return function(){return t.apply(e,arguments)}}const{toString:Of}=Object.prototype,{getPrototypeOf:Ef}=Object,Rf=(t=>e=>{const n=Of.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Nf=t=>(t=t.toLowerCase(),e=>Rf(e)===t),Bf=t=>e=>typeof e===t,{isArray:zf}=Array,Vf=Bf("undefined");const Ff=Nf("ArrayBuffer");const Gf=Bf("string"),Hf=Bf("function"),Wf=Bf("number"),Uf=t=>null!==t&&"object"==typeof t,jf=t=>{if("object"!==Rf(t))return!1;const e=Ef(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||Symbol.toStringTag in t||Symbol.iterator in t)},Yf=Nf("Date"),Xf=Nf("File"),qf=Nf("Blob"),Zf=Nf("FileList"),Kf=Nf("URLSearchParams");function $f(t,e,{allOwnKeys:n=!1}={}){if(null==t)return;let i,r;if("object"!=typeof t&&(t=[t]),zf(t))for(i=0,r=t.length;i<r;i++)e.call(null,t[i],i,t);else{const r=n?Object.getOwnPropertyNames(t):Object.keys(t),o=r.length;let a;for(i=0;i<o;i++)a=r[i],e.call(null,t[a],a,t)}}function Jf(t,e){e=e.toLowerCase();const n=Object.keys(t);let i,r=n.length;for(;r-- >0;)if(i=n[r],e===i.toLowerCase())return i;return null}const Qf="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,tg=t=>!Vf(t)&&t!==Qf;const eg=(ng="undefined"!=typeof Uint8Array&&Ef(Uint8Array),t=>ng&&t instanceof ng);var ng;const ig=Nf("HTMLFormElement"),rg=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),og=Nf("RegExp"),ag=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),i={};$f(n,((n,r)=>{!1!==e(n,r,t)&&(i[r]=n)})),Object.defineProperties(t,i)},sg="abcdefghijklmnopqrstuvwxyz",lg="0123456789",ug={DIGIT:lg,ALPHA:sg,ALPHA_DIGIT:sg+sg.toUpperCase()+lg};const cg=Nf("AsyncFunction"),hg={isArray:zf,isArrayBuffer:Ff,isBuffer:function(t){return null!==t&&!Vf(t)&&null!==t.constructor&&!Vf(t.constructor)&&Hf(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:t=>{let e;return t&&("function"==typeof FormData&&t instanceof FormData||Hf(t.append)&&("formdata"===(e=Rf(t))||"object"===e&&Hf(t.toString)&&"[object FormData]"===t.toString()))},isArrayBufferView:function(t){let e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&Ff(t.buffer),e},isString:Gf,isNumber:Wf,isBoolean:t=>!0===t||!1===t,isObject:Uf,isPlainObject:jf,isUndefined:Vf,isDate:Yf,isFile:Xf,isBlob:qf,isRegExp:og,isFunction:Hf,isStream:t=>Uf(t)&&Hf(t.pipe),isURLSearchParams:Kf,isTypedArray:eg,isFileList:Zf,forEach:$f,merge:function t(){const{caseless:e}=tg(this)&&this||{},n={},i=(i,r)=>{const o=e&&Jf(n,r)||r;jf(n[o])&&jf(i)?n[o]=t(n[o],i):jf(i)?n[o]=t({},i):zf(i)?n[o]=i.slice():n[o]=i};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&$f(arguments[r],i);return n},extend:(t,e,n,{allOwnKeys:i}={})=>($f(e,((e,i)=>{n&&Hf(e)?t[i]=Pf(e,n):t[i]=e}),{allOwnKeys:i}),t),trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,e,n,i)=>{t.prototype=Object.create(e.prototype,i),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},toFlatObject:(t,e,n,i)=>{let r,o,a;const s={};if(e=e||{},null==t)return e;do{for(r=Object.getOwnPropertyNames(t),o=r.length;o-- >0;)a=r[o],i&&!i(a,t,e)||s[a]||(e[a]=t[a],s[a]=!0);t=!1!==n&&Ef(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},kindOf:Rf,kindOfTest:Nf,endsWith:(t,e,n)=>{t=String(t),(void 0===n||n>t.length)&&(n=t.length),n-=e.length;const i=t.indexOf(e,n);return-1!==i&&i===n},toArray:t=>{if(!t)return null;if(zf(t))return t;let e=t.length;if(!Wf(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},forEachEntry:(t,e)=>{const n=(t&&t[Symbol.iterator]).call(t);let i;for(;(i=n.next())&&!i.done;){const n=i.value;e.call(t,n[0],n[1])}},matchAll:(t,e)=>{let n;const i=[];for(;null!==(n=t.exec(e));)i.push(n);return i},isHTMLForm:ig,hasOwnProperty:rg,hasOwnProp:rg,reduceDescriptors:ag,freezeMethods:t=>{ag(t,((e,n)=>{if(Hf(t)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const i=t[n];Hf(i)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(t,e)=>{const n={},i=t=>{t.forEach((t=>{n[t]=!0}))};return zf(t)?i(t):i(String(t).split(e)),n},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(t,e,n){return e.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(t,e)=>(t=+t,Number.isFinite(t)?t:e),findKey:Jf,global:Qf,isContextDefined:tg,ALPHABET:ug,generateString:(t=16,e=ug.ALPHA_DIGIT)=>{let n="";const{length:i}=e;for(;t--;)n+=e[Math.random()*i|0];return n},isSpecCompliantForm:function(t){return!!(t&&Hf(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])},toJSONObject:t=>{const e=new Array(10),n=(t,i)=>{if(Uf(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[i]=t;const r=zf(t)?[]:{};return $f(t,((t,e)=>{const o=n(t,i+1);!Vf(o)&&(r[e]=o)})),e[i]=void 0,r}}return t};return n(t,0)},isAsyncFn:cg,isThenable:t=>t&&(Uf(t)||Hf(t))&&Hf(t.then)&&Hf(t.catch)};function dg(t,e,n,i,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),i&&(this.request=i),r&&(this.response=r)}hg.inherits(dg,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:hg.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const pg=dg.prototype,fg={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((t=>{fg[t]={value:t}})),Object.defineProperties(dg,fg),Object.defineProperty(pg,"isAxiosError",{value:!0}),dg.from=(t,e,n,i,r,o)=>{const a=Object.create(pg);return hg.toFlatObject(t,a,(function(t){return t!==Error.prototype}),(t=>"isAxiosError"!==t)),dg.call(a,t.message,e,n,i,r),a.cause=t,a.name=t.name,o&&Object.assign(a,o),a};function gg(t){return hg.isPlainObject(t)||hg.isArray(t)}function vg(t){return hg.endsWith(t,"[]")?t.slice(0,-2):t}function mg(t,e,n){return t?t.concat(e).map((function(t,e){return t=vg(t),!n&&e?"["+t+"]":t})).join(n?".":""):e}const yg=hg.toFlatObject(hg,{},null,(function(t){return/^is[A-Z]/.test(t)}));function _g(t,e,n){if(!hg.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;const i=(n=hg.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,e){return!hg.isUndefined(e[t])}))).metaTokens,r=n.visitor||u,o=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&hg.isSpecCompliantForm(e);if(!hg.isFunction(r))throw new TypeError("visitor must be a function");function l(t){if(null===t)return"";if(hg.isDate(t))return t.toISOString();if(!s&&hg.isBlob(t))throw new dg("Blob is not supported. Use a Buffer instead.");return hg.isArrayBuffer(t)||hg.isTypedArray(t)?s&&"function"==typeof Blob?new Blob([t]):Buffer.from(t):t}function u(t,n,r){let s=t;if(t&&!r&&"object"==typeof t)if(hg.endsWith(n,"{}"))n=i?n:n.slice(0,-2),t=JSON.stringify(t);else if(hg.isArray(t)&&function(t){return hg.isArray(t)&&!t.some(gg)}(t)||(hg.isFileList(t)||hg.endsWith(n,"[]"))&&(s=hg.toArray(t)))return n=vg(n),s.forEach((function(t,i){!hg.isUndefined(t)&&null!==t&&e.append(!0===a?mg([n],i,o):null===a?n:n+"[]",l(t))})),!1;return!!gg(t)||(e.append(mg(r,n,o),l(t)),!1)}const c=[],h=Object.assign(yg,{defaultVisitor:u,convertValue:l,isVisitable:gg});if(!hg.isObject(t))throw new TypeError("data must be an object");return function t(n,i){if(!hg.isUndefined(n)){if(-1!==c.indexOf(n))throw Error("Circular reference detected in "+i.join("."));c.push(n),hg.forEach(n,(function(n,o){!0===(!(hg.isUndefined(n)||null===n)&&r.call(e,n,hg.isString(o)?o.trim():o,i,h))&&t(n,i?i.concat(o):[o])})),c.pop()}}(t),e}function xg(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}function bg(t,e){this._pairs=[],t&&_g(t,this,e)}const wg=bg.prototype;function Sg(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Mg(t,e,n){if(!e)return t;const i=n&&n.encode||Sg,r=n&&n.serialize;let o;if(o=r?r(e,n):hg.isURLSearchParams(e)?e.toString():new bg(e,n).toString(i),o){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}wg.append=function(t,e){this._pairs.push([t,e])},wg.toString=function(t){const e=t?function(e){return t.call(this,e,xg)}:xg;return this._pairs.map((function(t){return e(t[0])+"="+e(t[1])}),"").join("&")};const Ig=class{constructor(){this.handlers=[]}use(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){hg.forEach(this.handlers,(function(e){null!==e&&t(e)}))}},Ag={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Cg={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:bg,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},isStandardBrowserEnv:(()=>{let t;return("undefined"==typeof navigator||"ReactNative"!==(t=navigator.product)&&"NativeScript"!==t&&"NS"!==t)&&("undefined"!=typeof window&&"undefined"!=typeof document)})(),isStandardBrowserWebWorkerEnv:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,protocols:["http","https","file","blob","url","data"]};function Tg(t){function e(t,n,i,r){let o=t[r++];const a=Number.isFinite(+o),s=r>=t.length;if(o=!o&&hg.isArray(i)?i.length:o,s)return hg.hasOwnProp(i,o)?i[o]=[i[o],n]:i[o]=n,!a;i[o]&&hg.isObject(i[o])||(i[o]=[]);return e(t,n,i[o],r)&&hg.isArray(i[o])&&(i[o]=function(t){const e={},n=Object.keys(t);let i;const r=n.length;let o;for(i=0;i<r;i++)o=n[i],e[o]=t[o];return e}(i[o])),!a}if(hg.isFormData(t)&&hg.isFunction(t.entries)){const n={};return hg.forEachEntry(t,((t,i)=>{e(function(t){return hg.matchAll(/\w+|\[(\w*)]/g,t).map((t=>"[]"===t[0]?"":t[1]||t[0]))}(t),i,n,0)})),n}return null}const Dg={"Content-Type":void 0};const kg={transitional:Ag,adapter:["xhr","http"],transformRequest:[function(t,e){const n=e.getContentType()||"",i=n.indexOf("application/json")>-1,r=hg.isObject(t);r&&hg.isHTMLForm(t)&&(t=new FormData(t));if(hg.isFormData(t))return i&&i?JSON.stringify(Tg(t)):t;if(hg.isArrayBuffer(t)||hg.isBuffer(t)||hg.isStream(t)||hg.isFile(t)||hg.isBlob(t))return t;if(hg.isArrayBufferView(t))return t.buffer;if(hg.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let o;if(r){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(t,e){return _g(t,new Cg.classes.URLSearchParams,Object.assign({visitor:function(t,e,n,i){return Cg.isNode&&hg.isBuffer(t)?(this.append(e,t.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},e))}(t,this.formSerializer).toString();if((o=hg.isFileList(t))||n.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return _g(o?{"files[]":t}:t,e&&new e,this.formSerializer)}}return r||i?(e.setContentType("application/json",!1),function(t,e,n){if(hg.isString(t))try{return(e||JSON.parse)(t),hg.trim(t)}catch(i){if("SyntaxError"!==i.name)throw i}return(n||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){const e=this.transitional||kg.transitional,n=e&&e.forcedJSONParsing,i="json"===this.responseType;if(t&&hg.isString(t)&&(n&&!this.responseType||i)){const n=!(e&&e.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(r){if(n){if("SyntaxError"===r.name)throw dg.from(r,dg.ERR_BAD_RESPONSE,this,null,this.response);throw r}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Cg.classes.FormData,Blob:Cg.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};hg.forEach(["delete","get","head"],(function(t){kg.headers[t]={}})),hg.forEach(["post","put","patch"],(function(t){kg.headers[t]=hg.merge(Dg)}));const Lg=kg,Pg=hg.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Og=Symbol("internals");function Eg(t){return t&&String(t).trim().toLowerCase()}function Rg(t){return!1===t||null==t?t:hg.isArray(t)?t.map(Rg):String(t)}function Ng(t,e,n,i,r){return hg.isFunction(i)?i.call(this,e,n):(r&&(e=n),hg.isString(e)?hg.isString(i)?-1!==e.indexOf(i):hg.isRegExp(i)?i.test(e):void 0:void 0)}class Bg{constructor(t){t&&this.set(t)}set(t,e,n){const i=this;function r(t,e,n){const r=Eg(e);if(!r)throw new Error("header name must be a non-empty string");const o=hg.findKey(i,r);(!o||void 0===i[o]||!0===n||void 0===n&&!1!==i[o])&&(i[o||e]=Rg(t))}const o=(t,e)=>hg.forEach(t,((t,n)=>r(t,n,e)));return hg.isPlainObject(t)||t instanceof this.constructor?o(t,e):hg.isString(t)&&(t=t.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim())?o((t=>{const e={};let n,i,r;return t&&t.split("\n").forEach((function(t){r=t.indexOf(":"),n=t.substring(0,r).trim().toLowerCase(),i=t.substring(r+1).trim(),!n||e[n]&&Pg[n]||("set-cookie"===n?e[n]?e[n].push(i):e[n]=[i]:e[n]=e[n]?e[n]+", "+i:i)})),e})(t),e):null!=t&&r(e,t,n),this}get(t,e){if(t=Eg(t)){const n=hg.findKey(this,t);if(n){const t=this[n];if(!e)return t;if(!0===e)return function(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=n.exec(t);)e[i[1]]=i[2];return e}(t);if(hg.isFunction(e))return e.call(this,t,n);if(hg.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=Eg(t)){const n=hg.findKey(this,t);return!(!n||void 0===this[n]||e&&!Ng(0,this[n],n,e))}return!1}delete(t,e){const n=this;let i=!1;function r(t){if(t=Eg(t)){const r=hg.findKey(n,t);!r||e&&!Ng(0,n[r],r,e)||(delete n[r],i=!0)}}return hg.isArray(t)?t.forEach(r):r(t),i}clear(t){const e=Object.keys(this);let n=e.length,i=!1;for(;n--;){const r=e[n];t&&!Ng(0,this[r],r,t,!0)||(delete this[r],i=!0)}return i}normalize(t){const e=this,n={};return hg.forEach(this,((i,r)=>{const o=hg.findKey(n,r);if(o)return e[o]=Rg(i),void delete e[r];const a=t?function(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((t,e,n)=>e.toUpperCase()+n))}(r):String(r).trim();a!==r&&delete e[r],e[a]=Rg(i),n[a]=!0})),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const e=Object.create(null);return hg.forEach(this,((n,i)=>{null!=n&&!1!==n&&(e[i]=t&&hg.isArray(n)?n.join(", "):n)})),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([t,e])=>t+": "+e)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){const n=new this(t);return e.forEach((t=>n.set(t))),n}static accessor(t){const e=(this[Og]=this[Og]={accessors:{}}).accessors,n=this.prototype;function i(t){const i=Eg(t);e[i]||(!function(t,e){const n=hg.toCamelCase(" "+e);["get","set","has"].forEach((i=>{Object.defineProperty(t,i+n,{value:function(t,n,r){return this[i].call(this,e,t,n,r)},configurable:!0})}))}(n,t),e[i]=!0)}return hg.isArray(t)?t.forEach(i):i(t),this}}Bg.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),hg.freezeMethods(Bg.prototype),hg.freezeMethods(Bg);const zg=Bg;function Vg(t,e){const n=this||Lg,i=e||n,r=zg.from(i.headers);let o=i.data;return hg.forEach(t,(function(t){o=t.call(n,o,r.normalize(),e?e.status:void 0)})),r.normalize(),o}function Fg(t){return!(!t||!t.__CANCEL__)}function Gg(t,e,n){dg.call(this,null==t?"canceled":t,dg.ERR_CANCELED,e,n),this.name="CanceledError"}hg.inherits(Gg,dg,{__CANCEL__:!0});const Hg=Cg.isStandardBrowserEnv?{write:function(t,e,n,i,r,o){const a=[];a.push(t+"="+encodeURIComponent(e)),hg.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),hg.isString(i)&&a.push("path="+i),hg.isString(r)&&a.push("domain="+r),!0===o&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function Wg(t,e){return t&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)?function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}(t,e):e}const Ug=Cg.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),e=document.createElement("a");let n;function i(n){let i=n;return t&&(e.setAttribute("href",i),i=e.href),e.setAttribute("href",i),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:"/"===e.pathname.charAt(0)?e.pathname:"/"+e.pathname}}return n=i(window.location.href),function(t){const e=hg.isString(t)?i(t):t;return e.protocol===n.protocol&&e.host===n.host}}():function(){return!0};function jg(t,e){let n=0;const i=function(t,e){t=t||10;const n=new Array(t),i=new Array(t);let r,o=0,a=0;return e=void 0!==e?e:1e3,function(s){const l=Date.now(),u=i[a];r||(r=l),n[o]=s,i[o]=l;let c=a,h=0;for(;c!==o;)h+=n[c++],c%=t;if(o=(o+1)%t,o===a&&(a=(a+1)%t),l-r<e)return;const d=u&&l-u;return d?Math.round(1e3*h/d):void 0}}(50,250);return r=>{const o=r.loaded,a=r.lengthComputable?r.total:void 0,s=o-n,l=i(s);n=o;const u={loaded:o,total:a,progress:a?o/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&o<=a?(a-o)/l:void 0,event:r};u[e?"download":"upload"]=!0,t(u)}}const Yg={http:null,xhr:"undefined"!=typeof XMLHttpRequest&&function(t){return new Promise((function(e,n){let i=t.data;const r=zg.from(t.headers).normalize(),o=t.responseType;let a;function s(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a)}hg.isFormData(i)&&(Cg.isStandardBrowserEnv||Cg.isStandardBrowserWebWorkerEnv?r.setContentType(!1):r.setContentType("multipart/form-data;",!1));let l=new XMLHttpRequest;if(t.auth){const e=t.auth.username||"",n=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";r.set("Authorization","Basic "+btoa(e+":"+n))}const u=Wg(t.baseURL,t.url);function c(){if(!l)return;const i=zg.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders());!function(t,e,n){const i=n.config.validateStatus;n.status&&i&&!i(n.status)?e(new dg("Request failed with status code "+n.status,[dg.ERR_BAD_REQUEST,dg.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):t(n)}((function(t){e(t),s()}),(function(t){n(t),s()}),{data:o&&"text"!==o&&"json"!==o?l.response:l.responseText,status:l.status,statusText:l.statusText,headers:i,config:t,request:l}),l=null}if(l.open(t.method.toUpperCase(),Mg(u,t.params,t.paramsSerializer),!0),l.timeout=t.timeout,"onloadend"in l?l.onloadend=c:l.onreadystatechange=function(){l&&4===l.readyState&&(0!==l.status||l.responseURL&&0===l.responseURL.indexOf("file:"))&&setTimeout(c)},l.onabort=function(){l&&(n(new dg("Request aborted",dg.ECONNABORTED,t,l)),l=null)},l.onerror=function(){n(new dg("Network Error",dg.ERR_NETWORK,t,l)),l=null},l.ontimeout=function(){let e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const i=t.transitional||Ag;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(new dg(e,i.clarifyTimeoutError?dg.ETIMEDOUT:dg.ECONNABORTED,t,l)),l=null},Cg.isStandardBrowserEnv){const e=(t.withCredentials||Ug(u))&&t.xsrfCookieName&&Hg.read(t.xsrfCookieName);e&&r.set(t.xsrfHeaderName,e)}void 0===i&&r.setContentType(null),"setRequestHeader"in l&&hg.forEach(r.toJSON(),(function(t,e){l.setRequestHeader(e,t)})),hg.isUndefined(t.withCredentials)||(l.withCredentials=!!t.withCredentials),o&&"json"!==o&&(l.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&l.addEventListener("progress",jg(t.onDownloadProgress,!0)),"function"==typeof t.onUploadProgress&&l.upload&&l.upload.addEventListener("progress",jg(t.onUploadProgress)),(t.cancelToken||t.signal)&&(a=e=>{l&&(n(!e||e.type?new Gg(null,t,l):e),l.abort(),l=null)},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a)));const h=function(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(u);h&&-1===Cg.protocols.indexOf(h)?n(new dg("Unsupported protocol "+h+":",dg.ERR_BAD_REQUEST,t)):l.send(i||null)}))}};hg.forEach(Yg,((t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(n){}Object.defineProperty(t,"adapterName",{value:e})}}));const Xg=t=>{t=hg.isArray(t)?t:[t];const{length:e}=t;let n,i;for(let r=0;r<e&&(n=t[r],!(i=hg.isString(n)?Yg[n.toLowerCase()]:n));r++);if(!i){if(!1===i)throw new dg(`Adapter ${n} is not supported by the environment`,"ERR_NOT_SUPPORT");throw new Error(hg.hasOwnProp(Yg,n)?`Adapter '${n}' is not available in the build`:`Unknown adapter '${n}'`)}if(!hg.isFunction(i))throw new TypeError("adapter is not a function");return i};function qg(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Gg(null,t)}function Zg(t){qg(t),t.headers=zg.from(t.headers),t.data=Vg.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);return Xg(t.adapter||Lg.adapter)(t).then((function(e){return qg(t),e.data=Vg.call(t,t.transformResponse,e),e.headers=zg.from(e.headers),e}),(function(e){return Fg(e)||(qg(t),e&&e.response&&(e.response.data=Vg.call(t,t.transformResponse,e.response),e.response.headers=zg.from(e.response.headers))),Promise.reject(e)}))}const Kg=t=>t instanceof zg?t.toJSON():t;function $g(t,e){e=e||{};const n={};function i(t,e,n){return hg.isPlainObject(t)&&hg.isPlainObject(e)?hg.merge.call({caseless:n},t,e):hg.isPlainObject(e)?hg.merge({},e):hg.isArray(e)?e.slice():e}function r(t,e,n){return hg.isUndefined(e)?hg.isUndefined(t)?void 0:i(void 0,t,n):i(t,e,n)}function o(t,e){if(!hg.isUndefined(e))return i(void 0,e)}function a(t,e){return hg.isUndefined(e)?hg.isUndefined(t)?void 0:i(void 0,t):i(void 0,e)}function s(n,r,o){return o in e?i(n,r):o in t?i(void 0,n):void 0}const l={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(t,e)=>r(Kg(t),Kg(e),!0)};return hg.forEach(Object.keys(Object.assign({},t,e)),(function(i){const o=l[i]||r,a=o(t[i],e[i],i);hg.isUndefined(a)&&o!==s||(n[i]=a)})),n}const Jg="1.4.0",Qg={};["object","boolean","number","function","string","symbol"].forEach(((t,e)=>{Qg[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));const tv={};Qg.transitional=function(t,e,n){function i(t,e){return"[Axios v1.4.0] Transitional option '"+t+"'"+e+(n?". "+n:"")}return(n,r,o)=>{if(!1===t)throw new dg(i(r," has been removed"+(e?" in "+e:"")),dg.ERR_DEPRECATED);return e&&!tv[r]&&(tv[r]=!0,console.warn(i(r," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,r,o)}};const ev={assertOptions:function(t,e,n){if("object"!=typeof t)throw new dg("options must be an object",dg.ERR_BAD_OPTION_VALUE);const i=Object.keys(t);let r=i.length;for(;r-- >0;){const o=i[r],a=e[o];if(a){const e=t[o],n=void 0===e||a(e,o,t);if(!0!==n)throw new dg("option "+o+" must be "+n,dg.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new dg("Unknown option "+o,dg.ERR_BAD_OPTION)}},validators:Qg},nv=ev.validators;class iv{constructor(t){this.defaults=t,this.interceptors={request:new Ig,response:new Ig}}request(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},e=$g(this.defaults,e);const{transitional:n,paramsSerializer:i,headers:r}=e;let o;void 0!==n&&ev.assertOptions(n,{silentJSONParsing:nv.transitional(nv.boolean),forcedJSONParsing:nv.transitional(nv.boolean),clarifyTimeoutError:nv.transitional(nv.boolean)},!1),null!=i&&(hg.isFunction(i)?e.paramsSerializer={serialize:i}:ev.assertOptions(i,{encode:nv.function,serialize:nv.function},!0)),e.method=(e.method||this.defaults.method||"get").toLowerCase(),o=r&&hg.merge(r.common,r[e.method]),o&&hg.forEach(["delete","get","head","post","put","patch","common"],(t=>{delete r[t]})),e.headers=zg.concat(o,r);const a=[];let s=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(s=s&&t.synchronous,a.unshift(t.fulfilled,t.rejected))}));const l=[];let u;this.interceptors.response.forEach((function(t){l.push(t.fulfilled,t.rejected)}));let c,h=0;if(!s){const t=[Zg.bind(this),void 0];for(t.unshift.apply(t,a),t.push.apply(t,l),c=t.length,u=Promise.resolve(e);h<c;)u=u.then(t[h++],t[h++]);return u}c=a.length;let d=e;for(h=0;h<c;){const t=a[h++],e=a[h++];try{d=t(d)}catch(p){e.call(this,p);break}}try{u=Zg.call(this,d)}catch(p){return Promise.reject(p)}for(h=0,c=l.length;h<c;)u=u.then(l[h++],l[h++]);return u}getUri(t){return Mg(Wg((t=$g(this.defaults,t)).baseURL,t.url),t.params,t.paramsSerializer)}}hg.forEach(["delete","get","head","options"],(function(t){iv.prototype[t]=function(e,n){return this.request($g(n||{},{method:t,url:e,data:(n||{}).data}))}})),hg.forEach(["post","put","patch"],(function(t){function e(e){return function(n,i,r){return this.request($g(r||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:n,data:i}))}}iv.prototype[t]=e(),iv.prototype[t+"Form"]=e(!0)}));const rv=iv;class ov{constructor(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");let e;this.promise=new Promise((function(t){e=t}));const n=this;this.promise.then((t=>{if(!n._listeners)return;let e=n._listeners.length;for(;e-- >0;)n._listeners[e](t);n._listeners=null})),this.promise.then=t=>{let e;const i=new Promise((t=>{n.subscribe(t),e=t})).then(t);return i.cancel=function(){n.unsubscribe(e)},i},t((function(t,i,r){n.reason||(n.reason=new Gg(t,i,r),e(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}static source(){let t;return{token:new ov((function(e){t=e})),cancel:t}}}const av=ov;const sv={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(sv).forEach((([t,e])=>{sv[e]=t}));const lv=sv;const uv=function t(e){const n=new rv(e),i=Pf(rv.prototype.request,n);return hg.extend(i,rv.prototype,n,{allOwnKeys:!0}),hg.extend(i,n,null,{allOwnKeys:!0}),i.create=function(n){return t($g(e,n))},i}(Lg);uv.Axios=rv,uv.CanceledError=Gg,uv.CancelToken=av,uv.isCancel=Fg,uv.VERSION=Jg,uv.toFormData=_g,uv.AxiosError=dg,uv.Cancel=uv.CanceledError,uv.all=function(t){return Promise.all(t)},uv.spread=function(t){return function(e){return t.apply(null,e)}},uv.isAxiosError=function(t){return hg.isObject(t)&&!0===t.isAxiosError},uv.mergeConfig=$g,uv.AxiosHeaders=zg,uv.formToJSON=t=>Tg(hg.isHTMLForm(t)?new FormData(t):t),uv.HttpStatusCode=lv,uv.default=uv;const cv=uv.create({baseURL:"/doumeeplant",headers:{"Content-Type":"application/json"},timeout:6e4});function hv(t,e,n){return cv.get(`statistics/userProduceTop/${t}/${e}`,{params:n})}function dv(t,e){return cv.get(`statistics/getWorkPlansList/${t}/${e}`)}function pv(t,e,n){return cv.post(`statistics/getRecordLogPage/${t}/${e}`,n)}function fv(t,e,n){return cv.get(`statistics/getUnqualified7DayData/${t}/${e}?procedureId=${n}`)}function gv(t,e,n){return cv.get(`statistics/getUnqualifiedCateData/${t}/${e}?procedureId=${n}`)}cv.interceptors.request.use((t=>t),(function(t){return Promise.reject(t)})),cv.interceptors.response.use((t=>(200!==t.data.code&&Tf({message:t.data.message,type:"warning"}),t.data.data)),(function(t){return Promise.reject(t)}));const vv=function(t,e,n){let i,r;const o="function"==typeof e;function a(t,n){(t=t||(!!(Fr||on||Ei)?Ni(Yo,null):null))&&jo(t),(t=Uo)._s.has(i)||(o?ia(i,e,r,t):function(t,e,n,i){const{state:r,actions:o,getters:a}=e,s=n.state.value[t];let l;l=ia(t,(function(){s||(n.state.value[t]=r?r():{});const e=De(n.state.value[t]);return na(e,o,Object.keys(a||{}).reduce(((e,i)=>(e[i]=ve(eo((()=>{jo(n);const e=n._s.get(t);return a[i].call(e,e)}))),e)),{}))}),e,n,0,!0)}(i,r,t));return t._s.get(i)}return"string"==typeof t?(i=t,r=o?n:e):(r=t,i=t.id),a.$id=i,a}("enterprise",{state:()=>({companyId:"8",departId:"178",delayNum:0,deviceNum:0,ingNum:0,prouserNum:0,unqualifiedRate:0,procedureName:""}),actions:{setCompanyId(t){this.companyId=t,window.sessionStorage.setItem("companyId",t)},setDepartId(t){this.departId=t,window.sessionStorage.setItem("departId",t)},setNum(t){this.delayNum=t.delayNum,this.deviceNum=t.deviceNum,this.ingNum=t.ingNum,this.prouserNum=t.prouserNum,this.unqualifiedRate=t.unqualifiedRate},setProcedureName(t){this.procedureName=t}}}),mv="undefined"!=typeof window; |
| | | /*! |
| | | * vue-router v4.2.4 |
| | | * (c) 2023 Eduardo San Martin Morote |
| | | * @license MIT |
| | | */const yv=Object.assign;function _v(t,e){const n={};for(const i in e){const r=e[i];n[i]=bv(r)?r.map(t):t(r)}return n}const xv=()=>{},bv=Array.isArray,wv=/\/$/,Sv=t=>t.replace(wv,"");function Mv(t,e,n="/"){let i,r={},o="",a="";const s=e.indexOf("#");let l=e.indexOf("?");return s<l&&s>=0&&(l=-1),l>-1&&(i=e.slice(0,l),o=e.slice(l+1,s>-1?s:e.length),r=t(o)),s>-1&&(i=i||e.slice(0,s),a=e.slice(s,e.length)),i=function(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),i=t.split("/"),r=i[i.length-1];".."!==r&&"."!==r||i.push("");let o,a,s=n.length-1;for(o=0;o<i.length;o++)if(a=i[o],"."!==a){if(".."!==a)break;s>1&&s--}return n.slice(0,s).join("/")+"/"+i.slice(o-(o===i.length?1:0)).join("/")}(null!=i?i:e,n),{fullPath:i+(o&&"?")+o+a,path:i,query:r,hash:a}}function Iv(t,e){return e&&t.toLowerCase().startsWith(e.toLowerCase())?t.slice(e.length)||"/":t}function Av(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function Cv(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!Tv(t[n],e[n]))return!1;return!0}function Tv(t,e){return bv(t)?Dv(t,e):bv(e)?Dv(e,t):t===e}function Dv(t,e){return bv(e)?t.length===e.length&&t.every(((t,n)=>t===e[n])):1===t.length&&t[0]===e}var kv,Lv,Pv,Ov;(Lv=kv||(kv={})).pop="pop",Lv.push="push",(Ov=Pv||(Pv={})).back="back",Ov.forward="forward",Ov.unknown="";const Ev=/^[^#]+#/;function Rv(t,e){return t.replace(Ev,"#")+e}const Nv=()=>({left:window.pageXOffset,top:window.pageYOffset});function Bv(t){let e;if("el"in t){const n=t.el,i="string"==typeof n&&n.startsWith("#"),r="string"==typeof n?i?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;e=function(t,e){const n=document.documentElement.getBoundingClientRect(),i=t.getBoundingClientRect();return{behavior:e.behavior,left:i.left-n.left-(e.left||0),top:i.top-n.top-(e.top||0)}}(r,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(null!=e.left?e.left:window.pageXOffset,null!=e.top?e.top:window.pageYOffset)}function zv(t,e){return(history.state?history.state.position-e:-1)+t}const Vv=new Map;let Fv=()=>location.protocol+"//"+location.host;function Gv(t,e){const{pathname:n,search:i,hash:r}=e,o=t.indexOf("#");if(o>-1){let e=r.includes(t.slice(o))?t.slice(o).length:1,n=r.slice(e);return"/"!==n[0]&&(n="/"+n),Iv(n,"")}return Iv(n,t)+i+r}function Hv(t,e,n,i=!1,r=!1){return{back:t,current:e,forward:n,replaced:i,position:window.history.length,scroll:r?Nv():null}}function Wv(t){return"string"==typeof t||"symbol"==typeof t}const Uv={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},jv=Symbol("");var Yv,Xv;function qv(t,e){return yv(new Error,{type:t,[jv]:!0},e)}function Zv(t,e){return t instanceof Error&&jv in t&&(null==e||!!(t.type&e))}(Xv=Yv||(Yv={}))[Xv.aborted=4]="aborted",Xv[Xv.cancelled=8]="cancelled",Xv[Xv.duplicated=16]="duplicated";const Kv="[^/]+?",$v={sensitive:!1,strict:!1,start:!0,end:!0},Jv=/[.+*?^${}()[\]/\\]/g;function Qv(t,e){let n=0;for(;n<t.length&&n<e.length;){const i=e[n]-t[n];if(i)return i;n++}return t.length<e.length?1===t.length&&80===t[0]?-1:1:t.length>e.length?1===e.length&&80===e[0]?1:-1:0}function tm(t,e){let n=0;const i=t.score,r=e.score;for(;n<i.length&&n<r.length;){const t=Qv(i[n],r[n]);if(t)return t;n++}if(1===Math.abs(r.length-i.length)){if(em(i))return 1;if(em(r))return-1}return r.length-i.length}function em(t){const e=t[t.length-1];return t.length>0&&e[e.length-1]<0}const nm={type:0,value:""},im=/[a-zA-Z0-9_]/;function rm(t,e,n){const i=function(t,e){const n=yv({},$v,e),i=[];let r=n.start?"^":"";const o=[];for(const l of t){const t=l.length?[]:[90];n.strict&&!l.length&&(r+="/");for(let e=0;e<l.length;e++){const i=l[e];let a=40+(n.sensitive?.25:0);if(0===i.type)e||(r+="/"),r+=i.value.replace(Jv,"\\$&"),a+=40;else if(1===i.type){const{value:t,repeatable:n,optional:u,regexp:c}=i;o.push({name:t,repeatable:n,optional:u});const h=c||Kv;if(h!==Kv){a+=10;try{new RegExp(`(${h})`)}catch(s){throw new Error(`Invalid custom RegExp for param "${t}" (${h}): `+s.message)}}let d=n?`((?:${h})(?:/(?:${h}))*)`:`(${h})`;e||(d=u&&l.length<2?`(?:/${d})`:"/"+d),u&&(d+="?"),r+=d,a+=20,u&&(a+=-8),n&&(a+=-20),".*"===h&&(a+=-50)}t.push(a)}i.push(t)}if(n.strict&&n.end){const t=i.length-1;i[t][i[t].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&(r+="(?:/|$)");const a=new RegExp(r,n.sensitive?"":"i");return{re:a,score:i,keys:o,parse:function(t){const e=t.match(a),n={};if(!e)return null;for(let i=1;i<e.length;i++){const t=e[i]||"",r=o[i-1];n[r.name]=t&&r.repeatable?t.split("/"):t}return n},stringify:function(e){let n="",i=!1;for(const r of t){i&&n.endsWith("/")||(n+="/"),i=!1;for(const t of r)if(0===t.type)n+=t.value;else if(1===t.type){const{value:o,repeatable:a,optional:s}=t,l=o in e?e[o]:"";if(bv(l)&&!a)throw new Error(`Provided param "${o}" is an array but it is not repeatable (* or + modifiers)`);const u=bv(l)?l.join("/"):l;if(!u){if(!s)throw new Error(`Missing required param "${o}"`);r.length<2&&(n.endsWith("/")?n=n.slice(0,-1):i=!0)}n+=u}}return n||"/"}}}(function(t){if(!t)return[[]];if("/"===t)return[[nm]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(t){throw new Error(`ERR (${n})/"${u}": ${t}`)}let n=0,i=n;const r=[];let o;function a(){o&&r.push(o),o=[]}let s,l=0,u="",c="";function h(){u&&(0===n?o.push({type:0,value:u}):1===n||2===n||3===n?(o.length>1&&("*"===s||"+"===s)&&e(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:u,regexp:c,repeatable:"*"===s||"+"===s,optional:"*"===s||"?"===s})):e("Invalid state to consume buffer"),u="")}function d(){u+=s}for(;l<t.length;)if(s=t[l++],"\\"!==s||2===n)switch(n){case 0:"/"===s?(u&&h(),a()):":"===s?(h(),n=1):d();break;case 4:d(),n=i;break;case 1:"("===s?n=2:im.test(s)?d():(h(),n=0,"*"!==s&&"?"!==s&&"+"!==s&&l--);break;case 2:")"===s?"\\"==c[c.length-1]?c=c.slice(0,-1)+s:n=3:c+=s;break;case 3:h(),n=0,"*"!==s&&"?"!==s&&"+"!==s&&l--,c="";break;default:e("Unknown state")}else i=n,n=4;return 2===n&&e(`Unfinished custom RegExp for param "${u}"`),h(),a(),r}(t.path),n),r=yv(i,{record:t,parent:e,children:[],alias:[]});return e&&!r.record.aliasOf==!e.record.aliasOf&&e.children.push(r),r}function om(t,e){const n=[],i=new Map;function r(t,n,i){const s=!i,l=function(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:sm(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}(t);l.aliasOf=i&&i.record;const u=cm(e,t),c=[l];if("alias"in t){const e="string"==typeof t.alias?[t.alias]:t.alias;for(const t of e)c.push(yv({},l,{components:i?i.record.components:l.components,path:t,aliasOf:i?i.record:l}))}let h,d;for(const e of c){const{path:c}=e;if(n&&"/"!==c[0]){const t=n.record.path,i="/"===t[t.length-1]?"":"/";e.path=n.record.path+(c&&i+c)}if(h=rm(e,n,u),i?i.alias.push(h):(d=d||h,d!==h&&d.alias.push(h),s&&t.name&&!lm(h)&&o(t.name)),l.children){const t=l.children;for(let e=0;e<t.length;e++)r(t[e],h,i&&i.children[e])}i=i||h,(h.record.components&&Object.keys(h.record.components).length||h.record.name||h.record.redirect)&&a(h)}return d?()=>{o(d)}:xv}function o(t){if(Wv(t)){const e=i.get(t);e&&(i.delete(t),n.splice(n.indexOf(e),1),e.children.forEach(o),e.alias.forEach(o))}else{const e=n.indexOf(t);e>-1&&(n.splice(e,1),t.record.name&&i.delete(t.record.name),t.children.forEach(o),t.alias.forEach(o))}}function a(t){let e=0;for(;e<n.length&&tm(t,n[e])>=0&&(t.record.path!==n[e].record.path||!hm(t,n[e]));)e++;n.splice(e,0,t),t.record.name&&!lm(t)&&i.set(t.record.name,t)}return e=cm({strict:!1,end:!0,sensitive:!1},e),t.forEach((t=>r(t))),{addRoute:r,resolve:function(t,e){let r,o,a,s={};if("name"in t&&t.name){if(r=i.get(t.name),!r)throw qv(1,{location:t});a=r.record.name,s=yv(am(e.params,r.keys.filter((t=>!t.optional)).map((t=>t.name))),t.params&&am(t.params,r.keys.map((t=>t.name)))),o=r.stringify(s)}else if("path"in t)o=t.path,r=n.find((t=>t.re.test(o))),r&&(s=r.parse(o),a=r.record.name);else{if(r=e.name?i.get(e.name):n.find((t=>t.re.test(e.path))),!r)throw qv(1,{location:t,currentLocation:e});a=r.record.name,s=yv({},e.params,t.params),o=r.stringify(s)}const l=[];let u=r;for(;u;)l.unshift(u.record),u=u.parent;return{name:a,path:o,params:s,matched:l,meta:um(l)}},removeRoute:o,getRoutes:function(){return n},getRecordMatcher:function(t){return i.get(t)}}}function am(t,e){const n={};for(const i of e)i in t&&(n[i]=t[i]);return n}function sm(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const i in t.components)e[i]="object"==typeof n?n[i]:n;return e}function lm(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function um(t){return t.reduce(((t,e)=>yv(t,e.meta)),{})}function cm(t,e){const n={};for(const i in t)n[i]=i in e?e[i]:t[i];return n}function hm(t,e){return e.children.some((e=>e===t||hm(t,e)))}const dm=/#/g,pm=/&/g,fm=/\//g,gm=/=/g,vm=/\?/g,mm=/\+/g,ym=/%5B/g,_m=/%5D/g,xm=/%5E/g,bm=/%60/g,wm=/%7B/g,Sm=/%7C/g,Mm=/%7D/g,Im=/%20/g;function Am(t){return encodeURI(""+t).replace(Sm,"|").replace(ym,"[").replace(_m,"]")}function Cm(t){return Am(t).replace(mm,"%2B").replace(Im,"+").replace(dm,"%23").replace(pm,"%26").replace(bm,"`").replace(wm,"{").replace(Mm,"}").replace(xm,"^")}function Tm(t){return null==t?"":function(t){return Am(t).replace(dm,"%23").replace(vm,"%3F")}(t).replace(fm,"%2F")}function Dm(t){try{return decodeURIComponent(""+t)}catch(e){}return""+t}function km(t){const e={};if(""===t||"?"===t)return e;const n=("?"===t[0]?t.slice(1):t).split("&");for(let i=0;i<n.length;++i){const t=n[i].replace(mm," "),r=t.indexOf("="),o=Dm(r<0?t:t.slice(0,r)),a=r<0?null:Dm(t.slice(r+1));if(o in e){let t=e[o];bv(t)||(t=e[o]=[t]),t.push(a)}else e[o]=a}return e}function Lm(t){let e="";for(let n in t){const i=t[n];if(n=Cm(n).replace(gm,"%3D"),null==i){void 0!==i&&(e+=(e.length?"&":"")+n);continue}(bv(i)?i.map((t=>t&&Cm(t))):[i&&Cm(i)]).forEach((t=>{void 0!==t&&(e+=(e.length?"&":"")+n,null!=t&&(e+="="+t))}))}return e}function Pm(t){const e={};for(const n in t){const i=t[n];void 0!==i&&(e[n]=bv(i)?i.map((t=>null==t?null:""+t)):null==i?i:""+i)}return e}const Om=Symbol(""),Em=Symbol(""),Rm=Symbol(""),Nm=Symbol(""),Bm=Symbol("");function zm(){let t=[];return{add:function(e){return t.push(e),()=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)}},list:()=>t.slice(),reset:function(){t=[]}}}function Vm(t,e,n,i,r){const o=i&&(i.enterCallbacks[r]=i.enterCallbacks[r]||[]);return()=>new Promise(((a,s)=>{const l=t=>{var l;!1===t?s(qv(4,{from:n,to:e})):t instanceof Error?s(t):"string"==typeof(l=t)||l&&"object"==typeof l?s(qv(2,{from:e,to:t})):(o&&i.enterCallbacks[r]===o&&"function"==typeof t&&o.push(t),a())},u=t.call(i&&i.instances[r],e,n,l);let c=Promise.resolve(u);t.length<3&&(c=c.then(l)),c.catch((t=>s(t)))}))}function Fm(t,e,n,i){const r=[];for(const a of t)for(const t in a.components){let s=a.components[t];if("beforeRouteEnter"===e||a.instances[t])if("object"==typeof(o=s)||"displayName"in o||"props"in o||"__vccOpts"in o){const o=(s.__vccOpts||s)[e];o&&r.push(Vm(o,n,i,a,t))}else{let o=s();r.push((()=>o.then((r=>{if(!r)return Promise.reject(new Error(`Couldn't resolve component "${t}" at "${a.path}"`));const o=(s=r).__esModule||"Module"===s[Symbol.toStringTag]?r.default:r;var s;a.components[t]=o;const l=(o.__vccOpts||o)[e];return l&&Vm(l,n,i,a,t)()}))))}}var o;return r}function Gm(t){const e=Ni(Rm),n=Ni(Nm),i=eo((()=>e.resolve(Ae(t.to)))),r=eo((()=>{const{matched:t}=i.value,{length:e}=t,r=t[e-1],o=n.matched;if(!r||!o.length)return-1;const a=o.findIndex(Av.bind(null,r));if(a>-1)return a;const s=Wm(t[e-2]);return e>1&&Wm(r)===s&&o[o.length-1].path!==s?o.findIndex(Av.bind(null,t[e-2])):a})),o=eo((()=>r.value>-1&&function(t,e){for(const n in e){const i=e[n],r=t[n];if("string"==typeof i){if(i!==r)return!1}else if(!bv(r)||r.length!==i.length||i.some(((t,e)=>t!==r[e])))return!1}return!0}(n.params,i.value.params))),a=eo((()=>r.value>-1&&r.value===n.matched.length-1&&Cv(n.params,i.value.params)));return{route:i,href:eo((()=>i.value.href)),isActive:o,isExactActive:a,navigate:function(n={}){return function(t){if(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)return;if(t.defaultPrevented)return;if(void 0!==t.button&&0!==t.button)return;if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}t.preventDefault&&t.preventDefault();return!0}(n)?e[Ae(t.replace)?"replace":"push"](Ae(t.to)).catch(xv):Promise.resolve()}}}const Hm=On({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Gm,setup(t,{slots:e}){const n=se(Gm(t)),{options:i}=Ni(Rm),r=eo((()=>({[Um(t.activeClass,i.linkActiveClass,"router-link-active")]:n.isActive,[Um(t.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const i=e.default&&e.default(n);return t.custom?i:no("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}});function Wm(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const Um=(t,e,n)=>null!=t?t:null!=e?e:n,jm=On({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const i=Ni(Bm),r=eo((()=>t.route||i.value)),o=Ni(Em,0),a=eo((()=>{let t=Ae(o);const{matched:e}=r.value;let n;for(;(n=e[t])&&!n.components;)t++;return t})),s=eo((()=>r.value.matched[a.value]));Ri(Em,eo((()=>a.value+1))),Ri(Om,s),Ri(Bm,r);const l=we();return mn((()=>[l.value,s.value,t.name]),(([t,e,n],[i,r,o])=>{e&&(e.instances[n]=t,r&&r!==e&&t&&t===i&&(e.leaveGuards.size||(e.leaveGuards=r.leaveGuards),e.updateGuards.size||(e.updateGuards=r.updateGuards))),!t||!e||r&&Av(e,r)&&i||(e.enterCallbacks[n]||[]).forEach((e=>e(t)))}),{flush:"post"}),()=>{const i=r.value,o=t.name,a=s.value,u=a&&a.components[o];if(!u)return Ym(n.default,{Component:u,route:i});const c=a.props[o],h=c?!0===c?i.params:"function"==typeof c?c(i):c:null,d=no(u,yv({},h,e,{onVnodeUnmounted:t=>{t.component.isUnmounted&&(a.instances[o]=null)},ref:l}));return Ym(n.default,{Component:d,route:i})||d}}});function Ym(t,e){if(!t)return null;const n=t(e);return 1===n.length?n[0]:n}const Xm=jm;function qm(){return Ni(Rm)}function Zm(){return Ni(Nm)}const Km=(t,e)=>{const n=t.__vccOpts||t;for(const[i,r]of e)n[i]=r;return n},$m=t=>(ln("data-v-ae9e17fa"),t=t(),un(),t),Jm={class:"content"},Qm={class:"header"},ty={class:"header-item",style:{"font-size":"20px"}},ey={class:"eare-title"},ny=$m((()=>Ar("div",{class:"right-icon"},[Ar("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAYFJREFUOE+tlb9LAmEYxz/PaUubQ1upWxD0LwQGDdFQaXtrUxRFDUFIUFAURVNre5oN0ZYQ9BcEQZuaW4NbS3pPvMednnp2Snfj8+PzPN/3fZ73hKCvrPFkgwxKBmFGlAkTpsIXyjtCuZagTEaavenSa0gVdR7YBiYDi3WMdeCympVnf1wHmFcrPcumCushoC63KLeVN67Ji20cbWC6oFujwjyyA83JVRvoyrwYpbOA2B0jXyhrPNXgfogzC6tXryZYlWRRFwTOwqKH8SvsSbKgJyIs9iS0gFgIpC9GlSfTYUkg5U+2YyxZTaZVOBUY8/sUfkTZt+N8WC0ee3xVSRX0FWG8y2FxXFuRu6mCzolw7kENTJXdz5y8JEu6JjYHXSqU70AgYAscVbLy4EGdTXFh6aIuKxwCVh8wSLIb1AU1NtPZQJgpCNVBl+IVbkON4S+Yq8C5lLCxsRVu3C3Y6JPp0+yMTeSDbQpEu3puy5E+Dg4z6ufLO9voHlj/hP7jF/ALVgbAb2cF9n0AAAAASUVORK5CYII=",alt:""})],-1))),iy=$m((()=>Ar("div",{class:"title"},"DMäºå·¥å车é´å¤§å±",-1))),ry={class:"header-item right"},oy=$m((()=>Ar("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAAiCAYAAAB1GggSAAAAAXNSR0IArs4c6QAAAB1JREFUKFNjrJpwWZyBgYGBsWjSSf1RBu5AgAUUAPJzQ4vdGxPpAAAAAElFTkSuQmCC",class:"right-line",alt:""},null,-1))),ay={class:"date"},sy={class:"time"},ly={class:"day"},uy={class:"num-list"},cy=["src"],hy={class:"item-right"},dy={class:"item-title"},py={class:"num-value"},fy=Km({__name:"AppLayout",setup(t){const e=vv(),n=Zm(),i=qm(),r=[{bgImg:"bg_zhixingzhong@2x.png",name:"æ§è¡ä¸è®¡åæ°(个)",logo:"ic_zhixingzhong@2x.png"},{bgImg:"bg_yanqijihua@2x.png",name:"å»¶æè®¡åæ°(个)",logo:"ic_yanqijihua@2x.png"},{bgImg:"bg_jinrirenshu@2x.png",name:"仿¥ç产人æ°(人)",logo:"ic_jinrirenshu@2x.png"},{bgImg:"bg_jinrishebei@2x.png",name:"仿¥ç产设å¤(å°)",logo:"ic_jinrishebei@2x.png"},{bgImg:"bg_jinribuliang@2x.png",name:"仿¥ä¸è¯åç(%)",logo:"ic_jinribuliang@2x.png"}],o=se({tempCom:{name:"è±ç±³ç§æ"},isFull:!1,tempDate:{time:"",date:"",day:""},comList:[],countList:[eo((()=>e.ingNum))||0,eo((()=>e.delayNum))||0,eo((()=>e.prouserNum))||0,eo((()=>e.deviceNum))||0,eo((()=>e.unqualifiedRate))||0]});let{tempCom:a,isFull:s,tempDate:l,comList:u,countList:c}=De(o);const h=()=>{o.isFull=!o.isFull;let t=document.documentElement;o.isFull?t.requestFullscreen?t.requestFullscreen():t.webkitRequestFullScreen?t.webkitRequestFullScreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.msRequestFullscreen&&t.msRequestFullscreen():document.exitFullscreen?document.exitFullscreen():document.webkitCancelFullScreen?document.webkitCancelFullScreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen()};return qn((()=>{var t;(t=e.companyId,cv.get(`statistics/getDepartmentList/${t}`)).then((t=>{o.comList=t,o.tempCom=t[0],e.setDepartId(o.tempCom.id)})).catch((t=>{}));const n=["ææä¸","ææäº","ææä¸","ææå","ææäº","ææå
","æææ¥"];setInterval((()=>{let t=new Date;o.tempDate={time:`${t.getHours()}:${t.getMinutes()}:${t.getSeconds()}`,date:`${t.getFullYear()}/${t.getMonth()+1}/${t.getDate()}`,day:n[t.getDay()-1]}}),1e3)})),(t,d)=>{const p=nf,f=rf,g=ef,v=ri("router-view");return gr(),_r("div",Jm,[Ar("div",Qm,[Ar("div",ty,["home"==Ae(n).name?(gr(),xr(g,{key:0,trigger:"click"},{dropdown:cn((()=>[Cr(f,null,{default:cn((()=>[(gr(!0),_r(ur,null,ui(Ae(u),((t,n)=>(gr(),xr(p,{key:n,onClick:n=>((t,n)=>{o.tempCom=t,e.setDepartId(o.tempCom.id)})(t)},{default:cn((()=>[kr(Z(t.name),1)])),_:2},1032,["onClick"])))),128))])),_:1})])),default:cn((()=>[Ar("div",ey,[kr(Z(Ae(a).name)+" ",1),ny])])),_:1})):(gr(),_r("img",{key:1,src:"/screen/assets/btn_back@2x-675e2455.png",style:{width:"108px",height:"34px","margin-top":"14px"},onClick:d[0]||(d[0]=t=>Ae(i).go(-1))}))]),iy,Ar("div",ry,[Ae(s)?(gr(),_r("img",{key:1,src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAZBJREFUSEvtl79KxEAQh7+fnj6DLyDY2loJgqCCqK8ggoVgq6CVgraChSAWvoCKoIIgWNnaij6APoP/RiYksneX3CUXY5pLk5CdnS8zuzP7i8zsFJgGliVdE1xmNgZcAjeS1sOxrGczOwBmgHlJTy3+ZoET4FZm9gqMAO/AkqSrxNjMNoA94BsYkuT3zMvMBoAPwO+bkvYDX3PAGTAMvDnYv+I8ftEEN7MtYCee3JD01QU8CHzGNtuSdv3ZzEKoMxaVMRBF/hfgFGjkOwJnwYHxMhEDj0F6m7L5C86APwCTPab6HphIW0L31wROgYdLWnSNk7ltmzYCxyWzADQCylQQafK6V7BHfhf49s134eBnYLRLjfZSTp1cvjjYC34trr00Y4ceS1rN2UCOgJUu/g6TcvKCb1vvZMN3axytHxQ3ko7+sgbzBFfKpg8ulb4ik/upLpKtUrb1pjpPwRcJL4+/+lpmnYeEK8n/PxZTGnwozKoTAqHnFGFWvfRJU4OVi70sCVqpvK1N0Nf5C1PLT9sPXcVS1O7WqdUAAAAASUVORK5CYII=",class:"full-ic",onClick:h})):(gr(),_r("img",{key:0,src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAWBJREFUSEvtl7EuREEUhr8/xBvQ09KKSqMkEruVUq/wAsRu7Aso9EoVCaHUqEStpecNxObIkZ3k7phrR67dafYmt7n3nPOdOTNn5h+Z2SmwD8yQfvrAmaSDmv9Dn7PjmdnnL9AQ9FXSUib4BVgcYduXmVlk9ADcV755YleSnjPBK8AOMFux3wDWq/4p8AfQlnSbAxplY2ZbwCUwVwf2ka4NDP4FHkE95mMYeXXEXeCpkl0jeALaBlaBYx/5EFhSJ+Xw17LXxTCzTi3Ys0k4tiTdjZrPge+mL8bUlMXg0E5HknoheAR/l7SQCX4D5oEfU2Vmh8AJ8N1OvoFs+xu3jJl59ufeXpJ2M8EXgLfPXlwlM/NWuwZulBNsHDZT8Diqmow5LfW01GOrQLnFVWzLrGiuiR8SQXN1/Tye5LE4BC4iBEpJn2JiL/RsI5EXN36OvA0+TQX9MtDKEfTFrjBFLm1fE1IyGlVh99UAAAAASUVORK5CYII=",class:"full-ic",onClick:h})),oy,Ar("div",ay,[Ar("div",sy,Z(Ae(l).time),1),Ar("div",ly,Z(`${Ae(l).date} ${Ae(l).day}`),1)])])]),Ar("div",uy,[(gr(),_r(ur,null,ui(r,((t,e)=>Ar("div",{key:e,class:"num-item",style:F({"background-image":`url(${Ae(Lf)(t.bgImg)})`})},[Ar("img",{src:Ae(Lf)(t.logo),alt:""},null,8,cy),Ar("div",hy,[Ar("div",dy,Z(t.name),1),Ar("div",py,Z(Ae(c)[e]),1)])],4))),64))]),(gr(),xr(Bn,null,[Cr(v)],1024))])}}},[["__scopeId","data-v-ae9e17fa"]]),gy={__name:"App",setup(t){const e=vv();let n=(window.location.href.split("?")[1]||"").split("&")||[],i={companyId:e.companyId};return n.forEach((t=>{let e=t.split("=");i[e[0]]=e[1]})),e.setCompanyId(i.companyId),(t,e)=>(gr(),xr(fy))}}; |
| | | /*! ***************************************************************************** |
| | | Copyright (c) Microsoft Corporation. |
| | | |
| | | Permission to use, copy, modify, and/or distribute this software for any |
| | | purpose with or without fee is hereby granted. |
| | | |
| | | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH |
| | | REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY |
| | | AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, |
| | | INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM |
| | | LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR |
| | | OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR |
| | | PERFORMANCE OF THIS SOFTWARE. |
| | | ***************************************************************************** */ |
| | | var vy=function(t,e){return(vy=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function my(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}vy(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var yy=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},_y=new function(){this.browser=new yy,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!=typeof window};"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(_y.wxa=!0,_y.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?_y.worker=!0:"undefined"==typeof navigator?(_y.node=!0,_y.svgSupported=!0):function(t,e){var n=e.browser,i=t.match(/Firefox\/([\d.]+)/),r=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),o=t.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(t);i&&(n.firefox=!0,n.version=i[1]);r&&(n.ie=!0,n.version=r[1]);o&&(n.edge=!0,n.version=o[1],n.newEdge=+o[1].split(".")[0]>18);a&&(n.weChat=!0);e.svgSupported="undefined"!=typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,e.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),e.domSupported="undefined"!=typeof document;var s=document.documentElement.style;e.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||n.ie&&+n.version>=9}(navigator.userAgent,_y);const xy=_y;var by=12,wy="sans-serif",Sy=by+"px "+wy;var My,Iy,Ay=function(t){var e={};if("undefined"==typeof JSON)return e;for(var n=0;n<t.length;n++){var i=String.fromCharCode(n+32),r=(t.charCodeAt(n)-20)/100;e[i]=r}return e}("007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N"),Cy={createCanvas:function(){return"undefined"!=typeof document&&document.createElement("canvas")},measureText:function(t,e){if(!My){var n=Cy.createCanvas();My=n&&n.getContext("2d")}if(My)return Iy!==e&&(Iy=My.font=e||Sy),My.measureText(t);t=t||"";var i=/(\d+)px/.exec(e=e||Sy),r=i&&+i[1]||by,o=0;if(e.indexOf("mono")>=0)o=r*t.length;else for(var a=0;a<t.length;a++){var s=Ay[t[a]];o+=null==s?r:s*r}return{width:o}},loadImage:function(t,e,n){var i=new Image;return i.onload=e,i.onerror=n,i.src=t,i}},Ty=Jy(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],(function(t,e){return t["[object "+e+"]"]=!0,t}),{}),Dy=Jy(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],(function(t,e){return t["[object "+e+"Array]"]=!0,t}),{}),ky=Object.prototype.toString,Ly=Array.prototype,Py=Ly.forEach,Oy=Ly.filter,Ey=Ly.slice,Ry=Ly.map,Ny=function(){}.constructor,By=Ny?Ny.prototype:null,zy="__proto__",Vy=2311;function Fy(){return Vy++}function Gy(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];"undefined"!=typeof console&&console.error.apply(console,t)}function Hy(t){if(null==t||"object"!=typeof t)return t;var e=t,n=ky.call(t);if("[object Array]"===n){if(!S_(t)){e=[];for(var i=0,r=t.length;i<r;i++)e[i]=Hy(t[i])}}else if(Dy[n]){if(!S_(t)){var o=t.constructor;if(o.from)e=o.from(t);else{e=new o(t.length);for(i=0,r=t.length;i<r;i++)e[i]=t[i]}}}else if(!Ty[n]&&!S_(t)&&!h_(t))for(var a in e={},t)t.hasOwnProperty(a)&&a!==zy&&(e[a]=Hy(t[a]));return e}function Wy(t,e,n){if(!l_(e)||!l_(t))return n?Hy(e):t;for(var i in e)if(e.hasOwnProperty(i)&&i!==zy){var r=t[i],o=e[i];!l_(o)||!l_(r)||i_(o)||i_(r)||h_(o)||h_(r)||u_(o)||u_(r)||S_(o)||S_(r)?!n&&i in t||(t[i]=Hy(e[i])):Wy(r,o,n)}return t}function Uy(t,e){for(var n=t[0],i=1,r=t.length;i<r;i++)n=Wy(n,t[i],e);return n}function jy(t,e){if(Object.assign)Object.assign(t,e);else for(var n in e)e.hasOwnProperty(n)&&n!==zy&&(t[n]=e[n]);return t}function Yy(t,e,n){for(var i=t_(e),r=0;r<i.length;r++){var o=i[r];(n?null!=e[o]:null==t[o])&&(t[o]=e[o])}return t}function Xy(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n}return-1}function qy(t,e,n){if(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var i=Object.getOwnPropertyNames(e),r=0;r<i.length;r++){var o=i[r];"constructor"!==o&&(n?null!=e[o]:null==t[o])&&(t[o]=e[o])}else Yy(t,e,n)}function Zy(t){return!!t&&("string"!=typeof t&&"number"==typeof t.length)}function Ky(t,e,n){if(t&&e)if(t.forEach&&t.forEach===Py)t.forEach(e,n);else if(t.length===+t.length)for(var i=0,r=t.length;i<r;i++)e.call(n,t[i],i,t);else for(var o in t)t.hasOwnProperty(o)&&e.call(n,t[o],o,t)}function $y(t,e,n){if(!t)return[];if(!e)return m_(t);if(t.map&&t.map===Ry)return t.map(e,n);for(var i=[],r=0,o=t.length;r<o;r++)i.push(e.call(n,t[r],r,t));return i}function Jy(t,e,n,i){if(t&&e){for(var r=0,o=t.length;r<o;r++)n=e.call(i,n,t[r],r,t);return n}}function Qy(t,e,n){if(!t)return[];if(!e)return m_(t);if(t.filter&&t.filter===Oy)return t.filter(e,n);for(var i=[],r=0,o=t.length;r<o;r++)e.call(n,t[r],r,t)&&i.push(t[r]);return i}function t_(t){if(!t)return[];if(Object.keys)return Object.keys(t);var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e}var e_=By&&r_(By.bind)?By.call.bind(By.bind):function(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return function(){return t.apply(e,n.concat(Ey.call(arguments)))}};function n_(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return function(){return t.apply(this,e.concat(Ey.call(arguments)))}}function i_(t){return Array.isArray?Array.isArray(t):"[object Array]"===ky.call(t)}function r_(t){return"function"==typeof t}function o_(t){return"string"==typeof t}function a_(t){return"[object String]"===ky.call(t)}function s_(t){return"number"==typeof t}function l_(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function u_(t){return!!Ty[ky.call(t)]}function c_(t){return!!Dy[ky.call(t)]}function h_(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}function d_(t){return null!=t.colorStops}function p_(t){return t!=t}function f_(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=0,i=t.length;n<i;n++)if(null!=t[n])return t[n]}function g_(t,e){return null!=t?t:e}function v_(t,e,n){return null!=t?t:null!=e?e:n}function m_(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return Ey.apply(t,e)}function y_(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 __(t,e){if(!t)throw new Error(e)}function x_(t){return null==t?null:"function"==typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var b_="__ec_primitive__";function w_(t){t[b_]=!0}function S_(t){return t[b_]}var M_=function(){function t(){this.data={}}return t.prototype.delete=function(t){var e=this.has(t);return e&&delete this.data[t],e},t.prototype.has=function(t){return this.data.hasOwnProperty(t)},t.prototype.get=function(t){return this.data[t]},t.prototype.set=function(t,e){return this.data[t]=e,this},t.prototype.keys=function(){return t_(this.data)},t.prototype.forEach=function(t){var e=this.data;for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)},t}(),I_="function"==typeof Map;var A_=function(){function t(e){var n=i_(e);this.data=I_?new Map:new M_;var i=this;function r(t,e){n?i.set(t,e):i.set(e,t)}e instanceof t?e.each(r):e&&Ky(e,r)}return t.prototype.hasKey=function(t){return this.data.has(t)},t.prototype.get=function(t){return this.data.get(t)},t.prototype.set=function(t,e){return this.data.set(t,e),e},t.prototype.each=function(t,e){this.data.forEach((function(n,i){t.call(e,n,i)}))},t.prototype.keys=function(){var t=this.data.keys();return I_?Array.from(t):t},t.prototype.removeKey=function(t){this.data.delete(t)},t}();function C_(t){return new A_(t)}function T_(t,e){for(var n=new t.constructor(t.length+e.length),i=0;i<t.length;i++)n[i]=t[i];var r=t.length;for(i=0;i<e.length;i++)n[i+r]=e[i];return n}function D_(t,e){var n;if(Object.create)n=Object.create(t);else{var i=function(){};i.prototype=t,n=new i}return e&&jy(n,e),n}function k_(t){var e=t.style;e.webkitUserSelect="none",e.userSelect="none",e.webkitTapHighlightColor="rgba(0,0,0,0)",e["-webkit-touch-callout"]="none"}function L_(t,e){return t.hasOwnProperty(e)}function P_(){}var O_=180/Math.PI;function E_(t,e){return null==t&&(t=0),null==e&&(e=0),[t,e]}function R_(t,e){return t[0]=e[0],t[1]=e[1],t}function N_(t){return[t[0],t[1]]}function B_(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t}function z_(t,e,n,i){return t[0]=e[0]+n[0]*i,t[1]=e[1]+n[1]*i,t}function V_(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function F_(t){return Math.sqrt(function(t){return t[0]*t[0]+t[1]*t[1]}(t))}function G_(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t}function H_(t,e){var n=F_(e);return 0===n?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t[1]=e[1]/n),t}function W_(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var U_=W_;var j_=function(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])};function Y_(t,e,n,i){return t[0]=e[0]+i*(n[0]-e[0]),t[1]=e[1]+i*(n[1]-e[1]),t}function X_(t,e,n){var i=e[0],r=e[1];return t[0]=n[0]*i+n[2]*r+n[4],t[1]=n[1]*i+n[3]*r+n[5],t}function q_(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t}function Z_(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}var K_=function(t,e){this.target=t,this.topTarget=e&&e.topTarget};const $_=function(){function t(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return t.prototype._dragStart=function(t){for(var e=t.target;e&&!e.draggable;)e=e.parent||e.__hostTarget;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new K_(e,t),"dragstart",t.event))},t.prototype._drag=function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,i=t.offsetY,r=n-this._x,o=i-this._y;this._x=n,this._y=i,e.drift(r,o,t),this.handler.dispatchToElement(new K_(e,t),"drag",t.event);var a=this.handler.findHover(n,i,e).target,s=this._dropTarget;this._dropTarget=a,e!==a&&(s&&a!==s&&this.handler.dispatchToElement(new K_(s,t),"dragleave",t.event),a&&a!==s&&this.handler.dispatchToElement(new K_(a,t),"dragenter",t.event))}},t.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new K_(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new K_(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},t}();var J_=function(){function t(t){t&&(this._$eventProcessor=t)}return t.prototype.on=function(t,e,n,i){this._$handlers||(this._$handlers={});var r=this._$handlers;if("function"==typeof e&&(i=n,n=e,e=null),!n||!t)return this;var o=this._$eventProcessor;null!=e&&o&&o.normalizeQuery&&(e=o.normalizeQuery(e)),r[t]||(r[t]=[]);for(var a=0;a<r[t].length;a++)if(r[t][a].h===n)return this;var s={h:n,query:e,ctx:i||this,callAtLast:n.zrEventfulCallAtLast},l=r[t].length-1,u=r[t][l];return u&&u.callAtLast?r[t].splice(l,0,s):r[t].push(s),this},t.prototype.isSilent=function(t){var e=this._$handlers;return!e||!e[t]||!e[t].length},t.prototype.off=function(t,e){var n=this._$handlers;if(!n)return this;if(!t)return this._$handlers={},this;if(e){if(n[t]){for(var i=[],r=0,o=n[t].length;r<o;r++)n[t][r].h!==e&&i.push(n[t][r]);n[t]=i}n[t]&&0===n[t].length&&delete n[t]}else delete n[t];return this},t.prototype.trigger=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],r=this._$eventProcessor;if(i)for(var o=e.length,a=i.length,s=0;s<a;s++){var l=i[s];if(!r||!r.filter||null==l.query||r.filter(t,l.query))switch(o){case 0:l.h.call(l.ctx);break;case 1:l.h.call(l.ctx,e[0]);break;case 2:l.h.call(l.ctx,e[0],e[1]);break;default:l.h.apply(l.ctx,e)}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t.prototype.triggerWithContext=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],r=this._$eventProcessor;if(i)for(var o=e.length,a=e[o-1],s=i.length,l=0;l<s;l++){var u=i[l];if(!r||!r.filter||null==u.query||r.filter(t,u.query))switch(o){case 0:u.h.call(a);break;case 1:u.h.call(a,e[0]);break;case 2:u.h.call(a,e[0],e[1]);break;default:u.h.apply(a,e.slice(1,o-1))}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t}();const Q_=J_;var tx=Math.log(2);function ex(t,e,n,i,r,o){var a=i+"-"+r,s=t.length;if(o.hasOwnProperty(a))return o[a];if(1===e){var l=Math.round(Math.log((1<<s)-1&~r)/tx);return t[n][l]}for(var u=i|1<<n,c=n+1;i&1<<c;)c++;for(var h=0,d=0,p=0;d<s;d++){var f=1<<d;f&r||(h+=(p%2?-1:1)*t[n][d]*ex(t,e-1,c,u,r|f,o),p++)}return o[a]=h,h}function nx(t,e){var n=[[t[0],t[1],1,0,0,0,-e[0]*t[0],-e[0]*t[1]],[0,0,0,t[0],t[1],1,-e[1]*t[0],-e[1]*t[1]],[t[2],t[3],1,0,0,0,-e[2]*t[2],-e[2]*t[3]],[0,0,0,t[2],t[3],1,-e[3]*t[2],-e[3]*t[3]],[t[4],t[5],1,0,0,0,-e[4]*t[4],-e[4]*t[5]],[0,0,0,t[4],t[5],1,-e[5]*t[4],-e[5]*t[5]],[t[6],t[7],1,0,0,0,-e[6]*t[6],-e[6]*t[7]],[0,0,0,t[6],t[7],1,-e[7]*t[6],-e[7]*t[7]]],i={},r=ex(n,8,0,0,0,i);if(0!==r){for(var o=[],a=0;a<8;a++)for(var s=0;s<8;s++)null==o[s]&&(o[s]=0),o[s]+=((a+s)%2?-1:1)*ex(n,7,0===a?1:0,1<<a,1<<s,i)/r*e[a];return function(t,e,n){var i=e*o[6]+n*o[7]+1;t[0]=(e*o[0]+n*o[1]+o[2])/i,t[1]=(e*o[3]+n*o[4]+o[5])/i}}}var ix="___zrEVENTSAVED",rx=[];function ox(t,e,n,i,r){if(e.getBoundingClientRect&&xy.domSupported&&!ax(e)){var o=e[ix]||(e[ix]={}),a=function(t,e){var n=e.markers;if(n)return n;n=e.markers=[];for(var i=["left","right"],r=["top","bottom"],o=0;o<4;o++){var a=document.createElement("div"),s=o%2,l=(o>>1)%2;a.style.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[s]+":0",r[l]+":0",i[1-s]+":auto",r[1-l]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return n}(e,o),s=function(t,e,n){for(var i=n?"invTrans":"trans",r=e[i],o=e.srcCoords,a=[],s=[],l=!0,u=0;u<4;u++){var c=t[u].getBoundingClientRect(),h=2*u,d=c.left,p=c.top;a.push(d,p),l=l&&o&&d===o[h]&&p===o[h+1],s.push(t[u].offsetLeft,t[u].offsetTop)}return l&&r?r:(e.srcCoords=a,e[i]=n?nx(s,a):nx(a,s))}(a,o,r);if(s)return s(t,n,i),!0}return!1}function ax(t){return"CANVAS"===t.nodeName.toUpperCase()}var sx=/([&<>"'])/g,lx={"&":"&","<":"<",">":">",'"':""","'":"'"};function ux(t){return null==t?"":(t+"").replace(sx,(function(t,e){return lx[e]}))}var cx=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,hx=[],dx=xy.browser.firefox&&+xy.browser.version.split(".")[0]<39;function px(t,e,n,i){return n=n||{},i?fx(t,e,n):dx&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):fx(t,e,n),n}function fx(t,e,n){if(xy.domSupported&&t.getBoundingClientRect){var i=e.clientX,r=e.clientY;if(ax(t)){var o=t.getBoundingClientRect();return n.zrX=i-o.left,void(n.zrY=r-o.top)}if(ox(hx,t,i,r))return n.zrX=hx[0],void(n.zrY=hx[1])}n.zrX=n.zrY=0}function gx(t){return t||window.event}function vx(t,e,n){if(null!=(e=gx(e)).zrX)return e;var i=e.type;if(i&&i.indexOf("touch")>=0){var r="touchend"!==i?e.targetTouches[0]:e.changedTouches[0];r&&px(t,r,e,n)}else{px(t,e,e,n);var o=function(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,i=t.deltaY;if(null==n||null==i)return e;return 3*(0!==i?Math.abs(i):Math.abs(n))*(i>0?-1:i<0?1:n>0?-1:1)}(e);e.zrDelta=o?o/120:-(e.detail||0)/3}var a=e.button;return null==e.which&&void 0!==a&&cx.test(e.type)&&(e.which=1&a?1:2&a?3:4&a?2:0),e}function mx(t,e,n,i){t.addEventListener(e,n,i)}function yx(t,e,n,i){t.removeEventListener(e,n,i)}var _x=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function xx(t){return 2===t.which||3===t.which}var bx=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,n){var i=t.touches;if(i){for(var r={points:[],touches:[],target:e,event:t},o=0,a=i.length;o<a;o++){var s=i[o],l=px(n,s,{});r.points.push([l.zrX,l.zrY]),r.touches.push(s)}this._track.push(r)}},t.prototype._recognize=function(t){for(var e in Mx)if(Mx.hasOwnProperty(e)){var n=Mx[e](this._track,t);if(n)return n}},t}();function Sx(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}var Mx={pinch:function(t,e){var n=t.length;if(n){var i,r=(t[n-1]||{}).points,o=(t[n-2]||{}).points||r;if(o&&o.length>1&&r&&r.length>1){var a=Sx(r)/Sx(o);!isFinite(a)&&(a=1),e.pinchScale=a;var s=[((i=r)[0][0]+i[1][0])/2,(i[0][1]+i[1][1])/2];return e.pinchX=s[0],e.pinchY=s[1],{type:"pinch",target:t[0].target,event:e}}}}};function Ix(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function Ax(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 Cx(t,e,n){var i=e[0]*n[0]+e[2]*n[1],r=e[1]*n[0]+e[3]*n[1],o=e[0]*n[2]+e[2]*n[3],a=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4],l=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=i,t[1]=r,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t}function Tx(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 Dx(t,e,n){var i=e[0],r=e[2],o=e[4],a=e[1],s=e[3],l=e[5],u=Math.sin(n),c=Math.cos(n);return t[0]=i*c+a*u,t[1]=-i*u+a*c,t[2]=r*c+s*u,t[3]=-r*u+c*s,t[4]=c*o+u*l,t[5]=c*l-u*o,t}function kx(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 Lx(t,e){var n=e[0],i=e[2],r=e[4],o=e[1],a=e[3],s=e[5],l=n*a-o*i;return l?(l=1/l,t[0]=a*l,t[1]=-o*l,t[2]=-i*l,t[3]=n*l,t[4]=(i*s-a*r)*l,t[5]=(o*r-n*s)*l,t):null}const Px=function(){function t(t,e){this.x=t||0,this.y=e||0}return t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(t,e){return this.x=t,this.y=e,this},t.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},t.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.scale=function(t){this.x*=t,this.y*=t},t.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},t.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},t.prototype.dot=function(t){return this.x*t.x+this.y*t.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},t.prototype.distance=function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,n=this.y-t.y;return e*e+n*n},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(t){if(t){var e=this.x,n=this.y;return this.x=t[0]*e+t[2]*n+t[4],this.y=t[1]*e+t[3]*n+t[5],this}},t.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},t.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},t.set=function(t,e,n){t.x=e,t.y=n},t.copy=function(t,e){t.x=e.x,t.y=e.y},t.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},t.lenSquare=function(t){return t.x*t.x+t.y*t.y},t.dot=function(t,e){return t.x*e.x+t.y*e.y},t.add=function(t,e,n){t.x=e.x+n.x,t.y=e.y+n.y},t.sub=function(t,e,n){t.x=e.x-n.x,t.y=e.y-n.y},t.scale=function(t,e,n){t.x=e.x*n,t.y=e.y*n},t.scaleAndAdd=function(t,e,n,i){t.x=e.x+n.x*i,t.y=e.y+n.y*i},t.lerp=function(t,e,n,i){var r=1-i;t.x=r*e.x+i*n.x,t.y=r*e.y+i*n.y},t}();var Ox=Math.min,Ex=Math.max,Rx=new Px,Nx=new Px,Bx=new Px,zx=new Px,Vx=new Px,Fx=new Px,Gx=function(){function t(t,e,n,i){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i),this.x=t,this.y=e,this.width=n,this.height=i}return t.prototype.union=function(t){var e=Ox(t.x,this.x),n=Ox(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=Ex(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=Ex(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=e,this.y=n},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){var e=this,n=t.width/e.width,i=t.height/e.height,r=[1,0,0,1,0,0];return Tx(r,r,[-e.x,-e.y]),kx(r,r,[n,i]),Tx(r,r,[t.x,t.y]),r},t.prototype.intersect=function(e,n){if(!e)return!1;e instanceof t||(e=t.create(e));var i=this,r=i.x,o=i.x+i.width,a=i.y,s=i.y+i.height,l=e.x,u=e.x+e.width,c=e.y,h=e.y+e.height,d=!(o<l||u<r||s<c||h<a);if(n){var p=1/0,f=0,g=Math.abs(o-l),v=Math.abs(u-r),m=Math.abs(s-c),y=Math.abs(h-a),_=Math.min(g,v),x=Math.min(m,y);o<l||u<r?_>f&&(f=_,g<v?Px.set(Fx,-g,0):Px.set(Fx,v,0)):_<p&&(p=_,g<v?Px.set(Vx,g,0):Px.set(Vx,-v,0)),s<c||h<a?x>f&&(f=x,m<y?Px.set(Fx,0,-m):Px.set(Fx,0,y)):_<p&&(p=_,m<y?Px.set(Vx,0,m):Px.set(Vx,0,-y))}return n&&Px.copy(n,d?Vx:Fx),d},t.prototype.contain=function(t,e){var n=this;return t>=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},t.applyTransform=function(e,n,i){if(i){if(i[1]<1e-5&&i[1]>-1e-5&&i[2]<1e-5&&i[2]>-1e-5){var r=i[0],o=i[3],a=i[4],s=i[5];return e.x=n.x*r+a,e.y=n.y*o+s,e.width=n.width*r,e.height=n.height*o,e.width<0&&(e.x+=e.width,e.width=-e.width),void(e.height<0&&(e.y+=e.height,e.height=-e.height))}Rx.x=Bx.x=n.x,Rx.y=zx.y=n.y,Nx.x=zx.x=n.x+n.width,Nx.y=Bx.y=n.y+n.height,Rx.transform(i),zx.transform(i),Nx.transform(i),Bx.transform(i),e.x=Ox(Rx.x,Nx.x,Bx.x,zx.x),e.y=Ox(Rx.y,Nx.y,Bx.y,zx.y);var l=Ex(Rx.x,Nx.x,Bx.x,zx.x),u=Ex(Rx.y,Nx.y,Bx.y,zx.y);e.width=l-e.x,e.height=u-e.y}else e!==n&&t.copy(e,n)},t}();const Hx=Gx;var Wx="silent";function Ux(){_x(this.event)}var jx=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return my(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(Q_),Yx=function(t,e){this.x=t,this.y=e},Xx=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],qx=new Hx(0,0,0,0),Zx=function(t){function e(e,n,i,r,o){var a=t.call(this)||this;return a._hovered=new Yx(0,0),a.storage=e,a.painter=n,a.painterRoot=r,a._pointerSize=o,i=i||new jx,a.proxy=null,a.setHandlerProxy(i),a._draggingMgr=new $_(a),a}return my(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(Ky(Xx,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var e=t.zrX,n=t.zrY,i=Jx(this,e,n),r=this._hovered,o=r.target;o&&!o.__zr&&(o=(r=this.findHover(r.x,r.y)).target);var a=this._hovered=i?new Yx(e,n):this.findHover(e,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(r,"mouseout",t),this.dispatchToElement(a,"mousemove",t),s&&s!==o&&this.dispatchToElement(a,"mouseover",t)},e.prototype.mouseout=function(t){var e=t.zrEventControl;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new Yx(0,0)},e.prototype.dispatch=function(t,e){var n=this[t];n&&n.call(this,e)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},e.prototype.dispatchToElement=function(t,e,n){var i=(t=t||{}).target;if(!i||!i.silent){for(var r="on"+e,o=function(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:Ux}}(e,t,n);i&&(i[r]&&(o.cancelBubble=!!i[r].call(i,o)),i.trigger(e,o),i=i.__hostTarget?i.__hostTarget:i.parent,!o.cancelBubble););o.cancelBubble||(this.trigger(e,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(t){"function"==typeof t[r]&&t[r].call(t,o),t.trigger&&t.trigger(e,o)})))}},e.prototype.findHover=function(t,e,n){var i=this.storage.getDisplayList(),r=new Yx(t,e);if($x(i,r,t,e,n),this._pointerSize&&!r.target){for(var o=[],a=this._pointerSize,s=a/2,l=new Hx(t-s,e-s,a,a),u=i.length-1;u>=0;u--){var c=i[u];c===n||c.ignore||c.ignoreCoarsePointer||c.parent&&c.parent.ignoreCoarsePointer||(qx.copy(c.getBoundingRect()),c.transform&&qx.applyTransform(c.transform),qx.intersect(l)&&o.push(c))}if(o.length)for(var h=Math.PI/12,d=2*Math.PI,p=0;p<s;p+=4)for(var f=0;f<d;f+=h){if($x(o,r,t+p*Math.cos(f),e+p*Math.sin(f),n),r.target)return r}}return r},e.prototype.processGesture=function(t,e){this._gestureMgr||(this._gestureMgr=new bx);var n=this._gestureMgr;"start"===e&&n.clear();var i=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&n.clear(),i){var r=i.type;t.gestureEvent=r;var o=new Yx;o.target=i.target,this.dispatchToElement(o,r,i.event)}},e}(Q_);function Kx(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){for(var i=t,r=void 0,o=!1;i;){if(i.ignoreClip&&(o=!0),!o){var a=i.getClipPath();if(a&&!a.contain(e,n))return!1;i.silent&&(r=!0)}var s=i.__hostTarget;i=s||i.parent}return!r||Wx}return!1}function $x(t,e,n,i,r){for(var o=t.length-1;o>=0;o--){var a=t[o],s=void 0;if(a!==r&&!a.ignore&&(s=Kx(a,n,i))&&(!e.topTarget&&(e.topTarget=a),s!==Wx)){e.target=a;break}}}function Jx(t,e,n){var i=t.painter;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}Ky(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){Zx.prototype[t]=function(e){var n,i,r=e.zrX,o=e.zrY,a=Jx(this,r,o);if("mouseup"===t&&a||(i=(n=this.findHover(r,o)).target),"mousedown"===t)this._downEl=i,this._downPoint=[e.zrX,e.zrY],this._upEl=i;else if("mouseup"===t)this._upEl=i;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||U_(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}}));const Qx=Zx;var tb=32,eb=7;function nb(t,e,n,i){var r=e+1;if(r===n)return 1;if(i(t[r++],t[e])<0){for(;r<n&&i(t[r],t[r-1])<0;)r++;!function(t,e,n){n--;for(;e<n;){var i=t[e];t[e++]=t[n],t[n--]=i}}(t,e,r)}else for(;r<n&&i(t[r],t[r-1])>=0;)r++;return r-e}function ib(t,e,n,i,r){for(i===e&&i++;i<n;i++){for(var o,a=t[i],s=e,l=i;s<l;)r(a,t[o=s+l>>>1])<0?l=o:s=o+1;var u=i-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=a}}function rb(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])>0){for(s=i-r;l<s&&o(t,e[n+r+l])>0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}else{for(s=r+1;l<s&&o(t,e[n+r-l])<=0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s);var u=a;a=r-l,l=r-u}for(a++;a<l;){var c=a+(l-a>>>1);o(t,e[n+c])>0?a=c+1:l=c}return l}function ob(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])<0){for(s=r+1;l<s&&o(t,e[n+r-l])<0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s);var u=a;a=r-l,l=r-u}else{for(s=i-r;l<s&&o(t,e[n+r+l])>=0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}for(a++;a<l;){var c=a+(l-a>>>1);o(t,e[n+c])<0?l=c:a=c+1}return l}function ab(t,e){var n,i,r=eb,o=0;t.length;var a=[];function s(s){var l=n[s],u=i[s],c=n[s+1],h=i[s+1];i[s]=u+h,s===o-3&&(n[s+1]=n[s+2],i[s+1]=i[s+2]),o--;var d=ob(t[c],t,l,u,0,e);l+=d,0!==(u-=d)&&0!==(h=rb(t[l+u-1],t,c,h,h-1,e))&&(u<=h?function(n,i,o,s){var l=0;for(l=0;l<i;l++)a[l]=t[n+l];var u=0,c=o,h=n;if(t[h++]=t[c++],0==--s){for(l=0;l<i;l++)t[h+l]=a[u+l];return}if(1===i){for(l=0;l<s;l++)t[h+l]=t[c+l];return void(t[h+s]=a[u])}var d,p,f,g=r;for(;;){d=0,p=0,f=!1;do{if(e(t[c],a[u])<0){if(t[h++]=t[c++],p++,d=0,0==--s){f=!0;break}}else if(t[h++]=a[u++],d++,p=0,1==--i){f=!0;break}}while((d|p)<g);if(f)break;do{if(0!==(d=ob(t[c],a,u,i,0,e))){for(l=0;l<d;l++)t[h+l]=a[u+l];if(h+=d,u+=d,(i-=d)<=1){f=!0;break}}if(t[h++]=t[c++],0==--s){f=!0;break}if(0!==(p=rb(a[u],t,c,s,0,e))){for(l=0;l<p;l++)t[h+l]=t[c+l];if(h+=p,c+=p,0===(s-=p)){f=!0;break}}if(t[h++]=a[u++],1==--i){f=!0;break}g--}while(d>=eb||p>=eb);if(f)break;g<0&&(g=0),g+=2}if((r=g)<1&&(r=1),1===i){for(l=0;l<s;l++)t[h+l]=t[c+l];t[h+s]=a[u]}else{if(0===i)throw new Error;for(l=0;l<i;l++)t[h+l]=a[u+l]}}(l,u,c,h):function(n,i,o,s){var l=0;for(l=0;l<s;l++)a[l]=t[o+l];var u=n+i-1,c=s-1,h=o+s-1,d=0,p=0;if(t[h--]=t[u--],0==--i){for(d=h-(s-1),l=0;l<s;l++)t[d+l]=a[l];return}if(1===s){for(p=(h-=i)+1,d=(u-=i)+1,l=i-1;l>=0;l--)t[p+l]=t[d+l];return void(t[h]=a[c])}var f=r;for(;;){var g=0,v=0,m=!1;do{if(e(a[c],t[u])<0){if(t[h--]=t[u--],g++,v=0,0==--i){m=!0;break}}else if(t[h--]=a[c--],v++,g=0,1==--s){m=!0;break}}while((g|v)<f);if(m)break;do{if(0!==(g=i-ob(a[c],t,n,i,i-1,e))){for(i-=g,p=(h-=g)+1,d=(u-=g)+1,l=g-1;l>=0;l--)t[p+l]=t[d+l];if(0===i){m=!0;break}}if(t[h--]=a[c--],1==--s){m=!0;break}if(0!==(v=s-rb(t[u],a,0,s,s-1,e))){for(s-=v,p=(h-=v)+1,d=(c-=v)+1,l=0;l<v;l++)t[p+l]=a[d+l];if(s<=1){m=!0;break}}if(t[h--]=t[u--],0==--i){m=!0;break}f--}while(g>=eb||v>=eb);if(m)break;f<0&&(f=0),f+=2}(r=f)<1&&(r=1);if(1===s){for(p=(h-=i)+1,d=(u-=i)+1,l=i-1;l>=0;l--)t[p+l]=t[d+l];t[h]=a[c]}else{if(0===s)throw new Error;for(d=h-(s-1),l=0;l<s;l++)t[d+l]=a[l]}}(l,u,c,h))}return n=[],i=[],{mergeRuns:function(){for(;o>1;){var t=o-2;if(t>=1&&i[t-1]<=i[t]+i[t+1]||t>=2&&i[t-2]<=i[t]+i[t-1])i[t-1]<i[t+1]&&t--;else if(i[t]>i[t+1])break;s(t)}},forceMergeRuns:function(){for(;o>1;){var t=o-2;t>0&&i[t-1]<i[t+1]&&t--,s(t)}},pushRun:function(t,e){n[o]=t,i[o]=e,o+=1}}}function sb(t,e,n,i){n||(n=0),i||(i=t.length);var r=i-n;if(!(r<2)){var o=0;if(r<tb)ib(t,n,i,n+(o=nb(t,n,i,e)),e);else{var a=ab(t,e),s=function(t){for(var e=0;t>=tb;)e|=1&t,t>>=1;return t+e}(r);do{if((o=nb(t,n,i,e))<s){var l=r;l>s&&(l=s),ib(t,n,n+l,n+o,e),o=l}a.pushRun(n,o),a.mergeRuns(),r-=o,n+=o}while(0!==r);a.forceMergeRuns()}}}var lb=1,ub=4,cb=!1;function hb(){cb||(cb=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function db(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var pb=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=db}return t.prototype.traverse=function(t,e){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(t,e)},t.prototype.getDisplayList=function(t,e){e=e||!1;var n=this._displayList;return!t&&n.length||this.updateDisplayList(e),n},t.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var e=this._roots,n=this._displayList,i=0,r=e.length;i<r;i++)this._updateAndAddDisplayable(e[i],null,t);n.length=this._displayListLen,sb(n,db)},t.prototype._updateAndAddDisplayable=function(t,e,n){if(!t.ignore||n){t.beforeUpdate(),t.update(),t.afterUpdate();var i=t.getClipPath();if(t.ignoreClip)e=null;else if(i){e=e?e.slice():[];for(var r=i,o=t;r;)r.parent=o,r.updateTransform(),e.push(r),o=r,r=r.getClipPath()}if(t.childrenRef){for(var a=t.childrenRef(),s=0;s<a.length;s++){var l=a[s];t.__dirty&&(l.__dirty|=lb),this._updateAndAddDisplayable(l,e,n)}t.__dirty=0}else{var u=t;e&&e.length?u.__clipPaths=e:u.__clipPaths&&u.__clipPaths.length>0&&(u.__clipPaths=[]),isNaN(u.z)&&(hb(),u.z=0),isNaN(u.z2)&&(hb(),u.z2=0),isNaN(u.zlevel)&&(hb(),u.zlevel=0),this._displayList[this._displayListLen++]=u}var c=t.getDecalElement&&t.getDecalElement();c&&this._updateAndAddDisplayable(c,e,n);var h=t.getTextGuideLine();h&&this._updateAndAddDisplayable(h,e,n);var d=t.getTextContent();d&&this._updateAndAddDisplayable(d,e,n)}},t.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},t.prototype.delRoot=function(t){if(t instanceof Array)for(var e=0,n=t.length;e<n;e++)this.delRoot(t[e]);else{var i=Xy(this._roots,t);i>=0&&this._roots.splice(i,1)}},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}();const fb=pb;var gb;gb=xy.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)};const vb=gb;var mb={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=i*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-mb.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*mb.bounceIn(2*t):.5*mb.bounceOut(2*t-1)+.5}};const yb=mb;var _b=Math.pow,xb=Math.sqrt,bb=1e-8,wb=1e-4,Sb=xb(3),Mb=1/3,Ib=E_(),Ab=E_(),Cb=E_();function Tb(t){return t>-bb&&t<bb}function Db(t){return t>bb||t<-bb}function kb(t,e,n,i,r){var o=1-r;return o*o*(o*t+3*r*e)+r*r*(r*i+3*o*n)}function Lb(t,e,n,i,r){var o=1-r;return 3*(((e-t)*o+2*(n-e)*r)*o+(i-n)*r*r)}function Pb(t,e,n,i,r,o){var a=i+3*(e-n)-t,s=3*(n-2*e+t),l=3*(e-t),u=t-r,c=s*s-3*a*l,h=s*l-9*a*u,d=l*l-3*s*u,p=0;if(Tb(c)&&Tb(h)){if(Tb(s))o[0]=0;else(M=-l/s)>=0&&M<=1&&(o[p++]=M)}else{var f=h*h-4*c*d;if(Tb(f)){var g=h/c,v=-g/2;(M=-s/a+g)>=0&&M<=1&&(o[p++]=M),v>=0&&v<=1&&(o[p++]=v)}else if(f>0){var m=xb(f),y=c*s+1.5*a*(-h+m),_=c*s+1.5*a*(-h-m);(M=(-s-((y=y<0?-_b(-y,Mb):_b(y,Mb))+(_=_<0?-_b(-_,Mb):_b(_,Mb))))/(3*a))>=0&&M<=1&&(o[p++]=M)}else{var x=(2*c*s-3*a*h)/(2*xb(c*c*c)),b=Math.acos(x)/3,w=xb(c),S=Math.cos(b),M=(-s-2*w*S)/(3*a),I=(v=(-s+w*(S+Sb*Math.sin(b)))/(3*a),(-s+w*(S-Sb*Math.sin(b)))/(3*a));M>=0&&M<=1&&(o[p++]=M),v>=0&&v<=1&&(o[p++]=v),I>=0&&I<=1&&(o[p++]=I)}}return p}function Ob(t,e,n,i,r){var o=6*n-12*e+6*t,a=9*e+3*i-3*t-9*n,s=3*e-3*t,l=0;if(Tb(a)){if(Db(o))(c=-s/o)>=0&&c<=1&&(r[l++]=c)}else{var u=o*o-4*a*s;if(Tb(u))r[0]=-o/(2*a);else if(u>0){var c,h=xb(u),d=(-o-h)/(2*a);(c=(-o+h)/(2*a))>=0&&c<=1&&(r[l++]=c),d>=0&&d<=1&&(r[l++]=d)}}return l}function Eb(t,e,n,i,r,o){var a=(e-t)*r+t,s=(n-e)*r+e,l=(i-n)*r+n,u=(s-a)*r+a,c=(l-s)*r+s,h=(c-u)*r+u;o[0]=t,o[1]=a,o[2]=u,o[3]=h,o[4]=h,o[5]=c,o[6]=l,o[7]=i}function Rb(t,e,n,i,r,o,a,s,l,u,c){var h,d,p,f,g,v=.005,m=1/0;Ib[0]=l,Ib[1]=u;for(var y=0;y<1;y+=.05)Ab[0]=kb(t,n,r,a,y),Ab[1]=kb(e,i,o,s,y),(f=j_(Ib,Ab))<m&&(h=y,m=f);m=1/0;for(var _=0;_<32&&!(v<wb);_++)d=h-v,p=h+v,Ab[0]=kb(t,n,r,a,d),Ab[1]=kb(e,i,o,s,d),f=j_(Ab,Ib),d>=0&&f<m?(h=d,m=f):(Cb[0]=kb(t,n,r,a,p),Cb[1]=kb(e,i,o,s,p),g=j_(Cb,Ib),p<=1&&g<m?(h=p,m=g):v*=.5);return c&&(c[0]=kb(t,n,r,a,h),c[1]=kb(e,i,o,s,h)),xb(m)}function Nb(t,e,n,i,r,o,a,s,l){for(var u=t,c=e,h=0,d=1/l,p=1;p<=l;p++){var f=p*d,g=kb(t,n,r,a,f),v=kb(e,i,o,s,f),m=g-u,y=v-c;h+=Math.sqrt(m*m+y*y),u=g,c=v}return h}function Bb(t,e,n,i){var r=1-i;return r*(r*t+2*i*e)+i*i*n}function zb(t,e,n,i){return 2*((1-i)*(e-t)+i*(n-e))}function Vb(t,e,n){var i=t+n-2*e;return 0===i?.5:(t-e)/i}function Fb(t,e,n,i,r){var o=(e-t)*i+t,a=(n-e)*i+e,s=(a-o)*i+o;r[0]=t,r[1]=o,r[2]=s,r[3]=s,r[4]=a,r[5]=n}function Gb(t,e,n,i,r,o,a,s,l){var u,c=.005,h=1/0;Ib[0]=a,Ib[1]=s;for(var d=0;d<1;d+=.05){Ab[0]=Bb(t,n,r,d),Ab[1]=Bb(e,i,o,d),(v=j_(Ib,Ab))<h&&(u=d,h=v)}h=1/0;for(var p=0;p<32&&!(c<wb);p++){var f=u-c,g=u+c;Ab[0]=Bb(t,n,r,f),Ab[1]=Bb(e,i,o,f);var v=j_(Ab,Ib);if(f>=0&&v<h)u=f,h=v;else{Cb[0]=Bb(t,n,r,g),Cb[1]=Bb(e,i,o,g);var m=j_(Cb,Ib);g<=1&&m<h?(u=g,h=m):c*=.5}}return l&&(l[0]=Bb(t,n,r,u),l[1]=Bb(e,i,o,u)),xb(h)}function Hb(t,e,n,i,r,o,a){for(var s=t,l=e,u=0,c=1/a,h=1;h<=a;h++){var d=h*c,p=Bb(t,n,r,d),f=Bb(e,i,o,d),g=p-s,v=f-l;u+=Math.sqrt(g*g+v*v),s=p,l=f}return u}var Wb=/cubic-bezier\(([0-9,\.e ]+)\)/;function Ub(t){var e=t&&Wb.exec(t);if(e){var n=e[1].split(","),i=+x_(n[0]),r=+x_(n[1]),o=+x_(n[2]),a=+x_(n[3]);if(isNaN(i+r+o+a))return;var s=[];return function(t){return t<=0?0:t>=1?1:Pb(0,i,o,1,t,s)&&kb(0,r,a,1,s[0])}}}const jb=function(){function t(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||P_,this.ondestroy=t.ondestroy||P_,this.onrestart=t.onrestart||P_,t.easing&&this.setEasing(t.easing)}return t.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),!this._paused){var n=this._life,i=t-this._startTime-this._pausedTime,r=i/n;r<0&&(r=0),r=Math.min(r,1);var o=this.easingFunc,a=o?o(r):r;if(this.onframe(a),1===r){if(!this.loop)return!0;var s=i%n;this._startTime=t-s,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=e},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=r_(t)?t:yb[t]||Ub(t)},t}();var Yb=function(t){this.value=t},Xb=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new Yb(t);return this.insertEntry(e),e},t.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},t.prototype.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}();const qb=function(){function t(t){this._list=new Xb,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var n=this._list,i=this._map,r=null;if(null==i[t]){var o=n.len(),a=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var s=n.head;n.remove(s),delete i[s.key],r=s.value,this._lastRemovedEntry=s}a?a.value=e:a=new Yb(e),a.key=t,n.insertEntry(a),i[t]=a}return r},t.prototype.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}();var Zb={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function Kb(t){return(t=Math.round(t))<0?0:t>255?255:t}function $b(t){return t<0?0:t>1?1:t}function Jb(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?Kb(parseFloat(e)/100*255):Kb(parseInt(e,10))}function Qb(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?$b(parseFloat(e)/100):$b(parseFloat(e))}function tw(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function ew(t,e,n){return t+(e-t)*n}function nw(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function iw(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var rw=new qb(20),ow=null;function aw(t,e){ow&&iw(ow,e),ow=rw.put(t,ow||e.slice())}function sw(t,e){if(t){e=e||[];var n=rw.get(t);if(n)return iw(e,n);var i=(t+="").replace(/ /g,"").toLowerCase();if(i in Zb)return iw(e,Zb[i]),aw(t,e),e;var r,o=i.length;if("#"===i.charAt(0))return 4===o||5===o?(r=parseInt(i.slice(1,4),16))>=0&&r<=4095?(nw(e,(3840&r)>>4|(3840&r)>>8,240&r|(240&r)>>4,15&r|(15&r)<<4,5===o?parseInt(i.slice(4),16)/15:1),aw(t,e),e):void nw(e,0,0,0,1):7===o||9===o?(r=parseInt(i.slice(1,7),16))>=0&&r<=16777215?(nw(e,(16711680&r)>>16,(65280&r)>>8,255&r,9===o?parseInt(i.slice(7),16)/255:1),aw(t,e),e):void nw(e,0,0,0,1):void 0;var a=i.indexOf("("),s=i.indexOf(")");if(-1!==a&&s+1===o){var l=i.substr(0,a),u=i.substr(a+1,s-(a+1)).split(","),c=1;switch(l){case"rgba":if(4!==u.length)return 3===u.length?nw(e,+u[0],+u[1],+u[2],1):nw(e,0,0,0,1);c=Qb(u.pop());case"rgb":return u.length>=3?(nw(e,Jb(u[0]),Jb(u[1]),Jb(u[2]),3===u.length?c:Qb(u[3])),aw(t,e),e):void nw(e,0,0,0,1);case"hsla":return 4!==u.length?void nw(e,0,0,0,1):(u[3]=Qb(u[3]),lw(u,e),aw(t,e),e);case"hsl":return 3!==u.length?void nw(e,0,0,0,1):(lw(u,e),aw(t,e),e);default:return}}nw(e,0,0,0,1)}}function lw(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=Qb(t[1]),r=Qb(t[2]),o=r<=.5?r*(i+1):r+i-r*i,a=2*r-o;return nw(e=e||[],Kb(255*tw(a,o,n+1/3)),Kb(255*tw(a,o,n)),Kb(255*tw(a,o,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function uw(t,e){var n=sw(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,n[i]>255?n[i]=255:n[i]<0&&(n[i]=0);return pw(n,4===n.length?"rgba":"rgb")}}function cw(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var i=t*(e.length-1),r=Math.floor(i),o=Math.ceil(i),a=e[r],s=e[o],l=i-r;return n[0]=Kb(ew(a[0],s[0],l)),n[1]=Kb(ew(a[1],s[1],l)),n[2]=Kb(ew(a[2],s[2],l)),n[3]=$b(ew(a[3],s[3],l)),n}}function hw(t,e,n,i){var r=sw(t);if(t)return r=function(t){if(t){var e,n,i=t[0]/255,r=t[1]/255,o=t[2]/255,a=Math.min(i,r,o),s=Math.max(i,r,o),l=s-a,u=(s+a)/2;if(0===l)e=0,n=0;else{n=u<.5?l/(s+a):l/(2-s-a);var c=((s-i)/6+l/2)/l,h=((s-r)/6+l/2)/l,d=((s-o)/6+l/2)/l;i===s?e=d-h:r===s?e=1/3+c-d:o===s&&(e=2/3+h-c),e<0&&(e+=1),e>1&&(e-=1)}var p=[360*e,n,u];return null!=t[3]&&p.push(t[3]),p}}(r),null!=e&&(r[0]=function(t){return(t=Math.round(t))<0?0:t>360?360:t}(e)),null!=n&&(r[1]=Qb(n)),null!=i&&(r[2]=Qb(i)),pw(lw(r),"rgba")}function dw(t,e){var n=sw(t);if(n&&null!=e)return n[3]=$b(e),pw(n,"rgba")}function pw(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 fw(t,e){var n=sw(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}var gw=Math.round;function vw(t){var e;if(t&&"transparent"!==t){if("string"==typeof t&&t.indexOf("rgba")>-1){var n=sw(t);n&&(t="rgb("+n[0]+","+n[1]+","+n[2]+")",e=n[3])}}else t="none";return{color:t,opacity:null==e?1:e}}var mw=1e-4;function yw(t){return t<mw&&t>-mw}function _w(t){return gw(1e3*t)/1e3}function xw(t){return gw(1e4*t)/1e4}var bw={left:"start",right:"end",center:"middle",middle:"middle"};function ww(t){return t&&!!t.image}function Sw(t){return ww(t)||function(t){return t&&!!t.svgElement}(t)}function Mw(t){return"linear"===t.type}function Iw(t){return"radial"===t.type}function Aw(t){return t&&("linear"===t.type||"radial"===t.type)}function Cw(t){return"url(#"+t+")"}function Tw(t){var e=t.getGlobalScale(),n=Math.max(e[0],e[1]);return Math.max(Math.ceil(Math.log(n)/Math.log(10)),1)}function Dw(t){var e=t.x||0,n=t.y||0,i=(t.rotation||0)*O_,r=g_(t.scaleX,1),o=g_(t.scaleY,1),a=t.skewX||0,s=t.skewY||0,l=[];return(e||n)&&l.push("translate("+e+"px,"+n+"px)"),i&&l.push("rotate("+i+")"),1===r&&1===o||l.push("scale("+r+","+o+")"),(a||s)&&l.push("skew("+gw(a*O_)+"deg, "+gw(s*O_)+"deg)"),l.join(" ")}var kw=xy.hasGlobalWindow&&r_(window.btoa)?function(t){return window.btoa(unescape(encodeURIComponent(t)))}:"undefined"!=typeof Buffer?function(t){return Buffer.from(t).toString("base64")}:function(t){return null},Lw=Array.prototype.slice;function Pw(t,e,n){return(e-t)*n+t}function Ow(t,e,n,i){for(var r=e.length,o=0;o<r;o++)t[o]=Pw(e[o],n[o],i);return t}function Ew(t,e,n,i){for(var r=e.length,o=0;o<r;o++)t[o]=e[o]+n[o]*i;return t}function Rw(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a<r;a++){t[a]||(t[a]=[]);for(var s=0;s<o;s++)t[a][s]=e[a][s]+n[a][s]*i}return t}function Nw(t,e){for(var n=t.length,i=e.length,r=n>i?e:t,o=Math.min(n,i),a=r[o-1]||{color:[0,0,0,0],offset:0},s=o;s<Math.max(n,i);s++)r.push({offset:a.offset,color:a.color.slice()})}function Bw(t,e,n){var i=t,r=e;if(i.push&&r.push){var o=i.length,a=r.length;if(o!==a)if(o>a)i.length=a;else for(var s=o;s<a;s++)i.push(1===n?r[s]:Lw.call(r[s]));var l=i[0]&&i[0].length;for(s=0;s<i.length;s++)if(1===n)isNaN(i[s])&&(i[s]=r[s]);else for(var u=0;u<l;u++)isNaN(i[s][u])&&(i[s][u]=r[s][u])}}function zw(t){if(Zy(t)){var e=t.length;if(Zy(t[0])){for(var n=[],i=0;i<e;i++)n.push(Lw.call(t[i]));return n}return Lw.call(t)}return t}function Vw(t){return t[0]=Math.floor(t[0])||0,t[1]=Math.floor(t[1])||0,t[2]=Math.floor(t[2])||0,t[3]=null==t[3]?1:t[3],"rgba("+t.join(",")+")"}function Fw(t){return 4===t||5===t}function Gw(t){return 1===t||2===t}var Hw=[0,0,0,0],Ww=function(){function t(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=t}return t.prototype.isFinished=function(){return this._finished},t.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},t.prototype.needsAnimate=function(){return this.keyframes.length>=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var i=this.keyframes,r=i.length,o=!1,a=6,s=e;if(Zy(e)){var l=function(t){return Zy(t&&t[0])?2:1}(e);a=l,(1===l&&!s_(e[0])||2===l&&!s_(e[0][0]))&&(o=!0)}else if(s_(e)&&!p_(e))a=0;else if(o_(e))if(isNaN(+e)){var u=sw(e);u&&(s=u,a=3)}else a=0;else if(d_(e)){var c=jy({},s);c.colorStops=$y(e.colorStops,(function(t){return{offset:t.offset,color:sw(t.color)}})),Mw(e)?a=4:Iw(e)&&(a=5),s=c}0===r?this.valType=a:a===this.valType&&6!==a||(o=!0),this.discrete=this.discrete||o;var h={time:t,value:s,rawValue:e,percent:0};return n&&(h.easing=n,h.easingFunc=r_(n)?n:yb[n]||Ub(n)),i.push(h),h},t.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort((function(t,e){return t.time-e.time}));for(var i=this.valType,r=n.length,o=n[r-1],a=this.discrete,s=Gw(i),l=Fw(i),u=0;u<r;u++){var c=n[u],h=c.value,d=o.value;c.percent=c.time/t,a||(s&&u!==r-1?Bw(h,d,i):l&&Nw(h.colorStops,d.colorStops))}if(!a&&5!==i&&e&&this.needsAnimate()&&e.needsAnimate()&&i===e.valType&&!e._finished){this._additiveTrack=e;var p=n[0].value;for(u=0;u<r;u++)0===i?n[u].additiveValue=n[u].value-p:3===i?n[u].additiveValue=Ew([],n[u].value,p,-1):Gw(i)&&(n[u].additiveValue=1===i?Ew([],n[u].value,p,-1):Rw([],n[u].value,p,-1))}},t.prototype.step=function(t,e){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var n,i,r,o=null!=this._additiveTrack,a=o?"additiveValue":"value",s=this.valType,l=this.keyframes,u=l.length,c=this.propName,h=3===s,d=this._lastFr,p=Math.min;if(1===u)i=r=l[0];else{if(e<0)n=0;else if(e<this._lastFrP){for(n=p(d+1,u-1);n>=0&&!(l[n].percent<=e);n--);n=p(n,u-2)}else{for(n=d;n<u&&!(l[n].percent>e);n++);n=p(n-1,u-2)}r=l[n+1],i=l[n]}if(i&&r){this._lastFr=n,this._lastFrP=e;var f=r.percent-i.percent,g=0===f?1:p((e-i.percent)/f,1);r.easingFunc&&(g=r.easingFunc(g));var v=o?this._additiveValue:h?Hw:t[c];if(!Gw(s)&&!h||v||(v=this._additiveValue=[]),this.discrete)t[c]=g<1?i.rawValue:r.rawValue;else if(Gw(s))1===s?Ow(v,i[a],r[a],g):function(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a<r;a++){t[a]||(t[a]=[]);for(var s=0;s<o;s++)t[a][s]=Pw(e[a][s],n[a][s],i)}}(v,i[a],r[a],g);else if(Fw(s)){var m=i[a],y=r[a],_=4===s;t[c]={type:_?"linear":"radial",x:Pw(m.x,y.x,g),y:Pw(m.y,y.y,g),colorStops:$y(m.colorStops,(function(t,e){var n=y.colorStops[e];return{offset:Pw(t.offset,n.offset,g),color:Vw(Ow([],t.color,n.color,g))}})),global:y.global},_?(t[c].x2=Pw(m.x2,y.x2,g),t[c].y2=Pw(m.y2,y.y2,g)):t[c].r=Pw(m.r,y.r,g)}else if(h)Ow(v,i[a],r[a],g),o||(t[c]=Vw(v));else{var x=Pw(i[a],r[a],g);o?this._additiveValue=x:t[c]=x}o&&this._addToTarget(t)}}},t.prototype._addToTarget=function(t){var e=this.valType,n=this.propName,i=this._additiveValue;0===e?t[n]=t[n]+i:3===e?(sw(t[n],Hw),Ew(Hw,Hw,i,1),t[n]=Vw(Hw)):1===e?Ew(t[n],t[n],i,1):2===e&&Rw(t[n],t[n],i,1)},t}(),Uw=function(){function t(t,e,n,i){this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&i?Gy("Can' use additive animation on looped animation."):(this._additiveAnimators=i,this._allowDiscrete=n)}return t.prototype.getMaxTime=function(){return this._maxTime},t.prototype.getDelay=function(){return this._delay},t.prototype.getLoop=function(){return this._loop},t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(t){this._target=t},t.prototype.when=function(t,e,n){return this.whenWithKeys(t,e,t_(e),n)},t.prototype.whenWithKeys=function(t,e,n,i){for(var r=this._tracks,o=0;o<n.length;o++){var a=n[o],s=r[a];if(!s){s=r[a]=new Ww(a);var l=void 0,u=this._getAdditiveTrack(a);if(u){var c=u.keyframes,h=c[c.length-1];l=h&&h.value,3===u.valType&&l&&(l=Vw(l))}else l=this._target[a];if(null==l)continue;t>0&&s.addKeyframe(0,zw(l),i),this._trackKeys.push(a)}s.addKeyframe(t,zw(e[a]),i)}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,n=0;n<e;n++)t[n].call(this)},t.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,e=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,e)for(var n=0;n<e.length;n++)e[n].call(this)},t.prototype._setTracksFinished=function(){for(var t=this._tracks,e=this._trackKeys,n=0;n<e.length;n++)t[e[n]].setFinished()},t.prototype._getAdditiveTrack=function(t){var e,n=this._additiveAnimators;if(n)for(var i=0;i<n.length;i++){var r=n[i].getTrack(t);r&&(e=r)}return e},t.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var e=this,n=[],i=this._maxTime||0,r=0;r<this._trackKeys.length;r++){var o=this._trackKeys[r],a=this._tracks[o],s=this._getAdditiveTrack(o),l=a.keyframes,u=l.length;if(a.prepare(i,s),a.needsAnimate())if(!this._allowDiscrete&&a.discrete){var c=l[u-1];c&&(e._target[a.propName]=c.rawValue),a.setFinished()}else n.push(a)}if(n.length||this._force){var h=new jb({life:i,loop:this._loop,delay:this._delay||0,onframe:function(t){e._started=2;var i=e._additiveAnimators;if(i){for(var r=!1,o=0;o<i.length;o++)if(i[o]._clip){r=!0;break}r||(e._additiveAnimators=null)}for(o=0;o<n.length;o++)n[o].step(e._target,t);var a=e._onframeCbs;if(a)for(o=0;o<a.length;o++)a[o](e._target,t)},ondestroy:function(){e._doneCallback()}});this._clip=h,this.animation&&this.animation.addClip(h),t&&h.setEasing(t)}else this._doneCallback();return this}},t.prototype.stop=function(t){if(this._clip){var e=this._clip;t&&e.onframe(1),this._abortedCallback()}},t.prototype.delay=function(t){return this._delay=t,this},t.prototype.during=function(t){return t&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(t)),this},t.prototype.done=function(t){return t&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(t)),this},t.prototype.aborted=function(t){return t&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(t)),this},t.prototype.getClip=function(){return this._clip},t.prototype.getTrack=function(t){return this._tracks[t]},t.prototype.getTracks=function(){var t=this;return $y(this._trackKeys,(function(e){return t._tracks[e]}))},t.prototype.stopTracks=function(t,e){if(!t.length||!this._clip)return!0;for(var n=this._tracks,i=this._trackKeys,r=0;r<t.length;r++){var o=n[t[r]];o&&!o.isFinished()&&(e?o.step(this._target,1):1===this._started&&o.step(this._target,0),o.setFinished())}var a=!0;for(r=0;r<i.length;r++)if(!n[i[r]].isFinished()){a=!1;break}return a&&this._abortedCallback(),a},t.prototype.saveTo=function(t,e,n){if(t){e=e||this._trackKeys;for(var i=0;i<e.length;i++){var r=e[i],o=this._tracks[r];if(o&&!o.isFinished()){var a=o.keyframes,s=a[n?0:a.length-1];s&&(t[r]=zw(s.rawValue))}}}},t.prototype.__changeFinalValue=function(t,e){e=e||t_(t);for(var n=0;n<e.length;n++){var i=e[n],r=this._tracks[i];if(r){var o=r.keyframes;if(o.length>1){var a=o.pop();r.addKeyframe(a.time,t[i]),r.prepare(this._maxTime,r.getAdditiveTrack())}}}},t}();function jw(){return(new Date).getTime()}var Yw=function(t){function e(e){var n=t.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,e=e||{},n.stage=e.stage||{},n}return my(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},e.prototype.removeClip=function(t){if(t.animation){var e=t.prev,n=t.next;e?e.next=n:this._head=n,n?n.prev=e:this._tail=e,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},e.prototype.update=function(t){for(var e=jw()-this._pausedTime,n=e-this._time,i=this._head;i;){var r=i.next;i.step(e,n)?(i.ondestroy(),this.removeClip(i),i=r):i=r}this._time=e,t||(this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;this._running=!0,vb((function e(){t._running&&(vb(e),!t._paused&&t.update())}))},e.prototype.start=function(){this._running||(this._time=jw(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=jw(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=jw()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var t=this._head;t;){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._head=this._tail=null},e.prototype.isFinished=function(){return null==this._head},e.prototype.animate=function(t,e){e=e||{},this.start();var n=new Uw(t,e.loop);return this.addAnimator(n),n},e}(Q_);const Xw=Yw;var qw,Zw,Kw,$w=xy.domSupported,Jw=(Zw={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},Kw=$y(qw=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],(function(t){var e=t.replace("mouse","pointer");return Zw.hasOwnProperty(e)?e:t})),{mouse:qw,touch:["touchstart","touchend","touchmove"],pointer:Kw}),Qw=["mousemove","mouseup"],tS=["pointermove","pointerup"],eS=!1;function nS(t){var e=t.pointerType;return"pen"===e||"touch"===e}function iS(t){t&&(t.zrByTouch=!0)}function rS(t,e){for(var n=e,i=!1;n&&9!==n.nodeType&&!(i=n.domBelongToZr||n!==e&&n===t.painterRoot);)n=n.parentNode;return i}var oS=function(t,e){this.stopPropagation=P_,this.stopImmediatePropagation=P_,this.preventDefault=P_,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY},aS={mousedown:function(t){t=vx(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=vx(this.dom,t);var e=this.__mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=vx(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){rS(this,(t=vx(this.dom,t)).toElement||t.relatedTarget)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){eS=!0,t=vx(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){eS||(t=vx(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){iS(t=vx(this.dom,t)),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),aS.mousemove.call(this,t),aS.mousedown.call(this,t)},touchmove:function(t){iS(t=vx(this.dom,t)),this.handler.processGesture(t,"change"),aS.mousemove.call(this,t)},touchend:function(t){iS(t=vx(this.dom,t)),this.handler.processGesture(t,"end"),aS.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<300&&aS.click.call(this,t)},pointerdown:function(t){aS.mousedown.call(this,t)},pointermove:function(t){nS(t)||aS.mousemove.call(this,t)},pointerup:function(t){aS.mouseup.call(this,t)},pointerout:function(t){nS(t)||aS.mouseout.call(this,t)}};Ky(["click","dblclick","contextmenu"],(function(t){aS[t]=function(e){e=vx(this.dom,e),this.trigger(t,e)}}));var sS={pointermove:function(t){nS(t)||sS.mousemove.call(this,t)},pointerup:function(t){sS.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function lS(t,e){var n=e.domHandlers;xy.pointerEventsSupported?Ky(Jw.pointer,(function(i){cS(e,i,(function(e){n[i].call(t,e)}))})):(xy.touchEventsSupported&&Ky(Jw.touch,(function(i){cS(e,i,(function(r){n[i].call(t,r),function(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout((function(){t.touching=!1,t.touchTimer=null}),700)}(e)}))})),Ky(Jw.mouse,(function(i){cS(e,i,(function(r){r=gx(r),e.touching||n[i].call(t,r)}))})))}function uS(t,e){function n(n){cS(e,n,(function(i){i=gx(i),rS(t,i.target)||(i=function(t,e){return vx(t.dom,new oS(t,e),!0)}(t,i),e.domHandlers[n].call(t,i))}),{capture:!0})}xy.pointerEventsSupported?Ky(tS,n):xy.touchEventsSupported||Ky(Qw,n)}function cS(t,e,n,i){t.mounted[e]=n,t.listenerOpts[e]=i,mx(t.domTarget,e,n,i)}function hS(t){var e=t.mounted;for(var n in e)e.hasOwnProperty(n)&&yx(t.domTarget,n,e[n],t.listenerOpts[n]);t.mounted={}}var dS=function(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e};const pS=function(t){function e(e,n){var i=t.call(this)||this;return i.__pointerCapturing=!1,i.dom=e,i.painterRoot=n,i._localHandlerScope=new dS(e,aS),$w&&(i._globalHandlerScope=new dS(document,sS)),lS(i,i._localHandlerScope),i}return my(e,t),e.prototype.dispose=function(){hS(this._localHandlerScope),$w&&hS(this._globalHandlerScope)},e.prototype.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},e.prototype.__togglePointerCapture=function(t){if(this.__mayPointerCapture=null,$w&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?uS(this,e):hS(e)}},e}(Q_);var fS=1;xy.hasGlobalWindow&&(fS=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var gS=fS,vS="#333",mS="#ccc",yS=Ix,_S=5e-5;function xS(t){return t>_S||t<-5e-5}var bS=[],wS=[],SS=[1,0,0,1,0,0],MS=Math.abs,IS=function(){function t(){}var e;return t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},t.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},t.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},t.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},t.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},t.prototype.needLocalTransform=function(){return xS(this.rotation)||xS(this.x)||xS(this.y)||xS(this.scaleX-1)||xS(this.scaleY-1)||xS(this.skewX)||xS(this.skewY)},t.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;e||t?(n=n||[1,0,0,1,0,0],e?this.getLocalTransform(n):yS(n),t&&(e?Cx(n,t,n):Ax(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&(yS(n),this.invTransform=null)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(bS);var n=bS[0]<0?-1:1,i=bS[1]<0?-1:1,r=((bS[0]-n)*e+n)/bS[0]||0,o=((bS[1]-i)*e+i)/bS[1]||0;t[0]*=r,t[1]*=r,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||[1,0,0,1,0,0],Lx(this.invTransform,t)},t.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},t.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),r=Math.PI/2+i-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(r),e=Math.sqrt(e),this.skewX=r,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(Cx(wS,t.invTransform,e),e=wS);var n=this.originX,i=this.originY;(n||i)&&(SS[4]=n,SS[5]=i,Cx(wS,e,SS),wS[4]-=n,wS[5]-=i,e=wS),this.setLocalTransform(e)}},t.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},t.prototype.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&X_(n,n,i),n},t.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&X_(n,n,i),n},t.prototype.getLineScale=function(){var t=this.transform;return t&&MS(t[0]-1)>1e-10&&MS(t[3]-1)>1e-10?Math.sqrt(MS(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(t){CS(this,t)},t.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,i=t.originY||0,r=t.scaleX,o=t.scaleY,a=t.anchorX,s=t.anchorY,l=t.rotation||0,u=t.x,c=t.y,h=t.skewX?Math.tan(t.skewX):0,d=t.skewY?Math.tan(-t.skewY):0;if(n||i||a||s){var p=n+a,f=i+s;e[4]=-p*r-h*f*o,e[5]=-f*o-d*p*r}else e[4]=e[5]=0;return e[0]=r,e[3]=o,e[1]=d*r,e[2]=h*o,l&&Dx(e,e,l),e[4]+=n+u,e[5]+=i+c,e},t.initDefaultProps=((e=t.prototype).scaleX=e.scaleY=e.globalScaleRatio=1,void(e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0)),t}(),AS=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function CS(t,e){for(var n=0;n<AS.length;n++){var i=AS[n];t[i]=e[i]}}const TS=IS;var DS={};function kS(t,e){var n=DS[e=e||Sy];n||(n=DS[e]=new qb(500));var i=n.get(t);return null==i&&(i=Cy.measureText(t,e).width,n.put(t,i)),i}function LS(t,e,n,i){var r=kS(t,e),o=RS(e),a=OS(0,r,n),s=ES(0,o,i);return new Hx(a,s,r,o)}function PS(t,e,n,i){var r=((t||"")+"").split("\n");if(1===r.length)return LS(r[0],e,n,i);for(var o=new Hx(0,0,0,0),a=0;a<r.length;a++){var s=LS(r[a],e,n,i);0===a?o.copy(s):o.union(s)}return o}function OS(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function ES(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function RS(t){return kS("å½",t)}function NS(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function BS(t,e,n){var i=e.position||"inside",r=null!=e.distance?e.distance:5,o=n.height,a=n.width,s=o/2,l=n.x,u=n.y,c="left",h="top";if(i instanceof Array)l+=NS(i[0],n.width),u+=NS(i[1],n.height),c=null,h=null;else switch(i){case"left":l-=r,u+=s,c="right",h="middle";break;case"right":l+=r+a,u+=s,h="middle";break;case"top":l+=a/2,u-=r,c="center",h="bottom";break;case"bottom":l+=a/2,u+=o+r,c="center";break;case"inside":l+=a/2,u+=s,c="center",h="middle";break;case"insideLeft":l+=r,u+=s,h="middle";break;case"insideRight":l+=a-r,u+=s,c="right",h="middle";break;case"insideTop":l+=a/2,u+=r,c="center";break;case"insideBottom":l+=a/2,u+=o-r,c="center",h="bottom";break;case"insideTopLeft":l+=r,u+=r;break;case"insideTopRight":l+=a-r,u+=r,c="right";break;case"insideBottomLeft":l+=r,u+=o-r,h="bottom";break;case"insideBottomRight":l+=a-r,u+=o-r,c="right",h="bottom"}return(t=t||{}).x=l,t.y=u,t.align=c,t.verticalAlign=h,t}var zS="__zr_normal__",VS=AS.concat(["ignore"]),FS=Jy(AS,(function(t,e){return t[e]=!0,t}),{ignore:!1}),GS={},HS=new Hx(0,0,0,0),WS=function(){function t(t){this.id=Fy(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,n){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,r=e.innerTransformable,o=void 0,a=void 0,s=!1;r.parent=i?this:null;var l=!1;if(r.copyTransform(e),null!=n.position){var u=HS;n.layoutRect?u.copy(n.layoutRect):u.copy(this.getBoundingRect()),i||u.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(GS,n,u):BS(GS,n,u),r.x=GS.x,r.y=GS.y,o=GS.align,a=GS.verticalAlign;var c=n.origin;if(c&&null!=n.rotation){var h=void 0,d=void 0;"center"===c?(h=.5*u.width,d=.5*u.height):(h=NS(c[0],u.width),d=NS(c[1],u.height)),l=!0,r.originX=-r.x+h+(i?0:u.x),r.originY=-r.y+d+(i?0:u.y)}}null!=n.rotation&&(r.rotation=n.rotation);var p=n.offset;p&&(r.x+=p[0],r.y+=p[1],l||(r.originX=-p[0],r.originY=-p[1]));var f=null==n.inside?"string"==typeof n.position&&n.position.indexOf("inside")>=0:n.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),v=void 0,m=void 0,y=void 0;f&&this.canBeInsideText()?(v=n.insideFill,m=n.insideStroke,null!=v&&"auto"!==v||(v=this.getInsideTextFill()),null!=m&&"auto"!==m||(m=this.getInsideTextStroke(v),y=!0)):(v=n.outsideFill,m=n.outsideStroke,null!=v&&"auto"!==v||(v=this.getOutsideFill()),null!=m&&"auto"!==m||(m=this.getOutsideStroke(v),y=!0)),(v=v||"#000")===g.fill&&m===g.stroke&&y===g.autoStroke&&o===g.align&&a===g.verticalAlign||(s=!0,g.fill=v,g.stroke=m,g.autoStroke=y,g.align=o,g.verticalAlign=a,e.setDefaultTextStyle(g)),e.__dirty|=lb,s&&e.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(t){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?mS:vS},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"==typeof e&&sw(e);n||(n=[255,255,255,1]);for(var i=n[3],r=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*i+(r?0:255)*(1-i);return n[3]=1,pw(n,"rgba")},t.prototype.traverse=function(t,e){},t.prototype.attrKV=function(t,e){"textConfig"===t?this.setTextConfig(e):"textContent"===t?this.setTextContent(e):"clipPath"===t?this.setClipPath(e):"extra"===t?(this.extra=this.extra||{},jy(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(t,e){if("string"==typeof t)this.attrKV(t,e);else if(l_(t))for(var n=t_(t),i=0;i<n.length;i++){var r=n[i];this.attrKV(r,t[r])}return this.markRedraw(),this},t.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var e=this._normalState,n=0;n<this.animators.length;n++){var i=this.animators[n],r=i.__fromStateTransition;if(!(i.getLoop()||r&&r!==zS)){var o=i.targetName,a=o?e[o]:e;i.saveTo(a)}}},t.prototype._innerSaveToNormal=function(t){var e=this._normalState;e||(e=this._normalState={}),t.textConfig&&!e.textConfig&&(e.textConfig=this.textConfig),this._savePrimaryToNormal(t,e,VS)},t.prototype._savePrimaryToNormal=function(t,e,n){for(var i=0;i<n.length;i++){var r=n[i];null==t[r]||r in e||(e[r]=this[r])}},t.prototype.hasState=function(){return this.currentStates.length>0},t.prototype.getState=function(t){return this.states[t]},t.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},t.prototype.clearStates=function(t){this.useState(zS,!1,t)},t.prototype.useState=function(t,e,n,i){var r=t===zS;if(this.hasState()||!r){var o=this.currentStates,a=this.stateTransition;if(!(Xy(o,t)>=0)||!e&&1!==o.length){var s;if(this.stateProxy&&!r&&(s=this.stateProxy(t)),s||(s=this.states&&this.states[t]),s||r){r||this.saveCurrentToNormalState(s);var l=!!(s&&s.hoverLayer||i);l&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,s,this._normalState,e,!n&&!this.__inHover&&a&&a.duration>0,a);var u=this._textContent,c=this._textGuide;return u&&u.useState(t,e,n,l),c&&c.useState(t,e,n,l),r?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!l&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~lb),s}Gy("State "+t+" not exists.")}}},t.prototype.useStates=function(t,e,n){if(t.length){var i=[],r=this.currentStates,o=t.length,a=o===r.length;if(a)for(var s=0;s<o;s++)if(t[s]!==r[s]){a=!1;break}if(a)return;for(s=0;s<o;s++){var l=t[s],u=void 0;this.stateProxy&&(u=this.stateProxy(l,t)),u||(u=this.states[l]),u&&i.push(u)}var c=i[o-1],h=!!(c&&c.hoverLayer||n);h&&this._toggleHoverLayerFlag(!0);var d=this._mergeStates(i),p=this.stateTransition;this.saveCurrentToNormalState(d),this._applyStateObj(t.join(","),d,this._normalState,!1,!e&&!this.__inHover&&p&&p.duration>0,p);var f=this._textContent,g=this._textGuide;f&&f.useStates(t,e,h),g&&g.useStates(t,e,h),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!h&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~lb)}else this.clearStates()},t.prototype._updateAnimationTargets=function(){for(var t=0;t<this.animators.length;t++){var e=this.animators[t];e.targetName&&e.changeTarget(this[e.targetName])}},t.prototype.removeState=function(t){var e=Xy(this.currentStates,t);if(e>=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},t.prototype.replaceState=function(t,e,n){var i=this.currentStates.slice(),r=Xy(i,t),o=Xy(i,e)>=0;r>=0?o?i.splice(r,1):i[r]=e:n&&!o&&i.push(e),this.useStates(i)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,n={},i=0;i<t.length;i++){var r=t[i];jy(n,r),r.textConfig&&jy(e=e||{},r.textConfig)}return e&&(n.textConfig=e),n},t.prototype._applyStateObj=function(t,e,n,i,r,o){var a=!(e&&i);e&&e.textConfig?(this.textConfig=jy({},i?this.textConfig:n.textConfig),jy(this.textConfig,e.textConfig)):a&&n.textConfig&&(this.textConfig=n.textConfig);for(var s={},l=!1,u=0;u<VS.length;u++){var c=VS[u],h=r&&FS[c];e&&null!=e[c]?h?(l=!0,s[c]=e[c]):this[c]=e[c]:a&&null!=n[c]&&(h?(l=!0,s[c]=n[c]):this[c]=n[c])}if(!r)for(u=0;u<this.animators.length;u++){var d=this.animators[u],p=d.targetName;d.getLoop()||d.__changeFinalValue(p?(e||n)[p]:e||n)}l&&this._transitionState(t,s,o)},t.prototype._attachComponent=function(t){if((!t.__zr||t.__hostTarget)&&t!==this){var e=this.__zr;e&&t.addSelfToZr(e),t.__zr=e,t.__hostTarget=this}},t.prototype._detachComponent=function(t){t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__hostTarget=null},t.prototype.getClipPath=function(){return this._clipPath},t.prototype.setClipPath=function(t){this._clipPath&&this._clipPath!==t&&this.removeClipPath(),this._attachComponent(t),this._clipPath=t,this.markRedraw()},t.prototype.removeClipPath=function(){var t=this._clipPath;t&&(this._detachComponent(t),this._clipPath=null,this.markRedraw())},t.prototype.getTextContent=function(){return this._textContent},t.prototype.setTextContent=function(t){var e=this._textContent;e!==t&&(e&&e!==t&&this.removeTextContent(),t.innerTransformable=new TS,this._attachComponent(t),this._textContent=t,this.markRedraw())},t.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),jy(this.textConfig,t),this.markRedraw()},t.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},t.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.innerTransformable=null,this._detachComponent(t),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},t.prototype.getTextGuideLine=function(){return this._textGuide},t.prototype.setTextGuideLine=function(t){this._textGuide&&this._textGuide!==t&&this.removeTextGuideLine(),this._attachComponent(t),this._textGuide=t,this.markRedraw()},t.prototype.removeTextGuideLine=function(){var t=this._textGuide;t&&(this._detachComponent(t),this._textGuide=null,this.markRedraw())},t.prototype.markRedraw=function(){this.__dirty|=lb;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},t.prototype.dirty=function(){this.markRedraw()},t.prototype._toggleHoverLayerFlag=function(t){this.__inHover=t;var e=this._textContent,n=this._textGuide;e&&(e.__inHover=t),n&&(n.__inHover=t)},t.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.addAnimator(e[n]);this._clipPath&&this._clipPath.addSelfToZr(t),this._textContent&&this._textContent.addSelfToZr(t),this._textGuide&&this._textGuide.addSelfToZr(t)}},t.prototype.removeSelfFromZr=function(t){if(this.__zr){this.__zr=null;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.removeAnimator(e[n]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},t.prototype.animate=function(t,e,n){var i=t?this[t]:this,r=new Uw(i,e,n);return t&&(r.targetName=t),this.addAnimator(r,t),r},t.prototype.addAnimator=function(t,e){var n=this.__zr,i=this;t.during((function(){i.updateDuringAnimation(e)})).done((function(){var e=i.animators,n=Xy(e,t);n>=0&&e.splice(n,1)})),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var n=this.animators,i=n.length,r=[],o=0;o<i;o++){var a=n[o];t&&t!==a.scope?r.push(a):a.stop(e)}return this.animators=r,this},t.prototype.animateTo=function(t,e,n){US(this,t,e,n)},t.prototype.animateFrom=function(t,e,n){US(this,t,e,n,!0)},t.prototype._transitionState=function(t,e,n,i){for(var r=US(this,e,n,i),o=0;o<r.length;o++)r[o].__fromStateTransition=t},t.prototype.getBoundingRect=function(){return null},t.prototype.getPaintRect=function(){return null},t.initDefaultProps=function(){var e=t.prototype;function n(t,n,i,r){function o(t,e){Object.defineProperty(e,0,{get:function(){return t[i]},set:function(e){t[i]=e}}),Object.defineProperty(e,1,{get:function(){return t[r]},set:function(e){t[r]=e}})}Object.defineProperty(e,t,{get:function(){this[n]||o(this,this[n]=[]);return this[n]},set:function(t){this[i]=t[0],this[r]=t[1],this[n]=t,o(this,t)}})}e.type="element",e.name="",e.ignore=e.silent=e.isGroup=e.draggable=e.dragging=e.ignoreClip=e.__inHover=!1,e.__dirty=lb,Object.defineProperty&&(n("position","_legacyPos","x","y"),n("scale","_legacyScale","scaleX","scaleY"),n("origin","_legacyOrigin","originX","originY"))}(),t}();function US(t,e,n,i,r){var o=[];XS(t,"",t,e,n=n||{},i,o,r);var a=o.length,s=!1,l=n.done,u=n.aborted,c=function(){s=!0,--a<=0&&(s?l&&l():u&&u())},h=function(){--a<=0&&(s?l&&l():u&&u())};a||l&&l(),o.length>0&&n.during&&o[0].during((function(t,e){n.during(e)}));for(var d=0;d<o.length;d++){var p=o[d];c&&p.done(c),h&&p.aborted(h),n.force&&p.duration(n.duration),p.start(n.easing)}return o}function jS(t,e,n){for(var i=0;i<n;i++)t[i]=e[i]}function YS(t,e,n){if(Zy(e[n]))if(Zy(t[n])||(t[n]=[]),c_(e[n])){var i=e[n].length;t[n].length!==i&&(t[n]=new e[n].constructor(i),jS(t[n],e[n],i))}else{var r=e[n],o=t[n],a=r.length;if(Zy(r[0]))for(var s=r[0].length,l=0;l<a;l++)o[l]?jS(o[l],r[l],s):o[l]=Array.prototype.slice.call(r[l]);else jS(o,r,a);o.length=r.length}else t[n]=e[n]}function XS(t,e,n,i,r,o,a,s){for(var l=t_(i),u=r.duration,c=r.delay,h=r.additive,d=r.setToFinal,p=!l_(o),f=t.animators,g=[],v=0;v<l.length;v++){var m=l[v],y=i[m];if(null!=y&&null!=n[m]&&(p||o[m]))if(!l_(y)||Zy(y)||d_(y))g.push(m);else{if(e){s||(n[m]=y,t.updateDuringAnimation(e));continue}XS(t,m,n[m],y,r,o&&o[m],a,s)}else s||(n[m]=y,t.updateDuringAnimation(e),g.push(m))}var _=g.length;if(!h&&_)for(var x=0;x<f.length;x++){if((w=f[x]).targetName===e)if(w.stopTracks(g)){var b=Xy(f,w);f.splice(b,1)}}if(r.force||(g=Qy(g,(function(t){return e=i[t],r=n[t],!(e===r||Zy(e)&&Zy(r)&&function(t,e){var n=t.length;if(n!==e.length)return!1;for(var i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}(e,r));var e,r})),_=g.length),_>0||r.force&&!a.length){var w,S=void 0,M=void 0,I=void 0;if(s){M={},d&&(S={});for(x=0;x<_;x++){M[m=g[x]]=n[m],d?S[m]=i[m]:n[m]=i[m]}}else if(d){I={};for(x=0;x<_;x++){I[m=g[x]]=zw(n[m]),YS(n,i,m)}}(w=new Uw(n,!1,!1,h?Qy(f,(function(t){return t.targetName===e})):null)).targetName=e,r.scope&&(w.scope=r.scope),d&&S&&w.whenWithKeys(0,S,g),I&&w.whenWithKeys(0,I,g),w.whenWithKeys(null==u?500:u,s?M:i,g).delay(c||0),t.addAnimator(w,e),a.push(w)}}qy(WS,Q_),qy(WS,TS);const qS=WS;var ZS=function(t){function e(e){var n=t.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(e),n}return my(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.children=function(){return this._children.slice()},e.prototype.childAt=function(t){return this._children[t]},e.prototype.childOfName=function(t){for(var e=this._children,n=0;n<e.length;n++)if(e[n].name===t)return e[n]},e.prototype.childCount=function(){return this._children.length},e.prototype.add=function(t){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),this},e.prototype.addBefore=function(t,e){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var n=this._children,i=n.indexOf(e);i>=0&&(n.splice(i,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var n=Xy(this._children,t);return n>=0&&this.replaceAt(e,n),this},e.prototype.replaceAt=function(t,e){var n=this._children,i=n[e];if(t&&t!==this&&t.parent!==this&&t!==i){n[e]=t,i.parent=null;var r=this.__zr;r&&i.removeSelfFromZr(r),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},e.prototype.remove=function(t){var e=this.__zr,n=this._children,i=Xy(n,t);return i<0||(n.splice(i,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,n=0;n<t.length;n++){var i=t[n];e&&i.removeSelfFromZr(e),i.parent=null}return t.length=0,this},e.prototype.eachChild=function(t,e){for(var n=this._children,i=0;i<n.length;i++){var r=n[i];t.call(e,r,i)}return this},e.prototype.traverse=function(t,e){for(var n=0;n<this._children.length;n++){var i=this._children[n],r=t.call(e,i);i.isGroup&&!r&&i.traverse(t,e)}return this},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++){this._children[n].addSelfToZr(e)}},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++){this._children[n].removeSelfFromZr(e)}},e.prototype.getBoundingRect=function(t){for(var e=new Hx(0,0,0,0),n=t||this._children,i=[],r=null,o=0;o<n.length;o++){var a=n[o];if(!a.ignore&&!a.invisible){var s=a.getBoundingRect(),l=a.getLocalTransform(i);l?(Hx.applyTransform(e,s,l),(r=r||e.clone()).union(e)):(r=r||s.clone()).union(s)}}return r||e},e}(qS);ZS.prototype.type="group";const KS=ZS; |
| | | /*! |
| | | * ZRender, a high performance 2d drawing library. |
| | | * |
| | | * Copyright (c) 2013, Baidu Inc. |
| | | * All rights reserved. |
| | | * |
| | | * LICENSE |
| | | * https://github.com/ecomfe/zrender/blob/master/LICENSE.txt |
| | | */var $S={},JS={};var QS=function(){function t(t,e,n){var i=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=e,this.id=t;var r=new fb,o=n.renderer||"canvas";$S[o]||(o=t_($S)[0]),n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var a=new $S[o](e,r,n,t),s=n.ssr||a.ssrOnly;this.storage=r,this.painter=a;var l,u=xy.node||xy.worker||s?null:new pS(a.getViewportRoot(),a.root),c=n.useCoarsePointer;(null==c||"auto"===c?xy.touchEventsSupported:!!c)&&(l=g_(n.pointerSize,44)),this.handler=new Qx(r,a,u,a.root,l),this.animation=new Xw({stage:{update:s?null:function(){return i._flush(!0)}}}),s||this.animation.start()}return t.prototype.add=function(t){t&&(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},t.prototype.remove=function(t){t&&(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},t.prototype.configLayer=function(t,e){this.painter.configLayer&&this.painter.configLayer(t,e),this.refresh()},t.prototype.setBackgroundColor=function(t){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=function(t){if(!t)return!1;if("string"==typeof t)return fw(t,1)<.4;if(t.colorStops){for(var e=t.colorStops,n=0,i=e.length,r=0;r<i;r++)n+=fw(e[r].color,1);return(n/=i)<.4}return!1}(t)},t.prototype.getBackgroundColor=function(){return this._backgroundColor},t.prototype.setDarkMode=function(t){this._darkMode=t},t.prototype.isDarkMode=function(){return this._darkMode},t.prototype.refreshImmediately=function(t){t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},t.prototype.refresh=function(){this._needsRefresh=!0,this.animation.start()},t.prototype.flush=function(){this._flush(!1)},t.prototype._flush=function(t){var e,n=jw();this._needsRefresh&&(e=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately());var i=jw();e?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:i-n})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){this.animation.start(),this._stillFrameAccum=0},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover()},t.prototype.resize=function(t){t=t||{},this.painter.resize(t.width,t.height),this.handler.resize()},t.prototype.clearAnimation=function(){this.animation.clear()},t.prototype.getWidth=function(){return this.painter.getWidth()},t.prototype.getHeight=function(){return this.painter.getHeight()},t.prototype.setCursorStyle=function(t){this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){return this.handler.findHover(t,e)},t.prototype.on=function(t,e,n){return this.handler.on(t,e,n),this},t.prototype.off=function(t,e){this.handler.off(t,e)},t.prototype.trigger=function(t,e){this.handler.trigger(t,e)},t.prototype.clear=function(){for(var t=this.storage.getRoots(),e=0;e<t.length;e++)t[e]instanceof KS&&t[e].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()},t.prototype.dispose=function(){var t;this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,t=this.id,delete JS[t]},t}();function tM(t,e){var n=new QS(Fy(),t,e);return JS[n.id]=n,n}var eM=1e-4,nM=20;function iM(t,e,n,i){var r=e[0],o=e[1],a=n[0],s=n[1],l=o-r,u=s-a;if(0===l)return 0===u?a:(a+s)/2;if(i)if(l>0){if(t<=r)return a;if(t>=o)return s}else{if(t>=r)return a;if(t<=o)return s}else{if(t===r)return a;if(t===o)return s}return(t-r)/l*u+a}function rM(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 o_(t)?(n=t,n.replace(/^\s+|\s+$/g,"")).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t;var n}function oM(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),nM),t=(+t).toFixed(e),n?t:+t}function aM(t){return t.sort((function(t,e){return t-e})),t}function sM(t){if(t=+t,isNaN(t))return 0;if(t>1e-14)for(var e=1,n=0;n<15;n++,e*=10)if(Math.round(t*e)/e===t)return n;return function(t){var e=t.toString().toLowerCase(),n=e.indexOf("e"),i=n>0?+e.slice(n+1):0,r=n>0?n:e.length,o=e.indexOf("."),a=o<0?0:r-1-o;return Math.max(0,a-i)}(t)}function lM(t,e){var n=Math.log,i=Math.LN10,r=Math.floor(n(t[1]-t[0])/i),o=Math.round(n(Math.abs(e[1]-e[0]))/i),a=Math.min(Math.max(-r+o,0),20);return isFinite(a)?a:20}function uM(t,e){var n=Math.max(sM(t),sM(e)),i=t+e;return n>nM?i:oM(i,n)}var cM=9007199254740991;function hM(t){var e=2*Math.PI;return(t%e+e)%e}function dM(t){return t>-eM&&t<eM}var pM=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function fM(t){if(t instanceof Date)return t;if(o_(t)){var e=pM.exec(t);if(!e)return new Date(NaN);if(e[8]){var n=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(n-=+e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,n,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0))}return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0)}return null==t?new Date(NaN):new Date(Math.round(t))}function gM(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 vM(t,e){var n=gM(t),i=Math.pow(10,n),r=t/i;return t=(e?r<1.5?1:r<2.5?2:r<4?3:r<7?5:10:r<1?1:r<2?2:r<3?3:r<5?5:10)*i,n>=-20?+t.toFixed(n<0?-n:0):t}function mM(t,e){var n=(t.length-1)*e+1,i=Math.floor(n),r=+t[i-1],o=n-i;return o?r+o*(t[i]-r):r}function yM(t){t.sort((function(t,e){return s(t,e,0)?-1:1}));for(var e=-1/0,n=1,i=0;i<t.length;){for(var r=t[i].interval,o=t[i].close,a=0;a<2;a++)r[a]<=e&&(r[a]=e,o[a]=a?1:1-n),e=r[a],n=o[a];r[0]===r[1]&&o[0]*o[1]!=1?t.splice(i,1):i++}return t;function s(t,e,n){return t.interval[n]<e.interval[n]||t.interval[n]===e.interval[n]&&(t.close[n]-e.close[n]==(n?-1:1)||!n&&s(t,e,1))}}function _M(t){var e=parseFloat(t);return e==t&&(0!==e||!o_(t)||t.indexOf("x")<=0)?e:NaN}function xM(t){return!isNaN(_M(t))}function bM(){return Math.round(9*Math.random())}function wM(t,e){return 0===e?t:wM(e,t%e)}function SM(t,e){return null==t?e:null==e?t:t*e/wM(t,e)}"undefined"!=typeof console&&console.warn&&console.log;function MM(t){throw new Error(t)}function IM(t,e,n){return(e-t)*n+t}var AM="series\0",CM="\0_ec_\0";function TM(t){return t instanceof Array?t:null==t?[]:[t]}function DM(t,e,n){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var i=0,r=n.length;i<r;i++){var o=n[i];!t.emphasis[e].hasOwnProperty(o)&&t[e].hasOwnProperty(o)&&(t.emphasis[e][o]=t[e][o])}}}var kM=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function LM(t){return!l_(t)||i_(t)||t instanceof Date?t:t.value}function PM(t){return l_(t)&&!(t instanceof Array)}function OM(t,e,n){var i="normalMerge"===n,r="replaceMerge"===n,o="replaceAll"===n;t=t||[],e=(e||[]).slice();var a=C_();Ky(e,(function(t,n){l_(t)||(e[n]=null)}));var s,l,u=function(t,e,n){var i=[];if("replaceAll"===n)return i;for(var r=0;r<t.length;r++){var o=t[r];o&&null!=o.id&&e.set(o.id,r),i.push({existing:"replaceMerge"===n||zM(o)?null:o,newOption:null,keyInfo:null,brandNew:null})}return i}(t,a,n);return(i||r)&&function(t,e,n,i){Ky(i,(function(r,o){if(r&&null!=r.id){var a=RM(r.id),s=n.get(a);if(null!=s){var l=t[s];__(!l.newOption,'Duplicated option on id "'+a+'".'),l.newOption=r,l.existing=e[s],i[o]=null}}}))}(u,t,a,e),i&&function(t,e){Ky(e,(function(n,i){if(n&&null!=n.name)for(var r=0;r<t.length;r++){var o=t[r].existing;if(!t[r].newOption&&o&&(null==o.id||null==n.id)&&!zM(n)&&!zM(o)&&EM("name",o,n))return t[r].newOption=n,void(e[i]=null)}}))}(u,e),i||r?function(t,e,n){Ky(e,(function(e){if(e){for(var i,r=0;(i=t[r])&&(i.newOption||zM(i.existing)||i.existing&&null!=e.id&&!EM("id",e,i.existing));)r++;i?(i.newOption=e,i.brandNew=n):t.push({newOption:e,brandNew:n,existing:null,keyInfo:null}),r++}}))}(u,e,r):o&&function(t,e){Ky(e,(function(e){t.push({newOption:e,brandNew:!0,existing:null,keyInfo:null})}))}(u,e),s=u,l=C_(),Ky(s,(function(t){var e=t.existing;e&&l.set(e.id,t)})),Ky(s,(function(t){var e=t.newOption;__(!e||null==e.id||!l.get(e.id)||l.get(e.id)===t,"id duplicates: "+(e&&e.id)),e&&null!=e.id&&l.set(e.id,t),!t.keyInfo&&(t.keyInfo={})})),Ky(s,(function(t,e){var n=t.existing,i=t.newOption,r=t.keyInfo;if(l_(i)){if(r.name=null!=i.name?RM(i.name):n?n.name:AM+e,n)r.id=RM(n.id);else if(null!=i.id)r.id=RM(i.id);else{var o=0;do{r.id="\0"+r.name+"\0"+o++}while(l.get(r.id))}l.set(r.id,t)}})),u}function EM(t,e,n){var i=NM(e[t],null),r=NM(n[t],null);return null!=i&&null!=r&&i===r}function RM(t){return NM(t,"")}function NM(t,e){return null==t?e:o_(t)?t:s_(t)||a_(t)?t+"":e}function BM(t){var e=t.name;return!(!e||!e.indexOf(AM))}function zM(t){return t&&null!=t.id&&0===RM(t.id).indexOf(CM)}function VM(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?i_(e.dataIndex)?$y(e.dataIndex,(function(e){return t.indexOfRawIndex(e)})):t.indexOfRawIndex(e.dataIndex):null!=e.name?i_(e.name)?$y(e.name,(function(e){return t.indexOfName(e)})):t.indexOfName(e.name):void 0}function FM(){var t="__ec_inner_"+GM++;return function(e){return e[t]||(e[t]={})}}var GM=bM();function HM(t,e,n){var i=WM(e,n),r=i.mainTypeSpecified,o=i.queryOptionMap,a=i.others,s=n?n.defaultMainType:null;return!r&&s&&o.set(s,{}),o.each((function(e,i){var r=YM(t,i,e,{useDefault:s===i,enableAll:!n||null==n.enableAll||n.enableAll,enableNone:!n||null==n.enableNone||n.enableNone});a[i+"Models"]=r.models,a[i+"Model"]=r.models[0]})),a}function WM(t,e){var n;if(o_(t)){var i={};i[t+"Index"]=0,n=i}else n=t;var r=C_(),o={},a=!1;return Ky(n,(function(t,n){if("dataIndex"!==n&&"dataIndexInside"!==n){var i=n.match(/^(\w+)(Index|Id|Name)$/)||[],s=i[1],l=(i[2]||"").toLowerCase();if(s&&l&&!(e&&e.includeMainTypes&&Xy(e.includeMainTypes,s)<0))a=a||!!s,(r.get(s)||r.set(s,{}))[l]=t}else o[n]=t})),{mainTypeSpecified:a,queryOptionMap:r,others:o}}var UM={useDefault:!0,enableAll:!1,enableNone:!1},jM={useDefault:!1,enableAll:!0,enableNone:!0};function YM(t,e,n,i){i=i||UM;var r=n.index,o=n.id,a=n.name,s={models:null,specified:null!=r||null!=o||null!=a};if(!s.specified){var l=void 0;return s.models=i.useDefault&&(l=t.getComponent(e))?[l]:[],s}return"none"===r||!1===r?(__(i.enableNone,'`"none"` or `false` is not a valid value on index option.'),s.models=[],s):("all"===r&&(__(i.enableAll,'`"all"` is not a valid value on index option.'),r=o=a=null),s.models=t.queryComponents({mainType:e,index:r,id:o,name:a}),s)}function XM(t,e,n){t.setAttribute?t.setAttribute(e,n):t[e]=n}function qM(t,e){var n=C_(),i=[];return Ky(t,(function(t){var r=e(t);(n.get(r)||(i.push(r),n.set(r,[]))).push(t)})),{keys:i,buckets:n}}function ZM(t,e,n,i,r){var o=null==e||"auto"===e;if(null==i)return i;if(s_(i))return oM(f=IM(n||0,i,r),o?Math.max(sM(n||0),sM(i)):e);if(o_(i))return r<1?n:i;for(var a=[],s=n,l=i,u=Math.max(s?s.length:0,l.length),c=0;c<u;++c){var h=t.getDimensionInfo(c);if(h&&"ordinal"===h.type)a[c]=(r<1&&s?s:l)[c];else{var d=s&&s[c]?s[c]:0,p=l[c],f=IM(d,p,r);a[c]=oM(f,o?Math.max(sM(d),sM(p)):e)}}return a}var KM=".",$M="___EC__COMPONENT__CONTAINER___",JM="___EC__EXTENDED_CLASS___";function QM(t){var e={main:"",sub:""};if(t){var n=t.split(KM);e.main=n[0]||"",e.sub=n[1]||""}return e}function tI(t,e){t.$constructor=t,t.extend=function(t){var e,n=this;return!function(t){return r_(t)&&/^class\s/.test(Function.prototype.toString.call(t))}(n)?(e=function(){(t.$constructor||n).apply(this,arguments)},function(t,e){var n=t.prototype;function i(){}for(var r in i.prototype=e.prototype,t.prototype=new i,n)n.hasOwnProperty(r)&&(t.prototype[r]=n[r]);t.prototype.constructor=t,t.superClass=e}(e,this)):e=function(t){function e(){return t.apply(this,arguments)||this}return my(e,t),e}(n),jy(e.prototype,t),e[JM]=!0,e.extend=this.extend,e.superCall=iI,e.superApply=rI,e.superClass=n,e}}function eI(t,e){t.extend=e.extend}var nI=Math.round(10*Math.random());function iI(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return this.superClass.prototype[e].apply(t,n)}function rI(t,e,n){return this.superClass.prototype[e].apply(t,n)}function oI(t){var e={};t.registerClass=function(t){var n,i=t.type||t.prototype.type;if(i){__(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(n=i),'componentType "'+n+'" illegal'),t.prototype.type=i;var r=QM(i);if(r.sub){if(r.sub!==$M){var o=function(t){var n=e[t.main];n&&n[$M]||((n=e[t.main]={})[$M]=!0);return n}(r);o[r.sub]=t}}else e[r.main]=t}return t},t.getClass=function(t,n,i){var r=e[t];if(r&&r[$M]&&(r=n?r[n]:null),i&&!r)throw new Error(n?"Component "+t+"."+(n||"")+" is used but not imported.":t+".type should be specified.");return r},t.getClassesByMainType=function(t){var n=QM(t),i=[],r=e[n.main];return r&&r[$M]?Ky(r,(function(t,e){e!==$M&&i.push(t)})):i.push(r),i},t.hasClass=function(t){var n=QM(t);return!!e[n.main]},t.getAllClassMainTypes=function(){var t=[];return Ky(e,(function(e,n){t.push(n)})),t},t.hasSubTypes=function(t){var n=QM(t),i=e[n.main];return i&&i[$M]}}function aI(t,e){for(var n=0;n<t.length;n++)t[n][1]||(t[n][1]=t[n][0]);return e=e||!1,function(n,i,r){for(var o={},a=0;a<t.length;a++){var s=t[a][1];if(!(i&&Xy(i,s)>=0||r&&Xy(r,s)<0)){var l=n.getShallow(s,e);null!=l&&(o[t[a][0]]=l)}}return o}}var sI=aI([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),lI=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return sI(this,t,e)},t}(),uI=new qb(50);function cI(t){if("string"==typeof t){var e=uI.get(t);return e&&e.image}return t}function hI(t,e,n,i,r){if(t){if("string"==typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var o=uI.get(t),a={hostEl:n,cb:i,cbPayload:r};return o?!pI(e=o.image)&&o.pending.push(a):((e=Cy.loadImage(t,dI,dI)).__zrImageSrc=t,uI.put(t,e.__cachedImgObj={image:e,pending:[a]})),e}return t}return e}function dI(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var n=t.pending[e],i=n.cb;i&&i(this,n.cbPayload),n.hostEl.dirty()}t.pending.length=0}function pI(t){return t&&t.width&&t.height}var fI=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function gI(t,e,n,i,r){if(!e)return"";var o=(t+"").split("\n");r=vI(e,n,i,r);for(var a=0,s=o.length;a<s;a++)o[a]=mI(o[a],r);return o.join("\n")}function vI(t,e,n,i){var r=jy({},i=i||{});r.font=e,n=g_(n,"..."),r.maxIterations=g_(i.maxIterations,2);var o=r.minChar=g_(i.minChar,0);r.cnCharWidth=kS("å½",e);var a=r.ascCharWidth=kS("a",e);r.placeholder=g_(i.placeholder,"");for(var s=t=Math.max(0,t-1),l=0;l<o&&s>=a;l++)s-=a;var u=kS(n,e);return u>s&&(n="",u=0),s=t-u,r.ellipsis=n,r.ellipsisWidth=u,r.contentWidth=s,r.containerWidth=t,r}function mI(t,e){var n=e.containerWidth,i=e.font,r=e.contentWidth;if(!n)return"";var o=kS(t,i);if(o<=n)return t;for(var a=0;;a++){if(o<=r||a>=e.maxIterations){t+=e.ellipsis;break}var s=0===a?yI(t,r,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*r/o):0;o=kS(t=t.substr(0,s),i)}return""===t&&(t=e.placeholder),t}function yI(t,e,n,i){for(var r=0,o=0,a=t.length;o<a&&r<e;o++){var s=t.charCodeAt(o);r+=0<=s&&s<=127?n:i}return o}var _I=function(){},xI=function(t){this.tokens=[],t&&(this.tokens=t)},bI=function(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]};function wI(t,e,n,i,r){var o,a,s=""===e,l=r&&n.rich[r]||{},u=t.lines,c=l.font||n.font,h=!1;if(i){var d=l.padding,p=d?d[1]+d[3]:0;if(null!=l.width&&"auto"!==l.width){var f=NS(l.width,i.width)+p;u.length>0&&f+i.accumWidth>i.width&&(o=e.split("\n"),h=!0),i.accumWidth=f}else{var g=II(e,c,i.width,i.breakAll,i.accumWidth);i.accumWidth=g.accumWidth+p,a=g.linesWidths,o=g.lines}}else o=e.split("\n");for(var v=0;v<o.length;v++){var m=o[v],y=new _I;if(y.styleName=r,y.text=m,y.isLineHolder=!m&&!s,"number"==typeof l.width?y.width=l.width:y.width=a?a[v]:kS(m,c),v||h)u.push(new xI([y]));else{var _=(u[u.length-1]||(u[0]=new xI)).tokens,x=_.length;1===x&&_[0].isLineHolder?_[0]=y:(m||!x||s)&&_.push(y)}}}var SI=Jy(",&?/;] ".split(""),(function(t,e){return t[e]=!0,t}),{});function MI(t){return!function(t){var e=t.charCodeAt(0);return e>=32&&e<=591||e>=880&&e<=4351||e>=4608&&e<=5119||e>=7680&&e<=8303}(t)||!!SI[t]}function II(t,e,n,i,r){for(var o=[],a=[],s="",l="",u=0,c=0,h=0;h<t.length;h++){var d=t.charAt(h);if("\n"!==d){var p=kS(d,e),f=!i&&!MI(d);(o.length?c+p>n:r+c+p>n)?c?(s||l)&&(f?(s||(s=l,l="",c=u=0),o.push(s),a.push(c-u),l+=d,s="",c=u+=p):(l&&(s+=l,l="",u=0),o.push(s),a.push(c),s=d,c=p)):f?(o.push(l),a.push(u),l=d,u=p):(o.push(d),a.push(p)):(c+=p,f?(l+=d,u+=p):(l&&(s+=l,l="",u=0),s+=d))}else l&&(s+=l,c+=u),o.push(s),a.push(c),s="",l="",u=0,c=0}return o.length||s||(s=t,l="",u=0),l&&(s+=l),s&&(o.push(s),a.push(c)),1===o.length&&(c+=r),{accumWidth:c,lines:o,linesWidths:a}}var AI="__zr_style_"+Math.round(10*Math.random()),CI={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},TI={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};CI[AI]=!0;var DI=["z","z2","invisible"],kI=["invisible"],LI=function(t){function e(e){return t.call(this,e)||this}var n;return my(e,t),e.prototype._init=function(e){for(var n=t_(e),i=0;i<n.length;i++){var r=n[i];"style"===r?this.useStyle(e[r]):t.prototype.attrKV.call(this,r,e[r])}this.style||this.useStyle({})},e.prototype.beforeBrush=function(){},e.prototype.afterBrush=function(){},e.prototype.innerBeforeBrush=function(){},e.prototype.innerAfterBrush=function(){},e.prototype.shouldBePainted=function(t,e,n,i){var r=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&function(t,e,n){PI.copy(t.getBoundingRect()),t.transform&&PI.applyTransform(t.transform);return OI.width=e,OI.height=n,!PI.intersect(OI)}(this,t,e)||r&&!r[0]&&!r[3])return!1;if(n&&this.__clipPaths)for(var o=0;o<this.__clipPaths.length;++o)if(this.__clipPaths[o].isZeroArea())return!1;if(i&&this.parent)for(var a=this.parent;a;){if(a.ignore)return!1;a=a.parent}return!0},e.prototype.contain=function(t,e){return this.rectContain(t,e)},e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.rectContain=function(t,e){var n=this.transformCoordToLocal(t,e);return this.getBoundingRect().contain(n[0],n[1])},e.prototype.getPaintRect=function(){var t=this._paintRect;if(!this._paintRect||this.__dirty){var e=this.transform,n=this.getBoundingRect(),i=this.style,r=i.shadowBlur||0,o=i.shadowOffsetX||0,a=i.shadowOffsetY||0;t=this._paintRect||(this._paintRect=new Hx(0,0,0,0)),e?Hx.applyTransform(t,n,e):t.copy(n),(r||o||a)&&(t.width+=2*r+Math.abs(o),t.height+=2*r+Math.abs(a),t.x=Math.min(t.x,t.x+o-r),t.y=Math.min(t.y,t.y+a-r));var s=this.dirtyRectTolerance;t.isZero()||(t.x=Math.floor(t.x-s),t.y=Math.floor(t.y-s),t.width=Math.ceil(t.width+1+2*s),t.height=Math.ceil(t.height+1+2*s))}return t},e.prototype.setPrevPaintRect=function(t){t?(this._prevPaintRect=this._prevPaintRect||new Hx(0,0,0,0),this._prevPaintRect.copy(t)):this._prevPaintRect=null},e.prototype.getPrevPaintRect=function(){return this._prevPaintRect},e.prototype.animateStyle=function(t){return this.animate("style",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():this.markRedraw()},e.prototype.attrKV=function(e,n){"style"!==e?t.prototype.attrKV.call(this,e,n):this.style?this.setStyle(n):this.useStyle(n)},e.prototype.setStyle=function(t,e){return"string"==typeof t?this.style[t]=e:jy(this.style,t),this.dirtyStyle(),this},e.prototype.dirtyStyle=function(t){t||this.markRedraw(),this.__dirty|=2,this._rect&&(this._rect=null)},e.prototype.dirty=function(){this.dirtyStyle()},e.prototype.styleChanged=function(){return!!(2&this.__dirty)},e.prototype.styleUpdated=function(){this.__dirty&=-3},e.prototype.createStyle=function(t){return D_(CI,t)},e.prototype.useStyle=function(t){t[AI]||(t=this.createStyle(t)),this.__inHover?this.__hoverStyle=t:this.style=t,this.dirtyStyle()},e.prototype.isStyleObject=function(t){return t[AI]},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.style&&!n.style&&(n.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(e,n,DI)},e.prototype._applyStateObj=function(e,n,i,r,o,a){t.prototype._applyStateObj.call(this,e,n,i,r,o,a);var s,l=!(n&&r);if(n&&n.style?o?r?s=n.style:(s=this._mergeStyle(this.createStyle(),i.style),this._mergeStyle(s,n.style)):(s=this._mergeStyle(this.createStyle(),r?this.style:i.style),this._mergeStyle(s,n.style)):l&&(s=i.style),s)if(o){var u=this.style;if(this.style=this.createStyle(l?{}:u),l)for(var c=t_(u),h=0;h<c.length;h++){(p=c[h])in s&&(s[p]=s[p],this.style[p]=u[p])}var d=t_(s);for(h=0;h<d.length;h++){var p=d[h];this.style[p]=this.style[p]}this._transitionState(e,{style:s},a,this.getAnimationStyleProps())}else this.useStyle(s);var f=this.__inHover?kI:DI;for(h=0;h<f.length;h++){p=f[h];n&&null!=n[p]?this[p]=n[p]:l&&null!=i[p]&&(this[p]=i[p])}},e.prototype._mergeStates=function(e){for(var n,i=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var o=e[r];o.style&&(n=n||{},this._mergeStyle(n,o.style))}return n&&(i.style=n),i},e.prototype._mergeStyle=function(t,e){return jy(t,e),t},e.prototype.getAnimationStyleProps=function(){return TI},e.initDefaultProps=((n=e.prototype).type="displayable",n.invisible=!1,n.z=0,n.z2=0,n.zlevel=0,n.culling=!1,n.cursor="pointer",n.rectHover=!1,n.incremental=!1,n._rect=null,n.dirtyRectTolerance=0,void(n.__dirty=2|lb)),e}(qS),PI=new Hx(0,0,0,0),OI=new Hx(0,0,0,0);const EI=LI;var RI=Math.min,NI=Math.max,BI=Math.sin,zI=Math.cos,VI=2*Math.PI,FI=E_(),GI=E_(),HI=E_();function WI(t,e,n){if(0!==t.length){for(var i=t[0],r=i[0],o=i[0],a=i[1],s=i[1],l=1;l<t.length;l++)i=t[l],r=RI(r,i[0]),o=NI(o,i[0]),a=RI(a,i[1]),s=NI(s,i[1]);e[0]=r,e[1]=a,n[0]=o,n[1]=s}}function UI(t,e,n,i,r,o){r[0]=RI(t,n),r[1]=RI(e,i),o[0]=NI(t,n),o[1]=NI(e,i)}var jI=[],YI=[];function XI(t,e,n,i,r,o,a,s,l,u){var c=Ob,h=kb,d=c(t,n,r,a,jI);l[0]=1/0,l[1]=1/0,u[0]=-1/0,u[1]=-1/0;for(var p=0;p<d;p++){var f=h(t,n,r,a,jI[p]);l[0]=RI(f,l[0]),u[0]=NI(f,u[0])}d=c(e,i,o,s,YI);for(p=0;p<d;p++){var g=h(e,i,o,s,YI[p]);l[1]=RI(g,l[1]),u[1]=NI(g,u[1])}l[0]=RI(t,l[0]),u[0]=NI(t,u[0]),l[0]=RI(a,l[0]),u[0]=NI(a,u[0]),l[1]=RI(e,l[1]),u[1]=NI(e,u[1]),l[1]=RI(s,l[1]),u[1]=NI(s,u[1])}function qI(t,e,n,i,r,o,a,s){var l=Vb,u=Bb,c=NI(RI(l(t,n,r),1),0),h=NI(RI(l(e,i,o),1),0),d=u(t,n,r,c),p=u(e,i,o,h);a[0]=RI(t,r,d),a[1]=RI(e,o,p),s[0]=NI(t,r,d),s[1]=NI(e,o,p)}function ZI(t,e,n,i,r,o,a,s,l){var u=q_,c=Z_,h=Math.abs(r-o);if(h%VI<1e-4&&h>1e-4)return s[0]=t-n,s[1]=e-i,l[0]=t+n,void(l[1]=e+i);if(FI[0]=zI(r)*n+t,FI[1]=BI(r)*i+e,GI[0]=zI(o)*n+t,GI[1]=BI(o)*i+e,u(s,FI,GI),c(l,FI,GI),(r%=VI)<0&&(r+=VI),(o%=VI)<0&&(o+=VI),r>o&&!a?o+=VI:r<o&&a&&(r+=VI),a){var d=o;o=r,r=d}for(var p=0;p<o;p+=Math.PI/2)p>r&&(HI[0]=zI(p)*n+t,HI[1]=BI(p)*i+e,u(s,HI,s),c(l,HI,l))}var KI={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},$I=[],JI=[],QI=[],tA=[],eA=[],nA=[],iA=Math.min,rA=Math.max,oA=Math.cos,aA=Math.sin,sA=Math.abs,lA=Math.PI,uA=2*lA,cA="undefined"!=typeof Float32Array,hA=[];function dA(t){return Math.round(t/lA*1e8)/1e8%2*lA}function pA(t,e){var n=dA(t[0]);n<0&&(n+=uA);var i=n-t[0],r=t[1];r+=i,!e&&r-n>=uA?r=n+uA:e&&n-r>=uA?r=n-uA:!e&&n>r?r=n+(uA-dA(n-r)):e&&n<r&&(r=n-(uA-dA(r-n))),t[0]=n,t[1]=r}var fA=function(){function t(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}var e;return t.prototype.increaseVersion=function(){this._version++},t.prototype.getVersion=function(){return this._version},t.prototype.setScale=function(t,e,n){(n=n||0)>0&&(this._ux=sA(n/gS/t)||0,this._uy=sA(n/gS/e)||0)},t.prototype.setDPR=function(t){this.dpr=t},t.prototype.setContext=function(t){this._ctx=t},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(KI.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},t.prototype.lineTo=function(t,e){var n=sA(t-this._xi),i=sA(e-this._yi),r=n>this._ux||i>this._uy;if(this.addData(KI.L,t,e),this._ctx&&r&&this._ctx.lineTo(t,e),r)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=n*n+i*i;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},t.prototype.bezierCurveTo=function(t,e,n,i,r,o){return this._drawPendingPt(),this.addData(KI.C,t,e,n,i,r,o),this._ctx&&this._ctx.bezierCurveTo(t,e,n,i,r,o),this._xi=r,this._yi=o,this},t.prototype.quadraticCurveTo=function(t,e,n,i){return this._drawPendingPt(),this.addData(KI.Q,t,e,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,i),this._xi=n,this._yi=i,this},t.prototype.arc=function(t,e,n,i,r,o){this._drawPendingPt(),hA[0]=i,hA[1]=r,pA(hA,o),i=hA[0];var a=(r=hA[1])-i;return this.addData(KI.A,t,e,n,n,i,a,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,i,r,o),this._xi=oA(r)*n+t,this._yi=aA(r)*n+e,this},t.prototype.arcTo=function(t,e,n,i,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},t.prototype.rect=function(t,e,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,i),this.addData(KI.R,t,e,n,i),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(KI.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},t.prototype.fill=function(t){t&&t.fill(),this.toStatic()},t.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},t.prototype.len=function(){return this._len},t.prototype.setData=function(t){var e=t.length;this.data&&this.data.length===e||!cA||(this.data=new Float32Array(e));for(var n=0;n<e;n++)this.data[n]=t[n];this._len=e},t.prototype.appendPath=function(t){t instanceof Array||(t=[t]);for(var e=t.length,n=0,i=this._len,r=0;r<e;r++)n+=t[r].len();cA&&this.data instanceof Float32Array&&(this.data=new Float32Array(i+n));for(r=0;r<e;r++)for(var o=t[r].data,a=0;a<o.length;a++)this.data[i++]=o[a];this._len=i},t.prototype.addData=function(t,e,n,i,r,o,a,s,l){if(this._saveData){var u=this.data;this._len+arguments.length>u.length&&(this._expandData(),u=this.data);for(var c=0;c<arguments.length;c++)u[this._len++]=arguments[c]}},t.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e<this._len;e++)t[e]=this.data[e];this.data=t}},t.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,cA&&this._len>11&&(this.data=new Float32Array(t)))}},t.prototype.getBoundingRect=function(){QI[0]=QI[1]=eA[0]=eA[1]=Number.MAX_VALUE,tA[0]=tA[1]=nA[0]=nA[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,i=0,r=0,o=0;for(t=0;t<this._len;){var a=e[t++],s=1===t;switch(s&&(r=n=e[t],o=i=e[t+1]),a){case KI.M:n=r=e[t++],i=o=e[t++],eA[0]=r,eA[1]=o,nA[0]=r,nA[1]=o;break;case KI.L:UI(n,i,e[t],e[t+1],eA,nA),n=e[t++],i=e[t++];break;case KI.C:XI(n,i,e[t++],e[t++],e[t++],e[t++],e[t],e[t+1],eA,nA),n=e[t++],i=e[t++];break;case KI.Q:qI(n,i,e[t++],e[t++],e[t],e[t+1],eA,nA),n=e[t++],i=e[t++];break;case KI.A:var l=e[t++],u=e[t++],c=e[t++],h=e[t++],d=e[t++],p=e[t++]+d;t+=1;var f=!e[t++];s&&(r=oA(d)*c+l,o=aA(d)*h+u),ZI(l,u,c,h,d,p,f,eA,nA),n=oA(p)*c+l,i=aA(p)*h+u;break;case KI.R:UI(r=n=e[t++],o=i=e[t++],r+e[t++],o+e[t++],eA,nA);break;case KI.Z:n=r,i=o}q_(QI,QI,eA),Z_(tA,tA,nA)}return 0===t&&(QI[0]=QI[1]=tA[0]=tA[1]=0),new Hx(QI[0],QI[1],tA[0]-QI[0],tA[1]-QI[1])},t.prototype._calculateLength=function(){var t=this.data,e=this._len,n=this._ux,i=this._uy,r=0,o=0,a=0,s=0;this._pathSegLen||(this._pathSegLen=[]);for(var l=this._pathSegLen,u=0,c=0,h=0;h<e;){var d=t[h++],p=1===h;p&&(a=r=t[h],s=o=t[h+1]);var f=-1;switch(d){case KI.M:r=a=t[h++],o=s=t[h++];break;case KI.L:var g=t[h++],v=(_=t[h++])-o;(sA(D=g-r)>n||sA(v)>i||h===e-1)&&(f=Math.sqrt(D*D+v*v),r=g,o=_);break;case KI.C:var m=t[h++],y=t[h++],_=(g=t[h++],t[h++]),x=t[h++],b=t[h++];f=Nb(r,o,m,y,g,_,x,b,10),r=x,o=b;break;case KI.Q:f=Hb(r,o,m=t[h++],y=t[h++],g=t[h++],_=t[h++],10),r=g,o=_;break;case KI.A:var w=t[h++],S=t[h++],M=t[h++],I=t[h++],A=t[h++],C=t[h++],T=C+A;h+=1,t[h++],p&&(a=oA(A)*M+w,s=aA(A)*I+S),f=rA(M,I)*iA(uA,Math.abs(C)),r=oA(T)*M+w,o=aA(T)*I+S;break;case KI.R:a=r=t[h++],s=o=t[h++],f=2*t[h++]+2*t[h++];break;case KI.Z:var D=a-r;v=s-o;f=Math.sqrt(D*D+v*v),r=a,o=s}f>=0&&(l[c++]=f,u+=f)}return this._pathLen=u,u},t.prototype.rebuildPath=function(t,e){var n,i,r,o,a,s,l,u,c,h,d=this.data,p=this._ux,f=this._uy,g=this._len,v=e<1,m=0,y=0,_=0;if(!v||(this._pathSegLen||this._calculateLength(),l=this._pathSegLen,u=e*this._pathLen))t:for(var x=0;x<g;){var b=d[x++],w=1===x;switch(w&&(n=r=d[x],i=o=d[x+1]),b!==KI.L&&_>0&&(t.lineTo(c,h),_=0),b){case KI.M:n=r=d[x++],i=o=d[x++],t.moveTo(r,o);break;case KI.L:a=d[x++],s=d[x++];var S=sA(a-r),M=sA(s-o);if(S>p||M>f){if(v){if(m+(q=l[y++])>u){var I=(u-m)/q;t.lineTo(r*(1-I)+a*I,o*(1-I)+s*I);break t}m+=q}t.lineTo(a,s),r=a,o=s,_=0}else{var A=S*S+M*M;A>_&&(c=a,h=s,_=A)}break;case KI.C:var C=d[x++],T=d[x++],D=d[x++],k=d[x++],L=d[x++],P=d[x++];if(v){if(m+(q=l[y++])>u){Eb(r,C,D,L,I=(u-m)/q,$I),Eb(o,T,k,P,I,JI),t.bezierCurveTo($I[1],JI[1],$I[2],JI[2],$I[3],JI[3]);break t}m+=q}t.bezierCurveTo(C,T,D,k,L,P),r=L,o=P;break;case KI.Q:C=d[x++],T=d[x++],D=d[x++],k=d[x++];if(v){if(m+(q=l[y++])>u){Fb(r,C,D,I=(u-m)/q,$I),Fb(o,T,k,I,JI),t.quadraticCurveTo($I[1],JI[1],$I[2],JI[2]);break t}m+=q}t.quadraticCurveTo(C,T,D,k),r=D,o=k;break;case KI.A:var O=d[x++],E=d[x++],R=d[x++],N=d[x++],B=d[x++],z=d[x++],V=d[x++],F=!d[x++],G=R>N?R:N,H=sA(R-N)>.001,W=B+z,U=!1;if(v)m+(q=l[y++])>u&&(W=B+z*(u-m)/q,U=!0),m+=q;if(H&&t.ellipse?t.ellipse(O,E,R,N,V,B,W,F):t.arc(O,E,G,B,W,F),U)break t;w&&(n=oA(B)*R+O,i=aA(B)*N+E),r=oA(W)*R+O,o=aA(W)*N+E;break;case KI.R:n=r=d[x],i=o=d[x+1],a=d[x++],s=d[x++];var j=d[x++],Y=d[x++];if(v){if(m+(q=l[y++])>u){var X=u-m;t.moveTo(a,s),t.lineTo(a+iA(X,j),s),(X-=j)>0&&t.lineTo(a+j,s+iA(X,Y)),(X-=Y)>0&&t.lineTo(a+rA(j-X,0),s+Y),(X-=j)>0&&t.lineTo(a,s+rA(Y-X,0));break t}m+=q}t.rect(a,s,j,Y);break;case KI.Z:if(v){var q;if(m+(q=l[y++])>u){I=(u-m)/q;t.lineTo(r*(1-I)+n*I,o*(1-I)+i*I);break t}m+=q}t.closePath(),r=n,o=i}}},t.prototype.clone=function(){var e=new t,n=this.data;return e.data=n.slice?n.slice():Array.prototype.slice.call(n),e._len=this._len,e},t.CMD=KI,t.initDefaultProps=((e=t.prototype)._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,void(e._version=0)),t}();function gA(t,e,n,i,r,o,a){if(0===r)return!1;var s=r,l=0;if(a>e+s&&a>i+s||a<e-s&&a<i-s||o>t+s&&o>n+s||o<t-s&&o<n-s)return!1;if(t===n)return Math.abs(o-t)<=s/2;var u=(l=(e-i)/(t-n))*o-a+(t*i-n*e)/(t-n);return u*u/(l*l+1)<=s/2*s/2}function vA(t,e,n,i,r,o,a,s,l,u,c){if(0===l)return!1;var h=l;return!(c>e+h&&c>i+h&&c>o+h&&c>s+h||c<e-h&&c<i-h&&c<o-h&&c<s-h||u>t+h&&u>n+h&&u>r+h&&u>a+h||u<t-h&&u<n-h&&u<r-h&&u<a-h)&&Rb(t,e,n,i,r,o,a,s,u,c,null)<=h/2}function mA(t,e,n,i,r,o,a,s,l){if(0===a)return!1;var u=a;return!(l>e+u&&l>i+u&&l>o+u||l<e-u&&l<i-u&&l<o-u||s>t+u&&s>n+u&&s>r+u||s<t-u&&s<n-u&&s<r-u)&&Gb(t,e,n,i,r,o,s,l,null)<=u/2}var yA=2*Math.PI;function _A(t){return(t%=yA)<0&&(t+=yA),t}var xA=2*Math.PI;function bA(t,e,n,i,r,o,a,s,l){if(0===a)return!1;var u=a;s-=t,l-=e;var c=Math.sqrt(s*s+l*l);if(c-u>n||c+u<n)return!1;if(Math.abs(i-r)%xA<1e-4)return!0;if(o){var h=i;i=_A(r),r=_A(h)}else i=_A(i),r=_A(r);i>r&&(r+=xA);var d=Math.atan2(l,s);return d<0&&(d+=xA),d>=i&&d<=r||d+xA>=i&&d+xA<=r}function wA(t,e,n,i,r,o){if(o>e&&o>i||o<e&&o<i)return 0;if(i===e)return 0;var a=(o-e)/(i-e),s=i<e?1:-1;1!==a&&0!==a||(s=i<e?.5:-.5);var l=a*(n-t)+t;return l===r?1/0:l>r?s:0}var SA=fA.CMD,MA=2*Math.PI,IA=1e-4;var AA=[-1,-1,-1],CA=[-1,-1];function TA(t,e,n,i,r,o,a,s,l,u){if(u>e&&u>i&&u>o&&u>s||u<e&&u<i&&u<o&&u<s)return 0;var c,h=Pb(e,i,o,s,u,AA);if(0===h)return 0;for(var d=0,p=-1,f=void 0,g=void 0,v=0;v<h;v++){var m=AA[v],y=0===m||1===m?.5:1;kb(t,n,r,a,m)<l||(p<0&&(p=Ob(e,i,o,s,CA),CA[1]<CA[0]&&p>1&&(c=void 0,c=CA[0],CA[0]=CA[1],CA[1]=c),f=kb(e,i,o,s,CA[0]),p>1&&(g=kb(e,i,o,s,CA[1]))),2===p?m<CA[0]?d+=f<e?y:-y:m<CA[1]?d+=g<f?y:-y:d+=s<g?y:-y:m<CA[0]?d+=f<e?y:-y:d+=s<f?y:-y)}return d}function DA(t,e,n,i,r,o,a,s){if(s>e&&s>i&&s>o||s<e&&s<i&&s<o)return 0;var l=function(t,e,n,i,r){var o=t-2*e+n,a=2*(e-t),s=t-i,l=0;if(Tb(o))Db(a)&&(c=-s/a)>=0&&c<=1&&(r[l++]=c);else{var u=a*a-4*o*s;if(Tb(u))(c=-a/(2*o))>=0&&c<=1&&(r[l++]=c);else if(u>0){var c,h=xb(u),d=(-a-h)/(2*o);(c=(-a+h)/(2*o))>=0&&c<=1&&(r[l++]=c),d>=0&&d<=1&&(r[l++]=d)}}return l}(e,i,o,s,AA);if(0===l)return 0;var u=Vb(e,i,o);if(u>=0&&u<=1){for(var c=0,h=Bb(e,i,o,u),d=0;d<l;d++){var p=0===AA[d]||1===AA[d]?.5:1;Bb(t,n,r,AA[d])<a||(AA[d]<u?c+=h<e?p:-p:c+=o<h?p:-p)}return c}p=0===AA[0]||1===AA[0]?.5:1;return Bb(t,n,r,AA[0])<a?0:o<e?p:-p}function kA(t,e,n,i,r,o,a,s){if((s-=e)>n||s<-n)return 0;var l=Math.sqrt(n*n-s*s);AA[0]=-l,AA[1]=l;var u=Math.abs(i-r);if(u<1e-4)return 0;if(u>=MA-1e-4){i=0,r=MA;var c=o?1:-1;return a>=AA[0]+t&&a<=AA[1]+t?c:0}if(i>r){var h=i;i=r,r=h}i<0&&(i+=MA,r+=MA);for(var d=0,p=0;p<2;p++){var f=AA[p];if(f+t>a){var g=Math.atan2(s,f);c=o?1:-1;g<0&&(g=MA+g),(g>=i&&g<=r||g+MA>=i&&g+MA<=r)&&(g>Math.PI/2&&g<1.5*Math.PI&&(c=-c),d+=c)}}return d}function LA(t,e,n,i,r){for(var o,a,s,l,u=t.data,c=t.len(),h=0,d=0,p=0,f=0,g=0,v=0;v<c;){var m=u[v++],y=1===v;switch(m===SA.M&&v>1&&(n||(h+=wA(d,p,f,g,i,r))),y&&(f=d=u[v],g=p=u[v+1]),m){case SA.M:d=f=u[v++],p=g=u[v++];break;case SA.L:if(n){if(gA(d,p,u[v],u[v+1],e,i,r))return!0}else h+=wA(d,p,u[v],u[v+1],i,r)||0;d=u[v++],p=u[v++];break;case SA.C:if(n){if(vA(d,p,u[v++],u[v++],u[v++],u[v++],u[v],u[v+1],e,i,r))return!0}else h+=TA(d,p,u[v++],u[v++],u[v++],u[v++],u[v],u[v+1],i,r)||0;d=u[v++],p=u[v++];break;case SA.Q:if(n){if(mA(d,p,u[v++],u[v++],u[v],u[v+1],e,i,r))return!0}else h+=DA(d,p,u[v++],u[v++],u[v],u[v+1],i,r)||0;d=u[v++],p=u[v++];break;case SA.A:var _=u[v++],x=u[v++],b=u[v++],w=u[v++],S=u[v++],M=u[v++];v+=1;var I=!!(1-u[v++]);o=Math.cos(S)*b+_,a=Math.sin(S)*w+x,y?(f=o,g=a):h+=wA(d,p,o,a,i,r);var A=(i-_)*w/b+_;if(n){if(bA(_,x,w,S,S+M,I,e,A,r))return!0}else h+=kA(_,x,w,S,S+M,I,A,r);d=Math.cos(S+M)*b+_,p=Math.sin(S+M)*w+x;break;case SA.R:if(f=d=u[v++],g=p=u[v++],o=f+u[v++],a=g+u[v++],n){if(gA(f,g,o,g,e,i,r)||gA(o,g,o,a,e,i,r)||gA(o,a,f,a,e,i,r)||gA(f,a,f,g,e,i,r))return!0}else h+=wA(o,g,o,a,i,r),h+=wA(f,a,f,g,i,r);break;case SA.Z:if(n){if(gA(d,p,f,g,e,i,r))return!0}else h+=wA(d,p,f,g,i,r);d=f,p=g}}return n||(s=p,l=g,Math.abs(s-l)<IA)||(h+=wA(d,p,f,g,i,r)||0),0!==h}var PA=Yy({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},CI),OA={style:Yy({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},TI.style)},EA=AS.concat(["invisible","culling","z","z2","zlevel","parent"]),RA=function(t){function e(e){return t.call(this,e)||this}var n;return my(e,t),e.prototype.update=function(){var n=this;t.prototype.update.call(this);var i=this.style;if(i.decal){var r=this._decalEl=this._decalEl||new e;r.buildPath===e.prototype.buildPath&&(r.buildPath=function(t){n.buildPath(t,n.shape)}),r.silent=!0;var o=r.style;for(var a in i)o[a]!==i[a]&&(o[a]=i[a]);o.fill=i.fill?i.decal:null,o.decal=null,o.shadowColor=null,i.strokeFirst&&(o.stroke=null);for(var s=0;s<EA.length;++s)r[EA[s]]=this[EA[s]];r.__dirty|=lb}else this._decalEl&&(this._decalEl=null)},e.prototype.getDecalElement=function(){return this._decalEl},e.prototype._init=function(e){var n=t_(e);this.shape=this.getDefaultShape();var i=this.getDefaultStyle();i&&this.useStyle(i);for(var r=0;r<n.length;r++){var o=n[r],a=e[o];"style"===o?this.style?jy(this.style,a):this.useStyle(a):"shape"===o?jy(this.shape,a):t.prototype.attrKV.call(this,o,a)}this.style||this.useStyle({})},e.prototype.getDefaultStyle=function(){return null},e.prototype.getDefaultShape=function(){return{}},e.prototype.canBeInsideText=function(){return this.hasFill()},e.prototype.getInsideTextFill=function(){var t=this.style.fill;if("none"!==t){if(o_(t)){var e=fw(t,0);return e>.5?vS:e>.2?"#eee":mS}if(t)return mS}return vS},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(o_(e)){var n=this.__zr;if(!(!n||!n.isDarkMode())===fw(t,0)<.4)return e}},e.prototype.buildPath=function(t,e,n){},e.prototype.pathUpdated=function(){this.__dirty&=~ub},e.prototype.getUpdatedPathProxy=function(t){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},e.prototype.createPathProxy=function(){this.path=new fA(!1)},e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,n=!t;if(n){var i=!1;this.path||(i=!0,this.createPathProxy());var r=this.path;(i||this.__dirty&ub)&&(r.beginPath(),this.buildPath(r,this.shape,!1),this.pathUpdated()),t=r.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||n){o.copy(t);var a=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return t},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),r=this.style;if(t=n[0],e=n[1],i.contain(t,e)){var o=this.path;if(this.hasStroke()){var a=r.lineWidth,s=r.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),function(t,e,n,i){return LA(t,e,!0,n,i)}(o,a/s,t,e)))return!0}if(this.hasFill())return function(t,e,n){return LA(t,0,!1,e,n)}(o,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=ub,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(t){return this.animate("shape",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(e,n){"shape"===e?this.setShape(n):t.prototype.attrKV.call(this,e,n)},e.prototype.setShape=function(t,e){var n=this.shape;return n||(n=this.shape={}),"string"==typeof t?n[t]=e:jy(n,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(this.__dirty&ub)},e.prototype.createStyle=function(t){return D_(PA,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=jy({},this.shape))},e.prototype._applyStateObj=function(e,n,i,r,o,a){t.prototype._applyStateObj.call(this,e,n,i,r,o,a);var s,l=!(n&&r);if(n&&n.shape?o?r?s=n.shape:(s=jy({},i.shape),jy(s,n.shape)):(s=jy({},r?this.shape:i.shape),jy(s,n.shape)):l&&(s=i.shape),s)if(o){this.shape=jy({},this.shape);for(var u={},c=t_(s),h=0;h<c.length;h++){var d=c[h];"object"==typeof s[d]?this.shape[d]=s[d]:u[d]=s[d]}this._transitionState(e,{shape:u},a)}else this.shape=s,this.dirtyShape()},e.prototype._mergeStates=function(e){for(var n,i=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var o=e[r];o.shape&&(n=n||{},this._mergeStyle(n,o.shape))}return n&&(i.shape=n),i},e.prototype.getAnimationStyleProps=function(){return OA},e.prototype.isZeroArea=function(){return!1},e.extend=function(t){var n=function(e){function n(n){var i=e.call(this,n)||this;return t.init&&t.init.call(i,n),i}return my(n,e),n.prototype.getDefaultStyle=function(){return Hy(t.style)},n.prototype.getDefaultShape=function(){return Hy(t.shape)},n}(e);for(var i in t)"function"==typeof t[i]&&(n.prototype[i]=t[i]);return n},e.initDefaultProps=((n=e.prototype).type="path",n.strokeContainThreshold=5,n.segmentIgnoreThreshold=0,n.subPixelOptimize=!1,n.autoBatch=!1,void(n.__dirty=2|lb|ub)),e}(EI);const NA=RA;var BA=Yy({strokeFirst:!0,font:Sy,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},PA),zA=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return my(e,t),e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.createStyle=function(t){return D_(BA,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var e=t.text;null!=e?e+="":e="";var n=PS(e,t.font,t.textAlign,t.textBaseline);if(n.x+=t.x||0,n.y+=t.y||0,this.hasStroke()){var i=t.lineWidth;n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i}this._rect=n}return this._rect},e.initDefaultProps=void(e.prototype.dirtyRectTolerance=10),e}(EI);zA.prototype.type="tspan";const VA=zA;var FA=Yy({x:0,y:0},CI),GA={style:Yy({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},TI.style)};var HA=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return my(e,t),e.prototype.createStyle=function(t){return D_(FA,t)},e.prototype._getSize=function(t){var e=this.style,n=e[t];if(null!=n)return n;var i,r=(i=e.image)&&"string"!=typeof i&&i.width&&i.height?e.image:this.__image;if(!r)return 0;var o="width"===t?"height":"width",a=e[o];return null==a?r[t]:r[t]/r[o]*a},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return GA},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new Hx(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(EI);HA.prototype.type="image";const WA=HA;var UA=Math.round;function jA(t,e,n){if(e){var i=e.x1,r=e.x2,o=e.y1,a=e.y2;t.x1=i,t.x2=r,t.y1=o,t.y2=a;var s=n&&n.lineWidth;return s?(UA(2*i)===UA(2*r)&&(t.x1=t.x2=XA(i,s,!0)),UA(2*o)===UA(2*a)&&(t.y1=t.y2=XA(o,s,!0)),t):t}}function YA(t,e,n){if(e){var i=e.x,r=e.y,o=e.width,a=e.height;t.x=i,t.y=r,t.width=o,t.height=a;var s=n&&n.lineWidth;return s?(t.x=XA(i,s,!0),t.y=XA(r,s,!0),t.width=Math.max(XA(i+o,s,!1)-t.x,0===o?0:1),t.height=Math.max(XA(r+a,s,!1)-t.y,0===a?0:1),t):t}}function XA(t,e,n){if(!e)return t;var i=UA(2*t);return(i+UA(e))%2==0?i/2:(i+(n?1:-1))/2}var qA=function(){this.x=0,this.y=0,this.width=0,this.height=0},ZA={},KA=function(t){function e(e){return t.call(this,e)||this}return my(e,t),e.prototype.getDefaultShape=function(){return new qA},e.prototype.buildPath=function(t,e){var n,i,r,o;if(this.subPixelOptimize){var a=YA(ZA,e,this.style);n=a.x,i=a.y,r=a.width,o=a.height,a.r=e.r,e=a}else n=e.x,i=e.y,r=e.width,o=e.height;e.r?function(t,e){var n,i,r,o,a,s=e.x,l=e.y,u=e.width,c=e.height,h=e.r;u<0&&(s+=u,u=-u),c<0&&(l+=c,c=-c),"number"==typeof h?n=i=r=o=h:h instanceof Array?1===h.length?n=i=r=o=h[0]:2===h.length?(n=r=h[0],i=o=h[1]):3===h.length?(n=h[0],i=o=h[1],r=h[2]):(n=h[0],i=h[1],r=h[2],o=h[3]):n=i=r=o=0,n+i>u&&(n*=u/(a=n+i),i*=u/a),r+o>u&&(r*=u/(a=r+o),o*=u/a),i+r>c&&(i*=c/(a=i+r),r*=c/a),n+o>c&&(n*=c/(a=n+o),o*=c/a),t.moveTo(s+n,l),t.lineTo(s+u-i,l),0!==i&&t.arc(s+u-i,l+i,i,-Math.PI/2,0),t.lineTo(s+u,l+c-r),0!==r&&t.arc(s+u-r,l+c-r,r,0,Math.PI/2),t.lineTo(s+o,l+c),0!==o&&t.arc(s+o,l+c-o,o,Math.PI/2,Math.PI),t.lineTo(s,l+n),0!==n&&t.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}(t,e):t.rect(n,i,r,o)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(NA);KA.prototype.type="rect";const $A=KA;var JA={fill:"#000"},QA={style:Yy({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},TI.style)},tC=function(t){function e(e){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=JA,n.attr(e),n}return my(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;e<this._children.length;e++){var n=this._children[e];n.zlevel=this.zlevel,n.z=this.z,n.z2=this.z2,n.culling=this.culling,n.cursor=this.cursor,n.invisible=this.invisible}},e.prototype.updateTransform=function(){var e=this.innerTransformable;e?(e.updateTransform(),e.transform&&(this.transform=e.transform)):t.prototype.updateTransform.call(this)},e.prototype.getLocalTransform=function(e){var n=this.innerTransformable;return n?n.getLocalTransform(e):t.prototype.getLocalTransform.call(this,e)},e.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),t.prototype.getComputedTransform.call(this)},e.prototype._updateSubTexts=function(){var t;this._childCursor=0,sC(t=this.style),Ky(t.rich,sC),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=e},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=null},e.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var t=new Hx(0,0,0,0),e=this._children,n=[],i=null,r=0;r<e.length;r++){var o=e[r],a=o.getBoundingRect(),s=o.getLocalTransform(n);s?(t.copy(a),t.applyTransform(s),(i=i||t.clone()).union(t)):(i=i||a.clone()).union(a)}this._rect=i||t}return this._rect},e.prototype.setDefaultTextStyle=function(t){this._defaultStyle=t||JA},e.prototype.setTextContent=function(t){},e.prototype._mergeStyle=function(t,e){if(!e)return t;var n=e.rich,i=t.rich||n&&{};return jy(t,e),n&&i?(this._mergeRich(i,n),t.rich=i):i&&(t.rich=i),t},e.prototype._mergeRich=function(t,e){for(var n=t_(e),i=0;i<n.length;i++){var r=n[i];t[r]=t[r]||{},jy(t[r],e[r])}},e.prototype.getAnimationStyleProps=function(){return QA},e.prototype._getOrCreateChild=function(t){var e=this._children[this._childCursor];return e&&e instanceof t||(e=new t),this._children[this._childCursor++]=e,e.__zr=this.__zr,e.parent=this,e},e.prototype._updatePlainTexts=function(){var t=this.style,e=t.font||Sy,n=t.padding,i=function(t,e){null!=t&&(t+="");var n,i=e.overflow,r=e.padding,o=e.font,a="truncate"===i,s=RS(o),l=g_(e.lineHeight,s),u=!!e.backgroundColor,c="truncate"===e.lineOverflow,h=e.width,d=(n=null==h||"break"!==i&&"breakAll"!==i?t?t.split("\n"):[]:t?II(t,e.font,h,"breakAll"===i,0).lines:[]).length*l,p=g_(e.height,d);if(d>p&&c){var f=Math.floor(p/l);n=n.slice(0,f)}if(t&&a&&null!=h)for(var g=vI(h,o,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),v=0;v<n.length;v++)n[v]=mI(n[v],g);var m=p,y=0;for(v=0;v<n.length;v++)y=Math.max(kS(n[v],o),y);null==h&&(h=y);var _=y;return r&&(m+=r[0]+r[2],_+=r[1]+r[3],h+=r[1]+r[3]),u&&(_=h),{lines:n,height:p,outerWidth:_,outerHeight:m,lineHeight:l,calculatedLineHeight:s,contentWidth:y,contentHeight:d,width:h}}(hC(t),t),r=dC(t),o=!!t.backgroundColor,a=i.outerHeight,s=i.outerWidth,l=i.contentWidth,u=i.lines,c=i.lineHeight,h=this._defaultStyle,d=t.x||0,p=t.y||0,f=t.align||h.align||"left",g=t.verticalAlign||h.verticalAlign||"top",v=d,m=ES(p,i.contentHeight,g);if(r||n){var y=OS(d,s,f),_=ES(p,a,g);r&&this._renderBackground(t,t,y,_,s,a)}m+=c/2,n&&(v=cC(d,f,n),"top"===g?m+=n[0]:"bottom"===g&&(m-=n[2]));for(var x=0,b=!1,w=(uC("fill"in t?t.fill:(b=!0,h.fill))),S=(lC("stroke"in t?t.stroke:o||h.autoStroke&&!b?null:(x=2,h.stroke))),M=t.textShadowBlur>0,I=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),A=i.calculatedLineHeight,C=0;C<u.length;C++){var T=this._getOrCreateChild(VA),D=T.createStyle();T.useStyle(D),D.text=u[C],D.x=v,D.y=m,f&&(D.textAlign=f),D.textBaseline="middle",D.opacity=t.opacity,D.strokeFirst=!0,M&&(D.shadowBlur=t.textShadowBlur||0,D.shadowColor=t.textShadowColor||"transparent",D.shadowOffsetX=t.textShadowOffsetX||0,D.shadowOffsetY=t.textShadowOffsetY||0),D.stroke=S,D.fill=w,S&&(D.lineWidth=t.lineWidth||x,D.lineDash=t.lineDash,D.lineDashOffset=t.lineDashOffset||0),D.font=e,oC(D,t),m+=c,I&&T.setBoundingRect(new Hx(OS(D.x,t.width,D.textAlign),ES(D.y,A,D.textBaseline),l,A))}},e.prototype._updateRichTexts=function(){var t=this.style,e=function(t,e){var n=new bI;if(null!=t&&(t+=""),!t)return n;for(var i,r=e.width,o=e.height,a=e.overflow,s="break"!==a&&"breakAll"!==a||null==r?null:{width:r,accumWidth:0,breakAll:"breakAll"===a},l=fI.lastIndex=0;null!=(i=fI.exec(t));){var u=i.index;u>l&&wI(n,t.substring(l,u),e,s),wI(n,i[2],e,s,i[1]),l=fI.lastIndex}l<t.length&&wI(n,t.substring(l,t.length),e,s);var c=[],h=0,d=0,p=e.padding,f="truncate"===a,g="truncate"===e.lineOverflow;function v(t,e,n){t.width=e,t.lineHeight=n,h+=n,d=Math.max(d,e)}t:for(var m=0;m<n.lines.length;m++){for(var y=n.lines[m],_=0,x=0,b=0;b<y.tokens.length;b++){var w=(P=y.tokens[b]).styleName&&e.rich[P.styleName]||{},S=P.textPadding=w.padding,M=S?S[1]+S[3]:0,I=P.font=w.font||e.font;P.contentHeight=RS(I);var A=g_(w.height,P.contentHeight);if(P.innerHeight=A,S&&(A+=S[0]+S[2]),P.height=A,P.lineHeight=v_(w.lineHeight,e.lineHeight,A),P.align=w&&w.align||e.align,P.verticalAlign=w&&w.verticalAlign||"middle",g&&null!=o&&h+P.lineHeight>o){b>0?(y.tokens=y.tokens.slice(0,b),v(y,x,_),n.lines=n.lines.slice(0,m+1)):n.lines=n.lines.slice(0,m);break t}var C=w.width,T=null==C||"auto"===C;if("string"==typeof C&&"%"===C.charAt(C.length-1))P.percentWidth=C,c.push(P),P.contentWidth=kS(P.text,I);else{if(T){var D=w.backgroundColor,k=D&&D.image;k&&pI(k=cI(k))&&(P.width=Math.max(P.width,k.width*A/k.height))}var L=f&&null!=r?r-x:null;null!=L&&L<P.width?!T||L<M?(P.text="",P.width=P.contentWidth=0):(P.text=gI(P.text,L-M,I,e.ellipsis,{minChar:e.truncateMinChar}),P.width=P.contentWidth=kS(P.text,I)):P.contentWidth=kS(P.text,I)}P.width+=M,x+=P.width,w&&(_=Math.max(_,P.lineHeight))}v(y,x,_)}for(n.outerWidth=n.width=g_(r,d),n.outerHeight=n.height=g_(o,h),n.contentHeight=h,n.contentWidth=d,p&&(n.outerWidth+=p[1]+p[3],n.outerHeight+=p[0]+p[2]),m=0;m<c.length;m++){var P,O=(P=c[m]).percentWidth;P.width=parseInt(O,10)/100*n.width}return n}(hC(t),t),n=e.width,i=e.outerWidth,r=e.outerHeight,o=t.padding,a=t.x||0,s=t.y||0,l=this._defaultStyle,u=t.align||l.align,c=t.verticalAlign||l.verticalAlign,h=OS(a,i,u),d=ES(s,r,c),p=h,f=d;o&&(p+=o[3],f+=o[0]);var g=p+n;dC(t)&&this._renderBackground(t,t,h,d,i,r);for(var v=!!t.backgroundColor,m=0;m<e.lines.length;m++){for(var y=e.lines[m],_=y.tokens,x=_.length,b=y.lineHeight,w=y.width,S=0,M=p,I=g,A=x-1,C=void 0;S<x&&(!(C=_[S]).align||"left"===C.align);)this._placeToken(C,t,b,f,M,"left",v),w-=C.width,M+=C.width,S++;for(;A>=0&&"right"===(C=_[A]).align;)this._placeToken(C,t,b,f,I,"right",v),w-=C.width,I-=C.width,A--;for(M+=(n-(M-p)-(g-I)-w)/2;S<=A;)C=_[S],this._placeToken(C,t,b,f,M+C.width/2,"center",v),M+=C.width,S++;f+=b}},e.prototype._placeToken=function(t,e,n,i,r,o,a){var s=e.rich[t.styleName]||{};s.text=t.text;var l=t.verticalAlign,u=i+n/2;"top"===l?u=i+t.height/2:"bottom"===l&&(u=i+n-t.height/2),!t.isLineHolder&&dC(s)&&this._renderBackground(s,e,"right"===o?r-t.width:"center"===o?r-t.width/2:r,u-t.height/2,t.width,t.height);var c=!!s.backgroundColor,h=t.textPadding;h&&(r=cC(r,o,h),u-=t.height/2-h[0]-t.innerHeight/2);var d=this._getOrCreateChild(VA),p=d.createStyle();d.useStyle(p);var f=this._defaultStyle,g=!1,v=0,m=uC("fill"in s?s.fill:"fill"in e?e.fill:(g=!0,f.fill)),y=lC("stroke"in s?s.stroke:"stroke"in e?e.stroke:c||a||f.autoStroke&&!g?null:(v=2,f.stroke)),_=s.textShadowBlur>0||e.textShadowBlur>0;p.text=t.text,p.x=r,p.y=u,_&&(p.shadowBlur=s.textShadowBlur||e.textShadowBlur||0,p.shadowColor=s.textShadowColor||e.textShadowColor||"transparent",p.shadowOffsetX=s.textShadowOffsetX||e.textShadowOffsetX||0,p.shadowOffsetY=s.textShadowOffsetY||e.textShadowOffsetY||0),p.textAlign=o,p.textBaseline="middle",p.font=t.font||Sy,p.opacity=v_(s.opacity,e.opacity,1),oC(p,s),y&&(p.lineWidth=v_(s.lineWidth,e.lineWidth,v),p.lineDash=g_(s.lineDash,e.lineDash),p.lineDashOffset=e.lineDashOffset||0,p.stroke=y),m&&(p.fill=m);var x=t.contentWidth,b=t.contentHeight;d.setBoundingRect(new Hx(OS(p.x,x,p.textAlign),ES(p.y,b,p.textBaseline),x,b))},e.prototype._renderBackground=function(t,e,n,i,r,o){var a,s,l,u=t.backgroundColor,c=t.borderWidth,h=t.borderColor,d=u&&u.image,p=u&&!d,f=t.borderRadius,g=this;if(p||t.lineHeight||c&&h){(a=this._getOrCreateChild($A)).useStyle(a.createStyle()),a.style.fill=null;var v=a.shape;v.x=n,v.y=i,v.width=r,v.height=o,v.r=f,a.dirtyShape()}if(p)(l=a.style).fill=u||null,l.fillOpacity=g_(t.fillOpacity,1);else if(d){(s=this._getOrCreateChild(WA)).onload=function(){g.dirtyStyle()};var m=s.style;m.image=u.image,m.x=n,m.y=i,m.width=r,m.height=o}c&&h&&((l=a.style).lineWidth=c,l.stroke=h,l.strokeOpacity=g_(t.strokeOpacity,1),l.lineDash=t.borderDash,l.lineDashOffset=t.borderDashOffset||0,a.strokeContainThreshold=0,a.hasFill()&&a.hasStroke()&&(l.strokeFirst=!0,l.lineWidth*=2));var y=(a||s).style;y.shadowBlur=t.shadowBlur||0,y.shadowColor=t.shadowColor||"transparent",y.shadowOffsetX=t.shadowOffsetX||0,y.shadowOffsetY=t.shadowOffsetY||0,y.opacity=v_(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";return aC(t)&&(e=[t.fontStyle,t.fontWeight,rC(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),e&&x_(e)||t.textFont||t.font},e}(EI),eC={left:!0,right:1,center:1},nC={top:1,bottom:1,middle:1},iC=["fontStyle","fontWeight","fontSize","fontFamily"];function rC(t){return"string"!=typeof t||-1===t.indexOf("px")&&-1===t.indexOf("rem")&&-1===t.indexOf("em")?isNaN(+t)?by+"px":t+"px":t}function oC(t,e){for(var n=0;n<iC.length;n++){var i=iC[n],r=e[i];null!=r&&(t[i]=r)}}function aC(t){return null!=t.fontSize||t.fontFamily||t.fontWeight}function sC(t){if(t){t.font=tC.makeFont(t);var e=t.align;"middle"===e&&(e="center"),t.align=null==e||eC[e]?e:"left";var n=t.verticalAlign;"center"===n&&(n="middle"),t.verticalAlign=null==n||nC[n]?n:"top",t.padding&&(t.padding=y_(t.padding))}}function lC(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function uC(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function cC(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}function hC(t){var e=t.text;return null!=e&&(e+=""),e}function dC(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&t.borderColor)}const pC=tC;var fC=FM(),gC=function(t,e,n,i){if(i){var r=fC(i);r.dataIndex=n,r.dataType=e,r.seriesIndex=t,"group"===i.type&&i.traverse((function(i){var r=fC(i);r.seriesIndex=t,r.dataIndex=n,r.dataType=e}))}},vC=1,mC={},yC=FM(),_C=FM(),xC=0,bC=1,wC=2,SC=["emphasis","blur","select"],MC=["normal","emphasis","blur","select"],IC=10,AC=9,CC="highlight",TC="downplay",DC="select",kC="unselect",LC="toggleSelect";function PC(t){return null!=t&&"none"!==t}var OC=new qb(100);function EC(t){if(o_(t)){var e=OC.get(t);return e||(e=uw(t,-.1),OC.put(t,e)),e}if(d_(t)){var n=jy({},t);return n.colorStops=$y(t.colorStops,(function(t){return{offset:t.offset,color:uw(t.color,-.1)}})),n}return t}function RC(t,e,n){t.onHoverStateChange&&(t.hoverState||0)!==n&&t.onHoverStateChange(e),t.hoverState=n}function NC(t){RC(t,"emphasis",wC)}function BC(t){t.hoverState===wC&&RC(t,"normal",xC)}function zC(t){RC(t,"blur",bC)}function VC(t){t.hoverState===bC&&RC(t,"normal",xC)}function FC(t){t.selected=!0}function GC(t){t.selected=!1}function HC(t,e,n){e(t,n)}function WC(t,e,n){HC(t,e,n),t.isGroup&&t.traverse((function(t){HC(t,e,n)}))}function UC(t,e){switch(e){case"emphasis":t.hoverState=wC;break;case"normal":t.hoverState=xC;break;case"blur":t.hoverState=bC;break;case"select":t.selected=!0}}function jC(t,e){var n=this.states[t];if(this.style){if("emphasis"===t)return function(t,e,n,i){var r=n&&Xy(n,"select")>=0,o=!1;if(t instanceof NA){var a=yC(t),s=r&&a.selectFill||a.normalFill,l=r&&a.selectStroke||a.normalStroke;if(PC(s)||PC(l)){var u=(i=i||{}).style||{};"inherit"===u.fill?(o=!0,i=jy({},i),(u=jy({},u)).fill=s):!PC(u.fill)&&PC(s)?(o=!0,i=jy({},i),(u=jy({},u)).fill=EC(s)):!PC(u.stroke)&&PC(l)&&(o||(i=jy({},i),u=jy({},u)),u.stroke=EC(l)),i.style=u}}if(i&&null==i.z2){o||(i=jy({},i));var c=t.z2EmphasisLift;i.z2=t.z2+(null!=c?c:IC)}return i}(this,0,e,n);if("blur"===t)return function(t,e,n){var i=Xy(t.currentStates,e)>=0,r=t.style.opacity,o=i?null:function(t,e,n,i){for(var r=t.style,o={},a=0;a<e.length;a++){var s=e[a],l=r[s];o[s]=null==l?i&&i[s]:l}for(a=0;a<t.animators.length;a++){var u=t.animators[a];u.__fromStateTransition&&u.__fromStateTransition.indexOf(n)<0&&"style"===u.targetName&&u.saveTo(o,e)}return o}(t,["opacity"],e,{opacity:1}),a=(n=n||{}).style||{};return null==a.opacity&&(n=jy({},n),a=jy({opacity:i?r:.1*o.opacity},a),n.style=a),n}(this,t,n);if("select"===t)return function(t,e,n){if(n&&null==n.z2){n=jy({},n);var i=t.z2SelectLift;n.z2=t.z2+(null!=i?i:AC)}return n}(this,0,n)}return n}function YC(t){t.stateProxy=jC;var e=t.getTextContent(),n=t.getTextGuideLine();e&&(e.stateProxy=jC),n&&(n.stateProxy=jC)}function XC(t,e){!eT(t,e)&&!t.__highByOuter&&WC(t,NC)}function qC(t,e){!eT(t,e)&&!t.__highByOuter&&WC(t,BC)}function ZC(t,e){t.__highByOuter|=1<<(e||0),WC(t,NC)}function KC(t,e){!(t.__highByOuter&=~(1<<(e||0)))&&WC(t,BC)}function $C(t){WC(t,zC)}function JC(t){WC(t,VC)}function QC(t){WC(t,FC)}function tT(t){WC(t,GC)}function eT(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function nT(t){var e=t.getModel(),n=[],i=[];e.eachComponent((function(e,r){var o=_C(r),a="series"===e,s=a?t.getViewOfSeriesModel(r):t.getViewOfComponentModel(r);!a&&i.push(s),o.isBlured&&(s.group.traverse((function(t){VC(t)})),a&&n.push(r)),o.isBlured=!1})),Ky(i,(function(t){t&&t.toggleBlurSeries&&t.toggleBlurSeries(n,!1,e)}))}function iT(t,e,n,i){var r=i.getModel();function o(t,e){for(var n=0;n<e.length;n++){var i=t.getItemGraphicEl(e[n]);i&&JC(i)}}if(n=n||"coordinateSystem",null!=t&&e&&"none"!==e){var a=r.getSeriesByIndex(t),s=a.coordinateSystem;s&&s.master&&(s=s.master);var l=[];r.eachSeries((function(t){var r=a===t,u=t.coordinateSystem;if(u&&u.master&&(u=u.master),!("series"===n&&!r||"coordinateSystem"===n&&!(u&&s?u===s:r)||"series"===e&&r)){if(i.getViewOfSeriesModel(t).group.traverse((function(t){t.__highByOuter&&r&&"self"===e||zC(t)})),Zy(e))o(t.getData(),e);else if(l_(e))for(var c=t_(e),h=0;h<c.length;h++)o(t.getData(c[h]),e[c[h]]);l.push(t),_C(t).isBlured=!0}})),r.eachComponent((function(t,e){if("series"!==t){var n=i.getViewOfComponentModel(e);n&&n.toggleBlurSeries&&n.toggleBlurSeries(l,!0,r)}}))}}function rT(t,e,n){if(null!=t&&null!=e){var i=n.getModel().getComponent(t,e);if(i){_C(i).isBlured=!0;var r=n.getViewOfComponentModel(i);r&&r.focusBlurEnabled&&r.group.traverse((function(t){zC(t)}))}}}function oT(t,e,n,i){var r={focusSelf:!1,dispatchers:null};if(null==t||"series"===t||null==e||null==n)return r;var o=i.getModel().getComponent(t,e);if(!o)return r;var a=i.getViewOfComponentModel(o);if(!a||!a.findHighDownDispatchers)return r;for(var s,l=a.findHighDownDispatchers(n),u=0;u<l.length;u++)if("self"===fC(l[u]).focus){s=!0;break}return{focusSelf:s,dispatchers:l}}function aT(t){Ky(t.getAllData(),(function(e){var n=e.data,i=e.type;n.eachItemGraphicEl((function(e,n){t.isSelected(n,i)?QC(e):tT(e)}))}))}function sT(t){var e=[];return t.eachSeries((function(t){Ky(t.getAllData(),(function(n){n.data;var i=n.type,r=t.getSelectedDataIndices();if(r.length>0){var o={dataIndex:r,seriesIndex:t.seriesIndex};null!=i&&(o.dataType=i),e.push(o)}}))})),e}function lT(t,e,n){fT(t,!0),WC(t,YC),cT(t,e,n)}function uT(t,e,n,i){i?function(t){fT(t,!1)}(t):lT(t,e,n)}function cT(t,e,n){var i=fC(t);null!=e?(i.focus=e,i.blurScope=n):i.focus&&(i.focus=null)}var hT=["emphasis","blur","select"],dT={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function pT(t,e,n,i){n=n||"itemStyle";for(var r=0;r<hT.length;r++){var o=hT[r],a=e.getModel([o,n]);t.ensureState(o).style=i?i(a):a[dT[n]]()}}function fT(t,e){var n=!1===e,i=t;t.highDownSilentOnTouch&&(i.__highDownSilentOnTouch=t.highDownSilentOnTouch),n&&!i.__highDownDispatcher||(i.__highByOuter=i.__highByOuter||0,i.__highDownDispatcher=!n)}function gT(t){return!(!t||!t.__highDownDispatcher)}function vT(t){var e=t.type;return e===DC||e===kC||e===LC}function mT(t){var e=t.type;return e===CC||e===TC}var yT=fA.CMD,_T=[[],[],[]],xT=Math.sqrt,bT=Math.atan2;function wT(t,e){if(e){var n,i,r,o,a,s,l=t.data,u=t.len(),c=yT.M,h=yT.C,d=yT.L,p=yT.R,f=yT.A,g=yT.Q;for(r=0,o=0;r<u;){switch(n=l[r++],o=r,i=0,n){case c:case d:i=1;break;case h:i=3;break;case g:i=2;break;case f:var v=e[4],m=e[5],y=xT(e[0]*e[0]+e[1]*e[1]),_=xT(e[2]*e[2]+e[3]*e[3]),x=bT(-e[1]/_,e[0]/y);l[r]*=y,l[r++]+=v,l[r]*=_,l[r++]+=m,l[r++]*=y,l[r++]*=_,l[r++]+=x,l[r++]+=x,o=r+=2;break;case p:s[0]=l[r++],s[1]=l[r++],X_(s,s,e),l[o++]=s[0],l[o++]=s[1],s[0]+=l[r++],s[1]+=l[r++],X_(s,s,e),l[o++]=s[0],l[o++]=s[1]}for(a=0;a<i;a++){var b=_T[a];b[0]=l[r++],b[1]=l[r++],X_(b,b,e),l[o++]=b[0],l[o++]=b[1]}}t.increaseVersion()}}var ST=Math.sqrt,MT=Math.sin,IT=Math.cos,AT=Math.PI;function CT(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function TT(t,e){return(t[0]*e[0]+t[1]*e[1])/(CT(t)*CT(e))}function DT(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(TT(t,e))}function kT(t,e,n,i,r,o,a,s,l,u,c){var h=l*(AT/180),d=IT(h)*(t-n)/2+MT(h)*(e-i)/2,p=-1*MT(h)*(t-n)/2+IT(h)*(e-i)/2,f=d*d/(a*a)+p*p/(s*s);f>1&&(a*=ST(f),s*=ST(f));var g=(r===o?-1:1)*ST((a*a*(s*s)-a*a*(p*p)-s*s*(d*d))/(a*a*(p*p)+s*s*(d*d)))||0,v=g*a*p/s,m=g*-s*d/a,y=(t+n)/2+IT(h)*v-MT(h)*m,_=(e+i)/2+MT(h)*v+IT(h)*m,x=DT([1,0],[(d-v)/a,(p-m)/s]),b=[(d-v)/a,(p-m)/s],w=[(-1*d-v)/a,(-1*p-m)/s],S=DT(b,w);if(TT(b,w)<=-1&&(S=AT),TT(b,w)>=1&&(S=0),S<0){var M=Math.round(S/AT*1e6)/1e6;S=2*AT+M%2*AT}c.addData(u,y,_,a,s,x,S,h,o)}var LT=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,PT=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;var OT=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return my(e,t),e.prototype.applyTransform=function(t){},e}(NA);function ET(t){return null!=t.setData}function RT(t,e){var n=function(t){var e=new fA;if(!t)return e;var n,i=0,r=0,o=i,a=r,s=fA.CMD,l=t.match(LT);if(!l)return e;for(var u=0;u<l.length;u++){for(var c=l[u],h=c.charAt(0),d=void 0,p=c.match(PT)||[],f=p.length,g=0;g<f;g++)p[g]=parseFloat(p[g]);for(var v=0;v<f;){var m=void 0,y=void 0,_=void 0,x=void 0,b=void 0,w=void 0,S=void 0,M=i,I=r,A=void 0,C=void 0;switch(h){case"l":i+=p[v++],r+=p[v++],d=s.L,e.addData(d,i,r);break;case"L":i=p[v++],r=p[v++],d=s.L,e.addData(d,i,r);break;case"m":i+=p[v++],r+=p[v++],d=s.M,e.addData(d,i,r),o=i,a=r,h="l";break;case"M":i=p[v++],r=p[v++],d=s.M,e.addData(d,i,r),o=i,a=r,h="L";break;case"h":i+=p[v++],d=s.L,e.addData(d,i,r);break;case"H":i=p[v++],d=s.L,e.addData(d,i,r);break;case"v":r+=p[v++],d=s.L,e.addData(d,i,r);break;case"V":r=p[v++],d=s.L,e.addData(d,i,r);break;case"C":d=s.C,e.addData(d,p[v++],p[v++],p[v++],p[v++],p[v++],p[v++]),i=p[v-2],r=p[v-1];break;case"c":d=s.C,e.addData(d,p[v++]+i,p[v++]+r,p[v++]+i,p[v++]+r,p[v++]+i,p[v++]+r),i+=p[v-2],r+=p[v-1];break;case"S":m=i,y=r,A=e.len(),C=e.data,n===s.C&&(m+=i-C[A-4],y+=r-C[A-3]),d=s.C,M=p[v++],I=p[v++],i=p[v++],r=p[v++],e.addData(d,m,y,M,I,i,r);break;case"s":m=i,y=r,A=e.len(),C=e.data,n===s.C&&(m+=i-C[A-4],y+=r-C[A-3]),d=s.C,M=i+p[v++],I=r+p[v++],i+=p[v++],r+=p[v++],e.addData(d,m,y,M,I,i,r);break;case"Q":M=p[v++],I=p[v++],i=p[v++],r=p[v++],d=s.Q,e.addData(d,M,I,i,r);break;case"q":M=p[v++]+i,I=p[v++]+r,i+=p[v++],r+=p[v++],d=s.Q,e.addData(d,M,I,i,r);break;case"T":m=i,y=r,A=e.len(),C=e.data,n===s.Q&&(m+=i-C[A-4],y+=r-C[A-3]),i=p[v++],r=p[v++],d=s.Q,e.addData(d,m,y,i,r);break;case"t":m=i,y=r,A=e.len(),C=e.data,n===s.Q&&(m+=i-C[A-4],y+=r-C[A-3]),i+=p[v++],r+=p[v++],d=s.Q,e.addData(d,m,y,i,r);break;case"A":_=p[v++],x=p[v++],b=p[v++],w=p[v++],S=p[v++],kT(M=i,I=r,i=p[v++],r=p[v++],w,S,_,x,b,d=s.A,e);break;case"a":_=p[v++],x=p[v++],b=p[v++],w=p[v++],S=p[v++],kT(M=i,I=r,i+=p[v++],r+=p[v++],w,S,_,x,b,d=s.A,e)}}"z"!==h&&"Z"!==h||(d=s.Z,e.addData(d),i=o,r=a),n=d}return e.toStatic(),e}(t),i=jy({},e);return i.buildPath=function(t){if(ET(t)){t.setData(n.data),(e=t.getContext())&&t.rebuildPath(e,1)}else{var e=t;n.rebuildPath(e,1)}},i.applyTransform=function(t){wT(n,t),this.dirtyShape()},i}function NT(t,e){return new OT(RT(t,e))}function BT(t,e){e=e||{};var n=new NA;return t.shape&&n.setShape(t.shape),n.setStyle(t.style),e.bakeTransform?wT(n.path,t.getComputedTransform()):e.toLocal?n.setLocalTransform(t.getComputedTransform()):n.copyTransform(t),n.buildPath=t.buildPath,n.applyTransform=n.applyTransform,n.z=t.z,n.z2=t.z2,n.zlevel=t.zlevel,n}var zT=function(){this.cx=0,this.cy=0,this.r=0},VT=function(t){function e(e){return t.call(this,e)||this}return my(e,t),e.prototype.getDefaultShape=function(){return new zT},e.prototype.buildPath=function(t,e){t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI)},e}(NA);VT.prototype.type="circle";const FT=VT;var GT=function(){this.cx=0,this.cy=0,this.rx=0,this.ry=0},HT=function(t){function e(e){return t.call(this,e)||this}return my(e,t),e.prototype.getDefaultShape=function(){return new GT},e.prototype.buildPath=function(t,e){var n=.5522848,i=e.cx,r=e.cy,o=e.rx,a=e.ry,s=o*n,l=a*n;t.moveTo(i-o,r),t.bezierCurveTo(i-o,r-l,i-s,r-a,i,r-a),t.bezierCurveTo(i+s,r-a,i+o,r-l,i+o,r),t.bezierCurveTo(i+o,r+l,i+s,r+a,i,r+a),t.bezierCurveTo(i-s,r+a,i-o,r+l,i-o,r),t.closePath()},e}(NA);HT.prototype.type="ellipse";const WT=HT;var UT=Math.PI,jT=2*UT,YT=Math.sin,XT=Math.cos,qT=Math.acos,ZT=Math.atan2,KT=Math.abs,$T=Math.sqrt,JT=Math.max,QT=Math.min,tD=1e-4;function eD(t,e,n,i,r,o,a){var s=t-n,l=e-i,u=(a?o:-o)/$T(s*s+l*l),c=u*l,h=-u*s,d=t+c,p=e+h,f=n+c,g=i+h,v=(d+f)/2,m=(p+g)/2,y=f-d,_=g-p,x=y*y+_*_,b=r-o,w=d*g-f*p,S=(_<0?-1:1)*$T(JT(0,b*b*x-w*w)),M=(w*_-y*S)/x,I=(-w*y-_*S)/x,A=(w*_+y*S)/x,C=(-w*y+_*S)/x,T=M-v,D=I-m,k=A-v,L=C-m;return T*T+D*D>k*k+L*L&&(M=A,I=C),{cx:M,cy:I,x0:-c,y0:-h,x1:M*(r/b-1),y1:I*(r/b-1)}}function nD(t,e){var n,i=JT(e.r,0),r=JT(e.r0||0,0),o=i>0;if(o||r>0){if(o||(i=r,r=0),r>i){var a=i;i=r,r=a}var s=e.startAngle,l=e.endAngle;if(!isNaN(s)&&!isNaN(l)){var u=e.cx,c=e.cy,h=!!e.clockwise,d=KT(l-s),p=d>jT&&d%jT;if(p>tD&&(d=p),i>tD)if(d>jT-tD)t.moveTo(u+i*XT(s),c+i*YT(s)),t.arc(u,c,i,s,l,!h),r>tD&&(t.moveTo(u+r*XT(l),c+r*YT(l)),t.arc(u,c,r,l,s,h));else{var f=void 0,g=void 0,v=void 0,m=void 0,y=void 0,_=void 0,x=void 0,b=void 0,w=void 0,S=void 0,M=void 0,I=void 0,A=void 0,C=void 0,T=void 0,D=void 0,k=i*XT(s),L=i*YT(s),P=r*XT(l),O=r*YT(l),E=d>tD;if(E){var R=e.cornerRadius;R&&(f=(n=function(t){var e;if(i_(t)){var n=t.length;if(!n)return t;e=1===n?[t[0],t[0],0,0]:2===n?[t[0],t[0],t[1],t[1]]:3===n?t.concat(t[2]):t}else e=[t,t,t,t];return e}(R))[0],g=n[1],v=n[2],m=n[3]);var N=KT(i-r)/2;if(y=QT(N,v),_=QT(N,m),x=QT(N,f),b=QT(N,g),M=w=JT(y,_),I=S=JT(x,b),(w>tD||S>tD)&&(A=i*XT(l),C=i*YT(l),T=r*XT(s),D=r*YT(s),d<UT)){var B=function(t,e,n,i,r,o,a,s){var l=n-t,u=i-e,c=a-r,h=s-o,d=h*l-c*u;if(!(d*d<tD))return[t+(d=(c*(e-o)-h*(t-r))/d)*l,e+d*u]}(k,L,T,D,A,C,P,O);if(B){var z=k-B[0],V=L-B[1],F=A-B[0],G=C-B[1],H=1/YT(qT((z*F+V*G)/($T(z*z+V*V)*$T(F*F+G*G)))/2),W=$T(B[0]*B[0]+B[1]*B[1]);M=QT(w,(i-W)/(H+1)),I=QT(S,(r-W)/(H-1))}}}if(E)if(M>tD){var U=QT(v,M),j=QT(m,M),Y=eD(T,D,k,L,i,U,h),X=eD(A,C,P,O,i,j,h);t.moveTo(u+Y.cx+Y.x0,c+Y.cy+Y.y0),M<w&&U===j?t.arc(u+Y.cx,c+Y.cy,M,ZT(Y.y0,Y.x0),ZT(X.y0,X.x0),!h):(U>0&&t.arc(u+Y.cx,c+Y.cy,U,ZT(Y.y0,Y.x0),ZT(Y.y1,Y.x1),!h),t.arc(u,c,i,ZT(Y.cy+Y.y1,Y.cx+Y.x1),ZT(X.cy+X.y1,X.cx+X.x1),!h),j>0&&t.arc(u+X.cx,c+X.cy,j,ZT(X.y1,X.x1),ZT(X.y0,X.x0),!h))}else t.moveTo(u+k,c+L),t.arc(u,c,i,s,l,!h);else t.moveTo(u+k,c+L);if(r>tD&&E)if(I>tD){U=QT(f,I),Y=eD(P,O,A,C,r,-(j=QT(g,I)),h),X=eD(k,L,T,D,r,-U,h);t.lineTo(u+Y.cx+Y.x0,c+Y.cy+Y.y0),I<S&&U===j?t.arc(u+Y.cx,c+Y.cy,I,ZT(Y.y0,Y.x0),ZT(X.y0,X.x0),!h):(j>0&&t.arc(u+Y.cx,c+Y.cy,j,ZT(Y.y0,Y.x0),ZT(Y.y1,Y.x1),!h),t.arc(u,c,r,ZT(Y.cy+Y.y1,Y.cx+Y.x1),ZT(X.cy+X.y1,X.cx+X.x1),h),U>0&&t.arc(u+X.cx,c+X.cy,U,ZT(X.y1,X.x1),ZT(X.y0,X.x0),!h))}else t.lineTo(u+P,c+O),t.arc(u,c,r,l,s,h);else t.lineTo(u+P,c+O)}else t.moveTo(u,c);t.closePath()}}}var iD=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0},rD=function(t){function e(e){return t.call(this,e)||this}return my(e,t),e.prototype.getDefaultShape=function(){return new iD},e.prototype.buildPath=function(t,e){nD(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(NA);rD.prototype.type="sector";const oD=rD;var aD=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},sD=function(t){function e(e){return t.call(this,e)||this}return my(e,t),e.prototype.getDefaultShape=function(){return new aD},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=2*Math.PI;t.moveTo(n+e.r,i),t.arc(n,i,e.r,0,r,!1),t.moveTo(n+e.r0,i),t.arc(n,i,e.r0,0,r,!0)},e}(NA);sD.prototype.type="ring";const lD=sD;function uD(t,e,n){var i=e.smooth,r=e.points;if(r&&r.length>=2){if(i){var o=function(t,e,n,i){var r,o,a,s,l=[],u=[],c=[],h=[];if(i){a=[1/0,1/0],s=[-1/0,-1/0];for(var d=0,p=t.length;d<p;d++)q_(a,a,t[d]),Z_(s,s,t[d]);q_(a,a,i[0]),Z_(s,s,i[1])}for(d=0,p=t.length;d<p;d++){var f=t[d];if(n)r=t[d?d-1:p-1],o=t[(d+1)%p];else{if(0===d||d===p-1){l.push(N_(t[d]));continue}r=t[d-1],o=t[d+1]}V_(u,o,r),G_(u,u,e);var g=W_(f,r),v=W_(f,o),m=g+v;0!==m&&(g/=m,v/=m),G_(c,u,-g),G_(h,u,v);var y=B_([],f,c),_=B_([],f,h);i&&(Z_(y,y,a),q_(y,y,s),Z_(_,_,a),q_(_,_,s)),l.push(y),l.push(_)}return n&&l.push(l.shift()),l}(r,i,n,e.smoothConstraint);t.moveTo(r[0][0],r[0][1]);for(var a=r.length,s=0;s<(n?a:a-1);s++){var l=o[2*s],u=o[2*s+1],c=r[(s+1)%a];t.bezierCurveTo(l[0],l[1],u[0],u[1],c[0],c[1])}}else{t.moveTo(r[0][0],r[0][1]);s=1;for(var h=r.length;s<h;s++)t.lineTo(r[s][0],r[s][1])}n&&t.closePath()}}var cD=function(){this.points=null,this.smooth=0,this.smoothConstraint=null},hD=function(t){function e(e){return t.call(this,e)||this}return my(e,t),e.prototype.getDefaultShape=function(){return new cD},e.prototype.buildPath=function(t,e){uD(t,e,!0)},e}(NA);hD.prototype.type="polygon";const dD=hD;var pD=function(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null},fD=function(t){function e(e){return t.call(this,e)||this}return my(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new pD},e.prototype.buildPath=function(t,e){uD(t,e,!1)},e}(NA);fD.prototype.type="polyline";const gD=fD;var vD={},mD=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1},yD=function(t){function e(e){return t.call(this,e)||this}return my(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new mD},e.prototype.buildPath=function(t,e){var n,i,r,o;if(this.subPixelOptimize){var a=jA(vD,e,this.style);n=a.x1,i=a.y1,r=a.x2,o=a.y2}else n=e.x1,i=e.y1,r=e.x2,o=e.y2;var s=e.percent;0!==s&&(t.moveTo(n,i),s<1&&(r=n*(1-s)+r*s,o=i*(1-s)+o*s),t.lineTo(r,o))},e.prototype.pointAt=function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]},e}(NA);yD.prototype.type="line";const _D=yD;var xD=[],bD=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1};function wD(t,e,n){var i=t.cpx2,r=t.cpy2;return null!=i||null!=r?[(n?Lb:kb)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?Lb:kb)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?zb:Bb)(t.x1,t.cpx1,t.x2,e),(n?zb:Bb)(t.y1,t.cpy1,t.y2,e)]}var SD=function(t){function e(e){return t.call(this,e)||this}return my(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new bD},e.prototype.buildPath=function(t,e){var n=e.x1,i=e.y1,r=e.x2,o=e.y2,a=e.cpx1,s=e.cpy1,l=e.cpx2,u=e.cpy2,c=e.percent;0!==c&&(t.moveTo(n,i),null==l||null==u?(c<1&&(Fb(n,a,r,c,xD),a=xD[1],r=xD[2],Fb(i,s,o,c,xD),s=xD[1],o=xD[2]),t.quadraticCurveTo(a,s,r,o)):(c<1&&(Eb(n,a,l,r,c,xD),a=xD[1],l=xD[2],r=xD[3],Eb(i,s,u,o,c,xD),s=xD[1],u=xD[2],o=xD[3]),t.bezierCurveTo(a,s,l,u,r,o)))},e.prototype.pointAt=function(t){return wD(this.shape,t,!1)},e.prototype.tangentAt=function(t){var e=wD(this.shape,t,!0);return H_(e,e)},e}(NA);SD.prototype.type="bezier-curve";const MD=SD;var ID=function(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},AD=function(t){function e(e){return t.call(this,e)||this}return my(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new ID},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r,0),o=e.startAngle,a=e.endAngle,s=e.clockwise,l=Math.cos(o),u=Math.sin(o);t.moveTo(l*r+n,u*r+i),t.arc(n,i,r,o,a,!s)},e}(NA);AD.prototype.type="arc";const CD=AD;var TD=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="compound",e}return my(e,t),e.prototype._updatePathDirty=function(){for(var t=this.shape.paths,e=this.shapeChanged(),n=0;n<t.length;n++)e=e||t[n].shapeChanged();e&&this.dirtyShape()},e.prototype.beforeBrush=function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),n=0;n<t.length;n++)t[n].path||t[n].createPathProxy(),t[n].path.setScale(e[0],e[1],t[n].segmentIgnoreThreshold)},e.prototype.buildPath=function(t,e){for(var n=e.paths||[],i=0;i<n.length;i++)n[i].buildPath(t,n[i].shape,!0)},e.prototype.afterBrush=function(){for(var t=this.shape.paths||[],e=0;e<t.length;e++)t[e].pathUpdated()},e.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),NA.prototype.getBoundingRect.call(this)},e}(NA);const DD=TD;const kD=function(){function t(t){this.colorStops=t||[]}return t.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},t}();const LD=function(t){function e(e,n,i,r,o,a){var s=t.call(this,o)||this;return s.x=null==e?0:e,s.y=null==n?0:n,s.x2=null==i?1:i,s.y2=null==r?0:r,s.type="linear",s.global=a||!1,s}return my(e,t),e}(kD);const PD=function(t){function e(e,n,i,r,o){var a=t.call(this,r)||this;return a.x=null==e?.5:e,a.y=null==n?.5:n,a.r=null==i?.5:i,a.type="radial",a.global=o||!1,a}return my(e,t),e}(kD);var OD=[0,0],ED=[0,0],RD=new Px,ND=new Px,BD=function(){function t(t,e){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new Px;for(n=0;n<2;n++)this._axes[n]=new Px;t&&this.fromBoundingRect(t,e)}return t.prototype.fromBoundingRect=function(t,e){var n=this._corners,i=this._axes,r=t.x,o=t.y,a=r+t.width,s=o+t.height;if(n[0].set(r,o),n[1].set(a,o),n[2].set(a,s),n[3].set(r,s),e)for(var l=0;l<4;l++)n[l].transform(e);Px.sub(i[0],n[1],n[0]),Px.sub(i[1],n[3],n[0]),i[0].normalize(),i[1].normalize();for(l=0;l<2;l++)this._origin[l]=i[l].dot(n[0])},t.prototype.intersect=function(t,e){var n=!0,i=!e;return RD.set(1/0,1/0),ND.set(0,0),!this._intersectCheckOneSide(this,t,RD,ND,i,1)&&(n=!1,i)||!this._intersectCheckOneSide(t,this,RD,ND,i,-1)&&(n=!1,i)||i||Px.copy(e,n?RD:ND),n},t.prototype._intersectCheckOneSide=function(t,e,n,i,r,o){for(var a=!0,s=0;s<2;s++){var l=this._axes[s];if(this._getProjMinMaxOnAxis(s,t._corners,OD),this._getProjMinMaxOnAxis(s,e._corners,ED),OD[1]<ED[0]||OD[0]>ED[1]){if(a=!1,r)return a;var u=Math.abs(ED[0]-OD[1]),c=Math.abs(OD[0]-ED[1]);Math.min(u,c)>i.len()&&(u<c?Px.scale(i,l,-u*o):Px.scale(i,l,c*o))}else if(n){u=Math.abs(ED[0]-OD[1]),c=Math.abs(OD[0]-ED[1]);Math.min(u,c)<n.len()&&(u<c?Px.scale(n,l,u*o):Px.scale(n,l,-c*o))}}return a},t.prototype._getProjMinMaxOnAxis=function(t,e,n){for(var i=this._axes[t],r=this._origin,o=e[0].dot(i)+r[t],a=o,s=o,l=1;l<e.length;l++){var u=e[l].dot(i)+r[t];a=Math.min(u,a),s=Math.max(u,s)}n[0]=a,n[1]=s},t}();const zD=BD;var VD=[],FD=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.notClear=!0,e.incremental=!0,e._displayables=[],e._temporaryDisplayables=[],e._cursor=0,e}return my(e,t),e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.useStyle=function(){this.style={}},e.prototype.getCursor=function(){return this._cursor},e.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},e.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},e.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},e.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.markRedraw()},e.prototype.addDisplayables=function(t,e){e=e||!1;for(var n=0;n<t.length;n++)this.addDisplayable(t[n],e)},e.prototype.getDisplayables=function(){return this._displayables},e.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},e.prototype.eachPendingDisplayable=function(t){for(var e=this._cursor;e<this._displayables.length;e++)t&&t(this._displayables[e]);for(e=0;e<this._temporaryDisplayables.length;e++)t&&t(this._temporaryDisplayables[e])},e.prototype.update=function(){this.updateTransform();for(var t=this._cursor;t<this._displayables.length;t++){(e=this._displayables[t]).parent=this,e.update(),e.parent=null}for(t=0;t<this._temporaryDisplayables.length;t++){var e;(e=this._temporaryDisplayables[t]).parent=this,e.update(),e.parent=null}},e.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new Hx(1/0,1/0,-1/0,-1/0),e=0;e<this._displayables.length;e++){var n=this._displayables[e],i=n.getBoundingRect().clone();n.needLocalTransform()&&i.applyTransform(n.getLocalTransform(VD)),t.union(i)}this._rect=t}return this._rect},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e);if(this.getBoundingRect().contain(n[0],n[1]))for(var i=0;i<this._displayables.length;i++){if(this._displayables[i].contain(t,e))return!0}return!1},e}(EI);const GD=FD;var HD=FM();function WD(t,e,n,i,r){var o;if(e&&e.ecModel){var a=e.ecModel.getUpdatePayload();o=a&&a.animation}var s="update"===t;if(e&&e.isAnimationEnabled()){var l=void 0,u=void 0,c=void 0;return i?(l=g_(i.duration,200),u=g_(i.easing,"cubicOut"),c=0):(l=e.getShallow(s?"animationDurationUpdate":"animationDuration"),u=e.getShallow(s?"animationEasingUpdate":"animationEasing"),c=e.getShallow(s?"animationDelayUpdate":"animationDelay")),o&&(null!=o.duration&&(l=o.duration),null!=o.easing&&(u=o.easing),null!=o.delay&&(c=o.delay)),r_(c)&&(c=c(n,r)),r_(l)&&(l=l(n)),{duration:l||0,delay:c,easing:u}}return null}function UD(t,e,n,i,r,o,a){var s,l=!1;r_(r)?(a=o,o=r,r=null):l_(r)&&(o=r.cb,a=r.during,l=r.isFrom,s=r.removeOpt,r=r.dataIndex);var u="leave"===t;u||e.stopAnimation("leave");var c=WD(t,i,r,u?s||{}:null,i&&i.getAnimationDelayParams?i.getAnimationDelayParams(e,r):null);if(c&&c.duration>0){var h={duration:c.duration,delay:c.delay||0,easing:c.easing,done:o,force:!!o||!!a,setToFinal:!u,scope:t,during:a};l?e.animateFrom(n,h):e.animateTo(n,h)}else e.stopAnimation(),!l&&e.attr(n),a&&a(1),o&&o()}function jD(t,e,n,i,r,o){UD("update",t,e,n,i,r,o)}function YD(t,e,n,i,r,o){UD("enter",t,e,n,i,r,o)}function XD(t){if(!t.__zr)return!0;for(var e=0;e<t.animators.length;e++){if("leave"===t.animators[e].scope)return!0}return!1}function qD(t,e,n,i,r,o){XD(t)||UD("leave",t,e,n,i,r,o)}function ZD(t,e,n,i){t.removeTextContent(),t.removeTextGuideLine(),qD(t,{style:{opacity:0}},e,n,i)}function KD(t,e,n){function i(){t.parent&&t.parent.remove(t)}t.isGroup?t.traverse((function(t){t.isGroup||ZD(t,e,n,i)})):ZD(t,e,n,i)}function $D(t){HD(t).oldStyle=t.style}var JD=Math.max,QD=Math.min,tk={};var ek=function(t,e){var n=RT(t,e);return function(t){function e(e){var i=t.call(this,e)||this;return i.applyTransform=n.applyTransform,i.buildPath=n.buildPath,i}return my(e,t),e}(OT)};function nk(t,e){tk[t]=e}function ik(t){if(tk.hasOwnProperty(t))return tk[t]}function rk(t,e,n,i){var r=NT(t,e);return n&&("center"===i&&(n=ak(n,r.getBoundingRect())),lk(r,n)),r}function ok(t,e,n){var i=new WA({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(ak(e,r))}}});return i}function ak(t,e){var n,i=e.width/e.height,r=t.height*i;return n=r<=t.width?t.height:(r=t.width)/i,{x:t.x+t.width/2-r/2,y:t.y+t.height/2-n/2,width:r,height:n}}var sk=function(t,e){for(var n=[],i=t.length,r=0;r<i;r++){var o=t[r];n.push(o.getUpdatedPathProxy(!0))}var a=new NA(e);return a.createPathProxy(),a.buildPath=function(t){if(ET(t)){t.appendPath(n);var e=t.getContext();e&&t.rebuildPath(e,1)}},a};function lk(t,e){if(t.applyTransform){var n=t.getBoundingRect().calculateTransform(e);t.applyTransform(n)}}function uk(t,e){return jA(t,t,{lineWidth:e}),t}var ck=XA;function hk(t,e){for(var n=Ix([]);t&&t!==e;)Cx(n,t.getLocalTransform(),n),t=t.parent;return n}function dk(t,e,n){return e&&!Zy(e)&&(e=TS.getLocalTransform(e)),n&&(e=Lx([],e)),X_([],t,e)}function pk(t,e,n){var i=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),r=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),o=["left"===t?-i:"right"===t?i:0,"top"===t?-r:"bottom"===t?r:0];return o=dk(o,e,n),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function fk(t){return!t.isGroup}function gk(t,e,n){if(t&&e){var i,r=(i={},t.traverse((function(t){fk(t)&&t.anid&&(i[t.anid]=t)})),i);e.traverse((function(t){if(fk(t)&&t.anid){var e=r[t.anid];if(e){var i=o(t);t.attr(o(e)),jD(t,i,n,fC(t).dataIndex)}}}))}function o(t){var e={x:t.x,y:t.y,rotation:t.rotation};return function(t){return null!=t.shape}(t)&&(e.shape=jy({},t.shape)),e}}function vk(t,e){return $y(t,(function(t){var n=t[0];n=JD(n,e.x),n=QD(n,e.x+e.width);var i=t[1];return i=JD(i,e.y),[n,i=QD(i,e.y+e.height)]}))}function mk(t,e,n){var i=jy({rectHover:!0},e),r=i.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(r.image=t.slice(8),Yy(r,n),new WA(i)):rk(t.replace("path://",""),i,n,"center")}function yk(t,e,n,i,r){for(var o=0,a=r[r.length-1];o<r.length;o++){var s=r[o];if(_k(t,e,n,i,s[0],s[1],a[0],a[1]))return!0;a=s}}function _k(t,e,n,i,r,o,a,s){var l,u=n-t,c=i-e,h=a-r,d=s-o,p=xk(h,d,u,c);if((l=p)<=1e-6&&l>=-1e-6)return!1;var f=t-r,g=e-o,v=xk(f,g,u,c)/p;if(v<0||v>1)return!1;var m=xk(f,g,h,d)/p;return!(m<0||m>1)}function xk(t,e,n,i){return t*i-n*e}function bk(t){var e=t.itemTooltipOption,n=t.componentModel,i=t.itemName,r=o_(e)?{formatter:e}:e,o=n.mainType,a=n.componentIndex,s={componentType:o,name:i,$vars:["name"]};s[o+"Index"]=a;var l=t.formatterParamsExtra;l&&Ky(t_(l),(function(t){L_(s,t)||(s[t]=l[t],s.$vars.push(t))}));var u=fC(t.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:i,option:Yy({content:i,formatterParams:s},r)}}function wk(t,e){var n;t.isGroup&&(n=e(t)),n||t.traverse(e)}function Sk(t,e){if(t)if(i_(t))for(var n=0;n<t.length;n++)wk(t[n],e);else wk(t,e)}nk("circle",FT),nk("ellipse",WT),nk("sector",oD),nk("ring",lD),nk("polygon",dD),nk("polyline",gD),nk("rect",$A),nk("line",_D),nk("bezierCurve",MD),nk("arc",CD);const Mk=Object.freeze(Object.defineProperty({__proto__:null,Arc:CD,BezierCurve:MD,BoundingRect:Hx,Circle:FT,CompoundPath:DD,Ellipse:WT,Group:KS,Image:WA,IncrementalDisplayable:GD,Line:_D,LinearGradient:LD,OrientedBoundingRect:zD,Path:NA,Point:Px,Polygon:dD,Polyline:gD,RadialGradient:PD,Rect:$A,Ring:lD,Sector:oD,Text:pC,applyTransform:dk,clipPointsByRect:vk,clipRectByRect:function(t,e){var n=JD(t.x,e.x),i=QD(t.x+t.width,e.x+e.width),r=JD(t.y,e.y),o=QD(t.y+t.height,e.y+e.height);if(i>=n&&o>=r)return{x:n,y:r,width:i-n,height:o-r}},createIcon:mk,extendPath:function(t,e){return ek(t,e)},extendShape:function(t){return NA.extend(t)},getShapeClass:ik,getTransform:hk,groupTransition:gk,initProps:YD,isElementRemoved:XD,lineLineIntersect:_k,linePolygonIntersect:yk,makeImage:ok,makePath:rk,mergePath:sk,registerShape:nk,removeElement:qD,removeElementWithFadeOut:KD,resizePath:lk,setTooltipConfig:bk,subPixelOptimize:ck,subPixelOptimizeLine:uk,subPixelOptimizeRect:function(t){return YA(t.shape,t.shape,t.style),t},transformDirection:pk,traverseElements:Sk,updateProps:jD},Symbol.toStringTag,{value:"Module"}));var Ik={};function Ak(t,e){for(var n=0;n<SC.length;n++){var i=SC[n],r=e[i],o=t.ensureState(i);o.style=o.style||{},o.style.text=r}var a=t.currentStates.slice();t.clearStates(!0),t.setStyle({text:e.normal}),t.useStates(a,!0)}function Ck(t,e,n){var i,r=t.labelFetcher,o=t.labelDataIndex,a=t.labelDimIndex,s=e.normal;r&&(i=r.getFormattedLabel(o,"normal",null,a,s&&s.get("formatter"),null!=n?{interpolatedValue:n}:null)),null==i&&(i=r_(t.defaultText)?t.defaultText(o,t,n):t.defaultText);for(var l={normal:i},u=0;u<SC.length;u++){var c=SC[u],h=e[c];l[c]=g_(r?r.getFormattedLabel(o,c,null,a,h&&h.get("formatter")):null,i)}return l}function Tk(t,e,n,i){n=n||Ik;for(var r=t instanceof pC,o=!1,a=0;a<MC.length;a++){if((d=e[MC[a]])&&d.getShallow("show")){o=!0;break}}var s=r?t:t.getTextContent();if(o){r||(s||(s=new pC,t.setTextContent(s)),t.stateProxy&&(s.stateProxy=t.stateProxy));var l=Ck(n,e),u=e.normal,c=!!u.getShallow("show"),h=kk(u,i&&i.normal,n,!1,!r);h.text=l.normal,r||t.setTextConfig(Lk(u,n,!1));for(a=0;a<SC.length;a++){var d,p=SC[a];if(d=e[p]){var f=s.ensureState(p),g=!!g_(d.getShallow("show"),c);if(g!==c&&(f.ignore=!g),f.style=kk(d,i&&i[p],n,!0,!r),f.style.text=l[p],!r)t.ensureState(p).textConfig=Lk(d,n,!0)}}s.silent=!!u.getShallow("silent"),null!=s.style.x&&(h.x=s.style.x),null!=s.style.y&&(h.y=s.style.y),s.ignore=!c,s.useStyle(h),s.dirty(),n.enableTextSetter&&(Bk(s).setLabelText=function(t){var i=Ck(n,e,t);Ak(s,i)})}else s&&(s.ignore=!0);t.dirty()}function Dk(t,e){e=e||"label";for(var n={normal:t.getModel(e)},i=0;i<SC.length;i++){var r=SC[i];n[r]=t.getModel([r,e])}return n}function kk(t,e,n,i,r){var o={};return function(t,e,n,i,r){n=n||Ik;var o,a=e.ecModel,s=a&&a.option.textStyle,l=function(t){var e;for(;t&&t!==t.ecModel;){var n=(t.option||Ik).rich;if(n){e=e||{};for(var i=t_(n),r=0;r<i.length;r++){e[i[r]]=1}}t=t.parentModel}return e}(e);if(l)for(var u in o={},l)if(l.hasOwnProperty(u)){var c=e.getModel(["rich",u]);Rk(o[u]={},c,s,n,i,r,!1,!0)}o&&(t.rich=o);var h=e.get("overflow");h&&(t.overflow=h);var d=e.get("minMargin");null!=d&&(t.margin=d);Rk(t,e,s,n,i,r,!0,!1)}(o,t,n,i,r),e&&jy(o,e),o}function Lk(t,e,n){e=e||{};var i,r={},o=t.getShallow("rotate"),a=g_(t.getShallow("distance"),n?null:5),s=t.getShallow("offset");return"outside"===(i=t.getShallow("position")||(n?null:"inside"))&&(i=e.defaultOutsidePosition||"top"),null!=i&&(r.position=i),null!=s&&(r.offset=s),null!=o&&(o*=Math.PI/180,r.rotation=o),null!=a&&(r.distance=a),r.outsideFill="inherit"===t.get("color")?e.inheritColor||null:"auto",r}var Pk=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],Ok=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],Ek=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function Rk(t,e,n,i,r,o,a,s){n=!r&&n||Ik;var l=i&&i.inheritColor,u=e.getShallow("color"),c=e.getShallow("textBorderColor"),h=g_(e.getShallow("opacity"),n.opacity);"inherit"!==u&&"auto"!==u||(u=l||null),"inherit"!==c&&"auto"!==c||(c=l||null),o||(u=u||n.color,c=c||n.textBorderColor),null!=u&&(t.fill=u),null!=c&&(t.stroke=c);var d=g_(e.getShallow("textBorderWidth"),n.textBorderWidth);null!=d&&(t.lineWidth=d);var p=g_(e.getShallow("textBorderType"),n.textBorderType);null!=p&&(t.lineDash=p);var f=g_(e.getShallow("textBorderDashOffset"),n.textBorderDashOffset);null!=f&&(t.lineDashOffset=f),r||null!=h||s||(h=i&&i.defaultOpacity),null!=h&&(t.opacity=h),r||o||null==t.fill&&i.inheritColor&&(t.fill=i.inheritColor);for(var g=0;g<Pk.length;g++){var v=Pk[g];null!=(y=g_(e.getShallow(v),n[v]))&&(t[v]=y)}for(g=0;g<Ok.length;g++){v=Ok[g];null!=(y=e.getShallow(v))&&(t[v]=y)}if(null==t.verticalAlign){var m=e.getShallow("baseline");null!=m&&(t.verticalAlign=m)}if(!a||!i.disableBox){for(g=0;g<Ek.length;g++){var y;v=Ek[g];null!=(y=e.getShallow(v))&&(t[v]=y)}var _=e.getShallow("borderType");null!=_&&(t.borderDash=_),"auto"!==t.backgroundColor&&"inherit"!==t.backgroundColor||!l||(t.backgroundColor=l),"auto"!==t.borderColor&&"inherit"!==t.borderColor||!l||(t.borderColor=l)}}function Nk(t,e){var n=e&&e.getModel("textStyle");return x_([t.fontStyle||n&&n.getShallow("fontStyle")||"",t.fontWeight||n&&n.getShallow("fontWeight")||"",(t.fontSize||n&&n.getShallow("fontSize")||12)+"px",t.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))}var Bk=FM();function zk(t,e,n,i){if(t){var r=Bk(t);r.prevValue=r.value,r.value=n;var o=e.normal;r.valueAnimation=o.get("valueAnimation"),r.valueAnimation&&(r.precision=o.get("precision"),r.defaultInterpolatedText=i,r.statesModels=e)}}function Vk(t,e,n,i,r){var o=Bk(t);if(o.valueAnimation&&o.prevValue!==o.value){var a=o.defaultInterpolatedText,s=g_(o.interpolatedValue,o.prevValue),l=o.value;t.percent=0,(null==o.prevValue?YD:jD)(t,{percent:1},i,e,null,(function(i){var u=ZM(n,o.precision,s,l,i);o.interpolatedValue=1===i?null:u;var c=Ck({labelDataIndex:e,labelFetcher:r,defaultText:a?a(u):u+""},o.statesModels,u);Ak(t,c)}))}}var Fk=["textStyle","color"],Gk=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],Hk=new pC,Wk=function(){function t(){}return t.prototype.getTextColor=function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(Fk):null)},t.prototype.getFont=function(){return Nk({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},t.prototype.getTextRect=function(t){for(var e={text:t,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},n=0;n<Gk.length;n++)e[Gk[n]]=this.getShallow(Gk[n]);return Hk.useStyle(e),Hk.update(),Hk.getBoundingRect()},t}();const Uk=Wk;var jk,Yk,Xk=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],qk=aI(Xk),Zk=function(){function t(){}return t.prototype.getLineStyle=function(t){return qk(this,t)},t}(),Kk=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],$k=aI(Kk),Jk=function(){function t(){}return t.prototype.getItemStyle=function(t,e){return $k(this,t,e)},t}(),Qk=function(){function t(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}return t.prototype.init=function(t,e,n){},t.prototype.mergeOption=function(t,e){Wy(this.option,t,!0)},t.prototype.get=function(t,e){return null==t?this.option:this._doGet(this.parsePath(t),!e&&this.parentModel)},t.prototype.getShallow=function(t,e){var n=this.option,i=null==n?n:n[t];if(null==i&&!e){var r=this.parentModel;r&&(i=r.getShallow(t))}return i},t.prototype.getModel=function(e,n){var i=null!=e,r=i?this.parsePath(e):null;return new t(i?this._doGet(r):this.option,n=n||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(r)),this.ecModel)},t.prototype.isEmpty=function(){return null==this.option},t.prototype.restoreData=function(){},t.prototype.clone=function(){return new(0,this.constructor)(Hy(this.option))},t.prototype.parsePath=function(t){return"string"==typeof t?t.split("."):t},t.prototype.resolveParentPath=function(t){return t},t.prototype.isAnimationEnabled=function(){if(!xy.node&&this.option){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},t.prototype._doGet=function(t,e){var n=this.option;if(!t)return n;for(var i=0;i<t.length&&(!t[i]||null!=(n=n&&"object"==typeof n?n[t[i]]:null));i++);return null==n&&e&&(n=e._doGet(this.resolveParentPath(t),e.parentModel)),n},t}();tI(Qk),jk=Qk,Yk=["__\0is_clz",nI++].join("_"),jk.prototype[Yk]=!0,jk.isInstance=function(t){return!(!t||!t[Yk])},qy(Qk,Zk),qy(Qk,Jk),qy(Qk,lI),qy(Qk,Uk);const tL=Qk;var eL=Math.round(10*Math.random());function nL(t){return[t||"",eL++].join("_")}function iL(t,e){return Wy(Wy({},t,!0),e,!0)}var rL="ZH",oL="EN",aL=oL,sL={},lL={},uL=xy.domSupported&&(document.documentElement.lang||navigator.language||navigator.browserLanguage).toUpperCase().indexOf(rL)>-1?rL:aL;function cL(t,e){t=t.toUpperCase(),lL[t]=new tL(e),sL[t]=e}function hL(t){return lL[t]}cL(oL,{time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}}),cL(rL,{time:{month:["䏿","äºæ","䏿","åæ","äºæ","å
æ","䏿","å
«æ","乿","åæ","å䏿","åäºæ"],monthAbbr:["1æ","2æ","3æ","4æ","5æ","6æ","7æ","8æ","9æ","10æ","11æ","12æ"],dayOfWeek:["æææ¥","ææä¸","ææäº","ææä¸","ææå","ææäº","ææå
"],dayOfWeekAbbr:["æ¥","ä¸","äº","ä¸","å","äº","å
"]},legend:{selector:{all:"å
¨é",inverse:"åé"}},toolbox:{brush:{title:{rect:"ç©å½¢éæ©",polygon:"åé",lineX:"横åéæ©",lineY:"纵åéæ©",keep:"ä¿æéæ©",clear:"æ¸
é¤éæ©"}},dataView:{title:"æ°æ®è§å¾",lang:["æ°æ®è§å¾","å
³é","å·æ°"]},dataZoom:{title:{zoom:"åºå缩æ¾",back:"åºå缩æ¾è¿å"}},magicType:{title:{line:"åæ¢ä¸ºæçº¿å¾",bar:"åæ¢ä¸ºæ±ç¶å¾",stack:"åæ¢ä¸ºå å ",tiled:"åæ¢ä¸ºå¹³éº"}},restore:{title:"è¿å"},saveAsImage:{title:"ä¿å为å¾ç",lang:["å³é®å¦å为å¾ç"]}},series:{typeNames:{pie:"饼å¾",bar:"æ±ç¶å¾",line:"æçº¿å¾",scatter:"æ£ç¹å¾",effectScatter:"æ¶æ¼ªæ£ç¹å¾",radar:"é·è¾¾å¾",tree:"æ å¾",treemap:"ç©å½¢æ å¾",boxplot:"ç®±åå¾",candlestick:"K线å¾",k:"K线å¾",heatmap:"çåå¾",map:"å°å¾",parallel:"å¹³è¡åæ å¾",lines:"线å¾",graph:"å
³ç³»å¾",sankey:"æ¡åºå¾",funnel:"æ¼æå¾",gauge:"仪表çå¾",pictorialBar:"象形æ±å¾",themeRiver:"䏻颿²³æµå¾",sunburst:"ææ¥å¾"}},aria:{general:{withTitle:"è¿æ¯ä¸ä¸ªå
³äºâ{title}âçå¾è¡¨ã",withoutTitle:"è¿æ¯ä¸ä¸ªå¾è¡¨ï¼"},series:{single:{prefix:"",withName:"å¾è¡¨ç±»åæ¯{seriesType}ï¼è¡¨ç¤º{seriesName}ã",withoutName:"å¾è¡¨ç±»åæ¯{seriesType}ã"},multiple:{prefix:"å®ç±{seriesCount}个å¾è¡¨ç³»åç»æã",withName:"第{seriesId}ä¸ªç³»åæ¯ä¸ä¸ªè¡¨ç¤º{seriesName}ç{seriesType}ï¼",withoutName:"第{seriesId}ä¸ªç³»åæ¯ä¸ä¸ª{seriesType}ï¼",separator:{middle:"ï¼",end:"ã"}}},data:{allData:"å
¶æ°æ®æ¯ââ",partialData:"å
¶ä¸ï¼å{displayCnt}项æ¯ââ",withName:"{name}çæ°æ®æ¯{value}",withoutName:"{value}",separator:{middle:"ï¼",end:""}}}});var dL=1e3,pL=60*dL,fL=60*pL,gL=24*fL,vL=365*gL,mL={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},yL="{yyyy}-{MM}-{dd}",_L={year:"{yyyy}",month:"{yyyy}-{MM}",day:yL,hour:yL+" "+mL.hour,minute:yL+" "+mL.minute,second:yL+" "+mL.second,millisecond:mL.none},xL=["year","month","day","hour","minute","second","millisecond"],bL=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function wL(t,e){return"0000".substr(0,e-(t+="").length)+t}function SL(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function ML(t){return t===SL(t)}function IL(t,e,n,i){var r=fM(t),o=r[TL(n)](),a=r[DL(n)]()+1,s=Math.floor((a-1)/3)+1,l=r[kL(n)](),u=r["get"+(n?"UTC":"")+"Day"](),c=r[LL(n)](),h=(c-1)%12+1,d=r[PL(n)](),p=r[OL(n)](),f=r[EL(n)](),g=(i instanceof tL?i:hL(i||uL)||lL[aL]).getModel("time"),v=g.get("month"),m=g.get("monthAbbr"),y=g.get("dayOfWeek"),_=g.get("dayOfWeekAbbr");return(e||"").replace(/{yyyy}/g,o+"").replace(/{yy}/g,wL(o%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,v[a-1]).replace(/{MMM}/g,m[a-1]).replace(/{MM}/g,wL(a,2)).replace(/{M}/g,a+"").replace(/{dd}/g,wL(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,y[u]).replace(/{ee}/g,_[u]).replace(/{e}/g,u+"").replace(/{HH}/g,wL(c,2)).replace(/{H}/g,c+"").replace(/{hh}/g,wL(h+"",2)).replace(/{h}/g,h+"").replace(/{mm}/g,wL(d,2)).replace(/{m}/g,d+"").replace(/{ss}/g,wL(p,2)).replace(/{s}/g,p+"").replace(/{SSS}/g,wL(f,3)).replace(/{S}/g,f+"")}function AL(t,e){var n=fM(t),i=n[DL(e)]()+1,r=n[kL(e)](),o=n[LL(e)](),a=n[PL(e)](),s=n[OL(e)](),l=0===n[EL(e)](),u=l&&0===s,c=u&&0===a,h=c&&0===o,d=h&&1===r;return d&&1===i?"year":d?"month":h?"day":c?"hour":u?"minute":l?"second":"millisecond"}function CL(t,e,n){var i=s_(t)?fM(t):t;switch(e=e||AL(t,n)){case"year":return i[TL(n)]();case"half-year":return i[DL(n)]()>=6?1:0;case"quarter":return Math.floor((i[DL(n)]()+1)/4);case"month":return i[DL(n)]();case"day":return i[kL(n)]();case"half-day":return i[LL(n)]()/24;case"hour":return i[LL(n)]();case"minute":return i[PL(n)]();case"second":return i[OL(n)]();case"millisecond":return i[EL(n)]()}}function TL(t){return t?"getUTCFullYear":"getFullYear"}function DL(t){return t?"getUTCMonth":"getMonth"}function kL(t){return t?"getUTCDate":"getDate"}function LL(t){return t?"getUTCHours":"getHours"}function PL(t){return t?"getUTCMinutes":"getMinutes"}function OL(t){return t?"getUTCSeconds":"getSeconds"}function EL(t){return t?"getUTCMilliseconds":"getMilliseconds"}function RL(t){return t?"setUTCFullYear":"setFullYear"}function NL(t){return t?"setUTCMonth":"setMonth"}function BL(t){return t?"setUTCDate":"setDate"}function zL(t){return t?"setUTCHours":"setHours"}function VL(t){return t?"setUTCMinutes":"setMinutes"}function FL(t){return t?"setUTCSeconds":"setSeconds"}function GL(t){return t?"setUTCMilliseconds":"setMilliseconds"}function HL(t){if(!xM(t))return o_(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function WL(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var UL=y_;function jL(t,e,n){function i(t){return t&&x_(t)?t:"-"}function r(t){return!(null==t||isNaN(t)||!isFinite(t))}var o="time"===e,a=t instanceof Date;if(o||a){var s=o?fM(t):t;if(!isNaN(+s))return IL(s,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",n);if(a)return"-"}if("ordinal"===e)return a_(t)?i(t):s_(t)&&r(t)?t+"":"-";var l=_M(t);return r(l)?HL(l):a_(t)?i(t):"boolean"==typeof t?t+"":"-"}var YL=["a","b","c","d","e","f","g"],XL=function(t,e){return"{"+t+(null==e?"":e)+"}"};function qL(t,e,n){i_(e)||(e=[e]);var i=e.length;if(!i)return"";for(var r=e[0].$vars||[],o=0;o<r.length;o++){var a=YL[o];t=t.replace(XL(a),XL(a,0))}for(var s=0;s<i;s++)for(var l=0;l<r.length;l++){var u=e[s][r[l]];t=t.replace(XL(YL[l],s),n?ux(u):u)}return t}function ZL(t,e){return e=e||"transparent",o_(t)?t:l_(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function KL(t,e){if("_blank"===e||"blank"===e){var n=window.open();n.opener=null,n.location.href=t}else window.open(t,e)}var $L=Ky,JL=["left","right","top","bottom","width","height"],QL=[["width","left","right"],["height","top","bottom"]];function tP(t,e,n,i,r){var o=0,a=0;null==i&&(i=1/0),null==r&&(r=1/0);var s=0;e.eachChild((function(l,u){var c,h,d=l.getBoundingRect(),p=e.childAt(u+1),f=p&&p.getBoundingRect();if("horizontal"===t){var g=d.width+(f?-f.x+d.x:0);(c=o+g)>i||l.newline?(o=0,c=g,a+=s+n,s=d.height):s=Math.max(s,d.height)}else{var v=d.height+(f?-f.y+d.y:0);(h=a+v)>r||l.newline?(o+=s+n,a=0,h=v,s=d.width):s=Math.max(s,d.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),"horizontal"===t?o=c+n:a=h+n)}))}var eP=tP;function nP(t,e,n){n=UL(n||0);var i=e.width,r=e.height,o=rM(t.left,i),a=rM(t.top,r),s=rM(t.right,i),l=rM(t.bottom,r),u=rM(t.width,i),c=rM(t.height,r),h=n[2]+n[0],d=n[1]+n[3],p=t.aspect;switch(isNaN(u)&&(u=i-s-d-o),isNaN(c)&&(c=r-l-h-a),null!=p&&(isNaN(u)&&isNaN(c)&&(p>i/r?u=.8*i:c=.8*r),isNaN(u)&&(u=p*c),isNaN(c)&&(c=u/p)),isNaN(o)&&(o=i-s-u-d),isNaN(a)&&(a=r-l-c-h),t.left||t.right){case"center":o=i/2-u/2-n[3];break;case"right":o=i-u-d}switch(t.top||t.bottom){case"middle":case"center":a=r/2-c/2-n[0];break;case"bottom":a=r-c-h}o=o||0,a=a||0,isNaN(u)&&(u=i-d-o-(s||0)),isNaN(c)&&(c=r-h-a-(l||0));var f=new Hx(o+n[3],a+n[0],u,c);return f.margin=n,f}function iP(t,e,n,i,r,o){var a,s=!r||!r.hv||r.hv[0],l=!r||!r.hv||r.hv[1],u=r&&r.boundingMode||"all";if((o=o||t).x=t.x,o.y=t.y,!s&&!l)return!1;if("raw"===u)a="group"===t.type?new Hx(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(a=t.getBoundingRect(),t.needLocalTransform()){var c=t.getLocalTransform();(a=a.clone()).applyTransform(c)}var h=nP(Yy({width:a.width,height:a.height},e),n,i),d=s?h.x-a.x:0,p=l?h.y-a.y:0;return"raw"===u?(o.x=d,o.y=p):(o.x+=d,o.y+=p),o===t&&t.markRedraw(),!0}function rP(t){var e=t.layoutMode||t.constructor.layoutMode;return l_(e)?e:e?{type:e}:null}function oP(t,e,n){var i=n&&n.ignoreSize;!i_(i)&&(i=[i,i]);var r=a(QL[0],0),o=a(QL[1],1);function a(n,r){var o={},a=0,u={},c=0;if($L(n,(function(e){u[e]=t[e]})),$L(n,(function(t){s(e,t)&&(o[t]=u[t]=e[t]),l(o,t)&&a++,l(u,t)&&c++})),i[r])return l(e,n[1])?u[n[2]]=null:l(e,n[2])&&(u[n[1]]=null),u;if(2!==c&&a){if(a>=2)return o;for(var h=0;h<n.length;h++){var d=n[h];if(!s(o,d)&&s(t,d)){o[d]=t[d];break}}return o}return u}function s(t,e){return t.hasOwnProperty(e)}function l(t,e){return null!=t[e]&&"auto"!==t[e]}function u(t,e,n){$L(t,(function(t){e[t]=n[t]}))}u(QL[0],t,r),u(QL[1],t,o)}function aP(t){return sP({},t)}function sP(t,e){return e&&t&&$L(JL,(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}n_(tP,"vertical"),n_(tP,"horizontal");var lP=FM(),uP=function(t){function e(e,n,i){var r=t.call(this,e,n,i)||this;return r.uid=nL("ec_cpt_model"),r}var n;return my(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=rP(this),i=n?aP(t):{};Wy(t,e.getTheme().get(this.mainType)),Wy(t,this.getDefaultOption()),n&&oP(t,i,n)},e.prototype.mergeOption=function(t,e){Wy(this.option,t,!0);var n=rP(this);n&&oP(this.option,t,n)},e.prototype.optionUpdated=function(t,e){},e.prototype.getDefaultOption=function(){var t=this.constructor;if(!function(t){return!(!t||!t[JM])}(t))return t.defaultOption;var e=lP(this);if(!e.defaultOption){for(var n=[],i=t;i;){var r=i.prototype.defaultOption;r&&n.push(r),i=i.superClass}for(var o={},a=n.length-1;a>=0;a--)o=Wy(o,n[a],!0);e.defaultOption=o}return e.defaultOption},e.prototype.getReferringComponents=function(t,e){var n=t+"Index",i=t+"Id";return YM(this.ecModel,t,{index:this.get(n,!0),id:this.get(i,!0)},e)},e.prototype.getBoxLayoutParams=function(){var t=this;return{left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")}},e.prototype.getZLevelKey=function(){return""},e.prototype.setZLevel=function(t){this.option.zlevel=t},e.protoInitialize=((n=e.prototype).type="component",n.id="",n.name="",n.mainType="",n.subType="",void(n.componentIndex=0)),e}(tL);eI(uP,tL),oI(uP),function(t){var e={};t.registerSubTypeDefaulter=function(t,n){var i=QM(t);e[i.main]=n},t.determineSubType=function(n,i){var r=i.type;if(!r){var o=QM(n).main;t.hasSubTypes(n)&&e[o]&&(r=e[o](i))}return r}}(uP),function(t,e){function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}t.topologicalTravel=function(t,i,r,o){if(t.length){var a=function(t){var i={},r=[];return Ky(t,(function(o){var a=n(i,o),s=function(t,e){var n=[];return Ky(t,(function(t){Xy(e,t)>=0&&n.push(t)})),n}(a.originalDeps=e(o),t);a.entryCount=s.length,0===a.entryCount&&r.push(o),Ky(s,(function(t){Xy(a.predecessor,t)<0&&a.predecessor.push(t);var e=n(i,t);Xy(e.successor,t)<0&&e.successor.push(o)}))})),{graph:i,noEntryList:r}}(i),s=a.graph,l=a.noEntryList,u={};for(Ky(t,(function(t){u[t]=!0}));l.length;){var c=l.pop(),h=s[c],d=!!u[c];d&&(r.call(o,c,h.originalDeps.slice()),delete u[c]),Ky(h.successor,d?f:p)}Ky(u,(function(){throw new Error("")}))}function p(t){s[t].entryCount--,0===s[t].entryCount&&l.push(t)}function f(t){u[t]=!0,p(t)}}}(uP,(function(t){var e=[];Ky(uP.getClassesByMainType(t),(function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])})),e=$y(e,(function(t){return QM(t).main})),"dataset"!==t&&Xy(e,"dataset")<=0&&e.unshift("dataset");return e}));const cP=uP;var hP="";"undefined"!=typeof navigator&&(hP=navigator.platform||"");var dP="rgba(0, 0, 0, 0.2)";const pP={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:dP,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:dP,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:dP,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:dP,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:dP,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:dP,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:hP.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};var fP=C_(["tooltip","label","itemName","itemId","itemGroupId","seriesName"]),gP="original",vP="arrayRows",mP="objectRows",yP="keyedColumns",_P="typedArray",xP="unknown",bP="column",wP="row",SP={Must:1,Might:2,Not:3},MP=FM();function IP(t,e,n){var i={},r=CP(e);if(!r||!t)return i;var o,a,s=[],l=[],u=e.ecModel,c=MP(u).datasetMap,h=r.uid+"_"+n.seriesLayoutBy;Ky(t=t.slice(),(function(e,n){var r=l_(e)?e:t[n]={name:e};"ordinal"===r.type&&null==o&&(o=n,a=f(r)),i[r.name]=[]}));var d=c.get(h)||c.set(h,{categoryWayDim:a,valueWayDim:0});function p(t,e,n){for(var i=0;i<n;i++)t.push(e+i)}function f(t){var e=t.dimsDef;return e?e.length:1}return Ky(t,(function(t,e){var n=t.name,r=f(t);if(null==o){var a=d.valueWayDim;p(i[n],a,r),p(l,a,r),d.valueWayDim+=r}else if(o===e)p(i[n],0,r),p(s,0,r);else{a=d.categoryWayDim;p(i[n],a,r),p(l,a,r),d.categoryWayDim+=r}})),s.length&&(i.itemName=s),l.length&&(i.seriesName=l),i}function AP(t,e,n){var i={};if(!CP(t))return i;var r,o=e.sourceFormat,a=e.dimensionsDefine;o!==mP&&o!==yP||Ky(a,(function(t,e){"name"===(l_(t)?t.name:t)&&(r=e)}));var s=function(){for(var t={},i={},s=[],l=0,u=Math.min(5,n);l<u;l++){var c=DP(e.data,o,e.seriesLayoutBy,a,e.startIndex,l);s.push(c);var h=c===SP.Not;if(h&&null==t.v&&l!==r&&(t.v=l),(null==t.n||t.n===t.v||!h&&s[t.n]===SP.Not)&&(t.n=l),d(t)&&s[t.n]!==SP.Not)return t;h||(c===SP.Might&&null==i.v&&l!==r&&(i.v=l),null!=i.n&&i.n!==i.v||(i.n=l))}function d(t){return null!=t.v&&null!=t.n}return d(t)?t:d(i)?i:null}();if(s){i.value=[s.v];var l=null!=r?r:s.n;i.itemName=[l],i.seriesName=[l]}return i}function CP(t){if(!t.get("data",!0))return YM(t.ecModel,"dataset",{index:t.get("datasetIndex",!0),id:t.get("datasetId",!0)},UM).models[0]}function TP(t,e){return DP(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}function DP(t,e,n,i,r,o){var a,s,l;if(c_(t))return SP.Not;if(i){var u=i[o];l_(u)?(s=u.name,l=u.type):o_(u)&&(s=u)}if(null!=l)return"ordinal"===l?SP.Must:SP.Not;if(e===vP){var c=t;if(n===wP){for(var h=c[o],d=0;d<(h||[]).length&&d<5;d++)if(null!=(a=_(h[r+d])))return a}else for(d=0;d<c.length&&d<5;d++){var p=c[r+d];if(p&&null!=(a=_(p[o])))return a}}else if(e===mP){var f=t;if(!s)return SP.Not;for(d=0;d<f.length&&d<5;d++){if((m=f[d])&&null!=(a=_(m[s])))return a}}else if(e===yP){var g=t;if(!s)return SP.Not;if(!(h=g[s])||c_(h))return SP.Not;for(d=0;d<h.length&&d<5;d++)if(null!=(a=_(h[d])))return a}else if(e===gP){var v=t;for(d=0;d<v.length&&d<5;d++){var m,y=LM(m=v[d]);if(!i_(y))return SP.Not;if(null!=(a=_(y[o])))return a}}function _(t){var e=o_(t);return null!=t&&isFinite(t)&&""!==t?e?SP.Might:SP.Not:e&&"-"!==t?SP.Must:void 0}return SP.Not}var kP=C_();var LP,PP,OP,EP=FM(),RP=FM(),NP=function(){function t(){}return t.prototype.getColorFromPalette=function(t,e,n){var i=TM(this.get("color",!0)),r=this.get("colorLayer",!0);return zP(this,EP,i,r,t,e,n)},t.prototype.clearColorPalette=function(){var t,e;(e=EP)(t=this).paletteIdx=0,e(t).paletteNameMap={}},t}();function BP(t,e,n,i){var r=TM(t.get(["aria","decal","decals"]));return zP(t,RP,r,null,e,n,i)}function zP(t,e,n,i,r,o,a){var s=e(o=o||t),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(r))return u[r];var c=null!=a&&i?function(t,e){for(var n=t.length,i=0;i<n;i++)if(t[i].length>e)return t[i];return t[n-1]}(i,a):n;if((c=c||n)&&c.length){var h=c[l];return r&&(u[r]=h),s.paletteIdx=(l+1)%c.length,h}}var VP="\0_ec_inner",FP=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return my(e,t),e.prototype.init=function(t,e,n,i,r,o){i=i||{},this.option=null,this._theme=new tL(i),this._locale=new tL(r),this._optionManager=o},e.prototype.setOption=function(t,e,n){var i=WP(e);this._optionManager.setOption(t,n,i),this._resetOption(null,i)},e.prototype.resetOption=function(t,e){return this._resetOption(t,WP(e))},e.prototype._resetOption=function(t,e){var n=!1,i=this._optionManager;if(!t||"recreate"===t){var r=i.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(r,e)):OP(this,r),n=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var o=i.getTimelineOption(this);o&&(n=!0,this._mergeOption(o,e))}if(!t||"recreate"===t||"media"===t){var a=i.getMediaOption(this);a.length&&Ky(a,(function(t){n=!0,this._mergeOption(t,e)}),this)}return n},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,e){var n=this.option,i=this._componentsMap,r=this._componentsCount,o=[],a=C_(),s=e&&e.replaceMergeMainTypeMap;MP(this).datasetMap=C_(),Ky(t,(function(t,e){null!=t&&(cP.hasClass(e)?e&&(o.push(e),a.set(e,!0)):n[e]=null==n[e]?Hy(t):Wy(n[e],t,!0))})),s&&s.each((function(t,e){cP.hasClass(e)&&!a.get(e)&&(o.push(e),a.set(e,!0))})),cP.topologicalTravel(o,cP.getAllClassMainTypes(),(function(e){var o=function(t,e,n){var i=kP.get(e);if(!i)return n;var r=i(t);return r?n.concat(r):n}(this,e,TM(t[e])),a=i.get(e),l=a?s&&s.get(e)?"replaceMerge":"normalMerge":"replaceAll",u=OM(a,o,l);(function(t,e,n){Ky(t,(function(t){var i=t.newOption;l_(i)&&(t.keyInfo.mainType=e,t.keyInfo.subType=function(t,e,n,i){return e.type?e.type:n?n.subType:i.determineSubType(t,e)}(e,i,t.existing,n))}))})(u,e,cP),n[e]=null,i.set(e,null),r.set(e,0);var c,h=[],d=[],p=0;Ky(u,(function(t,n){var i=t.existing,r=t.newOption;if(r){var o="series"===e,a=cP.getClass(e,t.keyInfo.subType,!o);if(!a)return;if("tooltip"===e){if(c)return;c=!0}if(i&&i.constructor===a)i.name=t.keyInfo.name,i.mergeOption(r,this),i.optionUpdated(r,!1);else{var s=jy({componentIndex:n},t.keyInfo);jy(i=new a(r,this,this,s),s),t.brandNew&&(i.__requireNewView=!0),i.init(r,this,this),i.optionUpdated(null,!0)}}else i&&(i.mergeOption({},this),i.optionUpdated({},!1));i?(h.push(i.option),d.push(i),p++):(h.push(void 0),d.push(void 0))}),this),n[e]=h,i.set(e,d),r.set(e,p),"series"===e&&LP(this)}),this),this._seriesIndices||LP(this)},e.prototype.getOption=function(){var t=Hy(this.option);return Ky(t,(function(e,n){if(cP.hasClass(n)){for(var i=TM(e),r=i.length,o=!1,a=r-1;a>=0;a--)i[a]&&!zM(i[a])?o=!0:(i[a]=null,!o&&r--);i.length=r,t[n]=i}})),delete t[VP],t},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,e){var n=this._componentsMap.get(t);if(n){var i=n[e||0];if(i)return i;if(null==e)for(var r=0;r<n.length;r++)if(n[r])return n[r]}},e.prototype.queryComponents=function(t){var e=t.mainType;if(!e)return[];var n,i=t.index,r=t.id,o=t.name,a=this._componentsMap.get(e);return a&&a.length?(null!=i?(n=[],Ky(TM(i),(function(t){a[t]&&n.push(a[t])}))):n=null!=r?GP("id",r,a):null!=o?GP("name",o,a):Qy(a,(function(t){return!!t})),HP(n,t)):[]},e.prototype.findComponents=function(t){var e,n,i,r,o,a=t.query,s=t.mainType,l=(n=s+"Index",i=s+"Id",r=s+"Name",!(e=a)||null==e[n]&&null==e[i]&&null==e[r]?null:{mainType:s,index:e[n],id:e[i],name:e[r]}),u=l?this.queryComponents(l):Qy(this._componentsMap.get(s),(function(t){return!!t}));return o=HP(u,t),t.filter?Qy(o,t.filter):o},e.prototype.eachComponent=function(t,e,n){var i=this._componentsMap;if(r_(t)){var r=e,o=t;i.each((function(t,e){for(var n=0;t&&n<t.length;n++){var i=t[n];i&&o.call(r,e,i,i.componentIndex)}}))}else for(var a=o_(t)?i.get(t):l_(t)?this.findComponents(t):null,s=0;a&&s<a.length;s++){var l=a[s];l&&e.call(n,l,l.componentIndex)}},e.prototype.getSeriesByName=function(t){var e=NM(t,null);return Qy(this._componentsMap.get("series"),(function(t){return!!t&&null!=e&&t.name===e}))},e.prototype.getSeriesByIndex=function(t){return this._componentsMap.get("series")[t]},e.prototype.getSeriesByType=function(t){return Qy(this._componentsMap.get("series"),(function(e){return!!e&&e.subType===t}))},e.prototype.getSeries=function(){return Qy(this._componentsMap.get("series"),(function(t){return!!t}))},e.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},e.prototype.eachSeries=function(t,e){PP(this),Ky(this._seriesIndices,(function(n){var i=this._componentsMap.get("series")[n];t.call(e,i,n)}),this)},e.prototype.eachRawSeries=function(t,e){Ky(this._componentsMap.get("series"),(function(n){n&&t.call(e,n,n.componentIndex)}))},e.prototype.eachSeriesByType=function(t,e,n){PP(this),Ky(this._seriesIndices,(function(i){var r=this._componentsMap.get("series")[i];r.subType===t&&e.call(n,r,i)}),this)},e.prototype.eachRawSeriesByType=function(t,e,n){return Ky(this.getSeriesByType(t),e,n)},e.prototype.isSeriesFiltered=function(t){return PP(this),null==this._seriesIndicesMap.get(t.componentIndex)},e.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},e.prototype.filterSeries=function(t,e){PP(this);var n=[];Ky(this._seriesIndices,(function(i){var r=this._componentsMap.get("series")[i];t.call(e,r,i)&&n.push(i)}),this),this._seriesIndices=n,this._seriesIndicesMap=C_(n)},e.prototype.restoreData=function(t){LP(this);var e=this._componentsMap,n=[];e.each((function(t,e){cP.hasClass(e)&&n.push(e)})),cP.topologicalTravel(n,cP.getAllClassMainTypes(),(function(n){Ky(e.get(n),(function(e){!e||"series"===n&&function(t,e){if(e){var n=e.seriesIndex,i=e.seriesId,r=e.seriesName;return null!=n&&t.componentIndex!==n||null!=i&&t.id!==i||null!=r&&t.name!==r}}(e,t)||e.restoreData()}))}))},e.internalField=(LP=function(t){var e=t._seriesIndices=[];Ky(t._componentsMap.get("series"),(function(t){t&&e.push(t.componentIndex)})),t._seriesIndicesMap=C_(e)},PP=function(t){},void(OP=function(t,e){t.option={},t.option[VP]=1,t._componentsMap=C_({series:[]}),t._componentsCount=C_();var n,i,r,o=e.aria;l_(o)&&null==o.enabled&&(o.enabled=!0),n=e,i=t._theme.option,r=n.color&&!n.colorLayer,Ky(i,(function(t,e){"colorLayer"===e&&r||cP.hasClass(e)||("object"==typeof t?n[e]=n[e]?Wy(n[e],t,!1):Hy(t):null==n[e]&&(n[e]=t))})),Wy(e,pP,!1),t._mergeOption(e,null)})),e}(tL);function GP(t,e,n){if(i_(e)){var i=C_();return Ky(e,(function(t){null!=t&&(null!=NM(t,null)&&i.set(t,!0))})),Qy(n,(function(e){return e&&i.get(e[t])}))}var r=NM(e,null);return Qy(n,(function(e){return e&&null!=r&&e[t]===r}))}function HP(t,e){return e.hasOwnProperty("subType")?Qy(t,(function(t){return t&&t.subType===e.subType})):t}function WP(t){var e=C_();return t&&Ky(TM(t.replaceMerge),(function(t){e.set(t,!0)})),{replaceMergeMainTypeMap:e}}qy(FP,NP);const UP=FP;var jP=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"];const YP=function(t){Ky(jP,(function(e){this[e]=e_(t[e],t)}),this)};var XP={},qP=function(){function t(){this._coordinateSystems=[]}return t.prototype.create=function(t,e){var n=[];Ky(XP,(function(i,r){var o=i.create(t,e);n=n.concat(o||[])})),this._coordinateSystems=n},t.prototype.update=function(t,e){Ky(this._coordinateSystems,(function(n){n.update&&n.update(t,e)}))},t.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},t.register=function(t,e){XP[t]=e},t.get=function(t){return XP[t]},t}();const ZP=qP;var KP=/^(min|max)?(.+)$/,$P=function(){function t(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return t.prototype.setOption=function(t,e,n){t&&(Ky(TM(t.series),(function(t){t&&t.data&&c_(t.data)&&w_(t.data)})),Ky(TM(t.dataset),(function(t){t&&t.source&&c_(t.source)&&w_(t.source)}))),t=Hy(t);var i=this._optionBackup,r=function(t,e,n){var i,r,o=[],a=t.baseOption,s=t.timeline,l=t.options,u=t.media,c=!!t.media,h=!!(l||s||a&&a.timeline);a?(r=a).timeline||(r.timeline=s):((h||c)&&(t.options=t.media=null),r=t);c&&i_(u)&&Ky(u,(function(t){t&&t.option&&(t.query?o.push(t):i||(i=t))}));function d(t){Ky(e,(function(e){e(t,n)}))}return d(r),Ky(l,(function(t){return d(t)})),Ky(o,(function(t){return d(t.option)})),{baseOption:r,timelineOptions:l||[],mediaDefault:i,mediaList:o}}(t,e,!i);this._newBaseOption=r.baseOption,i?(r.timelineOptions.length&&(i.timelineOptions=r.timelineOptions),r.mediaList.length&&(i.mediaList=r.mediaList),r.mediaDefault&&(i.mediaDefault=r.mediaDefault)):this._optionBackup=r},t.prototype.mountOption=function(t){var e=this._optionBackup;return this._timelineOptions=e.timelineOptions,this._mediaList=e.mediaList,this._mediaDefault=e.mediaDefault,this._currentMediaIndices=[],Hy(t?e.baseOption:this._newBaseOption)},t.prototype.getTimelineOption=function(t){var e,n=this._timelineOptions;if(n.length){var i=t.getComponent("timeline");i&&(e=Hy(n[i.getCurrentIndex()]))}return e},t.prototype.getMediaOption=function(t){var e,n,i=this._api.getWidth(),r=this._api.getHeight(),o=this._mediaList,a=this._mediaDefault,s=[],l=[];if(!o.length&&!a)return l;for(var u=0,c=o.length;u<c;u++)JP(o[u].query,i,r)&&s.push(u);return!s.length&&a&&(s=[-1]),s.length&&(e=s,n=this._currentMediaIndices,e.join(",")!==n.join(","))&&(l=$y(s,(function(t){return Hy(-1===t?a.option:o[t].option)}))),this._currentMediaIndices=s,l},t}();function JP(t,e,n){var i={width:e,height:n,aspectratio:e/n},r=!0;return Ky(t,(function(t,e){var n=e.match(KP);if(n&&n[1]&&n[2]){var o=n[1],a=n[2].toLowerCase();(function(t,e,n){return"min"===n?t>=e:"max"===n?t<=e:t===e})(i[a],t,o)||(r=!1)}})),r}const QP=$P;var tO=Ky,eO=l_,nO=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function iO(t){var e=t&&t.itemStyle;if(e)for(var n=0,i=nO.length;n<i;n++){var r=nO[n],o=e.normal,a=e.emphasis;o&&o[r]&&(t[r]=t[r]||{},t[r].normal?Wy(t[r].normal,o[r]):t[r].normal=o[r],o[r]=null),a&&a[r]&&(t[r]=t[r]||{},t[r].emphasis?Wy(t[r].emphasis,a[r]):t[r].emphasis=a[r],a[r]=null)}}function rO(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,Yy(t[e],i)):t[e]=i),r&&(t.emphasis=t.emphasis||{},t.emphasis[e]=r,r.focus&&(t.emphasis.focus=r.focus),r.blurScope&&(t.emphasis.blurScope=r.blurScope))}}function oO(t){rO(t,"itemStyle"),rO(t,"lineStyle"),rO(t,"areaStyle"),rO(t,"label"),rO(t,"labelLine"),rO(t,"upperLabel"),rO(t,"edgeLabel")}function aO(t,e){var n=eO(t)&&t[e],i=eO(n)&&n.textStyle;if(i)for(var r=0,o=kM.length;r<o;r++){var a=kM[r];i.hasOwnProperty(a)&&(n[a]=i[a])}}function sO(t){t&&(oO(t),aO(t,"label"),t.emphasis&&aO(t.emphasis,"label"))}function lO(t){return i_(t)?t:t?[t]:[]}function uO(t){return(i_(t)?t[0]:t)||{}}function cO(t,e){tO(lO(t.series),(function(t){eO(t)&&function(t){if(eO(t)){iO(t),oO(t),aO(t,"label"),aO(t,"upperLabel"),aO(t,"edgeLabel"),t.emphasis&&(aO(t.emphasis,"label"),aO(t.emphasis,"upperLabel"),aO(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&(iO(e),sO(e));var n=t.markLine;n&&(iO(n),sO(n));var i=t.markArea;i&&sO(i);var r=t.data;if("graph"===t.type){r=r||t.nodes;var o=t.links||t.edges;if(o&&!c_(o))for(var a=0;a<o.length;a++)sO(o[a]);Ky(t.categories,(function(t){oO(t)}))}if(r&&!c_(r))for(a=0;a<r.length;a++)sO(r[a]);if((e=t.markPoint)&&e.data){var s=e.data;for(a=0;a<s.length;a++)sO(s[a])}if((n=t.markLine)&&n.data){var l=n.data;for(a=0;a<l.length;a++)i_(l[a])?(sO(l[a][0]),sO(l[a][1])):sO(l[a])}"gauge"===t.type?(aO(t,"axisLabel"),aO(t,"title"),aO(t,"detail")):"treemap"===t.type?(rO(t.breadcrumb,"itemStyle"),Ky(t.levels,(function(t){oO(t)}))):"tree"===t.type&&oO(t.leaves)}}(t)}));var n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];e&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),tO(n,(function(e){tO(lO(t[e]),(function(t){t&&(aO(t,"axisLabel"),aO(t.axisPointer,"label"))}))})),tO(lO(t.parallel),(function(t){var e=t&&t.parallelAxisDefault;aO(e,"axisLabel"),aO(e&&e.axisPointer,"label")})),tO(lO(t.calendar),(function(t){rO(t,"itemStyle"),aO(t,"dayLabel"),aO(t,"monthLabel"),aO(t,"yearLabel")})),tO(lO(t.radar),(function(t){aO(t,"name"),t.name&&null==t.axisName&&(t.axisName=t.name,delete t.name),null!=t.nameGap&&null==t.axisNameGap&&(t.axisNameGap=t.nameGap,delete t.nameGap)})),tO(lO(t.geo),(function(t){eO(t)&&(sO(t),tO(lO(t.regions),(function(t){sO(t)})))})),tO(lO(t.timeline),(function(t){sO(t),rO(t,"label"),rO(t,"itemStyle"),rO(t,"controlStyle",!0);var e=t.data;i_(e)&&Ky(e,(function(t){l_(t)&&(rO(t,"label"),rO(t,"itemStyle"))}))})),tO(lO(t.toolbox),(function(t){rO(t,"iconStyle"),tO(t.feature,(function(t){rO(t,"iconStyle")}))})),aO(uO(t.axisPointer),"label"),aO(uO(t.tooltip).axisPointer,"label")}function hO(t){t&&Ky(dO,(function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])}))}var dO=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],pO=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],fO=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function gO(t){var e=t&&t.itemStyle;if(e)for(var n=0;n<fO.length;n++){var i=fO[n][1],r=fO[n][0];null!=e[i]&&(e[r]=e[i])}}function vO(t){t&&"edge"===t.alignTo&&null!=t.margin&&null==t.edgeDistance&&(t.edgeDistance=t.margin)}function mO(t){t&&t.downplay&&!t.blur&&(t.blur=t.downplay)}function yO(t,e){if(t)for(var n=0;n<t.length;n++)e(t[n]),t[n]&&yO(t[n].children,e)}function _O(t,e){cO(t,e),t.series=TM(t.series),Ky(t.series,(function(t){if(l_(t)){var e=t.type;if("line"===e)null!=t.clipOverflow&&(t.clip=t.clipOverflow);else if("pie"===e||"gauge"===e){if(null!=t.clockWise&&(t.clockwise=t.clockWise),vO(t.label),(r=t.data)&&!c_(r))for(var n=0;n<r.length;n++)vO(r[n]);null!=t.hoverOffset&&(t.emphasis=t.emphasis||{},(t.emphasis.scaleSize=null)&&(t.emphasis.scaleSize=t.hoverOffset))}else if("gauge"===e){var i=function(t,e){for(var n=e.split(","),i=t,r=0;r<n.length&&null!=(i=i&&i[n[r]]);r++);return i}(t,"pointer.color");null!=i&&function(t,e,n,i){for(var r,o=e.split(","),a=t,s=0;s<o.length-1;s++)null==a[r=o[s]]&&(a[r]={}),a=a[r];(i||null==a[o[s]])&&(a[o[s]]=n)}(t,"itemStyle.color",i)}else if("bar"===e){var r;if(gO(t),gO(t.backgroundStyle),gO(t.emphasis),(r=t.data)&&!c_(r))for(n=0;n<r.length;n++)"object"==typeof r[n]&&(gO(r[n]),gO(r[n]&&r[n].emphasis))}else if("sunburst"===e){var o=t.highlightPolicy;o&&(t.emphasis=t.emphasis||{},t.emphasis.focus||(t.emphasis.focus=o)),mO(t),yO(t.data,mO)}else"graph"===e||"sankey"===e?function(t){t&&null!=t.focusNodeAdjacency&&(t.emphasis=t.emphasis||{},null==t.emphasis.focus&&(t.emphasis.focus="adjacency"))}(t):"map"===e&&(t.mapType&&!t.map&&(t.map=t.mapType),t.mapLocation&&Yy(t,t.mapLocation));null!=t.hoverAnimation&&(t.emphasis=t.emphasis||{},t.emphasis&&null==t.emphasis.scale&&(t.emphasis.scale=t.hoverAnimation)),hO(t)}})),t.dataRange&&(t.visualMap=t.dataRange),Ky(pO,(function(e){var n=t[e];n&&(i_(n)||(n=[n]),Ky(n,(function(t){hO(t)})))}))}function xO(t){Ky(t,(function(e,n){var i=[],r=[NaN,NaN],o=[e.stackResultDimension,e.stackedOverDimension],a=e.data,s=e.isStackedByIndex,l=e.seriesModel.get("stackStrategy")||"samesign";a.modify(o,(function(o,u,c){var h,d,p=a.get(e.stackedDimension,c);if(isNaN(p))return r;s?d=a.getRawIndex(c):h=a.get(e.stackedByDimension,c);for(var f=NaN,g=n-1;g>=0;g--){var v=t[g];if(s||(d=v.data.rawIndexOf(v.stackedByDimension,h)),d>=0){var m=v.data.getByRawIndex(v.stackResultDimension,d);if("all"===l||"positive"===l&&m>0||"negative"===l&&m<0||"samesign"===l&&p>=0&&m>0||"samesign"===l&&p<=0&&m<0){p=uM(p,m),f=m;break}}}return i[0]=p,i[1]=f,i}))}))}var bO,wO,SO,MO,IO,AO=function(t){this.data=t.data||(t.sourceFormat===yP?{}:[]),this.sourceFormat=t.sourceFormat||xP,this.seriesLayoutBy=t.seriesLayoutBy||bP,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;n<e.length;n++){var i=e[n];null==i.type&&TP(this,n)===SP.Must&&(i.type="ordinal")}};function CO(t){return t instanceof AO}function TO(t,e,n){n=n||kO(t);var i=e.seriesLayoutBy,r=function(t,e,n,i,r){var o,a;if(!t)return{dimensionsDefine:LO(r),startIndex:a,dimensionsDetectedCount:o};if(e===vP){var s=t;"auto"===i||null==i?PO((function(t){null!=t&&"-"!==t&&(o_(t)?null==a&&(a=1):a=0)}),n,s,10):a=s_(i)?i:i?1:0,r||1!==a||(r=[],PO((function(t,e){r[e]=null!=t?t+"":""}),n,s,1/0)),o=r?r.length:n===wP?s.length:s[0]?s[0].length:null}else if(e===mP)r||(r=function(t){var e,n=0;for(;n<t.length&&!(e=t[n++]););if(e)return t_(e)}(t));else if(e===yP)r||(r=[],Ky(t,(function(t,e){r.push(e)})));else if(e===gP){var l=LM(t[0]);o=i_(l)&&l.length||1}return{startIndex:a,dimensionsDefine:LO(r),dimensionsDetectedCount:o}}(t,n,i,e.sourceHeader,e.dimensions);return new AO({data:t,sourceFormat:n,seriesLayoutBy:i,dimensionsDefine:r.dimensionsDefine,startIndex:r.startIndex,dimensionsDetectedCount:r.dimensionsDetectedCount,metaRawOption:Hy(e)})}function DO(t){return new AO({data:t,sourceFormat:c_(t)?_P:gP})}function kO(t){var e=xP;if(c_(t))e=_P;else if(i_(t)){0===t.length&&(e=vP);for(var n=0,i=t.length;n<i;n++){var r=t[n];if(null!=r){if(i_(r)){e=vP;break}if(l_(r)){e=mP;break}}}}else if(l_(t))for(var o in t)if(L_(t,o)&&Zy(t[o])){e=yP;break}return e}function LO(t){if(t){var e=C_();return $y(t,(function(t,n){var i={name:(t=l_(t)?t:{name:t}).name,displayName:t.displayName,type:t.type};if(null==i.name)return i;i.name+="",null==i.displayName&&(i.displayName=i.name);var r=e.get(i.name);return r?i.name+="-"+r.count++:e.set(i.name,{count:1}),i}))}}function PO(t,e,n,i){if(e===wP)for(var r=0;r<n.length&&r<i;r++)t(n[r]?n[r][0]:null,r);else{var o=n[0]||[];for(r=0;r<o.length&&r<i;r++)t(o[r],r)}}function OO(t){var e=t.sourceFormat;return e===mP||e===yP}var EO=function(){function t(t,e){var n=CO(t)?t:DO(t);this._source=n;var i=this._data=n.data;n.sourceFormat===_P&&(this._offset=0,this._dimSize=e,this._data=i),IO(this,i,n)}var e;return t.prototype.getSource=function(){return this._source},t.prototype.count=function(){return 0},t.prototype.getItem=function(t,e){},t.prototype.appendData=function(t){},t.prototype.clean=function(){},t.protoInitialize=((e=t.prototype).pure=!1,void(e.persistent=!0)),t.internalField=function(){var t;IO=function(t,r,o){var a=o.sourceFormat,s=o.seriesLayoutBy,l=o.startIndex,u=o.dimensionsDefine;if(jy(t,MO[UO(a,s)]),a===_P)t.getItem=e,t.count=i,t.fillStorage=n;else{var c=BO(a,s);t.getItem=e_(c,null,r,l,u);var h=FO(a,s);t.count=e_(h,null,r,l,u)}};var e=function(t,e){t-=this._offset,e=e||[];for(var n=this._data,i=this._dimSize,r=i*t,o=0;o<i;o++)e[o]=n[r+o];return e},n=function(t,e,n,i){for(var r=this._data,o=this._dimSize,a=0;a<o;a++){for(var s=i[a],l=null==s[0]?1/0:s[0],u=null==s[1]?-1/0:s[1],c=e-t,h=n[a],d=0;d<c;d++){var p=r[d*o+a];h[t+d]=p,p<l&&(l=p),p>u&&(u=p)}s[0]=l,s[1]=u}},i=function(){return this._data?this._data.length/this._dimSize:0};function r(t){for(var e=0;e<t.length;e++)this._data.push(t[e])}(t={})[vP+"_"+bP]={pure:!0,appendData:r},t[vP+"_"+wP]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[mP]={pure:!0,appendData:r},t[yP]={pure:!0,appendData:function(t){var e=this._data;Ky(t,(function(t,n){for(var i=e[n]||(e[n]=[]),r=0;r<(t||[]).length;r++)i.push(t[r])}))}},t[gP]={appendData:r},t[_P]={persistent:!1,pure:!0,appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}},MO=t}(),t}(),RO=function(t,e,n,i){return t[i]},NO=((bO={})[vP+"_"+bP]=function(t,e,n,i){return t[i+e]},bO[vP+"_"+wP]=function(t,e,n,i,r){i+=e;for(var o=r||[],a=t,s=0;s<a.length;s++){var l=a[s];o[s]=l?l[i]:null}return o},bO[mP]=RO,bO[yP]=function(t,e,n,i,r){for(var o=r||[],a=0;a<n.length;a++){var s=t[n[a].name];o[a]=s?s[i]:null}return o},bO[gP]=RO,bO);function BO(t,e){return NO[UO(t,e)]}var zO=function(t,e,n){return t.length},VO=((wO={})[vP+"_"+bP]=function(t,e,n){return Math.max(0,t.length-e)},wO[vP+"_"+wP]=function(t,e,n){var i=t[0];return i?Math.max(0,i.length-e):0},wO[mP]=zO,wO[yP]=function(t,e,n){var i=t[n[0].name];return i?i.length:0},wO[gP]=zO,wO);function FO(t,e){return VO[UO(t,e)]}var GO=function(t,e,n){return t[e]},HO=((SO={})[vP]=GO,SO[mP]=function(t,e,n){return t[n]},SO[yP]=GO,SO[gP]=function(t,e,n){var i=LM(t);return i instanceof Array?i[e]:i},SO[_P]=GO,SO);function WO(t){return HO[t]}function UO(t,e){return t===vP?t+"_"+e:t}function jO(t,e,n){if(t){var i=t.getRawDataItem(e);if(null!=i){var r=t.getStore(),o=r.getSource().sourceFormat;if(null!=n){var a=t.getDimensionIndex(n),s=r.getDimensionProperty(a);return WO(o)(i,a,s)}var l=i;return o===gP&&(l=LM(i)),l}}}var YO=/\{@(.+?)\}/g,XO=function(){function t(){}return t.prototype.getDataParams=function(t,e){var n=this.getData(e),i=this.getRawValue(t,e),r=n.getRawIndex(t),o=n.getName(t),a=n.getRawDataItem(t),s=n.getItemVisual(t,"style"),l=s&&s[n.getItemVisual(t,"drawType")||"fill"],u=s&&s.stroke,c=this.mainType,h="series"===c,d=n.userOutput&&n.userOutput.get();return{componentType:c,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:h?this.subType:null,seriesIndex:this.seriesIndex,seriesId:h?this.id:null,seriesName:h?this.name:null,name:o,dataIndex:r,data:a,dataType:e,value:i,color:l,borderColor:u,dimensionNames:d?d.fullDimensions:null,encode:d?d.encode:null,$vars:["seriesName","name","value"]}},t.prototype.getFormattedLabel=function(t,e,n,i,r,o){e=e||"normal";var a=this.getData(n),s=this.getDataParams(t,n);(o&&(s.value=o.interpolatedValue),null!=i&&i_(s.value)&&(s.value=s.value[i]),r)||(r=a.getItemModel(t).get("normal"===e?["label","formatter"]:[e,"label","formatter"]));return r_(r)?(s.status=e,s.dimensionIndex=i,r(s)):o_(r)?qL(r,s).replace(YO,(function(e,n){var i=n.length,r=n;"["===r.charAt(0)&&"]"===r.charAt(i-1)&&(r=+r.slice(1,i-1));var s=jO(a,t,r);if(o&&i_(o.interpolatedValue)){var l=a.getDimensionIndex(r);l>=0&&(s=o.interpolatedValue[l])}return null!=s?s+"":""})):void 0},t.prototype.getRawValue=function(t,e){return jO(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();function qO(t){var e,n;return l_(t)?t.type&&(n=t):e=t,{text:e,frag:n}}function ZO(t){return new KO(t)}var KO=function(){function t(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){var e,n=this._upstream,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),this._plan&&!i&&(e=this._plan(this.context));var o,a=c(this._modBy),s=this._modDataCount||0,l=c(t&&t.modBy),u=t&&t.modDataCount||0;function c(t){return!(t>=1)&&(t=1),t}a===l&&s===u||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,o=this._doReset(i)),this._modBy=l,this._modDataCount=u;var h=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var d=this._dueIndex,p=Math.min(null!=h?this._dueIndex+h:1/0,this._dueEnd);if(!i&&(o||d<p)){var f=this._progress;if(i_(f))for(var g=0;g<f.length;g++)this._doProgress(f[g],d,p,l,u);else this._doProgress(f,d,p,l,u)}this._dueIndex=p;var v=null!=this._settedOutputEnd?this._settedOutputEnd:p;this._outputDueEnd=v}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()},t.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},t.prototype._doProgress=function(t,e,n,i,r){$O.reset(e,n,i,r),this._callingProgress=t,this._callingProgress({start:e,end:n,count:n-e,next:$O.next},this.context)},t.prototype._doReset=function(t){var e,n;this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null,!t&&this._reset&&((e=this._reset(this.context))&&e.progress&&(n=e.forceFirstProgress,e=e.progress),i_(e)&&!e.length&&(e=null)),this._progress=e,this._modBy=this._modDataCount=null;var i=this._downstream;return i&&i.dirty(),n},t.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},t.prototype.pipe=function(t){(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},t.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},t.prototype.getUpstream=function(){return this._upstream},t.prototype.getDownstream=function(){return this._downstream},t.prototype.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},t}(),$O=function(){var t,e,n,i,r,o={reset:function(l,u,c,h){e=l,t=u,n=c,i=h,r=Math.ceil(i/n),o.next=n>1&&i>0?s:a}};return o;function a(){return e<t?e++:null}function s(){var o=e%r*n+Math.ceil(e/r),a=e>=t?null:o<i?o:e;return e++,a}}();function JO(t,e){var n=e&&e.type;return"ordinal"===n?t:("time"!==n||s_(t)||null==t||"-"===t||(t=+fM(t)),null==t||""===t?NaN:+t)}var QO=C_({number:function(t){return parseFloat(t)},time:function(t){return+fM(t)},trim:function(t){return o_(t)?x_(t):t}});function tE(t){return QO.get(t)}var eE={lt:function(t,e){return t<e},lte:function(t,e){return t<=e},gt:function(t,e){return t>e},gte:function(t,e){return t>=e}},nE=function(){function t(t,e){if(!s_(e)){MM("")}this._opFn=eE[t],this._rvalFloat=_M(e)}return t.prototype.evaluate=function(t){return s_(t)?this._opFn(t,this._rvalFloat):this._opFn(_M(t),this._rvalFloat)},t}(),iE=function(){function t(t,e){var n="desc"===t;this._resultLT=n?1:-1,null==e&&(e=n?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var n=s_(t)?t:_M(t),i=s_(e)?e:_M(e),r=isNaN(n),o=isNaN(i);if(r&&(n=this._incomparable),o&&(i=this._incomparable),r&&o){var a=o_(t),s=o_(e);a&&(n=s?t:0),s&&(i=a?e:0)}return n<i?this._resultLT:n>i?-this._resultLT:0},t}(),rE=function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=_M(e)}return t.prototype.evaluate=function(t){var e=t===this._rval;if(!e){var n=typeof t;n===this._rvalTypeof||"number"!==n&&"number"!==this._rvalTypeof||(e=_M(t)===this._rvalFloat)}return this._isEQ?e:!e},t}();function oE(t,e){return"eq"===t||"ne"===t?new rE("eq"===t,e):L_(eE,t)?new nE(t,e):null}var aE=function(){function t(){}return t.prototype.getRawData=function(){throw new Error("not supported")},t.prototype.getRawDataItem=function(t){throw new Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(t){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(t,e){},t.prototype.retrieveValueFromItem=function(t,e){},t.prototype.convertValue=function(t,e){return JO(t,e)},t}();function sE(t){if(!pE(t.sourceFormat)){MM("")}return t.data}function lE(t){var e=t.sourceFormat,n=t.data;if(!pE(e)){MM("")}if(e===vP){for(var i=[],r=0,o=n.length;r<o;r++)i.push(n[r].slice());return i}if(e===mP){for(i=[],r=0,o=n.length;r<o;r++)i.push(jy({},n[r]));return i}}function uE(t,e,n){if(null!=n)return s_(n)||!isNaN(n)&&!L_(e,n)?t[n]:L_(e,n)?e[n]:void 0}function cE(t){return Hy(t)}var hE=C_();function dE(t,e,n,i){e.length||MM(""),l_(t)||MM("");var r=t.type,o=hE.get(r);o||MM("");var a=$y(e,(function(t){return function(t,e){var n=new aE,i=t.data,r=n.sourceFormat=t.sourceFormat,o=t.startIndex;t.seriesLayoutBy!==bP&&MM("");var a=[],s={},l=t.dimensionsDefine;if(l)Ky(l,(function(t,e){var n=t.name,i={index:e,name:n,displayName:t.displayName};a.push(i),null!=n&&(L_(s,n)&&MM(""),s[n]=i)}));else for(var u=0;u<t.dimensionsDetectedCount;u++)a.push({index:u});var c=BO(r,bP);e.__isBuiltIn&&(n.getRawDataItem=function(t){return c(i,o,a,t)},n.getRawData=e_(sE,null,t)),n.cloneRawData=e_(lE,null,t);var h=FO(r,bP);n.count=e_(h,null,i,o,a);var d=WO(r);n.retrieveValue=function(t,e){var n=c(i,o,a,t);return p(n,e)};var p=n.retrieveValueFromItem=function(t,e){if(null!=t){var n=a[e];return n?d(t,e,n.name):void 0}};return n.getDimensionInfo=e_(uE,null,a,s),n.cloneAllDimensionInfo=e_(cE,null,a),n}(t,o)}));return $y(TM(o.transform({upstream:a[0],upstreamList:a,config:Hy(t.config)})),(function(t,n){var i;l_(t)||MM(""),t.data||MM(""),pE(kO(t.data))||MM("");var r=e[0];if(r&&0===n&&!t.dimensions){var o=r.startIndex;o&&(t.data=r.data.slice(0,o).concat(t.data)),i={seriesLayoutBy:bP,sourceHeader:o,dimensions:r.metaRawOption.dimensions}}else i={seriesLayoutBy:bP,sourceHeader:0,dimensions:t.dimensions};return TO(t.data,i,null)}))}function pE(t){return t===vP||t===mP}var fE,gE="undefined",vE=typeof Uint32Array===gE?Array:Uint32Array,mE=typeof Uint16Array===gE?Array:Uint16Array,yE=typeof Int32Array===gE?Array:Int32Array,_E=typeof Float64Array===gE?Array:Float64Array,xE={float:_E,int:yE,ordinal:Array,number:Array,time:_E};function bE(t){return t>65535?vE:mE}function wE(t,e,n,i,r){var o=xE[n||"float"];if(r){var a=t[e],s=a&&a.length;if(s!==i){for(var l=new o(i),u=0;u<s;u++)l[u]=a[u];t[e]=l}}else t[e]=new o(i)}var SE=function(){function t(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=C_()}return t.prototype.initData=function(t,e,n){this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var i=t.getSource(),r=this.defaultDimValueGetter=fE[i.sourceFormat];this._dimValueGetter=n||r,this._rawExtent=[],OO(i),this._dimensions=$y(e,(function(t){return{type:t.type,property:t.property}})),this._initDataFromProvider(0,t.count())},t.prototype.getProvider=function(){return this._provider},t.prototype.getSource=function(){return this._provider.getSource()},t.prototype.ensureCalculationDimension=function(t,e){var n=this._calcDimNameToIdx,i=this._dimensions,r=n.get(t);if(null!=r){if(i[r].type===e)return r}else r=i.length;return i[r]={type:e},n.set(t,r),this._chunks[r]=new xE[e||"float"](this._rawCount),this._rawExtent[r]=[1/0,-1/0],r},t.prototype.collectOrdinalMeta=function(t,e){var n=this._chunks[t],i=this._dimensions[t],r=this._rawExtent,o=i.ordinalOffset||0,a=n.length;0===o&&(r[t]=[1/0,-1/0]);for(var s=r[t],l=o;l<a;l++){var u=n[l]=e.parseAndCollect(n[l]);isNaN(u)||(s[0]=Math.min(u,s[0]),s[1]=Math.max(u,s[1]))}i.ordinalMeta=e,i.ordinalOffset=a,i.type="ordinal"},t.prototype.getOrdinalMeta=function(t){return this._dimensions[t].ordinalMeta},t.prototype.getDimensionProperty=function(t){var e=this._dimensions[t];return e&&e.property},t.prototype.appendData=function(t){var e=this._provider,n=this.count();e.appendData(t);var i=e.count();return e.persistent||(i+=n),n<i&&this._initDataFromProvider(n,i,!0),[n,i]},t.prototype.appendValues=function(t,e){for(var n=this._chunks,i=this._dimensions,r=i.length,o=this._rawExtent,a=this.count(),s=a+Math.max(t.length,e||0),l=0;l<r;l++){wE(n,l,(p=i[l]).type,s,!0)}for(var u=[],c=a;c<s;c++)for(var h=c-a,d=0;d<r;d++){var p=i[d],f=fE.arrayRows.call(this,t[h]||u,p.property,h,d);n[d][c]=f;var g=o[d];f<g[0]&&(g[0]=f),f>g[1]&&(g[1]=f)}return this._rawCount=this._count=s,{start:a,end:s}},t.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,r=this._chunks,o=this._dimensions,a=o.length,s=this._rawExtent,l=$y(o,(function(t){return t.property})),u=0;u<a;u++){var c=o[u];s[u]||(s[u]=[1/0,-1/0]),wE(r,u,c.type,e,n)}if(i.fillStorage)i.fillStorage(t,e,r,s);else for(var h=[],d=t;d<e;d++){h=i.getItem(d,h);for(var p=0;p<a;p++){var f=r[p],g=this._dimValueGetter(h,l[p],d,p);f[d]=g;var v=s[p];g<v[0]&&(v[0]=g),g>v[1]&&(v[1]=g)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e<this._count))return NaN;var n=this._chunks[t];return n?n[this.getRawIndex(e)]:NaN},t.prototype.getValues=function(t,e){var n=[],i=[];if(null==e){e=t,t=[];for(var r=0;r<this._dimensions.length;r++)i.push(r)}else i=t;r=0;for(var o=i.length;r<o;r++)n.push(this.get(i[r],e));return n},t.prototype.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return NaN;var n=this._chunks[t];return n?n[e]:NaN},t.prototype.getSum=function(t){var e=0;if(this._chunks[t])for(var n=0,i=this.count();n<i;n++){var r=this.get(t,n);isNaN(r)||(e+=r)}return e},t.prototype.getMedian=function(t){var e=[];this.each([t],(function(t){isNaN(t)||e.push(t)}));var n=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},t.prototype.indexOfRawIndex=function(t){if(t>=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&n<this._count&&n===t)return t;for(var i=0,r=this._count-1;i<=r;){var o=(i+r)/2|0;if(e[o]<t)i=o+1;else{if(!(e[o]>t))return o;r=o-1}}return-1},t.prototype.indicesOfNearest=function(t,e,n){var i=this._chunks[t],r=[];if(!i)return r;null==n&&(n=1/0);for(var o=1/0,a=-1,s=0,l=0,u=this.count();l<u;l++){var c=e-i[this.getRawIndex(l)],h=Math.abs(c);h<=n&&((h<o||h===o&&c>=0&&a<0)&&(o=h,a=c,s=0),c===a&&(r[s++]=l))}return r.length=s,r},t.prototype.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;r<i;r++)t[r]=e[r]}else t=new n(e.buffer,0,i)}else{t=new(n=bE(this._rawCount))(this.count());for(r=0;r<t.length;r++)t[r]=r}return t},t.prototype.filter=function(t,e){if(!this._count)return this;for(var n=this.clone(),i=n.count(),r=new(bE(n._rawCount))(i),o=[],a=t.length,s=0,l=t[0],u=n._chunks,c=0;c<i;c++){var h=void 0,d=n.getRawIndex(c);if(0===a)h=e(c);else if(1===a){h=e(u[l][d],c)}else{for(var p=0;p<a;p++)o[p]=u[t[p]][d];o[p]=c,h=e.apply(null,o)}h&&(r[s++]=d)}return s<i&&(n._indices=r),n._count=s,n._extent=[],n._updateGetRawIdx(),n},t.prototype.selectRange=function(t){var e=this.clone(),n=e._count;if(!n)return this;var i=t_(t),r=i.length;if(!r)return this;var o=e.count(),a=new(bE(e._rawCount))(o),s=0,l=i[0],u=t[l][0],c=t[l][1],h=e._chunks,d=!1;if(!e._indices){var p=0;if(1===r){for(var f=h[i[0]],g=0;g<n;g++){((_=f[g])>=u&&_<=c||isNaN(_))&&(a[s++]=p),p++}d=!0}else if(2===r){f=h[i[0]];var v=h[i[1]],m=t[i[1]][0],y=t[i[1]][1];for(g=0;g<n;g++){var _=f[g],x=v[g];(_>=u&&_<=c||isNaN(_))&&(x>=m&&x<=y||isNaN(x))&&(a[s++]=p),p++}d=!0}}if(!d)if(1===r)for(g=0;g<o;g++){var b=e.getRawIndex(g);((_=h[i[0]][b])>=u&&_<=c||isNaN(_))&&(a[s++]=b)}else for(g=0;g<o;g++){for(var w=!0,S=(b=e.getRawIndex(g),0);S<r;S++){var M=i[S];((_=h[M][b])<t[M][0]||_>t[M][1])&&(w=!1)}w&&(a[s++]=e.getRawIndex(g))}return s<o&&(e._indices=a),e._count=s,e._extent=[],e._updateGetRawIdx(),e},t.prototype.map=function(t,e){var n=this.clone(t);return this._updateDims(n,t,e),n},t.prototype.modify=function(t,e){this._updateDims(this,t,e)},t.prototype._updateDims=function(t,e,n){for(var i=t._chunks,r=[],o=e.length,a=t.count(),s=[],l=t._rawExtent,u=0;u<e.length;u++)l[e[u]]=[1/0,-1/0];for(var c=0;c<a;c++){for(var h=t.getRawIndex(c),d=0;d<o;d++)s[d]=i[e[d]][h];s[o]=c;var p=n&&n.apply(null,s);if(null!=p){"object"!=typeof p&&(r[0]=p,p=r);for(u=0;u<p.length;u++){var f=e[u],g=p[u],v=l[f],m=i[f];m&&(m[h]=g),g<v[0]&&(v[0]=g),g>v[1]&&(v[1]=g)}}}},t.prototype.lttbDownSample=function(t,e){var n,i,r,o=this.clone([t],!0),a=o._chunks[t],s=this.count(),l=0,u=Math.floor(1/e),c=this.getRawIndex(0),h=new(bE(this._rawCount))(Math.min(2*(Math.ceil(s/u)+2),s));h[l++]=c;for(var d=1;d<s-1;d+=u){for(var p=Math.min(d+u,s-1),f=Math.min(d+2*u,s),g=(f+p)/2,v=0,m=p;m<f;m++){var y=a[I=this.getRawIndex(m)];isNaN(y)||(v+=y)}v/=f-p;var _=d,x=Math.min(d+u,s),b=d-1,w=a[c];n=-1,r=_;var S=-1,M=0;for(m=_;m<x;m++){var I;y=a[I=this.getRawIndex(m)];isNaN(y)?(M++,S<0&&(S=I)):(i=Math.abs((b-g)*(y-w)-(b-m)*(v-w)))>n&&(n=i,r=I)}M>0&&M<x-_&&(h[l++]=Math.min(S,r),r=Math.max(S,r)),h[l++]=r,c=r}return h[l++]=this.getRawIndex(s-1),o._count=l,o._indices=h,o.getRawIndex=this._getRawIdx,o},t.prototype.downSample=function(t,e,n,i){for(var r=this.clone([t],!0),o=r._chunks,a=[],s=Math.floor(1/e),l=o[t],u=this.count(),c=r._rawExtent[t]=[1/0,-1/0],h=new(bE(this._rawCount))(Math.ceil(u/s)),d=0,p=0;p<u;p+=s){s>u-p&&(s=u-p,a.length=s);for(var f=0;f<s;f++){var g=this.getRawIndex(p+f);a[f]=l[g]}var v=n(a),m=this.getRawIndex(Math.min(p+i(a,v)||0,u-1));l[m]=v,v<c[0]&&(c[0]=v),v>c[1]&&(c[1]=v),h[d++]=m}return r._count=d,r._indices=h,r._updateGetRawIdx(),r},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,r=0,o=this.count();r<o;r++){var a=this.getRawIndex(r);switch(n){case 0:e(r);break;case 1:e(i[t[0]][a],r);break;case 2:e(i[t[0]][a],i[t[1]][a],r);break;default:for(var s=0,l=[];s<n;s++)l[s]=i[t[s]][a];l[s]=r,e.apply(null,l)}}},t.prototype.getDataExtent=function(t){var e=this._chunks[t],n=[1/0,-1/0];if(!e)return n;var i,r=this.count();if(!this._indices)return this._rawExtent[t].slice();if(i=this._extent[t])return i.slice();for(var o=(i=n)[0],a=i[1],s=0;s<r;s++){var l=e[this.getRawIndex(s)];l<o&&(o=l),l>a&&(a=l)}return i=[o,a],this._extent[t]=i,i},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],i=this._chunks,r=0;r<i.length;r++)n.push(i[r][e]);return n},t.prototype.clone=function(e,n){var i,r,o=new t,a=this._chunks,s=e&&Jy(e,(function(t,e){return t[e]=!0,t}),{});if(s)for(var l=0;l<a.length;l++)o._chunks[l]=s[l]?(i=a[l],r=void 0,(r=i.constructor)===Array?i.slice():new r(i)):a[l];else o._chunks=a;return this._copyCommonProps(o),n||(o._indices=this._cloneIndices()),o._updateGetRawIdx(),o},t.prototype._copyCommonProps=function(t){t._count=this._count,t._rawCount=this._rawCount,t._provider=this._provider,t._dimensions=this._dimensions,t._extent=Hy(this._extent),t._rawExtent=Hy(this._rawExtent)},t.prototype._cloneIndices=function(){if(this._indices){var t=this._indices.constructor,e=void 0;if(t===Array){var n=this._indices.length;e=new t(n);for(var i=0;i<n;i++)e[i]=this._indices[i]}else e=new t(this._indices);return e}return null},t.prototype._getRawIdxIdentity=function(t){return t},t.prototype._getRawIdx=function(t){return t<this._count&&t>=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,n,i){return JO(t[i],this._dimensions[i])}fE={arrayRows:t,objectRows:function(t,e,n,i){return JO(t[e],this._dimensions[i])},keyedColumns:t,original:function(t,e,n,i){var r=t&&(null==t.value?t:t.value);return JO(r instanceof Array?r[i]:r,this._dimensions[i])},typedArray:function(t,e,n,i){return t[i]}}}(),t}(),ME=function(){function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,n=this._sourceHost,i=this._getUpstreamSourceManagers(),r=!!i.length;if(AE(n)){var o=n,a=void 0,s=void 0,l=void 0;if(r){var u=i[0];u.prepareSource(),a=(l=u.getSource()).data,s=l.sourceFormat,e=[u._getVersionSign()]}else s=c_(a=o.get("data",!0))?_P:gP,e=[];var c=this._getSourceMetaRawOption()||{},h=l&&l.metaRawOption||{},d=g_(c.seriesLayoutBy,h.seriesLayoutBy)||null,p=g_(c.sourceHeader,h.sourceHeader),f=g_(c.dimensions,h.dimensions);t=d!==h.seriesLayoutBy||!!p!=!!h.sourceHeader||f?[TO(a,{seriesLayoutBy:d,sourceHeader:p,dimensions:f},s)]:[]}else{var g=n;if(r){var v=this._applyTransform(i);t=v.sourceList,e=v.upstreamSignList}else{t=[TO(g.get("source",!0),this._getSourceMetaRawOption(),null)],e=[]}}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,i=n.get("transform",!0),r=n.get("fromTransformResult",!0);if(null!=r){1!==t.length&&CE("")}var o,a=[],s=[];return Ky(t,(function(t){t.prepareSource();var e=t.getSource(r||0);null==r||e||CE(""),a.push(e),s.push(t._getVersionSign())})),i?e=function(t,e,n){var i=TM(t),r=i.length;r||MM("");for(var o=0,a=r;o<a;o++)e=dE(i[o],e),o!==a-1&&(e.length=Math.max(e.length,1));return e}(i,a,n.componentIndex):null!=r&&(e=[(o=a[0],new AO({data:o.data,sourceFormat:o.sourceFormat,seriesLayoutBy:o.seriesLayoutBy,dimensionsDefine:Hy(o.dimensionsDefine),startIndex:o.startIndex,dimensionsDetectedCount:o.dimensionsDetectedCount}))]),{sourceList:e,upstreamSignList:s}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e<t.length;e++){var n=t[e];if(n._isDirty()||this._upstreamSignList[e]!==n._getVersionSign())return!0}},t.prototype.getSource=function(t){t=t||0;var e=this._sourceList[t];if(!e){var n=this._getUpstreamSourceManagers();return n[0]&&n[0].getSource(t)}return e},t.prototype.getSharedDataStore=function(t){var e=t.makeStoreSchema();return this._innerGetDataStore(e.dimensions,t.source,e.hash)},t.prototype._innerGetDataStore=function(t,e,n){var i=this._storeList,r=i[0];r||(r=i[0]={});var o=r[n];if(!o){var a=this._getUpstreamSourceManagers()[0];AE(this._sourceHost)&&a?o=a._innerGetDataStore(t,e,n):(o=new SE).initData(new EO(e,t.length),t),r[n]=o}return o},t.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(AE(t)){var e=CP(t);return e?[e.getSourceManager()]:[]}return $y(function(t){return t.get("transform",!0)||t.get("fromTransformResult",!0)?YM(t.ecModel,"dataset",{index:t.get("fromDatasetIndex",!0),id:t.get("fromDatasetId",!0)},UM).models:[]}(t),(function(t){return t.getSourceManager()}))},t.prototype._getSourceMetaRawOption=function(){var t,e,n,i=this._sourceHost;if(AE(i))t=i.get("seriesLayoutBy",!0),e=i.get("sourceHeader",!0),n=i.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var r=i;t=r.get("seriesLayoutBy",!0),e=r.get("sourceHeader",!0),n=r.get("dimensions",!0)}return{seriesLayoutBy:t,sourceHeader:e,dimensions:n}},t}();function IE(t){t.option.transform&&w_(t.option.transform)}function AE(t){return"series"===t.mainType}function CE(t){throw new Error(t)}var TE="line-height:1";function DE(t,e){var n=t.color||"#6e7079",i=t.fontSize||12,r=t.fontWeight||"400",o=t.color||"#464646",a=t.fontSize||14,s=t.fontWeight||"900";return"html"===e?{nameStyle:"font-size:"+ux(i+"")+"px;color:"+ux(n)+";font-weight:"+ux(r+""),valueStyle:"font-size:"+ux(a+"")+"px;color:"+ux(o)+";font-weight:"+ux(s+"")}:{nameStyle:{fontSize:i,fill:n,fontWeight:r},valueStyle:{fontSize:a,fill:o,fontWeight:s}}}var kE=[0,10,20,30],LE=["","\n","\n\n","\n\n\n"];function PE(t,e){return e.type=t,e}function OE(t){return"section"===t.type}function EE(t){return OE(t)?NE:BE}function RE(t){if(OE(t)){var e=0,n=t.blocks.length,i=n>1||n>0&&!t.noHeader;return Ky(t.blocks,(function(t){var n=RE(t);n>=e&&(e=n+ +(i&&(!n||OE(t)&&!t.noHeader)))})),e}return 0}function NE(t,e,n,i){var r,o=e.noHeader,a=(r=RE(e),{html:kE[r],richText:LE[r]}),s=[],l=e.blocks||[];__(!l||i_(l)),l=l||[];var u=t.orderMode;if(e.sortBlocks&&u){l=l.slice();var c={valueAsc:"asc",valueDesc:"desc"};if(L_(c,u)){var h=new iE(c[u],null);l.sort((function(t,e){return h.evaluate(t.sortParam,e.sortParam)}))}else"seriesDesc"===u&&l.reverse()}Ky(l,(function(n,r){var o=e.valueFormatter,l=EE(n)(o?jy(jy({},t),{valueFormatter:o}):t,n,r>0?a.html:0,i);null!=l&&s.push(l)}));var d="richText"===t.renderMode?s.join(a.richText):VE(s.join(""),o?n:a.html);if(o)return d;var p=jL(e.header,"ordinal",t.useUTC),f=DE(i,t.renderMode).nameStyle;return"richText"===t.renderMode?FE(t,p,f)+a.richText+d:VE('<div style="'+f+";"+TE+';">'+ux(p)+"</div>"+d,n)}function BE(t,e,n,i){var r=t.renderMode,o=e.noName,a=e.noValue,s=!e.markerType,l=e.name,u=t.useUTC,c=e.valueFormatter||t.valueFormatter||function(t){return $y(t=i_(t)?t:[t],(function(t,e){return jL(t,i_(p)?p[e]:p,u)}))};if(!o||!a){var h=s?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",r),d=o?"":jL(l,"ordinal",u),p=e.valueType,f=a?[]:c(e.value),g=!s||!o,v=!s&&o,m=DE(i,r),y=m.nameStyle,_=m.valueStyle;return"richText"===r?(s?"":h)+(o?"":FE(t,d,y))+(a?"":function(t,e,n,i,r){var o=[r],a=i?10:20;return n&&o.push({padding:[0,0,0,a],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(i_(e)?e.join(" "):e,o)}(t,f,g,v,_)):VE((s?"":h)+(o?"":function(t,e,n){return'<span style="'+n+";"+(e?"margin-left:2px":"")+'">'+ux(t)+"</span>"}(d,!s,y))+(a?"":function(t,e,n,i){var r=n?"10px":"20px",o=e?"float:right;margin-left:"+r:"";return t=i_(t)?t:[t],'<span style="'+o+";"+i+'">'+$y(t,(function(t){return ux(t)})).join(" ")+"</span>"}(f,g,v,_)),n)}}function zE(t,e,n,i,r,o){if(t)return EE(t)({useUTC:r,renderMode:n,orderMode:i,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,o)}function VE(t,e){return'<div style="'+("margin: "+e+"px 0 0")+";"+TE+';">'+t+'<div style="clear:both"></div></div>'}function FE(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function GE(t,e){return ZL(t.getData().getItemVisual(e,"style")[t.visualDrawType])}function HE(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var WE=function(){function t(){this.richTextStyles={},this._nextStyleNameId=bM()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var i="richText"===n?this._generateStyleName():null,r=function(t,e){var n=o_(t)?{color:t,extraCssText:e}:t||{},i=n.color,r=n.type;e=n.extraCssText;var o=n.renderMode||"html";return i?"html"===o?"subItem"===r?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+ux(i)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+ux(i)+";"+(e||"")+'"></span>':{renderMode:o,content:"{"+(n.markerId||"markerX")+"|} ",style:"subItem"===r?{width:4,height:4,borderRadius:2,backgroundColor:i}:{width:10,height:10,borderRadius:5,backgroundColor:i}}:""}({color:e,type:t,renderMode:n,markerId:i});return o_(r)?r:(this.richTextStyles[i]=r.style,r.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};i_(e)?Ky(e,(function(t){return jy(n,t)})):jy(n,e);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},t}();function UE(t){var e,n,i,r,o=t.series,a=t.dataIndex,s=t.multipleSeries,l=o.getData(),u=l.mapDimensionsAll("defaultedTooltip"),c=u.length,h=o.getRawValue(a),d=i_(h),p=GE(o,a);if(c>1||d&&!c){var f=function(t,e,n,i,r){var o=e.getData(),a=Jy(t,(function(t,e,n){var i=o.getDimensionInfo(n);return t||i&&!1!==i.tooltip&&null!=i.displayName}),!1),s=[],l=[],u=[];function c(t,e){var n=o.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(a?u.push(PE("nameValue",{markerType:"subItem",markerColor:r,name:n.displayName,value:t,valueType:n.type})):(s.push(t),l.push(n.type)))}return i.length?Ky(i,(function(t){c(jO(o,n,t),t)})):Ky(t,c),{inlineValues:s,inlineValueTypes:l,blocks:u}}(h,o,a,u,p);e=f.inlineValues,n=f.inlineValueTypes,i=f.blocks,r=f.inlineValues[0]}else if(c){var g=l.getDimensionInfo(u[0]);r=e=jO(l,a,u[0]),n=g.type}else r=e=d?h[0]:h;var v=BM(o),m=v&&o.name||"",y=l.getName(a),_=s?m:y;return PE("section",{header:m,noHeader:s||!v,sortParam:r,blocks:[PE("nameValue",{markerType:"item",markerColor:p,name:_,noName:!x_(_),value:e,valueType:n})].concat(i||[])})}var jE=FM();function YE(t,e){return t.getName(e)||t.getId(e)}var XE="__universalTransitionEnabled",qE=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}var n;return my(e,t),e.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=ZO({count:KE,reset:$E}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),(jE(this).sourceManager=new ME(this)).prepareSource();var i=this.getInitialData(t,n);QE(i,this),this.dataTask.context.data=i,jE(this).dataBeforeProcessed=i,ZE(this),this._initSelectedMapFromData(i)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=rP(this),i=n?aP(t):{},r=this.subType;cP.hasClass(r)&&(r+="Series"),Wy(t,e.getTheme().get(this.subType)),Wy(t,this.getDefaultOption()),DM(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&oP(t,i,n)},e.prototype.mergeOption=function(t,e){t=Wy(this.option,t,!0),this.fillDataTextStyle(t.data);var n=rP(this);n&&oP(this.option,t,n);var i=jE(this).sourceManager;i.dirty(),i.prepareSource();var r=this.getInitialData(t,e);QE(r,this),this.dataTask.dirty(),this.dataTask.context.data=r,jE(this).dataBeforeProcessed=r,ZE(this),this._initSelectedMapFromData(r)},e.prototype.fillDataTextStyle=function(t){if(t&&!c_(t))for(var e=["show"],n=0;n<t.length;n++)t[n]&&t[n].label&&DM(t[n],"label",e)},e.prototype.getInitialData=function(t,e){},e.prototype.appendData=function(t){this.getRawData().appendData(t.data)},e.prototype.getData=function(t){var e=eR(this);if(e){var n=e.context.data;return null==t?n:n.getLinkedData(t)}return jE(this).data},e.prototype.getAllData=function(){var t=this.getData();return t&&t.getLinkedDataAll?t.getLinkedDataAll():[{data:t}]},e.prototype.setData=function(t){var e=eR(this);if(e){var n=e.context;n.outputData=t,e!==this.dataTask&&(n.data=t)}jE(this).data=t},e.prototype.getEncode=function(){var t=this.get("encode",!0);if(t)return C_(t)},e.prototype.getSourceManager=function(){return jE(this).sourceManager},e.prototype.getSource=function(){return this.getSourceManager().getSource()},e.prototype.getRawData=function(){return jE(this).dataBeforeProcessed},e.prototype.getColorBy=function(){return this.get("colorBy")||"series"},e.prototype.isColorBySeries=function(){return"series"===this.getColorBy()},e.prototype.getBaseAxis=function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},e.prototype.formatTooltip=function(t,e,n){return UE({series:this,dataIndex:t,multipleSeries:e})},e.prototype.isAnimationEnabled=function(){var t=this.ecModel;if(xy.node&&(!t||!t.ssr))return!1;var e=this.getShallow("animation");return e&&this.getData().count()>this.getShallow("animationThreshold")&&(e=!1),!!e},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(t,e,n){var i=this.ecModel,r=NP.prototype.getColorFromPalette.call(this,t,e,n);return r||(r=i.getColorFromPalette(t,e,n)),r},e.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},e.prototype.getProgressive=function(){return this.get("progressive")},e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},e.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},e.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n){var i=this.option.selectedMode,r=this.getData(e);if("series"===i||"all"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var o=0;o<t.length;o++){var a=YE(r,t[o]);n[a]=!1,this._selectedDataIndicesMap[a]=-1}}},e.prototype.toggleSelect=function(t,e){for(var n=[],i=0;i<t.length;i++)n[0]=t[i],this.isSelected(t[i],e)?this.unselect(n,e):this.select(n,e)},e.prototype.getSelectedDataIndices=function(){if("all"===this.option.selectedMap)return[].slice.call(this.getData().getIndices());for(var t=this._selectedDataIndicesMap,e=t_(t),n=[],i=0;i<e.length;i++){var r=t[e[i]];r>=0&&n.push(r)}return n},e.prototype.isSelected=function(t,e){var n=this.option.selectedMap;if(!n)return!1;var i=this.getData(e);return("all"===n||n[YE(i,t)])&&!i.getItemModel(t).get(["select","disabled"])},e.prototype.isUniversalTransitionEnabled=function(){if(this[XE])return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},e.prototype._innerSelect=function(t,e){var n,i,r=this.option,o=r.selectedMode,a=e.length;if(o&&a)if("series"===o)r.selectedMap="all";else if("multiple"===o){l_(r.selectedMap)||(r.selectedMap={});for(var s=r.selectedMap,l=0;l<a;l++){var u=e[l];s[h=YE(t,u)]=!0,this._selectedDataIndicesMap[h]=t.getRawIndex(u)}}else if("single"===o||!0===o){var c=e[a-1],h=YE(t,c);r.selectedMap=((n={})[h]=!0,n),this._selectedDataIndicesMap=((i={})[h]=t.getRawIndex(c),i)}},e.prototype._initSelectedMapFromData=function(t){if(!this.option.selectedMap){var e=[];t.hasItemOption&&t.each((function(n){var i=t.getRawDataItem(n);i&&i.selected&&e.push(n)})),e.length>0&&this._innerSelect(t,e)}},e.registerClass=function(t){return cP.registerClass(t)},e.protoInitialize=((n=e.prototype).type="series.__base__",n.seriesIndex=0,n.ignoreStyleOnData=!1,n.hasSymbolVisual=!1,n.defaultSymbol="circle",n.visualStyleAccessPath="itemStyle",void(n.visualDrawType="fill")),e}(cP);function ZE(t){var e=t.name;BM(t)||(t.name=function(t){var e=t.getRawData(),n=e.mapDimensionsAll("seriesName"),i=[];return Ky(n,(function(t){var n=e.getDimensionInfo(t);n.displayName&&i.push(n.displayName)})),i.join(" ")}(t)||e)}function KE(t){return t.model.getRawData().count()}function $E(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),JE}function JE(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function QE(t,e){Ky(T_(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),(function(n){t.wrapMethod(n,n_(tR,e))}))}function tR(t,e){var n=eR(t);return n&&n.setOutputEnd((e||this).count()),e}function eR(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}}qy(qE,XO),qy(qE,NP),eI(qE,cP);const nR=qE;var iR=function(){function t(){this.group=new KS,this.uid=nL("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){},t.prototype.updateLayout=function(t,e,n,i){},t.prototype.updateVisual=function(t,e,n,i){},t.prototype.toggleBlurSeries=function(t,e,n){},t.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},t}();tI(iR),oI(iR);const rR=iR;function oR(){var t=FM();return function(e){var n=t(e),i=e.pipelineContext,r=!!n.large,o=!!n.progressiveRender,a=n.large=!(!i||!i.large),s=n.progressiveRender=!(!i||!i.progressiveRender);return!(r===a&&o===s)&&"reset"}}var aR=FM(),sR=oR(),lR=function(){function t(){this.group=new KS,this.uid=nL("viewChart"),this.renderTask=ZO({plan:hR,reset:dR}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.highlight=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&cR(r,i,"emphasis")},t.prototype.downplay=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&cR(r,i,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateLayout=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.eachRendered=function(t){Sk(this.group,t)},t.markUpdateMethod=function(t,e){aR(t).updateMethod=e},t.protoInitialize=void(t.prototype.type="chart"),t}();function uR(t,e,n){t&&gT(t)&&("emphasis"===e?ZC:KC)(t,n)}function cR(t,e,n){var i=VM(t,e),r=e&&null!=e.highlightKey?function(t){var e=mC[t];return null==e&&vC<=32&&(e=mC[t]=vC++),e}(e.highlightKey):null;null!=i?Ky(TM(i),(function(e){uR(t.getItemGraphicEl(e),n,r)})):t.eachItemGraphicEl((function(t){uR(t,n,r)}))}function hR(t){return sR(t.model)}function dR(t){var e=t.model,n=t.ecModel,i=t.api,r=t.payload,o=e.pipelineContext.progressiveRender,a=t.view,s=r&&aR(r).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](e,n,i,r),pR[l]}tI(lR),oI(lR);var pR={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)}}};const fR=lR;var gR="\0__throttleOriginMethod",vR="\0__throttleRate",mR="\0__throttleType";function yR(t,e,n){var i,r,o,a,s,l=0,u=0,c=null;function h(){u=(new Date).getTime(),c=null,t.apply(o,a||[])}e=e||0;var d=function(){for(var t=[],d=0;d<arguments.length;d++)t[d]=arguments[d];i=(new Date).getTime(),o=this,a=t;var p=s||e,f=s||n;s=null,r=i-(f?l:u)-p,clearTimeout(c),f?c=setTimeout(h,p):r>=0?h():c=setTimeout(h,-r),l=i};return d.clear=function(){c&&(clearTimeout(c),c=null)},d.debounceNextCall=function(t){s=t},d}function _R(t,e,n,i){var r=t[e];if(r){var o=r[gR]||r,a=r[mR];if(r[vR]!==n||a!==i){if(null==n||!i)return t[e]=o;(r=t[e]=yR(o,n,"debounce"===i))[gR]=o,r[mR]=i,r[vR]=n}return r}}function xR(t,e){var n=t[e];n&&n[gR]&&(n.clear&&n.clear(),t[e]=n[gR])}var bR=FM(),wR={itemStyle:aI(Kk,!0),lineStyle:aI(Xk,!0)},SR={lineStyle:"stroke",itemStyle:"fill"};function MR(t,e){var n=t.visualStyleMapper||wR[e];return n||(console.warn("Unknown style type '"+e+"'."),wR.itemStyle)}function IR(t,e){var n=t.visualDrawType||SR[e];return n||(console.warn("Unknown style type '"+e+"'."),"fill")}var AR={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=t.getModel(i),o=MR(t,i)(r),a=r.getShallow("decal");a&&(n.setVisual("decal",a),a.dirty=!0);var s=IR(t,i),l=o[s],u=r_(l)?l:null,c="auto"===o.fill||"auto"===o.stroke;if(!o[s]||u||c){var h=t.getColorFromPalette(t.name,null,e.getSeriesCount());o[s]||(o[s]=h,n.setVisual("colorFromPalette",!0)),o.fill="auto"===o.fill||r_(o.fill)?h:o.fill,o.stroke="auto"===o.stroke||r_(o.stroke)?h:o.stroke}if(n.setVisual("style",o),n.setVisual("drawType",s),!e.isSeriesFiltered(t)&&u)return n.setVisual("colorFromPalette",!1),{dataEach:function(e,n){var i=t.getDataParams(n),r=jy({},o);r[s]=u(i),e.setItemVisual(n,"style",r)}}}},CR=new tL,TR={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!t.ignoreStyleOnData&&!e.isSeriesFiltered(t)){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=MR(t,i),o=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[i]){CR.option=n[i];var a=r(CR);jy(t.ensureUniqueItemVisual(e,"style"),a),CR.option.decal&&(t.setItemVisual(e,"decal",CR.option.decal),CR.option.decal.dirty=!0),o in a&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}},DR={performRawSeries:!0,overallReset:function(t){var e=C_();t.eachSeries((function(t){var n=t.getColorBy();if(!t.isColorBySeries()){var i=t.type+"-"+n,r=e.get(i);r||(r={},e.set(i,r)),bR(t).scope=r}})),t.eachSeries((function(e){if(!e.isColorBySeries()&&!t.isSeriesFiltered(e)){var n=e.getRawData(),i={},r=e.getData(),o=bR(e).scope,a=e.visualStyleAccessPath||"itemStyle",s=IR(e,a);r.each((function(t){var e=r.getRawIndex(t);i[e]=t})),n.each((function(t){var a=i[t];if(r.getItemVisual(a,"colorFromPalette")){var l=r.ensureUniqueItemVisual(a,"style"),u=n.getName(t)||t+"",c=n.count();l[s]=e.getColorFromPalette(u,o,c)}}))}}))}},kR=Math.PI;var LR=function(){function t(t,e,n,i){this._stageTaskMap=C_(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}return t.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each((function(t){var e=t.overallTask;e&&e.dirty()}))},t.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,r=!e&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex?n.step:null,o=i&&i.modDataCount;return{step:r,modBy:null!=o?Math.ceil(o/r):null,modDataCount:o}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData().count(),r=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,o=t.get("large")&&i>=t.get("largeThreshold"),a="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=n.context={progressiveRender:r,modDataCount:a,large:o}},t.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=C_();t.eachSeries((function(t){var i=t.getProgressive(),r=t.uid;n.set(r,{id:r,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),e._pipe(t,t.dataTask)}))},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;Ky(this._allHandlers,(function(i){var r=t.get(i.uid)||t.set(i.uid,{});__(!(i.reset&&i.overallReset),""),i.reset&&this._createSeriesStageTask(i,r,e,n),i.overallReset&&this._createOverallStageTask(i,r,e,n)}),this)},t.prototype.prepareView=function(t,e,n,i){var r=t.renderTask,o=r.context;o.model=e,o.ecModel=n,o.api=i,r.__block=!t.incrementalPrepareRender,this._pipe(e,r)},t.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},t.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},t.prototype._performStageTasks=function(t,e,n,i){i=i||{};var r=!1,o=this;function a(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}Ky(t,(function(t,s){if(!i.visualType||i.visualType===t.visualType){var l=o._stageTaskMap.get(t.uid),u=l.seriesTaskMap,c=l.overallTask;if(c){var h,d=c.agentStubMap;d.each((function(t){a(i,t)&&(t.dirty(),h=!0)})),h&&c.dirty(),o.updatePayload(c,n);var p=o.getPerformArgs(c,i.block);d.each((function(t){t.perform(p)})),c.perform(p)&&(r=!0)}else u&&u.each((function(s,l){a(i,s)&&s.dirty();var u=o.getPerformArgs(s,i.block);u.skip=!t.performRawSeries&&e.isSeriesFiltered(s.context.model),o.updatePayload(s,n),s.perform(u)&&(r=!0)}))}})),this.unfinished=r||this.unfinished},t.prototype.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e=t.dataTask.perform()||e})),this.unfinished=e||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each((function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)}))},t.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},t.prototype._createSeriesStageTask=function(t,e,n,i){var r=this,o=e.seriesTaskMap,a=e.seriesTaskMap=C_(),s=t.seriesType,l=t.getTargetSeries;function u(e){var s=e.uid,l=a.set(s,o&&o.get(s)||ZO({plan:NR,reset:BR,count:FR}));l.context={model:e,ecModel:n,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:r},r._pipe(e,l)}t.createOnAllSeries?n.eachRawSeries(u):s?n.eachRawSeriesByType(s,u):l&&l(n,i).each(u)},t.prototype._createOverallStageTask=function(t,e,n,i){var r=this,o=e.overallTask=e.overallTask||ZO({reset:PR});o.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:r};var a=o.agentStubMap,s=o.agentStubMap=C_(),l=t.seriesType,u=t.getTargetSeries,c=!0,h=!1;function d(t){var e=t.uid,n=s.set(e,a&&a.get(e)||(h=!0,ZO({reset:OR,onDirty:RR})));n.context={model:t,overallProgress:c},n.agent=o,n.__block=c,r._pipe(t,n)}__(!t.createOnAllSeries,""),l?n.eachRawSeriesByType(l,d):u?u(n,i).each(d):(c=!1,Ky(n.getSeries(),d)),h&&o.dirty()},t.prototype._pipe=function(t,e){var n=t.uid,i=this._pipelineMap.get(n);!i.head&&(i.head=e),i.tail&&i.tail.pipe(e),i.tail=e,e.__idxInPipeline=i.count++,e.__pipeline=i},t.wrapStageHandler=function(t,e){return r_(t)&&(t={overallReset:t,seriesType:GR(t)}),t.uid=nL("stageHandler"),e&&(t.visualType=e),t},t}();function PR(t){t.overallReset(t.ecModel,t.api,t.payload)}function OR(t){return t.overallProgress&&ER}function ER(){this.agent.dirty(),this.getDownstream().dirty()}function RR(){this.agent&&this.agent.dirty()}function NR(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function BR(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=TM(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?$y(e,(function(t,e){return VR(e)})):zR}var zR=VR(0);function VR(t){return function(e,n){var i=n.data,r=n.resetDefines[t];if(r&&r.dataEach)for(var o=e.start;o<e.end;o++)r.dataEach(i,o);else r&&r.progress&&r.progress(e,i)}}function FR(t){return t.data.count()}function GR(t){HR=null;try{t(WR,UR)}catch(e){}return HR}var HR,WR={},UR={};function jR(t,e){for(var n in e.prototype)t[n]=P_}jR(WR,UP),jR(UR,YP),WR.eachSeriesByType=WR.eachRawSeriesByType=function(t){HR=t},WR.eachComponent=function(t){"series"===t.mainType&&t.subType&&(HR=t.subType)};const YR=LR;var XR=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"];const qR={color:XR,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],XR]};var ZR="#B9B8CE",KR="#100C2A",$R=function(){return{axisLine:{lineStyle:{color:ZR}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},JR=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],QR={darkMode:!0,color:JR,backgroundColor:KR,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:ZR}},textStyle:{color:ZR},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:ZR}},dataZoom:{borderColor:"#71708A",textStyle:{color:ZR},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:ZR}},timeline:{lineStyle:{color:ZR},label:{color:ZR},controlStyle:{color:ZR,borderColor:ZR}},calendar:{itemStyle:{color:KR},dayLabel:{color:ZR},monthLabel:{color:ZR},yearLabel:{color:ZR}},timeAxis:$R(),logAxis:$R(),valueAxis:$R(),categoryAxis:$R(),line:{symbol:"circle"},graph:{color:JR},gauge:{title:{color:ZR},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:ZR},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};QR.categoryAxis.splitLine.show=!1;const tN=QR;var eN=function(){function t(){}return t.prototype.normalizeQuery=function(t){var e={},n={},i={};if(o_(t)){var r=QM(t);e.mainType=r.main||null,e.subType=r.sub||null}else{var o=["Index","Name","Id"],a={name:1,dataIndex:1,dataType:1};Ky(t,(function(t,r){for(var s=!1,l=0;l<o.length;l++){var u=o[l],c=r.lastIndexOf(u);if(c>0&&c===r.length-u.length){var h=r.slice(0,c);"data"!==h&&(e.mainType=h,e[u.toLowerCase()]=t,s=!0)}}a.hasOwnProperty(r)&&(n[r]=t,s=!0),s||(i[r]=t)}))}return{cptQuery:e,dataQuery:n,otherQuery:i}},t.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var i=n.targetEl,r=n.packedEvent,o=n.model,a=n.view;if(!o||!a)return!0;var s=e.cptQuery,l=e.dataQuery;return u(s,o,"mainType")&&u(s,o,"subType")&&u(s,o,"index","componentIndex")&&u(s,o,"name")&&u(s,o,"id")&&u(l,r,"name")&&u(l,r,"dataIndex")&&u(l,r,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(t,e.otherQuery,i,r));function u(t,e,n,i){return null==t[n]||e[i||n]===t[n]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),nN=["symbol","symbolSize","symbolRotate","symbolOffset"],iN=nN.concat(["symbolKeepAspect"]),rN={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){for(var i={},r={},o=!1,a=0;a<nN.length;a++){var s=nN[a],l=t.get(s);r_(l)?(o=!0,r[s]=l):i[s]=l}if(i.symbol=i.symbol||t.defaultSymbol,n.setVisual(jy({legendIcon:t.legendIcon||i.symbol,symbolKeepAspect:t.get("symbolKeepAspect")},i)),!e.isSeriesFiltered(t)){var u=t_(r);return{dataEach:o?function(e,n){for(var i=t.getRawValue(n),o=t.getDataParams(n),a=0;a<u.length;a++){var s=u[a];e.setItemVisual(n,s,r[s](i,o))}}:null}}}}},oN={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(t.hasSymbolVisual&&!e.isSeriesFiltered(t))return{dataEach:t.getData().hasItemOption?function(t,e){for(var n=t.getItemModel(e),i=0;i<iN.length;i++){var r=iN[i],o=n.getShallow(r,!0);null!=o&&t.setItemVisual(e,r,o)}}:null}}};function aN(t,e,n){switch(n){case"color":return t.getItemVisual(e,"style")[t.getVisual("drawType")];case"opacity":return t.getItemVisual(e,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getItemVisual(e,n)}}function sN(t,e){switch(e){case"color":return t.getVisual("style")[t.getVisual("drawType")];case"opacity":return t.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getVisual(e)}}function lN(t,e,n,i){switch(n){case"color":t.ensureUniqueItemVisual(e,"style")[t.getVisual("drawType")]=i,t.setItemVisual(e,"colorFromPalette",!1);break;case"opacity":t.ensureUniqueItemVisual(e,"style").opacity=i;break;case"symbol":case"symbolSize":case"liftZ":t.setItemVisual(e,n,i)}}function uN(t,e){function n(e,n){var i=[];return e.eachComponent({mainType:"series",subType:t,query:n},(function(t){i.push(t.seriesIndex)})),i}Ky([[t+"ToggleSelect","toggleSelect"],[t+"Select","select"],[t+"UnSelect","unselect"]],(function(t){e(t[0],(function(e,i,r){e=jy({},e),r.dispatchAction(jy(e,{type:t[1],seriesIndex:n(i,e)}))}))}))}function cN(t,e,n,i,r){var o=t+e;n.isSilent(o)||i.eachComponent({mainType:"series",subType:"pie"},(function(t){for(var e=t.seriesIndex,i=t.option.selectedMap,a=r.selected,s=0;s<a.length;s++)if(a[s].seriesIndex===e){var l=t.getData(),u=VM(l,r.fromActionPayload);n.trigger(o,{type:o,seriesId:t.id,name:i_(u)?l.getName(u[0]):l.getName(u),selected:o_(i)?i:jy({},i)})}}))}function hN(t,e,n){for(var i;t&&(!e(t)||(i=t,!n));)t=t.__hostTarget||t.parent;return i}var dN=Math.round(9*Math.random()),pN="function"==typeof Object.defineProperty,fN=function(){function t(){this._id="__ec_inner_"+dN++}return t.prototype.get=function(t){return this._guard(t)[this._id]},t.prototype.set=function(t,e){var n=this._guard(t);return pN?Object.defineProperty(n,this._id,{value:e,enumerable:!1,configurable:!0}):n[this._id]=e,this},t.prototype.delete=function(t){return!!this.has(t)&&(delete this._guard(t)[this._id],!0)},t.prototype.has=function(t){return!!this._guard(t)[this._id]},t.prototype._guard=function(t){if(t!==Object(t))throw TypeError("Value of WeakMap is not a non-null object.");return t},t}();const gN=fN;var vN=NA.extend({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,o=e.height/2;t.moveTo(n,i-o),t.lineTo(n+r,i+o),t.lineTo(n-r,i+o),t.closePath()}}),mN=NA.extend({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,o=e.height/2;t.moveTo(n,i-o),t.lineTo(n+r,i),t.lineTo(n,i+o),t.lineTo(n-r,i),t.closePath()}}),yN=NA.extend({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,o=Math.max(r,e.height),a=r/2,s=a*a/(o-a),l=i-o+a+s,u=Math.asin(s/a),c=Math.cos(u)*a,h=Math.sin(u),d=Math.cos(u),p=.6*a,f=.7*a;t.moveTo(n-c,l+s),t.arc(n,l,a,Math.PI-u,2*Math.PI+u),t.bezierCurveTo(n+c-h*p,l+s+d*p,n,i-f,n,i),t.bezierCurveTo(n,i-f,n-c+h*p,l+s+d*p,n-c,l+s),t.closePath()}}),_N=NA.extend({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,o=e.y,a=i/3*2;t.moveTo(r,o),t.lineTo(r+a,o+n),t.lineTo(r,o+n/4*3),t.lineTo(r-a,o+n),t.lineTo(r,o),t.closePath()}}),xN={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 o=Math.min(n,i);r.x=t,r.y=e,r.width=o,r.height=o},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}},bN={};Ky({line:_D,rect:$A,roundRect:$A,square:$A,circle:FT,diamond:mN,pin:yN,arrow:_N,triangle:vN},(function(t,e){bN[e]=new t}));var wN=NA.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,n){var i=BS(t,e,n),r=this.shape;return r&&"pin"===r.symbolType&&"inside"===e.position&&(i.y=n.y+.4*n.height),i},buildPath:function(t,e,n){var i=e.symbolType;if("none"!==i){var r=bN[i];r||(r=bN[i="rect"]),xN[i](e.x,e.y,e.width,e.height,r.shape),r.buildPath(t,r.shape,n)}}});function SN(t,e){if("image"!==this.type){var n=this.style;this.__isEmptyBrush?(n.stroke=t,n.fill=e||"#fff",n.lineWidth=2):"line"===this.shape.symbolType?n.stroke=t:n.fill=t,this.markRedraw()}}function MN(t,e,n,i,r,o,a){var s,l=0===t.indexOf("empty");return l&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),(s=0===t.indexOf("image://")?ok(t.slice(8),new Hx(e,n,i,r),a?"center":"cover"):0===t.indexOf("path://")?rk(t.slice(7),{},new Hx(e,n,i,r),a?"center":"cover"):new wN({shape:{symbolType:t,x:e,y:n,width:i,height:r}})).__isEmptyBrush=l,s.setColor=SN,o&&s.setColor(o),s}function IN(t){return i_(t)||(t=[+t,+t]),[t[0]||0,t[1]||0]}function AN(t,e){if(null!=t)return i_(t)||(t=[t,t]),[rM(t[0],e[0])||0,rM(g_(t[1],t[0]),e[1])||0]}function CN(t){return isFinite(t)}function TN(t,e,n){for(var i="radial"===e.type?function(t,e,n){var i=n.width,r=n.height,o=Math.min(i,r),a=null==e.x?.5:e.x,s=null==e.y?.5:e.y,l=null==e.r?.5:e.r;return e.global||(a=a*i+n.x,s=s*r+n.y,l*=o),a=CN(a)?a:.5,s=CN(s)?s:.5,l=l>=0&&CN(l)?l:.5,t.createRadialGradient(a,s,0,a,s,l)}(t,e,n):function(t,e,n){var i=null==e.x?0:e.x,r=null==e.x2?1:e.x2,o=null==e.y?0:e.y,a=null==e.y2?0:e.y2;return e.global||(i=i*n.width+n.x,r=r*n.width+n.x,o=o*n.height+n.y,a=a*n.height+n.y),i=CN(i)?i:0,r=CN(r)?r:1,o=CN(o)?o:0,a=CN(a)?a:0,t.createLinearGradient(i,o,r,a)}(t,e,n),r=e.colorStops,o=0;o<r.length;o++)i.addColorStop(r[o].offset,r[o].color);return i}function DN(t){return parseInt(t,10)}function kN(t,e,n){var i=["width","height"][e],r=["clientWidth","clientHeight"][e],o=["paddingLeft","paddingTop"][e],a=["paddingRight","paddingBottom"][e];if(null!=n[i]&&"auto"!==n[i])return parseFloat(n[i]);var s=document.defaultView.getComputedStyle(t);return(t[r]||DN(s[i])||DN(t.style[i]))-(DN(s[o])||0)-(DN(s[a])||0)|0}function LN(t){var e,n,i=t.style,r=i.lineDash&&i.lineWidth>0&&(e=i.lineDash,n=i.lineWidth,e&&"solid"!==e&&n>0?"dashed"===e?[4*n,2*n]:"dotted"===e?[n]:s_(e)?[e]:i_(e)?e:null:null),o=i.lineDashOffset;if(r){var a=i.strokeNoScale&&t.getLineScale?t.getLineScale():1;a&&1!==a&&(r=$y(r,(function(t){return t/a})),o/=a)}return[r,o]}var PN=new fA(!0);function ON(t){var e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))}function EN(t){return"string"==typeof t&&"none"!==t}function RN(t){var e=t.fill;return null!=e&&"none"!==e}function NN(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var n=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=n}else t.fill()}function BN(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var n=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=n}else t.stroke()}function zN(t,e,n){var i=hI(e.image,e.__image,n);if(pI(i)){var r=t.createPattern(i,e.repeat||"repeat");if("function"==typeof DOMMatrix&&r&&r.setTransform){var o=new DOMMatrix;o.translateSelf(e.x||0,e.y||0),o.rotateSelf(0,0,(e.rotation||0)*O_),o.scaleSelf(e.scaleX||1,e.scaleY||1),r.setTransform(o)}return r}}var VN=["shadowBlur","shadowOffsetX","shadowOffsetY"],FN=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function GN(t,e,n,i,r){var o=!1;if(!i&&e===(n=n||{}))return!1;if(i||e.opacity!==n.opacity){qN(t,r),o=!0;var a=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(a)?CI.opacity:a}(i||e.blend!==n.blend)&&(o||(qN(t,r),o=!0),t.globalCompositeOperation=e.blend||CI.blend);for(var s=0;s<VN.length;s++){var l=VN[s];(i||e[l]!==n[l])&&(o||(qN(t,r),o=!0),t[l]=t.dpr*(e[l]||0))}return(i||e.shadowColor!==n.shadowColor)&&(o||(qN(t,r),o=!0),t.shadowColor=e.shadowColor||CI.shadowColor),o}function HN(t,e,n,i,r){var o=ZN(e,r.inHover),a=i?null:n&&ZN(n,r.inHover)||{};if(o===a)return!1;var s=GN(t,o,a,i,r);if((i||o.fill!==a.fill)&&(s||(qN(t,r),s=!0),EN(o.fill)&&(t.fillStyle=o.fill)),(i||o.stroke!==a.stroke)&&(s||(qN(t,r),s=!0),EN(o.stroke)&&(t.strokeStyle=o.stroke)),(i||o.opacity!==a.opacity)&&(s||(qN(t,r),s=!0),t.globalAlpha=null==o.opacity?1:o.opacity),e.hasStroke()){var l=o.lineWidth/(o.strokeNoScale&&e.getLineScale?e.getLineScale():1);t.lineWidth!==l&&(s||(qN(t,r),s=!0),t.lineWidth=l)}for(var u=0;u<FN.length;u++){var c=FN[u],h=c[0];(i||o[h]!==a[h])&&(s||(qN(t,r),s=!0),t[h]=o[h]||c[1])}return s}function WN(t,e){var n=e.transform,i=t.dpr||1;n?t.setTransform(i*n[0],i*n[1],i*n[2],i*n[3],i*n[4],i*n[5]):t.setTransform(i,0,0,i,0,0)}var UN=1,jN=2,YN=3,XN=4;function qN(t,e){e.batchFill&&t.fill(),e.batchStroke&&t.stroke(),e.batchFill="",e.batchStroke=""}function ZN(t,e){return e&&t.__hoverStyle||t.style}function KN(t,e){$N(t,e,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function $N(t,e,n,i){var r=e.transform;if(!e.shouldBePainted(n.viewWidth,n.viewHeight,!1,!1))return e.__dirty&=~lb,void(e.__isRendered=!1);var o=e.__clipPaths,a=n.prevElClipPaths,s=!1,l=!1;if(a&&!function(t,e){if(t===e||!t&&!e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!0;return!1}(o,a)||(a&&a.length&&(qN(t,n),t.restore(),l=s=!0,n.prevElClipPaths=null,n.allClipped=!1,n.prevEl=null),o&&o.length&&(qN(t,n),t.save(),function(t,e,n){for(var i=!1,r=0;r<t.length;r++){var o=t[r];i=i||o.isZeroArea(),WN(e,o),e.beginPath(),o.buildPath(e,o.shape),e.clip()}n.allClipped=i}(o,t,n),s=!0),n.prevElClipPaths=o),n.allClipped)e.__isRendered=!1;else{e.beforeBrush&&e.beforeBrush(),e.innerBeforeBrush();var u=n.prevEl;u||(l=s=!0);var c,h,d=e instanceof NA&&e.autoBatch&&function(t){var e=RN(t),n=ON(t);return!(t.lineDash||!(+e^+n)||e&&"string"!=typeof t.fill||n&&"string"!=typeof t.stroke||t.strokePercent<1||t.strokeOpacity<1||t.fillOpacity<1)}(e.style);s||(c=r,h=u.transform,c&&h?c[0]!==h[0]||c[1]!==h[1]||c[2]!==h[2]||c[3]!==h[3]||c[4]!==h[4]||c[5]!==h[5]:c||h)?(qN(t,n),WN(t,e)):d||qN(t,n);var p=ZN(e,n.inHover);e instanceof NA?(n.lastDrawType!==UN&&(l=!0,n.lastDrawType=UN),HN(t,e,u,l,n),d&&(n.batchFill||n.batchStroke)||t.beginPath(),function(t,e,n,i){var r,o=ON(n),a=RN(n),s=n.strokePercent,l=s<1,u=!e.path;e.silent&&!l||!u||e.createPathProxy();var c=e.path||PN,h=e.__dirty;if(!i){var d=n.fill,p=n.stroke,f=a&&!!d.colorStops,g=o&&!!p.colorStops,v=a&&!!d.image,m=o&&!!p.image,y=void 0,_=void 0,x=void 0,b=void 0,w=void 0;(f||g)&&(w=e.getBoundingRect()),f&&(y=h?TN(t,d,w):e.__canvasFillGradient,e.__canvasFillGradient=y),g&&(_=h?TN(t,p,w):e.__canvasStrokeGradient,e.__canvasStrokeGradient=_),v&&(x=h||!e.__canvasFillPattern?zN(t,d,e):e.__canvasFillPattern,e.__canvasFillPattern=x),m&&(b=h||!e.__canvasStrokePattern?zN(t,p,e):e.__canvasStrokePattern,e.__canvasStrokePattern=x),f?t.fillStyle=y:v&&(x?t.fillStyle=x:a=!1),g?t.strokeStyle=_:m&&(b?t.strokeStyle=b:o=!1)}var S,M,I=e.getGlobalScale();c.setScale(I[0],I[1],e.segmentIgnoreThreshold),t.setLineDash&&n.lineDash&&(S=(r=LN(e))[0],M=r[1]);var A=!0;(u||h&ub)&&(c.setDPR(t.dpr),l?c.setContext(null):(c.setContext(t),A=!1),c.reset(),e.buildPath(c,e.shape,i),c.toStatic(),e.pathUpdated()),A&&c.rebuildPath(t,l?s:1),S&&(t.setLineDash(S),t.lineDashOffset=M),i||(n.strokeFirst?(o&&BN(t,n),a&&NN(t,n)):(a&&NN(t,n),o&&BN(t,n))),S&&t.setLineDash([])}(t,e,p,d),d&&(n.batchFill=p.fill||"",n.batchStroke=p.stroke||"")):e instanceof VA?(n.lastDrawType!==YN&&(l=!0,n.lastDrawType=YN),HN(t,e,u,l,n),function(t,e,n){var i,r=n.text;if(null!=r&&(r+=""),r){t.font=n.font||Sy,t.textAlign=n.textAlign,t.textBaseline=n.textBaseline;var o=void 0,a=void 0;t.setLineDash&&n.lineDash&&(o=(i=LN(e))[0],a=i[1]),o&&(t.setLineDash(o),t.lineDashOffset=a),n.strokeFirst?(ON(n)&&t.strokeText(r,n.x,n.y),RN(n)&&t.fillText(r,n.x,n.y)):(RN(n)&&t.fillText(r,n.x,n.y),ON(n)&&t.strokeText(r,n.x,n.y)),o&&t.setLineDash([])}}(t,e,p)):e instanceof WA?(n.lastDrawType!==jN&&(l=!0,n.lastDrawType=jN),function(t,e,n,i,r){GN(t,ZN(e,r.inHover),n&&ZN(n,r.inHover),i,r)}(t,e,u,l,n),function(t,e,n){var i=e.__image=hI(n.image,e.__image,e,e.onload);if(i&&pI(i)){var r=n.x||0,o=n.y||0,a=e.getWidth(),s=e.getHeight(),l=i.width/i.height;if(null==a&&null!=s?a=s*l:null==s&&null!=a?s=a/l:null==a&&null==s&&(a=i.width,s=i.height),n.sWidth&&n.sHeight){var u=n.sx||0,c=n.sy||0;t.drawImage(i,u,c,n.sWidth,n.sHeight,r,o,a,s)}else if(n.sx&&n.sy){var h=a-(u=n.sx),d=s-(c=n.sy);t.drawImage(i,u,c,h,d,r,o,a,s)}else t.drawImage(i,r,o,a,s)}}(t,e,p)):e.getTemporalDisplayables&&(n.lastDrawType!==XN&&(l=!0,n.lastDrawType=XN),function(t,e,n){var i=e.getDisplayables(),r=e.getTemporalDisplayables();t.save();var o,a,s={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:n.viewWidth,viewHeight:n.viewHeight,inHover:n.inHover};for(o=e.getCursor(),a=i.length;o<a;o++){(c=i[o]).beforeBrush&&c.beforeBrush(),c.innerBeforeBrush(),$N(t,c,s,o===a-1),c.innerAfterBrush(),c.afterBrush&&c.afterBrush(),s.prevEl=c}for(var l=0,u=r.length;l<u;l++){var c;(c=r[l]).beforeBrush&&c.beforeBrush(),c.innerBeforeBrush(),$N(t,c,s,l===u-1),c.innerAfterBrush(),c.afterBrush&&c.afterBrush(),s.prevEl=c}e.clearTemporalDisplayables(),e.notClear=!0,t.restore()}(t,e,n)),d&&i&&qN(t,n),e.innerAfterBrush(),e.afterBrush&&e.afterBrush(),n.prevEl=e,e.__dirty=0,e.__isRendered=!0}}var JN=new gN,QN=new qb(100),tB=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function eB(t,e){if("none"===t)return null;var n=e.getDevicePixelRatio(),i=e.getZr(),r="svg"===i.painter.type;t.dirty&&JN.delete(t);var o=JN.get(t);if(o)return o;var a=Yy(t,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});"none"===a.backgroundColor&&(a.backgroundColor=null);var s={repeat:"repeat"};return function(t){for(var e,o=[n],s=!0,l=0;l<tB.length;++l){var u=a[tB[l]];if(null!=u&&!i_(u)&&!o_(u)&&!s_(u)&&"boolean"!=typeof u){s=!1;break}o.push(u)}if(s){e=o.join(",")+(r?"-svg":"");var c=QN.get(e);c&&(r?t.svgElement=c:t.image=c)}var h,d=iB(a.dashArrayX),p=function(t){if(!t||"object"==typeof t&&0===t.length)return[0,0];if(s_(t)){var e=Math.ceil(t);return[e,e]}var n=$y(t,(function(t){return Math.ceil(t)}));return t.length%2?n.concat(n):n}(a.dashArrayY),f=nB(a.symbol),g=(x=d,$y(x,(function(t){return rB(t)}))),v=rB(p),m=!r&&Cy.createCanvas(),y=r&&{tag:"g",attrs:{},key:"dcl",children:[]},_=function(){for(var t=1,e=0,n=g.length;e<n;++e)t=SM(t,g[e]);var i=1;for(e=0,n=f.length;e<n;++e)i=SM(i,f[e].length);t*=i;var r=v*g.length*f.length;return{width:Math.max(1,Math.min(t,a.maxTileWidth)),height:Math.max(1,Math.min(r,a.maxTileHeight))}}();var x;m&&(m.width=_.width*n,m.height=_.height*n,h=m.getContext("2d"));(function(){h&&(h.clearRect(0,0,m.width,m.height),a.backgroundColor&&(h.fillStyle=a.backgroundColor,h.fillRect(0,0,m.width,m.height)));for(var t=0,e=0;e<p.length;++e)t+=p[e];if(t<=0)return;var o=-v,s=0,l=0,u=0;for(;o<_.height;){if(s%2==0){for(var c=l/2%f.length,g=0,x=0,b=0;g<2*_.width;){var w=0;for(e=0;e<d[u].length;++e)w+=d[u][e];if(w<=0)break;if(x%2==0){var S=.5*(1-a.symbolSize),M=g+d[u][x]*S,I=o+p[s]*S,A=d[u][x]*a.symbolSize,C=p[s]*a.symbolSize,T=b/2%f[c].length;D(M,I,A,C,f[c][T])}g+=d[u][x],++b,++x===d[u].length&&(x=0)}++u===d.length&&(u=0)}o+=p[s],++l,++s===p.length&&(s=0)}function D(t,e,o,s,l){var u=r?1:n,c=MN(l,t*u,e*u,o*u,s*u,a.color,a.symbolKeepAspect);if(r){var d=i.painter.renderOneToVNode(c);d&&y.children.push(d)}else KN(h,c)}})(),s&&QN.put(e,m||y);t.image=m,t.svgElement=y,t.svgWidth=_.width,t.svgHeight=_.height}(s),s.rotation=a.rotation,s.scaleX=s.scaleY=r?1:1/n,JN.set(t,s),t.dirty=!1,s}function nB(t){if(!t||0===t.length)return[["rect"]];if(o_(t))return[[t]];for(var e=!0,n=0;n<t.length;++n)if(!o_(t[n])){e=!1;break}if(e)return nB([t]);var i=[];for(n=0;n<t.length;++n)o_(t[n])?i.push([t[n]]):i.push(t[n]);return i}function iB(t){if(!t||0===t.length)return[[0,0]];if(s_(t))return[[r=Math.ceil(t),r]];for(var e=!0,n=0;n<t.length;++n)if(!s_(t[n])){e=!1;break}if(e)return iB([t]);var i=[];for(n=0;n<t.length;++n)if(s_(t[n])){var r=Math.ceil(t[n]);i.push([r,r])}else{(r=$y(t[n],(function(t){return Math.ceil(t)}))).length%2==1?i.push(r.concat(r)):i.push(r)}return i}function rB(t){for(var e=0,n=0;n<t.length;++n)e+=t[n];return t.length%2==1?2*e:e}const oB=new Q_;var aB={};var sB=2e3,lB=4500,uB={PROCESSOR:{FILTER:1e3,SERIES_FILTER:800,STATISTIC:5e3},VISUAL:{LAYOUT:1e3,PROGRESSIVE_LAYOUT:1100,GLOBAL:sB,CHART:3e3,POST_CHART_LAYOUT:4600,COMPONENT:4e3,BRUSH:5e3,CHART_ITEM:lB,ARIA:6e3,DECAL:7e3}},cB="__flagInMainProcess",hB="__pendingUpdate",dB="__needsUpdateStatus",pB=/^[a-zA-Z0-9_]+$/,fB="__connectUpdateStatus";function gB(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(!this.isDisposed())return mB(this,t,e);this.id}}function vB(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return mB(this,t,e)}}function mB(t,e,n){return n[0]=n[0]&&n[0].toLowerCase(),Q_.prototype[e].apply(t,n)}var yB,_B,xB,bB,wB,SB,MB,IB,AB,CB,TB,DB,kB,LB,PB,OB,EB,RB,NB=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return my(e,t),e}(Q_),BB=NB.prototype;BB.on=vB("on"),BB.off=vB("off");var zB=function(t){function e(e,n,i){var r=t.call(this,new eN)||this;r._chartsViews=[],r._chartsMap={},r._componentsViews=[],r._componentsMap={},r._pendingActions=[],i=i||{},o_(n)&&(n=YB[n]),r._dom=e;var o=r._zr=tM(e,{renderer:i.renderer||"canvas",devicePixelRatio:i.devicePixelRatio,width:i.width,height:i.height,ssr:i.ssr,useDirtyRect:g_(i.useDirtyRect,!1),useCoarsePointer:g_(i.useCoarsePointer,"auto"),pointerSize:i.pointerSize});r._ssr=i.ssr,r._throttledZrFlush=yR(e_(o.flush,o),17),(n=Hy(n))&&_O(n,!0),r._theme=n,r._locale=function(t){if(o_(t)){var e=sL[t.toUpperCase()]||{};return t===rL||t===oL?Hy(e):Wy(Hy(e),Hy(sL[aL]),!1)}return Wy(Hy(t),Hy(sL[aL]),!1)}(i.locale||uL),r._coordSysMgr=new ZP;var a=r._api=PB(r);function s(t,e){return t.__prio-e.__prio}return sb(jB,s),sb(WB,s),r._scheduler=new YR(r,a,WB,jB),r._messageCenter=new NB,r._initEvents(),r.resize=e_(r.resize,r),o.animation.on("frame",r._onframe,r),CB(o,r),TB(o,r),w_(r),r}return my(e,t),e.prototype._onframe=function(){if(!this._disposed){RB(this);var t=this._scheduler;if(this[hB]){var e=this[hB].silent;this[cB]=!0;try{yB(this),bB.update.call(this,null,this[hB].updateParams)}catch(a){throw this[cB]=!1,this[hB]=null,a}this._zr.flush(),this[cB]=!1,this[hB]=null,IB.call(this,e),AB.call(this,e)}else if(t.unfinished){var n=1,i=this._model,r=this._api;t.unfinished=!1;do{var o=+new Date;t.performSeriesTasks(i),t.performDataProcessorTasks(i),SB(this,i),t.performVisualTasks(i),LB(this,this._model,r,"remain",{}),n-=+new Date-o}while(n>0&&t.unfinished);t.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(t,e,n){if(!this[cB])if(this._disposed)this.id;else{var i,r,o;if(l_(e)&&(n=e.lazyUpdate,i=e.silent,r=e.replaceMerge,o=e.transition,e=e.notMerge),this[cB]=!0,!this._model||e){var a=new QP(this._api),s=this._theme,l=this._model=new UP;l.scheduler=this._scheduler,l.ssr=this._ssr,l.init(null,null,null,s,this._locale,a)}this._model.setOption(t,{replaceMerge:r},UB);var u={seriesTransition:o,optionChanged:!0};if(n)this[hB]={silent:i,updateParams:u},this[cB]=!1,this.getZr().wakeUp();else{try{yB(this),bB.update.call(this,null,u)}catch(c){throw this[hB]=null,this[cB]=!1,c}this._ssr||this._zr.flush(),this[hB]=null,this[cB]=!1,IB.call(this,i),AB.call(this,i)}}},e.prototype.setTheme=function(){},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||xy.hasGlobalWindow&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){return t=t||{},this._zr.painter.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){return t=t||{},this._zr.painter.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){if(xy.svgSupported){var t=this._zr;return Ky(t.storage.getDisplayList(),(function(t){t.stopAnimation(null,!0)})),t.painter.toDataURL()}},e.prototype.getDataURL=function(t){if(!this._disposed){var e=(t=t||{}).excludeComponents,n=this._model,i=[],r=this;Ky(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 o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return Ky(i,(function(t){t.group.ignore=!1})),o}this.id},e.prototype.getConnectedDataURL=function(t){if(!this._disposed){var e="svg"===t.type,n=this.group,i=Math.min,r=Math.max,o=1/0;if(ZB[n]){var a=o,s=o,l=-1/0,u=-1/0,c=[],h=t&&t.pixelRatio||this.getDevicePixelRatio();Ky(qB,(function(o,h){if(o.group===n){var d=e?o.getZr().painter.getSvgDom().innerHTML:o.renderToCanvas(Hy(t)),p=o.getDom().getBoundingClientRect();a=i(p.left,a),s=i(p.top,s),l=r(p.right,l),u=r(p.bottom,u),c.push({dom:d,left:p.left,top:p.top})}}));var d=(l*=h)-(a*=h),p=(u*=h)-(s*=h),f=Cy.createCanvas(),g=tM(f,{renderer:e?"svg":"canvas"});if(g.resize({width:d,height:p}),e){var v="";return Ky(c,(function(t){var e=t.left-a,n=t.top-s;v+='<g transform="translate('+e+","+n+')">'+t.dom+"</g>"})),g.painter.getSvgRoot().innerHTML=v,t.connectedBackgroundColor&&g.painter.setBackgroundColor(t.connectedBackgroundColor),g.refreshImmediately(),g.painter.toDataURL()}return t.connectedBackgroundColor&&g.add(new $A({shape:{x:0,y:0,width:d,height:p},style:{fill:t.connectedBackgroundColor}})),Ky(c,(function(t){var e=new WA({style:{x:t.left*h-a,y:t.top*h-s,image:t.dom}});g.add(e)})),g.refreshImmediately(),f.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}this.id},e.prototype.convertToPixel=function(t,e){return wB(this,"convertToPixel",t,e)},e.prototype.convertFromPixel=function(t,e){return wB(this,"convertFromPixel",t,e)},e.prototype.containPixel=function(t,e){var n;if(!this._disposed)return Ky(HM(this._model,t),(function(t,i){i.indexOf("Models")>=0&&Ky(t,(function(t){var r=t.coordinateSystem;if(r&&r.containPoint)n=n||!!r.containPoint(e);else if("seriesModels"===i){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(n=n||o.containPoint(e,t))}}),this)}),this),!!n;this.id},e.prototype.getVisual=function(t,e){var n=HM(this._model,t,{defaultMainType:"series"}),i=n.seriesModel.getData(),r=n.hasOwnProperty("dataIndexInside")?n.dataIndexInside:n.hasOwnProperty("dataIndex")?i.indexOfRawIndex(n.dataIndex):null;return null!=r?aN(i,r,e):sN(i,e)},e.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},e.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},e.prototype._initEvents=function(){var t,e,n,i=this;Ky(FB,(function(t){var e=function(e){var n,r=i.getModel(),o=e.target;if("globalout"===t?n={}:o&&hN(o,(function(t){var e=fC(t);if(e&&null!=e.dataIndex){var i=e.dataModel||r.getSeriesByIndex(e.seriesIndex);return n=i&&i.getDataParams(e.dataIndex,e.dataType,o)||{},!0}if(e.eventData)return n=jy({},e.eventData),!0}),!0),n){var a=n.componentType,s=n.componentIndex;"markLine"!==a&&"markPoint"!==a&&"markArea"!==a||(a="series",s=n.seriesIndex);var l=a&&null!=s&&r.getComponent(a,s),u=l&&i["series"===l.mainType?"_chartsMap":"_componentsMap"][l.__viewId];n.event=e,n.type=t,i._$eventProcessor.eventInfo={targetEl:o,packedEvent:n,model:l,view:u},i.trigger(t,n)}};e.zrEventfulCallAtLast=!0,i._zr.on(t,e,i)})),Ky(HB,(function(t,e){i._messageCenter.on(e,(function(t){this.trigger(e,t)}),i)})),Ky(["selectchanged"],(function(t){i._messageCenter.on(t,(function(e){this.trigger(t,e)}),i)})),t=this._messageCenter,e=this,n=this._api,t.on("selectchanged",(function(t){var i=n.getModel();t.isFromClick?(cN("map","selectchanged",e,i,t),cN("pie","selectchanged",e,i,t)):"select"===t.fromAction?(cN("map","selected",e,i,t),cN("pie","selected",e,i,t)):"unselect"===t.fromAction&&(cN("map","unselected",e,i,t),cN("pie","unselected",e,i,t))}))},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){this._disposed?this.id:this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)this.id;else{this._disposed=!0,this.getDom()&&XM(this.getDom(),$B,"");var t=this,e=t._api,n=t._model;Ky(t._componentsViews,(function(t){t.dispose(n,e)})),Ky(t._chartsViews,(function(t){t.dispose(n,e)})),t._zr.dispose(),t._dom=t._model=t._chartsMap=t._componentsMap=t._chartsViews=t._componentsViews=t._scheduler=t._api=t._zr=t._throttledZrFlush=t._theme=t._coordSysMgr=t._messageCenter=null,delete qB[t.id]}},e.prototype.resize=function(t){if(!this[cB])if(this._disposed)this.id;else{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[hB]&&(null==i&&(i=this[hB].silent),n=!0,this[hB]=null),this[cB]=!0;try{n&&yB(this),bB.update.call(this,{type:"resize",animation:jy({duration:0},t&&t.animation)})}catch(r){throw this[cB]=!1,r}this[cB]=!1,IB.call(this,i),AB.call(this,i)}}},e.prototype.showLoading=function(t,e){if(this._disposed)this.id;else if(l_(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),XB[t]){var n=XB[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},e.prototype.hideLoading=function(){this._disposed?this.id:(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},e.prototype.makeActionFromEvent=function(t){var e=jy({},t);return e.type=HB[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)this.id;else if(l_(e)||(e={silent:!!e}),GB[t.type]&&this._model)if(this[cB])this._pendingActions.push(t);else{var n=e.silent;MB.call(this,t,n);var i=e.flush;i?this._zr.flush():!1!==i&&xy.browser.weChat&&this._throttledZrFlush(),IB.call(this,n),AB.call(this,n)}},e.prototype.updateLabelLayout=function(){oB.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed)this.id;else{var e=t.seriesIndex;this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},e.internalField=function(){function t(t){t.clearColorPalette(),t.eachSeries((function(t){t.clearColorPalette()}))}function e(t){for(var e=[],n=t.currentStates,i=0;i<n.length;i++){var r=n[i];"emphasis"!==r&&"blur"!==r&&"select"!==r&&e.push(r)}t.selected&&t.states.select&&e.push("select"),t.hoverState===wC&&t.states.emphasis?e.push("emphasis"):t.hoverState===bC&&t.states.blur&&e.push("blur"),t.useStates(e)}function n(t,e){if(!t.preventAutoZ){var n=t.get("z")||0,r=t.get("zlevel")||0;e.eachRendered((function(t){return i(t,n,r,-1/0),!0}))}}function i(t,e,n,r){var o=t.getTextContent(),a=t.getTextGuideLine();if(t.isGroup)for(var s=t.childrenRef(),l=0;l<s.length;l++)r=Math.max(i(s[l],e,n,r),r);else t.z=e,t.zlevel=n,r=Math.max(t.z2,r);if(o&&(o.z=e,o.zlevel=n,isFinite(r)&&(o.z2=r+2)),a){var u=t.textGuideLineConfig;a.z=e,a.zlevel=n,isFinite(r)&&(a.z2=r+(u&&u.showAbove?1:-1))}return r}function r(t,e){e.eachRendered((function(t){if(!XD(t)){var e=t.getTextContent(),n=t.getTextGuideLine();t.stateTransition&&(t.stateTransition=null),e&&e.stateTransition&&(e.stateTransition=null),n&&n.stateTransition&&(n.stateTransition=null),t.hasState()?(t.prevStates=t.currentStates,t.clearStates()):t.prevStates&&(t.prevStates=null)}}))}function o(t,n){var i=t.getModel("stateAnimation"),r=t.isAnimationEnabled(),o=i.get("duration"),a=o>0?{duration:o,delay:i.get("delay"),easing:i.get("easing")}:null;n.eachRendered((function(t){if(t.states&&t.states.emphasis){if(XD(t))return;if(t instanceof NA&&function(t){var e=yC(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var n=t.states.select||{};e.selectFill=n.style&&n.style.fill||null,e.selectStroke=n.style&&n.style.stroke||null}(t),t.__dirty){var n=t.prevStates;n&&t.useStates(n)}if(r){t.stateTransition=a;var i=t.getTextContent(),o=t.getTextGuideLine();i&&(i.stateTransition=a),o&&(o.stateTransition=a)}t.__dirty&&e(t)}}))}yB=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),_B(t,!0),_B(t,!1),e.plan()},_B=function(t,e){for(var n=t._model,i=t._scheduler,r=e?t._componentsViews:t._chartsViews,o=e?t._componentsMap:t._chartsMap,a=t._zr,s=t._api,l=0;l<r.length;l++)r[l].__alive=!1;function u(t){var l=t.__requireNewView;t.__requireNewView=!1;var u="_ec_"+t.id+"_"+t.type,c=!l&&o[u];if(!c){var h=QM(t.type);(c=new(e?rR.getClass(h.main,h.sub):fR.getClass(h.sub))).init(n,s),o[u]=c,r.push(c),a.add(c.group)}t.__viewId=c.__id=u,c.__alive=!0,c.__model=t,c.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},!e&&i.prepareView(c,t,n,s)}e?n.eachComponent((function(t,e){"series"!==t&&u(e)})):n.eachSeries(u);for(l=0;l<r.length;){var c=r[l];c.__alive?l++:(!e&&c.renderTask.dispose(),a.remove(c.group),c.dispose(n,s),r.splice(l,1),o[c.__id]===c&&delete o[c.__id],c.__id=c.group.__ecComponentInfo=null)}},xB=function(t,e,n,i,r){var o=t._model;if(o.setUpdatePayload(n),i){var a={};a[i+"Id"]=n[i+"Id"],a[i+"Index"]=n[i+"Index"],a[i+"Name"]=n[i+"Name"];var s={mainType:i,query:a};r&&(s.subType=r);var l,u=n.excludeSeriesId;null!=u&&(l=C_(),Ky(TM(u),(function(t){var e=NM(t,null);null!=e&&l.set(e,!0)}))),o&&o.eachComponent(s,(function(e){if(!(l&&null!=l.get(e.id)))if(mT(n))if(e instanceof nR)n.type!==CC||n.notBlur||e.get(["emphasis","disabled"])||function(t,e,n){var i=t.seriesIndex,r=t.getData(e.dataType);if(r){var o=VM(r,e);o=(i_(o)?o[0]:o)||0;var a=r.getItemGraphicEl(o);if(!a)for(var s=r.count(),l=0;!a&&l<s;)a=r.getItemGraphicEl(l++);if(a){var u=fC(a);iT(i,u.focus,u.blurScope,n)}else{var c=t.get(["emphasis","focus"]),h=t.get(["emphasis","blurScope"]);null!=c&&iT(i,c,h,n)}}}(e,n,t._api);else{var i=oT(e.mainType,e.componentIndex,n.name,t._api),r=i.focusSelf,o=i.dispatchers;n.type===CC&&r&&!n.notBlur&&rT(e.mainType,e.componentIndex,t._api),o&&Ky(o,(function(t){n.type===CC?ZC(t):KC(t)}))}else vT(n)&&e instanceof nR&&(!function(t,e,n){if(vT(e)){var i=e.dataType,r=VM(t.getData(i),e);i_(r)||(r=[r]),t[e.type===LC?"toggleSelect":e.type===DC?"select":"unselect"](r,i)}}(e,n,t._api),aT(e),EB(t))}),t),o&&o.eachComponent(s,(function(e){l&&null!=l.get(e.id)||c(t["series"===i?"_chartsMap":"_componentsMap"][e.__viewId])}),t)}else Ky([].concat(t._componentsViews).concat(t._chartsViews),c);function c(i){i&&i.__alive&&i[e]&&i[e](i.__model,o,t._api,n)}},bB={prepareAndUpdate:function(t){yB(this),bB.update.call(this,t,{optionChanged:null!=t.newOption})},update:function(e,n){var i=this._model,r=this._api,o=this._zr,a=this._coordSysMgr,s=this._scheduler;if(i){i.setUpdatePayload(e),s.restoreData(i,e),s.performSeriesTasks(i),a.create(i,r),s.performDataProcessorTasks(i,e),SB(this,i),a.update(i,r),t(i),s.performVisualTasks(i,e),DB(this,i,r,e,n);var l=i.get("backgroundColor")||"transparent",u=i.get("darkMode");o.setBackgroundColor(l),null!=u&&"auto"!==u&&o.setDarkMode(u),oB.trigger("afterupdate",i,r)}},updateTransform:function(e){var n=this,i=this._model,r=this._api;if(i){i.setUpdatePayload(e);var o=[];i.eachComponent((function(t,a){if("series"!==t){var s=n.getViewOfComponentModel(a);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(a,i,r,e);l&&l.update&&o.push(s)}else o.push(s)}}));var a=C_();i.eachSeries((function(t){var o=n._chartsMap[t.__viewId];if(o.updateTransform){var s=o.updateTransform(t,i,r,e);s&&s.update&&a.set(t.uid,1)}else a.set(t.uid,1)})),t(i),this._scheduler.performVisualTasks(i,e,{setDirty:!0,dirtyMap:a}),LB(this,i,r,e,{},a),oB.trigger("afterupdate",i,r)}},updateView:function(e){var n=this._model;n&&(n.setUpdatePayload(e),fR.markUpdateMethod(e,"updateView"),t(n),this._scheduler.performVisualTasks(n,e,{setDirty:!0}),DB(this,n,this._api,e,{}),oB.trigger("afterupdate",n,this._api))},updateVisual:function(e){var n=this,i=this._model;i&&(i.setUpdatePayload(e),i.eachSeries((function(t){t.getData().clearAllVisual()})),fR.markUpdateMethod(e,"updateVisual"),t(i),this._scheduler.performVisualTasks(i,e,{visualType:"visual",setDirty:!0}),i.eachComponent((function(t,r){if("series"!==t){var o=n.getViewOfComponentModel(r);o&&o.__alive&&o.updateVisual(r,i,n._api,e)}})),i.eachSeries((function(t){n._chartsMap[t.__viewId].updateVisual(t,i,n._api,e)})),oB.trigger("afterupdate",i,this._api))},updateLayout:function(t){bB.update.call(this,t)}},wB=function(t,e,n,i){if(t._disposed)t.id;else for(var r,o=t._model,a=t._coordSysMgr.getCoordinateSystems(),s=HM(o,n),l=0;l<a.length;l++){var u=a[l];if(u[e]&&null!=(r=u[e](o,s,i)))return r}},SB=function(t,e){var n=t._chartsMap,i=t._scheduler;e.eachSeries((function(t){i.updateStreamModes(t,n[t.__viewId])}))},MB=function(t,e){var n=this,i=this.getModel(),r=t.type,o=t.escapeConnect,a=GB[r],s=a.actionInfo,l=(s.update||"update").split(":"),u=l.pop(),c=null!=l[0]&&QM(l[0]);this[cB]=!0;var h=[t],d=!1;t.batch&&(d=!0,h=$y(t.batch,(function(e){return(e=Yy(jy({},e),t)).batch=null,e})));var p,f=[],g=vT(t),v=mT(t);if(v&&nT(this._api),Ky(h,(function(e){if((p=(p=a.action(e,n._model,n._api))||jy({},e)).type=s.event||p.type,f.push(p),v){var i=WM(t),r=i.queryOptionMap,o=i.mainTypeSpecified?r.keys()[0]:"series";xB(n,u,e,o),EB(n)}else g?(xB(n,u,e,"series"),EB(n)):c&&xB(n,u,e,c.main,c.sub)})),"none"!==u&&!v&&!g&&!c)try{this[hB]?(yB(this),bB.update.call(this,t),this[hB]=null):bB[u].call(this,t)}catch(_){throw this[cB]=!1,_}if(p=d?{type:s.event||r,escapeConnect:o,batch:f}:f[0],this[cB]=!1,!e){var m=this._messageCenter;if(m.trigger(p.type,p),g){var y={type:"selectchanged",escapeConnect:o,selected:sT(i),isFromClick:t.isFromClick||!1,fromAction:t.type,fromActionPayload:t};m.trigger(y.type,y)}}},IB=function(t){for(var e=this._pendingActions;e.length;){var n=e.shift();MB.call(this,n,t)}},AB=function(t){!t&&this.trigger("updated")},CB=function(t,e){t.on("rendered",(function(n){e.trigger("rendered",n),!t.animation.isFinished()||e[hB]||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")}))},TB=function(t,e){t.on("mouseover",(function(t){var n=hN(t.target,gT);n&&(!function(t,e,n){var i=fC(t),r=oT(i.componentMainType,i.componentIndex,i.componentHighDownName,n),o=r.dispatchers,a=r.focusSelf;o?(a&&rT(i.componentMainType,i.componentIndex,n),Ky(o,(function(t){return XC(t,e)}))):(iT(i.seriesIndex,i.focus,i.blurScope,n),"self"===i.focus&&rT(i.componentMainType,i.componentIndex,n),XC(t,e))}(n,t,e._api),EB(e))})).on("mouseout",(function(t){var n=hN(t.target,gT);n&&(!function(t,e,n){nT(n);var i=fC(t),r=oT(i.componentMainType,i.componentIndex,i.componentHighDownName,n).dispatchers;r?Ky(r,(function(t){return qC(t,e)})):qC(t,e)}(n,t,e._api),EB(e))})).on("click",(function(t){var n=hN(t.target,(function(t){return null!=fC(t).dataIndex}),!0);if(n){var i=n.selected?"unselect":"select",r=fC(n);e._api.dispatchAction({type:i,dataType:r.dataType,dataIndexInside:r.dataIndex,seriesIndex:r.seriesIndex,isFromClick:!0})}}))},DB=function(t,e,n,i,r){!function(t){var e=[],n=[],i=!1;if(t.eachComponent((function(t,r){var o=r.get("zlevel")||0,a=r.get("z")||0,s=r.getZLevelKey();i=i||!!s,("series"===t?n:e).push({zlevel:o,z:a,idx:r.componentIndex,type:t,key:s})})),i){var r,o,a=e.concat(n);sb(a,(function(t,e){return t.zlevel===e.zlevel?t.z-e.z:t.zlevel-e.zlevel})),Ky(a,(function(e){var n=t.getComponent(e.type,e.idx),i=e.zlevel,a=e.key;null!=r&&(i=Math.max(r,i)),a?(i===r&&a!==o&&i++,o=a):o&&(i===r&&i++,o=""),r=i,n.setZLevel(i)}))}}(e),kB(t,e,n,i,r),Ky(t._chartsViews,(function(t){t.__alive=!1})),LB(t,e,n,i,r),Ky(t._chartsViews,(function(t){t.__alive||t.remove(e,n)}))},kB=function(t,e,i,a,s,l){Ky(l||t._componentsViews,(function(t){var s=t.__model;r(s,t),t.render(s,e,i,a),n(s,t),o(s,t)}))},LB=function(t,e,i,a,s,l){var u=t._scheduler;s=jy(s||{},{updatedSeries:e.getSeries()}),oB.trigger("series:beforeupdate",e,i,s);var c=!1;e.eachSeries((function(e){var n=t._chartsMap[e.__viewId];n.__alive=!0;var i=n.renderTask;u.updatePayload(i,a),r(e,n),l&&l.get(e.uid)&&i.dirty(),i.perform(u.getPerformArgs(i))&&(c=!0),n.group.silent=!!e.get("silent"),function(t,e){var n=t.get("blendMode")||null;e.eachRendered((function(t){t.isGroup||(t.style.blend=n)}))}(e,n),aT(e)})),u.unfinished=c||u.unfinished,oB.trigger("series:layoutlabels",e,i,s),oB.trigger("series:transition",e,i,s),e.eachSeries((function(e){var i=t._chartsMap[e.__viewId];n(e,i),o(e,i)})),function(t,e){var n=t._zr,i=n.storage,r=0;i.traverse((function(t){t.isGroup||r++})),r>e.get("hoverLayerThreshold")&&!xy.node&&!xy.worker&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.eachRendered((function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)}))}}))}(t,e),oB.trigger("series:afterupdate",e,i,s)},EB=function(t){t[dB]=!0,t.getZr().wakeUp()},RB=function(t){t[dB]&&(t.getZr().storage.traverse((function(t){XD(t)||e(t)})),t[dB]=!1)},PB=function(t){return new(function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return my(n,e),n.prototype.getCoordinateSystems=function(){return t._coordSysMgr.getCoordinateSystems()},n.prototype.getComponentByElement=function(e){for(;e;){var n=e.__ecComponentInfo;if(null!=n)return t._model.getComponent(n.mainType,n.index);e=e.parent}},n.prototype.enterEmphasis=function(e,n){ZC(e,n),EB(t)},n.prototype.leaveEmphasis=function(e,n){KC(e,n),EB(t)},n.prototype.enterBlur=function(e){$C(e),EB(t)},n.prototype.leaveBlur=function(e){JC(e),EB(t)},n.prototype.enterSelect=function(e){QC(e),EB(t)},n.prototype.leaveSelect=function(e){tT(e),EB(t)},n.prototype.getModel=function(){return t.getModel()},n.prototype.getViewOfComponentModel=function(e){return t.getViewOfComponentModel(e)},n.prototype.getViewOfSeriesModel=function(e){return t.getViewOfSeriesModel(e)},n}(YP))(t)},OB=function(t){function e(t,e){for(var n=0;n<t.length;n++){t[n][fB]=e}}Ky(HB,(function(n,i){t._messageCenter.on(i,(function(n){if(ZB[t.group]&&0!==t[fB]){if(n&&n.escapeConnect)return;var i=t.makeActionFromEvent(n),r=[];Ky(qB,(function(e){e!==t&&e.group===t.group&&r.push(e)})),e(r,0),Ky(r,(function(t){1!==t[fB]&&t.dispatchAction(i)})),e(r,2)}}))}))}}(),e}(Q_),VB=zB.prototype;VB.on=gB("on"),VB.off=gB("off"),VB.one=function(t,e,n){var i=this;this.on.call(this,t,(function n(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];e&&e.apply&&e.apply(this,r),i.off(t,n)}),n)};var FB=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];var GB={},HB={},WB=[],UB=[],jB=[],YB={},XB={},qB={},ZB={},KB=+new Date-0,$B="_echarts_instance_";function JB(t,e,n){var i=!(n&&n.ssr);if(i){var r=function(t){return qB[function(t,e){return t.getAttribute?t.getAttribute(e):t[e]}(t,$B)]}(t);if(r)return r}var o=new zB(t,e,n);return o.id="ec_"+KB++,qB[o.id]=o,i&&XM(t,$B,o.id),OB(o),oB.trigger("afterinit",o),o}function QB(t,e){YB[t]=e}function tz(t){Xy(UB,t)<0&&UB.push(t)}function ez(t,e){az(WB,t,e,2e3)}function nz(t,e){oB.on(t,e)}function iz(t,e,n){r_(e)&&(n=e,e="");var i=l_(t)?t.type:[t,t={event:e}][0];t.event=(t.event||i).toLowerCase(),e=t.event,HB[e]||(__(pB.test(i)&&pB.test(e)),GB[i]||(GB[i]={action:n,actionInfo:t}),HB[e]=i)}function rz(t,e){az(jB,t,e,3e3,"visual")}var oz=[];function az(t,e,n,i,r){if((r_(e)||l_(e))&&(n=e,e=i),!(Xy(oz,n)>=0)){oz.push(n);var o=YR.wrapStageHandler(n,r);o.__prio=e,o.__raw=n,t.push(o)}}function sz(t,e){XB[t]=e}var lz=function(t){var e=(t=Hy(t)).type;e||MM("");var n=e.split(":");2!==n.length&&MM("");var i=!1;"echarts"===n[0]&&(e=n[1],i=!0),t.__isBuiltIn=i,hE.set(e,t)};rz(sB,AR),rz(lB,TR),rz(lB,DR),rz(sB,rN),rz(lB,oN),rz(7e3,(function(t,e){t.eachRawSeries((function(n){if(!t.isSeriesFiltered(n)){var i=n.getData();i.hasItemVisual()&&i.each((function(t){var n=i.getItemVisual(t,"decal");n&&(i.ensureUniqueItemVisual(t,"style").decal=eB(n,e))}));var r=i.getVisual("decal");if(r)i.getVisual("style").decal=eB(r,e)}}))})),tz(_O),ez(900,(function(t){var e=C_();t.eachSeries((function(t){var n=t.get("stack");if(n){var i=e.get(n)||e.set(n,[]),r=t.getData(),o={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(!o.stackedDimension||!o.isStackedByIndex&&!o.stackedByDimension)return;i.length&&r.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(o)}})),e.each(xO)})),sz("default",(function(t,e){Yy(e=e||{},{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new KS,i=new $A({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(i);var r,o=new pC({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),a=new $A({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return n.add(a),e.showSpinner&&((r=new CD({shape:{startAngle:-kR/2,endAngle:-kR/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*kR/2}).start("circularInOut"),r.animateShape(!0).when(1e3,{startAngle:3*kR/2}).delay(300).start("circularInOut"),n.add(r)),n.resize=function(){var n=o.getBoundingRect().width,s=e.showSpinner?e.spinnerRadius:0,l=(t.getWidth()-2*s-(e.showSpinner&&n?10:0)-n)/2-(e.showSpinner&&n?0:5+n/2)+(e.showSpinner?0:n/2)+(n?0:s),u=t.getHeight()/2;e.showSpinner&&r.setShape({cx:l,cy:u}),a.setShape({x:l-s,y:u-s,width:2*s,height:2*s}),i.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},n.resize(),n})),iz({type:CC,event:CC,update:CC},P_),iz({type:TC,event:TC,update:TC},P_),iz({type:DC,event:DC,update:DC},P_),iz({type:kC,event:kC,update:kC},P_),iz({type:LC,event:LC,update:LC},P_),QB("light",qR),QB("dark",tN);var uz=[],cz={registerPreprocessor:tz,registerProcessor:ez,registerPostInit:function(t){nz("afterinit",t)},registerPostUpdate:function(t){nz("afterupdate",t)},registerUpdateLifecycle:nz,registerAction:iz,registerCoordinateSystem:function(t,e){ZP.register(t,e)},registerLayout:function(t,e){az(jB,t,e,1e3,"layout")},registerVisual:rz,registerTransform:lz,registerLoading:sz,registerMap:function(t,e,n){var i=function(t){return aB[t]}("registerMap");i&&i(t,e,n)},registerImpl:function(t,e){aB[t]=e},PRIORITY:uB,ComponentModel:cP,ComponentView:rR,SeriesModel:nR,ChartView:fR,registerComponentModel:function(t){cP.registerClass(t)},registerComponentView:function(t){rR.registerClass(t)},registerSeriesModel:function(t){nR.registerClass(t)},registerChartView:function(t){fR.registerClass(t)},registerSubTypeDefaulter:function(t,e){cP.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){!function(t,e){$S[t]=e}(t,e)}};function hz(t){i_(t)?Ky(t,(function(t){hz(t)})):Xy(uz,t)>=0||(uz.push(t),r_(t)&&(t={install:t}),t.install(cz))}function dz(t){return null==t?0:t.length||1}function pz(t){return t}var fz=function(){function t(t,e,n,i,r,o){this._old=t,this._new=e,this._oldKeyGetter=n||pz,this._newKeyGetter=i||pz,this.context=r,this._diffModeMultiple="multiple"===o}return t.prototype.add=function(t){return this._add=t,this},t.prototype.update=function(t){return this._update=t,this},t.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},t.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},t.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},t.prototype.remove=function(t){return this._remove=t,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var t=this._old,e=this._new,n={},i=new Array(t.length),r=new Array(e.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(e,n,r,"_newKeyGetter");for(var o=0;o<t.length;o++){var a=i[o],s=n[a],l=dz(s);if(l>1){var u=s.shift();1===s.length&&(n[a]=s[0]),this._update&&this._update(u,o)}else 1===l?(n[a]=null,this._update&&this._update(s,o)):this._remove&&this._remove(o)}this._performRestAdd(r,n)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},i={},r=[],o=[];this._initIndexMap(t,n,r,"_oldKeyGetter"),this._initIndexMap(e,i,o,"_newKeyGetter");for(var a=0;a<r.length;a++){var s=r[a],l=n[s],u=i[s],c=dz(l),h=dz(u);if(c>1&&1===h)this._updateManyToOne&&this._updateManyToOne(u,l),i[s]=null;else if(1===c&&h>1)this._updateOneToMany&&this._updateOneToMany(u,l),i[s]=null;else if(1===c&&1===h)this._update&&this._update(u,l),i[s]=null;else if(c>1&&h>1)this._updateManyToMany&&this._updateManyToMany(u,l),i[s]=null;else if(c>1)for(var d=0;d<c;d++)this._remove&&this._remove(l[d]);else this._remove&&this._remove(l)}this._performRestAdd(o,i)},t.prototype._performRestAdd=function(t,e){for(var n=0;n<t.length;n++){var i=t[n],r=e[i],o=dz(r);if(o>1)for(var a=0;a<o;a++)this._add&&this._add(r[a]);else 1===o&&this._add&&this._add(r);e[i]=null}},t.prototype._initIndexMap=function(t,e,n,i){for(var r=this._diffModeMultiple,o=0;o<t.length;o++){var a="_ec_"+this[i](t[o],o);if(r||(n[o]=a),e){var s=e[a],l=dz(s);0===l?(e[a]=o,r&&n.push(a)):1===l?e[a]=[s,o]:s.push(o)}}},t}();const gz=fz;var vz=function(){function t(t,e){this._encode=t,this._schema=e}return t.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},t.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},t}();function mz(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function yz(t){return"category"===t?"ordinal":"time"===t?"time":"float"}const _z=function(t){this.otherDims={},null!=t&&jy(this,t)};var xz=FM(),bz={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},wz=function(){function t(t){this.dimensions=t.dimensions,this._dimOmitted=t.dimensionOmitted,this.source=t.source,this._fullDimCount=t.fullDimensionCount,this._updateDimOmitted(t.dimensionOmitted)}return t.prototype.isDimensionOmitted=function(){return this._dimOmitted},t.prototype._updateDimOmitted=function(t){this._dimOmitted=t,t&&(this._dimNameMap||(this._dimNameMap=Iz(this.source)))},t.prototype.getSourceDimensionIndex=function(t){return g_(this._dimNameMap.get(t),-1)},t.prototype.getSourceDimension=function(t){var e=this.source.dimensionsDefine;if(e)return e[t]},t.prototype.makeStoreSchema=function(){for(var t=this._fullDimCount,e=OO(this.source),n=!Az(t),i="",r=[],o=0,a=0;o<t;o++){var s=void 0,l=void 0,u=void 0,c=this.dimensions[a];if(c&&c.storeDimIndex===o)s=e?c.name:null,l=c.type,u=c.ordinalMeta,a++;else{var h=this.getSourceDimension(o);h&&(s=e?h.name:null,l=h.type)}r.push({property:s,type:l,ordinalMeta:u}),!e||null==s||c&&c.isCalculationCoord||(i+=n?s.replace(/\`/g,"`1").replace(/\$/g,"`2"):s),i+="$",i+=bz[l]||"f",u&&(i+=u.uid),i+="$"}var d=this.source;return{dimensions:r,hash:[d.seriesLayoutBy,d.startIndex,i].join("$$")}},t.prototype.makeOutputDimensionNames=function(){for(var t=[],e=0,n=0;e<this._fullDimCount;e++){var i=void 0,r=this.dimensions[n];if(r&&r.storeDimIndex===e)r.isCalculationCoord||(i=r.name),n++;else{var o=this.getSourceDimension(e);o&&(i=o.name)}t.push(i)}return t},t.prototype.appendCalculationDimension=function(t){this.dimensions.push(t),t.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},t}();function Sz(t){return t instanceof wz}function Mz(t){for(var e=C_(),n=0;n<(t||[]).length;n++){var i=t[n],r=l_(i)?i.name:i;null!=r&&null==e.get(r)&&e.set(r,n)}return e}function Iz(t){var e=xz(t);return e.dimNameMap||(e.dimNameMap=Mz(t.dimensionsDefine))}function Az(t){return t>30}var Cz,Tz,Dz,kz,Lz,Pz,Oz,Ez=l_,Rz=$y,Nz="undefined"==typeof Int32Array?Array:Int32Array,Bz=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],zz=["_approximateExtent"],Vz=function(){function t(t,e){var n;this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var i=!1;Sz(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,n=t),n=n||["x","y"];for(var r={},o=[],a={},s=!1,l={},u=0;u<n.length;u++){var c=n[u],h=o_(c)?new _z({name:c}):c instanceof _z?c:new _z(c),d=h.name;h.type=h.type||"float",h.coordDim||(h.coordDim=d,h.coordDimIndex=0);var p=h.otherDims=h.otherDims||{};o.push(d),r[d]=h,null!=l[d]&&(s=!0),h.createInvertedIndices&&(a[d]=[]),0===p.itemName&&(this._nameDimIdx=u),0===p.itemId&&(this._idDimIdx=u),i&&(h.storeDimIndex=u)}if(this.dimensions=o,this._dimInfos=r,this._initGetDimensionInfo(s),this.hostModel=e,this._invertedIndicesMap=a,this._dimOmitted){var f=this._dimIdxToName=C_();Ky(o,(function(t){f.set(r[t].storeDimIndex,t)}))}}return t.prototype.getDimension=function(t){var e=this._recognizeDimIndex(t);if(null==e)return t;if(e=t,!this._dimOmitted)return this.dimensions[e];var n=this._dimIdxToName.get(e);if(null!=n)return n;var i=this._schema.getSourceDimension(e);return i?i.name:void 0},t.prototype.getDimensionIndex=function(t){var e=this._recognizeDimIndex(t);if(null!=e)return e;if(null==t)return-1;var n=this._getDimInfo(t);return n?n.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(t):-1},t.prototype._recognizeDimIndex=function(t){if(s_(t)||null!=t&&!isNaN(t)&&!this._getDimInfo(t)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(t)<0))return+t},t.prototype._getStoreDimIndex=function(t){return this.getDimensionIndex(t)},t.prototype.getDimensionInfo=function(t){return this._getDimInfo(this.getDimension(t))},t.prototype._initGetDimensionInfo=function(t){var e=this._dimInfos;this._getDimInfo=t?function(t){return e.hasOwnProperty(t)?e[t]:void 0}:function(t){return e[t]}},t.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},t.prototype.mapDimension=function(t,e){var n=this._dimSummary;if(null==e)return n.encodeFirstDimNotExtra[t];var i=n.encode[t];return i?i[e]:null},t.prototype.mapDimensionsAll=function(t){return(this._dimSummary.encode[t]||[]).slice()},t.prototype.getStore=function(){return this._store},t.prototype.initData=function(t,e,n){var i,r=this;if(t instanceof SE&&(i=t),!i){var o=this.dimensions,a=CO(t)||Zy(t)?new EO(t,o.length):t;i=new SE;var s=Rz(o,(function(t){return{type:r._dimInfos[t].type,property:t}}));i.initData(a,s,n)}this._store=i,this._nameList=(e||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,i.count()),this._dimSummary=function(t,e){var n={},i=n.encode={},r=C_(),o=[],a=[],s={};Ky(t.dimensions,(function(e){var n,l=t.getDimensionInfo(e),u=l.coordDim;if(u){var c=l.coordDimIndex;mz(i,u)[c]=e,l.isExtraCoord||(r.set(u,1),"ordinal"!==(n=l.type)&&"time"!==n&&(o[0]=e),mz(s,u)[c]=t.getDimensionIndex(l.name)),l.defaultTooltip&&a.push(e)}fP.each((function(t,e){var n=mz(i,e),r=l.otherDims[e];null!=r&&!1!==r&&(n[r]=l.name)}))}));var l=[],u={};r.each((function(t,e){var n=i[e];u[e]=n[0],l=l.concat(n)})),n.dataDimsOnCoord=l,n.dataDimIndicesOnCoord=$y(l,(function(e){return t.getDimensionInfo(e).storeDimIndex})),n.encodeFirstDimNotExtra=u;var c=i.label;c&&c.length&&(o=c.slice());var h=i.tooltip;return h&&h.length?a=h.slice():a.length||(a=o.slice()),i.defaultedLabel=o,i.defaultedTooltip=a,n.userOutput=new vz(s,e),n}(this,this._schema),this.userOutput=this._dimSummary.userOutput},t.prototype.appendData=function(t){var e=this._store.appendData(t);this._doInit(e[0],e[1])},t.prototype.appendValues=function(t,e){var n=this._store.appendValues(t,e.length),i=n.start,r=n.end,o=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),e)for(var a=i;a<r;a++){var s=a-i;this._nameList[a]=e[s],o&&Oz(this,a)}},t.prototype._updateOrdinalMeta=function(){for(var t=this._store,e=this.dimensions,n=0;n<e.length;n++){var i=this._dimInfos[e[n]];i.ordinalMeta&&t.collectOrdinalMeta(i.storeDimIndex,i.ordinalMeta)}},t.prototype._shouldMakeIdFromName=function(){var t=this._store.getProvider();return null==this._idDimIdx&&t.getSource().sourceFormat!==_P&&!t.fillStorage},t.prototype._doInit=function(t,e){if(!(t>=e)){var n=this._store.getProvider();this._updateOrdinalMeta();var i=this._nameList,r=this._idList;if(n.getSource().sourceFormat===gP&&!n.pure)for(var o=[],a=t;a<e;a++){var s=n.getItem(a,o);if(!this.hasItemOption&&PM(s)&&(this.hasItemOption=!0),s){var l=s.name;null==i[a]&&null!=l&&(i[a]=NM(l,null));var u=s.id;null==r[a]&&null!=u&&(r[a]=NM(u,null))}}if(this._shouldMakeIdFromName())for(a=t;a<e;a++)Oz(this,a);Cz(this)}},t.prototype.getApproximateExtent=function(t){return this._approximateExtent[t]||this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},t.prototype.getCalculationInfo=function(t){return this._calculationInfo[t]},t.prototype.setCalculationInfo=function(t,e){Ez(t)?jy(this._calculationInfo,t):this._calculationInfo[t]=e},t.prototype.getName=function(t){var e=this.getRawIndex(t),n=this._nameList[e];return null==n&&null!=this._nameDimIdx&&(n=Dz(this,this._nameDimIdx,e)),null==n&&(n=""),n},t.prototype._getCategory=function(t,e){var n=this._store.get(t,e),i=this._store.getOrdinalMeta(t);return i?i.categories[n]:n},t.prototype.getId=function(t){return Tz(this,this.getRawIndex(t))},t.prototype.count=function(){return this._store.count()},t.prototype.get=function(t,e){var n=this._store,i=this._dimInfos[t];if(i)return n.get(i.storeDimIndex,e)},t.prototype.getByRawIndex=function(t,e){var n=this._store,i=this._dimInfos[t];if(i)return n.getByRawIndex(i.storeDimIndex,e)},t.prototype.getIndices=function(){return this._store.getIndices()},t.prototype.getDataExtent=function(t){return this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.getSum=function(t){return this._store.getSum(this._getStoreDimIndex(t))},t.prototype.getMedian=function(t){return this._store.getMedian(this._getStoreDimIndex(t))},t.prototype.getValues=function(t,e){var n=this,i=this._store;return i_(t)?i.getValues(Rz(t,(function(t){return n._getStoreDimIndex(t)})),e):i.getValues(t)},t.prototype.hasValue=function(t){for(var e=this._dimSummary.dataDimIndicesOnCoord,n=0,i=e.length;n<i;n++)if(isNaN(this._store.get(e[n],t)))return!1;return!0},t.prototype.indexOfName=function(t){for(var e=0,n=this._store.count();e<n;e++)if(this.getName(e)===t)return e;return-1},t.prototype.getRawIndex=function(t){return this._store.getRawIndex(t)},t.prototype.indexOfRawIndex=function(t){return this._store.indexOfRawIndex(t)},t.prototype.rawIndexOf=function(t,e){var n=(t&&this._invertedIndicesMap[t])[e];return null==n||isNaN(n)?-1:n},t.prototype.indicesOfNearest=function(t,e,n){return this._store.indicesOfNearest(this._getStoreDimIndex(t),e,n)},t.prototype.each=function(t,e,n){r_(t)&&(n=e,e=t,t=[]);var i=n||this,r=Rz(kz(t),this._getStoreDimIndex,this);this._store.each(r,i?e_(e,i):e)},t.prototype.filterSelf=function(t,e,n){r_(t)&&(n=e,e=t,t=[]);var i=n||this,r=Rz(kz(t),this._getStoreDimIndex,this);return this._store=this._store.filter(r,i?e_(e,i):e),this},t.prototype.selectRange=function(t){var e=this,n={};return Ky(t_(t),(function(i){var r=e._getStoreDimIndex(i);n[r]=t[i]})),this._store=this._store.selectRange(n),this},t.prototype.mapArray=function(t,e,n){r_(t)&&(n=e,e=t,t=[]),n=n||this;var i=[];return this.each(t,(function(){i.push(e&&e.apply(this,arguments))}),n),i},t.prototype.map=function(t,e,n,i){var r=n||i||this,o=Rz(kz(t),this._getStoreDimIndex,this),a=Pz(this);return a._store=this._store.map(o,r?e_(e,r):e),a},t.prototype.modify=function(t,e,n,i){var r=n||i||this,o=Rz(kz(t),this._getStoreDimIndex,this);this._store.modify(o,r?e_(e,r):e)},t.prototype.downSample=function(t,e,n,i){var r=Pz(this);return r._store=this._store.downSample(this._getStoreDimIndex(t),e,n,i),r},t.prototype.lttbDownSample=function(t,e){var n=Pz(this);return n._store=this._store.lttbDownSample(this._getStoreDimIndex(t),e),n},t.prototype.getRawDataItem=function(t){return this._store.getRawDataItem(t)},t.prototype.getItemModel=function(t){var e=this.hostModel,n=this.getRawDataItem(t);return new tL(n,e,e&&e.ecModel)},t.prototype.diff=function(t){var e=this;return new gz(t?t.getStore().getIndices():[],this.getStore().getIndices(),(function(e){return Tz(t,e)}),(function(t){return Tz(e,t)}))},t.prototype.getVisual=function(t){var e=this._visual;return e&&e[t]},t.prototype.setVisual=function(t,e){this._visual=this._visual||{},Ez(t)?jy(this._visual,t):this._visual[t]=e},t.prototype.getItemVisual=function(t,e){var n=this._itemVisuals[t],i=n&&n[e];return null==i?this.getVisual(e):i},t.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,i=n[t];i||(i=n[t]={});var r=i[e];return null==r&&(i_(r=this.getVisual(e))?r=r.slice():Ez(r)&&(r=jy({},r)),i[e]=r),r},t.prototype.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,Ez(e)?jy(i,e):i[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){Ez(t)?jy(this._layout,t):this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?jy(this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel&&this.hostModel.seriesIndex;gC(n,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){Ky(this._graphicEls,(function(n,i){n&&t&&t.call(e,n,i)}))},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:Rz(this.dimensions,this._getDimInfo,this),this.hostModel)),Lz(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];r_(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(m_(arguments)))})},t.internalField=(Cz=function(t){var e=t._invertedIndicesMap;Ky(e,(function(n,i){var r=t._dimInfos[i],o=r.ordinalMeta,a=t._store;if(o){n=e[i]=new Nz(o.categories.length);for(var s=0;s<n.length;s++)n[s]=-1;for(s=0;s<a.count();s++)n[a.get(r.storeDimIndex,s)]=s}}))},Dz=function(t,e,n){return NM(t._getCategory(e,n),null)},Tz=function(t,e){var n=t._idList[e];return null==n&&null!=t._idDimIdx&&(n=Dz(t,t._idDimIdx,e)),null==n&&(n="e\0\0"+e),n},kz=function(t){return i_(t)||(t=null!=t?[t]:[]),t},Pz=function(e){var n=new t(e._schema?e._schema:Rz(e.dimensions,e._getDimInfo,e),e.hostModel);return Lz(n,e),n},Lz=function(t,e){Ky(Bz.concat(e.__wrappedMethods||[]),(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t.__wrappedMethods=e.__wrappedMethods,Ky(zz,(function(n){t[n]=Hy(e[n])})),t._calculationInfo=jy({},e._calculationInfo)},void(Oz=function(t,e){var n=t._nameList,i=t._idList,r=t._nameDimIdx,o=t._idDimIdx,a=n[e],s=i[e];if(null==a&&null!=r&&(n[e]=a=Dz(t,r,e)),null==s&&null!=o&&(i[e]=s=Dz(t,o,e)),null==s&&null!=a){var l=t._nameRepeatCount,u=l[a]=(l[a]||0)+1;s=a,u>1&&(s+="__ec__"+u),i[e]=s}})),t}();const Fz=Vz;function Gz(t,e){CO(t)||(t=DO(t));var n=(e=e||{}).coordDimensions||[],i=e.dimensionsDefine||t.dimensionsDefine||[],r=C_(),o=[],a=function(t,e,n,i){var r=Math.max(t.dimensionsDetectedCount||1,e.length,n.length,i||0);return Ky(e,(function(t){var e;l_(t)&&(e=t.dimsDef)&&(r=Math.max(r,e.length))})),r}(t,n,i,e.dimensionsCount),s=e.canOmitUnusedDimensions&&Az(a),l=i===t.dimensionsDefine,u=l?Iz(t):Mz(i),c=e.encodeDefine;!c&&e.encodeDefaulter&&(c=e.encodeDefaulter(t,a));for(var h=C_(c),d=new yE(a),p=0;p<d.length;p++)d[p]=-1;function f(t){var e=d[t];if(e<0){var n=i[t],r=l_(n)?n:{name:n},a=new _z,s=r.name;null!=s&&null!=u.get(s)&&(a.name=a.displayName=s),null!=r.type&&(a.type=r.type),null!=r.displayName&&(a.displayName=r.displayName);var l=o.length;return d[t]=l,a.storeDimIndex=t,o.push(a),a}return o[e]}if(!s)for(p=0;p<a;p++)f(p);h.each((function(t,e){var n=TM(t).slice();if(1===n.length&&!o_(n[0])&&n[0]<0)h.set(e,!1);else{var i=h.set(e,[]);Ky(n,(function(t,n){var r=o_(t)?u.get(t):t;null!=r&&r<a&&(i[n]=r,v(f(r),e,n))}))}}));var g=0;function v(t,e,n){null!=fP.get(e)?t.otherDims[e]=n:(t.coordDim=e,t.coordDimIndex=n,r.set(e,!0))}Ky(n,(function(t){var e,n,i,r;if(o_(t))e=t,r={};else{e=(r=t).name;var o=r.ordinalMeta;r.ordinalMeta=null,(r=jy({},r)).ordinalMeta=o,n=r.dimsDef,i=r.otherDims,r.name=r.coordDim=r.coordDimIndex=r.dimsDef=r.otherDims=null}var s=h.get(e);if(!1!==s){if(!(s=TM(s)).length)for(var u=0;u<(n&&n.length||1);u++){for(;g<a&&null!=f(g).coordDim;)g++;g<a&&s.push(g++)}Ky(s,(function(t,o){var a=f(t);if(l&&null!=r.type&&(a.type=r.type),v(Yy(a,r),e,o),null==a.name&&n){var s=n[o];!l_(s)&&(s={name:s}),a.name=a.displayName=s.name,a.defaultTooltip=s.defaultTooltip}i&&Yy(a.otherDims,i)}))}}));var m=e.generateCoord,y=e.generateCoordCount,_=null!=y;y=m?y||1:0;var x=m||"value";function b(t){null==t.name&&(t.name=t.coordDim)}if(s)Ky(o,(function(t){b(t)})),o.sort((function(t,e){return t.storeDimIndex-e.storeDimIndex}));else for(var w=0;w<a;w++){var S=f(w);null==S.coordDim&&(S.coordDim=Hz(x,r,_),S.coordDimIndex=0,(!m||y<=0)&&(S.isExtraCoord=!0),y--),b(S),null!=S.type||TP(t,w)!==SP.Must&&(!S.isExtraCoord||null==S.otherDims.itemName&&null==S.otherDims.seriesName)||(S.type="ordinal")}return function(t){for(var e=C_(),n=0;n<t.length;n++){var i=t[n],r=i.name,o=e.get(r)||0;o>0&&(i.name=r+(o-1)),o++,e.set(r,o)}}(o),new wz({source:t,dimensions:o,fullDimensionCount:a,dimensionOmitted:s})}function Hz(t,e,n){if(n||e.hasKey(t)){for(var i=0;e.hasKey(t+i);)i++;t+=i}return e.set(t,!0),t}var Wz=function(t){this.coordSysDims=[],this.axisMap=C_(),this.categoryAxisMap=C_(),this.coordSysName=t};var Uz={cartesian2d:function(t,e,n,i){var r=t.getReferringComponents("xAxis",UM).models[0],o=t.getReferringComponents("yAxis",UM).models[0];e.coordSysDims=["x","y"],n.set("x",r),n.set("y",o),jz(r)&&(i.set("x",r),e.firstCategoryDimIndex=0),jz(o)&&(i.set("y",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,i){var r=t.getReferringComponents("singleAxis",UM).models[0];e.coordSysDims=["single"],n.set("single",r),jz(r)&&(i.set("single",r),e.firstCategoryDimIndex=0)},polar:function(t,e,n,i){var r=t.getReferringComponents("polar",UM).models[0],o=r.findAxisModel("radiusAxis"),a=r.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),jz(o)&&(i.set("radius",o),e.firstCategoryDimIndex=0),jz(a)&&(i.set("angle",a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,i){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,i){var r=t.ecModel,o=r.getComponent("parallel",t.get("parallelIndex")),a=e.coordSysDims=o.dimensions.slice();Ky(o.parallelAxisIndex,(function(t,o){var s=r.getComponent("parallelAxis",t),l=a[o];n.set(l,s),jz(s)&&(i.set(l,s),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=o))}))}};function jz(t){return"category"===t.get("type")}function Yz(t,e,n){var i,r,o,a=(n=n||{}).byIndex,s=n.stackedCoordDimension;!function(t){return!Sz(t.schema)}(e)?(r=e.schema,i=r.dimensions,o=e.store):i=e;var l,u,c,h,d=!(!t||!t.get("stack"));if(Ky(i,(function(t,e){o_(t)&&(i[e]=t={name:t}),d&&!t.isExtraCoord&&(a||l||!t.ordinalMeta||(l=t),u||"ordinal"===t.type||"time"===t.type||s&&s!==t.coordDim||(u=t))})),!u||a||l||(a=!0),u){c="__\0ecstackresult_"+t.id,h="__\0ecstackedover_"+t.id,l&&(l.createInvertedIndices=!0);var p=u.coordDim,f=u.type,g=0;Ky(i,(function(t){t.coordDim===p&&g++}));var v={name:c,coordDim:p,coordDimIndex:g,type:f,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length},m={name:h,coordDim:h,coordDimIndex:g+1,type:f,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length+1};r?(o&&(v.storeDimIndex=o.ensureCalculationDimension(h,f),m.storeDimIndex=o.ensureCalculationDimension(c,f)),r.appendCalculationDimension(v),r.appendCalculationDimension(m)):(i.push(v),i.push(m))}return{stackedDimension:u&&u.name,stackedByDimension:l&&l.name,isStackedByIndex:a,stackedOverDimension:h,stackResultDimension:c}}function Xz(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function qz(t,e){return Xz(t,e)?t.getCalculationInfo("stackResultDimension"):e}function Zz(t,e,n){n=n||{};var i,r=e.getSourceManager(),o=!1;t?(o=!0,i=DO(t)):o=(i=r.getSource()).sourceFormat===gP;var a=function(t){var e=t.get("coordinateSystem"),n=new Wz(e),i=Uz[e];if(i)return i(t,n,n.axisMap,n.categoryAxisMap),n}(e),s=function(t,e){var n,i=t.get("coordinateSystem"),r=ZP.get(i);return e&&e.coordSysDims&&(n=$y(e.coordSysDims,(function(t){var n={name:t},i=e.axisMap.get(t);if(i){var r=i.get("type");n.type=yz(r)}return n}))),n||(n=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),n}(e,a),l=n.useEncodeDefaulter,u=r_(l)?l:l?n_(IP,s,e):null,c=Gz(i,{coordDimensions:s,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!o}),h=function(t,e,n){var i,r;return n&&Ky(t,(function(t,o){var a=t.coordDim,s=n.categoryAxisMap.get(a);s&&(null==i&&(i=o),t.ordinalMeta=s.getOrdinalMeta(),e&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(r=!0)})),r||null==i||(t[i].otherDims.itemName=0),i}(c.dimensions,n.createInvertedIndices,a),d=o?null:r.getSharedDataStore(c),p=Yz(e,{schema:c,store:d}),f=new Fz(c,e);f.setCalculationInfo(p);var g=null!=h&&function(t){if(t.sourceFormat===gP){var e=function(t){var e=0;for(;e<t.length&&null==t[e];)e++;return t[e]}(t.data||[]);return!i_(LM(e))}}(i)?function(t,e,n,i){return i===h?n:this.defaultDimValueGetter(t,e,n,i)}:null;return f.hasItemOption=!1,f.initData(o?i:d,null,g),f}var Kz=function(){function t(t){this._setting=t||{},this._extent=[1/0,-1/0]}return t.prototype.getSetting=function(t){return this._setting[t]},t.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1])},t.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},t.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(t){this._isBlank=t},t}();oI(Kz);const $z=Kz;var Jz=0;function Qz(t){return l_(t)&&null!=t.value?t.value:t+""}const tV=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++Jz}return t.createByAxisModel=function(e){var n=e.option,i=n.data,r=i&&$y(i,Qz);return new t({categories:r,needCollect:!r,deduplication:!1!==n.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if(!o_(t)&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var i=this._getOrCreateMap();return null==(e=i.get(t))&&(n?(e=this.categories.length,this.categories[e]=t,i.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=C_(this.categories))},t}();function eV(t){return"interval"===t.type||"log"===t.type}function nV(t,e,n,i){var r={},o=t[1]-t[0],a=r.interval=vM(o/e,!0);null!=n&&a<n&&(a=r.interval=n),null!=i&&a>i&&(a=r.interval=i);var s=r.intervalPrecision=rV(a);return function(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),oV(t,0,e),oV(t,1,e),t[0]>t[1]&&(t[0]=t[1])}(r.niceTickExtent=[oM(Math.ceil(t[0]/a)*a,s),oM(Math.floor(t[1]/a)*a,s)],t),r}function iV(t){var e=Math.pow(10,gM(t)),n=t/e;return n?2===n?n=3:3===n?n=5:n*=2:n=1,oM(n*e)}function rV(t){return sM(t)+2}function oV(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function aV(t,e){return t>=e[0]&&t<=e[1]}function sV(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function lV(t,e){return t*(e[1]-e[0])+e[0]}var uV=function(t){function e(e){var n=t.call(this,e)||this;n.type="ordinal";var i=n.getSetting("ordinalMeta");return i||(i=new tV({})),i_(i)&&(i=new tV({categories:$y(i,(function(t){return l_(t)?t.value:t}))})),n._ordinalMeta=i,n._extent=n.getSetting("extent")||[0,i.categories.length-1],n}return my(e,t),e.prototype.parse=function(t){return null==t?NaN:o_(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},e.prototype.contain=function(t){return aV(t=this.parse(t),this._extent)&&null!=this._ordinalMeta.categories[t]},e.prototype.normalize=function(t){return sV(t=this._getTickNumber(this.parse(t)),this._extent)},e.prototype.scale=function(t){return t=Math.round(lV(t,this._extent)),this.getRawOrdinalNumber(t)},e.prototype.getTicks=function(){for(var t=[],e=this._extent,n=e[0];n<=e[1];)t.push({value:n}),n++;return t},e.prototype.getMinorTicks=function(t){},e.prototype.setSortInfo=function(t){if(null!=t){for(var e=t.ordinalNumbers,n=this._ordinalNumbersByTick=[],i=this._ticksByOrdinalNumber=[],r=0,o=this._ordinalMeta.categories.length,a=Math.min(o,e.length);r<a;++r){var s=e[r];n[r]=s,i[s]=r}for(var l=0;r<o;++r){for(;null!=i[l];)l++;n.push(l),i[l]=r}}else this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null},e.prototype._getTickNumber=function(t){var e=this._ticksByOrdinalNumber;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getRawOrdinalNumber=function(t){var e=this._ordinalNumbersByTick;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getLabel=function(t){if(!this.isBlank()){var e=this.getRawOrdinalNumber(t.value),n=this._ordinalMeta.categories[e];return null==n?"":n+""}},e.prototype.count=function(){return this._extent[1]-this._extent[0]+1},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.isInExtentRange=function(t){return t=this._getTickNumber(t),this._extent[0]<=t&&this._extent[1]>=t},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.calcNiceTicks=function(){},e.prototype.calcNiceExtent=function(){},e.type="ordinal",e}($z);$z.registerClass(uV);const cV=uV;var hV=oM,dV=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return my(e,t),e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return aV(t,this._extent)},e.prototype.normalize=function(t){return sV(t,this._extent)},e.prototype.scale=function(t){return lV(t,this._extent)},e.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(e)||(n[1]=parseFloat(e))},e.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1]),this.setExtent(e[0],e[1])},e.prototype.getInterval=function(){return this._interval},e.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=rV(t)},e.prototype.getTicks=function(t){var e=this._interval,n=this._extent,i=this._niceExtent,r=this._intervalPrecision,o=[];if(!e)return o;n[0]<i[0]&&(t?o.push({value:hV(i[0]-e,r)}):o.push({value:n[0]}));for(var a=i[0];a<=i[1]&&(o.push({value:a}),(a=hV(a+e,r))!==o[o.length-1].value);)if(o.length>1e4)return[];var s=o.length?o[o.length-1].value:i[1];return n[1]>s&&(t?o.push({value:hV(s+e,r)}):o.push({value:n[1]})),o},e.prototype.getMinorTicks=function(t){for(var e=this.getTicks(!0),n=[],i=this.getExtent(),r=1;r<e.length;r++){for(var o=e[r],a=e[r-1],s=0,l=[],u=(o.value-a.value)/t;s<t-1;){var c=hV(a.value+(s+1)*u);c>i[0]&&c<i[1]&&l.push(c),s++}n.push(l)}return n},e.prototype.getLabel=function(t,e){if(null==t)return"";var n=e&&e.precision;return null==n?n=sM(t.value)||0:"auto"===n&&(n=this._intervalPrecision),HL(hV(t.value,n,!0))},e.prototype.calcNiceTicks=function(t,e,n){t=t||5;var i=this._extent,r=i[1]-i[0];if(isFinite(r)){r<0&&(r=-r,i.reverse());var o=nV(i,t,e,n);this._intervalPrecision=o.intervalPrecision,this._interval=o.interval,this._niceExtent=o.niceTickExtent}},e.prototype.calcNiceExtent=function(t){var e=this._extent;if(e[0]===e[1])if(0!==e[0]){var n=Math.abs(e[0]);t.fixMax||(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.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval);var r=this._interval;t.fixMin||(e[0]=hV(Math.floor(e[0]/r)*r)),t.fixMax||(e[1]=hV(Math.ceil(e[1]/r)*r))},e.prototype.setNiceExtent=function(t,e){this._niceExtent=[t,e]},e.type="interval",e}($z);$z.registerClass(dV);const pV=dV;var fV="undefined"!=typeof Float32Array,gV=fV?Float32Array:Array;function vV(t){return i_(t)?fV?new Float32Array(t):t:new gV(t)}var mV="__ec_stack_";function yV(t){return t.get("stack")||mV+t.seriesIndex}function _V(t){return t.dim+t.index}function xV(t,e){var n=[];return e.eachSeriesByType(t,(function(t){IV(t)&&n.push(t)})),n}function bV(t){var e=function(t){var e={};Ky(t,(function(t){var n=t.coordinateSystem.getBaseAxis();if("time"===n.type||"value"===n.type)for(var i=t.getData(),r=n.dim+"_"+n.index,o=i.getDimensionIndex(i.mapDimension(n.dim)),a=i.getStore(),s=0,l=a.count();s<l;++s){var u=a.get(o,s);e[r]?e[r].push(u):e[r]=[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 o=null,a=1;a<r.length;++a){var s=r[a]-r[a-1];s>0&&(o=null===o?s:Math.min(o,s))}n[i]=o}}return n}(t),n=[];return Ky(t,(function(t){var i,r=t.coordinateSystem.getBaseAxis(),o=r.getExtent();if("category"===r.type)i=r.getBandWidth();else if("value"===r.type||"time"===r.type){var a=r.dim+"_"+r.index,s=e[a],l=Math.abs(o[1]-o[0]),u=r.scale.getExtent(),c=Math.abs(u[1]-u[0]);i=s?l/c*s:l}else{var h=t.getData();i=Math.abs(o[1]-o[0])/h.count()}var d=rM(t.get("barWidth"),i),p=rM(t.get("barMaxWidth"),i),f=rM(t.get("barMinWidth")||(AV(t)?.5:1),i),g=t.get("barGap"),v=t.get("barCategoryGap");n.push({bandWidth:i,barWidth:d,barMaxWidth:p,barMinWidth:f,barGap:g,barCategoryGap:v,axisKey:_V(r),stackId:yV(t)})})),wV(n)}function wV(t){var e={};Ky(t,(function(t,n){var i=t.axisKey,r=t.bandWidth,o=e[i]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=o.stacks;e[i]=o;var s=t.stackId;a[s]||o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var u=t.barMaxWidth;u&&(a[s].maxWidth=u);var c=t.barMinWidth;c&&(a[s].minWidth=c);var h=t.barGap;null!=h&&(o.gap=h);var d=t.barCategoryGap;null!=d&&(o.categoryGap=d)}));var n={};return Ky(e,(function(t,e){n[e]={};var i=t.stacks,r=t.bandWidth,o=t.categoryGap;if(null==o){var a=t_(i).length;o=Math.max(35-4*a,15)+"%"}var s=rM(o,r),l=rM(t.gap,1),u=t.remainedWidth,c=t.autoWidthCount,h=(u-s)/(c+(c-1)*l);h=Math.max(h,0),Ky(i,(function(t){var e=t.maxWidth,n=t.minWidth;if(t.width){i=t.width;e&&(i=Math.min(i,e)),n&&(i=Math.max(i,n)),t.width=i,u-=i+l*i,c--}else{var i=h;e&&e<i&&(i=Math.min(e,u)),n&&n>i&&(i=n),i!==h&&(t.width=i,u-=i+l*i,c--)}})),h=(u-s)/(c+(c-1)*l),h=Math.max(h,0);var d,p=0;Ky(i,(function(t,e){t.width||(t.width=h),d=t,p+=t.width*(1+l)})),d&&(p-=d.width*l);var f=-p/2;Ky(i,(function(t,i){n[e][i]=n[e][i]||{bandWidth:r,offset:f,width:t.width},f+=t.width*(1+l)}))})),n}function SV(t,e){var n=xV(t,e),i=bV(n);Ky(n,(function(t){var e=t.getData(),n=t.coordinateSystem.getBaseAxis(),r=yV(t),o=i[_V(n)][r],a=o.offset,s=o.width;e.setLayout({bandWidth:o.bandWidth,offset:a,size:s})}))}function MV(t){return{seriesType:t,plan:oR(),reset:function(t){if(IV(t)){var e=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),r=n.getOtherAxis(i),o=e.getDimensionIndex(e.mapDimension(r.dim)),a=e.getDimensionIndex(e.mapDimension(i.dim)),s=t.get("showBackground",!0),l=e.mapDimension(r.dim),u=e.getCalculationInfo("stackResultDimension"),c=Xz(e,l)&&!!e.getCalculationInfo("stackedOnSeries"),h=r.isHorizontal(),d=function(t,e){return e.toGlobalCoord(e.dataToCoord("log"===e.type?1:0))}(0,r),p=AV(t),f=t.get("barMinHeight")||0,g=u&&e.getDimensionIndex(u),v=e.getLayout("size"),m=e.getLayout("offset");return{progress:function(t,e){for(var i,r=t.count,l=p&&vV(3*r),u=p&&s&&vV(3*r),y=p&&vV(r),_=n.master.getRect(),x=h?_.width:_.height,b=e.getStore(),w=0;null!=(i=t.next());){var S=b.get(c?g:o,i),M=b.get(a,i),I=d,A=void 0;c&&(A=+S-b.get(o,i));var C=void 0,T=void 0,D=void 0,k=void 0;if(h){var L=n.dataToPoint([S,M]);if(c)I=n.dataToPoint([A,M])[0];C=I,T=L[1]+m,D=L[0]-I,k=v,Math.abs(D)<f&&(D=(D<0?-1:1)*f)}else{L=n.dataToPoint([M,S]);if(c)I=n.dataToPoint([M,A])[1];C=L[0]+m,T=I,D=v,k=L[1]-I,Math.abs(k)<f&&(k=(k<=0?-1:1)*f)}p?(l[w]=C,l[w+1]=T,l[w+2]=h?D:k,u&&(u[w]=h?_.x:C,u[w+1]=h?T:_.y,u[w+2]=x),y[i]=i):e.setItemLayout(i,{x:C,y:T,width:D,height:k}),w+=3}p&&e.setLayout({largePoints:l,largeDataIndices:y,largeBackgroundPoints:u,valueAxisHorizontal:h})}}}}}}function IV(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function AV(t){return t.pipelineContext&&t.pipelineContext.large}var CV=function(t){function e(e){var n=t.call(this,e)||this;return n.type="time",n}return my(e,t),e.prototype.getLabel=function(t){var e=this.getSetting("useUTC");return IL(t.value,_L[function(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}(SL(this._minLevelUnit))]||_L.second,e,this.getSetting("locale"))},e.prototype.getFormattedLabel=function(t,e,n){var i=this.getSetting("useUTC");return function(t,e,n,i,r){var o=null;if(o_(n))o=n;else if(r_(n))o=n(t.value,e,{level:t.level});else{var a=jy({},mL);if(t.level>0)for(var s=0;s<xL.length;++s)a[xL[s]]="{primary|"+a[xL[s]]+"}";var l=n?!1===n.inherit?n:Yy(n,a):a,u=AL(t.value,r);if(l[u])o=l[u];else if(l.inherit){for(s=bL.indexOf(u)-1;s>=0;--s)if(l[u]){o=l[u];break}o=o||a.none}if(i_(o)){var c=null==t.level?0:t.level>=0?t.level:o.length+t.level;o=o[c=Math.min(c,o.length-1)]}}return IL(new Date(t.value),o,r,i)}(t,e,n,this.getSetting("locale"),i)},e.prototype.getTicks=function(){var t=this._interval,e=this._extent,n=[];if(!t)return n;n.push({value:e[0],level:0});var i=this.getSetting("useUTC"),r=function(t,e,n,i){var r=1e4,o=bL,a=0;function s(t,e,n,r,o,a,s){for(var l=new Date(e),u=e,c=l[r]();u<n&&u<=i[1];)s.push({value:u}),c+=t,l[o](c),u=l.getTime();s.push({value:u,notAdd:!0})}function l(t,r,o){var a=[],l=!r.length;if(!function(t,e,n,i){var r=fM(e),o=fM(n),a=function(t){return CL(r,t,i)===CL(o,t,i)},s=function(){return a("year")},l=function(){return s()&&a("month")},u=function(){return l()&&a("day")},c=function(){return u()&&a("hour")},h=function(){return c()&&a("minute")},d=function(){return h()&&a("second")},p=function(){return d()&&a("millisecond")};switch(t){case"year":return s();case"month":return l();case"day":return u();case"hour":return c();case"minute":return h();case"second":return d();case"millisecond":return p()}}(SL(t),i[0],i[1],n)){l&&(r=[{value:EV(new Date(i[0]),t,n)},{value:i[1]}]);for(var u=0;u<r.length-1;u++){var c=r[u].value,h=r[u+1].value;if(c!==h){var d=void 0,p=void 0,f=void 0,g=!1;switch(t){case"year":d=Math.max(1,Math.round(e/gL/365)),p=TL(n),f=RL(n);break;case"half-year":case"quarter":case"month":d=kV(e),p=DL(n),f=NL(n);break;case"week":case"half-week":case"day":d=DV(e),p=kL(n),f=BL(n),g=!0;break;case"half-day":case"quarter-day":case"hour":d=LV(e),p=LL(n),f=zL(n);break;case"minute":d=PV(e,!0),p=PL(n),f=VL(n);break;case"second":d=PV(e,!1),p=OL(n),f=FL(n);break;case"millisecond":d=OV(e),p=EL(n),f=GL(n)}s(d,c,h,p,f,g,a),"year"===t&&o.length>1&&0===u&&o.unshift({value:o[0].value-d})}}for(u=0;u<a.length;u++)o.push(a[u]);return a}}for(var u=[],c=[],h=0,d=0,p=0;p<o.length&&a++<r;++p){var f=SL(o[p]);if(ML(o[p]))if(l(o[p],u[u.length-1]||[],c),f!==(o[p+1]?SL(o[p+1]):null)){if(c.length){d=h,c.sort((function(t,e){return t.value-e.value}));for(var g=[],v=0;v<c.length;++v){var m=c[v].value;0!==v&&c[v-1].value===m||(g.push(c[v]),m>=i[0]&&m<=i[1]&&h++)}var y=(i[1]-i[0])/e;if(h>1.5*y&&d>y/1.5)break;if(u.push(g),h>y||t===o[p])break}c=[]}}var _=Qy($y(u,(function(t){return Qy(t,(function(t){return t.value>=i[0]&&t.value<=i[1]&&!t.notAdd}))})),(function(t){return t.length>0})),x=[],b=_.length-1;for(p=0;p<_.length;++p)for(var w=_[p],S=0;S<w.length;++S)x.push({value:w[S].value,level:b-p});x.sort((function(t,e){return t.value-e.value}));var M=[];for(p=0;p<x.length;++p)0!==p&&x[p].value===x[p-1].value||M.push(x[p]);return M}(this._minLevelUnit,this._approxInterval,i,e);return(n=n.concat(r)).push({value:e[1],level:0}),n},e.prototype.calcNiceExtent=function(t){var e=this._extent;if(e[0]===e[1]&&(e[0]-=gL,e[1]+=gL),e[1]===-1/0&&e[0]===1/0){var n=new Date;e[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),e[0]=e[1]-gL}this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval)},e.prototype.calcNiceTicks=function(t,e,n){t=t||10;var i=this._extent,r=i[1]-i[0];this._approxInterval=r/t,null!=e&&this._approxInterval<e&&(this._approxInterval=e),null!=n&&this._approxInterval>n&&(this._approxInterval=n);var o=TV.length,a=Math.min(function(t,e,n,i){for(;n<i;){var r=n+i>>>1;t[r][1]<e?n=r+1:i=r}return n}(TV,this._approxInterval,0,o),o-1);this._interval=TV[a][1],this._minLevelUnit=TV[Math.max(a-1,0)][0]},e.prototype.parse=function(t){return s_(t)?t:+fM(t)},e.prototype.contain=function(t){return aV(this.parse(t),this._extent)},e.prototype.normalize=function(t){return sV(this.parse(t),this._extent)},e.prototype.scale=function(t){return lV(t,this._extent)},e.type="time",e}(pV),TV=[["second",dL],["minute",pL],["hour",fL],["quarter-day",6*fL],["half-day",12*fL],["day",1.2*gL],["half-week",3.5*gL],["week",7*gL],["month",31*gL],["quarter",95*gL],["half-year",vL/2],["year",vL]];function DV(t,e){return(t/=gL)>16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function kV(t){return(t/=30*gL)>6?6:t>3?3:t>2?2:1}function LV(t){return(t/=fL)>12?12:t>6?6:t>3.5?4:t>2?2:1}function PV(t,e){return(t/=e?pL:dL)>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function OV(t){return vM(t,!0)}function EV(t,e,n){var i=new Date(t);switch(SL(e)){case"year":case"month":i[NL(n)](0);case"day":i[BL(n)](1);case"hour":i[zL(n)](0);case"minute":i[VL(n)](0);case"second":i[FL(n)](0),i[GL(n)](0)}return i.getTime()}$z.registerClass(CV);const RV=CV;var NV=$z.prototype,BV=pV.prototype,zV=oM,VV=Math.floor,FV=Math.ceil,GV=Math.pow,HV=Math.log,WV=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new pV,e._interval=0,e}return my(e,t),e.prototype.getTicks=function(t){var e=this._originalScale,n=this._extent,i=e.getExtent();return $y(BV.getTicks.call(this,t),(function(t){var e=t.value,r=oM(GV(this.base,e));return r=e===n[0]&&this._fixMin?jV(r,i[0]):r,{value:r=e===n[1]&&this._fixMax?jV(r,i[1]):r}}),this)},e.prototype.setExtent=function(t,e){var n=HV(this.base);t=HV(Math.max(0,t))/n,e=HV(Math.max(0,e))/n,BV.setExtent.call(this,t,e)},e.prototype.getExtent=function(){var t=this.base,e=NV.getExtent.call(this);e[0]=GV(t,e[0]),e[1]=GV(t,e[1]);var n=this._originalScale.getExtent();return this._fixMin&&(e[0]=jV(e[0],n[0])),this._fixMax&&(e[1]=jV(e[1],n[1])),e},e.prototype.unionExtent=function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=HV(t[0])/HV(e),t[1]=HV(t[1])/HV(e),NV.unionExtent.call(this,t)},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.calcNiceTicks=function(t){t=t||10;var e=this._extent,n=e[1]-e[0];if(!(n===1/0||n<=0)){var i,r=(i=n,Math.pow(10,gM(i)));for(t/n*r<=.5&&(r*=10);!isNaN(r)&&Math.abs(r)<1&&Math.abs(r)>0;)r*=10;var o=[oM(FV(e[0]/r)*r),oM(VV(e[1]/r)*r)];this._interval=r,this._niceExtent=o}},e.prototype.calcNiceExtent=function(t){BV.calcNiceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return aV(t=HV(t)/HV(this.base),this._extent)},e.prototype.normalize=function(t){return sV(t=HV(t)/HV(this.base),this._extent)},e.prototype.scale=function(t){return t=lV(t,this._extent),GV(this.base,t)},e.type="log",e}($z),UV=WV.prototype;function jV(t,e){return zV(t,sM(e))}UV.getMinorTicks=BV.getMinorTicks,UV.getLabel=BV.getLabel,$z.registerClass(WV);const YV=WV;var XV=function(){function t(t,e,n){this._prepareParams(t,e,n)}return t.prototype._prepareParams=function(t,e,n){n[1]<n[0]&&(n=[NaN,NaN]),this._dataMin=n[0],this._dataMax=n[1];var i=this._isOrdinal="ordinal"===t.type;this._needCrossZero="interval"===t.type&&e.getNeedCrossZero&&e.getNeedCrossZero();var r=this._modelMinRaw=e.get("min",!0);r_(r)?this._modelMinNum=$V(t,r({min:n[0],max:n[1]})):"dataMin"!==r&&(this._modelMinNum=$V(t,r));var o=this._modelMaxRaw=e.get("max",!0);if(r_(o)?this._modelMaxNum=$V(t,o({min:n[0],max:n[1]})):"dataMax"!==o&&(this._modelMaxNum=$V(t,o)),i)this._axisDataLen=e.getCategories().length;else{var a=e.get("boundaryGap"),s=i_(a)?a:[a||0,a||0];"boolean"==typeof s[0]||"boolean"==typeof s[1]?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[NS(s[0],1),NS(s[1],1)]}},t.prototype.calculate=function(){var t=this._isOrdinal,e=this._dataMin,n=this._dataMax,i=this._axisDataLen,r=this._boundaryGapInner,o=t?null:n-e||Math.abs(e),a="dataMin"===this._modelMinRaw?e:this._modelMinNum,s="dataMax"===this._modelMaxRaw?n:this._modelMaxNum,l=null!=a,u=null!=s;null==a&&(a=t?i?0:NaN:e-r[0]*o),null==s&&(s=t?i?i-1:NaN:n+r[1]*o),(null==a||!isFinite(a))&&(a=NaN),(null==s||!isFinite(s))&&(s=NaN);var c=p_(a)||p_(s)||t&&!i;this._needCrossZero&&(a>0&&s>0&&!l&&(a=0),a<0&&s<0&&!u&&(s=0));var h=this._determinedMin,d=this._determinedMax;return null!=h&&(a=h,l=!0),null!=d&&(s=d,u=!0),{min:a,max:s,minFixed:l,maxFixed:u,isBlank:c}},t.prototype.modifyDataMinMax=function(t,e){this[ZV[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){this[qV[t]]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),qV={min:"_determinedMin",max:"_determinedMax"},ZV={min:"_dataMin",max:"_dataMax"};function KV(t,e,n){var i=t.rawExtentInfo;return i||(i=new XV(t,e,n),t.rawExtentInfo=i,i)}function $V(t,e){return null==e?null:p_(e)?NaN:t.parse(e)}function JV(t,e){var n=t.type,i=KV(t,e,t.getExtent()).calculate();t.setBlank(i.isBlank);var r=i.min,o=i.max,a=e.ecModel;if(a&&"time"===n){var s=xV("bar",a),l=!1;if(Ky(s,(function(t){l=l||t.getBaseAxis()===e.axis})),l){var u=bV(s),c=function(t,e,n,i){var r=n.axis.getExtent(),o=r[1]-r[0],a=function(t,e,n){if(t&&e){var i=t[_V(e)];return null!=i&&null!=n?i[yV(n)]:i}}(i,n.axis);if(void 0===a)return{min:t,max:e};var s=1/0;Ky(a,(function(t){s=Math.min(t.offset,s)}));var l=-1/0;Ky(a,(function(t){l=Math.max(t.offset+t.width,l)})),s=Math.abs(s),l=Math.abs(l);var u=s+l,c=e-t,h=c/(1-(s+l)/o)-c;return e+=h*(l/u),t-=h*(s/u),{min:t,max:e}}(r,o,e,u);r=c.min,o=c.max}}return{extent:[r,o],fixMin:i.minFixed,fixMax:i.maxFixed}}function QV(t,e){var n=e,i=JV(t,n),r=i.extent,o=n.get("splitNumber");t instanceof YV&&(t.base=n.get("logBase"));var a=t.type,s=n.get("interval"),l="interval"===a||"time"===a;t.setExtent(r[0],r[1]),t.calcNiceExtent({splitNumber:o,fixMin:i.fixMin,fixMax:i.fixMax,minInterval:l?n.get("minInterval"):null,maxInterval:l?n.get("maxInterval"):null}),null!=s&&t.setInterval&&t.setInterval(s)}function tF(t,e){if(e=e||t.get("type"))switch(e){case"category":return new cV({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new RV({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new($z.getClass(e)||pV)}}function eF(t){var e,n,i=t.getLabelModel().get("formatter"),r="category"===t.type?t.scale.getExtent()[0]:null;return"time"===t.scale.type?(n=i,function(e,i){return t.scale.getFormattedLabel(e,i,n)}):o_(i)?function(e){return function(n){var i=t.scale.getLabel(n);return e.replace("{value}",null!=i?i:"")}}(i):r_(i)?(e=i,function(n,i){return null!=r&&(i=n.value-r),e(nF(t,n),i,null!=n.level?{level:n.level}:null)}):function(e){return t.scale.getLabel(e)}}function nF(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function iF(t){var e=t.get("interval");return null==e?"auto":e}function rF(t){return"category"===t.type&&0===iF(t.getLabelModel())}function oF(t,e){var n={};return Ky(t.mapDimensionsAll(e),(function(e){n[qz(t,e)]=!0})),t_(n)}var aF=function(){function t(){}return t.prototype.getNeedCrossZero=function(){return!this.option.scale},t.prototype.getCoordSysModel=function(){},t}(),sF=1e-8;function lF(t,e){return Math.abs(t-e)<sF}function uF(t,e,n){var i=0,r=t[0];if(!r)return!1;for(var o=1;o<t.length;o++){var a=t[o];i+=wA(r[0],r[1],a[0],a[1],e,n),r=a}var s=t[0];return lF(r[0],s[0])&&lF(r[1],s[1])||(i+=wA(r[0],r[1],s[0],s[1],e,n)),0!==i}var cF=[];function hF(t,e){for(var n=0;n<t.length;n++)X_(t[n],t[n],e)}function dF(t,e,n,i){for(var r=0;r<t.length;r++){var o=t[r];i&&(o=i.project(o)),o&&isFinite(o[0])&&isFinite(o[1])&&(q_(e,e,o),Z_(n,n,o))}}var pF=function(){function t(t){this.name=t}return t.prototype.setCenter=function(t){this._center=t},t.prototype.getCenter=function(){var t=this._center;return t||(t=this._center=this.calcCenter()),t},t}(),fF=function(t,e){this.type="polygon",this.exterior=t,this.interiors=e},gF=function(t){this.type="linestring",this.points=t},vF=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.type="geoJSON",r.geometries=n,r._center=i&&[i[0],i[1]],r}return my(e,t),e.prototype.calcCenter=function(){for(var t,e=this.geometries,n=0,i=0;i<e.length;i++){var r=e[i],o=r.exterior,a=o&&o.length;a>n&&(t=r,n=a)}if(t)return function(t){for(var e=0,n=0,i=0,r=t.length,o=t[r-1][0],a=t[r-1][1],s=0;s<r;s++){var l=t[s][0],u=t[s][1],c=o*u-l*a;e+=c,n+=(o+l)*c,i+=(a+u)*c,o=l,a=u}return e?[n/e/3,i/e/3,e]:[t[0][0]||0,t[0][1]||0]}(t.exterior);var s=this.getBoundingRect();return[s.x+s.width/2,s.y+s.height/2]},e.prototype.getBoundingRect=function(t){var e=this._rect;if(e&&!t)return e;var n=[1/0,1/0],i=[-1/0,-1/0];return Ky(this.geometries,(function(e){"polygon"===e.type?dF(e.exterior,n,i,t):Ky(e.points,(function(e){dF(e,n,i,t)}))})),isFinite(n[0])&&isFinite(n[1])&&isFinite(i[0])&&isFinite(i[1])||(n[0]=n[1]=i[0]=i[1]=0),e=new Hx(n[0],n[1],i[0]-n[0],i[1]-n[1]),t||(this._rect=e),e},e.prototype.contain=function(t){var e=this.getBoundingRect(),n=this.geometries;if(!e.contain(t[0],t[1]))return!1;t:for(var i=0,r=n.length;i<r;i++){var o=n[i];if("polygon"===o.type){var a=o.exterior,s=o.interiors;if(uF(a,t[0],t[1])){for(var l=0;l<(s?s.length:0);l++)if(uF(s[l],t[0],t[1]))continue t;return!0}}}return!1},e.prototype.transformTo=function(t,e,n,i){var r=this.getBoundingRect(),o=r.width/r.height;n?i||(i=n/o):n=o*i;for(var a=new Hx(t,e,n,i),s=r.calculateTransform(a),l=this.geometries,u=0;u<l.length;u++){var c=l[u];"polygon"===c.type?(hF(c.exterior,s),Ky(c.interiors,(function(t){hF(t,s)}))):Ky(c.points,(function(t){hF(t,s)}))}(r=this._rect).copy(a),this._center=[r.x+r.width/2,r.y+r.height/2]},e.prototype.cloneShallow=function(t){null==t&&(t=this.name);var n=new e(t,this.geometries,this._center);return n._rect=this._rect,n.transformTo=null,n},e}(pF),mF=function(t){function e(e,n){var i=t.call(this,e)||this;return i.type="geoSVG",i._elOnlyForCalculate=n,i}return my(e,t),e.prototype.calcCenter=function(){for(var t=this._elOnlyForCalculate,e=t.getBoundingRect(),n=[e.x+e.width/2,e.y+e.height/2],i=Ix(cF),r=t;r&&!r.isGeoSVGGraphicRoot;)Cx(i,r.getLocalTransform(),i),r=r.parent;return Lx(i,i),X_(n,n,i),n},e}(pF);function yF(t,e,n){for(var i=0;i<t.length;i++)t[i]=_F(t[i],e[i],n)}function _F(t,e,n){for(var i=[],r=e[0],o=e[1],a=0;a<t.length;a+=2){var s=t.charCodeAt(a)-64,l=t.charCodeAt(a+1)-64;s=s>>1^-(1&s),l=l>>1^-(1&l),r=s+=r,o=l+=o,i.push([s/n,l/n])}return i}function xF(t,e){return $y(Qy((t=function(t){if(!t.UTF8Encoding)return t;var e=t,n=e.UTF8Scale;return null==n&&(n=1024),Ky(e.features,(function(t){var e=t.geometry,i=e.encodeOffsets,r=e.coordinates;if(i)switch(e.type){case"LineString":e.coordinates=_F(r,i,n);break;case"Polygon":case"MultiLineString":yF(r,i,n);break;case"MultiPolygon":Ky(r,(function(t,e){return yF(t,i[e],n)}))}})),e.UTF8Encoding=!1,e}(t)).features,(function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0})),(function(t){var n=t.properties,i=t.geometry,r=[];switch(i.type){case"Polygon":var o=i.coordinates;r.push(new fF(o[0],o.slice(1)));break;case"MultiPolygon":Ky(i.coordinates,(function(t){t[0]&&r.push(new fF(t[0],t.slice(1)))}));break;case"LineString":r.push(new gF([i.coordinates]));break;case"MultiLineString":r.push(new gF(i.coordinates))}var a=new vF(n[e||"name"],r,n.cp);return a.properties=n,a}))}var bF=FM();function wF(t){return"category"===t.type?function(t){var e=t.getLabelModel(),n=MF(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}(t):function(t){var e=t.scale.getTicks(),n=eF(t);return{labels:$y(e,(function(e,i){return{level:e.level,formattedLabel:n(e,i),rawLabel:t.scale.getLabel(e),tickValue:e.value}}))}}(t)}function SF(t,e){return"category"===t.type?function(t,e){var n,i,r=IF(t,"ticks"),o=iF(e),a=AF(r,o);if(a)return a;e.get("show")&&!t.scale.isBlank()||(n=[]);if(r_(o))n=DF(t,o,!0);else if("auto"===o){var s=MF(t,t.getLabelModel());i=s.labelCategoryInterval,n=$y(s.labels,(function(t){return t.tickValue}))}else n=TF(t,i=o,!0);return CF(r,o,{ticks:n,tickCategoryInterval:i})}(t,e):{ticks:$y(t.scale.getTicks(),(function(t){return t.value}))}}function MF(t,e){var n,i,r=IF(t,"labels"),o=iF(e),a=AF(r,o);return a||(r_(o)?n=DF(t,o):(i="auto"===o?function(t){var e=bF(t).autoInterval;return null!=e?e:bF(t).autoInterval=t.calculateCategoryInterval()}(t):o,n=TF(t,i)),CF(r,o,{labels:n,labelCategoryInterval:i}))}function IF(t,e){return bF(t)[e]||(bF(t)[e]=[])}function AF(t,e){for(var n=0;n<t.length;n++)if(t[n].key===e)return t[n].value}function CF(t,e,n){return t.push({key:e,value:n}),n}function TF(t,e,n){var i=eF(t),r=t.scale,o=r.getExtent(),a=t.getLabelModel(),s=[],l=Math.max((e||0)+1,1),u=o[0],c=r.count();0!==u&&l>1&&c/l>2&&(u=Math.round(Math.ceil(u/l)*l));var h=rF(t),d=a.get("showMinLabel")||h,p=a.get("showMaxLabel")||h;d&&u!==o[0]&&g(o[0]);for(var f=u;f<=o[1];f+=l)g(f);function g(t){var e={value:t};s.push(n?t:{formattedLabel:i(e),rawLabel:r.getLabel(e),tickValue:t})}return p&&f-l!==o[1]&&g(o[1]),s}function DF(t,e,n){var i=t.scale,r=eF(t),o=[];return Ky(i.getTicks(),(function(t){var a=i.getLabel(t),s=t.value;e(t.value,a)&&o.push(n?s:{formattedLabel:r(t),rawLabel:a,tickValue:s})})),o}var kF=[0,1],LF=function(){function t(t,e,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=n||[0,0]}return t.prototype.contain=function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=n&&t<=i},t.prototype.containData=function(t){return this.scale.contain(t)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(t){return lM(t||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(t,e){var n=this._extent;n[0]=t,n[1]=e},t.prototype.dataToCoord=function(t,e){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&"ordinal"===i.type&&PF(n=n.slice(),i.count()),iM(t,kF,n,e)},t.prototype.coordToData=function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&PF(n=n.slice(),i.count());var r=iM(t,n,kF,e);return this.scale.scale(r)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){var e=(t=t||{}).tickModel||this.getTickModel(),n=$y(SF(this,e).ticks,(function(t){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(t):t),tickValue:t}}),this);return function(t,e,n,i){var r=e.length;if(!t.onBand||n||!r)return;var o,a,s=t.getExtent();if(1===r)e[0].coord=s[0],o=e[1]={coord:s[1]};else{var l=e[r-1].tickValue-e[0].tickValue,u=(e[r-1].coord-e[0].coord)/l;Ky(e,(function(t){t.coord-=u/2})),a=1+t.scale.getExtent()[1]-e[r-1].tickValue,o={coord:e[r-1].coord+u*a},e.push(o)}var c=s[0]>s[1];h(e[0].coord,s[0])&&(i?e[0].coord=s[0]:e.shift());i&&h(s[0],e[0].coord)&&e.unshift({coord:s[0]});h(s[1],o.coord)&&(i?o.coord=s[1]:e.pop());i&&h(o.coord,s[1])&&e.push({coord:s[1]});function h(t,e){return t=oM(t),e=oM(e),c?t>e:t<e}}(this,n,e.get("alignWithLabel"),t.clamp),n},t.prototype.getMinorTicksCoords=function(){if("ordinal"===this.scale.type)return[];var t=this.model.getModel("minorTick").get("splitNumber");return t>0&&t<100||(t=5),$y(this.scale.getMinorTicks(t),(function(t){return $y(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this)},t.prototype.getViewLabels=function(){return wF(this).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);0===n&&(n=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/n},t.prototype.calculateCategoryInterval=function(){return function(t){var e=function(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}(t),n=eF(t),i=(e.axisRotate-e.labelRotate)/180*Math.PI,r=t.scale,o=r.getExtent(),a=r.count();if(o[1]-o[0]<1)return 0;var s=1;a>40&&(s=Math.max(1,Math.floor(a/40)));for(var l=o[0],u=t.dataToCoord(l+1)-t.dataToCoord(l),c=Math.abs(u*Math.cos(i)),h=Math.abs(u*Math.sin(i)),d=0,p=0;l<=o[1];l+=s){var f,g,v=PS(n({value:l}),e.font,"center","top");f=1.3*v.width,g=1.3*v.height,d=Math.max(d,f,7),p=Math.max(p,g,7)}var m=d/c,y=p/h;isNaN(m)&&(m=1/0),isNaN(y)&&(y=1/0);var _=Math.max(0,Math.floor(Math.min(m,y))),x=bF(t.model),b=t.getExtent(),w=x.lastAutoInterval,S=x.lastTickCount;return null!=w&&null!=S&&Math.abs(w-_)<=1&&Math.abs(S-a)<=1&&w>_&&x.axisExtent0===b[0]&&x.axisExtent1===b[1]?_=w:(x.lastTickCount=a,x.lastAutoInterval=_,x.axisExtent0=b[0],x.axisExtent1=b[1]),_}(this)},t}();function PF(t,e){var n=(t[1]-t[0])/e/2;t[0]+=n,t[1]-=n}const OF=LF;var EF=2*Math.PI,RF=fA.CMD,NF=["top","right","bottom","left"];function BF(t,e,n,i,r){var o=n.width,a=n.height;switch(t){case"top":i.set(n.x+o/2,n.y-e),r.set(0,-1);break;case"bottom":i.set(n.x+o/2,n.y+a+e),r.set(0,1);break;case"left":i.set(n.x-e,n.y+a/2),r.set(-1,0);break;case"right":i.set(n.x+o+e,n.y+a/2),r.set(1,0)}}function zF(t,e,n,i,r,o,a,s,l){a-=t,s-=e;var u=Math.sqrt(a*a+s*s),c=(a/=u)*n+t,h=(s/=u)*n+e;if(Math.abs(i-r)%EF<1e-4)return l[0]=c,l[1]=h,u-n;if(o){var d=i;i=_A(r),r=_A(d)}else i=_A(i),r=_A(r);i>r&&(r+=EF);var p=Math.atan2(s,a);if(p<0&&(p+=EF),p>=i&&p<=r||p+EF>=i&&p+EF<=r)return l[0]=c,l[1]=h,u-n;var f=n*Math.cos(i)+t,g=n*Math.sin(i)+e,v=n*Math.cos(r)+t,m=n*Math.sin(r)+e,y=(f-a)*(f-a)+(g-s)*(g-s),_=(v-a)*(v-a)+(m-s)*(m-s);return y<_?(l[0]=f,l[1]=g,Math.sqrt(y)):(l[0]=v,l[1]=m,Math.sqrt(_))}function VF(t,e,n,i,r,o,a,s){var l=r-t,u=o-e,c=n-t,h=i-e,d=Math.sqrt(c*c+h*h),p=(l*(c/=d)+u*(h/=d))/d;s&&(p=Math.min(Math.max(p,0),1)),p*=d;var f=a[0]=t+p*c,g=a[1]=e+p*h;return Math.sqrt((f-r)*(f-r)+(g-o)*(g-o))}function FF(t,e,n,i,r,o,a){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i);var s=t+n,l=e+i,u=a[0]=Math.min(Math.max(r,t),s),c=a[1]=Math.min(Math.max(o,e),l);return Math.sqrt((u-r)*(u-r)+(c-o)*(c-o))}var GF=[];function HF(t,e,n){var i=FF(e.x,e.y,e.width,e.height,t.x,t.y,GF);return n.set(GF[0],GF[1]),i}function WF(t,e,n){for(var i,r,o=0,a=0,s=0,l=0,u=1/0,c=e.data,h=t.x,d=t.y,p=0;p<c.length;){var f=c[p++];1===p&&(s=o=c[p],l=a=c[p+1]);var g=u;switch(f){case RF.M:o=s=c[p++],a=l=c[p++];break;case RF.L:g=VF(o,a,c[p],c[p+1],h,d,GF,!0),o=c[p++],a=c[p++];break;case RF.C:g=Rb(o,a,c[p++],c[p++],c[p++],c[p++],c[p],c[p+1],h,d,GF),o=c[p++],a=c[p++];break;case RF.Q:g=Gb(o,a,c[p++],c[p++],c[p],c[p+1],h,d,GF),o=c[p++],a=c[p++];break;case RF.A:var v=c[p++],m=c[p++],y=c[p++],_=c[p++],x=c[p++],b=c[p++];p+=1;var w=!!(1-c[p++]);i=Math.cos(x)*y+v,r=Math.sin(x)*_+m,p<=1&&(s=i,l=r),g=zF(v,m,_,x,x+b,w,(h-v)*_/y+v,d,GF),o=Math.cos(x+b)*y+v,a=Math.sin(x+b)*_+m;break;case RF.R:g=FF(s=o=c[p++],l=a=c[p++],c[p++],c[p++],h,d,GF);break;case RF.Z:g=VF(o,a,s,l,h,d,GF,!0),o=s,a=l}g<u&&(u=g,n.set(GF[0],GF[1]))}return u}var UF=new Px,jF=new Px,YF=new Px,XF=new Px,qF=new Px;function ZF(t,e){if(t){var n=t.getTextGuideLine(),i=t.getTextContent();if(i&&n){var r=t.textGuideLineConfig||{},o=[[0,0],[0,0],[0,0]],a=r.candidates||NF,s=i.getBoundingRect().clone();s.applyTransform(i.getComputedTransform());var l=1/0,u=r.anchor,c=t.getComputedTransform(),h=c&&Lx([],c),d=e.get("length2")||0;u&&YF.copy(u);for(var p=0;p<a.length;p++){BF(a[p],0,s,UF,XF),Px.scaleAndAdd(jF,UF,XF,d),jF.transform(h);var f=t.getBoundingRect(),g=u?u.distance(jF):t instanceof NA?WF(jF,t.path,YF):HF(jF,f,YF);g<l&&(l=g,jF.transform(c),YF.transform(c),YF.toArray(o[0]),jF.toArray(o[1]),UF.toArray(o[2]))}JF(o,e.get("minTurnAngle")),n.setShape({points:o})}}}var KF=[],$F=new Px;function JF(t,e){if(e<=180&&e>0){e=e/180*Math.PI,UF.fromArray(t[0]),jF.fromArray(t[1]),YF.fromArray(t[2]),Px.sub(XF,UF,jF),Px.sub(qF,YF,jF);var n=XF.len(),i=qF.len();if(!(n<.001||i<.001)){XF.scale(1/n),qF.scale(1/i);var r=XF.dot(qF);if(Math.cos(e)<r){var o=VF(jF.x,jF.y,YF.x,YF.y,UF.x,UF.y,KF,!1);$F.fromArray(KF),$F.scaleAndAdd(qF,o/Math.tan(Math.PI-e));var a=YF.x!==jF.x?($F.x-jF.x)/(YF.x-jF.x):($F.y-jF.y)/(YF.y-jF.y);if(isNaN(a))return;a<0?Px.copy($F,jF):a>1&&Px.copy($F,YF),$F.toArray(t[1])}}}}function QF(t,e,n){if(n<=180&&n>0){n=n/180*Math.PI,UF.fromArray(t[0]),jF.fromArray(t[1]),YF.fromArray(t[2]),Px.sub(XF,jF,UF),Px.sub(qF,YF,jF);var i=XF.len(),r=qF.len();if(!(i<.001||r<.001))if(XF.scale(1/i),qF.scale(1/r),XF.dot(e)<Math.cos(n)){var o=VF(jF.x,jF.y,YF.x,YF.y,UF.x,UF.y,KF,!1);$F.fromArray(KF);var a=Math.PI/2,s=a+Math.acos(qF.dot(e))-n;if(s>=a)Px.copy($F,YF);else{$F.scaleAndAdd(qF,o/Math.tan(Math.PI/2-s));var l=YF.x!==jF.x?($F.x-jF.x)/(YF.x-jF.x):($F.y-jF.y)/(YF.y-jF.y);if(isNaN(l))return;l<0?Px.copy($F,jF):l>1&&Px.copy($F,YF)}$F.toArray(t[1])}}}function tG(t,e,n,i){var r="normal"===n,o=r?t:t.ensureState(n);o.ignore=e;var a=i.get("smooth");a&&!0===a&&(a=.3),o.shape=o.shape||{},a>0&&(o.shape.smooth=a);var s=i.getModel("lineStyle").getLineStyle();r?t.useStyle(s):o.style=s}function eG(t,e){var n=e.smooth,i=e.points;if(i)if(t.moveTo(i[0][0],i[0][1]),n>0&&i.length>=3){var r=U_(i[0],i[1]),o=U_(i[1],i[2]);if(!r||!o)return t.lineTo(i[1][0],i[1][1]),void t.lineTo(i[2][0],i[2][1]);var a=Math.min(r,o)*n,s=Y_([],i[1],i[0],a/r),l=Y_([],i[1],i[2],a/o),u=Y_([],s,l,.5);t.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),t.bezierCurveTo(l[0],l[1],l[0],l[1],i[2][0],i[2][1])}else for(var c=1;c<i.length;c++)t.lineTo(i[c][0],i[c][1])}function nG(t,e,n){var i=t.getTextGuideLine(),r=t.getTextContent();if(r){for(var o=e.normal,a=o.get("show"),s=r.ignore,l=0;l<MC.length;l++){var u=MC[l],c=e[u],h="normal"===u;if(c){var d=c.get("show");if((h?s:g_(r.states[u]&&r.states[u].ignore,s))||!g_(d,a)){var p=h?i:i&&i.states[u];p&&(p.ignore=!0);continue}i||(i=new gD,t.setTextGuideLine(i),h||!s&&a||tG(i,!0,"normal",e.normal),t.stateProxy&&(i.stateProxy=t.stateProxy)),tG(i,!1,u,c)}}if(i){Yy(i.style,n),i.style.fill=null;var f=o.get("showAbove");(t.textGuideLineConfig=t.textGuideLineConfig||{}).showAbove=f||!1,i.buildPath=eG}}else i&&t.removeTextGuideLine()}function iG(t,e){e=e||"labelLine";for(var n={normal:t.getModel(e)},i=0;i<SC.length;i++){var r=SC[i];n[r]=t.getModel([r,e])}return n}function rG(t){for(var e=[],n=0;n<t.length;n++){var i=t[n];if(!i.defaultAttr.ignore){var r=i.label,o=r.getComputedTransform(),a=r.getBoundingRect(),s=!o||o[1]<1e-5&&o[2]<1e-5,l=r.style.margin||0,u=a.clone();u.applyTransform(o),u.x-=l/2,u.y-=l/2,u.width+=l,u.height+=l;var c=s?new zD(a,o):null;e.push({label:r,labelLine:i.labelLine,rect:u,localRect:a,obb:c,priority:i.priority,defaultAttr:i.defaultAttr,layoutOption:i.computedLayoutOption,axisAligned:s,transform:o})}}return e}function oG(t,e,n,i,r,o){var a=t.length;if(!(a<2)){t.sort((function(t,n){return t.rect[e]-n.rect[e]}));for(var s,l=0,u=!1,c=0,h=0;h<a;h++){var d=t[h],p=d.rect;(s=p[e]-l)<0&&(p[e]-=s,d.label[e]-=s,u=!0),c+=Math.max(-s,0),l=p[e]+p[n]}c>0&&o&&x(-c/a,0,a);var f,g,v=t[0],m=t[a-1];return y(),f<0&&b(-f,.8),g<0&&b(g,.8),y(),_(f,g,1),_(g,f,-1),y(),f<0&&w(-f),g<0&&w(g),u}function y(){f=v.rect[e]-i,g=r-m.rect[e]-m.rect[n]}function _(t,e,n){if(t<0){var i=Math.min(e,-t);if(i>0){x(i*n,0,a);var r=i+t;r<0&&b(-r*n,1)}else b(-t*n,1)}}function x(n,i,r){0!==n&&(u=!0);for(var o=i;o<r;o++){var a=t[o];a.rect[e]+=n,a.label[e]+=n}}function b(i,r){for(var o=[],s=0,l=1;l<a;l++){var u=t[l-1].rect,c=Math.max(t[l].rect[e]-u[e]-u[n],0);o.push(c),s+=c}if(s){var h=Math.min(Math.abs(i)/s,r);if(i>0)for(l=0;l<a-1;l++){x(o[l]*h,0,l+1)}else for(l=a-1;l>0;l--){x(-(o[l-1]*h),l,a)}}}function w(t){var e=t<0?-1:1;t=Math.abs(t);for(var n=Math.ceil(t/(a-1)),i=0;i<a-1;i++)if(e>0?x(n,0,i+1):x(-n,a-i-1,a),(t-=n)<=0)return}}function aG(t,e,n,i){return oG(t,"y","height",e,n,i)}function sG(t){var e=[];t.sort((function(t,e){return e.priority-t.priority}));var n=new Hx(0,0,0,0);function i(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}for(var r=0;r<t.length;r++){var o=t[r],a=o.axisAligned,s=o.localRect,l=o.transform,u=o.label,c=o.labelLine;n.copy(o.rect),n.width-=.1,n.height-=.1,n.x+=.05,n.y+=.05;for(var h=o.obb,d=!1,p=0;p<e.length;p++){var f=e[p];if(n.intersect(f.rect)){if(a&&f.axisAligned){d=!0;break}if(f.obb||(f.obb=new zD(f.localRect,f.transform)),h||(h=new zD(s,l)),h.intersect(f.obb)){d=!0;break}}}d?(i(u),c&&i(c)):(u.attr("ignore",o.defaultAttr.ignore),c&&c.attr("ignore",o.defaultAttr.labelGuideIgnore),e.push(o))}}function lG(t){if(t){for(var e=[],n=0;n<t.length;n++)e.push(t[n].slice());return e}}function uG(t,e){var n=t.label,i=e&&e.getTextGuideLine();return{dataIndex:t.dataIndex,dataType:t.dataType,seriesIndex:t.seriesModel.seriesIndex,text:t.label.style.text,rect:t.hostRect,labelRect:t.rect,align:n.style.align,verticalAlign:n.style.verticalAlign,labelLinePoints:lG(i&&i.shape.points)}}var cG=["align","verticalAlign","width","height","fontSize"],hG=new TS,dG=FM(),pG=FM();function fG(t,e,n){for(var i=0;i<n.length;i++){var r=n[i];null!=e[r]&&(t[r]=e[r])}}var gG=["x","y","rotation"],vG=function(){function t(){this._labelList=[],this._chartViewList=[]}return t.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},t.prototype._addLabel=function(t,e,n,i,r){var o=i.style,a=i.__hostTarget.textConfig||{},s=i.getComputedTransform(),l=i.getBoundingRect().plain();Hx.applyTransform(l,l,s),s?hG.setLocalTransform(s):(hG.x=hG.y=hG.rotation=hG.originX=hG.originY=0,hG.scaleX=hG.scaleY=1),hG.rotation=_A(hG.rotation);var u,c=i.__hostTarget;if(c){u=c.getBoundingRect().plain();var h=c.getComputedTransform();Hx.applyTransform(u,u,h)}var d=u&&c.getTextGuideLine();this._labelList.push({label:i,labelLine:d,seriesModel:n,dataIndex:t,dataType:e,layoutOption:r,computedLayoutOption:null,rect:l,hostRect:u,priority:u?u.width*u.height:0,defaultAttr:{ignore:i.ignore,labelGuideIgnore:d&&d.ignore,x:hG.x,y:hG.y,scaleX:hG.scaleX,scaleY:hG.scaleY,rotation:hG.rotation,style:{x:o.x,y:o.y,align:o.align,verticalAlign:o.verticalAlign,width:o.width,height:o.height,fontSize:o.fontSize},cursor:i.cursor,attachedPos:a.position,attachedRot:a.rotation}})},t.prototype.addLabelsOfSeries=function(t){var e=this;this._chartViewList.push(t);var n=t.__model,i=n.get("labelLayout");(r_(i)||t_(i).length)&&t.group.traverse((function(t){if(t.ignore)return!0;var r=t.getTextContent(),o=fC(t);r&&!r.disableLabelLayout&&e._addLabel(o.dataIndex,o.dataType,n,r,i)}))},t.prototype.updateLayoutConfig=function(t){var e=t.getWidth(),n=t.getHeight();function i(t,e){return function(){ZF(t,e)}}for(var r=0;r<this._labelList.length;r++){var o=this._labelList[r],a=o.label,s=a.__hostTarget,l=o.defaultAttr,u=void 0;u=(u=r_(o.layoutOption)?o.layoutOption(uG(o,s)):o.layoutOption)||{},o.computedLayoutOption=u;var c=Math.PI/180;s&&s.setTextConfig({local:!1,position:null!=u.x||null!=u.y?null:l.attachedPos,rotation:null!=u.rotate?u.rotate*c:l.attachedRot,offset:[u.dx||0,u.dy||0]});var h=!1;if(null!=u.x?(a.x=rM(u.x,e),a.setStyle("x",0),h=!0):(a.x=l.x,a.setStyle("x",l.style.x)),null!=u.y?(a.y=rM(u.y,n),a.setStyle("y",0),h=!0):(a.y=l.y,a.setStyle("y",l.style.y)),u.labelLinePoints){var d=s.getTextGuideLine();d&&(d.setShape({points:u.labelLinePoints}),h=!1)}dG(a).needsUpdateLabelLine=h,a.rotation=null!=u.rotate?u.rotate*c:l.rotation,a.scaleX=l.scaleX,a.scaleY=l.scaleY;for(var p=0;p<cG.length;p++){var f=cG[p];a.setStyle(f,null!=u[f]?u[f]:l.style[f])}if(u.draggable){if(a.draggable=!0,a.cursor="move",s){var g=o.seriesModel;if(null!=o.dataIndex)g=o.seriesModel.getData(o.dataType).getItemModel(o.dataIndex);a.on("drag",i(s,g.getModel("labelLine")))}}else a.off("drag"),a.cursor=l.cursor}},t.prototype.layout=function(t){var e,n=t.getWidth(),i=t.getHeight(),r=rG(this._labelList),o=Qy(r,(function(t){return"shiftX"===t.layoutOption.moveOverlap})),a=Qy(r,(function(t){return"shiftY"===t.layoutOption.moveOverlap}));oG(o,"x","width",0,n,e),aG(a,0,i),sG(Qy(r,(function(t){return t.layoutOption.hideOverlap})))},t.prototype.processLabelsOverall=function(){var t=this;Ky(this._chartViewList,(function(e){var n=e.__model,i=e.ignoreLabelLineUpdate,r=n.isAnimationEnabled();e.group.traverse((function(e){if(e.ignore&&!e.forceLabelAnimation)return!0;var o=!i,a=e.getTextContent();!o&&a&&(o=dG(a).needsUpdateLabelLine),o&&t._updateLabelLine(e,n),r&&t._animateLabels(e,n)}))}))},t.prototype._updateLabelLine=function(t,e){var n=t.getTextContent(),i=fC(t),r=i.dataIndex;if(n&&null!=r){var o=e.getData(i.dataType),a=o.getItemModel(r),s={},l=o.getItemVisual(r,"style");if(l){var u=o.getVisual("drawType");s.stroke=l[u]}var c=a.getModel("labelLine");nG(t,iG(a),s),ZF(t,c)}},t.prototype._animateLabels=function(t,e){var n=t.getTextContent(),i=t.getTextGuideLine();if(n&&(t.forceLabelAnimation||!n.ignore&&!n.invisible&&!t.disableLabelAnimation&&!XD(t))){var r=(p=dG(n)).oldLayout,o=fC(t),a=o.dataIndex,s={x:n.x,y:n.y,rotation:n.rotation},l=e.getData(o.dataType);if(r){n.attr(r);var u=t.prevStates;u&&(Xy(u,"select")>=0&&n.attr(p.oldLayoutSelect),Xy(u,"emphasis")>=0&&n.attr(p.oldLayoutEmphasis)),jD(n,s,e,a)}else if(n.attr(s),!Bk(n).valueAnimation){var c=g_(n.style.opacity,1);n.style.opacity=0,YD(n,{style:{opacity:c}},e,a)}if(p.oldLayout=s,n.states.select){var h=p.oldLayoutSelect={};fG(h,s,gG),fG(h,n.states.select,gG)}if(n.states.emphasis){var d=p.oldLayoutEmphasis={};fG(d,s,gG),fG(d,n.states.emphasis,gG)}Vk(n,a,l,e,e)}if(i&&!i.ignore&&!i.invisible){r=(p=pG(i)).oldLayout;var p,f={points:i.shape.points};r?(i.attr({shape:r}),jD(i,{shape:f},e)):(i.setShape(f),i.style.strokePercent=0,YD(i,{style:{strokePercent:1}},e)),p.oldLayout=f}},t}();const mG=vG;var yG=FM();var _G=Math.sin,xG=Math.cos,bG=Math.PI,wG=2*Math.PI,SG=180/bG,MG=function(){function t(){}return t.prototype.reset=function(t){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,t||4)},t.prototype.moveTo=function(t,e){this._add("M",t,e)},t.prototype.lineTo=function(t,e){this._add("L",t,e)},t.prototype.bezierCurveTo=function(t,e,n,i,r,o){this._add("C",t,e,n,i,r,o)},t.prototype.quadraticCurveTo=function(t,e,n,i){this._add("Q",t,e,n,i)},t.prototype.arc=function(t,e,n,i,r,o){this.ellipse(t,e,n,n,0,i,r,o)},t.prototype.ellipse=function(t,e,n,i,r,o,a,s){var l=a-o,u=!s,c=Math.abs(l),h=yw(c-wG)||(u?l>=wG:-l>=wG),d=l>0?l%wG:l%wG+wG,p=!1;p=!!h||!yw(c)&&d>=bG==!!u;var f=t+n*xG(o),g=e+i*_G(o);this._start&&this._add("M",f,g);var v=Math.round(r*SG);if(h){var m=1/this._p,y=(u?1:-1)*(wG-m);this._add("A",n,i,v,1,+u,t+n*xG(o+y),e+i*_G(o+y)),m>.01&&this._add("A",n,i,v,0,+u,f,g)}else{var _=t+n*xG(a),x=e+i*_G(a);this._add("A",n,i,v,+p,+u,_,x)}},t.prototype.rect=function(t,e,n,i){this._add("M",t,e),this._add("l",n,0),this._add("l",0,i),this._add("l",-n,0),this._add("Z")},t.prototype.closePath=function(){this._d.length>0&&this._add("Z")},t.prototype._add=function(t,e,n,i,r,o,a,s,l){for(var u=[],c=this._p,h=1;h<arguments.length;h++){var d=arguments[h];if(isNaN(d))return void(this._invalid=!0);u.push(Math.round(d*c)/c)}this._d.push(t+u.join(" ")),this._start="Z"===t},t.prototype.generateStr=function(){this._str=this._invalid?"":this._d.join(""),this._d=[]},t.prototype.getStr=function(){return this._str},t}();const IG=MG;var AG="none",CG=Math.round;var TG=["lineCap","miterLimit","lineJoin"],DG=$y(TG,(function(t){return"stroke-"+t.toLowerCase()}));function kG(t,e,n,i){var r=null==e.opacity?1:e.opacity;if(n instanceof WA)t("opacity",r);else{if(function(t){var e=t.fill;return null!=e&&e!==AG}(e)){var o=vw(e.fill);t("fill",o.color);var a=null!=e.fillOpacity?e.fillOpacity*o.opacity*r:o.opacity*r;(i||a<1)&&t("fill-opacity",a)}else t("fill",AG);if(function(t){var e=t.stroke;return null!=e&&e!==AG}(e)){var s=vw(e.stroke);t("stroke",s.color);var l=e.strokeNoScale?n.getLineScale():1,u=l?(e.lineWidth||0)/l:0,c=null!=e.strokeOpacity?e.strokeOpacity*s.opacity*r:s.opacity*r,h=e.strokeFirst;if((i||1!==u)&&t("stroke-width",u),(i||h)&&t("paint-order",h?"stroke":"fill"),(i||c<1)&&t("stroke-opacity",c),e.lineDash){var d=LN(n),p=d[0],f=d[1];p&&(f=CG(f||0),t("stroke-dasharray",p.join(",")),(f||i)&&t("stroke-dashoffset",f))}else i&&t("stroke-dasharray",AG);for(var g=0;g<TG.length;g++){var v=TG[g];if(i||e[v]!==PA[v]){var m=e[v]||PA[v];m&&t(DG[g],m)}}}else i&&t("stroke",AG)}}var LG="http://www.w3.org/2000/svg",PG="http://www.w3.org/1999/xlink",OG="http://www.w3.org/2000/xmlns/",EG="http://www.w3.org/XML/1998/namespace";function RG(t){return document.createElementNS(LG,t)}function NG(t,e,n,i,r){return{tag:t,attrs:n||{},children:i,text:r,key:e}}function BG(t,e){var n=(e=e||{}).newline?"\n":"";return function t(e){var i=e.children,r=e.tag,o=e.attrs,a=e.text;return function(t,e){var n=[];if(e)for(var i in e){var r=e[i],o=i;!1!==r&&(!0!==r&&null!=r&&(o+='="'+r+'"'),n.push(o))}return"<"+t+" "+n.join(" ")+">"}(r,o)+("style"!==r?ux(a):a||"")+(i?""+n+$y(i,(function(e){return t(e)})).join(n)+n:"")+function(t){return"</"+t+">"}(r)}(t)}function zG(t){return{zrId:t,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssClassIdx:0,cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function VG(t,e,n,i){return NG("svg","root",{width:t,height:e,xmlns:LG,"xmlns:xlink":PG,version:"1.1",baseProfile:"full",viewBox:!!i&&"0 0 "+t+" "+e},n)}var FG={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},GG="transform-origin";function HG(t,e,n){var i=jy({},t.shape);jy(i,e),t.buildPath(n,i);var r=new IG;return r.reset(Tw(t)),n.rebuildPath(r,1),r.generateStr(),r.getStr()}function WG(t,e){var n=e.originX,i=e.originY;(n||i)&&(t[GG]=n+"px "+i+"px")}var UG={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function jG(t,e){var n=e.zrId+"-ani-"+e.cssAnimIdx++;return e.cssAnims[n]=t,n}function YG(t){return o_(t)?FG[t]?"cubic-bezier("+FG[t]+")":Ub(t)?t:"":""}function XG(t,e,n,i){var r=t.animators,o=r.length,a=[];if(t instanceof DD){var s=function(t,e,n){var i,r,o=t.shape.paths,a={};if(Ky(o,(function(t){var e=zG(n.zrId);e.animation=!0,XG(t,{},e,!0);var o=e.cssAnims,s=e.cssNodes,l=t_(o),u=l.length;if(u){var c=o[r=l[u-1]];for(var h in c){var d=c[h];a[h]=a[h]||{d:""},a[h].d+=d.d||""}for(var p in s){var f=s[p].animation;f.indexOf(r)>=0&&(i=f)}}})),i){e.d=!1;var s=jG(a,n);return i.replace(r,s)}}(t,e,n);if(s)a.push(s);else if(!o)return}else if(!o)return;for(var l={},u=0;u<o;u++){var c=r[u],h=[c.getMaxTime()/1e3+"s"],d=YG(c.getClip().easing),p=c.getDelay();d?h.push(d):h.push("linear"),p&&h.push(p/1e3+"s"),c.getLoop()&&h.push("infinite");var f=h.join(" ");l[f]=l[f]||[f,[]],l[f][1].push(c)}function g(r){var o,a=r[1],s=a.length,l={},u={},c={},h="animation-timing-function";function d(t,e,n){for(var i=t.getTracks(),r=t.getMaxTime(),o=0;o<i.length;o++){var a=i[o];if(a.needsAnimate()){var s=a.keyframes,l=a.propName;if(n&&(l=n(l)),l)for(var u=0;u<s.length;u++){var c=s[u],d=Math.round(c.time/r*100)+"%",p=YG(c.easing),f=c.rawValue;(o_(f)||s_(f))&&(e[d]=e[d]||{},e[d][l]=c.rawValue,p&&(e[d][h]=p))}}}}for(var p=0;p<s;p++){(S=(w=a[p]).targetName)?"shape"===S&&d(w,u):!i&&d(w,l)}for(var f in l){var g={};CS(g,t),jy(g,l[f]);var v=Dw(g),m=l[f][h];c[f]=v?{transform:v}:{},WG(c[f],g),m&&(c[f][h]=m)}var y=!0;for(var f in u){c[f]=c[f]||{};var _=!o;m=u[f][h];_&&(o=new fA);var x=o.len();o.reset(),c[f].d=HG(t,u[f],o);var b=o.len();if(!_&&x!==b){y=!1;break}m&&(c[f][h]=m)}if(!y)for(var f in c)delete c[f].d;if(!i)for(p=0;p<s;p++){var w,S;"style"===(S=(w=a[p]).targetName)&&d(w,c,(function(t){return UG[t]}))}var M,I=t_(c),A=!0;for(p=1;p<I.length;p++){var C=I[p-1],T=I[p];if(c[C][GG]!==c[T][GG]){A=!1;break}M=c[C][GG]}if(A&&M){for(var f in c)c[f][GG]&&delete c[f][GG];e[GG]=M}if(Qy(I,(function(t){return t_(c[t]).length>0})).length)return jG(c,n)+" "+r[0]+" both"}for(var v in l){(s=g(l[v]))&&a.push(s)}if(a.length){var m=n.zrId+"-cls-"+n.cssClassIdx++;n.cssNodes["."+m]={animation:a.join(",")},e.class=m}}var qG=Math.round;function ZG(t){return t&&o_(t.src)}function KG(t){return t&&r_(t.toDataURL)}function $G(t,e,n,i){kG((function(r,o){var a="fill"===r||"stroke"===r;a&&Aw(o)?sH(e,t,r,i):a&&Sw(o)?lH(n,t,r,i):t[r]=o}),e,n,!1),function(t,e,n){var i=t.style;if(function(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)}(i)){var r=function(t){var e=t.style,n=t.getGlobalScale();return[e.shadowColor,(e.shadowBlur||0).toFixed(2),(e.shadowOffsetX||0).toFixed(2),(e.shadowOffsetY||0).toFixed(2),n[0],n[1]].join(",")}(t),o=n.shadowCache,a=o[r];if(!a){var s=t.getGlobalScale(),l=s[0],u=s[1];if(!l||!u)return;var c=i.shadowOffsetX||0,h=i.shadowOffsetY||0,d=i.shadowBlur,p=vw(i.shadowColor),f=p.opacity,g=p.color,v=d/2/l+" "+d/2/u;a=n.zrId+"-s"+n.shadowIdx++,n.defs[a]=NG("filter",a,{id:a,x:"-100%",y:"-100%",width:"300%",height:"300%"},[NG("feDropShadow","",{dx:c/l,dy:h/u,stdDeviation:v,"flood-color":g,"flood-opacity":f})]),o[r]=a}e.filter=Cw(a)}}(n,t,i)}function JG(t){return yw(t[0]-1)&&yw(t[1])&&yw(t[2])&&yw(t[3]-1)}function QG(t,e,n){if(e&&(!function(t){return yw(t[4])&&yw(t[5])}(e)||!JG(e))){var i=n?10:1e4;t.transform=JG(e)?"translate("+qG(e[4]*i)/i+" "+qG(e[5]*i)/i+")":function(t){return"matrix("+_w(t[0])+","+_w(t[1])+","+_w(t[2])+","+_w(t[3])+","+xw(t[4])+","+xw(t[5])+")"}(e)}}function tH(t,e,n){for(var i=t.points,r=[],o=0;o<i.length;o++)r.push(qG(i[o][0]*n)/n),r.push(qG(i[o][1]*n)/n);e.points=r.join(" ")}function eH(t){return!t.smooth}var nH,iH,rH={circle:[(nH=["cx","cy","r"],iH=$y(nH,(function(t){return"string"==typeof t?[t,t]:t})),function(t,e,n){for(var i=0;i<iH.length;i++){var r=iH[i],o=t[r[0]];null!=o&&(e[r[1]]=qG(o*n)/n)}})],polyline:[tH,eH],polygon:[tH,eH]};function oH(t,e){var n=t.style,i=t.shape,r=rH[t.type],o={},a=e.animation,s="path",l=t.style.strokePercent,u=e.compress&&Tw(t)||4;if(!r||e.willUpdate||r[1]&&!r[1](i)||a&&function(t){for(var e=t.animators,n=0;n<e.length;n++)if("shape"===e[n].targetName)return!0;return!1}(t)||l<1){var c=!t.path||t.shapeChanged();t.path||t.createPathProxy();var h=t.path;c&&(h.beginPath(),t.buildPath(h,t.shape),t.pathUpdated());var d=h.getVersion(),p=t,f=p.__svgPathBuilder;p.__svgPathVersion===d&&f&&l===p.__svgPathStrokePercent||(f||(f=p.__svgPathBuilder=new IG),f.reset(u),h.rebuildPath(f,l),f.generateStr(),p.__svgPathVersion=d,p.__svgPathStrokePercent=l),o.d=f.getStr()}else{s=t.type;var g=Math.pow(10,u);r[0](i,o,g)}return QG(o,t.transform),$G(o,n,t,e),e.animation&&XG(t,o,e),NG(s,t.id+"",o)}function aH(t,e){return t instanceof NA?oH(t,e):t instanceof WA?function(t,e){var n=t.style,i=n.image;if(i&&!o_(i)&&(ZG(i)?i=i.src:KG(i)&&(i=i.toDataURL())),i){var r=n.x||0,o=n.y||0,a={href:i,width:n.width,height:n.height};return r&&(a.x=r),o&&(a.y=o),QG(a,t.transform),$G(a,n,t,e),e.animation&&XG(t,a,e),NG("image",t.id+"",a)}}(t,e):t instanceof VA?function(t,e){var n=t.style,i=n.text;if(null!=i&&(i+=""),i&&!isNaN(n.x)&&!isNaN(n.y)){var r=n.font||Sy,o=n.x||0,a=function(t,e,n){return"top"===n?t+=e/2:"bottom"===n&&(t-=e/2),t}(n.y||0,RS(r),n.textBaseline),s={"dominant-baseline":"central","text-anchor":bw[n.textAlign]||n.textAlign};if(aC(n)){var l="",u=n.fontStyle,c=rC(n.fontSize);if(!parseFloat(c))return;var h=n.fontFamily||wy,d=n.fontWeight;l+="font-size:"+c+";font-family:"+h+";",u&&"normal"!==u&&(l+="font-style:"+u+";"),d&&"normal"!==d&&(l+="font-weight:"+d+";"),s.style=l}else s.style="font: "+r;return i.match(/\s/)&&(s["xml:space"]="preserve"),o&&(s.x=o),a&&(s.y=a),QG(s,t.transform),$G(s,n,t,e),e.animation&&XG(t,s,e),NG("text",t.id+"",s,void 0,i)}}(t,e):void 0}function sH(t,e,n,i){var r,o=t[n],a={gradientUnits:o.global?"userSpaceOnUse":"objectBoundingBox"};if(Mw(o))r="linearGradient",a.x1=o.x,a.y1=o.y,a.x2=o.x2,a.y2=o.y2;else{if(!Iw(o))return;r="radialGradient",a.cx=g_(o.x,.5),a.cy=g_(o.y,.5),a.r=g_(o.r,.5)}for(var s=o.colorStops,l=[],u=0,c=s.length;u<c;++u){var h=100*xw(s[u].offset)+"%",d=vw(s[u].color),p=d.color,f=d.opacity,g={offset:h};g["stop-color"]=p,f<1&&(g["stop-opacity"]=f),l.push(NG("stop",u+"",g))}var v=BG(NG(r,"",a,l)),m=i.gradientCache,y=m[v];y||(y=i.zrId+"-g"+i.gradientIdx++,m[v]=y,a.id=y,i.defs[y]=NG(r,y,a,l)),e[n]=Cw(y)}function lH(t,e,n,i){var r,o=t.style[n],a=t.getBoundingRect(),s={},l=o.repeat,u="no-repeat"===l,c="repeat-x"===l,h="repeat-y"===l;if(ww(o)){var d=o.imageWidth,p=o.imageHeight,f=void 0,g=o.image;if(o_(g)?f=g:ZG(g)?f=g.src:KG(g)&&(f=g.toDataURL()),"undefined"==typeof Image){var v="Image width/height must been given explictly in svg-ssr renderer.";__(d,v),__(p,v)}else if(null==d||null==p){var m=function(t,e){if(t){var n=t.elm,i=d||e.width,r=p||e.height;"pattern"===t.tag&&(c?(r=1,i/=a.width):h&&(i=1,r/=a.height)),t.attrs.width=i,t.attrs.height=r,n&&(n.setAttribute("width",i),n.setAttribute("height",r))}},y=hI(f,null,t,(function(t){u||m(w,t),m(r,t)}));y&&y.width&&y.height&&(d=d||y.width,p=p||y.height)}r=NG("image","img",{href:f,width:d,height:p}),s.width=d,s.height=p}else o.svgElement&&(r=Hy(o.svgElement),s.width=o.svgWidth,s.height=o.svgHeight);if(r){var _,x;u?_=x=1:c?(x=1,_=s.width/a.width):h?(_=1,x=s.height/a.height):s.patternUnits="userSpaceOnUse",null==_||isNaN(_)||(s.width=_),null==x||isNaN(x)||(s.height=x);var b=Dw(o);b&&(s.patternTransform=b);var w=NG("pattern","",s,[r]),S=BG(w),M=i.patternCache,I=M[S];I||(I=i.zrId+"-p"+i.patternIdx++,M[S]=I,s.id=I,w=i.defs[I]=NG("pattern",I,s,[r])),e[n]=Cw(I)}}function uH(t,e,n){var i=n.clipPathCache,r=n.defs,o=i[t.id];if(!o){var a={id:o=n.zrId+"-c"+n.clipPathIdx++};i[t.id]=o,r[o]=NG("clipPath",o,a,[oH(t,n)])}e["clip-path"]=Cw(o)}function cH(t){return document.createTextNode(t)}function hH(t,e,n){t.insertBefore(e,n)}function dH(t,e){t.removeChild(e)}function pH(t,e){t.appendChild(e)}function fH(t){return t.parentNode}function gH(t){return t.nextSibling}function vH(t,e){t.textContent=e}var mH=58,yH=120,_H=NG("","");function xH(t){return void 0===t}function bH(t){return void 0!==t}function wH(t,e,n){for(var i={},r=e;r<=n;++r){var o=t[r].key;void 0!==o&&(i[o]=r)}return i}function SH(t,e){var n=t.key===e.key;return t.tag===e.tag&&n}function MH(t){var e,n=t.children,i=t.tag;if(bH(i)){var r=t.elm=RG(i);if(CH(_H,t),i_(n))for(e=0;e<n.length;++e){var o=n[e];null!=o&&pH(r,MH(o))}else bH(t.text)&&!l_(t.text)&&pH(r,cH(t.text))}else t.elm=cH(t.text);return t.elm}function IH(t,e,n,i,r){for(;i<=r;++i){var o=n[i];null!=o&&hH(t,MH(o),e)}}function AH(t,e,n,i){for(;n<=i;++n){var r=e[n];if(null!=r)if(bH(r.tag))dH(fH(r.elm),r.elm);else dH(t,r.elm)}}function CH(t,e){var n,i=e.elm,r=t&&t.attrs||{},o=e.attrs||{};if(r!==o){for(n in o){var a=o[n];r[n]!==a&&(!0===a?i.setAttribute(n,""):!1===a?i.removeAttribute(n):n.charCodeAt(0)!==yH?i.setAttribute(n,a):"xmlns:xlink"===n||"xmlns"===n?i.setAttributeNS(OG,n,a):n.charCodeAt(3)===mH?i.setAttributeNS(EG,n,a):n.charCodeAt(5)===mH?i.setAttributeNS(PG,n,a):i.setAttribute(n,a))}for(n in r)n in o||i.removeAttribute(n)}}function TH(t,e){var n=e.elm=t.elm,i=t.children,r=e.children;t!==e&&(CH(t,e),xH(e.text)?bH(i)&&bH(r)?i!==r&&function(t,e,n){for(var i,r,o,a=0,s=0,l=e.length-1,u=e[0],c=e[l],h=n.length-1,d=n[0],p=n[h];a<=l&&s<=h;)null==u?u=e[++a]:null==c?c=e[--l]:null==d?d=n[++s]:null==p?p=n[--h]:SH(u,d)?(TH(u,d),u=e[++a],d=n[++s]):SH(c,p)?(TH(c,p),c=e[--l],p=n[--h]):SH(u,p)?(TH(u,p),hH(t,u.elm,gH(c.elm)),u=e[++a],p=n[--h]):SH(c,d)?(TH(c,d),hH(t,c.elm,u.elm),c=e[--l],d=n[++s]):(xH(i)&&(i=wH(e,a,l)),xH(r=i[d.key])||(o=e[r]).tag!==d.tag?hH(t,MH(d),u.elm):(TH(o,d),e[r]=void 0,hH(t,o.elm,u.elm)),d=n[++s]);(a<=l||s<=h)&&(a>l?IH(t,null==n[h+1]?null:n[h+1].elm,n,s,h):AH(t,e,a,l))}(n,i,r):bH(r)?(bH(t.text)&&vH(n,""),IH(n,null,r,0,r.length-1)):bH(i)?AH(n,i,0,i.length-1):bH(t.text)&&vH(n,""):t.text!==e.text&&(bH(i)&&AH(n,i,0,i.length-1),vH(n,e.text)))}var DH=0,kH=function(){function t(t,e,n){if(this.type="svg",this.refreshHover=function(){},this.configLayer=function(){},this.storage=e,this._opts=n=jy({},n),this.root=t,this._id="zr"+DH++,this._oldVNode=VG(n.width,n.height),t&&!n.ssr){var i=this._viewport=document.createElement("div");i.style.cssText="position:relative;overflow:hidden";var r=this._svgDom=this._oldVNode.elm=RG("svg");CH(null,this._oldVNode),i.appendChild(r),t.appendChild(i)}this.resize(n.width,n.height)}return t.prototype.getType=function(){return this.type},t.prototype.getViewportRoot=function(){return this._viewport},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.getSvgDom=function(){return this._svgDom},t.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",function(t,e){if(SH(t,e))TH(t,e);else{var n=t.elm,i=fH(n);MH(e),null!==i&&(hH(i,e.elm,gH(n)),AH(i,[t],0,0))}}(this._oldVNode,t),this._oldVNode=t}},t.prototype.renderOneToVNode=function(t){return aH(t,zG(this._id))},t.prototype.renderToVNode=function(t){t=t||{};var e=this.storage.getDisplayList(!0),n=this._width,i=this._height,r=zG(this._id);r.animation=t.animation,r.willUpdate=t.willUpdate,r.compress=t.compress;var o=[],a=this._bgVNode=function(t,e,n,i){var r;if(n&&"none"!==n)if(r=NG("rect","bg",{width:t,height:e,x:"0",y:"0",id:"0"}),Aw(n))sH({fill:n},r.attrs,"fill",i);else if(Sw(n))lH({style:{fill:n},dirty:P_,getBoundingRect:function(){return{width:t,height:e}}},r.attrs,"fill",i);else{var o=vw(n),a=o.color,s=o.opacity;r.attrs.fill=a,s<1&&(r.attrs["fill-opacity"]=s)}return r}(n,i,this._backgroundColor,r);a&&o.push(a);var s=t.compress?null:this._mainVNode=NG("g","main",{},[]);this._paintList(e,r,s?s.children:o),s&&o.push(s);var l=$y(t_(r.defs),(function(t){return r.defs[t]}));if(l.length&&o.push(NG("defs","defs",{},l)),t.animation){var u=function(t,e,n){var i=(n=n||{}).newline?"\n":"",r=" {"+i,o=i+"}",a=$y(t_(t),(function(e){return e+r+$y(t_(t[e]),(function(n){return n+":"+t[e][n]+";"})).join(i)+o})).join(i),s=$y(t_(e),(function(t){return"@keyframes "+t+r+$y(t_(e[t]),(function(n){return n+r+$y(t_(e[t][n]),(function(i){var r=e[t][n][i];return"d"===i&&(r='path("'+r+'")'),i+":"+r+";"})).join(i)+o})).join(i)+o})).join(i);return a||s?["<![CDATA[",a,s,"]]>"].join(i):""}(r.cssNodes,r.cssAnims,{newline:!0});if(u){var c=NG("style","stl",{},[],u);o.push(c)}}return VG(n,i,o,t.useViewBox)},t.prototype.renderToString=function(t){return t=t||{},BG(this.renderToVNode({animation:g_(t.cssAnimation,!0),willUpdate:!1,compress:!0,useViewBox:g_(t.useViewBox,!0)}),{newline:!0})},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t},t.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},t.prototype._paintList=function(t,e,n){for(var i,r,o=t.length,a=[],s=0,l=0,u=0;u<o;u++){var c=t[u];if(!c.invisible){var h=c.__clipPaths,d=h&&h.length||0,p=r&&r.length||0,f=void 0;for(f=Math.max(d-1,p-1);f>=0&&(!h||!r||h[f]!==r[f]);f--);for(var g=p-1;g>f;g--)i=a[--s-1];for(var v=f+1;v<d;v++){var m={};uH(h[v],m,e);var y=NG("g","clip-g-"+l++,m,[]);(i?i.children:n).push(y),a[s++]=y,i=y}r=h;var _=aH(c,e);_&&(i?i.children:n).push(_)}}},t.prototype.resize=function(t,e){var n=this._opts,i=this.root,r=this._viewport;if(null!=t&&(n.width=t),null!=e&&(n.height=e),i&&r&&(r.style.display="none",t=kN(i,0,n),e=kN(i,1,n),r.style.display=""),this._width!==t||this._height!==e){if(this._width=t,this._height=e,r){var o=r.style;o.width=t+"px",o.height=e+"px"}if(Sw(this._backgroundColor))this.refresh();else{var a=this._svgDom;a&&(a.setAttribute("width",t),a.setAttribute("height",e));var s=this._bgVNode&&this._bgVNode.elm;s&&(s.setAttribute("width",t),s.setAttribute("height",e))}}},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t.prototype.dispose=function(){this.root&&(this.root.innerHTML=""),this._svgDom=this._viewport=this.storage=this._oldVNode=this._bgVNode=this._mainVNode=null},t.prototype.clear=function(){this._svgDom&&(this._svgDom.innerHTML=null),this._oldVNode=null},t.prototype.toDataURL=function(t){var e=this.renderToString(),n="data:image/svg+xml;";return t?(e=kw(e))&&n+"base64,"+e:n+"charset=UTF-8,"+encodeURIComponent(e)},t}();const LH=kH;function PH(t,e,n){var i=Cy.createCanvas(),r=e.getWidth(),o=e.getHeight(),a=i.style;return a&&(a.position="absolute",a.left="0",a.top="0",a.width=r+"px",a.height=o+"px",i.setAttribute("data-zr-dom-id",t)),i.width=r*n,i.height=o*n,i}var OH=function(t){function e(e,n,i){var r,o=t.call(this)||this;o.motionBlur=!1,o.lastFrameAlpha=.7,o.dpr=1,o.virtual=!1,o.config={},o.incremental=!1,o.zlevel=0,o.maxRepaintRectCount=5,o.__dirty=!0,o.__firstTimePaint=!0,o.__used=!1,o.__drawIndex=0,o.__startIndex=0,o.__endIndex=0,o.__prevStartIndex=null,o.__prevEndIndex=null,i=i||gS,"string"==typeof e?r=PH(e,n,i):l_(e)&&(e=(r=e).id),o.id=e,o.dom=r;var a=r.style;return a&&(k_(r),r.onselectstart=function(){return!1},a.padding="0",a.margin="0",a.borderWidth="0"),o.painter=n,o.dpr=i,o}return my(e,t),e.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},e.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},e.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},e.prototype.setUnpainted=function(){this.__firstTimePaint=!0},e.prototype.createBackBuffer=function(){var t=this.dpr;this.domBack=PH("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!==t&&this.ctxBack.scale(t,t)},e.prototype.createRepaintRects=function(t,e,n,i){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var r,o=[],a=this.maxRepaintRectCount,s=!1,l=new Hx(0,0,0,0);function u(t){if(t.isFinite()&&!t.isZero())if(0===o.length){(e=new Hx(0,0,0,0)).copy(t),o.push(e)}else{for(var e,n=!1,i=1/0,r=0,u=0;u<o.length;++u){var c=o[u];if(c.intersect(t)){var h=new Hx(0,0,0,0);h.copy(c),h.union(t),o[u]=h,n=!0;break}if(s){l.copy(t),l.union(c);var d=t.width*t.height,p=c.width*c.height,f=l.width*l.height-d-p;f<i&&(i=f,r=u)}}if(s&&(o[r].union(t),n=!0),!n)(e=new Hx(0,0,0,0)).copy(t),o.push(e);s||(s=o.length>=a)}}for(var c=this.__startIndex;c<this.__endIndex;++c){if(p=t[c]){var h=p.shouldBePainted(n,i,!0,!0);(f=p.__isRendered&&(p.__dirty&lb||!h)?p.getPrevPaintRect():null)&&u(f);var d=h&&(p.__dirty&lb||!p.__isRendered)?p.getPaintRect():null;d&&u(d)}}for(c=this.__prevStartIndex;c<this.__prevEndIndex;++c){var p,f;h=(p=e[c]).shouldBePainted(n,i,!0,!0);if(p&&(!h||!p.__zr)&&p.__isRendered)(f=p.getPrevPaintRect())&&u(f)}do{r=!1;for(c=0;c<o.length;)if(o[c].isZero())o.splice(c,1);else{for(var g=c+1;g<o.length;)o[c].intersect(o[g])?(r=!0,o[c].union(o[g]),o.splice(g,1)):g++;c++}}while(r);return this._paintRects=o,o},e.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},e.prototype.resize=function(t,e){var n=this.dpr,i=this.dom,r=i.style,o=this.domBack;r&&(r.width=t+"px",r.height=e+"px"),i.width=t*n,i.height=e*n,o&&(o.width=t*n,o.height=e*n,1!==n&&this.ctxBack.scale(n,n))},e.prototype.clear=function(t,e,n){var i=this.dom,r=this.ctx,o=i.width,a=i.height;e=e||this.clearColor;var s=this.motionBlur&&!t,l=this.lastFrameAlpha,u=this.dpr,c=this;s&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(i,0,0,o/u,a/u));var h=this.domBack;function d(t,n,i,o){if(r.clearRect(t,n,i,o),e&&"transparent"!==e){var a=void 0;if(d_(e))a=(e.global||e.__width===i&&e.__height===o)&&e.__canvasGradient||TN(r,e,{x:0,y:0,width:i,height:o}),e.__canvasGradient=a,e.__width=i,e.__height=o;else null!=e.image&&(e.scaleX=e.scaleX||u,e.scaleY=e.scaleY||u,a=zN(r,e,{dirty:function(){c.setUnpainted(),c.__painter.refresh()}}));r.save(),r.fillStyle=a||e,r.fillRect(t,n,i,o),r.restore()}s&&(r.save(),r.globalAlpha=l,r.drawImage(h,t,n,i,o),r.restore())}!n||s?d(0,0,o,a):n.length&&Ky(n,(function(t){d(t.x*u,t.y*u,t.width*u,t.height*u)}))},e}(Q_);const EH=OH;var RH=1e5,NH=314159,BH=.01;var zH=function(){function t(t,e,n,i){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var r=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=n=jy({},n||{}),this.dpr=n.devicePixelRatio||gS,this._singleCanvas=r,this.root=t,t.style&&(k_(t),t.innerHTML=""),this.storage=e;var o=this._zlevelList;this._prevDisplayList=[];var a=this._layers;if(r){var s=t,l=s.width,u=s.height;null!=n.width&&(l=n.width),null!=n.height&&(u=n.height),this.dpr=n.devicePixelRatio||1,s.width=l*this.dpr,s.height=u*this.dpr,this._width=l,this._height=u;var c=new EH(s,this,this.dpr);c.__builtin__=!0,c.initContext(),a[314159]=c,c.zlevel=NH,o.push(NH),this._domRoot=t}else{this._width=kN(t,0,n),this._height=kN(t,1,n);var h=this._domRoot=function(t,e){var n=document.createElement("div");return n.style.cssText=["position:relative","width:"+t+"px","height:"+e+"px","padding:0","margin:0","border-width:0"].join(";")+";",n}(this._width,this._height);t.appendChild(h)}}return t.prototype.getType=function(){return"canvas"},t.prototype.isSingleCanvas=function(){return this._singleCanvas},t.prototype.getViewportRoot=function(){return this._domRoot},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.refresh=function(t){var e=this.storage.getDisplayList(!0),n=this._prevDisplayList,i=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,n,t,this._redrawId);for(var r=0;r<i.length;r++){var o=i[r],a=this._layers[o];if(!a.__builtin__&&a.refresh){var s=0===r?this._backgroundColor:null;a.refresh(s)}}return this._opts.useDirtyRect&&(this._prevDisplayList=e.slice()),this},t.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},t.prototype._paintHoverList=function(t){var e=t.length,n=this._hoverlayer;if(n&&n.clear(),e){for(var i,r={inHover:!0,viewWidth:this._width,viewHeight:this._height},o=0;o<e;o++){var a=t[o];a.__inHover&&(n||(n=this._hoverlayer=this.getLayer(RH)),i||(i=n.ctx).save(),$N(i,a,r,o===e-1))}i&&i.restore()}},t.prototype.getHoverLayer=function(){return this.getLayer(RH)},t.prototype.paintOne=function(t,e){KN(t,e)},t.prototype._paintList=function(t,e,n,i){if(this._redrawId===i){n=n||!1,this._updateLayerStatus(t);var r=this._doPaintList(t,e,n),o=r.finished,a=r.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),a&&this._paintHoverList(t),o)this.eachLayer((function(t){t.afterBrush&&t.afterBrush()}));else{var s=this;vb((function(){s._paintList(t,e,n,i)}))}}},t.prototype._compositeManually=function(){var t=this.getLayer(NH).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)}))},t.prototype._doPaintList=function(t,e,n){for(var i=this,r=[],o=this._opts.useDirtyRect,a=0;a<this._zlevelList.length;a++){var s=this._zlevelList[a],l=this._layers[s];l.__builtin__&&l!==this._hoverlayer&&(l.__dirty||n)&&r.push(l)}for(var u=!0,c=!1,h=function(a){var s,l=r[a],h=l.ctx,p=o&&l.createRepaintRects(t,e,d._width,d._height),f=n?l.__startIndex:l.__drawIndex,g=!n&&l.incremental&&Date.now,v=g&&Date.now(),m=l.zlevel===d._zlevelList[0]?d._backgroundColor:null;if(l.__startIndex===l.__endIndex)l.clear(!1,m,p);else if(f===l.__startIndex){var y=t[f];y.incremental&&y.notClear&&!n||l.clear(!1,m,p)}-1===f&&(console.error("For some unknown reason. drawIndex is -1"),f=l.__startIndex);var _=function(e){var n={inHover:!1,allClipped:!1,prevEl:null,viewWidth:i._width,viewHeight:i._height};for(s=f;s<l.__endIndex;s++){var r=t[s];if(r.__inHover&&(c=!0),i._doPaintEl(r,l,o,e,n,s===l.__endIndex-1),g)if(Date.now()-v>15)break}n.prevElClipPaths&&h.restore()};if(p)if(0===p.length)s=l.__endIndex;else for(var x=d.dpr,b=0;b<p.length;++b){var w=p[b];h.save(),h.beginPath(),h.rect(w.x*x,w.y*x,w.width*x,w.height*x),h.clip(),_(w),h.restore()}else h.save(),_(),h.restore();l.__drawIndex=s,l.__drawIndex<l.__endIndex&&(u=!1)},d=this,p=0;p<r.length;p++)h(p);return xy.wxa&&Ky(this._layers,(function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()})),{finished:u,needsRefreshHover:c}},t.prototype._doPaintEl=function(t,e,n,i,r,o){var a=e.ctx;if(n){var s=t.getPaintRect();(!i||s&&s.intersect(i))&&($N(a,t,r,o),t.setPrevPaintRect(s))}else $N(a,t,r,o)},t.prototype.getLayer=function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=NH);var n=this._layers[t];return n||((n=new EH("zr_"+t,this,this.dpr)).zlevel=t,n.__builtin__=!0,this._layerConfig[t]?Wy(n,this._layerConfig[t],!0):this._layerConfig[t-BH]&&Wy(n,this._layerConfig[t-BH],!0),e&&(n.virtual=e),this.insertLayer(t,n),n.initContext()),n},t.prototype.insertLayer=function(t,e){var n=this._layers,i=this._zlevelList,r=i.length,o=this._domRoot,a=null,s=-1;if(!n[t]&&function(t){return!!t&&(!!t.__builtin__||"function"==typeof t.resize&&"function"==typeof t.refresh)}(e)){if(r>0&&t>i[0]){for(s=0;s<r-1&&!(i[s]<t&&i[s+1]>t);s++);a=n[i[s]]}if(i.splice(s+1,0,t),n[t]=e,!e.virtual)if(a){var l=a.dom;l.nextSibling?o.insertBefore(e.dom,l.nextSibling):o.appendChild(e.dom)}else o.firstChild?o.insertBefore(e.dom,o.firstChild):o.appendChild(e.dom);e.__painter=this}},t.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i];t.call(e,this._layers[r],r)}},t.prototype.eachBuiltinLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i],o=this._layers[r];o.__builtin__&&t.call(e,o,r)}},t.prototype.eachOtherLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i],o=this._layers[r];o.__builtin__||t.call(e,o,r)}},t.prototype.getLayers=function(){return this._layers},t.prototype._updateLayerStatus=function(t){function e(t){o&&(o.__endIndex!==t&&(o.__dirty=!0),o.__endIndex=t)}if(this.eachBuiltinLayer((function(t,e){t.__dirty=t.__used=!1})),this._singleCanvas)for(var n=1;n<t.length;n++){if((s=t[n]).zlevel!==t[n-1].zlevel||s.incremental){this._needsManuallyCompositing=!0;break}}var i,r,o=null,a=0;for(r=0;r<t.length;r++){var s,l=(s=t[r]).zlevel,u=void 0;i!==l&&(i=l,a=0),s.incremental?((u=this.getLayer(l+.001,this._needsManuallyCompositing)).incremental=!0,a=1):u=this.getLayer(l+(a>0?BH:0),this._needsManuallyCompositing),u.__builtin__||Gy("ZLevel "+l+" has been used by unkown layer "+u.id),u!==o&&(u.__used=!0,u.__startIndex!==r&&(u.__dirty=!0),u.__startIndex=r,u.incremental?u.__drawIndex=-1:u.__drawIndex=r,e(r),o=u),s.__dirty&lb&&!s.__inHover&&(u.__dirty=!0,u.incremental&&u.__drawIndex<0&&(u.__drawIndex=r))}e(r),this.eachBuiltinLayer((function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(t){t.clear()},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t,Ky(this._layers,(function(t){t.setUnpainted()}))},t.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?Wy(n[t],e,!0):n[t]=e;for(var i=0;i<this._zlevelList.length;i++){var r=this._zlevelList[i];if(r===t||r===t+BH)Wy(this._layers[r],n[t],!0)}}},t.prototype.delLayer=function(t){var e=this._layers,n=this._zlevelList,i=e[t];i&&(i.dom.parentNode.removeChild(i.dom),delete e[t],n.splice(Xy(n,t),1))},t.prototype.resize=function(t,e){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var i=this._opts,r=this.root;if(null!=t&&(i.width=t),null!=e&&(i.height=e),t=kN(r,0,i),e=kN(r,1,i),n.style.display="",this._width!==t||e!==this._height){for(var o in n.style.width=t+"px",n.style.height=e+"px",this._layers)this._layers.hasOwnProperty(o)&&this._layers[o].resize(t,e);this.refresh(!0)}this._width=t,this._height=e}else{if(null==t||null==e)return;this._width=t,this._height=e,this.getLayer(NH).resize(t,e)}return this},t.prototype.clearLayer=function(t){var e=this._layers[t];e&&e.clear()},t.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},t.prototype.getRenderedCanvas=function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._layers[314159].dom;var e=new EH("image",this,t.pixelRatio||this.dpr);e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor);var n=e.ctx;if(t.pixelRatio<=this.dpr){this.refresh();var i=e.dom.width,r=e.dom.height;this.eachLayer((function(t){t.__builtin__?n.drawImage(t.dom,0,0,i,r):t.renderToCanvas&&(n.save(),t.renderToCanvas(n),n.restore())}))}else for(var o={inHover:!1,viewWidth:this._width,viewHeight:this._height},a=this.storage.getDisplayList(!0),s=0,l=a.length;s<l;s++){var u=a[s];$N(n,u,o,s===l-1)}return e.dom},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t}();const VH=zH;const FH=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return my(e,t),e.prototype.getInitialData=function(t){return Zz(null,this,{useEncodeDefaulter:!0})},e.prototype.getLegendIcon=function(t){var e=new KS,n=MN("line",0,t.itemHeight/2,t.itemWidth,0,t.lineStyle.stroke,!1);e.add(n),n.setStyle(t.lineStyle);var i=this.getData().getVisual("symbol"),r=this.getData().getVisual("symbolRotate"),o="none"===i?"circle":i,a=.8*t.itemHeight,s=MN(o,(t.itemWidth-a)/2,(t.itemHeight-a)/2,a,a,t.itemStyle.fill);e.add(s),s.setStyle(t.itemStyle);var l="inherit"===t.iconRotate?r:t.iconRotate||0;return s.rotation=l*Math.PI/180,s.setOrigin([t.itemWidth/2,t.itemHeight/2]),o.indexOf("empty")>-1&&(s.style.stroke=s.style.fill,s.style.fill="#fff",s.style.lineWidth=2),e},e.type="series.line",e.dependencies=["grid","polar"],e.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},e}(nR);function GH(t,e){var n=t.mapDimensionsAll("defaultedLabel"),i=n.length;if(1===i){var r=jO(t,e,n[0]);return null!=r?r+"":null}if(i){for(var o=[],a=0;a<n.length;a++)o.push(jO(t,e,n[a]));return o.join(" ")}}function HH(t,e){var n=t.mapDimensionsAll("defaultedLabel");if(!i_(e))return e+"";for(var i=[],r=0;r<n.length;r++){var o=t.getDimensionIndex(n[r]);o>=0&&i.push(e[o])}return i.join(" ")}var WH=function(t){function e(e,n,i,r){var o=t.call(this)||this;return o.updateData(e,n,i,r),o}return my(e,t),e.prototype._createSymbol=function(t,e,n,i,r){this.removeAll();var o=MN(t,-1,-1,2,2,null,r);o.attr({z2:100,culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),o.drift=UH,this._symbolType=t,this.add(o)},e.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},e.prototype.getSymbolType=function(){return this._symbolType},e.prototype.getSymbolPath=function(){return this.childAt(0)},e.prototype.highlight=function(){ZC(this.childAt(0))},e.prototype.downplay=function(){KC(this.childAt(0))},e.prototype.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},e.prototype.setDraggable=function(t,e){var n=this.childAt(0);n.draggable=t,n.cursor=!e&&t?"move":n.cursor},e.prototype.updateData=function(t,n,i,r){this.silent=!1;var o=t.getItemVisual(n,"symbol")||"circle",a=t.hostModel,s=e.getSymbolSize(t,n),l=o!==this._symbolType,u=r&&r.disableAnimation;if(l){var c=t.getItemVisual(n,"symbolKeepAspect");this._createSymbol(o,t,n,s,c)}else{(d=this.childAt(0)).silent=!1;var h={scaleX:s[0]/2,scaleY:s[1]/2};u?d.attr(h):jD(d,h,a,n),$D(d)}if(this._updateCommon(t,n,s,i,r),l){var d=this.childAt(0);if(!u){h={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:d.style.opacity}};d.scaleX=d.scaleY=0,d.style.opacity=0,YD(d,h,a,n)}}u&&this.childAt(0).stopAnimation("leave")},e.prototype._updateCommon=function(t,e,n,i,r){var o,a,s,l,u,c,h,d,p,f=this.childAt(0),g=t.hostModel;if(i&&(o=i.emphasisItemStyle,a=i.blurItemStyle,s=i.selectItemStyle,l=i.focus,u=i.blurScope,h=i.labelStatesModels,d=i.hoverScale,p=i.cursorStyle,c=i.emphasisDisabled),!i||t.hasItemOption){var v=i&&i.itemModel?i.itemModel:t.getItemModel(e),m=v.getModel("emphasis");o=m.getModel("itemStyle").getItemStyle(),s=v.getModel(["select","itemStyle"]).getItemStyle(),a=v.getModel(["blur","itemStyle"]).getItemStyle(),l=m.get("focus"),u=m.get("blurScope"),c=m.get("disabled"),h=Dk(v),d=m.getShallow("scale"),p=v.getShallow("cursor")}var y=t.getItemVisual(e,"symbolRotate");f.attr("rotation",(y||0)*Math.PI/180||0);var _=AN(t.getItemVisual(e,"symbolOffset"),n);_&&(f.x=_[0],f.y=_[1]),p&&f.attr("cursor",p);var x=t.getItemVisual(e,"style"),b=x.fill;if(f instanceof WA){var w=f.style;f.useStyle(jy({image:w.image,x:w.x,y:w.y,width:w.width,height:w.height},x))}else f.__isEmptyBrush?f.useStyle(jy({},x)):f.useStyle(x),f.style.decal=null,f.setColor(b,r&&r.symbolInnerColor),f.style.strokeNoScale=!0;var S=t.getItemVisual(e,"liftZ"),M=this._z2;null!=S?null==M&&(this._z2=f.z2,f.z2+=S):null!=M&&(f.z2=M,this._z2=null);var I=r&&r.useNameLabel;Tk(f,h,{labelFetcher:g,labelDataIndex:e,defaultText:function(e){return I?t.getName(e):GH(t,e)},inheritColor:b,defaultOpacity:x.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var A=f.ensureState("emphasis");A.style=o,f.ensureState("select").style=s,f.ensureState("blur").style=a;var C=null==d||!0===d?Math.max(1.1,3/this._sizeY):isFinite(d)&&d>0?+d:1;A.scaleX=this._sizeX*C,A.scaleY=this._sizeY*C,this.setSymbolScale(1),uT(this,l,u,c)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,e,n){var i=this.childAt(0),r=fC(this).dataIndex,o=n&&n.animation;if(this.silent=i.silent=!0,n&&n.fadeLabel){var a=i.getTextContent();a&&qD(a,{style:{opacity:0}},e,{dataIndex:r,removeOpt:o,cb:function(){i.removeTextContent()}})}else i.removeTextContent();qD(i,{style:{opacity:0},scaleX:0,scaleY:0},e,{dataIndex:r,cb:t,removeOpt:o})},e.getSymbolSize=function(t,e){return IN(t.getItemVisual(e,"symbolSize"))},e}(KS);function UH(t,e){this.parent.drift(t,e)}const jH=WH;function YH(t,e,n,i){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(i.isIgnore&&i.isIgnore(n))&&!(i.clipShape&&!i.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(n,"symbol")}function XH(t){return null==t||l_(t)||(t={isIgnore:t}),t||{}}function qH(t){var e=t.hostModel,n=e.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:Dk(e),cursorStyle:e.get("cursor")}}var ZH=function(){function t(t){this.group=new KS,this._SymbolCtor=t||jH}return t.prototype.updateData=function(t,e){this._progressiveEls=null,e=XH(e);var n=this.group,i=t.hostModel,r=this._data,o=this._SymbolCtor,a=e.disableAnimation,s=qH(t),l={disableAnimation:a},u=e.getSymbolPoint||function(e){return t.getItemLayout(e)};r||n.removeAll(),t.diff(r).add((function(i){var r=u(i);if(YH(t,r,i,e)){var a=new o(t,i,s,l);a.setPosition(r),t.setItemGraphicEl(i,a),n.add(a)}})).update((function(c,h){var d=r.getItemGraphicEl(h),p=u(c);if(YH(t,p,c,e)){var f=t.getItemVisual(c,"symbol")||"circle",g=d&&d.getSymbolType&&d.getSymbolType();if(!d||g&&g!==f)n.remove(d),(d=new o(t,c,s,l)).setPosition(p);else{d.updateData(t,c,s,l);var v={x:p[0],y:p[1]};a?d.attr(v):jD(d,v,i)}n.add(d),t.setItemGraphicEl(c,d)}else n.remove(d)})).remove((function(t){var e=r.getItemGraphicEl(t);e&&e.fadeOut((function(){n.remove(e)}),i)})).execute(),this._getSymbolPoint=u,this._data=t},t.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl((function(e,n){var i=t._getSymbolPoint(n);e.setPosition(i),e.markRedraw()}))},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=qH(t),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e,n){function i(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],n=XH(n);for(var r=t.start;r<t.end;r++){var o=e.getItemLayout(r);if(YH(e,o,r,n)){var a=new this._SymbolCtor(e,r,this._seriesScope);a.traverse(i),a.setPosition(o),this.group.add(a),e.setItemGraphicEl(r,a),this._progressiveEls.push(a)}}},t.prototype.eachRendered=function(t){Sk(this._progressiveEls||this.group,t)},t.prototype.remove=function(t){var e=this.group,n=this._data;n&&t?n.eachItemGraphicEl((function(t){t.fadeOut((function(){e.remove(t)}),n.hostModel)})):e.removeAll()},t}();const KH=ZH;function $H(t,e,n){var i=t.getBaseAxis(),r=t.getOtherAxis(i),o=function(t,e){var n=0,i=t.scale.getExtent();"start"===e?n=i[0]:"end"===e?n=i[1]:s_(e)&&!isNaN(e)?n=e:i[0]>0?n=i[0]:i[1]<0&&(n=i[1]);return n}(r,n),a=i.dim,s=r.dim,l=e.mapDimension(s),u=e.mapDimension(a),c="x"===s||"radius"===s?1:0,h=$y(t.dimensions,(function(t){return e.mapDimension(t)})),d=!1,p=e.getCalculationInfo("stackResultDimension");return Xz(e,h[0])&&(d=!0,h[0]=p),Xz(e,h[1])&&(d=!0,h[1]=p),{dataDimsForPoint:h,valueStart:o,valueAxisDim:s,baseAxisDim:a,stacked:!!d,valueDim:l,baseDim:u,baseDataOffset:c,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function JH(t,e,n,i){var r=NaN;t.stacked&&(r=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(r)&&(r=t.valueStart);var o=t.baseDataOffset,a=[];return a[o]=n.get(t.baseDim,i),a[1-o]=r,e.dataToPoint(a)}var QH=Math.min,tW=Math.max;function eW(t,e){return isNaN(t)||isNaN(e)}function nW(t,e,n,i,r,o,a,s,l){for(var u,c,h,d,p,f,g=n,v=0;v<i;v++){var m=e[2*g],y=e[2*g+1];if(g>=r||g<0)break;if(eW(m,y)){if(l){g+=o;continue}break}if(g===n)t[o>0?"moveTo":"lineTo"](m,y),h=m,d=y;else{var _=m-u,x=y-c;if(_*_+x*x<.5){g+=o;continue}if(a>0){for(var b=g+o,w=e[2*b],S=e[2*b+1];w===m&&S===y&&v<i;)v++,g+=o,w=e[2*(b+=o)],S=e[2*b+1],_=(m=e[2*g])-u,x=(y=e[2*g+1])-c;var M=v+1;if(l)for(;eW(w,S)&&M<i;)M++,w=e[2*(b+=o)],S=e[2*b+1];var I=.5,A=0,C=0,T=void 0,D=void 0;if(M>=i||eW(w,S))p=m,f=y;else{A=w-u,C=S-c;var k=m-u,L=w-m,P=y-c,O=S-y,E=void 0,R=void 0;if("x"===s){var N=A>0?1:-1;p=m-N*(E=Math.abs(k))*a,f=y,T=m+N*(R=Math.abs(L))*a,D=y}else if("y"===s){var B=C>0?1:-1;p=m,f=y-B*(E=Math.abs(P))*a,T=m,D=y+B*(R=Math.abs(O))*a}else E=Math.sqrt(k*k+P*P),p=m-A*a*(1-(I=(R=Math.sqrt(L*L+O*O))/(R+E))),f=y-C*a*(1-I),D=y+C*a*I,T=QH(T=m+A*a*I,tW(w,m)),D=QH(D,tW(S,y)),T=tW(T,QH(w,m)),f=y-(C=(D=tW(D,QH(S,y)))-y)*E/R,p=QH(p=m-(A=T-m)*E/R,tW(u,m)),f=QH(f,tW(c,y)),T=m+(A=m-(p=tW(p,QH(u,m))))*R/E,D=y+(C=y-(f=tW(f,QH(c,y))))*R/E}t.bezierCurveTo(h,d,p,f,m,y),h=T,d=D}else t.lineTo(m,y)}u=m,c=y,g+=o}return v}var iW=function(){this.smooth=0,this.smoothConstraint=!0},rW=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polyline",n}return my(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new iW},e.prototype.buildPath=function(t,e){var n=e.points,i=0,r=n.length/2;if(e.connectNulls){for(;r>0&&eW(n[2*r-2],n[2*r-1]);r--);for(;i<r&&eW(n[2*i],n[2*i+1]);i++);}for(;i<r;)i+=nW(t,n,i,r,r,1,e.smooth,e.smoothMonotone,e.connectNulls)+1},e.prototype.getPointOn=function(t,e){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var n,i,r=this.path.data,o=fA.CMD,a="x"===e,s=[],l=0;l<r.length;){var u=void 0,c=void 0,h=void 0,d=void 0,p=void 0,f=void 0,g=void 0;switch(r[l++]){case o.M:n=r[l++],i=r[l++];break;case o.L:if(u=r[l++],c=r[l++],(g=a?(t-n)/(u-n):(t-i)/(c-i))<=1&&g>=0){var v=a?(c-i)*g+i:(u-n)*g+n;return a?[t,v]:[v,t]}n=u,i=c;break;case o.C:u=r[l++],c=r[l++],h=r[l++],d=r[l++],p=r[l++],f=r[l++];var m=a?Pb(n,u,h,p,t,s):Pb(i,c,d,f,t,s);if(m>0)for(var y=0;y<m;y++){var _=s[y];if(_<=1&&_>=0){v=a?kb(i,c,d,f,_):kb(n,u,h,p,_);return a?[t,v]:[v,t]}}n=p,i=f}}},e}(NA),oW=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return my(e,t),e}(iW),aW=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polygon",n}return my(e,t),e.prototype.getDefaultShape=function(){return new oW},e.prototype.buildPath=function(t,e){var n=e.points,i=e.stackedOnPoints,r=0,o=n.length/2,a=e.smoothMonotone;if(e.connectNulls){for(;o>0&&eW(n[2*o-2],n[2*o-1]);o--);for(;r<o&&eW(n[2*r],n[2*r+1]);r++);}for(;r<o;){var s=nW(t,n,r,o,o,1,e.smooth,a,e.connectNulls);nW(t,i,r+s-1,s,o,-1,e.stackedOnSmooth,a,e.connectNulls),r+=s+1,t.closePath()}},e}(NA);function sW(t,e,n,i,r){var o=t.getArea(),a=o.x,s=o.y,l=o.width,u=o.height,c=n.get(["lineStyle","width"])||2;a-=c/2,s-=c/2,l+=c,u+=c,a=Math.floor(a),l=Math.round(l);var h=new $A({shape:{x:a,y:s,width:l,height:u}});if(e){var d=t.getBaseAxis(),p=d.isHorizontal(),f=d.inverse;p?(f&&(h.shape.x+=l),h.shape.width=0):(f||(h.shape.y+=u),h.shape.height=0);var g=r_(r)?function(t){r(t,h)}:null;YD(h,{shape:{width:l,height:u,x:a,y:s}},n,null,i,g)}return h}function lW(t,e,n){var i=t.getArea(),r=oM(i.r0,1),o=oM(i.r,1),a=new oD({shape:{cx:oM(t.cx,1),cy:oM(t.cy,1),r0:r,r:o,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}});e&&("angle"===t.getBaseAxis().dim?a.shape.endAngle=i.startAngle:a.shape.r=r,YD(a,{shape:{endAngle:i.endAngle,r:o}},n));return a}function uW(t,e,n,i,r){return t?"polar"===t.type?lW(t,e,n):"cartesian2d"===t.type?sW(t,e,n,i,r):null:null}function cW(t,e){return t.type===e}function hW(t,e){if(t.length===e.length){for(var n=0;n<t.length;n++)if(t[n]!==e[n])return;return!0}}function dW(t){for(var e=1/0,n=1/0,i=-1/0,r=-1/0,o=0;o<t.length;){var a=t[o++],s=t[o++];isNaN(a)||(e=Math.min(a,e),i=Math.max(a,i)),isNaN(s)||(n=Math.min(s,n),r=Math.max(s,r))}return[[e,n],[i,r]]}function pW(t,e){var n=dW(t),i=n[0],r=n[1],o=dW(e),a=o[0],s=o[1];return Math.max(Math.abs(i[0]-a[0]),Math.abs(i[1]-a[1]),Math.abs(r[0]-s[0]),Math.abs(r[1]-s[1]))}function fW(t){return s_(t)?t:t?.5:0}function gW(t,e,n,i){var r=e.getBaseAxis(),o="x"===r.dim||"radius"===r.dim?0:1,a=[],s=0,l=[],u=[],c=[],h=[];if(i){for(s=0;s<t.length;s+=2)isNaN(t[s])||isNaN(t[s+1])||h.push(t[s],t[s+1]);t=h}for(s=0;s<t.length-2;s+=2)switch(c[0]=t[s+2],c[1]=t[s+3],u[0]=t[s],u[1]=t[s+1],a.push(u[0],u[1]),n){case"end":l[o]=c[o],l[1-o]=u[1-o],a.push(l[0],l[1]);break;case"middle":var d=(u[o]+c[o])/2,p=[];l[o]=p[o]=d,l[1-o]=u[1-o],p[1-o]=c[1-o],a.push(l[0],l[1]),a.push(p[0],p[1]);break;default:l[o]=u[o],l[1-o]=c[1-o],a.push(l[0],l[1])}return a.push(t[s++],t[s++]),a}function vW(t,e){var n,i,r=[],o=t.length;function a(t,e,n){var i=t.coord;return{coord:n,color:function(t,e,n){if(e&&e.length&&t>=0&&t<=1){var i=t*(e.length-1),r=Math.floor(i),o=Math.ceil(i),a=sw(e[r]),s=sw(e[o]),l=i-r,u=pw([Kb(ew(a[0],s[0],l)),Kb(ew(a[1],s[1],l)),Kb(ew(a[2],s[2],l)),$b(ew(a[3],s[3],l))],"rgba");return n?{color:u,leftIndex:r,rightIndex:o,value:i}:u}}((n-i)/(e.coord-i),[t.color,e.color])}}for(var s=0;s<o;s++){var l=t[s],u=l.coord;if(u<0)n=l;else{if(u>e){i?r.push(a(i,l,e)):n&&r.push(a(n,l,0),a(n,l,e));break}n&&(r.push(a(n,l,0)),n=null),r.push(l),i=l}}return r}function mW(t,e,n){var i=t.get("showAllSymbol"),r="auto"===i;if(!i||r){var o=n.getAxesByScale("ordinal")[0];if(o&&(!r||!function(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(),o=Math.max(1,Math.round(r/5)),a=0;a<r;a+=o)if(1.5*jH.getSymbolSize(e,a)[t.isHorizontal()?1:0]>i)return!1;return!0}(o,e))){var a=e.mapDimension(o.dim),s={};return Ky(o.getViewLabels(),(function(t){var e=o.scale.getRawOrdinalNumber(t.tickValue);s[e]=1})),function(t){return!s.hasOwnProperty(e.get(a,t))}}}}function yW(t,e){return[t[2*e],t[2*e+1]]}function _W(t){if(t.get(["endLabel","show"]))return!0;for(var e=0;e<SC.length;e++)if(t.get([SC[e],"endLabel","show"]))return!0;return!1}function xW(t,e,n,i){if(cW(e,"cartesian2d")){var r=i.getModel("endLabel"),o=r.get("valueAnimation"),a=i.getData(),s={lastFrameIndex:0},l=_W(i)?function(n,i){t._endLabelOnDuring(n,i,a,s,o,r,e)}:null,u=e.getBaseAxis().isHorizontal(),c=sW(e,n,i,(function(){var e=t._endLabel;e&&n&&null!=s.originalX&&e.attr({x:s.originalX,y:s.originalY})}),l);if(!i.get("clip",!0)){var h=c.shape,d=Math.max(h.width,h.height);u?(h.y-=d,h.height+=2*d):(h.x-=d,h.width+=2*d)}return l&&l(1,c),c}return lW(e,n,i)}var bW=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return my(e,t),e.prototype.init=function(){var t=new KS,e=new KH;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},e.prototype.render=function(t,e,n){var i=this,r=t.coordinateSystem,o=this.group,a=t.getData(),s=t.getModel("lineStyle"),l=t.getModel("areaStyle"),u=a.getLayout("points")||[],c="polar"===r.type,h=this._coordSys,d=this._symbolDraw,p=this._polyline,f=this._polygon,g=this._lineGroup,v=!e.ssr&&t.isAnimationEnabled(),m=!l.isEmpty(),y=l.get("origin"),_=$H(r,a,y),x=m&&function(t,e,n){if(!n.valueDim)return[];for(var i=e.count(),r=vV(2*i),o=0;o<i;o++){var a=JH(n,t,e,o);r[2*o]=a[0],r[2*o+1]=a[1]}return r}(r,a,_),b=t.get("showSymbol"),w=t.get("connectNulls"),S=b&&!c&&mW(t,a,r),M=this._data;M&&M.eachItemGraphicEl((function(t,e){t.__temp&&(o.remove(t),M.setItemGraphicEl(e,null))})),b||d.remove(),o.add(g);var I,A=!c&&t.get("step");r&&r.getArea&&t.get("clip",!0)&&(null!=(I=r.getArea()).width?(I.x-=.1,I.y-=.1,I.width+=.2,I.height+=.2):I.r0&&(I.r0-=.5,I.r+=.5)),this._clipShapeForSymbol=I;var C=function(t,e,n){var i=t.getVisual("visualMeta");if(i&&i.length&&t.count()&&"cartesian2d"===e.type){for(var r,o,a=i.length-1;a>=0;a--){var s=t.getDimensionInfo(i[a].dimension);if("x"===(r=s&&s.coordDim)||"y"===r){o=i[a];break}}if(o){var l=e.getAxis(r),u=$y(o.stops,(function(t){return{coord:l.toGlobalCoord(l.dataToCoord(t.value)),color:t.color}})),c=u.length,h=o.outerColors.slice();c&&u[0].coord>u[c-1].coord&&(u.reverse(),h.reverse());var d=vW(u,"x"===r?n.getWidth():n.getHeight()),p=d.length;if(!p&&c)return u[0].coord<0?h[1]?h[1]:u[c-1].color:h[0]?h[0]:u[0].color;var f=d[0].coord-10,g=d[p-1].coord+10,v=g-f;if(v<.001)return"transparent";Ky(d,(function(t){t.offset=(t.coord-f)/v})),d.push({offset:p?d[p-1].offset:.5,color:h[1]||"transparent"}),d.unshift({offset:p?d[0].offset:.5,color:h[0]||"transparent"});var m=new LD(0,0,0,0,d,!0);return m[r]=f,m[r+"2"]=g,m}}}(a,r,n)||a.getVisual("style")[a.getVisual("drawType")];if(p&&h.type===r.type&&A===this._step){m&&!f?f=this._newPolygon(u,x):f&&!m&&(g.remove(f),f=this._polygon=null),c||this._initOrUpdateEndLabel(t,r,ZL(C));var T=g.getClipPath();if(T)YD(T,{shape:xW(this,r,!1,t).shape},t);else g.setClipPath(xW(this,r,!0,t));b&&d.updateData(a,{isIgnore:S,clipShape:I,disableAnimation:!0,getSymbolPoint:function(t){return[u[2*t],u[2*t+1]]}}),hW(this._stackedOnPoints,x)&&hW(this._points,u)||(v?this._doUpdateAnimation(a,x,r,n,A,y,w):(A&&(u=gW(u,r,A,w),x&&(x=gW(x,r,A,w))),p.setShape({points:u}),f&&f.setShape({points:u,stackedOnPoints:x})))}else b&&d.updateData(a,{isIgnore:S,clipShape:I,disableAnimation:!0,getSymbolPoint:function(t){return[u[2*t],u[2*t+1]]}}),v&&this._initSymbolLabelAnimation(a,r,I),A&&(u=gW(u,r,A,w),x&&(x=gW(x,r,A,w))),p=this._newPolyline(u),m?f=this._newPolygon(u,x):f&&(g.remove(f),f=this._polygon=null),c||this._initOrUpdateEndLabel(t,r,ZL(C)),g.setClipPath(xW(this,r,!0,t));var D=t.getModel("emphasis"),k=D.get("focus"),L=D.get("blurScope"),P=D.get("disabled");(p.useStyle(Yy(s.getLineStyle(),{fill:"none",stroke:C,lineJoin:"bevel"})),pT(p,t,"lineStyle"),p.style.lineWidth>0&&"bolder"===t.get(["emphasis","lineStyle","width"]))&&(p.getState("emphasis").style.lineWidth=+p.style.lineWidth+1);fC(p).seriesIndex=t.seriesIndex,uT(p,k,L,P);var O=fW(t.get("smooth")),E=t.get("smoothMonotone");if(p.setShape({smooth:O,smoothMonotone:E,connectNulls:w}),f){var R=a.getCalculationInfo("stackedOnSeries"),N=0;f.useStyle(Yy(l.getAreaStyle(),{fill:C,opacity:.7,lineJoin:"bevel",decal:a.getVisual("style").decal})),R&&(N=fW(R.get("smooth"))),f.setShape({smooth:O,stackedOnSmooth:N,smoothMonotone:E,connectNulls:w}),pT(f,t,"areaStyle"),fC(f).seriesIndex=t.seriesIndex,uT(f,k,L,P)}var B=function(t){i._changePolyState(t)};a.eachItemGraphicEl((function(t){t&&(t.onHoverStateChange=B)})),this._polyline.onHoverStateChange=B,this._data=a,this._coordSys=r,this._stackedOnPoints=x,this._points=u,this._step=A,this._valueOrigin=y,t.get("triggerLineEvent")&&(this.packEventData(t,p),f&&this.packEventData(t,f))},e.prototype.packEventData=function(t,e){fC(e).eventData={componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line"}},e.prototype.highlight=function(t,e,n,i){var r=t.getData(),o=VM(r,i);if(this._changePolyState("emphasis"),!(o instanceof Array)&&null!=o&&o>=0){var a=r.getLayout("points"),s=r.getItemGraphicEl(o);if(!s){var l=a[2*o],u=a[2*o+1];if(isNaN(l)||isNaN(u))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,u))return;var c=t.get("zlevel")||0,h=t.get("z")||0;(s=new jH(r,o)).x=l,s.y=u,s.setZ(c,h);var d=s.getSymbolPath().getTextContent();d&&(d.zlevel=c,d.z=h,d.z2=this._polyline.z2+1),s.__temp=!0,r.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else fR.prototype.highlight.call(this,t,e,n,i)},e.prototype.downplay=function(t,e,n,i){var r=t.getData(),o=VM(r,i);if(this._changePolyState("normal"),null!=o&&o>=0){var a=r.getItemGraphicEl(o);a&&(a.__temp?(r.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else fR.prototype.downplay.call(this,t,e,n,i)},e.prototype._changePolyState=function(t){var e=this._polygon;UC(this._polyline,t),e&&UC(e,t)},e.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new rW({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(e),this._polyline=e,e},e.prototype._newPolygon=function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new aW({shape:{points:t,stackedOnPoints:e},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},e.prototype._initSymbolLabelAnimation=function(t,e,n){var i,r,o=e.getBaseAxis(),a=o.inverse;"cartesian2d"===e.type?(i=o.isHorizontal(),r=!1):"polar"===e.type&&(i="angle"===o.dim,r=!0);var s=t.hostModel,l=s.get("animationDuration");r_(l)&&(l=l(null));var u=s.get("animationDelay")||0,c=r_(u)?u(null):u;t.eachItemGraphicEl((function(t,o){var s=t;if(s){var h=[t.x,t.y],d=void 0,p=void 0,f=void 0;if(n)if(r){var g=n,v=e.pointToCoord(h);i?(d=g.startAngle,p=g.endAngle,f=-v[1]/180*Math.PI):(d=g.r0,p=g.r,f=v[0])}else{var m=n;i?(d=m.x,p=m.x+m.width,f=t.x):(d=m.y+m.height,p=m.y,f=t.y)}var y=p===d?0:(f-d)/(p-d);a&&(y=1-y);var _=r_(u)?u(o):l*y+c,x=s.getSymbolPath(),b=x.getTextContent();s.attr({scaleX:0,scaleY:0}),s.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:_}),b&&b.animateFrom({style:{opacity:0}},{duration:300,delay:_}),x.disableLabelAnimation=!0}}))},e.prototype._initOrUpdateEndLabel=function(t,e,n){var i=t.getModel("endLabel");if(_W(t)){var r=t.getData(),o=this._polyline,a=r.getLayout("points");if(!a)return o.removeTextContent(),void(this._endLabel=null);var s=this._endLabel;s||((s=this._endLabel=new pC({z2:200})).ignoreClip=!0,o.setTextContent(this._endLabel),o.disableLabelAnimation=!0);var l=function(t){for(var e,n,i=t.length/2;i>0&&(e=t[2*i-2],n=t[2*i-1],isNaN(e)||isNaN(n));i--);return i-1}(a);l>=0&&(Tk(o,Dk(t,"endLabel"),{inheritColor:n,labelFetcher:t,labelDataIndex:l,defaultText:function(t,e,n){return null!=n?HH(r,n):GH(r,t)},enableTextSetter:!0},function(t,e){var n=e.getBaseAxis(),i=n.isHorizontal(),r=n.inverse,o=i?r?"right":"left":"center",a=i?"middle":r?"top":"bottom";return{normal:{align:t.get("align")||o,verticalAlign:t.get("verticalAlign")||a}}}(i,e)),o.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(t,e,n,i,r,o,a){var s=this._endLabel,l=this._polyline;if(s){t<1&&null==i.originalX&&(i.originalX=s.x,i.originalY=s.y);var u=n.getLayout("points"),c=n.hostModel,h=c.get("connectNulls"),d=o.get("precision"),p=o.get("distance")||0,f=a.getBaseAxis(),g=f.isHorizontal(),v=f.inverse,m=e.shape,y=v?g?m.x:m.y+m.height:g?m.x+m.width:m.y,_=(g?p:0)*(v?-1:1),x=(g?0:-p)*(v?-1:1),b=g?"x":"y",w=function(t,e,n){for(var i,r,o=t.length/2,a="x"===n?0:1,s=0,l=-1,u=0;u<o;u++)if(r=t[2*u+a],!isNaN(r)&&!isNaN(t[2*u+1-a]))if(0!==u){if(i<=e&&r>=e||i>=e&&r<=e){l=u;break}s=u,i=r}else i=r;return{range:[s,l],t:(e-i)/(r-i)}}(u,y,b),S=w.range,M=S[1]-S[0],I=void 0;if(M>=1){if(M>1&&!h){var A=yW(u,S[0]);s.attr({x:A[0]+_,y:A[1]+x}),r&&(I=c.getRawValue(S[0]))}else{(A=l.getPointOn(y,b))&&s.attr({x:A[0]+_,y:A[1]+x});var C=c.getRawValue(S[0]),T=c.getRawValue(S[1]);r&&(I=ZM(n,d,C,T,w.t))}i.lastFrameIndex=S[0]}else{var D=1===t||i.lastFrameIndex>0?S[0]:0;A=yW(u,D);r&&(I=c.getRawValue(D)),s.attr({x:A[0]+_,y:A[1]+x})}if(r){var k=Bk(s);"function"==typeof k.setLabelText&&k.setLabelText(I)}}},e.prototype._doUpdateAnimation=function(t,e,n,i,r,o,a){var s=this._polyline,l=this._polygon,u=t.hostModel,c=function(t,e,n,i,r,o,a,s){for(var l=function(t,e){var n=[];return e.diff(t).add((function(t){n.push({cmd:"+",idx:t})})).update((function(t,e){n.push({cmd:"=",idx:e,idx1:t})})).remove((function(t){n.push({cmd:"-",idx:t})})).execute(),n}(t,e),u=[],c=[],h=[],d=[],p=[],f=[],g=[],v=$H(r,e,a),m=t.getLayout("points")||[],y=e.getLayout("points")||[],_=0;_<l.length;_++){var x=l[_],b=!0,w=void 0,S=void 0;switch(x.cmd){case"=":w=2*x.idx,S=2*x.idx1;var M=m[w],I=m[w+1],A=y[S],C=y[S+1];(isNaN(M)||isNaN(I))&&(M=A,I=C),u.push(M,I),c.push(A,C),h.push(n[w],n[w+1]),d.push(i[S],i[S+1]),g.push(e.getRawIndex(x.idx1));break;case"+":var T=x.idx,D=v.dataDimsForPoint,k=r.dataToPoint([e.get(D[0],T),e.get(D[1],T)]);S=2*T,u.push(k[0],k[1]),c.push(y[S],y[S+1]);var L=JH(v,r,e,T);h.push(L[0],L[1]),d.push(i[S],i[S+1]),g.push(e.getRawIndex(T));break;case"-":b=!1}b&&(p.push(x),f.push(f.length))}f.sort((function(t,e){return g[t]-g[e]}));var P=u.length,O=vV(P),E=vV(P),R=vV(P),N=vV(P),B=[];for(_=0;_<f.length;_++){var z=f[_],V=2*_,F=2*z;O[V]=u[F],O[V+1]=u[F+1],E[V]=c[F],E[V+1]=c[F+1],R[V]=h[F],R[V+1]=h[F+1],N[V]=d[F],N[V+1]=d[F+1],B[_]=p[z]}return{current:O,next:E,stackedOnCurrent:R,stackedOnNext:N,status:B}}(this._data,t,this._stackedOnPoints,e,this._coordSys,0,this._valueOrigin),h=c.current,d=c.stackedOnCurrent,p=c.next,f=c.stackedOnNext;if(r&&(h=gW(c.current,n,r,a),d=gW(c.stackedOnCurrent,n,r,a),p=gW(c.next,n,r,a),f=gW(c.stackedOnNext,n,r,a)),pW(h,p)>3e3||l&&pW(d,f)>3e3)return s.stopAnimation(),s.setShape({points:p}),void(l&&(l.stopAnimation(),l.setShape({points:p,stackedOnPoints:f})));s.shape.__points=c.current,s.shape.points=h;var g={shape:{points:p}};c.current!==h&&(g.shape.__points=c.next),s.stopAnimation(),jD(s,g,u),l&&(l.setShape({points:h,stackedOnPoints:d}),l.stopAnimation(),jD(l,{shape:{stackedOnPoints:f}},u),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var v=[],m=c.status,y=0;y<m.length;y++){if("="===m[y].cmd){var _=t.getItemGraphicEl(m[y].idx1);_&&v.push({el:_,ptIdx:y})}}s.animators&&s.animators.length&&s.animators[0].during((function(){l&&l.dirtyShape();for(var t=s.shape.__points,e=0;e<v.length;e++){var n=v[e].el,i=2*v[e].ptIdx;n.x=t[i],n.y=t[i+1],n.markRedraw()}}))},e.prototype.remove=function(t){var e=this.group,n=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),n&&n.eachItemGraphicEl((function(t,i){t.__temp&&(e.remove(t),n.setItemGraphicEl(i,null))})),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},e.type="line",e}(fR);const wW=bW;function SW(t,e){return{seriesType:t,plan:oR(),reset:function(t){var n=t.getData(),i=t.coordinateSystem,r=t.pipelineContext,o=e||r.large;if(i){var a=$y(i.dimensions,(function(t){return n.mapDimension(t)})).slice(0,2),s=a.length,l=n.getCalculationInfo("stackResultDimension");Xz(n,a[0])&&(a[0]=l),Xz(n,a[1])&&(a[1]=l);var u=n.getStore(),c=n.getDimensionIndex(a[0]),h=n.getDimensionIndex(a[1]);return s&&{progress:function(t,e){for(var n=t.end-t.start,r=o&&vV(n*s),a=[],l=[],d=t.start,p=0;d<t.end;d++){var f=void 0;if(1===s){var g=u.get(c,d);f=i.dataToPoint(g,null,l)}else a[0]=u.get(c,d),a[1]=u.get(h,d),f=i.dataToPoint(a,null,l);o?(r[p++]=f[0],r[p++]=f[1]):e.setItemLayout(d,f.slice())}o&&e.setLayout("points",r)}}}}}}var MW={average:function(t){for(var e=0,n=0,i=0;i<t.length;i++)isNaN(t[i])||(e+=t[i],n++);return 0===n?NaN:e/n},sum:function(t){for(var e=0,n=0;n<t.length;n++)e+=t[n]||0;return e},max:function(t){for(var e=-1/0,n=0;n<t.length;n++)t[n]>e&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n<t.length;n++)t[n]<e&&(e=t[n]);return isFinite(e)?e:NaN},nearest:function(t){return t[0]}},IW=function(t){return Math.round(t.length/2)};function AW(t){return{seriesType:t,reset:function(t,e,n){var i=t.getData(),r=t.get("sampling"),o=t.coordinateSystem,a=i.count();if(a>10&&"cartesian2d"===o.type&&r){var s=o.getBaseAxis(),l=o.getOtherAxis(s),u=s.getExtent(),c=n.getDevicePixelRatio(),h=Math.abs(u[1]-u[0])*(c||1),d=Math.round(a/h);if(isFinite(d)&&d>1){"lttb"===r&&t.setData(i.lttbDownSample(i.mapDimension(l.dim),1/d));var p=void 0;o_(r)?p=MW[r]:r_(r)&&(p=r),p&&t.setData(i.downSample(i.mapDimension(l.dim),1/d,p,IW))}}}}}var CW=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.getInitialData=function(t,e){return Zz(null,this,{useEncodeDefaulter:!0})},e.prototype.getMarkerPosition=function(t,e,n){var i=this.coordinateSystem;if(i&&i.clampData){var r=i.clampData(t),o=i.dataToPoint(r);if(n)Ky(i.getAxes(),(function(t,n){if("category"===t.type&&null!=e){var i=t.getTicksCoords(),a=r[n],s="x1"===e[n]||"y1"===e[n];if(s&&(a+=1),i.length<2)return;if(2===i.length)return void(o[n]=t.toGlobalCoord(t.getExtent()[s?1:0]));for(var l=void 0,u=void 0,c=1,h=0;h<i.length;h++){var d=i[h].coord,p=h===i.length-1?i[h-1].tickValue+c:i[h].tickValue;if(p===a){u=d;break}if(p<a)l=d;else if(null!=l&&p>a){u=(d+l)/2;break}1===h&&(c=p-i[0].tickValue)}null==u&&(l?l&&(u=i[i.length-1].coord):u=i[0].coord),o[n]=t.toGlobalCoord(u)}}));else{var a=this.getData(),s=a.getLayout("offset"),l=a.getLayout("size"),u=i.getBaseAxis().isHorizontal()?0:1;o[u]+=s+l/2}return o}return[NaN,NaN]},e.type="series.__base_bar__",e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},e}(nR);nR.registerClass(CW);const TW=CW;const DW=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.getInitialData=function(){return Zz(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},e.prototype.getProgressive=function(){return!!this.get("large")&&this.get("progressive")},e.prototype.getProgressiveThreshold=function(){var t=this.get("progressiveThreshold"),e=this.get("largeThreshold");return e>t&&(t=e),t},e.prototype.brushSelector=function(t,e,n){return n.rect(e.getItemLayout(t))},e.type="series.bar",e.dependencies=["grid","polar"],e.defaultOption=iL(TW.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),e}(TW);var kW=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0};const LW=function(t){function e(e){var n=t.call(this,e)||this;return n.type="sausage",n}return my(e,t),e.prototype.getDefaultShape=function(){return new kW},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r0||0,0),o=Math.max(e.r,0),a=.5*(o-r),s=r+a,l=e.startAngle,u=e.endAngle,c=e.clockwise,h=2*Math.PI,d=c?u-l<h:l-u<h;d||(l=u-(c?h:-h));var p=Math.cos(l),f=Math.sin(l),g=Math.cos(u),v=Math.sin(u);d?(t.moveTo(p*r+n,f*r+i),t.arc(p*s+n,f*s+i,a,-Math.PI+l,l,!c)):t.moveTo(p*o+n,f*o+i),t.arc(n,i,o,l,u,!c),t.arc(g*s+n,v*s+i,a,u-2*Math.PI,u-Math.PI,!c),0!==r&&t.arc(n,i,r,u,l,c)},e}(NA);function PW(t,e,n){return e*Math.sin(t)*(n?-1:1)}function OW(t,e,n){return e*Math.cos(t)*(n?1:-1)}function EW(t,e,n){var i=t.get("borderRadius");if(null==i)return n?{cornerRadius:0}:null;i_(i)||(i=[i,i,i,i]);var r=Math.abs(e.r||0-e.r0||0);return{cornerRadius:$y(i,(function(t){return NS(t,r)}))}}var RW=Math.max,NW=Math.min;var BW=function(t){function e(){var n=t.call(this)||this;return n.type=e.type,n._isFirstFrame=!0,n}return my(e,t),e.prototype.render=function(t,e,n,i){this._model=t,this._removeOnRenderedListener(n),this._updateDrawMode(t);var r=t.get("coordinateSystem");"cartesian2d"!==r&&"polar"!==r||(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(t,e,n):this._renderNormal(t,e,n,i))},e.prototype.incrementalPrepareRender=function(t){this._clear(),this._updateDrawMode(t),this._updateLargeClip(t)},e.prototype.incrementalRender=function(t,e){this._progressiveEls=[],this._incrementalRenderLarge(t,e)},e.prototype.eachRendered=function(t){Sk(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},e.prototype._renderNormal=function(t,e,n,i){var r,o=this.group,a=t.getData(),s=this._data,l=t.coordinateSystem,u=l.getBaseAxis();"cartesian2d"===l.type?r=u.isHorizontal():"polar"===l.type&&(r="angle"===u.dim);var c=t.isAnimationEnabled()?t:null,h=function(t,e){var n=t.get("realtimeSort",!0),i=e.getBaseAxis();if(n&&"category"===i.type&&"cartesian2d"===e.type)return{baseAxis:i,otherAxis:e.getOtherAxis(i)}}(t,l);h&&this._enableRealtimeSort(h,a,n);var d=t.get("clip",!0)||h,p=function(t,e){var n=t.getArea&&t.getArea();if(cW(t,"cartesian2d")){var i=t.getBaseAxis();if("category"!==i.type||!i.onBand){var r=e.getLayout("bandWidth");i.isHorizontal()?(n.x-=r,n.width+=2*r):(n.y-=r,n.height+=2*r)}}return n}(l,a);o.removeClipPath();var f=t.get("roundCap",!0),g=t.get("showBackground",!0),v=t.getModel("backgroundStyle"),m=v.get("borderRadius")||0,y=[],_=this._backgroundEls,x=i&&i.isInitSort,b=i&&"changeAxisOrder"===i.type;function w(t){var e=jW[l.type](a,t),n=function(t,e,n){var i="polar"===t.type?oD:$A;return new i({shape:JW(e,n,t),silent:!0,z2:0})}(l,r,e);return n.useStyle(v.getItemStyle()),"cartesian2d"===l.type?n.setShape("r",m):n.setShape("cornerRadius",m),y[t]=n,n}a.diff(s).add((function(e){var n=a.getItemModel(e),i=jW[l.type](a,e,n);if(g&&w(e),a.hasValue(e)&&UW[l.type](i)){var s=!1;d&&(s=zW[l.type](p,i));var v=VW[l.type](t,a,e,i,r,c,u.model,!1,f);h&&(v.forceLabelAnimation=!0),XW(v,a,e,n,i,t,r,"polar"===l.type),x?v.attr({shape:i}):h?FW(h,c,v,i,e,r,!1,!1):YD(v,{shape:i},t,e),a.setItemGraphicEl(e,v),o.add(v),v.ignore=s}})).update((function(e,n){var i=a.getItemModel(e),S=jW[l.type](a,e,i);if(g){var M=void 0;0===_.length?M=w(n):((M=_[n]).useStyle(v.getItemStyle()),"cartesian2d"===l.type?M.setShape("r",m):M.setShape("cornerRadius",m),y[e]=M);var I=jW[l.type](a,e);jD(M,{shape:JW(r,I,l)},c,e)}var A=s.getItemGraphicEl(n);if(a.hasValue(e)&&UW[l.type](S)){var C=!1;if(d&&(C=zW[l.type](p,S))&&o.remove(A),A?$D(A):A=VW[l.type](t,a,e,S,r,c,u.model,!!A,f),h&&(A.forceLabelAnimation=!0),b){var T=A.getTextContent();if(T){var D=Bk(T);null!=D.prevValue&&(D.prevValue=D.value)}}else XW(A,a,e,i,S,t,r,"polar"===l.type);x?A.attr({shape:S}):h?FW(h,c,A,S,e,r,!0,b):jD(A,{shape:S},t,e,null),a.setItemGraphicEl(e,A),A.ignore=C,o.add(A)}else o.remove(A)})).remove((function(e){var n=s.getItemGraphicEl(e);n&&KD(n,t,e)})).execute();var S=this._backgroundGroup||(this._backgroundGroup=new KS);S.removeAll();for(var M=0;M<y.length;++M)S.add(y[M]);o.add(S),this._backgroundEls=y,this._data=a},e.prototype._renderLarge=function(t,e,n){this._clear(),KW(t,this.group),this._updateLargeClip(t)},e.prototype._incrementalRenderLarge=function(t,e){this._removeBackground(),KW(e,this.group,this._progressiveEls,!0)},e.prototype._updateLargeClip=function(t){var e=t.get("clip",!0)&&uW(t.coordinateSystem,!1,t),n=this.group;e?n.setClipPath(e):n.removeClipPath()},e.prototype._enableRealtimeSort=function(t,e,n){var i=this;if(e.count()){var r=t.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(e,t,n),this._isFirstFrame=!1;else{var o=function(t){var n=e.getItemGraphicEl(t),i=n&&n.shape;return i&&Math.abs(r.isHorizontal()?i.height:i.width)||0};this._onRendered=function(){i._updateSortWithinSameData(e,o,r,n)},n.getZr().on("rendered",this._onRendered)}}},e.prototype._dataSort=function(t,e,n){var i=[];return t.each(t.mapDimension(e.dim),(function(t,e){var r=n(e);r=null==r?NaN:r,i.push({dataIndex:e,mappedValue:r,ordinalNumber:t})})),i.sort((function(t,e){return e.mappedValue-t.mappedValue})),{ordinalNumbers:$y(i,(function(t){return t.ordinalNumber}))}},e.prototype._isOrderChangedWithinSameData=function(t,e,n){for(var i=n.scale,r=t.mapDimension(n.dim),o=Number.MAX_VALUE,a=0,s=i.getOrdinalMeta().categories.length;a<s;++a){var l=t.rawIndexOf(r,i.getRawOrdinalNumber(a)),u=l<0?Number.MIN_VALUE:e(t.indexOfRawIndex(l));if(u>o)return!0;o=u}return!1},e.prototype._isOrderDifferentInView=function(t,e){for(var n=e.scale,i=n.getExtent(),r=Math.max(0,i[0]),o=Math.min(i[1],n.getOrdinalMeta().categories.length-1);r<=o;++r)if(t.ordinalNumbers[r]!==n.getRawOrdinalNumber(r))return!0},e.prototype._updateSortWithinSameData=function(t,e,n,i){if(this._isOrderChangedWithinSameData(t,e,n)){var r=this._dataSort(t,n,e);this._isOrderDifferentInView(r,n)&&(this._removeOnRenderedListener(i),i.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:r}))}},e.prototype._dispatchInitSort=function(t,e,n){var i=e.baseAxis,r=this._dataSort(t,i,(function(n){return t.get(t.mapDimension(e.otherAxis.dim),n)}));n.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",isInitSort:!0,axisId:i.index,sortInfo:r})},e.prototype.remove=function(t,e){this._clear(this._model),this._removeOnRenderedListener(e)},e.prototype.dispose=function(t,e){this._removeOnRenderedListener(e)},e.prototype._removeOnRenderedListener=function(t){this._onRendered&&(t.getZr().off("rendered",this._onRendered),this._onRendered=null)},e.prototype._clear=function(t){var e=this.group,n=this._data;t&&t.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl((function(e){KD(e,t,fC(e).dataIndex)}))):e.removeAll(),this._data=null,this._isFirstFrame=!0},e.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},e.type="bar",e}(fR),zW={cartesian2d:function(t,e){var n=e.width<0?-1:1,i=e.height<0?-1:1;n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height);var r=t.x+t.width,o=t.y+t.height,a=RW(e.x,t.x),s=NW(e.x+e.width,r),l=RW(e.y,t.y),u=NW(e.y+e.height,o),c=s<a,h=u<l;return e.x=c&&a>r?s:a,e.y=h&&l>o?u:l,e.width=c?0:s-a,e.height=h?0:u-l,n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height),c||h},polar:function(t,e){var n=e.r0<=e.r?1:-1;if(n<0){var i=e.r;e.r=e.r0,e.r0=i}var r=NW(e.r,t.r),o=RW(e.r0,t.r0);e.r=r,e.r0=o;var a=r-o<0;if(n<0){i=e.r;e.r=e.r0,e.r0=i}return a}},VW={cartesian2d:function(t,e,n,i,r,o,a,s,l){var u=new $A({shape:jy({},i),z2:1});(u.__dataIndex=n,u.name="item",o)&&(u.shape[r?"height":"width"]=0);return u},polar:function(t,e,n,i,r,o,a,s,l){var u=!r&&l?LW:oD,c=new u({shape:i,z2:1});c.name="item";var h,d,p=YW(r);if(c.calculateTextPosition=(h=p,d=({isRoundCap:u===LW}||{}).isRoundCap,function(t,e,n){var i=e.position;if(!i||i instanceof Array)return BS(t,e,n);var r=h(i),o=null!=e.distance?e.distance:5,a=this.shape,s=a.cx,l=a.cy,u=a.r,c=a.r0,p=(u+c)/2,f=a.startAngle,g=a.endAngle,v=(f+g)/2,m=d?Math.abs(u-c)/2:0,y=Math.cos,_=Math.sin,x=s+u*y(f),b=l+u*_(f),w="left",S="top";switch(r){case"startArc":x=s+(c-o)*y(v),b=l+(c-o)*_(v),w="center",S="top";break;case"insideStartArc":x=s+(c+o)*y(v),b=l+(c+o)*_(v),w="center",S="bottom";break;case"startAngle":x=s+p*y(f)+PW(f,o+m,!1),b=l+p*_(f)+OW(f,o+m,!1),w="right",S="middle";break;case"insideStartAngle":x=s+p*y(f)+PW(f,-o+m,!1),b=l+p*_(f)+OW(f,-o+m,!1),w="left",S="middle";break;case"middle":x=s+p*y(v),b=l+p*_(v),w="center",S="middle";break;case"endArc":x=s+(u+o)*y(v),b=l+(u+o)*_(v),w="center",S="bottom";break;case"insideEndArc":x=s+(u-o)*y(v),b=l+(u-o)*_(v),w="center",S="top";break;case"endAngle":x=s+p*y(g)+PW(g,o+m,!0),b=l+p*_(g)+OW(g,o+m,!0),w="left",S="middle";break;case"insideEndAngle":x=s+p*y(g)+PW(g,-o+m,!0),b=l+p*_(g)+OW(g,-o+m,!0),w="right",S="middle";break;default:return BS(t,e,n)}return(t=t||{}).x=x,t.y=b,t.align=w,t.verticalAlign=S,t}),o){var f=r?"r":"endAngle",g={};c.shape[f]=r?i.r0:i.startAngle,g[f]=i[f],(s?jD:YD)(c,{shape:g},o)}return c}};function FW(t,e,n,i,r,o,a,s){var l,u;o?(u={x:i.x,width:i.width},l={y:i.y,height:i.height}):(u={y:i.y,height:i.height},l={x:i.x,width:i.width}),s||(a?jD:YD)(n,{shape:l},e,r,null),(a?jD:YD)(n,{shape:u},e?t.baseAxis.model:null,r)}function GW(t,e){for(var n=0;n<e.length;n++)if(!isFinite(t[e[n]]))return!0;return!1}var HW=["x","y","width","height"],WW=["cx","cy","r","startAngle","endAngle"],UW={cartesian2d:function(t){return!GW(t,HW)},polar:function(t){return!GW(t,WW)}},jW={cartesian2d:function(t,e,n){var i=t.getItemLayout(e),r=n?function(t,e){var n=t.get(["itemStyle","borderColor"]);if(!n||"none"===n)return 0;var i=t.get(["itemStyle","borderWidth"])||0,r=isNaN(e.width)?Number.MAX_VALUE:Math.abs(e.width),o=isNaN(e.height)?Number.MAX_VALUE:Math.abs(e.height);return Math.min(i,r,o)}(n,i):0,o=i.width>0?1:-1,a=i.height>0?1:-1;return{x:i.x+o*r/2,y:i.y+a*r/2,width:i.width-o*r,height:i.height-a*r}},polar:function(t,e,n){var i=t.getItemLayout(e);return{cx:i.cx,cy:i.cy,r0:i.r0,r:i.r,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}}};function YW(t){return e=t?"Arc":"Angle",function(t){switch(t){case"start":case"insideStart":case"end":case"insideEnd":return t+e;default:return t}};var e}function XW(t,e,n,i,r,o,a,s){var l=e.getItemVisual(n,"style");if(s){if(!o.get("roundCap")){var u=t.shape;jy(u,EW(i.getModel("itemStyle"),u,!0)),t.setShape(u)}}else{var c=i.get(["itemStyle","borderRadius"])||0;t.setShape("r",c)}t.useStyle(l);var h=i.getShallow("cursor");h&&t.attr("cursor",h);var d=s?a?r.r>=r.r0?"endArc":"startArc":r.endAngle>=r.startAngle?"endAngle":"startAngle":a?r.height>=0?"bottom":"top":r.width>=0?"right":"left",p=Dk(i);Tk(t,p,{labelFetcher:o,labelDataIndex:n,defaultText:GH(o.getData(),n),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:d});var f=t.getTextContent();if(s&&f){var g=i.get(["label","position"]);t.textConfig.inside="middle"===g||null,function(t,e,n,i){if(s_(i))t.setTextConfig({rotation:i});else if(i_(e))t.setTextConfig({rotation:0});else{var r,o=t.shape,a=o.clockwise?o.startAngle:o.endAngle,s=o.clockwise?o.endAngle:o.startAngle,l=(a+s)/2,u=n(e);switch(u){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":r=l;break;case"startAngle":case"insideStartAngle":r=a;break;case"endAngle":case"insideEndAngle":r=s;break;default:return void t.setTextConfig({rotation:0})}var c=1.5*Math.PI-r;"middle"===u&&c>Math.PI/2&&c<1.5*Math.PI&&(c-=Math.PI),t.setTextConfig({rotation:c})}}(t,"outside"===g?d:g,YW(a),i.get(["label","rotate"]))}zk(f,p,o.getRawValue(n),(function(t){return HH(e,t)}));var v=i.getModel(["emphasis"]);uT(t,v.get("focus"),v.get("blurScope"),v.get("disabled")),pT(t,i),function(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}(r)&&(t.style.fill="none",t.style.stroke="none",Ky(t.states,(function(t){t.style&&(t.style.fill=t.style.stroke="none")})))}var qW=function(){},ZW=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeBar",n}return my(e,t),e.prototype.getDefaultShape=function(){return new qW},e.prototype.buildPath=function(t,e){for(var n=e.points,i=this.baseDimIdx,r=1-this.baseDimIdx,o=[],a=[],s=this.barWidth,l=0;l<n.length;l+=3)a[i]=s,a[r]=n[l+2],o[i]=n[l+i],o[r]=n[l+r],t.rect(o[0],o[1],a[0],a[1])},e}(NA);function KW(t,e,n,i){var r=t.getData(),o=r.getLayout("valueAxisHorizontal")?1:0,a=r.getLayout("largeDataIndices"),s=r.getLayout("size"),l=t.getModel("backgroundStyle"),u=r.getLayout("largeBackgroundPoints");if(u){var c=new ZW({shape:{points:u},incremental:!!i,silent:!0,z2:0});c.baseDimIdx=o,c.largeDataIndices=a,c.barWidth=s,c.useStyle(l.getItemStyle()),e.add(c),n&&n.push(c)}var h=new ZW({shape:{points:r.getLayout("largePoints")},incremental:!!i,ignoreCoarsePointer:!0,z2:1});h.baseDimIdx=o,h.largeDataIndices=a,h.barWidth=s,e.add(h),h.useStyle(r.getVisual("style")),fC(h).seriesIndex=t.seriesIndex,t.get("silent")||(h.on("mousedown",$W),h.on("mousemove",$W)),n&&n.push(h)}var $W=yR((function(t){var e=function(t,e,n){for(var i=t.baseDimIdx,r=1-i,o=t.shape.points,a=t.largeDataIndices,s=[],l=[],u=t.barWidth,c=0,h=o.length/3;c<h;c++){var d=3*c;if(l[i]=u,l[r]=o[d+2],s[i]=o[d+i],s[r]=o[d+r],l[r]<0&&(s[r]+=l[r],l[r]=-l[r]),e>=s[0]&&e<=s[0]+l[0]&&n>=s[1]&&n<=s[1]+l[1])return a[c]}return-1}(this,t.offsetX,t.offsetY);fC(this).dataIndex=e>=0?e:null}),30,!1);function JW(t,e,n){if(cW(n,"cartesian2d")){var i=e,r=n.getArea();return{x:t?i.x:r.x,y:t?r.y:i.y,width:t?i.width:r.width,height:t?r.height:i.height}}var o=e;return{cx:(r=n.getArea()).cx,cy:r.cy,r0:t?r.r0:o.r0,r:t?r.r:o.r,startAngle:t?o.startAngle:0,endAngle:t?o.endAngle:2*Math.PI}}const QW=BW;var tU=2*Math.PI,eU=Math.PI/180;function nU(t,e){return nP(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function iU(t,e){var n=nU(t,e),i=t.get("center"),r=t.get("radius");i_(r)||(r=[0,r]);var o,a,s=rM(n.width,e.getWidth()),l=rM(n.height,e.getHeight()),u=Math.min(s,l),c=rM(r[0],u/2),h=rM(r[1],u/2),d=t.coordinateSystem;if(d){var p=d.dataToPoint(i);o=p[0]||0,a=p[1]||0}else i_(i)||(i=[i,i]),o=rM(i[0],s)+n.x,a=rM(i[1],l)+n.y;return{cx:o,cy:a,r0:c,r:h}}function rU(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.getData(),i=e.mapDimension("value"),r=nU(t,n),o=iU(t,n),a=o.cx,s=o.cy,l=o.r,u=o.r0,c=-t.get("startAngle")*eU,h=t.get("minAngle")*eU,d=0;e.each(i,(function(t){!isNaN(t)&&d++}));var p=e.getSum(i),f=Math.PI/(p||d)*2,g=t.get("clockwise"),v=t.get("roseType"),m=t.get("stillShowZeroSum"),y=e.getDataExtent(i);y[0]=0;var _=tU,x=0,b=c,w=g?1:-1;if(e.setLayout({viewRect:r,r:l}),e.each(i,(function(t,n){var i;if(isNaN(t))e.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:g,cx:a,cy:s,r0:u,r:v?NaN:l});else{(i="area"!==v?0===p&&m?f:t*f:tU/d)<h?(i=h,_-=h):x+=t;var r=b+w*i;e.setItemLayout(n,{angle:i,startAngle:b,endAngle:r,clockwise:g,cx:a,cy:s,r0:u,r:v?iM(t,y,[u,l]):l}),b=r}})),_<tU&&d)if(_<=.001){var S=tU/d;e.each(i,(function(t,n){if(!isNaN(t)){var i=e.getItemLayout(n);i.angle=S,i.startAngle=c+w*n*S,i.endAngle=c+w*(n+1)*S}}))}else f=_/x,b=c,e.each(i,(function(t,n){if(!isNaN(t)){var i=e.getItemLayout(n),r=i.angle===h?h:t*f;i.startAngle=b,i.endAngle=b+w*r,b+=w*r}}))}))}function oU(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<n.length;r++)if(!n[r].isSelected(e))return!1;return!0}))}}}}var aU=Math.PI/180;function sU(t,e,n,i,r,o,a,s,l,u){if(!(t.length<2)){for(var c=t.length,h=0;h<c;h++)if("outer"===t[h].position&&"labelLine"===t[h].labelAlignTo){var d=t[h].label.x-u;t[h].linePoints[1][0]+=d,t[h].label.x=u}aG(t,l,l+a)&&function(t){for(var o={list:[],maxY:0},a={list:[],maxY:0},s=0;s<t.length;s++)if("none"===t[s].labelAlignTo){var l=t[s],u=l.label.y>n?a:o,c=Math.abs(l.label.y-n);if(c>=u.maxY){var h=l.label.x-e-l.len2*r,d=i+l.len,f=Math.abs(h)<d?Math.sqrt(c*c/(1-h*h/d/d)):d;u.rB=f,u.maxY=c}u.list.push(l)}p(o),p(a)}(t)}function p(t){for(var o=t.rB,a=o*o,s=0;s<t.list.length;s++){var l=t.list[s],u=Math.abs(l.label.y-n),c=i+l.len,h=c*c,d=Math.sqrt((1-Math.abs(u*u/a))*h),p=e+(d+l.len2)*r,f=p-l.label.x;lU(l,l.targetTextWidth-f*r,!0),l.label.x=p}}}function lU(t,e,n){if(void 0===n&&(n=!1),null==t.labelStyleWidth){var i=t.label,r=i.style,o=t.rect,a=r.backgroundColor,s=r.padding,l=s?s[1]+s[3]:0,u=r.overflow,c=o.width+(a?0:l);if(e<c||n){var h=o.height;if(u&&u.match("break")){i.setStyle("backgroundColor",null),i.setStyle("width",e-l);var d=i.getBoundingRect();i.setStyle("width",Math.ceil(d.width)),i.setStyle("backgroundColor",a)}else{var p=e-l,f=e<c?p:n?p>t.unconstrainedWidth?null:p:null;i.setStyle("width",f)}var g=i.getBoundingRect();o.width=g.width;var v=(i.style.margin||0)+2.1;o.height=g.height+v,o.y-=(o.height-h)/2}}}function uU(t){return"center"===t.position}function cU(t){var e,n,i=t.getData(),r=[],o=!1,a=(t.get("minShowLabelAngle")||0)*aU,s=i.getLayout("viewRect"),l=i.getLayout("r"),u=s.width,c=s.x,h=s.y,d=s.height;function p(t){t.ignore=!0}i.each((function(t){var s=i.getItemGraphicEl(t),h=s.shape,d=s.getTextContent(),f=s.getTextGuideLine(),g=i.getItemModel(t),v=g.getModel("label"),m=v.get("position")||g.get(["emphasis","label","position"]),y=v.get("distanceToLabelLine"),_=v.get("alignTo"),x=rM(v.get("edgeDistance"),u),b=v.get("bleedMargin"),w=g.getModel("labelLine"),S=w.get("length");S=rM(S,u);var M=w.get("length2");if(M=rM(M,u),Math.abs(h.endAngle-h.startAngle)<a)return Ky(d.states,p),d.ignore=!0,void(f&&(Ky(f.states,p),f.ignore=!0));if(function(t){if(!t.ignore)return!0;for(var e in t.states)if(!1===t.states[e].ignore)return!0;return!1}(d)){var I,A,C,T,D=(h.startAngle+h.endAngle)/2,k=Math.cos(D),L=Math.sin(D);e=h.cx,n=h.cy;var P="inside"===m||"inner"===m;if("center"===m)I=h.cx,A=h.cy,T="center";else{var O=(P?(h.r+h.r0)/2*k:h.r*k)+e,E=(P?(h.r+h.r0)/2*L:h.r*L)+n;if(I=O+3*k,A=E+3*L,!P){var R=O+k*(S+l-h.r),N=E+L*(S+l-h.r),B=R+(k<0?-1:1)*M;I="edge"===_?k<0?c+x:c+u-x:B+(k<0?-y:y),A=N,C=[[O,E],[R,N],[B,N]]}T=P?"center":"edge"===_?k>0?"right":"left":k>0?"left":"right"}var z=Math.PI,V=0,F=v.get("rotate");if(s_(F))V=F*(z/180);else if("center"===m)V=0;else if("radial"===F||!0===F){V=k<0?-D+z:-D}else if("tangential"===F&&"outside"!==m&&"outer"!==m){var G=Math.atan2(k,L);G<0&&(G=2*z+G),L>0&&(G=z+G),V=G-z}if(o=!!V,d.x=I,d.y=A,d.rotation=V,d.setStyle({verticalAlign:"middle"}),P){d.setStyle({align:T});var H=d.states.select;H&&(H.x+=d.x,H.y+=d.y)}else{var W=d.getBoundingRect().clone();W.applyTransform(d.getComputedTransform());var U=(d.style.margin||0)+2.1;W.y-=U/2,W.height+=U,r.push({label:d,labelLine:f,position:m,len:S,len2:M,minTurnAngle:w.get("minTurnAngle"),maxSurfaceAngle:w.get("maxSurfaceAngle"),surfaceNormal:new Px(k,L),linePoints:C,textAlign:T,labelDistance:y,labelAlignTo:_,edgeDistance:x,bleedMargin:b,rect:W,unconstrainedWidth:W.width,labelStyleWidth:d.style.width})}s.setTextConfig({inside:P})}})),!o&&t.get("avoidLabelOverlap")&&function(t,e,n,i,r,o,a,s){for(var l=[],u=[],c=Number.MAX_VALUE,h=-Number.MAX_VALUE,d=0;d<t.length;d++){var p=t[d].label;uU(t[d])||(p.x<e?(c=Math.min(c,p.x),l.push(t[d])):(h=Math.max(h,p.x),u.push(t[d])))}for(d=0;d<t.length;d++)if(!uU(v=t[d])&&v.linePoints){if(null!=v.labelStyleWidth)continue;p=v.label;var f=v.linePoints,g=void 0;g="edge"===v.labelAlignTo?p.x<e?f[2][0]-v.labelDistance-a-v.edgeDistance:a+r-v.edgeDistance-f[2][0]-v.labelDistance:"labelLine"===v.labelAlignTo?p.x<e?c-a-v.bleedMargin:a+r-h-v.bleedMargin:p.x<e?p.x-a-v.bleedMargin:a+r-p.x-v.bleedMargin,v.targetTextWidth=g,lU(v,g)}for(sU(u,e,n,i,1,0,o,0,s,h),sU(l,e,n,i,-1,0,o,0,s,c),d=0;d<t.length;d++){var v;if(!uU(v=t[d])&&v.linePoints){p=v.label,f=v.linePoints;var m="edge"===v.labelAlignTo,y=p.style.padding,_=y?y[1]+y[3]:0,x=p.style.backgroundColor?0:_,b=v.rect.width+x,w=f[1][0]-f[2][0];m?p.x<e?f[2][0]=a+v.edgeDistance+b+v.labelDistance:f[2][0]=a+r-v.edgeDistance-b-v.labelDistance:(p.x<e?f[2][0]=p.x+v.labelDistance:f[2][0]=p.x-v.labelDistance,f[1][0]=f[2][0]+w),f[1][1]=f[2][1]=p.y}}}(r,e,n,l,u,d,c,h);for(var f=0;f<r.length;f++){var g=r[f],v=g.label,m=g.labelLine,y=isNaN(v.x)||isNaN(v.y);if(v){v.setStyle({align:g.textAlign}),y&&(Ky(v.states,p),v.ignore=!0);var _=v.states.select;_&&(_.x+=v.x,_.y+=v.y)}if(m){var x=g.linePoints;y||!x?(Ky(m.states,p),m.ignore=!0):(JF(x,g.minTurnAngle),QF(x,g.surfaceNormal,g.maxSurfaceAngle),m.setShape({points:x}),v.__hostTarget.textGuideLineConfig={anchor:new Px(x[0][0],x[0][1])})}}}var hU=function(t){function e(e,n,i){var r=t.call(this)||this;r.z2=2;var o=new pC;return r.setTextContent(o),r.updateData(e,n,i,!0),r}return my(e,t),e.prototype.updateData=function(t,e,n,i){var r=this,o=t.hostModel,a=t.getItemModel(e),s=a.getModel("emphasis"),l=t.getItemLayout(e),u=jy(EW(a.getModel("itemStyle"),l,!0),l);if(isNaN(u.startAngle))r.setShape(u);else{if(i){r.setShape(u);var c=o.getShallow("animationType");o.ecModel.ssr?(YD(r,{scaleX:0,scaleY:0},o,{dataIndex:e,isFrom:!0}),r.originX=u.cx,r.originY=u.cy):"scale"===c?(r.shape.r=l.r0,YD(r,{shape:{r:l.r}},o,e)):null!=n?(r.setShape({startAngle:n,endAngle:n}),YD(r,{shape:{startAngle:l.startAngle,endAngle:l.endAngle}},o,e)):(r.shape.endAngle=l.startAngle,jD(r,{shape:{endAngle:l.endAngle}},o,e))}else $D(r),jD(r,{shape:u},o,e);r.useStyle(t.getItemVisual(e,"style")),pT(r,a);var h=(l.startAngle+l.endAngle)/2,d=o.get("selectedOffset"),p=Math.cos(h)*d,f=Math.sin(h)*d,g=a.getShallow("cursor");g&&r.attr("cursor",g),this._updateLabel(o,t,e),r.ensureState("emphasis").shape=jy({r:l.r+(s.get("scale")&&s.get("scaleSize")||0)},EW(s.getModel("itemStyle"),l)),jy(r.ensureState("select"),{x:p,y:f,shape:EW(a.getModel(["select","itemStyle"]),l)}),jy(r.ensureState("blur"),{shape:EW(a.getModel(["blur","itemStyle"]),l)});var v=r.getTextGuideLine(),m=r.getTextContent();v&&jy(v.ensureState("select"),{x:p,y:f}),jy(m.ensureState("select"),{x:p,y:f}),uT(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))}},e.prototype._updateLabel=function(t,e,n){var i=this,r=e.getItemModel(n),o=r.getModel("labelLine"),a=e.getItemVisual(n,"style"),s=a&&a.fill,l=a&&a.opacity;Tk(i,Dk(r),{labelFetcher:e.hostModel,labelDataIndex:n,inheritColor:s,defaultOpacity:l,defaultText:t.getFormattedLabel(n,"normal")||e.getName(n)});var u=i.getTextContent();i.setTextConfig({position:null,rotation:null}),u.attr({z2:10});var c=t.get(["label","position"]);if("outside"!==c&&"outer"!==c)i.removeTextGuideLine();else{var h=this.getTextGuideLine();h||(h=new gD,this.setTextGuideLine(h)),nG(this,iG(r),{stroke:s,opacity:v_(o.get(["lineStyle","opacity"]),l,1)})}},e}(oD);const dU=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ignoreLabelLineUpdate=!0,e}return my(e,t),e.prototype.render=function(t,e,n,i){var r,o=t.getData(),a=this._data,s=this.group;if(!a&&o.count()>0){for(var l=o.getItemLayout(0),u=1;isNaN(l&&l.startAngle)&&u<o.count();++u)l=o.getItemLayout(u);l&&(r=l.startAngle)}if(this._emptyCircleSector&&s.remove(this._emptyCircleSector),0===o.count()&&t.get("showEmptyCircle")){var c=new oD({shape:iU(t,n)});c.useStyle(t.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=c,s.add(c)}o.diff(a).add((function(t){var e=new hU(o,t,r);o.setItemGraphicEl(t,e),s.add(e)})).update((function(t,e){var n=a.getItemGraphicEl(e);n.updateData(o,t,r),n.off("click"),s.add(n),o.setItemGraphicEl(t,n)})).remove((function(e){KD(a.getItemGraphicEl(e),t,e)})).execute(),cU(t),"expansion"!==t.get("animationTypeUpdate")&&(this._data=o)},e.prototype.dispose=function(){},e.prototype.containPoint=function(t,e){var n=e.getData().getItemLayout(0);if(n){var i=t[0]-n.cx,r=t[1]-n.cy,o=Math.sqrt(i*i+r*r);return o<=n.r&&o>=n.r0}},e.type="pie",e}(fR);function pU(t,e,n){e=i_(e)&&{coordDimensions:e}||jy({encodeDefine:t.getEncode()},e);var i=t.getSource(),r=Gz(i,e).dimensions,o=new Fz(r,t);return o.initData(i,n),o}var fU=function(){function t(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}return t.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},t.prototype.containName=function(t){return this._getRawData().indexOfName(t)>=0},t.prototype.indexOfName=function(t){return this._getDataWithEncodedVisual().indexOfName(t)},t.prototype.getItemVisual=function(t,e){return this._getDataWithEncodedVisual().getItemVisual(t,e)},t}();const gU=fU;var vU=FM(),mU=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return my(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new gU(e_(this.getData,this),e_(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.mergeOption=function(){t.prototype.mergeOption.apply(this,arguments)},e.prototype.getInitialData=function(){return pU(this,{coordDimensions:["value"],encodeDefaulter:n_(AP,this)})},e.prototype.getDataParams=function(e){var n=this.getData(),i=vU(n),r=i.seats;if(!r){var o=[];n.each(n.mapDimension("value"),(function(t){o.push(t)})),r=i.seats=function(t,e){var n=Jy(t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===n)return[];for(var i=Math.pow(10,e),r=$y(t,(function(t){return(isNaN(t)?0:t)/n*i*100})),o=100*i,a=$y(r,(function(t){return Math.floor(t)})),s=Jy(a,(function(t,e){return t+e}),0),l=$y(r,(function(t,e){return t-a[e]}));s<o;){for(var u=Number.NEGATIVE_INFINITY,c=null,h=0,d=l.length;h<d;++h)l[h]>u&&(u=l[h],c=h);++a[c],l[c]=0,++s}return $y(a,(function(t){return t/i}))}(o,n.hostModel.get("percentPrecision"))}var a=t.prototype.getDataParams.call(this,e);return a.percent=r[e]||0,a.$vars.push("percent"),a},e.prototype._defaultLabelLine=function(t){DM(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.type="series.pie",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},e}(nR);const yU=mU;const _U=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return my(e,t),e.prototype.getInitialData=function(t,e){return Zz(null,this,{useEncodeDefaulter:!0})},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},e.prototype.brushSelector=function(t,e,n){return n.point(e.getItemLayout(t))},e.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},e.type="series.scatter",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},e}(nR);var xU=function(){},bU=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return my(e,t),e.prototype.getDefaultShape=function(){return new xU},e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.buildPath=function(t,e){var n,i=e.points,r=e.size,o=this.symbolProxy,a=o.shape,s=t.getContext?t.getContext():t,l=s&&r[0]<4,u=this.softClipShape;if(l)this._ctx=s;else{for(this._ctx=null,n=this._off;n<i.length;){var c=i[n++],h=i[n++];isNaN(c)||isNaN(h)||(u&&!u.contain(c,h)||(a.x=c-r[0]/2,a.y=h-r[1]/2,a.width=r[0],a.height=r[1],o.buildPath(t,a,!0)))}this.incremental&&(this._off=n,this.notClear=!0)}},e.prototype.afterBrush=function(){var t,e=this.shape,n=e.points,i=e.size,r=this._ctx,o=this.softClipShape;if(r){for(t=this._off;t<n.length;){var a=n[t++],s=n[t++];isNaN(a)||isNaN(s)||(o&&!o.contain(a,s)||r.fillRect(a-i[0]/2,s-i[1]/2,i[0],i[1]))}this.incremental&&(this._off=t,this.notClear=!0)}},e.prototype.findDataIndex=function(t,e){for(var n=this.shape,i=n.points,r=n.size,o=Math.max(r[0],4),a=Math.max(r[1],4),s=i.length/2-1;s>=0;s--){var l=2*s,u=i[l]-o/2,c=i[l+1]-a/2;if(t>=u&&e>=c&&t<=u+o&&e<=c+a)return s}return-1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();return t=n[0],e=n[1],i.contain(t,e)?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape,n=e.points,i=e.size,r=i[0],o=i[1],a=1/0,s=1/0,l=-1/0,u=-1/0,c=0;c<n.length;){var h=n[c++],d=n[c++];a=Math.min(h,a),l=Math.max(h,l),s=Math.min(d,s),u=Math.max(d,u)}t=this._rect=new Hx(a-r/2,s-o/2,l-a+r,u-s+o)}return t},e}(NA);const wU=function(){function t(){this.group=new KS}return t.prototype.updateData=function(t,e){this._clear();var n=this._create();n.setShape({points:t.getLayout("points")}),this._setCommon(n,t,e)},t.prototype.updateLayout=function(t){var e=t.getLayout("points");this.group.eachChild((function(t){if(null!=t.startIndex){var n=2*(t.endIndex-t.startIndex),i=4*t.startIndex*2;e=new Float32Array(e.buffer,i,n)}t.setShape("points",e),t.reset()}))},t.prototype.incrementalPrepareUpdate=function(t){this._clear()},t.prototype.incrementalUpdate=function(t,e,n){var i=this._newAdded[0],r=e.getLayout("points"),o=i&&i.shape.points;if(o&&o.length<2e4){var a=o.length,s=new Float32Array(a+r.length);s.set(o),s.set(r,a),i.endIndex=t.end,i.setShape({points:s})}else{this._newAdded=[];var l=this._create();l.startIndex=t.start,l.endIndex=t.end,l.incremental=!0,l.setShape({points:r}),this._setCommon(l,e,n)}},t.prototype.eachRendered=function(t){this._newAdded[0]&&t(this._newAdded[0])},t.prototype._create=function(){var t=new bU({cursor:"default"});return t.ignoreCoarsePointer=!0,this.group.add(t),this._newAdded.push(t),t},t.prototype._setCommon=function(t,e,n){var i=e.hostModel;n=n||{};var r=e.getVisual("symbolSize");t.setShape("size",r instanceof Array?r:[r,r]),t.softClipShape=n.clipShape||null,t.symbolProxy=MN(e.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var o=t.shape.size[0]<4;t.useStyle(i.getModel("itemStyle").getItemStyle(o?["color","shadowBlur","shadowColor"]:["color"]));var a=e.getVisual("style"),s=a&&a.fill;s&&t.setColor(s);var l=fC(t);l.seriesIndex=i.seriesIndex,t.on("mousemove",(function(e){l.dataIndex=null;var n=t.hoverDataIdx;n>=0&&(l.dataIndex=n+(t.startIndex||0))}))},t.prototype.remove=function(){this._clear()},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}();const SU=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.render=function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).updateData(i,{clipShape:this._getClipShape(t)}),this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).incrementalPrepareUpdate(i),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._symbolDraw.incrementalUpdate(t,e.getData(),{clipShape:this._getClipShape(e)}),this._finished=t.end===e.getData().count()},e.prototype.updateTransform=function(t,e,n){var i=t.getData();if(this.group.dirty(),!this._finished||i.count()>1e4)return{update:!0};var r=SW("").reset(t,e,n);r.progress&&r.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout(i)},e.prototype.eachRendered=function(t){this._symbolDraw&&this._symbolDraw.eachRendered(t)},e.prototype._getClipShape=function(t){var e=t.coordinateSystem,n=e&&e.getArea&&e.getArea();return t.get("clip",!0)?n:null},e.prototype._updateSymbolDraw=function(t,e){var n=this._symbolDraw,i=e.pipelineContext.large;return n&&i===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=i?new wU:new KH,this._isLargeDraw=i,this.group.removeAll()),this.group.add(n.group),n},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},e.prototype.dispose=function(){},e.type="scatter",e}(fR);const MU=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return my(e,t),e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},e}(cP);var IU=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return my(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",UM).models[0]},e.type="cartesian2dAxis",e}(cP);qy(IU,aF);var AU={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},CU=Wy({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},AU),TU=Wy({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},AU);const DU={category:CU,value:TU,time:Wy({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},TU),log:Yy({logBase:10},TU)};var kU={value:1,category:1,time:1,log:1};function LU(t,e,n,i){Ky(kU,(function(r,o){var a=Wy(Wy({},DU[o],!0),i,!0),s=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e+"Axis."+o,n}return my(n,t),n.prototype.mergeDefaultAndTheme=function(t,e){var n=rP(this),i=n?aP(t):{};Wy(t,e.getTheme().get(o+"Axis")),Wy(t,this.getDefaultOption()),t.type=PU(t),n&&oP(t,i,n)},n.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=tV.createByAxisModel(this))},n.prototype.getCategories=function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},n.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},n.type=e+"Axis."+o,n.defaultOption=a,n}(n);t.registerComponentModel(s)})),t.registerSubTypeDefaulter(e+"Axis",PU)}function PU(t){return t.type||(t.data?"category":"value")}var OU=function(){function t(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return t.prototype.getAxis=function(t){return this._axes[t]},t.prototype.getAxes=function(){return $y(this._dimList,(function(t){return this._axes[t]}),this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),Qy(this.getAxes(),(function(e){return e.scale.type===t}))},t.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},t}();var EU=["x","y"];function RU(t){return"interval"===t.type||"time"===t.type}var NU=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=EU,e}return my(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(RU(t)&&RU(e)){var n=t.getExtent(),i=e.getExtent(),r=this.dataToPoint([n[0],i[0]]),o=this.dataToPoint([n[1],i[1]]),a=n[1]-n[0],s=i[1]-i[0];if(a&&s){var l=(o[0]-r[0])/a,u=(o[1]-r[1])/s,c=r[0]-n[0]*l,h=r[1]-i[0]*u,d=this._transform=[l,0,0,u,c,h];this._invTransform=Lx([],d)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(t){var e=this.getAxis("x"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},e.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},e.prototype.containZone=function(t,e){var n=this.dataToPoint(t),i=this.dataToPoint(e),r=this.getArea(),o=new Hx(n[0],n[1],i[0]-n[0],i[1]-n[1]);return r.intersect(o)},e.prototype.dataToPoint=function(t,e,n){n=n||[];var i=t[0],r=t[1];if(this._transform&&null!=i&&isFinite(i)&&null!=r&&isFinite(r))return X_(n,t,this._transform);var o=this.getAxis("x"),a=this.getAxis("y");return n[0]=o.toGlobalCoord(o.dataToCoord(i,e)),n[1]=a.toGlobalCoord(a.dataToCoord(r,e)),n},e.prototype.clampData=function(t,e){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,r=n.getExtent(),o=i.getExtent(),a=n.parse(t[0]),s=i.parse(t[1]);return(e=e||[])[0]=Math.min(Math.max(Math.min(r[0],r[1]),a),Math.max(r[0],r[1])),e[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),e},e.prototype.pointToData=function(t,e){var n=[];if(this._invTransform)return X_(n,t,this._invTransform);var i=this.getAxis("x"),r=this.getAxis("y");return n[0]=i.coordToData(i.toLocalCoord(t[0]),e),n[1]=r.coordToData(r.toLocalCoord(t[1]),e),n},e.prototype.getOtherAxis=function(t){return this.getAxis("x"===t.dim?"y":"x")},e.prototype.getArea=function(){var t=this.getAxis("x").getGlobalExtent(),e=this.getAxis("y").getGlobalExtent(),n=Math.min(t[0],t[1]),i=Math.min(e[0],e[1]),r=Math.max(t[0],t[1])-n,o=Math.max(e[0],e[1])-i;return new Hx(n,i,r,o)},e}(OU);const BU=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.index=0,a.type=r||"value",a.position=o||"bottom",a}return my(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.getGlobalExtent=function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},e.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},e.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e}(OF);function zU(t,e,n){n=n||{};var i=t.coordinateSystem,r=e.axis,o={},a=r.getAxesOnZeroOf()[0],s=r.position,l=a?"onZero":s,u=r.dim,c=i.getRect(),h=[c.x,c.x+c.width,c.y,c.y+c.height],d={left:0,right:1,top:0,bottom:1,onZero:2},p=e.get("offset")||0,f="x"===u?[h[2]-p,h[3]+p]:[h[0]-p,h[1]+p];if(a){var g=a.toGlobalCoord(a.dataToCoord(0));f[d.onZero]=Math.max(Math.min(g,f[1]),f[0])}o.position=["y"===u?f[d[l]]:h[0],"x"===u?f[d[l]]:h[3]],o.rotation=Math.PI/2*("x"===u?0:1);o.labelDirection=o.tickDirection=o.nameDirection={top:-1,bottom:1,left:-1,right:1}[s],o.labelOffset=a?f[d[s]]-f[d.onZero]:0,e.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),f_(n.labelInside,e.get(["axisLabel","inside"]))&&(o.labelDirection=-o.labelDirection);var v=e.get(["axisLabel","rotate"]);return o.labelRotate="top"===l?-v:v,o.z2=1,o}function VU(t){return"cartesian2d"===t.get("coordinateSystem")}function FU(t){var e={xAxisModel:null,yAxisModel:null};return Ky(e,(function(n,i){var r=i.replace(/Model$/,""),o=t.getReferringComponents(r,UM).models[0];e[i]=o})),e}var GU=Math.log;function HU(t,e,n){var i=pV.prototype,r=i.getTicks.call(n),o=i.getTicks.call(n,!0),a=r.length-1,s=i.getInterval.call(n),l=JV(t,e),u=l.extent,c=l.fixMin,h=l.fixMax;if("log"===t.type){var d=GU(t.base);u=[GU(u[0])/d,GU(u[1])/d]}t.setExtent(u[0],u[1]),t.calcNiceExtent({splitNumber:a,fixMin:c,fixMax:h});var p=i.getExtent.call(t);c&&(u[0]=p[0]),h&&(u[1]=p[1]);var f=i.getInterval.call(t),g=u[0],v=u[1];if(c&&h)f=(v-g)/a;else if(c)for(v=u[0]+f*a;v<u[1]&&isFinite(v)&&isFinite(u[1]);)f=iV(f),v=u[0]+f*a;else if(h)for(g=u[1]-f*a;g>u[0]&&isFinite(g)&&isFinite(u[0]);)f=iV(f),g=u[1]-f*a;else{t.getTicks().length-1>a&&(f=iV(f));var m=f*a;(g=oM((v=Math.ceil(u[1]/f)*f)-m))<0&&u[0]>=0?(g=0,v=oM(m)):v>0&&u[1]<=0&&(v=0,g=-oM(m))}var y=(r[0].value-o[0].value)/s,_=(r[a].value-o[a].value)/s;i.setExtent.call(t,g+f*y,v+f*_),i.setInterval.call(t,f),(y||_)&&i.setNiceExtent.call(t,g+f,v-f)}var WU=function(){function t(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=EU,this._initCartesian(t,e,n),this.model=t}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(t,e){var n=this._axesMap;function i(t){var e,n=t_(t),i=n.length;if(i){for(var r=[],o=i-1;o>=0;o--){var a=t[+n[o]],s=a.model,l=a.scale;eV(l)&&s.get("alignTicks")&&null==s.get("interval")?r.push(a):(QV(l,s),eV(l)&&(e=a))}r.length&&(e||QV((e=r.pop()).scale,e.model),Ky(r,(function(t){HU(t.scale,t.model,e.scale)})))}}this._updateScale(t,this.model),i(n.x),i(n.y);var r={};Ky(n.x,(function(t){jU(n,"y",t,r)})),Ky(n.y,(function(t){jU(n,"x",t,r)})),this.resize(this.model,e)},t.prototype.resize=function(t,e,n){var i=t.getBoxLayoutParams(),r=!n&&t.get("containLabel"),o=nP(i,{width:e.getWidth(),height:e.getHeight()});this._rect=o;var a=this._axesList;function s(){Ky(a,(function(t){var e=t.isHorizontal(),n=e?[0,o.width]:[0,o.height],i=t.inverse?1:0;t.setExtent(n[i],n[1-i]),function(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}}(t,e?o.x:o.y)}))}s(),r&&(Ky(a,(function(t){if(!t.model.get(["axisLabel","inside"])){var e=function(t){var e=t.model,n=t.scale;if(e.get(["axisLabel","show"])&&!n.isBlank()){var i,r,o=n.getExtent();r=n instanceof cV?n.count():(i=n.getTicks()).length;var a,s,l,u,c,h,d,p=t.getLabelModel(),f=eF(t),g=1;r>40&&(g=Math.ceil(r/40));for(var v=0;v<r;v+=g){var m=f(i?i[v]:{value:o[0]+v},v),y=(s=p.getTextRect(m),l=void 0,u=void 0,c=void 0,h=void 0,d=void 0,l=(p.get("rotate")||0)*Math.PI/180,u=s.width,c=s.height,h=u*Math.abs(Math.cos(l))+Math.abs(c*Math.sin(l)),d=u*Math.abs(Math.sin(l))+Math.abs(c*Math.cos(l)),new Hx(s.x,s.y,h,d));a?a.union(y):a=y}return a}}(t);if(e){var n=t.isHorizontal()?"height":"width",i=t.model.get(["axisLabel","margin"]);o[n]-=e[n]+i,"top"===t.position?o.y+=e.height+i:"left"===t.position&&(o.x+=e.width+i)}}})),s()),Ky(this._coordsList,(function(t){t.calcAffineTransform()}))},t.prototype.getAxis=function(t,e){var n=this._axesMap[t];if(null!=n)return n[e||0]},t.prototype.getAxes=function(){return this._axesList.slice()},t.prototype.getCartesian=function(t,e){if(null!=t&&null!=e){var n="x"+t+"y"+e;return this._coordsMap[n]}l_(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var i=0,r=this._coordsList;i<r.length;i++)if(r[i].getAxis("x").index===t||r[i].getAxis("y").index===e)return r[i]},t.prototype.getCartesians=function(){return this._coordsList.slice()},t.prototype.convertToPixel=function(t,e,n){var i=this._findConvertTarget(e);return i.cartesian?i.cartesian.dataToPoint(n):i.axis?i.axis.toGlobalCoord(i.axis.dataToCoord(n)):null},t.prototype.convertFromPixel=function(t,e,n){var i=this._findConvertTarget(e);return i.cartesian?i.cartesian.pointToData(n):i.axis?i.axis.coordToData(i.axis.toLocalCoord(n)):null},t.prototype._findConvertTarget=function(t){var e,n,i=t.seriesModel,r=t.xAxisModel||i&&i.getReferringComponents("xAxis",UM).models[0],o=t.yAxisModel||i&&i.getReferringComponents("yAxis",UM).models[0],a=t.gridModel,s=this._coordsList;if(i)Xy(s,e=i.coordinateSystem)<0&&(e=null);else if(r&&o)e=this.getCartesian(r.componentIndex,o.componentIndex);else if(r)n=this.getAxis("x",r.componentIndex);else if(o)n=this.getAxis("y",o.componentIndex);else if(a){a.coordinateSystem===this&&(e=this._coordsList[0])}return{cartesian:e,axis:n}},t.prototype.containPoint=function(t){var e=this._coordsList[0];if(e)return e.containPoint(t)},t.prototype._initCartesian=function(t,e,n){var i=this,r=this,o={left:!1,right:!1,top:!1,bottom:!1},a={x:{},y:{}},s={x:0,y:0};if(e.eachComponent("xAxis",l("x"),this),e.eachComponent("yAxis",l("y"),this),!s.x||!s.y)return this._axesMap={},void(this._axesList=[]);function l(e){return function(n,i){if(UU(n,t)){var l=n.get("position");"x"===e?"top"!==l&&"bottom"!==l&&(l=o.bottom?"top":"bottom"):"left"!==l&&"right"!==l&&(l=o.left?"right":"left"),o[l]=!0;var u=new BU(e,tF(n),[0,0],n.get("type"),l),c="category"===u.type;u.onBand=c&&n.get("boundaryGap"),u.inverse=n.get("inverse"),n.axis=u,u.model=n,u.grid=r,u.index=i,r._axesList.push(u),a[e][i]=u,s[e]++}}}this._axesMap=a,Ky(a.x,(function(e,n){Ky(a.y,(function(r,o){var a="x"+n+"y"+o,s=new NU(a);s.master=i,s.model=t,i._coordsMap[a]=s,i._coordsList.push(s),s.addAxis(e),s.addAxis(r)}))}))},t.prototype._updateScale=function(t,e){function n(t,e){Ky(oF(t,e.dim),(function(n){e.scale.unionExtentFromData(t,n)}))}Ky(this._axesList,(function(t){if(t.scale.setExtent(1/0,-1/0),"category"===t.type){var e=t.model.get("categorySortInfo");t.scale.setSortInfo(e)}})),t.eachSeries((function(t){if(VU(t)){var i=FU(t),r=i.xAxisModel,o=i.yAxisModel;if(!UU(r,e)||!UU(o,e))return;var a=this.getCartesian(r.componentIndex,o.componentIndex),s=t.getData(),l=a.getAxis("x"),u=a.getAxis("y");n(s,l),n(s,u)}}),this)},t.prototype.getTooltipAxes=function(t){var e=[],n=[];return Ky(this.getCartesians(),(function(i){var r=null!=t&&"auto"!==t?i.getAxis(t):i.getBaseAxis(),o=i.getOtherAxis(r);Xy(e,r)<0&&e.push(r),Xy(n,o)<0&&n.push(o)})),{baseAxes:e,otherAxes:n}},t.create=function(e,n){var i=[];return e.eachComponent("grid",(function(r,o){var a=new t(r,e,n);a.name="grid_"+o,a.resize(r,n,!0),r.coordinateSystem=a,i.push(a)})),e.eachSeries((function(t){if(VU(t)){var e=FU(t),n=e.xAxisModel,i=e.yAxisModel,r=n.getCoordSysModel().coordinateSystem;t.coordinateSystem=r.getCartesian(n.componentIndex,i.componentIndex)}})),i},t.dimensions=EU,t}();function UU(t,e){return t.getCoordSysModel()===e}function jU(t,e,n,i){n.getAxesOnZeroOf=function(){return r?[r]:[]};var r,o=t[e],a=n.model,s=a.get(["axisLine","onZero"]),l=a.get(["axisLine","onZeroAxisIndex"]);if(s){if(null!=l)YU(o[l])&&(r=o[l]);else for(var u in o)if(o.hasOwnProperty(u)&&YU(o[u])&&!i[c(o[u])]){r=o[u];break}r&&(i[c(r)]=!0)}function c(t){return t.dim+"_"+t.index}}function YU(t){return t&&"category"!==t.type&&"time"!==t.type&&function(t){var e=t.scale.getExtent(),n=e[0],i=e[1];return!(n>0&&i>0||n<0&&i<0)}(t)}const XU=WU;var qU=Math.PI,ZU=function(){function t(t,e){this.group=new KS,this.opt=e,this.axisModel=t,Yy(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new KS({x:e.position[0],y:e.position[1],rotation:e.rotation});n.updateTransform(),this._transformGroup=n}return t.prototype.hasBuilder=function(t){return!!KU[t]},t.prototype.add=function(t){KU[t](this.opt,this.axisModel,this.group,this._transformGroup)},t.prototype.getGroup=function(){return this.group},t.innerTextLayout=function(t,e,n){var i,r,o=hM(e-t);return dM(o)?(r=n>0?"top":"bottom",i="center"):dM(o-qU)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=o>0&&o<qU?n>0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:i,textVerticalAlign:r}},t.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},t.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},t}(),KU={axisLine:function(t,e,n,i){var r=e.get(["axisLine","show"]);if("auto"===r&&t.handleAutoShown&&(r=t.handleAutoShown("axisLine")),r){var o=e.axis.getExtent(),a=i.transform,s=[o[0],0],l=[o[1],0],u=s[0]>l[0];a&&(X_(s,s,a),X_(l,l,a));var c=jy({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),h=new _D({shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:c,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});uk(h.shape,h.style.lineWidth),h.anid="line",n.add(h);var d=e.get(["axisLine","symbol"]);if(null!=d){var p=e.get(["axisLine","symbolSize"]);o_(d)&&(d=[d,d]),(o_(p)||s_(p))&&(p=[p,p]);var f=AN(e.get(["axisLine","symbolOffset"])||0,p),g=p[0],v=p[1];Ky([{rotate:t.rotation+Math.PI/2,offset:f[0],r:0},{rotate:t.rotation-Math.PI/2,offset:f[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],(function(e,i){if("none"!==d[i]&&null!=d[i]){var r=MN(d[i],-g/2,-v/2,g,v,c.stroke,!0),o=e.r+e.offset,a=u?l:s;r.attr({rotation:e.rotate,x:a[0]+o*Math.cos(t.rotation),y:a[1]-o*Math.sin(t.rotation),silent:!0,z2:11}),n.add(r)}}))}}},axisTickLabel:function(t,e,n,i){var r=function(t,e,n,i){var r=n.axis,o=n.getModel("axisTick"),a=o.get("show");"auto"===a&&i.handleAutoShown&&(a=i.handleAutoShown("axisTick"));if(!a||r.scale.isBlank())return;for(var s=o.getModel("lineStyle"),l=i.tickDirection*o.get("length"),u=tj(r.getTicksCoords(),e.transform,l,Yy(s.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),c=0;c<u.length;c++)t.add(u[c]);return u}(n,i,e,t),o=function(t,e,n,i){var r=n.axis,o=f_(i.axisLabelShow,n.get(["axisLabel","show"]));if(!o||r.scale.isBlank())return;var a=n.getModel("axisLabel"),s=a.get("margin"),l=r.getViewLabels(),u=(f_(i.labelRotate,a.get("rotate"))||0)*qU/180,c=ZU.innerTextLayout(i.rotation,u,i.labelDirection),h=n.getCategories&&n.getCategories(!0),d=[],p=ZU.isLabelSilent(n),f=n.get("triggerEvent");return Ky(l,(function(o,l){var u="ordinal"===r.scale.type?r.scale.getRawOrdinalNumber(o.tickValue):o.tickValue,g=o.formattedLabel,v=o.rawLabel,m=a;if(h&&h[u]){var y=h[u];l_(y)&&y.textStyle&&(m=new tL(y.textStyle,a,n.ecModel))}var _=m.getTextColor()||n.get(["axisLine","lineStyle","color"]),x=r.dataToCoord(u),b=new pC({x:x,y:i.labelOffset+i.labelDirection*s,rotation:c.rotation,silent:p,z2:10+(o.level||0),style:kk(m,{text:g,align:m.getShallow("align",!0)||c.textAlign,verticalAlign:m.getShallow("verticalAlign",!0)||m.getShallow("baseline",!0)||c.textVerticalAlign,fill:r_(_)?_("category"===r.type?v:"value"===r.type?u+"":u,l):_})});if(b.anid="label_"+u,f){var w=ZU.makeAxisEventDataBase(n);w.targetType="axisLabel",w.value=v,w.tickIndex=l,"category"===r.type&&(w.dataIndex=u),fC(b).eventData=w}e.add(b),b.updateTransform(),d.push(b),t.add(b),b.decomposeTransform()})),d}(n,i,e,t);(function(t,e,n){if(rF(t.axis))return;var i=t.get(["axisLabel","showMinLabel"]),r=t.get(["axisLabel","showMaxLabel"]);e=e||[],n=n||[];var o=e[0],a=e[1],s=e[e.length-1],l=e[e.length-2],u=n[0],c=n[1],h=n[n.length-1],d=n[n.length-2];!1===i?($U(o),$U(u)):JU(o,a)&&(i?($U(a),$U(c)):($U(o),$U(u)));!1===r?($U(s),$U(h)):JU(l,s)&&(r?($U(l),$U(d)):($U(s),$U(h)))}(e,o,r),function(t,e,n,i){var r=n.axis,o=n.getModel("minorTick");if(!o.get("show")||r.scale.isBlank())return;var a=r.getMinorTicksCoords();if(!a.length)return;for(var s=o.getModel("lineStyle"),l=i*o.get("length"),u=Yy(s.getLineStyle(),Yy(n.getModel("axisTick").getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])})),c=0;c<a.length;c++)for(var h=tj(a[c],e.transform,l,u,"minorticks_"+c),d=0;d<h.length;d++)t.add(h[d])}(n,i,e,t.tickDirection),e.get(["axisLabel","hideOverlap"]))&&sG(rG($y(o,(function(t){return{label:t,priority:t.z2,defaultAttr:{ignore:t.ignore}}}))))},axisName:function(t,e,n,i){var r=f_(t.axisName,e.get("name"));if(r){var o,a,s=e.get("nameLocation"),l=t.nameDirection,u=e.getModel("nameTextStyle"),c=e.get("nameGap")||0,h=e.axis.getExtent(),d=h[0]>h[1]?-1:1,p=["start"===s?h[0]-d*c:"end"===s?h[1]+d*c:(h[0]+h[1])/2,QU(s)?t.labelOffset+l*c:0],f=e.get("nameRotate");null!=f&&(f=f*qU/180),QU(s)?o=ZU.innerTextLayout(t.rotation,null!=f?f:t.rotation,l):(o=function(t,e,n,i){var r,o,a=hM(n-t),s=i[0]>i[1],l="start"===e&&!s||"start"!==e&&s;dM(a-qU/2)?(o=l?"bottom":"top",r="center"):dM(a-1.5*qU)?(o=l?"top":"bottom",r="center"):(o="middle",r=a<1.5*qU&&a>qU/2?l?"left":"right":l?"right":"left");return{rotation:a,textAlign:r,textVerticalAlign:o}}(t.rotation,s,f||0,h),null!=(a=t.axisNameAvailableWidth)&&(a=Math.abs(a/Math.sin(o.rotation)),!isFinite(a)&&(a=null)));var g=u.getFont(),v=e.get("nameTruncate",!0)||{},m=v.ellipsis,y=f_(t.nameTruncateMaxWidth,v.maxWidth,a),_=new pC({x:p[0],y:p[1],rotation:o.rotation,silent:ZU.isLabelSilent(e),style:kk(u,{text:r,font:g,overflow:"truncate",width:y,ellipsis:m,fill:u.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:u.get("align")||o.textAlign,verticalAlign:u.get("verticalAlign")||o.textVerticalAlign}),z2:1});if(bk({el:_,componentModel:e,itemName:r}),_.__fullText=r,_.anid="name",e.get("triggerEvent")){var x=ZU.makeAxisEventDataBase(e);x.targetType="axisName",x.name=r,fC(_).eventData=x}i.add(_),_.updateTransform(),n.add(_),_.decomposeTransform()}}};function $U(t){t&&(t.ignore=!0)}function JU(t,e){var n=t&&t.getBoundingRect().clone(),i=e&&e.getBoundingRect().clone();if(n&&i){var r=Ix([]);return Dx(r,r,-t.rotation),n.applyTransform(Cx([],r,t.getLocalTransform())),i.applyTransform(Cx([],r,e.getLocalTransform())),n.intersect(i)}}function QU(t){return"middle"===t||"center"===t}function tj(t,e,n,i,r){for(var o=[],a=[],s=[],l=0;l<t.length;l++){var u=t[l].coord;a[0]=u,a[1]=0,s[0]=u,s[1]=n,e&&(X_(a,a,e),X_(s,s,e));var c=new _D({shape:{x1:a[0],y1:a[1],x2:s[0],y2:s[1]},style:i,z2:2,autoBatch:!0,silent:!0});uk(c.shape,c.style.lineWidth),c.anid=r+"_"+t[l].tickValue,o.push(c)}return o}const ej=ZU;function nj(t,e){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return function(t,e,n){var i=e.getComponent("tooltip"),r=e.getComponent("axisPointer"),o=r.get("link",!0)||[],a=[];Ky(n.getCoordinateSystems(),(function(n){if(n.axisPointerEnabled){var s=aj(n.model),l=t.coordSysAxesInfo[s]={};t.coordSysMap[s]=n;var u=n.model.getModel("tooltip",i);if(Ky(n.getAxes(),n_(p,!1,null)),n.getTooltipAxes&&i&&u.get("show")){var c="axis"===u.get("trigger"),h="cross"===u.get(["axisPointer","type"]),d=n.getTooltipAxes(u.get(["axisPointer","axis"]));(c||h)&&Ky(d.baseAxes,n_(p,!h||"cross",c)),h&&Ky(d.otherAxes,n_(p,"cross",!1))}}function p(i,s,c){var h=c.model.getModel("axisPointer",r),d=h.get("show");if(d&&("auto"!==d||i||oj(h))){null==s&&(s=h.get("triggerTooltip")),h=i?function(t,e,n,i,r,o){var a=e.getModel("axisPointer"),s={};Ky(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],(function(t){s[t]=Hy(a.get(t))})),s.snap="category"!==t.type&&!!o,"cross"===a.get("type")&&(s.type="line");var l=s.label||(s.label={});if(null==l.show&&(l.show=!1),"cross"===r){var u=a.get(["label","show"]);if(l.show=null==u||u,!o){var c=s.lineStyle=a.get("crossStyle");c&&Yy(l,c.textStyle)}}return t.model.getModel("axisPointer",new tL(s,n,i))}(c,u,r,e,i,s):h;var p=h.get("snap"),f=h.get("triggerEmphasis"),g=aj(c.model),v=s||p||"category"===c.type,m=t.axesInfo[g]={key:g,axis:c,coordSys:n,axisPointerModel:h,triggerTooltip:s,triggerEmphasis:f,involveSeries:v,snap:p,useHandle:oj(h),seriesModels:[],linkGroup:null};l[g]=m,t.seriesInvolved=t.seriesInvolved||v;var y=function(t,e){for(var n=e.model,i=e.dim,r=0;r<t.length;r++){var o=t[r]||{};if(ij(o[i+"AxisId"],n.id)||ij(o[i+"AxisIndex"],n.componentIndex)||ij(o[i+"AxisName"],n.name))return r}}(o,c);if(null!=y){var _=a[y]||(a[y]={axesInfo:{}});_.axesInfo[g]=m,_.mapper=o[y].mapper,m.linkGroup=_}}}}))}(n,t,e),n.seriesInvolved&&function(t,e){e.eachSeries((function(e){var n=e.coordinateSystem,i=e.get(["tooltip","trigger"],!0),r=e.get(["tooltip","show"],!0);n&&"none"!==i&&!1!==i&&"item"!==i&&!1!==r&&!1!==e.get(["axisPointer","show"],!0)&&Ky(t.coordSysAxesInfo[aj(n.model)],(function(t){var i=t.axis;n.getAxis(i.dim)===i&&(t.seriesModels.push(e),null==t.seriesDataCount&&(t.seriesDataCount=0),t.seriesDataCount+=e.getData().count())}))}))}(n,t),n}function ij(t,e){return"all"===t||i_(t)&&Xy(t,e)>=0||t===e}function rj(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[aj(t)]}function oj(t){return!!t.get(["handle","show"])}function aj(t){return t.type+"||"+t.id}var sj={};const lj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.render=function(e,n,i,r){this.axisPointerClass&&function(t){var e=rj(t);if(e){var n=e.axisPointerModel,i=e.axis.scale,r=n.option,o=n.get("status"),a=n.get("value");null!=a&&(a=i.parse(a));var s=oj(n);null==o&&(r.status=s?"show":"hide");var l=i.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==a||a>l[1])&&(a=l[1]),a<l[0]&&(a=l[0]),r.value=a,s&&(r.status=e.axis.scale.isBlank()?"hide":"show")}}(e),t.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(e,i,!0)},e.prototype.updateAxisPointer=function(t,e,n,i){this._doUpdateAxisPointerClass(t,n,!1)},e.prototype.remove=function(t,e){var n=this._axisPointer;n&&n.remove(e)},e.prototype.dispose=function(e,n){this._disposeAxisPointer(n),t.prototype.dispose.apply(this,arguments)},e.prototype._doUpdateAxisPointerClass=function(t,n,i){var r=e.getAxisPointerClass(this.axisPointerClass);if(r){var o=function(t){var e=rj(t);return e&&e.axisPointerModel}(t);o?(this._axisPointer||(this._axisPointer=new r)).render(t,o,n,i):this._disposeAxisPointer(n)}},e.prototype._disposeAxisPointer=function(t){this._axisPointer&&this._axisPointer.dispose(t),this._axisPointer=null},e.registerAxisPointerClass=function(t,e){sj[t]=e},e.getAxisPointerClass=function(t){return t&&sj[t]},e.type="axis",e}(rR);var uj=FM();function cj(t,e,n,i){var r=n.axis;if(!r.scale.isBlank()){var o=n.getModel("splitArea"),a=o.getModel("areaStyle"),s=a.get("color"),l=i.coordinateSystem.getRect(),u=r.getTicksCoords({tickModel:o,clamp:!0});if(u.length){var c=s.length,h=uj(t).splitAreaColors,d=C_(),p=0;if(h)for(var f=0;f<u.length;f++){var g=h.get(u[f].tickValue);if(null!=g){p=(g+(c-1)*f)%c;break}}var v=r.toGlobalCoord(u[0].coord),m=a.getAreaStyle();s=i_(s)?s:[s];for(f=1;f<u.length;f++){var y=r.toGlobalCoord(u[f].coord),_=void 0,x=void 0,b=void 0,w=void 0;r.isHorizontal()?(_=v,x=l.y,b=y-_,w=l.height,v=_+b):(_=l.x,x=v,b=l.width,v=x+(w=y-x));var S=u[f-1].tickValue;null!=S&&d.set(S,p),e.add(new $A({anid:null!=S?"area_"+S:null,shape:{x:_,y:x,width:b,height:w},style:Yy({fill:s[p]},m),autoBatch:!0,silent:!0})),p=(p+1)%c}uj(t).splitAreaColors=d}}}function hj(t){uj(t).splitAreaColors=null}var dj=["axisLine","axisTickLabel","axisName"],pj=["splitArea","splitLine","minorSplitLine"],fj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="CartesianAxisPointer",n}return my(e,t),e.prototype.render=function(e,n,i,r){this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new KS,this.group.add(this._axisGroup),e.get("show")){var a=e.getCoordSysModel(),s=zU(a,e),l=new ej(e,jy({handleAutoShown:function(t){for(var n=a.coordinateSystem.getCartesians(),i=0;i<n.length;i++)if(eV(n[i].getOtherAxis(e.axis).scale))return!0;return!1}},s));Ky(dj,l.add,l),this._axisGroup.add(l.getGroup()),Ky(pj,(function(t){e.get([t,"show"])&&gj[t](this,this._axisGroup,e,a)}),this),r&&"changeAxisOrder"===r.type&&r.isInitSort||gk(o,this._axisGroup,e),t.prototype.render.call(this,e,n,i,r)}},e.prototype.remove=function(){hj(this)},e.type="cartesianAxis",e}(lj),gj={splitLine:function(t,e,n,i){var r=n.axis;if(!r.scale.isBlank()){var o=n.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color");s=i_(s)?s:[s];for(var l=i.coordinateSystem.getRect(),u=r.isHorizontal(),c=0,h=r.getTicksCoords({tickModel:o}),d=[],p=[],f=a.getLineStyle(),g=0;g<h.length;g++){var v=r.toGlobalCoord(h[g].coord);u?(d[0]=v,d[1]=l.y,p[0]=v,p[1]=l.y+l.height):(d[0]=l.x,d[1]=v,p[0]=l.x+l.width,p[1]=v);var m=c++%s.length,y=h[g].tickValue,_=new _D({anid:null!=y?"line_"+h[g].tickValue:null,autoBatch:!0,shape:{x1:d[0],y1:d[1],x2:p[0],y2:p[1]},style:Yy({stroke:s[m]},f),silent:!0});uk(_.shape,f.lineWidth),e.add(_)}}},minorSplitLine:function(t,e,n,i){var r=n.axis,o=n.getModel("minorSplitLine").getModel("lineStyle"),a=i.coordinateSystem.getRect(),s=r.isHorizontal(),l=r.getMinorTicksCoords();if(l.length)for(var u=[],c=[],h=o.getLineStyle(),d=0;d<l.length;d++)for(var p=0;p<l[d].length;p++){var f=r.toGlobalCoord(l[d][p].coord);s?(u[0]=f,u[1]=a.y,c[0]=f,c[1]=a.y+a.height):(u[0]=a.x,u[1]=f,c[0]=a.x+a.width,c[1]=f);var g=new _D({anid:"minor_line_"+l[d][p].tickValue,autoBatch:!0,shape:{x1:u[0],y1:u[1],x2:c[0],y2:c[1]},style:h,silent:!0});uk(g.shape,h.lineWidth),e.add(g)}},splitArea:function(t,e,n,i){cj(t,e,n,i)}},vj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.type="xAxis",e}(fj),mj=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=vj.type,e}return my(e,t),e.type="yAxis",e}(fj),yj=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="grid",e}return my(e,t),e.prototype.render=function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new $A({shape:t.coordinateSystem.getRect(),style:Yy({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))},e.type="grid",e}(rR),_j={offset:0};function xj(t){t.registerComponentView(yj),t.registerComponentModel(MU),t.registerCoordinateSystem("cartesian2d",XU),LU(t,"x",IU,_j),LU(t,"y",IU,_j),t.registerComponentView(vj),t.registerComponentView(mj),t.registerPreprocessor((function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})}))}function bj(t){t.eachSeriesByType("radar",(function(t){var e=t.getData(),n=[],i=t.coordinateSystem;if(i){var r=i.getIndicatorAxes();Ky(r,(function(t,o){e.each(e.mapDimension(r[o].dim),(function(t,e){n[e]=n[e]||[];var r=i.dataToPoint(t,o);n[e][o]=wj(r)?r:Sj(i)}))})),e.each((function(t){var r=function(t,e,n){if(t&&e)for(var i=0,r=t.length;i<r;i++)if(e.call(n,t[i],i,t))return t[i]}(n[t],(function(t){return wj(t)}))||Sj(i);n[t].push(r.slice()),e.setItemLayout(t,n[t])}))}}))}function wj(t){return!isNaN(t[0])&&!isNaN(t[1])}function Sj(t){return[t.cx,t.cy]}function Mj(t){var e=t.polar;if(e){i_(e)||(e=[e]);var n=[];Ky(e,(function(e,i){e.indicator?(e.type&&!e.shape&&(e.shape=e.type),t.radar=t.radar||[],i_(t.radar)||(t.radar=[t.radar]),t.radar.push(e)):n.push(e)})),t.polar=n}Ky(t.series,(function(t){t&&"radar"===t.type&&t.polarIndex&&(t.radarIndex=t.polarIndex)}))}var Ij=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.render=function(t,e,n){var i=t.coordinateSystem,r=this.group,o=t.getData(),a=this._data;function s(t,e){var n=t.getItemVisual(e,"symbol")||"circle";if("none"!==n){var i=IN(t.getItemVisual(e,"symbolSize")),r=MN(n,-1,-1,2,2),o=t.getItemVisual(e,"symbolRotate")||0;return r.attr({style:{strokeNoScale:!0},z2:100,scaleX:i[0]/2,scaleY:i[1]/2,rotation:o*Math.PI/180||0}),r}}function l(e,n,i,r,o,a){i.removeAll();for(var l=0;l<n.length-1;l++){var u=s(r,o);u&&(u.__dimIdx=l,e[l]?(u.setPosition(e[l]),Mk[a?"initProps":"updateProps"](u,{x:n[l][0],y:n[l][1]},t,o)):u.setPosition(n[l]),i.add(u))}}function u(t){return $y(t,(function(t){return[i.cx,i.cy]}))}o.diff(a).add((function(e){var n=o.getItemLayout(e);if(n){var i=new dD,r=new gD,a={shape:{points:n}};i.shape.points=u(n),r.shape.points=u(n),YD(i,a,t,e),YD(r,a,t,e);var s=new KS,c=new KS;s.add(r),s.add(i),s.add(c),l(r.shape.points,n,c,o,e,!0),o.setItemGraphicEl(e,s)}})).update((function(e,n){var i=a.getItemGraphicEl(n),r=i.childAt(0),s=i.childAt(1),u=i.childAt(2),c={shape:{points:o.getItemLayout(e)}};c.shape.points&&(l(r.shape.points,c.shape.points,u,o,e,!1),$D(s),$D(r),jD(r,c,t),jD(s,c,t),o.setItemGraphicEl(e,i))})).remove((function(t){r.remove(a.getItemGraphicEl(t))})).execute(),o.eachItemGraphicEl((function(t,e){var n=o.getItemModel(e),i=t.childAt(0),a=t.childAt(1),s=t.childAt(2),l=o.getItemVisual(e,"style"),u=l.fill;r.add(t),i.useStyle(Yy(n.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:u})),pT(i,n,"lineStyle"),pT(a,n,"areaStyle");var c=n.getModel("areaStyle"),h=c.isEmpty()&&c.parentModel.isEmpty();a.ignore=h,Ky(["emphasis","select","blur"],(function(t){var e=n.getModel([t,"areaStyle"]),i=e.isEmpty()&&e.parentModel.isEmpty();a.ensureState(t).ignore=i&&h})),a.useStyle(Yy(c.getAreaStyle(),{fill:u,opacity:.7,decal:l.decal}));var d=n.getModel("emphasis"),p=d.getModel("itemStyle").getItemStyle();s.eachChild((function(t){if(t instanceof WA){var i=t.style;t.useStyle(jy({image:i.image,x:i.x,y:i.y,width:i.width,height:i.height},l))}else t.useStyle(l),t.setColor(u),t.style.strokeNoScale=!0;t.ensureState("emphasis").style=Hy(p);var r=o.getStore().get(o.getDimensionIndex(t.__dimIdx),e);(null==r||isNaN(r))&&(r=""),Tk(t,Dk(n),{labelFetcher:o.hostModel,labelDataIndex:e,labelDimIndex:t.__dimIdx,defaultText:r,inheritColor:u,defaultOpacity:l.opacity})})),uT(t,d.get("focus"),d.get("blurScope"),d.get("disabled"))})),this._data=o},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.type="radar",e}(fR);const Aj=Ij;var Cj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return my(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new gU(e_(this.getData,this),e_(this.getRawData,this))},e.prototype.getInitialData=function(t,e){return pU(this,{generateCoord:"indicator_",generateCoordCount:1/0})},e.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=this.coordinateSystem.getIndicatorAxes(),o=this.getData().getName(t),a=""===o?this.name:o,s=GE(this,t);return PE("section",{header:a,sortBlocks:!0,blocks:$y(r,(function(e){var n=i.get(i.mapDimension(e.dim),t);return PE("nameValue",{markerType:"subItem",markerColor:s,name:e.name,value:n,sortParam:n})}))})},e.prototype.getTooltipPosition=function(t){if(null!=t)for(var e=this.getData(),n=this.coordinateSystem,i=e.getValues($y(n.dimensions,(function(t){return e.mapDimension(t)})),t),r=0,o=i.length;r<o;r++)if(!isNaN(i[r])){var a=n.getIndicatorAxes();return n.coordToPoint(a[r].dataToCoord(i[r]),r)}},e.type="series.radar",e.dependencies=["radar"],e.defaultOption={z:2,colorBy:"data",coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid",join:"round"},label:{position:"top"},symbolSize:8},e}(nR);const Tj=Cj;var Dj=DU.value;function kj(t,e){return Yy({show:e},t)}const Lj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.optionUpdated=function(){var t=this.get("boundaryGap"),e=this.get("splitNumber"),n=this.get("scale"),i=this.get("axisLine"),r=this.get("axisTick"),o=this.get("axisLabel"),a=this.get("axisName"),s=this.get(["axisName","show"]),l=this.get(["axisName","formatter"]),u=this.get("axisNameGap"),c=this.get("triggerEvent"),h=$y(this.get("indicator")||[],(function(h){null!=h.max&&h.max>0&&!h.min?h.min=0:null!=h.min&&h.min<0&&!h.max&&(h.max=0);var d=a;null!=h.color&&(d=Yy({color:h.color},a));var p=Wy(Hy(h),{boundaryGap:t,splitNumber:e,scale:n,axisLine:i,axisTick:r,axisLabel:o,name:h.text,showName:s,nameLocation:"end",nameGap:u,nameTextStyle:d,triggerEvent:c},!1);if(o_(l)){var f=p.name;p.name=l.replace("{value}",null!=f?f:"")}else r_(l)&&(p.name=l(p.name,p));var g=new tL(p,null,this.ecModel);return qy(g,aF.prototype),g.mainType="radar",g.componentIndex=this.componentIndex,g}),this);this._indicatorModels=h},e.prototype.getIndicatorModels=function(){return this._indicatorModels},e.type="radar",e.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:Wy({lineStyle:{color:"#bbb"}},Dj.axisLine),axisLabel:kj(Dj.axisLabel,!1),axisTick:kj(Dj.axisTick,!1),splitLine:kj(Dj.splitLine,!0),splitArea:kj(Dj.splitArea,!0),indicator:[]},e}(cP);var Pj=["axisLine","axisTickLabel","axisName"],Oj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.render=function(t,e,n){this.group.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},e.prototype._buildAxes=function(t){var e=t.coordinateSystem;Ky($y(e.getIndicatorAxes(),(function(t){var n=t.model.get("showName")?t.name:"";return new ej(t.model,{axisName:n,position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})})),(function(t){Ky(Pj,t.add,t),this.group.add(t.getGroup())}),this)},e.prototype._buildSplitLineAndArea=function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes();if(n.length){var i=t.get("shape"),r=t.getModel("splitLine"),o=t.getModel("splitArea"),a=r.getModel("lineStyle"),s=o.getModel("areaStyle"),l=r.get("show"),u=o.get("show"),c=a.get("color"),h=s.get("color"),d=i_(c)?c:[c],p=i_(h)?h:[h],f=[],g=[];if("circle"===i)for(var v=n[0].getTicksCoords(),m=e.cx,y=e.cy,_=0;_<v.length;_++){if(l)f[C(f,d,_)].push(new FT({shape:{cx:m,cy:y,r:v[_].coord}}));if(u&&_<v.length-1)g[C(g,p,_)].push(new lD({shape:{cx:m,cy:y,r0:v[_].coord,r:v[_+1].coord}}))}else{var x,b=$y(n,(function(t,n){var i=t.getTicksCoords();return x=null==x?i.length-1:Math.min(i.length-1,x),$y(i,(function(t){return e.coordToPoint(t.coord,n)}))})),w=[];for(_=0;_<=x;_++){for(var S=[],M=0;M<n.length;M++)S.push(b[M][_]);if(S[0]&&S.push(S[0].slice()),l)f[C(f,d,_)].push(new gD({shape:{points:S}}));if(u&&w)g[C(g,p,_-1)].push(new dD({shape:{points:S.concat(w)}}));w=S.slice().reverse()}}var I=a.getLineStyle(),A=s.getAreaStyle();Ky(g,(function(t,e){this.group.add(sk(t,{style:Yy({stroke:"none",fill:p[e%p.length]},A),silent:!0}))}),this),Ky(f,(function(t,e){this.group.add(sk(t,{style:Yy({fill:"none",stroke:d[e%d.length]},I),silent:!0}))}),this)}function C(t,e,n){var i=n%e.length;return t[i]=t[i]||[],i}},e.type="radar",e}(rR);const Ej=Oj;const Rj=function(t){function e(e,n,i){var r=t.call(this,e,n,i)||this;return r.type="value",r.angle=0,r.name="",r}return my(e,t),e}(OF);var Nj=function(){function t(t,e,n){this.dimensions=[],this._model=t,this._indicatorAxes=$y(t.getIndicatorModels(),(function(t,e){var n="indicator_"+e,i=new Rj(n,new pV);return i.name=t.get("name"),i.model=t,t.axis=i,this.dimensions.push(n),i}),this),this.resize(t,n)}return t.prototype.getIndicatorAxes=function(){return this._indicatorAxes},t.prototype.dataToPoint=function(t,e){var n=this._indicatorAxes[e];return this.coordToPoint(n.dataToCoord(t),e)},t.prototype.coordToPoint=function(t,e){var n=this._indicatorAxes[e].angle;return[this.cx+t*Math.cos(n),this.cy-t*Math.sin(n)]},t.prototype.pointToData=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=Math.sqrt(e*e+n*n);e/=i,n/=i;for(var r,o=Math.atan2(-n,e),a=1/0,s=-1,l=0;l<this._indicatorAxes.length;l++){var u=this._indicatorAxes[l],c=Math.abs(o-u.angle);c<a&&(r=u,s=l,a=c)}return[s,+(r&&r.coordToData(i))]},t.prototype.resize=function(t,e){var n=t.get("center"),i=e.getWidth(),r=e.getHeight(),o=Math.min(i,r)/2;this.cx=rM(n[0],i),this.cy=rM(n[1],r),this.startAngle=t.get("startAngle")*Math.PI/180;var a=t.get("radius");(o_(a)||s_(a))&&(a=[0,a]),this.r0=rM(a[0],o),this.r=rM(a[1],o),Ky(this._indicatorAxes,(function(t,e){t.setExtent(this.r0,this.r);var n=this.startAngle+e*Math.PI*2/this._indicatorAxes.length;n=Math.atan2(Math.sin(n),Math.cos(n)),t.angle=n}),this)},t.prototype.update=function(t,e){var n=this._indicatorAxes,i=this._model;Ky(n,(function(t){t.scale.setExtent(1/0,-1/0)})),t.eachSeriesByType("radar",(function(e,r){if("radar"===e.get("coordinateSystem")&&t.getComponent("radar",e.get("radarIndex"))===i){var o=e.getData();Ky(n,(function(t){t.scale.unionExtentFromData(o,o.mapDimension(t.dim))}))}}),this);var r=i.get("splitNumber"),o=new pV;o.setExtent(0,r),o.setInterval(1),Ky(n,(function(t,e){HU(t.scale,t.model,o)}))},t.prototype.convertToPixel=function(t,e,n){return console.warn("Not implemented."),null},t.prototype.convertFromPixel=function(t,e,n){return console.warn("Not implemented."),null},t.prototype.containPoint=function(t){return console.warn("Not implemented."),!1},t.create=function(e,n){var i=[];return e.eachComponent("radar",(function(r){var o=new t(r,e,n);i.push(o),r.coordinateSystem=o})),e.eachSeriesByType("radar",(function(t){"radar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("radarIndex")||0])})),i},t.dimensions=[],t}();const Bj=Nj;function zj(t){t.registerCoordinateSystem("radar",Bj),t.registerComponentModel(Lj),t.registerComponentView(Ej),t.registerVisual({seriesType:"radar",reset:function(t){var e=t.getData();e.each((function(t){e.setItemVisual(t,"legendIcon","roundRect")})),e.setVisual("legendIcon","roundRect")}})}var Vj="\0_ec_interaction_mutex";function Fj(t,e){return!!Gj(t)[e]}function Gj(t){return t[Vj]||(t[Vj]={})}function Hj(t,e,n,i,r){t.pointerChecker&&t.pointerChecker(i,r.originX,r.originY)&&(_x(i.event),Wj(t,e,n,i,r))}function Wj(t,e,n,i,r){r.isAvailableBehavior=e_(Uj,null,n,i),t.trigger(e,r)}function Uj(t,e,n){var i=n[t];return!t||i&&(!o_(i)||e.event[i+"Key"])}iz({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},P_);const jj=function(t){function e(e){var n=t.call(this)||this;n._zr=e;var i=e_(n._mousedownHandler,n),r=e_(n._mousemoveHandler,n),o=e_(n._mouseupHandler,n),a=e_(n._mousewheelHandler,n),s=e_(n._pinchHandler,n);return n.enable=function(t,n){this.disable(),this._opt=Yy(Hy(n)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==t&&(t=!0),!0!==t&&"move"!==t&&"pan"!==t||(e.on("mousedown",i),e.on("mousemove",r),e.on("mouseup",o)),!0!==t&&"scale"!==t&&"zoom"!==t||(e.on("mousewheel",a),e.on("pinch",s))},n.disable=function(){e.off("mousedown",i),e.off("mousemove",r),e.off("mouseup",o),e.off("mousewheel",a),e.off("pinch",s)},n}return my(e,t),e.prototype.isDragging=function(){return this._dragging},e.prototype.isPinching=function(){return this._pinching},e.prototype.setPointerChecker=function(t){this.pointerChecker=t},e.prototype.dispose=function(){this.disable()},e.prototype._mousedownHandler=function(t){if(!xx(t)){for(var e=t.target;e;){if(e.draggable)return;e=e.__hostTarget||e.parent}var n=t.offsetX,i=t.offsetY;this.pointerChecker&&this.pointerChecker(t,n,i)&&(this._x=n,this._y=i,this._dragging=!0)}},e.prototype._mousemoveHandler=function(t){if(this._dragging&&Uj("moveOnMouseMove",t,this._opt)&&"pinch"!==t.gestureEvent&&!Fj(this._zr,"globalPan")){var e=t.offsetX,n=t.offsetY,i=this._x,r=this._y,o=e-i,a=n-r;this._x=e,this._y=n,this._opt.preventDefaultMouseMove&&_x(t.event),Wj(this,"pan","moveOnMouseMove",t,{dx:o,dy:a,oldX:i,oldY:r,newX:e,newY:n,isAvailableBehavior:null})}},e.prototype._mouseupHandler=function(t){xx(t)||(this._dragging=!1)},e.prototype._mousewheelHandler=function(t){var e=Uj("zoomOnMouseWheel",t,this._opt),n=Uj("moveOnMouseWheel",t,this._opt),i=t.wheelDelta,r=Math.abs(i),o=t.offsetX,a=t.offsetY;if(0!==i&&(e||n)){if(e){var s=r>3?1.4:r>1?1.2:1.1;Hj(this,"zoom","zoomOnMouseWheel",t,{scale:i>0?s:1/s,originX:o,originY:a,isAvailableBehavior:null})}if(n){var l=Math.abs(i);Hj(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(i>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:o,originY:a,isAvailableBehavior:null})}}},e.prototype._pinchHandler=function(t){Fj(this._zr,"globalPan")||Hj(this,"zoom",null,t,{scale:t.pinchScale>1?1.1:1/1.1,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})},e}(Q_);function Yj(t,e,n){var i=t.target;i.x+=e,i.y+=n,i.dirty()}function Xj(t,e,n,i){var r=t.target,o=t.zoomLimit,a=t.zoom=t.zoom||1;if(a*=e,o){var s=o.min||0,l=o.max||1/0;a=Math.max(Math.min(l,a),s)}var u=a/t.zoom;t.zoom=a,r.x-=(n-r.x)*(u-1),r.y-=(i-r.y)*(u-1),r.scaleX*=u,r.scaleY*=u,r.dirty()}var qj,Zj={axisPointer:1,tooltip:1,brush:1};function Kj(t,e,n){var i=e.getComponentByElement(t.topTarget),r=i&&i.coordinateSystem;return i&&i!==n&&!Zj.hasOwnProperty(i.mainType)&&r&&r.model!==n}function $j(t){o_(t)&&(t=(new DOMParser).parseFromString(t,"text/xml"));var e=t;for(9===e.nodeType&&(e=e.firstChild);"svg"!==e.nodeName.toLowerCase()||1!==e.nodeType;)e=e.nextSibling;return e}var Jj={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},Qj=t_(Jj),tY={"alignment-baseline":"textBaseline","stop-color":"stopColor"},eY=t_(tY),nY=function(){function t(){this._defs={},this._root=null}return t.prototype.parse=function(t,e){e=e||{};var n=$j(t);this._defsUsePending=[];var i=new KS;this._root=i;var r=[],o=n.getAttribute("viewBox")||"",a=parseFloat(n.getAttribute("width")||e.width),s=parseFloat(n.getAttribute("height")||e.height);isNaN(a)&&(a=null),isNaN(s)&&(s=null),lY(n,i,null,!0,!1);for(var l,u,c=n.firstChild;c;)this._parseNode(c,i,r,null,!1,!1),c=c.nextSibling;if(function(t,e){for(var n=0;n<e.length;n++){var i=e[n];i[0].style[i[1]]=t[i[2]]}}(this._defs,this._defsUsePending),this._defsUsePending=[],o){var h=dY(o);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!=s&&(u=mY(l,{x:0,y:0,width:a,height:s}),!e.ignoreViewBox)){var d=i;(i=new KS).add(d),d.scaleX=d.scaleY=u.scale,d.x=u.x,d.y=u.y}return e.ignoreRootClip||null==a||null==s||i.setClipPath(new $A({shape:{x:0,y:0,width:a,height:s}})),{root:i,width:a,height:s,viewBoxRect:l,viewBoxTransform:u,named:r}},t.prototype._parseNode=function(t,e,n,i,r,o){var a,s=t.nodeName.toLowerCase(),l=i;if("defs"===s&&(r=!0),"text"===s&&(o=!0),"defs"===s||"switch"===s)a=e;else{if(!r){var u=qj[s];if(u&&L_(qj,s)){a=u.call(this,t,e);var c=t.getAttribute("name");if(c){var h={name:c,namedFrom:null,svgNodeTagLower:s,el:a};n.push(h),"g"===s&&(l=h)}else i&&n.push({name:i.name,namedFrom:i,svgNodeTagLower:s,el:a});e.add(a)}}var d=iY[s];if(d&&L_(iY,s)){var p=d.call(this,t),f=t.getAttribute("id");f&&(this._defs[f]=p)}}if(a&&a.isGroup)for(var g=t.firstChild;g;)1===g.nodeType?this._parseNode(g,a,n,l,r,o):3===g.nodeType&&o&&this._parseText(g,a),g=g.nextSibling},t.prototype._parseText=function(t,e){var n=new VA({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});aY(e,n),lY(t,n,this._defsUsePending,!1,!1),function(t,e){var n=e.__selfStyle;if(n){var i=n.textBaseline,r=i;i&&"auto"!==i?"baseline"===i?r="alphabetic":"before-edge"===i||"text-before-edge"===i?r="top":"after-edge"===i||"text-after-edge"===i?r="bottom":"central"!==i&&"mathematical"!==i||(r="middle"):r="alphabetic",t.style.textBaseline=r}var o=e.__inheritedStyle;if(o){var a=o.textAlign,s=a;a&&("middle"===a&&(s="center"),t.style.textAlign=s)}}(n,e);var i=n.style,r=i.fontSize;r&&r<9&&(i.fontSize=9,n.scaleX*=r/9,n.scaleY*=r/9);var o=(i.fontSize||i.fontFamily)&&[i.fontStyle,i.fontWeight,(i.fontSize||12)+"px",i.fontFamily||"sans-serif"].join(" ");i.font=o;var a=n.getBoundingRect();return this._textX+=a.width,e.add(n),n},t.internalField=void(qj={g:function(t,e){var n=new KS;return aY(e,n),lY(t,n,this._defsUsePending,!1,!1),n},rect:function(t,e){var n=new $A;return aY(e,n),lY(t,n,this._defsUsePending,!1,!1),n.setShape({x:parseFloat(t.getAttribute("x")||"0"),y:parseFloat(t.getAttribute("y")||"0"),width:parseFloat(t.getAttribute("width")||"0"),height:parseFloat(t.getAttribute("height")||"0")}),n.silent=!0,n},circle:function(t,e){var n=new FT;return aY(e,n),lY(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),n.silent=!0,n},line:function(t,e){var n=new _D;return aY(e,n),lY(t,n,this._defsUsePending,!1,!1),n.setShape({x1:parseFloat(t.getAttribute("x1")||"0"),y1:parseFloat(t.getAttribute("y1")||"0"),x2:parseFloat(t.getAttribute("x2")||"0"),y2:parseFloat(t.getAttribute("y2")||"0")}),n.silent=!0,n},ellipse:function(t,e){var n=new WT;return aY(e,n),lY(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),rx:parseFloat(t.getAttribute("rx")||"0"),ry:parseFloat(t.getAttribute("ry")||"0")}),n.silent=!0,n},polygon:function(t,e){var n,i=t.getAttribute("points");i&&(n=sY(i));var r=new dD({shape:{points:n||[]},silent:!0});return aY(e,r),lY(t,r,this._defsUsePending,!1,!1),r},polyline:function(t,e){var n,i=t.getAttribute("points");i&&(n=sY(i));var r=new gD({shape:{points:n||[]},silent:!0});return aY(e,r),lY(t,r,this._defsUsePending,!1,!1),r},image:function(t,e){var n=new WA;return aY(e,n),lY(t,n,this._defsUsePending,!1,!1),n.setStyle({image:t.getAttribute("xlink:href")||t.getAttribute("href"),x:+t.getAttribute("x"),y:+t.getAttribute("y"),width:+t.getAttribute("width"),height:+t.getAttribute("height")}),n.silent=!0,n},text:function(t,e){var n=t.getAttribute("x")||"0",i=t.getAttribute("y")||"0",r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(r),this._textY=parseFloat(i)+parseFloat(o);var a=new KS;return aY(e,a),lY(t,a,this._defsUsePending,!1,!0),a},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",o=t.getAttribute("dy")||"0",a=new KS;return aY(e,a),lY(t,a,this._defsUsePending,!1,!0),this._textX+=parseFloat(r),this._textY+=parseFloat(o),a},path:function(t,e){var n=NT(t.getAttribute("d")||"");return aY(e,n),lY(t,n,this._defsUsePending,!1,!1),n.silent=!0,n}}),t}(),iY={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),o=new LD(e,n,i,r);return rY(t,o),oY(t,o),o},radialgradient:function(t){var e=parseInt(t.getAttribute("cx")||"0",10),n=parseInt(t.getAttribute("cy")||"0",10),i=parseInt(t.getAttribute("r")||"0",10),r=new PD(e,n,i);return rY(t,r),oY(t,r),r}};function rY(t,e){"userSpaceOnUse"===t.getAttribute("gradientUnits")&&(e.global=!0)}function oY(t,e){for(var n=t.firstChild;n;){if(1===n.nodeType&&"stop"===n.nodeName.toLocaleLowerCase()){var i=n.getAttribute("offset"),r=void 0;r=i&&i.indexOf("%")>0?parseInt(i,10)/100:i?parseFloat(i):0;var o={};vY(n,o,o);var a=o.stopColor||n.getAttribute("stop-color")||"#000000";e.colorStops.push({offset:r,color:a})}n=n.nextSibling}}function aY(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),Yy(e.__inheritedStyle,t.__inheritedStyle))}function sY(t){for(var e=dY(t),n=[],i=0;i<e.length;i+=2){var r=parseFloat(e[i]),o=parseFloat(e[i+1]);n.push([r,o])}return n}function lY(t,e,n,i,r){var o=e,a=o.__inheritedStyle=o.__inheritedStyle||{},s={};1===t.nodeType&&(function(t,e){var n=t.getAttribute("transform");if(n){n=n.replace(/,/g," ");var i=[],r=null;n.replace(pY,(function(t,e,n){return i.push(e,n),""}));for(var o=i.length-1;o>0;o-=2){var a=i[o],s=i[o-1],l=dY(a);switch(r=r||[1,0,0,1,0,0],s){case"translate":Tx(r,r,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":kx(r,r,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":Dx(r,r,-parseFloat(l[0])*fY);break;case"skewX":Cx(r,[1,0,Math.tan(parseFloat(l[0])*fY),1,0,0],r);break;case"skewY":Cx(r,[1,Math.tan(parseFloat(l[0])*fY),0,1,0,0],r);break;case"matrix":r[0]=parseFloat(l[0]),r[1]=parseFloat(l[1]),r[2]=parseFloat(l[2]),r[3]=parseFloat(l[3]),r[4]=parseFloat(l[4]),r[5]=parseFloat(l[5])}}e.setLocalTransform(r)}}(t,e),vY(t,a,s),i||function(t,e,n){for(var i=0;i<Qj.length;i++){var r=Qj[i];null!=(o=t.getAttribute(r))&&(e[Jj[r]]=o)}for(i=0;i<eY.length;i++){var o;r=eY[i];null!=(o=t.getAttribute(r))&&(n[tY[r]]=o)}}(t,a,s)),o.style=o.style||{},null!=a.fill&&(o.style.fill=cY(o,"fill",a.fill,n)),null!=a.stroke&&(o.style.stroke=cY(o,"stroke",a.stroke,n)),Ky(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],(function(t){null!=a[t]&&(o.style[t]=parseFloat(a[t]))})),Ky(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign"],(function(t){null!=a[t]&&(o.style[t]=a[t])})),r&&(o.__selfStyle=s),a.lineDash&&(o.style.lineDash=$y(dY(a.lineDash),(function(t){return parseFloat(t)}))),"hidden"!==a.visibility&&"collapse"!==a.visibility||(o.invisible=!0),"none"===a.display&&(o.ignore=!0)}var uY=/^url\(\s*#(.*?)\)/;function cY(t,e,n,i){var r=n&&n.match(uY);if(!r)return"none"===n&&(n=null),n;var o=x_(r[1]);i.push([t,e,o])}var hY=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function dY(t){return t.match(hY)||[]}var pY=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g,fY=Math.PI/180;var gY=/([^\s:;]+)\s*:\s*([^:;]+)/g;function vY(t,e,n){var i,r=t.getAttribute("style");if(r)for(gY.lastIndex=0;null!=(i=gY.exec(r));){var o=i[1],a=L_(Jj,o)?Jj[o]:null;a&&(e[a]=i[2]);var s=L_(tY,o)?tY[o]:null;s&&(n[s]=i[2])}}function mY(t,e){var n=e.width/t.width,i=e.height/t.height,r=Math.min(n,i);return{scale:r,x:-(t.x+t.width/2)*r+(e.x+e.width/2),y:-(t.y+t.height/2)*r+(e.y+e.height/2)}}var yY=C_(["rect","circle","line","ellipse","polygon","polyline","path","text","tspan","g"]),_Y=function(){function t(t,e){this.type="geoSVG",this._usedGraphicMap=C_(),this._freedGraphics=[],this._mapName=t,this._parsedXML=$j(e)}return t.prototype.load=function(){var t=this._firstGraphic;if(!t){t=this._firstGraphic=this._buildGraphic(this._parsedXML),this._freedGraphics.push(t),this._boundingRect=this._firstGraphic.boundingRect.clone();var e=function(t){var e=[],n=C_();return Ky(t,(function(t){if(null==t.namedFrom){var i=new mF(t.name,t.el);e.push(i),n.set(t.name,i)}})),{regions:e,regionsMap:n}}(t.named),n=e.regions,i=e.regionsMap;this._regions=n,this._regionsMap=i}return{boundingRect:this._boundingRect,regions:this._regions,regionsMap:this._regionsMap}},t.prototype._buildGraphic=function(t){var e,n,i,r;try{__(null!=(n=(e=t&&(i=t,r={ignoreViewBox:!0,ignoreRootClip:!0},(new nY).parse(i,r))||{}).root))}catch(m){throw new Error("Invalid svg format\n"+m.message)}var o=new KS;o.add(n),o.isGeoSVGGraphicRoot=!0;var a=e.width,s=e.height,l=e.viewBoxRect,u=this._boundingRect;if(!u){var c=void 0,h=void 0,d=void 0,p=void 0;if(null!=a?(c=0,d=a):l&&(c=l.x,d=l.width),null!=s?(h=0,p=s):l&&(h=l.y,p=l.height),null==c||null==h){var f=n.getBoundingRect();null==c&&(c=f.x,d=f.width),null==h&&(h=f.y,p=f.height)}u=this._boundingRect=new Hx(c,h,d,p)}if(l){var g=mY(l,u);n.scaleX=n.scaleY=g.scale,n.x=g.x,n.y=g.y}o.setClipPath(new $A({shape:u.plain()}));var v=[];return Ky(e.named,(function(t){var e;null!=yY.get(t.svgNodeTagLower)&&(v.push(t),(e=t.el).silent=!1,e.isGroup&&e.traverse((function(t){t.silent=!1})))})),{root:o,boundingRect:u,named:v}},t.prototype.useGraphic=function(t){var e=this._usedGraphicMap,n=e.get(t);return n||(n=this._freedGraphics.pop()||this._buildGraphic(this._parsedXML),e.set(t,n),n)},t.prototype.freeGraphic=function(t){var e=this._usedGraphicMap,n=e.get(t);n&&(e.removeKey(t),this._freedGraphics.push(n))},t}();for(var xY=[126,25],bY="åæµ·è¯¸å²",wY=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],SY=0;SY<wY.length;SY++)for(var MY=0;MY<wY[SY].length;MY++)wY[SY][MY][0]/=10.5,wY[SY][MY][1]/=-14,wY[SY][MY][0]+=xY[0],wY[SY][MY][1]+=xY[1];var IY={"åæµ·è¯¸å²":[32,80],"广ä¸":[0,-10],"馿¸¯":[10,5],"æ¾³é¨":[-10,10],"天津":[5,5]};var AY=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];var CY=function(){function t(t,e,n){var i;this.type="geoJSON",this._parsedMap=C_(),this._mapName=t,this._specialAreas=n,this._geoJSON=o_(i=e)?"undefined"!=typeof JSON&&JSON.parse?JSON.parse(i):new Function("return ("+i+");")():i}return t.prototype.load=function(t,e){e=e||"name";var n=this._parsedMap.get(e);if(!n){var i=this._parseToRegions(e);n=this._parsedMap.set(e,{regions:i,boundingRect:TY(i)})}var r=C_(),o=[];return Ky(n.regions,(function(e){var n=e.name;t&&L_(t,n)&&(e=e.cloneShallow(n=t[n])),o.push(e),r.set(n,e)})),{regions:o,boundingRect:n.boundingRect||new Hx(0,0,0,0),regionsMap:r}},t.prototype._parseToRegions=function(t){var e,n=this._mapName,i=this._geoJSON;try{e=i?xF(i,t):[]}catch(r){throw new Error("Invalid geoJson format\n"+r.message)}return function(t,e){if("china"===t){for(var n=0;n<e.length;n++)if(e[n].name===bY)return;e.push(new vF(bY,$y(wY,(function(t){return{type:"polygon",exterior:t}})),xY))}}(n,e),Ky(e,(function(t){var e=t.name;!function(t,e){if("china"===t){var n=IY[e.name];if(n){var i=e.getCenter();i[0]+=n[0]/10.5,i[1]+=-n[1]/14,e.setCenter(i)}}}(n,t),function(t,e){"china"===t&&"å°æ¹¾"===e.name&&e.geometries.push({type:"polygon",exterior:AY[0]})}(n,t);var i=this._specialAreas&&this._specialAreas[e];i&&t.transformTo(i.left,i.top,i.width,i.height)}),this),e},t.prototype.getMapForUser=function(){return{geoJson:this._geoJSON,geoJSON:this._geoJSON,specialAreas:this._specialAreas}},t}();function TY(t){for(var e,n=0;n<t.length;n++){var i=t[n].getBoundingRect();(e=e||i.clone()).union(i)}return e}var DY=C_();const kY={registerMap:function(t,e,n){if(e.svg){var i=new _Y(t,e.svg);DY.set(t,i)}else{var r=e.geoJson||e.geoJSON;r&&!e.features?n=e.specialAreas:r=e;i=new CY(t,r,n);DY.set(t,i)}},getGeoResource:function(t){return DY.get(t)},getMapForUser:function(t){var e=DY.get(t);return e&&"geoJSON"===e.type&&e.getMapForUser()},load:function(t,e,n){var i=DY.get(t);if(i)return i.load(e,n)}};var LY=["rect","circle","line","ellipse","polygon","polyline","path"],PY=C_(LY),OY=C_(LY.concat(["g"])),EY=C_(LY.concat(["g"])),RY=FM();function NY(t){var e=t.getItemStyle(),n=t.get("areaColor");return null!=n&&(e.fill=n),e}function BY(t){var e=t.style;e&&(e.stroke=e.stroke||e.fill,e.fill=null)}var zY=function(){function t(t){var e=new KS;this.uid=nL("ec_map_draw"),this._controller=new jj(t.getZr()),this._controllerHost={target:e},this.group=e,e.add(this._regionsGroup=new KS),e.add(this._svgGroup=new KS)}return t.prototype.draw=function(t,e,n,i,r){var o="geo"===t.mainType,a=t.getData&&t.getData();o&&e.eachComponent({mainType:"series",subType:"map"},(function(e){a||e.getHostGeoModel()!==t||(a=e.getData())}));var s=t.coordinateSystem,l=this._regionsGroup,u=this.group,c=s.getTransformInfo(),h=c.raw,d=c.roam;!l.childAt(0)||r?(u.x=d.x,u.y=d.y,u.scaleX=d.scaleX,u.scaleY=d.scaleY,u.dirty()):jD(u,d,t);var p=a&&a.getVisual("visualMeta")&&a.getVisual("visualMeta").length>0,f={api:n,geo:s,mapOrGeoModel:t,data:a,isVisualEncodedByVisualMap:p,isGeo:o,transformInfoRaw:h};"geoJSON"===s.resourceType?this._buildGeoJSON(f):"geoSVG"===s.resourceType&&this._buildSVG(f),this._updateController(t,e,n),this._updateMapSelectHandler(t,l,n,i)},t.prototype._buildGeoJSON=function(t){var e=this._regionsGroupByName=C_(),n=C_(),i=this._regionsGroup,r=t.transformInfoRaw,o=t.mapOrGeoModel,a=t.data,s=t.geo.projection,l=s&&s.stream;function u(t,e){return e&&(t=e(t)),t&&[t[0]*r.scaleX+r.x,t[1]*r.scaleY+r.y]}function c(t){for(var e=[],n=!l&&s&&s.project,i=0;i<t.length;++i){var r=u(t[i],n);r&&e.push(r)}return e}function h(t){return{shape:{points:c(t)}}}i.removeAll(),Ky(t.geo.regions,(function(r){var c=r.name,d=e.get(c),p=n.get(c)||{},f=p.dataIdx,g=p.regionModel;d||(d=e.set(c,new KS),i.add(d),f=a?a.indexOfName(c):null,g=t.isGeo?o.getRegionModel(c):a?a.getItemModel(f):null,n.set(c,{dataIdx:f,regionModel:g}));var v=[],m=[];Ky(r.geometries,(function(t){if("polygon"===t.type){var e=[t.exterior].concat(t.interiors||[]);l&&(e=UY(e,l)),Ky(e,(function(t){v.push(new dD(h(t)))}))}else{var n=t.points;l&&(n=UY(n,l,!0)),Ky(n,(function(t){m.push(new gD(h(t)))}))}}));var y=u(r.getCenter(),s&&s.project);function _(e,n){if(e.length){var i=new DD({culling:!0,segmentIgnoreThreshold:1,shape:{paths:e}});d.add(i),VY(t,i,f,g),FY(t,i,c,g,o,f,y),n&&(BY(i),Ky(i.states,BY))}}_(v),_(m,!0)})),e.each((function(e,i){var r=n.get(i),a=r.dataIdx,s=r.regionModel;GY(t,e,i,s,o,a),HY(t,e,i,s,o),WY(t,e,i,s,o)}),this)},t.prototype._buildSVG=function(t){var e=t.geo.map,n=t.transformInfoRaw;this._svgGroup.x=n.x,this._svgGroup.y=n.y,this._svgGroup.scaleX=n.scaleX,this._svgGroup.scaleY=n.scaleY,this._svgResourceChanged(e)&&(this._freeSVG(),this._useSVG(e));var i=this._svgDispatcherMap=C_(),r=!1;Ky(this._svgGraphicRecord.named,(function(e){var n=e.name,o=t.mapOrGeoModel,a=t.data,s=e.svgNodeTagLower,l=e.el,u=a?a.indexOfName(n):null,c=o.getRegionModel(n);(null!=PY.get(s)&&l instanceof EI&&VY(t,l,u,c),l instanceof EI&&(l.culling=!0),l.z2EmphasisLift=0,e.namedFrom)||(null!=EY.get(s)&&FY(t,l,n,c,o,u,null),GY(t,l,n,c,o,u),HY(t,l,n,c,o),null!=OY.get(s)&&("self"===WY(t,l,n,c,o)&&(r=!0),(i.get(n)||i.set(n,[])).push(l)))}),this),this._enableBlurEntireSVG(r,t)},t.prototype._enableBlurEntireSVG=function(t,e){if(t&&e.isGeo){var n=e.mapOrGeoModel.getModel(["blur","itemStyle"]).getItemStyle().opacity;this._svgGraphicRecord.root.traverse((function(t){if(!t.isGroup){YC(t);var e=t.ensureState("blur").style||{};null==e.opacity&&null!=n&&(e.opacity=n),t.ensureState("emphasis")}}))}},t.prototype.remove=function(){this._regionsGroup.removeAll(),this._regionsGroupByName=null,this._svgGroup.removeAll(),this._freeSVG(),this._controller.dispose(),this._controllerHost=null},t.prototype.findHighDownDispatchers=function(t,e){if(null==t)return[];var n=e.coordinateSystem;if("geoJSON"===n.resourceType){var i=this._regionsGroupByName;if(i){var r=i.get(t);return r?[r]:[]}}else if("geoSVG"===n.resourceType)return this._svgDispatcherMap&&this._svgDispatcherMap.get(t)||[]},t.prototype._svgResourceChanged=function(t){return this._svgMapName!==t},t.prototype._useSVG=function(t){var e=kY.getGeoResource(t);if(e&&"geoSVG"===e.type){var n=e.useGraphic(this.uid);this._svgGroup.add(n.root),this._svgGraphicRecord=n,this._svgMapName=t}},t.prototype._freeSVG=function(){var t=this._svgMapName;if(null!=t){var e=kY.getGeoResource(t);e&&"geoSVG"===e.type&&e.freeGraphic(this.uid),this._svgGraphicRecord=null,this._svgDispatcherMap=null,this._svgGroup.removeAll(),this._svgMapName=null}},t.prototype._updateController=function(t,e,n){var i=t.coordinateSystem,r=this._controller,o=this._controllerHost;o.zoomLimit=t.get("scaleLimit"),o.zoom=i.getZoom(),r.enable(t.get("roam")||!1);var a=t.mainType;function s(){var e={type:"geoRoam",componentType:a};return e[a+"Id"]=t.id,e}r.off("pan").on("pan",(function(t){this._mouseDownFlag=!1,Yj(o,t.dx,t.dy),n.dispatchAction(jy(s(),{dx:t.dx,dy:t.dy,animation:{duration:0}}))}),this),r.off("zoom").on("zoom",(function(t){this._mouseDownFlag=!1,Xj(o,t.scale,t.originX,t.originY),n.dispatchAction(jy(s(),{zoom:t.scale,originX:t.originX,originY:t.originY,animation:{duration:0}}))}),this),r.setPointerChecker((function(e,r,o){return i.containPoint([r,o])&&!Kj(e,n,t)}))},t.prototype.resetForLabelLayout=function(){this.group.traverse((function(t){var e=t.getTextContent();e&&(e.ignore=RY(e).ignore)}))},t.prototype._updateMapSelectHandler=function(t,e,n,i){var r=this;e.off("mousedown"),e.off("click"),t.get("selectedMode")&&(e.on("mousedown",(function(){r._mouseDownFlag=!0})),e.on("click",(function(t){r._mouseDownFlag&&(r._mouseDownFlag=!1)})))},t}();function VY(t,e,n,i){var r=i.getModel("itemStyle"),o=i.getModel(["emphasis","itemStyle"]),a=i.getModel(["blur","itemStyle"]),s=i.getModel(["select","itemStyle"]),l=NY(r),u=NY(o),c=NY(s),h=NY(a),d=t.data;if(d){var p=d.getItemVisual(n,"style"),f=d.getItemVisual(n,"decal");t.isVisualEncodedByVisualMap&&p.fill&&(l.fill=p.fill),f&&(l.decal=eB(f,t.api))}e.setStyle(l),e.style.strokeNoScale=!0,e.ensureState("emphasis").style=u,e.ensureState("select").style=c,e.ensureState("blur").style=h,YC(e)}function FY(t,e,n,i,r,o,a){var s=t.data,l=t.isGeo,u=s&&isNaN(s.get(s.mapDimension("value"),o)),c=s&&s.getItemLayout(o);if(l||u||c&&c.showLabel){var h=l?n:o,d=void 0;(!s||o>=0)&&(d=r);var p=a?{normal:{align:"center",verticalAlign:"middle"}}:null;Tk(e,Dk(i),{labelFetcher:d,labelDataIndex:h,defaultText:n},p);var f=e.getTextContent();if(f&&(RY(f).ignore=f.ignore,e.textConfig&&a)){var g=e.getBoundingRect().clone();e.textConfig.layoutRect=g,e.textConfig.position=[(a[0]-g.x)/g.width*100+"%",(a[1]-g.y)/g.height*100+"%"]}e.disableLabelAnimation=!0}else e.removeTextContent(),e.removeTextConfig(),e.disableLabelAnimation=null}function GY(t,e,n,i,r,o){t.data?t.data.setItemGraphicEl(o,e):fC(e).eventData={componentType:"geo",componentIndex:r.componentIndex,geoIndex:r.componentIndex,name:n,region:i&&i.option||{}}}function HY(t,e,n,i,r){t.data||bk({el:e,componentModel:r,itemName:n,itemTooltipOption:i.get("tooltip")})}function WY(t,e,n,i,r){e.highDownSilentOnTouch=!!r.get("selectedMode");var o=i.getModel("emphasis"),a=o.get("focus");return uT(e,a,o.get("blurScope"),o.get("disabled")),t.isGeo&&function(t,e,n){var i=fC(t);i.componentMainType=e.mainType,i.componentIndex=e.componentIndex,i.componentHighDownName=n}(e,r,n),a}function UY(t,e,n){var i,r=[];function o(){i=[]}function a(){i.length&&(r.push(i),i=[])}var s=e({polygonStart:o,polygonEnd:a,lineStart:o,lineEnd:a,point:function(t,e){isFinite(t)&&isFinite(e)&&i.push([t,e])},sphere:function(){}});return!n&&s.polygonStart(),Ky(t,(function(t){s.lineStart();for(var e=0;e<t.length;e++)s.point(t[e][0],t[e][1]);s.lineEnd()})),!n&&s.polygonEnd(),r}const jY=zY;const YY=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.render=function(t,e,n,i){if(!i||"mapToggleSelect"!==i.type||i.from!==this.uid){var r=this.group;if(r.removeAll(),!t.getHostGeoModel()){if(this._mapDraw&&i&&"geoRoam"===i.type&&this._mapDraw.resetForLabelLayout(),i&&"geoRoam"===i.type&&"series"===i.componentType&&i.seriesId===t.id)(o=this._mapDraw)&&r.add(o.group);else if(t.needsDrawMap){var o=this._mapDraw||new jY(n);r.add(o.group),o.draw(t,e,n,this,i),this._mapDraw=o}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;t.get("showLegendSymbol")&&e.getComponent("legend")&&this._renderSymbols(t,e,n)}}},e.prototype.remove=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},e.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},e.prototype._renderSymbols=function(t,e,n){var i=t.originalData,r=this.group;i.each(i.mapDimension("value"),(function(e,n){if(!isNaN(e)){var o=i.getItemLayout(n);if(o&&o.point){var a=o.point,s=o.offset,l=new FT({style:{fill:t.getData().getVisual("style").fill},shape:{cx:a[0]+9*s,cy:a[1],r:3},silent:!0,z2:8+(s?0:IC+1)});if(!s){var u=t.mainSeries.getData(),c=i.getName(n),h=u.indexOfName(c),d=i.getItemModel(n),p=d.getModel("label"),f=u.getItemGraphicEl(h);Tk(l,Dk(d),{labelFetcher:{getFormattedLabel:function(e,n){return t.getFormattedLabel(h,n)}},defaultText:c}),l.disableLabelAnimation=!0,p.get("position")||l.setTextConfig({position:"bottom"}),f.onHoverStateChange=function(t){UC(l,t)}}r.add(l)}}}))},e.type="map",e}(fR);var XY=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.needsDrawMap=!1,n.seriesGroup=[],n.getTooltipPosition=function(t){if(null!=t){var e=this.getData().getName(t),n=this.coordinateSystem,i=n.getRegion(e);return i&&n.dataToPoint(i.getCenter())}},n}return my(e,t),e.prototype.getInitialData=function(t){for(var e=pU(this,{coordDimensions:["value"],encodeDefaulter:n_(AP,this)}),n=C_(),i=[],r=0,o=e.count();r<o;r++){var a=e.getName(r);n.set(a,!0)}return Ky(kY.load(this.getMapType(),this.option.nameMap,this.option.nameProperty).regions,(function(t){var e=t.name;n.get(e)||i.push(e)})),e.appendValues([],i),e},e.prototype.getHostGeoModel=function(){var t=this.option.geoIndex;return null!=t?this.ecModel.getComponent("geo",t):null},e.prototype.getMapType=function(){return(this.getHostGeoModel()||this).option.map},e.prototype.getRawValue=function(t){var e=this.getData();return e.get(e.mapDimension("value"),t)},e.prototype.getRegionModel=function(t){var e=this.getData();return e.getItemModel(e.indexOfName(t))},e.prototype.formatTooltip=function(t,e,n){for(var i=this.getData(),r=this.getRawValue(t),o=i.getName(t),a=this.seriesGroup,s=[],l=0;l<a.length;l++){var u=a[l].originalData.indexOfName(o),c=i.mapDimension("value");isNaN(a[l].originalData.get(c,u))||s.push(a[l].name)}return PE("section",{header:s.join(", "),noHeader:!s.length,blocks:[PE("nameValue",{name:o,value:r})]})},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.getLegendIcon=function(t){var e=t.icon||"roundRect",n=MN(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill);return n.setStyle(t.itemStyle),n.style.stroke="none",e.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n},e.type="series.map",e.dependencies=["geo"],e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},e}(nR);const qY=XY;function ZY(t){var e={};t.eachSeriesByType("map",(function(t){var n=t.getHostGeoModel(),i=n?"o"+n.id:"i"+t.getMapType();(e[i]=e[i]||[]).push(t)})),Ky(e,(function(t,e){for(var n,i,r,o=(n=$y(t,(function(t){return t.getData()})),i=t[0].get("mapValueCalculation"),r={},Ky(n,(function(t){t.each(t.mapDimension("value"),(function(e,n){var i="ec-"+t.getName(n);r[i]=r[i]||[],isNaN(e)||r[i].push(e)}))})),n[0].map(n[0].mapDimension("value"),(function(t,e){for(var o="ec-"+n[0].getName(e),a=0,s=1/0,l=-1/0,u=r[o].length,c=0;c<u;c++)s=Math.min(s,r[o][c]),l=Math.max(l,r[o][c]),a+=r[o][c];return 0===u?NaN:"min"===i?s:"max"===i?l:"average"===i?a/u:a}))),a=0;a<t.length;a++)t[a].originalData=t[a].getData();for(a=0;a<t.length;a++)t[a].seriesGroup=t,t[a].needsDrawMap=0===a&&!t[a].getHostGeoModel(),t[a].setData(o.cloneShallow()),t[a].mainSeries=t[0]}))}function KY(t){var e={};t.eachSeriesByType("map",(function(n){var i=n.getMapType();if(!n.getHostGeoModel()&&!e[i]){var r={};Ky(n.seriesGroup,(function(e){var n=e.coordinateSystem,i=e.originalData;e.get("showLegendSymbol")&&t.getComponent("legend")&&i.each(i.mapDimension("value"),(function(t,e){var o=i.getName(e),a=n.getRegion(o);if(a&&!isNaN(t)){var s=r[o]||0,l=n.dataToPoint(a.getCenter());r[o]=s+1,i.setItemLayout(e,{point:l,offset:s})}}))}));var o=n.getData();o.each((function(t){var e=o.getName(t),n=o.getItemLayout(t)||{};n.showLabel=!r[e],o.setItemLayout(t,n)})),e[i]=!0}}))}var $Y=X_,JY=function(t){function e(e){var n=t.call(this)||this;return n.type="view",n.dimensions=["x","y"],n._roamTransformable=new TS,n._rawTransformable=new TS,n.name=e,n}return my(e,t),e.prototype.setBoundingRect=function(t,e,n,i){return this._rect=new Hx(t,e,n,i),this._rect},e.prototype.getBoundingRect=function(){return this._rect},e.prototype.setViewRect=function(t,e,n,i){this._transformTo(t,e,n,i),this._viewRect=new Hx(t,e,n,i)},e.prototype._transformTo=function(t,e,n,i){var r=this.getBoundingRect(),o=this._rawTransformable;o.transform=r.calculateTransform(new Hx(t,e,n,i));var a=o.parent;o.parent=null,o.decomposeTransform(),o.parent=a,this._updateTransform()},e.prototype.setCenter=function(t,e){t&&(this._center=[rM(t[0],e.getWidth()),rM(t[1],e.getHeight())],this._updateCenterAndZoom())},e.prototype.setZoom=function(t){t=t||1;var e=this.zoomLimit;e&&(null!=e.max&&(t=Math.min(e.max,t)),null!=e.min&&(t=Math.max(e.min,t))),this._zoom=t,this._updateCenterAndZoom()},e.prototype.getDefaultCenter=function(){var t=this.getBoundingRect();return[t.x+t.width/2,t.y+t.height/2]},e.prototype.getCenter=function(){return this._center||this.getDefaultCenter()},e.prototype.getZoom=function(){return this._zoom||1},e.prototype.getRoamTransform=function(){return this._roamTransformable.getLocalTransform()},e.prototype._updateCenterAndZoom=function(){var t=this._rawTransformable.getLocalTransform(),e=this._roamTransformable,n=this.getDefaultCenter(),i=this.getCenter(),r=this.getZoom();i=X_([],i,t),n=X_([],n,t),e.originX=i[0],e.originY=i[1],e.x=n[0]-i[0],e.y=n[1]-i[1],e.scaleX=e.scaleY=r,this._updateTransform()},e.prototype._updateTransform=function(){var t=this._roamTransformable,e=this._rawTransformable;e.parent=t,t.updateTransform(),e.updateTransform(),Ax(this.transform||(this.transform=[]),e.transform||[1,0,0,1,0,0]),this._rawTransform=e.getLocalTransform(),this.invTransform=this.invTransform||[],Lx(this.invTransform,this.transform),this.decomposeTransform()},e.prototype.getTransformInfo=function(){var t=this._rawTransformable,e=this._roamTransformable,n=new TS;return n.transform=e.transform,n.decomposeTransform(),{roam:{x:n.x,y:n.y,scaleX:n.scaleX,scaleY:n.scaleY},raw:{x:t.x,y:t.y,scaleX:t.scaleX,scaleY:t.scaleY}}},e.prototype.getViewRect=function(){return this._viewRect},e.prototype.getViewRectAfterRoam=function(){var t=this.getBoundingRect().clone();return t.applyTransform(this.transform),t},e.prototype.dataToPoint=function(t,e,n){var i=e?this._rawTransform:this.transform;return n=n||[],i?$Y(n,t,i):R_(n,t)},e.prototype.pointToData=function(t){var e=this.invTransform;return e?$Y([],t,e):[t[0],t[1]]},e.prototype.convertToPixel=function(t,e,n){var i=QY(e);return i===this?i.dataToPoint(n):null},e.prototype.convertFromPixel=function(t,e,n){var i=QY(e);return i===this?i.pointToData(n):null},e.prototype.containPoint=function(t){return this.getViewRectAfterRoam().contain(t[0],t[1])},e.dimensions=["x","y"],e}(TS);function QY(t){var e=t.seriesModel;return e?e.coordinateSystem:null}const tX=JY;var eX={geoJSON:{aspectScale:.75,invertLongitute:!0},geoSVG:{aspectScale:1,invertLongitute:!1}},nX=["lng","lat"],iX=function(t){function e(e,n,i){var r=t.call(this,e)||this;r.dimensions=nX,r.type="geo",r._nameCoordMap=C_(),r.map=n;var o=i.projection,a=kY.load(n,i.nameMap,i.nameProperty),s=kY.getGeoResource(n);r.resourceType=s?s.type:null;var l,u=r.regions=a.regions,c=eX[s.type];if(r._regionsMap=a.regionsMap,r.regions=a.regions,r.projection=o,o)for(var h=0;h<u.length;h++){var d=u[h].getBoundingRect(o);(l=l||d.clone()).union(d)}else l=a.boundingRect;return r.setBoundingRect(l.x,l.y,l.width,l.height),r.aspectScale=o?1:g_(i.aspectScale,c.aspectScale),r._invertLongitute=!o&&c.invertLongitute,r}return my(e,t),e.prototype._transformTo=function(t,e,n,i){var r=this.getBoundingRect(),o=this._invertLongitute;r=r.clone(),o&&(r.y=-r.y-r.height);var a=this._rawTransformable;a.transform=r.calculateTransform(new Hx(t,e,n,i));var s=a.parent;a.parent=null,a.decomposeTransform(),a.parent=s,o&&(a.scaleY=-a.scaleY),this._updateTransform()},e.prototype.getRegion=function(t){return this._regionsMap.get(t)},e.prototype.getRegionByCoord=function(t){for(var e=this.regions,n=0;n<e.length;n++){var i=e[n];if("geoJSON"===i.type&&i.contain(t))return e[n]}},e.prototype.addGeoCoord=function(t,e){this._nameCoordMap.set(t,e)},e.prototype.getGeoCoord=function(t){var e=this._regionsMap.get(t);return this._nameCoordMap.get(t)||e&&e.getCenter()},e.prototype.dataToPoint=function(t,e,n){if(o_(t)&&(t=this.getGeoCoord(t)),t){var i=this.projection;return i&&(t=i.project(t)),t&&this.projectedToPoint(t,e,n)}},e.prototype.pointToData=function(t){var e=this.projection;return e&&(t=e.unproject(t)),t&&this.pointToProjected(t)},e.prototype.pointToProjected=function(e){return t.prototype.pointToData.call(this,e)},e.prototype.projectedToPoint=function(e,n,i){return t.prototype.dataToPoint.call(this,e,n,i)},e.prototype.convertToPixel=function(t,e,n){var i=rX(e);return i===this?i.dataToPoint(n):null},e.prototype.convertFromPixel=function(t,e,n){var i=rX(e);return i===this?i.pointToData(n):null},e}(tX);function rX(t){var e=t.geoModel,n=t.seriesModel;return e?e.coordinateSystem:n?n.coordinateSystem||(n.getReferringComponents("geo",UM).models[0]||{}).coordinateSystem:null}qy(iX,tX);const oX=iX;function aX(t,e){var n=t.get("boundingCoords");if(null!=n){var i=n[0],r=n[1];if(isFinite(i[0])&&isFinite(i[1])&&isFinite(r[0])&&isFinite(r[1])){var o=this.projection;if(o){var a=i[0],s=i[1],l=r[0],u=r[1];i=[1/0,1/0],r=[-1/0,-1/0];var c=function(t,e,n,a){for(var s=n-t,l=a-e,u=0;u<=100;u++){var c=u/100,h=o.project([t+s*c,e+l*c]);q_(i,i,h),Z_(r,r,h)}};c(a,s,l,s),c(l,s,l,u),c(l,u,a,u),c(a,u,l,s)}this.setBoundingRect(i[0],i[1],r[0]-i[0],r[1]-i[1])}else;}var h,d,p,f=this.getBoundingRect(),g=t.get("layoutCenter"),v=t.get("layoutSize"),m=e.getWidth(),y=e.getHeight(),_=f.width/f.height*this.aspectScale,x=!1;if(g&&v&&(h=[rM(g[0],m),rM(g[1],y)],d=rM(v,Math.min(m,y)),isNaN(h[0])||isNaN(h[1])||isNaN(d)||(x=!0)),x)p={},_>1?(p.width=d,p.height=d/_):(p.height=d,p.width=d*_),p.y=h[1]-p.height/2,p.x=h[0]-p.width/2;else{var b=t.getBoxLayoutParams();b.aspect=_,p=nP(b,{width:m,height:y})}this.setViewRect(p.x,p.y,p.width,p.height),this.setCenter(t.get("center"),e),this.setZoom(t.get("zoom"))}var sX=function(){function t(){this.dimensions=nX}return t.prototype.create=function(t,e){var n=[];function i(t){return{nameProperty:t.get("nameProperty"),aspectScale:t.get("aspectScale"),projection:t.get("projection")}}t.eachComponent("geo",(function(t,r){var o=t.get("map"),a=new oX(o+r,o,jy({nameMap:t.get("nameMap")},i(t)));a.zoomLimit=t.get("scaleLimit"),n.push(a),t.coordinateSystem=a,a.model=t,a.resize=aX,a.resize(t,e)})),t.eachSeries((function(t){if("geo"===t.get("coordinateSystem")){var e=t.get("geoIndex")||0;t.coordinateSystem=n[e]}}));var r={};return t.eachSeriesByType("map",(function(t){if(!t.getHostGeoModel()){var e=t.getMapType();r[e]=r[e]||[],r[e].push(t)}})),Ky(r,(function(t,r){var o=$y(t,(function(t){return t.get("nameMap")})),a=new oX(r,r,jy({nameMap:Uy(o)},i(t[0])));a.zoomLimit=f_.apply(null,$y(t,(function(t){return t.get("scaleLimit")}))),n.push(a),a.resize=aX,a.resize(t[0],e),Ky(t,(function(t){t.coordinateSystem=a,function(t,e){Ky(e.get("geoCoord"),(function(e,n){t.addGeoCoord(n,e)}))}(a,t)}))})),n},t.prototype.getFilledRegions=function(t,e,n,i){for(var r=(t||[]).slice(),o=C_(),a=0;a<r.length;a++)o.set(r[a].name,r[a]);return Ky(kY.load(e,n,i).regions,(function(t){var e=t.name;!o.get(e)&&r.push({name:e})})),r},t}();const lX=new sX;var uX=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.init=function(t,e,n){var i=kY.getGeoResource(t.map);if(i&&"geoJSON"===i.type){var r=t.itemStyle=t.itemStyle||{};"color"in r||(r.color="#eee")}this.mergeDefaultAndTheme(t,n),DM(t,"label",["show"])},e.prototype.optionUpdated=function(){var t=this,e=this.option;e.regions=lX.getFilledRegions(e.regions,e.map,e.nameMap,e.nameProperty);var n={};this._optionModelMap=Jy(e.regions||[],(function(e,i){var r=i.name;return r&&(e.set(r,new tL(i,t,t.ecModel)),i.selected&&(n[r]=!0)),e}),C_()),e.selectedMap||(e.selectedMap=n)},e.prototype.getRegionModel=function(t){return this._optionModelMap.get(t)||new tL(null,this,this.ecModel)},e.prototype.getFormattedLabel=function(t,e){var n=this.getRegionModel(t),i="normal"===e?n.get(["label","formatter"]):n.get(["emphasis","label","formatter"]),r={name:t};return r_(i)?(r.status=e,i(r)):o_(i)?i.replace("{a}",null!=t?t:""):void 0},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.select=function(t){var e=this.option,n=e.selectedMode;n&&("multiple"!==n&&(e.selectedMap=null),(e.selectedMap||(e.selectedMap={}))[t]=!0)},e.prototype.unSelect=function(t){var e=this.option.selectedMap;e&&(e[t]=!1)},e.prototype.toggleSelected=function(t){this[this.isSelected(t)?"unSelect":"select"](t)},e.prototype.isSelected=function(t){var e=this.option.selectedMap;return!(!e||!e[t])},e.type="geo",e.layoutMode="box",e.defaultOption={z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},e}(cP);const cX=uX;function hX(t,e){return t.pointToProjected?t.pointToProjected(e):t.pointToData(e)}function dX(t,e,n,i){var r=t.getZoom(),o=t.getCenter(),a=e.zoom,s=t.projectedToPoint?t.projectedToPoint(o):t.dataToPoint(o);if(null!=e.dx&&null!=e.dy&&(s[0]-=e.dx,s[1]-=e.dy,t.setCenter(hX(t,s),i)),null!=a){if(n){var l=n.min||0,u=n.max||1/0;a=Math.max(Math.min(r*a,u),l)/r}t.scaleX*=a,t.scaleY*=a;var c=(e.originX-t.x)*(a-1),h=(e.originY-t.y)*(a-1);t.x-=c,t.y-=h,t.updateTransform(),t.setCenter(hX(t,s),i),t.setZoom(a*r)}return{center:t.getCenter(),zoom:t.getZoom()}}var pX=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.focusBlurEnabled=!0,n}return my(e,t),e.prototype.init=function(t,e){this._api=e},e.prototype.render=function(t,e,n,i){if(this._model=t,!t.get("show"))return this._mapDraw&&this._mapDraw.remove(),void(this._mapDraw=null);this._mapDraw||(this._mapDraw=new jY(n));var r=this._mapDraw;r.draw(t,e,n,this,i),r.group.on("click",this._handleRegionClick,this),r.group.silent=t.get("silent"),this.group.add(r.group),this.updateSelectStatus(t,e,n)},e.prototype._handleRegionClick=function(t){var e;hN(t.target,(function(t){return null!=(e=fC(t).eventData)}),!0),e&&this._api.dispatchAction({type:"geoToggleSelect",geoId:this._model.id,name:e.name})},e.prototype.updateSelectStatus=function(t,e,n){var i=this;this._mapDraw.group.traverse((function(t){var e=fC(t).eventData;if(e)return i._model.isSelected(e.name)?n.enterSelect(t):n.leaveSelect(t),!0}))},e.prototype.findHighDownDispatchers=function(t){return this._mapDraw&&this._mapDraw.findHighDownDispatchers(t,this._model)},e.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove()},e.type="geo",e}(rR);const fX=pX;function gX(t,e,n){kY.registerMap(t,e,n)}function vX(t){function e(e,n){n.update="geo:updateSelectStatus",t.registerAction(n,(function(t,n){var i={},r=[];return n.eachComponent({mainType:"geo",query:t},(function(n){n[e](t.name),Ky(n.coordinateSystem.regions,(function(t){i[t.name]=n.isSelected(t.name)||!1}));var o=[];Ky(i,(function(t,e){i[e]&&o.push(e)})),r.push({geoIndex:n.componentIndex,name:o})})),{selected:i,allSelected:r,name:t.name}}))}t.registerCoordinateSystem("geo",lX),t.registerComponentModel(cX),t.registerComponentView(fX),t.registerImpl("registerMap",gX),t.registerImpl("getMap",(function(t){return kY.getMapForUser(t)})),e("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),e("select",{type:"geoSelect",event:"geoselected"}),e("unSelect",{type:"geoUnSelect",event:"geounselected"}),t.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},(function(t,e,n){var i=t.componentType||"series";e.eachComponent({mainType:i,query:t},(function(e){var r=e.coordinateSystem;if("geo"===r.type){var o=dX(r,t,e.get("scaleLimit"),n);e.setCenter&&e.setCenter(o.center),e.setZoom&&e.setZoom(o.zoom),"series"===i&&Ky(e.seriesGroup,(function(t){t.setCenter(o.center),t.setZoom(o.zoom)}))}}))}))}function mX(t,e){var n=t.isExpand?t.children:[],i=t.parentNode.children,r=t.hierNode.i?i[t.hierNode.i-1]:null;if(n.length){!function(t){var e=t.children,n=e.length,i=0,r=0;for(;--n>=0;){var o=e[n];o.hierNode.prelim+=i,o.hierNode.modifier+=i,r+=o.hierNode.change,i+=o.hierNode.shift+r}}(t);var o=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;r?(t.hierNode.prelim=r.hierNode.prelim+e(t,r),t.hierNode.modifier=t.hierNode.prelim-o):t.hierNode.prelim=o}else r&&(t.hierNode.prelim=r.hierNode.prelim+e(t,r));t.parentNode.hierNode.defaultAncestor=function(t,e,n,i){if(e){for(var r=t,o=t,a=o.parentNode.children[0],s=e,l=r.hierNode.modifier,u=o.hierNode.modifier,c=a.hierNode.modifier,h=s.hierNode.modifier;s=bX(s),o=wX(o),s&&o;){r=bX(r),a=wX(a),r.hierNode.ancestor=t;var d=s.hierNode.prelim+h-o.hierNode.prelim-u+i(s,o);d>0&&(MX(SX(s,t,n),t,d),u+=d,l+=d),h+=s.hierNode.modifier,u+=o.hierNode.modifier,l+=r.hierNode.modifier,c+=a.hierNode.modifier}s&&!bX(r)&&(r.hierNode.thread=s,r.hierNode.modifier+=h-l),o&&!wX(a)&&(a.hierNode.thread=o,a.hierNode.modifier+=u-c,n=t)}return n}(t,r,t.parentNode.hierNode.defaultAncestor||i[0],e)}function yX(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function _X(t){return arguments.length?t:IX}function xX(t,e){return t-=Math.PI/2,{x:e*Math.cos(t),y:e*Math.sin(t)}}function bX(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function wX(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function SX(t,e,n){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:n}function MX(t,e,n){var i=n/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=i,e.hierNode.shift+=n,e.hierNode.modifier+=n,e.hierNode.prelim+=n,t.hierNode.change+=i}function IX(t,e){return t.parentNode===e.parentNode?1:2}var AX=function(){this.parentPoint=[],this.childPoints=[]},CX=function(t){function e(e){return t.call(this,e)||this}return my(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new AX},e.prototype.buildPath=function(t,e){var n=e.childPoints,i=n.length,r=e.parentPoint,o=n[0],a=n[i-1];if(1===i)return t.moveTo(r[0],r[1]),void t.lineTo(o[0],o[1]);var s=e.orient,l="TB"===s||"BT"===s?0:1,u=1-l,c=rM(e.forkPosition,1),h=[];h[l]=r[l],h[u]=r[u]+(a[u]-r[u])*c,t.moveTo(r[0],r[1]),t.lineTo(h[0],h[1]),t.moveTo(o[0],o[1]),h[l]=o[l],t.lineTo(h[0],h[1]),h[l]=a[l],t.lineTo(h[0],h[1]),t.lineTo(a[0],a[1]);for(var d=1;d<i-1;d++){var p=n[d];t.moveTo(p[0],p[1]),h[l]=p[l],t.lineTo(h[0],h[1])}},e}(NA);function TX(t,e){var n=t.getItemLayout(e);return n&&!isNaN(n.x)&&!isNaN(n.y)}function DX(t,e,n,i,r){var o=!n,a=t.tree.getNodeByDataIndex(e),s=a.getModel(),l=a.getVisual("style").fill,u=!1===a.isExpand&&0!==a.children.length?l:"#fff",c=t.tree.root,h=a.parentNode===c?a:a.parentNode||a,d=t.getItemGraphicEl(h.dataIndex),p=h.getLayout(),f=d?{x:d.__oldX,y:d.__oldY,rawX:d.__radialOldRawX,rawY:d.__radialOldRawY}:p,g=a.getLayout();o?((n=new jH(t,e,null,{symbolInnerColor:u,useNameLabel:!0})).x=f.x,n.y=f.y):n.updateData(t,e,null,{symbolInnerColor:u,useNameLabel:!0}),n.__radialOldRawX=n.__radialRawX,n.__radialOldRawY=n.__radialRawY,n.__radialRawX=g.rawX,n.__radialRawY=g.rawY,i.add(n),t.setItemGraphicEl(e,n),n.__oldX=n.x,n.__oldY=n.y,jD(n,{x:g.x,y:g.y},r);var v=n.getSymbolPath();if("radial"===r.get("layout")){var m=c.children[0],y=m.getLayout(),_=m.children.length,x=void 0,b=void 0;if(g.x===y.x&&!0===a.isExpand&&m.children.length){var w={x:(m.children[0].getLayout().x+m.children[_-1].getLayout().x)/2,y:(m.children[0].getLayout().y+m.children[_-1].getLayout().y)/2};(x=Math.atan2(w.y-y.y,w.x-y.x))<0&&(x=2*Math.PI+x),(b=w.x<y.x)&&(x-=Math.PI)}else(x=Math.atan2(g.y-y.y,g.x-y.x))<0&&(x=2*Math.PI+x),0===a.children.length||0!==a.children.length&&!1===a.isExpand?(b=g.x<y.x)&&(x-=Math.PI):(b=g.x>y.x)||(x-=Math.PI);var S=b?"left":"right",M=s.getModel("label"),I=M.get("rotate"),A=I*(Math.PI/180),C=v.getTextContent();C&&(v.setTextConfig({position:M.get("position")||S,rotation:null==I?-x:A,origin:"center"}),C.setStyle("verticalAlign","middle"))}var T=s.get(["emphasis","focus"]),D="relative"===T?T_(a.getAncestorsIndices(),a.getDescendantIndices()):"ancestor"===T?a.getAncestorsIndices():"descendant"===T?a.getDescendantIndices():null;D&&(fC(n).focus=D),function(t,e,n,i,r,o,a,s){var l=e.getModel(),u=t.get("edgeShape"),c=t.get("layout"),h=t.getOrient(),d=t.get(["lineStyle","curveness"]),p=t.get("edgeForkPosition"),f=l.getModel("lineStyle").getLineStyle(),g=i.__edge;if("curve"===u)e.parentNode&&e.parentNode!==n&&(g||(g=i.__edge=new MD({shape:OX(c,h,d,r,r)})),jD(g,{shape:OX(c,h,d,o,a)},t));else if("polyline"===u&&"orthogonal"===c&&e!==n&&e.children&&0!==e.children.length&&!0===e.isExpand){for(var v=e.children,m=[],y=0;y<v.length;y++){var _=v[y].getLayout();m.push([_.x,_.y])}g||(g=i.__edge=new CX({shape:{parentPoint:[a.x,a.y],childPoints:[[a.x,a.y]],orient:h,forkPosition:p}})),jD(g,{shape:{parentPoint:[a.x,a.y],childPoints:m}},t)}g&&("polyline"!==u||e.isExpand)&&(g.useStyle(Yy({strokeNoScale:!0,fill:null},f)),pT(g,l,"lineStyle"),YC(g),s.add(g))}(r,a,c,n,f,p,g,i),n.__edge&&(n.onHoverStateChange=function(e){if("blur"!==e){var i=a.parentNode&&t.getItemGraphicEl(a.parentNode.dataIndex);i&&i.hoverState===bC||UC(n.__edge,e)}})}function kX(t,e,n,i,r){var o=LX(e.tree.root,t),a=o.source,s=o.sourceLayout,l=e.getItemGraphicEl(t.dataIndex);if(l){var u=e.getItemGraphicEl(a.dataIndex).__edge,c=l.__edge||(!1===a.isExpand||1===a.children.length?u:void 0),h=i.get("edgeShape"),d=i.get("layout"),p=i.get("orient"),f=i.get(["lineStyle","curveness"]);c&&("curve"===h?qD(c,{shape:OX(d,p,f,s,s),style:{opacity:0}},i,{cb:function(){n.remove(c)},removeOpt:r}):"polyline"===h&&"orthogonal"===i.get("layout")&&qD(c,{shape:{parentPoint:[s.x,s.y],childPoints:[[s.x,s.y]]},style:{opacity:0}},i,{cb:function(){n.remove(c)},removeOpt:r}))}}function LX(t,e){for(var n,i=e.parentNode===t?e:e.parentNode||e;null==(n=i.getLayout());)i=i.parentNode===t?i:i.parentNode||i;return{source:i,sourceLayout:n}}function PX(t,e,n,i,r){var o=t.tree.getNodeByDataIndex(e),a=LX(t.tree.root,o).sourceLayout,s={duration:r.get("animationDurationUpdate"),easing:r.get("animationEasingUpdate")};qD(n,{x:a.x+1,y:a.y+1},r,{cb:function(){i.remove(n),t.setItemGraphicEl(e,null)},removeOpt:s}),n.fadeOut(null,t.hostModel,{fadeLabel:!0,animation:s}),o.children.forEach((function(e){kX(e,t,i,r,s)})),kX(o,t,i,r,s)}function OX(t,e,n,i,r){var o,a,s,l,u,c,h,d;if("radial"===t){u=i.rawX,h=i.rawY,c=r.rawX,d=r.rawY;var p=xX(u,h),f=xX(u,h+(d-h)*n),g=xX(c,d+(h-d)*n),v=xX(c,d);return{x1:p.x||0,y1:p.y||0,x2:v.x||0,y2:v.y||0,cpx1:f.x||0,cpy1:f.y||0,cpx2:g.x||0,cpy2:g.y||0}}return u=i.x,h=i.y,c=r.x,d=r.y,"LR"!==e&&"RL"!==e||(o=u+(c-u)*n,a=h,s=c+(u-c)*n,l=d),"TB"!==e&&"BT"!==e||(o=u,a=h+(d-h)*n,s=c,l=d+(h-d)*n),{x1:u,y1:h,x2:c,y2:d,cpx1:o,cpy1:a,cpx2:s,cpy2:l}}const EX=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._mainGroup=new KS,n}return my(e,t),e.prototype.init=function(t,e){this._controller=new jj(e.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},e.prototype.render=function(t,e,n){var i=t.getData(),r=t.layoutInfo,o=this._mainGroup;"radial"===t.get("layout")?(o.x=r.x+r.width/2,o.y=r.y+r.height/2):(o.x=r.x,o.y=r.y),this._updateViewCoordSys(t,n),this._updateController(t,e,n);var a=this._data;i.diff(a).add((function(e){TX(i,e)&&DX(i,e,null,o,t)})).update((function(e,n){var r=a.getItemGraphicEl(n);TX(i,e)?DX(i,e,r,o,t):r&&PX(a,n,r,o,t)})).remove((function(e){var n=a.getItemGraphicEl(e);n&&PX(a,e,n,o,t)})).execute(),this._nodeScaleRatio=t.get("nodeScaleRatio"),this._updateNodeAndLinkScale(t),!0===t.get("expandAndCollapse")&&i.eachItemGraphicEl((function(e,i){e.off("click").on("click",(function(){n.dispatchAction({type:"treeExpandAndCollapse",seriesId:t.id,dataIndex:i})}))})),this._data=i},e.prototype._updateViewCoordSys=function(t,e){var n=t.getData(),i=[];n.each((function(t){var e=n.getItemLayout(t);!e||isNaN(e.x)||isNaN(e.y)||i.push([+e.x,+e.y])}));var r=[],o=[];WI(i,r,o);var a=this._min,s=this._max;o[0]-r[0]==0&&(r[0]=a?a[0]:r[0]-1,o[0]=s?s[0]:o[0]+1),o[1]-r[1]==0&&(r[1]=a?a[1]:r[1]-1,o[1]=s?s[1]:o[1]+1);var l=t.coordinateSystem=new tX;l.zoomLimit=t.get("scaleLimit"),l.setBoundingRect(r[0],r[1],o[0]-r[0],o[1]-r[1]),l.setCenter(t.get("center"),e),l.setZoom(t.get("zoom")),this.group.attr({x:l.x,y:l.y,scaleX:l.scaleX,scaleY:l.scaleY}),this._min=r,this._max=o},e.prototype._updateController=function(t,e,n){var i=this,r=this._controller,o=this._controllerHost,a=this.group;r.setPointerChecker((function(e,i,r){var o=a.getBoundingRect();return o.applyTransform(a.transform),o.contain(i,r)&&!Kj(e,n,t)})),r.enable(t.get("roam")),o.zoomLimit=t.get("scaleLimit"),o.zoom=t.coordinateSystem.getZoom(),r.off("pan").off("zoom").on("pan",(function(e){Yj(o,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"treeRoam",dx:e.dx,dy:e.dy})})).on("zoom",(function(e){Xj(o,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"treeRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),i._updateNodeAndLinkScale(t),n.updateLabelLayout()}))},e.prototype._updateNodeAndLinkScale=function(t){var e=t.getData(),n=this._getNodeGlobalScale(t);e.eachItemGraphicEl((function(t,e){t.setSymbolScale(n)}))},e.prototype._getNodeGlobalScale=function(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var n=this._nodeScaleRatio,i=e.scaleX||1;return((e.getZoom()-1)*n+1)/i},e.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},e.prototype.remove=function(){this._mainGroup.removeAll(),this._data=null},e.type="tree",e}(fR);var RX=FM();function NX(t){var e=t.mainData,n=t.datas;n||(n={main:e},t.datasAttr={main:"data"}),t.datas=t.mainData=null,HX(e,n,t),Ky(n,(function(n){Ky(e.TRANSFERABLE_METHODS,(function(e){n.wrapMethod(e,n_(BX,t))}))})),e.wrapMethod("cloneShallow",n_(VX,t)),Ky(e.CHANGABLE_METHODS,(function(n){e.wrapMethod(n,n_(zX,t))})),__(n[e.dataType]===e)}function BX(t,e){if(RX(i=this).mainData===i){var n=jy({},RX(this).datas);n[this.dataType]=e,HX(e,n,t)}else WX(e,this.dataType,RX(this).mainData,t);var i;return e}function zX(t,e){return t.struct&&t.struct.update(),e}function VX(t,e){return Ky(RX(e).datas,(function(n,i){n!==e&&WX(n.cloneShallow(),i,e,t)})),e}function FX(t){var e=RX(this).mainData;return null==t||null==e?e:RX(e).datas[t]}function GX(){var t=RX(this).mainData;return null==t?[{data:t}]:$y(t_(RX(t).datas),(function(e){return{type:e,data:RX(t).datas[e]}}))}function HX(t,e,n){RX(t).datas={},Ky(e,(function(e,i){WX(e,i,t,n)}))}function WX(t,e,n,i){RX(n).datas[e]=t,RX(t).mainData=n,t.dataType=e,i.struct&&(t[i.structAttr]=i.struct,i.struct[i.datasAttr[e]]=t),t.getLinkedData=FX,t.getLinkedDataAll=GX}var UX=function(){function t(t,e){this.depth=0,this.height=0,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.isExpand=!1,this.name=t||"",this.hostTree=e}return t.prototype.isRemoved=function(){return this.dataIndex<0},t.prototype.eachNode=function(t,e,n){r_(t)&&(n=e,e=t,t=null),o_(t=t||{})&&(t={order:t});var i,r=t.order||"preorder",o=this[t.attr||"children"];"preorder"===r&&(i=e.call(n,this));for(var a=0;!i&&a<o.length;a++)o[a].eachNode(t,e,n);"postorder"===r&&e.call(n,this)},t.prototype.updateDepthAndHeight=function(t){var e=0;this.depth=t;for(var n=0;n<this.children.length;n++){var i=this.children[n];i.updateDepthAndHeight(t+1),i.height>e&&(e=i.height)}this.height=e+1},t.prototype.getNodeById=function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,i=n.length;e<i;e++){var r=n[e].getNodeById(t);if(r)return r}},t.prototype.contains=function(t){if(t===this)return!0;for(var e=0,n=this.children,i=n.length;e<i;e++){var r=n[e].contains(t);if(r)return r}},t.prototype.getAncestors=function(t){for(var e=[],n=t?this:this.parentNode;n;)e.push(n),n=n.parentNode;return e.reverse(),e},t.prototype.getAncestorsIndices=function(){for(var t=[],e=this;e;)t.push(e.dataIndex),e=e.parentNode;return t.reverse(),t},t.prototype.getDescendantIndices=function(){var t=[];return this.eachNode((function(e){t.push(e.dataIndex)})),t},t.prototype.getValue=function(t){var e=this.hostTree.data;return e.getStore().get(e.getDimensionIndex(t||"value"),this.dataIndex)},t.prototype.setLayout=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},t.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},t.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostTree.data.getItemModel(this.dataIndex).getModel(t)},t.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},t.prototype.setVisual=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},t.prototype.getVisual=function(t){return this.hostTree.data.getItemVisual(this.dataIndex,t)},t.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},t.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},t.prototype.getChildIndex=function(){if(this.parentNode){for(var t=this.parentNode.children,e=0;e<t.length;++e)if(t[e]===this)return e;return-1}return-1},t.prototype.isAncestorOf=function(t){for(var e=t.parentNode;e;){if(e===this)return!0;e=e.parentNode}return!1},t.prototype.isDescendantOf=function(t){return t!==this&&t.isAncestorOf(this)},t}(),jX=function(){function t(t){this.type="tree",this._nodes=[],this.hostModel=t}return t.prototype.eachNode=function(t,e,n){this.root.eachNode(t,e,n)},t.prototype.getNodeByDataIndex=function(t){var e=this.data.getRawIndex(t);return this._nodes[e]},t.prototype.getNodeById=function(t){return this.root.getNodeById(t)},t.prototype.update=function(){for(var t=this.data,e=this._nodes,n=0,i=e.length;n<i;n++)e[n].dataIndex=-1;for(n=0,i=t.count();n<i;n++)e[t.getRawIndex(n)].dataIndex=n},t.prototype.clearLayouts=function(){this.data.clearItemLayouts()},t.createTree=function(e,n,i){var r=new t(n),o=[],a=1;!function t(e,n){var i=e.value;a=Math.max(a,i_(i)?i.length:1),o.push(e);var s=new UX(NM(e.name,""),r);n?function(t,e){var n=e.children;if(t.parentNode===e)return;n.push(t),t.parentNode=e}(s,n):r.root=s,r._nodes.push(s);var l=e.children;if(l)for(var u=0;u<l.length;u++)t(l[u],s)}(e),r.root.updateDepthAndHeight(0);var s=Gz(o,{coordDimensions:["value"],dimensionsCount:a}).dimensions,l=new Fz(s,n);return l.initData(o),i&&i(l),NX({mainData:l,struct:r,structAttr:"tree"}),r.update(),r},t}();const YX=jX;function XX(t,e,n){if(t&&Xy(e,t.type)>=0){var i=n.getData().tree.root,r=t.targetNode;if(o_(r)&&(r=i.getNodeById(r)),r&&i.contains(r))return{node:r};var o=t.targetNodeId;if(null!=o&&(r=i.getNodeById(o)))return{node:r}}}function qX(t){for(var e=[];t;)(t=t.parentNode)&&e.push(t);return e.reverse()}function ZX(t,e){return Xy(qX(t),e)>=0}function KX(t,e){for(var n=[];t;){var i=t.dataIndex;n.push({name:t.name,dataIndex:i,value:e.getRawValue(i)}),t=t.parentNode}return n.reverse(),n}var $X=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasSymbolVisual=!0,e.ignoreStyleOnData=!0,e}return my(e,t),e.prototype.getInitialData=function(t){var e={name:t.name,children:t.data},n=t.leaves||{},i=new tL(n,this,this.ecModel),r=YX.createTree(e,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=r.getNodeByDataIndex(e);return n&&n.children.length&&n.isExpand||(t.parentModel=i),t}))}));var o=0;r.eachNode("preorder",(function(t){t.depth>o&&(o=t.depth)}));var a=t.expandAndCollapse&&t.initialTreeDepth>=0?t.initialTreeDepth:o;return r.root.eachNode("preorder",(function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=a})),r.data},e.prototype.getOrient=function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.formatTooltip=function(t,e,n){for(var i=this.getData().tree,r=i.root.children[0],o=i.getNodeByDataIndex(t),a=o.getValue(),s=o.name;o&&o!==r;)s=o.parentNode.name+"."+s,o=o.parentNode;return PE("nameValue",{name:s,value:a,noValue:isNaN(a)||null==a})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=KX(i,this),n.collapsed=!i.isExpand,n},e.type="series.tree",e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},e}(nR);const JX=$X;function QX(t,e){for(var n,i=[t];n=i.pop();)if(e(n),n.isExpand){var r=n.children;if(r.length)for(var o=r.length-1;o>=0;o--)i.push(r[o])}}function tq(t,e){t.eachSeriesByType("tree",(function(t){!function(t,e){var n=function(t,e){return nP(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=n;var i=t.get("layout"),r=0,o=0,a=null;"radial"===i?(r=2*Math.PI,o=Math.min(n.height,n.width)/2,a=_X((function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth}))):(r=n.width,o=n.height,a=_X());var s=t.getData().tree.root,l=s.children[0];if(l){!function(t){var e=t;e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var n,i,r=[e];n=r.pop();)if(i=n.children,n.isExpand&&i.length)for(var o=i.length-1;o>=0;o--){var a=i[o];a.hierNode={defaultAncestor:null,ancestor:a,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},r.push(a)}}(s),function(t,e,n){for(var i,r=[t],o=[];i=r.pop();)if(o.push(i),i.isExpand){var a=i.children;if(a.length)for(var s=0;s<a.length;s++)r.push(a[s])}for(;i=o.pop();)e(i,n)}(l,mX,a),s.hierNode.modifier=-l.hierNode.prelim,QX(l,yX);var u=l,c=l,h=l;QX(l,(function(t){var e=t.getLayout().x;e<u.getLayout().x&&(u=t),e>c.getLayout().x&&(c=t),t.depth>h.depth&&(h=t)}));var d=u===c?1:a(u,c)/2,p=d-u.getLayout().x,f=0,g=0,v=0,m=0;if("radial"===i)f=r/(c.getLayout().x+d+p),g=o/(h.depth-1||1),QX(l,(function(t){v=(t.getLayout().x+p)*f,m=(t.depth-1)*g;var e=xX(v,m);t.setLayout({x:e.x,y:e.y,rawX:v,rawY:m},!0)}));else{var y=t.getOrient();"RL"===y||"LR"===y?(g=o/(c.getLayout().x+d+p),f=r/(h.depth-1||1),QX(l,(function(t){m=(t.getLayout().x+p)*g,v="LR"===y?(t.depth-1)*f:r-(t.depth-1)*f,t.setLayout({x:v,y:m},!0)}))):"TB"!==y&&"BT"!==y||(f=r/(c.getLayout().x+d+p),g=o/(h.depth-1||1),QX(l,(function(t){v=(t.getLayout().x+p)*f,m="TB"===y?(t.depth-1)*g:o-(t.depth-1)*g,t.setLayout({x:v,y:m},!0)})))}}}(t,e)}))}function eq(t){t.eachSeriesByType("tree",(function(t){var e=t.getData();e.tree.eachNode((function(t){var n=t.getModel().getModel("itemStyle").getItemStyle();jy(e.ensureUniqueItemVisual(t.dataIndex,"style"),n)}))}))}var nq=["treemapZoomToNode","treemapRender","treemapMove"];function iq(t){var e=t.getData().tree,n={};e.eachNode((function(e){for(var i=e;i&&i.depth>1;)i=i.parentNode;var r=BP(t.ecModel,i.name||i.dataIndex+"",n);e.setVisual("decal",r)}))}function rq(t){var e=0;Ky(t.children,(function(t){rq(t);var n=t.value;i_(n)&&(n=n[0]),e+=n}));var n=t.value;i_(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),i_(t.value)?t.value[0]=n:t.value=n}const oq=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.preventUsingHoverLayer=!0,n}return my(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};rq(n);var i=t.levels||[],r=this.designatedVisualItemStyle={},o=new tL({itemStyle:r},this,e);i=t.levels=function(t,e){var n,i,r=TM(e.get("color")),o=TM(e.get(["aria","decal","decals"]));if(!r)return;t=t||[],Ky(t,(function(t){var e=new tL(t),r=e.get("color"),o=e.get("decal");(e.get(["itemStyle","color"])||r&&"none"!==r)&&(n=!0),(e.get(["itemStyle","decal"])||o&&"none"!==o)&&(i=!0)}));var a=t[0]||(t[0]={});n||(a.color=r.slice());!i&&o&&(a.decal=o.slice());return t}(i,e);var a=$y(i||[],(function(t){return new tL(t,o,e)}),this),s=YX.createTree(n,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=s.getNodeByDataIndex(e),i=n?a[n.depth]:null;return t.parentModel=i||o,t}))}));return s.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=this.getRawValue(t);return PE("nameValue",{name:i.getName(t),value:r})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=KX(i,this),n.treePathInfo=n.treeAncestors,n},e.prototype.setLayoutInfo=function(t){this.layoutInfo=this.layoutInfo||{},jy(this.layoutInfo,t)},e.prototype.mapIdToIndex=function(t){var e=this._idIndexMap;e||(e=this._idIndexMap=C_(),this._idIndexMapCount=0);var n=e.get(t);return null==n&&e.set(t,n=this._idIndexMapCount++),n},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},e.prototype.enableAriaDecal=function(){iq(this)},e.type="series.treemap",e.layoutMode="box",e.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"â¶",zoomToNodeRatio:.1024,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},e}(nR);var aq=function(){function t(t){this.group=new KS,t.add(this.group)}return t.prototype.render=function(t,e,n,i){var r=t.getModel("breadcrumb"),o=this.group;if(o.removeAll(),r.get("show")&&n){var a=r.getModel("itemStyle"),s=r.getModel("emphasis"),l=a.getModel("textStyle"),u=s.getModel(["itemStyle","textStyle"]),c={pos:{left:r.get("left"),right:r.get("right"),top:r.get("top"),bottom:r.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:r.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,c,l),this._renderContent(t,c,a,s,l,u,i),iP(o,c.pos,c.box)}},t.prototype._prepare=function(t,e,n){for(var i=t;i;i=i.parentNode){var r=NM(i.getModel().get("name"),""),o=n.getTextRect(r),a=Math.max(o.width+16,e.emptyItemWidth);e.totalWidth+=a+8,e.renderList.push({node:i,text:r,width:a})}},t.prototype._renderContent=function(t,e,n,i,r,o,a){for(var s,l,u,c,h,d,p,f,g,v=0,m=e.emptyItemWidth,y=t.get(["breadcrumb","height"]),_=(s=e.pos,l=e.box,c=l.width,h=l.height,d=rM(s.left,c),p=rM(s.top,h),f=rM(s.right,c),g=rM(s.bottom,h),(isNaN(d)||isNaN(parseFloat(s.left)))&&(d=0),(isNaN(f)||isNaN(parseFloat(s.right)))&&(f=c),(isNaN(p)||isNaN(parseFloat(s.top)))&&(p=0),(isNaN(g)||isNaN(parseFloat(s.bottom)))&&(g=h),u=UL(u||0),{width:Math.max(f-d-u[1]-u[3],0),height:Math.max(g-p-u[0]-u[2],0)}),x=e.totalWidth,b=e.renderList,w=i.getModel("itemStyle").getItemStyle(),S=b.length-1;S>=0;S--){var M=b[S],I=M.node,A=M.width,C=M.text;x>_.width&&(x-=A-m,A=m,C=null);var T=new dD({shape:{points:sq(v,0,A,y,S===b.length-1,0===S)},style:Yy(n.getItemStyle(),{lineJoin:"bevel"}),textContent:new pC({style:kk(r,{text:C})}),textConfig:{position:"inside"},z2:1e4*IC,onclick:n_(a,I)});T.disableLabelAnimation=!0,T.getTextContent().ensureState("emphasis").style=kk(o,{text:C}),T.ensureState("emphasis").style=w,uT(T,i.get("focus"),i.get("blurScope"),i.get("disabled")),this.group.add(T),lq(T,t,I),v+=A+8}},t.prototype.remove=function(){this.group.removeAll()},t}();function sq(t,e,n,i,r,o){var a=[[r?t:t-5,e],[t+n,e],[t+n,e+i],[r?t:t-5,e+i]];return!o&&a.splice(2,0,[t+n+5,e+i/2]),!r&&a.push([t,e+i/2]),a}function lq(t,e,n){fC(t).eventData={componentType:"series",componentSubType:"treemap",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&KX(n,e)}}const uq=aq;var cq=function(){function t(){this._storage=[],this._elExistsMap={}}return t.prototype.add=function(t,e,n,i,r){return!this._elExistsMap[t.id]&&(this._elExistsMap[t.id]=!0,this._storage.push({el:t,target:e,duration:n,delay:i,easing:r}),!0)},t.prototype.finished=function(t){return this._finishedCallback=t,this},t.prototype.start=function(){for(var t=this,e=this._storage.length,n=function(){--e<=0&&(t._storage.length=0,t._elExistsMap={},t._finishedCallback&&t._finishedCallback())},i=0,r=this._storage.length;i<r;i++){var o=this._storage[i];o.el.animateTo(o.target,{duration:o.duration,delay:o.delay,easing:o.easing,setToFinal:!0,done:n,aborted:n})}return this},t}();var hq=KS,dq=$A,pq="label",fq="upperLabel",gq=10*IC,vq=2*IC,mq=3*IC,yq=aI([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),_q=function(t){var e=yq(t);return e.stroke=e.fill=e.lineWidth=null,e},xq=FM(),bq=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._state="ready",n._storage={nodeGroup:[],background:[],content:[]},n}return my(e,t),e.prototype.render=function(t,e,n,i){if(!(Xy(e.findComponents({mainType:"series",subType:"treemap",query:i}),t)<0)){this.seriesModel=t,this.api=n,this.ecModel=e;var r=XX(i,["treemapZoomToNode","treemapRootToNode"],t),o=i&&i.type,a=t.layoutInfo,s=!this._oldTree,l=this._storage,u="treemapRootToNode"===o&&r&&l?{rootNodeGroup:l.nodeGroup[r.node.getRawIndex()],direction:i.direction}:null,c=this._giveContainerGroup(a),h=t.get("animation"),d=this._doRender(c,t,u);!h||s||o&&"treemapZoomToNode"!==o&&"treemapRootToNode"!==o?d.renderFinally():this._doAnimation(c,d,t,u),this._resetController(n),this._renderBreadcrumb(t,n,r)}},e.prototype._giveContainerGroup=function(t){var e=this._containerGroup;return e||(e=this._containerGroup=new hq,this._initEvents(e),this.group.add(e)),e.x=t.x,e.y=t.y,e},e.prototype._doRender=function(t,e,n){var i=e.getData().tree,r=this._oldTree,o={nodeGroup:[],background:[],content:[]},a={nodeGroup:[],background:[],content:[]},s=this._storage,l=[];function u(t,i,r,u){return function(t,e,n,i,r,o,a,s,l,u){if(!a)return;var c=a.getLayout(),h=t.getData(),d=a.getModel();if(h.setItemGraphicEl(a.dataIndex,null),!c||!c.isInView)return;var p=c.width,f=c.height,g=c.borderWidth,v=c.invisible,m=a.getRawIndex(),y=s&&s.getRawIndex(),_=a.viewChildren,x=c.upperHeight,b=_&&_.length,w=d.getModel("itemStyle"),S=d.getModel(["emphasis","itemStyle"]),M=d.getModel(["blur","itemStyle"]),I=d.getModel(["select","itemStyle"]),A=w.get("borderRadius")||0,C=F("nodeGroup",hq);if(!C)return;if(l.add(C),C.x=c.x||0,C.y=c.y||0,C.markRedraw(),xq(C).nodeWidth=p,xq(C).nodeHeight=f,c.isAboveViewRoot)return C;var T=F("background",dq,u,vq);T&&R(C,T,b&&c.upperLabelHeight);var D=d.getModel("emphasis"),k=D.get("focus"),L=D.get("blurScope"),P=D.get("disabled"),O="ancestor"===k?a.getAncestorsIndices():"descendant"===k?a.getDescendantIndices():k;if(b)gT(C)&&fT(C,!1),T&&(fT(T,!P),h.setItemGraphicEl(a.dataIndex,T),cT(T,O,L));else{var E=F("content",dq,u,mq);E&&N(C,E),T.disableMorphing=!0,T&&gT(T)&&fT(T,!1),fT(C,!P),h.setItemGraphicEl(a.dataIndex,C),cT(C,O,L)}return C;function R(e,n,i){var r=fC(n);if(r.dataIndex=a.dataIndex,r.seriesIndex=t.seriesIndex,n.setShape({x:0,y:0,width:p,height:f,r:A}),v)B(n);else{n.invisible=!1;var o=a.getVisual("style"),s=o.stroke,l=_q(w);l.fill=s;var u=yq(S);u.fill=S.get("borderColor");var c=yq(M);c.fill=M.get("borderColor");var h=yq(I);if(h.fill=I.get("borderColor"),i){var d=p-2*g;z(n,s,o.opacity,{x:g,y:0,width:d,height:x})}else n.removeTextContent();n.setStyle(l),n.ensureState("emphasis").style=u,n.ensureState("blur").style=c,n.ensureState("select").style=h,YC(n)}e.add(n)}function N(e,n){var i=fC(n);i.dataIndex=a.dataIndex,i.seriesIndex=t.seriesIndex;var r=Math.max(p-2*g,0),o=Math.max(f-2*g,0);if(n.culling=!0,n.setShape({x:g,y:g,width:r,height:o,r:A}),v)B(n);else{n.invisible=!1;var s=a.getVisual("style"),l=s.fill,u=_q(w);u.fill=l,u.decal=s.decal;var c=yq(S),h=yq(M),d=yq(I);z(n,l,s.opacity,null),n.setStyle(u),n.ensureState("emphasis").style=c,n.ensureState("blur").style=h,n.ensureState("select").style=d,YC(n)}e.add(n)}function B(t){!t.invisible&&o.push(t)}function z(e,n,i,r){var o=d.getModel(r?fq:pq),s=NM(d.get("name"),null),l=o.getShallow("show");Tk(e,Dk(d,r?fq:pq),{defaultText:l?s:null,inheritColor:n,defaultOpacity:i,labelFetcher:t,labelDataIndex:a.dataIndex});var u=e.getTextContent();if(u){var h=u.style,p=y_(h.padding||0);r&&(e.setTextConfig({layoutRect:r}),u.disableLabelLayout=!0),u.beforeUpdate=function(){var t=Math.max((r?r.width:e.shape.width)-p[1]-p[3],0),n=Math.max((r?r.height:e.shape.height)-p[0]-p[2],0);h.width===t&&h.height===n||u.setStyle({width:t,height:n})},h.truncateMinChar=2,h.lineOverflow="truncate",V(h,r,c);var f=u.getState("emphasis");V(f?f.style:null,r,c)}}function V(e,n,i){var r=e?e.text:null;if(!n&&i.isLeafRoot&&null!=r){var o=t.get("drillDownIcon",!0);e.text=o?o+" "+r:r}}function F(t,i,o,a){var s=null!=y&&n[t][y],l=r[t];return s?(n[t][y]=null,G(l,s)):v||((s=new i)instanceof EI&&(s.z2=function(t,e){return t*gq+e}(o,a)),H(l,s)),e[t][m]=s}function G(t,e){var n=t[m]={};e instanceof hq?(n.oldX=e.x,n.oldY=e.y):n.oldShape=jy({},e.shape)}function H(t,e){var n=t[m]={},o=a.parentNode,s=e instanceof KS;if(o&&(!i||"drillDown"===i.direction)){var l=0,u=0,c=r.background[o.getRawIndex()];!i&&c&&c.oldShape&&(l=c.oldShape.width,u=c.oldShape.height),s?(n.oldX=0,n.oldY=u):n.oldShape={x:l,y:u,width:0,height:0}}n.fadein=!s}}(e,a,s,n,o,l,t,i,r,u)}!function t(e,n,i,r,o){r?(n=e,Ky(e,(function(t,e){!t.isRemoved()&&s(e,e)}))):new gz(n,e,a,a).add(s).update(s).remove(n_(s,null)).execute();function a(t){return t.getId()}function s(a,s){var l=null!=a?e[a]:null,c=null!=s?n[s]:null,h=u(l,c,i,o);h&&t(l&&l.viewChildren||[],c&&c.viewChildren||[],h,r,o+1)}}(i.root?[i.root]:[],r&&r.root?[r.root]:[],t,i===r||!r,0);var c,h,d=(h={nodeGroup:[],background:[],content:[]},(c=s)&&Ky(c,(function(t,e){var n=h[e];Ky(t,(function(t){t&&(n.push(t),xq(t).willDelete=!0)}))})),h);return this._oldTree=i,this._storage=a,{lastsForAnimation:o,willDeleteEls:d,renderFinally:function(){Ky(d,(function(t){Ky(t,(function(t){t.parent&&t.parent.remove(t)}))})),Ky(l,(function(t){t.invisible=!0,t.dirty()}))}}},e.prototype._doAnimation=function(t,e,n,i){var r=n.get("animationDurationUpdate"),o=n.get("animationEasing"),a=(r_(r)?0:r)||0,s=(r_(o)?null:o)||"cubicOut",l=new cq;Ky(e.willDeleteEls,(function(t,e){Ky(t,(function(t,n){if(!t.invisible){var r,o=t.parent,u=xq(o);if(i&&"drillDown"===i.direction)r=o===i.rootNodeGroup?{shape:{x:0,y:0,width:u.nodeWidth,height:u.nodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var c=0,h=0;u.willDelete||(c=u.nodeWidth/2,h=u.nodeHeight/2),r="nodeGroup"===e?{x:c,y:h,style:{opacity:0}}:{shape:{x:c,y:h,width:0,height:0},style:{opacity:0}}}r&&l.add(t,r,a,0,s)}}))})),Ky(this._storage,(function(t,n){Ky(t,(function(t,i){var r=e.lastsForAnimation[n][i],o={};r&&(t instanceof KS?null!=r.oldX&&(o.x=t.x,o.y=t.y,t.x=r.oldX,t.y=r.oldY):(r.oldShape&&(o.shape=jy({},t.shape),t.setShape(r.oldShape)),r.fadein?(t.setStyle("opacity",0),o.style={opacity:1}):1!==t.style.opacity&&(o.style={opacity:1})),l.add(t,o,a,0,s))}))}),this),this._state="animating",l.finished(e_((function(){this._state="ready",e.renderFinally()}),this)).start()},e.prototype._resetController=function(t){var e=this._controller;e||((e=this._controller=new jj(t.getZr())).enable(this.seriesModel.get("roam")),e.on("pan",e_(this._onPan,this)),e.on("zoom",e_(this._onZoom,this)));var n=new Hx(0,0,t.getWidth(),t.getHeight());e.setPointerChecker((function(t,e,i){return n.contain(e,i)}))},e.prototype._clearController=function(){var t=this._controller;t&&(t.dispose(),t=null)},e.prototype._onPan=function(t){if("animating"!==this._state&&(Math.abs(t.dx)>3||Math.abs(t.dy)>3)){var e=this.seriesModel.getData().tree.root;if(!e)return;var n=e.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+t.dx,y:n.y+t.dy,width:n.width,height:n.height}})}},e.prototype._onZoom=function(t){var e=t.originX,n=t.originY;if("animating"!==this._state){var i=this.seriesModel.getData().tree.root;if(!i)return;var r=i.getLayout();if(!r)return;var o=new Hx(r.x,r.y,r.width,r.height),a=this.seriesModel.layoutInfo,s=[1,0,0,1,0,0];Tx(s,s,[-(e-=a.x),-(n-=a.y)]),kx(s,s,[t.scale,t.scale]),Tx(s,s,[e,n]),o.applyTransform(s),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:o.x,y:o.y,width:o.width,height:o.height}})}},e.prototype._initEvents=function(t){var e=this;t.on("click",(function(t){if("ready"===e._state){var n=e.seriesModel.get("nodeClick",!0);if(n){var i=e.findTarget(t.offsetX,t.offsetY);if(i){var r=i.node;if(r.getLayout().isLeafRoot)e._rootToNode(i);else if("zoomToNode"===n)e._zoomToNode(i);else if("link"===n){var o=r.hostTree.data.getItemModel(r.dataIndex),a=o.get("link",!0),s=o.get("target",!0)||"blank";a&&KL(a,s)}}}}}),this)},e.prototype._renderBreadcrumb=function(t,e,n){var i=this;n||(n=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2))||(n={node:t.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new uq(this.group))).render(t,e,n.node,(function(e){"animating"!==i._state&&(ZX(t.getViewRoot(),e)?i._rootToNode({node:e}):i._zoomToNode({node:e}))}))},e.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage={nodeGroup:[],background:[],content:[]},this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},e.prototype.dispose=function(){this._clearController()},e.prototype._zoomToNode=function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype._rootToNode=function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype.findTarget=function(t,e){var n;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},(function(i){var r=this._storage.background[i.getRawIndex()];if(r){var o=r.transformCoordToLocal(t,e),a=r.shape;if(!(a.x<=o[0]&&o[0]<=a.x+a.width&&a.y<=o[1]&&o[1]<=a.y+a.height))return!1;n={node:i,offsetX:o[0],offsetY:o[1]}}}),this),n},e.type="treemap",e}(fR);const wq=bq;var Sq=Ky,Mq=l_,Iq=-1,Aq=function(){function t(e){var n=e.mappingMethod,i=e.type,r=this.option=Hy(e);this.type=i,this.mappingMethod=n,this._normalizeData=Nq[n];var o=t.visualHandlers[i];this.applyVisual=o.applyVisual,this.getColorMapper=o.getColorMapper,this._normalizedToVisual=o._normalizedToVisual[n],"piecewise"===n?(Cq(r),function(t){var e=t.pieceList;t.hasSpecialVisual=!1,Ky(e,(function(e,n){e.originIndex=n,null!=e.visual&&(t.hasSpecialVisual=!0)}))}(r)):"category"===n?r.categories?function(t){var e=t.categories,n=t.categoryMap={},i=t.visual;if(Sq(e,(function(t,e){n[t]=e})),!i_(i)){var r=[];l_(i)?Sq(i,(function(t,e){var i=n[e];r[null!=i?i:Iq]=t})):r[Iq]=i,i=Rq(t,r)}for(var o=e.length-1;o>=0;o--)null==i[o]&&(delete n[e[o]],e.pop())}(r):Cq(r,!0):(__("linear"!==n||r.dataExtent),Cq(r))}return t.prototype.mapValueToVisual=function(t){var e=this._normalizeData(t);return this._normalizedToVisual(e,t)},t.prototype.getNormalizer=function(){return e_(this._normalizeData,this)},t.listVisualTypes=function(){return t_(t.visualHandlers)},t.isValidType=function(e){return t.visualHandlers.hasOwnProperty(e)},t.eachVisual=function(t,e,n){l_(t)?Ky(t,e,n):e.call(n,t)},t.mapVisual=function(e,n,i){var r,o=i_(e)?[]:l_(e)?{}:(r=!0,null);return t.eachVisual(e,(function(t,e){var a=n.call(i,t,e);r?o=a:o[e]=a})),o},t.retrieveVisuals=function(e){var n,i={};return e&&Sq(t.visualHandlers,(function(t,r){e.hasOwnProperty(r)&&(i[r]=e[r],n=!0)})),n?i:null},t.prepareVisualTypes=function(t){if(i_(t))t=t.slice();else{if(!Mq(t))return[];var e=[];Sq(t,(function(t,n){e.push(n)})),t=e}return t.sort((function(t,e){return"color"===e&&"color"!==t&&0===t.indexOf("color")?1:-1})),t},t.dependsOn=function(t,e){return"color"===e?!(!t||0!==t.indexOf(e)):t===e},t.findPieceIndex=function(t,e,n){for(var i,r=1/0,o=0,a=e.length;o<a;o++){var s=e[o].value;if(null!=s){if(s===t||o_(s)&&s===t+"")return o;n&&h(s,o)}}for(o=0,a=e.length;o<a;o++){var l=e[o],u=l.interval,c=l.close;if(u){if(u[0]===-1/0){if(Bq(c[1],t,u[1]))return o}else if(u[1]===1/0){if(Bq(c[0],u[0],t))return o}else if(Bq(c[0],u[0],t)&&Bq(c[1],t,u[1]))return o;n&&h(u[0],o),n&&h(u[1],o)}}if(n)return t===1/0?e.length-1:t===-1/0?0:i;function h(e,n){var o=Math.abs(e-t);o<r&&(r=o,i=n)}},t.visualHandlers={color:{applyVisual:kq("color"),getColorMapper:function(){var t=this.option;return e_("category"===t.mappingMethod?function(t,e){return!e&&(t=this._normalizeData(t)),Lq.call(this,t)}:function(e,n,i){var r=!!i;return!n&&(e=this._normalizeData(e)),i=cw(e,t.parsedVisual,i),r?i:pw(i,"rgba")},this)},_normalizedToVisual:{linear:function(t){return pw(cw(t,this.option.parsedVisual),"rgba")},category:Lq,piecewise:function(t,e){var n=Eq.call(this,e);return null==n&&(n=pw(cw(t,this.option.parsedVisual),"rgba")),n},fixed:Pq}},colorHue:Tq((function(t,e){return hw(t,e)})),colorSaturation:Tq((function(t,e){return hw(t,null,e)})),colorLightness:Tq((function(t,e){return hw(t,null,null,e)})),colorAlpha:Tq((function(t,e){return dw(t,e)})),decal:{applyVisual:kq("decal"),_normalizedToVisual:{linear:null,category:Lq,piecewise:null,fixed:null}},opacity:{applyVisual:kq("opacity"),_normalizedToVisual:Oq([0,1])},liftZ:{applyVisual:kq("liftZ"),_normalizedToVisual:{linear:Pq,category:Pq,piecewise:Pq,fixed:Pq}},symbol:{applyVisual:function(t,e,n){n("symbol",this.mapValueToVisual(t))},_normalizedToVisual:{linear:Dq,category:Lq,piecewise:function(t,e){var n=Eq.call(this,e);return null==n&&(n=Dq.call(this,t)),n},fixed:Pq}},symbolSize:{applyVisual:kq("symbolSize"),_normalizedToVisual:Oq([0,1])}},t}();function Cq(t,e){var n=t.visual,i=[];l_(n)?Sq(n,(function(t){i.push(t)})):null!=n&&i.push(n);e||1!==i.length||{color:1,symbol:1}.hasOwnProperty(t.type)||(i[1]=i[0]),Rq(t,i)}function Tq(t){return{applyVisual:function(e,n,i){var r=this.mapValueToVisual(e);i("color",t(n("color"),r))},_normalizedToVisual:Oq([0,1])}}function Dq(t){var e=this.option.visual;return e[Math.round(iM(t,[0,1],[0,e.length-1],!0))]||{}}function kq(t){return function(e,n,i){i(t,this.mapValueToVisual(e))}}function Lq(t){var e=this.option.visual;return e[this.option.loop&&t!==Iq?t%e.length:t]}function Pq(){return this.option.visual[0]}function Oq(t){return{linear:function(e){return iM(e,t,this.option.visual,!0)},category:Lq,piecewise:function(e,n){var i=Eq.call(this,n);return null==i&&(i=iM(e,t,this.option.visual,!0)),i},fixed:Pq}}function Eq(t){var e=this.option,n=e.pieceList;if(e.hasSpecialVisual){var i=n[Aq.findPieceIndex(t,n)];if(i&&i.visual)return i.visual[this.type]}}function Rq(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=$y(e,(function(t){var e=sw(t);return e||[0,0,0,1]}))),e}var Nq={linear:function(t){return iM(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,n=Aq.findPieceIndex(t,e,!0);if(null!=n)return iM(n,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return null==e?Iq:e},fixed:P_};function Bq(t,e,n){return t?e<=n:e<n}const zq=Aq;var Vq=FM();const Fq={seriesType:"treemap",reset:function(t){var e=t.getData().tree.root;e.isRemoved()||Gq(e,{},t.getViewRoot().getAncestors(),t)}};function Gq(t,e,n,i){var r=t.getModel(),o=t.getLayout(),a=t.hostTree.data;if(o&&!o.invisible&&o.isInView){var s,l=r.getModel("itemStyle"),u=function(t,e,n){var i=jy({},e),r=n.designatedVisualItemStyle;return Ky(["color","colorAlpha","colorSaturation"],(function(n){r[n]=e[n];var o=t.get(n);r[n]=null,null!=o&&(i[n]=o)})),i}(l,e,i),c=a.ensureUniqueItemVisual(t.dataIndex,"style"),h=l.get("borderColor"),d=l.get("borderColorSaturation");null!=d&&(h=function(t,e){return null!=e?hw(e,null,null,t):null}(d,s=Hq(u))),c.stroke=h;var p=t.viewChildren;if(p&&p.length){var f=function(t,e,n,i,r,o){if(!o||!o.length)return;var a=Uq(e,"color")||null!=r.color&&"none"!==r.color&&(Uq(e,"colorAlpha")||Uq(e,"colorSaturation"));if(!a)return;var s=e.get("visualMin"),l=e.get("visualMax"),u=n.dataExtent.slice();null!=s&&s<u[0]&&(u[0]=s),null!=l&&l>u[1]&&(u[1]=l);var c=e.get("colorMappingBy"),h={type:a.name,dataExtent:u,visual:a.range};"color"!==h.type||"index"!==c&&"id"!==c?h.mappingMethod="linear":(h.mappingMethod="category",h.loop=!0);var d=new zq(h);return Vq(d).drColorMappingBy=c,d}(0,r,o,0,u,p);Ky(p,(function(t,e){if(t.depth>=n.length||t===n[t.depth]){var o=function(t,e,n,i,r,o){var a=jy({},e);if(r){var s=r.type,l="color"===s&&Vq(r).drColorMappingBy,u="index"===l?i:"id"===l?o.mapIdToIndex(n.getId()):n.getValue(t.get("visualDimension"));a[s]=r.mapValueToVisual(u)}return a}(r,u,t,e,f,i);Gq(t,o,n,i)}}))}else s=Hq(u),c.fill=s}}function Hq(t){var e=Wq(t,"color");if(e){var n=Wq(t,"colorAlpha"),i=Wq(t,"colorSaturation");return i&&(e=hw(e,null,null,i)),n&&(e=dw(e,n)),e}}function Wq(t,e){var n=t[e];if(null!=n&&"none"!==n)return n}function Uq(t,e){var n=t.get(e);return i_(n)&&n.length?{name:e,range:n}:null}var jq=Math.max,Yq=Math.min,Xq=f_,qq=Ky,Zq=["itemStyle","borderWidth"],Kq=["itemStyle","gapWidth"],$q=["upperLabel","show"],Jq=["upperLabel","height"];const Qq={seriesType:"treemap",reset:function(t,e,n,i){var r=n.getWidth(),o=n.getHeight(),a=t.option,s=nP(t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),l=a.size||[],u=rM(Xq(s.width,l[0]),r),c=rM(Xq(s.height,l[1]),o),h=i&&i.type,d=XX(i,["treemapZoomToNode","treemapRootToNode"],t),p="treemapRender"===h||"treemapMove"===h?i.rootRect:null,f=t.getViewRoot(),g=qX(f);if("treemapMove"!==h){var v="treemapZoomToNode"===h?function(t,e,n,i,r){var o,a=(e||{}).node,s=[i,r];if(!a||a===n)return s;var l=i*r,u=l*t.option.zoomToNodeRatio;for(;o=a.parentNode;){for(var c=0,h=o.children,d=0,p=h.length;d<p;d++)c+=h[d].getValue();var f=a.getValue();if(0===f)return s;u*=c/f;var g=o.getModel(),v=g.get(Zq);(u+=4*v*v+(3*v+Math.max(v,rZ(g)))*Math.pow(u,.5))>cM&&(u=cM),a=o}u<l&&(u=l);var m=Math.pow(u/l,.5);return[i*m,r*m]}(t,d,f,u,c):p?[p.width,p.height]:[u,c],m=a.sort;m&&"asc"!==m&&"desc"!==m&&(m="desc");var y={squareRatio:a.squareRatio,sort:m,leafDepth:a.leafDepth};f.hostTree.clearLayouts();var _={x:0,y:0,width:v[0],height:v[1],area:v[0]*v[1]};f.setLayout(_),tZ(f,y,!1,0),_=f.getLayout(),qq(g,(function(t,e){var n=(g[e+1]||f).getValue();t.setLayout(jy({dataExtent:[n,n],borderWidth:0,upperHeight:0},_))}))}var x=t.getData().tree.root;x.setLayout(function(t,e,n){if(e)return{x:e.x,y:e.y};var i={x:0,y:0};if(!n)return i;var r=n.node,o=r.getLayout();if(!o)return i;var a=[o.width/2,o.height/2],s=r;for(;s;){var l=s.getLayout();a[0]+=l.x,a[1]+=l.y,s=s.parentNode}return{x:t.width/2-a[0],y:t.height/2-a[1]}}(s,p,d),!0),t.setLayoutInfo(s),iZ(x,new Hx(-s.x,-s.y,r,o),g,f,0)}};function tZ(t,e,n,i){var r,o;if(!t.isRemoved()){var a=t.getLayout();r=a.width,o=a.height;var s=t.getModel(),l=s.get(Zq),u=s.get(Kq)/2,c=rZ(s),h=Math.max(l,c),d=l-u,p=h-u;t.setLayout({borderWidth:l,upperHeight:h,upperLabelHeight:c},!0);var f=(r=jq(r-2*d,0))*(o=jq(o-d-p,0)),g=function(t,e,n,i,r,o){var a=t.children||[],s=i.sort;"asc"!==s&&"desc"!==s&&(s=null);var l=null!=i.leafDepth&&i.leafDepth<=o;if(r&&!l)return t.viewChildren=[];a=Qy(a,(function(t){return!t.isRemoved()})),function(t,e){e&&t.sort((function(t,n){var i="asc"===e?t.getValue()-n.getValue():n.getValue()-t.getValue();return 0===i?"asc"===e?t.dataIndex-n.dataIndex:n.dataIndex-t.dataIndex:i}))}(a,s);var u=function(t,e,n){for(var i=0,r=0,o=e.length;r<o;r++)i+=e[r].getValue();var a,s=t.get("visualDimension");e&&e.length?"value"===s&&n?(a=[e[e.length-1].getValue(),e[0].getValue()],"asc"===n&&a.reverse()):(a=[1/0,-1/0],qq(e,(function(t){var e=t.getValue(s);e<a[0]&&(a[0]=e),e>a[1]&&(a[1]=e)}))):a=[NaN,NaN];return{sum:i,dataExtent:a}}(e,a,s);if(0===u.sum)return t.viewChildren=[];if(u.sum=function(t,e,n,i,r){if(!i)return n;for(var o=t.get("visibleMin"),a=r.length,s=a,l=a-1;l>=0;l--){var u=r["asc"===i?a-l-1:l].getValue();u/n*e<o&&(s=l,n-=u)}return"asc"===i?r.splice(0,a-s):r.splice(s,a-s),n}(e,n,u.sum,s,a),0===u.sum)return t.viewChildren=[];for(var c=0,h=a.length;c<h;c++){var d=a[c].getValue()/u.sum*n;a[c].setLayout({area:d})}l&&(a.length&&t.setLayout({isLeafRoot:!0},!0),a.length=0);return t.viewChildren=a,t.setLayout({dataExtent:u.dataExtent},!0),a}(t,s,f,e,n,i);if(g.length){var v={x:d,y:p,width:r,height:o},m=Yq(r,o),y=1/0,_=[];_.area=0;for(var x=0,b=g.length;x<b;){var w=g[x];_.push(w),_.area+=w.getLayout().area;var S=eZ(_,m,e.squareRatio);S<=y?(x++,y=S):(_.area-=_.pop().getLayout().area,nZ(_,m,v,u,!1),m=Yq(v.width,v.height),_.length=_.area=0,y=1/0)}if(_.length&&nZ(_,m,v,u,!0),!n){var M=s.get("childrenVisibleMin");null!=M&&f<M&&(n=!0)}for(x=0,b=g.length;x<b;x++)tZ(g[x],e,n,i+1)}}}function eZ(t,e,n){for(var i=0,r=1/0,o=0,a=void 0,s=t.length;o<s;o++)(a=t[o].getLayout().area)&&(a<r&&(r=a),a>i&&(i=a));var l=t.area*t.area,u=e*e*n;return l?jq(u*i/l,l/(u*r)):1/0}function nZ(t,e,n,i,r){var o=e===n.width?0:1,a=1-o,s=["x","y"],l=["width","height"],u=n[s[o]],c=e?t.area/e:0;(r||c>n[l[a]])&&(c=n[l[a]]);for(var h=0,d=t.length;h<d;h++){var p=t[h],f={},g=c?p.getLayout().area/c:0,v=f[l[a]]=jq(c-2*i,0),m=n[s[o]]+n[l[o]]-u,y=h===d-1||m<g?m:g,_=f[l[o]]=jq(y-2*i,0);f[s[a]]=n[s[a]]+Yq(i,v/2),f[s[o]]=u+Yq(i,_/2),u+=y,p.setLayout(f,!0)}n[s[a]]+=c,n[l[a]]-=c}function iZ(t,e,n,i,r){var o=t.getLayout(),a=n[r],s=a&&a===t;if(!(a&&!s||r===n.length&&t!==i)){t.setLayout({isInView:!0,invisible:!s&&!e.intersect(o),isAboveViewRoot:s},!0);var l=new Hx(e.x-o.x,e.y-o.y,e.width,e.height);qq(t.viewChildren||[],(function(t){iZ(t,l,n,i,r+1)}))}}function rZ(t){return t.get($q)?t.get(Jq):0}function oZ(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.eachSeriesByType("graph",(function(t){var n=t.getCategoriesData(),i=t.getGraph().data,r=n.mapArray(n.getName);i.filterSelf((function(t){var n=i.getItemModel(t).getShallow("category");if(null!=n){s_(n)&&(n=r[n]);for(var o=0;o<e.length;o++)if(!e[o].isSelected(n))return!1}return!0}))}))}function aZ(t){var e={};t.eachSeriesByType("graph",(function(t){var n=t.getCategoriesData(),i=t.getData(),r={};n.each((function(i){var o=n.getName(i);r["ec-"+o]=i;var a=n.getItemModel(i),s=a.getModel("itemStyle").getItemStyle();s.fill||(s.fill=t.getColorFromPalette(o,e)),n.setItemVisual(i,"style",s);for(var l=["symbol","symbolSize","symbolKeepAspect"],u=0;u<l.length;u++){var c=a.getShallow(l[u],!0);null!=c&&n.setItemVisual(i,l[u],c)}})),n.count()&&i.each((function(t){var e=i.getItemModel(t).getShallow("category");if(null!=e){o_(e)&&(e=r["ec-"+e]);var o=n.getItemVisual(e,"style");jy(i.ensureUniqueItemVisual(t,"style"),o);for(var a=["symbol","symbolSize","symbolKeepAspect"],s=0;s<a.length;s++)i.setItemVisual(t,a[s],n.getItemVisual(e,a[s]))}}))}))}function sZ(t){return t instanceof Array||(t=[t,t]),t}function lZ(t){t.eachSeriesByType("graph",(function(t){var e=t.getGraph(),n=t.getEdgeData(),i=sZ(t.get("edgeSymbol")),r=sZ(t.get("edgeSymbolSize"));n.setVisual("fromSymbol",i&&i[0]),n.setVisual("toSymbol",i&&i[1]),n.setVisual("fromSymbolSize",r&&r[0]),n.setVisual("toSymbolSize",r&&r[1]),n.setVisual("style",t.getModel("lineStyle").getLineStyle()),n.each((function(t){var i=n.getItemModel(t),r=e.getEdgeByIndex(t),o=sZ(i.getShallow("symbol",!0)),a=sZ(i.getShallow("symbolSize",!0)),s=i.getModel("lineStyle").getLineStyle(),l=n.ensureUniqueItemVisual(t,"style");switch(jy(l,s),l.stroke){case"source":var u=r.node1.getVisual("style");l.stroke=u&&u.fill;break;case"target":u=r.node2.getVisual("style");l.stroke=u&&u.fill}o[0]&&r.setVisual("fromSymbol",o[0]),o[1]&&r.setVisual("toSymbol",o[1]),a[0]&&r.setVisual("fromSymbolSize",a[0]),a[1]&&r.setVisual("toSymbolSize",a[1])}))}))}var uZ="--\x3e",cZ=function(t){return t.get("autoCurveness")||null},hZ=function(t,e){var n=cZ(t),i=20,r=[];if(s_(n))i=n;else if(i_(n))return void(t.__curvenessList=n);e>i&&(i=e);var o=i%2?i+2:i+3;r=[];for(var a=0;a<o;a++)r.push((a%2?a+1:a)/10*(a%2?-1:1));t.__curvenessList=r},dZ=function(t,e,n){var i=[t.id,t.dataIndex].join("."),r=[e.id,e.dataIndex].join(".");return[n.uid,i,r].join(uZ)},pZ=function(t){var e=t.split(uZ);return[e[0],e[2],e[1]].join(uZ)},fZ=function(t,e){var n=dZ(t.node1,t.node2,e);return e.__edgeMap[n]},gZ=function(t,e){return vZ(dZ(t.node1,t.node2,e),e)+vZ(dZ(t.node2,t.node1,e),e)},vZ=function(t,e){var n=e.__edgeMap;return n[t]?n[t].length:0};function mZ(t,e,n,i){var r=cZ(e),o=i_(r);if(!r)return null;var a=fZ(t,e);if(!a)return null;for(var s=-1,l=0;l<a.length;l++)if(a[l]===n){s=l;break}var u=gZ(t,e);hZ(e,u),t.lineStyle=t.lineStyle||{};var c=dZ(t.node1,t.node2,e),h=e.__curvenessList,d=o||u%2?0:1;if(a.isForward)return h[d+s];var p=pZ(c),f=vZ(p,e),g=h[s+f+d];return i?o?r&&0===r[0]?(f+d)%2?g:-g:((f%2?0:1)+d)%2?g:-g:(f+d)%2?g:-g:h[s+f+d]}function yZ(t){var e=t.coordinateSystem;if(!e||"view"===e.type){var n=t.getGraph();n.eachNode((function(t){var e=t.getModel();t.setLayout([+e.get("x"),+e.get("y")])})),_Z(n,t)}}function _Z(t,e){t.eachEdge((function(t,n){var i=v_(t.getModel().get(["lineStyle","curveness"]),-mZ(t,e,n,!0),0),r=N_(t.node1.getLayout()),o=N_(t.node2.getLayout()),a=[r,o];+i&&a.push([(r[0]+o[0])/2-(r[1]-o[1])*i,(r[1]+o[1])/2-(o[0]-r[0])*i]),t.setLayout(a)}))}function xZ(t,e){t.eachSeriesByType("graph",(function(t){var e=t.get("layout"),n=t.coordinateSystem;if(n&&"view"!==n.type){var i=t.getData(),r=[];Ky(n.dimensions,(function(t){r=r.concat(i.mapDimensionsAll(t))}));for(var o=0;o<i.count();o++){for(var a=[],s=!1,l=0;l<r.length;l++){var u=i.get(r[l],o);isNaN(u)||(s=!0),a.push(u)}s?i.setItemLayout(o,n.dataToPoint(a)):i.setItemLayout(o,[NaN,NaN])}_Z(i.graph,t)}else e&&"none"!==e||yZ(t)}))}function bZ(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var n=t.option.nodeScaleRatio,i=e.scaleX;return((e.getZoom()-1)*n+1)/i}function wZ(t){var e=t.getVisual("symbolSize");return e instanceof Array&&(e=(e[0]+e[1])/2),+e}var SZ=Math.PI,MZ=[];function IZ(t,e,n,i){var r=t.coordinateSystem;if(!r||"view"===r.type){var o=r.getBoundingRect(),a=t.getData(),s=a.graph,l=o.width/2+o.x,u=o.height/2+o.y,c=Math.min(o.width,o.height)/2,h=a.count();if(a.setLayout({cx:l,cy:u}),h){if(n){var d=r.pointToData(i),p=d[0],f=d[1],g=[p-l,f-u];H_(g,g),G_(g,g,c),n.setLayout([l+g[0],u+g[1]],!0),CZ(n,t.get(["circular","rotateLabel"]),l,u)}AZ[e](t,s,a,c,l,u,h),s.eachEdge((function(e,n){var i,r=v_(e.getModel().get(["lineStyle","curveness"]),mZ(e,t,n),0),o=N_(e.node1.getLayout()),a=N_(e.node2.getLayout()),s=(o[0]+a[0])/2,c=(o[1]+a[1])/2;+r&&(i=[l*(r*=3)+s*(1-r),u*r+c*(1-r)]),e.setLayout([o,a,i])}))}}}var AZ={value:function(t,e,n,i,r,o,a){var s=0,l=n.getSum("value"),u=2*Math.PI/(l||a);e.eachNode((function(t){var e=t.getValue("value"),n=u*(l?e:1)/2;s+=n,t.setLayout([i*Math.cos(s)+r,i*Math.sin(s)+o]),s+=n}))},symbolSize:function(t,e,n,i,r,o,a){var s=0;MZ.length=a;var l=bZ(t);e.eachNode((function(t){var e=wZ(t);isNaN(e)&&(e=2),e<0&&(e=0),e*=l;var n=Math.asin(e/2/i);isNaN(n)&&(n=SZ/2),MZ[t.dataIndex]=n,s+=2*n}));var u=(2*SZ-s)/a/2,c=0;e.eachNode((function(t){var e=u+MZ[t.dataIndex];c+=e,(!t.getLayout()||!t.getLayout().fixed)&&t.setLayout([i*Math.cos(c)+r,i*Math.sin(c)+o]),c+=e}))}};function CZ(t,e,n,i){var r=t.getGraphicEl();if(r){var o=t.getModel().get(["label","rotate"])||0,a=r.getSymbolPath();if(e){var s=t.getLayout(),l=Math.atan2(s[1]-i,s[0]-n);l<0&&(l=2*Math.PI+l);var u=s[0]<n;u&&(l-=Math.PI);var c=u?"left":"right";a.setTextConfig({rotation:-l,position:c,origin:"center"});var h=a.ensureState("emphasis");jy(h.textConfig||(h.textConfig={}),{position:c})}else a.setTextConfig({rotation:o*=Math.PI/180})}}function TZ(t){t.eachSeriesByType("graph",(function(t){"circular"===t.get("layout")&&IZ(t,"symbolSize")}))}var DZ=z_;function kZ(t){t.eachSeriesByType("graph",(function(t){var e=t.coordinateSystem;if(!e||"view"===e.type)if("force"===t.get("layout")){var n=t.preservedPoints||{},i=t.getGraph(),r=i.data,o=i.edgeData,a=t.getModel("force"),s=a.get("initLayout");t.preservedPoints?r.each((function(t){var e=r.getId(t);r.setItemLayout(t,n[e]||[NaN,NaN])})):s&&"none"!==s?"circular"===s&&IZ(t,"value"):yZ(t);var l=r.getDataExtent("value"),u=o.getDataExtent("value"),c=a.get("repulsion"),h=a.get("edgeLength"),d=i_(c)?c:[c,c],p=i_(h)?h:[h,h];p=[p[1],p[0]];var f=r.mapArray("value",(function(t,e){var n=r.getItemLayout(e),i=iM(t,l,d);return isNaN(i)&&(i=(d[0]+d[1])/2),{w:i,rep:i,fixed:r.getItemModel(e).get("fixed"),p:!n||isNaN(n[0])||isNaN(n[1])?null:n}})),g=o.mapArray("value",(function(e,n){var r=i.getEdgeByIndex(n),o=iM(e,u,p);isNaN(o)&&(o=(p[0]+p[1])/2);var a=r.getModel(),s=v_(r.getModel().get(["lineStyle","curveness"]),-mZ(r,t,n,!0),0);return{n1:f[r.node1.dataIndex],n2:f[r.node2.dataIndex],d:o,curveness:s,ignoreForceLayout:a.get("ignoreForceLayout")}})),v=e.getBoundingRect(),m=function(t,e,n){for(var i=t,r=e,o=n.rect,a=o.width,s=o.height,l=[o.x+a/2,o.y+s/2],u=null==n.gravity?.1:n.gravity,c=0;c<i.length;c++){var h=i[c];h.p||(h.p=E_(a*(Math.random()-.5)+l[0],s*(Math.random()-.5)+l[1])),h.pp=N_(h.p),h.edges=null}var d,p,f=null==n.friction?.6:n.friction,g=f;return{warmUp:function(){g=.8*f},setFixed:function(t){i[t].fixed=!0},setUnfixed:function(t){i[t].fixed=!1},beforeStep:function(t){d=t},afterStep:function(t){p=t},step:function(t){d&&d(i,r);for(var e,n,o,a=[],s=i.length,c=0;c<r.length;c++){var h=r[c];if(!h.ignoreForceLayout){var f=h.n1;V_(a,(_=h.n2).p,f.p);var v=F_(a)-h.d,m=_.w/(f.w+_.w);isNaN(m)&&(m=0),H_(a,a),!f.fixed&&DZ(f.p,f.p,a,m*v*g),!_.fixed&&DZ(_.p,_.p,a,-(1-m)*v*g)}}for(c=0;c<s;c++)(w=i[c]).fixed||(V_(a,l,w.p),DZ(w.p,w.p,a,u*g));for(c=0;c<s;c++){f=i[c];for(var y=c+1;y<s;y++){var _;V_(a,(_=i[y]).p,f.p),0===(v=F_(a))&&(e=a,n=Math.random()-.5,o=Math.random()-.5,e[0]=n,e[1]=o,v=1);var x=(f.rep+_.rep)/v/v;!f.fixed&&DZ(f.pp,f.pp,a,x),!_.fixed&&DZ(_.pp,_.pp,a,-x)}}var b=[];for(c=0;c<s;c++){var w;(w=i[c]).fixed||(V_(b,w.p,w.pp),DZ(w.p,w.p,b,g),R_(w.pp,w.p))}var S=(g*=.992)<.01;p&&p(i,r,S),t&&t(S)}}}(f,g,{rect:v,gravity:a.get("gravity"),friction:a.get("friction")});m.beforeStep((function(t,e){for(var n=0,r=t.length;n<r;n++)t[n].fixed&&R_(t[n].p,i.getNodeByIndex(n).getLayout())})),m.afterStep((function(t,e,o){for(var a=0,s=t.length;a<s;a++)t[a].fixed||i.getNodeByIndex(a).setLayout(t[a].p),n[r.getId(a)]=t[a].p;for(a=0,s=e.length;a<s;a++){var l=e[a],u=i.getEdgeByIndex(a),c=l.n1.p,h=l.n2.p,d=u.getLayout();(d=d?d.slice():[])[0]=d[0]||[],d[1]=d[1]||[],R_(d[0],c),R_(d[1],h),+l.curveness&&(d[2]=[(c[0]+h[0])/2-(c[1]-h[1])*l.curveness,(c[1]+h[1])/2-(h[0]-c[0])*l.curveness]),u.setLayout(d)}})),t.forceLayout=m,t.preservedPoints=n,m.step()}else t.forceLayout=null}))}function LZ(t,e){var n=[];return t.eachSeriesByType("graph",(function(t){var i=t.get("coordinateSystem");if(!i||"view"===i){var r=t.getData(),o=[],a=[];WI(r.mapArray((function(t){var e=r.getItemModel(t);return[+e.get("x"),+e.get("y")]})),o,a),a[0]-o[0]==0&&(a[0]+=1,o[0]-=1),a[1]-o[1]==0&&(a[1]+=1,o[1]-=1);var s=(a[0]-o[0])/(a[1]-o[1]),l=function(t,e,n){return nP(jy(t.getBoxLayoutParams(),{aspect:n}),{width:e.getWidth(),height:e.getHeight()})}(t,e,s);isNaN(s)&&(o=[l.x,l.y],a=[l.x+l.width,l.y+l.height]);var u=a[0]-o[0],c=a[1]-o[1],h=l.width,d=l.height,p=t.coordinateSystem=new tX;p.zoomLimit=t.get("scaleLimit"),p.setBoundingRect(o[0],o[1],u,c),p.setViewRect(l.x,l.y,h,d),p.setCenter(t.get("center"),e),p.setZoom(t.get("zoom")),n.push(p)}})),n}var PZ=_D.prototype,OZ=MD.prototype,EZ=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1};function RZ(t){return isNaN(+t.cpx1)||isNaN(+t.cpy1)}!function(t){function e(){return null!==t&&t.apply(this,arguments)||this}my(e,t)}(EZ);const NZ=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-line",n}return my(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new EZ},e.prototype.buildPath=function(t,e){RZ(e)?PZ.buildPath.call(this,t,e):OZ.buildPath.call(this,t,e)},e.prototype.pointAt=function(t){return RZ(this.shape)?PZ.pointAt.call(this,t):OZ.pointAt.call(this,t)},e.prototype.tangentAt=function(t){var e=this.shape,n=RZ(e)?[e.x2-e.x1,e.y2-e.y1]:OZ.tangentAt.call(this,t);return H_(n,n)},e}(NA);var BZ=["fromSymbol","toSymbol"];function zZ(t){return"_"+t+"Type"}function VZ(t,e,n){var i=e.getItemVisual(n,t);if(!i||"none"===i)return i;var r=e.getItemVisual(n,t+"Size"),o=e.getItemVisual(n,t+"Rotate"),a=e.getItemVisual(n,t+"Offset"),s=e.getItemVisual(n,t+"KeepAspect"),l=IN(r);return i+l+AN(a||0,l)+(o||"")+(s||"")}function FZ(t,e,n){var i=e.getItemVisual(n,t);if(i&&"none"!==i){var r=e.getItemVisual(n,t+"Size"),o=e.getItemVisual(n,t+"Rotate"),a=e.getItemVisual(n,t+"Offset"),s=e.getItemVisual(n,t+"KeepAspect"),l=IN(r),u=AN(a||0,l),c=MN(i,-l[0]/2+u[0],-l[1]/2+u[1],l[0],l[1],null,s);return c.__specifiedRotation=null==o||isNaN(o)?void 0:+o*Math.PI/180||0,c.name=t,c}}function GZ(t,e){t.x1=e[0][0],t.y1=e[0][1],t.x2=e[1][0],t.y2=e[1][1],t.percent=1;var n=e[2];n?(t.cpx1=n[0],t.cpy1=n[1]):(t.cpx1=NaN,t.cpy1=NaN)}var HZ=function(t){function e(e,n,i){var r=t.call(this)||this;return r._createLine(e,n,i),r}return my(e,t),e.prototype._createLine=function(t,e,n){var i=t.hostModel,r=function(t){var e=new NZ({name:"line",subPixelOptimize:!0});return GZ(e.shape,t),e}(t.getItemLayout(e));r.shape.percent=0,YD(r,{shape:{percent:1}},i,e),this.add(r),Ky(BZ,(function(n){var i=FZ(n,t,e);this.add(i),this[zZ(n)]=VZ(n,t,e)}),this),this._updateCommonStl(t,e,n)},e.prototype.updateData=function(t,e,n){var i=t.hostModel,r=this.childOfName("line"),o=t.getItemLayout(e),a={shape:{}};GZ(a.shape,o),jD(r,a,i,e),Ky(BZ,(function(n){var i=VZ(n,t,e),r=zZ(n);if(this[r]!==i){this.remove(this.childOfName(n));var o=FZ(n,t,e);this.add(o)}this[r]=i}),this),this._updateCommonStl(t,e,n)},e.prototype.getLinePath=function(){return this.childAt(0)},e.prototype._updateCommonStl=function(t,e,n){var i=t.hostModel,r=this.childOfName("line"),o=n&&n.emphasisLineStyle,a=n&&n.blurLineStyle,s=n&&n.selectLineStyle,l=n&&n.labelStatesModels,u=n&&n.emphasisDisabled,c=n&&n.focus,h=n&&n.blurScope;if(!n||t.hasItemOption){var d=t.getItemModel(e),p=d.getModel("emphasis");o=p.getModel("lineStyle").getLineStyle(),a=d.getModel(["blur","lineStyle"]).getLineStyle(),s=d.getModel(["select","lineStyle"]).getLineStyle(),u=p.get("disabled"),c=p.get("focus"),h=p.get("blurScope"),l=Dk(d)}var f=t.getItemVisual(e,"style"),g=f.stroke;r.useStyle(f),r.style.fill=null,r.style.strokeNoScale=!0,r.ensureState("emphasis").style=o,r.ensureState("blur").style=a,r.ensureState("select").style=s,Ky(BZ,(function(t){var e=this.childOfName(t);if(e){e.setColor(g),e.style.opacity=f.opacity;for(var n=0;n<SC.length;n++){var i=SC[n],o=r.getState(i);if(o){var a=o.style||{},s=e.ensureState(i),l=s.style||(s.style={});null!=a.stroke&&(l[e.__isEmptyBrush?"stroke":"fill"]=a.stroke),null!=a.opacity&&(l.opacity=a.opacity)}}e.markRedraw()}}),this);var v=i.getRawValue(e);Tk(this,l,{labelDataIndex:e,labelFetcher:{getFormattedLabel:function(e,n){return i.getFormattedLabel(e,n,t.dataType)}},inheritColor:g||"#000",defaultOpacity:f.opacity,defaultText:(null==v?t.getName(e):isFinite(v)?oM(v):v)+""});var m=this.getTextContent();if(m){var y=l.normal;m.__align=m.style.align,m.__verticalAlign=m.style.verticalAlign,m.__position=y.get("position")||"middle";var _=y.get("distance");i_(_)||(_=[_,_]),m.__labelDistance=_}this.setTextConfig({position:null,local:!0,inside:!1}),uT(this,c,h,u)},e.prototype.highlight=function(){ZC(this)},e.prototype.downplay=function(){KC(this)},e.prototype.updateLayout=function(t,e){this.setLinePoints(t.getItemLayout(e))},e.prototype.setLinePoints=function(t){var e=this.childOfName("line");GZ(e.shape,t),e.dirty()},e.prototype.beforeUpdate=function(){var t=this,e=t.childOfName("fromSymbol"),n=t.childOfName("toSymbol"),i=t.getTextContent();if(e||n||i&&!i.ignore){for(var r=1,o=this.parent;o;)o.scaleX&&(r/=o.scaleX),o=o.parent;var a=t.childOfName("line");if(this.__dirty||a.__dirty){var s=a.shape.percent,l=a.pointAt(0),u=a.pointAt(s),c=V_([],u,l);if(H_(c,c),e&&(e.setPosition(l),S(e,0),e.scaleX=e.scaleY=r*s,e.markRedraw()),n&&(n.setPosition(u),S(n,1),n.scaleX=n.scaleY=r*s,n.markRedraw()),i&&!i.ignore){i.x=i.y=0,i.originX=i.originY=0;var h=void 0,d=void 0,p=i.__labelDistance,f=p[0]*r,g=p[1]*r,v=s/2,m=a.tangentAt(v),y=[m[1],-m[0]],_=a.pointAt(v);y[1]>0&&(y[0]=-y[0],y[1]=-y[1]);var x=m[0]<0?-1:1;if("start"!==i.__position&&"end"!==i.__position){var b=-Math.atan2(m[1],m[0]);u[0]<l[0]&&(b=Math.PI+b),i.rotation=b}var w=void 0;switch(i.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":w=-g,d="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":w=g,d="top";break;default:w=0,d="middle"}switch(i.__position){case"end":i.x=c[0]*f+u[0],i.y=c[1]*g+u[1],h=c[0]>.8?"left":c[0]<-.8?"right":"center",d=c[1]>.8?"top":c[1]<-.8?"bottom":"middle";break;case"start":i.x=-c[0]*f+l[0],i.y=-c[1]*g+l[1],h=c[0]>.8?"right":c[0]<-.8?"left":"center",d=c[1]>.8?"bottom":c[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":i.x=f*x+l[0],i.y=l[1]+w,h=m[0]<0?"right":"left",i.originX=-f*x,i.originY=-w;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":i.x=_[0],i.y=_[1]+w,h="center",i.originY=-w;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":i.x=-f*x+u[0],i.y=u[1]+w,h=m[0]>=0?"right":"left",i.originX=f*x,i.originY=-w}i.scaleX=i.scaleY=r,i.setStyle({verticalAlign:i.__verticalAlign||d,align:i.__align||h})}}}function S(t,e){var n=t.__specifiedRotation;if(null==n){var i=a.tangentAt(e);t.attr("rotation",(1===e?-1:1)*Math.PI/2-Math.atan2(i[1],i[0]))}else t.attr("rotation",n)}},e}(KS);const WZ=HZ;function UZ(t){var e=t.hostModel,n=e.getModel("emphasis");return{lineStyle:e.getModel("lineStyle").getLineStyle(),emphasisLineStyle:n.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:e.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:e.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:n.get("disabled"),blurScope:n.get("blurScope"),focus:n.get("focus"),labelStatesModels:Dk(e)}}function jZ(t){return isNaN(t[0])||isNaN(t[1])}function YZ(t){return t&&!jZ(t[0])&&!jZ(t[1])}const XZ=function(){function t(t){this.group=new KS,this._LineCtor=t||WZ}return t.prototype.updateData=function(t){var e=this;this._progressiveEls=null;var n=this,i=n.group,r=n._lineData;n._lineData=t,r||i.removeAll();var o=UZ(t);t.diff(r).add((function(n){e._doAdd(t,n,o)})).update((function(n,i){e._doUpdate(r,t,i,n,o)})).remove((function(t){i.remove(r.getItemGraphicEl(t))})).execute()},t.prototype.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl((function(e,n){e.updateLayout(t,n)}),this)},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=UZ(t),this._lineData=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e){function n(t){t.isGroup||function(t){return t.animators&&t.animators.length>0}(t)||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[];for(var i=t.start;i<t.end;i++){if(YZ(e.getItemLayout(i))){var r=new this._LineCtor(e,i,this._seriesScope);r.traverse(n),this.group.add(r),e.setItemGraphicEl(i,r),this._progressiveEls.push(r)}}},t.prototype.remove=function(){this.group.removeAll()},t.prototype.eachRendered=function(t){Sk(this._progressiveEls||this.group,t)},t.prototype._doAdd=function(t,e,n){if(YZ(t.getItemLayout(e))){var i=new this._LineCtor(t,e,n);t.setItemGraphicEl(e,i),this.group.add(i)}},t.prototype._doUpdate=function(t,e,n,i,r){var o=t.getItemGraphicEl(n);YZ(e.getItemLayout(i))?(o?o.updateData(e,i,r):o=new this._LineCtor(e,i,r),e.setItemGraphicEl(i,o),this.group.add(o)):this.group.remove(o)},t}();var qZ=[],ZZ=[],KZ=[],$Z=Bb,JZ=j_,QZ=Math.abs;function tK(t,e,n){for(var i,r=t[0],o=t[1],a=t[2],s=1/0,l=n*n,u=.1,c=.1;c<=.9;c+=.1){qZ[0]=$Z(r[0],o[0],a[0],c),qZ[1]=$Z(r[1],o[1],a[1],c),(p=QZ(JZ(qZ,e)-l))<s&&(s=p,i=c)}for(var h=0;h<32;h++){var d=i+u;ZZ[0]=$Z(r[0],o[0],a[0],i),ZZ[1]=$Z(r[1],o[1],a[1],i),KZ[0]=$Z(r[0],o[0],a[0],d),KZ[1]=$Z(r[1],o[1],a[1],d);var p=JZ(ZZ,e)-l;if(QZ(p)<.01)break;var f=JZ(KZ,e)-l;u/=2,p<0?f>=0?i+=u:i-=u:f>=0?i-=u:i+=u}return i}function eK(t,e){var n=[],i=Fb,r=[[],[],[]],o=[[],[]],a=[];e/=2,t.eachEdge((function(t,s){var l=t.getLayout(),u=t.getVisual("fromSymbol"),c=t.getVisual("toSymbol");l.__original||(l.__original=[N_(l[0]),N_(l[1])],l[2]&&l.__original.push(N_(l[2])));var h=l.__original;if(null!=l[2]){if(R_(r[0],h[0]),R_(r[1],h[2]),R_(r[2],h[1]),u&&"none"!==u){var d=wZ(t.node1),p=tK(r,h[0],d*e);i(r[0][0],r[1][0],r[2][0],p,n),r[0][0]=n[3],r[1][0]=n[4],i(r[0][1],r[1][1],r[2][1],p,n),r[0][1]=n[3],r[1][1]=n[4]}if(c&&"none"!==c){d=wZ(t.node2),p=tK(r,h[1],d*e);i(r[0][0],r[1][0],r[2][0],p,n),r[1][0]=n[1],r[2][0]=n[2],i(r[0][1],r[1][1],r[2][1],p,n),r[1][1]=n[1],r[2][1]=n[2]}R_(l[0],r[0]),R_(l[1],r[2]),R_(l[2],r[1])}else{if(R_(o[0],h[0]),R_(o[1],h[1]),V_(a,o[1],o[0]),H_(a,a),u&&"none"!==u){d=wZ(t.node1);z_(o[0],o[0],a,d*e)}if(c&&"none"!==c){d=wZ(t.node2);z_(o[1],o[1],a,-d*e)}R_(l[0],o[0]),R_(l[1],o[1])}}))}function nK(t){return"view"===t.type}const iK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.init=function(t,e){var n=new KH,i=new XZ,r=this.group;this._controller=new jj(e.getZr()),this._controllerHost={target:r},r.add(n.group),r.add(i.group),this._symbolDraw=n,this._lineDraw=i,this._firstRender=!0},e.prototype.render=function(t,e,n){var i=this,r=t.coordinateSystem;this._model=t;var o=this._symbolDraw,a=this._lineDraw,s=this.group;if(nK(r)){var l={x:r.x,y:r.y,scaleX:r.scaleX,scaleY:r.scaleY};this._firstRender?s.attr(l):jD(s,l,t)}eK(t.getGraph(),bZ(t));var u=t.getData();o.updateData(u);var c=t.getEdgeData();a.updateData(c),this._updateNodeAndLinkScale(),this._updateController(t,e,n),clearTimeout(this._layoutTimeout);var h=t.forceLayout,d=t.get(["force","layoutAnimation"]);h&&this._startForceLayoutIteration(h,d);var p=t.get("layout");u.graph.eachNode((function(e){var n=e.dataIndex,r=e.getGraphicEl(),o=e.getModel();if(r){r.off("drag").off("dragend");var a=o.get("draggable");a&&r.on("drag",(function(o){switch(p){case"force":h.warmUp(),!i._layouting&&i._startForceLayoutIteration(h,d),h.setFixed(n),u.setItemLayout(n,[r.x,r.y]);break;case"circular":u.setItemLayout(n,[r.x,r.y]),e.setLayout({fixed:!0},!0),IZ(t,"symbolSize",e,[o.offsetX,o.offsetY]),i.updateLayout(t);break;default:u.setItemLayout(n,[r.x,r.y]),_Z(t.getGraph(),t),i.updateLayout(t)}})).on("dragend",(function(){h&&h.setUnfixed(n)})),r.setDraggable(a,!!o.get("cursor")),"adjacency"===o.get(["emphasis","focus"])&&(fC(r).focus=e.getAdjacentDataIndices())}})),u.graph.eachEdge((function(t){var e=t.getGraphicEl(),n=t.getModel().get(["emphasis","focus"]);e&&"adjacency"===n&&(fC(e).focus={edge:[t.dataIndex],node:[t.node1.dataIndex,t.node2.dataIndex]})}));var f="circular"===t.get("layout")&&t.get(["circular","rotateLabel"]),g=u.getLayout("cx"),v=u.getLayout("cy");u.graph.eachNode((function(t){CZ(t,f,g,v)})),this._firstRender=!1},e.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},e.prototype._startForceLayoutIteration=function(t,e){var n=this;!function i(){t.step((function(t){n.updateLayout(n._model),(n._layouting=!t)&&(e?n._layoutTimeout=setTimeout(i,16):i())}))}()},e.prototype._updateController=function(t,e,n){var i=this,r=this._controller,o=this._controllerHost,a=this.group;r.setPointerChecker((function(e,i,r){var o=a.getBoundingRect();return o.applyTransform(a.transform),o.contain(i,r)&&!Kj(e,n,t)})),nK(t.coordinateSystem)?(r.enable(t.get("roam")),o.zoomLimit=t.get("scaleLimit"),o.zoom=t.coordinateSystem.getZoom(),r.off("pan").off("zoom").on("pan",(function(e){Yj(o,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"graphRoam",dx:e.dx,dy:e.dy})})).on("zoom",(function(e){Xj(o,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"graphRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),i._updateNodeAndLinkScale(),eK(t.getGraph(),bZ(t)),i._lineDraw.updateLayout(),n.updateLabelLayout()}))):r.disable()},e.prototype._updateNodeAndLinkScale=function(){var t=this._model,e=t.getData(),n=bZ(t);e.eachItemGraphicEl((function(t,e){t&&t.setSymbolScale(n)}))},e.prototype.updateLayout=function(t){eK(t.getGraph(),bZ(t)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},e.type="graph",e}(fR);function rK(t){return"_EC_"+t}var oK=function(){function t(t){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=t||!1}return t.prototype.isDirected=function(){return this._directed},t.prototype.addNode=function(t,e){t=null==t?""+e:""+t;var n=this._nodesMap;if(!n[rK(t)]){var i=new aK(t,e);return i.hostGraph=this,this.nodes.push(i),n[rK(t)]=i,i}},t.prototype.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},t.prototype.getNodeById=function(t){return this._nodesMap[rK(t)]},t.prototype.addEdge=function(t,e,n){var i=this._nodesMap,r=this._edgesMap;if(s_(t)&&(t=this.nodes[t]),s_(e)&&(e=this.nodes[e]),t instanceof aK||(t=i[rK(t)]),e instanceof aK||(e=i[rK(e)]),t&&e){var o=t.id+"-"+e.id,a=new sK(t,e,n);return a.hostGraph=this,this._directed&&(t.outEdges.push(a),e.inEdges.push(a)),t.edges.push(a),t!==e&&e.edges.push(a),this.edges.push(a),r[o]=a,a}},t.prototype.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},t.prototype.getEdge=function(t,e){t instanceof aK&&(t=t.id),e instanceof aK&&(e=e.id);var n=this._edgesMap;return this._directed?n[t+"-"+e]:n[t+"-"+e]||n[e+"-"+t]},t.prototype.eachNode=function(t,e){for(var n=this.nodes,i=n.length,r=0;r<i;r++)n[r].dataIndex>=0&&t.call(e,n[r],r)},t.prototype.eachEdge=function(t,e){for(var n=this.edges,i=n.length,r=0;r<i;r++)n[r].dataIndex>=0&&n[r].node1.dataIndex>=0&&n[r].node2.dataIndex>=0&&t.call(e,n[r],r)},t.prototype.breadthFirstTraverse=function(t,e,n,i){if(e instanceof aK||(e=this._nodesMap[rK(e)]),e){for(var r="out"===n?"outEdges":"in"===n?"inEdges":"edges",o=0;o<this.nodes.length;o++)this.nodes[o].__visited=!1;if(!t.call(i,e,null))for(var a=[e];a.length;){var s=a.shift(),l=s[r];for(o=0;o<l.length;o++){var u=l[o],c=u.node1===s?u.node2:u.node1;if(!c.__visited){if(t.call(i,c,s))return;a.push(c),c.__visited=!0}}}}},t.prototype.update=function(){for(var t=this.data,e=this.edgeData,n=this.nodes,i=this.edges,r=0,o=n.length;r<o;r++)n[r].dataIndex=-1;for(r=0,o=t.count();r<o;r++)n[t.getRawIndex(r)].dataIndex=r;e.filterSelf((function(t){var n=i[e.getRawIndex(t)];return n.node1.dataIndex>=0&&n.node2.dataIndex>=0}));for(r=0,o=i.length;r<o;r++)i[r].dataIndex=-1;for(r=0,o=e.count();r<o;r++)i[e.getRawIndex(r)].dataIndex=r},t.prototype.clone=function(){for(var e=new t(this._directed),n=this.nodes,i=this.edges,r=0;r<n.length;r++)e.addNode(n[r].id,n[r].dataIndex);for(r=0;r<i.length;r++){var o=i[r];e.addEdge(o.node1.id,o.node2.id,o.dataIndex)}return e},t}(),aK=function(){function t(t,e){this.inEdges=[],this.outEdges=[],this.edges=[],this.dataIndex=-1,this.id=null==t?"":t,this.dataIndex=null==e?-1:e}return t.prototype.degree=function(){return this.edges.length},t.prototype.inDegree=function(){return this.inEdges.length},t.prototype.outDegree=function(){return this.outEdges.length},t.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostGraph.data.getItemModel(this.dataIndex).getModel(t)},t.prototype.getAdjacentDataIndices=function(){for(var t={edge:[],node:[]},e=0;e<this.edges.length;e++){var n=this.edges[e];n.dataIndex<0||(t.edge.push(n.dataIndex),t.node.push(n.node1.dataIndex,n.node2.dataIndex))}return t},t.prototype.getTrajectoryDataIndices=function(){for(var t=C_(),e=C_(),n=0;n<this.edges.length;n++){var i=this.edges[n];if(!(i.dataIndex<0)){t.set(i.dataIndex,!0);for(var r=[i.node1],o=[i.node2],a=0;a<r.length;){var s=r[a];a++,e.set(s.dataIndex,!0);for(var l=0;l<s.inEdges.length;l++)t.set(s.inEdges[l].dataIndex,!0),r.push(s.inEdges[l].node1)}for(a=0;a<o.length;){var u=o[a];a++,e.set(u.dataIndex,!0);for(l=0;l<u.outEdges.length;l++)t.set(u.outEdges[l].dataIndex,!0),o.push(u.outEdges[l].node2)}}}return{edge:t.keys(),node:e.keys()}},t}(),sK=function(){function t(t,e,n){this.dataIndex=-1,this.node1=t,this.node2=e,this.dataIndex=null==n?-1:n}return t.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostGraph.edgeData.getItemModel(this.dataIndex).getModel(t)},t.prototype.getAdjacentDataIndices=function(){return{edge:[this.dataIndex],node:[this.node1.dataIndex,this.node2.dataIndex]}},t.prototype.getTrajectoryDataIndices=function(){var t=C_(),e=C_();t.set(this.dataIndex,!0);for(var n=[this.node1],i=[this.node2],r=0;r<n.length;){var o=n[r];r++,e.set(o.dataIndex,!0);for(var a=0;a<o.inEdges.length;a++)t.set(o.inEdges[a].dataIndex,!0),n.push(o.inEdges[a].node1)}for(r=0;r<i.length;){var s=i[r];r++,e.set(s.dataIndex,!0);for(a=0;a<s.outEdges.length;a++)t.set(s.outEdges[a].dataIndex,!0),i.push(s.outEdges[a].node2)}return{edge:t.keys(),node:e.keys()}},t}();function lK(t,e){return{getValue:function(n){var i=this[t][e];return i.getStore().get(i.getDimensionIndex(n||"value"),this.dataIndex)},setVisual:function(n,i){this.dataIndex>=0&&this[t][e].setItemVisual(this.dataIndex,n,i)},getVisual:function(n){return this[t][e].getItemVisual(this.dataIndex,n)},setLayout:function(n,i){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,n,i)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}}qy(aK,lK("hostGraph","data")),qy(sK,lK("hostGraph","edgeData"));const uK=oK;function cK(t,e,n,i,r){for(var o=new uK(i),a=0;a<t.length;a++)o.addNode(f_(t[a].id,t[a].name,a),a);var s=[],l=[],u=0;for(a=0;a<e.length;a++){var c=e[a],h=c.source,d=c.target;o.addEdge(h,d,u)&&(l.push(c),s.push(f_(NM(c.id,null),h+" > "+d)),u++)}var p,f=n.get("coordinateSystem");if("cartesian2d"===f||"polar"===f)p=Zz(t,n);else{var g=ZP.get(f),v=g&&g.dimensions||[];Xy(v,"value")<0&&v.concat(["value"]);var m=Gz(t,{coordDimensions:v,encodeDefine:n.getEncode()}).dimensions;(p=new Fz(m,n)).initData(t)}var y=new Fz(["value"],n);return y.initData(l,s),r&&r(p,y),NX({mainData:p,struct:o,structAttr:"graph",datas:{node:p,edge:y},datasAttr:{node:"data",edge:"edgeData"}}),o.update(),o}const hK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return my(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments);var n=this;function i(){return n._categoriesData}this.legendVisualProvider=new gU(i,i),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},e.prototype.mergeDefaultAndTheme=function(e){t.prototype.mergeDefaultAndTheme.apply(this,arguments),DM(e,"edgeLabel",["show"])},e.prototype.getInitialData=function(t,e){var n,i=t.edges||t.links||[],r=t.data||t.nodes||[],o=this;if(r&&i){cZ(n=this)&&(n.__curvenessList=[],n.__edgeMap={},hZ(n));var a=cK(r,i,this,!0,(function(t,e){t.wrapMethod("getItemModel",(function(t){var e=o._categoriesModels[t.getShallow("category")];return e&&(e.parentModel=t.parentModel,t.parentModel=e),t}));var n=tL.prototype.getModel;function i(t,e){var i=n.call(this,t,e);return i.resolveParentPath=r,i}function r(t){if(t&&("label"===t[0]||"label"===t[1])){var e=t.slice();return"label"===t[0]?e[0]="edgeLabel":"label"===t[1]&&(e[1]="edgeLabel"),e}return t}e.wrapMethod("getItemModel",(function(t){return t.resolveParentPath=r,t.getModel=i,t}))}));return Ky(a.edges,(function(t){!function(t,e,n,i){if(cZ(n)){var r=dZ(t,e,n),o=n.__edgeMap,a=o[pZ(r)];o[r]&&!a?o[r].isForward=!0:a&&o[r]&&(a.isForward=!0,o[r].isForward=!1),o[r]=o[r]||[],o[r].push(i)}}(t.node1,t.node2,this,t.dataIndex)}),this),a.data}},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.getCategoriesData=function(){return this._categoriesData},e.prototype.formatTooltip=function(t,e,n){if("edge"===n){var i=this.getData(),r=this.getDataParams(t,n),o=i.graph.getEdgeByIndex(t),a=i.getName(o.node1.dataIndex),s=i.getName(o.node2.dataIndex),l=[];return null!=a&&l.push(a),null!=s&&l.push(s),PE("nameValue",{name:l.join(" > "),value:r.value,noValue:null==r.value})}return UE({series:this,dataIndex:t,multipleSeries:e})},e.prototype._updateCategoriesData=function(){var t=$y(this.option.categories||[],(function(t){return null!=t.value?t:jy({value:0},t)})),e=new Fz(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray((function(t){return e.getItemModel(t)}))},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.isAnimationEnabled=function(){return t.prototype.isAnimationEnabled.call(this)&&!("force"===this.get("layout")&&this.get(["force","layoutAnimation"]))},e.type="series.graph",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(nR);var dK={type:"graphRoam",event:"graphRoam",update:"none"};var pK=function(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0};const fK=function(t){function e(e){var n=t.call(this,e)||this;return n.type="pointer",n}return my(e,t),e.prototype.getDefaultShape=function(){return new pK},e.prototype.buildPath=function(t,e){var n=Math.cos,i=Math.sin,r=e.r,o=e.width,a=e.angle,s=e.x-n(a)*o*(o>=r/3?1:2),l=e.y-i(a)*o*(o>=r/3?1:2);a=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+n(a)*o,e.y+i(a)*o),t.lineTo(e.x+n(e.angle)*r,e.y+i(e.angle)*r),t.lineTo(e.x-n(a)*o,e.y-i(a)*o),t.lineTo(s,l)},e}(NA);function gK(t,e){var n=null==t?"":t+"";return e&&(o_(e)?n=e.replace("{value}",n):r_(e)&&(n=e(t))),n}var vK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.render=function(t,e,n){this.group.removeAll();var i=t.get(["axisLine","lineStyle","color"]),r=function(t,e){var n=t.get("center"),i=e.getWidth(),r=e.getHeight(),o=Math.min(i,r);return{cx:rM(n[0],e.getWidth()),cy:rM(n[1],e.getHeight()),r:rM(t.get("radius"),o/2)}}(t,n);this._renderMain(t,e,n,i,r),this._data=t.getData()},e.prototype.dispose=function(){},e.prototype._renderMain=function(t,e,n,i,r){var o=this.group,a=t.get("clockwise"),s=-t.get("startAngle")/180*Math.PI,l=-t.get("endAngle")/180*Math.PI,u=t.getModel("axisLine"),c=u.get("roundCap")?LW:oD,h=u.get("show"),d=u.getModel("lineStyle"),p=d.get("width"),f=[s,l];pA(f,!a);for(var g=(l=f[1])-(s=f[0]),v=s,m=[],y=0;h&&y<i.length;y++){var _=new c({shape:{startAngle:v,endAngle:l=s+g*Math.min(Math.max(i[y][0],0),1),cx:r.cx,cy:r.cy,clockwise:a,r0:r.r-p,r:r.r},silent:!0});_.setStyle({fill:i[y][1]}),_.setStyle(d.getLineStyle(["color","width"])),m.push(_),v=l}m.reverse(),Ky(m,(function(t){return o.add(t)}));var x=function(t){if(t<=0)return i[0][1];var e;for(e=0;e<i.length;e++)if(i[e][0]>=t&&(0===e?0:i[e-1][0])<t)return i[e][1];return i[e-1][1]};this._renderTicks(t,e,n,x,r,s,l,a,p),this._renderTitleAndDetail(t,e,n,x,r),this._renderAnchor(t,r),this._renderPointer(t,e,n,x,r,s,l,a,p)},e.prototype._renderTicks=function(t,e,n,i,r,o,a,s,l){for(var u,c,h=this.group,d=r.cx,p=r.cy,f=r.r,g=+t.get("min"),v=+t.get("max"),m=t.getModel("splitLine"),y=t.getModel("axisTick"),_=t.getModel("axisLabel"),x=t.get("splitNumber"),b=y.get("splitNumber"),w=rM(m.get("length"),f),S=rM(y.get("length"),f),M=o,I=(a-o)/x,A=I/b,C=m.getModel("lineStyle").getLineStyle(),T=y.getModel("lineStyle").getLineStyle(),D=m.get("distance"),k=0;k<=x;k++){if(u=Math.cos(M),c=Math.sin(M),m.get("show")){var L=new _D({shape:{x1:u*(f-(P=D?D+l:l))+d,y1:c*(f-P)+p,x2:u*(f-w-P)+d,y2:c*(f-w-P)+p},style:C,silent:!0});"auto"===C.stroke&&L.setStyle({stroke:i(k/x)}),h.add(L)}if(_.get("show")){var P=_.get("distance")+D,O=gK(oM(k/x*(v-g)+g),_.get("formatter")),E=i(k/x),R=u*(f-w-P)+d,N=c*(f-w-P)+p,B=_.get("rotate"),z=0;"radial"===B?(z=-M+2*Math.PI)>Math.PI/2&&(z+=Math.PI):"tangential"===B?z=-M-Math.PI/2:s_(B)&&(z=B*Math.PI/180),0===z?h.add(new pC({style:kk(_,{text:O,x:R,y:N,verticalAlign:c<-.8?"top":c>.8?"bottom":"middle",align:u<-.4?"left":u>.4?"right":"center"},{inheritColor:E}),silent:!0})):h.add(new pC({style:kk(_,{text:O,x:R,y:N,verticalAlign:"middle",align:"center"},{inheritColor:E}),silent:!0,originX:R,originY:N,rotation:z}))}if(y.get("show")&&k!==x){P=(P=y.get("distance"))?P+l:l;for(var V=0;V<=b;V++){u=Math.cos(M),c=Math.sin(M);var F=new _D({shape:{x1:u*(f-P)+d,y1:c*(f-P)+p,x2:u*(f-S-P)+d,y2:c*(f-S-P)+p},silent:!0,style:T});"auto"===T.stroke&&F.setStyle({stroke:i((k+V/b)/x)}),h.add(F),M+=A}M-=A}else M+=I}},e.prototype._renderPointer=function(t,e,n,i,r,o,a,s,l){var u=this.group,c=this._data,h=this._progressEls,d=[],p=t.get(["pointer","show"]),f=t.getModel("progress"),g=f.get("show"),v=t.getData(),m=v.mapDimension("value"),y=+t.get("min"),_=+t.get("max"),x=[y,_],b=[o,a];function w(e,n){var i,o=v.getItemModel(e).getModel("pointer"),a=rM(o.get("width"),r.r),s=rM(o.get("length"),r.r),l=t.get(["pointer","icon"]),u=o.get("offsetCenter"),c=rM(u[0],r.r),h=rM(u[1],r.r),d=o.get("keepAspect");return(i=l?MN(l,c-a/2,h-s,a,s,null,d):new fK({shape:{angle:-Math.PI/2,width:a,r:s,x:c,y:h}})).rotation=-(n+Math.PI/2),i.x=r.cx,i.y=r.cy,i}function S(t,e){var n=f.get("roundCap")?LW:oD,i=f.get("overlap"),a=i?f.get("width"):l/v.count(),u=i?r.r-a:r.r-(t+1)*a,c=i?r.r:r.r-t*a,h=new n({shape:{startAngle:o,endAngle:e,cx:r.cx,cy:r.cy,clockwise:s,r0:u,r:c}});return i&&(h.z2=_-v.get(m,t)%_),h}(g||p)&&(v.diff(c).add((function(e){var n=v.get(m,e);if(p){var i=w(e,o);YD(i,{rotation:-((isNaN(+n)?b[0]:iM(n,x,b,!0))+Math.PI/2)},t),u.add(i),v.setItemGraphicEl(e,i)}if(g){var r=S(e,o),a=f.get("clip");YD(r,{shape:{endAngle:iM(n,x,b,a)}},t),u.add(r),gC(t.seriesIndex,v.dataType,e,r),d[e]=r}})).update((function(e,n){var i=v.get(m,e);if(p){var r=c.getItemGraphicEl(n),a=r?r.rotation:o,s=w(e,a);s.rotation=a,jD(s,{rotation:-((isNaN(+i)?b[0]:iM(i,x,b,!0))+Math.PI/2)},t),u.add(s),v.setItemGraphicEl(e,s)}if(g){var l=h[n],y=S(e,l?l.shape.endAngle:o),_=f.get("clip");jD(y,{shape:{endAngle:iM(i,x,b,_)}},t),u.add(y),gC(t.seriesIndex,v.dataType,e,y),d[e]=y}})).execute(),v.each((function(t){var e=v.getItemModel(t),n=e.getModel("emphasis"),r=n.get("focus"),o=n.get("blurScope"),a=n.get("disabled");if(p){var s=v.getItemGraphicEl(t),l=v.getItemVisual(t,"style"),u=l.fill;if(s instanceof WA){var c=s.style;s.useStyle(jy({image:c.image,x:c.x,y:c.y,width:c.width,height:c.height},l))}else s.useStyle(l),"pointer"!==s.type&&s.setColor(u);s.setStyle(e.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===s.style.fill&&s.setStyle("fill",i(iM(v.get(m,t),x,[0,1],!0))),s.z2EmphasisLift=0,pT(s,e),uT(s,r,o,a)}if(g){var h=d[t];h.useStyle(v.getItemVisual(t,"style")),h.setStyle(e.getModel(["progress","itemStyle"]).getItemStyle()),h.z2EmphasisLift=0,pT(h,e),uT(h,r,o,a)}})),this._progressEls=d)},e.prototype._renderAnchor=function(t,e){var n=t.getModel("anchor");if(n.get("show")){var i=n.get("size"),r=n.get("icon"),o=n.get("offsetCenter"),a=n.get("keepAspect"),s=MN(r,e.cx-i/2+rM(o[0],e.r),e.cy-i/2+rM(o[1],e.r),i,i,null,a);s.z2=n.get("showAbove")?1:0,s.setStyle(n.getModel("itemStyle").getItemStyle()),this.group.add(s)}},e.prototype._renderTitleAndDetail=function(t,e,n,i,r){var o=this,a=t.getData(),s=a.mapDimension("value"),l=+t.get("min"),u=+t.get("max"),c=new KS,h=[],d=[],p=t.isAnimationEnabled(),f=t.get(["pointer","showAbove"]);a.diff(this._data).add((function(t){h[t]=new pC({silent:!0}),d[t]=new pC({silent:!0})})).update((function(t,e){h[t]=o._titleEls[e],d[t]=o._detailEls[e]})).execute(),a.each((function(e){var n=a.getItemModel(e),o=a.get(s,e),g=new KS,v=i(iM(o,[l,u],[0,1],!0)),m=n.getModel("title");if(m.get("show")){var y=m.get("offsetCenter"),_=r.cx+rM(y[0],r.r),x=r.cy+rM(y[1],r.r);(T=h[e]).attr({z2:f?0:2,style:kk(m,{x:_,y:x,text:a.getName(e),align:"center",verticalAlign:"middle"},{inheritColor:v})}),g.add(T)}var b=n.getModel("detail");if(b.get("show")){var w=b.get("offsetCenter"),S=r.cx+rM(w[0],r.r),M=r.cy+rM(w[1],r.r),I=rM(b.get("width"),r.r),A=rM(b.get("height"),r.r),C=t.get(["progress","show"])?a.getItemVisual(e,"style").fill:v,T=d[e],D=b.get("formatter");T.attr({z2:f?0:2,style:kk(b,{x:S,y:M,text:gK(o,D),width:isNaN(I)?null:I,height:isNaN(A)?null:A,align:"center",verticalAlign:"middle"},{inheritColor:C})}),zk(T,{normal:b},o,(function(t){return gK(t,D)})),p&&Vk(T,e,a,t,{getFormattedLabel:function(t,e,n,i,r,a){return gK(a?a.interpolatedValue:o,D)}}),g.add(T)}c.add(g)})),this.group.add(c),this._titleEls=h,this._detailEls=d},e.type="gauge",e}(fR);const mK=vK;const yK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="itemStyle",n}return my(e,t),e.prototype.getInitialData=function(t,e){return pU(this,["value"])},e.type="series.gauge",e.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},e}(nR);var _K=["itemStyle","opacity"],xK=function(t){function e(e,n){var i=t.call(this)||this,r=i,o=new gD,a=new pC;return r.setTextContent(a),i.setTextGuideLine(o),i.updateData(e,n,!0),i}return my(e,t),e.prototype.updateData=function(t,e,n){var i=this,r=t.hostModel,o=t.getItemModel(e),a=t.getItemLayout(e),s=o.getModel("emphasis"),l=o.get(_K);l=null==l?1:l,n||$D(i),i.useStyle(t.getItemVisual(e,"style")),i.style.lineJoin="round",n?(i.setShape({points:a.points}),i.style.opacity=0,YD(i,{style:{opacity:l}},r,e)):jD(i,{style:{opacity:l},shape:{points:a.points}},r,e),pT(i,o),this._updateLabel(t,e),uT(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))},e.prototype._updateLabel=function(t,e){var n=this,i=this.getTextGuideLine(),r=n.getTextContent(),o=t.hostModel,a=t.getItemModel(e),s=t.getItemLayout(e).label,l=t.getItemVisual(e,"style"),u=l.fill;Tk(r,Dk(a),{labelFetcher:t.hostModel,labelDataIndex:e,defaultOpacity:l.opacity,defaultText:t.getName(e)},{normal:{align:s.textAlign,verticalAlign:s.verticalAlign}}),n.setTextConfig({local:!0,inside:!!s.inside,insideStroke:u,outsideFill:u});var c=s.linePoints;i.setShape({points:c}),n.textGuideLineConfig={anchor:c?new Px(c[0][0],c[0][1]):null},jD(r,{style:{x:s.x,y:s.y}},o,e),r.attr({rotation:s.rotation,originX:s.x,originY:s.y,z2:10}),nG(n,iG(a),{stroke:u})},e}(dD);const bK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreLabelLineUpdate=!0,n}return my(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this._data,o=this.group;i.diff(r).add((function(t){var e=new xK(i,t);i.setItemGraphicEl(t,e),o.add(e)})).update((function(t,e){var n=r.getItemGraphicEl(e);n.updateData(i,t),o.add(n),i.setItemGraphicEl(t,n)})).remove((function(e){KD(r.getItemGraphicEl(e),t,e)})).execute(),this._data=i},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.prototype.dispose=function(){},e.type="funnel",e}(fR);const wK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new gU(e_(this.getData,this),e_(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.getInitialData=function(t,e){return pU(this,{coordDimensions:["value"],encodeDefaulter:n_(AP,this)})},e.prototype._defaultLabelLine=function(t){DM(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.prototype.getDataParams=function(e){var n=this.getData(),i=t.prototype.getDataParams.call(this,e),r=n.mapDimension("value"),o=n.getSum(r);return i.percent=o?+(n.get(r,e)/o*100).toFixed(2):0,i.$vars.push("percent"),i},e.type="series.funnel",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(nR);function SK(t,e){t.eachSeriesByType("funnel",(function(t){var n=t.getData(),i=n.mapDimension("value"),r=t.get("sort"),o=function(t,e){return nP(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e),a=t.get("orient"),s=o.width,l=o.height,u=function(t,e){for(var n=t.mapDimension("value"),i=t.mapArray(n,(function(t){return t})),r=[],o="ascending"===e,a=0,s=t.count();a<s;a++)r[a]=a;return r_(e)?r.sort(e):"none"!==e&&r.sort((function(t,e){return o?i[t]-i[e]:i[e]-i[t]})),r}(n,r),c=o.x,h=o.y,d="horizontal"===a?[rM(t.get("minSize"),l),rM(t.get("maxSize"),l)]:[rM(t.get("minSize"),s),rM(t.get("maxSize"),s)],p=n.getDataExtent(i),f=t.get("min"),g=t.get("max");null==f&&(f=Math.min(p[0],0)),null==g&&(g=p[1]);var v=t.get("funnelAlign"),m=t.get("gap"),y=(("horizontal"===a?s:l)-m*(n.count()-1))/n.count(),_=function(t,e){if("horizontal"===a){var r=iM(n.get(i,t)||0,[f,g],d,!0),o=void 0;switch(v){case"top":o=h;break;case"center":o=h+(l-r)/2;break;case"bottom":o=h+(l-r)}return[[e,o],[e,o+r]]}var u,p=iM(n.get(i,t)||0,[f,g],d,!0);switch(v){case"left":u=c;break;case"center":u=c+(s-p)/2;break;case"right":u=c+s-p}return[[u,e],[u+p,e]]};"ascending"===r&&(y=-y,m=-m,"horizontal"===a?c+=s:h+=l,u=u.reverse());for(var x=0;x<u.length;x++){var b=u[x],w=u[x+1],S=n.getItemModel(b);if("horizontal"===a){var M=S.get(["itemStyle","width"]);null==M?M=y:(M=rM(M,s),"ascending"===r&&(M=-M));var I=_(b,c),A=_(w,c+M);c+=M+m,n.setItemLayout(b,{points:I.concat(A.slice().reverse())})}else{var C=S.get(["itemStyle","height"]);null==C?C=y:(C=rM(C,l),"ascending"===r&&(C=-C));I=_(b,h),A=_(w,h+C);h+=C+m,n.setItemLayout(b,{points:I.concat(A.slice().reverse())})}}!function(t){var e=t.hostModel.get("orient");t.each((function(n){var i,r,o,a,s=t.getItemModel(n),l=s.getModel("label").get("position"),u=s.getModel("labelLine"),c=t.getItemLayout(n),h=c.points,d="inner"===l||"inside"===l||"center"===l||"insideLeft"===l||"insideRight"===l;if(d)"insideLeft"===l?(r=(h[0][0]+h[3][0])/2+5,o=(h[0][1]+h[3][1])/2,i="left"):"insideRight"===l?(r=(h[1][0]+h[2][0])/2-5,o=(h[1][1]+h[2][1])/2,i="right"):(r=(h[0][0]+h[1][0]+h[2][0]+h[3][0])/4,o=(h[0][1]+h[1][1]+h[2][1]+h[3][1])/4,i="center"),a=[[r,o],[r,o]];else{var p=void 0,f=void 0,g=void 0,v=void 0,m=u.get("length");"left"===l?(p=(h[3][0]+h[0][0])/2,f=(h[3][1]+h[0][1])/2,r=(g=p-m)-5,i="right"):"right"===l?(p=(h[1][0]+h[2][0])/2,f=(h[1][1]+h[2][1])/2,r=(g=p+m)+5,i="left"):"top"===l?(p=(h[3][0]+h[0][0])/2,o=(v=(f=(h[3][1]+h[0][1])/2)-m)-5,i="center"):"bottom"===l?(p=(h[1][0]+h[2][0])/2,o=(v=(f=(h[1][1]+h[2][1])/2)+m)+5,i="center"):"rightTop"===l?(p="horizontal"===e?h[3][0]:h[1][0],f="horizontal"===e?h[3][1]:h[1][1],"horizontal"===e?(o=(v=f-m)-5,i="center"):(r=(g=p+m)+5,i="top")):"rightBottom"===l?(p=h[2][0],f=h[2][1],"horizontal"===e?(o=(v=f+m)+5,i="center"):(r=(g=p+m)+5,i="bottom")):"leftTop"===l?(p=h[0][0],f="horizontal"===e?h[0][1]:h[1][1],"horizontal"===e?(o=(v=f-m)-5,i="center"):(r=(g=p-m)-5,i="right")):"leftBottom"===l?(p="horizontal"===e?h[1][0]:h[3][0],f="horizontal"===e?h[1][1]:h[2][1],"horizontal"===e?(o=(v=f+m)+5,i="center"):(r=(g=p-m)-5,i="right")):(p=(h[1][0]+h[2][0])/2,f=(h[1][1]+h[2][1])/2,"horizontal"===e?(o=(v=f+m)+5,i="center"):(r=(g=p+m)+5,i="left")),"horizontal"===e?r=g=p:o=v=f,a=[[p,f],[g,v]]}c.label={linePoints:a,x:r,y:o,verticalAlign:"middle",textAlign:i,inside:d}}))}(n)}))}function MK(t,e,n,i){for(var r,o=[],a=0;a<n.length;a++){var s=n[a],l=t.get(t.mapDimension(s),e);r=l,("category"===i.getAxis(s).type?null==r:null==r||isNaN(r))||o.push(i.dataToPoint(l,s))}return o}function IK(t,e,n,i,r){var o=MK(t,n,i,r),a=new gD({shape:{points:o},z2:10});return e.add(a),t.setItemGraphicEl(n,a),a}function AK(t){var e=t.get("smooth",!0);return!0===e&&(e=.3),p_(e=_M(e))&&(e=0),{smooth:e}}function CK(t,e,n,i){t.useStyle(e.getItemVisual(n,"style")),t.style.fill=null,t.setShape("smooth",i.smooth);var r=e.getItemModel(n),o=r.getModel("emphasis");pT(t,r,"lineStyle"),uT(t,o.get("focus"),o.get("blurScope"),o.get("disabled"))}const TK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._dataGroup=new KS,n._initialized=!1,n}return my(e,t),e.prototype.init=function(){this.group.add(this._dataGroup)},e.prototype.render=function(t,e,n,i){this._progressiveEls=null;var r=this._dataGroup,o=t.getData(),a=this._data,s=t.coordinateSystem,l=s.dimensions,u=AK(t);if(o.diff(a).add((function(t){CK(IK(o,r,t,l,s),o,t,u)})).update((function(e,n){var i=a.getItemGraphicEl(n),r=MK(o,e,l,s);o.setItemGraphicEl(e,i),jD(i,{shape:{points:r}},t,e),$D(i),CK(i,o,e,u)})).remove((function(t){var e=a.getItemGraphicEl(t);r.remove(e)})).execute(),!this._initialized){this._initialized=!0;var c=function(t,e,n){var i=t.model,r=t.getRect(),o=new $A({shape:{x:r.x,y:r.y,width:r.width,height:r.height}}),a="horizontal"===i.get("layout")?"width":"height";return o.setShape(a,0),YD(o,{shape:{width:r.width,height:r.height}},e,n),o}(s,t,(function(){setTimeout((function(){r.removeClipPath()}))}));r.setClipPath(c)}this._data=o},e.prototype.incrementalPrepareRender=function(t,e,n){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},e.prototype.incrementalRender=function(t,e,n){for(var i=e.getData(),r=e.coordinateSystem,o=r.dimensions,a=AK(e),s=this._progressiveEls=[],l=t.start;l<t.end;l++){var u=IK(i,this._dataGroup,l,o,r);u.incremental=!0,CK(u,i,l,a),s.push(u)}},e.prototype.remove=function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null},e.type="parallel",e}(fR);function DK(t){var e=t.ecModel.getComponent("parallel",t.get("parallelIndex"));if(e){var n={};return Ky(e.dimensions,(function(t){var e=+t.replace("dim","");n[t]=e})),n}}const kK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return my(e,t),e.prototype.getInitialData=function(t,e){return Zz(null,this,{useEncodeDefaulter:e_(DK,null,this)})},e.prototype.getRawIndicesByActiveState=function(t){var e=this.coordinateSystem,n=this.getData(),i=[];return e.eachActiveState(n,(function(e,r){t===e&&i.push(n.getRawIndex(r))})),i},e.type="series.parallel",e.dependencies=["parallel"],e.defaultOption={z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"},e}(nR);var LK=["lineStyle","opacity"];const PK={seriesType:"parallel",reset:function(t,e){var n=t.coordinateSystem,i={normal:t.get(["lineStyle","opacity"]),active:t.get("activeOpacity"),inactive:t.get("inactiveOpacity")};return{progress:function(t,e){n.eachActiveState(e,(function(t,n){var r=i[t];if("normal"===t&&e.hasItemOption){var o=e.getItemModel(n).get(LK,!0);null!=o&&(r=o)}e.ensureUniqueItemVisual(n,"style").opacity=r}),t.start,t.end)}}}};function OK(t){!function(t){if(t.parallel)return;var e=!1;Ky(t.series,(function(t){t&&"parallel"===t.type&&(e=!0)})),e&&(t.parallel=[{}])}(t),function(t){var e=TM(t.parallelAxis);Ky(e,(function(e){if(l_(e)){var n=e.parallelIndex||0,i=TM(t.parallel)[n];i&&i.parallelAxisDefault&&Wy(e,i.parallelAxisDefault,!1)}}))}(t)}var EK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.render=function(t,e,n){this._model=t,this._api=n,this._handlers||(this._handlers={},Ky(RK,(function(t,e){n.getZr().on(e,this._handlers[e]=e_(t,this))}),this)),_R(this,"_throttledDispatchExpand",t.get("axisExpandRate"),"fixRate")},e.prototype.dispose=function(t,e){xR(this,"_throttledDispatchExpand"),Ky(this._handlers,(function(t,n){e.getZr().off(n,t)})),this._handlers=null},e.prototype._throttledDispatchExpand=function(t){this._dispatchExpand(t)},e.prototype._dispatchExpand=function(t){t&&this._api.dispatchAction(jy({type:"parallelAxisExpand"},t))},e.type="parallel",e}(rR),RK={mousedown:function(t){NK(this,"click")&&(this._mouseDownPoint=[t.offsetX,t.offsetY])},mouseup:function(t){var e=this._mouseDownPoint;if(NK(this,"click")&&e){var n=[t.offsetX,t.offsetY];if(Math.pow(e[0]-n[0],2)+Math.pow(e[1]-n[1],2)>5)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==i.behavior&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&NK(this,"mousemove")){var e=this._model,n=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),i=n.behavior;"jump"===i&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===i?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===i?null:{duration:0}})}}};function NK(t,e){var n=t._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===e}const BK=EK;var zK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.init=function(){t.prototype.init.apply(this,arguments),this.mergeOption({})},e.prototype.mergeOption=function(t){var e=this.option;t&&Wy(e,t,!0),this._initDimensions()},e.prototype.contains=function(t,e){var n=t.get("parallelIndex");return null!=n&&e.getComponent("parallel",n)===this},e.prototype.setAxisExpand=function(t){Ky(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],(function(e){t.hasOwnProperty(e)&&(this.option[e]=t[e])}),this)},e.prototype._initDimensions=function(){var t=this.dimensions=[],e=this.parallelAxisIndex=[];Ky(Qy(this.ecModel.queryComponents({mainType:"parallelAxis"}),(function(t){return(t.get("parallelIndex")||0)===this.componentIndex}),this),(function(n){t.push("dim"+n.get("dim")),e.push(n.componentIndex)}))},e.type="parallel",e.dependencies=["parallelAxis"],e.layoutMode="box",e.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},e}(cP);const VK=zK;const FK=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.type=r||"value",a.axisIndex=o,a}return my(e,t),e.prototype.isHorizontal=function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")},e}(OF);function GK(t,e,n,i,r,o){t=t||0;var a=n[1]-n[0];if(null!=r&&(r=WK(r,[0,a])),null!=o&&(o=Math.max(o,null!=r?r:0)),"all"===i){var s=Math.abs(e[1]-e[0]);s=WK(s,[0,a]),r=o=WK(s,[r,o]),i=0}e[0]=WK(e[0],n),e[1]=WK(e[1],n);var l=HK(e,i);e[i]+=t;var u,c=r||0,h=n.slice();return l.sign<0?h[0]+=c:h[1]-=c,e[i]=WK(e[i],h),u=HK(e,i),null!=r&&(u.sign!==l.sign||u.span<r)&&(e[1-i]=e[i]+l.sign*r),u=HK(e,i),null!=o&&u.span>o&&(e[1-i]=e[i]+u.sign*o),e}function HK(t,e){var n=t[e]-t[1-e];return{span:Math.abs(n),sign:n>0?-1:n<0?1:e?-1:1}}function WK(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}var UK=Ky,jK=Math.min,YK=Math.max,XK=Math.floor,qK=Math.ceil,ZK=oM,KK=Math.PI;function $K(t,e){return jK(YK(t,e[0]),e[1])}function JK(t,e){var n=e.layoutLength/(e.axisCount-1);return{position:n*t,axisNameAvailableWidth:n,axisLabelShow:!0}}function QK(t,e){var n,i,r=e.layoutLength,o=e.axisExpandWidth,a=e.axisCount,s=e.axisCollapseWidth,l=e.winInnerIndices,u=s,c=!1;return t<l[0]?(n=t*s,i=s):t<=l[1]?(n=e.axisExpandWindow0Pos+t*o-e.axisExpandWindow[0],u=o,c=!0):(n=r-(a-1-t)*s,i=s),{position:n,axisNameAvailableWidth:u,axisLabelShow:c,nameTruncateMaxWidth:i}}const t$=function(){function t(t,e,n){this.type="parallel",this._axesMap=C_(),this._axesLayout={},this.dimensions=t.dimensions,this._model=t,this._init(t,e,n)}return t.prototype._init=function(t,e,n){var i=t.dimensions,r=t.parallelAxisIndex;UK(i,(function(t,n){var i=r[n],o=e.getComponent("parallelAxis",i),a=this._axesMap.set(t,new FK(t,tF(o),[0,0],o.get("type"),i)),s="category"===a.type;a.onBand=s&&o.get("boundaryGap"),a.inverse=o.get("inverse"),o.axis=a,a.model=o,a.coordinateSystem=o.coordinateSystem=this}),this)},t.prototype.update=function(t,e){this._updateAxesFromSeries(this._model,t)},t.prototype.containPoint=function(t){var e=this._makeLayoutInfo(),n=e.axisBase,i=e.layoutBase,r=e.pixelDimIndex,o=t[1-r],a=t[r];return o>=n&&o<=n+e.axisLength&&a>=i&&a<=i+e.layoutLength},t.prototype.getModel=function(){return this._model},t.prototype._updateAxesFromSeries=function(t,e){e.eachSeries((function(n){if(t.contains(n,e)){var i=n.getData();UK(this.dimensions,(function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(i,i.mapDimension(t)),QV(e.scale,e.model)}),this)}}),this)},t.prototype.resize=function(t,e){this._rect=nP(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},t.prototype.getRect=function(){return this._rect},t.prototype._makeLayoutInfo=function(){var t,e=this._model,n=this._rect,i=["x","y"],r=["width","height"],o=e.get("layout"),a="horizontal"===o?0:1,s=n[r[a]],l=[0,s],u=this.dimensions.length,c=$K(e.get("axisExpandWidth"),l),h=$K(e.get("axisExpandCount")||0,[0,u]),d=e.get("axisExpandable")&&u>3&&u>h&&h>1&&c>0&&s>0,p=e.get("axisExpandWindow");p?(t=$K(p[1]-p[0],l),p[1]=p[0]+t):(t=$K(c*(h-1),l),(p=[c*(e.get("axisExpandCenter")||XK(u/2))-t/2])[1]=p[0]+t);var f=(s-t)/(u-h);f<3&&(f=0);var g=[XK(ZK(p[0]/c,1))+1,qK(ZK(p[1]/c,1))-1],v=f/c*p[0];return{layout:o,pixelDimIndex:a,layoutBase:n[i[a]],layoutLength:s,axisBase:n[i[1-a]],axisLength:n[r[1-a]],axisExpandable:d,axisExpandWidth:c,axisCollapseWidth:f,axisExpandWindow:p,axisCount:u,winInnerIndices:g,axisExpandWindow0Pos:v}},t.prototype._layoutAxes=function(){var t=this._rect,e=this._axesMap,n=this.dimensions,i=this._makeLayoutInfo(),r=i.layout;e.each((function(t){var e=[0,i.axisLength],n=t.inverse?1:0;t.setExtent(e[n],e[1-n])})),UK(n,(function(e,n){var o=(i.axisExpandable?QK:JK)(n,i),a={horizontal:{x:o.position,y:i.axisLength},vertical:{x:0,y:o.position}},s={horizontal:KK/2,vertical:0},l=[a[r].x+t.x,a[r].y+t.y],u=s[r],c=[1,0,0,1,0,0];Dx(c,c,u),Tx(c,c,l),this._axesLayout[e]={position:l,rotation:u,transform:c,axisNameAvailableWidth:o.axisNameAvailableWidth,axisLabelShow:o.axisLabelShow,nameTruncateMaxWidth:o.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},t.prototype.getAxis=function(t){return this._axesMap.get(t)},t.prototype.dataToPoint=function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},t.prototype.eachActiveState=function(t,e,n,i){null==n&&(n=0),null==i&&(i=t.count());var r=this._axesMap,o=this.dimensions,a=[],s=[];Ky(o,(function(e){a.push(t.mapDimension(e)),s.push(r.get(e).model)}));for(var l=this.hasAxisBrushed(),u=n;u<i;u++){var c=void 0;if(l){c="active";for(var h=t.getValues(a,u),d=0,p=o.length;d<p;d++){if("inactive"===s[d].getActiveState(h[d])){c="inactive";break}}}else c="normal";e(c,u)}},t.prototype.hasAxisBrushed=function(){for(var t=this.dimensions,e=this._axesMap,n=!1,i=0,r=t.length;i<r;i++)"normal"!==e.get(t[i]).model.getActiveState()&&(n=!0);return n},t.prototype.axisCoordToPoint=function(t,e){return dk([t,0],this._axesLayout[e].transform)},t.prototype.getAxisLayout=function(t){return Hy(this._axesLayout[t])},t.prototype.getSlidedAxisExpandWindow=function(t){var e=this._makeLayoutInfo(),n=e.pixelDimIndex,i=e.axisExpandWindow.slice(),r=i[1]-i[0],o=[0,e.axisExpandWidth*(e.axisCount-1)];if(!this.containPoint(t))return{behavior:"none",axisExpandWindow:i};var a,s=t[n]-e.layoutBase-e.axisExpandWindow0Pos,l="slide",u=e.axisCollapseWidth,c=this._model.get("axisExpandSlideTriggerArea"),h=null!=c[0];if(u)h&&u&&s<r*c[0]?(l="jump",a=s-r*c[2]):h&&u&&s>r*(1-c[0])?(l="jump",a=s-r*(1-c[2])):(a=s-r*c[1])>=0&&(a=s-r*(1-c[1]))<=0&&(a=0),(a*=e.axisExpandWidth/u)?GK(a,i,o,"all"):l="none";else{var d=i[1]-i[0];(i=[YK(0,o[1]*s/d-d/2)])[1]=jK(o[1],i[0]+d),i[0]=i[1]-d}return{axisExpandWindow:i,behavior:l}},t}();const e$={create:function(t,e){var n=[];return t.eachComponent("parallel",(function(i,r){var o=new t$(i,t,e);o.name="parallel_"+r,o.resize(i,e),i.coordinateSystem=o,o.model=i,n.push(o)})),t.eachSeries((function(t){if("parallel"===t.get("coordinateSystem")){var e=t.getReferringComponents("parallel",UM).models[0];t.coordinateSystem=e.coordinateSystem}})),n}};var n$=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.activeIntervals=[],n}return my(e,t),e.prototype.getAreaSelectStyle=function(){return aI([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},e.prototype.setActiveIntervals=function(t){var e=this.activeIntervals=Hy(t);if(e)for(var n=e.length-1;n>=0;n--)aM(e[n])},e.prototype.getActiveState=function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t||isNaN(+t))return"inactive";if(1===e.length){var n=e[0];if(n[0]<=t&&t<=n[1])return"active"}else for(var i=0,r=e.length;i<r;i++)if(e[i][0]<=t&&t<=e[i][1])return"active";return"inactive"},e}(cP);qy(n$,aF);const i$=n$;var r$=!0,o$=Math.min,a$=Math.max,s$=Math.pow,l$=1e4,u$=6,c$=6,h$="globalPan",d$={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},p$={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},f$={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},g$=0,v$=function(t){function e(e){var n=t.call(this)||this;return n._track=[],n._covers=[],n._handlers={},n._zr=e,n.group=new KS,n._uid="brushController_"+g$++,Ky(W$,(function(t,e){this._handlers[e]=e_(t,this)}),n),n}return my(e,t),e.prototype.enableBrush=function(t){return this._brushType&&this._doDisableBrush(),t.brushType&&this._doEnableBrush(t),this},e.prototype._doEnableBrush=function(t){var e=this._zr;this._enableGlobalPan||function(t,e,n){Gj(t)[e]=n}(e,h$,this._uid),Ky(this._handlers,(function(t,n){e.on(n,t)})),this._brushType=t.brushType,this._brushOption=Wy(Hy(f$),t,!0)},e.prototype._doDisableBrush=function(){var t=this._zr;!function(t,e,n){var i=Gj(t);i[e]===n&&(i[e]=null)}(t,h$,this._uid),Ky(this._handlers,(function(e,n){t.off(n,e)})),this._brushType=this._brushOption=null},e.prototype.setPanels=function(t){if(t&&t.length){var e=this._panels={};Ky(t,(function(t){e[t.panelId]=Hy(t)}))}else this._panels=null;return this},e.prototype.mount=function(t){t=t||{},this._enableGlobalPan=t.enableGlobalPan;var e=this.group;return this._zr.add(e),e.attr({x:t.x||0,y:t.y||0,rotation:t.rotation||0,scaleX:t.scaleX||1,scaleY:t.scaleY||1}),this._transform=e.getLocalTransform(),this},e.prototype.updateCovers=function(t){t=$y(t,(function(t){return Wy(Hy(f$),t,!0)}));var e="\0-brush-index-",n=this._covers,i=this._covers=[],r=this,o=this._creatingCover;return new gz(n,t,(function(t,e){return a(t.__brushOption,e)}),a).add(s).update(s).remove((function(t){n[t]!==o&&r.group.remove(n[t])})).execute(),this;function a(t,n){return(null!=t.id?t.id:e+n)+"-"+t.brushType}function s(e,a){var s=t[e];if(null!=a&&n[a]===o)i[e]=n[a];else{var l=i[e]=null!=a?(n[a].__brushOption=s,n[a]):y$(r,m$(r,s));b$(r,l)}}},e.prototype.unmount=function(){return this.enableBrush(!1),I$(this),this._zr.remove(this.group),this},e.prototype.dispose=function(){this.unmount(),this.off()},e}(Q_);function m$(t,e){var n=j$[e.brushType].createCover(t,e);return n.__brushOption=e,x$(n,e),t.group.add(n),n}function y$(t,e){var n=w$(e);return n.endCreating&&(n.endCreating(t,e),x$(e,e.__brushOption)),e}function _$(t,e){var n=e.__brushOption;w$(e).updateCoverShape(t,e,n.range,n)}function x$(t,e){var n=e.z;null==n&&(n=l$),t.traverse((function(t){t.z=n,t.z2=n}))}function b$(t,e){w$(e).updateCommon(t,e),_$(t,e)}function w$(t){return j$[t.__brushOption.brushType]}function S$(t,e,n){var i,r=t._panels;if(!r)return r$;var o=t._transform;return Ky(r,(function(t){t.isTargetByCursor(e,n,o)&&(i=t)})),i}function M$(t,e){var n=t._panels;if(!n)return r$;var i=e.__brushOption.panelId;return null!=i?n[i]:r$}function I$(t){var e=t._covers,n=e.length;return Ky(e,(function(e){t.group.remove(e)}),t),e.length=0,!!n}function A$(t,e){var n=$y(t._covers,(function(t){var e=t.__brushOption,n=Hy(e.range);return{brushType:e.brushType,panelId:e.panelId,range:n}}));t.trigger("brush",{areas:n,isEnd:!!e.isEnd,removeOnClick:!!e.removeOnClick})}function C$(t){var e=t.length-1;return e<0&&(e=0),[t[0],t[e]]}function T$(t,e,n,i){var r=new KS;return r.add(new $A({name:"main",style:P$(n),silent:!0,draggable:!0,cursor:"move",drift:n_(R$,t,e,r,["n","s","w","e"]),ondragend:n_(A$,e,{isEnd:!0})})),Ky(i,(function(n){r.add(new $A({name:n.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:n_(R$,t,e,r,n),ondragend:n_(A$,e,{isEnd:!0})}))})),r}function D$(t,e,n,i){var r=i.brushStyle.lineWidth||0,o=a$(r,c$),a=n[0][0],s=n[1][0],l=a-r/2,u=s-r/2,c=n[0][1],h=n[1][1],d=c-o+r/2,p=h-o+r/2,f=c-a,g=h-s,v=f+r,m=g+r;L$(t,e,"main",a,s,f,g),i.transformable&&(L$(t,e,"w",l,u,o,m),L$(t,e,"e",d,u,o,m),L$(t,e,"n",l,u,v,o),L$(t,e,"s",l,p,v,o),L$(t,e,"nw",l,u,o,o),L$(t,e,"ne",d,u,o,o),L$(t,e,"sw",l,p,o,o),L$(t,e,"se",d,p,o,o))}function k$(t,e){var n=e.__brushOption,i=n.transformable,r=e.childAt(0);r.useStyle(P$(n)),r.attr({silent:!i,cursor:i?"move":"default"}),Ky([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],(function(n){var r=e.childOfName(n.join("")),o=1===n.length?E$(t,n[0]):function(t,e){var n=[E$(t,e[0]),E$(t,e[1])];return("e"===n[0]||"w"===n[0])&&n.reverse(),n.join("")}(t,n);r&&r.attr({silent:!i,invisible:!i,cursor:i?p$[o]+"-resize":null})}))}function L$(t,e,n,i,r,o,a){var s,l,u,c,h,d=e.childOfName(n);d&&d.setShape((s=z$(t,e,[[i,r],[i+o,r+a]]),l=o$(s[0][0],s[1][0]),u=o$(s[0][1],s[1][1]),c=a$(s[0][0],s[1][0]),h=a$(s[0][1],s[1][1]),{x:l,y:u,width:c-l,height:h-u}))}function P$(t){return Yy({strokeNoScale:!0},t.brushStyle)}function O$(t,e,n,i){var r=[o$(t,n),o$(e,i)],o=[a$(t,n),a$(e,i)];return[[r[0],o[0]],[r[1],o[1]]]}function E$(t,e){var n=pk({w:"left",e:"right",n:"top",s:"bottom"}[e],function(t){return hk(t.group)}(t));return{left:"w",right:"e",top:"n",bottom:"s"}[n]}function R$(t,e,n,i,r,o){var a=n.__brushOption,s=t.toRectRange(a.range),l=B$(e,r,o);Ky(i,(function(t){var e=d$[t];s[e[0]][e[1]]+=l[e[0]]})),a.range=t.fromRectRange(O$(s[0][0],s[1][0],s[0][1],s[1][1])),b$(e,n),A$(e,{isEnd:!1})}function N$(t,e,n,i){var r=e.__brushOption.range,o=B$(t,n,i);Ky(r,(function(t){t[0]+=o[0],t[1]+=o[1]})),b$(t,e),A$(t,{isEnd:!1})}function B$(t,e,n){var i=t.group,r=i.transformCoordToLocal(e,n),o=i.transformCoordToLocal(0,0);return[r[0]-o[0],r[1]-o[1]]}function z$(t,e,n){var i=M$(t,e);return i&&i!==r$?i.clipPath(n,t._transform):Hy(n)}function V$(t){var e=t.event;e.preventDefault&&e.preventDefault()}function F$(t,e,n){return t.childOfName("main").contain(e,n)}function G$(t,e,n,i){var r,o=t._creatingCover,a=t._creatingPanel,s=t._brushOption;if(t._track.push(n.slice()),function(t){var e=t._track;if(!e.length)return!1;var n=e[e.length-1],i=e[0],r=n[0]-i[0],o=n[1]-i[1];return s$(r*r+o*o,.5)>u$}(t)||o){if(a&&!o){"single"===s.brushMode&&I$(t);var l=Hy(s);l.brushType=H$(l.brushType,a),l.panelId=a===r$?null:a.panelId,o=t._creatingCover=m$(t,l),t._covers.push(o)}if(o){var u=j$[H$(t._brushType,a)];o.__brushOption.range=u.getCreatingRange(z$(t,o,t._track)),i&&(y$(t,o),u.updateCommon(t,o)),_$(t,o),r={isEnd:i}}}else i&&"single"===s.brushMode&&s.removeOnClick&&S$(t,e,n)&&I$(t)&&(r={isEnd:i,removeOnClick:!0});return r}function H$(t,e){return"auto"===t?e.defaultBrushType:t}var W$={mousedown:function(t){if(this._dragging)U$(this,t);else if(!t.target||!t.target.draggable){V$(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null,(this._creatingPanel=S$(this,t,e))&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=t.offsetX,n=t.offsetY,i=this.group.transformCoordToLocal(e,n);if(function(t,e,n){if(t._brushType&&!function(t,e,n){var i=t._zr;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}(t,e.offsetX,e.offsetY)){var i=t._zr,r=t._covers,o=S$(t,e,n);if(!t._dragging)for(var a=0;a<r.length;a++){var s=r[a].__brushOption;if(o&&(o===r$||s.panelId===o.panelId)&&j$[s.brushType].contain(r[a],n[0],n[1]))return}o&&i.setCursorStyle("crosshair")}}(this,t,i),this._dragging){V$(t);var r=G$(this,t,i,!1);r&&A$(this,r)}},mouseup:function(t){U$(this,t)}};function U$(t,e){if(t._dragging){V$(e);var n=e.offsetX,i=e.offsetY,r=t.group.transformCoordToLocal(n,i),o=G$(t,e,r,!0);t._dragging=!1,t._track=[],t._creatingCover=null,o&&A$(t,o)}}var j$={lineX:Y$(0),lineY:Y$(1),rect:{createCover:function(t,e){function n(t){return t}return T$({toRectRange:n,fromRectRange:n},t,e,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(t){var e=C$(t);return O$(e[1][0],e[1][1],e[0][0],e[0][1])},updateCoverShape:function(t,e,n,i){D$(t,e,n,i)},updateCommon:k$,contain:F$},polygon:{createCover:function(t,e){var n=new KS;return n.add(new gD({name:"main",style:P$(e),silent:!0})),n},getCreatingRange:function(t){return t},endCreating:function(t,e){e.remove(e.childAt(0)),e.add(new dD({name:"main",draggable:!0,drift:n_(N$,t,e),ondragend:n_(A$,t,{isEnd:!0})}))},updateCoverShape:function(t,e,n,i){e.childAt(0).setShape({points:z$(t,e,n)})},updateCommon:k$,contain:F$}};function Y$(t){return{createCover:function(e,n){return T$({toRectRange:function(e){var n=[e,[0,100]];return t&&n.reverse(),n},fromRectRange:function(e){return e[t]}},e,n,[[["w"],["e"]],[["n"],["s"]]][t])},getCreatingRange:function(e){var n=C$(e);return[o$(n[0][t],n[1][t]),a$(n[0][t],n[1][t])]},updateCoverShape:function(e,n,i,r){var o,a=M$(e,n);if(a!==r$&&a.getLinearBrushOtherExtent)o=a.getLinearBrushOtherExtent(t);else{var s=e._zr;o=[0,[s.getWidth(),s.getHeight()][1-t]]}var l=[i,o];t&&l.reverse(),D$(e,n,l,r)},updateCommon:k$,contain:F$}}const X$=v$;function q$(t){return t=$$(t),function(e){return vk(e,t)}}function Z$(t,e){return t=$$(t),function(n){var i=null!=e?e:n,r=i?t.width:t.height,o=i?t.x:t.y;return[o,o+(r||0)]}}function K$(t,e,n){var i=$$(t);return function(t,r){return i.contain(r[0],r[1])&&!Kj(t,e,n)}}function $$(t){return Hx.create(t)}var J$=["axisLine","axisTickLabel","axisName"];const Q$=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.init=function(e,n){t.prototype.init.apply(this,arguments),(this._brushController=new X$(n.getZr())).on("brush",e_(this._onBrush,this))},e.prototype.render=function(t,e,n,i){if(!function(t,e,n){return n&&"axisAreaSelect"===n.type&&e.findComponents({mainType:"parallelAxis",query:n})[0]===t}(t,e,i)){this.axisModel=t,this.api=n,this.group.removeAll();var r=this._axisGroup;if(this._axisGroup=new KS,this.group.add(this._axisGroup),t.get("show")){var o=function(t,e){return e.getComponent("parallel",t.get("parallelIndex"))}(t,e),a=o.coordinateSystem,s=t.getAreaSelectStyle(),l=s.width,u=t.axis.dim,c=jy({strokeContainThreshold:l},a.getAxisLayout(u)),h=new ej(t,c);Ky(J$,h.add,h),this._axisGroup.add(h.getGroup()),this._refreshBrushController(c,s,t,o,l,n),gk(r,this._axisGroup,t)}}},e.prototype._refreshBrushController=function(t,e,n,i,r,o){var a=n.axis.getExtent(),s=a[1]-a[0],l=Math.min(30,.1*Math.abs(s)),u=Hx.create({x:a[0],y:-r/2,width:s,height:r});u.x-=l,u.width+=2*l,this._brushController.mount({enableGlobalPan:!0,rotation:t.rotation,x:t.position[0],y:t.position[1]}).setPanels([{panelId:"pl",clipPath:q$(u),isTargetByCursor:K$(u,o,i),getLinearBrushOtherExtent:Z$(u,0)}]).enableBrush({brushType:"lineX",brushStyle:e,removeOnClick:!0}).updateCovers(function(t){var e=t.axis;return $y(t.activeIntervals,(function(t){return{brushType:"lineX",panelId:"pl",range:[e.dataToCoord(t[0],!0),e.dataToCoord(t[1],!0)]}}))}(n))},e.prototype._onBrush=function(t){var e=t.areas,n=this.axisModel,i=n.axis,r=$y(e,(function(t){return[i.coordToData(t.range[0],!0),i.coordToData(t.range[1],!0)]}));(!n.option.realtime===t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:n.id,intervals:r})},e.prototype.dispose=function(){this._brushController.dispose()},e.type="parallelAxis",e}(rR);var tJ={type:"axisAreaSelect",event:"axisAreaSelected"};var eJ={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function nJ(t){t.registerComponentView(BK),t.registerComponentModel(VK),t.registerCoordinateSystem("parallel",e$),t.registerPreprocessor(OK),t.registerComponentModel(i$),t.registerComponentView(Q$),LU(t,"parallel",i$,eJ),function(t){t.registerAction(tJ,(function(t,e){e.eachComponent({mainType:"parallelAxis",query:t},(function(e){e.axis.model.setActiveIntervals(t.intervals)}))})),t.registerAction("parallelAxisExpand",(function(t,e){e.eachComponent({mainType:"parallel",query:t},(function(e){e.setAxisExpand(t)}))}))}(t)}var iJ=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0},rJ=function(t){function e(e){return t.call(this,e)||this}return my(e,t),e.prototype.getDefaultShape=function(){return new iJ},e.prototype.buildPath=function(t,e){var n=e.extent;t.moveTo(e.x1,e.y1),t.bezierCurveTo(e.cpx1,e.cpy1,e.cpx2,e.cpy2,e.x2,e.y2),"vertical"===e.orient?(t.lineTo(e.x2+n,e.y2),t.bezierCurveTo(e.cpx2+n,e.cpy2,e.cpx1+n,e.cpy1,e.x1+n,e.y1)):(t.lineTo(e.x2,e.y2+n),t.bezierCurveTo(e.cpx2,e.cpy2+n,e.cpx1,e.cpy1+n,e.x1,e.y1+n)),t.closePath()},e.prototype.highlight=function(){ZC(this)},e.prototype.downplay=function(){KC(this)},e}(NA);function oJ(t,e,n){switch(t.fill){case"source":t.fill=n.node1.getVisual("color"),t.decal=n.node1.getVisual("style").decal;break;case"target":t.fill=n.node2.getVisual("color"),t.decal=n.node2.getVisual("style").decal;break;case"gradient":var i=n.node1.getVisual("color"),r=n.node2.getVisual("color");o_(i)&&o_(r)&&(t.fill=new LD(0,0,+("horizontal"===e),+("vertical"===e),[{color:i,offset:0},{color:r,offset:1}]))}}const aJ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._focusAdjacencyDisabled=!1,n}return my(e,t),e.prototype.render=function(t,e,n){var i=this,r=t.getGraph(),o=this.group,a=t.layoutInfo,s=a.width,l=a.height,u=t.getData(),c=t.getData("edge"),h=t.get("orient");this._model=t,o.removeAll(),o.x=a.x,o.y=a.y,r.eachEdge((function(e){var n=new rJ,i=fC(n);i.dataIndex=e.dataIndex,i.seriesIndex=t.seriesIndex,i.dataType="edge";var r,a,u,d,p,f,g,v,m=e.getModel(),y=m.getModel("lineStyle"),_=y.get("curveness"),x=e.node1.getLayout(),b=e.node1.getModel(),w=b.get("localX"),S=b.get("localY"),M=e.node2.getLayout(),I=e.node2.getModel(),A=I.get("localX"),C=I.get("localY"),T=e.getLayout();n.shape.extent=Math.max(1,T.dy),n.shape.orient=h,"vertical"===h?(r=(null!=w?w*s:x.x)+T.sy,a=(null!=S?S*l:x.y)+x.dy,u=(null!=A?A*s:M.x)+T.ty,p=r,f=a*(1-_)+(d=null!=C?C*l:M.y)*_,g=u,v=a*_+d*(1-_)):(r=(null!=w?w*s:x.x)+x.dx,a=(null!=S?S*l:x.y)+T.sy,p=r*(1-_)+(u=null!=A?A*s:M.x)*_,f=a,g=r*_+u*(1-_),v=d=(null!=C?C*l:M.y)+T.ty),n.setShape({x1:r,y1:a,x2:u,y2:d,cpx1:p,cpy1:f,cpx2:g,cpy2:v}),n.useStyle(y.getItemStyle()),oJ(n.style,h,e);var D=""+m.get("value"),k=Dk(m,"edgeLabel");Tk(n,k,{labelFetcher:{getFormattedLabel:function(e,n,i,r,o,a){return t.getFormattedLabel(e,n,"edge",r,v_(o,k.normal&&k.normal.get("formatter"),D),a)}},labelDataIndex:e.dataIndex,defaultText:D}),n.setTextConfig({position:"inside"});var L=m.getModel("emphasis");pT(n,m,"lineStyle",(function(t){var n=t.getItemStyle();return oJ(n,h,e),n})),o.add(n),c.setItemGraphicEl(e.dataIndex,n);var P=L.get("focus");uT(n,"adjacency"===P?e.getAdjacentDataIndices():"trajectory"===P?e.getTrajectoryDataIndices():P,L.get("blurScope"),L.get("disabled"))})),r.eachNode((function(e){var n=e.getLayout(),i=e.getModel(),r=i.get("localX"),a=i.get("localY"),c=i.getModel("emphasis"),h=new $A({shape:{x:null!=r?r*s:n.x,y:null!=a?a*l:n.y,width:n.dx,height:n.dy},style:i.getModel("itemStyle").getItemStyle(),z2:10});Tk(h,Dk(i),{labelFetcher:{getFormattedLabel:function(e,n){return t.getFormattedLabel(e,n,"node")}},labelDataIndex:e.dataIndex,defaultText:e.id}),h.disableLabelAnimation=!0,h.setStyle("fill",e.getVisual("color")),h.setStyle("decal",e.getVisual("style").decal),pT(h,i),o.add(h),u.setItemGraphicEl(e.dataIndex,h),fC(h).dataType="node";var d=c.get("focus");uT(h,"adjacency"===d?e.getAdjacentDataIndices():"trajectory"===d?e.getTrajectoryDataIndices():d,c.get("blurScope"),c.get("disabled"))})),u.eachItemGraphicEl((function(e,r){u.getItemModel(r).get("draggable")&&(e.drift=function(e,o){i._focusAdjacencyDisabled=!0,this.shape.x+=e,this.shape.y+=o,this.dirty(),n.dispatchAction({type:"dragNode",seriesId:t.id,dataIndex:u.getRawIndex(r),localX:this.shape.x/s,localY:this.shape.y/l})},e.ondragend=function(){i._focusAdjacencyDisabled=!1},e.draggable=!0,e.cursor="move")})),!this._data&&t.isAnimationEnabled()&&o.setClipPath(function(t,e,n){var i=new $A({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return YD(i,{shape:{width:t.width+20}},e,n),i}(o.getBoundingRect(),t,(function(){o.removeClipPath()}))),this._data=t.getData()},e.prototype.dispose=function(){},e.type="sankey",e}(fR);var sJ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.getInitialData=function(t,e){var n=t.edges||t.links,i=t.data||t.nodes,r=t.levels;this.levelModels=[];for(var o=this.levelModels,a=0;a<r.length;a++)null!=r[a].depth&&r[a].depth>=0&&(o[r[a].depth]=new tL(r[a],this,e));if(i&&n)return cK(i,n,this,!0,(function(t,e){t.wrapMethod("getItemModel",(function(t,e){var n=t.parentModel,i=n.getData().getItemLayout(e);if(i){var r=i.depth,o=n.levelModels[r];o&&(t.parentModel=o)}return t})),e.wrapMethod("getItemModel",(function(t,e){var n=t.parentModel,i=n.getGraph().getEdgeByIndex(e).node1.getLayout();if(i){var r=i.depth,o=n.levelModels[r];o&&(t.parentModel=o)}return t}))})).data},e.prototype.setNodePosition=function(t,e){var n=(this.option.data||this.option.nodes)[t];n.localX=e[0],n.localY=e[1]},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.formatTooltip=function(t,e,n){function i(t){return isNaN(t)||null==t}if("edge"===n){var r=this.getDataParams(t,n),o=r.data,a=r.value;return PE("nameValue",{name:o.source+" -- "+o.target,value:a,noValue:i(a)})}var s=this.getGraph().getNodeByIndex(t).getLayout().value,l=this.getDataParams(t,n).data.name;return PE("nameValue",{name:null!=l?l+"":null,value:s,noValue:i(s)})},e.prototype.optionUpdated=function(){},e.prototype.getDataParams=function(e,n){var i=t.prototype.getDataParams.call(this,e,n);if(null==i.value&&"node"===n){var r=this.getGraph().getNodeByIndex(e).getLayout().value;i.value=r}return i},e.type="series.sankey",e.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},e}(nR);const lJ=sJ;function uJ(t,e){t.eachSeriesByType("sankey",(function(t){var n=t.get("nodeWidth"),i=t.get("nodeGap"),r=function(t,e){return nP(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=r;var o=r.width,a=r.height,s=t.getGraph(),l=s.nodes,u=s.edges;!function(t){Ky(t,(function(t){var e=_J(t.outEdges,yJ),n=_J(t.inEdges,yJ),i=t.getValue()||0,r=Math.max(e,n,i);t.setLayout({value:r},!0)}))}(l),function(t,e,n,i,r,o,a,s,l){(function(t,e,n,i,r,o,a){for(var s=[],l=[],u=[],c=[],h=0,d=0;d<e.length;d++)s[d]=1;for(d=0;d<t.length;d++)l[d]=t[d].inEdges.length,0===l[d]&&u.push(t[d]);var p=-1;for(;u.length;){for(var f=0;f<u.length;f++){var g=u[f],v=g.hostGraph.data.getRawDataItem(g.dataIndex),m=null!=v.depth&&v.depth>=0;m&&v.depth>p&&(p=v.depth),g.setLayout({depth:m?v.depth:h},!0),"vertical"===o?g.setLayout({dy:n},!0):g.setLayout({dx:n},!0);for(var y=0;y<g.outEdges.length;y++){var _=g.outEdges[y];s[e.indexOf(_)]=0;var x=_.node2;0==--l[t.indexOf(x)]&&c.indexOf(x)<0&&c.push(x)}}++h,u=c,c=[]}for(d=0;d<s.length;d++)if(1===s[d])throw new Error("Sankey is a DAG, the original data has cycle!");var b=p>h-1?p:h-1;a&&"left"!==a&&function(t,e,n,i){if("right"===e){for(var r=[],o=t,a=0;o.length;){for(var s=0;s<o.length;s++){var l=o[s];l.setLayout({skNodeHeight:a},!0);for(var u=0;u<l.inEdges.length;u++){var c=l.inEdges[u];r.indexOf(c.node1)<0&&r.push(c.node1)}}o=r,r=[],++a}Ky(t,(function(t){cJ(t)||t.setLayout({depth:Math.max(0,i-t.getLayout().skNodeHeight)},!0)}))}else"justify"===e&&function(t,e){Ky(t,(function(t){cJ(t)||t.outEdges.length||t.setLayout({depth:e},!0)}))}(t,i)}(t,a,0,b);var w="vertical"===o?(r-n)/b:(i-n)/b;!function(t,e,n){Ky(t,(function(t){var i=t.getLayout().depth*e;"vertical"===n?t.setLayout({y:i},!0):t.setLayout({x:i},!0)}))}(t,w,o)})(t,e,n,r,o,s,l),function(t,e,n,i,r,o,a){var s=function(t,e){var n=[],i="vertical"===e?"y":"x",r=qM(t,(function(t){return t.getLayout()[i]}));return r.keys.sort((function(t,e){return t-e})),Ky(r.keys,(function(t){n.push(r.buckets.get(t))})),n}(t,a);(function(t,e,n,i,r,o){var a=1/0;Ky(t,(function(t){var e=t.length,s=0;Ky(t,(function(t){s+=t.getLayout().value}));var l="vertical"===o?(i-(e-1)*r)/s:(n-(e-1)*r)/s;l<a&&(a=l)})),Ky(t,(function(t){Ky(t,(function(t,e){var n=t.getLayout().value*a;"vertical"===o?(t.setLayout({x:e},!0),t.setLayout({dx:n},!0)):(t.setLayout({y:e},!0),t.setLayout({dy:n},!0))}))})),Ky(e,(function(t){var e=+t.getValue()*a;t.setLayout({dy:e},!0)}))})(s,e,n,i,r,a),hJ(s,r,n,i,a);for(var l=1;o>0;o--)dJ(s,l*=.99,a),hJ(s,r,n,i,a),xJ(s,l,a),hJ(s,r,n,i,a)}(t,e,o,r,i,a,s),function(t,e){var n="vertical"===e?"x":"y";Ky(t,(function(t){t.outEdges.sort((function(t,e){return t.node2.getLayout()[n]-e.node2.getLayout()[n]})),t.inEdges.sort((function(t,e){return t.node1.getLayout()[n]-e.node1.getLayout()[n]}))})),Ky(t,(function(t){var e=0,n=0;Ky(t.outEdges,(function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy})),Ky(t.inEdges,(function(t){t.setLayout({ty:n},!0),n+=t.getLayout().dy}))}))}(t,s)}(l,u,n,i,o,a,0!==Qy(l,(function(t){return 0===t.getLayout().value})).length?0:t.get("layoutIterations"),t.get("orient"),t.get("nodeAlign"))}))}function cJ(t){var e=t.hostGraph.data.getRawDataItem(t.dataIndex);return null!=e.depth&&e.depth>=0}function hJ(t,e,n,i,r){var o="vertical"===r?"x":"y";Ky(t,(function(t){var a,s,l;t.sort((function(t,e){return t.getLayout()[o]-e.getLayout()[o]}));for(var u=0,c=t.length,h="vertical"===r?"dx":"dy",d=0;d<c;d++)(l=u-(s=t[d]).getLayout()[o])>0&&(a=s.getLayout()[o]+l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]+s.getLayout()[h]+e;if((l=u-e-("vertical"===r?i:n))>0){a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0),u=a;for(d=c-2;d>=0;--d)(l=(s=t[d]).getLayout()[o]+s.getLayout()[h]+e-u)>0&&(a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]}}))}function dJ(t,e,n){Ky(t.slice().reverse(),(function(t){Ky(t,(function(t){if(t.outEdges.length){var i=_J(t.outEdges,pJ,n)/_J(t.outEdges,yJ);if(isNaN(i)){var r=t.outEdges.length;i=r?_J(t.outEdges,fJ,n)/r:0}if("vertical"===n){var o=t.getLayout().x+(i-mJ(t,n))*e;t.setLayout({x:o},!0)}else{var a=t.getLayout().y+(i-mJ(t,n))*e;t.setLayout({y:a},!0)}}}))}))}function pJ(t,e){return mJ(t.node2,e)*t.getValue()}function fJ(t,e){return mJ(t.node2,e)}function gJ(t,e){return mJ(t.node1,e)*t.getValue()}function vJ(t,e){return mJ(t.node1,e)}function mJ(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function yJ(t){return t.getValue()}function _J(t,e,n){for(var i=0,r=t.length,o=-1;++o<r;){var a=+e(t[o],n);isNaN(a)||(i+=a)}return i}function xJ(t,e,n){Ky(t,(function(t){Ky(t,(function(t){if(t.inEdges.length){var i=_J(t.inEdges,gJ,n)/_J(t.inEdges,yJ);if(isNaN(i)){var r=t.inEdges.length;i=r?_J(t.inEdges,vJ,n)/r:0}if("vertical"===n){var o=t.getLayout().x+(i-mJ(t,n))*e;t.setLayout({x:o},!0)}else{var a=t.getLayout().y+(i-mJ(t,n))*e;t.setLayout({y:a},!0)}}}))}))}function bJ(t){t.eachSeriesByType("sankey",(function(t){var e=t.getGraph(),n=e.nodes,i=e.edges;if(n.length){var r=1/0,o=-1/0;Ky(n,(function(t){var e=t.getLayout().value;e<r&&(r=e),e>o&&(o=e)})),Ky(n,(function(e){var n=new zq({type:"color",mappingMethod:"linear",dataExtent:[r,o],visual:t.get("color")}).mapValueToVisual(e.getLayout().value),i=e.getModel().get(["itemStyle","color"]);null!=i?(e.setVisual("color",i),e.setVisual("style",{fill:i})):(e.setVisual("color",n),e.setVisual("style",{fill:n}))}))}i.length&&Ky(i,(function(t){var e=t.getModel().get("lineStyle");t.setVisual("style",e)}))}))}var wJ=function(){function t(){}return t.prototype.getInitialData=function(t,e){var n,i,r=e.getComponent("xAxis",this.get("xAxisIndex")),o=e.getComponent("yAxis",this.get("yAxisIndex")),a=r.get("type"),s=o.get("type");"category"===a?(t.layout="horizontal",n=r.getOrdinalMeta(),i=!0):"category"===s?(t.layout="vertical",n=o.getOrdinalMeta(),i=!0):t.layout=t.layout||"horizontal";var l=["x","y"],u="horizontal"===t.layout?0:1,c=this._baseAxisDim=l[u],h=l[1-u],d=[r,o],p=d[u].get("type"),f=d[1-u].get("type"),g=t.data;if(g&&i){var v=[];Ky(g,(function(t,e){var n;i_(t)?(n=t.slice(),t.unshift(e)):i_(t.value)?((n=jy({},t)).value=n.value.slice(),t.value.unshift(e)):n=t,v.push(n)})),t.data=v}var m=this.defaultValueDimensions,y=[{name:c,type:yz(p),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:h,type:yz(f),dimsDef:m.slice()}];return pU(this,{coordDimensions:y,dimensionsCount:m.length+1,encodeDefaulter:n_(IP,y,this)})},t.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},t}(),SJ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],n.visualDrawType="stroke",n}return my(e,t),e.type="series.boxplot",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},e}(nR);qy(SJ,wJ,!0);const MJ=SJ;var IJ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this.group,o=this._data;this._data||r.removeAll();var a="horizontal"===t.get("layout")?1:0;i.diff(o).add((function(t){if(i.hasValue(t)){var e=TJ(i.getItemLayout(t),i,t,a,!0);i.setItemGraphicEl(t,e),r.add(e)}})).update((function(t,e){var n=o.getItemGraphicEl(e);if(i.hasValue(t)){var s=i.getItemLayout(t);n?($D(n),DJ(s,n,i,t)):n=TJ(s,i,t,a),r.add(n),i.setItemGraphicEl(t,n)}else r.remove(n)})).remove((function(t){var e=o.getItemGraphicEl(t);e&&r.remove(e)})).execute(),this._data=i},e.prototype.remove=function(t){var e=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(t){t&&e.remove(t)}))},e.type="boxplot",e}(fR),AJ=function(){},CJ=function(t){function e(e){var n=t.call(this,e)||this;return n.type="boxplotBoxPath",n}return my(e,t),e.prototype.getDefaultShape=function(){return new AJ},e.prototype.buildPath=function(t,e){var n=e.points,i=0;for(t.moveTo(n[i][0],n[i][1]),i++;i<4;i++)t.lineTo(n[i][0],n[i][1]);for(t.closePath();i<n.length;i++)t.moveTo(n[i][0],n[i][1]),i++,t.lineTo(n[i][0],n[i][1])},e}(NA);function TJ(t,e,n,i,r){var o=t.ends,a=new CJ({shape:{points:r?kJ(o,i,t):o}});return DJ(t,a,e,n,r),a}function DJ(t,e,n,i,r){var o=n.hostModel;(0,Mk[r?"initProps":"updateProps"])(e,{shape:{points:t.ends}},o,i),e.useStyle(n.getItemVisual(i,"style")),e.style.strokeNoScale=!0,e.z2=100;var a=n.getItemModel(i),s=a.getModel("emphasis");pT(e,a),uT(e,s.get("focus"),s.get("blurScope"),s.get("disabled"))}function kJ(t,e,n){return $y(t,(function(t){return(t=t.slice())[e]=n.initBaseline,t}))}const LJ=IJ;var PJ=Ky;function OJ(t){var e=function(t){var e=[],n=[];return t.eachSeriesByType("boxplot",(function(t){var i=t.getBaseAxis(),r=Xy(n,i);r<0&&(r=n.length,n[r]=i,e[r]={axis:i,seriesModels:[]}),e[r].seriesModels.push(t)})),e}(t);PJ(e,(function(t){var e=t.seriesModels;e.length&&(!function(t){var e,n=t.axis,i=t.seriesModels,r=i.length,o=t.boxWidthList=[],a=t.boxOffsetList=[],s=[];if("category"===n.type)e=n.getBandWidth();else{var l=0;PJ(i,(function(t){l=Math.max(l,t.getData().count())}));var u=n.getExtent();e=Math.abs(u[1]-u[0])/l}PJ(i,(function(t){var n=t.get("boxWidth");i_(n)||(n=[n,n]),s.push([rM(n[0],e)||0,rM(n[1],e)||0])}));var c=.8*e-2,h=c/r*.3,d=(c-h*(r-1))/r,p=d/2-c/2;PJ(i,(function(t,e){a.push(p),p+=h+d,o.push(Math.min(Math.max(d,s[e][0]),s[e][1]))}))}(t),PJ(e,(function(e,n){!function(t,e,n){var i=t.coordinateSystem,r=t.getData(),o=n/2,a="horizontal"===t.get("layout")?0:1,s=1-a,l=["x","y"],u=r.mapDimension(l[a]),c=r.mapDimensionsAll(l[s]);if(null==u||c.length<5)return;for(var h=0;h<r.count();h++){var d=r.get(u,h),p=_(d,c[2],h),f=_(d,c[0],h),g=_(d,c[1],h),v=_(d,c[3],h),m=_(d,c[4],h),y=[];x(y,g,!1),x(y,v,!0),y.push(f,g,m,v),b(y,f),b(y,m),b(y,p),r.setItemLayout(h,{initBaseline:p[s],ends:y})}function _(t,n,o){var l,u=r.get(n,o),c=[];return c[a]=t,c[s]=u,isNaN(t)||isNaN(u)?l=[NaN,NaN]:(l=i.dataToPoint(c))[a]+=e,l}function x(t,e,n){var i=e.slice(),r=e.slice();i[a]+=o,r[a]-=o,n?t.push(i,r):t.push(r,i)}function b(t,e){var n=e.slice(),i=e.slice();n[a]-=o,i[a]+=o,t.push(n,i)}}(e,t.boxOffsetList[n],t.boxWidthList[n])})))}))}var EJ={type:"echarts:boxplot",transform:function(t){var e=t.upstream;if(e.sourceFormat!==vP){MM("")}var n=function(t,e){for(var n=[],i=[],r=(e=e||{}).boundIQR,o="none"===r||0===r,a=0;a<t.length;a++){var s=aM(t[a].slice()),l=mM(s,.25),u=mM(s,.5),c=mM(s,.75),h=s[0],d=s[s.length-1],p=(null==r?1.5:r)*(c-l),f=o?h:Math.max(h,l-p),g=o?d:Math.min(d,c+p),v=e.itemNameFormatter,m=r_(v)?v({value:a}):o_(v)?v.replace("{value}",a+""):a+"";n.push([m,f,l,u,c,g]);for(var y=0;y<s.length;y++){var _=s[y];if(_<f||_>g){var x=[m,_];i.push(x)}}}return{boxData:n,outliers:i}}(e.getRawData(),t.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:n.boxData},{data:n.outliers}]}};var RJ=["color","borderColor"],NJ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.render=function(t,e,n){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},e.prototype.incrementalPrepareRender=function(t,e,n){this._clear(),this._updateDrawMode(t)},e.prototype.incrementalRender=function(t,e,n,i){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(t,e):this._incrementalRenderNormal(t,e)},e.prototype.eachRendered=function(t){Sk(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},e.prototype._renderNormal=function(t){var e=t.getData(),n=this._data,i=this.group,r=e.getLayout("isSimpleBox"),o=t.get("clip",!0),a=t.coordinateSystem,s=a.getArea&&a.getArea();this._data||i.removeAll(),e.diff(n).add((function(n){if(e.hasValue(n)){var a=e.getItemLayout(n);if(o&&FJ(s,a))return;var l=VJ(a,n,!0);YD(l,{shape:{points:a.ends}},t,n),GJ(l,e,n,r),i.add(l),e.setItemGraphicEl(n,l)}})).update((function(a,l){var u=n.getItemGraphicEl(l);if(e.hasValue(a)){var c=e.getItemLayout(a);o&&FJ(s,c)?i.remove(u):(u?(jD(u,{shape:{points:c.ends}},t,a),$D(u)):u=VJ(c),GJ(u,e,a,r),i.add(u),e.setItemGraphicEl(a,u))}else i.remove(u)})).remove((function(t){var e=n.getItemGraphicEl(t);e&&i.remove(e)})).execute(),this._data=e},e.prototype._renderLarge=function(t){this._clear(),jJ(t,this.group);var e=t.get("clip",!0)?uW(t.coordinateSystem,!1,t):null;e?this.group.setClipPath(e):this.group.removeClipPath()},e.prototype._incrementalRenderNormal=function(t,e){for(var n,i=e.getData(),r=i.getLayout("isSimpleBox");null!=(n=t.next());){var o=VJ(i.getItemLayout(n));GJ(o,i,n,r),o.incremental=!0,this.group.add(o),this._progressiveEls.push(o)}},e.prototype._incrementalRenderLarge=function(t,e){jJ(e,this.group,this._progressiveEls,!0)},e.prototype.remove=function(t){this._clear()},e.prototype._clear=function(){this.group.removeAll(),this._data=null},e.type="candlestick",e}(fR),BJ=function(){},zJ=function(t){function e(e){var n=t.call(this,e)||this;return n.type="normalCandlestickBox",n}return my(e,t),e.prototype.getDefaultShape=function(){return new BJ},e.prototype.buildPath=function(t,e){var n=e.points;this.__simpleBox?(t.moveTo(n[4][0],n[4][1]),t.lineTo(n[6][0],n[6][1])):(t.moveTo(n[0][0],n[0][1]),t.lineTo(n[1][0],n[1][1]),t.lineTo(n[2][0],n[2][1]),t.lineTo(n[3][0],n[3][1]),t.closePath(),t.moveTo(n[4][0],n[4][1]),t.lineTo(n[5][0],n[5][1]),t.moveTo(n[6][0],n[6][1]),t.lineTo(n[7][0],n[7][1]))},e}(NA);function VJ(t,e,n){var i=t.ends;return new zJ({shape:{points:n?HJ(i,t):i},z2:100})}function FJ(t,e){for(var n=!0,i=0;i<e.ends.length;i++)if(t.contain(e.ends[i][0],e.ends[i][1])){n=!1;break}return n}function GJ(t,e,n,i){var r=e.getItemModel(n);t.useStyle(e.getItemVisual(n,"style")),t.style.strokeNoScale=!0,t.__simpleBox=i,pT(t,r)}function HJ(t,e){return $y(t,(function(t){return(t=t.slice())[1]=e.initBaseline,t}))}var WJ=function(){},UJ=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeCandlestickBox",n}return my(e,t),e.prototype.getDefaultShape=function(){return new WJ},e.prototype.buildPath=function(t,e){for(var n=e.points,i=0;i<n.length;)if(this.__sign===n[i++]){var r=n[i++];t.moveTo(r,n[i++]),t.lineTo(r,n[i++])}else i+=3},e}(NA);function jJ(t,e,n,i){var r=t.getData().getLayout("largePoints"),o=new UJ({shape:{points:r},__sign:1,ignoreCoarsePointer:!0});e.add(o);var a=new UJ({shape:{points:r},__sign:-1,ignoreCoarsePointer:!0});e.add(a);var s=new UJ({shape:{points:r},__sign:0,ignoreCoarsePointer:!0});e.add(s),YJ(1,o,t),YJ(-1,a,t),YJ(0,s,t),i&&(o.incremental=!0,a.incremental=!0),n&&n.push(o,a)}function YJ(t,e,n,i){var r=n.get(["itemStyle",t>0?"borderColor":"borderColor0"])||n.get(["itemStyle",t>0?"color":"color0"]);0===t&&(r=n.get(["itemStyle","borderColorDoji"]));var o=n.getModel("itemStyle").getItemStyle(RJ);e.useStyle(o),e.style.fill=null,e.style.stroke=r}const XJ=NJ;var qJ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],n}return my(e,t),e.prototype.getShadowDim=function(){return"open"},e.prototype.brushSelector=function(t,e,n){var i=e.getItemLayout(t);return i&&n.rect(i.brushRect)},e.type="series.candlestick",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderColorDoji:null,borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},e}(nR);qy(qJ,wJ,!0);const ZJ=qJ;function KJ(t){t&&i_(t.series)&&Ky(t.series,(function(t){l_(t)&&"k"===t.type&&(t.type="candlestick")}))}var $J=["itemStyle","borderColor"],JJ=["itemStyle","borderColor0"],QJ=["itemStyle","borderColorDoji"],tQ=["itemStyle","color"],eQ=["itemStyle","color0"];const nQ={seriesType:"candlestick",plan:oR(),performRawSeries:!0,reset:function(t,e){function n(t,e){return e.get(t>0?tQ:eQ)}function i(t,e){return e.get(0===t?QJ:t>0?$J:JJ)}if(!e.isSeriesFiltered(t))return!t.pipelineContext.large&&{progress:function(t,e){for(var r;null!=(r=t.next());){var o=e.getItemModel(r),a=e.getItemLayout(r).sign,s=o.getItemStyle();s.fill=n(a,o),s.stroke=i(a,o)||s.fill,jy(e.ensureUniqueItemVisual(r,"style"),s)}}}}};function iQ(t,e,n,i,r,o){return n>i?-1:n<i?1:o?0:e>0?t.get(r,e-1)<=i?1:-1:1}const rQ={seriesType:"candlestick",plan:oR(),reset:function(t){var e=t.coordinateSystem,n=t.getData(),i=function(t,e){var n,i=t.getBaseAxis(),r="category"===i.type?i.getBandWidth():(n=i.getExtent(),Math.abs(n[1]-n[0])/e.count()),o=rM(g_(t.get("barMaxWidth"),r),r),a=rM(g_(t.get("barMinWidth"),1),r),s=t.get("barWidth");return null!=s?rM(s,r):Math.max(Math.min(r/2,o),a)}(t,n),r=["x","y"],o=n.getDimensionIndex(n.mapDimension(r[0])),a=$y(n.mapDimensionsAll(r[1]),n.getDimensionIndex,n),s=a[0],l=a[1],u=a[2],c=a[3];if(n.setLayout({candleWidth:i,isSimpleBox:i<=1.3}),!(o<0||a.length<4))return{progress:t.pipelineContext.large?function(n,i){var r,a,h=vV(4*n.count),d=0,p=[],f=[],g=i.getStore(),v=!!t.get(["itemStyle","borderColorDoji"]);for(;null!=(a=n.next());){var m=g.get(o,a),y=g.get(s,a),_=g.get(l,a),x=g.get(u,a),b=g.get(c,a);isNaN(m)||isNaN(x)||isNaN(b)?(h[d++]=NaN,d+=3):(h[d++]=iQ(g,a,y,_,l,v),p[0]=m,p[1]=x,r=e.dataToPoint(p,null,f),h[d++]=r?r[0]:NaN,h[d++]=r?r[1]:NaN,p[1]=b,r=e.dataToPoint(p,null,f),h[d++]=r?r[1]:NaN)}i.setLayout("largePoints",h)}:function(t,n){var r,a=n.getStore();for(;null!=(r=t.next());){var h=a.get(o,r),d=a.get(s,r),p=a.get(l,r),f=a.get(u,r),g=a.get(c,r),v=Math.min(d,p),m=Math.max(d,p),y=M(v,h),_=M(m,h),x=M(f,h),b=M(g,h),w=[];I(w,_,0),I(w,y,1),w.push(C(b),C(_),C(x),C(y));var S=!!n.getItemModel(r).get(["itemStyle","borderColorDoji"]);n.setItemLayout(r,{sign:iQ(a,r,d,p,l,S),initBaseline:d>p?_[1]:y[1],ends:w,brushRect:A(f,g,h)})}function M(t,n){var i=[];return i[0]=n,i[1]=t,isNaN(n)||isNaN(t)?[NaN,NaN]:e.dataToPoint(i)}function I(t,e,n){var r=e.slice(),o=e.slice();r[0]=ck(r[0]+i/2,1,!1),o[0]=ck(o[0]-i/2,1,!0),n?t.push(r,o):t.push(o,r)}function A(t,e,n){var r=M(t,n),o=M(e,n);return r[0]-=i/2,o[0]-=i/2,{x:r[0],y:r[1],width:i,height:o[1]-r[1]}}function C(t){return t[0]=ck(t[0],1),t}}}}};function oQ(t,e){var n=e.rippleEffectColor||e.color;t.eachChild((function(t){t.attr({z:e.z,zlevel:e.zlevel,style:{stroke:"stroke"===e.brushType?n:null,fill:"fill"===e.brushType?n:null}})}))}var aQ=function(t){function e(e,n){var i=t.call(this)||this,r=new jH(e,n),o=new KS;return i.add(r),i.add(o),i.updateData(e,n),i}return my(e,t),e.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},e.prototype.startEffectAnimation=function(t){for(var e=t.symbolType,n=t.color,i=t.rippleNumber,r=this.childAt(1),o=0;o<i;o++){var a=MN(e,-1,-1,2,2,n);a.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scaleX:.5,scaleY:.5});var s=-o/i*t.period+t.effectOffset;a.animate("",!0).when(t.period,{scaleX:t.rippleScale/2,scaleY:t.rippleScale/2}).delay(s).start(),a.animateStyle(!0).when(t.period,{opacity:0}).delay(s).start(),r.add(a)}oQ(r,t)},e.prototype.updateEffectAnimation=function(t){for(var e=this._effectCfg,n=this.childAt(1),i=["symbolType","period","rippleScale","rippleNumber"],r=0;r<i.length;r++){var o=i[r];if(e[o]!==t[o])return this.stopEffectAnimation(),void this.startEffectAnimation(t)}oQ(n,t)},e.prototype.highlight=function(){ZC(this)},e.prototype.downplay=function(){KC(this)},e.prototype.getSymbolType=function(){var t=this.childAt(0);return t&&t.getSymbolType()},e.prototype.updateData=function(t,e){var n=this,i=t.hostModel;this.childAt(0).updateData(t,e);var r=this.childAt(1),o=t.getItemModel(e),a=t.getItemVisual(e,"symbol"),s=IN(t.getItemVisual(e,"symbolSize")),l=t.getItemVisual(e,"style"),u=l&&l.fill,c=o.getModel("emphasis");r.setScale(s),r.traverse((function(t){t.setStyle("fill",u)}));var h=AN(t.getItemVisual(e,"symbolOffset"),s);h&&(r.x=h[0],r.y=h[1]);var d=t.getItemVisual(e,"symbolRotate");r.rotation=(d||0)*Math.PI/180||0;var p={};p.showEffectOn=i.get("showEffectOn"),p.rippleScale=o.get(["rippleEffect","scale"]),p.brushType=o.get(["rippleEffect","brushType"]),p.period=1e3*o.get(["rippleEffect","period"]),p.effectOffset=e/t.count(),p.z=i.getShallow("z")||0,p.zlevel=i.getShallow("zlevel")||0,p.symbolType=a,p.color=u,p.rippleEffectColor=o.get(["rippleEffect","color"]),p.rippleNumber=o.get(["rippleEffect","number"]),"render"===p.showEffectOn?(this._effectCfg?this.updateEffectAnimation(p):this.startEffectAnimation(p),this._effectCfg=p):(this._effectCfg=null,this.stopEffectAnimation(),this.onHoverStateChange=function(t){"emphasis"===t?"render"!==p.showEffectOn&&n.startEffectAnimation(p):"normal"===t&&"render"!==p.showEffectOn&&n.stopEffectAnimation()}),this._effectCfg=p,uT(this,c.get("focus"),c.get("blurScope"),c.get("disabled"))},e.prototype.fadeOut=function(t){t&&t()},e}(KS);const sQ=aQ;const lQ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.init=function(){this._symbolDraw=new KH(sQ)},e.prototype.render=function(t,e,n){var i=t.getData(),r=this._symbolDraw;r.updateData(i,{clipShape:this._getClipShape(t)}),this.group.add(r.group)},e.prototype._getClipShape=function(t){var e=t.coordinateSystem,n=e&&e.getArea&&e.getArea();return t.get("clip",!0)?n:null},e.prototype.updateTransform=function(t,e,n){var i=t.getData();this.group.dirty();var r=SW("").reset(t,e,n);r.progress&&r.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout()},e.prototype._updateGroupTransform=function(t){var e,n,i=t.coordinateSystem;i&&i.getRoamTransform&&(this.group.transform=(e=i.getRoamTransform(),Ax(n=[1,0,0,1,0,0],e),n),this.group.decomposeTransform())},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0)},e.type="effectScatter",e}(fR);const uQ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return my(e,t),e.prototype.getInitialData=function(t,e){return Zz(null,this,{useEncodeDefaulter:!0})},e.prototype.brushSelector=function(t,e,n){return n.point(e.getItemLayout(t))},e.type="series.effectScatter",e.dependencies=["grid","polar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",clip:!0,rippleEffect:{period:4,scale:2.5,brushType:"fill",number:3},universalTransition:{divideShape:"clone"},symbolSize:10},e}(nR);const cQ=function(t){function e(e,n,i){var r=t.call(this)||this;return r.add(r.createLine(e,n,i)),r._updateEffectSymbol(e,n),r}return my(e,t),e.prototype.createLine=function(t,e,n){return new WZ(t,e,n)},e.prototype._updateEffectSymbol=function(t,e){var n=t.getItemModel(e).getModel("effect"),i=n.get("symbolSize"),r=n.get("symbol");i_(i)||(i=[i,i]);var o=t.getItemVisual(e,"style"),a=n.get("color")||o&&o.stroke,s=this.childAt(1);this._symbolType!==r&&(this.remove(s),(s=MN(r,-.5,-.5,1,1,a)).z2=100,s.culling=!0,this.add(s)),s&&(s.setStyle("shadowColor",a),s.setStyle(n.getItemStyle(["color"])),s.scaleX=i[0],s.scaleY=i[1],s.setColor(a),this._symbolType=r,this._symbolScale=i,this._updateEffectAnimation(t,n,e))},e.prototype._updateEffectAnimation=function(t,e,n){var i=this.childAt(1);if(i){var r=t.getItemLayout(n),o=1e3*e.get("period"),a=e.get("loop"),s=e.get("roundTrip"),l=e.get("constantSpeed"),u=f_(e.get("delay"),(function(e){return e/t.count()*o/3}));if(i.ignore=!0,this._updateAnimationPoints(i,r),l>0&&(o=this._getLineLength(i)/l*1e3),o!==this._period||a!==this._loop||s!==this._roundTrip){i.stopAnimation();var c=void 0;c=r_(u)?u(n):u,i.__t>0&&(c=-o*i.__t),this._animateSymbol(i,o,c,a,s)}this._period=o,this._loop=a,this._roundTrip=s}},e.prototype._animateSymbol=function(t,e,n,i,r){if(e>0){t.__t=0;var o=this,a=t.animate("",i).when(r?2*e:e,{__t:r?2:1}).delay(n).during((function(){o._updateSymbolPosition(t)}));i||a.done((function(){o.remove(t)})),a.start()}},e.prototype._getLineLength=function(t){return U_(t.__p1,t.__cp1)+U_(t.__cp1,t.__p2)},e.prototype._updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},e.prototype.updateData=function(t,e,n){this.childAt(0).updateData(t,e,n),this._updateEffectSymbol(t,e)},e.prototype._updateSymbolPosition=function(t){var e=t.__p1,n=t.__p2,i=t.__cp1,r=t.__t<1?t.__t:2-t.__t,o=[t.x,t.y],a=o.slice(),s=Bb,l=zb;o[0]=s(e[0],i[0],n[0],r),o[1]=s(e[1],i[1],n[1],r);var u=t.__t<1?l(e[0],i[0],n[0],r):l(n[0],i[0],e[0],1-r),c=t.__t<1?l(e[1],i[1],n[1],r):l(n[1],i[1],e[1],1-r);t.rotation=-Math.atan2(c,u)-Math.PI/2,"line"!==this._symbolType&&"rect"!==this._symbolType&&"roundRect"!==this._symbolType||(void 0!==t.__lastT&&t.__lastT<t.__t?(t.scaleY=1.05*U_(a,o),1===r&&(o[0]=a[0]+(o[0]-a[0])/2,o[1]=a[1]+(o[1]-a[1])/2)):1===t.__lastT?t.scaleY=2*U_(e,o):t.scaleY=this._symbolScale[1]),t.__lastT=t.__t,t.ignore=!1,t.x=o[0],t.y=o[1]},e.prototype.updateLayout=function(t,e){this.childAt(0).updateLayout(t,e);var n=t.getItemModel(e).getModel("effect");this._updateEffectAnimation(t,n,e)},e}(KS);const hQ=function(t){function e(e,n,i){var r=t.call(this)||this;return r._createPolyline(e,n,i),r}return my(e,t),e.prototype._createPolyline=function(t,e,n){var i=t.getItemLayout(e),r=new gD({shape:{points:i}});this.add(r),this._updateCommonStl(t,e,n)},e.prototype.updateData=function(t,e,n){var i=t.hostModel;jD(this.childAt(0),{shape:{points:t.getItemLayout(e)}},i,e),this._updateCommonStl(t,e,n)},e.prototype._updateCommonStl=function(t,e,n){var i=this.childAt(0),r=t.getItemModel(e),o=n&&n.emphasisLineStyle,a=n&&n.focus,s=n&&n.blurScope,l=n&&n.emphasisDisabled;if(!n||t.hasItemOption){var u=r.getModel("emphasis");o=u.getModel("lineStyle").getLineStyle(),l=u.get("disabled"),a=u.get("focus"),s=u.get("blurScope")}i.useStyle(t.getItemVisual(e,"style")),i.style.fill=null,i.style.strokeNoScale=!0,i.ensureState("emphasis").style=o,uT(this,a,s,l)},e.prototype.updateLayout=function(t,e){this.childAt(0).setShape("points",t.getItemLayout(e))},e}(KS);var dQ=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._lastFrame=0,e._lastFramePercent=0,e}return my(e,t),e.prototype.createLine=function(t,e,n){return new hQ(t,e,n)},e.prototype._updateAnimationPoints=function(t,e){this._points=e;for(var n=[0],i=0,r=1;r<e.length;r++){var o=e[r-1],a=e[r];i+=U_(o,a),n.push(i)}if(0!==i){for(r=0;r<n.length;r++)n[r]/=i;this._offsets=n,this._length=i}else this._length=0},e.prototype._getLineLength=function(){return this._length},e.prototype._updateSymbolPosition=function(t){var e=t.__t<1?t.__t:2-t.__t,n=this._points,i=this._offsets,r=n.length;if(i){var o,a=this._lastFrame;if(e<this._lastFramePercent){for(o=Math.min(a+1,r-1);o>=0&&!(i[o]<=e);o--);o=Math.min(o,r-2)}else{for(o=a;o<r&&!(i[o]>e);o++);o=Math.min(o-1,r-2)}var s=(e-i[o])/(i[o+1]-i[o]),l=n[o],u=n[o+1];t.x=l[0]*(1-s)+s*u[0],t.y=l[1]*(1-s)+s*u[1];var c=t.__t<1?u[0]-l[0]:l[0]-u[0],h=t.__t<1?u[1]-l[1]:l[1]-u[1];t.rotation=-Math.atan2(h,c)-Math.PI/2,this._lastFrame=o,this._lastFramePercent=e,t.ignore=!1}},e}(cQ);const pQ=dQ;var fQ=function(){this.polyline=!1,this.curveness=0,this.segs=[]},gQ=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return my(e,t),e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new fQ},e.prototype.buildPath=function(t,e){var n,i=e.segs,r=e.curveness;if(e.polyline)for(n=this._off;n<i.length;){var o=i[n++];if(o>0){t.moveTo(i[n++],i[n++]);for(var a=1;a<o;a++)t.lineTo(i[n++],i[n++])}}else for(n=this._off;n<i.length;){var s=i[n++],l=i[n++],u=i[n++],c=i[n++];if(t.moveTo(s,l),r>0){var h=(s+u)/2-(l-c)*r,d=(l+c)/2-(u-s)*r;t.quadraticCurveTo(h,d,u,c)}else t.lineTo(u,c)}this.incremental&&(this._off=n,this.notClear=!0)},e.prototype.findDataIndex=function(t,e){var n=this.shape,i=n.segs,r=n.curveness,o=this.style.lineWidth;if(n.polyline)for(var a=0,s=0;s<i.length;){var l=i[s++];if(l>0)for(var u=i[s++],c=i[s++],h=1;h<l;h++){if(gA(u,c,d=i[s++],p=i[s++],o,t,e))return a}a++}else for(a=0,s=0;s<i.length;){u=i[s++],c=i[s++];var d=i[s++],p=i[s++];if(r>0){if(mA(u,c,(u+d)/2-(c-p)*r,(c+p)/2-(d-u)*r,d,p,o,t,e))return a}else if(gA(u,c,d,p,o,t,e))return a;a++}return-1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();return t=n[0],e=n[1],i.contain(t,e)?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape.segs,n=1/0,i=1/0,r=-1/0,o=-1/0,a=0;a<e.length;){var s=e[a++],l=e[a++];n=Math.min(s,n),r=Math.max(s,r),i=Math.min(l,i),o=Math.max(l,o)}t=this._rect=new Hx(n,i,r,o)}return t},e}(NA);const vQ=function(){function t(){this.group=new KS}return t.prototype.updateData=function(t){this._clear();var e=this._create();e.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(e,t)},t.prototype.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clear()},t.prototype.incrementalUpdate=function(t,e){var n=this._newAdded[0],i=e.getLayout("linesPoints"),r=n&&n.shape.segs;if(r&&r.length<2e4){var o=r.length,a=new Float32Array(o+i.length);a.set(r),a.set(i,o),n.setShape({segs:a})}else{this._newAdded=[];var s=this._create();s.incremental=!0,s.setShape({segs:i}),this._setCommon(s,e),s.__startIndex=t.start}},t.prototype.remove=function(){this._clear()},t.prototype.eachRendered=function(t){this._newAdded[0]&&t(this._newAdded[0])},t.prototype._create=function(){var t=new gQ({cursor:"default",ignoreCoarsePointer:!0});return this._newAdded.push(t),this.group.add(t),t},t.prototype._setCommon=function(t,e,n){var i=e.hostModel;t.setShape({polyline:i.get("polyline"),curveness:i.get(["lineStyle","curveness"])}),t.useStyle(i.getModel("lineStyle").getLineStyle()),t.style.strokeNoScale=!0;var r=e.getVisual("style");r&&r.stroke&&t.setStyle("stroke",r.stroke),t.setStyle("fill",null);var o=fC(t);o.seriesIndex=i.seriesIndex,t.on("mousemove",(function(e){o.dataIndex=null;var n=t.hoverDataIdx;n>0&&(o.dataIndex=n+t.__startIndex)}))},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}();var mQ={seriesType:"lines",plan:oR(),reset:function(t){var e=t.coordinateSystem;if(e){var n=t.get("polyline"),i=t.pipelineContext.large;return{progress:function(r,o){var a=[];if(i){var s=void 0,l=r.end-r.start;if(n){for(var u=0,c=r.start;c<r.end;c++)u+=t.getLineCoordsCount(c);s=new Float32Array(l+2*u)}else s=new Float32Array(4*l);var h=0,d=[];for(c=r.start;c<r.end;c++){var p=t.getLineCoords(c,a);n&&(s[h++]=p);for(var f=0;f<p;f++)d=e.dataToPoint(a[f],!1,d),s[h++]=d[0],s[h++]=d[1]}o.setLayout("linesPoints",s)}else for(c=r.start;c<r.end;c++){var g=o.getItemModel(c),v=(p=t.getLineCoords(c,a),[]);if(n)for(var m=0;m<p;m++)v.push(e.dataToPoint(a[m]));else{v[0]=e.dataToPoint(a[0]),v[1]=e.dataToPoint(a[1]);var y=g.get(["lineStyle","curveness"]);+y&&(v[2]=[(v[0][0]+v[1][0])/2-(v[0][1]-v[1][1])*y,(v[0][1]+v[1][1])/2-(v[1][0]-v[0][0])*y])}o.setItemLayout(c,v)}}}}}};const yQ=mQ;const _Q=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this._updateLineDraw(i,t),o=t.get("zlevel"),a=t.get(["effect","trailLength"]),s=n.getZr(),l="svg"===s.painter.getType();l||s.painter.getLayer(o).clear(!0),null==this._lastZlevel||l||s.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(t)&&a>0&&(l||s.configLayer(o,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(a/10+.9,1),0)})),r.updateData(i);var u=t.get("clip",!0)&&uW(t.coordinateSystem,!1,t);u?this.group.setClipPath(u):this.group.removeClipPath(),this._lastZlevel=o,this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData();this._updateLineDraw(i,t).incrementalPrepareUpdate(i),this._clearLayer(n),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._lineDraw.incrementalUpdate(t,e.getData()),this._finished=t.end===e.getData().count()},e.prototype.eachRendered=function(t){this._lineDraw&&this._lineDraw.eachRendered(t)},e.prototype.updateTransform=function(t,e,n){var i=t.getData(),r=t.pipelineContext;if(!this._finished||r.large||r.progressiveRender)return{update:!0};var o=yQ.reset(t,e,n);o.progress&&o.progress({start:0,end:i.count(),count:i.count()},i),this._lineDraw.updateLayout(),this._clearLayer(n)},e.prototype._updateLineDraw=function(t,e){var n=this._lineDraw,i=this._showEffect(e),r=!!e.get("polyline"),o=e.pipelineContext.large;return n&&i===this._hasEffet&&r===this._isPolyline&&o===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=o?new vQ:new XZ(r?i?pQ:hQ:i?cQ:WZ),this._hasEffet=i,this._isPolyline=r,this._isLargeDraw=o),this.group.add(n.group),n},e.prototype._showEffect=function(t){return!!t.get(["effect","show"])},e.prototype._clearLayer=function(t){var e=t.getZr();"svg"===e.painter.getType()||null==this._lastZlevel||e.painter.getLayer(this._lastZlevel).clear(!0)},e.prototype.remove=function(t,e){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(e)},e.prototype.dispose=function(t,e){this.remove(t,e)},e.type="lines",e}(fR);var xQ="undefined"==typeof Uint32Array?Array:Uint32Array,bQ="undefined"==typeof Float64Array?Array:Float64Array;function wQ(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=$y(e,(function(t){var e={coords:[t[0].coord,t[1].coord]};return t[0].name&&(e.fromName=t[0].name),t[1].name&&(e.toName=t[1].name),Uy([e,t[0],t[1]])})))}var SQ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return my(e,t),e.prototype.init=function(e){e.data=e.data||[],wQ(e);var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count)),t.prototype.init.apply(this,arguments)},e.prototype.mergeOption=function(e){if(wQ(e),e.data){var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count))}t.prototype.mergeOption.apply(this,arguments)},e.prototype.appendData=function(t){var e=this._processFlatCoordsArray(t.data);e.flatCoords&&(this._flatCoords?(this._flatCoords=T_(this._flatCoords,e.flatCoords),this._flatCoordsOffset=T_(this._flatCoordsOffset,e.flatCoordsOffset)):(this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset),t.data=new Float32Array(e.count)),this.getRawData().appendData(t.data)},e.prototype._getCoordsFromItemModel=function(t){var e=this.getData().getItemModel(t);return e.option instanceof Array?e.option:e.getShallow("coords")},e.prototype.getLineCoordsCount=function(t){return this._flatCoordsOffset?this._flatCoordsOffset[2*t+1]:this._getCoordsFromItemModel(t).length},e.prototype.getLineCoords=function(t,e){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*t],i=this._flatCoordsOffset[2*t+1],r=0;r<i;r++)e[r]=e[r]||[],e[r][0]=this._flatCoords[n+2*r],e[r][1]=this._flatCoords[n+2*r+1];return i}var o=this._getCoordsFromItemModel(t);for(r=0;r<o.length;r++)e[r]=e[r]||[],e[r][0]=o[r][0],e[r][1]=o[r][1];return o.length},e.prototype._processFlatCoordsArray=function(t){var e=0;if(this._flatCoords&&(e=this._flatCoords.length),s_(t[0])){for(var n=t.length,i=new xQ(n),r=new bQ(n),o=0,a=0,s=0,l=0;l<n;){s++;var u=t[l++];i[a++]=o+e,i[a++]=u;for(var c=0;c<u;c++){var h=t[l++],d=t[l++];r[o++]=h,r[o++]=d}}return{flatCoordsOffset:new Uint32Array(i.buffer,0,a),flatCoords:r,count:s}}return{flatCoordsOffset:null,flatCoords:null,count:t.length}},e.prototype.getInitialData=function(t,e){var n=new Fz(["value"],this);return n.hasItemOption=!1,n.initData(t.data,[],(function(t,e,i,r){if(t instanceof Array)return NaN;n.hasItemOption=!0;var o=t.value;return null!=o?o instanceof Array?o[r]:o:void 0})),n},e.prototype.formatTooltip=function(t,e,n){var i=this.getData().getItemModel(t),r=i.get("name");if(r)return r;var o=i.get("fromName"),a=i.get("toName"),s=[];return null!=o&&s.push(o),null!=a&&s.push(a),PE("nameValue",{name:s.join(" > ")})},e.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},e.prototype.getZLevelKey=function(){var t=this.getModel("effect"),e=t.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:t.get("show")&&e>0?e+"":""},e.type="series.lines",e.dependencies=["grid","polar","geo","calendar"],e.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},e}(nR);const MQ=SQ;function IQ(t){return t instanceof Array||(t=[t,t]),t}const AQ={seriesType:"lines",reset:function(t){var e=IQ(t.get("symbol")),n=IQ(t.get("symbolSize")),i=t.getData();return i.setVisual("fromSymbol",e&&e[0]),i.setVisual("toSymbol",e&&e[1]),i.setVisual("fromSymbolSize",n&&n[0]),i.setVisual("toSymbolSize",n&&n[1]),{dataEach:i.hasItemOption?function(t,e){var n=t.getItemModel(e),i=IQ(n.getShallow("symbol",!0)),r=IQ(n.getShallow("symbolSize",!0));i[0]&&t.setItemVisual(e,"fromSymbol",i[0]),i[1]&&t.setItemVisual(e,"toSymbol",i[1]),r[0]&&t.setItemVisual(e,"fromSymbolSize",r[0]),r[1]&&t.setItemVisual(e,"toSymbolSize",r[1])}:null}}};var CQ=function(){function t(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var t=Cy.createCanvas();this.canvas=t}return t.prototype.update=function(t,e,n,i,r,o){var a=this._getBrush(),s=this._getGradient(r,"inRange"),l=this._getGradient(r,"outOfRange"),u=this.pointSize+this.blurSize,c=this.canvas,h=c.getContext("2d"),d=t.length;c.width=e,c.height=n;for(var p=0;p<d;++p){var f=t[p],g=f[0],v=f[1],m=i(f[2]);h.globalAlpha=m,h.drawImage(a,g-u,v-u)}if(!c.width||!c.height)return c;for(var y=h.getImageData(0,0,c.width,c.height),_=y.data,x=0,b=_.length,w=this.minOpacity,S=this.maxOpacity-w;x<b;){m=_[x+3]/256;var M=4*Math.floor(255*m);if(m>0){var I=o(m)?s:l;m>0&&(m=m*S+w),_[x++]=I[M],_[x++]=I[M+1],_[x++]=I[M+2],_[x++]=I[M+3]*m*256}else x+=4}return h.putImageData(y,0,0),c},t.prototype._getBrush=function(){var t=this._brushCanvas||(this._brushCanvas=Cy.createCanvas()),e=this.pointSize+this.blurSize,n=2*e;t.width=n,t.height=n;var i=t.getContext("2d");return i.clearRect(0,0,n,n),i.shadowOffsetX=n,i.shadowBlur=this.blurSize,i.shadowColor="#000",i.beginPath(),i.arc(-e,e,this.pointSize,0,2*Math.PI,!0),i.closePath(),i.fill(),t},t.prototype._getGradient=function(t,e){for(var n=this._gradientPixels,i=n[e]||(n[e]=new Uint8ClampedArray(1024)),r=[0,0,0,0],o=0,a=0;a<256;a++)t[e](a/255,!0,r),i[o++]=r[0],i[o++]=r[1],i[o++]=r[2],i[o++]=r[3];return i},t}();const TQ=CQ;function DQ(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}var kQ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.render=function(t,e,n){var i;e.eachComponent("visualMap",(function(e){e.eachTargetSeries((function(n){n===t&&(i=e)}))})),this._progressiveEls=null,this.group.removeAll();var r=t.coordinateSystem;"cartesian2d"===r.type||"calendar"===r.type?this._renderOnCartesianAndCalendar(t,n,0,t.getData().count()):DQ(r)&&this._renderOnGeo(r,t,i,n)},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll()},e.prototype.incrementalRender=function(t,e,n,i){var r=e.coordinateSystem;r&&(DQ(r)?this.render(e,n,i):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(e,i,t.start,t.end,!0)))},e.prototype.eachRendered=function(t){Sk(this._progressiveEls||this.group,t)},e.prototype._renderOnCartesianAndCalendar=function(t,e,n,i,r){var o,a,s,l,u=t.coordinateSystem,c=cW(u,"cartesian2d");if(c){var h=u.getAxis("x"),d=u.getAxis("y");o=h.getBandWidth()+.5,a=d.getBandWidth()+.5,s=h.scale.getExtent(),l=d.scale.getExtent()}for(var p=this.group,f=t.getData(),g=t.getModel(["emphasis","itemStyle"]).getItemStyle(),v=t.getModel(["blur","itemStyle"]).getItemStyle(),m=t.getModel(["select","itemStyle"]).getItemStyle(),y=t.get(["itemStyle","borderRadius"]),_=Dk(t),x=t.getModel("emphasis"),b=x.get("focus"),w=x.get("blurScope"),S=x.get("disabled"),M=c?[f.mapDimension("x"),f.mapDimension("y"),f.mapDimension("value")]:[f.mapDimension("time"),f.mapDimension("value")],I=n;I<i;I++){var A=void 0,C=f.getItemVisual(I,"style");if(c){var T=f.get(M[0],I),D=f.get(M[1],I);if(isNaN(f.get(M[2],I))||isNaN(T)||isNaN(D)||T<s[0]||T>s[1]||D<l[0]||D>l[1])continue;var k=u.dataToPoint([T,D]);A=new $A({shape:{x:k[0]-o/2,y:k[1]-a/2,width:o,height:a},style:C})}else{if(isNaN(f.get(M[1],I)))continue;A=new $A({z2:1,shape:u.dataToRect([f.get(M[0],I)]).contentShape,style:C})}if(f.hasItemOption){var L=f.getItemModel(I),P=L.getModel("emphasis");g=P.getModel("itemStyle").getItemStyle(),v=L.getModel(["blur","itemStyle"]).getItemStyle(),m=L.getModel(["select","itemStyle"]).getItemStyle(),y=L.get(["itemStyle","borderRadius"]),b=P.get("focus"),w=P.get("blurScope"),S=P.get("disabled"),_=Dk(L)}A.shape.r=y;var O=t.getRawValue(I),E="-";O&&null!=O[2]&&(E=O[2]+""),Tk(A,_,{labelFetcher:t,labelDataIndex:I,defaultOpacity:C.opacity,defaultText:E}),A.ensureState("emphasis").style=g,A.ensureState("blur").style=v,A.ensureState("select").style=m,uT(A,b,w,S),A.incremental=r,r&&(A.states.emphasis.hoverLayer=!0),p.add(A),f.setItemGraphicEl(I,A),this._progressiveEls&&this._progressiveEls.push(A)}},e.prototype._renderOnGeo=function(t,e,n,i){var r=n.targetVisuals.inRange,o=n.targetVisuals.outOfRange,a=e.getData(),s=this._hmLayer||this._hmLayer||new TQ;s.blurSize=e.get("blurSize"),s.pointSize=e.get("pointSize"),s.minOpacity=e.get("minOpacity"),s.maxOpacity=e.get("maxOpacity");var l=t.getViewRect().clone(),u=t.getRoamTransform();l.applyTransform(u);var c=Math.max(l.x,0),h=Math.max(l.y,0),d=Math.min(l.width+l.x,i.getWidth()),p=Math.min(l.height+l.y,i.getHeight()),f=d-c,g=p-h,v=[a.mapDimension("lng"),a.mapDimension("lat"),a.mapDimension("value")],m=a.mapArray(v,(function(e,n,i){var r=t.dataToPoint([e,n]);return r[0]-=c,r[1]-=h,r.push(i),r})),y=n.getExtent(),_="visualMap.continuous"===n.type?function(t,e){var n=t[1]-t[0];return e=[(e[0]-t[0])/n,(e[1]-t[0])/n],function(t){return t>=e[0]&&t<=e[1]}}(y,n.option.range):function(t,e,n){var i=t[1]-t[0],r=(e=$y(e,(function(e){return{interval:[(e.interval[0]-t[0])/i,(e.interval[1]-t[0])/i]}}))).length,o=0;return function(t){var i;for(i=o;i<r;i++)if((a=e[i].interval)[0]<=t&&t<=a[1]){o=i;break}if(i===r)for(i=o-1;i>=0;i--){var a;if((a=e[i].interval)[0]<=t&&t<=a[1]){o=i;break}}return i>=0&&i<r&&n[i]}}(y,n.getPieceList(),n.option.selected);s.update(m,f,g,r.color.getNormalizer(),{inRange:r.color.getColorMapper(),outOfRange:o.color.getColorMapper()},_);var x=new WA({style:{width:f,height:g,x:c,y:h,image:s.canvas},silent:!0});this.group.add(x)},e.type="heatmap",e}(fR);const LQ=kQ;const PQ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.getInitialData=function(t,e){return Zz(null,this,{generateCoord:"value"})},e.prototype.preventIncremental=function(){var t=ZP.get(this.get("coordinateSystem"));if(t&&t.dimensions)return"lng"===t.dimensions[0]&&"lat"===t.dimensions[1]},e.type="series.heatmap",e.dependencies=["grid","geo","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},e}(nR);var OQ=["itemStyle","borderWidth"],EQ=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],RQ=new FT;function NQ(t,e,n,i){var r=t.getItemLayout(e),o=n.get("symbolRepeat"),a=n.get("symbolClip"),s=n.get("symbolPosition")||"start",l=(n.get("symbolRotate")||0)*Math.PI/180||0,u=n.get("symbolPatternSize")||2,c=n.isAnimationEnabled(),h={dataIndex:e,layout:r,itemModel:n,symbolType:t.getItemVisual(e,"symbol")||"circle",style:t.getItemVisual(e,"style"),symbolClip:a,symbolRepeat:o,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:u,rotation:l,animationModel:c?n:null,hoverScale:c&&n.get(["emphasis","scale"]),z2:n.getShallow("z",!0)||0};!function(t,e,n,i,r){var o,a=i.valueDim,s=t.get("symbolBoundingData"),l=i.coordSys.getOtherAxis(i.coordSys.getBaseAxis()),u=l.toGlobalCoord(l.dataToCoord(0)),c=1-+(n[a.wh]<=0);if(i_(s)){var h=[BQ(l,s[0])-u,BQ(l,s[1])-u];h[1]<h[0]&&h.reverse(),o=h[c]}else o=null!=s?BQ(l,s)-u:e?i.coordSysExtent[a.index][c]-u:n[a.wh];r.boundingLength=o,e&&(r.repeatCutLength=n[a.wh]);r.pxSign=o>0?1:-1}(n,o,r,i,h),function(t,e,n,i,r,o,a,s,l,u){var c,h=l.valueDim,d=l.categoryDim,p=Math.abs(n[d.wh]),f=t.getItemVisual(e,"symbolSize");c=i_(f)?f.slice():null==f?["100%","100%"]:[f,f];c[d.index]=rM(c[d.index],p),c[h.index]=rM(c[h.index],i?p:Math.abs(o)),u.symbolSize=c;var g=u.symbolScale=[c[0]/s,c[1]/s];g[h.index]*=(l.isHorizontal?-1:1)*a}(t,e,r,o,0,h.boundingLength,h.pxSign,u,i,h),function(t,e,n,i,r){var o=t.get(OQ)||0;o&&(RQ.attr({scaleX:e[0],scaleY:e[1],rotation:n}),RQ.updateTransform(),o/=RQ.getLineScale(),o*=e[i.valueDim.index]);r.valueLineWidth=o||0}(n,h.symbolScale,l,i,h);var d=h.symbolSize,p=AN(n.get("symbolOffset"),d);return function(t,e,n,i,r,o,a,s,l,u,c,h){var d=c.categoryDim,p=c.valueDim,f=h.pxSign,g=Math.max(e[p.index]+s,0),v=g;if(i){var m=Math.abs(l),y=f_(t.get("symbolMargin"),"15%")+"",_=!1;y.lastIndexOf("!")===y.length-1&&(_=!0,y=y.slice(0,y.length-1));var x=rM(y,e[p.index]),b=Math.max(g+2*x,0),w=_?0:2*x,S=xM(i),M=S?i:JQ((m+w)/b);b=g+2*(x=(m-M*g)/2/(_?M:Math.max(M-1,1))),w=_?0:2*x,S||"fixed"===i||(M=u?JQ((Math.abs(u)+w)/b):0),v=M*b-w,h.repeatTimes=M,h.symbolMargin=x}var I=f*(v/2),A=h.pathPosition=[];A[d.index]=n[d.wh]/2,A[p.index]="start"===a?I:"end"===a?l-I:l/2,o&&(A[0]+=o[0],A[1]+=o[1]);var C=h.bundlePosition=[];C[d.index]=n[d.xy],C[p.index]=n[p.xy];var T=h.barRectShape=jy({},n);T[p.wh]=f*Math.max(Math.abs(n[p.wh]),Math.abs(A[p.index]+I)),T[d.wh]=n[d.wh];var D=h.clipShape={};D[d.xy]=-n[d.xy],D[d.wh]=c.ecSize[d.wh],D[p.xy]=0,D[p.wh]=n[p.wh]}(n,d,r,o,0,p,s,h.valueLineWidth,h.boundingLength,h.repeatCutLength,i,h),h}function BQ(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function zQ(t){var e=t.symbolPatternSize,n=MN(t.symbolType,-e/2,-e/2,e,e);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function VQ(t,e,n,i){var r=t.__pictorialBundle,o=n.symbolSize,a=n.valueLineWidth,s=n.pathPosition,l=e.valueDim,u=n.repeatTimes||0,c=0,h=o[e.valueDim.index]+a+2*n.symbolMargin;for(ZQ(t,(function(t){t.__pictorialAnimationIndex=c,t.__pictorialRepeatTimes=u,c<u?KQ(t,null,f(c),n,i):KQ(t,null,{scaleX:0,scaleY:0},n,i,(function(){r.remove(t)})),c++}));c<u;c++){var d=zQ(n);d.__pictorialAnimationIndex=c,d.__pictorialRepeatTimes=u,r.add(d);var p=f(c);KQ(d,{x:p.x,y:p.y,scaleX:0,scaleY:0},{scaleX:p.scaleX,scaleY:p.scaleY,rotation:p.rotation},n,i)}function f(t){var e=s.slice(),i=n.pxSign,r=t;return("start"===n.symbolRepeatDirection?i>0:i<0)&&(r=u-1-t),e[l.index]=h*(r-u/2+.5)+s[l.index],{x:e[0],y:e[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation}}}function FQ(t,e,n,i){var r=t.__pictorialBundle,o=t.__pictorialMainPath;o?KQ(o,null,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation},n,i):(o=t.__pictorialMainPath=zQ(n),r.add(o),KQ(o,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:0,scaleY:0,rotation:n.rotation},{scaleX:n.symbolScale[0],scaleY:n.symbolScale[1]},n,i))}function GQ(t,e,n){var i=jy({},e.barRectShape),r=t.__pictorialBarRect;r?KQ(r,null,{shape:i},e,n):((r=t.__pictorialBarRect=new $A({z2:2,shape:i,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}})).disableMorphing=!0,t.add(r))}function HQ(t,e,n,i){if(n.symbolClip){var r=t.__pictorialClipPath,o=jy({},n.clipShape),a=e.valueDim,s=n.animationModel,l=n.dataIndex;if(r)jD(r,{shape:o},s,l);else{o[a.wh]=0,r=new $A({shape:o}),t.__pictorialBundle.setClipPath(r),t.__pictorialClipPath=r;var u={};u[a.wh]=n.clipShape[a.wh],Mk[i?"updateProps":"initProps"](r,{shape:u},s,l)}}}function WQ(t,e){var n=t.getItemModel(e);return n.getAnimationDelayParams=UQ,n.isAnimationEnabled=jQ,n}function UQ(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function jQ(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function YQ(t,e,n,i){var r=new KS,o=new KS;return r.add(o),r.__pictorialBundle=o,o.x=n.bundlePosition[0],o.y=n.bundlePosition[1],n.symbolRepeat?VQ(r,e,n):FQ(r,0,n),GQ(r,n,i),HQ(r,e,n,i),r.__pictorialShapeStr=qQ(t,n),r.__pictorialSymbolMeta=n,r}function XQ(t,e,n,i){var r=i.__pictorialBarRect;r&&r.removeTextContent();var o=[];ZQ(i,(function(t){o.push(t)})),i.__pictorialMainPath&&o.push(i.__pictorialMainPath),i.__pictorialClipPath&&(n=null),Ky(o,(function(t){qD(t,{scaleX:0,scaleY:0},n,e,(function(){i.parent&&i.parent.remove(i)}))})),t.setItemGraphicEl(e,null)}function qQ(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function ZQ(t,e,n){Ky(t.__pictorialBundle.children(),(function(i){i!==t.__pictorialBarRect&&e.call(n,i)}))}function KQ(t,e,n,i,r,o){e&&t.attr(e),i.symbolClip&&!r?n&&t.attr(n):n&&Mk[r?"updateProps":"initProps"](t,n,i.animationModel,i.dataIndex,o)}function $Q(t,e,n){var i=n.dataIndex,r=n.itemModel,o=r.getModel("emphasis"),a=o.getModel("itemStyle").getItemStyle(),s=r.getModel(["blur","itemStyle"]).getItemStyle(),l=r.getModel(["select","itemStyle"]).getItemStyle(),u=r.getShallow("cursor"),c=o.get("focus"),h=o.get("blurScope"),d=o.get("scale");ZQ(t,(function(t){if(t instanceof WA){var e=t.style;t.useStyle(jy({image:e.image,x:e.x,y:e.y,width:e.width,height:e.height},n.style))}else t.useStyle(n.style);var i=t.ensureState("emphasis");i.style=a,d&&(i.scaleX=1.1*t.scaleX,i.scaleY=1.1*t.scaleY),t.ensureState("blur").style=s,t.ensureState("select").style=l,u&&(t.cursor=u),t.z2=n.z2}));var p=e.valueDim.posDesc[+(n.boundingLength>0)];Tk(t.__pictorialBarRect,Dk(r),{labelFetcher:e.seriesModel,labelDataIndex:i,defaultText:GH(e.seriesModel.getData(),i),inheritColor:n.style.fill,defaultOpacity:n.style.opacity,defaultOutsidePosition:p}),uT(t,c,h,o.get("disabled"))}function JQ(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}const QQ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.render=function(t,e,n){var i=this.group,r=t.getData(),o=this._data,a=t.coordinateSystem,s=a.getBaseAxis().isHorizontal(),l=a.master.getRect(),u={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:t,coordSys:a,coordSysExtent:[[l.x,l.x+l.width],[l.y,l.y+l.height]],isHorizontal:s,valueDim:EQ[+s],categoryDim:EQ[1-+s]};return r.diff(o).add((function(t){if(r.hasValue(t)){var e=WQ(r,t),n=NQ(r,t,e,u),o=YQ(r,u,n);r.setItemGraphicEl(t,o),i.add(o),$Q(o,u,n)}})).update((function(t,e){var n=o.getItemGraphicEl(e);if(r.hasValue(t)){var a=WQ(r,t),s=NQ(r,t,a,u),l=qQ(r,s);n&&l!==n.__pictorialShapeStr&&(i.remove(n),r.setItemGraphicEl(t,null),n=null),n?function(t,e,n){var i=n.animationModel,r=n.dataIndex,o=t.__pictorialBundle;jD(o,{x:n.bundlePosition[0],y:n.bundlePosition[1]},i,r),n.symbolRepeat?VQ(t,e,n,!0):FQ(t,e,n,!0);GQ(t,n,!0),HQ(t,e,n,!0)}(n,u,s):n=YQ(r,u,s,!0),r.setItemGraphicEl(t,n),n.__pictorialSymbolMeta=s,i.add(n),$Q(n,u,s)}else i.remove(n)})).remove((function(t){var e=o.getItemGraphicEl(t);e&&XQ(o,t,e.__pictorialSymbolMeta.animationModel,e)})).execute(),this._data=r,this.group},e.prototype.remove=function(t,e){var n=this.group,i=this._data;t.get("animation")?i&&i.eachItemGraphicEl((function(e){XQ(i,fC(e).dataIndex,t,e)})):n.removeAll()},e.type="pictorialBar",e}(fR);const t0=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n.defaultSymbol="roundRect",n}return my(e,t),e.prototype.getInitialData=function(e){return e.stack=null,t.prototype.getInitialData.apply(this,arguments)},e.type="series.pictorialBar",e.dependencies=["grid"],e.defaultOption=iL(TW.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),e}(TW);const e0=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._layers=[],n}return my(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this,o=this.group,a=t.getLayerSeries(),s=i.getLayout("layoutInfo"),l=s.rect,u=s.boundaryGap;function c(t){return t.name}o.x=0,o.y=l.y+u[0];var h=new gz(this._layersSeries||[],a,c,c),d=[];function p(e,n,s){var l=r._layers;if("remove"!==e){for(var u,c,h=[],p=[],f=a[n].indices,g=0;g<f.length;g++){var v=i.getItemLayout(f[g]),m=v.x,y=v.y0,_=v.y;h.push(m,y),p.push(m,y+_),u=i.getItemVisual(f[g],"style")}var x=i.getItemLayout(f[0]),b=t.getModel("label").get("margin"),w=t.getModel("emphasis");if("add"===e){var S=d[n]=new KS;c=new aW({shape:{points:h,stackedOnPoints:p,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),S.add(c),o.add(S),t.isAnimationEnabled()&&c.setClipPath(function(t,e,n){var i=new $A({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return YD(i,{shape:{x:t.x-50,width:t.width+100,height:t.height+20}},e,n),i}(c.getBoundingRect(),t,(function(){c.removeClipPath()})))}else{S=l[s];c=S.childAt(0),o.add(S),d[n]=S,jD(c,{shape:{points:h,stackedOnPoints:p}},t),$D(c)}Tk(c,Dk(t),{labelDataIndex:f[g-1],defaultText:i.getName(f[g-1]),inheritColor:u.fill},{normal:{verticalAlign:"middle"}}),c.setTextConfig({position:null,local:!0});var M=c.getTextContent();M&&(M.x=x.x-b,M.y=x.y0+x.y/2),c.useStyle(u),i.setItemGraphicEl(n,c),pT(c,t),uT(c,w.get("focus"),w.get("blurScope"),w.get("disabled"))}else o.remove(l[n])}h.add(e_(p,this,"add")).update(e_(p,this,"update")).remove(e_(p,this,"remove")).execute(),this._layersSeries=a,this._layers=d},e.type="themeRiver",e}(fR);var n0=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new gU(e_(this.getData,this),e_(this.getRawData,this))},e.prototype.fixData=function(t){var e=t.length,n={},i=qM(t,(function(t){return n.hasOwnProperty(t[0]+"")||(n[t[0]+""]=-1),t[2]})),r=[];i.buckets.each((function(t,e){r.push({name:e,dataList:t})}));for(var o=r.length,a=0;a<o;++a){for(var s=r[a].name,l=0;l<r[a].dataList.length;++l){var u=r[a].dataList[l][0]+"";n[u]=a}for(var u in n)n.hasOwnProperty(u)&&n[u]!==a&&(n[u]=a,t[e]=[u,0,s],e++)}return t},e.prototype.getInitialData=function(t,e){for(var n=this.getReferringComponents("singleAxis",UM).models[0].get("type"),i=Qy(t.data,(function(t){return void 0!==t[2]})),r=this.fixData(i||[]),o=[],a=this.nameMap=C_(),s=0,l=0;l<r.length;++l)o.push(r[l][2]),a.get(r[l][2])||(a.set(r[l][2],s),s++);var u=Gz(r,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:yz(n)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}).dimensions,c=new Fz(u,this);return c.initData(r),c},e.prototype.getLayerSeries=function(){for(var t=this.getData(),e=t.count(),n=[],i=0;i<e;++i)n[i]=i;var r=t.mapDimension("single"),o=qM(n,(function(e){return t.get("name",e)})),a=[];return o.buckets.each((function(e,n){e.sort((function(e,n){return t.get(r,e)-t.get(r,n)})),a.push({name:n,indices:e})})),a},e.prototype.getAxisTooltipData=function(t,e,n){i_(t)||(t=t?[t]:[]);for(var i,r=this.getData(),o=this.getLayerSeries(),a=[],s=o.length,l=0;l<s;++l){for(var u=Number.MAX_VALUE,c=-1,h=o[l].indices.length,d=0;d<h;++d){var p=r.get(t[0],o[l].indices[d]),f=Math.abs(p-e);f<=u&&(i=p,u=f,c=o[l].indices[d])}a.push(c)}return{dataIndices:a,nestestValue:i}},e.prototype.formatTooltip=function(t,e,n){var i=this.getData();return PE("nameValue",{name:i.getName(t),value:i.get(i.mapDimension("value"),t)})},e.type="series.themeRiver",e.dependencies=["singleAxis"],e.defaultOption={z:2,colorBy:"data",coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",fontSize:11},emphasis:{label:{show:!0}}},e}(nR);const i0=n0;function r0(t,e){t.eachSeriesByType("themeRiver",(function(t){var e=t.getData(),n=t.coordinateSystem,i={},r=n.getRect();i.rect=r;var o=t.get("boundaryGap"),a=n.getAxis();(i.boundaryGap=o,"horizontal"===a.orient)?(o[0]=rM(o[0],r.height),o[1]=rM(o[1],r.height),o0(e,t,r.height-o[0]-o[1])):(o[0]=rM(o[0],r.width),o[1]=rM(o[1],r.width),o0(e,t,r.width-o[0]-o[1]));e.setLayout("layoutInfo",i)}))}function o0(t,e,n){if(t.count())for(var i,r=e.coordinateSystem,o=e.getLayerSeries(),a=t.mapDimension("single"),s=t.mapDimension("value"),l=$y(o,(function(e){return $y(e.indices,(function(e){var n=r.dataToPoint(t.get(a,e));return n[1]=t.get(s,e),n}))})),u=function(t){for(var e=t.length,n=t[0].length,i=[],r=[],o=0,a=0;a<n;++a){for(var s=0,l=0;l<e;++l)s+=t[l][a][1];s>o&&(o=s),i.push(s)}for(var u=0;u<n;++u)r[u]=(o-i[u])/2;o=0;for(var c=0;c<n;++c){var h=i[c]+r[c];h>o&&(o=h)}return{y0:r,max:o}}(l),c=u.y0,h=n/u.max,d=o.length,p=o[0].indices.length,f=0;f<p;++f){i=c[f]*h,t.setItemLayout(o[0].indices[f],{layerIndex:0,x:l[0][f][0],y0:i,y:l[0][f][1]*h});for(var g=1;g<d;++g)i+=l[g-1][f][1]*h,t.setItemLayout(o[g].indices[f],{layerIndex:g,x:l[g][f][0],y0:i,y:l[g][f][1]*h})}}var a0=function(t){function e(e,n,i,r){var o=t.call(this)||this;o.z2=2,o.textConfig={inside:!0},fC(o).seriesIndex=n.seriesIndex;var a=new pC({z2:4,silent:e.getModel().get(["label","silent"])});return o.setTextContent(a),o.updateData(!0,e,n,i,r),o}return my(e,t),e.prototype.updateData=function(t,e,n,i,r){this.node=e,e.piece=this,n=n||this._seriesModel,i=i||this._ecModel;var o=this;fC(o).dataIndex=e.dataIndex;var a=e.getModel(),s=a.getModel("emphasis"),l=e.getLayout(),u=jy({},l);u.label=null;var c=e.getVisual("style");c.lineJoin="bevel";var h=e.getVisual("decal");h&&(c.decal=eB(h,r));var d=EW(a.getModel("itemStyle"),u,!0);jy(u,d),Ky(SC,(function(t){var e=o.ensureState(t),n=a.getModel([t,"itemStyle"]);e.style=n.getItemStyle();var i=EW(n,u);i&&(e.shape=i)})),t?(o.setShape(u),o.shape.r=l.r0,YD(o,{shape:{r:l.r}},n,e.dataIndex)):(jD(o,{shape:u},n),$D(o)),o.useStyle(c),this._updateLabel(n);var p=a.getShallow("cursor");p&&o.attr("cursor",p),this._seriesModel=n||this._seriesModel,this._ecModel=i||this._ecModel;var f=s.get("focus");uT(this,"ancestor"===f?e.getAncestorsIndices():"descendant"===f?e.getDescendantIndices():f,s.get("blurScope"),s.get("disabled"))},e.prototype._updateLabel=function(t){var e=this,n=this.node.getModel(),i=n.getModel("label"),r=this.node.getLayout(),o=r.endAngle-r.startAngle,a=(r.startAngle+r.endAngle)/2,s=Math.cos(a),l=Math.sin(a),u=this,c=u.getTextContent(),h=this.node.dataIndex,d=i.get("minAngle")/180*Math.PI,p=i.get("show")&&!(null!=d&&Math.abs(o)<d);function f(t,e){var n=t.get(e);return null==n?i.get(e):n}c.ignore=!p,Ky(MC,(function(i){var d="normal"===i?n.getModel("label"):n.getModel([i,"label"]),p="normal"===i,g=p?c:c.ensureState(i),v=t.getFormattedLabel(h,i);p&&(v=v||e.node.name),g.style=kk(d,{},null,"normal"!==i,!0),v&&(g.style.text=v);var m=d.get("show");null==m||p||(g.ignore=!m);var y,_=f(d,"position"),x=p?u:u.states[i],b=x.style.fill;x.textConfig={outsideFill:"inherit"===d.get("color")?b:null,inside:"outside"!==_};var w=f(d,"distance")||0,S=f(d,"align");"outside"===_?(y=r.r+w,S=a>Math.PI/2?"right":"left"):S&&"center"!==S?"left"===S?(y=r.r0+w,a>Math.PI/2&&(S="right")):"right"===S&&(y=r.r-w,a>Math.PI/2&&(S="left")):(y=o===2*Math.PI&&0===r.r0?0:(r.r+r.r0)/2,S="center"),g.style.align=S,g.style.verticalAlign=f(d,"verticalAlign")||"middle",g.x=y*s+r.cx,g.y=y*l+r.cy;var M=f(d,"rotate"),I=0;"radial"===M?(I=_A(-a))>Math.PI/2&&I<1.5*Math.PI&&(I+=Math.PI):"tangential"===M?(I=Math.PI/2-a)>Math.PI/2?I-=Math.PI:I<-Math.PI/2&&(I+=Math.PI):s_(M)&&(I=M*Math.PI/180),g.rotation=_A(I)})),c.dirtyStyle()},e}(oD);const s0=a0;var l0="sunburstRootToNode",u0="sunburstHighlight",c0="sunburstUnhighlight";const h0=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.render=function(t,e,n,i){var r=this;this.seriesModel=t,this.api=n,this.ecModel=e;var o=t.getData(),a=o.tree.root,s=t.getViewRoot(),l=this.group,u=t.get("renderLabelForZeroData"),c=[];s.eachNode((function(t){c.push(t)}));var h,d,p=this._oldChildren||[];!function(i,r){if(0===i.length&&0===r.length)return;function s(t){return t.getId()}function c(s,c){!function(i,r){u||!i||i.getValue()||(i=null);if(i!==a&&r!==a)if(r&&r.piece)i?(r.piece.updateData(!1,i,t,e,n),o.setItemGraphicEl(i.dataIndex,r.piece)):function(t){if(!t)return;t.piece&&(l.remove(t.piece),t.piece=null)}(r);else if(i){var s=new s0(i,t,e,n);l.add(s),o.setItemGraphicEl(i.dataIndex,s)}}(null==s?null:i[s],null==c?null:r[c])}new gz(r,i,s,s).add(c).update(c).remove(n_(c,null)).execute()}(c,p),h=a,(d=s).depth>0?(r.virtualPiece?r.virtualPiece.updateData(!1,h,t,e,n):(r.virtualPiece=new s0(h,t,e,n),l.add(r.virtualPiece)),d.piece.off("click"),r.virtualPiece.on("click",(function(t){r._rootToNode(d.parentNode)}))):r.virtualPiece&&(l.remove(r.virtualPiece),r.virtualPiece=null),this._initEvents(),this._oldChildren=c},e.prototype._initEvents=function(){var t=this;this.group.off("click"),this.group.on("click",(function(e){var n=!1;t.seriesModel.getViewRoot().eachNode((function(i){if(!n&&i.piece&&i.piece===e.target){var r=i.getModel().get("nodeClick");if("rootToNode"===r)t._rootToNode(i);else if("link"===r){var o=i.getModel(),a=o.get("link");if(a)KL(a,o.get("target",!0)||"_blank")}n=!0}}))}))},e.prototype._rootToNode=function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:l0,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},e.prototype.containPoint=function(t,e){var n=e.getData().getItemLayout(0);if(n){var i=t[0]-n.cx,r=t[1]-n.cy,o=Math.sqrt(i*i+r*r);return o<=n.r&&o>=n.r0}},e.type="sunburst",e}(fR);function d0(t){var e=0;Ky(t.children,(function(t){d0(t);var n=t.value;i_(n)&&(n=n[0]),e+=n}));var n=t.value;i_(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),i_(t.value)?t.value[0]=n:t.value=n}const p0=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreStyleOnData=!0,n}return my(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};d0(n);var i=this._levelModels=$y(t.levels||[],(function(t){return new tL(t,this,e)}),this),r=YX.createTree(n,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=r.getNodeByDataIndex(e),o=i[n.depth];return o&&(t.parentModel=o),t}))}));return r.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treePathInfo=KX(i,this),n},e.prototype.getLevelModel=function(t){return this._levelModels&&this._levelModels[t.depth]},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},e.prototype.enableAriaDecal=function(){iq(this)},e.type="series.sunburst",e.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},e}(nR);var f0=Math.PI/180;function g0(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.get("center"),i=t.get("radius");i_(i)||(i=[0,i]),i_(e)||(e=[e,e]);var r=n.getWidth(),o=n.getHeight(),a=Math.min(r,o),s=rM(e[0],r),l=rM(e[1],o),u=rM(i[0],a/2),c=rM(i[1],a/2),h=-t.get("startAngle")*f0,d=t.get("minAngle")*f0,p=t.getData().tree.root,f=t.getViewRoot(),g=f.depth,v=t.get("sort");null!=v&&v0(f,v);var m=0;Ky(f.children,(function(t){!isNaN(t.getValue())&&m++}));var y=f.getValue(),_=Math.PI/(y||m)*2,x=f.depth>0,b=f.height-(x?-1:1),w=(c-u)/(b||1),S=t.get("clockwise"),M=t.get("stillShowZeroSum"),I=S?1:-1,A=function(e,n){if(e){var i=n;if(e!==p){var r=e.getValue(),o=0===y&&M?_:r*_;o<d&&(o=d),i=n+I*o;var c=e.depth-g-(x?-1:1),h=u+w*c,f=u+w*(c+1),v=t.getLevelModel(e);if(v){var m=v.get("r0",!0),b=v.get("r",!0),C=v.get("radius",!0);null!=C&&(m=C[0],b=C[1]),null!=m&&(h=rM(m,a/2)),null!=b&&(f=rM(b,a/2))}e.setLayout({angle:o,startAngle:n,endAngle:i,clockwise:S,cx:s,cy:l,r0:h,r:f})}if(e.children&&e.children.length){var T=0;Ky(e.children,(function(t){T+=A(t,n+T)}))}return i-n}};if(x){var C=u,T=u+w,D=2*Math.PI;p.setLayout({angle:D,startAngle:h,endAngle:h+D,clockwise:S,cx:s,cy:l,r0:C,r:T})}A(f,h)}))}function v0(t,e){var n=t.children||[];t.children=function(t,e){if(r_(e)){var n=$y(t,(function(t,e){var n=t.getValue();return{params:{depth:t.depth,height:t.height,dataIndex:t.dataIndex,getValue:function(){return n}},index:e}}));return n.sort((function(t,n){return e(t.params,n.params)})),$y(n,(function(e){return t[e.index]}))}var i="asc"===e;return t.sort((function(t,e){var n=(t.getValue()-e.getValue())*(i?1:-1);return 0===n?(t.dataIndex-e.dataIndex)*(i?-1:1):n}))}(n,e),n.length&&Ky(t.children,(function(t){v0(t,e)}))}function m0(t){var e={};t.eachSeriesByType("sunburst",(function(t){var n=t.getData(),i=n.tree;i.eachNode((function(r){var o=r.getModel().getModel("itemStyle").getItemStyle();o.fill||(o.fill=function(t,n,i){for(var r=t;r&&r.depth>1;)r=r.parentNode;var o=n.getColorFromPalette(r.name||r.dataIndex+"",e);return t.depth>1&&o_(o)&&(o=uw(o,(t.depth-1)/(i-1)*.5)),o}(r,t,i.root.height)),jy(n.ensureUniqueItemVisual(r.dataIndex,"style"),o)}))}))}var y0={color:"fill",borderColor:"stroke"},_0={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},x0=FM();const b0=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},e.prototype.getInitialData=function(t,e){return Zz(null,this)},e.prototype.getDataParams=function(e,n,i){var r=t.prototype.getDataParams.call(this,e,n);return i&&(r.info=x0(i).info),r},e.type="series.custom",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},e}(nR);function w0(t,e){return e=e||[0,0],$y(["x","y"],(function(n,i){var r=this.getAxis(n),o=e[i],a=t[i]/2;return"category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-a)-r.dataToCoord(o+a))}),this)}function S0(t,e){return e=e||[0,0],$y([0,1],(function(n){var i=e[n],r=t[n]/2,o=[],a=[];return o[n]=i-r,a[n]=i+r,o[1-n]=a[1-n]=e[1-n],Math.abs(this.dataToPoint(o)[n]-this.dataToPoint(a)[n])}),this)}function M0(t,e){var n=this.getAxis(),i=e instanceof Array?e[0]:e,r=(t instanceof Array?t[0]:t)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(i-r)-n.dataToCoord(i+r))}function I0(t,e){return e=e||[0,0],$y(["Radius","Angle"],(function(n,i){var r=this["get"+n+"Axis"](),o=e[i],a=t[i]/2,s="category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-a)-r.dataToCoord(o+a));return"Angle"===n&&(s=s*Math.PI/180),s}),this)}function A0(t,e,n,i){return t&&(t.legacy||!1!==t.legacy&&!n&&!i&&"tspan"!==e&&("text"===e||L_(t,"text")))}function C0(t,e,n){var i,r,o,a=t;if("text"===e)o=a;else{o={},L_(a,"text")&&(o.text=a.text),L_(a,"rich")&&(o.rich=a.rich),L_(a,"textFill")&&(o.fill=a.textFill),L_(a,"textStroke")&&(o.stroke=a.textStroke),L_(a,"fontFamily")&&(o.fontFamily=a.fontFamily),L_(a,"fontSize")&&(o.fontSize=a.fontSize),L_(a,"fontStyle")&&(o.fontStyle=a.fontStyle),L_(a,"fontWeight")&&(o.fontWeight=a.fontWeight),r={type:"text",style:o,silent:!0},i={};var s=L_(a,"textPosition");n?i.position=s?a.textPosition:"inside":s&&(i.position=a.textPosition),L_(a,"textPosition")&&(i.position=a.textPosition),L_(a,"textOffset")&&(i.offset=a.textOffset),L_(a,"textRotation")&&(i.rotation=a.textRotation),L_(a,"textDistance")&&(i.distance=a.textDistance)}return T0(o,t),Ky(o.rich,(function(t){T0(t,t)})),{textConfig:i,textContent:r}}function T0(t,e){e&&(e.font=e.textFont||e.font,L_(e,"textStrokeWidth")&&(t.lineWidth=e.textStrokeWidth),L_(e,"textAlign")&&(t.align=e.textAlign),L_(e,"textVerticalAlign")&&(t.verticalAlign=e.textVerticalAlign),L_(e,"textLineHeight")&&(t.lineHeight=e.textLineHeight),L_(e,"textWidth")&&(t.width=e.textWidth),L_(e,"textHeight")&&(t.height=e.textHeight),L_(e,"textBackgroundColor")&&(t.backgroundColor=e.textBackgroundColor),L_(e,"textPadding")&&(t.padding=e.textPadding),L_(e,"textBorderColor")&&(t.borderColor=e.textBorderColor),L_(e,"textBorderWidth")&&(t.borderWidth=e.textBorderWidth),L_(e,"textBorderRadius")&&(t.borderRadius=e.textBorderRadius),L_(e,"textBoxShadowColor")&&(t.shadowColor=e.textBoxShadowColor),L_(e,"textBoxShadowBlur")&&(t.shadowBlur=e.textBoxShadowBlur),L_(e,"textBoxShadowOffsetX")&&(t.shadowOffsetX=e.textBoxShadowOffsetX),L_(e,"textBoxShadowOffsetY")&&(t.shadowOffsetY=e.textBoxShadowOffsetY))}function D0(t,e,n){var i=t;i.textPosition=i.textPosition||n.position||"inside",null!=n.offset&&(i.textOffset=n.offset),null!=n.rotation&&(i.textRotation=n.rotation),null!=n.distance&&(i.textDistance=n.distance);var r=i.textPosition.indexOf("inside")>=0,o=t.fill||"#000";k0(i,e);var a=null==i.textFill;return r?a&&(i.textFill=n.insideFill||"#fff",!i.textStroke&&n.insideStroke&&(i.textStroke=n.insideStroke),!i.textStroke&&(i.textStroke=o),null==i.textStrokeWidth&&(i.textStrokeWidth=2)):(a&&(i.textFill=t.fill||n.outsideFill||"#000"),!i.textStroke&&n.outsideStroke&&(i.textStroke=n.outsideStroke)),i.text=e.text,i.rich=e.rich,Ky(e.rich,(function(t){k0(t,t)})),i}function k0(t,e){e&&(L_(e,"fill")&&(t.textFill=e.fill),L_(e,"stroke")&&(t.textStroke=e.fill),L_(e,"lineWidth")&&(t.textStrokeWidth=e.lineWidth),L_(e,"font")&&(t.font=e.font),L_(e,"fontStyle")&&(t.fontStyle=e.fontStyle),L_(e,"fontWeight")&&(t.fontWeight=e.fontWeight),L_(e,"fontSize")&&(t.fontSize=e.fontSize),L_(e,"fontFamily")&&(t.fontFamily=e.fontFamily),L_(e,"align")&&(t.textAlign=e.align),L_(e,"verticalAlign")&&(t.textVerticalAlign=e.verticalAlign),L_(e,"lineHeight")&&(t.textLineHeight=e.lineHeight),L_(e,"width")&&(t.textWidth=e.width),L_(e,"height")&&(t.textHeight=e.height),L_(e,"backgroundColor")&&(t.textBackgroundColor=e.backgroundColor),L_(e,"padding")&&(t.textPadding=e.padding),L_(e,"borderColor")&&(t.textBorderColor=e.borderColor),L_(e,"borderWidth")&&(t.textBorderWidth=e.borderWidth),L_(e,"borderRadius")&&(t.textBorderRadius=e.borderRadius),L_(e,"shadowColor")&&(t.textBoxShadowColor=e.shadowColor),L_(e,"shadowBlur")&&(t.textBoxShadowBlur=e.shadowBlur),L_(e,"shadowOffsetX")&&(t.textBoxShadowOffsetX=e.shadowOffsetX),L_(e,"shadowOffsetY")&&(t.textBoxShadowOffsetY=e.shadowOffsetY),L_(e,"textShadowColor")&&(t.textShadowColor=e.textShadowColor),L_(e,"textShadowBlur")&&(t.textShadowBlur=e.textShadowBlur),L_(e,"textShadowOffsetX")&&(t.textShadowOffsetX=e.textShadowOffsetX),L_(e,"textShadowOffsetY")&&(t.textShadowOffsetY=e.textShadowOffsetY))}var L0={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},P0=t_(L0);Jy(AS,(function(t,e){return t[e]=1,t}),{}),AS.join(", ");var O0=["","style","shape","extra"],E0=FM();function R0(t,e,n,i,r){var o=t+"Animation",a=WD(t,i,r)||{},s=E0(e).userDuring;return a.duration>0&&(a.during=s?e_(H0,{el:e,userDuring:s}):null,a.setToFinal=!0,a.scope=t),jy(a,n[o]),a}function N0(t,e,n,i){var r=(i=i||{}).dataIndex,o=i.isInit,a=i.clearStyle,s=n.isAnimationEnabled(),l=E0(t),u=e.style;l.userDuring=e.during;var c={},h={};if(function(t,e,n){for(var i=0;i<P0.length;i++){var r=P0[i],o=L0[r],a=e[r];a&&(n[o[0]]=a[0],n[o[1]]=a[1])}for(i=0;i<AS.length;i++){var s=AS[i];null!=e[s]&&(n[s]=e[s])}}(0,e,h),U0("shape",e,h),U0("extra",e,h),!o&&s&&(function(t,e,n){for(var i=e.transition,r=V0(i)?AS:TM(i||[]),o=0;o<r.length;o++){var a=r[o];if("style"!==a&&"shape"!==a&&"extra"!==a){var s=t[a];n[a]=s}}}(t,e,c),W0("shape",t,e,c),W0("extra",t,e,c),function(t,e,n,i){if(!n)return;var r,o=t.style;if(o){var a=n.transition,s=e.transition;if(a&&!V0(a)){var l=TM(a);!r&&(r=i.style={});for(var u=0;u<l.length;u++){var c=o[f=l[u]];r[f]=c}}else if(t.getAnimationStyleProps&&(V0(s)||V0(a)||Xy(s,"style")>=0)){var h=t.getAnimationStyleProps(),d=h?h.style:null;if(d){!r&&(r=i.style={});var p=t_(n);for(u=0;u<p.length;u++){var f;if(d[f=p[u]]){c=o[f];r[f]=c}}}}}}(t,e,u,c)),h.style=u,function(t,e,n){var i=e.style;if(!t.isGroup&&i){if(n){t.useStyle({});for(var r=t.animators,o=0;o<r.length;o++){var a=r[o];"style"===a.targetName&&a.changeTarget(t.style)}}t.setStyle(i)}e&&(e.style=null,e&&t.attr(e),e.style=i)}(t,h,a),function(t,e){L_(e,"silent")&&(t.silent=e.silent),L_(e,"ignore")&&(t.ignore=e.ignore),t instanceof EI&&L_(e,"invisible")&&(t.invisible=e.invisible);t instanceof NA&&L_(e,"autoBatch")&&(t.autoBatch=e.autoBatch)}(t,e),s)if(o){var d={};Ky(O0,(function(t){var n=t?e[t]:e;n&&n.enterFrom&&(t&&(d[t]=d[t]||{}),jy(t?d[t]:d,n.enterFrom))}));var p=R0("enter",t,e,n,r);p.duration>0&&t.animateFrom(d,p)}else!function(t,e,n,i,r){if(r){var o=R0("update",t,e,i,n);o.duration>0&&t.animateFrom(r,o)}}(t,e,r||0,n,c);B0(t,e),u?t.dirty():t.markRedraw()}function B0(t,e){for(var n=E0(t).leaveToProps,i=0;i<O0.length;i++){var r=O0[i],o=r?e[r]:e;o&&o.leaveTo&&(n||(n=E0(t).leaveToProps={}),r&&(n[r]=n[r]||{}),jy(r?n[r]:n,o.leaveTo))}}function z0(t,e,n,i){if(t){var r=t.parent,o=E0(t).leaveToProps;if(o){var a=R0("update",t,e,n,0);a.done=function(){r.remove(t),i&&i()},t.animateTo(o,a)}else r.remove(t),i&&i()}}function V0(t){return"all"===t}var F0={},G0={setTransform:function(t,e){return F0.el[t]=e,this},getTransform:function(t){return F0.el[t]},setShape:function(t,e){var n=F0.el;return(n.shape||(n.shape={}))[t]=e,n.dirtyShape&&n.dirtyShape(),this},getShape:function(t){var e=F0.el.shape;if(e)return e[t]},setStyle:function(t,e){var n=F0.el,i=n.style;return i&&(i[t]=e,n.dirtyStyle&&n.dirtyStyle()),this},getStyle:function(t){var e=F0.el.style;if(e)return e[t]},setExtra:function(t,e){return(F0.el.extra||(F0.el.extra={}))[t]=e,this},getExtra:function(t){var e=F0.el.extra;if(e)return e[t]}};function H0(){var t=this,e=t.el;if(e){var n=E0(e).userDuring,i=t.userDuring;n===i?(F0.el=e,i(G0)):t.el=t.userDuring=null}}function W0(t,e,n,i){var r=n[t];if(r){var o,a=e[t];if(a){var s=n.transition,l=r.transition;if(l)if(!o&&(o=i[t]={}),V0(l))jy(o,a);else for(var u=TM(l),c=0;c<u.length;c++){var h=a[p=u[c]];o[p]=h}else if(V0(s)||Xy(s,t)>=0){!o&&(o=i[t]={});var d=t_(a);for(c=0;c<d.length;c++){var p;h=a[p=d[c]];j0(r[p],h)&&(o[p]=h)}}}}}function U0(t,e,n){var i=e[t];if(i)for(var r=n[t]={},o=t_(i),a=0;a<o.length;a++){var s=o[a];r[s]=zw(i[s])}}function j0(t,e){return Zy(t)?t!==e:null!=t&&isFinite(t)}var Y0=FM(),X0=["percent","easing","shape","style","extra"];function q0(t){t.stopAnimation("keyframe"),t.attr(Y0(t))}function Z0(t,e,n){if(n.isAnimationEnabled()&&e)if(i_(e))Ky(e,(function(e){Z0(t,e,n)}));else{var i=e.keyframes,r=e.duration;if(n&&null==r){var o=WD("enter",n,0);r=o&&o.duration}if(i&&r){var a=Y0(t);Ky(O0,(function(n){var o;n&&!t[n]||(i.sort((function(t,e){return t.percent-e.percent})),Ky(i,(function(i){var s=t.animators,l=n?i[n]:i;if(l){var u=t_(l);if(n||(u=Qy(u,(function(t){return Xy(X0,t)<0}))),u.length){o||((o=t.animate(n,e.loop,!0)).scope="keyframe");for(var c=0;c<s.length;c++)s[c]!==o&&s[c].targetName===o.targetName&&s[c].stopTracks(u);n&&(a[n]=a[n]||{});var h=n?a[n]:a;Ky(u,(function(e){h[e]=((n?t[n]:t)||{})[e]})),o.whenWithKeys(r*i.percent,l,u,i.easing)}}})),o&&o.delay(e.delay||0).duration(r).start(e.easing))}))}}}var K0="emphasis",$0="normal",J0="blur",Q0="select",t1=[$0,K0,J0,Q0],e1={normal:["itemStyle"],emphasis:[K0,"itemStyle"],blur:[J0,"itemStyle"],select:[Q0,"itemStyle"]},n1={normal:["label"],emphasis:[K0,"label"],blur:[J0,"label"],select:[Q0,"label"]},i1=["x","y"],r1="e\0\0",o1={normal:{},emphasis:{},blur:{},select:{}},a1={cartesian2d:function(t){var e=t.master.getRect();return{coordSys:{type:"cartesian2d",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:e_(w0,t)}}},geo:function(t){var e=t.getBoundingRect();return{coordSys:{type:"geo",x:e.x,y:e.y,width:e.width,height:e.height,zoom:t.getZoom()},api:{coord:function(e){return t.dataToPoint(e)},size:e_(S0,t)}}},single:function(t){var e=t.getRect();return{coordSys:{type:"singleAxis",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:e_(M0,t)}}},polar:function(t){var e=t.getRadiusAxis(),n=t.getAngleAxis(),i=e.getExtent();return i[0]>i[1]&&i.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:i[1],r0:i[0]},api:{coord:function(i){var r=e.dataToRadius(i[0]),o=n.dataToAngle(i[1]),a=t.coordToPoint([r,o]);return a.push(r,o*Math.PI/180),a},size:e_(I0,t)}}},calendar:function(t){var e=t.getRect(),n=t.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(e,n){return t.dataToPoint(e,n)}}}}};function s1(t){return t instanceof NA}function l1(t){return t instanceof EI}const u1=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.render=function(t,e,n,i){this._progressiveEls=null;var r=this._data,o=t.getData(),a=this.group,s=f1(t,o,e,n);r||a.removeAll(),o.diff(r).add((function(e){v1(n,null,e,s(e,i),t,a,o)})).remove((function(e){var n=r.getItemGraphicEl(e);n&&z0(n,x0(n).option,t)})).update((function(e,l){var u=r.getItemGraphicEl(l);v1(n,u,e,s(e,i),t,a,o)})).execute();var l=t.get("clip",!0)?uW(t.coordinateSystem,!1,t):null;l?a.setClipPath(l):a.removeClipPath(),this._data=o},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll(),this._data=null},e.prototype.incrementalRender=function(t,e,n,i,r){var o=e.getData(),a=f1(e,o,n,i),s=this._progressiveEls=[];function l(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}for(var u=t.start;u<t.end;u++){var c=v1(null,null,u,a(u,r),e,this.group,o);c&&(c.traverse(l),s.push(c))}},e.prototype.eachRendered=function(t){Sk(this._progressiveEls||this.group,t)},e.prototype.filterForExposedEvent=function(t,e,n,i){var r=e.element;if(null==r||n.name===r)return!0;for(;(n=n.__hostTarget||n.parent)&&n!==this.group;)if(n.name===r)return!0;return!1},e.type="custom",e}(fR);function c1(t){var e,n=t.type;if("path"===n){var i=t.shape,r=null!=i.width&&null!=i.height?{x:i.x||0,y:i.y||0,width:i.width,height:i.height}:null,o=A1(i);e=rk(o,null,r,i.layout||"center"),x0(e).customPathData=o}else if("image"===n)e=new WA({}),x0(e).customImagePath=t.style.image;else if("text"===n)e=new pC({});else if("group"===n)e=new KS;else{if("compoundPath"===n)throw new Error('"compoundPath" is not supported yet.');var a=ik(n);if(!a){MM("")}e=new a}return x0(e).customGraphicType=n,e.name=t.name,e.z2EmphasisLift=1,e.z2SelectLift=1,e}function h1(t,e,n,i,r,o,a){q0(e);var s=r&&r.normal.cfg;s&&e.setTextConfig(s),i&&null==i.transition&&(i.transition=i1);var l=i&&i.style;if(l){if("text"===e.type){var u=l;L_(u,"textFill")&&(u.fill=u.textFill),L_(u,"textStroke")&&(u.stroke=u.textStroke)}var c=void 0,h=s1(e)?l.decal:null;t&&h&&(h.dirty=!0,c=eB(h,t)),l.__decalPattern=c}l1(e)&&(l&&(c=l.__decalPattern)&&(l.decal=c));N0(e,i,o,{dataIndex:n,isInit:a,clearStyle:!0}),Z0(e,i.keyframeAnimation,o)}function d1(t,e,n,i,r){var o=e.isGroup?null:e,a=r&&r[t].cfg;if(o){var s=o.ensureState(t);if(!1===i){var l=o.getState(t);l&&(l.style=null)}else s.style=i||null;a&&(s.textConfig=a),YC(o)}}function p1(t,e,n){var i=n===$0,r=i?e:x1(e,n),o=r?r.z2:null;null!=o&&((i?t:t.ensureState(n)).z2=o||0)}function f1(t,e,n,i){var r=t.get("renderItem"),o=t.coordinateSystem,a={};o&&(a=o.prepareCustoms?o.prepareCustoms(o):a1[o.type](o));for(var s,l,u=Yy({getWidth:i.getWidth,getHeight:i.getHeight,getZr:i.getZr,getDevicePixelRatio:i.getDevicePixelRatio,value:function(t,n){return null==n&&(n=s),e.getStore().get(e.getDimensionIndex(t||0),n)},style:function(n,i){null==i&&(i=s);var r=e.getItemVisual(i,"style"),o=r&&r.fill,a=r&&r.opacity,l=y(i,$0).getItemStyle();null!=o&&(l.fill=o),null!=a&&(l.opacity=a);var u={inheritColor:o_(o)?o:"#000"},c=_(i,$0),h=kk(c,null,u,!1,!0);h.text=c.getShallow("show")?g_(t.getFormattedLabel(i,$0),GH(e,i)):null;var d=Lk(c,u,!1);return b(n,l),l=D0(l,h,d),n&&x(l,n),l.legacy=!0,l},ordinalRawValue:function(t,n){null==n&&(n=s),t=t||0;var i=e.getDimensionInfo(t);if(!i){var r=e.getDimensionIndex(t);return r>=0?e.getStore().get(r,n):void 0}var o=e.get(i.name,n),a=i&&i.ordinalMeta;return a?a.categories[o]:o},styleEmphasis:function(n,i){null==i&&(i=s);var r=y(i,K0).getItemStyle(),o=_(i,K0),a=kk(o,null,null,!0,!0);a.text=o.getShallow("show")?v_(t.getFormattedLabel(i,K0),t.getFormattedLabel(i,$0),GH(e,i)):null;var l=Lk(o,null,!0);return b(n,r),r=D0(r,a,l),n&&x(r,n),r.legacy=!0,r},visual:function(t,n){if(null==n&&(n=s),L_(y0,t)){var i=e.getItemVisual(n,"style");return i?i[y0[t]]:null}if(L_(_0,t))return e.getItemVisual(n,t)},barLayout:function(t){if("cartesian2d"===o.type){return function(t){var e=[],n=t.axis,i="axis0";if("category"===n.type){for(var r=n.getBandWidth(),o=0;o<t.count;o++)e.push(Yy({bandWidth:r,axisKey:i,stackId:mV+o},t));var a=wV(e),s=[];for(o=0;o<t.count;o++){var l=a[i][mV+o];l.offsetCenter=l.offset+l.width/2,s.push(l)}return s}}(Yy({axis:o.getBaseAxis()},t))}},currentSeriesIndices:function(){return n.getCurrentSeriesIndices()},font:function(t){return Nk(t,n)}},a.api||{}),c={context:{},seriesId:t.id,seriesName:t.name,seriesIndex:t.seriesIndex,coordSys:a.coordSys,dataInsideLength:e.count(),encode:g1(t.getData())},h={},d={},p={},f={},g=0;g<t1.length;g++){var v=t1[g];p[v]=t.getModel(e1[v]),f[v]=t.getModel(n1[v])}function m(t){return t===s?l||(l=e.getItemModel(t)):e.getItemModel(t)}function y(t,n){return e.hasItemOption?t===s?h[n]||(h[n]=m(t).getModel(e1[n])):m(t).getModel(e1[n]):p[n]}function _(t,n){return e.hasItemOption?t===s?d[n]||(d[n]=m(t).getModel(n1[n])):m(t).getModel(n1[n]):f[n]}return function(t,n){return s=t,l=null,h={},d={},r&&r(Yy({dataIndexInside:t,dataIndex:e.getRawIndex(t),actionType:n?n.type:null},c),u)};function x(t,e){for(var n in e)L_(e,n)&&(t[n]=e[n])}function b(t,e){t&&(t.textFill&&(e.textFill=t.textFill),t.textPosition&&(e.textPosition=t.textPosition))}}function g1(t){var e={};return Ky(t.dimensions,(function(n){var i=t.getDimensionInfo(n);if(!i.isExtraCoord){var r=i.coordDim;(e[r]=e[r]||[])[i.coordDimIndex]=t.getDimensionIndex(n)}})),e}function v1(t,e,n,i,r,o,a){if(i){var s=m1(t,e,n,i,r,o);return s&&a.setItemGraphicEl(n,s),s&&uT(s,i.focus,i.blurScope,i.emphasisDisabled),s}o.remove(e)}function m1(t,e,n,i,r,o){var a=-1,s=e;e&&y1(e,i,r)&&(a=Xy(o.childrenRef(),e),e=null);var l,u,c=!e,h=e;h?h.clearStates():(h=c1(i),s&&(l=s,(u=h).copyTransform(l),l1(u)&&l1(l)&&(u.setStyle(l.style),u.z=l.z,u.z2=l.z2,u.zlevel=l.zlevel,u.invisible=l.invisible,u.ignore=l.ignore,s1(u)&&s1(l)&&u.setShape(l.shape)))),!1===i.morph?h.disableMorphing=!0:h.disableMorphing&&(h.disableMorphing=!1),o1.normal.cfg=o1.normal.conOpt=o1.emphasis.cfg=o1.emphasis.conOpt=o1.blur.cfg=o1.blur.conOpt=o1.select.cfg=o1.select.conOpt=null,o1.isLegacy=!1,function(t,e,n,i,r,o){if(t.isGroup)return;_1(n,null,o),_1(n,K0,o);var a=o.normal.conOpt,s=o.emphasis.conOpt,l=o.blur.conOpt,u=o.select.conOpt;if(null!=a||null!=s||null!=u||null!=l){var c=t.getTextContent();if(!1===a)c&&t.removeTextContent();else{a=o.normal.conOpt=a||{type:"text"},c?c.clearStates():(c=c1(a),t.setTextContent(c)),h1(null,c,e,a,null,i,r);for(var h=a&&a.style,d=0;d<t1.length;d++){var p=t1[d];if(p!==$0){var f=o[p].conOpt;d1(p,c,0,b1(a,f,p),null)}}h?c.dirty():c.markRedraw()}}}(h,n,i,r,c,o1),function(t,e,n,i,r){var o=n.clipPath;if(!1===o)t&&t.getClipPath()&&t.removeClipPath();else if(o){var a=t.getClipPath();a&&y1(a,o,i)&&(a=null),a||(a=c1(o),t.setClipPath(a)),h1(null,a,e,o,null,i,r)}}(h,n,i,r,c),h1(t,h,n,i,o1,r,c),L_(i,"info")&&(x0(h).info=i.info);for(var d=0;d<t1.length;d++){var p=t1[d];if(p!==$0){var f=x1(i,p);d1(p,h,0,b1(i,f,p),o1)}}return function(t,e,n){if(!t.isGroup){var i=t,r=n.currentZ,o=n.currentZLevel;i.z=r,i.zlevel=o;var a=e.z2;null!=a&&(i.z2=a||0);for(var s=0;s<t1.length;s++)p1(i,e,t1[s])}}(h,i,r),"group"===i.type&&function(t,e,n,i,r){var o=i.children,a=o?o.length:0,s=i.$mergeChildren,l="byName"===s||i.diffChildrenByName,u=!1===s;if(!a&&!l&&!u)return;if(l)return c={api:t,oldChildren:e.children()||[],newChildren:o||[],dataIndex:n,seriesModel:r,group:e},void new gz(c.oldChildren,c.newChildren,S1,S1,c).add(M1).update(M1).remove(I1).execute();var c;u&&e.removeAll();for(var h=0;h<a;h++){var d=o[h],p=e.childAt(h);d?(null==d.ignore&&(d.ignore=!1),m1(t,p,n,d,r,e)):p.ignore=!0}for(var f=e.childCount()-1;f>=h;f--){var g=e.childAt(f);w1(e,g,r)}}(t,h,n,i,r),a>=0?o.replaceAt(h,a):o.add(h),h}function y1(t,e,n){var i,r=x0(t),o=e.type,a=e.shape,s=e.style;return n.isUniversalTransitionEnabled()||null!=o&&o!==r.customGraphicType||"path"===o&&((i=a)&&(L_(i,"pathData")||L_(i,"d")))&&A1(a)!==r.customPathData||"image"===o&&L_(s,"image")&&s.image!==r.customImagePath}function _1(t,e,n){var i=e?x1(t,e):t,r=e?b1(t,i,K0):t.style,o=t.type,a=i?i.textConfig:null,s=t.textContent,l=s?e?x1(s,e):s:null;if(r&&(n.isLegacy||A0(r,o,!!a,!!l))){n.isLegacy=!0;var u=C0(r,o,!e);!a&&u.textConfig&&(a=u.textConfig),!l&&u.textContent&&(l=u.textContent)}if(!e&&l){var c=l;!c.type&&(c.type="text")}var h=e?n[e]:n.normal;h.cfg=a,h.conOpt=l}function x1(t,e){return e?t?t[e]:null:t}function b1(t,e,n){var i=e&&e.style;return null==i&&n===K0&&t&&(i=t.styleEmphasis),i}function w1(t,e,n){e&&z0(e,x0(t).option,n)}function S1(t,e){var n=t&&t.name;return null!=n?n:r1+e}function M1(t,e){var n=this.context,i=null!=t?n.newChildren[t]:null,r=null!=e?n.oldChildren[e]:null;m1(n.api,r,n.dataIndex,i,n.seriesModel,n.group)}function I1(t){var e=this.context,n=e.oldChildren[t];n&&z0(n,x0(n).option,e.seriesModel)}function A1(t){return t&&(t.pathData||t.d)}var C1=FM(),T1=Hy,D1=e_;function k1(t,e,n,i){L1(C1(n).lastProp,i)||(C1(n).lastProp=i,e?jD(n,i,t):(n.stopAnimation(),n.attr(i)))}function L1(t,e){if(l_(t)&&l_(e)){var n=!0;return Ky(e,(function(e,i){n=n&&L1(t[i],e)})),!!n}return t===e}function P1(t,e){t[e.get(["label","show"])?"show":"hide"]()}function O1(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function E1(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)}))}const R1=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(t,e,n,i){var r=e.get("value"),o=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,i||this._lastValue!==r||this._lastStatus!==o){this._lastValue=r,this._lastStatus=o;var a=this._group,s=this._handle;if(!o||"hide"===o)return a&&a.hide(),void(s&&s.hide());a&&a.show(),s&&s.show();var l={};this.makeElOption(l,r,t,e,n);var u=l.graphicKey;u!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=u;var c=this._moveAnimation=this.determineAnimation(t,e);if(a){var h=n_(k1,e,c);this.updatePointerEl(a,l,h),this.updateLabelEl(a,l,h,e)}else a=this._group=new KS,this.createPointerEl(a,l,t,e),this.createLabelEl(a,l,t,e),n.getZr().add(a);E1(a,e,!0),this._renderHandle(r)}},t.prototype.remove=function(t){this.clear(t)},t.prototype.dispose=function(t){this.clear(t)},t.prototype.determineAnimation=function(t,e){var n=e.get("animation"),i=t.axis,r="category"===i.type,o=e.get("snap");if(!o&&!r)return!1;if("auto"===n||null==n){var a=this.animationThreshold;if(r&&i.getBandWidth()>a)return!0;if(o){var s=rj(t).seriesDataCount,l=i.getExtent();return Math.abs(l[0]-l[1])/s>a}return!1}return!0===n},t.prototype.makeElOption=function(t,e,n,i,r){},t.prototype.createPointerEl=function(t,e,n,i){var r=e.pointer;if(r){var o=C1(t).pointerEl=new Mk[r.type](T1(e.pointer));t.add(o)}},t.prototype.createLabelEl=function(t,e,n,i){if(e.label){var r=C1(t).labelEl=new pC(T1(e.label));t.add(r),P1(r,i)}},t.prototype.updatePointerEl=function(t,e,n){var i=C1(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),n(i,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,n,i){var r=C1(t).labelEl;r&&(r.setStyle(e.label.style),n(r,{x:e.label.x,y:e.label.y}),P1(r,i))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,i=this._api.getZr(),r=this._handle,o=n.getModel("handle"),a=n.get("status");if(!o.get("show")||!a||"hide"===a)return r&&i.remove(r),void(this._handle=null);this._handle||(e=!0,r=this._handle=mk(o.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){_x(t.event)},onmousedown:D1(this._onHandleDragMove,this,0,0),drift:D1(this._onHandleDragMove,this),ondragend:D1(this._onHandleDragEnd,this)}),i.add(r)),E1(r,n,!1),r.setStyle(o.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=o.get("size");i_(s)||(s=[s,s]),r.scaleX=s[0]/2,r.scaleY=s[1]/2,_R(this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){k1(this._axisPointerModel,!e&&this._moveAnimation,this._handle,O1(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(O1(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(O1(i)),C1(n).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){if(this._dragging=!1,this._handle){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,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),xR(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}},t}();function N1(t){var e,n=t.get("type"),i=t.getModel(n+"Style");return"line"===n?(e=i.getLineStyle()).fill=null:"shadow"===n&&((e=i.getAreaStyle()).stroke=null),e}function B1(t,e,n,i,r){var o=z1(n.get("value"),e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),a=n.getModel("label"),s=UL(a.get("padding")||0),l=a.getFont(),u=PS(o,l),c=r.position,h=u.width+s[1]+s[3],d=u.height+s[0]+s[2],p=r.align;"right"===p&&(c[0]-=h),"center"===p&&(c[0]-=h/2);var f=r.verticalAlign;"bottom"===f&&(c[1]-=d),"middle"===f&&(c[1]-=d/2),function(t,e,n,i){var r=i.getWidth(),o=i.getHeight();t[0]=Math.min(t[0]+e,r)-e,t[1]=Math.min(t[1]+n,o)-n,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}(c,h,d,i);var g=a.get("backgroundColor");g&&"auto"!==g||(g=e.get(["axisLine","lineStyle","color"])),t.label={x:c[0],y:c[1],style:kk(a,{text:o,font:l,fill:a.getTextColor(),padding:s,backgroundColor:g}),z2:10}}function z1(t,e,n,i,r){t=e.scale.parse(t);var o=e.scale.getLabel({value:t},{precision:r.precision}),a=r.formatter;if(a){var s={value:nF(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};Ky(i,(function(t){var e=n.getSeriesByIndex(t.seriesIndex),i=t.dataIndexInside,r=e&&e.getDataParams(i);r&&s.seriesData.push(r)})),o_(a)?o=a.replace("{value}",o):r_(a)&&(o=a(s))}return o}function V1(t,e,n){var i=[1,0,0,1,0,0];return Dx(i,i,n.rotation),Tx(i,i,n.position),dk([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}function F1(t,e,n,i,r,o){var a=ej.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get(["label","margin"]),B1(e,i,r,o,{position:V1(i.axis,t,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function G1(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}}function H1(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}function W1(t,e,n,i,r,o){return{cx:t,cy:e,r0:n,r:i,startAngle:r,endAngle:o,clockwise:!0}}var U1=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return my(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.grid,s=i.get("type"),l=j1(a,o).getOtherAxis(o).getGlobalExtent(),u=o.toGlobalCoord(o.dataToCoord(e,!0));if(s&&"none"!==s){var c=N1(i),h=Y1[s](o,u,l);h.style=c,t.graphicKey=h.type,t.pointer=h}F1(e,t,zU(a.model,n),n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=zU(e.axis.grid.model,e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=V1(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.grid,a=r.getGlobalExtent(!0),s=j1(o,r).getOtherAxis(r).getGlobalExtent(),l="x"===r.dim?0:1,u=[t.x,t.y];u[l]+=e[l],u[l]=Math.min(a[1],u[l]),u[l]=Math.max(a[0],u[l]);var c=(s[1]+s[0])/2,h=[c,c];h[l]=u[l];return{x:u[0],y:u[1],rotation:t.rotation,cursorPoint:h,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][l]}},e}(R1);function j1(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var Y1={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:G1([e,n[0]],[e,n[1]],X1(t))}},shadow:function(t,e,n){var i=Math.max(1,t.getBandWidth()),r=n[1]-n[0];return{type:"Rect",shape:H1([e-i/2,n[0]],[i,r],X1(t))}}};function X1(t){return"x"===t.dim?0:1}const q1=U1;const Z1=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.type="axisPointer",e.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},e}(cP);var K1=FM(),$1=Ky;function J1(t,e,n){if(!xy.node){var i=e.getZr();K1(i).records||(K1(i).records={}),function(t,e){if(K1(t).initialized)return;function n(n,i){t.on(n,(function(n){var r=function(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}}(e);$1(K1(t).records,(function(t){t&&i(t,n,r.dispatchAction)})),function(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))}(r.pendings,e)}))}K1(t).initialized=!0,n("click",n_(t2,"click")),n("mousemove",n_(t2,"mousemove")),n("globalout",Q1)}(i,e),(K1(i).records[t]||(K1(i).records[t]={})).handler=n}}function Q1(t,e,n){t.handler("leave",null,n)}function t2(t,e,n,i){e.handler(t,n,i)}function e2(t,e){if(!xy.node){var n=e.getZr();(K1(n).records||{})[t]&&(K1(n).records[t]=null)}}const n2=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.render=function(t,e,n){var i=e.getComponent("tooltip"),r=t.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";J1("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})}))},e.prototype.remove=function(t,e){e2("axisPointer",e)},e.prototype.dispose=function(t,e){e2("axisPointer",e)},e.type="axisPointer",e}(rR);function i2(t,e){var n,i=[],r=t.seriesIndex;if(null==r||!(n=e.getSeriesByIndex(r)))return{point:[]};var o=n.getData(),a=VM(o,t);if(null==a||a<0||i_(a))return{point:[]};var s=o.getItemGraphicEl(a),l=n.coordinateSystem;if(n.getTooltipPosition)i=n.getTooltipPosition(a)||[];else if(l&&l.dataToPoint)if(t.isStacked){var u=l.getBaseAxis(),c=l.getOtherAxis(u).dim,h=u.dim,d="x"===c||"radius"===c?1:0,p=o.mapDimension(h),f=[];f[d]=o.get(p,a),f[1-d]=o.get(o.getCalculationInfo("stackResultDimension"),a),i=l.dataToPoint(f)||[]}else i=l.dataToPoint(o.getValues($y(l.dimensions,(function(t){return o.mapDimension(t)})),a))||[];else if(s){var g=s.getBoundingRect().clone();g.applyTransform(s.transform),i=[g.x+g.width/2,g.y+g.height/2]}return{point:i,el:s}}var r2=FM();function o2(t,e,n){var i=t.currTrigger,r=[t.x,t.y],o=t,a=t.dispatchAction||e_(n.dispatchAction,n),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){c2(r)&&(r=i2({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},e).point);var l=c2(r),u=o.axesInfo,c=s.axesInfo,h="leave"===i||c2(r),d={},p={},f={list:[],map:{}},g={showPointer:n_(s2,p),showTooltip:n_(l2,f)};Ky(s.coordSysMap,(function(t,e){var n=l||t.containPoint(r);Ky(s.coordSysAxesInfo[e],(function(t,e){var i=t.axis,o=function(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}}(u,t);if(!h&&n&&(!u||o)){var a=o&&o.value;null!=a||l||(a=i.pointToData(r)),null!=a&&a2(t,a,g,!1,d)}}))}));var v={};return Ky(c,(function(t,e){var n=t.linkGroup;n&&!p[e]&&Ky(n.axesInfo,(function(e,i){var r=p[i];if(e!==t&&r){var o=r.value;n.mapper&&(o=t.axis.scale.parse(n.mapper(o,u2(e),u2(t)))),v[t.key]=o}}))})),Ky(v,(function(t,e){a2(c[e],t,g,!0,d)})),function(t,e,n){var i=n.axesInfo=[];Ky(e,(function(e,n){var r=e.axisPointerModel.option,o=t[n];o?(!e.useHandle&&(r.status="show"),r.value=o.value,r.seriesDataIndices=(o.payloadBatch||[]).slice()):!e.useHandle&&(r.status="hide"),"show"===r.status&&i.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:r.value})}))}(p,c,d),function(t,e,n,i){if(c2(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})}(f,r,t,a),function(t,e,n){var i=n.getZr(),r="axisPointerLastHighlights",o=r2(i)[r]||{},a=r2(i)[r]={};Ky(t,(function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&t.triggerEmphasis&&Ky(n.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;a[e]=t}))}));var s=[],l=[];Ky(o,(function(t,e){!a[e]&&l.push(t)})),Ky(a,(function(t,e){!o[e]&&s.push(t)})),l.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}(c,0,n),d}}function a2(t,e,n,i,r){var o=t.axis;if(!o.scale.isBlank()&&o.containData(e))if(t.involveSeries){var a=function(t,e){var n=e.axis,i=n.dim,r=t,o=[],a=Number.MAX_VALUE,s=-1;return Ky(e.seriesModels,(function(e,l){var u,c,h=e.getData().mapDimensionsAll(i);if(e.getAxisTooltipData){var d=e.getAxisTooltipData(h,t,n);c=d.dataIndices,u=d.nestestValue}else{if(!(c=e.getData().indicesOfNearest(h[0],t,"category"===n.type?.5:null)).length)return;u=e.getData().get(h[0],c[0])}if(null!=u&&isFinite(u)){var p=t-u,f=Math.abs(p);f<=a&&((f<a||p>=0&&s<0)&&(a=f,s=p,r=u,o.length=0),Ky(c,(function(t){o.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:o,snapToValue:r}}(e,t),s=a.payloadBatch,l=a.snapToValue;s[0]&&null==r.seriesIndex&&jy(r,s[0]),!i&&t.snap&&o.containData(l)&&null!=l&&(e=l),n.showPointer(t,e,s),n.showTooltip(t,a,l)}else n.showPointer(t,e)}function s2(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function l2(t,e,n,i){var r=n.payloadBatch,o=e.axis,a=o.model,s=e.axisPointerModel;if(e.triggerTooltip&&r.length){var l=e.coordSys.model,u=aj(l),c=t.map[u];c||(c=t.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(c)),c.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:i,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:r.slice()})}}function u2(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 c2(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function h2(t){lj.registerAxisPointerClass("CartesianAxisPointer",q1),t.registerComponentModel(Z1),t.registerComponentView(n2),t.registerPreprocessor((function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!i_(e)&&(t.axisPointer.link=[e])}})),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=nj(t,e)})),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},o2)}var d2=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return my(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis;"angle"===o.dim&&(this.animationThreshold=Math.PI/18);var a=o.polar,s=a.getOtherAxis(o).getExtent(),l=o.dataToCoord(e),u=i.get("type");if(u&&"none"!==u){var c=N1(i),h=p2[u](o,a,l,s);h.style=c,t.graphicKey=h.type,t.pointer=h}var d=function(t,e,n,i,r){var o=e.axis,a=o.dataToCoord(t),s=i.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var l,u,c,h=i.getRadiusAxis().getExtent();if("radius"===o.dim){var d=[1,0,0,1,0,0];Dx(d,d,s),Tx(d,d,[i.cx,i.cy]),l=dk([a,-r],d);var p=e.getModel("axisLabel").get("rotate")||0,f=ej.innerTextLayout(s,p*Math.PI/180,-1);u=f.textAlign,c=f.textVerticalAlign}else{var g=h[1];l=i.coordToPoint([g+r,a]);var v=i.cx,m=i.cy;u=Math.abs(l[0]-v)/g<.3?"center":l[0]>v?"left":"right",c=Math.abs(l[1]-m)/g<.3?"middle":l[1]>m?"top":"bottom"}return{position:l,align:u,verticalAlign:c}}(e,n,0,a,i.get(["label","margin"]));B1(t,n,i,r,d)},e}(R1);var p2={line:function(t,e,n,i){return"angle"===t.dim?{type:"Line",shape:G1(e.coordToPoint([i[0],n]),e.coordToPoint([i[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,i){var r=Math.max(1,t.getBandWidth()),o=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:W1(e.cx,e.cy,i[0],i[1],(-n-r/2)*o,(r/2-n)*o)}:{type:"Sector",shape:W1(e.cx,e.cy,n-r/2,n+r/2,0,2*Math.PI)}}};const f2=d2;const g2=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.findAxisModel=function(t){var e;return this.ecModel.eachComponent(t,(function(t){t.getCoordSysModel()===this&&(e=t)}),this),e},e.type="polar",e.dependencies=["radiusAxis","angleAxis"],e.defaultOption={z:0,center:["50%","50%"],radius:"80%"},e}(cP);var v2=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return my(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",UM).models[0]},e.type="polarAxis",e}(cP);qy(v2,aF);var m2=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.type="angleAxis",e}(v2),y2=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.type="radiusAxis",e}(v2),_2=function(t){function e(e,n){return t.call(this,"radius",e,n)||this}return my(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e}(OF);_2.prototype.dataToRadius=OF.prototype.dataToCoord,_2.prototype.radiusToData=OF.prototype.coordToData;const x2=_2;var b2=FM(),w2=function(t){function e(e,n){return t.call(this,"angle",e,n||[0,360])||this}return my(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e.prototype.calculateCategoryInterval=function(){var t=this,e=t.getLabelModel(),n=t.scale,i=n.getExtent(),r=n.count();if(i[1]-i[0]<1)return 0;var o=i[0],a=t.dataToCoord(o+1)-t.dataToCoord(o),s=Math.abs(a),l=PS(null==o?"":o+"",e.getFont(),"center","top"),u=Math.max(l.height,7)/s;isNaN(u)&&(u=1/0);var c=Math.max(0,Math.floor(u)),h=b2(t.model),d=h.lastAutoInterval,p=h.lastTickCount;return null!=d&&null!=p&&Math.abs(d-c)<=1&&Math.abs(p-r)<=1&&d>c?c=d:(h.lastTickCount=r,h.lastAutoInterval=c),c},e}(OF);w2.prototype.dataToAngle=OF.prototype.dataToCoord,w2.prototype.angleToData=OF.prototype.coordToData;const S2=w2;var M2=["radius","angle"],I2=function(){function t(t){this.dimensions=M2,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new x2,this._angleAxis=new S2,this.axisPointerEnabled=!0,this.name=t||"",this._radiusAxis.polar=this._angleAxis.polar=this}return t.prototype.containPoint=function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},t.prototype.containData=function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},t.prototype.getAxis=function(t){return this["_"+t+"Axis"]},t.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},t.prototype.getAxesByScale=function(t){var e=[],n=this._angleAxis,i=this._radiusAxis;return n.scale.type===t&&e.push(n),i.scale.type===t&&e.push(i),e},t.prototype.getAngleAxis=function(){return this._angleAxis},t.prototype.getRadiusAxis=function(){return this._radiusAxis},t.prototype.getOtherAxis=function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},t.prototype.getTooltipAxes=function(t){var e=null!=t&&"auto"!==t?this.getAxis(t):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},t.prototype.dataToPoint=function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},t.prototype.pointToData=function(t,e){var n=this.pointToCoord(t);return[this._radiusAxis.radiusToData(n[0],e),this._angleAxis.angleToData(n[1],e)]},t.prototype.pointToCoord=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=this.getAngleAxis(),r=i.getExtent(),o=Math.min(r[0],r[1]),a=Math.max(r[0],r[1]);i.inverse?o=a-360:a=o+360;var s=Math.sqrt(e*e+n*n);e/=s,n/=s;for(var l=Math.atan2(-n,e)/Math.PI*180,u=l<o?1:-1;l<o||l>a;)l+=360*u;return[s,l]},t.prototype.coordToPoint=function(t){var e=t[0],n=t[1]/180*Math.PI;return[Math.cos(n)*e+this.cx,-Math.sin(n)*e+this.cy]},t.prototype.getArea=function(){var t=this.getAngleAxis(),e=this.getRadiusAxis().getExtent().slice();e[0]>e[1]&&e.reverse();var n=t.getExtent(),i=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:e[0],r:e[1],startAngle:-n[0]*i,endAngle:-n[1]*i,clockwise:t.inverse,contain:function(t,e){var n=t-this.cx,i=e-this.cy,r=n*n+i*i-1e-4,o=this.r,a=this.r0;return r<=o*o&&r>=a*a}}},t.prototype.convertToPixel=function(t,e,n){return A2(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return A2(e)===this?this.pointToData(n):null},t}();function A2(t){var e=t.seriesModel,n=t.polarModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}const C2=I2;function T2(t,e){var n=this,i=n.getAngleAxis(),r=n.getRadiusAxis();if(i.scale.setExtent(1/0,-1/0),r.scale.setExtent(1/0,-1/0),t.eachSeries((function(t){if(t.coordinateSystem===n){var e=t.getData();Ky(oF(e,"radius"),(function(t){r.scale.unionExtentFromData(e,t)})),Ky(oF(e,"angle"),(function(t){i.scale.unionExtentFromData(e,t)}))}})),QV(i.scale,i.model),QV(r.scale,r.model),"category"===i.type&&!i.onBand){var o=i.getExtent(),a=360/i.scale.count();i.inverse?o[1]+=a:o[1]-=a,i.setExtent(o[0],o[1])}}function D2(t,e){if(t.type=e.get("type"),t.scale=tF(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),function(t){return"angleAxis"===t.mainType}(e)){t.inverse=t.inverse!==e.get("clockwise");var n=e.get("startAngle");t.setExtent(n,n+(t.inverse?-360:360))}e.axis=t,t.model=e}const k2={dimensions:M2,create:function(t,e){var n=[];return t.eachComponent("polar",(function(t,i){var r=new C2(i+"");r.update=T2;var o=r.getRadiusAxis(),a=r.getAngleAxis(),s=t.findAxisModel("radiusAxis"),l=t.findAxisModel("angleAxis");D2(o,s),D2(a,l),function(t,e,n){var i=e.get("center"),r=n.getWidth(),o=n.getHeight();t.cx=rM(i[0],r),t.cy=rM(i[1],o);var a=t.getRadiusAxis(),s=Math.min(r,o)/2,l=e.get("radius");null==l?l=[0,"100%"]:i_(l)||(l=[0,l]);var u=[rM(l[0],s),rM(l[1],s)];a.inverse?a.setExtent(u[1],u[0]):a.setExtent(u[0],u[1])}(r,t,e),n.push(r),t.coordinateSystem=r,r.model=t})),t.eachSeries((function(t){if("polar"===t.get("coordinateSystem")){var e=t.getReferringComponents("polar",UM).models[0];t.coordinateSystem=e.coordinateSystem}})),n}};var L2=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function P2(t,e,n){e[1]>e[0]&&(e=e.slice().reverse());var i=t.coordToPoint([e[0],n]),r=t.coordToPoint([e[1],n]);return{x1:i[0],y1:i[1],x2:r[0],y2:r[1]}}function O2(t){return t.getRadiusAxis().inverse?0:1}function E2(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coord-n.coord)-360)<1e-4&&t.pop()}var R2=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="PolarAxisPointer",n}return my(e,t),e.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var n=t.axis,i=n.polar,r=i.getRadiusAxis().getExtent(),o=n.getTicksCoords(),a=n.getMinorTicksCoords(),s=$y(n.getViewLabels(),(function(t){t=Hy(t);var e=n.scale,i="ordinal"===e.type?e.getRawOrdinalNumber(t.tickValue):t.tickValue;return t.coord=n.dataToCoord(i),t}));E2(s),E2(o),Ky(L2,(function(e){!t.get([e,"show"])||n.scale.isBlank()&&"axisLine"!==e||N2[e](this.group,t,i,o,a,r,s)}),this)}},e.type="angleAxis",e}(lj),N2={axisLine:function(t,e,n,i,r,o){var a,s=e.getModel(["axisLine","lineStyle"]),l=O2(n),u=l?0:1;(a=0===o[u]?new FT({shape:{cx:n.cx,cy:n.cy,r:o[l]},style:s.getLineStyle(),z2:1,silent:!0}):new lD({shape:{cx:n.cx,cy:n.cy,r:o[l],r0:o[u]},style:s.getLineStyle(),z2:1,silent:!0})).style.fill=null,t.add(a)},axisTick:function(t,e,n,i,r,o){var a=e.getModel("axisTick"),s=(a.get("inside")?-1:1)*a.get("length"),l=o[O2(n)],u=$y(i,(function(t){return new _D({shape:P2(n,[l,l+s],t.coord)})}));t.add(sk(u,{style:Yy(a.getModel("lineStyle").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(t,e,n,i,r,o){if(r.length){for(var a=e.getModel("axisTick"),s=e.getModel("minorTick"),l=(a.get("inside")?-1:1)*s.get("length"),u=o[O2(n)],c=[],h=0;h<r.length;h++)for(var d=0;d<r[h].length;d++)c.push(new _D({shape:P2(n,[u,u+l],r[h][d].coord)}));t.add(sk(c,{style:Yy(s.getModel("lineStyle").getLineStyle(),Yy(a.getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])}))}))}},axisLabel:function(t,e,n,i,r,o,a){var s=e.getCategories(!0),l=e.getModel("axisLabel"),u=l.get("margin"),c=e.get("triggerEvent");Ky(a,(function(i,r){var a=l,h=i.tickValue,d=o[O2(n)],p=n.coordToPoint([d+u,i.coord]),f=n.cx,g=n.cy,v=Math.abs(p[0]-f)/d<.3?"center":p[0]>f?"left":"right",m=Math.abs(p[1]-g)/d<.3?"middle":p[1]>g?"top":"bottom";if(s&&s[h]){var y=s[h];l_(y)&&y.textStyle&&(a=new tL(y.textStyle,l,l.ecModel))}var _=new pC({silent:ej.isLabelSilent(e),style:kk(a,{x:p[0],y:p[1],fill:a.getTextColor()||e.get(["axisLine","lineStyle","color"]),text:i.formattedLabel,align:v,verticalAlign:m})});if(t.add(_),c){var x=ej.makeAxisEventDataBase(e);x.targetType="axisLabel",x.value=i.rawLabel,fC(_).eventData=x}}),this)},splitLine:function(t,e,n,i,r,o){var a=e.getModel("splitLine").getModel("lineStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],c=0;c<i.length;c++){var h=l++%s.length;u[h]=u[h]||[],u[h].push(new _D({shape:P2(n,o,i[c].coord)}))}for(c=0;c<u.length;c++)t.add(sk(u[c],{style:Yy({stroke:s[c%s.length]},a.getLineStyle()),silent:!0,z:e.get("z")}))},minorSplitLine:function(t,e,n,i,r,o){if(r.length){for(var a=e.getModel("minorSplitLine").getModel("lineStyle"),s=[],l=0;l<r.length;l++)for(var u=0;u<r[l].length;u++)s.push(new _D({shape:P2(n,o,r[l][u].coord)}));t.add(sk(s,{style:a.getLineStyle(),silent:!0,z:e.get("z")}))}},splitArea:function(t,e,n,i,r,o){if(i.length){var a=e.getModel("splitArea").getModel("areaStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],c=Math.PI/180,h=-i[0].coord*c,d=Math.min(o[0],o[1]),p=Math.max(o[0],o[1]),f=e.get("clockwise"),g=1,v=i.length;g<=v;g++){var m=g===v?i[0].coord:i[g].coord,y=l++%s.length;u[y]=u[y]||[],u[y].push(new oD({shape:{cx:n.cx,cy:n.cy,r0:d,r:p,startAngle:h,endAngle:-m*c,clockwise:f},silent:!0})),h=-m*c}for(g=0;g<u.length;g++)t.add(sk(u[g],{style:Yy({fill:s[g%s.length]},a.getAreaStyle()),silent:!0}))}}};const B2=R2;var z2=["axisLine","axisTickLabel","axisName"],V2=["splitLine","splitArea","minorSplitLine"],F2=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="PolarAxisPointer",n}return my(e,t),e.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var n=this._axisGroup,i=this._axisGroup=new KS;this.group.add(i);var r=t.axis,o=r.polar,a=o.getAngleAxis(),s=r.getTicksCoords(),l=r.getMinorTicksCoords(),u=a.getExtent()[0],c=r.getExtent(),h=function(t,e,n){return{position:[t.cx,t.cy],rotation:n/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:e.getModel("axisLabel").get("rotate"),z2:1}}(o,t,u),d=new ej(t,h);Ky(z2,d.add,d),i.add(d.getGroup()),gk(n,i,t),Ky(V2,(function(e){t.get([e,"show"])&&!r.scale.isBlank()&&G2[e](this.group,t,o,u,c,s,l)}),this)}},e.type="radiusAxis",e}(lj),G2={splitLine:function(t,e,n,i,r,o){var a=e.getModel("splitLine").getModel("lineStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],c=0;c<o.length;c++){var h=l++%s.length;u[h]=u[h]||[],u[h].push(new FT({shape:{cx:n.cx,cy:n.cy,r:Math.max(o[c].coord,0)}}))}for(c=0;c<u.length;c++)t.add(sk(u[c],{style:Yy({stroke:s[c%s.length],fill:null},a.getLineStyle()),silent:!0}))},minorSplitLine:function(t,e,n,i,r,o,a){if(a.length){for(var s=e.getModel("minorSplitLine").getModel("lineStyle"),l=[],u=0;u<a.length;u++)for(var c=0;c<a[u].length;c++)l.push(new FT({shape:{cx:n.cx,cy:n.cy,r:a[u][c].coord}}));t.add(sk(l,{style:Yy({fill:null},s.getLineStyle()),silent:!0}))}},splitArea:function(t,e,n,i,r,o){if(o.length){var a=e.getModel("splitArea").getModel("areaStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],c=o[0].coord,h=1;h<o.length;h++){var d=l++%s.length;u[d]=u[d]||[],u[d].push(new oD({shape:{cx:n.cx,cy:n.cy,r0:c,r:o[h].coord,startAngle:0,endAngle:2*Math.PI},silent:!0})),c=o[h].coord}for(h=0;h<u.length;h++)t.add(sk(u[h],{style:Yy({fill:s[h%s.length]},a.getAreaStyle()),silent:!0}))}}};const H2=F2;function W2(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function U2(t,e){return e.dim+t.model.componentIndex}function j2(t,e,n){var i={},r=function(t){var e={};Ky(t,(function(t,n){var i=t.getData(),r=t.coordinateSystem,o=r.getBaseAxis(),a=U2(r,o),s=o.getExtent(),l="category"===o.type?o.getBandWidth():Math.abs(s[1]-s[0])/i.count(),u=e[a]||{bandWidth:l,remainedWidth:l,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},c=u.stacks;e[a]=u;var h=W2(t);c[h]||u.autoWidthCount++,c[h]=c[h]||{width:0,maxWidth:0};var d=rM(t.get("barWidth"),l),p=rM(t.get("barMaxWidth"),l),f=t.get("barGap"),g=t.get("barCategoryGap");d&&!c[h].width&&(d=Math.min(u.remainedWidth,d),c[h].width=d,u.remainedWidth-=d),p&&(c[h].maxWidth=p),null!=f&&(u.gap=f),null!=g&&(u.categoryGap=g)}));var n={};return Ky(e,(function(t,e){n[e]={};var i=t.stacks,r=t.bandWidth,o=rM(t.categoryGap,r),a=rM(t.gap,1),s=t.remainedWidth,l=t.autoWidthCount,u=(s-o)/(l+(l-1)*a);u=Math.max(u,0),Ky(i,(function(t,e){var n=t.maxWidth;n&&n<u&&(n=Math.min(n,s),t.width&&(n=Math.min(n,t.width)),s-=n,t.width=n,l--)})),u=(s-o)/(l+(l-1)*a),u=Math.max(u,0);var c,h=0;Ky(i,(function(t,e){t.width||(t.width=u),c=t,h+=t.width*(1+a)})),c&&(h-=c.width*a);var d=-h/2;Ky(i,(function(t,i){n[e][i]=n[e][i]||{offset:d,width:t.width},d+=t.width*(1+a)}))})),n}(Qy(e.getSeriesByType(t),(function(t){return!e.isSeriesFiltered(t)&&t.coordinateSystem&&"polar"===t.coordinateSystem.type})));e.eachSeriesByType(t,(function(t){if("polar"===t.coordinateSystem.type){var e=t.getData(),n=t.coordinateSystem,o=n.getBaseAxis(),a=U2(n,o),s=W2(t),l=r[a][s],u=l.offset,c=l.width,h=n.getOtherAxis(o),d=t.coordinateSystem.cx,p=t.coordinateSystem.cy,f=t.get("barMinHeight")||0,g=t.get("barMinAngle")||0;i[s]=i[s]||[];for(var v=e.mapDimension(h.dim),m=e.mapDimension(o.dim),y=Xz(e,v),_="radius"!==o.dim||!t.get("roundCap",!0),x=h.dataToCoord(0),b=0,w=e.count();b<w;b++){var S=e.get(v,b),M=e.get(m,b),I=S>=0?"p":"n",A=x;y&&(i[s][M]||(i[s][M]={p:x,n:x}),A=i[s][M][I]);var C=void 0,T=void 0,D=void 0,k=void 0;if("radius"===h.dim){var L=h.dataToCoord(S)-x,P=o.dataToCoord(M);Math.abs(L)<f&&(L=(L<0?-1:1)*f),C=A,T=A+L,k=(D=P-u)-c,y&&(i[s][M][I]=T)}else{var O=h.dataToCoord(S,_)-x,E=o.dataToCoord(M);Math.abs(O)<g&&(O=(O<0?-1:1)*g),T=(C=E+u)+c,D=A,k=A+O,y&&(i[s][M][I]=k)}e.setItemLayout(b,{cx:d,cy:p,r0:C,r:T,startAngle:-D*Math.PI/180,endAngle:-k*Math.PI/180,clockwise:D>=k})}}}))}var Y2={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},X2={splitNumber:5},q2=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.type="polar",e}(rR);function Z2(t,e){e=e||{};var n=t.coordinateSystem,i=t.axis,r={},o=i.position,a=i.orient,s=n.getRect(),l=[s.x,s.x+s.width,s.y,s.y+s.height],u={horizontal:{top:l[2],bottom:l[3]},vertical:{left:l[0],right:l[1]}};r.position=["vertical"===a?u.vertical[o]:l[0],"horizontal"===a?u.horizontal[o]:l[3]];r.rotation=Math.PI/2*{horizontal:0,vertical:1}[a];r.labelDirection=r.tickDirection=r.nameDirection={top:-1,bottom:1,right:1,left:-1}[o],t.get(["axisTick","inside"])&&(r.tickDirection=-r.tickDirection),f_(e.labelInside,t.get(["axisLabel","inside"]))&&(r.labelDirection=-r.labelDirection);var c=e.rotate;return null==c&&(c=t.get(["axisLabel","rotate"])),r.labelRotation="top"===o?-c:c,r.z2=1,r}var K2=["axisLine","axisTickLabel","axisName"],$2=["splitArea","splitLine"],J2=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="SingleAxisPointer",n}return my(e,t),e.prototype.render=function(e,n,i,r){var o=this.group;o.removeAll();var a=this._axisGroup;this._axisGroup=new KS;var s=Z2(e),l=new ej(e,s);Ky(K2,l.add,l),o.add(this._axisGroup),o.add(l.getGroup()),Ky($2,(function(t){e.get([t,"show"])&&Q2[t](this,this.group,this._axisGroup,e)}),this),gk(a,this._axisGroup,e),t.prototype.render.call(this,e,n,i,r)},e.prototype.remove=function(){hj(this)},e.type="singleAxis",e}(lj),Q2={splitLine:function(t,e,n,i){var r=i.axis;if(!r.scale.isBlank()){var o=i.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color");s=s instanceof Array?s:[s];for(var l=a.get("width"),u=i.coordinateSystem.getRect(),c=r.isHorizontal(),h=[],d=0,p=r.getTicksCoords({tickModel:o}),f=[],g=[],v=0;v<p.length;++v){var m=r.toGlobalCoord(p[v].coord);c?(f[0]=m,f[1]=u.y,g[0]=m,g[1]=u.y+u.height):(f[0]=u.x,f[1]=m,g[0]=u.x+u.width,g[1]=m);var y=new _D({shape:{x1:f[0],y1:f[1],x2:g[0],y2:g[1]},silent:!0});uk(y.shape,l);var _=d++%s.length;h[_]=h[_]||[],h[_].push(y)}var x=a.getLineStyle(["color"]);for(v=0;v<h.length;++v)e.add(sk(h[v],{style:Yy({stroke:s[v%s.length]},x),silent:!0}))}},splitArea:function(t,e,n,i){cj(t,n,i,i)}};const t5=J2;var e5=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.getCoordSysModel=function(){return this},e.type="singleAxis",e.layoutMode="box",e.defaultOption={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}},e}(cP);qy(e5,aF.prototype);const n5=e5;const i5=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.type=r||"value",a.position=o||"bottom",a}return my(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.pointToData=function(t,e){return this.coordinateSystem.pointToData(t)[0]},e}(OF);var r5=["single"],o5=function(){function t(t,e,n){this.type="single",this.dimension="single",this.dimensions=r5,this.axisPointerEnabled=!0,this.model=t,this._init(t,e,n)}return t.prototype._init=function(t,e,n){var i=this.dimension,r=new i5(i,tF(t),[0,0],t.get("type"),t.get("position")),o="category"===r.type;r.onBand=o&&t.get("boundaryGap"),r.inverse=t.get("inverse"),r.orient=t.get("orient"),t.axis=r,r.model=t,r.coordinateSystem=this,this._axis=r},t.prototype.update=function(t,e){t.eachSeries((function(t){if(t.coordinateSystem===this){var e=t.getData();Ky(e.mapDimensionsAll(this.dimension),(function(t){this._axis.scale.unionExtentFromData(e,t)}),this),QV(this._axis.scale,this._axis.model)}}),this)},t.prototype.resize=function(t,e){this._rect=nP({left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")},{width:e.getWidth(),height:e.getHeight()}),this._adjustAxis()},t.prototype.getRect=function(){return this._rect},t.prototype._adjustAxis=function(){var t=this._rect,e=this._axis,n=e.isHorizontal(),i=n?[0,t.width]:[0,t.height],r=e.inverse?1:0;e.setExtent(i[r],i[1-r]),this._updateAxisTransform(e,n?t.x:t.y)},t.prototype._updateAxisTransform=function(t,e){var n=t.getExtent(),i=n[0]+n[1],r=t.isHorizontal();t.toGlobalCoord=r?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord=r?function(t){return t-e}:function(t){return i-t+e}},t.prototype.getAxis=function(){return this._axis},t.prototype.getBaseAxis=function(){return this._axis},t.prototype.getAxes=function(){return[this._axis]},t.prototype.getTooltipAxes=function(){return{baseAxes:[this.getAxis()],otherAxes:[]}},t.prototype.containPoint=function(t){var e=this.getRect(),n=this.getAxis();return"horizontal"===n.orient?n.contain(n.toLocalCoord(t[0]))&&t[1]>=e.y&&t[1]<=e.y+e.height:n.contain(n.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},t.prototype.pointToData=function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},t.prototype.dataToPoint=function(t){var e=this.getAxis(),n=this.getRect(),i=[],r="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),i[r]=e.toGlobalCoord(e.dataToCoord(+t)),i[1-r]=0===r?n.y+n.height/2:n.x+n.width/2,i},t.prototype.convertToPixel=function(t,e,n){return a5(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return a5(e)===this?this.pointToData(n):null},t}();function a5(t){var e=t.seriesModel,n=t.singleAxisModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}const s5={create:function(t,e){var n=[];return t.eachComponent("singleAxis",(function(i,r){var o=new o5(i,t,e);o.name="single_"+r,o.resize(i,e),i.coordinateSystem=o,n.push(o)})),t.eachSeries((function(t){if("singleAxis"===t.get("coordinateSystem")){var e=t.getReferringComponents("singleAxis",UM).models[0];t.coordinateSystem=e&&e.coordinateSystem}})),n},dimensions:r5};var l5=["x","y"],u5=["width","height"],c5=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return my(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.coordinateSystem,s=p5(a,1-d5(o)),l=a.dataToPoint(e)[0],u=i.get("type");if(u&&"none"!==u){var c=N1(i),h=h5[u](o,l,s);h.style=c,t.graphicKey=h.type,t.pointer=h}F1(e,t,Z2(n),n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=Z2(e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=V1(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.coordinateSystem,a=d5(r),s=p5(o,a),l=[t.x,t.y];l[a]+=e[a],l[a]=Math.min(s[1],l[a]),l[a]=Math.max(s[0],l[a]);var u=p5(o,1-a),c=(u[1]+u[0])/2,h=[c,c];return h[a]=l[a],{x:l[0],y:l[1],rotation:t.rotation,cursorPoint:h,tooltipOption:{verticalAlign:"middle"}}},e}(R1),h5={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:G1([e,n[0]],[e,n[1]],d5(t))}},shadow:function(t,e,n){var i=t.getBandWidth(),r=n[1]-n[0];return{type:"Rect",shape:H1([e-i/2,n[0]],[i,r],d5(t))}}};function d5(t){return t.isHorizontal()?0:1}function p5(t,e){var n=t.getRect();return[n[l5[e]],n[l5[e]]+n[u5[e]]]}const f5=c5;var g5=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.type="single",e}(rR);function v5(t,e){var n,i=t.cellSize;1===(n=i_(i)?i:t.cellSize=[i,i]).length&&(n[1]=n[0]);var r=$y([0,1],(function(t){return function(t,e){return null!=t[QL[e][0]]||null!=t[QL[e][1]]&&null!=t[QL[e][2]]}(e,t)&&(n[t]="auto"),null!=n[t]&&"auto"!==n[t]}));oP(t,e,{type:"box",ignoreSize:r})}const m5=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.init=function(e,n,i){var r=aP(e);t.prototype.init.apply(this,arguments),v5(e,r)},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),v5(this.option,e)},e.prototype.getCellSize=function(){return this.option.cellSize},e.type="calendar",e.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},e}(cP);var y5=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.render=function(t,e,n){var i=this.group;i.removeAll();var r=t.coordinateSystem,o=r.getRangeInfo(),a=r.getOrient(),s=e.getLocaleModel();this._renderDayRect(t,o,i),this._renderLines(t,o,a,i),this._renderYearText(t,o,a,i),this._renderMonthText(t,s,a,i),this._renderWeekText(t,s,o,a,i)},e.prototype._renderDayRect=function(t,e,n){for(var i=t.coordinateSystem,r=t.getModel("itemStyle").getItemStyle(),o=i.getCellWidth(),a=i.getCellHeight(),s=e.start.time;s<=e.end.time;s=i.getNextNDay(s,1).time){var l=i.dataToRect([s],!1).tl,u=new $A({shape:{x:l[0],y:l[1],width:o,height:a},cursor:"default",style:r});n.add(u)}},e.prototype._renderLines=function(t,e,n,i){var r=this,o=t.coordinateSystem,a=t.getModel(["splitLine","lineStyle"]).getLineStyle(),s=t.get(["splitLine","show"]),l=a.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=e.start,c=0;u.time<=e.end.time;c++){d(u.formatedDate),0===c&&(u=o.getDateInfo(e.start.y+"-"+e.start.m));var h=u.date;h.setMonth(h.getMonth()+1),u=o.getDateInfo(h)}function d(e){r._firstDayOfMonth.push(o.getDateInfo(e)),r._firstDayPoints.push(o.dataToRect([e],!1).tl);var l=r._getLinePointsOfOneWeek(t,e,n);r._tlpoints.push(l[0]),r._blpoints.push(l[l.length-1]),s&&r._drawSplitline(l,a,i)}d(o.getNextNDay(e.end.time,1).formatedDate),s&&this._drawSplitline(r._getEdgesPoints(r._tlpoints,l,n),a,i),s&&this._drawSplitline(r._getEdgesPoints(r._blpoints,l,n),a,i)},e.prototype._getEdgesPoints=function(t,e,n){var i=[t[0].slice(),t[t.length-1].slice()],r="horizontal"===n?0:1;return i[0][r]=i[0][r]-e/2,i[1][r]=i[1][r]+e/2,i},e.prototype._drawSplitline=function(t,e,n){var i=new gD({z2:20,shape:{points:t},style:e});n.add(i)},e.prototype._getLinePointsOfOneWeek=function(t,e,n){for(var i=t.coordinateSystem,r=i.getDateInfo(e),o=[],a=0;a<7;a++){var s=i.getNextNDay(r.time,a),l=i.dataToRect([s.time],!1);o[2*s.day]=l.tl,o[2*s.day+1]=l["horizontal"===n?"bl":"tr"]}return o},e.prototype._formatterLabel=function(t,e){return o_(t)&&t?(n=t,Ky(e,(function(t,e){n=n.replace("{"+e+"}",i?ux(t):t)})),n):r_(t)?t(e):e.nameMap;var n,i},e.prototype._yearTextPositionControl=function(t,e,n,i,r){var o=e[0],a=e[1],s=["center","bottom"];"bottom"===i?(a+=r,s=["center","top"]):"left"===i?o-=r:"right"===i?(o+=r,s=["center","top"]):a-=r;var l=0;return"left"!==i&&"right"!==i||(l=Math.PI/2),{rotation:l,x:o,y:a,style:{align:s[0],verticalAlign:s[1]}}},e.prototype._renderYearText=function(t,e,n,i){var r=t.getModel("yearLabel");if(r.get("show")){var o=r.get("margin"),a=r.get("position");a||(a="horizontal"!==n?"top":"left");var s=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],l=(s[0][0]+s[1][0])/2,u=(s[0][1]+s[1][1])/2,c="horizontal"===n?0:1,h={top:[l,s[c][1]],bottom:[l,s[1-c][1]],left:[s[1-c][0],u],right:[s[c][0],u]},d=e.start.y;+e.end.y>+e.start.y&&(d=d+"-"+e.end.y);var p=r.get("formatter"),f={start:e.start.y,end:e.end.y,nameMap:d},g=this._formatterLabel(p,f),v=new pC({z2:30,style:kk(r,{text:g})});v.attr(this._yearTextPositionControl(v,h[a],n,a,o)),i.add(v)}},e.prototype._monthTextPositionControl=function(t,e,n,i,r){var o="left",a="top",s=t[0],l=t[1];return"horizontal"===n?(l+=r,e&&(o="center"),"start"===i&&(a="bottom")):(s+=r,e&&(a="middle"),"start"===i&&(o="right")),{x:s,y:l,align:o,verticalAlign:a}},e.prototype._renderMonthText=function(t,e,n,i){var r=t.getModel("monthLabel");if(r.get("show")){var o=r.get("nameMap"),a=r.get("margin"),s=r.get("position"),l=r.get("align"),u=[this._tlpoints,this._blpoints];o&&!o_(o)||(o&&(e=hL(o)||e),o=e.get(["time","monthAbbr"])||[]);var c="start"===s?0:1,h="horizontal"===n?0:1;a="start"===s?-a:a;for(var d="center"===l,p=0;p<u[c].length-1;p++){var f=u[c][p].slice(),g=this._firstDayOfMonth[p];if(d){var v=this._firstDayPoints[p];f[h]=(v[h]+u[0][p+1][h])/2}var m=r.get("formatter"),y=o[+g.m-1],_={yyyy:g.y,yy:(g.y+"").slice(2),MM:g.m,M:+g.m,nameMap:y},x=this._formatterLabel(m,_),b=new pC({z2:30,style:jy(kk(r,{text:x}),this._monthTextPositionControl(f,d,n,s,a))});i.add(b)}}},e.prototype._weekTextPositionControl=function(t,e,n,i,r){var o="center",a="middle",s=t[0],l=t[1],u="start"===n;return"horizontal"===e?(s=s+i+(u?1:-1)*r[0]/2,o=u?"right":"left"):(l=l+i+(u?1:-1)*r[1]/2,a=u?"bottom":"top"),{x:s,y:l,align:o,verticalAlign:a}},e.prototype._renderWeekText=function(t,e,n,i,r){var o=t.getModel("dayLabel");if(o.get("show")){var a=t.coordinateSystem,s=o.get("position"),l=o.get("nameMap"),u=o.get("margin"),c=a.getFirstDayOfWeek();if(!l||o_(l))l&&(e=hL(l)||e),l=e.get(["time","dayOfWeekShort"])||$y(e.get(["time","dayOfWeekAbbr"]),(function(t){return t[0]}));var h=a.getNextNDay(n.end.time,7-n.lweek).time,d=[a.getCellWidth(),a.getCellHeight()];u=rM(u,Math.min(d[1],d[0])),"start"===s&&(h=a.getNextNDay(n.start.time,-(7+n.fweek)).time,u=-u);for(var p=0;p<7;p++){var f,g=a.getNextNDay(h,p),v=a.dataToRect([g.time],!1).center;f=Math.abs((p+c)%7);var m=new pC({z2:30,style:jy(kk(o,{text:l[f]}),this._weekTextPositionControl(v,i,s,u,d))});r.add(m)}}},e.type="calendar",e}(rR);const _5=y5;var x5=864e5;function b5(t){var e=t.calendarModel,n=t.seriesModel;return e?e.coordinateSystem:n?n.coordinateSystem:null}const w5=function(){function t(e,n,i){this.type="calendar",this.dimensions=t.dimensions,this.getDimensionsInfo=t.getDimensionsInfo,this._model=e}return t.getDimensionsInfo=function(){return[{name:"time",type:"time"},"value"]},t.prototype.getRangeInfo=function(){return this._rangeInfo},t.prototype.getModel=function(){return this._model},t.prototype.getRect=function(){return this._rect},t.prototype.getCellWidth=function(){return this._sw},t.prototype.getCellHeight=function(){return this._sh},t.prototype.getOrient=function(){return this._orient},t.prototype.getFirstDayOfWeek=function(){return this._firstDayOfWeek},t.prototype.getDateInfo=function(t){var e=(t=fM(t)).getFullYear(),n=t.getMonth()+1,i=n<10?"0"+n:""+n,r=t.getDate(),o=r<10?"0"+r:""+r,a=t.getDay();return{y:e+"",m:i,d:o,day:a=Math.abs((a+7-this.getFirstDayOfWeek())%7),time:t.getTime(),formatedDate:e+"-"+i+"-"+o,date:t}},t.prototype.getNextNDay=function(t,e){return 0===(e=e||0)||(t=new Date(this.getDateInfo(t).time)).setDate(t.getDate()+e),this.getDateInfo(t)},t.prototype.update=function(t,e){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var n=this._rangeInfo.weeks||1,i=["width","height"],r=this._model.getCellSize().slice(),o=this._model.getBoxLayoutParams(),a="horizontal"===this._orient?[n,7]:[7,n];Ky([0,1],(function(t){u(r,t)&&(o[i[t]]=r[t]*a[t])}));var s={width:e.getWidth(),height:e.getHeight()},l=this._rect=nP(o,s);function u(t,e){return null!=t[e]&&"auto"!==t[e]}Ky([0,1],(function(t){u(r,t)||(r[t]=l[i[t]]/a[t])})),this._sw=r[0],this._sh=r[1]},t.prototype.dataToPoint=function(t,e){i_(t)&&(t=t[0]),null==e&&(e=!0);var n=this.getDateInfo(t),i=this._rangeInfo,r=n.formatedDate;if(e&&!(n.time>=i.start.time&&n.time<i.end.time+x5))return[NaN,NaN];var o=n.day,a=this._getRangeInfo([i.start.time,r]).nthWeek;return"vertical"===this._orient?[this._rect.x+o*this._sw+this._sw/2,this._rect.y+a*this._sh+this._sh/2]:[this._rect.x+a*this._sw+this._sw/2,this._rect.y+o*this._sh+this._sh/2]},t.prototype.pointToData=function(t){var e=this.pointToDate(t);return e&&e.time},t.prototype.dataToRect=function(t,e){var n=this.dataToPoint(t,e);return{contentShape:{x:n[0]-(this._sw-this._lineWidth)/2,y:n[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:n,tl:[n[0]-this._sw/2,n[1]-this._sh/2],tr:[n[0]+this._sw/2,n[1]-this._sh/2],br:[n[0]+this._sw/2,n[1]+this._sh/2],bl:[n[0]-this._sw/2,n[1]+this._sh/2]}},t.prototype.pointToDate=function(t){var e=Math.floor((t[0]-this._rect.x)/this._sw)+1,n=Math.floor((t[1]-this._rect.y)/this._sh)+1,i=this._rangeInfo.range;return"vertical"===this._orient?this._getDateByWeeksAndDay(n,e-1,i):this._getDateByWeeksAndDay(e,n-1,i)},t.prototype.convertToPixel=function(t,e,n){var i=b5(e);return i===this?i.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){var i=b5(e);return i===this?i.pointToData(n):null},t.prototype.containPoint=function(t){return console.warn("Not implemented."),!1},t.prototype._initRangeOption=function(){var t,e=this._model.get("range");if(i_(e)&&1===e.length&&(e=e[0]),i_(e))t=e;else{var n=e.toString();if(/^\d{4}$/.test(n)&&(t=[n+"-01-01",n+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(n)){var i=this.getDateInfo(n),r=i.date;r.setMonth(r.getMonth()+1);var o=this.getNextNDay(r,-1);t=[i.formatedDate,o.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(n)&&(t=[n,n])}if(!t)return e;var a=this._getRangeInfo(t);return a.start.time>a.end.time&&t.reverse(),t},t.prototype._getRangeInfo=function(t){var e,n=[this.getDateInfo(t[0]),this.getDateInfo(t[1])];n[0].time>n[1].time&&(e=!0,n.reverse());var i=Math.floor(n[1].time/x5)-Math.floor(n[0].time/x5)+1,r=new Date(n[0].time),o=r.getDate(),a=n[1].date.getDate();r.setDate(o+i-1);var s=r.getDate();if(s!==a)for(var l=r.getTime()-n[1].time>0?1:-1;(s=r.getDate())!==a&&(r.getTime()-n[1].time)*l>0;)i-=l,r.setDate(s-l);var u=Math.floor((i+n[0].day+6)/7),c=e?1-u:u-1;return e&&n.reverse(),{range:[n[0].formatedDate,n[1].formatedDate],start:n[0],end:n[1],allDay:i,weeks:u,nthWeek:c,fweek:n[0].day,lweek:n[1].day}},t.prototype._getDateByWeeksAndDay=function(t,e,n){var i=this._getRangeInfo(n);if(t>i.weeks||0===t&&e<i.fweek||t===i.weeks&&e>i.lweek)return null;var r=7*(t-1)-i.fweek+e,o=new Date(i.start.time);return o.setDate(+i.start.d+r),this.getDateInfo(o)},t.create=function(e,n){var i=[];return e.eachComponent("calendar",(function(e){var n=new t(e);i.push(n),e.coordinateSystem=n})),e.eachSeries((function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("calendarIndex")||0])})),i},t.dimensions=["time","value"],t}();function S5(t,e){var n;return Ky(e,(function(e){null!=t[e]&&"auto"!==t[e]&&(n=!0)})),n}var M5=["transition","enterFrom","leaveTo"],I5=M5.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function A5(t,e,n){if(n&&(!t[n]&&e[n]&&(t[n]={}),t=t[n],e=e[n]),t&&e)for(var i=n?M5:I5,r=0;r<i.length;r++){var o=i[r];null==t[o]&&null!=e[o]&&(t[o]=e[o])}}var C5=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.preventAutoZ=!0,n}return my(e,t),e.prototype.mergeOption=function(e,n){var i=this.option.elements;this.option.elements=null,t.prototype.mergeOption.call(this,e,n),this.option.elements=i},e.prototype.optionUpdated=function(t,e){var n=this.option,i=(e?n:t).elements,r=n.elements=e?[]:n.elements,o=[];this._flatten(i,o,null);var a=OM(r,o,"normalMerge"),s=this._elOptionsToUpdate=[];Ky(a,(function(t,e){var n=t.newOption;n&&(s.push(n),function(t,e){var n=t.existing;if(e.id=t.keyInfo.id,!e.type&&n&&(e.type=n.type),null==e.parentId){var i=e.parentOption;i?e.parentId=i.id:n&&(e.parentId=n.parentId)}e.parentOption=null}(t,n),function(t,e,n){var i=jy({},n),r=t[e],o=n.$action||"merge";"merge"===o?r?(Wy(r,i,!0),oP(r,i,{ignoreSize:!0}),sP(n,r),A5(n,r),A5(n,r,"shape"),A5(n,r,"style"),A5(n,r,"extra"),n.clipPath=r.clipPath):t[e]=i:"replace"===o?t[e]=i:"remove"===o&&r&&(t[e]=null)}(r,e,n),function(t,e){if(t&&(t.hv=e.hv=[S5(e,["left","right"]),S5(e,["top","bottom"])],"group"===t.type)){var n=t,i=e;null==n.width&&(n.width=i.width=0),null==n.height&&(n.height=i.height=0)}}(r[e],n))}),this),n.elements=Qy(r,(function(t){return t&&delete t.$action,null!=t}))},e.prototype._flatten=function(t,e,n){Ky(t,(function(t){if(t){n&&(t.parentOption=n),e.push(t);var i=t.children;i&&i.length&&this._flatten(i,e,t),delete t.children}}),this)},e.prototype.useElOptionsToUpdate=function(){var t=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,t},e.type="graphic",e.defaultOption={elements:[]},e}(cP),T5={path:null,compoundPath:null,group:KS,image:WA,text:pC},D5=FM(),k5=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.init=function(){this._elMap=C_()},e.prototype.render=function(t,e,n){t!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=t,this._updateElements(t),this._relocate(t,n)},e.prototype._updateElements=function(t){var e=t.useElOptionsToUpdate();if(e){var n=this._elMap,i=this.group,r=t.get("z"),o=t.get("zlevel");Ky(e,(function(e){var a=NM(e.id,null),s=null!=a?n.get(a):null,l=NM(e.parentId,null),u=null!=l?n.get(l):i,c=e.type,h=e.style;"text"===c&&h&&e.hv&&e.hv[1]&&(h.textVerticalAlign=h.textBaseline=h.verticalAlign=h.align=null);var d=e.textContent,p=e.textConfig;if(h&&A0(h,c,!!p,!!d)){var f=C0(h,c,!0);!p&&f.textConfig&&(p=e.textConfig=f.textConfig),!d&&f.textContent&&(d=f.textContent)}var g=function(t){return t=jy({},t),Ky(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(JL),(function(e){delete t[e]})),t}(e),v=e.$action||"merge",m="merge"===v,y="replace"===v;if(m){var _=s;(A=!s)?_=P5(a,u,e.type,n):(_&&(D5(_).isNew=!1),q0(_)),_&&(N0(_,g,t,{isInit:A}),E5(_,e,r,o))}else if(y){O5(s,e,n,t);var x=P5(a,u,e.type,n);x&&(N0(x,g,t,{isInit:!0}),E5(x,e,r,o))}else"remove"===v&&(B0(s,e),O5(s,e,n,t));var b=n.get(a);if(b&&d)if(m){var w=b.getTextContent();w?w.attr(d):b.setTextContent(new pC(d))}else y&&b.setTextContent(new pC(d));if(b){var S=e.clipPath;if(S){var M=S.type,I=void 0,A=!1;if(m){var C=b.getClipPath();I=(A=!C||D5(C).type!==M)?L5(M):C}else y&&(A=!0,I=L5(M));b.setClipPath(I),N0(I,S,t,{isInit:A}),Z0(I,S.keyframeAnimation,t)}var T=D5(b);b.setTextConfig(p),T.option=e,function(t,e,n){var i=fC(t).eventData;t.silent||t.ignore||i||(i=fC(t).eventData={componentType:"graphic",componentIndex:e.componentIndex,name:t.name});i&&(i.info=n.info)}(b,t,e),bk({el:b,componentModel:t,itemName:b.name,itemTooltipOption:e.tooltip}),Z0(b,e.keyframeAnimation,t)}}))}},e.prototype._relocate=function(t,e){for(var n=t.option.elements,i=this.group,r=this._elMap,o=e.getWidth(),a=e.getHeight(),s=["x","y"],l=0;l<n.length;l++){if((f=null!=(p=NM((d=n[l]).id,null))?r.get(p):null)&&f.isGroup){var u=(g=f.parent)===i,c=D5(f),h=D5(g);c.width=rM(c.option.width,u?o:h.width)||0,c.height=rM(c.option.height,u?a:h.height)||0}}for(l=n.length-1;l>=0;l--){var d,p,f;if(f=null!=(p=NM((d=n[l]).id,null))?r.get(p):null){var g=f.parent,v=(h=D5(g),{}),m=iP(f,d,g===i?{width:o,height:a}:{width:h.width,height:h.height},null,{hv:d.hv,boundingMode:d.bounding},v);if(!D5(f).isNew&&m){for(var y=d.transition,_={},x=0;x<s.length;x++){var b=s[x],w=v[b];y&&(V0(y)||Xy(y,b)>=0)?_[b]=w:f[b]=w}jD(f,_,t,0)}else f.attr(v)}}},e.prototype._clear=function(){var t=this,e=this._elMap;e.each((function(n){O5(n,D5(n).option,e,t._lastGraphicModel)})),this._elMap=C_()},e.prototype.dispose=function(){this._clear()},e.type="graphic",e}(rR);function L5(t){var e=new(L_(T5,t)?T5[t]:ik(t))({});return D5(e).type=t,e}function P5(t,e,n,i){var r=L5(n);return e.add(r),i.set(t,r),D5(r).id=t,D5(r).isNew=!0,r}function O5(t,e,n,i){t&&t.parent&&("group"===t.type&&t.traverse((function(t){O5(t,e,n,i)})),z0(t,e,i),n.removeKey(D5(t).id))}function E5(t,e,n,i){t.isGroup||Ky([["cursor",EI.prototype.cursor],["zlevel",i||0],["z",n||0],["z2",0]],(function(n){var i=n[0];L_(e,i)?t[i]=g_(e[i],n[1]):null==t[i]&&(t[i]=n[1])})),Ky(t_(e),(function(n){if(0===n.indexOf("on")){var i=e[n];t[n]=r_(i)?i:null}})),L_(e,"draggable")&&(t.draggable=e.draggable),null!=e.name&&(t.name=e.name),null!=e.id&&(t.id=e.id)}var R5=["x","y","radius","angle","single"],N5=["cartesian2d","polar","singleAxis"];function B5(t){return t+"Axis"}function z5(t,e){var n,i=C_(),r=[],o=C_();t.eachComponent({mainType:"dataZoom",query:e},(function(t){o.get(t.uid)||s(t)}));do{n=!1,t.eachComponent("dataZoom",a)}while(n);function a(t){!o.get(t.uid)&&function(t){var e=!1;return t.eachTargetAxis((function(t,n){var r=i.get(t);r&&r[n]&&(e=!0)})),e}(t)&&(s(t),n=!0)}function s(t){o.set(t.uid,!0),r.push(t),t.eachTargetAxis((function(t,e){(i.get(t)||i.set(t,[]))[e]=!0}))}return r}function V5(t){var e=t.ecModel,n={infoList:[],infoMap:C_()};return t.eachTargetAxis((function(t,i){var r=e.getComponent(B5(t),i);if(r){var o=r.getCoordSysModel();if(o){var a=o.uid,s=n.infoMap.get(a);s||(s={model:o,axisModels:[]},n.infoList.push(s),n.infoMap.set(a,s)),s.axisModels.push(r)}}})),n}var F5=function(){function t(){this.indexList=[],this.indexMap=[]}return t.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},t}(),G5=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return my(e,t),e.prototype.init=function(t,e,n){var i=H5(t);this.settledOption=i,this.mergeDefaultAndTheme(t,n),this._doInit(i)},e.prototype.mergeOption=function(t){var e=H5(t);Wy(this.option,t,!0),Wy(this.settledOption,e,!0),this._doInit(e)},e.prototype._doInit=function(t){var e=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var n=this.settledOption;Ky([["start","startValue"],["end","endValue"]],(function(t,i){"value"===this._rangePropMode[i]&&(e[t[0]]=n[t[0]]=null)}),this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get("orient",!0),e=this._targetAxisInfoMap=C_();this._fillSpecifiedTargetAxis(e)?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(e,this._orient)),this._noTarget=!0,e.each((function(t){t.indexList.length&&(this._noTarget=!1)}),this)},e.prototype._fillSpecifiedTargetAxis=function(t){var e=!1;return Ky(R5,(function(n){var i=this.getReferringComponents(B5(n),jM);if(i.specified){e=!0;var r=new F5;Ky(i.models,(function(t){r.add(t.componentIndex)})),t.set(n,r)}}),this),e},e.prototype._fillAutoTargetAxisByOrient=function(t,e){var n=this.ecModel,i=!0;if(i){var r="vertical"===e?"y":"x";o(n.findComponents({mainType:r+"Axis"}),r)}i&&o(n.findComponents({mainType:"singleAxis",filter:function(t){return t.get("orient",!0)===e}}),"single");function o(e,n){var r=e[0];if(r){var o=new F5;if(o.add(r.componentIndex),t.set(n,o),i=!1,"x"===n||"y"===n){var a=r.getReferringComponents("grid",UM).models[0];a&&Ky(e,(function(t){r.componentIndex!==t.componentIndex&&a===t.getReferringComponents("grid",UM).models[0]&&o.add(t.componentIndex)}))}}}i&&Ky(R5,(function(e){if(i){var r=n.findComponents({mainType:B5(e),filter:function(t){return"category"===t.get("type",!0)}});if(r[0]){var o=new F5;o.add(r[0].componentIndex),t.set(e,o),i=!1}}}),this)},e.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis((function(e){!t&&(t=e)}),this),"y"===t?"vertical":"horizontal"},e.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var e=this.ecModel.option;this.option.throttle=e.animation&&e.animationDurationUpdate>0?100:20}},e.prototype._updateRangeUse=function(t){var e=this._rangePropMode,n=this.get("rangeMode");Ky([["start","startValue"],["end","endValue"]],(function(i,r){var o=null!=t[i[0]],a=null!=t[i[1]];o&&!a?e[r]="percent":!o&&a?e[r]="value":n?e[r]=n[r]:o&&(e[r]="percent")}))},e.prototype.noTarget=function(){return this._noTarget},e.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis((function(e,n){null==t&&(t=this.ecModel.getComponent(B5(e),n))}),this),t},e.prototype.eachTargetAxis=function(t,e){this._targetAxisInfoMap.each((function(n,i){Ky(n.indexList,(function(n){t.call(e,i,n)}))}))},e.prototype.getAxisProxy=function(t,e){var n=this.getAxisModel(t,e);if(n)return n.__dzAxisProxy},e.prototype.getAxisModel=function(t,e){var n=this._targetAxisInfoMap.get(t);if(n&&n.indexMap[e])return this.ecModel.getComponent(B5(t),e)},e.prototype.setRawRange=function(t){var e=this.option,n=this.settledOption;Ky([["start","startValue"],["end","endValue"]],(function(i){null==t[i[0]]&&null==t[i[1]]||(e[i[0]]=n[i[0]]=t[i[0]],e[i[1]]=n[i[1]]=t[i[1]])}),this),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var e=this.option;Ky(["start","startValue","end","endValue"],(function(n){e[n]=t[n]}))},e.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},e.prototype.getValueRange=function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},e.prototype.findRepresentativeAxisProxy=function(t){if(t)return t.__dzAxisProxy;for(var e,n=this._targetAxisInfoMap.keys(),i=0;i<n.length;i++)for(var r=n[i],o=this._targetAxisInfoMap.get(r),a=0;a<o.indexList.length;a++){var s=this.getAxisProxy(r,o.indexList[a]);if(s.hostedBy(this))return s;e||(e=s)}return e},e.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},e.prototype.getOrient=function(){return this._orient},e.type="dataZoom",e.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],e.defaultOption={z:4,filterMode:"filter",start:0,end:100},e}(cP);function H5(t){var e={};return Ky(["start","end","startValue","endValue","throttle"],(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e}const W5=G5;const U5=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.type="dataZoom.select",e}(W5);const j5=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.render=function(t,e,n,i){this.dataZoomModel=t,this.ecModel=e,this.api=n},e.type="dataZoom",e}(rR);const Y5=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.type="dataZoom.select",e}(j5);var X5=Ky,q5=aM,Z5=function(){function t(t,e,n,i){this._dimName=t,this._axisIndex=e,this.ecModel=i,this._dataZoomModel=n}return t.prototype.hostedBy=function(t){return this._dataZoomModel===t},t.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},t.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},t.prototype.getTargetSeriesModels=function(){var t=[];return this.ecModel.eachSeries((function(e){if(function(t){var e=t.get("coordinateSystem");return Xy(N5,e)>=0}(e)){var n=B5(this._dimName),i=e.getReferringComponents(n,UM).models[0];i&&this._axisIndex===i.componentIndex&&t.push(e)}}),this),t},t.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},t.prototype.getMinMaxSpan=function(){return Hy(this._minMaxSpan)},t.prototype.calculateDataWindow=function(t){var e,n=this._dataExtent,i=this.getAxisModel().axis.scale,r=this._dataZoomModel.getRangePropMode(),o=[0,100],a=[],s=[];X5(["start","end"],(function(l,u){var c=t[l],h=t[l+"Value"];"percent"===r[u]?(null==c&&(c=o[u]),h=i.parse(iM(c,o,n))):(e=!0,c=iM(h=null==h?n[u]:i.parse(h),n,o)),s[u]=null==h||isNaN(h)?n[u]:h,a[u]=null==c||isNaN(c)?o[u]:c})),q5(s),q5(a);var l=this._minMaxSpan;function u(t,e,n,r,o){var a=o?"Span":"ValueSpan";GK(0,t,n,"all",l["min"+a],l["max"+a]);for(var s=0;s<2;s++)e[s]=iM(t[s],n,r,!0),o&&(e[s]=i.parse(e[s]))}return e?u(s,a,n,o,!1):u(a,s,o,n,!0),{valueWindow:s,percentWindow:a}},t.prototype.reset=function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=function(t,e,n){var i=[1/0,-1/0];X5(n,(function(t){!function(t,e,n){e&&Ky(oF(e,n),(function(n){var i=e.getApproximateExtent(n);i[0]<t[0]&&(t[0]=i[0]),i[1]>t[1]&&(t[1]=i[1])}))}(i,t.getData(),e)}));var r=t.getAxisModel(),o=KV(r.axis.scale,r,i).calculate();return[o.min,o.max]}(this,this._dimName,e),this._updateMinMaxSpan();var n=this.calculateDataWindow(t.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,this._setAxisModel()}},t.prototype.filterData=function(t,e){if(t===this._dataZoomModel){var n=this._dimName,i=this.getTargetSeriesModels(),r=t.get("filterMode"),o=this._valueWindow;"none"!==r&&X5(i,(function(t){var e=t.getData(),i=e.mapDimensionsAll(n);if(i.length){if("weakFilter"===r){var a=e.getStore(),s=$y(i,(function(t){return e.getDimensionIndex(t)}),e);e.filterSelf((function(t){for(var e,n,r,l=0;l<i.length;l++){var u=a.get(s[l],t),c=!isNaN(u),h=u<o[0],d=u>o[1];if(c&&!h&&!d)return!0;c&&(r=!0),h&&(e=!0),d&&(n=!0)}return r&&e&&n}))}else X5(i,(function(n){if("empty"===r)t.setData(e=e.map(n,(function(t){return function(t){return t>=o[0]&&t<=o[1]}(t)?t:NaN})));else{var i={};i[n]=o,e.selectRange(i)}}));X5(i,(function(t){e.setApproximateExtent(o,t)}))}}))}},t.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,n=this._dataExtent;X5(["min","max"],(function(i){var r=e.get(i+"Span"),o=e.get(i+"ValueSpan");null!=o&&(o=this.getAxisModel().axis.scale.parse(o)),null!=o?r=iM(n[0]+o,n,[0,100],!0):null!=r&&(o=iM(r,[0,100],n,!0)-n[0]),t[i+"Span"]=r,t[i+"ValueSpan"]=o}),this)},t.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,n=this._valueWindow;if(e){var i=lM(n,[0,500]);i=Math.min(i,20);var r=t.axis.scale.rawExtentInfo;0!==e[0]&&r.setDeterminedMinMax("min",+n[0].toFixed(i)),100!==e[1]&&r.setDeterminedMinMax("max",+n[1].toFixed(i)),r.freeze()}},t}();const K5=Z5;const $5={getTargetSeries:function(t){function e(e){t.eachComponent("dataZoom",(function(n){n.eachTargetAxis((function(i,r){var o=t.getComponent(B5(i),r);e(i,r,o,n)}))}))}e((function(t,e,n,i){n.__dzAxisProxy=null}));var n=[];e((function(e,i,r,o){r.__dzAxisProxy||(r.__dzAxisProxy=new K5(e,i,o,t),n.push(r.__dzAxisProxy))}));var i=C_();return Ky(n,(function(t){Ky(t.getTargetSeriesModels(),(function(t){i.set(t.uid,t)}))})),i},overallReset:function(t,e){t.eachComponent("dataZoom",(function(t){t.eachTargetAxis((function(e,n){t.getAxisProxy(e,n).reset(t)})),t.eachTargetAxis((function(n,i){t.getAxisProxy(n,i).filterData(t,e)}))})),t.eachComponent("dataZoom",(function(t){var e=t.findRepresentativeAxisProxy();if(e){var n=e.getDataPercentWindow(),i=e.getDataValueWindow();t.setCalculatedRange({start:n[0],end:n[1],startValue:i[0],endValue:i[1]})}}))}};var J5=!1;function Q5(t){J5||(J5=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,$5),function(t){t.registerAction("dataZoom",(function(t,e){Ky(z5(e,t),(function(e){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})}))}))}(t),t.registerSubTypeDefaulter("dataZoom",(function(){return"slider"})))}function t3(t){t.registerComponentModel(U5),t.registerComponentView(Y5),Q5(t)}var e3=function(){},n3={};function i3(t,e){n3[t]=e}function r3(t){return n3[t]}const o3=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.optionUpdated=function(){t.prototype.optionUpdated.apply(this,arguments);var e=this.ecModel;Ky(this.option.feature,(function(t,n){var i=r3(n);i&&(i.getDefaultOption&&(i.defaultOption=i.getDefaultOption(e)),Wy(t,i.defaultOption))}))},e.type="toolbox",e.layoutMode={type:"box",ignoreSize:!0},e.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},e}(cP);function a3(t,e){var n=UL(e.get("padding")),i=e.getItemStyle(["color","opacity"]);return i.fill=e.get("backgroundColor"),t=new $A({shape:{x:t.x-n[3],y:t.y-n[0],width:t.width+n[1]+n[3],height:t.height+n[0]+n[2],r:e.get("borderRadius")},style:i,silent:!0,z2:-1})}var s3=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return my(e,t),e.prototype.render=function(t,e,n,i){var r=this.group;if(r.removeAll(),t.get("show")){var o=+t.get("itemSize"),a="vertical"===t.get("orient"),s=t.get("feature")||{},l=this._features||(this._features={}),u=[];Ky(s,(function(t,e){u.push(e)})),new gz(this._featureNames||[],u).add(c).update(c).remove(n_(c,null)).execute(),this._featureNames=u,function(t,e,n){var i=e.getBoxLayoutParams(),r=e.get("padding"),o={width:n.getWidth(),height:n.getHeight()},a=nP(i,o,r);eP(e.get("orient"),t,e.get("itemGap"),a.width,a.height),iP(t,i,o,r)}(r,t,n),r.add(a3(r.getBoundingRect(),t)),a||r.eachChild((function(t){var e=t.__title,i=t.ensureState("emphasis"),a=i.textConfig||(i.textConfig={}),s=t.getTextContent(),l=s&&s.ensureState("emphasis");if(l&&!r_(l)&&e){var u=l.style||(l.style={}),c=PS(e,pC.makeFont(u)),h=t.x+r.x,d=!1;t.y+r.y+o+c.height>n.getHeight()&&(a.position="top",d=!0);var p=d?-5-c.height:o+10;h+c.width/2>n.getWidth()?(a.position=["100%",p],u.align="right"):h-c.width/2<0&&(a.position=[0,p],u.align="left")}}))}function c(c,h){var d,p=u[c],f=u[h],g=s[p],v=new tL(g,t,t.ecModel);if(i&&null!=i.newTitle&&i.featureName===p&&(g.title=i.newTitle),p&&!f){if(function(t){return 0===t.indexOf("my")}(p))d={onclick:v.option.onclick,featureName:p};else{var m=r3(p);if(!m)return;d=new m}l[p]=d}else if(!(d=l[f]))return;d.uid=nL("toolbox-feature"),d.model=v,d.ecModel=e,d.api=n;var y=d instanceof e3;p||!f?!v.get("show")||y&&d.unusable?y&&d.remove&&d.remove(e,n):(!function(i,s,l){var u,c,h=i.getModel("iconStyle"),d=i.getModel(["emphasis","iconStyle"]),p=s instanceof e3&&s.getIcons?s.getIcons():i.get("icon"),f=i.get("title")||{};o_(p)?(u={})[l]=p:u=p;o_(f)?(c={})[l]=f:c=f;var g=i.iconPaths={};Ky(u,(function(l,u){var p=mk(l,{},{x:-o/2,y:-o/2,width:o,height:o});p.setStyle(h.getItemStyle()),p.ensureState("emphasis").style=d.getItemStyle();var f=new pC({style:{text:c[u],align:d.get("textAlign"),borderRadius:d.get("textBorderRadius"),padding:d.get("textPadding"),fill:null},ignore:!0});p.setTextContent(f),bk({el:p,componentModel:t,itemName:u,formatterParamsExtra:{title:c[u]}}),p.__title=c[u],p.on("mouseover",(function(){var e=d.getItemStyle(),i=a?null==t.get("right")&&"right"!==t.get("left")?"right":"left":null==t.get("bottom")&&"bottom"!==t.get("top")?"bottom":"top";f.setStyle({fill:d.get("textFill")||e.fill||e.stroke||"#000",backgroundColor:d.get("textBackgroundColor")}),p.setTextConfig({position:d.get("textPosition")||i}),f.ignore=!t.get("showTitle"),n.enterEmphasis(this)})).on("mouseout",(function(){"emphasis"!==i.get(["iconStatus",u])&&n.leaveEmphasis(this),f.hide()})),("emphasis"===i.get(["iconStatus",u])?ZC:KC)(p),r.add(p),p.on("click",e_(s.onclick,s,e,n,u)),g[u]=p}))}(v,d,p),v.setIconStatus=function(t,e){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,i[t]&&("emphasis"===e?ZC:KC)(i[t])},d instanceof e3&&d.render&&d.render(v,e,n,i)):y&&d.dispose&&d.dispose(e,n)}},e.prototype.updateView=function(t,e,n,i){Ky(this._features,(function(t){t instanceof e3&&t.updateView&&t.updateView(t.model,e,n,i)}))},e.prototype.remove=function(t,e){Ky(this._features,(function(n){n instanceof e3&&n.remove&&n.remove(t,e)})),this.group.removeAll()},e.prototype.dispose=function(t,e){Ky(this._features,(function(n){n instanceof e3&&n.dispose&&n.dispose(t,e)}))},e.type="toolbox",e}(rR);const l3=s3;const u3=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return my(e,t),e.prototype.onclick=function(t,e){var n=this.model,i=n.get("name")||t.get("title.0.text")||"echarts",r="svg"===e.getZr().painter.getType(),o=r?"svg":n.get("type",!0)||"png",a=e.getConnectedDataURL({type:o,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")}),s=xy.browser;if(r_(MouseEvent)&&(s.newEdge||!s.ie&&!s.edge)){var l=document.createElement("a");l.download=i+"."+o,l.target="_blank",l.href=a;var u=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});l.dispatchEvent(u)}else if(window.navigator.msSaveOrOpenBlob||r){var c=a.split(","),h=c[0].indexOf("base64")>-1,d=r?decodeURIComponent(c[1]):c[1];h&&(d=window.atob(d));var p=i+"."+o;if(window.navigator.msSaveOrOpenBlob){for(var f=d.length,g=new Uint8Array(f);f--;)g[f]=d.charCodeAt(f);var v=new Blob([g]);window.navigator.msSaveOrOpenBlob(v,p)}else{var m=document.createElement("iframe");document.body.appendChild(m);var y=m.contentWindow,_=y.document;_.open("image/svg+xml","replace"),_.write(d),_.close(),y.focus(),_.execCommand("SaveAs",!0,p),document.body.removeChild(m)}}else{var x=n.get("lang"),b='<body style="margin:0;"><img src="'+a+'" style="max-width:100%;" title="'+(x&&x[0]||"")+'" /></body>',w=window.open();w.document.write(b),w.document.title=i}},e.getDefaultOption=function(t){return{show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:t.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:t.getLocaleModel().get(["toolbox","saveAsImage","lang"])}},e}(e3);var c3="__ec_magicType_stack__",h3=[["line","bar"],["stack"]],d3=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return my(e,t),e.prototype.getIcons=function(){var t=this.model,e=t.get("icon"),n={};return Ky(t.get("type"),(function(t){e[t]&&(n[t]=e[t])})),n},e.getDefaultOption=function(t){return{show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:t.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}}},e.prototype.onclick=function(t,e,n){var i=this.model,r=i.get(["seriesIndex",n]);if(p3[n]){var o,a={series:[]};Ky(h3,(function(t){Xy(t,n)>=0&&Ky(t,(function(t){i.setIconStatus(t,"normal")}))})),i.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:null==r?null:{seriesIndex:r}},(function(t){var e=t.subType,r=t.id,o=p3[n](e,r,t,i);o&&(Yy(o,t.option),a.series.push(o));var s=t.coordinateSystem;if(s&&"cartesian2d"===s.type&&("line"===n||"bar"===n)){var l=s.getAxesByScale("ordinal")[0];if(l){var u=l.dim+"Axis",c=t.getReferringComponents(u,UM).models[0].componentIndex;a[u]=a[u]||[];for(var h=0;h<=c;h++)a[u][c]=a[u][c]||{};a[u][c].boundaryGap="bar"===n}}}));var s=n;"stack"===n&&(o=Wy({stack:i.option.title.tiled,tiled:i.option.title.stack},i.option.title),"emphasis"!==i.get(["iconStatus",n])&&(s="tiled")),e.dispatchAction({type:"changeMagicType",currentType:s,newOption:a,newTitle:o,featureName:"magicType"})}},e}(e3),p3={line:function(t,e,n,i){if("bar"===t)return Wy({id:e,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","line"])||{},!0)},bar:function(t,e,n,i){if("line"===t)return Wy({id:e,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","bar"])||{},!0)},stack:function(t,e,n,i){var r=n.get("stack")===c3;if("line"===t||"bar"===t)return i.setIconStatus("stack",r?"normal":"emphasis"),Wy({id:e,stack:r?"":c3},i.get(["option","stack"])||{},!0)}};iz({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(t,e){e.mergeOption(t.newOption)}));const f3=d3;var g3=new Array(60).join("-"),v3="\t";function m3(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}var y3=new RegExp("["+v3+"]+","g");function _3(t,e){var n=t.split(new RegExp("\n*"+g3+"\n*","g")),i={series:[]};return Ky(n,(function(t,n){if(function(t){if(t.slice(0,t.indexOf("\n")).indexOf(v3)>=0)return!0}(t)){var r=function(t){for(var e=t.split(/\n+/g),n=[],i=$y(m3(e.shift()).split(y3),(function(t){return{name:t,data:[]}})),r=0;r<e.length;r++){var o=m3(e[r]).split(y3);n.push(o.shift());for(var a=0;a<o.length;a++)i[a]&&(i[a].data[r]=o[a])}return{series:i,categories:n}}(t),o=e[n],a=o.axisDim+"Axis";o&&(i[a]=i[a]||[],i[a][o.axisIndex]={data:r.categories},i.series=i.series.concat(r.series))}else{r=function(t){for(var e=t.split(/\n+/g),n=m3(e.shift()),i=[],r=0;r<e.length;r++){var o=m3(e[r]);if(o){var a=o.split(y3),s="",l=void 0,u=!1;isNaN(a[0])?(u=!0,s=a[0],a=a.slice(1),i[r]={name:s,value:[]},l=i[r].value):l=i[r]=[];for(var c=0;c<a.length;c++)l.push(+a[c]);1===l.length&&(u?i[r].value=l[0]:i[r]=l[0])}}return{name:n,data:i}}(t);i.series.push(r)}})),i}var x3=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return my(e,t),e.prototype.onclick=function(t,e){setTimeout((function(){e.dispatchAction({type:"hideTip"})}));var n=e.getDom(),i=this.model;this._dom&&n.removeChild(this._dom);var r=document.createElement("div");r.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",r.style.backgroundColor=i.get("backgroundColor")||"#fff";var o=document.createElement("h4"),a=i.get("lang")||[];o.innerHTML=a[0]||i.get("title"),o.style.cssText="margin:10px 20px",o.style.color=i.get("textColor");var s=document.createElement("div"),l=document.createElement("textarea");s.style.cssText="overflow:auto";var u=i.get("optionToContent"),c=i.get("contentToOption"),h=function(t){var e,n,i,r=function(t){var e={},n=[],i=[];return t.eachRawSeries((function(t){var r=t.coordinateSystem;if(!r||"cartesian2d"!==r.type&&"polar"!==r.type)n.push(t);else{var o=r.getBaseAxis();if("category"===o.type){var a=o.dim+"_"+o.index;e[a]||(e[a]={categoryAxis:o,valueAxis:r.getOtherAxis(o),series:[]},i.push({axisDim:o.dim,axisIndex:o.index})),e[a].series.push(t)}else n.push(t)}})),{seriesGroupByCategoryAxis:e,other:n,meta:i}}(t);return{value:Qy([(n=r.seriesGroupByCategoryAxis,i=[],Ky(n,(function(t,e){var n=t.categoryAxis,r=t.valueAxis.dim,o=[" "].concat($y(t.series,(function(t){return t.name}))),a=[n.model.getCategories()];Ky(t.series,(function(t){var e=t.getRawData();a.push(t.getRawData().mapArray(e.mapDimension(r),(function(t){return t})))}));for(var s=[o.join(v3)],l=0;l<a[0].length;l++){for(var u=[],c=0;c<a.length;c++)u.push(a[c][l]);s.push(u.join(v3))}i.push(s.join("\n"))})),i.join("\n\n"+g3+"\n\n")),(e=r.other,$y(e,(function(t){var e=t.getRawData(),n=[t.name],i=[];return e.each(e.dimensions,(function(){for(var t=arguments.length,r=arguments[t-1],o=e.getName(r),a=0;a<t-1;a++)i[a]=arguments[a];n.push((o?o+v3:"")+i.join(v3))})),n.join("\n")})).join("\n\n"+g3+"\n\n"))],(function(t){return!!t.replace(/[\n\t\s]/g,"")})).join("\n\n"+g3+"\n\n"),meta:r.meta}}(t);if(r_(u)){var d=u(e.getOption());o_(d)?s.innerHTML=d:h_(d)&&s.appendChild(d)}else{l.readOnly=i.get("readOnly");var p=l.style;p.cssText="display:block;width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;resize:none;box-sizing:border-box;outline:none",p.color=i.get("textColor"),p.borderColor=i.get("textareaBorderColor"),p.backgroundColor=i.get("textareaColor"),l.value=h.value,s.appendChild(l)}var f=h.meta,g=document.createElement("div");g.style.cssText="position:absolute;bottom:5px;left:0;right:0";var v="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",m=document.createElement("div"),y=document.createElement("div");v+=";background-color:"+i.get("buttonColor"),v+=";color:"+i.get("buttonTextColor");var _=this;function x(){n.removeChild(r),_._dom=null}mx(m,"click",x),mx(y,"click",(function(){if(null==c&&null!=u||null!=c&&null==u)x();else{var t;try{t=r_(c)?c(s,e.getOption()):_3(l.value,f)}catch(n){throw x(),new Error("Data view format error "+n)}t&&e.dispatchAction({type:"changeDataView",newOption:t}),x()}})),m.innerHTML=a[1],y.innerHTML=a[2],y.style.cssText=m.style.cssText=v,!i.get("readOnly")&&g.appendChild(y),g.appendChild(m),r.appendChild(o),r.appendChild(s),r.appendChild(g),s.style.height=n.clientHeight-80+"px",n.appendChild(r),this._dom=r},e.prototype.remove=function(t,e){this._dom&&e.getDom().removeChild(this._dom)},e.prototype.dispose=function(t,e){this.remove(t,e)},e.getDefaultOption=function(t){return{show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:t.getLocaleModel().get(["toolbox","dataView","title"]),lang:t.getLocaleModel().get(["toolbox","dataView","lang"]),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"}},e}(e3);function b3(t,e){return $y(t,(function(t,n){var i=e&&e[n];if(l_(i)&&!i_(i)){l_(t)&&!i_(t)||(t={value:t});var r=null!=i.name&&null==t.name;return t=Yy(t,i),r&&delete t.name,t}return t}))}iz({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},(function(t,e){var n=[];Ky(t.newOption.series,(function(t){var i=e.getSeriesByName(t.name)[0];if(i){var r=i.get("data");n.push({name:t.name,data:b3(t.data,r)})}else n.push(jy({type:"scatter"},t))})),e.mergeOption(Yy({series:n},t.newOption))}));const w3=x3;var S3=Ky,M3=FM();function I3(t){var e=M3(t);return e.snapshots||(e.snapshots=[{}]),e.snapshots}var A3=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return my(e,t),e.prototype.onclick=function(t,e){!function(t){M3(t).snapshots=null}(t),e.dispatchAction({type:"restore",from:this.uid})},e.getDefaultOption=function(t){return{show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:t.getLocaleModel().get(["toolbox","restore","title"])}},e}(e3);iz({type:"restore",event:"restore",update:"prepareAndUpdate"},(function(t,e){e.resetOption("recreate")}));const C3=A3;var T3=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],D3=function(){function t(t,e,n){var i=this;this._targetInfoList=[];var r=L3(e,t);Ky(P3,(function(t,e){(!n||!n.include||Xy(n.include,e)>=0)&&t(r,i._targetInfoList)}))}return t.prototype.setOutputRanges=function(t,e){return this.matchOutputRanges(t,e,(function(t,e,n){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var i=R3[t.brushType](0,n,e);t.__rangeOffset={offset:B3[t.brushType](i.values,t.range,[1,1]),xyMinMax:i.xyMinMax}}})),t},t.prototype.matchOutputRanges=function(t,e,n){Ky(t,(function(t){var i=this.findTargetInfo(t,e);i&&!0!==i&&Ky(i.coordSyses,(function(i){var r=R3[t.brushType](1,i,t.range,!0);n(t,r.values,i,e)}))}),this)},t.prototype.setInputRanges=function(t,e){Ky(t,(function(t){var n,i,r,o,a,s=this.findTargetInfo(t,e);if(t.range=t.range||[],s&&!0!==s){t.panelId=s.panelId;var l=R3[t.brushType](0,s.coordSys,t.coordRange),u=t.__rangeOffset;t.range=u?B3[t.brushType](l.values,u.offset,(n=l.xyMinMax,i=u.xyMinMax,r=V3(n),o=V3(i),a=[r[0]/o[0],r[1]/o[1]],isNaN(a[0])&&(a[0]=1),isNaN(a[1])&&(a[1]=1),a)):l.values}}),this)},t.prototype.makePanelOpts=function(t,e){return $y(this._targetInfoList,(function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e?e(n):null,clipPath:q$(i),isTargetByCursor:K$(i,t,n.coordSysModel),getLinearBrushOtherExtent:Z$(i)}}))},t.prototype.controlSeries=function(t,e,n){var i=this.findTargetInfo(t,n);return!0===i||i&&Xy(i.coordSyses,e.coordinateSystem)>=0},t.prototype.findTargetInfo=function(t,e){for(var n=this._targetInfoList,i=L3(e,t),r=0;r<n.length;r++){var o=n[r],a=t.panelId;if(a){if(o.panelId===a)return o}else for(var s=0;s<O3.length;s++)if(O3[s](i,o))return o}return!0},t}();function k3(t){return t[0]>t[1]&&t.reverse(),t}function L3(t,e){return HM(t,e,{includeMainTypes:T3})}var P3={grid:function(t,e){var n=t.xAxisModels,i=t.yAxisModels,r=t.gridModels,o=C_(),a={},s={};(n||i||r)&&(Ky(n,(function(t){var e=t.axis.grid.model;o.set(e.id,e),a[e.id]=!0})),Ky(i,(function(t){var e=t.axis.grid.model;o.set(e.id,e),s[e.id]=!0})),Ky(r,(function(t){o.set(t.id,t),a[t.id]=!0,s[t.id]=!0})),o.each((function(t){var r=t.coordinateSystem,o=[];Ky(r.getCartesians(),(function(t,e){(Xy(n,t.getAxis("x").model)>=0||Xy(i,t.getAxis("y").model)>=0)&&o.push(t)})),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:o[0],coordSyses:o,getPanelRect:E3.grid,xAxisDeclared:a[t.id],yAxisDeclared:s[t.id]})})))},geo:function(t,e){Ky(t.geoModels,(function(t){var n=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:n,coordSyses:[n],getPanelRect:E3.geo})}))}},O3=[function(t,e){var n=t.xAxisModel,i=t.yAxisModel,r=t.gridModel;return!r&&n&&(r=n.axis.grid.model),!r&&i&&(r=i.axis.grid.model),r&&r===e.gridModel},function(t,e){var n=t.geoModel;return n&&n===e.geoModel}],E3={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(hk(t)),e}},R3={lineX:n_(N3,0),lineY:n_(N3,1),rect:function(t,e,n,i){var r=t?e.pointToData([n[0][0],n[1][0]],i):e.dataToPoint([n[0][0],n[1][0]],i),o=t?e.pointToData([n[0][1],n[1][1]],i):e.dataToPoint([n[0][1],n[1][1]],i),a=[k3([r[0],o[0]]),k3([r[1],o[1]])];return{values:a,xyMinMax:a}},polygon:function(t,e,n,i){var r=[[1/0,-1/0],[1/0,-1/0]];return{values:$y(n,(function(n){var o=t?e.pointToData(n,i):e.dataToPoint(n,i);return r[0][0]=Math.min(r[0][0],o[0]),r[1][0]=Math.min(r[1][0],o[1]),r[0][1]=Math.max(r[0][1],o[0]),r[1][1]=Math.max(r[1][1],o[1]),o})),xyMinMax:r}}};function N3(t,e,n,i){var r=n.getAxis(["x","y"][t]),o=k3($y([0,1],(function(t){return e?r.coordToData(r.toLocalCoord(i[t]),!0):r.toGlobalCoord(r.dataToCoord(i[t]))}))),a=[];return a[t]=o,a[1-t]=[NaN,NaN],{values:o,xyMinMax:a}}var B3={lineX:n_(z3,0),lineY:n_(z3,1),rect:function(t,e,n){return[[t[0][0]-n[0]*e[0][0],t[0][1]-n[0]*e[0][1]],[t[1][0]-n[1]*e[1][0],t[1][1]-n[1]*e[1][1]]]},polygon:function(t,e,n){return $y(t,(function(t,i){return[t[0]-n[0]*e[i][0],t[1]-n[1]*e[i][1]]}))}};function z3(t,e,n,i){return[e[0]-i[t]*n[0],e[1]-i[t]*n[1]]}function V3(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}const F3=D3;var G3,H3,W3=Ky,U3=CM+"toolbox-dataZoom_",j3=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return my(e,t),e.prototype.render=function(t,e,n,i){this._brushController||(this._brushController=new X$(n.getZr()),this._brushController.on("brush",e_(this._onBrush,this)).mount()),function(t,e,n,i,r){var o=n._isZoomActive;i&&"takeGlobalCursor"===i.type&&(o="dataZoomSelect"===i.key&&i.dataZoomSelectActive);n._isZoomActive=o,t.setIconStatus("zoom",o?"emphasis":"normal");var a=new F3(X3(t),e,{include:["grid"]}),s=a.makePanelOpts(r,(function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"}));n._brushController.setPanels(s).enableBrush(!(!o||!s.length)&&{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()})}(t,e,this,i,n),function(t,e){t.setIconStatus("back",function(t){return I3(t).length}(e)>1?"emphasis":"normal")}(t,e)},e.prototype.onclick=function(t,e,n){Y3[n].call(this)},e.prototype.remove=function(t,e){this._brushController&&this._brushController.unmount()},e.prototype.dispose=function(t,e){this._brushController&&this._brushController.dispose()},e.prototype._onBrush=function(t){var e=t.areas;if(t.isEnd&&e.length){var n={},i=this.ecModel;this._brushController.updateCovers([]),new F3(X3(this.model),i,{include:["grid"]}).matchOutputRanges(e,i,(function(t,e,n){if("cartesian2d"===n.type){var i=t.brushType;"rect"===i?(r("x",n,e[0]),r("y",n,e[1])):r({lineX:"x",lineY:"y"}[i],n,e)}})),function(t,e){var n=I3(t);S3(e,(function(e,i){for(var r=n.length-1;r>=0&&!n[r][i];r--);if(r<0){var o=t.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(o){var a=o.getPercentRange();n[0][i]={dataZoomId:i,start:a[0],end:a[1]}}}})),n.push(e)}(i,n),this._dispatchZoomAction(n)}function r(t,e,r){var o=e.getAxis(t),a=o.model,s=function(t,e,n){var i;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){n.getAxisModel(t,e.componentIndex)&&(i=n)})),i}(t,a,i),l=s.findRepresentativeAxisProxy(a).getMinMaxSpan();null==l.minValueSpan&&null==l.maxValueSpan||(r=GK(0,r.slice(),o.scale.getExtent(),0,l.minValueSpan,l.maxValueSpan)),s&&(n[s.id]={dataZoomId:s.id,startValue:r[0],endValue:r[1]})}},e.prototype._dispatchZoomAction=function(t){var e=[];W3(t,(function(t,n){e.push(Hy(t))})),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},e.getDefaultOption=function(t){return{show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:t.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}}},e}(e3),Y3={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(function(t){var e=I3(t),n=e[e.length-1];e.length>1&&e.pop();var i={};return S3(n,(function(t,n){for(var r=e.length-1;r>=0;r--)if(t=e[r][n]){i[n]=t;break}})),i}(this.ecModel))}};function X3(t){var e={xAxisIndex:t.get("xAxisIndex",!0),yAxisIndex:t.get("yAxisIndex",!0),xAxisId:t.get("xAxisId",!0),yAxisId:t.get("yAxisId",!0)};return null==e.xAxisIndex&&null==e.xAxisId&&(e.xAxisIndex="all"),null==e.yAxisIndex&&null==e.yAxisId&&(e.yAxisIndex="all"),e}G3="dataZoom",H3=function(t){var e=t.getComponent("toolbox",0),n=["feature","dataZoom"];if(e&&null!=e.get(n)){var i=e.getModel(n),r=[],o=HM(t,X3(i));return W3(o.xAxisModels,(function(t){return a(t,"xAxis","xAxisIndex")})),W3(o.yAxisModels,(function(t){return a(t,"yAxis","yAxisIndex")})),r}function a(t,e,n){var o=t.componentIndex,a={type:"select",$fromToolbox:!0,filterMode:i.get("filterMode",!0)||"filter",id:U3+e+o};a[n]=o,r.push(a)}},__(null==kP.get(G3)&&H3),kP.set(G3,H3);const q3=j3;const Z3=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},e}(cP);function K3(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function $3(t){if(xy.domSupported)for(var e=document.documentElement.style,n=0,i=t.length;n<i;n++)if(t[n]in e)return t[n]}var J3=$3(["transform","webkitTransform","OTransform","MozTransform","msTransform"]);function Q3(t,e){if(!t)return e;e=WL(e,!0);var n=t.indexOf(e);return(t=-1===n?e:"-"+t.slice(0,n)+"-"+e).toLowerCase()}var t4=Q3($3(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),"transition"),e4=Q3(J3,"transform"),n4="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(xy.transform3dSupported?"will-change:transform;":"");function i4(t,e,n){var i=t.toFixed(0)+"px",r=e.toFixed(0)+"px";if(!xy.transformSupported)return n?"top:"+r+";left:"+i+";":[["top",r],["left",i]];var o=xy.transform3dSupported,a="translate"+(o?"3d":"")+"("+i+","+r+(o?",0":"")+")";return n?"top:0;left:0;"+e4+":"+a+";":[["top",0],["left",0],[J3,a]]}function r4(t,e,n){var i=[],r=t.get("transitionDuration"),o=t.get("backgroundColor"),a=t.get("shadowBlur"),s=t.get("shadowColor"),l=t.get("shadowOffsetX"),u=t.get("shadowOffsetY"),c=t.getModel("textStyle"),h=HE(t,"html"),d=l+"px "+u+"px "+a+"px "+s;return i.push("box-shadow:"+d),e&&r&&i.push(function(t,e){var n="cubic-bezier(0.23,1,0.32,1)",i=" "+t/2+"s "+n,r="opacity"+i+",visibility"+i;return e||(i=" "+t+"s "+n,r+=xy.transformSupported?","+e4+i:",left"+i+",top"+i),t4+":"+r}(r,n)),o&&i.push("background-color:"+o),Ky(["width","color","radius"],(function(e){var n="border-"+e,r=WL(n),o=t.get(r);null!=o&&i.push(n+":"+o+("color"===e?"":"px"))})),i.push(function(t){var e=[],n=t.get("fontSize"),i=t.getTextColor();i&&e.push("color:"+i),e.push("font:"+t.getFont()),n&&e.push("line-height:"+Math.round(3*n/2)+"px");var r=t.get("textShadowColor"),o=t.get("textShadowBlur")||0,a=t.get("textShadowOffsetX")||0,s=t.get("textShadowOffsetY")||0;return r&&o&&e.push("text-shadow:"+a+"px "+s+"px "+o+"px "+r),Ky(["decoration","align"],(function(n){var i=t.get(n);i&&e.push("text-"+n+":"+i)})),e.join(";")}(c)),null!=h&&i.push("padding:"+UL(h).join("px ")+"px"),i.join(";")+";"}function o4(t,e,n,i,r){var o=e&&e.painter;if(n){var a=o&&o.getViewportRoot();a&&function(t,e,n,i,r){ox(rx,e,i,r,!0)&&ox(t,n,rx[0],rx[1])}(t,a,document.body,i,r)}else{t[0]=i,t[1]=r;var s=o&&o.getViewportRootOffset();s&&(t[0]+=s.offsetLeft,t[1]+=s.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var a4=function(){function t(t,e,n){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,xy.wxa)return null;var i=document.createElement("div");i.domBelongToZr=!0,this.el=i;var r=this._zr=e.getZr(),o=this._appendToBody=n&&n.appendToBody;o4(this._styleCoord,r,o,e.getWidth()/2,e.getHeight()/2),o?document.body.appendChild(i):t.appendChild(i),this._container=t;var a=this;i.onmouseenter=function(){a._enterable&&(clearTimeout(a._hideTimeout),a._show=!0),a._inContent=!0},i.onmousemove=function(t){if(t=t||window.event,!a._enterable){var e=r.handler;vx(r.painter.getViewportRoot(),t,!0),e.dispatch("mousemove",t)}},i.onmouseleave=function(){a._inContent=!1,a._enterable&&a._show&&a.hideLater(a._hideDelay)}}return t.prototype.update=function(t){var e,n,i,r=this._container,o=(n="position",(i=(e=r).currentStyle||document.defaultView&&document.defaultView.getComputedStyle(e))?n?i[n]:i:null),a=r.style;"absolute"!==a.position&&"absolute"!==o&&(a.position="relative");var s=t.get("alwaysShowContent");s&&this._moveIfResized(),this._alwaysShowContent=s,this.el.className=t.get("className")||""},t.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,i=n.style,r=this._styleCoord;n.innerHTML?i.cssText=n4+r4(t,!this._firstShow,this._longHide)+i4(r[0],r[1],!0)+"border-color:"+ZL(e)+";"+(t.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):i.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(t,e,n,i,r){var o=this.el;if(null!=t){var a="";if(o_(r)&&"item"===n.get("trigger")&&!K3(n)&&(a=function(t,e,n){if(!o_(n)||"inside"===n)return"";var i=t.get("backgroundColor"),r=t.get("borderWidth");e=ZL(e);var o,a,s="left"===(o=n)?"right":"right"===o?"left":"top"===o?"bottom":"top",l=Math.max(1.5*Math.round(r),6),u="",c=e4+":";Xy(["left","right"],s)>-1?(u+="top:50%",c+="translateY(-50%) rotate("+(a="left"===s?-225:-45)+"deg)"):(u+="left:50%",c+="translateX(-50%) rotate("+(a="top"===s?225:45)+"deg)");var h=a*Math.PI/180,d=l+r,p=d*Math.abs(Math.cos(h))+d*Math.abs(Math.sin(h)),f=e+" solid "+r+"px;";return'<div style="'+["position:absolute;width:"+l+"px;height:"+l+"px;z-index:-1;",(u+=";"+s+":-"+Math.round(100*((p-Math.SQRT2*r)/2+Math.SQRT2*r-(p-d)/2))/100+"px")+";"+c+";","border-bottom:"+f,"border-right:"+f,"background-color:"+i+";"].join("")+'"></div>'}(n,i,r)),o_(t))o.innerHTML=t+a;else if(t){o.innerHTML="",i_(t)||(t=[t]);for(var s=0;s<t.length;s++)h_(t[s])&&t[s].parentNode!==o&&o.appendChild(t[s]);if(a&&o.childNodes.length){var l=document.createElement("div");l.innerHTML=a,o.appendChild(l)}}}else o.innerHTML=""},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el;return[t.offsetWidth,t.offsetHeight]},t.prototype.moveTo=function(t,e){var n=this._styleCoord;if(o4(n,this._zr,this._appendToBody,t,e),null!=n[0]&&null!=n[1]){var i=this.el.style;Ky(i4(n[0],n[1]),(function(t){i[t[0]]=t[1]}))}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){var t=this,e=this.el.style;e.visibility="hidden",e.opacity="0",xy.transform3dSupported&&(e.willChange=""),this._show=!1,this._longHideTimeout=setTimeout((function(){return t._longHide=!0}),500)},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(e_(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this.el.parentNode.removeChild(this.el)},t}();const s4=a4;function l4(t){return Math.max(0,t)}function u4(t){var e=l4(t.shadowBlur||0),n=l4(t.shadowOffsetX||0),i=l4(t.shadowOffsetY||0);return{left:l4(e-n),right:l4(e+n),top:l4(e-i),bottom:l4(e+i)}}function c4(t,e,n,i){t[0]=n,t[1]=i,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}const h4=function(){function t(t){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=t.getZr(),c4(this._styleCoord,this._zr,t.getWidth()/2,t.getHeight()/2)}return t.prototype.update=function(t){var e=t.get("alwaysShowContent");e&&this._moveIfResized(),this._alwaysShowContent=e},t.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},t.prototype.setContent=function(t,e,n,i,r){var o=this;l_(t)&&MM(""),this.el&&this._zr.remove(this.el);var a=n.getModel("textStyle");this.el=new pC({style:{rich:e.richTextStyles,text:t,lineHeight:22,borderWidth:1,borderColor:i,textShadowColor:a.get("textShadowColor"),fill:n.get(["textStyle","color"]),padding:HE(n,"richText"),verticalAlign:"top",align:"left"},z:n.get("z")}),Ky(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],(function(t){o.el.style[t]=n.get(t)})),Ky(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],(function(t){o.el.style[t]=a.get(t)||0})),this._zr.add(this.el);var s=this;this.el.on("mouseover",(function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0})),this.el.on("mouseout",(function(){s._enterable&&s._show&&s.hideLater(s._hideDelay),s._inContent=!1}))},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el,e=this.el.getBoundingRect(),n=u4(t.style);return[e.width+n.left+n.right,e.height+n.top+n.bottom]},t.prototype.moveTo=function(t,e){var n=this.el;if(n){var i=this._styleCoord;c4(i,this._zr,t,e),t=i[0],e=i[1];var r=n.style,o=l4(r.borderWidth||0),a=u4(r);n.x=t+o+a.left,n.y=e+o+a.top,n.markRedraw()}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(e_(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this._zr.remove(this.el)},t}();var d4=new $A({shape:{x:-1,y:-1,width:2,height:2}}),p4=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.init=function(t,e){if(!xy.node&&e.getDom()){var n,i=t.getComponent("tooltip"),r=this._renderMode="auto"===(n=i.get("renderMode"))?xy.domSupported?"html":"richText":n||"html";this._tooltipContent="richText"===r?new h4(e):new s4(e.getDom(),e,{appendToBody:i.get("appendToBody",!0)})}},e.prototype.render=function(t,e,n){if(!xy.node&&n.getDom()){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=n;var i=this._tooltipContent;i.update(t),i.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow(),"richText"!==this._renderMode&&t.get("transitionDuration")?_R(this,"_updatePosition",50,"fixRate"):xR(this,"_updatePosition")}},e.prototype._initGlobalListener=function(){var t=this._tooltipModel.get("triggerOn");J1("itemTooltip",this._api,e_((function(e,n,i){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(n,i):"leave"===e&&this._hide(i))}),this))},e.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,n=this._api,i=t.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==i&&"click"!==i){var r=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&r.manuallyShowTip(t,e,n,{x:r._lastX,y:r._lastY,dataByCoordSys:r._lastDataByCoordSys})}))}},e.prototype.manuallyShowTip=function(t,e,n,i){if(i.from!==this.uid&&!xy.node&&n.getDom()){var r=g4(i,n);this._ticket="";var o=i.dataByCoordSys,a=function(t,e,n){var i=WM(t).queryOptionMap,r=i.keys()[0];if(!r||"series"===r)return;var o=YM(e,r,i.get(r),{useDefault:!1,enableAll:!1,enableNone:!1}),a=o.models[0];if(!a)return;var s,l=n.getViewOfComponentModel(a);if(l.group.traverse((function(e){var n=fC(e).tooltipConfig;if(n&&n.name===t.name)return s=e,!0})),s)return{componentMainType:r,componentIndex:a.componentIndex,el:s}}(i,e,n);if(a){var s=a.el.getBoundingRect().clone();s.applyTransform(a.el.transform),this._tryShow({offsetX:s.x+s.width/2,offsetY:s.y+s.height/2,target:a.el,position:i.position,positionDefault:"bottom"},r)}else if(i.tooltip&&null!=i.x&&null!=i.y){var l=d4;l.x=i.x,l.y=i.y,l.update(),fC(l).tooltipConfig={name:null,option:i.tooltip},this._tryShow({offsetX:i.x,offsetY:i.y,target:l},r)}else if(o)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:o,tooltipOption:i.tooltipOption},r);else if(null!=i.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,i))return;var u=i2(i,e),c=u.point[0],h=u.point[1];null!=c&&null!=h&&this._tryShow({offsetX:c,offsetY:h,target:u.el,position:i.position,positionDefault:"bottom"},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},r))}},e.prototype.manuallyHideTip=function(t,e,n,i){var r=this._tooltipContent;this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,i.from!==this.uid&&this._hide(g4(i,n))},e.prototype._manuallyAxisShowTip=function(t,e,n,i){var r=i.seriesIndex,o=i.dataIndex,a=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=o&&null!=a){var s=e.getSeriesByIndex(r);if(s)if("axis"===f4([s.getData().getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:o,position:i.position}),!0}},e.prototype._tryShow=function(t,e){var n=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var i=t.dataByCoordSys;if(i&&i.length)this._showAxisTooltip(i,t);else if(n){var r,o;this._lastDataByCoordSys=null,hN(n,(function(t){return null!=fC(t).dataIndex?(r=t,!0):null!=fC(t).tooltipConfig?(o=t,!0):void 0}),!0),r?this._showSeriesItemTooltip(t,r,e):o?this._showComponentItemTooltip(t,o,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var n=t.get("showDelay");e=e_(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},e.prototype._showAxisTooltip=function(t,e){var n=this._ecModel,i=this._tooltipModel,r=[e.offsetX,e.offsetY],o=f4([e.tooltipOption],i),a=this._renderMode,s=[],l=PE("section",{blocks:[],noHeader:!0}),u=[],c=new WE;Ky(t,(function(t){Ky(t.dataByAxis,(function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),r=t.value;if(e&&null!=r){var o=z1(r,e.axis,n,t.seriesDataIndices,t.valueLabelOpt),h=PE("section",{header:o,noHeader:!x_(o),sortBlocks:!0,blocks:[]});l.blocks.push(h),Ky(t.seriesDataIndices,(function(l){var d=n.getSeriesByIndex(l.seriesIndex),p=l.dataIndexInside,f=d.getDataParams(p);if(!(f.dataIndex<0)){f.axisDim=t.axisDim,f.axisIndex=t.axisIndex,f.axisType=t.axisType,f.axisId=t.axisId,f.axisValue=nF(e.axis,{value:r}),f.axisValueLabel=o,f.marker=c.makeTooltipMarker("item",ZL(f.color),a);var g=qO(d.formatTooltip(p,!0,null)),v=g.frag;if(v){var m=f4([d],i).get("valueFormatter");h.blocks.push(m?jy({valueFormatter:m},v):v)}g.text&&u.push(g.text),s.push(f)}}))}}))})),l.blocks.reverse(),u.reverse();var h=e.position,d=o.get("order"),p=zE(l,c,a,d,n.get("useUTC"),o.get("textStyle"));p&&u.unshift(p);var f="richText"===a?"\n\n":"<br/>",g=u.join(f);this._showOrMove(o,(function(){this._updateContentNotChangedOnAxis(t,s)?this._updatePosition(o,h,r[0],r[1],this._tooltipContent,s):this._showTooltipContent(o,g,s,Math.random()+"",r[0],r[1],h,null,c)}))},e.prototype._showSeriesItemTooltip=function(t,e,n){var i=this._ecModel,r=fC(e),o=r.seriesIndex,a=i.getSeriesByIndex(o),s=r.dataModel||a,l=r.dataIndex,u=r.dataType,c=s.getData(u),h=this._renderMode,d=t.positionDefault,p=f4([c.getItemModel(l),s,a&&(a.coordinateSystem||{}).model],this._tooltipModel,d?{position:d}:null),f=p.get("trigger");if(null==f||"item"===f){var g=s.getDataParams(l,u),v=new WE;g.marker=v.makeTooltipMarker("item",ZL(g.color),h);var m=qO(s.formatTooltip(l,!1,u)),y=p.get("order"),_=p.get("valueFormatter"),x=m.frag,b=x?zE(_?jy({valueFormatter:_},x):x,v,h,y,i.get("useUTC"),p.get("textStyle")):m.text,w="item_"+s.name+"_"+l;this._showOrMove(p,(function(){this._showTooltipContent(p,b,g,w,t.offsetX,t.offsetY,t.position,t.target,v)})),n({type:"showTip",dataIndexInside:l,dataIndex:c.getRawIndex(l),seriesIndex:o,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,n){var i=fC(e),r=i.tooltipConfig.option||{};if(o_(r)){r={content:r,formatter:r}}var o=[r],a=this._ecModel.getComponent(i.componentMainType,i.componentIndex);a&&o.push(a),o.push({formatter:r.content});var s=t.positionDefault,l=f4(o,this._tooltipModel,s?{position:s}:null),u=l.get("content"),c=Math.random()+"",h=new WE;this._showOrMove(l,(function(){var n=Hy(l.get("formatterParams")||{});this._showTooltipContent(l,u,n,c,t.offsetX,t.offsetY,t.position,e,h)})),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,e,n,i,r,o,a,s,l){if(this._ticket="",t.get("showContent")&&t.get("show")){var u=this._tooltipContent;u.setEnterable(t.get("enterable"));var c=t.get("formatter");a=a||t.get("position");var h=e,d=this._getNearestPoint([r,o],n,t.get("trigger"),t.get("borderColor")).color;if(c)if(o_(c)){var p=t.ecModel.get("useUTC"),f=i_(n)?n[0]:n;h=c,f&&f.axisType&&f.axisType.indexOf("time")>=0&&(h=IL(f.axisValue,h,p)),h=qL(h,n,!0)}else if(r_(c)){var g=e_((function(e,i){e===this._ticket&&(u.setContent(i,l,t,d,a),this._updatePosition(t,a,r,o,u,n,s))}),this);this._ticket=i,h=c(n,i,g)}else h=c;u.setContent(h,l,t,d,a),u.show(t,d),this._updatePosition(t,a,r,o,u,n,s)}},e.prototype._getNearestPoint=function(t,e,n,i){return"axis"===n||i_(e)?{color:i||("html"===this._renderMode?"#fff":"none")}:i_(e)?void 0:{color:i||e.color||e.borderColor}},e.prototype._updatePosition=function(t,e,n,i,r,o,a){var s=this._api.getWidth(),l=this._api.getHeight();e=e||t.get("position");var u=r.getSize(),c=t.get("align"),h=t.get("verticalAlign"),d=a&&a.getBoundingRect().clone();if(a&&d.applyTransform(a.transform),r_(e)&&(e=e([n,i],o,r.el,d,{viewSize:[s,l],contentSize:u.slice()})),i_(e))n=rM(e[0],s),i=rM(e[1],l);else if(l_(e)){var p=e;p.width=u[0],p.height=u[1];var f=nP(p,{width:s,height:l});n=f.x,i=f.y,c=null,h=null}else if(o_(e)&&a){var g=function(t,e,n,i){var r=n[0],o=n[1],a=Math.ceil(Math.SQRT2*i)+8,s=0,l=0,u=e.width,c=e.height;switch(t){case"inside":s=e.x+u/2-r/2,l=e.y+c/2-o/2;break;case"top":s=e.x+u/2-r/2,l=e.y-o-a;break;case"bottom":s=e.x+u/2-r/2,l=e.y+c+a;break;case"left":s=e.x-r-a,l=e.y+c/2-o/2;break;case"right":s=e.x+u+a,l=e.y+c/2-o/2}return[s,l]}(e,d,u,t.get("borderWidth"));n=g[0],i=g[1]}else{g=function(t,e,n,i,r,o,a){var s=n.getSize(),l=s[0],u=s[1];null!=o&&(t+l+o+2>i?t-=l+o:t+=o);null!=a&&(e+u+a>r?e-=u+a:e+=a);return[t,e]}(n,i,r,s,l,c?null:20,h?null:20);n=g[0],i=g[1]}if(c&&(n-=v4(c)?u[0]/2:"right"===c?u[0]:0),h&&(i-=v4(h)?u[1]/2:"bottom"===h?u[1]:0),K3(t)){g=function(t,e,n,i,r){var o=n.getSize(),a=o[0],s=o[1];return t=Math.min(t+a,i)-a,e=Math.min(e+s,r)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}(n,i,r,s,l);n=g[0],i=g[1]}r.moveTo(n,i)},e.prototype._updateContentNotChangedOnAxis=function(t,e){var n=this._lastDataByCoordSys,i=this._cbParamsList,r=!!n&&n.length===t.length;return r&&Ky(n,(function(n,o){var a=n.dataByAxis||[],s=(t[o]||{}).dataByAxis||[];(r=r&&a.length===s.length)&&Ky(a,(function(t,n){var o=s[n]||{},a=t.seriesDataIndices||[],l=o.seriesDataIndices||[];(r=r&&t.value===o.value&&t.axisType===o.axisType&&t.axisId===o.axisId&&a.length===l.length)&&Ky(a,(function(t,e){var n=l[e];r=r&&t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex})),i&&Ky(t.seriesDataIndices,(function(t){var n=t.seriesIndex,o=e[n],a=i[n];o&&a&&a.data!==o.data&&(r=!1)}))}))})),this._lastDataByCoordSys=t,this._cbParamsList=e,!!r},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,e){!xy.node&&e.getDom()&&(xR(this,"_updatePosition"),this._tooltipContent.dispose(),e2("itemTooltip",e))},e.type="tooltip",e}(rR);function f4(t,e,n){var i,r=e.ecModel;n?(i=new tL(n,r,r),i=new tL(e.option,i,r)):i=e;for(var o=t.length-1;o>=0;o--){var a=t[o];a&&(a instanceof tL&&(a=a.get("tooltip",!0)),o_(a)&&(a={formatter:a}),a&&(i=new tL(a,i,r)))}return i}function g4(t,e){return t.dispatchAction||e_(e.dispatchAction,e)}function v4(t){return"center"===t||"middle"===t}const m4=p4;var y4=["rect","polygon","keep","clear"];function _4(t,e){var n=TM(t?t.brush:[]);if(n.length){var i=[];Ky(n,(function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(i=i.concat(e))}));var r=t&&t.toolbox;i_(r)&&(r=r[0]),r||(r={feature:{}},t.toolbox=[r]);var o,a,s=r.feature||(r.feature={}),l=s.brush||(s.brush={}),u=l.type||(l.type=[]);u.push.apply(u,i),a={},Ky(o=u,(function(t){a[t]=1})),o.length=0,Ky(a,(function(t,e){o.push(e)})),e&&!u.length&&u.push.apply(u,y4)}}var x4=Ky;function b4(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}function w4(t,e,n){var i={};return x4(e,(function(e){var r,o=i[e]=((r=function(){}).prototype.__hidden=r.prototype,new r);x4(t[e],(function(t,i){if(zq.isValidType(i)){var r={type:i,visual:t};n&&n(r,e),o[i]=new zq(r),"opacity"===i&&((r=Hy(r)).type="colorAlpha",o.__hidden.__alphaForOpacity=new zq(r))}}))})),i}function S4(t,e,n){var i;Ky(n,(function(t){e.hasOwnProperty(t)&&b4(e[t])&&(i=!0)})),i&&Ky(n,(function(n){e.hasOwnProperty(n)&&b4(e[n])?t[n]=Hy(e[n]):delete t[n]}))}var M4={lineX:I4(0),lineY:I4(1),rect:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])},rect:function(t,e,n){return t&&n.boundingRect.intersect(t)}},polygon:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])&&uF(n.range,t[0],t[1])},rect:function(t,e,n){var i=n.range;if(!t||i.length<=1)return!1;var r=t.x,o=t.y,a=t.width,s=t.height,l=i[0];return!!(uF(i,r,o)||uF(i,r+a,o)||uF(i,r,o+s)||uF(i,r+a,o+s)||Hx.create(t).contain(l[0],l[1])||yk(r,o,r+a,o,i)||yk(r,o,r,o+s,i)||yk(r+a,o,r+a,o+s,i)||yk(r,o+s,r+a,o+s,i))||void 0}}};function I4(t){var e=["x","y"],n=["width","height"];return{point:function(e,n,i){if(e){var r=i.range;return A4(e[t],r)}},rect:function(i,r,o){if(i){var a=o.range,s=[i[e[t]],i[e[t]]+i[n[t]]];return s[1]<s[0]&&s.reverse(),A4(s[0],a)||A4(s[1],a)||A4(a[0],s)||A4(a[1],s)}}}}function A4(t,e){return e[0]<=t&&t<=e[1]}var C4=["inBrush","outOfBrush"],T4="__ecBrushSelect",D4="__ecInBrushSelectEvent";function k4(t){t.eachComponent({mainType:"brush"},(function(e){(e.brushTargetManager=new F3(e.option,t)).setInputRanges(e.areas,t)}))}function L4(t,e,n){var i,r,o=[];t.eachComponent({mainType:"brush"},(function(t){n&&"takeGlobalCursor"===n.type&&t.setBrushOption("brush"===n.key?n.brushOption:{brushType:!1})})),k4(t),t.eachComponent({mainType:"brush"},(function(e,n){var a={brushId:e.id,brushIndex:n,brushName:e.name,areas:Hy(e.areas),selected:[]};o.push(a);var s=e.option,l=s.brushLink,u=[],c=[],h=[],d=!1;n||(i=s.throttleType,r=s.throttleDelay);var p=$y(e.areas,(function(t){var e=E4[t.brushType],n=Yy({boundingRect:e?e(t):void 0},t);return n.selectors=function(t){var e=t.brushType,n={point:function(i){return M4[e].point(i,n,t)},rect:function(i){return M4[e].rect(i,n,t)}};return n}(n),n})),f=w4(e.option,C4,(function(t){t.mappingMethod="fixed"}));function g(t){return"all"===l||!!u[t]}function v(t){return!!t.length}i_(l)&&Ky(l,(function(t){u[t]=1})),t.eachSeries((function(n,i){var r=h[i]=[];"parallel"===n.subType?function(t,e){var n=t.coordinateSystem;d=d||n.hasAxisBrushed(),g(e)&&n.eachActiveState(t.getData(),(function(t,e){"active"===t&&(c[e]=1)}))}(n,i):function(n,i,r){if(!n.brushSelector||function(t,e){var n=t.option.seriesIndex;return null!=n&&"all"!==n&&(i_(n)?Xy(n,e)<0:e!==n)}(e,i))return;if(Ky(p,(function(i){e.brushTargetManager.controlSeries(i,n,t)&&r.push(i),d=d||v(r)})),g(i)&&v(r)){var o=n.getData();o.each((function(t){O4(n,r,o,t)&&(c[t]=1)}))}}(n,i,r)})),t.eachSeries((function(t,e){var n={seriesId:t.id,seriesIndex:e,seriesName:t.name,dataIndex:[]};a.selected.push(n);var i=h[e],r=t.getData(),o=g(e)?function(t){return c[t]?(n.dataIndex.push(r.getRawIndex(t)),"inBrush"):"outOfBrush"}:function(e){return O4(t,i,r,e)?(n.dataIndex.push(r.getRawIndex(e)),"inBrush"):"outOfBrush"};(g(e)?d:v(i))&&function(t,e,n,i,r,o){var a,s={};function l(t){return aN(n,a,t)}function u(t,e){lN(n,a,t,e)}function c(t,c){a=null==o?t:c;var h=n.getRawDataItem(a);if(!h||!1!==h.visualMap)for(var d=i.call(r,t),p=e[d],f=s[d],g=0,v=f.length;g<v;g++){var m=f[g];p[m]&&p[m].applyVisual(t,l,u)}}Ky(t,(function(t){var n=zq.prepareVisualTypes(e[t]);s[t]=n})),null==o?n.each(c):n.each([o],c)}(C4,f,r,o)}))})),function(t,e,n,i,r){if(!r)return;var o=t.getZr();if(o[D4])return;o[T4]||(o[T4]=P4);var a=_R(o,T4,n,e);a(t,i)}(e,i,r,o,n)}function P4(t,e){if(!t.isDisposed()){var n=t.getZr();n[D4]=!0,t.dispatchAction({type:"brushSelect",batch:e}),n[D4]=!1}}function O4(t,e,n,i){for(var r=0,o=e.length;r<o;r++){var a=e[r];if(t.brushSelector(i,n,a.selectors,a))return!0}}var E4={rect:function(t){return R4(t.range)},polygon:function(t){for(var e,n=t.range,i=0,r=n.length;i<r;i++){e=e||[[1/0,-1/0],[1/0,-1/0]];var o=n[i];o[0]<e[0][0]&&(e[0][0]=o[0]),o[0]>e[0][1]&&(e[0][1]=o[0]),o[1]<e[1][0]&&(e[1][0]=o[1]),o[1]>e[1][1]&&(e[1][1]=o[1])}return e&&R4(e)}};function R4(t){return new Hx(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}const N4=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e,this.model,(this._brushController=new X$(e.getZr())).on("brush",e_(this._onBrush,this)).mount()},e.prototype.render=function(t,e,n,i){this.model=t,this._updateController(t,e,n,i)},e.prototype.updateTransform=function(t,e,n,i){k4(e),this._updateController(t,e,n,i)},e.prototype.updateVisual=function(t,e,n,i){this.updateTransform(t,e,n,i)},e.prototype.updateView=function(t,e,n,i){this._updateController(t,e,n,i)},e.prototype._updateController=function(t,e,n,i){(!i||i.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(n)).enableBrush(t.brushOption).updateCovers(t.areas.slice())},e.prototype.dispose=function(){this._brushController.dispose()},e.prototype._onBrush=function(t){var e=this.model.id,n=this.model.brushTargetManager.setOutputRanges(t.areas,this.ecModel);(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:e,areas:Hy(n),$from:e}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:e,areas:Hy(n),$from:e})},e.type="brush",e}(rR);function B4(t,e){return Wy({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new tL(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}const z4=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.areas=[],n.brushOption={},n}return my(e,t),e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&S4(n,t,["inBrush","outOfBrush"]);var i=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:"#ddd"},i.hasOwnProperty("liftZ")||(i.liftZ=5)},e.prototype.setAreas=function(t){t&&(this.areas=$y(t,(function(t){return B4(this.option,t)}),this))},e.prototype.setBrushOption=function(t){this.brushOption=B4(this.option,t),this.brushType=this.brushOption.brushType},e.type="brush",e.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],e.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},e}(cP);var V4=["rect","polygon","lineX","lineY","keep","clear"];const F4=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return my(e,t),e.prototype.render=function(t,e,n){var i,r,o;e.eachComponent({mainType:"brush"},(function(t){i=t.brushType,r=t.brushOption.brushMode||"single",o=o||!!t.areas.length})),this._brushType=i,this._brushMode=r,Ky(t.get("type",!0),(function(e){t.setIconStatus(e,("keep"===e?"multiple"===r:"clear"===e?o:e===i)?"emphasis":"normal")}))},e.prototype.updateView=function(t,e,n){this.render(t,e,n)},e.prototype.getIcons=function(){var t=this.model,e=t.get("icon",!0),n={};return Ky(t.get("type",!0),(function(t){e[t]&&(n[t]=e[t])})),n},e.prototype.onclick=function(t,e,n){var i=this._brushType,r=this._brushMode;"clear"===n?(e.dispatchAction({type:"axisAreaSelect",intervals:[]}),e.dispatchAction({type:"brush",command:"clear",areas:[]})):e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?i:i!==n&&n,brushMode:"keep"===n?"multiple"===r?"single":"multiple":r}})},e.getDefaultOption=function(t){return{show:!0,type:V4.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:t.getLocaleModel().get(["toolbox","brush","title"])}},e}(e3);var G4=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return my(e,t),e.type="title",e.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},e}(cP),H4=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.render=function(t,e,n){if(this.group.removeAll(),t.get("show")){var i=this.group,r=t.getModel("textStyle"),o=t.getModel("subtextStyle"),a=t.get("textAlign"),s=g_(t.get("textBaseline"),t.get("textVerticalAlign")),l=new pC({style:kk(r,{text:t.get("text"),fill:r.getTextColor()},{disableBox:!0}),z2:10}),u=l.getBoundingRect(),c=t.get("subtext"),h=new pC({style:kk(o,{text:c,fill:o.getTextColor(),y:u.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),d=t.get("link"),p=t.get("sublink"),f=t.get("triggerEvent",!0);l.silent=!d&&!f,h.silent=!p&&!f,d&&l.on("click",(function(){KL(d,"_"+t.get("target"))})),p&&h.on("click",(function(){KL(p,"_"+t.get("subtarget"))})),fC(l).eventData=fC(h).eventData=f?{componentType:"title",componentIndex:t.componentIndex}:null,i.add(l),c&&i.add(h);var g=i.getBoundingRect(),v=t.getBoxLayoutParams();v.width=g.width,v.height=g.height;var m=nP(v,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));a||("middle"===(a=t.get("left")||t.get("right"))&&(a="center"),"right"===a?m.x+=m.width:"center"===a&&(m.x+=m.width/2)),s||("center"===(s=t.get("top")||t.get("bottom"))&&(s="middle"),"bottom"===s?m.y+=m.height:"middle"===s&&(m.y+=m.height/2),s=s||"top"),i.x=m.x,i.y=m.y,i.markRedraw();var y={align:a,verticalAlign:s};l.setStyle(y),h.setStyle(y),g=i.getBoundingRect();var _=m.margin,x=t.getItemStyle(["color","opacity"]);x.fill=t.get("backgroundColor");var b=new $A({shape:{x:g.x-_[3],y:g.y-_[0],width:g.width+_[1]+_[3],height:g.height+_[0]+_[2],r:t.get("borderRadius")},style:x,subPixelOptimize:!0,silent:!0});i.add(b)}},e.type="title",e}(rR);const W4=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode="box",n}return my(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),this._initData()},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this._initData()},e.prototype.setCurrentIndex=function(t){null==t&&(t=this.option.currentIndex);var e=this._data.count();this.option.loop?t=(t%e+e)%e:(t>=e&&(t=e-1),t<0&&(t=0)),this.option.currentIndex=t},e.prototype.getCurrentIndex=function(){return this.option.currentIndex},e.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},e.prototype.setPlayState=function(t){this.option.autoPlay=!!t},e.prototype.getPlayState=function(){return!!this.option.autoPlay},e.prototype._initData=function(){var t,e=this.option,n=e.data||[],i=e.axisType,r=this._names=[];"category"===i?(t=[],Ky(n,(function(e,n){var i,o=NM(LM(e),"");l_(e)?(i=Hy(e)).value=n:i=n,t.push(i),r.push(o)}))):t=n;var o={category:"ordinal",time:"time",value:"number"}[i]||"number";(this._data=new Fz([{name:"value",type:o}],this)).initData(t,r)},e.prototype.getData=function(){return this._data},e.prototype.getCategories=function(){if("category"===this.get("axisType"))return this._names.slice()},e.type="timeline",e.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},e}(cP);var U4=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.type="timeline.slider",e.defaultOption=iL(W4.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),e}(W4);qy(U4,XO.prototype);const j4=U4;const Y4=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.type="timeline",e}(rR);const X4=function(t){function e(e,n,i,r){var o=t.call(this,e,n,i)||this;return o.type=r||"value",o}return my(e,t),e.prototype.getLabelModel=function(){return this.model.getModel("label")},e.prototype.isHorizontal=function(){return"horizontal"===this.model.get("orient")},e}(OF);var q4=Math.PI,Z4=FM(),K4=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.init=function(t,e){this.api=e},e.prototype.render=function(t,e,n){if(this.model=t,this.api=n,this.ecModel=e,this.group.removeAll(),t.get("show",!0)){var i=this._layout(t,n),r=this._createGroup("_mainGroup"),o=this._createGroup("_labelGroup"),a=this._axis=this._createAxis(i,t);t.formatTooltip=function(t){return PE("nameValue",{noName:!0,value:a.scale.getLabel({value:t})})},Ky(["AxisLine","AxisTick","Control","CurrentPointer"],(function(e){this["_render"+e](i,r,a,t)}),this),this._renderAxisLabel(i,o,a,t),this._position(i,t)}this._doPlayStop(),this._updateTicksStatus()},e.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},e.prototype.dispose=function(){this._clearTimer()},e.prototype._layout=function(t,e){var n,i,r,o,a=t.get(["label","position"]),s=t.get("orient"),l=function(t,e){return nP(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()},t.get("padding"))}(t,e),u={horizontal:"center",vertical:(n=null==a||"auto"===a?"horizontal"===s?l.y+l.height/2<e.getHeight()/2?"-":"+":l.x+l.width/2<e.getWidth()/2?"+":"-":o_(a)?{horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[s][a]:a)>=0||"+"===n?"left":"right"},c={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},h={horizontal:0,vertical:q4/2},d="vertical"===s?l.height:l.width,p=t.getModel("controlStyle"),f=p.get("show",!0),g=f?p.get("itemSize"):0,v=f?p.get("itemGap"):0,m=g+v,y=t.get(["label","rotate"])||0;y=y*q4/180;var _=p.get("position",!0),x=f&&p.get("showPlayBtn",!0),b=f&&p.get("showPrevBtn",!0),w=f&&p.get("showNextBtn",!0),S=0,M=d;"left"===_||"bottom"===_?(x&&(i=[0,0],S+=m),b&&(r=[S,0],S+=m),w&&(o=[M-g,0],M-=m)):(x&&(i=[M-g,0],M-=m),b&&(r=[0,0],S+=m),w&&(o=[M-g,0],M-=m));var I=[S,M];return t.get("inverse")&&I.reverse(),{viewRect:l,mainLength:d,orient:s,rotation:h[s],labelRotation:y,labelPosOpt:n,labelAlign:t.get(["label","align"])||u[s],labelBaseline:t.get(["label","verticalAlign"])||t.get(["label","baseline"])||c[s],playPosition:i,prevBtnPosition:r,nextBtnPosition:o,axisExtent:I,controlSize:g,controlGap:v}},e.prototype._position=function(t,e){var n=this._mainGroup,i=this._labelGroup,r=t.viewRect;if("vertical"===t.orient){var o=[1,0,0,1,0,0],a=r.x,s=r.y+r.height;Tx(o,o,[-a,-s]),Dx(o,o,-q4/2),Tx(o,o,[a,s]),(r=r.clone()).applyTransform(o)}var l=v(r),u=v(n.getBoundingRect()),c=v(i.getBoundingRect()),h=[n.x,n.y],d=[i.x,i.y];d[0]=h[0]=l[0][0];var p,f=t.labelPosOpt;null==f||o_(f)?(m(h,u,l,1,p="+"===f?0:1),m(d,c,l,1,1-p)):(m(h,u,l,1,p=f>=0?0:1),d[1]=h[1]+f);function g(t){t.originX=l[0][0]-t.x,t.originY=l[1][0]-t.y}function v(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function m(t,e,n,i,r){t[i]+=n[i][r]-e[i][r]}n.setPosition(h),i.setPosition(d),n.rotation=i.rotation=t.rotation,g(n),g(i)},e.prototype._createAxis=function(t,e){var n=e.getData(),i=e.get("axisType"),r=function(t,e){if(e=e||t.get("type"),e)switch(e){case"category":return new cV({ordinalMeta:t.getCategories(),extent:[1/0,-1/0]});case"time":return new RV({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new pV}}(e,i);r.getTicks=function(){return n.mapArray(["value"],(function(t){return{value:t}}))};var o=n.getDataExtent("value");r.setExtent(o[0],o[1]),r.calcNiceTicks();var a=new X4("value",r,t.axisExtent,i);return a.model=e,a},e.prototype._createGroup=function(t){var e=this[t]=new KS;return this.group.add(e),e},e.prototype._renderAxisLine=function(t,e,n,i){var r=n.getExtent();if(i.get(["lineStyle","show"])){var o=new _D({shape:{x1:r[0],y1:0,x2:r[1],y2:0},style:jy({lineCap:"round"},i.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});e.add(o);var a=this._progressLine=new _D({shape:{x1:r[0],x2:this._currentPointer?this._currentPointer.x:r[0],y1:0,y2:0},style:Yy({lineCap:"round",lineWidth:o.style.lineWidth},i.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});e.add(a)}},e.prototype._renderAxisTick=function(t,e,n,i){var r=this,o=i.getData(),a=n.scale.getTicks();this._tickSymbols=[],Ky(a,(function(t){var a=n.dataToCoord(t.value),s=o.getItemModel(t.value),l=s.getModel("itemStyle"),u=s.getModel(["emphasis","itemStyle"]),c=s.getModel(["progress","itemStyle"]),h={x:a,y:0,onclick:e_(r._changeTimeline,r,t.value)},d=$4(s,l,e,h);d.ensureState("emphasis").style=u.getItemStyle(),d.ensureState("progress").style=c.getItemStyle(),lT(d);var p=fC(d);s.get("tooltip")?(p.dataIndex=t.value,p.dataModel=i):p.dataIndex=p.dataModel=null,r._tickSymbols.push(d)}))},e.prototype._renderAxisLabel=function(t,e,n,i){var r=this;if(n.getLabelModel().get("show")){var o=i.getData(),a=n.getViewLabels();this._tickLabels=[],Ky(a,(function(i){var a=i.tickValue,s=o.getItemModel(a),l=s.getModel("label"),u=s.getModel(["emphasis","label"]),c=s.getModel(["progress","label"]),h=n.dataToCoord(i.tickValue),d=new pC({x:h,y:0,rotation:t.labelRotation-t.rotation,onclick:e_(r._changeTimeline,r,a),silent:!1,style:kk(l,{text:i.formattedLabel,align:t.labelAlign,verticalAlign:t.labelBaseline})});d.ensureState("emphasis").style=kk(u),d.ensureState("progress").style=kk(c),e.add(d),lT(d),Z4(d).dataIndex=a,r._tickLabels.push(d)}))}},e.prototype._renderControl=function(t,e,n,i){var r=t.controlSize,o=t.rotation,a=i.getModel("controlStyle").getItemStyle(),s=i.getModel(["emphasis","controlStyle"]).getItemStyle(),l=i.getPlayState(),u=i.get("inverse",!0);function c(t,n,l,u){if(t){var c=NS(g_(i.get(["controlStyle",n+"BtnSize"]),r),r),h=function(t,e,n,i){var r=i.style,o=mk(t.get(["controlStyle",e]),i||{},new Hx(n[0],n[1],n[2],n[3]));r&&o.setStyle(r);return o}(i,n+"Icon",[0,-c/2,c,c],{x:t[0],y:t[1],originX:r/2,originY:0,rotation:u?-o:0,rectHover:!0,style:a,onclick:l});h.ensureState("emphasis").style=s,e.add(h),lT(h)}}c(t.nextBtnPosition,"next",e_(this._changeTimeline,this,u?"-":"+")),c(t.prevBtnPosition,"prev",e_(this._changeTimeline,this,u?"+":"-")),c(t.playPosition,l?"stop":"play",e_(this._handlePlayClick,this,!l),!0)},e.prototype._renderCurrentPointer=function(t,e,n,i){var r=i.getData(),o=i.getCurrentIndex(),a=r.getItemModel(o).getModel("checkpointStyle"),s=this,l={onCreate:function(t){t.draggable=!0,t.drift=e_(s._handlePointerDrag,s),t.ondragend=e_(s._handlePointerDragend,s),J4(t,s._progressLine,o,n,i,!0)},onUpdate:function(t){J4(t,s._progressLine,o,n,i)}};this._currentPointer=$4(a,a,this._mainGroup,{},this._currentPointer,l)},e.prototype._handlePlayClick=function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},e.prototype._handlePointerDrag=function(t,e,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},e.prototype._handlePointerDragend=function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},e.prototype._pointerChangeTimeline=function(t,e){var n=this._toAxisCoord(t)[0],i=aM(this._axis.getExtent().slice());n>i[1]&&(n=i[1]),n<i[0]&&(n=i[0]),this._currentPointer.x=n,this._currentPointer.markRedraw();var r=this._progressLine;r&&(r.shape.x2=n,r.dirty());var o=this._findNearestTick(n),a=this.model;(e||o!==a.getCurrentIndex()&&a.get("realtime"))&&this._changeTimeline(o)},e.prototype._doPlayStop=function(){var t=this;this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout((function(){var e=t.model;t._changeTimeline(e.getCurrentIndex()+(e.get("rewind",!0)?-1:1))}),this.model.get("playInterval")))},e.prototype._toAxisCoord=function(t){return dk(t,this._mainGroup.getLocalTransform(),!0)},e.prototype._findNearestTick=function(t){var e,n=this.model.getData(),i=1/0,r=this._axis;return n.each(["value"],(function(n,o){var a=r.dataToCoord(n),s=Math.abs(a-t);s<i&&(i=s,e=o)})),e},e.prototype._clearTimer=function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},e.prototype._changeTimeline=function(t){var e=this.model.getCurrentIndex();"+"===t?t=e+1:"-"===t&&(t=e-1),this.api.dispatchAction({type:"timelineChange",currentIndex:t,from:this.uid})},e.prototype._updateTicksStatus=function(){var t=this.model.getCurrentIndex(),e=this._tickSymbols,n=this._tickLabels;if(e)for(var i=0;i<e.length;i++)e&&e[i]&&e[i].toggleState("progress",i<t);if(n)for(i=0;i<n.length;i++)n&&n[i]&&n[i].toggleState("progress",Z4(n[i]).dataIndex<=t)},e.type="timeline.slider",e}(Y4);function $4(t,e,n,i,r,o){var a=e.get("color");r?(r.setColor(a),n.add(r),o&&o.onUpdate(r)):((r=MN(t.get("symbol"),-1,-1,2,2,a)).setStyle("strokeNoScale",!0),n.add(r),o&&o.onCreate(r));var s=e.getItemStyle(["color"]);r.setStyle(s),i=Wy({rectHover:!0,z2:100},i,!0);var l=IN(t.get("symbolSize"));i.scaleX=l[0]/2,i.scaleY=l[1]/2;var u=AN(t.get("symbolOffset"),l);u&&(i.x=(i.x||0)+u[0],i.y=(i.y||0)+u[1]);var c=t.get("symbolRotate");return i.rotation=(c||0)*Math.PI/180||0,r.attr(i),r.updateTransform(),r}function J4(t,e,n,i,r,o){if(!t.dragging){var a=r.getModel("checkpointStyle"),s=i.dataToCoord(r.getData().get("value",n));if(o||!a.get("animation",!0))t.attr({x:s,y:0}),e&&e.attr({shape:{x2:s}});else{var l={duration:a.get("animationDuration",!0),easing:a.get("animationEasing",!0)};t.stopAnimation(null,!0),t.animateTo({x:s,y:0},l),e&&e.animateTo({shape:{x2:s}},l)}}}const Q4=K4;function t6(t){var e=t&&t.timeline;i_(e)||(e=e?[e]:[]),Ky(e,(function(t){t&&function(t){var e=t.type,n={number:"value",time:"time"};n[e]&&(t.axisType=n[e],delete t.type);if(e6(t),n6(t,"controlPosition")){var i=t.controlStyle||(t.controlStyle={});n6(i,"position")||(i.position=t.controlPosition),"none"!==i.position||n6(i,"show")||(i.show=!1,delete i.position),delete t.controlPosition}Ky(t.data||[],(function(t){l_(t)&&!i_(t)&&(!n6(t,"value")&&n6(t,"name")&&(t.value=t.name),e6(t))}))}(t)}))}function e6(t){var e=t.itemStyle||(t.itemStyle={}),n=e.emphasis||(e.emphasis={}),i=t.label||t.label||{},r=i.normal||(i.normal={}),o={normal:1,emphasis:1};Ky(i,(function(t,e){o[e]||n6(r,e)||(r[e]=t)})),n.label&&!n6(i,"emphasis")&&(i.emphasis=n.label,delete n.label)}function n6(t,e){return t.hasOwnProperty(e)}function i6(t,e){if(!t)return!1;for(var n=i_(t)?t:[t],i=0;i<n.length;i++)if(n[i]&&n[i][e])return!0;return!1}function r6(t){DM(t,"label",["show"])}var o6=FM(),a6=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.createdBySelf=!1,n}return my(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),this._mergeOption(t,n,!1,!0)},e.prototype.isAnimationEnabled=function(){if(xy.node)return!1;var t=this.__hostSeries;return this.getShallow("animation")&&t&&t.isAnimationEnabled()},e.prototype.mergeOption=function(t,e){this._mergeOption(t,e,!1,!1)},e.prototype._mergeOption=function(t,e,n,i){var r=this.mainType;n||e.eachSeries((function(t){var n=t.get(this.mainType,!0),o=o6(t)[r];n&&n.data?(o?o._mergeOption(n,e,!0):(i&&r6(n),Ky(n.data,(function(t){t instanceof Array?(r6(t[0]),r6(t[1])):r6(t)})),jy(o=this.createMarkerModelFromSeries(n,this,e),{mainType:this.mainType,seriesIndex:t.seriesIndex,name:t.name,createdBySelf:!0}),o.__hostSeries=t),o6(t)[r]=o):o6(t)[r]=null}),this)},e.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=this.getRawValue(t),o=i.getName(t);return PE("section",{header:this.name,blocks:[PE("nameValue",{name:o,value:r,noName:!o,noValue:null==r})]})},e.prototype.getData=function(){return this._data},e.prototype.setData=function(t){this._data=t},e.getMarkerModelFromSeries=function(t,e){return o6(t)[e]},e.type="marker",e.dependencies=["series","grid","polar","geo"],e}(cP);qy(a6,XO.prototype);const s6=a6;const l6=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markPoint",e.defaultOption={z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}},e}(s6);function u6(t){return!(isNaN(parseFloat(t.x))&&isNaN(parseFloat(t.y)))}function c6(t,e,n,i,r,o){var a=[],s=Xz(e,i)?e.getCalculationInfo("stackResultDimension"):i,l=v6(e,s,t),u=e.indicesOfNearest(s,l)[0];a[r]=e.get(n,u),a[o]=e.get(s,u);var c=e.get(i,u),h=sM(e.get(i,u));return(h=Math.min(h,20))>=0&&(a[o]=+a[o].toFixed(h)),[a,c]}var h6={min:n_(c6,"min"),max:n_(c6,"max"),average:n_(c6,"average"),median:n_(c6,"median")};function d6(t,e){if(e){var n=t.getData(),i=t.coordinateSystem,r=i&&i.dimensions;if(!function(t){return!isNaN(parseFloat(t.x))&&!isNaN(parseFloat(t.y))}(e)&&!i_(e.coord)&&i_(r)){var o=p6(e,n,i,t);if((e=Hy(e)).type&&h6[e.type]&&o.baseAxis&&o.valueAxis){var a=Xy(r,o.baseAxis.dim),s=Xy(r,o.valueAxis.dim),l=h6[e.type](n,o.baseDataDim,o.valueDataDim,a,s);e.coord=l[0],e.value=l[1]}else e.coord=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis]}if(null!=e.coord&&i_(r))for(var u=e.coord,c=0;c<2;c++)h6[u[c]]&&(u[c]=v6(n,n.mapDimension(r[c]),u[c]));else e.coord=[];return e}}function p6(t,e,n,i){var r={};return null!=t.valueIndex||null!=t.valueDim?(r.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,r.valueAxis=n.getAxis(function(t,e){var n=t.getData().getDimensionInfo(e);return n&&n.coordDim}(i,r.valueDataDim)),r.baseAxis=n.getOtherAxis(r.valueAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim)):(r.baseAxis=i.getBaseAxis(),r.valueAxis=n.getOtherAxis(r.baseAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim),r.valueDataDim=e.mapDimension(r.valueAxis.dim)),r}function f6(t,e){return!(t&&t.containData&&e.coord&&!u6(e))||t.containData(e.coord)}function g6(t,e){return t?function(t,n,i,r){return JO(r<2?t.coord&&t.coord[r]:t.value,e[r])}:function(t,n,i,r){return JO(t.value,e[r])}}function v6(t,e,n){if("average"===n){var i=0,r=0;return t.each(e,(function(t,e){isNaN(t)||(i+=t,r++)})),i/r}return"median"===n?t.getMedian(e):t.getDataExtent(e)["max"===n?1:0]}var m6=FM();const y6=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.init=function(){this.markerGroupMap=C_()},e.prototype.render=function(t,e,n){var i=this,r=this.markerGroupMap;r.each((function(t){m6(t).keep=!1})),e.eachSeries((function(t){var r=s6.getMarkerModelFromSeries(t,i.type);r&&i.renderSeries(t,r,e,n)})),r.each((function(t){!m6(t).keep&&i.group.remove(t.group)}))},e.prototype.markKeep=function(t){m6(t).keep=!0},e.prototype.toggleBlurSeries=function(t,e){var n=this;Ky(t,(function(t){var i=s6.getMarkerModelFromSeries(t,n.type);i&&i.getData().eachItemGraphicEl((function(t){t&&(e?$C(t):JC(t))}))}))},e.type="marker",e}(rR);function _6(t,e,n){var i=e.coordinateSystem;t.each((function(r){var o,a=t.getItemModel(r),s=rM(a.get("x"),n.getWidth()),l=rM(a.get("y"),n.getHeight());if(isNaN(s)||isNaN(l)){if(e.getMarkerPosition)o=e.getMarkerPosition(t.getValues(t.dimensions,r));else if(i){var u=t.get(i.dimensions[0],r),c=t.get(i.dimensions[1],r);o=i.dataToPoint([u,c])}}else o=[s,l];isNaN(s)||(o[0]=s),isNaN(l)||(o[1]=l),t.setItemLayout(r,o)}))}const x6=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=s6.getMarkerModelFromSeries(t,"markPoint");e&&(_6(e.getData(),t,n),this.markerGroupMap.get(t.id).updateLayout())}),this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new KH),u=function(t,e,n){var i;i=t?$y(t&&t.dimensions,(function(t){return jy(jy({},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{}),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var r=new Fz(i,n),o=$y(n.get("data"),n_(d6,e));t&&(o=Qy(o,n_(f6,t)));var a=g6(!!t,i);return r.initData(o,null,a),r}(r,t,e);e.setData(u),_6(e.getData(),t,i),u.each((function(t){var n=u.getItemModel(t),i=n.getShallow("symbol"),r=n.getShallow("symbolSize"),o=n.getShallow("symbolRotate"),s=n.getShallow("symbolOffset"),l=n.getShallow("symbolKeepAspect");if(r_(i)||r_(r)||r_(o)||r_(s)){var c=e.getRawValue(t),h=e.getDataParams(t);r_(i)&&(i=i(c,h)),r_(r)&&(r=r(c,h)),r_(o)&&(o=o(c,h)),r_(s)&&(s=s(c,h))}var d=n.getModel("itemStyle").getItemStyle(),p=sN(a,"color");d.fill||(d.fill=p),u.setItemVisual(t,{symbol:i,symbolSize:r,symbolRotate:o,symbolOffset:s,symbolKeepAspect:l,style:d})})),l.updateData(u),this.group.add(l.group),u.eachItemGraphicEl((function(t){t.traverse((function(t){fC(t).dataModel=e}))})),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},e.type="markPoint",e}(y6);const b6=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markLine",e.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},e}(s6);var w6=FM(),S6=function(t,e,n,i){var r,o=t.getData();if(i_(i))r=i;else{var a=i.type;if("min"===a||"max"===a||"average"===a||"median"===a||null!=i.xAxis||null!=i.yAxis){var s=void 0,l=void 0;if(null!=i.yAxis||null!=i.xAxis)s=e.getAxis(null!=i.yAxis?"y":"x"),l=f_(i.yAxis,i.xAxis);else{var u=p6(i,o,e,t);s=u.valueAxis,l=v6(o,qz(o,u.valueDataDim),a)}var c="x"===s.dim?0:1,h=1-c,d=Hy(i),p={coord:[]};d.type=null,d.coord=[],d.coord[h]=-1/0,p.coord[h]=1/0;var f=n.get("precision");f>=0&&s_(l)&&(l=+l.toFixed(Math.min(f,20))),d.coord[c]=p.coord[c]=l,r=[d,p,{type:a,valueIndex:i.valueIndex,value:l}]}else r=[]}var g=[d6(t,r[0]),d6(t,r[1]),jy({},r[2])];return g[2].type=g[2].type||null,Wy(g[2],g[0]),Wy(g[2],g[1]),g};function M6(t){return!isNaN(t)&&!isFinite(t)}function I6(t,e,n,i){var r=1-t,o=i.dimensions[t];return M6(e[r])&&M6(n[r])&&e[t]===n[t]&&i.getAxis(o).containData(e[t])}function A6(t,e){if("cartesian2d"===t.type){var n=e[0].coord,i=e[1].coord;if(n&&i&&(I6(1,n,i,t)||I6(0,n,i,t)))return!0}return f6(t,e[0])&&f6(t,e[1])}function C6(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),l=rM(s.get("x"),r.getWidth()),u=rM(s.get("y"),r.getHeight());if(isNaN(l)||isNaN(u)){if(i.getMarkerPosition)o=i.getMarkerPosition(t.getValues(t.dimensions,e));else{var c=a.dimensions,h=t.get(c[0],e),d=t.get(c[1],e);o=a.dataToPoint([h,d])}if(cW(a,"cartesian2d")){var p=a.getAxis("x"),f=a.getAxis("y");c=a.dimensions;M6(t.get(c[0],e))?o[0]=p.toGlobalCoord(p.getExtent()[n?0:1]):M6(t.get(c[1],e))&&(o[1]=f.toGlobalCoord(f.getExtent()[n?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];t.setItemLayout(e,o)}const T6=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=s6.getMarkerModelFromSeries(t,"markLine");if(e){var i=e.getData(),r=w6(e).from,o=w6(e).to;r.each((function(e){C6(r,e,!0,t,n),C6(o,e,!1,t,n)})),i.each((function(t){i.setItemLayout(t,[r.getItemLayout(t),o.getItemLayout(t)])})),this.markerGroupMap.get(t.id).updateLayout()}}),this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new XZ);this.group.add(l.group);var u=function(t,e,n){var i;i=t?$y(t&&t.dimensions,(function(t){return jy(jy({},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{}),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var r=new Fz(i,n),o=new Fz(i,n),a=new Fz([],n),s=$y(n.get("data"),n_(S6,e,t,n));t&&(s=Qy(s,n_(A6,t)));var l=g6(!!t,i);return r.initData($y(s,(function(t){return t[0]})),null,l),o.initData($y(s,(function(t){return t[1]})),null,l),a.initData($y(s,(function(t){return t[2]}))),a.hasItemOption=!0,{from:r,to:o,line:a}}(r,t,e),c=u.from,h=u.to,d=u.line;w6(e).from=c,w6(e).to=h,e.setData(d);var p=e.get("symbol"),f=e.get("symbolSize"),g=e.get("symbolRotate"),v=e.get("symbolOffset");function m(e,n,r){var o=e.getItemModel(n);C6(e,n,r,t,i);var s=o.getModel("itemStyle").getItemStyle();null==s.fill&&(s.fill=sN(a,"color")),e.setItemVisual(n,{symbolKeepAspect:o.get("symbolKeepAspect"),symbolOffset:g_(o.get("symbolOffset",!0),v[r?0:1]),symbolRotate:g_(o.get("symbolRotate",!0),g[r?0:1]),symbolSize:g_(o.get("symbolSize"),f[r?0:1]),symbol:g_(o.get("symbol",!0),p[r?0:1]),style:s})}i_(p)||(p=[p,p]),i_(f)||(f=[f,f]),i_(g)||(g=[g,g]),i_(v)||(v=[v,v]),u.from.each((function(t){m(c,t,!0),m(h,t,!1)})),d.each((function(t){var e=d.getItemModel(t).getModel("lineStyle").getLineStyle();d.setItemLayout(t,[c.getItemLayout(t),h.getItemLayout(t)]),null==e.stroke&&(e.stroke=c.getItemVisual(t,"style").fill),d.setItemVisual(t,{fromSymbolKeepAspect:c.getItemVisual(t,"symbolKeepAspect"),fromSymbolOffset:c.getItemVisual(t,"symbolOffset"),fromSymbolRotate:c.getItemVisual(t,"symbolRotate"),fromSymbolSize:c.getItemVisual(t,"symbolSize"),fromSymbol:c.getItemVisual(t,"symbol"),toSymbolKeepAspect:h.getItemVisual(t,"symbolKeepAspect"),toSymbolOffset:h.getItemVisual(t,"symbolOffset"),toSymbolRotate:h.getItemVisual(t,"symbolRotate"),toSymbolSize:h.getItemVisual(t,"symbolSize"),toSymbol:h.getItemVisual(t,"symbol"),style:e})})),l.updateData(d),u.line.eachItemGraphicEl((function(t){fC(t).dataModel=e,t.traverse((function(t){fC(t).dataModel=e}))})),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},e.type="markLine",e}(y6);const D6=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markArea",e.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},e}(s6);var k6=FM(),L6=function(t,e,n,i){var r=i[0],o=i[1];if(r&&o){var a=d6(t,r),s=d6(t,o),l=a.coord,u=s.coord;l[0]=f_(l[0],-1/0),l[1]=f_(l[1],-1/0),u[0]=f_(u[0],1/0),u[1]=f_(u[1],1/0);var c=Uy([{},a,s]);return c.coord=[a.coord,s.coord],c.x0=a.x,c.y0=a.y,c.x1=s.x,c.y1=s.y,c}};function P6(t){return!isNaN(t)&&!isFinite(t)}function O6(t,e,n,i){var r=1-t;return P6(e[r])&&P6(n[r])}function E6(t,e){var n=e.coord[0],i=e.coord[1],r={coord:n,x:e.x0,y:e.y0},o={coord:i,x:e.x1,y:e.y1};return cW(t,"cartesian2d")?!(!n||!i||!O6(1,n,i)&&!O6(0,n,i))||function(t,e,n){return!(t&&t.containZone&&e.coord&&n.coord&&!u6(e)&&!u6(n))||t.containZone(e.coord,n.coord)}(t,r,o):f6(t,r)||f6(t,o)}function R6(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),l=rM(s.get(n[0]),r.getWidth()),u=rM(s.get(n[1]),r.getHeight());if(isNaN(l)||isNaN(u)){if(i.getMarkerPosition){var c=t.getValues(["x0","y0"],e),h=t.getValues(["x1","y1"],e),d=a.clampData(c),p=a.clampData(h),f=[];"x0"===n[0]?f[0]=d[0]>p[0]?h[0]:c[0]:f[0]=d[0]>p[0]?c[0]:h[0],"y0"===n[1]?f[1]=d[1]>p[1]?h[1]:c[1]:f[1]=d[1]>p[1]?c[1]:h[1],o=i.getMarkerPosition(f,n,!0)}else{var g=[y=t.get(n[0],e),_=t.get(n[1],e)];a.clampData&&a.clampData(g,g),o=a.dataToPoint(g,!0)}if(cW(a,"cartesian2d")){var v=a.getAxis("x"),m=a.getAxis("y"),y=t.get(n[0],e),_=t.get(n[1],e);P6(y)?o[0]=v.toGlobalCoord(v.getExtent()["x0"===n[0]?0:1]):P6(_)&&(o[1]=m.toGlobalCoord(m.getExtent()["y0"===n[1]?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];return o}var N6=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];const B6=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=s6.getMarkerModelFromSeries(t,"markArea");if(e){var i=e.getData();i.each((function(e){var r=$y(N6,(function(r){return R6(i,e,r,t,n)}));i.setItemLayout(e,r),i.getItemGraphicEl(e).setShape("points",r)}))}}),this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,{group:new KS});this.group.add(l.group),this.markKeep(l);var u=function(t,e,n){var i,r,o=["x0","y0","x1","y1"];if(t){var a=$y(t&&t.dimensions,(function(t){var n=e.getData();return jy(jy({},n.getDimensionInfo(n.mapDimension(t))||{}),{name:t,ordinalMeta:null})}));r=$y(o,(function(t,e){return{name:t,type:a[e%2].type}})),i=new Fz(r,n)}else i=new Fz(r=[{name:"value",type:"float"}],n);var s=$y(n.get("data"),n_(L6,e,t,n));t&&(s=Qy(s,n_(E6,t)));var l=t?function(t,e,n,i){return JO(t.coord[Math.floor(i/2)][i%2],r[i])}:function(t,e,n,i){return JO(t.value,r[i])};return i.initData(s,null,l),i.hasItemOption=!0,i}(r,t,e);e.setData(u),u.each((function(e){var n=$y(N6,(function(n){return R6(u,e,n,t,i)})),o=r.getAxis("x").scale,s=r.getAxis("y").scale,l=o.getExtent(),c=s.getExtent(),h=[o.parse(u.get("x0",e)),o.parse(u.get("x1",e))],d=[s.parse(u.get("y0",e)),s.parse(u.get("y1",e))];aM(h),aM(d);var p=!!(l[0]>h[1]||l[1]<h[0]||c[0]>d[1]||c[1]<d[0]);u.setItemLayout(e,{points:n,allClipped:p});var f=u.getItemModel(e).getModel("itemStyle").getItemStyle(),g=sN(a,"color");f.fill||(f.fill=g,o_(f.fill)&&(f.fill=dw(f.fill,.4))),f.stroke||(f.stroke=g),u.setItemVisual(e,"style",f)})),u.diff(k6(l).data).add((function(t){var e=u.getItemLayout(t);if(!e.allClipped){var n=new dD({shape:{points:e.points}});u.setItemGraphicEl(t,n),l.group.add(n)}})).update((function(t,n){var i=k6(l).data.getItemGraphicEl(n),r=u.getItemLayout(t);r.allClipped?i&&l.group.remove(i):(i?jD(i,{shape:{points:r.points}},e,t):i=new dD({shape:{points:r.points}}),u.setItemGraphicEl(t,i),l.group.add(i))})).remove((function(t){var e=k6(l).data.getItemGraphicEl(t);l.group.remove(e)})).execute(),u.eachItemGraphicEl((function(t,n){var i=u.getItemModel(n),r=u.getItemVisual(n,"style");t.useStyle(u.getItemVisual(n,"style")),Tk(t,Dk(i),{labelFetcher:e,labelDataIndex:n,defaultText:u.getName(n)||"",inheritColor:o_(r.fill)?dw(r.fill,1):"#000"}),pT(t,i),uT(t,null,null,i.get(["emphasis","disabled"])),fC(t).dataModel=e})),k6(l).data=u,l.group.silent=e.get("silent")||t.get("silent")},e.type="markArea",e}(y6);var z6=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return my(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),t.selected=t.selected||{},this._updateSelector(t)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),this._updateSelector(e)},e.prototype._updateSelector=function(t){var e=t.selector,n=this.ecModel;!0===e&&(e=t.selector=["all","inverse"]),i_(e)&&Ky(e,(function(t,i){o_(t)&&(t={type:t}),e[i]=Wy(t,function(t,e){return"all"===e?{type:"all",title:t.getLocaleModel().get(["legend","selector","all"])}:"inverse"===e?{type:"inverse",title:t.getLocaleModel().get(["legend","selector","inverse"])}:void 0}(n,t.type))}))},e.prototype.optionUpdated=function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&"single"===this.get("selectedMode")){for(var e=!1,n=0;n<t.length;n++){var i=t[n].get("name");if(this.isSelected(i)){this.select(i),e=!0;break}}!e&&this.select(t[0].get("name"))}},e.prototype._updateData=function(t){var e=[],n=[];t.eachRawSeries((function(i){var r,o=i.name;if(n.push(o),i.legendVisualProvider){var a=i.legendVisualProvider.getAllNames();t.isSeriesFiltered(i)||(n=n.concat(a)),a.length?e=e.concat(a):r=!0}else r=!0;r&&BM(i)&&e.push(i.name)})),this._availableNames=n;var i=this.get("data")||e,r=C_(),o=$y(i,(function(t){return(o_(t)||s_(t))&&(t={name:t}),r.get(t.name)?null:(r.set(t.name,!0),new tL(t,this,this.ecModel))}),this);this._data=Qy(o,(function(t){return!!t}))},e.prototype.getData=function(){return this._data},e.prototype.select=function(t){var e=this.option.selected;"single"===this.get("selectedMode")&&Ky(this._data,(function(t){e[t.get("name")]=!1}));e[t]=!0},e.prototype.unSelect=function(t){"single"!==this.get("selectedMode")&&(this.option.selected[t]=!1)},e.prototype.toggleSelected=function(t){var e=this.option.selected;e.hasOwnProperty(t)||(e[t]=!0),this[e[t]?"unSelect":"select"](t)},e.prototype.allSelect=function(){var t=this._data,e=this.option.selected;Ky(t,(function(t){e[t.get("name",!0)]=!0}))},e.prototype.inverseSelect=function(){var t=this._data,e=this.option.selected;Ky(t,(function(t){var n=t.get("name",!0);e.hasOwnProperty(n)||(e[n]=!0),e[n]=!e[n]}))},e.prototype.isSelected=function(t){var e=this.option.selected;return!(e.hasOwnProperty(t)&&!e[t])&&Xy(this._availableNames,t)>=0},e.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},e.type="legend.plain",e.dependencies=["series"],e.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},e}(cP);const V6=z6;var F6=n_,G6=Ky,H6=KS,W6=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!1,n}return my(e,t),e.prototype.init=function(){this.group.add(this._contentGroup=new H6),this.group.add(this._selectorGroup=new H6),this._isFirstRender=!0},e.prototype.getContentGroup=function(){return this._contentGroup},e.prototype.getSelectorGroup=function(){return this._selectorGroup},e.prototype.render=function(t,e,n){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var r=t.get("align"),o=t.get("orient");r&&"auto"!==r||(r="right"===t.get("left")&&"vertical"===o?"right":"left");var a=t.get("selector",!0),s=t.get("selectorPosition",!0);!a||s&&"auto"!==s||(s="horizontal"===o?"end":"start"),this.renderInner(r,t,e,n,a,o,s);var l=t.getBoxLayoutParams(),u={width:n.getWidth(),height:n.getHeight()},c=t.get("padding"),h=nP(l,u,c),d=this.layoutInner(t,r,h,i,a,s),p=nP(Yy({width:d.width,height:d.height},l),u,c);this.group.x=p.x-d.x,this.group.y=p.y-d.y,this.group.markRedraw(),this.group.add(this._backgroundEl=a3(d,t))}},e.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},e.prototype.renderInner=function(t,e,n,i,r,o,a){var s=this.getContentGroup(),l=C_(),u=e.get("selectedMode"),c=[];n.eachRawSeries((function(t){!t.get("legendHoverLink")&&c.push(t.id)})),G6(e.getData(),(function(r,o){var a=r.get("name");if(!this.newlineDisabled&&(""===a||"\n"===a)){var h=new H6;return h.newline=!0,void s.add(h)}var d=n.getSeriesByName(a)[0];if(!l.get(a))if(d){var p=d.getData(),f=p.getVisual("legendLineStyle")||{},g=p.getVisual("legendIcon"),v=p.getVisual("style");this._createItem(d,a,o,r,e,t,f,v,g,u,i).on("click",F6(U6,a,null,i,c)).on("mouseover",F6(Y6,d.name,null,i,c)).on("mouseout",F6(X6,d.name,null,i,c)),l.set(a,!0)}else n.eachRawSeries((function(n){if(!l.get(a)&&n.legendVisualProvider){var s=n.legendVisualProvider;if(!s.containName(a))return;var h=s.indexOfName(a),d=s.getItemVisual(h,"style"),p=s.getItemVisual(h,"legendIcon"),f=sw(d.fill);f&&0===f[3]&&(f[3]=.2,d=jy(jy({},d),{fill:pw(f,"rgba")})),this._createItem(n,a,o,r,e,t,{},d,p,u,i).on("click",F6(U6,null,a,i,c)).on("mouseover",F6(Y6,null,a,i,c)).on("mouseout",F6(X6,null,a,i,c)),l.set(a,!0)}}),this)}),this),r&&this._createSelector(r,e,i,o,a)},e.prototype._createSelector=function(t,e,n,i,r){var o=this.getSelectorGroup();G6(t,(function(t){var i=t.type,r=new pC({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===i?"legendAllSelect":"legendInverseSelect"})}});o.add(r),Tk(r,{normal:e.getModel("selectorLabel"),emphasis:e.getModel(["emphasis","selectorLabel"])},{defaultText:t.title}),lT(r)}))},e.prototype._createItem=function(t,e,n,i,r,o,a,s,l,u,c){var h=t.visualDrawType,d=r.get("itemWidth"),p=r.get("itemHeight"),f=r.isSelected(e),g=i.get("symbolRotate"),v=i.get("symbolKeepAspect"),m=i.get("icon"),y=function(t,e,n,i,r,o,a){function s(t,e){"auto"===t.lineWidth&&(t.lineWidth=e.lineWidth>0?2:0),G6(t,(function(n,i){"inherit"===t[i]&&(t[i]=e[i])}))}var l=e.getModel("itemStyle"),u=l.getItemStyle(),c=0===t.lastIndexOf("empty",0)?"fill":"stroke",h=l.getShallow("decal");u.decal=h&&"inherit"!==h?eB(h,a):i.decal,"inherit"===u.fill&&(u.fill=i[r]);"inherit"===u.stroke&&(u.stroke=i[c]);"inherit"===u.opacity&&(u.opacity=("fill"===r?i:n).opacity);s(u,i);var d=e.getModel("lineStyle"),p=d.getLineStyle();if(s(p,n),"auto"===u.fill&&(u.fill=i.fill),"auto"===u.stroke&&(u.stroke=i.fill),"auto"===p.stroke&&(p.stroke=i.fill),!o){var f=e.get("inactiveBorderWidth"),g=u[c];u.lineWidth="auto"===f?i.lineWidth>0&&g?2:0:u.lineWidth,u.fill=e.get("inactiveColor"),u.stroke=e.get("inactiveBorderColor"),p.stroke=d.get("inactiveColor"),p.lineWidth=d.get("inactiveWidth")}return{itemStyle:u,lineStyle:p}}(l=m||l||"roundRect",i,a,s,h,f,c),_=new H6,x=i.getModel("textStyle");if(!r_(t.getLegendIcon)||m&&"inherit"!==m){var b="inherit"===m&&t.getData().getVisual("symbol")?"inherit"===g?t.getData().getVisual("symbolRotate"):g:0;_.add(function(t){var e=t.icon||"roundRect",n=MN(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill,t.symbolKeepAspect);n.setStyle(t.itemStyle),n.rotation=(t.iconRotate||0)*Math.PI/180,n.setOrigin([t.itemWidth/2,t.itemHeight/2]),e.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2);return n}({itemWidth:d,itemHeight:p,icon:l,iconRotate:b,itemStyle:y.itemStyle,lineStyle:y.lineStyle,symbolKeepAspect:v}))}else _.add(t.getLegendIcon({itemWidth:d,itemHeight:p,icon:l,iconRotate:g,itemStyle:y.itemStyle,lineStyle:y.lineStyle,symbolKeepAspect:v}));var w="left"===o?d+5:-5,S=o,M=r.get("formatter"),I=e;o_(M)&&M?I=M.replace("{name}",null!=e?e:""):r_(M)&&(I=M(e));var A=f?x.getTextColor():i.get("inactiveColor");_.add(new pC({style:kk(x,{text:I,x:w,y:p/2,fill:A,align:S,verticalAlign:"middle"},{inheritColor:A})}));var C=new $A({shape:_.getBoundingRect(),invisible:!0}),T=i.getModel("tooltip");return T.get("show")&&bk({el:C,componentModel:r,itemName:e,itemTooltipOption:T.option}),_.add(C),_.eachChild((function(t){t.silent=!0})),C.silent=!u,this.getContentGroup().add(_),lT(_),_.__legendDataIndex=n,_},e.prototype.layoutInner=function(t,e,n,i,r,o){var a=this.getContentGroup(),s=this.getSelectorGroup();eP(t.get("orient"),a,t.get("itemGap"),n.width,n.height);var l=a.getBoundingRect(),u=[-l.x,-l.y];if(s.markRedraw(),a.markRedraw(),r){eP("horizontal",s,t.get("selectorItemGap",!0));var c=s.getBoundingRect(),h=[-c.x,-c.y],d=t.get("selectorButtonGap",!0),p=t.getOrient().index,f=0===p?"width":"height",g=0===p?"height":"width",v=0===p?"y":"x";"end"===o?h[p]+=l[f]+d:u[p]+=c[f]+d,h[1-p]+=l[g]/2-c[g]/2,s.x=h[0],s.y=h[1],a.x=u[0],a.y=u[1];var m={x:0,y:0};return m[f]=l[f]+d+c[f],m[g]=Math.max(l[g],c[g]),m[v]=Math.min(0,c[v]+h[1-p]),m}return a.x=u[0],a.y=u[1],this.group.getBoundingRect()},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e}(rR);function U6(t,e,n,i){X6(t,e,n,i),n.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),Y6(t,e,n,i)}function j6(t){for(var e,n=t.getZr().storage.getDisplayList(),i=0,r=n.length;i<r&&!(e=n[i].states.emphasis);)i++;return e&&e.hoverLayer}function Y6(t,e,n,i){j6(n)||n.dispatchAction({type:"highlight",seriesName:t,name:e,excludeSeriesId:i})}function X6(t,e,n,i){j6(n)||n.dispatchAction({type:"downplay",seriesName:t,name:e,excludeSeriesId:i})}const q6=W6;function Z6(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries((function(t){for(var n=0;n<e.length;n++)if(!e[n].isSelected(t.name))return!1;return!0}))}function K6(t,e,n){var i,r={},o="toggleSelected"===t;return n.eachComponent("legend",(function(n){o&&null!=i?n[i?"select":"unSelect"](e.name):"allSelect"===t||"inverseSelect"===t?n[t]():(n[t](e.name),i=n.isSelected(e.name)),Ky(n.getData(),(function(t){var e=t.get("name");if("\n"!==e&&""!==e){var i=n.isSelected(e);r.hasOwnProperty(e)?r[e]=r[e]&&i:r[e]=i}}))})),"allSelect"===t||"inverseSelect"===t?{selected:r}:{name:e.name,selected:r}}function $6(t){t.registerComponentModel(V6),t.registerComponentView(q6),t.registerProcessor(t.PRIORITY.PROCESSOR.SERIES_FILTER,Z6),t.registerSubTypeDefaulter("legend",(function(){return"plain"})),function(t){t.registerAction("legendToggleSelect","legendselectchanged",n_(K6,"toggleSelected")),t.registerAction("legendAllSelect","legendselectall",n_(K6,"allSelect")),t.registerAction("legendInverseSelect","legendinverseselect",n_(K6,"inverseSelect")),t.registerAction("legendSelect","legendselected",n_(K6,"select")),t.registerAction("legendUnSelect","legendunselected",n_(K6,"unSelect"))}(t)}function J6(t,e,n){var i=[1,1];i[t.getOrient().index]=0,oP(e,n,{type:"box",ignoreSize:!!i})}const Q6=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.setScrollDataIndex=function(t){this.option.scrollDataIndex=t},e.prototype.init=function(e,n,i){var r=aP(e);t.prototype.init.call(this,e,n,i),J6(this,e,r)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),J6(this,this.option,e)},e.type="legend.scroll",e.defaultOption=iL(V6.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800}),e}(V6);var t8=KS,e8=["width","height"],n8=["x","y"],i8=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!0,n._currentIndex=0,n}return my(e,t),e.prototype.init=function(){t.prototype.init.call(this),this.group.add(this._containerGroup=new t8),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new t8)},e.prototype.resetInner=function(){t.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},e.prototype.renderInner=function(e,n,i,r,o,a,s){var l=this;t.prototype.renderInner.call(this,e,n,i,r,o,a,s);var u=this._controllerGroup,c=n.get("pageIconSize",!0),h=i_(c)?c:[c,c];p("pagePrev",0);var d=n.getModel("pageTextStyle");function p(t,e){var i=t+"DataIndex",o=mk(n.get("pageIcons",!0)[n.getOrient().name][e],{onclick:e_(l._pageGo,l,i,n,r)},{x:-h[0]/2,y:-h[1]/2,width:h[0],height:h[1]});o.name=t,u.add(o)}u.add(new pC({name:"pageText",style:{text:"xx/xx",fill:d.getTextColor(),font:d.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),p("pageNext",1)},e.prototype.layoutInner=function(t,e,n,i,r,o){var a=this.getSelectorGroup(),s=t.getOrient().index,l=e8[s],u=n8[s],c=e8[1-s],h=n8[1-s];r&&eP("horizontal",a,t.get("selectorItemGap",!0));var d=t.get("selectorButtonGap",!0),p=a.getBoundingRect(),f=[-p.x,-p.y],g=Hy(n);r&&(g[l]=n[l]-p[l]-d);var v=this._layoutContentAndController(t,i,g,s,l,c,h,u);if(r){if("end"===o)f[s]+=v[l]+d;else{var m=p[l]+d;f[s]-=m,v[u]-=m}v[l]+=p[l]+d,f[1-s]+=v[h]+v[c]/2-p[c]/2,v[c]=Math.max(v[c],p[c]),v[h]=Math.min(v[h],p[h]+f[1-s]),a.x=f[0],a.y=f[1],a.markRedraw()}return v},e.prototype._layoutContentAndController=function(t,e,n,i,r,o,a,s){var l=this.getContentGroup(),u=this._containerGroup,c=this._controllerGroup;eP(t.get("orient"),l,t.get("itemGap"),i?n.width:null,i?null:n.height),eP("horizontal",c,t.get("pageButtonItemGap",!0));var h=l.getBoundingRect(),d=c.getBoundingRect(),p=this._showController=h[r]>n[r],f=[-h.x,-h.y];e||(f[i]=l[s]);var g=[0,0],v=[-d.x,-d.y],m=g_(t.get("pageButtonGap",!0),t.get("itemGap",!0));p&&("end"===t.get("pageButtonPosition",!0)?v[i]+=n[r]-d[r]:g[i]+=d[r]+m);v[1-i]+=h[o]/2-d[o]/2,l.setPosition(f),u.setPosition(g),c.setPosition(v);var y={x:0,y:0};if(y[r]=p?n[r]:h[r],y[o]=Math.max(h[o],d[o]),y[a]=Math.min(0,d[a]+v[1-i]),u.__rectSize=n[r],p){var _={x:0,y:0};_[r]=Math.max(n[r]-d[r]-m,0),_[o]=y[o],u.setClipPath(new $A({shape:_})),u.__rectSize=_[r]}else c.eachChild((function(t){t.attr({invisible:!0,silent:!0})}));var x=this._getPageInfo(t);return null!=x.pageIndex&&jD(l,{x:x.contentPosition[0],y:x.contentPosition[1]},p?t:null),this._updatePageInfoView(t,x),y},e.prototype._pageGo=function(t,e,n){var i=this._getPageInfo(e)[t];null!=i&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:e.id})},e.prototype._updatePageInfoView=function(t,e){var n=this._controllerGroup;Ky(["pagePrev","pageNext"],(function(i){var r=null!=e[i+"DataIndex"],o=n.childOfName(i);o&&(o.setStyle("fill",r?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),o.cursor=r?"pointer":"default")}));var i=n.childOfName("pageText"),r=t.get("pageFormatter"),o=e.pageIndex,a=null!=o?o+1:0,s=e.pageCount;i&&r&&i.setStyle("text",o_(r)?r.replace("{current}",null==a?"":a+"").replace("{total}",null==s?"":s+""):r({current:a,total:s}))},e.prototype._getPageInfo=function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,r=t.getOrient().index,o=e8[r],a=n8[r],s=this._findTargetItemIndex(e),l=n.children(),u=l[s],c=l.length,h=c?1:0,d={contentPosition:[n.x,n.y],pageCount:h,pageIndex:h-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!u)return d;var p=y(u);d.contentPosition[r]=-p.s;for(var f=s+1,g=p,v=p,m=null;f<=c;++f)(!(m=y(l[f]))&&v.e>g.s+i||m&&!_(m,g.s))&&(g=v.i>g.i?v:m)&&(null==d.pageNextDataIndex&&(d.pageNextDataIndex=g.i),++d.pageCount),v=m;for(f=s-1,g=p,v=p,m=null;f>=-1;--f)(m=y(l[f]))&&_(v,m.s)||!(g.i<v.i)||(v=g,null==d.pagePrevDataIndex&&(d.pagePrevDataIndex=g.i),++d.pageCount,++d.pageIndex),g=m;return d;function y(t){if(t){var e=t.getBoundingRect(),n=e[a]+t[a];return{s:n,e:n+e[o],i:t.__legendDataIndex}}}function _(t,e){return t.e>=e&&t.s<=e+i}},e.prototype._findTargetItemIndex=function(t){return this._showController?(this.getContentGroup().eachChild((function(i,r){var o=i.__legendDataIndex;null==n&&null!=o&&(n=r),o===t&&(e=r)})),null!=e?e:n):0;var e,n},e.type="legend.scroll",e}(q6);const r8=i8;function o8(t){hz($6),t.registerComponentModel(Q6),t.registerComponentView(r8),function(t){t.registerAction("legendScroll","legendscroll",(function(t,e){var n=t.scrollDataIndex;null!=n&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},(function(t){t.setScrollDataIndex(n)}))}))}(t)}const a8=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.type="dataZoom.inside",e.defaultOption=iL(W5.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(W5);var s8=FM();function l8(t,e){if(e){t.removeKey(e.model.uid);var n=e.controller;n&&n.dispose()}}function u8(t,e){t.isDisposed()||t.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:e})}function c8(t,e,n,i){return t.coordinateSystem.containPoint([n,i])}function h8(t){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,(function(t,e){var n=s8(e),i=n.coordSysRecordMap||(n.coordSysRecordMap=C_());i.each((function(t){t.dataZoomInfoMap=null})),t.eachComponent({mainType:"dataZoom",subType:"inside"},(function(t){Ky(V5(t).infoList,(function(n){var r=n.model.uid,o=i.get(r)||i.set(r,function(t,e){var n={model:e,containsPoint:n_(c8,e),dispatchAction:n_(u8,t),dataZoomInfoMap:null,controller:null},i=n.controller=new jj(t.getZr());return Ky(["pan","zoom","scrollMove"],(function(t){i.on(t,(function(e){var i=[];n.dataZoomInfoMap.each((function(r){if(e.isAvailableBehavior(r.model.option)){var o=(r.getRange||{})[t],a=o&&o(r.dzReferCoordSysInfo,n.model.mainType,n.controller,e);!r.model.get("disabled",!0)&&a&&i.push({dataZoomId:r.model.id,start:a[0],end:a[1]})}})),i.length&&n.dispatchAction(i)}))})),n}(e,n.model));(o.dataZoomInfoMap||(o.dataZoomInfoMap=C_())).set(t.uid,{dzReferCoordSysInfo:n,model:t,getRange:null})}))})),i.each((function(t){var e,n=t.controller,r=t.dataZoomInfoMap;if(r){var o=r.keys()[0];null!=o&&(e=r.get(o))}if(e){var a=function(t){var e,n="type_",i={type_true:2,type_move:1,type_false:0,type_undefined:-1},r=!0;return t.each((function(t){var o=t.model,a=!o.get("disabled",!0)&&(!o.get("zoomLock",!0)||"move");i[n+a]>i[n+e]&&(e=a),r=r&&o.get("preventDefaultMouseMove",!0)})),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!r}}}(r);n.enable(a.controlType,a.opt),n.setPointerChecker(t.containsPoint),_R(t,"dispatchAction",e.model.get("throttle",!0),"fixRate")}else l8(i,t)}))}))}var d8=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return my(e,t),e.prototype.render=function(e,n,i){t.prototype.render.apply(this,arguments),e.noTarget()?this._clear():(this.range=e.getPercentRange(),function(t,e,n){s8(t).coordSysRecordMap.each((function(t){var i=t.dataZoomInfoMap.get(e.uid);i&&(i.getRange=n)}))}(i,e,{pan:e_(p8.pan,this),zoom:e_(p8.zoom,this),scrollMove:e_(p8.scrollMove,this)}))},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){!function(t,e){for(var n=s8(t).coordSysRecordMap,i=n.keys(),r=0;r<i.length;r++){var o=i[r],a=n.get(o),s=a.dataZoomInfoMap;if(s){var l=e.uid;s.get(l)&&(s.removeKey(l),s.keys().length||l8(n,a))}}}(this.api,this.dataZoomModel),this.range=null},e.type="dataZoom.inside",e}(j5),p8={zoom:function(t,e,n,i){var r=this.range,o=r.slice(),a=t.axisModels[0];if(a){var s=g8[e](null,[i.originX,i.originY],a,n,t),l=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(o[1]-o[0])+o[0],u=Math.max(1/i.scale,0);o[0]=(o[0]-l)*u+l,o[1]=(o[1]-l)*u+l;var c=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return GK(0,o,[0,100],0,c.minSpan,c.maxSpan),this.range=o,r[0]!==o[0]||r[1]!==o[1]?o:void 0}},pan:f8((function(t,e,n,i,r,o){var a=g8[i]([o.oldX,o.oldY],[o.newX,o.newY],e,r,n);return a.signal*(t[1]-t[0])*a.pixel/a.pixelLength})),scrollMove:f8((function(t,e,n,i,r,o){return g8[i]([0,0],[o.scrollDelta,o.scrollDelta],e,r,n).signal*(t[1]-t[0])*o.scrollDelta}))};function f8(t){return function(e,n,i,r){var o=this.range,a=o.slice(),s=e.axisModels[0];if(s)return GK(t(a,s,e,n,i,r),a,[0,100],"all"),this.range=a,o[0]!==a[0]||o[1]!==a[1]?a:void 0}}var g8={grid:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem.getRect();return t=t||[0,0],"x"===o.dim?(a.pixel=e[0]-t[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===n.mainType?(a.pixel=e[0]-t[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=u[1]-u[0],a.pixelStart=u[0],a.signal=o.inverse?-1:1),a},singleAxis:function(t,e,n,i,r){var o=n.axis,a=r.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===o.orient?(s.pixel=e[0]-t[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}};const v8=d8;function m8(t){Q5(t),t.registerComponentModel(a8),t.registerComponentView(v8),h8(t)}const y8=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=iL(W5.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),e}(W5);var _8=$A,x8="horizontal",b8="vertical",w8=["line","bar","candlestick","scatter"],S8={easing:"cubicOut",duration:100,delay:0},M8=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._displayables={},n}return my(e,t),e.prototype.init=function(t,e){this.api=e,this._onBrush=e_(this._onBrush,this),this._onBrushEnd=e_(this._onBrushEnd,this)},e.prototype.render=function(e,n,i,r){if(t.prototype.render.apply(this,arguments),_R(this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),!1!==e.get("show")){if(e.noTarget())return this._clear(),void this.group.removeAll();r&&"dataZoom"===r.type&&r.from===this.uid||this._buildView(),this._updateView()}else this.group.removeAll()},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){xR(this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},e.prototype._buildView=function(){var t=this.group;t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var e=this._displayables.sliderGroup=new KS;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},e.prototype._resetLocation=function(){var t=this.dataZoomModel,e=this.api,n=t.get("brushSelect")?7:0,i=this._findCoordRect(),r={width:e.getWidth(),height:e.getHeight()},o=this._orient===x8?{right:r.width-i.x-i.width,top:r.height-30-7-n,width:i.width,height:30}:{right:7,top:i.y,width:30,height:i.height},a=aP(t.option);Ky(["right","top","width","height"],(function(t){"ph"===a[t]&&(a[t]=o[t])}));var s=nP(a,r);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],this._orient===b8&&this._size.reverse()},e.prototype._positionGroup=function(){var t=this.group,e=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),r=i&&i.get("inverse"),o=this._displayables.sliderGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==x8||r?n===x8&&r?{scaleY:a?1:-1,scaleX:-1}:n!==b8||r?{scaleY:a?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:a?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:a?1:-1,scaleX:1});var s=t.getBoundingRect([o]);t.x=e.x-s.x,t.y=e.y-s.y,t.markRedraw()},e.prototype._getViewExtent=function(){return[0,this._size[0]]},e.prototype._renderBackground=function(){var t=this.dataZoomModel,e=this._size,n=this._displayables.sliderGroup,i=t.get("brushSelect");n.add(new _8({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var r=new _8({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:e_(this._onClickPanel,this)}),o=this.api.getZr();i?(r.on("mousedown",this._onBrushStart,this),r.cursor="crosshair",o.on("mousemove",this._onBrush),o.on("mouseup",this._onBrushEnd)):(o.off("mousemove",this._onBrush),o.off("mouseup",this._onBrushEnd)),n.add(r)},e.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],t){var e=this._size,n=this._shadowSize||[],i=t.series,r=i.getRawData(),o=i.getShadowDim&&i.getShadowDim(),a=o&&r.getDimensionInfo(o)?i.getShadowDim():t.otherDim;if(null!=a){var s=this._shadowPolygonPts,l=this._shadowPolylinePts;if(r!==this._shadowData||a!==this._shadowDim||e[0]!==n[0]||e[1]!==n[1]){var u=r.getDataExtent(a),c=.3*(u[1]-u[0]);u=[u[0]-c,u[1]+c];var h,d=[0,e[1]],p=[0,e[0]],f=[[e[0],0],[0,0]],g=[],v=p[1]/(r.count()-1),m=0,y=Math.round(r.count()/e[0]);r.each([a],(function(t,e){if(y>0&&e%y)m+=v;else{var n=null==t||isNaN(t)||""===t,i=n?0:iM(t,u,d,!0);n&&!h&&e?(f.push([f[f.length-1][0],0]),g.push([g[g.length-1][0],0])):!n&&h&&(f.push([m,0]),g.push([m,0])),f.push([m,i]),g.push([m,i]),m+=v,h=n}})),s=this._shadowPolygonPts=f,l=this._shadowPolylinePts=g}this._shadowData=r,this._shadowDim=a,this._shadowSize=[e[0],e[1]];for(var _,x,b,w,S,M=this.dataZoomModel,I=0;I<3;I++){var A=(_=1===I,x=void 0,b=void 0,w=void 0,S=void 0,x=M.getModel(_?"selectedDataBackground":"dataBackground"),b=new KS,w=new dD({shape:{points:s},segmentIgnoreThreshold:1,style:x.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),S=new gD({shape:{points:l},segmentIgnoreThreshold:1,style:x.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19}),b.add(w),b.add(S),b);this._displayables.sliderGroup.add(A),this._displayables.dataShadowSegs.push(A)}}}},e.prototype._prepareDataShadowInfo=function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var n,i=this.ecModel;return t.eachTargetAxis((function(r,o){Ky(t.getAxisProxy(r,o).getTargetSeriesModels(),(function(t){if(!(n||!0!==e&&Xy(w8,t.get("type"))<0)){var a,s=i.getComponent(B5(r),o).axis,l={x:"y",y:"x",radius:"angle",angle:"radius"}[r],u=t.coordinateSystem;null!=l&&u.getOtherAxis&&(a=u.getOtherAxis(s).inverse),l=t.getData().mapDimension(l),n={thisAxis:s,series:t,thisDim:r,otherDim:l,otherAxisInverse:a}}}),this)}),this),n}},e.prototype._renderHandle=function(){var t=this.group,e=this._displayables,n=e.handles=[null,null],i=e.handleLabels=[null,null],r=this._displayables.sliderGroup,o=this._size,a=this.dataZoomModel,s=this.api,l=a.get("borderRadius")||0,u=a.get("brushSelect"),c=e.filler=new _8({silent:u,style:{fill:a.get("fillerColor")},textConfig:{position:"inside"}});r.add(c),r.add(new _8({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1],r:l},style:{stroke:a.get("dataBackgroundColor")||a.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),Ky([0,1],(function(e){var o=a.get("handleIcon");!bN[o]&&o.indexOf("path://")<0&&o.indexOf("image://")<0&&(o="path://"+o);var s=MN(o,-1,0,2,2,null,!0);s.attr({cursor:I8(this._orient),draggable:!0,drift:e_(this._onDragMove,this,e),ondragend:e_(this._onDragEnd,this),onmouseover:e_(this._showDataInfo,this,!0),onmouseout:e_(this._showDataInfo,this,!1),z2:5});var l=s.getBoundingRect(),u=a.get("handleSize");this._handleHeight=rM(u,this._size[1]),this._handleWidth=l.width/l.height*this._handleHeight,s.setStyle(a.getModel("handleStyle").getItemStyle()),s.style.strokeNoScale=!0,s.rectHover=!0,s.ensureState("emphasis").style=a.getModel(["emphasis","handleStyle"]).getItemStyle(),lT(s);var c=a.get("handleColor");null!=c&&(s.style.fill=c),r.add(n[e]=s);var h=a.getModel("textStyle");t.add(i[e]=new pC({silent:!0,invisible:!0,style:kk(h,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:h.getTextColor(),font:h.getFont()}),z2:10}))}),this);var h=c;if(u){var d=rM(a.get("moveHandleSize"),o[1]),p=e.moveHandle=new $A({style:a.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:o[1]-.5,height:d}}),f=.8*d,g=e.moveHandleIcon=MN(a.get("moveHandleIcon"),-f/2,-f/2,f,f,"#fff",!0);g.silent=!0,g.y=o[1]+d/2-.5,p.ensureState("emphasis").style=a.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var v=Math.min(o[1]/2,Math.max(d,10));(h=e.moveZone=new $A({invisible:!0,shape:{y:o[1]-v,height:d+v}})).on("mouseover",(function(){s.enterEmphasis(p)})).on("mouseout",(function(){s.leaveEmphasis(p)})),r.add(p),r.add(g),r.add(h)}h.attr({draggable:!0,cursor:I8(this._orient),drift:e_(this._onDragMove,this,"all"),ondragstart:e_(this._showDataInfo,this,!0),ondragend:e_(this._onDragEnd,this),onmouseover:e_(this._showDataInfo,this,!0),onmouseout:e_(this._showDataInfo,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[iM(t[0],[0,100],e,!0),iM(t[1],[0,100],e,!0)]},e.prototype._updateInterval=function(t,e){var n=this.dataZoomModel,i=this._handleEnds,r=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];GK(e,i,r,n.get("zoomLock")?"all":t,null!=o.minSpan?iM(o.minSpan,a,r,!0):null,null!=o.maxSpan?iM(o.maxSpan,a,r,!0):null);var s=this._range,l=this._range=aM([iM(i[0],r,a,!0),iM(i[1],r,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},e.prototype._updateView=function(t){var e=this._displayables,n=this._handleEnds,i=aM(n.slice()),r=this._size;Ky([0,1],(function(t){var i=e.handles[t],o=this._handleHeight;i.attr({scaleX:o/2,scaleY:o/2,x:n[t]+(t?-1:1),y:r[1]/2-o/2})}),this),e.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:r[1]});var o={x:i[0],width:i[1]-i[0]};e.moveHandle&&(e.moveHandle.setShape(o),e.moveZone.setShape(o),e.moveZone.getBoundingRect(),e.moveHandleIcon&&e.moveHandleIcon.attr("x",o.x+o.width/2));for(var a=e.dataShadowSegs,s=[0,i[0],i[1],r[0]],l=0;l<a.length;l++){var u=a[l],c=u.getClipPath();c||(c=new $A,u.setClipPath(c)),c.setShape({x:s[l],y:0,width:s[l+1]-s[l],height:r[1]})}this._updateDataInfo(t)},e.prototype._updateDataInfo=function(t){var e=this.dataZoomModel,n=this._displayables,i=n.handleLabels,r=this._orient,o=["",""];if(e.get("showDetail")){var a=e.findRepresentativeAxisProxy();if(a){var s=a.getAxisModel().axis,l=this._range,u=t?a.calculateDataWindow({start:l[0],end:l[1]}).valueWindow:a.getDataValueWindow();o=[this._formatLabel(u[0],s),this._formatLabel(u[1],s)]}}var c=aM(this._handleEnds.slice());function h(t){var e=hk(n.handles[t].parent,this.group),a=pk(0===t?"right":"left",e),s=this._handleWidth/2+5,l=dk([c[t]+(0===t?-s:s),this._size[1]/2],e);i[t].setStyle({x:l[0],y:l[1],verticalAlign:r===x8?"middle":a,align:r===x8?a:"center",text:o[t]})}h.call(this,0),h.call(this,1)},e.prototype._formatLabel=function(t,e){var n=this.dataZoomModel,i=n.get("labelFormatter"),r=n.get("labelPrecision");null!=r&&"auto"!==r||(r=e.getPixelPrecision());var o=null==t||isNaN(t)?"":"category"===e.type||"time"===e.type?e.scale.getLabel({value:Math.round(t)}):t.toFixed(Math.min(r,20));return r_(i)?i(t,o):o_(i)?i.replace("{value}",o):o},e.prototype._showDataInfo=function(t){t=this._dragging||t;var e=this._displayables,n=e.handleLabels;n[0].attr("invisible",!t),n[1].attr("invisible",!t),e.moveHandle&&this.api[t?"enterEmphasis":"leaveEmphasis"](e.moveHandle,1)},e.prototype._onDragMove=function(t,e,n,i){this._dragging=!0,_x(i.event);var r=dk([e,n],this._displayables.sliderGroup.getLocalTransform(),!0),o=this._updateInterval(t,r[0]),a=this.dataZoomModel.get("realtime");this._updateView(!a),o&&a&&this._dispatchZoomAction(!0)},e.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1),!this.dataZoomModel.get("realtime")&&this._dispatchZoomAction(!1)},e.prototype._onClickPanel=function(t){var e=this._size,n=this._displayables.sliderGroup.transformCoordToLocal(t.offsetX,t.offsetY);if(!(n[0]<0||n[0]>e[0]||n[1]<0||n[1]>e[1])){var i=this._handleEnds,r=(i[0]+i[1])/2,o=this._updateInterval("all",n[0]-r);this._updateView(),o&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(t){var e=t.offsetX,n=t.offsetY;this._brushStart=new Px(e,n),this._brushing=!0,this._brushStartTime=+new Date},e.prototype._onBrushEnd=function(t){if(this._brushing){var e=this._displayables.brushRect;if(this._brushing=!1,e){e.attr("ignore",!0);var n=e.shape;if(!(+new Date-this._brushStartTime<200&&Math.abs(n.width)<5)){var i=this._getViewExtent(),r=[0,100];this._range=aM([iM(n.x,i,r,!0),iM(n.x+n.width,i,r,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&(_x(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},e.prototype._updateBrushRect=function(t,e){var n=this._displayables,i=this.dataZoomModel,r=n.brushRect;r||(r=n.brushRect=new _8({silent:!0,style:i.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(r)),r.attr("ignore",!1);var o=this._brushStart,a=this._displayables.sliderGroup,s=a.transformCoordToLocal(t,e),l=a.transformCoordToLocal(o.x,o.y),u=this._size;s[0]=Math.max(Math.min(u[0],s[0]),0),r.setShape({x:l[0],y:0,width:s[0]-l[0],height:u[1]})},e.prototype._dispatchZoomAction=function(t){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?S8:null,start:e[0],end:e[1]})},e.prototype._findCoordRect=function(){var t,e=V5(this.dataZoomModel).infoList;if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}if(!t){var i=this.api.getWidth(),r=this.api.getHeight();t={x:.2*i,y:.2*r,width:.6*i,height:.6*r}}return t},e.type="dataZoom.slider",e}(j5);function I8(t){return"vertical"===t?"ns-resize":"ew-resize"}const A8=M8;function C8(t){t.registerComponentModel(y8),t.registerComponentView(A8),Q5(t)}var T8={get:function(t,e,n){var i=Hy((D8[t]||{})[e]);return n&&i_(i)?i[i.length-1]:i}},D8={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}};const k8=T8;var L8=zq.mapVisual,P8=zq.eachVisual,O8=i_,E8=Ky,R8=aM,N8=iM,B8=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.stateList=["inRange","outOfRange"],n.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],n.layoutMode={type:"box",ignoreSize:!0},n.dataBound=[-1/0,1/0],n.targetVisuals={},n.controllerVisuals={},n}return my(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&S4(n,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},e.prototype.resetVisual=function(t){var e=this.stateList;t=e_(t,this),this.controllerVisuals=w4(this.option.controller,e,t),this.targetVisuals=w4(this.option.target,e,t)},e.prototype.getItemSymbol=function(){return null},e.prototype.getTargetSeriesIndices=function(){var t=this.option.seriesIndex,e=[];return null==t||"all"===t?this.ecModel.eachSeries((function(t,n){e.push(n)})):e=TM(t),e},e.prototype.eachTargetSeries=function(t,e){Ky(this.getTargetSeriesIndices(),(function(n){var i=this.ecModel.getSeriesByIndex(n);i&&t.call(e,i)}),this)},e.prototype.isTargetSeries=function(t){var e=!1;return this.eachTargetSeries((function(n){n===t&&(e=!0)})),e},e.prototype.formatValueText=function(t,e,n){var i,r=this.option,o=r.precision,a=this.dataBound,s=r.formatter;n=n||["<",">"],i_(t)&&(t=t.slice(),i=!0);var l=e?t:i?[u(t[0]),u(t[1])]:u(t);return o_(s)?s.replace("{value}",i?l[0]:l).replace("{value2}",i?l[1]:l):r_(s)?i?s(t[0],t[1]):s(t):i?t[0]===a[0]?n[0]+" "+l[1]:t[1]===a[1]?n[1]+" "+l[0]:l[0]+" - "+l[1]:l;function u(t){return t===a[0]?"min":t===a[1]?"max":(+t).toFixed(Math.min(o,20))}},e.prototype.resetExtent=function(){var t=this.option,e=R8([t.min,t.max]);this._dataExtent=e},e.prototype.getDataDimensionIndex=function(t){var e=this.option.dimension;if(null!=e)return t.getDimensionIndex(e);for(var n=t.dimensions,i=n.length-1;i>=0;i--){var r=n[i],o=t.getDimensionInfo(r);if(!o.isCalculationCoord)return o.storeDimIndex}},e.prototype.getExtent=function(){return this._dataExtent.slice()},e.prototype.completeVisualOption=function(){var t=this.ecModel,e=this.option,n={inRange:e.inRange,outOfRange:e.outOfRange},i=e.target||(e.target={}),r=e.controller||(e.controller={});Wy(i,n),Wy(r,n);var o=this.isCategory();function a(n){O8(e.color)&&!n.inRange&&(n.inRange={color:e.color.slice().reverse()}),n.inRange=n.inRange||{color:t.get("gradientColor")}}a.call(this,i),a.call(this,r),function(t,e,n){var i=t[e],r=t[n];i&&!r&&(r=t[n]={},E8(i,(function(t,e){if(zq.isValidType(e)){var n=k8.get(e,"inactive",o);null!=n&&(r[e]=n,"color"!==e||r.hasOwnProperty("opacity")||r.hasOwnProperty("colorAlpha")||(r.opacity=[0,0]))}})))}.call(this,i,"inRange","outOfRange"),function(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,n=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,i=this.get("inactiveColor"),r=this.getItemSymbol()||"roundRect";E8(this.stateList,(function(a){var s=this.itemSize,l=t[a];l||(l=t[a]={color:o?i:[i]}),null==l.symbol&&(l.symbol=e&&Hy(e)||(o?r:[r])),null==l.symbolSize&&(l.symbolSize=n&&Hy(n)||(o?s[0]:[s[0],s[0]])),l.symbol=L8(l.symbol,(function(t){return"none"===t?r:t}));var u=l.symbolSize;if(null!=u){var c=-1/0;P8(u,(function(t){t>c&&(c=t)})),l.symbolSize=L8(u,(function(t){return N8(t,[0,c],[0,s[0]],!0)}))}}),this)}.call(this,r)},e.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},e.prototype.isCategory=function(){return!!this.option.categories},e.prototype.setSelected=function(t){},e.prototype.getSelected=function(){return null},e.prototype.getValueState=function(t){return null},e.prototype.getVisualMeta=function(t){return null},e.type="visualMap",e.dependencies=["series"],e.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},e}(cP);const z8=B8;var V8=[20,140],F8=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual((function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()})),this._resetRange()},e.prototype.resetItemSize=function(){t.prototype.resetItemSize.apply(this,arguments);var e=this.itemSize;(null==e[0]||isNaN(e[0]))&&(e[0]=V8[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=V8[1])},e.prototype._resetRange=function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):i_(e)&&(e[0]>e[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},e.prototype.completeVisualOption=function(){t.prototype.completeVisualOption.apply(this,arguments),Ky(this.stateList,(function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=e[1]/3)}),this)},e.prototype.setSelected=function(t){this.option.range=t.slice(),this._resetRange()},e.prototype.getSelected=function(){var t=this.getExtent(),e=aM((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]<t[0]&&(e[0]=t[0]),e[1]<t[0]&&(e[1]=t[0]),e},e.prototype.getValueState=function(t){var e=this.option.range,n=this.getExtent();return(e[0]<=n[0]||e[0]<=t)&&(e[1]>=n[1]||t<=e[1])?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[];return this.eachTargetSeries((function(n){var i=[],r=n.getData();r.each(this.getDataDimensionIndex(r),(function(e,n){t[0]<=e&&e<=t[1]&&i.push(n)}),this),e.push({seriesId:n.id,dataIndex:i})}),this),e},e.prototype.getVisualMeta=function(t){var e=G8(this,"outOfRange",this.getExtent()),n=G8(this,"inRange",this.option.range.slice()),i=[];function r(e,n){i.push({value:e,color:t(e,n)})}for(var o=0,a=0,s=n.length,l=e.length;a<l&&(!n.length||e[a]<=n[0]);a++)e[a]<n[o]&&r(e[a],"outOfRange");for(var u=1;o<s;o++,u=0)u&&i.length&&r(n[o],"outOfRange"),r(n[o],"inRange");for(u=1;a<l;a++)(!n.length||n[n.length-1]<e[a])&&(u&&(i.length&&r(i[i.length-1].value,"outOfRange"),u=0),r(e[a],"outOfRange"));var c=i.length;return{stops:i,outerColors:[c?i[0].color:"transparent",c?i[c-1].color:"transparent"]}},e.type="visualMap.continuous",e.defaultOption=iL(z8.defaultOption,{align:"auto",calculable:!1,hoverLink:!0,realtime:!0,handleIcon:"path://M-11.39,9.77h0a3.5,3.5,0,0,1-3.5,3.5h-22a3.5,3.5,0,0,1-3.5-3.5h0a3.5,3.5,0,0,1,3.5-3.5h22A3.5,3.5,0,0,1-11.39,9.77Z",handleSize:"120%",handleStyle:{borderColor:"#fff",borderWidth:1},indicatorIcon:"circle",indicatorSize:"50%",indicatorStyle:{borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}}),e}(z8);function G8(t,e,n){if(n[0]===n[1])return n.slice();for(var i=(n[1]-n[0])/200,r=n[0],o=[],a=0;a<=200&&r<n[1];a++)o.push(r),r+=i;return o.push(n[1]),o}const H8=F8;const W8=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.autoPositionValues={left:1,right:1,top:1,bottom:1},n}return my(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e},e.prototype.render=function(t,e,n,i){this.visualMapModel=t,!1!==t.get("show")?this.doRender(t,e,n,i):this.group.removeAll()},e.prototype.renderBackground=function(t){var e=this.visualMapModel,n=UL(e.get("padding")||0),i=t.getBoundingRect();t.add(new $A({z2:-1,silent:!0,shape:{x:i.x-n[3],y:i.y-n[0],width:i.width+n[3]+n[1],height:i.height+n[0]+n[2]},style:{fill:e.get("backgroundColor"),stroke:e.get("borderColor"),lineWidth:e.get("borderWidth")}}))},e.prototype.getControllerVisual=function(t,e,n){var i=(n=n||{}).forceState,r=this.visualMapModel,o={};if("color"===e){var a=r.get("contentColor");o.color=a}function s(t){return o[t]}function l(t,e){o[t]=e}var u=r.controllerVisuals[i||r.getValueState(t)];return Ky(zq.prepareVisualTypes(u),(function(i){var r=u[i];n.convertOpacityToAlpha&&"opacity"===i&&(i="colorAlpha",r=u.__alphaForOpacity),zq.dependsOn(i,e)&&r&&r.applyVisual(t,s,l)})),o[e]},e.prototype.positionGroup=function(t){var e=this.visualMapModel,n=this.api;iP(t,e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},e.prototype.doRender=function(t,e,n,i){},e.type="visualMap",e}(rR);var U8=[["left","right","width"],["top","bottom","height"]];function j8(t,e,n){var i=t.option,r=i.align;if(null!=r&&"auto"!==r)return r;for(var o={width:e.getWidth(),height:e.getHeight()},a="horizontal"===i.orient?1:0,s=U8[a],l=[0,null,10],u={},c=0;c<3;c++)u[U8[1-a][c]]=l[c],u[s[c]]=2===c?n[0]:i[s[c]];var h=[["x","width",3],["y","height",0]][a],d=nP(u,o,i.padding);return s[(d.margin[h[2]]||0)+d[h[0]]+.5*d[h[1]]<.5*o[h[1]]?0:1]}function Y8(t,e){return Ky(t||[],(function(t){null!=t.dataIndex&&(t.dataIndexInside=t.dataIndex,t.dataIndex=null),t.highlightKey="visualMap"+(e?e.componentIndex:"")})),t}var X8=iM,q8=Ky,Z8=Math.min,K8=Math.max,$8=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._shapes={},n._dataInterval=[],n._handleEnds=[],n._hoverLinkDataIndices=[],n}return my(e,t),e.prototype.doRender=function(t,e,n,i){this._api=n,i&&"selectDataRange"===i.type&&i.from===this.uid||this._buildView()},e.prototype._buildView=function(){this.group.removeAll();var t=this.visualMapModel,e=this.group;this._orient=t.get("orient"),this._useHandle=t.get("calculable"),this._resetInterval(),this._renderBar(e);var n=t.get("text");this._renderEndsText(e,n,0),this._renderEndsText(e,n,1),this._updateView(!0),this.renderBackground(e),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(e)},e.prototype._renderEndsText=function(t,e,n){if(e){var i=e[1-n];i=null!=i?i+"":"";var r=this.visualMapModel,o=r.get("textGap"),a=r.itemSize,s=this._shapes.mainGroup,l=this._applyTransform([a[0]/2,0===n?-o:a[1]+o],s),u=this._applyTransform(0===n?"bottom":"top",s),c=this._orient,h=this.visualMapModel.textStyleModel;this.group.add(new pC({style:kk(h,{x:l[0],y:l[1],verticalAlign:"horizontal"===c?"middle":u,align:"horizontal"===c?u:"center",text:i})}))}},e.prototype._renderBar=function(t){var e=this.visualMapModel,n=this._shapes,i=e.itemSize,r=this._orient,o=this._useHandle,a=j8(e,this.api,i),s=n.mainGroup=this._createBarGroup(a),l=new KS;s.add(l),l.add(n.outOfRange=J8()),l.add(n.inRange=J8(null,o?t9(this._orient):null,e_(this._dragHandle,this,"all",!1),e_(this._dragHandle,this,"all",!0))),l.setClipPath(new $A({shape:{x:0,y:0,width:i[0],height:i[1],r:3}}));var u=e.textStyleModel.getTextRect("å½"),c=K8(u.width,u.height);o&&(n.handleThumbs=[],n.handleLabels=[],n.handleLabelPoints=[],this._createHandle(e,s,0,i,c,r),this._createHandle(e,s,1,i,c,r)),this._createIndicator(e,s,i,c,r),t.add(s)},e.prototype._createHandle=function(t,e,n,i,r,o){var a=e_(this._dragHandle,this,n,!1),s=e_(this._dragHandle,this,n,!0),l=NS(t.get("handleSize"),i[0]),u=MN(t.get("handleIcon"),-l/2,-l/2,l,l,null,!0),c=t9(this._orient);u.attr({cursor:c,draggable:!0,drift:a,ondragend:s,onmousemove:function(t){_x(t.event)}}),u.x=i[0]/2,u.useStyle(t.getModel("handleStyle").getItemStyle()),u.setStyle({strokeNoScale:!0,strokeFirst:!0}),u.style.lineWidth*=2,u.ensureState("emphasis").style=t.getModel(["emphasis","handleStyle"]).getItemStyle(),fT(u,!0),e.add(u);var h=this.visualMapModel.textStyleModel,d=new pC({cursor:c,draggable:!0,drift:a,onmousemove:function(t){_x(t.event)},ondragend:s,style:kk(h,{x:0,y:0,text:""})});d.ensureState("blur").style={opacity:.1},d.stateTransition={duration:200},this.group.add(d);var p=[l,0],f=this._shapes;f.handleThumbs[n]=u,f.handleLabelPoints[n]=p,f.handleLabels[n]=d},e.prototype._createIndicator=function(t,e,n,i,r){var o=NS(t.get("indicatorSize"),n[0]),a=MN(t.get("indicatorIcon"),-o/2,-o/2,o,o,null,!0);a.attr({cursor:"move",invisible:!0,silent:!0,x:n[0]/2});var s=t.getModel("indicatorStyle").getItemStyle();if(a instanceof WA){var l=a.style;a.useStyle(jy({image:l.image,x:l.x,y:l.y,width:l.width,height:l.height},s))}else a.useStyle(s);e.add(a);var u=this.visualMapModel.textStyleModel,c=new pC({silent:!0,invisible:!0,style:kk(u,{x:0,y:0,text:""})});this.group.add(c);var h=[("horizontal"===r?i/2:6)+n[0]/2,0],d=this._shapes;d.indicator=a,d.indicatorLabel=c,d.indicatorLabelPoint=h,this._firstShowIndicator=!0},e.prototype._dragHandle=function(t,e,n,i){if(this._useHandle){if(this._dragging=!e,!e){var r=this._applyTransform([n,i],this._shapes.mainGroup,!0);this._updateInterval(t,r[1]),this._hideIndicator(),this._updateView()}e===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),e?!this._hovering&&this._clearHoverLinkToSeries():Q8(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[t],!1)}},e.prototype._resetInterval=function(){var t=this.visualMapModel,e=this._dataInterval=t.getSelected(),n=t.getExtent(),i=[0,t.itemSize[1]];this._handleEnds=[X8(e[0],n,i,!0),X8(e[1],n,i,!0)]},e.prototype._updateInterval=function(t,e){e=e||0;var n=this.visualMapModel,i=this._handleEnds,r=[0,n.itemSize[1]];GK(e,i,r,t,0);var o=n.getExtent();this._dataInterval=[X8(i[0],r,o,!0),X8(i[1],r,o,!0)]},e.prototype._updateView=function(t){var e=this.visualMapModel,n=e.getExtent(),i=this._shapes,r=[0,e.itemSize[1]],o=t?r:this._handleEnds,a=this._createBarVisual(this._dataInterval,n,o,"inRange"),s=this._createBarVisual(n,n,r,"outOfRange");i.inRange.setStyle({fill:a.barColor}).setShape("points",a.barPoints),i.outOfRange.setStyle({fill:s.barColor}).setShape("points",s.barPoints),this._updateHandle(o,a)},e.prototype._createBarVisual=function(t,e,n,i){var r={forceState:i,convertOpacityToAlpha:!0},o=this._makeColorGradient(t,r),a=[this.getControllerVisual(t[0],"symbolSize",r),this.getControllerVisual(t[1],"symbolSize",r)],s=this._createBarPoints(n,a);return{barColor:new LD(0,0,0,1,o),barPoints:s,handlesColor:[o[0].color,o[o.length-1].color]}},e.prototype._makeColorGradient=function(t,e){var n=[],i=(t[1]-t[0])/100;n.push({color:this.getControllerVisual(t[0],"color",e),offset:0});for(var r=1;r<100;r++){var o=t[0]+i*r;if(o>t[1])break;n.push({color:this.getControllerVisual(o,"color",e),offset:r/100})}return n.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),n},e.prototype._createBarPoints=function(t,e){var n=this.visualMapModel.itemSize;return[[n[0]-e[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-e[1],t[1]]]},e.prototype._createBarGroup=function(t){var e=this._orient,n=this.visualMapModel.get("inverse");return new KS("horizontal"!==e||n?"horizontal"===e&&n?{scaleX:"bottom"===t?-1:1,rotation:-Math.PI/2}:"vertical"!==e||n?{scaleX:"left"===t?1:-1}:{scaleX:"left"===t?1:-1,scaleY:-1}:{scaleX:"bottom"===t?1:-1,rotation:Math.PI/2})},e.prototype._updateHandle=function(t,e){if(this._useHandle){var n=this._shapes,i=this.visualMapModel,r=n.handleThumbs,o=n.handleLabels,a=i.itemSize,s=i.getExtent();q8([0,1],(function(l){var u=r[l];u.setStyle("fill",e.handlesColor[l]),u.y=t[l];var c=X8(t[l],[0,a[1]],s,!0),h=this.getControllerVisual(c,"symbolSize");u.scaleX=u.scaleY=h/a[0],u.x=a[0]-h/2;var d=dk(n.handleLabelPoints[l],hk(u,this.group));o[l].setStyle({x:d[0],y:d[1],text:i.formatValueText(this._dataInterval[l]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",n.mainGroup):"center"})}),this)}},e.prototype._showIndicator=function(t,e,n,i){var r=this.visualMapModel,o=r.getExtent(),a=r.itemSize,s=[0,a[1]],l=this._shapes,u=l.indicator;if(u){u.attr("invisible",!1);var c=this.getControllerVisual(t,"color",{convertOpacityToAlpha:!0}),h=this.getControllerVisual(t,"symbolSize"),d=X8(t,o,s,!0),p=a[0]-h/2,f={x:u.x,y:u.y};u.y=d,u.x=p;var g=dk(l.indicatorLabelPoint,hk(u,this.group)),v=l.indicatorLabel;v.attr("invisible",!1);var m=this._applyTransform("left",l.mainGroup),y="horizontal"===this._orient;v.setStyle({text:(n||"")+r.formatValueText(e),verticalAlign:y?m:"middle",align:y?"center":m});var _={x:p,y:d,style:{fill:c}},x={style:{x:g[0],y:g[1]}};if(r.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var b={duration:100,easing:"cubicInOut",additive:!0};u.x=f.x,u.y=f.y,u.animateTo(_,b),v.animateTo(x,b)}else u.attr(_),v.attr(x);this._firstShowIndicator=!1;var w=this._shapes.handleLabels;if(w)for(var S=0;S<w.length;S++)this._api.enterBlur(w[S])}},e.prototype._enableHoverLinkToSeries=function(){var t=this;this._shapes.mainGroup.on("mousemove",(function(e){if(t._hovering=!0,!t._dragging){var n=t.visualMapModel.itemSize,i=t._applyTransform([e.offsetX,e.offsetY],t._shapes.mainGroup,!0,!0);i[1]=Z8(K8(0,i[1]),n[1]),t._doHoverLinkToSeries(i[1],0<=i[0]&&i[0]<=n[0])}})).on("mouseout",(function(){t._hovering=!1,!t._dragging&&t._clearHoverLinkToSeries()}))},e.prototype._enableHoverLinkFromSeries=function(){var t=this.api.getZr();this.visualMapModel.option.hoverLink?(t.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),t.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},e.prototype._doHoverLinkToSeries=function(t,e){var n=this.visualMapModel,i=n.itemSize;if(n.option.hoverLink){var r=[0,i[1]],o=n.getExtent();t=Z8(K8(r[0],t),r[1]);var a=function(t,e,n){var i=6,r=t.get("hoverLinkDataSize");r&&(i=X8(r,e,n,!0)/2);return i}(n,o,r),s=[t-a,t+a],l=X8(t,r,o,!0),u=[X8(s[0],r,o,!0),X8(s[1],r,o,!0)];s[0]<r[0]&&(u[0]=-1/0),s[1]>r[1]&&(u[1]=1/0),e&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",a):u[1]===1/0?this._showIndicator(l,u[0],"> ",a):this._showIndicator(l,l,"â ",a));var c=this._hoverLinkDataIndices,h=[];(e||Q8(n))&&(h=this._hoverLinkDataIndices=n.findTargetDataIndices(u));var d=function(t,e){var n={},i={};return r(t||[],n),r(e||[],i,n),[o(n),o(i)];function r(t,e,n){for(var i=0,r=t.length;i<r;i++){var o=NM(t[i].seriesId,null);if(null==o)return;for(var a=TM(t[i].dataIndex),s=n&&n[o],l=0,u=a.length;l<u;l++){var c=a[l];s&&s[c]?s[c]=null:(e[o]||(e[o]={}))[c]=1}}}function o(t,e){var n=[];for(var i in t)if(t.hasOwnProperty(i)&&null!=t[i])if(e)n.push(+i);else{var r=o(t[i],!0);r.length&&n.push({seriesId:i,dataIndex:r})}return n}}(c,h);this._dispatchHighDown("downplay",Y8(d[0],n)),this._dispatchHighDown("highlight",Y8(d[1],n))}},e.prototype._hoverLinkFromSeriesMouseOver=function(t){var e;if(hN(t.target,(function(t){var n=fC(t);if(null!=n.dataIndex)return e=n,!0}),!0),e){var n=this.ecModel.getSeriesByIndex(e.seriesIndex),i=this.visualMapModel;if(i.isTargetSeries(n)){var r=n.getData(e.dataType),o=r.getStore().get(i.getDataDimensionIndex(r),e.dataIndex);isNaN(o)||this._showIndicator(o,o)}}},e.prototype._hideIndicator=function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0);var e=this._shapes.handleLabels;if(e)for(var n=0;n<e.length;n++)this._api.leaveBlur(e[n])},e.prototype._clearHoverLinkToSeries=function(){this._hideIndicator();var t=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",Y8(t,this.visualMapModel)),t.length=0},e.prototype._clearHoverLinkFromSeries=function(){this._hideIndicator();var t=this.api.getZr();t.off("mouseover",this._hoverLinkFromSeriesMouseOver),t.off("mouseout",this._hideIndicator)},e.prototype._applyTransform=function(t,e,n,i){var r=hk(e,i?null:this.group);return i_(t)?dk(t,r,n):pk(t,r,n)},e.prototype._dispatchHighDown=function(t,e){e&&e.length&&this.api.dispatchAction({type:t,batch:e})},e.prototype.dispose=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},e.prototype.remove=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},e.type="visualMap.continuous",e}(W8);function J8(t,e,n,i){return new dD({shape:{points:t},draggable:!!n,cursor:e,drift:n,onmousemove:function(t){_x(t.event)},ondragend:i})}function Q8(t){var e=t.get("hoverLinkOnHandle");return!!(null==e?t.get("realtime"):e)}function t9(t){return"vertical"===t?"ns-resize":"ew-resize"}const e9=$8;var n9={type:"selectDataRange",event:"dataRangeSelected",update:"update"},i9=function(t,e){e.eachComponent({mainType:"visualMap",query:t},(function(e){e.setSelected(t.selected)}))},r9=[{createOnAllSeries:!0,reset:function(t,e){var n=[];return e.eachComponent("visualMap",(function(e){var i,r,o,a,s,l=t.pipelineContext;!e.isTargetSeries(t)||l&&l.large||n.push((i=e.stateList,r=e.targetVisuals,o=e_(e.getValueState,e),a=e.getDataDimensionIndex(t.getData()),s={},Ky(i,(function(t){var e=zq.prepareVisualTypes(r[t]);s[t]=e})),{progress:function(t,e){var n,i;function l(t){return aN(e,i,t)}function u(t,n){lN(e,i,t,n)}null!=a&&(n=e.getDimensionIndex(a));for(var c=e.getStore();null!=(i=t.next());){var h=e.getRawDataItem(i);if(!h||!1!==h.visualMap)for(var d=null!=a?c.get(n,i):i,p=o(d),f=r[p],g=s[p],v=0,m=g.length;v<m;v++){var y=g[v];f[y]&&f[y].applyVisual(d,l,u)}}}}))})),n}},{createOnAllSeries:!0,reset:function(t,e){var n=t.getData(),i=[];e.eachComponent("visualMap",(function(e){if(e.isTargetSeries(t)){var r=e.getVisualMeta(e_(o9,null,t,e))||{stops:[],outerColors:[]},o=e.getDataDimensionIndex(n);o>=0&&(r.dimension=o,i.push(r))}})),t.getData().setVisual("visualMeta",i)}}];function o9(t,e,n,i){for(var r=e.targetVisuals[i],o=zq.prepareVisualTypes(r),a={color:sN(t.getData(),"color")},s=0,l=o.length;s<l;s++){var u=o[s],c=r["opacity"===u?"__alphaForOpacity":u];c&&c.applyVisual(n,h,d)}return a.color;function h(t){return a[t]}function d(t,e){a[t]=e}}var a9=Ky;function s9(t){var e=t&&t.visualMap;i_(e)||(e=e?[e]:[]),a9(e,(function(t){if(t){l9(t,"splitList")&&!l9(t,"pieces")&&(t.pieces=t.splitList,delete t.splitList);var e=t.pieces;e&&i_(e)&&a9(e,(function(t){l_(t)&&(l9(t,"start")&&!l9(t,"min")&&(t.min=t.start),l9(t,"end")&&!l9(t,"max")&&(t.max=t.end))}))}}))}function l9(t,e){return t&&t.hasOwnProperty&&t.hasOwnProperty(e)}var u9=!1;function c9(t){u9||(u9=!0,t.registerSubTypeDefaulter("visualMap",(function(t){return t.categories||(t.pieces?t.pieces.length>0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"})),t.registerAction(n9,i9),Ky(r9,(function(e){t.registerVisual(t.PRIORITY.VISUAL.COMPONENT,e)})),t.registerPreprocessor(s9))}function h9(t){t.registerComponentModel(H8),t.registerComponentView(e9),c9(t)}var d9=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._pieceList=[],n}return my(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var i=this._mode=this._determineMode();this._pieceList=[],p9[this._mode].call(this,this._pieceList),this._resetSelected(e,n);var r=this.option.categories;this.resetVisual((function(t,e){"categories"===i?(t.mappingMethod="category",t.categories=Hy(r)):(t.dataExtent=this.getExtent(),t.mappingMethod="piecewise",t.pieceList=$y(this._pieceList,(function(t){return t=Hy(t),"inRange"!==e&&(t.visual=null),t})))}))},e.prototype.completeVisualOption=function(){var e=this.option,n={},i=zq.listVisualTypes(),r=this.isCategory();function o(t,e,n){return t&&t[e]&&t[e].hasOwnProperty(n)}Ky(e.pieces,(function(t){Ky(i,(function(e){t.hasOwnProperty(e)&&(n[e]=1)}))})),Ky(n,(function(t,n){var i=!1;Ky(this.stateList,(function(t){i=i||o(e,t,n)||o(e.target,t,n)}),this),!i&&Ky(this.stateList,(function(t){(e[t]||(e[t]={}))[n]=k8.get(n,"inRange"===t?"active":"inactive",r)}))}),this),t.prototype.completeVisualOption.apply(this,arguments)},e.prototype._resetSelected=function(t,e){var n=this.option,i=this._pieceList,r=(e?n:t).selected||{};if(n.selected=r,Ky(i,(function(t,e){var n=this.getSelectedMapKey(t);r.hasOwnProperty(n)||(r[n]=!0)}),this),"single"===n.selectedMode){var o=!1;Ky(i,(function(t,e){var n=this.getSelectedMapKey(t);r[n]&&(o?r[n]=!1:o=!0)}),this)}},e.prototype.getItemSymbol=function(){return this.get("itemSymbol")},e.prototype.getSelectedMapKey=function(t){return"categories"===this._mode?t.value+"":t.index+""},e.prototype.getPieceList=function(){return this._pieceList},e.prototype._determineMode=function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},e.prototype.setSelected=function(t){this.option.selected=Hy(t)},e.prototype.getValueState=function(t){var e=zq.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[],n=this._pieceList;return this.eachTargetSeries((function(i){var r=[],o=i.getData();o.each(this.getDataDimensionIndex(o),(function(e,i){zq.findPieceIndex(e,n)===t&&r.push(i)}),this),e.push({seriesId:i.id,dataIndex:r})}),this),e},e.prototype.getRepresentValue=function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var n=t.interval||[];e=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return e},e.prototype.getVisualMeta=function(t){if(!this.isCategory()){var e=[],n=["",""],i=this,r=this._pieceList.slice();if(r.length){var o=r[0].interval[0];o!==-1/0&&r.unshift({interval:[-1/0,o]}),(o=r[r.length-1].interval[1])!==1/0&&r.push({interval:[o,1/0]})}else r.push({interval:[-1/0,1/0]});var a=-1/0;return Ky(r,(function(t){var e=t.interval;e&&(e[0]>a&&s([a,e[0]],"outOfRange"),s(e.slice()),a=e[1])}),this),{stops:e,outerColors:n}}function s(r,o){var a=i.getRepresentValue({interval:r});o||(o=i.getValueState(a));var s=t(a,o);r[0]===-1/0?n[0]=s:r[1]===1/0?n[1]=s:e.push({value:r[0],color:s},{value:r[1],color:s})}},e.type="visualMap.piecewise",e.defaultOption=iL(z8.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),e}(z8),p9={splitNumber:function(t){var e=this.option,n=Math.min(e.precision,20),i=this.getExtent(),r=e.splitNumber;r=Math.max(parseInt(r,10),1),e.splitNumber=r;for(var o=(i[1]-i[0])/r;+o.toFixed(n)!==o&&n<5;)n++;e.precision=n,o=+o.toFixed(n),e.minOpen&&t.push({interval:[-1/0,i[0]],close:[0,0]});for(var a=0,s=i[0];a<r;s+=o,a++){var l=a===r-1?i[1]:s+o;t.push({interval:[s,l],close:[1,1]})}e.maxOpen&&t.push({interval:[i[1],1/0],close:[0,0]}),yM(t),Ky(t,(function(t,e){t.index=e,t.text=this.formatValueText(t.interval)}),this)},categories:function(t){var e=this.option;Ky(e.categories,(function(e){t.push({text:this.formatValueText(e,!0),value:e})}),this),f9(e,t)},pieces:function(t){var e=this.option;Ky(e.pieces,(function(e,n){l_(e)||(e={value:e});var i={text:"",index:n};if(null!=e.label&&(i.text=e.label),e.hasOwnProperty("value")){var r=i.value=e.value;i.interval=[r,r],i.close=[1,1]}else{for(var o=i.interval=[],a=i.close=[0,0],s=[1,0,1],l=[-1/0,1/0],u=[],c=0;c<2;c++){for(var h=[["gte","gt","min"],["lte","lt","max"]][c],d=0;d<3&&null==o[c];d++)o[c]=e[h[d]],a[c]=s[d],u[c]=2===d;null==o[c]&&(o[c]=l[c])}u[0]&&o[1]===1/0&&(a[0]=0),u[1]&&o[0]===-1/0&&(a[1]=0),o[0]===o[1]&&a[0]&&a[1]&&(i.value=o[0])}i.visual=zq.retrieveVisuals(e),t.push(i)}),this),f9(e,t),yM(t),Ky(t,(function(t){var e=t.close,n=[["<","â¤"][e[1]],[">","â¥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,n)}),this)}};function f9(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}const g9=d9;const v9=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return my(e,t),e.prototype.doRender=function(){var t=this.group;t.removeAll();var e=this.visualMapModel,n=e.get("textGap"),i=e.textStyleModel,r=i.getFont(),o=i.getTextColor(),a=this._getItemAlign(),s=e.itemSize,l=this._getViewData(),u=l.endsText,c=f_(e.get("showLabel",!0),!u);u&&this._renderEndsText(t,u[0],s,c,a),Ky(l.viewPieceList,(function(i){var l=i.piece,u=new KS;u.onclick=e_(this._onItemClick,this,l),this._enableHoverLink(u,i.indexInModelPieceList);var h=e.getRepresentValue(l);if(this._createItemSymbol(u,h,[0,0,s[0],s[1]]),c){var d=this.visualMapModel.getValueState(h);u.add(new pC({style:{x:"right"===a?-n:s[0]+n,y:s[1]/2,text:l.text,verticalAlign:"middle",align:a,font:r,fill:o,opacity:"outOfRange"===d?.5:1}}))}t.add(u)}),this),u&&this._renderEndsText(t,u[1],s,c,a),eP(e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},e.prototype._enableHoverLink=function(t,e){var n=this;t.on("mouseover",(function(){return i("highlight")})).on("mouseout",(function(){return i("downplay")}));var i=function(t){var i=n.visualMapModel;i.option.hoverLink&&n.api.dispatchAction({type:t,batch:Y8(i.findTargetDataIndices(e),i)})}},e.prototype._getItemAlign=function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return j8(t,this.api,t.itemSize);var n=e.align;return n&&"auto"!==n||(n="left"),n},e.prototype._renderEndsText=function(t,e,n,i,r){if(e){var o=new KS,a=this.visualMapModel.textStyleModel;o.add(new pC({style:kk(a,{x:i?"right"===r?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:i?r:"center",text:e})})),t.add(o)}},e.prototype._getViewData=function(){var t=this.visualMapModel,e=$y(t.getPieceList(),(function(t,e){return{piece:t,indexInModelPieceList:e}})),n=t.get("text"),i=t.get("orient"),r=t.get("inverse");return("horizontal"===i?r:!r)?e.reverse():n&&(n=n.slice().reverse()),{viewPieceList:e,endsText:n}},e.prototype._createItemSymbol=function(t,e,n){t.add(MN(this.getControllerVisual(e,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(e,"color")))},e.prototype._onItemClick=function(t){var e=this.visualMapModel,n=e.option,i=n.selectedMode;if(i){var r=Hy(n.selected),o=e.getSelectedMapKey(t);"single"===i||!0===i?(r[o]=!0,Ky(r,(function(t,e){r[e]=e===o}))):r[o]=!r[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:r})}},e.type="visualMap.piecewise",e}(W8);function m9(t){t.registerComponentModel(g9),t.registerComponentView(v9),c9(t)}var y9={label:{enabled:!0},decal:{show:!1}},_9=FM(),x9={};function b9(t,e){var n=t.getModel("aria");if(n.get("enabled")){var i=Hy(y9);Wy(i.label,t.getLocaleModel().get("aria"),!1),Wy(n.option,i,!1),function(){if(n.getModel("decal").get("show")){var e=C_();t.eachSeries((function(t){if(!t.isColorBySeries()){var n=e.get(t.type);n||(n={},e.set(t.type,n)),_9(t).scope=n}})),t.eachRawSeries((function(e){if(!t.isSeriesFiltered(e))if(r_(e.enableAriaDecal))e.enableAriaDecal();else{var n=e.getData();if(e.isColorBySeries()){var i=BP(e.ecModel,e.name,x9,t.getSeriesCount()),r=n.getVisual("decal");n.setVisual("decal",u(r,i))}else{var o=e.getRawData(),a={},s=_9(e).scope;n.each((function(t){var e=n.getRawIndex(t);a[e]=t}));var l=o.count();o.each((function(t){var i=a[t],r=o.getName(t)||t+"",c=BP(e.ecModel,r,s,l),h=n.getItemVisual(i,"decal");n.setItemVisual(i,"decal",u(h,c))}))}}function u(t,e){var n=t?jy(jy({},e),t):e;return n.dirty=!0,n}}))}}(),function(){var i=t.getLocaleModel().get("aria"),o=n.getModel("label");if(o.option=Yy(o.option,i),!o.get("enabled"))return;var a=e.getZr().dom;if(o.get("description"))return void a.setAttribute("aria-label",o.get("description"));var s,l=t.getSeriesCount(),u=o.get(["data","maxCount"])||10,c=o.get(["series","maxCount"])||10,h=Math.min(l,c);if(l<1)return;var d=function(){var e=t.get("title");e&&e.length&&(e=e[0]);return e&&e.text}();s=d?r(o.get(["general","withTitle"]),{title:d}):o.get(["general","withoutTitle"]);var p=[];s+=r(l>1?o.get(["series","multiple","prefix"]):o.get(["series","single","prefix"]),{seriesCount:l}),t.eachSeries((function(e,n){if(n<h){var i=void 0,a=e.get("name")?"withName":"withoutName";i=r(i=l>1?o.get(["series","multiple",a]):o.get(["series","single",a]),{seriesId:e.seriesIndex,seriesName:e.get("name"),seriesType:(_=e.subType,t.getLocaleModel().get(["series","typeNames"])[_]||"èªå®ä¹å¾")});var s=e.getData();if(s.count()>u)i+=r(o.get(["data","partialData"]),{displayCnt:u});else i+=o.get(["data","allData"]);for(var c=o.get(["data","separator","middle"]),d=o.get(["data","separator","end"]),f=[],g=0;g<s.count();g++)if(g<u){var v=s.getName(g),m=s.getValues(g),y=o.get(["data",v?"withName":"withoutName"]);f.push(r(y,{name:v,value:m.join(c)}))}i+=f.join(c)+d,p.push(i)}var _}));var f=o.getModel(["series","multiple","separator"]),g=f.get("middle"),v=f.get("end");s+=p.join(g)+v,a.setAttribute("aria-label",s)}()}function r(t,e){if(!o_(t))return t;var n=t;return Ky(e,(function(t,e){n=n.replace(new RegExp("\\{\\s*"+e+"\\s*\\}","g"),t)})),n}}function w9(t){if(t&&t.aria){var e=t.aria;null!=e.show&&(e.enabled=e.show),e.label=e.label||{},Ky(["description","general","series","data"],(function(t){null!=e[t]&&(e.label[t]=e[t])}))}}var S9={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},M9=function(){function t(t){var e;if(null==(this._condVal=o_(t)?new RegExp(t):(e=t,"[object RegExp]"===ky.call(e)?t:null))){MM("")}}return t.prototype.evaluate=function(t){var e=typeof t;return o_(e)?this._condVal.test(t):!!s_(e)&&this._condVal.test(t+"")},t}(),I9=function(){function t(){}return t.prototype.evaluate=function(){return this.value},t}(),A9=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e<t.length;e++)if(!t[e].evaluate())return!1;return!0},t}(),C9=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e<t.length;e++)if(t[e].evaluate())return!0;return!1},t}(),T9=function(){function t(){}return t.prototype.evaluate=function(){return!this.child.evaluate()},t}(),D9=function(){function t(){}return t.prototype.evaluate=function(){for(var t=!!this.valueParser,e=(0,this.getValue)(this.valueGetterParam),n=t?this.valueParser(e):null,i=0;i<this.subCondList.length;i++)if(!this.subCondList[i].evaluate(t?n:e))return!1;return!0},t}();function k9(t,e){if(!0===t||!1===t){var n=new I9;return n.value=t,n}return P9(t)||MM(""),t.and?L9("and",t,e):t.or?L9("or",t,e):t.not?function(t,e){var n=t.not,i="";P9(n)||MM(i);var r=new T9;r.child=k9(n,e),r.child||MM(i);return r}(t,e):function(t,e){for(var n="",i=e.prepareGetValue(t),r=[],o=t_(t),a=t.parser,s=a?tE(a):null,l=0;l<o.length;l++){var u=o[l];if("parser"!==u&&!e.valueGetterAttrMap.get(u)){var c=L_(S9,u)?S9[u]:u,h=t[u],d=s?s(h):h,p=oE(c,d)||"reg"===c&&new M9(d);p||MM(n),r.push(p)}}r.length||MM(n);var f=new D9;return f.valueGetterParam=i,f.valueParser=s,f.getValue=e.getValue,f.subCondList=r,f}(t,e)}function L9(t,e,n){var i=e[t];i_(i)||MM(""),i.length||MM("");var r="and"===t?new A9:new C9;return r.children=$y(i,(function(t){return k9(t,n)})),r.children.length||MM(""),r}function P9(t){return l_(t)&&!Zy(t)}var O9=function(){function t(t,e){this._cond=k9(t,e)}return t.prototype.evaluate=function(){return this._cond.evaluate()},t}();var E9={type:"echarts:filter",transform:function(t){for(var e,n,i,r=t.upstream,o=(n=t.config,i={valueGetterAttrMap:C_({dimension:!0}),prepareGetValue:function(t){var e=t.dimension;L_(t,"dimension")||MM("");var n=r.getDimensionInfo(e);return n||MM(""),{dimIdx:n.index}},getValue:function(t){return r.retrieveValueFromItem(e,t.dimIdx)}},new O9(n,i)),a=[],s=0,l=r.count();s<l;s++)e=r.getRawDataItem(s),o.evaluate()&&a.push(e);return{data:a}}},R9={type:"echarts:sort",transform:function(t){var e=t.upstream,n=t.config,i="",r=TM(n);r.length||MM(i);var o=[];Ky(r,(function(t){var n=t.dimension,r=t.order,a=t.parser,s=t.incomparable;if(null==n&&MM(i),"asc"!==r&&"desc"!==r&&MM(i),s&&"min"!==s&&"max"!==s){MM("")}if("asc"!==r&&"desc"!==r){MM("")}var l=e.getDimensionInfo(n);l||MM(i);var u=a?tE(a):null;a&&!u&&MM(i),o.push({dimIdx:l.index,parser:u,comparator:new iE(r,s)})}));var a=e.sourceFormat;a!==vP&&a!==mP&&MM(i);for(var s=[],l=0,u=e.count();l<u;l++)s.push(e.getRawDataItem(l));return s.sort((function(t,n){for(var i=0;i<o.length;i++){var r=o[i],a=e.retrieveValueFromItem(t,r.dimIdx),s=e.retrieveValueFromItem(n,r.dimIdx);r.parser&&(a=r.parser(a),s=r.parser(s));var l=r.comparator.evaluate(a,s);if(0!==l)return l}return 0})),{data:s}}};var N9=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return my(e,t),e.prototype.init=function(e,n,i){t.prototype.init.call(this,e,n,i),this._sourceManager=new ME(this),IE(this)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),IE(this)},e.prototype.optionUpdated=function(){this._sourceManager.dirty()},e.prototype.getSourceManager=function(){return this._sourceManager},e.type="dataset",e.defaultOption={seriesLayoutBy:bP},e}(cP),B9=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return my(e,t),e.type="dataset",e}(rR);var z9=fA.CMD;function V9(t,e){return Math.abs(t-e)<1e-5}function F9(t){var e,n,i,r,o,a,s,l,u,c,h,d,p,f,g,v,m,y,_,x,b,w,S,M,I=t.data,A=t.len(),C=[],T=0,D=0,k=0,L=0;function P(t,n){e&&e.length>2&&C.push(e),e=[t,n]}function O(t,n,i,r){V9(t,i)&&V9(n,r)||e.push(t,n,i,r,i,r)}for(var E=0;E<A;){var R=I[E++],N=1===E;switch(N&&(k=T=I[E],L=D=I[E+1],R!==z9.L&&R!==z9.C&&R!==z9.Q||(e=[k,L])),R){case z9.M:T=k=I[E++],D=L=I[E++],P(k,L);break;case z9.L:O(T,D,n=I[E++],i=I[E++]),T=n,D=i;break;case z9.C:e.push(I[E++],I[E++],I[E++],I[E++],T=I[E++],D=I[E++]);break;case z9.Q:n=I[E++],i=I[E++],r=I[E++],o=I[E++],e.push(T+2/3*(n-T),D+2/3*(i-D),r+2/3*(n-r),o+2/3*(i-o),r,o),T=r,D=o;break;case z9.A:var B=I[E++],z=I[E++],V=I[E++],F=I[E++],G=I[E++],H=I[E++]+G;E+=1;var W=!I[E++];n=Math.cos(G)*V+B,i=Math.sin(G)*F+z,N?P(k=n,L=i):O(T,D,n,i),T=Math.cos(H)*V+B,D=Math.sin(H)*F+z;for(var U=(W?-1:1)*Math.PI/2,j=G;W?j>H:j<H;j+=U){var Y=W?Math.max(j+U,H):Math.min(j+U,H);a=j,s=Y,l=B,u=z,c=V,h=F,d=void 0,p=void 0,f=void 0,g=void 0,v=void 0,m=void 0,y=void 0,_=void 0,x=void 0,b=void 0,w=void 0,S=void 0,M=void 0,d=Math.abs(s-a),p=4*Math.tan(d/4)/3,f=s<a?-1:1,g=Math.cos(a),v=Math.sin(a),m=Math.cos(s),y=Math.sin(s),_=g*c+l,x=v*h+u,b=m*c+l,w=y*h+u,S=c*p*f,M=h*p*f,e.push(_-S*v,x+M*g,b+S*y,w-M*m,b,w)}break;case z9.R:k=T=I[E++],L=D=I[E++],n=k+I[E++],i=L+I[E++],P(n,L),O(n,L,n,i),O(n,i,k,i),O(k,i,k,L),O(k,L,n,L);break;case z9.Z:e&&O(T,D,k,L),T=k,D=L}}return e&&e.length>2&&C.push(e),C}function G9(t,e,n,i,r,o,a,s,l,u){if(V9(t,n)&&V9(e,i)&&V9(r,a)&&V9(o,s))l.push(a,s);else{var c=2/u,h=c*c,d=a-t,p=s-e,f=Math.sqrt(d*d+p*p);d/=f,p/=f;var g=n-t,v=i-e,m=r-a,y=o-s,_=g*g+v*v,x=m*m+y*y;if(_<h&&x<h)l.push(a,s);else{var b=d*g+p*v,w=-d*m-p*y;if(_-b*b<h&&b>=0&&x-w*w<h&&w>=0)l.push(a,s);else{var S=[],M=[];Eb(t,n,r,a,.5,S),Eb(e,i,o,s,.5,M),G9(S[0],M[0],S[1],M[1],S[2],M[2],S[3],M[3],l,u),G9(S[4],M[4],S[5],M[5],S[6],M[6],S[7],M[7],l,u)}}}}function H9(t,e,n){var i=t[e],r=t[1-e],o=Math.abs(i/r),a=Math.ceil(Math.sqrt(o*n)),s=Math.floor(n/a);0===s&&(s=1,a=n);for(var l=[],u=0;u<a;u++)l.push(s);var c=n-a*s;if(c>0)for(u=0;u<c;u++)l[u%a]+=1;return l}function W9(t,e,n){for(var i=t.r0,r=t.r,o=t.startAngle,a=t.endAngle,s=Math.abs(a-o),l=s*r,u=r-i,c=l>Math.abs(u),h=H9([l,u],c?0:1,e),d=(c?s:u)/h.length,p=0;p<h.length;p++)for(var f=(c?u:s)/h[p],g=0;g<h[p];g++){var v={};c?(v.startAngle=o+d*p,v.endAngle=o+d*(p+1),v.r0=i+f*g,v.r=i+f*(g+1)):(v.startAngle=o+f*g,v.endAngle=o+f*(g+1),v.r0=i+d*p,v.r=i+d*(p+1)),v.clockwise=t.clockwise,v.cx=t.cx,v.cy=t.cy,n.push(v)}}function U9(t,e,n,i){return t*i-n*e}function j9(t,e,n,i,r,o,a,s){var l=n-t,u=i-e,c=a-r,h=s-o,d=U9(c,h,l,u);if(Math.abs(d)<1e-6)return null;var p=U9(t-r,e-o,c,h)/d;return p<0||p>1?null:new Px(p*l+t,p*u+e)}function Y9(t,e,n){var i=new Px;Px.sub(i,n,e),i.normalize();var r=new Px;return Px.sub(r,t,e),r.dot(i)}function X9(t,e){var n=t[t.length-1];n&&n[0]===e[0]&&n[1]===e[1]||t.push(e)}function q9(t){var e=t.points,n=[],i=[];WI(e,n,i);var r=new Hx(n[0],n[1],i[0]-n[0],i[1]-n[1]),o=r.width,a=r.height,s=r.x,l=r.y,u=new Px,c=new Px;return o>a?(u.x=c.x=s+o/2,u.y=l,c.y=l+a):(u.y=c.y=l+a/2,u.x=s,c.x=s+o),function(t,e,n){for(var i=t.length,r=[],o=0;o<i;o++){var a=t[o],s=t[(o+1)%i],l=j9(a[0],a[1],s[0],s[1],e.x,e.y,n.x,n.y);l&&r.push({projPt:Y9(l,e,n),pt:l,idx:o})}if(r.length<2)return[{points:t},{points:t}];r.sort((function(t,e){return t.projPt-e.projPt}));var u=r[0],c=r[r.length-1];if(c.idx<u.idx){var h=u;u=c,c=h}var d=[u.pt.x,u.pt.y],p=[c.pt.x,c.pt.y],f=[d],g=[p];for(o=u.idx+1;o<=c.idx;o++)X9(f,t[o].slice());for(X9(f,p),X9(f,d),o=c.idx+1;o<=u.idx+i;o++)X9(g,t[o%i].slice());return X9(g,d),X9(g,p),[{points:f},{points:g}]}(e,u,c)}function Z9(t,e,n,i){if(1===n)i.push(e);else{var r=Math.floor(n/2),o=t(e);Z9(t,o[0],r,i),Z9(t,o[1],n-r,i)}return i}function K9(t,e){e.setStyle(t.style),e.z=t.z,e.z2=t.z2,e.zlevel=t.zlevel}function $9(t,e){var n,i=[],r=t.shape;switch(t.type){case"rect":!function(t,e,n){for(var i=t.width,r=t.height,o=i>r,a=H9([i,r],o?0:1,e),s=o?"width":"height",l=o?"height":"width",u=o?"x":"y",c=o?"y":"x",h=t[s]/a.length,d=0;d<a.length;d++)for(var p=t[l]/a[d],f=0;f<a[d];f++){var g={};g[u]=d*h,g[c]=f*p,g[s]=h,g[l]=p,g.x+=t.x,g.y+=t.y,n.push(g)}}(r,e,i),n=$A;break;case"sector":W9(r,e,i),n=oD;break;case"circle":W9({r0:0,r:r.r,startAngle:0,endAngle:2*Math.PI,cx:r.cx,cy:r.cy},e,i),n=oD;break;default:var o=t.getComputedTransform(),a=o?Math.sqrt(Math.max(o[0]*o[0]+o[1]*o[1],o[2]*o[2]+o[3]*o[3])):1,s=$y(function(t,e){var n=F9(t),i=[];e=e||1;for(var r=0;r<n.length;r++){var o=n[r],a=[],s=o[0],l=o[1];a.push(s,l);for(var u=2;u<o.length;){var c=o[u++],h=o[u++],d=o[u++],p=o[u++],f=o[u++],g=o[u++];G9(s,l,c,h,d,p,f,g,a,e),s=f,l=g}i.push(a)}return i}(t.getUpdatedPathProxy(),a),(function(t){return function(t){for(var e=[],n=0;n<t.length;)e.push([t[n++],t[n++]]);return e}(t)})),l=s.length;if(0===l)Z9(q9,{points:s[0]},e,i);else if(l===e)for(var u=0;u<l;u++)i.push({points:s[u]});else{var c=0,h=$y(s,(function(t){var e=[],n=[];WI(t,e,n);var i=(n[1]-e[1])*(n[0]-e[0]);return c+=i,{poly:t,area:i}}));h.sort((function(t,e){return e.area-t.area}));var d=e;for(u=0;u<l;u++){var p=h[u];if(d<=0)break;var f=u===l-1?d:Math.ceil(p.area/c*e);f<0||(Z9(q9,{points:p.poly},f,i),d-=f)}}n=dD}if(!n)return function(t,e){for(var n=[],i=0;i<e;i++)n.push(BT(t));return n}(t,e);var g=[];for(u=0;u<i.length;u++){var v=new n;v.setShape(i[u]),K9(t,v),g.push(v)}return g}function J9(t,e){var n=t.length,i=e.length;if(n===i)return[t,e];for(var r=[],o=[],a=n<i?t:e,s=Math.min(n,i),l=Math.abs(i-n)/6,u=(s-2)/6,c=Math.ceil(l/u)+1,h=[a[0],a[1]],d=l,p=2;p<s;){var f=a[p-2],g=a[p-1],v=a[p++],m=a[p++],y=a[p++],_=a[p++],x=a[p++],b=a[p++];if(d<=0)h.push(v,m,y,_,x,b);else{for(var w=Math.min(d,c-1)+1,S=1;S<=w;S++){var M=S/w;Eb(f,v,y,x,M,r),Eb(g,m,_,b,M,o),f=r[3],g=o[3],h.push(r[1],o[1],r[2],o[2],f,g),v=r[5],m=o[5],y=r[6],_=o[6]}d-=w-1}}return a===t?[h,e]:[t,h]}function Q9(t,e){for(var n=t.length,i=t[n-2],r=t[n-1],o=[],a=0;a<e.length;)o[a++]=i,o[a++]=r;return o}function t7(t){for(var e=0,n=0,i=0,r=t.length,o=0,a=r-2;o<r;a=o,o+=2){var s=t[a],l=t[a+1],u=t[o],c=t[o+1],h=s*c-u*l;e+=h,n+=(s+u)*h,i+=(l+c)*h}return 0===e?[t[0]||0,t[1]||0]:[n/e/3,i/e/3,e]}function e7(t,e,n,i){for(var r=(t.length-2)/6,o=1/0,a=0,s=t.length,l=s-2,u=0;u<r;u++){for(var c=6*u,h=0,d=0;d<s;d+=2){var p=0===d?c:(c+d-2)%l+2,f=t[p]-n[0],g=t[p+1]-n[1],v=e[d]-i[0]-f,m=e[d+1]-i[1]-g;h+=v*v+m*m}h<o&&(o=h,a=u)}return a}function n7(t){for(var e=[],n=t.length,i=0;i<n;i+=2)e[i]=t[n-i-2],e[i+1]=t[n-i-1];return e}function i7(t){return t.__isCombineMorphing}var r7="__mOriginal_";function o7(t,e,n){var i=r7+e,r=t[i]||t[e];t[i]||(t[i]=t[e]);var o=n.replace,a=n.after,s=n.before;t[e]=function(){var t,e=arguments;return s&&s.apply(this,e),t=o?o.apply(this,e):r.apply(this,e),a&&a.apply(this,e),t}}function a7(t,e){var n=r7+e;t[n]&&(t[e]=t[n],t[n]=null)}function s7(t,e){for(var n=0;n<t.length;n++)for(var i=t[n],r=0;r<i.length;){var o=i[r],a=i[r+1];i[r++]=e[0]*o+e[2]*a+e[4],i[r++]=e[1]*o+e[3]*a+e[5]}}function l7(t,e){var n=t.getUpdatedPathProxy(),i=e.getUpdatedPathProxy(),r=function(t,e){for(var n,i,r,o=[],a=[],s=0;s<Math.max(t.length,e.length);s++){var l=t[s],u=e[s],c=void 0,h=void 0;l?u?(i=c=(n=J9(l,u))[0],r=h=n[1]):(h=Q9(r||l,l),c=l):(c=Q9(i||u,u),h=u),o.push(c),a.push(h)}return[o,a]}(F9(n),F9(i)),o=r[0],a=r[1],s=t.getComputedTransform(),l=e.getComputedTransform();s&&s7(o,s),l&&s7(a,l),o7(e,"updateTransform",{replace:function(){this.transform=null}}),e.transform=null;var u=function(t,e,n,i){for(var r,o=[],a=0;a<t.length;a++){var s=t[a],l=e[a],u=t7(s),c=t7(l);null==r&&(r=u[2]<0!=c[2]<0);var h=[],d=[],p=0,f=1/0,g=[],v=s.length;r&&(s=n7(s));for(var m=6*e7(s,l,u,c),y=v-2,_=0;_<y;_+=2){var x=(m+_)%y+2;h[_+2]=s[x]-u[0],h[_+3]=s[x+1]-u[1]}if(h[0]=s[m]-u[0],h[1]=s[m+1]-u[1],n>0)for(var b=i/n,w=-i/2;w<=i/2;w+=b){var S=Math.sin(w),M=Math.cos(w),I=0;for(_=0;_<s.length;_+=2){var A=h[_],C=h[_+1],T=l[_]-c[0],D=l[_+1]-c[1],k=T*M-D*S,L=T*S+D*M;g[_]=k,g[_+1]=L;var P=k-A,O=L-C;I+=P*P+O*O}if(I<f){f=I,p=w;for(var E=0;E<g.length;E++)d[E]=g[E]}}else for(var R=0;R<v;R+=2)d[R]=l[R]-c[0],d[R+1]=l[R+1]-c[1];o.push({from:h,to:d,fromCp:u,toCp:c,rotation:-p})}return o}(o,a,10,Math.PI),c=[];o7(e,"buildPath",{replace:function(t){for(var n=e.__morphT,i=1-n,r=[],o=0;o<u.length;o++){var a=u[o],s=a.from,l=a.to,h=a.rotation*n,d=a.fromCp,p=a.toCp,f=Math.sin(h),g=Math.cos(h);Y_(r,d,p,n);for(var v=0;v<s.length;v+=2){var m=s[v],y=s[v+1],_=m*i+(S=l[v])*n,x=y*i+(M=l[v+1])*n;c[v]=_*g-x*f+r[0],c[v+1]=_*f+x*g+r[1]}var b=c[0],w=c[1];t.moveTo(b,w);for(v=2;v<s.length;){var S=c[v++],M=c[v++],I=c[v++],A=c[v++],C=c[v++],T=c[v++];b===S&&w===M&&I===C&&A===T?t.lineTo(C,T):t.bezierCurveTo(S,M,I,A,C,T),b=C,w=T}}}})}function u7(t,e,n){if(!t||!e)return e;var i=n.done,r=n.during;return l7(t,e),e.__morphT=0,e.animateTo({__morphT:1},Yy({during:function(t){e.dirtyShape(),r&&r(t)},done:function(){a7(e,"buildPath"),a7(e,"updateTransform"),e.__morphT=-1,e.createPathProxy(),e.dirtyShape(),i&&i()}},n)),e}function c7(t,e,n,i,r,o){t=r===n?0:Math.round(32767*(t-n)/(r-n)),e=o===i?0:Math.round(32767*(e-i)/(o-i));for(var a,s=0,l=32768;l>0;l/=2){var u=0,c=0;(t&l)>0&&(u=1),(e&l)>0&&(c=1),s+=l*l*(3*u^c),0===c&&(1===u&&(t=l-1-t,e=l-1-e),a=t,t=e,e=a)}return s}function h7(t){var e=1/0,n=1/0,i=-1/0,r=-1/0,o=$y(t,(function(t){var o=t.getBoundingRect(),a=t.getComputedTransform(),s=o.x+o.width/2+(a?a[4]:0),l=o.y+o.height/2+(a?a[5]:0);return e=Math.min(s,e),n=Math.min(l,n),i=Math.max(s,i),r=Math.max(l,r),[s,l]}));return $y(o,(function(o,a){return{cp:o,z:c7(o[0],o[1],e,n,i,r),path:t[a]}})).sort((function(t,e){return t.z-e.z})).map((function(t){return t.path}))}function d7(t){return $9(t.path,t.count)}function p7(t){return i_(t[0])}function f7(t,e){for(var n=[],i=t.length,r=0;r<i;r++)n.push({one:t[r],many:[]});for(r=0;r<e.length;r++){var o=e[r].length,a=void 0;for(a=0;a<o;a++)n[a%i].many.push(e[r][a])}var s=0;for(r=i-1;r>=0;r--)if(!n[r].many.length){var l=n[s].many;if(l.length<=1){if(!s)return n;s=0}o=l.length;var u=Math.ceil(o/2);n[r].many=l.slice(u,o),n[s].many=l.slice(0,u),s++}return n}var g7={clone:function(t){for(var e=[],n=1-Math.pow(1-t.path.style.opacity,1/t.count),i=0;i<t.count;i++){var r=BT(t.path);r.setStyle("opacity",n),e.push(r)}return e},split:null};function v7(t,e,n,i,r,o){if(t.length&&e.length){var a=WD("update",i,r);if(a&&a.duration>0){var s,l,u=i.getModel("universalTransition").get("delay"),c=Object.assign({setToFinal:!0},a);p7(t)&&(s=t,l=e),p7(e)&&(s=e,l=t);for(var h=s?s===t:t.length>e.length,d=s?f7(l,s):f7(h?e:t,[h?t:e]),p=0,f=0;f<d.length;f++)p+=d[f].many.length;var g=0;for(f=0;f<d.length;f++)v(d[f],h,g,p),g+=d[f].many.length}}function v(t,e,i,r,a){var s=t.many,l=t.one;if(1!==s.length||a)for(var h=Yy({dividePath:g7[n],individualDelay:u&&function(t,e,n,o){return u(t+i,r)}},c),d=e?function(t,e,n){var i=[];!function t(e){for(var n=0;n<e.length;n++){var r=e[n];i7(r)?t(r.childrenRef()):r instanceof NA&&i.push(r)}}(t);var r=i.length;if(!r)return{fromIndividuals:[],toIndividuals:[],count:0};var o=(n.dividePath||d7)({path:e,count:r});if(o.length!==r)return console.error("Invalid morphing: unmatched splitted path"),{fromIndividuals:[],toIndividuals:[],count:0};i=h7(i),o=h7(o);for(var a=n.done,s=n.during,l=n.individualDelay,u=new TS,c=0;c<r;c++){var h=i[c],d=o[c];d.parent=e,d.copyTransform(u),l||l7(h,d)}function p(t){for(var e=0;e<o.length;e++)o[e].addSelfToZr(t)}function f(){e.__isCombineMorphing=!1,e.__morphT=-1,e.childrenRef=null,a7(e,"addSelfToZr"),a7(e,"removeSelfFromZr")}e.__isCombineMorphing=!0,e.childrenRef=function(){return o},o7(e,"addSelfToZr",{after:function(t){p(t)}}),o7(e,"removeSelfFromZr",{after:function(t){for(var e=0;e<o.length;e++)o[e].removeSelfFromZr(t)}});var g=o.length;if(l){var v=g,m=function(){0==--v&&(f(),a&&a())};for(c=0;c<g;c++){var y=l?Yy({delay:(n.delay||0)+l(c,g,i[c],o[c]),done:m},n):n;u7(i[c],o[c],y)}}else e.__morphT=0,e.animateTo({__morphT:1},Yy({during:function(t){for(var n=0;n<g;n++){var i=o[n];i.__morphT=e.__morphT,i.dirtyShape()}s&&s(t)},done:function(){f();for(var e=0;e<t.length;e++)a7(t[e],"updateTransform");a&&a()}},n));return e.__zr&&p(e.__zr),{fromIndividuals:i,toIndividuals:o,count:g}}(s,l,h):function(t,e,n){var i=e.length,r=[],o=n.dividePath||d7;if(i7(t)){!function t(e){for(var n=0;n<e.length;n++){var i=e[n];i7(i)?t(i.childrenRef()):i instanceof NA&&r.push(i)}}(t.childrenRef());var a=r.length;if(a<i)for(var s=0,l=a;l<i;l++)r.push(BT(r[s++%a]));r.length=i}else{r=o({path:t,count:i});var u=t.getComputedTransform();for(l=0;l<r.length;l++)r[l].setLocalTransform(u);if(r.length!==i)return console.error("Invalid morphing: unmatched splitted path"),{fromIndividuals:[],toIndividuals:[],count:0}}r=h7(r),e=h7(e);var c=n.individualDelay;for(l=0;l<i;l++){var h=c?Yy({delay:(n.delay||0)+c(l,i,r[l],e[l])},n):n;u7(r[l],e[l],h)}return{fromIndividuals:r,toIndividuals:e,count:e.length}}(l,s,h),p=d.fromIndividuals,f=d.toIndividuals,g=p.length,m=0;m<g;m++){y=u?Yy({delay:u(m,g)},c):c;o(p[m],f[m],e?s[m]:t.one,e?t.one:s[m],y)}else{var y,_=e?s[0]:l,x=e?l:s[0];if(i7(_))v({many:[_],one:x},!0,i,r,!0);else u7(_,x,y=u?Yy({delay:u(i,r)},c):c),o(_,x,_,x,y)}}}function m7(t){if(!t)return[];if(i_(t)){for(var e=[],n=0;n<t.length;n++)e.push(m7(t[n]));return e}var i=[];return t.traverse((function(t){t instanceof NA&&!t.disableMorphing&&!t.invisible&&!t.ignore&&i.push(t)})),i}var y7=1e4,_7=FM();function x7(t){var e=[];return Ky(t,(function(t){var n=t.data;if(!(n.count()>y7))for(var i=n.getIndices(),r=function(t){for(var e=t.dimensions,n=0;n<e.length;n++){var i=t.getDimensionInfo(e[n]);if(i&&0===i.otherDims.itemGroupId)return e[n]}}(n),o=0;o<i.length;o++)e.push({dataGroupId:t.dataGroupId,data:n,dim:t.dim||r,divide:t.divide,dataIndex:o})})),e}function b7(t,e,n){t.traverse((function(t){t instanceof NA&&YD(t,{style:{opacity:0}},e,{dataIndex:n,isFrom:!0})}))}function w7(t){if(t.parent){var e=t.getComputedTransform();t.setLocalTransform(e),t.parent.remove(t)}}function S7(t){t.stopAnimation(),t.isGroup&&t.traverse((function(t){t.stopAnimation()}))}function M7(t,e,n){var i=WD("update",n,e);i&&t.traverse((function(t){if(t instanceof EI){var e=function(t){return HD(t).oldStyle}(t);e&&t.animateFrom({style:e},i)}}))}function I7(t,e,n){var i=x7(t),r=x7(e);function o(t,e,n,i,r){(n||t)&&e.animateFrom({style:n&&n!==t?jy(jy({},n.style),t.style):t.style},r)}function a(t){for(var e=0;e<t.length;e++)if(t[e].dim)return t[e].dim}var s=a(i),l=a(r),u=!1;function c(t,e){return function(n){var i=n.data,r=n.dataIndex;if(e)return i.getId(r);var o=n.dataGroupId,a=t?s||l:l||s,u=a&&i.getDimensionInfo(a),c=u&&u.ordinalMeta;if(u){var h=i.get(u.name,r);return c&&c.categories[h]||h+""}var d=i.getRawDataItem(r);return d&&d.groupId?d.groupId+"":o||i.getId(r)}}var h=function(t,e){var n=t.length;if(n!==e.length)return!1;for(var i=0;i<n;i++){var r=t[i],o=e[i];if(r.data.getId(r.dataIndex)!==o.data.getId(o.dataIndex))return!1}return!0}(i,r),d={};if(!h)for(var p=0;p<r.length;p++){var f=r[p],g=f.data.getItemGraphicEl(f.dataIndex);g&&(d[g.id]=!0)}function v(t,e){var n=i[e],a=r[t],s=a.data.hostModel,l=n.data.getItemGraphicEl(n.dataIndex),c=a.data.getItemGraphicEl(a.dataIndex);l!==c?l&&d[l.id]||c&&(S7(c),l?(S7(l),w7(l),u=!0,v7(m7(l),m7(c),a.divide,s,t,o)):b7(c,s,t)):c&&M7(c,a.dataIndex,s)}new gz(i,r,c(!0,h),c(!1,h),null,"multiple").update(v).updateManyToOne((function(t,e){var n=r[t],a=n.data,s=a.hostModel,l=a.getItemGraphicEl(n.dataIndex),c=Qy($y(e,(function(t){return i[t].data.getItemGraphicEl(i[t].dataIndex)})),(function(t){return t&&t!==l&&!d[t.id]}));l&&(S7(l),c.length?(Ky(c,(function(t){S7(t),w7(t)})),u=!0,v7(m7(c),m7(l),n.divide,s,t,o)):b7(l,s,n.dataIndex))})).updateOneToMany((function(t,e){var n=i[e],a=n.data.getItemGraphicEl(n.dataIndex);if(!a||!d[a.id]){var s=Qy($y(t,(function(t){return r[t].data.getItemGraphicEl(r[t].dataIndex)})),(function(t){return t&&t!==a})),l=r[t[0]].data.hostModel;s.length&&(Ky(s,(function(t){return S7(t)})),a?(S7(a),w7(a),u=!0,v7(m7(a),m7(s),n.divide,l,t[0],o)):Ky(s,(function(e){return b7(e,l,t[0])})))}})).updateManyToMany((function(t,e){new gz(e,t,(function(t){return i[t].data.getId(i[t].dataIndex)}),(function(t){return r[t].data.getId(r[t].dataIndex)})).update((function(n,i){v(t[n],e[i])})).execute()})).execute(),u&&Ky(e,(function(t){var e=t.data.hostModel,i=e&&n.getViewOfSeriesModel(e),r=WD("update",e,0);i&&e.isAnimationEnabled()&&r&&r.duration>0&&i.group.traverse((function(t){t instanceof NA&&!t.animators.length&&t.animateFrom({style:{opacity:0}},r)}))}))}function A7(t){var e=t.getModel("universalTransition").get("seriesKey");return e||t.id}function C7(t){return i_(t)?t.sort().join(","):t}function T7(t){if(t.hostModel)return t.hostModel.getModel("universalTransition").get("divideShape")}function D7(t,e){for(var n=0;n<t.length;n++){if(null!=e.seriesIndex&&e.seriesIndex===t[n].seriesIndex||null!=e.seriesId&&e.seriesId===t[n].id)return n}}hz([function(t){t.registerPainter("canvas",VH)}]),hz([function(t){t.registerPainter("svg",LH)}]),hz([function(t){t.registerChartView(wW),t.registerSeriesModel(FH),t.registerLayout(SW("line",!0)),t.registerVisual({seriesType:"line",reset:function(t){var e=t.getData(),n=t.getModel("lineStyle").getLineStyle();n&&!n.stroke&&(n.stroke=e.getVisual("style").fill),e.setVisual("legendLineStyle",n)}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,AW("line"))},function(t){t.registerChartView(QW),t.registerSeriesModel(DW),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,n_(SV,"bar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,MV("bar")),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,AW("bar")),t.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},(function(t,e){var n=t.componentType||"series";e.eachComponent({mainType:n,query:t},(function(e){t.sortInfo&&e.axis.setCategorySortInfo(t.sortInfo)}))}))},function(t){t.registerChartView(dU),t.registerSeriesModel(yU),uN("pie",t.registerAction),t.registerLayout(n_(rU,"pie")),t.registerProcessor(oU("pie")),t.registerProcessor({seriesType:"pie",reset:function(t,e){var n=t.getData();n.filterSelf((function(t){var e=n.mapDimension("value"),i=n.get(e,t);return!(s_(i)&&!isNaN(i)&&i<0)}))}})},function(t){hz(xj),t.registerSeriesModel(_U),t.registerChartView(SU),t.registerLayout(SW("scatter"))},function(t){hz(zj),t.registerChartView(Aj),t.registerSeriesModel(Tj),t.registerLayout(bj),t.registerProcessor(oU("radar")),t.registerPreprocessor(Mj)},function(t){hz(vX),t.registerChartView(YY),t.registerSeriesModel(qY),t.registerLayout(KY),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,ZY),uN("map",t.registerAction)},function(t){t.registerChartView(EX),t.registerSeriesModel(JX),t.registerLayout(tq),t.registerVisual(eq),function(t){t.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},(function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},(function(e){var n=t.dataIndex,i=e.getData().tree.getNodeByDataIndex(n);i.isExpand=!i.isExpand}))})),t.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},(function(t,e,n){e.eachComponent({mainType:"series",subType:"tree",query:t},(function(e){var i=dX(e.coordinateSystem,t,void 0,n);e.setCenter&&e.setCenter(i.center),e.setZoom&&e.setZoom(i.zoom)}))}))}(t)},function(t){t.registerSeriesModel(oq),t.registerChartView(wq),t.registerVisual(Fq),t.registerLayout(Qq),function(t){for(var e=0;e<nq.length;e++)t.registerAction({type:nq[e],update:"updateView"},P_);t.registerAction({type:"treemapRootToNode",update:"updateView"},(function(t,e){e.eachComponent({mainType:"series",subType:"treemap",query:t},(function(e,n){var i=XX(t,["treemapZoomToNode","treemapRootToNode"],e);if(i){var r=e.getViewRoot();r&&(t.direction=ZX(r,i.node)?"rollUp":"drillDown"),e.resetViewRoot(i.node)}}))}))}(t)},function(t){t.registerChartView(iK),t.registerSeriesModel(hK),t.registerProcessor(oZ),t.registerVisual(aZ),t.registerVisual(lZ),t.registerLayout(xZ),t.registerLayout(t.PRIORITY.VISUAL.POST_CHART_LAYOUT,TZ),t.registerLayout(kZ),t.registerCoordinateSystem("graphView",{dimensions:tX.dimensions,create:LZ}),t.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},P_),t.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},P_),t.registerAction(dK,(function(t,e,n){e.eachComponent({mainType:"series",query:t},(function(e){var i=dX(e.coordinateSystem,t,void 0,n);e.setCenter&&e.setCenter(i.center),e.setZoom&&e.setZoom(i.zoom)}))}))},function(t){t.registerChartView(mK),t.registerSeriesModel(yK)},function(t){t.registerChartView(bK),t.registerSeriesModel(wK),t.registerLayout(SK),t.registerProcessor(oU("funnel"))},function(t){hz(nJ),t.registerChartView(TK),t.registerSeriesModel(kK),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,PK)},function(t){t.registerChartView(aJ),t.registerSeriesModel(lJ),t.registerLayout(uJ),t.registerVisual(bJ),t.registerAction({type:"dragNode",event:"dragnode",update:"update"},(function(t,e){e.eachComponent({mainType:"series",subType:"sankey",query:t},(function(e){e.setNodePosition(t.dataIndex,[t.localX,t.localY])}))}))},function(t){t.registerSeriesModel(MJ),t.registerChartView(LJ),t.registerLayout(OJ),t.registerTransform(EJ)},function(t){t.registerChartView(XJ),t.registerSeriesModel(ZJ),t.registerPreprocessor(KJ),t.registerVisual(nQ),t.registerLayout(rQ)},function(t){t.registerChartView(lQ),t.registerSeriesModel(uQ),t.registerLayout(SW("effectScatter"))},function(t){t.registerChartView(_Q),t.registerSeriesModel(MQ),t.registerLayout(yQ),t.registerVisual(AQ)},function(t){t.registerChartView(LQ),t.registerSeriesModel(PQ)},function(t){t.registerChartView(QQ),t.registerSeriesModel(t0),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,n_(SV,"pictorialBar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,MV("pictorialBar"))},function(t){t.registerChartView(e0),t.registerSeriesModel(i0),t.registerLayout(r0),t.registerProcessor(oU("themeRiver"))},function(t){t.registerChartView(h0),t.registerSeriesModel(p0),t.registerLayout(n_(g0,"sunburst")),t.registerProcessor(n_(oU,"sunburst")),t.registerVisual(m0),function(t){t.registerAction({type:l0,update:"updateView"},(function(t,e){e.eachComponent({mainType:"series",subType:"sunburst",query:t},(function(e,n){var i=XX(t,[l0],e);if(i){var r=e.getViewRoot();r&&(t.direction=ZX(r,i.node)?"rollUp":"drillDown"),e.resetViewRoot(i.node)}}))})),t.registerAction({type:u0,update:"none"},(function(t,e,n){t=jy({},t),e.eachComponent({mainType:"series",subType:"sunburst",query:t},(function(e){var n=XX(t,[u0],e);n&&(t.dataIndex=n.node.dataIndex)})),n.dispatchAction(jy(t,{type:"highlight"}))})),t.registerAction({type:c0,update:"updateView"},(function(t,e,n){t=jy({},t),n.dispatchAction(jy(t,{type:"downplay"}))}))}(t)},function(t){t.registerChartView(u1),t.registerSeriesModel(b0)}]),hz((function(t){hz(xj),hz(h2)})),hz((function(t){hz(h2),lj.registerAxisPointerClass("PolarAxisPointer",f2),t.registerCoordinateSystem("polar",k2),t.registerComponentModel(g2),t.registerComponentView(q2),LU(t,"angle",m2,Y2),LU(t,"radius",y2,X2),t.registerComponentView(B2),t.registerComponentView(H2),t.registerLayout(n_(j2,"bar"))})),hz(vX),hz((function(t){hz(h2),lj.registerAxisPointerClass("SingleAxisPointer",f5),t.registerComponentView(g5),t.registerComponentView(t5),t.registerComponentModel(n5),LU(t,"single",n5,n5.defaultOption),t.registerCoordinateSystem("single",s5)})),hz(nJ),hz((function(t){t.registerComponentModel(m5),t.registerComponentView(_5),t.registerCoordinateSystem("calendar",w5)})),hz((function(t){t.registerComponentModel(C5),t.registerComponentView(k5),t.registerPreprocessor((function(t){var e=t.graphic;i_(e)?e[0]&&e[0].elements?t.graphic=[t.graphic[0]]:t.graphic=[{elements:e}]:e&&!e.elements&&(t.graphic=[{elements:[e]}])}))})),hz((function(t){t.registerComponentModel(o3),t.registerComponentView(l3),i3("saveAsImage",u3),i3("magicType",f3),i3("dataView",w3),i3("dataZoom",q3),i3("restore",C3),hz(t3)})),hz((function(t){hz(h2),t.registerComponentModel(Z3),t.registerComponentView(m4),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},P_),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},P_)})),hz(h2),hz((function(t){t.registerComponentView(N4),t.registerComponentModel(z4),t.registerPreprocessor(_4),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,L4),t.registerAction({type:"brush",event:"brush",update:"updateVisual"},(function(t,e){e.eachComponent({mainType:"brush",query:t},(function(e){e.setAreas(t.areas)}))})),t.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},P_),t.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},P_),i3("brush",F4)})),hz((function(t){t.registerComponentModel(G4),t.registerComponentView(H4)})),hz((function(t){t.registerComponentModel(j4),t.registerComponentView(Q4),t.registerSubTypeDefaulter("timeline",(function(){return"slider"})),function(t){t.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},(function(t,e,n){var i=e.getComponent("timeline");return i&&null!=t.currentIndex&&(i.setCurrentIndex(t.currentIndex),!i.get("loop",!0)&&i.isIndexMax()&&i.getPlayState()&&(i.setPlayState(!1),n.dispatchAction({type:"timelinePlayChange",playState:!1,from:t.from}))),e.resetOption("timeline",{replaceMerge:i.get("replaceMerge",!0)}),Yy({currentIndex:i.option.currentIndex},t)})),t.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},(function(t,e){var n=e.getComponent("timeline");n&&null!=t.playState&&n.setPlayState(t.playState)}))}(t),t.registerPreprocessor(t6)})),hz((function(t){t.registerComponentModel(l6),t.registerComponentView(x6),t.registerPreprocessor((function(t){i6(t.series,"markPoint")&&(t.markPoint=t.markPoint||{})}))})),hz((function(t){t.registerComponentModel(b6),t.registerComponentView(T6),t.registerPreprocessor((function(t){i6(t.series,"markLine")&&(t.markLine=t.markLine||{})}))})),hz((function(t){t.registerComponentModel(D6),t.registerComponentView(B6),t.registerPreprocessor((function(t){i6(t.series,"markArea")&&(t.markArea=t.markArea||{})}))})),hz((function(t){hz($6),hz(o8)})),hz((function(t){hz(m8),hz(C8)})),hz(m8),hz(C8),hz((function(t){hz(h9),hz(m9)})),hz(h9),hz(m9),hz((function(t){t.registerPreprocessor(w9),t.registerVisual(t.PRIORITY.VISUAL.ARIA,b9)})),hz((function(t){t.registerTransform(E9),t.registerTransform(R9)})),hz((function(t){t.registerComponentModel(N9),t.registerComponentView(B9)})),hz((function(t){t.registerUpdateLifecycle("series:beforeupdate",(function(t,e,n){Ky(TM(n.seriesTransition),(function(t){Ky(TM(t.to),(function(t){for(var e=n.updatedSeries,i=0;i<e.length;i++)(null!=t.seriesIndex&&t.seriesIndex===e[i].seriesIndex||null!=t.seriesId&&t.seriesId===e[i].id)&&(e[i][XE]=!0)}))}))})),t.registerUpdateLifecycle("series:transition",(function(t,e,n){var i=_7(e);if(i.oldSeries&&n.updatedSeries&&n.optionChanged){var r=n.seriesTransition;if(r)Ky(TM(r),(function(t){!function(t,e,n,i){var r=[],o=[];Ky(TM(t.from),(function(t){var n=D7(e.oldSeries,t);n>=0&&r.push({dataGroupId:e.oldDataGroupIds[n],data:e.oldData[n],divide:T7(e.oldData[n]),dim:t.dimension})})),Ky(TM(t.to),(function(t){var i=D7(n.updatedSeries,t);if(i>=0){var r=n.updatedSeries[i].getData();o.push({dataGroupId:e.oldDataGroupIds[i],data:r,divide:T7(r),dim:t.dimension})}})),r.length>0&&o.length>0&&I7(r,o,i)}(t,i,n,e)}));else{var o=function(t,e){var n=C_(),i=C_(),r=C_();return Ky(t.oldSeries,(function(e,n){var o=t.oldDataGroupIds[n],a=t.oldData[n],s=A7(e),l=C7(s);i.set(l,{dataGroupId:o,data:a}),i_(s)&&Ky(s,(function(t){r.set(t,{key:l,dataGroupId:o,data:a})}))})),Ky(e.updatedSeries,(function(t){if(t.isUniversalTransitionEnabled()&&t.isAnimationEnabled()){var e=t.get("dataGroupId"),o=t.getData(),a=A7(t),s=C7(a),l=i.get(s);if(l)n.set(s,{oldSeries:[{dataGroupId:l.dataGroupId,divide:T7(l.data),data:l.data}],newSeries:[{dataGroupId:e,divide:T7(o),data:o}]});else if(i_(a)){var u=[];Ky(a,(function(t){var e=i.get(t);e.data&&u.push({dataGroupId:e.dataGroupId,divide:T7(e.data),data:e.data})})),u.length&&n.set(s,{oldSeries:u,newSeries:[{dataGroupId:e,data:o,divide:T7(o)}]})}else{var c=r.get(a);if(c){var h=n.get(c.key);h||(h={oldSeries:[{dataGroupId:c.dataGroupId,data:c.data,divide:T7(c.data)}],newSeries:[]},n.set(c.key,h)),h.newSeries.push({dataGroupId:e,data:o,divide:T7(o)})}}}})),n}(i,n);Ky(o.keys(),(function(t){var n=o.get(t);I7(n.oldSeries,n.newSeries,e)}))}Ky(n.updatedSeries,(function(t){t[XE]&&(t[XE]=!1)}))}for(var a=t.getSeries(),s=i.oldSeries=[],l=i.oldDataGroupIds=[],u=i.oldData=[],c=0;c<a.length;c++){var h=a[c].getData();h.count()<y7&&(s.push(a[c]),l.push(a[c].get("dataGroupId")),u.push(h))}}))})),hz((function(t){t.registerUpdateLifecycle("series:beforeupdate",(function(t,e,n){var i=yG(e).labelManager;i||(i=yG(e).labelManager=new mG),i.clearLabels()})),t.registerUpdateLifecycle("series:layoutlabels",(function(t,e,n){var i=yG(e).labelManager;n.updatedSeries.forEach((function(t){i.addLabelsOfSeries(e.getViewOfSeriesModel(t))})),i.updateLayoutConfig(e),i.layout(e),i.processLabelsOverall()}))}));const k7=t=>(ln("data-v-aebb9598"),t=t(),un(),t),L7={class:"content1"},P7={class:"content_left"},O7={class:"content_left_item1"},E7=k7((()=>Ar("div",{class:"content_left_item1_head"},[Ar("span",null,"彿¥å工产éTOP10")],-1))),R7={class:"content_left_item1_content"},N7={class:"content_left_item1_content_row_name"},B7={class:"content_left_item1_content_row_line"},z7={class:"content_left_item1_content_row_num"},V7={class:"content_left_item2"},F7=k7((()=>Ar("div",{class:"content_left_item2_head"},[Ar("span",null,"ä»åºå®æ¶ä½éç»è®¡")],-1))),G7={class:"content_left_item2_content"},H7=Lr('<div class="item2_content_head" data-v-aebb9598><div class="item2_content_head_item" data-v-aebb9598>ç©æåç§° / å·¥åº</div><div class="item2_content_head_item" data-v-aebb9598>ä»åº</div><div class="item2_content_head_item" data-v-aebb9598>è´§æ¶</div><div class="item2_content_head_item" data-v-aebb9598>æ°é</div></div>',1),W7={class:"scroll_item_row"},U7={class:"scroll_item_row"},j7={class:"scroll_item_row"},Y7={class:"scroll_item_row"},X7={class:"content_center"},q7={class:"content_center_top"},Z7={class:"content_center_top_list"},K7=["onClick"],$7={key:0,class:"content_center_top_form"},J7=Lr('<div class="content_center_top_form_head" data-v-aebb9598><div class="content_center_top_form_head_item" data-v-aebb9598>计åç¼ç </div><div class="content_center_top_form_head_item" data-v-aebb9598>ç©æåç§°</div><div class="content_center_top_form_head_item" data-v-aebb9598>ç©æç¼ç </div><div class="content_center_top_form_head_item" data-v-aebb9598>è®¡åæ°é</div><div class="content_center_top_form_head_item" data-v-aebb9598>åå·¥åºå®ææ
åµ</div><div class="content_center_top_form_head_item" data-v-aebb9598>è¯åæ°/å®å·¥æ°</div></div>',1),Q7={class:"scroll_item_row"},ttt={class:"scroll_item_row"},ett={class:"scroll_item_row"},ntt={class:"scroll_item_row"},itt={class:"scroll_item_row"},rtt=["onClick"],ott=k7((()=>Ar("div",{class:"scroll_item_row_item_x"},null,-1))),att={key:0},stt={key:1,src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAZCAYAAAC/zUevAAAAAXNSR0IArs4c6QAAAwdJREFUSEvFlk1IVFEUx//n3acoYxFRbtqUFGI2juUESkFIG503IpWFkEJJBgbmqmhRYGmbIAiyiDAiC4LpY5EzY9pCWpSRH/BmEFoUYtCihVFkkuPce2LGN9OUX6My49u99849/98995w/l7BWz1h/FraV/47I01ow6EF/OzOfB+O5dBi1aYcQQX8DmO9Zmw/JbFqfVogM88UeReINgCwL4r4sMhrSBzH6cqOQchjA1ggAA0EVUqVwVk2lB4JbNRHc6wNQYVXghxTCicKKj2lrTD3gvcKgSxYAg6laOlzdsaFIeSVE0GuAKSIY1SKgPVxkxICiHKmFCHjzBCjSBxusXfdJ+2AlqFUlWkPqIN56srUc2wABjqggY1xmTpeg4PDE/96UMghh+rpAqLcEpzXC/hm7MTSfOaYEQjO9Z4joVlyQ0SgdRudC7kwY6t6kZYjTmoahsN3Vt1obzzD9pYr4NYBMq+s6pd1oXCwviYDvIYA669zuSP1XCwqPhVYEY/bmCgqPANhiGdKwyqZ92OGaXhRCD/puMKMlIWhQClWDwqrPywLxeITIt70CoXx2HU1InUuw0xhfKg/B7LUJTXaCufZvME2QUsfDxe7epRLE/utB3zVmnLPeFRFVJnu88cbUgt5mYroOICOWiMGXld1oAxEvBiNM3xEQnsZimPmicrivJruBf6ZDD3SXMbQnsTO1kvRIIepQWPFt3qRmT74gNQhgndWI3XKXq3op8MXNasS/WejqMUAHE0ZsXNNQM2fOR/tzdDn1noECK/aTlCEndh/6nmwVot0zb7DHI/R8WxsTLiTETDP4rCpy342tEQG/B+Cj1vuUIK0sZK8MLAdgYQgrizD9VSDuSvD+CNMDOTnZpOXYmgiI9JA1DFwv7e5HywVYEiKaMODN05ieEaE4rgd8YGA7AH32G3fIInfzSgCSg4hEjfVniZ9TtwGcnCtEAzKUewBO50xqIeLH4zsFws2EO+JXqVQJiqu+rBQg+UokKMxeVvUOAm8kphMzDte71QBE1v4BQakDwfLPV9MAAAAASUVORK5CYII=",alt:""},ltt={class:"scroll_item_row_item_wz"},utt={class:"scroll_item_row"},ctt={key:1,class:"content_center_top_form1"},htt=Lr('<div class="content_center_top_form_head" data-v-aebb9598><div class="content_center_top_form_head_item" data-v-aebb9598>å·¥åºåç§°</div><div class="content_center_top_form_head_item" data-v-aebb9598>计å个æ°</div><div class="content_center_top_form_head_item" data-v-aebb9598>è®¡åæ°é</div><div class="content_center_top_form_head_item" data-v-aebb9598>è¯åæ°</div><div class="content_center_top_form_head_item" data-v-aebb9598>ä¸è¯åæ°</div><div class="content_center_top_form_head_item" data-v-aebb9598>æªå®å·¥æ°é</div><div class="content_center_top_form_head_item" data-v-aebb9598>ä¸è¯ç</div></div>',1),dtt={class:"scroll_item_row"},ptt={class:"scroll_item_row"},ftt={class:"scroll_item_row"},gtt={class:"scroll_item_row"},vtt={class:"scroll_item_row"},mtt={class:"scroll_item_row"},ytt={class:"scroll_item_row"},_tt={class:"content_center_bottom"},xtt=k7((()=>Ar("div",{class:"content_center_bottom_head"},[Ar("span",null,"æ¥å·¥æ¥å¿")],-1))),btt={class:"content_center_bottom_b"},wtt=Lr('<div class="content_center_top_form_head" data-v-aebb9598><div class="content_center_top_form_head_item" data-v-aebb9598>åå·¥åç§°</div><div class="content_center_top_form_head_item" data-v-aebb9598>ç©æåç§°</div><div class="content_center_top_form_head_item" data-v-aebb9598>ç©æç¼ç </div><div class="content_center_top_form_head_item" data-v-aebb9598>æ¥å·¥æ¶é´</div><div class="content_center_top_form_head_item" data-v-aebb9598>è¯åæ°</div><div class="content_center_top_form_head_item" data-v-aebb9598>ä¸è¯åæ°</div><div class="content_center_top_form_head_item" data-v-aebb9598>ä¸è¯ç</div></div>',1),Stt={class:"scroll_item_row"},Mtt={class:"scroll_item_row"},Itt={class:"scroll_item_row"},Att={class:"scroll_item_row"},Ctt={class:"scroll_item_row"},Ttt={class:"scroll_item_row"},Dtt={class:"scroll_item_row"},ktt={class:"content_right"},Ltt={class:"content_right_top"},Ptt=k7((()=>Ar("div",{class:"content_right_top_head"},[Ar("span",null,"è¿7天ä¸è¯ååå¸")],-1))),Ott={class:"content_right_top_nr"},Ett={key:0,class:"content_right_top_nr_bottom_yuan"},Rtt=k7((()=>Ar("span",null,"ä¸è¯é¡¹åå¸",-1))),Ntt=k7((()=>Ar("div",{class:"content_right_top_nr_top",id:"lineChrat"},null,-1))),Btt=k7((()=>Ar("div",{class:"content_right_top_nr_bottom",id:"pieChart"},null,-1))),ztt={class:"content_right_bottom"},Vtt=k7((()=>Ar("div",{class:"content_right_bottom_head"},[Ar("span",null,"设å¤å·¡æ£è®°å½")],-1))),Ftt={class:"content_right_bottom_nr"},Gtt=Lr('<div class="item2_content_head" data-v-aebb9598><div class="item2_content_head_item" data-v-aebb9598>å·¡æ£æ¶é´</div><div class="item2_content_head_item" data-v-aebb9598>å·¡æ£è®¾å¤</div><div class="item2_content_head_item" data-v-aebb9598>å·¡æ£ç»æ</div><div class="item2_content_head_item" data-v-aebb9598>å·¡æ£äººå</div></div>',1),Htt={class:"scroll_item_row"},Wtt={class:"scroll_item_row"},Utt={class:"scroll_item_row"},jtt={class:"scroll_item_row"},Ytt={__name:"index",setup(t){const e=qm();let n=se({production:[],marginStatistics:[],plannedProgress:[],processProgress:[],log:[],patrolInspection:[],dayDistribution:[],typeDistribution:[],num:0,baseNum:0}),{baseNum:i}=De(n),r=we(null),o=we(null),a=we(null),s=we(null),l=we(null),u=we(null),c=we(null),h=we(null),d=we(null),p=we(null),f=we(null),g=we([{name:"æå计åè¿åº¦",id:1,active:!0,background:"tab_select_grey@2x.png",activeBackground:"tab_select@2x.png"},{name:"å·¥åºè¿åº¦",id:2,active:!1,background:"tab_select_grey@2x.png",activeBackground:"tab_select@2x.png"}]);const v=vv(),m=eo((()=>v.companyId)),y=eo((()=>v.departId));mn((()=>y.value),(t=>{t&&_()})),P();const _=()=>{hv(m.value,y.value).then((t=>{t.length>0&&(n.baseNum=t[0].doneNum,n.production=t)})),function(t,e){return cv.get(`statistics/getStockList/${t}/${e}`)}(m.value,y.value).then((t=>{n.marginStatistics=t,Xe((()=>{L()}))})),dv(m.value,y.value).then((t=>{n.plannedProgress=t,Xe((()=>{P()}))})),pv(m.value,y.value,{capacity:9999,model:{},page:1}).then((t=>{n.log=t.records,Xe((()=>{E()}))})),function(t,e,n){return cv.post(`statistics/getDeviceCheckPage/${t}/${e}`,n)}(m.value,y.value,{capacity:9999,model:{},page:1}).then((t=>{n.patrolInspection=t.records,Xe((()=>{R()}))})),fv(m.value,y.value,"").then((t=>{t&&t.length>0&&(n.dayDistribution=t.map((t=>({date:t.createTime,num:t.unqualifiedNum}))),function(){let t,e=JB(document.getElementById("lineChrat")),i=[],r=[],o=0;n.dayDistribution.forEach((t=>{i.push(t.date),r.push(t.num),o+=t.num})),t={title:{text:`è¿ä¸æ¥ä¸è¯åæ»æ°ï¼${o}`,textStyle:{color:"#fff",fontSize:12}},xAxis:{type:"category",boundaryGap:!1,splitLine:{lineStyle:{width:.5,color:["#fff"]}},axisLabel:{textStyle:{color:"#fff"}},data:i},yAxis:{type:"value",splitLine:{lineStyle:{width:.5,color:["#fff"]}},axisLabel:{textStyle:{color:"#fff"}}},series:[{data:r,type:"line",lineStyle:{color:"#03D2B5",width:1},areaStyle:{color:new LD(0,0,0,1,[{offset:0,color:"rgba(3, 210, 181, .9)"},{offset:1,color:"rgba(3, 210, 181, 0)"}])}}],tooltip:{trigger:"axis"},legend:{name:"1adssad",itemWidth:10,itemHeight:10,itemGap:4,textStyle:{color:"#fff"}}},t&&e.setOption(t)}())})),gv(m.value,y.value,"").then((t=>{t&&t.length>0&&(n.num=0,n.typeDistribution=t.map((t=>(n.num+=t.unqualifiedNum,{name:t.categoryName,num:t.unqualifiedNum}))),function(){let t=JB(document.getElementById("pieChart")),e=[],i=[];n.typeDistribution.forEach((t=>{e.push(t.name),i.push({name:t.name,value:t.num})}));let r={legend:{show:!1,type:"scroll",orient:"vertical",right:10,top:20,bottom:20,data:e},series:[{type:"pie",radius:["60%","70%"],itemStyle:{borderRadius:4,borderColor:"rgba(52, 88, 159, 0.4)",borderWidth:4},center:["50%","50%"],labelLine:{show:!1},label:{formatter:"{dot| } {title|{b} {c}}\n\n{per|{d}%}",rich:{title:{color:"#fff"},per:{color:"#01D9FE"},dot:{backgroundColor:"inherit",width:8,height:8,borderRadius:4}}},endLabel:{show:!0,distance:5,color:"red"},data:i,emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 1)"}}}]};r&&t.setOption(r)}())})),function(t,e){return cv.get(`statistics/getPlanData/${t}/${e}`)}(m.value,y.value).then((t=>{v.setNum(t)}))};Jn((()=>{clearTimeout(r.value),clearTimeout(o.value),clearTimeout(a.value),clearTimeout(s.value),clearTimeout(l.value),clearTimeout(u.value)}));const x=t=>{clearTimeout(o.value),clearTimeout(a.value),g.value.forEach(((e,i)=>{i===t?(0==i?dv(m.value,y.value).then((t=>{n.plannedProgress=t,Xe((()=>{P()}))})):function(t,e){return cv.get(`statistics/getProcedureProcessList/${t}/${e}`)}(m.value,y.value).then((t=>{n.processProgress=t,Xe((()=>{O()}))})),e.active=!0):e.active=!1}))};function b(){clearTimeout(r.value)}function w(){clearTimeout(o.value)}function S(){clearTimeout(a.value)}function M(){clearTimeout(s.value)}function I(){clearTimeout(l.value)}function A(){L()}function C(){P()}function T(){O()}function D(){E()}function k(){R()}function L(){clearTimeout(r.value);let t=we(100);r.value=setInterval(N,t.value)}function P(){clearTimeout(o.value);let t=we(100);o.value=setInterval(B,t.value)}function O(){clearTimeout(a.value);let t=we(100);a.value=setInterval(z,t.value)}function E(){clearTimeout(s.value);let t=we(100);s.value=setInterval(V,t.value)}function R(){clearTimeout(l.value);let t=we(100);l.value=setInterval(F,t.value)}function N(){let t=c.value;if(0==t.offsetHeight)t=c.value;else{if(t.children.length<8)return void clearTimeout(r.value);if(t.scrollTop+=1,t.scrollTop>=t.scrollHeight-t.clientHeight){let e=t.children[0];t.removeChild(e),t.append(e)}}}function B(){let t=h.value;if(0==t.offsetHeight)t=h.value;else{if(t.children.length<7)return void clearTimeout(o.value);if(t.scrollTop+=1,t.scrollTop>=t.scrollHeight-t.clientHeight){let e=t.children[0];t.removeChild(e),t.append(e)}}}function z(){let t=d.value;if(0==t.offsetHeight)t=d.value;else{if(t.children.length<7)return void clearTimeout(a.value);if(t.scrollTop+=1,t.scrollTop>=t.scrollHeight-t.clientHeight){let e=t.children[0];t.removeChild(e),t.append(e)}}}function V(){let t=p.value;if(0==t.offsetHeight)t=p.value;else{if(t.children.length<6)return void clearTimeout(s.value);if(t.scrollTop+=1,t.scrollTop>=t.scrollHeight-t.clientHeight){let e=t.children[0];t.removeChild(e),t.append(e)}}}function F(){let t=f.value;if(0==t.offsetHeight)t=f.value;else{if(t.children.length<7)return void clearTimeout(l.value);if(t.scrollTop+=1,t.scrollTop>=t.scrollHeight-t.clientHeight){let e=t.children[0];t.removeChild(e),t.append(e)}}}return qn((()=>{y.value&&(u.value=setInterval(_(),6e4))})),(t,r)=>{const o=pf,a=Cd;return gr(),_r("div",L7,[Ar("div",P7,[Ar("div",O7,[E7,Ar("div",R7,[(gr(!0),_r(ur,null,ui(Ae(n).production,((t,e)=>(gr(),_r("div",{class:"content_left_item1_content_row",key:e},[Ar("div",N7,[Ar("div",{class:j(e>2?"num bg1":"num bg2")},Z(e+1),3),Ar("span",null,Z(t.userName),1)]),Ar("div",B7,[Cr(o,{"show-text":!1,percentage:t.doneNum/Ae(i)*100},null,8,["percentage"])]),Ar("div",z7,Z(t.doneNum),1)])))),128))])]),Ar("div",V7,[F7,Ar("div",G7,[H7,Ar("div",{onMouseenter:b,onMouseleave:A,class:"main_container"},[Ar("div",{ref_key:"scrollContainer",ref:c,class:"scroll_container"},[(gr(!0),_r(ur,null,ui(Ae(n).marginStatistics,((t,e)=>(gr(),_r("div",{key:e,class:j(e%2==0?"scroll_item scroll_item_bg1":"scroll_item scroll_item_bg2")},[Ar("div",W7,Z(t.materialName)+" / "+Z(t.procedureName),1),Ar("div",U7,Z(t.warehouseName),1),Ar("div",j7,Z(t.location),1),Ar("div",Y7,Z(t.num)+Z(t.unitName),1)],2)))),128))],512)],32)])])]),Ar("div",X7,[Ar("div",q7,[Ar("div",Z7,[(gr(!0),_r(ur,null,ui(Ae(g),((t,e)=>(gr(),_r("div",{onClick:t=>x(e),class:j(t.active?"content_center_top_list_item bg4":"content_center_top_list_item bg3"),key:e},Z(t.name),11,K7)))),128))]),Ae(g)[0].active?(gr(),_r("div",$7,[J7,Ar("div",{onMouseenter:w,onMouseleave:C,class:"main_container"},[Ar("div",{ref_key:"scrollContainer1",ref:h,class:"scroll_container"},[(gr(!0),_r(ur,null,ui(Ae(n).plannedProgress,((t,n)=>(gr(),_r("div",{key:n,class:j(n%2==0?"scroll_item scroll_item_bg1":"scroll_item scroll_item_bg2")},[Ar("div",Q7,Z(t.code),1),Ar("div",ttt,Z(t.materialName),1),Ar("div",ett,Z(t.materialCode),1),Ar("div",ntt,Z(t.num),1),Ar("div",itt,[(gr(!0),_r(ur,null,ui(t.procedureList,((t,n)=>(gr(),xr(a,{key:n,effect:"dark",content:"å·²æ¥å·¥è¯åæ°"+t.doneNum+"ï¼å·¥åºè®¡åæ°"+t.planNum,placement:"top"},{default:cn((()=>[Ar("div",{class:"scroll_item_row_item",onClick:n=>{return i=t.procedureId,r=t.procedureName,v.setProcedureName(r),void e.push({name:"process",query:{procedureId:i}});var i,r}},[ott,t.rate<100?(gr(),_r("span",att,Z(t.rate)+"%",1)):(gr(),_r("img",stt)),Ar("span",ltt,Z(t.procedureName),1)],8,rtt)])),_:2},1032,["content"])))),128))]),Ar("div",utt,Z(t.qualifiedNum)+"/"+Z(t.doneNum),1)],2)))),128))],512)],32)])):Pr("",!0),Ae(g)[1].active?(gr(),_r("div",ctt,[htt,Ar("div",{onMouseenter:S,onMouseleave:T,class:"main_container"},[Ar("div",{ref_key:"scrollContainer2",ref:d,class:"scroll_container"},[(gr(!0),_r(ur,null,ui(Ae(n).processProgress,((t,e)=>(gr(),_r("div",{key:e,class:j(e%2==0?"scroll_item scroll_item_bg1":"scroll_item scroll_item_bg2")},[Ar("div",dtt,Z(t.procedureName),1),Ar("div",ptt,Z(t.planCount),1),Ar("div",ftt,Z(t.num),1),Ar("div",gtt,Z(t.qualifiedNum),1),Ar("div",vtt,Z(t.unqualifiedNum),1),Ar("div",mtt,Z(t.undoneNum),1),Ar("div",ytt,Z(t.unqualifiedRate)+"%",1)],2)))),128))],512)],32)])):Pr("",!0)]),Ar("div",_tt,[xtt,Ar("div",btt,[wtt,Ar("div",{onMouseenter:M,onMouseleave:D,class:"main_container"},[Ar("div",{ref_key:"scrollContainer3",ref:p,class:"scroll_container"},[(gr(!0),_r(ur,null,ui(Ae(n).log,((t,e)=>(gr(),_r("div",{key:e,class:j(e%2==0?"scroll_item scroll_item_bg1":"scroll_item scroll_item_bg2")},[Ar("div",Stt,Z(t.userName),1),Ar("div",Mtt,Z(t.materialName),1),Ar("div",Itt,Z(t.materialCode),1),Ar("div",Att,Z(t.createTime),1),Ar("div",Ctt,Z(t.qualifiedNum?t.qualifiedNum:"-"),1),Ar("div",Ttt,Z(t.unqualifiedNum),1),Ar("div",Dtt,Z(t.unqualifiedRate?t.unqualifiedRate:"0")+"%",1)],2)))),128))],512)],32)])])]),Ar("div",ktt,[Ar("div",Ltt,[Ptt,Ar("div",Ott,[Ae(n).typeDistribution.length>0?(gr(),_r("div",Ett,[Ar("span",null,Z(Ae(n).num),1),Rtt])):Pr("",!0),Ntt,Btt])]),Ar("div",ztt,[Vtt,Ar("div",Ftt,[Gtt,Ar("div",{onMouseenter:I,onMouseleave:k,class:"main_container"},[Ar("div",{ref_key:"scrollContainer4",ref:f,class:"scroll_container"},[(gr(!0),_r(ur,null,ui(Ae(n).patrolInspection,((t,e)=>(gr(),_r("div",{key:e,class:j(e%2==0?"scroll_item scroll_item_bg1":"scroll_item scroll_item_bg2")},[Ar("div",Htt,Z(t.checkdate),1),Ar("div",Wtt,Z(t.deviceName),1),Ar("div",Utt,Z(0==t.status?"åæ ¼":"ä¸åæ ¼"),1),Ar("div",jtt,Z(t.userName),1)],2)))),128))],512)],32)])])])])}}},Xtt=Km(Ytt,[["__scopeId","data-v-aebb9598"]]),qtt=t=>(ln("data-v-cac462fa"),t=t(),un(),t),Ztt={class:"proccess-content"},Ktt={class:"process-left"},$tt={class:"proccess-plan"},Jtt=qtt((()=>Ar("div",{class:"header-title"},"å·¥åºè®¡åè¿åº¦",-1))),Qtt={class:"table-content"},tet=Lr('<div class="table-head" data-v-cac462fa><div class="table-head_item" data-v-cac462fa>ç©æåç§°</div><div class="table-head_item" data-v-cac462fa>ç©æç¼ç </div><div class="table-head_item" data-v-cac462fa>è®¡åæ°é</div><div class="table-head_item" data-v-cac462fa>è¯åæ°</div><div class="table-head_item" data-v-cac462fa>ä¸è¯åæ°</div><div class="table-head_item" data-v-cac462fa>æªå®å·¥æ°é</div><div class="table-head_item" data-v-cac462fa>ä¸è¯ç</div></div>',1),eet={class:"scroll_item_row"},net={class:"scroll_item_row"},iet={class:"scroll_item_row"},ret={class:"scroll_item_row"},oet={class:"scroll_item_row"},aet={class:"scroll_item_row"},set={class:"scroll_item_row"},uet={class:"today-yield"},cet=qtt((()=>Ar("div",{class:"header-title"},"彿¥å工产éTOP10",-1))),het={class:"yield-content"},det={class:"yield-content-left"},pet={class:"content_left_item1_content"},fet={class:"content_left_item1_content_row_name"},get={class:"content_left_item1_content_row_line"},vet={class:"content_left_item1_content_row_num"},met={class:"yield-content-left"},yet={class:"content_left_item1_content"},_et={class:"content_left_item1_content_row_name"},xet={class:"num bg1"},bet={class:"content_left_item1_content_row_line"},wet={class:"content_left_item1_content_row_num"},Met={class:"process-right"},Iet={class:"report-log"},Aet=qtt((()=>Ar("div",{class:"header-title"},"æ¥å·¥æ¥å¿",-1))),Cet={class:"table-content"},Tet=Lr('<div class="table-head" data-v-cac462fa><div class="table-head_item" data-v-cac462fa>åå·¥åç§°</div><div class="table-head_item" data-v-cac462fa>ç©æåç§°</div><div class="table-head_item" data-v-cac462fa>ç©æç¼ç </div><div class="table-head_item" data-v-cac462fa>æ¥å·¥æ¶é´</div><div class="table-head_item" data-v-cac462fa>è¯åæ°</div><div class="table-head_item" data-v-cac462fa>ä¸è¯åæ°</div><div class="table-head_item" data-v-cac462fa>ä¸è¯ç</div></div>',1),Det={class:"scroll_item_row"},ket={class:"scroll_item_row"},Let={class:"scroll_item_row"},Pet={class:"scroll_item_row"},Oet={class:"scroll_item_row"},Eet={class:"scroll_item_row"},Ret={class:"scroll_item_row"},Net={class:"bad-diagram"},Bet=qtt((()=>Ar("div",{class:"header-title"},"è¿7天ä¸è¯ååå¸",-1))),zet={class:"bad-content"},Vet=qtt((()=>Ar("div",{id:"day-distribution"},null,-1))),Fet={class:"pie"},Get={class:"content_right_top_nr_bottom_yuan"},Het=qtt((()=>Ar("span",null,"ä¸è¯é¡¹åå¸",-1))),Wet=qtt((()=>Ar("div",{id:"type-distribution"},null,-1))),Uet={__name:"process",setup(t){const e=Zm(),n=vv();let i=we(null),r=we(null),o=we(null),a=we(null),s=we(null);const l=se({listData:[],reportListData:[],top1:[],top2:[],baseNum:0,allBad:0,dayDistribution:[],typeDistribution:[{categoryName:"å¤è§ä¸è¯",unqualifiedNum:15},{categoryName:"ææ¯åº",unqualifiedNum:12},{categoryName:"尺寸ä¸è¯",unqualifiedNum:22},{categoryName:"æåç",unqualifiedNum:5},{categoryName:"å
¶ä»",unqualifiedNum:2}]});let{listData:u,top1:c,top2:h,baseNum:d,allBad:p}=De(l);function f(){var t,i,r;(t=n.companyId,i=n.departId,r={procedureId:e.query.procedureId},cv.get(`statistics/getProcedurePlanData/${t}/${i}`,{params:r})).then((t=>{n.setNum(t)})),hv(n.companyId,n.departId,{procedureId:e.query.procedureId}).then((t=>{t.length&&(l.baseNum=t[0].doneNum,l.top1=[],l.top2=[],t.length<=5?l.top1=t:t.forEach(((t,e)=>{e<5?l.top1.push(t):l.top2.push(t)})))})),function(t,e,n){return cv.get(`statistics/getProcedurePlansList/${t}/${e}`,{params:n})}(n.companyId,n.departId,{procedureId:e.query.procedureId}).then((t=>{l.listData=t,_()})),pv(n.companyId,n.departId,{capacity:9999,page:1,model:{procedureId:e.query.procedureId}}).then((t=>{l.reportListData=t.records,b()})),fv(n.companyId,n.departId,e.query.procedureId).then((t=>{l.dayDistribution=t,function(){let t,e=JB(document.getElementById("day-distribution")),n=[],i=[];l.dayDistribution.forEach((t=>{n.push(t.createTime),i.push(t.unqualifiedNum)})),t={title:{text:" è¿ä¸æ¥ä¸è¯åæ»æ°ï¼67",textStyle:{color:"#fff",fontSize:12}},xAxis:{type:"category",boundaryGap:!1,splitLine:{lineStyle:{width:.5,color:["#fff"]}},axisLabel:{textStyle:{color:"#fff"}},data:n},yAxis:{type:"value",splitLine:{lineStyle:{width:.5,color:["#fff"]}},axisLabel:{textStyle:{color:"#fff"}}},series:[{data:i,type:"line",lineStyle:{color:"#03D2B5",width:1},areaStyle:{color:new LD(0,0,0,1,[{offset:0,color:"rgba(3, 210, 181, .9)"},{offset:1,color:"rgba(3, 210, 181, 0)"}])}}],tooltip:{trigger:"axis"},legend:{name:"1adssad",itemWidth:10,itemHeight:10,itemGap:4,textStyle:{color:"#fff"}}},t&&e.setOption(t)}()})),gv(n.companyId,n.departId,e.query.procedureId).then((t=>{l.typeDistribution=t,l.allBad=t.reduce(((t,e)=>t+e.unqualifiedNum),0),function(){let t=JB(document.getElementById("type-distribution")),e=[],n=[];l.typeDistribution.forEach((t=>{e.push(t.categoryName),n.push({name:t.categoryName,value:t.unqualifiedNum})}));let i={legend:{show:!1,type:"scroll",orient:"vertical",right:10,top:20,bottom:20,data:e},series:[{type:"pie",radius:["60%","70%"],itemStyle:{borderRadius:4,borderColor:"rgba(52, 88, 159, 0.4)",borderWidth:4},center:["50%","50%"],labelLine:{show:!1},label:{formatter:"{dot| } {title|{b} {c}}\n\n{per|{d}%}",rich:{title:{color:"#fff"},per:{color:"#01D9FE"},dot:{backgroundColor:"inherit",width:8,height:8,borderRadius:4}}},endLabel:{show:!0,distance:5,color:"red"},data:n,emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 1)"}}}]};i&&t.setOption(i)}()}))}function g(){clearTimeout(r.value)}function v(){_()}function m(){clearTimeout(o.value)}function y(){b()}function _(){clearTimeout(r.value),r.value=setInterval(x,100)}function x(){let t=a.value;if(0==t.offsetHeight)t=a.value;else{if(t.children.length<=10)return void clearTimeout(r.value);if(t.scrollTop+=1.5,t.scrollTop>=t.scrollHeight-t.clientHeight){let e=t.children[0];t.removeChild(e),t.append(e)}}}function b(){clearTimeout(o.value),o.value=setInterval(w,100)}function w(){let t=s.value;if(0==t.offsetHeight)t=s.value;else{if(t.children.length<=10)return void clearTimeout(o.value);if(t.scrollTop+=1.5,t.scrollTop>=t.scrollHeight-t.clientHeight){let e=t.children[0];t.removeChild(e),t.append(e)}}}return $n((()=>{clearTimeout(r.value),clearTimeout(o.value),clearTimeout(i.value)})),qn((()=>{f(),i.value=setInterval((()=>{f()}),6e3)})),Jn((()=>{clearTimeout(r.value),clearTimeout(o.value),clearTimeout(i.value)})),(t,e)=>{const n=pf;return gr(),_r("div",Ztt,[Ar("div",Ktt,[Ar("div",$tt,[Jtt,Ar("div",Qtt,[tet,Ar("div",{onMouseenter:g,onMouseleave:v,class:"tablel_container"},[Ar("div",{ref_key:"planContainer",ref:a,class:"scroll_container"},[(gr(!0),_r(ur,null,ui(Ae(u),((t,e)=>(gr(),_r("div",{key:t.id,class:j(["scroll_item",e%2==0?"scroll_item scroll_item_bg1":"scroll_item scroll_item_bg2"])},[Ar("div",eet,Z(t.materialName),1),Ar("div",net,Z(t.materialCode),1),Ar("div",iet,Z(t.num),1),Ar("div",ret,Z(t.qualifiedNum),1),Ar("div",oet,Z(t.unqualifiedNum),1),Ar("div",aet,Z(t.undoneNum),1),Ar("div",set,Z(t.unqualifiedRate)+"%",1)],2)))),128))],512)],32)])]),Ar("div",uet,[cet,Ar("div",het,[Ar("div",det,[Ar("div",pet,[(gr(!0),_r(ur,null,ui(Ae(c),((t,e)=>(gr(),_r("div",{class:"content_left_item1_content_row",key:e},[Ar("div",fet,[Ar("div",{class:j(e>2?"num bg1":"num bg2")},Z(e+1),3),Ar("span",null,Z(t.userName),1)]),Ar("div",get,[Cr(n,{"show-text":!1,percentage:t.doneNum/Ae(d)*100},null,8,["percentage"])]),Ar("div",vet,Z(t.doneNum),1)])))),128))])]),Ar("div",met,[Ar("div",yet,[(gr(!0),_r(ur,null,ui(Ae(h),((t,e)=>(gr(),_r("div",{class:"content_left_item1_content_row",key:e},[Ar("div",_et,[Ar("div",xet,Z(e+6),1),Ar("span",null,Z(t.userName),1)]),Ar("div",bet,[Cr(n,{"show-text":!1,percentage:t.doneNum/Ae(d)*100},null,8,["percentage"])]),Ar("div",wet,Z(t.doneNum),1)])))),128))])])])])]),Ar("div",Met,[Ar("div",Iet,[Aet,Ar("div",Cet,[Tet,Ar("div",{onMouseenter:m,onMouseleave:y,class:"tablel_container"},[Ar("div",{ref_key:"reportLogContainer",ref:s,class:"scroll_container"},[(gr(!0),_r(ur,null,ui(t.reportListData,((t,e)=>(gr(),_r("div",{key:t.id,class:j(["scroll_item",e%2==0?"scroll_item scroll_item_bg1":"scroll_item scroll_item_bg2"])},[Ar("div",Det,Z(t.userName),1),Ar("div",ket,Z(t.materialName),1),Ar("div",Let,Z(t.materialCode),1),Ar("div",Pet,Z(t.createTime),1),Ar("div",Oet,Z(t.qualifiedNum),1),Ar("div",Eet,Z(t.unqualifiedNum),1),Ar("div",Ret,Z(t.unqualifiedRate)+"%",1)],2)))),128))],512)],32)])]),Ar("div",Net,[Bet,Ar("div",zet,[Vet,Ar("div",Fet,[Ar("div",Get,[Ar("span",null,Z(Ae(p)),1),Het]),Wet])])])])])}}},jet=Km(Uet,[["__scopeId","data-v-cac462fa"]]);console.log("screen");const Yet=function(t){const e=om(t.routes,t),n=t.parseQuery||km,i=t.stringifyQuery||Lm,r=t.history,o=zm(),a=zm(),s=zm(),l=Se(Uv);let u=Uv;mv&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=_v.bind(null,(t=>""+t)),h=_v.bind(null,Tm),d=_v.bind(null,Dm);function p(t,o){if(o=yv({},o||l.value),"string"==typeof t){const i=Mv(n,t,o.path),a=e.resolve({path:i.path},o),s=r.createHref(i.fullPath);return yv(i,a,{params:d(a.params),hash:Dm(i.hash),redirectedFrom:void 0,href:s})}let a;if("path"in t)a=yv({},t,{path:Mv(n,t.path,o.path).path});else{const e=yv({},t.params);for(const t in e)null==e[t]&&delete e[t];a=yv({},t,{params:h(e)}),o.params=h(o.params)}const s=e.resolve(a,o),u=t.hash||"";s.params=c(d(s.params));const p=function(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}(i,yv({},t,{hash:(f=u,Am(f).replace(wm,"{").replace(Mm,"}").replace(xm,"^")),path:s.path}));var f;const g=r.createHref(p);return yv({fullPath:p,hash:u,query:i===Lm?Pm(t.query):t.query||{}},s,{redirectedFrom:void 0,href:g})}function f(t){return"string"==typeof t?Mv(n,t,l.value.path):yv({},t)}function g(t,e){if(u!==t)return qv(8,{from:e,to:t})}function v(t){return y(t)}function m(t){const e=t.matched[t.matched.length-1];if(e&&e.redirect){const{redirect:n}=e;let i="function"==typeof n?n(t):n;return"string"==typeof i&&(i=i.includes("?")||i.includes("#")?i=f(i):{path:i},i.params={}),yv({query:t.query,hash:t.hash,params:"path"in i?{}:t.params},i)}}function y(t,e){const n=u=p(t),r=l.value,o=t.state,a=t.force,s=!0===t.replace,c=m(n);if(c)return y(yv(f(c),{state:"object"==typeof c?yv({},o,c.state):o,force:a,replace:s}),e||n);const h=n;let d;return h.redirectedFrom=e,!a&&function(t,e,n){const i=e.matched.length-1,r=n.matched.length-1;return i>-1&&i===r&&Av(e.matched[i],n.matched[r])&&Cv(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}(i,r,n)&&(d=qv(16,{to:h,from:r}),L(r,r,!0,!1)),(d?Promise.resolve(d):b(h,r)).catch((t=>Zv(t)?Zv(t,2)?t:k(t):D(t,h,r))).then((t=>{if(t){if(Zv(t,2))return y(yv({replace:s},f(t.to),{state:"object"==typeof t.to?yv({},o,t.to.state):o,force:a}),e||h)}else t=S(h,r,!0,s,o);return w(h,r,t),t}))}function _(t,e){const n=g(t,e);return n?Promise.reject(n):Promise.resolve()}function x(t){const e=E.values().next().value;return e&&"function"==typeof e.runWithContext?e.runWithContext(t):t()}function b(t,e){let n;const[i,r,s]=function(t,e){const n=[],i=[],r=[],o=Math.max(e.matched.length,t.matched.length);for(let a=0;a<o;a++){const o=e.matched[a];o&&(t.matched.find((t=>Av(t,o)))?i.push(o):n.push(o));const s=t.matched[a];s&&(e.matched.find((t=>Av(t,s)))||r.push(s))}return[n,i,r]}(t,e);n=Fm(i.reverse(),"beforeRouteLeave",t,e);for(const o of i)o.leaveGuards.forEach((i=>{n.push(Vm(i,t,e))}));const l=_.bind(null,t,e);return n.push(l),N(n).then((()=>{n=[];for(const i of o.list())n.push(Vm(i,t,e));return n.push(l),N(n)})).then((()=>{n=Fm(r,"beforeRouteUpdate",t,e);for(const i of r)i.updateGuards.forEach((i=>{n.push(Vm(i,t,e))}));return n.push(l),N(n)})).then((()=>{n=[];for(const i of s)if(i.beforeEnter)if(bv(i.beforeEnter))for(const r of i.beforeEnter)n.push(Vm(r,t,e));else n.push(Vm(i.beforeEnter,t,e));return n.push(l),N(n)})).then((()=>(t.matched.forEach((t=>t.enterCallbacks={})),n=Fm(s,"beforeRouteEnter",t,e),n.push(l),N(n)))).then((()=>{n=[];for(const i of a.list())n.push(Vm(i,t,e));return n.push(l),N(n)})).catch((t=>Zv(t,8)?t:Promise.reject(t)))}function w(t,e,n){s.list().forEach((i=>x((()=>i(t,e,n)))))}function S(t,e,n,i,o){const a=g(t,e);if(a)return a;const s=e===Uv,u=mv?history.state:{};n&&(i||s?r.replace(t.fullPath,yv({scroll:s&&u&&u.scroll},o)):r.push(t.fullPath,o)),l.value=t,L(t,e,n,s),k()}let M;function I(){M||(M=r.listen(((t,e,n)=>{if(!R.listening)return;const i=p(t),o=m(i);if(o)return void y(yv(o,{replace:!0}),i).catch(xv);u=i;const a=l.value;var s,c;mv&&(s=zv(a.fullPath,n.delta),c=Nv(),Vv.set(s,c)),b(i,a).catch((t=>Zv(t,12)?t:Zv(t,2)?(y(t.to,i).then((t=>{Zv(t,20)&&!n.delta&&n.type===kv.pop&&r.go(-1,!1)})).catch(xv),Promise.reject()):(n.delta&&r.go(-n.delta,!1),D(t,i,a)))).then((t=>{(t=t||S(i,a,!1))&&(n.delta&&!Zv(t,8)?r.go(-n.delta,!1):n.type===kv.pop&&Zv(t,20)&&r.go(-1,!1)),w(i,a,t)})).catch(xv)})))}let A,C=zm(),T=zm();function D(t,e,n){k(t);const i=T.list();return i.length?i.forEach((i=>i(t,e,n))):console.error(t),Promise.reject(t)}function k(t){return A||(A=!t,I(),C.list().forEach((([e,n])=>t?n(t):e())),C.reset()),t}function L(e,n,i,r){const{scrollBehavior:o}=t;if(!mv||!o)return Promise.resolve();const a=!i&&function(t){const e=Vv.get(t);return Vv.delete(t),e}(zv(e.fullPath,0))||(r||!i)&&history.state&&history.state.scroll||null;return Xe().then((()=>o(e,n,a))).then((t=>t&&Bv(t))).catch((t=>D(t,e,n)))}const P=t=>r.go(t);let O;const E=new Set,R={currentRoute:l,listening:!0,addRoute:function(t,n){let i,r;return Wv(t)?(i=e.getRecordMatcher(t),r=n):r=t,e.addRoute(r,i)},removeRoute:function(t){const n=e.getRecordMatcher(t);n&&e.removeRoute(n)},hasRoute:function(t){return!!e.getRecordMatcher(t)},getRoutes:function(){return e.getRoutes().map((t=>t.record))},resolve:p,options:t,push:v,replace:function(t){return v(yv(f(t),{replace:!0}))},go:P,back:()=>P(-1),forward:()=>P(1),beforeEach:o.add,beforeResolve:a.add,afterEach:s.add,onError:T.add,isReady:function(){return A&&l.value!==Uv?Promise.resolve():new Promise(((t,e)=>{C.add([t,e])}))},install(t){t.component("RouterLink",Hm),t.component("RouterView",Xm),t.config.globalProperties.$router=this,Object.defineProperty(t.config.globalProperties,"$route",{enumerable:!0,get:()=>Ae(l)}),mv&&!O&&l.value===Uv&&(O=!0,v(r.location).catch((t=>{})));const e={};for(const i in Uv)Object.defineProperty(e,i,{get:()=>l.value[i],enumerable:!0});t.provide(Rm,this),t.provide(Nm,le(e)),t.provide(Bm,l);const n=t.unmount;E.add(t),t.unmount=function(){E.delete(t),E.size<1&&(u=Uv,M&&M(),M=null,l.value=Uv,O=!1,A=!1),n()}}};function N(t){return t.reduce(((t,e)=>t.then((()=>x(e)))),Promise.resolve())}return R}({history:function(t){const e=function(t){const{history:e,location:n}=window,i={value:Gv(t,n)},r={value:e.state};function o(i,o,a){const s=t.indexOf("#"),l=s>-1?(n.host&&document.querySelector("base")?t:t.slice(s))+i:Fv()+t+i;try{e[a?"replaceState":"pushState"](o,"",l),r.value=o}catch(u){console.error(u),n[a?"replace":"assign"](l)}}return r.value||o(i.value,{back:null,current:i.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0),{location:i,state:r,push:function(t,n){const a=yv({},r.value,e.state,{forward:t,scroll:Nv()});o(a.current,a,!0),o(t,yv({},Hv(i.value,t,null),{position:a.position+1},n),!1),i.value=t},replace:function(t,n){o(t,yv({},e.state,Hv(r.value.back,t,r.value.forward,!0),n,{position:r.value.position}),!0),i.value=t}}}(t=function(t){if(!t)if(mv){const e=document.querySelector("base");t=(t=e&&e.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return"/"!==t[0]&&"#"!==t[0]&&(t="/"+t),Sv(t)}(t)),n=function(t,e,n,i){let r=[],o=[],a=null;const s=({state:o})=>{const s=Gv(t,location),l=n.value,u=e.value;let c=0;if(o){if(n.value=s,e.value=o,a&&a===l)return void(a=null);c=u?o.position-u.position:0}else i(s);r.forEach((t=>{t(n.value,l,{delta:c,type:kv.pop,direction:c?c>0?Pv.forward:Pv.back:Pv.unknown})}))};function l(){const{history:t}=window;t.state&&t.replaceState(yv({},t.state,{scroll:Nv()}),"")}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:function(){a=n.value},listen:function(t){r.push(t);const e=()=>{const e=r.indexOf(t);e>-1&&r.splice(e,1)};return o.push(e),e},destroy:function(){for(const t of o)t();o=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",l)}}}(t,e.state,e.location,e.replace),i=yv({location:"",base:t,go:function(t,e=!0){e||n.pauseListeners(),history.go(t)},createHref:Rv.bind(null,t)},e,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>e.state.value}),i}("screen"),routes:[{path:"/",name:"home",component:Xtt},{path:"/process",name:"process",component:jet}]}),Xet=((...t)=>{const e=Ho().createApp(...t),{mount:n}=e;return e.mount=t=>{const i=function(t){if(v(t)){return document.querySelector(t)}return t}(t);if(!i)return;const r=e._component;g(r)||r.render||r.template||(r.template=i.innerHTML),i.innerHTML="";const o=n(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},e})(gy);Xet.use(function(){const t=Q(!0),e=t.run((()=>we({})));let n=[],i=[];const r=ve({install(t){jo(r),r._a=t,t.provide(Yo,r),t.config.globalProperties.$pinia=r,i.forEach((t=>n.push(t))),i=[]},use(t){return this._a?n.push(t):i.push(t),this},_p:n,_a:null,_e:t,_s:new Map,state:e});return r}()),Xet.use(Yet),Xet.mount("#app"); |
¶Ô±ÈÐÂÎļþ |
| | |
| | | @charset "UTF-8";:root{--vt-c-white: #ffffff;--vt-c-white-soft: #f8f8f8;--vt-c-white-mute: #f2f2f2;--vt-c-black: #181818;--vt-c-black-soft: #222222;--vt-c-black-mute: #282828;--vt-c-indigo: #2c3e50;--vt-c-divider-light-1: rgba(60, 60, 60, .29);--vt-c-divider-light-2: rgba(60, 60, 60, .12);--vt-c-divider-dark-1: rgba(84, 84, 84, .65);--vt-c-divider-dark-2: rgba(84, 84, 84, .48);--vt-c-text-light-1: var(--vt-c-indigo);--vt-c-text-light-2: rgba(60, 60, 60, .66);--vt-c-text-dark-1: var(--vt-c-white);--vt-c-text-dark-2: rgba(235, 235, 235, .64)}:root{--color-background: var(--vt-c-white);--color-background-soft: var(--vt-c-white-soft);--color-background-mute: var(--vt-c-white-mute);--color-border: var(--vt-c-divider-light-2);--color-border-hover: var(--vt-c-divider-light-1);--color-heading: var(--vt-c-text-light-1);--color-text: var(--vt-c-text-light-1);--section-gap: 160px}@media (prefers-color-scheme: dark){:root{--color-background: var(--vt-c-black);--color-background-soft: var(--vt-c-black-soft);--color-background-mute: var(--vt-c-black-mute);--color-border: var(--vt-c-divider-dark-2);--color-border-hover: var(--vt-c-divider-dark-1);--color-heading: var(--vt-c-text-dark-1);--color-text: var(--vt-c-text-dark-2)}}*,*:before,*:after{box-sizing:border-box;margin:0;font-weight:400}body{min-height:100vh;color:var(--color-text);background:var(--color-background);transition:color .5s,background-color .5s;line-height:1.6;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:15px;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}html,body{padding:0;margin:0}#app{padding:0;margin:0;height:100%;font-weight:400}:root{--el-color-white:#ffffff;--el-color-black:#000000;--el-color-primary-rgb:64,158,255;--el-color-success-rgb:103,194,58;--el-color-warning-rgb:230,162,60;--el-color-danger-rgb:245,108,108;--el-color-error-rgb:245,108,108;--el-color-info-rgb:144,147,153;--el-font-size-extra-large:20px;--el-font-size-large:18px;--el-font-size-medium:16px;--el-font-size-base:14px;--el-font-size-small:13px;--el-font-size-extra-small:12px;--el-font-family:"Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软é
é»",Arial,sans-serif;--el-font-weight-primary:500;--el-font-line-height-primary:24px;--el-index-normal:1;--el-index-top:1000;--el-index-popper:2000;--el-border-radius-base:4px;--el-border-radius-small:2px;--el-border-radius-round:20px;--el-border-radius-circle:100%;--el-transition-duration:.3s;--el-transition-duration-fast:.2s;--el-transition-function-ease-in-out-bezier:cubic-bezier(.645, .045, .355, 1);--el-transition-function-fast-bezier:cubic-bezier(.23, 1, .32, 1);--el-transition-all:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);--el-transition-fade:opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-md-fade:transform var(--el-transition-duration) var(--el-transition-function-fast-bezier),opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-fade-linear:opacity var(--el-transition-duration-fast) linear;--el-transition-border:border-color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-box-shadow:box-shadow var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-color:color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-component-size-large:40px;--el-component-size:32px;--el-component-size-small:24px}:root{color-scheme:light;--el-color-white:#ffffff;--el-color-black:#000000;--el-color-primary:#409eff;--el-color-primary-light-3:#79bbff;--el-color-primary-light-5:#a0cfff;--el-color-primary-light-7:#c6e2ff;--el-color-primary-light-8:#d9ecff;--el-color-primary-light-9:#ecf5ff;--el-color-primary-dark-2:#337ecc;--el-color-success:#67c23a;--el-color-success-light-3:#95d475;--el-color-success-light-5:#b3e19d;--el-color-success-light-7:#d1edc4;--el-color-success-light-8:#e1f3d8;--el-color-success-light-9:#f0f9eb;--el-color-success-dark-2:#529b2e;--el-color-warning:#e6a23c;--el-color-warning-light-3:#eebe77;--el-color-warning-light-5:#f3d19e;--el-color-warning-light-7:#f8e3c5;--el-color-warning-light-8:#faecd8;--el-color-warning-light-9:#fdf6ec;--el-color-warning-dark-2:#b88230;--el-color-danger:#f56c6c;--el-color-danger-light-3:#f89898;--el-color-danger-light-5:#fab6b6;--el-color-danger-light-7:#fcd3d3;--el-color-danger-light-8:#fde2e2;--el-color-danger-light-9:#fef0f0;--el-color-danger-dark-2:#c45656;--el-color-error:#f56c6c;--el-color-error-light-3:#f89898;--el-color-error-light-5:#fab6b6;--el-color-error-light-7:#fcd3d3;--el-color-error-light-8:#fde2e2;--el-color-error-light-9:#fef0f0;--el-color-error-dark-2:#c45656;--el-color-info:#909399;--el-color-info-light-3:#b1b3b8;--el-color-info-light-5:#c8c9cc;--el-color-info-light-7:#dedfe0;--el-color-info-light-8:#e9e9eb;--el-color-info-light-9:#f4f4f5;--el-color-info-dark-2:#73767a;--el-bg-color:#ffffff;--el-bg-color-page:#f2f3f5;--el-bg-color-overlay:#ffffff;--el-text-color-primary:#303133;--el-text-color-regular:#606266;--el-text-color-secondary:#909399;--el-text-color-placeholder:#a8abb2;--el-text-color-disabled:#c0c4cc;--el-border-color:#dcdfe6;--el-border-color-light:#e4e7ed;--el-border-color-lighter:#ebeef5;--el-border-color-extra-light:#f2f6fc;--el-border-color-dark:#d4d7de;--el-border-color-darker:#cdd0d6;--el-fill-color:#f0f2f5;--el-fill-color-light:#f5f7fa;--el-fill-color-lighter:#fafafa;--el-fill-color-extra-light:#fafcff;--el-fill-color-dark:#ebedf0;--el-fill-color-darker:#e6e8eb;--el-fill-color-blank:#ffffff;--el-box-shadow:0px 12px 32px 4px rgba(0, 0, 0, .04),0px 8px 20px rgba(0, 0, 0, .08);--el-box-shadow-light:0px 0px 12px rgba(0, 0, 0, .12);--el-box-shadow-lighter:0px 0px 6px rgba(0, 0, 0, .12);--el-box-shadow-dark:0px 16px 48px 16px rgba(0, 0, 0, .08),0px 12px 32px rgba(0, 0, 0, .12),0px 8px 16px -8px rgba(0, 0, 0, .16);--el-disabled-bg-color:var(--el-fill-color-light);--el-disabled-text-color:var(--el-text-color-placeholder);--el-disabled-border-color:var(--el-border-color-light);--el-overlay-color:rgba(0, 0, 0, .8);--el-overlay-color-light:rgba(0, 0, 0, .7);--el-overlay-color-lighter:rgba(0, 0, 0, .5);--el-mask-color:rgba(255, 255, 255, .9);--el-mask-color-extra-light:rgba(255, 255, 255, .3);--el-border-width:1px;--el-border-style:solid;--el-border-color-hover:var(--el-text-color-disabled);--el-border:var(--el-border-width) var(--el-border-style) var(--el-border-color);--el-svg-monochrome-grey:var(--el-border-color)}.fade-in-linear-enter-active,.fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.fade-in-linear-enter-from,.fade-in-linear-leave-to{opacity:0}.el-fade-in-linear-enter-active,.el-fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.el-fade-in-linear-enter-from,.el-fade-in-linear-leave-to{opacity:0}.el-fade-in-enter-active,.el-fade-in-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-fade-in-enter-from,.el-fade-in-leave-active{opacity:0}.el-zoom-in-center-enter-active,.el-zoom-in-center-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-zoom-in-center-enter-from,.el-zoom-in-center-leave-active{opacity:0;transform:scaleX(0)}.el-zoom-in-top-enter-active,.el-zoom-in-top-leave-active{opacity:1;transform:scaleY(1);transition:var(--el-transition-md-fade);transform-origin:center top}.el-zoom-in-top-enter-active[data-popper-placement^=top],.el-zoom-in-top-leave-active[data-popper-placement^=top]{transform-origin:center bottom}.el-zoom-in-top-enter-from,.el-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;transform:scaleY(1);transition:var(--el-transition-md-fade);transform-origin:center bottom}.el-zoom-in-bottom-enter-from,.el-zoom-in-bottom-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-left-enter-active,.el-zoom-in-left-leave-active{opacity:1;transform:scale(1);transition:var(--el-transition-md-fade);transform-origin:top left}.el-zoom-in-left-enter-from,.el-zoom-in-left-leave-active{opacity:0;transform:scale(.45)}.collapse-transition{transition:var(--el-transition-duration) height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.el-collapse-transition-enter-active,.el-collapse-transition-leave-active{transition:var(--el-transition-duration) max-height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.horizontal-collapse-transition{transition:var(--el-transition-duration) width ease-in-out,var(--el-transition-duration) padding-left ease-in-out,var(--el-transition-duration) padding-right ease-in-out}.el-list-enter-active,.el-list-leave-active{transition:all 1s}.el-list-enter-from,.el-list-leave-to{opacity:0;transform:translateY(-30px)}.el-list-leave-active{position:absolute!important}.el-opacity-transition{transition:opacity var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-icon-loading{-webkit-animation:rotating 2s linear infinite;animation:rotating 2s linear infinite}.el-icon--right{margin-left:5px}.el-icon--left{margin-right:5px}@-webkit-keyframes rotating{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes rotating{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.el-icon{--color:inherit;height:1em;width:1em;line-height:1em;display:inline-flex;justify-content:center;align-items:center;position:relative;fill:currentColor;color:var(--color);font-size:inherit}.el-icon.is-loading{-webkit-animation:rotating 2s linear infinite;animation:rotating 2s linear infinite}.el-icon svg{height:1em;width:1em}.el-button{--el-button-font-weight:var(--el-font-weight-primary);--el-button-border-color:var(--el-border-color);--el-button-bg-color:var(--el-fill-color-blank);--el-button-text-color:var(--el-text-color-regular);--el-button-disabled-text-color:var(--el-disabled-text-color);--el-button-disabled-bg-color:var(--el-fill-color-blank);--el-button-disabled-border-color:var(--el-border-color-light);--el-button-divide-border-color:rgba(255, 255, 255, .5);--el-button-hover-text-color:var(--el-color-primary);--el-button-hover-bg-color:var(--el-color-primary-light-9);--el-button-hover-border-color:var(--el-color-primary-light-7);--el-button-active-text-color:var(--el-button-hover-text-color);--el-button-active-border-color:var(--el-color-primary);--el-button-active-bg-color:var(--el-button-hover-bg-color);--el-button-outline-color:var(--el-color-primary-light-5);--el-button-hover-link-text-color:var(--el-color-info);--el-button-active-color:var(--el-text-color-primary)}.el-button{display:inline-flex;justify-content:center;align-items:center;line-height:1;height:32px;white-space:nowrap;cursor:pointer;color:var(--el-button-text-color);text-align:center;box-sizing:border-box;outline:0;transition:.1s;font-weight:var(--el-button-font-weight);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:middle;-webkit-appearance:none;background-color:var(--el-button-bg-color);border:var(--el-border);border-color:var(--el-button-border-color);padding:8px 15px;font-size:var(--el-font-size-base);border-radius:var(--el-border-radius-base)}.el-button:focus,.el-button:hover{color:var(--el-button-hover-text-color);border-color:var(--el-button-hover-border-color);background-color:var(--el-button-hover-bg-color);outline:0}.el-button:active{color:var(--el-button-active-text-color);border-color:var(--el-button-active-border-color);background-color:var(--el-button-active-bg-color);outline:0}.el-button:focus-visible{outline:2px solid var(--el-button-outline-color);outline-offset:1px}.el-button>span{display:inline-flex;align-items:center}.el-button+.el-button{margin-left:12px}.el-button.is-round{padding:8px 15px}.el-button::-moz-focus-inner{border:0}.el-button [class*=el-icon]+span{margin-left:6px}.el-button [class*=el-icon] svg{vertical-align:bottom}.el-button.is-plain{--el-button-hover-text-color:var(--el-color-primary);--el-button-hover-bg-color:var(--el-fill-color-blank);--el-button-hover-border-color:var(--el-color-primary)}.el-button.is-active{color:var(--el-button-active-text-color);border-color:var(--el-button-active-border-color);background-color:var(--el-button-active-bg-color);outline:0}.el-button.is-disabled,.el-button.is-disabled:focus,.el-button.is-disabled:hover{color:var(--el-button-disabled-text-color);cursor:not-allowed;background-image:none;background-color:var(--el-button-disabled-bg-color);border-color:var(--el-button-disabled-border-color)}.el-button.is-loading{position:relative;pointer-events:none}.el-button.is-loading:before{z-index:1;pointer-events:none;content:"";position:absolute;left:-1px;top:-1px;right:-1px;bottom:-1px;border-radius:inherit;background-color:var(--el-mask-color-extra-light)}.el-button.is-round{border-radius:var(--el-border-radius-round)}.el-button.is-circle{border-radius:50%;padding:8px}.el-button.is-text{color:var(--el-button-text-color);border:0 solid transparent;background-color:transparent}.el-button.is-text.is-disabled{color:var(--el-button-disabled-text-color);background-color:transparent!important}.el-button.is-text:not(.is-disabled):focus,.el-button.is-text:not(.is-disabled):hover{background-color:var(--el-fill-color-light)}.el-button.is-text:not(.is-disabled):focus-visible{outline:2px solid var(--el-button-outline-color);outline-offset:1px}.el-button.is-text:not(.is-disabled):active{background-color:var(--el-fill-color)}.el-button.is-text:not(.is-disabled).is-has-bg{background-color:var(--el-fill-color-light)}.el-button.is-text:not(.is-disabled).is-has-bg:focus,.el-button.is-text:not(.is-disabled).is-has-bg:hover{background-color:var(--el-fill-color)}.el-button.is-text:not(.is-disabled).is-has-bg:active{background-color:var(--el-fill-color-dark)}.el-button__text--expand{letter-spacing:.3em;margin-right:-.3em}.el-button.is-link{border-color:transparent;color:var(--el-button-text-color);background:0 0;padding:2px;height:auto}.el-button.is-link:focus,.el-button.is-link:hover{color:var(--el-button-hover-link-text-color)}.el-button.is-link.is-disabled{color:var(--el-button-disabled-text-color);background-color:transparent!important;border-color:transparent!important}.el-button.is-link:not(.is-disabled):focus,.el-button.is-link:not(.is-disabled):hover{border-color:transparent;background-color:transparent}.el-button.is-link:not(.is-disabled):active{color:var(--el-button-active-color);border-color:transparent;background-color:transparent}.el-button--text{border-color:transparent;background:0 0;color:var(--el-color-primary);padding-left:0;padding-right:0}.el-button--text.is-disabled{color:var(--el-button-disabled-text-color);background-color:transparent!important;border-color:transparent!important}.el-button--text:not(.is-disabled):focus,.el-button--text:not(.is-disabled):hover{color:var(--el-color-primary-light-3);border-color:transparent;background-color:transparent}.el-button--text:not(.is-disabled):active{color:var(--el-color-primary-dark-2);border-color:transparent;background-color:transparent}.el-button__link--expand{letter-spacing:.3em;margin-right:-.3em}.el-button--primary{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-primary);--el-button-border-color:var(--el-color-primary);--el-button-outline-color:var(--el-color-primary-light-5);--el-button-active-color:var(--el-color-primary-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-primary-light-5);--el-button-hover-bg-color:var(--el-color-primary-light-3);--el-button-hover-border-color:var(--el-color-primary-light-3);--el-button-active-bg-color:var(--el-color-primary-dark-2);--el-button-active-border-color:var(--el-color-primary-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-primary-light-5);--el-button-disabled-border-color:var(--el-color-primary-light-5)}.el-button--primary.is-link,.el-button--primary.is-plain,.el-button--primary.is-text{--el-button-text-color:var(--el-color-primary);--el-button-bg-color:var(--el-color-primary-light-9);--el-button-border-color:var(--el-color-primary-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-primary);--el-button-hover-border-color:var(--el-color-primary);--el-button-active-text-color:var(--el-color-white)}.el-button--primary.is-link.is-disabled,.el-button--primary.is-link.is-disabled:active,.el-button--primary.is-link.is-disabled:focus,.el-button--primary.is-link.is-disabled:hover,.el-button--primary.is-plain.is-disabled,.el-button--primary.is-plain.is-disabled:active,.el-button--primary.is-plain.is-disabled:focus,.el-button--primary.is-plain.is-disabled:hover,.el-button--primary.is-text.is-disabled,.el-button--primary.is-text.is-disabled:active,.el-button--primary.is-text.is-disabled:focus,.el-button--primary.is-text.is-disabled:hover{color:var(--el-color-primary-light-5);background-color:var(--el-color-primary-light-9);border-color:var(--el-color-primary-light-8)}.el-button--success{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-success);--el-button-border-color:var(--el-color-success);--el-button-outline-color:var(--el-color-success-light-5);--el-button-active-color:var(--el-color-success-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-success-light-5);--el-button-hover-bg-color:var(--el-color-success-light-3);--el-button-hover-border-color:var(--el-color-success-light-3);--el-button-active-bg-color:var(--el-color-success-dark-2);--el-button-active-border-color:var(--el-color-success-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-success-light-5);--el-button-disabled-border-color:var(--el-color-success-light-5)}.el-button--success.is-link,.el-button--success.is-plain,.el-button--success.is-text{--el-button-text-color:var(--el-color-success);--el-button-bg-color:var(--el-color-success-light-9);--el-button-border-color:var(--el-color-success-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-success);--el-button-hover-border-color:var(--el-color-success);--el-button-active-text-color:var(--el-color-white)}.el-button--success.is-link.is-disabled,.el-button--success.is-link.is-disabled:active,.el-button--success.is-link.is-disabled:focus,.el-button--success.is-link.is-disabled:hover,.el-button--success.is-plain.is-disabled,.el-button--success.is-plain.is-disabled:active,.el-button--success.is-plain.is-disabled:focus,.el-button--success.is-plain.is-disabled:hover,.el-button--success.is-text.is-disabled,.el-button--success.is-text.is-disabled:active,.el-button--success.is-text.is-disabled:focus,.el-button--success.is-text.is-disabled:hover{color:var(--el-color-success-light-5);background-color:var(--el-color-success-light-9);border-color:var(--el-color-success-light-8)}.el-button--warning{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-warning);--el-button-border-color:var(--el-color-warning);--el-button-outline-color:var(--el-color-warning-light-5);--el-button-active-color:var(--el-color-warning-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-warning-light-5);--el-button-hover-bg-color:var(--el-color-warning-light-3);--el-button-hover-border-color:var(--el-color-warning-light-3);--el-button-active-bg-color:var(--el-color-warning-dark-2);--el-button-active-border-color:var(--el-color-warning-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-warning-light-5);--el-button-disabled-border-color:var(--el-color-warning-light-5)}.el-button--warning.is-link,.el-button--warning.is-plain,.el-button--warning.is-text{--el-button-text-color:var(--el-color-warning);--el-button-bg-color:var(--el-color-warning-light-9);--el-button-border-color:var(--el-color-warning-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-warning);--el-button-hover-border-color:var(--el-color-warning);--el-button-active-text-color:var(--el-color-white)}.el-button--warning.is-link.is-disabled,.el-button--warning.is-link.is-disabled:active,.el-button--warning.is-link.is-disabled:focus,.el-button--warning.is-link.is-disabled:hover,.el-button--warning.is-plain.is-disabled,.el-button--warning.is-plain.is-disabled:active,.el-button--warning.is-plain.is-disabled:focus,.el-button--warning.is-plain.is-disabled:hover,.el-button--warning.is-text.is-disabled,.el-button--warning.is-text.is-disabled:active,.el-button--warning.is-text.is-disabled:focus,.el-button--warning.is-text.is-disabled:hover{color:var(--el-color-warning-light-5);background-color:var(--el-color-warning-light-9);border-color:var(--el-color-warning-light-8)}.el-button--danger{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-danger);--el-button-border-color:var(--el-color-danger);--el-button-outline-color:var(--el-color-danger-light-5);--el-button-active-color:var(--el-color-danger-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-danger-light-5);--el-button-hover-bg-color:var(--el-color-danger-light-3);--el-button-hover-border-color:var(--el-color-danger-light-3);--el-button-active-bg-color:var(--el-color-danger-dark-2);--el-button-active-border-color:var(--el-color-danger-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-danger-light-5);--el-button-disabled-border-color:var(--el-color-danger-light-5)}.el-button--danger.is-link,.el-button--danger.is-plain,.el-button--danger.is-text{--el-button-text-color:var(--el-color-danger);--el-button-bg-color:var(--el-color-danger-light-9);--el-button-border-color:var(--el-color-danger-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-danger);--el-button-hover-border-color:var(--el-color-danger);--el-button-active-text-color:var(--el-color-white)}.el-button--danger.is-link.is-disabled,.el-button--danger.is-link.is-disabled:active,.el-button--danger.is-link.is-disabled:focus,.el-button--danger.is-link.is-disabled:hover,.el-button--danger.is-plain.is-disabled,.el-button--danger.is-plain.is-disabled:active,.el-button--danger.is-plain.is-disabled:focus,.el-button--danger.is-plain.is-disabled:hover,.el-button--danger.is-text.is-disabled,.el-button--danger.is-text.is-disabled:active,.el-button--danger.is-text.is-disabled:focus,.el-button--danger.is-text.is-disabled:hover{color:var(--el-color-danger-light-5);background-color:var(--el-color-danger-light-9);border-color:var(--el-color-danger-light-8)}.el-button--info{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-info);--el-button-border-color:var(--el-color-info);--el-button-outline-color:var(--el-color-info-light-5);--el-button-active-color:var(--el-color-info-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-info-light-5);--el-button-hover-bg-color:var(--el-color-info-light-3);--el-button-hover-border-color:var(--el-color-info-light-3);--el-button-active-bg-color:var(--el-color-info-dark-2);--el-button-active-border-color:var(--el-color-info-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-info-light-5);--el-button-disabled-border-color:var(--el-color-info-light-5)}.el-button--info.is-link,.el-button--info.is-plain,.el-button--info.is-text{--el-button-text-color:var(--el-color-info);--el-button-bg-color:var(--el-color-info-light-9);--el-button-border-color:var(--el-color-info-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-info);--el-button-hover-border-color:var(--el-color-info);--el-button-active-text-color:var(--el-color-white)}.el-button--info.is-link.is-disabled,.el-button--info.is-link.is-disabled:active,.el-button--info.is-link.is-disabled:focus,.el-button--info.is-link.is-disabled:hover,.el-button--info.is-plain.is-disabled,.el-button--info.is-plain.is-disabled:active,.el-button--info.is-plain.is-disabled:focus,.el-button--info.is-plain.is-disabled:hover,.el-button--info.is-text.is-disabled,.el-button--info.is-text.is-disabled:active,.el-button--info.is-text.is-disabled:focus,.el-button--info.is-text.is-disabled:hover{color:var(--el-color-info-light-5);background-color:var(--el-color-info-light-9);border-color:var(--el-color-info-light-8)}.el-button--large{--el-button-size:40px;height:var(--el-button-size);padding:12px 19px;font-size:var(--el-font-size-base);border-radius:var(--el-border-radius-base)}.el-button--large [class*=el-icon]+span{margin-left:8px}.el-button--large.is-round{padding:12px 19px}.el-button--large.is-circle{width:var(--el-button-size);padding:12px}.el-button--small{--el-button-size:24px;height:var(--el-button-size);padding:5px 11px;font-size:12px;border-radius:calc(var(--el-border-radius-base) - 1px)}.el-button--small [class*=el-icon]+span{margin-left:4px}.el-button--small.is-round{padding:5px 11px}.el-button--small.is-circle{width:var(--el-button-size);padding:5px}.el-button-group{display:inline-block;vertical-align:middle}.el-button-group:after,.el-button-group:before{display:table;content:""}.el-button-group:after{clear:both}.el-button-group>.el-button{float:left;position:relative}.el-button-group>.el-button+.el-button{margin-left:0}.el-button-group>.el-button:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.el-button-group>.el-button:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.el-button-group>.el-button:first-child:last-child{border-top-right-radius:var(--el-border-radius-base);border-bottom-right-radius:var(--el-border-radius-base);border-top-left-radius:var(--el-border-radius-base);border-bottom-left-radius:var(--el-border-radius-base)}.el-button-group>.el-button:first-child:last-child.is-round{border-radius:var(--el-border-radius-round)}.el-button-group>.el-button:first-child:last-child.is-circle{border-radius:50%}.el-button-group>.el-button:not(:first-child):not(:last-child){border-radius:0}.el-button-group>.el-button:not(:last-child){margin-right:-1px}.el-button-group>.el-button:active,.el-button-group>.el-button:focus,.el-button-group>.el-button:hover{z-index:1}.el-button-group>.el-button.is-active{z-index:1}.el-button-group>.el-dropdown>.el-button{border-top-left-radius:0;border-bottom-left-radius:0;border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--primary:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--primary:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--primary:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--success:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--success:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--success:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--warning:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--warning:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--warning:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--danger:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--danger:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--danger:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--info:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group .el-button--info:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group .el-button--info:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-popper{--el-popper-border-radius:var(--el-popover-border-radius, 4px)}.el-popper{position:absolute;border-radius:var(--el-popper-border-radius);padding:5px 11px;z-index:2000;font-size:12px;line-height:20px;min-width:10px;word-wrap:break-word;visibility:visible}.el-popper.is-dark{color:var(--el-bg-color);background:var(--el-text-color-primary);border:1px solid var(--el-text-color-primary)}.el-popper.is-dark .el-popper__arrow:before{border:1px solid var(--el-text-color-primary);background:var(--el-text-color-primary);right:0}.el-popper.is-light{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light)}.el-popper.is-light .el-popper__arrow:before{border:1px solid var(--el-border-color-light);background:var(--el-bg-color-overlay);right:0}.el-popper.is-pure{padding:0}.el-popper__arrow{position:absolute;width:10px;height:10px;z-index:-1}.el-popper__arrow:before{position:absolute;width:10px;height:10px;z-index:-1;content:" ";transform:rotate(45deg);background:var(--el-text-color-primary);box-sizing:border-box}.el-popper[data-popper-placement^=top]>.el-popper__arrow{bottom:-5px}.el-popper[data-popper-placement^=top]>.el-popper__arrow:before{border-bottom-right-radius:2px}.el-popper[data-popper-placement^=bottom]>.el-popper__arrow{top:-5px}.el-popper[data-popper-placement^=bottom]>.el-popper__arrow:before{border-top-left-radius:2px}.el-popper[data-popper-placement^=left]>.el-popper__arrow{right:-5px}.el-popper[data-popper-placement^=left]>.el-popper__arrow:before{border-top-right-radius:2px}.el-popper[data-popper-placement^=right]>.el-popper__arrow{left:-5px}.el-popper[data-popper-placement^=right]>.el-popper__arrow:before{border-bottom-left-radius:2px}.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent!important;border-left-color:transparent!important}.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent!important;border-right-color:transparent!important}.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent!important;border-bottom-color:transparent!important}.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent!important;border-top-color:transparent!important}.el-scrollbar{--el-scrollbar-opacity:.3;--el-scrollbar-bg-color:var(--el-text-color-secondary);--el-scrollbar-hover-opacity:.5;--el-scrollbar-hover-bg-color:var(--el-text-color-secondary)}.el-scrollbar{overflow:hidden;position:relative;height:100%}.el-scrollbar__wrap{overflow:auto;height:100%}.el-scrollbar__wrap--hidden-default{scrollbar-width:none}.el-scrollbar__wrap--hidden-default::-webkit-scrollbar{display:none}.el-scrollbar__thumb{position:relative;display:block;width:0;height:0;cursor:pointer;border-radius:inherit;background-color:var(--el-scrollbar-bg-color,var(--el-text-color-secondary));transition:var(--el-transition-duration) background-color;opacity:var(--el-scrollbar-opacity,.3)}.el-scrollbar__thumb:hover{background-color:var(--el-scrollbar-hover-bg-color,var(--el-text-color-secondary));opacity:var(--el-scrollbar-hover-opacity,.5)}.el-scrollbar__bar{position:absolute;right:2px;bottom:2px;z-index:1;border-radius:4px}.el-scrollbar__bar.is-vertical{width:6px;top:2px}.el-scrollbar__bar.is-vertical>div{width:100%}.el-scrollbar__bar.is-horizontal{height:6px;left:2px}.el-scrollbar__bar.is-horizontal>div{height:100%}.el-scrollbar-fade-enter-active{transition:opacity .34s ease-out}.el-scrollbar-fade-leave-active{transition:opacity .12s ease-out}.el-scrollbar-fade-enter-from,.el-scrollbar-fade-leave-active{opacity:0}.el-dropdown{--el-dropdown-menu-box-shadow:var(--el-box-shadow-light);--el-dropdown-menuItem-hover-fill:var(--el-color-primary-light-9);--el-dropdown-menuItem-hover-color:var(--el-color-primary);--el-dropdown-menu-index:10;display:inline-flex;position:relative;color:var(--el-text-color-regular);font-size:var(--el-font-size-base);line-height:1;vertical-align:top}.el-dropdown.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-dropdown__popper{--el-dropdown-menu-box-shadow:var(--el-box-shadow-light);--el-dropdown-menuItem-hover-fill:var(--el-color-primary-light-9);--el-dropdown-menuItem-hover-color:var(--el-color-primary);--el-dropdown-menu-index:10}.el-dropdown__popper.el-popper{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color-light);box-shadow:var(--el-dropdown-menu-box-shadow)}.el-dropdown__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-dropdown__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-top-color:transparent;border-left-color:transparent}.el-dropdown__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-dropdown__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-left-color:transparent;border-bottom-color:transparent}.el-dropdown__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-dropdown__popper .el-dropdown-menu{border:none}.el-dropdown__popper .el-dropdown__popper-selfdefine{outline:0}.el-dropdown__popper .el-scrollbar__bar{z-index:calc(var(--el-dropdown-menu-index) + 1)}.el-dropdown__popper .el-dropdown__list{list-style:none;padding:0;margin:0;box-sizing:border-box}.el-dropdown .el-dropdown__caret-button{padding-left:0;padding-right:0;display:inline-flex;justify-content:center;align-items:center;width:32px;border-left:none}.el-dropdown .el-dropdown__caret-button>span{display:inline-flex}.el-dropdown .el-dropdown__caret-button:before{content:"";position:absolute;display:block;width:1px;top:-1px;bottom:-1px;left:0;background:var(--el-overlay-color-lighter)}.el-dropdown .el-dropdown__caret-button.el-button:before{background:var(--el-border-color);opacity:.5}.el-dropdown .el-dropdown__caret-button .el-dropdown__icon{font-size:inherit;padding-left:0}.el-dropdown .el-dropdown-selfdefine{outline:0}.el-dropdown--large .el-dropdown__caret-button{width:40px}.el-dropdown--small .el-dropdown__caret-button{width:24px}.el-dropdown-menu{position:relative;top:0;left:0;z-index:var(--el-dropdown-menu-index);padding:5px 0;margin:0;background-color:var(--el-bg-color-overlay);border:none;border-radius:var(--el-border-radius-base);box-shadow:none;list-style:none}.el-dropdown-menu__item{display:flex;align-items:center;white-space:nowrap;list-style:none;line-height:22px;padding:5px 16px;margin:0;font-size:var(--el-font-size-base);color:var(--el-text-color-regular);cursor:pointer;outline:0}.el-dropdown-menu__item:not(.is-disabled):focus{background-color:var(--el-dropdown-menuItem-hover-fill);color:var(--el-dropdown-menuItem-hover-color)}.el-dropdown-menu__item i{margin-right:5px}.el-dropdown-menu__item--divided{margin:6px 0;border-top:1px solid var(--el-border-color-lighter)}.el-dropdown-menu__item.is-disabled{cursor:not-allowed;color:var(--el-text-color-disabled)}.el-dropdown-menu--large{padding:7px 0}.el-dropdown-menu--large .el-dropdown-menu__item{padding:7px 20px;line-height:22px;font-size:14px}.el-dropdown-menu--large .el-dropdown-menu__item--divided{margin:8px 0}.el-dropdown-menu--small{padding:3px 0}.el-dropdown-menu--small .el-dropdown-menu__item{padding:2px 12px;line-height:20px;font-size:12px}.el-dropdown-menu--small .el-dropdown-menu__item--divided{margin:4px 0}.content[data-v-ae9e17fa]{background-image:url(/screen/assets/bg@2x-eea19a40.png);background-position:center;background-size:100% 100%;background-repeat:no-repeat;padding:30px;box-sizing:border-box}.content .header[data-v-ae9e17fa]{background-image:url(/screen/assets/bg_maintitle@2x-4b8bdc00.png);background-size:100% 74px;width:100%;height:74px;display:flex;padding-top:1px;padding-left:20px;justify-content:space-between;color:#fff}.content .header .header-item[data-v-ae9e17fa]{width:300px}.content .header .eare-title[data-v-ae9e17fa]{margin-top:27px;color:#fff;height:20px;font-size:20px;font-family:SourceHanSansSC-Medium,SourceHanSansSC;font-weight:500;display:flex}.content .header .eare-title .right-icon[data-v-ae9e17fa]{width:20px;height:20px;margin-left:8px}.content .header .title[data-v-ae9e17fa]{margin-top:15px;font-size:25px;font-weight:500;text-shadow:0px 2px 17px rgba(0,0,0,.32);line-height:25px;text-align:center}.content .header .right[data-v-ae9e17fa]{margin-top:20px;height:30px;display:flex;padding-right:22px;flex-direction:row-reverse}.content .header .right .full-ic[data-v-ae9e17fa]{margin-top:2px;width:30px;height:30px}.content .header .right .right-line[data-v-ae9e17fa]{width:2px;height:34px;margin-left:15px;margin-right:15px}.content .header .right .date .time[data-v-ae9e17fa]{height:20px;font-size:18px;font-weight:500;color:#fff;line-height:20px}.content .header .right .date .day[data-v-ae9e17fa]{height:12px;font-size:12px;font-weight:400;color:#d2e0ff;line-height:12px}.content .num-list[data-v-ae9e17fa]{margin-top:24px;margin-bottom:27px;display:flex;justify-content:space-between;height:88px;color:#fff}.content .num-list .num-item[data-v-ae9e17fa]{width:calc(25% - 50px);background-size:100% 100%;margin-right:25px;padding-left:30px;padding-top:12px;display:flex}.content .num-list .num-item[data-v-ae9e17fa]:last-child{margin-right:0}.content .num-list .num-item img[data-v-ae9e17fa]{width:52px;height:52px}.content .num-list .num-item .item-right[data-v-ae9e17fa]{margin-left:12px}.content .num-list .num-item .item-right .item-title[data-v-ae9e17fa]{height:19px;font-size:13px;font-weight:400;color:#ffffffe6;line-height:19px}.content .num-list .num-item .item-right .num-value[data-v-ae9e17fa]{height:35px;font-size:30px;font-weight:700;color:#fff;line-height:35px;background:linear-gradient(180deg,#EEEEEE 0%,#15CFFF 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.productProcess[data-v-83c1c4a7]{width:550px;height:415px}.loading_div[data-v-83c1c4a7]{padding-top:100px}.title_div[data-v-83c1c4a7]{width:100%}.table_body[data-v-83c1c4a7]{width:100%;margin-top:15px}.table_th[data-v-83c1c4a7]{width:100%;display:flex;height:40px;line-height:40px}.tr[data-v-83c1c4a7]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;box-sizing:border-box;padding:0 5px;text-align:center;font-size:14px}.tr1[data-v-83c1c4a7]{width:28%}.tr2[data-v-83c1c4a7]{width:15%}.tr3[data-v-83c1c4a7]{width:35%;font-size:13px}.tr4[data-v-83c1c4a7]{flex:1}.th_style[data-v-83c1c4a7]{color:#00ddfd;font-weight:700;font-size:18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;box-sizing:border-box;padding:0 5px;text-align:center}.table_main_body[data-v-83c1c4a7]{width:100%;height:294px;overflow:hidden;position:relative}.table_inner_body[data-v-83c1c4a7]{width:100%;position:absolute;left:0}.table_tr[data-v-83c1c4a7]{display:flex;height:40px;line-height:40px;color:#eee;font-size:15px;background:rgba(3,145,167,.1);border:1px solid rgb(4,114,131);margin-top:7px}.el-progress{position:relative;line-height:1;display:flex;align-items:center}.el-progress__text{font-size:14px;color:var(--el-text-color-regular);margin-left:5px;min-width:50px;line-height:1}.el-progress__text i{vertical-align:middle;display:block}.el-progress--circle,.el-progress--dashboard{display:inline-block}.el-progress--circle .el-progress__text,.el-progress--dashboard .el-progress__text{position:absolute;top:50%;left:0;width:100%;text-align:center;margin:0;transform:translateY(-50%)}.el-progress--circle .el-progress__text i,.el-progress--dashboard .el-progress__text i{vertical-align:middle;display:inline-block}.el-progress--without-text .el-progress__text{display:none}.el-progress--without-text .el-progress-bar{padding-right:0;margin-right:0;display:block}.el-progress--text-inside .el-progress-bar{padding-right:0;margin-right:0}.el-progress.is-success .el-progress-bar__inner{background-color:var(--el-color-success)}.el-progress.is-success .el-progress__text{color:var(--el-color-success)}.el-progress.is-warning .el-progress-bar__inner{background-color:var(--el-color-warning)}.el-progress.is-warning .el-progress__text{color:var(--el-color-warning)}.el-progress.is-exception .el-progress-bar__inner{background-color:var(--el-color-danger)}.el-progress.is-exception .el-progress__text{color:var(--el-color-danger)}.el-progress-bar{flex-grow:1;box-sizing:border-box}.el-progress-bar__outer{height:6px;border-radius:100px;background-color:var(--el-border-color-lighter);overflow:hidden;position:relative;vertical-align:middle}.el-progress-bar__inner{position:absolute;left:0;top:0;height:100%;background-color:var(--el-color-primary);text-align:right;border-radius:100px;line-height:1;white-space:nowrap;transition:width .6s ease}.el-progress-bar__inner:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-progress-bar__inner--indeterminate{transform:translateZ(0);-webkit-animation:indeterminate 3s infinite;animation:indeterminate 3s infinite}.el-progress-bar__inner--striped{background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 25%,transparent 50%,rgba(0,0,0,.1) 50%,rgba(0,0,0,.1) 75%,transparent 75%,transparent);background-size:1.25em 1.25em}.el-progress-bar__inner--striped.el-progress-bar__inner--striped-flow{-webkit-animation:striped-flow 3s linear infinite;animation:striped-flow 3s linear infinite}.el-progress-bar__innerText{display:inline-block;vertical-align:middle;color:#fff;font-size:12px;margin:0 5px}@-webkit-keyframes progress{0%{background-position:0 0}to{background-position:32px 0}}@keyframes progress{0%{background-position:0 0}to{background-position:32px 0}}@-webkit-keyframes indeterminate{0%{left:-100%}to{left:100%}}@keyframes indeterminate{0%{left:-100%}to{left:100%}}@-webkit-keyframes striped-flow{0%{background-position:-100%}to{background-position:100%}}@keyframes striped-flow{0%{background-position:-100%}to{background-position:100%}}.content1[data-v-aebb9598]{width:100%;height:auto;display:flex;align-items:start;justify-content:space-between}.content1 .content_left[data-v-aebb9598]{flex:1}.content1 .content_left .content_left_item1[data-v-aebb9598]{width:100%;margin-bottom:20px}.content1 .content_left .content_left_item1 .content_left_item1_head[data-v-aebb9598]{background:url(/screen/assets/home_title_short@2x-f3c01af2.png);background-repeat:no-repeat;background-size:100% 100%;width:100%;height:38px;line-height:38px;padding-left:34px;box-sizing:border-box}.content1 .content_left .content_left_item1 .content_left_item1_head span[data-v-aebb9598]{font-size:16px;font-family:SourceHanSansSC-Bold,SourceHanSansSC;font-weight:700;color:#fff;line-height:24px;text-shadow:0px 0px 10px rgba(0,24,72,.75)}.content1 .content_left .content_left_item1 .content_left_item1_content[data-v-aebb9598]{width:100%;height:360px;padding:20px;box-sizing:border-box;background:linear-gradient(180deg,rgba(52,88,159,0) 0%,rgba(0,86,255,.4) 100%)}.content1 .content_left .content_left_item1 .content_left_item1_content .content_left_item1_content_row[data-v-aebb9598]{width:100%;display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.content1 .content_left .content_left_item1 .content_left_item1_content .content_left_item1_content_row[data-v-aebb9598]:last-child{margin:0}.content1 .content_left .content_left_item1 .content_left_item1_content .content_left_item1_content_row .content_left_item1_content_row_name[data-v-aebb9598]{flex-shrink:0;width:100px;display:flex;align-items:center}.content1 .content_left .content_left_item1 .content_left_item1_content .content_left_item1_content_row .content_left_item1_content_row_name span[data-v-aebb9598]{font-size:13px;font-family:SourceHanSansSC-Regular,SourceHanSansSC;font-weight:400;color:#d2e0ff;margin-left:9px}.content1 .content_left .content_left_item1 .content_left_item1_content .content_left_item1_content_row .content_left_item1_content_row_name .num[data-v-aebb9598]{width:20px;height:20px;line-height:20px;text-align:center;font-size:12px;font-family:SourceHanSansSC-Medium,SourceHanSansSC;font-weight:500;color:#fff}.content1 .content_left .content_left_item1 .content_left_item1_content .content_left_item1_content_row .content_left_item1_content_row_name .bg1[data-v-aebb9598]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAjRJREFUOE+Nk7+LE1EQxz/f2U3OcI2goI2dvdwfYGNhYXugf4Bw1hZaKhYWYicIiq2lWNlqZS/YmNyVNgpaXHHES/a9kdnNM8leAk7zmZ03v99bMfHrcn+CuOSAgGBI0YMbZdXB+enosTTOHzEM2GuD+lm3JSv2ktT0xbMnMc6fJS5vjZPAHYKbKq438EOa5A8OF7eNdaZhyXEXwViLu1zylvBLduhv3f18t7F2ZoVbx00t9Te7LCn3YzFOL03s5kV0LDP0YCfrlkxuVx7sTju9u4Z8IjvypznnHbMuRc6Z0INnA87k7/ufRocPTNRgi9eS1enB6NbcyApuurjoI2q3dJL4lg4wz1BtuehEdxYMKXrnX5GUqDzoSGLc3EbVrGRbdVgkcKIwVdthP/2axRmKI7+JLza8pcdVc900aurag629BpoFE6Zq4reScVIcinPwP/Kvu+S0KyZ+p6743syjDNSDmtCDIY3jtVCwNQgRejAk4sJ33lBZfUWM/S7i67LUHBiE58JU9ODypPvqvJbe6ZqYpPtgn/5V7M25ng7mjg+Egv2VGNyIhI8wezdc/Hsz8NCDG3c4Qwxxgq3EAxl2rOv9+Jef53T6huFOl6AfUIKDwM4MnQ7xYHwXPWjzfCAbp1dD7Nmf0k5ZeBnpHBCHwZCil4DVSzIeikN/QWreY/XRphFHhqYZD8b5lCkjRi1bySPHpqIZXDWz/XjYe+bcc7hAdmHyliFFD26Q9WH8N7LXfwGgtyx76J22lQAAAABJRU5ErkJggg==);background-repeat:no-repeat;background-size:100% 100%}.content1 .content_left .content_left_item1 .content_left_item1_content .content_left_item1_content_row .content_left_item1_content_row_name .bg2[data-v-aebb9598]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAntJREFUOE+llTFrFEEUx/9vdnb3LgbEQrCQEzEELfQD2AteaW1lEy39AiqohYKgEggmCgFjKbYWVhb5BEGIJCDRIKQQuewld7uzM0/e7OzluFuJ4L/5/Wffmzdv3rIs8cGTLhytADgLZoAInqLaC4/XLhQvEPef7rCLvsOqK1URMBjk+S8KuaTcBpTtEGfP9thSf9QVpBupFbqaWE6dMXYr0pglzl58YVv0weFexOy9sEn1WaPo2Fx0fII4W/zM9vBgtNeBoMAQimovbJLzOYADKJ6RgkvvnekNRjOr5yds0uSMx/JVfHKGbLa8jOLXIcChwMSrVgpwDhCKHBMUsafXUb5KTreJs9ePXbk3/OsLtQAiAMIm1bEIUPpMi7i/etcVP4bh/KktYyMKI/Xj8mPzDYNJgdgz6aTE/bWbNt8qqjaOmqlW07KwiBBBOKX0Qkqmt3Zdl1u2hPMz0VAsXthUsIQiDcfCybhO5xXx4bsbONj8XSdo7bgsFQkbWyz9qYCw6qDyGrDRxVPE2ds7MFsbpakydKwhXujFjkGKPEW1F0qtkOs5e+ky2Wz1gc23PwLG58dQbOBIKOvaC6t4DAPjWcXlWWA61yXO3iyZwdcVIKo2xIqNcST0G4IXVgUtG0QknCwYpfO3ye2/+mDMt3swthoyWwZF5AkgSRIUReF5nDg+/4h4f2kd+fatPGSnAMQLRbU/iqfIkSMNGbUXJsncKrne4jYNdq6NTk9LRq4JQgDDXFMrLVlY5chH1QoU18IQQ09unftErvdy03FxPyp/rjddaUAltVmz0McHANqBYluaB8OSktnOVUXJQ+Le8y4zql/A/2mXCAt/AJzRWZFmBrriAAAAAElFTkSuQmCC);background-repeat:no-repeat;background-size:100% 100%}.content1 .content_left .content_left_item1 .content_left_item1_content .content_left_item1_content_row .content_left_item1_content_row_line[data-v-aebb9598]{flex:1;margin:0 15px}.content1 .content_left .content_left_item1 .content_left_item1_content .content_left_item1_content_row .content_left_item1_content_row_line[data-v-aebb9598] .el-progress-bar__outer{border-radius:0%;background:rgba(255,255,255,.13)}.content1 .content_left .content_left_item1 .content_left_item1_content .content_left_item1_content_row .content_left_item1_content_row_line[data-v-aebb9598] .el-progress-bar__inner{border-radius:0%;background:linear-gradient(270deg,#00B0FF 0%,#345BA3 100%)}.content1 .content_left .content_left_item1 .content_left_item1_content .content_left_item1_content_row .content_left_item1_content_row_num[data-v-aebb9598]{font-size:13px;width:60px;font-family:SourceHanSansSC-Regular,SourceHanSansSC;font-weight:400;color:#d2e0ff}.content1 .content_left .content_left_item2[data-v-aebb9598]{width:100%}.content1 .content_left .content_left_item2 .content_left_item2_head[data-v-aebb9598]{background:url(/screen/assets/home_title_short@2x-f3c01af2.png);background-repeat:no-repeat;background-size:100% 100%;width:100%;height:38px;line-height:38px;padding-left:34px;box-sizing:border-box}.content1 .content_left .content_left_item2 .content_left_item2_head span[data-v-aebb9598]{font-size:16px;font-family:SourceHanSansSC-Bold,SourceHanSansSC;font-weight:700;color:#fff;line-height:24px;text-shadow:0px 0px 10px rgba(0,24,72,.75)}.content1 .content_left .content_left_item2 .content_left_item2_content[data-v-aebb9598]{width:100%;height:361px;padding:20px;box-sizing:border-box;background:linear-gradient(180deg,rgba(52,88,159,0) 0%,rgba(0,86,255,.4) 100%)}.content1 .content_left .content_left_item2 .content_left_item2_content .item2_content_head[data-v-aebb9598]{width:100%;height:36px;display:flex;align-items:center;background:rgba(52,88,159,.5)}.content1 .content_left .content_left_item2 .content_left_item2_content .item2_content_head .item2_content_head_item[data-v-aebb9598]{flex:1;height:100%;display:flex;align-items:center;justify-content:center;font-size:13px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#01d9fe}.content1 .content_left .content_left_item2 .content_left_item2_content .item2_content_head .item2_content_head_item[data-v-aebb9598]:first-child{flex:1.5}.content1 .content_left .content_left_item2 .content_left_item2_content .main_container[data-v-aebb9598]{width:100%;height:calc(100% - 36px)}.content1 .content_left .content_left_item2 .content_left_item2_content .main_container .scroll_container[data-v-aebb9598]{width:100%;height:100%;overflow:hidden}.content1 .content_left .content_left_item2 .content_left_item2_content .main_container .scroll_container .scroll_item_bg1[data-v-aebb9598]{background:rgba(52,88,159,.2)}.content1 .content_left .content_left_item2 .content_left_item2_content .main_container .scroll_container .scroll_item_bg2[data-v-aebb9598]{background:rgba(52,88,159,.5)}.content1 .content_left .content_left_item2 .content_left_item2_content .main_container .scroll_container .scroll_item[data-v-aebb9598]{width:100%;height:36px;display:flex;align-items:center}.content1 .content_left .content_left_item2 .content_left_item2_content .main_container .scroll_container .scroll_item .scroll_item_row[data-v-aebb9598]{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;height:100%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:13px}.content1 .content_left .content_left_item2 .content_left_item2_content .main_container .scroll_container .scroll_item .scroll_item_row[data-v-aebb9598]:first-child{flex:1.5}.content1 .content_center[data-v-aebb9598]{flex:2;margin:0 20px;display:flex;flex-direction:column}.content1 .content_center .content_center_top[data-v-aebb9598]{width:100%;height:509px;margin-bottom:20px;background:linear-gradient(180deg,rgba(52,88,159,0) 0%,rgba(0,86,255,.4) 100%)}.content1 .content_center .content_center_top .content_center_top_list[data-v-aebb9598]{width:100%;height:38px;display:flex;align-items:center}.content1 .content_center .content_center_top .content_center_top_list .bg3[data-v-aebb9598]{background:url(/screen/assets/tab_select_grey@2x-293d45eb.png);background-size:100% 100%}.content1 .content_center .content_center_top .content_center_top_list .bg4[data-v-aebb9598]{background:url(/screen/assets/tab_select@2x-562f0f68.png);background-size:100% 100%}.content1 .content_center .content_center_top .content_center_top_list .content_center_top_list_item[data-v-aebb9598]{width:200px;height:38px;cursor:pointer;line-height:38px;padding-left:34px;box-sizing:border-box;font-size:16px;font-family:SourceHanSansSC-Bold,SourceHanSansSC;font-weight:700;color:#fff;margin-right:20px;text-shadow:0px 0px 10px rgba(0,24,72,.75)}.content1 .content_center .content_center_top .content_center_top_list .content_center_top_list_item[data-v-aebb9598]:last-child{margin-right:0}.content1 .content_center .content_center_top .content_center_top_form[data-v-aebb9598]{width:100%;padding:20px;box-sizing:border-box;height:calc(100% - 38px)}.content1 .content_center .content_center_top .content_center_top_form .content_center_top_form_head[data-v-aebb9598]{width:100%;height:34px;background:rgba(52,88,159,.5);display:flex;align-items:center}.content1 .content_center .content_center_top .content_center_top_form .content_center_top_form_head .content_center_top_form_head_item[data-v-aebb9598]{flex:1;height:100%;display:flex;align-items:center;justify-content:center;font-size:13px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#01d9fe}.content1 .content_center .content_center_top .content_center_top_form .content_center_top_form_head .content_center_top_form_head_item[data-v-aebb9598]:nth-child(5){flex:2.7}.content1 .content_center .content_center_top .content_center_top_form .main_container[data-v-aebb9598]{width:100%;height:calc(100% - 34px)}.content1 .content_center .content_center_top .content_center_top_form .main_container .scroll_container[data-v-aebb9598]{width:100%;height:100%;overflow:hidden}.content1 .content_center .content_center_top .content_center_top_form .main_container .scroll_container .scroll_item_bg1[data-v-aebb9598]{background:rgba(52,88,159,.2)}.content1 .content_center .content_center_top .content_center_top_form .main_container .scroll_container .scroll_item_bg2[data-v-aebb9598]{background:rgba(52,88,159,.5)}.content1 .content_center .content_center_top .content_center_top_form .main_container .scroll_container .scroll_item[data-v-aebb9598]{width:100%;height:58px;display:flex;align-items:center}.content1 .content_center .content_center_top .content_center_top_form .main_container .scroll_container .scroll_item .scroll_item_row[data-v-aebb9598]{flex:1;height:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;align-items:center;justify-content:center;color:#fff;font-size:13px}.content1 .content_center .content_center_top .content_center_top_form .main_container .scroll_container .scroll_item .scroll_item_row[data-v-aebb9598]:nth-child(5){flex:3}.content1 .content_center .content_center_top .content_center_top_form .main_container .scroll_container .scroll_item .scroll_item_row .scroll_item_row_item[data-v-aebb9598]{width:29px;height:29px;border-radius:50%;margin-right:19px;display:flex;align-items:center;justify-content:center;border:2px solid #01D9FE;cursor:pointer;position:relative}.content1 .content_center .content_center_top .content_center_top_form .main_container .scroll_container .scroll_item .scroll_item_row .scroll_item_row_item[data-v-aebb9598]:last-child{margin-right:0}.content1 .content_center .content_center_top .content_center_top_form .main_container .scroll_container .scroll_item .scroll_item_row .scroll_item_row_item:last-child .scroll_item_row_item_x[data-v-aebb9598]{display:none}.content1 .content_center .content_center_top .content_center_top_form .main_container .scroll_container .scroll_item .scroll_item_row .scroll_item_row_item[data-v-aebb9598]:nth-child(1){border:2px solid #03D2B5}.content1 .content_center .content_center_top .content_center_top_form .main_container .scroll_container .scroll_item .scroll_item_row .scroll_item_row_item:nth-child(1) .scroll_item_row_item_x[data-v-aebb9598]{background-color:#03d2b5}.content1 .content_center .content_center_top .content_center_top_form .main_container .scroll_container .scroll_item .scroll_item_row .scroll_item_row_item[data-v-aebb9598]:nth-child(2){border:2px solid #03D2B5}.content1 .content_center .content_center_top .content_center_top_form .main_container .scroll_container .scroll_item .scroll_item_row .scroll_item_row_item img[data-v-aebb9598]{width:17px;height:13px}.content1 .content_center .content_center_top .content_center_top_form .main_container .scroll_container .scroll_item .scroll_item_row .scroll_item_row_item span[data-v-aebb9598]{font-size:12px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#01d9fe}.content1 .content_center .content_center_top .content_center_top_form .main_container .scroll_container .scroll_item .scroll_item_row .scroll_item_row_item .scroll_item_row_item_wz[data-v-aebb9598]{white-space:nowrap;position:absolute;bottom:-10px;left:50%;transform:translate(-50%,45%);font-size:12px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#fff}.content1 .content_center .content_center_top .content_center_top_form .main_container .scroll_container .scroll_item .scroll_item_row .scroll_item_row_item .scroll_item_row_item_x[data-v-aebb9598]{position:absolute;right:-85%;top:50%;transform:translateY(-50%);width:19px;height:2px;background-color:#01d9fe}.content1 .content_center .content_center_top .content_center_top_form1[data-v-aebb9598]{width:100%;padding:20px;box-sizing:border-box;height:calc(100% - 38px)}.content1 .content_center .content_center_top .content_center_top_form1 .content_center_top_form_head[data-v-aebb9598]{width:100%;height:34px;background:rgba(52,88,159,.5);display:flex;align-items:center}.content1 .content_center .content_center_top .content_center_top_form1 .content_center_top_form_head .content_center_top_form_head_item[data-v-aebb9598]{flex:1;height:100%;display:flex;align-items:center;justify-content:center;font-size:13px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#01d9fe}.content1 .content_center .content_center_top .content_center_top_form1 .main_container[data-v-aebb9598]{width:100%;height:calc(100% - 34px)}.content1 .content_center .content_center_top .content_center_top_form1 .main_container .scroll_container[data-v-aebb9598]{width:100%;height:100%;overflow:hidden}.content1 .content_center .content_center_top .content_center_top_form1 .main_container .scroll_container .scroll_item_bg1[data-v-aebb9598]{background:rgba(52,88,159,.2)}.content1 .content_center .content_center_top .content_center_top_form1 .main_container .scroll_container .scroll_item_bg2[data-v-aebb9598]{background:rgba(52,88,159,.5)}.content1 .content_center .content_center_top .content_center_top_form1 .main_container .scroll_container .scroll_item[data-v-aebb9598]{width:100%;height:36px;display:flex;align-items:center}.content1 .content_center .content_center_top .content_center_top_form1 .main_container .scroll_container .scroll_item .scroll_item_row[data-v-aebb9598]{flex:1;height:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;align-items:center;font-size:13px;justify-content:center;color:#fff}.content1 .content_center .content_center_top .content_center_top_form1 .main_container .scroll_container .scroll_item .scroll_item_row .scroll_item_row_item[data-v-aebb9598]{width:29px;height:29px;border-radius:50%;margin-right:19px;display:flex;align-items:center;justify-content:center;border:2px solid #01D9FE}.content1 .content_center .content_center_bottom[data-v-aebb9598]{width:100%;height:286px}.content1 .content_center .content_center_bottom .content_center_bottom_head[data-v-aebb9598]{width:100%;height:38px;line-height:38px;padding-left:34px;box-sizing:border-box;background:linear-gradient(270deg,rgba(21,103,255,0) 0%,rgba(21,103,255,.61) 100%);border-radius:10px 0 0;background:url(/screen/assets/gongxu_title@2x-b27af72d.png);background-repeat:no-repeat;background-size:100% 100%}.content1 .content_center .content_center_bottom .content_center_bottom_head span[data-v-aebb9598]{font-size:16px;font-family:SourceHanSansSC-Bold,SourceHanSansSC;font-weight:700;color:#fff;text-shadow:0px 0px 10px rgba(0,24,72,.75)}.content1 .content_center .content_center_bottom .content_center_bottom_b[data-v-aebb9598]{width:100%;height:calc(100% - 38px);padding:20px;box-sizing:border-box;background:linear-gradient(180deg,rgba(52,88,159,0) 0%,rgba(0,86,255,.4) 100%)}.content1 .content_center .content_center_bottom .content_center_bottom_b .content_center_top_form_head[data-v-aebb9598]{width:100%;height:34px;background:rgba(52,88,159,.5);display:flex;align-items:center}.content1 .content_center .content_center_bottom .content_center_bottom_b .content_center_top_form_head .content_center_top_form_head_item[data-v-aebb9598]{flex:1;height:100%;display:flex;align-items:center;justify-content:center;font-size:13px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#01d9fe}.content1 .content_center .content_center_bottom .content_center_bottom_b .content_center_top_form_head .content_center_top_form_head_item[data-v-aebb9598]:nth-child(4){flex:2}.content1 .content_center .content_center_bottom .content_center_bottom_b .main_container[data-v-aebb9598]{width:100%;height:calc(100% - 33px)}.content1 .content_center .content_center_bottom .content_center_bottom_b .main_container .scroll_container[data-v-aebb9598]{width:100%;height:100%;overflow:hidden}.content1 .content_center .content_center_bottom .content_center_bottom_b .main_container .scroll_container .scroll_item_bg1[data-v-aebb9598]{background:rgba(52,88,159,.2)}.content1 .content_center .content_center_bottom .content_center_bottom_b .main_container .scroll_container .scroll_item_bg2[data-v-aebb9598]{background:rgba(52,88,159,.5)}.content1 .content_center .content_center_bottom .content_center_bottom_b .main_container .scroll_container .scroll_item[data-v-aebb9598]{width:100%;height:37px;display:flex;align-items:center}.content1 .content_center .content_center_bottom .content_center_bottom_b .main_container .scroll_container .scroll_item .scroll_item_row[data-v-aebb9598]{flex:1;height:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;font-size:13px;align-items:center;justify-content:center;color:#fff}.content1 .content_center .content_center_bottom .content_center_bottom_b .main_container .scroll_container .scroll_item .scroll_item_row[data-v-aebb9598]:nth-child(4){flex:2}.content1 .content_right[data-v-aebb9598]{flex:1}.content1 .content_right .content_right_top[data-v-aebb9598]{width:100%;height:511px;margin-bottom:20px}.content1 .content_right .content_right_top .content_right_top_head[data-v-aebb9598]{width:100%;height:38px;line-height:38px;padding-left:34px;box-sizing:border-box;background:url(/screen/assets/home_title_short@2x-f3c01af2.png);background-repeat:no-repeat;background-size:100% 100%}.content1 .content_right .content_right_top .content_right_top_head span[data-v-aebb9598]{font-size:16px;font-family:SourceHanSansSC-Bold,SourceHanSansSC;font-weight:700;color:#fff;text-shadow:0px 0px 10px rgba(0,24,72,.75)}.content1 .content_right .content_right_top .content_right_top_nr[data-v-aebb9598]{width:100%;height:calc(100% - 38px);background:linear-gradient(180deg,rgba(52,88,159,0) 0%,rgba(0,86,255,.4) 100%);position:relative}.content1 .content_right .content_right_top .content_right_top_nr .content_right_top_nr_bottom_yuan[data-v-aebb9598]{position:absolute;top:50%;left:50%;transform:translate(-50%,53%);z-index:999;width:114px;height:114px;border-radius:50%;border:2px dashed #01D9FE;display:flex;flex-direction:column;align-items:center;justify-content:center}.content1 .content_right .content_right_top .content_right_top_nr .content_right_top_nr_bottom_yuan span[data-v-aebb9598]:first-child{font-size:26px;font-family:SourceHanSansSC-Medium,SourceHanSansSC;font-weight:500;color:#fff}.content1 .content_right .content_right_top .content_right_top_nr .content_right_top_nr_bottom_yuan span[data-v-aebb9598]:last-child{font-size:13px;font-family:SourceHanSansSC-Regular,SourceHanSansSC;font-weight:400;color:#fffc}.content1 .content_right .content_right_top .content_right_top_nr .content_right_top_nr_top[data-v-aebb9598]{width:100%;height:50%;padding:10px 0 0 10px;box-sizing:border-box}.content1 .content_right .content_right_top .content_right_top_nr .content_right_top_nr_bottom[data-v-aebb9598]{width:100%;height:50%}.content1 .content_right .content_right_bottom[data-v-aebb9598]{width:100%;height:284px}.content1 .content_right .content_right_bottom .content_right_bottom_head[data-v-aebb9598]{width:100%;height:38px;line-height:38px;padding-left:34px;box-sizing:border-box;background:url(/screen/assets/home_title_short@2x-f3c01af2.png);background-repeat:no-repeat;background-size:100% 100%}.content1 .content_right .content_right_bottom .content_right_bottom_head span[data-v-aebb9598]{font-size:16px;font-family:SourceHanSansSC-Bold,SourceHanSansSC;font-weight:700;color:#fff;text-shadow:0px 0px 10px rgba(0,24,72,.75)}.content1 .content_right .content_right_bottom .content_right_bottom_nr[data-v-aebb9598]{width:100%;height:calc(100% - 38px);padding:20px;box-sizing:border-box;background:linear-gradient(180deg,rgba(52,88,159,0) 0%,rgba(0,86,255,.4) 100%)}.content1 .content_right .content_right_bottom .content_right_bottom_nr .item2_content_head[data-v-aebb9598]{width:100%;height:36px;display:flex;align-items:center;background:rgba(52,88,159,.5)}.content1 .content_right .content_right_bottom .content_right_bottom_nr .item2_content_head .item2_content_head_item[data-v-aebb9598]{flex:1;height:100%;display:flex;align-items:center;justify-content:center;font-size:13px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#01d9fe}.content1 .content_right .content_right_bottom .content_right_bottom_nr .item2_content_head .item2_content_head_item[data-v-aebb9598]:first-child{flex:2}.content1 .content_right .content_right_bottom .content_right_bottom_nr .main_container[data-v-aebb9598]{width:100%;height:calc(100% - 36px)}.content1 .content_right .content_right_bottom .content_right_bottom_nr .main_container .scroll_container[data-v-aebb9598]{width:100%;height:100%;overflow:hidden}.content1 .content_right .content_right_bottom .content_right_bottom_nr .main_container .scroll_container .scroll_item_bg1[data-v-aebb9598]{background:rgba(52,88,159,.2)}.content1 .content_right .content_right_bottom .content_right_bottom_nr .main_container .scroll_container .scroll_item_bg2[data-v-aebb9598]{background:rgba(52,88,159,.5)}.content1 .content_right .content_right_bottom .content_right_bottom_nr .main_container .scroll_container .scroll_item[data-v-aebb9598]{width:100%;height:36px;display:flex;align-items:center}.content1 .content_right .content_right_bottom .content_right_bottom_nr .main_container .scroll_container .scroll_item .scroll_item_row[data-v-aebb9598]{flex:1;height:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;display:flex;align-items:center;justify-content:center;color:#fff}.content1 .content_right .content_right_bottom .content_right_bottom_nr .main_container .scroll_container .scroll_item .scroll_item_row[data-v-aebb9598]:first-child{flex:2}.proccess-content[data-v-cac462fa]{display:flex}.proccess-content .header-title[data-v-cac462fa]{background-image:url(/screen/assets/gongxu_title@2x-b27af72d.png);height:28px;width:100%;background-size:100% 28px;background-repeat:no-repeat;padding-left:34px;font-size:16px;font-weight:700;color:#fff;line-height:26px;text-shadow:0px 0px 10px rgba(0,24,72,.75)}.proccess-content .process-left[data-v-cac462fa]{flex:1;margin-right:20px}.proccess-content .process-left .proccess-plan[data-v-cac462fa]{height:460px;background:linear-gradient(180deg,rgba(52,88,159,0) 0%,rgba(0,86,255,.4) 100%);margin-bottom:20px}.proccess-content .process-left .today-yield[data-v-cac462fa]{height:222px;background:linear-gradient(180deg,rgba(52,88,159,0) 0%,rgba(0,86,255,.4) 100%)}.proccess-content .process-left .today-yield .yield-content[data-v-cac462fa]{display:flex}.proccess-content .process-left .today-yield .yield-content .yield-content-left[data-v-cac462fa]{flex:1}.proccess-content .process-left .today-yield .yield-content .yield-content-left .content_left_item1_content[data-v-cac462fa]{width:100%;padding:20px;box-sizing:border-box}.proccess-content .process-left .today-yield .yield-content .yield-content-left .content_left_item1_content .content_left_item1_content_row[data-v-cac462fa]{width:100%;display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.proccess-content .process-left .today-yield .yield-content .yield-content-left .content_left_item1_content .content_left_item1_content_row[data-v-cac462fa]:last-child{margin:0}.proccess-content .process-left .today-yield .yield-content .yield-content-left .content_left_item1_content .content_left_item1_content_row .content_left_item1_content_row_name[data-v-cac462fa]{flex-shrink:0;display:flex;align-items:center}.proccess-content .process-left .today-yield .yield-content .yield-content-left .content_left_item1_content .content_left_item1_content_row .content_left_item1_content_row_name span[data-v-cac462fa]{font-size:13px;font-family:SourceHanSansSC-Regular,SourceHanSansSC;font-weight:400;color:#d2e0ff;margin-left:9px;width:50px;white-space:nowrap;text-overflow:ellipsis;-webkit-text-overflow:ellipsis;overflow:hidden}.proccess-content .process-left .today-yield .yield-content .yield-content-left .content_left_item1_content .content_left_item1_content_row .content_left_item1_content_row_name .num[data-v-cac462fa]{width:20px;height:20px;line-height:20px;text-align:center;font-size:12px;font-family:SourceHanSansSC-Medium,SourceHanSansSC;font-weight:500;color:#fff}.proccess-content .process-left .today-yield .yield-content .yield-content-left .content_left_item1_content .content_left_item1_content_row .content_left_item1_content_row_name .bg1[data-v-cac462fa]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAjRJREFUOE+Nk7+LE1EQxz/f2U3OcI2goI2dvdwfYGNhYXugf4Bw1hZaKhYWYicIiq2lWNlqZS/YmNyVNgpaXHHES/a9kdnNM8leAk7zmZ03v99bMfHrcn+CuOSAgGBI0YMbZdXB+enosTTOHzEM2GuD+lm3JSv2ktT0xbMnMc6fJS5vjZPAHYKbKq438EOa5A8OF7eNdaZhyXEXwViLu1zylvBLduhv3f18t7F2ZoVbx00t9Te7LCn3YzFOL03s5kV0LDP0YCfrlkxuVx7sTju9u4Z8IjvypznnHbMuRc6Z0INnA87k7/ufRocPTNRgi9eS1enB6NbcyApuurjoI2q3dJL4lg4wz1BtuehEdxYMKXrnX5GUqDzoSGLc3EbVrGRbdVgkcKIwVdthP/2axRmKI7+JLza8pcdVc900aurag629BpoFE6Zq4reScVIcinPwP/Kvu+S0KyZ+p6743syjDNSDmtCDIY3jtVCwNQgRejAk4sJ33lBZfUWM/S7i67LUHBiE58JU9ODypPvqvJbe6ZqYpPtgn/5V7M25ng7mjg+Egv2VGNyIhI8wezdc/Hsz8NCDG3c4Qwxxgq3EAxl2rOv9+Jef53T6huFOl6AfUIKDwM4MnQ7xYHwXPWjzfCAbp1dD7Nmf0k5ZeBnpHBCHwZCil4DVSzIeikN/QWreY/XRphFHhqYZD8b5lCkjRi1bySPHpqIZXDWz/XjYe+bcc7hAdmHyliFFD26Q9WH8N7LXfwGgtyx76J22lQAAAABJRU5ErkJggg==);background-repeat:no-repeat;background-size:100% 100%}.proccess-content .process-left .today-yield .yield-content .yield-content-left .content_left_item1_content .content_left_item1_content_row .content_left_item1_content_row_name .bg2[data-v-cac462fa]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAntJREFUOE+llTFrFEEUx/9vdnb3LgbEQrCQEzEELfQD2AteaW1lEy39AiqohYKgEggmCgFjKbYWVhb5BEGIJCDRIKQQuewld7uzM0/e7OzluFuJ4L/5/Wffmzdv3rIs8cGTLhytADgLZoAInqLaC4/XLhQvEPef7rCLvsOqK1URMBjk+S8KuaTcBpTtEGfP9thSf9QVpBupFbqaWE6dMXYr0pglzl58YVv0weFexOy9sEn1WaPo2Fx0fII4W/zM9vBgtNeBoMAQimovbJLzOYADKJ6RgkvvnekNRjOr5yds0uSMx/JVfHKGbLa8jOLXIcChwMSrVgpwDhCKHBMUsafXUb5KTreJs9ePXbk3/OsLtQAiAMIm1bEIUPpMi7i/etcVP4bh/KktYyMKI/Xj8mPzDYNJgdgz6aTE/bWbNt8qqjaOmqlW07KwiBBBOKX0Qkqmt3Zdl1u2hPMz0VAsXthUsIQiDcfCybhO5xXx4bsbONj8XSdo7bgsFQkbWyz9qYCw6qDyGrDRxVPE2ds7MFsbpakydKwhXujFjkGKPEW1F0qtkOs5e+ky2Wz1gc23PwLG58dQbOBIKOvaC6t4DAPjWcXlWWA61yXO3iyZwdcVIKo2xIqNcST0G4IXVgUtG0QknCwYpfO3ye2/+mDMt3swthoyWwZF5AkgSRIUReF5nDg+/4h4f2kd+fatPGSnAMQLRbU/iqfIkSMNGbUXJsncKrne4jYNdq6NTk9LRq4JQgDDXFMrLVlY5chH1QoU18IQQ09unftErvdy03FxPyp/rjddaUAltVmz0McHANqBYluaB8OSktnOVUXJQ+Le8y4zql/A/2mXCAt/AJzRWZFmBrriAAAAAElFTkSuQmCC);background-repeat:no-repeat;background-size:100% 100%}.proccess-content .process-left .today-yield .yield-content .yield-content-left .content_left_item1_content .content_left_item1_content_row .content_left_item1_content_row_line[data-v-cac462fa]{flex:1;margin:0 15px}.proccess-content .process-left .today-yield .yield-content .yield-content-left .content_left_item1_content .content_left_item1_content_row .content_left_item1_content_row_line[data-v-cac462fa] .el-progress-bar__outer{border-radius:0%;background:rgba(255,255,255,.13)}.proccess-content .process-left .today-yield .yield-content .yield-content-left .content_left_item1_content .content_left_item1_content_row .content_left_item1_content_row_line[data-v-cac462fa] .el-progress-bar__inner{border-radius:0%;background:linear-gradient(270deg,#00B0FF 0%,#345BA3 100%)}.proccess-content .process-left .today-yield .yield-content .yield-content-left .content_left_item1_content .content_left_item1_content_row .content_left_item1_content_row_num[data-v-cac462fa]{font-size:13px;font-family:SourceHanSansSC-Regular,SourceHanSansSC;font-weight:400;color:#d2e0ff}.proccess-content .process-right[data-v-cac462fa]{flex:1}.proccess-content .process-right .report-log[data-v-cac462fa]{height:460px;background:linear-gradient(180deg,rgba(52,88,159,0) 0%,rgba(0,86,255,.4) 100%);margin-bottom:20px}.proccess-content .process-right .bad-diagram[data-v-cac462fa]{height:222px;background:linear-gradient(180deg,rgba(52,88,159,0) 0%,rgba(0,86,255,.4) 100%)}.proccess-content .process-right .bad-diagram .bad-content[data-v-cac462fa]{display:flex;margin-top:20px}.proccess-content .process-right .bad-diagram .bad-content #day-distribution[data-v-cac462fa]{box-sizing:border-box;flex:.5;height:190px}.proccess-content .process-right .bad-diagram .bad-content .pie[data-v-cac462fa]{flex:.4;position:relative}.proccess-content .process-right .bad-diagram .bad-content .pie #type-distribution[data-v-cac462fa]{width:100%;height:100%}.proccess-content .process-right .bad-diagram .bad-content .pie .content_right_top_nr_bottom_yuan[data-v-cac462fa]{position:absolute;top:calc(50% - 50px);left:calc(50% - 50px);z-index:999;width:100px;height:100px;border-radius:50%;border:2px dashed #01D9FE;display:flex;flex-direction:column;align-items:center;justify-content:center}.proccess-content .process-right .bad-diagram .bad-content .pie .content_right_top_nr_bottom_yuan span[data-v-cac462fa]:first-child{font-size:26px;font-family:SourceHanSansSC-Medium,SourceHanSansSC;font-weight:500;color:#fff}.proccess-content .process-right .bad-diagram .bad-content .pie .content_right_top_nr_bottom_yuan span[data-v-cac462fa]:last-child{font-size:13px;font-family:SourceHanSansSC-Regular,SourceHanSansSC;font-weight:400;color:#fffc}.table-content[data-v-cac462fa]{width:100%;height:397px;padding:20px;box-sizing:border-box}.table-content .table-head[data-v-cac462fa]{width:100%;height:36px;display:flex;align-items:center;background:rgba(52,88,159,.5)}.table-content .table-head .table-head_item[data-v-cac462fa]{flex:1;height:100%;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:500;color:#01d9fe}.table-content .tablel_container[data-v-cac462fa]{width:100%;height:361px}.table-content .tablel_container .scroll_container[data-v-cac462fa]{width:100%;height:100%;overflow:hidden;color:#fff}.table-content .tablel_container .scroll_container .scroll_item_bg1[data-v-cac462fa]{background:rgba(52,88,159,.2)}.table-content .tablel_container .scroll_container .scroll_item_bg2[data-v-cac462fa]{background:rgba(52,88,159,.5)}.table-content .tablel_container .scroll_container .scroll_item[data-v-cac462fa]{width:100%;height:36px;justify-content:center;display:flex;align-items:center;justify-content:space-between}.table-content .tablel_container .scroll_container .scroll_item .scroll_item_row[data-v-cac462fa]{flex:1;display:flex;align-items:center;justify-content:center;font-size:13px} |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <!DOCTYPE html> |
| | | <html lang="en"> |
| | | <head> |
| | | <meta charset="UTF-8"> |
| | | <link rel="icon" href="/screen/favicon.ico"> |
| | | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| | | <title>DMäºå·¥å</title> |
| | | <script type="module" crossorigin src="/screen/assets/index-3665a344.js"></script> |
| | | <link rel="stylesheet" href="/screen/assets/index-515aa231.css"> |
| | | </head> |
| | | <body> |
| | | <div id="app"></div> |
| | | |
| | | </body> |
| | | </html> |