diff --git a/api.css b/api.css index 344bdbaa8ccf549bfb0acf83638f6010c236201d..1373fdef1393fff82e46bb70ac5a583a3a8e6009 100644 --- a/api.css +++ b/api.css @@ -1797,33 +1797,67 @@ mark { } } @-webkit-keyframes loadingCircle { - 0% { - -webkit-transform-origin: 50% 50%; - transform-origin: 50% 50%; - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - } 100% { - -webkit-transform-origin: 50% 50%; - transform-origin: 50% 50%; -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @keyframes loadingCircle { - 0% { - -webkit-transform-origin: 50% 50%; - transform-origin: 50% 50%; - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - } 100% { - -webkit-transform-origin: 50% 50%; - transform-origin: 50% 50%; -webkit-transform: rotate(360deg); transform: rotate(360deg); } } +[ant-click-animating], +[ant-click-animating-without-extra-node] { + position: relative; +} +[ant-click-animating-without-extra-node]:after, +.ant-click-animating-node { + content: ''; + position: absolute; + top: -1px; + left: -1px; + bottom: -1px; + right: -1px; + border-radius: inherit; + border: 0 solid #1890ff; + opacity: 0.2; + -webkit-animation: fadeEffect 2s cubic-bezier(0.08, 0.82, 0.17, 1), waveEffect 0.4s cubic-bezier(0.08, 0.82, 0.17, 1); + animation: fadeEffect 2s cubic-bezier(0.08, 0.82, 0.17, 1), waveEffect 0.4s cubic-bezier(0.08, 0.82, 0.17, 1); + -webkit-animation-fill-mode: forwards; + animation-fill-mode: forwards; + display: block; + pointer-events: none; +} +@-webkit-keyframes waveEffect { + 100% { + top: -6px; + left: -6px; + bottom: -6px; + right: -6px; + border-width: 6px; + } +} +@keyframes waveEffect { + 100% { + top: -6px; + left: -6px; + bottom: -6px; + right: -6px; + border-width: 6px; + } +} +@-webkit-keyframes fadeEffect { + 100% { + opacity: 0; + } +} +@keyframes fadeEffect { + 100% { + opacity: 0; + } +} .slide-up-enter, .slide-up-appear { -webkit-animation-duration: 0.2s; @@ -3054,6 +3088,10 @@ mark { -webkit-transform: none; transform: none; opacity: 0; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } .ant-modal-mask { position: fixed; @@ -3958,23 +3996,6 @@ mark { .ant-btn > span + .anticon { margin-left: 8px; } -.ant-btn-clicked:after { - content: ''; - position: absolute; - top: -1px; - left: -1px; - bottom: -1px; - right: -1px; - border-radius: inherit; - border: 0 solid #1890ff; - opacity: 0.4; - -webkit-animation: buttonEffect .4s; - animation: buttonEffect .4s; - display: block; -} -.ant-btn-danger.ant-btn-clicked:after { - border-color: #f5222d; -} .ant-btn-background-ghost { background: transparent !important; border-color: #fff; @@ -4192,26 +4213,6 @@ mark { .ant-btn-block { width: 100%; } -@-webkit-keyframes buttonEffect { - to { - opacity: 0; - top: -6px; - left: -6px; - bottom: -6px; - right: -6px; - border-width: 6px; - } -} -@keyframes buttonEffect { - to { - opacity: 0; - top: -6px; - left: -6px; - bottom: -6px; - right: -6px; - border-width: 6px; - } -} a.ant-btn { line-height: 30px; } @@ -4343,6 +4344,9 @@ a.ant-btn-sm { width: 100%; display: block; } +.ant-card-cover img { + border-radius: 2px 2px 0 0; +} .ant-card-actions { border-top: 1px solid #e8e8e8; background: #fafafa; @@ -4877,6 +4881,9 @@ a.ant-btn-sm { padding: 0 !important; pointer-events: none; } +.ant-tabs:not(.ant-tabs-vertical) > .ant-tabs-content > .ant-tabs-tabpane-inactive input { + visibility: hidden; +} .ant-tabs:not(.ant-tabs-vertical) > .ant-tabs-content-animated { display: -ms-flexbox; display: flex; @@ -5748,7 +5755,7 @@ tr.ant-table-expanded-row:hover { display: inline-block; position: relative; line-height: 1; - vertical-align: text-bottom; + vertical-align: sub; cursor: pointer; } .ant-radio-wrapper:hover .ant-radio .ant-radio-inner, @@ -6003,6 +6010,11 @@ span.ant-radio + * { opacity: 0; } } +@supports (-moz-appearance:meterbar) and (background-blend-mode:difference,normal) { + .ant-radio { + vertical-align: text-bottom; + } +} /* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */ /* stylelint-disable no-duplicate-selectors */ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors */ @@ -6101,8 +6113,9 @@ span.ant-radio + * { border-top: 0; border-left: 0; content: ' '; - -webkit-transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6); - transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6); + -webkit-transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s; + opacity: 0; } .ant-checkbox-input { position: absolute; @@ -6118,13 +6131,15 @@ span.ant-radio + * { } .ant-checkbox-indeterminate .ant-checkbox-inner:after { content: ' '; - -webkit-transform: scale(1); - transform: scale(1); - position: absolute; - left: 2.42857143px; - top: 5.92857143px; - width: 9.14285714px; - height: 1.14285714px; + -webkit-transform: translate(-50%, -50%) scale(1); + transform: translate(-50%, -50%) scale(1); + border: 0; + left: 50%; + top: 50%; + width: 8px; + height: 8px; + background-color: #1890ff; + opacity: 1; } .ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner:after { border-color: rgba(0, 0, 0, 0.25); @@ -6140,9 +6155,9 @@ span.ant-radio + * { content: ' '; -webkit-transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; + opacity: 1; } -.ant-checkbox-checked .ant-checkbox-inner, -.ant-checkbox-indeterminate .ant-checkbox-inner { +.ant-checkbox-checked .ant-checkbox-inner { background-color: #1890ff; border-color: #1890ff; } @@ -6516,7 +6531,7 @@ span.ant-radio + * { display: block; position: absolute; height: 100%; - max-height: 320px; + max-height: 360px; width: 100%; z-index: 4; } @@ -6556,6 +6571,8 @@ span.ant-radio + * { } .ant-spin-container { position: relative; + -webkit-transition: opacity .3s; + transition: opacity .3s; zoom: 1; } .ant-spin-container:before, @@ -6570,7 +6587,7 @@ span.ant-radio + * { pointer-events: none; user-select: none; overflow: hidden; - opacity: 0.7; + opacity: 0.5; -webkit-filter: blur(0.5px); filter: blur(0.5px); /* autoprefixer: off */ @@ -7924,6 +7941,9 @@ textarea.ant-input { float: none; display: inline-block; } +.ant-input-group.ant-input-group-compact > span > .ant-input { + border-right-width: 0; +} .ant-input-group.ant-input-group-compact .ant-input { float: none; } diff --git a/api.js b/api.js index 24406569d8abb8c7fdf83956cd2944a73535c60c..bfb16212335a85fab1034d13ed47844fc7285665 100644 --- a/api.js +++ b/api.js @@ -212,8 +212,6 @@ module.exports = listCacheDelete; * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - * - * @providesModule warning */ @@ -27671,6 +27669,147 @@ function addEventListenerWrap(target, eventType, cb) { } : cb; return lib_default()(target, eventType, callback); } +// CONCATENATED MODULE: ../node_modules/antd/es/_util/wave.js + + + + + + + + +var wave_Wave = function (_React$Component) { + inherits_default()(Wave, _React$Component); + + function Wave() { + classCallCheck_default()(this, Wave); + + var _this = possibleConstructorReturn_default()(this, (Wave.__proto__ || Object.getPrototypeOf(Wave)).apply(this, arguments)); + + _this.onClick = function (node, waveColor) { + if (node.className.indexOf('-leave') >= 0) { + return; + } + var insertExtraNode = _this.props.insertExtraNode; + + _this.extraNode = document.createElement('div'); + var extraNode = _this.extraNode; + extraNode.className = 'ant-click-animating-node'; + var attributeName = _this.getAttributeName(); + node.removeAttribute(attributeName); + node.setAttribute(attributeName, 'true'); + // Not white or transparnt or grey + if (waveColor && waveColor !== '#ffffff' && waveColor !== 'rgb(255, 255, 255)' && _this.isNotGrey(waveColor) && !/rgba\(\d*, \d*, \d*, 0\)/.test(waveColor) && // any transparent rgba color + waveColor !== 'transparent') { + extraNode.style.borderColor = waveColor; + _this.styleForPesudo = document.createElement('style'); + _this.styleForPesudo.innerHTML = '[ant-click-animating-without-extra-node]:after { border-color: ' + waveColor + '; }'; + document.body.appendChild(_this.styleForPesudo); + } + if (insertExtraNode) { + node.appendChild(extraNode); + } + Event.addEndEventListener(node, _this.onTransitionEnd); + }; + _this.bindAnimationEvent = function (node) { + if (!node || !node.getAttribute || node.getAttribute('disabled') || node.className.indexOf('disabled') >= 0) { + return; + } + var onClick = function onClick(e) { + // Fix radio button click twice + if (e.target.tagName === 'INPUT') { + return; + } + _this.resetEffect(node); + // Get wave color from target + var waveColor = getComputedStyle(node).getPropertyValue('border-top-color') || // Firefox Compatible + getComputedStyle(node).getPropertyValue('border-color') || getComputedStyle(node).getPropertyValue('background-color'); + _this.clickWaveTimeoutId = window.setTimeout(function () { + return _this.onClick(node, waveColor); + }, 0); + }; + node.addEventListener('click', onClick, true); + return { + cancel: function cancel() { + node.removeEventListener('click', onClick, true); + } + }; + }; + _this.onTransitionEnd = function (e) { + if (!e || e.animationName !== 'fadeEffect') { + return; + } + _this.resetEffect(e.target); + }; + return _this; + } + + createClass_default()(Wave, [{ + key: 'isNotGrey', + value: function isNotGrey(color) { + var match = (color || '').match(/rgba?\((\d*), (\d*), (\d*)(, [\.\d]*)?\)/); + if (match && match[1] && match[2] && match[3]) { + return !(match[1] === match[2] && match[2] === match[3]); + } + return true; + } + }, { + key: 'getAttributeName', + value: function getAttributeName() { + var insertExtraNode = this.props.insertExtraNode; + + return insertExtraNode ? 'ant-click-animating' : 'ant-click-animating-without-extra-node'; + } + }, { + key: 'resetEffect', + value: function resetEffect(node) { + if (!node || node === this.extraNode) { + return; + } + var insertExtraNode = this.props.insertExtraNode; + + var attributeName = this.getAttributeName(); + node.removeAttribute(attributeName); + this.removeExtraStyleNode(); + if (insertExtraNode && this.extraNode && node.contains(this.extraNode)) { + node.removeChild(this.extraNode); + } + Event.removeEndEventListener(node, this.onTransitionEnd); + } + }, { + key: 'removeExtraStyleNode', + value: function removeExtraStyleNode() { + if (this.styleForPesudo && document.body.contains(this.styleForPesudo)) { + document.body.removeChild(this.styleForPesudo); + this.styleForPesudo = null; + } + } + }, { + key: 'componentDidMount', + value: function componentDidMount() { + this.instance = this.bindAnimationEvent(Object(react_dom["findDOMNode"])(this)); + } + }, { + key: 'componentWillUnmount', + value: function componentWillUnmount() { + if (this.instance) { + this.instance.cancel(); + } + if (this.clickWaveTimeoutId) { + clearTimeout(this.clickWaveTimeoutId); + } + } + }, { + key: 'render', + value: function render() { + return this.props.children; + } + }]); + + return Wave; +}(react["Component"]); + +/* harmony default export */ var wave = (wave_Wave); // CONCATENATED MODULE: ../node_modules/omit.js/es/index.js function omit(obj, fields) { @@ -27722,6 +27861,7 @@ var __rest = this && this.__rest || function (s, e) { + var rxTwoCNChar = /^[\u4e00-\u9fa5]{2}$/; var isTwoCNChar = rxTwoCNChar.test.bind(rxTwoCNChar); function isString(str) { @@ -27760,20 +27900,14 @@ var button_Button = function (_React$Component) { var _this = possibleConstructorReturn_default()(this, (Button.__proto__ || Object.getPrototypeOf(Button)).call(this, props)); _this.handleClick = function (e) { - // Add click effect - _this.setState({ clicked: true }); - clearTimeout(_this.timeout); - _this.timeout = window.setTimeout(function () { - return _this.setState({ clicked: false }); - }, 500); var onClick = _this.props.onClick; + if (onClick) { onClick(e); } }; _this.state = { loading: props.loading, - clicked: false, hasTwoCNChar: false }; return _this; @@ -27810,9 +27944,6 @@ var button_Button = function (_React$Component) { }, { key: 'componentWillUnmount', value: function componentWillUnmount() { - if (this.timeout) { - clearTimeout(this.timeout); - } if (this.delayTimeout) { clearTimeout(this.delayTimeout); } @@ -27863,7 +27994,6 @@ var button_Button = function (_React$Component) { block = _a.block, rest = __rest(_a, ["type", "shape", "size", "className", "children", "icon", "prefixCls", "ghost", "loading", "block"]);var _state = this.state, loading = _state.loading, - clicked = _state.clicked, hasTwoCNChar = _state.hasTwoCNChar; // large => lg // small => sm @@ -27878,7 +28008,7 @@ var button_Button = function (_React$Component) { default: break; } - var classes = classnames_default()(prefixCls, className, (_classNames = {}, defineProperty_default()(_classNames, prefixCls + '-' + type, type), defineProperty_default()(_classNames, prefixCls + '-' + shape, shape), defineProperty_default()(_classNames, prefixCls + '-' + sizeCls, sizeCls), defineProperty_default()(_classNames, prefixCls + '-icon-only', !children && icon), defineProperty_default()(_classNames, prefixCls + '-loading', loading), defineProperty_default()(_classNames, prefixCls + '-clicked', clicked), defineProperty_default()(_classNames, prefixCls + '-background-ghost', ghost), defineProperty_default()(_classNames, prefixCls + '-two-chinese-chars', hasTwoCNChar), defineProperty_default()(_classNames, prefixCls + '-block', block), _classNames)); + var classes = classnames_default()(prefixCls, className, (_classNames = {}, defineProperty_default()(_classNames, prefixCls + '-' + type, type), defineProperty_default()(_classNames, prefixCls + '-' + shape, shape), defineProperty_default()(_classNames, prefixCls + '-' + sizeCls, sizeCls), defineProperty_default()(_classNames, prefixCls + '-icon-only', !children && icon), defineProperty_default()(_classNames, prefixCls + '-loading', loading), defineProperty_default()(_classNames, prefixCls + '-background-ghost', ghost), defineProperty_default()(_classNames, prefixCls + '-two-chinese-chars', hasTwoCNChar), defineProperty_default()(_classNames, prefixCls + '-block', block), _classNames)); var iconType = loading ? 'loading' : icon; var iconNode = iconType ? react["createElement"](es_icon, { type: iconType }) : null; var kids = children || children === 0 ? react["Children"].map(children, function (child) { @@ -27896,10 +28026,14 @@ var button_Button = function (_React$Component) { var htmlType = rest.htmlType, otherProps = __rest(rest, ["htmlType"]); return react["createElement"]( - 'button', - extends_default()({}, otherProps, { type: htmlType || 'button', className: classes, onClick: this.handleClick }), - iconNode, - kids + wave, + null, + react["createElement"]( + 'button', + extends_default()({}, otherProps, { type: htmlType || 'button', className: classes, onClick: this.handleClick }), + iconNode, + kids + ) ); } } @@ -27918,15 +28052,15 @@ button_Button.defaultProps = { block: false }; button_Button.propTypes = { - type: prop_types_default.a.string, - shape: prop_types_default.a.oneOf(['circle', 'circle-outline']), - size: prop_types_default.a.oneOf(['large', 'default', 'small']), - htmlType: prop_types_default.a.oneOf(['submit', 'button', 'reset']), - onClick: prop_types_default.a.func, - loading: prop_types_default.a.oneOfType([prop_types_default.a.bool, prop_types_default.a.object]), - className: prop_types_default.a.string, - icon: prop_types_default.a.string, - block: prop_types_default.a.bool + type: prop_types["string"], + shape: prop_types["oneOf"](['circle', 'circle-outline']), + size: prop_types["oneOf"](['large', 'default', 'small']), + htmlType: prop_types["oneOf"](['submit', 'button', 'reset']), + onClick: prop_types["func"], + loading: prop_types["oneOfType"]([prop_types["bool"], prop_types["object"]]), + className: prop_types["string"], + icon: prop_types["string"], + block: prop_types["bool"] }; // CONCATENATED MODULE: ../node_modules/antd/es/button/button-group.js @@ -28024,7 +28158,7 @@ var LocaleReceiver_LocaleReceiver = function (_React$Component) { /* harmony default export */ var locale_provider_LocaleReceiver = (LocaleReceiver_LocaleReceiver); LocaleReceiver_LocaleReceiver.contextTypes = { - antLocale: prop_types_default.a.object + antLocale: prop_types["object"] }; // CONCATENATED MODULE: ../node_modules/rc-pagination/es/locale/en_US.js /* harmony default export */ var en_US = ({ @@ -28278,19 +28412,19 @@ Modal_Modal.defaultProps = { cancelButtonDisabled: false }; Modal_Modal.propTypes = { - prefixCls: prop_types_default.a.string, - onOk: prop_types_default.a.func, - onCancel: prop_types_default.a.func, - okText: prop_types_default.a.node, - cancelText: prop_types_default.a.node, - centered: prop_types_default.a.bool, - width: prop_types_default.a.oneOfType([prop_types_default.a.number, prop_types_default.a.string]), - confirmLoading: prop_types_default.a.bool, - visible: prop_types_default.a.bool, - align: prop_types_default.a.object, - footer: prop_types_default.a.node, - title: prop_types_default.a.node, - closable: prop_types_default.a.bool + prefixCls: prop_types["string"], + onOk: prop_types["func"], + onCancel: prop_types["func"], + okText: prop_types["node"], + cancelText: prop_types["node"], + centered: prop_types["bool"], + width: prop_types["oneOfType"]([prop_types["number"], prop_types["string"]]), + confirmLoading: prop_types["bool"], + visible: prop_types["bool"], + align: prop_types["object"], + footer: prop_types["node"], + title: prop_types["node"], + closable: prop_types["bool"] }; // CONCATENATED MODULE: ../node_modules/antd/es/modal/ActionButton.js @@ -30301,13 +30435,13 @@ row_Row.defaultProps = { gutter: 0 }; row_Row.propTypes = { - type: prop_types_default.a.string, - align: prop_types_default.a.string, - justify: prop_types_default.a.string, - className: prop_types_default.a.string, - children: prop_types_default.a.node, - gutter: prop_types_default.a.oneOfType([prop_types_default.a.object, prop_types_default.a.number]), - prefixCls: prop_types_default.a.string + type: prop_types["string"], + align: prop_types["string"], + justify: prop_types["string"], + className: prop_types["string"], + children: prop_types["node"], + gutter: prop_types["oneOfType"]([prop_types["object"], prop_types["number"]]), + prefixCls: prop_types["string"] }; // CONCATENATED MODULE: ../node_modules/antd/es/grid/col.js @@ -30328,8 +30462,8 @@ var col___rest = this && this.__rest || function (s, e) { -var stringOrNumber = prop_types_default.a.oneOfType([prop_types_default.a.string, prop_types_default.a.number]); -var objectOrNumber = prop_types_default.a.oneOfType([prop_types_default.a.object, prop_types_default.a.number]); +var stringOrNumber = prop_types["oneOfType"]([prop_types["string"], prop_types["number"]]); +var objectOrNumber = prop_types["oneOfType"]([prop_types["object"], prop_types["number"]]); var col_Col = function (_React$Component) { inherits_default()(Col, _React$Component); @@ -30391,8 +30525,8 @@ col_Col.propTypes = { offset: stringOrNumber, push: stringOrNumber, pull: stringOrNumber, - className: prop_types_default.a.string, - children: prop_types_default.a.node, + className: prop_types["string"], + children: prop_types["node"], xs: objectOrNumber, sm: objectOrNumber, md: objectOrNumber, @@ -30880,165 +31014,8 @@ var mini_store_lib_default = /*#__PURE__*/__webpack_require__.n(mini_store_lib); var merge = __webpack_require__("yubd"); var merge_default = /*#__PURE__*/__webpack_require__.n(merge); -// CONCATENATED MODULE: ../node_modules/react-lifecycles-compat/react-lifecycles-compat.es.js -/** - * Copyright (c) 2013-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - -function componentWillMount() { - // Call this.constructor.gDSFP to support sub-classes. - var state = this.constructor.getDerivedStateFromProps(this.props, this.state); - if (state !== null && state !== undefined) { - this.setState(state); - } -} - -function react_lifecycles_compat_es_componentWillReceiveProps(nextProps) { - // Call this.constructor.gDSFP to support sub-classes. - // Use the setState() updater to ensure state isn't stale in certain edge cases. - function updater(prevState) { - var state = this.constructor.getDerivedStateFromProps(nextProps, prevState); - return state !== null && state !== undefined ? state : null; - } - // Binding "this" is important for shallow renderer support. - this.setState(updater.bind(this)); -} - -function componentWillUpdate(nextProps, nextState) { - try { - var prevProps = this.props; - var prevState = this.state; - this.props = nextProps; - this.state = nextState; - this.__reactInternalSnapshotFlag = true; - this.__reactInternalSnapshot = this.getSnapshotBeforeUpdate( - prevProps, - prevState - ); - } finally { - this.props = prevProps; - this.state = prevState; - } -} - -// React may warn about cWM/cWRP/cWU methods being deprecated. -// Add a flag to suppress these warnings for this special case. -componentWillMount.__suppressDeprecationWarning = true; -react_lifecycles_compat_es_componentWillReceiveProps.__suppressDeprecationWarning = true; -componentWillUpdate.__suppressDeprecationWarning = true; - -function polyfill(Component) { - var prototype = Component.prototype; - - if (!prototype || !prototype.isReactComponent) { - throw new Error('Can only polyfill class components'); - } - - if ( - typeof Component.getDerivedStateFromProps !== 'function' && - typeof prototype.getSnapshotBeforeUpdate !== 'function' - ) { - return Component; - } - - // If new component APIs are defined, "unsafe" lifecycles won't be called. - // Error if any of these lifecycles are present, - // Because they would work differently between older and newer (16.3+) versions of React. - var foundWillMountName = null; - var foundWillReceivePropsName = null; - var foundWillUpdateName = null; - if (typeof prototype.componentWillMount === 'function') { - foundWillMountName = 'componentWillMount'; - } else if (typeof prototype.UNSAFE_componentWillMount === 'function') { - foundWillMountName = 'UNSAFE_componentWillMount'; - } - if (typeof prototype.componentWillReceiveProps === 'function') { - foundWillReceivePropsName = 'componentWillReceiveProps'; - } else if (typeof prototype.UNSAFE_componentWillReceiveProps === 'function') { - foundWillReceivePropsName = 'UNSAFE_componentWillReceiveProps'; - } - if (typeof prototype.componentWillUpdate === 'function') { - foundWillUpdateName = 'componentWillUpdate'; - } else if (typeof prototype.UNSAFE_componentWillUpdate === 'function') { - foundWillUpdateName = 'UNSAFE_componentWillUpdate'; - } - if ( - foundWillMountName !== null || - foundWillReceivePropsName !== null || - foundWillUpdateName !== null - ) { - var componentName = Component.displayName || Component.name; - var newApiName = - typeof Component.getDerivedStateFromProps === 'function' - ? 'getDerivedStateFromProps()' - : 'getSnapshotBeforeUpdate()'; - - throw Error( - 'Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n' + - componentName + - ' uses ' + - newApiName + - ' but also contains the following legacy lifecycles:' + - (foundWillMountName !== null ? '\n ' + foundWillMountName : '') + - (foundWillReceivePropsName !== null - ? '\n ' + foundWillReceivePropsName - : '') + - (foundWillUpdateName !== null ? '\n ' + foundWillUpdateName : '') + - '\n\nThe above lifecycles should be removed. Learn more about this warning here:\n' + - 'https://fb.me/react-async-component-lifecycle-hooks' - ); - } - - // React <= 16.2 does not support static getDerivedStateFromProps. - // As a workaround, use cWM and cWRP to invoke the new static lifecycle. - // Newer versions of React will ignore these lifecycles if gDSFP exists. - if (typeof Component.getDerivedStateFromProps === 'function') { - prototype.componentWillMount = componentWillMount; - prototype.componentWillReceiveProps = react_lifecycles_compat_es_componentWillReceiveProps; - } - - // React <= 16.2 does not support getSnapshotBeforeUpdate. - // As a workaround, use cWU to invoke the new lifecycle. - // Newer versions of React will ignore that lifecycle if gSBU exists. - if (typeof prototype.getSnapshotBeforeUpdate === 'function') { - if (typeof prototype.componentDidUpdate !== 'function') { - throw new Error( - 'Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype' - ); - } - - prototype.componentWillUpdate = componentWillUpdate; - - var componentDidUpdate = prototype.componentDidUpdate; - - prototype.componentDidUpdate = function componentDidUpdatePolyfill( - prevProps, - prevState, - maybeSnapshot - ) { - // 16.3+ will not execute our will-update method; - // It will pass a snapshot value to did-update though. - // Older versions will require our polyfilled will-update value. - // We need to handle both cases, but can't just check for the presence of "maybeSnapshot", - // Because for <= 15.x versions this might be a "prevContext" object. - // We also can't just check "__reactInternalSnapshot", - // Because get-snapshot might return a falsy value. - // So check for the explicit __reactInternalSnapshotFlag flag to determine behavior. - var snapshot = this.__reactInternalSnapshotFlag - ? this.__reactInternalSnapshot - : maybeSnapshot; - - componentDidUpdate.call(this, prevProps, prevState, snapshot); - }; - } - - return Component; -} - - +// EXTERNAL MODULE: ../node_modules/react-lifecycles-compat/react-lifecycles-compat.es.js +var react_lifecycles_compat_es = __webpack_require__("nkXc"); // CONCATENATED MODULE: ../node_modules/rc-table/es/utils.js @@ -32015,7 +31992,7 @@ function TableRow_getRowHeight(state, props) { return null; } -polyfill(TableRow_TableRow); +Object(react_lifecycles_compat_es["polyfill"])(TableRow_TableRow); /* harmony default export */ var es_TableRow = (Object(mini_store_lib["connect"])(function (state, props) { var currentHoverKey = state.currentHoverKey, @@ -32281,8 +32258,7 @@ var BaseTable_BaseTable = function (_React$Component) { currentHoverKey: isHover ? key : null }); }, _this.renderRows = function (renderData, indent) { - var rows = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : []; - var ancestorKeys = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : []; + var ancestorKeys = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : []; var table = _this.context.table; var columnManager = table.columnManager, components = table.components; @@ -32303,6 +32279,9 @@ var BaseTable_BaseTable = function (_React$Component) { expander = _this$props.expander, isAnyColumnsFixed = _this$props.isAnyColumnsFixed; + + var rows = []; + var _loop = function _loop(i) { var record = renderData[i]; var key = getRowKey(record, i); @@ -32323,15 +32302,12 @@ var BaseTable_BaseTable = function (_React$Component) { } var rowPrefixCls = prefixCls + '-row'; - var rowIndex = rows.filter(function (row) { - return !row.props.expandedRow; - }).length; var row = react_default.a.createElement( es_ExpandableRow, extends_default()({}, expander.props, { fixed: fixed, - index: rowIndex, + index: i, prefixCls: rowPrefixCls, record: record, key: key, @@ -32347,7 +32323,7 @@ var BaseTable_BaseTable = function (_React$Component) { indent: indent, className: className, record: record, - index: rowIndex, + index: i, prefixCls: rowPrefixCls, childrenColumnName: childrenColumnName, columns: leafColumns, @@ -32914,12 +32890,12 @@ var ExpandableTable__initialiseProps = function _initialiseProps() { } if (childrenData) { - renderRows(childrenData, nextIndent, rows, nextAncestorKeys); + rows.push.apply(rows, toConsumableArray_default()(renderRows(childrenData, nextIndent, nextAncestorKeys))); } }; }; -polyfill(ExpandableTable_ExpandableTable); +Object(react_lifecycles_compat_es["polyfill"])(ExpandableTable_ExpandableTable); /* harmony default export */ var es_ExpandableTable = (Object(mini_store_lib["connect"])()(ExpandableTable_ExpandableTable)); // CONCATENATED MODULE: ../node_modules/rc-table/es/Table.js @@ -33491,7 +33467,7 @@ Table_Table.defaultProps = { }; -polyfill(Table_Table); +Object(react_lifecycles_compat_es["polyfill"])(Table_Table); /* harmony default export */ var es_Table = (Table_Table); // CONCATENATED MODULE: ../node_modules/rc-table/es/Column.js @@ -34459,7 +34435,7 @@ function createChainedFunction() { } }; } -// CONCATENATED MODULE: ../node_modules/rc-select/node_modules/rc-menu/es/util.js +// CONCATENATED MODULE: ../node_modules/rc-menu/es/util.js function util_noop() {} @@ -34508,11 +34484,11 @@ function loopMenuItemRecursively(children, keys, ret) { }); } -var menuAllProps = ['defaultSelectedKeys', 'selectedKeys', 'defaultOpenKeys', 'openKeys', 'mode', 'getPopupContainer', 'onSelect', 'onDeselect', 'onDestroy', 'openTransitionName', 'openAnimation', 'subMenuOpenDelay', 'subMenuCloseDelay', 'forceSubMenuRender', 'triggerSubMenuAction', 'level', 'selectable', 'multiple', 'onOpenChange', 'visible', 'focusable', 'defaultActiveFirst', 'prefixCls', 'inlineIndent', 'parentMenu', 'title', 'rootPrefixCls', 'eventKey', 'active', 'onItemHover', 'onTitleMouseEnter', 'onTitleMouseLeave', 'onTitleClick', 'popupAlign', 'popupOffset', 'isOpen', 'renderMenuItem', 'manualRef', 'subMenuKey', 'disabled', 'index', 'isSelected', 'store', 'activeKey', 'builtinPlacements', +var menuAllProps = ['defaultSelectedKeys', 'selectedKeys', 'defaultOpenKeys', 'openKeys', 'mode', 'getPopupContainer', 'onSelect', 'onDeselect', 'onDestroy', 'openTransitionName', 'openAnimation', 'subMenuOpenDelay', 'subMenuCloseDelay', 'forceSubMenuRender', 'triggerSubMenuAction', 'level', 'selectable', 'multiple', 'onOpenChange', 'visible', 'focusable', 'defaultActiveFirst', 'prefixCls', 'inlineIndent', 'parentMenu', 'title', 'rootPrefixCls', 'eventKey', 'active', 'onItemHover', 'onTitleMouseEnter', 'onTitleMouseLeave', 'onTitleClick', 'popupOffset', 'isOpen', 'renderMenuItem', 'manualRef', 'subMenuKey', 'disabled', 'index', 'isSelected', 'store', 'activeKey', // the following keys found need to be removed from test regression 'attribute', 'value', 'popupClassName', 'inlineCollapsed', 'menu', 'theme']; -// CONCATENATED MODULE: ../node_modules/rc-select/node_modules/rc-menu/es/DOMWrap.js +// CONCATENATED MODULE: ../node_modules/rc-menu/es/DOMWrap.js @@ -34554,7 +34530,7 @@ DOMWrap_DOMWrap.defaultProps = { className: '' }; /* harmony default export */ var es_DOMWrap = (DOMWrap_DOMWrap); -// CONCATENATED MODULE: ../node_modules/rc-select/node_modules/rc-menu/es/SubPopupMenu.js +// CONCATENATED MODULE: ../node_modules/rc-menu/es/SubPopupMenu.js @@ -34587,11 +34563,6 @@ function updateActiveKey(store, menuId, activeKey) { }); } -function getEventKey(props) { - // when eventKey not available ,it's menu and return menu id '0-menu-' - return props.eventKey || '0-menu-'; -} - function SubPopupMenu_getActiveKey(props, originalActiveKey) { var activeKey = originalActiveKey; var children = props.children, @@ -34648,11 +34619,13 @@ var SubPopupMenu_SubPopupMenu = function (_React$Component) { props.store.setState({ activeKey: extends_default()({}, props.store.getState().activeKey, (_extends3 = {}, _extends3[props.eventKey] = SubPopupMenu_getActiveKey(props, props.activeKey), _extends3)) }); - - _this.instanceArray = []; return _this; } + SubPopupMenu.prototype.componentWillMount = function componentWillMount() { + this.instanceArray = []; + }; + SubPopupMenu.prototype.componentDidMount = function componentDidMount() { // invoke customized ref to expose component to mixin if (this.props.manualRef) { @@ -34660,19 +34633,18 @@ var SubPopupMenu_SubPopupMenu = function (_React$Component) { } }; - SubPopupMenu.prototype.shouldComponentUpdate = function shouldComponentUpdate(nextProps) { - return this.props.visible || nextProps.visible; - }; - - SubPopupMenu.prototype.componentDidUpdate = function componentDidUpdate() { - var props = this.props; - var originalActiveKey = 'activeKey' in props ? props.activeKey : props.store.getState().activeKey[getEventKey(props)]; - var activeKey = SubPopupMenu_getActiveKey(props, originalActiveKey); + SubPopupMenu.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) { + var originalActiveKey = 'activeKey' in nextProps ? nextProps.activeKey : this.getStore().getState().activeKey[this.getEventKey()]; + var activeKey = SubPopupMenu_getActiveKey(nextProps, originalActiveKey); if (activeKey !== originalActiveKey) { - updateActiveKey(props.store, getEventKey(props), activeKey); + updateActiveKey(this.getStore(), this.getEventKey(), activeKey); } }; + SubPopupMenu.prototype.shouldComponentUpdate = function shouldComponentUpdate(nextProps) { + return this.props.visible || nextProps.visible; + }; + // all keyboard events callbacks run from here at first @@ -34792,7 +34764,7 @@ var SubPopupMenu__initialiseProps = function _initialiseProps() { } if (activeItem) { e.preventDefault(); - updateActiveKey(_this3.props.store, getEventKey(_this3.props), activeItem.props.eventKey); + updateActiveKey(_this3.getStore(), _this3.getEventKey(), activeItem.props.eventKey); if (typeof callback === 'function') { callback(activeItem); @@ -34806,7 +34778,7 @@ var SubPopupMenu__initialiseProps = function _initialiseProps() { var key = e.key, hover = e.hover; - updateActiveKey(_this3.props.store, getEventKey(_this3.props), hover ? key : null); + updateActiveKey(_this3.getStore(), _this3.getEventKey(), hover ? key : null); }; this.onDeselect = function (selectInfo) { @@ -34834,13 +34806,22 @@ var SubPopupMenu__initialiseProps = function _initialiseProps() { return _this3.instanceArray; }; + this.getStore = function () { + return _this3.props.store; + }; + + this.getEventKey = function () { + // when eventKey not available ,it's menu and return menu id '0-menu-' + return _this3.props.eventKey || '0-menu-'; + }; + this.getOpenTransitionName = function () { return _this3.props.openTransitionName; }; this.step = function (direction) { var children = _this3.getFlatInstanceArray(); - var activeKey = _this3.props.store.getState().activeKey[getEventKey(_this3.props)]; + var activeKey = _this3.getStore().getState().activeKey[_this3.getEventKey()]; var len = children.length; if (!len) { return null; @@ -34876,7 +34857,7 @@ var SubPopupMenu__initialiseProps = function _initialiseProps() { }; this.renderCommonMenuItem = function (child, i, extraProps) { - var state = _this3.props.store.getState(); + var state = _this3.getStore().getState(); var props = _this3.props; var key = getKeyFromChildrenIndex(child, props.eventKey, i); var childProps = child.props; @@ -34906,8 +34887,7 @@ var SubPopupMenu__initialiseProps = function _initialiseProps() { forceSubMenuRender: props.forceSubMenuRender, onOpenChange: _this3.onOpenChange, onDeselect: _this3.onDeselect, - onSelect: _this3.onSelect, - builtinPlacements: props.builtinPlacements + onSelect: _this3.onSelect }, extraProps); if (props.mode === 'inline') { newChildProps.triggerSubMenuAction = 'click'; @@ -34920,7 +34900,7 @@ var SubPopupMenu__initialiseProps = function _initialiseProps() { if (!c) { return null; } - var state = _this3.props.store.getState(); + var state = _this3.getStore().getState(); var extraProps = { openKeys: state.openKeys, selectedKeys: state.selectedKeys, @@ -34932,7 +34912,7 @@ var SubPopupMenu__initialiseProps = function _initialiseProps() { }; /* harmony default export */ var es_SubPopupMenu = (Object(mini_store_lib["connect"])()(SubPopupMenu_SubPopupMenu)); -// CONCATENATED MODULE: ../node_modules/rc-select/node_modules/rc-menu/es/Menu.js +// CONCATENATED MODULE: ../node_modules/rc-menu/es/Menu.js @@ -34973,32 +34953,24 @@ var Menu_Menu = function (_React$Component) { return _this; } - Menu.prototype.componentDidMount = function componentDidMount() { - this.updateMiniStore(); - }; - - Menu.prototype.componentDidUpdate = function componentDidUpdate() { - this.updateMiniStore(); - }; - - // onKeyDown needs to be exposed as a instance method - // e.g., in rc-select, we need to navigate menu item while - // current active item is rc-select input box rather than the menu itself - - - Menu.prototype.updateMiniStore = function updateMiniStore() { - if ('selectedKeys' in this.props) { + Menu.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) { + if ('selectedKeys' in nextProps) { this.store.setState({ - selectedKeys: this.props.selectedKeys || [] + selectedKeys: nextProps.selectedKeys || [] }); } - if ('openKeys' in this.props) { + if ('openKeys' in nextProps) { this.store.setState({ - openKeys: this.props.openKeys || [] + openKeys: nextProps.openKeys || [] }); } }; + // onKeyDown needs to be exposed as a instance method + // e.g., in rc-select, we need to navigate menu item while + // current active item is rc-select input box rather than the menu itself + + Menu.prototype.render = function render() { var _this2 = this; @@ -35054,8 +35026,7 @@ Menu_Menu.propTypes = { className: prop_types_default.a.string, style: prop_types_default.a.object, activeKey: prop_types_default.a.string, - prefixCls: prop_types_default.a.string, - builtinPlacements: prop_types_default.a.object + prefixCls: prop_types_default.a.string }; Menu_Menu.defaultProps = { selectable: true, @@ -35071,8 +35042,7 @@ Menu_Menu.defaultProps = { prefixCls: 'rc-menu', className: '', mode: 'vertical', - style: {}, - builtinPlacements: {} + style: {} }; var Menu__initialiseProps = function _initialiseProps() { @@ -37805,7 +37775,7 @@ var es__initialiseProps = function _initialiseProps() { }; /* harmony default export */ var rc_trigger_es = (es_Trigger); -// CONCATENATED MODULE: ../node_modules/rc-select/node_modules/rc-menu/es/placements.js +// CONCATENATED MODULE: ../node_modules/rc-menu/es/placements.js var placements_autoAdjustOverflow = { adjustX: 1, adjustY: 1 @@ -37835,7 +37805,7 @@ var placements = { }; /* harmony default export */ var es_placements = (placements); -// CONCATENATED MODULE: ../node_modules/rc-select/node_modules/rc-menu/es/SubMenu.js +// CONCATENATED MODULE: ../node_modules/rc-menu/es/SubMenu.js @@ -37967,7 +37937,6 @@ var SubMenu_SubMenu = function (_React$Component) { subMenuCloseDelay: props.subMenuCloseDelay, forceSubMenuRender: props.forceSubMenuRender, triggerSubMenuAction: props.triggerSubMenuAction, - builtinPlacements: props.builtinPlacements, defaultActiveFirst: props.store.getState().defaultActiveFirst[getMenuIdFromSubMenuEventKey(props.eventKey)], multiple: props.multiple, prefixCls: props.rootPrefixCls, @@ -38094,8 +38063,7 @@ var SubMenu_SubMenu = function (_React$Component) { triggerSubMenuAction = props.triggerSubMenuAction, subMenuOpenDelay = props.subMenuOpenDelay, forceSubMenuRender = props.forceSubMenuRender, - subMenuCloseDelay = props.subMenuCloseDelay, - builtinPlacements = props.builtinPlacements; + subMenuCloseDelay = props.subMenuCloseDelay; menuAllProps.forEach(function (key) { return delete props[key]; @@ -38117,7 +38085,7 @@ var SubMenu_SubMenu = function (_React$Component) { prefixCls: prefixCls, popupClassName: prefixCls + '-popup ' + popupClassName, getPopupContainer: getPopupContainer, - builtinPlacements: extends_default()({}, es_placements, builtinPlacements), + builtinPlacements: es_placements, popupPlacement: popupPlacement, popupVisible: isOpen, popupAlign: popupAlign, @@ -38419,7 +38387,7 @@ connected.isSubMenu = true; var dom_scroll_into_view_lib = __webpack_require__("3Dq6"); var dom_scroll_into_view_lib_default = /*#__PURE__*/__webpack_require__.n(dom_scroll_into_view_lib); -// CONCATENATED MODULE: ../node_modules/rc-select/node_modules/rc-menu/es/MenuItem.js +// CONCATENATED MODULE: ../node_modules/rc-menu/es/MenuItem.js @@ -38565,7 +38533,7 @@ var MenuItem_MenuItem = function (_React$Component) { title: props.title, className: className, // set to menuitem by default - role: props.role || 'menuitem', + role: 'menuitem', 'aria-disabled': props.disabled }); @@ -38575,13 +38543,10 @@ var MenuItem_MenuItem = function (_React$Component) { role: 'option', 'aria-selected': props.isSelected }); - } else if (props.role === null || props.role === 'none') { + } else if (props.role === null) { // sometimes we want to specify role inside
element //1&&(e=parseInt(e,10),t=parseInt(t,10)),n.attr("text",this._formatItemValue(e)+""),r.attr("text",this._formatItemValue(t)+""),"color-legend"===this.get("type")&&this.get("attr")){var a=this.get("attr"),i=this.get("minButtonElement"),o=this.get("maxButtonElement");i.attr("fill",a.mapping(e).join("")),o.attr("fill",a.mapping(t).join(""))}},t}(l);e.exports=h},function(e,t,n){function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var o=n(39),s=function(e){function t(){return r(this,t),a(this,e.apply(this,arguments))}return i(t,e),t.prototype.getDefaultCfg=function(){var t=e.prototype.getDefaultCfg.call(this);return t.type="list",t.cols=null,t},t.prototype.generateFacets=function(e){var t=this,n=t.fields,r=n[0];if(!r)throw"Please specify for the field for facet!";var a=t.getFieldValues(r,e),i=a.length,o=t.cols||i,s=parseInt((i+o-1)/o),l=[];return a.forEach(function(n,u){var c=parseInt(u/o),f=u%o,p=[{field:r,value:n,values:a}],h=t.getFilter(p),d=e.filter(h),m={type:t.type,count:i,colValue:n,colField:r,rowField:null,rowValue:n,colIndex:f,rowIndex:c,cols:o,rows:s,data:d,region:t.getRegion(s,o,f,c)};l.push(m)}),l},t.prototype.setXAxis=function(e,t,n){n.rowIndex!==n.rows-1&&n.cols*n.rowIndex+n.colIndex+1+n.cols<=n.count&&(t[e].label=null,t[e].title=null)},t.prototype.setYAxis=function(e,t,n){0!==n.colIndex&&(t[e].title=null,t[e].label=null)},t}(o);e.exports=s},function(e,t,n){function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var o=n(39),s=function(e){function t(){return r(this,t),a(this,e.apply(this,arguments))}return i(t,e),t.prototype.getDefaultCfg=function(){var t=e.prototype.getDefaultCfg.call(this);return t.type="rect",t},t.prototype.generateFacets=function(e){var t=this,n=t.fields,r=[],a=1,i=1,o=n[0],s=n[1],l=[""],u=[""];return o&&(l=t.getFieldValues(o,e),i=l.length),s&&(u=t.getFieldValues(s,e),a=u.length),l.forEach(function(n,c){u.forEach(function(f,p){var h=[{field:o,value:n,values:l},{field:s,value:f,values:u}],d=t.getFilter(h),m=e.filter(d),v={type:t.type,colValue:n,rowValue:f,colField:o,rowField:s,colIndex:c,rowIndex:p,cols:i,rows:a,data:m,region:t.getRegion(a,i,c,p)};r.push(v)})}),r},t.prototype.setXAxis=function(e,t,n){n.rowIndex!==n.rows-1?(t[e].title=null,t[e].label=null):n.colIndex!==parseInt((n.cols-1)/2)&&(t[e].title=null)},t.prototype.setYAxis=function(e,t,n){0!==n.colIndex?(t[e].title=null,t[e].label=null):n.rowIndex!==parseInt((n.rows-1)/2)&&(t[e].title=null)},t.prototype.renderTitle=function(e,t){0===t.rowIndex&&this.drawColTitle(e,t),t.colIndex===t.cols-1&&this.drawRowTitle(e,t)},t}(o);e.exports=s},function(e,t,n){function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function o(e){var t=0;return f.each(e,function(e){t+=e}),t/e.length}var s=n(6),l=s.Group,u=n(89),c=n(2),f=n(0),p=["line","point","path"],h=function(e){function t(){return r(this,t),a(this,e.apply(this,arguments))}return i(t,e),t.prototype.getDefaultCfg=function(){return{label:c.label,labelCfg:null,coord:null,geomType:null,zIndex:6}},t.prototype._renderUI=function(){e.prototype._renderUI.call(this),this.initLabelsCfg(),this.renderLabels()},t.prototype._getLabelValue=function(e){var t=this,n=e._origin,r=t.get("labelCfg"),a=r.scales,i=r.cfg&&r.cfg.content,o=void 0;if(i){var s=[];f.each(a,function(e){s.push(n[e.field])}),o=i.apply(null,s)}else{var l=a[0];if(o=n[l.field],f.isArray(o)){var u=[];f.each(o,function(e){u.push(l.getText(e))}),o=u}else o=l.getText(o)}return o},t.prototype.initLabelsCfg=function(){var e=this,t=e.getDefaultLabelCfg(),n=e.get("labelCfg");f.deepMix(t,n.cfg),e.set("label",t)},t.prototype.getDefaultLabelCfg=function(){var e=this,t=e.get("labelCfg").cfg,n=e.get("geomType"),r=e.get("viewTheme")||c;return"polygon"===n||t&&t.offset<0&&-1===f.indexOf(p,n)?f.deepMix({},e.get("label"),r.innerLabels):f.deepMix({},r.label,e.get("label"))},t.prototype.getLabelsItems=function(e){var t=this,n=[],r=t.get("label"),a=t.get("geom"),i=void 0;return f.each(e,function(e){i=e._origin;var o=t._getLabelValue(e);f.isArray(o)||(o=[o]);var s=o.length;f.each(o,function(l,u){var c=t.getLabelPoint(o,e,u);if(c&&!f.isNil(c.text)&&""!==c.text){c=f.mix({},i,c);var p=void 0;p=r&&r.label&&r.label.textAlign?r.label.textAlign:t.getLabelAlign(c,u,s),c.textAlign=p,a&&(c._id=a._getShapeId(i)+"-glabel-"+u+"-"+c.text),c.coord=t.get("coord"),n.push(c)}})}),n},t.prototype.adjustItems=function(e){return e},t.prototype.drawLines=function(e,t){var n=this;n.getDefaultOffset()>0&&f.each(e,function(e){n.lineToLabel(e,t)})},t.prototype.lineToLabel=function(e,t){var n=this,r=n.get("coord"),a={x:e.x-e._offset.x,y:e.y-e._offset.y},i={x:(a.x+e.x)/2,y:(a.y+e.y)/2},o=n.get("lineGroup");o||(o=n.addGroup({elCls:"x-line-group"}),n.set("lineGroup",o));var s=o.addShape("path",{attrs:f.mix({path:["M"+a.x,a.y+" Q"+i.x,i.y+" "+e.x,e.y].join(","),fill:null,stroke:e.color},t)});s.name="labelLine",s._id=e._id&&e._id.replace("glabel","glabelline"),s.set("coord",r)},t.prototype.getLabelPoint=function(e,t,n){function r(t,n){return f.isArray(t)&&(t=1===e.length?t.length<=2?t[t.length-1]:o(t):t[n]),t}var a=this,i=a.get("coord"),s={x:r(t.x,n),y:r(t.y,n),text:e[n]};if(t&&t.nextPoints&&("funnel"===t.shape||"pyramid"===t.shape)){var l=-1/0;t.nextPoints.forEach(function(e){e=i.convert(e),e.x>l&&(l=e.x)}),s.x=(s.x+l)/2}"pyramid"===t.shape&&!t.nextPoints&&t.points&&t.points.forEach(function(e){e=i.convert(e),(f.isArray(e.x)&&-1===t.x.indexOf(e.x)||f.isNumber(e.x)&&t.x!==e.x)&&(s.x=(s.x+e.x)/2)});var u=a.getLabelOffset(s,n,e.length);return a.transLabelPoint(s),s.x+=u.x,s.y+=u.y,s.color=t.color,s._offset=u,s},t.prototype.transLabelPoint=function(e){var t=this,n=t.get("coord"),r=n.applyMatrix(e.x,e.y,1);e.x=r[0],e.y=r[1]},t.prototype.getOffsetVector=function(){var e=this,t=e.get("label"),n=t.offset||0,r=e.get("coord");return r.isTransposed?r.applyMatrix(n,0):r.applyMatrix(0,n)},t.prototype.getDefaultOffset=function(){var e=this,t=e.get("coord"),n=e.getOffsetVector();return t.isTransposed?n[0]:n[1]},t.prototype.getLabelOffset=function(e,t,n){var r=this,a=r.getDefaultOffset(),i=r.get("coord"),o=i.isTransposed,s=o?"x":"y",l=o?1:-1,u={x:0,y:0};return u[s]=t>0||1===n?a*l:a*l*-1,u},t.prototype.getLabelAlign=function(e,t,n){var r=this,a="center";if(r.get("coord").isTransposed){var i=r.getDefaultOffset();a=i<0?"right":0===i?"center":"left",n>1&&0===t&&("right"===a?a="left":"left"===a&&(a="right"))}return a},t.prototype.showLabels=function(e){var t=this,n=t.getLabelsItems(e),r=t.get("label");n=t.adjustItems(n),t.resetLabels(n),r.labelLine&&t.drawLines(n,r.labelLine)},t.prototype.destroy=function(){this.removeLabels(),e.prototype.destroy.call(this)},t}(l);f.assign(h.prototype,u.LabelsRenderer),e.exports=h},function(e,t,n){function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var o=n(96),s=n(25),l=n(0),u=function(e){function t(){return r(this,t),a(this,e.apply(this,arguments))}return i(t,e),t.prototype.getPointRauis=function(e,t){return s.getPointRadius(e,t)},t.prototype.getCirclePoint=function(e,t,n){var r=this,a=r.get("coord"),i=a.getCenter(),o=r._isEmitLabels(),s=r.getPointRauis(a,n);if(a.isTransposed&&s>t&&!o){e+=2*Math.asin(t/(2*s))}else s+=t;return{x:i.x+s*Math.cos(e),y:i.y+s*Math.sin(e),angle:e,r:s}},t.prototype.getArcPoint=function(e,t){var n=this,r=void 0;return t=t||0,r=l.isArray(e.x)||l.isArray(e.y)?{x:l.isArray(e.x)?e.x[t]:e.x,y:l.isArray(e.y)?e.y[t]:e.y}:e,n.transLabelPoint(r),r},t.prototype.getPointAngle=function(e){var t=this,n=t.get("coord");return s.getPointAngle(n,e)},t.prototype.getMiddlePoint=function(e){var t=this,n=t.get("coord"),r=e.length,a={x:0,y:0};return l.each(e,function(e){a.x+=e.x,a.y+=e.y}),a.x/=r,a.y/=r,a=n.convert(a)},t.prototype._isToMiddle=function(e){return e.x.length>2},t.prototype.getLabelPoint=function(e,t,n){var r=this,a=e[n],i=1,o=void 0;r._isToMiddle(t)?o=r.getMiddlePoint(t.points):(1===e.length&&0===n?n=1:0===n&&(i=-1),o=r.getArcPoint(t,n));var s=r.getDefaultOffset();s*=i;var l=r.getPointAngle(o),u=r.getCirclePoint(l,s,o);return u.text=a,u.angle=l,u.color=t.color,u.rotate=r.getLabelRotate(l,s,t),u},t.prototype._isEmitLabels=function(){return this.get("label").labelEmit},t.prototype.getLabelRotate=function(e){var t=this,n=void 0;return n=180*e/Math.PI,n+=90,t._isEmitLabels()&&(n-=90),n&&(n>90?n-=180:n<-90&&(n+=180)),n/180*Math.PI},t.prototype.getLabelAlign=function(e){var t=this,n=t.get("coord"),r=void 0;if(t._isEmitLabels())r=e.angle<=Math.PI/2&&e.angle>-Math.PI/2?"left":"right";else if(n.isTransposed){var a=n.getCenter(),i=t.getDefaultOffset();r=Math.abs(e.x-a.x)<1?"center":e.angle>Math.PI||e.angle<=0?i>0?"left":"right":i>0?"right":"left"}else r="center";return r},t}(o);e.exports=u},function(e,t,n){function r(e,t){var n=e.length;i.isString(e[0])&&(e=e.map(function(e){return t.translate(e)}));for(var r=e[1]-e[0],a=2;a u&&(u=f-l);i;)for(h.forEach(function(e){var t=(Math.min.apply(p,e.targets)+Math.max.apply(p,e.targets))/2;e.pos=Math.min(Math.max(p,t-e.size/2),u-e.size)}),i=!1,c=h.length;c--;)if(c>0){var d=h[c-1],m=h[c];d.pos+d.size>m.pos&&(d.size+=m.size,d.targets=d.targets.concat(m.targets),d.pos+d.size>u&&(d.pos=u-d.size),h.splice(c,1),i=!0)}c=0,h.forEach(function(n){var r=l+t/2;n.targets.forEach(function(){e[c].y=n.pos+r,r+=t,c++})}),e.forEach(function(e){var t=e.r*e.r,n=Math.pow(Math.abs(e.y-r.y),2);if(t =0:f>p;p+=h)p in c&&(s=t(s,c[p],p,u));return s}},FmOd:function(e,t,n){e.exports=n("V3tA")},Fnm7:function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}t.a=r},Fp5l:function(e,t,n){function r(e){return i(e)&&a(e)}var a=n("bGc4"),i=n("UnEC");e.exports=r},FryR:function(e,t,n){var r=n("/whu");e.exports=function(e){return Object(r(e))}},G0Wc:function(e,t,n){function r(e){if(!a(e))return o(e);var t=i(e),n=[];for(var r in e)("constructor"!=r||!t&&l.call(e,r))&&n.push(r);return n}var a=n("yCNF"),i=n("HT7L"),o=n("8gK5"),s=Object.prototype,l=s.hasOwnProperty;e.exports=r},G2xm:function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},G8ar:function(e,t,n){function r(e,t,n){return t===t?o(e,t,n):a(e,i,n)}var a=n("cdq7"),i=n("8++/"),o=n("i6nN");e.exports=r},GDoE:function(e,t){},GKDd:function(e,t,n){"use strict";var r=n("vtiu"),a=(n.n(r),n("DyFj"));n.n(a),n("cwkc"),n("LHBr")},GWr5:function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"vertical";if("undefined"==typeof document||"undefined"==typeof window)return 0;if(re)return re;var t=document.createElement("div");Object.keys(ae).forEach(function(e){t.style[e]=ae[e]}),document.body.appendChild(t);var n=0;return"vertical"===e?n=t.offsetWidth-t.clientWidth:"horizontal"===e&&(n=t.offsetHeight-t.clientHeight),document.body.removeChild(t),re=n}function a(e,t,n){function r(){for(var r=arguments.length,i=Array(r),o=0;o0){var d=u[c-1],m=u[c];d.pos+d.size>m.pos&&(d.size+=m.size,d.targets=d.targets.concat(m.targets),u.splice(c,1),n=!0)}}c=0;var v=this.get("itemsGroup").addGroup();u.forEach(function(n){var r=a+o;n.targets.forEach(function(){var a=e[c].attr("matrix")[7],i=n.pos+r-o/2;Math.abs(a-i)>o/2&&t._adjustDenote(v,i,a-t.attr("matrix")[7]/2),e[c].translate(0,-a),e[c].translate(0,i),r+=o,c++})})},t}(s);e.exports=u},function(e,t,n){function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var o=n(0),s=n(6),l=s.Group,u=function(e){function t(){return r(this,t),a(this,e.apply(this,arguments))}return i(t,e),t.prototype.getDefaultCfg=function(){return{type:"plotBack",padding:null,background:null,plotRange:null,plotBackground:null}},t.prototype._beforeRenderUI=function(){this._calculateRange()},t.prototype._renderUI=function(){this._renderBackground(),this._renderPlotBackground()},t.prototype._renderBackground=function(){var e=this,t=e.get("background");if(t){var n=this.get("canvas"),r=e.get("width")||n.get("width"),a=e.get("height")||n.get("height"),i={x:0,y:0,width:r,height:a},s=e.get("backgroundShape");s?s.attr(i):(s=this.addShape("rect",{attrs:o.mix(i,t)}),this.set("backgroundShape",s))}},t.prototype._renderPlotBackground=function(){var e=this,t=e.get("plotBackground");if(t){var n=e.get("plotRange"),r=n.br.x-n.bl.x,a=n.br.y-n.tr.y,i=n.tl,s={x:i.x,y:i.y,width:r,height:a},l=e.get("plotBackShape");l?l.attr(s):(t.image?(s.img=t.image,l=e.addShape("image",{attrs:s})):(o.mix(s,t),l=e.addShape("rect",{attrs:s})),e.set("plotBackShape",l))}},t.prototype._convert=function(e,t){if(o.isString(e))if("auto"===e)e=0;else if(-1!==e.indexOf("%")){var n=this.get("canvas"),r=this.get("width")||n.get("width"),a=this.get("height")||n.get("height");e=parseInt(e,10)/100,e=t?e*r:e*a}return e},t.prototype._calculateRange=function(){var e=this,t=e.get("plotRange");o.isNil(t)&&(t={});var n=e.get("padding"),r=this.get("canvas"),a=e.get("width")||r.get("width"),i=e.get("height")||r.get("height"),s=o.toAllPadding(n),l=e._convert(s[0],!1),u=e._convert(s[1],!0),c=e._convert(s[2],!1),f=e._convert(s[3],!0),p=Math.min(f,a-u),h=Math.max(f,a-u),d=Math.min(i-c,l),m=Math.max(i-c,l);t.tl={x:p,y:d},t.tr={x:h,y:d},t.bl={x:p,y:m},t.br={x:h,y:m},t.cc={x:(h+p)/2,y:(m+d)/2},this.set("plotRange",t)},t.prototype.repaint=function(){return this._calculateRange(),this._renderBackground(),this._renderPlotBackground(),this},t}(l);e.exports=u},function(e,t,n){function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function o(e,t){return e.getElementsByClassName(t)[0]}function s(e,t,n,r,a){var i=n.clientWidth,o=n.clientHeight;return e+i+20>r?(e-=i+20,e=e<0?0:e):e+=20,t+o+20>a?(t-=o+20,t=e<0?0:t):t+=20,[e,t]}function l(e,t,n,r,a){var i=r.clientWidth,o=r.clientHeight,s=0,l=0,u=20;if(a){var c=a.getBBox();s=c.width,l=c.height,e=c.x,t=c.y,u=5}switch(n){case"inside":e=e+s/2-i/2,t=t+l/2-o/2;break;case"top":e=e+s/2-i/2,t=t-o-u;break;case"left":e=e-i-u,t=t+l/2-o/2;break;case"right":e=e+s+u,t=t+l/2-o/2;break;case"bottom":default:e=e+s/2-i/2,t=t+l+u}return[e,t]}function u(e,t,n,r,a){var i=n.clientWidth,o=n.clientHeight;return e+i>r.tr.x&&(e-=i+40),e',itemTpl:'
c/o?(p=c/o,h={x:a.x-(.5-l)*c,y:a.y-(.5-u)*p*s}):(p=f/s,h={x:a.x-(.5-l)*p*o,y:a.y-(.5-u)*f}),e?e>0&&e<=1?e*=p:(e<=0||e>p)&&(e=p):e=p;var d={start:n,end:r},m={start:t*e,end:e};this.x=d,this.y=m,this.radius=e,this.circleCentre=h,this.center=h},t.prototype.getCenter=function(){return this.circleCentre},t.prototype.getOneBox=function(){var e=this.startAngle,t=this.endAngle;if(Math.abs(t-e)>=2*Math.PI)return{minX:-1,maxX:1,minY:-1,maxY:1};for(var n=[0,Math.cos(e),Math.cos(t)],r=[0,Math.sin(e),Math.sin(t)],a=Math.min(e,t);a1?e[1]:t;return{min:t,max:n,min1:r,max1:e.length>3?e[3]:n,median:e.length>2?e[2]:r}}function a(e,t){p.each(e,function(e){t.push({x:e[0],y:e[1]})})}function i(e){var t=d.shape.schema;return p.mix({},t,{stroke:e.color,strokeOpacity:e.opacity},e.style)}function o(e){var t=d.shape.schema;return p.mix({},t,{fill:e.color,stroke:e.color,fillOpacity:e.opacity},e.style)}function s(e,t,n){var i=[],o=void 0,s=void 0;return p.isArray(t)?(s=r(t),o=[[e-n/2,s.max],[e+n/2,s.max],[e,s.max],[e,s.max1],[e-n/2,s.min1],[e-n/2,s.max1],[e+n/2,s.max1],[e+n/2,s.min1],[e,s.min1],[e,s.min],[e-n/2,s.min],[e+n/2,s.min],[e-n/2,s.median],[e+n/2,s.median]]):(t=t||.5,s=r(e),o=[[s.min,t-n/2],[s.min,t+n/2],[s.min,t],[s.min1,t],[s.min1,t-n/2],[s.min1,t+n/2],[s.max1,t+n/2],[s.max1,t-n/2],[s.max1,t],[s.max,t],[s.max,t-n/2],[s.max,t+n/2],[s.median,t-n/2],[s.median,t+n/2]]),a(o,i),i}function l(e){p.isArray(e)||(e=[e]);var t=e.sort(function(e,t){return e=3&&s.push(r[0]),i.polyline(s,o,e,t)}var a=this,o=a.hasFill(),s=a.hasStroke();return o&&s?r(e,t,a)||n():o?r(e,t,a):!!s&&n()},x=function(e,t){var n=this._attrs,r=n.x,a=n.y,o=n.radius||n.r,s=this.getHitLineWidth();return i.circle(r,a,o+s/2,e,t)},w=function(e,t){var n=this,r=n._attrs;if(n.hasStroke()){var a=r.points;if(a.length<2)return!1;var o=r.lineWidth;return i.polyline(a,o,e,t)}return!1},_=function(e,t){function n(){var n=a._attrs,r=n.x,o=n.y,s=n.width,l=n.height,u=n.radius,c=a.getHitLineWidth();if(0===u){var f=c/2;return i.line(r-f,o,r+s+f,o,c,e,t)||i.line(r+s,o-f,r+s,o+l+f,c,e,t)||i.line(r+s+f,o+l,r-f,o+l,c,e,t)||i.line(r,o+l+f,r,o-f,c,e,t)}return i.line(r+u,o,r+s-u,o,c,e,t)||i.line(r+s,o+u,r+s,o+l-u,c,e,t)||i.line(r+s-u,o+l,r+u,o+l,c,e,t)||i.line(r,o+l-u,r,o+u,c,e,t)||i.arcline(r+s-u,o+u,u,1.5*Math.PI,2*Math.PI,!1,c,e,t)||i.arcline(r+s-u,o+l-u,u,0,.5*Math.PI,!1,c,e,t)||i.arcline(r+u,o+l-u,u,.5*Math.PI,Math.PI,!1,c,e,t)||i.arcline(r+u,o+u,u,Math.PI,1.5*Math.PI,!1,c,e,t)}var a=this,o=a.hasFill(),s=a.hasStroke();return o&&s?r(e,t,a)||n():o?r(e,t,a):!!s&&n()},C=function(e,t){var n=this,r=n.getBBox();if(n.hasFill()||n.hasStroke())return i.box(r.minX,r.maxX,r.minY,r.maxY,e,t)},E=function(e,t){var n=this._cfg.el.getBBox();return i.box(n.x,n.x+n.width,n.y,n.y+n.height,e,t)},k={arc:p,circle:h,dom:E,ellipse:d,fan:m,image:v,line:g,path:y,marker:x,polygon:b,polyline:w,rect:_,text:C};e.exports={isPointInPath:function(e,t){var n=k[this.type];return!!n&&n.call(this,e,t)}}},function(e,t,n){function r(e,t,n){var r={},a=t.toAttrs,s=t.fromAttrs,l=t.toMatrix;if(!e.get("destroyed")){var u=void 0;for(var p in a)if(!i.isEqual(s[p],a[p]))if("path"===p){var h=a[p],d=s[p];h.length>d.length?(h=o.parsePathString(a[p]),d=o.parsePathString(s[p]),d=o.fillPathByDiff(d,h),d=o.formatPath(d,h),t.fromAttrs.path=d,t.toAttrs.path=h):t.pathFormatted||(h=o.parsePathString(a[p]),d=o.parsePathString(s[p]),d=o.formatPath(d,h),t.fromAttrs.path=d,t.toAttrs.path=h,t.pathFormatted=!0),r[p]=[];for(var m=0;mn?n:e};e.exports=n},function(e,t){var n=function(e,t){var n=t.toString(),r=n.indexOf(".");if(-1===r)return Math.round(e);var a=n.substr(r+1).length;return a>20&&(a=20),parseFloat(e.toFixed(a))};e.exports=n},function(e,t,n){e.exports={clamp:n(302),fixedBase:n(303),isDecimal:n(305),isEven:n(306),isInteger:n(307),isNegative:n(308),isNumberEqual:n(309),isOdd:n(310),isPositive:n(311),maxBy:n(135),minBy:n(312),mod:n(313),toDegree:n(314),toInt:n(136),toInteger:n(136),toRadian:n(315)}},function(e,t,n){var r=n(12),a=function(e){return r(e)&&e%1!=0};e.exports=a},function(e,t,n){var r=n(12),a=function(e){return r(e)&&e%2==0};e.exports=a},function(e,t,n){var r=n(12),a=Number.isInteger?Number.isInteger:function(e){return r(e)&&e%1==0};e.exports=a},function(e,t,n){var r=n(12),a=function(e){return r(e)&&e<0};e.exports=a},function(e,t){var n=function(e,t){return Math.abs(e-t)<1e-5};e.exports=n},function(e,t,n){var r=n(12),a=function(e){return r(e)&&e%2!=0};e.exports=a},function(e,t,n){var r=n(12),a=function(e){return r(e)&&e>0};e.exports=a},function(e,t,n){var r=n(4),a=n(26),i=n(3),o=function(e,t){if(r(e)){var n=e[0],o=void 0;o=a(t)?t(e[0]):e[0][t];var s=void 0;return i(e,function(e){(s=a(t)?t(e):e[t])=k&&(k=E+1);!(C=w[k])&&++k=0;)(r=a[i])&&(o&&o!==r.nextSibling&&o.parentNode.insertBefore(r,o),o=r);return this}},function(e,t,n){"use strict";function r(e){return function(){delete this[e]}}function a(e,t){return function(){this[e]=t}}function i(e,t){return function(){var n=t.apply(this,arguments);null==n?delete this[e]:this[e]=n}}t.a=function(e,t){return arguments.length>1?this.each((null==t?r:"function"==typeof t?i:a)(e,t)):this.node()[e]}},function(e,t,n){"use strict";function r(){this.nextSibling&&this.parentNode.appendChild(this)}t.a=function(){return this.each(r)}},function(e,t,n){"use strict";function r(){var e=this.parentNode;e&&e.removeChild(this)}t.a=function(){return this.each(r)}},function(e,t,n){"use strict";var r=n(13),a=n(77);t.a=function(e){"function"!=typeof e&&(e=n.i(a.a)(e));for(var t=this._groups,i=t.length,o=new Array(i),s=0;st?1:e>=t?0:NaN}var a=n(13);t.a=function(e){function t(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}e||(e=r);for(var n=this._groups,i=n.length,o=new Array(i),s=0;sa.d&&n.name===t)return new r.b([[e]],i,t,+o)}return null}},function(e,t,n){"use strict";var r=n(16),a=n(423),i=n(424);r.selection.prototype.interrupt=a.a,r.selection.prototype.transition=i.a},function(e,t,n){"use strict";var r=n(167);t.a=function(e){return this.each(function(){n.i(r.a)(this,e)})}},function(e,t,n){"use strict";function r(e,t){for(var r;!(r=e.__transition)||!(r=r[t]);)if(!(e=e.parentNode))return l.time=n.i(s.now)(),l;return r}var a=n(22),i=n(14),o=n(146),s=n(80),l={time:null,delay:0,duration:250,ease:o.easeCubicInOut};t.a=function(e){var t,o;e instanceof a.b?(t=e._id,e=e._name):(t=n.i(a.c)(),(o=l).time=n.i(s.now)(),e=null==e?null:e+"");for(var u=this._groups,c=u.length,f=0;f0),"Math",{asinh:r})},"7KvD":function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"7O1s":function(e,t,n){var r=n("DIVP"),a=n("XSOZ"),i=n("kkCw")("species");e.exports=function(e,t){var n,o=r(e).constructor;return void 0===o||void 0==(n=r(o)[i])?t:a(n)}},"7UMu":function(e,t,n){var r=n("R9M2");e.exports=Array.isArray||function(e){return"Array"==r(e)}},"7UU1":function(e,t){function n(e){if(Array.isArray(e))return e}e.exports=n},"7WgF":function(e,t,n){"use strict";var r=n("vtiu"),a=(n.n(r),n("HE74"));n.n(a),n("crfj")},"7YkW":function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new a;++t0;)l in n?n[s]=n[l]:delete n[s],s+=f,l+=f;return n}},DRk7:function(e,t,n){"use strict";function r(e){return void 0===e&&(e=""),"lodash-decorators -> "+e}Object.defineProperty(t,"__esModule",{value:!0}),t.log=r},"DT0+":function(e,t,n){"use strict";var r=n("GiK3"),a=n("wqO5");if(void 0===r)throw Error("create-react-class could not find the React object. If you are using script tags, make sure that React is being loaded before create-react-class.");var i=(new r.Component).updater;e.exports=a(r.Component,r.isValidElement,i)},DXHV:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var a=n("GiK3"),i=r(a),o=n("dufe"),s=r(o);t.default=i.default.createContext||s.default,e.exports=t.default},DXVd:function(e,t,n){"use strict";var r=n("vtiu"),a=(n.n(r),n("mnKE"));n.n(a)},Dc0G:function(e,t,n){(function(e){var r=n("blYT"),a="object"==typeof t&&t&&!t.nodeType&&t,i=a&&"object"==typeof e&&e&&!e.nodeType&&e,o=i&&i.exports===a,s=o&&r.process,l=function(){try{var e=i&&i.require&&i.require("util").types;return e||s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=l}).call(t,n("3IRH")(e))},Dd8w:function(e,t,n){"use strict";t.__esModule=!0;var r=n("woOf"),a=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=a.default||function(e){for(var t=1;t ignores the history prop. To use a custom history, use `import { Router }` instead of `import { BrowserRouter as Router }`.")},t.prototype.render=function(){return g.a.createElement(_,{history:this.history,children:this.props.children})},t}(g.a.Component);C.propTypes={basename:b.a.string,forceRefresh:b.a.bool,getUserConfirmation:b.a.func,keyLength:b.a.number,children:b.a.node};var E=C,k=function(e){function t(){var n,r,a;o(this,t);for(var i=arguments.length,l=Array(i),u=0;u ignores the history prop. To use a custom history, use `import { Router }` instead of `import { HashRouter as Router }`.")},t.prototype.render=function(){return g.a.createElement(_,{history:this.history,children:this.props.children})},t}(g.a.Component);k.propTypes={basename:b.a.string,getUserConfirmation:b.a.func,hashType:b.a.oneOf(["hashbang","noslash","slash"]),children:b.a.node};var S=k,O=n("crWv"),M=n.n(O),P=Object.assign||function(e){for(var t=1;t